lew-ui 2.1.7 → 2.1.9

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 (60) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +53 -53
  3. package/dist/components/avatar/src/LewAvatar.vue.d.ts +9 -9
  4. package/dist/components/avatar/src/props.d.ts +3 -3
  5. package/dist/components/backtop/src/LewBackTop.vue.d.ts +1 -1
  6. package/dist/components/badge/src/LewBadge.vue.d.ts +3 -3
  7. package/dist/components/button/src/LewButton.vue.d.ts +11 -11
  8. package/dist/components/button/src/props.d.ts +1 -1
  9. package/dist/components/cascader/src/LewCascader.vue.d.ts +6 -6
  10. package/dist/components/checkbox/src/LewCheckbox.vue.d.ts +4 -4
  11. package/dist/components/date-picker/src/LewDate.vue.d.ts +15 -3
  12. package/dist/components/date-picker/src/LewDatePicker.vue.d.ts +17 -6
  13. package/dist/components/date-picker/src/LewDateRange.vue.d.ts +11 -0
  14. package/dist/components/date-picker/src/LewDateRangePicker.vue.d.ts +12 -1
  15. package/dist/components/date-picker/src/props.d.ts +24 -3
  16. package/dist/components/drawer/src/LewDrawer.vue.d.ts +1 -1
  17. package/dist/components/drawer/src/props.d.ts +1 -1
  18. package/dist/components/dropdown/src/LewDropdown.vue.d.ts +1 -1
  19. package/dist/components/empty/src/LewEmpty.vue.d.ts +2 -2
  20. package/dist/components/flex/src/LewFlex.vue.d.ts +4 -4
  21. package/dist/components/form/src/LewForm.vue.d.ts +1 -1
  22. package/dist/components/input/src/LewInput.vue.d.ts +31 -20
  23. package/dist/components/input/src/props.d.ts +8 -2
  24. package/dist/components/input-tag/src/LewInputTag.vue.d.ts +4 -4
  25. package/dist/components/magic-number/src/LewMagicNumber.vue.d.ts +1 -1
  26. package/dist/components/mark/src/LewMark.vue.d.ts +3 -3
  27. package/dist/components/menu/src/props.d.ts +2 -1
  28. package/dist/components/modal/src/LewModal.vue.d.ts +19 -19
  29. package/dist/components/pagination/src/LewPagination.vue.d.ts +8 -10
  30. package/dist/components/pagination/src/props.d.ts +3 -5
  31. package/dist/components/popok/src/LewPopok.vue.d.ts +17 -17
  32. package/dist/components/popover/src/LewPopover.vue.d.ts +8 -8
  33. package/dist/components/popover/src/props.d.ts +2 -2
  34. package/dist/components/radio/src/LewRadio.vue.d.ts +2 -2
  35. package/dist/components/radio/src/LewRadioGroup.vue.d.ts +4 -4
  36. package/dist/components/result/src/LewResult.vue.d.ts +1 -1
  37. package/dist/components/select/src/LewSelect.vue.d.ts +10 -10
  38. package/dist/components/select/src/props.d.ts +1 -1
  39. package/dist/components/select-multiple/src/LewSelectMultiple.vue.d.ts +21 -10
  40. package/dist/components/select-multiple/src/props.d.ts +5 -0
  41. package/dist/components/switch/src/LewSwitch.vue.d.ts +3 -3
  42. package/dist/components/table/src/LewTable.vue.d.ts +7 -7
  43. package/dist/components/tabs/src/LewTabs.vue.d.ts +4 -4
  44. package/dist/components/tag/src/LewTag.vue.d.ts +9 -9
  45. package/dist/components/tag/src/props.d.ts +3 -4
  46. package/dist/components/text-trim/src/LewTextTrim.vue.d.ts +3 -3
  47. package/dist/components/text-trim/src/props.d.ts +1 -1
  48. package/dist/components/textarea/src/LewTextarea.vue.d.ts +6 -6
  49. package/dist/components/title/src/LewTitle.vue.d.ts +6 -6
  50. package/dist/components/tree/src/LewTree.vue.d.ts +26 -27
  51. package/dist/components/tree/src/props.d.ts +8 -2
  52. package/dist/components/tree-select/src/LewTreeSelect.vue.d.ts +22 -11
  53. package/dist/components/tree-select/src/props.d.ts +6 -1
  54. package/dist/directives/dialog/src/LewDialog.vue.d.ts +5 -5
  55. package/dist/directives/dialog/src/props.d.ts +3 -2
  56. package/dist/index.d.ts +2 -1
  57. package/dist/index.mjs +539 -492
  58. package/dist/index.umd.js +4 -4
  59. package/dist/style.css +1 -1
  60. package/package.json +101 -101
