@expcat/tigercat-vue 1.2.37 → 1.2.41

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.
Files changed (215) hide show
  1. package/dist/{chunk-MD7S2A55.js → chunk-5TJI4HOT.js} +2 -2
  2. package/dist/{chunk-FKCZSBM6.js → chunk-7IVLFDZI.js} +17 -3
  3. package/dist/{chunk-W54LFA7A.mjs → chunk-CHDKJDZQ.mjs} +306 -94
  4. package/dist/{chunk-2HT6YGRY.js → chunk-EWQJGR7E.js} +185 -18
  5. package/dist/{chunk-U2PPTMQX.mjs → chunk-FI2EIJIF.mjs} +1 -1
  6. package/dist/{chunk-HSMN5FWL.js → chunk-GD2WAN62.js} +2 -2
  7. package/dist/{chunk-ILTIUESE.mjs → chunk-GFQDHFAX.mjs} +178 -11
  8. package/dist/{chunk-3EVCDIZE.js → chunk-KGDRA475.js} +2 -2
  9. package/dist/{chunk-WT3LV7OQ.mjs → chunk-KJ6VISRW.mjs} +1 -1
  10. package/dist/{chunk-6DYGPOYH.js → chunk-LUAI6VXV.js} +2 -2
  11. package/dist/{chunk-UJZPEXF5.mjs → chunk-M4EP4OVR.mjs} +19 -4
  12. package/dist/{chunk-RRI3F52B.js → chunk-OFTAQ2A4.js} +305 -93
  13. package/dist/{chunk-PC2FNA4J.mjs → chunk-PT4Q7C2A.mjs} +1 -1
  14. package/dist/{chunk-S3KTGULC.js → chunk-QOMWROWE.js} +22 -7
  15. package/dist/{chunk-FATIMV7O.mjs → chunk-ROMVD7LS.mjs} +1 -1
  16. package/dist/{chunk-NYH6GSP7.mjs → chunk-VKW2O36D.mjs} +17 -3
  17. package/dist/components/ActivityFeed.d.mts +6 -6
  18. package/dist/components/ActivityFeed.d.ts +6 -6
  19. package/dist/components/Alert.d.mts +3 -3
  20. package/dist/components/Alert.d.ts +3 -3
  21. package/dist/components/Anchor.d.mts +1 -1
  22. package/dist/components/Anchor.d.ts +1 -1
  23. package/dist/components/AreaChart.d.mts +2 -2
  24. package/dist/components/AreaChart.d.ts +2 -2
  25. package/dist/components/AutoComplete.d.mts +2 -2
  26. package/dist/components/AutoComplete.d.ts +2 -2
  27. package/dist/components/Avatar.d.mts +1 -1
  28. package/dist/components/Avatar.d.ts +1 -1
  29. package/dist/components/Badge.d.mts +3 -3
  30. package/dist/components/Badge.d.ts +3 -3
  31. package/dist/components/BarChart.d.mts +1 -1
  32. package/dist/components/BarChart.d.ts +1 -1
  33. package/dist/components/Breadcrumb.d.mts +2 -2
  34. package/dist/components/Breadcrumb.d.ts +2 -2
  35. package/dist/components/Button.d.mts +3 -3
  36. package/dist/components/Button.d.ts +3 -3
  37. package/dist/components/ButtonGroup.d.mts +1 -1
  38. package/dist/components/ButtonGroup.d.ts +1 -1
  39. package/dist/components/Calendar.d.mts +1 -1
  40. package/dist/components/Calendar.d.ts +1 -1
  41. package/dist/components/Card.d.mts +2 -2
  42. package/dist/components/Card.d.ts +2 -2
  43. package/dist/components/ChartGrid.d.mts +1 -1
  44. package/dist/components/ChartGrid.d.ts +1 -1
  45. package/dist/components/ChatWindow.d.mts +3 -3
  46. package/dist/components/ChatWindow.d.ts +3 -3
  47. package/dist/components/ChatWindow.js +3 -3
  48. package/dist/components/ChatWindow.mjs +2 -2
  49. package/dist/components/CodeEditor.d.mts +2 -2
  50. package/dist/components/CodeEditor.d.ts +2 -2
  51. package/dist/components/Collapse.d.mts +1 -1
  52. package/dist/components/Collapse.d.ts +1 -1
  53. package/dist/components/CollapsePanel.d.mts +1 -1
  54. package/dist/components/CollapsePanel.d.ts +1 -1
  55. package/dist/components/ColorSwatch.d.mts +1 -1
  56. package/dist/components/ColorSwatch.d.ts +1 -1
  57. package/dist/components/CommentThread.d.mts +2 -2
  58. package/dist/components/CommentThread.d.ts +2 -2
  59. package/dist/components/ConfigProvider.d.mts +1 -1
  60. package/dist/components/ConfigProvider.d.ts +1 -1
  61. package/dist/components/DataTableWithToolbar.d.mts +55 -11
  62. package/dist/components/DataTableWithToolbar.d.ts +55 -11
  63. package/dist/components/DataTableWithToolbar.js +11 -3
  64. package/dist/components/DataTableWithToolbar.mjs +10 -2
  65. package/dist/components/DatePicker.d.mts +2 -2
  66. package/dist/components/DatePicker.d.ts +2 -2
  67. package/dist/components/Descriptions.d.mts +2 -2
  68. package/dist/components/Descriptions.d.ts +2 -2
  69. package/dist/components/DonutChart.d.mts +2 -2
  70. package/dist/components/DonutChart.d.ts +2 -2
  71. package/dist/components/Drawer.d.mts +5 -5
  72. package/dist/components/Drawer.d.ts +5 -5
  73. package/dist/components/Dropdown.d.mts +19 -0
  74. package/dist/components/Dropdown.d.ts +19 -0
  75. package/dist/components/Dropdown.js +2 -2
  76. package/dist/components/Dropdown.mjs +1 -1
  77. package/dist/components/DropdownItem.js +3 -3
  78. package/dist/components/DropdownItem.mjs +2 -2
  79. package/dist/components/DropdownMenu.js +3 -3
  80. package/dist/components/DropdownMenu.mjs +1 -1
  81. package/dist/components/Empty.d.mts +1 -1
  82. package/dist/components/Empty.d.ts +1 -1
  83. package/dist/components/FileManager.d.mts +1 -1
  84. package/dist/components/FileManager.d.ts +1 -1
  85. package/dist/components/FloatButton.d.mts +3 -3
  86. package/dist/components/FloatButton.d.ts +3 -3
  87. package/dist/components/Form.d.mts +1 -1
  88. package/dist/components/Form.d.ts +1 -1
  89. package/dist/components/FormWizard.d.mts +6 -6
  90. package/dist/components/FormWizard.d.ts +6 -6
  91. package/dist/components/FunnelChart.d.mts +1 -1
  92. package/dist/components/FunnelChart.d.ts +1 -1
  93. package/dist/components/Gantt.d.mts +1 -1
  94. package/dist/components/Gantt.d.ts +1 -1
  95. package/dist/components/GaugeChart.d.mts +1 -1
  96. package/dist/components/GaugeChart.d.ts +1 -1
  97. package/dist/components/HeatmapChart.d.mts +2 -2
  98. package/dist/components/HeatmapChart.d.ts +2 -2
  99. package/dist/components/Image.d.mts +2 -2
  100. package/dist/components/Image.d.ts +2 -2
  101. package/dist/components/ImageAnnotation.d.mts +4 -4
  102. package/dist/components/ImageAnnotation.d.ts +4 -4
  103. package/dist/components/InfiniteScroll.d.mts +2 -2
  104. package/dist/components/InfiniteScroll.d.ts +2 -2
  105. package/dist/components/Input.d.mts +4 -4
  106. package/dist/components/Input.d.ts +4 -4
  107. package/dist/components/InputGroup.d.mts +1 -1
  108. package/dist/components/InputGroup.d.ts +1 -1
  109. package/dist/components/InputNumber.d.mts +1 -1
  110. package/dist/components/InputNumber.d.ts +1 -1
  111. package/dist/components/Kanban.d.mts +1 -1
  112. package/dist/components/Kanban.d.ts +1 -1
  113. package/dist/components/LineChart.d.mts +2 -2
  114. package/dist/components/LineChart.d.ts +2 -2
  115. package/dist/components/Link.d.mts +1 -1
  116. package/dist/components/Link.d.ts +1 -1
  117. package/dist/components/List.d.mts +6 -6
  118. package/dist/components/List.d.ts +6 -6
  119. package/dist/components/Loading.d.mts +5 -5
  120. package/dist/components/Loading.d.ts +5 -5
  121. package/dist/components/MarkdownEditor.d.mts +2 -2
  122. package/dist/components/MarkdownEditor.d.ts +2 -2
  123. package/dist/components/Mentions.d.mts +2 -2
  124. package/dist/components/Mentions.d.ts +2 -2
  125. package/dist/components/Menu.d.mts +5 -5
  126. package/dist/components/Menu.d.ts +5 -5
  127. package/dist/components/Modal.d.mts +8 -8
  128. package/dist/components/Modal.d.ts +8 -8
  129. package/dist/components/NotificationCenter.d.mts +5 -5
  130. package/dist/components/NotificationCenter.d.ts +5 -5
  131. package/dist/components/NumberKeyboard.d.mts +2 -2
  132. package/dist/components/NumberKeyboard.d.ts +2 -2
  133. package/dist/components/OrgChart.d.mts +1 -1
  134. package/dist/components/OrgChart.d.ts +1 -1
  135. package/dist/components/Pagination.d.mts +5 -5
  136. package/dist/components/Pagination.d.ts +5 -5
  137. package/dist/components/PieChart.d.mts +2 -2
  138. package/dist/components/PieChart.d.ts +2 -2
  139. package/dist/components/Popconfirm.d.mts +3 -3
  140. package/dist/components/Popconfirm.d.ts +3 -3
  141. package/dist/components/Popconfirm.js +3 -3
  142. package/dist/components/Popconfirm.mjs +2 -2
  143. package/dist/components/Popover.d.mts +1 -1
  144. package/dist/components/Popover.d.ts +1 -1
  145. package/dist/components/Popover.js +3 -3
  146. package/dist/components/Popover.mjs +2 -2
  147. package/dist/components/Progress.d.mts +3 -3
  148. package/dist/components/Progress.d.ts +3 -3
  149. package/dist/components/QRCode.d.mts +1 -1
  150. package/dist/components/QRCode.d.ts +1 -1
  151. package/dist/components/RadarChart.d.mts +2 -2
  152. package/dist/components/RadarChart.d.ts +2 -2
  153. package/dist/components/RichTextEditor.d.mts +1 -1
  154. package/dist/components/RichTextEditor.d.ts +1 -1
  155. package/dist/components/Row.d.mts +1 -1
  156. package/dist/components/Row.d.ts +1 -1
  157. package/dist/components/ScatterChart.d.mts +1 -1
  158. package/dist/components/ScatterChart.d.ts +1 -1
  159. package/dist/components/ScrollSpy.d.mts +2 -2
  160. package/dist/components/ScrollSpy.d.ts +2 -2
  161. package/dist/components/Select.d.mts +1 -1
  162. package/dist/components/Select.d.ts +1 -1
  163. package/dist/components/Signature.d.mts +2 -2
  164. package/dist/components/Signature.d.ts +2 -2
  165. package/dist/components/Skeleton.d.mts +1 -1
  166. package/dist/components/Skeleton.d.ts +1 -1
  167. package/dist/components/Space.d.mts +2 -2
  168. package/dist/components/Space.d.ts +2 -2
  169. package/dist/components/Splitter.d.mts +1 -1
  170. package/dist/components/Splitter.d.ts +1 -1
  171. package/dist/components/Spotlight.d.mts +4 -4
  172. package/dist/components/Spotlight.d.ts +4 -4
  173. package/dist/components/Steps.d.mts +3 -3
  174. package/dist/components/Steps.d.ts +3 -3
  175. package/dist/components/SunburstChart.d.mts +1 -1
  176. package/dist/components/SunburstChart.d.ts +1 -1
  177. package/dist/components/Table.d.mts +56 -8
  178. package/dist/components/Table.d.ts +56 -8
  179. package/dist/components/Table.js +8 -2
  180. package/dist/components/Table.mjs +7 -1
  181. package/dist/components/Tabs.d.mts +2 -2
  182. package/dist/components/Tabs.d.ts +2 -2
  183. package/dist/components/Tag.d.mts +1 -1
  184. package/dist/components/Tag.d.ts +1 -1
  185. package/dist/components/TaskBoard.d.mts +2 -2
  186. package/dist/components/TaskBoard.d.ts +2 -2
  187. package/dist/components/Text.d.mts +3 -3
  188. package/dist/components/Text.d.ts +3 -3
  189. package/dist/components/Textarea.d.mts +1 -1
  190. package/dist/components/Textarea.d.ts +1 -1
  191. package/dist/components/TimePicker.d.mts +3 -3
  192. package/dist/components/TimePicker.d.ts +3 -3
  193. package/dist/components/Timeline.d.mts +3 -3
  194. package/dist/components/Timeline.d.ts +3 -3
  195. package/dist/components/Tooltip.d.mts +1 -1
  196. package/dist/components/Tooltip.d.ts +1 -1
  197. package/dist/components/Tooltip.js +3 -3
  198. package/dist/components/Tooltip.mjs +2 -2
  199. package/dist/components/Tour.d.mts +2 -2
  200. package/dist/components/Tour.d.ts +2 -2
  201. package/dist/components/Tree.d.mts +2 -2
  202. package/dist/components/Tree.d.ts +2 -2
  203. package/dist/components/TreeMapChart.d.mts +1 -1
  204. package/dist/components/TreeMapChart.d.ts +1 -1
  205. package/dist/components/Upload.d.mts +4 -4
  206. package/dist/components/Upload.d.ts +4 -4
  207. package/dist/components/VirtualTable.d.mts +2 -2
  208. package/dist/components/VirtualTable.d.ts +2 -2
  209. package/dist/components/Watermark.d.mts +1 -1
  210. package/dist/components/Watermark.d.ts +1 -1
  211. package/dist/index.js +20 -20
  212. package/dist/index.mjs +20 -20
  213. package/package.json +2 -2
  214. package/dist/{chunk-S45NWVQS.mjs → chunk-6GPX4ONB.mjs} +3 -3
  215. package/dist/{chunk-VES3OJOP.js → chunk-YS6FW775.js} +2 -2
