@vuetify/nightly 3.6.6-master.2024-05-16 → 3.6.6-master.2024-05-21
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/CHANGELOG.md +10 -2
- package/dist/json/importMap-labs.json +8 -8
- package/dist/json/importMap.json +136 -136
- package/dist/json/web-types.json +19 -7
- package/dist/vuetify-labs.css +3113 -3106
- package/dist/vuetify-labs.d.ts +24 -3
- package/dist/vuetify-labs.esm.js +13 -3
- package/dist/vuetify-labs.esm.js.map +1 -1
- package/dist/vuetify-labs.js +13 -3
- package/dist/vuetify-labs.min.css +2 -2
- package/dist/vuetify.css +622 -615
- package/dist/vuetify.d.ts +67 -46
- package/dist/vuetify.esm.js +13 -3
- package/dist/vuetify.esm.js.map +1 -1
- package/dist/vuetify.js +13 -3
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +2 -2
- package/dist/vuetify.min.js +6 -5
- package/dist/vuetify.min.js.map +1 -1
- package/lib/components/VBtn/VBtn.css +6 -0
- package/lib/components/VBtn/VBtn.sass +6 -0
- package/lib/components/VConfirmEdit/VConfirmEdit.mjs +8 -0
- package/lib/components/VConfirmEdit/VConfirmEdit.mjs.map +1 -1
- package/lib/components/VConfirmEdit/index.d.mts +24 -3
- package/lib/components/VField/VField.css +1 -0
- package/lib/components/VField/VField.sass +2 -0
- package/lib/components/index.d.mts +24 -3
- package/lib/entry-bundler.mjs +1 -1
- package/lib/framework.mjs +1 -1
- package/lib/index.d.mts +43 -43
- package/lib/util/helpers.mjs +2 -0
- package/lib/util/helpers.mjs.map +1 -1
- package/package.json +1 -1
@@ -356,11 +356,17 @@
|
|
356
356
|
grid-area: prepend;
|
357
357
|
margin-inline: calc(var(--v-btn-height) / -9) calc(var(--v-btn-height) / 4.5);
|
358
358
|
}
|
359
|
+
.v-btn--slim .v-btn__prepend {
|
360
|
+
margin-inline-start: 0;
|
361
|
+
}
|
359
362
|
|
360
363
|
.v-btn__append {
|
361
364
|
grid-area: append;
|
362
365
|
margin-inline: calc(var(--v-btn-height) / 4.5) calc(var(--v-btn-height) / -9);
|
363
366
|
}
|
367
|
+
.v-btn--slim .v-btn__append {
|
368
|
+
margin-inline-end: 0;
|
369
|
+
}
|
364
370
|
|
365
371
|
.v-btn__content {
|
366
372
|
grid-area: content;
|
@@ -193,10 +193,16 @@
|
|
193
193
|
grid-area: prepend
|
194
194
|
margin-inline: $button-margin-start $button-margin-end
|
195
195
|
|
196
|
+
.v-btn--slim &
|
197
|
+
margin-inline-start: 0
|
198
|
+
|
196
199
|
.v-btn__append
|
197
200
|
grid-area: append
|
198
201
|
margin-inline: $button-margin-end $button-margin-start
|
199
202
|
|
203
|
+
.v-btn--slim &
|
204
|
+
margin-inline-end: 0
|
205
|
+
|
200
206
|
.v-btn__content
|
201
207
|
grid-area: content
|
202
208
|
justify-content: center
|
@@ -66,12 +66,20 @@ export const VConfirmEdit = genericComponent()({
|
|
66
66
|
}, null)]);
|
67
67
|
return _createVNode(_Fragment, null, [slots.default?.({
|
68
68
|
model: internalModel,
|
69
|
+
save,
|
70
|
+
cancel,
|
71
|
+
isPristine: isPristine.value,
|
69
72
|
get actions() {
|
70
73
|
actionsUsed = true;
|
71
74
|
return actions;
|
72
75
|
}
|
73
76
|
}), !actionsUsed && actions]);
|
74
77
|
});
|
78
|
+
return {
|
79
|
+
save,
|
80
|
+
cancel,
|
81
|
+
isPristine
|
82
|
+
};
|
75
83
|
}
|
76
84
|
});
|
77
85
|
//# sourceMappingURL=VConfirmEdit.mjs.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"VConfirmEdit.mjs","names":["VBtn","useLocale","useProxiedModel","computed","ref","toRaw","watchEffect","deepEqual","genericComponent","propsFactory","useRender","makeVConfirmEditProps","modelValue","color","String","cancelText","type","default","okText","VConfirmEdit","name","props","emits","cancel","save","value","setup","_ref","emit","slots","model","internalModel","structuredClone","t","isPristine","actionsUsed","actions","_createVNode","_Fragment"],"sources":["../../../src/components/VConfirmEdit/VConfirmEdit.tsx"],"sourcesContent":["// Components\nimport { VBtn } from '@/components/VBtn'\n\n// Composables\nimport { useLocale } from '@/composables'\nimport { useProxiedModel } from '@/composables/proxiedModel'\n\n// Utilities\nimport { computed, ref, toRaw, watchEffect } from 'vue'\nimport { deepEqual, genericComponent, propsFactory, useRender } from '@/util'\n\n// Types\nimport type { Ref, VNode } from 'vue'\nimport type { GenericProps } from '@/util'\n\nexport type VConfirmEditSlots<T> = {\n default: {\n model: Ref<T>\n get actions (): VNode\n }\n}\n\nexport const makeVConfirmEditProps = propsFactory({\n modelValue: null,\n color: String,\n cancelText: {\n type: String,\n default: '$vuetify.confirmEdit.cancel',\n },\n okText: {\n type: String,\n default: '$vuetify.confirmEdit.ok',\n },\n}, 'VConfirmEdit')\n\nexport const VConfirmEdit = genericComponent<new <T> (\n props: {\n modelValue?: T\n 'onUpdate:modelValue'?: (value: T) => void\n 'onSave'?: (value: T) => void\n },\n slots: VConfirmEditSlots<T>\n) => GenericProps<typeof props, typeof slots>>()({\n name: 'VConfirmEdit',\n\n props: makeVConfirmEditProps(),\n\n emits: {\n cancel: () => true,\n save: (value: any) => true,\n 'update:modelValue': (value: any) => true,\n },\n\n setup (props, { emit, slots }) {\n const model = useProxiedModel(props, 'modelValue')\n const internalModel = ref()\n watchEffect(() => {\n internalModel.value = structuredClone(toRaw(model.value))\n })\n\n const { t } = useLocale()\n\n const isPristine = computed(() => {\n return deepEqual(model.value, internalModel.value)\n })\n\n function save () {\n model.value = internalModel.value\n emit('save', internalModel.value)\n }\n\n function cancel () {\n internalModel.value = structuredClone(toRaw(model.value))\n emit('cancel')\n }\n\n let actionsUsed = false\n useRender(() => {\n const actions = (\n <>\n <VBtn\n disabled={ isPristine.value }\n variant=\"text\"\n color={ props.color }\n onClick={ cancel }\n text={ t(props.cancelText) }\n />\n\n <VBtn\n disabled={ isPristine.value }\n variant=\"text\"\n color={ props.color }\n onClick={ save }\n text={ t(props.okText) }\n />\n </>\n )\n return (\n <>\n {\n slots.default?.({\n model: internalModel,\n get actions () {\n actionsUsed = true\n return actions\n },\n })\n }\n\n { !actionsUsed && actions }\n </>\n )\n })\n },\n})\n\nexport type VConfirmEdit = InstanceType<typeof VConfirmEdit>\n"],"mappings":";AAAA;AAAA,SACSA,IAAI,6BAEb;AAAA,SACSC,SAAS;AAAA,SACTC,eAAe,8CAExB;AACA,SAASC,QAAQ,EAAEC,GAAG,EAAEC,KAAK,EAAEC,WAAW,QAAQ,KAAK;AAAA,SAC9CC,SAAS,EAAEC,gBAAgB,EAAEC,YAAY,EAAEC,SAAS,gCAE7D;
|
1
|
+
{"version":3,"file":"VConfirmEdit.mjs","names":["VBtn","useLocale","useProxiedModel","computed","ref","toRaw","watchEffect","deepEqual","genericComponent","propsFactory","useRender","makeVConfirmEditProps","modelValue","color","String","cancelText","type","default","okText","VConfirmEdit","name","props","emits","cancel","save","value","setup","_ref","emit","slots","model","internalModel","structuredClone","t","isPristine","actionsUsed","actions","_createVNode","_Fragment"],"sources":["../../../src/components/VConfirmEdit/VConfirmEdit.tsx"],"sourcesContent":["// Components\nimport { VBtn } from '@/components/VBtn'\n\n// Composables\nimport { useLocale } from '@/composables'\nimport { useProxiedModel } from '@/composables/proxiedModel'\n\n// Utilities\nimport { computed, ref, toRaw, watchEffect } from 'vue'\nimport { deepEqual, genericComponent, propsFactory, useRender } from '@/util'\n\n// Types\nimport type { Ref, VNode } from 'vue'\nimport type { GenericProps } from '@/util'\n\nexport type VConfirmEditSlots<T> = {\n default: {\n model: Ref<T>\n save: () => void\n cancel: () => void\n isPristine: boolean\n get actions (): VNode\n }\n}\n\nexport const makeVConfirmEditProps = propsFactory({\n modelValue: null,\n color: String,\n cancelText: {\n type: String,\n default: '$vuetify.confirmEdit.cancel',\n },\n okText: {\n type: String,\n default: '$vuetify.confirmEdit.ok',\n },\n}, 'VConfirmEdit')\n\nexport const VConfirmEdit = genericComponent<new <T> (\n props: {\n modelValue?: T\n 'onUpdate:modelValue'?: (value: T) => void\n 'onSave'?: (value: T) => void\n },\n slots: VConfirmEditSlots<T>\n) => GenericProps<typeof props, typeof slots>>()({\n name: 'VConfirmEdit',\n\n props: makeVConfirmEditProps(),\n\n emits: {\n cancel: () => true,\n save: (value: any) => true,\n 'update:modelValue': (value: any) => true,\n },\n\n setup (props, { emit, slots }) {\n const model = useProxiedModel(props, 'modelValue')\n const internalModel = ref()\n watchEffect(() => {\n internalModel.value = structuredClone(toRaw(model.value))\n })\n\n const { t } = useLocale()\n\n const isPristine = computed(() => {\n return deepEqual(model.value, internalModel.value)\n })\n\n function save () {\n model.value = internalModel.value\n emit('save', internalModel.value)\n }\n\n function cancel () {\n internalModel.value = structuredClone(toRaw(model.value))\n emit('cancel')\n }\n\n let actionsUsed = false\n useRender(() => {\n const actions = (\n <>\n <VBtn\n disabled={ isPristine.value }\n variant=\"text\"\n color={ props.color }\n onClick={ cancel }\n text={ t(props.cancelText) }\n />\n\n <VBtn\n disabled={ isPristine.value }\n variant=\"text\"\n color={ props.color }\n onClick={ save }\n text={ t(props.okText) }\n />\n </>\n )\n return (\n <>\n {\n slots.default?.({\n model: internalModel,\n save,\n cancel,\n isPristine: isPristine.value,\n get actions () {\n actionsUsed = true\n return actions\n },\n })\n }\n\n { !actionsUsed && actions }\n </>\n )\n })\n\n return {\n save,\n cancel,\n isPristine,\n }\n },\n})\n\nexport type VConfirmEdit = InstanceType<typeof VConfirmEdit>\n"],"mappings":"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","ignoreList":[]}
|
@@ -33,6 +33,9 @@ interface FilterPropsOptions<PropsOptions extends Readonly<ComponentPropsOptions
|
|
33
33
|
type VConfirmEditSlots<T> = {
|
34
34
|
default: {
|
35
35
|
model: Ref<T>;
|
36
|
+
save: () => void;
|
37
|
+
cancel: () => void;
|
38
|
+
isPristine: boolean;
|
36
39
|
get actions(): VNode;
|
37
40
|
};
|
38
41
|
};
|
@@ -44,7 +47,11 @@ declare const VConfirmEdit: {
|
|
44
47
|
color?: string | undefined;
|
45
48
|
} & {
|
46
49
|
onCancel?: (() => any) | undefined;
|
47
|
-
},
|
50
|
+
}, {
|
51
|
+
save: () => void;
|
52
|
+
cancel: () => void;
|
53
|
+
isPristine: vue.ComputedRef<boolean>;
|
54
|
+
}, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, Omit<{
|
48
55
|
cancel: () => true;
|
49
56
|
save: (value: any) => true;
|
50
57
|
'update:modelValue': (value: any) => true;
|
@@ -61,6 +68,9 @@ declare const VConfirmEdit: {
|
|
61
68
|
}, true, {}, vue.SlotsType<Partial<{
|
62
69
|
default: (arg: {
|
63
70
|
model: Ref<unknown>;
|
71
|
+
save: () => void;
|
72
|
+
cancel: () => void;
|
73
|
+
isPristine: boolean;
|
64
74
|
readonly actions: VNode<vue.RendererNode, vue.RendererElement, {
|
65
75
|
[key: string]: any;
|
66
76
|
}>;
|
@@ -81,7 +91,11 @@ declare const VConfirmEdit: {
|
|
81
91
|
color?: string | undefined;
|
82
92
|
} & {
|
83
93
|
onCancel?: (() => any) | undefined;
|
84
|
-
}, {
|
94
|
+
}, {
|
95
|
+
save: () => void;
|
96
|
+
cancel: () => void;
|
97
|
+
isPristine: vue.ComputedRef<boolean>;
|
98
|
+
}, {}, {}, {}, {
|
85
99
|
cancelText: string;
|
86
100
|
okText: string;
|
87
101
|
}>;
|
@@ -95,7 +109,11 @@ declare const VConfirmEdit: {
|
|
95
109
|
color?: string | undefined;
|
96
110
|
} & {
|
97
111
|
onCancel?: (() => any) | undefined;
|
98
|
-
},
|
112
|
+
}, {
|
113
|
+
save: () => void;
|
114
|
+
cancel: () => void;
|
115
|
+
isPristine: vue.ComputedRef<boolean>;
|
116
|
+
}, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, Omit<{
|
99
117
|
cancel: () => true;
|
100
118
|
save: (value: any) => true;
|
101
119
|
'update:modelValue': (value: any) => true;
|
@@ -105,6 +123,9 @@ declare const VConfirmEdit: {
|
|
105
123
|
}, {}, string, vue.SlotsType<Partial<{
|
106
124
|
default: (arg: {
|
107
125
|
model: Ref<unknown>;
|
126
|
+
save: () => void;
|
127
|
+
cancel: () => void;
|
128
|
+
isPristine: boolean;
|
108
129
|
readonly actions: VNode<vue.RendererNode, vue.RendererElement, {
|
109
130
|
[key: string]: any;
|
110
131
|
}>;
|
@@ -8,6 +8,8 @@
|
|
8
8
|
@include tools.layer('components')
|
9
9
|
/* region INPUT */
|
10
10
|
.v-field
|
11
|
+
--v-theme-overlay-multiplier: 1
|
12
|
+
|
11
13
|
display: grid
|
12
14
|
grid-template-areas: "prepend-inner field clear append-inner"
|
13
15
|
grid-template-columns: min-content minmax(0, 1fr) min-content min-content
|
@@ -22405,6 +22405,9 @@ type VCombobox = InstanceType<typeof VCombobox>;
|
|
22405
22405
|
type VConfirmEditSlots<T> = {
|
22406
22406
|
default: {
|
22407
22407
|
model: Ref<T>;
|
22408
|
+
save: () => void;
|
22409
|
+
cancel: () => void;
|
22410
|
+
isPristine: boolean;
|
22408
22411
|
get actions(): VNode;
|
22409
22412
|
};
|
22410
22413
|
};
|
@@ -22416,7 +22419,11 @@ declare const VConfirmEdit: {
|
|
22416
22419
|
color?: string | undefined;
|
22417
22420
|
} & {
|
22418
22421
|
onCancel?: (() => any) | undefined;
|
22419
|
-
},
|
22422
|
+
}, {
|
22423
|
+
save: () => void;
|
22424
|
+
cancel: () => void;
|
22425
|
+
isPristine: vue.ComputedRef<boolean>;
|
22426
|
+
}, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, Omit<{
|
22420
22427
|
cancel: () => true;
|
22421
22428
|
save: (value: any) => true;
|
22422
22429
|
'update:modelValue': (value: any) => true;
|
@@ -22433,6 +22440,9 @@ declare const VConfirmEdit: {
|
|
22433
22440
|
}, true, {}, vue.SlotsType<Partial<{
|
22434
22441
|
default: (arg: {
|
22435
22442
|
model: Ref<unknown>;
|
22443
|
+
save: () => void;
|
22444
|
+
cancel: () => void;
|
22445
|
+
isPristine: boolean;
|
22436
22446
|
readonly actions: VNode<vue.RendererNode, vue.RendererElement, {
|
22437
22447
|
[key: string]: any;
|
22438
22448
|
}>;
|
@@ -22453,7 +22463,11 @@ declare const VConfirmEdit: {
|
|
22453
22463
|
color?: string | undefined;
|
22454
22464
|
} & {
|
22455
22465
|
onCancel?: (() => any) | undefined;
|
22456
|
-
}, {
|
22466
|
+
}, {
|
22467
|
+
save: () => void;
|
22468
|
+
cancel: () => void;
|
22469
|
+
isPristine: vue.ComputedRef<boolean>;
|
22470
|
+
}, {}, {}, {}, {
|
22457
22471
|
cancelText: string;
|
22458
22472
|
okText: string;
|
22459
22473
|
}>;
|
@@ -22467,7 +22481,11 @@ declare const VConfirmEdit: {
|
|
22467
22481
|
color?: string | undefined;
|
22468
22482
|
} & {
|
22469
22483
|
onCancel?: (() => any) | undefined;
|
22470
|
-
},
|
22484
|
+
}, {
|
22485
|
+
save: () => void;
|
22486
|
+
cancel: () => void;
|
22487
|
+
isPristine: vue.ComputedRef<boolean>;
|
22488
|
+
}, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, Omit<{
|
22471
22489
|
cancel: () => true;
|
22472
22490
|
save: (value: any) => true;
|
22473
22491
|
'update:modelValue': (value: any) => true;
|
@@ -22477,6 +22495,9 @@ declare const VConfirmEdit: {
|
|
22477
22495
|
}, {}, string, vue.SlotsType<Partial<{
|
22478
22496
|
default: (arg: {
|
22479
22497
|
model: Ref<unknown>;
|
22498
|
+
save: () => void;
|
22499
|
+
cancel: () => void;
|
22500
|
+
isPristine: boolean;
|
22480
22501
|
readonly actions: VNode<vue.RendererNode, vue.RendererElement, {
|
22481
22502
|
[key: string]: any;
|
22482
22503
|
}>;
|
package/lib/entry-bundler.mjs
CHANGED
@@ -16,7 +16,7 @@ export const createVuetify = function () {
|
|
16
16
|
...options
|
17
17
|
});
|
18
18
|
};
|
19
|
-
export const version = "3.6.6-master.2024-05-
|
19
|
+
export const version = "3.6.6-master.2024-05-21";
|
20
20
|
createVuetify.version = version;
|
21
21
|
export { blueprints, components, directives };
|
22
22
|
export * from "./composables/index.mjs";
|
package/lib/framework.mjs
CHANGED
package/lib/index.d.mts
CHANGED
@@ -493,42 +493,42 @@ declare module '@vue/runtime-core' {
|
|
493
493
|
}
|
494
494
|
|
495
495
|
export interface GlobalComponents {
|
496
|
-
VApp: typeof import('vuetify/components')['VApp']
|
497
496
|
VAlert: typeof import('vuetify/components')['VAlert']
|
498
497
|
VAlertTitle: typeof import('vuetify/components')['VAlertTitle']
|
498
|
+
VApp: typeof import('vuetify/components')['VApp']
|
499
499
|
VAutocomplete: typeof import('vuetify/components')['VAutocomplete']
|
500
|
+
VAvatar: typeof import('vuetify/components')['VAvatar']
|
500
501
|
VAppBar: typeof import('vuetify/components')['VAppBar']
|
501
502
|
VAppBarNavIcon: typeof import('vuetify/components')['VAppBarNavIcon']
|
502
503
|
VAppBarTitle: typeof import('vuetify/components')['VAppBarTitle']
|
503
|
-
VBadge: typeof import('vuetify/components')['VBadge']
|
504
|
-
VAvatar: typeof import('vuetify/components')['VAvatar']
|
505
|
-
VBottomNavigation: typeof import('vuetify/components')['VBottomNavigation']
|
506
|
-
VBottomSheet: typeof import('vuetify/components')['VBottomSheet']
|
507
504
|
VBanner: typeof import('vuetify/components')['VBanner']
|
508
505
|
VBannerActions: typeof import('vuetify/components')['VBannerActions']
|
509
506
|
VBannerText: typeof import('vuetify/components')['VBannerText']
|
507
|
+
VBottomNavigation: typeof import('vuetify/components')['VBottomNavigation']
|
508
|
+
VBadge: typeof import('vuetify/components')['VBadge']
|
509
|
+
VBottomSheet: typeof import('vuetify/components')['VBottomSheet']
|
510
|
+
VBtnToggle: typeof import('vuetify/components')['VBtnToggle']
|
510
511
|
VBtn: typeof import('vuetify/components')['VBtn']
|
512
|
+
VBtnGroup: typeof import('vuetify/components')['VBtnGroup']
|
513
|
+
VCarousel: typeof import('vuetify/components')['VCarousel']
|
514
|
+
VCarouselItem: typeof import('vuetify/components')['VCarouselItem']
|
511
515
|
VBreadcrumbs: typeof import('vuetify/components')['VBreadcrumbs']
|
512
516
|
VBreadcrumbsItem: typeof import('vuetify/components')['VBreadcrumbsItem']
|
513
517
|
VBreadcrumbsDivider: typeof import('vuetify/components')['VBreadcrumbsDivider']
|
514
|
-
|
515
|
-
|
518
|
+
VCheckbox: typeof import('vuetify/components')['VCheckbox']
|
519
|
+
VCheckboxBtn: typeof import('vuetify/components')['VCheckboxBtn']
|
520
|
+
VChip: typeof import('vuetify/components')['VChip']
|
521
|
+
VCode: typeof import('vuetify/components')['VCode']
|
516
522
|
VCard: typeof import('vuetify/components')['VCard']
|
517
523
|
VCardActions: typeof import('vuetify/components')['VCardActions']
|
518
524
|
VCardItem: typeof import('vuetify/components')['VCardItem']
|
519
525
|
VCardSubtitle: typeof import('vuetify/components')['VCardSubtitle']
|
520
526
|
VCardText: typeof import('vuetify/components')['VCardText']
|
521
527
|
VCardTitle: typeof import('vuetify/components')['VCardTitle']
|
522
|
-
VCarousel: typeof import('vuetify/components')['VCarousel']
|
523
|
-
VCarouselItem: typeof import('vuetify/components')['VCarouselItem']
|
524
|
-
VChip: typeof import('vuetify/components')['VChip']
|
525
|
-
VCode: typeof import('vuetify/components')['VCode']
|
526
528
|
VChipGroup: typeof import('vuetify/components')['VChipGroup']
|
527
|
-
VCheckbox: typeof import('vuetify/components')['VCheckbox']
|
528
|
-
VCheckboxBtn: typeof import('vuetify/components')['VCheckboxBtn']
|
529
|
-
VCombobox: typeof import('vuetify/components')['VCombobox']
|
530
529
|
VColorPicker: typeof import('vuetify/components')['VColorPicker']
|
531
530
|
VCounter: typeof import('vuetify/components')['VCounter']
|
531
|
+
VCombobox: typeof import('vuetify/components')['VCombobox']
|
532
532
|
VDataTable: typeof import('vuetify/components')['VDataTable']
|
533
533
|
VDataTableHeaders: typeof import('vuetify/components')['VDataTableHeaders']
|
534
534
|
VDataTableFooter: typeof import('vuetify/components')['VDataTableFooter']
|
@@ -536,35 +536,37 @@ declare module '@vue/runtime-core' {
|
|
536
536
|
VDataTableRow: typeof import('vuetify/components')['VDataTableRow']
|
537
537
|
VDataTableVirtual: typeof import('vuetify/components')['VDataTableVirtual']
|
538
538
|
VDataTableServer: typeof import('vuetify/components')['VDataTableServer']
|
539
|
+
VDivider: typeof import('vuetify/components')['VDivider']
|
539
540
|
VDatePicker: typeof import('vuetify/components')['VDatePicker']
|
540
541
|
VDatePickerControls: typeof import('vuetify/components')['VDatePickerControls']
|
541
542
|
VDatePickerHeader: typeof import('vuetify/components')['VDatePickerHeader']
|
542
543
|
VDatePickerMonth: typeof import('vuetify/components')['VDatePickerMonth']
|
543
544
|
VDatePickerMonths: typeof import('vuetify/components')['VDatePickerMonths']
|
544
545
|
VDatePickerYears: typeof import('vuetify/components')['VDatePickerYears']
|
545
|
-
VDivider: typeof import('vuetify/components')['VDivider']
|
546
|
-
VFab: typeof import('vuetify/components')['VFab']
|
547
546
|
VDialog: typeof import('vuetify/components')['VDialog']
|
547
|
+
VField: typeof import('vuetify/components')['VField']
|
548
|
+
VFieldLabel: typeof import('vuetify/components')['VFieldLabel']
|
548
549
|
VEmptyState: typeof import('vuetify/components')['VEmptyState']
|
549
550
|
VExpansionPanels: typeof import('vuetify/components')['VExpansionPanels']
|
550
551
|
VExpansionPanel: typeof import('vuetify/components')['VExpansionPanel']
|
551
552
|
VExpansionPanelText: typeof import('vuetify/components')['VExpansionPanelText']
|
552
553
|
VExpansionPanelTitle: typeof import('vuetify/components')['VExpansionPanelTitle']
|
553
|
-
|
554
|
-
VFieldLabel: typeof import('vuetify/components')['VFieldLabel']
|
555
|
-
VFooter: typeof import('vuetify/components')['VFooter']
|
554
|
+
VFab: typeof import('vuetify/components')['VFab']
|
556
555
|
VFileInput: typeof import('vuetify/components')['VFileInput']
|
556
|
+
VInfiniteScroll: typeof import('vuetify/components')['VInfiniteScroll']
|
557
|
+
VFooter: typeof import('vuetify/components')['VFooter']
|
557
558
|
VIcon: typeof import('vuetify/components')['VIcon']
|
558
559
|
VComponentIcon: typeof import('vuetify/components')['VComponentIcon']
|
559
560
|
VSvgIcon: typeof import('vuetify/components')['VSvgIcon']
|
560
561
|
VLigatureIcon: typeof import('vuetify/components')['VLigatureIcon']
|
561
562
|
VClassIcon: typeof import('vuetify/components')['VClassIcon']
|
562
|
-
VImg: typeof import('vuetify/components')['VImg']
|
563
563
|
VInput: typeof import('vuetify/components')['VInput']
|
564
|
-
|
564
|
+
VImg: typeof import('vuetify/components')['VImg']
|
565
|
+
VLabel: typeof import('vuetify/components')['VLabel']
|
565
566
|
VItemGroup: typeof import('vuetify/components')['VItemGroup']
|
566
567
|
VItem: typeof import('vuetify/components')['VItem']
|
567
568
|
VKbd: typeof import('vuetify/components')['VKbd']
|
569
|
+
VMain: typeof import('vuetify/components')['VMain']
|
568
570
|
VList: typeof import('vuetify/components')['VList']
|
569
571
|
VListGroup: typeof import('vuetify/components')['VListGroup']
|
570
572
|
VListImg: typeof import('vuetify/components')['VListImg']
|
@@ -574,67 +576,65 @@ declare module '@vue/runtime-core' {
|
|
574
576
|
VListItemSubtitle: typeof import('vuetify/components')['VListItemSubtitle']
|
575
577
|
VListItemTitle: typeof import('vuetify/components')['VListItemTitle']
|
576
578
|
VListSubheader: typeof import('vuetify/components')['VListSubheader']
|
577
|
-
VLabel: typeof import('vuetify/components')['VLabel']
|
578
|
-
VMain: typeof import('vuetify/components')['VMain']
|
579
579
|
VMenu: typeof import('vuetify/components')['VMenu']
|
580
|
-
VMessages: typeof import('vuetify/components')['VMessages']
|
581
580
|
VOtpInput: typeof import('vuetify/components')['VOtpInput']
|
581
|
+
VMessages: typeof import('vuetify/components')['VMessages']
|
582
582
|
VNavigationDrawer: typeof import('vuetify/components')['VNavigationDrawer']
|
583
583
|
VOverlay: typeof import('vuetify/components')['VOverlay']
|
584
|
-
VProgressCircular: typeof import('vuetify/components')['VProgressCircular']
|
585
584
|
VPagination: typeof import('vuetify/components')['VPagination']
|
586
|
-
VRadioGroup: typeof import('vuetify/components')['VRadioGroup']
|
587
585
|
VProgressLinear: typeof import('vuetify/components')['VProgressLinear']
|
588
|
-
VSelect: typeof import('vuetify/components')['VSelect']
|
589
586
|
VRating: typeof import('vuetify/components')['VRating']
|
587
|
+
VProgressCircular: typeof import('vuetify/components')['VProgressCircular']
|
588
|
+
VRadioGroup: typeof import('vuetify/components')['VRadioGroup']
|
590
589
|
VSelectionControl: typeof import('vuetify/components')['VSelectionControl']
|
591
|
-
|
592
|
-
VSnackbar: typeof import('vuetify/components')['VSnackbar']
|
593
|
-
VSheet: typeof import('vuetify/components')['VSheet']
|
590
|
+
VSelect: typeof import('vuetify/components')['VSelect']
|
594
591
|
VSlideGroup: typeof import('vuetify/components')['VSlideGroup']
|
595
592
|
VSlideGroupItem: typeof import('vuetify/components')['VSlideGroupItem']
|
593
|
+
VSheet: typeof import('vuetify/components')['VSheet']
|
596
594
|
VSlider: typeof import('vuetify/components')['VSlider']
|
595
|
+
VSelectionControlGroup: typeof import('vuetify/components')['VSelectionControlGroup']
|
596
|
+
VSkeletonLoader: typeof import('vuetify/components')['VSkeletonLoader']
|
597
|
+
VSnackbar: typeof import('vuetify/components')['VSnackbar']
|
598
|
+
VSwitch: typeof import('vuetify/components')['VSwitch']
|
597
599
|
VStepper: typeof import('vuetify/components')['VStepper']
|
598
600
|
VStepperActions: typeof import('vuetify/components')['VStepperActions']
|
599
601
|
VStepperHeader: typeof import('vuetify/components')['VStepperHeader']
|
600
602
|
VStepperItem: typeof import('vuetify/components')['VStepperItem']
|
601
603
|
VStepperWindow: typeof import('vuetify/components')['VStepperWindow']
|
602
604
|
VStepperWindowItem: typeof import('vuetify/components')['VStepperWindowItem']
|
603
|
-
|
604
|
-
VSkeletonLoader: typeof import('vuetify/components')['VSkeletonLoader']
|
605
|
+
VSystemBar: typeof import('vuetify/components')['VSystemBar']
|
605
606
|
VTable: typeof import('vuetify/components')['VTable']
|
607
|
+
VTimeline: typeof import('vuetify/components')['VTimeline']
|
608
|
+
VTimelineItem: typeof import('vuetify/components')['VTimelineItem']
|
609
|
+
VTextarea: typeof import('vuetify/components')['VTextarea']
|
606
610
|
VTab: typeof import('vuetify/components')['VTab']
|
607
611
|
VTabs: typeof import('vuetify/components')['VTabs']
|
608
612
|
VTabsWindow: typeof import('vuetify/components')['VTabsWindow']
|
609
613
|
VTabsWindowItem: typeof import('vuetify/components')['VTabsWindowItem']
|
610
|
-
VTimeline: typeof import('vuetify/components')['VTimeline']
|
611
|
-
VTimelineItem: typeof import('vuetify/components')['VTimelineItem']
|
612
|
-
VSystemBar: typeof import('vuetify/components')['VSystemBar']
|
613
614
|
VTextField: typeof import('vuetify/components')['VTextField']
|
614
|
-
|
615
|
+
VTooltip: typeof import('vuetify/components')['VTooltip']
|
615
616
|
VToolbar: typeof import('vuetify/components')['VToolbar']
|
616
617
|
VToolbarTitle: typeof import('vuetify/components')['VToolbarTitle']
|
617
618
|
VToolbarItems: typeof import('vuetify/components')['VToolbarItems']
|
618
|
-
VTooltip: typeof import('vuetify/components')['VTooltip']
|
619
619
|
VWindow: typeof import('vuetify/components')['VWindow']
|
620
620
|
VWindowItem: typeof import('vuetify/components')['VWindowItem']
|
621
|
-
VConfirmEdit: typeof import('vuetify/components')['VConfirmEdit']
|
622
621
|
VDataIterator: typeof import('vuetify/components')['VDataIterator']
|
622
|
+
VConfirmEdit: typeof import('vuetify/components')['VConfirmEdit']
|
623
623
|
VDefaultsProvider: typeof import('vuetify/components')['VDefaultsProvider']
|
624
|
-
VForm: typeof import('vuetify/components')['VForm']
|
625
624
|
VContainer: typeof import('vuetify/components')['VContainer']
|
626
625
|
VCol: typeof import('vuetify/components')['VCol']
|
627
626
|
VRow: typeof import('vuetify/components')['VRow']
|
628
627
|
VSpacer: typeof import('vuetify/components')['VSpacer']
|
628
|
+
VForm: typeof import('vuetify/components')['VForm']
|
629
629
|
VHover: typeof import('vuetify/components')['VHover']
|
630
630
|
VLayout: typeof import('vuetify/components')['VLayout']
|
631
631
|
VLayoutItem: typeof import('vuetify/components')['VLayoutItem']
|
632
632
|
VLazy: typeof import('vuetify/components')['VLazy']
|
633
633
|
VLocaleProvider: typeof import('vuetify/components')['VLocaleProvider']
|
634
634
|
VNoSsr: typeof import('vuetify/components')['VNoSsr']
|
635
|
+
VRadio: typeof import('vuetify/components')['VRadio']
|
635
636
|
VParallax: typeof import('vuetify/components')['VParallax']
|
636
637
|
VRangeSlider: typeof import('vuetify/components')['VRangeSlider']
|
637
|
-
VRadio: typeof import('vuetify/components')['VRadio']
|
638
638
|
VResponsive: typeof import('vuetify/components')['VResponsive']
|
639
639
|
VSparkline: typeof import('vuetify/components')['VSparkline']
|
640
640
|
VSpeedDial: typeof import('vuetify/components')['VSpeedDial']
|
@@ -666,12 +666,12 @@ declare module '@vue/runtime-core' {
|
|
666
666
|
VStepperVertical: typeof import('vuetify/labs/components')['VStepperVertical']
|
667
667
|
VStepperVerticalItem: typeof import('vuetify/labs/components')['VStepperVerticalItem']
|
668
668
|
VStepperVerticalActions: typeof import('vuetify/labs/components')['VStepperVerticalActions']
|
669
|
-
|
670
|
-
VPickerTitle: typeof import('vuetify/labs/components')['VPickerTitle']
|
669
|
+
VNumberInput: typeof import('vuetify/labs/components')['VNumberInput']
|
671
670
|
VTreeview: typeof import('vuetify/labs/components')['VTreeview']
|
672
671
|
VTreeviewItem: typeof import('vuetify/labs/components')['VTreeviewItem']
|
673
672
|
VTreeviewGroup: typeof import('vuetify/labs/components')['VTreeviewGroup']
|
674
|
-
|
673
|
+
VPicker: typeof import('vuetify/labs/components')['VPicker']
|
674
|
+
VPickerTitle: typeof import('vuetify/labs/components')['VPickerTitle']
|
675
675
|
VTimePicker: typeof import('vuetify/labs/components')['VTimePicker']
|
676
676
|
VTimePickerClock: typeof import('vuetify/labs/components')['VTimePickerClock']
|
677
677
|
VTimePickerControls: typeof import('vuetify/labs/components')['VTimePickerControls']
|
package/lib/util/helpers.mjs
CHANGED
@@ -337,6 +337,8 @@ export function findChildrenWithProvide(key, vnode) {
|
|
337
337
|
if (!vnode || typeof vnode !== 'object') return [];
|
338
338
|
if (Array.isArray(vnode)) {
|
339
339
|
return vnode.map(child => findChildrenWithProvide(key, child)).flat(1);
|
340
|
+
} else if (vnode.suspense) {
|
341
|
+
return findChildrenWithProvide(key, vnode.ssContent);
|
340
342
|
} else if (Array.isArray(vnode.children)) {
|
341
343
|
return vnode.children.map(child => findChildrenWithProvide(key, child)).flat(1);
|
342
344
|
} else if (vnode.component) {
|