@expcat/tigercat-vue 0.4.0 → 0.4.3

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 (161) hide show
  1. package/dist/{chunk-ZTJTIQZY.mjs → chunk-BS52UCMT.mjs} +139 -6
  2. package/dist/{chunk-ND4XDRYR.mjs → chunk-CWDBL5YC.mjs} +1 -1
  3. package/dist/{chunk-KUJ75OHX.js → chunk-ESALMEHU.js} +10 -9
  4. package/dist/{chunk-KVZLGW45.js → chunk-ETTYERGO.js} +14 -5
  5. package/dist/{chunk-YZK2HXRT.js → chunk-HBZHIEDV.js} +2 -2
  6. package/dist/chunk-HK2TAPQX.js +334 -0
  7. package/dist/chunk-LW3LFCRZ.mjs +331 -0
  8. package/dist/{chunk-3PQIZBT5.js → chunk-NUFSJMVC.js} +138 -5
  9. package/dist/{chunk-7FCHU5KV.mjs → chunk-TTDBR2B4.mjs} +11 -10
  10. package/dist/{chunk-RKPYLBPU.mjs → chunk-WM4ESIHG.mjs} +15 -6
  11. package/dist/components/ActivityFeed.d.mts +1 -1
  12. package/dist/components/ActivityFeed.d.ts +1 -1
  13. package/dist/components/ActivityFeed.js +4 -4
  14. package/dist/components/ActivityFeed.mjs +2 -2
  15. package/dist/components/Alert.d.mts +1 -1
  16. package/dist/components/Alert.d.ts +1 -1
  17. package/dist/components/Anchor.d.mts +5 -5
  18. package/dist/components/Anchor.d.ts +5 -5
  19. package/dist/components/AnchorLink.d.mts +1 -1
  20. package/dist/components/AnchorLink.d.ts +1 -1
  21. package/dist/components/Avatar.d.mts +2 -2
  22. package/dist/components/Avatar.d.ts +2 -2
  23. package/dist/components/BackTop.d.mts +1 -1
  24. package/dist/components/BackTop.d.ts +1 -1
  25. package/dist/components/Badge.d.mts +1 -1
  26. package/dist/components/Badge.d.ts +1 -1
  27. package/dist/components/Breadcrumb.d.mts +1 -1
  28. package/dist/components/Breadcrumb.d.ts +1 -1
  29. package/dist/components/BreadcrumbItem.d.mts +1 -1
  30. package/dist/components/BreadcrumbItem.d.ts +1 -1
  31. package/dist/components/Button.d.mts +2 -2
  32. package/dist/components/Button.d.ts +2 -2
  33. package/dist/components/Card.d.mts +1 -1
  34. package/dist/components/Card.d.ts +1 -1
  35. package/dist/components/Carousel.d.mts +2 -2
  36. package/dist/components/Carousel.d.ts +2 -2
  37. package/dist/components/ChartAxis.d.mts +1 -1
  38. package/dist/components/ChartAxis.d.ts +1 -1
  39. package/dist/components/ChartGrid.d.mts +2 -2
  40. package/dist/components/ChartGrid.d.ts +2 -2
  41. package/dist/components/ChartTooltip.d.mts +1 -1
  42. package/dist/components/ChartTooltip.d.ts +1 -1
  43. package/dist/components/ChatWindow.d.mts +1 -1
  44. package/dist/components/ChatWindow.d.ts +1 -1
  45. package/dist/components/Code.d.mts +1 -1
  46. package/dist/components/Code.d.ts +1 -1
  47. package/dist/components/Collapse.d.mts +3 -3
  48. package/dist/components/Collapse.d.ts +3 -3
  49. package/dist/components/CollapsePanel.d.mts +2 -2
  50. package/dist/components/CollapsePanel.d.ts +2 -2
  51. package/dist/components/CommentThread.d.mts +3 -3
  52. package/dist/components/CommentThread.d.ts +3 -3
  53. package/dist/components/Content.d.mts +1 -1
  54. package/dist/components/Content.d.ts +1 -1
  55. package/dist/components/CropUpload.d.mts +1 -1
  56. package/dist/components/CropUpload.d.ts +1 -1
  57. package/dist/components/DataTableWithToolbar.d.mts +3 -3
  58. package/dist/components/DataTableWithToolbar.d.ts +3 -3
  59. package/dist/components/DataTableWithToolbar.js +4 -4
  60. package/dist/components/DataTableWithToolbar.mjs +2 -2
  61. package/dist/components/DatePicker.d.mts +1 -1
  62. package/dist/components/DatePicker.d.ts +1 -1
  63. package/dist/components/Descriptions.d.mts +1 -1
  64. package/dist/components/Descriptions.d.ts +1 -1
  65. package/dist/components/Drawer.d.mts +3 -3
  66. package/dist/components/Drawer.d.ts +3 -3
  67. package/dist/components/Dropdown.d.mts +1 -1
  68. package/dist/components/Dropdown.d.ts +1 -1
  69. package/dist/components/DropdownItem.d.mts +1 -1
  70. package/dist/components/DropdownItem.d.ts +1 -1
  71. package/dist/components/DropdownMenu.d.mts +1 -1
  72. package/dist/components/DropdownMenu.d.ts +1 -1
  73. package/dist/components/Footer.d.mts +1 -1
  74. package/dist/components/Footer.d.ts +1 -1
  75. package/dist/components/FormWizard.d.mts +3 -3
  76. package/dist/components/FormWizard.d.ts +3 -3
  77. package/dist/components/Header.d.mts +1 -1
  78. package/dist/components/Header.d.ts +1 -1
  79. package/dist/components/Image.d.mts +1 -1
  80. package/dist/components/Image.d.ts +1 -1
  81. package/dist/components/ImageCropper.d.mts +1 -1
  82. package/dist/components/ImageCropper.d.ts +1 -1
  83. package/dist/components/Input.d.mts +1 -1
  84. package/dist/components/Input.d.ts +1 -1
  85. package/dist/components/InputNumber.d.mts +170 -0
  86. package/dist/components/InputNumber.d.ts +170 -0
  87. package/dist/components/InputNumber.js +17 -0
  88. package/dist/components/InputNumber.mjs +2 -0
  89. package/dist/components/Layout.d.mts +1 -1
  90. package/dist/components/Layout.d.ts +1 -1
  91. package/dist/components/List.d.mts +2 -2
  92. package/dist/components/List.d.ts +2 -2
  93. package/dist/components/Loading.d.mts +2 -2
  94. package/dist/components/Loading.d.ts +2 -2
  95. package/dist/components/Menu.d.mts +1 -1
  96. package/dist/components/Menu.d.ts +1 -1
  97. package/dist/components/MenuItem.d.mts +1 -1
  98. package/dist/components/MenuItem.d.ts +1 -1
  99. package/dist/components/MenuItemGroup.d.mts +1 -1
  100. package/dist/components/MenuItemGroup.d.ts +1 -1
  101. package/dist/components/Modal.d.mts +3 -3
  102. package/dist/components/Modal.d.ts +3 -3
  103. package/dist/components/NotificationCenter.d.mts +1 -1
  104. package/dist/components/NotificationCenter.d.ts +1 -1
  105. package/dist/components/Pagination.d.mts +2 -2
  106. package/dist/components/Pagination.d.ts +2 -2
  107. package/dist/components/Popconfirm.d.mts +1 -1
  108. package/dist/components/Popconfirm.d.ts +1 -1
  109. package/dist/components/Popover.d.mts +3 -3
  110. package/dist/components/Popover.d.ts +3 -3
  111. package/dist/components/Progress.d.mts +4 -4
  112. package/dist/components/Progress.d.ts +4 -4
  113. package/dist/components/Select.d.mts +1 -1
  114. package/dist/components/Select.d.ts +1 -1
  115. package/dist/components/Sidebar.d.mts +21 -1
  116. package/dist/components/Sidebar.d.ts +21 -1
  117. package/dist/components/Sidebar.js +3 -3
  118. package/dist/components/Sidebar.mjs +1 -1
  119. package/dist/components/Skeleton.d.mts +1 -1
  120. package/dist/components/Skeleton.d.ts +1 -1
  121. package/dist/components/Slider.d.mts +1 -1
  122. package/dist/components/Slider.d.ts +1 -1
  123. package/dist/components/Space.d.mts +1 -1
  124. package/dist/components/Space.d.ts +1 -1
  125. package/dist/components/Steps.d.mts +2 -2
  126. package/dist/components/Steps.d.ts +2 -2
  127. package/dist/components/StepsItem.d.mts +1 -1
  128. package/dist/components/StepsItem.d.ts +1 -1
  129. package/dist/components/SubMenu.d.mts +1 -1
  130. package/dist/components/SubMenu.d.ts +1 -1
  131. package/dist/components/SubMenu.js +3 -3
  132. package/dist/components/SubMenu.mjs +1 -1
  133. package/dist/components/TabPane.d.mts +1 -1
  134. package/dist/components/TabPane.d.ts +1 -1
  135. package/dist/components/Table.d.mts +16 -2
  136. package/dist/components/Table.d.ts +16 -2
  137. package/dist/components/Table.js +3 -3
  138. package/dist/components/Table.mjs +1 -1
  139. package/dist/components/Tabs.d.mts +1 -1
  140. package/dist/components/Tabs.d.ts +1 -1
  141. package/dist/components/Tag.d.mts +1 -1
  142. package/dist/components/Tag.d.ts +1 -1
  143. package/dist/components/TaskBoard.d.mts +2 -2
  144. package/dist/components/TaskBoard.d.ts +2 -2
  145. package/dist/components/Textarea.d.mts +1 -1
  146. package/dist/components/Textarea.d.ts +1 -1
  147. package/dist/components/TimePicker.d.mts +2 -2
  148. package/dist/components/TimePicker.d.ts +2 -2
  149. package/dist/components/Timeline.d.mts +2 -2
  150. package/dist/components/Timeline.d.ts +2 -2
  151. package/dist/components/Tooltip.d.mts +1 -1
  152. package/dist/components/Tooltip.d.ts +1 -1
  153. package/dist/components/Upload.d.mts +3 -3
  154. package/dist/components/Upload.d.ts +3 -3
  155. package/dist/index.d.mts +1 -0
  156. package/dist/index.d.ts +1 -0
  157. package/dist/index.js +45 -40
  158. package/dist/index.mjs +12 -11
  159. package/package.json +2 -2
  160. package/dist/{chunk-NGW5UMAN.js → chunk-EBTLMVDJ.js} +1 -1
  161. package/dist/{chunk-D7VMY6WX.mjs → chunk-RVEEEDJQ.mjs} +1 -1
