Merge remote-tracking branch 'origin/dev' into dev

This commit is contained in:
Vanessa 2025-09-05 23:38:13 +08:00
commit 5775aa9734
19 changed files with 47 additions and 9 deletions

View file

@ -340,6 +340,9 @@
"filterOperatorIsAfter": "بعد", "filterOperatorIsAfter": "بعد",
"filterOperatorIsOnOrBefore": "في أو قبل", "filterOperatorIsOnOrBefore": "في أو قبل",
"filterOperatorIsOnOrAfter": "في أو بعد", "filterOperatorIsOnOrAfter": "في أو بعد",
"filterQuantifierAny": "أي",
"filterQuantifierAll": "الكل",
"filterQuantifierNone": "لا شيء",
"asc": "تصاعدي", "asc": "تصاعدي",
"desc": "تنازلي", "desc": "تنازلي",
"hideCol": "إخفاء الحقل", "hideCol": "إخفاء الحقل",

View file

@ -340,6 +340,9 @@
"filterOperatorIsAfter": "Ist nach", "filterOperatorIsAfter": "Ist nach",
"filterOperatorIsOnOrBefore": "Ist am oder vor", "filterOperatorIsOnOrBefore": "Ist am oder vor",
"filterOperatorIsOnOrAfter": "Ist am oder nach", "filterOperatorIsOnOrAfter": "Ist am oder nach",
"filterQuantifierAny": "Beliebig",
"filterQuantifierAll": "Alle",
"filterQuantifierNone": "Keine",
"asc": "Aufsteigend", "asc": "Aufsteigend",
"desc": "Absteigend", "desc": "Absteigend",
"hideCol": "Spalte ausblenden", "hideCol": "Spalte ausblenden",

View file

@ -340,6 +340,9 @@
"filterOperatorIsAfter": "Is after", "filterOperatorIsAfter": "Is after",
"filterOperatorIsOnOrBefore": "Is on or before", "filterOperatorIsOnOrBefore": "Is on or before",
"filterOperatorIsOnOrAfter": "Is on or after", "filterOperatorIsOnOrAfter": "Is on or after",
"filterQuantifierAny": "Any",
"filterQuantifierAll": "All",
"filterQuantifierNone": "None",
"asc": "Ascending", "asc": "Ascending",
"desc": "Descending", "desc": "Descending",
"hideCol": "Hide field", "hideCol": "Hide field",

View file

@ -340,6 +340,9 @@
"filterOperatorIsAfter": "Es posterior a", "filterOperatorIsAfter": "Es posterior a",
"filterOperatorIsOnOrBefore": "Está activado o antes", "filterOperatorIsOnOrBefore": "Está activado o antes",
"filterOperatorIsOnOrAfter": "Está encendido o después", "filterOperatorIsOnOrAfter": "Está encendido o después",
"filterQuantifierAny": "Cualquiera",
"filterQuantifierAll": "Todos",
"filterQuantifierNone": "Ninguno",
"asc": "Ascendente", "asc": "Ascendente",
"desc": "Descendente", "desc": "Descendente",
"hideCol": "Ocultar columna", "hideCol": "Ocultar columna",

View file

@ -340,6 +340,9 @@
"filterOperatorIsAfter": "Est après", "filterOperatorIsAfter": "Est après",
"filterOperatorIsOnOrBefore": "Est le ou avant", "filterOperatorIsOnOrBefore": "Est le ou avant",
"filterOperatorIsOnOrAfter": "Est allumé ou après", "filterOperatorIsOnOrAfter": "Est allumé ou après",
"filterQuantifierAny": "N'importe lequel",
"filterQuantifierAll": "Tous",
"filterQuantifierNone": "Aucun",
"asc": "Ascendant", "asc": "Ascendant",
"desc": "Descendant", "desc": "Descendant",
"hideCol": "Masquer la colonne", "hideCol": "Masquer la colonne",

View file

@ -340,6 +340,9 @@
"filterOperatorIsAfter": "היה אחרי", "filterOperatorIsAfter": "היה אחרי",
"filterOperatorIsOnOrBefore": "היה על או לפני", "filterOperatorIsOnOrBefore": "היה על או לפני",
"filterOperatorIsOnOrAfter": "היה על או אחרי", "filterOperatorIsOnOrAfter": "היה על או אחרי",
"filterQuantifierAny": "כל אחד",
"filterQuantifierAll": "הכל",
"filterQuantifierNone": "אין",
"asc": "עולה", "asc": "עולה",
"desc": "יורד", "desc": "יורד",
"hideCol": "החבא עמודה", "hideCol": "החבא עמודה",

