@beavernsticks/beaver-admin-ui-vue 0.0.0
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 +48 -0
- package/dist/beaver-admin-ui-vue.css +1 -0
- package/dist/index.d.ts +847 -0
- package/dist/index.es.js +1660 -0
- package/dist/index.umd.js +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/package.json +78 -0
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,847 @@
|
|
|
1
|
+
import { Component } from 'vue';
|
|
2
|
+
import { ComponentOptionsMixin } from 'vue';
|
|
3
|
+
import { ComponentProvideOptions } from 'vue';
|
|
4
|
+
import { ComputedRef } from 'vue';
|
|
5
|
+
import { DefineComponent } from 'vue';
|
|
6
|
+
import { MaybeRefOrGetter } from 'vue';
|
|
7
|
+
import { MenuItem } from 'primevue/menuitem';
|
|
8
|
+
import { PublicProps } from 'vue';
|
|
9
|
+
import { Raw } from 'vue';
|
|
10
|
+
import { Ref } from 'vue';
|
|
11
|
+
import { RouteRecordRaw } from 'vue-router';
|
|
12
|
+
import { StoreDefinition } from 'pinia';
|
|
13
|
+
import { TreeNode } from 'primevue/treenode';
|
|
14
|
+
import { VNode } from 'vue';
|
|
15
|
+
|
|
16
|
+
declare const __VLS_component: DefineComponent<IFormFieldProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<IFormFieldProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
17
|
+
|
|
18
|
+
declare const __VLS_component_2: DefineComponent<__VLS_Props_23, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_23> & Readonly<{}>, {
|
|
19
|
+
logo: string;
|
|
20
|
+
appName: string;
|
|
21
|
+
menuItems: MenuItem[];
|
|
22
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
23
|
+
|
|
24
|
+
declare const __VLS_component_3: DefineComponent<__VLS_PublicProps_16, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
25
|
+
"update:search": (value: string) => any;
|
|
26
|
+
}, string, PublicProps, Readonly<__VLS_PublicProps_16> & Readonly<{
|
|
27
|
+
"onUpdate:search"?: ((value: string) => any) | undefined;
|
|
28
|
+
}>, {
|
|
29
|
+
backRoute: RouteRecordRaw | string;
|
|
30
|
+
isFilterApplied: boolean;
|
|
31
|
+
filterComponent: Component;
|
|
32
|
+
formComponent: Component;
|
|
33
|
+
reload: () => void;
|
|
34
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
35
|
+
|
|
36
|
+
declare const __VLS_component_4: DefineComponent<__VLS_PublicProps_17, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
37
|
+
close: () => any;
|
|
38
|
+
reset: () => any;
|
|
39
|
+
"update:modelValue": (value: boolean) => any;
|
|
40
|
+
apply: () => any;
|
|
41
|
+
}, string, PublicProps, Readonly<__VLS_PublicProps_17> & Readonly<{
|
|
42
|
+
onClose?: (() => any) | undefined;
|
|
43
|
+
onReset?: (() => any) | undefined;
|
|
44
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
45
|
+
onApply?: (() => any) | undefined;
|
|
46
|
+
}>, {
|
|
47
|
+
width: string;
|
|
48
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
49
|
+
|
|
50
|
+
declare const __VLS_component_5: DefineComponent<__VLS_PublicProps_18, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
51
|
+
delete: () => any;
|
|
52
|
+
close: () => any;
|
|
53
|
+
"update:modelValue": (value: boolean) => any;
|
|
54
|
+
save: () => any;
|
|
55
|
+
}, string, PublicProps, Readonly<__VLS_PublicProps_18> & Readonly<{
|
|
56
|
+
onDelete?: (() => any) | undefined;
|
|
57
|
+
onClose?: (() => any) | undefined;
|
|
58
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
59
|
+
onSave?: (() => any) | undefined;
|
|
60
|
+
}>, {
|
|
61
|
+
mode: TFormMode;
|
|
62
|
+
width: string;
|
|
63
|
+
subtitle: string;
|
|
64
|
+
tabs: {
|
|
65
|
+
id: string;
|
|
66
|
+
label: string;
|
|
67
|
+
}[];
|
|
68
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
69
|
+
|
|
70
|
+
declare const __VLS_component_6: DefineComponent<__VLS_PublicProps_19, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
71
|
+
"update:selected": (value: any[]) => any;
|
|
72
|
+
"update:page": (value: number) => any;
|
|
73
|
+
}, string, PublicProps, Readonly<__VLS_PublicProps_19> & Readonly<{
|
|
74
|
+
"onUpdate:selected"?: ((value: any[]) => any) | undefined;
|
|
75
|
+
"onUpdate:page"?: ((value: number) => any) | undefined;
|
|
76
|
+
}>, {
|
|
77
|
+
size: string;
|
|
78
|
+
rows: number;
|
|
79
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
80
|
+
|
|
81
|
+
declare const __VLS_component_7: DefineComponent<__VLS_PublicProps_20, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
82
|
+
"update:selected": (value: string[]) => any;
|
|
83
|
+
"update:page": (value: number) => any;
|
|
84
|
+
}, string, PublicProps, Readonly<__VLS_PublicProps_20> & Readonly<{
|
|
85
|
+
"onUpdate:selected"?: ((value: string[]) => any) | undefined;
|
|
86
|
+
"onUpdate:page"?: ((value: number) => any) | undefined;
|
|
87
|
+
}>, {
|
|
88
|
+
size: string;
|
|
89
|
+
rows: number;
|
|
90
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
91
|
+
|
|
92
|
+
declare type __VLS_Props = {
|
|
93
|
+
component: Component;
|
|
94
|
+
};
|
|
95
|
+
|
|
96
|
+
declare type __VLS_Props_10 = IProps_2;
|
|
97
|
+
|
|
98
|
+
declare type __VLS_Props_11 = IDateInputProps;
|
|
99
|
+
|
|
100
|
+
declare type __VLS_Props_12 = IJSONInputProps;
|
|
101
|
+
|
|
102
|
+
declare type __VLS_Props_13 = IMaskedInputProps;
|
|
103
|
+
|
|
104
|
+
declare type __VLS_Props_14 = IProps_3;
|
|
105
|
+
|
|
106
|
+
declare type __VLS_Props_15 = INumberInputProps;
|
|
107
|
+
|
|
108
|
+
declare type __VLS_Props_16 = IProps_4;
|
|
109
|
+
|
|
110
|
+
declare type __VLS_Props_17 = IPasswordInputProps;
|
|
111
|
+
|
|
112
|
+
declare type __VLS_Props_18 = IProps_5;
|
|
113
|
+
|
|
114
|
+
declare type __VLS_Props_19 = ITextareaInputProps;
|
|
115
|
+
|
|
116
|
+
declare type __VLS_Props_2 = {
|
|
117
|
+
hasChanges: boolean;
|
|
118
|
+
component: Component;
|
|
119
|
+
};
|
|
120
|
+
|
|
121
|
+
declare type __VLS_Props_20 = ITextInputProps;
|
|
122
|
+
|
|
123
|
+
declare type __VLS_Props_21 = IToggleSwitchProps;
|
|
124
|
+
|
|
125
|
+
declare type __VLS_Props_22 = {
|
|
126
|
+
label?: string;
|
|
127
|
+
isRequired?: boolean;
|
|
128
|
+
errorMessage?: string;
|
|
129
|
+
};
|
|
130
|
+
|
|
131
|
+
declare type __VLS_Props_23 = {
|
|
132
|
+
menuItems?: MenuItem[];
|
|
133
|
+
logo?: string;
|
|
134
|
+
appName?: string;
|
|
135
|
+
};
|
|
136
|
+
|
|
137
|
+
declare type __VLS_Props_24 = {
|
|
138
|
+
items?: MenuItem[];
|
|
139
|
+
logo?: string;
|
|
140
|
+
appName?: string;
|
|
141
|
+
};
|
|
142
|
+
|
|
143
|
+
declare type __VLS_Props_25 = {
|
|
144
|
+
title: string | string[];
|
|
145
|
+
noSearch?: boolean;
|
|
146
|
+
backRoute?: RouteRecordRaw | string;
|
|
147
|
+
isFilterApplied?: boolean;
|
|
148
|
+
filterComponent?: Component;
|
|
149
|
+
formComponent?: Component;
|
|
150
|
+
reload?: () => void;
|
|
151
|
+
};
|
|
152
|
+
|
|
153
|
+
declare type __VLS_Props_26 = {
|
|
154
|
+
isSubmittable?: boolean;
|
|
155
|
+
isChanged?: boolean;
|
|
156
|
+
width?: string;
|
|
157
|
+
};
|
|
158
|
+
|
|
159
|
+
declare type __VLS_Props_27 = {
|
|
160
|
+
title: string;
|
|
161
|
+
subtitle?: string;
|
|
162
|
+
mode?: TFormMode;
|
|
163
|
+
isSubmittable?: boolean;
|
|
164
|
+
isSubmitting?: boolean;
|
|
165
|
+
tabs?: {
|
|
166
|
+
id: string;
|
|
167
|
+
label: string;
|
|
168
|
+
}[];
|
|
169
|
+
width?: string;
|
|
170
|
+
};
|
|
171
|
+
|
|
172
|
+
declare type __VLS_Props_28 = {
|
|
173
|
+
items: TAny[];
|
|
174
|
+
totalItems: number;
|
|
175
|
+
isLoading: boolean;
|
|
176
|
+
selectable?: boolean;
|
|
177
|
+
size?: string;
|
|
178
|
+
rows?: number;
|
|
179
|
+
};
|
|
180
|
+
|
|
181
|
+
declare type __VLS_Props_29 = {
|
|
182
|
+
items: TreeNode[];
|
|
183
|
+
totalItems: number;
|
|
184
|
+
isLoading: boolean;
|
|
185
|
+
selectable?: boolean;
|
|
186
|
+
size?: string;
|
|
187
|
+
rows?: number;
|
|
188
|
+
};
|
|
189
|
+
|
|
190
|
+
declare type __VLS_Props_3 = {
|
|
191
|
+
value: boolean;
|
|
192
|
+
};
|
|
193
|
+
|
|
194
|
+
declare type __VLS_Props_4 = {
|
|
195
|
+
tooltip?: string;
|
|
196
|
+
};
|
|
197
|
+
|
|
198
|
+
declare type __VLS_Props_5 = {
|
|
199
|
+
tooltip?: string;
|
|
200
|
+
};
|
|
201
|
+
|
|
202
|
+
declare type __VLS_Props_6 = {
|
|
203
|
+
tooltip?: string;
|
|
204
|
+
};
|
|
205
|
+
|
|
206
|
+
declare type __VLS_Props_7 = {
|
|
207
|
+
tooltip?: string;
|
|
208
|
+
};
|
|
209
|
+
|
|
210
|
+
declare type __VLS_Props_8 = {
|
|
211
|
+
tooltip?: string;
|
|
212
|
+
};
|
|
213
|
+
|
|
214
|
+
declare type __VLS_Props_9 = IProps;
|
|
215
|
+
|
|
216
|
+
declare type __VLS_PublicProps = {
|
|
217
|
+
modelValue: Record<string, TAny> | null | undefined;
|
|
218
|
+
} & __VLS_Props_9;
|
|
219
|
+
|
|
220
|
+
declare type __VLS_PublicProps_10 = {
|
|
221
|
+
modelValue?: string;
|
|
222
|
+
};
|
|
223
|
+
|
|
224
|
+
declare type __VLS_PublicProps_11 = {
|
|
225
|
+
modelValue?: string;
|
|
226
|
+
} & __VLS_Props_18;
|
|
227
|
+
|
|
228
|
+
declare type __VLS_PublicProps_12 = {
|
|
229
|
+
modelValue?: string | null;
|
|
230
|
+
} & __VLS_Props_19;
|
|
231
|
+
|
|
232
|
+
declare type __VLS_PublicProps_13 = {
|
|
233
|
+
modelValue?: string | null;
|
|
234
|
+
} & __VLS_Props_20;
|
|
235
|
+
|
|
236
|
+
declare type __VLS_PublicProps_14 = {
|
|
237
|
+
modelValue?: boolean;
|
|
238
|
+
} & __VLS_Props_21;
|
|
239
|
+
|
|
240
|
+
declare type __VLS_PublicProps_15 = {
|
|
241
|
+
modelValue?: string;
|
|
242
|
+
} & __VLS_Props_22;
|
|
243
|
+
|
|
244
|
+
declare type __VLS_PublicProps_16 = {
|
|
245
|
+
'search'?: string;
|
|
246
|
+
} & __VLS_Props_25;
|
|
247
|
+
|
|
248
|
+
declare type __VLS_PublicProps_17 = {
|
|
249
|
+
modelValue: boolean;
|
|
250
|
+
} & __VLS_Props_26;
|
|
251
|
+
|
|
252
|
+
declare type __VLS_PublicProps_18 = {
|
|
253
|
+
modelValue: boolean;
|
|
254
|
+
} & __VLS_Props_27;
|
|
255
|
+
|
|
256
|
+
declare type __VLS_PublicProps_19 = {
|
|
257
|
+
'selected'?: TAny[];
|
|
258
|
+
'page': number;
|
|
259
|
+
} & __VLS_Props_28;
|
|
260
|
+
|
|
261
|
+
declare type __VLS_PublicProps_2 = {
|
|
262
|
+
modelValue?: TAny[] | undefined;
|
|
263
|
+
} & __VLS_Props_10;
|
|
264
|
+
|
|
265
|
+
declare type __VLS_PublicProps_20 = {
|
|
266
|
+
'selected'?: string[];
|
|
267
|
+
'page': number;
|
|
268
|
+
} & __VLS_Props_29;
|
|
269
|
+
|
|
270
|
+
declare type __VLS_PublicProps_3 = {
|
|
271
|
+
modelValue?: Date | undefined;
|
|
272
|
+
} & __VLS_Props_11;
|
|
273
|
+
|
|
274
|
+
declare type __VLS_PublicProps_4 = {
|
|
275
|
+
modelValue: Record<string, TAny>;
|
|
276
|
+
} & __VLS_Props_12;
|
|
277
|
+
|
|
278
|
+
declare type __VLS_PublicProps_5 = {
|
|
279
|
+
modelValue?: string;
|
|
280
|
+
} & __VLS_Props_13;
|
|
281
|
+
|
|
282
|
+
declare type __VLS_PublicProps_6 = {
|
|
283
|
+
modelValue?: TAny[] | undefined;
|
|
284
|
+
} & __VLS_Props_14;
|
|
285
|
+
|
|
286
|
+
declare type __VLS_PublicProps_7 = {
|
|
287
|
+
modelValue?: number;
|
|
288
|
+
} & __VLS_Props_15;
|
|
289
|
+
|
|
290
|
+
declare type __VLS_PublicProps_8 = {
|
|
291
|
+
modelValue?: boolean | undefined;
|
|
292
|
+
} & __VLS_Props_16;
|
|
293
|
+
|
|
294
|
+
declare type __VLS_PublicProps_9 = {
|
|
295
|
+
modelValue?: string | null;
|
|
296
|
+
} & __VLS_Props_17;
|
|
297
|
+
|
|
298
|
+
declare function __VLS_template(): {
|
|
299
|
+
attrs: Partial<{}>;
|
|
300
|
+
slots: {
|
|
301
|
+
default?(_: {}): any;
|
|
302
|
+
};
|
|
303
|
+
refs: {};
|
|
304
|
+
rootEl: HTMLDivElement;
|
|
305
|
+
};
|
|
306
|
+
|
|
307
|
+
declare function __VLS_template_2(): {
|
|
308
|
+
attrs: Partial<{}>;
|
|
309
|
+
slots: {
|
|
310
|
+
default?(_: {}): any;
|
|
311
|
+
};
|
|
312
|
+
refs: {};
|
|
313
|
+
rootEl: HTMLDivElement;
|
|
314
|
+
};
|
|
315
|
+
|
|
316
|
+
declare function __VLS_template_3(): {
|
|
317
|
+
attrs: Partial<{}>;
|
|
318
|
+
slots: {
|
|
319
|
+
'right-actions'?(_: {}): any;
|
|
320
|
+
default?(_: {}): any;
|
|
321
|
+
};
|
|
322
|
+
refs: {};
|
|
323
|
+
rootEl: HTMLDivElement;
|
|
324
|
+
};
|
|
325
|
+
|
|
326
|
+
declare function __VLS_template_4(): {
|
|
327
|
+
attrs: Partial<{}>;
|
|
328
|
+
slots: {
|
|
329
|
+
default?(_: {}): any;
|
|
330
|
+
};
|
|
331
|
+
refs: {};
|
|
332
|
+
rootEl: any;
|
|
333
|
+
};
|
|
334
|
+
|
|
335
|
+
declare function __VLS_template_5(): {
|
|
336
|
+
attrs: Partial<{}>;
|
|
337
|
+
slots: Partial<Record<`tab_${string}`, (_: {}) => any>> & {
|
|
338
|
+
default?(_: {}): any;
|
|
339
|
+
};
|
|
340
|
+
refs: {};
|
|
341
|
+
rootEl: any;
|
|
342
|
+
};
|
|
343
|
+
|
|
344
|
+
declare function __VLS_template_6(): {
|
|
345
|
+
attrs: Partial<{}>;
|
|
346
|
+
slots: {
|
|
347
|
+
default?(_: {}): any;
|
|
348
|
+
'bulk-actions'?(_: {}): any;
|
|
349
|
+
};
|
|
350
|
+
refs: {};
|
|
351
|
+
rootEl: any;
|
|
352
|
+
};
|
|
353
|
+
|
|
354
|
+
declare function __VLS_template_7(): {
|
|
355
|
+
attrs: Partial<{}>;
|
|
356
|
+
slots: {
|
|
357
|
+
default?(_: {}): any;
|
|
358
|
+
'bulk-actions'?(_: {}): any;
|
|
359
|
+
};
|
|
360
|
+
refs: {};
|
|
361
|
+
rootEl: any;
|
|
362
|
+
};
|
|
363
|
+
|
|
364
|
+
declare type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
365
|
+
|
|
366
|
+
declare type __VLS_TemplateResult_2 = ReturnType<typeof __VLS_template_2>;
|
|
367
|
+
|
|
368
|
+
declare type __VLS_TemplateResult_3 = ReturnType<typeof __VLS_template_3>;
|
|
369
|
+
|
|
370
|
+
declare type __VLS_TemplateResult_4 = ReturnType<typeof __VLS_template_4>;
|
|
371
|
+
|
|
372
|
+
declare type __VLS_TemplateResult_5 = ReturnType<typeof __VLS_template_5>;
|
|
373
|
+
|
|
374
|
+
declare type __VLS_TemplateResult_6 = ReturnType<typeof __VLS_template_6>;
|
|
375
|
+
|
|
376
|
+
declare type __VLS_TemplateResult_7 = ReturnType<typeof __VLS_template_7>;
|
|
377
|
+
|
|
378
|
+
declare type __VLS_WithTemplateSlots<T, S> = T & {
|
|
379
|
+
new (): {
|
|
380
|
+
$slots: S;
|
|
381
|
+
};
|
|
382
|
+
};
|
|
383
|
+
|
|
384
|
+
declare type __VLS_WithTemplateSlots_2<T, S> = T & {
|
|
385
|
+
new (): {
|
|
386
|
+
$slots: S;
|
|
387
|
+
};
|
|
388
|
+
};
|
|
389
|
+
|
|
390
|
+
declare type __VLS_WithTemplateSlots_3<T, S> = T & {
|
|
391
|
+
new (): {
|
|
392
|
+
$slots: S;
|
|
393
|
+
};
|
|
394
|
+
};
|
|
395
|
+
|
|
396
|
+
declare type __VLS_WithTemplateSlots_4<T, S> = T & {
|
|
397
|
+
new (): {
|
|
398
|
+
$slots: S;
|
|
399
|
+
};
|
|
400
|
+
};
|
|
401
|
+
|
|
402
|
+
declare type __VLS_WithTemplateSlots_5<T, S> = T & {
|
|
403
|
+
new (): {
|
|
404
|
+
$slots: S;
|
|
405
|
+
};
|
|
406
|
+
};
|
|
407
|
+
|
|
408
|
+
declare type __VLS_WithTemplateSlots_6<T, S> = T & {
|
|
409
|
+
new (): {
|
|
410
|
+
$slots: S;
|
|
411
|
+
};
|
|
412
|
+
};
|
|
413
|
+
|
|
414
|
+
declare type __VLS_WithTemplateSlots_7<T, S> = T & {
|
|
415
|
+
new (): {
|
|
416
|
+
$slots: S;
|
|
417
|
+
};
|
|
418
|
+
};
|
|
419
|
+
|
|
420
|
+
export declare const AdminLayout: __VLS_WithTemplateSlots_2<typeof __VLS_component_2, __VLS_TemplateResult_2["slots"]>;
|
|
421
|
+
|
|
422
|
+
export declare const AutocompleteInput: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
423
|
+
search: (keyword: string) => any;
|
|
424
|
+
"update:modelValue": (value: Record<string, any> | null | undefined) => any;
|
|
425
|
+
}, string, PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
426
|
+
onSearch?: ((keyword: string) => any) | undefined;
|
|
427
|
+
"onUpdate:modelValue"?: ((value: Record<string, any> | null | undefined) => any) | undefined;
|
|
428
|
+
}>, {
|
|
429
|
+
errorMessage: string;
|
|
430
|
+
options: Record<string, TAny>[];
|
|
431
|
+
optionLabel: string;
|
|
432
|
+
optionValue: string;
|
|
433
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
434
|
+
|
|
435
|
+
export declare const BaseLayout: __VLS_WithTemplateSlots_3<typeof __VLS_component_3, __VLS_TemplateResult_3["slots"]>;
|
|
436
|
+
|
|
437
|
+
export declare const BaseTable: __VLS_WithTemplateSlots_6<typeof __VLS_component_6, __VLS_TemplateResult_6["slots"]>;
|
|
438
|
+
|
|
439
|
+
export declare const BaseTreeTable: __VLS_WithTemplateSlots_7<typeof __VLS_component_7, __VLS_TemplateResult_7["slots"]>;
|
|
440
|
+
|
|
441
|
+
export declare const CheckboxGroupInput: DefineComponent<__VLS_PublicProps_2, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
442
|
+
"update:modelValue": (value: any[] | undefined) => any;
|
|
443
|
+
}, string, PublicProps, Readonly<__VLS_PublicProps_2> & Readonly<{
|
|
444
|
+
"onUpdate:modelValue"?: ((value: any[] | undefined) => any) | undefined;
|
|
445
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
446
|
+
|
|
447
|
+
export declare const CreateButton: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
448
|
+
|
|
449
|
+
export declare const DateInput: DefineComponent<__VLS_PublicProps_3, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
450
|
+
"update:modelValue": (value: Date | undefined) => any;
|
|
451
|
+
}, string, PublicProps, Readonly<__VLS_PublicProps_3> & Readonly<{
|
|
452
|
+
"onUpdate:modelValue"?: ((value: Date | undefined) => any) | undefined;
|
|
453
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
454
|
+
|
|
455
|
+
export declare const DrawerHost: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
456
|
+
|
|
457
|
+
export declare const FilterButton: DefineComponent<__VLS_Props_2, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_2> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
458
|
+
|
|
459
|
+
export declare const FilterDrawer: __VLS_WithTemplateSlots_4<typeof __VLS_component_4, __VLS_TemplateResult_4["slots"]>;
|
|
460
|
+
|
|
461
|
+
export declare const FormDrawer: __VLS_WithTemplateSlots_5<typeof __VLS_component_5, __VLS_TemplateResult_5["slots"]>;
|
|
462
|
+
|
|
463
|
+
export declare const FormField: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
464
|
+
|
|
465
|
+
declare interface IDateInputProps {
|
|
466
|
+
label: string;
|
|
467
|
+
errorMessage?: string;
|
|
468
|
+
isRequired?: boolean;
|
|
469
|
+
}
|
|
470
|
+
|
|
471
|
+
declare interface IFormFieldProps {
|
|
472
|
+
label?: string;
|
|
473
|
+
isRequired?: boolean;
|
|
474
|
+
isBold?: boolean;
|
|
475
|
+
hint?: string;
|
|
476
|
+
errorMessage?: string;
|
|
477
|
+
}
|
|
478
|
+
|
|
479
|
+
declare interface IJSONInputProps {
|
|
480
|
+
label?: string;
|
|
481
|
+
errorMessage?: string;
|
|
482
|
+
isRequired?: boolean;
|
|
483
|
+
}
|
|
484
|
+
|
|
485
|
+
declare interface IMaskedInputProps {
|
|
486
|
+
label: string;
|
|
487
|
+
errorMessage?: string;
|
|
488
|
+
isRequired?: boolean;
|
|
489
|
+
autofocus?: boolean;
|
|
490
|
+
isDisabled?: boolean;
|
|
491
|
+
mask: string;
|
|
492
|
+
unmask?: boolean;
|
|
493
|
+
reset?: () => void;
|
|
494
|
+
isChanged?: boolean;
|
|
495
|
+
}
|
|
496
|
+
|
|
497
|
+
declare interface INumberInputProps {
|
|
498
|
+
label: string;
|
|
499
|
+
errorMessage?: string;
|
|
500
|
+
isRequired?: boolean;
|
|
501
|
+
}
|
|
502
|
+
|
|
503
|
+
declare interface IPasswordInputProps {
|
|
504
|
+
label: string;
|
|
505
|
+
errorMessage?: string;
|
|
506
|
+
isRequired?: boolean;
|
|
507
|
+
isDisabled?: boolean;
|
|
508
|
+
reset?: () => void;
|
|
509
|
+
isChanged?: boolean;
|
|
510
|
+
}
|
|
511
|
+
|
|
512
|
+
declare interface IProps {
|
|
513
|
+
label: string;
|
|
514
|
+
isRequired?: boolean;
|
|
515
|
+
options?: Record<string, TAny>[];
|
|
516
|
+
optionLabel?: string;
|
|
517
|
+
optionValue?: string;
|
|
518
|
+
errorMessage?: string;
|
|
519
|
+
}
|
|
520
|
+
|
|
521
|
+
declare interface IProps_2 {
|
|
522
|
+
label: string;
|
|
523
|
+
errorMessage?: string;
|
|
524
|
+
hint?: string;
|
|
525
|
+
options: {
|
|
526
|
+
id: TAny;
|
|
527
|
+
label: string;
|
|
528
|
+
}[];
|
|
529
|
+
}
|
|
530
|
+
|
|
531
|
+
declare interface IProps_3 {
|
|
532
|
+
label: string;
|
|
533
|
+
isRequired?: boolean;
|
|
534
|
+
options?: TAny[];
|
|
535
|
+
optionLabel?: string | ((data: TAny) => string);
|
|
536
|
+
optionValue?: string | ((data: TAny) => string);
|
|
537
|
+
errorMessage?: string;
|
|
538
|
+
allowCreation?: boolean;
|
|
539
|
+
maxSelectedLabels?: number;
|
|
540
|
+
}
|
|
541
|
+
|
|
542
|
+
declare interface IProps_4 {
|
|
543
|
+
label: string;
|
|
544
|
+
errorMessage?: string;
|
|
545
|
+
hint?: string;
|
|
546
|
+
}
|
|
547
|
+
|
|
548
|
+
declare interface IProps_5 {
|
|
549
|
+
label: string;
|
|
550
|
+
isRequired?: boolean;
|
|
551
|
+
options?: Record<string, TAny>[];
|
|
552
|
+
optionLabel?: string;
|
|
553
|
+
optionValue?: string;
|
|
554
|
+
errorMessage?: string;
|
|
555
|
+
}
|
|
556
|
+
|
|
557
|
+
declare interface ISimpleConfirmArgs {
|
|
558
|
+
header?: string;
|
|
559
|
+
message: string;
|
|
560
|
+
acceptLabel?: string;
|
|
561
|
+
rejectLabel?: string;
|
|
562
|
+
acceptHandler: () => void;
|
|
563
|
+
rejectHandler?: () => void;
|
|
564
|
+
}
|
|
565
|
+
|
|
566
|
+
declare interface ITextareaInputProps {
|
|
567
|
+
label?: string;
|
|
568
|
+
errorMessage?: string;
|
|
569
|
+
isRequired?: boolean;
|
|
570
|
+
}
|
|
571
|
+
|
|
572
|
+
declare interface ITextInputProps {
|
|
573
|
+
label: string;
|
|
574
|
+
errorMessage?: string;
|
|
575
|
+
isRequired?: boolean;
|
|
576
|
+
autofocus?: boolean;
|
|
577
|
+
isDisabled?: boolean;
|
|
578
|
+
reset?: () => void;
|
|
579
|
+
isChanged?: boolean;
|
|
580
|
+
}
|
|
581
|
+
|
|
582
|
+
declare interface IToggleSwitchProps {
|
|
583
|
+
label: string;
|
|
584
|
+
errorMessage?: string;
|
|
585
|
+
hint?: string;
|
|
586
|
+
}
|
|
587
|
+
|
|
588
|
+
declare interface IUseAdvancedFilterReturn<T extends Record<string, TAny>> {
|
|
589
|
+
filter: T;
|
|
590
|
+
filterIsApplied: ComputedRef<boolean>;
|
|
591
|
+
filterApply: (values: T) => void;
|
|
592
|
+
filterReset: () => void;
|
|
593
|
+
}
|
|
594
|
+
|
|
595
|
+
export declare const JSONInput: DefineComponent<__VLS_PublicProps_4, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
596
|
+
"update:modelValue": (value: Record<string, any>) => any;
|
|
597
|
+
}, string, PublicProps, Readonly<__VLS_PublicProps_4> & Readonly<{
|
|
598
|
+
"onUpdate:modelValue"?: ((value: Record<string, any>) => any) | undefined;
|
|
599
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
600
|
+
|
|
601
|
+
export declare const MaskedInput: DefineComponent<__VLS_PublicProps_5, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
602
|
+
"update:modelValue": (value: string) => any;
|
|
603
|
+
}, string, PublicProps, Readonly<__VLS_PublicProps_5> & Readonly<{
|
|
604
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
605
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
606
|
+
|
|
607
|
+
export declare const MenuSidebar: DefineComponent<__VLS_Props_24, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
608
|
+
navigate: () => any;
|
|
609
|
+
}, string, PublicProps, Readonly<__VLS_Props_24> & Readonly<{
|
|
610
|
+
onNavigate?: (() => any) | undefined;
|
|
611
|
+
}>, {
|
|
612
|
+
items: MenuItem[];
|
|
613
|
+
logo: string;
|
|
614
|
+
appName: string;
|
|
615
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
616
|
+
|
|
617
|
+
export declare const MultiselectInput: DefineComponent<__VLS_PublicProps_6, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
618
|
+
"update:modelValue": (value: any[] | undefined) => any;
|
|
619
|
+
}, string, PublicProps, Readonly<__VLS_PublicProps_6> & Readonly<{
|
|
620
|
+
"onUpdate:modelValue"?: ((value: any[] | undefined) => any) | undefined;
|
|
621
|
+
}>, {
|
|
622
|
+
errorMessage: string;
|
|
623
|
+
options: TAny[];
|
|
624
|
+
optionLabel: string | ((data: TAny) => string);
|
|
625
|
+
optionValue: string | ((data: TAny) => string);
|
|
626
|
+
maxSelectedLabels: number;
|
|
627
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
628
|
+
|
|
629
|
+
export declare const NumberInput: DefineComponent<__VLS_PublicProps_7, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
630
|
+
"update:modelValue": (value: number) => any;
|
|
631
|
+
}, string, PublicProps, Readonly<__VLS_PublicProps_7> & Readonly<{
|
|
632
|
+
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
633
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
634
|
+
|
|
635
|
+
export declare const OptionalBooleanInput: DefineComponent<__VLS_PublicProps_8, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
636
|
+
"update:modelValue": (value: boolean | undefined) => any;
|
|
637
|
+
}, string, PublicProps, Readonly<__VLS_PublicProps_8> & Readonly<{
|
|
638
|
+
"onUpdate:modelValue"?: ((value: boolean | undefined) => any) | undefined;
|
|
639
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
640
|
+
|
|
641
|
+
export declare const PasswordInput: DefineComponent<__VLS_PublicProps_9, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
642
|
+
"update:modelValue": (value: string | null) => any;
|
|
643
|
+
}, string, PublicProps, Readonly<__VLS_PublicProps_9> & Readonly<{
|
|
644
|
+
"onUpdate:modelValue"?: ((value: string | null) => any) | undefined;
|
|
645
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
646
|
+
|
|
647
|
+
export declare function prepareComponent<T extends Component, P = TExtractProps<T>, S = TExtractSlots<T>>(component: T, options?: {
|
|
648
|
+
props?: P;
|
|
649
|
+
slots?: Partial<Record<keyof S, () => VNode>>;
|
|
650
|
+
children?: string | VNode | (() => VNode);
|
|
651
|
+
}): VNode;
|
|
652
|
+
|
|
653
|
+
export declare function prepareTooltip(value: string, delayed?: boolean): {
|
|
654
|
+
value: string;
|
|
655
|
+
pt: {
|
|
656
|
+
text: string;
|
|
657
|
+
};
|
|
658
|
+
showDelay: number | undefined;
|
|
659
|
+
};
|
|
660
|
+
|
|
661
|
+
export declare const SearchInput: DefineComponent<__VLS_PublicProps_10, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
662
|
+
"update:modelValue": (value: string) => any;
|
|
663
|
+
}, string, PublicProps, Readonly<__VLS_PublicProps_10> & Readonly<{
|
|
664
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
665
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
666
|
+
|
|
667
|
+
export declare const SearchToggleButton: DefineComponent<__VLS_Props_3, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_3> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
668
|
+
|
|
669
|
+
export declare const SelectAddButton: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
670
|
+
|
|
671
|
+
export declare const SelectInput: DefineComponent<__VLS_PublicProps_11, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
672
|
+
"update:modelValue": (value: string) => any;
|
|
673
|
+
}, string, PublicProps, Readonly<__VLS_PublicProps_11> & Readonly<{
|
|
674
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
675
|
+
}>, {
|
|
676
|
+
errorMessage: string;
|
|
677
|
+
options: Record<string, TAny>[];
|
|
678
|
+
optionLabel: string;
|
|
679
|
+
optionValue: string;
|
|
680
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
681
|
+
|
|
682
|
+
export declare const TableAddButton: DefineComponent<__VLS_Props_4, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_4> & Readonly<{}>, {
|
|
683
|
+
tooltip: string;
|
|
684
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
685
|
+
|
|
686
|
+
export declare const TableDeleteButton: DefineComponent<__VLS_Props_5, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_5> & Readonly<{}>, {
|
|
687
|
+
tooltip: string;
|
|
688
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
689
|
+
|
|
690
|
+
export declare const TableEditButton: DefineComponent<__VLS_Props_6, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_6> & Readonly<{}>, {
|
|
691
|
+
tooltip: string;
|
|
692
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
693
|
+
|
|
694
|
+
export declare const TablePurgeButton: DefineComponent<__VLS_Props_7, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_7> & Readonly<{}>, {
|
|
695
|
+
tooltip: string;
|
|
696
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
697
|
+
|
|
698
|
+
export declare const TableRestoreButton: DefineComponent<__VLS_Props_8, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_8> & Readonly<{}>, {
|
|
699
|
+
tooltip: string;
|
|
700
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
701
|
+
|
|
702
|
+
/** Намеренное использование типа `any`, там где он действительно нужен */
|
|
703
|
+
declare type TAny = any;
|
|
704
|
+
|
|
705
|
+
export declare const TextareaInput: DefineComponent<__VLS_PublicProps_12, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
706
|
+
"update:modelValue": (value: string | null) => any;
|
|
707
|
+
}, string, PublicProps, Readonly<__VLS_PublicProps_12> & Readonly<{
|
|
708
|
+
"onUpdate:modelValue"?: ((value: string | null) => any) | undefined;
|
|
709
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
710
|
+
|
|
711
|
+
export declare const TextInput: DefineComponent<__VLS_PublicProps_13, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
712
|
+
"update:modelValue": (value: string | null) => any;
|
|
713
|
+
}, string, PublicProps, Readonly<__VLS_PublicProps_13> & Readonly<{
|
|
714
|
+
"onUpdate:modelValue"?: ((value: string | null) => any) | undefined;
|
|
715
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
716
|
+
|
|
717
|
+
declare type TExtractProps<T> = T extends new () => {
|
|
718
|
+
$props: infer P;
|
|
719
|
+
} ? P : never;
|
|
720
|
+
|
|
721
|
+
declare type TExtractSlots<T> = T extends new () => {
|
|
722
|
+
$slots: infer S;
|
|
723
|
+
} ? S : never;
|
|
724
|
+
|
|
725
|
+
declare type TFieldRefs<T, B extends Array<keyof T>> = {
|
|
726
|
+
[P in B[number]]: ComputedRef<T[P]>;
|
|
727
|
+
};
|
|
728
|
+
|
|
729
|
+
declare type TFormMode = 'create' | 'edit';
|
|
730
|
+
|
|
731
|
+
export declare const ToggleSwitch: DefineComponent<__VLS_PublicProps_14, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
732
|
+
"update:modelValue": (value: boolean) => any;
|
|
733
|
+
}, string, PublicProps, Readonly<__VLS_PublicProps_14> & Readonly<{
|
|
734
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
735
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
736
|
+
|
|
737
|
+
export declare function useAdvancedFilter<T extends Record<string, TAny>, B extends keyof T = never>(initialFilter: T, bindings?: B | B[]): IUseAdvancedFilterReturn<T> & TFieldRefs<T, B[]>;
|
|
738
|
+
|
|
739
|
+
export declare function useDrawer(): {
|
|
740
|
+
stack: Ref< {
|
|
741
|
+
component: Raw<Component>;
|
|
742
|
+
props?: Record<string, TAny> | undefined;
|
|
743
|
+
}[], {
|
|
744
|
+
component: Raw<Component>;
|
|
745
|
+
props?: Record<string, TAny>;
|
|
746
|
+
}[] | {
|
|
747
|
+
component: Raw<Component>;
|
|
748
|
+
props?: Record<string, TAny> | undefined;
|
|
749
|
+
}[]>;
|
|
750
|
+
open: (component: Component, props?: Record<string, TAny>) => void;
|
|
751
|
+
close: (i: number) => void;
|
|
752
|
+
};
|
|
753
|
+
|
|
754
|
+
export declare const useDrawerStore: StoreDefinition<"drawer", Pick<{
|
|
755
|
+
stack: Ref< {
|
|
756
|
+
component: Raw<Component>;
|
|
757
|
+
props?: Record<string, TAny> | undefined;
|
|
758
|
+
}[], {
|
|
759
|
+
component: Raw<Component>;
|
|
760
|
+
props?: Record<string, TAny>;
|
|
761
|
+
}[] | {
|
|
762
|
+
component: Raw<Component>;
|
|
763
|
+
props?: Record<string, TAny> | undefined;
|
|
764
|
+
}[]>;
|
|
765
|
+
openDrawer: (component: Component, props?: Record<string, TAny>) => void;
|
|
766
|
+
closeDrawer: (i: number) => void;
|
|
767
|
+
}, "stack">, Pick<{
|
|
768
|
+
stack: Ref< {
|
|
769
|
+
component: Raw<Component>;
|
|
770
|
+
props?: Record<string, TAny> | undefined;
|
|
771
|
+
}[], {
|
|
772
|
+
component: Raw<Component>;
|
|
773
|
+
props?: Record<string, TAny>;
|
|
774
|
+
}[] | {
|
|
775
|
+
component: Raw<Component>;
|
|
776
|
+
props?: Record<string, TAny> | undefined;
|
|
777
|
+
}[]>;
|
|
778
|
+
openDrawer: (component: Component, props?: Record<string, TAny>) => void;
|
|
779
|
+
closeDrawer: (i: number) => void;
|
|
780
|
+
}, never>, Pick<{
|
|
781
|
+
stack: Ref< {
|
|
782
|
+
component: Raw<Component>;
|
|
783
|
+
props?: Record<string, TAny> | undefined;
|
|
784
|
+
}[], {
|
|
785
|
+
component: Raw<Component>;
|
|
786
|
+
props?: Record<string, TAny>;
|
|
787
|
+
}[] | {
|
|
788
|
+
component: Raw<Component>;
|
|
789
|
+
props?: Record<string, TAny> | undefined;
|
|
790
|
+
}[]>;
|
|
791
|
+
openDrawer: (component: Component, props?: Record<string, TAny>) => void;
|
|
792
|
+
closeDrawer: (i: number) => void;
|
|
793
|
+
}, "openDrawer" | "closeDrawer">>;
|
|
794
|
+
|
|
795
|
+
export declare function useResponsive(): {
|
|
796
|
+
breakpoints: Record<"sm" | "md" | "lg" | "xl" | "2xl", ComputedRef<boolean>> & {
|
|
797
|
+
greaterOrEqual: (k: MaybeRefOrGetter<"sm" | "md" | "lg" | "xl" | "2xl">) => ComputedRef<boolean>;
|
|
798
|
+
smallerOrEqual: (k: MaybeRefOrGetter<"sm" | "md" | "lg" | "xl" | "2xl">) => ComputedRef<boolean>;
|
|
799
|
+
greater(k: MaybeRefOrGetter<"sm" | "md" | "lg" | "xl" | "2xl">): ComputedRef<boolean>;
|
|
800
|
+
smaller(k: MaybeRefOrGetter<"sm" | "md" | "lg" | "xl" | "2xl">): ComputedRef<boolean>;
|
|
801
|
+
between(a: MaybeRefOrGetter<"sm" | "md" | "lg" | "xl" | "2xl">, b: MaybeRefOrGetter<"sm" | "md" | "lg" | "xl" | "2xl">): ComputedRef<boolean>;
|
|
802
|
+
isGreater(k: MaybeRefOrGetter<"sm" | "md" | "lg" | "xl" | "2xl">): boolean;
|
|
803
|
+
isGreaterOrEqual(k: MaybeRefOrGetter<"sm" | "md" | "lg" | "xl" | "2xl">): boolean;
|
|
804
|
+
isSmaller(k: MaybeRefOrGetter<"sm" | "md" | "lg" | "xl" | "2xl">): boolean;
|
|
805
|
+
isSmallerOrEqual(k: MaybeRefOrGetter<"sm" | "md" | "lg" | "xl" | "2xl">): boolean;
|
|
806
|
+
isInBetween(a: MaybeRefOrGetter<"sm" | "md" | "lg" | "xl" | "2xl">, b: MaybeRefOrGetter<"sm" | "md" | "lg" | "xl" | "2xl">): boolean;
|
|
807
|
+
current: () => ComputedRef<("sm" | "md" | "lg" | "xl" | "2xl")[]>;
|
|
808
|
+
active(): ComputedRef<"" | "sm" | "md" | "lg" | "xl" | "2xl">;
|
|
809
|
+
};
|
|
810
|
+
isMobile: ComputedRef<boolean>;
|
|
811
|
+
isTablet: ComputedRef<boolean>;
|
|
812
|
+
isDesktop: ComputedRef<boolean>;
|
|
813
|
+
mobileOnly: ComputedRef<boolean>;
|
|
814
|
+
tabletOnly: ComputedRef<boolean>;
|
|
815
|
+
desktopOnly: ComputedRef<boolean>;
|
|
816
|
+
isMobileOrTablet: ComputedRef<boolean>;
|
|
817
|
+
isTabletOrDesktop: ComputedRef<boolean>;
|
|
818
|
+
isMobileMenuVisible: Ref<boolean, boolean>;
|
|
819
|
+
toggleMobileMenu: () => void;
|
|
820
|
+
};
|
|
821
|
+
|
|
822
|
+
export declare const useResponsiveStore: StoreDefinition<"responsive", Pick<{
|
|
823
|
+
isMobileMenuVisible: Ref<boolean, boolean>;
|
|
824
|
+
toggleMobileMenu: () => void;
|
|
825
|
+
}, "isMobileMenuVisible">, Pick<{
|
|
826
|
+
isMobileMenuVisible: Ref<boolean, boolean>;
|
|
827
|
+
toggleMobileMenu: () => void;
|
|
828
|
+
}, never>, Pick<{
|
|
829
|
+
isMobileMenuVisible: Ref<boolean, boolean>;
|
|
830
|
+
toggleMobileMenu: () => void;
|
|
831
|
+
}, "toggleMobileMenu">>;
|
|
832
|
+
|
|
833
|
+
export declare function useSimpleConfirm(): {
|
|
834
|
+
showConfirm: (args: ISimpleConfirmArgs) => void;
|
|
835
|
+
};
|
|
836
|
+
|
|
837
|
+
export declare const WysiwygInput: DefineComponent<__VLS_PublicProps_15, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
838
|
+
"update:modelValue": (value: string) => any;
|
|
839
|
+
}, string, PublicProps, Readonly<__VLS_PublicProps_15> & Readonly<{
|
|
840
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
841
|
+
}>, {
|
|
842
|
+
label: string;
|
|
843
|
+
isRequired: boolean;
|
|
844
|
+
errorMessage: string;
|
|
845
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
846
|
+
|
|
847
|
+
export { }
|