@@ -1,6 +1,6 @@
1
1
  import * as vue from 'vue';
2
2
  import { PropType } from 'vue';
3
- import { TableColumn, SortState, TableSize, PaginationConfig, RowSelectionConfig } from '@expcat/tigercat-core';
3
+ import { TableColumn, SortState, TableSize, PaginationConfig, RowSelectionConfig, ExpandableConfig } from '@expcat/tigercat-core';
4
4
 
5
5
  interface VueTableProps {
6
6
  columns: TableColumn[];
@@ -18,6 +18,7 @@ interface VueTableProps {
18
18
  emptyText?: string;
19
19
  pagination?: PaginationConfig | false;
20
20
  rowSelection?: RowSelectionConfig;
21
+ expandable?: ExpandableConfig;
21
22
  rowKey?: string | ((record: Record<string, unknown>) => string | number);
22
23
  rowClassName?: string | ((record: Record<string, unknown>, index: number) => string);
23
24
  stickyHeader?: boolean;
@@ -136,6 +137,12 @@ declare const Table: vue.DefineComponent<vue.ExtractPropTypes<{
136
137
  rowSelection: {
137
138
  type: PropType<RowSelectionConfig>;
138
139
  };
140
+ /**
141
+ * Row expansion configuration
142
+ */
143
+ expandable: {
144
+ type: PropType<ExpandableConfig>;
145
+ };
139
146
  /**
140
147
  * Function to get row key
141
148
  */
@@ -171,7 +178,7 @@ declare const Table: vue.DefineComponent<vue.ExtractPropTypes<{
171
178
  };
172
179
  }>, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
173
180
  [key: string]: any;
174
- }>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, ("change" | "row-click" | "selection-change" | "sort-change" | "filter-change" | "page-change")[], "change" | "row-click" | "selection-change" | "sort-change" | "filter-change" | "page-change", vue.PublicProps, Readonly<vue.ExtractPropTypes<{
181
+ }>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, ("change" | "row-click" | "selection-change" | "sort-change" | "filter-change" | "page-change" | "expand-change")[], "change" | "row-click" | "selection-change" | "sort-change" | "filter-change" | "page-change" | "expand-change", vue.PublicProps, Readonly<vue.ExtractPropTypes<{
175
182
  /**
176
183
  * Table columns configuration
177
184
  */
@@ -284,6 +291,12 @@ declare const Table: vue.DefineComponent<vue.ExtractPropTypes<{
284
291
  rowSelection: {
285
292
  type: PropType<RowSelectionConfig>;
286
293
  };
294
+ /**
295
+ * Row expansion configuration
296
+ */
297
+ expandable: {
298
+ type: PropType<ExpandableConfig>;
299
+ };
287
300
  /**
288
301
  * Function to get row key
289
302
  */
@@ -324,6 +337,7 @@ declare const Table: vue.DefineComponent<vue.ExtractPropTypes<{
324
337
  "onSort-change"?: ((...args: any[]) => any) | undefined;
325
338
  "onFilter-change"?: ((...args: any[]) => any) | undefined;
326
339
  "onPage-change"?: ((...args: any[]) => any) | undefined;
340
+ "onExpand-change"?: ((...args: any[]) => any) | undefined;
327
341
  }>, {
328
342
  pagination: false | PaginationConfig;
329
343
  size: TableSize;
@@ -2,16 +2,16 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var chunk3PQIZBT5_js = require('../chunk-3PQIZBT5.js');
5
+ var chunkNUFSJMVC_js = require('../chunk-NUFSJMVC.js');
6
6
  require('../chunk-PNKVD2UK.js');
7
7
 
8
8
 
9
9
 
10
10
  Object.defineProperty(exports, "Table", {
11
11
  enumerable: true,
12
- get: function () { return chunk3PQIZBT5_js.Table; }
12
+ get: function () { return chunkNUFSJMVC_js.Table; }
13
13
  });
14
14
  Object.defineProperty(exports, "default", {
15
15
  enumerable: true,
16
- get: function () { return chunk3PQIZBT5_js.Table_default; }
16
+ get: function () { return chunkNUFSJMVC_js.Table_default; }
17
17
  });
@@ -1,2 +1,2 @@
1
- export { Table, Table_default as default } from '../chunk-ZTJTIQZY.mjs';
1
+ export { Table, Table_default as default } from '../chunk-BS52UCMT.mjs';
2
2
  import '../chunk-53M2BTB5.mjs';
@@ -189,9 +189,9 @@ declare const Tabs: vue.DefineComponent<vue.ExtractPropTypes<{
189
189
  "onTab-click"?: ((...args: any[]) => any) | undefined;
190
190
  }>, {
191
191
  type: TabType;
192
- className: string;
193
192
  style: Record<string, string | number>;
194
193
  size: TabSize;
194
+ className: string;
195
195
  closable: boolean;
196
196
  activeKey: string | number;
197
197
  defaultActiveKey: string | number;
@@ -189,9 +189,9 @@ declare const Tabs: vue.DefineComponent<vue.ExtractPropTypes<{
189
189
  "onTab-click"?: ((...args: any[]) => any) | undefined;
190
190
  }>, {
191
191
  type: TabType;
192
- className: string;
193
192
  style: Record<string, string | number>;
194
193
  size: TabSize;
194
+ className: string;
195
195
  closable: boolean;
196
196
  activeKey: string | number;
197
197
  defaultActiveKey: string | number;
@@ -109,10 +109,10 @@ declare const Tag: vue.DefineComponent<vue.ExtractPropTypes<{
109
109
  }>> & Readonly<{
110
110
  onClose?: ((...args: any[]) => any) | undefined;
111
111
  }>, {
112
- className: string;
113
112
  style: Record<string, string | number>;
114
113
  size: TagSize;
115
114
  variant: TagVariant;
115
+ className: string;
116
116
  closable: boolean;
117
117
  closeAriaLabel: string;
118
118
  }, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
@@ -109,10 +109,10 @@ declare const Tag: vue.DefineComponent<vue.ExtractPropTypes<{
109
109
  }>> & Readonly<{
110
110
  onClose?: ((...args: any[]) => any) | undefined;
111
111
  }>, {
112
- className: string;
113
112
  style: Record<string, string | number>;
114
113
  size: TagSize;
115
114
  variant: TagVariant;
115
+ className: string;
116
116
  closable: boolean;
117
117
  closeAriaLabel: string;
118
118
  }, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
@@ -113,9 +113,9 @@ declare const TaskBoard: vue.DefineComponent<vue.ExtractPropTypes<{
113
113
  "onCard-add"?: ((...args: any[]) => any) | undefined;
114
114
  "onUpdate:columns"?: ((...args: any[]) => any) | undefined;
115
115
  }>, {
116
- className: string;
117
- style: Record<string, string | number>;
118
116
  locale: Partial<TigerLocale>;
117
+ style: Record<string, string | number>;
118
+ className: string;
119
119
  columns: TaskBoardColumn[];
120
120
  draggable: boolean;
121
121
  defaultColumns: TaskBoardColumn[];
@@ -113,9 +113,9 @@ declare const TaskBoard: vue.DefineComponent<vue.ExtractPropTypes<{
113
113
  "onCard-add"?: ((...args: any[]) => any) | undefined;
114
114
  "onUpdate:columns"?: ((...args: any[]) => any) | undefined;
115
115
  }>, {
116
- className: string;
117
- style: Record<string, string | number>;
118
116
  locale: Partial<TigerLocale>;
117
+ style: Record<string, string | number>;
118
+ className: string;
119
119
  columns: TaskBoardColumn[];
120
120
  draggable: boolean;
121
121
  defaultColumns: TaskBoardColumn[];
@@ -288,9 +288,9 @@ declare const Textarea: vue.DefineComponent<vue.ExtractPropTypes<{
288
288
  type: PropType<Record<string, string | number>>;
289
289
  };
290
290
  }>> & Readonly<{
291
- onChange?: ((...args: any[]) => any) | undefined;
292
291
  onInput?: ((...args: any[]) => any) | undefined;
293
292
  onBlur?: ((...args: any[]) => any) | undefined;
293
+ onChange?: ((...args: any[]) => any) | undefined;
294
294
  onFocus?: ((...args: any[]) => any) | undefined;
295
295
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
296
296
  }>, {
@@ -288,9 +288,9 @@ declare const Textarea: vue.DefineComponent<vue.ExtractPropTypes<{
288
288
  type: PropType<Record<string, string | number>>;
289
289
  };
290
290
  }>> & Readonly<{
291
- onChange?: ((...args: any[]) => any) | undefined;
292
291
  onInput?: ((...args: any[]) => any) | undefined;
293
292
  onBlur?: ((...args: any[]) => any) | undefined;
293
+ onChange?: ((...args: any[]) => any) | undefined;
294
294
  onFocus?: ((...args: any[]) => any) | undefined;
295
295
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
296
296
  }>, {
@@ -348,11 +348,11 @@ declare const TimePicker: vue.DefineComponent<vue.ExtractPropTypes<{
348
348
  onClear?: (() => any) | undefined;
349
349
  "onUpdate:modelValue"?: ((value: TimePickerModelValue) => any) | undefined;
350
350
  }>, {
351
- className: string;
352
- style: Record<string, string | number>;
353
351
  locale: string;
352
+ style: Record<string, string | number>;
354
353
  size: TimePickerSize;
355
354
  disabled: boolean;
355
+ className: string;
356
356
  range: boolean;
357
357
  modelValue: string | [string | null, string | null] | null;
358
358
  placeholder: string;
@@ -348,11 +348,11 @@ declare const TimePicker: vue.DefineComponent<vue.ExtractPropTypes<{
348
348
  onClear?: (() => any) | undefined;
349
349
  "onUpdate:modelValue"?: ((value: TimePickerModelValue) => any) | undefined;
350
350
  }>, {
351
- className: string;
352
- style: Record<string, string | number>;
353
351
  locale: string;
352
+ style: Record<string, string | number>;
354
353
  size: TimePickerSize;
355
354
  disabled: boolean;
355
+ className: string;
356
356
  range: boolean;
357
357
  modelValue: string | [string | null, string | null] | null;
358
358
  placeholder: string;
@@ -102,9 +102,9 @@ declare const Timeline: vue.DefineComponent<vue.ExtractPropTypes<{
102
102
  default: undefined;
103
103
  };
104
104
  }>> & Readonly<{}>, {
105
- className: string;
106
- style: Record<string, unknown>;
107
105
  reverse: boolean;
106
+ style: Record<string, unknown>;
107
+ className: string;
108
108
  mode: TimelineMode;
109
109
  items: TimelineItem[];
110
110
  pending: boolean;
@@ -102,9 +102,9 @@ declare const Timeline: vue.DefineComponent<vue.ExtractPropTypes<{
102
102
  default: undefined;
103
103
  };
104
104
  }>> & Readonly<{}>, {
105
- className: string;
106
- style: Record<string, unknown>;
107
105
  reverse: boolean;
106
+ style: Record<string, unknown>;
107
+ className: string;
108
108
  mode: TimelineMode;
109
109
  items: TimelineItem[];
110
110
  pending: boolean;
@@ -102,9 +102,9 @@ declare const Tooltip: vue.DefineComponent<vue.ExtractPropTypes<{
102
102
  "onUpdate:visible"?: ((...args: any[]) => any) | undefined;
103
103
  "onVisible-change"?: ((...args: any[]) => any) | undefined;
104
104
  }>, {
105
- className: string;
106
105
  style: StyleValue;
107
106
  disabled: boolean;
107
+ className: string;
108
108
  offset: number;
109
109
  visible: boolean;
110
110
  content: string;
@@ -102,9 +102,9 @@ declare const Tooltip: vue.DefineComponent<vue.ExtractPropTypes<{
102
102
  "onUpdate:visible"?: ((...args: any[]) => any) | undefined;
103
103
  "onVisible-change"?: ((...args: any[]) => any) | undefined;
104
104
  }>, {
105
- className: string;
106
105
  style: StyleValue;
107
106
  disabled: boolean;
107
+ className: string;
108
108
  offset: number;
109
109
  visible: boolean;
110
110
  content: string;
@@ -286,8 +286,8 @@ declare const Upload: vue.DefineComponent<vue.ExtractPropTypes<{
286
286
  default: undefined;
287
287
  };
288
288
  }>> & Readonly<{
289
- onChange?: ((_file: UploadFile, _fileList: UploadFile[]) => any) | undefined;
290
289
  onProgress?: ((progress: number, _file: UploadFile) => any) | undefined;
290
+ onChange?: ((_file: UploadFile, _fileList: UploadFile[]) => any) | undefined;
291
291
  onError?: ((error: Error, _file: UploadFile) => any) | undefined;
292
292
  onSuccess?: ((_response: unknown, _file: UploadFile) => any) | undefined;
293
293
  "onUpdate:file-list"?: ((files: UploadFile[]) => any) | undefined;
@@ -295,11 +295,11 @@ declare const Upload: vue.DefineComponent<vue.ExtractPropTypes<{
295
295
  onPreview?: ((_file: UploadFile) => any) | undefined;
296
296
  onExceed?: ((files: File[], fileList: UploadFile[]) => any) | undefined;
297
297
  }>, {
298
- className: string;
298
+ locale: Partial<TigerLocale>;
299
299
  style: Record<string, string | number>;
300
300
  drag: boolean;
301
- locale: Partial<TigerLocale>;
302
301
  disabled: boolean;
302
+ className: string;
303
303
  multiple: boolean;
304
304
  labels: Partial<UploadLabels>;
305
305
  listType: UploadListType;
@@ -286,8 +286,8 @@ declare const Upload: vue.DefineComponent<vue.ExtractPropTypes<{
286
286
  default: undefined;
287
287
  };
288
288
  }>> & Readonly<{
289
- onChange?: ((_file: UploadFile, _fileList: UploadFile[]) => any) | undefined;
290
289
  onProgress?: ((progress: number, _file: UploadFile) => any) | undefined;
290
+ onChange?: ((_file: UploadFile, _fileList: UploadFile[]) => any) | undefined;
291
291
  onError?: ((error: Error, _file: UploadFile) => any) | undefined;
292
292
  onSuccess?: ((_response: unknown, _file: UploadFile) => any) | undefined;
293
293
  "onUpdate:file-list"?: ((files: UploadFile[]) => any) | undefined;
@@ -295,11 +295,11 @@ declare const Upload: vue.DefineComponent<vue.ExtractPropTypes<{
295
295
  onPreview?: ((_file: UploadFile) => any) | undefined;
296
296
  onExceed?: ((files: File[], fileList: UploadFile[]) => any) | undefined;
297
297
  }>, {
298
- className: string;
298
+ locale: Partial<TigerLocale>;
299
299
  style: Record<string, string | number>;
300
300
  drag: boolean;
301
- locale: Partial<TigerLocale>;
302
301
  disabled: boolean;
302
+ className: string;
303
303
  multiple: boolean;
304
304
  labels: Partial<UploadLabels>;
305
305
  listType: UploadListType;
package/dist/index.d.mts CHANGED
@@ -12,6 +12,7 @@ export { default as Radio, VueRadioProps } from './components/Radio.mjs';
12
12
  export { default as RadioGroup, VueRadioGroupProps } from './components/RadioGroup.mjs';
13
13
  export { default as Textarea, VueTextareaProps } from './components/Textarea.mjs';
14
14
  export { default as Input, VueInputProps } from './components/Input.mjs';
15
+ export { default as InputNumber, VueInputNumberProps } from './components/InputNumber.mjs';
15
16
  export { default as Form } from './components/Form.mjs';
16
17
  export { default as FormItem } from './components/FormItem.mjs';
17
18
  export { default as Space, VueSpaceProps } from './components/Space.mjs';
package/dist/index.d.ts CHANGED
@@ -12,6 +12,7 @@ export { default as Radio, VueRadioProps } from './components/Radio.js';
12
12
  export { default as RadioGroup, VueRadioGroupProps } from './components/RadioGroup.js';
13
13
  export { default as Textarea, VueTextareaProps } from './components/Textarea.js';
14
14
  export { default as Input, VueInputProps } from './components/Input.js';
15
+ export { default as InputNumber, VueInputNumberProps } from './components/InputNumber.js';
15
16
  export { default as Form } from './components/Form.js';
16
17
  export { default as FormItem } from './components/FormItem.js';
17
18
  export { default as Space, VueSpaceProps } from './components/Space.js';
package/dist/index.js CHANGED
@@ -1,17 +1,20 @@
1
1
  'use strict';
2
2
 
3
+ var chunkB6ER2B2D_js = require('./chunk-B6ER2B2D.js');
3
4
  var chunkYQGKXFV5_js = require('./chunk-YQGKXFV5.js');
4
5
  var chunkUWVUDZVA_js = require('./chunk-UWVUDZVA.js');
5
6
  var chunkTQOMX62N_js = require('./chunk-TQOMX62N.js');
6
7
  var chunkXEU42TLP_js = require('./chunk-XEU42TLP.js');
7
- var chunkB6ER2B2D_js = require('./chunk-B6ER2B2D.js');
8
- var chunkKUJ75OHX_js = require('./chunk-KUJ75OHX.js');
8
+ var chunkZNVQ2OFX_js = require('./chunk-ZNVQ2OFX.js');
9
+ var chunkESALMEHU_js = require('./chunk-ESALMEHU.js');
9
10
  var chunkLAAPLTP3_js = require('./chunk-LAAPLTP3.js');
11
+ var chunk3QV2D54H_js = require('./chunk-3QV2D54H.js');
12
+ var chunkFC7RXQTM_js = require('./chunk-FC7RXQTM.js');
10
13
  var chunkOO5UMN5M_js = require('./chunk-OO5UMN5M.js');
11
- var chunkKVZLGW45_js = require('./chunk-KVZLGW45.js');
14
+ var chunkETTYERGO_js = require('./chunk-ETTYERGO.js');
12
15
  var chunkT4DF24UV_js = require('./chunk-T4DF24UV.js');
13
16
  var chunkSLYUQ67P_js = require('./chunk-SLYUQ67P.js');
14
- var chunkZNVQ2OFX_js = require('./chunk-ZNVQ2OFX.js');
17
+ var chunkROKUXJBS_js = require('./chunk-ROKUXJBS.js');
15
18
  var chunkEAMHOEAJ_js = require('./chunk-EAMHOEAJ.js');
16
19
  var chunk7TGLZQV5_js = require('./chunk-7TGLZQV5.js');
17
20
  var chunkCEAMHLIL_js = require('./chunk-CEAMHLIL.js');
@@ -20,17 +23,15 @@ var chunk3WM7WK7E_js = require('./chunk-3WM7WK7E.js');
20
23
  require('./chunk-BFNHRBWN.js');
21
24
  var chunkQY6PYAJA_js = require('./chunk-QY6PYAJA.js');
22
25
  var chunkR7S7O3YU_js = require('./chunk-R7S7O3YU.js');
23
- var chunk3QV2D54H_js = require('./chunk-3QV2D54H.js');
24
- var chunkFC7RXQTM_js = require('./chunk-FC7RXQTM.js');
25
26
  var chunkF5AI7CPC_js = require('./chunk-F5AI7CPC.js');
26
27
  var chunkPICYE2CM_js = require('./chunk-PICYE2CM.js');
27
28
  var chunkO2SABM5H_js = require('./chunk-O2SABM5H.js');
28
29
  var chunkGLW3P75K_js = require('./chunk-GLW3P75K.js');
29
30
  var chunkUKJSG75K_js = require('./chunk-UKJSG75K.js');
30
- var chunkROKUXJBS_js = require('./chunk-ROKUXJBS.js');
31
31
  var chunkK6HDRMPN_js = require('./chunk-K6HDRMPN.js');
32
32
  var chunkLNWRZKX2_js = require('./chunk-LNWRZKX2.js');
33
33
  var chunk7AFJ7TKW_js = require('./chunk-7AFJ7TKW.js');
34
+ var chunkHK2TAPQX_js = require('./chunk-HK2TAPQX.js');
34
35
  var chunkTLXEFLPA_js = require('./chunk-TLXEFLPA.js');
35
36
  var chunkGCKACSWD_js = require('./chunk-GCKACSWD.js');
36
37
  var chunkN3T6BQGK_js = require('./chunk-N3T6BQGK.js');
@@ -45,8 +46,8 @@ var chunkRY2I56HB_js = require('./chunk-RY2I56HB.js');
45
46
  var chunkGNKXBRXH_js = require('./chunk-GNKXBRXH.js');
46
47
  var chunkW36SYMVH_js = require('./chunk-W36SYMVH.js');
47
48
  var chunkK2U3FEL7_js = require('./chunk-K2U3FEL7.js');
48
- var chunkYZK2HXRT_js = require('./chunk-YZK2HXRT.js');
49
- var chunk3PQIZBT5_js = require('./chunk-3PQIZBT5.js');
49
+ var chunkHBZHIEDV_js = require('./chunk-HBZHIEDV.js');
50
+ var chunkNUFSJMVC_js = require('./chunk-NUFSJMVC.js');
50
51
  var chunkHNQZ5JRB_js = require('./chunk-HNQZ5JRB.js');
51
52
  var chunkAGAJJYP2_js = require('./chunk-AGAJJYP2.js');
52
53
  var chunkZZ5LMO3X_js = require('./chunk-ZZ5LMO3X.js');
@@ -78,10 +79,10 @@ var chunkPCGHIFIJ_js = require('./chunk-PCGHIFIJ.js');
78
79
  var chunkVTLTKTCK_js = require('./chunk-VTLTKTCK.js');
79
80
  var chunkDELTFEEJ_js = require('./chunk-DELTFEEJ.js');
80
81
  var chunkXV5DEK27_js = require('./chunk-XV5DEK27.js');
81
- var chunkNGW5UMAN_js = require('./chunk-NGW5UMAN.js');
82
+ var chunkEBTLMVDJ_js = require('./chunk-EBTLMVDJ.js');
82
83
  var chunk27T3QDSF_js = require('./chunk-27T3QDSF.js');
83
- var chunkDN5GU5PC_js = require('./chunk-DN5GU5PC.js');
84
84
  var chunkZED7TU62_js = require('./chunk-ZED7TU62.js');
85
+ var chunkDN5GU5PC_js = require('./chunk-DN5GU5PC.js');
85
86
  var chunk2KDSHEZT_js = require('./chunk-2KDSHEZT.js');
86
87
  var chunkDUQ7Q2GO_js = require('./chunk-DUQ7Q2GO.js');
87
88
  var chunkWEFQCJAG_js = require('./chunk-WEFQCJAG.js');
@@ -106,6 +107,10 @@ var tigercatCore = require('@expcat/tigercat-core');
106
107
  chunk7AFJ7TKW_js.init_ImagePreview();
107
108
  var version = "0.0.1";
108
109
 
110
+ Object.defineProperty(exports, "Upload", {
111
+ enumerable: true,
112
+ get: function () { return chunkB6ER2B2D_js.Upload; }
113
+ });
109
114
  Object.defineProperty(exports, "TaskBoard", {
110
115
  enumerable: true,
111
116
  get: function () { return chunkYQGKXFV5_js.TaskBoard; }
@@ -122,25 +127,33 @@ Object.defineProperty(exports, "Tree", {
122
127
  enumerable: true,
123
128
  get: function () { return chunkXEU42TLP_js.Tree; }
124
129
  });
125
- Object.defineProperty(exports, "Upload", {
130
+ Object.defineProperty(exports, "Space", {
126
131
  enumerable: true,
127
- get: function () { return chunkB6ER2B2D_js.Upload; }
132
+ get: function () { return chunkZNVQ2OFX_js.Space; }
128
133
  });
129
134
  Object.defineProperty(exports, "SubMenu", {
130
135
  enumerable: true,
131
- get: function () { return chunkKUJ75OHX_js.SubMenu; }
136
+ get: function () { return chunkESALMEHU_js.SubMenu; }
132
137
  });
133
138
  Object.defineProperty(exports, "Switch", {
134
139
  enumerable: true,
135
140
  get: function () { return chunkLAAPLTP3_js.Switch; }
136
141
  });
142
+ Object.defineProperty(exports, "Radio", {
143
+ enumerable: true,
144
+ get: function () { return chunk3QV2D54H_js.Radio; }
145
+ });
146
+ Object.defineProperty(exports, "RadioGroup", {
147
+ enumerable: true,
148
+ get: function () { return chunkFC7RXQTM_js.RadioGroup; }
149
+ });
137
150
  Object.defineProperty(exports, "ScatterChart", {
138
151
  enumerable: true,
139
152
  get: function () { return chunkOO5UMN5M_js.ScatterChart; }
140
153
  });
141
154
  Object.defineProperty(exports, "Sidebar", {
142
155
  enumerable: true,
143
- get: function () { return chunkKVZLGW45_js.Sidebar; }
156
+ get: function () { return chunkETTYERGO_js.Sidebar; }
144
157
  });
145
158
  Object.defineProperty(exports, "Skeleton", {
146
159
  enumerable: true,
@@ -150,9 +163,13 @@ Object.defineProperty(exports, "Slider", {
150
163
  enumerable: true,
151
164
  get: function () { return chunkSLYUQ67P_js.Slider; }
152
165
  });
153
- Object.defineProperty(exports, "Space", {
166
+ Object.defineProperty(exports, "NotificationContainer", {
154
167
  enumerable: true,
155
- get: function () { return chunkZNVQ2OFX_js.Space; }
168
+ get: function () { return chunkROKUXJBS_js.NotificationContainer; }
169
+ });
170
+ Object.defineProperty(exports, "notification", {
171
+ enumerable: true,
172
+ get: function () { return chunkROKUXJBS_js.notification; }
156
173
  });
157
174
  Object.defineProperty(exports, "NotificationCenter", {
158
175
  enumerable: true,
@@ -182,14 +199,6 @@ Object.defineProperty(exports, "RadarChart", {
182
199
  enumerable: true,
183
200
  get: function () { return chunkR7S7O3YU_js.RadarChart; }
184
201
  });
185
- Object.defineProperty(exports, "Radio", {
186
- enumerable: true,
187
- get: function () { return chunk3QV2D54H_js.Radio; }
188
- });
189
- Object.defineProperty(exports, "RadioGroup", {
190
- enumerable: true,
191
- get: function () { return chunkFC7RXQTM_js.RadioGroup; }
192
- });
193
202
  Object.defineProperty(exports, "List", {
194
203
  enumerable: true,
195
204
  get: function () { return chunkF5AI7CPC_js.List; }
@@ -214,14 +223,6 @@ Object.defineProperty(exports, "MessageContainer", {
214
223
  enumerable: true,
215
224
  get: function () { return chunkUKJSG75K_js.MessageContainer; }
216
225
  });
217
- Object.defineProperty(exports, "NotificationContainer", {
218
- enumerable: true,
219
- get: function () { return chunkROKUXJBS_js.NotificationContainer; }
220
- });
221
- Object.defineProperty(exports, "notification", {
222
- enumerable: true,
223
- get: function () { return chunkROKUXJBS_js.notification; }
224
- });
225
226
  Object.defineProperty(exports, "Image", {
226
227
  enumerable: true,
227
228
  get: function () { return chunkK6HDRMPN_js.Image; }
@@ -234,6 +235,10 @@ Object.defineProperty(exports, "ImagePreview", {
234
235
  enumerable: true,
235
236
  get: function () { return chunk7AFJ7TKW_js.ImagePreview; }
236
237
  });
238
+ Object.defineProperty(exports, "InputNumber", {
239
+ enumerable: true,
240
+ get: function () { return chunkHK2TAPQX_js.InputNumber; }
241
+ });
237
242
  Object.defineProperty(exports, "Layout", {
238
243
  enumerable: true,
239
244
  get: function () { return chunkTLXEFLPA_js.Layout; }
@@ -292,11 +297,11 @@ Object.defineProperty(exports, "ImageCropper", {
292
297
  });
293
298
  Object.defineProperty(exports, "DataTableWithToolbar", {
294
299
  enumerable: true,
295
- get: function () { return chunkYZK2HXRT_js.DataTableWithToolbar; }
300
+ get: function () { return chunkHBZHIEDV_js.DataTableWithToolbar; }
296
301
  });
297
302
  Object.defineProperty(exports, "Table", {
298
303
  enumerable: true,
299
- get: function () { return chunk3PQIZBT5_js.Table; }
304
+ get: function () { return chunkNUFSJMVC_js.Table; }
300
305
  });
301
306
  Object.defineProperty(exports, "Select", {
302
307
  enumerable: true,
@@ -424,20 +429,20 @@ Object.defineProperty(exports, "Carousel", {
424
429
  });
425
430
  Object.defineProperty(exports, "ActivityFeed", {
426
431
  enumerable: true,
427
- get: function () { return chunkNGW5UMAN_js.ActivityFeed; }
432
+ get: function () { return chunkEBTLMVDJ_js.ActivityFeed; }
428
433
  });
429
434
  Object.defineProperty(exports, "Timeline", {
430
435
  enumerable: true,
431
436
  get: function () { return chunk27T3QDSF_js.Timeline; }
432
437
  });
433
- Object.defineProperty(exports, "Loading", {
434
- enumerable: true,
435
- get: function () { return chunkDN5GU5PC_js.Loading; }
436
- });
437
438
  Object.defineProperty(exports, "Link", {
438
439
  enumerable: true,
439
440
  get: function () { return chunkZED7TU62_js.Link; }
440
441
  });
442
+ Object.defineProperty(exports, "Loading", {
443
+ enumerable: true,
444
+ get: function () { return chunkDN5GU5PC_js.Loading; }
445
+ });
441
446
  Object.defineProperty(exports, "Tag", {
442
447
  enumerable: true,
443
448
  get: function () { return chunk2KDSHEZT_js.Tag; }
package/dist/index.mjs CHANGED
@@ -1,15 +1,18 @@
1
+ export { Upload } from './chunk-WMM3FR3W.mjs';
1
2
  export { TaskBoard } from './chunk-HFBRO2IF.mjs';
2
3
  export { TimePicker } from './chunk-NV6GZPJP.mjs';
3
4
  export { Tooltip } from './chunk-YCI7GRQY.mjs';
4
5
  export { Tree } from './chunk-MJ7RGL34.mjs';
5
- export { Upload } from './chunk-WMM3FR3W.mjs';
6
- export { SubMenu } from './chunk-7FCHU5KV.mjs';
6
+ export { Space } from './chunk-M7EBWJZ5.mjs';
7
+ export { SubMenu } from './chunk-TTDBR2B4.mjs';
7
8
  export { Switch } from './chunk-XYYZAQ6Z.mjs';
9
+ export { Radio } from './chunk-YZP4K6KI.mjs';
10
+ export { RadioGroup } from './chunk-Y4V7BOVR.mjs';
8
11
  export { ScatterChart } from './chunk-ZLYXAZUY.mjs';
9
- export { Sidebar } from './chunk-RKPYLBPU.mjs';
12
+ export { Sidebar } from './chunk-WM4ESIHG.mjs';
10
13
  export { Skeleton } from './chunk-YEHKQ3JZ.mjs';
11
14
  export { Slider } from './chunk-2R5HISQA.mjs';
12
- export { Space } from './chunk-M7EBWJZ5.mjs';
15
+ export { NotificationContainer, notification } from './chunk-R7DMRLHV.mjs';
13
16
  export { NotificationCenter } from './chunk-AO4QQVBB.mjs';
14
17
  export { TabPane } from './chunk-37WD7WPC.mjs';
15
18
  export { Tabs } from './chunk-U7MDGSCQ.mjs';
@@ -18,18 +21,16 @@ export { Popover } from './chunk-3ZHQJ4W6.mjs';
18
21
  import './chunk-WIPPSHI6.mjs';
19
22
  export { Progress } from './chunk-7LUATGJU.mjs';
20
23
  export { RadarChart } from './chunk-IIU6FINW.mjs';
21
- export { Radio } from './chunk-YZP4K6KI.mjs';
22
- export { RadioGroup } from './chunk-Y4V7BOVR.mjs';
23
24
  export { List } from './chunk-EVOLGCGW.mjs';
24
25
  export { MenuItem } from './chunk-XCJONKFL.mjs';
25
26
  export { Menu } from './chunk-3AM6WEUE.mjs';
26
27
  export { MenuItemGroup } from './chunk-JHY57P4P.mjs';
27
28
  export { Message, MessageContainer } from './chunk-W2OCMRRH.mjs';
28
- export { NotificationContainer, notification } from './chunk-R7DMRLHV.mjs';
29
29
  export { Image } from './chunk-MB7W46IY.mjs';
30
30
  export { ImageGroup } from './chunk-LDCTSE6Y.mjs';
31
31
  import { init_ImagePreview } from './chunk-MMQ34S5M.mjs';
32
32
  export { ImagePreview } from './chunk-MMQ34S5M.mjs';
33
+ export { InputNumber } from './chunk-LW3LFCRZ.mjs';
33
34
  export { Layout } from './chunk-PVPLDEC5.mjs';
34
35
  export { LineChart } from './chunk-BS45PHVI.mjs';
35
36
  export { DropdownItem } from './chunk-5BAN4GHQ.mjs';
@@ -44,8 +45,8 @@ export { Icon } from './chunk-WQXZ3234.mjs';
44
45
  export { CropUpload } from './chunk-HTMTOXUO.mjs';
45
46
  export { Modal } from './chunk-P47EXOAW.mjs';
46
47
  export { ImageCropper } from './chunk-T77L326M.mjs';
47
- export { DataTableWithToolbar } from './chunk-ND4XDRYR.mjs';
48
- export { Table } from './chunk-ZTJTIQZY.mjs';
48
+ export { DataTableWithToolbar } from './chunk-CWDBL5YC.mjs';
49
+ export { Table } from './chunk-BS52UCMT.mjs';
49
50
  export { Select } from './chunk-GALASVSG.mjs';
50
51
  export { Pagination } from './chunk-NHCCPMLC.mjs';
51
52
  export { DatePicker } from './chunk-327O6FN7.mjs';
@@ -77,10 +78,10 @@ export { BreadcrumbItem } from './chunk-TG4PXQKX.mjs';
77
78
  export { Breadcrumb } from './chunk-U6WHPSWN.mjs';
78
79
  export { Button } from './chunk-D6MR5YRE.mjs';
79
80
  export { Carousel } from './chunk-FDYZ7NTQ.mjs';
80
- export { ActivityFeed } from './chunk-D7VMY6WX.mjs';
81
+ export { ActivityFeed } from './chunk-RVEEEDJQ.mjs';
81
82
  export { Timeline } from './chunk-LBGTABIU.mjs';
82
- export { Loading } from './chunk-Q6OYCTQO.mjs';
83
83
  export { Link } from './chunk-4YHOD7LT.mjs';
84
+ export { Loading } from './chunk-Q6OYCTQO.mjs';
84
85
  export { Tag } from './chunk-3G4VPV4D.mjs';
85
86
  export { Text } from './chunk-6V7XCCXN.mjs';
86
87
  export { Card } from './chunk-YXN3YY5Y.mjs';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@expcat/tigercat-vue",
3
- "version": "0.4.0",
3
+ "version": "0.4.3",
4
4
  "description": "Vue 3 components for Tigercat UI library",
5
5
  "license": "MIT",
6
6
  "author": "Yizhe Wang",
@@ -43,7 +43,7 @@
43
43
  "access": "public"
44
44
  },
45
45
  "dependencies": {
46
- "@expcat/tigercat-core": "0.4.0"
46
+ "@expcat/tigercat-core": "0.4.3"
47
47
  },
48
48
  "devDependencies": {
49
49
  "@types/node": "^25.0.3",
@@ -1,8 +1,8 @@
1
1
  'use strict';
2
2
 
3
3
  var chunk27T3QDSF_js = require('./chunk-27T3QDSF.js');
4
- var chunkDN5GU5PC_js = require('./chunk-DN5GU5PC.js');
5
4
  var chunkZED7TU62_js = require('./chunk-ZED7TU62.js');
5
+ var chunkDN5GU5PC_js = require('./chunk-DN5GU5PC.js');
6
6
  var chunk2KDSHEZT_js = require('./chunk-2KDSHEZT.js');
7
7
  var chunkDUQ7Q2GO_js = require('./chunk-DUQ7Q2GO.js');
8
8
  var chunkWEFQCJAG_js = require('./chunk-WEFQCJAG.js');
@@ -1,6 +1,6 @@
1
1
  import { Timeline } from './chunk-LBGTABIU.mjs';
2
- import { Loading } from './chunk-Q6OYCTQO.mjs';
3
2
  import { Link } from './chunk-4YHOD7LT.mjs';
3
+ import { Loading } from './chunk-Q6OYCTQO.mjs';
4
4
  import { Tag } from './chunk-3G4VPV4D.mjs';
5
5
  import { Text } from './chunk-6V7XCCXN.mjs';
6
6
  import { Card } from './chunk-YXN3YY5Y.mjs';