@expcat/tigercat-core 1.2.34 → 1.2.39
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +119 -3
- package/dist/index.d.cts +30 -7
- package/dist/index.d.ts +30 -7
- package/dist/index.js +111 -3
- package/dist/{locale-C0cvkjts.d.ts → locale-CieZS1DZ.d.ts} +19 -1
- package/dist/{locale-BiVGd2Kj.d.cts → locale-DRA6alwj.d.cts} +19 -1
- package/dist/locales/ar-SA.cjs +30 -0
- package/dist/locales/ar-SA.d.cts +1 -1
- package/dist/locales/ar-SA.d.ts +1 -1
- package/dist/locales/ar-SA.js +30 -0
- package/dist/locales/de-DE.cjs +30 -0
- package/dist/locales/de-DE.d.cts +1 -1
- package/dist/locales/de-DE.d.ts +1 -1
- package/dist/locales/de-DE.js +30 -0
- package/dist/locales/en-US.cjs +15 -0
- package/dist/locales/en-US.d.cts +1 -1
- package/dist/locales/en-US.d.ts +1 -1
- package/dist/locales/en-US.js +15 -0
- package/dist/locales/es-ES.cjs +30 -0
- package/dist/locales/es-ES.d.cts +1 -1
- package/dist/locales/es-ES.d.ts +1 -1
- package/dist/locales/es-ES.js +30 -0
- package/dist/locales/fr-FR.cjs +30 -0
- package/dist/locales/fr-FR.d.cts +1 -1
- package/dist/locales/fr-FR.d.ts +1 -1
- package/dist/locales/fr-FR.js +30 -0
- package/dist/locales/id-ID.cjs +15 -0
- package/dist/locales/id-ID.d.cts +1 -1
- package/dist/locales/id-ID.d.ts +1 -1
- package/dist/locales/id-ID.js +15 -0
- package/dist/locales/ja-JP.cjs +15 -0
- package/dist/locales/ja-JP.d.cts +1 -1
- package/dist/locales/ja-JP.d.ts +1 -1
- package/dist/locales/ja-JP.js +15 -0
- package/dist/locales/ko-KR.cjs +15 -0
- package/dist/locales/ko-KR.d.cts +1 -1
- package/dist/locales/ko-KR.d.ts +1 -1
- package/dist/locales/ko-KR.js +15 -0
- package/dist/locales/pt-BR.cjs +30 -0
- package/dist/locales/pt-BR.d.cts +1 -1
- package/dist/locales/pt-BR.d.ts +1 -1
- package/dist/locales/pt-BR.js +30 -0
- package/dist/locales/th-TH.cjs +15 -0
- package/dist/locales/th-TH.d.cts +1 -1
- package/dist/locales/th-TH.d.ts +1 -1
- package/dist/locales/th-TH.js +15 -0
- package/dist/locales/vi-VN.cjs +15 -0
- package/dist/locales/vi-VN.d.cts +1 -1
- package/dist/locales/vi-VN.d.ts +1 -1
- package/dist/locales/vi-VN.js +15 -0
- package/dist/locales/zh-CN.cjs +15 -0
- package/dist/locales/zh-CN.d.cts +1 -1
- package/dist/locales/zh-CN.d.ts +1 -1
- package/dist/locales/zh-CN.js +15 -0
- package/dist/locales/zh-TW.cjs +15 -0
- package/dist/locales/zh-TW.d.cts +1 -1
- package/dist/locales/zh-TW.d.ts +1 -1
- package/dist/locales/zh-TW.js +15 -0
- package/dist/{table-export-0wTh8zf4.d.cts → table-export-CjazVsKc.d.ts} +59 -4
- package/dist/{table-export-Ctz0EfNe.d.ts → table-export-MB2SPk2a.d.cts} +59 -4
- package/dist/utils/table-export.d.cts +2 -2
- package/dist/utils/table-export.d.ts +2 -2
- package/package.json +1 -1
package/dist/locales/ko-KR.d.ts
CHANGED
package/dist/locales/ko-KR.js
CHANGED
|
@@ -27,6 +27,21 @@ var koKR = {
|
|
|
27
27
|
pageAriaLabel: "{page} \uD398\uC774\uC9C0",
|
|
28
28
|
pageIndicatorText: "\uC804\uCCB4 {total}\uD398\uC774\uC9C0 \uC911 {current}\uD398\uC774\uC9C0"
|
|
29
29
|
},
|
|
30
|
+
table: {
|
|
31
|
+
emptyText: "\uB370\uC774\uD130 \uC5C6\uC74C",
|
|
32
|
+
loadingText: "\uB85C\uB529 \uC911",
|
|
33
|
+
expandText: "\uD3BC\uCE58\uAE30",
|
|
34
|
+
collapseText: "\uC811\uAE30",
|
|
35
|
+
selectAllText: "\uC804\uCCB4 \uC120\uD0DD",
|
|
36
|
+
selectRowAriaLabel: "{row}\uD589 \uC120\uD0DD",
|
|
37
|
+
sortByText: "{column} \uAE30\uC900 \uC815\uB82C",
|
|
38
|
+
clearSortText: "\uC815\uB82C \uD574\uC81C",
|
|
39
|
+
toolbarAriaLabel: "\uB370\uC774\uD130 \uD14C\uC774\uBE14 \uB3C4\uAD6C \uBAA8\uC74C",
|
|
40
|
+
searchPlaceholder: "\uAC80\uC0C9",
|
|
41
|
+
searchButtonText: "\uAC80\uC0C9",
|
|
42
|
+
selectedText: "\uC120\uD0DD\uB428",
|
|
43
|
+
selectedItemsText: "\uAC1C"
|
|
44
|
+
},
|
|
30
45
|
formWizard: {
|
|
31
46
|
prevText: "\uC774\uC804",
|
|
32
47
|
nextText: "\uB2E4\uC74C",
|
package/dist/locales/pt-BR.cjs
CHANGED
|
@@ -54,6 +54,21 @@ var enUS = {
|
|
|
54
54
|
pageAriaLabel: "Page {page}",
|
|
55
55
|
pageIndicatorText: "Page {current} of {total}"
|
|
56
56
|
},
|
|
57
|
+
table: {
|
|
58
|
+
emptyText: "No data",
|
|
59
|
+
loadingText: "Loading",
|
|
60
|
+
expandText: "Expand",
|
|
61
|
+
collapseText: "Collapse",
|
|
62
|
+
selectAllText: "Select all",
|
|
63
|
+
selectRowAriaLabel: "Select row {row}",
|
|
64
|
+
sortByText: "Sort by {column}",
|
|
65
|
+
clearSortText: "Clear sort",
|
|
66
|
+
toolbarAriaLabel: "Data table toolbar",
|
|
67
|
+
searchPlaceholder: "Search",
|
|
68
|
+
searchButtonText: "Search",
|
|
69
|
+
selectedText: "Selected",
|
|
70
|
+
selectedItemsText: "items"
|
|
71
|
+
},
|
|
57
72
|
formWizard: {
|
|
58
73
|
prevText: "Previous",
|
|
59
74
|
nextText: "Next",
|
|
@@ -137,6 +152,21 @@ var ptBR = defineLocale({
|
|
|
137
152
|
pageAriaLabel: "P\xE1gina {page}",
|
|
138
153
|
pageIndicatorText: "P\xE1gina {current} de {total}"
|
|
139
154
|
},
|
|
155
|
+
table: {
|
|
156
|
+
emptyText: "Sem dados",
|
|
157
|
+
loadingText: "Carregando",
|
|
158
|
+
expandText: "Expandir",
|
|
159
|
+
collapseText: "Recolher",
|
|
160
|
+
selectAllText: "Selecionar tudo",
|
|
161
|
+
selectRowAriaLabel: "Selecionar linha {row}",
|
|
162
|
+
sortByText: "Ordenar por {column}",
|
|
163
|
+
clearSortText: "Limpar ordena\xE7\xE3o",
|
|
164
|
+
toolbarAriaLabel: "Barra de ferramentas da tabela de dados",
|
|
165
|
+
searchPlaceholder: "Pesquisar",
|
|
166
|
+
searchButtonText: "Pesquisar",
|
|
167
|
+
selectedText: "Selecionado",
|
|
168
|
+
selectedItemsText: "itens"
|
|
169
|
+
},
|
|
140
170
|
formWizard: {
|
|
141
171
|
prevText: "Anterior",
|
|
142
172
|
nextText: "Pr\xF3ximo",
|
package/dist/locales/pt-BR.d.cts
CHANGED
package/dist/locales/pt-BR.d.ts
CHANGED
package/dist/locales/pt-BR.js
CHANGED
|
@@ -27,6 +27,21 @@ var enUS = {
|
|
|
27
27
|
pageAriaLabel: "Page {page}",
|
|
28
28
|
pageIndicatorText: "Page {current} of {total}"
|
|
29
29
|
},
|
|
30
|
+
table: {
|
|
31
|
+
emptyText: "No data",
|
|
32
|
+
loadingText: "Loading",
|
|
33
|
+
expandText: "Expand",
|
|
34
|
+
collapseText: "Collapse",
|
|
35
|
+
selectAllText: "Select all",
|
|
36
|
+
selectRowAriaLabel: "Select row {row}",
|
|
37
|
+
sortByText: "Sort by {column}",
|
|
38
|
+
clearSortText: "Clear sort",
|
|
39
|
+
toolbarAriaLabel: "Data table toolbar",
|
|
40
|
+
searchPlaceholder: "Search",
|
|
41
|
+
searchButtonText: "Search",
|
|
42
|
+
selectedText: "Selected",
|
|
43
|
+
selectedItemsText: "items"
|
|
44
|
+
},
|
|
30
45
|
formWizard: {
|
|
31
46
|
prevText: "Previous",
|
|
32
47
|
nextText: "Next",
|
|
@@ -110,6 +125,21 @@ var ptBR = defineLocale({
|
|
|
110
125
|
pageAriaLabel: "P\xE1gina {page}",
|
|
111
126
|
pageIndicatorText: "P\xE1gina {current} de {total}"
|
|
112
127
|
},
|
|
128
|
+
table: {
|
|
129
|
+
emptyText: "Sem dados",
|
|
130
|
+
loadingText: "Carregando",
|
|
131
|
+
expandText: "Expandir",
|
|
132
|
+
collapseText: "Recolher",
|
|
133
|
+
selectAllText: "Selecionar tudo",
|
|
134
|
+
selectRowAriaLabel: "Selecionar linha {row}",
|
|
135
|
+
sortByText: "Ordenar por {column}",
|
|
136
|
+
clearSortText: "Limpar ordena\xE7\xE3o",
|
|
137
|
+
toolbarAriaLabel: "Barra de ferramentas da tabela de dados",
|
|
138
|
+
searchPlaceholder: "Pesquisar",
|
|
139
|
+
searchButtonText: "Pesquisar",
|
|
140
|
+
selectedText: "Selecionado",
|
|
141
|
+
selectedItemsText: "itens"
|
|
142
|
+
},
|
|
113
143
|
formWizard: {
|
|
114
144
|
prevText: "Anterior",
|
|
115
145
|
nextText: "Pr\xF3ximo",
|
package/dist/locales/th-TH.cjs
CHANGED
|
@@ -51,6 +51,21 @@ var thTH = {
|
|
|
51
51
|
pageAriaLabel: "\u0E2B\u0E19\u0E49\u0E32 {page}",
|
|
52
52
|
pageIndicatorText: "\u0E2B\u0E19\u0E49\u0E32 {current} \u0E08\u0E32\u0E01 {total}"
|
|
53
53
|
},
|
|
54
|
+
table: {
|
|
55
|
+
emptyText: "\u0E44\u0E21\u0E48\u0E21\u0E35\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25",
|
|
56
|
+
loadingText: "\u0E01\u0E33\u0E25\u0E31\u0E07\u0E42\u0E2B\u0E25\u0E14",
|
|
57
|
+
expandText: "\u0E02\u0E22\u0E32\u0E22",
|
|
58
|
+
collapseText: "\u0E22\u0E38\u0E1A",
|
|
59
|
+
selectAllText: "\u0E40\u0E25\u0E37\u0E2D\u0E01\u0E17\u0E31\u0E49\u0E07\u0E2B\u0E21\u0E14",
|
|
60
|
+
selectRowAriaLabel: "\u0E40\u0E25\u0E37\u0E2D\u0E01\u0E41\u0E16\u0E27 {row}",
|
|
61
|
+
sortByText: "\u0E40\u0E23\u0E35\u0E22\u0E07\u0E15\u0E32\u0E21 {column}",
|
|
62
|
+
clearSortText: "\u0E25\u0E49\u0E32\u0E07\u0E01\u0E32\u0E23\u0E40\u0E23\u0E35\u0E22\u0E07",
|
|
63
|
+
toolbarAriaLabel: "\u0E41\u0E16\u0E1A\u0E40\u0E04\u0E23\u0E37\u0E48\u0E2D\u0E07\u0E21\u0E37\u0E2D\u0E15\u0E32\u0E23\u0E32\u0E07\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25",
|
|
64
|
+
searchPlaceholder: "\u0E04\u0E49\u0E19\u0E2B\u0E32",
|
|
65
|
+
searchButtonText: "\u0E04\u0E49\u0E19\u0E2B\u0E32",
|
|
66
|
+
selectedText: "\u0E40\u0E25\u0E37\u0E2D\u0E01\u0E41\u0E25\u0E49\u0E27",
|
|
67
|
+
selectedItemsText: "\u0E23\u0E32\u0E22\u0E01\u0E32\u0E23"
|
|
68
|
+
},
|
|
54
69
|
formWizard: {
|
|
55
70
|
prevText: "\u0E01\u0E48\u0E2D\u0E19\u0E2B\u0E19\u0E49\u0E32",
|
|
56
71
|
nextText: "\u0E16\u0E31\u0E14\u0E44\u0E1B",
|
package/dist/locales/th-TH.d.cts
CHANGED
package/dist/locales/th-TH.d.ts
CHANGED
package/dist/locales/th-TH.js
CHANGED
|
@@ -27,6 +27,21 @@ var thTH = {
|
|
|
27
27
|
pageAriaLabel: "\u0E2B\u0E19\u0E49\u0E32 {page}",
|
|
28
28
|
pageIndicatorText: "\u0E2B\u0E19\u0E49\u0E32 {current} \u0E08\u0E32\u0E01 {total}"
|
|
29
29
|
},
|
|
30
|
+
table: {
|
|
31
|
+
emptyText: "\u0E44\u0E21\u0E48\u0E21\u0E35\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25",
|
|
32
|
+
loadingText: "\u0E01\u0E33\u0E25\u0E31\u0E07\u0E42\u0E2B\u0E25\u0E14",
|
|
33
|
+
expandText: "\u0E02\u0E22\u0E32\u0E22",
|
|
34
|
+
collapseText: "\u0E22\u0E38\u0E1A",
|
|
35
|
+
selectAllText: "\u0E40\u0E25\u0E37\u0E2D\u0E01\u0E17\u0E31\u0E49\u0E07\u0E2B\u0E21\u0E14",
|
|
36
|
+
selectRowAriaLabel: "\u0E40\u0E25\u0E37\u0E2D\u0E01\u0E41\u0E16\u0E27 {row}",
|
|
37
|
+
sortByText: "\u0E40\u0E23\u0E35\u0E22\u0E07\u0E15\u0E32\u0E21 {column}",
|
|
38
|
+
clearSortText: "\u0E25\u0E49\u0E32\u0E07\u0E01\u0E32\u0E23\u0E40\u0E23\u0E35\u0E22\u0E07",
|
|
39
|
+
toolbarAriaLabel: "\u0E41\u0E16\u0E1A\u0E40\u0E04\u0E23\u0E37\u0E48\u0E2D\u0E07\u0E21\u0E37\u0E2D\u0E15\u0E32\u0E23\u0E32\u0E07\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25",
|
|
40
|
+
searchPlaceholder: "\u0E04\u0E49\u0E19\u0E2B\u0E32",
|
|
41
|
+
searchButtonText: "\u0E04\u0E49\u0E19\u0E2B\u0E32",
|
|
42
|
+
selectedText: "\u0E40\u0E25\u0E37\u0E2D\u0E01\u0E41\u0E25\u0E49\u0E27",
|
|
43
|
+
selectedItemsText: "\u0E23\u0E32\u0E22\u0E01\u0E32\u0E23"
|
|
44
|
+
},
|
|
30
45
|
formWizard: {
|
|
31
46
|
prevText: "\u0E01\u0E48\u0E2D\u0E19\u0E2B\u0E19\u0E49\u0E32",
|
|
32
47
|
nextText: "\u0E16\u0E31\u0E14\u0E44\u0E1B",
|
package/dist/locales/vi-VN.cjs
CHANGED
|
@@ -51,6 +51,21 @@ var viVN = {
|
|
|
51
51
|
pageAriaLabel: "Trang {page}",
|
|
52
52
|
pageIndicatorText: "Trang {current} / {total}"
|
|
53
53
|
},
|
|
54
|
+
table: {
|
|
55
|
+
emptyText: "Kh\xF4ng c\xF3 d\u1EEF li\u1EC7u",
|
|
56
|
+
loadingText: "\u0110ang t\u1EA3i",
|
|
57
|
+
expandText: "M\u1EDF r\u1ED9ng",
|
|
58
|
+
collapseText: "Thu g\u1ECDn",
|
|
59
|
+
selectAllText: "Ch\u1ECDn t\u1EA5t c\u1EA3",
|
|
60
|
+
selectRowAriaLabel: "Ch\u1ECDn h\xE0ng {row}",
|
|
61
|
+
sortByText: "S\u1EAFp x\u1EBFp theo {column}",
|
|
62
|
+
clearSortText: "X\xF3a s\u1EAFp x\u1EBFp",
|
|
63
|
+
toolbarAriaLabel: "Thanh c\xF4ng c\u1EE5 b\u1EA3ng d\u1EEF li\u1EC7u",
|
|
64
|
+
searchPlaceholder: "T\xECm ki\u1EBFm",
|
|
65
|
+
searchButtonText: "T\xECm ki\u1EBFm",
|
|
66
|
+
selectedText: "\u0110\xE3 ch\u1ECDn",
|
|
67
|
+
selectedItemsText: "m\u1EE5c"
|
|
68
|
+
},
|
|
54
69
|
formWizard: {
|
|
55
70
|
prevText: "Tr\u01B0\u1EDBc",
|
|
56
71
|
nextText: "Ti\u1EBFp",
|
package/dist/locales/vi-VN.d.cts
CHANGED
package/dist/locales/vi-VN.d.ts
CHANGED
package/dist/locales/vi-VN.js
CHANGED
|
@@ -27,6 +27,21 @@ var viVN = {
|
|
|
27
27
|
pageAriaLabel: "Trang {page}",
|
|
28
28
|
pageIndicatorText: "Trang {current} / {total}"
|
|
29
29
|
},
|
|
30
|
+
table: {
|
|
31
|
+
emptyText: "Kh\xF4ng c\xF3 d\u1EEF li\u1EC7u",
|
|
32
|
+
loadingText: "\u0110ang t\u1EA3i",
|
|
33
|
+
expandText: "M\u1EDF r\u1ED9ng",
|
|
34
|
+
collapseText: "Thu g\u1ECDn",
|
|
35
|
+
selectAllText: "Ch\u1ECDn t\u1EA5t c\u1EA3",
|
|
36
|
+
selectRowAriaLabel: "Ch\u1ECDn h\xE0ng {row}",
|
|
37
|
+
sortByText: "S\u1EAFp x\u1EBFp theo {column}",
|
|
38
|
+
clearSortText: "X\xF3a s\u1EAFp x\u1EBFp",
|
|
39
|
+
toolbarAriaLabel: "Thanh c\xF4ng c\u1EE5 b\u1EA3ng d\u1EEF li\u1EC7u",
|
|
40
|
+
searchPlaceholder: "T\xECm ki\u1EBFm",
|
|
41
|
+
searchButtonText: "T\xECm ki\u1EBFm",
|
|
42
|
+
selectedText: "\u0110\xE3 ch\u1ECDn",
|
|
43
|
+
selectedItemsText: "m\u1EE5c"
|
|
44
|
+
},
|
|
30
45
|
formWizard: {
|
|
31
46
|
prevText: "Tr\u01B0\u1EDBc",
|
|
32
47
|
nextText: "Ti\u1EBFp",
|
package/dist/locales/zh-CN.cjs
CHANGED
|
@@ -51,6 +51,21 @@ var zhCN = {
|
|
|
51
51
|
pageAriaLabel: "\u7B2C {page} \u9875",
|
|
52
52
|
pageIndicatorText: "\u7B2C {current} \u9875\uFF0C\u5171 {total} \u9875"
|
|
53
53
|
},
|
|
54
|
+
table: {
|
|
55
|
+
emptyText: "\u6682\u65E0\u6570\u636E",
|
|
56
|
+
loadingText: "\u52A0\u8F7D\u4E2D",
|
|
57
|
+
expandText: "\u5C55\u5F00",
|
|
58
|
+
collapseText: "\u6536\u8D77",
|
|
59
|
+
selectAllText: "\u5168\u9009",
|
|
60
|
+
selectRowAriaLabel: "\u9009\u62E9\u7B2C {row} \u884C",
|
|
61
|
+
sortByText: "\u6309 {column} \u6392\u5E8F",
|
|
62
|
+
clearSortText: "\u4E0D\u6392\u5E8F",
|
|
63
|
+
toolbarAriaLabel: "\u6570\u636E\u8868\u683C\u5DE5\u5177\u680F",
|
|
64
|
+
searchPlaceholder: "\u641C\u7D22",
|
|
65
|
+
searchButtonText: "\u641C\u7D22",
|
|
66
|
+
selectedText: "\u5DF2\u9009\u62E9",
|
|
67
|
+
selectedItemsText: "\u9879"
|
|
68
|
+
},
|
|
54
69
|
formWizard: {
|
|
55
70
|
prevText: "\u4E0A\u4E00\u6B65",
|
|
56
71
|
nextText: "\u4E0B\u4E00\u6B65",
|
package/dist/locales/zh-CN.d.cts
CHANGED
package/dist/locales/zh-CN.d.ts
CHANGED
package/dist/locales/zh-CN.js
CHANGED
|
@@ -27,6 +27,21 @@ var zhCN = {
|
|
|
27
27
|
pageAriaLabel: "\u7B2C {page} \u9875",
|
|
28
28
|
pageIndicatorText: "\u7B2C {current} \u9875\uFF0C\u5171 {total} \u9875"
|
|
29
29
|
},
|
|
30
|
+
table: {
|
|
31
|
+
emptyText: "\u6682\u65E0\u6570\u636E",
|
|
32
|
+
loadingText: "\u52A0\u8F7D\u4E2D",
|
|
33
|
+
expandText: "\u5C55\u5F00",
|
|
34
|
+
collapseText: "\u6536\u8D77",
|
|
35
|
+
selectAllText: "\u5168\u9009",
|
|
36
|
+
selectRowAriaLabel: "\u9009\u62E9\u7B2C {row} \u884C",
|
|
37
|
+
sortByText: "\u6309 {column} \u6392\u5E8F",
|
|
38
|
+
clearSortText: "\u4E0D\u6392\u5E8F",
|
|
39
|
+
toolbarAriaLabel: "\u6570\u636E\u8868\u683C\u5DE5\u5177\u680F",
|
|
40
|
+
searchPlaceholder: "\u641C\u7D22",
|
|
41
|
+
searchButtonText: "\u641C\u7D22",
|
|
42
|
+
selectedText: "\u5DF2\u9009\u62E9",
|
|
43
|
+
selectedItemsText: "\u9879"
|
|
44
|
+
},
|
|
30
45
|
formWizard: {
|
|
31
46
|
prevText: "\u4E0A\u4E00\u6B65",
|
|
32
47
|
nextText: "\u4E0B\u4E00\u6B65",
|
package/dist/locales/zh-TW.cjs
CHANGED
|
@@ -51,6 +51,21 @@ var zhTW = {
|
|
|
51
51
|
pageAriaLabel: "\u7B2C {page} \u9801",
|
|
52
52
|
pageIndicatorText: "\u7B2C {current} \u9801\uFF0C\u5171 {total} \u9801"
|
|
53
53
|
},
|
|
54
|
+
table: {
|
|
55
|
+
emptyText: "\u66AB\u7121\u8CC7\u6599",
|
|
56
|
+
loadingText: "\u8F09\u5165\u4E2D",
|
|
57
|
+
expandText: "\u5C55\u958B",
|
|
58
|
+
collapseText: "\u6536\u5408",
|
|
59
|
+
selectAllText: "\u5168\u9078",
|
|
60
|
+
selectRowAriaLabel: "\u9078\u64C7\u7B2C {row} \u5217",
|
|
61
|
+
sortByText: "\u4F9D {column} \u6392\u5E8F",
|
|
62
|
+
clearSortText: "\u4E0D\u6392\u5E8F",
|
|
63
|
+
toolbarAriaLabel: "\u8CC7\u6599\u8868\u683C\u5DE5\u5177\u5217",
|
|
64
|
+
searchPlaceholder: "\u641C\u5C0B",
|
|
65
|
+
searchButtonText: "\u641C\u5C0B",
|
|
66
|
+
selectedText: "\u5DF2\u9078\u64C7",
|
|
67
|
+
selectedItemsText: "\u7B46"
|
|
68
|
+
},
|
|
54
69
|
formWizard: {
|
|
55
70
|
prevText: "\u4E0A\u4E00\u6B65",
|
|
56
71
|
nextText: "\u4E0B\u4E00\u6B65",
|
package/dist/locales/zh-TW.d.cts
CHANGED
package/dist/locales/zh-TW.d.ts
CHANGED
package/dist/locales/zh-TW.js
CHANGED
|
@@ -27,6 +27,21 @@ var zhTW = {
|
|
|
27
27
|
pageAriaLabel: "\u7B2C {page} \u9801",
|
|
28
28
|
pageIndicatorText: "\u7B2C {current} \u9801\uFF0C\u5171 {total} \u9801"
|
|
29
29
|
},
|
|
30
|
+
table: {
|
|
31
|
+
emptyText: "\u66AB\u7121\u8CC7\u6599",
|
|
32
|
+
loadingText: "\u8F09\u5165\u4E2D",
|
|
33
|
+
expandText: "\u5C55\u958B",
|
|
34
|
+
collapseText: "\u6536\u5408",
|
|
35
|
+
selectAllText: "\u5168\u9078",
|
|
36
|
+
selectRowAriaLabel: "\u9078\u64C7\u7B2C {row} \u5217",
|
|
37
|
+
sortByText: "\u4F9D {column} \u6392\u5E8F",
|
|
38
|
+
clearSortText: "\u4E0D\u6392\u5E8F",
|
|
39
|
+
toolbarAriaLabel: "\u8CC7\u6599\u8868\u683C\u5DE5\u5177\u5217",
|
|
40
|
+
searchPlaceholder: "\u641C\u5C0B",
|
|
41
|
+
searchButtonText: "\u641C\u5C0B",
|
|
42
|
+
selectedText: "\u5DF2\u9078\u64C7",
|
|
43
|
+
selectedItemsText: "\u7B46"
|
|
44
|
+
},
|
|
30
45
|
formWizard: {
|
|
31
46
|
prevText: "\u4E0A\u4E00\u6B65",
|
|
32
47
|
nextText: "\u4E0B\u4E00\u6B65",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as TigerLocaleInput, e as TigerLocalePagination } from './locale-
|
|
1
|
+
import { a as TigerLocaleInput, e as TigerLocalePagination, g as TigerLocaleTable } from './locale-CieZS1DZ.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Pagination component types and interfaces
|
|
@@ -180,6 +180,11 @@ interface PageSizeChangeInfo {
|
|
|
180
180
|
type TableSize = 'sm' | 'md' | 'lg';
|
|
181
181
|
type TableExportFormat = 'csv' | 'excel';
|
|
182
182
|
type TableResponsiveMode = 'card' | 'scroll';
|
|
183
|
+
/**
|
|
184
|
+
* Viewport breakpoint below which `responsiveMode="card"` activates.
|
|
185
|
+
* Maps to Tailwind's `sm` (640px), `md` (768px), and `lg` (1024px) widths.
|
|
186
|
+
*/
|
|
187
|
+
type TableCardBreakpoint = 'sm' | 'md' | 'lg';
|
|
183
188
|
type TableFixedPosition = 'left' | 'right';
|
|
184
189
|
/**
|
|
185
190
|
* Sort direction
|
|
@@ -309,6 +314,24 @@ interface TableColumn<T = Record<string, unknown>> {
|
|
|
309
314
|
* @default false
|
|
310
315
|
*/
|
|
311
316
|
fixed?: TableFixedPosition | false;
|
|
317
|
+
/**
|
|
318
|
+
* Hide this column when the table renders as cards (`responsiveMode="card"`).
|
|
319
|
+
* Useful for omitting secondary fields (id, timestamps) on narrow screens.
|
|
320
|
+
* @default false
|
|
321
|
+
*/
|
|
322
|
+
hideInCard?: boolean;
|
|
323
|
+
/**
|
|
324
|
+
* Ordering weight in card mode; columns with a lower value render first.
|
|
325
|
+
* Columns without a priority keep their original relative order and sort
|
|
326
|
+
* after prioritized ones.
|
|
327
|
+
*/
|
|
328
|
+
cardPriority?: number;
|
|
329
|
+
/**
|
|
330
|
+
* Render this column as the card's heading instead of a label/value row.
|
|
331
|
+
* The first visible column with `cardTitle` wins.
|
|
332
|
+
* @default false
|
|
333
|
+
*/
|
|
334
|
+
cardTitle?: boolean;
|
|
312
335
|
/**
|
|
313
336
|
* Custom render function for cell content
|
|
314
337
|
* Framework-specific implementations will handle this differently
|
|
@@ -477,6 +500,15 @@ interface ExpandableConfig<T = Record<string, unknown>> {
|
|
|
477
500
|
*/
|
|
478
501
|
expandIconPosition?: 'start' | 'end';
|
|
479
502
|
}
|
|
503
|
+
interface TableCardRenderContext<T = Record<string, unknown>> {
|
|
504
|
+
record: T;
|
|
505
|
+
index: number;
|
|
506
|
+
columns: TableColumn<T>[];
|
|
507
|
+
selected: boolean;
|
|
508
|
+
expanded: boolean;
|
|
509
|
+
toggleExpand: () => void;
|
|
510
|
+
selectRow: (checked: boolean) => void;
|
|
511
|
+
}
|
|
480
512
|
/**
|
|
481
513
|
* Base table props interface
|
|
482
514
|
*/
|
|
@@ -539,6 +571,14 @@ interface TableProps<T = Record<string, unknown>> {
|
|
|
539
571
|
* @default false
|
|
540
572
|
*/
|
|
541
573
|
loading?: boolean;
|
|
574
|
+
/**
|
|
575
|
+
* Locale configuration for table text.
|
|
576
|
+
*/
|
|
577
|
+
locale?: TigerLocaleInput;
|
|
578
|
+
/**
|
|
579
|
+
* Flat table text overrides for this instance.
|
|
580
|
+
*/
|
|
581
|
+
labels?: Partial<TigerLocaleTable>;
|
|
542
582
|
/**
|
|
543
583
|
* Empty state text
|
|
544
584
|
* @default 'No data'
|
|
@@ -582,11 +622,26 @@ interface TableProps<T = Record<string, unknown>> {
|
|
|
582
622
|
*/
|
|
583
623
|
tableLayout?: 'auto' | 'fixed';
|
|
584
624
|
/**
|
|
585
|
-
* Mobile layout below
|
|
586
|
-
* `
|
|
625
|
+
* Mobile layout below the `cardBreakpoint` width (640px by default).
|
|
626
|
+
* `scroll` keeps the table horizontally scrollable; `card` renders each row
|
|
627
|
+
* as a stacked card list.
|
|
587
628
|
* @default 'scroll'
|
|
588
629
|
*/
|
|
589
630
|
responsiveMode?: TableResponsiveMode;
|
|
631
|
+
/**
|
|
632
|
+
* Viewport breakpoint below which `responsiveMode="card"` activates.
|
|
633
|
+
* `sm` = 640px, `md` = 768px, `lg` = 1024px.
|
|
634
|
+
* @default 'sm'
|
|
635
|
+
*/
|
|
636
|
+
cardBreakpoint?: TableCardBreakpoint;
|
|
637
|
+
/**
|
|
638
|
+
* Additional class for mobile card rows, or a resolver per record.
|
|
639
|
+
*/
|
|
640
|
+
cardClassName?: string | ((record: T, index: number) => string);
|
|
641
|
+
/**
|
|
642
|
+
* Custom mobile card renderer for `responsiveMode="card"`.
|
|
643
|
+
*/
|
|
644
|
+
renderCard?: (context: TableCardRenderContext<T>) => unknown;
|
|
590
645
|
/**
|
|
591
646
|
* Enable virtual scrolling for large datasets
|
|
592
647
|
* @default false
|
|
@@ -707,4 +762,4 @@ declare function downloadTableExport(content: string, filename?: string, format?
|
|
|
707
762
|
*/
|
|
708
763
|
declare const tableExportButtonClasses = "inline-flex items-center gap-1.5 px-3 py-1.5 text-sm font-medium rounded-[var(--tiger-radius-md,0.5rem)] border border-[var(--tiger-border,#e5e7eb)] text-[var(--tiger-text,#111827)] bg-[var(--tiger-surface,#ffffff)] hover:bg-[var(--tiger-surface-muted,#f9fafb)] transition-colors";
|
|
709
764
|
|
|
710
|
-
export { type
|
|
765
|
+
export { type PaginationPageSizeOptionItem as A, type PaginationProps as B, type ColumnAlign as C, type PageChangeInfo as D, type ExpandableConfig as E, type FilterOption as F, type PageSizeChangeInfo as G, type PaginationQuickJumperValidationOptions as P, type RowSelectionConfig as R, type SortDirection as S, type TableResponsiveMode as T, type TableCardBreakpoint as a, type TableColumn as b, type TableFixedPosition as c, type TableSize as d, type PaginationAlign as e, type PaginationSize as f, type TableProps as g, type PaginationConfig as h, type FilterRule as i, type ColumnFilter as j, type SortState as k, exportTableToCsv as l, exportTableToExcel as m, downloadCsv as n, downloadExcel as o, exportTableData as p, downloadTableExport as q, type TableExportFormat as r, type TableFixedHeaderClassNameContext as s, tableExportButtonClasses as t, type TableFixedCellClassNameContext as u, type TableFixedHeaderClassName as v, type TableFixedCellClassName as w, type FilterType as x, type TableCardRenderContext as y, type PaginationPageSizeOption as z };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as TigerLocaleInput, e as TigerLocalePagination } from './locale-
|
|
1
|
+
import { a as TigerLocaleInput, e as TigerLocalePagination, g as TigerLocaleTable } from './locale-DRA6alwj.cjs';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Pagination component types and interfaces
|
|
@@ -180,6 +180,11 @@ interface PageSizeChangeInfo {
|
|
|
180
180
|
type TableSize = 'sm' | 'md' | 'lg';
|
|
181
181
|
type TableExportFormat = 'csv' | 'excel';
|
|
182
182
|
type TableResponsiveMode = 'card' | 'scroll';
|
|
183
|
+
/**
|
|
184
|
+
* Viewport breakpoint below which `responsiveMode="card"` activates.
|
|
185
|
+
* Maps to Tailwind's `sm` (640px), `md` (768px), and `lg` (1024px) widths.
|
|
186
|
+
*/
|
|
187
|
+
type TableCardBreakpoint = 'sm' | 'md' | 'lg';
|
|
183
188
|
type TableFixedPosition = 'left' | 'right';
|
|
184
189
|
/**
|
|
185
190
|
* Sort direction
|
|
@@ -309,6 +314,24 @@ interface TableColumn<T = Record<string, unknown>> {
|
|
|
309
314
|
* @default false
|
|
310
315
|
*/
|
|
311
316
|
fixed?: TableFixedPosition | false;
|
|
317
|
+
/**
|
|
318
|
+
* Hide this column when the table renders as cards (`responsiveMode="card"`).
|
|
319
|
+
* Useful for omitting secondary fields (id, timestamps) on narrow screens.
|
|
320
|
+
* @default false
|
|
321
|
+
*/
|
|
322
|
+
hideInCard?: boolean;
|
|
323
|
+
/**
|
|
324
|
+
* Ordering weight in card mode; columns with a lower value render first.
|
|
325
|
+
* Columns without a priority keep their original relative order and sort
|
|
326
|
+
* after prioritized ones.
|
|
327
|
+
*/
|
|
328
|
+
cardPriority?: number;
|
|
329
|
+
/**
|
|
330
|
+
* Render this column as the card's heading instead of a label/value row.
|
|
331
|
+
* The first visible column with `cardTitle` wins.
|
|
332
|
+
* @default false
|
|
333
|
+
*/
|
|
334
|
+
cardTitle?: boolean;
|
|
312
335
|
/**
|
|
313
336
|
* Custom render function for cell content
|
|
314
337
|
* Framework-specific implementations will handle this differently
|
|
@@ -477,6 +500,15 @@ interface ExpandableConfig<T = Record<string, unknown>> {
|
|
|
477
500
|
*/
|
|
478
501
|
expandIconPosition?: 'start' | 'end';
|
|
479
502
|
}
|
|
503
|
+
interface TableCardRenderContext<T = Record<string, unknown>> {
|
|
504
|
+
record: T;
|
|
505
|
+
index: number;
|
|
506
|
+
columns: TableColumn<T>[];
|
|
507
|
+
selected: boolean;
|
|
508
|
+
expanded: boolean;
|
|
509
|
+
toggleExpand: () => void;
|
|
510
|
+
selectRow: (checked: boolean) => void;
|
|
511
|
+
}
|
|
480
512
|
/**
|
|
481
513
|
* Base table props interface
|
|
482
514
|
*/
|
|
@@ -539,6 +571,14 @@ interface TableProps<T = Record<string, unknown>> {
|
|
|
539
571
|
* @default false
|
|
540
572
|
*/
|
|
541
573
|
loading?: boolean;
|
|
574
|
+
/**
|
|
575
|
+
* Locale configuration for table text.
|
|
576
|
+
*/
|
|
577
|
+
locale?: TigerLocaleInput;
|
|
578
|
+
/**
|
|
579
|
+
* Flat table text overrides for this instance.
|
|
580
|
+
*/
|
|
581
|
+
labels?: Partial<TigerLocaleTable>;
|
|
542
582
|
/**
|
|
543
583
|
* Empty state text
|
|
544
584
|
* @default 'No data'
|
|
@@ -582,11 +622,26 @@ interface TableProps<T = Record<string, unknown>> {
|
|
|
582
622
|
*/
|
|
583
623
|
tableLayout?: 'auto' | 'fixed';
|
|
584
624
|
/**
|
|
585
|
-
* Mobile layout below
|
|
586
|
-
* `
|
|
625
|
+
* Mobile layout below the `cardBreakpoint` width (640px by default).
|
|
626
|
+
* `scroll` keeps the table horizontally scrollable; `card` renders each row
|
|
627
|
+
* as a stacked card list.
|
|
587
628
|
* @default 'scroll'
|
|
588
629
|
*/
|
|
589
630
|
responsiveMode?: TableResponsiveMode;
|
|
631
|
+
/**
|
|
632
|
+
* Viewport breakpoint below which `responsiveMode="card"` activates.
|
|
633
|
+
* `sm` = 640px, `md` = 768px, `lg` = 1024px.
|
|
634
|
+
* @default 'sm'
|
|
635
|
+
*/
|
|
636
|
+
cardBreakpoint?: TableCardBreakpoint;
|
|
637
|
+
/**
|
|
638
|
+
* Additional class for mobile card rows, or a resolver per record.
|
|
639
|
+
*/
|
|
640
|
+
cardClassName?: string | ((record: T, index: number) => string);
|
|
641
|
+
/**
|
|
642
|
+
* Custom mobile card renderer for `responsiveMode="card"`.
|
|
643
|
+
*/
|
|
644
|
+
renderCard?: (context: TableCardRenderContext<T>) => unknown;
|
|
590
645
|
/**
|
|
591
646
|
* Enable virtual scrolling for large datasets
|
|
592
647
|
* @default false
|
|
@@ -707,4 +762,4 @@ declare function downloadTableExport(content: string, filename?: string, format?
|
|
|
707
762
|
*/
|
|
708
763
|
declare const tableExportButtonClasses = "inline-flex items-center gap-1.5 px-3 py-1.5 text-sm font-medium rounded-[var(--tiger-radius-md,0.5rem)] border border-[var(--tiger-border,#e5e7eb)] text-[var(--tiger-text,#111827)] bg-[var(--tiger-surface,#ffffff)] hover:bg-[var(--tiger-surface-muted,#f9fafb)] transition-colors";
|
|
709
764
|
|
|
710
|
-
export { type
|
|
765
|
+
export { type PaginationPageSizeOptionItem as A, type PaginationProps as B, type ColumnAlign as C, type PageChangeInfo as D, type ExpandableConfig as E, type FilterOption as F, type PageSizeChangeInfo as G, type PaginationQuickJumperValidationOptions as P, type RowSelectionConfig as R, type SortDirection as S, type TableResponsiveMode as T, type TableCardBreakpoint as a, type TableColumn as b, type TableFixedPosition as c, type TableSize as d, type PaginationAlign as e, type PaginationSize as f, type TableProps as g, type PaginationConfig as h, type FilterRule as i, type ColumnFilter as j, type SortState as k, exportTableToCsv as l, exportTableToExcel as m, downloadCsv as n, downloadExcel as o, exportTableData as p, downloadTableExport as q, type TableExportFormat as r, type TableFixedHeaderClassNameContext as s, tableExportButtonClasses as t, type TableFixedCellClassNameContext as u, type TableFixedHeaderClassName as v, type TableFixedCellClassName as w, type FilterType as x, type TableCardRenderContext as y, type PaginationPageSizeOption as z };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export {
|
|
2
|
-
import '../locale-
|
|
1
|
+
export { n as downloadCsv, o as downloadExcel, q as downloadTableExport, p as exportTableData, l as exportTableToCsv, m as exportTableToExcel, t as tableExportButtonClasses } from '../table-export-MB2SPk2a.cjs';
|
|
2
|
+
import '../locale-DRA6alwj.cjs';
|
|
3
3
|
import '../datepicker-DXzS_8l8.cjs';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export {
|
|
2
|
-
import '../locale-
|
|
1
|
+
export { n as downloadCsv, o as downloadExcel, q as downloadTableExport, p as exportTableData, l as exportTableToCsv, m as exportTableToExcel, t as tableExportButtonClasses } from '../table-export-CjazVsKc.js';
|
|
2
|
+
import '../locale-CieZS1DZ.js';
|
|
3
3
|
import '../datepicker-DXzS_8l8.js';
|