cleek 2.11.33 → 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/main.cjs.js +1 -1
- package/dist/main.css +1 -1
- package/dist/main.es.js +1993 -2068
- 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 -234
- 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 +33 -85
- 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/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
|
@@ -1,34 +1,18 @@
|
|
|
1
1
|
import { Align, AlignVertical, WidthBreaks } from '../../cleek-options/cleek-options.types';
|
|
2
|
-
|
|
3
2
|
type numberTime = number | undefined;
|
|
4
|
-
|
|
3
|
+
type __VLS_Props = {
|
|
5
4
|
modelValue: numberTime;
|
|
6
5
|
label?: string;
|
|
7
6
|
disabled?: boolean;
|
|
8
7
|
widthBreaks?: WidthBreaks;
|
|
9
8
|
group?: Align;
|
|
10
9
|
groupVertical?: AlignVertical;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
change: (value: number) =>
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
label?: string;
|
|
17
|
-
disabled?: boolean;
|
|
18
|
-
widthBreaks?: WidthBreaks;
|
|
19
|
-
group?: Align;
|
|
20
|
-
groupVertical?: AlignVertical;
|
|
21
|
-
}>>> & Readonly<{
|
|
10
|
+
};
|
|
11
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
12
|
+
change: (value: number) => any;
|
|
13
|
+
"update:modelValue": (value: number) => any;
|
|
14
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
22
15
|
onChange?: (value: number) => any;
|
|
23
16
|
"onUpdate:modelValue"?: (value: number) => any;
|
|
24
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions,
|
|
17
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
25
18
|
export default _default;
|
|
26
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
27
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
28
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
29
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
30
|
-
} : {
|
|
31
|
-
type: import('vue').PropType<T[K]>;
|
|
32
|
-
required: true;
|
|
33
|
-
};
|
|
34
|
-
};
|
|
@@ -1,252 +1,74 @@
|
|
|
1
|
-
import { Align, AlignVertical, Icon, IconPack, InputType, Layout, WidthBreaks } from '../cleek-options/cleek-options.types';
|
|
2
|
-
|
|
1
|
+
import { Align, AlignVertical, Color, Icon, IconPack, InputType, Layout, SizeInCSS, WidthBreaks } from '../cleek-options/cleek-options.types';
|
|
3
2
|
type Value = string | number;
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
type?: InputType;
|
|
5
|
+
preventAutocomplete?: boolean;
|
|
6
|
+
readonly?: boolean;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
placeholder?: string;
|
|
9
|
+
plusMinusButtons?: boolean;
|
|
10
|
+
min?: number;
|
|
11
|
+
max?: number;
|
|
12
|
+
suffix?: string;
|
|
13
|
+
label?: string;
|
|
14
|
+
labelAlign?: Align;
|
|
15
|
+
icon?: Icon;
|
|
16
|
+
iconRight?: Icon;
|
|
17
|
+
iconPack?: IconPack;
|
|
18
|
+
iconColor?: Color;
|
|
19
|
+
group?: Align;
|
|
20
|
+
groupVertical?: AlignVertical;
|
|
21
|
+
widthBreaks?: WidthBreaks;
|
|
22
|
+
fontSize?: SizeInCSS;
|
|
23
|
+
size?: 's' | 'm' | 'l' | 'xl';
|
|
24
|
+
hideBorder?: boolean;
|
|
25
|
+
width?: string;
|
|
26
|
+
align?: Align;
|
|
27
|
+
layout?: Layout;
|
|
28
|
+
borderColor?: Color;
|
|
29
|
+
textColor?: Color;
|
|
30
|
+
optional?: boolean;
|
|
31
|
+
autofocus?: boolean;
|
|
32
|
+
capitalize?: boolean;
|
|
33
|
+
toUpperCase?: boolean;
|
|
34
|
+
autoSelect?: boolean;
|
|
35
|
+
delayChangeTime?: number;
|
|
36
|
+
justInteger?: boolean;
|
|
37
|
+
tabindex?: string | number;
|
|
38
|
+
};
|
|
4
39
|
declare function focus(): void;
|
|
5
40
|
declare function select(): void;
|
|
6
|
-
|
|
7
|
-
modelValue:
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
};
|
|
11
|
-
label: {
|
|
12
|
-
type: import('vue').PropType<string>;
|
|
13
|
-
};
|
|
14
|
-
layout: {
|
|
15
|
-
type: import('vue').PropType<Layout>;
|
|
16
|
-
};
|
|
17
|
-
borderColor: {
|
|
18
|
-
type: import('vue').PropType<string>;
|
|
19
|
-
};
|
|
20
|
-
type: {
|
|
21
|
-
type: import('vue').PropType<InputType>;
|
|
22
|
-
default: string;
|
|
23
|
-
};
|
|
24
|
-
textColor: {
|
|
25
|
-
type: import('vue').PropType<string>;
|
|
26
|
-
};
|
|
27
|
-
fontSize: {
|
|
28
|
-
type: import('vue').PropType<string>;
|
|
29
|
-
};
|
|
30
|
-
size: {
|
|
31
|
-
type: import('vue').PropType<"s" | "m" | "l" | "xl">;
|
|
32
|
-
default: string;
|
|
33
|
-
};
|
|
34
|
-
group: {
|
|
35
|
-
type: import('vue').PropType<Align>;
|
|
36
|
-
};
|
|
37
|
-
groupVertical: {
|
|
38
|
-
type: import('vue').PropType<AlignVertical>;
|
|
39
|
-
};
|
|
40
|
-
widthBreaks: {
|
|
41
|
-
type: import('vue').PropType<WidthBreaks>;
|
|
42
|
-
};
|
|
43
|
-
width: {
|
|
44
|
-
type: import('vue').PropType<string>;
|
|
45
|
-
};
|
|
46
|
-
icon: {
|
|
47
|
-
type: import('vue').PropType<Icon>;
|
|
48
|
-
};
|
|
49
|
-
iconPack: {
|
|
50
|
-
type: import('vue').PropType<IconPack>;
|
|
51
|
-
};
|
|
52
|
-
toUpperCase: {
|
|
53
|
-
type: import('vue').PropType<boolean>;
|
|
54
|
-
};
|
|
55
|
-
disabled: {
|
|
56
|
-
type: import('vue').PropType<boolean>;
|
|
57
|
-
};
|
|
58
|
-
max: {
|
|
59
|
-
type: import('vue').PropType<number>;
|
|
60
|
-
};
|
|
61
|
-
placeholder: {
|
|
62
|
-
type: import('vue').PropType<string>;
|
|
63
|
-
};
|
|
64
|
-
tabindex: {
|
|
65
|
-
type: import('vue').PropType<string | number>;
|
|
66
|
-
};
|
|
67
|
-
align: {
|
|
68
|
-
type: import('vue').PropType<Align>;
|
|
69
|
-
};
|
|
70
|
-
iconRight: {
|
|
71
|
-
type: import('vue').PropType<Icon>;
|
|
72
|
-
};
|
|
73
|
-
labelAlign: {
|
|
74
|
-
type: import('vue').PropType<Align>;
|
|
75
|
-
};
|
|
76
|
-
preventAutocomplete: {
|
|
77
|
-
type: import('vue').PropType<boolean>;
|
|
78
|
-
};
|
|
79
|
-
readonly: {
|
|
80
|
-
type: import('vue').PropType<boolean>;
|
|
81
|
-
};
|
|
82
|
-
plusMinusButtons: {
|
|
83
|
-
type: import('vue').PropType<boolean>;
|
|
84
|
-
};
|
|
85
|
-
min: {
|
|
86
|
-
type: import('vue').PropType<number>;
|
|
87
|
-
};
|
|
88
|
-
suffix: {
|
|
89
|
-
type: import('vue').PropType<string>;
|
|
90
|
-
};
|
|
91
|
-
iconColor: {
|
|
92
|
-
type: import('vue').PropType<string>;
|
|
93
|
-
};
|
|
94
|
-
hideBorder: {
|
|
95
|
-
type: import('vue').PropType<boolean>;
|
|
96
|
-
};
|
|
97
|
-
optional: {
|
|
98
|
-
type: import('vue').PropType<boolean>;
|
|
99
|
-
};
|
|
100
|
-
autofocus: {
|
|
101
|
-
type: import('vue').PropType<boolean>;
|
|
102
|
-
};
|
|
103
|
-
capitalize: {
|
|
104
|
-
type: import('vue').PropType<boolean>;
|
|
105
|
-
};
|
|
106
|
-
autoSelect: {
|
|
107
|
-
type: import('vue').PropType<boolean>;
|
|
108
|
-
};
|
|
109
|
-
delayChangeTime: {
|
|
110
|
-
type: import('vue').PropType<number>;
|
|
111
|
-
default: number;
|
|
112
|
-
};
|
|
113
|
-
justInteger: {
|
|
114
|
-
type: import('vue').PropType<boolean>;
|
|
115
|
-
};
|
|
116
|
-
}>, {
|
|
41
|
+
type __VLS_PublicProps = {
|
|
42
|
+
modelValue: Value;
|
|
43
|
+
} & __VLS_Props;
|
|
44
|
+
declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {
|
|
117
45
|
focus: typeof focus;
|
|
118
46
|
select: typeof select;
|
|
119
47
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
inputDelayed: (value: Value) =>
|
|
126
|
-
changeDelayed: (value: Value) =>
|
|
127
|
-
rightIconClick: (event: Event) =>
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
type: import('vue').PropType<Value>;
|
|
132
|
-
};
|
|
133
|
-
label: {
|
|
134
|
-
type: import('vue').PropType<string>;
|
|
135
|
-
};
|
|
136
|
-
layout: {
|
|
137
|
-
type: import('vue').PropType<Layout>;
|
|
138
|
-
};
|
|
139
|
-
borderColor: {
|
|
140
|
-
type: import('vue').PropType<string>;
|
|
141
|
-
};
|
|
142
|
-
type: {
|
|
143
|
-
type: import('vue').PropType<InputType>;
|
|
144
|
-
default: string;
|
|
145
|
-
};
|
|
146
|
-
textColor: {
|
|
147
|
-
type: import('vue').PropType<string>;
|
|
148
|
-
};
|
|
149
|
-
fontSize: {
|
|
150
|
-
type: import('vue').PropType<string>;
|
|
151
|
-
};
|
|
152
|
-
size: {
|
|
153
|
-
type: import('vue').PropType<"s" | "m" | "l" | "xl">;
|
|
154
|
-
default: string;
|
|
155
|
-
};
|
|
156
|
-
group: {
|
|
157
|
-
type: import('vue').PropType<Align>;
|
|
158
|
-
};
|
|
159
|
-
groupVertical: {
|
|
160
|
-
type: import('vue').PropType<AlignVertical>;
|
|
161
|
-
};
|
|
162
|
-
widthBreaks: {
|
|
163
|
-
type: import('vue').PropType<WidthBreaks>;
|
|
164
|
-
};
|
|
165
|
-
width: {
|
|
166
|
-
type: import('vue').PropType<string>;
|
|
167
|
-
};
|
|
168
|
-
icon: {
|
|
169
|
-
type: import('vue').PropType<Icon>;
|
|
170
|
-
};
|
|
171
|
-
iconPack: {
|
|
172
|
-
type: import('vue').PropType<IconPack>;
|
|
173
|
-
};
|
|
174
|
-
toUpperCase: {
|
|
175
|
-
type: import('vue').PropType<boolean>;
|
|
176
|
-
};
|
|
177
|
-
disabled: {
|
|
178
|
-
type: import('vue').PropType<boolean>;
|
|
179
|
-
};
|
|
180
|
-
max: {
|
|
181
|
-
type: import('vue').PropType<number>;
|
|
182
|
-
};
|
|
183
|
-
placeholder: {
|
|
184
|
-
type: import('vue').PropType<string>;
|
|
185
|
-
};
|
|
186
|
-
tabindex: {
|
|
187
|
-
type: import('vue').PropType<string | number>;
|
|
188
|
-
};
|
|
189
|
-
align: {
|
|
190
|
-
type: import('vue').PropType<Align>;
|
|
191
|
-
};
|
|
192
|
-
iconRight: {
|
|
193
|
-
type: import('vue').PropType<Icon>;
|
|
194
|
-
};
|
|
195
|
-
labelAlign: {
|
|
196
|
-
type: import('vue').PropType<Align>;
|
|
197
|
-
};
|
|
198
|
-
preventAutocomplete: {
|
|
199
|
-
type: import('vue').PropType<boolean>;
|
|
200
|
-
};
|
|
201
|
-
readonly: {
|
|
202
|
-
type: import('vue').PropType<boolean>;
|
|
203
|
-
};
|
|
204
|
-
plusMinusButtons: {
|
|
205
|
-
type: import('vue').PropType<boolean>;
|
|
206
|
-
};
|
|
207
|
-
min: {
|
|
208
|
-
type: import('vue').PropType<number>;
|
|
209
|
-
};
|
|
210
|
-
suffix: {
|
|
211
|
-
type: import('vue').PropType<string>;
|
|
212
|
-
};
|
|
213
|
-
iconColor: {
|
|
214
|
-
type: import('vue').PropType<string>;
|
|
215
|
-
};
|
|
216
|
-
hideBorder: {
|
|
217
|
-
type: import('vue').PropType<boolean>;
|
|
218
|
-
};
|
|
219
|
-
optional: {
|
|
220
|
-
type: import('vue').PropType<boolean>;
|
|
221
|
-
};
|
|
222
|
-
autofocus: {
|
|
223
|
-
type: import('vue').PropType<boolean>;
|
|
224
|
-
};
|
|
225
|
-
capitalize: {
|
|
226
|
-
type: import('vue').PropType<boolean>;
|
|
227
|
-
};
|
|
228
|
-
autoSelect: {
|
|
229
|
-
type: import('vue').PropType<boolean>;
|
|
230
|
-
};
|
|
231
|
-
delayChangeTime: {
|
|
232
|
-
type: import('vue').PropType<number>;
|
|
233
|
-
default: number;
|
|
234
|
-
};
|
|
235
|
-
justInteger: {
|
|
236
|
-
type: import('vue').PropType<boolean>;
|
|
237
|
-
};
|
|
238
|
-
}>> & Readonly<{
|
|
48
|
+
focus: (event: Event) => any;
|
|
49
|
+
input: (value: Value) => any;
|
|
50
|
+
click: (event: Event) => any;
|
|
51
|
+
blur: (event: Event) => any;
|
|
52
|
+
change: (value: Value) => any;
|
|
53
|
+
inputDelayed: (value: Value) => any;
|
|
54
|
+
changeDelayed: (value: Value) => any;
|
|
55
|
+
rightIconClick: (event: Event) => any;
|
|
56
|
+
"update:modelValue": (value: Value) => any;
|
|
57
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
58
|
+
onFocus?: (event: Event) => any;
|
|
239
59
|
onInput?: (value: Value) => any;
|
|
240
60
|
onClick?: (event: Event) => any;
|
|
241
61
|
onBlur?: (event: Event) => any;
|
|
242
62
|
onChange?: (value: Value) => any;
|
|
243
|
-
onFocus?: (event: Event) => any;
|
|
244
63
|
onInputDelayed?: (value: Value) => any;
|
|
245
64
|
onChangeDelayed?: (value: Value) => any;
|
|
246
65
|
onRightIconClick?: (event: Event) => any;
|
|
66
|
+
"onUpdate:modelValue"?: (value: Value) => any;
|
|
247
67
|
}>, {
|
|
248
68
|
type: InputType;
|
|
249
69
|
size: "s" | "m" | "l" | "xl";
|
|
250
70
|
delayChangeTime: number;
|
|
251
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions,
|
|
71
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
72
|
+
inputRef: HTMLInputElement;
|
|
73
|
+
}, HTMLDivElement>;
|
|
252
74
|
export default _default;
|
|
@@ -1,28 +1,21 @@
|
|
|
1
1
|
import { Align } from '../cleek-options/cleek-options.types';
|
|
2
|
-
|
|
3
|
-
declare function __VLS_template(): {
|
|
4
|
-
default?(_: {}): any;
|
|
5
|
-
};
|
|
6
|
-
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
7
|
-
for?: string;
|
|
8
|
-
align: Align;
|
|
9
|
-
size?: "s" | "m" | "l" | "xl";
|
|
10
|
-
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
type __VLS_Props = {
|
|
11
3
|
for?: string;
|
|
12
4
|
align: Align;
|
|
13
|
-
size?:
|
|
14
|
-
}
|
|
15
|
-
declare
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
20
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
21
|
-
} : {
|
|
22
|
-
type: import('vue').PropType<T[K]>;
|
|
23
|
-
required: true;
|
|
5
|
+
size?: 's' | 'm' | 'l' | 'xl';
|
|
6
|
+
};
|
|
7
|
+
declare function __VLS_template(): {
|
|
8
|
+
attrs: Partial<{}>;
|
|
9
|
+
slots: {
|
|
10
|
+
default?(_: {}): any;
|
|
24
11
|
};
|
|
12
|
+
refs: {};
|
|
13
|
+
rootEl: HTMLLabelElement;
|
|
25
14
|
};
|
|
15
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
16
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLLabelElement>;
|
|
17
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
18
|
+
export default _default;
|
|
26
19
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
27
20
|
new (): {
|
|
28
21
|
$slots: S;
|
|
@@ -1,28 +1,21 @@
|
|
|
1
1
|
import { Color } from '../../cleek-options/cleek-options.types';
|
|
2
|
-
|
|
3
|
-
declare function __VLS_template(): {
|
|
4
|
-
default?(_: {}): any;
|
|
5
|
-
};
|
|
6
|
-
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
7
|
-
backgroundColor?: Color;
|
|
8
|
-
padding?: string;
|
|
9
|
-
position?: string;
|
|
10
|
-
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
type __VLS_Props = {
|
|
11
3
|
backgroundColor?: Color;
|
|
12
4
|
padding?: string;
|
|
13
5
|
position?: string;
|
|
14
|
-
}
|
|
15
|
-
declare
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
20
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
21
|
-
} : {
|
|
22
|
-
type: import('vue').PropType<T[K]>;
|
|
23
|
-
required: true;
|
|
6
|
+
};
|
|
7
|
+
declare function __VLS_template(): {
|
|
8
|
+
attrs: Partial<{}>;
|
|
9
|
+
slots: {
|
|
10
|
+
default?(_: {}): any;
|
|
24
11
|
};
|
|
12
|
+
refs: {};
|
|
13
|
+
rootEl: HTMLDivElement;
|
|
25
14
|
};
|
|
15
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
16
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
17
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
18
|
+
export default _default;
|
|
26
19
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
27
20
|
new (): {
|
|
28
21
|
$slots: S;
|
|
@@ -5,5 +5,5 @@ declare const _default: import('vue').DefineComponent<{}, {
|
|
|
5
5
|
cancelText: import('vue').Ref<string, string>;
|
|
6
6
|
responseSuccess: import('vue').Ref<() => void, () => void>;
|
|
7
7
|
responseFailure: import('vue').Ref<() => void, () => void>;
|
|
8
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {},
|
|
8
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
9
9
|
export default _default;
|
|
@@ -1,164 +1,57 @@
|
|
|
1
|
-
import { Align, Layout, ButtonType } from '../cleek-options/cleek-options.types';
|
|
2
|
-
|
|
1
|
+
import { Align, Color, Layout, ButtonType } from '../cleek-options/cleek-options.types';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
title?: string;
|
|
4
|
+
topAlert?: string;
|
|
5
|
+
confirmButtons?: boolean;
|
|
6
|
+
acceptButton?: boolean;
|
|
7
|
+
acceptBtnText?: string;
|
|
8
|
+
acceptBtnType?: ButtonType;
|
|
9
|
+
cancelButton?: boolean;
|
|
10
|
+
cancelBtnText?: string;
|
|
11
|
+
cancelBtnType?: ButtonType;
|
|
12
|
+
notCloseBtn?: boolean;
|
|
13
|
+
notCloseByBg?: boolean;
|
|
14
|
+
notClose?: boolean;
|
|
15
|
+
preventCloseOnCancel?: boolean;
|
|
16
|
+
isLoading?: boolean;
|
|
17
|
+
width?: number;
|
|
18
|
+
maxWidth?: number;
|
|
19
|
+
layout?: Layout;
|
|
20
|
+
textColor?: Color;
|
|
21
|
+
headerColor?: Color;
|
|
22
|
+
headerAlign?: Align;
|
|
23
|
+
backgroundColor?: Color;
|
|
24
|
+
fontSize?: string;
|
|
25
|
+
};
|
|
26
|
+
type __VLS_PublicProps = {
|
|
27
|
+
modelValue: boolean;
|
|
28
|
+
'topAlertVisible'?: boolean;
|
|
29
|
+
} & __VLS_Props;
|
|
3
30
|
declare function __VLS_template(): {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
31
|
+
attrs: Partial<{}>;
|
|
32
|
+
slots: {
|
|
33
|
+
header?(_: {}): any;
|
|
34
|
+
default?(_: {}): any;
|
|
35
|
+
footer?(_: {}): any;
|
|
36
|
+
};
|
|
37
|
+
refs: {};
|
|
38
|
+
rootEl: any;
|
|
7
39
|
};
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
};
|
|
17
|
-
topAlert: {
|
|
18
|
-
type: import('vue').PropType<string>;
|
|
19
|
-
};
|
|
20
|
-
confirmButtons: {
|
|
21
|
-
type: import('vue').PropType<boolean>;
|
|
22
|
-
};
|
|
23
|
-
acceptButton: {
|
|
24
|
-
type: import('vue').PropType<boolean>;
|
|
25
|
-
};
|
|
26
|
-
acceptBtnText: {
|
|
27
|
-
type: import('vue').PropType<string>;
|
|
28
|
-
};
|
|
29
|
-
acceptBtnType: {
|
|
30
|
-
type: import('vue').PropType<ButtonType>;
|
|
31
|
-
};
|
|
32
|
-
cancelButton: {
|
|
33
|
-
type: import('vue').PropType<boolean>;
|
|
34
|
-
};
|
|
35
|
-
cancelBtnText: {
|
|
36
|
-
type: import('vue').PropType<string>;
|
|
37
|
-
};
|
|
38
|
-
cancelBtnType: {
|
|
39
|
-
type: import('vue').PropType<ButtonType>;
|
|
40
|
-
};
|
|
41
|
-
notCloseBtn: {
|
|
42
|
-
type: import('vue').PropType<boolean>;
|
|
43
|
-
};
|
|
44
|
-
notCloseByBg: {
|
|
45
|
-
type: import('vue').PropType<boolean>;
|
|
46
|
-
};
|
|
47
|
-
notClose: {
|
|
48
|
-
type: import('vue').PropType<boolean>;
|
|
49
|
-
};
|
|
50
|
-
preventCloseOnCancel: {
|
|
51
|
-
type: import('vue').PropType<boolean>;
|
|
52
|
-
};
|
|
53
|
-
isLoading: {
|
|
54
|
-
type: import('vue').PropType<boolean>;
|
|
55
|
-
};
|
|
56
|
-
width: {
|
|
57
|
-
type: import('vue').PropType<number>;
|
|
58
|
-
};
|
|
59
|
-
maxWidth: {
|
|
60
|
-
type: import('vue').PropType<number>;
|
|
61
|
-
};
|
|
62
|
-
layout: {
|
|
63
|
-
type: import('vue').PropType<Layout>;
|
|
64
|
-
};
|
|
65
|
-
textColor: {
|
|
66
|
-
type: import('vue').PropType<string>;
|
|
67
|
-
};
|
|
68
|
-
headerColor: {
|
|
69
|
-
type: import('vue').PropType<string>;
|
|
70
|
-
};
|
|
71
|
-
headerAlign: {
|
|
72
|
-
type: import('vue').PropType<Align>;
|
|
73
|
-
};
|
|
74
|
-
backgroundColor: {
|
|
75
|
-
type: import('vue').PropType<string>;
|
|
76
|
-
};
|
|
77
|
-
fontSize: {
|
|
78
|
-
type: import('vue').PropType<string>;
|
|
79
|
-
};
|
|
80
|
-
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
81
|
-
cancel: () => void;
|
|
82
|
-
close: () => void;
|
|
83
|
-
accept: () => void;
|
|
84
|
-
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
85
|
-
modelValue: {
|
|
86
|
-
required: true;
|
|
87
|
-
type: import('vue').PropType<boolean>;
|
|
88
|
-
};
|
|
89
|
-
topAlertVisible: import('vue').PropType<boolean>;
|
|
90
|
-
title: {
|
|
91
|
-
type: import('vue').PropType<string>;
|
|
92
|
-
};
|
|
93
|
-
topAlert: {
|
|
94
|
-
type: import('vue').PropType<string>;
|
|
95
|
-
};
|
|
96
|
-
confirmButtons: {
|
|
97
|
-
type: import('vue').PropType<boolean>;
|
|
98
|
-
};
|
|
99
|
-
acceptButton: {
|
|
100
|
-
type: import('vue').PropType<boolean>;
|
|
101
|
-
};
|
|
102
|
-
acceptBtnText: {
|
|
103
|
-
type: import('vue').PropType<string>;
|
|
104
|
-
};
|
|
105
|
-
acceptBtnType: {
|
|
106
|
-
type: import('vue').PropType<ButtonType>;
|
|
107
|
-
};
|
|
108
|
-
cancelButton: {
|
|
109
|
-
type: import('vue').PropType<boolean>;
|
|
110
|
-
};
|
|
111
|
-
cancelBtnText: {
|
|
112
|
-
type: import('vue').PropType<string>;
|
|
113
|
-
};
|
|
114
|
-
cancelBtnType: {
|
|
115
|
-
type: import('vue').PropType<ButtonType>;
|
|
116
|
-
};
|
|
117
|
-
notCloseBtn: {
|
|
118
|
-
type: import('vue').PropType<boolean>;
|
|
119
|
-
};
|
|
120
|
-
notCloseByBg: {
|
|
121
|
-
type: import('vue').PropType<boolean>;
|
|
122
|
-
};
|
|
123
|
-
notClose: {
|
|
124
|
-
type: import('vue').PropType<boolean>;
|
|
125
|
-
};
|
|
126
|
-
preventCloseOnCancel: {
|
|
127
|
-
type: import('vue').PropType<boolean>;
|
|
128
|
-
};
|
|
129
|
-
isLoading: {
|
|
130
|
-
type: import('vue').PropType<boolean>;
|
|
131
|
-
};
|
|
132
|
-
width: {
|
|
133
|
-
type: import('vue').PropType<number>;
|
|
134
|
-
};
|
|
135
|
-
maxWidth: {
|
|
136
|
-
type: import('vue').PropType<number>;
|
|
137
|
-
};
|
|
138
|
-
layout: {
|
|
139
|
-
type: import('vue').PropType<Layout>;
|
|
140
|
-
};
|
|
141
|
-
textColor: {
|
|
142
|
-
type: import('vue').PropType<string>;
|
|
143
|
-
};
|
|
144
|
-
headerColor: {
|
|
145
|
-
type: import('vue').PropType<string>;
|
|
146
|
-
};
|
|
147
|
-
headerAlign: {
|
|
148
|
-
type: import('vue').PropType<Align>;
|
|
149
|
-
};
|
|
150
|
-
backgroundColor: {
|
|
151
|
-
type: import('vue').PropType<string>;
|
|
152
|
-
};
|
|
153
|
-
fontSize: {
|
|
154
|
-
type: import('vue').PropType<string>;
|
|
155
|
-
};
|
|
156
|
-
}>> & Readonly<{
|
|
157
|
-
onCancel?: () => any;
|
|
40
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
41
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
42
|
+
close: () => any;
|
|
43
|
+
cancel: () => any;
|
|
44
|
+
"update:modelValue": (value: boolean) => any;
|
|
45
|
+
accept: () => any;
|
|
46
|
+
"update:topAlertVisible": (value: boolean) => any;
|
|
47
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
158
48
|
onClose?: () => any;
|
|
49
|
+
onCancel?: () => any;
|
|
50
|
+
"onUpdate:modelValue"?: (value: boolean) => any;
|
|
159
51
|
onAccept?: () => any;
|
|
160
|
-
|
|
161
|
-
|
|
52
|
+
"onUpdate:topAlertVisible"?: (value: boolean) => any;
|
|
53
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
54
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
162
55
|
export default _default;
|
|
163
56
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
164
57
|
new (): {
|