cleek 2.11.32 → 2.11.34
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.
- package/dist/cleek-styles/tiny-tailwind/aspect-ratio.styl +6 -6
- package/dist/cleek-styles/tiny-tailwind/bg-color.styl +161 -161
- package/dist/cleek-styles/tiny-tailwind/border-color.styl +161 -161
- package/dist/cleek-styles/tiny-tailwind/border.styl +63 -63
- package/dist/cleek-styles/tiny-tailwind/flex-direction.styl +8 -8
- package/dist/cleek-styles/tiny-tailwind/flex-grow.styl +10 -10
- package/dist/cleek-styles/tiny-tailwind/font-size.styl +24 -24
- package/dist/cleek-styles/tiny-tailwind/grid.styl +87 -87
- package/dist/cleek-styles/tiny-tailwind/height.styl +96 -96
- package/dist/cleek-styles/tiny-tailwind/inset.styl +328 -328
- package/dist/cleek-styles/tiny-tailwind/leading.styl +28 -28
- package/dist/cleek-styles/tiny-tailwind/object-fit.styl +20 -20
- package/dist/cleek-styles/tiny-tailwind/opacity.styl +30 -30
- package/dist/cleek-styles/tiny-tailwind/pointer-events.styl +4 -4
- package/dist/cleek-styles/tiny-tailwind/shadow.styl +16 -16
- package/dist/cleek-styles/tiny-tailwind/size-constraints.styl +127 -127
- package/dist/cleek-styles/tiny-tailwind/text-color.styl +159 -159
- package/dist/cleek-styles/tiny-tailwind/text-decoration.styl +8 -8
- package/dist/cleek-styles/tiny-tailwind/text-overflow.styl +38 -38
- package/dist/cleek-styles/tiny-tailwind/text-transform.styl +8 -8
- package/dist/cleek-styles/tiny-tailwind/transition.styl +55 -55
- package/dist/cleek-styles/tiny-tailwind/user-select.styl +8 -8
- package/dist/cleek-styles/tiny-tailwind/visibility.styl +4 -4
- package/dist/cleek-styles/tiny-tailwind/z-index.styl +14 -14
- package/dist/main.cjs.js +1 -1
- package/dist/main.css +1 -1
- package/dist/main.es.js +2120 -2097
- package/dist/types/cleek-options/default-cleek-options.d.ts +0 -1
- package/dist/types/components/ck-button.vue.d.ts +17 -41
- package/dist/types/components/ck-card.vue.d.ts +17 -27
- package/dist/types/components/ck-checkbox.vue.d.ts +26 -61
- package/dist/types/components/ck-chip.vue.d.ts +16 -32
- package/dist/types/components/ck-circle.vue.d.ts +16 -26
- package/dist/types/components/ck-div.vue.d.ts +16 -23
- package/dist/types/components/ck-dropdown/ck-dropdown.vue.d.ts +22 -23
- package/dist/types/components/ck-dropdown-button.vue.d.ts +7 -17
- package/dist/types/components/ck-icon.vue.d.ts +7 -26
- package/dist/types/components/ck-img.vue.d.ts +6 -30
- package/dist/types/components/ck-input/ck-input-date.vue.d.ts +9 -30
- package/dist/types/components/ck-input/ck-input-time.vue.d.ts +7 -23
- package/dist/types/components/ck-input.vue.d.ts +56 -249
- package/dist/types/components/ck-label.vue.d.ts +13 -20
- package/dist/types/components/ck-navbar/ck-navbar.vue.d.ts +12 -19
- package/dist/types/components/ck-notify/components/CkConfirm.vue.d.ts +1 -1
- package/dist/types/components/ck-popup.vue.d.ts +50 -157
- package/dist/types/components/ck-radio.vue.d.ts +8 -25
- package/dist/types/components/ck-select.vue.d.ts +52 -243
- package/dist/types/components/ck-sidebar.vue.d.ts +30 -69
- package/dist/types/components/ck-switch-options.vue.d.ts +27 -115
- package/dist/types/components/ck-switch.vue.d.ts +35 -102
- package/dist/types/components/ck-table/ck-pagination/ck-pagination.vue.d.ts +6 -25
- package/dist/types/components/ck-table/ck-table.vue.d.ts +60 -182
- package/dist/types/components/ck-table/ck-td.vue.d.ts +12 -27
- package/dist/types/components/ck-table/ck-th.vue.d.ts +12 -20
- package/dist/types/components/ck-table/ck-tr.vue.d.ts +9 -3
- package/dist/types/components/ck-table/inner-components/ck-table__columns-manager-btn.vue.d.ts +3 -14
- package/dist/types/components/ck-table/inner-components/ck-table__columns-manager.vue.d.ts +6 -19
- package/dist/types/components/ck-table/inner-components/ck-table__header-items.vue.d.ts +25 -58
- package/dist/types/components/ck-table/inner-components/ck-table__items-per-page.vue.d.ts +3 -16
- package/dist/types/components/ck-table/inner-components/ck-table__pagination.vue.d.ts +7 -23
- package/dist/types/components/ck-table/loading-and-no-results-text/LoadingAndNoResultsText.vue.d.ts +3 -16
- package/dist/types/components/ck-tabs/ck-tab.vue.d.ts +12 -18
- package/dist/types/components/ck-tabs/ck-tabs.vue.d.ts +19 -19
- package/dist/types/components/ck-textarea.vue.d.ts +14 -42
- package/dist/types/components/ck-tile-picker.vue.d.ts +35 -0
- package/dist/types/components/ck-toggle/ck-toggle.vue.d.ts +16 -27
- package/dist/types/components/ck-toggle-group/ck-toggle-group.vue.d.ts +28 -65
- package/dist/types/components/index.d.ts +1 -0
- package/dist/types/components/showers/ck-datetime-shower.vue.d.ts +5 -20
- package/dist/types/components/showers/ck-time-shower.vue.d.ts +3 -14
- package/dist/types/composables/use-scroll-listener.composable.d.ts +0 -1
- package/dist/types/main.d.ts +0 -1
- package/dist/types/types/table.d.ts +0 -1
- package/dist/types/utils/global-hooks.d.ts +0 -1
- package/package.json +86 -85
|
@@ -2,7 +2,7 @@ type Option = {
|
|
|
2
2
|
value: any;
|
|
3
3
|
label: string;
|
|
4
4
|
};
|
|
5
|
-
|
|
5
|
+
type __VLS_Props = {
|
|
6
6
|
modelValue: string;
|
|
7
7
|
name?: string;
|
|
8
8
|
vertical?: boolean;
|
|
@@ -11,31 +11,14 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
11
11
|
disabled?: boolean;
|
|
12
12
|
value?: any;
|
|
13
13
|
label?: any;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
name?: string;
|
|
21
|
-
vertical?: boolean;
|
|
22
|
-
classes?: string;
|
|
23
|
-
options?: Option[];
|
|
24
|
-
disabled?: boolean;
|
|
25
|
-
value?: any;
|
|
26
|
-
label?: any;
|
|
27
|
-
}>>> & Readonly<{
|
|
14
|
+
};
|
|
15
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
16
|
+
click: (event: Event) => any;
|
|
17
|
+
change: (value: string) => any;
|
|
18
|
+
"update:modelValue": (value: string) => any;
|
|
19
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
28
20
|
onClick?: (event: Event) => any;
|
|
29
21
|
onChange?: (value: string) => any;
|
|
30
22
|
"onUpdate:modelValue"?: (value: string) => any;
|
|
31
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions,
|
|
23
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
32
24
|
export default _default;
|
|
33
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
34
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
35
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
36
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
37
|
-
} : {
|
|
38
|
-
type: import('vue').PropType<T[K]>;
|
|
39
|
-
required: true;
|
|
40
|
-
};
|
|
41
|
-
};
|
|
@@ -1,261 +1,70 @@
|
|
|
1
1
|
import { Align, AlignVertical, Color, Icon, IconPack, Layout, WidthBreaks } from '../cleek-options/cleek-options.types';
|
|
2
|
-
|
|
3
2
|
type OptionValue = any;
|
|
4
3
|
type Option = any;
|
|
4
|
+
type __VLS_Props = {
|
|
5
|
+
options: Option[];
|
|
6
|
+
optionsLimit?: number;
|
|
7
|
+
isLoading?: boolean;
|
|
8
|
+
notReduce?: boolean;
|
|
9
|
+
reduceValueProp?: string;
|
|
10
|
+
reduceValueMethod?: string;
|
|
11
|
+
reduceValueFunction?: (option: Option) => OptionValue;
|
|
12
|
+
notReduceValue?: boolean;
|
|
13
|
+
reduceNameProp?: string;
|
|
14
|
+
reduceNameMethod?: string;
|
|
15
|
+
reduceNameFunction?: (option: Option) => string;
|
|
16
|
+
notReduceName?: boolean;
|
|
17
|
+
notClearable?: boolean;
|
|
18
|
+
clearValue?: any;
|
|
19
|
+
autofocus?: boolean;
|
|
20
|
+
width?: string;
|
|
21
|
+
minWidth?: string;
|
|
22
|
+
layout?: Layout;
|
|
23
|
+
noBorder?: boolean;
|
|
24
|
+
borderColor?: Color;
|
|
25
|
+
bgTransparent?: boolean;
|
|
26
|
+
disabled?: boolean;
|
|
27
|
+
group?: Align;
|
|
28
|
+
groupVertical?: AlignVertical;
|
|
29
|
+
widthBreaks?: WidthBreaks;
|
|
30
|
+
icon?: Icon;
|
|
31
|
+
iconRight?: Icon;
|
|
32
|
+
iconPack?: IconPack;
|
|
33
|
+
iconColor?: Color;
|
|
34
|
+
label?: string;
|
|
35
|
+
labelAlign?: Align;
|
|
36
|
+
optional?: boolean;
|
|
37
|
+
placeholder?: string;
|
|
38
|
+
emptyOptionsMsg?: string;
|
|
39
|
+
backgroundColor?: Color;
|
|
40
|
+
};
|
|
5
41
|
declare function focus(): void;
|
|
6
42
|
declare function blur(): void;
|
|
7
|
-
|
|
8
|
-
modelValue:
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
};
|
|
12
|
-
label: {
|
|
13
|
-
type: import('vue').PropType<string>;
|
|
14
|
-
};
|
|
15
|
-
layout: {
|
|
16
|
-
type: import('vue').PropType<Layout>;
|
|
17
|
-
};
|
|
18
|
-
borderColor: {
|
|
19
|
-
type: import('vue').PropType<string>;
|
|
20
|
-
};
|
|
21
|
-
backgroundColor: {
|
|
22
|
-
type: import('vue').PropType<string>;
|
|
23
|
-
};
|
|
24
|
-
clearValue: {
|
|
25
|
-
type: import('vue').PropType<any>;
|
|
26
|
-
};
|
|
27
|
-
group: {
|
|
28
|
-
type: import('vue').PropType<Align>;
|
|
29
|
-
};
|
|
30
|
-
groupVertical: {
|
|
31
|
-
type: import('vue').PropType<AlignVertical>;
|
|
32
|
-
};
|
|
33
|
-
widthBreaks: {
|
|
34
|
-
type: import('vue').PropType<WidthBreaks>;
|
|
35
|
-
};
|
|
36
|
-
width: {
|
|
37
|
-
type: import('vue').PropType<string>;
|
|
38
|
-
};
|
|
39
|
-
icon: {
|
|
40
|
-
type: import('vue').PropType<Icon>;
|
|
41
|
-
};
|
|
42
|
-
iconPack: {
|
|
43
|
-
type: import('vue').PropType<IconPack>;
|
|
44
|
-
};
|
|
45
|
-
disabled: {
|
|
46
|
-
type: import('vue').PropType<boolean>;
|
|
47
|
-
};
|
|
48
|
-
placeholder: {
|
|
49
|
-
type: import('vue').PropType<string>;
|
|
50
|
-
default: string;
|
|
51
|
-
};
|
|
52
|
-
isLoading: {
|
|
53
|
-
type: import('vue').PropType<boolean>;
|
|
54
|
-
};
|
|
55
|
-
iconRight: {
|
|
56
|
-
type: import('vue').PropType<Icon>;
|
|
57
|
-
};
|
|
58
|
-
labelAlign: {
|
|
59
|
-
type: import('vue').PropType<Align>;
|
|
60
|
-
};
|
|
61
|
-
iconColor: {
|
|
62
|
-
type: import('vue').PropType<string>;
|
|
63
|
-
default: string;
|
|
64
|
-
};
|
|
65
|
-
optional: {
|
|
66
|
-
type: import('vue').PropType<boolean>;
|
|
67
|
-
};
|
|
68
|
-
autofocus: {
|
|
69
|
-
type: import('vue').PropType<boolean>;
|
|
70
|
-
};
|
|
71
|
-
options: {
|
|
72
|
-
type: import('vue').PropType<any[]>;
|
|
73
|
-
required: true;
|
|
74
|
-
};
|
|
75
|
-
optionsLimit: {
|
|
76
|
-
type: import('vue').PropType<number>;
|
|
77
|
-
default: number;
|
|
78
|
-
};
|
|
79
|
-
notReduce: {
|
|
80
|
-
type: import('vue').PropType<boolean>;
|
|
81
|
-
};
|
|
82
|
-
reduceValueProp: {
|
|
83
|
-
type: import('vue').PropType<string>;
|
|
84
|
-
default: string;
|
|
85
|
-
};
|
|
86
|
-
reduceValueMethod: {
|
|
87
|
-
type: import('vue').PropType<string>;
|
|
88
|
-
};
|
|
89
|
-
reduceValueFunction: {
|
|
90
|
-
type: import('vue').PropType<(option: Option) => OptionValue>;
|
|
91
|
-
};
|
|
92
|
-
notReduceValue: {
|
|
93
|
-
type: import('vue').PropType<boolean>;
|
|
94
|
-
};
|
|
95
|
-
reduceNameProp: {
|
|
96
|
-
type: import('vue').PropType<string>;
|
|
97
|
-
default: string;
|
|
98
|
-
};
|
|
99
|
-
reduceNameMethod: {
|
|
100
|
-
type: import('vue').PropType<string>;
|
|
101
|
-
};
|
|
102
|
-
reduceNameFunction: {
|
|
103
|
-
type: import('vue').PropType<(option: Option) => string>;
|
|
104
|
-
};
|
|
105
|
-
notReduceName: {
|
|
106
|
-
type: import('vue').PropType<boolean>;
|
|
107
|
-
};
|
|
108
|
-
notClearable: {
|
|
109
|
-
type: import('vue').PropType<boolean>;
|
|
110
|
-
};
|
|
111
|
-
minWidth: {
|
|
112
|
-
type: import('vue').PropType<string>;
|
|
113
|
-
default: string;
|
|
114
|
-
};
|
|
115
|
-
noBorder: {
|
|
116
|
-
type: import('vue').PropType<boolean>;
|
|
117
|
-
};
|
|
118
|
-
bgTransparent: {
|
|
119
|
-
type: import('vue').PropType<boolean>;
|
|
120
|
-
};
|
|
121
|
-
emptyOptionsMsg: {
|
|
122
|
-
type: import('vue').PropType<string>;
|
|
123
|
-
default: string;
|
|
124
|
-
};
|
|
125
|
-
}>, {
|
|
43
|
+
type __VLS_PublicProps = {
|
|
44
|
+
modelValue: OptionValue;
|
|
45
|
+
} & __VLS_Props;
|
|
46
|
+
declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {
|
|
126
47
|
focus: typeof focus;
|
|
127
48
|
blur: typeof blur;
|
|
128
49
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
129
|
-
click: (event: Event) =>
|
|
130
|
-
change: (val: any) =>
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
required: true;
|
|
134
|
-
type: import('vue').PropType<OptionValue>;
|
|
135
|
-
};
|
|
136
|
-
label: {
|
|
137
|
-
type: import('vue').PropType<string>;
|
|
138
|
-
};
|
|
139
|
-
layout: {
|
|
140
|
-
type: import('vue').PropType<Layout>;
|
|
141
|
-
};
|
|
142
|
-
borderColor: {
|
|
143
|
-
type: import('vue').PropType<string>;
|
|
144
|
-
};
|
|
145
|
-
backgroundColor: {
|
|
146
|
-
type: import('vue').PropType<string>;
|
|
147
|
-
};
|
|
148
|
-
clearValue: {
|
|
149
|
-
type: import('vue').PropType<any>;
|
|
150
|
-
};
|
|
151
|
-
group: {
|
|
152
|
-
type: import('vue').PropType<Align>;
|
|
153
|
-
};
|
|
154
|
-
groupVertical: {
|
|
155
|
-
type: import('vue').PropType<AlignVertical>;
|
|
156
|
-
};
|
|
157
|
-
widthBreaks: {
|
|
158
|
-
type: import('vue').PropType<WidthBreaks>;
|
|
159
|
-
};
|
|
160
|
-
width: {
|
|
161
|
-
type: import('vue').PropType<string>;
|
|
162
|
-
};
|
|
163
|
-
icon: {
|
|
164
|
-
type: import('vue').PropType<Icon>;
|
|
165
|
-
};
|
|
166
|
-
iconPack: {
|
|
167
|
-
type: import('vue').PropType<IconPack>;
|
|
168
|
-
};
|
|
169
|
-
disabled: {
|
|
170
|
-
type: import('vue').PropType<boolean>;
|
|
171
|
-
};
|
|
172
|
-
placeholder: {
|
|
173
|
-
type: import('vue').PropType<string>;
|
|
174
|
-
default: string;
|
|
175
|
-
};
|
|
176
|
-
isLoading: {
|
|
177
|
-
type: import('vue').PropType<boolean>;
|
|
178
|
-
};
|
|
179
|
-
iconRight: {
|
|
180
|
-
type: import('vue').PropType<Icon>;
|
|
181
|
-
};
|
|
182
|
-
labelAlign: {
|
|
183
|
-
type: import('vue').PropType<Align>;
|
|
184
|
-
};
|
|
185
|
-
iconColor: {
|
|
186
|
-
type: import('vue').PropType<string>;
|
|
187
|
-
default: string;
|
|
188
|
-
};
|
|
189
|
-
optional: {
|
|
190
|
-
type: import('vue').PropType<boolean>;
|
|
191
|
-
};
|
|
192
|
-
autofocus: {
|
|
193
|
-
type: import('vue').PropType<boolean>;
|
|
194
|
-
};
|
|
195
|
-
options: {
|
|
196
|
-
type: import('vue').PropType<any[]>;
|
|
197
|
-
required: true;
|
|
198
|
-
};
|
|
199
|
-
optionsLimit: {
|
|
200
|
-
type: import('vue').PropType<number>;
|
|
201
|
-
default: number;
|
|
202
|
-
};
|
|
203
|
-
notReduce: {
|
|
204
|
-
type: import('vue').PropType<boolean>;
|
|
205
|
-
};
|
|
206
|
-
reduceValueProp: {
|
|
207
|
-
type: import('vue').PropType<string>;
|
|
208
|
-
default: string;
|
|
209
|
-
};
|
|
210
|
-
reduceValueMethod: {
|
|
211
|
-
type: import('vue').PropType<string>;
|
|
212
|
-
};
|
|
213
|
-
reduceValueFunction: {
|
|
214
|
-
type: import('vue').PropType<(option: Option) => OptionValue>;
|
|
215
|
-
};
|
|
216
|
-
notReduceValue: {
|
|
217
|
-
type: import('vue').PropType<boolean>;
|
|
218
|
-
};
|
|
219
|
-
reduceNameProp: {
|
|
220
|
-
type: import('vue').PropType<string>;
|
|
221
|
-
default: string;
|
|
222
|
-
};
|
|
223
|
-
reduceNameMethod: {
|
|
224
|
-
type: import('vue').PropType<string>;
|
|
225
|
-
};
|
|
226
|
-
reduceNameFunction: {
|
|
227
|
-
type: import('vue').PropType<(option: Option) => string>;
|
|
228
|
-
};
|
|
229
|
-
notReduceName: {
|
|
230
|
-
type: import('vue').PropType<boolean>;
|
|
231
|
-
};
|
|
232
|
-
notClearable: {
|
|
233
|
-
type: import('vue').PropType<boolean>;
|
|
234
|
-
};
|
|
235
|
-
minWidth: {
|
|
236
|
-
type: import('vue').PropType<string>;
|
|
237
|
-
default: string;
|
|
238
|
-
};
|
|
239
|
-
noBorder: {
|
|
240
|
-
type: import('vue').PropType<boolean>;
|
|
241
|
-
};
|
|
242
|
-
bgTransparent: {
|
|
243
|
-
type: import('vue').PropType<boolean>;
|
|
244
|
-
};
|
|
245
|
-
emptyOptionsMsg: {
|
|
246
|
-
type: import('vue').PropType<string>;
|
|
247
|
-
default: string;
|
|
248
|
-
};
|
|
249
|
-
}>> & Readonly<{
|
|
50
|
+
click: (event: Event) => any;
|
|
51
|
+
change: (val: any) => any;
|
|
52
|
+
"update:modelValue": (value: any) => any;
|
|
53
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
250
54
|
onClick?: (event: Event) => any;
|
|
251
55
|
onChange?: (val: any) => any;
|
|
56
|
+
"onUpdate:modelValue"?: (value: any) => any;
|
|
252
57
|
}>, {
|
|
253
58
|
placeholder: string;
|
|
59
|
+
minWidth: string;
|
|
254
60
|
iconColor: Color;
|
|
255
61
|
optionsLimit: number;
|
|
256
62
|
reduceValueProp: string;
|
|
257
63
|
reduceNameProp: string;
|
|
258
|
-
minWidth: string;
|
|
259
64
|
emptyOptionsMsg: string;
|
|
260
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions,
|
|
65
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
66
|
+
selectRef: HTMLSelectElement;
|
|
67
|
+
inputRef: HTMLInputElement;
|
|
68
|
+
dropdownRef: HTMLUListElement;
|
|
69
|
+
}, HTMLDivElement>;
|
|
261
70
|
export default _default;
|
|
@@ -1,74 +1,35 @@
|
|
|
1
|
+
import { Color } from '../cleek-options/cleek-options.types';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
title?: string;
|
|
4
|
+
width?: string;
|
|
5
|
+
rightSide?: boolean;
|
|
6
|
+
headerColor?: Color;
|
|
7
|
+
headerAlign?: boolean;
|
|
8
|
+
closeBtnAlign?: 'left' | 'right';
|
|
9
|
+
closeBtnIcon?: string;
|
|
10
|
+
notCloseBtn?: boolean;
|
|
11
|
+
isLoading?: boolean;
|
|
12
|
+
};
|
|
13
|
+
type __VLS_PublicProps = {
|
|
14
|
+
modelValue: boolean;
|
|
15
|
+
} & __VLS_Props;
|
|
1
16
|
declare function __VLS_template(): {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
17
|
+
attrs: Partial<{}>;
|
|
18
|
+
slots: {
|
|
19
|
+
header?(_: {}): any;
|
|
20
|
+
default?(_: {}): any;
|
|
21
|
+
footer?(_: {}): any;
|
|
22
|
+
};
|
|
23
|
+
refs: {};
|
|
24
|
+
rootEl: any;
|
|
5
25
|
};
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
};
|
|
14
|
-
width: {
|
|
15
|
-
type: import('vue').PropType<string>;
|
|
16
|
-
};
|
|
17
|
-
rightSide: {
|
|
18
|
-
type: import('vue').PropType<boolean>;
|
|
19
|
-
};
|
|
20
|
-
headerColor: {
|
|
21
|
-
type: import('vue').PropType<string>;
|
|
22
|
-
};
|
|
23
|
-
headerAlign: {
|
|
24
|
-
type: import('vue').PropType<boolean>;
|
|
25
|
-
};
|
|
26
|
-
closeBtnAlign: {
|
|
27
|
-
type: import('vue').PropType<"left" | "right">;
|
|
28
|
-
};
|
|
29
|
-
closeBtnIcon: {
|
|
30
|
-
type: import('vue').PropType<string>;
|
|
31
|
-
};
|
|
32
|
-
notCloseBtn: {
|
|
33
|
-
type: import('vue').PropType<boolean>;
|
|
34
|
-
};
|
|
35
|
-
isLoading: {
|
|
36
|
-
type: import('vue').PropType<boolean>;
|
|
37
|
-
};
|
|
38
|
-
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
39
|
-
modelValue: {
|
|
40
|
-
required: true;
|
|
41
|
-
type: import('vue').PropType<boolean>;
|
|
42
|
-
};
|
|
43
|
-
title: {
|
|
44
|
-
type: import('vue').PropType<string>;
|
|
45
|
-
};
|
|
46
|
-
width: {
|
|
47
|
-
type: import('vue').PropType<string>;
|
|
48
|
-
};
|
|
49
|
-
rightSide: {
|
|
50
|
-
type: import('vue').PropType<boolean>;
|
|
51
|
-
};
|
|
52
|
-
headerColor: {
|
|
53
|
-
type: import('vue').PropType<string>;
|
|
54
|
-
};
|
|
55
|
-
headerAlign: {
|
|
56
|
-
type: import('vue').PropType<boolean>;
|
|
57
|
-
};
|
|
58
|
-
closeBtnAlign: {
|
|
59
|
-
type: import('vue').PropType<"left" | "right">;
|
|
60
|
-
};
|
|
61
|
-
closeBtnIcon: {
|
|
62
|
-
type: import('vue').PropType<string>;
|
|
63
|
-
};
|
|
64
|
-
notCloseBtn: {
|
|
65
|
-
type: import('vue').PropType<boolean>;
|
|
66
|
-
};
|
|
67
|
-
isLoading: {
|
|
68
|
-
type: import('vue').PropType<boolean>;
|
|
69
|
-
};
|
|
70
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
71
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
26
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
27
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
28
|
+
"update:modelValue": (value: boolean) => any;
|
|
29
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
30
|
+
"onUpdate:modelValue"?: (value: boolean) => any;
|
|
31
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
32
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
72
33
|
export default _default;
|
|
73
34
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
74
35
|
new (): {
|
|
@@ -1,123 +1,35 @@
|
|
|
1
1
|
import { Align } from '../cleek-options/cleek-options.types';
|
|
2
|
-
|
|
3
2
|
type OptionValue = any;
|
|
4
3
|
type Option = any;
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
reduceValueProp: {
|
|
32
|
-
type: import('vue').PropType<string>;
|
|
33
|
-
default: string;
|
|
34
|
-
};
|
|
35
|
-
reduceValueMethod: {
|
|
36
|
-
type: import('vue').PropType<string>;
|
|
37
|
-
};
|
|
38
|
-
reduceValueFunction: {
|
|
39
|
-
type: import('vue').PropType<(option: Option) => OptionValue>;
|
|
40
|
-
};
|
|
41
|
-
notReduceValue: {
|
|
42
|
-
type: import('vue').PropType<boolean>;
|
|
43
|
-
};
|
|
44
|
-
reduceNameProp: {
|
|
45
|
-
type: import('vue').PropType<string>;
|
|
46
|
-
default: string;
|
|
47
|
-
};
|
|
48
|
-
reduceNameMethod: {
|
|
49
|
-
type: import('vue').PropType<string>;
|
|
50
|
-
};
|
|
51
|
-
reduceNameFunction: {
|
|
52
|
-
type: import('vue').PropType<(option: Option) => string>;
|
|
53
|
-
};
|
|
54
|
-
notReduceName: {
|
|
55
|
-
type: import('vue').PropType<boolean>;
|
|
56
|
-
};
|
|
57
|
-
sameWidthOptions: {
|
|
58
|
-
type: import('vue').PropType<boolean>;
|
|
59
|
-
};
|
|
60
|
-
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
61
|
-
change: (val: any) => void;
|
|
62
|
-
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
63
|
-
modelValue: {
|
|
64
|
-
required: true;
|
|
65
|
-
type: import('vue').PropType<OptionValue>;
|
|
66
|
-
};
|
|
67
|
-
label: {
|
|
68
|
-
type: import('vue').PropType<string>;
|
|
69
|
-
};
|
|
70
|
-
group: {
|
|
71
|
-
type: import('vue').PropType<"left" | "center" | "right">;
|
|
72
|
-
};
|
|
73
|
-
groupVertical: {
|
|
74
|
-
type: import('vue').PropType<"center" | "top" | "bottom">;
|
|
75
|
-
};
|
|
76
|
-
widthBreaks: {
|
|
77
|
-
type: import('vue').PropType<[number, string][]>;
|
|
78
|
-
};
|
|
79
|
-
labelAlign: {
|
|
80
|
-
type: import('vue').PropType<Align>;
|
|
81
|
-
};
|
|
82
|
-
options: {
|
|
83
|
-
type: import('vue').PropType<any[]>;
|
|
84
|
-
};
|
|
85
|
-
notReduce: {
|
|
86
|
-
type: import('vue').PropType<boolean>;
|
|
87
|
-
};
|
|
88
|
-
reduceValueProp: {
|
|
89
|
-
type: import('vue').PropType<string>;
|
|
90
|
-
default: string;
|
|
91
|
-
};
|
|
92
|
-
reduceValueMethod: {
|
|
93
|
-
type: import('vue').PropType<string>;
|
|
94
|
-
};
|
|
95
|
-
reduceValueFunction: {
|
|
96
|
-
type: import('vue').PropType<(option: Option) => OptionValue>;
|
|
97
|
-
};
|
|
98
|
-
notReduceValue: {
|
|
99
|
-
type: import('vue').PropType<boolean>;
|
|
100
|
-
};
|
|
101
|
-
reduceNameProp: {
|
|
102
|
-
type: import('vue').PropType<string>;
|
|
103
|
-
default: string;
|
|
104
|
-
};
|
|
105
|
-
reduceNameMethod: {
|
|
106
|
-
type: import('vue').PropType<string>;
|
|
107
|
-
};
|
|
108
|
-
reduceNameFunction: {
|
|
109
|
-
type: import('vue').PropType<(option: Option) => string>;
|
|
110
|
-
};
|
|
111
|
-
notReduceName: {
|
|
112
|
-
type: import('vue').PropType<boolean>;
|
|
113
|
-
};
|
|
114
|
-
sameWidthOptions: {
|
|
115
|
-
type: import('vue').PropType<boolean>;
|
|
116
|
-
};
|
|
117
|
-
}>> & Readonly<{
|
|
4
|
+
type __VLS_Props = {
|
|
5
|
+
options?: Option[];
|
|
6
|
+
notReduce?: boolean;
|
|
7
|
+
reduceValueProp?: string;
|
|
8
|
+
reduceValueMethod?: string;
|
|
9
|
+
reduceValueFunction?: (option: Option) => OptionValue;
|
|
10
|
+
notReduceValue?: boolean;
|
|
11
|
+
reduceNameProp?: string;
|
|
12
|
+
reduceNameMethod?: string;
|
|
13
|
+
reduceNameFunction?: (option: Option) => string;
|
|
14
|
+
notReduceName?: boolean;
|
|
15
|
+
label?: string;
|
|
16
|
+
labelAlign?: Align;
|
|
17
|
+
widthBreaks?: [number, string][];
|
|
18
|
+
group?: 'left' | 'right' | 'center';
|
|
19
|
+
groupVertical?: 'top' | 'bottom' | 'center';
|
|
20
|
+
sameWidthOptions?: boolean;
|
|
21
|
+
};
|
|
22
|
+
type __VLS_PublicProps = {
|
|
23
|
+
modelValue: OptionValue;
|
|
24
|
+
} & __VLS_Props;
|
|
25
|
+
declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
26
|
+
change: (val: any) => any;
|
|
27
|
+
"update:modelValue": (value: any) => any;
|
|
28
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
118
29
|
onChange?: (val: any) => any;
|
|
30
|
+
"onUpdate:modelValue"?: (value: any) => any;
|
|
119
31
|
}>, {
|
|
120
32
|
reduceValueProp: string;
|
|
121
33
|
reduceNameProp: string;
|
|
122
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions,
|
|
34
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
123
35
|
export default _default;
|