View file

@ -340,6 +340,9 @@
"filterOperatorIsAfter": "È dopo", "filterOperatorIsAfter": "È dopo",
"filterOperatorIsOnOrBefore": "È il giorno o prima di", "filterOperatorIsOnOrBefore": "È il giorno o prima di",
"filterOperatorIsOnOrAfter": "È il giorno o dopo di", "filterOperatorIsOnOrAfter": "È il giorno o dopo di",
"filterQuantifierAny": "Qualsiasi",
"filterQuantifierAll": "Tutti",
"filterQuantifierNone": "Nessuno",
"asc": "Ascendente", "asc": "Ascendente",
"desc": "Discendente", "desc": "Discendente",
"hideCol": "Nascondi campo", "hideCol": "Nascondi campo",

View file

@ -340,6 +340,9 @@
"filterOperatorIsAfter": "より後", "filterOperatorIsAfter": "より後",
"filterOperatorIsOnOrBefore": "以前", "filterOperatorIsOnOrBefore": "以前",
"filterOperatorIsOnOrAfter": "以降", "filterOperatorIsOnOrAfter": "以降",
"filterQuantifierAny": "いずれか",
"filterQuantifierAll": "すべて",
"filterQuantifierNone": "なし",
"asc": "昇順", "asc": "昇順",
"desc": "降順", "desc": "降順",
"hideCol": "列を非表示", "hideCol": "列を非表示",

View file

@ -340,6 +340,9 @@
"filterOperatorIsAfter": "Jest po", "filterOperatorIsAfter": "Jest po",
"filterOperatorIsOnOrBefore": "Jest na lub przed", "filterOperatorIsOnOrBefore": "Jest na lub przed",
"filterOperatorIsOnOrAfter": "Jest na lub po", "filterOperatorIsOnOrAfter": "Jest na lub po",
"filterQuantifierAny": "Dowolny",
"filterQuantifierAll": "Wszystkie",
"filterQuantifierNone": "Brak",
"asc": "Rosnąco", "asc": "Rosnąco",
"desc": "Malejąco", "desc": "Malejąco",
"hideCol": "Ukryj kolumnę", "hideCol": "Ukryj kolumnę",

View file

@ -340,6 +340,9 @@
"filterOperatorIsAfter": "É depois de", "filterOperatorIsAfter": "É depois de",
"filterOperatorIsOnOrBefore": "É em ou antes de", "filterOperatorIsOnOrBefore": "É em ou antes de",
"filterOperatorIsOnOrAfter": "É em ou depois de", "filterOperatorIsOnOrAfter": "É em ou depois de",
"filterQuantifierAny": "Qualquer",
"filterQuantifierAll": "Todos",
"filterQuantifierNone": "Nenhum",
"asc": "Ascendente", "asc": "Ascendente",
"desc": "Descendente", "desc": "Descendente",
"hideCol": "Ocultar campo", "hideCol": "Ocultar campo",

View file

@ -340,6 +340,9 @@
"filterOperatorIsAfter": "Находится после", "filterOperatorIsAfter": "Находится после",
"filterOperatorIsOnOrBefore": "Находится на или до", "filterOperatorIsOnOrBefore": "Находится на или до",
"filterOperatorIsOnOrAfter": "Находится на или после", "filterOperatorIsOnOrAfter": "Находится на или после",
"filterQuantifierAny": "Любой",
"filterQuantifierAll": "Все",
"filterQuantifierNone": "Нет",
"asc": "По возрастанию", "asc": "По возрастанию",
"desc": "По убыванию", "desc": "По убыванию",
"hideCol": "Скрыть колонку", "hideCol": "Скрыть колонку",

View file

@ -340,6 +340,9 @@
"filterOperatorIsAfter": "晚於", "filterOperatorIsAfter": "晚於",
"filterOperatorIsOnOrBefore": "早於或等於", "filterOperatorIsOnOrBefore": "早於或等於",
"filterOperatorIsOnOrAfter": "晚於或等於", "filterOperatorIsOnOrAfter": "晚於或等於",
"filterQuantifierAny": "任一",
"filterQuantifierAll": "所有",
"filterQuantifierNone": "沒有",
"asc": "升序", "asc": "升序",
"desc": "降序", "desc": "降序",
"hideCol": "隱藏欄位", "hideCol": "隱藏欄位",

