@a2simcode/ui 0.0.25 → 0.0.26

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 (61) hide show
  1. package/dist/components/autocomplete/index.d.ts +3 -3
  2. package/dist/components/autocomplete/src/autocomplete.vue.d.ts +1 -1
  3. package/dist/components/button/index.d.ts +9 -9
  4. package/dist/components/button/src/button.vue.d.ts +4 -4
  5. package/dist/components/buttons/index.d.ts +10 -33
  6. package/dist/components/buttons/src/index.vue.d.ts +9 -37
  7. package/dist/components/buttons/src/interface.d.ts +11 -113
  8. package/dist/components/cascader-select/index.d.ts +3 -3
  9. package/dist/components/cascader-select/src/cascader-select.vue.d.ts +1 -1
  10. package/dist/components/checkbox/index.d.ts +3 -3
  11. package/dist/components/checkbox/src/checkbox.vue.d.ts +1 -1
  12. package/dist/components/dialog/index.d.ts +35 -35
  13. package/dist/components/dialog/src/index.vue.d.ts +14 -14
  14. package/dist/components/dialog-full/index.d.ts +35 -35
  15. package/dist/components/dialog-full/src/index.vue.d.ts +14 -14
  16. package/dist/components/drawer/index.d.ts +35 -35
  17. package/dist/components/drawer/src/drawer.vue.d.ts +14 -14
  18. package/dist/components/dynamic-layer/index.d.ts +1 -0
  19. package/dist/components/dynamic-layer/src/useLayer.d.ts +4 -0
  20. package/dist/components/editor/index.d.ts +3 -3
  21. package/dist/components/editor/src/editor.vue.d.ts +1 -1
  22. package/dist/components/index.d.ts +2 -3
  23. package/dist/components/input/index.d.ts +3 -3
  24. package/dist/components/input/src/input.vue.d.ts +1 -1
  25. package/dist/components/input-button/index.d.ts +3 -3
  26. package/dist/components/input-button/src/input-button.vue.d.ts +1 -1
  27. package/dist/components/input-color/index.d.ts +3 -3
  28. package/dist/components/input-color/src/input-color.vue.d.ts +1 -1
  29. package/dist/components/input-tag/index.d.ts +3 -3
  30. package/dist/components/input-tag/src/input-tag.vue.d.ts +1 -1
  31. package/dist/components/layer/index.d.ts +26 -26
  32. package/dist/components/layer/src/layer.vue.d.ts +11 -11
  33. package/dist/components/layer-form/index.d.ts +3 -3
  34. package/dist/components/layer-form/src/layer-form.vue.d.ts +1 -1
  35. package/dist/components/layout/index.d.ts +3 -3
  36. package/dist/components/layout/src/layout.vue.d.ts +1 -1
  37. package/dist/components/number/index.d.ts +3 -3
  38. package/dist/components/number/src/number.vue.d.ts +1 -1
  39. package/dist/components/radio/index.d.ts +3 -3
  40. package/dist/components/radio/src/radio.vue.d.ts +1 -1
  41. package/dist/components/rate/index.d.ts +3 -3
  42. package/dist/components/rate/src/rate.vue.d.ts +1 -1
  43. package/dist/components/select/index.d.ts +3 -3
  44. package/dist/components/select/src/select.vue.d.ts +1 -1
  45. package/dist/components/slider/index.d.ts +3 -3
  46. package/dist/components/slider/src/slider.vue.d.ts +1 -1
  47. package/dist/components/switch/index.d.ts +3 -3
  48. package/dist/components/switch/src/switch.vue.d.ts +1 -1
  49. package/dist/components/table/index.d.ts +6 -6
  50. package/dist/components/table/src/table.vue.d.ts +4 -21
  51. package/dist/components/table-panel/index.d.ts +18 -18
  52. package/dist/components/table-panel/src/table-panel.vue.d.ts +10 -16
  53. package/dist/components/tree/index.d.ts +6 -6
  54. package/dist/components/tree/src/tree.vue.d.ts +4 -4
  55. package/dist/components/upload/index.d.ts +6 -6
  56. package/dist/components/upload/src/upload.vue.d.ts +2 -2
  57. package/dist/simcode-ui.es.js +4886 -4913
  58. package/dist/simcode-ui.umd.js +2 -2
  59. package/dist/stats.html +1 -1
  60. package/package.json +1 -1
  61. package/dist/components/buttons/src/useButtons.d.ts +0 -4
