lew-ui 2.1.14 → 2.2.2

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 (111) 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/expand/index.d.ts +2 -0
  31. package/dist/components/expand/src/LewExpand.vue.d.ts +27 -0
  32. package/dist/components/expand/src/props.d.ts +10 -0
  33. package/dist/components/flex/src/LewFlex.vue.d.ts +6 -4
  34. package/dist/components/form/index.d.ts +1 -0
  35. package/dist/components/form/src/LewForm.vue.d.ts +67 -7
  36. package/dist/components/form/src/LewFormItem.vue.d.ts +200 -0
  37. package/dist/components/form/src/LewGetLabelWidth.vue.d.ts +22 -0
  38. package/dist/components/form/src/RequiredIcon.vue.d.ts +14 -0
  39. package/dist/components/form/src/props.d.ts +112 -7
  40. package/dist/components/image/index.d.ts +2 -0
  41. package/dist/components/image/src/LewImage.vue.d.ts +124 -0
  42. package/dist/components/image/src/props.d.ts +55 -0
  43. package/dist/components/index.d.ts +8 -0
  44. package/dist/components/input/src/LewInput.vue.d.ts +12 -12
  45. package/dist/components/input/src/props.d.ts +3 -3
  46. package/dist/components/input-number/index.d.ts +2 -0
  47. package/dist/components/input-number/src/LewInputNumber.vue.d.ts +150 -0
  48. package/dist/components/input-number/src/props.d.ts +67 -0
  49. package/dist/components/input-tag/src/LewInputTag.vue.d.ts +2 -2
  50. package/dist/components/mark/src/LewMark.vue.d.ts +15 -9
  51. package/dist/components/mark/src/props.d.ts +1 -1
  52. package/dist/components/menu/src/props.d.ts +1 -1
  53. package/dist/components/menu-tree/src/props.d.ts +1 -1
  54. package/dist/components/modal/src/LewModal.vue.d.ts +34 -10
  55. package/dist/components/modal/src/props.d.ts +11 -1
  56. package/dist/components/pagination/src/LewPagination.vue.d.ts +15 -13
  57. package/dist/components/pagination/src/props.d.ts +2 -2
  58. package/dist/components/popok/src/LewPopok.vue.d.ts +9 -7
  59. package/dist/components/popok/src/props.d.ts +1 -1
  60. package/dist/components/popover/src/LewPopover.vue.d.ts +12 -10
  61. package/dist/components/popover/src/props.d.ts +1 -1
  62. package/dist/components/radio/src/LewRadio.vue.d.ts +1 -1
  63. package/dist/components/radio/src/LewRadioGroup.vue.d.ts +2 -2
  64. package/dist/components/result/src/LewResult.vue.d.ts +6 -4
  65. package/dist/components/select/src/LewSelect.vue.d.ts +14 -12
  66. package/dist/components/select-multiple/src/LewSelectMultiple.vue.d.ts +14 -12
  67. package/dist/components/slider/index.d.ts +2 -0
  68. package/dist/components/slider/src/LewSlider.vue.d.ts +8 -0
  69. package/dist/components/slider/src/props.d.ts +4 -0
  70. package/dist/components/slider-range/index.d.ts +2 -0
  71. package/dist/components/slider-range/src/LewSliderRange.vue.d.ts +8 -0
  72. package/dist/components/slider-range/src/props.d.ts +4 -0
  73. package/dist/components/steps/src/LewSteps.vue.d.ts +2 -2
  74. package/dist/components/switch/src/LewSwitch.vue.d.ts +5 -5
  75. package/dist/components/switch/src/props.d.ts +1 -1
  76. package/dist/components/table/src/LewTable.vue.d.ts +15 -13
  77. package/dist/components/tabs/src/LewTabs.vue.d.ts +3 -3
  78. package/dist/components/tag/src/LewTag.vue.d.ts +8 -6
  79. package/dist/components/text-trim/src/LewTextTrim.vue.d.ts +3 -3
  80. package/dist/components/text-trim/src/props.d.ts +1 -1
  81. package/dist/components/textarea/src/LewTextarea.vue.d.ts +57 -2
  82. package/dist/components/textarea/src/props.d.ts +25 -0
  83. package/dist/components/title/src/LewTitle.vue.d.ts +6 -4
  84. package/dist/components/tree/src/LewTree.vue.d.ts +13 -11
  85. package/dist/components/tree-select/src/LewTreeSelect.vue.d.ts +13 -11
  86. package/dist/components/tree-select/src/props.d.ts +1 -1
  87. package/dist/components/upload/index.d.ts +2 -0
  88. package/dist/components/upload/src/LewUpload.vue.d.ts +123 -0
  89. package/dist/components/upload/src/props.d.ts +69 -0
  90. package/dist/directives/context-menu/index.d.ts +2 -0
  91. package/dist/directives/context-menu/src/LewContextMenu.vue.d.ts +22 -0
  92. package/dist/directives/context-menu/src/index.d.ts +24 -0
  93. package/dist/directives/dialog/index.d.ts +1 -2
  94. package/dist/directives/dialog/src/LewDialog.vue.d.ts +7 -7
  95. package/dist/directives/dialog/src/index.d.ts +10 -2
  96. package/dist/directives/dialog/src/props.d.ts +1 -1
  97. package/dist/directives/index.d.ts +1 -0
  98. package/dist/directives/loading/index.d.ts +1 -1
  99. package/dist/directives/loading/src/index.d.ts +1 -2
  100. package/dist/directives/notification/index.d.ts +0 -1
  101. package/dist/directives/notification/src/index.d.ts +16 -2
  102. package/dist/directives/tooltip/index.d.ts +1 -1
  103. package/dist/directives/tooltip/src/index.d.ts +1 -2
  104. package/dist/hooks/index.d.ts +0 -1
  105. package/dist/index.d.ts +1 -1
  106. package/dist/index.mjs +5721 -3565
  107. package/dist/index.umd.js +16 -16
  108. package/dist/style.css +1 -1
  109. package/dist/utils/index.d.ts +8 -2
  110. package/package.json +7 -6
  111. package/dist/hooks/src/useLewTo.d.ts +0 -3
