lew-ui 2.1.4 → 2.1.6

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 (146) hide show
  1. package/dist/components/alert/__test__/alert.test.d.ts +1 -0
  2. package/dist/components/alert/index.d.ts +2 -0
  3. package/dist/components/alert/src/LewAlert.vue.d.ts +22 -0
  4. package/dist/components/alert/src/props.d.ts +16 -0
  5. package/dist/components/avatar/index.d.ts +2 -0
  6. package/dist/components/avatar/src/LewAvatar.vue.d.ts +93 -0
  7. package/dist/components/avatar/src/props.d.ts +48 -0
  8. package/dist/components/backtop/index.d.ts +2 -0
  9. package/dist/components/backtop/src/LewBackTop.vue.d.ts +60 -0
  10. package/dist/components/backtop/src/props.d.ts +25 -0
  11. package/dist/components/badge/index.d.ts +2 -0
  12. package/dist/components/badge/src/LewBadge.vue.d.ts +34 -0
  13. package/dist/components/badge/src/props.d.ts +17 -0
  14. package/dist/components/breadcrumb/index.d.ts +2 -0
  15. package/dist/components/breadcrumb/src/LewBreadcrumb.vue.d.ts +27 -0
  16. package/dist/components/breadcrumb/src/props.d.ts +21 -0
  17. package/dist/components/button/__test__/button.test.d.ts +1 -0
  18. package/dist/components/button/index.d.ts +2 -0
  19. package/dist/components/button/src/LewButton.vue.d.ts +126 -0
  20. package/dist/components/button/src/props.d.ts +58 -0
  21. package/dist/components/cascader/index.d.ts +2 -0
  22. package/dist/components/cascader/src/LewCascader.vue.d.ts +148 -0
  23. package/dist/components/cascader/src/props.d.ts +80 -0
  24. package/dist/components/checkbox/index.d.ts +3 -0
  25. package/dist/components/checkbox/src/LewCheckbox.vue.d.ts +110 -0
  26. package/dist/components/checkbox/src/LewCheckboxGroup.vue.d.ts +8 -0
  27. package/dist/components/checkbox/src/props.d.ts +116 -0
  28. package/dist/components/date-picker/index.d.ts +5 -0
  29. package/dist/components/date-picker/src/LewDate.vue.d.ts +12 -0
  30. package/dist/components/date-picker/src/LewDatePicker.vue.d.ts +71 -0
  31. package/dist/components/date-picker/src/LewDateRange.vue.d.ts +35 -0
  32. package/dist/components/date-picker/src/LewDateRangePicker.vue.d.ts +104 -0
  33. package/dist/components/date-picker/src/date.d.ts +9 -0
  34. package/dist/components/date-picker/src/props.d.ts +101 -0
  35. package/dist/components/drawer/index.d.ts +2 -0
  36. package/dist/components/drawer/src/LewDrawer.vue.d.ts +60 -0
  37. package/dist/components/drawer/src/props.d.ts +27 -0
  38. package/dist/components/dropdown/index.d.ts +2 -0
  39. package/dist/components/dropdown/src/LewDropdown.vue.d.ts +87 -0
  40. package/dist/components/dropdown/src/props.d.ts +39 -0
  41. package/dist/components/empty/index.d.ts +2 -0
  42. package/dist/components/empty/src/LewEmpty.vue.d.ts +51 -0
  43. package/dist/components/empty/src/props.d.ts +28 -0
  44. package/dist/components/flex/index.d.ts +2 -0
  45. package/dist/components/flex/src/LewFlex.vue.d.ts +95 -0
  46. package/dist/components/flex/src/props.d.ts +43 -0
  47. package/dist/components/form/index.d.ts +2 -0
  48. package/dist/components/form/src/LewForm.vue.d.ts +56 -0
  49. package/dist/components/form/src/props.d.ts +37 -0
  50. package/dist/components/icon/index.d.ts +3 -0
  51. package/dist/components/index.d.ts +37 -0
  52. package/dist/components/input/index.d.ts +2 -0
  53. package/dist/components/input/src/LewInput.vue.d.ts +275 -0
  54. package/dist/components/input/src/props.d.ts +134 -0
  55. package/dist/components/input-tag/index.d.ts +2 -0
  56. package/dist/components/input-tag/src/LewInputTag.vue.d.ts +12 -0
  57. package/dist/components/input-tag/src/props.d.ts +10 -0
  58. package/dist/components/magic-number/index.d.ts +2 -0
  59. package/dist/components/magic-number/src/LewMagicNumber.vue.d.ts +38 -0
  60. package/dist/components/magic-number/src/props.d.ts +20 -0
  61. package/dist/components/mark/index.d.ts +2 -0
  62. package/dist/components/mark/src/LewMark.vue.d.ts +58 -0
  63. package/dist/components/mark/src/props.d.ts +28 -0
  64. package/dist/components/menu/index.d.ts +2 -0
  65. package/dist/components/menu/src/LewMenu.vue.d.ts +35 -0
  66. package/dist/components/menu/src/props.d.ts +26 -0
  67. package/dist/components/modal/index.d.ts +2 -0
  68. package/dist/components/modal/src/LewModal.vue.d.ts +161 -0
  69. package/dist/components/modal/src/props.d.ts +65 -0
  70. package/dist/components/pagination/index.d.ts +2 -0
  71. package/dist/components/pagination/src/LewPagination.vue.d.ts +42 -0
  72. package/dist/components/pagination/src/props.d.ts +39 -0
  73. package/dist/components/popok/index.d.ts +2 -0
  74. package/dist/components/popok/src/LewPopok.vue.d.ts +146 -0
  75. package/dist/components/popok/src/props.d.ts +52 -0
  76. package/dist/components/popover/index.d.ts +2 -0
  77. package/dist/components/popover/src/LewPopover.vue.d.ts +118 -0
  78. package/dist/components/popover/src/props.d.ts +47 -0
  79. package/dist/components/radio/index.d.ts +2 -0
  80. package/dist/components/radio/src/LewRadio.vue.d.ts +97 -0
  81. package/dist/components/radio/src/LewRadioGroup.vue.d.ts +90 -0
  82. package/dist/components/radio/src/props.d.ts +96 -0
  83. package/dist/components/result/index.d.ts +2 -0
  84. package/dist/components/result/src/LewResult.vue.d.ts +45 -0
  85. package/dist/components/result/src/props.d.ts +17 -0
  86. package/dist/components/select/index.d.ts +2 -0
  87. package/dist/components/select/src/LewSelect.vue.d.ts +186 -0
  88. package/dist/components/select/src/props.d.ts +90 -0
  89. package/dist/components/select-multiple/index.d.ts +2 -0
  90. package/dist/components/select-multiple/src/LewSelectMultiple.vue.d.ts +212 -0
  91. package/dist/components/select-multiple/src/props.d.ts +100 -0
  92. package/dist/components/steps/index.d.ts +2 -0
  93. package/dist/components/steps/src/props.d.ts +39 -0
  94. package/dist/components/switch/index.d.ts +2 -0
  95. package/dist/components/switch/src/LewSwitch.vue.d.ts +57 -0
  96. package/dist/components/switch/src/props.d.ts +34 -0
  97. package/dist/components/table/index.d.ts +2 -0
  98. package/dist/components/table/src/LewTable.vue.d.ts +88 -0
  99. package/dist/components/table/src/props.d.ts +43 -0
  100. package/dist/components/tabs/index.d.ts +2 -0
  101. package/dist/components/tabs/src/LewTabs.vue.d.ts +85 -0
  102. package/dist/components/tabs/src/props.d.ts +49 -0
  103. package/dist/components/tag/index.d.ts +2 -0
  104. package/dist/components/tag/src/LewTag.vue.d.ts +84 -0
  105. package/dist/components/tag/src/props.d.ts +39 -0
  106. package/dist/components/text-trim/index.d.ts +2 -0
  107. package/dist/components/text-trim/src/LewTextTrim.vue.d.ts +82 -0
  108. package/dist/components/text-trim/src/props.d.ts +40 -0
  109. package/dist/components/textarea/index.d.ts +2 -0
  110. package/dist/components/textarea/src/LewTextarea.vue.d.ts +159 -0
  111. package/dist/components/textarea/src/props.d.ts +72 -0
  112. package/dist/components/title/index.d.ts +2 -0
  113. package/dist/components/title/src/LewTitle.vue.d.ts +45 -0
  114. package/dist/components/title/src/props.d.ts +23 -0
  115. package/dist/components/tree/index.d.ts +2 -0
  116. package/dist/components/tree/src/LewTree.vue.d.ts +189 -0
  117. package/dist/components/tree/src/props.d.ts +99 -0
  118. package/dist/components/tree/src/tree2list.d.ts +25 -0
  119. package/dist/components/tree-select/index.d.ts +2 -0
  120. package/dist/components/tree-select/src/LewTreeSelect.vue.d.ts +263 -0
  121. package/dist/components/tree-select/src/props.d.ts +136 -0
  122. package/dist/directives/backtop/index.d.ts +1 -0
  123. package/dist/directives/backtop/src/index.d.ts +6 -0
  124. package/dist/directives/dialog/index.d.ts +2 -0
  125. package/dist/directives/dialog/src/LewDialog.vue.d.ts +118 -0
  126. package/dist/directives/dialog/src/index.d.ts +20 -0
  127. package/dist/directives/dialog/src/props.d.ts +50 -0
  128. package/dist/directives/index.d.ts +6 -0
  129. package/dist/directives/loading/index.d.ts +1 -0
  130. package/dist/directives/loading/src/index.d.ts +6 -0
  131. package/dist/directives/message/index.d.ts +1 -0
  132. package/dist/directives/message/src/index.d.ts +3 -0
  133. package/dist/directives/notification/index.d.ts +2 -0
  134. package/dist/directives/notification/src/index.d.ts +17 -0
  135. package/dist/directives/tooltip/index.d.ts +1 -0
  136. package/dist/directives/tooltip/src/index.d.ts +6 -0
  137. package/dist/hooks/index.d.ts +3 -0
  138. package/dist/hooks/src/useDOMCreate.d.ts +1 -0
  139. package/dist/hooks/src/useEventListener.d.ts +1 -0
  140. package/dist/hooks/src/useLewTo.d.ts +3 -0
  141. package/dist/index.d.ts +8 -0
  142. package/dist/index.mjs +3154 -7012
  143. package/dist/index.umd.js +243 -251
  144. package/dist/style.css +1 -1
  145. package/dist/utils/index.d.ts +12 -0
  146. package/package.json +7 -5
