vuetify 3.10.3 → 3.10.5
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/json/attributes.json +3285 -3269
- package/dist/json/importMap-labs.json +18 -18
- package/dist/json/importMap.json +176 -176
- package/dist/json/tags.json +4 -0
- package/dist/json/web-types.json +5963 -5923
- package/dist/vuetify-labs.cjs +125 -81
- package/dist/vuetify-labs.css +6900 -6889
- package/dist/vuetify-labs.d.ts +117 -59
- package/dist/vuetify-labs.esm.js +126 -82
- package/dist/vuetify-labs.esm.js.map +1 -1
- package/dist/vuetify-labs.js +125 -81
- package/dist/vuetify-labs.min.css +2 -2
- package/dist/vuetify.cjs +117 -77
- package/dist/vuetify.cjs.map +1 -1
- package/dist/vuetify.css +3658 -3647
- package/dist/vuetify.d.ts +117 -59
- package/dist/vuetify.esm.js +117 -77
- package/dist/vuetify.esm.js.map +1 -1
- package/dist/vuetify.js +117 -77
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +2 -2
- package/dist/vuetify.min.js +43 -39
- package/dist/vuetify.min.js.map +1 -1
- package/lib/components/VBadge/VBadge.css +10 -0
- package/lib/components/VBadge/VBadge.sass +9 -0
- package/lib/components/VBtn/VBtn.js +1 -1
- package/lib/components/VBtn/VBtn.js.map +1 -1
- package/lib/components/VChip/VChip.js +13 -2
- package/lib/components/VChip/VChip.js.map +1 -1
- package/lib/components/VCombobox/VCombobox.d.ts +13 -0
- package/lib/components/VCombobox/VCombobox.js +3 -1
- package/lib/components/VCombobox/VCombobox.js.map +1 -1
- package/lib/components/VDataTable/VDataTableGroupHeaderRow.d.ts +29 -0
- package/lib/components/VDataTable/VDataTableGroupHeaderRow.js +4 -1
- package/lib/components/VDataTable/VDataTableGroupHeaderRow.js.map +1 -1
- package/lib/components/VDataTable/VDataTableHeaders.d.ts +29 -0
- package/lib/components/VDataTable/VDataTableHeaders.js +3 -0
- package/lib/components/VDataTable/VDataTableHeaders.js.map +1 -1
- package/lib/components/VDataTable/VDataTableRow.d.ts +29 -0
- package/lib/components/VDataTable/VDataTableRow.js +3 -0
- package/lib/components/VDataTable/VDataTableRow.js.map +1 -1
- package/lib/components/VDataTable/VDataTableRows.d.ts +29 -0
- package/lib/components/VDataTable/VDataTableRows.js +4 -3
- package/lib/components/VDataTable/VDataTableRows.js.map +1 -1
- package/lib/components/VDialog/VDialog.js +29 -11
- package/lib/components/VDialog/VDialog.js.map +1 -1
- package/lib/components/VDialog/__test__/VDialog.spec.browser.js +41 -0
- package/lib/components/VDialog/__test__/VDialog.spec.browser.js.map +1 -1
- package/lib/components/VDivider/VDivider.css +1 -0
- package/lib/components/VDivider/VDivider.sass +1 -0
- package/lib/components/VFileInput/VFileInput.js +2 -1
- package/lib/components/VFileInput/VFileInput.js.map +1 -1
- package/lib/components/VKbd/_variables.scss +3 -1
- package/lib/components/VList/VListItem.js +1 -1
- package/lib/components/VList/VListItem.js.map +1 -1
- package/lib/components/VTable/VTable.js +20 -32
- package/lib/components/VTable/VTable.js.map +1 -1
- package/lib/components/VTreeview/VTreeviewChildren.js +1 -1
- package/lib/components/VTreeview/VTreeviewChildren.js.map +1 -1
- package/lib/composables/group.d.ts +2 -0
- package/lib/composables/group.js +15 -9
- package/lib/composables/group.js.map +1 -1
- package/lib/entry-bundler.js +1 -1
- package/lib/framework.d.ts +59 -59
- package/lib/framework.js +1 -1
- package/lib/labs/VCalendar/VCalendar.js +7 -3
- package/lib/labs/VCalendar/VCalendar.js.map +1 -1
- package/lib/labs/VCalendar/composables/calendarWithEvents.js +7 -4
- package/lib/labs/VCalendar/composables/calendarWithEvents.js.map +1 -1
- package/lib/labs/VFileUpload/VFileUpload.js +2 -1
- package/lib/labs/VFileUpload/VFileUpload.js.map +1 -1
- package/lib/labs/rules/rules.js +3 -3
- package/lib/labs/rules/rules.js.map +1 -1
- package/lib/util/animation.js +1 -1
- package/lib/util/animation.js.map +1 -1
- package/lib/util/box.d.ts +1 -1
- package/lib/util/box.js +19 -14
- package/lib/util/box.js.map +1 -1
- package/package.json +1 -1
package/dist/vuetify.esm.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Vuetify v3.10.
|
|
2
|
+
* Vuetify v3.10.5
|
|
3
3
|
* Forged by John Leider
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -584,17 +584,19 @@ function getAxis(anchor) {
|
|
|
584
584
|
}
|
|
585
585
|
|
|
586
586
|
class Box {
|
|
587
|
-
constructor(
|
|
588
|
-
|
|
587
|
+
constructor(args) {
|
|
588
|
+
const pageScale = document.body.currentCSSZoom ?? 1;
|
|
589
|
+
const factor = args instanceof DOMRect ? 1 + (1 - pageScale) / pageScale : 1;
|
|
590
|
+
const {
|
|
589
591
|
x,
|
|
590
592
|
y,
|
|
591
593
|
width,
|
|
592
594
|
height
|
|
593
|
-
} =
|
|
594
|
-
this.x = x;
|
|
595
|
-
this.y = y;
|
|
596
|
-
this.width = width;
|
|
597
|
-
this.height = height;
|
|
595
|
+
} = args;
|
|
596
|
+
this.x = x * factor;
|
|
597
|
+
this.y = y * factor;
|
|
598
|
+
this.width = width * factor;
|
|
599
|
+
this.height = height * factor;
|
|
598
600
|
}
|
|
599
601
|
get top() {
|
|
600
602
|
return this.y;
|
|
@@ -623,14 +625,16 @@ function getOverflow(a, b) {
|
|
|
623
625
|
}
|
|
624
626
|
function getTargetBox(target) {
|
|
625
627
|
if (Array.isArray(target)) {
|
|
628
|
+
const pageScale = document.body.currentCSSZoom ?? 1;
|
|
629
|
+
const factor = 1 + (1 - pageScale) / pageScale;
|
|
626
630
|
return new Box({
|
|
627
|
-
x: target[0],
|
|
628
|
-
y: target[1],
|
|
629
|
-
width: 0,
|
|
630
|
-
height: 0
|
|
631
|
+
x: target[0] * factor,
|
|
632
|
+
y: target[1] * factor,
|
|
633
|
+
width: 0 * factor,
|
|
634
|
+
height: 0 * factor
|
|
631
635
|
});
|
|
632
636
|
} else {
|
|
633
|
-
return target.getBoundingClientRect();
|
|
637
|
+
return new Box(target.getBoundingClientRect());
|
|
634
638
|
}
|
|
635
639
|
}
|
|
636
640
|
function getElementBox(el) {
|
|
@@ -643,11 +647,12 @@ function getElementBox(el) {
|
|
|
643
647
|
height: document.documentElement.clientHeight
|
|
644
648
|
});
|
|
645
649
|
} else {
|
|
650
|
+
const pageScale = document.body.currentCSSZoom ?? 1;
|
|
646
651
|
return new Box({
|
|
647
652
|
x: visualViewport.scale > 1 ? 0 : visualViewport.offsetLeft,
|
|
648
653
|
y: visualViewport.scale > 1 ? 0 : visualViewport.offsetTop,
|
|
649
|
-
width: visualViewport.width * visualViewport.scale,
|
|
650
|
-
height: visualViewport.height * visualViewport.scale
|
|
654
|
+
width: visualViewport.width * visualViewport.scale / pageScale,
|
|
655
|
+
height: visualViewport.height * visualViewport.scale / pageScale
|
|
651
656
|
});
|
|
652
657
|
}
|
|
653
658
|
} else {
|
|
@@ -665,7 +670,7 @@ function getElementBox(el) {
|
|
|
665
670
|
|
|
666
671
|
/** @see https://stackoverflow.com/a/57876601/2074736 */
|
|
667
672
|
function nullifyTransforms(el) {
|
|
668
|
-
const rect = el.getBoundingClientRect();
|
|
673
|
+
const rect = new Box(el.getBoundingClientRect());
|
|
669
674
|
const style = getComputedStyle(el);
|
|
670
675
|
const tx = style.transform;
|
|
671
676
|
if (tx) {
|
|
@@ -5004,14 +5009,18 @@ function useGroupItem(props, injectKey) {
|
|
|
5004
5009
|
}
|
|
5005
5010
|
const value = toRef(() => props.value);
|
|
5006
5011
|
const disabled = computed(() => !!(group.disabled.value || props.disabled));
|
|
5007
|
-
|
|
5008
|
-
|
|
5009
|
-
|
|
5010
|
-
|
|
5011
|
-
|
|
5012
|
-
|
|
5013
|
-
|
|
5014
|
-
|
|
5012
|
+
function register() {
|
|
5013
|
+
group?.register({
|
|
5014
|
+
id,
|
|
5015
|
+
value,
|
|
5016
|
+
disabled
|
|
5017
|
+
}, vm);
|
|
5018
|
+
}
|
|
5019
|
+
function unregister() {
|
|
5020
|
+
group?.unregister(id);
|
|
5021
|
+
}
|
|
5022
|
+
onMounted(() => register());
|
|
5023
|
+
onBeforeUnmount(() => unregister());
|
|
5015
5024
|
const isSelected = computed(() => {
|
|
5016
5025
|
return group.isSelected(id);
|
|
5017
5026
|
});
|
|
@@ -5039,7 +5048,9 @@ function useGroupItem(props, injectKey) {
|
|
|
5039
5048
|
selectedClass,
|
|
5040
5049
|
value,
|
|
5041
5050
|
disabled,
|
|
5042
|
-
group
|
|
5051
|
+
group,
|
|
5052
|
+
register,
|
|
5053
|
+
unregister
|
|
5043
5054
|
};
|
|
5044
5055
|
}
|
|
5045
5056
|
function useGroup(props, injectKey) {
|
|
@@ -6401,7 +6412,7 @@ const VBtn = genericComponent()({
|
|
|
6401
6412
|
});
|
|
6402
6413
|
function onClick(e) {
|
|
6403
6414
|
if (isDisabled.value || link.isLink.value && (e.metaKey || e.ctrlKey || e.shiftKey || e.button !== 0 || attrs.target === '_blank')) return;
|
|
6404
|
-
if (link.
|
|
6415
|
+
if (link.isRouterLink.value) {
|
|
6405
6416
|
link.navigate?.(e);
|
|
6406
6417
|
} else {
|
|
6407
6418
|
// Group active state for links is handled by useSelectLink
|
|
@@ -8847,6 +8858,7 @@ const VChip = genericComponent()({
|
|
|
8847
8858
|
} = provideTheme(props);
|
|
8848
8859
|
const isActive = useProxiedModel(props, 'modelValue');
|
|
8849
8860
|
const group = useGroupItem(props, VChipGroupSymbol, false);
|
|
8861
|
+
const slideGroup = useGroupItem(props, VSlideGroupSymbol, false);
|
|
8850
8862
|
const link = useLink(props, attrs);
|
|
8851
8863
|
const isLink = toRef(() => props.link !== false && link.isLink.value);
|
|
8852
8864
|
const isClickable = computed(() => !props.disabled && props.link !== false && (!!group || props.link || link.isClickable.value));
|
|
@@ -8860,6 +8872,15 @@ const VChip = genericComponent()({
|
|
|
8860
8872
|
emit('click:close', e);
|
|
8861
8873
|
}
|
|
8862
8874
|
}));
|
|
8875
|
+
watch(isActive, val => {
|
|
8876
|
+
if (val) {
|
|
8877
|
+
group?.register();
|
|
8878
|
+
slideGroup?.register();
|
|
8879
|
+
} else {
|
|
8880
|
+
group?.unregister();
|
|
8881
|
+
slideGroup?.unregister();
|
|
8882
|
+
}
|
|
8883
|
+
});
|
|
8863
8884
|
const {
|
|
8864
8885
|
colorClasses,
|
|
8865
8886
|
colorStyles,
|
|
@@ -10013,7 +10034,7 @@ const VListItem = genericComponent()({
|
|
|
10013
10034
|
const isLink = toRef(() => props.link !== false && link.isLink.value);
|
|
10014
10035
|
const isSelectable = computed(() => !!list && (root.selectable.value || root.activatable.value || props.value != null));
|
|
10015
10036
|
const isClickable = computed(() => !props.disabled && props.link !== false && (props.link || link.isClickable.value || isSelectable.value));
|
|
10016
|
-
const role = computed(() => list ? isSelectable.value ? 'option' : 'listitem' : undefined);
|
|
10037
|
+
const role = computed(() => list ? isLink.value ? 'link' : isSelectable.value ? 'option' : 'listitem' : undefined);
|
|
10017
10038
|
const ariaSelected = computed(() => {
|
|
10018
10039
|
if (!isSelectable.value) return undefined;
|
|
10019
10040
|
return root.activatable.value ? isActivated.value : root.selectable.value ? isSelected.value : isActive.value;
|
|
@@ -15041,10 +15062,11 @@ const VDialog = genericComponent()({
|
|
|
15041
15062
|
scopeId
|
|
15042
15063
|
} = useScopeId();
|
|
15043
15064
|
const overlay = ref();
|
|
15044
|
-
function onFocusin(e) {
|
|
15065
|
+
async function onFocusin(e) {
|
|
15045
15066
|
const before = e.relatedTarget;
|
|
15046
15067
|
const after = e.target;
|
|
15047
|
-
|
|
15068
|
+
await nextTick();
|
|
15069
|
+
if (isActive.value && before !== after && overlay.value?.contentEl &&
|
|
15048
15070
|
// We're the topmost dialog
|
|
15049
15071
|
overlay.value?.globalTop &&
|
|
15050
15072
|
// It isn't the document or the dialog body
|
|
@@ -15052,22 +15074,39 @@ const VDialog = genericComponent()({
|
|
|
15052
15074
|
// It isn't inside the dialog body
|
|
15053
15075
|
!overlay.value.contentEl.contains(after)) {
|
|
15054
15076
|
const focusable = focusableChildren(overlay.value.contentEl);
|
|
15055
|
-
|
|
15056
|
-
|
|
15057
|
-
|
|
15058
|
-
|
|
15059
|
-
|
|
15060
|
-
|
|
15061
|
-
|
|
15062
|
-
|
|
15077
|
+
focusable[0]?.focus();
|
|
15078
|
+
}
|
|
15079
|
+
}
|
|
15080
|
+
function onKeydown(e) {
|
|
15081
|
+
if (e.key !== 'Tab' || !overlay.value?.contentEl) return;
|
|
15082
|
+
const focusable = focusableChildren(overlay.value.contentEl);
|
|
15083
|
+
if (!focusable.length) return;
|
|
15084
|
+
const firstElement = focusable[0];
|
|
15085
|
+
const lastElement = focusable[focusable.length - 1];
|
|
15086
|
+
const active = document.activeElement;
|
|
15087
|
+
if (e.shiftKey && active === firstElement) {
|
|
15088
|
+
e.preventDefault();
|
|
15089
|
+
lastElement.focus();
|
|
15090
|
+
} else if (!e.shiftKey && active === lastElement) {
|
|
15091
|
+
e.preventDefault();
|
|
15092
|
+
firstElement.focus();
|
|
15063
15093
|
}
|
|
15064
15094
|
}
|
|
15065
15095
|
onBeforeUnmount(() => {
|
|
15066
15096
|
document.removeEventListener('focusin', onFocusin);
|
|
15097
|
+
document.removeEventListener('keydown', onKeydown);
|
|
15067
15098
|
});
|
|
15068
15099
|
if (IN_BROWSER) {
|
|
15069
15100
|
watch(() => isActive.value && props.retainFocus, val => {
|
|
15070
|
-
|
|
15101
|
+
if (val) {
|
|
15102
|
+
document.addEventListener('focusin', onFocusin, {
|
|
15103
|
+
once: true
|
|
15104
|
+
});
|
|
15105
|
+
document.addEventListener('keydown', onKeydown);
|
|
15106
|
+
} else {
|
|
15107
|
+
document.removeEventListener('focusin', onFocusin);
|
|
15108
|
+
document.removeEventListener('keydown', onKeydown);
|
|
15109
|
+
}
|
|
15071
15110
|
}, {
|
|
15072
15111
|
immediate: true
|
|
15073
15112
|
});
|
|
@@ -19455,6 +19494,7 @@ const VColorPicker = defineComponent({
|
|
|
19455
19494
|
// Types
|
|
19456
19495
|
|
|
19457
19496
|
const makeVComboboxProps = propsFactory({
|
|
19497
|
+
alwaysFilter: Boolean,
|
|
19458
19498
|
autoSelectFirst: {
|
|
19459
19499
|
type: [Boolean, String]
|
|
19460
19500
|
},
|
|
@@ -19554,7 +19594,7 @@ const VCombobox = genericComponent()({
|
|
|
19554
19594
|
const {
|
|
19555
19595
|
filteredItems,
|
|
19556
19596
|
getMatches
|
|
19557
|
-
} = useFilter(props, items, () => isPristine.value ?
|
|
19597
|
+
} = useFilter(props, items, () => props.alwaysFilter || !isPristine.value ? search.value : '');
|
|
19558
19598
|
const displayItems = computed(() => {
|
|
19559
19599
|
if (props.hideSelected) {
|
|
19560
19600
|
return filteredItems.value.filter(filteredItem => !model.value.some(s => s.value === filteredItem.value));
|
|
@@ -19601,6 +19641,7 @@ const VCombobox = genericComponent()({
|
|
|
19601
19641
|
const listEvents = useScrolling(listRef, vTextFieldRef);
|
|
19602
19642
|
function onClear(e) {
|
|
19603
19643
|
cleared = true;
|
|
19644
|
+
nextTick(() => cleared = false);
|
|
19604
19645
|
if (props.openOnClear) {
|
|
19605
19646
|
menu.value = true;
|
|
19606
19647
|
}
|
|
@@ -21834,6 +21875,7 @@ const makeVDataTableHeadersProps = propsFactory({
|
|
|
21834
21875
|
},
|
|
21835
21876
|
/** @deprecated */
|
|
21836
21877
|
sticky: Boolean,
|
|
21878
|
+
...makeDensityProps(),
|
|
21837
21879
|
...makeDisplayProps(),
|
|
21838
21880
|
...makeLoaderProps()
|
|
21839
21881
|
}, 'VDataTableHeaders');
|
|
@@ -21958,6 +22000,7 @@ const VDataTableHeaders = genericComponent()({
|
|
|
21958
22000
|
if (isEmpty) return '';
|
|
21959
22001
|
if (column.key === 'data-table-select') {
|
|
21960
22002
|
return slots['header.data-table-select']?.(columnSlotProps) ?? (showSelectAll.value && createVNode(VCheckboxBtn, {
|
|
22003
|
+
"density": props.density,
|
|
21961
22004
|
"modelValue": allSelected.value,
|
|
21962
22005
|
"indeterminate": someSelected.value && !allSelected.value,
|
|
21963
22006
|
"onUpdate:modelValue": selectAll
|
|
@@ -22058,7 +22101,8 @@ const makeVDataTableGroupHeaderRowProps = propsFactory({
|
|
|
22058
22101
|
groupExpandIcon: {
|
|
22059
22102
|
type: IconValue,
|
|
22060
22103
|
default: '$tableGroupExpand'
|
|
22061
|
-
}
|
|
22104
|
+
},
|
|
22105
|
+
...makeDensityProps()
|
|
22062
22106
|
}, 'VDataTableGroupHeaderRow');
|
|
22063
22107
|
const VDataTableGroupHeaderRow = genericComponent()({
|
|
22064
22108
|
name: 'VDataTableGroupHeaderRow',
|
|
@@ -22126,6 +22170,7 @@ const VDataTableGroupHeaderRow = genericComponent()({
|
|
|
22126
22170
|
"noPadding": true
|
|
22127
22171
|
}, {
|
|
22128
22172
|
default: () => [createVNode(VCheckboxBtn, {
|
|
22173
|
+
"density": props.density,
|
|
22129
22174
|
"modelValue": modelValue,
|
|
22130
22175
|
"indeterminate": indeterminate,
|
|
22131
22176
|
"onUpdate:modelValue": selectGroup
|
|
@@ -22154,6 +22199,7 @@ const makeVDataTableRowProps = propsFactory({
|
|
|
22154
22199
|
onClick: EventProp(),
|
|
22155
22200
|
onContextmenu: EventProp(),
|
|
22156
22201
|
onDblclick: EventProp(),
|
|
22202
|
+
...makeDensityProps(),
|
|
22157
22203
|
...makeDisplayProps()
|
|
22158
22204
|
}, 'VDataTableRow');
|
|
22159
22205
|
const VDataTableRow = genericComponent()({
|
|
@@ -22262,6 +22308,7 @@ const VDataTableRow = genericComponent()({
|
|
|
22262
22308
|
}
|
|
22263
22309
|
}) ?? createVNode(VCheckboxBtn, {
|
|
22264
22310
|
"disabled": !item.selectable,
|
|
22311
|
+
"density": props.density,
|
|
22265
22312
|
"modelValue": isSelected([item]),
|
|
22266
22313
|
"onClick": withModifiers(event => toggleSelect(item, props.index, event), ['stop'])
|
|
22267
22314
|
}, null);
|
|
@@ -22314,8 +22361,8 @@ const makeVDataTableRowsProps = propsFactory({
|
|
|
22314
22361
|
},
|
|
22315
22362
|
rowProps: [Object, Function],
|
|
22316
22363
|
cellProps: [Object, Function],
|
|
22317
|
-
...pick(makeVDataTableRowProps(), ['collapseIcon', 'expandIcon']),
|
|
22318
|
-
...pick(makeVDataTableGroupHeaderRowProps(), ['groupCollapseIcon', 'groupExpandIcon']),
|
|
22364
|
+
...pick(makeVDataTableRowProps(), ['collapseIcon', 'expandIcon', 'density']),
|
|
22365
|
+
...pick(makeVDataTableGroupHeaderRowProps(), ['groupCollapseIcon', 'groupExpandIcon', 'density']),
|
|
22319
22366
|
...makeDisplayProps()
|
|
22320
22367
|
}, 'VDataTableRows');
|
|
22321
22368
|
const VDataTableRows = genericComponent()({
|
|
@@ -22350,7 +22397,7 @@ const VDataTableRows = genericComponent()({
|
|
|
22350
22397
|
mobile
|
|
22351
22398
|
} = useDisplay(props);
|
|
22352
22399
|
useRender(() => {
|
|
22353
|
-
const groupHeaderRowProps = pick(props, ['groupCollapseIcon', 'groupExpandIcon']);
|
|
22400
|
+
const groupHeaderRowProps = pick(props, ['groupCollapseIcon', 'groupExpandIcon', 'density']);
|
|
22354
22401
|
if (props.loading && (!props.items.length || slots.loading)) {
|
|
22355
22402
|
return createElementVNode("tr", {
|
|
22356
22403
|
"class": "v-data-table-rows-loading",
|
|
@@ -22416,6 +22463,7 @@ const VDataTableRows = genericComponent()({
|
|
|
22416
22463
|
cellProps: props.cellProps,
|
|
22417
22464
|
collapseIcon: props.collapseIcon,
|
|
22418
22465
|
expandIcon: props.expandIcon,
|
|
22466
|
+
density: props.density,
|
|
22419
22467
|
mobile: mobile.value
|
|
22420
22468
|
}, getPrefixedEventHandlers(attrs, ':row', () => slotProps), typeof props.rowProps === 'function' ? props.rowProps({
|
|
22421
22469
|
item: slotProps.item,
|
|
@@ -22432,6 +22480,8 @@ const VDataTableRows = genericComponent()({
|
|
|
22432
22480
|
}
|
|
22433
22481
|
});
|
|
22434
22482
|
|
|
22483
|
+
// Types
|
|
22484
|
+
|
|
22435
22485
|
const makeVTableProps = propsFactory({
|
|
22436
22486
|
fixedHeader: Boolean,
|
|
22437
22487
|
fixedFooter: Boolean,
|
|
@@ -22461,37 +22511,26 @@ const VTable = genericComponent()({
|
|
|
22461
22511
|
const {
|
|
22462
22512
|
densityClasses
|
|
22463
22513
|
} = useDensity(props);
|
|
22464
|
-
useRender(() => {
|
|
22465
|
-
|
|
22466
|
-
|
|
22467
|
-
|
|
22514
|
+
useRender(() => createVNode(props.tag, {
|
|
22515
|
+
"class": normalizeClass(['v-table', {
|
|
22516
|
+
'v-table--fixed-height': !!props.height,
|
|
22517
|
+
'v-table--fixed-header': props.fixedHeader,
|
|
22518
|
+
'v-table--fixed-footer': props.fixedFooter,
|
|
22519
|
+
'v-table--has-top': !!slots.top,
|
|
22520
|
+
'v-table--has-bottom': !!slots.bottom,
|
|
22521
|
+
'v-table--hover': props.hover,
|
|
22522
|
+
'v-table--striped-even': props.striped === 'even',
|
|
22523
|
+
'v-table--striped-odd': props.striped === 'odd'
|
|
22524
|
+
}, themeClasses.value, densityClasses.value, props.class]),
|
|
22525
|
+
"style": normalizeStyle(props.style)
|
|
22526
|
+
}, {
|
|
22527
|
+
default: () => [slots.top?.(), slots.default ? createElementVNode("div", {
|
|
22528
|
+
"class": "v-table__wrapper",
|
|
22529
|
+
"style": {
|
|
22530
|
+
height: convertToUnit(props.height)
|
|
22468
22531
|
}
|
|
22469
|
-
}
|
|
22470
|
-
|
|
22471
|
-
"class": normalizeClass(['v-table', {
|
|
22472
|
-
'v-table--fixed-height': !!props.height,
|
|
22473
|
-
'v-table--fixed-header': props.fixedHeader,
|
|
22474
|
-
'v-table--fixed-footer': props.fixedFooter,
|
|
22475
|
-
'v-table--has-top': !!slots.top,
|
|
22476
|
-
'v-table--has-bottom': !!slots.bottom,
|
|
22477
|
-
'v-table--hover': props.hover,
|
|
22478
|
-
'v-table--striped-even': props.striped === 'even',
|
|
22479
|
-
'v-table--striped-odd': props.striped === 'odd'
|
|
22480
|
-
}, themeClasses.value, densityClasses.value, props.class]),
|
|
22481
|
-
"style": normalizeStyle(props.style)
|
|
22482
|
-
}, {
|
|
22483
|
-
default: () => [slots.top?.(), createVNode(VDefaultsProvider, {
|
|
22484
|
-
"defaults": tableContentDefaults
|
|
22485
|
-
}, {
|
|
22486
|
-
default: () => [slots.default ? createElementVNode("div", {
|
|
22487
|
-
"class": "v-table__wrapper",
|
|
22488
|
-
"style": {
|
|
22489
|
-
height: convertToUnit(props.height)
|
|
22490
|
-
}
|
|
22491
|
-
}, [createElementVNode("table", null, [slots.default()])]) : slots.wrapper?.()]
|
|
22492
|
-
}), slots.bottom?.()]
|
|
22493
|
-
});
|
|
22494
|
-
});
|
|
22532
|
+
}, [createElementVNode("table", null, [slots.default()])]) : slots.wrapper?.(), slots.bottom?.()]
|
|
22533
|
+
}));
|
|
22495
22534
|
return {};
|
|
22496
22535
|
}
|
|
22497
22536
|
});
|
|
@@ -25274,7 +25313,8 @@ const VFileInput = genericComponent()({
|
|
|
25274
25313
|
'onClick:clear': onClear
|
|
25275
25314
|
};
|
|
25276
25315
|
const expectsDirectory = attrs.webkitdirectory !== undefined && attrs.webkitdirectory !== false;
|
|
25277
|
-
const
|
|
25316
|
+
const acceptFallback = attrs.accept ? String(attrs.accept) : undefined;
|
|
25317
|
+
const inputAccept = expectsDirectory ? undefined : props.filterByType ?? acceptFallback;
|
|
25278
25318
|
return createVNode(VInput, mergeProps({
|
|
25279
25319
|
"ref": vInputRef,
|
|
25280
25320
|
"modelValue": props.multiple ? model.value : model.value[0],
|
|
@@ -31529,6 +31569,7 @@ const VTreeviewChildren = genericComponent()({
|
|
|
31529
31569
|
...itemProps,
|
|
31530
31570
|
...activatorProps,
|
|
31531
31571
|
value: itemProps?.value,
|
|
31572
|
+
indentLines: indentLines.node,
|
|
31532
31573
|
onToggleExpand: [() => checkChildren(item), activatorProps.onClick],
|
|
31533
31574
|
onClick: isClickOnOpen.value ? [() => checkChildren(item), activatorProps.onClick] : () => selectItem(activatorItems.value[index]?.select, !activatorItems.value[index]?.isSelected)
|
|
31534
31575
|
};
|
|
@@ -31542,7 +31583,6 @@ const VTreeviewChildren = genericComponent()({
|
|
|
31542
31583
|
}, listItemProps, {
|
|
31543
31584
|
"hasCustomPrepend": !!slots.prepend,
|
|
31544
31585
|
"hideActions": props.hideActions,
|
|
31545
|
-
"indentLines": indentLines.node,
|
|
31546
31586
|
"value": props.returnObject ? item.raw : itemProps.value,
|
|
31547
31587
|
"loading": loading
|
|
31548
31588
|
}), slotsWithItem));
|
|
@@ -32237,7 +32277,7 @@ function createVuetify$1() {
|
|
|
32237
32277
|
};
|
|
32238
32278
|
});
|
|
32239
32279
|
}
|
|
32240
|
-
const version$1 = "3.10.
|
|
32280
|
+
const version$1 = "3.10.5";
|
|
32241
32281
|
createVuetify$1.version = version$1;
|
|
32242
32282
|
|
|
32243
32283
|
// Vue's inject() can only be used in setup
|
|
@@ -32262,7 +32302,7 @@ const createVuetify = function () {
|
|
|
32262
32302
|
...options
|
|
32263
32303
|
});
|
|
32264
32304
|
};
|
|
32265
|
-
const version = "3.10.
|
|
32305
|
+
const version = "3.10.5";
|
|
32266
32306
|
createVuetify.version = version;
|
|
32267
32307
|
|
|
32268
32308
|
export { index as blueprints, components, createVuetify, directives, useDate, useDefaults, useDisplay, useGoTo, useHotkey, useLayout, useLocale, useMask, useRtl, useTheme, version };
|