@@ -1,4 +1,11 @@
1
- declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
1
+ declare function __VLS_template(): {
2
+ trigger?(_: {}): any;
3
+ "popover-body"?(_: {
4
+ show: () => void;
5
+ hide: () => void;
6
+ }): any;
7
+ };
8
+ declare const __VLS_component: import('vue').DefineComponent<{
2
9
  trigger: {
3
10
  type: StringConstructor;
4
11
  default: string;
@@ -33,7 +40,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
33
40
  description: string;
34
41
  };
35
42
  offset: {
36
- type: globalThis.PropType<number[]>;
43
+ type: PropType<number[]>;
37
44
  default: number[];
38
45
  description: string;
39
46
  };
@@ -83,7 +90,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
83
90
  description: string;
84
91
  };
85
92
  offset: {
86
- type: globalThis.PropType<number[]>;
93
+ type: PropType<number[]>;
87
94
  default: number[];
88
95
  description: string;
89
96
  };
@@ -103,13 +110,8 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
103
110
  triggerTarget: Element;
104
111
  offset: number[];
105
112
  hideOnClick: string | boolean;
106
- }, {}>, {
107
- trigger?(_: {}): any;
108
- "popover-body"?(_: {
109
- show: () => void;
110
- hide: () => void;
111
- }): any;
112
- }>;
113
+ }, {}>;
114
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
113
115
  export default _default;