@@ -1,7 +1,7 @@
1
1
  import { SelectOptions } from './props';
2
2
 
3
3
  declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
4
- modelValue: globalThis.PropType<string | number | undefined>;
4
+ modelValue: globalThis.PropType<any>;
5
5
  defaultValue: {
6
6
  type: (StringConstructor | NumberConstructor)[];
7
7
  default: string;
@@ -38,8 +38,8 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
38
38
  description: string;
39
39
  };
40
40
  searchMethod: {
41
- type: globalThis.PropType<(e: import('./props').SelectSearchMethodParams) => void>;
42
- default: (params: import('./props').SelectSearchMethodParams) => SelectOptions[];
41
+ type: globalThis.PropType<(e: import('../../..').SelectSearchMethodParams) => SelectOptions[]>;
42
+ default: (params: import('../../..').SelectSearchMethodParams) => SelectOptions[];
43
43
  description: string;
44
44
  };
45
45
  searchDelay: {
@@ -80,7 +80,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
80
80
  blur: (...args: any[]) => void;
81
81
  clear: (...args: any[]) => void;
82
82
  }, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
83
- modelValue: globalThis.PropType<string | number | undefined>;
83
+ modelValue: globalThis.PropType<any>;
84
84
  defaultValue: {
85
85
  type: (StringConstructor | NumberConstructor)[];
86
86
  default: string;
@@ -117,8 +117,8 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
117
117
  description: string;
118
118
  };
119
119
  searchMethod: {
120
- type: globalThis.PropType<(e: import('./props').SelectSearchMethodParams) => void>;
121
- default: (params: import('./props').SelectSearchMethodParams) => SelectOptions[];
120
+ type: globalThis.PropType<(e: import('../../..').SelectSearchMethodParams) => SelectOptions[]>;
121
+ default: (params: import('../../..').SelectSearchMethodParams) => SelectOptions[];
122
122
  description: string;
123
123
  };
