lew-ui 2.1.14 → 2.2.1

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 (107) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +49 -53
  3. package/dist/components/avatar/src/LewAvatar.vue.d.ts +0 -11
  4. package/dist/components/avatar/src/props.d.ts +0 -5
  5. package/dist/components/backtop/src/LewBackTop.vue.d.ts +6 -4
  6. package/dist/components/badge/src/LewBadge.vue.d.ts +6 -4
  7. package/dist/components/breadcrumb/src/LewBreadcrumb.vue.d.ts +6 -2
  8. package/dist/components/breadcrumb/src/props.d.ts +1 -1
  9. package/dist/components/button/src/LewButton.vue.d.ts +7 -5
  10. package/dist/components/cascader/src/LewCascader.vue.d.ts +8 -6
  11. package/dist/components/checkbox/src/LewCheckbox.vue.d.ts +4 -4
  12. package/dist/components/collapse/index.d.ts +4 -0
  13. package/dist/components/collapse/src/LewCollapse.vue.d.ts +38 -0
  14. package/dist/components/collapse/src/LewCollapseItem.vue.d.ts +68 -0
  15. package/dist/components/collapse/src/props.d.ts +52 -0
  16. package/dist/components/date-picker/index.d.ts +0 -2
  17. package/dist/components/date-picker/src/LewDate.vue.d.ts +3 -3
  18. package/dist/components/date-picker/src/LewDatePicker.vue.d.ts +13 -2
  19. package/dist/components/date-picker/src/props.d.ts +6 -69
  20. package/dist/components/date-range-picker/index.d.ts +3 -0
  21. package/dist/components/{date-picker → date-range-picker}/src/LewDateRange.vue.d.ts +2 -2
  22. package/dist/components/{date-picker → date-range-picker}/src/LewDateRangePicker.vue.d.ts +7 -5
  23. package/dist/components/date-range-picker/src/props.d.ts +75 -0
  24. package/dist/components/drawer/src/LewDrawer.vue.d.ts +16 -14
  25. package/dist/components/drawer/src/props.d.ts +3 -3
  26. package/dist/components/dropdown/src/LewDropdown.vue.d.ts +9 -42
  27. package/dist/components/dropdown/src/props.d.ts +2 -16
  28. package/dist/components/empty/src/LewEmpty.vue.d.ts +23 -1
  29. package/dist/components/empty/src/props.d.ts +10 -0
  30. package/dist/components/flex/src/LewFlex.vue.d.ts +6 -4
  31. package/dist/components/form/index.d.ts +1 -0
  32. package/dist/components/form/src/LewForm.vue.d.ts +67 -7
  33. package/dist/components/form/src/LewFormItem.vue.d.ts +189 -0
  34. package/dist/components/form/src/LewGetLabelWidth.vue.d.ts +22 -0
  35. package/dist/components/form/src/RequiredIcon.vue.d.ts +14 -0
  36. package/dist/components/form/src/props.d.ts +107 -7
  37. package/dist/components/image/index.d.ts +2 -0
  38. package/dist/components/image/src/LewImage.vue.d.ts +124 -0
  39. package/dist/components/image/src/props.d.ts +55 -0
  40. package/dist/components/index.d.ts +7 -0
  41. package/dist/components/input/src/LewInput.vue.d.ts +12 -12
  42. package/dist/components/input/src/props.d.ts +3 -3
  43. package/dist/components/input-number/index.d.ts +2 -0
  44. package/dist/components/input-number/src/LewInputNumber.vue.d.ts +150 -0
  45. package/dist/components/input-number/src/props.d.ts +67 -0
  46. package/dist/components/input-tag/src/LewInputTag.vue.d.ts +2 -2
  47. package/dist/components/mark/src/LewMark.vue.d.ts +15 -9
  48. package/dist/components/mark/src/props.d.ts +1 -1
  49. package/dist/components/menu/src/props.d.ts +1 -1
  50. package/dist/components/menu-tree/src/props.d.ts +1 -1
  51. package/dist/components/modal/src/LewModal.vue.d.ts +34 -10
  52. package/dist/components/modal/src/props.d.ts +11 -1
  53. package/dist/components/pagination/src/LewPagination.vue.d.ts +15 -13
  54. package/dist/components/pagination/src/props.d.ts +2 -2
  55. package/dist/components/popok/src/LewPopok.vue.d.ts +9 -7
  56. package/dist/components/popok/src/props.d.ts +1 -1
  57. package/dist/components/popover/src/LewPopover.vue.d.ts +12 -10
  58. package/dist/components/popover/src/props.d.ts +1 -1
  59. package/dist/components/radio/src/LewRadio.vue.d.ts +1 -1
  60. package/dist/components/radio/src/LewRadioGroup.vue.d.ts +2 -2
  61. package/dist/components/result/src/LewResult.vue.d.ts +6 -4
  62. package/dist/components/select/src/LewSelect.vue.d.ts +14 -12
  63. package/dist/components/select-multiple/src/LewSelectMultiple.vue.d.ts +14 -12
  64. package/dist/components/slider/index.d.ts +2 -0
  65. package/dist/components/slider/src/LewSlider.vue.d.ts +8 -0
  66. package/dist/components/slider/src/props.d.ts +4 -0
  67. package/dist/components/slider-range/index.d.ts +2 -0
  68. package/dist/components/slider-range/src/LewSliderRange.vue.d.ts +8 -0
  69. package/dist/components/slider-range/src/props.d.ts +4 -0
  70. package/dist/components/steps/src/LewSteps.vue.d.ts +2 -2
  71. package/dist/components/switch/src/LewSwitch.vue.d.ts +5 -5
  72. package/dist/components/switch/src/props.d.ts +1 -1
  73. package/dist/components/table/src/LewTable.vue.d.ts +16 -14
  74. package/dist/components/tabs/src/LewTabs.vue.d.ts +3 -3
  75. package/dist/components/tag/src/LewTag.vue.d.ts +8 -6
  76. package/dist/components/text-trim/src/LewTextTrim.vue.d.ts +3 -3
  77. package/dist/components/text-trim/src/props.d.ts +1 -1
  78. package/dist/components/textarea/src/LewTextarea.vue.d.ts +2 -2
  79. package/dist/components/title/src/LewTitle.vue.d.ts +6 -4
  80. package/dist/components/tree/src/LewTree.vue.d.ts +13 -11
  81. package/dist/components/tree-select/src/LewTreeSelect.vue.d.ts +13 -11
  82. package/dist/components/tree-select/src/props.d.ts +1 -1
  83. package/dist/components/upload/index.d.ts +2 -0
  84. package/dist/components/upload/src/LewUpload.vue.d.ts +123 -0
  85. package/dist/components/upload/src/props.d.ts +69 -0
  86. package/dist/directives/context-menu/index.d.ts +2 -0
  87. package/dist/directives/context-menu/src/LewContextMenu.vue.d.ts +22 -0
  88. package/dist/directives/context-menu/src/index.d.ts +24 -0
  89. package/dist/directives/dialog/index.d.ts +1 -2
  90. package/dist/directives/dialog/src/LewDialog.vue.d.ts +7 -7
  91. package/dist/directives/dialog/src/index.d.ts +10 -2
  92. package/dist/directives/dialog/src/props.d.ts +1 -1
  93. package/dist/directives/index.d.ts +1 -0
  94. package/dist/directives/loading/index.d.ts +1 -1
  95. package/dist/directives/loading/src/index.d.ts +1 -2
  96. package/dist/directives/notification/index.d.ts +0 -1
  97. package/dist/directives/notification/src/index.d.ts +16 -2
  98. package/dist/directives/tooltip/index.d.ts +1 -1
  99. package/dist/directives/tooltip/src/index.d.ts +1 -2
  100. package/dist/hooks/index.d.ts +0 -1
  101. package/dist/index.d.ts +1 -1
  102. package/dist/index.mjs +5655 -3565
  103. package/dist/index.umd.js +16 -16
  104. package/dist/style.css +1 -1
  105. package/dist/utils/index.d.ts +8 -2
  106. package/package.json +7 -6
  107. package/dist/hooks/src/useLewTo.d.ts +0 -3