114
116
  type __VLS_WithTemplateSlots<T, S> = T & {
115
117
  new (): {
@@ -35,7 +35,7 @@ export declare const popoverProps: {
35
35
  description: string;
36
36
  };
37
37
  offset: {
38
- type: globalThis.PropType<number[]>;
38
+ type: PropType<number[]>;
39
39
  default: number[];
40
40
  description: string;
41
41
  };
@@ -90,8 +90,8 @@ declare const _default: import('vue').DefineComponent<{
90
90
  size: import('./props').RadioSize;
91
91
  readonly: boolean;
92
92
  disabled: boolean;
93
- checked: boolean;
94
93
  block: boolean;
95
94
  iconable: boolean;
95
+ checked: boolean;
96
96
  }, {}>;
97
97
  export default _default;
@@ -1,7 +1,7 @@
1
1
  import { RadioOptions } from './props';
2
2
 
3
3
  declare const _default: import('vue').DefineComponent<{
4
- modelValue: globalThis.PropType<any>;
4
+ modelValue: import('vue').PropType<any>;
5
5
  block: {
6
6
  type: BooleanConstructor;
7
7
  default: boolean;
@@ -40,7 +40,7 @@ declare const _default: import('vue').DefineComponent<{
40
40
  }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
41
41
  change: (...args: any[]) => void;
42
42
  }, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
43
- modelValue: globalThis.PropType<any>;
43
+ modelValue: import('vue').PropType<any>;
44
44
  block: {
45
45
  type: BooleanConstructor;
46
46
  default: boolean;
@@ -1,4 +1,7 @@
1
- declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
1
+ declare function __VLS_template(): {
2
+ handle?(_: {}): any;
3
+ };
4
+ declare const __VLS_component: import('vue').DefineComponent<{
2
5
  type: {
3
6
  type: StringConstructor;
4
7
  default: string;
@@ -34,9 +37,8 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
34
37
  type: string;
35
38
  title: string;
36
39
  content: string;
37
- }, {}>, {
38
- handle?(_: {}): 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,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;
@@ -66,20 +76,12 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
66
76
  }>>, {
67
77
  dataSource: any;
68
78
  maxHeight: string | number;
69
- rowKey: string;
70
79
  columns: import('../../..').TableColumns[];
80
+ rowKey: string;
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;
@@ -55,6 +55,31 @@ declare const _default: import('vue').DefineComponent<{
55
55
  default: string;
56
56
  description: string;
57
57
  };
58
+ minWidth: {
59
+ type: (StringConstructor | NumberConstructor)[];
60
+ default: string;
61
+ description: string;
62
+ };
63
+ minHeight: {
64
+ type: (StringConstructor | NumberConstructor)[];
65
+ default: string;
66
+ description: string;
67
+ };
68
+ maxWidth: {
69
+ type: (StringConstructor | NumberConstructor)[];
70
+ default: string;
71
+ description: string;
72
+ };
73
+ maxHeight: {
74
+ type: (StringConstructor | NumberConstructor)[];
75
+ default: string;
76
+ description: string;
77
+ };
78
+ resize: {
79
+ type: PropType<"none" | "both" | "horizontal" | "vertical">;
80
+ default: string;
81
+ description: string;
82
+ };
58
83
  okByEnter: {
59
84
  type: BooleanConstructor;
60
85
  default: boolean;
@@ -72,7 +97,7 @@ declare const _default: import('vue').DefineComponent<{
72
97
  ok: (...args: any[]) => void;
73
98
  "update:type": (...args: any[]) => void;
74
99
  }, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
75
- modelValue: globalThis.PropType<any>;
100
+ modelValue: import('vue').PropType<any>;
76
101
  size: {
77
102
  type: StringConstructor;
78
103
  default: string;
@@ -128,6 +153,31 @@ declare const _default: import('vue').DefineComponent<{
128
153
  default: string;
129
154
  description: string;
130
155
  };
156
+ minWidth: {
157
+ type: (StringConstructor | NumberConstructor)[];
158
+ default: string;
159
+ description: string;
160
+ };
161
+ minHeight: {
162
+ type: (StringConstructor | NumberConstructor)[];
163
+ default: string;
164
+ description: string;
165
+ };
166
+ maxWidth: {
167
+ type: (StringConstructor | NumberConstructor)[];
168
+ default: string;
169
+ description: string;
170
+ };
171
+ maxHeight: {
172
+ type: (StringConstructor | NumberConstructor)[];
173
+ default: string;
174
+ description: string;
175
+ };
176
+ resize: {
177
+ type: PropType<"none" | "both" | "horizontal" | "vertical">;
178
+ default: string;
179
+ description: string;
180
+ };
131
181
  okByEnter: {
132
182
  type: BooleanConstructor;
133
183
  default: boolean;
@@ -150,10 +200,15 @@ declare const _default: import('vue').DefineComponent<{
150
200
  readonly: boolean;
151
201
  disabled: boolean;
152
202
  height: string | number;
203
+ minHeight: string | number;
204
+ resize: "none" | "both" | "horizontal" | "vertical";
153
205
  selectByFocus: boolean;
206
+ minWidth: string | number;
154
207
  maxLength: string | number;
155
208
  showCount: boolean;
156
209
  renderCount: Function;
157
210
  okByEnter: boolean;
211
+ maxWidth: string | number;
212
+ maxHeight: string | number;
158
213
  }, {}>;
159
214
  export default _default;
@@ -63,6 +63,31 @@ export declare const textareaProps: {
63
63
  default: string;
64
64
  description: string;
65
65
  };
66
+ minWidth: {
67
+ type: (StringConstructor | NumberConstructor)[];
68
+ default: string;
69
+ description: string;
70
+ };
71
+ minHeight: {
72
+ type: (StringConstructor | NumberConstructor)[];
73
+ default: string;
74
+ description: string;
75
+ };
76
+ maxWidth: {
77
+ type: (StringConstructor | NumberConstructor)[];
78
+ default: string;
79
+ description: string;
80
+ };
81
+ maxHeight: {
82
+ type: (StringConstructor | NumberConstructor)[];
83
+ default: string;
84
+ description: string;
85
+ };
86
+ resize: {
87
+ type: PropType<"none" | "both" | "horizontal" | "vertical">;
88
+ default: string;
89
+ description: string;
90
+ };
66
91
  okByEnter: {
67
92
  type: BooleanConstructor;
68
93
  default: boolean;
@@ -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 (): {