@vuetify/nightly 3.7.4-next.2024-11-06 → 3.7.5-dev.2024-12-03
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 +3034 -3026
- package/dist/json/importMap-labs.json +14 -14
- package/dist/json/importMap.json +138 -138
- package/dist/json/tags.json +2 -0
- package/dist/json/web-types.json +5538 -5520
- package/dist/vuetify-labs.css +25130 -23413
- package/dist/vuetify-labs.d.ts +162 -156
- package/dist/vuetify-labs.esm.js +89 -71
- package/dist/vuetify-labs.esm.js.map +1 -1
- package/dist/vuetify-labs.js +89 -71
- package/dist/vuetify-labs.min.css +4 -3
- package/dist/vuetify.css +24211 -22491
- package/dist/vuetify.d.ts +146 -140
- package/dist/vuetify.esm.js +78 -61
- package/dist/vuetify.esm.js.map +1 -1
- package/dist/vuetify.js +78 -61
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +4 -3
- package/dist/vuetify.min.js +40 -40
- package/dist/vuetify.min.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 +85 -86
- package/lib/components/VAutocomplete/VAutocomplete.mjs +4 -4
- package/lib/components/VAutocomplete/VAutocomplete.mjs.map +1 -1
- package/lib/components/VAutocomplete/index.d.mts +16 -16
- package/lib/components/VAvatar/VAvatar.css +106 -108
- package/lib/components/VBadge/VBadge.css +77 -73
- package/lib/components/VBadge/VBadge.sass +4 -0
- package/lib/components/VBanner/VBanner.css +166 -161
- package/lib/components/VBottomNavigation/VBottomNavigation.css +63 -64
- 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/VChip/VChip.mjs +18 -10
- package/lib/components/VChip/VChip.mjs.map +1 -1
- package/lib/components/VChip/index.d.mts +13 -8
- package/lib/components/VChipGroup/VChipGroup.css +18 -19
- package/lib/components/VChipGroup/VChipGroup.mjs +2 -0
- package/lib/components/VChipGroup/VChipGroup.mjs.map +1 -1
- package/lib/components/VChipGroup/index.d.mts +5 -0
- package/lib/components/VCode/VCode.css +8 -10
- package/lib/components/VColorPicker/VColorPicker.css +22 -22
- 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 +85 -86
- package/lib/components/VCombobox/VCombobox.mjs +4 -4
- package/lib/components/VCombobox/VCombobox.mjs.map +1 -1
- package/lib/components/VCombobox/index.d.mts +16 -16
- package/lib/components/VConfirmEdit/VConfirmEdit.mjs +9 -7
- package/lib/components/VConfirmEdit/VConfirmEdit.mjs.map +1 -1
- package/lib/components/VConfirmEdit/__test__/VConfirmEdit.spec.browser.mjs +1 -1
- package/lib/components/VConfirmEdit/__test__/VConfirmEdit.spec.browser.mjs.map +1 -1
- package/lib/components/VConfirmEdit/index.d.mts +3 -7
- package/lib/components/VCounter/VCounter.css +5 -7
- package/lib/components/VDataTable/VDataTable.css +186 -189
- package/lib/components/VDataTable/VDataTable.sass +10 -20
- package/lib/components/VDataTable/VDataTableFooter.css +31 -33
- package/lib/components/VDatePicker/VDatePicker.css +6 -8
- package/lib/components/VDatePicker/VDatePickerControls.css +56 -54
- package/lib/components/VDatePicker/VDatePickerHeader.css +60 -56
- package/lib/components/VDatePicker/VDatePickerHeader.mjs +2 -1
- package/lib/components/VDatePicker/VDatePickerHeader.mjs.map +1 -1
- package/lib/components/VDatePicker/VDatePickerMonth.css +55 -51
- package/lib/components/VDatePicker/VDatePickerMonths.css +19 -20
- package/lib/components/VDatePicker/VDatePickerYears.css +15 -16
- package/lib/components/VDatePicker/index.d.mts +5 -5
- package/lib/components/VDialog/VDialog.css +95 -95
- 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 +69 -74
- package/lib/components/VFab/VFab.sass +4 -5
- package/lib/components/VField/VField.css +579 -539
- package/lib/components/VField/VField.mjs +2 -1
- package/lib/components/VField/VField.mjs.map +1 -1
- package/lib/components/VFileInput/VFileInput.css +29 -31
- package/lib/components/VFooter/VFooter.css +36 -38
- package/lib/components/VGrid/VGrid.css +592 -565
- package/lib/components/VIcon/VIcon.css +52 -51
- package/lib/components/VImg/VImg.css +51 -50
- package/lib/components/VInfiniteScroll/VInfiniteScroll.css +37 -36
- package/lib/components/VInput/VInput.css +142 -131
- 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.mjs +3 -2
- package/lib/components/VList/VList.mjs.map +1 -1
- package/lib/components/VList/VList.sass +1 -1
- package/lib/components/VList/VListItem.css +452 -440
- package/lib/components/VList/VListItem.mjs +3 -2
- package/lib/components/VList/VListItem.mjs.map +1 -1
- package/lib/components/VList/VListItem.sass +1 -2
- package/lib/components/VList/index.d.mts +10 -10
- 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 +108 -106
- package/lib/components/VOtpInput/VOtpInput.css +58 -56
- package/lib/components/VOverlay/VOverlay.css +63 -60
- 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 +52 -54
- package/lib/components/VSelect/VSelect.mjs +3 -3
- package/lib/components/VSelect/VSelect.mjs.map +1 -1
- package/lib/components/VSelect/index.d.mts +16 -16
- package/lib/components/VSelectionControl/VSelectionControl.css +102 -100
- 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/VStepper.mjs +5 -4
- package/lib/components/VStepper/VStepper.mjs.map +1 -1
- package/lib/components/VStepper/VStepperItem.css +115 -112
- package/lib/components/VStepper/VStepperItem.mjs +5 -4
- package/lib/components/VStepper/VStepperItem.mjs.map +1 -1
- package/lib/components/VStepper/index.d.mts +51 -45
- 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 +68 -65
- package/lib/components/VTextarea/VTextarea.css +39 -47
- package/lib/components/VTextarea/VTextarea.sass +2 -4
- package/lib/components/VThemeProvider/VThemeProvider.css +3 -5
- package/lib/components/VTimeline/VTimeline.css +418 -379
- package/lib/components/VToolbar/VToolbar.css +143 -136
- package/lib/components/VTooltip/VTooltip.css +21 -25
- 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/components/index.d.mts +98 -92
- package/lib/composables/form.mjs +7 -2
- package/lib/composables/form.mjs.map +1 -1
- package/lib/composables/theme.mjs +4 -4
- package/lib/composables/theme.mjs.map +1 -1
- package/lib/composables/validation.mjs +10 -12
- package/lib/composables/validation.mjs.map +1 -1
- package/lib/directives/ripple/VRipple.css +36 -38
- package/lib/entry-bundler.mjs +1 -1
- package/lib/entry-bundler.mjs.map +1 -1
- package/lib/framework.mjs +1 -1
- package/lib/framework.mjs.map +1 -1
- package/lib/index.d.mts +48 -48
- package/lib/labs/VCalendar/VCalendar.css +225 -219
- 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/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.mjs +1 -1
- package/lib/labs/VDateInput/VDateInput.mjs.map +1 -1
- package/lib/labs/VNumberInput/VNumberInput.css +38 -40
- package/lib/labs/VNumberInput/VNumberInput.mjs +7 -5
- package/lib/labs/VNumberInput/VNumberInput.mjs.map +1 -1
- package/lib/labs/VPicker/VPicker.css +57 -53
- package/lib/labs/VStepperVertical/index.d.mts +44 -44
- 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 +15 -17
- package/lib/labs/VTreeview/VTreeviewItem.mjs +3 -4
- package/lib/labs/VTreeview/VTreeviewItem.mjs.map +1 -1
- package/lib/labs/VTreeview/VTreeviewItem.sass +1 -2
- package/lib/labs/VTreeview/index.d.mts +20 -20
- package/lib/labs/components.d.mts +64 -64
- package/lib/locale/fr.mjs +1 -1
- package/lib/locale/fr.mjs.map +1 -1
- 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/_transitions.scss +32 -32
- package/lib/styles/main.css +16139 -14666
- 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/package.json +1 -1
package/dist/vuetify.min.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
/*!
|
2
|
-
* Vuetify v3.7.
|
2
|
+
* Vuetify v3.7.5-dev.2024-12-03
|
3
3
|
* Forged by John Leider
|
4
4
|
* Released under the MIT License.
|
5
5
|
*/
|
@@ -274,8 +274,8 @@ o.colors[t]=gt(a)}}return e})),i=t.computed((()=>r.value[o.value])),s=t.computed
|
|
274
274
|
i.value?.dark&&Ca(e,":root",["color-scheme: dark"]),Ca(e,":root",_a(i.value))
|
275
275
|
for(const[t,a]of Object.entries(r.value))Ca(e,`.v-theme--${t}`,["color-scheme: "+(a.dark?"dark":"normal"),..._a(a)])
|
276
276
|
const t=[],a=[],l=new Set(Object.values(r.value).flatMap((e=>Object.keys(e.colors))))
|
277
|
-
for(const e of l)/^on-[a-z]/.test(e)?Ca(a,`.${e}`,[`color: rgb(var(--v-theme-${e}))`]):(Ca(t,`.bg-${e}`,[`--v-theme-overlay-multiplier: var(--v-theme-${e}-overlay-multiplier)`,`background-color: rgb(var(--v-theme-${e}))`,`color: rgb(var(--v-theme-on-${e}))`]),Ca(a,`.text-${e}`,[`color: rgb(var(--v-theme-${e}))`]),Ca(a,`.border-${e}`,[`--v-border-color: var(--v-theme-${e})`]))
|
278
|
-
return e.push(...t,...a),
|
277
|
+
for(const e of l)/^on-[a-z]/.test(e)?Ca(a,`.${e}`,[`color: rgb(var(--v-theme-${e})) !important`]):(Ca(t,`.bg-${e}`,[`--v-theme-overlay-multiplier: var(--v-theme-${e}-overlay-multiplier)`,`background-color: rgb(var(--v-theme-${e})) !important`,`color: rgb(var(--v-theme-on-${e})) !important`]),Ca(a,`.text-${e}`,[`color: rgb(var(--v-theme-${e})) !important`]),Ca(a,`.border-${e}`,[`--v-border-color: var(--v-theme-${e})`]))
|
278
|
+
return e.push(...t,...a),e.map(((e,t)=>0===t?e:` ${e}`)).join("")}))
|
279
279
|
function u(){return{style:[{children:s.value,id:"vuetify-theme-stylesheet",nonce:l.cspNonce||!1}]}}const c=t.computed((()=>l.isDisabled?void 0:`v-theme--${o.value}`))
|
280
280
|
return{install:function(e){if(l.isDisabled)return
|
281
281
|
const o=e._context.provides.usehead
|
@@ -568,19 +568,20 @@ return Mt((()=>t.createVNode(fl,{transition:e.transition,tag:"div",class:["v-mes
|
|
568
568
|
function rn(e){let a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Vt()
|
569
569
|
const l=sa(e,"focused")
|
570
570
|
return{focusClasses:t.computed((()=>({[`${a}--focused`]:l.value}))),isFocused:l,focus:function(){l.value=!0},blur:function(){l.value=!1}}}const sn=Symbol.for("vuetify:form"),un=ht({disabled:Boolean,fastFail:Boolean,readonly:Boolean,modelValue:{type:Boolean,default:null},validateOn:{type:String,default:"input"}},"form")
|
571
|
-
function cn(){
|
571
|
+
function cn(e){const a=t.inject(sn,null)
|
572
|
+
return{...a,isReadonly:t.computed((()=>!!(e?.readonly??a?.isReadonly.value))),isDisabled:t.computed((()=>!!(e?.disabled??a?.isDisabled.value)))}}const dn=ht({disabled:{type:Boolean,default:null},error:Boolean,errorMessages:{type:[Array,String],default:()=>[]},maxErrors:{type:[Number,String],default:1},name:String,label:String,readonly:{type:Boolean,default:null},rules:{type:Array,default:()=>[]},modelValue:null,validateOn:String,validationValue:null,...nn()},"validation")
|
572
573
|
function vn(e){let a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Vt(),l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:kt()
|
573
|
-
const o=sa(e,"modelValue"),n=t.computed((()=>void 0===e.validationValue?o.value:e.validationValue)),r=cn(),i=t.ref([]),s=t.shallowRef(!0),u=t.computed((()=>!(!A(""===o.value?null:o.value).length&&!A(""===n.value?null:n.value).length))),c=t.computed((()
|
574
|
+
const o=sa(e,"modelValue"),n=t.computed((()=>void 0===e.validationValue?o.value:e.validationValue)),r=cn(e),i=t.ref([]),s=t.shallowRef(!0),u=t.computed((()=>!(!A(""===o.value?null:o.value).length&&!A(""===n.value?null:n.value).length))),c=t.computed((()=>e.errorMessages?.length?A(e.errorMessages).concat(i.value).slice(0,Math.max(0,+e.maxErrors)):i.value)),d=t.computed((()=>{let t=(e.validateOn??r.validateOn?.value)||"input"
|
574
575
|
"lazy"===t&&(t="input lazy"),"eager"===t&&(t="input eager")
|
575
576
|
const a=new Set(t?.split(" ")??[])
|
576
|
-
return{input:a.has("input"),blur:a.has("blur")||a.has("input")||a.has("invalid-input"),invalidInput:a.has("invalid-input"),lazy:a.has("lazy"),eager:a.has("eager")}})),
|
577
|
-
async function
|
577
|
+
return{input:a.has("input"),blur:a.has("blur")||a.has("input")||a.has("invalid-input"),invalidInput:a.has("invalid-input"),lazy:a.has("lazy"),eager:a.has("eager")}})),v=t.computed((()=>!e.error&&!e.errorMessages?.length&&(!e.rules.length||(s.value?!i.value.length&&!d.value.lazy||null:!i.value.length)))),p=t.shallowRef(!1),f=t.computed((()=>({[`${a}--error`]:!1===v.value,[`${a}--dirty`]:u.value,[`${a}--disabled`]:r.isDisabled.value,[`${a}--readonly`]:r.isReadonly.value}))),m=bt("validation"),g=t.computed((()=>e.name??t.unref(l)))
|
578
|
+
async function h(){o.value=null,await t.nextTick(),await y()}async function y(){s.value=!0,d.value.lazy?i.value=[]:await b(!d.value.eager)}async function b(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0]
|
578
579
|
const a=[]
|
579
|
-
|
580
|
+
p.value=!0
|
580
581
|
for(const t of e.rules){if(a.length>=+(e.maxErrors??1))break
|
581
582
|
const l="function"==typeof t?t:()=>t,o=await l(n.value)
|
582
|
-
!0!==o&&(!1===o||"string"==typeof o?a.push(o||""):console.warn(`${o} is not a valid value. Rule functions must return boolean true or a string.`))}return i.value=a,
|
583
|
-
else if(e.focused){const a=t.watch((()=>e.focused),(e=>{e||
|
583
|
+
!0!==o&&(!1===o||"string"==typeof o?a.push(o||""):console.warn(`${o} is not a valid value. Rule functions must return boolean true or a string.`))}return i.value=a,p.value=!1,s.value=t,i.value}return t.onBeforeMount((()=>{r.register?.({id:g.value,vm:m,validate:b,reset:h,resetValidation:y})})),t.onBeforeUnmount((()=>{r.unregister?.(g.value)})),t.onMounted((async()=>{d.value.lazy||await b(!d.value.eager),r.update?.(g.value,v.value,c.value)})),ia((()=>d.value.input||d.value.invalidInput&&!1===v.value),(()=>{t.watch(n,(()=>{if(null!=n.value)b()
|
584
|
+
else if(e.focused){const a=t.watch((()=>e.focused),(e=>{e||b(),a()}))}}))})),ia((()=>d.value.blur),(()=>{t.watch((()=>e.focused),(e=>{e||b()}))})),t.watch([v,c],(()=>{r.update?.(g.value,v.value,c.value)})),{errorMessages:c,isDirty:u,isDisabled:r.isDisabled,isReadonly:r.isReadonly,isPristine:s,isValid:v,isValidating:p,reset:h,resetValidation:y,validate:b,validationClasses:f}}const pn=ht({id:String,appendIcon:Ot,centerAffix:{type:Boolean,default:!0},prependIcon:Ot,hideDetails:[Boolean,String],hideSpinButtons:Boolean,hint:String,persistentHint:Boolean,messages:{type:[Array,String],default:()=>[]},direction:{type:String,default:"horizontal",validator:e=>["horizontal","vertical"].includes(e)},"onClick:prepend":G(),"onClick:append":G(),...yt(),...Al(),...N(ol(),["maxWidth","minWidth","width"]),...Sa(),...dn()},"VInput"),fn=Pt()({name:"VInput",props:{...pn()},emits:{"update:modelValue":e=>!0},setup(e,a){let{attrs:l,slots:o,emit:n}=a
|
584
585
|
const{densityClasses:r}=Rl(e),{dimensionStyles:i}=nl(e),{themeClasses:s}=xa(e),{rtlClasses:u}=Va(),{InputIcon:c}=an(e),d=kt(),v=t.computed((()=>e.id||`input-${d}`)),p=t.computed((()=>`${v.value}-messages`)),{errorMessages:f,isDirty:m,isDisabled:g,isReadonly:h,isPristine:y,isValid:b,isValidating:V,reset:w,resetValidation:S,validate:k,validationClasses:x}=vn(e,"v-input",v),N=t.computed((()=>({id:v,messagesId:p,isDirty:m,isDisabled:g,isReadonly:h,isPristine:y,isValid:b,isValidating:V,reset:w,resetValidation:S,validate:k}))),C=t.computed((()=>e.errorMessages?.length||!y.value&&f.value.length?f.value:e.hint&&(e.persistentHint||e.focused)?e.hint:e.messages))
|
585
586
|
return Mt((()=>{const a=!(!o.prepend&&!e.prependIcon),l=!(!o.append&&!e.appendIcon),n=C.value.length>0,d=!e.hideDetails||"auto"===e.hideDetails&&(n||!!o.details)
|
586
587
|
return t.createVNode("div",{class:["v-input",`v-input--${e.direction}`,{"v-input--center-affix":e.centerAffix,"v-input--hide-spin-buttons":e.hideSpinButtons},r.value,s.value,u.value,x.value,e.class],style:[i.value,e.style]},[a&&t.createVNode("div",{key:"prepend",class:"v-input__prepend"},[o.prepend?.(N.value),e.prependIcon&&t.createVNode(c,{key:"prepend-icon",name:"prepend"},null)]),o.default&&t.createVNode("div",{class:"v-input__control"},[o.default?.(N.value)]),l&&t.createVNode("div",{key:"append",class:"v-input__append"},[e.appendIcon&&t.createVNode(c,{key:"append-icon",name:"append"},null),o.append?.(N.value)]),d&&t.createVNode("div",{class:"v-input__details"},[t.createVNode(on,{id:p.value,active:n,messages:C.value},{message:o.message}),o.details?.(N.value)])])})),{reset:w,resetValidation:S,validate:k,isValid:b,errorMessages:f}}}),mn=ht({...pn(),...x(en(),["inline"])},"VCheckbox"),gn=Pt()({name:"VCheckbox",inheritAttrs:!1,props:mn(),emits:{"update:modelValue":e=>!0,"update:focused":e=>!0},setup(e,a){let{attrs:l,slots:o}=a
|
@@ -653,13 +654,13 @@ default:return!i.value&&(u.value||Math.abs(c.value)>0)}})),F=t.computed((()=>Mat
|
|
653
654
|
const e=An(p.value,f.el),t=function(e,t){const a=e?"clientWidth":"clientHeight"
|
654
655
|
return t?.[a]||0}(p.value,f.el)
|
655
656
|
return e-t-Math.abs(c.value)>1}))
|
656
|
-
return Mt((()=>t.createVNode(e.tag,{class:["v-slide-group",{"v-slide-group--vertical":!p.value,"v-slide-group--has-affixes":E.value,"v-slide-group--is-overflowing":u.value},r.value,e.class],style:e.style,tabindex:S.value||s.selected.value.length?-1:0,onFocus:P},{default:()=>[E.value&&t.createVNode("div",{key:"prev",class:["v-slide-group__prev",{"v-slide-group__prev--disabled":!F.value}],onMousedown:B,onClick:()=>F.value&&T("prev")},[o.prev?.(D.value)??t.createVNode(Wa,null,{default:()=>[t.createVNode(Zl,{icon:n.value?e.nextIcon:e.prevIcon},null)]})]),t.createVNode("div",{key:"container",ref:f,class:"v-slide-group__container",onScroll:N},[t.createVNode("div",{ref:g,class:"v-slide-group__content",onFocusin:C,onFocusout:_,onKeydown:A},[o.default?.(D.value)])]),E.value&&t.createVNode("div",{key:"next",class:["v-slide-group__next",{"v-slide-group__next--disabled":!$.value}],onMousedown:B,onClick:()=>$.value&&T("next")},[o.next?.(D.value)??t.createVNode(Wa,null,{default:()=>[t.createVNode(Zl,{icon:n.value?e.prevIcon:e.nextIcon},null)]})])]}))),{selected:s.selected,scrollTo:T,scrollOffset:c,focus:R,hasPrev:F,hasNext:$}}}),Mn=Symbol.for("vuetify:v-chip-group"),On=ht({column:Boolean,filter:Boolean,valueComparator:{type:Function,default:c},...Fn(),...yt(),...Ol({selectedClass:"v-chip--selected"}),...Ba(),...Sa(),...El({variant:"tonal"})},"VChipGroup"),Ln=Pt()({name:"VChipGroup",props:On(),emits:{"update:modelValue":e=>!0},setup(e,a){let{slots:l}=a
|
657
|
+
return Mt((()=>t.createVNode(e.tag,{class:["v-slide-group",{"v-slide-group--vertical":!p.value,"v-slide-group--has-affixes":E.value,"v-slide-group--is-overflowing":u.value},r.value,e.class],style:e.style,tabindex:S.value||s.selected.value.length?-1:0,onFocus:P},{default:()=>[E.value&&t.createVNode("div",{key:"prev",class:["v-slide-group__prev",{"v-slide-group__prev--disabled":!F.value}],onMousedown:B,onClick:()=>F.value&&T("prev")},[o.prev?.(D.value)??t.createVNode(Wa,null,{default:()=>[t.createVNode(Zl,{icon:n.value?e.nextIcon:e.prevIcon},null)]})]),t.createVNode("div",{key:"container",ref:f,class:"v-slide-group__container",onScroll:N},[t.createVNode("div",{ref:g,class:"v-slide-group__content",onFocusin:C,onFocusout:_,onKeydown:A},[o.default?.(D.value)])]),E.value&&t.createVNode("div",{key:"next",class:["v-slide-group__next",{"v-slide-group__next--disabled":!$.value}],onMousedown:B,onClick:()=>$.value&&T("next")},[o.next?.(D.value)??t.createVNode(Wa,null,{default:()=>[t.createVNode(Zl,{icon:n.value?e.prevIcon:e.nextIcon},null)]})])]}))),{selected:s.selected,scrollTo:T,scrollOffset:c,focus:R,hasPrev:F,hasNext:$}}}),Mn=Symbol.for("vuetify:v-chip-group"),On=ht({baseColor:String,column:Boolean,filter:Boolean,valueComparator:{type:Function,default:c},...Fn(),...yt(),...Ol({selectedClass:"v-chip--selected"}),...Ba(),...Sa(),...El({variant:"tonal"})},"VChipGroup"),Ln=Pt()({name:"VChipGroup",props:On(),emits:{"update:modelValue":e=>!0},setup(e,a){let{slots:l}=a
|
657
658
|
const{themeClasses:o}=xa(e),{isSelected:n,select:r,next:i,prev:s,selected:u}=jl(e,Mn)
|
658
|
-
return Ct({VChip:{color:t.toRef(e,"color"),disabled:t.toRef(e,"disabled"),filter:t.toRef(e,"filter"),variant:t.toRef(e,"variant")}}),Mt((()=>{const a=$n.filterProps(e)
|
659
|
-
return t.createVNode($n,t.mergeProps(a,{class:["v-chip-group",{"v-chip-group--column":e.column},o.value,e.class],style:e.style}),{default:()=>[l.default?.({isSelected:n,select:r,next:i,prev:s,selected:u.value})]})})),{}}}),zn=ht({activeClass:String,appendAvatar:String,appendIcon:Ot,closable:Boolean,closeIcon:{type:Ot,default:"$delete"},closeLabel:{type:String,default:"$vuetify.close"},draggable:Boolean,filter:Boolean,filterIcon:{type:
|
660
|
-
const{t:r}=ya(),{borderClasses:i}=Vl(e),{
|
661
|
-
function
|
662
|
-
return
|
659
|
+
return Ct({VChip:{baseColor:t.toRef(e,"baseColor"),color:t.toRef(e,"color"),disabled:t.toRef(e,"disabled"),filter:t.toRef(e,"filter"),variant:t.toRef(e,"variant")}}),Mt((()=>{const a=$n.filterProps(e)
|
660
|
+
return t.createVNode($n,t.mergeProps(a,{class:["v-chip-group",{"v-chip-group--column":e.column},o.value,e.class],style:e.style}),{default:()=>[l.default?.({isSelected:n,select:r,next:i,prev:s,selected:u.value})]})})),{}}}),zn=ht({activeClass:String,appendAvatar:String,appendIcon:Ot,baseColor:String,closable:Boolean,closeIcon:{type:Ot,default:"$delete"},closeLabel:{type:String,default:"$vuetify.close"},draggable:Boolean,filter:Boolean,filterIcon:{type:Ot,default:"$complete"},label:Boolean,link:{type:Boolean,default:void 0},pill:Boolean,prependAvatar:String,prependIcon:Ot,ripple:{type:[Boolean,Object],default:!0},text:String,modelValue:{type:Boolean,default:!0},onClick:G(),onClickOnce:G(),...bl(),...yt(),...Al(),...wl(),...Ll(),...dl(),...mo(),...ql(),...Ba({tag:"span"}),...Sa(),...El({variant:"tonal"})},"VChip"),jn=Pt()({name:"VChip",directives:{Ripple:Do},props:zn(),emits:{"click:close":e=>!0,"update:modelValue":e=>!0,"group:selected":e=>!0,click:e=>!0},setup(e,a){let{attrs:l,emit:o,slots:n}=a
|
661
|
+
const{t:r}=ya(),{borderClasses:i}=Vl(e),{densityClasses:s}=Rl(e),{elevationClasses:u}=Sl(e),{roundedClasses:c}=vl(e),{sizeClasses:d}=Kl(e),{themeClasses:v}=xa(e),p=sa(e,"modelValue"),f=zl(e,Mn,!1),m=fo(e,l),g=t.computed((()=>!1!==e.link&&m.isLink.value)),h=t.computed((()=>!e.disabled&&!1!==e.link&&(!!f||e.link||m.isClickable.value))),y=t.computed((()=>({"aria-label":r(e.closeLabel),onClick(e){e.preventDefault(),e.stopPropagation(),p.value=!1,o("click:close",e)}}))),b=t.computed((()=>({color:!f||f.isSelected.value?e.color??e.baseColor:e.baseColor,variant:e.variant}))),{colorClasses:V,colorStyles:w,variantClasses:S}=Fl(b)
|
662
|
+
function k(e){o("click",e),h.value&&(m.navigate?.(e),f?.toggle())}function x(e){"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),k(e))}return()=>{const a=m.isLink.value?"a":e.tag,l=!(!e.appendIcon&&!e.appendAvatar),o=!(!l&&!n.append),r=!(!n.close&&!e.closable),b=!(!n.filter&&!e.filter)&&f,N=!(!e.prependIcon&&!e.prependAvatar),C=!(!N&&!n.prepend)
|
663
|
+
return p.value&&t.withDirectives(t.createVNode(a,t.mergeProps({class:["v-chip",{"v-chip--disabled":e.disabled,"v-chip--label":e.label,"v-chip--link":h.value,"v-chip--filter":b,"v-chip--pill":e.pill,[`${e.activeClass}`]:e.activeClass&&m.isActive?.value},v.value,i.value,V.value,s.value,u.value,c.value,d.value,S.value,f?.selectedClass.value,e.class],style:[w.value,e.style],disabled:e.disabled||void 0,draggable:e.draggable,tabindex:h.value?0:void 0,onClick:k,onKeydown:h.value&&!g.value&&x},m.linkProps),{default:()=>[Dl(h.value,"v-chip"),b&&t.createVNode(tl,{key:"filter"},{default:()=>[t.withDirectives(t.createVNode("div",{class:"v-chip__filter"},[n.filter?t.createVNode(ll,{key:"filter-defaults",disabled:!e.filterIcon,defaults:{VIcon:{icon:e.filterIcon}}},n.filter):t.createVNode(Zl,{key:"filter-icon",icon:e.filterIcon},null)]),[[t.vShow,f.isSelected.value]])]}),C&&t.createVNode("div",{key:"prepend",class:"v-chip__prepend"},[n.prepend?t.createVNode(ll,{key:"prepend-defaults",disabled:!N,defaults:{VAvatar:{image:e.prependAvatar,start:!0},VIcon:{icon:e.prependIcon,start:!0}}},n.prepend):t.createVNode(t.Fragment,null,[e.prependIcon&&t.createVNode(Zl,{key:"prepend-icon",icon:e.prependIcon,start:!0},null),e.prependAvatar&&t.createVNode(Uo,{key:"prepend-avatar",image:e.prependAvatar,start:!0},null)])]),t.createVNode("div",{class:"v-chip__content","data-no-activator":""},[n.default?.({isSelected:f?.isSelected.value,selectedClass:f?.selectedClass.value,select:f?.select,toggle:f?.toggle,value:f?.value.value,disabled:e.disabled})??e.text]),o&&t.createVNode("div",{key:"append",class:"v-chip__append"},[n.append?t.createVNode(ll,{key:"append-defaults",disabled:!l,defaults:{VAvatar:{end:!0,image:e.appendAvatar},VIcon:{end:!0,icon:e.appendIcon}}},n.append):t.createVNode(t.Fragment,null,[e.appendIcon&&t.createVNode(Zl,{key:"append-icon",end:!0,icon:e.appendIcon},null),e.appendAvatar&&t.createVNode(Uo,{key:"append-avatar",end:!0,image:e.appendAvatar},null)])]),r&&t.createVNode("button",t.mergeProps({key:"close",class:"v-chip__close",type:"button","data-testid":"close-chip"},y.value),[n.close?t.createVNode(ll,{key:"close-defaults",defaults:{VIcon:{icon:e.closeIcon,size:"x-small"}}},n.close):t.createVNode(Zl,{key:"close-icon",icon:e.closeIcon,size:"x-small"},null)])]}),[[t.resolveDirective("ripple"),h.value&&e.ripple,null]])}}}),Hn=Symbol.for("vuetify:list")
|
663
664
|
function Wn(){const e=t.inject(Hn,{hasPrepend:t.shallowRef(!1),updateHasPrepend:()=>null}),a={hasPrepend:t.shallowRef(!1),updateHasPrepend:e=>{e&&(a.hasPrepend.value=e)}}
|
664
665
|
return t.provide(Hn,a),e}function Un(){return t.inject(Hn,null)}const Yn=e=>{const a={activate:a=>{let{id:l,value:o,activated:n}=a
|
665
666
|
return l=t.toRaw(l),e&&!o&&1===n.size&&n.has(l)||(o?n.add(l):n.delete(l)),n},in:(e,t,l)=>{let o=new Set
|
@@ -761,12 +762,12 @@ const{isOpen:o,open:n,id:r}=lr(t.toRef(e,"value"),!0),i=t.computed((()=>`v-list-
|
|
761
762
|
function c(e){e.stopPropagation(),n(!o.value,e)}const d=t.computed((()=>({onClick:c,class:"v-list-group__header",id:i.value}))),v=t.computed((()=>o.value?e.collapseIcon:e.expandIcon)),p=t.computed((()=>({VListItem:{active:o.value,activeColor:e.activeColor,baseColor:e.baseColor,color:e.color,prependIcon:e.prependIcon||e.subgroup&&v.value,appendIcon:e.appendIcon||!e.subgroup&&v.value,title:e.title,value:e.value}})))
|
762
763
|
return Mt((()=>t.createVNode(e.tag,{class:["v-list-group",{"v-list-group--prepend":s?.hasPrepend.value,"v-list-group--fluid":e.fluid,"v-list-group--subgroup":e.subgroup,"v-list-group--open":o.value},e.class],style:e.style},{default:()=>[l.activator&&t.createVNode(ll,{defaults:p.value},{default:()=>[t.createVNode(or,null,{default:()=>[l.activator({props:d.value,isOpen:o.value})]})]}),t.createVNode(fl,{transition:{component:el},disabled:!u.value},{default:()=>[t.withDirectives(t.createVNode("div",{class:"v-list-group__items",role:"group","aria-labelledby":i.value},[l.default?.()]),[[t.vShow,o.value]])]})]}))),{isOpen:o}}}),ir=ht({opacity:[Number,String],...yt(),...Ba()},"VListItemSubtitle"),sr=Pt()({name:"VListItemSubtitle",props:ir(),setup(e,a){let{slots:l}=a
|
763
764
|
return Mt((()=>t.createVNode(e.tag,{class:["v-list-item-subtitle",e.class],style:[{"--v-list-item-subtitle-opacity":e.opacity},e.style]},l))),{}}}),ur=Bt("v-list-item-title"),cr=ht({active:{type:Boolean,default:void 0},activeClass:String,activeColor:String,appendAvatar:String,appendIcon:Ot,baseColor:String,disabled:Boolean,lines:[Boolean,String],link:{type:Boolean,default:void 0},nav:Boolean,prependAvatar:String,prependIcon:Ot,ripple:{type:[Boolean,Object],default:!0},slim:Boolean,subtitle:[String,Number],title:[String,Number],value:null,onClick:G(),onClickOnce:G(),...bl(),...yt(),...Al(),...ol(),...wl(),...dl(),...mo(),...Ba(),...Sa(),...El({variant:"text"})},"VListItem"),dr=Pt()({name:"VListItem",directives:{Ripple:Do},props:cr(),emits:{click:e=>!0},setup(e,a){let{attrs:l,slots:o,emit:n}=a
|
764
|
-
const r=fo(e,l),i=t.computed((()=>void 0===e.value?r.href.value:e.value)),{activate:s,isActivated:u,select:c,isOpen:d,isSelected:v,isIndeterminate:p,isGroupActivator:f,root:m,parent:g,openOnSelect:h,id:y}=lr(i,!1),b=Un(),V=t.computed((()=>!1!==e.active&&(e.active||r.isActive?.value||(m.activatable.value?u.value:v.value)))),w=t.computed((()=>!1!==e.link&&r.isLink.value)),S=t.computed((()=>!e.disabled&&!1!==e.link&&(e.link||r.isClickable.value
|
765
|
+
const r=fo(e,l),i=t.computed((()=>void 0===e.value?r.href.value:e.value)),{activate:s,isActivated:u,select:c,isOpen:d,isSelected:v,isIndeterminate:p,isGroupActivator:f,root:m,parent:g,openOnSelect:h,id:y}=lr(i,!1),b=Un(),V=t.computed((()=>!1!==e.active&&(e.active||r.isActive?.value||(m.activatable.value?u.value:v.value)))),w=t.computed((()=>!1!==e.link&&r.isLink.value)),S=t.computed((()=>!!b&&(m.selectable.value||m.activatable.value||null!=e.value))),k=t.computed((()=>!e.disabled&&!1!==e.link&&(e.link||r.isClickable.value||S.value))),x=t.computed((()=>e.rounded||e.nav)),N=t.computed((()=>e.color??e.activeColor)),C=t.computed((()=>({color:V.value?N.value??e.baseColor:e.baseColor,variant:e.variant})))
|
765
766
|
t.watch((()=>r.isActive?.value),(e=>{e&&null!=g.value&&m.open(g.value,!0),e&&h(e)}),{immediate:!0})
|
766
|
-
const{themeClasses:
|
767
|
-
function
|
767
|
+
const{themeClasses:_}=xa(e),{borderClasses:I}=Vl(e),{colorClasses:P,colorStyles:B,variantClasses:A}=Fl(C),{densityClasses:R}=Rl(e),{dimensionStyles:T}=nl(e),{elevationClasses:D}=Sl(e),{roundedClasses:E}=vl(x),F=t.computed((()=>e.lines?`v-list-item--${e.lines}-line`:void 0)),$=t.computed((()=>({isActive:V.value,select:c,isOpen:d.value,isSelected:v.value,isIndeterminate:p.value})))
|
768
|
+
function M(t){n("click",t),k.value&&(r.navigate?.(t),f||(m.activatable.value?s(!u.value,t):(m.selectable.value||null!=e.value)&&c(!v.value,t)))}function O(e){"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),e.target.dispatchEvent(new MouseEvent("click",e)))}return Mt((()=>{const a=w.value?"a":e.tag,l=o.title||null!=e.title,n=o.subtitle||null!=e.subtitle,i=!(!e.appendAvatar&&!e.appendIcon),s=!(!i&&!o.append),c=!(!e.prependAvatar&&!e.prependIcon),d=!(!c&&!o.prepend)
|
768
769
|
var p,f
|
769
|
-
return b?.updateHasPrepend(d),e.activeColor&&(p="active-color",f=["color","base-color"],f=Array.isArray(f)?f.slice(0,-1).map((e=>`'${e}'`)).join(", ")+` or '${f.at(-1)}'`:`'${f}'`,t.warn(`[Vuetify UPGRADE] '${p}' is deprecated, use ${f} instead.`)),t.withDirectives(t.createVNode(a,t.mergeProps({class:["v-list-item",{"v-list-item--active":V.value,"v-list-item--disabled":e.disabled,"v-list-item--link":
|
770
|
+
return b?.updateHasPrepend(d),e.activeColor&&(p="active-color",f=["color","base-color"],f=Array.isArray(f)?f.slice(0,-1).map((e=>`'${e}'`)).join(", ")+` or '${f.at(-1)}'`:`'${f}'`,t.warn(`[Vuetify UPGRADE] '${p}' is deprecated, use ${f} instead.`)),t.withDirectives(t.createVNode(a,t.mergeProps({class:["v-list-item",{"v-list-item--active":V.value,"v-list-item--disabled":e.disabled,"v-list-item--link":k.value,"v-list-item--nav":e.nav,"v-list-item--prepend":!d&&b?.hasPrepend.value,"v-list-item--slim":e.slim,[`${e.activeClass}`]:e.activeClass&&V.value},_.value,I.value,P.value,R.value,D.value,F.value,E.value,A.value,e.class],style:[B.value,T.value,e.style],tabindex:k.value?b?-2:0:void 0,"aria-selected":S.value?m.activatable.value?u.value:m.selectable.value?v.value:V.value:void 0,onClick:M,onKeydown:k.value&&!w.value&&O},r.linkProps),{default:()=>[Dl(k.value||V.value,"v-list-item"),d&&t.createVNode("div",{key:"prepend",class:"v-list-item__prepend"},[o.prepend?t.createVNode(ll,{key:"prepend-defaults",disabled:!c,defaults:{VAvatar:{density:e.density,image:e.prependAvatar},VIcon:{density:e.density,icon:e.prependIcon},VListItemAction:{start:!0}}},{default:()=>[o.prepend?.($.value)]}):t.createVNode(t.Fragment,null,[e.prependAvatar&&t.createVNode(Uo,{key:"prepend-avatar",density:e.density,image:e.prependAvatar},null),e.prependIcon&&t.createVNode(Zl,{key:"prepend-icon",density:e.density,icon:e.prependIcon},null)]),t.createVNode("div",{class:"v-list-item__spacer"},null)]),t.createVNode("div",{class:"v-list-item__content","data-no-activator":""},[l&&t.createVNode(ur,{key:"title"},{default:()=>[o.title?.({title:e.title})??e.title]}),n&&t.createVNode(sr,{key:"subtitle"},{default:()=>[o.subtitle?.({subtitle:e.subtitle})??e.subtitle]}),o.default?.($.value)]),s&&t.createVNode("div",{key:"append",class:"v-list-item__append"},[o.append?t.createVNode(ll,{key:"append-defaults",disabled:!i,defaults:{VAvatar:{density:e.density,image:e.appendAvatar},VIcon:{density:e.density,icon:e.appendIcon},VListItemAction:{end:!0}}},{default:()=>[o.append?.($.value)]}):t.createVNode(t.Fragment,null,[e.appendIcon&&t.createVNode(Zl,{key:"append-icon",density:e.density,icon:e.appendIcon},null),e.appendAvatar&&t.createVNode(Uo,{key:"append-avatar",density:e.density,image:e.appendAvatar},null)]),t.createVNode("div",{class:"v-list-item__spacer"},null)])]}),[[t.resolveDirective("ripple"),k.value&&e.ripple]])})),{activate:s,isActivated:u,isGroupActivator:f,isSelected:v,list:b,select:c,root:m,id:y}}}),vr=ht({color:String,inset:Boolean,sticky:Boolean,title:String,...yt(),...Ba()},"VListSubheader"),pr=Pt()({name:"VListSubheader",props:vr(),setup(e,a){let{slots:l}=a
|
770
771
|
const{textColorClasses:o,textColorStyles:n}=ul(t.toRef(e,"color"))
|
771
772
|
return Mt((()=>{const a=!(!l.default&&!e.title)
|
772
773
|
return t.createVNode(e.tag,{class:["v-list-subheader",{"v-list-subheader--inset":e.inset,"v-list-subheader--sticky":e.sticky},o.value,e.class],style:[{textColorStyles:n},e.style]},{default:()=>[a&&t.createVNode("div",{class:"v-list-subheader__text"},[l.default?.()??e.title])]})})),{}}}),fr=ht({color:String,inset:Boolean,length:[Number,String],opacity:[Number,String],thickness:[Number,String],vertical:Boolean,...yt(),...Sa()},"VDivider"),mr=Pt()({name:"VDivider",props:fr(),setup(e,a){let{attrs:l,slots:o}=a
|
@@ -790,7 +791,7 @@ return t})):t.map((e=>{let{value:t}=e
|
|
790
791
|
return t}))}}}function Sr(e,t){const a=v(t,e.itemType,"item"),l=function(e){return"string"==typeof e||"number"==typeof e||"boolean"==typeof e}(t)?t:v(t,e.itemTitle),o=v(t,e.itemValue,void 0),n=v(t,e.itemChildren),r={title:l,value:o,...!0===e.itemProps?x(t,["children"]):v(t,e.itemProps)}
|
791
792
|
return{type:a,title:r.title,value:r.value,props:r,children:"item"===a&&n?kr(e,n):void 0,raw:t}}function kr(e,t){const a=[]
|
792
793
|
for(const l of t)a.push(Sr(e,l))
|
793
|
-
return a}const xr=ht({baseColor:String,activeColor:String,activeClass:String,bgColor:String,disabled:Boolean,expandIcon:
|
794
|
+
return a}const xr=ht({baseColor:String,activeColor:String,activeClass:String,bgColor:String,disabled:Boolean,expandIcon:Ot,collapseIcon:Ot,lines:{type:[Boolean,String],default:"one"},slim:Boolean,nav:Boolean,"onClick:open":G(),"onClick:select":G(),"onUpdate:opened":G(),...tr({selectStrategy:"single-leaf",openStrategy:"list"}),...bl(),...yt(),...Al(),...ol(),...wl(),itemType:{type:String,default:"type"},...yr(),...dl(),...Ba(),...Sa(),...El({variant:"text"})},"VList"),Nr=Pt()({name:"VList",props:xr(),emits:{"update:selected":e=>!0,"update:activated":e=>!0,"update:opened":e=>!0,"click:open":e=>!0,"click:activate":e=>!0,"click:select":e=>!0},setup(e,a){let{slots:l}=a
|
794
795
|
const{items:o}=function(e){return{items:t.computed((()=>kr(e,e.items)))}}(e),{themeClasses:n}=xa(e),{backgroundColorClasses:r,backgroundColorStyles:i}=cl(t.toRef(e,"bgColor")),{borderClasses:s}=Vl(e),{densityClasses:u}=Rl(e),{dimensionStyles:c}=nl(e),{elevationClasses:d}=Sl(e),{roundedClasses:v}=vl(e),{children:p,open:f,parents:m,select:g,getPath:h}=ar(e),y=t.computed((()=>e.lines?`v-list--${e.lines}-line`:void 0)),b=t.toRef(e,"activeColor"),V=t.toRef(e,"baseColor"),w=t.toRef(e,"color")
|
795
796
|
Wn(),Ct({VListGroup:{activeColor:b,baseColor:V,color:w,expandIcon:t.toRef(e,"expandIcon"),collapseIcon:t.toRef(e,"collapseIcon")},VListItem:{activeClass:t.toRef(e,"activeClass"),activeColor:b,baseColor:V,color:w,density:t.toRef(e,"density"),disabled:t.toRef(e,"disabled"),lines:t.toRef(e,"lines"),nav:t.toRef(e,"nav"),slim:t.toRef(e,"slim"),variant:t.toRef(e,"variant")}})
|
796
797
|
const S=t.shallowRef(!1),k=t.ref()
|
@@ -1003,7 +1004,7 @@ requestAnimationFrame((()=>{const l=ge(t),o=a.getBoundingClientRect(),n=o.x-l.x,
|
|
1003
1004
|
t.style.visibility="visible",a.style.visibility="hidden",he(t,{transform:`translate(${n}px, ${r}px) scale(${v})`,color:p,...s},{duration:d,easing:Rt,direction:e?"normal":"reverse"}).finished.then((()=>{t.style.removeProperty("visibility"),a.style.removeProperty("visibility")}))}))}}),{flush:"post"})
|
1004
1005
|
const P=t.computed((()=>({isActive:g,isFocused:u,controlRef:k,blur:d,focus:c})))
|
1005
1006
|
function B(e){e.target!==document.activeElement&&e.preventDefault()}function A(t){"Enter"!==t.key&&" "!==t.key||(t.preventDefault(),t.stopPropagation(),e["onClick:clear"]?.(new MouseEvent("click")))}return Mt((()=>{const a="outlined"===e.variant,o=!(!n["prepend-inner"]&&!e.prependInnerIcon),u=!(!e.clearable&&!n.clear),f=!!(n["append-inner"]||e.appendInnerIcon||u),y=()=>n.label?n.label({...P.value,label:e.label,props:{for:b.value}}):e.label
|
1006
|
-
return t.createVNode("div",t.mergeProps({class:["v-field",{"v-field--active":g.value,"v-field--appended":f,"v-field--center-affix":e.centerAffix??!x.value,"v-field--disabled":e.disabled,"v-field--dirty":e.dirty,"v-field--error":e.error,"v-field--flat":e.flat,"v-field--has-background":!!e.bgColor,"v-field--persistent-clear":e.persistentClear,"v-field--prepended":o,"v-field--reverse":e.reverse,"v-field--single-line":e.singleLine,"v-field--no-label":!y(),[`v-field--variant-${e.variant}`]:!0},r.value,N.value,s.value,i.value,p.value,m.value,e.class],style:[C.value,e.style],onClick:B},l),[t.createVNode("div",{class:"v-field__overlay"},null),t.createVNode(so,{name:"v-field",active:!!e.loading,color:e.error?"error":"string"==typeof e.loading?e.loading:e.color},{default:n.loader}),o&&t.createVNode("div",{key:"prepend",class:"v-field__prepend-inner"},[e.prependInnerIcon&&t.createVNode(v,{key:"prepend-icon",name:"prependInner"},null),n["prepend-inner"]?.(P.value)]),t.createVNode("div",{class:"v-field__field","data-no-activator":""},[["filled","solo","solo-inverted","solo-filled"].includes(e.variant)&&h.value&&t.createVNode(yi,{key:"floating-label",ref:S,class:[_.value],floating:!0,for:b.value,style:I.value},{default:()=>[y()]}),t.createVNode(yi,{ref:w,for:b.value},{default:()=>[y()]}),n.default?.({...P.value,props:{id:b.value,class:"v-field__input","aria-describedby":V.value},focus:c,blur:d})]),u&&t.createVNode(tl,{key:"clear"},{default:()=>[t.withDirectives(t.createVNode("div",{class:"v-field__clearable",onMousedown:e=>{e.preventDefault(),e.stopPropagation()}},[t.createVNode(ll,{defaults:{VIcon:{icon:e.clearIcon}}},{default:()=>[n.clear?n.clear({...P.value,props:{onKeydown:A,onFocus:c,onBlur:d,onClick:e["onClick:clear"]}}):t.createVNode(v,{name:"clear",onKeydown:A,onFocus:c,onBlur:d},null)]})]),[[t.vShow,e.dirty]])]}),f&&t.createVNode("div",{key:"append",class:"v-field__append-inner"},[n["append-inner"]?.(P.value),e.appendInnerIcon&&t.createVNode(v,{key:"append-icon",name:"appendInner"},null)]),t.createVNode("div",{class:["v-field__outline",_.value],style:I.value},[a&&t.createVNode(t.Fragment,null,[t.createVNode("div",{class:"v-field__outline__start"},null),h.value&&t.createVNode("div",{class:"v-field__outline__notch"},[t.createVNode(yi,{ref:S,floating:!0,for:b.value},{default:()=>[y()]})]),t.createVNode("div",{class:"v-field__outline__end"},null)]),x.value&&h.value&&t.createVNode(yi,{ref:S,floating:!0,for:b.value},{default:()=>[y()]})])])})),{controlRef:k}}})
|
1007
|
+
return t.createVNode("div",t.mergeProps({class:["v-field",{"v-field--active":g.value,"v-field--appended":f,"v-field--center-affix":e.centerAffix??!x.value,"v-field--disabled":e.disabled,"v-field--dirty":e.dirty,"v-field--error":e.error,"v-field--flat":e.flat,"v-field--has-background":!!e.bgColor,"v-field--persistent-clear":e.persistentClear,"v-field--prepended":o,"v-field--reverse":e.reverse,"v-field--single-line":e.singleLine,"v-field--no-label":!y(),[`v-field--variant-${e.variant}`]:!0},r.value,N.value,s.value,i.value,p.value,m.value,e.class],style:[C.value,e.style],onClick:B},l),[t.createVNode("div",{class:"v-field__overlay"},null),t.createVNode(so,{name:"v-field",active:!!e.loading,color:e.error?"error":"string"==typeof e.loading?e.loading:e.color},{default:n.loader}),o&&t.createVNode("div",{key:"prepend",class:"v-field__prepend-inner"},[e.prependInnerIcon&&t.createVNode(v,{key:"prepend-icon",name:"prependInner"},null),n["prepend-inner"]?.(P.value)]),t.createVNode("div",{class:"v-field__field","data-no-activator":""},[["filled","solo","solo-inverted","solo-filled"].includes(e.variant)&&h.value&&t.createVNode(yi,{key:"floating-label",ref:S,class:[_.value],floating:!0,for:b.value,style:I.value},{default:()=>[y()]}),h.value&&t.createVNode(yi,{key:"label",ref:w,for:b.value},{default:()=>[y()]}),n.default?.({...P.value,props:{id:b.value,class:"v-field__input","aria-describedby":V.value},focus:c,blur:d})]),u&&t.createVNode(tl,{key:"clear"},{default:()=>[t.withDirectives(t.createVNode("div",{class:"v-field__clearable",onMousedown:e=>{e.preventDefault(),e.stopPropagation()}},[t.createVNode(ll,{defaults:{VIcon:{icon:e.clearIcon}}},{default:()=>[n.clear?n.clear({...P.value,props:{onKeydown:A,onFocus:c,onBlur:d,onClick:e["onClick:clear"]}}):t.createVNode(v,{name:"clear",onKeydown:A,onFocus:c,onBlur:d},null)]})]),[[t.vShow,e.dirty]])]}),f&&t.createVNode("div",{key:"append",class:"v-field__append-inner"},[n["append-inner"]?.(P.value),e.appendInnerIcon&&t.createVNode(v,{key:"append-icon",name:"appendInner"},null)]),t.createVNode("div",{class:["v-field__outline",_.value],style:I.value},[a&&t.createVNode(t.Fragment,null,[t.createVNode("div",{class:"v-field__outline__start"},null),h.value&&t.createVNode("div",{class:"v-field__outline__notch"},[t.createVNode(yi,{ref:S,floating:!0,for:b.value},{default:()=>[y()]})]),t.createVNode("div",{class:"v-field__outline__end"},null)]),x.value&&h.value&&t.createVNode(yi,{ref:S,floating:!0,for:b.value},{default:()=>[y()]})])])})),{controlRef:k}}})
|
1007
1008
|
function Si(e){return S(e,Object.keys(wi.props).filter((e=>!_(e)&&"class"!==e&&"style"!==e)))}const ki=["color","file","time","date","datetime-local","week","month"],xi=ht({autofocus:Boolean,counter:[Boolean,Number,String],counterValue:[Number,Function],prefix:String,placeholder:String,persistentPlaceholder:Boolean,persistentCounter:Boolean,suffix:String,role:String,type:{type:String,default:"text"},modelModifiers:Object,...pn(),...Vi()},"VTextField"),Ni=Pt()({name:"VTextField",directives:{Intersect:gl},inheritAttrs:!1,props:xi(),emits:{"click:control":e=>!0,"mousedown:control":e=>!0,"update:focused":e=>!0,"update:modelValue":e=>!0},setup(e,a){let{attrs:l,emit:o,slots:n}=a
|
1008
1009
|
const r=sa(e,"modelValue"),{isFocused:i,focus:s,blur:u}=rn(e),c=t.computed((()=>"function"==typeof e.counterValue?e.counterValue(r.value):"number"==typeof e.counterValue?e.counterValue:(r.value??"").toString().length)),d=t.computed((()=>l.maxlength?l.maxlength:!e.counter||"number"!=typeof e.counter&&"string"!=typeof e.counter?void 0:e.counter)),v=t.computed((()=>["plain","underlined"].includes(e.variant)))
|
1009
1010
|
function p(t,a){e.autofocus&&t&&a[0].target?.focus?.()}const f=t.ref(),m=t.ref(),g=t.ref(),h=t.computed((()=>ki.includes(e.type)||e.persistentPlaceholder||i.value||e.active))
|
@@ -1068,10 +1069,10 @@ break}}else{const e=n.getBoundingClientRect().bottom
|
|
1068
1069
|
for(const t of[...r].reverse())if(t.getBoundingClientRect().bottom<=e){t.focus()
|
1069
1070
|
break}}}}}const Ti=ht({chips:Boolean,closableChips:Boolean,closeText:{type:String,default:"$vuetify.close"},openText:{type:String,default:"$vuetify.open"},eager:Boolean,hideNoData:Boolean,hideSelected:Boolean,listProps:{type:Object},menu:Boolean,menuIcon:{type:Ot,default:"$dropdown"},menuProps:{type:Object},multiple:Boolean,noDataText:{type:String,default:"$vuetify.noDataText"},openOnClear:Boolean,itemColor:String,...yr({itemChildren:!1})},"Select"),Di=ht({...Ti(),...x(xi({modelValue:null,role:"combobox"}),["validationValue","dirty","appendInnerIcon"]),...pl({transition:{component:Ma}})},"VSelect"),Ei=Pt()({name:"VSelect",props:Di(),emits:{"update:focused":e=>!0,"update:modelValue":e=>!0,"update:menu":e=>!0},setup(e,l){let{slots:o}=l
|
1070
1071
|
const{t:n}=ya(),r=t.ref(),i=t.ref(),s=t.ref(),u=sa(e,"menu"),c=t.computed({get:()=>u.value,set:e=>{u.value&&!e&&i.value?.ΨopenChildren.size||(u.value=e)}}),{items:d,transformIn:v,transformOut:p}=wr(e),f=sa(e,"modelValue",[],(e=>v(null===e?[null]:A(e))),(t=>{const a=p(t)
|
1071
|
-
return e.multiple?a:a[0]??null})),m=t.computed((()=>"function"==typeof e.counterValue?e.counterValue(f.value):"number"==typeof e.counterValue?e.counterValue:f.value.length)),g=cn(),h=t.computed((()=>f.value.map((e=>e.value)))),y=t.shallowRef(!1),b=t.computed((()=>c.value?e.closeText:e.openText))
|
1072
|
+
return e.multiple?a:a[0]??null})),m=t.computed((()=>"function"==typeof e.counterValue?e.counterValue(f.value):"number"==typeof e.counterValue?e.counterValue:f.value.length)),g=cn(e),h=t.computed((()=>f.value.map((e=>e.value)))),y=t.shallowRef(!1),b=t.computed((()=>c.value?e.closeText:e.openText))
|
1072
1073
|
let V,w=""
|
1073
|
-
const S=t.computed((()=>e.hideSelected?d.value.filter((t=>!f.value.some((a=>e.valueComparator(a,t))))):d.value)),k=t.computed((()=>e.hideNoData&&!S.value.length||
|
1074
|
-
function _(t){e.openOnClear&&(c.value=!0)}function I(){k.value||(c.value=!c.value)}function P(e){oe(e)&&B(e)}function B(t){if(!t.key||
|
1074
|
+
const S=t.computed((()=>e.hideSelected?d.value.filter((t=>!f.value.some((a=>e.valueComparator(a,t))))):d.value)),k=t.computed((()=>e.hideNoData&&!S.value.length||g.isReadonly.value||g.isDisabled.value)),x=t.computed((()=>({...e.menuProps,activatorProps:{...e.menuProps?.activatorProps||{},"aria-haspopup":"listbox"}}))),N=t.ref(),C=Ri(N,r)
|
1075
|
+
function _(t){e.openOnClear&&(c.value=!0)}function I(){k.value||(c.value=!c.value)}function P(e){oe(e)&&B(e)}function B(t){if(!t.key||g.isReadonly.value)return;["Enter"," ","ArrowDown","ArrowUp","Home","End"].includes(t.key)&&t.preventDefault(),["Enter","ArrowDown"," "].includes(t.key)&&(c.value=!0),["Escape","Tab"].includes(t.key)&&(c.value=!1),"Home"===t.key?N.value?.focus("first"):"End"===t.key&&N.value?.focus("last")
|
1075
1076
|
if(e.multiple||!oe(t))return
|
1076
1077
|
const l=performance.now()
|
1077
1078
|
l-V>1e3&&(w=""),w+=t.key.toLowerCase(),V=l
|
@@ -1109,8 +1110,8 @@ c.forEach((e=>{let{index:t,matches:a}=e
|
|
1109
1110
|
const l=d[t]
|
1110
1111
|
p.push(l),f.set(l.value,a)})),n.value=p,r.value=f})),{filteredItems:n,filteredMatches:r,getMatches:function(e){return r.value.get(e.value)}}}const Oi=ht({autoSelectFirst:{type:[Boolean,String]},clearOnSelect:Boolean,search:String,...$i({filterKeys:["title"]}),...Ti(),...x(xi({modelValue:null,role:"combobox"}),["validationValue","dirty","appendInnerIcon"]),...pl({transition:!1})},"VAutocomplete"),Li=Pt()({name:"VAutocomplete",props:Oi(),emits:{"update:focused":e=>!0,"update:search":e=>!0,"update:modelValue":e=>!0,"update:menu":e=>!0},setup(e,l){let{slots:o}=l
|
1111
1112
|
const{t:n}=ya(),r=t.ref(),i=t.shallowRef(!1),s=t.shallowRef(!0),u=t.shallowRef(!1),c=t.ref(),d=t.ref(),v=sa(e,"menu"),p=t.computed({get:()=>v.value,set:e=>{v.value&&!e&&c.value?.ΨopenChildren.size||(v.value=e)}}),f=t.shallowRef(-1),m=t.computed((()=>r.value?.color)),g=t.computed((()=>p.value?e.closeText:e.openText)),{items:h,transformIn:y,transformOut:b}=wr(e),{textColorClasses:V,textColorStyles:w}=ul(m),S=sa(e,"search",""),k=sa(e,"modelValue",[],(e=>y(null===e?[null]:A(e))),(t=>{const a=b(t)
|
1112
|
-
return e.multiple?a:a[0]??null})),x=t.computed((()=>"function"==typeof e.counterValue?e.counterValue(k.value):"number"==typeof e.counterValue?e.counterValue:k.value.length)),N=cn(),{filteredItems:C,getMatches:_}=Mi(e,h,(()=>s.value?"":S.value)),I=t.computed((()=>e.hideSelected?C.value.filter((e=>!k.value.some((t=>t.value===e.value)))):C.value)),P=t.computed((()=>!(!e.chips&&!o.chip))),B=t.computed((()=>P.value||!!o.selection)),R=t.computed((()=>k.value.map((e=>e.props.value)))),T=t.computed((()=>(!0===e.autoSelectFirst||"exact"===e.autoSelectFirst&&S.value===I.value[0]?.title)&&I.value.length>0&&!s.value&&!u.value)),D=t.computed((()=>e.hideNoData&&!I.value.length||
|
1113
|
-
function $(t){e.openOnClear&&(p.value=!0),S.value=""}function M(){D.value||(p.value=!0)}function O(e){D.value||(i.value&&(e.preventDefault(),e.stopPropagation()),p.value=!p.value)}function L(e){oe(e)&&r.value?.focus()}function z(t){if(
|
1113
|
+
return e.multiple?a:a[0]??null})),x=t.computed((()=>"function"==typeof e.counterValue?e.counterValue(k.value):"number"==typeof e.counterValue?e.counterValue:k.value.length)),N=cn(e),{filteredItems:C,getMatches:_}=Mi(e,h,(()=>s.value?"":S.value)),I=t.computed((()=>e.hideSelected?C.value.filter((e=>!k.value.some((t=>t.value===e.value)))):C.value)),P=t.computed((()=>!(!e.chips&&!o.chip))),B=t.computed((()=>P.value||!!o.selection)),R=t.computed((()=>k.value.map((e=>e.props.value)))),T=t.computed((()=>(!0===e.autoSelectFirst||"exact"===e.autoSelectFirst&&S.value===I.value[0]?.title)&&I.value.length>0&&!s.value&&!u.value)),D=t.computed((()=>e.hideNoData&&!I.value.length||N.isReadonly.value||N.isDisabled.value)),E=t.ref(),F=Ri(E,r)
|
1114
|
+
function $(t){e.openOnClear&&(p.value=!0),S.value=""}function M(){D.value||(p.value=!0)}function O(e){D.value||(i.value&&(e.preventDefault(),e.stopPropagation()),p.value=!p.value)}function L(e){oe(e)&&r.value?.focus()}function z(t){if(N.isReadonly.value)return
|
1114
1115
|
const a=r.value.selectionStart,l=k.value.length
|
1115
1116
|
if((f.value>-1||["Enter","ArrowDown","ArrowUp"].includes(t.key))&&t.preventDefault(),["Enter","ArrowDown"].includes(t.key)&&(p.value=!0),["Escape"].includes(t.key)&&(p.value=!1),T.value&&["Enter","Tab"].includes(t.key)&&!k.value.some((e=>{let{value:t}=e
|
1116
1117
|
return t===I.value[0].value}))&&K(I.value[0]),"ArrowDown"===t.key&&T.value&&E.value?.focus("next"),["Backspace","Delete"].includes(t.key)){if(!e.multiple&&B.value&&k.value.length>0&&!S.value)return K(k.value[0],!1)
|
@@ -1129,7 +1130,7 @@ e.clearOnSelect&&(S.value="")}else{const e=!1!==l
|
|
1129
1130
|
k.value=e?[a]:[],S.value=e&&!B.value?a.title:"",t.nextTick((()=>{p.value=!1,s.value=!0}))}}return t.watch(i,((a,l)=>{a!==l&&(a?(q.value=!0,S.value=e.multiple||B.value?"":String(k.value.at(-1)?.props.title??""),s.value=!0,t.nextTick((()=>q.value=!1))):(e.multiple||null!=S.value||(k.value=[]),p.value=!1,k.value.some((e=>{let{title:t}=e
|
1130
1131
|
return t===S.value}))||(S.value=""),f.value=-1))})),t.watch(S,(e=>{i.value&&!q.value&&(e&&(p.value=!0),s.value=!e)})),t.watch(p,(()=>{if(!e.hideSelected&&p.value&&k.value.length){const e=I.value.findIndex((e=>k.value.some((t=>e.value===t.value))))
|
1131
1132
|
a&&window.requestAnimationFrame((()=>{e>=0&&d.value?.scrollToIndex(e)}))}})),t.watch((()=>e.items),((e,t)=>{p.value||i.value&&!t.length&&e.length&&(p.value=!0)})),Mt((()=>{const a=!!(!e.hideNoData||I.value.length||o["prepend-item"]||o["append-item"]||o["no-data"]),l=k.value.length>0,u=Ni.filterProps(e)
|
1132
|
-
return t.createVNode(Ni,t.mergeProps({ref:r},u,{modelValue:S.value,"onUpdate:modelValue":[e=>S.value=e,G],focused:i.value,"onUpdate:focused":e=>i.value=e,validationValue:k.externalValue,counterValue:x.value,dirty:l,onChange:j,class:["v-autocomplete","v-autocomplete--"+(e.multiple?"multiple":"single"),{"v-autocomplete--active-menu":p.value,"v-autocomplete--chips":!!e.chips,"v-autocomplete--selection-slot":!!B.value,"v-autocomplete--selecting-index":f.value>-1},e.class],style:e.style,readonly:
|
1133
|
+
return t.createVNode(Ni,t.mergeProps({ref:r},u,{modelValue:S.value,"onUpdate:modelValue":[e=>S.value=e,G],focused:i.value,"onUpdate:focused":e=>i.value=e,validationValue:k.externalValue,counterValue:x.value,dirty:l,onChange:j,class:["v-autocomplete","v-autocomplete--"+(e.multiple?"multiple":"single"),{"v-autocomplete--active-menu":p.value,"v-autocomplete--chips":!!e.chips,"v-autocomplete--selection-slot":!!B.value,"v-autocomplete--selecting-index":f.value>-1},e.class],style:e.style,readonly:N.isReadonly.value,placeholder:l?void 0:e.placeholder,"onClick:clear":$,"onMousedown:control":M,onKeydown:z}),{...o,default:()=>t.createVNode(t.Fragment,null,[t.createVNode(fi,t.mergeProps({ref:c,modelValue:p.value,"onUpdate:modelValue":e=>p.value=e,activator:"parent",contentClass:"v-autocomplete__content",disabled:D.value,eager:e.eager,maxHeight:310,openOnClick:!1,closeOnContentClick:!1,transition:e.transition,onAfterEnter:H,onAfterLeave:W},e.menuProps),{default:()=>[a&&t.createVNode(Nr,t.mergeProps({ref:E,selected:R.value,selectStrategy:e.multiple?"independent":"single-independent",onMousedown:e=>e.preventDefault(),onKeydown:L,onFocusin:U,onFocusout:Y,tabindex:"-1","aria-live":"polite",color:e.itemColor??e.color},F,e.listProps),{default:()=>[o["prepend-item"]?.(),!I.value.length&&!e.hideNoData&&(o["no-data"]?.()??t.createVNode(dr,{title:n(e.noDataText)},null)),t.createVNode(Ai,{ref:d,renderless:!0,items:I.value},{default:a=>{let{item:l,index:n,itemRef:r}=a
|
1133
1134
|
const i=t.mergeProps(l.props,{ref:r,key:n,active:!(!T.value||0!==n)||void 0,onClick:()=>K(l,null)})
|
1134
1135
|
return o.item?.({item:l,index:n,props:i})??t.createVNode(dr,t.mergeProps(i,{role:"option"}),{prepend:a=>{let{isSelected:o}=a
|
1135
1136
|
return t.createVNode(t.Fragment,null,[e.multiple&&!e.hideSelected?t.createVNode(tn,{key:l.value,modelValue:o,ripple:!1,tabindex:"-1"},null):void 0,l.props.prependAvatar&&t.createVNode(Uo,{image:l.props.prependAvatar},null),l.props.prependIcon&&t.createVNode(Zl,{icon:l.props.prependIcon},null)])},title:()=>s.value?l.title:function(e,a,l){if(null==a)return e
|
@@ -1305,11 +1306,11 @@ const au=ht({autoSelectFirst:{type:[Boolean,String]},clearOnSelect:{type:Boolean
|
|
1305
1306
|
const{t:r}=ya(),i=t.ref(),s=t.shallowRef(!1),u=t.shallowRef(!0),c=t.shallowRef(!1),d=t.ref(),v=t.ref(),p=sa(e,"menu"),f=t.computed({get:()=>p.value,set:e=>{p.value&&!e&&d.value?.ΨopenChildren.size||(p.value=e)}}),m=t.shallowRef(-1)
|
1306
1307
|
let g=!1
|
1307
1308
|
const h=t.computed((()=>i.value?.color)),y=t.computed((()=>f.value?e.closeText:e.openText)),{items:b,transformIn:V,transformOut:w}=wr(e),{textColorClasses:S,textColorStyles:k}=ul(h),x=sa(e,"modelValue",[],(e=>V(A(e))),(t=>{const a=w(t)
|
1308
|
-
return e.multiple?a:a[0]??null})),N=cn(),C=t.computed((()=>!(!e.chips&&!n.chip))),_=t.computed((()=>C.value||!!n.selection)),I=t.shallowRef(e.multiple||_.value?"":x.value[0]?.title??""),B=t.computed({get:()=>I.value,set:t=>{if(I.value=t??"",e.multiple||_.value||(x.value=[br(e,t)]),t&&e.multiple&&e.delimiters?.length){const a=t.split(new RegExp(`(?:${e.delimiters.join("|")})+`))
|
1309
|
+
return e.multiple?a:a[0]??null})),N=cn(e),C=t.computed((()=>!(!e.chips&&!n.chip))),_=t.computed((()=>C.value||!!n.selection)),I=t.shallowRef(e.multiple||_.value?"":x.value[0]?.title??""),B=t.computed({get:()=>I.value,set:t=>{if(I.value=t??"",e.multiple||_.value||(x.value=[br(e,t)]),t&&e.multiple&&e.delimiters?.length){const a=t.split(new RegExp(`(?:${e.delimiters.join("|")})+`))
|
1309
1310
|
a.length>1&&(a.forEach((t=>{(t=t.trim())&&q(br(e,t))})),I.value="")}t||(m.value=-1),u.value=!t}}),R=t.computed((()=>"function"==typeof e.counterValue?e.counterValue(x.value):"number"==typeof e.counterValue?e.counterValue:e.multiple?x.value.length:B.value.length))
|
1310
1311
|
t.watch(I,(e=>{g?t.nextTick((()=>g=!1)):s.value&&!f.value&&(f.value=!0),o("update:search",e)})),t.watch(x,(t=>{e.multiple||_.value||(I.value=t[0]?.title??"")}))
|
1311
|
-
const{filteredItems:T,getMatches:D}=Mi(e,b,(()=>u.value?"":B.value)),E=t.computed((()=>e.hideSelected?T.value.filter((e=>!x.value.some((t=>t.value===e.value)))):T.value)),F=t.computed((()=>x.value.map((e=>e.value)))),$=t.computed((()=>(!0===e.autoSelectFirst||"exact"===e.autoSelectFirst&&B.value===E.value[0]?.title)&&E.value.length>0&&!u.value&&!c.value)),M=t.computed((()=>e.hideNoData&&!E.value.length||
|
1312
|
-
function z(t){g=!0,e.openOnClear&&(f.value=!0)}function j(){M.value||(f.value=!0)}function H(e){M.value||(s.value&&(e.preventDefault(),e.stopPropagation()),f.value=!f.value)}function W(e){oe(e)&&i.value?.focus()}function U(t){if(function(e){return e.isComposing&&P.includes(e.key)}(t)||
|
1312
|
+
const{filteredItems:T,getMatches:D}=Mi(e,b,(()=>u.value?"":B.value)),E=t.computed((()=>e.hideSelected?T.value.filter((e=>!x.value.some((t=>t.value===e.value)))):T.value)),F=t.computed((()=>x.value.map((e=>e.value)))),$=t.computed((()=>(!0===e.autoSelectFirst||"exact"===e.autoSelectFirst&&B.value===E.value[0]?.title)&&E.value.length>0&&!u.value&&!c.value)),M=t.computed((()=>e.hideNoData&&!E.value.length||N.isReadonly.value||N.isDisabled.value)),O=t.ref(),L=Ri(O,i)
|
1313
|
+
function z(t){g=!0,e.openOnClear&&(f.value=!0)}function j(){M.value||(f.value=!0)}function H(e){M.value||(s.value&&(e.preventDefault(),e.stopPropagation()),f.value=!f.value)}function W(e){oe(e)&&i.value?.focus()}function U(t){if(function(e){return e.isComposing&&P.includes(e.key)}(t)||N.isReadonly.value)return
|
1313
1314
|
const a=i.value.selectionStart,l=x.value.length
|
1314
1315
|
if((m.value>-1||["Enter","ArrowDown","ArrowUp"].includes(t.key))&&t.preventDefault(),["Enter","ArrowDown"].includes(t.key)&&(f.value=!0),["Escape"].includes(t.key)&&(f.value=!1),["Enter","Escape","Tab"].includes(t.key)&&($.value&&["Enter","Tab"].includes(t.key)&&!x.value.some((e=>{let{value:t}=e
|
1315
1316
|
return t===E.value[0].value}))&&q(T.value[0]),u.value=!0),"ArrowDown"===t.key&&$.value&&O.value?.focus("next"),"Enter"===t.key&&B.value&&(q(br(e,B.value)),_.value&&(I.value="")),["Backspace","Delete"].includes(t.key)){if(!e.multiple&&_.value&&x.value.length>0&&!B.value)return q(x.value[0],!1)
|
@@ -1328,7 +1329,7 @@ if(!_.value)return
|
|
1328
1329
|
x.value.some((e=>{let{title:t}=e
|
1329
1330
|
return t===B.value}))?I.value="":q(br(e,B.value))}})),t.watch(f,(()=>{if(!e.hideSelected&&f.value&&x.value.length){const t=E.value.findIndex((t=>x.value.some((a=>e.valueComparator(a.value,t.value)))))
|
1330
1331
|
a&&window.requestAnimationFrame((()=>{t>=0&&v.value?.scrollToIndex(t)}))}})),t.watch((()=>e.items),((e,t)=>{f.value||s.value&&!t.length&&e.length&&(f.value=!0)})),Mt((()=>{const a=!!(!e.hideNoData||E.value.length||n["prepend-item"]||n["append-item"]||n["no-data"]),l=x.value.length>0,o=Ni.filterProps(e)
|
1331
|
-
return t.createVNode(Ni,t.mergeProps({ref:i},o,{modelValue:B.value,"onUpdate:modelValue":[e=>B.value=e,Z],focused:s.value,"onUpdate:focused":e=>s.value=e,validationValue:x.externalValue,counterValue:R.value,dirty:l,class:["v-combobox",{"v-combobox--active-menu":f.value,"v-combobox--chips":!!e.chips,"v-combobox--selection-slot":!!_.value,"v-combobox--selecting-index":m.value>-1,["v-combobox--"+(e.multiple?"multiple":"single")]:!0},e.class],style:e.style,readonly:
|
1332
|
+
return t.createVNode(Ni,t.mergeProps({ref:i},o,{modelValue:B.value,"onUpdate:modelValue":[e=>B.value=e,Z],focused:s.value,"onUpdate:focused":e=>s.value=e,validationValue:x.externalValue,counterValue:R.value,dirty:l,class:["v-combobox",{"v-combobox--active-menu":f.value,"v-combobox--chips":!!e.chips,"v-combobox--selection-slot":!!_.value,"v-combobox--selecting-index":m.value>-1,["v-combobox--"+(e.multiple?"multiple":"single")]:!0},e.class],style:e.style,readonly:N.isReadonly.value,placeholder:l?void 0:e.placeholder,"onClick:clear":z,"onMousedown:control":j,onKeydown:U}),{...n,default:()=>t.createVNode(t.Fragment,null,[t.createVNode(fi,t.mergeProps({ref:d,modelValue:f.value,"onUpdate:modelValue":e=>f.value=e,activator:"parent",contentClass:"v-combobox__content",disabled:M.value,eager:e.eager,maxHeight:310,openOnClick:!1,closeOnContentClick:!1,transition:e.transition,onAfterEnter:Y,onAfterLeave:G},e.menuProps),{default:()=>[a&&t.createVNode(Nr,t.mergeProps({ref:O,selected:F.value,selectStrategy:e.multiple?"independent":"single-independent",onMousedown:e=>e.preventDefault(),onKeydown:W,onFocusin:K,onFocusout:X,tabindex:"-1","aria-live":"polite",color:e.itemColor??e.color},L,e.listProps),{default:()=>[n["prepend-item"]?.(),!E.value.length&&!e.hideNoData&&(n["no-data"]?.()??t.createVNode(dr,{title:r(e.noDataText)},null)),t.createVNode(Ai,{ref:v,renderless:!0,items:E.value},{default:a=>{let{item:l,index:o,itemRef:r}=a
|
1332
1333
|
const i=t.mergeProps(l.props,{ref:r,key:o,active:!(!$.value||0!==o)||void 0,onClick:()=>q(l,null)})
|
1333
1334
|
return n.item?.({item:l,index:o,props:i})??t.createVNode(dr,t.mergeProps(i,{role:"option"}),{prepend:a=>{let{isSelected:o}=a
|
1334
1335
|
return t.createVNode(t.Fragment,null,[e.multiple&&!e.hideSelected?t.createVNode(tn,{key:l.value,modelValue:o,ripple:!1,tabindex:"-1"},null):void 0,l.props.prependAvatar&&t.createVNode(Uo,{image:l.props.prependAvatar},null),l.props.prependIcon&&t.createVNode(Zl,{icon:l.props.prependIcon},null)])},title:()=>u.value?l.title:function(e,a,l){if(null==a)return e
|
@@ -1434,9 +1435,8 @@ return hu(e,ya())}const bu=ht({modelValue:null,color:String,cancelText:{type:Str
|
|
1434
1435
|
const n=sa(e,"modelValue"),r=t.ref()
|
1435
1436
|
t.watchEffect((()=>{r.value=structuredClone(t.toRaw(n.value))}))
|
1436
1437
|
const{t:i}=ya(),s=t.computed((()=>c(n.value,r.value)))
|
1437
|
-
function u(){n.value=r.value,l("save",r.value)}function d(){r.value=structuredClone(t.toRaw(n.value)),l("cancel")}let
|
1438
|
-
return Mt((()=>
|
1439
|
-
return t.createVNode(t.Fragment,null,[o.default?.({model:r,save:u,cancel:d,isPristine:s.value,get actions(){return v=!0,a}}),!v&&a])})),{save:u,cancel:d,isPristine:s}}}),wu=ht({expandOnClick:Boolean,showExpand:Boolean,expanded:{type:Array,default:()=>[]}},"DataTable-expand"),Su=Symbol.for("vuetify:datatable:expanded")
|
1438
|
+
function u(){n.value=r.value,l("save",r.value)}function d(){r.value=structuredClone(t.toRaw(n.value)),l("cancel")}function v(a){return t.createVNode(t.Fragment,null,[t.createVNode(Fo,t.mergeProps({disabled:s.value,variant:"text",color:e.color,onClick:d,text:i(e.cancelText)},a),null),t.createVNode(Fo,t.mergeProps({disabled:s.value,variant:"text",color:e.color,onClick:u,text:i(e.okText)},a),null)])}let p=!1
|
1439
|
+
return Mt((()=>t.createVNode(t.Fragment,null,[o.default?.({model:r,save:u,cancel:d,isPristine:s.value,get actions(){return p=!0,v}}),!p&&v()]))),{save:u,cancel:d,isPristine:s}}}),wu=ht({expandOnClick:Boolean,showExpand:Boolean,expanded:{type:Array,default:()=>[]}},"DataTable-expand"),Su=Symbol.for("vuetify:datatable:expanded")
|
1440
1440
|
function ku(e){const a=t.toRef(e,"expandOnClick"),l=sa(e,"expanded",e.expanded,(e=>new Set(e)),(e=>[...e.values()]))
|
1441
1441
|
function o(e,t){const a=new Set(l.value)
|
1442
1442
|
t?a.add(e.value):a.delete(e.value),l.value=a}function n(e){return l.value.has(e.value)}const r={expand:o,expanded:l,expandOnClick:a,isExpanded:n,toggleExpand:function(e){o(e,!n(e))}}
|
@@ -1666,7 +1666,7 @@ n&&t.push(n)}))
|
|
1666
1666
|
return t.push({"v-row--no-gutters":e.noGutters,"v-row--dense":e.dense,[`align-${e.align}`]:e.align,[`justify-${e.justify}`]:e.justify,[`align-content-${e.alignContent}`]:e.alignContent}),t}))
|
1667
1667
|
return()=>t.h(e.tag,{class:["v-row",o.value,e.class],style:e.style},l.default?.())}}),md=Bt("v-spacer","div","VSpacer"),gd=ht({active:{type:[String,Array],default:void 0},disabled:{type:[Boolean,String,Array],default:!1},nextIcon:{type:Ot,default:"$next"},prevIcon:{type:Ot,default:"$prev"},modeIcon:{type:Ot,default:"$subgroup"},text:String,viewMode:{type:String,default:"month"}},"VDatePickerControls"),hd=Pt()({name:"VDatePickerControls",props:gd(),emits:{"click:year":()=>!0,"click:month":()=>!0,"click:prev":()=>!0,"click:next":()=>!0,"click:text":()=>!0},setup(e,a){let{emit:l}=a
|
1668
1668
|
const o=t.computed((()=>Array.isArray(e.disabled)?e.disabled.includes("text"):!!e.disabled)),n=t.computed((()=>Array.isArray(e.disabled)?e.disabled.includes("mode"):!!e.disabled)),r=t.computed((()=>Array.isArray(e.disabled)?e.disabled.includes("prev"):!!e.disabled)),i=t.computed((()=>Array.isArray(e.disabled)?e.disabled.includes("next"):!!e.disabled))
|
1669
|
-
function s(){l("click:prev")}function u(){l("click:next")}function c(){l("click:year")}function d(){l("click:month")}return Mt((()=>t.createVNode("div",{class:["v-date-picker-controls"]},[t.createVNode(Fo,{class:"v-date-picker-controls__month-btn",disabled:o.value,text:e.text,variant:"text",rounded:!0,onClick:d},null),t.createVNode(Fo,{key:"mode-btn",class:"v-date-picker-controls__mode-btn",disabled:n.value,density:"comfortable",icon:e.modeIcon,variant:"text",onClick:c},null),t.createVNode(md,{key:"mode-spacer"},null),t.createVNode("div",{key:"month-buttons",class:"v-date-picker-controls__month"},[t.createVNode(Fo,{disabled:r.value,icon:e.prevIcon,variant:"text",onClick:s},null),t.createVNode(Fo,{disabled:i.value,icon:e.nextIcon,variant:"text",onClick:u},null)])]))),{}}}),yd=ht({appendIcon:
|
1669
|
+
function s(){l("click:prev")}function u(){l("click:next")}function c(){l("click:year")}function d(){l("click:month")}return Mt((()=>t.createVNode("div",{class:["v-date-picker-controls"]},[t.createVNode(Fo,{class:"v-date-picker-controls__month-btn",disabled:o.value,text:e.text,variant:"text",rounded:!0,onClick:d},null),t.createVNode(Fo,{key:"mode-btn",class:"v-date-picker-controls__mode-btn",disabled:n.value,density:"comfortable",icon:e.modeIcon,variant:"text",onClick:c},null),t.createVNode(md,{key:"mode-spacer"},null),t.createVNode("div",{key:"month-buttons",class:"v-date-picker-controls__month"},[t.createVNode(Fo,{disabled:r.value,icon:e.prevIcon,variant:"text",onClick:s},null),t.createVNode(Fo,{disabled:i.value,icon:e.nextIcon,variant:"text",onClick:u},null)])]))),{}}}),yd=ht({appendIcon:Ot,color:String,header:String,transition:String,onClick:G()},"VDatePickerHeader"),bd=Pt()({name:"VDatePickerHeader",props:yd(),emits:{click:()=>!0,"click:append":()=>!0},setup(e,a){let{emit:l,slots:o}=a
|
1670
1670
|
const{backgroundColorClasses:n,backgroundColorStyles:r}=cl(e,"color")
|
1671
1671
|
function i(){l("click")}function s(){l("click:append")}return Mt((()=>{const a=!(!o.default&&!e.header),l=!(!o.append&&!e.appendIcon)
|
1672
1672
|
return t.createVNode("div",{class:["v-date-picker-header",{"v-date-picker-header--clickable":!!e.onClick},n.value],style:r.value,onClick:i},[o.prepend&&t.createVNode("div",{key:"prepend",class:"v-date-picker-header__prepend"},[o.prepend()]),a&&t.createVNode(fl,{key:"content",name:e.transition},{default:()=>[t.createVNode("div",{key:e.header,class:"v-date-picker-header__content"},[o.default?.()??e.header])]}),l&&t.createVNode("div",{class:"v-date-picker-header__append"},[o.append?t.createVNode(ll,{key:"append-defaults",disabled:!e.appendIcon,defaults:{VBtn:{icon:e.appendIcon,variant:"text"}}},{default:()=>[o.append?.()]}):t.createVNode(Fo,{key:"append-btn",icon:e.appendIcon,variant:"text",onClick:s},null)])])})),{}}}),Vd=ht({allowedDates:[Array,Function],disabled:Boolean,displayValue:null,modelValue:Array,month:[Number,String],max:null,min:null,showAdjacentMonths:Boolean,year:[Number,String],weekdays:{type:Array,default:()=>[0,1,2,3,4,5,6]},weeksInMonth:{type:String,default:"dynamic"},firstDayOfWeek:[Number,String]},"calendar")
|
@@ -1991,7 +1991,7 @@ return Mt((()=>{const a=fi.filterProps(e)
|
|
1991
1991
|
return t.createVNode(fi,t.mergeProps(a,{modelValue:o.value,"onUpdate:modelValue":e=>o.value=e,class:e.class,style:e.style,contentClass:["v-speed-dial__content",i.value,e.contentClass],location:r.value,ref:n,transition:"fade-transition"}),{...l,default:a=>t.createVNode(ll,{defaults:{VBtn:{size:"small"}}},{default:()=>[t.createVNode(fl,{appear:!0,group:!0,transition:e.transition},{default:()=>[l.default?.(a)]})]})})})),{}}}),cp=Symbol.for("vuetify:v-stepper"),dp=ht({color:String,disabled:{type:[Boolean,String],default:!1},prevText:{type:String,default:"$vuetify.stepper.prev"},nextText:{type:String,default:"$vuetify.stepper.next"}},"VStepperActions"),vp=Pt()({name:"VStepperActions",props:dp(),emits:{"click:prev":()=>!0,"click:next":()=>!0},setup(e,a){let{emit:l,slots:o}=a
|
1992
1992
|
const{t:n}=ya()
|
1993
1993
|
function r(){l("click:prev")}function i(){l("click:next")}return Mt((()=>{const a={onClick:r},l={onClick:i}
|
1994
|
-
return t.createVNode("div",{class:"v-stepper-actions"},[t.createVNode(ll,{defaults:{VBtn:{disabled:["prev",!0].includes(e.disabled),text:n(e.prevText),variant:"text"}}},{default:()=>[o.prev?.({props:a})??t.createVNode(Fo,a,null)]}),t.createVNode(ll,{defaults:{VBtn:{color:e.color,disabled:["next",!0].includes(e.disabled),text:n(e.nextText),variant:"tonal"}}},{default:()=>[o.next?.({props:l})??t.createVNode(Fo,l,null)]})])})),{}}}),pp=Bt("v-stepper-header"),fp=ht({color:String,title:String,subtitle:String,complete:Boolean,completeIcon:{type:
|
1994
|
+
return t.createVNode("div",{class:"v-stepper-actions"},[t.createVNode(ll,{defaults:{VBtn:{disabled:["prev",!0].includes(e.disabled),text:n(e.prevText),variant:"text"}}},{default:()=>[o.prev?.({props:a})??t.createVNode(Fo,a,null)]}),t.createVNode(ll,{defaults:{VBtn:{color:e.color,disabled:["next",!0].includes(e.disabled),text:n(e.nextText),variant:"tonal"}}},{default:()=>[o.next?.({props:l})??t.createVNode(Fo,l,null)]})])})),{}}}),pp=Bt("v-stepper-header"),fp=ht({color:String,title:String,subtitle:String,complete:Boolean,completeIcon:{type:Ot,default:"$complete"},editable:Boolean,editIcon:{type:Ot,default:"$edit"},error:Boolean,errorIcon:{type:Ot,default:"$error"},icon:Ot,ripple:{type:[Boolean,Object],default:!0},rules:{type:Array,default:()=>[]}},"StepperItem"),mp=ht({...fp(),...Ll()},"VStepperItem"),gp=Pt()({name:"VStepperItem",directives:{Ripple:Do},props:mp(),emits:{"group:selected":e=>!0},setup(e,a){let{slots:l}=a
|
1995
1995
|
const o=zl(e,cp,!0),n=t.computed((()=>o?.value.value??e.value)),r=t.computed((()=>e.rules.every((e=>!0===e())))),i=t.computed((()=>!e.disabled&&e.editable)),s=t.computed((()=>!e.disabled&&e.editable)),u=t.computed((()=>e.error||!r.value)),c=t.computed((()=>e.complete||e.rules.length>0&&r.value)),d=t.computed((()=>u.value?e.errorIcon:c.value?e.completeIcon:o.isSelected.value&&e.editable?e.editIcon:e.icon)),v=t.computed((()=>({canEdit:s.value,hasError:u.value,hasCompleted:c.value,title:e.title,subtitle:e.subtitle,step:n.value,value:e.value})))
|
1996
1996
|
return Mt((()=>{const a=(!o||o.isSelected.value||c.value||s.value)&&!u.value&&!e.disabled,r=!(null==e.title&&!l.title),p=!(null==e.subtitle&&!l.subtitle)
|
1997
1997
|
return t.withDirectives(t.createVNode("button",{class:["v-stepper-item",{"v-stepper-item--complete":c.value,"v-stepper-item--disabled":e.disabled,"v-stepper-item--error":u.value},o?.selectedClass.value],disabled:!e.editable,onClick:function(){o?.toggle()}},[i.value&&Dl(!0,"v-stepper-item"),t.createVNode(Uo,{key:"stepper-avatar",class:"v-stepper-item__avatar",color:a?e.color:void 0,size:24},{default:()=>[l.icon?.(v.value)??(d.value?t.createVNode(Zl,{icon:d.value},null):n.value)]}),t.createVNode("div",{class:"v-stepper-item__content"},[r&&t.createVNode("div",{key:"title",class:"v-stepper-item__title"},[l.title?.(v.value)??e.title]),p&&t.createVNode("div",{key:"subtitle",class:"v-stepper-item__subtitle"},[l.subtitle?.(v.value)??e.subtitle]),l.default?.(v.value)])]),[[t.resolveDirective("ripple"),e.ripple&&e.editable,null]])})),{}}}),hp=ht({...x(ws(),["continuous","nextIcon","prevIcon","showArrows","touch","mandatory"])},"VStepperWindow"),yp=Pt()({name:"VStepperWindow",props:hp(),emits:{"update:modelValue":e=>!0},setup(e,a){let{slots:l}=a
|
@@ -1999,7 +1999,7 @@ const o=t.inject(cp,null),n=sa(e,"modelValue"),r=t.computed({get:()=>null==n.val
|
|
1999
1999
|
return Mt((()=>{const a=Ss.filterProps(e)
|
2000
2000
|
return t.createVNode(Ss,t.mergeProps({_as:"VStepperWindow"},a,{modelValue:r.value,"onUpdate:modelValue":e=>r.value=e,class:["v-stepper-window",e.class],style:e.style,mandatory:!1,touch:!1}),l)})),{}}}),bp=ht({...Ns()},"VStepperWindowItem"),Vp=Pt()({name:"VStepperWindowItem",props:bp(),setup(e,a){let{slots:l}=a
|
2001
2001
|
return Mt((()=>{const a=Cs.filterProps(e)
|
2002
|
-
return t.createVNode(Cs,t.mergeProps({_as:"VStepperWindowItem"},a,{class:["v-stepper-window-item",e.class],style:e.style}),l)})),{}}}),wp=ht({altLabels:Boolean,bgColor:String,completeIcon:
|
2002
|
+
return t.createVNode(Cs,t.mergeProps({_as:"VStepperWindowItem"},a,{class:["v-stepper-window-item",e.class],style:e.style}),l)})),{}}}),wp=ht({altLabels:Boolean,bgColor:String,completeIcon:Ot,editIcon:Ot,editable:Boolean,errorIcon:Ot,hideActions:Boolean,items:{type:Array,default:()=>[]},itemTitle:{type:String,default:"title"},itemValue:{type:String,default:"value"},nonLinear:Boolean,flat:Boolean,...xn()},"Stepper"),Sp=ht({...wp(),...Ol({mandatory:"force",selectedClass:"v-stepper-item--selected"}),...Js(),...N(dp(),["prevText","nextText"])},"VStepper"),kp=Pt()({name:"VStepper",props:Sp(),emits:{"update:modelValue":e=>!0},setup(e,a){let{slots:l}=a
|
2003
2003
|
const{items:o,next:n,prev:r,selected:i}=jl(e,cp),{displayClasses:s,mobile:u}=Nn(e),{completeIcon:c,editIcon:d,errorIcon:p,color:f,editable:m,prevText:g,nextText:h}=t.toRefs(e),y=t.computed((()=>e.items.map(((t,a)=>({title:v(t,e.itemTitle,t),value:v(t,e.itemValue,a+1),raw:t}))))),b=t.computed((()=>o.value.findIndex((e=>i.value.includes(e.id)))))
|
2004
2004
|
return Ct({VStepperItem:{editable:m,errorIcon:p,completeIcon:c,editIcon:d,prevText:g,nextText:h},VStepperActions:{color:f,disabled:t.computed((()=>e.disabled?e.disabled:0===b.value?"prev":b.value===o.value.length-1&&"next")),prevText:g,nextText:h}}),Mt((()=>{const a=eu.filterProps(e),o=!(!l.header&&!e.items.length),i=e.items.length>0,c=!(e.hideActions||!i&&!l.actions)
|
2005
2005
|
return t.createVNode(eu,t.mergeProps(a,{color:e.bgColor,class:["v-stepper",{"v-stepper--alt-labels":e.altLabels,"v-stepper--flat":e.flat,"v-stepper--non-linear":e.nonLinear,"v-stepper--mobile":u.value},s.value,e.class],style:e.style}),{default:()=>[o&&t.createVNode(pp,{key:"stepper-header"},{default:()=>[y.value.map(((e,a)=>{let{raw:o,...n}=e
|
@@ -2099,8 +2099,8 @@ if(d.install(e),e.provide(xt,u),e.provide(yn,c),e.provide(wa,d),e.provide(Lt,v),
|
|
2099
2099
|
else{const{mount:a}=e
|
2100
2100
|
e.mount=function(){const l=a(...arguments)
|
2101
2101
|
return t.nextTick((()=>c.update())),e.mount=a,l}}kt.reset(),("boolean"!=typeof __VUE_OPTIONS_API__||__VUE_OPTIONS_API__)&&e.mixin({computed:{$vuetify(){return t.reactive({defaults:uf.call(this,xt),display:uf.call(this,yn),theme:uf.call(this,wa),icons:uf.call(this,Lt),locale:uf.call(this,ga),date:uf.call(this,gu)})}}})},defaults:u,display:c,theme:d,icons:v,locale:p,date:f,goTo:m}}function uf(e){const t=this.$,a=t.parent?.provides??t.vnode.appContext?.provides
|
2102
|
-
if(a&&e in a)return a[e]}sf.version="3.7.
|
2103
|
-
const cf=function(){return sf({components:Qp,directives:rf,...arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}})},df="3.7.
|
2102
|
+
if(a&&e in a)return a[e]}sf.version="3.7.5-dev.2024-12-03"
|
2103
|
+
const cf=function(){return sf({components:Qp,directives:rf,...arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}})},df="3.7.5-dev.2024-12-03"
|
2104
2104
|
cf.version=df,e.blueprints=Qt,e.components=Qp,e.createVuetify=cf,e.directives=rf,e.useDate=yu,e.useDefaults=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0
|
2105
2105
|
const{props:a,provideSubDefaults:l}=_t(e,t)
|
2106
2106
|
return l(),a},e.useDisplay=Nn,e.useGoTo=Bn,e.useLayout=oa,e.useLocale=ya,e.useRtl=Va,e.useTheme=Na,e.version=df}))
|