@fastkit/vui 0.13.5 → 0.14.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/dist/vui.css +42 -13
- package/dist/vui.d.ts +1658 -4327
- package/dist/vui.mjs +117 -109
- package/dist/vui.mjs.map +1 -1
- package/package.json +22 -22
- package/src/components/VAvatar/VAvatar.tsx +1 -2
- package/src/components/VBreadcrumbs/VBreadcrumbs.tsx +0 -1
- package/src/components/VBusyImage/VBusyImage.tsx +8 -5
- package/src/components/VButton/VButton.tsx +2 -9
- package/src/components/VCard/VCardActions.tsx +2 -7
- package/src/components/VCard/VCardContent.tsx +2 -7
- package/src/components/VCheckable/VCheckable.tsx +14 -15
- package/src/components/VCheckbox/VCheckbox.tsx +1 -2
- package/src/components/VChip/VChip.tsx +1 -2
- package/src/components/VContentSwitcher/VContentSwitcher.tsx +1 -2
- package/src/components/VControlField/VControlField.tsx +13 -13
- package/src/components/VDrawerLayout/VDrawerLayout.tsx +2 -1
- package/src/components/VForm/VForm.tsx +9 -6
- package/src/components/VFormControl/VFormControl.tsx +10 -7
- package/src/components/VGrid/VGridContainer.tsx +0 -2
- package/src/components/VGrid/VGridItem.tsx +0 -3
- package/src/components/VHero/VHero.tsx +9 -15
- package/src/components/VListTile/VListTile.tsx +2 -4
- package/src/components/VNavigation/VNavigationItem.tsx +2 -2
- package/src/components/VOption/VOption.tsx +1 -4
- package/src/components/VOptionGroup/VOptionGroup.tsx +9 -6
- package/src/components/VPaper/VPaper.tsx +10 -12
- package/src/components/VRadio/VRadio.tsx +1 -2
- package/src/components/VSelect/VSelect.tsx +14 -8
- package/src/components/VSkeltonLoader/VSkeltonLoaderBone.tsx +1 -2
- package/src/components/VSwitch/VSwitch.tsx +1 -2
- package/src/components/VTabs/VTab.tsx +1 -2
- package/src/components/VTabs/VTabs.tsx +8 -6
- package/src/components/VTextField/VTextField.tsx +5 -3
- package/src/components/VTextarea/VTextarea.tsx +4 -2
- package/src/components/VToolbar/VToolbar.tsx +1 -4
- package/src/components/VToolbar/VToolbarMenu.tsx +1 -2
- package/src/components/VToolbar/VToolbarTitle.tsx +8 -6
- package/src/composables/form-selector.tsx +10 -4
- package/src/plugin.tsx +1 -1
package/dist/vui.mjs
CHANGED
|
@@ -30,7 +30,7 @@ export { VDialog, VMenu, VSnackbar, VTooltip } from '@fastkit/vue-stack';
|
|
|
30
30
|
import { useActionable, VAction, actionableInheritProps, setDefaultRouterLink } from '@fastkit/vue-action';
|
|
31
31
|
export * from '@fastkit/vue-action';
|
|
32
32
|
export { VAction as VLink } from '@fastkit/vue-action';
|
|
33
|
-
import { createPropsOptions,
|
|
33
|
+
import { createPropsOptions, defineSlots, renderSlotOrEmpty, isFragment, resolveNumberish, resolveVNodeChildOrSlots, rawNumberPropType, onAppUnmount } from '@fastkit/vue-utils';
|
|
34
34
|
export * from '@fastkit/vue-utils';
|
|
35
35
|
import * as vue_loading_star from '@fastkit/vue-loading';
|
|
36
36
|
export * from '@fastkit/vue-loading';
|
|
@@ -153,6 +153,7 @@ __export(src_exports, {
|
|
|
153
153
|
createRequiredChipRenderer: () => createRequiredChipRenderer,
|
|
154
154
|
createVFormProps: () => createVFormProps,
|
|
155
155
|
defineFormSelectorComponent: () => defineFormSelectorComponent,
|
|
156
|
+
formSlots: () => formSlots,
|
|
156
157
|
iconProps: () => iconProps,
|
|
157
158
|
installVuiPlugin: () => installVuiPlugin,
|
|
158
159
|
listTileEmits: () => listTileEmits,
|
|
@@ -161,6 +162,7 @@ __export(src_exports, {
|
|
|
161
162
|
mergeVuiServiceOptions: () => mergeVuiServiceOptions,
|
|
162
163
|
mergeVuiServiceUISettings: () => mergeVuiServiceUISettings,
|
|
163
164
|
paginationProps: () => paginationProps,
|
|
165
|
+
paperBaseSlots: () => paperBaseSlots,
|
|
164
166
|
rawIconProp: () => rawIconProp,
|
|
165
167
|
renderNavigationItemInput: () => renderNavigationItemInput,
|
|
166
168
|
resolveNavigationItemInput: () => resolveNavigationItemInput,
|
|
@@ -362,13 +364,15 @@ function createRequiredChipRenderer(required, props10, vui = useVui()) {
|
|
|
362
364
|
return chip;
|
|
363
365
|
};
|
|
364
366
|
}
|
|
367
|
+
var slots = defineSlots();
|
|
365
368
|
var VFormControl = defineComponent({
|
|
366
369
|
name: "VFormControl",
|
|
367
370
|
props: {
|
|
368
371
|
...props,
|
|
369
|
-
...
|
|
372
|
+
...slots(),
|
|
370
373
|
error: Boolean
|
|
371
374
|
},
|
|
375
|
+
slots,
|
|
372
376
|
emits,
|
|
373
377
|
setup(props10, ctx) {
|
|
374
378
|
const vui = useVui();
|
|
@@ -433,7 +437,7 @@ var VFormControl = defineComponent({
|
|
|
433
437
|
}, ctx2.attrs), [hinttip.tip])
|
|
434
438
|
})]), createVNode("div", {
|
|
435
439
|
"class": "v-form-control__body"
|
|
436
|
-
}, [
|
|
440
|
+
}, [ctx.slots.default?.(control), !props10.hiddenInfo && createVNode("div", {
|
|
437
441
|
"class": "v-form-control__info"
|
|
438
442
|
}, [!!message && createVNode("div", {
|
|
439
443
|
"class": "v-form-control__message"
|
|
@@ -449,6 +453,7 @@ var loading_exports = {};
|
|
|
449
453
|
__reExport(loading_exports, vue_loading_star);
|
|
450
454
|
|
|
451
455
|
// src/composables/form-selector.tsx
|
|
456
|
+
var slots2 = defineSlots();
|
|
452
457
|
function defineFormSelectorComponent(opts) {
|
|
453
458
|
const {
|
|
454
459
|
itemRenderer,
|
|
@@ -476,8 +481,9 @@ function defineFormSelectorComponent(opts) {
|
|
|
476
481
|
loadingMessage: {},
|
|
477
482
|
// eslint-disable-next-line vue/require-prop-types
|
|
478
483
|
failedToLoadItemsMessage: {},
|
|
479
|
-
...
|
|
484
|
+
...slots2()
|
|
480
485
|
},
|
|
486
|
+
slots: slots2,
|
|
481
487
|
emits: emits10,
|
|
482
488
|
setup(props11, ctx) {
|
|
483
489
|
const selectorControl = useFormSelectorControl(props11, ctx, {
|
|
@@ -551,7 +557,7 @@ function defineFormSelectorComponent(opts) {
|
|
|
551
557
|
}
|
|
552
558
|
});
|
|
553
559
|
})]);
|
|
554
|
-
}),
|
|
560
|
+
}), this.$slots.default?.()])
|
|
555
561
|
});
|
|
556
562
|
}
|
|
557
563
|
});
|
|
@@ -646,9 +652,11 @@ __export(components_exports, {
|
|
|
646
652
|
createPaperProps: () => createPaperProps,
|
|
647
653
|
createRequiredChipRenderer: () => createRequiredChipRenderer,
|
|
648
654
|
createVFormProps: () => createVFormProps,
|
|
655
|
+
formSlots: () => formSlots,
|
|
649
656
|
iconProps: () => iconProps,
|
|
650
657
|
listTileEmits: () => listTileEmits,
|
|
651
658
|
paginationProps: () => paginationProps,
|
|
659
|
+
paperBaseSlots: () => paperBaseSlots,
|
|
652
660
|
rawIconProp: () => rawIconProp,
|
|
653
661
|
renderNavigationItemInput: () => renderNavigationItemInput,
|
|
654
662
|
resolveNavigationItemInput: () => resolveNavigationItemInput,
|
|
@@ -657,9 +665,6 @@ __export(components_exports, {
|
|
|
657
665
|
vueButtonProps: () => vueButtonProps
|
|
658
666
|
});
|
|
659
667
|
__reExport(components_exports, loading_exports);
|
|
660
|
-
function _isSlot(s) {
|
|
661
|
-
return typeof s === "function" || Object.prototype.toString.call(s) === "[object Object]" && !isVNode(s);
|
|
662
|
-
}
|
|
663
668
|
var VSkeltonLoaderBone = defineComponent({
|
|
664
669
|
name: "VSkeltonLoaderBone",
|
|
665
670
|
inheritAttrs: false,
|
|
@@ -671,12 +676,11 @@ var VSkeltonLoaderBone = defineComponent({
|
|
|
671
676
|
},
|
|
672
677
|
setup(props10, ctx) {
|
|
673
678
|
return () => {
|
|
674
|
-
let _slot;
|
|
675
679
|
const TagName = props10.tag;
|
|
676
680
|
return createVNode(TagName, mergeProps(ctx.attrs, {
|
|
677
681
|
"class": "v-skelton-loader-bone"
|
|
678
|
-
}),
|
|
679
|
-
default: () => [
|
|
682
|
+
}), {
|
|
683
|
+
default: () => [ctx.slots.default?.()]
|
|
680
684
|
});
|
|
681
685
|
};
|
|
682
686
|
}
|
|
@@ -705,6 +709,7 @@ var resolveBusyImageSizeValue = (source) => {
|
|
|
705
709
|
return;
|
|
706
710
|
return isNaN(source) ? String(source) : `${source}px`;
|
|
707
711
|
};
|
|
712
|
+
var slots3 = defineSlots();
|
|
708
713
|
var VBusyImage = defineComponent({
|
|
709
714
|
name: "VBusyImage",
|
|
710
715
|
props: {
|
|
@@ -713,12 +718,13 @@ var VBusyImage = defineComponent({
|
|
|
713
718
|
width: NUMBERISH_PROP,
|
|
714
719
|
height: NUMBERISH_PROP,
|
|
715
720
|
cover: Boolean,
|
|
716
|
-
...
|
|
721
|
+
...slots3()
|
|
717
722
|
},
|
|
718
723
|
emits: {
|
|
719
724
|
load: (ev) => true,
|
|
720
725
|
error: (ev) => true
|
|
721
726
|
},
|
|
727
|
+
slots: slots3,
|
|
722
728
|
setup(props10, ctx) {
|
|
723
729
|
const loadStateRef = ref(props10.cover && isAvailableSrc(ctx.attrs.src) ? "loading" : "pending");
|
|
724
730
|
const attrsRef = computed(() => splitAttrs(ctx.attrs));
|
|
@@ -844,7 +850,7 @@ var VBusyImage = defineComponent({
|
|
|
844
850
|
img: imgAttrs
|
|
845
851
|
} = attrsRef.value;
|
|
846
852
|
const styles = stylesRef.value;
|
|
847
|
-
const children = ctx.slots.default
|
|
853
|
+
const children = ctx.slots.default?.();
|
|
848
854
|
return createVNode("span", mergeProps({
|
|
849
855
|
"class": ["v-busy-image", classesRef.value]
|
|
850
856
|
}, elAttrs, {
|
|
@@ -885,7 +891,6 @@ var VGridItem = defineComponent({
|
|
|
885
891
|
name: "VGridItem",
|
|
886
892
|
inheritAttrs: false,
|
|
887
893
|
props: {
|
|
888
|
-
...htmlAttributesPropOptions,
|
|
889
894
|
tag: {
|
|
890
895
|
type: String,
|
|
891
896
|
default: "div"
|
|
@@ -940,7 +945,6 @@ var VGridContainer = defineComponent({
|
|
|
940
945
|
name: "VGridContainer",
|
|
941
946
|
inheritAttrs: false,
|
|
942
947
|
props: {
|
|
943
|
-
...htmlAttributesPropOptions,
|
|
944
948
|
wrapperTag: {
|
|
945
949
|
type: String,
|
|
946
950
|
default: "div"
|
|
@@ -1017,15 +1021,15 @@ var VGridContainer = defineComponent({
|
|
|
1017
1021
|
};
|
|
1018
1022
|
}
|
|
1019
1023
|
});
|
|
1024
|
+
var paperBaseSlots = defineSlots();
|
|
1020
1025
|
function createPaperBaseProps() {
|
|
1021
1026
|
return {
|
|
1022
|
-
...htmlAttributesPropOptions,
|
|
1023
1027
|
color: String,
|
|
1024
1028
|
tag: {
|
|
1025
1029
|
type: [String, Object],
|
|
1026
1030
|
default: "div"
|
|
1027
1031
|
},
|
|
1028
|
-
...
|
|
1032
|
+
...paperBaseSlots()
|
|
1029
1033
|
};
|
|
1030
1034
|
}
|
|
1031
1035
|
function createPaperProps() {
|
|
@@ -1043,6 +1047,7 @@ var VPaper = defineComponent({
|
|
|
1043
1047
|
name: "VPaper",
|
|
1044
1048
|
inheritAttrs: false,
|
|
1045
1049
|
props: createPaperProps(),
|
|
1050
|
+
slots: paperBaseSlots,
|
|
1046
1051
|
setup(props10, ctx) {
|
|
1047
1052
|
const tag = computed(() => props10.tag);
|
|
1048
1053
|
const elevation = useElevation(props10, {
|
|
@@ -1070,7 +1075,7 @@ var VPaper = defineComponent({
|
|
|
1070
1075
|
"class": "v-paper__header"
|
|
1071
1076
|
}, headerProps.value), [header]), createVNode("div", mergeProps({
|
|
1072
1077
|
"class": "v-paper__body"
|
|
1073
|
-
}, bodyProps.value), [
|
|
1078
|
+
}, bodyProps.value), [ctx.slots.default?.()]), footer && createVNode("div", mergeProps({
|
|
1074
1079
|
"class": "v-paper__footer"
|
|
1075
1080
|
}, footerProps.value), [footer])])]
|
|
1076
1081
|
});
|
|
@@ -1142,7 +1147,7 @@ var VAvatar = defineComponent({
|
|
|
1142
1147
|
"class": "v-avatar__image",
|
|
1143
1148
|
"src": src,
|
|
1144
1149
|
"cover": true
|
|
1145
|
-
}, null) ||
|
|
1150
|
+
}, null) || ctx.slots.default?.()]
|
|
1146
1151
|
});
|
|
1147
1152
|
};
|
|
1148
1153
|
}
|
|
@@ -1221,7 +1226,7 @@ var VChip = defineComponent({
|
|
|
1221
1226
|
}), {
|
|
1222
1227
|
default: () => [startIcon.value, createVNode("span", {
|
|
1223
1228
|
"class": "v-chip__content"
|
|
1224
|
-
}, [
|
|
1229
|
+
}, [ctx.slots.default?.()]), endIcon.value]
|
|
1225
1230
|
});
|
|
1226
1231
|
};
|
|
1227
1232
|
}
|
|
@@ -1266,21 +1271,21 @@ var VCard = defineComponent({
|
|
|
1266
1271
|
});
|
|
1267
1272
|
var VCardContent = defineComponent({
|
|
1268
1273
|
name: "VCardContent",
|
|
1269
|
-
setup(
|
|
1274
|
+
setup(_props, ctx) {
|
|
1270
1275
|
return () => {
|
|
1271
1276
|
return createVNode("div", {
|
|
1272
1277
|
"class": "v-card-content"
|
|
1273
|
-
}, [
|
|
1278
|
+
}, [ctx.slots.default?.()]);
|
|
1274
1279
|
};
|
|
1275
1280
|
}
|
|
1276
1281
|
});
|
|
1277
1282
|
var VCardActions = defineComponent({
|
|
1278
1283
|
name: "VCardActions",
|
|
1279
|
-
setup(
|
|
1284
|
+
setup(_props, ctx) {
|
|
1280
1285
|
return () => {
|
|
1281
1286
|
return createVNode("div", {
|
|
1282
1287
|
"class": "v-card-actions"
|
|
1283
|
-
}, [
|
|
1288
|
+
}, [ctx.slots.default?.()]);
|
|
1284
1289
|
};
|
|
1285
1290
|
}
|
|
1286
1291
|
});
|
|
@@ -1294,7 +1299,6 @@ function resolveRawVButtonIcon(raw, type = "main") {
|
|
|
1294
1299
|
}, null);
|
|
1295
1300
|
}
|
|
1296
1301
|
var vueButtonProps = createPropsOptions({
|
|
1297
|
-
...htmlAttributesPropOptions,
|
|
1298
1302
|
...colorSchemeProps(),
|
|
1299
1303
|
...actionableInheritProps,
|
|
1300
1304
|
spacer: [Boolean, String],
|
|
@@ -1352,13 +1356,12 @@ var VButton = defineComponent({
|
|
|
1352
1356
|
"v-button--plain": isPlain.value
|
|
1353
1357
|
}]);
|
|
1354
1358
|
return () => {
|
|
1355
|
-
const children = renderSlotOrEmpty(ctx.slots);
|
|
1356
1359
|
return createVNode(VAction, mergeProps(ctx.attrs, {
|
|
1357
1360
|
"class": ["v-button", classes.value]
|
|
1358
1361
|
}), {
|
|
1359
1362
|
default: () => [createVNode("span", {
|
|
1360
1363
|
"class": "v-button__content"
|
|
1361
|
-
}, [startIcon.value,
|
|
1364
|
+
}, [startIcon.value, ctx.slots.default?.(), icon.value, endIcon.value]), isLoading.value && createVNode(loading_exports.VProgressCircular, {
|
|
1362
1365
|
"class": "v-button__loading",
|
|
1363
1366
|
"indeterminate": true,
|
|
1364
1367
|
"size": LOADING_SIZE_MAP[control.size.value]
|
|
@@ -1426,7 +1429,7 @@ var VButtonGroup = defineComponent({
|
|
|
1426
1429
|
};
|
|
1427
1430
|
}
|
|
1428
1431
|
});
|
|
1429
|
-
function
|
|
1432
|
+
function _isSlot(s) {
|
|
1430
1433
|
return typeof s === "function" || Object.prototype.toString.call(s) === "[object Object]" && !isVNode(s);
|
|
1431
1434
|
}
|
|
1432
1435
|
var PAGINATION_ALIGNS = ["left", "center", "right"];
|
|
@@ -1655,7 +1658,7 @@ var VPagination = defineComponent({
|
|
|
1655
1658
|
"class": classes2,
|
|
1656
1659
|
"to": to,
|
|
1657
1660
|
"key": key
|
|
1658
|
-
},
|
|
1661
|
+
}, _isSlot(children) ? children : {
|
|
1659
1662
|
default: () => [children]
|
|
1660
1663
|
});
|
|
1661
1664
|
} else {
|
|
@@ -1768,7 +1771,7 @@ var VListTile = defineComponent({
|
|
|
1768
1771
|
"class": "v-list-tile__icon v-list-tile__icon--start"
|
|
1769
1772
|
}, [_startIcon]), createVNode("span", {
|
|
1770
1773
|
"class": "v-list-tile__body"
|
|
1771
|
-
}, [
|
|
1774
|
+
}, [ctx.slots.default?.()]), _endIcon && createVNode("span", {
|
|
1772
1775
|
"class": "v-list-tile__icon v-list-tile__icon--end"
|
|
1773
1776
|
}, [_endIcon])]
|
|
1774
1777
|
});
|
|
@@ -1780,6 +1783,7 @@ var VDrawerLayout = defineComponent({
|
|
|
1780
1783
|
props: {
|
|
1781
1784
|
...createPaperBaseProps()
|
|
1782
1785
|
},
|
|
1786
|
+
slots: paperBaseSlots,
|
|
1783
1787
|
setup(props10, ctx) {
|
|
1784
1788
|
return () => {
|
|
1785
1789
|
const paperProps = computed(() => ({
|
|
@@ -1804,13 +1808,10 @@ var VDrawerLayout = defineComponent({
|
|
|
1804
1808
|
};
|
|
1805
1809
|
}
|
|
1806
1810
|
});
|
|
1807
|
-
|
|
1808
|
-
return typeof s === "function" || Object.prototype.toString.call(s) === "[object Object]" && !isVNode(s);
|
|
1809
|
-
}
|
|
1811
|
+
var slots4 = defineSlots();
|
|
1810
1812
|
var VHero = defineComponent({
|
|
1811
1813
|
name: "VHero",
|
|
1812
1814
|
props: {
|
|
1813
|
-
...htmlAttributesPropOptions,
|
|
1814
1815
|
color: {
|
|
1815
1816
|
type: String,
|
|
1816
1817
|
default: "primary"
|
|
@@ -1823,14 +1824,14 @@ var VHero = defineComponent({
|
|
|
1823
1824
|
type: String,
|
|
1824
1825
|
default: "h1"
|
|
1825
1826
|
},
|
|
1826
|
-
...
|
|
1827
|
+
...slots4()
|
|
1827
1828
|
},
|
|
1829
|
+
slots: slots4,
|
|
1828
1830
|
setup(props10, ctx) {
|
|
1829
1831
|
return () => {
|
|
1830
|
-
let _slot;
|
|
1831
1832
|
const TagName = props10.tag;
|
|
1832
1833
|
const HTagName = props10.hTag;
|
|
1833
|
-
const adornment =
|
|
1834
|
+
const adornment = ctx.slots.adornment?.();
|
|
1834
1835
|
return createVNode(VAppContainer, {
|
|
1835
1836
|
"pulled": true
|
|
1836
1837
|
}, {
|
|
@@ -1839,8 +1840,8 @@ var VHero = defineComponent({
|
|
|
1839
1840
|
}, {
|
|
1840
1841
|
default: () => [createVNode(HTagName, {
|
|
1841
1842
|
"class": "v-hero__title"
|
|
1842
|
-
},
|
|
1843
|
-
default: () => [
|
|
1843
|
+
}, {
|
|
1844
|
+
default: () => [ctx.slots.default?.()]
|
|
1844
1845
|
}), adornment && createVNode("div", {
|
|
1845
1846
|
"class": "v-hero__adornment"
|
|
1846
1847
|
}, [adornment])]
|
|
@@ -1849,7 +1850,7 @@ var VHero = defineComponent({
|
|
|
1849
1850
|
};
|
|
1850
1851
|
}
|
|
1851
1852
|
});
|
|
1852
|
-
function
|
|
1853
|
+
function _isSlot2(s) {
|
|
1853
1854
|
return typeof s === "function" || Object.prototype.toString.call(s) === "[object Object]" && !isVNode(s);
|
|
1854
1855
|
}
|
|
1855
1856
|
function createNavigationItemProps() {
|
|
@@ -1890,7 +1891,7 @@ function renderNavigationItemInput(input, extraProps) {
|
|
|
1890
1891
|
return createVNode(VNavigationItem, {
|
|
1891
1892
|
...props10,
|
|
1892
1893
|
...extraProps
|
|
1893
|
-
},
|
|
1894
|
+
}, _isSlot2(label) ? label : {
|
|
1894
1895
|
default: () => [label]
|
|
1895
1896
|
});
|
|
1896
1897
|
}
|
|
@@ -2005,7 +2006,6 @@ var VNavigationItem = defineComponent({
|
|
|
2005
2006
|
close
|
|
2006
2007
|
});
|
|
2007
2008
|
return () => {
|
|
2008
|
-
let _slot;
|
|
2009
2009
|
const _children = children.value;
|
|
2010
2010
|
const fallbackTag = _children ? "button" : void 0;
|
|
2011
2011
|
return createVNode(Fragment, null, [createVNode(VListTile, mergeProps(ctx.attrs, _props.value, {
|
|
@@ -2014,8 +2014,8 @@ var VNavigationItem = defineComponent({
|
|
|
2014
2014
|
"class": ["v-navigation-item", classes.value],
|
|
2015
2015
|
"onClick": onClick,
|
|
2016
2016
|
"onChangeActive": onChangeActive
|
|
2017
|
-
}),
|
|
2018
|
-
default: () => [
|
|
2017
|
+
}), {
|
|
2018
|
+
default: () => [ctx.slots.default?.()]
|
|
2019
2019
|
}), _children && createVNode(VExpandTransition, null, {
|
|
2020
2020
|
default: () => [withDirectives(createVNode("div", {
|
|
2021
2021
|
"class": "v-navigation-item__expand"
|
|
@@ -2114,16 +2114,17 @@ function createControlFieldProps() {
|
|
|
2114
2114
|
...createControlProps()
|
|
2115
2115
|
};
|
|
2116
2116
|
}
|
|
2117
|
+
var slots5 = defineSlots();
|
|
2117
2118
|
var VControlField = defineComponent({
|
|
2118
2119
|
name: "VControlField",
|
|
2119
2120
|
props: {
|
|
2120
2121
|
...createControlFieldProps(),
|
|
2121
2122
|
focused: Boolean,
|
|
2122
2123
|
autoHeight: Boolean,
|
|
2123
|
-
...
|
|
2124
|
+
...slots5(),
|
|
2124
2125
|
error: Boolean
|
|
2125
2126
|
},
|
|
2126
|
-
|
|
2127
|
+
slots: slots5,
|
|
2127
2128
|
emits: {
|
|
2128
2129
|
click: (ev) => true
|
|
2129
2130
|
},
|
|
@@ -2148,12 +2149,12 @@ var VControlField = defineComponent({
|
|
|
2148
2149
|
return classes2;
|
|
2149
2150
|
});
|
|
2150
2151
|
const resolvedSlots = computed(() => {
|
|
2151
|
-
const
|
|
2152
|
+
const slots13 = {};
|
|
2152
2153
|
ADORNMENT_POSITIONS.forEach((position) => {
|
|
2153
2154
|
const key = `${position}Adornment`;
|
|
2154
|
-
|
|
2155
|
+
slots13[position] = resolveVNodeChildOrSlots(props10[key], ctx.slots[key]);
|
|
2155
2156
|
});
|
|
2156
|
-
return
|
|
2157
|
+
return slots13;
|
|
2157
2158
|
});
|
|
2158
2159
|
const renderAdornment = (position) => {
|
|
2159
2160
|
let child;
|
|
@@ -2163,7 +2164,7 @@ var VControlField = defineComponent({
|
|
|
2163
2164
|
"size": CONTROL_LOADING_SPINNER_SIZES[props10.size || "md"]
|
|
2164
2165
|
}, null);
|
|
2165
2166
|
} else {
|
|
2166
|
-
child =
|
|
2167
|
+
child = resolvedSlots.value[position]?.();
|
|
2167
2168
|
}
|
|
2168
2169
|
if (!child)
|
|
2169
2170
|
return;
|
|
@@ -2189,7 +2190,7 @@ var VControlField = defineComponent({
|
|
|
2189
2190
|
"ref": this.hostElRef()
|
|
2190
2191
|
}, [this.renderAdornment("start"), createVNode("div", {
|
|
2191
2192
|
"class": "v-control-field__body"
|
|
2192
|
-
}, [
|
|
2193
|
+
}, [this.$slots.default?.()]), this.renderAdornment("end")]);
|
|
2193
2194
|
}
|
|
2194
2195
|
});
|
|
2195
2196
|
var VTextCounter = defineComponent({
|
|
@@ -2210,6 +2211,7 @@ var VTextCounter = defineComponent({
|
|
|
2210
2211
|
}, [`${this.length} / ${this.maxlength}`]);
|
|
2211
2212
|
}
|
|
2212
2213
|
});
|
|
2214
|
+
var slots6 = defineSlots();
|
|
2213
2215
|
var VCheckable = defineComponent({
|
|
2214
2216
|
name: "VCheckable",
|
|
2215
2217
|
props: {
|
|
@@ -2217,9 +2219,10 @@ var VCheckable = defineComponent({
|
|
|
2217
2219
|
disabled: Boolean,
|
|
2218
2220
|
readonly: Boolean,
|
|
2219
2221
|
checked: Boolean,
|
|
2220
|
-
...
|
|
2222
|
+
...slots6()
|
|
2221
2223
|
// autoWidth: Boolean,
|
|
2222
2224
|
},
|
|
2225
|
+
slots: slots6,
|
|
2223
2226
|
setup(props10, ctx) {
|
|
2224
2227
|
const colorProvider = useVuiColorProvider();
|
|
2225
2228
|
const invalid = computed(() => props10.invalid);
|
|
@@ -2240,11 +2243,11 @@ var VCheckable = defineComponent({
|
|
|
2240
2243
|
"class": ["v-checkable", classes.value]
|
|
2241
2244
|
}, [createVNode("span", {
|
|
2242
2245
|
"class": "v-checkable__faux"
|
|
2243
|
-
}, [
|
|
2246
|
+
}, [ctx.slots.input?.(), ctx.slots.icon ? ctx.slots.icon() : createVNode("span", {
|
|
2244
2247
|
"class": "v-checkable__faux__icon"
|
|
2245
|
-
}, [
|
|
2248
|
+
}, [ctx.slots.faux?.()])]), createVNode("span", {
|
|
2246
2249
|
"class": "v-checkable__label"
|
|
2247
|
-
}, [
|
|
2250
|
+
}, [ctx.slots.label?.()])]);
|
|
2248
2251
|
}
|
|
2249
2252
|
});
|
|
2250
2253
|
|
|
@@ -2295,11 +2298,11 @@ var VCheckbox = defineComponent({
|
|
|
2295
2298
|
faux: () => createVNode("span", {
|
|
2296
2299
|
"class": "v-checkbox__faux"
|
|
2297
2300
|
}, null),
|
|
2298
|
-
label: () =>
|
|
2301
|
+
label: () => this.$slots.default?.()
|
|
2299
2302
|
});
|
|
2300
2303
|
}
|
|
2301
2304
|
});
|
|
2302
|
-
function
|
|
2305
|
+
function _isSlot3(s) {
|
|
2303
2306
|
return typeof s === "function" || Object.prototype.toString.call(s) === "[object Object]" && !isVNode(s);
|
|
2304
2307
|
}
|
|
2305
2308
|
var VCheckboxGroup = defineFormSelectorComponent({
|
|
@@ -2309,9 +2312,9 @@ var VCheckboxGroup = defineFormSelectorComponent({
|
|
|
2309
2312
|
className: "v-checkbox-group",
|
|
2310
2313
|
itemRenderer: ({
|
|
2311
2314
|
attrs,
|
|
2312
|
-
slots
|
|
2313
|
-
}) => createVNode(VCheckbox, attrs,
|
|
2314
|
-
default: () => [
|
|
2315
|
+
slots: slots13
|
|
2316
|
+
}) => createVNode(VCheckbox, attrs, _isSlot3(slots13) ? slots13 : {
|
|
2317
|
+
default: () => [slots13]
|
|
2315
2318
|
})
|
|
2316
2319
|
});
|
|
2317
2320
|
var {
|
|
@@ -2355,11 +2358,11 @@ var VRadio = defineComponent({
|
|
|
2355
2358
|
faux: () => createVNode("span", {
|
|
2356
2359
|
"class": "v-radio__faux"
|
|
2357
2360
|
}, null),
|
|
2358
|
-
label: () =>
|
|
2361
|
+
label: () => this.$slots.default?.()
|
|
2359
2362
|
});
|
|
2360
2363
|
}
|
|
2361
2364
|
});
|
|
2362
|
-
function
|
|
2365
|
+
function _isSlot4(s) {
|
|
2363
2366
|
return typeof s === "function" || Object.prototype.toString.call(s) === "[object Object]" && !isVNode(s);
|
|
2364
2367
|
}
|
|
2365
2368
|
var VRadioGroup = defineFormSelectorComponent({
|
|
@@ -2368,9 +2371,9 @@ var VRadioGroup = defineFormSelectorComponent({
|
|
|
2368
2371
|
className: "v-radio-group",
|
|
2369
2372
|
itemRenderer: ({
|
|
2370
2373
|
attrs,
|
|
2371
|
-
slots
|
|
2372
|
-
}) => createVNode(VRadio, attrs,
|
|
2373
|
-
default: () => [
|
|
2374
|
+
slots: slots13
|
|
2375
|
+
}) => createVNode(VRadio, attrs, _isSlot4(slots13) ? slots13 : {
|
|
2376
|
+
default: () => [slots13]
|
|
2374
2377
|
})
|
|
2375
2378
|
});
|
|
2376
2379
|
var {
|
|
@@ -2422,11 +2425,11 @@ var VSwitch = defineComponent({
|
|
|
2422
2425
|
}, [createVNode("span", {
|
|
2423
2426
|
"class": "v-switch__faux__pin"
|
|
2424
2427
|
}, null)]),
|
|
2425
|
-
label: () =>
|
|
2428
|
+
label: () => this.$slots.default?.()
|
|
2426
2429
|
});
|
|
2427
2430
|
}
|
|
2428
2431
|
});
|
|
2429
|
-
function
|
|
2432
|
+
function _isSlot5(s) {
|
|
2430
2433
|
return typeof s === "function" || Object.prototype.toString.call(s) === "[object Object]" && !isVNode(s);
|
|
2431
2434
|
}
|
|
2432
2435
|
var VSwitchGroup = defineFormSelectorComponent({
|
|
@@ -2436,9 +2439,9 @@ var VSwitchGroup = defineFormSelectorComponent({
|
|
|
2436
2439
|
className: "v-switch-group",
|
|
2437
2440
|
itemRenderer: ({
|
|
2438
2441
|
attrs,
|
|
2439
|
-
slots
|
|
2440
|
-
}) => createVNode(VSwitch, attrs,
|
|
2441
|
-
default: () => [
|
|
2442
|
+
slots: slots13
|
|
2443
|
+
}) => createVNode(VSwitch, attrs, _isSlot5(slots13) ? slots13 : {
|
|
2444
|
+
default: () => [slots13]
|
|
2442
2445
|
})
|
|
2443
2446
|
});
|
|
2444
2447
|
var {
|
|
@@ -2484,17 +2487,19 @@ var VOption = defineComponent({
|
|
|
2484
2487
|
"aria-disabled": selectorItemControl.isDisabled
|
|
2485
2488
|
}), [createVNode("span", {
|
|
2486
2489
|
"class": "v-option__label"
|
|
2487
|
-
}, [
|
|
2490
|
+
}, [this.$slots.default?.()])]);
|
|
2488
2491
|
}
|
|
2489
2492
|
});
|
|
2493
|
+
var slots7 = defineSlots();
|
|
2490
2494
|
var VOptionGroup = defineComponent({
|
|
2491
2495
|
name: "VOptionGroup",
|
|
2492
2496
|
props: {
|
|
2493
2497
|
...createFormSelectorItemGroupProps(),
|
|
2494
2498
|
// eslint-disable-next-line vue/require-prop-types
|
|
2495
2499
|
label: {},
|
|
2496
|
-
...
|
|
2500
|
+
...slots7()
|
|
2497
2501
|
},
|
|
2502
|
+
slots: slots7,
|
|
2498
2503
|
setup(props10, ctx) {
|
|
2499
2504
|
const groupControl = useFormSelectorItemGroupControl(props10, ctx, {
|
|
2500
2505
|
parentNodeType: VUI_SELECT_SYMBOL
|
|
@@ -2524,10 +2529,10 @@ var VOptionGroup = defineComponent({
|
|
|
2524
2529
|
"class": classes
|
|
2525
2530
|
}, [!!label && createVNode("div", {
|
|
2526
2531
|
"class": "v-option-group__label"
|
|
2527
|
-
}, [label]),
|
|
2532
|
+
}, [label]), this.$slots.default?.()]);
|
|
2528
2533
|
}
|
|
2529
2534
|
});
|
|
2530
|
-
function
|
|
2535
|
+
function _isSlot6(s) {
|
|
2531
2536
|
return typeof s === "function" || Object.prototype.toString.call(s) === "[object Object]" && !isVNode(s);
|
|
2532
2537
|
}
|
|
2533
2538
|
var ARROW_KEY_TYPES = useKeyboard.Key(["ArrowUp", "ArrowDown"]);
|
|
@@ -2537,6 +2542,7 @@ var {
|
|
|
2537
2542
|
props: props6,
|
|
2538
2543
|
emits: emits6
|
|
2539
2544
|
} = createFormSelectorSettings();
|
|
2545
|
+
var slots8 = defineSlots();
|
|
2540
2546
|
var VSelect = defineComponent({
|
|
2541
2547
|
name: "VSelect",
|
|
2542
2548
|
props: {
|
|
@@ -2545,7 +2551,7 @@ var VSelect = defineComponent({
|
|
|
2545
2551
|
...createControlFieldProps(),
|
|
2546
2552
|
...createControlFieldProviderProps(),
|
|
2547
2553
|
...createControlProps(),
|
|
2548
|
-
...
|
|
2554
|
+
...slots8(),
|
|
2549
2555
|
...createPropsOptions({
|
|
2550
2556
|
placeholder: String,
|
|
2551
2557
|
loadingMessage: {},
|
|
@@ -2553,6 +2559,7 @@ var VSelect = defineComponent({
|
|
|
2553
2559
|
}),
|
|
2554
2560
|
closeOnNavigation: Boolean
|
|
2555
2561
|
},
|
|
2562
|
+
slots: slots8,
|
|
2556
2563
|
emits: emits6,
|
|
2557
2564
|
setup(props10, ctx) {
|
|
2558
2565
|
const menuRef = ref(null);
|
|
@@ -2739,7 +2746,7 @@ var VSelect = defineComponent({
|
|
|
2739
2746
|
selectorItems,
|
|
2740
2747
|
selectedItems
|
|
2741
2748
|
} = this;
|
|
2742
|
-
const children = this.$slots.default
|
|
2749
|
+
const children = this.$slots.default?.() || [];
|
|
2743
2750
|
const propGroups = this.propGroups.map((group) => {
|
|
2744
2751
|
let _slot;
|
|
2745
2752
|
return createVNode(VOptionGroup, {
|
|
@@ -2747,7 +2754,7 @@ var VSelect = defineComponent({
|
|
|
2747
2754
|
"groupId": group.id,
|
|
2748
2755
|
"label": group.label(selectorControl),
|
|
2749
2756
|
"disabled": group.disabled
|
|
2750
|
-
},
|
|
2757
|
+
}, _isSlot6(_slot = group.items.map((item) => createVNode(VOption, {
|
|
2751
2758
|
"disabled": item.disabled,
|
|
2752
2759
|
"value": item.value,
|
|
2753
2760
|
"key": item.value
|
|
@@ -2873,6 +2880,7 @@ var {
|
|
|
2873
2880
|
props: props7,
|
|
2874
2881
|
emits: emits7
|
|
2875
2882
|
} = createTextInputSettings();
|
|
2883
|
+
var slots9 = defineSlots();
|
|
2876
2884
|
function createTextFieldProps() {
|
|
2877
2885
|
return {
|
|
2878
2886
|
...props7,
|
|
@@ -2880,13 +2888,14 @@ function createTextFieldProps() {
|
|
|
2880
2888
|
...createControlFieldProps(),
|
|
2881
2889
|
...createControlFieldProviderProps(),
|
|
2882
2890
|
...createControlProps(),
|
|
2883
|
-
...
|
|
2891
|
+
...slots9()
|
|
2884
2892
|
};
|
|
2885
2893
|
}
|
|
2886
2894
|
var VTextField = defineComponent({
|
|
2887
2895
|
name: "VTextField",
|
|
2888
2896
|
props: createTextFieldProps(),
|
|
2889
2897
|
emits: emits7,
|
|
2898
|
+
slots: slots9,
|
|
2890
2899
|
setup(props10, ctx) {
|
|
2891
2900
|
const inputControl = useTextInputControl(props10, ctx, {
|
|
2892
2901
|
nodeType: VUI_TEXT_FIELD_SYMBOL
|
|
@@ -2982,6 +2991,7 @@ var {
|
|
|
2982
2991
|
props: props8,
|
|
2983
2992
|
emits: emits8
|
|
2984
2993
|
} = createTextareaSettings();
|
|
2994
|
+
var slots10 = defineSlots();
|
|
2985
2995
|
var VTextarea = defineComponent({
|
|
2986
2996
|
name: "VTextarea",
|
|
2987
2997
|
props: {
|
|
@@ -2990,7 +3000,7 @@ var VTextarea = defineComponent({
|
|
|
2990
3000
|
...createControlFieldProps(),
|
|
2991
3001
|
...createControlFieldProviderProps(),
|
|
2992
3002
|
...createControlProps(),
|
|
2993
|
-
...
|
|
3003
|
+
...slots10()
|
|
2994
3004
|
},
|
|
2995
3005
|
emits: emits8,
|
|
2996
3006
|
setup(props10, ctx) {
|
|
@@ -3050,11 +3060,12 @@ var {
|
|
|
3050
3060
|
} = createFormSettings({
|
|
3051
3061
|
nodeType: VUI_FORM_SYMBOL
|
|
3052
3062
|
});
|
|
3063
|
+
var formSlots = defineSlots();
|
|
3053
3064
|
function createVFormProps() {
|
|
3054
3065
|
return {
|
|
3055
3066
|
...props9,
|
|
3056
3067
|
...createControlProps(),
|
|
3057
|
-
...
|
|
3068
|
+
...formSlots()
|
|
3058
3069
|
// disableAutoScroll: Boolean,
|
|
3059
3070
|
};
|
|
3060
3071
|
}
|
|
@@ -3062,6 +3073,7 @@ var VForm = defineComponent({
|
|
|
3062
3073
|
name: "VForm",
|
|
3063
3074
|
props: createVFormProps(),
|
|
3064
3075
|
emits: emits9,
|
|
3076
|
+
slots: formSlots,
|
|
3065
3077
|
setup(props10, ctx) {
|
|
3066
3078
|
const vui = useVui();
|
|
3067
3079
|
const nodeControl = useForm(props10, ctx, {
|
|
@@ -3099,10 +3111,10 @@ var VForm = defineComponent({
|
|
|
3099
3111
|
"action": this.nativeAction,
|
|
3100
3112
|
"spellcheck": this.spellcheck,
|
|
3101
3113
|
"onSubmit": form.handleSubmit
|
|
3102
|
-
}, [
|
|
3114
|
+
}, [this.$slots.default?.(form)]);
|
|
3103
3115
|
}
|
|
3104
3116
|
});
|
|
3105
|
-
function
|
|
3117
|
+
function _isSlot7(s) {
|
|
3106
3118
|
return typeof s === "function" || Object.prototype.toString.call(s) === "[object Object]" && !isVNode(s);
|
|
3107
3119
|
}
|
|
3108
3120
|
var VTab = defineComponent({
|
|
@@ -3140,14 +3152,14 @@ var VTab = defineComponent({
|
|
|
3140
3152
|
"class": "v-tab__content"
|
|
3141
3153
|
}, [icon && resolveRawIconProp(active, icon, {
|
|
3142
3154
|
class: "v-tab__icon"
|
|
3143
|
-
}),
|
|
3155
|
+
}), ctx.slots.default?.()]);
|
|
3144
3156
|
if (to) {
|
|
3145
3157
|
const replace = typeof to === "string" ? void 0 : to.replace;
|
|
3146
3158
|
return createVNode(RouterLink, {
|
|
3147
3159
|
"class": classes,
|
|
3148
3160
|
"to": to,
|
|
3149
3161
|
"replace": replace
|
|
3150
|
-
},
|
|
3162
|
+
}, _isSlot7(children) ? children : {
|
|
3151
3163
|
default: () => [children]
|
|
3152
3164
|
});
|
|
3153
3165
|
} else {
|
|
@@ -3163,9 +3175,10 @@ var VTab = defineComponent({
|
|
|
3163
3175
|
};
|
|
3164
3176
|
}
|
|
3165
3177
|
});
|
|
3166
|
-
function
|
|
3178
|
+
function _isSlot8(s) {
|
|
3167
3179
|
return typeof s === "function" || Object.prototype.toString.call(s) === "[object Object]" && !isVNode(s);
|
|
3168
3180
|
}
|
|
3181
|
+
var slots11 = defineSlots();
|
|
3169
3182
|
var VTabs = defineComponent({
|
|
3170
3183
|
name: "VTabs",
|
|
3171
3184
|
props: {
|
|
@@ -3193,14 +3206,15 @@ var VTabs = defineComponent({
|
|
|
3193
3206
|
* タブのURLが /page1?tab=xxx のようになる時に設定する
|
|
3194
3207
|
*/
|
|
3195
3208
|
withQuery: Boolean,
|
|
3196
|
-
...defineSlotsProps(),
|
|
3197
3209
|
color: String,
|
|
3198
|
-
onBeforeChange: Function
|
|
3210
|
+
onBeforeChange: Function,
|
|
3211
|
+
...slots11()
|
|
3199
3212
|
},
|
|
3200
3213
|
emits: {
|
|
3201
3214
|
"update:modelValue": (newValue) => true,
|
|
3202
3215
|
change: (newValue) => true
|
|
3203
3216
|
},
|
|
3217
|
+
slots: slots11,
|
|
3204
3218
|
setup(props10, ctx) {
|
|
3205
3219
|
const vui = useVui();
|
|
3206
3220
|
const internalValueRef = ref(null);
|
|
@@ -3426,7 +3440,7 @@ var VTabs = defineComponent({
|
|
|
3426
3440
|
to(value);
|
|
3427
3441
|
}
|
|
3428
3442
|
}
|
|
3429
|
-
},
|
|
3443
|
+
}, _isSlot8(children2) ? children2 : {
|
|
3430
3444
|
default: () => [children2]
|
|
3431
3445
|
});
|
|
3432
3446
|
});
|
|
@@ -3446,7 +3460,7 @@ var VTabs = defineComponent({
|
|
|
3446
3460
|
};
|
|
3447
3461
|
}
|
|
3448
3462
|
});
|
|
3449
|
-
function
|
|
3463
|
+
function _isSlot9(s) {
|
|
3450
3464
|
return typeof s === "function" || Object.prototype.toString.call(s) === "[object Object]" && !isVNode(s);
|
|
3451
3465
|
}
|
|
3452
3466
|
var VBreadcrumbs = defineComponent({
|
|
@@ -3457,7 +3471,6 @@ var VBreadcrumbs = defineComponent({
|
|
|
3457
3471
|
default: () => []
|
|
3458
3472
|
},
|
|
3459
3473
|
divider: [String, Function]
|
|
3460
|
-
// ...defineSlotsProps<{}>(),
|
|
3461
3474
|
},
|
|
3462
3475
|
setup(props10, ctx) {
|
|
3463
3476
|
const vui = useVui();
|
|
@@ -3530,7 +3543,7 @@ var VBreadcrumbs = defineComponent({
|
|
|
3530
3543
|
"class": "v-breadcrumbs__link",
|
|
3531
3544
|
"to": to,
|
|
3532
3545
|
"exactActiveClass": "v-breadcrumbs__link--active"
|
|
3533
|
-
},
|
|
3546
|
+
}, _isSlot9(myChildren) ? myChildren : {
|
|
3534
3547
|
default: () => [myChildren]
|
|
3535
3548
|
}) : myChildren;
|
|
3536
3549
|
children.push(createVNode("li", {
|
|
@@ -3548,7 +3561,7 @@ var VBreadcrumbs = defineComponent({
|
|
|
3548
3561
|
};
|
|
3549
3562
|
}
|
|
3550
3563
|
});
|
|
3551
|
-
function
|
|
3564
|
+
function _isSlot10(s) {
|
|
3552
3565
|
return typeof s === "function" || Object.prototype.toString.call(s) === "[object Object]" && !isVNode(s);
|
|
3553
3566
|
}
|
|
3554
3567
|
var VContentSwitcher = defineComponent({
|
|
@@ -3637,7 +3650,7 @@ var VContentSwitcher = defineComponent({
|
|
|
3637
3650
|
});
|
|
3638
3651
|
return () => {
|
|
3639
3652
|
const current = currentRef.value;
|
|
3640
|
-
const children =
|
|
3653
|
+
const children = ctx.slots.default?.() || [];
|
|
3641
3654
|
const currentSlot = ctx.slots[current];
|
|
3642
3655
|
if (currentSlot) {
|
|
3643
3656
|
children.push(createVNode("div", {
|
|
@@ -3668,7 +3681,7 @@ var VContentSwitcher = defineComponent({
|
|
|
3668
3681
|
"onLeaveCancelled": () => {
|
|
3669
3682
|
getEl().style.height = "";
|
|
3670
3683
|
}
|
|
3671
|
-
},
|
|
3684
|
+
}, _isSlot10(children) ? children : {
|
|
3672
3685
|
default: () => [children]
|
|
3673
3686
|
})]);
|
|
3674
3687
|
};
|
|
@@ -4336,13 +4349,10 @@ var VToolbar = defineComponent({
|
|
|
4336
4349
|
return () => {
|
|
4337
4350
|
return createVNode("div", {
|
|
4338
4351
|
"class": ["v-toolbar", classes.value]
|
|
4339
|
-
}, [
|
|
4352
|
+
}, [ctx.slots.default?.()]);
|
|
4340
4353
|
};
|
|
4341
4354
|
}
|
|
4342
4355
|
});
|
|
4343
|
-
function _isSlot13(s) {
|
|
4344
|
-
return typeof s === "function" || Object.prototype.toString.call(s) === "[object Object]" && !isVNode(s);
|
|
4345
|
-
}
|
|
4346
4356
|
var VToolbarMenu = defineComponent({
|
|
4347
4357
|
name: "VToolbarMenu",
|
|
4348
4358
|
inheritAttrs: false,
|
|
@@ -4351,13 +4361,12 @@ var VToolbarMenu = defineComponent({
|
|
|
4351
4361
|
const vui = useVui();
|
|
4352
4362
|
const plain = vui.setting("plainVariant");
|
|
4353
4363
|
return () => {
|
|
4354
|
-
let _slot;
|
|
4355
4364
|
const variant = props10.variant || plain;
|
|
4356
4365
|
return createVNode(VButton, mergeProps(ctx.attrs, {
|
|
4357
4366
|
"variant": variant,
|
|
4358
4367
|
"class": ["v-toolbar-menu"]
|
|
4359
|
-
}),
|
|
4360
|
-
default: () => [
|
|
4368
|
+
}), {
|
|
4369
|
+
default: () => [ctx.slots.default?.()]
|
|
4361
4370
|
});
|
|
4362
4371
|
};
|
|
4363
4372
|
}
|
|
@@ -4383,26 +4392,25 @@ var VToolbarEdge = defineComponent({
|
|
|
4383
4392
|
};
|
|
4384
4393
|
}
|
|
4385
4394
|
});
|
|
4386
|
-
|
|
4387
|
-
return typeof s === "function" || Object.prototype.toString.call(s) === "[object Object]" && !isVNode(s);
|
|
4388
|
-
}
|
|
4395
|
+
var slots12 = defineSlots();
|
|
4389
4396
|
var VToolbarTitle = defineComponent({
|
|
4390
4397
|
name: "VToolbarTitle",
|
|
4391
4398
|
props: {
|
|
4392
4399
|
tag: {
|
|
4393
4400
|
type: String,
|
|
4394
4401
|
default: "span"
|
|
4395
|
-
}
|
|
4402
|
+
},
|
|
4403
|
+
...slots12()
|
|
4396
4404
|
},
|
|
4405
|
+
slots: slots12,
|
|
4397
4406
|
setup(props10, ctx) {
|
|
4398
4407
|
const _TagName = computed(() => props10.tag);
|
|
4399
4408
|
return () => {
|
|
4400
|
-
let _slot;
|
|
4401
4409
|
const TagName = _TagName.value;
|
|
4402
4410
|
return createVNode(TagName, {
|
|
4403
4411
|
"class": "v-toolbar-title"
|
|
4404
|
-
},
|
|
4405
|
-
default: () => [
|
|
4412
|
+
}, {
|
|
4413
|
+
default: () => [ctx.slots.default?.()]
|
|
4406
4414
|
});
|
|
4407
4415
|
};
|
|
4408
4416
|
}
|
|
@@ -4662,6 +4670,6 @@ function installVuiPlugin(app, opts) {
|
|
|
4662
4670
|
return app.use(VuiPlugin, opts);
|
|
4663
4671
|
}
|
|
4664
4672
|
|
|
4665
|
-
export { ARROW_KEY_TYPES, AVATAR_SIZES, BUTTON_ALIGNS, CHIP_SIZES, CHOICE_KEY_TYPES, CONTROL_FIELD_VARIANTS, CONTROL_LOADING_SPINNER_SIZES, CONTROL_SIZES, KEYBORD_EVENT_TYPES, PAGINATION_ALIGNS, VApp, VAvatar, VBreadcrumbs, VBusyImage, VButton, VButtonGroup, VCard, VCardActions, VCardContent, VCheckbox, VCheckboxGroup, VChip, VContentSwitcher, VControlField, VDataTable, VDrawerLayout, VForm, VFormControl, VGridContainer, VGridItem, VHero, VIcon, VListTile, VNavigation, VNavigationItem, VNumberField, VOption, VOptionGroup, VPagination, VPaper, VRadio, VRadioGroup, VSelect, VSkeltonLoaderBone, VSwitch, VSwitchGroup, VTabs, VTextCounter, VTextField, VTextarea, VToolbar, VToolbarEdge, VToolbarMenu, VToolbarTitle, VUI_CHECKBOX_GROUP_SYMBOL, VUI_CHECKBOX_SYMBOL, VUI_FORM_SYMBOL, VUI_OPTION_SYMBOL, VUI_RADIO_GROUP_SYMBOL, VUI_RADIO_SYMBOL, VUI_SELECT_SYMBOL, VUI_SWITCH_GROUP_SYMBOL, VUI_SWITCH_SYMBOL, VUI_TEXTAREA_SYMBOL, VUI_TEXT_FIELD_SYMBOL, VuiColorProviderInjectionKey, VuiControlFieldInjectionKey, VuiControlInjectionKey, VuiInjectionKey, VuiPlugin, VuiService, configureDataTableDefaults, createAvatarProps, createCardProps, createChipProps, createControlFieldProps, createControlFieldProviderProps, createControlProps, createElevationProps, createListTileProps, createNavigationItemProps, createNavigationProps, createPaperBaseProps, createPaperProps, createRequiredChipRenderer, createVFormProps, defineFormSelectorComponent, iconProps, installVuiPlugin, listTileEmits, mergeVuiPluginOptions, mergeVuiServiceIconSettings, mergeVuiServiceOptions, mergeVuiServiceUISettings, paginationProps, rawIconProp, renderNavigationItemInput, resolveNavigationItemInput, resolveRawIconProp, splitAttrs, useControl, useControlField, useElevation, useVui, useVuiColorProvider, vueButtonProps };
|
|
4673
|
+
export { ARROW_KEY_TYPES, AVATAR_SIZES, BUTTON_ALIGNS, CHIP_SIZES, CHOICE_KEY_TYPES, CONTROL_FIELD_VARIANTS, CONTROL_LOADING_SPINNER_SIZES, CONTROL_SIZES, KEYBORD_EVENT_TYPES, PAGINATION_ALIGNS, VApp, VAvatar, VBreadcrumbs, VBusyImage, VButton, VButtonGroup, VCard, VCardActions, VCardContent, VCheckbox, VCheckboxGroup, VChip, VContentSwitcher, VControlField, VDataTable, VDrawerLayout, VForm, VFormControl, VGridContainer, VGridItem, VHero, VIcon, VListTile, VNavigation, VNavigationItem, VNumberField, VOption, VOptionGroup, VPagination, VPaper, VRadio, VRadioGroup, VSelect, VSkeltonLoaderBone, VSwitch, VSwitchGroup, VTabs, VTextCounter, VTextField, VTextarea, VToolbar, VToolbarEdge, VToolbarMenu, VToolbarTitle, VUI_CHECKBOX_GROUP_SYMBOL, VUI_CHECKBOX_SYMBOL, VUI_FORM_SYMBOL, VUI_OPTION_SYMBOL, VUI_RADIO_GROUP_SYMBOL, VUI_RADIO_SYMBOL, VUI_SELECT_SYMBOL, VUI_SWITCH_GROUP_SYMBOL, VUI_SWITCH_SYMBOL, VUI_TEXTAREA_SYMBOL, VUI_TEXT_FIELD_SYMBOL, VuiColorProviderInjectionKey, VuiControlFieldInjectionKey, VuiControlInjectionKey, VuiInjectionKey, VuiPlugin, VuiService, configureDataTableDefaults, createAvatarProps, createCardProps, createChipProps, createControlFieldProps, createControlFieldProviderProps, createControlProps, createElevationProps, createListTileProps, createNavigationItemProps, createNavigationProps, createPaperBaseProps, createPaperProps, createRequiredChipRenderer, createVFormProps, defineFormSelectorComponent, formSlots, iconProps, installVuiPlugin, listTileEmits, mergeVuiPluginOptions, mergeVuiServiceIconSettings, mergeVuiServiceOptions, mergeVuiServiceUISettings, paginationProps, paperBaseSlots, rawIconProp, renderNavigationItemInput, resolveNavigationItemInput, resolveRawIconProp, splitAttrs, useControl, useControlField, useElevation, useVui, useVuiColorProvider, vueButtonProps };
|
|
4666
4674
|
//# sourceMappingURL=out.js.map
|
|
4667
4675
|
//# sourceMappingURL=vui.mjs.map
|