View file

@ -340,6 +340,9 @@
"filterOperatorIsAfter": "晚于", "filterOperatorIsAfter": "晚于",
"filterOperatorIsOnOrBefore": "早于或等于", "filterOperatorIsOnOrBefore": "早于或等于",
"filterOperatorIsOnOrAfter": "晚于或等于", "filterOperatorIsOnOrAfter": "晚于或等于",
"filterQuantifierAny": "任一",
"filterQuantifierAll": "所有",
"filterQuantifierNone": "没有",
"asc": "升序", "asc": "升序",
"desc": "降序", "desc": "降序",
"hideCol": "隐藏字段", "hideCol": "隐藏字段",

View file

@ -264,7 +264,7 @@ const renderGroupTable = (options: ITableOptions) => {
options.data.view.groups.forEach((group: IAVTable) => { options.data.view.groups.forEach((group: IAVTable) => {
if (group.groupHidden === 0) { if (group.groupHidden === 0) {
avBodyHTML += `${getGroupTitleHTML(group, group.rows.length)} avBodyHTML += `${getGroupTitleHTML(group, group.rows.length)}
<div data-group-id="${group.id}" data-page-size="${group.pageSize}" data-dtype="${group.groupKey.type}" data-content="${group.groupValue.text?.content}" style="float: left" class="av__body${group.groupFolded ? " fn__none" : ""}">${getTableHTMLs(group, options.blockElement)}</div>`; <div data-group-id="${group.id}" data-page-size="${group.pageSize}" data-dtype="${group.groupKey.type}" data-content="${Lute.EscapeHTMLStr(group.groupValue.text?.content)}" style="float: left" class="av__body${group.groupFolded ? " fn__none" : ""}">${getTableHTMLs(group, options.blockElement)}</div>`;
} }
}); });
if (options.renderAll) { if (options.renderAll) {

File diff suppressed because one or more lines are too long

View file

@ -80,7 +80,7 @@ const (
type FilterQuantifier string type FilterQuantifier string
const ( const (
FilterQuantifierUndefined FilterQuantifier = "" FilterQuantifierUndefined FilterQuantifier = "" // 等同于 Any
FilterQuantifierAny FilterQuantifier = "Any" FilterQuantifierAny FilterQuantifier = "Any"
FilterQuantifierAll FilterQuantifier = "All" FilterQuantifierAll FilterQuantifier = "All"
FilterQuantifierNone FilterQuantifier = "None" FilterQuantifierNone FilterQuantifier = "None"

View file

@ -8,7 +8,7 @@ require (
github.com/88250/epub v0.0.0-20230830085737-c19055cd1f48 github.com/88250/epub v0.0.0-20230830085737-c19055cd1f48
github.com/88250/go-humanize v0.0.0-20240424102817-4f78fac47ea7 github.com/88250/go-humanize v0.0.0-20240424102817-4f78fac47ea7
github.com/88250/gulu v1.2.3-0.20250227144607-7f4570b0d689 github.com/88250/gulu v1.2.3-0.20250227144607-7f4570b0d689
github.com/88250/lute v1.7.7-0.20250903134523-51a49dcdda40 github.com/88250/lute v1.7.7-0.20250905144855-8f6b06704488
github.com/88250/vitess-sqlparser v0.0.0-20210205111146-56a2ded2aba1 github.com/88250/vitess-sqlparser v0.0.0-20210205111146-56a2ded2aba1
github.com/ClarkThan/ahocorasick v0.0.0-20231011042242-30d1ef1347f4 github.com/ClarkThan/ahocorasick v0.0.0-20231011042242-30d1ef1347f4
github.com/ConradIrwin/font v0.2.1 github.com/ConradIrwin/font v0.2.1

View file

@ -14,8 +14,8 @@ github.com/88250/go-sqlite3 v1.14.13-0.20231214121541-e7f54c482950 h1:Pa5hMiBceT
github.com/88250/go-sqlite3 v1.14.13-0.20231214121541-e7f54c482950/go.mod h1:NyWgC/yNuGj7Q9rpYnZvas74GogHl5/Z4A/KQRfk6bU= github.com/88250/go-sqlite3 v1.14.13-0.20231214121541-e7f54c482950/go.mod h1:NyWgC/yNuGj7Q9rpYnZvas74GogHl5/Z4A/KQRfk6bU=
github.com/88250/gulu v1.2.3-0.20250227144607-7f4570b0d689 h1:39y5g7vnFAIcXhTN3IXPk7h2xBhC4a9hBTykDhHJqRY= github.com/88250/gulu v1.2.3-0.20250227144607-7f4570b0d689 h1:39y5g7vnFAIcXhTN3IXPk7h2xBhC4a9hBTykDhHJqRY=
github.com/88250/gulu v1.2.3-0.20250227144607-7f4570b0d689/go.mod h1:c8uVw25vW2W4dhJ/j4iYsX5H1hc19spim266jO5x2hU= github.com/88250/gulu v1.2.3-0.20250227144607-7f4570b0d689/go.mod h1:c8uVw25vW2W4dhJ/j4iYsX5H1hc19spim266jO5x2hU=
github.com/88250/lute v1.7.7-0.20250903134523-51a49dcdda40 h1:PR2s/jxhLei+dk41Ogr+dhWtdqxbrpwiRQU6Odflnsc= github.com/88250/lute v1.7.7-0.20250905144855-8f6b06704488 h1:MlRtevVsdfjqvN1pcB1K3DJIe6vFHgd9Si/FR5l3F7w=
github.com/88250/lute v1.7.7-0.20250903134523-51a49dcdda40/go.mod h1:WYyUw//5yVw9BJnoVjx7rI/3szsISxNZCYGOqTIrV0o= github.com/88250/lute v1.7.7-0.20250905144855-8f6b06704488/go.mod h1:WYyUw//5yVw9BJnoVjx7rI/3szsISxNZCYGOqTIrV0o=
github.com/88250/pdfcpu v0.3.14-0.20250424122812-f10e8d9d8d46 h1:Bq1JsDfVbHKUxNL/B2JXd8cC/1h6aFjrlXpGycnh0Hk= github.com/88250/pdfcpu v0.3.14-0.20250424122812-f10e8d9d8d46 h1:Bq1JsDfVbHKUxNL/B2JXd8cC/1h6aFjrlXpGycnh0Hk=
github.com/88250/pdfcpu v0.3.14-0.20250424122812-f10e8d9d8d46/go.mod h1:fVfOloBzs2+W2VJCCbq60XIxc3yJHAZ0Gahv1oO0gyI= github.com/88250/pdfcpu v0.3.14-0.20250424122812-f10e8d9d8d46/go.mod h1:fVfOloBzs2+W2VJCCbq60XIxc3yJHAZ0Gahv1oO0gyI=
github.com/88250/vitess-sqlparser v0.0.0-20210205111146-56a2ded2aba1 h1:48T899JQDwyyRu9yXHePYlPdHtpJfrJEUGBMH3SMBWY= github.com/88250/vitess-sqlparser v0.0.0-20210205111146-56a2ded2aba1 h1:48T899JQDwyyRu9yXHePYlPdHtpJfrJEUGBMH3SMBWY=

View file

@ -111,7 +111,8 @@ func renderAttributeViewGroups(viewable av.Viewable, attrView *av.AttributeView,
// 如果存在分组的话渲染分组视图 // 如果存在分组的话渲染分组视图
for _, groupView := range view.Groups { for _, groupView := range view.Groups {
switch groupView.GetGroupValue() { groupView.Name = groupView.GetGroupValue()
switch groupView.Name {
case groupValueDefault: case groupValueDefault:
groupView.Name = fmt.Sprintf(Conf.language(264), groupKey.Name) groupView.Name = fmt.Sprintf(Conf.language(264), groupKey.Name)
case groupValueNotInRange: case groupValueNotInRange:
@ -130,8 +131,6 @@ func renderAttributeViewGroups(viewable av.Viewable, attrView *av.AttributeView,
groupView.Name = fmt.Sprintf(Conf.language(263), 7) groupView.Name = fmt.Sprintf(Conf.language(263), 7)
case groupValueNext30Days: case groupValueNext30Days:
groupView.Name = fmt.Sprintf(Conf.language(263), 30) groupView.Name = fmt.Sprintf(Conf.language(263), 30)
default:
groupView.Name = groupView.GetGroupValue()
} }
} }