@@ -153,8 +153,8 @@ declare const StepsItem: vue.DefineComponent<vue.ExtractPropTypes<{
153
153
  className: string;
154
154
  style: Record<string, unknown>;
155
155
  disabled: boolean;
156
- status: StepStatus;
157
156
  icon: undefined;
157
+ status: StepStatus;
158
158
  description: string;
159
159
  stepIndex: number;
160
160
  isLast: boolean;
@@ -285,13 +285,13 @@ declare const Steps: vue.DefineComponent<vue.ExtractPropTypes<{
285
285
  onChange?: ((...args: any[]) => any) | undefined;
286
286
  "onUpdate:current"?: ((...args: any[]) => any) | undefined;
287
287
  }>, {
288
+ direction: StepsDirection;
288
289
  size: StepSize;
289
290
  className: string;
290
291
  style: Record<string, unknown>;
291
- direction: StepsDirection;
292
292
  status: StepStatus;
293
- current: number;
294
293
  simple: boolean;
294
+ current: number;
295
295
  clickable: boolean;
296
296
  }, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
297
297
 
@@ -190,11 +190,11 @@ declare const SunburstChart: vue.DefineComponent<vue.ExtractPropTypes<{
190
190
  "onArc-click"?: ((...args: any[]) => any) | undefined;
191
191
  "onArc-hover"?: ((...args: any[]) => any) | undefined;
192
192
  }>, {
193
- hoverable: boolean;
194
193
  width: number;
195
194
  height: number;
196
195
  padding: ChartPadding;
197
196
  gradient: boolean;
197
+ hoverable: boolean;
198
198
  showLabels: boolean;
199
199
  selectable: boolean;
200
200
  hoveredIndex: number | null;
@@ -190,11 +190,11 @@ declare const SunburstChart: vue.DefineComponent<vue.ExtractPropTypes<{
190
190
  "onArc-click"?: ((...args: any[]) => any) | undefined;
191
191
  "onArc-hover"?: ((...args: any[]) => any) | undefined;
192
192
  }>, {
193
- hoverable: boolean;
194
193
  width: number;
195
194
  height: number;
196
195
  padding: ChartPadding;
197
196
  gradient: boolean;
197
+ hoverable: boolean;
198
198
  showLabels: boolean;
199
199
  selectable: boolean;
200
200
  hoveredIndex: number | null;
@@ -1,5 +1,5 @@
1
1
  import * as _expcat_tigercat_core from '@expcat/tigercat-core';
2
- import { TableColumn, SortState, TableSize, PaginationConfig, RowSelectionConfig, ExpandableConfig, TableResponsiveMode, TableCardBreakpoint, FilterRule } from '@expcat/tigercat-core';
2
+ import { TableColumn, SortState, TableSize, TigerLocaleInput, TigerLocaleTable, PaginationConfig, RowSelectionConfig, ExpandableConfig, TableResponsiveMode, TableCardBreakpoint, TableCardRenderContext, FilterRule } from '@expcat/tigercat-core';
3
3
  import * as vue from 'vue';
4
4
 
5
5
  /**
@@ -9,6 +9,8 @@ interface VueTableProps {
9
9
  columns: TableColumn[];
10
10
  columnLockable?: boolean;
11
11
  dataSource?: Record<string, unknown>[];
12
+ hiddenColumnKeys?: string[];
13
+ defaultHiddenColumnKeys?: string[];
12
14
  sort?: SortState;
13
15
  defaultSort?: SortState;
14
16
  filters?: Record<string, unknown>;
@@ -18,6 +20,8 @@ interface VueTableProps {
18
20
  striped?: boolean;
19
21
  hoverable?: boolean;
20
22
  loading?: boolean;
23
+ locale?: TigerLocaleInput;
24
+ labels?: Partial<TigerLocaleTable>;
21
25
  emptyText?: string;
22
26
  pagination?: PaginationConfig | false;
23
27
  rowSelection?: RowSelectionConfig;
@@ -29,6 +33,8 @@ interface VueTableProps {
29
33
  tableLayout?: 'auto' | 'fixed';
30
34
  responsiveMode?: TableResponsiveMode;
31
35
  cardBreakpoint?: TableCardBreakpoint;
36
+ cardClassName?: string | ((record: Record<string, unknown>, index: number) => string | undefined);
37
+ renderCard?: (context: TableCardRenderContext<Record<string, unknown>>) => unknown;
32
38
  virtual?: boolean;
33
39
  virtualHeight?: number;
34
40
  virtualItemHeight?: number;
@@ -64,6 +70,14 @@ declare const Table: vue.DefineComponent<vue.ExtractPropTypes<{
64
70
  readonly type: vue.PropType<Record<string, unknown>[]>;
65
71
  readonly default: () => never[];
66
72
  };
73
+ readonly hiddenColumnKeys: {
74
+ readonly type: vue.PropType<string[]>;
75
+ readonly default: undefined;
76
+ };
77
+ readonly defaultHiddenColumnKeys: {
78
+ readonly type: vue.PropType<string[]>;
79
+ readonly default: undefined;
80
+ };
67
81
  readonly sort: {
68
82
  readonly type: vue.PropType<_expcat_tigercat_core.SortState>;
69
83
  };
@@ -101,9 +115,15 @@ declare const Table: vue.DefineComponent<vue.ExtractPropTypes<{
101
115
  readonly type: BooleanConstructor;
102
116
  readonly default: false;
103
117
  };
118
+ readonly locale: {
119
+ readonly type: vue.PropType<TigerLocaleInput>;
120
+ };
121
+ readonly labels: {
122
+ readonly type: vue.PropType<Partial<_expcat_tigercat_core.TigerLocaleTable>>;
123
+ };
104
124
  readonly emptyText: {
105
125
  readonly type: StringConstructor;
106
- readonly default: "No data";
126
+ readonly default: undefined;
107
127
  };
108
128
  readonly pagination: {
109
129
  readonly type: vue.PropType<_expcat_tigercat_core.PaginationConfig | false>;
@@ -148,6 +168,12 @@ declare const Table: vue.DefineComponent<vue.ExtractPropTypes<{
148
168
  readonly type: vue.PropType<_expcat_tigercat_core.TableCardBreakpoint>;
149
169
  readonly default: _expcat_tigercat_core.TableCardBreakpoint;
150
170
  };
171
+ readonly cardClassName: {
172
+ readonly type: vue.PropType<string | ((record: Record<string, unknown>, index: number) => string | undefined)>;
173
+ };
174
+ readonly renderCard: {
175
+ readonly type: vue.PropType<(context: _expcat_tigercat_core.TableCardRenderContext<Record<string, unknown>>) => unknown>;
176
+ };
151
177
  readonly virtual: {
152
178
  readonly type: BooleanConstructor;
153
179
  readonly default: false;
@@ -231,6 +257,14 @@ declare const Table: vue.DefineComponent<vue.ExtractPropTypes<{
231
257
  readonly type: vue.PropType<Record<string, unknown>[]>;
232
258
  readonly default: () => never[];
233
259
  };
260
+ readonly hiddenColumnKeys: {
261
+ readonly type: vue.PropType<string[]>;
262
+ readonly default: undefined;
263
+ };
264
+ readonly defaultHiddenColumnKeys: {
265
+ readonly type: vue.PropType<string[]>;
266
+ readonly default: undefined;
267
+ };
234
268
  readonly sort: {
235
269
  readonly type: vue.PropType<_expcat_tigercat_core.SortState>;
236
270
  };
@@ -268,9 +302,15 @@ declare const Table: vue.DefineComponent<vue.ExtractPropTypes<{
268
302
  readonly type: BooleanConstructor;
269
303
  readonly default: false;
270
304
  };
305
+ readonly locale: {
306
+ readonly type: vue.PropType<TigerLocaleInput>;
307
+ };
308
+ readonly labels: {
309
+ readonly type: vue.PropType<Partial<_expcat_tigercat_core.TigerLocaleTable>>;
310
+ };
271
311
  readonly emptyText: {
272
312
  readonly type: StringConstructor;
273
- readonly default: "No data";
313
+ readonly default: undefined;
274
314
  };
275
315
  readonly pagination: {
276
316
  readonly type: vue.PropType<_expcat_tigercat_core.PaginationConfig | false>;
@@ -315,6 +355,12 @@ declare const Table: vue.DefineComponent<vue.ExtractPropTypes<{
315
355
  readonly type: vue.PropType<_expcat_tigercat_core.TableCardBreakpoint>;
316
356
  readonly default: _expcat_tigercat_core.TableCardBreakpoint;
317
357
  };
358
+ readonly cardClassName: {
359
+ readonly type: vue.PropType<string | ((record: Record<string, unknown>, index: number) => string | undefined)>;
360
+ };
361
+ readonly renderCard: {
362
+ readonly type: vue.PropType<(context: _expcat_tigercat_core.TableCardRenderContext<Record<string, unknown>>) => unknown>;
363
+ };
318
364
  readonly virtual: {
319
365
  readonly type: BooleanConstructor;
320
366
  readonly default: false;
@@ -386,21 +432,23 @@ declare const Table: vue.DefineComponent<vue.ExtractPropTypes<{
386
432
  }>> & Readonly<{
387
433
  [x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
388
434
  }>, {
435
+ readonly pagination: false | _expcat_tigercat_core.PaginationConfig;
436
+ readonly emptyText: string;
389
437
  readonly size: _expcat_tigercat_core.TableSize;
390
438
  readonly loading: boolean;
391
- readonly emptyText: string;
392
- readonly bordered: boolean;
393
- readonly hoverable: boolean;
394
- readonly pagination: false | _expcat_tigercat_core.PaginationConfig;
395
439
  readonly virtual: boolean;
396
440
  readonly dataSource: Record<string, unknown>[];
397
441
  readonly columnLockable: boolean;
442
+ readonly hiddenColumnKeys: string[];
443
+ readonly defaultHiddenColumnKeys: string[];
398
444
  readonly defaultSort: _expcat_tigercat_core.SortState;
399
445
  readonly defaultFilters: Record<string, unknown>;
446
+ readonly bordered: boolean;
400
447
  readonly striped: boolean;
448
+ readonly hoverable: boolean;
401
449
  readonly rowKey: string | ((record: Record<string, unknown>) => string | number);
402
450
  readonly stickyHeader: boolean;
403
- readonly tableLayout: "fixed" | "auto";
451
+ readonly tableLayout: "auto" | "fixed";
404
452
  readonly responsiveMode: _expcat_tigercat_core.TableResponsiveMode;
405
453
  readonly cardBreakpoint: _expcat_tigercat_core.TableCardBreakpoint;
406
454
  readonly autoVirtual: boolean;
@@ -1,5 +1,5 @@
1
1
  import * as _expcat_tigercat_core from '@expcat/tigercat-core';
2
- import { TableColumn, SortState, TableSize, PaginationConfig, RowSelectionConfig, ExpandableConfig, TableResponsiveMode, TableCardBreakpoint, FilterRule } from '@expcat/tigercat-core';
2
+ import { TableColumn, SortState, TableSize, TigerLocaleInput, TigerLocaleTable, PaginationConfig, RowSelectionConfig, ExpandableConfig, TableResponsiveMode, TableCardBreakpoint, TableCardRenderContext, FilterRule } from '@expcat/tigercat-core';
3
3
  import * as vue from 'vue';
4
4
 
5
5
  /**
@@ -9,6 +9,8 @@ interface VueTableProps {
9
9
  columns: TableColumn[];
10
10
  columnLockable?: boolean;
11
11
  dataSource?: Record<string, unknown>[];
12
+ hiddenColumnKeys?: string[];
13
+ defaultHiddenColumnKeys?: string[];
12
14
  sort?: SortState;
13
15
  defaultSort?: SortState;
14
16
  filters?: Record<string, unknown>;
@@ -18,6 +20,8 @@ interface VueTableProps {
18
20
  striped?: boolean;
19
21
  hoverable?: boolean;
20
22
  loading?: boolean;
23
+ locale?: TigerLocaleInput;
24
+ labels?: Partial<TigerLocaleTable>;
21
25
  emptyText?: string;
22
26
  pagination?: PaginationConfig | false;
23
27
  rowSelection?: RowSelectionConfig;
@@ -29,6 +33,8 @@ interface VueTableProps {
29
33
  tableLayout?: 'auto' | 'fixed';
30
34
  responsiveMode?: TableResponsiveMode;
31
35
  cardBreakpoint?: TableCardBreakpoint;
36
+ cardClassName?: string | ((record: Record<string, unknown>, index: number) => string | undefined);
37
+ renderCard?: (context: TableCardRenderContext<Record<string, unknown>>) => unknown;
32
38
  virtual?: boolean;
33
39
  virtualHeight?: number;
34
40
  virtualItemHeight?: number;
@@ -64,6 +70,14 @@ declare const Table: vue.DefineComponent<vue.ExtractPropTypes<{
64
70
  readonly type: vue.PropType<Record<string, unknown>[]>;
65
71
  readonly default: () => never[];
66
72
  };
73
+ readonly hiddenColumnKeys: {
74
+ readonly type: vue.PropType<string[]>;
75
+ readonly default: undefined;
76
+ };
77
+ readonly defaultHiddenColumnKeys: {
78
+ readonly type: vue.PropType<string[]>;
79
+ readonly default: undefined;
80
+ };
67
81
  readonly sort: {
68
82
  readonly type: vue.PropType<_expcat_tigercat_core.SortState>;
69
83
  };
@@ -101,9 +115,15 @@ declare const Table: vue.DefineComponent<vue.ExtractPropTypes<{
101
115
  readonly type: BooleanConstructor;
102
116
  readonly default: false;
103
117
  };
118
+ readonly locale: {
119
+ readonly type: vue.PropType<TigerLocaleInput>;
120
+ };
121
+ readonly labels: {
122
+ readonly type: vue.PropType<Partial<_expcat_tigercat_core.TigerLocaleTable>>;
123
+ };
104
124
  readonly emptyText: {
105
125
  readonly type: StringConstructor;
106
- readonly default: "No data";
126
+ readonly default: undefined;
107
127
  };
108
128
  readonly pagination: {
109
129
  readonly type: vue.PropType<_expcat_tigercat_core.PaginationConfig | false>;
@@ -148,6 +168,12 @@ declare const Table: vue.DefineComponent<vue.ExtractPropTypes<{
148
168
  readonly type: vue.PropType<_expcat_tigercat_core.TableCardBreakpoint>;
149
169
  readonly default: _expcat_tigercat_core.TableCardBreakpoint;
150
170
  };
171
+ readonly cardClassName: {
172
+ readonly type: vue.PropType<string | ((record: Record<string, unknown>, index: number) => string | undefined)>;
173
+ };
174
+ readonly renderCard: {
175
+ readonly type: vue.PropType<(context: _expcat_tigercat_core.TableCardRenderContext<Record<string, unknown>>) => unknown>;
176
+ };
151
177
  readonly virtual: {
152
178
  readonly type: BooleanConstructor;
153
179
  readonly default: false;
@@ -231,6 +257,14 @@ declare const Table: vue.DefineComponent<vue.ExtractPropTypes<{
231
257
  readonly type: vue.PropType<Record<string, unknown>[]>;
232
258
  readonly default: () => never[];
233
259
  };
260
+ readonly hiddenColumnKeys: {
261
+ readonly type: vue.PropType<string[]>;
262
+ readonly default: undefined;
263
+ };
264
+ readonly defaultHiddenColumnKeys: {
265
+ readonly type: vue.PropType<string[]>;
266
+ readonly default: undefined;
267
+ };
234
268
  readonly sort: {
235
269
  readonly type: vue.PropType<_expcat_tigercat_core.SortState>;
236
270
  };
@@ -268,9 +302,15 @@ declare const Table: vue.DefineComponent<vue.ExtractPropTypes<{
268
302
  readonly type: BooleanConstructor;
269
303
  readonly default: false;
270
304
  };
305
+ readonly locale: {
306
+ readonly type: vue.PropType<TigerLocaleInput>;
307
+ };
308
+ readonly labels: {
309
+ readonly type: vue.PropType<Partial<_expcat_tigercat_core.TigerLocaleTable>>;
310
+ };
271
311
  readonly emptyText: {
272
312
  readonly type: StringConstructor;
273
- readonly default: "No data";
313
+ readonly default: undefined;
274
314
  };
275
315
  readonly pagination: {
276
316
  readonly type: vue.PropType<_expcat_tigercat_core.PaginationConfig | false>;
@@ -315,6 +355,12 @@ declare const Table: vue.DefineComponent<vue.ExtractPropTypes<{
315
355
  readonly type: vue.PropType<_expcat_tigercat_core.TableCardBreakpoint>;
316
356
  readonly default: _expcat_tigercat_core.TableCardBreakpoint;
317
357
  };
358
+ readonly cardClassName: {
359
+ readonly type: vue.PropType<string | ((record: Record<string, unknown>, index: number) => string | undefined)>;
360
+ };
361
+ readonly renderCard: {
362
+ readonly type: vue.PropType<(context: _expcat_tigercat_core.TableCardRenderContext<Record<string, unknown>>) => unknown>;
363
+ };
318
364
  readonly virtual: {
319
365
  readonly type: BooleanConstructor;
320
366
  readonly default: false;
@@ -386,21 +432,23 @@ declare const Table: vue.DefineComponent<vue.ExtractPropTypes<{
386
432
  }>> & Readonly<{
387
433
  [x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
388
434
  }>, {
435
+ readonly pagination: false | _expcat_tigercat_core.PaginationConfig;
436
+ readonly emptyText: string;
389
437
  readonly size: _expcat_tigercat_core.TableSize;
390
438
  readonly loading: boolean;
391
- readonly emptyText: string;
392
- readonly bordered: boolean;
393
- readonly hoverable: boolean;
394
- readonly pagination: false | _expcat_tigercat_core.PaginationConfig;
395
439
  readonly virtual: boolean;
396
440
  readonly dataSource: Record<string, unknown>[];
397
441
  readonly columnLockable: boolean;
442
+ readonly hiddenColumnKeys: string[];
443
+ readonly defaultHiddenColumnKeys: string[];
398
444
  readonly defaultSort: _expcat_tigercat_core.SortState;
399
445
  readonly defaultFilters: Record<string, unknown>;
446
+ readonly bordered: boolean;
400
447
  readonly striped: boolean;
448
+ readonly hoverable: boolean;
401
449
  readonly rowKey: string | ((record: Record<string, unknown>) => string | number);
402
450
  readonly stickyHeader: boolean;
403
- readonly tableLayout: "fixed" | "auto";
451
+ readonly tableLayout: "auto" | "fixed";
404
452
  readonly responsiveMode: _expcat_tigercat_core.TableResponsiveMode;
405
453
  readonly cardBreakpoint: _expcat_tigercat_core.TableCardBreakpoint;
406
454
  readonly autoVirtual: boolean;
@@ -1,9 +1,15 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunkRRI3F52Bjs = require('../chunk-RRI3F52B.js');
4
+ var _chunkOFTAQ2A4js = require('../chunk-OFTAQ2A4.js');
5
+ require('../chunk-BGMAWKWV.js');
6
+ require('../chunk-3QV2D54H.js');
7
+ require('../chunk-FC7RXQTM.js');
5
8
  require('../chunk-25EYT2CB.js');
9
+ require('../chunk-NOZ65AMO.js');
10
+ require('../chunk-2YFXJUBT.js');
11
+ require('../chunk-Q4MH333P.js');
6
12
 
7
13
 
8
14
 
9
- exports.Table = _chunkRRI3F52Bjs.Table; exports.default = _chunkRRI3F52Bjs.Table_default;
15
+ exports.Table = _chunkOFTAQ2A4js.Table; exports.default = _chunkOFTAQ2A4js.Table_default;
@@ -1,8 +1,14 @@
1
1
  import {
2
2
  Table,
3
3
  Table_default
4
- } from "../chunk-W54LFA7A.mjs";
4
+ } from "../chunk-CHDKJDZQ.mjs";
5
+ import "../chunk-PYT5DTQQ.mjs";
6
+ import "../chunk-YZP4K6KI.mjs";
7
+ import "../chunk-Y4V7BOVR.mjs";
5
8
  import "../chunk-VG6E4NX6.mjs";
9
+ import "../chunk-WFISP42H.mjs";
10
+ import "../chunk-2BNQGU7E.mjs";
11
+ import "../chunk-CPV7INZ4.mjs";
6
12
  export {
7
13
  Table,
8
14
  Table_default as default
@@ -186,10 +186,10 @@ declare const TabPane: vue.DefineComponent<vue.ExtractPropTypes<{
186
186
  className: string;
187
187
  style: Record<string, string | number>;
188
188
  disabled: boolean;
189
- closable: boolean;
190
189
  icon: string | VNode<vue.RendererNode, vue.RendererElement, {
191
190
  [key: string]: any;
192
191
  }>;
192
+ closable: boolean;
193
193
  tabIndex: number;
194
194
  renderMode: "tab" | "pane";
195
195
  tabId: string;
@@ -391,10 +391,10 @@ declare const Tabs: vue.DefineComponent<vue.ExtractPropTypes<{
391
391
  onEdit?: ((...args: any[]) => any) | undefined;
392
392
  "onTab-click"?: ((...args: any[]) => any) | undefined;
393
393
  }>, {
394
+ type: TabType;
394
395
  size: TabSize;
395
396
  className: string;
396
397
  style: Record<string, string | number>;
397
- type: TabType;
398
398
  closable: boolean;
399
399
  lazy: boolean;
400
400
  activeKey: string | number;
@@ -186,10 +186,10 @@ declare const TabPane: vue.DefineComponent<vue.ExtractPropTypes<{
186
186
  className: string;
187
187
  style: Record<string, string | number>;
188
188
  disabled: boolean;
189
- closable: boolean;
190
189
  icon: string | VNode<vue.RendererNode, vue.RendererElement, {
191
190
  [key: string]: any;
192
191
  }>;
192
+ closable: boolean;
193
193
  tabIndex: number;
194
194
  renderMode: "tab" | "pane";
195
195
  tabId: string;
@@ -391,10 +391,10 @@ declare const Tabs: vue.DefineComponent<vue.ExtractPropTypes<{
391
391
  onEdit?: ((...args: any[]) => any) | undefined;
392
392
  "onTab-click"?: ((...args: any[]) => any) | undefined;
393
393
  }>, {
394
+ type: TabType;
394
395
  size: TabSize;
395
396
  className: string;
396
397
  style: Record<string, string | number>;
397
- type: TabType;
398
398
  closable: boolean;
399
399
  lazy: boolean;
400
400
  activeKey: string | number;
@@ -109,12 +109,12 @@ declare const Tag: vue.DefineComponent<vue.ExtractPropTypes<{
109
109
  }>> & Readonly<{
110
110
  onClose?: ((...args: any[]) => any) | undefined;
111
111
  }>, {
112
+ closeAriaLabel: string;
112
113
  size: TagSize;
113
114
  className: string;
114
115
  style: Record<string, string | number>;
115
116
  variant: TagVariant;
116
117
  closable: boolean;
117
- closeAriaLabel: string;
118
118
  }, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
119
119
 
120
120
  export { Tag, type VueTagProps, Tag as default };
@@ -109,12 +109,12 @@ declare const Tag: vue.DefineComponent<vue.ExtractPropTypes<{
109
109
  }>> & Readonly<{
110
110
  onClose?: ((...args: any[]) => any) | undefined;
111
111
  }>, {
112
+ closeAriaLabel: string;
112
113
  size: TagSize;
113
114
  className: string;
114
115
  style: Record<string, string | number>;
115
116
  variant: TagVariant;
116
117
  closable: boolean;
117
- closeAriaLabel: string;
118
118
  }, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
119
119
 
120
120
  export { Tag, type VueTagProps, Tag as default };
@@ -168,10 +168,10 @@ declare const TaskBoard: vue.DefineComponent<vue.ExtractPropTypes<{
168
168
  "onColumn-add"?: ((...args: any[]) => any) | undefined;
169
169
  "onUpdate:columns"?: ((...args: any[]) => any) | undefined;
170
170
  }>, {
171
- className: string;
172
- style: Record<string, string | number>;
173
171
  locale: Partial<TigerLocale>;
174
172
  labels: Partial<TigerLocaleTaskBoard>;
173
+ className: string;
174
+ style: Record<string, string | number>;
175
175
  columns: TaskBoardColumn[];
176
176
  columnDraggable: boolean;
177
177
  draggable: boolean;
@@ -168,10 +168,10 @@ declare const TaskBoard: vue.DefineComponent<vue.ExtractPropTypes<{
168
168
  "onColumn-add"?: ((...args: any[]) => any) | undefined;
169
169
  "onUpdate:columns"?: ((...args: any[]) => any) | undefined;
170
170
  }>, {
171
- className: string;
172
- style: Record<string, string | number>;
173
171
  locale: Partial<TigerLocale>;
174
172
  labels: Partial<TigerLocaleTaskBoard>;
173
+ className: string;
174
+ style: Record<string, string | number>;
175
175
  columns: TaskBoardColumn[];
176
176
  columnDraggable: boolean;
177
177
  draggable: boolean;
@@ -149,12 +149,12 @@ declare const Text: vue.DefineComponent<vue.ExtractPropTypes<{
149
149
  };
150
150
  }>> & Readonly<{}>, {
151
151
  size: TextSize;
152
- tag: TextTag;
153
- weight: TextWeight;
154
152
  color: TextColor;
155
- truncate: boolean;
156
153
  italic: boolean;
154
+ weight: TextWeight;
157
155
  underline: boolean;
156
+ tag: TextTag;
157
+ truncate: boolean;
158
158
  lineThrough: boolean;
159
159
  }, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
160
160
 
@@ -149,12 +149,12 @@ declare const Text: vue.DefineComponent<vue.ExtractPropTypes<{
149
149
  };
150
150
  }>> & Readonly<{}>, {
151
151
  size: TextSize;
152
- tag: TextTag;
153
- weight: TextWeight;
154
152
  color: TextColor;
155
- truncate: boolean;
156
153
  italic: boolean;
154
+ weight: TextWeight;
157
155
  underline: boolean;
156
+ tag: TextTag;
157
+ truncate: boolean;
158
158
  lineThrough: boolean;
159
159
  }, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
160
160
 
@@ -288,10 +288,10 @@ declare const Textarea: vue.DefineComponent<vue.ExtractPropTypes<{
288
288
  type: PropType<Record<string, string | number>>;
289
289
  };
290
290
  }>> & Readonly<{
291
+ onInput?: ((...args: any[]) => any) | undefined;
291
292
  onBlur?: ((...args: any[]) => any) | undefined;
292
293
  onChange?: ((...args: any[]) => any) | undefined;
293
294
  onFocus?: ((...args: any[]) => any) | undefined;
294
- onInput?: ((...args: any[]) => any) | undefined;
295
295
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
296
296
  }>, {
297
297
  size: TextareaSize;
@@ -288,10 +288,10 @@ declare const Textarea: vue.DefineComponent<vue.ExtractPropTypes<{
288
288
  type: PropType<Record<string, string | number>>;
289
289
  };
290
290
  }>> & Readonly<{
291
+ onInput?: ((...args: any[]) => any) | undefined;
291
292
  onBlur?: ((...args: any[]) => any) | undefined;
292
293
  onChange?: ((...args: any[]) => any) | undefined;
293
294
  onFocus?: ((...args: any[]) => any) | undefined;
294
- onInput?: ((...args: any[]) => any) | undefined;
295
295
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
296
296
  }>, {
297
297
  size: TextareaSize;
@@ -344,16 +344,16 @@ declare const TimePicker: vue.DefineComponent<vue.ExtractPropTypes<{
344
344
  default: undefined;
345
345
  };
346
346
  }>> & Readonly<{
347
- onClear?: (() => any) | undefined;
348
347
  onChange?: ((value: TimePickerModelValue) => any) | undefined;
348
+ onClear?: (() => any) | undefined;
349
349
  "onUpdate:modelValue"?: ((value: TimePickerModelValue) => any) | undefined;
350
350
  }>, {
351
+ locale: string;
352
+ labels: Partial<TimePickerLabels>;
351
353
  size: TimePickerSize;
352
354
  className: string;
353
355
  style: Record<string, string | number>;
354
356
  disabled: boolean;
355
- locale: string;
356
- labels: Partial<TimePickerLabels>;
357
357
  range: boolean;
358
358
  modelValue: string | [string | null, string | null] | null;
359
359
  placeholder: string;
@@ -344,16 +344,16 @@ declare const TimePicker: vue.DefineComponent<vue.ExtractPropTypes<{
344
344
  default: undefined;
345
345
  };
346
346
  }>> & Readonly<{
347
- onClear?: (() => any) | undefined;
348
347
  onChange?: ((value: TimePickerModelValue) => any) | undefined;
348
+ onClear?: (() => any) | undefined;
349
349
  "onUpdate:modelValue"?: ((value: TimePickerModelValue) => any) | undefined;
350
350
  }>, {
351
+ locale: string;
352
+ labels: Partial<TimePickerLabels>;
351
353
  size: TimePickerSize;
352
354
  className: string;
353
355
  style: Record<string, string | number>;
354
356
  disabled: boolean;
355
- locale: string;
356
- labels: Partial<TimePickerLabels>;
357
357
  range: boolean;
358
358
  modelValue: string | [string | null, string | null] | null;
359
359
  placeholder: string;
@@ -102,11 +102,11 @@ declare const Timeline: vue.DefineComponent<vue.ExtractPropTypes<{
102
102
  default: undefined;
103
103
  };
104
104
  }>> & Readonly<{}>, {
105
- items: TimelineItem[];
106
- className: string;
107
- style: Record<string, unknown>;
108
105
  reverse: boolean;
106
+ className: string;
109
107
  mode: TimelineMode;
108
+ style: Record<string, unknown>;
109
+ items: TimelineItem[];
110
110
  pending: boolean;
111
111
  pendingDot: null;
112
112
  }, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
@@ -102,11 +102,11 @@ declare const Timeline: vue.DefineComponent<vue.ExtractPropTypes<{
102
102
  default: undefined;
103
103
  };
104
104
  }>> & Readonly<{}>, {
105
- items: TimelineItem[];
106
- className: string;
107
- style: Record<string, unknown>;
108
105
  reverse: boolean;
106
+ className: string;
109
107
  mode: TimelineMode;
108
+ style: Record<string, unknown>;
109
+ items: TimelineItem[];
110
110
  pending: boolean;
111
111
  pendingDot: null;
112
112
  }, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
@@ -104,9 +104,9 @@ declare const Tooltip: vue.DefineComponent<vue.ExtractPropTypes<{
104
104
  }>, {
105
105
  className: string;
106
106
  style: StyleValue;
107
- content: string;
108
107
  disabled: boolean;
109
108
  open: boolean;
109
+ content: string;
110
110
  offset: number;
111
111
  placement: FloatingPlacement;
112
112
  trigger: TooltipTrigger;
@@ -104,9 +104,9 @@ declare const Tooltip: vue.DefineComponent<vue.ExtractPropTypes<{
104
104
  }>, {
105
105
  className: string;
106
106
  style: StyleValue;
107
- content: string;
108
107
  disabled: boolean;
109
108
  open: boolean;
109
+ content: string;
110
110
  offset: number;
111
111
  placement: FloatingPlacement;
112
112
  trigger: TooltipTrigger;
@@ -1,10 +1,10 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunk3EVCDIZEjs = require('../chunk-3EVCDIZE.js');
5
- require('../chunk-S3KTGULC.js');
4
+ var _chunkKGDRA475js = require('../chunk-KGDRA475.js');
5
+ require('../chunk-QOMWROWE.js');
6
6
  require('../chunk-EQW6IUHG.js');
7
7
 
8
8
 
9
9
 
10
- exports.Tooltip = _chunk3EVCDIZEjs.Tooltip; exports.default = _chunk3EVCDIZEjs.Tooltip_default;
10
+ exports.Tooltip = _chunkKGDRA475js.Tooltip; exports.default = _chunkKGDRA475js.Tooltip_default;