@@ -1,7 +1,15 @@
1
1
  import { SelectOptions } from './props';
2
2
 
3
- declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
4
- modelValue: globalThis.PropType<any>;
3
+ declare function __VLS_template(): {
4
+ header?(_: {}): any;
5
+ empty?(_: {}): any;
6
+ item?(_: {
7
+ props: any;
8
+ }): any;
9
+ footer?(_: {}): any;
10
+ };
11
+ declare const __VLS_component: import('vue').DefineComponent<{
12
+ modelValue: import('vue').PropType<any>;
5
13
  defaultValue: {
6
14
  type: (StringConstructor | NumberConstructor)[];
7
15
  default: string;
@@ -80,7 +88,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
80
88
  blur: (...args: any[]) => void;
81
89
  clear: (...args: any[]) => void;
82
90
  }, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
83
- modelValue: globalThis.PropType<any>;
91
+ modelValue: import('vue').PropType<any>;
84
92
  defaultValue: {
85
93
  type: (StringConstructor | NumberConstructor)[];
86
94
  default: string;
@@ -163,21 +171,15 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
163
171
  clearable: boolean;
164
172
  readonly: boolean;
165
173
  disabled: boolean;
174
+ itemHeight: number;
166
175
  searchable: boolean;
167
176
  searchDelay: number;
168
177
  align: string;
169
178
  showCheckIcon: boolean;
170
179
  defaultValue: string | number;
171
- itemHeight: number;
172
180
  searchMethod: (e: import('../../..').SelectSearchMethodParams) => SelectOptions[];
173
- }, {}>, {
174
- header?(_: {}): any;
175
- empty?(_: {}): any;
176
- item?(_: {
177
- props: any;
178
- }): any;
179
- footer?(_: {}): any;
180
- }>;
181
+ }, {}>;
182
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
181
183
  export default _default;