124
124
  searchDelay: {
@@ -158,18 +158,18 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
158
158
  }, {
159
159
  size: string;
160
160
  options: SelectOptions[];
161
- disabled: boolean;
162
161
  trigger: string;
163
162
  placeholder: string;
164
163
  clearable: boolean;
165
164
  readonly: boolean;
165
+ disabled: boolean;
166
+ searchable: boolean;
167
+ searchDelay: number;
166
168
  align: string;
167
169
  showCheckIcon: boolean;
168
170
  defaultValue: string | number;
169
171
  itemHeight: number;
170
- searchable: boolean;
171
- searchMethod: (e: import('./props').SelectSearchMethodParams) => void;
172
- searchDelay: number;
172
+ searchMethod: (e: import('../../..').SelectSearchMethodParams) => SelectOptions[];
173
173
  }, {}>, {
174
174
  header?(_: {}): any;
175
175
  empty?(_: {}): any;
@@ -53,7 +53,7 @@ export declare const selectProps: {
53
53
  description: string;
54
54
  };
55
55
  searchMethod: {
56
- type: PropType<(e: SelectSearchMethodParams) => void>;
56
+ type: PropType<(e: SelectSearchMethodParams) => SelectOptions[]>;
57
57
  default: (params: SelectSearchMethodParams) => SelectOptions[];
58
58
  description: string;
59
59
  };
@@ -1,7 +1,7 @@
1
1
  import { SelectMultipleOptions } from './props';
2
2
 
3
3
  declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
4
- modelValue: globalThis.PropType<any[]>;
4
+ modelValue: globalThis.PropType<any>;
5
5
  options: {
6
6
  type: globalThis.PropType<SelectMultipleOptions[]>;
7
7
  default: never[];
@@ -17,6 +17,11 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
17
17
  default: string;
18
18
  description: string;
19
19
  };
20
+ valueTextSplit: {
21
+ type: StringConstructor;
22
+ default: string;
23
+ description: string;
24
+ };
20
25
  placeholder: {
21
26
  type: StringConstructor;
22
27
  default: string;
@@ -43,8 +48,8 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
43
48
  description: string;
44
49
  };
45
50
  searchMethod: {
46
- type: globalThis.PropType<(e: import('./props').SelectSearchMultipleMethodParams) => void>;
47
- default: (params: import('./props').SelectSearchMultipleMethodParams) => SelectMultipleOptions[];
51
+ type: globalThis.PropType<(e: import('../../..').SelectSearchMultipleMethodParams) => void>;
52
+ default: (params: import('../../..').SelectSearchMultipleMethodParams) => SelectMultipleOptions[];
48
53
  description: string;
49
54
  };
50
55
  searchDelay: {
@@ -92,7 +97,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
92
97
  clear: (...args: any[]) => void;
93
98
  delete: (...args: any[]) => void;
94
99
  }, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
95
- modelValue: globalThis.PropType<any[]>;
100
+ modelValue: globalThis.PropType<any>;
96
101
  options: {
97
102
  type: globalThis.PropType<SelectMultipleOptions[]>;
98
103
  default: never[];
@@ -108,6 +113,11 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
108
113
  default: string;
109
114
  description: string;
110
115
  };
116
+ valueTextSplit: {
117
+ type: StringConstructor;
118
+ default: string;
119
+ description: string;
120
+ };
111
121
  placeholder: {
112
122
  type: StringConstructor;
113
123
  default: string;
@@ -134,8 +144,8 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
134
144
  description: string;
135
145
  };
136
146
  searchMethod: {
137
- type: globalThis.PropType<(e: import('./props').SelectSearchMultipleMethodParams) => void>;
138
- default: (params: import('./props').SelectSearchMultipleMethodParams) => SelectMultipleOptions[];
147
+ type: globalThis.PropType<(e: import('../../..').SelectSearchMultipleMethodParams) => void>;
148
+ default: (params: import('../../..').SelectSearchMultipleMethodParams) => SelectMultipleOptions[];
139
149
  description: string;
140
150
  };
141
151
  searchDelay: {
@@ -182,19 +192,20 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
182
192
  }, {
183
193
  size: string;
184
194
  options: SelectMultipleOptions[];
185
- disabled: boolean;
186
195
  trigger: string;
187
196
  placeholder: string;
188
197
  clearable: boolean;
189
198
  readonly: boolean;
199
+ disabled: boolean;
200
+ searchable: boolean;
201
+ searchDelay: number;
190
202
  align: string;
191
203
  showCheckIcon: boolean;
192
204
  defaultValue: string[] | number[];
193
205
  itemHeight: number;
194
- searchable: boolean;
195
- searchMethod: (e: import('./props').SelectSearchMultipleMethodParams) => void;
196
- searchDelay: number;
206
+ searchMethod: (e: import('../../..').SelectSearchMultipleMethodParams) => void;
197
207
  valueLayout: string;
208
+ valueTextSplit: string;
198
209
  searchPlaceholder: string;
199
210
  }, {}>, {
200
211
  header?(_: {}): any;
@@ -32,6 +32,11 @@ export declare const selectMultipleProps: {
32
32
  default: string;
33
33
  description: string;
34
34
  };
35
+ valueTextSplit: {
36
+ type: StringConstructor;
37
+ default: string;
38
+ description: string;
39
+ };
35
40
  placeholder: {
36
41
  type: StringConstructor;
37
42
  default: string;
@@ -1,5 +1,5 @@
1
1
  declare const _default: import('vue').DefineComponent<{
2
- modelValue: globalThis.PropType<boolean | undefined>;
2
+ modelValue: globalThis.PropType<any>;
3
3
  round: {
4
4
  type: BooleanConstructor;
5
5
  default: boolean;
@@ -24,7 +24,7 @@ declare const _default: import('vue').DefineComponent<{
24
24
  click: (...args: any[]) => void;
25
25
  change: (...args: any[]) => void;
26
26
  }, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
27
- modelValue: globalThis.PropType<boolean | undefined>;
27
+ modelValue: globalThis.PropType<any>;
28
28
  round: {
29
29
  type: BooleanConstructor;
30
30
  default: boolean;
@@ -50,8 +50,8 @@ declare const _default: import('vue').DefineComponent<{
50
50
  onClick?: ((...args: any[]) => any) | undefined;
51
51
  }, {
52
52
  round: boolean;
53
+ disabled: boolean;
53
54
  loading: boolean;
54
55
  request: Function;
55
- disabled: boolean;
56
56
  }, {}>;
57
57
  export default _default;
@@ -10,7 +10,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
10
10
  description: string;
11
11
  };
12
12
  columns: {
13
- type: globalThis.PropType<import('./props').TableColumns[]>;
13
+ type: globalThis.PropType<import('../../..').TableColumns[]>;
14
14
  default: never[];
15
15
  description: string;
16
16
  };
@@ -44,7 +44,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
44
44
  description: string;
45
45
  };
46
46
  columns: {
47
- type: globalThis.PropType<import('./props').TableColumns[]>;
47
+ type: globalThis.PropType<import('../../..').TableColumns[]>;
48
48
  default: never[];
49
49
  description: string;
50
50
  };
@@ -64,21 +64,21 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
64
64
  description: string;
65
65
  };
66
66
  }>>, {
67
+ dataSource: any;
67
68
  maxHeight: string | number;
68
69
  rowKey: string;
69
- dataSource: any;
70
- columns: import('./props').TableColumns[];
70
+ columns: import('../../..').TableColumns[];
71
71
  checkable: boolean;
72
72
  singleSelect: boolean;
73
73
  }, {}>, Partial<Record<string, (_: {
74
74
  row: any;
75
- column: import('./props').TableColumns;
75
+ column: import('../../..').TableColumns;
76
76
  }) => any>> & Partial<Record<string, (_: {
77
77
  row: any;
78
- column: import('./props').TableColumns;
78
+ column: import('../../..').TableColumns;
79
79
  }) => any>> & Partial<Record<string, (_: {
80
80
  row: any;
81
- column: import('./props').TableColumns;
81
+ column: import('../../..').TableColumns;
82
82
  }) => any>>>;
83
83
  export default _default;
84
84
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -3,7 +3,7 @@ import { TabsOptions } from './props';
3
3
  declare const _default: import('vue').DefineComponent<{
4
4
  modelValue: {
5
5
  required: true;
6
- type: globalThis.PropType<string | number | undefined>;
6
+ type: globalThis.PropType<any>;
7
7
  };
8
8
  options: {
9
9
  type: globalThis.PropType<TabsOptions[]>;
@@ -40,7 +40,7 @@ declare const _default: import('vue').DefineComponent<{
40
40
  }, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
41
41
  modelValue: {
42
42
  required: true;
43
- type: globalThis.PropType<string | number | undefined>;
43
+ type: globalThis.PropType<any>;
44
44
  };
45
45
  options: {
46
46
  type: globalThis.PropType<TabsOptions[]>;
@@ -75,10 +75,10 @@ declare const _default: import('vue').DefineComponent<{
75
75
  }>> & {
76
76
  onChange?: ((...args: any[]) => any) | undefined;
77
77
  }, {
78
+ width: string | number;
78
79
  type: import('./props').TabsType;
79
- size: import('./props').TabsSize;
80
80
  round: boolean;
81
- width: string | number;
81
+ size: import('./props').TabsSize;
82
82
  options: TabsOptions[];
83
83
  itemWidth: string | number;
84
84
  }, {}>;
@@ -1,16 +1,16 @@
1
1
  declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
2
2
  type: {
3
- type: globalThis.PropType<"fill" | "light" | "ghost">;
3
+ type: globalThis.PropType<import('../../..').TagType>;
4
4
  default: string;
5
5
  description: string;
6
6
  };
7
7
  color: {
8
- type: globalThis.PropType<"red" | "orange" | "yellow" | "green" | "mint" | "teal" | "cyan" | "blue" | "indigo" | "purple" | "pink" | "gray" | "brown">;
8
+ type: globalThis.PropType<import('../../..').TagColor>;
9
9
  default: string;
10
10
  description: string;
11
11
  };
12
12
  size: {
13
- type: globalThis.PropType<"small" | "medium" | "large">;
13
+ type: globalThis.PropType<import('../../..').TagSize>;
14
14
  default: string;
15
15
  description: string;
16
16
  };
@@ -33,17 +33,17 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
33
33
  close: (...args: any[]) => void;
34
34
  }, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
35
35
  type: {
36
- type: globalThis.PropType<"fill" | "light" | "ghost">;
36
+ type: globalThis.PropType<import('../../..').TagType>;
37
37
  default: string;
38
38
  description: string;
39
39
  };
40
40
  color: {
41
- type: globalThis.PropType<"red" | "orange" | "yellow" | "green" | "mint" | "teal" | "cyan" | "blue" | "indigo" | "purple" | "pink" | "gray" | "brown">;
41
+ type: globalThis.PropType<import('../../..').TagColor>;
42
42
  default: string;
43
43
  description: string;
44
44
  };
45
45
  size: {
46
- type: globalThis.PropType<"small" | "medium" | "large">;
46
+ type: globalThis.PropType<import('../../..').TagSize>;
47
47
  default: string;
48
48
  description: string;
49
49
  };
@@ -65,10 +65,10 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
65
65
  }>> & {
66
66
  onClose?: ((...args: any[]) => any) | undefined;
67
67
  }, {
68
- type: "fill" | "light" | "ghost";
69
- size: "small" | "medium" | "large";
68
+ type: import('../../..').TagType;
69
+ color: import('../../..').TagColor;
70
70
  round: boolean;
71
- color: "red" | "orange" | "yellow" | "green" | "mint" | "teal" | "cyan" | "blue" | "indigo" | "purple" | "pink" | "gray" | "brown";
71
+ size: import('../../..').TagSize;
72
72
  disabled: boolean;
73
73
  closable: boolean;
74
74
  }, {}>, {
@@ -1,8 +1,8 @@
1
1
  import { ExtractPropTypes, PropType } from 'vue';
2
2
 
3
- type TagSize = 'small' | 'medium' | 'large';
4
- type TagType = 'fill' | 'light' | 'ghost';
5
- type TagColor = 'red' | 'orange' | 'yellow' | 'green' | 'mint' | 'teal' | 'cyan' | 'blue' | 'indigo' | 'purple' | 'pink' | 'gray' | 'brown';
3
+ export type TagSize = 'small' | 'medium' | 'large';
4
+ export type TagType = 'fill' | 'light' | 'ghost';
5
+ export type TagColor = 'red' | 'orange' | 'yellow' | 'green' | 'mint' | 'teal' | 'cyan' | 'blue' | 'indigo' | 'purple' | 'pink' | 'gray' | 'brown' | 'success' | 'normal' | 'warning' | 'error' | 'info';
6
6
  export declare const tagProps: {
7
7
  type: {
8
8
  type: PropType<TagType>;
@@ -36,4 +36,3 @@ export declare const tagProps: {
36
36
  };
37
37
  };
38
38
  export type TagProps = ExtractPropTypes<typeof tagProps>;
39
- export {};
@@ -1,6 +1,6 @@
1
1
  declare const _default: import('vue').DefineComponent<{
2
2
  text: {
3
- type: (ArrayConstructor | BooleanConstructor | StringConstructor | NumberConstructor)[];
3
+ type: (StringConstructor | ArrayConstructor | BooleanConstructor | NumberConstructor)[];
4
4
  default: string;
5
5
  description: string;
6
6
  };
@@ -36,7 +36,7 @@ declare const _default: import('vue').DefineComponent<{
36
36
  };
37
37
  }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
38
38
  text: {
39
- type: (ArrayConstructor | BooleanConstructor | StringConstructor | NumberConstructor)[];
39
+ type: (StringConstructor | ArrayConstructor | BooleanConstructor | NumberConstructor)[];
40
40
  default: string;
41
41
  description: string;
42
42
  };
@@ -71,8 +71,8 @@ declare const _default: import('vue').DefineComponent<{
71
71
  description: string;
72
72
  };
73
73
  }>>, {
74
- text: string | number | boolean | unknown[];
75
74
  x: string;
75
+ text: string | number | boolean | unknown[];
76
76
  placement: string;
77
77
  offset: unknown[];
78
78
  allowHtml: boolean;
@@ -2,7 +2,7 @@ import { ExtractPropTypes } from 'vue';
2
2
 
3
3
  export declare const textTrimProps: {
4
4
  text: {
5
- type: (ArrayConstructor | BooleanConstructor | StringConstructor | NumberConstructor)[];
5
+ type: (StringConstructor | ArrayConstructor | BooleanConstructor | NumberConstructor)[];
6
6
  default: string;
7
7
  description: string;
8
8
  };
@@ -1,5 +1,5 @@
1
1
  declare const _default: import('vue').DefineComponent<{
2
- modelValue: globalThis.PropType<string | undefined>;
2
+ modelValue: globalThis.PropType<any>;
3
3
  size: {
4
4
  type: StringConstructor;
5
5
  default: string;
@@ -68,11 +68,11 @@ declare const _default: import('vue').DefineComponent<{
68
68
  change: (...args: any[]) => void;
69
69
  blur: (...args: any[]) => void;
70
70
  clear: (...args: any[]) => void;
71
- ok: (...args: any[]) => void;
72
71
  focus: (...args: any[]) => void;
72
+ ok: (...args: any[]) => void;
73
73
  "update:type": (...args: any[]) => void;
74
74
  }, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
75
- modelValue: globalThis.PropType<string | undefined>;
75
+ modelValue: globalThis.PropType<any>;
76
76
  size: {
77
77
  type: StringConstructor;
78
78
  default: string;
@@ -143,13 +143,13 @@ declare const _default: import('vue').DefineComponent<{
143
143
  onTextarea?: ((...args: any[]) => any) | undefined;
144
144
  "onUpdate:type"?: ((...args: any[]) => any) | undefined;
145
145
  }, {
146
- size: string;
147
146
  width: string | number;
148
- height: string | number;
149
- disabled: boolean;
147
+ size: string;
150
148
  placeholder: string;
151
149
  clearable: boolean;
152
150
  readonly: boolean;
151
+ disabled: boolean;
152
+ height: string | number;
153
153
  focusSelect: boolean;
154
154
  maxLength: string | number;
155
155
  showCount: boolean;
@@ -1,6 +1,6 @@
1
1
  declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
2
2
  bold: {
3
- type: globalThis.PropType<100 | 500 | 400 | 200 | 300 | 600 | 700 | 800 | 900>;
3
+ type: globalThis.PropType<400 | 100 | 500 | 200 | 300 | 600 | 700 | 800 | 900>;
4
4
  default: number;
5
5
  description: string;
6
6
  };
@@ -10,13 +10,13 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
10
10
  description: string;
11
11
  };
12
12
  color: {
13
- type: globalThis.PropType<"red" | "orange" | "yellow" | "green" | "mint" | "teal" | "cyan" | "blue" | "indigo" | "purple" | "pink" | "gray" | "brown">;
13
+ type: globalThis.PropType<"gray" | "orange" | "green" | "red" | "blue" | "yellow" | "mint" | "teal" | "cyan" | "indigo" | "purple" | "pink" | "brown">;
14
14
  default: string;
15
15
  description: string;
16
16
  };
17
17
  }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
18
18
  bold: {
19
- type: globalThis.PropType<100 | 500 | 400 | 200 | 300 | 600 | 700 | 800 | 900>;
19
+ type: globalThis.PropType<400 | 100 | 500 | 200 | 300 | 600 | 700 | 800 | 900>;
20
20
  default: number;
21
21
  description: string;
22
22
  };
@@ -26,14 +26,14 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
26
26
  description: string;
27
27
  };
28
28
  color: {
29
- type: globalThis.PropType<"red" | "orange" | "yellow" | "green" | "mint" | "teal" | "cyan" | "blue" | "indigo" | "purple" | "pink" | "gray" | "brown">;
29
+ type: globalThis.PropType<"gray" | "orange" | "green" | "red" | "blue" | "yellow" | "mint" | "teal" | "cyan" | "indigo" | "purple" | "pink" | "brown">;
30
30
  default: string;
31
31
  description: string;
32
32
  };
33
33
  }>>, {
34
- bold: 100 | 500 | 400 | 200 | 300 | 600 | 700 | 800 | 900;
34
+ bold: 400 | 100 | 500 | 200 | 300 | 600 | 700 | 800 | 900;
35
+ color: "gray" | "orange" | "green" | "red" | "blue" | "yellow" | "mint" | "teal" | "cyan" | "indigo" | "purple" | "pink" | "brown";
35
36
  size: string | number;
36
- color: "red" | "orange" | "yellow" | "green" | "mint" | "teal" | "cyan" | "blue" | "indigo" | "purple" | "pink" | "gray" | "brown";
37
37
  }, {}>, {
38
38
  default?(_: {}): any;
39
39
  }>;
@@ -1,8 +1,8 @@
1
1
  import { TreeDataSource } from './props';
2
2
 
3
3
  declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
4
- modelValue: globalThis.PropType<string | (string | number)[] | undefined>;
5
- expandedKeys: globalThis.PropType<(string | number)[] | undefined>;
4
+ modelValue: globalThis.PropType<any>;
5
+ expandedKeys: globalThis.PropType<any>;
6
6
  dataSource: {
7
7
  type: globalThis.PropType<TreeDataSource[]>;
8
8
  default: never[];
@@ -34,7 +34,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
34
34
  description: string;
35
35
  };
36
36
  trigger: {
37
- type: globalThis.PropType<import('./props').TreeTriggerType>;
37
+ type: globalThis.PropType<import('../../..').TreeTriggerType>;
38
38
  default: string;
39
39
  description: string;
40
40
  };
@@ -68,15 +68,22 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
68
68
  default: undefined;
69
69
  description: string;
70
70
  };
71
+ isSelect: {
72
+ type: BooleanConstructor;
73
+ default: boolean;
74
+ hidden: boolean;
75
+ description: string;
76
+ };
71
77
  }, {
72
78
  init: (keyword?: string) => Promise<any>;
73
79
  getTreeList: () => any;
74
80
  }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
75
81
  change: (...args: any[]) => void;
76
- initSuccess: (...args: any[]) => void;
82
+ initStart: (...args: any[]) => void;
83
+ initEnd: (...args: any[]) => void;
77
84
  }, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
78
- modelValue: globalThis.PropType<string | (string | number)[] | undefined>;
79
- expandedKeys: globalThis.PropType<(string | number)[] | undefined>;
85
+ modelValue: globalThis.PropType<any>;
86
+ expandedKeys: globalThis.PropType<any>;
80
87
  dataSource: {
81
88
  type: globalThis.PropType<TreeDataSource[]>;
82
89
  default: never[];
@@ -108,7 +115,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
108
115
  description: string;
109
116
  };
110
117
  trigger: {
111
- type: globalThis.PropType<import('./props').TreeTriggerType>;
118
+ type: globalThis.PropType<import('../../..').TreeTriggerType>;
112
119
  default: string;
113
120
  description: string;
114
121
  };
@@ -142,13 +149,20 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
142
149
  default: undefined;
143
150
  description: string;
144
151
  };
152
+ isSelect: {
153
+ type: BooleanConstructor;
154
+ default: boolean;
155
+ hidden: boolean;
156
+ description: string;
157
+ };
145
158
  }>> & {
146
159
  onChange?: ((...args: any[]) => any) | undefined;
147
- onInitSuccess?: ((...args: any[]) => any) | undefined;
160
+ onInitStart?: ((...args: any[]) => any) | undefined;
161
+ onInitEnd?: ((...args: any[]) => any) | undefined;
148
162
  }, {
149
163
  multiple: boolean;
150
164
  free: boolean;
151
- trigger: import('./props').TreeTriggerType;
165
+ trigger: import('../../..').TreeTriggerType;
152
166
  placeholder: string;
153
167
  onload: (item: TreeDataSource) => void;
154
168
  dataSource: TreeDataSource[];
@@ -159,27 +173,12 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
159
173
  expandAll: boolean;
160
174
  showLine: boolean;
161
175
  disabledField: string;
176
+ isSelect: boolean;
162
177
  }, {}>, {
163
178
  item?(_: {
164
- props: {
165
- checked: boolean;
166
- label: string;
167
- key: string;
168
- level: number;
169
- isLeaf?: boolean | undefined;
170
- loading?: boolean | undefined;
171
- disabled?: boolean | undefined;
172
- parentKey?: string | number | undefined;
173
- treeIndex?: number | undefined;
174
- labelPaths?: string[] | undefined;
175
- valueKeys?: string[] | undefined;
176
- parentKeyPaths?: string[] | undefined;
177
- parentLabelPaths?: string[] | undefined;
178
- allNodeValues: string[];
179
- leafNodeValues: string[];
180
- children?: TreeDataSource[] | undefined;
181
- };
179
+ props: any;
182
180
  }): any;
181
+ empty?(_: {}): any;
183
182
  }>;
184
183
  export default _default;
185
184
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -20,12 +20,12 @@ export type TreeDataSource = {
20
20
  export type TreeTriggerType = 'click' | 'hover';
21
21
  export declare const treeModel: {
22
22
  modelValue: {
23
- type: (ArrayConstructor | StringConstructor)[];
23
+ type: (StringConstructor | ArrayConstructor)[];
24
24
  default: never[];
25
25
  description: string;
26
26
  };
27
27
  expandedKeys: {
28
- type: (ArrayConstructor | StringConstructor)[];
28
+ type: (StringConstructor | ArrayConstructor)[];
29
29
  default: never[];
30
30
  description: string;
31
31
  };
@@ -96,4 +96,10 @@ export declare const treeProps: {
96
96
  default: undefined;
97
97
  description: string;
98
98
  };
99
+ isSelect: {
100
+ type: BooleanConstructor;
101
+ default: boolean;
102
+ hidden: boolean;
103
+ description: string;
104
+ };
99
105
  };