@@ -35,8 +35,8 @@ declare const JRadio: {
35
35
  "update:modelValue": (...args: any[]) => void;
36
36
  }, import('vue').PublicProps, {
37
37
  size: "small" | "default" | "large";
38
- readonly: boolean;
39
38
  modelValue: string;
39
+ readonly: boolean;
40
40
  options: {
41
41
  label: string;
42
42
  value: string;
@@ -86,8 +86,8 @@ declare const JRadio: {
86
86
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
87
87
  }>, {}, {}, {}, {}, {
88
88
  size: "small" | "default" | "large";
89
- readonly: boolean;
90
89
  modelValue: string;
90
+ readonly: boolean;
91
91
  options: {
92
92
  label: string;
93
93
  value: string;
@@ -136,8 +136,8 @@ declare const JRadio: {
136
136
  "update:modelValue": (...args: any[]) => void;
137
137
  }, string, {
138
138
  size: "small" | "default" | "large";
139
- readonly: boolean;
140
139
  modelValue: string;
140
+ readonly: boolean;
141
141
  options: {
142
142
  label: string;
143
143
  value: string;
@@ -109,8 +109,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
109
109
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
110
110
  }>, {
111
111
  size: "small" | "default" | "large";
112
- readonly: boolean;
113
112
  modelValue: string;
113
+ readonly: boolean;
114
114
  options: {
115
115
  label: string;
116
116
  value: string;
@@ -11,8 +11,8 @@ export declare const JRate: {
11
11
  }) => any;
12
12
  }, import('vue').PublicProps, {
13
13
  size: "large" | "default" | "small";
14
- readonly: boolean;
15
14
  modelValue: number | string;
15
+ readonly: boolean;
16
16
  max: number;
17
17
  allowClear: boolean;
18
18
  allowHalf: boolean;
@@ -33,8 +33,8 @@ export declare const JRate: {
33
33
  }) => any) | undefined;
34
34
  }>, {}, {}, {}, {}, {
35
35
  size: "large" | "default" | "small";
36
- readonly: boolean;
37
36
  modelValue: number | string;
37
+ readonly: boolean;
38
38
  max: number;
39
39
  allowClear: boolean;
40
40
  allowHalf: boolean;
@@ -57,8 +57,8 @@ export declare const JRate: {
57
57
  }) => any;
58
58
  }, string, {
59
59
  size: "large" | "default" | "small";
60
- readonly: boolean;
61
60
  modelValue: number | string;
61
+ readonly: boolean;
62
62
  max: number;
63
63
  allowClear: boolean;
64
64
  allowHalf: boolean;
@@ -30,8 +30,8 @@ declare const _default: import('vue').DefineComponent<RateProps, {}, {}, {}, {},
30
30
  }) => any) | undefined;
