@vuetify/nightly 3.8.1-next.2025-04-15 → 3.8.2-master.2025-04-17
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 +5 -27
- package/dist/json/attributes.json +3031 -3031
- package/dist/json/importMap-labs.json +36 -36
- package/dist/json/importMap.json +150 -150
- package/dist/json/web-types.json +5537 -5577
- package/dist/vuetify-labs.cjs +197 -346
- package/dist/vuetify-labs.css +25469 -23739
- package/dist/vuetify-labs.d.ts +677 -274
- package/dist/vuetify-labs.esm.js +198 -347
- package/dist/vuetify-labs.esm.js.map +1 -1
- package/dist/vuetify-labs.js +197 -346
- package/dist/vuetify-labs.min.css +4 -3
- package/dist/vuetify.cjs +173 -328
- package/dist/vuetify.cjs.map +1 -1
- package/dist/vuetify.css +24041 -22315
- package/dist/vuetify.d.ts +680 -277
- package/dist/vuetify.esm.js +174 -329
- package/dist/vuetify.esm.js.map +1 -1
- package/dist/vuetify.js +173 -328
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +4 -3
- package/dist/vuetify.min.js +1161 -1152
- package/dist/vuetify.min.js.map +1 -1
- package/lib/blueprints/md3.js +18 -5
- package/lib/blueprints/md3.js.map +1 -1
- package/lib/components/VAlert/VAlert.css +215 -207
- package/lib/components/VApp/VApp.css +15 -16
- package/lib/components/VAppBar/VAppBar.css +12 -14
- package/lib/components/VAutocomplete/VAutocomplete.css +84 -85
- package/lib/components/VAutocomplete/VAutocomplete.d.ts +9 -18
- package/lib/components/VAutocomplete/VAutocomplete.js +3 -6
- package/lib/components/VAutocomplete/VAutocomplete.js.map +1 -1
- package/lib/components/VAvatar/VAvatar.css +106 -108
- package/lib/components/VBadge/VBadge.css +77 -77
- package/lib/components/VBanner/VBanner.css +166 -161
- package/lib/components/VBottomNavigation/VBottomNavigation.css +64 -65
- package/lib/components/VBottomSheet/VBottomSheet.css +31 -34
- package/lib/components/VBreadcrumbs/VBreadcrumbs.css +57 -54
- package/lib/components/VBtn/VBtn.css +408 -385
- package/lib/components/VBtn/VBtn.sass +4 -4
- package/lib/components/VBtnGroup/VBtnGroup.css +64 -63
- package/lib/components/VBtnToggle/VBtnToggle.css +14 -16
- package/lib/components/VCard/VCard.css +302 -294
- package/lib/components/VCarousel/VCarousel.css +65 -63
- package/lib/components/VCarousel/VCarousel.sass +1 -1
- package/lib/components/VCheckbox/VCheckbox.css +5 -7
- package/lib/components/VChip/VChip.css +411 -378
- package/lib/components/VChipGroup/VChipGroup.css +18 -19
- package/lib/components/VCode/VCode.css +11 -10
- package/lib/components/VCode/VCode.sass +3 -0
- package/lib/components/VColorPicker/VColorPicker.css +23 -23
- package/lib/components/VColorPicker/VColorPickerCanvas.css +22 -24
- package/lib/components/VColorPicker/VColorPickerEdit.css +28 -29
- package/lib/components/VColorPicker/VColorPickerPreview.css +67 -69
- package/lib/components/VColorPicker/VColorPickerPreview.sass +2 -4
- package/lib/components/VColorPicker/VColorPickerSwatches.css +34 -34
- package/lib/components/VCombobox/VCombobox.css +84 -85
- package/lib/components/VCombobox/VCombobox.d.ts +9 -18
- package/lib/components/VCombobox/VCombobox.js +3 -6
- package/lib/components/VCombobox/VCombobox.js.map +1 -1
- package/lib/components/VCounter/VCounter.css +5 -7
- package/lib/components/VDataTable/VDataTable.css +186 -189
- package/lib/components/VDataTable/VDataTable.sass +11 -21
- package/lib/components/VDataTable/VDataTableFooter.css +31 -33
- package/lib/components/VDatePicker/VDatePicker.css +6 -8
- package/lib/components/VDatePicker/VDatePicker.d.ts +7 -7
- package/lib/components/VDatePicker/VDatePickerControls.css +57 -55
- package/lib/components/VDatePicker/VDatePickerHeader.css +60 -56
- package/lib/components/VDatePicker/VDatePickerMonth.css +55 -51
- package/lib/components/VDatePicker/VDatePickerMonth.d.ts +7 -7
- package/lib/components/VDatePicker/VDatePickerMonths.css +19 -20
- package/lib/components/VDatePicker/VDatePickerYears.css +15 -16
- package/lib/components/VDialog/VDialog.css +98 -98
- package/lib/components/VDivider/VDivider.css +52 -52
- package/lib/components/VEmptyState/VEmptyState.css +67 -62
- package/lib/components/VExpansionPanel/VExpansionPanel.css +209 -203
- package/lib/components/VExpansionPanel/VExpansionPanel.sass +25 -27
- package/lib/components/VFab/VFab.css +73 -78
- package/lib/components/VFab/VFab.sass +4 -5
- package/lib/components/VField/VField.css +589 -548
- package/lib/components/VFileInput/VFileInput.css +28 -30
- package/lib/components/VFooter/VFooter.css +36 -38
- package/lib/components/VForm/VForm.d.ts +531 -111
- package/lib/components/VForm/VForm.js +1 -11
- package/lib/components/VForm/VForm.js.map +1 -1
- package/lib/components/VGrid/VGrid.css +592 -565
- package/lib/components/VIcon/VIcon.css +53 -52
- package/lib/components/VImg/VImg.css +51 -50
- package/lib/components/VInfiniteScroll/VInfiniteScroll.css +37 -36
- package/lib/components/VInput/VInput.css +147 -136
- package/lib/components/VItemGroup/VItemGroup.css +5 -7
- package/lib/components/VKbd/VKbd.css +11 -13
- package/lib/components/VLabel/VLabel.css +15 -16
- package/lib/components/VLayout/VLayout.css +8 -10
- package/lib/components/VLayout/VLayoutItem.css +7 -8
- package/lib/components/VList/VList.css +108 -104
- package/lib/components/VList/VList.sass +1 -1
- package/lib/components/VList/VListItem.css +452 -440
- package/lib/components/VList/VListItem.sass +1 -2
- package/lib/components/VLocaleProvider/VLocaleProvider.css +2 -4
- package/lib/components/VMain/VMain.css +30 -32
- package/lib/components/VMenu/VMenu.css +19 -21
- package/lib/components/VMessages/VMessages.css +15 -17
- package/lib/components/VNavigationDrawer/VNavigationDrawer.css +104 -102
- package/lib/components/VNumberInput/VNumberInput.css +46 -48
- package/lib/components/VOtpInput/VOtpInput.css +58 -56
- package/lib/components/VOverlay/VOverlay.css +64 -61
- package/lib/components/VOverlay/VOverlay.sass +13 -14
- package/lib/components/VPagination/VPagination.css +8 -10
- package/lib/components/VParallax/VParallax.css +6 -8
- package/lib/components/VProgressCircular/VProgressCircular.css +101 -95
- package/lib/components/VProgressLinear/VProgressLinear.css +222 -209
- package/lib/components/VRadioGroup/VRadioGroup.css +12 -14
- package/lib/components/VRating/VRating.css +53 -52
- package/lib/components/VResponsive/VResponsive.css +26 -25
- package/lib/components/VSelect/VSelect.css +51 -53
- package/lib/components/VSelect/VSelect.d.ts +9 -18
- package/lib/components/VSelect/VSelect.js +3 -6
- package/lib/components/VSelect/VSelect.js.map +1 -1
- package/lib/components/VSelectionControl/VSelectionControl.css +100 -98
- package/lib/components/VSelectionControlGroup/VSelectionControlGroup.css +8 -10
- package/lib/components/VSheet/VSheet.css +36 -38
- package/lib/components/VSkeletonLoader/VSkeletonLoader.css +224 -225
- package/lib/components/VSlideGroup/VSlideGroup.css +55 -53
- package/lib/components/VSlider/VSlider.css +57 -53
- package/lib/components/VSlider/VSliderThumb.css +153 -142
- package/lib/components/VSlider/VSliderTrack.css +174 -155
- package/lib/components/VSnackbar/VSnackbar.css +140 -140
- package/lib/components/VSpeedDial/VSpeedDial.css +41 -43
- package/lib/components/VStepper/VStepper.css +56 -55
- package/lib/components/VStepper/VStepperItem.css +115 -112
- package/lib/components/VSwitch/VSwitch.css +139 -129
- package/lib/components/VSystemBar/VSystemBar.css +43 -45
- package/lib/components/VTable/VTable.css +141 -140
- package/lib/components/VTable/VTable.sass +2 -4
- package/lib/components/VTabs/VTab.css +29 -30
- package/lib/components/VTabs/VTabs.css +65 -59
- package/lib/components/VTextField/VTextField.css +85 -77
- package/lib/components/VTextarea/VTextarea.css +40 -48
- package/lib/components/VTextarea/VTextarea.sass +2 -4
- package/lib/components/VThemeProvider/VThemeProvider.css +3 -5
- package/lib/components/VTimeline/VTimeline.css +427 -388
- package/lib/components/VToolbar/VToolbar.css +144 -137
- package/lib/components/VTooltip/VTooltip.css +23 -27
- package/lib/components/VTooltip/VTooltip.sass +6 -8
- package/lib/components/VVirtualScroll/VVirtualScroll.css +9 -11
- package/lib/components/VWindow/VWindow.css +70 -73
- package/lib/composables/calendar.d.ts +2 -2
- package/lib/composables/calendar.js +5 -7
- package/lib/composables/calendar.js.map +1 -1
- package/lib/composables/date/DateAdapter.d.ts +1 -0
- package/lib/composables/date/DateAdapter.js.map +1 -1
- package/lib/composables/date/adapters/vuetify.d.ts +1 -0
- package/lib/composables/date/adapters/vuetify.js +101 -160
- package/lib/composables/date/adapters/vuetify.js.map +1 -1
- package/lib/composables/date/date.d.ts +1 -1
- package/lib/composables/date/date.js +0 -20
- package/lib/composables/date/date.js.map +1 -1
- package/lib/composables/filter.js +2 -1
- package/lib/composables/filter.js.map +1 -1
- package/lib/composables/theme.d.ts +1 -6
- package/lib/composables/theme.js +30 -98
- package/lib/composables/theme.js.map +1 -1
- package/lib/composables/validation.js +5 -0
- package/lib/composables/validation.js.map +1 -1
- package/lib/composables/virtual.js +1 -6
- package/lib/composables/virtual.js.map +1 -1
- package/lib/directives/ripple/VRipple.css +36 -38
- package/lib/entry-bundler.d.ts +1 -0
- package/lib/entry-bundler.js +1 -1
- package/lib/entry-bundler.js.map +1 -1
- package/lib/framework.d.ts +64 -66
- package/lib/framework.js +1 -1
- package/lib/framework.js.map +1 -1
- package/lib/labs/VCalendar/VCalendar.css +225 -219
- package/lib/labs/VCalendar/VCalendar.d.ts +7 -7
- package/lib/labs/VCalendar/VCalendarDay.css +32 -33
- package/lib/labs/VCalendar/VCalendarHeader.css +13 -13
- package/lib/labs/VCalendar/VCalendarInterval.css +42 -43
- package/lib/labs/VCalendar/VCalendarInterval.js +25 -19
- package/lib/labs/VCalendar/VCalendarInterval.js.map +1 -1
- package/lib/labs/VCalendar/VCalendarIntervalEvent.css +5 -7
- package/lib/labs/VCalendar/VCalendarMonthDay.css +58 -61
- package/lib/labs/VCalendar/VCalendarMonthDay.sass +2 -3
- package/lib/labs/VDateInput/VDateInput.d.ts +7 -7
- package/lib/labs/VFileUpload/VFileUpload.css +77 -74
- package/lib/labs/VIconBtn/VIconBtn.css +164 -162
- package/lib/labs/VPicker/VPicker.css +63 -58
- package/lib/labs/VTimePicker/VTimePicker.css +7 -9
- package/lib/labs/VTimePicker/VTimePickerClock.css +129 -126
- package/lib/labs/VTimePicker/VTimePickerControls.css +103 -102
- package/lib/labs/VTreeview/VTreeviewItem.css +28 -30
- package/lib/labs/VTreeview/VTreeviewItem.sass +2 -3
- package/lib/labs/entry-bundler.d.ts +1 -0
- package/lib/styles/elements/_global.sass +1 -1
- package/lib/styles/generic/_colors.scss +3 -3
- package/lib/styles/generic/_layers.scss +1 -13
- package/lib/styles/generic/_reset.scss +1 -0
- package/lib/styles/generic/_transitions.scss +32 -32
- package/lib/styles/main.css +16142 -14667
- package/lib/styles/settings/_utilities.scss +5 -0
- package/lib/styles/settings/_variables.scss +2 -1
- package/lib/styles/tools/_bootable.sass +3 -0
- package/lib/styles/tools/_border.sass +4 -4
- package/lib/styles/tools/_display.sass +10 -0
- package/lib/styles/tools/_elevation.sass +2 -2
- package/lib/styles/tools/_index.sass +2 -0
- package/lib/styles/tools/_layer.scss +2 -4
- package/lib/styles/tools/_position.sass +2 -2
- package/lib/styles/tools/_radius.sass +10 -0
- package/lib/styles/tools/_rounded.sass +2 -2
- package/lib/styles/tools/_utilities.sass +5 -1
- package/lib/styles/utilities/_elevation.scss +1 -1
- package/lib/util/globals.d.ts +0 -1
- package/lib/util/globals.js +0 -1
- package/lib/util/globals.js.map +1 -1
- package/package.json +46 -45
@@ -1,14 +1,14 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
1
|
+
.v-calendar-header {
|
2
|
+
align-items: center;
|
3
|
+
display: flex;
|
4
|
+
min-height: 64px;
|
5
|
+
}
|
6
|
+
|
7
|
+
.v-calendar-header__today {
|
8
|
+
margin-inline-end: 24px;
|
9
|
+
}
|
10
|
+
|
11
|
+
.v-calendar-header__title {
|
12
|
+
font-size: 1.5rem;
|
13
|
+
margin-inline-start: 24px;
|
14
14
|
}
|
@@ -1,44 +1,43 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
}
|
1
|
+
.v-calendar-day__row-with-label {
|
2
|
+
display: grid;
|
3
|
+
grid-template-columns: 48px 8px 1fr;
|
4
|
+
border-right: thin solid #e0e0e0;
|
5
|
+
}
|
6
|
+
.v-calendar-day__row-with-label .v-calendar-day__row-hairline {
|
7
|
+
position: relative;
|
8
|
+
border-right: thin solid #e0e0e0;
|
9
|
+
}
|
10
|
+
.v-calendar-day__row-with-label .v-calendar-day__row-hairline:after {
|
11
|
+
content: "";
|
12
|
+
border-bottom: thin solid #e0e0e0;
|
13
|
+
position: absolute;
|
14
|
+
width: 100%;
|
15
|
+
margin-top: -1px;
|
16
|
+
z-index: 3;
|
17
|
+
pointer-events: none;
|
18
|
+
}
|
19
|
+
.v-calendar-day__row-with-label .v-calendar-day__row-label {
|
20
|
+
font-size: 10px;
|
21
|
+
text-align: center;
|
22
|
+
position: relative;
|
23
|
+
top: -8px;
|
24
|
+
}
|
25
|
+
.v-calendar-day__row-with-label .v-calendar-day__row-content {
|
26
|
+
border-bottom: thin solid #e0e0e0;
|
27
|
+
}
|
28
|
+
.v-calendar-day__row-with-label .v-calendar-day__row-content.v-calendar-day__row-content-through {
|
29
|
+
border-bottom: none;
|
30
|
+
}
|
31
|
+
|
32
|
+
.v-calendar-day__row-without-label {
|
33
|
+
display: grid;
|
34
|
+
grid-template-columns: 1fr;
|
35
|
+
border-right: thin solid #e0e0e0;
|
36
|
+
}
|
37
|
+
.v-calendar-day__row-without-label .v-calendar-day__row-content {
|
38
|
+
overflow: hidden;
|
39
|
+
border-bottom: thin solid #e0e0e0;
|
40
|
+
}
|
41
|
+
.v-calendar-day__row-without-label .v-calendar-day__row-content.v-calendar-day__row-content-through {
|
42
|
+
border-bottom: none;
|
44
43
|
}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { createVNode as _createVNode } from "vue";
|
1
|
+
import { resolveComponent as _resolveComponent, createVNode as _createVNode } from "vue";
|
2
2
|
// Styles
|
3
3
|
import "./VCalendarInterval.css";
|
4
4
|
|
@@ -73,37 +73,43 @@ export const VCalendarInterval = genericComponent()({
|
|
73
73
|
"style": `height: ${convertToUnit(props.intervalHeight)}`
|
74
74
|
}, [_createVNode("div", {
|
75
75
|
"class": "v-calendar-day__row-label"
|
76
|
-
}, [_createVNode("slot", {
|
76
|
+
}, [_createVNode(_resolveComponent("slot"), {
|
77
77
|
"name": "intervalFormat",
|
78
78
|
"interval": interval.value
|
79
|
-
},
|
79
|
+
}, {
|
80
|
+
default: () => [props.index ? props.intervalFormat ? typeof props.intervalFormat === 'string' ? adapter.format(interval.value.start, 'hours12h') : props.intervalFormat(interval.value) : interval.value.label : '']
|
81
|
+
})]), _createVNode("div", {
|
80
82
|
"class": "v-calendar-day__row-hairline"
|
81
83
|
}, null), _createVNode("div", {
|
82
84
|
"class": ['v-calendar-day__row-content', interval.value.events.some(e => !e.last) ? 'v-calendar-day__row-content-through' : '']
|
83
|
-
}, [_createVNode("slot", {
|
85
|
+
}, [_createVNode(_resolveComponent("slot"), {
|
84
86
|
"name": "intervalBody",
|
85
87
|
"interval": interval.value
|
86
|
-
},
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
88
|
+
}, {
|
89
|
+
default: () => [interval.value.events?.map(event => _createVNode(VCalendarIntervalEvent, {
|
90
|
+
"event": event,
|
91
|
+
"interval": interval.value,
|
92
|
+
"intervalDivisions": props.intervalDivisions,
|
93
|
+
"intervalDuration": props.intervalDuration,
|
94
|
+
"intervalHeight": props.intervalHeight
|
95
|
+
}, null))]
|
96
|
+
})])]) : _createVNode("div", {
|
93
97
|
"class": "v-calendar-day__row-without-label",
|
94
98
|
"style": `height: ${convertToUnit(props.intervalHeight)}`
|
95
99
|
}, [_createVNode("div", {
|
96
100
|
"class": ['v-calendar-day__row-content', interval.value.events.some(e => !e.last) ? 'v-calendar-day__row-content-through' : '']
|
97
|
-
}, [_createVNode("slot", {
|
101
|
+
}, [_createVNode(_resolveComponent("slot"), {
|
98
102
|
"name": "intervalBody",
|
99
103
|
"interval": interval.value
|
100
|
-
},
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
104
|
+
}, {
|
105
|
+
default: () => [interval.value.events?.filter(event => !event.allDay).map(event => _createVNode(VCalendarIntervalEvent, {
|
106
|
+
"event": event,
|
107
|
+
"interval": interval.value,
|
108
|
+
"intervalDivisions": props.intervalDivisions,
|
109
|
+
"intervalDuration": props.intervalDuration,
|
110
|
+
"intervalHeight": props.intervalHeight
|
111
|
+
}, null))]
|
112
|
+
})])]);
|
107
113
|
});
|
108
114
|
return {
|
109
115
|
interval
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"VCalendarInterval.js","names":["VCalendarIntervalEvent","useDate","computed","convertToUnit","genericComponent","propsFactory","useRender","makeVCalendarIntervalProps","day","type","Object","default","dayIndex","Number","events","Array","intervalDivisions","intervalDuration","intervalHeight","intervalFormat","String","Function","intervalStart","VCalendarInterval","name","props","index","required","setup","_ref","emit","slots","adapter","interval","start","addMinutes","startOfDay","date","end","label","format","filter","e","allDay","isEqual","isWithinRange","map","first","last","_createVNode","value","some","event"],"sources":["../../../src/labs/VCalendar/VCalendarInterval.tsx"],"sourcesContent":["// Styles\nimport './VCalendarInterval.sass'\n\n// Components\nimport { VCalendarIntervalEvent } from './VCalendarIntervalEvent'\n\n// Composables\nimport { useDate } from '@/composables/date'\n\n// Utilities\nimport { computed } from 'vue'\nimport { convertToUnit, genericComponent, propsFactory, useRender } from '@/util'\n\nexport const makeVCalendarIntervalProps = propsFactory({\n day: {\n type: Object,\n default: () => ({}),\n },\n dayIndex: Number,\n events: Array<any>,\n intervalDivisions: {\n type: Number,\n default: 2,\n },\n intervalDuration: {\n type: Number,\n default: 60,\n },\n intervalHeight: {\n type: Number,\n default: 48,\n },\n intervalFormat: {\n type: [String, Function],\n default: 'fullTime12h',\n },\n intervalStart: {\n type: Number,\n default: 0,\n },\n}, 'VCalendarInterval')\n\nexport const VCalendarInterval = genericComponent()({\n name: 'VCalendarInterval',\n\n props: {\n index: {\n type: Number,\n required: true,\n },\n\n ...makeVCalendarIntervalProps(),\n },\n\n setup (props, { emit, slots }) {\n const adapter = useDate()\n const interval = computed(() => {\n const start = adapter.addMinutes(adapter.startOfDay(props.day.date), (props.intervalDuration * (props.index + props.intervalStart)))\n const end = adapter.addMinutes(\n adapter.startOfDay(props.day.date),\n (props.intervalDuration * (props.index + props.intervalStart + 1)) - 1\n )\n return {\n ...props.day,\n label: adapter.format(start, 'fullTime24h'),\n start,\n end,\n events: props.events\n ? props.events\n .filter(e => !e.allDay &&\n (adapter.isEqual(start, e.start) ||\n adapter.isWithinRange(e.start, [start, end]) ||\n adapter.isWithinRange(start, [e.start, e.end]) ||\n adapter.isEqual(end, e.end))\n )\n .map(e => {\n return {\n ...e,\n first: adapter.isEqual(start, e.start) || adapter.isWithinRange(e.start, [start, end]),\n last: adapter.isEqual(end, e.end) || adapter.isWithinRange(e.end, [start, end]),\n }\n })\n : [],\n }\n })\n\n useRender(() => {\n return (\n props.dayIndex === 0 ? (\n <div class=\"v-calendar-day__row-with-label\" style={ `height: ${convertToUnit(props.intervalHeight)}` }>\n <div class=\"v-calendar-day__row-label\">\n <slot name=\"intervalFormat\" interval={ interval.value }>\n { props.index\n ? props.intervalFormat\n ? typeof props.intervalFormat === 'string'\n ? adapter.format(interval.value.start, 'hours12h')\n : props.intervalFormat(interval.value)\n : interval.value.label\n : ''\n }\n </slot>\n </div>\n <div class=\"v-calendar-day__row-hairline\"></div>\n <div class={['v-calendar-day__row-content', interval.value.events.some(e => !e.last)\n ? 'v-calendar-day__row-content-through'\n : '']}\n >\n <slot name=\"intervalBody\" interval={ interval.value }>\n { interval.value.events?.map(event => (\n <VCalendarIntervalEvent\n event={ event }\n interval={ interval.value }\n intervalDivisions={ props.intervalDivisions }\n intervalDuration={ props.intervalDuration }\n intervalHeight={ props.intervalHeight }\n />\n ))}\n </slot>\n </div>\n </div>\n ) : (\n <div class=\"v-calendar-day__row-without-label\" style={ `height: ${convertToUnit(props.intervalHeight)}` }>\n <div class={['v-calendar-day__row-content', interval.value.events.some(e => !e.last)\n ? 'v-calendar-day__row-content-through'\n : '']}\n >\n <slot name=\"intervalBody\" interval={ interval.value }>\n { interval.value.events?.filter(event => !event.allDay).map(event => (\n <VCalendarIntervalEvent\n event={ event }\n interval={ interval.value }\n intervalDivisions={ props.intervalDivisions }\n intervalDuration={ props.intervalDuration }\n intervalHeight={ props.intervalHeight }\n />\n ))}\n </slot>\n </div>\n </div>\n )\n )\n })\n\n return { interval }\n },\n})\n\nexport type VCalendarInterval = InstanceType<typeof VCalendarInterval>\n"],"mappings":";AAAA;AACA;;AAEA;AAAA,SACSA,sBAAsB,uCAE/B;AAAA,SACSC,OAAO,2CAEhB;AACA,SAASC,QAAQ,QAAQ,KAAK;AAAA,SACrBC,aAAa,EAAEC,gBAAgB,EAAEC,YAAY,EAAEC,SAAS;AAEjE,OAAO,MAAMC,0BAA0B,GAAGF,YAAY,CAAC;EACrDG,GAAG,EAAE;IACHC,IAAI,EAAEC,MAAM;IACZC,OAAO,EAAEA,CAAA,MAAO,CAAC,CAAC;EACpB,CAAC;EACDC,QAAQ,EAAEC,MAAM;EAChBC,MAAM,EAAEC,KAAU;EAClBC,iBAAiB,EAAE;IACjBP,IAAI,EAAEI,MAAM;IACZF,OAA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AAc,CAAC;MAAE,IAAA+B,YAAA;QAAA;MAAA,IAAAA,YAAA;QAAA;QAAA,
|
1
|
+
{"version":3,"file":"VCalendarInterval.js","names":["VCalendarIntervalEvent","useDate","computed","convertToUnit","genericComponent","propsFactory","useRender","makeVCalendarIntervalProps","day","type","Object","default","dayIndex","Number","events","Array","intervalDivisions","intervalDuration","intervalHeight","intervalFormat","String","Function","intervalStart","VCalendarInterval","name","props","index","required","setup","_ref","emit","slots","adapter","interval","start","addMinutes","startOfDay","date","end","label","format","filter","e","allDay","isEqual","isWithinRange","map","first","last","_createVNode","_resolveComponent","value","some","event"],"sources":["../../../src/labs/VCalendar/VCalendarInterval.tsx"],"sourcesContent":["// Styles\nimport './VCalendarInterval.sass'\n\n// Components\nimport { VCalendarIntervalEvent } from './VCalendarIntervalEvent'\n\n// Composables\nimport { useDate } from '@/composables/date'\n\n// Utilities\nimport { computed } from 'vue'\nimport { convertToUnit, genericComponent, propsFactory, useRender } from '@/util'\n\nexport const makeVCalendarIntervalProps = propsFactory({\n day: {\n type: Object,\n default: () => ({}),\n },\n dayIndex: Number,\n events: Array<any>,\n intervalDivisions: {\n type: Number,\n default: 2,\n },\n intervalDuration: {\n type: Number,\n default: 60,\n },\n intervalHeight: {\n type: Number,\n default: 48,\n },\n intervalFormat: {\n type: [String, Function],\n default: 'fullTime12h',\n },\n intervalStart: {\n type: Number,\n default: 0,\n },\n}, 'VCalendarInterval')\n\nexport const VCalendarInterval = genericComponent()({\n name: 'VCalendarInterval',\n\n props: {\n index: {\n type: Number,\n required: true,\n },\n\n ...makeVCalendarIntervalProps(),\n },\n\n setup (props, { emit, slots }) {\n const adapter = useDate()\n const interval = computed(() => {\n const start = adapter.addMinutes(adapter.startOfDay(props.day.date), (props.intervalDuration * (props.index + props.intervalStart)))\n const end = adapter.addMinutes(\n adapter.startOfDay(props.day.date),\n (props.intervalDuration * (props.index + props.intervalStart + 1)) - 1\n )\n return {\n ...props.day,\n label: adapter.format(start, 'fullTime24h'),\n start,\n end,\n events: props.events\n ? props.events\n .filter(e => !e.allDay &&\n (adapter.isEqual(start, e.start) ||\n adapter.isWithinRange(e.start, [start, end]) ||\n adapter.isWithinRange(start, [e.start, e.end]) ||\n adapter.isEqual(end, e.end))\n )\n .map(e => {\n return {\n ...e,\n first: adapter.isEqual(start, e.start) || adapter.isWithinRange(e.start, [start, end]),\n last: adapter.isEqual(end, e.end) || adapter.isWithinRange(e.end, [start, end]),\n }\n })\n : [],\n }\n })\n\n useRender(() => {\n return (\n props.dayIndex === 0 ? (\n <div class=\"v-calendar-day__row-with-label\" style={ `height: ${convertToUnit(props.intervalHeight)}` }>\n <div class=\"v-calendar-day__row-label\">\n <slot name=\"intervalFormat\" interval={ interval.value }>\n { props.index\n ? props.intervalFormat\n ? typeof props.intervalFormat === 'string'\n ? adapter.format(interval.value.start, 'hours12h')\n : props.intervalFormat(interval.value)\n : interval.value.label\n : ''\n }\n </slot>\n </div>\n <div class=\"v-calendar-day__row-hairline\"></div>\n <div class={['v-calendar-day__row-content', interval.value.events.some(e => !e.last)\n ? 'v-calendar-day__row-content-through'\n : '']}\n >\n <slot name=\"intervalBody\" interval={ interval.value }>\n { interval.value.events?.map(event => (\n <VCalendarIntervalEvent\n event={ event }\n interval={ interval.value }\n intervalDivisions={ props.intervalDivisions }\n intervalDuration={ props.intervalDuration }\n intervalHeight={ props.intervalHeight }\n />\n ))}\n </slot>\n </div>\n </div>\n ) : (\n <div class=\"v-calendar-day__row-without-label\" style={ `height: ${convertToUnit(props.intervalHeight)}` }>\n <div class={['v-calendar-day__row-content', interval.value.events.some(e => !e.last)\n ? 'v-calendar-day__row-content-through'\n : '']}\n >\n <slot name=\"intervalBody\" interval={ interval.value }>\n { interval.value.events?.filter(event => !event.allDay).map(event => (\n <VCalendarIntervalEvent\n event={ event }\n interval={ interval.value }\n intervalDivisions={ props.intervalDivisions }\n intervalDuration={ props.intervalDuration }\n intervalHeight={ props.intervalHeight }\n />\n ))}\n </slot>\n </div>\n </div>\n )\n )\n })\n\n return { interval }\n },\n})\n\nexport type VCalendarInterval = InstanceType<typeof VCalendarInterval>\n"],"mappings":";AAAA;AACA;;AAEA;AAAA,SACSA,sBAAsB,uCAE/B;AAAA,SACSC,OAAO,2CAEhB;AACA,SAASC,QAAQ,QAAQ,KAAK;AAAA,SACrBC,aAAa,EAAEC,gBAAgB,EAAEC,YAAY,EAAEC,SAAS;AAEjE,OAAO,MAAMC,0BAA0B,GAAGF,YAAY,CAAC;EACrDG,GAAG,EAAE;IACHC,IAAI,EAAEC,MAAM;IACZC,OAAO,EAAEA,CAAA,MAAO,CAAC,CAAC;EACpB,CAAC;EACDC,QAAQ,EAAEC,MAAM;EAChBC,MAAM,EAAEC,KAAU;EAClBC,iBAAiB,EAAE;IACjBP,IAAI,EAAEI,MAAM;IACZF,OAAO,EAAE;EACX,CAAC;EACDM,gBAAgB,EAAE;IAChBR,IAAI,EAAEI,MAAM;IACZF,OAAO,EAAE;EACX,CAAC;EACDO,cAAc,EAAE;IACdT,IAAI,EAAEI,MAAM;IACZF,OAAO,EAAE;EACX,CAAC;EACDQ,cAAc,EAAE;IACdV,IAAI,EAAE,CAACW,MAAM,EAAEC,QAAQ,CAAC;IACxBV,OAAO,EAAE;EACX,CAAC;EACDW,aAAa,EAAE;IACbb,IAAI,EAAEI,MAAM;IACZF,OAAO,EAAE;EACX;AACF,CAAC,EAAE,mBAAmB,CAAC;AAEvB,OAAO,MAAMY,iBAAiB,GAAGnB,gBAAgB,CAAC,CAAC,CAAC;EAClDoB,IAAI,EAAE,mBAAmB;EAEzBC,KAAK,EAAE;IACLC,KAAK,EAAE;MACLjB,IAAI,EAAEI,MAAM;MACZc,QAAQ,EAAE;IACZ,CAAC;IAED,GAAGpB,0BAA0B,CAAC;EAChC,CAAC;EAEDqB,KAAKA,CAAEH,KAAK,EAAAI,IAAA,EAAmB;IAAA,IAAjB;MAAEC,IAAI;MAAEC;IAAM,CAAC,GAAAF,IAAA;IAC3B,MAAMG,OAAO,GAAG/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: 4px;
|
4
|
+
text-overflow: ellipsis;
|
5
|
+
white-space: nowrap;
|
8
6
|
}
|
@@ -1,64 +1,61 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
border-inline-end: thin solid #e0e0e0;
|
12
|
-
}
|
13
|
-
.v-calendar-weekly__day {
|
14
|
-
width: 0;
|
15
|
-
overflow: hidden;
|
16
|
-
user-select: none;
|
17
|
-
position: relative;
|
18
|
-
padding: 0px 0px 0px 0px;
|
19
|
-
min-width: 0;
|
20
|
-
min-height: 150px;
|
21
|
-
border-right: thin solid #e0e0e0;
|
22
|
-
border-bottom: thin solid #e0e0e0;
|
23
|
-
flex: 1 1 auto;
|
24
|
-
border-inline-end: thin solid #e0e0e0;
|
25
|
-
text-align: center;
|
26
|
-
}
|
27
|
-
.v-calendar-weekly__day.v-present .v-calendar-weekly__day-month {
|
28
|
-
color: currentColor;
|
29
|
-
}
|
30
|
-
.v-calendar-weekly__day-label {
|
31
|
-
text-decoration: none;
|
32
|
-
user-select: none;
|
33
|
-
cursor: pointer;
|
34
|
-
box-shadow: none;
|
35
|
-
text-align: center;
|
36
|
-
}
|
37
|
-
.v-calendar-weekly__day-label .v-btn {
|
38
|
-
font-size: 12px;
|
39
|
-
}
|
1
|
+
.v-calendar-month__day {
|
2
|
+
position: relative;
|
3
|
+
display: flex;
|
4
|
+
flex-direction: column;
|
5
|
+
min-width: 0;
|
6
|
+
min-height: 150px;
|
7
|
+
border-right: thin solid #e0e0e0;
|
8
|
+
border-bottom: thin solid #e0e0e0;
|
9
|
+
flex: 1 1 auto;
|
10
|
+
border-inline-end: thin solid #e0e0e0;
|
40
11
|
}
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
12
|
+
|
13
|
+
.v-calendar-weekly__day {
|
14
|
+
flex: 1;
|
15
|
+
width: 0;
|
16
|
+
overflow: hidden;
|
17
|
+
user-select: none;
|
18
|
+
position: relative;
|
19
|
+
padding: 0px 0px 0px 0px;
|
20
|
+
min-width: 0;
|
21
|
+
min-height: 150px;
|
22
|
+
border-right: thin solid #e0e0e0;
|
23
|
+
border-bottom: thin solid #e0e0e0;
|
24
|
+
flex: 1 1 auto;
|
25
|
+
border-inline-end: thin solid #e0e0e0;
|
26
|
+
text-align: center;
|
45
27
|
}
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
28
|
+
.v-calendar-weekly__day.v-present .v-calendar-weekly__day-month {
|
29
|
+
color: currentColor;
|
30
|
+
}
|
31
|
+
|
32
|
+
.v-calendar-weekly__day-label {
|
33
|
+
text-decoration: none;
|
34
|
+
user-select: none;
|
35
|
+
cursor: pointer;
|
36
|
+
box-shadow: none;
|
37
|
+
text-align: center;
|
38
|
+
}
|
39
|
+
.v-calendar-weekly__day-label .v-btn {
|
40
|
+
font-size: 12px;
|
41
|
+
text-transform: none !important;
|
42
|
+
}
|
43
|
+
.v-calendar-weekly__day-label .v-btn.v-calendar-weekly__day-label__today {
|
44
|
+
background: rgba(var(--v-theme-surface-variant), var(--v-medium-emphasis-opacity));
|
45
|
+
color: rgb(var(--v-theme-on-surface-variant));
|
46
|
+
}
|
47
|
+
|
48
|
+
.v-calendar-weekly__day-month {
|
49
|
+
position: absolute;
|
50
|
+
text-decoration: none;
|
51
|
+
user-select: none;
|
52
|
+
box-shadow: none;
|
53
|
+
top: 0;
|
54
|
+
left: 36px;
|
55
|
+
height: 32px;
|
56
|
+
line-height: 32px;
|
57
|
+
}
|
58
|
+
|
59
|
+
.v-calendar-weekly__day-alldayevents-container {
|
60
|
+
min-height: 24px;
|
64
61
|
}
|
@@ -17,6 +17,7 @@
|
|
17
17
|
border-inline-end: $calendar-line-width solid $calendar-line-color
|
18
18
|
|
19
19
|
.v-calendar-weekly__day
|
20
|
+
flex: 1
|
20
21
|
width: 0
|
21
22
|
overflow: hidden
|
22
23
|
user-select: none
|
@@ -46,9 +47,7 @@
|
|
46
47
|
|
47
48
|
.v-btn
|
48
49
|
font-size: $calendar-weekly-day-label-font-size
|
49
|
-
|
50
|
-
@include tools.layer('overrides')
|
51
|
-
text-transform: none
|
50
|
+
text-transform: none !important
|
52
51
|
|
53
52
|
&.v-calendar-weekly__day-label__today
|
54
53
|
background: rgba(var(--v-theme-surface-variant), var(--v-medium-emphasis-opacity))
|
@@ -387,10 +387,10 @@ export declare const makeVDateInputProps: <Defaults extends {
|
|
387
387
|
};
|
388
388
|
firstDayOfWeek: unknown extends Defaults["firstDayOfWeek"] ? {
|
389
389
|
type: (StringConstructor | NumberConstructor)[];
|
390
|
-
default:
|
390
|
+
default: undefined;
|
391
391
|
} : Omit<{
|
392
392
|
type: (StringConstructor | NumberConstructor)[];
|
393
|
-
default:
|
393
|
+
default: undefined;
|
394
394
|
}, "type" | "default"> & {
|
395
395
|
type: PropType<unknown extends Defaults["firstDayOfWeek"] ? string | number : string | number | Defaults["firstDayOfWeek"]>;
|
396
396
|
default: unknown extends Defaults["firstDayOfWeek"] ? string | number : NonNullable<string | number> | Defaults["firstDayOfWeek"];
|
@@ -824,7 +824,6 @@ export declare const VDateInput: {
|
|
824
824
|
showAdjacentMonths: boolean;
|
825
825
|
weekdays: import("../../composables/calendar.js").CalendarWeekdays[];
|
826
826
|
weeksInMonth: "static" | "dynamic";
|
827
|
-
firstDayOfWeek: string | number;
|
828
827
|
hideWeekdays: boolean;
|
829
828
|
showWeek: boolean;
|
830
829
|
} & {
|
@@ -878,6 +877,7 @@ export declare const VDateInput: {
|
|
878
877
|
suffix?: string | undefined;
|
879
878
|
counterValue?: number | ((value: any) => number) | undefined;
|
880
879
|
modelModifiers?: Record<string, boolean> | undefined;
|
880
|
+
firstDayOfWeek?: string | number | undefined;
|
881
881
|
allowedDates?: unknown[] | ((date: unknown) => boolean) | undefined;
|
882
882
|
displayFormat?: string | Function | undefined;
|
883
883
|
} & {
|
@@ -3015,7 +3015,6 @@ export declare const VDateInput: {
|
|
3015
3015
|
showAdjacentMonths: boolean;
|
3016
3016
|
weekdays: import("../../composables/calendar.js").CalendarWeekdays[];
|
3017
3017
|
weeksInMonth: "static" | "dynamic";
|
3018
|
-
firstDayOfWeek: string | number;
|
3019
3018
|
hideWeekdays: boolean;
|
3020
3019
|
showWeek: boolean;
|
3021
3020
|
} & {
|
@@ -3069,6 +3068,7 @@ export declare const VDateInput: {
|
|
3069
3068
|
suffix?: string | undefined;
|
3070
3069
|
counterValue?: number | ((value: any) => number) | undefined;
|
3071
3070
|
modelModifiers?: Record<string, boolean> | undefined;
|
3071
|
+
firstDayOfWeek?: string | number | undefined;
|
3072
3072
|
allowedDates?: unknown[] | ((date: unknown) => boolean) | undefined;
|
3073
3073
|
displayFormat?: string | Function | undefined;
|
3074
3074
|
} & {
|
@@ -5181,7 +5181,6 @@ export declare const VDateInput: {
|
|
5181
5181
|
showAdjacentMonths: boolean;
|
5182
5182
|
weekdays: import("../../composables/calendar.js").CalendarWeekdays[];
|
5183
5183
|
weeksInMonth: "static" | "dynamic";
|
5184
|
-
firstDayOfWeek: string | number;
|
5185
5184
|
hideWeekdays: boolean;
|
5186
5185
|
showWeek: boolean;
|
5187
5186
|
} & {
|
@@ -5235,6 +5234,7 @@ export declare const VDateInput: {
|
|
5235
5234
|
suffix?: string | undefined;
|
5236
5235
|
counterValue?: number | ((value: any) => number) | undefined;
|
5237
5236
|
modelModifiers?: Record<string, boolean> | undefined;
|
5237
|
+
firstDayOfWeek?: string | number | undefined;
|
5238
5238
|
allowedDates?: unknown[] | ((date: unknown) => boolean) | undefined;
|
5239
5239
|
displayFormat?: string | Function | undefined;
|
5240
5240
|
} & {
|
@@ -7411,7 +7411,7 @@ export declare const VDateInput: {
|
|
7411
7411
|
};
|
7412
7412
|
firstDayOfWeek: {
|
7413
7413
|
type: (StringConstructor | NumberConstructor)[];
|
7414
|
-
default:
|
7414
|
+
default: undefined;
|
7415
7415
|
};
|
7416
7416
|
allowedDates: PropType<unknown[] | ((date: unknown) => boolean)>;
|
7417
7417
|
hideWeekdays: BooleanConstructor;
|
@@ -7634,7 +7634,7 @@ export declare const VDateInput: {
|
|
7634
7634
|
};
|
7635
7635
|
firstDayOfWeek: {
|
7636
7636
|
type: (StringConstructor | NumberConstructor)[];
|
7637
|
-
default:
|
7637
|
+
default: undefined;
|
7638
7638
|
};
|
7639
7639
|
allowedDates: PropType<unknown[] | ((date: unknown) => boolean)>;
|
7640
7640
|
hideWeekdays: BooleanConstructor;
|
@@ -1,75 +1,78 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
1
|
+
.v-file-upload {
|
2
|
+
padding: 64px 16px;
|
3
|
+
flex-direction: column;
|
4
|
+
justify-content: center;
|
5
|
+
align-items: center;
|
6
|
+
position: relative;
|
7
|
+
}
|
8
|
+
.v-file-upload.v-sheet {
|
9
|
+
display: flex;
|
10
|
+
border-radius: 4px;
|
11
|
+
border-style: dashed;
|
12
|
+
border-width: 2px;
|
13
|
+
}
|
14
|
+
.v-file-upload.v-file-upload--density-compact {
|
15
|
+
padding: 32px 0;
|
16
|
+
flex-direction: row;
|
17
|
+
gap: 1rem;
|
18
|
+
}
|
19
|
+
.v-file-upload .v-overlay__scrim {
|
20
|
+
pointer-events: none;
|
21
|
+
}
|
22
|
+
.v-file-upload--disabled {
|
23
|
+
pointer-events: none;
|
24
|
+
opacity: var(--v-disabled-opacity);
|
25
|
+
}
|
26
|
+
.v-file-upload--dragging > * {
|
27
|
+
pointer-events: none;
|
28
|
+
}
|
29
|
+
.v-file-upload--clickable {
|
30
|
+
cursor: pointer;
|
31
|
+
}
|
32
|
+
.v-file-upload input[type=file] {
|
33
|
+
left: 0;
|
34
|
+
opacity: 0;
|
35
|
+
position: absolute;
|
36
|
+
cursor: pointer;
|
37
|
+
top: 0;
|
38
|
+
z-index: -1;
|
39
|
+
}
|
40
|
+
|
41
|
+
.v-file-upload-title {
|
42
|
+
font-size: 1.5rem;
|
43
|
+
font-weight: 600;
|
44
|
+
text-align: center;
|
45
|
+
}
|
46
|
+
|
47
|
+
.v-file-upload-icon {
|
48
|
+
opacity: var(--v-medium-emphasis-opacity);
|
49
|
+
font-size: 3rem;
|
50
|
+
margin-bottom: 1rem;
|
51
|
+
}
|
52
|
+
.v-file-upload--density-comfortable .v-file-upload-icon {
|
53
|
+
font-size: 2.5rem;
|
54
|
+
margin-bottom: 0.5rem;
|
55
|
+
}
|
56
|
+
.v-file-upload--density-compact .v-file-upload-icon {
|
57
|
+
font-size: 2rem;
|
58
|
+
margin-bottom: 0rem;
|
59
|
+
}
|
60
|
+
|
61
|
+
.v-file-upload-divider {
|
62
|
+
align-items: center;
|
63
|
+
display: flex;
|
64
|
+
margin: 32px 0;
|
65
|
+
justify-content: center;
|
66
|
+
width: 100%;
|
67
|
+
}
|
68
|
+
.v-file-upload-divider .v-divider__wrapper {
|
69
|
+
max-width: 100%;
|
70
|
+
}
|
71
|
+
|
72
|
+
.v-file-upload-items {
|
73
|
+
margin: 16px 0;
|
74
|
+
}
|
75
|
+
|
76
|
+
.v-file-upload-item:not(:first-child) {
|
77
|
+
margin-top: 8px;
|
75
78
|
}
|