@dayoakin/vue-ui 0.0.0-stage → 0.1.2
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/README.md +121 -2
- package/dist/components/AnimeHeight/index.vue.d.ts +28 -0
- package/dist/components/Badge/Badge.vue.d.ts +110 -0
- package/dist/components/Button/Button.vue.d.ts +231 -0
- package/dist/components/Button/ButtonGroup.vue.d.ts +41 -0
- package/dist/components/Button/SecondaryButton/index.vue.d.ts +231 -0
- package/dist/components/Card/Card.vue.d.ts +139 -0
- package/dist/components/CardSelect/CardSelect.vue.d.ts +178 -0
- package/dist/components/CodeBlock/index.vue.d.ts +291 -0
- package/dist/components/EmptyState/index.vue.d.ts +98 -0
- package/dist/components/Hr/index.vue.d.ts +3 -0
- package/dist/components/Input/AddressAutocomplete/index.vue.d.ts +218 -0
- package/dist/components/Input/CheckboxInput/index.vue.d.ts +115 -0
- package/dist/components/Input/CurrencyConverterInput/index.vue.d.ts +561 -0
- package/dist/components/Input/CurrencyInput/index.vue.d.ts +310 -0
- package/dist/components/Input/DateInput/index.vue.d.ts +276 -0
- package/dist/components/Input/DoubleRangeInput/index.vue.d.ts +206 -0
- package/dist/components/Input/Input.vue.d.ts +377 -0
- package/dist/components/Input/OtpInput/index.vue.d.ts +294 -0
- package/dist/components/Input/OtpInput/singleOtpInput.vue.d.ts +258 -0
- package/dist/components/Input/RadioInput/index.vue.d.ts +107 -0
- package/dist/components/Input/SearchInput/index.vue.d.ts +170 -0
- package/dist/components/Input/Select/index.vue.d.ts +250 -0
- package/dist/components/Input/TelInput/index.vue.d.ts +242 -0
- package/dist/components/Input/Upload/index.vue.d.ts +353 -0
- package/dist/components/Loaders/index.d.ts +8 -0
- package/dist/components/Loaders/index.vue.d.ts +104 -0
- package/dist/components/Loaders/loaderService.d.ts +18 -0
- package/dist/components/Modals/Modal.vue.d.ts +189 -0
- package/dist/components/Modals/RightSidebar.vue.d.ts +146 -0
- package/dist/components/Notification/AlertBox/AlertBox.vue.d.ts +103 -0
- package/dist/components/Notification/AlertBox/alertService.d.ts +21 -0
- package/dist/components/Notification/AlertBox/index.d.ts +8 -0
- package/dist/components/Notification/InlineToast/InlineToast.vue.d.ts +103 -0
- package/dist/components/Notification/Toast/index.d.ts +8 -0
- package/dist/components/Notification/Toast/index.vue.d.ts +76 -0
- package/dist/components/Notification/Toast/toastServices.d.ts +20 -0
- package/dist/components/Pagination/Pagination.vue.d.ts +238 -0
- package/dist/components/Skeleton/index.vue.d.ts +81 -0
- package/dist/components/Spinner/index.vue.d.ts +71 -0
- package/dist/components/Tab/Tab.vue.d.ts +149 -0
- package/dist/components/Table/index.vue.d.ts +551 -0
- package/dist/components/Tooltip/Tooltip.vue.d.ts +90 -0
- package/dist/components/index.d.ts +38 -0
- package/dist/components/ts/api.d.ts +4 -0
- package/dist/core/theme.d.ts +4 -0
- package/dist/core/ui.d.ts +88 -0
- package/dist/index-z9l8C72U-BM4uarLu.cjs +14 -0
- package/dist/index-z9l8C72U-CAfHR3NZ.js +3733 -0
- package/dist/index.cjs +7 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +16257 -0
- package/dist/lib.d.ts +3 -0
- package/dist/style.css +1 -0
- package/package.json +53 -4
|
@@ -0,0 +1,353 @@
|
|
|
1
|
+
import { uiAttrs } from '../../../core/ui';
|
|
2
|
+
interface UploadedFile {
|
|
3
|
+
id: string;
|
|
4
|
+
name: string;
|
|
5
|
+
size: number;
|
|
6
|
+
raw?: File;
|
|
7
|
+
url?: string;
|
|
8
|
+
}
|
|
9
|
+
type Size = "sm" | "md" | "lg";
|
|
10
|
+
type Variant = "outline" | "soft" | "filled";
|
|
11
|
+
declare const _default: typeof __VLS_export;
|
|
12
|
+
export default _default;
|
|
13
|
+
declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
14
|
+
modelValue: {
|
|
15
|
+
type: any;
|
|
16
|
+
default: null;
|
|
17
|
+
};
|
|
18
|
+
label: {
|
|
19
|
+
type: StringConstructor;
|
|
20
|
+
default: string;
|
|
21
|
+
};
|
|
22
|
+
placeholder: {
|
|
23
|
+
type: StringConstructor;
|
|
24
|
+
default: string;
|
|
25
|
+
};
|
|
26
|
+
description: {
|
|
27
|
+
type: StringConstructor;
|
|
28
|
+
default: string;
|
|
29
|
+
};
|
|
30
|
+
required: {
|
|
31
|
+
type: BooleanConstructor;
|
|
32
|
+
default: boolean;
|
|
33
|
+
};
|
|
34
|
+
disabled: {
|
|
35
|
+
type: BooleanConstructor;
|
|
36
|
+
default: boolean;
|
|
37
|
+
};
|
|
38
|
+
multiple: {
|
|
39
|
+
type: BooleanConstructor;
|
|
40
|
+
default: boolean;
|
|
41
|
+
};
|
|
42
|
+
maxFiles: {
|
|
43
|
+
type: NumberConstructor;
|
|
44
|
+
default: number;
|
|
45
|
+
};
|
|
46
|
+
maxSizeMB: {
|
|
47
|
+
type: NumberConstructor;
|
|
48
|
+
default: number;
|
|
49
|
+
};
|
|
50
|
+
accept: {
|
|
51
|
+
type: () => string[];
|
|
52
|
+
default: () => never[];
|
|
53
|
+
};
|
|
54
|
+
size: {
|
|
55
|
+
type: () => Size;
|
|
56
|
+
default: string;
|
|
57
|
+
};
|
|
58
|
+
variant: {
|
|
59
|
+
type: () => Variant;
|
|
60
|
+
default: string;
|
|
61
|
+
};
|
|
62
|
+
w: {
|
|
63
|
+
type: StringConstructor;
|
|
64
|
+
default: string;
|
|
65
|
+
};
|
|
66
|
+
radius: {
|
|
67
|
+
type: StringConstructor;
|
|
68
|
+
default: string;
|
|
69
|
+
};
|
|
70
|
+
bgColor: {
|
|
71
|
+
type: StringConstructor;
|
|
72
|
+
default: string;
|
|
73
|
+
};
|
|
74
|
+
textColor: {
|
|
75
|
+
type: StringConstructor;
|
|
76
|
+
default: string;
|
|
77
|
+
};
|
|
78
|
+
borderColor: {
|
|
79
|
+
type: StringConstructor;
|
|
80
|
+
default: string;
|
|
81
|
+
};
|
|
82
|
+
accentColor: {
|
|
83
|
+
type: StringConstructor;
|
|
84
|
+
default: string;
|
|
85
|
+
};
|
|
86
|
+
errorColor: {
|
|
87
|
+
type: StringConstructor;
|
|
88
|
+
default: string;
|
|
89
|
+
};
|
|
90
|
+
labelColor: {
|
|
91
|
+
type: StringConstructor;
|
|
92
|
+
default: string;
|
|
93
|
+
};
|
|
94
|
+
requiredColor: {
|
|
95
|
+
type: StringConstructor;
|
|
96
|
+
default: string;
|
|
97
|
+
};
|
|
98
|
+
iconBg: {
|
|
99
|
+
type: StringConstructor;
|
|
100
|
+
default: string;
|
|
101
|
+
};
|
|
102
|
+
browseText: {
|
|
103
|
+
type: StringConstructor;
|
|
104
|
+
default: string;
|
|
105
|
+
};
|
|
106
|
+
loadingText: {
|
|
107
|
+
type: StringConstructor;
|
|
108
|
+
default: string;
|
|
109
|
+
};
|
|
110
|
+
dragText: {
|
|
111
|
+
type: StringConstructor;
|
|
112
|
+
default: string;
|
|
113
|
+
};
|
|
114
|
+
viewText: {
|
|
115
|
+
type: StringConstructor;
|
|
116
|
+
default: string;
|
|
117
|
+
};
|
|
118
|
+
deleteText: {
|
|
119
|
+
type: StringConstructor;
|
|
120
|
+
default: string;
|
|
121
|
+
};
|
|
122
|
+
showFileSize: {
|
|
123
|
+
type: BooleanConstructor;
|
|
124
|
+
default: boolean;
|
|
125
|
+
};
|
|
126
|
+
showPreview: {
|
|
127
|
+
type: BooleanConstructor;
|
|
128
|
+
default: boolean;
|
|
129
|
+
};
|
|
130
|
+
showDelete: {
|
|
131
|
+
type: BooleanConstructor;
|
|
132
|
+
default: boolean;
|
|
133
|
+
};
|
|
134
|
+
}>, {
|
|
135
|
+
uiAttrs: typeof uiAttrs;
|
|
136
|
+
inputRef: import('vue').Ref<HTMLInputElement | null, HTMLInputElement | null>;
|
|
137
|
+
loading: import('vue').Ref<boolean, boolean>;
|
|
138
|
+
dragging: import('vue').Ref<boolean, boolean>;
|
|
139
|
+
errorMessage: import('vue').Ref<string, string>;
|
|
140
|
+
files: import('vue').Ref<{
|
|
141
|
+
id: string;
|
|
142
|
+
name: string;
|
|
143
|
+
size: number;
|
|
144
|
+
raw?: {
|
|
145
|
+
readonly lastModified: number;
|
|
146
|
+
readonly name: string;
|
|
147
|
+
readonly webkitRelativePath: string;
|
|
148
|
+
readonly size: number;
|
|
149
|
+
readonly type: string;
|
|
150
|
+
arrayBuffer: () => Promise<ArrayBuffer>;
|
|
151
|
+
bytes: () => Promise<Uint8Array<ArrayBuffer>>;
|
|
152
|
+
slice: (start?: number, end?: number, contentType?: string) => Blob;
|
|
153
|
+
stream: () => ReadableStream<Uint8Array<ArrayBuffer>>;
|
|
154
|
+
text: () => Promise<string>;
|
|
155
|
+
} | undefined;
|
|
156
|
+
url?: string | undefined;
|
|
157
|
+
}[], UploadedFile[] | {
|
|
158
|
+
id: string;
|
|
159
|
+
name: string;
|
|
160
|
+
size: number;
|
|
161
|
+
raw?: {
|
|
162
|
+
readonly lastModified: number;
|
|
163
|
+
readonly name: string;
|
|
164
|
+
readonly webkitRelativePath: string;
|
|
165
|
+
readonly size: number;
|
|
166
|
+
readonly type: string;
|
|
167
|
+
arrayBuffer: () => Promise<ArrayBuffer>;
|
|
168
|
+
bytes: () => Promise<Uint8Array<ArrayBuffer>>;
|
|
169
|
+
slice: (start?: number, end?: number, contentType?: string) => Blob;
|
|
170
|
+
stream: () => ReadableStream<Uint8Array<ArrayBuffer>>;
|
|
171
|
+
text: () => Promise<string>;
|
|
172
|
+
} | undefined;
|
|
173
|
+
url?: string | undefined;
|
|
174
|
+
}[]>;
|
|
175
|
+
acceptString: import('vue').ComputedRef<string>;
|
|
176
|
+
helperText: import('vue').ComputedRef<string>;
|
|
177
|
+
sizeClass: import('vue').ComputedRef<string>;
|
|
178
|
+
variantClass: import('vue').ComputedRef<string>;
|
|
179
|
+
zoneStyle: import('vue').ComputedRef<{
|
|
180
|
+
borderRadius: string;
|
|
181
|
+
borderColor: string;
|
|
182
|
+
background: string;
|
|
183
|
+
}>;
|
|
184
|
+
browseBtnStyle: import('vue').ComputedRef<{
|
|
185
|
+
background: string;
|
|
186
|
+
color: string;
|
|
187
|
+
}>;
|
|
188
|
+
fileCardStyle: import('vue').ComputedRef<{
|
|
189
|
+
borderColor: string;
|
|
190
|
+
}>;
|
|
191
|
+
triggerInput: () => void;
|
|
192
|
+
handleFileChange: (e: Event) => void;
|
|
193
|
+
handleDrop: (e: DragEvent) => void;
|
|
194
|
+
removeFile: (id: string) => void;
|
|
195
|
+
preview: (file: UploadedFile) => void;
|
|
196
|
+
formatSize: (bytes: number) => string;
|
|
197
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("delete" | "update:modelValue" | "upload")[], "delete" | "update:modelValue" | "upload", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
198
|
+
modelValue: {
|
|
199
|
+
type: any;
|
|
200
|
+
default: null;
|
|
201
|
+
};
|
|
202
|
+
label: {
|
|
203
|
+
type: StringConstructor;
|
|
204
|
+
default: string;
|
|
205
|
+
};
|
|
206
|
+
placeholder: {
|
|
207
|
+
type: StringConstructor;
|
|
208
|
+
default: string;
|
|
209
|
+
};
|
|
210
|
+
description: {
|
|
211
|
+
type: StringConstructor;
|
|
212
|
+
default: string;
|
|
213
|
+
};
|
|
214
|
+
required: {
|
|
215
|
+
type: BooleanConstructor;
|
|
216
|
+
default: boolean;
|
|
217
|
+
};
|
|
218
|
+
disabled: {
|
|
219
|
+
type: BooleanConstructor;
|
|
220
|
+
default: boolean;
|
|
221
|
+
};
|
|
222
|
+
multiple: {
|
|
223
|
+
type: BooleanConstructor;
|
|
224
|
+
default: boolean;
|
|
225
|
+
};
|
|
226
|
+
maxFiles: {
|
|
227
|
+
type: NumberConstructor;
|
|
228
|
+
default: number;
|
|
229
|
+
};
|
|
230
|
+
maxSizeMB: {
|
|
231
|
+
type: NumberConstructor;
|
|
232
|
+
default: number;
|
|
233
|
+
};
|
|
234
|
+
accept: {
|
|
235
|
+
type: () => string[];
|
|
236
|
+
default: () => never[];
|
|
237
|
+
};
|
|
238
|
+
size: {
|
|
239
|
+
type: () => Size;
|
|
240
|
+
default: string;
|
|
241
|
+
};
|
|
242
|
+
variant: {
|
|
243
|
+
type: () => Variant;
|
|
244
|
+
default: string;
|
|
245
|
+
};
|
|
246
|
+
w: {
|
|
247
|
+
type: StringConstructor;
|
|
248
|
+
default: string;
|
|
249
|
+
};
|
|
250
|
+
radius: {
|
|
251
|
+
type: StringConstructor;
|
|
252
|
+
default: string;
|
|
253
|
+
};
|
|
254
|
+
bgColor: {
|
|
255
|
+
type: StringConstructor;
|
|
256
|
+
default: string;
|
|
257
|
+
};
|
|
258
|
+
textColor: {
|
|
259
|
+
type: StringConstructor;
|
|
260
|
+
default: string;
|
|
261
|
+
};
|
|
262
|
+
borderColor: {
|
|
263
|
+
type: StringConstructor;
|
|
264
|
+
default: string;
|
|
265
|
+
};
|
|
266
|
+
accentColor: {
|
|
267
|
+
type: StringConstructor;
|
|
268
|
+
default: string;
|
|
269
|
+
};
|
|
270
|
+
errorColor: {
|
|
271
|
+
type: StringConstructor;
|
|
272
|
+
default: string;
|
|
273
|
+
};
|
|
274
|
+
labelColor: {
|
|
275
|
+
type: StringConstructor;
|
|
276
|
+
default: string;
|
|
277
|
+
};
|
|
278
|
+
requiredColor: {
|
|
279
|
+
type: StringConstructor;
|
|
280
|
+
default: string;
|
|
281
|
+
};
|
|
282
|
+
iconBg: {
|
|
283
|
+
type: StringConstructor;
|
|
284
|
+
default: string;
|
|
285
|
+
};
|
|
286
|
+
browseText: {
|
|
287
|
+
type: StringConstructor;
|
|
288
|
+
default: string;
|
|
289
|
+
};
|
|
290
|
+
loadingText: {
|
|
291
|
+
type: StringConstructor;
|
|
292
|
+
default: string;
|
|
293
|
+
};
|
|
294
|
+
dragText: {
|
|
295
|
+
type: StringConstructor;
|
|
296
|
+
default: string;
|
|
297
|
+
};
|
|
298
|
+
viewText: {
|
|
299
|
+
type: StringConstructor;
|
|
300
|
+
default: string;
|
|
301
|
+
};
|
|
302
|
+
deleteText: {
|
|
303
|
+
type: StringConstructor;
|
|
304
|
+
default: string;
|
|
305
|
+
};
|
|
306
|
+
showFileSize: {
|
|
307
|
+
type: BooleanConstructor;
|
|
308
|
+
default: boolean;
|
|
309
|
+
};
|
|
310
|
+
showPreview: {
|
|
311
|
+
type: BooleanConstructor;
|
|
312
|
+
default: boolean;
|
|
313
|
+
};
|
|
314
|
+
showDelete: {
|
|
315
|
+
type: BooleanConstructor;
|
|
316
|
+
default: boolean;
|
|
317
|
+
};
|
|
318
|
+
}>> & Readonly<{
|
|
319
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
320
|
+
onUpload?: ((...args: any[]) => any) | undefined;
|
|
321
|
+
onDelete?: ((...args: any[]) => any) | undefined;
|
|
322
|
+
}>, {
|
|
323
|
+
borderColor: string;
|
|
324
|
+
bgColor: string;
|
|
325
|
+
description: string;
|
|
326
|
+
size: Size;
|
|
327
|
+
textColor: string;
|
|
328
|
+
label: string;
|
|
329
|
+
radius: string;
|
|
330
|
+
required: boolean;
|
|
331
|
+
variant: Variant;
|
|
332
|
+
disabled: boolean;
|
|
333
|
+
w: string;
|
|
334
|
+
modelValue: any;
|
|
335
|
+
placeholder: string;
|
|
336
|
+
errorColor: string;
|
|
337
|
+
requiredColor: string;
|
|
338
|
+
labelColor: string;
|
|
339
|
+
multiple: boolean;
|
|
340
|
+
maxFiles: number;
|
|
341
|
+
maxSizeMB: number;
|
|
342
|
+
accept: string[];
|
|
343
|
+
accentColor: string;
|
|
344
|
+
iconBg: string;
|
|
345
|
+
browseText: string;
|
|
346
|
+
loadingText: string;
|
|
347
|
+
dragText: string;
|
|
348
|
+
viewText: string;
|
|
349
|
+
deleteText: string;
|
|
350
|
+
showFileSize: boolean;
|
|
351
|
+
showPreview: boolean;
|
|
352
|
+
showDelete: boolean;
|
|
353
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import { uiAttrs } from '../../core/ui';
|
|
2
|
+
type Size = "sm" | "md" | "lg";
|
|
3
|
+
declare const _default: typeof __VLS_export;
|
|
4
|
+
export default _default;
|
|
5
|
+
declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
6
|
+
size: {
|
|
7
|
+
type: () => Size;
|
|
8
|
+
default: string;
|
|
9
|
+
};
|
|
10
|
+
bgColor: {
|
|
11
|
+
type: StringConstructor;
|
|
12
|
+
default: string;
|
|
13
|
+
};
|
|
14
|
+
overlayColor: {
|
|
15
|
+
type: StringConstructor;
|
|
16
|
+
default: string;
|
|
17
|
+
};
|
|
18
|
+
textColor: {
|
|
19
|
+
type: StringConstructor;
|
|
20
|
+
default: string;
|
|
21
|
+
};
|
|
22
|
+
spinnerColor: {
|
|
23
|
+
type: StringConstructor;
|
|
24
|
+
default: string;
|
|
25
|
+
};
|
|
26
|
+
spinnerTrackColor: {
|
|
27
|
+
type: StringConstructor;
|
|
28
|
+
default: string;
|
|
29
|
+
};
|
|
30
|
+
radius: {
|
|
31
|
+
type: StringConstructor;
|
|
32
|
+
default: string;
|
|
33
|
+
};
|
|
34
|
+
}>, {
|
|
35
|
+
uiAttrs: typeof uiAttrs;
|
|
36
|
+
display: import('vue').Ref<boolean, boolean>;
|
|
37
|
+
title: import('vue').Ref<string, string>;
|
|
38
|
+
description: import('vue').Ref<string, string>;
|
|
39
|
+
sizeClass: import('vue').ComputedRef<"loader-card-sm" | "loader-card-lg" | "loader-card-md">;
|
|
40
|
+
titleSizeClass: import('vue').ComputedRef<"text-base" | "text-sm" | "text-xl">;
|
|
41
|
+
descSizeClass: import('vue').ComputedRef<"text-xs" | "text-base" | "text-sm">;
|
|
42
|
+
overlayStyle: import('vue').ComputedRef<{
|
|
43
|
+
backgroundColor: string;
|
|
44
|
+
}>;
|
|
45
|
+
cardStyle: import('vue').ComputedRef<{
|
|
46
|
+
background: string;
|
|
47
|
+
borderRadius: string;
|
|
48
|
+
}>;
|
|
49
|
+
ringWrapStyle: import('vue').ComputedRef<{
|
|
50
|
+
position: "relative";
|
|
51
|
+
display: string;
|
|
52
|
+
width: string;
|
|
53
|
+
height: string;
|
|
54
|
+
}>;
|
|
55
|
+
ringStyle: import('vue').ComputedRef<{
|
|
56
|
+
boxSizing: "border-box";
|
|
57
|
+
display: string;
|
|
58
|
+
position: "absolute";
|
|
59
|
+
width: string;
|
|
60
|
+
height: string;
|
|
61
|
+
margin: string;
|
|
62
|
+
border: string;
|
|
63
|
+
borderTopColor: string;
|
|
64
|
+
borderRadius: string;
|
|
65
|
+
animation: string;
|
|
66
|
+
}>;
|
|
67
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
68
|
+
size: {
|
|
69
|
+
type: () => Size;
|
|
70
|
+
default: string;
|
|
71
|
+
};
|
|
72
|
+
bgColor: {
|
|
73
|
+
type: StringConstructor;
|
|
74
|
+
default: string;
|
|
75
|
+
};
|
|
76
|
+
overlayColor: {
|
|
77
|
+
type: StringConstructor;
|
|
78
|
+
default: string;
|
|
79
|
+
};
|
|
80
|
+
textColor: {
|
|
81
|
+
type: StringConstructor;
|
|
82
|
+
default: string;
|
|
83
|
+
};
|
|
84
|
+
spinnerColor: {
|
|
85
|
+
type: StringConstructor;
|
|
86
|
+
default: string;
|
|
87
|
+
};
|
|
88
|
+
spinnerTrackColor: {
|
|
89
|
+
type: StringConstructor;
|
|
90
|
+
default: string;
|
|
91
|
+
};
|
|
92
|
+
radius: {
|
|
93
|
+
type: StringConstructor;
|
|
94
|
+
default: string;
|
|
95
|
+
};
|
|
96
|
+
}>> & Readonly<{}>, {
|
|
97
|
+
bgColor: string;
|
|
98
|
+
size: Size;
|
|
99
|
+
textColor: string;
|
|
100
|
+
overlayColor: string;
|
|
101
|
+
spinnerColor: string;
|
|
102
|
+
spinnerTrackColor: string;
|
|
103
|
+
radius: string;
|
|
104
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { App } from 'vue';
|
|
2
|
+
export type LoaderConfig = {
|
|
3
|
+
display?: boolean;
|
|
4
|
+
title?: string;
|
|
5
|
+
description?: string;
|
|
6
|
+
position?: "center" | "top" | "fullscreen";
|
|
7
|
+
};
|
|
8
|
+
type Listener = (config: LoaderConfig) => void;
|
|
9
|
+
export declare const loaderBus: {
|
|
10
|
+
on(callback: Listener): void;
|
|
11
|
+
off(callback: Listener): void;
|
|
12
|
+
emit(config: LoaderConfig): void;
|
|
13
|
+
};
|
|
14
|
+
export declare function setLoading(config: LoaderConfig): void;
|
|
15
|
+
export declare const LoaderPlugin: {
|
|
16
|
+
install(app: App): void;
|
|
17
|
+
};
|
|
18
|
+
export {};
|
|
@@ -0,0 +1,189 @@
|
|
|
1
|
+
import { uiAttrs } from '../../core/ui';
|
|
2
|
+
type Size = "sm" | "md" | "lg" | "full";
|
|
3
|
+
declare const _default: typeof __VLS_export;
|
|
4
|
+
export default _default;
|
|
5
|
+
declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
6
|
+
modelValue: {
|
|
7
|
+
type: BooleanConstructor;
|
|
8
|
+
default: boolean;
|
|
9
|
+
};
|
|
10
|
+
title: {
|
|
11
|
+
type: StringConstructor;
|
|
12
|
+
default: string;
|
|
13
|
+
};
|
|
14
|
+
size: {
|
|
15
|
+
type: () => Size;
|
|
16
|
+
default: string;
|
|
17
|
+
};
|
|
18
|
+
p: {
|
|
19
|
+
type: StringConstructor;
|
|
20
|
+
default: string;
|
|
21
|
+
};
|
|
22
|
+
hideClose: {
|
|
23
|
+
type: BooleanConstructor;
|
|
24
|
+
default: boolean;
|
|
25
|
+
};
|
|
26
|
+
closeOnOverlay: {
|
|
27
|
+
type: BooleanConstructor;
|
|
28
|
+
default: boolean;
|
|
29
|
+
};
|
|
30
|
+
bgColor: {
|
|
31
|
+
type: StringConstructor;
|
|
32
|
+
default: string;
|
|
33
|
+
};
|
|
34
|
+
overlayColor: {
|
|
35
|
+
type: StringConstructor;
|
|
36
|
+
default: string;
|
|
37
|
+
};
|
|
38
|
+
borderColor: {
|
|
39
|
+
type: StringConstructor;
|
|
40
|
+
default: string;
|
|
41
|
+
};
|
|
42
|
+
blur: {
|
|
43
|
+
type: BooleanConstructor;
|
|
44
|
+
default: boolean;
|
|
45
|
+
};
|
|
46
|
+
radius: {
|
|
47
|
+
type: StringConstructor;
|
|
48
|
+
default: string;
|
|
49
|
+
};
|
|
50
|
+
showFooter: {
|
|
51
|
+
type: BooleanConstructor;
|
|
52
|
+
default: boolean;
|
|
53
|
+
};
|
|
54
|
+
primaryButtonText: {
|
|
55
|
+
type: StringConstructor;
|
|
56
|
+
default: string;
|
|
57
|
+
};
|
|
58
|
+
secondaryButtonText: {
|
|
59
|
+
type: StringConstructor;
|
|
60
|
+
default: string;
|
|
61
|
+
};
|
|
62
|
+
hidePrimaryButton: {
|
|
63
|
+
type: BooleanConstructor;
|
|
64
|
+
default: boolean;
|
|
65
|
+
};
|
|
66
|
+
hideSecondaryButton: {
|
|
67
|
+
type: BooleanConstructor;
|
|
68
|
+
default: boolean;
|
|
69
|
+
};
|
|
70
|
+
primaryButtonLoading: {
|
|
71
|
+
type: BooleanConstructor;
|
|
72
|
+
default: boolean;
|
|
73
|
+
};
|
|
74
|
+
secondaryButtonLoading: {
|
|
75
|
+
type: BooleanConstructor;
|
|
76
|
+
default: boolean;
|
|
77
|
+
};
|
|
78
|
+
}>, {
|
|
79
|
+
uiAttrs: typeof uiAttrs;
|
|
80
|
+
close: () => void;
|
|
81
|
+
handleOutsideClick: () => void;
|
|
82
|
+
animationName: import('vue').ComputedRef<"slideUp" | "fade">;
|
|
83
|
+
sizeClass: import('vue').ComputedRef<"modal-sm" | "modal-lg" | "modal-full" | "modal-md">;
|
|
84
|
+
modalStyle: import('vue').ComputedRef<{
|
|
85
|
+
background: string;
|
|
86
|
+
border: string;
|
|
87
|
+
borderRadius: string;
|
|
88
|
+
}>;
|
|
89
|
+
overlayStyle: import('vue').ComputedRef<{
|
|
90
|
+
background: string;
|
|
91
|
+
backdropFilter: string;
|
|
92
|
+
}>;
|
|
93
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("update:modelValue" | "primaryAction" | "secondaryAction")[], "update:modelValue" | "primaryAction" | "secondaryAction", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
94
|
+
modelValue: {
|
|
95
|
+
type: BooleanConstructor;
|
|
96
|
+
default: boolean;
|
|
97
|
+
};
|
|
98
|
+
title: {
|
|
99
|
+
type: StringConstructor;
|
|
100
|
+
default: string;
|
|
101
|
+
};
|
|
102
|
+
size: {
|
|
103
|
+
type: () => Size;
|
|
104
|
+
default: string;
|
|
105
|
+
};
|
|
106
|
+
p: {
|
|
107
|
+
type: StringConstructor;
|
|
108
|
+
default: string;
|
|
109
|
+
};
|
|
110
|
+
hideClose: {
|
|
111
|
+
type: BooleanConstructor;
|
|
112
|
+
default: boolean;
|
|
113
|
+
};
|
|
114
|
+
closeOnOverlay: {
|
|
115
|
+
type: BooleanConstructor;
|
|
116
|
+
default: boolean;
|
|
117
|
+
};
|
|
118
|
+
bgColor: {
|
|
119
|
+
type: StringConstructor;
|
|
120
|
+
default: string;
|
|
121
|
+
};
|
|
122
|
+
overlayColor: {
|
|
123
|
+
type: StringConstructor;
|
|
124
|
+
default: string;
|
|
125
|
+
};
|
|
126
|
+
borderColor: {
|
|
127
|
+
type: StringConstructor;
|
|
128
|
+
default: string;
|
|
129
|
+
};
|
|
130
|
+
blur: {
|
|
131
|
+
type: BooleanConstructor;
|
|
132
|
+
default: boolean;
|
|
133
|
+
};
|
|
134
|
+
radius: {
|
|
135
|
+
type: StringConstructor;
|
|
136
|
+
default: string;
|
|
137
|
+
};
|
|
138
|
+
showFooter: {
|
|
139
|
+
type: BooleanConstructor;
|
|
140
|
+
default: boolean;
|
|
141
|
+
};
|
|
142
|
+
primaryButtonText: {
|
|
143
|
+
type: StringConstructor;
|
|
144
|
+
default: string;
|
|
145
|
+
};
|
|
146
|
+
secondaryButtonText: {
|
|
147
|
+
type: StringConstructor;
|
|
148
|
+
default: string;
|
|
149
|
+
};
|
|
150
|
+
hidePrimaryButton: {
|
|
151
|
+
type: BooleanConstructor;
|
|
152
|
+
default: boolean;
|
|
153
|
+
};
|
|
154
|
+
hideSecondaryButton: {
|
|
155
|
+
type: BooleanConstructor;
|
|
156
|
+
default: boolean;
|
|
157
|
+
};
|
|
158
|
+
primaryButtonLoading: {
|
|
159
|
+
type: BooleanConstructor;
|
|
160
|
+
default: boolean;
|
|
161
|
+
};
|
|
162
|
+
secondaryButtonLoading: {
|
|
163
|
+
type: BooleanConstructor;
|
|
164
|
+
default: boolean;
|
|
165
|
+
};
|
|
166
|
+
}>> & Readonly<{
|
|
167
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
168
|
+
onPrimaryAction?: ((...args: any[]) => any) | undefined;
|
|
169
|
+
onSecondaryAction?: ((...args: any[]) => any) | undefined;
|
|
170
|
+
}>, {
|
|
171
|
+
p: string;
|
|
172
|
+
borderColor: string;
|
|
173
|
+
bgColor: string;
|
|
174
|
+
size: Size;
|
|
175
|
+
title: string;
|
|
176
|
+
secondaryButtonText: string;
|
|
177
|
+
overlayColor: string;
|
|
178
|
+
radius: string;
|
|
179
|
+
modelValue: boolean;
|
|
180
|
+
blur: boolean;
|
|
181
|
+
hideClose: boolean;
|
|
182
|
+
closeOnOverlay: boolean;
|
|
183
|
+
showFooter: boolean;
|
|
184
|
+
primaryButtonText: string;
|
|
185
|
+
hidePrimaryButton: boolean;
|
|
186
|
+
hideSecondaryButton: boolean;
|
|
187
|
+
primaryButtonLoading: boolean;
|
|
188
|
+
secondaryButtonLoading: boolean;
|
|
189
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|