31
31
  }>, {
32
32
  size: "large" | "default" | "small";
33
- readonly: boolean;
34
33
  modelValue: number | string;
34
+ readonly: boolean;
35
35
  max: number;
36
36
  allowClear: boolean;
37
37
  allowHalf: boolean;
@@ -8,9 +8,9 @@ declare const JSelect: {
8
8
  }, import('vue').PublicProps, {
9
9
  size: "large" | "default" | "small";
10
10
  disabled: boolean;
11
- readonly: boolean;
12
11
  placeholder: string;
13
12
  clearable: boolean;
13
+ readonly: boolean;
14
14
  autoFocus: boolean;
15
15
  options: import('..').SelectOption[];
16
16
  teleported: boolean;
@@ -40,9 +40,9 @@ declare const JSelect: {
40
40
  }>, {}, {}, {}, {}, {
41
41
  size: "large" | "default" | "small";
42
42
  disabled: boolean;
43
- readonly: boolean;
44
43
  placeholder: string;
45
44
  clearable: boolean;
45
+ readonly: boolean;
46
46
  autoFocus: boolean;
47
47
  options: import('..').SelectOption[];
48
48
  teleported: boolean;
@@ -70,9 +70,9 @@ declare const JSelect: {
70
70
  }, string, {
71
71
  size: "large" | "default" | "small";
72
72
  disabled: boolean;
73
- readonly: boolean;
74
73
  placeholder: string;
75
74
  clearable: boolean;
75
+ readonly: boolean;
76
76
  autoFocus: boolean;
77
77
  options: import('..').SelectOption[];
78
78
  teleported: boolean;
@@ -57,9 +57,9 @@ declare const _default: import('vue').DefineComponent<SelectProps, {}, {}, {}, {
57
57
  }>, {
58
58
  size: "large" | "default" | "small";
59
59
  disabled: boolean;
60
- readonly: boolean;
61
60
  placeholder: string;
62
61
  clearable: boolean;
62
+ readonly: boolean;
63
63
  autoFocus: boolean;
64
64
  options: SelectOption[];
65
65
  teleported: boolean;
@@ -12,8 +12,8 @@ export declare const JSlider: {
12
12
  }, import('vue').PublicProps, {
13
13
  size: "large" | "default" | "small";
14
14
  vertical: boolean;
15
- readonly: boolean;
16
15
  modelValue: number | number[];
16
+ readonly: boolean;
17
17
  max: number;
18
18
  min: number;
19
19
  step: number;
@@ -40,8 +40,8 @@ export declare const JSlider: {
40
40
  }>, {}, {}, {}, {}, {
41
41
  size: "large" | "default" | "small";
42
42
  vertical: boolean;
43
- readonly: boolean;
44
43
  modelValue: number | number[];
44
+ readonly: boolean;
45
45
  max: number;
46
46
  min: number;
47
47
  step: number;
@@ -70,8 +70,8 @@ export declare const JSlider: {
70
70
  }, string, {
71
71
  size: "large" | "default" | "small";
72
72
  vertical: boolean;
73
- readonly: boolean;
74
73
  modelValue: number | number[];
74
+ readonly: boolean;
75
75
  max: number;
76
76
  min: number;
77
77
  step: number;
@@ -59,8 +59,8 @@ declare const _default: import('vue').DefineComponent<SliderProps, {}, {}, {}, {
59
59
  }>, {
60
60
  size: "large" | "default" | "small";
61
61
  vertical: boolean;
62
- readonly: boolean;
63
62
  modelValue: number | number[];
63
+ readonly: boolean;
64
64
  max: number;
65
65
  min: number;
66
66
  step: number;
@@ -9,8 +9,8 @@ declare const JSwitch: {
9
9
  width: number | string;
10
10
  disabled: boolean;
11
11
  loading: boolean;
12
- readonly: boolean;
13
12
  modelValue: boolean | string | number;
13
+ readonly: boolean;
14
14
  validateEvent: boolean;
15
15
  autoFocus: boolean;
16
16
  activeValue: boolean | string | number;
@@ -30,8 +30,8 @@ declare const JSwitch: {
30
30
  width: number | string;
31
31
  disabled: boolean;
32
32
  loading: boolean;
33
- readonly: boolean;
34
33
  modelValue: boolean | string | number;
34
+ readonly: boolean;
35
35
  validateEvent: boolean;
36
36
  autoFocus: boolean;
37
37
  activeValue: boolean | string | number;
@@ -51,8 +51,8 @@ declare const JSwitch: {
51
51
  width: number | string;
52
52
  disabled: boolean;
53
53
  loading: boolean;
54
- readonly: boolean;
55
54
  modelValue: boolean | string | number;
55
+ readonly: boolean;
56
56
  validateEvent: boolean;
57
57
  autoFocus: boolean;
58
58
  activeValue: boolean | string | number;
@@ -66,8 +66,8 @@ declare const __VLS_component: import('vue').DefineComponent<SwitchProps, {}, {}
66
66
  width: number | string;
67
67
  disabled: boolean;
68
68
  loading: boolean;
69
- readonly: boolean;
70
69
  modelValue: boolean | string | number;
70
+ readonly: boolean;
71
71
  validateEvent: boolean;
72
72
  autoFocus: boolean;
73
73
  activeValue: boolean | string | number;
@@ -52,7 +52,7 @@ declare const JTable: {
52
52
  default: string;
53
53
  };
54
54
  actions: {
55
- type: import('vue').PropType<import('.').TableAction[]>;
55
+ type: import('vue').PropType<import('..').ButtonCompType[]>;
56
56
  default: () => never[];
57
57
  };
58
58
  actionsMaxCount: {
@@ -113,7 +113,7 @@ declare const JTable: {
113
113
  pageSize: number;
114
114
  selectField: string;
115
115
  rowKey: string;
116
- actions: import('.').TableAction[];
116
+ actions: import('..').ButtonCompType[];
117
117
  actionsMaxCount: number;
118
118
  actionsLabel: string;
119
119
  isAnimationAppear: boolean;
@@ -181,7 +181,7 @@ declare const JTable: {
181
181
  default: string;
182
182
  };
183
183
  actions: {
184
- type: import('vue').PropType<import('.').TableAction[]>;
184
+ type: import('vue').PropType<import('..').ButtonCompType[]>;
185
185
  default: () => never[];
186
186
  };
187
187
  actionsMaxCount: {
@@ -232,7 +232,7 @@ declare const JTable: {
232
232
  pageSize: number;
233
233
  selectField: string;
234
234
  rowKey: string;
235
- actions: import('.').TableAction[];
235
+ actions: import('..').ButtonCompType[];
236
236
  actionsMaxCount: number;
237
237
  actionsLabel: string;
238
238
  isAnimationAppear: boolean;
@@ -295,7 +295,7 @@ declare const JTable: {
295
295
  default: string;
296
296
  };
297
297
  actions: {
298
- type: import('vue').PropType<import('.').TableAction[]>;
298
+ type: import('vue').PropType<import('..').ButtonCompType[]>;
299
299
  default: () => never[];
300
300
  };
301
301
  actionsMaxCount: {
@@ -356,7 +356,7 @@ declare const JTable: {
356
356
  pageSize: number;
357
357
  selectField: string;
358
358
  rowKey: string;
359
- actions: import('.').TableAction[];
359
+ actions: import('..').ButtonCompType[];
360
360
  actionsMaxCount: number;
361
361
  actionsLabel: string;
362
362
  isAnimationAppear: boolean;
@@ -1,5 +1,6 @@
1
1
  import { PropType } from 'vue';
2
2
  import { SchemaRuntimeConfig } from '../../comp/src/interface';
3
+ import { ButtonCompType } from '../../buttons/src/interface';
3
4
  export interface TableColumnConfig {
4
5
  /**
5
6
  * @zh 列的宽度
@@ -74,24 +75,6 @@ export interface TableColumnSorter {
74
75
  */
75
76
  isNot?: boolean;
76
77
  }
77
- export interface TableAction {
78
- /**
79
- * @zh 按钮显示文本
80
- */
81
- label: string;
82
- /**
83
- * @zh 按钮唯一标识符
84
- */
85
- id: string;
86
- /**
87
- * @zh 按钮点击事件处理函数
88
- */
89
- click: (row: Record<string, any>, rowIndex: number) => void;
90
- /**
91
- * @zh 是否危险按钮
92
- */
93
- isDanger?: boolean;
94
- }
95
78
  declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
96
79
  /**
97
80
  * @zh 表格列配置(支持树形结构)
@@ -187,7 +170,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
187
170
  * @zh 行内操作按钮配置
188
171
  */
189
172
  actions: {
190
- type: PropType<TableAction[]>;
173
+ type: PropType<ButtonCompType[]>;
191
174
  default: () => never[];
192
175
  };
193
176
  /**
@@ -335,7 +318,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
335
318
  * @zh 行内操作按钮配置
336
319
  */
337
320
  actions: {
338
- type: PropType<TableAction[]>;
321
+ type: PropType<ButtonCompType[]>;
339
322
  default: () => never[];
340
323
  };
341
324
  /**
@@ -396,7 +379,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
396
379
  pageSize: number;
397
380
  selectField: string;
398
381
  rowKey: string;
399
- actions: TableAction[];
382
+ actions: ButtonCompType[];
400
383
  actionsMaxCount: number;
401
384
  actionsLabel: string;
402
385
  isAnimationAppear: boolean;
@@ -32,15 +32,15 @@ declare const JTablePanel: {
32
32
  };
33
33
  sort: StringConstructor;
34
34
  buttons: {
35
- type: import('vue').PropType<import('.').ButtonItem[]>;
35
+ type: import('vue').PropType<import('..').ButtonCompType[]>;
36
36
  default: () => never[];
37
37
  };
38
38
  batchButtons: {
39
- type: import('vue').PropType<import('.').ButtonItem[]>;
39
+ type: import('vue').PropType<import('..').ButtonCompType[]>;
40
40
  default: () => never[];
41
41
  };
42
42
  actions: {
43
- type: import('vue').PropType<import('..').TableAction[]>;
43
+ type: import('vue').PropType<import('..').ButtonCompType[]>;
44
44
  default: () => never[];
45
45
  };
46
46
  actionsMaxCount: {
@@ -72,7 +72,7 @@ declare const JTablePanel: {
72
72
  ready: (...args: any[]) => void;
73
73
  }, import('vue').PublicProps, {
74
74
  immediate: boolean;
75
- buttons: import('.').ButtonItem[];
75
+ buttons: import('..').ButtonCompType[];
76
76
  columns: import('..').SchemaRuntimeConfig[];
77
77
  isTree: boolean;
78
78
  isShowNumber: boolean;
@@ -80,10 +80,10 @@ declare const JTablePanel: {
80
80
  isPage: boolean;
81
81
  pageSize: number;
82
82
  rowKey: string;
83
- actions: import('..').TableAction[];
83
+ actions: import('..').ButtonCompType[];
84
84
  actionsMaxCount: number;
85
85
  actionsLabel: string;
86
- batchButtons: import('.').ButtonItem[];
86
+ batchButtons: import('..').ButtonCompType[];
87
87
  noPadding: boolean;
88
88
  }, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
89
89
  keywordPanelRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
@@ -312,15 +312,15 @@ declare const JTablePanel: {
312
312
  };
313
313
  sort: StringConstructor;
314
314
  buttons: {
315
- type: import('vue').PropType<import('.').ButtonItem[]>;
315
+ type: import('vue').PropType<import('..').ButtonCompType[]>;
316
316
  default: () => never[];
317
317
  };
318
318
  batchButtons: {
319
- type: import('vue').PropType<import('.').ButtonItem[]>;
319
+ type: import('vue').PropType<import('..').ButtonCompType[]>;
320
320
  default: () => never[];
321
321
  };
322
322
  actions: {
323
- type: import('vue').PropType<import('..').TableAction[]>;
323
+ type: import('vue').PropType<import('..').ButtonCompType[]>;
324
324
  default: () => never[];
325
325
  };
326
326
  actionsMaxCount: {
@@ -349,7 +349,7 @@ declare const JTablePanel: {
349
349
  getInstance: () => any;
350
350
  }, {}, {}, {}, {
351
351
  immediate: boolean;
352
- buttons: import('.').ButtonItem[];
352
+ buttons: import('..').ButtonCompType[];
353
353
  columns: import('..').SchemaRuntimeConfig[];
354
354
  isTree: boolean;
355
355
  isShowNumber: boolean;
@@ -357,10 +357,10 @@ declare const JTablePanel: {
357
357
  isPage: boolean;
358
358
  pageSize: number;
359
359
  rowKey: string;
360
- actions: import('..').TableAction[];
360
+ actions: import('..').ButtonCompType[];
361
361
  actionsMaxCount: number;
362
362
  actionsLabel: string;
363
- batchButtons: import('.').ButtonItem[];
363
+ batchButtons: import('..').ButtonCompType[];
364
364
  noPadding: boolean;
365
365
  }>;
366
366
  __isFragment?: never;
@@ -399,15 +399,15 @@ declare const JTablePanel: {
399
399
  };
400
400
  sort: StringConstructor;
401
401
  buttons: {
402
- type: import('vue').PropType<import('.').ButtonItem[]>;
402
+ type: import('vue').PropType<import('..').ButtonCompType[]>;
403
403
  default: () => never[];
404
404
  };
405
405
  batchButtons: {
406
- type: import('vue').PropType<import('.').ButtonItem[]>;
406
+ type: import('vue').PropType<import('..').ButtonCompType[]>;
407
407
  default: () => never[];
408
408
  };
409
409
  actions: {
410
- type: import('vue').PropType<import('..').TableAction[]>;
410
+ type: import('vue').PropType<import('..').ButtonCompType[]>;
411
411
  default: () => never[];
412
412
  };
413
413
  actionsMaxCount: {
@@ -439,7 +439,7 @@ declare const JTablePanel: {
439
439
  ready: (...args: any[]) => void;
440
440
  }, string, {
441
441
  immediate: boolean;
442
- buttons: import('.').ButtonItem[];
442
+ buttons: import('..').ButtonCompType[];
443
443
  columns: import('..').SchemaRuntimeConfig[];
444
444
  isTree: boolean;
445
445
  isShowNumber: boolean;
@@ -447,10 +447,10 @@ declare const JTablePanel: {
447
447
  isPage: boolean;
448
448
  pageSize: number;
449
449
  rowKey: string;
450
- actions: import('..').TableAction[];
450
+ actions: import('..').ButtonCompType[];
451
451
  actionsMaxCount: number;
452
452
  actionsLabel: string;
453
- batchButtons: import('.').ButtonItem[];
453
+ batchButtons: import('..').ButtonCompType[];
454
454
  noPadding: boolean;
455
455
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & {
456
456
  install: (app: import('vue').App) => void;
@@ -1,13 +1,7 @@
1
- import { TableAction } from '../../table/src/table.vue';
1
+ import { ButtonCompType } from '../../buttons/src/interface';
2
2
  import { SchemaRuntimeConfig } from '../../comp/src/interface';
3
3
  import { PropType } from 'vue';
4
4
  import { TreeNode } from './column-panel.vue';
5
- export interface ButtonItem {
6
- label: string;
7
- icon?: string;
8
- type?: 'primary' | 'success' | 'warning' | 'danger' | 'info' | 'text';
9
- click?: (selectedRecords?: Record<string, any>[]) => void;
10
- }
11
5
  declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
12
6
  /**
13
7
  * @zh 表格列配置
@@ -71,21 +65,21 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
71
65
  * @zh 面板按钮
72
66
  */
73
67
  buttons: {
74
- type: PropType<ButtonItem[]>;
68
+ type: PropType<ButtonCompType[]>;
75
69
  default: () => never[];
76
70
  };
77
71
  /**
78
72
  * @zh 批量操作按钮配置(选中记录后显示)
79
73
  */
80
74
  batchButtons: {
81
- type: PropType<ButtonItem[]>;
75
+ type: PropType<ButtonCompType[]>;
82
76
  default: () => never[];
83
77
  };
84
78
  /**
85
79
  * @zh 行内操作按钮配置
86
80
  */
87
81
  actions: {
88
- type: PropType<TableAction[]>;
82
+ type: PropType<ButtonCompType[]>;
89
83
  default: () => never[];
90
84
  };
91
85
  /**
@@ -190,21 +184,21 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
190
184
  * @zh 面板按钮
191
185
  */
192
186
  buttons: {
193
- type: PropType<ButtonItem[]>;
187
+ type: PropType<ButtonCompType[]>;
194
188
  default: () => never[];
195
189
  };
196
190
  /**
197
191
  * @zh 批量操作按钮配置(选中记录后显示)
198
192
  */
199
193
  batchButtons: {
200
- type: PropType<ButtonItem[]>;
194
+ type: PropType<ButtonCompType[]>;
201
195
  default: () => never[];
202
196
  };
203
197
  /**
204
198
  * @zh 行内操作按钮配置
205
199
  */
206
200
  actions: {
207
- type: PropType<TableAction[]>;
201
+ type: PropType<ButtonCompType[]>;
208
202
  default: () => never[];
209
203
  };
210
204
  /**
@@ -241,7 +235,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
241
235
  onReady?: ((...args: any[]) => any) | undefined;
242
236
  }>, {
243
237
  immediate: boolean;
244
- buttons: ButtonItem[];
238
+ buttons: ButtonCompType[];
245
239
  columns: SchemaRuntimeConfig[];
246
240
  isTree: boolean;
247
241
  isShowNumber: boolean;
@@ -249,10 +243,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
249
243
  isPage: boolean;
250
244
  pageSize: number;
251
245
  rowKey: string;
252
- actions: TableAction[];
246
+ actions: ButtonCompType[];
253
247
  actionsMaxCount: number;
254
248
  actionsLabel: string;
255
- batchButtons: ButtonItem[];
249
+ batchButtons: ButtonCompType[];
256
250
  noPadding: boolean;
257
251
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
258
252
  keywordPanelRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
@@ -75,7 +75,7 @@ export declare const JTree: {
75
75
  default: string;
76
76
  };
77
77
  treeButtons: {
78
- type: import('vue').PropType<import('..').buttonItem[]>;
78
+ type: import('vue').PropType<import('..').ButtonCompType[]>;
79
79
  default: () => never[];
80
80
  };
81
81
  filterButton: FunctionConstructor;
@@ -139,7 +139,7 @@ export declare const JTree: {
139
139
  emptyDes: string;
140
140
  defaultIcon: string;
141
141
  defaultIconColor: string;
142
- treeButtons: import('..').buttonItem[];
142
+ treeButtons: import('..').ButtonCompType[];
143
143
  buttonDefaultIcon: string;
144
144
  buttonIconColor: string;
145
145
  isHeightAuto: boolean;
@@ -229,7 +229,7 @@ export declare const JTree: {
229
229
  default: string;
230
230
  };
231
231
  treeButtons: {
232
- type: import('vue').PropType<import('..').buttonItem[]>;
232
+ type: import('vue').PropType<import('..').ButtonCompType[]>;
233
233
  default: () => never[];
234
234
  };
235
235
  filterButton: FunctionConstructor;
@@ -291,7 +291,7 @@ export declare const JTree: {
291
291
  emptyDes: string;
292
292
  defaultIcon: string;
293
293
  defaultIconColor: string;
294
- treeButtons: import('..').buttonItem[];
294
+ treeButtons: import('..').ButtonCompType[];
295
295
  buttonDefaultIcon: string;
296
296
  buttonIconColor: string;
297
297
  isHeightAuto: boolean;
@@ -376,7 +376,7 @@ export declare const JTree: {
376
376
  default: string;
377
377
  };
378
378
  treeButtons: {
379
- type: import('vue').PropType<import('..').buttonItem[]>;
379
+ type: import('vue').PropType<import('..').ButtonCompType[]>;
380
380
  default: () => never[];
381
381
  };
382
382
  filterButton: FunctionConstructor;
@@ -440,7 +440,7 @@ export declare const JTree: {
440
440
  emptyDes: string;
441
441
  defaultIcon: string;
442
442
  defaultIconColor: string;
443
- treeButtons: import('..').buttonItem[];
443
+ treeButtons: import('..').ButtonCompType[];
444
444
  buttonDefaultIcon: string;
445
445
  buttonIconColor: string;
446
446
  isHeightAuto: boolean;
@@ -1,5 +1,5 @@
1
+ import { ButtonCompType } from '../../buttons/src/interface';
1
2
  import { PropType } from 'vue';
2
- import { buttonItem } from '../../buttons/src/interface';
3
3
  declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
4
4
  /**
5
5
  * @zh 加载数据方法
@@ -154,7 +154,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
154
154
  * @zh 树按钮(右击显示)
155
155
  */
156
156
  treeButtons: {
157
- type: PropType<buttonItem[]>;
157
+ type: PropType<ButtonCompType[]>;
158
158
  default: () => never[];
159
159
  };
160
160
  /**
@@ -381,7 +381,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
381
381
  * @zh 树按钮(右击显示)
382
382
  */
383
383
  treeButtons: {
384
- type: PropType<buttonItem[]>;
384
+ type: PropType<ButtonCompType[]>;
385
385
  default: () => never[];
386
386
  };
387
387
  /**
@@ -467,7 +467,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
467
467
  emptyDes: string;
468
468
  defaultIcon: string;
469
469
  defaultIconColor: string;
470
- treeButtons: buttonItem[];
470
+ treeButtons: ButtonCompType[];
471
471
  buttonDefaultIcon: string;
472
472
  buttonIconColor: string;
473
473
  isHeightAuto: boolean;
@@ -108,12 +108,12 @@ declare const JUpload: {
108
108
  start: (...args: any[]) => void;
109
109
  notUploadChange: (...args: any[]) => void;
110
110
  }, import('vue').PublicProps, {
111
- readonly: boolean;
111
+ btnText: string;
112
112
  modelValue: string;
113
113
  placeholder: string;
114
+ readonly: boolean;
114
115
  multiple: boolean;
115
116
  drag: boolean;
116
- btnText: string;
117
117
  isUploadImg: boolean;
118
118
  showFileList: boolean;
119
119
  isShowSuccessIcon: boolean;
@@ -240,12 +240,12 @@ declare const JUpload: {
240
240
  onStart?: ((...args: any[]) => any) | undefined;
241
241
  onNotUploadChange?: ((...args: any[]) => any) | undefined;
242
242
  }>, {}, {}, {}, {}, {
243
- readonly: boolean;
243
+ btnText: string;
244
244
  modelValue: string;
245
245
  placeholder: string;
246
+ readonly: boolean;
246
247
  multiple: boolean;
247
248
  drag: boolean;
248
- btnText: string;
249
249
  isUploadImg: boolean;
250
250
  showFileList: boolean;
251
251
  isShowSuccessIcon: boolean;
@@ -376,12 +376,12 @@ declare const JUpload: {
376
376
  start: (...args: any[]) => void;
377
377
  notUploadChange: (...args: any[]) => void;
378
378
  }, string, {
379
- readonly: boolean;
379
+ btnText: string;
380
380
  modelValue: string;
381
381
  placeholder: string;
382
+ readonly: boolean;
382
383
  multiple: boolean;
383
384
  drag: boolean;
384
- btnText: string;
385
385
  isUploadImg: boolean;
386
386
  showFileList: boolean;
387
387
  isShowSuccessIcon: boolean;
@@ -338,12 +338,12 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
338
338
  onStart?: ((...args: any[]) => any) | undefined;
339
339
  onNotUploadChange?: ((...args: any[]) => any) | undefined;
340
340
  }>, {
341
- readonly: boolean;
341
+ btnText: string;
342
342
  modelValue: string;
343
343
  placeholder: string;
344
+ readonly: boolean;
344
345
  multiple: boolean;
345
346
  drag: boolean;
346
- btnText: string;
347
347
  isUploadImg: boolean;
348
348
  showFileList: boolean;
349
349
  isShowSuccessIcon: boolean;