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,2 @@
1
+ export { default as LewModal } from './src/LewModal.vue';
2
+ export * from './src/props';
@@ -0,0 +1,161 @@
1
+ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
2
+ visible: globalThis.PropType<boolean | undefined>;
3
+ title: {
4
+ type: StringConstructor;
5
+ default: string;
6
+ description: string;
7
+ };
8
+ width: {
9
+ type: (StringConstructor | NumberConstructor)[];
10
+ default: string;
11
+ description: string;
12
+ };
13
+ height: {
14
+ type: (StringConstructor | NumberConstructor)[];
15
+ default: string;
16
+ description: string;
17
+ };
18
+ customHeader: {
19
+ type: BooleanConstructor;
20
+ default: boolean;
21
+ description: string;
22
+ };
23
+ customFooter: {
24
+ type: BooleanConstructor;
25
+ default: boolean;
26
+ description: string;
27
+ };
28
+ closeByEsc: {
29
+ type: BooleanConstructor;
30
+ default: boolean;
31
+ description: string;
32
+ };
33
+ okProps: {
34
+ type: globalThis.PropType<import('../..').ButtonProps>;
35
+ default: () => {
36
+ text: string;
37
+ color: string;
38
+ };
39
+ description: string;
40
+ };
41
+ cancelProps: {
42
+ type: globalThis.PropType<import('../..').ButtonProps>;
43
+ default: () => {
44
+ type: string;
45
+ text: string;
46
+ color: string;
47
+ };
48
+ description: string;
49
+ };
50
+ closeOnClickOverlay: {
51
+ type: BooleanConstructor;
52
+ default: boolean;
53
+ description: string;
54
+ };
55
+ }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
56
+ close: (...args: any[]) => void;
57
+ show: (...args: any[]) => void;
58
+ ok: (...args: any[]) => void;
59
+ cancel: (...args: any[]) => void;
60
+ }, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
61
+ visible: globalThis.PropType<boolean | undefined>;
62
+ title: {
63
+ type: StringConstructor;
64
+ default: string;
65
+ description: string;
66
+ };
67
+ width: {
68
+ type: (StringConstructor | NumberConstructor)[];
69
+ default: string;
70
+ description: string;
71
+ };
72
+ height: {
73
+ type: (StringConstructor | NumberConstructor)[];
74
+ default: string;
75
+ description: string;
76
+ };
77
+ customHeader: {
78
+ type: BooleanConstructor;
79
+ default: boolean;
80
+ description: string;
81
+ };
82
+ customFooter: {
83
+ type: BooleanConstructor;
84
+ default: boolean;
85
+ description: string;
86
+ };
87
+ closeByEsc: {
88
+ type: BooleanConstructor;
89
+ default: boolean;
90
+ description: string;
91
+ };
92
+ okProps: {
93
+ type: globalThis.PropType<import('../..').ButtonProps>;
94
+ default: () => {
95
+ text: string;
96
+ color: string;
97
+ };
98
+ description: string;
99
+ };
100
+ cancelProps: {
101
+ type: globalThis.PropType<import('../..').ButtonProps>;
102
+ default: () => {
103
+ type: string;
104
+ text: string;
105
+ color: string;
106
+ };
107
+ description: string;
108
+ };
109
+ closeOnClickOverlay: {
110
+ type: BooleanConstructor;
111
+ default: boolean;
112
+ description: string;
113
+ };
114
+ }>> & {
115
+ onClose?: ((...args: any[]) => any) | undefined;
116
+ onShow?: ((...args: any[]) => any) | undefined;
117
+ onOk?: ((...args: any[]) => any) | undefined;
118
+ onCancel?: ((...args: any[]) => any) | undefined;
119
+ }, {
120
+ title: string;
121
+ width: string | number;
122
+ height: string | number;
123
+ customHeader: boolean;
124
+ customFooter: boolean;
125
+ closeByEsc: boolean;
126
+ okProps: {
127
+ text: string;
128
+ type: import('../..').ButtonType;
129
+ size: import('../..').ButtonSize;
130
+ round: boolean;
131
+ color: import('../..').ButtonColor;
132
+ icon: string;
133
+ iconPosition: string;
134
+ loading: boolean;
135
+ request: Function;
136
+ disabled: boolean;
137
+ };
138
+ cancelProps: {
139
+ text: string;
140
+ type: import('../..').ButtonType;
141
+ size: import('../..').ButtonSize;
142
+ round: boolean;
143
+ color: import('../..').ButtonColor;
144
+ icon: string;
145
+ iconPosition: string;
146
+ loading: boolean;
147
+ request: Function;
148
+ disabled: boolean;
149
+ };
150
+ closeOnClickOverlay: boolean;
151
+ }, {}>, {
152
+ header?(_: {}): any;
153
+ default?(_: {}): any;
154
+ footer?(_: {}): any;
155
+ }>;
156
+ export default _default;
157
+ type __VLS_WithTemplateSlots<T, S> = T & {
158
+ new (): {
159
+ $slots: S;
160
+ };
161
+ };
@@ -0,0 +1,65 @@
1
+ import { ButtonProps } from '../../button/index';
2
+ import { ExtractPropTypes, PropType } from 'vue';
3
+
4
+ export declare const modalModel: {
5
+ visible: {
6
+ type: BooleanConstructor;
7
+ default: boolean;
8
+ description: string;
9
+ };
10
+ };
11
+ export declare const modalProps: {
12
+ title: {
13
+ type: StringConstructor;
14
+ default: string;
15
+ description: string;
16
+ };
17
+ width: {
18
+ type: (StringConstructor | NumberConstructor)[];
19
+ default: string;
20
+ description: string;
21
+ };
22
+ height: {
23
+ type: (StringConstructor | NumberConstructor)[];
24
+ default: string;
25
+ description: string;
26
+ };
27
+ customHeader: {
28
+ type: BooleanConstructor;
29
+ default: boolean;
30
+ description: string;
31
+ };
32
+ customFooter: {
33
+ type: BooleanConstructor;
34
+ default: boolean;
35
+ description: string;
36
+ };
37
+ closeByEsc: {
38
+ type: BooleanConstructor;
39
+ default: boolean;
40
+ description: string;
41
+ };
42
+ okProps: {
43
+ type: PropType<ButtonProps>;
44
+ default: () => {
45
+ text: string;
46
+ color: string;
47
+ };
48
+ description: string;
49
+ };
50
+ cancelProps: {
51
+ type: PropType<ButtonProps>;
52
+ default: () => {
53
+ type: string;
54
+ text: string;
55
+ color: string;
56
+ };
57
+ description: string;
58
+ };
59
+ closeOnClickOverlay: {
60
+ type: BooleanConstructor;
61
+ default: boolean;
62
+ description: string;
63
+ };
64
+ };
65
+ export type ModalProps = ExtractPropTypes<typeof modalProps>;
@@ -0,0 +1,2 @@
1
+ export { default as LewPagination } from './src/LewPagination.vue';
2
+ export * from './src/props';
@@ -0,0 +1,42 @@
1
+ import { PaginationOptions } from './props';
2
+
3
+ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
4
+ total: globalThis.PropType<number>;
5
+ currentPage: globalThis.PropType<number>;
6
+ pageSize: globalThis.PropType<number>;
7
+ pageSizeOptions: globalThis.PropType<PaginationOptions[]>;
8
+ visiblePagesCount: {
9
+ type: NumberConstructor;
10
+ default: number;
11
+ description: string;
12
+ };
13
+ }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
14
+ change: (...args: any[]) => void;
15
+ "update:currentPage": (...args: any[]) => void;
16
+ "update:pageSize": (...args: any[]) => void;
17
+ }, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
18
+ total: globalThis.PropType<number>;
19
+ currentPage: globalThis.PropType<number>;
20
+ pageSize: globalThis.PropType<number>;
21
+ pageSizeOptions: globalThis.PropType<PaginationOptions[]>;
22
+ visiblePagesCount: {
23
+ type: NumberConstructor;
24
+ default: number;
25
+ description: string;
26
+ };
27
+ }>> & {
28
+ onChange?: ((...args: any[]) => any) | undefined;
29
+ "onUpdate:currentPage"?: ((...args: any[]) => any) | undefined;
30
+ "onUpdate:pageSize"?: ((...args: any[]) => any) | undefined;
31
+ }, {
32
+ visiblePagesCount: number;
33
+ }, {}>, {
34
+ left?(_: {}): any;
35
+ right?(_: {}): any;
36
+ }>;
37
+ export default _default;
38
+ type __VLS_WithTemplateSlots<T, S> = T & {
39
+ new (): {
40
+ $slots: S;
41
+ };
42
+ };
@@ -0,0 +1,39 @@
1
+ import { PropType } from 'vue';
2
+
3
+ export type PaginationOptions = {
4
+ label: number | string;
5
+ value: number | string;
6
+ };
7
+ export declare const paginationModel: {
8
+ total: {
9
+ type: NumberConstructor;
10
+ default: number;
11
+ description: string;
12
+ };
13
+ currentPage: {
14
+ type: NumberConstructor;
15
+ default: number;
16
+ description: string;
17
+ };
18
+ pageSize: {
19
+ type: NumberConstructor;
20
+ require: boolean;
21
+ default: number;
22
+ description: string;
23
+ };
24
+ pageSizeOptions: {
25
+ type: PropType<PaginationOptions[]>;
26
+ default: {
27
+ label: string;
28
+ value: number;
29
+ }[];
30
+ description: string;
31
+ };
32
+ };
33
+ export declare const paginationProps: {
34
+ visiblePagesCount: {
35
+ type: NumberConstructor;
36
+ default: number;
37
+ description: string;
38
+ };
39
+ };
@@ -0,0 +1,2 @@
1
+ export { default as LewPopok } from './src/LewPopok.vue';
2
+ export * from './src/props';
@@ -0,0 +1,146 @@
1
+ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
2
+ type: {
3
+ type: StringConstructor;
4
+ default: string;
5
+ description: string;
6
+ };
7
+ width: {
8
+ type: (StringConstructor | NumberConstructor)[];
9
+ default: string;
10
+ description: string;
11
+ };
12
+ trigger: {
13
+ type: StringConstructor;
14
+ default: string;
15
+ description: string;
16
+ };
17
+ title: {
18
+ type: StringConstructor;
19
+ default: string;
20
+ description: string;
21
+ };
22
+ okProps: {
23
+ type: globalThis.PropType<import('../..').ButtonProps>;
24
+ default: () => {
25
+ text: string;
26
+ color: string;
27
+ };
28
+ description: string;
29
+ };
30
+ cancelProps: {
31
+ type: globalThis.PropType<import('../..').ButtonProps>;
32
+ default: () => {
33
+ type: string;
34
+ text: string;
35
+ color: string;
36
+ };
37
+ description: string;
38
+ };
39
+ content: {
40
+ type: StringConstructor;
41
+ default: string;
42
+ description: string;
43
+ };
44
+ placement: {
45
+ type: StringConstructor;
46
+ default: string;
47
+ description: string;
48
+ };
49
+ }, {
50
+ hide: () => void;
51
+ }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
52
+ show: (...args: any[]) => void;
53
+ ok: (...args: any[]) => void;
54
+ cancel: (...args: any[]) => void;
55
+ }, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
56
+ type: {
57
+ type: StringConstructor;
58
+ default: string;
59
+ description: string;
60
+ };
61
+ width: {
62
+ type: (StringConstructor | NumberConstructor)[];
63
+ default: string;
64
+ description: string;
65
+ };
66
+ trigger: {
67
+ type: StringConstructor;
68
+ default: string;
69
+ description: string;
70
+ };
71
+ title: {
72
+ type: StringConstructor;
73
+ default: string;
74
+ description: string;
75
+ };
76
+ okProps: {
77
+ type: globalThis.PropType<import('../..').ButtonProps>;
78
+ default: () => {
79
+ text: string;
80
+ color: string;
81
+ };
82
+ description: string;
83
+ };
84
+ cancelProps: {
85
+ type: globalThis.PropType<import('../..').ButtonProps>;
86
+ default: () => {
87
+ type: string;
88
+ text: string;
89
+ color: string;
90
+ };
91
+ description: string;
92
+ };
93
+ content: {
94
+ type: StringConstructor;
95
+ default: string;
96
+ description: string;
97
+ };
98
+ placement: {
99
+ type: StringConstructor;
100
+ default: string;
101
+ description: string;
102
+ };
103
+ }>> & {
104
+ onShow?: ((...args: any[]) => any) | undefined;
105
+ onOk?: ((...args: any[]) => any) | undefined;
106
+ onCancel?: ((...args: any[]) => any) | undefined;
107
+ }, {
108
+ title: string;
109
+ content: string;
110
+ type: string;
111
+ width: string | number;
112
+ trigger: string;
113
+ placement: string;
114
+ okProps: {
115
+ text: string;
116
+ type: import('../..').ButtonType;
117
+ size: import('../..').ButtonSize;
118
+ round: boolean;
119
+ color: import('../..').ButtonColor;
120
+ icon: string;
121
+ iconPosition: string;
122
+ loading: boolean;
123
+ request: Function;
124
+ disabled: boolean;
125
+ };
126
+ cancelProps: {
127
+ text: string;
128
+ type: import('../..').ButtonType;
129
+ size: import('../..').ButtonSize;
130
+ round: boolean;
131
+ color: import('../..').ButtonColor;
132
+ icon: string;
133
+ iconPosition: string;
134
+ loading: boolean;
135
+ request: Function;
136
+ disabled: boolean;
137
+ };
138
+ }, {}>, {
139
+ default?(_: {}): any;
140
+ }>;
141
+ export default _default;
142
+ type __VLS_WithTemplateSlots<T, S> = T & {
143
+ new (): {
144
+ $slots: S;
145
+ };
146
+ };
@@ -0,0 +1,52 @@
1
+ import { PropType } from 'vue';
2
+ import { ButtonProps } from '../../button/index';
3
+
4
+ export declare const popokProps: {
5
+ type: {
6
+ type: StringConstructor;
7
+ default: string;
8
+ description: string;
9
+ };
10
+ width: {
11
+ type: (StringConstructor | NumberConstructor)[];
12
+ default: string;
13
+ description: string;
14
+ };
15
+ trigger: {
16
+ type: StringConstructor;
17
+ default: string;
18
+ description: string;
19
+ };
20
+ title: {
21
+ type: StringConstructor;
22
+ default: string;
23
+ description: string;
24
+ };
25
+ okProps: {
26
+ type: PropType<ButtonProps>;
27
+ default: () => {
28
+ text: string;
29
+ color: string;
30
+ };
31
+ description: string;
32
+ };
33
+ cancelProps: {
34
+ type: PropType<ButtonProps>;
35
+ default: () => {
36
+ type: string;
37
+ text: string;
38
+ color: string;
39
+ };
40
+ description: string;
41
+ };
42
+ content: {
43
+ type: StringConstructor;
44
+ default: string;
45
+ description: string;
46
+ };
47
+ placement: {
48
+ type: StringConstructor;
49
+ default: string;
50
+ description: string;
51
+ };
52
+ };
@@ -0,0 +1,2 @@
1
+ export { default as LewPopover } from './src/LewPopover.vue';
2
+ export * from './src/props';
@@ -0,0 +1,118 @@
1
+ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
2
+ trigger: {
3
+ type: StringConstructor;
4
+ default: string;
5
+ description: string;
6
+ };
7
+ placement: {
8
+ type: StringConstructor;
9
+ default: string;
10
+ description: string;
11
+ };
12
+ disabled: {
13
+ type: BooleanConstructor;
14
+ default: boolean;
15
+ description: string;
16
+ };
17
+ loading: {
18
+ type: BooleanConstructor;
19
+ default: boolean;
20
+ description: string;
21
+ };
22
+ popoverBodyClassName: {
23
+ type: StringConstructor;
24
+ default: string;
25
+ description: string;
26
+ };
27
+ triggerTarget: {
28
+ type: {
29
+ new (): Element;
30
+ prototype: Element;
31
+ };
32
+ default: null;
33
+ description: string;
34
+ };
35
+ offset: {
36
+ type: ArrayConstructor;
37
+ default: number[];
38
+ description: string;
39
+ };
40
+ hideOnClick: {
41
+ type: (BooleanConstructor | StringConstructor)[];
42
+ default: boolean;
43
+ };
44
+ }, {
45
+ show: () => void;
46
+ hide: () => void;
47
+ refresh: () => void;
48
+ }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
49
+ show: (...args: any[]) => void;
50
+ hide: (...args: any[]) => void;
51
+ }, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
52
+ trigger: {
53
+ type: StringConstructor;
54
+ default: string;
55
+ description: string;
56
+ };
57
+ placement: {
58
+ type: StringConstructor;
59
+ default: string;
60
+ description: string;
61
+ };
62
+ disabled: {
63
+ type: BooleanConstructor;
64
+ default: boolean;
65
+ description: string;
66
+ };
67
+ loading: {
68
+ type: BooleanConstructor;
69
+ default: boolean;
70
+ description: string;
71
+ };
72
+ popoverBodyClassName: {
73
+ type: StringConstructor;
74
+ default: string;
75
+ description: string;
76
+ };
77
+ triggerTarget: {
78
+ type: {
79
+ new (): Element;
80
+ prototype: Element;
81
+ };
82
+ default: null;
83
+ description: string;
84
+ };
85
+ offset: {
86
+ type: ArrayConstructor;
87
+ default: number[];
88
+ description: string;
89
+ };
90
+ hideOnClick: {
91
+ type: (BooleanConstructor | StringConstructor)[];
92
+ default: boolean;
93
+ };
94
+ }>> & {
95
+ onShow?: ((...args: any[]) => any) | undefined;
96
+ onHide?: ((...args: any[]) => any) | undefined;
97
+ }, {
98
+ loading: boolean;
99
+ disabled: boolean;
100
+ trigger: string;
101
+ placement: string;
102
+ offset: unknown[];
103
+ popoverBodyClassName: string;
104
+ hideOnClick: string | boolean;
105
+ triggerTarget: Element;
106
+ }, {}>, {
107
+ trigger?(_: {}): any;
108
+ "popover-body"?(_: {
109
+ show: () => void;
110
+ hide: () => void;
111
+ }): any;
112
+ }>;
113
+ export default _default;
114
+ type __VLS_WithTemplateSlots<T, S> = T & {
115
+ new (): {
116
+ $slots: S;
117
+ };
118
+ };
@@ -0,0 +1,47 @@
1
+ import { ExtractPropTypes } from 'vue';
2
+
3
+ export declare const popoverProps: {
4
+ trigger: {
5
+ type: StringConstructor;
6
+ default: string;
7
+ description: string;
8
+ };
9
+ placement: {
10
+ type: StringConstructor;
11
+ default: string;
12
+ description: string;
13
+ };
14
+ disabled: {
15
+ type: BooleanConstructor;
16
+ default: boolean;
17
+ description: string;
18
+ };
19
+ loading: {
20
+ type: BooleanConstructor;
21
+ default: boolean;
22
+ description: string;
23
+ };
24
+ popoverBodyClassName: {
25
+ type: StringConstructor;
26
+ default: string;
27
+ description: string;
28
+ };
29
+ triggerTarget: {
30
+ type: {
31
+ new (): Element;
32
+ prototype: Element;
33
+ };
34
+ default: null;
35
+ description: string;
36
+ };
37
+ offset: {
38
+ type: ArrayConstructor;
39
+ default: number[];
40
+ description: string;
41
+ };
42
+ hideOnClick: {
43
+ type: (BooleanConstructor | StringConstructor)[];
44
+ default: boolean;
45
+ };
46
+ };
47
+ export type PopoverProps = ExtractPropTypes<typeof popoverProps>;
@@ -0,0 +1,2 @@
1
+ export { default as LewRadioGroup } from './src/LewRadioGroup.vue';
2
+ export * from './src/props';