lew-ui 2.1.4 → 2.1.5

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,9 @@
1
+ export type RetItemType = {
2
+ date: number;
3
+ year: number;
4
+ month: number;
5
+ showDate: number;
6
+ };
7
+ export type RetType = Array<RetItemType>;
8
+ export declare const getHeadDate: string[];
9
+ export declare const getMonthDate: (year?: number, month?: number) => RetType;
@@ -0,0 +1,101 @@
1
+ import { ExtractPropTypes, PropType } from 'vue';
2
+
3
+ export type datePickerSize = 'small' | 'medium' | 'large';
4
+ export declare const datePickerModel: {
5
+ modelValue: {
6
+ type: StringConstructor;
7
+ default: string;
8
+ description: string;
9
+ };
10
+ };
11
+ export declare const dateRangePickerModel: {
12
+ modelValue: {
13
+ type: ObjectConstructor;
14
+ default: {};
15
+ description: string;
16
+ };
17
+ };
18
+ export declare const datePickerProps: {
19
+ size: {
20
+ type: PropType<datePickerSize>;
21
+ default: string;
22
+ description: string;
23
+ };
24
+ clearable: {
25
+ type: BooleanConstructor;
26
+ default: string;
27
+ description: string;
28
+ };
29
+ readonly: {
30
+ type: BooleanConstructor;
31
+ default: boolean;
32
+ description: string;
33
+ };
34
+ disabled: {
35
+ type: BooleanConstructor;
36
+ default: boolean;
37
+ description: string;
38
+ };
39
+ placeholder: {
40
+ type: StringConstructor;
41
+ default: () => string;
42
+ description: string;
43
+ };
44
+ };
45
+ export declare const dateRangePickerProps: {
46
+ startKey: {
47
+ type: StringConstructor;
48
+ default: string;
49
+ description: string;
50
+ };
51
+ endKey: {
52
+ type: StringConstructor;
53
+ default: string;
54
+ description: string;
55
+ };
56
+ size: {
57
+ type: StringConstructor;
58
+ default: string;
59
+ description: string;
60
+ };
61
+ clearable: {
62
+ type: BooleanConstructor;
63
+ default: boolean;
64
+ description: string;
65
+ };
66
+ readonly: {
67
+ type: BooleanConstructor;
68
+ default: boolean;
69
+ description: string;
70
+ };
71
+ disabled: {
72
+ type: BooleanConstructor;
73
+ default: boolean;
74
+ description: string;
75
+ };
76
+ placeholderStart: {
77
+ type: StringConstructor;
78
+ default: () => string;
79
+ description: string;
80
+ };
81
+ placeholderEnd: {
82
+ type: StringConstructor;
83
+ default: () => string;
84
+ description: string;
85
+ };
86
+ };
87
+ export declare const dateRangeProps: {
88
+ startKey: {
89
+ type: StringConstructor;
90
+ default: string;
91
+ description: string;
92
+ };
93
+ endKey: {
94
+ type: StringConstructor;
95
+ default: string;
96
+ description: string;
97
+ };
98
+ };
99
+ export declare const dateProps: {};
100
+ export type DatePickerProps = ExtractPropTypes<typeof datePickerProps>;
101
+ export type DateRangePickerProps = ExtractPropTypes<typeof dateRangePickerProps>;
@@ -0,0 +1,2 @@
1
+ export { default as LewDrawer } from './src/LewDrawer.vue';
2
+ export * from './src/props';
@@ -0,0 +1,60 @@
1
+ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
2
+ visible: {
3
+ type: BooleanConstructor;
4
+ default: boolean;
5
+ description: string;
6
+ };
7
+ width: {
8
+ type: NumberConstructor;
9
+ default: number;
10
+ description: string;
11
+ };
12
+ height: {
13
+ type: NumberConstructor;
14
+ default: number;
15
+ description: string;
16
+ };
17
+ position: {
18
+ type: StringConstructor;
19
+ default: string;
20
+ description: string;
21
+ };
22
+ }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
23
+ "update:visible": (...args: any[]) => void;
24
+ }, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
25
+ visible: {
26
+ type: BooleanConstructor;
27
+ default: boolean;
28
+ description: string;
29
+ };
30
+ width: {
31
+ type: NumberConstructor;
32
+ default: number;
33
+ description: string;
34
+ };
35
+ height: {
36
+ type: NumberConstructor;
37
+ default: number;
38
+ description: string;
39
+ };
40
+ position: {
41
+ type: StringConstructor;
42
+ default: string;
43
+ description: string;
44
+ };
45
+ }>> & {
46
+ "onUpdate:visible"?: ((...args: any[]) => any) | undefined;
47
+ }, {
48
+ width: number;
49
+ height: number;
50
+ visible: boolean;
51
+ position: string;
52
+ }, {}>, {
53
+ default?(_: {}): any;
54
+ }>;
55
+ export default _default;
56
+ type __VLS_WithTemplateSlots<T, S> = T & {
57
+ new (): {
58
+ $slots: S;
59
+ };
60
+ };
@@ -0,0 +1,27 @@
1
+ import { ExtractPropTypes } from 'vue';
2
+
3
+ export declare const drawerProps: {
4
+ visible: {
5
+ type: BooleanConstructor;
6
+ default: boolean;
7
+ description: string;
8
+ };
9
+ width: {
10
+ type: NumberConstructor;
11
+ default: number;
12
+ description: string;
13
+ };
14
+ height: {
15
+ type: NumberConstructor;
16
+ default: number;
17
+ description: string;
18
+ };
19
+ position: {
20
+ type: StringConstructor;
21
+ default: string;
22
+ description: string;
23
+ };
24
+ };
25
+ export type DrawerProps = ExtractPropTypes<typeof drawerProps>;
26
+ export declare const getStyle: (position: string, width: number, height: number) => string | undefined;
27
+ export declare const getPosition: (position: string) => 0 | 1;
@@ -0,0 +1,2 @@
1
+ export { default as LewDropdown } from './src/LewDropdown.vue';
2
+ export * from './src/props';
@@ -0,0 +1,87 @@
1
+ import { DropdownOptions } from './props';
2
+
3
+ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
4
+ options: {
5
+ type: globalThis.PropType<DropdownOptions[]>;
6
+ default: never[];
7
+ description: string;
8
+ };
9
+ trigger: {
10
+ type: StringConstructor;
11
+ default: string;
12
+ description: string;
13
+ };
14
+ placement: {
15
+ type: StringConstructor;
16
+ default: string;
17
+ description: string;
18
+ };
19
+ width: {
20
+ type: (StringConstructor | NumberConstructor)[];
21
+ default: string;
22
+ description: string;
23
+ };
24
+ maxHeight: {
25
+ type: (StringConstructor | NumberConstructor)[];
26
+ default: string;
27
+ description: string;
28
+ };
29
+ align: {
30
+ type: StringConstructor;
31
+ default: string;
32
+ description: string;
33
+ };
34
+ }, {
35
+ show: () => void;
36
+ hide: () => void;
37
+ }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
38
+ change: (...args: any[]) => void;
39
+ }, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
40
+ options: {
41
+ type: globalThis.PropType<DropdownOptions[]>;
42
+ default: never[];
43
+ description: string;
44
+ };
45
+ trigger: {
46
+ type: StringConstructor;
47
+ default: string;
48
+ description: string;
49
+ };
50
+ placement: {
51
+ type: StringConstructor;
52
+ default: string;
53
+ description: string;
54
+ };
55
+ width: {
56
+ type: (StringConstructor | NumberConstructor)[];
57
+ default: string;
58
+ description: string;
59
+ };
60
+ maxHeight: {
61
+ type: (StringConstructor | NumberConstructor)[];
62
+ default: string;
63
+ description: string;
64
+ };
65
+ align: {
66
+ type: StringConstructor;
67
+ default: string;
68
+ description: string;
69
+ };
70
+ }>> & {
71
+ onChange?: ((...args: any[]) => any) | undefined;
72
+ }, {
73
+ width: string | number;
74
+ options: DropdownOptions[];
75
+ trigger: string;
76
+ placement: string;
77
+ maxHeight: string | number;
78
+ align: string;
79
+ }, {}>, {
80
+ default?(_: {}): any;
81
+ }>;
82
+ export default _default;
83
+ type __VLS_WithTemplateSlots<T, S> = T & {
84
+ new (): {
85
+ $slots: S;
86
+ };
87
+ };
@@ -0,0 +1,39 @@
1
+ import { PropType, ExtractPropTypes } from 'vue';
2
+
3
+ export type DropdownOptions = {
4
+ label: number | string;
5
+ value: number | string;
6
+ };
7
+ export declare const dropdownProps: {
8
+ options: {
9
+ type: PropType<DropdownOptions[]>;
10
+ default: never[];
11
+ description: string;
12
+ };
13
+ trigger: {
14
+ type: StringConstructor;
15
+ default: string;
16
+ description: string;
17
+ };
18
+ placement: {
19
+ type: StringConstructor;
20
+ default: string;
21
+ description: string;
22
+ };
23
+ width: {
24
+ type: (StringConstructor | NumberConstructor)[];
25
+ default: string;
26
+ description: string;
27
+ };
28
+ maxHeight: {
29
+ type: (StringConstructor | NumberConstructor)[];
30
+ default: string;
31
+ description: string;
32
+ };
33
+ align: {
34
+ type: StringConstructor;
35
+ default: string;
36
+ description: string;
37
+ };
38
+ };
39
+ export type DropdownProps = ExtractPropTypes<typeof dropdownProps>;
@@ -0,0 +1,2 @@
1
+ export { default as LewEmpty } from './src/LewEmpty.vue';
2
+ export * from './src/props';
@@ -0,0 +1,51 @@
1
+ declare const _default: import('vue').DefineComponent<{
2
+ type: {
3
+ type: globalThis.PropType<"search" | "address" | "article" | "404" | "goods" | "likes" | "car" | "comments" | "network" | "order">;
4
+ default: string;
5
+ typeDesc: string;
6
+ description: string;
7
+ };
8
+ title: {
9
+ type: StringConstructor;
10
+ default: string;
11
+ description: string;
12
+ };
13
+ width: {
14
+ type: StringConstructor;
15
+ default: string;
16
+ description: string;
17
+ };
18
+ height: {
19
+ type: StringConstructor;
20
+ default: string;
21
+ description: string;
22
+ };
23
+ }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
24
+ type: {
25
+ type: globalThis.PropType<"search" | "address" | "article" | "404" | "goods" | "likes" | "car" | "comments" | "network" | "order">;
26
+ default: string;
27
+ typeDesc: string;
28
+ description: string;
29
+ };
30
+ title: {
31
+ type: StringConstructor;
32
+ default: string;
33
+ description: string;
34
+ };
35
+ width: {
36
+ type: StringConstructor;
37
+ default: string;
38
+ description: string;
39
+ };
40
+ height: {
41
+ type: StringConstructor;
42
+ default: string;
43
+ description: string;
44
+ };
45
+ }>>, {
46
+ title: string;
47
+ type: "search" | "address" | "article" | "404" | "goods" | "likes" | "car" | "comments" | "network" | "order";
48
+ width: string;
49
+ height: string;
50
+ }, {}>;
51
+ export default _default;
@@ -0,0 +1,28 @@
1
+ import { ExtractPropTypes, PropType } from 'vue';
2
+
3
+ type EmptyType = '404' | 'address' | 'article' | 'goods' | 'likes' | 'car' | 'comments' | 'network' | 'order' | 'search';
4
+ export declare const emptyProps: {
5
+ type: {
6
+ type: PropType<EmptyType>;
7
+ default: string;
8
+ typeDesc: string;
9
+ description: string;
10
+ };
11
+ title: {
12
+ type: StringConstructor;
13
+ default: string;
14
+ description: string;
15
+ };
16
+ width: {
17
+ type: StringConstructor;
18
+ default: string;
19
+ description: string;
20
+ };
21
+ height: {
22
+ type: StringConstructor;
23
+ default: string;
24
+ description: string;
25
+ };
26
+ };
27
+ export type EmptyProps = ExtractPropTypes<typeof emptyProps>;
28
+ export {};
@@ -0,0 +1,2 @@
1
+ export { default as LewFlex } from './src/LewFlex.vue';
2
+ export * from './src/props';
@@ -0,0 +1,95 @@
1
+ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
2
+ direction: {
3
+ type: StringConstructor;
4
+ default: string;
5
+ description: string;
6
+ };
7
+ x: {
8
+ type: StringConstructor;
9
+ default: string;
10
+ typeDesc: string;
11
+ description: string;
12
+ };
13
+ y: {
14
+ type: StringConstructor;
15
+ default: string;
16
+ typeDesc: string;
17
+ description: string;
18
+ };
19
+ wrap: {
20
+ type: BooleanConstructor;
21
+ default: boolean;
22
+ description: string;
23
+ };
24
+ mode: {
25
+ type: StringConstructor;
26
+ default: string;
27
+ typeDesc: string;
28
+ description: string;
29
+ };
30
+ gap: {
31
+ type: (StringConstructor | NumberConstructor)[];
32
+ default: number;
33
+ description: string;
34
+ };
35
+ width: {
36
+ type: (StringConstructor | NumberConstructor)[];
37
+ default: string;
38
+ description: string;
39
+ };
40
+ }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
41
+ direction: {
42
+ type: StringConstructor;
43
+ default: string;
44
+ description: string;
45
+ };
46
+ x: {
47
+ type: StringConstructor;
48
+ default: string;
49
+ typeDesc: string;
50
+ description: string;
51
+ };
52
+ y: {
53
+ type: StringConstructor;
54
+ default: string;
55
+ typeDesc: string;
56
+ description: string;
57
+ };
58
+ wrap: {
59
+ type: BooleanConstructor;
60
+ default: boolean;
61
+ description: string;
62
+ };
63
+ mode: {
64
+ type: StringConstructor;
65
+ default: string;
66
+ typeDesc: string;
67
+ description: string;
68
+ };
69
+ gap: {
70
+ type: (StringConstructor | NumberConstructor)[];
71
+ default: number;
72
+ description: string;
73
+ };
74
+ width: {
75
+ type: (StringConstructor | NumberConstructor)[];
76
+ default: string;
77
+ description: string;
78
+ };
79
+ }>>, {
80
+ x: string;
81
+ width: string | number;
82
+ y: string;
83
+ direction: string;
84
+ gap: string | number;
85
+ mode: string;
86
+ wrap: boolean;
87
+ }, {}>, {
88
+ default?(_: {}): any;
89
+ }>;
90
+ export default _default;
91
+ type __VLS_WithTemplateSlots<T, S> = T & {
92
+ new (): {
93
+ $slots: S;
94
+ };
95
+ };
@@ -0,0 +1,43 @@
1
+ import { ExtractPropTypes } from 'vue';
2
+
3
+ export declare const flexProps: {
4
+ direction: {
5
+ type: StringConstructor;
6
+ default: string;
7
+ description: string;
8
+ };
9
+ x: {
10
+ type: StringConstructor;
11
+ default: string;
12
+ typeDesc: string;
13
+ description: string;
14
+ };
15
+ y: {
16
+ type: StringConstructor;
17
+ default: string;
18
+ typeDesc: string;
19
+ description: string;
20
+ };
21
+ wrap: {
22
+ type: BooleanConstructor;
23
+ default: boolean;
24
+ description: string;
25
+ };
26
+ mode: {
27
+ type: StringConstructor;
28
+ default: string;
29
+ typeDesc: string;
30
+ description: string;
31
+ };
32
+ gap: {
33
+ type: (StringConstructor | NumberConstructor)[];
34
+ default: number;
35
+ description: string;
36
+ };
37
+ width: {
38
+ type: (StringConstructor | NumberConstructor)[];
39
+ default: string;
40
+ description: string;
41
+ };
42
+ };
43
+ export type FlexProps = ExtractPropTypes<typeof flexProps>;
@@ -0,0 +1,2 @@
1
+ export { default as LewForm } from './src/LewForm.vue';
2
+ export * from './src/props';
@@ -0,0 +1,56 @@
1
+ declare const _default: import('vue').DefineComponent<{
2
+ options: globalThis.PropType<any>;
3
+ size: {
4
+ type: StringConstructor;
5
+ default: string;
6
+ description: string;
7
+ };
8
+ width: {
9
+ type: (StringConstructor | NumberConstructor)[];
10
+ description: string;
11
+ };
12
+ labelWidth: {
13
+ type: (StringConstructor | NumberConstructor)[];
14
+ default: string;
15
+ description: string;
16
+ };
17
+ direction: {
18
+ type: StringConstructor;
19
+ default: string;
20
+ description: string;
21
+ };
22
+ }, {
23
+ getForm: () => any;
24
+ setForm: (value?: any) => void;
25
+ validate: (field: string) => Promise<unknown>;
26
+ }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
27
+ change: (...args: any[]) => void;
28
+ }, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
29
+ options: globalThis.PropType<any>;
30
+ size: {
31
+ type: StringConstructor;
32
+ default: string;
33
+ description: string;
34
+ };
35
+ width: {
36
+ type: (StringConstructor | NumberConstructor)[];
37
+ description: string;
38
+ };
39
+ labelWidth: {
40
+ type: (StringConstructor | NumberConstructor)[];
41
+ default: string;
42
+ description: string;
43
+ };
44
+ direction: {
45
+ type: StringConstructor;
46
+ default: string;
47
+ description: string;
48
+ };
49
+ }>> & {
50
+ onChange?: ((...args: any[]) => any) | undefined;
51
+ }, {
52
+ size: string;
53
+ direction: string;
54
+ labelWidth: string | number;
55
+ }, {}>;
56
+ export default _default;
@@ -0,0 +1,37 @@
1
+ import { ExtractPropTypes } from 'vue';
2
+
3
+ export declare const formModel: {
4
+ options: {
5
+ type: ArrayConstructor;
6
+ required: boolean;
7
+ default: never[];
8
+ description: string;
9
+ };
10
+ };
11
+ export declare const formProps: {
12
+ options: {
13
+ type: ObjectConstructor;
14
+ required: boolean;
15
+ description: string;
16
+ };
17
+ size: {
18
+ type: StringConstructor;
19
+ default: string;
20
+ description: string;
21
+ };
22
+ width: {
23
+ type: (StringConstructor | NumberConstructor)[];
24
+ description: string;
25
+ };
26
+ labelWidth: {
27
+ type: (StringConstructor | NumberConstructor)[];
28
+ default: string;
29
+ description: string;
30
+ };
31
+ direction: {
32
+ type: StringConstructor;
33
+ default: string;
34
+ description: string;
35
+ };
36
+ };
37
+ export type FormProps = ExtractPropTypes<typeof formProps>;
@@ -0,0 +1,3 @@
1
+ import { default as VueFeather } from 'vue-feather';
2
+
3
+ export { VueFeather as LewIcon };