@@ -0,0 +1,49 @@
1
+ import { PropType, ExtractPropTypes } from 'vue';
2
+
3
+ export type TabsOptions = {
4
+ label: string;
5
+ value: string | number;
6
+ activeIndex: Number;
7
+ };
8
+ export type TabsSize = 'small' | 'medium' | 'large';
9
+ export type TabsType = 'block' | 'line';
10
+ export declare const tabsModel: {
11
+ modelValue: {
12
+ type: (StringConstructor | NumberConstructor)[];
13
+ default: never[];
14
+ description: string;
15
+ };
16
+ };
17
+ export declare const tabsProps: {
18
+ options: {
19
+ type: PropType<TabsOptions[]>;
20
+ default: never[];
21
+ description: string;
22
+ };
23
+ size: {
24
+ type: PropType<TabsSize>;
25
+ default: string;
26
+ description: string;
27
+ };
28
+ width: {
29
+ type: (StringConstructor | NumberConstructor)[];
30
+ default: string;
31
+ description: string;
32
+ };
33
+ itemWidth: {
34
+ type: (StringConstructor | NumberConstructor)[];
35
+ default: string;
36
+ description: string;
37
+ };
38
+ round: {
39
+ type: BooleanConstructor;
40
+ default: boolean;
41
+ description: string;
42
+ };
43
+ type: {
44
+ type: PropType<TabsType>;
45
+ default: string;
46
+ description: string;
47
+ };
48
+ };
49
+ export type TabsProps = ExtractPropTypes<typeof tabsProps>;
@@ -0,0 +1,2 @@
1
+ export { default as LewTag } from './src/LewTag.vue';
2
+ export * from './src/props';
@@ -0,0 +1,84 @@
1
+ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
2
+ type: {
3
+ type: globalThis.PropType<"fill" | "light" | "ghost">;
4
+ default: string;
5
+ description: string;
6
+ };
7
+ color: {
8
+ type: globalThis.PropType<"red" | "orange" | "yellow" | "green" | "mint" | "teal" | "cyan" | "blue" | "indigo" | "purple" | "pink" | "gray" | "brown">;
9
+ default: string;
10
+ description: string;
11
+ };
12
+ size: {
13
+ type: globalThis.PropType<"small" | "medium" | "large">;
14
+ default: string;
15
+ description: string;
16
+ };
17
+ round: {
18
+ type: BooleanConstructor;
19
+ default: boolean;
20
+ description: string;
21
+ };
22
+ closable: {
23
+ type: BooleanConstructor;
24
+ default: boolean;
25
+ description: string;
26
+ };
27
+ disabled: {
28
+ type: BooleanConstructor;
29
+ default: boolean;
30
+ description: string;
31
+ };
32
+ }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
33
+ close: (...args: any[]) => void;
34
+ }, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
35
+ type: {
36
+ type: globalThis.PropType<"fill" | "light" | "ghost">;
37
+ default: string;
38
+ description: string;
39
+ };
40
+ color: {
41
+ type: globalThis.PropType<"red" | "orange" | "yellow" | "green" | "mint" | "teal" | "cyan" | "blue" | "indigo" | "purple" | "pink" | "gray" | "brown">;
42
+ default: string;
43
+ description: string;
44
+ };
45
+ size: {
46
+ type: globalThis.PropType<"small" | "medium" | "large">;
47
+ default: string;
48
+ description: string;
49
+ };
50
+ round: {
51
+ type: BooleanConstructor;
52
+ default: boolean;
53
+ description: string;
54
+ };
55
+ closable: {
56
+ type: BooleanConstructor;
57
+ default: boolean;
58
+ description: string;
59
+ };
60
+ disabled: {
61
+ type: BooleanConstructor;
62
+ default: boolean;
63
+ description: string;
64
+ };
65
+ }>> & {
66
+ onClose?: ((...args: any[]) => any) | undefined;
67
+ }, {
68
+ type: "fill" | "light" | "ghost";
69
+ size: "small" | "medium" | "large";
70
+ round: boolean;
71
+ color: "red" | "orange" | "yellow" | "green" | "mint" | "teal" | "cyan" | "blue" | "indigo" | "purple" | "pink" | "gray" | "brown";
72
+ disabled: boolean;
73
+ closable: boolean;
74
+ }, {}>, {
75
+ left?(_: {}): any;
76
+ default?(_: {}): any;
77
+ right?(_: {}): any;
78
+ }>;
79
+ export default _default;
80
+ type __VLS_WithTemplateSlots<T, S> = T & {
81
+ new (): {
82
+ $slots: S;
83
+ };
84
+ };
@@ -0,0 +1,39 @@
1
+ import { ExtractPropTypes, PropType } from 'vue';
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';
6
+ export declare const tagProps: {
7
+ type: {
8
+ type: PropType<TagType>;
9
+ default: string;
10
+ description: string;
11
+ };
12
+ color: {
13
+ type: PropType<TagColor>;
14
+ default: string;
15
+ description: string;
16
+ };
17
+ size: {
18
+ type: PropType<TagSize>;
19
+ default: string;
20
+ description: string;
21
+ };
22
+ round: {
23
+ type: BooleanConstructor;
24
+ default: boolean;
25
+ description: string;
26
+ };
27
+ closable: {
28
+ type: BooleanConstructor;
29
+ default: boolean;
30
+ description: string;
31
+ };
32
+ disabled: {
33
+ type: BooleanConstructor;
34
+ default: boolean;
35
+ description: string;
36
+ };
37
+ };
38
+ export type TagProps = ExtractPropTypes<typeof tagProps>;
39
+ export {};
@@ -0,0 +1,2 @@
1
+ export { default as LewTextTrim } from './src/LewTextTrim.vue';
2
+ export * from './src/props';
@@ -0,0 +1,82 @@
1
+ declare const _default: import('vue').DefineComponent<{
2
+ text: {
3
+ type: (ArrayConstructor | BooleanConstructor | StringConstructor | NumberConstructor)[];
4
+ default: string;
5
+ description: string;
6
+ };
7
+ allowHtml: {
8
+ type: BooleanConstructor;
9
+ default: boolean;
10
+ description: string;
11
+ };
12
+ placement: {
13
+ type: StringConstructor;
14
+ default: string;
15
+ description: string;
16
+ };
17
+ offset: {
18
+ type: ArrayConstructor;
19
+ default: number[];
20
+ description: string;
21
+ };
22
+ x: {
23
+ type: StringConstructor;
24
+ default: string;
25
+ description: string;
26
+ };
27
+ delay: {
28
+ type: ArrayConstructor;
29
+ default: () => number[];
30
+ description: string;
31
+ };
32
+ lineClamp: {
33
+ type: NumberConstructor;
34
+ default: undefined;
35
+ description: string;
36
+ };
37
+ }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
38
+ text: {
39
+ type: (ArrayConstructor | BooleanConstructor | StringConstructor | NumberConstructor)[];
40
+ default: string;
41
+ description: string;
42
+ };
43
+ allowHtml: {
44
+ type: BooleanConstructor;
45
+ default: boolean;
46
+ description: string;
47
+ };
48
+ placement: {
49
+ type: StringConstructor;
50
+ default: string;
51
+ description: string;
52
+ };
53
+ offset: {
54
+ type: ArrayConstructor;
55
+ default: number[];
56
+ description: string;
57
+ };
58
+ x: {
59
+ type: StringConstructor;
60
+ default: string;
61
+ description: string;
62
+ };
63
+ delay: {
64
+ type: ArrayConstructor;
65
+ default: () => number[];
66
+ description: string;
67
+ };
68
+ lineClamp: {
69
+ type: NumberConstructor;
70
+ default: undefined;
71
+ description: string;
72
+ };
73
+ }>>, {
74
+ text: string | number | boolean | unknown[];
75
+ x: string;
76
+ placement: string;
77
+ offset: unknown[];
78
+ allowHtml: boolean;
79
+ delay: unknown[];
80
+ lineClamp: number;
81
+ }, {}>;
82
+ export default _default;
@@ -0,0 +1,40 @@
1
+ import { ExtractPropTypes } from 'vue';
2
+
3
+ export declare const textTrimProps: {
4
+ text: {
5
+ type: (ArrayConstructor | BooleanConstructor | StringConstructor | NumberConstructor)[];
6
+ default: string;
7
+ description: string;
8
+ };
9
+ allowHtml: {
10
+ type: BooleanConstructor;
11
+ default: boolean;
12
+ description: string;
13
+ };
14
+ placement: {
15
+ type: StringConstructor;
16
+ default: string;
17
+ description: string;
18
+ };
19
+ offset: {
20
+ type: ArrayConstructor;
21
+ default: number[];
22
+ description: string;
23
+ };
24
+ x: {
25
+ type: StringConstructor;
26
+ default: string;
27
+ description: string;
28
+ };
29
+ delay: {
30
+ type: ArrayConstructor;
31
+ default: () => number[];
32
+ description: string;
33
+ };
34
+ lineClamp: {
35
+ type: NumberConstructor;
36
+ default: undefined;
37
+ description: string;
38
+ };
39
+ };
40
+ export type TextTrimProps = ExtractPropTypes<typeof textTrimProps>;
@@ -0,0 +1,2 @@
1
+ export { default as LewTextarea } from './src/LewTextarea.vue';
2
+ export * from './src/props';
@@ -0,0 +1,159 @@
1
+ declare const _default: import('vue').DefineComponent<{
2
+ modelValue: globalThis.PropType<string | undefined>;
3
+ size: {
4
+ type: StringConstructor;
5
+ default: string;
6
+ description: string;
7
+ };
8
+ focusSelect: {
9
+ type: BooleanConstructor;
10
+ default: boolean;
11
+ description: string;
12
+ };
13
+ disabled: {
14
+ type: BooleanConstructor;
15
+ default: boolean;
16
+ description: string;
17
+ };
18
+ clearable: {
19
+ type: BooleanConstructor;
20
+ default: boolean;
21
+ description: string;
22
+ };
23
+ placeholder: {
24
+ type: StringConstructor;
25
+ default: string;
26
+ description: string;
27
+ };
28
+ readonly: {
29
+ type: BooleanConstructor;
30
+ default: boolean;
31
+ description: string;
32
+ };
33
+ maxLength: {
34
+ type: (StringConstructor | NumberConstructor)[];
35
+ default: string;
36
+ description: string;
37
+ };
38
+ showCount: {
39
+ type: BooleanConstructor;
40
+ default: boolean;
41
+ description: string;
42
+ };
43
+ renderCount: {
44
+ type: FunctionConstructor;
45
+ default: (value: string) => number;
46
+ description: string;
47
+ };
48
+ width: {
49
+ type: (StringConstructor | NumberConstructor)[];
50
+ default: string;
51
+ description: string;
52
+ };
53
+ height: {
54
+ type: (StringConstructor | NumberConstructor)[];
55
+ default: string;
56
+ description: string;
57
+ };
58
+ okByEnter: {
59
+ type: BooleanConstructor;
60
+ default: boolean;
61
+ description: string;
62
+ };
63
+ }, {
64
+ toFocus: () => void;
65
+ }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
66
+ input: (...args: any[]) => void;
67
+ textarea: (...args: any[]) => void;
68
+ change: (...args: any[]) => void;
69
+ blur: (...args: any[]) => void;
70
+ clear: (...args: any[]) => void;
71
+ ok: (...args: any[]) => void;
72
+ focus: (...args: any[]) => void;
73
+ "update:type": (...args: any[]) => void;
74
+ }, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
75
+ modelValue: globalThis.PropType<string | undefined>;
76
+ size: {
77
+ type: StringConstructor;
78
+ default: string;
79
+ description: string;
80
+ };
81
+ focusSelect: {
82
+ type: BooleanConstructor;
83
+ default: boolean;
84
+ description: string;
85
+ };
86
+ disabled: {
87
+ type: BooleanConstructor;
88
+ default: boolean;
89
+ description: string;
90
+ };
91
+ clearable: {
92
+ type: BooleanConstructor;
93
+ default: boolean;
94
+ description: string;
95
+ };
96
+ placeholder: {
97
+ type: StringConstructor;
98
+ default: string;
99
+ description: string;
100
+ };
101
+ readonly: {
102
+ type: BooleanConstructor;
103
+ default: boolean;
104
+ description: string;
105
+ };
106
+ maxLength: {
107
+ type: (StringConstructor | NumberConstructor)[];
108
+ default: string;
109
+ description: string;
110
+ };
111
+ showCount: {
112
+ type: BooleanConstructor;
113
+ default: boolean;
114
+ description: string;
115
+ };
116
+ renderCount: {
117
+ type: FunctionConstructor;
118
+ default: (value: string) => number;
119
+ description: string;
120
+ };
121
+ width: {
122
+ type: (StringConstructor | NumberConstructor)[];
123
+ default: string;
124
+ description: string;
125
+ };
126
+ height: {
127
+ type: (StringConstructor | NumberConstructor)[];
128
+ default: string;
129
+ description: string;
130
+ };
131
+ okByEnter: {
132
+ type: BooleanConstructor;
133
+ default: boolean;
134
+ description: string;
135
+ };
136
+ }>> & {
137
+ onFocus?: ((...args: any[]) => any) | undefined;
138
+ onBlur?: ((...args: any[]) => any) | undefined;
139
+ onChange?: ((...args: any[]) => any) | undefined;
140
+ onInput?: ((...args: any[]) => any) | undefined;
141
+ onClear?: ((...args: any[]) => any) | undefined;
142
+ onOk?: ((...args: any[]) => any) | undefined;
143
+ onTextarea?: ((...args: any[]) => any) | undefined;
144
+ "onUpdate:type"?: ((...args: any[]) => any) | undefined;
145
+ }, {
146
+ size: string;
147
+ width: string | number;
148
+ height: string | number;
149
+ disabled: boolean;
150
+ placeholder: string;
151
+ clearable: boolean;
152
+ readonly: boolean;
153
+ focusSelect: boolean;
154
+ maxLength: string | number;
155
+ showCount: boolean;
156
+ renderCount: Function;
157
+ okByEnter: boolean;
158
+ }, {}>;
159
+ export default _default;
@@ -0,0 +1,72 @@
1
+ import { ExtractPropTypes } from 'vue';
2
+
3
+ export declare const textareaModel: {
4
+ modelValue: {
5
+ type: StringConstructor;
6
+ default: string;
7
+ description: string;
8
+ };
9
+ };
10
+ export declare const textareaProps: {
11
+ size: {
12
+ type: StringConstructor;
13
+ default: string;
14
+ description: string;
15
+ };
16
+ focusSelect: {
17
+ type: BooleanConstructor;
18
+ default: boolean;
19
+ description: string;
20
+ };
21
+ disabled: {
22
+ type: BooleanConstructor;
23
+ default: boolean;
24
+ description: string;
25
+ };
26
+ clearable: {
27
+ type: BooleanConstructor;
28
+ default: boolean;
29
+ description: string;
30
+ };
31
+ placeholder: {
32
+ type: StringConstructor;
33
+ default: string;
34
+ description: string;
35
+ };
36
+ readonly: {
37
+ type: BooleanConstructor;
38
+ default: boolean;
39
+ description: string;
40
+ };
41
+ maxLength: {
42
+ type: (StringConstructor | NumberConstructor)[];
43
+ default: string;
44
+ description: string;
45
+ };
46
+ showCount: {
47
+ type: BooleanConstructor;
48
+ default: boolean;
49
+ description: string;
50
+ };
51
+ renderCount: {
52
+ type: FunctionConstructor;
53
+ default: (value: string) => number;
54
+ description: string;
55
+ };
56
+ width: {
57
+ type: (StringConstructor | NumberConstructor)[];
58
+ default: string;
59
+ description: string;
60
+ };
61
+ height: {
62
+ type: (StringConstructor | NumberConstructor)[];
63
+ default: string;
64
+ description: string;
65
+ };
66
+ okByEnter: {
67
+ type: BooleanConstructor;
68
+ default: boolean;
69
+ description: string;
70
+ };
71
+ };
72
+ export type TextareaProps = ExtractPropTypes<typeof textareaProps>;
@@ -0,0 +1,2 @@
1
+ export { default as LewTitle } from './src/LewTitle.vue';
2
+ export * from './src/props';
@@ -0,0 +1,45 @@
1
+ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
2
+ bold: {
3
+ type: globalThis.PropType<100 | 500 | 400 | 200 | 300 | 600 | 700 | 800 | 900>;
4
+ default: number;
5
+ description: string;
6
+ };
7
+ size: {
8
+ type: (StringConstructor | NumberConstructor)[];
9
+ default: number;
10
+ description: string;
11
+ };
12
+ color: {
13
+ type: globalThis.PropType<"red" | "orange" | "yellow" | "green" | "mint" | "teal" | "cyan" | "blue" | "indigo" | "purple" | "pink" | "gray" | "brown">;
14
+ default: string;
15
+ description: string;
16
+ };
17
+ }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
18
+ bold: {
19
+ type: globalThis.PropType<100 | 500 | 400 | 200 | 300 | 600 | 700 | 800 | 900>;
20
+ default: number;
21
+ description: string;
22
+ };
23
+ size: {
24
+ type: (StringConstructor | NumberConstructor)[];
25
+ default: number;
26
+ description: string;
27
+ };
28
+ color: {
29
+ type: globalThis.PropType<"red" | "orange" | "yellow" | "green" | "mint" | "teal" | "cyan" | "blue" | "indigo" | "purple" | "pink" | "gray" | "brown">;
30
+ default: string;
31
+ description: string;
32
+ };
33
+ }>>, {
34
+ bold: 100 | 500 | 400 | 200 | 300 | 600 | 700 | 800 | 900;
35
+ size: string | number;
36
+ color: "red" | "orange" | "yellow" | "green" | "mint" | "teal" | "cyan" | "blue" | "indigo" | "purple" | "pink" | "gray" | "brown";
37
+ }, {}>, {
38
+ default?(_: {}): any;
39
+ }>;
40
+ export default _default;
41
+ type __VLS_WithTemplateSlots<T, S> = T & {
42
+ new (): {
43
+ $slots: S;
44
+ };
45
+ };
@@ -0,0 +1,23 @@
1
+ import { ExtractPropTypes, PropType } from 'vue';
2
+
3
+ type BoldType = 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900;
4
+ type TitleColor = 'red' | 'orange' | 'yellow' | 'green' | 'mint' | 'teal' | 'cyan' | 'blue' | 'indigo' | 'purple' | 'pink' | 'gray' | 'brown';
5
+ export declare const titleProps: {
6
+ bold: {
7
+ type: PropType<BoldType>;
8
+ default: number;
9
+ description: string;
10
+ };
11
+ size: {
12
+ type: (StringConstructor | NumberConstructor)[];
13
+ default: number;
14
+ description: string;
15
+ };
16
+ color: {
17
+ type: PropType<TitleColor>;
18
+ default: string;
19
+ description: string;
20
+ };
21
+ };
22
+ export type TitleProps = ExtractPropTypes<typeof titleProps>;
23
+ export {};
@@ -0,0 +1,2 @@
1
+ export { default as LewTree } from './src/LewTree.vue';
2
+ export * from './src/props';