eco-vue-js 0.10.40 → 0.10.42
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/components/ActionsBar/WActionsBar.vue.d.ts +0 -1
- package/dist/components/ActionsBar/WActionsBar.vue.d.ts.map +1 -1
- package/dist/components/ActionsBar/WActionsBar.vue.js +24 -38
- package/dist/components/ActionsBar/WActionsBarFilter.vue.d.ts +24 -0
- package/dist/components/ActionsBar/WActionsBarFilter.vue.d.ts.map +1 -0
- package/dist/components/ActionsBar/WActionsBarFilter.vue.js +25 -0
- package/dist/components/ActionsBar/WActionsBarFilter.vue2.js +5 -0
- package/dist/components/ActionsBar/use/useActionsBarFilter.d.ts +12 -0
- package/dist/components/ActionsBar/use/useActionsBarFilter.d.ts.map +1 -0
- package/dist/components/ActionsBar/use/useActionsBarFilter.js +20 -0
- package/dist/components/BottomSheet/WBottomSheet.vue.d.ts.map +1 -1
- package/dist/components/BottomSheet/WBottomSheet.vue.js +16 -14
- package/dist/components/Button/WButtonDropdown.vue.d.ts.map +1 -1
- package/dist/components/Button/WButtonDropdown.vue.js +3 -4
- package/dist/components/Button/WButtonTab.vue.d.ts +42 -0
- package/dist/components/Button/WButtonTab.vue.d.ts.map +1 -0
- package/dist/components/Button/WButtonTab.vue.js +135 -0
- package/dist/components/Button/WButtonTab.vue2.js +5 -0
- package/dist/components/DatePicker/WDatePicker.vue.d.ts.map +1 -1
- package/dist/components/DatePicker/WDatePicker.vue.js +4 -2
- package/dist/components/DatePicker/WDatePickerSingle.vue.d.ts.map +1 -1
- package/dist/components/DatePicker/WDatePickerSingle.vue.js +4 -2
- package/dist/components/DatePicker/components/CalendarDay.vue.d.ts +1 -0
- package/dist/components/DatePicker/components/CalendarDay.vue.d.ts.map +1 -1
- package/dist/components/DatePicker/components/CalendarDay.vue.js +4 -2
- package/dist/components/DatePicker/components/CalendarMonth.vue.d.ts +1 -0
- package/dist/components/DatePicker/components/CalendarMonth.vue.d.ts.map +1 -1
- package/dist/components/DatePicker/components/CalendarMonth.vue.js +7 -4
- package/dist/components/DatePicker/components/CalendarWeek.vue.d.ts +1 -0
- package/dist/components/DatePicker/components/CalendarWeek.vue.d.ts.map +1 -1
- package/dist/components/DatePicker/components/CalendarWeek.vue.js +6 -3
- package/dist/components/Dropdown/WDropdown.vue.d.ts.map +1 -1
- package/dist/components/Dropdown/WDropdown.vue.js +4 -2
- package/dist/components/Dropdown/types.d.ts +2 -1
- package/dist/components/Dropdown/types.d.ts.map +1 -1
- package/dist/components/DropdownMenu/WDropdownMenu.vue.d.ts +4 -2
- package/dist/components/DropdownMenu/WDropdownMenu.vue.d.ts.map +1 -1
- package/dist/components/DropdownMenu/WDropdownMenu.vue.js +7 -7
- package/dist/components/DropdownMenu/types.d.ts +0 -1
- package/dist/components/DropdownMenu/types.d.ts.map +1 -1
- package/dist/components/Expansion/WExpansionItem.vue.d.ts +1 -0
- package/dist/components/Expansion/WExpansionItem.vue.d.ts.map +1 -1
- package/dist/components/Expansion/WExpansionItem.vue.js +16 -15
- package/dist/components/FieldWrapper/WFieldWrapper.vue.js +1 -1
- package/dist/components/Form/WForm.vue.d.ts.map +1 -1
- package/dist/components/Form/WForm.vue.js +3 -2
- package/dist/components/FormAsync/WFormAsyncSelect.vue.js +1 -1
- package/dist/components/FormAsync/WFormAsyncSelectInfiniteSingle.vue.js +1 -1
- package/dist/components/FormAsync/WFormAsyncSelectSingle.vue.js +1 -1
- package/dist/components/FormAsync/WFormAsyncSelectStringified.vue.js +1 -1
- package/dist/components/HeaderBar/WHeaderBar.vue.d.ts +1 -20
- package/dist/components/HeaderBar/WHeaderBar.vue.d.ts.map +1 -1
- package/dist/components/HeaderBar/WHeaderBar.vue.js +30 -79
- package/dist/components/HeaderBar/WHeaderBarSearch.vue.d.ts +27 -0
- package/dist/components/HeaderBar/WHeaderBarSearch.vue.d.ts.map +1 -0
- package/dist/components/HeaderBar/WHeaderBarSearch.vue.js +24 -0
- package/dist/components/HeaderBar/WHeaderBarSearch.vue2.js +5 -0
- package/dist/components/HeaderBar/use/useHeaderSearch.d.ts +10 -0
- package/dist/components/HeaderBar/use/useHeaderSearch.d.ts.map +1 -0
- package/dist/components/HeaderBar/use/useHeaderSearch.js +14 -0
- package/dist/components/HeaderBar/use/useHeaderSearchVisible.d.ts +5 -0
- package/dist/components/HeaderBar/use/useHeaderSearchVisible.d.ts.map +1 -0
- package/dist/components/HeaderBar/use/useHeaderSearchVisible.js +14 -0
- package/dist/components/InfiniteList/WInfiniteListWrapper.vue.d.ts.map +1 -1
- package/dist/components/InfiniteList/WInfiniteListWrapper.vue.js +12 -20
- package/dist/components/InfiniteList/use/useInfiniteListHeader.d.ts +8 -8
- package/dist/components/InfiniteList/use/useInfiniteListHeader.d.ts.map +1 -1
- package/dist/components/InfiniteList/use/useInfiniteListHeader.js +16 -3
- package/dist/components/Input/WInput.vue.d.ts +1 -1
- package/dist/components/Input/WInput.vue.d.ts.map +1 -1
- package/dist/components/Input/WInput.vue.js +8 -3
- package/dist/components/Input/WInputDate.vue.js +2 -2
- package/dist/components/Input/WInputOptions.vue.js +2 -2
- package/dist/components/Input/WInputSuggest.vue.d.ts.map +1 -1
- package/dist/components/Input/WInputSuggest.vue.js +2 -3
- package/dist/components/List/WList.vue.d.ts +11 -2
- package/dist/components/List/WList.vue.d.ts.map +1 -1
- package/dist/components/List/WList.vue.js +266 -228
- package/dist/components/List/WListHeader.vue.js +1 -1
- package/dist/components/List/WListHeaderItem.vue.d.ts +6 -2
- package/dist/components/List/WListHeaderItem.vue.d.ts.map +1 -1
- package/dist/components/List/WListHeaderItem.vue.js +22 -10
- package/dist/components/List/components/HeaderSort.vue.d.ts +3 -1
- package/dist/components/List/components/HeaderSort.vue.d.ts.map +1 -1
- package/dist/components/List/components/HeaderSort.vue.js +4 -3
- package/dist/components/List/components/HeaderSortItem.vue.d.ts +7 -5
- package/dist/components/List/components/HeaderSortItem.vue.d.ts.map +1 -1
- package/dist/components/List/components/HeaderSortItem.vue.js +23 -10
- package/dist/components/List/components/ListFilterGlobal.vue.d.ts +25 -0
- package/dist/components/List/components/ListFilterGlobal.vue.d.ts.map +1 -0
- package/dist/components/List/components/ListFilterGlobal.vue.js +154 -0
- package/dist/components/List/components/ListFilterGlobal.vue2.js +5 -0
- package/dist/components/List/components/ListFilterGlobalItem.vue.d.ts +29 -0
- package/dist/components/List/components/ListFilterGlobalItem.vue.d.ts.map +1 -0
- package/dist/components/List/components/ListFilterGlobalItem.vue.js +49 -0
- package/dist/components/List/components/ListFilterGlobalItem.vue2.js +5 -0
- package/dist/components/List/components/ListFilterLocal.vue.d.ts +23 -0
- package/dist/components/List/components/ListFilterLocal.vue.d.ts.map +1 -0
- package/dist/components/List/components/ListFilterLocal.vue.js +148 -0
- package/dist/components/List/components/ListFilterLocal.vue2.js +5 -0
- package/dist/components/List/components/ListFilterSelect.vue.d.ts +21 -0
- package/dist/components/List/components/ListFilterSelect.vue.d.ts.map +1 -0
- package/dist/components/List/components/ListFilterSelect.vue.js +72 -0
- package/dist/components/List/components/ListFilterSelect.vue2.js +5 -0
- package/dist/components/List/models/utils.d.ts +3 -0
- package/dist/components/List/models/utils.d.ts.map +1 -0
- package/dist/components/List/models/utils.js +7 -0
- package/dist/components/List/types.d.ts +11 -0
- package/dist/components/List/types.d.ts.map +1 -1
- package/dist/components/Modal/WModal.vue.d.ts.map +1 -1
- package/dist/components/Modal/WModal.vue.js +8 -7
- package/dist/components/Modal/WModalStepper.vue.d.ts +28 -52
- package/dist/components/Modal/WModalStepper.vue.d.ts.map +1 -1
- package/dist/components/Modal/WModalWrapper.vue.d.ts.map +1 -1
- package/dist/components/Modal/WModalWrapper.vue.js +11 -4
- package/dist/components/Modal/models/injection.d.ts +1 -1
- package/dist/components/Modal/models/injection.d.ts.map +1 -1
- package/dist/components/Modal/models/injection.js +2 -2
- package/dist/components/Nav/WNavBar.vue.d.ts.map +1 -1
- package/dist/components/Nav/WNavBar.vue.js +13 -8
- package/dist/components/Select/WSelect.vue.js +1 -1
- package/dist/components/Select/WSelectAsync.vue.js +1 -1
- package/dist/components/Select/WSelectAsyncList.vue.d.ts +2 -2
- package/dist/components/Select/WSelectAsyncSingle.vue.js +1 -1
- package/dist/components/Select/WSelectSingle.vue.js +1 -1
- package/dist/components/Select/WSelectStringified.vue.js +1 -1
- package/dist/components/Select/components/SelectAsyncList.vue.d.ts +2 -2
- package/dist/components/Tabs/WTabs.vue.d.ts +18 -45
- package/dist/components/Tabs/WTabs.vue.d.ts.map +1 -1
- package/dist/components/Tabs/WTabs.vue.js +9 -18
- package/dist/components/Tabs/components/TabItem.vue.d.ts +1 -1
- package/dist/components/Tabs/components/TabItem.vue.d.ts.map +1 -1
- package/dist/components/Tabs/components/TabTitleButton.vue.d.ts +2 -14
- package/dist/components/Tabs/components/TabTitleButton.vue.d.ts.map +1 -1
- package/dist/components/Tabs/components/TabTitleButton.vue.js +19 -119
- package/dist/components/Tabs/types.d.ts +2 -1
- package/dist/components/Tabs/types.d.ts.map +1 -1
- package/dist/imports/componentsPlugin.d.ts +4 -1
- package/dist/imports/componentsPlugin.d.ts.map +1 -1
- package/dist/main.js +6 -3
- package/dist/types/global.d.ts +19 -4
- package/dist/utils/api.d.ts +14 -0
- package/dist/utils/api.d.ts.map +1 -1
- package/dist/utils/api.js +46 -2
- package/dist/utils/dateTime.d.ts +1 -0
- package/dist/utils/dateTime.d.ts.map +1 -1
- package/dist/utils/dateTime.js +4 -1
- package/dist/utils/utils.d.ts +18 -3
- package/dist/utils/utils.d.ts.map +1 -1
- package/dist/utils/utils.js +42 -1
- package/package.json +10 -1
- package/tailwind-base/plugins/default.ts +1 -0
- package/tailwind-base/theme/sizes.ts +2 -0
- package/dist/components/List/use/useOrdering.d.ts +0 -7
- package/dist/components/List/use/useOrdering.d.ts.map +0 -1
- package/dist/components/List/use/useOrdering.js +0 -36
@@ -26,12 +26,13 @@ declare function __VLS_template(): {
|
|
26
26
|
readonly stepper?: boolean | undefined;
|
27
27
|
readonly showHasValue?: boolean | undefined;
|
28
28
|
readonly noSwitchOnInvalid?: boolean | undefined;
|
29
|
+
readonly wrap?: boolean | undefined;
|
29
30
|
readonly "onUpdate:has-changes"?: ((value: boolean) => any) | undefined;
|
30
31
|
readonly "onUpdate:first"?: ((value: boolean) => any) | undefined;
|
31
32
|
readonly "onUpdate:last"?: ((value: boolean) => any) | undefined;
|
32
33
|
readonly "onUpdate:current"?: ((value: string) => any) | undefined;
|
33
34
|
readonly "onUpdate:current-index"?: ((value: number) => any) | undefined;
|
34
|
-
readonly "onUpdate:current-title"?: ((value: string) => any) | undefined;
|
35
|
+
readonly "onUpdate:current-title"?: ((value: string | undefined) => any) | undefined;
|
35
36
|
readonly "onUpdate:tabs-length"?: ((value: number) => any) | undefined;
|
36
37
|
readonly "onUpdate:progress"?: ((value: number) => any) | undefined;
|
37
38
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
@@ -157,7 +158,7 @@ declare function __VLS_template(): {
|
|
157
158
|
readonly hasError: boolean;
|
158
159
|
readonly hasChanges: boolean;
|
159
160
|
readonly hasValue: boolean;
|
160
|
-
readonly title
|
161
|
+
readonly title?: string | undefined;
|
161
162
|
readonly icon: SVGComponent | undefined;
|
162
163
|
readonly first: boolean;
|
163
164
|
readonly last: boolean;
|
@@ -166,7 +167,6 @@ declare function __VLS_template(): {
|
|
166
167
|
readonly showHasValue?: boolean | undefined;
|
167
168
|
readonly side?: boolean | undefined;
|
168
169
|
readonly onClick?: ((value: MouseEvent) => any) | undefined;
|
169
|
-
readonly "onUpdate:indicator-style"?: ((value: import('vue').CSSProperties) => any) | undefined;
|
170
170
|
readonly "onUpdate:scroll-position"?: ((value: {
|
171
171
|
left: number;
|
172
172
|
} | {
|
@@ -187,7 +187,7 @@ declare function __VLS_template(): {
|
|
187
187
|
$root: import('vue').ComponentPublicInstance | null;
|
188
188
|
$parent: import('vue').ComponentPublicInstance | null;
|
189
189
|
$host: Element | null;
|
190
|
-
$emit: ((event: "click", value: MouseEvent) => void) & ((event: "update:
|
190
|
+
$emit: ((event: "click", value: MouseEvent) => void) & ((event: "update:scroll-position", value: {
|
191
191
|
left: number;
|
192
192
|
} | {
|
193
193
|
top: number;
|
@@ -199,7 +199,7 @@ declare function __VLS_template(): {
|
|
199
199
|
hasError: boolean;
|
200
200
|
hasChanges: boolean;
|
201
201
|
hasValue: boolean;
|
202
|
-
title
|
202
|
+
title?: string;
|
203
203
|
icon: SVGComponent | undefined;
|
204
204
|
first: boolean;
|
205
205
|
last: boolean;
|
@@ -209,7 +209,6 @@ declare function __VLS_template(): {
|
|
209
209
|
side?: boolean;
|
210
210
|
}> & Readonly<{
|
211
211
|
onClick?: ((value: MouseEvent) => any) | undefined;
|
212
|
-
"onUpdate:indicator-style"?: ((value: import('vue').CSSProperties) => any) | undefined;
|
213
212
|
"onUpdate:scroll-position"?: ((value: {
|
214
213
|
left: number;
|
215
214
|
} | {
|
@@ -219,7 +218,6 @@ declare function __VLS_template(): {
|
|
219
218
|
update: () => void;
|
220
219
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
221
220
|
click: (value: MouseEvent) => any;
|
222
|
-
"update:indicator-style": (value: import('vue').CSSProperties) => any;
|
223
221
|
"update:scroll-position": (value: {
|
224
222
|
left: number;
|
225
223
|
} | {
|
@@ -251,7 +249,7 @@ declare function __VLS_template(): {
|
|
251
249
|
hasError: boolean;
|
252
250
|
hasChanges: boolean;
|
253
251
|
hasValue: boolean;
|
254
|
-
title
|
252
|
+
title?: string;
|
255
253
|
icon: SVGComponent | undefined;
|
256
254
|
first: boolean;
|
257
255
|
last: boolean;
|
@@ -261,7 +259,6 @@ declare function __VLS_template(): {
|
|
261
259
|
side?: boolean;
|
262
260
|
}> & Readonly<{
|
263
261
|
onClick?: ((value: MouseEvent) => any) | undefined;
|
264
|
-
"onUpdate:indicator-style"?: ((value: import('vue').CSSProperties) => any) | undefined;
|
265
262
|
"onUpdate:scroll-position"?: ((value: {
|
266
263
|
left: number;
|
267
264
|
} | {
|
@@ -271,16 +268,7 @@ declare function __VLS_template(): {
|
|
271
268
|
update: () => void;
|
272
269
|
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
273
270
|
$slots: {
|
274
|
-
title?(_: {
|
275
|
-
hasChanges: boolean;
|
276
|
-
hasError: boolean;
|
277
|
-
hasValue: boolean;
|
278
|
-
}): any;
|
279
|
-
suffix?(_: {
|
280
|
-
hasChanges: boolean;
|
281
|
-
hasError: boolean;
|
282
|
-
hasValue: boolean;
|
283
|
-
}): any;
|
271
|
+
title?(_: {}): any;
|
284
272
|
right?(_: {
|
285
273
|
hasChanges: boolean;
|
286
274
|
hasError: boolean;
|
@@ -293,7 +281,7 @@ declare function __VLS_template(): {
|
|
293
281
|
$data: {};
|
294
282
|
$props: {
|
295
283
|
readonly name: string;
|
296
|
-
readonly title: string;
|
284
|
+
readonly title: string | undefined;
|
297
285
|
readonly active: boolean;
|
298
286
|
readonly removable: boolean;
|
299
287
|
readonly "onTab:switch"?: ((value: string) => any) | undefined;
|
@@ -423,7 +411,7 @@ declare function __VLS_template(): {
|
|
423
411
|
$el: any;
|
424
412
|
$options: import('vue').ComponentOptionsBase<Readonly<{
|
425
413
|
name: string;
|
426
|
-
title: string;
|
414
|
+
title: string | undefined;
|
427
415
|
active: boolean;
|
428
416
|
removable: boolean;
|
429
417
|
}> & Readonly<{
|
@@ -459,7 +447,7 @@ declare function __VLS_template(): {
|
|
459
447
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
460
448
|
} & Readonly<{}> & Omit<Readonly<{
|
461
449
|
name: string;
|
462
|
-
title: string;
|
450
|
+
title: string | undefined;
|
463
451
|
active: boolean;
|
464
452
|
removable: boolean;
|
465
453
|
}> & Readonly<{
|
@@ -481,7 +469,7 @@ declare function __VLS_template(): {
|
|
481
469
|
$root: import('vue').ComponentPublicInstance | null;
|
482
470
|
$parent: import('vue').ComponentPublicInstance | null;
|
483
471
|
$host: Element | null;
|
484
|
-
$emit: ((event: "update:has-changes", value: boolean) => void) & ((event: "update:first", value: boolean) => void) & ((event: "update:last", value: boolean) => void) & ((event: "update:current", value: string) => void) & ((event: "update:current-index", value: number) => void) & ((event: "update:current-title", value: string) => void) & ((event: "update:tabs-length", value: number) => void) & ((event: "update:progress", value: number) => void);
|
472
|
+
$emit: ((event: "update:has-changes", value: boolean) => void) & ((event: "update:first", value: boolean) => void) & ((event: "update:last", value: boolean) => void) & ((event: "update:current", value: string) => void) & ((event: "update:current-index", value: number) => void) & ((event: "update:current-title", value: string | undefined) => void) & ((event: "update:tabs-length", value: number) => void) & ((event: "update:progress", value: number) => void);
|
485
473
|
$el: any;
|
486
474
|
$options: import('vue').ComponentOptionsBase<Readonly<import('../Tabs/types').TabsProps> & Readonly<{
|
487
475
|
"onUpdate:has-changes"?: ((value: boolean) => any) | undefined;
|
@@ -489,7 +477,7 @@ declare function __VLS_template(): {
|
|
489
477
|
"onUpdate:last"?: ((value: boolean) => any) | undefined;
|
490
478
|
"onUpdate:current"?: ((value: string) => any) | undefined;
|
491
479
|
"onUpdate:current-index"?: ((value: number) => any) | undefined;
|
492
|
-
"onUpdate:current-title"?: ((value: string) => any) | undefined;
|
480
|
+
"onUpdate:current-title"?: ((value: string | undefined) => any) | undefined;
|
493
481
|
"onUpdate:tabs-length"?: ((value: number) => any) | undefined;
|
494
482
|
"onUpdate:progress"?: ((value: number) => any) | undefined;
|
495
483
|
}>, {
|
@@ -508,7 +496,7 @@ declare function __VLS_template(): {
|
|
508
496
|
"update:last": (value: boolean) => any;
|
509
497
|
"update:current": (value: string) => any;
|
510
498
|
"update:current-index": (value: number) => any;
|
511
|
-
"update:current-title": (value: string) => any;
|
499
|
+
"update:current-title": (value: string | undefined) => any;
|
512
500
|
"update:tabs-length": (value: number) => any;
|
513
501
|
"update:progress": (value: number) => any;
|
514
502
|
}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
@@ -537,7 +525,7 @@ declare function __VLS_template(): {
|
|
537
525
|
"onUpdate:last"?: ((value: boolean) => any) | undefined;
|
538
526
|
"onUpdate:current"?: ((value: string) => any) | undefined;
|
539
527
|
"onUpdate:current-index"?: ((value: number) => any) | undefined;
|
540
|
-
"onUpdate:current-title"?: ((value: string) => any) | undefined;
|
528
|
+
"onUpdate:current-title"?: ((value: string | undefined) => any) | undefined;
|
541
529
|
"onUpdate:tabs-length"?: ((value: number) => any) | undefined;
|
542
530
|
"onUpdate:progress"?: ((value: number) => any) | undefined;
|
543
531
|
}>, "validate" | "invalidate" | "initModel" | "previous" | "next" | "updateCurrent" | "updateIndex" | "jump" | "validateIfNoError"> & import('vue').ShallowUnwrapRef<{
|
@@ -589,12 +577,13 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
589
577
|
readonly stepper?: boolean | undefined;
|
590
578
|
readonly showHasValue?: boolean | undefined;
|
591
579
|
readonly noSwitchOnInvalid?: boolean | undefined;
|
580
|
+
readonly wrap?: boolean | undefined;
|
592
581
|
readonly "onUpdate:has-changes"?: ((value: boolean) => any) | undefined;
|
593
582
|
readonly "onUpdate:first"?: ((value: boolean) => any) | undefined;
|
594
583
|
readonly "onUpdate:last"?: ((value: boolean) => any) | undefined;
|
595
584
|
readonly "onUpdate:current"?: ((value: string) => any) | undefined;
|
596
585
|
readonly "onUpdate:current-index"?: ((value: number) => any) | undefined;
|
597
|
-
readonly "onUpdate:current-title"?: ((value: string) => any) | undefined;
|
586
|
+
readonly "onUpdate:current-title"?: ((value: string | undefined) => any) | undefined;
|
598
587
|
readonly "onUpdate:tabs-length"?: ((value: number) => any) | undefined;
|
599
588
|
readonly "onUpdate:progress"?: ((value: number) => any) | undefined;
|
600
589
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
@@ -720,7 +709,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
720
709
|
readonly hasError: boolean;
|
721
710
|
readonly hasChanges: boolean;
|
722
711
|
readonly hasValue: boolean;
|
723
|
-
readonly title
|
712
|
+
readonly title?: string | undefined;
|
724
713
|
readonly icon: SVGComponent | undefined;
|
725
714
|
readonly first: boolean;
|
726
715
|
readonly last: boolean;
|
@@ -729,7 +718,6 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
729
718
|
readonly showHasValue?: boolean | undefined;
|
730
719
|
readonly side?: boolean | undefined;
|
731
720
|
readonly onClick?: ((value: MouseEvent) => any) | undefined;
|
732
|
-
readonly "onUpdate:indicator-style"?: ((value: import('vue').CSSProperties) => any) | undefined;
|
733
721
|
readonly "onUpdate:scroll-position"?: ((value: {
|
734
722
|
left: number;
|
735
723
|
} | {
|
@@ -750,7 +738,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
750
738
|
$root: import('vue').ComponentPublicInstance | null;
|
751
739
|
$parent: import('vue').ComponentPublicInstance | null;
|
752
740
|
$host: Element | null;
|
753
|
-
$emit: ((event: "click", value: MouseEvent) => void) & ((event: "update:
|
741
|
+
$emit: ((event: "click", value: MouseEvent) => void) & ((event: "update:scroll-position", value: {
|
754
742
|
left: number;
|
755
743
|
} | {
|
756
744
|
top: number;
|
@@ -762,7 +750,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
762
750
|
hasError: boolean;
|
763
751
|
hasChanges: boolean;
|
764
752
|
hasValue: boolean;
|
765
|
-
title
|
753
|
+
title?: string;
|
766
754
|
icon: SVGComponent | undefined;
|
767
755
|
first: boolean;
|
768
756
|
last: boolean;
|
@@ -772,7 +760,6 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
772
760
|
side?: boolean;
|
773
761
|
}> & Readonly<{
|
774
762
|
onClick?: ((value: MouseEvent) => any) | undefined;
|
775
|
-
"onUpdate:indicator-style"?: ((value: import('vue').CSSProperties) => any) | undefined;
|
776
763
|
"onUpdate:scroll-position"?: ((value: {
|
777
764
|
left: number;
|
778
765
|
} | {
|
@@ -782,7 +769,6 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
782
769
|
update: () => void;
|
783
770
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
784
771
|
click: (value: MouseEvent) => any;
|
785
|
-
"update:indicator-style": (value: import('vue').CSSProperties) => any;
|
786
772
|
"update:scroll-position": (value: {
|
787
773
|
left: number;
|
788
774
|
} | {
|
@@ -814,7 +800,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
814
800
|
hasError: boolean;
|
815
801
|
hasChanges: boolean;
|
816
802
|
hasValue: boolean;
|
817
|
-
title
|
803
|
+
title?: string;
|
818
804
|
icon: SVGComponent | undefined;
|
819
805
|
first: boolean;
|
820
806
|
last: boolean;
|
@@ -824,7 +810,6 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
824
810
|
side?: boolean;
|
825
811
|
}> & Readonly<{
|
826
812
|
onClick?: ((value: MouseEvent) => any) | undefined;
|
827
|
-
"onUpdate:indicator-style"?: ((value: import('vue').CSSProperties) => any) | undefined;
|
828
813
|
"onUpdate:scroll-position"?: ((value: {
|
829
814
|
left: number;
|
830
815
|
} | {
|
@@ -834,16 +819,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
834
819
|
update: () => void;
|
835
820
|
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
836
821
|
$slots: {
|
837
|
-
title?(_: {
|
838
|
-
hasChanges: boolean;
|
839
|
-
hasError: boolean;
|
840
|
-
hasValue: boolean;
|
841
|
-
}): any;
|
842
|
-
suffix?(_: {
|
843
|
-
hasChanges: boolean;
|
844
|
-
hasError: boolean;
|
845
|
-
hasValue: boolean;
|
846
|
-
}): any;
|
822
|
+
title?(_: {}): any;
|
847
823
|
right?(_: {
|
848
824
|
hasChanges: boolean;
|
849
825
|
hasError: boolean;
|
@@ -856,7 +832,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
856
832
|
$data: {};
|
857
833
|
$props: {
|
858
834
|
readonly name: string;
|
859
|
-
readonly title: string;
|
835
|
+
readonly title: string | undefined;
|
860
836
|
readonly active: boolean;
|
861
837
|
readonly removable: boolean;
|
862
838
|
readonly "onTab:switch"?: ((value: string) => any) | undefined;
|
@@ -986,7 +962,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
986
962
|
$el: any;
|
987
963
|
$options: import('vue').ComponentOptionsBase<Readonly<{
|
988
964
|
name: string;
|
989
|
-
title: string;
|
965
|
+
title: string | undefined;
|
990
966
|
active: boolean;
|
991
967
|
removable: boolean;
|
992
968
|
}> & Readonly<{
|
@@ -1022,7 +998,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
1022
998
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
1023
999
|
} & Readonly<{}> & Omit<Readonly<{
|
1024
1000
|
name: string;
|
1025
|
-
title: string;
|
1001
|
+
title: string | undefined;
|
1026
1002
|
active: boolean;
|
1027
1003
|
removable: boolean;
|
1028
1004
|
}> & Readonly<{
|
@@ -1044,7 +1020,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
1044
1020
|
$root: import('vue').ComponentPublicInstance | null;
|
1045
1021
|
$parent: import('vue').ComponentPublicInstance | null;
|
1046
1022
|
$host: Element | null;
|
1047
|
-
$emit: ((event: "update:has-changes", value: boolean) => void) & ((event: "update:first", value: boolean) => void) & ((event: "update:last", value: boolean) => void) & ((event: "update:current", value: string) => void) & ((event: "update:current-index", value: number) => void) & ((event: "update:current-title", value: string) => void) & ((event: "update:tabs-length", value: number) => void) & ((event: "update:progress", value: number) => void);
|
1023
|
+
$emit: ((event: "update:has-changes", value: boolean) => void) & ((event: "update:first", value: boolean) => void) & ((event: "update:last", value: boolean) => void) & ((event: "update:current", value: string) => void) & ((event: "update:current-index", value: number) => void) & ((event: "update:current-title", value: string | undefined) => void) & ((event: "update:tabs-length", value: number) => void) & ((event: "update:progress", value: number) => void);
|
1048
1024
|
$el: any;
|
1049
1025
|
$options: import('vue').ComponentOptionsBase<Readonly<import('../Tabs/types').TabsProps> & Readonly<{
|
1050
1026
|
"onUpdate:has-changes"?: ((value: boolean) => any) | undefined;
|
@@ -1052,7 +1028,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
1052
1028
|
"onUpdate:last"?: ((value: boolean) => any) | undefined;
|
1053
1029
|
"onUpdate:current"?: ((value: string) => any) | undefined;
|
1054
1030
|
"onUpdate:current-index"?: ((value: number) => any) | undefined;
|
1055
|
-
"onUpdate:current-title"?: ((value: string) => any) | undefined;
|
1031
|
+
"onUpdate:current-title"?: ((value: string | undefined) => any) | undefined;
|
1056
1032
|
"onUpdate:tabs-length"?: ((value: number) => any) | undefined;
|
1057
1033
|
"onUpdate:progress"?: ((value: number) => any) | undefined;
|
1058
1034
|
}>, {
|
@@ -1071,7 +1047,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
1071
1047
|
"update:last": (value: boolean) => any;
|
1072
1048
|
"update:current": (value: string) => any;
|
1073
1049
|
"update:current-index": (value: number) => any;
|
1074
|
-
"update:current-title": (value: string) => any;
|
1050
|
+
"update:current-title": (value: string | undefined) => any;
|
1075
1051
|
"update:tabs-length": (value: number) => any;
|
1076
1052
|
"update:progress": (value: number) => any;
|
1077
1053
|
}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
@@ -1100,7 +1076,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
1100
1076
|
"onUpdate:last"?: ((value: boolean) => any) | undefined;
|
1101
1077
|
"onUpdate:current"?: ((value: string) => any) | undefined;
|
1102
1078
|
"onUpdate:current-index"?: ((value: number) => any) | undefined;
|
1103
|
-
"onUpdate:current-title"?: ((value: string) => any) | undefined;
|
1079
|
+
"onUpdate:current-title"?: ((value: string | undefined) => any) | undefined;
|
1104
1080
|
"onUpdate:tabs-length"?: ((value: number) => any) | undefined;
|
1105
1081
|
"onUpdate:progress"?: ((value: number) => any) | undefined;
|
1106
1082
|
}>, "validate" | "invalidate" | "initModel" | "previous" | "next" | "updateCurrent" | "updateIndex" | "jump" | "validateIfNoError"> & import('vue').ShallowUnwrapRef<{
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WModalStepper.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Modal/WModalStepper.vue"],"names":[],"mappings":"AAsEA;AA2HA,KAAK,WAAW,GAAG;IACjB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,YAAY,CAAC,EAAE,OAAO,CAAA;CACvB,CAAC;AAoCF,iBAAS,cAAc;WAiOT,OAAO,IAA6B;;uBAZvB,GAAG;yBACA,GAAG
|
1
|
+
{"version":3,"file":"WModalStepper.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Modal/WModalStepper.vue"],"names":[],"mappings":"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"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WModalWrapper.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Modal/WModalWrapper.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"WModalWrapper.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Modal/WModalWrapper.vue"],"names":[],"mappings":"AA8CA;AAgFA,KAAK,WAAW,GAAG;IACjB,SAAS,CAAC,EAAE,OAAO,CAAA;CACpB,CAAC;AAeF,iBAAS,cAAc;WAuFT,OAAO,IAA6B;;uBAhBvB,GAAG;0BACA,GAAG;yBACJ,GAAG;yBACH,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAoDy1Z,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;EAlC9+Z;AAUD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCAuBo2Z,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;kBAf7+Z,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAQpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
@@ -1,5 +1,7 @@
|
|
1
|
-
import { defineComponent, useTemplateRef, createBlock, openBlock, normalizeStyle, normalizeClass, unref, withCtx, createElementVNode, renderSlot } from 'vue';
|
1
|
+
import { defineComponent, useTemplateRef, onMounted, provide, createBlock, openBlock, normalizeStyle, normalizeClass, unref, withCtx, createElementVNode, renderSlot } from 'vue';
|
2
2
|
import _sfc_main$1 from '../InfiniteList/WInfiniteListScrollingElement.vue.js';
|
3
|
+
import { BASE_ZINDEX_DROPDOWN } from '../../utils/utils.js';
|
4
|
+
import { wModalHeaderHeight } from './models/injection.js';
|
3
5
|
|
4
6
|
const _hoisted_1 = {
|
5
7
|
ref: "header",
|
@@ -16,6 +18,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
16
18
|
const headerRef = useTemplateRef("header");
|
17
19
|
const footerRef = useTemplateRef("footer");
|
18
20
|
const contentRef = useTemplateRef("content");
|
21
|
+
onMounted(() => {
|
22
|
+
if (!headerRef.value) return;
|
23
|
+
provide(wModalHeaderHeight, headerRef.value.offsetHeight);
|
24
|
+
});
|
19
25
|
return (_ctx, _cache) => {
|
20
26
|
return openBlock(), createBlock(_sfc_main$1, {
|
21
27
|
ref: "content",
|
@@ -40,12 +46,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
40
46
|
]),
|
41
47
|
createElementVNode("div", {
|
42
48
|
ref: "footer",
|
43
|
-
class: normalizeClass(["bg-default dark:bg-default-dark -gap--inner-margin -p--w-modal-wrapper-padding sm-not:w-screen sticky bottom-0 left-0
|
49
|
+
class: normalizeClass(["bg-default dark:bg-default-dark -gap--inner-margin -p--w-modal-wrapper-padding sm-not:w-screen sticky bottom-0 left-0 flex w-[--w-modal-wrapper-width,35rem] justify-center", {
|
44
50
|
"sm-not:flex-col": !_ctx.maximized
|
45
|
-
}])
|
51
|
+
}]),
|
52
|
+
style: normalizeStyle({ zIndex: unref(BASE_ZINDEX_DROPDOWN) })
|
46
53
|
}, [
|
47
54
|
renderSlot(_ctx.$slots, "actions")
|
48
|
-
],
|
55
|
+
], 6)
|
49
56
|
]),
|
50
57
|
_: 3
|
51
58
|
}, 8, ["class", "style"]);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"injection.d.ts","sourceRoot":"","sources":["../../../../../src/components/Modal/models/injection.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,YAAY,EAAC,MAAM,KAAK,CAAA;AAErC,eAAO,MAAM,
|
1
|
+
{"version":3,"file":"injection.d.ts","sourceRoot":"","sources":["../../../../../src/components/Modal/models/injection.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,YAAY,EAAC,MAAM,KAAK,CAAA;AAErC,eAAO,MAAM,QAAQ,EAAyB,YAAY,CAAC,OAAO,CAAC,CAAA;AAEnE,eAAO,MAAM,kBAAkB,EAAmC,YAAY,CAAC,MAAM,CAAC,CAAA"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WNavBar.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Nav/WNavBar.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"WNavBar.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Nav/WNavBar.vue"],"names":[],"mappings":"AA8CA;AAuHA,iBAAS,cAAc;WAyET,OAAO,IAA6B;;yBAVrB,GAAG;;;;EAe/B;AAcD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;iFAMnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAEpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
@@ -1,6 +1,7 @@
|
|
1
|
-
import { defineComponent, ref, createElementBlock, openBlock, Fragment, createVNode, createElementVNode, Transition, withCtx, createCommentVNode, unref, withModifiers, normalizeClass, renderSlot } from 'vue';
|
1
|
+
import { defineComponent, provide, ref, createElementBlock, openBlock, Fragment, createVNode, createElementVNode, Transition, withCtx, createCommentVNode, unref, withModifiers, normalizeStyle, normalizeClass, renderSlot } from 'vue';
|
2
2
|
import IconMenu from '../../assets/icons/sax/IconMenu.svg.js';
|
3
3
|
import { useIsMobile } from '../../utils/mobile.js';
|
4
|
+
import { wBaseZIndex, BASE_ZINDEX_NAV_BAR } from '../../utils/utils.js';
|
4
5
|
|
5
6
|
const _hoisted_1 = { class: "bg-default dark:bg-default-dark -mt--header-height overflow-hidden" };
|
6
7
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
@@ -8,6 +9,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
8
9
|
emits: ["update:isOpen"],
|
9
10
|
setup(__props, { emit: __emit }) {
|
10
11
|
const emit = __emit;
|
12
|
+
provide(wBaseZIndex, BASE_ZINDEX_NAV_BAR);
|
11
13
|
const { isTablet } = useIsMobile();
|
12
14
|
const isOpen = ref(false);
|
13
15
|
const emitIsOpen = () => {
|
@@ -33,30 +35,33 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
33
35
|
isOpen.value && unref(isTablet) ? (openBlock(), createElementBlock("div", {
|
34
36
|
key: 0,
|
35
37
|
title: "Click to close",
|
36
|
-
class: "bg-primary-light/40 dark:bg-primary-darkest/40 no-scrollbar fixed left-0 top-0
|
38
|
+
class: "bg-primary-light/40 dark:bg-primary-darkest/40 no-scrollbar fixed left-0 top-0 size-full overflow-y-auto overflow-x-hidden overscroll-contain backdrop-blur print:hidden",
|
39
|
+
style: normalizeStyle({ zIndex: unref(BASE_ZINDEX_NAV_BAR) }),
|
37
40
|
onClick: withModifiers(close, ["stop", "prevent"])
|
38
41
|
}, _cache[0] || (_cache[0] = [
|
39
42
|
createElementVNode("div", { class: "h-[calc(100%+1px)]" }, null, -1)
|
40
|
-
]))) : createCommentVNode("", true)
|
43
|
+
]), 4)) : createCommentVNode("", true)
|
41
44
|
]),
|
42
45
|
_: 1
|
43
46
|
}),
|
44
47
|
createElementVNode("div", {
|
45
|
-
class: normalizeClass(["xl-not:bg-default xl-not:dark:bg-default-dark fixed left-0 top-0
|
48
|
+
class: normalizeClass(["xl-not:bg-default xl-not:dark:bg-default-dark fixed left-0 top-0 grid h-full overflow-hidden shadow-md transition-[grid-template-columns] duration-200 xl:grid-cols-[1fr] xl:shadow-none print:hidden", {
|
46
49
|
"xl-not:grid-cols-[0fr]": !isOpen.value,
|
47
50
|
"grid-cols-[1fr]": isOpen.value
|
48
|
-
}])
|
51
|
+
}]),
|
52
|
+
style: normalizeStyle({ zIndex: unref(BASE_ZINDEX_NAV_BAR) })
|
49
53
|
}, [
|
50
54
|
createElementVNode("div", _hoisted_1, [
|
51
55
|
renderSlot(_ctx.$slots, "default")
|
52
56
|
])
|
53
|
-
],
|
57
|
+
], 6),
|
54
58
|
createElementVNode("div", {
|
55
|
-
class: normalizeClass(["-square--header-height w-ripple fixed left-0 top-0
|
59
|
+
class: normalizeClass(["-square--header-height w-ripple fixed left-0 top-0 flex cursor-pointer items-center justify-center xl:hidden print:hidden", { "text-primary": isOpen.value }]),
|
60
|
+
style: normalizeStyle({ zIndex: unref(BASE_ZINDEX_NAV_BAR) }),
|
56
61
|
onClick: withModifiers(toggle, ["stop"])
|
57
62
|
}, [
|
58
63
|
createVNode(unref(IconMenu))
|
59
|
-
],
|
64
|
+
], 6)
|
60
65
|
], 64);
|
61
66
|
};
|
62
67
|
}
|
@@ -75,11 +75,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
75
75
|
filterValue: {},
|
76
76
|
subgrid: { type: Boolean },
|
77
77
|
seamless: { type: Boolean },
|
78
|
-
teleport: { type: Boolean },
|
79
78
|
parentElement: {},
|
80
79
|
maxHeight: {},
|
81
80
|
maxWidth: {},
|
82
81
|
horizontalAlign: {},
|
82
|
+
top: { type: Boolean },
|
83
83
|
optionComponent: {},
|
84
84
|
optionComponentProps: {},
|
85
85
|
useQueryFnOptions: {},
|
@@ -68,11 +68,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
68
68
|
filterValue: {},
|
69
69
|
subgrid: { type: Boolean },
|
70
70
|
seamless: { type: Boolean },
|
71
|
-
teleport: { type: Boolean },
|
72
71
|
parentElement: {},
|
73
72
|
maxHeight: {},
|
74
73
|
maxWidth: {},
|
75
74
|
horizontalAlign: {},
|
75
|
+
top: { type: Boolean },
|
76
76
|
optionComponent: {},
|
77
77
|
optionComponentProps: {}
|
78
78
|
},
|
@@ -1,10 +1,10 @@
|
|
1
1
|
declare const _default: <Model extends number | string, Data extends DefaultData, QueryParams>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
2
2
|
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
3
3
|
readonly onSelect?: ((value: Model) => any) | undefined;
|
4
|
-
readonly "onUpdate:count"?: ((value: number) => any) | undefined;
|
5
4
|
readonly "onUpdate:model-value"?: ((value: Model[]) => any) | undefined;
|
6
5
|
readonly onUnselect?: ((value: Model) => any) | undefined;
|
7
|
-
|
6
|
+
readonly "onUpdate:count"?: ((value: number) => any) | undefined;
|
7
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onSelect" | "onUnselect" | "onUpdate:model-value" | "onUpdate:count"> & {
|
8
8
|
title?: string;
|
9
9
|
emptyStub?: string;
|
10
10
|
modelValue: Model[];
|
@@ -66,11 +66,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
66
66
|
filterValue: {},
|
67
67
|
subgrid: { type: Boolean },
|
68
68
|
seamless: { type: Boolean },
|
69
|
-
teleport: { type: Boolean },
|
70
69
|
parentElement: {},
|
71
70
|
maxHeight: {},
|
72
71
|
maxWidth: {},
|
73
72
|
horizontalAlign: {},
|
73
|
+
top: { type: Boolean },
|
74
74
|
optionComponent: {},
|
75
75
|
optionComponentProps: {}
|
76
76
|
},
|
@@ -62,11 +62,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
62
62
|
filterValue: {},
|
63
63
|
subgrid: { type: Boolean },
|
64
64
|
seamless: { type: Boolean },
|
65
|
-
teleport: { type: Boolean },
|
66
65
|
parentElement: {},
|
67
66
|
maxHeight: {},
|
68
67
|
maxWidth: {},
|
69
68
|
horizontalAlign: {},
|
69
|
+
top: { type: Boolean },
|
70
70
|
optionComponent: {},
|
71
71
|
optionComponentProps: {},
|
72
72
|
useQueryFnOptions: {},
|
@@ -62,11 +62,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
62
62
|
filterValue: {},
|
63
63
|
subgrid: { type: Boolean },
|
64
64
|
seamless: { type: Boolean },
|
65
|
-
teleport: { type: Boolean },
|
66
65
|
parentElement: {},
|
67
66
|
maxHeight: {},
|
68
67
|
maxWidth: {},
|
69
68
|
horizontalAlign: {},
|
69
|
+
top: { type: Boolean },
|
70
70
|
optionComponent: {},
|
71
71
|
optionComponentProps: {},
|
72
72
|
useQueryFnOptions: {},
|
@@ -1,11 +1,11 @@
|
|
1
1
|
declare const _default: <Model extends number | string, Data extends DefaultData, QueryParams>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
2
2
|
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
3
3
|
readonly onSelect?: ((value: Model) => any) | undefined;
|
4
|
-
readonly "onUpdate:count"?: ((value: number) => any) | undefined;
|
5
4
|
readonly "onUpdate:modelValue"?: ((value: Model[]) => any) | undefined;
|
6
5
|
readonly onUnselect?: ((value: Model) => any) | undefined;
|
6
|
+
readonly "onUpdate:count"?: ((value: number) => any) | undefined;
|
7
7
|
readonly "onCreate:option"?: (() => any) | undefined;
|
8
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onSelect" | "onUpdate:
|
8
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onSelect" | "onUpdate:modelValue" | "onUnselect" | "onUpdate:count" | "onCreate:option"> & {
|
9
9
|
modelValue: Model[];
|
10
10
|
useQueryFn: UseQueryPaginated<Data, QueryParams>;
|
11
11
|
queryParams: QueryParams;
|