182
184
  type __VLS_WithTemplateSlots<T, S> = T & {
183
185
  new (): {
@@ -1,7 +1,15 @@
1
1
  import { SelectMultipleOptions } from './props';
2
2
 
3
- declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
4
- modelValue: globalThis.PropType<any>;
3
+ declare function __VLS_template(): {
4
+ header?(_: {}): any;
5
+ empty?(_: {}): any;
6
+ item?(_: {
7
+ props: any;
8
+ }): any;
9
+ footer?(_: {}): any;
10
+ };
11
+ declare const __VLS_component: import('vue').DefineComponent<{
12
+ modelValue: import('vue').PropType<any>;
5
13
  options: {
6
14
  type: globalThis.PropType<SelectMultipleOptions[]>;
7
15
  default: never[];
@@ -97,7 +105,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
97
105
  clear: (...args: any[]) => void;
98
106
  delete: (...args: any[]) => void;
99
107
  }, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
100
- modelValue: globalThis.PropType<any>;
108
+ modelValue: import('vue').PropType<any>;
101
109
  options: {
102
110
  type: globalThis.PropType<SelectMultipleOptions[]>;
103
111
  default: never[];
@@ -197,24 +205,18 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
197
205
  clearable: boolean;
198
206
  readonly: boolean;
199
207
  disabled: boolean;
208
+ itemHeight: number;
200
209
  searchable: boolean;
201
210
  searchDelay: number;
202
211
  align: string;
203
212
  showCheckIcon: boolean;
204
213
  defaultValue: string[] | number[];
205
- itemHeight: number;
206
214
  searchMethod: (e: import('../../..').SelectSearchMultipleMethodParams) => void;
207
215
  valueLayout: string;
208
216
  valueTextSplit: string;
209
217
  searchPlaceholder: string;
210
- }, {}>, {
211
- header?(_: {}): any;
212
- empty?(_: {}): any;
213
- item?(_: {
214
- props: any;
215
- }): any;
216
- footer?(_: {}): any;
217
- }>;
218
+ }, {}>;
219
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
218
220
  export default _default;
219
221
  type __VLS_WithTemplateSlots<T, S> = T & {
220
222
  new (): {
@@ -0,0 +1,2 @@
1
+ export { default as LewSlider } from './src/LewSlider.vue';
2
+ export * from './src/props';
@@ -0,0 +1,8 @@
1
+ declare const _default: import('vue').DefineComponent<Readonly<import('vue').ComponentPropsOptions<{
2
+ [x: string]: unknown;
3
+ }>>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, readonly string[] | Readonly<globalThis.ExtractPropTypes<Readonly<import('vue').ComponentObjectPropsOptions<{
4
+ [x: string]: unknown;
5
+ }>>>>, {
6
+ readonly [x: number]: string;
7
+ } | {}, {}>;
8
+ export default _default;
@@ -0,0 +1,4 @@
1
+ import { ExtractPropTypes } from 'vue';
2
+
3
+ export declare const sliderProps: {};
4
+ export type SliderProps = ExtractPropTypes<typeof sliderProps>;
@@ -0,0 +1,2 @@
1
+ export { default as LewSliderRange } from './src/LewSliderRange.vue';
2
+ export * from './src/props';
@@ -0,0 +1,8 @@
1
+ declare const _default: import('vue').DefineComponent<Readonly<import('vue').ComponentPropsOptions<{
2
+ [x: string]: unknown;
3
+ }>>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, readonly string[] | Readonly<globalThis.ExtractPropTypes<Readonly<import('vue').ComponentObjectPropsOptions<{
4
+ [x: string]: unknown;
5
+ }>>>>, {
6
+ readonly [x: number]: string;
7
+ } | {}, {}>;
8
+ export default _default;
@@ -0,0 +1,4 @@
1
+ import { ExtractPropTypes } from 'vue';
2
+
3
+ export declare const sliderRangeProps: {};
4
+ export type SliderRangeProps = ExtractPropTypes<typeof sliderRangeProps>;
@@ -1,5 +1,5 @@
1
1
  declare const _default: import('vue').DefineComponent<{
2
- modelValue: globalThis.PropType<any>;
2
+ modelValue: import('vue').PropType<any>;
3
3
  options: {
4
4
  type: globalThis.PropType<import('./props').StepsOptions[]>;
5
5
  default: never[];
@@ -11,7 +11,7 @@ declare const _default: import('vue').DefineComponent<{
11
11
  description: string;
12
12
  };
13
13
  }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
14
- modelValue: globalThis.PropType<any>;
14
+ modelValue: import('vue').PropType<any>;
15
15
  options: {
16
16
  type: globalThis.PropType<import('./props').StepsOptions[]>;
17
17
  default: never[];
@@ -1,7 +1,7 @@
1
1
  declare const _default: import('vue').DefineComponent<{
2
- modelValue: globalThis.PropType<any>;
2
+ modelValue: import('vue').PropType<any>;
3
3
  round: {
4
- type: BooleanConstructor;
4
+ type: (BooleanConstructor | NumberConstructor)[];
5
5
  default: boolean;
6
6
  description: string;
7
7
  };
@@ -24,9 +24,9 @@ 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<any>;
27
+ modelValue: import('vue').PropType<any>;
28
28
  round: {
29
- type: BooleanConstructor;
29
+ type: (BooleanConstructor | NumberConstructor)[];
30
30
  default: boolean;
31
31
  description: string;
32
32
  };
@@ -49,7 +49,7 @@ declare const _default: import('vue').DefineComponent<{
49
49
  onChange?: ((...args: any[]) => any) | undefined;
50
50
  onClick?: ((...args: any[]) => any) | undefined;
51
51
  }, {
52
- round: boolean;
52
+ round: number | boolean;
53
53
  disabled: boolean;
54
54
  loading: boolean;
55
55
  request: Function;
@@ -12,7 +12,7 @@ export declare const switchProps: {
12
12
  description: string;
13
13
  };
14
14
  round: {
15
- type: BooleanConstructor;
15
+ type: (BooleanConstructor | NumberConstructor)[];
16
16
  default: boolean;
17
17
  description: string;
18
18
  };
@@ -1,4 +1,14 @@
1
- declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
1
+ declare function __VLS_template(): Partial<Record<string, (_: {
2
+ row: any;
3
+ column: import('../../..').TableColumns;
4
+ }) => any>> & Partial<Record<string, (_: {
5
+ row: any;
6
+ column: import('../../..').TableColumns;
7
+ }) => any>> & Partial<Record<string, (_: {
8
+ row: any;
9
+ column: import('../../..').TableColumns;
10
+ }) => any>>;
11
+ declare const __VLS_component: import('vue').DefineComponent<{
2
12
  rowKey: {
3
13
  type: StringConstructor;
4
14
  default: string;
@@ -31,7 +41,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
31
41
  };
32
42
  }, {
33
43
  setSelectedKeys: (keys: any) => void;
34
- getSelectedKeys: () => any;
44
+ getSelectedKeys: () => string[];
35
45
  }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
36
46
  rowKey: {
37
47
  type: StringConstructor;
@@ -65,21 +75,13 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
65
75
  };
66
76
  }>>, {
67
77
  dataSource: any;
68
- maxHeight: string | number;
69
- rowKey: string;
70
78
  columns: import('../../..').TableColumns[];
79
+ rowKey: string;
80
+ maxHeight: string | number;
71
81
  checkable: boolean;
72
82
  singleSelect: boolean;
73
- }, {}>, Partial<Record<string, (_: {
74
- row: any;
75
- column: import('../../..').TableColumns;
76
- }) => any>> & Partial<Record<string, (_: {
77
- row: any;
78
- column: import('../../..').TableColumns;
79
- }) => any>> & Partial<Record<string, (_: {
80
- row: any;
81
- column: import('../../..').TableColumns;
82
- }) => any>>>;
83
+ }, {}>;
84
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
83
85
  export default _default;
84
86
  type __VLS_WithTemplateSlots<T, S> = T & {
85
87
  new (): {
@@ -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<any>;
6
+ type: import('vue').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<any>;
43
+ type: import('vue').PropType<any>;
44
44
  };
45
45
  options: {
46
46
  type: globalThis.PropType<TabsOptions[]>;
@@ -75,8 +75,8 @@ declare const _default: import('vue').DefineComponent<{
75
75
  }>> & {
76
76
  onChange?: ((...args: any[]) => any) | undefined;
77
77
  }, {
78
- width: string | number;
79
78
  type: import('./props').TabsType;
79
+ width: string | number;
80
80
  round: boolean;
81
81
  size: import('./props').TabsSize;
82
82
  options: TabsOptions[];
@@ -1,4 +1,9 @@
1
- declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
1
+ declare function __VLS_template(): {
2
+ left?(_: {}): any;
3
+ default?(_: {}): any;
4
+ right?(_: {}): any;
5
+ };
6
+ declare const __VLS_component: import('vue').DefineComponent<{
2
7
  type: {
3
8
  type: globalThis.PropType<import('../../..').TagType>;
4
9
  default: string;
@@ -71,11 +76,8 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
71
76
  size: import('../../..').TagSize;
72
77
  disabled: boolean;
73
78
  closable: boolean;
74
- }, {}>, {
75
- left?(_: {}): any;
76
- default?(_: {}): any;
77
- right?(_: {}): any;
78
- }>;
79
+ }, {}>;
80
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
79
81
  export default _default;
80
82
  type __VLS_WithTemplateSlots<T, S> = T & {
81
83
  new (): {
@@ -4,7 +4,7 @@ declare const _default: import('vue').DefineComponent<{
4
4
  default: string;
5
5
  description: string;
6
6
  };
7
- allowHtml: {
7
+ allowHTML: {
8
8
  type: BooleanConstructor;
9
9
  default: boolean;
10
10
  description: string;
@@ -40,7 +40,7 @@ declare const _default: import('vue').DefineComponent<{
40
40
  default: string;
41
41
  description: string;
42
42
  };
43
- allowHtml: {
43
+ allowHTML: {
44
44
  type: BooleanConstructor;
45
45
  default: boolean;
46
46
  description: string;
@@ -75,7 +75,7 @@ declare const _default: import('vue').DefineComponent<{
75
75
  text: string | number | boolean | unknown[];
76
76
  placement: string;
77
77
  offset: unknown[];
78
- allowHtml: boolean;
78
+ allowHTML: boolean;
79
79
  delay: unknown[];
80
80
  lineClamp: number;
81
81
  }, {}>;
@@ -6,7 +6,7 @@ export declare const textTrimProps: {
6
6
  default: string;
7
7
  description: string;
8
8
  };
9
- allowHtml: {
9
+ allowHTML: {
10
10
  type: BooleanConstructor;
11
11
  default: boolean;
12
12
  description: string;
@@ -1,5 +1,5 @@
1
1
  declare const _default: import('vue').DefineComponent<{
2
- modelValue: globalThis.PropType<any>;
2
+ modelValue: import('vue').PropType<any>;
3
3
  size: {
4
4
  type: StringConstructor;
5
5
  default: string;
@@ -72,7 +72,7 @@ declare const _default: import('vue').DefineComponent<{
72
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<any>;
75
+ modelValue: import('vue').PropType<any>;
76
76
  size: {
77
77
  type: StringConstructor;
78
78
  default: string;
@@ -1,4 +1,7 @@
1
- declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
1
+ declare function __VLS_template(): {
2
+ default?(_: {}): any;
3
+ };
4
+ declare const __VLS_component: import('vue').DefineComponent<{
2
5
  bold: {
3
6
  type: globalThis.PropType<400 | 200 | 500 | 100 | 300 | 600 | 700 | 800 | 900>;
4
7
  default: number;
@@ -34,9 +37,8 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
34
37
  bold: 400 | 200 | 500 | 100 | 300 | 600 | 700 | 800 | 900;
35
38
  color: "gray" | "orange" | "green" | "red" | "blue" | "yellow" | "mint" | "teal" | "cyan" | "indigo" | "purple" | "pink" | "brown";
36
39
  size: string | number;
37
- }, {}>, {
38
- default?(_: {}): any;
39
- }>;
40
+ }, {}>;
41
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
40
42
  export default _default;
41
43
  type __VLS_WithTemplateSlots<T, S> = T & {
42
44
  new (): {
@@ -1,8 +1,14 @@
1
1
  import { TreeDataSource } from './props';
2
2
 
3
- declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
4
- modelValue: globalThis.PropType<any>;
5
- expandedKeys: globalThis.PropType<any>;
3
+ declare function __VLS_template(): {
4
+ item?(_: {
5
+ props: any;
6
+ }): any;
7
+ empty?(_: {}): any;
8
+ };
9
+ declare const __VLS_component: import('vue').DefineComponent<{
10
+ modelValue: import('vue').PropType<any>;
11
+ expandedKeys: import('vue').PropType<any>;
6
12
  dataSource: {
7
13
  type: globalThis.PropType<TreeDataSource[]>;
8
14
  default: never[];
@@ -82,8 +88,8 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
82
88
  initStart: (...args: any[]) => void;
83
89
  initEnd: (...args: any[]) => void;
84
90
  }, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
85
- modelValue: globalThis.PropType<any>;
86
- expandedKeys: globalThis.PropType<any>;
91
+ modelValue: import('vue').PropType<any>;
92
+ expandedKeys: import('vue').PropType<any>;
87
93
  dataSource: {
88
94
  type: globalThis.PropType<TreeDataSource[]>;
89
95
  default: never[];
@@ -174,12 +180,8 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
174
180
  showLine: boolean;
175
181
  disabledField: string;
176
182
  isSelect: boolean;
177
- }, {}>, {
178
- item?(_: {
179
- props: any;
180
- }): any;
181
- empty?(_: {}): any;
182
- }>;
183
+ }, {}>;
184
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
183
185
  export default _default;
184
186
  type __VLS_WithTemplateSlots<T, S> = T & {
185
187
  new (): {
@@ -1,7 +1,15 @@
1
1
  import { TreeDataSource } from '../../tree';
2
2
 
3
- declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
4
- modelValue: globalThis.PropType<any>;
3
+ declare function __VLS_template(): {
4
+ header?(_: {}): any;
5
+ empty?(_: {}): any;
6
+ item?(_: {
7
+ props: any;
8
+ }): any;
9
+ footer?(_: {}): any;
10
+ };
11
+ declare const __VLS_component: import('vue').DefineComponent<{
12
+ modelValue: import('vue').PropType<any>;
5
13
  dataSource: {
6
14
  type: globalThis.PropType<TreeDataSource[]>;
7
15
  default: never[];
@@ -120,7 +128,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
120
128
  blur: (...args: any[]) => void;
121
129
  clear: (...args: any[]) => void;
122
130
  }, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
123
- modelValue: globalThis.PropType<any>;
131
+ modelValue: import('vue').PropType<any>;
124
132
  dataSource: {
125
133
  type: globalThis.PropType<TreeDataSource[]>;
126
134
  default: never[];
@@ -258,14 +266,8 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
258
266
  align: string;
259
267
  showCheckIcon: boolean;
260
268
  defaultValue: string;
261
- }, {}>, {
262
- header?(_: {}): any;
263
- empty?(_: {}): any;
264
- item?(_: {
265
- props: any;
266
- }): any;
267
- footer?(_: {}): any;
268
- }>;
269
+ }, {}>;
270
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
269
271
  export default _default;
270
272
  type __VLS_WithTemplateSlots<T, S> = T & {
271
273
  new (): {
@@ -1,5 +1,5 @@
1
- import { TreeDataSource } from '../../tree';
2
1
  import { PropType } from 'vue';
2
+ import { TreeDataSource } from '../../tree';
3
3
 
4
4
  export type TreeSelectOptions = {
5
5
  label: string;
@@ -0,0 +1,2 @@
1
+ export { default as LewUpload } from './src/LewUpload.vue';
2
+ export * from './src/props';
@@ -0,0 +1,123 @@
1
+ import { UploadFileItem } from './props';
2
+
3
+ declare const _default: import('vue').DefineComponent<{
4
+ modelValue: import('vue').PropType<UploadFileItem[]>;
5
+ size: {
6
+ type: PropType<import('../..').FormSize>;
7
+ default: string;
8
+ description: string;
9
+ };
10
+ accept: {
11
+ type: StringConstructor;
12
+ default: string;
13
+ description: string;
14
+ };
15
+ maxFileSize: {
16
+ type: NumberConstructor;
17
+ default: number;
18
+ description: string;
19
+ };
20
+ disabled: {
21
+ type: BooleanConstructor;
22
+ default: boolean;
23
+ description: string;
24
+ };
25
+ readonly: {
26
+ type: BooleanConstructor;
27
+ default: boolean;
28
+ description: string;
29
+ };
30
+ tips: {
31
+ type: StringConstructor;
32
+ default: string;
33
+ description: string;
34
+ };
35
+ multiple: {
36
+ type: BooleanConstructor;
37
+ default: boolean;
38
+ description: string;
39
+ };
40
+ limit: {
41
+ type: NumberConstructor;
42
+ default: number;
43
+ description: string;
44
+ };
45
+ listType: {
46
+ type: StringConstructor;
47
+ default: string;
48
+ description: string;
49
+ };
50
+ uploadHelper: {
51
+ type: FunctionConstructor;
52
+ default: string;
53
+ description: string;
54
+ };
55
+ }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
56
+ change: (...args: any[]) => void;
57
+ }, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
58
+ modelValue: import('vue').PropType<UploadFileItem[]>;
59
+ size: {
60
+ type: PropType<import('../..').FormSize>;
61
+ default: string;
62
+ description: string;
63
+ };
64
+ accept: {
65
+ type: StringConstructor;
66
+ default: string;
67
+ description: string;
68
+ };
69
+ maxFileSize: {
70
+ type: NumberConstructor;
71
+ default: number;
72
+ description: string;
73
+ };
74
+ disabled: {
75
+ type: BooleanConstructor;
76
+ default: boolean;
77
+ description: string;
78
+ };
79
+ readonly: {
80
+ type: BooleanConstructor;
81
+ default: boolean;
82
+ description: string;
83
+ };
84
+ tips: {
85
+ type: StringConstructor;
86
+ default: string;
87
+ description: string;
88
+ };
89
+ multiple: {
90
+ type: BooleanConstructor;
91
+ default: boolean;
92
+ description: string;
93
+ };
94
+ limit: {
95
+ type: NumberConstructor;
96
+ default: number;
97
+ description: string;
98
+ };
99
+ listType: {
100
+ type: StringConstructor;
101
+ default: string;
102
+ description: string;
103
+ };
104
+ uploadHelper: {
105
+ type: FunctionConstructor;
106
+ default: string;
107
+ description: string;
108
+ };
109
+ }>> & {
110
+ onChange?: ((...args: any[]) => any) | undefined;
111
+ }, {
112
+ size: import('../..').FormSize;
113
+ multiple: boolean;
114
+ readonly: boolean;
115
+ disabled: boolean;
116
+ tips: string;
117
+ accept: string;
118
+ maxFileSize: number;
119
+ limit: number;
120
+ listType: string;
121
+ uploadHelper: Function;
122
+ }, {}>;
123
+ export default _default;