diff --git a/CHANGELOG.md b/CHANGELOG.md index 8cbbe07..60475bf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,12 +2,12 @@ All notable changes to the "vuetify-inline-fields" plugin will be documented in this file. ## v1.0.0 -TBD +12-01-2023 [main] (@webdevnerdstuff) -* Official release depends on when the Vue team decides if they are going to keep experimental `defineModel` feature. [Blog](https://blog.vuejs.org/posts/vue-3-3#definemodel) +Official Release ## v1.0.0-beta-2 -11-09-23 +11-09-2023 [main] (@webdevnerdstuff) * Update lab components to regular components due to Vuetify official releases * Update packages diff --git a/README.md b/README.md index ada90a2..f40931e 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@

-

Vuetify Inline Fields (beta)

+

Vuetify Inline Fields

@@ -24,15 +24,6 @@ Vuetify Inline Fields Component Library offers a comprehensive collection of reu Additionally, this library provides enhanced integration specifically tailored for usage within data tables. Developers can seamlessly integrate inline form fields directly into their data table cells, facilitating efficient inline editing and data manipulation. This feature empowers users to make changes directly within the table, streamlining the editing process and improving productivity. -## Development Playground - -The `vuetify-inline-fields` is still in beta. If you would like to test the component library out, you can clone the repo and run the following commands: - -`pnpm i && pnpm play` - -This will open up a Playground page that loads the file `./src/playground/PlaygroundPage.vue`. You can edit this file to test out the component. - - ## Installation Using [pnpm](https://pnpm.io/): diff --git a/dist/plugin/VInlineCheckbox.vue.d.ts b/dist/plugin/VInlineCheckbox.vue.d.ts index 4caca6a..9f03a75 100644 --- a/dist/plugin/VInlineCheckbox.vue.d.ts +++ b/dist/plugin/VInlineCheckbox.vue.d.ts @@ -57,6 +57,34 @@ declare const _default: __VLS_WithTemplateSlots; }; + iconFalse: { + type: globalThis.PropType; + default: undefined; + }; + iconFalseColor: { + type: globalThis.PropType; + default: string; + }; + iconFalseTitle: { + type: globalThis.PropType; + default: string; + }; + iconTrue: { + type: globalThis.PropType; + default: undefined; + }; + iconTrueColor: { + type: globalThis.PropType; + default: string; + }; + iconTrueTitle: { + type: globalThis.PropType; + default: string; + }; + icons: { + type: globalThis.PropType; + default: boolean; + }; cancelButtonColor: { type: globalThis.PropType; default: string; @@ -97,6 +125,14 @@ declare const _default: __VLS_WithTemplateSlots; default: () => {}; }; + cell: { + type: globalThis.PropType; + default: boolean; + }; + cellUnderlineFullWidth: { + type: globalThis.PropType; + default: boolean; + }; closeSiblings: { type: globalThis.PropType; default: boolean; @@ -157,35 +193,11 @@ declare const _default: __VLS_WithTemplateSlots; default: boolean; }; - hideSaveIcon: { + hideCancelIcon: { type: globalThis.PropType; default: boolean; }; - iconFalse: { - type: globalThis.PropType; - default: undefined; - }; - iconFalseColor: { - type: globalThis.PropType; - default: string; - }; - iconFalseTitle: { - type: globalThis.PropType; - default: string; - }; - iconTrue: { - type: globalThis.PropType; - default: undefined; - }; - iconTrueColor: { - type: globalThis.PropType; - default: string; - }; - iconTrueTitle: { - type: globalThis.PropType; - default: string; - }; - icons: { + hideSaveIcon: { type: globalThis.PropType; default: boolean; }; @@ -306,6 +318,34 @@ declare const _default: __VLS_WithTemplateSlots; }; + iconFalse: { + type: globalThis.PropType; + default: undefined; + }; + iconFalseColor: { + type: globalThis.PropType; + default: string; + }; + iconFalseTitle: { + type: globalThis.PropType; + default: string; + }; + iconTrue: { + type: globalThis.PropType; + default: undefined; + }; + iconTrueColor: { + type: globalThis.PropType; + default: string; + }; + iconTrueTitle: { + type: globalThis.PropType; + default: string; + }; + icons: { + type: globalThis.PropType; + default: boolean; + }; cancelButtonColor: { type: globalThis.PropType; default: string; @@ -346,6 +386,14 @@ declare const _default: __VLS_WithTemplateSlots; default: () => {}; }; + cell: { + type: globalThis.PropType; + default: boolean; + }; + cellUnderlineFullWidth: { + type: globalThis.PropType; + default: boolean; + }; closeSiblings: { type: globalThis.PropType; default: boolean; @@ -406,35 +454,11 @@ declare const _default: __VLS_WithTemplateSlots; default: boolean; }; - hideSaveIcon: { + hideCancelIcon: { type: globalThis.PropType; default: boolean; }; - iconFalse: { - type: globalThis.PropType; - default: undefined; - }; - iconFalseColor: { - type: globalThis.PropType; - default: string; - }; - iconFalseTitle: { - type: globalThis.PropType; - default: string; - }; - iconTrue: { - type: globalThis.PropType; - default: undefined; - }; - iconTrueColor: { - type: globalThis.PropType; - default: string; - }; - iconTrueTitle: { - type: globalThis.PropType; - default: string; - }; - icons: { + hideSaveIcon: { type: globalThis.PropType; default: boolean; }; @@ -507,6 +531,13 @@ declare const _default: __VLS_WithTemplateSlots; default: () => {}; }; + cell: { + type: globalThis.PropType; + default: boolean; + }; + cellUnderlineFullWidth: { + type: globalThis.PropType; + default: boolean; + }; closeSiblings: { type: globalThis.PropType; default: boolean; @@ -163,6 +171,10 @@ declare const _default: __VLS_WithTemplateSlots; default: boolean; }; + hideCancelIcon: { + type: globalThis.PropType; + default: boolean; + }; hideSaveIcon: { type: globalThis.PropType; default: boolean; @@ -330,6 +342,14 @@ declare const _default: __VLS_WithTemplateSlots; default: () => {}; }; + cell: { + type: globalThis.PropType; + default: boolean; + }; + cellUnderlineFullWidth: { + type: globalThis.PropType; + default: boolean; + }; closeSiblings: { type: globalThis.PropType; default: boolean; @@ -390,6 +410,10 @@ declare const _default: __VLS_WithTemplateSlots; default: boolean; }; + hideCancelIcon: { + type: globalThis.PropType; + default: boolean; + }; hideSaveIcon: { type: globalThis.PropType; default: boolean; @@ -473,6 +497,8 @@ declare const _default: __VLS_WithTemplateSlots; default: () => never[]; }; + itemTitle: { + type: globalThis.PropType any) | null>; + default: string; + }; + itemValue: { + type: globalThis.PropType any) | null>; + default: string; + }; loading: { type: globalThis.PropType; default: boolean; @@ -54,14 +62,6 @@ declare const _default: __VLS_WithTemplateSlots; default: boolean; }; - itemTitle: { - type: globalThis.PropType, fallback?: any) => any) | null>; - default: string; - }; - itemValue: { - type: globalThis.PropType, fallback?: any) => any) | null>; - default: string; - }; hideSelected: { type: globalThis.PropType; default: boolean; @@ -120,6 +120,14 @@ declare const _default: __VLS_WithTemplateSlots; default: () => {}; }; + cell: { + type: globalThis.PropType; + default: boolean; + }; + cellUnderlineFullWidth: { + type: globalThis.PropType; + default: boolean; + }; closeSiblings: { type: globalThis.PropType; default: boolean; @@ -180,6 +188,10 @@ declare const _default: __VLS_WithTemplateSlots; default: boolean; }; + hideCancelIcon: { + type: globalThis.PropType; + default: boolean; + }; hideSaveIcon: { type: globalThis.PropType; default: boolean; @@ -278,6 +290,14 @@ declare const _default: __VLS_WithTemplateSlots; default: () => never[]; }; + itemTitle: { + type: globalThis.PropType any) | null>; + default: string; + }; + itemValue: { + type: globalThis.PropType any) | null>; + default: string; + }; loading: { type: globalThis.PropType; default: boolean; @@ -298,14 +318,6 @@ declare const _default: __VLS_WithTemplateSlots; default: boolean; }; - itemTitle: { - type: globalThis.PropType, fallback?: any) => any) | null>; - default: string; - }; - itemValue: { - type: globalThis.PropType, fallback?: any) => any) | null>; - default: string; - }; hideSelected: { type: globalThis.PropType; default: boolean; @@ -364,6 +376,14 @@ declare const _default: __VLS_WithTemplateSlots; default: () => {}; }; + cell: { + type: globalThis.PropType; + default: boolean; + }; + cellUnderlineFullWidth: { + type: globalThis.PropType; + default: boolean; + }; closeSiblings: { type: globalThis.PropType; default: boolean; @@ -424,6 +444,10 @@ declare const _default: __VLS_WithTemplateSlots; default: boolean; }; + hideCancelIcon: { + type: globalThis.PropType; + default: boolean; + }; hideSaveIcon: { type: globalThis.PropType; default: boolean; @@ -492,13 +516,13 @@ declare const _default: __VLS_WithTemplateSlots any) | null; + itemValue: string | boolean | readonly (string | number)[] | ((item: any, fallback?: any) => any) | null; loading: boolean; autofocus: boolean; variant: "filled" | "outlined" | "plain" | "underlined" | "solo" | "solo-inverted" | "solo-filled"; clearIcon: string; clearable: boolean; - itemTitle: string | boolean | readonly (string | number)[] | ((item: Record, fallback?: any) => any) | null; - itemValue: string | boolean | readonly (string | number)[] | ((item: Record, fallback?: any) => any) | null; hideSelected: boolean; menu: boolean; underlined: boolean; @@ -512,6 +536,8 @@ declare const _default: __VLS_WithTemplateSlots; }; + iconFalse: { + type: globalThis.PropType; + default: undefined; + }; + iconFalseColor: { + type: globalThis.PropType; + default: string; + }; + iconFalseTitle: { + type: globalThis.PropType; + default: string; + }; + iconTrue: { + type: globalThis.PropType; + default: undefined; + }; + iconTrueColor: { + type: globalThis.PropType; + default: string; + }; + iconTrueTitle: { + type: globalThis.PropType; + default: string; + }; + icons: { + type: globalThis.PropType; + default: boolean; + }; cancelButtonColor: { type: globalThis.PropType; default: string; @@ -93,6 +121,14 @@ declare const _default: __VLS_WithTemplateSlots; default: () => {}; }; + cell: { + type: globalThis.PropType; + default: boolean; + }; + cellUnderlineFullWidth: { + type: globalThis.PropType; + default: boolean; + }; closeSiblings: { type: globalThis.PropType; default: boolean; @@ -153,31 +189,7 @@ declare const _default: __VLS_WithTemplateSlots; default: boolean; }; - iconFalse: { - type: globalThis.PropType; - default: undefined; - }; - iconFalseColor: { - type: globalThis.PropType; - default: string; - }; - iconFalseTitle: { - type: globalThis.PropType; - default: string; - }; - iconTrue: { - type: globalThis.PropType; - default: undefined; - }; - iconTrueColor: { - type: globalThis.PropType; - default: string; - }; - iconTrueTitle: { - type: globalThis.PropType; - default: string; - }; - icons: { + hideCancelIcon: { type: globalThis.PropType; default: boolean; }; @@ -262,6 +274,34 @@ declare const _default: __VLS_WithTemplateSlots; }; + iconFalse: { + type: globalThis.PropType; + default: undefined; + }; + iconFalseColor: { + type: globalThis.PropType; + default: string; + }; + iconFalseTitle: { + type: globalThis.PropType; + default: string; + }; + iconTrue: { + type: globalThis.PropType; + default: undefined; + }; + iconTrueColor: { + type: globalThis.PropType; + default: string; + }; + iconTrueTitle: { + type: globalThis.PropType; + default: string; + }; + icons: { + type: globalThis.PropType; + default: boolean; + }; cancelButtonColor: { type: globalThis.PropType; default: string; @@ -302,6 +342,14 @@ declare const _default: __VLS_WithTemplateSlots; default: () => {}; }; + cell: { + type: globalThis.PropType; + default: boolean; + }; + cellUnderlineFullWidth: { + type: globalThis.PropType; + default: boolean; + }; closeSiblings: { type: globalThis.PropType; default: boolean; @@ -362,31 +410,7 @@ declare const _default: __VLS_WithTemplateSlots; default: boolean; }; - iconFalse: { - type: globalThis.PropType; - default: undefined; - }; - iconFalseColor: { - type: globalThis.PropType; - default: string; - }; - iconFalseTitle: { - type: globalThis.PropType; - default: string; - }; - iconTrue: { - type: globalThis.PropType; - default: undefined; - }; - iconTrueColor: { - type: globalThis.PropType; - default: string; - }; - iconTrueTitle: { - type: globalThis.PropType; - default: string; - }; - icons: { + hideCancelIcon: { type: globalThis.PropType; default: boolean; }; @@ -426,6 +450,13 @@ declare const _default: __VLS_WithTemplateSlots; default: () => {}; }; + cell: { + type: globalThis.PropType; + default: boolean; + }; + cellUnderlineFullWidth: { + type: globalThis.PropType; + default: boolean; + }; closeSiblings: { type: globalThis.PropType; default: boolean; @@ -163,6 +171,10 @@ declare const _default: __VLS_WithTemplateSlots; default: boolean; }; + hideCancelIcon: { + type: globalThis.PropType; + default: boolean; + }; hideSaveIcon: { type: globalThis.PropType; default: boolean; @@ -330,6 +342,14 @@ declare const _default: __VLS_WithTemplateSlots; default: () => {}; }; + cell: { + type: globalThis.PropType; + default: boolean; + }; + cellUnderlineFullWidth: { + type: globalThis.PropType; + default: boolean; + }; closeSiblings: { type: globalThis.PropType; default: boolean; @@ -390,6 +410,10 @@ declare const _default: __VLS_WithTemplateSlots; default: boolean; }; + hideCancelIcon: { + type: globalThis.PropType; + default: boolean; + }; hideSaveIcon: { type: globalThis.PropType; default: boolean; @@ -473,6 +497,8 @@ declare const _default: __VLS_WithTemplateSlots; default: () => {}; }; + cell: { + type: globalThis.PropType; + default: boolean; + }; + cellUnderlineFullWidth: { + type: globalThis.PropType; + default: boolean; + }; closeSiblings: { type: globalThis.PropType; default: boolean; @@ -171,6 +179,10 @@ declare const _default: __VLS_WithTemplateSlots; default: boolean; }; + hideCancelIcon: { + type: globalThis.PropType; + default: boolean; + }; hideSaveIcon: { type: globalThis.PropType; default: boolean; @@ -346,6 +358,14 @@ declare const _default: __VLS_WithTemplateSlots; default: () => {}; }; + cell: { + type: globalThis.PropType; + default: boolean; + }; + cellUnderlineFullWidth: { + type: globalThis.PropType; + default: boolean; + }; closeSiblings: { type: globalThis.PropType; default: boolean; @@ -406,6 +426,10 @@ declare const _default: __VLS_WithTemplateSlots; default: boolean; }; + hideCancelIcon: { + type: globalThis.PropType; + default: boolean; + }; hideSaveIcon: { type: globalThis.PropType; default: boolean; @@ -491,6 +515,8 @@ declare const _default: __VLS_WithTemplateSlots | undefined; readonly required?: boolean | undefined; + readonly iconFalse?: string | undefined; + readonly iconTrue?: string | undefined; readonly cancelIcon?: string | undefined; readonly displayAppendIcon?: import("../types").VIconValue | undefined; readonly displayAppendIconColor?: string | undefined; @@ -123,8 +131,6 @@ declare const _default: { readonly displayPrependIconColor?: string | undefined; readonly displayPrependInnerIcon?: import("../types").VIconValue | undefined; readonly displayPrependInnerIconColor?: string | undefined; - readonly iconFalse?: string | undefined; - readonly iconTrue?: string | undefined; readonly loadingIcon?: string | undefined; readonly saveIcon?: string | undefined; } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly; }; + iconFalse: { + type: globalThis.PropType; + default: undefined; + }; + iconFalseColor: { + type: globalThis.PropType; + default: string; + }; + iconFalseTitle: { + type: globalThis.PropType; + default: string; + }; + iconTrue: { + type: globalThis.PropType; + default: undefined; + }; + iconTrueColor: { + type: globalThis.PropType; + default: string; + }; + iconTrueTitle: { + type: globalThis.PropType; + default: string; + }; + icons: { + type: globalThis.PropType; + default: boolean; + }; cancelButtonColor: { type: globalThis.PropType; default: string; @@ -226,6 +260,14 @@ declare const _default: { type: globalThis.PropType; default: () => {}; }; + cell: { + type: globalThis.PropType; + default: boolean; + }; + cellUnderlineFullWidth: { + type: globalThis.PropType; + default: boolean; + }; closeSiblings: { type: globalThis.PropType; default: boolean; @@ -286,35 +328,11 @@ declare const _default: { type: globalThis.PropType; default: boolean; }; - hideSaveIcon: { + hideCancelIcon: { type: globalThis.PropType; default: boolean; }; - iconFalse: { - type: globalThis.PropType; - default: undefined; - }; - iconFalseColor: { - type: globalThis.PropType; - default: string; - }; - iconFalseTitle: { - type: globalThis.PropType; - default: string; - }; - iconTrue: { - type: globalThis.PropType; - default: undefined; - }; - iconTrueColor: { - type: globalThis.PropType; - default: string; - }; - iconTrueTitle: { - type: globalThis.PropType; - default: string; - }; - icons: { + hideSaveIcon: { type: globalThis.PropType; default: boolean; }; @@ -374,7 +392,7 @@ declare const _default: { type: globalThis.PropType; default: string; }; - }>>, "name" | "color" | "label" | "disabled" | "density" | "falseIcon" | "trueIcon" | "trueValue" | "falseValue" | "hideDetails" | "loading" | "underlined" | "cancelButtonColor" | "cancelButtonSize" | "cancelButtonTitle" | "cancelButtonVariant" | "cancelIcon" | "cancelIconColor" | "cardField" | "cardOffsetX" | "cardOffsetY" | "cardProps" | "closeSiblings" | "displayAppendIcon" | "displayAppendIconColor" | "displayAppendIconSize" | "displayAppendInnerIcon" | "displayAppendInnerIconColor" | "displayAppendInnerIconSize" | "displayPrependIcon" | "displayPrependIconColor" | "displayPrependIconSize" | "displayPrependInnerIcon" | "displayPrependInnerIconColor" | "displayPrependInnerIconSize" | "emptyText" | "fieldOnly" | "hideSaveIcon" | "iconFalse" | "iconFalseColor" | "iconFalseTitle" | "iconTrue" | "iconTrueColor" | "iconTrueTitle" | "icons" | "loadingIcon" | "loadingIconColor" | "loadingWait" | "saveButtonColor" | "saveButtonSize" | "saveButtonTitle" | "saveButtonVariant" | "saveIcon" | "saveIconColor" | "tableField" | "underlineColor" | "underlineStyle" | "underlineWidth" | "valueColor">; + }>>, "name" | "color" | "label" | "disabled" | "density" | "falseIcon" | "trueIcon" | "trueValue" | "falseValue" | "hideDetails" | "loading" | "underlined" | "iconFalse" | "iconFalseColor" | "iconFalseTitle" | "iconTrue" | "iconTrueColor" | "iconTrueTitle" | "icons" | "cancelButtonColor" | "cancelButtonSize" | "cancelButtonTitle" | "cancelButtonVariant" | "cancelIcon" | "cancelIconColor" | "cardField" | "cardOffsetX" | "cardOffsetY" | "cardProps" | "cell" | "cellUnderlineFullWidth" | "closeSiblings" | "displayAppendIcon" | "displayAppendIconColor" | "displayAppendIconSize" | "displayAppendInnerIcon" | "displayAppendInnerIconColor" | "displayAppendInnerIconSize" | "displayPrependIcon" | "displayPrependIconColor" | "displayPrependIconSize" | "displayPrependInnerIcon" | "displayPrependInnerIconColor" | "displayPrependInnerIconSize" | "emptyText" | "fieldOnly" | "hideCancelIcon" | "hideSaveIcon" | "loadingIcon" | "loadingIconColor" | "loadingWait" | "saveButtonColor" | "saveButtonSize" | "saveButtonTitle" | "saveButtonVariant" | "saveIcon" | "saveIconColor" | "tableField" | "underlineColor" | "underlineStyle" | "underlineWidth" | "valueColor">; $attrs: { [x: string]: unknown; }; @@ -447,6 +465,34 @@ declare const _default: { required: { type: globalThis.PropType; }; + iconFalse: { + type: globalThis.PropType; + default: undefined; + }; + iconFalseColor: { + type: globalThis.PropType; + default: string; + }; + iconFalseTitle: { + type: globalThis.PropType; + default: string; + }; + iconTrue: { + type: globalThis.PropType; + default: undefined; + }; + iconTrueColor: { + type: globalThis.PropType; + default: string; + }; + iconTrueTitle: { + type: globalThis.PropType; + default: string; + }; + icons: { + type: globalThis.PropType; + default: boolean; + }; cancelButtonColor: { type: globalThis.PropType; default: string; @@ -487,6 +533,14 @@ declare const _default: { type: globalThis.PropType; default: () => {}; }; + cell: { + type: globalThis.PropType; + default: boolean; + }; + cellUnderlineFullWidth: { + type: globalThis.PropType; + default: boolean; + }; closeSiblings: { type: globalThis.PropType; default: boolean; @@ -547,35 +601,11 @@ declare const _default: { type: globalThis.PropType; default: boolean; }; - hideSaveIcon: { + hideCancelIcon: { type: globalThis.PropType; default: boolean; }; - iconFalse: { - type: globalThis.PropType; - default: undefined; - }; - iconFalseColor: { - type: globalThis.PropType; - default: string; - }; - iconFalseTitle: { - type: globalThis.PropType; - default: string; - }; - iconTrue: { - type: globalThis.PropType; - default: undefined; - }; - iconTrueColor: { - type: globalThis.PropType; - default: string; - }; - iconTrueTitle: { - type: globalThis.PropType; - default: string; - }; - icons: { + hideSaveIcon: { type: globalThis.PropType; default: boolean; }; @@ -650,6 +680,13 @@ declare const _default: { hideDetails: boolean; loading: boolean; underlined: boolean; + iconFalse: string; + iconFalseColor: string; + iconFalseTitle: string; + iconTrue: string; + iconTrueColor: string; + iconTrueTitle: string; + icons: boolean; cancelButtonColor: string; cancelButtonSize: string | number; cancelButtonTitle: string; @@ -660,6 +697,8 @@ declare const _default: { cardOffsetX: number; cardOffsetY: number; cardProps: any; + cell: boolean; + cellUnderlineFullWidth: boolean; closeSiblings: boolean; displayAppendIcon: import("../types").VIconValue; displayAppendIconColor: string; @@ -675,14 +714,8 @@ declare const _default: { displayPrependInnerIconSize: string | number; emptyText: string; fieldOnly: boolean; + hideCancelIcon: boolean; hideSaveIcon: boolean; - iconFalse: string; - iconFalseColor: string; - iconFalseTitle: string; - iconTrue: string; - iconTrueColor: string; - iconTrueTitle: string; - icons: boolean; loadingIcon: string; loadingIconColor: string; loadingWait: boolean; @@ -776,6 +809,34 @@ declare const _default: { required: { type: globalThis.PropType; }; + iconFalse: { + type: globalThis.PropType; + default: undefined; + }; + iconFalseColor: { + type: globalThis.PropType; + default: string; + }; + iconFalseTitle: { + type: globalThis.PropType; + default: string; + }; + iconTrue: { + type: globalThis.PropType; + default: undefined; + }; + iconTrueColor: { + type: globalThis.PropType; + default: string; + }; + iconTrueTitle: { + type: globalThis.PropType; + default: string; + }; + icons: { + type: globalThis.PropType; + default: boolean; + }; cancelButtonColor: { type: globalThis.PropType; default: string; @@ -816,6 +877,14 @@ declare const _default: { type: globalThis.PropType; default: () => {}; }; + cell: { + type: globalThis.PropType; + default: boolean; + }; + cellUnderlineFullWidth: { + type: globalThis.PropType; + default: boolean; + }; closeSiblings: { type: globalThis.PropType; default: boolean; @@ -876,35 +945,11 @@ declare const _default: { type: globalThis.PropType; default: boolean; }; - hideSaveIcon: { + hideCancelIcon: { type: globalThis.PropType; default: boolean; }; - iconFalse: { - type: globalThis.PropType; - default: undefined; - }; - iconFalseColor: { - type: globalThis.PropType; - default: string; - }; - iconFalseTitle: { - type: globalThis.PropType; - default: string; - }; - iconTrue: { - type: globalThis.PropType; - default: undefined; - }; - iconTrueColor: { - type: globalThis.PropType; - default: string; - }; - iconTrueTitle: { - type: globalThis.PropType; - default: string; - }; - icons: { + hideSaveIcon: { type: globalThis.PropType; default: boolean; }; @@ -1027,6 +1072,34 @@ declare const _default: { required: { type: globalThis.PropType; }; + iconFalse: { + type: globalThis.PropType; + default: undefined; + }; + iconFalseColor: { + type: globalThis.PropType; + default: string; + }; + iconFalseTitle: { + type: globalThis.PropType; + default: string; + }; + iconTrue: { + type: globalThis.PropType; + default: undefined; + }; + iconTrueColor: { + type: globalThis.PropType; + default: string; + }; + iconTrueTitle: { + type: globalThis.PropType; + default: string; + }; + icons: { + type: globalThis.PropType; + default: boolean; + }; cancelButtonColor: { type: globalThis.PropType; default: string; @@ -1067,6 +1140,14 @@ declare const _default: { type: globalThis.PropType; default: () => {}; }; + cell: { + type: globalThis.PropType; + default: boolean; + }; + cellUnderlineFullWidth: { + type: globalThis.PropType; + default: boolean; + }; closeSiblings: { type: globalThis.PropType; default: boolean; @@ -1127,35 +1208,11 @@ declare const _default: { type: globalThis.PropType; default: boolean; }; - hideSaveIcon: { + hideCancelIcon: { type: globalThis.PropType; default: boolean; }; - iconFalse: { - type: globalThis.PropType; - default: undefined; - }; - iconFalseColor: { - type: globalThis.PropType; - default: string; - }; - iconFalseTitle: { - type: globalThis.PropType; - default: string; - }; - iconTrue: { - type: globalThis.PropType; - default: undefined; - }; - iconTrueColor: { - type: globalThis.PropType; - default: string; - }; - iconTrueTitle: { - type: globalThis.PropType; - default: string; - }; - icons: { + hideSaveIcon: { type: globalThis.PropType; default: boolean; }; @@ -1230,6 +1287,13 @@ declare const _default: { hideDetails: boolean; loading: boolean; underlined: boolean; + iconFalse: string; + iconFalseColor: string; + iconFalseTitle: string; + iconTrue: string; + iconTrueColor: string; + iconTrueTitle: string; + icons: boolean; cancelButtonColor: string; cancelButtonSize: string | number; cancelButtonTitle: string; @@ -1240,6 +1304,8 @@ declare const _default: { cardOffsetX: number; cardOffsetY: number; cardProps: any; + cell: boolean; + cellUnderlineFullWidth: boolean; closeSiblings: boolean; displayAppendIcon: import("../types").VIconValue; displayAppendIconColor: string; @@ -1255,14 +1321,8 @@ declare const _default: { displayPrependInnerIconSize: string | number; emptyText: string; fieldOnly: boolean; + hideCancelIcon: boolean; hideSaveIcon: boolean; - iconFalse: string; - iconFalseColor: string; - iconFalseTitle: string; - iconTrue: string; - iconTrueColor: string; - iconTrueTitle: string; - icons: boolean; loadingIcon: string; loadingIconColor: string; loadingWait: boolean; @@ -1307,6 +1367,8 @@ declare const _default: { cardOffsetX: number; cardOffsetY: number; cardProps: any; + cell: boolean; + cellUnderlineFullWidth: boolean; closeSiblings: boolean; displayAppendIcon: import("../types").VIconValue; displayAppendIconColor: string; @@ -1322,6 +1384,7 @@ declare const _default: { displayPrependInnerIconSize: string | number; emptyText: string; fieldOnly: boolean; + hideCancelIcon: boolean; hideSaveIcon: boolean; loadingIcon: string; loadingIconColor: string; @@ -1358,6 +1421,8 @@ declare const _default: { readonly cardOffsetX: number; readonly cardOffsetY: number; readonly cardProps: any; + readonly cell: boolean; + readonly cellUnderlineFullWidth: boolean; readonly closeSiblings: boolean; readonly displayAppendIconSize: string | number; readonly displayAppendInnerIconSize: string | number; @@ -1365,6 +1430,7 @@ declare const _default: { readonly displayPrependInnerIconSize: string | number; readonly emptyText: string; readonly fieldOnly: boolean; + readonly hideCancelIcon: boolean; readonly hideSaveIcon: boolean; readonly loadingIconColor: string; readonly loadingWait: boolean; @@ -1378,8 +1444,8 @@ declare const _default: { readonly underlineStyle: string; readonly underlineWidth: string; readonly valueColor: string; - readonly error?: boolean | undefined; readonly modelValue?: any; + readonly error?: boolean | undefined; readonly rules?: readonly ((string | boolean) | PromiseLike | ((value: any) => string | boolean) | ((value: any) => PromiseLike))[] | undefined; readonly clearIcon?: string | undefined; readonly item?: Record | undefined; @@ -1501,6 +1567,14 @@ declare const _default: { type: globalThis.PropType; default: () => {}; }; + cell: { + type: globalThis.PropType; + default: boolean; + }; + cellUnderlineFullWidth: { + type: globalThis.PropType; + default: boolean; + }; closeSiblings: { type: globalThis.PropType; default: boolean; @@ -1561,6 +1635,10 @@ declare const _default: { type: globalThis.PropType; default: boolean; }; + hideCancelIcon: { + type: globalThis.PropType; + default: boolean; + }; hideSaveIcon: { type: globalThis.PropType; default: boolean; @@ -1621,7 +1699,7 @@ declare const _default: { type: globalThis.PropType; default: string; }; - }>>, "name" | "color" | "label" | "disabled" | "density" | "hideDetails" | "loading" | "autofocus" | "variant" | "underlined" | "truncateLength" | "truncateSuffix" | "cancelButtonColor" | "cancelButtonSize" | "cancelButtonTitle" | "cancelButtonVariant" | "cancelIcon" | "cancelIconColor" | "cardField" | "cardOffsetX" | "cardOffsetY" | "cardProps" | "closeSiblings" | "displayAppendIcon" | "displayAppendIconColor" | "displayAppendIconSize" | "displayAppendInnerIcon" | "displayAppendInnerIconColor" | "displayAppendInnerIconSize" | "displayPrependIcon" | "displayPrependIconColor" | "displayPrependIconSize" | "displayPrependInnerIcon" | "displayPrependInnerIconColor" | "displayPrependInnerIconSize" | "emptyText" | "fieldOnly" | "hideSaveIcon" | "loadingIcon" | "loadingIconColor" | "loadingWait" | "saveButtonColor" | "saveButtonSize" | "saveButtonTitle" | "saveButtonVariant" | "saveIcon" | "saveIconColor" | "tableField" | "underlineColor" | "underlineStyle" | "underlineWidth" | "valueColor">; + }>>, "name" | "color" | "label" | "disabled" | "density" | "hideDetails" | "loading" | "autofocus" | "variant" | "underlined" | "truncateLength" | "truncateSuffix" | "cancelButtonColor" | "cancelButtonSize" | "cancelButtonTitle" | "cancelButtonVariant" | "cancelIcon" | "cancelIconColor" | "cardField" | "cardOffsetX" | "cardOffsetY" | "cardProps" | "cell" | "cellUnderlineFullWidth" | "closeSiblings" | "displayAppendIcon" | "displayAppendIconColor" | "displayAppendIconSize" | "displayAppendInnerIcon" | "displayAppendInnerIconColor" | "displayAppendInnerIconSize" | "displayPrependIcon" | "displayPrependIconColor" | "displayPrependIconSize" | "displayPrependInnerIcon" | "displayPrependInnerIconColor" | "displayPrependInnerIconSize" | "emptyText" | "fieldOnly" | "hideCancelIcon" | "hideSaveIcon" | "loadingIcon" | "loadingIconColor" | "loadingWait" | "saveButtonColor" | "saveButtonSize" | "saveButtonTitle" | "saveButtonVariant" | "saveIcon" | "saveIconColor" | "tableField" | "underlineColor" | "underlineStyle" | "underlineWidth" | "valueColor">; $attrs: { [x: string]: unknown; }; @@ -1740,6 +1818,14 @@ declare const _default: { type: globalThis.PropType; default: () => {}; }; + cell: { + type: globalThis.PropType; + default: boolean; + }; + cellUnderlineFullWidth: { + type: globalThis.PropType; + default: boolean; + }; closeSiblings: { type: globalThis.PropType; default: boolean; @@ -1800,6 +1886,10 @@ declare const _default: { type: globalThis.PropType; default: boolean; }; + hideCancelIcon: { + type: globalThis.PropType; + default: boolean; + }; hideSaveIcon: { type: globalThis.PropType; default: boolean; @@ -1885,6 +1975,8 @@ declare const _default: { cardOffsetX: number; cardOffsetY: number; cardProps: any; + cell: boolean; + cellUnderlineFullWidth: boolean; closeSiblings: boolean; displayAppendIcon: import("../types").VIconValue; displayAppendIconColor: string; @@ -1900,6 +1992,7 @@ declare const _default: { displayPrependInnerIconSize: string | number; emptyText: string; fieldOnly: boolean; + hideCancelIcon: boolean; hideSaveIcon: boolean; loadingIcon: string; loadingIconColor: string; @@ -2040,6 +2133,14 @@ declare const _default: { type: globalThis.PropType; default: () => {}; }; + cell: { + type: globalThis.PropType; + default: boolean; + }; + cellUnderlineFullWidth: { + type: globalThis.PropType; + default: boolean; + }; closeSiblings: { type: globalThis.PropType; default: boolean; @@ -2100,6 +2201,10 @@ declare const _default: { type: globalThis.PropType; default: boolean; }; + hideCancelIcon: { + type: globalThis.PropType; + default: boolean; + }; hideSaveIcon: { type: globalThis.PropType; default: boolean; @@ -2269,6 +2374,14 @@ declare const _default: { type: globalThis.PropType; default: () => {}; }; + cell: { + type: globalThis.PropType; + default: boolean; + }; + cellUnderlineFullWidth: { + type: globalThis.PropType; + default: boolean; + }; closeSiblings: { type: globalThis.PropType; default: boolean; @@ -2329,6 +2442,10 @@ declare const _default: { type: globalThis.PropType; default: boolean; }; + hideCancelIcon: { + type: globalThis.PropType; + default: boolean; + }; hideSaveIcon: { type: globalThis.PropType; default: boolean; @@ -2414,6 +2531,8 @@ declare const _default: { cardOffsetX: number; cardOffsetY: number; cardProps: any; + cell: boolean; + cellUnderlineFullWidth: boolean; closeSiblings: boolean; displayAppendIcon: import("../types").VIconValue; displayAppendIconColor: string; @@ -2429,6 +2548,7 @@ declare const _default: { displayPrependInnerIconSize: string | number; emptyText: string; fieldOnly: boolean; + hideCancelIcon: boolean; hideSaveIcon: boolean; loadingIcon: string; loadingIconColor: string; @@ -2460,6 +2580,7 @@ declare const _default: { truncateLength: number | undefined; truncateSuffix: string; variant: "filled" | "outlined" | "plain" | "underlined" | "solo" | "solo-inverted" | "solo-filled"; + hideCancelIcon: boolean; hideSaveIcon: boolean; loadingIcon: string | undefined; loadingIconColor: string; @@ -2480,6 +2601,8 @@ declare const _default: { cardOffsetX: number; cardOffsetY: number; cardProps: any; + cell: boolean; + cellUnderlineFullWidth: boolean; closeSiblings: boolean; color: string; density: "default" | "comfortable" | "compact" | null; @@ -2523,13 +2646,13 @@ declare const _default: { density: "default" | "comfortable" | "compact" | null; hideDetails: boolean; items: readonly any[]; + itemTitle: string | boolean | readonly (string | number)[] | ((item: any, fallback?: any) => any) | null; + itemValue: string | boolean | readonly (string | number)[] | ((item: any, fallback?: any) => any) | null; loading: boolean; autofocus: boolean; variant: "filled" | "outlined" | "plain" | "underlined" | "solo" | "solo-inverted" | "solo-filled"; clearIcon: string; clearable: boolean; - itemTitle: string | boolean | readonly (string | number)[] | ((item: Record, fallback?: any) => any) | null; - itemValue: string | boolean | readonly (string | number)[] | ((item: Record, fallback?: any) => any) | null; hideSelected: boolean; menu: boolean; underlined: boolean; @@ -2543,6 +2666,8 @@ declare const _default: { cardOffsetX: number; cardOffsetY: number; cardProps: any; + cell: boolean; + cellUnderlineFullWidth: boolean; closeSiblings: boolean; displayAppendIcon: import("../types").VIconValue; displayAppendIconColor: string; @@ -2558,6 +2683,7 @@ declare const _default: { displayPrependInnerIconSize: string | number; emptyText: string; fieldOnly: boolean; + hideCancelIcon: boolean; hideSaveIcon: boolean; loadingIcon: string; loadingIconColor: string; @@ -2581,12 +2707,12 @@ declare const _default: { readonly density: "default" | "comfortable" | "compact" | null; readonly hideDetails: boolean; readonly items: readonly any[]; + readonly itemTitle: string | boolean | readonly (string | number)[] | ((item: any, fallback?: any) => any) | null; + readonly itemValue: string | boolean | readonly (string | number)[] | ((item: any, fallback?: any) => any) | null; readonly loading: boolean; readonly autofocus: boolean; readonly variant: "filled" | "outlined" | "plain" | "underlined" | "solo" | "solo-inverted" | "solo-filled"; readonly clearable: boolean; - readonly itemTitle: string | boolean | readonly (string | number)[] | ((item: Record, fallback?: any) => any) | null; - readonly itemValue: string | boolean | readonly (string | number)[] | ((item: Record, fallback?: any) => any) | null; readonly hideSelected: boolean; readonly menu: boolean; readonly underlined: boolean; @@ -2599,6 +2725,8 @@ declare const _default: { readonly cardOffsetX: number; readonly cardOffsetY: number; readonly cardProps: any; + readonly cell: boolean; + readonly cellUnderlineFullWidth: boolean; readonly closeSiblings: boolean; readonly displayAppendIconSize: string | number; readonly displayAppendInnerIconSize: string | number; @@ -2606,6 +2734,7 @@ declare const _default: { readonly displayPrependInnerIconSize: string | number; readonly emptyText: string; readonly fieldOnly: boolean; + readonly hideCancelIcon: boolean; readonly hideSaveIcon: boolean; readonly loadingIconColor: string; readonly loadingWait: boolean; @@ -2619,8 +2748,8 @@ declare const _default: { readonly underlineStyle: string; readonly underlineWidth: string; readonly valueColor: string; - readonly error?: boolean | undefined; readonly modelValue?: any; + readonly error?: boolean | undefined; readonly rules?: readonly ((string | boolean) | PromiseLike | ((value: any) => string | boolean) | ((value: any) => PromiseLike))[] | undefined; readonly clearIcon?: string | undefined; readonly item?: Record | undefined; @@ -2672,6 +2801,14 @@ declare const _default: { type: globalThis.PropType; default: () => never[]; }; + itemTitle: { + type: globalThis.PropType any) | null>; + default: string; + }; + itemValue: { + type: globalThis.PropType any) | null>; + default: string; + }; loading: { type: globalThis.PropType; default: boolean; @@ -2692,14 +2829,6 @@ declare const _default: { type: globalThis.PropType; default: boolean; }; - itemTitle: { - type: globalThis.PropType, fallback?: any) => any) | null>; - default: string; - }; - itemValue: { - type: globalThis.PropType, fallback?: any) => any) | null>; - default: string; - }; hideSelected: { type: globalThis.PropType; default: boolean; @@ -2758,6 +2887,14 @@ declare const _default: { type: globalThis.PropType; default: () => {}; }; + cell: { + type: globalThis.PropType; + default: boolean; + }; + cellUnderlineFullWidth: { + type: globalThis.PropType; + default: boolean; + }; closeSiblings: { type: globalThis.PropType; default: boolean; @@ -2818,6 +2955,10 @@ declare const _default: { type: globalThis.PropType; default: boolean; }; + hideCancelIcon: { + type: globalThis.PropType; + default: boolean; + }; hideSaveIcon: { type: globalThis.PropType; default: boolean; @@ -2878,7 +3019,7 @@ declare const _default: { type: globalThis.PropType; default: string; }; - }>>, "name" | "color" | "label" | "disabled" | "density" | "hideDetails" | "items" | "loading" | "autofocus" | "variant" | "clearIcon" | "clearable" | "itemTitle" | "itemValue" | "hideSelected" | "menu" | "underlined" | "cancelButtonColor" | "cancelButtonSize" | "cancelButtonTitle" | "cancelButtonVariant" | "cancelIcon" | "cancelIconColor" | "cardField" | "cardOffsetX" | "cardOffsetY" | "cardProps" | "closeSiblings" | "displayAppendIcon" | "displayAppendIconColor" | "displayAppendIconSize" | "displayAppendInnerIcon" | "displayAppendInnerIconColor" | "displayAppendInnerIconSize" | "displayPrependIcon" | "displayPrependIconColor" | "displayPrependIconSize" | "displayPrependInnerIcon" | "displayPrependInnerIconColor" | "displayPrependInnerIconSize" | "emptyText" | "fieldOnly" | "hideSaveIcon" | "loadingIcon" | "loadingIconColor" | "loadingWait" | "saveButtonColor" | "saveButtonSize" | "saveButtonTitle" | "saveButtonVariant" | "saveIcon" | "saveIconColor" | "tableField" | "underlineColor" | "underlineStyle" | "underlineWidth" | "valueColor">; + }>>, "name" | "color" | "label" | "disabled" | "density" | "hideDetails" | "items" | "itemTitle" | "itemValue" | "loading" | "autofocus" | "variant" | "clearIcon" | "clearable" | "hideSelected" | "menu" | "underlined" | "cancelButtonColor" | "cancelButtonSize" | "cancelButtonTitle" | "cancelButtonVariant" | "cancelIcon" | "cancelIconColor" | "cardField" | "cardOffsetX" | "cardOffsetY" | "cardProps" | "cell" | "cellUnderlineFullWidth" | "closeSiblings" | "displayAppendIcon" | "displayAppendIconColor" | "displayAppendIconSize" | "displayAppendInnerIcon" | "displayAppendInnerIconColor" | "displayAppendInnerIconSize" | "displayPrependIcon" | "displayPrependIconColor" | "displayPrependIconSize" | "displayPrependInnerIcon" | "displayPrependInnerIconColor" | "displayPrependInnerIconSize" | "emptyText" | "fieldOnly" | "hideCancelIcon" | "hideSaveIcon" | "loadingIcon" | "loadingIconColor" | "loadingWait" | "saveButtonColor" | "saveButtonSize" | "saveButtonTitle" | "saveButtonVariant" | "saveIcon" | "saveIconColor" | "tableField" | "underlineColor" | "underlineStyle" | "underlineWidth" | "valueColor">; $attrs: { [x: string]: unknown; }; @@ -2928,6 +3069,14 @@ declare const _default: { type: globalThis.PropType; default: () => never[]; }; + itemTitle: { + type: globalThis.PropType any) | null>; + default: string; + }; + itemValue: { + type: globalThis.PropType any) | null>; + default: string; + }; loading: { type: globalThis.PropType; default: boolean; @@ -2948,14 +3097,6 @@ declare const _default: { type: globalThis.PropType; default: boolean; }; - itemTitle: { - type: globalThis.PropType, fallback?: any) => any) | null>; - default: string; - }; - itemValue: { - type: globalThis.PropType, fallback?: any) => any) | null>; - default: string; - }; hideSelected: { type: globalThis.PropType; default: boolean; @@ -3014,6 +3155,14 @@ declare const _default: { type: globalThis.PropType; default: () => {}; }; + cell: { + type: globalThis.PropType; + default: boolean; + }; + cellUnderlineFullWidth: { + type: globalThis.PropType; + default: boolean; + }; closeSiblings: { type: globalThis.PropType; default: boolean; @@ -3074,6 +3223,10 @@ declare const _default: { type: globalThis.PropType; default: boolean; }; + hideCancelIcon: { + type: globalThis.PropType; + default: boolean; + }; hideSaveIcon: { type: globalThis.PropType; default: boolean; @@ -3144,13 +3297,13 @@ declare const _default: { density: "default" | "comfortable" | "compact" | null; hideDetails: boolean; items: readonly any[]; + itemTitle: string | boolean | readonly (string | number)[] | ((item: any, fallback?: any) => any) | null; + itemValue: string | boolean | readonly (string | number)[] | ((item: any, fallback?: any) => any) | null; loading: boolean; autofocus: boolean; variant: "filled" | "outlined" | "plain" | "underlined" | "solo" | "solo-inverted" | "solo-filled"; clearIcon: string; clearable: boolean; - itemTitle: string | boolean | readonly (string | number)[] | ((item: Record, fallback?: any) => any) | null; - itemValue: string | boolean | readonly (string | number)[] | ((item: Record, fallback?: any) => any) | null; hideSelected: boolean; menu: boolean; underlined: boolean; @@ -3164,6 +3317,8 @@ declare const _default: { cardOffsetX: number; cardOffsetY: number; cardProps: any; + cell: boolean; + cellUnderlineFullWidth: boolean; closeSiblings: boolean; displayAppendIcon: import("../types").VIconValue; displayAppendIconColor: string; @@ -3179,6 +3334,7 @@ declare const _default: { displayPrependInnerIconSize: string | number; emptyText: string; fieldOnly: boolean; + hideCancelIcon: boolean; hideSaveIcon: boolean; loadingIcon: string; loadingIconColor: string; @@ -3250,6 +3406,14 @@ declare const _default: { type: globalThis.PropType; default: () => never[]; }; + itemTitle: { + type: globalThis.PropType any) | null>; + default: string; + }; + itemValue: { + type: globalThis.PropType any) | null>; + default: string; + }; loading: { type: globalThis.PropType; default: boolean; @@ -3270,14 +3434,6 @@ declare const _default: { type: globalThis.PropType; default: boolean; }; - itemTitle: { - type: globalThis.PropType, fallback?: any) => any) | null>; - default: string; - }; - itemValue: { - type: globalThis.PropType, fallback?: any) => any) | null>; - default: string; - }; hideSelected: { type: globalThis.PropType; default: boolean; @@ -3336,6 +3492,14 @@ declare const _default: { type: globalThis.PropType; default: () => {}; }; + cell: { + type: globalThis.PropType; + default: boolean; + }; + cellUnderlineFullWidth: { + type: globalThis.PropType; + default: boolean; + }; closeSiblings: { type: globalThis.PropType; default: boolean; @@ -3396,6 +3560,10 @@ declare const _default: { type: globalThis.PropType; default: boolean; }; + hideCancelIcon: { + type: globalThis.PropType; + default: boolean; + }; hideSaveIcon: { type: globalThis.PropType; default: boolean; @@ -3496,6 +3664,14 @@ declare const _default: { type: globalThis.PropType; default: () => never[]; }; + itemTitle: { + type: globalThis.PropType any) | null>; + default: string; + }; + itemValue: { + type: globalThis.PropType any) | null>; + default: string; + }; loading: { type: globalThis.PropType; default: boolean; @@ -3516,14 +3692,6 @@ declare const _default: { type: globalThis.PropType; default: boolean; }; - itemTitle: { - type: globalThis.PropType, fallback?: any) => any) | null>; - default: string; - }; - itemValue: { - type: globalThis.PropType, fallback?: any) => any) | null>; - default: string; - }; hideSelected: { type: globalThis.PropType; default: boolean; @@ -3582,6 +3750,14 @@ declare const _default: { type: globalThis.PropType; default: () => {}; }; + cell: { + type: globalThis.PropType; + default: boolean; + }; + cellUnderlineFullWidth: { + type: globalThis.PropType; + default: boolean; + }; closeSiblings: { type: globalThis.PropType; default: boolean; @@ -3642,6 +3818,10 @@ declare const _default: { type: globalThis.PropType; default: boolean; }; + hideCancelIcon: { + type: globalThis.PropType; + default: boolean; + }; hideSaveIcon: { type: globalThis.PropType; default: boolean; @@ -3712,13 +3892,13 @@ declare const _default: { density: "default" | "comfortable" | "compact" | null; hideDetails: boolean; items: readonly any[]; + itemTitle: string | boolean | readonly (string | number)[] | ((item: any, fallback?: any) => any) | null; + itemValue: string | boolean | readonly (string | number)[] | ((item: any, fallback?: any) => any) | null; loading: boolean; autofocus: boolean; variant: "filled" | "outlined" | "plain" | "underlined" | "solo" | "solo-inverted" | "solo-filled"; clearIcon: string; clearable: boolean; - itemTitle: string | boolean | readonly (string | number)[] | ((item: Record, fallback?: any) => any) | null; - itemValue: string | boolean | readonly (string | number)[] | ((item: Record, fallback?: any) => any) | null; hideSelected: boolean; menu: boolean; underlined: boolean; @@ -3732,6 +3912,8 @@ declare const _default: { cardOffsetX: number; cardOffsetY: number; cardProps: any; + cell: boolean; + cellUnderlineFullWidth: boolean; closeSiblings: boolean; displayAppendIcon: import("../types").VIconValue; displayAppendIconColor: string; @@ -3747,6 +3929,7 @@ declare const _default: { displayPrependInnerIconSize: string | number; emptyText: string; fieldOnly: boolean; + hideCancelIcon: boolean; hideSaveIcon: boolean; loadingIcon: string; loadingIconColor: string; @@ -3781,6 +3964,13 @@ declare const _default: { hideDetails: boolean; loading: boolean; underlined: boolean; + iconFalse: string; + iconFalseColor: string; + iconFalseTitle: string; + iconTrue: string; + iconTrueColor: string; + iconTrueTitle: string; + icons: boolean; cancelButtonColor: string; cancelButtonSize: string | number; cancelButtonTitle: string; @@ -3791,6 +3981,8 @@ declare const _default: { cardOffsetX: number; cardOffsetY: number; cardProps: any; + cell: boolean; + cellUnderlineFullWidth: boolean; closeSiblings: boolean; displayAppendIcon: import("../types").VIconValue; displayAppendIconColor: string; @@ -3806,13 +3998,7 @@ declare const _default: { displayPrependInnerIconSize: string | number; emptyText: string; fieldOnly: boolean; - iconFalse: string; - iconFalseColor: string; - iconFalseTitle: string; - iconTrue: string; - iconTrueColor: string; - iconTrueTitle: string; - icons: boolean; + hideCancelIcon: boolean; loadingWait: boolean; tableField: boolean; underlineColor: string; @@ -3831,6 +4017,11 @@ declare const _default: { readonly hideDetails: boolean; readonly loading: boolean; readonly underlined: boolean; + readonly iconFalseColor: string; + readonly iconFalseTitle: string; + readonly iconTrueColor: string; + readonly iconTrueTitle: string; + readonly icons: boolean; readonly cancelButtonColor: string; readonly cancelButtonSize: string | number; readonly cancelButtonTitle: string; @@ -3840,6 +4031,8 @@ declare const _default: { readonly cardOffsetX: number; readonly cardOffsetY: number; readonly cardProps: any; + readonly cell: boolean; + readonly cellUnderlineFullWidth: boolean; readonly closeSiblings: boolean; readonly displayAppendIconSize: string | number; readonly displayAppendInnerIconSize: string | number; @@ -3847,21 +4040,19 @@ declare const _default: { readonly displayPrependInnerIconSize: string | number; readonly emptyText: string; readonly fieldOnly: boolean; - readonly iconFalseColor: string; - readonly iconFalseTitle: string; - readonly iconTrueColor: string; - readonly iconTrueTitle: string; - readonly icons: boolean; + readonly hideCancelIcon: boolean; readonly loadingWait: boolean; readonly tableField: boolean; readonly underlineColor: string; readonly underlineStyle: string; readonly underlineWidth: string; readonly valueColor: string; - readonly error?: boolean | undefined; readonly modelValue?: any; + readonly error?: boolean | undefined; readonly item?: Record | undefined; readonly required?: boolean | undefined; + readonly iconFalse?: string | undefined; + readonly iconTrue?: string | undefined; readonly cancelIcon?: string | undefined; readonly displayAppendIcon?: import("../types").VIconValue | undefined; readonly displayAppendIconColor?: string | undefined; @@ -3871,8 +4062,6 @@ declare const _default: { readonly displayPrependIconColor?: string | undefined; readonly displayPrependInnerIcon?: import("../types").VIconValue | undefined; readonly displayPrependInnerIconColor?: string | undefined; - readonly iconFalse?: string | undefined; - readonly iconTrue?: string | undefined; } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly; error: { @@ -3928,6 +4117,34 @@ declare const _default: { required: { type: globalThis.PropType; }; + iconFalse: { + type: globalThis.PropType; + default: undefined; + }; + iconFalseColor: { + type: globalThis.PropType; + default: string; + }; + iconFalseTitle: { + type: globalThis.PropType; + default: string; + }; + iconTrue: { + type: globalThis.PropType; + default: undefined; + }; + iconTrueColor: { + type: globalThis.PropType; + default: string; + }; + iconTrueTitle: { + type: globalThis.PropType; + default: string; + }; + icons: { + type: globalThis.PropType; + default: boolean; + }; cancelButtonColor: { type: globalThis.PropType; default: string; @@ -3968,6 +4185,14 @@ declare const _default: { type: globalThis.PropType; default: () => {}; }; + cell: { + type: globalThis.PropType; + default: boolean; + }; + cellUnderlineFullWidth: { + type: globalThis.PropType; + default: boolean; + }; closeSiblings: { type: globalThis.PropType; default: boolean; @@ -4028,31 +4253,7 @@ declare const _default: { type: globalThis.PropType; default: boolean; }; - iconFalse: { - type: globalThis.PropType; - default: undefined; - }; - iconFalseColor: { - type: globalThis.PropType; - default: string; - }; - iconFalseTitle: { - type: globalThis.PropType; - default: string; - }; - iconTrue: { - type: globalThis.PropType; - default: undefined; - }; - iconTrueColor: { - type: globalThis.PropType; - default: string; - }; - iconTrueTitle: { - type: globalThis.PropType; - default: string; - }; - icons: { + hideCancelIcon: { type: globalThis.PropType; default: boolean; }; @@ -4080,7 +4281,7 @@ declare const _default: { type: globalThis.PropType; default: string; }; - }>>, "name" | "color" | "label" | "disabled" | "density" | "falseIcon" | "trueValue" | "falseValue" | "hideDetails" | "loading" | "underlined" | "cancelButtonColor" | "cancelButtonSize" | "cancelButtonTitle" | "cancelButtonVariant" | "cancelIcon" | "cancelIconColor" | "cardField" | "cardOffsetX" | "cardOffsetY" | "cardProps" | "closeSiblings" | "displayAppendIcon" | "displayAppendIconColor" | "displayAppendIconSize" | "displayAppendInnerIcon" | "displayAppendInnerIconColor" | "displayAppendInnerIconSize" | "displayPrependIcon" | "displayPrependIconColor" | "displayPrependIconSize" | "displayPrependInnerIcon" | "displayPrependInnerIconColor" | "displayPrependInnerIconSize" | "emptyText" | "fieldOnly" | "iconFalse" | "iconFalseColor" | "iconFalseTitle" | "iconTrue" | "iconTrueColor" | "iconTrueTitle" | "icons" | "loadingWait" | "tableField" | "underlineColor" | "underlineStyle" | "underlineWidth" | "valueColor">; + }>>, "name" | "color" | "label" | "disabled" | "density" | "falseIcon" | "trueValue" | "falseValue" | "hideDetails" | "loading" | "underlined" | "iconFalse" | "iconFalseColor" | "iconFalseTitle" | "iconTrue" | "iconTrueColor" | "iconTrueTitle" | "icons" | "cancelButtonColor" | "cancelButtonSize" | "cancelButtonTitle" | "cancelButtonVariant" | "cancelIcon" | "cancelIconColor" | "cardField" | "cardOffsetX" | "cardOffsetY" | "cardProps" | "cell" | "cellUnderlineFullWidth" | "closeSiblings" | "displayAppendIcon" | "displayAppendIconColor" | "displayAppendIconSize" | "displayAppendInnerIcon" | "displayAppendInnerIconColor" | "displayAppendInnerIconSize" | "displayPrependIcon" | "displayPrependIconColor" | "displayPrependIconSize" | "displayPrependInnerIcon" | "displayPrependInnerIconColor" | "displayPrependInnerIconSize" | "emptyText" | "fieldOnly" | "hideCancelIcon" | "loadingWait" | "tableField" | "underlineColor" | "underlineStyle" | "underlineWidth" | "valueColor">; $attrs: { [x: string]: unknown; }; @@ -4146,8 +4347,36 @@ declare const _default: { item: { type: globalThis.PropType>; }; - required: { + required: { + type: globalThis.PropType; + }; + iconFalse: { + type: globalThis.PropType; + default: undefined; + }; + iconFalseColor: { + type: globalThis.PropType; + default: string; + }; + iconFalseTitle: { + type: globalThis.PropType; + default: string; + }; + iconTrue: { + type: globalThis.PropType; + default: undefined; + }; + iconTrueColor: { + type: globalThis.PropType; + default: string; + }; + iconTrueTitle: { + type: globalThis.PropType; + default: string; + }; + icons: { type: globalThis.PropType; + default: boolean; }; cancelButtonColor: { type: globalThis.PropType; @@ -4189,6 +4418,14 @@ declare const _default: { type: globalThis.PropType; default: () => {}; }; + cell: { + type: globalThis.PropType; + default: boolean; + }; + cellUnderlineFullWidth: { + type: globalThis.PropType; + default: boolean; + }; closeSiblings: { type: globalThis.PropType; default: boolean; @@ -4249,31 +4486,7 @@ declare const _default: { type: globalThis.PropType; default: boolean; }; - iconFalse: { - type: globalThis.PropType; - default: undefined; - }; - iconFalseColor: { - type: globalThis.PropType; - default: string; - }; - iconFalseTitle: { - type: globalThis.PropType; - default: string; - }; - iconTrue: { - type: globalThis.PropType; - default: undefined; - }; - iconTrueColor: { - type: globalThis.PropType; - default: string; - }; - iconTrueTitle: { - type: globalThis.PropType; - default: string; - }; - icons: { + hideCancelIcon: { type: globalThis.PropType; default: boolean; }; @@ -4315,6 +4528,13 @@ declare const _default: { hideDetails: boolean; loading: boolean; underlined: boolean; + iconFalse: string; + iconFalseColor: string; + iconFalseTitle: string; + iconTrue: string; + iconTrueColor: string; + iconTrueTitle: string; + icons: boolean; cancelButtonColor: string; cancelButtonSize: string | number; cancelButtonTitle: string; @@ -4325,6 +4545,8 @@ declare const _default: { cardOffsetX: number; cardOffsetY: number; cardProps: any; + cell: boolean; + cellUnderlineFullWidth: boolean; closeSiblings: boolean; displayAppendIcon: import("../types").VIconValue; displayAppendIconColor: string; @@ -4340,13 +4562,7 @@ declare const _default: { displayPrependInnerIconSize: string | number; emptyText: string; fieldOnly: boolean; - iconFalse: string; - iconFalseColor: string; - iconFalseTitle: string; - iconTrue: string; - iconTrueColor: string; - iconTrueTitle: string; - icons: boolean; + hideCancelIcon: boolean; loadingWait: boolean; tableField: boolean; underlineColor: string; @@ -4428,6 +4644,34 @@ declare const _default: { required: { type: globalThis.PropType; }; + iconFalse: { + type: globalThis.PropType; + default: undefined; + }; + iconFalseColor: { + type: globalThis.PropType; + default: string; + }; + iconFalseTitle: { + type: globalThis.PropType; + default: string; + }; + iconTrue: { + type: globalThis.PropType; + default: undefined; + }; + iconTrueColor: { + type: globalThis.PropType; + default: string; + }; + iconTrueTitle: { + type: globalThis.PropType; + default: string; + }; + icons: { + type: globalThis.PropType; + default: boolean; + }; cancelButtonColor: { type: globalThis.PropType; default: string; @@ -4468,6 +4712,14 @@ declare const _default: { type: globalThis.PropType; default: () => {}; }; + cell: { + type: globalThis.PropType; + default: boolean; + }; + cellUnderlineFullWidth: { + type: globalThis.PropType; + default: boolean; + }; closeSiblings: { type: globalThis.PropType; default: boolean; @@ -4528,31 +4780,7 @@ declare const _default: { type: globalThis.PropType; default: boolean; }; - iconFalse: { - type: globalThis.PropType; - default: undefined; - }; - iconFalseColor: { - type: globalThis.PropType; - default: string; - }; - iconFalseTitle: { - type: globalThis.PropType; - default: string; - }; - iconTrue: { - type: globalThis.PropType; - default: undefined; - }; - iconTrueColor: { - type: globalThis.PropType; - default: string; - }; - iconTrueTitle: { - type: globalThis.PropType; - default: string; - }; - icons: { + hideCancelIcon: { type: globalThis.PropType; default: boolean; }; @@ -4639,6 +4867,34 @@ declare const _default: { required: { type: globalThis.PropType; }; + iconFalse: { + type: globalThis.PropType; + default: undefined; + }; + iconFalseColor: { + type: globalThis.PropType; + default: string; + }; + iconFalseTitle: { + type: globalThis.PropType; + default: string; + }; + iconTrue: { + type: globalThis.PropType; + default: undefined; + }; + iconTrueColor: { + type: globalThis.PropType; + default: string; + }; + iconTrueTitle: { + type: globalThis.PropType; + default: string; + }; + icons: { + type: globalThis.PropType; + default: boolean; + }; cancelButtonColor: { type: globalThis.PropType; default: string; @@ -4679,6 +4935,14 @@ declare const _default: { type: globalThis.PropType; default: () => {}; }; + cell: { + type: globalThis.PropType; + default: boolean; + }; + cellUnderlineFullWidth: { + type: globalThis.PropType; + default: boolean; + }; closeSiblings: { type: globalThis.PropType; default: boolean; @@ -4739,31 +5003,7 @@ declare const _default: { type: globalThis.PropType; default: boolean; }; - iconFalse: { - type: globalThis.PropType; - default: undefined; - }; - iconFalseColor: { - type: globalThis.PropType; - default: string; - }; - iconFalseTitle: { - type: globalThis.PropType; - default: string; - }; - iconTrue: { - type: globalThis.PropType; - default: undefined; - }; - iconTrueColor: { - type: globalThis.PropType; - default: string; - }; - iconTrueTitle: { - type: globalThis.PropType; - default: string; - }; - icons: { + hideCancelIcon: { type: globalThis.PropType; default: boolean; }; @@ -4805,6 +5045,13 @@ declare const _default: { hideDetails: boolean; loading: boolean; underlined: boolean; + iconFalse: string; + iconFalseColor: string; + iconFalseTitle: string; + iconTrue: string; + iconTrueColor: string; + iconTrueTitle: string; + icons: boolean; cancelButtonColor: string; cancelButtonSize: string | number; cancelButtonTitle: string; @@ -4815,6 +5062,8 @@ declare const _default: { cardOffsetX: number; cardOffsetY: number; cardProps: any; + cell: boolean; + cellUnderlineFullWidth: boolean; closeSiblings: boolean; displayAppendIcon: import("../types").VIconValue; displayAppendIconColor: string; @@ -4830,13 +5079,7 @@ declare const _default: { displayPrependInnerIconSize: string | number; emptyText: string; fieldOnly: boolean; - iconFalse: string; - iconFalseColor: string; - iconFalseTitle: string; - iconTrue: string; - iconTrueColor: string; - iconTrueTitle: string; - icons: boolean; + hideCancelIcon: boolean; loadingWait: boolean; tableField: boolean; underlineColor: string; @@ -4873,6 +5116,8 @@ declare const _default: { cardOffsetX: number; cardOffsetY: number; cardProps: any; + cell: boolean; + cellUnderlineFullWidth: boolean; closeSiblings: boolean; displayAppendIcon: import("../types").VIconValue; displayAppendIconColor: string; @@ -4888,6 +5133,7 @@ declare const _default: { displayPrependInnerIconSize: string | number; emptyText: string; fieldOnly: boolean; + hideCancelIcon: boolean; hideSaveIcon: boolean; loadingIcon: string; loadingIconColor: string; @@ -4924,6 +5170,8 @@ declare const _default: { readonly cardOffsetX: number; readonly cardOffsetY: number; readonly cardProps: any; + readonly cell: boolean; + readonly cellUnderlineFullWidth: boolean; readonly closeSiblings: boolean; readonly displayAppendIconSize: string | number; readonly displayAppendInnerIconSize: string | number; @@ -4931,6 +5179,7 @@ declare const _default: { readonly displayPrependInnerIconSize: string | number; readonly emptyText: string; readonly fieldOnly: boolean; + readonly hideCancelIcon: boolean; readonly hideSaveIcon: boolean; readonly loadingIconColor: string; readonly loadingWait: boolean; @@ -4944,8 +5193,8 @@ declare const _default: { readonly underlineStyle: string; readonly underlineWidth: string; readonly valueColor: string; - readonly error?: boolean | undefined; readonly modelValue?: any; + readonly error?: boolean | undefined; readonly rules?: readonly ((string | boolean) | PromiseLike | ((value: any) => string | boolean) | ((value: any) => PromiseLike))[] | undefined; readonly clearIcon?: string | undefined; readonly item?: Record | undefined; @@ -5067,6 +5316,14 @@ declare const _default: { type: globalThis.PropType; default: () => {}; }; + cell: { + type: globalThis.PropType; + default: boolean; + }; + cellUnderlineFullWidth: { + type: globalThis.PropType; + default: boolean; + }; closeSiblings: { type: globalThis.PropType; default: boolean; @@ -5127,6 +5384,10 @@ declare const _default: { type: globalThis.PropType; default: boolean; }; + hideCancelIcon: { + type: globalThis.PropType; + default: boolean; + }; hideSaveIcon: { type: globalThis.PropType; default: boolean; @@ -5187,7 +5448,7 @@ declare const _default: { type: globalThis.PropType; default: string; }; - }>>, "name" | "color" | "label" | "disabled" | "density" | "hideDetails" | "loading" | "autofocus" | "variant" | "underlined" | "truncateLength" | "truncateSuffix" | "cancelButtonColor" | "cancelButtonSize" | "cancelButtonTitle" | "cancelButtonVariant" | "cancelIcon" | "cancelIconColor" | "cardField" | "cardOffsetX" | "cardOffsetY" | "cardProps" | "closeSiblings" | "displayAppendIcon" | "displayAppendIconColor" | "displayAppendIconSize" | "displayAppendInnerIcon" | "displayAppendInnerIconColor" | "displayAppendInnerIconSize" | "displayPrependIcon" | "displayPrependIconColor" | "displayPrependIconSize" | "displayPrependInnerIcon" | "displayPrependInnerIconColor" | "displayPrependInnerIconSize" | "emptyText" | "fieldOnly" | "hideSaveIcon" | "loadingIcon" | "loadingIconColor" | "loadingWait" | "saveButtonColor" | "saveButtonSize" | "saveButtonTitle" | "saveButtonVariant" | "saveIcon" | "saveIconColor" | "tableField" | "underlineColor" | "underlineStyle" | "underlineWidth" | "valueColor">; + }>>, "name" | "color" | "label" | "disabled" | "density" | "hideDetails" | "loading" | "autofocus" | "variant" | "underlined" | "truncateLength" | "truncateSuffix" | "cancelButtonColor" | "cancelButtonSize" | "cancelButtonTitle" | "cancelButtonVariant" | "cancelIcon" | "cancelIconColor" | "cardField" | "cardOffsetX" | "cardOffsetY" | "cardProps" | "cell" | "cellUnderlineFullWidth" | "closeSiblings" | "displayAppendIcon" | "displayAppendIconColor" | "displayAppendIconSize" | "displayAppendInnerIcon" | "displayAppendInnerIconColor" | "displayAppendInnerIconSize" | "displayPrependIcon" | "displayPrependIconColor" | "displayPrependIconSize" | "displayPrependInnerIcon" | "displayPrependInnerIconColor" | "displayPrependInnerIconSize" | "emptyText" | "fieldOnly" | "hideCancelIcon" | "hideSaveIcon" | "loadingIcon" | "loadingIconColor" | "loadingWait" | "saveButtonColor" | "saveButtonSize" | "saveButtonTitle" | "saveButtonVariant" | "saveIcon" | "saveIconColor" | "tableField" | "underlineColor" | "underlineStyle" | "underlineWidth" | "valueColor">; $attrs: { [x: string]: unknown; }; @@ -5306,6 +5567,14 @@ declare const _default: { type: globalThis.PropType; default: () => {}; }; + cell: { + type: globalThis.PropType; + default: boolean; + }; + cellUnderlineFullWidth: { + type: globalThis.PropType; + default: boolean; + }; closeSiblings: { type: globalThis.PropType; default: boolean; @@ -5366,6 +5635,10 @@ declare const _default: { type: globalThis.PropType; default: boolean; }; + hideCancelIcon: { + type: globalThis.PropType; + default: boolean; + }; hideSaveIcon: { type: globalThis.PropType; default: boolean; @@ -5451,6 +5724,8 @@ declare const _default: { cardOffsetX: number; cardOffsetY: number; cardProps: any; + cell: boolean; + cellUnderlineFullWidth: boolean; closeSiblings: boolean; displayAppendIcon: import("../types").VIconValue; displayAppendIconColor: string; @@ -5466,6 +5741,7 @@ declare const _default: { displayPrependInnerIconSize: string | number; emptyText: string; fieldOnly: boolean; + hideCancelIcon: boolean; hideSaveIcon: boolean; loadingIcon: string; loadingIconColor: string; @@ -5606,6 +5882,14 @@ declare const _default: { type: globalThis.PropType; default: () => {}; }; + cell: { + type: globalThis.PropType; + default: boolean; + }; + cellUnderlineFullWidth: { + type: globalThis.PropType; + default: boolean; + }; closeSiblings: { type: globalThis.PropType; default: boolean; @@ -5666,6 +5950,10 @@ declare const _default: { type: globalThis.PropType; default: boolean; }; + hideCancelIcon: { + type: globalThis.PropType; + default: boolean; + }; hideSaveIcon: { type: globalThis.PropType; default: boolean; @@ -5835,6 +6123,14 @@ declare const _default: { type: globalThis.PropType; default: () => {}; }; + cell: { + type: globalThis.PropType; + default: boolean; + }; + cellUnderlineFullWidth: { + type: globalThis.PropType; + default: boolean; + }; closeSiblings: { type: globalThis.PropType; default: boolean; @@ -5895,6 +6191,10 @@ declare const _default: { type: globalThis.PropType; default: boolean; }; + hideCancelIcon: { + type: globalThis.PropType; + default: boolean; + }; hideSaveIcon: { type: globalThis.PropType; default: boolean; @@ -5980,6 +6280,8 @@ declare const _default: { cardOffsetX: number; cardOffsetY: number; cardProps: any; + cell: boolean; + cellUnderlineFullWidth: boolean; closeSiblings: boolean; displayAppendIcon: import("../types").VIconValue; displayAppendIconColor: string; @@ -5995,6 +6297,7 @@ declare const _default: { displayPrependInnerIconSize: string | number; emptyText: string; fieldOnly: boolean; + hideCancelIcon: boolean; hideSaveIcon: boolean; loadingIcon: string; loadingIconColor: string; @@ -6042,6 +6345,8 @@ declare const _default: { cardOffsetX: number; cardOffsetY: number; cardProps: any; + cell: boolean; + cellUnderlineFullWidth: boolean; closeSiblings: boolean; displayAppendIcon: import("../types").VIconValue; displayAppendIconColor: string; @@ -6057,6 +6362,7 @@ declare const _default: { displayPrependInnerIconSize: string | number; emptyText: string; fieldOnly: boolean; + hideCancelIcon: boolean; hideSaveIcon: boolean; loadingIcon: string; loadingIconColor: string; @@ -6095,6 +6401,8 @@ declare const _default: { readonly cardOffsetX: number; readonly cardOffsetY: number; readonly cardProps: any; + readonly cell: boolean; + readonly cellUnderlineFullWidth: boolean; readonly closeSiblings: boolean; readonly displayAppendIconSize: string | number; readonly displayAppendInnerIconSize: string | number; @@ -6102,6 +6410,7 @@ declare const _default: { readonly displayPrependInnerIconSize: string | number; readonly emptyText: string; readonly fieldOnly: boolean; + readonly hideCancelIcon: boolean; readonly hideSaveIcon: boolean; readonly loadingIconColor: string; readonly loadingWait: boolean; @@ -6115,8 +6424,8 @@ declare const _default: { readonly underlineStyle: string; readonly underlineWidth: string; readonly valueColor: string; - readonly error?: boolean | undefined; readonly modelValue?: any; + readonly error?: boolean | undefined; readonly rules?: readonly ((string | boolean) | PromiseLike | ((value: any) => string | boolean) | ((value: any) => PromiseLike))[] | undefined; readonly clearIcon?: string | undefined; readonly item?: Record | undefined; @@ -6246,6 +6555,14 @@ declare const _default: { type: globalThis.PropType; default: () => {}; }; + cell: { + type: globalThis.PropType; + default: boolean; + }; + cellUnderlineFullWidth: { + type: globalThis.PropType; + default: boolean; + }; closeSiblings: { type: globalThis.PropType; default: boolean; @@ -6306,6 +6623,10 @@ declare const _default: { type: globalThis.PropType; default: boolean; }; + hideCancelIcon: { + type: globalThis.PropType; + default: boolean; + }; hideSaveIcon: { type: globalThis.PropType; default: boolean; @@ -6366,7 +6687,7 @@ declare const _default: { type: globalThis.PropType; default: string; }; - }>>, "name" | "color" | "label" | "disabled" | "density" | "hideDetails" | "loading" | "autofocus" | "variant" | "underlined" | "autoGrow" | "rows" | "truncateLength" | "truncateSuffix" | "cancelButtonColor" | "cancelButtonSize" | "cancelButtonTitle" | "cancelButtonVariant" | "cancelIcon" | "cancelIconColor" | "cardField" | "cardOffsetX" | "cardOffsetY" | "cardProps" | "closeSiblings" | "displayAppendIcon" | "displayAppendIconColor" | "displayAppendIconSize" | "displayAppendInnerIcon" | "displayAppendInnerIconColor" | "displayAppendInnerIconSize" | "displayPrependIcon" | "displayPrependIconColor" | "displayPrependIconSize" | "displayPrependInnerIcon" | "displayPrependInnerIconColor" | "displayPrependInnerIconSize" | "emptyText" | "fieldOnly" | "hideSaveIcon" | "loadingIcon" | "loadingIconColor" | "loadingWait" | "saveButtonColor" | "saveButtonSize" | "saveButtonTitle" | "saveButtonVariant" | "saveIcon" | "saveIconColor" | "tableField" | "underlineColor" | "underlineStyle" | "underlineWidth" | "valueColor">; + }>>, "name" | "color" | "label" | "disabled" | "density" | "hideDetails" | "loading" | "autofocus" | "variant" | "underlined" | "autoGrow" | "rows" | "truncateLength" | "truncateSuffix" | "cancelButtonColor" | "cancelButtonSize" | "cancelButtonTitle" | "cancelButtonVariant" | "cancelIcon" | "cancelIconColor" | "cardField" | "cardOffsetX" | "cardOffsetY" | "cardProps" | "cell" | "cellUnderlineFullWidth" | "closeSiblings" | "displayAppendIcon" | "displayAppendIconColor" | "displayAppendIconSize" | "displayAppendInnerIcon" | "displayAppendInnerIconColor" | "displayAppendInnerIconSize" | "displayPrependIcon" | "displayPrependIconColor" | "displayPrependIconSize" | "displayPrependInnerIcon" | "displayPrependInnerIconColor" | "displayPrependInnerIconSize" | "emptyText" | "fieldOnly" | "hideCancelIcon" | "hideSaveIcon" | "loadingIcon" | "loadingIconColor" | "loadingWait" | "saveButtonColor" | "saveButtonSize" | "saveButtonTitle" | "saveButtonVariant" | "saveIcon" | "saveIconColor" | "tableField" | "underlineColor" | "underlineStyle" | "underlineWidth" | "valueColor">; $attrs: { [x: string]: unknown; }; @@ -6493,6 +6814,14 @@ declare const _default: { type: globalThis.PropType; default: () => {}; }; + cell: { + type: globalThis.PropType; + default: boolean; + }; + cellUnderlineFullWidth: { + type: globalThis.PropType; + default: boolean; + }; closeSiblings: { type: globalThis.PropType; default: boolean; @@ -6553,6 +6882,10 @@ declare const _default: { type: globalThis.PropType; default: boolean; }; + hideCancelIcon: { + type: globalThis.PropType; + default: boolean; + }; hideSaveIcon: { type: globalThis.PropType; default: boolean; @@ -6640,6 +6973,8 @@ declare const _default: { cardOffsetX: number; cardOffsetY: number; cardProps: any; + cell: boolean; + cellUnderlineFullWidth: boolean; closeSiblings: boolean; displayAppendIcon: import("../types").VIconValue; displayAppendIconColor: string; @@ -6655,6 +6990,7 @@ declare const _default: { displayPrependInnerIconSize: string | number; emptyText: string; fieldOnly: boolean; + hideCancelIcon: boolean; hideSaveIcon: boolean; loadingIcon: string; loadingIconColor: string; @@ -6803,6 +7139,14 @@ declare const _default: { type: globalThis.PropType; default: () => {}; }; + cell: { + type: globalThis.PropType; + default: boolean; + }; + cellUnderlineFullWidth: { + type: globalThis.PropType; + default: boolean; + }; closeSiblings: { type: globalThis.PropType; default: boolean; @@ -6863,6 +7207,10 @@ declare const _default: { type: globalThis.PropType; default: boolean; }; + hideCancelIcon: { + type: globalThis.PropType; + default: boolean; + }; hideSaveIcon: { type: globalThis.PropType; default: boolean; @@ -7040,6 +7388,14 @@ declare const _default: { type: globalThis.PropType; default: () => {}; }; + cell: { + type: globalThis.PropType; + default: boolean; + }; + cellUnderlineFullWidth: { + type: globalThis.PropType; + default: boolean; + }; closeSiblings: { type: globalThis.PropType; default: boolean; @@ -7100,6 +7456,10 @@ declare const _default: { type: globalThis.PropType; default: boolean; }; + hideCancelIcon: { + type: globalThis.PropType; + default: boolean; + }; hideSaveIcon: { type: globalThis.PropType; default: boolean; @@ -7187,6 +7547,8 @@ declare const _default: { cardOffsetX: number; cardOffsetY: number; cardProps: any; + cell: boolean; + cellUnderlineFullWidth: boolean; closeSiblings: boolean; displayAppendIcon: import("../types").VIconValue; displayAppendIconColor: string; @@ -7202,6 +7564,7 @@ declare const _default: { displayPrependInnerIconSize: string | number; emptyText: string; fieldOnly: boolean; + hideCancelIcon: boolean; hideSaveIcon: boolean; loadingIcon: string; loadingIconColor: string; diff --git a/dist/plugin/utils/props.d.ts b/dist/plugin/utils/props.d.ts index 600b971..7c0c6ba 100644 --- a/dist/plugin/utils/props.d.ts +++ b/dist/plugin/utils/props.d.ts @@ -13,6 +13,8 @@ export declare const sharedProps: { cardOffsetX: number; cardOffsetY: number; cardProps: () => {}; + cell: boolean; + cellUnderlineFullWidth: boolean; closeSiblings: boolean; color: string; density: "compact"; @@ -31,6 +33,7 @@ export declare const sharedProps: { displayPrependInnerIconSize: string; emptyText: string; fieldOnly: boolean; + hideCancelIcon: boolean; hideDetails: boolean; label: string; loading: boolean; @@ -47,6 +50,7 @@ declare const checkboxProps: { falseIcon: undefined; icons: boolean; trueIcon: undefined; + hideCancelIcon: boolean; hideSaveIcon: boolean; loadingIcon: undefined; loadingIconColor: string; @@ -74,6 +78,8 @@ declare const checkboxProps: { cardOffsetX: number; cardOffsetY: number; cardProps: () => {}; + cell: boolean; + cellUnderlineFullWidth: boolean; closeSiblings: boolean; color: string; density: "compact"; @@ -113,6 +119,7 @@ declare const selectProps: { items: () => never[]; menu: boolean; variant: "underlined"; + hideCancelIcon: boolean; hideSaveIcon: boolean; loadingIcon: undefined; loadingIconColor: string; @@ -133,6 +140,8 @@ declare const selectProps: { cardOffsetX: number; cardOffsetY: number; cardProps: () => {}; + cell: boolean; + cellUnderlineFullWidth: boolean; closeSiblings: boolean; color: string; density: "compact"; @@ -184,6 +193,8 @@ declare const switchProps: { cardOffsetX: number; cardOffsetY: number; cardProps: () => {}; + cell: boolean; + cellUnderlineFullWidth: boolean; closeSiblings: boolean; color: string; density: "compact"; @@ -202,6 +213,7 @@ declare const switchProps: { displayPrependInnerIconSize: string; emptyText: string; fieldOnly: boolean; + hideCancelIcon: boolean; hideDetails: boolean; label: string; loading: boolean; @@ -230,6 +242,8 @@ declare const textareaProps: { cardOffsetX: number; cardOffsetY: number; cardProps: () => {}; + cell: boolean; + cellUnderlineFullWidth: boolean; closeSiblings: boolean; color: string; density: "compact"; @@ -248,6 +262,7 @@ declare const textareaProps: { displayPrependInnerIconSize: string; emptyText: string; fieldOnly: boolean; + hideCancelIcon: boolean; hideDetails: boolean; label: string; loading: boolean; @@ -274,6 +289,7 @@ declare const textFieldProps: { truncateLength: undefined; truncateSuffix: string; variant: "underlined"; + hideCancelIcon: boolean; hideSaveIcon: boolean; loadingIcon: undefined; loadingIconColor: string; @@ -294,6 +310,8 @@ declare const textFieldProps: { cardOffsetX: number; cardOffsetY: number; cardProps: () => {}; + cell: boolean; + cellUnderlineFullWidth: boolean; closeSiblings: boolean; color: string; density: "compact"; diff --git a/dist/scss/main.scss b/dist/scss/main.scss index e632dee..fd6461a 100644 --- a/dist/scss/main.scss +++ b/dist/scss/main.scss @@ -29,6 +29,41 @@ align-items: center; display: flex; } + + // ------------------------ Clickable Cell Displayed Value // + &-cell { + cursor: pointer; + display: block; + max-height: unset !important; + + > div { + width: 100%; + } + + &-underline-full-width { + .v-inline-fields { + &--display-value { + width: 100%; + } + } + } + + .v-inline-fields { + &--selection-control { + .v-inline-fields--display-value { + justify-content: center; + } + } + } + + &, + .v-input, + .v-inline-fields--display-wrapper, + .v-selection-control__wrapper { + height: 100% !important; + width: 100%; + } + } } // ------------------------ Displayed Value // @@ -64,6 +99,11 @@ } &--container { + &-cell { + height: 100%; + width: 100%; + } + // ------------------------------------------------ Disabled // &-disabled { .v-inline-fields--display-value { diff --git a/dist/types/index.d.ts b/dist/types/index.d.ts index 6de6a02..0254ba2 100644 --- a/dist/types/index.d.ts +++ b/dist/types/index.d.ts @@ -30,6 +30,8 @@ export interface SharedProps { cardOffsetX?: number; cardOffsetY?: number; cardProps?: (typeof VCard)['$props']; + cell?: boolean | true | undefined; + cellUnderlineFullWidth?: boolean; closeSiblings?: boolean; color?: string; disabled?: boolean; @@ -49,6 +51,7 @@ export interface SharedProps { error?: boolean; falseValue?: boolean | string | undefined; fieldOnly?: boolean; + hideCancelIcon?: boolean; hideDetails?: boolean; hideSaveIcon?: boolean; iconFalse?: string | undefined; @@ -82,6 +85,18 @@ export interface SharedProps { underlined?: boolean; valueColor?: string; } +export interface VInlineAutocompleteProps extends Omit { + clearIcon?: string | undefined; + clearable?: VSelect['$props']['clearable']; + density?: VSelect['$props']['density']; + hideSelected?: VSelect['$props']['hideSelected']; + itemTitle?: VSelect['$props']['itemTitle']; + itemValue?: VSelect['$props']['itemValue']; + items?: VSelect['$props']['items']; + menu?: VSelect['$props']['menu']; + rules?: VSelect['$props']['rules']; + variant?: VSelect['$props']['variant']; +} export interface VInlineCheckboxProps extends Omit { density?: VCheckbox['$props']['density']; falseIcon?: string | undefined; @@ -149,7 +164,7 @@ export interface DisplayValueProps { underlineWidth?: SharedProps['underlineWidth']; underlined?: SharedProps['underlined']; } -export interface SaveFieldButtons extends Required>, Pick { +export interface SaveFieldButtons extends Required>, Pick { loading: boolean; } export interface UseCancelButtonClass { @@ -159,6 +174,7 @@ export interface UseCancelButtonClass { } export interface UseInlineFieldsContainerClass { (options: { + cell?: SharedProps['cell']; density?: GlobalDensity; disabled?: Ref | boolean; field?: Ref | string; @@ -171,6 +187,8 @@ export interface UseInlineFieldsContainerClass { } export interface UseDisplayContainerClass { (options: { + cell?: SharedProps['cell']; + cellUnderlineFullWidth?: SharedProps['cellUnderlineFullWidth']; density?: GlobalDensity; field?: Ref | string; }): object; diff --git a/dist/vuetify-inline-fields.cjs.js b/dist/vuetify-inline-fields.cjs.js index b6a3f4e..cb50009 100644 --- a/dist/vuetify-inline-fields.cjs.js +++ b/dist/vuetify-inline-fields.cjs.js @@ -1,12 +1,12 @@ "use strict";var oa=Object.create;var Yt=Object.defineProperty;var la=Object.getOwnPropertyDescriptor;var aa=Object.getOwnPropertyNames;var ra=Object.getPrototypeOf,ia=Object.prototype.hasOwnProperty;var sa=(n,o,t,l)=>{if(o&&typeof o=="object"||typeof o=="function")for(let r of aa(o))!ia.call(n,r)&&r!==t&&Yt(n,r,{get:()=>o[r],enumerable:!(l=la(o,r))||l.enumerable});return n};var Te=(n,o,t)=>(t=n!=null?oa(ra(n)):{},sa(o||!n||!n.__esModule?Yt(t,"default",{value:n,enumerable:!0}):t,n));/** * @name @wdns/vuetify-inline-fields - * @version 1.0.0-beta-2 + * @version 1.0.0 * @description Vuetify Inline Fields Component Library offers a comprehensive collection of reusable UI components to create elegant and efficient inline form fields within your applications. * @author WebDevNerdStuff & Bunnies... lots and lots of bunnies! (https://webdevnerdstuff.com) * @copyright Copyright 2023, WebDevNerdStuff * @homepage https://webdevnerdstuff.github.io/vuetify-inline-fields/ * @repository https://github.com/webdevnerdstuff/vuetify-inline-fields * @license MIT License - */Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),Ft=require("vuetify"),ua=require("@vueuse/core"),Le=Symbol("identifier"),Me={elevation:5,variant:"flat"},yn={cancelButtonColor:"default",cancelButtonSize:"x-small",cancelButtonTitle:"Cancel",cancelButtonVariant:"text",cancelIcon:void 0,cancelIconColor:"default",cardField:!1,cardOffsetX:0,cardOffsetY:0,cardProps:()=>({}),closeSiblings:!1,color:"primary",density:"compact",disabled:!1,displayAppendIcon:void 0,displayAppendIconColor:void 0,displayAppendIconSize:"x-small",displayAppendInnerIcon:void 0,displayAppendInnerIconColor:void 0,displayAppendInnerIconSize:"x-small",displayPrependIcon:void 0,displayPrependIconColor:void 0,displayPrependIconSize:"x-small",displayPrependInnerIcon:void 0,displayPrependInnerIconColor:void 0,displayPrependInnerIconSize:"x-small",emptyText:"empty",fieldOnly:!1,hideDetails:!0,label:"",loading:!1,loadingWait:!0,name:"",tableField:!0,underlineColor:"primary",underlineStyle:"dotted",underlineWidth:"2px",underlined:!0,valueColor:"default"},Nt={autofocus:!0},Zn={hideSaveIcon:!1,loadingIcon:void 0,loadingIconColor:"primary",saveButtonColor:"primary",saveButtonSize:"x-small",saveButtonTitle:"Save",saveButtonVariant:"text",saveIcon:void 0,saveIconColor:"primary"},Mo={falseValue:!1,iconFalse:void 0,iconFalseColor:"danger",iconFalseTitle:"No",iconTrue:void 0,iconTrueColor:"success",iconTrueTitle:"Yes",icons:!0,trueValue:!0},ca={...yn,...Mo,...Zn,falseIcon:void 0,icons:!0,trueIcon:void 0},da={...yn,...Nt,...Zn,clearIcon:void 0,clearable:!1,hideSelected:!0,itemTitle:"title",itemValue:"value",items:()=>[],menu:!0,variant:"underlined"},pa={...yn,...Mo,icons:!0,falseIcon:""},va={...Nt,...Zn,...yn,autoGrow:!0,rows:1,truncateLength:void 0,truncateSuffix:"...",variant:"underlined"},Wo={...yn,...Nt,...Zn,truncateLength:void 0,truncateSuffix:"...",variant:"underlined"},fa={fa:{checkboxFalse:"$checkboxOff",checkboxTrue:"far fa-square-check",clear:"$clear",false:"$close",loading:"fa-circle-notch",save:"fa-floppy-disk",true:"$complete"},mdi:{checkboxFalse:"$checkboxOff",checkboxTrue:"mdi:mdi-checkbox-outline",clear:"$clear",false:"$close",loading:"mdi-loading",save:"mdi-content-save",true:"$complete"}},ve=n=>{const{icon:o,iconOptions:t,name:l}=n;if(o)return o;const r=fa[t==null?void 0:t.defaultSet];if(!r)throw new Error(`VInlineFields: No VInlineFields default ${t==null?void 0:t.defaultSet} icon set found for ${l}. Please set the icon prop.`);const i=r[l];if(!i)throw new Error(`VInlineFields: No ${l} icon found. Please set the icon prop, or set the default icon set to 'mdi' or 'fa'`);return i};function q(n,o){return t=>Object.keys(n).reduce((l,r)=>{const i=typeof n[r]=="object"&&n[r]!=null&&!Array.isArray(n[r])?n[r]:{type:n[r]};return l[r]=t&&r in t?{...i,default:t[r]}:i,o&&!l[r].source&&(l[r].source=o),l},{})}const Z=q({class:[String,Array],style:{type:[String,Array,Object],default:null}},"component"),ue=typeof window<"u",At=ue&&"IntersectionObserver"in window;function Xt(n,o,t){const l=o.length-1;if(l<0)return n===void 0?t:n;for(let r=0;rgn(n[l],o[l]))}function be(n,o,t){if(o===!0)return n===void 0?t:n;if(o==null||typeof o=="boolean")return t;if(n!==Object(n)){if(typeof o!="function")return t;const r=o(n,t);return r===void 0?t:r}if(typeof o=="string")return function(r,i,c){return r!=null&&i&&typeof i=="string"?r[i]!==void 0?r[i]:Xt(r,(i=(i=i.replace(/\[(\w+)\]/g,".$1")).replace(/^\./,"")).split("."),c):c}(n,o,t);if(Array.isArray(o))return Xt(n,o,t);if(typeof o!="function")return t;const l=o(n,t);return l===void 0?t:l}function Y(n){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"px";return n==null||n===""?void 0:isNaN(+n)?String(n):isFinite(+n)?`${Number(n)}${o}`:void 0}function pt(n){return n!==null&&typeof n=="object"&&!Array.isArray(n)}function $n(n){if(n&&"$el"in n){const o=n.$el;return(o==null?void 0:o.nodeType)===Node.TEXT_NODE?o.nextElementSibling:o}return n}const Kt=Object.freeze({enter:13,tab:9,delete:46,esc:27,space:32,up:38,down:40,left:37,right:39,end:35,home:36,del:46,backspace:8,insert:45,pageup:33,pagedown:34,shift:16});function ot(n,o){return o.every(t=>n.hasOwnProperty(t))}function jo(n,o){const t={},l=new Set(Object.keys(n));for(const r of o)l.has(r)&&(t[r]=n[r]);return t}function Jt(n,o,t){const l=Object.create(null),r=Object.create(null);for(const i in n)o.some(c=>c instanceof RegExp?c.test(i):c===i)&&!(t!=null&&t.some(c=>c===i))?l[i]=n[i]:r[i]=n[i];return[l,r]}function Oe(n,o){const t={...n};return o.forEach(l=>delete t[l]),t}const Go=/^on[^a-z]/,vt=n=>Go.test(n),ma=["onAfterscriptexecute","onAnimationcancel","onAnimationend","onAnimationiteration","onAnimationstart","onAuxclick","onBeforeinput","onBeforescriptexecute","onChange","onClick","onCompositionend","onCompositionstart","onCompositionupdate","onContextmenu","onCopy","onCut","onDblclick","onFocusin","onFocusout","onFullscreenchange","onFullscreenerror","onGesturechange","onGestureend","onGesturestart","onGotpointercapture","onInput","onKeydown","onKeypress","onKeyup","onLostpointercapture","onMousedown","onMousemove","onMouseout","onMouseover","onMouseup","onMousewheel","onPaste","onPointercancel","onPointerdown","onPointerenter","onPointerleave","onPointermove","onPointerout","onPointerover","onPointerup","onReset","onSelect","onSubmit","onTouchcancel","onTouchend","onTouchmove","onTouchstart","onTransitioncancel","onTransitionend","onTransitionrun","onTransitionstart","onWheel"];function hn(n){const[o,t]=Jt(n,[Go]),l=Oe(o,ma),[r,i]=Jt(t,["class","style","id",/^data-/]);return Object.assign(r,o),Object.assign(i,l),[r,i]}function Be(n){return n==null?[]:Array.isArray(n)?n:[n]}function We(n){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1;return Math.max(o,Math.min(t,n))}function Zt(n,o){return n+(arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0").repeat(Math.max(0,o-n.length))}function Re(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},t=arguments.length>2?arguments[2]:void 0;const l={};for(const r in n)l[r]=n[r];for(const r in o){const i=n[r],c=o[r];pt(i)&&pt(c)?l[r]=Re(i,c,t):Array.isArray(i)&&Array.isArray(c)&&t?l[r]=t(i,c):l[r]=c}return l}function qo(n){return n.map(o=>o.type===e.Fragment?qo(o.children):o).flat()}function Fe(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";if(Fe.cache.has(n))return Fe.cache.get(n);const o=n.replace(/[^a-z]/gi,"-").replace(/\B([A-Z])/g,"-$1").toLowerCase();return Fe.cache.set(n,o),o}function En(n,o){if(!o||typeof o!="object")return[];if(Array.isArray(o))return o.map(t=>En(n,t)).flat(1);if(Array.isArray(o.children))return o.children.map(t=>En(n,t)).flat(1);if(o.component){if(Object.getOwnPropertySymbols(o.component.provides).includes(n))return[o.component];if(o.component.subTree)return En(n,o.component.subTree).flat(1)}return[]}function Pt(n){const o=e.reactive({}),t=e.computed(n);return e.watchEffect(()=>{for(const l in t.value)o[l]=t.value[l]},{flush:"sync"}),e.toRefs(o)}function Rn(n,o){return n.includes(o)}function Qt(n){return n[2].toLowerCase()+n.slice(3)}Fe.cache=new Map;const ye=()=>[Function,Array];function eo(n,o){return!!(n[o="on"+e.capitalize(o)]||n[`${o}Once`]||n[`${o}Capture`]||n[`${o}OnceCapture`]||n[`${o}CaptureOnce`])}function Ho(n){for(var o=arguments.length,t=new Array(o>1?o-1:0),l=1;l1&&arguments[1]!==void 0)||arguments[1];const t=["button","[href]",'input:not([type="hidden"])',"select","textarea","[tabindex]"].map(l=>`${l}${o?':not([tabindex="-1"])':""}:not([disabled])`).join(", ");return[...n.querySelectorAll(t)]}function Uo(n,o,t){let l,r=n.indexOf(document.activeElement);const i=o==="next"?1:-1;do r+=i,l=n[r];while((!l||l.offsetParent==null||!((t==null?void 0:t(l))??1))&&r=0);return l}function Dn(n,o){var l,r,i,c;const t=ft(n);if(o)if(o==="first")(l=t[0])==null||l.focus();else if(o==="last")(r=t.at(-1))==null||r.focus();else if(typeof o=="number")(i=t[o])==null||i.focus();else{const s=Uo(t,o);s?s.focus():Dn(n,o==="next"?"first":"last")}else n!==document.activeElement&&n.contains(document.activeElement)||((c=t[0])==null||c.focus())}function Ln(n,o){if(!(ue&&typeof CSS<"u"&&CSS.supports!==void 0&&CSS.supports(`selector(${o})`)))return null;try{return!!n&&n.matches(o)}catch{return null}}function Yo(n){return n.some(o=>!e.isVNode(o)||o.type!==e.Comment&&(o.type!==e.Fragment||Yo(o.children)))?n:null}const Xo=["top","bottom"],ya=["start","end","left","right"];function mt(n,o){let[t,l]=n.split(" ");return l||(l=Rn(Xo,t)?"start":Rn(ya,t)?"top":"center"),{side:no(t,o),align:no(l,o)}}function no(n,o){return n==="start"?o?"right":"left":n==="end"?o?"left":"right":n}function lt(n){return{side:{center:"center",top:"bottom",bottom:"top",left:"right",right:"left"}[n.side],align:n.align}}function at(n){return{side:n.side,align:{center:"center",top:"bottom",bottom:"top",left:"right",right:"left"}[n.align]}}function to(n){return{side:n.align,align:n.side}}function oo(n){return Rn(Xo,n.side)?"y":"x"}class Ne{constructor(o){let{x:t,y:l,width:r,height:i}=o;this.x=t,this.y=l,this.width=r,this.height=i}get top(){return this.y}get bottom(){return this.y+this.height}get left(){return this.x}get right(){return this.x+this.width}}function lo(n,o){return{x:{before:Math.max(0,o.left-n.left),after:Math.max(0,n.right-o.right)},y:{before:Math.max(0,o.top-n.top),after:Math.max(0,n.bottom-o.bottom)}}}function Ko(n){return Array.isArray(n)?new Ne({x:n[0],y:n[1],width:0,height:0}):n.getBoundingClientRect()}function _t(n){const o=n.getBoundingClientRect(),t=getComputedStyle(n),l=t.transform;if(l){let r,i,c,s,a;if(l.startsWith("matrix3d("))r=l.slice(9,-1).split(/, /),i=+r[0],c=+r[5],s=+r[12],a=+r[13];else{if(!l.startsWith("matrix("))return new Ne(o);r=l.slice(7,-1).split(/, /),i=+r[0],c=+r[3],s=+r[4],a=+r[5]}const u=t.transformOrigin,f=o.x-s-(1-i)*parseFloat(u),v=o.y-a-(1-c)*parseFloat(u.slice(u.indexOf(" ")+1)),p=i?o.width/i:n.offsetWidth+1,d=c?o.height/c:n.offsetHeight+1;return new Ne({x:f,y:v,width:p,height:d})}return new Ne(o)}function De(n,o,t){if(n.animate===void 0)return{finished:Promise.resolve()};let l;try{l=n.animate(o,t)}catch{return{finished:Promise.resolve()}}return l.finished===void 0&&(l.finished=new Promise(r=>{l.onfinish=()=>{r(l)}})),l}const An=new WeakMap,$e=2.4,ao=.2126729,ro=.7151522,io=.072175,ga=.55,ha=.58,ba=.57,Ca=.62,Pn=.03,so=1.45,Sa=5e-4,Va=1.25,Ia=1.25,uo=.078,co=12.82051282051282,_n=.06,po=.001;function vo(n,o){const t=(n.r/255)**$e,l=(n.g/255)**$e,r=(n.b/255)**$e,i=(o.r/255)**$e,c=(o.g/255)**$e,s=(o.b/255)**$e;let a,u=t*ao+l*ro+r*io,f=i*ao+c*ro+s*io;if(u<=Pn&&(u+=(Pn-u)**so),f<=Pn&&(f+=(Pn-f)**so),Math.abs(f-u)u){const v=(f**ga-u**ha)*Va;a=v-po?0:v>-uo?v-v*co*_n:v+_n}return 100*a}function sn(n){e.warn(`Vuetify: ${n}`)}function rt(n){return!!n&&/^(#|var\(--|(rgb|hsl)a?\()/.test(n)}const fo=/^(?(?:rgb|hsl)a?)\((?.+)\)/,wa={rgb:(n,o,t,l)=>({r:n,g:o,b:t,a:l}),rgba:(n,o,t,l)=>({r:n,g:o,b:t,a:l}),hsl:(n,o,t,l)=>mo({h:n,s:o,l:t,a:l}),hsla:(n,o,t,l)=>mo({h:n,s:o,l:t,a:l}),hsv:(n,o,t,l)=>cn({h:n,s:o,v:t,a:l}),hsva:(n,o,t,l)=>cn({h:n,s:o,v:t,a:l})};function ln(n){if(typeof n=="number")return(isNaN(n)||n<0||n>16777215)&&sn(`'${n}' is not a valid hex color`),{r:(16711680&n)>>16,g:(65280&n)>>8,b:255&n};if(typeof n=="string"&&fo.test(n)){const{groups:o}=n.match(fo),{fn:t,values:l}=o,r=l.split(/,\s*/).map(i=>i.endsWith("%")&&["hsl","hsla","hsv","hsva"].includes(t)?parseFloat(i)/100:parseFloat(i));return wa[t](...r)}if(typeof n=="string"){let o=n.startsWith("#")?n.slice(1):n;[3,4].includes(o.length)?o=o.split("").map(l=>l+l).join(""):[6,8].includes(o.length)||sn(`'${n}' is not a valid hex(a) color`);const t=parseInt(o,16);return(isNaN(t)||t<0||t>4294967295)&&sn(`'${n}' is not a valid hex(a) color`),function(l){l=function(a){return a.startsWith("#")&&(a=a.slice(1)),a=a.replace(/([^0-9a-f])/gi,"F"),(a.length===3||a.length===4)&&(a=a.split("").map(u=>u+u).join("")),a.length!==6&&(a=Zt(Zt(a,6),8,"F")),a}(l);let[r,i,c,s]=function(a){let u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;const f=[];let v=0;for(;vparseInt(a,16));return s=s===void 0?s:s/255,{r,g:i,b:c,a:s}}(o)}if(typeof n=="object"){if(ot(n,["r","g","b"]))return n;if(ot(n,["h","s","l"]))return cn(Jo(n));if(ot(n,["h","s","v"]))return cn(n)}throw new TypeError(`Invalid color: ${n==null?n:String(n)||n.constructor.name} -Expected #hex, #hexa, rgb(), rgba(), hsl(), hsla(), object or number`)}function cn(n){const{h:o,s:t,v:l,a:r}=n,i=s=>{const a=(s+o/60)%6;return l-l*t*Math.max(Math.min(a,4-a,1),0)},c=[i(5),i(3),i(1)].map(s=>Math.round(255*s));return{r:c[0],g:c[1],b:c[2],a:r}}function mo(n){return cn(Jo(n))}function Jo(n){const{h:o,s:t,l,a:r}=n,i=l+t*Math.min(l,1-l);return{h:o,s:i===0?0:2-2*l/i,v:i,a:r}}const Mn=Symbol.for("vuetify:defaults");function Ot(){const n=e.inject(Mn);if(!n)throw new Error("[Vuetify] Could not find defaults instance");return n}function Ze(n,o){const t=Ot(),l=e.ref(n),r=e.computed(()=>{if(e.unref(o==null?void 0:o.disabled))return t.value;const i=e.unref(o==null?void 0:o.scoped),c=e.unref(o==null?void 0:o.reset),s=e.unref(o==null?void 0:o.root);if(l.value==null&&!(i||c||s))return t.value;let a=Re(l.value,{prev:t.value});if(i)return a;if(c||s){const u=Number(c||1/0);for(let f=0;f<=u&&a&&"prev"in a;f++)a=a.prev;return a&&typeof s=="string"&&s in a&&(a=Re(Re(a,{prev:a}),a[s])),a}return a.prev?Re(a.prev,a):a});return e.provide(Mn,r),r}function Ba(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=arguments.length>1?arguments[1]:void 0,t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Ot();const l=ae("useDefaults");if(o=o??l.type.name??l.type.__name,!o)throw new Error("[Vuetify] Could not determine component name");const r=e.computed(()=>{var s;return(s=t.value)==null?void 0:s[n._as??o]}),i=new Proxy(n,{get(s,a){var f,v,p,d;const u=Reflect.get(s,a);return a==="class"||a==="style"?[(f=r.value)==null?void 0:f[a],u].filter(m=>m!=null):typeof a!="string"||function(m,y){var g,b;return((g=m.props)==null?void 0:g[y])!==void 0||((b=m.props)==null?void 0:b[Fe(y)])!==void 0}(l.vnode,a)?u:((v=r.value)==null?void 0:v[a])??((d=(p=t.value)==null?void 0:p.global)==null?void 0:d[a])??u}}),c=e.shallowRef();return e.watchEffect(()=>{if(r.value){const s=Object.entries(r.value).filter(a=>{let[u]=a;return u.startsWith(u[0].toUpperCase())});c.value=s.length?Object.fromEntries(s):void 0}else c.value=void 0}),{props:i,provideSubDefaults:function(){const s=function(a){let u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ae("injectSelf");const{provides:f}=u;if(f&&a in f)return f[a]}(Mn,l);e.provide(Mn,e.computed(()=>c.value?Re((s==null?void 0:s.value)??{},c.value):s==null?void 0:s.value))}}}function dn(n){if(n._setup=n._setup??n.setup,!n.name)return sn("The component is missing an explicit name, unable to generate default prop value"),n;if(n._setup){n.props=q(n.props??{},n.name)();const o=Object.keys(n.props).filter(t=>t!=="class"&&t!=="style");n.filterProps=function(t){return jo(t,o)},n.props._as=String,n.setup=function(t,l){const r=Ot();if(!r.value)return n._setup(t,l);const{props:i,provideSubDefaults:c}=Ba(t,t._as??n.name,r),s=n._setup(i,l);return c(),s}}return n}function U(){let n=!(arguments.length>0&&arguments[0]!==void 0)||arguments[0];return o=>(n?dn:e.defineComponent)(o)}function bn(n){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"div",t=arguments.length>2?arguments[2]:void 0;return U()({name:t??e.capitalize(e.camelize(n.replace(/__/g,"-"))),props:{tag:{type:String,default:o},...Z()},setup(l,r){let{slots:i}=r;return()=>{var c;return e.h(l.tag,{class:[n,l.class],style:l.style},(c=i.default)==null?void 0:c.call(i))}}})}function Zo(n){if(typeof n.getRootNode!="function"){for(;n.parentNode;)n=n.parentNode;return n!==document?null:document}const o=n.getRootNode();return o!==document&&o.getRootNode({composed:!0})!==document?null:o}const Wn="cubic-bezier(0.4, 0, 0.2, 1)";function ae(n,o){const t=e.getCurrentInstance();if(!t)throw new Error(`[Vuetify] ${n} ${o||"must be called from inside a setup function"}`);return t}function ge(){const n=ae(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"composables").type;return Fe((n==null?void 0:n.aliasName)||(n==null?void 0:n.name))}let Qo=0,zn=new WeakMap;function fe(){const n=ae("getUid");if(zn.has(n))return zn.get(n);{const o=Qo++;return zn.set(n,o),o}}function el(n){let o=arguments.length>1&&arguments[1]!==void 0&&arguments[1];for(;n;){if(o?ka(n):Et(n))return n;n=n.parentElement}return document.scrollingElement}function jn(n,o){const t=[];if(o&&n&&!o.contains(n))return t;for(;n&&(Et(n)&&t.push(n),n!==o);)n=n.parentElement;return t}function Et(n){if(!n||n.nodeType!==Node.ELEMENT_NODE)return!1;const o=window.getComputedStyle(n);return o.overflowY==="scroll"||o.overflowY==="auto"&&n.scrollHeight>n.clientHeight}function ka(n){if(!n||n.nodeType!==Node.ELEMENT_NODE)return!1;const o=window.getComputedStyle(n);return["scroll","auto"].includes(o.overflowY)}function K(n){ae("useRender").render=n}function zt(n){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"content";const t=e.ref(),l=e.ref();if(ue){const r=new ResizeObserver(i=>{n==null||n(i,r),i.length&&(l.value=o==="content"?i[0].contentRect:i[0].target.getBoundingClientRect())});e.onBeforeUnmount(()=>{r.disconnect()}),e.watch(t,(i,c)=>{c&&(r.unobserve($n(c)),l.value=void 0),i&&r.observe($n(i))},{flush:"post"})}return{resizeRef:t,contentRect:e.readonly(l)}}function Ae(n,o){let t;function l(){t=e.effectScope(),t.run(()=>o.length?o(()=>{t==null||t.stop(),l()}):o())}e.watch(n,r=>{r&&!t?l():r||(t==null||t.stop(),t=void 0)},{immediate:!0}),e.onScopeDispose(()=>{t==null||t.stop()})}function ne(n,o,t){let l=arguments.length>3&&arguments[3]!==void 0?arguments[3]:f=>f,r=arguments.length>4&&arguments[4]!==void 0?arguments[4]:f=>f;const i=ae("useProxiedModel"),c=e.ref(n[o]!==void 0?n[o]:t),s=Fe(o),a=s!==o?e.computed(()=>{var f,v,p,d;return n[o],!(!((f=i.vnode.props)!=null&&f.hasOwnProperty(o))&&!((v=i.vnode.props)!=null&&v.hasOwnProperty(s))||!((p=i.vnode.props)!=null&&p.hasOwnProperty(`onUpdate:${o}`))&&!((d=i.vnode.props)!=null&&d.hasOwnProperty(`onUpdate:${s}`)))}):e.computed(()=>{var f,v;return n[o],!(!((f=i.vnode.props)!=null&&f.hasOwnProperty(o))||!((v=i.vnode.props)!=null&&v.hasOwnProperty(`onUpdate:${o}`)))});Ae(()=>!a.value,()=>{e.watch(()=>n[o],f=>{c.value=f})});const u=e.computed({get(){const f=n[o];return l(a.value?f:c.value)},set(f){const v=r(f),p=e.toRaw(a.value?n[o]:c.value);p!==v&&l(p)!==f&&(c.value=v,i==null||i.emit(`update:${o}`,v))}});return Object.defineProperty(u,"externalValue",{get:()=>a.value?n[o]:c.value}),u}fe.reset=()=>{Qo=0,zn=new WeakMap};const nl=Symbol.for("vuetify:locale");function Tt(){const n=e.inject(nl);if(!n)throw new Error("[Vuetify] Could not find injected locale instance");return n}function Cn(){const n=e.inject(nl);if(!n)throw new Error("[Vuetify] Could not find injected rtl instance");return{isRtl:n.isRtl,rtlClasses:n.rtlClasses}}const yo=Symbol.for("vuetify:theme"),oe=q({theme:String},"theme");function ie(n){ae("provideTheme");const o=e.inject(yo,null);if(!o)throw new Error("Could not find Vuetify theme injection");const t=e.computed(()=>n.theme??o.name.value),l=e.computed(()=>o.themes.value[t.value]),r=e.computed(()=>o.isDisabled?void 0:`v-theme--${t.value}`),i={...o,name:t,current:l,themeClasses:r};return e.provide(yo,i),i}const pe=q({tag:{type:String,default:"div"}},"tag"),xa=q({disabled:Boolean,group:Boolean,hideOnLeave:Boolean,leaveAbsolute:Boolean,mode:String,origin:String},"transition");function ce(n,o,t){return U()({name:n,props:xa({mode:t,origin:o}),setup(l,r){let{slots:i}=r;const c={onBeforeEnter(s){l.origin&&(s.style.transformOrigin=l.origin)},onLeave(s){if(l.leaveAbsolute){const{offsetTop:a,offsetLeft:u,offsetWidth:f,offsetHeight:v}=s;s._transitionInitialStyles={position:s.style.position,top:s.style.top,left:s.style.left,width:s.style.width,height:s.style.height},s.style.position="absolute",s.style.top=`${a}px`,s.style.left=`${u}px`,s.style.width=`${f}px`,s.style.height=`${v}px`}l.hideOnLeave&&s.style.setProperty("display","none","important")},onAfterLeave(s){if(l.leaveAbsolute&&(s!=null&&s._transitionInitialStyles)){const{position:a,top:u,left:f,width:v,height:p}=s._transitionInitialStyles;delete s._transitionInitialStyles,s.style.position=a||"",s.style.top=u||"",s.style.left=f||"",s.style.width=v||"",s.style.height=p||""}}};return()=>{const s=l.group?e.TransitionGroup:e.Transition;return e.h(s,{name:l.disabled?"":n,css:!l.disabled,...l.group?void 0:{mode:l.mode},...l.disabled?{}:c},i.default)}}})}function tl(n,o){let t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"in-out";return U()({name:n,props:{mode:{type:String,default:t},disabled:Boolean},setup(l,r){let{slots:i}=r;return()=>e.h(e.Transition,{name:l.disabled?"":n,css:!l.disabled,...l.disabled?{}:o},i.default)}})}function ol(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";const o=arguments.length>1&&arguments[1]!==void 0&&arguments[1]?"width":"height",t=e.camelize(`offset-${o}`);return{onBeforeEnter(i){i._parent=i.parentNode,i._initialStyle={transition:i.style.transition,overflow:i.style.overflow,[o]:i.style[o]}},onEnter(i){const c=i._initialStyle;i.style.setProperty("transition","none","important"),i.style.overflow="hidden";const s=`${i[t]}px`;i.style[o]="0",i.offsetHeight,i.style.transition=c.transition,n&&i._parent&&i._parent.classList.add(n),requestAnimationFrame(()=>{i.style[o]=s})},onAfterEnter:r,onEnterCancelled:r,onLeave(i){i._initialStyle={transition:"",overflow:i.style.overflow,[o]:i.style[o]},i.style.overflow="hidden",i.style[o]=`${i[t]}px`,i.offsetHeight,requestAnimationFrame(()=>i.style[o]="0")},onAfterLeave:l,onLeaveCancelled:l};function l(i){n&&i._parent&&i._parent.classList.remove(n),r(i)}function r(i){const c=i._initialStyle[o];i.style.overflow=i._initialStyle.overflow,c!=null&&(i.style[o]=c),delete i._initialStyle}}const Fa=q({target:[Object,Array]},"v-dialog-transition"),ll=U()({name:"VDialogTransition",props:Fa(),setup(n,o){let{slots:t}=o;const l={onBeforeEnter(r){r.style.pointerEvents="none",r.style.visibility="hidden"},async onEnter(r,i){var p;await new Promise(d=>requestAnimationFrame(d)),await new Promise(d=>requestAnimationFrame(d)),r.style.visibility="";const{x:c,y:s,sx:a,sy:u,speed:f}=ho(n.target,r),v=De(r,[{transform:`translate(${c}px, ${s}px) scale(${a}, ${u})`,opacity:0},{}],{duration:225*f,easing:"cubic-bezier(0.0, 0, 0.2, 1)"});(p=go(r))==null||p.forEach(d=>{De(d,[{opacity:0},{opacity:0,offset:.33},{}],{duration:450*f,easing:Wn})}),v.finished.then(()=>i())},onAfterEnter(r){r.style.removeProperty("pointer-events")},onBeforeLeave(r){r.style.pointerEvents="none"},async onLeave(r,i){var v;await new Promise(p=>requestAnimationFrame(p));const{x:c,y:s,sx:a,sy:u,speed:f}=ho(n.target,r);De(r,[{},{transform:`translate(${c}px, ${s}px) scale(${a}, ${u})`,opacity:0}],{duration:125*f,easing:"cubic-bezier(0.4, 0, 1, 1)"}).finished.then(()=>i()),(v=go(r))==null||v.forEach(p=>{De(p,[{},{opacity:0,offset:.2},{opacity:0}],{duration:250*f,easing:Wn})})},onAfterLeave(r){r.style.removeProperty("pointer-events")}};return()=>n.target?e.createVNode(e.Transition,e.mergeProps({name:"dialog-transition"},l,{css:!1}),t):e.createVNode(e.Transition,{name:"dialog-transition"},t)}});function go(n){var t;const o=(t=n.querySelector(":scope > .v-card, :scope > .v-sheet, :scope > .v-list"))==null?void 0:t.children;return o&&[...o]}function ho(n,o){const t=Ko(n),l=_t(o),[r,i]=getComputedStyle(o).transformOrigin.split(" ").map(b=>parseFloat(b)),[c,s]=getComputedStyle(o).getPropertyValue("--v-overlay-anchor-origin").split(" ");let a=t.left+t.width/2;c==="left"||s==="left"?a-=t.width/2:c!=="right"&&s!=="right"||(a+=t.width/2);let u=t.top+t.height/2;c==="top"||s==="top"?u-=t.height/2:c!=="bottom"&&s!=="bottom"||(u+=t.height/2);const f=t.width/l.width,v=t.height/l.height,p=Math.max(1,f,v),d=f/p||0,m=v/p||0,y=l.width*l.height/(window.innerWidth*window.innerHeight),g=y>.12?Math.min(1.5,10*(y-.12)+1):1;return{x:a-(r+l.left),y:u-(i+l.top),sx:d,sy:m,speed:g}}ce("fab-transition","center center","out-in"),ce("dialog-bottom-transition"),ce("dialog-top-transition"),ce("fade-transition");const Na=ce("scale-transition");ce("scroll-x-transition"),ce("scroll-x-reverse-transition"),ce("scroll-y-transition"),ce("scroll-y-reverse-transition"),ce("slide-x-transition"),ce("slide-x-reverse-transition");const al=ce("slide-y-transition");ce("slide-y-reverse-transition");const Aa=tl("expand-transition",ol()),rl=tl("expand-x-transition",ol("",!0)),Pa=q({defaults:Object,disabled:Boolean,reset:[Number,String],root:[Boolean,String],scoped:Boolean},"VDefaultsProvider"),le=U(!1)({name:"VDefaultsProvider",props:Pa(),setup(n,o){let{slots:t}=o;const{defaults:l,disabled:r,reset:i,root:c,scoped:s}=e.toRefs(n);return Ze(l,{reset:i,root:c,scoped:s,disabled:r}),()=>{var a;return(a=t.default)==null?void 0:a.call(t)}}}),Ee=q({height:[Number,String],maxHeight:[Number,String],maxWidth:[Number,String],minHeight:[Number,String],minWidth:[Number,String],width:[Number,String]},"dimension");function ze(n){return{dimensionStyles:e.computed(()=>({height:Y(n.height),maxHeight:Y(n.maxHeight),maxWidth:Y(n.maxWidth),minHeight:Y(n.minHeight),minWidth:Y(n.minWidth),width:Y(n.width)}))}}const il=q({aspectRatio:[String,Number],contentClass:String,inline:Boolean,...Z(),...Ee()},"VResponsive"),bo=U()({name:"VResponsive",props:il(),setup(n,o){let{slots:t}=o;const{aspectStyles:l}=function(i){return{aspectStyles:e.computed(()=>{const c=Number(i.aspectRatio);return c?{paddingBottom:String(1/c*100)+"%"}:void 0})}}(n),{dimensionStyles:r}=ze(n);return K(()=>{var i;return e.createVNode("div",{class:["v-responsive",{"v-responsive--inline":n.inline},n.class],style:[r.value,n.style]},[e.createVNode("div",{class:"v-responsive__sizer",style:l.value},null),(i=t.additional)==null?void 0:i.call(t),t.default&&e.createVNode("div",{class:["v-responsive__content",n.contentClass]},[t.default()])])}),{}}}),Sn=q({transition:{type:[Boolean,String,Object],default:"fade-transition",validator:n=>n!==!0}},"transition"),we=(n,o)=>{let{slots:t}=o;const{transition:l,disabled:r,...i}=n,{component:c=e.Transition,...s}=typeof l=="object"?l:{};return e.h(c,e.mergeProps(typeof l=="string"?{name:r?"":l}:s,i,{disabled:r}),t)};function Co(n,o){var l;const t=(l=n._observe)==null?void 0:l[o.instance.$.uid];t&&(t.observer.unobserve(n),delete n._observe[o.instance.$.uid])}const $t={mounted:function(n,o){if(!At)return;const t=o.modifiers||{},l=o.value,{handler:r,options:i}=typeof l=="object"?l:{handler:l,options:{}},c=new IntersectionObserver(function(){var v;let s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],a=arguments.length>1?arguments[1]:void 0;const u=(v=n._observe)==null?void 0:v[o.instance.$.uid];if(!u)return;const f=s.some(p=>p.isIntersecting);!r||t.quiet&&!u.init||t.once&&!f&&!u.init||r(f,s,a),f&&t.once?Co(n,o):u.init=!0},i);n._observe=Object(n._observe),n._observe[o.instance.$.uid]={init:!1,observer:c},c.observe(n)},unmounted:Co},_a=q({alt:String,cover:Boolean,draggable:{type:[Boolean,String],default:void 0},eager:Boolean,gradient:String,lazySrc:String,options:{type:Object,default:()=>({root:void 0,rootMargin:void 0,threshold:void 0})},sizes:String,src:{type:[String,Object],default:""},crossorigin:String,referrerpolicy:String,srcset:String,position:String,...il(),...Z(),...Sn()},"VImg"),sl=U()({name:"VImg",directives:{intersect:$t},props:_a(),emits:{loadstart:n=>!0,load:n=>!0,error:n=>!0},setup(n,o){let{emit:t,slots:l}=o;const r=e.shallowRef(""),i=e.ref(),c=e.shallowRef(n.eager?"loading":"idle"),s=e.shallowRef(),a=e.shallowRef(),u=e.computed(()=>n.src&&typeof n.src=="object"?{src:n.src.src,srcset:n.srcset||n.src.srcset,lazySrc:n.lazySrc||n.src.lazySrc,aspect:Number(n.aspectRatio||n.src.aspect||0)}:{src:n.src,srcset:n.srcset,lazySrc:n.lazySrc,aspect:Number(n.aspectRatio||0)}),f=e.computed(()=>u.value.aspect||s.value/a.value||0);function v(I){if((!n.eager||!I)&&(!At||I||n.eager)){if(c.value="loading",u.value.lazySrc){const w=new Image;w.src=u.value.lazySrc,g(w,null)}u.value.src&&e.nextTick(()=>{var w;t("loadstart",((w=i.value)==null?void 0:w.currentSrc)||u.value.src),setTimeout(()=>{var _;if((_=i.value)!=null&&_.complete){if(i.value.naturalWidth||d(),c.value==="error")return;f.value||g(i.value,null),c.value==="loading"&&p()}else f.value||g(i.value),m()})})}}function p(){var I;m(),g(i.value),c.value="loaded",t("load",((I=i.value)==null?void 0:I.currentSrc)||u.value.src)}function d(){var I;c.value="error",t("error",((I=i.value)==null?void 0:I.currentSrc)||u.value.src)}function m(){const I=i.value;I&&(r.value=I.currentSrc||I.src)}e.watch(()=>n.src,()=>{v(c.value!=="idle")}),e.watch(f,(I,w)=>{!I&&w&&i.value&&g(i.value)}),e.onBeforeMount(()=>v());let y=-1;function g(I){let w=arguments.length>1&&arguments[1]!==void 0?arguments[1]:100;const _=()=>{clearTimeout(y);const{naturalHeight:h,naturalWidth:B}=I;h||B?(s.value=B,a.value=h):I.complete||c.value!=="loading"||w==null?(I.currentSrc.endsWith(".svg")||I.currentSrc.startsWith("data:image/svg+xml"))&&(s.value=1,a.value=1):y=window.setTimeout(_,w)};_()}const b=e.computed(()=>({"v-img__img--cover":n.cover,"v-img__img--contain":!n.cover})),P=()=>{var _;if(!u.value.src||c.value==="idle")return null;const I=e.createVNode("img",{class:["v-img__img",b.value],style:{objectPosition:n.position},src:u.value.src,srcset:u.value.srcset,alt:n.alt,crossorigin:n.crossorigin,referrerpolicy:n.referrerpolicy,draggable:n.draggable,sizes:n.sizes,ref:i,onLoad:p,onError:d},null),w=(_=l.sources)==null?void 0:_.call(l);return e.createVNode(we,{transition:n.transition,appear:!0},{default:()=>[e.withDirectives(w?e.createVNode("picture",{class:"v-img__picture"},[w,I]):I,[[e.vShow,c.value==="loaded"]])]})},x=()=>e.createVNode(we,{transition:n.transition},{default:()=>[u.value.lazySrc&&c.value!=="loaded"&&e.createVNode("img",{class:["v-img__img","v-img__img--preload",b.value],style:{objectPosition:n.position},src:u.value.lazySrc,alt:n.alt,crossorigin:n.crossorigin,referrerpolicy:n.referrerpolicy,draggable:n.draggable},null)]}),j=()=>l.placeholder?e.createVNode(we,{transition:n.transition,appear:!0},{default:()=>[(c.value==="loading"||c.value==="error"&&!l.error)&&e.createVNode("div",{class:"v-img__placeholder"},[l.placeholder()])]}):null,O=()=>l.error?e.createVNode(we,{transition:n.transition,appear:!0},{default:()=>[c.value==="error"&&e.createVNode("div",{class:"v-img__error"},[l.error()])]}):null,R=()=>n.gradient?e.createVNode("div",{class:"v-img__gradient",style:{backgroundImage:`linear-gradient(${n.gradient})`}},null):null,D=e.shallowRef(!1);{const I=e.watch(f,w=>{w&&(requestAnimationFrame(()=>{requestAnimationFrame(()=>{D.value=!0})}),I())})}return K(()=>{const I=bo.filterProps(n);return e.withDirectives(e.createVNode(bo,e.mergeProps({class:["v-img",{"v-img--booting":!D.value},n.class],style:[{width:Y(n.width==="auto"?s.value:n.width)},n.style]},I,{aspectRatio:f.value,"aria-label":n.alt,role:n.alt?"img":void 0}),{additional:()=>e.createVNode(e.Fragment,null,[e.createVNode(P,null,null),e.createVNode(x,null,null),e.createVNode(R,null,null),e.createVNode(j,null,null),e.createVNode(O,null,null)]),default:l.default}),[[e.resolveDirective("intersect"),{handler:v,options:n.options},null,{once:!0}]])}),{currentSrc:r,image:i,state:c,naturalWidth:s,naturalHeight:a}}}),Qe=q({border:[Boolean,Number,String]},"border");function en(n){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ge();return{borderClasses:e.computed(()=>{const t=e.isRef(n)?n.value:n.border,l=[];if(t===!0||t==="")l.push(`${o}--border`);else if(typeof t=="string"||t===0)for(const r of String(t).split(" "))l.push(`border-${r}`);return l})}}function Rt(n){return Pt(()=>{const o=[],t={};if(n.value.background)if(rt(n.value.background)){if(t.backgroundColor=n.value.background,!n.value.text&&rt(l=n.value.background)&&!/^((rgb|hsl)a?\()?var\(--/.test(l)){const r=ln(n.value.background);if(r.a==null||r.a===1){const i=function(c){const s=Math.abs(vo(ln(0),ln(c)));return Math.abs(vo(ln(16777215),ln(c)))>Math.min(s,50)?"#fff":"#000"}(r);t.color=i,t.caretColor=i}}}else o.push(`bg-${n.value.background}`);var l;return n.value.text&&(rt(n.value.text)?(t.color=n.value.text,t.caretColor=n.value.text):o.push(`text-${n.value.text}`)),{colorClasses:o,colorStyles:t}})}function Ce(n,o){const t=e.computed(()=>({text:e.isRef(n)?n.value:o?n[o]:null})),{colorClasses:l,colorStyles:r}=Rt(t);return{textColorClasses:l,textColorStyles:r}}function Ke(n,o){const t=e.computed(()=>({background:e.isRef(n)?n.value:o?n[o]:null})),{colorClasses:l,colorStyles:r}=Rt(t);return{backgroundColorClasses:l,backgroundColorStyles:r}}const nn=q({elevation:{type:[Number,String],validator(n){const o=parseInt(n);return!isNaN(o)&&o>=0&&o<=24}}},"elevation");function tn(n){return{elevationClasses:e.computed(()=>{const o=e.isRef(n)?n.value:n.elevation,t=[];return o==null||t.push(`elevation-${o}`),t})}}const Se=q({rounded:{type:[Boolean,Number,String],default:void 0}},"rounded");function Ve(n){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ge();return{roundedClasses:e.computed(()=>{const t=e.isRef(n)?n.value:n.rounded,l=[];if(t===!0||t==="")l.push(`${o}--rounded`);else if(typeof t=="string"||t===0)for(const r of String(t).split(" "))l.push(`rounded-${r}`);return l})}}const Oa=[null,"default","comfortable","compact"],he=q({density:{type:String,default:"default",validator:n=>Oa.includes(n)}},"density");function Ie(n){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ge();return{densityClasses:e.computed(()=>`${o}--density-${n.density}`)}}const Ea=["elevated","flat","tonal","outlined","text","plain"];function Vn(n,o){return e.createVNode(e.Fragment,null,[n&&e.createVNode("span",{key:"overlay",class:`${o}__overlay`},null),e.createVNode("span",{key:"underlay",class:`${o}__underlay`},null)])}const xe=q({color:String,variant:{type:String,default:"elevated",validator:n=>Ea.includes(n)}},"variant");function In(n){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ge();const t=e.computed(()=>{const{variant:i}=e.unref(n);return`${o}--variant-${i}`}),{colorClasses:l,colorStyles:r}=Rt(e.computed(()=>{const{variant:i,color:c}=e.unref(n);return{[["elevated","flat"].includes(i)?"background":"text"]:c}}));return{colorClasses:l,colorStyles:r,variantClasses:t}}const ul=q({divided:Boolean,...Qe(),...Z(),...he(),...nn(),...Se(),...pe(),...oe(),...xe()},"VBtnGroup"),So=U()({name:"VBtnGroup",props:ul(),setup(n,o){let{slots:t}=o;const{themeClasses:l}=ie(n),{densityClasses:r}=Ie(n),{borderClasses:i}=en(n),{elevationClasses:c}=tn(n),{roundedClasses:s}=Ve(n);Ze({VBtn:{height:"auto",color:e.toRef(n,"color"),density:e.toRef(n,"density"),flat:!0,variant:e.toRef(n,"variant")}}),K(()=>e.createVNode(n.tag,{class:["v-btn-group",{"v-btn-group--divided":n.divided},l.value,i.value,r.value,c.value,s.value,n.class],style:n.style},t))}}),cl=q({modelValue:{type:null,default:void 0},multiple:Boolean,mandatory:[Boolean,String],max:Number,selectedClass:String,disabled:Boolean},"group"),dl=q({value:null,disabled:Boolean,selectedClass:String},"group-item");function pl(n,o){let t=!(arguments.length>2&&arguments[2]!==void 0)||arguments[2];const l=ae("useGroupItem");if(!l)throw new Error("[Vuetify] useGroupItem composable must be used inside a component setup function");const r=fe();e.provide(Symbol.for(`${o.description}:id`),r);const i=e.inject(o,null);if(!i){if(!t)return i;throw new Error(`[Vuetify] Could not find useGroup injection with symbol ${o.description}`)}const c=e.toRef(n,"value"),s=e.computed(()=>!(!i.disabled.value&&!n.disabled));i.register({id:r,value:c,disabled:s},l),e.onBeforeUnmount(()=>{i.unregister(r)});const a=e.computed(()=>i.isSelected(r)),u=e.computed(()=>a.value&&[i.selectedClass.value,n.selectedClass]);return e.watch(a,f=>{l.emit("group:selected",{value:f})}),{id:r,isSelected:a,toggle:()=>i.select(r,!a.value),select:f=>i.select(r,f),selectedClass:u,value:c,disabled:s,group:i}}function vl(n,o){let t=!1;const l=e.reactive([]),r=ne(n,"modelValue",[],u=>u==null?[]:Vo(l,Be(u)),u=>{const f=function(v,p){const d=[];return p.forEach(m=>{const y=v.findIndex(g=>g.id===m);if(~y){const g=v[y];d.push(g.value!=null?g.value:y)}}),d}(l,u);return n.multiple?f:f[0]}),i=ae("useGroup");function c(){const u=l.find(f=>!f.disabled);u&&n.mandatory==="force"&&!r.value.length&&(r.value=[u.id])}function s(u){if(n.multiple&&sn('This method is not supported when using "multiple" prop'),r.value.length){const f=r.value[0],v=l.findIndex(m=>m.id===f);let p=(v+u)%l.length,d=l[p];for(;d.disabled&&p!==v;)p=(p+u)%l.length,d=l[p];if(d.disabled)return;r.value=[l[p].id]}else{const f=l.find(v=>!v.disabled);f&&(r.value=[f.id])}}e.onMounted(()=>{c()}),e.onBeforeUnmount(()=>{t=!0});const a={register:function(u,f){const v=u,p=En(Symbol.for(`${o.description}:id`),i==null?void 0:i.vnode).indexOf(f);p>-1?l.splice(p,0,v):l.push(v)},unregister:function(u){if(t)return;c();const f=l.findIndex(v=>v.id===u);l.splice(f,1)},selected:r,select:function(u,f){const v=l.find(p=>p.id===u);if(!f||!(v!=null&&v.disabled))if(n.multiple){const p=r.value.slice(),d=p.findIndex(y=>y===u),m=~d;if(f=f??!m,m&&n.mandatory&&p.length<=1||!m&&n.max!=null&&p.length+1>n.max)return;d<0&&f?p.push(u):d>=0&&!f&&p.splice(d,1),r.value=p}else{const p=r.value.includes(u);if(n.mandatory&&p)return;r.value=f??!p?[u]:[]}},disabled:e.toRef(n,"disabled"),prev:()=>s(l.length-1),next:()=>s(1),isSelected:u=>r.value.includes(u),selectedClass:e.computed(()=>n.selectedClass),items:e.computed(()=>l),getItemIndex:u=>function(f,v){const p=Vo(f,[v]);return p.length?f.findIndex(d=>d.id===p[0]):-1}(l,u)};return e.provide(o,a),a}function Vo(n,o){const t=[];return o.forEach(l=>{const r=n.find(c=>gn(l,c.value)),i=n[l];(r==null?void 0:r.value)!=null?t.push(r.id):i!=null&&t.push(i.id)}),t}const fl=Symbol.for("vuetify:v-btn-toggle"),za=q({...ul(),...cl()},"VBtnToggle");U()({name:"VBtnToggle",props:za(),emits:{"update:modelValue":n=>!0},setup(n,o){let{slots:t}=o;const{isSelected:l,next:r,prev:i,select:c,selected:s}=vl(n,fl);return K(()=>{const a=So.filterProps(n);return e.createVNode(So,e.mergeProps({class:["v-btn-toggle",n.class]},a,{style:n.style}),{default:()=>{var u;return[(u=t.default)==null?void 0:u.call(t,{isSelected:l,next:r,prev:i,select:c,selected:s})]}})}),{next:r,prev:i,select:c}}});const Q=[String,Function,Object,Array],Ta=Symbol.for("vuetify:icons"),Gn=q({icon:{type:Q},tag:{type:String,required:!0}},"icon"),Io=U()({name:"VComponentIcon",props:Gn(),setup(n,o){let{slots:t}=o;return()=>{const l=n.icon;return e.createVNode(n.tag,null,{default:()=>{var r;return[n.icon?e.createVNode(l,null,null):(r=t.default)==null?void 0:r.call(t)]}})}}}),$a=dn({name:"VSvgIcon",inheritAttrs:!1,props:Gn(),setup(n,o){let{attrs:t}=o;return()=>e.createVNode(n.tag,e.mergeProps(t,{style:null}),{default:()=>[e.createVNode("svg",{class:"v-icon__svg",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",role:"img","aria-hidden":"true"},[Array.isArray(n.icon)?n.icon.map(l=>Array.isArray(l)?e.createVNode("path",{d:l[0],"fill-opacity":l[1]},null):e.createVNode("path",{d:l},null)):e.createVNode("path",{d:n.icon},null)])]})}});dn({name:"VLigatureIcon",props:Gn(),setup:n=>()=>e.createVNode(n.tag,null,{default:()=>[n.icon]})}),dn({name:"VClassIcon",props:Gn(),setup:n=>()=>e.createVNode(n.tag,{class:n.icon},null)});const Ra=["x-small","small","default","large","x-large"],wn=q({size:{type:[String,Number],default:"default"}},"size");function Bn(n){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ge();return Pt(()=>{let t,l;return Rn(Ra,n.size)?t=`${o}--size-${n.size}`:n.size&&(l={width:Y(n.size),height:Y(n.size)}),{sizeClasses:t,sizeStyles:l}})}const Da=q({color:String,start:Boolean,end:Boolean,icon:Q,...Z(),...wn(),...pe({tag:"i"}),...oe()},"VIcon"),ee=U()({name:"VIcon",props:Da(),setup(n,o){let{attrs:t,slots:l}=o;const r=e.ref(),{themeClasses:i}=ie(n),{iconData:c}=(f=>{const v=e.inject(Ta);if(!v)throw new Error("Missing Vuetify Icons provide!");return{iconData:e.computed(()=>{var g;const p=e.unref(f);if(!p)return{component:Io};let d=p;if(typeof d=="string"&&(d=d.trim(),d.startsWith("$")&&(d=(g=v.aliases)==null?void 0:g[d.slice(1)])),!d)throw new Error(`Could not find aliased icon "${p}"`);if(Array.isArray(d))return{component:$a,icon:d};if(typeof d!="string")return{component:Io,icon:d};const m=Object.keys(v.sets).find(b=>typeof d=="string"&&d.startsWith(`${b}:`)),y=m?d.slice(m.length+1):d;return{component:v.sets[m??v.defaultSet].component,icon:y}})}})(e.computed(()=>r.value||n.icon)),{sizeClasses:s}=Bn(n),{textColorClasses:a,textColorStyles:u}=Ce(e.toRef(n,"color"));return K(()=>{var v,p;const f=(v=l.default)==null?void 0:v.call(l);return f&&(r.value=(p=qo(f).filter(d=>d.type===e.Text&&d.children&&typeof d.children=="string")[0])==null?void 0:p.children),e.createVNode(c.value.component,{tag:n.tag,icon:c.value.icon,class:["v-icon","notranslate",i.value,s.value,a.value,{"v-icon--clickable":!!t.onClick,"v-icon--start":n.start,"v-icon--end":n.end},n.class],style:[s.value?void 0:{fontSize:Y(n.size),height:Y(n.size),width:Y(n.size)},u.value,n.style],role:t.onClick?"button":void 0,"aria-hidden":!t.onClick},{default:()=>[f]})}),{}}});function ml(n,o){const t=e.ref(),l=e.shallowRef(!1);if(At){const r=new IntersectionObserver(i=>{n==null||n(i,r),l.value=!!i.find(c=>c.isIntersecting)},o);e.onBeforeUnmount(()=>{r.disconnect()}),e.watch(t,(i,c)=>{c&&(r.unobserve(c),l.value=!1),i&&r.observe(i)},{flush:"post"})}return{intersectionRef:t,isIntersecting:l}}const La=q({bgColor:String,color:String,indeterminate:[Boolean,String],modelValue:{type:[Number,String],default:0},rotate:{type:[Number,String],default:0},width:{type:[Number,String],default:4},...Z(),...wn(),...pe({tag:"div"}),...oe()},"VProgressCircular"),yl=U()({name:"VProgressCircular",props:La(),setup(n,o){let{slots:t}=o;const l=2*Math.PI*20,r=e.ref(),{themeClasses:i}=ie(n),{sizeClasses:c,sizeStyles:s}=Bn(n),{textColorClasses:a,textColorStyles:u}=Ce(e.toRef(n,"color")),{textColorClasses:f,textColorStyles:v}=Ce(e.toRef(n,"bgColor")),{intersectionRef:p,isIntersecting:d}=ml(),{resizeRef:m,contentRect:y}=zt(),g=e.computed(()=>Math.max(0,Math.min(100,parseFloat(n.modelValue)))),b=e.computed(()=>Number(n.width)),P=e.computed(()=>s.value?Number(n.size):y.value?y.value.width:Math.max(b.value,32)),x=e.computed(()=>20/(1-b.value/P.value)*2),j=e.computed(()=>b.value/P.value*x.value),O=e.computed(()=>Y((100-g.value)/100*l));return e.watchEffect(()=>{p.value=r.value,m.value=r.value}),K(()=>e.createVNode(n.tag,{ref:r,class:["v-progress-circular",{"v-progress-circular--indeterminate":!!n.indeterminate,"v-progress-circular--visible":d.value,"v-progress-circular--disable-shrink":n.indeterminate==="disable-shrink"},i.value,c.value,a.value,n.class],style:[s.value,u.value,n.style],role:"progressbar","aria-valuemin":"0","aria-valuemax":"100","aria-valuenow":n.indeterminate?void 0:g.value},{default:()=>[e.createVNode("svg",{style:{transform:`rotate(calc(-90deg + ${Number(n.rotate)}deg))`},xmlns:"http://www.w3.org/2000/svg",viewBox:`0 0 ${x.value} ${x.value}`},[e.createVNode("circle",{class:["v-progress-circular__underlay",f.value],style:v.value,fill:"transparent",cx:"50%",cy:"50%",r:20,"stroke-width":j.value,"stroke-dasharray":l,"stroke-dashoffset":0},null),e.createVNode("circle",{class:"v-progress-circular__overlay",fill:"transparent",cx:"50%",cy:"50%",r:20,"stroke-width":j.value,"stroke-dasharray":l,"stroke-dashoffset":O.value},null)]),t.default&&e.createVNode("div",{class:"v-progress-circular__content"},[t.default({value:g.value})])]})),{}}}),wo={center:"center",top:"bottom",bottom:"top",left:"right",right:"left"},Dt=q({location:String},"location");function Lt(n){let o=arguments.length>1&&arguments[1]!==void 0&&arguments[1],t=arguments.length>2?arguments[2]:void 0;const{isRtl:l}=Cn();return{locationStyles:e.computed(()=>{if(!n.location)return{};const{side:i,align:c}=mt(n.location.split(" ").length>1?n.location:`${n.location} center`,l.value);function s(u){return t?t(u):0}const a={};return i!=="center"&&(o?a[wo[i]]=`calc(100% - ${s(i)}px)`:a[i]=0),c!=="center"?o?a[wo[c]]=`calc(100% - ${s(c)}px)`:a[c]=0:(i==="center"?a.top=a.left="50%":a[{top:"left",bottom:"left",left:"top",right:"top"}[i]]="50%",a.transform={top:"translateX(-50%)",bottom:"translateX(-50%)",left:"translateY(-50%)",right:"translateY(-50%)",center:"translate(-50%, -50%)"}[i]),a})}}const Ma=q({absolute:Boolean,active:{type:Boolean,default:!0},bgColor:String,bgOpacity:[Number,String],bufferValue:{type:[Number,String],default:0},clickable:Boolean,color:String,height:{type:[Number,String],default:4},indeterminate:Boolean,max:{type:[Number,String],default:100},modelValue:{type:[Number,String],default:0},reverse:Boolean,stream:Boolean,striped:Boolean,roundedBar:Boolean,...Z(),...Dt({location:"top"}),...Se(),...pe(),...oe()},"VProgressLinear"),Wa=U()({name:"VProgressLinear",props:Ma(),emits:{"update:modelValue":n=>!0},setup(n,o){let{slots:t}=o;const l=ne(n,"modelValue"),{isRtl:r,rtlClasses:i}=Cn(),{themeClasses:c}=ie(n),{locationStyles:s}=Lt(n),{textColorClasses:a,textColorStyles:u}=Ce(n,"color"),{backgroundColorClasses:f,backgroundColorStyles:v}=Ke(e.computed(()=>n.bgColor||n.color)),{backgroundColorClasses:p,backgroundColorStyles:d}=Ke(n,"color"),{roundedClasses:m}=Ve(n),{intersectionRef:y,isIntersecting:g}=ml(),b=e.computed(()=>parseInt(n.max,10)),P=e.computed(()=>parseInt(n.height,10)),x=e.computed(()=>parseFloat(n.bufferValue)/b.value*100),j=e.computed(()=>parseFloat(l.value)/b.value*100),O=e.computed(()=>r.value!==n.reverse),R=e.computed(()=>n.indeterminate?"fade-transition":"slide-x-transition"),D=e.computed(()=>n.bgOpacity==null?n.bgOpacity:parseFloat(n.bgOpacity));function I(w){if(!y.value)return;const{left:_,right:h,width:B}=y.value.getBoundingClientRect(),V=O.value?B-w.clientX+(h-B):w.clientX-_;l.value=Math.round(V/B*b.value)}return K(()=>e.createVNode(n.tag,{ref:y,class:["v-progress-linear",{"v-progress-linear--absolute":n.absolute,"v-progress-linear--active":n.active&&g.value,"v-progress-linear--reverse":O.value,"v-progress-linear--rounded":n.rounded,"v-progress-linear--rounded-bar":n.roundedBar,"v-progress-linear--striped":n.striped},m.value,c.value,i.value,n.class],style:[{bottom:n.location==="bottom"?0:void 0,top:n.location==="top"?0:void 0,height:n.active?Y(P.value):0,"--v-progress-linear-height":Y(P.value),...s.value},n.style],role:"progressbar","aria-hidden":n.active?"false":"true","aria-valuemin":"0","aria-valuemax":n.max,"aria-valuenow":n.indeterminate?void 0:j.value,onClick:n.clickable&&I},{default:()=>[n.stream&&e.createVNode("div",{key:"stream",class:["v-progress-linear__stream",a.value],style:{...u.value,[O.value?"left":"right"]:Y(-P.value),borderTop:`${Y(P.value/2)} dotted`,opacity:D.value,top:`calc(50% - ${Y(P.value/4)})`,width:Y(100-x.value,"%"),"--v-progress-linear-stream-to":Y(P.value*(O.value?1:-1))}},null),e.createVNode("div",{class:["v-progress-linear__background",f.value],style:[v.value,{opacity:D.value,width:Y(n.stream?x.value:100,"%")}]},null),e.createVNode(e.Transition,{name:R.value},{default:()=>[n.indeterminate?e.createVNode("div",{class:"v-progress-linear__indeterminate"},[["long","short"].map(w=>e.createVNode("div",{key:w,class:["v-progress-linear__indeterminate",w,p.value],style:d.value},null))]):e.createVNode("div",{class:["v-progress-linear__determinate",p.value],style:[d.value,{width:Y(j.value,"%")}]},null)]}),t.default&&e.createVNode("div",{class:"v-progress-linear__content"},[t.default({value:j.value,buffer:x.value})])]})),{}}}),Mt=q({loading:[Boolean,String]},"loader");function Qn(n){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ge();return{loaderClasses:e.computed(()=>({[`${o}--loading`]:n.loading}))}}function Wt(n,o){var l;let{slots:t}=o;return e.createVNode("div",{class:`${n.name}__loader`},[((l=t.default)==null?void 0:l.call(t,{color:n.color,isActive:n.active}))||e.createVNode(Wa,{active:n.active,color:n.color,height:"2",indeterminate:!0},null)])}const ja=["static","relative","fixed","absolute","sticky"],gl=q({position:{type:String,validator:n=>ja.includes(n)}},"position");function hl(n){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ge();return{positionClasses:e.computed(()=>n.position?`${o}--${n.position}`:void 0)}}function et(n,o){const t=e.resolveDynamicComponent("RouterLink"),l=e.computed(()=>!(!n.href&&!n.to)),r=e.computed(()=>(l==null?void 0:l.value)||eo(o,"click")||eo(n,"click"));if(typeof t=="string")return{isLink:l,isClickable:r,href:e.toRef(n,"href")};const i=n.to?t.useLink(n):void 0;return{isLink:l,isClickable:r,route:i==null?void 0:i.route,navigate:i==null?void 0:i.navigate,isActive:i&&e.computed(()=>{var c,s;return n.exact?(c=i.isExactActive)==null?void 0:c.value:(s=i.isActive)==null?void 0:s.value}),href:e.computed(()=>n.to?i==null?void 0:i.route.value.href:n.href)}}const nt=q({href:String,replace:Boolean,to:[String,Object],exact:Boolean},"router");let it=!1;const yt=Symbol("rippleStop"),Ga=80;function Bo(n,o){n.style.transform=o,n.style.webkitTransform=o}function gt(n){return n.constructor.name==="TouchEvent"}function bl(n){return n.constructor.name==="KeyboardEvent"}const qn={show(n,o){var d;let t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(!((d=o==null?void 0:o._ripple)!=null&&d.enabled))return;const l=document.createElement("span"),r=document.createElement("span");l.appendChild(r),l.className="v-ripple__container",t.class&&(l.className+=` ${t.class}`);const{radius:i,scale:c,x:s,y:a,centerX:u,centerY:f}=function(m,y){var D;let g=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},b=0,P=0;if(!bl(m)){const I=y.getBoundingClientRect(),w=gt(m)?m.touches[m.touches.length-1]:m;b=w.clientX-I.left,P=w.clientY-I.top}let x=0,j=.3;(D=y._ripple)!=null&&D.circle?(j=.15,x=y.clientWidth/2,x=g.center?x:x+Math.sqrt((b-x)**2+(P-x)**2)/4):x=Math.sqrt(y.clientWidth**2+y.clientHeight**2)/2;const O=(y.clientWidth-2*x)/2+"px",R=(y.clientHeight-2*x)/2+"px";return{radius:x,scale:j,x:g.center?O:b-x+"px",y:g.center?R:P-x+"px",centerX:O,centerY:R}}(n,o,t),v=2*i+"px";r.className="v-ripple__animation",r.style.width=v,r.style.height=v,o.appendChild(l);const p=window.getComputedStyle(o);p&&p.position==="static"&&(o.style.position="relative",o.dataset.previousPosition="static"),r.classList.add("v-ripple__animation--enter"),r.classList.add("v-ripple__animation--visible"),Bo(r,`translate(${s}, ${a}) scale3d(${c},${c},${c})`),r.dataset.activated=String(performance.now()),setTimeout(()=>{r.classList.remove("v-ripple__animation--enter"),r.classList.add("v-ripple__animation--in"),Bo(r,`translate(${u}, ${f}) scale3d(1,1,1)`)},0)},hide(n){var i;if(!((i=n==null?void 0:n._ripple)!=null&&i.enabled))return;const o=n.getElementsByClassName("v-ripple__animation");if(o.length===0)return;const t=o[o.length-1];if(t.dataset.isHiding)return;t.dataset.isHiding="true";const l=performance.now()-Number(t.dataset.activated),r=Math.max(250-l,0);setTimeout(()=>{t.classList.remove("v-ripple__animation--in"),t.classList.add("v-ripple__animation--out"),setTimeout(()=>{var c;n.getElementsByClassName("v-ripple__animation").length===1&&n.dataset.previousPosition&&(n.style.position=n.dataset.previousPosition,delete n.dataset.previousPosition),((c=t.parentNode)==null?void 0:c.parentNode)===n&&n.removeChild(t.parentNode)},300)},r)}};function Cl(n){return n===void 0||!!n}function pn(n){const o={},t=n.currentTarget;if(t!=null&&t._ripple&&!t._ripple.touched&&!n[yt]){if(n[yt]=!0,gt(n))t._ripple.touched=!0,t._ripple.isTouch=!0;else if(t._ripple.isTouch)return;if(o.center=t._ripple.centered||bl(n),t._ripple.class&&(o.class=t._ripple.class),gt(n)){if(t._ripple.showTimerCommit)return;t._ripple.showTimerCommit=()=>{qn.show(n,t,o)},t._ripple.showTimer=window.setTimeout(()=>{var l;(l=t==null?void 0:t._ripple)!=null&&l.showTimerCommit&&(t._ripple.showTimerCommit(),t._ripple.showTimerCommit=null)},Ga)}else qn.show(n,t,o)}}function ko(n){n[yt]=!0}function de(n){const o=n.currentTarget;if(o!=null&&o._ripple){if(window.clearTimeout(o._ripple.showTimer),n.type==="touchend"&&o._ripple.showTimerCommit)return o._ripple.showTimerCommit(),o._ripple.showTimerCommit=null,void(o._ripple.showTimer=window.setTimeout(()=>{de(n)}));window.setTimeout(()=>{o._ripple&&(o._ripple.touched=!1)}),qn.hide(o)}}function Sl(n){const o=n.currentTarget;o!=null&&o._ripple&&(o._ripple.showTimerCommit&&(o._ripple.showTimerCommit=null),window.clearTimeout(o._ripple.showTimer))}let vn=!1;function Vl(n){vn||n.keyCode!==Kt.enter&&n.keyCode!==Kt.space||(vn=!0,pn(n))}function Il(n){vn=!1,de(n)}function wl(n){vn&&(vn=!1,de(n))}function xo(n,o,t){const{value:l,modifiers:r}=o,i=Cl(l);if(i||qn.hide(n),n._ripple=n._ripple??{},n._ripple.enabled=i,n._ripple.centered=r.center,n._ripple.circle=r.circle,pt(l)&&l.class&&(n._ripple.class=l.class),i&&!t){if(r.stop)return n.addEventListener("touchstart",ko,{passive:!0}),void n.addEventListener("mousedown",ko);n.addEventListener("touchstart",pn,{passive:!0}),n.addEventListener("touchend",de,{passive:!0}),n.addEventListener("touchmove",Sl,{passive:!0}),n.addEventListener("touchcancel",de),n.addEventListener("mousedown",pn),n.addEventListener("mouseup",de),n.addEventListener("mouseleave",de),n.addEventListener("keydown",Vl),n.addEventListener("keyup",Il),n.addEventListener("blur",wl),n.addEventListener("dragstart",de,{passive:!0})}else!i&&t&&Bl(n)}function Bl(n){n.removeEventListener("mousedown",pn),n.removeEventListener("touchstart",pn),n.removeEventListener("touchend",de),n.removeEventListener("touchmove",Sl),n.removeEventListener("touchcancel",de),n.removeEventListener("mouseup",de),n.removeEventListener("mouseleave",de),n.removeEventListener("keydown",Vl),n.removeEventListener("keyup",Il),n.removeEventListener("dragstart",de),n.removeEventListener("blur",wl)}const kn={mounted:function(n,o){xo(n,o,!1)},unmounted:function(n){delete n._ripple,Bl(n)},updated:function(n,o){o.value!==o.oldValue&&xo(n,o,Cl(o.oldValue))}},qa=q({active:{type:Boolean,default:void 0},symbol:{type:null,default:fl},flat:Boolean,icon:[Boolean,String,Function,Object],prependIcon:Q,appendIcon:Q,block:Boolean,slim:Boolean,stacked:Boolean,ripple:{type:[Boolean,Object],default:!0},text:String,...Qe(),...Z(),...he(),...Ee(),...nn(),...dl(),...Mt(),...Dt(),...gl(),...Se(),...nt(),...wn(),...pe({tag:"button"}),...oe(),...xe({variant:"elevated"})},"VBtn"),ht=U()({name:"VBtn",directives:{Ripple:kn},props:qa(),emits:{"group:selected":n=>!0},setup(n,o){let{attrs:t,slots:l}=o;const{themeClasses:r}=ie(n),{borderClasses:i}=en(n),{colorClasses:c,colorStyles:s,variantClasses:a}=In(n),{densityClasses:u}=Ie(n),{dimensionStyles:f}=ze(n),{elevationClasses:v}=tn(n),{loaderClasses:p}=Qn(n),{locationStyles:d}=Lt(n),{positionClasses:m}=hl(n),{roundedClasses:y}=Ve(n),{sizeClasses:g,sizeStyles:b}=Bn(n),P=pl(n,n.symbol,!1),x=et(n,t),j=e.computed(()=>{var w;return n.active!==void 0?n.active:x.isLink.value?(w=x.isActive)==null?void 0:w.value:P==null?void 0:P.isSelected.value}),O=e.computed(()=>(P==null?void 0:P.disabled.value)||n.disabled),R=e.computed(()=>n.variant==="elevated"&&!(n.disabled||n.flat||n.border)),D=e.computed(()=>{if(n.value!==void 0)return Object(n.value)===n.value?JSON.stringify(n.value,null,0):n.value});function I(w){var _;O.value||x.isLink.value&&(w.metaKey||w.ctrlKey||w.shiftKey||w.button!==0||t.target==="_blank")||((_=x.navigate)==null||_.call(x,w),P==null||P.toggle())}return function(w,_){e.watch(()=>{var h;return(h=w.isActive)==null?void 0:h.value},h=>{w.isLink.value&&h&&_&&e.nextTick(()=>{_(!0)})},{immediate:!0})}(x,P==null?void 0:P.select),K(()=>{var M,L;const w=x.isLink.value?"a":n.tag,_=!(!n.prependIcon&&!l.prepend),h=!(!n.appendIcon&&!l.append),B=!(!n.icon||n.icon===!0),V=(P==null?void 0:P.isSelected.value)&&(!x.isLink.value||((M=x.isActive)==null?void 0:M.value))||!P||((L=x.isActive)==null?void 0:L.value);return e.withDirectives(e.createVNode(w,{type:w==="a"?void 0:"button",class:["v-btn",P==null?void 0:P.selectedClass.value,{"v-btn--active":j.value,"v-btn--block":n.block,"v-btn--disabled":O.value,"v-btn--elevated":R.value,"v-btn--flat":n.flat,"v-btn--icon":!!n.icon,"v-btn--loading":n.loading,"v-btn--slim":n.slim,"v-btn--stacked":n.stacked},r.value,i.value,V?c.value:void 0,u.value,v.value,p.value,m.value,y.value,g.value,a.value,n.class],style:[V?s.value:void 0,f.value,d.value,b.value,n.style],disabled:O.value||void 0,href:x.href.value,onClick:I,value:D.value},{default:()=>{var F;return[Vn(!0,"v-btn"),!n.icon&&_&&e.createVNode("span",{key:"prepend",class:"v-btn__prepend"},[l.prepend?e.createVNode(le,{key:"prepend-defaults",disabled:!n.prependIcon,defaults:{VIcon:{icon:n.prependIcon}}},l.prepend):e.createVNode(ee,{key:"prepend-icon",icon:n.prependIcon},null)]),e.createVNode("span",{class:"v-btn__content","data-no-activator":""},[!l.default&&B?e.createVNode(ee,{key:"content-icon",icon:n.icon},null):e.createVNode(le,{key:"content-defaults",disabled:!B,defaults:{VIcon:{icon:n.icon}}},{default:()=>{var S;return[((S=l.default)==null?void 0:S.call(l))??n.text]}})]),!n.icon&&h&&e.createVNode("span",{key:"append",class:"v-btn__append"},[l.append?e.createVNode(le,{key:"append-defaults",disabled:!n.appendIcon,defaults:{VIcon:{icon:n.appendIcon}}},l.append):e.createVNode(ee,{key:"append-icon",icon:n.appendIcon},null)]),!!n.loading&&e.createVNode("span",{key:"loader",class:"v-btn__loader"},[((F=l.loader)==null?void 0:F.call(l))??e.createVNode(yl,{color:typeof n.loading=="boolean"?void 0:n.loading,indeterminate:!0,size:"23",width:"2"},null)])]}}),[[e.resolveDirective("ripple"),!O.value&&n.ripple,null]])}),{}}}),Ha=q({text:String,clickable:Boolean,...Z(),...oe()},"VLabel"),kl=U()({name:"VLabel",props:Ha(),setup(n,o){let{slots:t}=o;return K(()=>{var l;return e.createVNode("label",{class:["v-label",{"v-label--clickable":n.clickable},n.class],style:n.style},[n.text,(l=t.default)==null?void 0:l.call(t)])}),{}}}),xl=Symbol.for("vuetify:selection-control-group"),Fl=q({color:String,disabled:{type:Boolean,default:null},defaultsTarget:String,error:Boolean,id:String,inline:Boolean,falseIcon:Q,trueIcon:Q,ripple:{type:Boolean,default:!0},multiple:{type:Boolean,default:null},name:String,readonly:Boolean,modelValue:null,type:String,valueComparator:{type:Function,default:gn},...Z(),...he(),...oe()},"SelectionControlGroup"),Ua=q({...Fl({defaultsTarget:"VSelectionControl"})},"VSelectionControlGroup");U()({name:"VSelectionControlGroup",props:Ua(),emits:{"update:modelValue":n=>!0},setup(n,o){let{slots:t}=o;const l=ne(n,"modelValue"),r=fe(),i=e.computed(()=>n.id||`v-selection-control-group-${r}`),c=e.computed(()=>n.name||i.value),s=new Set;return e.provide(xl,{modelValue:l,forceUpdate:()=>{s.forEach(a=>a())},onForceUpdate:a=>{s.add(a),e.onScopeDispose(()=>{s.delete(a)})}}),Ze({[n.defaultsTarget]:{color:e.toRef(n,"color"),disabled:e.toRef(n,"disabled"),density:e.toRef(n,"density"),error:e.toRef(n,"error"),inline:e.toRef(n,"inline"),modelValue:l,multiple:e.computed(()=>!!n.multiple||n.multiple==null&&Array.isArray(l.value)),name:c,falseIcon:e.toRef(n,"falseIcon"),trueIcon:e.toRef(n,"trueIcon"),readonly:e.toRef(n,"readonly"),ripple:e.toRef(n,"ripple"),type:e.toRef(n,"type"),valueComparator:e.toRef(n,"valueComparator")}}),K(()=>{var a;return e.createVNode("div",{class:["v-selection-control-group",{"v-selection-control-group--inline":n.inline},n.class],style:n.style,role:n.type==="radio"?"radiogroup":void 0},[(a=t.default)==null?void 0:a.call(t)])}),{}}});const jt=q({label:String,baseColor:String,trueValue:null,falseValue:null,value:null,...Z(),...Fl()},"VSelectionControl"),Hn=U()({name:"VSelectionControl",directives:{Ripple:kn},inheritAttrs:!1,props:jt(),emits:{"update:modelValue":n=>!0},setup(n,o){let{attrs:t,slots:l}=o;const{group:r,densityClasses:i,icon:c,model:s,textColorClasses:a,textColorStyles:u,backgroundColorClasses:f,backgroundColorStyles:v,trueValue:p}=function(O){const R=e.inject(xl,void 0),{densityClasses:D}=Ie(O),I=ne(O,"modelValue"),w=e.computed(()=>O.trueValue!==void 0?O.trueValue:O.value===void 0||O.value),_=e.computed(()=>O.falseValue!==void 0&&O.falseValue),h=e.computed(()=>!!O.multiple||O.multiple==null&&Array.isArray(I.value)),B=e.computed({get(){const k=R?R.modelValue.value:I.value;return h.value?k.some(z=>O.valueComparator(z,w.value)):O.valueComparator(k,w.value)},set(k){if(O.readonly)return;const z=k?w.value:_.value;let T=z;h.value&&(T=k?[...Be(I.value),z]:Be(I.value).filter(N=>!O.valueComparator(N,w.value))),R?R.modelValue.value=T:I.value=T}}),{textColorClasses:V,textColorStyles:M}=Ce(e.computed(()=>{if(!O.error&&!O.disabled)return B.value?O.color:O.baseColor})),{backgroundColorClasses:L,backgroundColorStyles:F}=Ke(e.computed(()=>!B.value||O.error||O.disabled?void 0:O.color)),S=e.computed(()=>B.value?O.trueIcon:O.falseIcon);return{group:R,densityClasses:D,trueValue:w,falseValue:_,model:B,textColorClasses:V,textColorStyles:M,backgroundColorClasses:L,backgroundColorStyles:F,icon:S}}(n),d=fe(),m=e.computed(()=>n.id||`input-${d}`),y=e.shallowRef(!1),g=e.shallowRef(!1),b=e.ref();function P(O){y.value=!0,Ln(O.target,":focus-visible")!==!1&&(g.value=!0)}function x(){y.value=!1,g.value=!1}function j(O){n.readonly&&r&&e.nextTick(()=>r.forceUpdate()),s.value=O.target.checked}return r==null||r.onForceUpdate(()=>{b.value&&(b.value.checked=s.value)}),K(()=>{var w,_;const O=l.label?l.label({label:n.label,props:{for:m.value}}):n.label,[R,D]=hn(t),I=e.createVNode("input",e.mergeProps({ref:b,checked:s.value,disabled:!(!n.readonly&&!n.disabled),id:m.value,onBlur:x,onFocus:P,onInput:j,"aria-disabled":!(!n.readonly&&!n.disabled),type:n.type,value:p.value,name:n.name,"aria-checked":n.type==="checkbox"?s.value:void 0},D),null);return e.createVNode("div",e.mergeProps({class:["v-selection-control",{"v-selection-control--dirty":s.value,"v-selection-control--disabled":n.disabled,"v-selection-control--error":n.error,"v-selection-control--focused":y.value,"v-selection-control--focus-visible":g.value,"v-selection-control--inline":n.inline},i.value,n.class]},R,{style:n.style}),[e.createVNode("div",{class:["v-selection-control__wrapper",a.value],style:u.value},[(w=l.default)==null?void 0:w.call(l,{backgroundColorClasses:f,backgroundColorStyles:v}),e.withDirectives(e.createVNode("div",{class:["v-selection-control__input"]},[((_=l.input)==null?void 0:_.call(l,{model:s,textColorClasses:a,textColorStyles:u,backgroundColorClasses:f,backgroundColorStyles:v,inputNode:I,icon:c.value,props:{onFocus:P,onBlur:x,id:m.value}}))??e.createVNode(e.Fragment,null,[c.value&&e.createVNode(ee,{key:"icon",icon:c.value},null),I])]),[[e.resolveDirective("ripple"),n.ripple&&[!n.disabled&&!n.readonly,null,["center","circle"]]]])]),O&&e.createVNode(kl,{for:m.value,clickable:!0,onClick:h=>h.stopPropagation()},{default:()=>[O]})])}),{isFocused:y,input:b}}}),Nl=q({indeterminate:Boolean,indeterminateIcon:{type:Q,default:"$checkboxIndeterminate"},...jt({falseIcon:"$checkboxOff",trueIcon:"$checkboxOn"})},"VCheckboxBtn"),bt=U()({name:"VCheckboxBtn",props:Nl(),emits:{"update:modelValue":n=>!0,"update:indeterminate":n=>!0},setup(n,o){let{slots:t}=o;const l=ne(n,"indeterminate"),r=ne(n,"modelValue");function i(a){l.value&&(l.value=!1)}const c=e.computed(()=>l.value?n.indeterminateIcon:n.falseIcon),s=e.computed(()=>l.value?n.indeterminateIcon:n.trueIcon);return K(()=>{const a=Oe(Hn.filterProps(n),["modelValue"]);return e.createVNode(Hn,e.mergeProps(a,{modelValue:r.value,"onUpdate:modelValue":[u=>r.value=u,i],class:["v-checkbox-btn",n.class],style:n.style,type:"checkbox",falseIcon:c.value,trueIcon:s.value,"aria-checked":l.value?"mixed":void 0}),t)}),{}}});function Al(n){const{t:o}=Tt();return{InputIcon:function(t){let{name:l}=t;const r={prepend:"prependAction",prependInner:"prependAction",append:"appendAction",appendInner:"appendAction",clear:"clear"}[l],i=n[`onClick:${l}`],c=i&&r?o(`$vuetify.input.${r}`,n.label??""):void 0;return e.createVNode(ee,{icon:n[`${l}Icon`],"aria-label":c,onClick:i},null)}}}const Ya=q({active:Boolean,color:String,messages:{type:[Array,String],default:()=>[]},...Z(),...Sn({transition:{component:al,leaveAbsolute:!0,group:!0}})},"VMessages"),Xa=U()({name:"VMessages",props:Ya(),setup(n,o){let{slots:t}=o;const l=e.computed(()=>Be(n.messages)),{textColorClasses:r,textColorStyles:i}=Ce(e.computed(()=>n.color));return K(()=>e.createVNode(we,{transition:n.transition,tag:"div",class:["v-messages",r.value,n.class],style:[i.value,n.style],role:"alert","aria-live":"polite"},{default:()=>[n.active&&l.value.map((c,s)=>e.createVNode("div",{class:"v-messages__message",key:`${s}-${l.value}`},[t.message?t.message({message:c}):c]))]})),{}}}),Pl=q({focused:Boolean,"onUpdate:focused":ye()},"focus");function xn(n){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ge();const t=ne(n,"focused");return{focusClasses:e.computed(()=>({[`${o}--focused`]:t.value})),isFocused:t,focus:function(){t.value=!0},blur:function(){t.value=!1}}}const Ka=Symbol.for("vuetify:form");function _l(){return e.inject(Ka,null)}const Ja=q({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,...Pl()},"validation"),Fn=q({id:String,appendIcon:Q,centerAffix:{type:Boolean,default:!0},prependIcon:Q,hideDetails:[Boolean,String],hideSpinButtons:Boolean,hint:String,persistentHint:Boolean,messages:{type:[Array,String],default:()=>[]},direction:{type:String,default:"horizontal",validator:n=>["horizontal","vertical"].includes(n)},"onClick:prepend":ye(),"onClick:append":ye(),...Z(),...he(),...Ja()},"VInput"),ke=U()({name:"VInput",props:{...Fn()},emits:{"update:modelValue":n=>!0},setup(n,o){let{attrs:t,slots:l,emit:r}=o;const{densityClasses:i}=Ie(n),{rtlClasses:c}=Cn(),{InputIcon:s}=Al(n),a=fe(),u=e.computed(()=>n.id||`input-${a}`),f=e.computed(()=>`${u.value}-messages`),{errorMessages:v,isDirty:p,isDisabled:d,isReadonly:m,isPristine:y,isValid:g,isValidating:b,reset:P,resetValidation:x,validate:j,validationClasses:O}=function(I){let w=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ge(),_=arguments.length>2&&arguments[2]!==void 0?arguments[2]:fe();const h=ne(I,"modelValue"),B=e.computed(()=>I.validationValue===void 0?h.value:I.validationValue),V=_l(),M=e.ref([]),L=e.shallowRef(!0),F=e.computed(()=>!(!Be(h.value===""?null:h.value).length&&!Be(B.value===""?null:B.value).length)),S=e.computed(()=>!!(I.disabled??(V==null?void 0:V.isDisabled.value))),k=e.computed(()=>!!(I.readonly??(V==null?void 0:V.isReadonly.value))),z=e.computed(()=>{var H;return(H=I.errorMessages)!=null&&H.length?Be(I.errorMessages).concat(M.value).slice(0,Math.max(0,+I.maxErrors)):M.value}),T=e.computed(()=>{let H=(I.validateOn??(V==null?void 0:V.validateOn.value))||"input";H==="lazy"&&(H="input lazy");const X=new Set((H==null?void 0:H.split(" "))??[]);return{blur:X.has("blur")||X.has("input"),input:X.has("input"),submit:X.has("submit"),lazy:X.has("lazy")}}),N=e.computed(()=>{var H;return!I.error&&!((H=I.errorMessages)!=null&&H.length)&&(!I.rules.length||(L.value?!M.value.length&&!T.value.lazy||null:!M.value.length))}),$=e.shallowRef(!1),G=e.computed(()=>({[`${w}--error`]:N.value===!1,[`${w}--dirty`]:F.value,[`${w}--disabled`]:S.value,[`${w}--readonly`]:k.value})),C=e.computed(()=>I.name??e.unref(_));function A(){h.value=null,e.nextTick(E)}function E(){L.value=!0,T.value.lazy?M.value=[]:W(!0)}async function W(){let H=arguments.length>0&&arguments[0]!==void 0&&arguments[0];const X=[];$.value=!0;for(const te of I.rules){if(X.length>=+(I.maxErrors??1))break;const re=typeof te=="function"?te:()=>te,se=await re(B.value);se!==!0&&(se===!1||typeof se=="string"?X.push(se||""):console.warn(`${se} is not a valid value. Rule functions must return boolean true or a string.`))}return M.value=X,$.value=!1,L.value=H,M.value}return e.onBeforeMount(()=>{V==null||V.register({id:C.value,validate:W,reset:A,resetValidation:E})}),e.onBeforeUnmount(()=>{V==null||V.unregister(C.value)}),e.onMounted(async()=>{T.value.lazy||await W(!0),V==null||V.update(C.value,N.value,z.value)}),Ae(()=>T.value.input,()=>{e.watch(B,()=>{if(B.value!=null)W();else if(I.focused){const H=e.watch(()=>I.focused,X=>{X||W(),H()})}})}),Ae(()=>T.value.blur,()=>{e.watch(()=>I.focused,H=>{H||W()})}),e.watch(N,()=>{V==null||V.update(C.value,N.value,z.value)}),{errorMessages:z,isDirty:F,isDisabled:S,isReadonly:k,isPristine:L,isValid:N,isValidating:$,reset:A,resetValidation:E,validate:W,validationClasses:G}}(n,"v-input",u),R=e.computed(()=>({id:u,messagesId:f,isDirty:p,isDisabled:d,isReadonly:m,isPristine:y,isValid:g,isValidating:b,reset:P,resetValidation:x,validate:j})),D=e.computed(()=>{var I;return(I=n.errorMessages)!=null&&I.length||!y.value&&v.value.length?v.value:n.hint&&(n.persistentHint||n.focused)?n.hint:n.messages});return K(()=>{var B,V,M,L;const I=!(!l.prepend&&!n.prependIcon),w=!(!l.append&&!n.appendIcon),_=D.value.length>0,h=!n.hideDetails||n.hideDetails==="auto"&&(_||!!l.details);return e.createVNode("div",{class:["v-input",`v-input--${n.direction}`,{"v-input--center-affix":n.centerAffix,"v-input--hide-spin-buttons":n.hideSpinButtons},i.value,c.value,O.value,n.class],style:n.style},[I&&e.createVNode("div",{key:"prepend",class:"v-input__prepend"},[(B=l.prepend)==null?void 0:B.call(l,R.value),n.prependIcon&&e.createVNode(s,{key:"prepend-icon",name:"prepend"},null)]),l.default&&e.createVNode("div",{class:"v-input__control"},[(V=l.default)==null?void 0:V.call(l,R.value)]),w&&e.createVNode("div",{key:"append",class:"v-input__append"},[n.appendIcon&&e.createVNode(s,{key:"append-icon",name:"append"},null),(M=l.append)==null?void 0:M.call(l,R.value)]),h&&e.createVNode("div",{class:"v-input__details"},[e.createVNode(Xa,{id:f.value,active:_,messages:D.value},{message:l.message}),(L=l.details)==null?void 0:L.call(l,R.value)])])}),{reset:P,resetValidation:x,validate:j,isValid:g,errorMessages:v}}}),Za=q({...Fn(),...Oe(Nl(),["inline"])},"VCheckbox"),Qa=U()({name:"VCheckbox",inheritAttrs:!1,props:Za(),emits:{"update:modelValue":n=>!0,"update:focused":n=>!0},setup(n,o){let{attrs:t,slots:l}=o;const r=ne(n,"modelValue"),{isFocused:i,focus:c,blur:s}=xn(n),a=fe(),u=e.computed(()=>n.id||`checkbox-${a}`);return K(()=>{const[f,v]=hn(t),p=ke.filterProps(n),d=bt.filterProps(n);return e.createVNode(ke,e.mergeProps({class:["v-checkbox",n.class]},f,p,{modelValue:r.value,"onUpdate:modelValue":m=>r.value=m,id:u.value,focused:i.value,style:n.style}),{...l,default:m=>{let{id:y,messagesId:g,isDisabled:b,isReadonly:P}=m;return e.createVNode(bt,e.mergeProps(d,{id:y.value,"aria-describedby":g.value,disabled:b.value,readonly:P.value},v,{modelValue:r.value,"onUpdate:modelValue":x=>r.value=x,onFocus:c,onBlur:s}),l)}})}),{}}}),er=q({start:Boolean,end:Boolean,icon:Q,image:String,text:String,...Z(),...he(),...Se(),...wn(),...pe(),...oe(),...xe({variant:"flat"})},"VAvatar"),Je=U()({name:"VAvatar",props:er(),setup(n,o){let{slots:t}=o;const{themeClasses:l}=ie(n),{colorClasses:r,colorStyles:i,variantClasses:c}=In(n),{densityClasses:s}=Ie(n),{roundedClasses:a}=Ve(n),{sizeClasses:u,sizeStyles:f}=Bn(n);return K(()=>e.createVNode(n.tag,{class:["v-avatar",{"v-avatar--start":n.start,"v-avatar--end":n.end},l.value,r.value,s.value,a.value,u.value,c.value,n.class],style:[i.value,f.value,n.style]},{default:()=>{var v;return[n.image?e.createVNode(sl,{key:"image",src:n.image,alt:"",cover:!0},null):n.icon?e.createVNode(ee,{key:"icon",icon:n.icon},null):((v=t.default)==null?void 0:v.call(t))??n.text,Vn(!1,"v-avatar")]}})),{}}}),Ol=Symbol.for("vuetify:v-chip-group"),nr=q({column:Boolean,filter:Boolean,valueComparator:{type:Function,default:gn},...Z(),...cl({selectedClass:"v-chip--selected"}),...pe(),...oe(),...xe({variant:"tonal"})},"VChipGroup");U()({name:"VChipGroup",props:nr(),emits:{"update:modelValue":n=>!0},setup(n,o){let{slots:t}=o;const{themeClasses:l}=ie(n),{isSelected:r,select:i,next:c,prev:s,selected:a}=vl(n,Ol);return Ze({VChip:{color:e.toRef(n,"color"),disabled:e.toRef(n,"disabled"),filter:e.toRef(n,"filter"),variant:e.toRef(n,"variant")}}),K(()=>e.createVNode(n.tag,{class:["v-chip-group",{"v-chip-group--column":n.column},l.value,n.class],style:n.style},{default:()=>{var u;return[(u=t.default)==null?void 0:u.call(t,{isSelected:r,select:i,next:c,prev:s,selected:a.value})]}})),{}}});const tr=q({activeClass:String,appendAvatar:String,appendIcon:Q,closable:Boolean,closeIcon:{type:Q,default:"$delete"},closeLabel:{type:String,default:"$vuetify.close"},draggable:Boolean,filter:Boolean,filterIcon:{type:String,default:"$complete"},label:Boolean,link:{type:Boolean,default:void 0},pill:Boolean,prependAvatar:String,prependIcon:Q,ripple:{type:[Boolean,Object],default:!0},text:String,modelValue:{type:Boolean,default:!0},onClick:ye(),onClickOnce:ye(),...Qe(),...Z(),...he(),...nn(),...dl(),...Se(),...nt(),...wn(),...pe({tag:"span"}),...oe(),...xe({variant:"tonal"})},"VChip"),or=U()({name:"VChip",directives:{Ripple:kn},props:tr(),emits:{"click:close":n=>!0,"update:modelValue":n=>!0,"group:selected":n=>!0,click:n=>!0},setup(n,o){let{attrs:t,emit:l,slots:r}=o;const{t:i}=Tt(),{borderClasses:c}=en(n),{colorClasses:s,colorStyles:a,variantClasses:u}=In(n),{densityClasses:f}=Ie(n),{elevationClasses:v}=tn(n),{roundedClasses:p}=Ve(n),{sizeClasses:d}=Bn(n),{themeClasses:m}=ie(n),y=ne(n,"modelValue"),g=pl(n,Ol,!1),b=et(n,t),P=e.computed(()=>n.link!==!1&&b.isLink.value),x=e.computed(()=>!n.disabled&&n.link!==!1&&(!!g||n.link||b.isClickable.value)),j=e.computed(()=>({"aria-label":i(n.closeLabel),onClick(D){D.stopPropagation(),y.value=!1,l("click:close",D)}}));function O(D){var I;l("click",D),x.value&&((I=b.navigate)==null||I.call(b,D),g==null||g.toggle())}function R(D){D.key!=="Enter"&&D.key!==" "||(D.preventDefault(),O(D))}return()=>{const D=b.isLink.value?"a":n.tag,I=!(!n.appendIcon&&!n.appendAvatar),w=!(!I&&!r.append),_=!(!r.close&&!n.closable),h=!(!r.filter&&!n.filter)&&g,B=!(!n.prependIcon&&!n.prependAvatar),V=!(!B&&!r.prepend),M=!g||g.isSelected.value;return y.value&&e.withDirectives(e.createVNode(D,{class:["v-chip",{"v-chip--disabled":n.disabled,"v-chip--label":n.label,"v-chip--link":x.value,"v-chip--filter":h,"v-chip--pill":n.pill},m.value,c.value,M?s.value:void 0,f.value,v.value,p.value,d.value,u.value,g==null?void 0:g.selectedClass.value,n.class],style:[M?a.value:void 0,n.style],disabled:n.disabled||void 0,draggable:n.draggable,href:b.href.value,tabindex:x.value?0:void 0,onClick:O,onKeydown:x.value&&!P.value&&R},{default:()=>{var L;return[Vn(x.value,"v-chip"),h&&e.createVNode(rl,{key:"filter"},{default:()=>[e.withDirectives(e.createVNode("div",{class:"v-chip__filter"},[r.filter?e.createVNode(le,{key:"filter-defaults",disabled:!n.filterIcon,defaults:{VIcon:{icon:n.filterIcon}}},r.filter):e.createVNode(ee,{key:"filter-icon",icon:n.filterIcon},null)]),[[e.vShow,g.isSelected.value]])]}),V&&e.createVNode("div",{key:"prepend",class:"v-chip__prepend"},[r.prepend?e.createVNode(le,{key:"prepend-defaults",disabled:!B,defaults:{VAvatar:{image:n.prependAvatar,start:!0},VIcon:{icon:n.prependIcon,start:!0}}},r.prepend):e.createVNode(e.Fragment,null,[n.prependIcon&&e.createVNode(ee,{key:"prepend-icon",icon:n.prependIcon,start:!0},null),n.prependAvatar&&e.createVNode(Je,{key:"prepend-avatar",image:n.prependAvatar,start:!0},null)])]),e.createVNode("div",{class:"v-chip__content"},[((L=r.default)==null?void 0:L.call(r,{isSelected:g==null?void 0:g.isSelected.value,selectedClass:g==null?void 0:g.selectedClass.value,select:g==null?void 0:g.select,toggle:g==null?void 0:g.toggle,value:g==null?void 0:g.value.value,disabled:n.disabled}))??n.text]),w&&e.createVNode("div",{key:"append",class:"v-chip__append"},[r.append?e.createVNode(le,{key:"append-defaults",disabled:!I,defaults:{VAvatar:{end:!0,image:n.appendAvatar},VIcon:{end:!0,icon:n.appendIcon}}},r.append):e.createVNode(e.Fragment,null,[n.appendIcon&&e.createVNode(ee,{key:"append-icon",end:!0,icon:n.appendIcon},null),n.appendAvatar&&e.createVNode(Je,{key:"append-avatar",end:!0,image:n.appendAvatar},null)])]),_&&e.createVNode("div",e.mergeProps({key:"close",class:"v-chip__close"},j.value),[r.close?e.createVNode(le,{key:"close-defaults",defaults:{VIcon:{icon:n.closeIcon,size:"x-small"}}},r.close):e.createVNode(ee,{key:"close-icon",icon:n.closeIcon,size:"x-small"},null)])]}}),[[e.resolveDirective("ripple"),x.value&&n.ripple,null]])}}}),Ct=Symbol.for("vuetify:list");function El(){const n=e.inject(Ct,{hasPrepend:e.shallowRef(!1),updateHasPrepend:()=>null}),o={hasPrepend:e.shallowRef(!1),updateHasPrepend:t=>{t&&(o.hasPrepend.value=t)}};return e.provide(Ct,o),n}function zl(){return e.inject(Ct,null)}const lr={open:n=>{let{id:o,value:t,opened:l,parents:r}=n;if(t){const i=new Set;i.add(o);let c=r.get(o);for(;c!=null;)i.add(c),c=r.get(c);return i}return l.delete(o),l},select:()=>null},Tl={open:n=>{let{id:o,value:t,opened:l,parents:r}=n;if(t){let i=r.get(o);for(l.add(o);i!=null&&i!==o;)l.add(i),i=r.get(i);return l}return l.delete(o),l},select:()=>null},ar={open:Tl.open,select:n=>{let{id:o,value:t,opened:l,parents:r}=n;if(!t)return l;const i=[];let c=r.get(o);for(;c!=null;)i.push(c),c=r.get(c);return new Set(i)}},St=n=>{const o={select:t=>{let{id:l,value:r,selected:i}=t;if(l=e.toRaw(l),n&&!r){const c=Array.from(i.entries()).reduce((s,a)=>{let[u,f]=a;return f==="on"?[...s,u]:s},[]);if(c.length===1&&c[0]===l)return i}return i.set(l,r?"on":"off"),i},in:(t,l,r)=>{let i=new Map;for(const c of t||[])i=o.select({id:c,value:!0,selected:new Map(i),children:l,parents:r});return i},out:t=>{const l=[];for(const[r,i]of t.entries())i==="on"&&l.push(r);return l}};return o},Fo=n=>{const o=St(n);return{select:t=>{let{selected:l,id:r,...i}=t;r=e.toRaw(r);const c=l.has(r)?new Map([[r,l.get(r)]]):new Map;return o.select({...i,id:r,selected:c})},in:(t,l,r)=>{let i=new Map;return t!=null&&t.length&&(i=o.in(t.slice(0,1),l,r)),i},out:(t,l,r)=>o.out(t,l,r)}},fn=Symbol.for("vuetify:nested"),$l={id:e.shallowRef(),root:{register:()=>null,unregister:()=>null,parents:e.ref(new Map),children:e.ref(new Map),open:()=>null,openOnSelect:()=>null,select:()=>null,opened:e.ref(new Set),selected:e.ref(new Map),selectedValues:e.ref([])}},rr=q({selectStrategy:[String,Function],openStrategy:[String,Object],opened:Array,selected:Array,mandatory:Boolean},"nested"),ir=n=>{let o=!1;const t=e.ref(new Map),l=e.ref(new Map),r=ne(n,"opened",n.opened,v=>new Set(v),v=>[...v.values()]),i=e.computed(()=>{if(typeof n.selectStrategy=="object")return n.selectStrategy;switch(n.selectStrategy){case"single-leaf":return(v=>{const p=Fo(v);return{select:d=>{let{id:m,selected:y,children:g,...b}=d;return m=e.toRaw(m),g.has(m)?y:p.select({id:m,selected:y,children:g,...b})},in:p.in,out:p.out}})(n.mandatory);case"leaf":return(v=>{const p=St(v);return{select:d=>{let{id:m,selected:y,children:g,...b}=d;return m=e.toRaw(m),g.has(m)?y:p.select({id:m,selected:y,children:g,...b})},in:p.in,out:p.out}})(n.mandatory);case"independent":return St(n.mandatory);case"single-independent":return Fo(n.mandatory);default:return(v=>{const p={select:d=>{let{id:m,value:y,selected:g,children:b,parents:P}=d;m=e.toRaw(m);const x=new Map(g),j=[m];for(;j.length;){const R=j.shift();g.set(R,y?"on":"off"),b.has(R)&&j.push(...b.get(R))}let O=P.get(m);for(;O;){const R=b.get(O),D=R.every(w=>g.get(w)==="on"),I=R.every(w=>!g.has(w)||g.get(w)==="off");g.set(O,D?"on":I?"off":"indeterminate"),O=P.get(O)}return v&&!y&&Array.from(g.entries()).reduce((D,I)=>{let[w,_]=I;return _==="on"?[...D,w]:D},[]).length===0?x:g},in:(d,m,y)=>{let g=new Map;for(const b of d||[])g=p.select({id:b,value:!0,selected:new Map(g),children:m,parents:y});return g},out:(d,m)=>{const y=[];for(const[g,b]of d.entries())b!=="on"||m.has(g)||y.push(g);return y}};return p})(n.mandatory)}}),c=e.computed(()=>{if(typeof n.openStrategy=="object")return n.openStrategy;switch(n.openStrategy){case"list":return ar;case"single":return lr;default:return Tl}}),s=ne(n,"selected",n.selected,v=>i.value.in(v,t.value,l.value),v=>i.value.out(v,t.value,l.value));function a(v){const p=[];let d=v;for(;d!=null;)p.unshift(d),d=l.value.get(d);return p}e.onBeforeUnmount(()=>{o=!0});const u=ae("nested"),f={id:e.shallowRef(),root:{opened:r,selected:s,selectedValues:e.computed(()=>{const v=[];for(const[p,d]of s.value.entries())d==="on"&&v.push(p);return v}),register:(v,p,d)=>{p&&v!==p&&l.value.set(v,p),d&&t.value.set(v,[]),p!=null&&t.value.set(p,[...t.value.get(p)||[],v])},unregister:v=>{if(o)return;t.value.delete(v);const p=l.value.get(v);if(p){const d=t.value.get(p)??[];t.value.set(p,d.filter(m=>m!==v))}l.value.delete(v),r.value.delete(v)},open:(v,p,d)=>{u.emit("click:open",{id:v,value:p,path:a(v),event:d});const m=c.value.open({id:v,value:p,opened:new Set(r.value),children:t.value,parents:l.value,event:d});m&&(r.value=m)},openOnSelect:(v,p,d)=>{const m=c.value.select({id:v,value:p,selected:new Map(s.value),opened:new Set(r.value),children:t.value,parents:l.value,event:d});m&&(r.value=m)},select:(v,p,d)=>{u.emit("click:select",{id:v,value:p,path:a(v),event:d});const m=i.value.select({id:v,value:p,selected:new Map(s.value),children:t.value,parents:l.value,event:d});m&&(s.value=m),f.root.openOnSelect(v,p,d)},children:t,parents:l}};return e.provide(fn,f),f.root},Rl=(n,o)=>{const t=e.inject(fn,$l),l=Symbol(fe()),r=e.computed(()=>n.value!==void 0?n.value:l),i={...t,id:r,open:(c,s)=>t.root.open(r.value,c,s),openOnSelect:(c,s)=>t.root.openOnSelect(r.value,c,s),isOpen:e.computed(()=>t.root.opened.value.has(r.value)),parent:e.computed(()=>t.root.parents.value.get(r.value)),select:(c,s)=>t.root.select(r.value,c,s),isSelected:e.computed(()=>t.root.selected.value.get(e.toRaw(r.value))==="on"),isIndeterminate:e.computed(()=>t.root.selected.value.get(r.value)==="indeterminate"),isLeaf:e.computed(()=>!t.root.children.value.get(r.value)),isGroupActivator:t.isGroupActivator};return!t.isGroupActivator&&t.root.register(r.value,t.id.value,o),e.onBeforeUnmount(()=>{!t.isGroupActivator&&t.root.unregister(r.value)}),o&&e.provide(fn,i),i},sr=dn({name:"VListGroupActivator",setup(n,o){let{slots:t}=o;return(()=>{const l=e.inject(fn,$l);e.provide(fn,{...l,isGroupActivator:!0})})(),()=>{var l;return(l=t.default)==null?void 0:l.call(t)}}}),ur=q({activeColor:String,baseColor:String,color:String,collapseIcon:{type:Q,default:"$collapse"},expandIcon:{type:Q,default:"$expand"},prependIcon:Q,appendIcon:Q,fluid:Boolean,subgroup:Boolean,title:String,value:null,...Z(),...pe()},"VListGroup"),No=U()({name:"VListGroup",props:ur(),setup(n,o){let{slots:t}=o;const{isOpen:l,open:r,id:i}=Rl(e.toRef(n,"value"),!0),c=e.computed(()=>`v-list-group--id-${String(i.value)}`),s=zl(),{isBooted:a}=function(){const d=e.shallowRef(!1);return e.onMounted(()=>{window.requestAnimationFrame(()=>{d.value=!0})}),{ssrBootStyles:e.computed(()=>d.value?void 0:{transition:"none !important"}),isBooted:e.readonly(d)}}();function u(d){r(!l.value,d)}const f=e.computed(()=>({onClick:u,class:"v-list-group__header",id:c.value})),v=e.computed(()=>l.value?n.collapseIcon:n.expandIcon),p=e.computed(()=>({VListItem:{active:l.value,activeColor:n.activeColor,baseColor:n.baseColor,color:n.color,prependIcon:n.prependIcon||n.subgroup&&v.value,appendIcon:n.appendIcon||!n.subgroup&&v.value,title:n.title,value:n.value}}));return K(()=>e.createVNode(n.tag,{class:["v-list-group",{"v-list-group--prepend":s==null?void 0:s.hasPrepend.value,"v-list-group--fluid":n.fluid,"v-list-group--subgroup":n.subgroup,"v-list-group--open":l.value},n.class],style:n.style},{default:()=>[t.activator&&e.createVNode(le,{defaults:p.value},{default:()=>[e.createVNode(sr,null,{default:()=>[t.activator({props:f.value,isOpen:l.value})]})]}),e.createVNode(we,{transition:{component:Aa},disabled:!a.value},{default:()=>{var d;return[e.withDirectives(e.createVNode("div",{class:"v-list-group__items",role:"group","aria-labelledby":c.value},[(d=t.default)==null?void 0:d.call(t)]),[[e.vShow,l.value]])]}})]})),{}}}),cr=bn("v-list-item-subtitle"),dr=bn("v-list-item-title"),pr=q({active:{type:Boolean,default:void 0},activeClass:String,activeColor:String,appendAvatar:String,appendIcon:Q,baseColor:String,disabled:Boolean,lines:String,link:{type:Boolean,default:void 0},nav:Boolean,prependAvatar:String,prependIcon:Q,ripple:{type:[Boolean,Object],default:!0},slim:Boolean,subtitle:[String,Number,Boolean],title:[String,Number,Boolean],value:null,onClick:ye(),onClickOnce:ye(),...Qe(),...Z(),...he(),...Ee(),...nn(),...Se(),...nt(),...pe(),...oe(),...xe({variant:"text"})},"VListItem"),Un=U()({name:"VListItem",directives:{Ripple:kn},props:pr(),emits:{click:n=>!0},setup(n,o){let{attrs:t,slots:l,emit:r}=o;const i=et(n,t),c=e.computed(()=>n.value===void 0?i.href.value:n.value),{select:s,isSelected:a,isIndeterminate:u,isGroupActivator:f,root:v,parent:p,openOnSelect:d}=Rl(c,!1),m=zl(),y=e.computed(()=>{var k;return n.active!==!1&&(n.active||((k=i.isActive)==null?void 0:k.value)||a.value)}),g=e.computed(()=>n.link!==!1&&i.isLink.value),b=e.computed(()=>!n.disabled&&n.link!==!1&&(n.link||i.isClickable.value||n.value!=null&&!!m)),P=e.computed(()=>n.rounded||n.nav),x=e.computed(()=>n.color??n.activeColor),j=e.computed(()=>({color:y.value?x.value??n.baseColor:n.baseColor,variant:n.variant}));e.watch(()=>{var k;return(k=i.isActive)==null?void 0:k.value},k=>{k&&p.value!=null&&v.open(p.value,!0),k&&d(k)},{immediate:!0});const{themeClasses:O}=ie(n),{borderClasses:R}=en(n),{colorClasses:D,colorStyles:I,variantClasses:w}=In(j),{densityClasses:_}=Ie(n),{dimensionStyles:h}=ze(n),{elevationClasses:B}=tn(n),{roundedClasses:V}=Ve(P),M=e.computed(()=>n.lines?`v-list-item--${n.lines}-line`:void 0),L=e.computed(()=>({isActive:y.value,select:s,isSelected:a.value,isIndeterminate:u.value}));function F(k){var z;r("click",k),!f&&b.value&&((z=i.navigate)==null||z.call(i,k),n.value!=null&&s(!a.value,k))}function S(k){k.key!=="Enter"&&k.key!==" "||(k.preventDefault(),F(k))}return K(()=>{const k=g.value?"a":n.tag,z=l.title||n.title,T=l.subtitle||n.subtitle,N=!(!n.appendAvatar&&!n.appendIcon),$=!(!N&&!l.append),G=!(!n.prependAvatar&&!n.prependIcon),C=!(!G&&!l.prepend);var A,E;return m==null||m.updateHasPrepend(C),n.activeColor&&(A="active-color",E=["color","base-color"],E=Array.isArray(E)?E.slice(0,-1).map(W=>`'${W}'`).join(", ")+` or '${E.at(-1)}'`:`'${E}'`,e.warn(`[Vuetify UPGRADE] '${A}' is deprecated, use ${E} instead.`)),e.withDirectives(e.createVNode(k,{class:["v-list-item",{"v-list-item--active":y.value,"v-list-item--disabled":n.disabled,"v-list-item--link":b.value,"v-list-item--nav":n.nav,"v-list-item--prepend":!C&&(m==null?void 0:m.hasPrepend.value),"v-list-item--slim":n.slim,[`${n.activeClass}`]:n.activeClass&&y.value},O.value,R.value,D.value,_.value,B.value,M.value,V.value,w.value,n.class],style:[I.value,h.value,n.style],href:i.href.value,tabindex:b.value?m?-2:0:void 0,onClick:F,onKeydown:b.value&&!g.value&&S},{default:()=>{var W;return[Vn(b.value||y.value,"v-list-item"),C&&e.createVNode("div",{key:"prepend",class:"v-list-item__prepend"},[l.prepend?e.createVNode(le,{key:"prepend-defaults",disabled:!G,defaults:{VAvatar:{density:n.density,image:n.prependAvatar},VIcon:{density:n.density,icon:n.prependIcon},VListItemAction:{start:!0}}},{default:()=>{var H;return[(H=l.prepend)==null?void 0:H.call(l,L.value)]}}):e.createVNode(e.Fragment,null,[n.prependAvatar&&e.createVNode(Je,{key:"prepend-avatar",density:n.density,image:n.prependAvatar},null),n.prependIcon&&e.createVNode(ee,{key:"prepend-icon",density:n.density,icon:n.prependIcon},null)]),e.createVNode("div",{class:"v-list-item__spacer"},null)]),e.createVNode("div",{class:"v-list-item__content","data-no-activator":""},[z&&e.createVNode(dr,{key:"title"},{default:()=>{var H;return[((H=l.title)==null?void 0:H.call(l,{title:n.title}))??n.title]}}),T&&e.createVNode(cr,{key:"subtitle"},{default:()=>{var H;return[((H=l.subtitle)==null?void 0:H.call(l,{subtitle:n.subtitle}))??n.subtitle]}}),(W=l.default)==null?void 0:W.call(l,L.value)]),$&&e.createVNode("div",{key:"append",class:"v-list-item__append"},[l.append?e.createVNode(le,{key:"append-defaults",disabled:!N,defaults:{VAvatar:{density:n.density,image:n.appendAvatar},VIcon:{density:n.density,icon:n.appendIcon},VListItemAction:{end:!0}}},{default:()=>{var H;return[(H=l.append)==null?void 0:H.call(l,L.value)]}}):e.createVNode(e.Fragment,null,[n.appendIcon&&e.createVNode(ee,{key:"append-icon",density:n.density,icon:n.appendIcon},null),n.appendAvatar&&e.createVNode(Je,{key:"append-avatar",density:n.density,image:n.appendAvatar},null)]),e.createVNode("div",{class:"v-list-item__spacer"},null)])]}}),[[e.resolveDirective("ripple"),b.value&&n.ripple]])}),{}}}),vr=q({color:String,inset:Boolean,sticky:Boolean,title:String,...Z(),...pe()},"VListSubheader"),fr=U()({name:"VListSubheader",props:vr(),setup(n,o){let{slots:t}=o;const{textColorClasses:l,textColorStyles:r}=Ce(e.toRef(n,"color"));return K(()=>{const i=!(!t.default&&!n.title);return e.createVNode(n.tag,{class:["v-list-subheader",{"v-list-subheader--inset":n.inset,"v-list-subheader--sticky":n.sticky},l.value,n.class],style:[{textColorStyles:r},n.style]},{default:()=>{var c;return[i&&e.createVNode("div",{class:"v-list-subheader__text"},[((c=t.default)==null?void 0:c.call(t))??n.title])]}})}),{}}}),mr=q({color:String,inset:Boolean,length:[Number,String],thickness:[Number,String],vertical:Boolean,...Z(),...oe()},"VDivider"),yr=U()({name:"VDivider",props:mr(),setup(n,o){let{attrs:t}=o;const{themeClasses:l}=ie(n),{textColorClasses:r,textColorStyles:i}=Ce(e.toRef(n,"color")),c=e.computed(()=>{const s={};return n.length&&(s[n.vertical?"maxHeight":"maxWidth"]=Y(n.length)),n.thickness&&(s[n.vertical?"borderRightWidth":"borderTopWidth"]=Y(n.thickness)),s});return K(()=>e.createVNode("hr",{class:[{"v-divider":!0,"v-divider--inset":n.inset,"v-divider--vertical":n.vertical},l.value,r.value,n.class],style:[c.value,i.value,n.style],"aria-orientation":t.role&&t.role!=="separator"?void 0:n.vertical?"vertical":"horizontal",role:`${t.role||"separator"}`},null)),{}}}),gr=q({items:Array,returnObject:Boolean},"VListChildren"),Dl=U()({name:"VListChildren",props:gr(),setup(n,o){let{slots:t}=o;return El(),()=>{var l,r;return((l=t.default)==null?void 0:l.call(t))??((r=n.items)==null?void 0:r.map(i=>{var p,d;let{children:c,props:s,type:a,raw:u}=i;if(a==="divider")return((p=t.divider)==null?void 0:p.call(t,{props:s}))??e.createVNode(yr,s,null);if(a==="subheader")return((d=t.subheader)==null?void 0:d.call(t,{props:s}))??e.createVNode(fr,s,null);const f={subtitle:t.subtitle?m=>{var y;return(y=t.subtitle)==null?void 0:y.call(t,{...m,item:u})}:void 0,prepend:t.prepend?m=>{var y;return(y=t.prepend)==null?void 0:y.call(t,{...m,item:u})}:void 0,append:t.append?m=>{var y;return(y=t.append)==null?void 0:y.call(t,{...m,item:u})}:void 0,title:t.title?m=>{var y;return(y=t.title)==null?void 0:y.call(t,{...m,item:u})}:void 0},v=No.filterProps(s);return c?e.createVNode(No,e.mergeProps({value:s==null?void 0:s.value},v),{activator:m=>{let{props:y}=m;const g={...s,...y,value:n.returnObject?u:s.value};return t.header?t.header({props:g}):e.createVNode(Un,g,f)},default:()=>e.createVNode(Dl,{items:c},t)}):t.item?t.item({props:s}):e.createVNode(Un,e.mergeProps(s,{value:n.returnObject?u:s.value}),f)}))}}}),Ll=q({items:{type:Array,default:()=>[]},itemTitle:{type:[String,Array,Function],default:"title"},itemValue:{type:[String,Array,Function],default:"value"},itemChildren:{type:[Boolean,String,Array,Function],default:"children"},itemProps:{type:[Boolean,String,Array,Function],default:"props"},returnObject:Boolean,valueComparator:{type:Function,default:gn}},"list-items");function Vt(n,o){const t=be(o,n.itemTitle,o),l=be(o,n.itemValue,t),r=be(o,n.itemChildren),i={title:t,value:l,...n.itemProps===!0?typeof o!="object"||o==null||Array.isArray(o)?void 0:"children"in o?Oe(o,["children"]):o:be(o,n.itemProps)};return{title:String(i.title??""),value:i.value,props:i,children:Array.isArray(r)?Ml(n,r):void 0,raw:o}}function Ml(n,o){const t=[];for(const l of o)t.push(Vt(n,l));return t}function hr(n,o){const t=be(o,n.itemType,"item"),l=function(s){return typeof s=="string"||typeof s=="number"||typeof s=="boolean"}(o)?o:be(o,n.itemTitle),r=be(o,n.itemValue,void 0),i=be(o,n.itemChildren),c={title:l,value:r,...n.itemProps===!0?Oe(o,["children"]):be(o,n.itemProps)};return{type:t,title:c.title,value:c.value,props:c,children:t==="item"&&i?Wl(n,i):void 0,raw:o}}function Wl(n,o){const t=[];for(const l of o)t.push(hr(n,l));return t}const br=q({baseColor:String,activeColor:String,activeClass:String,bgColor:String,disabled:Boolean,lines:{type:[Boolean,String],default:"one"},slim:Boolean,nav:Boolean,...rr({selectStrategy:"single-leaf",openStrategy:"list"}),...Qe(),...Z(),...he(),...Ee(),...nn(),itemType:{type:String,default:"type"},...Ll(),...Se(),...pe(),...oe(),...xe({variant:"text"})},"VList"),Cr=U()({name:"VList",props:br(),emits:{"update:selected":n=>!0,"update:opened":n=>!0,"click:open":n=>!0,"click:select":n=>!0},setup(n,o){let{slots:t}=o;const{items:l}=function(w){return{items:e.computed(()=>Wl(w,w.items))}}(n),{themeClasses:r}=ie(n),{backgroundColorClasses:i,backgroundColorStyles:c}=Ke(e.toRef(n,"bgColor")),{borderClasses:s}=en(n),{densityClasses:a}=Ie(n),{dimensionStyles:u}=ze(n),{elevationClasses:f}=tn(n),{roundedClasses:v}=Ve(n),{open:p,select:d}=ir(n),m=e.computed(()=>n.lines?`v-list--${n.lines}-line`:void 0),y=e.toRef(n,"activeColor"),g=e.toRef(n,"baseColor"),b=e.toRef(n,"color");El(),Ze({VListGroup:{activeColor:y,baseColor:g,color:b},VListItem:{activeClass:e.toRef(n,"activeClass"),activeColor:y,baseColor:g,color:b,density:e.toRef(n,"density"),disabled:e.toRef(n,"disabled"),lines:e.toRef(n,"lines"),nav:e.toRef(n,"nav"),slim:e.toRef(n,"slim"),variant:e.toRef(n,"variant")}});const P=e.shallowRef(!1),x=e.ref();function j(w){P.value=!0}function O(w){P.value=!1}function R(w){var _;P.value||w.relatedTarget&&((_=x.value)!=null&&_.contains(w.relatedTarget))||I()}function D(w){if(x.value){if(w.key==="ArrowDown")I("next");else if(w.key==="ArrowUp")I("prev");else if(w.key==="Home")I("first");else{if(w.key!=="End")return;I("last")}w.preventDefault()}}function I(w){if(x.value)return Dn(x.value,w)}return K(()=>e.createVNode(n.tag,{ref:x,class:["v-list",{"v-list--disabled":n.disabled,"v-list--nav":n.nav},r.value,i.value,s.value,a.value,f.value,m.value,v.value,n.class],style:[c.value,u.value,n.style],tabindex:n.disabled||P.value?-1:0,role:"listbox","aria-activedescendant":void 0,onFocusin:j,onFocusout:O,onFocus:R,onKeydown:D},{default:()=>[e.createVNode(Dl,{items:l.value,returnObject:n.returnObject},t)]})),{open:p,select:d,focus:I}}});function st(n,o){return{x:n.x+o.x,y:n.y+o.y}}function Ao(n,o){if(n.side==="top"||n.side==="bottom"){const{side:t,align:l}=n;return st({x:l==="left"?0:l==="center"?o.width/2:l==="right"?o.width:l,y:t==="top"?0:t==="bottom"?o.height:t},o)}if(n.side==="left"||n.side==="right"){const{side:t,align:l}=n;return st({x:t==="left"?0:t==="right"?o.width:t,y:l==="top"?0:l==="center"?o.height/2:l==="bottom"?o.height:l},o)}return st({x:o.width/2,y:o.height/2},o)}const jl={static:function(){},connected:function(n,o,t){(Array.isArray(n.target.value)||function(d){for(;d;){if(window.getComputedStyle(d).position==="fixed")return!0;d=d.offsetParent}return!1}(n.target.value))&&Object.assign(t.value,{position:"fixed",top:0,[n.isRtl.value?"right":"left"]:0});const{preferredAnchor:l,preferredOrigin:r}=Pt(()=>{const d=mt(o.location,n.isRtl.value),m=o.origin==="overlap"?d:o.origin==="auto"?lt(d):mt(o.origin,n.isRtl.value);return d.side===m.side&&d.align===at(m).align?{preferredAnchor:to(d),preferredOrigin:to(m)}:{preferredAnchor:d,preferredOrigin:m}}),[i,c,s,a]=["minWidth","minHeight","maxWidth","maxHeight"].map(d=>e.computed(()=>{const m=parseFloat(o[d]);return isNaN(m)?1/0:m})),u=e.computed(()=>{if(Array.isArray(o.offset))return o.offset;if(typeof o.offset=="string"){const d=o.offset.split(" ").map(parseFloat);return d.length<2&&d.push(0),d}return typeof o.offset=="number"?[o.offset,0]:[0,0]});let f=!1;const v=new ResizeObserver(()=>{f&&p()});function p(){if(f=!1,requestAnimationFrame(()=>{requestAnimationFrame(()=>f=!0)}),!n.target.value||!n.contentEl.value)return;const d=Ko(n.target.value),m=function(_,h){h?_.style.removeProperty("left"):_.style.removeProperty("right");const B=_t(_);return h?B.x+=parseFloat(_.style.right||0):B.x-=parseFloat(_.style.left||0),B.y-=parseFloat(_.style.top||0),B}(n.contentEl.value,n.isRtl.value),y=jn(n.contentEl.value);y.length||(y.push(document.documentElement),n.contentEl.value.style.top&&n.contentEl.value.style.left||(m.x-=parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-x")||0),m.y-=parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-y")||0)));const g=y.reduce((_,h)=>{const B=h.getBoundingClientRect(),V=new Ne({x:h===document.documentElement?0:B.x,y:h===document.documentElement?0:B.y,width:h.clientWidth,height:h.clientHeight});return _?new Ne({x:Math.max(_.left,V.left),y:Math.max(_.top,V.top),width:Math.min(_.right,V.right)-Math.max(_.left,V.left),height:Math.min(_.bottom,V.bottom)-Math.max(_.top,V.top)}):V},void 0);g.x+=12,g.y+=12,g.width-=24,g.height-=24;let b={anchor:l.value,origin:r.value};function P(_){const h=new Ne(m),B=Ao(_.anchor,d),V=Ao(_.origin,h);let{x:M,y:L}=(S=V,{x:(F=B).x-S.x,y:F.y-S.y});var F,S;switch(_.anchor.side){case"top":L-=u.value[0];break;case"bottom":L+=u.value[0];break;case"left":M-=u.value[0];break;case"right":M+=u.value[0]}switch(_.anchor.align){case"top":L-=u.value[1];break;case"bottom":L+=u.value[1];break;case"left":M-=u.value[1];break;case"right":M+=u.value[1]}return h.x+=M,h.y+=L,h.width=Math.min(h.width,s.value),h.height=Math.min(h.height,a.value),{overflows:lo(h,g),x:M,y:L}}let x=0,j=0;const O={x:0,y:0},R={x:!1,y:!1};let D=-1;for(;;){if(D++>10){I="Infinite loop detected in connectedLocationStrategy",e.warn(`Vuetify error: ${I}`);break}const{x:_,y:h,overflows:B}=P(b);x+=_,j+=h,m.x+=_,m.y+=h;{const V=oo(b.anchor),M=B.x.before||B.x.after,L=B.y.before||B.y.after;let F=!1;if(["x","y"].forEach(S=>{if(S==="x"&&M&&!R.x||S==="y"&&L&&!R.y){const k={anchor:{...b.anchor},origin:{...b.origin}},z=S==="x"?V==="y"?at:lt:V==="y"?lt:at;k.anchor=z(k.anchor),k.origin=z(k.origin);const{overflows:T}=P(k);(T[S].before<=B[S].before&&T[S].after<=B[S].after||T[S].before+T[S].after<(B[S].before+B[S].after)/2)&&(b=k,F=R[S]=!0)}}),F)continue}B.x.before&&(x+=B.x.before,m.x+=B.x.before),B.x.after&&(x-=B.x.after,m.x-=B.x.after),B.y.before&&(j+=B.y.before,m.y+=B.y.before),B.y.after&&(j-=B.y.after,m.y-=B.y.after);{const V=lo(m,g);O.x=g.width-V.x.before-V.x.after,O.y=g.height-V.y.before-V.y.after,x+=V.x.before,m.x+=V.x.before,j+=V.y.before,m.y+=V.y.before}break}var I;const w=oo(b.anchor);return Object.assign(t.value,{"--v-overlay-anchor-origin":`${b.anchor.side} ${b.anchor.align}`,transformOrigin:`${b.origin.side} ${b.origin.align}`,top:Y(ut(j)),left:n.isRtl.value?void 0:Y(ut(x)),right:n.isRtl.value?Y(ut(-x)):void 0,minWidth:Y(w==="y"?Math.min(i.value,d.width):i.value),maxWidth:Y(Po(We(O.x,i.value===1/0?0:i.value,s.value))),maxHeight:Y(Po(We(O.y,c.value===1/0?0:c.value,a.value)))}),{available:O,contentBox:m}}return e.watch([n.target,n.contentEl],(d,m)=>{let[y,g]=d,[b,P]=m;b&&!Array.isArray(b)&&v.unobserve(b),y&&!Array.isArray(y)&&v.observe(y),P&&v.unobserve(P),g&&v.observe(g)},{immediate:!0}),e.onScopeDispose(()=>{v.disconnect()}),e.watch(()=>[l.value,r.value,o.offset,o.minWidth,o.minHeight,o.maxWidth,o.maxHeight],()=>p()),e.nextTick(()=>{const d=p();if(!d)return;const{available:m,contentBox:y}=d;y.height>m.y&&requestAnimationFrame(()=>{p(),requestAnimationFrame(()=>{p()})})}),{updateLocation:p}}},Sr=q({locationStrategy:{type:[String,Function],default:"static",validator:n=>typeof n=="function"||n in jl},location:{type:String,default:"bottom"},origin:{type:String,default:"auto"},offset:[Number,String,Array]},"VOverlay-location-strategies");function ut(n){return Math.round(n*devicePixelRatio)/devicePixelRatio}function Po(n){return Math.ceil(n*devicePixelRatio)/devicePixelRatio}let It=!0;const Yn=[];let _o=-1;function wt(){cancelAnimationFrame(_o),_o=requestAnimationFrame(()=>{const n=Yn.shift();n&&n(),Yn.length?wt():It=!0})}const Tn={none:null,close:function(n){Oo(n.targetEl.value??n.contentEl.value,function(o){n.isActive.value=!1})},block:function(n,o){var s;const t=(s=n.root.value)==null?void 0:s.offsetParent,l=[...new Set([...jn(n.targetEl.value,o.contained?t:void 0),...jn(n.contentEl.value,o.contained?t:void 0)])].filter(a=>!a.classList.contains("v-overlay-scroll-blocked")),r=window.innerWidth-document.documentElement.offsetWidth,i=(c=t||document.documentElement,Et(c)&&c);var c;i&&n.root.value.classList.add("v-overlay--scroll-blocked"),l.forEach((a,u)=>{a.style.setProperty("--v-body-scroll-x",Y(-a.scrollLeft)),a.style.setProperty("--v-body-scroll-y",Y(-a.scrollTop)),a!==document.documentElement&&a.style.setProperty("--v-scrollbar-offset",Y(r)),a.classList.add("v-overlay-scroll-blocked")}),e.onScopeDispose(()=>{l.forEach((a,u)=>{const f=parseFloat(a.style.getPropertyValue("--v-body-scroll-x")),v=parseFloat(a.style.getPropertyValue("--v-body-scroll-y"));a.style.removeProperty("--v-body-scroll-x"),a.style.removeProperty("--v-body-scroll-y"),a.style.removeProperty("--v-scrollbar-offset"),a.classList.remove("v-overlay-scroll-blocked"),a.scrollLeft=-f,a.scrollTop=-v}),i&&n.root.value.classList.remove("v-overlay--scroll-blocked")})},reposition:function(n,o,t){let l=!1,r=-1,i=-1;function c(s){var a;a=()=>{var v,p;const u=performance.now();(p=(v=n.updateLocation).value)==null||p.call(v,s),l=(performance.now()-u)/(1e3/60)>2},!It||Yn.length?(Yn.push(a),wt()):(It=!1,a(),wt())}i=(typeof requestIdleCallback>"u"?s=>s():requestIdleCallback)(()=>{t.run(()=>{Oo(n.targetEl.value??n.contentEl.value,s=>{l?(cancelAnimationFrame(r),r=requestAnimationFrame(()=>{r=requestAnimationFrame(()=>{c(s)})})):c(s)})})}),e.onScopeDispose(()=>{typeof cancelIdleCallback<"u"&&cancelIdleCallback(i),cancelAnimationFrame(r)})}},Vr=q({scrollStrategy:{type:[String,Function],default:"block",validator:n=>typeof n=="function"||n in Tn}},"VOverlay-scroll-strategies");function Oo(n,o){const t=[document,...jn(n)];t.forEach(l=>{l.addEventListener("scroll",o,{passive:!0})}),e.onScopeDispose(()=>{t.forEach(l=>{l.removeEventListener("scroll",o)})})}const Bt=Symbol.for("vuetify:v-menu"),Ir=q({closeDelay:[Number,String],openDelay:[Number,String]},"delay"),wr=q({target:[String,Object],activator:[String,Object],activatorProps:{type:Object,default:()=>({})},openOnClick:{type:Boolean,default:void 0},openOnHover:Boolean,openOnFocus:{type:Boolean,default:void 0},closeOnContentClick:Boolean,...Ir()},"VOverlay-activator");function Br(n,o){let{isActive:t,isTop:l}=o;const r=ae("useActivator"),i=e.ref();let c=!1,s=!1,a=!0;const u=e.computed(()=>n.openOnFocus||n.openOnFocus==null&&n.openOnHover),f=e.computed(()=>n.openOnClick||n.openOnClick==null&&!n.openOnHover&&!u.value),{runOpenDelay:v,runCloseDelay:p}=function(h,B){const V={},M=L=>()=>{if(!ue)return Promise.resolve(!0);const F=L==="openDelay";return V.closeDelay&&window.clearTimeout(V.closeDelay),delete V.closeDelay,V.openDelay&&window.clearTimeout(V.openDelay),delete V.openDelay,new Promise(S=>{const k=parseInt(h[L]??0,10);V[L]=window.setTimeout(()=>{B==null||B(F),S(F)},k)})};return{runCloseDelay:M("closeDelay"),runOpenDelay:M("openDelay")}}(n,h=>{h!==(n.openOnHover&&c||u.value&&s)||n.openOnHover&&t.value&&!l.value||(t.value!==h&&(a=!0),t.value=h)}),d=e.ref(),m=h=>{h.stopPropagation(),i.value=h.currentTarget||h.target,t.value||(d.value=[h.clientX,h.clientY]),t.value=!t.value},y=h=>{var B;(B=h.sourceCapabilities)!=null&&B.firesTouchEvents||(c=!0,i.value=h.currentTarget||h.target,v())},g=h=>{c=!1,p()},b=h=>{Ln(h.target,":focus-visible")!==!1&&(s=!0,h.stopPropagation(),i.value=h.currentTarget||h.target,v())},P=h=>{s=!1,h.stopPropagation(),p()},x=e.computed(()=>{const h={};return f.value&&(h.onClick=m),n.openOnHover&&(h.onMouseenter=y,h.onMouseleave=g),u.value&&(h.onFocus=b,h.onBlur=P),h}),j=e.computed(()=>{const h={};if(n.openOnHover&&(h.onMouseenter=()=>{c=!0,v()},h.onMouseleave=()=>{c=!1,p()}),u.value&&(h.onFocusin=()=>{s=!0,v()},h.onFocusout=()=>{s=!1,p()}),n.closeOnContentClick){const B=e.inject(Bt,null);h.onClick=()=>{t.value=!1,B==null||B.closeParents()}}return h}),O=e.computed(()=>{const h={};return n.openOnHover&&(h.onMouseenter=()=>{a&&(c=!0,a=!1,v())},h.onMouseleave=()=>{c=!1,p()}),h});e.watch(l,h=>{!h||(!n.openOnHover||c||u.value&&s)&&(!u.value||s||n.openOnHover&&c)||(t.value=!1)}),e.watch(t,h=>{h||setTimeout(()=>{d.value=void 0})},{flush:"post"});const R=e.ref();e.watchEffect(()=>{R.value&&e.nextTick(()=>{i.value=$n(R.value)})});const D=e.ref(),I=e.computed(()=>n.target==="cursor"&&d.value?d.value:D.value?$n(D.value):Eo(n.target,r)||i.value),w=e.computed(()=>Array.isArray(I.value)?void 0:I.value);let _;return e.watch(()=>!!n.activator,h=>{h&&ue?(_=e.effectScope(),_.run(()=>{(function(B,V,M){let{activatorEl:L,activatorEvents:F}=M;function S(){let T=arguments.length>0&&arguments[0]!==void 0?arguments[0]:z(),N=arguments.length>1&&arguments[1]!==void 0?arguments[1]:B.activatorProps;T&&function($,G){Object.keys(G).forEach(C=>{if(vt(C)){const A=Qt(C),E=An.get($);if(G[C]==null)E==null||E.forEach(W=>{const[H,X]=W;H===A&&($.removeEventListener(A,X),E.delete(W))});else if(!E||![...E].some(W=>W[0]===A&&W[1]===G[C])){$.addEventListener(A,G[C]);const W=E||new Set;W.add([A,G[C]]),An.has($)||An.set($,W)}}else G[C]==null?$.removeAttribute(C):$.setAttribute(C,G[C])})}(T,e.mergeProps(F.value,N))}function k(){let T=arguments.length>0&&arguments[0]!==void 0?arguments[0]:z(),N=arguments.length>1&&arguments[1]!==void 0?arguments[1]:B.activatorProps;T&&function($,G){Object.keys(G).forEach(C=>{if(vt(C)){const A=Qt(C),E=An.get($);E==null||E.forEach(W=>{const[H,X]=W;H===A&&($.removeEventListener(A,X),E.delete(W))})}else $.removeAttribute(C)})}(T,e.mergeProps(F.value,N))}function z(){const T=Eo(arguments.length>0&&arguments[0]!==void 0?arguments[0]:B.activator,V);return L.value=(T==null?void 0:T.nodeType)===Node.ELEMENT_NODE?T:void 0,L.value}e.watch(()=>B.activator,(T,N)=>{if(N&&T!==N){const $=z(N);$&&k($)}T&&e.nextTick(()=>S())},{immediate:!0}),e.watch(()=>B.activatorProps,()=>{S()}),e.onScopeDispose(()=>{k()})})(n,r,{activatorEl:i,activatorEvents:x})})):_&&_.stop()},{flush:"post",immediate:!0}),e.onScopeDispose(()=>{_==null||_.stop()}),{activatorEl:i,activatorRef:R,target:I,targetEl:w,targetRef:D,activatorEvents:x,contentEvents:j,scrimEvents:O}}function Eo(n,o){var l,r;if(!n)return;let t;if(n==="parent"){let i=(r=(l=o==null?void 0:o.proxy)==null?void 0:l.$el)==null?void 0:r.parentNode;for(;i!=null&&i.hasAttribute("data-no-activator");)i=i.parentNode;t=i}else t=typeof n=="string"?document.querySelector(n):"$el"in n?n.$el:n;return t}const kr=Symbol.for("vuetify:display");function Gl(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ge();const t=e.inject(kr);if(!t)throw new Error("Could not find Vuetify display injection");const l=e.computed(()=>{if(!n.mobileBreakpoint)return t.mobile.value;const i=typeof n.mobileBreakpoint=="number"?n.mobileBreakpoint:t.thresholds.value[n.mobileBreakpoint];return t.width.valueo?{[`${o}--mobile`]:l.value}:{});return{...t,displayClasses:r,mobile:l}}const xr=q({eager:Boolean},"lazy");function ql(){const n=ae("useScopeId").vnode.scopeId;return{scopeId:n?{[n]:""}:void 0}}const zo=Symbol.for("vuetify:stack"),an=e.reactive([]);function Fr(){return!0}function To(n,o,t){if(!n||Hl(n,t)===!1)return!1;const l=Zo(o);if(typeof ShadowRoot<"u"&&l instanceof ShadowRoot&&l.host===n.target)return!1;const r=(typeof t.value=="object"&&t.value.include||(()=>[]))();return r.push(o),!r.some(i=>i==null?void 0:i.contains(n.target))}function Hl(n,o){return(typeof o.value=="object"&&o.value.closeConditional||Fr)(n)}function $o(n,o){const t=Zo(n);o(document),typeof ShadowRoot<"u"&&t instanceof ShadowRoot&&o(t)}const Nr={mounted(n,o){const t=r=>function(i,c,s){const a=typeof s.value=="function"?s.value:s.value.handler;c._clickOutside.lastMousedownWasOutside&&To(i,c,s)&&setTimeout(()=>{Hl(i,s)&&a&&a(i)},0)}(r,n,o),l=r=>{n._clickOutside.lastMousedownWasOutside=To(r,n,o)};$o(n,r=>{r.addEventListener("click",t,!0),r.addEventListener("mousedown",l,!0)}),n._clickOutside||(n._clickOutside={lastMousedownWasOutside:!1}),n._clickOutside[o.instance.$.uid]={onClick:t,onMousedown:l}},unmounted(n,o){n._clickOutside&&($o(n,t=>{var i;if(!t||!((i=n._clickOutside)!=null&&i[o.instance.$.uid]))return;const{onClick:l,onMousedown:r}=n._clickOutside[o.instance.$.uid];t.removeEventListener("click",l,!0),t.removeEventListener("mousedown",r,!0)}),delete n._clickOutside[o.instance.$.uid])}};function Ar(n){const{modelValue:o,color:t,...l}=n;return e.createVNode(e.Transition,{name:"fade-transition",appear:!0},{default:()=>[n.modelValue&&e.createVNode("div",e.mergeProps({class:["v-overlay__scrim",n.color.backgroundColorClasses.value],style:n.color.backgroundColorStyles.value},l),null)]})}const Ul=q({absolute:Boolean,attach:[Boolean,String,Object],closeOnBack:{type:Boolean,default:!0},contained:Boolean,contentClass:null,contentProps:null,disabled:Boolean,noClickAnimation:Boolean,modelValue:Boolean,persistent:Boolean,scrim:{type:[Boolean,String],default:!0},zIndex:{type:[Number,String],default:2e3},...wr(),...Z(),...Ee(),...xr(),...Sr(),...Vr(),...oe(),...Sn()},"VOverlay"),Ro=U()({name:"VOverlay",directives:{ClickOutside:Nr},inheritAttrs:!1,props:{_disableGlobalStack:Boolean,...Ul()},emits:{"click:outside":n=>!0,"update:modelValue":n=>!0,afterLeave:()=>!0},setup(n,o){var $,G;let{slots:t,attrs:l,emit:r}=o;const i=ne(n,"modelValue"),c=e.computed({get:()=>i.value,set:C=>{C&&n.disabled||(i.value=C)}}),{teleportTarget:s}=function(C){return{teleportTarget:e.computed(()=>{const A=C.value;if(A===!0||!ue)return;const E=A===!1?document.body:typeof A=="string"?document.querySelector(A):A;if(E==null)return void e.warn(`Unable to locate target ${A}`);let W=E.querySelector(":scope > .v-overlay-container");return W||(W=document.createElement("div"),W.className="v-overlay-container",E.appendChild(W)),W})}}(e.computed(()=>n.attach||n.contained)),{themeClasses:a}=ie(n),{rtlClasses:u,isRtl:f}=Cn(),{hasContent:v,onAfterLeave:p}=function(C,A){const E=e.shallowRef(!1),W=e.computed(()=>E.value||C.eager||A.value);return e.watch(A,()=>E.value=!0),{isBooted:E,hasContent:W,onAfterLeave:function(){C.eager||(E.value=!1)}}}(n,c),d=Ke(e.computed(()=>typeof n.scrim=="string"?n.scrim:null)),{globalTop:m,localTop:y,stackStyles:g}=function(C,A,E){const W=ae("useStack"),H=!E,X=e.inject(zo,void 0),te=e.reactive({activeChildren:new Set});e.provide(zo,te);const re=e.shallowRef(+A.value);Ae(C,()=>{var on;const Nn=(on=an.at(-1))==null?void 0:on[1];re.value=Nn?Nn+10:+A.value,H&&an.push([W.uid,re.value]),X==null||X.activeChildren.add(W.uid),e.onScopeDispose(()=>{if(H){const na=e.toRaw(an).findIndex(ta=>ta[0]===W.uid);an.splice(na,1)}X==null||X.activeChildren.delete(W.uid)})});const se=e.shallowRef(!0);H&&e.watchEffect(()=>{var on;const Nn=((on=an.at(-1))==null?void 0:on[0])===W.uid;setTimeout(()=>se.value=Nn)});const ea=e.computed(()=>!te.activeChildren.size);return{globalTop:e.readonly(se),localTop:ea,stackStyles:e.computed(()=>({zIndex:re.value}))}}(c,e.toRef(n,"zIndex"),n._disableGlobalStack),{activatorEl:b,activatorRef:P,target:x,targetEl:j,targetRef:O,activatorEvents:R,contentEvents:D,scrimEvents:I}=Br(n,{isActive:c,isTop:y}),{dimensionStyles:w}=ze(n),_=function(){if(!ue)return e.shallowRef(!1);const{ssr:C}=Gl();if(C){const A=e.shallowRef(!1);return e.onMounted(()=>{A.value=!0}),A}return e.shallowRef(!0)}(),{scopeId:h}=ql();e.watch(()=>n.disabled,C=>{C&&(c.value=!1)});const B=e.ref(),V=e.ref(),{contentStyles:M,updateLocation:L}=function(C,A){const E=e.ref({}),W=e.ref();function H(X){var te;(te=W.value)==null||te.call(W,X)}return ue&&(Ae(()=>!(!A.isActive.value||!C.locationStrategy),X=>{var te,re;e.watch(()=>C.locationStrategy,X),e.onScopeDispose(()=>{W.value=void 0}),typeof C.locationStrategy=="function"?W.value=(te=C.locationStrategy(A,C,E))==null?void 0:te.updateLocation:W.value=(re=jl[C.locationStrategy](A,C,E))==null?void 0:re.updateLocation}),window.addEventListener("resize",H,{passive:!0}),e.onScopeDispose(()=>{window.removeEventListener("resize",H),W.value=void 0})),{contentStyles:E,updateLocation:W}}(n,{isRtl:f,contentEl:V,target:x,isActive:c});function F(C){r("click:outside",C),n.persistent?N():c.value=!1}function S(){return c.value&&m.value}function k(C){var A,E;C.key==="Escape"&&m.value&&(n.persistent?N():(c.value=!1,(A=V.value)!=null&&A.contains(document.activeElement)&&((E=b.value)==null||E.focus())))}(function(C,A){if(!ue)return;let E;e.watchEffect(async()=>{E==null||E.stop(),A.isActive.value&&C.scrollStrategy&&(E=e.effectScope(),await e.nextTick(),E.active&&E.run(()=>{var W;typeof C.scrollStrategy=="function"?C.scrollStrategy(A,C,E):(W=Tn[C.scrollStrategy])==null||W.call(Tn,A,C,E)}))}),e.onScopeDispose(()=>{E==null||E.stop()})})(n,{root:B,contentEl:V,targetEl:j,isActive:c,updateLocation:L}),ue&&e.watch(c,C=>{C?window.addEventListener("keydown",k):window.removeEventListener("keydown",k)},{immediate:!0});const z=(G=($=ae("useRouter"))==null?void 0:$.proxy)==null?void 0:G.$router;Ae(()=>n.closeOnBack,()=>{(function(C,A){let E,W,H=!1;function X(te){var re;(re=te.state)!=null&&re.replaced||(H=!0,setTimeout(()=>H=!1))}ue&&(e.nextTick(()=>{window.addEventListener("popstate",X),E=C==null?void 0:C.beforeEach((te,re,se)=>{it?H?A(se):se():setTimeout(()=>H?A(se):se()),it=!0}),W=C==null?void 0:C.afterEach(()=>{it=!1})}),e.onScopeDispose(()=>{window.removeEventListener("popstate",X),E==null||E(),W==null||W()}))})(z,C=>{m.value&&c.value?(C(!1),n.persistent?N():c.value=!1):C()})});const T=e.ref();function N(){n.noClickAnimation||V.value&&De(V.value,[{transformOrigin:"center"},{transform:"scale(1.03)"},{transformOrigin:"center"}],{duration:150,easing:Wn})}return e.watch(()=>c.value&&(n.absolute||n.contained)&&s.value==null,C=>{if(C){const A=el(B.value);A&&A!==document.scrollingElement&&(T.value=A.scrollTop)}}),K(()=>{var C;return e.createVNode(e.Fragment,null,[(C=t.activator)==null?void 0:C.call(t,{isActive:c.value,props:e.mergeProps({ref:P,targetRef:O},R.value,n.activatorProps)}),_.value&&v.value&&e.createVNode(e.Teleport,{disabled:!s.value,to:s.value},{default:()=>[e.createVNode("div",e.mergeProps({class:["v-overlay",{"v-overlay--absolute":n.absolute||n.contained,"v-overlay--active":c.value,"v-overlay--contained":n.contained},a.value,u.value,n.class],style:[g.value,{top:Y(T.value)},n.style],ref:B},h,l),[e.createVNode(Ar,e.mergeProps({color:d,modelValue:c.value&&!!n.scrim},I.value),null),e.createVNode(we,{appear:!0,persisted:!0,transition:n.transition,target:x.value,onAfterLeave:()=>{p(),r("afterLeave")}},{default:()=>{var A;return[e.withDirectives(e.createVNode("div",e.mergeProps({ref:V,class:["v-overlay__content",n.contentClass],style:[w.value,M.value]},D.value,n.contentProps),[(A=t.default)==null?void 0:A.call(t,{isActive:c})]),[[e.vShow,c.value],[e.resolveDirective("click-outside"),{handler:F,closeConditional:S,include:()=>[b.value]}]])]}})])]})])}),{activatorEl:b,target:x,animateClick:N,contentEl:V,globalTop:m,localTop:y,updateLocation:L}}}),ct=Symbol("Forwarded refs");function dt(n,o){let t=n;for(;t;){const l=Reflect.getOwnPropertyDescriptor(t,o);if(l)return l;t=Object.getPrototypeOf(t)}}function tt(n){for(var o=arguments.length,t=new Array(o>1?o-1:0),l=1;l!0},setup(n,o){let{slots:t}=o;const l=ne(n,"modelValue"),{scopeId:r}=ql(),i=fe(),c=e.computed(()=>n.id||`v-menu-${i}`),s=e.ref(),a=e.inject(Bt,null),u=e.shallowRef(0);async function f(y){var P,x,j;const g=y.relatedTarget,b=y.target;await e.nextTick(),l.value&&g!==b&&((P=s.value)!=null&&P.contentEl)&&((x=s.value)!=null&&x.globalTop)&&![document,s.value.contentEl].includes(b)&&!s.value.contentEl.contains(b)&&((j=ft(s.value.contentEl)[0])==null||j.focus())}function v(){a==null||a.closeParents()}function p(y){var g,b,P;!n.disabled&&y.key==="Tab"&&(Uo(ft((g=s.value)==null?void 0:g.contentEl,!1),y.shiftKey?"prev":"next",x=>x.tabIndex>=0)||(l.value=!1,(P=(b=s.value)==null?void 0:b.activatorEl)==null||P.focus()))}function d(y){var b;if(n.disabled)return;const g=(b=s.value)==null?void 0:b.contentEl;g&&l.value?y.key==="ArrowDown"?(y.preventDefault(),Dn(g,"next")):y.key==="ArrowUp"&&(y.preventDefault(),Dn(g,"prev")):["ArrowDown","ArrowUp"].includes(y.key)&&(l.value=!0,y.preventDefault(),setTimeout(()=>setTimeout(()=>d(y))))}e.provide(Bt,{register(){++u.value},unregister(){--u.value},closeParents(){setTimeout(()=>{u.value||(l.value=!1,a==null||a.closeParents())},40)}}),e.watch(l,y=>{y?(a==null||a.register(),document.addEventListener("focusin",f,{once:!0})):(a==null||a.unregister(),document.removeEventListener("focusin",f))});const m=e.computed(()=>e.mergeProps({"aria-haspopup":"menu","aria-expanded":String(l.value),"aria-owns":c.value,onKeydown:d},n.activatorProps));return K(()=>{const y=Ro.filterProps(n);return e.createVNode(Ro,e.mergeProps({ref:s,class:["v-menu",n.class],style:n.style},y,{modelValue:l.value,"onUpdate:modelValue":g=>l.value=g,absolute:!0,activatorProps:m.value,"onClick:outside":v,onKeydown:p},r),{activator:t.activator,default:function(){for(var g=arguments.length,b=new Array(g),P=0;P{var x;return[(x=t.default)==null?void 0:x.call(t,...b)]}})}})}),tt({id:c,ΨopenChildren:u},s)}}),Or=q({active:Boolean,max:[Number,String],value:{type:[Number,String],default:0},...Z(),...Sn({transition:{component:al}})},"VCounter"),Yl=U()({name:"VCounter",functional:!0,props:Or(),setup(n,o){let{slots:t}=o;const l=e.computed(()=>n.max?`${n.value} / ${n.max}`:String(n.value));return K(()=>e.createVNode(we,{transition:n.transition},{default:()=>[e.withDirectives(e.createVNode("div",{class:["v-counter",n.class],style:n.style},[t.default?t.default({counter:l.value,max:n.max,value:n.value}):l.value]),[[e.vShow,n.active]])]})),{}}}),Er=q({floating:Boolean,...Z()},"VFieldLabel"),On=U()({name:"VFieldLabel",props:Er(),setup(n,o){let{slots:t}=o;return K(()=>e.createVNode(kl,{class:["v-field-label",{"v-field-label--floating":n.floating},n.class],style:n.style,"aria-hidden":n.floating||void 0},t)),{}}}),zr=["underlined","outlined","filled","solo","solo-inverted","solo-filled","plain"],Gt=q({appendInnerIcon:Q,bgColor:String,clearable:Boolean,clearIcon:{type:Q,default:"$clear"},active:Boolean,centerAffix:{type:Boolean,default:void 0},color:String,baseColor:String,dirty:Boolean,disabled:{type:Boolean,default:null},error:Boolean,flat:Boolean,label:String,persistentClear:Boolean,prependInnerIcon:Q,reverse:Boolean,singleLine:Boolean,variant:{type:String,default:"filled",validator:n=>zr.includes(n)},"onClick:clear":ye(),"onClick:appendInner":ye(),"onClick:prependInner":ye(),...Z(),...Mt(),...Se(),...oe()},"VField"),qt=U()({name:"VField",inheritAttrs:!1,props:{id:String,...Pl(),...Gt()},emits:{"update:focused":n=>!0,"update:modelValue":n=>!0},setup(n,o){let{attrs:t,emit:l,slots:r}=o;const{themeClasses:i}=ie(n),{loaderClasses:c}=Qn(n),{focusClasses:s,isFocused:a,focus:u,blur:f}=xn(n),{InputIcon:v}=Al(n),{roundedClasses:p}=Ve(n),{rtlClasses:d}=Cn(),m=e.computed(()=>n.dirty||n.active),y=e.computed(()=>!(n.singleLine||!n.label&&!r.label)),g=fe(),b=e.computed(()=>n.id||`input-${g}`),P=e.computed(()=>`${b.value}-messages`),x=e.ref(),j=e.ref(),O=e.ref(),R=e.computed(()=>["plain","underlined"].includes(n.variant)),{backgroundColorClasses:D,backgroundColorStyles:I}=Ke(e.toRef(n,"bgColor")),{textColorClasses:w,textColorStyles:_}=Ce(e.computed(()=>n.error||n.disabled?void 0:m.value&&a.value?n.color:n.baseColor));e.watch(m,V=>{if(y.value){const M=x.value.$el,L=j.value.$el;requestAnimationFrame(()=>{const F=_t(M),S=L.getBoundingClientRect(),k=S.x-F.x,z=S.y-F.y-(F.height/2-S.height/2),T=S.width/.75,N=Math.abs(T-F.width)>1?{maxWidth:Y(T)}:void 0,$=getComputedStyle(M),G=getComputedStyle(L),C=1e3*parseFloat($.transitionDuration)||150,A=parseFloat(G.getPropertyValue("--v-field-label-scale")),E=G.getPropertyValue("color");M.style.visibility="visible",L.style.visibility="hidden",De(M,{transform:`translate(${k}px, ${z}px) scale(${A})`,color:E,...N},{duration:C,easing:Wn,direction:V?"normal":"reverse"}).finished.then(()=>{M.style.removeProperty("visibility"),L.style.removeProperty("visibility")})})}},{flush:"post"});const h=e.computed(()=>({isActive:m,isFocused:a,controlRef:O,blur:f,focus:u}));function B(V){V.target!==document.activeElement&&V.preventDefault()}return K(()=>{var k,z,T;const V=n.variant==="outlined",M=r["prepend-inner"]||n.prependInnerIcon,L=!(!n.clearable&&!r.clear),F=!!(r["append-inner"]||n.appendInnerIcon||L),S=r.label?r.label({...h.value,label:n.label,props:{for:b.value}}):n.label;return e.createVNode("div",e.mergeProps({class:["v-field",{"v-field--active":m.value,"v-field--appended":F,"v-field--center-affix":n.centerAffix??!R.value,"v-field--disabled":n.disabled,"v-field--dirty":n.dirty,"v-field--error":n.error,"v-field--flat":n.flat,"v-field--has-background":!!n.bgColor,"v-field--persistent-clear":n.persistentClear,"v-field--prepended":M,"v-field--reverse":n.reverse,"v-field--single-line":n.singleLine,"v-field--no-label":!S,[`v-field--variant-${n.variant}`]:!0},i.value,D.value,s.value,c.value,p.value,d.value,n.class],style:[I.value,n.style],onClick:B},t),[e.createVNode("div",{class:"v-field__overlay"},null),e.createVNode(Wt,{name:"v-field",active:!!n.loading,color:n.error?"error":typeof n.loading=="string"?n.loading:n.color},{default:r.loader}),M&&e.createVNode("div",{key:"prepend",class:"v-field__prepend-inner"},[n.prependInnerIcon&&e.createVNode(v,{key:"prepend-icon",name:"prependInner"},null),(k=r["prepend-inner"])==null?void 0:k.call(r,h.value)]),e.createVNode("div",{class:"v-field__field","data-no-activator":""},[["filled","solo","solo-inverted","solo-filled"].includes(n.variant)&&y.value&&e.createVNode(On,{key:"floating-label",ref:j,class:[w.value],floating:!0,for:b.value,style:_.value},{default:()=>[S]}),e.createVNode(On,{ref:x,for:b.value},{default:()=>[S]}),(z=r.default)==null?void 0:z.call(r,{...h.value,props:{id:b.value,class:"v-field__input","aria-describedby":P.value},focus:u,blur:f})]),L&&e.createVNode(rl,{key:"clear"},{default:()=>[e.withDirectives(e.createVNode("div",{class:"v-field__clearable",onMousedown:N=>{N.preventDefault(),N.stopPropagation()}},[r.clear?r.clear():e.createVNode(v,{name:"clear"},null)]),[[e.vShow,n.dirty]])]}),F&&e.createVNode("div",{key:"append",class:"v-field__append-inner"},[(T=r["append-inner"])==null?void 0:T.call(r,h.value),n.appendInnerIcon&&e.createVNode(v,{key:"append-icon",name:"appendInner"},null)]),e.createVNode("div",{class:["v-field__outline",w.value],style:_.value},[V&&e.createVNode(e.Fragment,null,[e.createVNode("div",{class:"v-field__outline__start"},null),y.value&&e.createVNode("div",{class:"v-field__outline__notch"},[e.createVNode(On,{ref:j,floating:!0,for:b.value},{default:()=>[S]})]),e.createVNode("div",{class:"v-field__outline__end"},null)]),R.value&&y.value&&e.createVNode(On,{ref:j,floating:!0,for:b.value},{default:()=>[S]})])])}),{controlRef:O}}});function Xl(n){return jo(n,Object.keys(qt.props).filter(o=>!vt(o)&&o!=="class"&&o!=="style"))}const Tr=["color","file","time","date","datetime-local","week","month"],Kl=q({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,...Fn(),...Gt()},"VTextField"),kt=U()({name:"VTextField",directives:{Intersect:$t},inheritAttrs:!1,props:Kl(),emits:{"click:control":n=>!0,"mousedown:control":n=>!0,"update:focused":n=>!0,"update:modelValue":n=>!0},setup(n,o){let{attrs:t,emit:l,slots:r}=o;const i=ne(n,"modelValue"),{isFocused:c,focus:s,blur:a}=xn(n),u=e.computed(()=>typeof n.counterValue=="function"?n.counterValue(i.value):typeof n.counterValue=="number"?n.counterValue:(i.value??"").toString().length),f=e.computed(()=>t.maxlength?t.maxlength:!n.counter||typeof n.counter!="number"&&typeof n.counter!="string"?void 0:n.counter),v=e.computed(()=>["plain","underlined"].includes(n.variant));function p(R,D){var I,w;n.autofocus&&R&&((w=(I=D[0].target)==null?void 0:I.focus)==null||w.call(I))}const d=e.ref(),m=e.ref(),y=e.ref(),g=e.computed(()=>Tr.includes(n.type)||n.persistentPlaceholder||c.value||n.active);function b(){var R;y.value!==document.activeElement&&((R=y.value)==null||R.focus()),c.value||s()}function P(R){l("mousedown:control",R),R.target!==y.value&&(b(),R.preventDefault())}function x(R){b(),l("click:control",R)}function j(R){R.stopPropagation(),b(),e.nextTick(()=>{i.value=null,Ho(n["onClick:clear"],R)})}function O(R){var I;const D=R.target;if(i.value=D.value,((I=n.modelModifiers)==null?void 0:I.trim)&&["text","search","password","tel","url"].includes(n.type)){const w=[D.selectionStart,D.selectionEnd];e.nextTick(()=>{D.selectionStart=w[0],D.selectionEnd=w[1]})}}return K(()=>{const R=!!(r.counter||n.counter!==!1&&n.counter!=null),D=!(!R&&!r.details),[I,w]=hn(t),{modelValue:_,...h}=ke.filterProps(n),B=Xl(n);return e.createVNode(ke,e.mergeProps({ref:d,modelValue:i.value,"onUpdate:modelValue":V=>i.value=V,class:["v-text-field",{"v-text-field--prefixed":n.prefix,"v-text-field--suffixed":n.suffix,"v-input--plain-underlined":v.value},n.class],style:n.style},I,h,{centerAffix:!v.value,focused:c.value}),{...r,default:V=>{let{id:M,isDisabled:L,isDirty:F,isReadonly:S,isValid:k}=V;return e.createVNode(qt,e.mergeProps({ref:m,onMousedown:P,onClick:x,"onClick:clear":j,"onClick:prependInner":n["onClick:prependInner"],"onClick:appendInner":n["onClick:appendInner"],role:n.role},B,{id:M.value,active:g.value||F.value,dirty:F.value||n.dirty,disabled:L.value,focused:c.value,error:k.value===!1}),{...r,default:z=>{let{props:{class:T,...N}}=z;const $=e.withDirectives(e.createVNode("input",e.mergeProps({ref:y,value:i.value,onInput:O,autofocus:n.autofocus,readonly:S.value,disabled:L.value,name:n.name,placeholder:n.placeholder,size:1,type:n.type,onFocus:b,onBlur:a},N,w),null),[[e.resolveDirective("intersect"),{handler:p},null,{once:!0}]]);return e.createVNode(e.Fragment,null,[n.prefix&&e.createVNode("span",{class:"v-text-field__prefix"},[e.createVNode("span",{class:"v-text-field__prefix__text"},[n.prefix])]),r.default?e.createVNode("div",{class:T,"data-no-activator":""},[r.default(),$]):e.cloneVNode($,{class:T}),n.suffix&&e.createVNode("span",{class:"v-text-field__suffix"},[e.createVNode("span",{class:"v-text-field__suffix__text"},[n.suffix])])])}})},details:D?V=>{var M;return e.createVNode(e.Fragment,null,[(M=r.details)==null?void 0:M.call(r,V),R&&e.createVNode(e.Fragment,null,[e.createVNode("span",null,null),e.createVNode(Yl,{active:n.persistentCounter||c.value,value:u.value,max:f.value},r.counter)])])}:void 0})}),tt({},d,m,y)}}),$r=q({renderless:Boolean,...Z()},"VVirtualScrollItem"),Rr=U()({name:"VVirtualScrollItem",inheritAttrs:!1,props:$r(),emits:{"update:height":n=>!0},setup(n,o){let{attrs:t,emit:l,slots:r}=o;const{resizeRef:i,contentRect:c}=zt(void 0,"border");e.watch(()=>{var s;return(s=c.value)==null?void 0:s.height},s=>{s!=null&&l("update:height",s)}),K(()=>{var s,a;return n.renderless?e.createVNode(e.Fragment,null,[(s=r.default)==null?void 0:s.call(r,{itemRef:i})]):e.createVNode("div",e.mergeProps({ref:i,class:["v-virtual-scroll__item",n.class],style:n.style},t),[(a=r.default)==null?void 0:a.call(r)])})}}),Dr=q({itemHeight:{type:[Number,String],default:null},height:[Number,String]},"virtual");function Lr(n,o){const t=Gl(),l=e.shallowRef(0);e.watchEffect(()=>{l.value=parseFloat(n.itemHeight||0)});const r=e.shallowRef(0),i=e.shallowRef(Math.ceil((parseInt(n.height)||t.height.value)/(l.value||16))||1),c=e.shallowRef(0),s=e.shallowRef(0),a=e.ref(),u=e.ref();let f=0;const{resizeRef:v,contentRect:p}=zt();e.watchEffect(()=>{v.value=a.value});const d=e.computed(()=>{var S;return a.value===document.documentElement?t.height.value:((S=p.value)==null?void 0:S.height)||parseInt(n.height)||0}),m=e.computed(()=>!!(a.value&&u.value&&d.value&&l.value)),y=new Map;let g=Array.from({length:o.value.length});const b=Array.from({length:o.value.length}),P=e.shallowRef(0);let x=-1;function j(S){return g[S]||l.value}const O=function(S,k){let z=0;const T=function(){for(var N=arguments.length,$=new Array(N),G=0;GS(...$),e.unref(k))};return T.clear=()=>{clearTimeout(z)},T.immediate=S,T}(()=>{const S=performance.now();b[0]=0;const k=o.value.length;for(let z=1;z<=k-1;z++)b[z]=(b[z-1]||0)+j(z-1);P.value=Math.max(P.value,performance.now()-S)},P),R=e.watch(m,S=>{S&&(R(),f=u.value.offsetTop,O.immediate(),V(),~x&&e.nextTick(()=>{ue&&window.requestAnimationFrame(()=>{L(x),x=-1})}))});function D(S){return S=We(S,0,o.value.length-1),b[S]||0}function I(S){return function(k,z){let T=k.length-1,N=0,$=0,G=null,C=-1;if(k[T]>1,G=k[$],G>z)T=$-1;else{if(!(G{k&&V()}),e.onScopeDispose(()=>{O.clear()});let w=0,_=0,h=0,B=-1;function V(){cancelAnimationFrame(B),B=requestAnimationFrame(M)}function M(){if(!a.value||!d.value)return;const S=w-f,k=Math.sign(_),z=We(I(Math.max(0,S-100)),0,o.value.length),T=We(I(S+d.value+100)+1,z+1,o.value.length);if((k!==-1||zi.value)){const N=D(r.value)-D(z),$=D(T)-D(i.value);Math.max(N,$)>100?(r.value=z,i.value=T):(z<=0&&(r.value=z),T>=o.value.length&&(i.value=T))}c.value=D(r.value),s.value=D(o.value.length)-D(i.value)}function L(S){const k=D(S);!a.value||S&&!k?x=S:a.value.scrollTop=k}const F=e.computed(()=>o.value.slice(r.value,i.value).map((S,k)=>({raw:S,index:k+r.value})));return e.watch(()=>o.value.length,()=>{g=function(S){let k=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return Array.from({length:S},(z,T)=>k+T)}(o.value.length).map(()=>l.value),y.forEach((S,k)=>{const z=o.value.indexOf(k);z===-1?y.delete(k):g[z]=S}),V()}),{containerRef:a,markerRef:u,computedItems:F,paddingTop:c,paddingBottom:s,scrollToIndex:L,handleScroll:function(){if(!a.value||!u.value)return;const S=a.value.scrollTop,k=performance.now();k-h>500?(_=Math.sign(S-w),f=u.value.offsetTop):_=S-w,w=S,h=k,V()},handleScrollend:function(){a.value&&u.value&&(_=0,h=0,V())},handleItemResize:function(S,k){const z=g[S],T=l.value;l.value=T?Math.min(l.value,k):k,z===k&&T===l.value||(g[S]=k,y.set(o.value[S],k),O())}}}const Mr=q({items:{type:Array,default:()=>[]},renderless:Boolean,...Dr(),...Z(),...Ee()},"VVirtualScroll"),Wr=U()({name:"VVirtualScroll",props:Mr(),setup(n,o){let{slots:t}=o;const l=ae("VVirtualScroll"),{dimensionStyles:r}=ze(n),{containerRef:i,markerRef:c,handleScroll:s,handleScrollend:a,handleItemResize:u,scrollToIndex:f,paddingTop:v,paddingBottom:p,computedItems:d}=Lr(n,e.toRef(n,"items"));return Ae(()=>n.renderless,()=>{function m(){var g,b;const y=arguments.length>0&&arguments[0]!==void 0&&arguments[0]?"addEventListener":"removeEventListener";i.value===document.documentElement?(document[y]("scroll",s,{passive:!0}),document[y]("scrollend",a)):((g=i.value)==null||g[y]("scroll",s,{passive:!0}),(b=i.value)==null||b[y]("scrollend",a))}e.onMounted(()=>{i.value=el(l.vnode.el,!0),m(!0)}),e.onScopeDispose(m)}),K(()=>{const m=d.value.map(y=>e.createVNode(Rr,{key:y.index,renderless:n.renderless,"onUpdate:height":g=>u(y.index,g)},{default:g=>{var b;return(b=t.default)==null?void 0:b.call(t,{item:y.raw,index:y.index,...g})}}));return n.renderless?e.createVNode(e.Fragment,null,[e.createVNode("div",{ref:c,class:"v-virtual-scroll__spacer",style:{paddingTop:Y(v.value)}},null),m,e.createVNode("div",{class:"v-virtual-scroll__spacer",style:{paddingBottom:Y(p.value)}},null)]):e.createVNode("div",{ref:i,class:["v-virtual-scroll",n.class],onScrollPassive:s,onScrollend:a,style:[r.value,n.style]},[e.createVNode("div",{ref:c,class:"v-virtual-scroll__container",style:{paddingTop:Y(v.value),paddingBottom:Y(p.value)}},[m])])}),{scrollToIndex:f}}});function jr(n,o){const t=e.shallowRef(!1);let l;return{onListScroll:function(r){cancelAnimationFrame(l),t.value=!0,l=requestAnimationFrame(()=>{l=requestAnimationFrame(()=>{t.value=!1})})},onListKeydown:async function(r){var s,a;if(r.key==="Tab"&&((s=o.value)==null||s.focus()),!["PageDown","PageUp","Home","End"].includes(r.key))return;const i=(a=n.value)==null?void 0:a.$el;if(!i)return;r.key!=="Home"&&r.key!=="End"||i.scrollTo({top:r.key==="Home"?0:i.scrollHeight,behavior:"smooth"}),await async function(){await new Promise(u=>requestAnimationFrame(u)),await new Promise(u=>requestAnimationFrame(u)),await new Promise(u=>requestAnimationFrame(u)),await new Promise(u=>{if(t.value){const f=e.watch(t,()=>{f(),u()})}else u()})}();const c=i.querySelectorAll(":scope > :not(.v-virtual-scroll__spacer)");if(r.key==="PageDown"||r.key==="Home"){const u=i.getBoundingClientRect().top;for(const f of c)if(f.getBoundingClientRect().top>=u){f.focus();break}}else{const u=i.getBoundingClientRect().bottom;for(const f of[...c].reverse())if(f.getBoundingClientRect().bottom<=u){f.focus();break}}}}}const Gr=q({chips:Boolean,closableChips:Boolean,closeText:{type:String,default:"$vuetify.close"},openText:{type:String,default:"$vuetify.open"},eager:Boolean,hideNoData:Boolean,hideSelected:Boolean,menu:Boolean,menuIcon:{type:Q,default:"$dropdown"},menuProps:{type:Object},multiple:Boolean,noDataText:{type:String,default:"$vuetify.noDataText"},openOnClear:Boolean,itemColor:String,...Ll({itemChildren:!1})},"Select"),qr=q({...Gr(),...Oe(Kl({modelValue:null,role:"button"}),["validationValue","dirty","appendInnerIcon"]),...Sn({transition:{component:ll}})},"VSelect"),Hr=U()({name:"VSelect",props:qr(),emits:{"update:focused":n=>!0,"update:modelValue":n=>!0,"update:menu":n=>!0},setup(n,o){let{slots:t}=o;const{t:l}=Tt(),r=e.ref(),i=e.ref(),c=e.ref(),s=ne(n,"menu"),a=e.computed({get:()=>s.value,set:F=>{var S;s.value&&!F&&((S=i.value)!=null&&S.ΨopenChildren)||(s.value=F)}}),{items:u,transformIn:f,transformOut:v}=function(F){const S=e.computed(()=>Ml(F,F.items)),k=e.computed(()=>S.value.some(z=>z.value===null));return{items:S,transformIn:function(z){return k.value||(z=z.filter(T=>T!==null)),z.map(T=>F.returnObject&&typeof T=="string"?Vt(F,T):S.value.find(N=>F.valueComparator(T,N.value))||Vt(F,T))},transformOut:function(z){return F.returnObject?z.map(T=>{let{raw:N}=T;return N}):z.map(T=>{let{value:N}=T;return N})}}}(n),p=ne(n,"modelValue",[],F=>f(F===null?[null]:Be(F)),F=>{const S=v(F);return n.multiple?S:S[0]??null}),d=_l(),m=e.computed(()=>p.value.map(F=>F.value)),y=e.shallowRef(!1),g=e.computed(()=>a.value?n.closeText:n.openText);let b,P="";const x=e.computed(()=>n.hideSelected?u.value.filter(F=>!p.value.some(S=>S===F)):u.value),j=e.computed(()=>n.hideNoData&&!u.value.length||n.readonly||(d==null?void 0:d.isReadonly.value)),O=e.ref(),{onListScroll:R,onListKeydown:D}=jr(O,r);function I(F){n.openOnClear&&(a.value=!0)}function w(){j.value||(a.value=!a.value)}function _(F){var z,T;if(!F.key||n.readonly||d!=null&&d.isReadonly.value||(["Enter"," ","ArrowDown","ArrowUp","Home","End"].includes(F.key)&&F.preventDefault(),["Enter","ArrowDown"," "].includes(F.key)&&(a.value=!0),["Escape","Tab"].includes(F.key)&&(a.value=!1),F.key==="Home"?(z=O.value)==null||z.focus("first"):F.key==="End"&&((T=O.value)==null||T.focus("last")),n.multiple||!function(N){const $=N.key.length===1,G=!N.ctrlKey&&!N.metaKey&&!N.altKey;return $&&G}(F)))return;const S=performance.now();S-b>1e3&&(P=""),P+=F.key.toLowerCase(),b=S;const k=u.value.find(N=>N.title.toLowerCase().startsWith(P));k!==void 0&&(p.value=[k])}function h(F){if(n.multiple){const S=p.value.findIndex(k=>n.valueComparator(k.value,F.value));if(S===-1)p.value=[...p.value,F];else{const k=[...p.value];k.splice(S,1),p.value=k}}else p.value=[F],a.value=!1}function B(F){var S;(S=O.value)!=null&&S.$el.contains(F.relatedTarget)||(a.value=!1)}function V(){var F;y.value&&((F=r.value)==null||F.focus())}function M(F){y.value=!0}function L(F){if(F==null)p.value=[];else if(Ln(r.value,":autofill")||Ln(r.value,":-webkit-autofill")){const S=u.value.find(k=>k.title===F);S&&h(S)}else r.value&&(r.value.value="")}return e.watch(a,()=>{if(!n.hideSelected&&a.value&&p.value.length){const F=x.value.findIndex(S=>p.value.some(k=>n.valueComparator(k.value,S.value)));ue&&window.requestAnimationFrame(()=>{var S;F>=0&&((S=c.value)==null||S.scrollToIndex(F))})}}),K(()=>{const F=!(!n.chips&&!t.chip),S=!!(!n.hideNoData||x.value.length||t["prepend-item"]||t["append-item"]||t["no-data"]),k=p.value.length>0,z=kt.filterProps(n),T=k||!y.value&&n.label&&!n.persistentPlaceholder?void 0:n.placeholder;return e.createVNode(kt,e.mergeProps({ref:r},z,{modelValue:p.value.map(N=>N.props.value).join(", "),"onUpdate:modelValue":L,focused:y.value,"onUpdate:focused":N=>y.value=N,validationValue:p.externalValue,counterValue:p.value.length,dirty:k,class:["v-select",{"v-select--active-menu":a.value,"v-select--chips":!!n.chips,["v-select--"+(n.multiple?"multiple":"single")]:!0,"v-select--selected":p.value.length,"v-select--selection-slot":!!t.selection},n.class],style:n.style,inputmode:"none",placeholder:T,"onClick:clear":I,"onMousedown:control":w,onBlur:B,onKeydown:_,"aria-label":l(g.value),title:l(g.value)}),{...t,default:()=>e.createVNode(e.Fragment,null,[e.createVNode(_r,e.mergeProps({ref:i,modelValue:a.value,"onUpdate:modelValue":N=>a.value=N,activator:"parent",contentClass:"v-select__content",disabled:j.value,eager:n.eager,maxHeight:310,openOnClick:!1,closeOnContentClick:!1,transition:n.transition,onAfterLeave:V},n.menuProps),{default:()=>[S&&e.createVNode(Cr,{ref:O,selected:m.value,selectStrategy:n.multiple?"independent":"single-independent",onMousedown:N=>N.preventDefault(),onKeydown:D,onFocusin:M,onScrollPassive:R,tabindex:"-1",color:n.itemColor??n.color},{default:()=>{var N,$,G;return[(N=t["prepend-item"])==null?void 0:N.call(t),!x.value.length&&!n.hideNoData&&((($=t["no-data"])==null?void 0:$.call(t))??e.createVNode(Un,{title:l(n.noDataText)},null)),e.createVNode(Wr,{ref:c,renderless:!0,items:x.value},{default:C=>{var X;let{item:A,index:E,itemRef:W}=C;const H=e.mergeProps(A.props,{ref:W,key:E,onClick:()=>h(A)});return((X=t.item)==null?void 0:X.call(t,{item:A,index:E,props:H}))??e.createVNode(Un,H,{prepend:te=>{let{isSelected:re}=te;return e.createVNode(e.Fragment,null,[n.multiple&&!n.hideSelected?e.createVNode(bt,{key:A.value,modelValue:re,ripple:!1,tabindex:"-1"},null):void 0,A.props.prependIcon&&e.createVNode(ee,{icon:A.props.prependIcon},null)])}})}}),(G=t["append-item"])==null?void 0:G.call(t)]}})]}),p.value.map((N,$)=>{const G={"onClick:close":function(E){E.stopPropagation(),E.preventDefault(),h(N)},onMousedown(E){E.preventDefault(),E.stopPropagation()},modelValue:!0,"onUpdate:modelValue":void 0},C=F?!!t.chip:!!t.selection,A=C?Yo(F?t.chip({item:N,index:$,props:G}):t.selection({item:N,index:$})):void 0;if(!C||A)return e.createVNode("div",{key:N.value,class:"v-select__selection"},[F?t.chip?e.createVNode(le,{key:"chip-defaults",defaults:{VChip:{closable:n.closableChips,size:"small",text:N.title}}},{default:()=>[A]}):e.createVNode(or,e.mergeProps({key:"chip",closable:n.closableChips,size:"small",text:N.title,disabled:N.props.disabled},G),null):A??e.createVNode("span",{class:"v-select__selection-text"},[N.title,n.multiple&&${var l;return e.createVNode("div",{class:["v-card-actions",n.class],style:n.style},[(l=t.default)==null?void 0:l.call(t)])}),{}}}),Yr=bn("v-card-subtitle"),Xr=bn("v-card-title"),Kr=q({appendAvatar:String,appendIcon:Q,prependAvatar:String,prependIcon:Q,subtitle:String,title:String,...Z(),...he()},"VCardItem"),Jr=U()({name:"VCardItem",props:Kr(),setup(n,o){let{slots:t}=o;return K(()=>{var u;const l=!(!n.prependAvatar&&!n.prependIcon),r=!(!l&&!t.prepend),i=!(!n.appendAvatar&&!n.appendIcon),c=!(!i&&!t.append),s=!(!n.title&&!t.title),a=!(!n.subtitle&&!t.subtitle);return e.createVNode("div",{class:["v-card-item",n.class],style:n.style},[r&&e.createVNode("div",{key:"prepend",class:"v-card-item__prepend"},[t.prepend?e.createVNode(le,{key:"prepend-defaults",disabled:!l,defaults:{VAvatar:{density:n.density,icon:n.prependIcon,image:n.prependAvatar}}},t.prepend):l&&e.createVNode(Je,{key:"prepend-avatar",density:n.density,icon:n.prependIcon,image:n.prependAvatar},null)]),e.createVNode("div",{class:"v-card-item__content"},[s&&e.createVNode(Xr,{key:"title"},{default:()=>{var f;return[((f=t.title)==null?void 0:f.call(t))??n.title]}}),a&&e.createVNode(Yr,{key:"subtitle"},{default:()=>{var f;return[((f=t.subtitle)==null?void 0:f.call(t))??n.subtitle]}}),(u=t.default)==null?void 0:u.call(t)]),c&&e.createVNode("div",{key:"append",class:"v-card-item__append"},[t.append?e.createVNode(le,{key:"append-defaults",disabled:!i,defaults:{VAvatar:{density:n.density,icon:n.appendIcon,image:n.appendAvatar}}},t.append):i&&e.createVNode(Je,{key:"append-avatar",density:n.density,icon:n.appendIcon,image:n.appendAvatar},null)])])}),{}}}),Pe=bn("v-card-text"),Zr=q({appendAvatar:String,appendIcon:Q,disabled:Boolean,flat:Boolean,hover:Boolean,image:String,link:{type:Boolean,default:void 0},prependAvatar:String,prependIcon:Q,ripple:{type:[Boolean,Object],default:!0},subtitle:String,text:String,title:String,...Qe(),...Z(),...he(),...Ee(),...nn(),...Mt(),...Dt(),...gl(),...Se(),...nt(),...pe(),...oe(),...xe({variant:"elevated"})},"VCard"),je=U()({name:"VCard",directives:{Ripple:kn},props:Zr(),setup(n,o){let{attrs:t,slots:l}=o;const{themeClasses:r}=ie(n),{borderClasses:i}=en(n),{colorClasses:c,colorStyles:s,variantClasses:a}=In(n),{densityClasses:u}=Ie(n),{dimensionStyles:f}=ze(n),{elevationClasses:v}=tn(n),{loaderClasses:p}=Qn(n),{locationStyles:d}=Lt(n),{positionClasses:m}=hl(n),{roundedClasses:y}=Ve(n),g=et(n,t),b=e.computed(()=>n.link!==!1&&g.isLink.value),P=e.computed(()=>!n.disabled&&n.link!==!1&&(n.link||g.isClickable.value));return K(()=>{const x=b.value?"a":n.tag,j=!(!l.title&&!n.title),O=!(!l.subtitle&&!n.subtitle),R=j||O,D=!!(l.append||n.appendAvatar||n.appendIcon),I=!!(l.prepend||n.prependAvatar||n.prependIcon),w=!(!l.image&&!n.image),_=R||I||D,h=!(!l.text&&!n.text);return e.withDirectives(e.createVNode(x,{class:["v-card",{"v-card--disabled":n.disabled,"v-card--flat":n.flat,"v-card--hover":n.hover&&!(n.disabled||n.flat),"v-card--link":P.value},r.value,i.value,c.value,u.value,v.value,p.value,m.value,y.value,a.value,n.class],style:[s.value,f.value,d.value,n.style],href:g.href.value,onClick:P.value&&g.navigate,tabindex:n.disabled?-1:void 0},{default:()=>{var B;return[w&&e.createVNode("div",{key:"image",class:"v-card__image"},[l.image?e.createVNode(le,{key:"image-defaults",disabled:!n.image,defaults:{VImg:{cover:!0,src:n.image}}},l.image):e.createVNode(sl,{key:"image-img",cover:!0,src:n.image},null)]),e.createVNode(Wt,{name:"v-card",active:!!n.loading,color:typeof n.loading=="boolean"?void 0:n.loading},{default:l.loader}),_&&e.createVNode(Jr,{key:"item",prependAvatar:n.prependAvatar,prependIcon:n.prependIcon,title:n.title,subtitle:n.subtitle,appendAvatar:n.appendAvatar,appendIcon:n.appendIcon},{default:l.item,prepend:l.prepend,title:l.title,subtitle:l.subtitle,append:l.append}),h&&e.createVNode(Pe,{key:"text"},{default:()=>{var V;return[((V=l.text)==null?void 0:V.call(l))??n.text]}}),(B=l.default)==null?void 0:B.call(l),l.actions&&e.createVNode(Ur,null,{default:l.actions}),Vn(P.value,"v-card")]}}),[[e.resolveDirective("ripple"),P.value&&n.ripple]])}),{}}}),Qr=q({indeterminate:Boolean,inset:Boolean,flat:Boolean,loading:{type:[Boolean,String],default:!1},...Fn(),...jt()},"VSwitch"),ei=U()({name:"VSwitch",inheritAttrs:!1,props:Qr(),emits:{"update:focused":n=>!0,"update:modelValue":()=>!0,"update:indeterminate":n=>!0},setup(n,o){let{attrs:t,slots:l}=o;const r=ne(n,"indeterminate"),i=ne(n,"modelValue"),{loaderClasses:c}=Qn(n),{isFocused:s,focus:a,blur:u}=xn(n),f=e.ref(),v=e.computed(()=>typeof n.loading=="string"&&n.loading!==""?n.loading:n.color),p=fe(),d=e.computed(()=>n.id||`switch-${p}`);function m(){r.value&&(r.value=!1)}function y(g){var b,P;g.stopPropagation(),g.preventDefault(),(P=(b=f.value)==null?void 0:b.input)==null||P.click()}return K(()=>{const[g,b]=hn(t),P=ke.filterProps(n),x=Hn.filterProps(n);return e.createVNode(ke,e.mergeProps({class:["v-switch",{"v-switch--inset":n.inset},{"v-switch--indeterminate":r.value},c.value,n.class],style:n.style},g,P,{id:d.value,focused:s.value}),{...l,default:j=>{let{id:O,messagesId:R,isDisabled:D,isReadonly:I,isValid:w}=j;return e.createVNode(Hn,e.mergeProps({ref:f},x,{modelValue:i.value,"onUpdate:modelValue":[_=>i.value=_,m],id:O.value,"aria-describedby":R.value,type:"checkbox","aria-checked":r.value?"mixed":void 0,disabled:D.value,readonly:I.value,onFocus:a,onBlur:u},b),{...l,default:_=>{let{backgroundColorClasses:h,backgroundColorStyles:B}=_;return e.createVNode("div",{class:["v-switch__track",...h.value],style:B.value,onClick:y},null)},input:_=>{let{inputNode:h,icon:B,backgroundColorClasses:V,backgroundColorStyles:M}=_;return e.createVNode(e.Fragment,null,[h,e.createVNode("div",{class:["v-switch__thumb",{"v-switch__thumb--filled":B||n.loading},n.inset?void 0:V.value],style:n.inset?void 0:M.value},[e.createVNode(Na,null,{default:()=>[n.loading?e.createVNode(Wt,{name:"v-switch",active:!0,color:w.value===!1?void 0:v.value},{default:L=>l.loader?l.loader(L):e.createVNode(yl,{active:L.isActive,color:L.color,indeterminate:!0,size:"16",width:"2"},null)}):B&&e.createVNode(ee,{key:B,icon:B,size:"x-small"},null)]})])])}})}})}),{}}}),ni=q({autoGrow:Boolean,autofocus:Boolean,counter:[Boolean,Number,String],counterValue:Function,prefix:String,placeholder:String,persistentPlaceholder:Boolean,persistentCounter:Boolean,noResize:Boolean,rows:{type:[Number,String],default:5,validator:n=>!isNaN(parseFloat(n))},maxRows:{type:[Number,String],validator:n=>!isNaN(parseFloat(n))},suffix:String,modelModifiers:Object,...Fn(),...Gt()},"VTextarea"),ti=U()({name:"VTextarea",directives:{Intersect:$t},inheritAttrs:!1,props:ni(),emits:{"click:control":n=>!0,"mousedown:control":n=>!0,"update:focused":n=>!0,"update:modelValue":n=>!0},setup(n,o){let{attrs:t,emit:l,slots:r}=o;const i=ne(n,"modelValue"),{isFocused:c,focus:s,blur:a}=xn(n),u=e.computed(()=>typeof n.counterValue=="function"?n.counterValue(i.value):(i.value||"").toString().length),f=e.computed(()=>t.maxlength?t.maxlength:!n.counter||typeof n.counter!="number"&&typeof n.counter!="string"?void 0:n.counter);function v(h,B){var V,M;n.autofocus&&h&&((M=(V=B[0].target)==null?void 0:V.focus)==null||M.call(V))}const p=e.ref(),d=e.ref(),m=e.shallowRef(""),y=e.ref(),g=e.computed(()=>n.persistentPlaceholder||c.value||n.active);function b(){var h;y.value!==document.activeElement&&((h=y.value)==null||h.focus()),c.value||s()}function P(h){b(),l("click:control",h)}function x(h){l("mousedown:control",h)}function j(h){h.stopPropagation(),b(),e.nextTick(()=>{i.value="",Ho(n["onClick:clear"],h)})}function O(h){var V;const B=h.target;if(i.value=B.value,(V=n.modelModifiers)==null?void 0:V.trim){const M=[B.selectionStart,B.selectionEnd];e.nextTick(()=>{B.selectionStart=M[0],B.selectionEnd=M[1]})}}const R=e.ref(),D=e.ref(+n.rows),I=e.computed(()=>["plain","underlined"].includes(n.variant));function w(){n.autoGrow&&e.nextTick(()=>{if(!R.value||!d.value)return;const h=getComputedStyle(R.value),B=getComputedStyle(d.value.$el),V=parseFloat(h.getPropertyValue("--v-field-padding-top"))+parseFloat(h.getPropertyValue("--v-input-padding-top"))+parseFloat(h.getPropertyValue("--v-field-padding-bottom")),M=R.value.scrollHeight,L=parseFloat(h.lineHeight),F=We(M??0,Math.max(parseFloat(n.rows)*L+V,parseFloat(B.getPropertyValue("--v-input-control-height"))),parseFloat(n.maxRows)*L+V||1/0);D.value=Math.floor((F-V)/L),m.value=Y(F)})}let _;return e.watchEffect(()=>{n.autoGrow||(D.value=+n.rows)}),e.onMounted(w),e.watch(i,w),e.watch(()=>n.rows,w),e.watch(()=>n.maxRows,w),e.watch(()=>n.density,w),e.watch(R,h=>{h?(_=new ResizeObserver(w),_.observe(R.value)):_==null||_.disconnect()}),e.onBeforeUnmount(()=>{_==null||_.disconnect()}),K(()=>{const h=!!(r.counter||n.counter||n.counterValue),B=!(!h&&!r.details),[V,M]=hn(t),{modelValue:L,...F}=ke.filterProps(n),S=Xl(n);return e.createVNode(ke,e.mergeProps({ref:p,modelValue:i.value,"onUpdate:modelValue":k=>i.value=k,class:["v-textarea v-text-field",{"v-textarea--prefixed":n.prefix,"v-textarea--suffixed":n.suffix,"v-text-field--prefixed":n.prefix,"v-text-field--suffixed":n.suffix,"v-textarea--auto-grow":n.autoGrow,"v-textarea--no-resize":n.noResize||n.autoGrow,"v-input--plain-underlined":I.value},n.class],style:n.style},V,F,{centerAffix:D.value===1&&!I.value,focused:c.value}),{...r,default:k=>{let{id:z,isDisabled:T,isDirty:N,isReadonly:$,isValid:G}=k;return e.createVNode(qt,e.mergeProps({ref:d,style:{"--v-textarea-control-height":m.value},onClick:P,onMousedown:x,"onClick:clear":j,"onClick:prependInner":n["onClick:prependInner"],"onClick:appendInner":n["onClick:appendInner"]},S,{id:z.value,active:g.value||N.value,centerAffix:D.value===1&&!I.value,dirty:N.value||n.dirty,disabled:T.value,focused:c.value,error:G.value===!1}),{...r,default:C=>{let{props:{class:A,...E}}=C;return e.createVNode(e.Fragment,null,[n.prefix&&e.createVNode("span",{class:"v-text-field__prefix"},[n.prefix]),e.withDirectives(e.createVNode("textarea",e.mergeProps({ref:y,class:A,value:i.value,onInput:O,autofocus:n.autofocus,readonly:$.value,disabled:T.value,placeholder:n.placeholder,rows:n.rows,name:n.name,onFocus:b,onBlur:a},E,M),null),[[e.resolveDirective("intersect"),{handler:v},null,{once:!0}]]),n.autoGrow&&e.withDirectives(e.createVNode("textarea",{class:[A,"v-textarea__sizer"],id:`${E.id}-sizer`,"onUpdate:modelValue":W=>i.value=W,ref:R,readonly:!0,"aria-hidden":"true"},null),[[e.vModelText,i.value]]),n.suffix&&e.createVNode("span",{class:"v-text-field__suffix"},[n.suffix])])}})},details:B?k=>{var z;return e.createVNode(e.Fragment,null,[(z=r.details)==null?void 0:z.call(r,k),h&&e.createVNode(e.Fragment,null,[e.createVNode("span",null,null),e.createVNode(Yl,{active:n.persistentCounter||c.value,value:u.value,max:f.value},r.counter)])])}:void 0})}),tt({},p,d,y)}}),Jl=e.defineComponent({__name:"BooleanIcons",props:e.mergeModels({iconFalseColor:{},iconFalseTitle:{},iconTrueColor:{},iconTrueTitle:{},iconFalse:{},iconTrue:{}},{modelValue:{}}),emits:["update:modelValue"],setup(n){const o=n,t=e.inject(Symbol.for("vuetify:icons")),l=e.useModel(n,"modelValue"),r=e.computed(()=>ve({icon:o.iconFalse,iconOptions:t,name:"false"})),i=e.computed(()=>ve({icon:o.iconTrue,iconOptions:t,name:"true"}));return(c,s)=>l.value?(e.openBlock(),e.createBlock(e.unref(ee),{key:0,class:"v-inline-fields--boolean-icons fa-fw",color:c.iconTrueColor,icon:e.unref(i),size:"x-small",title:c.iconTrueTitle},null,8,["color","icon","title"])):(e.openBlock(),e.createBlock(e.unref(ee),{key:1,class:"v-inline-fields--boolean-icons fa-fw",color:c.iconFalseColor,icon:e.unref(r),size:"x-small",title:c.iconFalseTitle},null,8,["color","icon","title"]))}}),J="v-inline-fields",Ge=n=>{const{field:o="",density:t="",disabled:l=!1,iconSet:r="mdi",loading:i=!1,loadingWait:c,tableField:s=!1,variant:a}=n,u=t&&a;return{[`${J}`]:!0,[`${J}--container`]:!0,[`${J}--container-disabled`]:e.unref(l),[`${J}--container-table`]:s,[`${J}--container-icon-set-${r}`]:!0,[`${J}--container-loading`]:i&&c,[`${J}--container-${o}`]:!0,[`${J}--container-${o}-${t}`]:!0,[`${J}--container-${o}-${t}-${a}`]:u,[`${J}--container-${o}-${a}`]:a,[`${J}--container-${o}-${a}-${t}`]:u,[`${J}--container-${t}`]:t,[`${J}--container-${t}-${o}`]:t,[`${J}--container-${t}-${a}`]:u,[`${J}--container-${a}`]:a,[`${J}--container-${a}-${t}`]:u,[`${J}--container-${a}-${o}`]:a}},qe=n=>{const{field:o="",density:t=""}=n;return{[`${J}--display-container`]:!0,[`${J}--display-wrapper-value`]:!0,[`${o}`]:!0,"v-input":!0,[`v-input--density-${t}`]:!0,"v-input--horizontal":!0}},Xn=n=>{const{density:o="",variant:t=""}=n;return{"v-input":!0,"v-input--dirty":!0,"v-input--horizontal":!0,"v-text-field":!0,[`v-input--density-${o}`]:!0,[`v-text-field--plain-${t}`]:!0}},Zl=n=>{const{density:o=""}=n;return{[`v-selection-control--density-${o}`]:!0}},Ht=(n,o,t)=>{const{error:l=!1,empty:r=!1}=t;return{[`${J}`]:!0,[`${J}--display-value-${n}`]:!0,[`${J}--display-value`]:!0,[`${J}--display-value-empty`]:e.unref(r),[`text-${o}`]:!e.unref(l),"text-danger":e.unref(l)}},He=n=>{const{name:o,active:t=!1}=n;return{[`${J}`]:!0,[`${J}--field`]:!0,[`${J}--field-${o}`]:!0,[`${J}--field-active`]:t}},Ue=n=>{const{name:o,showField:t}=n;return{[`${J}--card-container`]:!0,[`${J}--card-container-${o}`]:!0,"d-none":!t}};function Do(n){if(!n)return 100;if(n.toString().includes(".")){const o=100*Number(n);return o>=100?100:o}return Number(n)>=100?100:Number(n)}function Lo(n){let o=function(v){const p={AliceBlue:"#F0F8FF",AntiqueWhite:"#FAEBD7",Aqua:"#00FFFF",Aquamarine:"#7FFFD4",Azure:"#F0FFFF",Beige:"#F5F5DC",Bisque:"#FFE4C4",Black:"#000000",BlanchedAlmond:"#FFEBCD",Blue:"#0000FF",BlueViolet:"#8A2BE2",Brown:"#A52A2A",BurlyWood:"#DEB887",CadetBlue:"#5F9EA0",Chartreuse:"#7FFF00",Chocolate:"#D2691E",Coral:"#FF7F50",CornflowerBlue:"#6495ED",Cornsilk:"#FFF8DC",Crimson:"#DC143C",Cyan:"#00FFFF",DarkBlue:"#00008B",DarkCyan:"#008B8B",DarkGoldenRod:"#B8860B",DarkGray:"#A9A9A9",DarkGreen:"#006400",DarkGrey:"#A9A9A9",DarkKhaki:"#BDB76B",DarkMagenta:"#8B008B",DarkOliveGreen:"#556B2F",DarkOrange:"#FF8C00",DarkOrchid:"#9932CC",DarkRed:"#8B0000",DarkSalmon:"#E9967A",DarkSeaGreen:"#8FBC8F",DarkSlateBlue:"#483D8B",DarkSlateGray:"#2F4F4F",DarkSlateGrey:"#2F4F4F",DarkTurquoise:"#00CED1",DarkViolet:"#9400D3",DeepPink:"#FF1493",DeepSkyBlue:"#00BFFF",DimGray:"#696969",DimGrey:"#696969",DodgerBlue:"#1E90FF",FireBrick:"#B22222",FloralWhite:"#FFFAF0",ForestGreen:"#228B22",Fuchsia:"#FF00FF",Gainsboro:"#DCDCDC",GhostWhite:"#F8F8FF",Gold:"#FFD700",GoldenRod:"#DAA520",Gray:"#808080",Green:"#008000",GreenYellow:"#ADFF2F",Grey:"#808080",HoneyDew:"#F0FFF0",HotPink:"#FF69B4",IndianRed:"#CD5C5C",Indigo:"#4B0082",Ivory:"#FFFFF0",Khaki:"#F0E68C",Lavender:"#E6E6FA",LavenderBlush:"#FFF0F5",LawnGreen:"#7CFC00",LemonChiffon:"#FFFACD",LightBlue:"#ADD8E6",LightCoral:"#F08080",LightCyan:"#E0FFFF",LightGoldenRodYellow:"#FAFAD2",LightGray:"#D3D3D3",LightGreen:"#90EE90",LightGrey:"#D3D3D3",LightPink:"#FFB6C1",LightSalmon:"#FFA07A",LightSeaGreen:"#20B2AA",LightSkyBlue:"#87CEFA",LightSlateGray:"#778899",LightSlateGrey:"#778899",LightSteelBlue:"#B0C4DE",LightYellow:"#FFFFE0",Lime:"#00FF00",LimeGreen:"#32CD32",Linen:"#FAF0E6",Magenta:"#FF00FF",Maroon:"#800000",MediumAquaMarine:"#66CDAA",MediumBlue:"#0000CD",MediumOrchid:"#BA55D3",MediumPurple:"#9370DB",MediumSeaGreen:"#3CB371",MediumSlateBlue:"#7B68EE",MediumSpringGreen:"#00FA9A",MediumTurquoise:"#48D1CC",MediumVioletRed:"#C71585",MidnightBlue:"#191970",MintCream:"#F5FFFA",MistyRose:"#FFE4E1",Moccasin:"#FFE4B5",NavajoWhite:"#FFDEAD",Navy:"#000080",OldLace:"#FDF5E6",Olive:"#808000",OliveDrab:"#6B8E23",Orange:"#FFA500",OrangeRed:"#FF4500",Orchid:"#DA70D6",PaleGoldenRod:"#EEE8AA",PaleGreen:"#98FB98",PaleTurquoise:"#AFEEEE",PaleVioletRed:"#DB7093",PapayaWhip:"#FFEFD5",PeachPuff:"#FFDAB9",Peru:"#CD853F",Pink:"#FFC0CB",Plum:"#DDA0DD",PowderBlue:"#B0E0E6",Purple:"#800080",RebeccaPurple:"#663399",Red:"#FF0000",RosyBrown:"#BC8F8F",RoyalBlue:"#4169E1",SaddleBrown:"#8B4513",Salmon:"#FA8072",SandyBrown:"#F4A460",SeaGreen:"#2E8B57",SeaShell:"#FFF5EE",Sienna:"#A0522D",Silver:"#C0C0C0",SkyBlue:"#87CEEB",SlateBlue:"#6A5ACD",SlateGray:"#708090",SlateGrey:"#708090",Snow:"#FFFAFA",SpringGreen:"#00FF7F",SteelBlue:"#4682B4",Tan:"#D2B48C",Teal:"#008080",Thistle:"#D8BFD8",Tomato:"#FF6347",Turquoise:"#40E0D0",Violet:"#EE82EE",Wheat:"#F5DEB3",White:"#FFFFFF",WhiteSmoke:"#F5F5F5",Yellow:"#FFFF00",YellowGreen:"#9ACD32"};let d=v;return Object.entries(p).forEach(([m,y])=>{v.toLowerCase()!=m.toLowerCase()||(d=y)}),d}(n),t=0,l=0,r=0,i=100,c=0,s=0,a=0;if(o.substring(0,1)==="#")o=function(v){let p=v.replace("#","");p.length===3&&(p=p.split("").map(b=>b+b).join(""));const d=parseInt(p.substring(0,2),16),m=parseInt(p.substring(2,4),16),y=parseInt(p.substring(4,6),16);return[d,m,y,100]}(o);else if(o.includes("rgb"))o=[...o.matchAll(/[\d+.\d+]+/g)].map(Number);else if(o.includes("hsl"))return o=[...o.matchAll(/[\d+.\d+]+/g)].map(String),t=o[0],l=o[1],r=o[2],i=Do(o[3]),`${t} ${l}% ${r}% / ${i}%`;[c,s,a,i]=o,c/=255,s/=255,a/=255,i=Do(i);const u=Math.max(c,s,a),f=Math.min(c,s,a);if(u===null||!f===null||isNaN(u)||isNaN(f)){const v="0 0% 100% / 12%";return console.warn(`[VuetifyInlineFields: The "color" prop value using "${o}" doesn't exist. Using the value "hsl(${v})" in it's place.`),v}if(t=(u+f)/2,l=(u+f)/2,r=(u+f)/2,u==f)t=l=0;else{const v=u-f;switch(l=r>.5?v/(2-u-f):v/(u+f),u){case c:t=(s-a)/v+(s{if(function(l){return l==="transparent"||l==="none"||l==="inherit"||l==="currentColor"||l==="initial"||l==="unset"}(n))return n;if(function(l){return l.includes("--v-theme")}(n))return`rgb(var(${n}))`;const t=function(l,r){const i=r.global.current.value.colors;return Object.entries(i).find(([c])=>c===l)}(n,o);return t?`hsl(${Lo(t[1])})`:`hsl(${Lo(n)})`},rn=n=>{const{str:o,unit:t="px"}=n;if(o!=null&&o!=="")return+o?`${Number(o)}${t}`:String(o)},Ql=n=>{var r;const{modelValue:o,trueValue:t}=n,l=e.unref(o);return((r=l==null?void 0:l.toLowerCase)==null?void 0:r.call(l))==="true"||l==="1"||l=="1"||l===!0||l==t||l===t},Ut=n=>{const{underlineStyle:o,underlineWidth:t,color:l,error:r,theme:i,underlined:c}=n;let{underlineColor:s}=n;s=s||l;const a={"border-bottom-color":oi(s,i),"border-bottom-style":o,"border-bottom-width":t};return e.unref(r)&&(a["border-bottom-color"]="rgb(var(--v-theme-danger))"),c||(a["border-bottom"]="none"),a},_e=n=>{const{cardMinWidth:o,cardOffsetX:t,cardOffsetY:l,cardWidth:r,field:i,name:c=""}=n,s=(f=>{const{cardOffsetX:v,cardOffsetY:p,field:d}=f;if(!d)return{bottom:0,height:0,left:0,right:0,top:0,width:0,x:0,y:0};const{x:m,y}=d.getBoundingClientRect(),{width:g,height:b}=d.getBoundingClientRect(),{right:P,bottom:x}=d.getBoundingClientRect();return{bottom:rn({str:x+Number(p)}),height:b,left:rn({str:0+Number(v)}),right:rn({str:P+Number(v)}),top:rn({str:2+Number(p)}),width:rn({str:g}),x:m,y}})({cardOffsetX:t,cardOffsetY:l,field:i});let a=o,u=r;return u||(u=c==="checkbox"?"fit-content":s.width),a||(a=c==="checkbox"?"fit-content":s.width),{left:s.left,top:s.top,width:u,zIndex:10}},li={class:"v-inline-fields--display-wrapper"},Kn=e.defineComponent({__name:"DisplayedValue",props:{color:{},displayAppendIcon:{},displayAppendIconColor:{},displayAppendInnerIcon:{},displayAppendInnerIconColor:{},displayPrependIcon:{},displayPrependIconColor:{},displayPrependInnerIcon:{},displayPrependInnerIconColor:{},displayValue:{},empty:{type:Boolean},error:{type:Boolean},field:{},underlineColor:{},underlineStyle:{},underlineWidth:{},underlined:{type:Boolean}},emits:["toggleField"],setup(n,{emit:o}){const t=o,l=n,r=e.useSlots(),i=Ft.useTheme(),c={displayValue:l.displayValue,empty:l.empty,error:l.error},s=e.computed(()=>Ht(l.field,l.valueColor,{empty:l.empty,error:l.error})),a=e.computed(()=>Ut({color:l.color,error:l.error,theme:i,underlineColor:l.underlineColor,underlineStyle:l.underlineStyle,underlineWidth:l.underlineWidth,underlined:l.underlined})),u=e.computed(()=>(p=>{const{underlineWidth:d}=p;return{borderBottom:`${d||"0px"} solid transparent`}})({underlineWidth:l.underlineWidth})),f=(p,d=!1)=>(m=>{const{inner:y=!1,position:g}=m;return{[`${J}--display-icon`]:!y,[`${J}--display-${g}-icon`]:!y,[`${J}--display-${g}-inner-icon`]:y,"me-1":g==="prepend","ms-1":g==="append"}})({inner:d,position:p});function v(){t("toggleField")}return(p,d)=>(e.openBlock(),e.createElementBlock("div",li,[p.displayPrependIcon||e.unref(r)["display.prepend"]?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(f("prepend")),style:e.normalizeStyle(e.unref(u))},[e.unref(r)["display.prepend"]?e.renderSlot(p.$slots,"display.prepend",e.normalizeProps(e.mergeProps({key:0},c))):(e.openBlock(),e.createBlock(ee,{key:1,color:p.displayPrependIconColor,icon:p.displayPrependIcon,size:"x-small"},null,8,["color","icon"]))],6)):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(["d-inline-flex",e.unref(s)]),style:e.normalizeStyle(e.unref(a)),onClick:v},[p.displayPrependInnerIcon||e.unref(r)["display.prependInner"]?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(f("prepend",!0))},[e.unref(r)["display.prependInner"]?e.renderSlot(p.$slots,"display.prependInner",e.normalizeProps(e.mergeProps({key:0},c))):(e.openBlock(),e.createBlock(ee,{key:1,color:p.displayPrependInnerIconColor,icon:p.displayPrependInnerIcon,size:"x-small"},null,8,["color","icon"]))],2)):e.createCommentVNode("",!0),e.createTextVNode(" "+e.toDisplayString(p.displayValue)+" ",1),p.displayAppendInnerIcon||e.unref(r)["display.appendInner"]?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(f("append",!0))},[e.unref(r)["display.appendInner"]?e.renderSlot(p.$slots,"display.appendInner",e.normalizeProps(e.mergeProps({key:0},c))):(e.openBlock(),e.createBlock(ee,{key:1,color:p.displayAppendInnerIconColor,icon:p.displayAppendInnerIcon,size:"x-small"},null,8,["color","icon"]))],2)):e.createCommentVNode("",!0)],6),p.displayAppendIcon||e.unref(r)["display.append"]?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(f("append")),style:e.normalizeStyle(e.unref(u))},[e.unref(r)["display.append"]?e.renderSlot(p.$slots,"display.append",e.normalizeProps(e.mergeProps({key:0},c))):(e.openBlock(),e.createBlock(ee,{key:1,color:p.displayAppendIconColor,icon:p.displayAppendIcon,size:"x-small"},null,8,["color","icon"]))],6)):e.createCommentVNode("",!0)]))}}),mn=e.defineComponent({__name:"SaveFieldButtons",props:{loading:{type:Boolean},cancelButtonColor:{},cancelButtonSize:{},cancelButtonVariant:{},cancelButtonTitle:{},cancelIconColor:{},error:{type:Boolean},fieldOnly:{type:Boolean},hideSaveIcon:{type:Boolean},loadingIconColor:{},saveButtonColor:{},saveButtonSize:{},saveButtonTitle:{},saveButtonVariant:{},saveIconColor:{},cancelIcon:{},loadingIcon:{},saveIcon:{}},emits:["close","save"],setup(n,{emit:o}){const t=e.useAttrs(),l=o,r=n,i=e.inject(Symbol.for("vuetify:icons")),c=e.computed(()=>r.error),s=e.computed(()=>({[`${J}--save-fields-container`]:!0})),a=e.computed(()=>r.loading),u=e.reactive({...t,...r}),f=e.computed(()=>(i==null?void 0:i.defaultSet)==="fa"?"fa-spin":(i==null?void 0:i.defaultSet)==="mdi"?"mdi-spin":""),v=e.computed(()=>(b=>{const{cancelButtonVariant:P}=b;return{"me-1":P==="elevated","ms-1":!0}})({cancelButtonVariant:u.cancelButtonVariant})),p=e.computed(()=>ve({icon:r.cancelIcon,iconOptions:i,name:"false"})),d=e.computed(()=>ve({icon:r.loadingIcon,iconOptions:i,name:"loading"})),m=e.computed(()=>ve({icon:r.saveIcon,iconOptions:i,name:"save"}));function y(){l("close")}function g(){l("save")}return(b,P)=>(e.openBlock(),e.createElementBlock("div",e.mergeProps({class:e.unref(s)},b.$attrs),[e.unref(u).hideSaveIcon?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(ht,{key:0,class:"ms-1",color:e.unref(u).saveButtonColor,disabled:e.unref(c),icon:"",size:e.unref(u).saveButtonSize,title:e.unref(a)?"Loading":e.unref(u).saveButtonTitle,variant:e.unref(u).saveButtonVariant,onClick:g},{default:e.withCtx(()=>[e.unref(a)?(e.openBlock(),e.createBlock(ee,{key:1,class:e.normalizeClass(e.unref(f)),color:e.unref(u).loadingIconColor,icon:e.unref(d)},null,8,["class","color","icon"])):(e.openBlock(),e.createBlock(ee,{key:0,color:e.unref(c)?"error":e.unref(u).saveIconColor,icon:e.unref(m)},null,8,["color","icon"]))]),_:1},8,["color","disabled","size","title","variant"])),e.createVNode(ht,{class:e.normalizeClass(e.unref(v)),color:e.unref(u).cancelButtonColor,icon:"",size:e.unref(u).cancelButtonSize,title:e.unref(u).cancelButtonTitle,variant:e.unref(u).cancelButtonVariant,onClick:y},{default:e.withCtx(()=>[e.unref(u).hideSaveIcon&&e.unref(a)?(e.openBlock(),e.createBlock(ee,{key:0,class:e.normalizeClass(e.unref(f)),color:e.unref(u).loadingIconColor,icon:e.unref(d)},null,8,["class","color","icon"])):(e.openBlock(),e.createBlock(ee,{key:1,class:"text-default",color:e.unref(u).cancelIconColor,icon:e.unref(p)},null,8,["color","icon"]))]),_:1},8,["class","color","size","title","variant"])],16))}}),Jn=n=>{const{required:o,rules:t}=n;let{value:l}=n;l=e.unref(l);const r=[];let i=!1;if(o&&!l)return r.push("Field is required."),{errors:!0,results:r};if(t){for(const c of t){const s=(typeof c=="function"?c:()=>c)(l);s!==!0&&(typeof s=="string"?r.push(s):console.warn(`${s} is not a valid value. Rule functions must return boolean true or a string.`))}i=r.length>0}return{errors:i,results:r}},Ye=n=>{const{attrs:o,closeSiblings:t,fieldOnly:l,props:r,showField:i,timeOpened:c}=n;let s=c;return t&&!l&&(s=new Date),{settings:{...o,...r},showField:!e.unref(i),timeOpened:s}},xt=n=>{const{length:o=0}=n;let{suffix:t,text:l}=n;return l=l.toString(),t=t||"...",l.length>o?`${l.substring(0,o)}${t}`:l},Xe=["error","update","update:closeSiblingFields","update:model-value"],ai=["cancelButtonColor","cancelButtonSize","cancelButtonTitle","cancelButtonVariant","cancelIcon","cancelIconColor","closeSiblings","displayAppendIcon","displayAppendIconColor","displayAppendIconSize","displayAppendInnerIcon","displayAppendInnerIconColor","displayAppendInnerIconSize","displayPrependIcon","displayPrependIconColor","displayPrependIconSize","displayPrependInnerIcon","displayPrependInnerIconColor","displayPrependInnerIconSize","emptyText","fieldOnly","hideSaveIcon","item","loadingIcon","loadingIconColor","loadingWait","saveButtonColor","saveButtonSize","saveButtonTitle","saveButtonVariant","saveIcon","saveIconColor","tableField","truncateLength","truncateSuffix","underlineColor","underlineStyle","underlineWidth","underlined","valueColor"],un=n=>{let o=n;return o=Object.entries(o).filter(([t])=>!ai.includes(t)),Object.fromEntries(o)},ri={class:"v-selection-control__wrapper"},ii=e.defineComponent({__name:"VInlineCheckbox",props:e.mergeModels(e.mergeDefaults({density:{},falseIcon:{},trueIcon:{},cancelButtonColor:{},cancelButtonSize:{},cancelButtonTitle:{},cancelButtonVariant:{},cancelIcon:{},cancelIconColor:{},cardField:{type:Boolean},cardOffsetX:{},cardOffsetY:{},cardProps:{},closeSiblings:{type:Boolean},color:{},disabled:{type:Boolean},displayAppendIcon:{},displayAppendIconColor:{},displayAppendIconSize:{},displayAppendInnerIcon:{},displayAppendInnerIconColor:{},displayAppendInnerIconSize:{},displayPrependIcon:{},displayPrependIconColor:{},displayPrependIconSize:{},displayPrependInnerIcon:{},displayPrependInnerIconColor:{},displayPrependInnerIconSize:{},emptyText:{},error:{type:Boolean},falseValue:{type:[Boolean,String]},fieldOnly:{type:Boolean},hideDetails:{type:Boolean},hideSaveIcon:{type:Boolean},iconFalse:{},iconFalseColor:{},iconFalseTitle:{},iconTrue:{},iconTrueColor:{},iconTrueTitle:{},icons:{type:Boolean},item:{},label:{},loading:{type:Boolean},loadingIcon:{},loadingIconColor:{},loadingWait:{type:Boolean},name:{},required:{type:Boolean},saveButtonColor:{},saveButtonSize:{},saveButtonTitle:{},saveButtonVariant:{},saveIcon:{},saveIconColor:{},tableField:{type:Boolean},trueValue:{type:[Boolean,String]},underlineColor:{},underlineStyle:{},underlineWidth:{},underlined:{type:Boolean},valueColor:{}},{...ca}),{modelValue:{}}),emits:e.mergeModels([...Xe],["update:modelValue"]),setup(n,{emit:o}){const t=e.useModel(n,"modelValue"),l=e.useAttrs(),r=e.useSlots(),i=o,c=e.inject(Symbol.for("vuetify:icons")),s=Ft.useTheme(),a=n;let u=e.reactive({...l,...a});const f=e.computed(()=>a.loading),v=e.computed(()=>a.disabled),p=e.ref(!1),d=e.ref(!1),m=e.ref(null),y=e.computed(()=>un(u)),g=e.computed(()=>({...Me,...a.cardProps}));e.watch(()=>f.value,(C,A)=>{!C&&A&&d.value&&z()});const b=e.computed(()=>ve({icon:a.trueIcon,iconOptions:c,name:"checkboxFalse"})),P=e.computed(()=>ve({icon:a.iconTrue,iconOptions:c,name:"checkboxTrue"})),x=e.computed(()=>t.value==u.trueValue),j=e.computed(()=>Ql({modelValue:t,trueValue:u.trueValue})),O=e.computed(()=>Ge({density:u.density,disabled:v.value,field:"v-checkbox",loading:f.value,loadingWait:u.loadingWait,tableField:u.tableField})),R=e.computed(()=>qe({density:u.density,field:"v-checkbox"})),D=Zl({density:u.density}),I=e.computed(()=>He({active:d.value,name:"checkbox"})),w=e.computed(()=>Ht("checkbox",u.valueColor,{error:p})),_=e.computed(()=>Ue({name:"checkbox",showField:d.value})),h=e.computed(()=>({})),B=e.computed(()=>Ut({color:u.color,error:p,theme:s,underlineColor:u.underlineColor,underlineStyle:u.underlineStyle,underlineWidth:u.underlineWidth,underlined:u.underlined})),V=e.computed(()=>L.value);function M(){p.value=!1,z()}const L=e.ref(),F=e.ref(null),S=e.ref("body"),k=ua.useWindowSize();function z(){var A,E;if(v.value||u.loadingWait&&f.value)return;L.value=_e({cardMinWidth:(A=u.cardProps)==null?void 0:A.minWidth,cardOffsetX:u.cardOffsetX,cardOffsetY:u.cardOffsetY,cardWidth:(E=u.cardProps)==null?void 0:E.width,field:F.value,name:"checkbox"});const C=Ye({attrs:l,closeSiblings:u.closeSiblings,fieldOnly:u.fieldOnly,props:a,showField:d,timeOpened:m.value});u={...u,...C.settings},d.value=C.showField,m.value=C.timeOpened,N!==null&&u.closeSiblings&&d.value&&!u.fieldOnly&&N.emit(C.timeOpened)}function T(C){t.value=C,i("update",C),u.loadingWait||z()}let N,$;function G(C){i("update:closeSiblingFields",m),d.value&&m.value!==C&&z()}return e.watch(()=>k,()=>{var C,A;L.value=_e({cardMinWidth:(C=u.cardProps)==null?void 0:C.minWidth,cardOffsetX:u.cardOffsetX,cardOffsetY:u.cardOffsetY,cardWidth:(A=u.cardProps)==null?void 0:A.width,field:F.value,name:"checkbox"})},{deep:!0}),u.closeSiblings&&import("@vueuse/core").then(({useEventBus:C})=>{N=C(Le),$=N.on(G)}),e.onUnmounted(()=>{$!==void 0&&N.off(G)}),(C,A)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"inlineFieldsContainer",ref:F,class:e.normalizeClass(e.unref(O)),style:e.normalizeStyle(e.unref(h))},[!e.unref(d)&&!e.unref(u).fieldOnly||e.unref(u).cardField?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(R))},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(D))},[e.createElementVNode("div",ri,[C.icons?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(w)),style:e.normalizeStyle(e.unref(B)),onClick:z},[e.createVNode(e.unref(Jl),{modelValue:e.unref(j),"onUpdate:modelValue":A[0]||(A[0]=E=>e.isRef(j)?j.value=E:null),"icon-false":e.unref(u).iconFalse,"icon-false-color":e.unref(u).iconFalseColor,"icon-false-title":e.unref(u).iconFalseTitle,"icon-true":e.unref(u).iconTrue,"icon-true-color":e.unref(u).iconTrueColor,"icon-true-title":e.unref(u).iconTrueTitle},null,8,["modelValue","icon-false","icon-false-color","icon-false-title","icon-true","icon-true-color","icon-true-title"])],6)):(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(["d-inline-flex align-center justify-center",e.unref(w)]),style:e.normalizeStyle(e.unref(B)),onClick:z},e.toDisplayString(e.unref(x)),7))])],2)],2)):e.createCommentVNode("",!0),e.unref(d)||e.unref(u).fieldOnly||e.unref(u).cardField?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(e.unref(I))},[(e.openBlock(),e.createBlock(e.Teleport,{disabled:!e.unref(u).cardField,to:e.unref(S)},[e.createVNode(Qa,e.mergeProps(e.unref(y),{color:e.unref(u).color,density:e.unref(u).density,disabled:e.unref(f)||e.unref(v),error:e.unref(p),"false-icon":e.unref(b),"false-value":e.unref(u).falseValue,"hide-details":e.unref(u).hideDetails,label:e.unref(u).label,"model-value":e.unref(j),"true-icon":e.unref(P),"true-value":e.unref(u).trueValue,"onUpdate:modelValue":T}),e.createSlots({_:2},[e.renderList(e.unref(r),(E,W)=>({name:W,fn:e.withCtx(H=>[e.renderSlot(C.$slots,W,e.normalizeProps(e.guardReactiveProps({...H})))])})),e.unref(r).append?void 0:{name:"append",fn:e.withCtx(()=>[e.createVNode(e.unref(mn),{"cancel-button-color":e.unref(u).cancelButtonColor,"cancel-button-size":e.unref(u).cancelButtonSize,"cancel-button-title":e.unref(u).cancelButtonTitle,"cancel-button-variant":e.unref(u).cancelButtonVariant,"cancel-icon":e.unref(u).cancelIcon,"cancel-icon-color":e.unref(u).cancelIconColor,error:e.unref(p),"field-only":e.unref(u).fieldOnly,"hide-save-icon":!0,loading:e.unref(f),"loading-icon":e.unref(u).loadingIcon,"loading-icon-color":e.unref(u).loadingIconColor,"save-button-color":e.unref(u).saveButtonColor,"save-button-size":e.unref(u).saveButtonSize,"save-button-title":e.unref(u).saveButtonTitle,"save-button-variant":e.unref(u).saveButtonVariant,"save-icon":e.unref(u).saveIcon,"save-icon-color":e.unref(u).saveIconColor,onClose:M,onSave:T},null,8,["cancel-button-color","cancel-button-size","cancel-button-title","cancel-button-variant","cancel-icon","cancel-icon-color","error","field-only","loading","loading-icon","loading-icon-color","save-button-color","save-button-size","save-button-title","save-button-variant","save-icon","save-icon-color"])]),key:"0"}]),1040,["color","density","disabled","error","false-icon","false-value","hide-details","label","model-value","true-icon","true-value"])],8,["disabled","to"]))],2)):e.createCommentVNode("",!0),e.unref(u).cardField?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass(e.unref(_)),style:e.normalizeStyle(e.unref(V))},[e.createVNode(je,e.normalizeProps(e.guardReactiveProps(e.unref(g))),{default:e.withCtx(()=>[e.createVNode(Pe,null,{default:e.withCtx(()=>[e.createElementVNode("div",{ref_key:"cardFieldRef",ref:S},null,512)]),_:1})]),_:1},16)],6)):e.createCommentVNode("",!0)],6))}}),si=e.defineComponent({__name:"VInlineCustomField",props:e.mergeModels(e.mergeDefaults({clearIcon:{},density:{},rules:{},variant:{},autofocus:{type:Boolean},cancelButtonColor:{},cancelButtonSize:{},cancelButtonTitle:{},cancelButtonVariant:{},cancelIcon:{},cancelIconColor:{},cardField:{type:Boolean},cardOffsetX:{},cardOffsetY:{},cardProps:{},closeSiblings:{type:Boolean},color:{},disabled:{type:Boolean},displayAppendIcon:{},displayAppendIconColor:{},displayAppendIconSize:{},displayAppendInnerIcon:{},displayAppendInnerIconColor:{},displayAppendInnerIconSize:{},displayPrependIcon:{},displayPrependIconColor:{},displayPrependIconSize:{},displayPrependInnerIcon:{},displayPrependInnerIconColor:{},displayPrependInnerIconSize:{},emptyText:{},error:{type:Boolean},fieldOnly:{type:Boolean},hideDetails:{type:Boolean},hideSaveIcon:{type:Boolean},item:{},label:{},loading:{type:Boolean},loadingIcon:{},loadingIconColor:{},loadingWait:{type:Boolean},name:{},required:{type:Boolean},saveButtonColor:{},saveButtonSize:{},saveButtonTitle:{},saveButtonVariant:{},saveIcon:{},saveIconColor:{},tableField:{type:Boolean},truncateLength:{},truncateSuffix:{},underlineColor:{},underlineStyle:{},underlineWidth:{},underlined:{type:Boolean},valueColor:{}},{...Wo}),{modelValue:{}}),emits:e.mergeModels([...Xe],["update:modelValue"]),setup(n,{emit:o}){const t=e.useModel(n,"modelValue"),l=e.useAttrs(),r=e.useSlots(),i=o,c=e.inject(Symbol.for("vuetify:icons")),s=n;let a=e.reactive({...l,...s});const u=e.computed(()=>s.loading),f=e.computed(()=>s.disabled),v=e.ref(!1),p=e.ref(!1),d=e.ref(!1),m=e.ref(null);let y=t.value;e.watch(()=>u.value,($,G)=>{!$&&G&&d.value&&L()});const g=e.computed(()=>t.value?(v.value=!1,a.truncateLength?xt({length:a.truncateLength,suffix:a.truncateSuffix,text:t.value}):t.value):(v.value=!0,a.emptyText)),b=e.computed(()=>({...a,loading:u.value,modelValue:t.value,originalValue:y})),P=e.computed(()=>({color:a.color,displayAppendIcon:s.displayAppendIcon,displayAppendIconColor:s.displayAppendIconColor,displayAppendIconSize:s.displayAppendIconSize,displayAppendInnerIcon:s.displayAppendInnerIcon,displayAppendInnerIconColor:s.displayAppendInnerIconColor,displayAppendInnerIconSize:s.displayAppendInnerIconSize,displayPrependIcon:s.displayPrependIcon,displayPrependIconColor:s.displayPrependIconColor,displayPrependIconSize:s.displayPrependIconSize,displayPrependInnerIcon:s.displayPrependInnerIcon,displayPrependInnerIconColor:s.displayPrependInnerIconColor,displayPrependInnerIconSize:s.displayPrependInnerIconSize,displayValue:g.value,empty:v.value,error:p.value,field:"v-text-field",underlineColor:a.underlineColor,underlineStyle:a.underlineStyle,underlineWidth:a.underlineWidth,underlined:a.underlined,valueColor:a.valueColor})),x=e.computed(()=>({...Me,...s.cardProps})),j=e.computed(()=>Ge({density:a.density,disabled:f.value,field:"v-text-field",iconSet:c==null?void 0:c.defaultSet,loading:u.value,loadingWait:a.loadingWait,tableField:a.tableField,variant:a.variant})),O=e.computed(()=>qe({density:a.density,field:"v-text-field"})),R=Xn({density:a.density,variant:a.variant}),D=e.computed(()=>He({active:d.value,name:"text-field"})),I=e.computed(()=>Ue({name:"custom-field",showField:d.value})),w=e.computed(()=>({})),_=e.computed(()=>B.value);function h(){p.value=!1,t.value=y,L()}const B=e.ref(),V=e.ref(null),M=e.ref("body");function L(){var G,C;if(f.value||a.loadingWait&&u.value)return;B.value=_e({cardMinWidth:(G=a.cardProps)==null?void 0:G.minWidth,cardOffsetX:a.cardOffsetX,cardOffsetY:a.cardOffsetY,cardWidth:(C=a.cardProps)==null?void 0:C.width,field:V.value});const $=Ye({attrs:l,closeSiblings:a.closeSiblings,fieldOnly:a.fieldOnly,props:s,showField:d,timeOpened:m.value});a={...a,...$.settings},d.value=$.showField,m.value=$.timeOpened,z!==null&&a.closeSiblings&&d.value&&!a.fieldOnly&&z.emit($.timeOpened)}const F=e.ref();function S(){const $=Jn({required:a.required,rules:a.rules,value:t});return p.value=$.errors,F.value=$.results,$.results}function k(){p.value?p.value=!0:(y=t.value,i("update",t.value),a.loadingWait||L())}let z,T;function N($){i("update:closeSiblingFields",m),d.value&&m.value!==$&&h()}return e.watch(()=>d.value,()=>{d.value&&S()}),e.watch(()=>t.value,()=>{d.value&&S()}),a.closeSiblings&&import("@vueuse/core").then(({useEventBus:$})=>{z=$(Le),T=z.on(N)}),e.onUnmounted(()=>{T!==void 0&&z.off(N)}),($,G)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"inlineFieldsContainer",ref:V,class:e.normalizeClass(e.unref(j)),style:e.normalizeStyle(e.unref(w))},[!e.unref(d)&&!e.unref(a).fieldOnly||e.unref(a).cardField?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(O))},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(R))},[e.createVNode(e.unref(Kn),e.mergeProps(e.unref(P),{onToggleField:L}),e.createSlots({_:2},[e.renderList(e.unref(r),(C,A)=>({name:A,fn:e.withCtx(E=>[e.renderSlot($.$slots,A,e.normalizeProps(e.guardReactiveProps({...E})))])}))]),1040)],2)],2)):e.createCommentVNode("",!0),e.unref(d)||e.unref(a).fieldOnly||e.unref(a).cardField?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(["d-flex align-center py-2",e.unref(D)])},[(e.openBlock(),e.createBlock(e.Teleport,{disabled:!e.unref(a).cardField,to:e.unref(M)},[e.renderSlot($.$slots,"default",e.normalizeProps(e.guardReactiveProps(e.unref(b)))),e.createVNode(e.unref(mn),{modelValue:t.value,"onUpdate:modelValue":G[0]||(G[0]=C=>t.value=C),"cancel-button-color":e.unref(a).cancelButtonColor,"cancel-button-size":e.unref(a).cancelButtonSize,"cancel-button-title":e.unref(a).cancelButtonTitle,"cancel-button-variant":e.unref(a).cancelButtonVariant,"cancel-icon":e.unref(a).cancelIcon,"cancel-icon-color":e.unref(a).cancelIconColor,error:e.unref(p),"field-only":e.unref(a).fieldOnly,"hide-save-icon":e.unref(a).hideSaveIcon,loading:e.unref(u),"loading-icon":e.unref(a).loadingIcon,"loading-icon-color":e.unref(a).loadingIconColor,required:e.unref(a).required,"save-button-color":e.unref(a).saveButtonColor,"save-button-size":e.unref(a).saveButtonSize,"save-button-title":e.unref(a).saveButtonTitle,"save-button-variant":e.unref(a).saveButtonVariant,"save-icon":e.unref(a).saveIcon,"save-icon-color":e.unref(a).saveIconColor,onClose:h,onSave:k},null,8,["modelValue","cancel-button-color","cancel-button-size","cancel-button-title","cancel-button-variant","cancel-icon","cancel-icon-color","error","field-only","hide-save-icon","loading","loading-icon","loading-icon-color","required","save-button-color","save-button-size","save-button-title","save-button-variant","save-icon","save-icon-color"])],8,["disabled","to"]))],2)):e.createCommentVNode("",!0),e.unref(a).cardField?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass(e.unref(I)),style:e.normalizeStyle(e.unref(_))},[e.createVNode(je,e.normalizeProps(e.guardReactiveProps(e.unref(x))),{default:e.withCtx(()=>[e.createVNode(Pe,null,{default:e.withCtx(()=>[e.createElementVNode("div",{ref_key:"cardFieldRef",ref:M},null,512)]),_:1})]),_:1},16)],6)):e.createCommentVNode("",!0)],6))}}),ui=e.defineComponent({__name:"VInlineSelect",props:e.mergeModels(e.mergeDefaults({clearIcon:{},clearable:{},density:{},hideSelected:{},itemTitle:{},itemValue:{},items:{},menu:{},rules:{},variant:{},autofocus:{type:Boolean},cancelButtonColor:{},cancelButtonSize:{},cancelButtonTitle:{},cancelButtonVariant:{},cancelIcon:{},cancelIconColor:{},cardField:{type:Boolean},cardOffsetX:{},cardOffsetY:{},cardProps:{},closeSiblings:{type:Boolean},color:{},disabled:{type:Boolean},displayAppendIcon:{},displayAppendIconColor:{},displayAppendIconSize:{},displayAppendInnerIcon:{},displayAppendInnerIconColor:{},displayAppendInnerIconSize:{},displayPrependIcon:{},displayPrependIconColor:{},displayPrependIconSize:{},displayPrependInnerIcon:{},displayPrependInnerIconColor:{},displayPrependInnerIconSize:{},emptyText:{},error:{type:Boolean},fieldOnly:{type:Boolean},hideDetails:{type:Boolean},hideSaveIcon:{type:Boolean},item:{},label:{},loading:{type:Boolean},loadingIcon:{},loadingIconColor:{},loadingWait:{type:Boolean},name:{},required:{type:Boolean},saveButtonColor:{},saveButtonSize:{},saveButtonTitle:{},saveButtonVariant:{},saveIcon:{},saveIconColor:{},tableField:{type:Boolean},underlineColor:{},underlineStyle:{},underlineWidth:{},underlined:{type:Boolean},valueColor:{}},{...da}),{modelValue:{}}),emits:e.mergeModels([...Xe],["update:modelValue"]),setup(n,{emit:o}){const t=e.useModel(n,"modelValue"),l=e.useAttrs(),r=e.useSlots(),i=o,c=e.inject(Symbol.for("vuetify:icons")),s=n;let a=e.reactive({...l,...s});const u=e.computed(()=>s.loading),f=e.computed(()=>s.disabled),v=e.ref(!1),p=e.ref(!1),d=e.ref(),m=e.ref(!1),y=e.ref(null);let g=t.value;e.watch(()=>u.value,(A,E)=>{!A&&E&&m.value&&S()});const b=e.computed(()=>ve({icon:s.clearIcon,iconOptions:c,name:"clear"})),P=e.computed(()=>t.value&&t.value[a.itemTitle]?(v.value=!1,t.value[a.itemTitle]):(t.value="",v.value=!0,a.emptyText)),x=e.computed(()=>un(a)),j=e.computed(()=>({color:a.color,displayAppendIcon:s.displayAppendIcon,displayAppendIconColor:s.displayAppendIconColor,displayAppendIconSize:s.displayAppendIconSize,displayAppendInnerIcon:s.displayAppendInnerIcon,displayAppendInnerIconColor:s.displayAppendInnerIconColor,displayAppendInnerIconSize:s.displayAppendInnerIconSize,displayPrependIcon:s.displayPrependIcon,displayPrependIconColor:s.displayPrependIconColor,displayPrependIconSize:s.displayPrependIconSize,displayPrependInnerIcon:s.displayPrependInnerIcon,displayPrependInnerIconColor:s.displayPrependInnerIconColor,displayPrependInnerIconSize:s.displayPrependInnerIconSize,displayValue:P.value,empty:v.value,error:p.value,field:"v-text-field",underlineColor:a.underlineColor,underlineStyle:a.underlineStyle,underlineWidth:a.underlineWidth,underlined:a.underlined,valueColor:a.valueColor})),O=e.computed(()=>({...Me,...s.cardProps}));e.watchEffect(()=>{d.value=a.items||[]});const R=e.computed(()=>Ge({density:a.density,disabled:f.value,field:"v-select",iconSet:c==null?void 0:c.defaultSet,loading:u.value,loadingWait:a.loadingWait,tableField:a.tableField,variant:a.variant})),D=e.computed(()=>qe({density:a.density,field:"v-select"})),I=Xn({density:a.density,variant:a.variant}),w=e.computed(()=>He({active:m.value,name:"select"})),_=e.computed(()=>Ue({name:"select",showField:m.value})),h=e.computed(()=>({})),B=e.computed(()=>M.value);function V(){p.value=!1,t.value=g,S()}const M=e.ref(),L=e.ref(null),F=e.ref("body");function S(){var E,W;if(f.value||a.loadingWait&&u.value)return;M.value=_e({cardMinWidth:(E=a.cardProps)==null?void 0:E.minWidth,cardOffsetX:a.cardOffsetX,cardOffsetY:a.cardOffsetY,cardWidth:(W=a.cardProps)==null?void 0:W.width,field:L.value});const A=Ye({attrs:l,closeSiblings:a.closeSiblings,fieldOnly:a.fieldOnly,props:s,showField:m,timeOpened:y.value});a={...a,...A.settings},m.value=A.showField,y.value=A.timeOpened,$!==null&&a.closeSiblings&&m.value&&!a.fieldOnly&&$.emit(A.timeOpened)}const k=e.ref(),z=e.computed(()=>k.value);function T(){const A=Jn({required:a.required,rules:a.rules,value:t});return p.value=A.errors,k.value=A.results,A.results}function N(){g=t.value,i("update",t.value),a.loadingWait||S()}let $,G;function C(A){i("update:closeSiblingFields",y),m.value&&y.value!==A&&V()}return e.watch(()=>m.value,()=>{m.value&&T()}),e.watch(()=>t.value,()=>{m.value&&T()}),a.closeSiblings&&import("@vueuse/core").then(({useEventBus:A})=>{$=A(Le),G=$.on(C)}),e.onUnmounted(()=>{G!==void 0&&$.off(C)}),(A,E)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"inlineFieldsContainer",ref:L,class:e.normalizeClass(e.unref(R)),style:e.normalizeStyle(e.unref(h))},[!e.unref(m)&&!e.unref(a).fieldOnly||e.unref(a).cardField?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(D))},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(I))},[e.createVNode(e.unref(Kn),e.mergeProps(e.unref(j),{onToggleField:S}),e.createSlots({_:2},[e.renderList(e.unref(r),(W,H)=>({name:H,fn:e.withCtx(X=>[e.renderSlot(A.$slots,H,e.normalizeProps(e.guardReactiveProps({...X})),void 0,!0)])}))]),1040)],2)],2)):e.createCommentVNode("",!0),e.unref(m)||e.unref(a).fieldOnly||e.unref(a).cardField?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(e.unref(w))},[(e.openBlock(),e.createBlock(e.Teleport,{disabled:!e.unref(a).cardField,to:e.unref(F)},[e.createVNode(Hr,e.mergeProps(e.unref(x),{modelValue:t.value,"onUpdate:modelValue":E[0]||(E[0]=W=>t.value=W),autofocus:!e.unref(a).fieldOnly||e.unref(a).autofocus,"clear-icon":e.unref(b),clearable:e.unref(a).clearable,color:e.unref(a).color,density:e.unref(a).density,disabled:e.unref(u)||e.unref(f),error:e.unref(p),"error-messages":e.unref(z),"hide-details":e.unref(a).hideDetails,"hide-selected":e.unref(a).hideSelected,"item-title":e.unref(a).itemTitle,"item-value":e.unref(a).itemValue,items:e.unref(d),label:e.unref(a).label,loading:e.unref(u),menu:e.unref(a).menu&&!e.unref(a).fieldOnly&&e.unref(m),variant:e.unref(a).variant,width:"100%",onKeyup:e.withKeys(V,["esc"])}),e.createSlots({_:2},[e.renderList(e.unref(r),(W,H)=>({name:H,fn:e.withCtx(X=>[e.renderSlot(A.$slots,H,e.normalizeProps(e.guardReactiveProps({...X})),void 0,!0)])})),e.unref(r).append?void 0:{name:"append",fn:e.withCtx(()=>[e.createVNode(e.unref(mn),{"cancel-button-color":e.unref(a).cancelButtonColor,"cancel-button-size":e.unref(a).cancelButtonSize,"cancel-button-title":e.unref(a).cancelButtonTitle,"cancel-button-variant":e.unref(a).cancelButtonVariant,"cancel-icon":e.unref(a).cancelIcon,"cancel-icon-color":e.unref(a).cancelIconColor,error:e.unref(p),"field-only":e.unref(a).fieldOnly,"hide-save-icon":e.unref(a).hideSaveIcon,loading:e.unref(u),"loading-icon":e.unref(a).loadingIcon,"loading-icon-color":e.unref(a).loadingIconColor,"save-button-color":e.unref(a).saveButtonColor,"save-button-size":e.unref(a).saveButtonSize,"save-button-title":e.unref(a).saveButtonTitle,"save-button-variant":e.unref(a).saveButtonVariant,"save-icon":e.unref(a).saveIcon,"save-icon-color":e.unref(a).saveIconColor,onClose:V,onSave:N},null,8,["cancel-button-color","cancel-button-size","cancel-button-title","cancel-button-variant","cancel-icon","cancel-icon-color","error","field-only","hide-save-icon","loading","loading-icon","loading-icon-color","save-button-color","save-button-size","save-button-title","save-button-variant","save-icon","save-icon-color"])]),key:"0"}]),1040,["modelValue","autofocus","clear-icon","clearable","color","density","disabled","error","error-messages","hide-details","hide-selected","item-title","item-value","items","label","loading","menu","variant","onKeyup"])],8,["disabled","to"]))],2)):e.createCommentVNode("",!0),e.unref(a).cardField?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass(e.unref(_)),style:e.normalizeStyle(e.unref(B))},[e.createVNode(je,e.normalizeProps(e.guardReactiveProps(e.unref(O))),{default:e.withCtx(()=>[e.createVNode(Pe,null,{default:e.withCtx(()=>[e.createElementVNode("div",{ref_key:"cardFieldRef",ref:F},null,512)]),_:1})]),_:1},16)],6)):e.createCommentVNode("",!0)],6))}}),ci={class:"v-selection-control__wrapper"},me={VInlineCheckbox:ii,VInlineCustomField:si,VInlineSelect:((n,o)=>{const t=n.__vccOpts||n;for(const[l,r]of o)t[l]=r;return t})(ui,[["__scopeId","data-v-d028b1ff"]]),VInlineSwitch:e.defineComponent({__name:"VInlineSwitch",props:e.mergeModels(e.mergeDefaults({density:{},falseIcon:{},cancelButtonColor:{},cancelButtonSize:{},cancelButtonTitle:{},cancelButtonVariant:{},cancelIcon:{},cancelIconColor:{},cardField:{type:Boolean},cardOffsetX:{},cardOffsetY:{},cardProps:{},closeSiblings:{type:Boolean},color:{},disabled:{type:Boolean},displayAppendIcon:{},displayAppendIconColor:{},displayAppendIconSize:{},displayAppendInnerIcon:{},displayAppendInnerIconColor:{},displayAppendInnerIconSize:{},displayPrependIcon:{},displayPrependIconColor:{},displayPrependIconSize:{},displayPrependInnerIcon:{},displayPrependInnerIconColor:{},displayPrependInnerIconSize:{},emptyText:{},error:{type:Boolean},falseValue:{type:[Boolean,String]},fieldOnly:{type:Boolean},hideDetails:{type:Boolean},iconFalse:{},iconFalseColor:{},iconFalseTitle:{},iconTrue:{},iconTrueColor:{},iconTrueTitle:{},icons:{type:Boolean},item:{},label:{},loading:{type:Boolean},loadingWait:{type:Boolean},name:{},required:{type:Boolean},tableField:{type:Boolean},trueValue:{type:[Boolean,String]},underlineColor:{},underlineStyle:{},underlineWidth:{},underlined:{type:Boolean},valueColor:{}},{...pa}),{modelValue:{}}),emits:e.mergeModels([...Xe],["update:modelValue"]),setup(n,{emit:o}){const t=e.useModel(n,"modelValue"),l=e.useAttrs(),r=e.useSlots(),i=o,c=e.inject(Symbol.for("vuetify:icons")),s=Ft.useTheme(),a=n;let u=e.reactive({...l,...a});const f=e.computed(()=>a.loading),v=e.computed(()=>a.disabled),p=e.ref(!1),d=e.ref(!1),m=e.ref(null),y=e.computed(()=>un(u)),g=e.computed(()=>({...Me,...a.cardProps}));e.watch(()=>f.value,(N,$)=>{!N&&$&&d.value&&F()});const b=e.computed(()=>ve({icon:u.cancelIcon,iconOptions:c,name:"false"})),P=e.computed(()=>t.value==u.trueValue),x=e.computed(()=>Ql({modelValue:t,trueValue:u.trueValue})),j=e.computed(()=>Ge({density:u.density,disabled:v.value,field:"v-switch",loading:f.value,loadingWait:u.loadingWait,tableField:u.tableField})),O=e.computed(()=>qe({density:u.density,field:"v-switch"})),R=Zl({density:u.density}),D=e.computed(()=>He({active:d.value,name:"switch"})),I=e.computed(()=>Ht("switch",u.valueColor,{error:p})),w=e.computed(()=>Ue({name:"switch",showField:d.value})),_=e.computed(()=>({})),h=e.computed(()=>Ut({color:u.color,error:p,theme:s,underlineColor:u.underlineColor,underlineStyle:u.underlineStyle,underlineWidth:u.underlineWidth,underlined:u.underlined})),B=e.computed(()=>V.value),V=e.ref(),M=e.ref(null),L=e.ref("body");function F(){var $,G;if(v.value||u.loadingWait&&f.value)return;V.value=_e({cardMinWidth:($=u.cardProps)==null?void 0:$.minWidth,cardOffsetX:u.cardOffsetX,cardOffsetY:u.cardOffsetY,cardWidth:(G=u.cardProps)==null?void 0:G.width,field:M.value});const N=Ye({attrs:l,closeSiblings:u.closeSiblings,fieldOnly:u.fieldOnly,props:a,showField:d.value,timeOpened:m.value});u={...u,...N.settings},d.value=N.showField,m.value=N.timeOpened,k!==null&&u.closeSiblings&&d.value&&!u.fieldOnly&&k.emit(N.timeOpened)}function S(N){t.value=N,i("update",N),u.loadingWait||F()}let k,z;function T(N){i("update:closeSiblingFields",m),d.value&&m.value!==N&&F()}return u.closeSiblings&&import("@vueuse/core").then(({useEventBus:N})=>{k=N(Le),z=k.on(T)}),e.onUnmounted(()=>{z!==void 0&&k.off(T)}),(N,$)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"inlineFieldsContainer",ref:M,class:e.normalizeClass(e.unref(j)),style:e.normalizeStyle(e.unref(_))},[!e.unref(d)&&!e.unref(u).fieldOnly||e.unref(u).cardField?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(O))},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(R))},[e.createElementVNode("div",ci,[N.icons?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(I)),style:e.normalizeStyle(e.unref(h)),onClick:F},[e.createVNode(e.unref(Jl),{modelValue:e.unref(x),"onUpdate:modelValue":$[0]||($[0]=G=>e.isRef(x)?x.value=G:null),"icon-false":e.unref(u).iconFalse,"icon-false-color":e.unref(u).iconFalseColor,"icon-false-title":e.unref(u).iconFalseTitle,"icon-true":e.unref(u).iconTrue,"icon-true-color":e.unref(u).iconTrueColor,"icon-true-title":e.unref(u).iconTrueTitle},null,8,["modelValue","icon-false","icon-false-color","icon-false-title","icon-true","icon-true-color","icon-true-title"])],6)):(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(["d-inline-flex align-center justify-center",e.unref(I)]),style:e.normalizeStyle(e.unref(h)),onClick:F},e.toDisplayString(e.unref(P)),7))])],2)],2)):e.createCommentVNode("",!0),e.unref(d)||e.unref(u).fieldOnly||e.unref(u).cardField?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(e.unref(D))},[(e.openBlock(),e.createBlock(e.Teleport,{disabled:!e.unref(u).cardField,to:e.unref(L)},[e.createVNode(ei,e.mergeProps(e.unref(y),{color:e.unref(u).color,density:e.unref(u).density,disabled:e.unref(f)||e.unref(v),error:e.unref(p),"false-icon":e.unref(u).falseIcon,"false-value":e.unref(u).falseValue,"hide-details":e.unref(u).hideDetails,label:e.unref(u).label,loading:e.unref(f),"model-value":e.unref(x),"true-value":e.unref(u).trueValue,"onUpdate:modelValue":S}),e.createSlots({_:2},[e.renderList(e.unref(r),(G,C)=>({name:C,fn:e.withCtx(A=>[e.renderSlot(N.$slots,C,e.normalizeProps(e.guardReactiveProps({...A})))])})),e.unref(r).append?void 0:{name:"append",fn:e.withCtx(()=>[!e.unref(u).fieldOnly||e.unref(u).cardField?(e.openBlock(),e.createBlock(ht,{key:0,class:"ms-3",color:e.unref(u).cancelButtonColor,icon:"",size:e.unref(u).cancelButtonSize,title:e.unref(u).cancelButtonTitle,variant:e.unref(u).cancelButtonVariant,onClick:F},{default:e.withCtx(()=>[e.createVNode(ee,{color:e.unref(u).cancelIconColor,icon:e.unref(b)},null,8,["color","icon"])]),_:1},8,["color","size","title","variant"])):e.createCommentVNode("",!0)]),key:"0"}]),1040,["color","density","disabled","error","false-icon","false-value","hide-details","label","loading","model-value","true-value"])],8,["disabled","to"]))],2)):e.createCommentVNode("",!0),e.unref(u).cardField?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass(e.unref(w)),style:e.normalizeStyle(e.unref(B))},[e.createVNode(je,e.normalizeProps(e.guardReactiveProps(e.unref(g))),{default:e.withCtx(()=>[e.createVNode(Pe,null,{default:e.withCtx(()=>[e.createElementVNode("div",{ref_key:"cardFieldRef",ref:L},null,512)]),_:1})]),_:1},16)],6)):e.createCommentVNode("",!0)],6))}}),VInlineTextField:e.defineComponent({__name:"VInlineTextField",props:e.mergeModels(e.mergeDefaults({clearIcon:{},density:{},rules:{},variant:{},autofocus:{type:Boolean},cancelButtonColor:{},cancelButtonSize:{},cancelButtonTitle:{},cancelButtonVariant:{},cancelIcon:{},cancelIconColor:{},cardField:{type:Boolean},cardOffsetX:{},cardOffsetY:{},cardProps:{},closeSiblings:{type:Boolean},color:{},disabled:{type:Boolean},displayAppendIcon:{},displayAppendIconColor:{},displayAppendIconSize:{},displayAppendInnerIcon:{},displayAppendInnerIconColor:{},displayAppendInnerIconSize:{},displayPrependIcon:{},displayPrependIconColor:{},displayPrependIconSize:{},displayPrependInnerIcon:{},displayPrependInnerIconColor:{},displayPrependInnerIconSize:{},emptyText:{},error:{type:Boolean},fieldOnly:{type:Boolean},hideDetails:{type:Boolean},hideSaveIcon:{type:Boolean},item:{},label:{},loading:{type:Boolean},loadingIcon:{},loadingIconColor:{},loadingWait:{type:Boolean},name:{},required:{type:Boolean},saveButtonColor:{},saveButtonSize:{},saveButtonTitle:{},saveButtonVariant:{},saveIcon:{},saveIconColor:{},tableField:{type:Boolean},truncateLength:{},truncateSuffix:{},underlineColor:{},underlineStyle:{},underlineWidth:{},underlined:{type:Boolean},valueColor:{}},{...Wo}),{modelValue:{}}),emits:e.mergeModels([...Xe],["update:modelValue"]),setup(n,{emit:o}){const t=e.useModel(n,"modelValue"),l=e.useAttrs(),r=e.useSlots(),i=o,c=e.inject(Symbol.for("vuetify:icons")),s=n;let a=e.reactive({...l,...s});const u=e.computed(()=>s.loading),f=e.computed(()=>s.disabled),v=e.ref(!1),p=e.ref(!1),d=e.ref(!1),m=e.ref(null);let y=t.value;e.watch(()=>u.value,(C,A)=>{!C&&A&&d.value&&F()});const g=e.computed(()=>ve({icon:s.clearIcon,iconOptions:c,name:"clear"})),b=e.computed(()=>t.value?(v.value=!1,a.truncateLength?xt({length:a.truncateLength,suffix:a.truncateSuffix,text:t.value}):t.value):(v.value=!0,a.emptyText)),P=e.computed(()=>un(a)),x=e.computed(()=>({color:a.color,displayAppendIcon:s.displayAppendIcon,displayAppendIconColor:s.displayAppendIconColor,displayAppendIconSize:s.displayAppendIconSize,displayAppendInnerIcon:s.displayAppendInnerIcon,displayAppendInnerIconColor:s.displayAppendInnerIconColor,displayAppendInnerIconSize:s.displayAppendInnerIconSize,displayPrependIcon:s.displayPrependIcon,displayPrependIconColor:s.displayPrependIconColor,displayPrependIconSize:s.displayPrependIconSize,displayPrependInnerIcon:s.displayPrependInnerIcon,displayPrependInnerIconColor:s.displayPrependInnerIconColor,displayPrependInnerIconSize:s.displayPrependInnerIconSize,displayValue:b.value,empty:v.value,error:p.value,field:"v-text-field",underlineColor:a.underlineColor,underlineStyle:a.underlineStyle,underlineWidth:a.underlineWidth,underlined:a.underlined,valueColor:a.valueColor})),j=e.computed(()=>({...Me,...s.cardProps})),O=e.computed(()=>Ge({density:a.density,disabled:f.value,field:"v-text-field",iconSet:c==null?void 0:c.defaultSet,loading:u.value,loadingWait:a.loadingWait,tableField:a.tableField,variant:a.variant})),R=e.computed(()=>qe({density:a.density,field:"v-text-field"})),D=Xn({density:a.density,variant:a.variant}),I=e.computed(()=>He({active:d.value,name:"text-field"})),w=e.computed(()=>Ue({name:"text-field",showField:d.value})),_=e.computed(()=>({})),h=e.computed(()=>V.value);function B(){p.value=!1,t.value=y,F()}const V=e.ref(),M=e.ref(null),L=e.ref("body");function F(){var A,E;if(f.value||a.loadingWait&&u.value)return;V.value=_e({cardMinWidth:(A=a.cardProps)==null?void 0:A.minWidth,cardOffsetX:a.cardOffsetX,cardOffsetY:a.cardOffsetY,cardWidth:(E=a.cardProps)==null?void 0:E.width,field:M.value});const C=Ye({attrs:l,closeSiblings:a.closeSiblings,fieldOnly:a.fieldOnly,props:s,showField:d,timeOpened:m.value});a={...a,...C.settings},d.value=C.showField,m.value=C.timeOpened,N!==null&&a.closeSiblings&&d.value&&!a.fieldOnly&&N.emit(C.timeOpened)}const S=e.ref(),k=e.computed(()=>S.value);function z(){const C=Jn({required:a.required,rules:a.rules,value:t});return p.value=C.errors,S.value=C.results,C.results}function T(){p.value?p.value=!0:(y=t.value,i("update",t.value),a.loadingWait||F())}let N,$;function G(C){i("update:closeSiblingFields",m),d.value&&m.value!==C&&B()}return e.watch(()=>d.value,()=>{d.value&&z()}),e.watch(()=>t.value,()=>{d.value&&z()}),a.closeSiblings&&import("@vueuse/core").then(({useEventBus:C})=>{N=C(Le),$=N.on(G)}),e.onUnmounted(()=>{$!==void 0&&N.off(G)}),(C,A)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"inlineFieldsContainer",ref:M,class:e.normalizeClass(e.unref(O)),style:e.normalizeStyle(e.unref(_))},[!e.unref(d)&&!e.unref(a).fieldOnly||e.unref(a).cardField?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(R))},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(D))},[e.createVNode(e.unref(Kn),e.mergeProps(e.unref(x),{onToggleField:F}),e.createSlots({_:2},[e.renderList(e.unref(r),(E,W)=>({name:W,fn:e.withCtx(H=>[e.renderSlot(C.$slots,W,e.normalizeProps(e.guardReactiveProps({...H})))])}))]),1040)],2)],2)):e.createCommentVNode("",!0),e.unref(d)||e.unref(a).fieldOnly||e.unref(a).cardField?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(e.unref(I))},[(e.openBlock(),e.createBlock(e.Teleport,{disabled:!e.unref(a).cardField,to:e.unref(L)},[e.createVNode(kt,e.mergeProps(e.unref(P),{modelValue:t.value,"onUpdate:modelValue":A[1]||(A[1]=E=>t.value=E),autofocus:!e.unref(a).fieldOnly||e.unref(a).autofocus,"clear-icon":e.unref(g),color:e.unref(a).color,density:e.unref(a).density,disabled:e.unref(u)||e.unref(f),error:e.unref(p),"error-messages":e.unref(k),"hide-details":e.unref(a).hideDetails,label:e.unref(a).label,loading:e.unref(u),variant:e.unref(a).variant,width:"100%",onKeyup:[e.withKeys(T,["enter"]),e.withKeys(B,["esc"])]}),e.createSlots({_:2},[e.renderList(e.unref(r),(E,W)=>({name:W,fn:e.withCtx(H=>[e.renderSlot(C.$slots,W,e.normalizeProps(e.guardReactiveProps({...H})))])})),e.unref(r).append?void 0:{name:"append",fn:e.withCtx(()=>[e.createVNode(e.unref(mn),{modelValue:t.value,"onUpdate:modelValue":A[0]||(A[0]=E=>t.value=E),"cancel-button-color":e.unref(a).cancelButtonColor,"cancel-button-size":e.unref(a).cancelButtonSize,"cancel-button-title":e.unref(a).cancelButtonTitle,"cancel-button-variant":e.unref(a).cancelButtonVariant,"cancel-icon":e.unref(a).cancelIcon,"cancel-icon-color":e.unref(a).cancelIconColor,error:e.unref(p),"field-only":e.unref(a).fieldOnly,"hide-save-icon":e.unref(a).hideSaveIcon,loading:e.unref(u),"loading-icon":e.unref(a).loadingIcon,"loading-icon-color":e.unref(a).loadingIconColor,required:e.unref(a).required,"save-button-color":e.unref(a).saveButtonColor,"save-button-size":e.unref(a).saveButtonSize,"save-button-title":e.unref(a).saveButtonTitle,"save-button-variant":e.unref(a).saveButtonVariant,"save-icon":e.unref(a).saveIcon,"save-icon-color":e.unref(a).saveIconColor,onClose:B,onSave:T},null,8,["modelValue","cancel-button-color","cancel-button-size","cancel-button-title","cancel-button-variant","cancel-icon","cancel-icon-color","error","field-only","hide-save-icon","loading","loading-icon","loading-icon-color","required","save-button-color","save-button-size","save-button-title","save-button-variant","save-icon","save-icon-color"])]),key:"0"}]),1040,["modelValue","autofocus","clear-icon","color","density","disabled","error","error-messages","hide-details","label","loading","variant","onKeyup"])],8,["disabled","to"]))],2)):e.createCommentVNode("",!0),e.unref(a).cardField?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass(e.unref(w)),style:e.normalizeStyle(e.unref(h))},[e.createVNode(je,e.normalizeProps(e.guardReactiveProps(e.unref(j))),{default:e.withCtx(()=>[e.createVNode(Pe,null,{default:e.withCtx(()=>[e.createElementVNode("div",{ref_key:"cardFieldRef",ref:L},null,512)]),_:1})]),_:1},16)],6)):e.createCommentVNode("",!0)],6))}}),VInlineTextarea:e.defineComponent({__name:"VInlineTextarea",props:e.mergeModels(e.mergeDefaults({autoGrow:{},clearIcon:{},density:{},rows:{},rules:{},variant:{},autofocus:{type:Boolean},cancelButtonColor:{},cancelButtonSize:{},cancelButtonTitle:{},cancelButtonVariant:{},cancelIcon:{},cancelIconColor:{},cardField:{type:Boolean},cardOffsetX:{},cardOffsetY:{},cardProps:{},closeSiblings:{type:Boolean},color:{},disabled:{type:Boolean},displayAppendIcon:{},displayAppendIconColor:{},displayAppendIconSize:{},displayAppendInnerIcon:{},displayAppendInnerIconColor:{},displayAppendInnerIconSize:{},displayPrependIcon:{},displayPrependIconColor:{},displayPrependIconSize:{},displayPrependInnerIcon:{},displayPrependInnerIconColor:{},displayPrependInnerIconSize:{},emptyText:{},error:{type:Boolean},fieldOnly:{type:Boolean},hideDetails:{type:Boolean},hideSaveIcon:{type:Boolean},item:{},label:{},loading:{type:Boolean},loadingIcon:{},loadingIconColor:{},loadingWait:{type:Boolean},name:{},required:{type:Boolean},saveButtonColor:{},saveButtonSize:{},saveButtonTitle:{},saveButtonVariant:{},saveIcon:{},saveIconColor:{},tableField:{type:Boolean},truncateLength:{},truncateSuffix:{},underlineColor:{},underlineStyle:{},underlineWidth:{},underlined:{type:Boolean},valueColor:{}},{...va}),{modelValue:{}}),emits:e.mergeModels([...Xe],["update:modelValue"]),setup(n,{emit:o}){const t=e.useModel(n,"modelValue"),l=e.useAttrs(),r=e.useSlots(),i=o,c=e.inject(Symbol.for("vuetify:icons")),s=n;let a=e.reactive({...l,...s});const u=e.computed(()=>s.loading),f=e.computed(()=>s.disabled),v=e.ref(!1),p=e.ref(!1),d=e.ref(!1),m=e.ref(null);let y=t.value;e.watch(()=>u.value,(C,A)=>{!C&&A&&d.value&&F()});const g=e.computed(()=>ve({icon:s.clearIcon,iconOptions:c,name:"clear"})),b=e.computed(()=>t.value?(v.value=!1,a.truncateLength?xt({length:a.truncateLength,suffix:a.truncateSuffix,text:t.value}):t.value):(v.value=!0,a.emptyText)),P=e.computed(()=>un(a)),x=e.computed(()=>({color:a.color,displayAppendIcon:s.displayAppendIcon,displayAppendIconColor:s.displayAppendIconColor,displayAppendIconSize:s.displayAppendIconSize,displayAppendInnerIcon:s.displayAppendInnerIcon,displayAppendInnerIconColor:s.displayAppendInnerIconColor,displayAppendInnerIconSize:s.displayAppendInnerIconSize,displayPrependIcon:s.displayPrependIcon,displayPrependIconColor:s.displayPrependIconColor,displayPrependIconSize:s.displayPrependIconSize,displayPrependInnerIcon:s.displayPrependInnerIcon,displayPrependInnerIconColor:s.displayPrependInnerIconColor,displayPrependInnerIconSize:s.displayPrependInnerIconSize,displayValue:b.value,empty:v.value,error:p.value,field:"v-text-field",underlineColor:a.underlineColor,underlineStyle:a.underlineStyle,underlineWidth:a.underlineWidth,underlined:a.underlined,valueColor:a.valueColor})),j=e.computed(()=>({...Me,...s.cardProps})),O=e.computed(()=>Ge({density:a.density,disabled:f.value,field:"v-textarea",iconSet:c==null?void 0:c.defaultSet,loading:u.value,loadingWait:a.loadingWait,tableField:a.tableField,variant:a.variant})),R=e.computed(()=>qe({density:a.density,field:"v-textarea"})),D=Xn({density:a.density,variant:a.variant}),I=e.computed(()=>He({active:d.value,name:"textarea"})),w=e.computed(()=>Ue({name:"textarea",showField:d.value})),_=e.computed(()=>({})),h=e.computed(()=>V.value);function B(){p.value=!1,t.value=y,F()}const V=e.ref(),M=e.ref(null),L=e.ref("body");function F(){var A,E;if(f.value||a.loadingWait&&u.value)return;V.value=_e({cardMinWidth:(A=a.cardProps)==null?void 0:A.minWidth,cardOffsetX:a.cardOffsetX,cardOffsetY:a.cardOffsetY,cardWidth:(E=a.cardProps)==null?void 0:E.width,field:M.value});const C=Ye({attrs:l,closeSiblings:a.closeSiblings,fieldOnly:a.fieldOnly,props:s,showField:d,timeOpened:m.value});a={...a,...C.settings},d.value=C.showField,m.value=C.timeOpened,N!==null&&a.closeSiblings&&d.value&&!a.fieldOnly&&N.emit(C.timeOpened)}const S=e.ref(),k=e.computed(()=>S.value);function z(){const C=Jn({required:a.required,rules:a.rules,value:t});return p.value=C.errors,S.value=C.results,C.results}function T(){y=t.value,i("update",t.value),a.loadingWait||F()}let N,$;function G(C){i("update:closeSiblingFields",m),d.value&&m.value!==C&&B()}return e.watch(()=>d.value,()=>{d.value&&z()}),e.watch(()=>t.value,()=>{d.value&&z()}),a.closeSiblings&&import("@vueuse/core").then(({useEventBus:C})=>{N=C(Le),$=N.on(G)}),e.onUnmounted(()=>{$!==void 0&&N.off(G)}),(C,A)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"inlineFieldsContainer",ref:M,class:e.normalizeClass(e.unref(O)),style:e.normalizeStyle(e.unref(_))},[!e.unref(d)&&!e.unref(a).fieldOnly||e.unref(a).cardField?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(R))},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(D))},[e.createVNode(e.unref(Kn),e.mergeProps(e.unref(x),{onToggleField:F}),e.createSlots({_:2},[e.renderList(e.unref(r),(E,W)=>({name:W,fn:e.withCtx(H=>[e.renderSlot(C.$slots,W,e.normalizeProps(e.guardReactiveProps({...H})))])}))]),1040)],2)],2)):e.createCommentVNode("",!0),e.unref(d)||e.unref(a).fieldOnly||e.unref(a).cardField?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(e.unref(I))},[(e.openBlock(),e.createBlock(e.Teleport,{disabled:!e.unref(a).cardField,to:e.unref(L)},[e.createVNode(ti,e.mergeProps(e.unref(P),{modelValue:t.value,"onUpdate:modelValue":A[0]||(A[0]=E=>t.value=E),"auto-grow":e.unref(a).autoGrow,autofocus:!e.unref(a).fieldOnly||e.unref(a).autofocus,"clear-icon":e.unref(g),color:e.unref(a).color,density:e.unref(a).density,disabled:e.unref(u)||e.unref(f),error:e.unref(p),"error-messages":e.unref(k),"hide-details":e.unref(a).hideDetails,label:e.unref(a).label,loading:e.unref(u),rows:e.unref(a).rows,variant:e.unref(a).variant,width:"100%",onKeyup:e.withKeys(B,["esc"])}),e.createSlots({_:2},[e.renderList(e.unref(r),(E,W)=>({name:W,fn:e.withCtx(H=>[e.renderSlot(C.$slots,W,e.normalizeProps(e.guardReactiveProps({...H})))])})),e.unref(r).append?void 0:{name:"append",fn:e.withCtx(()=>[e.createVNode(e.unref(mn),{"cancel-button-color":e.unref(a).cancelButtonColor,"cancel-button-size":e.unref(a).cancelButtonSize,"cancel-button-title":e.unref(a).cancelButtonTitle,"cancel-button-variant":e.unref(a).cancelButtonVariant,"cancel-icon":e.unref(a).cancelIcon,"cancel-icon-color":e.unref(a).cancelIconColor,error:e.unref(p),"field-only":e.unref(a).fieldOnly,"hide-save-icon":e.unref(a).hideSaveIcon,loading:e.unref(u),"loading-icon":e.unref(a).loadingIcon,"loading-icon-color":e.unref(a).loadingIconColor,"save-button-color":e.unref(a).saveButtonColor,"save-button-size":e.unref(a).saveButtonSize,"save-button-title":e.unref(a).saveButtonTitle,"save-button-variant":e.unref(a).saveButtonVariant,"save-icon":e.unref(a).saveIcon,"save-icon-color":e.unref(a).saveIconColor,onClose:B,onSave:T},null,8,["cancel-button-color","cancel-button-size","cancel-button-title","cancel-button-variant","cancel-icon","cancel-icon-color","error","field-only","hide-save-icon","loading","loading-icon","loading-icon-color","save-button-color","save-button-size","save-button-title","save-button-variant","save-icon","save-icon-color"])]),key:"0"}]),1040,["modelValue","auto-grow","autofocus","clear-icon","color","density","disabled","error","error-messages","hide-details","label","loading","rows","variant","onKeyup"])],8,["disabled","to"]))],2)):e.createCommentVNode("",!0),e.unref(a).cardField?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass(e.unref(w)),style:e.normalizeStyle(e.unref(h))},[e.createVNode(je,e.normalizeProps(e.guardReactiveProps(e.unref(j))),{default:e.withCtx(()=>[e.createVNode(Pe,null,{default:e.withCtx(()=>[e.createElementVNode("div",{ref_key:"cardFieldRef",ref:L},null,512)]),_:1})]),_:1},16)],6)):e.createCommentVNode("",!0)],6))}})},di=n=>{for(const o in me){const t=me[o];n.component(t.name,t)}};for(const n in me)me[n].install=di;const pi=me.VInlineCheckbox,vi=me.VInlineCustomField,fi=me.VInlineSelect,mi=me.VInlineSwitch,yi=me.VInlineTextField,gi=me.VInlineTextarea,hi={VInlineFields:me};exports.VInlineCheckbox=pi,exports.VInlineCustomField=vi,exports.VInlineSelect=fi,exports.VInlineSwitch=mi,exports.VInlineTextField=yi,exports.VInlineTextarea=gi,exports.default=hi; -(function(){"use strict";try{if(typeof document<"u"){var i=document.createElement("style");i.appendChild(document.createTextNode("[data-v-d028b1ff] .v-field__field{align-items:flex-end!important}:root{--v-inline-fields-top-padding-compact: 13px;--v-inline-fields-top-padding-comfortable: 17px;--v-inline-fields-top-padding-default: 21px;--v-inline-fields-input-height: 24px;--v-inline-fields-density-compact-height: 32px;--v-inline-fields-density-comfortable-height: 40px;--v-inline-fields-grey: #909090}.v-inline-fields--container-v-select-comfortable-plain .v-input__control .v-field__clearable,.v-inline-fields--container-v-select-comfortable-underlined .v-input__control .v-field__clearable,.v-inline-fields--container-v-text-field-comfortable-plain .v-input__control .v-field__clearable,.v-inline-fields--container-v-text-field-comfortable-underlined .v-input__control .v-field__clearable,.v-inline-fields--container-v-select-compact-plain .v-input__control .v-field__clearable,.v-inline-fields--container-v-select-compact-underlined .v-input__control .v-field__clearable,.v-inline-fields--container-v-text-field-compact-plain .v-input__control .v-field__clearable,.v-inline-fields--container-v-text-field-compact-underlined .v-input__control .v-field__clearable,.v-inline-fields--container-v-select-comfortable-plain .v-input__control .v-input__append,.v-inline-fields--container-v-select-comfortable-underlined .v-input__control .v-input__append,.v-inline-fields--container-v-text-field-comfortable-plain .v-input__control .v-input__append,.v-inline-fields--container-v-text-field-comfortable-underlined .v-input__control .v-input__append,.v-inline-fields--container-v-select-compact-plain .v-input__control .v-input__append,.v-inline-fields--container-v-select-compact-underlined .v-input__control .v-input__append,.v-inline-fields--container-v-text-field-compact-plain .v-input__control .v-input__append,.v-inline-fields--container-v-text-field-compact-underlined .v-input__control .v-input__append{padding-top:0!important}.v-inline-fields--container-v-select-comfortable-plain .v-input__control .v-field__clearable .v-icon,.v-inline-fields--container-v-select-comfortable-underlined .v-input__control .v-field__clearable .v-icon,.v-inline-fields--container-v-text-field-comfortable-plain .v-input__control .v-field__clearable .v-icon,.v-inline-fields--container-v-text-field-comfortable-underlined .v-input__control .v-field__clearable .v-icon,.v-inline-fields--container-v-select-compact-plain .v-input__control .v-field__clearable .v-icon,.v-inline-fields--container-v-select-compact-underlined .v-input__control .v-field__clearable .v-icon,.v-inline-fields--container-v-text-field-compact-plain .v-input__control .v-field__clearable .v-icon,.v-inline-fields--container-v-text-field-compact-underlined .v-input__control .v-field__clearable .v-icon,.v-inline-fields--container-v-select-comfortable-plain .v-input__control .v-input__append .v-icon,.v-inline-fields--container-v-select-comfortable-underlined .v-input__control .v-input__append .v-icon,.v-inline-fields--container-v-text-field-comfortable-plain .v-input__control .v-input__append .v-icon,.v-inline-fields--container-v-text-field-comfortable-underlined .v-input__control .v-input__append .v-icon,.v-inline-fields--container-v-select-compact-plain .v-input__control .v-input__append .v-icon,.v-inline-fields--container-v-select-compact-underlined .v-input__control .v-input__append .v-icon,.v-inline-fields--container-v-text-field-compact-plain .v-input__control .v-input__append .v-icon,.v-inline-fields--container-v-text-field-compact-underlined .v-input__control .v-input__append .v-icon{font-size:1rem!important}.v-inline-fields{position:relative}.v-inline-fields--display-container *{align-items:center;display:flex}.v-inline-fields--display-value{cursor:pointer;letter-spacing:.009375em!important}.v-inline-fields--display-value-empty{color:var(--v-inline-fields-grey);font-style:italic}.v-inline-fields--display-value-checkbox,.v-inline-fields--display-value-switch{padding-bottom:2px;padding-top:6px}.v-inline-fields--display-append-icon,.v-inline-fields--display-prepend-icon,.v-inline-fields--display-append-inner-icon,.v-inline-fields--display-prepend-inner-icon{align-items:flex-end;display:inline-flex}.v-inline-fields--container-disabled .v-inline-fields--display-value{cursor:default!important;opacity:var(--v-disabled-opacity)}.v-inline-fields--container-loading .v-inline-fields--display-value{cursor:wait!important}.v-inline-fields--container-icon-set-fa .v-field__clearable{font-size:.8rem}.v-inline-fields--container-icon-set-fa .v-field__append-inner{align-items:flex-end;padding-bottom:0!important}.v-inline-fields--container-v-select-compact-plain .v-input,.v-inline-fields--container-v-select-compact-underlined .v-input,.v-inline-fields--container-v-text-field-compact-plain .v-input,.v-inline-fields--container-v-text-field-compact-underlined .v-input{height:var(--v-inline-fields-density-compact-height);max-height:var(--v-inline-fields-density-compact-height)}.v-inline-fields--container-v-select-compact-plain .v-input__control,.v-inline-fields--container-v-select-compact-underlined .v-input__control,.v-inline-fields--container-v-text-field-compact-plain .v-input__control,.v-inline-fields--container-v-text-field-compact-underlined .v-input__control{padding-bottom:4px}.v-inline-fields--container-v-select-compact-plain .v-input>div,.v-inline-fields--container-v-select-compact-underlined .v-input>div,.v-inline-fields--container-v-text-field-compact-plain .v-input>div,.v-inline-fields--container-v-text-field-compact-underlined .v-input>div{height:inherit!important;max-height:inherit!important}.v-inline-fields--container-v-select-compact-plain .v-input .v-field__input,.v-inline-fields--container-v-select-compact-underlined .v-input .v-field__input,.v-inline-fields--container-v-text-field-compact-plain .v-input .v-field__input,.v-inline-fields--container-v-text-field-compact-underlined .v-input .v-field__input{padding-top:0}.v-inline-fields--container-v-select-compact-plain .v-input .v-field__input input,.v-inline-fields--container-v-select-compact-underlined .v-input .v-field__input input,.v-inline-fields--container-v-text-field-compact-plain .v-input .v-field__input input,.v-inline-fields--container-v-text-field-compact-underlined .v-input .v-field__input input{padding-bottom:10px}.v-inline-fields--container-v-select-compact-plain .v-input .v-select__selection,.v-inline-fields--container-v-select-compact-underlined .v-input .v-select__selection,.v-inline-fields--container-v-text-field-compact-plain .v-input .v-select__selection,.v-inline-fields--container-v-text-field-compact-underlined .v-input .v-select__selection{align-items:center;padding-bottom:10px}.v-inline-fields--container-v-select-comfortable-plain .v-input,.v-inline-fields--container-v-select-comfortable-underlined .v-input,.v-inline-fields--container-v-text-field-comfortable-plain .v-input,.v-inline-fields--container-v-text-field-comfortable-underlined .v-input{height:var(--v-inline-fields-density-comfortable-height);max-height:var(--v-inline-fields-density-comfortable-height)}.v-inline-fields--container-v-select-comfortable-plain .v-input__control,.v-inline-fields--container-v-select-comfortable-underlined .v-input__control,.v-inline-fields--container-v-text-field-comfortable-plain .v-input__control,.v-inline-fields--container-v-text-field-comfortable-underlined .v-input__control{padding-bottom:8px}.v-inline-fields--container-v-select-comfortable-plain .v-input>div,.v-inline-fields--container-v-select-comfortable-underlined .v-input>div,.v-inline-fields--container-v-text-field-comfortable-plain .v-input>div,.v-inline-fields--container-v-text-field-comfortable-underlined .v-input>div{height:inherit!important;max-height:inherit!important}.v-inline-fields--container-v-select-comfortable-plain .v-input .v-field__input,.v-inline-fields--container-v-select-comfortable-underlined .v-input .v-field__input,.v-inline-fields--container-v-text-field-comfortable-plain .v-input .v-field__input,.v-inline-fields--container-v-text-field-comfortable-underlined .v-input .v-field__input{padding-top:0}.v-inline-fields--container-v-select-comfortable-plain .v-input .v-field__input input,.v-inline-fields--container-v-select-comfortable-underlined .v-input .v-field__input input,.v-inline-fields--container-v-text-field-comfortable-plain .v-input .v-field__input input,.v-inline-fields--container-v-text-field-comfortable-underlined .v-input .v-field__input input{padding-bottom:6px}.v-inline-fields--container-v-select-comfortable-plain .v-input .v-select__selection,.v-inline-fields--container-v-select-comfortable-underlined .v-input .v-select__selection,.v-inline-fields--container-v-text-field-comfortable-plain .v-input .v-select__selection,.v-inline-fields--container-v-text-field-comfortable-underlined .v-input .v-select__selection{align-items:center;padding-bottom:6px}.v-inline-fields--container-v-select-compact-plain .v-field__append-inner,.v-inline-fields--container-v-select-compact-underlined .v-field__append-inner{padding-top:4px!important}.v-inline-fields--container-v-select-comfortable-plain .v-field__append-inner,.v-inline-fields--container-v-select-comfortable-underlined .v-field__append-inner{padding-top:8px!important}.v-inline-fields--container-v-textarea .v-inline-fields--save-fields-container{align-items:flex-end}.v-inline-fields--container-v-select,.v-inline-fields--container-v-textarea,.v-inline-fields--container-v-text-field{width:100%}.v-inline-fields--container-v-checkbox .v-input,.v-inline-fields--container-v-switch .v-input{align-items:center;display:flex;padding-bottom:0}.v-inline-fields--container-v-checkbox .v-input__append,.v-inline-fields--container-v-switch .v-input__append{margin-inline-start:0!important;margin-left:0;padding-bottom:0!important}.v-inline-fields--container-v-checkbox .v-selection-control,.v-inline-fields--container-v-switch .v-selection-control{min-height:unset}.v-inline-fields--container-v-checkbox .v-inline-fields--save-fields-container,.v-inline-fields--container-v-switch .v-inline-fields--save-fields-container{align-items:center!important}.v-inline-fields--container .v-input__append,.v-inline-fields--container .v-input__prepend,.v-inline-fields--container .v-field__append-inner,.v-inline-fields--container .v-field__prepend-inner{padding-top:0!important}.v-inline-fields--container .v-input__append .v-icon,.v-inline-fields--container .v-input__prepend .v-icon,.v-inline-fields--container .v-field__append-inner .v-icon,.v-inline-fields--container .v-field__prepend-inner .v-icon{font-size:1rem!important}.v-inline-fields--container .v-field__append-inner,.v-inline-fields--container .v-field__prepend-inner{padding-bottom:10px!important}.v-inline-fields--container-compact .v-input__append,.v-inline-fields--container-compact .v-input__prepend,.v-inline-fields--container-compact .v-field__append-inner,.v-inline-fields--container-compact .v-field__prepend-inner{align-items:center!important}.v-inline-fields--container-compact .v-field__append-inner,.v-inline-fields--container-compact .v-field__prepend-inner{padding-bottom:10px!important}.v-inline-fields--container-comfortable .v-input__append,.v-inline-fields--container-comfortable .v-input__prepend,.v-inline-fields--container-comfortable .v-field__append-inner,.v-inline-fields--container-comfortable .v-field__prepend-inner{align-items:center!important}.v-inline-fields--container-comfortable .v-field__append-inner,.v-inline-fields--container-comfortable .v-field__prepend-inner{padding-bottom:6px!important}.v-inline-fields--container-default .v-input__append,.v-inline-fields--container-default .v-input__prepend,.v-inline-fields--container-default .v-field__append-inner,.v-inline-fields--container-default .v-field__prepend-inner{align-items:flex-end!important;padding-bottom:0!important}.v-inline-fields--container-default .v-input__append .v-icon,.v-inline-fields--container-default .v-input__prepend .v-icon,.v-inline-fields--container-default .v-field__append-inner .v-icon,.v-inline-fields--container-default .v-field__prepend-inner .v-icon{font-size:calc(var(--v-icon-size-multiplier) * 1.5em)!important}.v-inline-fields--container-default .v-inline-fields--save-fields-container{align-items:flex-end!important}.v-inline-fields--card-container{height:fit-content;min-width:fit-content!important;position:absolute}.v-inline-fields--card-container .v-card{border:1px solid hsla(0,0%,50%,.5)}.v-inline-fields--card-container .v-card .v-card-text{padding:5px 10px}.v-inline-fields--card-container .v-card .v-card-text>div{align-items:center;display:flex}.v-inline-fields--card-container-checkbox .v-card .v-card-text .v-input__append{margin-inline-start:0}.v-inline-fields--save-fields-container{align-items:center;display:flex;height:100%;margin-left:.1rem}.v-inline-fields--boolean-icons{font-size:calc(var(--v-icon-size-multiplier) * 1em)}.v-inline-fields .truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:250px}.v-inline-fields .v-input__append{padding-top:0}")),document.head.appendChild(i)}}catch(n){console.error("vite-plugin-css-injected-by-js",n)}})(); + */Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),Ft=require("vuetify"),ua=require("@vueuse/core"),Le=Symbol("identifier"),Me={elevation:5,variant:"flat"},yn={cancelButtonColor:"default",cancelButtonSize:"x-small",cancelButtonTitle:"Cancel",cancelButtonVariant:"text",cancelIcon:void 0,cancelIconColor:"default",cardField:!1,cardOffsetX:0,cardOffsetY:0,cardProps:()=>({}),cell:!1,cellUnderlineFullWidth:!0,closeSiblings:!1,color:"primary",density:"compact",disabled:!1,displayAppendIcon:void 0,displayAppendIconColor:void 0,displayAppendIconSize:"x-small",displayAppendInnerIcon:void 0,displayAppendInnerIconColor:void 0,displayAppendInnerIconSize:"x-small",displayPrependIcon:void 0,displayPrependIconColor:void 0,displayPrependIconSize:"x-small",displayPrependInnerIcon:void 0,displayPrependInnerIconColor:void 0,displayPrependInnerIconSize:"x-small",emptyText:"empty",fieldOnly:!1,hideCancelIcon:!0,hideDetails:!0,label:"",loading:!1,loadingWait:!0,name:"",tableField:!0,underlineColor:"primary",underlineStyle:"dotted",underlineWidth:"2px",underlined:!0,valueColor:"default"},Nt={autofocus:!0},Zn={hideCancelIcon:!1,hideSaveIcon:!1,loadingIcon:void 0,loadingIconColor:"primary",saveButtonColor:"primary",saveButtonSize:"x-small",saveButtonTitle:"Save",saveButtonVariant:"text",saveIcon:void 0,saveIconColor:"primary"},Mo={falseValue:!1,iconFalse:void 0,iconFalseColor:"danger",iconFalseTitle:"No",iconTrue:void 0,iconTrueColor:"success",iconTrueTitle:"Yes",icons:!0,trueValue:!0},ca={...yn,...Mo,...Zn,falseIcon:void 0,icons:!0,trueIcon:void 0},da={...yn,...Nt,...Zn,clearIcon:void 0,clearable:!1,hideSelected:!0,itemTitle:"title",itemValue:"value",items:()=>[],menu:!0,variant:"underlined"},pa={...yn,...Mo,icons:!0,falseIcon:""},va={...Nt,...Zn,...yn,autoGrow:!0,rows:1,truncateLength:void 0,truncateSuffix:"...",variant:"underlined"},Wo={...yn,...Nt,...Zn,truncateLength:void 0,truncateSuffix:"...",variant:"underlined"},fa={fa:{checkboxFalse:"$checkboxOff",checkboxTrue:"far fa-square-check",clear:"$clear",false:"$close",loading:"fa-circle-notch",save:"fa-floppy-disk",true:"$complete"},mdi:{checkboxFalse:"$checkboxOff",checkboxTrue:"mdi:mdi-checkbox-outline",clear:"$clear",false:"$close",loading:"mdi-loading",save:"mdi-content-save",true:"$complete"}},ve=n=>{const{icon:o,iconOptions:t,name:l}=n;if(o)return o;const r=fa[t==null?void 0:t.defaultSet];if(!r)throw new Error(`VInlineFields: No VInlineFields default ${t==null?void 0:t.defaultSet} icon set found for ${l}. Please set the icon prop.`);const i=r[l];if(!i)throw new Error(`VInlineFields: No ${l} icon found. Please set the icon prop, or set the default icon set to 'mdi' or 'fa'`);return i};function U(n,o){return t=>Object.keys(n).reduce((l,r)=>{const i=typeof n[r]=="object"&&n[r]!=null&&!Array.isArray(n[r])?n[r]:{type:n[r]};return l[r]=t&&r in t?{...i,default:t[r]}:i,o&&!l[r].source&&(l[r].source=o),l},{})}const Z=U({class:[String,Array],style:{type:[String,Array,Object],default:null}},"component"),ue=typeof window<"u",At=ue&&"IntersectionObserver"in window;function Xt(n,o,t){const l=o.length-1;if(l<0)return n===void 0?t:n;for(let r=0;rgn(n[l],o[l]))}function be(n,o,t){if(o===!0)return n===void 0?t:n;if(o==null||typeof o=="boolean")return t;if(n!==Object(n)){if(typeof o!="function")return t;const r=o(n,t);return r===void 0?t:r}if(typeof o=="string")return function(r,i,c){return r!=null&&i&&typeof i=="string"?r[i]!==void 0?r[i]:Xt(r,(i=(i=i.replace(/\[(\w+)\]/g,".$1")).replace(/^\./,"")).split("."),c):c}(n,o,t);if(Array.isArray(o))return Xt(n,o,t);if(typeof o!="function")return t;const l=o(n,t);return l===void 0?t:l}function Y(n){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"px";return n==null||n===""?void 0:isNaN(+n)?String(n):isFinite(+n)?`${Number(n)}${o}`:void 0}function pt(n){return n!==null&&typeof n=="object"&&!Array.isArray(n)}function $n(n){if(n&&"$el"in n){const o=n.$el;return(o==null?void 0:o.nodeType)===Node.TEXT_NODE?o.nextElementSibling:o}return n}const Kt=Object.freeze({enter:13,tab:9,delete:46,esc:27,space:32,up:38,down:40,left:37,right:39,end:35,home:36,del:46,backspace:8,insert:45,pageup:33,pagedown:34,shift:16});function ot(n,o){return o.every(t=>n.hasOwnProperty(t))}function jo(n,o){const t={},l=new Set(Object.keys(n));for(const r of o)l.has(r)&&(t[r]=n[r]);return t}function Jt(n,o,t){const l=Object.create(null),r=Object.create(null);for(const i in n)o.some(c=>c instanceof RegExp?c.test(i):c===i)&&!(t!=null&&t.some(c=>c===i))?l[i]=n[i]:r[i]=n[i];return[l,r]}function Oe(n,o){const t={...n};return o.forEach(l=>delete t[l]),t}const Uo=/^on[^a-z]/,vt=n=>Uo.test(n),ma=["onAfterscriptexecute","onAnimationcancel","onAnimationend","onAnimationiteration","onAnimationstart","onAuxclick","onBeforeinput","onBeforescriptexecute","onChange","onClick","onCompositionend","onCompositionstart","onCompositionupdate","onContextmenu","onCopy","onCut","onDblclick","onFocusin","onFocusout","onFullscreenchange","onFullscreenerror","onGesturechange","onGestureend","onGesturestart","onGotpointercapture","onInput","onKeydown","onKeypress","onKeyup","onLostpointercapture","onMousedown","onMousemove","onMouseout","onMouseover","onMouseup","onMousewheel","onPaste","onPointercancel","onPointerdown","onPointerenter","onPointerleave","onPointermove","onPointerout","onPointerover","onPointerup","onReset","onSelect","onSubmit","onTouchcancel","onTouchend","onTouchmove","onTouchstart","onTransitioncancel","onTransitionend","onTransitionrun","onTransitionstart","onWheel"];function hn(n){const[o,t]=Jt(n,[Uo]),l=Oe(o,ma),[r,i]=Jt(t,["class","style","id",/^data-/]);return Object.assign(r,o),Object.assign(i,l),[r,i]}function Ce(n){return n==null?[]:Array.isArray(n)?n:[n]}function We(n){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1;return Math.max(o,Math.min(t,n))}function Zt(n,o){return n+(arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0").repeat(Math.max(0,o-n.length))}function Re(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},t=arguments.length>2?arguments[2]:void 0;const l={};for(const r in n)l[r]=n[r];for(const r in o){const i=n[r],c=o[r];pt(i)&&pt(c)?l[r]=Re(i,c,t):Array.isArray(i)&&Array.isArray(c)&&t?l[r]=t(i,c):l[r]=c}return l}function Go(n){return n.map(o=>o.type===e.Fragment?Go(o.children):o).flat()}function Fe(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";if(Fe.cache.has(n))return Fe.cache.get(n);const o=n.replace(/[^a-z]/gi,"-").replace(/\B([A-Z])/g,"-$1").toLowerCase();return Fe.cache.set(n,o),o}function En(n,o){if(!o||typeof o!="object")return[];if(Array.isArray(o))return o.map(t=>En(n,t)).flat(1);if(Array.isArray(o.children))return o.children.map(t=>En(n,t)).flat(1);if(o.component){if(Object.getOwnPropertySymbols(o.component.provides).includes(n))return[o.component];if(o.component.subTree)return En(n,o.component.subTree).flat(1)}return[]}function Pt(n){const o=e.reactive({}),t=e.computed(n);return e.watchEffect(()=>{for(const l in t.value)o[l]=t.value[l]},{flush:"sync"}),e.toRefs(o)}function Rn(n,o){return n.includes(o)}function Qt(n){return n[2].toLowerCase()+n.slice(3)}Fe.cache=new Map;const ye=()=>[Function,Array];function eo(n,o){return!!(n[o="on"+e.capitalize(o)]||n[`${o}Once`]||n[`${o}Capture`]||n[`${o}OnceCapture`]||n[`${o}CaptureOnce`])}function qo(n){for(var o=arguments.length,t=new Array(o>1?o-1:0),l=1;l1&&arguments[1]!==void 0)||arguments[1];const t=["button","[href]",'input:not([type="hidden"])',"select","textarea","[tabindex]"].map(l=>`${l}${o?':not([tabindex="-1"])':""}:not([disabled])`).join(", ");return[...n.querySelectorAll(t)]}function Ho(n,o,t){let l,r=n.indexOf(document.activeElement);const i=o==="next"?1:-1;do r+=i,l=n[r];while((!l||l.offsetParent==null||!((t==null?void 0:t(l))??1))&&r=0);return l}function Dn(n,o){var l,r,i,c;const t=ft(n);if(o)if(o==="first")(l=t[0])==null||l.focus();else if(o==="last")(r=t.at(-1))==null||r.focus();else if(typeof o=="number")(i=t[o])==null||i.focus();else{const u=Ho(t,o);u?u.focus():Dn(n,o==="next"?"first":"last")}else n!==document.activeElement&&n.contains(document.activeElement)||((c=t[0])==null||c.focus())}function Ln(n,o){if(!(ue&&typeof CSS<"u"&&CSS.supports!==void 0&&CSS.supports(`selector(${o})`)))return null;try{return!!n&&n.matches(o)}catch{return null}}function Yo(n){return n.some(o=>!e.isVNode(o)||o.type!==e.Comment&&(o.type!==e.Fragment||Yo(o.children)))?n:null}const Xo=["top","bottom"],ya=["start","end","left","right"];function mt(n,o){let[t,l]=n.split(" ");return l||(l=Rn(Xo,t)?"start":Rn(ya,t)?"top":"center"),{side:no(t,o),align:no(l,o)}}function no(n,o){return n==="start"?o?"right":"left":n==="end"?o?"left":"right":n}function lt(n){return{side:{center:"center",top:"bottom",bottom:"top",left:"right",right:"left"}[n.side],align:n.align}}function at(n){return{side:n.side,align:{center:"center",top:"bottom",bottom:"top",left:"right",right:"left"}[n.align]}}function to(n){return{side:n.align,align:n.side}}function oo(n){return Rn(Xo,n.side)?"y":"x"}class Ne{constructor(o){let{x:t,y:l,width:r,height:i}=o;this.x=t,this.y=l,this.width=r,this.height=i}get top(){return this.y}get bottom(){return this.y+this.height}get left(){return this.x}get right(){return this.x+this.width}}function lo(n,o){return{x:{before:Math.max(0,o.left-n.left),after:Math.max(0,n.right-o.right)},y:{before:Math.max(0,o.top-n.top),after:Math.max(0,n.bottom-o.bottom)}}}function Ko(n){return Array.isArray(n)?new Ne({x:n[0],y:n[1],width:0,height:0}):n.getBoundingClientRect()}function _t(n){const o=n.getBoundingClientRect(),t=getComputedStyle(n),l=t.transform;if(l){let r,i,c,u,a;if(l.startsWith("matrix3d("))r=l.slice(9,-1).split(/, /),i=+r[0],c=+r[5],u=+r[12],a=+r[13];else{if(!l.startsWith("matrix("))return new Ne(o);r=l.slice(7,-1).split(/, /),i=+r[0],c=+r[3],u=+r[4],a=+r[5]}const s=t.transformOrigin,v=o.x-u-(1-i)*parseFloat(s),f=o.y-a-(1-c)*parseFloat(s.slice(s.indexOf(" ")+1)),p=i?o.width/i:n.offsetWidth+1,d=c?o.height/c:n.offsetHeight+1;return new Ne({x:v,y:f,width:p,height:d})}return new Ne(o)}function De(n,o,t){if(n.animate===void 0)return{finished:Promise.resolve()};let l;try{l=n.animate(o,t)}catch{return{finished:Promise.resolve()}}return l.finished===void 0&&(l.finished=new Promise(r=>{l.onfinish=()=>{r(l)}})),l}const An=new WeakMap,$e=2.4,ao=.2126729,ro=.7151522,io=.072175,ga=.55,ha=.58,ba=.57,Ca=.62,Pn=.03,so=1.45,Sa=5e-4,Va=1.25,Ia=1.25,uo=.078,co=12.82051282051282,_n=.06,po=.001;function vo(n,o){const t=(n.r/255)**$e,l=(n.g/255)**$e,r=(n.b/255)**$e,i=(o.r/255)**$e,c=(o.g/255)**$e,u=(o.b/255)**$e;let a,s=t*ao+l*ro+r*io,v=i*ao+c*ro+u*io;if(s<=Pn&&(s+=(Pn-s)**so),v<=Pn&&(v+=(Pn-v)**so),Math.abs(v-s)s){const f=(v**ga-s**ha)*Va;a=f-po?0:f>-uo?f-f*co*_n:f+_n}return 100*a}function sn(n){e.warn(`Vuetify: ${n}`)}function rt(n){return!!n&&/^(#|var\(--|(rgb|hsl)a?\()/.test(n)}const fo=/^(?(?:rgb|hsl)a?)\((?.+)\)/,Ba={rgb:(n,o,t,l)=>({r:n,g:o,b:t,a:l}),rgba:(n,o,t,l)=>({r:n,g:o,b:t,a:l}),hsl:(n,o,t,l)=>mo({h:n,s:o,l:t,a:l}),hsla:(n,o,t,l)=>mo({h:n,s:o,l:t,a:l}),hsv:(n,o,t,l)=>cn({h:n,s:o,v:t,a:l}),hsva:(n,o,t,l)=>cn({h:n,s:o,v:t,a:l})};function ln(n){if(typeof n=="number")return(isNaN(n)||n<0||n>16777215)&&sn(`'${n}' is not a valid hex color`),{r:(16711680&n)>>16,g:(65280&n)>>8,b:255&n};if(typeof n=="string"&&fo.test(n)){const{groups:o}=n.match(fo),{fn:t,values:l}=o,r=l.split(/,\s*/).map(i=>i.endsWith("%")&&["hsl","hsla","hsv","hsva"].includes(t)?parseFloat(i)/100:parseFloat(i));return Ba[t](...r)}if(typeof n=="string"){let o=n.startsWith("#")?n.slice(1):n;[3,4].includes(o.length)?o=o.split("").map(l=>l+l).join(""):[6,8].includes(o.length)||sn(`'${n}' is not a valid hex(a) color`);const t=parseInt(o,16);return(isNaN(t)||t<0||t>4294967295)&&sn(`'${n}' is not a valid hex(a) color`),function(l){l=function(a){return a.startsWith("#")&&(a=a.slice(1)),a=a.replace(/([^0-9a-f])/gi,"F"),(a.length===3||a.length===4)&&(a=a.split("").map(s=>s+s).join("")),a.length!==6&&(a=Zt(Zt(a,6),8,"F")),a}(l);let[r,i,c,u]=function(a){let s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;const v=[];let f=0;for(;fparseInt(a,16));return u=u===void 0?u:u/255,{r,g:i,b:c,a:u}}(o)}if(typeof n=="object"){if(ot(n,["r","g","b"]))return n;if(ot(n,["h","s","l"]))return cn(Jo(n));if(ot(n,["h","s","v"]))return cn(n)}throw new TypeError(`Invalid color: ${n==null?n:String(n)||n.constructor.name} +Expected #hex, #hexa, rgb(), rgba(), hsl(), hsla(), object or number`)}function cn(n){const{h:o,s:t,v:l,a:r}=n,i=u=>{const a=(u+o/60)%6;return l-l*t*Math.max(Math.min(a,4-a,1),0)},c=[i(5),i(3),i(1)].map(u=>Math.round(255*u));return{r:c[0],g:c[1],b:c[2],a:r}}function mo(n){return cn(Jo(n))}function Jo(n){const{h:o,s:t,l,a:r}=n,i=l+t*Math.min(l,1-l);return{h:o,s:i===0?0:2-2*l/i,v:i,a:r}}const Mn=Symbol.for("vuetify:defaults");function Ot(){const n=e.inject(Mn);if(!n)throw new Error("[Vuetify] Could not find defaults instance");return n}function Ze(n,o){const t=Ot(),l=e.ref(n),r=e.computed(()=>{if(e.unref(o==null?void 0:o.disabled))return t.value;const i=e.unref(o==null?void 0:o.scoped),c=e.unref(o==null?void 0:o.reset),u=e.unref(o==null?void 0:o.root);if(l.value==null&&!(i||c||u))return t.value;let a=Re(l.value,{prev:t.value});if(i)return a;if(c||u){const s=Number(c||1/0);for(let v=0;v<=s&&a&&"prev"in a;v++)a=a.prev;return a&&typeof u=="string"&&u in a&&(a=Re(Re(a,{prev:a}),a[u])),a}return a.prev?Re(a.prev,a):a});return e.provide(Mn,r),r}function wa(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=arguments.length>1?arguments[1]:void 0,t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Ot();const l=oe("useDefaults");if(o=o??l.type.name??l.type.__name,!o)throw new Error("[Vuetify] Could not determine component name");const r=e.computed(()=>{var u;return(u=t.value)==null?void 0:u[n._as??o]}),i=new Proxy(n,{get(u,a){var v,f,p,d;const s=Reflect.get(u,a);return a==="class"||a==="style"?[(v=r.value)==null?void 0:v[a],s].filter(m=>m!=null):typeof a!="string"||function(m,y){var g,b;return((g=m.props)==null?void 0:g[y])!==void 0||((b=m.props)==null?void 0:b[Fe(y)])!==void 0}(l.vnode,a)?s:((f=r.value)==null?void 0:f[a])??((d=(p=t.value)==null?void 0:p.global)==null?void 0:d[a])??s}}),c=e.shallowRef();return e.watchEffect(()=>{if(r.value){const u=Object.entries(r.value).filter(a=>{let[s]=a;return s.startsWith(s[0].toUpperCase())});c.value=u.length?Object.fromEntries(u):void 0}else c.value=void 0}),{props:i,provideSubDefaults:function(){const u=function(a){let s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:oe("injectSelf");const{provides:v}=s;if(v&&a in v)return v[a]}(Mn,l);e.provide(Mn,e.computed(()=>c.value?Re((u==null?void 0:u.value)??{},c.value):u==null?void 0:u.value))}}}function dn(n){if(n._setup=n._setup??n.setup,!n.name)return sn("The component is missing an explicit name, unable to generate default prop value"),n;if(n._setup){n.props=U(n.props??{},n.name)();const o=Object.keys(n.props).filter(t=>t!=="class"&&t!=="style");n.filterProps=function(t){return jo(t,o)},n.props._as=String,n.setup=function(t,l){const r=Ot();if(!r.value)return n._setup(t,l);const{props:i,provideSubDefaults:c}=wa(t,t._as??n.name,r),u=n._setup(i,l);return c(),u}}return n}function H(){let n=!(arguments.length>0&&arguments[0]!==void 0)||arguments[0];return o=>(n?dn:e.defineComponent)(o)}function bn(n){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"div",t=arguments.length>2?arguments[2]:void 0;return H()({name:t??e.capitalize(e.camelize(n.replace(/__/g,"-"))),props:{tag:{type:String,default:o},...Z()},setup(l,r){let{slots:i}=r;return()=>{var c;return e.h(l.tag,{class:[n,l.class],style:l.style},(c=i.default)==null?void 0:c.call(i))}}})}function Zo(n){if(typeof n.getRootNode!="function"){for(;n.parentNode;)n=n.parentNode;return n!==document?null:document}const o=n.getRootNode();return o!==document&&o.getRootNode({composed:!0})!==document?null:o}const Wn="cubic-bezier(0.4, 0, 0.2, 1)";function oe(n,o){const t=e.getCurrentInstance();if(!t)throw new Error(`[Vuetify] ${n} ${o||"must be called from inside a setup function"}`);return t}function ge(){const n=oe(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"composables").type;return Fe((n==null?void 0:n.aliasName)||(n==null?void 0:n.name))}let Qo=0,zn=new WeakMap;function fe(){const n=oe("getUid");if(zn.has(n))return zn.get(n);{const o=Qo++;return zn.set(n,o),o}}function el(n){let o=arguments.length>1&&arguments[1]!==void 0&&arguments[1];for(;n;){if(o?ka(n):Et(n))return n;n=n.parentElement}return document.scrollingElement}function jn(n,o){const t=[];if(o&&n&&!o.contains(n))return t;for(;n&&(Et(n)&&t.push(n),n!==o);)n=n.parentElement;return t}function Et(n){if(!n||n.nodeType!==Node.ELEMENT_NODE)return!1;const o=window.getComputedStyle(n);return o.overflowY==="scroll"||o.overflowY==="auto"&&n.scrollHeight>n.clientHeight}function ka(n){if(!n||n.nodeType!==Node.ELEMENT_NODE)return!1;const o=window.getComputedStyle(n);return["scroll","auto"].includes(o.overflowY)}function J(n){oe("useRender").render=n}function zt(n){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"content";const t=e.ref(),l=e.ref();if(ue){const r=new ResizeObserver(i=>{n==null||n(i,r),i.length&&(l.value=o==="content"?i[0].contentRect:i[0].target.getBoundingClientRect())});e.onBeforeUnmount(()=>{r.disconnect()}),e.watch(t,(i,c)=>{c&&(r.unobserve($n(c)),l.value=void 0),i&&r.observe($n(i))},{flush:"post"})}return{resizeRef:t,contentRect:e.readonly(l)}}function Ae(n,o){let t;function l(){t=e.effectScope(),t.run(()=>o.length?o(()=>{t==null||t.stop(),l()}):o())}e.watch(n,r=>{r&&!t?l():r||(t==null||t.stop(),t=void 0)},{immediate:!0}),e.onScopeDispose(()=>{t==null||t.stop()})}function ne(n,o,t){let l=arguments.length>3&&arguments[3]!==void 0?arguments[3]:v=>v,r=arguments.length>4&&arguments[4]!==void 0?arguments[4]:v=>v;const i=oe("useProxiedModel"),c=e.ref(n[o]!==void 0?n[o]:t),u=Fe(o),a=u!==o?e.computed(()=>{var v,f,p,d;return n[o],!(!((v=i.vnode.props)!=null&&v.hasOwnProperty(o))&&!((f=i.vnode.props)!=null&&f.hasOwnProperty(u))||!((p=i.vnode.props)!=null&&p.hasOwnProperty(`onUpdate:${o}`))&&!((d=i.vnode.props)!=null&&d.hasOwnProperty(`onUpdate:${u}`)))}):e.computed(()=>{var v,f;return n[o],!(!((v=i.vnode.props)!=null&&v.hasOwnProperty(o))||!((f=i.vnode.props)!=null&&f.hasOwnProperty(`onUpdate:${o}`)))});Ae(()=>!a.value,()=>{e.watch(()=>n[o],v=>{c.value=v})});const s=e.computed({get(){const v=n[o];return l(a.value?v:c.value)},set(v){const f=r(v),p=e.toRaw(a.value?n[o]:c.value);p!==f&&l(p)!==v&&(c.value=f,i==null||i.emit(`update:${o}`,f))}});return Object.defineProperty(s,"externalValue",{get:()=>a.value?n[o]:c.value}),s}fe.reset=()=>{Qo=0,zn=new WeakMap};const nl=Symbol.for("vuetify:locale");function Tt(){const n=e.inject(nl);if(!n)throw new Error("[Vuetify] Could not find injected locale instance");return n}function Cn(){const n=e.inject(nl);if(!n)throw new Error("[Vuetify] Could not find injected rtl instance");return{isRtl:n.isRtl,rtlClasses:n.rtlClasses}}const yo=Symbol.for("vuetify:theme"),le=U({theme:String},"theme");function ie(n){oe("provideTheme");const o=e.inject(yo,null);if(!o)throw new Error("Could not find Vuetify theme injection");const t=e.computed(()=>n.theme??o.name.value),l=e.computed(()=>o.themes.value[t.value]),r=e.computed(()=>o.isDisabled?void 0:`v-theme--${t.value}`),i={...o,name:t,current:l,themeClasses:r};return e.provide(yo,i),i}const pe=U({tag:{type:String,default:"div"}},"tag"),xa=U({disabled:Boolean,group:Boolean,hideOnLeave:Boolean,leaveAbsolute:Boolean,mode:String,origin:String},"transition");function ce(n,o,t){return H()({name:n,props:xa({mode:t,origin:o}),setup(l,r){let{slots:i}=r;const c={onBeforeEnter(u){l.origin&&(u.style.transformOrigin=l.origin)},onLeave(u){if(l.leaveAbsolute){const{offsetTop:a,offsetLeft:s,offsetWidth:v,offsetHeight:f}=u;u._transitionInitialStyles={position:u.style.position,top:u.style.top,left:u.style.left,width:u.style.width,height:u.style.height},u.style.position="absolute",u.style.top=`${a}px`,u.style.left=`${s}px`,u.style.width=`${v}px`,u.style.height=`${f}px`}l.hideOnLeave&&u.style.setProperty("display","none","important")},onAfterLeave(u){if(l.leaveAbsolute&&(u!=null&&u._transitionInitialStyles)){const{position:a,top:s,left:v,width:f,height:p}=u._transitionInitialStyles;delete u._transitionInitialStyles,u.style.position=a||"",u.style.top=s||"",u.style.left=v||"",u.style.width=f||"",u.style.height=p||""}}};return()=>{const u=l.group?e.TransitionGroup:e.Transition;return e.h(u,{name:l.disabled?"":n,css:!l.disabled,...l.group?void 0:{mode:l.mode},...l.disabled?{}:c},i.default)}}})}function tl(n,o){let t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"in-out";return H()({name:n,props:{mode:{type:String,default:t},disabled:Boolean},setup(l,r){let{slots:i}=r;return()=>e.h(e.Transition,{name:l.disabled?"":n,css:!l.disabled,...l.disabled?{}:o},i.default)}})}function ol(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";const o=arguments.length>1&&arguments[1]!==void 0&&arguments[1]?"width":"height",t=e.camelize(`offset-${o}`);return{onBeforeEnter(i){i._parent=i.parentNode,i._initialStyle={transition:i.style.transition,overflow:i.style.overflow,[o]:i.style[o]}},onEnter(i){const c=i._initialStyle;i.style.setProperty("transition","none","important"),i.style.overflow="hidden";const u=`${i[t]}px`;i.style[o]="0",i.offsetHeight,i.style.transition=c.transition,n&&i._parent&&i._parent.classList.add(n),requestAnimationFrame(()=>{i.style[o]=u})},onAfterEnter:r,onEnterCancelled:r,onLeave(i){i._initialStyle={transition:"",overflow:i.style.overflow,[o]:i.style[o]},i.style.overflow="hidden",i.style[o]=`${i[t]}px`,i.offsetHeight,requestAnimationFrame(()=>i.style[o]="0")},onAfterLeave:l,onLeaveCancelled:l};function l(i){n&&i._parent&&i._parent.classList.remove(n),r(i)}function r(i){const c=i._initialStyle[o];i.style.overflow=i._initialStyle.overflow,c!=null&&(i.style[o]=c),delete i._initialStyle}}const Fa=U({target:[Object,Array]},"v-dialog-transition"),ll=H()({name:"VDialogTransition",props:Fa(),setup(n,o){let{slots:t}=o;const l={onBeforeEnter(r){r.style.pointerEvents="none",r.style.visibility="hidden"},async onEnter(r,i){var p;await new Promise(d=>requestAnimationFrame(d)),await new Promise(d=>requestAnimationFrame(d)),r.style.visibility="";const{x:c,y:u,sx:a,sy:s,speed:v}=ho(n.target,r),f=De(r,[{transform:`translate(${c}px, ${u}px) scale(${a}, ${s})`,opacity:0},{}],{duration:225*v,easing:"cubic-bezier(0.0, 0, 0.2, 1)"});(p=go(r))==null||p.forEach(d=>{De(d,[{opacity:0},{opacity:0,offset:.33},{}],{duration:450*v,easing:Wn})}),f.finished.then(()=>i())},onAfterEnter(r){r.style.removeProperty("pointer-events")},onBeforeLeave(r){r.style.pointerEvents="none"},async onLeave(r,i){var f;await new Promise(p=>requestAnimationFrame(p));const{x:c,y:u,sx:a,sy:s,speed:v}=ho(n.target,r);De(r,[{},{transform:`translate(${c}px, ${u}px) scale(${a}, ${s})`,opacity:0}],{duration:125*v,easing:"cubic-bezier(0.4, 0, 1, 1)"}).finished.then(()=>i()),(f=go(r))==null||f.forEach(p=>{De(p,[{},{opacity:0,offset:.2},{opacity:0}],{duration:250*v,easing:Wn})})},onAfterLeave(r){r.style.removeProperty("pointer-events")}};return()=>n.target?e.createVNode(e.Transition,e.mergeProps({name:"dialog-transition"},l,{css:!1}),t):e.createVNode(e.Transition,{name:"dialog-transition"},t)}});function go(n){var t;const o=(t=n.querySelector(":scope > .v-card, :scope > .v-sheet, :scope > .v-list"))==null?void 0:t.children;return o&&[...o]}function ho(n,o){const t=Ko(n),l=_t(o),[r,i]=getComputedStyle(o).transformOrigin.split(" ").map(b=>parseFloat(b)),[c,u]=getComputedStyle(o).getPropertyValue("--v-overlay-anchor-origin").split(" ");let a=t.left+t.width/2;c==="left"||u==="left"?a-=t.width/2:c!=="right"&&u!=="right"||(a+=t.width/2);let s=t.top+t.height/2;c==="top"||u==="top"?s-=t.height/2:c!=="bottom"&&u!=="bottom"||(s+=t.height/2);const v=t.width/l.width,f=t.height/l.height,p=Math.max(1,v,f),d=v/p||0,m=f/p||0,y=l.width*l.height/(window.innerWidth*window.innerHeight),g=y>.12?Math.min(1.5,10*(y-.12)+1):1;return{x:a-(r+l.left),y:s-(i+l.top),sx:d,sy:m,speed:g}}ce("fab-transition","center center","out-in"),ce("dialog-bottom-transition"),ce("dialog-top-transition"),ce("fade-transition");const Na=ce("scale-transition");ce("scroll-x-transition"),ce("scroll-x-reverse-transition"),ce("scroll-y-transition"),ce("scroll-y-reverse-transition"),ce("slide-x-transition"),ce("slide-x-reverse-transition");const al=ce("slide-y-transition");ce("slide-y-reverse-transition");const Aa=tl("expand-transition",ol()),rl=tl("expand-x-transition",ol("",!0)),Pa=U({defaults:Object,disabled:Boolean,reset:[Number,String],root:[Boolean,String],scoped:Boolean},"VDefaultsProvider"),ae=H(!1)({name:"VDefaultsProvider",props:Pa(),setup(n,o){let{slots:t}=o;const{defaults:l,disabled:r,reset:i,root:c,scoped:u}=e.toRefs(n);return Ze(l,{reset:i,root:c,scoped:u,disabled:r}),()=>{var a;return(a=t.default)==null?void 0:a.call(t)}}}),Ee=U({height:[Number,String],maxHeight:[Number,String],maxWidth:[Number,String],minHeight:[Number,String],minWidth:[Number,String],width:[Number,String]},"dimension");function ze(n){return{dimensionStyles:e.computed(()=>({height:Y(n.height),maxHeight:Y(n.maxHeight),maxWidth:Y(n.maxWidth),minHeight:Y(n.minHeight),minWidth:Y(n.minWidth),width:Y(n.width)}))}}const il=U({aspectRatio:[String,Number],contentClass:String,inline:Boolean,...Z(),...Ee()},"VResponsive"),bo=H()({name:"VResponsive",props:il(),setup(n,o){let{slots:t}=o;const{aspectStyles:l}=function(i){return{aspectStyles:e.computed(()=>{const c=Number(i.aspectRatio);return c?{paddingBottom:String(1/c*100)+"%"}:void 0})}}(n),{dimensionStyles:r}=ze(n);return J(()=>{var i;return e.createVNode("div",{class:["v-responsive",{"v-responsive--inline":n.inline},n.class],style:[r.value,n.style]},[e.createVNode("div",{class:"v-responsive__sizer",style:l.value},null),(i=t.additional)==null?void 0:i.call(t),t.default&&e.createVNode("div",{class:["v-responsive__content",n.contentClass]},[t.default()])])}),{}}}),Sn=U({transition:{type:[Boolean,String,Object],default:"fade-transition",validator:n=>n!==!0}},"transition"),we=(n,o)=>{let{slots:t}=o;const{transition:l,disabled:r,...i}=n,{component:c=e.Transition,...u}=typeof l=="object"?l:{};return e.h(c,e.mergeProps(typeof l=="string"?{name:r?"":l}:u,i,{disabled:r}),t)};function Co(n,o){var l;const t=(l=n._observe)==null?void 0:l[o.instance.$.uid];t&&(t.observer.unobserve(n),delete n._observe[o.instance.$.uid])}const $t={mounted:function(n,o){if(!At)return;const t=o.modifiers||{},l=o.value,{handler:r,options:i}=typeof l=="object"?l:{handler:l,options:{}},c=new IntersectionObserver(function(){var f;let u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],a=arguments.length>1?arguments[1]:void 0;const s=(f=n._observe)==null?void 0:f[o.instance.$.uid];if(!s)return;const v=u.some(p=>p.isIntersecting);!r||t.quiet&&!s.init||t.once&&!v&&!s.init||r(v,u,a),v&&t.once?Co(n,o):s.init=!0},i);n._observe=Object(n._observe),n._observe[o.instance.$.uid]={init:!1,observer:c},c.observe(n)},unmounted:Co},_a=U({alt:String,cover:Boolean,draggable:{type:[Boolean,String],default:void 0},eager:Boolean,gradient:String,lazySrc:String,options:{type:Object,default:()=>({root:void 0,rootMargin:void 0,threshold:void 0})},sizes:String,src:{type:[String,Object],default:""},crossorigin:String,referrerpolicy:String,srcset:String,position:String,...il(),...Z(),...Sn()},"VImg"),sl=H()({name:"VImg",directives:{intersect:$t},props:_a(),emits:{loadstart:n=>!0,load:n=>!0,error:n=>!0},setup(n,o){let{emit:t,slots:l}=o;const r=oe("VImg"),i=e.shallowRef(""),c=e.ref(),u=e.shallowRef(n.eager?"loading":"idle"),a=e.shallowRef(),s=e.shallowRef(),v=e.computed(()=>n.src&&typeof n.src=="object"?{src:n.src.src,srcset:n.srcset||n.src.srcset,lazySrc:n.lazySrc||n.src.lazySrc,aspect:Number(n.aspectRatio||n.src.aspect||0)}:{src:n.src,srcset:n.srcset,lazySrc:n.lazySrc,aspect:Number(n.aspectRatio||0)}),f=e.computed(()=>v.value.aspect||a.value/s.value||0);function p(V){if((!n.eager||!V)&&(!At||V||n.eager)){if(u.value="loading",v.value.lazySrc){const A=new Image;A.src=v.value.lazySrc,b(A,null)}v.value.src&&e.nextTick(()=>{var A;t("loadstart",((A=c.value)==null?void 0:A.currentSrc)||v.value.src),setTimeout(()=>{var h;if(!r.isUnmounted)if((h=c.value)!=null&&h.complete){if(c.value.naturalWidth||m(),u.value==="error")return;f.value||b(c.value,null),u.value==="loading"&&d()}else f.value||b(c.value),y()})})}}function d(){var V;r.isUnmounted||(y(),b(c.value),u.value="loaded",t("load",((V=c.value)==null?void 0:V.currentSrc)||v.value.src))}function m(){var V;r.isUnmounted||(u.value="error",t("error",((V=c.value)==null?void 0:V.currentSrc)||v.value.src))}function y(){const V=c.value;V&&(i.value=V.currentSrc||V.src)}e.watch(()=>n.src,()=>{p(u.value!=="idle")}),e.watch(f,(V,A)=>{!V&&A&&c.value&&b(c.value)}),e.onBeforeMount(()=>p());let g=-1;function b(V){let A=arguments.length>1&&arguments[1]!==void 0?arguments[1]:100;const h=()=>{if(clearTimeout(g),r.isUnmounted)return;const{naturalHeight:I,naturalWidth:B}=V;I||B?(a.value=B,s.value=I):V.complete||u.value!=="loading"||A==null?(V.currentSrc.endsWith(".svg")||V.currentSrc.startsWith("data:image/svg+xml"))&&(a.value=1,s.value=1):g=window.setTimeout(h,A)};h()}e.onBeforeUnmount(()=>{clearTimeout(g)});const F=e.computed(()=>({"v-img__img--cover":n.cover,"v-img__img--contain":!n.cover})),N=()=>{var h;if(!v.value.src||u.value==="idle")return null;const V=e.createVNode("img",{class:["v-img__img",F.value],style:{objectPosition:n.position},src:v.value.src,srcset:v.value.srcset,alt:n.alt,crossorigin:n.crossorigin,referrerpolicy:n.referrerpolicy,draggable:n.draggable,sizes:n.sizes,ref:c,onLoad:d,onError:m},null),A=(h=l.sources)==null?void 0:h.call(l);return e.createVNode(we,{transition:n.transition,appear:!0},{default:()=>[e.withDirectives(A?e.createVNode("picture",{class:"v-img__picture"},[A,V]):V,[[e.vShow,u.value==="loaded"]])]})},j=()=>e.createVNode(we,{transition:n.transition},{default:()=>[v.value.lazySrc&&u.value!=="loaded"&&e.createVNode("img",{class:["v-img__img","v-img__img--preload",F.value],style:{objectPosition:n.position},src:v.value.lazySrc,alt:n.alt,crossorigin:n.crossorigin,referrerpolicy:n.referrerpolicy,draggable:n.draggable},null)]}),E=()=>l.placeholder?e.createVNode(we,{transition:n.transition,appear:!0},{default:()=>[(u.value==="loading"||u.value==="error"&&!l.error)&&e.createVNode("div",{class:"v-img__placeholder"},[l.placeholder()])]}):null,z=()=>l.error?e.createVNode(we,{transition:n.transition,appear:!0},{default:()=>[u.value==="error"&&e.createVNode("div",{class:"v-img__error"},[l.error()])]}):null,D=()=>n.gradient?e.createVNode("div",{class:"v-img__gradient",style:{backgroundImage:`linear-gradient(${n.gradient})`}},null):null,_=e.shallowRef(!1);{const V=e.watch(f,A=>{A&&(requestAnimationFrame(()=>{requestAnimationFrame(()=>{_.value=!0})}),V())})}return J(()=>{const V=bo.filterProps(n);return e.withDirectives(e.createVNode(bo,e.mergeProps({class:["v-img",{"v-img--booting":!_.value},n.class],style:[{width:Y(n.width==="auto"?a.value:n.width)},n.style]},V,{aspectRatio:f.value,"aria-label":n.alt,role:n.alt?"img":void 0}),{additional:()=>e.createVNode(e.Fragment,null,[e.createVNode(N,null,null),e.createVNode(j,null,null),e.createVNode(D,null,null),e.createVNode(E,null,null),e.createVNode(z,null,null)]),default:l.default}),[[e.resolveDirective("intersect"),{handler:p,options:n.options},null,{once:!0}]])}),{currentSrc:i,image:c,state:u,naturalWidth:a,naturalHeight:s}}}),Qe=U({border:[Boolean,Number,String]},"border");function en(n){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ge();return{borderClasses:e.computed(()=>{const t=e.isRef(n)?n.value:n.border,l=[];if(t===!0||t==="")l.push(`${o}--border`);else if(typeof t=="string"||t===0)for(const r of String(t).split(" "))l.push(`border-${r}`);return l})}}function Rt(n){return Pt(()=>{const o=[],t={};if(n.value.background)if(rt(n.value.background)){if(t.backgroundColor=n.value.background,!n.value.text&&rt(l=n.value.background)&&!/^((rgb|hsl)a?\()?var\(--/.test(l)){const r=ln(n.value.background);if(r.a==null||r.a===1){const i=function(c){const u=Math.abs(vo(ln(0),ln(c)));return Math.abs(vo(ln(16777215),ln(c)))>Math.min(u,50)?"#fff":"#000"}(r);t.color=i,t.caretColor=i}}}else o.push(`bg-${n.value.background}`);var l;return n.value.text&&(rt(n.value.text)?(t.color=n.value.text,t.caretColor=n.value.text):o.push(`text-${n.value.text}`)),{colorClasses:o,colorStyles:t}})}function Se(n,o){const t=e.computed(()=>({text:e.isRef(n)?n.value:o?n[o]:null})),{colorClasses:l,colorStyles:r}=Rt(t);return{textColorClasses:l,textColorStyles:r}}function Ke(n,o){const t=e.computed(()=>({background:e.isRef(n)?n.value:o?n[o]:null})),{colorClasses:l,colorStyles:r}=Rt(t);return{backgroundColorClasses:l,backgroundColorStyles:r}}const nn=U({elevation:{type:[Number,String],validator(n){const o=parseInt(n);return!isNaN(o)&&o>=0&&o<=24}}},"elevation");function tn(n){return{elevationClasses:e.computed(()=>{const o=e.isRef(n)?n.value:n.elevation,t=[];return o==null||t.push(`elevation-${o}`),t})}}const Ve=U({rounded:{type:[Boolean,Number,String],default:void 0}},"rounded");function Ie(n){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ge();return{roundedClasses:e.computed(()=>{const t=e.isRef(n)?n.value:n.rounded,l=[];if(t===!0||t==="")l.push(`${o}--rounded`);else if(typeof t=="string"||t===0)for(const r of String(t).split(" "))l.push(`rounded-${r}`);return l})}}const Oa=[null,"default","comfortable","compact"],he=U({density:{type:String,default:"default",validator:n=>Oa.includes(n)}},"density");function Be(n){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ge();return{densityClasses:e.computed(()=>`${o}--density-${n.density}`)}}const Ea=["elevated","flat","tonal","outlined","text","plain"];function Vn(n,o){return e.createVNode(e.Fragment,null,[n&&e.createVNode("span",{key:"overlay",class:`${o}__overlay`},null),e.createVNode("span",{key:"underlay",class:`${o}__underlay`},null)])}const xe=U({color:String,variant:{type:String,default:"elevated",validator:n=>Ea.includes(n)}},"variant");function In(n){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ge();const t=e.computed(()=>{const{variant:i}=e.unref(n);return`${o}--variant-${i}`}),{colorClasses:l,colorStyles:r}=Rt(e.computed(()=>{const{variant:i,color:c}=e.unref(n);return{[["elevated","flat"].includes(i)?"background":"text"]:c}}));return{colorClasses:l,colorStyles:r,variantClasses:t}}const ul=U({divided:Boolean,...Qe(),...Z(),...he(),...nn(),...Ve(),...pe(),...le(),...xe()},"VBtnGroup"),So=H()({name:"VBtnGroup",props:ul(),setup(n,o){let{slots:t}=o;const{themeClasses:l}=ie(n),{densityClasses:r}=Be(n),{borderClasses:i}=en(n),{elevationClasses:c}=tn(n),{roundedClasses:u}=Ie(n);Ze({VBtn:{height:"auto",color:e.toRef(n,"color"),density:e.toRef(n,"density"),flat:!0,variant:e.toRef(n,"variant")}}),J(()=>e.createVNode(n.tag,{class:["v-btn-group",{"v-btn-group--divided":n.divided},l.value,i.value,r.value,c.value,u.value,n.class],style:n.style},t))}}),cl=U({modelValue:{type:null,default:void 0},multiple:Boolean,mandatory:[Boolean,String],max:Number,selectedClass:String,disabled:Boolean},"group"),dl=U({value:null,disabled:Boolean,selectedClass:String},"group-item");function pl(n,o){let t=!(arguments.length>2&&arguments[2]!==void 0)||arguments[2];const l=oe("useGroupItem");if(!l)throw new Error("[Vuetify] useGroupItem composable must be used inside a component setup function");const r=fe();e.provide(Symbol.for(`${o.description}:id`),r);const i=e.inject(o,null);if(!i){if(!t)return i;throw new Error(`[Vuetify] Could not find useGroup injection with symbol ${o.description}`)}const c=e.toRef(n,"value"),u=e.computed(()=>!(!i.disabled.value&&!n.disabled));i.register({id:r,value:c,disabled:u},l),e.onBeforeUnmount(()=>{i.unregister(r)});const a=e.computed(()=>i.isSelected(r)),s=e.computed(()=>a.value&&[i.selectedClass.value,n.selectedClass]);return e.watch(a,v=>{l.emit("group:selected",{value:v})}),{id:r,isSelected:a,toggle:()=>i.select(r,!a.value),select:v=>i.select(r,v),selectedClass:s,value:c,disabled:u,group:i}}function vl(n,o){let t=!1;const l=e.reactive([]),r=ne(n,"modelValue",[],s=>s==null?[]:Vo(l,Ce(s)),s=>{const v=function(f,p){const d=[];return p.forEach(m=>{const y=f.findIndex(g=>g.id===m);if(~y){const g=f[y];d.push(g.value!=null?g.value:y)}}),d}(l,s);return n.multiple?v:v[0]}),i=oe("useGroup");function c(){const s=l.find(v=>!v.disabled);s&&n.mandatory==="force"&&!r.value.length&&(r.value=[s.id])}function u(s){if(n.multiple&&sn('This method is not supported when using "multiple" prop'),r.value.length){const v=r.value[0],f=l.findIndex(m=>m.id===v);let p=(f+s)%l.length,d=l[p];for(;d.disabled&&p!==f;)p=(p+s)%l.length,d=l[p];if(d.disabled)return;r.value=[l[p].id]}else{const v=l.find(f=>!f.disabled);v&&(r.value=[v.id])}}e.onMounted(()=>{c()}),e.onBeforeUnmount(()=>{t=!0});const a={register:function(s,v){const f=s,p=En(Symbol.for(`${o.description}:id`),i==null?void 0:i.vnode).indexOf(v);p>-1?l.splice(p,0,f):l.push(f)},unregister:function(s){if(t)return;c();const v=l.findIndex(f=>f.id===s);l.splice(v,1)},selected:r,select:function(s,v){const f=l.find(p=>p.id===s);if(!v||!(f!=null&&f.disabled))if(n.multiple){const p=r.value.slice(),d=p.findIndex(y=>y===s),m=~d;if(v=v??!m,m&&n.mandatory&&p.length<=1||!m&&n.max!=null&&p.length+1>n.max)return;d<0&&v?p.push(s):d>=0&&!v&&p.splice(d,1),r.value=p}else{const p=r.value.includes(s);if(n.mandatory&&p)return;r.value=v??!p?[s]:[]}},disabled:e.toRef(n,"disabled"),prev:()=>u(l.length-1),next:()=>u(1),isSelected:s=>r.value.includes(s),selectedClass:e.computed(()=>n.selectedClass),items:e.computed(()=>l),getItemIndex:s=>function(v,f){const p=Vo(v,[f]);return p.length?v.findIndex(d=>d.id===p[0]):-1}(l,s)};return e.provide(o,a),a}function Vo(n,o){const t=[];return o.forEach(l=>{const r=n.find(c=>gn(l,c.value)),i=n[l];(r==null?void 0:r.value)!=null?t.push(r.id):i!=null&&t.push(i.id)}),t}const fl=Symbol.for("vuetify:v-btn-toggle"),za=U({...ul(),...cl()},"VBtnToggle");H()({name:"VBtnToggle",props:za(),emits:{"update:modelValue":n=>!0},setup(n,o){let{slots:t}=o;const{isSelected:l,next:r,prev:i,select:c,selected:u}=vl(n,fl);return J(()=>{const a=So.filterProps(n);return e.createVNode(So,e.mergeProps({class:["v-btn-toggle",n.class]},a,{style:n.style}),{default:()=>{var s;return[(s=t.default)==null?void 0:s.call(t,{isSelected:l,next:r,prev:i,select:c,selected:u})]}})}),{next:r,prev:i,select:c}}});const Q=[String,Function,Object,Array],Ta=Symbol.for("vuetify:icons"),Un=U({icon:{type:Q},tag:{type:String,required:!0}},"icon"),Io=H()({name:"VComponentIcon",props:Un(),setup(n,o){let{slots:t}=o;return()=>{const l=n.icon;return e.createVNode(n.tag,null,{default:()=>{var r;return[n.icon?e.createVNode(l,null,null):(r=t.default)==null?void 0:r.call(t)]}})}}}),$a=dn({name:"VSvgIcon",inheritAttrs:!1,props:Un(),setup(n,o){let{attrs:t}=o;return()=>e.createVNode(n.tag,e.mergeProps(t,{style:null}),{default:()=>[e.createVNode("svg",{class:"v-icon__svg",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",role:"img","aria-hidden":"true"},[Array.isArray(n.icon)?n.icon.map(l=>Array.isArray(l)?e.createVNode("path",{d:l[0],"fill-opacity":l[1]},null):e.createVNode("path",{d:l},null)):e.createVNode("path",{d:n.icon},null)])]})}});dn({name:"VLigatureIcon",props:Un(),setup:n=>()=>e.createVNode(n.tag,null,{default:()=>[n.icon]})}),dn({name:"VClassIcon",props:Un(),setup:n=>()=>e.createVNode(n.tag,{class:n.icon},null)});const Ra=["x-small","small","default","large","x-large"],Bn=U({size:{type:[String,Number],default:"default"}},"size");function wn(n){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ge();return Pt(()=>{let t,l;return Rn(Ra,n.size)?t=`${o}--size-${n.size}`:n.size&&(l={width:Y(n.size),height:Y(n.size)}),{sizeClasses:t,sizeStyles:l}})}const Da=U({color:String,start:Boolean,end:Boolean,icon:Q,...Z(),...Bn(),...pe({tag:"i"}),...le()},"VIcon"),ee=H()({name:"VIcon",props:Da(),setup(n,o){let{attrs:t,slots:l}=o;const r=e.ref(),{themeClasses:i}=ie(n),{iconData:c}=(v=>{const f=e.inject(Ta);if(!f)throw new Error("Missing Vuetify Icons provide!");return{iconData:e.computed(()=>{var g;const p=e.unref(v);if(!p)return{component:Io};let d=p;if(typeof d=="string"&&(d=d.trim(),d.startsWith("$")&&(d=(g=f.aliases)==null?void 0:g[d.slice(1)])),!d)throw new Error(`Could not find aliased icon "${p}"`);if(Array.isArray(d))return{component:$a,icon:d};if(typeof d!="string")return{component:Io,icon:d};const m=Object.keys(f.sets).find(b=>typeof d=="string"&&d.startsWith(`${b}:`)),y=m?d.slice(m.length+1):d;return{component:f.sets[m??f.defaultSet].component,icon:y}})}})(e.computed(()=>r.value||n.icon)),{sizeClasses:u}=wn(n),{textColorClasses:a,textColorStyles:s}=Se(e.toRef(n,"color"));return J(()=>{var f,p;const v=(f=l.default)==null?void 0:f.call(l);return v&&(r.value=(p=Go(v).filter(d=>d.type===e.Text&&d.children&&typeof d.children=="string")[0])==null?void 0:p.children),e.createVNode(c.value.component,{tag:n.tag,icon:c.value.icon,class:["v-icon","notranslate",i.value,u.value,a.value,{"v-icon--clickable":!!t.onClick,"v-icon--start":n.start,"v-icon--end":n.end},n.class],style:[u.value?void 0:{fontSize:Y(n.size),height:Y(n.size),width:Y(n.size)},s.value,n.style],role:t.onClick?"button":void 0,"aria-hidden":!t.onClick},{default:()=>[v]})}),{}}});function ml(n,o){const t=e.ref(),l=e.shallowRef(!1);if(At){const r=new IntersectionObserver(i=>{n==null||n(i,r),l.value=!!i.find(c=>c.isIntersecting)},o);e.onBeforeUnmount(()=>{r.disconnect()}),e.watch(t,(i,c)=>{c&&(r.unobserve(c),l.value=!1),i&&r.observe(i)},{flush:"post"})}return{intersectionRef:t,isIntersecting:l}}const La=U({bgColor:String,color:String,indeterminate:[Boolean,String],modelValue:{type:[Number,String],default:0},rotate:{type:[Number,String],default:0},width:{type:[Number,String],default:4},...Z(),...Bn(),...pe({tag:"div"}),...le()},"VProgressCircular"),yl=H()({name:"VProgressCircular",props:La(),setup(n,o){let{slots:t}=o;const l=2*Math.PI*20,r=e.ref(),{themeClasses:i}=ie(n),{sizeClasses:c,sizeStyles:u}=wn(n),{textColorClasses:a,textColorStyles:s}=Se(e.toRef(n,"color")),{textColorClasses:v,textColorStyles:f}=Se(e.toRef(n,"bgColor")),{intersectionRef:p,isIntersecting:d}=ml(),{resizeRef:m,contentRect:y}=zt(),g=e.computed(()=>Math.max(0,Math.min(100,parseFloat(n.modelValue)))),b=e.computed(()=>Number(n.width)),F=e.computed(()=>u.value?Number(n.size):y.value?y.value.width:Math.max(b.value,32)),N=e.computed(()=>20/(1-b.value/F.value)*2),j=e.computed(()=>b.value/F.value*N.value),E=e.computed(()=>Y((100-g.value)/100*l));return e.watchEffect(()=>{p.value=r.value,m.value=r.value}),J(()=>e.createVNode(n.tag,{ref:r,class:["v-progress-circular",{"v-progress-circular--indeterminate":!!n.indeterminate,"v-progress-circular--visible":d.value,"v-progress-circular--disable-shrink":n.indeterminate==="disable-shrink"},i.value,c.value,a.value,n.class],style:[u.value,s.value,n.style],role:"progressbar","aria-valuemin":"0","aria-valuemax":"100","aria-valuenow":n.indeterminate?void 0:g.value},{default:()=>[e.createVNode("svg",{style:{transform:`rotate(calc(-90deg + ${Number(n.rotate)}deg))`},xmlns:"http://www.w3.org/2000/svg",viewBox:`0 0 ${N.value} ${N.value}`},[e.createVNode("circle",{class:["v-progress-circular__underlay",v.value],style:f.value,fill:"transparent",cx:"50%",cy:"50%",r:20,"stroke-width":j.value,"stroke-dasharray":l,"stroke-dashoffset":0},null),e.createVNode("circle",{class:"v-progress-circular__overlay",fill:"transparent",cx:"50%",cy:"50%",r:20,"stroke-width":j.value,"stroke-dasharray":l,"stroke-dashoffset":E.value},null)]),t.default&&e.createVNode("div",{class:"v-progress-circular__content"},[t.default({value:g.value})])]})),{}}}),Bo={center:"center",top:"bottom",bottom:"top",left:"right",right:"left"},Dt=U({location:String},"location");function Lt(n){let o=arguments.length>1&&arguments[1]!==void 0&&arguments[1],t=arguments.length>2?arguments[2]:void 0;const{isRtl:l}=Cn();return{locationStyles:e.computed(()=>{if(!n.location)return{};const{side:i,align:c}=mt(n.location.split(" ").length>1?n.location:`${n.location} center`,l.value);function u(s){return t?t(s):0}const a={};return i!=="center"&&(o?a[Bo[i]]=`calc(100% - ${u(i)}px)`:a[i]=0),c!=="center"?o?a[Bo[c]]=`calc(100% - ${u(c)}px)`:a[c]=0:(i==="center"?a.top=a.left="50%":a[{top:"left",bottom:"left",left:"top",right:"top"}[i]]="50%",a.transform={top:"translateX(-50%)",bottom:"translateX(-50%)",left:"translateY(-50%)",right:"translateY(-50%)",center:"translate(-50%, -50%)"}[i]),a})}}const Ma=U({absolute:Boolean,active:{type:Boolean,default:!0},bgColor:String,bgOpacity:[Number,String],bufferValue:{type:[Number,String],default:0},clickable:Boolean,color:String,height:{type:[Number,String],default:4},indeterminate:Boolean,max:{type:[Number,String],default:100},modelValue:{type:[Number,String],default:0},reverse:Boolean,stream:Boolean,striped:Boolean,roundedBar:Boolean,...Z(),...Dt({location:"top"}),...Ve(),...pe(),...le()},"VProgressLinear"),Wa=H()({name:"VProgressLinear",props:Ma(),emits:{"update:modelValue":n=>!0},setup(n,o){let{slots:t}=o;const l=ne(n,"modelValue"),{isRtl:r,rtlClasses:i}=Cn(),{themeClasses:c}=ie(n),{locationStyles:u}=Lt(n),{textColorClasses:a,textColorStyles:s}=Se(n,"color"),{backgroundColorClasses:v,backgroundColorStyles:f}=Ke(e.computed(()=>n.bgColor||n.color)),{backgroundColorClasses:p,backgroundColorStyles:d}=Ke(n,"color"),{roundedClasses:m}=Ie(n),{intersectionRef:y,isIntersecting:g}=ml(),b=e.computed(()=>parseInt(n.max,10)),F=e.computed(()=>parseInt(n.height,10)),N=e.computed(()=>parseFloat(n.bufferValue)/b.value*100),j=e.computed(()=>parseFloat(l.value)/b.value*100),E=e.computed(()=>r.value!==n.reverse),z=e.computed(()=>n.indeterminate?"fade-transition":"slide-x-transition"),D=e.computed(()=>n.bgOpacity==null?n.bgOpacity:parseFloat(n.bgOpacity));function _(V){if(!y.value)return;const{left:A,right:h,width:I}=y.value.getBoundingClientRect(),B=E.value?I-V.clientX+(h-I):V.clientX-A;l.value=Math.round(B/I*b.value)}return J(()=>e.createVNode(n.tag,{ref:y,class:["v-progress-linear",{"v-progress-linear--absolute":n.absolute,"v-progress-linear--active":n.active&&g.value,"v-progress-linear--reverse":E.value,"v-progress-linear--rounded":n.rounded,"v-progress-linear--rounded-bar":n.roundedBar,"v-progress-linear--striped":n.striped},m.value,c.value,i.value,n.class],style:[{bottom:n.location==="bottom"?0:void 0,top:n.location==="top"?0:void 0,height:n.active?Y(F.value):0,"--v-progress-linear-height":Y(F.value),...u.value},n.style],role:"progressbar","aria-hidden":n.active?"false":"true","aria-valuemin":"0","aria-valuemax":n.max,"aria-valuenow":n.indeterminate?void 0:j.value,onClick:n.clickable&&_},{default:()=>[n.stream&&e.createVNode("div",{key:"stream",class:["v-progress-linear__stream",a.value],style:{...s.value,[E.value?"left":"right"]:Y(-F.value),borderTop:`${Y(F.value/2)} dotted`,opacity:D.value,top:`calc(50% - ${Y(F.value/4)})`,width:Y(100-N.value,"%"),"--v-progress-linear-stream-to":Y(F.value*(E.value?1:-1))}},null),e.createVNode("div",{class:["v-progress-linear__background",v.value],style:[f.value,{opacity:D.value,width:Y(n.stream?N.value:100,"%")}]},null),e.createVNode(e.Transition,{name:z.value},{default:()=>[n.indeterminate?e.createVNode("div",{class:"v-progress-linear__indeterminate"},[["long","short"].map(V=>e.createVNode("div",{key:V,class:["v-progress-linear__indeterminate",V,p.value],style:d.value},null))]):e.createVNode("div",{class:["v-progress-linear__determinate",p.value],style:[d.value,{width:Y(j.value,"%")}]},null)]}),t.default&&e.createVNode("div",{class:"v-progress-linear__content"},[t.default({value:j.value,buffer:N.value})])]})),{}}}),Mt=U({loading:[Boolean,String]},"loader");function Qn(n){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ge();return{loaderClasses:e.computed(()=>({[`${o}--loading`]:n.loading}))}}function Wt(n,o){var l;let{slots:t}=o;return e.createVNode("div",{class:`${n.name}__loader`},[((l=t.default)==null?void 0:l.call(t,{color:n.color,isActive:n.active}))||e.createVNode(Wa,{active:n.active,color:n.color,height:"2",indeterminate:!0},null)])}const ja=["static","relative","fixed","absolute","sticky"],gl=U({position:{type:String,validator:n=>ja.includes(n)}},"position");function hl(n){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ge();return{positionClasses:e.computed(()=>n.position?`${o}--${n.position}`:void 0)}}function et(n,o){const t=e.resolveDynamicComponent("RouterLink"),l=e.computed(()=>!(!n.href&&!n.to)),r=e.computed(()=>(l==null?void 0:l.value)||eo(o,"click")||eo(n,"click"));if(typeof t=="string")return{isLink:l,isClickable:r,href:e.toRef(n,"href")};const i=n.to?t.useLink(n):void 0;return{isLink:l,isClickable:r,route:i==null?void 0:i.route,navigate:i==null?void 0:i.navigate,isActive:i&&e.computed(()=>{var c,u;return n.exact?(c=i.isExactActive)==null?void 0:c.value:(u=i.isActive)==null?void 0:u.value}),href:e.computed(()=>n.to?i==null?void 0:i.route.value.href:n.href)}}const nt=U({href:String,replace:Boolean,to:[String,Object],exact:Boolean},"router");let it=!1;const yt=Symbol("rippleStop"),Ua=80;function wo(n,o){n.style.transform=o,n.style.webkitTransform=o}function gt(n){return n.constructor.name==="TouchEvent"}function bl(n){return n.constructor.name==="KeyboardEvent"}const Gn={show(n,o){var d;let t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(!((d=o==null?void 0:o._ripple)!=null&&d.enabled))return;const l=document.createElement("span"),r=document.createElement("span");l.appendChild(r),l.className="v-ripple__container",t.class&&(l.className+=` ${t.class}`);const{radius:i,scale:c,x:u,y:a,centerX:s,centerY:v}=function(m,y){var D;let g=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},b=0,F=0;if(!bl(m)){const _=y.getBoundingClientRect(),V=gt(m)?m.touches[m.touches.length-1]:m;b=V.clientX-_.left,F=V.clientY-_.top}let N=0,j=.3;(D=y._ripple)!=null&&D.circle?(j=.15,N=y.clientWidth/2,N=g.center?N:N+Math.sqrt((b-N)**2+(F-N)**2)/4):N=Math.sqrt(y.clientWidth**2+y.clientHeight**2)/2;const E=(y.clientWidth-2*N)/2+"px",z=(y.clientHeight-2*N)/2+"px";return{radius:N,scale:j,x:g.center?E:b-N+"px",y:g.center?z:F-N+"px",centerX:E,centerY:z}}(n,o,t),f=2*i+"px";r.className="v-ripple__animation",r.style.width=f,r.style.height=f,o.appendChild(l);const p=window.getComputedStyle(o);p&&p.position==="static"&&(o.style.position="relative",o.dataset.previousPosition="static"),r.classList.add("v-ripple__animation--enter"),r.classList.add("v-ripple__animation--visible"),wo(r,`translate(${u}, ${a}) scale3d(${c},${c},${c})`),r.dataset.activated=String(performance.now()),setTimeout(()=>{r.classList.remove("v-ripple__animation--enter"),r.classList.add("v-ripple__animation--in"),wo(r,`translate(${s}, ${v}) scale3d(1,1,1)`)},0)},hide(n){var i;if(!((i=n==null?void 0:n._ripple)!=null&&i.enabled))return;const o=n.getElementsByClassName("v-ripple__animation");if(o.length===0)return;const t=o[o.length-1];if(t.dataset.isHiding)return;t.dataset.isHiding="true";const l=performance.now()-Number(t.dataset.activated),r=Math.max(250-l,0);setTimeout(()=>{t.classList.remove("v-ripple__animation--in"),t.classList.add("v-ripple__animation--out"),setTimeout(()=>{var c;n.getElementsByClassName("v-ripple__animation").length===1&&n.dataset.previousPosition&&(n.style.position=n.dataset.previousPosition,delete n.dataset.previousPosition),((c=t.parentNode)==null?void 0:c.parentNode)===n&&n.removeChild(t.parentNode)},300)},r)}};function Cl(n){return n===void 0||!!n}function pn(n){const o={},t=n.currentTarget;if(t!=null&&t._ripple&&!t._ripple.touched&&!n[yt]){if(n[yt]=!0,gt(n))t._ripple.touched=!0,t._ripple.isTouch=!0;else if(t._ripple.isTouch)return;if(o.center=t._ripple.centered||bl(n),t._ripple.class&&(o.class=t._ripple.class),gt(n)){if(t._ripple.showTimerCommit)return;t._ripple.showTimerCommit=()=>{Gn.show(n,t,o)},t._ripple.showTimer=window.setTimeout(()=>{var l;(l=t==null?void 0:t._ripple)!=null&&l.showTimerCommit&&(t._ripple.showTimerCommit(),t._ripple.showTimerCommit=null)},Ua)}else Gn.show(n,t,o)}}function ko(n){n[yt]=!0}function de(n){const o=n.currentTarget;if(o!=null&&o._ripple){if(window.clearTimeout(o._ripple.showTimer),n.type==="touchend"&&o._ripple.showTimerCommit)return o._ripple.showTimerCommit(),o._ripple.showTimerCommit=null,void(o._ripple.showTimer=window.setTimeout(()=>{de(n)}));window.setTimeout(()=>{o._ripple&&(o._ripple.touched=!1)}),Gn.hide(o)}}function Sl(n){const o=n.currentTarget;o!=null&&o._ripple&&(o._ripple.showTimerCommit&&(o._ripple.showTimerCommit=null),window.clearTimeout(o._ripple.showTimer))}let vn=!1;function Vl(n){vn||n.keyCode!==Kt.enter&&n.keyCode!==Kt.space||(vn=!0,pn(n))}function Il(n){vn=!1,de(n)}function Bl(n){vn&&(vn=!1,de(n))}function xo(n,o,t){const{value:l,modifiers:r}=o,i=Cl(l);if(i||Gn.hide(n),n._ripple=n._ripple??{},n._ripple.enabled=i,n._ripple.centered=r.center,n._ripple.circle=r.circle,pt(l)&&l.class&&(n._ripple.class=l.class),i&&!t){if(r.stop)return n.addEventListener("touchstart",ko,{passive:!0}),void n.addEventListener("mousedown",ko);n.addEventListener("touchstart",pn,{passive:!0}),n.addEventListener("touchend",de,{passive:!0}),n.addEventListener("touchmove",Sl,{passive:!0}),n.addEventListener("touchcancel",de),n.addEventListener("mousedown",pn),n.addEventListener("mouseup",de),n.addEventListener("mouseleave",de),n.addEventListener("keydown",Vl),n.addEventListener("keyup",Il),n.addEventListener("blur",Bl),n.addEventListener("dragstart",de,{passive:!0})}else!i&&t&&wl(n)}function wl(n){n.removeEventListener("mousedown",pn),n.removeEventListener("touchstart",pn),n.removeEventListener("touchend",de),n.removeEventListener("touchmove",Sl),n.removeEventListener("touchcancel",de),n.removeEventListener("mouseup",de),n.removeEventListener("mouseleave",de),n.removeEventListener("keydown",Vl),n.removeEventListener("keyup",Il),n.removeEventListener("dragstart",de),n.removeEventListener("blur",Bl)}const kn={mounted:function(n,o){xo(n,o,!1)},unmounted:function(n){delete n._ripple,wl(n)},updated:function(n,o){o.value!==o.oldValue&&xo(n,o,Cl(o.oldValue))}},Ga=U({active:{type:Boolean,default:void 0},symbol:{type:null,default:fl},flat:Boolean,icon:[Boolean,String,Function,Object],prependIcon:Q,appendIcon:Q,block:Boolean,slim:Boolean,stacked:Boolean,ripple:{type:[Boolean,Object],default:!0},text:String,...Qe(),...Z(),...he(),...Ee(),...nn(),...dl(),...Mt(),...Dt(),...gl(),...Ve(),...nt(),...Bn(),...pe({tag:"button"}),...le(),...xe({variant:"elevated"})},"VBtn"),ht=H()({name:"VBtn",directives:{Ripple:kn},props:Ga(),emits:{"group:selected":n=>!0},setup(n,o){let{attrs:t,slots:l}=o;const{themeClasses:r}=ie(n),{borderClasses:i}=en(n),{colorClasses:c,colorStyles:u,variantClasses:a}=In(n),{densityClasses:s}=Be(n),{dimensionStyles:v}=ze(n),{elevationClasses:f}=tn(n),{loaderClasses:p}=Qn(n),{locationStyles:d}=Lt(n),{positionClasses:m}=hl(n),{roundedClasses:y}=Ie(n),{sizeClasses:g,sizeStyles:b}=wn(n),F=pl(n,n.symbol,!1),N=et(n,t),j=e.computed(()=>{var V;return n.active!==void 0?n.active:N.isLink.value?(V=N.isActive)==null?void 0:V.value:F==null?void 0:F.isSelected.value}),E=e.computed(()=>(F==null?void 0:F.disabled.value)||n.disabled),z=e.computed(()=>n.variant==="elevated"&&!(n.disabled||n.flat||n.border)),D=e.computed(()=>{if(n.value!==void 0&&typeof n.value!="symbol")return Object(n.value)===n.value?JSON.stringify(n.value,null,0):n.value});function _(V){var A;E.value||N.isLink.value&&(V.metaKey||V.ctrlKey||V.shiftKey||V.button!==0||t.target==="_blank")||((A=N.navigate)==null||A.call(N,V),F==null||F.toggle())}return function(V,A){e.watch(()=>{var h;return(h=V.isActive)==null?void 0:h.value},h=>{V.isLink.value&&h&&A&&e.nextTick(()=>{A(!0)})},{immediate:!0})}(N,F==null?void 0:F.select),J(()=>{var L,M;const V=N.isLink.value?"a":n.tag,A=!(!n.prependIcon&&!l.prepend),h=!(!n.appendIcon&&!l.append),I=!(!n.icon||n.icon===!0),B=(F==null?void 0:F.isSelected.value)&&(!N.isLink.value||((L=N.isActive)==null?void 0:L.value))||!F||((M=N.isActive)==null?void 0:M.value);return e.withDirectives(e.createVNode(V,{type:V==="a"?void 0:"button",class:["v-btn",F==null?void 0:F.selectedClass.value,{"v-btn--active":j.value,"v-btn--block":n.block,"v-btn--disabled":E.value,"v-btn--elevated":z.value,"v-btn--flat":n.flat,"v-btn--icon":!!n.icon,"v-btn--loading":n.loading,"v-btn--slim":n.slim,"v-btn--stacked":n.stacked},r.value,i.value,B?c.value:void 0,s.value,f.value,p.value,m.value,y.value,g.value,a.value,n.class],style:[B?u.value:void 0,v.value,d.value,b.value,n.style],disabled:E.value||void 0,href:N.href.value,onClick:_,value:D.value},{default:()=>{var S;return[Vn(!0,"v-btn"),!n.icon&&A&&e.createVNode("span",{key:"prepend",class:"v-btn__prepend"},[l.prepend?e.createVNode(ae,{key:"prepend-defaults",disabled:!n.prependIcon,defaults:{VIcon:{icon:n.prependIcon}}},l.prepend):e.createVNode(ee,{key:"prepend-icon",icon:n.prependIcon},null)]),e.createVNode("span",{class:"v-btn__content","data-no-activator":""},[!l.default&&I?e.createVNode(ee,{key:"content-icon",icon:n.icon},null):e.createVNode(ae,{key:"content-defaults",disabled:!I,defaults:{VIcon:{icon:n.icon}}},{default:()=>{var w;return[((w=l.default)==null?void 0:w.call(l))??n.text]}})]),!n.icon&&h&&e.createVNode("span",{key:"append",class:"v-btn__append"},[l.append?e.createVNode(ae,{key:"append-defaults",disabled:!n.appendIcon,defaults:{VIcon:{icon:n.appendIcon}}},l.append):e.createVNode(ee,{key:"append-icon",icon:n.appendIcon},null)]),!!n.loading&&e.createVNode("span",{key:"loader",class:"v-btn__loader"},[((S=l.loader)==null?void 0:S.call(l))??e.createVNode(yl,{color:typeof n.loading=="boolean"?void 0:n.loading,indeterminate:!0,size:"23",width:"2"},null)])]}}),[[e.resolveDirective("ripple"),!E.value&&n.ripple,null]])}),{}}}),qa=U({text:String,clickable:Boolean,...Z(),...le()},"VLabel"),kl=H()({name:"VLabel",props:qa(),setup(n,o){let{slots:t}=o;return J(()=>{var l;return e.createVNode("label",{class:["v-label",{"v-label--clickable":n.clickable},n.class],style:n.style},[n.text,(l=t.default)==null?void 0:l.call(t)])}),{}}}),xl=Symbol.for("vuetify:selection-control-group"),Fl=U({color:String,disabled:{type:Boolean,default:null},defaultsTarget:String,error:Boolean,id:String,inline:Boolean,falseIcon:Q,trueIcon:Q,ripple:{type:Boolean,default:!0},multiple:{type:Boolean,default:null},name:String,readonly:Boolean,modelValue:null,type:String,valueComparator:{type:Function,default:gn},...Z(),...he(),...le()},"SelectionControlGroup"),Ha=U({...Fl({defaultsTarget:"VSelectionControl"})},"VSelectionControlGroup");H()({name:"VSelectionControlGroup",props:Ha(),emits:{"update:modelValue":n=>!0},setup(n,o){let{slots:t}=o;const l=ne(n,"modelValue"),r=fe(),i=e.computed(()=>n.id||`v-selection-control-group-${r}`),c=e.computed(()=>n.name||i.value),u=new Set;return e.provide(xl,{modelValue:l,forceUpdate:()=>{u.forEach(a=>a())},onForceUpdate:a=>{u.add(a),e.onScopeDispose(()=>{u.delete(a)})}}),Ze({[n.defaultsTarget]:{color:e.toRef(n,"color"),disabled:e.toRef(n,"disabled"),density:e.toRef(n,"density"),error:e.toRef(n,"error"),inline:e.toRef(n,"inline"),modelValue:l,multiple:e.computed(()=>!!n.multiple||n.multiple==null&&Array.isArray(l.value)),name:c,falseIcon:e.toRef(n,"falseIcon"),trueIcon:e.toRef(n,"trueIcon"),readonly:e.toRef(n,"readonly"),ripple:e.toRef(n,"ripple"),type:e.toRef(n,"type"),valueComparator:e.toRef(n,"valueComparator")}}),J(()=>{var a;return e.createVNode("div",{class:["v-selection-control-group",{"v-selection-control-group--inline":n.inline},n.class],style:n.style,role:n.type==="radio"?"radiogroup":void 0},[(a=t.default)==null?void 0:a.call(t)])}),{}}});const jt=U({label:String,baseColor:String,trueValue:null,falseValue:null,value:null,...Z(),...Fl()},"VSelectionControl"),qn=H()({name:"VSelectionControl",directives:{Ripple:kn},inheritAttrs:!1,props:jt(),emits:{"update:modelValue":n=>!0},setup(n,o){let{attrs:t,slots:l}=o;const{group:r,densityClasses:i,icon:c,model:u,textColorClasses:a,textColorStyles:s,backgroundColorClasses:v,backgroundColorStyles:f,trueValue:p}=function(E){const z=e.inject(xl,void 0),{densityClasses:D}=Be(E),_=ne(E,"modelValue"),V=e.computed(()=>E.trueValue!==void 0?E.trueValue:E.value===void 0||E.value),A=e.computed(()=>E.falseValue!==void 0&&E.falseValue),h=e.computed(()=>!!E.multiple||E.multiple==null&&Array.isArray(_.value)),I=e.computed({get(){const P=z?z.modelValue.value:_.value;return h.value?Ce(P).some($=>E.valueComparator($,V.value)):E.valueComparator(P,V.value)},set(P){if(E.readonly)return;const $=P?V.value:A.value;let R=$;h.value&&(R=P?[...Ce(_.value),$]:Ce(_.value).filter(x=>!E.valueComparator(x,V.value))),z?z.modelValue.value=R:_.value=R}}),{textColorClasses:B,textColorStyles:L}=Se(e.computed(()=>{if(!E.error&&!E.disabled)return I.value?E.color:E.baseColor})),{backgroundColorClasses:M,backgroundColorStyles:S}=Ke(e.computed(()=>!I.value||E.error||E.disabled?void 0:E.color)),w=e.computed(()=>I.value?E.trueIcon:E.falseIcon);return{group:z,densityClasses:D,trueValue:V,falseValue:A,model:I,textColorClasses:B,textColorStyles:L,backgroundColorClasses:M,backgroundColorStyles:S,icon:w}}(n),d=fe(),m=e.computed(()=>n.id||`input-${d}`),y=e.shallowRef(!1),g=e.shallowRef(!1),b=e.ref();function F(E){y.value=!0,Ln(E.target,":focus-visible")!==!1&&(g.value=!0)}function N(){y.value=!1,g.value=!1}function j(E){n.readonly&&r&&e.nextTick(()=>r.forceUpdate()),u.value=E.target.checked}return r==null||r.onForceUpdate(()=>{b.value&&(b.value.checked=u.value)}),J(()=>{var V,A;const E=l.label?l.label({label:n.label,props:{for:m.value}}):n.label,[z,D]=hn(t),_=e.createVNode("input",e.mergeProps({ref:b,checked:u.value,disabled:!(!n.readonly&&!n.disabled),id:m.value,onBlur:N,onFocus:F,onInput:j,"aria-disabled":!(!n.readonly&&!n.disabled),type:n.type,value:p.value,name:n.name,"aria-checked":n.type==="checkbox"?u.value:void 0},D),null);return e.createVNode("div",e.mergeProps({class:["v-selection-control",{"v-selection-control--dirty":u.value,"v-selection-control--disabled":n.disabled,"v-selection-control--error":n.error,"v-selection-control--focused":y.value,"v-selection-control--focus-visible":g.value,"v-selection-control--inline":n.inline},i.value,n.class]},z,{style:n.style}),[e.createVNode("div",{class:["v-selection-control__wrapper",a.value],style:s.value},[(V=l.default)==null?void 0:V.call(l,{backgroundColorClasses:v,backgroundColorStyles:f}),e.withDirectives(e.createVNode("div",{class:["v-selection-control__input"]},[((A=l.input)==null?void 0:A.call(l,{model:u,textColorClasses:a,textColorStyles:s,backgroundColorClasses:v,backgroundColorStyles:f,inputNode:_,icon:c.value,props:{onFocus:F,onBlur:N,id:m.value}}))??e.createVNode(e.Fragment,null,[c.value&&e.createVNode(ee,{key:"icon",icon:c.value},null),_])]),[[e.resolveDirective("ripple"),n.ripple&&[!n.disabled&&!n.readonly,null,["center","circle"]]]])]),E&&e.createVNode(kl,{for:m.value,clickable:!0,onClick:h=>h.stopPropagation()},{default:()=>[E]})])}),{isFocused:y,input:b}}}),Nl=U({indeterminate:Boolean,indeterminateIcon:{type:Q,default:"$checkboxIndeterminate"},...jt({falseIcon:"$checkboxOff",trueIcon:"$checkboxOn"})},"VCheckboxBtn"),bt=H()({name:"VCheckboxBtn",props:Nl(),emits:{"update:modelValue":n=>!0,"update:indeterminate":n=>!0},setup(n,o){let{slots:t}=o;const l=ne(n,"indeterminate"),r=ne(n,"modelValue");function i(a){l.value&&(l.value=!1)}const c=e.computed(()=>l.value?n.indeterminateIcon:n.falseIcon),u=e.computed(()=>l.value?n.indeterminateIcon:n.trueIcon);return J(()=>{const a=Oe(qn.filterProps(n),["modelValue"]);return e.createVNode(qn,e.mergeProps(a,{modelValue:r.value,"onUpdate:modelValue":[s=>r.value=s,i],class:["v-checkbox-btn",n.class],style:n.style,type:"checkbox",falseIcon:c.value,trueIcon:u.value,"aria-checked":l.value?"mixed":void 0}),t)}),{}}});function Al(n){const{t:o}=Tt();return{InputIcon:function(t){let{name:l}=t;const r={prepend:"prependAction",prependInner:"prependAction",append:"appendAction",appendInner:"appendAction",clear:"clear"}[l],i=n[`onClick:${l}`],c=i&&r?o(`$vuetify.input.${r}`,n.label??""):void 0;return e.createVNode(ee,{icon:n[`${l}Icon`],"aria-label":c,onClick:i},null)}}}const Ya=U({active:Boolean,color:String,messages:{type:[Array,String],default:()=>[]},...Z(),...Sn({transition:{component:al,leaveAbsolute:!0,group:!0}})},"VMessages"),Xa=H()({name:"VMessages",props:Ya(),setup(n,o){let{slots:t}=o;const l=e.computed(()=>Ce(n.messages)),{textColorClasses:r,textColorStyles:i}=Se(e.computed(()=>n.color));return J(()=>e.createVNode(we,{transition:n.transition,tag:"div",class:["v-messages",r.value,n.class],style:[i.value,n.style],role:"alert","aria-live":"polite"},{default:()=>[n.active&&l.value.map((c,u)=>e.createVNode("div",{class:"v-messages__message",key:`${u}-${l.value}`},[t.message?t.message({message:c}):c]))]})),{}}}),Pl=U({focused:Boolean,"onUpdate:focused":ye()},"focus");function xn(n){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ge();const t=ne(n,"focused");return{focusClasses:e.computed(()=>({[`${o}--focused`]:t.value})),isFocused:t,focus:function(){t.value=!0},blur:function(){t.value=!1}}}const Ka=Symbol.for("vuetify:form");function _l(){return e.inject(Ka,null)}const Ja=U({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,...Pl()},"validation"),Fn=U({id:String,appendIcon:Q,centerAffix:{type:Boolean,default:!0},prependIcon:Q,hideDetails:[Boolean,String],hideSpinButtons:Boolean,hint:String,persistentHint:Boolean,messages:{type:[Array,String],default:()=>[]},direction:{type:String,default:"horizontal",validator:n=>["horizontal","vertical"].includes(n)},"onClick:prepend":ye(),"onClick:append":ye(),...Z(),...he(),...Ja()},"VInput"),ke=H()({name:"VInput",props:{...Fn()},emits:{"update:modelValue":n=>!0},setup(n,o){let{attrs:t,slots:l,emit:r}=o;const{densityClasses:i}=Be(n),{rtlClasses:c}=Cn(),{InputIcon:u}=Al(n),a=fe(),s=e.computed(()=>n.id||`input-${a}`),v=e.computed(()=>`${s.value}-messages`),{errorMessages:f,isDirty:p,isDisabled:d,isReadonly:m,isPristine:y,isValid:g,isValidating:b,reset:F,resetValidation:N,validate:j,validationClasses:E}=function(_){let V=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ge(),A=arguments.length>2&&arguments[2]!==void 0?arguments[2]:fe();const h=ne(_,"modelValue"),I=e.computed(()=>_.validationValue===void 0?h.value:_.validationValue),B=_l(),L=e.ref([]),M=e.shallowRef(!0),S=e.computed(()=>!(!Ce(h.value===""?null:h.value).length&&!Ce(I.value===""?null:I.value).length)),w=e.computed(()=>!!(_.disabled??(B==null?void 0:B.isDisabled.value))),P=e.computed(()=>!!(_.readonly??(B==null?void 0:B.isReadonly.value))),$=e.computed(()=>{var q;return(q=_.errorMessages)!=null&&q.length?Ce(_.errorMessages).concat(L.value).slice(0,Math.max(0,+_.maxErrors)):L.value}),R=e.computed(()=>{let q=(_.validateOn??(B==null?void 0:B.validateOn.value))||"input";q==="lazy"&&(q="input lazy");const K=new Set((q==null?void 0:q.split(" "))??[]);return{blur:K.has("blur")||K.has("input"),input:K.has("input"),submit:K.has("submit"),lazy:K.has("lazy")}}),x=e.computed(()=>{var q;return!_.error&&!((q=_.errorMessages)!=null&&q.length)&&(!_.rules.length||(M.value?!L.value.length&&!R.value.lazy||null:!L.value.length))}),T=e.shallowRef(!1),G=e.computed(()=>({[`${V}--error`]:x.value===!1,[`${V}--dirty`]:S.value,[`${V}--disabled`]:w.value,[`${V}--readonly`]:P.value})),C=e.computed(()=>_.name??e.unref(A));function k(){h.value=null,e.nextTick(O)}function O(){M.value=!0,R.value.lazy?L.value=[]:W(!0)}async function W(){let q=arguments.length>0&&arguments[0]!==void 0&&arguments[0];const K=[];T.value=!0;for(const te of _.rules){if(K.length>=+(_.maxErrors??1))break;const re=typeof te=="function"?te:()=>te,se=await re(I.value);se!==!0&&(se===!1||typeof se=="string"?K.push(se||""):console.warn(`${se} is not a valid value. Rule functions must return boolean true or a string.`))}return L.value=K,T.value=!1,M.value=q,L.value}return e.onBeforeMount(()=>{B==null||B.register({id:C.value,validate:W,reset:k,resetValidation:O})}),e.onBeforeUnmount(()=>{B==null||B.unregister(C.value)}),e.onMounted(async()=>{R.value.lazy||await W(!0),B==null||B.update(C.value,x.value,$.value)}),Ae(()=>R.value.input,()=>{e.watch(I,()=>{if(I.value!=null)W();else if(_.focused){const q=e.watch(()=>_.focused,K=>{K||W(),q()})}})}),Ae(()=>R.value.blur,()=>{e.watch(()=>_.focused,q=>{q||W()})}),e.watch(x,()=>{B==null||B.update(C.value,x.value,$.value)}),{errorMessages:$,isDirty:S,isDisabled:w,isReadonly:P,isPristine:M,isValid:x,isValidating:T,reset:k,resetValidation:O,validate:W,validationClasses:G}}(n,"v-input",s),z=e.computed(()=>({id:s,messagesId:v,isDirty:p,isDisabled:d,isReadonly:m,isPristine:y,isValid:g,isValidating:b,reset:F,resetValidation:N,validate:j})),D=e.computed(()=>{var _;return(_=n.errorMessages)!=null&&_.length||!y.value&&f.value.length?f.value:n.hint&&(n.persistentHint||n.focused)?n.hint:n.messages});return J(()=>{var I,B,L,M;const _=!(!l.prepend&&!n.prependIcon),V=!(!l.append&&!n.appendIcon),A=D.value.length>0,h=!n.hideDetails||n.hideDetails==="auto"&&(A||!!l.details);return e.createVNode("div",{class:["v-input",`v-input--${n.direction}`,{"v-input--center-affix":n.centerAffix,"v-input--hide-spin-buttons":n.hideSpinButtons},i.value,c.value,E.value,n.class],style:n.style},[_&&e.createVNode("div",{key:"prepend",class:"v-input__prepend"},[(I=l.prepend)==null?void 0:I.call(l,z.value),n.prependIcon&&e.createVNode(u,{key:"prepend-icon",name:"prepend"},null)]),l.default&&e.createVNode("div",{class:"v-input__control"},[(B=l.default)==null?void 0:B.call(l,z.value)]),V&&e.createVNode("div",{key:"append",class:"v-input__append"},[n.appendIcon&&e.createVNode(u,{key:"append-icon",name:"append"},null),(L=l.append)==null?void 0:L.call(l,z.value)]),h&&e.createVNode("div",{class:"v-input__details"},[e.createVNode(Xa,{id:v.value,active:A,messages:D.value},{message:l.message}),(M=l.details)==null?void 0:M.call(l,z.value)])])}),{reset:F,resetValidation:N,validate:j,isValid:g,errorMessages:f}}}),Za=U({...Fn(),...Oe(Nl(),["inline"])},"VCheckbox"),Qa=H()({name:"VCheckbox",inheritAttrs:!1,props:Za(),emits:{"update:modelValue":n=>!0,"update:focused":n=>!0},setup(n,o){let{attrs:t,slots:l}=o;const r=ne(n,"modelValue"),{isFocused:i,focus:c,blur:u}=xn(n),a=fe(),s=e.computed(()=>n.id||`checkbox-${a}`);return J(()=>{const[v,f]=hn(t),p=ke.filterProps(n),d=bt.filterProps(n);return e.createVNode(ke,e.mergeProps({class:["v-checkbox",n.class]},v,p,{modelValue:r.value,"onUpdate:modelValue":m=>r.value=m,id:s.value,focused:i.value,style:n.style}),{...l,default:m=>{let{id:y,messagesId:g,isDisabled:b,isReadonly:F}=m;return e.createVNode(bt,e.mergeProps(d,{id:y.value,"aria-describedby":g.value,disabled:b.value,readonly:F.value},f,{modelValue:r.value,"onUpdate:modelValue":N=>r.value=N,onFocus:c,onBlur:u}),l)}})}),{}}}),er=U({start:Boolean,end:Boolean,icon:Q,image:String,text:String,...Z(),...he(),...Ve(),...Bn(),...pe(),...le(),...xe({variant:"flat"})},"VAvatar"),Je=H()({name:"VAvatar",props:er(),setup(n,o){let{slots:t}=o;const{themeClasses:l}=ie(n),{colorClasses:r,colorStyles:i,variantClasses:c}=In(n),{densityClasses:u}=Be(n),{roundedClasses:a}=Ie(n),{sizeClasses:s,sizeStyles:v}=wn(n);return J(()=>e.createVNode(n.tag,{class:["v-avatar",{"v-avatar--start":n.start,"v-avatar--end":n.end},l.value,r.value,u.value,a.value,s.value,c.value,n.class],style:[i.value,v.value,n.style]},{default:()=>{var f;return[n.image?e.createVNode(sl,{key:"image",src:n.image,alt:"",cover:!0},null):n.icon?e.createVNode(ee,{key:"icon",icon:n.icon},null):((f=t.default)==null?void 0:f.call(t))??n.text,Vn(!1,"v-avatar")]}})),{}}}),Ol=Symbol.for("vuetify:v-chip-group"),nr=U({column:Boolean,filter:Boolean,valueComparator:{type:Function,default:gn},...Z(),...cl({selectedClass:"v-chip--selected"}),...pe(),...le(),...xe({variant:"tonal"})},"VChipGroup");H()({name:"VChipGroup",props:nr(),emits:{"update:modelValue":n=>!0},setup(n,o){let{slots:t}=o;const{themeClasses:l}=ie(n),{isSelected:r,select:i,next:c,prev:u,selected:a}=vl(n,Ol);return Ze({VChip:{color:e.toRef(n,"color"),disabled:e.toRef(n,"disabled"),filter:e.toRef(n,"filter"),variant:e.toRef(n,"variant")}}),J(()=>e.createVNode(n.tag,{class:["v-chip-group",{"v-chip-group--column":n.column},l.value,n.class],style:n.style},{default:()=>{var s;return[(s=t.default)==null?void 0:s.call(t,{isSelected:r,select:i,next:c,prev:u,selected:a.value})]}})),{}}});const tr=U({activeClass:String,appendAvatar:String,appendIcon:Q,closable:Boolean,closeIcon:{type:Q,default:"$delete"},closeLabel:{type:String,default:"$vuetify.close"},draggable:Boolean,filter:Boolean,filterIcon:{type:String,default:"$complete"},label:Boolean,link:{type:Boolean,default:void 0},pill:Boolean,prependAvatar:String,prependIcon:Q,ripple:{type:[Boolean,Object],default:!0},text:String,modelValue:{type:Boolean,default:!0},onClick:ye(),onClickOnce:ye(),...Qe(),...Z(),...he(),...nn(),...dl(),...Ve(),...nt(),...Bn(),...pe({tag:"span"}),...le(),...xe({variant:"tonal"})},"VChip"),or=H()({name:"VChip",directives:{Ripple:kn},props:tr(),emits:{"click:close":n=>!0,"update:modelValue":n=>!0,"group:selected":n=>!0,click:n=>!0},setup(n,o){let{attrs:t,emit:l,slots:r}=o;const{t:i}=Tt(),{borderClasses:c}=en(n),{colorClasses:u,colorStyles:a,variantClasses:s}=In(n),{densityClasses:v}=Be(n),{elevationClasses:f}=tn(n),{roundedClasses:p}=Ie(n),{sizeClasses:d}=wn(n),{themeClasses:m}=ie(n),y=ne(n,"modelValue"),g=pl(n,Ol,!1),b=et(n,t),F=e.computed(()=>n.link!==!1&&b.isLink.value),N=e.computed(()=>!n.disabled&&n.link!==!1&&(!!g||n.link||b.isClickable.value)),j=e.computed(()=>({"aria-label":i(n.closeLabel),onClick(D){D.stopPropagation(),y.value=!1,l("click:close",D)}}));function E(D){var _;l("click",D),N.value&&((_=b.navigate)==null||_.call(b,D),g==null||g.toggle())}function z(D){D.key!=="Enter"&&D.key!==" "||(D.preventDefault(),E(D))}return()=>{const D=b.isLink.value?"a":n.tag,_=!(!n.appendIcon&&!n.appendAvatar),V=!(!_&&!r.append),A=!(!r.close&&!n.closable),h=!(!r.filter&&!n.filter)&&g,I=!(!n.prependIcon&&!n.prependAvatar),B=!(!I&&!r.prepend),L=!g||g.isSelected.value;return y.value&&e.withDirectives(e.createVNode(D,{class:["v-chip",{"v-chip--disabled":n.disabled,"v-chip--label":n.label,"v-chip--link":N.value,"v-chip--filter":h,"v-chip--pill":n.pill},m.value,c.value,L?u.value:void 0,v.value,f.value,p.value,d.value,s.value,g==null?void 0:g.selectedClass.value,n.class],style:[L?a.value:void 0,n.style],disabled:n.disabled||void 0,draggable:n.draggable,href:b.href.value,tabindex:N.value?0:void 0,onClick:E,onKeydown:N.value&&!F.value&&z},{default:()=>{var M;return[Vn(N.value,"v-chip"),h&&e.createVNode(rl,{key:"filter"},{default:()=>[e.withDirectives(e.createVNode("div",{class:"v-chip__filter"},[r.filter?e.createVNode(ae,{key:"filter-defaults",disabled:!n.filterIcon,defaults:{VIcon:{icon:n.filterIcon}}},r.filter):e.createVNode(ee,{key:"filter-icon",icon:n.filterIcon},null)]),[[e.vShow,g.isSelected.value]])]}),B&&e.createVNode("div",{key:"prepend",class:"v-chip__prepend"},[r.prepend?e.createVNode(ae,{key:"prepend-defaults",disabled:!I,defaults:{VAvatar:{image:n.prependAvatar,start:!0},VIcon:{icon:n.prependIcon,start:!0}}},r.prepend):e.createVNode(e.Fragment,null,[n.prependIcon&&e.createVNode(ee,{key:"prepend-icon",icon:n.prependIcon,start:!0},null),n.prependAvatar&&e.createVNode(Je,{key:"prepend-avatar",image:n.prependAvatar,start:!0},null)])]),e.createVNode("div",{class:"v-chip__content"},[((M=r.default)==null?void 0:M.call(r,{isSelected:g==null?void 0:g.isSelected.value,selectedClass:g==null?void 0:g.selectedClass.value,select:g==null?void 0:g.select,toggle:g==null?void 0:g.toggle,value:g==null?void 0:g.value.value,disabled:n.disabled}))??n.text]),V&&e.createVNode("div",{key:"append",class:"v-chip__append"},[r.append?e.createVNode(ae,{key:"append-defaults",disabled:!_,defaults:{VAvatar:{end:!0,image:n.appendAvatar},VIcon:{end:!0,icon:n.appendIcon}}},r.append):e.createVNode(e.Fragment,null,[n.appendIcon&&e.createVNode(ee,{key:"append-icon",end:!0,icon:n.appendIcon},null),n.appendAvatar&&e.createVNode(Je,{key:"append-avatar",end:!0,image:n.appendAvatar},null)])]),A&&e.createVNode("div",e.mergeProps({key:"close",class:"v-chip__close"},j.value),[r.close?e.createVNode(ae,{key:"close-defaults",defaults:{VIcon:{icon:n.closeIcon,size:"x-small"}}},r.close):e.createVNode(ee,{key:"close-icon",icon:n.closeIcon,size:"x-small"},null)])]}}),[[e.resolveDirective("ripple"),N.value&&n.ripple,null]])}}}),Ct=Symbol.for("vuetify:list");function El(){const n=e.inject(Ct,{hasPrepend:e.shallowRef(!1),updateHasPrepend:()=>null}),o={hasPrepend:e.shallowRef(!1),updateHasPrepend:t=>{t&&(o.hasPrepend.value=t)}};return e.provide(Ct,o),n}function zl(){return e.inject(Ct,null)}const lr={open:n=>{let{id:o,value:t,opened:l,parents:r}=n;if(t){const i=new Set;i.add(o);let c=r.get(o);for(;c!=null;)i.add(c),c=r.get(c);return i}return l.delete(o),l},select:()=>null},Tl={open:n=>{let{id:o,value:t,opened:l,parents:r}=n;if(t){let i=r.get(o);for(l.add(o);i!=null&&i!==o;)l.add(i),i=r.get(i);return l}return l.delete(o),l},select:()=>null},ar={open:Tl.open,select:n=>{let{id:o,value:t,opened:l,parents:r}=n;if(!t)return l;const i=[];let c=r.get(o);for(;c!=null;)i.push(c),c=r.get(c);return new Set(i)}},St=n=>{const o={select:t=>{let{id:l,value:r,selected:i}=t;if(l=e.toRaw(l),n&&!r){const c=Array.from(i.entries()).reduce((u,a)=>{let[s,v]=a;return v==="on"?[...u,s]:u},[]);if(c.length===1&&c[0]===l)return i}return i.set(l,r?"on":"off"),i},in:(t,l,r)=>{let i=new Map;for(const c of t||[])i=o.select({id:c,value:!0,selected:new Map(i),children:l,parents:r});return i},out:t=>{const l=[];for(const[r,i]of t.entries())i==="on"&&l.push(r);return l}};return o},Fo=n=>{const o=St(n);return{select:t=>{let{selected:l,id:r,...i}=t;r=e.toRaw(r);const c=l.has(r)?new Map([[r,l.get(r)]]):new Map;return o.select({...i,id:r,selected:c})},in:(t,l,r)=>{let i=new Map;return t!=null&&t.length&&(i=o.in(t.slice(0,1),l,r)),i},out:(t,l,r)=>o.out(t,l,r)}},fn=Symbol.for("vuetify:nested"),$l={id:e.shallowRef(),root:{register:()=>null,unregister:()=>null,parents:e.ref(new Map),children:e.ref(new Map),open:()=>null,openOnSelect:()=>null,select:()=>null,opened:e.ref(new Set),selected:e.ref(new Map),selectedValues:e.ref([])}},rr=U({selectStrategy:[String,Function],openStrategy:[String,Object],opened:Array,selected:Array,mandatory:Boolean},"nested"),ir=n=>{let o=!1;const t=e.ref(new Map),l=e.ref(new Map),r=ne(n,"opened",n.opened,f=>new Set(f),f=>[...f.values()]),i=e.computed(()=>{if(typeof n.selectStrategy=="object")return n.selectStrategy;switch(n.selectStrategy){case"single-leaf":return(f=>{const p=Fo(f);return{select:d=>{let{id:m,selected:y,children:g,...b}=d;return m=e.toRaw(m),g.has(m)?y:p.select({id:m,selected:y,children:g,...b})},in:p.in,out:p.out}})(n.mandatory);case"leaf":return(f=>{const p=St(f);return{select:d=>{let{id:m,selected:y,children:g,...b}=d;return m=e.toRaw(m),g.has(m)?y:p.select({id:m,selected:y,children:g,...b})},in:p.in,out:p.out}})(n.mandatory);case"independent":return St(n.mandatory);case"single-independent":return Fo(n.mandatory);default:return(f=>{const p={select:d=>{let{id:m,value:y,selected:g,children:b,parents:F}=d;m=e.toRaw(m);const N=new Map(g),j=[m];for(;j.length;){const z=j.shift();g.set(z,y?"on":"off"),b.has(z)&&j.push(...b.get(z))}let E=F.get(m);for(;E;){const z=b.get(E),D=z.every(V=>g.get(V)==="on"),_=z.every(V=>!g.has(V)||g.get(V)==="off");g.set(E,D?"on":_?"off":"indeterminate"),E=F.get(E)}return f&&!y&&Array.from(g.entries()).reduce((D,_)=>{let[V,A]=_;return A==="on"?[...D,V]:D},[]).length===0?N:g},in:(d,m,y)=>{let g=new Map;for(const b of d||[])g=p.select({id:b,value:!0,selected:new Map(g),children:m,parents:y});return g},out:(d,m)=>{const y=[];for(const[g,b]of d.entries())b!=="on"||m.has(g)||y.push(g);return y}};return p})(n.mandatory)}}),c=e.computed(()=>{if(typeof n.openStrategy=="object")return n.openStrategy;switch(n.openStrategy){case"list":return ar;case"single":return lr;default:return Tl}}),u=ne(n,"selected",n.selected,f=>i.value.in(f,t.value,l.value),f=>i.value.out(f,t.value,l.value));function a(f){const p=[];let d=f;for(;d!=null;)p.unshift(d),d=l.value.get(d);return p}e.onBeforeUnmount(()=>{o=!0});const s=oe("nested"),v={id:e.shallowRef(),root:{opened:r,selected:u,selectedValues:e.computed(()=>{const f=[];for(const[p,d]of u.value.entries())d==="on"&&f.push(p);return f}),register:(f,p,d)=>{p&&f!==p&&l.value.set(f,p),d&&t.value.set(f,[]),p!=null&&t.value.set(p,[...t.value.get(p)||[],f])},unregister:f=>{if(o)return;t.value.delete(f);const p=l.value.get(f);if(p){const d=t.value.get(p)??[];t.value.set(p,d.filter(m=>m!==f))}l.value.delete(f),r.value.delete(f)},open:(f,p,d)=>{s.emit("click:open",{id:f,value:p,path:a(f),event:d});const m=c.value.open({id:f,value:p,opened:new Set(r.value),children:t.value,parents:l.value,event:d});m&&(r.value=m)},openOnSelect:(f,p,d)=>{const m=c.value.select({id:f,value:p,selected:new Map(u.value),opened:new Set(r.value),children:t.value,parents:l.value,event:d});m&&(r.value=m)},select:(f,p,d)=>{s.emit("click:select",{id:f,value:p,path:a(f),event:d});const m=i.value.select({id:f,value:p,selected:new Map(u.value),children:t.value,parents:l.value,event:d});m&&(u.value=m),v.root.openOnSelect(f,p,d)},children:t,parents:l}};return e.provide(fn,v),v.root},Rl=(n,o)=>{const t=e.inject(fn,$l),l=Symbol(fe()),r=e.computed(()=>n.value!==void 0?n.value:l),i={...t,id:r,open:(c,u)=>t.root.open(r.value,c,u),openOnSelect:(c,u)=>t.root.openOnSelect(r.value,c,u),isOpen:e.computed(()=>t.root.opened.value.has(r.value)),parent:e.computed(()=>t.root.parents.value.get(r.value)),select:(c,u)=>t.root.select(r.value,c,u),isSelected:e.computed(()=>t.root.selected.value.get(e.toRaw(r.value))==="on"),isIndeterminate:e.computed(()=>t.root.selected.value.get(r.value)==="indeterminate"),isLeaf:e.computed(()=>!t.root.children.value.get(r.value)),isGroupActivator:t.isGroupActivator};return!t.isGroupActivator&&t.root.register(r.value,t.id.value,o),e.onBeforeUnmount(()=>{!t.isGroupActivator&&t.root.unregister(r.value)}),o&&e.provide(fn,i),i},sr=dn({name:"VListGroupActivator",setup(n,o){let{slots:t}=o;return(()=>{const l=e.inject(fn,$l);e.provide(fn,{...l,isGroupActivator:!0})})(),()=>{var l;return(l=t.default)==null?void 0:l.call(t)}}}),ur=U({activeColor:String,baseColor:String,color:String,collapseIcon:{type:Q,default:"$collapse"},expandIcon:{type:Q,default:"$expand"},prependIcon:Q,appendIcon:Q,fluid:Boolean,subgroup:Boolean,title:String,value:null,...Z(),...pe()},"VListGroup"),No=H()({name:"VListGroup",props:ur(),setup(n,o){let{slots:t}=o;const{isOpen:l,open:r,id:i}=Rl(e.toRef(n,"value"),!0),c=e.computed(()=>`v-list-group--id-${String(i.value)}`),u=zl(),{isBooted:a}=function(){const d=e.shallowRef(!1);return e.onMounted(()=>{window.requestAnimationFrame(()=>{d.value=!0})}),{ssrBootStyles:e.computed(()=>d.value?void 0:{transition:"none !important"}),isBooted:e.readonly(d)}}();function s(d){r(!l.value,d)}const v=e.computed(()=>({onClick:s,class:"v-list-group__header",id:c.value})),f=e.computed(()=>l.value?n.collapseIcon:n.expandIcon),p=e.computed(()=>({VListItem:{active:l.value,activeColor:n.activeColor,baseColor:n.baseColor,color:n.color,prependIcon:n.prependIcon||n.subgroup&&f.value,appendIcon:n.appendIcon||!n.subgroup&&f.value,title:n.title,value:n.value}}));return J(()=>e.createVNode(n.tag,{class:["v-list-group",{"v-list-group--prepend":u==null?void 0:u.hasPrepend.value,"v-list-group--fluid":n.fluid,"v-list-group--subgroup":n.subgroup,"v-list-group--open":l.value},n.class],style:n.style},{default:()=>[t.activator&&e.createVNode(ae,{defaults:p.value},{default:()=>[e.createVNode(sr,null,{default:()=>[t.activator({props:v.value,isOpen:l.value})]})]}),e.createVNode(we,{transition:{component:Aa},disabled:!a.value},{default:()=>{var d;return[e.withDirectives(e.createVNode("div",{class:"v-list-group__items",role:"group","aria-labelledby":c.value},[(d=t.default)==null?void 0:d.call(t)]),[[e.vShow,l.value]])]}})]})),{}}}),cr=bn("v-list-item-subtitle"),dr=bn("v-list-item-title"),pr=U({active:{type:Boolean,default:void 0},activeClass:String,activeColor:String,appendAvatar:String,appendIcon:Q,baseColor:String,disabled:Boolean,lines:String,link:{type:Boolean,default:void 0},nav:Boolean,prependAvatar:String,prependIcon:Q,ripple:{type:[Boolean,Object],default:!0},slim:Boolean,subtitle:[String,Number,Boolean],title:[String,Number,Boolean],value:null,onClick:ye(),onClickOnce:ye(),...Qe(),...Z(),...he(),...Ee(),...nn(),...Ve(),...nt(),...pe(),...le(),...xe({variant:"text"})},"VListItem"),Hn=H()({name:"VListItem",directives:{Ripple:kn},props:pr(),emits:{click:n=>!0},setup(n,o){let{attrs:t,slots:l,emit:r}=o;const i=et(n,t),c=e.computed(()=>n.value===void 0?i.href.value:n.value),{select:u,isSelected:a,isIndeterminate:s,isGroupActivator:v,root:f,parent:p,openOnSelect:d}=Rl(c,!1),m=zl(),y=e.computed(()=>{var P;return n.active!==!1&&(n.active||((P=i.isActive)==null?void 0:P.value)||a.value)}),g=e.computed(()=>n.link!==!1&&i.isLink.value),b=e.computed(()=>!n.disabled&&n.link!==!1&&(n.link||i.isClickable.value||n.value!=null&&!!m)),F=e.computed(()=>n.rounded||n.nav),N=e.computed(()=>n.color??n.activeColor),j=e.computed(()=>({color:y.value?N.value??n.baseColor:n.baseColor,variant:n.variant}));e.watch(()=>{var P;return(P=i.isActive)==null?void 0:P.value},P=>{P&&p.value!=null&&f.open(p.value,!0),P&&d(P)},{immediate:!0});const{themeClasses:E}=ie(n),{borderClasses:z}=en(n),{colorClasses:D,colorStyles:_,variantClasses:V}=In(j),{densityClasses:A}=Be(n),{dimensionStyles:h}=ze(n),{elevationClasses:I}=tn(n),{roundedClasses:B}=Ie(F),L=e.computed(()=>n.lines?`v-list-item--${n.lines}-line`:void 0),M=e.computed(()=>({isActive:y.value,select:u,isSelected:a.value,isIndeterminate:s.value}));function S(P){var $;r("click",P),!v&&b.value&&(($=i.navigate)==null||$.call(i,P),n.value!=null&&u(!a.value,P))}function w(P){P.key!=="Enter"&&P.key!==" "||(P.preventDefault(),S(P))}return J(()=>{const P=g.value?"a":n.tag,$=l.title||n.title,R=l.subtitle||n.subtitle,x=!(!n.appendAvatar&&!n.appendIcon),T=!(!x&&!l.append),G=!(!n.prependAvatar&&!n.prependIcon),C=!(!G&&!l.prepend);var k,O;return m==null||m.updateHasPrepend(C),n.activeColor&&(k="active-color",O=["color","base-color"],O=Array.isArray(O)?O.slice(0,-1).map(W=>`'${W}'`).join(", ")+` or '${O.at(-1)}'`:`'${O}'`,e.warn(`[Vuetify UPGRADE] '${k}' is deprecated, use ${O} instead.`)),e.withDirectives(e.createVNode(P,{class:["v-list-item",{"v-list-item--active":y.value,"v-list-item--disabled":n.disabled,"v-list-item--link":b.value,"v-list-item--nav":n.nav,"v-list-item--prepend":!C&&(m==null?void 0:m.hasPrepend.value),"v-list-item--slim":n.slim,[`${n.activeClass}`]:n.activeClass&&y.value},E.value,z.value,D.value,A.value,I.value,L.value,B.value,V.value,n.class],style:[_.value,h.value,n.style],href:i.href.value,tabindex:b.value?m?-2:0:void 0,onClick:S,onKeydown:b.value&&!g.value&&w},{default:()=>{var W;return[Vn(b.value||y.value,"v-list-item"),C&&e.createVNode("div",{key:"prepend",class:"v-list-item__prepend"},[l.prepend?e.createVNode(ae,{key:"prepend-defaults",disabled:!G,defaults:{VAvatar:{density:n.density,image:n.prependAvatar},VIcon:{density:n.density,icon:n.prependIcon},VListItemAction:{start:!0}}},{default:()=>{var q;return[(q=l.prepend)==null?void 0:q.call(l,M.value)]}}):e.createVNode(e.Fragment,null,[n.prependAvatar&&e.createVNode(Je,{key:"prepend-avatar",density:n.density,image:n.prependAvatar},null),n.prependIcon&&e.createVNode(ee,{key:"prepend-icon",density:n.density,icon:n.prependIcon},null)]),e.createVNode("div",{class:"v-list-item__spacer"},null)]),e.createVNode("div",{class:"v-list-item__content","data-no-activator":""},[$&&e.createVNode(dr,{key:"title"},{default:()=>{var q;return[((q=l.title)==null?void 0:q.call(l,{title:n.title}))??n.title]}}),R&&e.createVNode(cr,{key:"subtitle"},{default:()=>{var q;return[((q=l.subtitle)==null?void 0:q.call(l,{subtitle:n.subtitle}))??n.subtitle]}}),(W=l.default)==null?void 0:W.call(l,M.value)]),T&&e.createVNode("div",{key:"append",class:"v-list-item__append"},[l.append?e.createVNode(ae,{key:"append-defaults",disabled:!x,defaults:{VAvatar:{density:n.density,image:n.appendAvatar},VIcon:{density:n.density,icon:n.appendIcon},VListItemAction:{end:!0}}},{default:()=>{var q;return[(q=l.append)==null?void 0:q.call(l,M.value)]}}):e.createVNode(e.Fragment,null,[n.appendIcon&&e.createVNode(ee,{key:"append-icon",density:n.density,icon:n.appendIcon},null),n.appendAvatar&&e.createVNode(Je,{key:"append-avatar",density:n.density,image:n.appendAvatar},null)]),e.createVNode("div",{class:"v-list-item__spacer"},null)])]}}),[[e.resolveDirective("ripple"),b.value&&n.ripple]])}),{}}}),vr=U({color:String,inset:Boolean,sticky:Boolean,title:String,...Z(),...pe()},"VListSubheader"),fr=H()({name:"VListSubheader",props:vr(),setup(n,o){let{slots:t}=o;const{textColorClasses:l,textColorStyles:r}=Se(e.toRef(n,"color"));return J(()=>{const i=!(!t.default&&!n.title);return e.createVNode(n.tag,{class:["v-list-subheader",{"v-list-subheader--inset":n.inset,"v-list-subheader--sticky":n.sticky},l.value,n.class],style:[{textColorStyles:r},n.style]},{default:()=>{var c;return[i&&e.createVNode("div",{class:"v-list-subheader__text"},[((c=t.default)==null?void 0:c.call(t))??n.title])]}})}),{}}}),mr=U({color:String,inset:Boolean,length:[Number,String],thickness:[Number,String],vertical:Boolean,...Z(),...le()},"VDivider"),yr=H()({name:"VDivider",props:mr(),setup(n,o){let{attrs:t}=o;const{themeClasses:l}=ie(n),{textColorClasses:r,textColorStyles:i}=Se(e.toRef(n,"color")),c=e.computed(()=>{const u={};return n.length&&(u[n.vertical?"maxHeight":"maxWidth"]=Y(n.length)),n.thickness&&(u[n.vertical?"borderRightWidth":"borderTopWidth"]=Y(n.thickness)),u});return J(()=>e.createVNode("hr",{class:[{"v-divider":!0,"v-divider--inset":n.inset,"v-divider--vertical":n.vertical},l.value,r.value,n.class],style:[c.value,i.value,n.style],"aria-orientation":t.role&&t.role!=="separator"?void 0:n.vertical?"vertical":"horizontal",role:`${t.role||"separator"}`},null)),{}}}),gr=U({items:Array,returnObject:Boolean},"VListChildren"),Dl=H()({name:"VListChildren",props:gr(),setup(n,o){let{slots:t}=o;return El(),()=>{var l,r;return((l=t.default)==null?void 0:l.call(t))??((r=n.items)==null?void 0:r.map(i=>{var p,d;let{children:c,props:u,type:a,raw:s}=i;if(a==="divider")return((p=t.divider)==null?void 0:p.call(t,{props:u}))??e.createVNode(yr,u,null);if(a==="subheader")return((d=t.subheader)==null?void 0:d.call(t,{props:u}))??e.createVNode(fr,u,null);const v={subtitle:t.subtitle?m=>{var y;return(y=t.subtitle)==null?void 0:y.call(t,{...m,item:s})}:void 0,prepend:t.prepend?m=>{var y;return(y=t.prepend)==null?void 0:y.call(t,{...m,item:s})}:void 0,append:t.append?m=>{var y;return(y=t.append)==null?void 0:y.call(t,{...m,item:s})}:void 0,title:t.title?m=>{var y;return(y=t.title)==null?void 0:y.call(t,{...m,item:s})}:void 0},f=No.filterProps(u);return c?e.createVNode(No,e.mergeProps({value:u==null?void 0:u.value},f),{activator:m=>{let{props:y}=m;const g={...u,...y,value:n.returnObject?s:u.value};return t.header?t.header({props:g}):e.createVNode(Hn,g,v)},default:()=>e.createVNode(Dl,{items:c},t)}):t.item?t.item({props:u}):e.createVNode(Hn,e.mergeProps(u,{value:n.returnObject?s:u.value}),v)}))}}}),Ll=U({items:{type:Array,default:()=>[]},itemTitle:{type:[String,Array,Function],default:"title"},itemValue:{type:[String,Array,Function],default:"value"},itemChildren:{type:[Boolean,String,Array,Function],default:"children"},itemProps:{type:[Boolean,String,Array,Function],default:"props"},returnObject:Boolean,valueComparator:{type:Function,default:gn}},"list-items");function Vt(n,o){const t=be(o,n.itemTitle,o),l=be(o,n.itemValue,t),r=be(o,n.itemChildren),i={title:t,value:l,...n.itemProps===!0?typeof o!="object"||o==null||Array.isArray(o)?void 0:"children"in o?Oe(o,["children"]):o:be(o,n.itemProps)};return{title:String(i.title??""),value:i.value,props:i,children:Array.isArray(r)?Ml(n,r):void 0,raw:o}}function Ml(n,o){const t=[];for(const l of o)t.push(Vt(n,l));return t}function hr(n,o){const t=be(o,n.itemType,"item"),l=function(u){return typeof u=="string"||typeof u=="number"||typeof u=="boolean"}(o)?o:be(o,n.itemTitle),r=be(o,n.itemValue,void 0),i=be(o,n.itemChildren),c={title:l,value:r,...n.itemProps===!0?Oe(o,["children"]):be(o,n.itemProps)};return{type:t,title:c.title,value:c.value,props:c,children:t==="item"&&i?Wl(n,i):void 0,raw:o}}function Wl(n,o){const t=[];for(const l of o)t.push(hr(n,l));return t}const br=U({baseColor:String,activeColor:String,activeClass:String,bgColor:String,disabled:Boolean,lines:{type:[Boolean,String],default:"one"},slim:Boolean,nav:Boolean,...rr({selectStrategy:"single-leaf",openStrategy:"list"}),...Qe(),...Z(),...he(),...Ee(),...nn(),itemType:{type:String,default:"type"},...Ll(),...Ve(),...pe(),...le(),...xe({variant:"text"})},"VList"),Cr=H()({name:"VList",props:br(),emits:{"update:selected":n=>!0,"update:opened":n=>!0,"click:open":n=>!0,"click:select":n=>!0},setup(n,o){let{slots:t}=o;const{items:l}=function(V){return{items:e.computed(()=>Wl(V,V.items))}}(n),{themeClasses:r}=ie(n),{backgroundColorClasses:i,backgroundColorStyles:c}=Ke(e.toRef(n,"bgColor")),{borderClasses:u}=en(n),{densityClasses:a}=Be(n),{dimensionStyles:s}=ze(n),{elevationClasses:v}=tn(n),{roundedClasses:f}=Ie(n),{open:p,select:d}=ir(n),m=e.computed(()=>n.lines?`v-list--${n.lines}-line`:void 0),y=e.toRef(n,"activeColor"),g=e.toRef(n,"baseColor"),b=e.toRef(n,"color");El(),Ze({VListGroup:{activeColor:y,baseColor:g,color:b},VListItem:{activeClass:e.toRef(n,"activeClass"),activeColor:y,baseColor:g,color:b,density:e.toRef(n,"density"),disabled:e.toRef(n,"disabled"),lines:e.toRef(n,"lines"),nav:e.toRef(n,"nav"),slim:e.toRef(n,"slim"),variant:e.toRef(n,"variant")}});const F=e.shallowRef(!1),N=e.ref();function j(V){F.value=!0}function E(V){F.value=!1}function z(V){var A;F.value||V.relatedTarget&&((A=N.value)!=null&&A.contains(V.relatedTarget))||_()}function D(V){if(N.value){if(V.key==="ArrowDown")_("next");else if(V.key==="ArrowUp")_("prev");else if(V.key==="Home")_("first");else{if(V.key!=="End")return;_("last")}V.preventDefault()}}function _(V){if(N.value)return Dn(N.value,V)}return J(()=>e.createVNode(n.tag,{ref:N,class:["v-list",{"v-list--disabled":n.disabled,"v-list--nav":n.nav},r.value,i.value,u.value,a.value,v.value,m.value,f.value,n.class],style:[c.value,s.value,n.style],tabindex:n.disabled||F.value?-1:0,role:"listbox","aria-activedescendant":void 0,onFocusin:j,onFocusout:E,onFocus:z,onKeydown:D},{default:()=>[e.createVNode(Dl,{items:l.value,returnObject:n.returnObject},t)]})),{open:p,select:d,focus:_}}});function st(n,o){return{x:n.x+o.x,y:n.y+o.y}}function Ao(n,o){if(n.side==="top"||n.side==="bottom"){const{side:t,align:l}=n;return st({x:l==="left"?0:l==="center"?o.width/2:l==="right"?o.width:l,y:t==="top"?0:t==="bottom"?o.height:t},o)}if(n.side==="left"||n.side==="right"){const{side:t,align:l}=n;return st({x:t==="left"?0:t==="right"?o.width:t,y:l==="top"?0:l==="center"?o.height/2:l==="bottom"?o.height:l},o)}return st({x:o.width/2,y:o.height/2},o)}const jl={static:function(){},connected:function(n,o,t){(Array.isArray(n.target.value)||function(d){for(;d;){if(window.getComputedStyle(d).position==="fixed")return!0;d=d.offsetParent}return!1}(n.target.value))&&Object.assign(t.value,{position:"fixed",top:0,[n.isRtl.value?"right":"left"]:0});const{preferredAnchor:l,preferredOrigin:r}=Pt(()=>{const d=mt(o.location,n.isRtl.value),m=o.origin==="overlap"?d:o.origin==="auto"?lt(d):mt(o.origin,n.isRtl.value);return d.side===m.side&&d.align===at(m).align?{preferredAnchor:to(d),preferredOrigin:to(m)}:{preferredAnchor:d,preferredOrigin:m}}),[i,c,u,a]=["minWidth","minHeight","maxWidth","maxHeight"].map(d=>e.computed(()=>{const m=parseFloat(o[d]);return isNaN(m)?1/0:m})),s=e.computed(()=>{if(Array.isArray(o.offset))return o.offset;if(typeof o.offset=="string"){const d=o.offset.split(" ").map(parseFloat);return d.length<2&&d.push(0),d}return typeof o.offset=="number"?[o.offset,0]:[0,0]});let v=!1;const f=new ResizeObserver(()=>{v&&p()});function p(){if(v=!1,requestAnimationFrame(()=>{requestAnimationFrame(()=>v=!0)}),!n.target.value||!n.contentEl.value)return;const d=Ko(n.target.value),m=function(A,h){h?A.style.removeProperty("left"):A.style.removeProperty("right");const I=_t(A);return h?I.x+=parseFloat(A.style.right||0):I.x-=parseFloat(A.style.left||0),I.y-=parseFloat(A.style.top||0),I}(n.contentEl.value,n.isRtl.value),y=jn(n.contentEl.value);y.length||(y.push(document.documentElement),n.contentEl.value.style.top&&n.contentEl.value.style.left||(m.x-=parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-x")||0),m.y-=parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-y")||0)));const g=y.reduce((A,h)=>{const I=h.getBoundingClientRect(),B=new Ne({x:h===document.documentElement?0:I.x,y:h===document.documentElement?0:I.y,width:h.clientWidth,height:h.clientHeight});return A?new Ne({x:Math.max(A.left,B.left),y:Math.max(A.top,B.top),width:Math.min(A.right,B.right)-Math.max(A.left,B.left),height:Math.min(A.bottom,B.bottom)-Math.max(A.top,B.top)}):B},void 0);g.x+=12,g.y+=12,g.width-=24,g.height-=24;let b={anchor:l.value,origin:r.value};function F(A){const h=new Ne(m),I=Ao(A.anchor,d),B=Ao(A.origin,h);let{x:L,y:M}=(w=B,{x:(S=I).x-w.x,y:S.y-w.y});var S,w;switch(A.anchor.side){case"top":M-=s.value[0];break;case"bottom":M+=s.value[0];break;case"left":L-=s.value[0];break;case"right":L+=s.value[0]}switch(A.anchor.align){case"top":M-=s.value[1];break;case"bottom":M+=s.value[1];break;case"left":L-=s.value[1];break;case"right":L+=s.value[1]}return h.x+=L,h.y+=M,h.width=Math.min(h.width,u.value),h.height=Math.min(h.height,a.value),{overflows:lo(h,g),x:L,y:M}}let N=0,j=0;const E={x:0,y:0},z={x:!1,y:!1};let D=-1;for(;;){if(D++>10){_="Infinite loop detected in connectedLocationStrategy",e.warn(`Vuetify error: ${_}`);break}const{x:A,y:h,overflows:I}=F(b);N+=A,j+=h,m.x+=A,m.y+=h;{const B=oo(b.anchor),L=I.x.before||I.x.after,M=I.y.before||I.y.after;let S=!1;if(["x","y"].forEach(w=>{if(w==="x"&&L&&!z.x||w==="y"&&M&&!z.y){const P={anchor:{...b.anchor},origin:{...b.origin}},$=w==="x"?B==="y"?at:lt:B==="y"?lt:at;P.anchor=$(P.anchor),P.origin=$(P.origin);const{overflows:R}=F(P);(R[w].before<=I[w].before&&R[w].after<=I[w].after||R[w].before+R[w].after<(I[w].before+I[w].after)/2)&&(b=P,S=z[w]=!0)}}),S)continue}I.x.before&&(N+=I.x.before,m.x+=I.x.before),I.x.after&&(N-=I.x.after,m.x-=I.x.after),I.y.before&&(j+=I.y.before,m.y+=I.y.before),I.y.after&&(j-=I.y.after,m.y-=I.y.after);{const B=lo(m,g);E.x=g.width-B.x.before-B.x.after,E.y=g.height-B.y.before-B.y.after,N+=B.x.before,m.x+=B.x.before,j+=B.y.before,m.y+=B.y.before}break}var _;const V=oo(b.anchor);return Object.assign(t.value,{"--v-overlay-anchor-origin":`${b.anchor.side} ${b.anchor.align}`,transformOrigin:`${b.origin.side} ${b.origin.align}`,top:Y(ut(j)),left:n.isRtl.value?void 0:Y(ut(N)),right:n.isRtl.value?Y(ut(-N)):void 0,minWidth:Y(V==="y"?Math.min(i.value,d.width):i.value),maxWidth:Y(Po(We(E.x,i.value===1/0?0:i.value,u.value))),maxHeight:Y(Po(We(E.y,c.value===1/0?0:c.value,a.value)))}),{available:E,contentBox:m}}return e.watch([n.target,n.contentEl],(d,m)=>{let[y,g]=d,[b,F]=m;b&&!Array.isArray(b)&&f.unobserve(b),y&&!Array.isArray(y)&&f.observe(y),F&&f.unobserve(F),g&&f.observe(g)},{immediate:!0}),e.onScopeDispose(()=>{f.disconnect()}),e.watch(()=>[l.value,r.value,o.offset,o.minWidth,o.minHeight,o.maxWidth,o.maxHeight],()=>p()),e.nextTick(()=>{const d=p();if(!d)return;const{available:m,contentBox:y}=d;y.height>m.y&&requestAnimationFrame(()=>{p(),requestAnimationFrame(()=>{p()})})}),{updateLocation:p}}},Sr=U({locationStrategy:{type:[String,Function],default:"static",validator:n=>typeof n=="function"||n in jl},location:{type:String,default:"bottom"},origin:{type:String,default:"auto"},offset:[Number,String,Array]},"VOverlay-location-strategies");function ut(n){return Math.round(n*devicePixelRatio)/devicePixelRatio}function Po(n){return Math.ceil(n*devicePixelRatio)/devicePixelRatio}let It=!0;const Yn=[];let _o=-1;function Bt(){cancelAnimationFrame(_o),_o=requestAnimationFrame(()=>{const n=Yn.shift();n&&n(),Yn.length?Bt():It=!0})}const Tn={none:null,close:function(n){Oo(n.targetEl.value??n.contentEl.value,function(o){n.isActive.value=!1})},block:function(n,o){var u;const t=(u=n.root.value)==null?void 0:u.offsetParent,l=[...new Set([...jn(n.targetEl.value,o.contained?t:void 0),...jn(n.contentEl.value,o.contained?t:void 0)])].filter(a=>!a.classList.contains("v-overlay-scroll-blocked")),r=window.innerWidth-document.documentElement.offsetWidth,i=(c=t||document.documentElement,Et(c)&&c);var c;i&&n.root.value.classList.add("v-overlay--scroll-blocked"),l.forEach((a,s)=>{a.style.setProperty("--v-body-scroll-x",Y(-a.scrollLeft)),a.style.setProperty("--v-body-scroll-y",Y(-a.scrollTop)),a!==document.documentElement&&a.style.setProperty("--v-scrollbar-offset",Y(r)),a.classList.add("v-overlay-scroll-blocked")}),e.onScopeDispose(()=>{l.forEach((a,s)=>{const v=parseFloat(a.style.getPropertyValue("--v-body-scroll-x")),f=parseFloat(a.style.getPropertyValue("--v-body-scroll-y"));a.style.removeProperty("--v-body-scroll-x"),a.style.removeProperty("--v-body-scroll-y"),a.style.removeProperty("--v-scrollbar-offset"),a.classList.remove("v-overlay-scroll-blocked"),a.scrollLeft=-v,a.scrollTop=-f}),i&&n.root.value.classList.remove("v-overlay--scroll-blocked")})},reposition:function(n,o,t){let l=!1,r=-1,i=-1;function c(u){var a;a=()=>{var f,p;const s=performance.now();(p=(f=n.updateLocation).value)==null||p.call(f,u),l=(performance.now()-s)/(1e3/60)>2},!It||Yn.length?(Yn.push(a),Bt()):(It=!1,a(),Bt())}i=(typeof requestIdleCallback>"u"?u=>u():requestIdleCallback)(()=>{t.run(()=>{Oo(n.targetEl.value??n.contentEl.value,u=>{l?(cancelAnimationFrame(r),r=requestAnimationFrame(()=>{r=requestAnimationFrame(()=>{c(u)})})):c(u)})})}),e.onScopeDispose(()=>{typeof cancelIdleCallback<"u"&&cancelIdleCallback(i),cancelAnimationFrame(r)})}},Vr=U({scrollStrategy:{type:[String,Function],default:"block",validator:n=>typeof n=="function"||n in Tn}},"VOverlay-scroll-strategies");function Oo(n,o){const t=[document,...jn(n)];t.forEach(l=>{l.addEventListener("scroll",o,{passive:!0})}),e.onScopeDispose(()=>{t.forEach(l=>{l.removeEventListener("scroll",o)})})}const wt=Symbol.for("vuetify:v-menu"),Ir=U({closeDelay:[Number,String],openDelay:[Number,String]},"delay"),Br=U({target:[String,Object],activator:[String,Object],activatorProps:{type:Object,default:()=>({})},openOnClick:{type:Boolean,default:void 0},openOnHover:Boolean,openOnFocus:{type:Boolean,default:void 0},closeOnContentClick:Boolean,...Ir()},"VOverlay-activator");function wr(n,o){let{isActive:t,isTop:l}=o;const r=oe("useActivator"),i=e.ref();let c=!1,u=!1,a=!0;const s=e.computed(()=>n.openOnFocus||n.openOnFocus==null&&n.openOnHover),v=e.computed(()=>n.openOnClick||n.openOnClick==null&&!n.openOnHover&&!s.value),{runOpenDelay:f,runCloseDelay:p}=function(h,I){const B={},L=M=>()=>{if(!ue)return Promise.resolve(!0);const S=M==="openDelay";return B.closeDelay&&window.clearTimeout(B.closeDelay),delete B.closeDelay,B.openDelay&&window.clearTimeout(B.openDelay),delete B.openDelay,new Promise(w=>{const P=parseInt(h[M]??0,10);B[M]=window.setTimeout(()=>{I==null||I(S),w(S)},P)})};return{runCloseDelay:L("closeDelay"),runOpenDelay:L("openDelay")}}(n,h=>{h!==(n.openOnHover&&c||s.value&&u)||n.openOnHover&&t.value&&!l.value||(t.value!==h&&(a=!0),t.value=h)}),d=e.ref(),m=h=>{h.stopPropagation(),i.value=h.currentTarget||h.target,t.value||(d.value=[h.clientX,h.clientY]),t.value=!t.value},y=h=>{var I;(I=h.sourceCapabilities)!=null&&I.firesTouchEvents||(c=!0,i.value=h.currentTarget||h.target,f())},g=h=>{c=!1,p()},b=h=>{Ln(h.target,":focus-visible")!==!1&&(u=!0,h.stopPropagation(),i.value=h.currentTarget||h.target,f())},F=h=>{u=!1,h.stopPropagation(),p()},N=e.computed(()=>{const h={};return v.value&&(h.onClick=m),n.openOnHover&&(h.onMouseenter=y,h.onMouseleave=g),s.value&&(h.onFocus=b,h.onBlur=F),h}),j=e.computed(()=>{const h={};if(n.openOnHover&&(h.onMouseenter=()=>{c=!0,f()},h.onMouseleave=()=>{c=!1,p()}),s.value&&(h.onFocusin=()=>{u=!0,f()},h.onFocusout=()=>{u=!1,p()}),n.closeOnContentClick){const I=e.inject(wt,null);h.onClick=()=>{t.value=!1,I==null||I.closeParents()}}return h}),E=e.computed(()=>{const h={};return n.openOnHover&&(h.onMouseenter=()=>{a&&(c=!0,a=!1,f())},h.onMouseleave=()=>{c=!1,p()}),h});e.watch(l,h=>{!h||(!n.openOnHover||c||s.value&&u)&&(!s.value||u||n.openOnHover&&c)||(t.value=!1)}),e.watch(t,h=>{h||setTimeout(()=>{d.value=void 0})},{flush:"post"});const z=e.ref();e.watchEffect(()=>{z.value&&e.nextTick(()=>{i.value=$n(z.value)})});const D=e.ref(),_=e.computed(()=>n.target==="cursor"&&d.value?d.value:D.value?$n(D.value):Eo(n.target,r)||i.value),V=e.computed(()=>Array.isArray(_.value)?void 0:_.value);let A;return e.watch(()=>!!n.activator,h=>{h&&ue?(A=e.effectScope(),A.run(()=>{(function(I,B,L){let{activatorEl:M,activatorEvents:S}=L;function w(){let R=arguments.length>0&&arguments[0]!==void 0?arguments[0]:$(),x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:I.activatorProps;R&&function(T,G){Object.keys(G).forEach(C=>{if(vt(C)){const k=Qt(C),O=An.get(T);if(G[C]==null)O==null||O.forEach(W=>{const[q,K]=W;q===k&&(T.removeEventListener(k,K),O.delete(W))});else if(!O||![...O].some(W=>W[0]===k&&W[1]===G[C])){T.addEventListener(k,G[C]);const W=O||new Set;W.add([k,G[C]]),An.has(T)||An.set(T,W)}}else G[C]==null?T.removeAttribute(C):T.setAttribute(C,G[C])})}(R,e.mergeProps(S.value,x))}function P(){let R=arguments.length>0&&arguments[0]!==void 0?arguments[0]:$(),x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:I.activatorProps;R&&function(T,G){Object.keys(G).forEach(C=>{if(vt(C)){const k=Qt(C),O=An.get(T);O==null||O.forEach(W=>{const[q,K]=W;q===k&&(T.removeEventListener(k,K),O.delete(W))})}else T.removeAttribute(C)})}(R,e.mergeProps(S.value,x))}function $(){const R=Eo(arguments.length>0&&arguments[0]!==void 0?arguments[0]:I.activator,B);return M.value=(R==null?void 0:R.nodeType)===Node.ELEMENT_NODE?R:void 0,M.value}e.watch(()=>I.activator,(R,x)=>{if(x&&R!==x){const T=$(x);T&&P(T)}R&&e.nextTick(()=>w())},{immediate:!0}),e.watch(()=>I.activatorProps,()=>{w()}),e.onScopeDispose(()=>{P()})})(n,r,{activatorEl:i,activatorEvents:N})})):A&&A.stop()},{flush:"post",immediate:!0}),e.onScopeDispose(()=>{A==null||A.stop()}),{activatorEl:i,activatorRef:z,target:_,targetEl:V,targetRef:D,activatorEvents:N,contentEvents:j,scrimEvents:E}}function Eo(n,o){var l,r;if(!n)return;let t;if(n==="parent"){let i=(r=(l=o==null?void 0:o.proxy)==null?void 0:l.$el)==null?void 0:r.parentNode;for(;i!=null&&i.hasAttribute("data-no-activator");)i=i.parentNode;t=i}else t=typeof n=="string"?document.querySelector(n):"$el"in n?n.$el:n;return t}const kr=Symbol.for("vuetify:display");function Ul(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ge();const t=e.inject(kr);if(!t)throw new Error("Could not find Vuetify display injection");const l=e.computed(()=>{if(!n.mobileBreakpoint)return t.mobile.value;const i=typeof n.mobileBreakpoint=="number"?n.mobileBreakpoint:t.thresholds.value[n.mobileBreakpoint];return t.width.valueo?{[`${o}--mobile`]:l.value}:{});return{...t,displayClasses:r,mobile:l}}const xr=U({eager:Boolean},"lazy");function Gl(){const n=oe("useScopeId").vnode.scopeId;return{scopeId:n?{[n]:""}:void 0}}const zo=Symbol.for("vuetify:stack"),an=e.reactive([]);function Fr(){return!0}function To(n,o,t){if(!n||ql(n,t)===!1)return!1;const l=Zo(o);if(typeof ShadowRoot<"u"&&l instanceof ShadowRoot&&l.host===n.target)return!1;const r=(typeof t.value=="object"&&t.value.include||(()=>[]))();return r.push(o),!r.some(i=>i==null?void 0:i.contains(n.target))}function ql(n,o){return(typeof o.value=="object"&&o.value.closeConditional||Fr)(n)}function $o(n,o){const t=Zo(n);o(document),typeof ShadowRoot<"u"&&t instanceof ShadowRoot&&o(t)}const Nr={mounted(n,o){const t=r=>function(i,c,u){const a=typeof u.value=="function"?u.value:u.value.handler;c._clickOutside.lastMousedownWasOutside&&To(i,c,u)&&setTimeout(()=>{ql(i,u)&&a&&a(i)},0)}(r,n,o),l=r=>{n._clickOutside.lastMousedownWasOutside=To(r,n,o)};$o(n,r=>{r.addEventListener("click",t,!0),r.addEventListener("mousedown",l,!0)}),n._clickOutside||(n._clickOutside={lastMousedownWasOutside:!1}),n._clickOutside[o.instance.$.uid]={onClick:t,onMousedown:l}},unmounted(n,o){n._clickOutside&&($o(n,t=>{var i;if(!t||!((i=n._clickOutside)!=null&&i[o.instance.$.uid]))return;const{onClick:l,onMousedown:r}=n._clickOutside[o.instance.$.uid];t.removeEventListener("click",l,!0),t.removeEventListener("mousedown",r,!0)}),delete n._clickOutside[o.instance.$.uid])}};function Ar(n){const{modelValue:o,color:t,...l}=n;return e.createVNode(e.Transition,{name:"fade-transition",appear:!0},{default:()=>[n.modelValue&&e.createVNode("div",e.mergeProps({class:["v-overlay__scrim",n.color.backgroundColorClasses.value],style:n.color.backgroundColorStyles.value},l),null)]})}const Hl=U({absolute:Boolean,attach:[Boolean,String,Object],closeOnBack:{type:Boolean,default:!0},contained:Boolean,contentClass:null,contentProps:null,disabled:Boolean,noClickAnimation:Boolean,modelValue:Boolean,persistent:Boolean,scrim:{type:[Boolean,String],default:!0},zIndex:{type:[Number,String],default:2e3},...Br(),...Z(),...Ee(),...xr(),...Sr(),...Vr(),...le(),...Sn()},"VOverlay"),Ro=H()({name:"VOverlay",directives:{ClickOutside:Nr},inheritAttrs:!1,props:{_disableGlobalStack:Boolean,...Hl()},emits:{"click:outside":n=>!0,"update:modelValue":n=>!0,afterLeave:()=>!0},setup(n,o){var T,G;let{slots:t,attrs:l,emit:r}=o;const i=ne(n,"modelValue"),c=e.computed({get:()=>i.value,set:C=>{C&&n.disabled||(i.value=C)}}),{teleportTarget:u}=function(C){return{teleportTarget:e.computed(()=>{const k=C.value;if(k===!0||!ue)return;const O=k===!1?document.body:typeof k=="string"?document.querySelector(k):k;if(O==null)return void e.warn(`Unable to locate target ${k}`);let W=O.querySelector(":scope > .v-overlay-container");return W||(W=document.createElement("div"),W.className="v-overlay-container",O.appendChild(W)),W})}}(e.computed(()=>n.attach||n.contained)),{themeClasses:a}=ie(n),{rtlClasses:s,isRtl:v}=Cn(),{hasContent:f,onAfterLeave:p}=function(C,k){const O=e.shallowRef(!1),W=e.computed(()=>O.value||C.eager||k.value);return e.watch(k,()=>O.value=!0),{isBooted:O,hasContent:W,onAfterLeave:function(){C.eager||(O.value=!1)}}}(n,c),d=Ke(e.computed(()=>typeof n.scrim=="string"?n.scrim:null)),{globalTop:m,localTop:y,stackStyles:g}=function(C,k,O){const W=oe("useStack"),q=!O,K=e.inject(zo,void 0),te=e.reactive({activeChildren:new Set});e.provide(zo,te);const re=e.shallowRef(+k.value);Ae(C,()=>{var on;const Nn=(on=an.at(-1))==null?void 0:on[1];re.value=Nn?Nn+10:+k.value,q&&an.push([W.uid,re.value]),K==null||K.activeChildren.add(W.uid),e.onScopeDispose(()=>{if(q){const na=e.toRaw(an).findIndex(ta=>ta[0]===W.uid);an.splice(na,1)}K==null||K.activeChildren.delete(W.uid)})});const se=e.shallowRef(!0);q&&e.watchEffect(()=>{var on;const Nn=((on=an.at(-1))==null?void 0:on[0])===W.uid;setTimeout(()=>se.value=Nn)});const ea=e.computed(()=>!te.activeChildren.size);return{globalTop:e.readonly(se),localTop:ea,stackStyles:e.computed(()=>({zIndex:re.value}))}}(c,e.toRef(n,"zIndex"),n._disableGlobalStack),{activatorEl:b,activatorRef:F,target:N,targetEl:j,targetRef:E,activatorEvents:z,contentEvents:D,scrimEvents:_}=wr(n,{isActive:c,isTop:y}),{dimensionStyles:V}=ze(n),A=function(){if(!ue)return e.shallowRef(!1);const{ssr:C}=Ul();if(C){const k=e.shallowRef(!1);return e.onMounted(()=>{k.value=!0}),k}return e.shallowRef(!0)}(),{scopeId:h}=Gl();e.watch(()=>n.disabled,C=>{C&&(c.value=!1)});const I=e.ref(),B=e.ref(),{contentStyles:L,updateLocation:M}=function(C,k){const O=e.ref({}),W=e.ref();function q(K){var te;(te=W.value)==null||te.call(W,K)}return ue&&(Ae(()=>!(!k.isActive.value||!C.locationStrategy),K=>{var te,re;e.watch(()=>C.locationStrategy,K),e.onScopeDispose(()=>{W.value=void 0}),typeof C.locationStrategy=="function"?W.value=(te=C.locationStrategy(k,C,O))==null?void 0:te.updateLocation:W.value=(re=jl[C.locationStrategy](k,C,O))==null?void 0:re.updateLocation}),window.addEventListener("resize",q,{passive:!0}),e.onScopeDispose(()=>{window.removeEventListener("resize",q),W.value=void 0})),{contentStyles:O,updateLocation:W}}(n,{isRtl:v,contentEl:B,target:N,isActive:c});function S(C){r("click:outside",C),n.persistent?x():c.value=!1}function w(){return c.value&&m.value}function P(C){var k,O;C.key==="Escape"&&m.value&&(n.persistent?x():(c.value=!1,(k=B.value)!=null&&k.contains(document.activeElement)&&((O=b.value)==null||O.focus())))}(function(C,k){if(!ue)return;let O;e.watchEffect(async()=>{O==null||O.stop(),k.isActive.value&&C.scrollStrategy&&(O=e.effectScope(),await e.nextTick(),O.active&&O.run(()=>{var W;typeof C.scrollStrategy=="function"?C.scrollStrategy(k,C,O):(W=Tn[C.scrollStrategy])==null||W.call(Tn,k,C,O)}))}),e.onScopeDispose(()=>{O==null||O.stop()})})(n,{root:I,contentEl:B,targetEl:j,isActive:c,updateLocation:M}),ue&&e.watch(c,C=>{C?window.addEventListener("keydown",P):window.removeEventListener("keydown",P)},{immediate:!0});const $=(G=(T=oe("useRouter"))==null?void 0:T.proxy)==null?void 0:G.$router;Ae(()=>n.closeOnBack,()=>{(function(C,k){let O,W,q=!1;function K(te){var re;(re=te.state)!=null&&re.replaced||(q=!0,setTimeout(()=>q=!1))}ue&&(e.nextTick(()=>{window.addEventListener("popstate",K),O=C==null?void 0:C.beforeEach((te,re,se)=>{it?q?k(se):se():setTimeout(()=>q?k(se):se()),it=!0}),W=C==null?void 0:C.afterEach(()=>{it=!1})}),e.onScopeDispose(()=>{window.removeEventListener("popstate",K),O==null||O(),W==null||W()}))})($,C=>{m.value&&c.value?(C(!1),n.persistent?x():c.value=!1):C()})});const R=e.ref();function x(){n.noClickAnimation||B.value&&De(B.value,[{transformOrigin:"center"},{transform:"scale(1.03)"},{transformOrigin:"center"}],{duration:150,easing:Wn})}return e.watch(()=>c.value&&(n.absolute||n.contained)&&u.value==null,C=>{if(C){const k=el(I.value);k&&k!==document.scrollingElement&&(R.value=k.scrollTop)}}),J(()=>{var C;return e.createVNode(e.Fragment,null,[(C=t.activator)==null?void 0:C.call(t,{isActive:c.value,props:e.mergeProps({ref:F,targetRef:E},z.value,n.activatorProps)}),A.value&&f.value&&e.createVNode(e.Teleport,{disabled:!u.value,to:u.value},{default:()=>[e.createVNode("div",e.mergeProps({class:["v-overlay",{"v-overlay--absolute":n.absolute||n.contained,"v-overlay--active":c.value,"v-overlay--contained":n.contained},a.value,s.value,n.class],style:[g.value,{top:Y(R.value)},n.style],ref:I},h,l),[e.createVNode(Ar,e.mergeProps({color:d,modelValue:c.value&&!!n.scrim},_.value),null),e.createVNode(we,{appear:!0,persisted:!0,transition:n.transition,target:N.value,onAfterLeave:()=>{p(),r("afterLeave")}},{default:()=>{var k;return[e.withDirectives(e.createVNode("div",e.mergeProps({ref:B,class:["v-overlay__content",n.contentClass],style:[V.value,L.value]},D.value,n.contentProps),[(k=t.default)==null?void 0:k.call(t,{isActive:c})]),[[e.vShow,c.value],[e.resolveDirective("click-outside"),{handler:S,closeConditional:w,include:()=>[b.value]}]])]}})])]})])}),{activatorEl:b,target:N,animateClick:x,contentEl:B,globalTop:m,localTop:y,updateLocation:M}}}),ct=Symbol("Forwarded refs");function dt(n,o){let t=n;for(;t;){const l=Reflect.getOwnPropertyDescriptor(t,o);if(l)return l;t=Object.getPrototypeOf(t)}}function tt(n){for(var o=arguments.length,t=new Array(o>1?o-1:0),l=1;l!0},setup(n,o){let{slots:t}=o;const l=ne(n,"modelValue"),{scopeId:r}=Gl(),i=fe(),c=e.computed(()=>n.id||`v-menu-${i}`),u=e.ref(),a=e.inject(wt,null),s=e.shallowRef(0);async function v(y){var F,N,j;const g=y.relatedTarget,b=y.target;await e.nextTick(),l.value&&g!==b&&((F=u.value)!=null&&F.contentEl)&&((N=u.value)!=null&&N.globalTop)&&![document,u.value.contentEl].includes(b)&&!u.value.contentEl.contains(b)&&((j=ft(u.value.contentEl)[0])==null||j.focus())}function f(){a==null||a.closeParents()}function p(y){var g,b,F;!n.disabled&&y.key==="Tab"&&(Ho(ft((g=u.value)==null?void 0:g.contentEl,!1),y.shiftKey?"prev":"next",N=>N.tabIndex>=0)||(l.value=!1,(F=(b=u.value)==null?void 0:b.activatorEl)==null||F.focus()))}function d(y){var b;if(n.disabled)return;const g=(b=u.value)==null?void 0:b.contentEl;g&&l.value?y.key==="ArrowDown"?(y.preventDefault(),Dn(g,"next")):y.key==="ArrowUp"&&(y.preventDefault(),Dn(g,"prev")):["ArrowDown","ArrowUp"].includes(y.key)&&(l.value=!0,y.preventDefault(),setTimeout(()=>setTimeout(()=>d(y))))}e.provide(wt,{register(){++s.value},unregister(){--s.value},closeParents(){setTimeout(()=>{s.value||(l.value=!1,a==null||a.closeParents())},40)}}),e.watch(l,y=>{y?(a==null||a.register(),document.addEventListener("focusin",v,{once:!0})):(a==null||a.unregister(),document.removeEventListener("focusin",v))});const m=e.computed(()=>e.mergeProps({"aria-haspopup":"menu","aria-expanded":String(l.value),"aria-owns":c.value,onKeydown:d},n.activatorProps));return J(()=>{const y=Ro.filterProps(n);return e.createVNode(Ro,e.mergeProps({ref:u,class:["v-menu",n.class],style:n.style},y,{modelValue:l.value,"onUpdate:modelValue":g=>l.value=g,absolute:!0,activatorProps:m.value,"onClick:outside":f,onKeydown:p},r),{activator:t.activator,default:function(){for(var g=arguments.length,b=new Array(g),F=0;F{var N;return[(N=t.default)==null?void 0:N.call(t,...b)]}})}})}),tt({id:c,ΨopenChildren:s},u)}}),Or=U({active:Boolean,max:[Number,String],value:{type:[Number,String],default:0},...Z(),...Sn({transition:{component:al}})},"VCounter"),Yl=H()({name:"VCounter",functional:!0,props:Or(),setup(n,o){let{slots:t}=o;const l=e.computed(()=>n.max?`${n.value} / ${n.max}`:String(n.value));return J(()=>e.createVNode(we,{transition:n.transition},{default:()=>[e.withDirectives(e.createVNode("div",{class:["v-counter",n.class],style:n.style},[t.default?t.default({counter:l.value,max:n.max,value:n.value}):l.value]),[[e.vShow,n.active]])]})),{}}}),Er=U({floating:Boolean,...Z()},"VFieldLabel"),On=H()({name:"VFieldLabel",props:Er(),setup(n,o){let{slots:t}=o;return J(()=>e.createVNode(kl,{class:["v-field-label",{"v-field-label--floating":n.floating},n.class],style:n.style,"aria-hidden":n.floating||void 0},t)),{}}}),zr=["underlined","outlined","filled","solo","solo-inverted","solo-filled","plain"],Ut=U({appendInnerIcon:Q,bgColor:String,clearable:Boolean,clearIcon:{type:Q,default:"$clear"},active:Boolean,centerAffix:{type:Boolean,default:void 0},color:String,baseColor:String,dirty:Boolean,disabled:{type:Boolean,default:null},error:Boolean,flat:Boolean,label:String,persistentClear:Boolean,prependInnerIcon:Q,reverse:Boolean,singleLine:Boolean,variant:{type:String,default:"filled",validator:n=>zr.includes(n)},"onClick:clear":ye(),"onClick:appendInner":ye(),"onClick:prependInner":ye(),...Z(),...Mt(),...Ve(),...le()},"VField"),Gt=H()({name:"VField",inheritAttrs:!1,props:{id:String,...Pl(),...Ut()},emits:{"update:focused":n=>!0,"update:modelValue":n=>!0},setup(n,o){let{attrs:t,emit:l,slots:r}=o;const{themeClasses:i}=ie(n),{loaderClasses:c}=Qn(n),{focusClasses:u,isFocused:a,focus:s,blur:v}=xn(n),{InputIcon:f}=Al(n),{roundedClasses:p}=Ie(n),{rtlClasses:d}=Cn(),m=e.computed(()=>n.dirty||n.active),y=e.computed(()=>!(n.singleLine||!n.label&&!r.label)),g=fe(),b=e.computed(()=>n.id||`input-${g}`),F=e.computed(()=>`${b.value}-messages`),N=e.ref(),j=e.ref(),E=e.ref(),z=e.computed(()=>["plain","underlined"].includes(n.variant)),{backgroundColorClasses:D,backgroundColorStyles:_}=Ke(e.toRef(n,"bgColor")),{textColorClasses:V,textColorStyles:A}=Se(e.computed(()=>n.error||n.disabled?void 0:m.value&&a.value?n.color:n.baseColor));e.watch(m,B=>{if(y.value){const L=N.value.$el,M=j.value.$el;requestAnimationFrame(()=>{const S=_t(L),w=M.getBoundingClientRect(),P=w.x-S.x,$=w.y-S.y-(S.height/2-w.height/2),R=w.width/.75,x=Math.abs(R-S.width)>1?{maxWidth:Y(R)}:void 0,T=getComputedStyle(L),G=getComputedStyle(M),C=1e3*parseFloat(T.transitionDuration)||150,k=parseFloat(G.getPropertyValue("--v-field-label-scale")),O=G.getPropertyValue("color");L.style.visibility="visible",M.style.visibility="hidden",De(L,{transform:`translate(${P}px, ${$}px) scale(${k})`,color:O,...x},{duration:C,easing:Wn,direction:B?"normal":"reverse"}).finished.then(()=>{L.style.removeProperty("visibility"),M.style.removeProperty("visibility")})})}},{flush:"post"});const h=e.computed(()=>({isActive:m,isFocused:a,controlRef:E,blur:v,focus:s}));function I(B){B.target!==document.activeElement&&B.preventDefault()}return J(()=>{var P,$,R;const B=n.variant==="outlined",L=r["prepend-inner"]||n.prependInnerIcon,M=!(!n.clearable&&!r.clear),S=!!(r["append-inner"]||n.appendInnerIcon||M),w=r.label?r.label({...h.value,label:n.label,props:{for:b.value}}):n.label;return e.createVNode("div",e.mergeProps({class:["v-field",{"v-field--active":m.value,"v-field--appended":S,"v-field--center-affix":n.centerAffix??!z.value,"v-field--disabled":n.disabled,"v-field--dirty":n.dirty,"v-field--error":n.error,"v-field--flat":n.flat,"v-field--has-background":!!n.bgColor,"v-field--persistent-clear":n.persistentClear,"v-field--prepended":L,"v-field--reverse":n.reverse,"v-field--single-line":n.singleLine,"v-field--no-label":!w,[`v-field--variant-${n.variant}`]:!0},i.value,D.value,u.value,c.value,p.value,d.value,n.class],style:[_.value,n.style],onClick:I},t),[e.createVNode("div",{class:"v-field__overlay"},null),e.createVNode(Wt,{name:"v-field",active:!!n.loading,color:n.error?"error":typeof n.loading=="string"?n.loading:n.color},{default:r.loader}),L&&e.createVNode("div",{key:"prepend",class:"v-field__prepend-inner"},[n.prependInnerIcon&&e.createVNode(f,{key:"prepend-icon",name:"prependInner"},null),(P=r["prepend-inner"])==null?void 0:P.call(r,h.value)]),e.createVNode("div",{class:"v-field__field","data-no-activator":""},[["filled","solo","solo-inverted","solo-filled"].includes(n.variant)&&y.value&&e.createVNode(On,{key:"floating-label",ref:j,class:[V.value],floating:!0,for:b.value,style:A.value},{default:()=>[w]}),e.createVNode(On,{ref:N,for:b.value},{default:()=>[w]}),($=r.default)==null?void 0:$.call(r,{...h.value,props:{id:b.value,class:"v-field__input","aria-describedby":F.value},focus:s,blur:v})]),M&&e.createVNode(rl,{key:"clear"},{default:()=>[e.withDirectives(e.createVNode("div",{class:"v-field__clearable",onMousedown:x=>{x.preventDefault(),x.stopPropagation()}},[r.clear?r.clear():e.createVNode(f,{name:"clear"},null)]),[[e.vShow,n.dirty]])]}),S&&e.createVNode("div",{key:"append",class:"v-field__append-inner"},[(R=r["append-inner"])==null?void 0:R.call(r,h.value),n.appendInnerIcon&&e.createVNode(f,{key:"append-icon",name:"appendInner"},null)]),e.createVNode("div",{class:["v-field__outline",V.value],style:A.value},[B&&e.createVNode(e.Fragment,null,[e.createVNode("div",{class:"v-field__outline__start"},null),y.value&&e.createVNode("div",{class:"v-field__outline__notch"},[e.createVNode(On,{ref:j,floating:!0,for:b.value},{default:()=>[w]})]),e.createVNode("div",{class:"v-field__outline__end"},null)]),z.value&&y.value&&e.createVNode(On,{ref:j,floating:!0,for:b.value},{default:()=>[w]})])])}),{controlRef:E}}});function Xl(n){return jo(n,Object.keys(Gt.props).filter(o=>!vt(o)&&o!=="class"&&o!=="style"))}const Tr=["color","file","time","date","datetime-local","week","month"],Kl=U({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,...Fn(),...Ut()},"VTextField"),kt=H()({name:"VTextField",directives:{Intersect:$t},inheritAttrs:!1,props:Kl(),emits:{"click:control":n=>!0,"mousedown:control":n=>!0,"update:focused":n=>!0,"update:modelValue":n=>!0},setup(n,o){let{attrs:t,emit:l,slots:r}=o;const i=ne(n,"modelValue"),{isFocused:c,focus:u,blur:a}=xn(n),s=e.computed(()=>typeof n.counterValue=="function"?n.counterValue(i.value):typeof n.counterValue=="number"?n.counterValue:(i.value??"").toString().length),v=e.computed(()=>t.maxlength?t.maxlength:!n.counter||typeof n.counter!="number"&&typeof n.counter!="string"?void 0:n.counter),f=e.computed(()=>["plain","underlined"].includes(n.variant));function p(z,D){var _,V;n.autofocus&&z&&((V=(_=D[0].target)==null?void 0:_.focus)==null||V.call(_))}const d=e.ref(),m=e.ref(),y=e.ref(),g=e.computed(()=>Tr.includes(n.type)||n.persistentPlaceholder||c.value||n.active);function b(){var z;y.value!==document.activeElement&&((z=y.value)==null||z.focus()),c.value||u()}function F(z){l("mousedown:control",z),z.target!==y.value&&(b(),z.preventDefault())}function N(z){b(),l("click:control",z)}function j(z){z.stopPropagation(),b(),e.nextTick(()=>{i.value=null,qo(n["onClick:clear"],z)})}function E(z){var _;const D=z.target;if(i.value=D.value,((_=n.modelModifiers)==null?void 0:_.trim)&&["text","search","password","tel","url"].includes(n.type)){const V=[D.selectionStart,D.selectionEnd];e.nextTick(()=>{D.selectionStart=V[0],D.selectionEnd=V[1]})}}return J(()=>{const z=!!(r.counter||n.counter!==!1&&n.counter!=null),D=!(!z&&!r.details),[_,V]=hn(t),{modelValue:A,...h}=ke.filterProps(n),I=Xl(n);return e.createVNode(ke,e.mergeProps({ref:d,modelValue:i.value,"onUpdate:modelValue":B=>i.value=B,class:["v-text-field",{"v-text-field--prefixed":n.prefix,"v-text-field--suffixed":n.suffix,"v-input--plain-underlined":f.value},n.class],style:n.style},_,h,{centerAffix:!f.value,focused:c.value}),{...r,default:B=>{let{id:L,isDisabled:M,isDirty:S,isReadonly:w,isValid:P}=B;return e.createVNode(Gt,e.mergeProps({ref:m,onMousedown:F,onClick:N,"onClick:clear":j,"onClick:prependInner":n["onClick:prependInner"],"onClick:appendInner":n["onClick:appendInner"],role:n.role},I,{id:L.value,active:g.value||S.value,dirty:S.value||n.dirty,disabled:M.value,focused:c.value,error:P.value===!1}),{...r,default:$=>{let{props:{class:R,...x}}=$;const T=e.withDirectives(e.createVNode("input",e.mergeProps({ref:y,value:i.value,onInput:E,autofocus:n.autofocus,readonly:w.value,disabled:M.value,name:n.name,placeholder:n.placeholder,size:1,type:n.type,onFocus:b,onBlur:a},x,V),null),[[e.resolveDirective("intersect"),{handler:p},null,{once:!0}]]);return e.createVNode(e.Fragment,null,[n.prefix&&e.createVNode("span",{class:"v-text-field__prefix"},[e.createVNode("span",{class:"v-text-field__prefix__text"},[n.prefix])]),r.default?e.createVNode("div",{class:R,"data-no-activator":""},[r.default(),T]):e.cloneVNode(T,{class:R}),n.suffix&&e.createVNode("span",{class:"v-text-field__suffix"},[e.createVNode("span",{class:"v-text-field__suffix__text"},[n.suffix])])])}})},details:D?B=>{var L;return e.createVNode(e.Fragment,null,[(L=r.details)==null?void 0:L.call(r,B),z&&e.createVNode(e.Fragment,null,[e.createVNode("span",null,null),e.createVNode(Yl,{active:n.persistentCounter||c.value,value:s.value,max:v.value},r.counter)])])}:void 0})}),tt({},d,m,y)}}),$r=U({renderless:Boolean,...Z()},"VVirtualScrollItem"),Rr=H()({name:"VVirtualScrollItem",inheritAttrs:!1,props:$r(),emits:{"update:height":n=>!0},setup(n,o){let{attrs:t,emit:l,slots:r}=o;const{resizeRef:i,contentRect:c}=zt(void 0,"border");e.watch(()=>{var u;return(u=c.value)==null?void 0:u.height},u=>{u!=null&&l("update:height",u)}),J(()=>{var u,a;return n.renderless?e.createVNode(e.Fragment,null,[(u=r.default)==null?void 0:u.call(r,{itemRef:i})]):e.createVNode("div",e.mergeProps({ref:i,class:["v-virtual-scroll__item",n.class],style:n.style},t),[(a=r.default)==null?void 0:a.call(r)])})}}),Dr=U({itemHeight:{type:[Number,String],default:null},height:[Number,String]},"virtual");function Lr(n,o){const t=Ul(),l=e.shallowRef(0);e.watchEffect(()=>{l.value=parseFloat(n.itemHeight||0)});const r=e.shallowRef(0),i=e.shallowRef(Math.ceil((parseInt(n.height)||t.height.value)/(l.value||16))||1),c=e.shallowRef(0),u=e.shallowRef(0),a=e.ref(),s=e.ref();let v=0;const{resizeRef:f,contentRect:p}=zt();e.watchEffect(()=>{f.value=a.value});const d=e.computed(()=>{var S;return a.value===document.documentElement?t.height.value:((S=p.value)==null?void 0:S.height)||parseInt(n.height)||0}),m=e.computed(()=>!!(a.value&&s.value&&d.value&&l.value));let y=Array.from({length:o.value.length}),g=Array.from({length:o.value.length});const b=e.shallowRef(0);let F=-1;function N(S){return y[S]||l.value}const j=function(S,w){let P=0;const $=function(){for(var R=arguments.length,x=new Array(R),T=0;TS(...x),e.unref(w))};return $.clear=()=>{clearTimeout(P)},$.immediate=S,$}(()=>{const S=performance.now();g[0]=0;const w=o.value.length;for(let P=1;P<=w-1;P++)g[P]=(g[P-1]||0)+N(P-1);b.value=Math.max(b.value,performance.now()-S)},b),E=e.watch(m,S=>{S&&(E(),v=s.value.offsetTop,j.immediate(),I(),~F&&e.nextTick(()=>{ue&&window.requestAnimationFrame(()=>{L(F),F=-1})}))});function z(S){return S=We(S,0,o.value.length-1),g[S]||0}function D(S){return function(w,P){let $=w.length-1,R=0,x=0,T=null,G=-1;if(w[$]>1,T=w[x],T>P)$=x-1;else{if(!(T{w&&I()}),e.onScopeDispose(()=>{j.clear()});let _=0,V=0,A=0,h=-1;function I(){cancelAnimationFrame(h),h=requestAnimationFrame(B)}function B(){if(!a.value||!d.value)return;const S=_-v,w=Math.sign(V),P=We(D(Math.max(0,S-100)),0,o.value.length),$=We(D(S+d.value+100)+1,P+1,o.value.length);if((w!==-1||Pi.value)){const R=z(r.value)-z(P),x=z($)-z(i.value);Math.max(R,x)>100?(r.value=P,i.value=$):(P<=0&&(r.value=P),$>=o.value.length&&(i.value=$))}c.value=z(r.value),u.value=z(o.value.length)-z(i.value)}function L(S){const w=z(S);!a.value||S&&!w?F=S:a.value.scrollTop=w}const M=e.computed(()=>o.value.slice(r.value,i.value).map((S,w)=>({raw:S,index:w+r.value})));return e.watch(o,()=>{y=Array.from({length:o.value.length}),g=Array.from({length:o.value.length}),j.immediate(),I()},{deep:!0}),{containerRef:a,markerRef:s,computedItems:M,paddingTop:c,paddingBottom:u,scrollToIndex:L,handleScroll:function(){if(!a.value||!s.value)return;const S=a.value.scrollTop,w=performance.now();w-A>500?(V=Math.sign(S-_),v=s.value.offsetTop):V=S-_,_=S,A=w,I()},handleScrollend:function(){a.value&&s.value&&(V=0,A=0,I())},handleItemResize:function(S,w){const P=y[S],$=l.value;l.value=$?Math.min(l.value,w):w,P===w&&$===l.value||(y[S]=w,j())}}}const Mr=U({items:{type:Array,default:()=>[]},renderless:Boolean,...Dr(),...Z(),...Ee()},"VVirtualScroll"),Wr=H()({name:"VVirtualScroll",props:Mr(),setup(n,o){let{slots:t}=o;const l=oe("VVirtualScroll"),{dimensionStyles:r}=ze(n),{containerRef:i,markerRef:c,handleScroll:u,handleScrollend:a,handleItemResize:s,scrollToIndex:v,paddingTop:f,paddingBottom:p,computedItems:d}=Lr(n,e.toRef(n,"items"));return Ae(()=>n.renderless,()=>{function m(){var g,b;const y=arguments.length>0&&arguments[0]!==void 0&&arguments[0]?"addEventListener":"removeEventListener";i.value===document.documentElement?(document[y]("scroll",u,{passive:!0}),document[y]("scrollend",a)):((g=i.value)==null||g[y]("scroll",u,{passive:!0}),(b=i.value)==null||b[y]("scrollend",a))}e.onMounted(()=>{i.value=el(l.vnode.el,!0),m(!0)}),e.onScopeDispose(m)}),J(()=>{const m=d.value.map(y=>e.createVNode(Rr,{key:y.index,renderless:n.renderless,"onUpdate:height":g=>s(y.index,g)},{default:g=>{var b;return(b=t.default)==null?void 0:b.call(t,{item:y.raw,index:y.index,...g})}}));return n.renderless?e.createVNode(e.Fragment,null,[e.createVNode("div",{ref:c,class:"v-virtual-scroll__spacer",style:{paddingTop:Y(f.value)}},null),m,e.createVNode("div",{class:"v-virtual-scroll__spacer",style:{paddingBottom:Y(p.value)}},null)]):e.createVNode("div",{ref:i,class:["v-virtual-scroll",n.class],onScrollPassive:u,onScrollend:a,style:[r.value,n.style]},[e.createVNode("div",{ref:c,class:"v-virtual-scroll__container",style:{paddingTop:Y(f.value),paddingBottom:Y(p.value)}},[m])])}),{scrollToIndex:v}}});function jr(n,o){const t=e.shallowRef(!1);let l;return{onListScroll:function(r){cancelAnimationFrame(l),t.value=!0,l=requestAnimationFrame(()=>{l=requestAnimationFrame(()=>{t.value=!1})})},onListKeydown:async function(r){var u,a;if(r.key==="Tab"&&((u=o.value)==null||u.focus()),!["PageDown","PageUp","Home","End"].includes(r.key))return;const i=(a=n.value)==null?void 0:a.$el;if(!i)return;r.key!=="Home"&&r.key!=="End"||i.scrollTo({top:r.key==="Home"?0:i.scrollHeight,behavior:"smooth"}),await async function(){await new Promise(s=>requestAnimationFrame(s)),await new Promise(s=>requestAnimationFrame(s)),await new Promise(s=>requestAnimationFrame(s)),await new Promise(s=>{if(t.value){const v=e.watch(t,()=>{v(),s()})}else s()})}();const c=i.querySelectorAll(":scope > :not(.v-virtual-scroll__spacer)");if(r.key==="PageDown"||r.key==="Home"){const s=i.getBoundingClientRect().top;for(const v of c)if(v.getBoundingClientRect().top>=s){v.focus();break}}else{const s=i.getBoundingClientRect().bottom;for(const v of[...c].reverse())if(v.getBoundingClientRect().bottom<=s){v.focus();break}}}}}const Ur=U({chips:Boolean,closableChips:Boolean,closeText:{type:String,default:"$vuetify.close"},openText:{type:String,default:"$vuetify.open"},eager:Boolean,hideNoData:Boolean,hideSelected:Boolean,menu:Boolean,menuIcon:{type:Q,default:"$dropdown"},menuProps:{type:Object},multiple:Boolean,noDataText:{type:String,default:"$vuetify.noDataText"},openOnClear:Boolean,itemColor:String,...Ll({itemChildren:!1})},"Select"),Gr=U({...Ur(),...Oe(Kl({modelValue:null,role:"button"}),["validationValue","dirty","appendInnerIcon"]),...Sn({transition:{component:ll}})},"VSelect"),qr=H()({name:"VSelect",props:Gr(),emits:{"update:focused":n=>!0,"update:modelValue":n=>!0,"update:menu":n=>!0},setup(n,o){let{slots:t}=o;const{t:l}=Tt(),r=e.ref(),i=e.ref(),c=e.ref(),u=ne(n,"menu"),a=e.computed({get:()=>u.value,set:S=>{var w;u.value&&!S&&((w=i.value)!=null&&w.ΨopenChildren)||(u.value=S)}}),{items:s,transformIn:v,transformOut:f}=function(S){const w=e.computed(()=>Ml(S,S.items)),P=e.computed(()=>w.value.some($=>$.value===null));return{items:w,transformIn:function($){return P.value||($=$.filter(R=>R!==null)),$.map(R=>S.returnObject&&typeof R=="string"?Vt(S,R):w.value.find(x=>S.valueComparator(R,x.value))||Vt(S,R))},transformOut:function($){return S.returnObject?$.map(R=>{let{raw:x}=R;return x}):$.map(R=>{let{value:x}=R;return x})}}}(n),p=ne(n,"modelValue",[],S=>v(S===null?[null]:Ce(S)),S=>{const w=f(S);return n.multiple?w:w[0]??null}),d=_l(),m=e.computed(()=>p.value.map(S=>S.value)),y=e.shallowRef(!1),g=e.computed(()=>a.value?n.closeText:n.openText);let b,F="";const N=e.computed(()=>n.hideSelected?s.value.filter(S=>!p.value.some(w=>w===S)):s.value),j=e.computed(()=>n.hideNoData&&!s.value.length||n.readonly||(d==null?void 0:d.isReadonly.value)),E=e.ref(),{onListScroll:z,onListKeydown:D}=jr(E,r);function _(S){n.openOnClear&&(a.value=!0)}function V(){j.value||(a.value=!a.value)}function A(S){var $,R;if(!S.key||n.readonly||d!=null&&d.isReadonly.value||(["Enter"," ","ArrowDown","ArrowUp","Home","End"].includes(S.key)&&S.preventDefault(),["Enter","ArrowDown"," "].includes(S.key)&&(a.value=!0),["Escape","Tab"].includes(S.key)&&(a.value=!1),S.key==="Home"?($=E.value)==null||$.focus("first"):S.key==="End"&&((R=E.value)==null||R.focus("last")),n.multiple||!function(x){const T=x.key.length===1,G=!x.ctrlKey&&!x.metaKey&&!x.altKey;return T&&G}(S)))return;const w=performance.now();w-b>1e3&&(F=""),F+=S.key.toLowerCase(),b=w;const P=s.value.find(x=>x.title.toLowerCase().startsWith(F));P!==void 0&&(p.value=[P])}function h(S){if(n.multiple){const w=p.value.findIndex(P=>n.valueComparator(P.value,S.value));if(w===-1)p.value=[...p.value,S];else{const P=[...p.value];P.splice(w,1),p.value=P}}else p.value=[S],a.value=!1}function I(S){var w;(w=E.value)!=null&&w.$el.contains(S.relatedTarget)||(a.value=!1)}function B(){var S;y.value&&((S=r.value)==null||S.focus())}function L(S){y.value=!0}function M(S){if(S==null)p.value=[];else if(Ln(r.value,":autofill")||Ln(r.value,":-webkit-autofill")){const w=s.value.find(P=>P.title===S);w&&h(w)}else r.value&&(r.value.value="")}return e.watch(a,()=>{if(!n.hideSelected&&a.value&&p.value.length){const S=N.value.findIndex(w=>p.value.some(P=>n.valueComparator(P.value,w.value)));ue&&window.requestAnimationFrame(()=>{var w;S>=0&&((w=c.value)==null||w.scrollToIndex(S))})}}),J(()=>{const S=!(!n.chips&&!t.chip),w=!!(!n.hideNoData||N.value.length||t["prepend-item"]||t["append-item"]||t["no-data"]),P=p.value.length>0,$=kt.filterProps(n),R=P||!y.value&&n.label&&!n.persistentPlaceholder?void 0:n.placeholder;return e.createVNode(kt,e.mergeProps({ref:r},$,{modelValue:p.value.map(x=>x.props.value).join(", "),"onUpdate:modelValue":M,focused:y.value,"onUpdate:focused":x=>y.value=x,validationValue:p.externalValue,counterValue:p.value.length,dirty:P,class:["v-select",{"v-select--active-menu":a.value,"v-select--chips":!!n.chips,["v-select--"+(n.multiple?"multiple":"single")]:!0,"v-select--selected":p.value.length,"v-select--selection-slot":!!t.selection},n.class],style:n.style,inputmode:"none",placeholder:R,"onClick:clear":_,"onMousedown:control":V,onBlur:I,onKeydown:A,"aria-label":l(g.value),title:l(g.value)}),{...t,default:()=>e.createVNode(e.Fragment,null,[e.createVNode(_r,e.mergeProps({ref:i,modelValue:a.value,"onUpdate:modelValue":x=>a.value=x,activator:"parent",contentClass:"v-select__content",disabled:j.value,eager:n.eager,maxHeight:310,openOnClick:!1,closeOnContentClick:!1,transition:n.transition,onAfterLeave:B},n.menuProps),{default:()=>[w&&e.createVNode(Cr,{ref:E,selected:m.value,selectStrategy:n.multiple?"independent":"single-independent",onMousedown:x=>x.preventDefault(),onKeydown:D,onFocusin:L,onScrollPassive:z,tabindex:"-1",color:n.itemColor??n.color},{default:()=>{var x,T,G;return[(x=t["prepend-item"])==null?void 0:x.call(t),!N.value.length&&!n.hideNoData&&(((T=t["no-data"])==null?void 0:T.call(t))??e.createVNode(Hn,{title:l(n.noDataText)},null)),e.createVNode(Wr,{ref:c,renderless:!0,items:N.value},{default:C=>{var K;let{item:k,index:O,itemRef:W}=C;const q=e.mergeProps(k.props,{ref:W,key:O,onClick:()=>h(k)});return((K=t.item)==null?void 0:K.call(t,{item:k,index:O,props:q}))??e.createVNode(Hn,q,{prepend:te=>{let{isSelected:re}=te;return e.createVNode(e.Fragment,null,[n.multiple&&!n.hideSelected?e.createVNode(bt,{key:k.value,modelValue:re,ripple:!1,tabindex:"-1"},null):void 0,k.props.prependIcon&&e.createVNode(ee,{icon:k.props.prependIcon},null)])}})}}),(G=t["append-item"])==null?void 0:G.call(t)]}})]}),p.value.map((x,T)=>{const G={"onClick:close":function(O){O.stopPropagation(),O.preventDefault(),h(x)},onMousedown(O){O.preventDefault(),O.stopPropagation()},modelValue:!0,"onUpdate:modelValue":void 0},C=S?!!t.chip:!!t.selection,k=C?Yo(S?t.chip({item:x,index:T,props:G}):t.selection({item:x,index:T})):void 0;if(!C||k)return e.createVNode("div",{key:x.value,class:"v-select__selection"},[S?t.chip?e.createVNode(ae,{key:"chip-defaults",defaults:{VChip:{closable:n.closableChips,size:"small",text:x.title}}},{default:()=>[k]}):e.createVNode(or,e.mergeProps({key:"chip",closable:n.closableChips,size:"small",text:x.title,disabled:x.props.disabled},G),null):k??e.createVNode("span",{class:"v-select__selection-text"},[x.title,n.multiple&&T{var l;return e.createVNode("div",{class:["v-card-actions",n.class],style:n.style},[(l=t.default)==null?void 0:l.call(t)])}),{}}}),Yr=bn("v-card-subtitle"),Xr=bn("v-card-title"),Kr=U({appendAvatar:String,appendIcon:Q,prependAvatar:String,prependIcon:Q,subtitle:String,title:String,...Z(),...he()},"VCardItem"),Jr=H()({name:"VCardItem",props:Kr(),setup(n,o){let{slots:t}=o;return J(()=>{var s;const l=!(!n.prependAvatar&&!n.prependIcon),r=!(!l&&!t.prepend),i=!(!n.appendAvatar&&!n.appendIcon),c=!(!i&&!t.append),u=!(!n.title&&!t.title),a=!(!n.subtitle&&!t.subtitle);return e.createVNode("div",{class:["v-card-item",n.class],style:n.style},[r&&e.createVNode("div",{key:"prepend",class:"v-card-item__prepend"},[t.prepend?e.createVNode(ae,{key:"prepend-defaults",disabled:!l,defaults:{VAvatar:{density:n.density,icon:n.prependIcon,image:n.prependAvatar}}},t.prepend):l&&e.createVNode(Je,{key:"prepend-avatar",density:n.density,icon:n.prependIcon,image:n.prependAvatar},null)]),e.createVNode("div",{class:"v-card-item__content"},[u&&e.createVNode(Xr,{key:"title"},{default:()=>{var v;return[((v=t.title)==null?void 0:v.call(t))??n.title]}}),a&&e.createVNode(Yr,{key:"subtitle"},{default:()=>{var v;return[((v=t.subtitle)==null?void 0:v.call(t))??n.subtitle]}}),(s=t.default)==null?void 0:s.call(t)]),c&&e.createVNode("div",{key:"append",class:"v-card-item__append"},[t.append?e.createVNode(ae,{key:"append-defaults",disabled:!i,defaults:{VAvatar:{density:n.density,icon:n.appendIcon,image:n.appendAvatar}}},t.append):i&&e.createVNode(Je,{key:"append-avatar",density:n.density,icon:n.appendIcon,image:n.appendAvatar},null)])])}),{}}}),Pe=bn("v-card-text"),Zr=U({appendAvatar:String,appendIcon:Q,disabled:Boolean,flat:Boolean,hover:Boolean,image:String,link:{type:Boolean,default:void 0},prependAvatar:String,prependIcon:Q,ripple:{type:[Boolean,Object],default:!0},subtitle:String,text:String,title:String,...Qe(),...Z(),...he(),...Ee(),...nn(),...Mt(),...Dt(),...gl(),...Ve(),...nt(),...pe(),...le(),...xe({variant:"elevated"})},"VCard"),je=H()({name:"VCard",directives:{Ripple:kn},props:Zr(),setup(n,o){let{attrs:t,slots:l}=o;const{themeClasses:r}=ie(n),{borderClasses:i}=en(n),{colorClasses:c,colorStyles:u,variantClasses:a}=In(n),{densityClasses:s}=Be(n),{dimensionStyles:v}=ze(n),{elevationClasses:f}=tn(n),{loaderClasses:p}=Qn(n),{locationStyles:d}=Lt(n),{positionClasses:m}=hl(n),{roundedClasses:y}=Ie(n),g=et(n,t),b=e.computed(()=>n.link!==!1&&g.isLink.value),F=e.computed(()=>!n.disabled&&n.link!==!1&&(n.link||g.isClickable.value));return J(()=>{const N=b.value?"a":n.tag,j=!(!l.title&&!n.title),E=!(!l.subtitle&&!n.subtitle),z=j||E,D=!!(l.append||n.appendAvatar||n.appendIcon),_=!!(l.prepend||n.prependAvatar||n.prependIcon),V=!(!l.image&&!n.image),A=z||_||D,h=!(!l.text&&!n.text);return e.withDirectives(e.createVNode(N,{class:["v-card",{"v-card--disabled":n.disabled,"v-card--flat":n.flat,"v-card--hover":n.hover&&!(n.disabled||n.flat),"v-card--link":F.value},r.value,i.value,c.value,s.value,f.value,p.value,m.value,y.value,a.value,n.class],style:[u.value,v.value,d.value,n.style],href:g.href.value,onClick:F.value&&g.navigate,tabindex:n.disabled?-1:void 0},{default:()=>{var I;return[V&&e.createVNode("div",{key:"image",class:"v-card__image"},[l.image?e.createVNode(ae,{key:"image-defaults",disabled:!n.image,defaults:{VImg:{cover:!0,src:n.image}}},l.image):e.createVNode(sl,{key:"image-img",cover:!0,src:n.image},null)]),e.createVNode(Wt,{name:"v-card",active:!!n.loading,color:typeof n.loading=="boolean"?void 0:n.loading},{default:l.loader}),A&&e.createVNode(Jr,{key:"item",prependAvatar:n.prependAvatar,prependIcon:n.prependIcon,title:n.title,subtitle:n.subtitle,appendAvatar:n.appendAvatar,appendIcon:n.appendIcon},{default:l.item,prepend:l.prepend,title:l.title,subtitle:l.subtitle,append:l.append}),h&&e.createVNode(Pe,{key:"text"},{default:()=>{var B;return[((B=l.text)==null?void 0:B.call(l))??n.text]}}),(I=l.default)==null?void 0:I.call(l),l.actions&&e.createVNode(Hr,null,{default:l.actions}),Vn(F.value,"v-card")]}}),[[e.resolveDirective("ripple"),F.value&&n.ripple]])}),{}}}),Qr=U({indeterminate:Boolean,inset:Boolean,flat:Boolean,loading:{type:[Boolean,String],default:!1},...Fn(),...jt()},"VSwitch"),ei=H()({name:"VSwitch",inheritAttrs:!1,props:Qr(),emits:{"update:focused":n=>!0,"update:modelValue":n=>!0,"update:indeterminate":n=>!0},setup(n,o){let{attrs:t,slots:l}=o;const r=ne(n,"indeterminate"),i=ne(n,"modelValue"),{loaderClasses:c}=Qn(n),{isFocused:u,focus:a,blur:s}=xn(n),v=e.ref(),f=e.computed(()=>typeof n.loading=="string"&&n.loading!==""?n.loading:n.color),p=fe(),d=e.computed(()=>n.id||`switch-${p}`);function m(){r.value&&(r.value=!1)}function y(g){var b,F;g.stopPropagation(),g.preventDefault(),(F=(b=v.value)==null?void 0:b.input)==null||F.click()}return J(()=>{const[g,b]=hn(t),F=ke.filterProps(n),N=qn.filterProps(n);return e.createVNode(ke,e.mergeProps({class:["v-switch",{"v-switch--inset":n.inset},{"v-switch--indeterminate":r.value},c.value,n.class]},g,F,{modelValue:i.value,"onUpdate:modelValue":j=>i.value=j,id:d.value,focused:u.value,style:n.style}),{...l,default:j=>{let{id:E,messagesId:z,isDisabled:D,isReadonly:_,isValid:V}=j;return e.createVNode(qn,e.mergeProps({ref:v},N,{modelValue:i.value,"onUpdate:modelValue":[A=>i.value=A,m],id:E.value,"aria-describedby":z.value,type:"checkbox","aria-checked":r.value?"mixed":void 0,disabled:D.value,readonly:_.value,onFocus:a,onBlur:s},b),{...l,default:A=>{let{backgroundColorClasses:h,backgroundColorStyles:I}=A;return e.createVNode("div",{class:["v-switch__track",...h.value],style:I.value,onClick:y},null)},input:A=>{let{inputNode:h,icon:I,backgroundColorClasses:B,backgroundColorStyles:L}=A;return e.createVNode(e.Fragment,null,[h,e.createVNode("div",{class:["v-switch__thumb",{"v-switch__thumb--filled":I||n.loading},n.inset?void 0:B.value],style:n.inset?void 0:L.value},[e.createVNode(Na,null,{default:()=>[n.loading?e.createVNode(Wt,{name:"v-switch",active:!0,color:V.value===!1?void 0:f.value},{default:M=>l.loader?l.loader(M):e.createVNode(yl,{active:M.isActive,color:M.color,indeterminate:!0,size:"16",width:"2"},null)}):I&&e.createVNode(ee,{key:I,icon:I,size:"x-small"},null)]})])])}})}})}),{}}}),ni=U({autoGrow:Boolean,autofocus:Boolean,counter:[Boolean,Number,String],counterValue:Function,prefix:String,placeholder:String,persistentPlaceholder:Boolean,persistentCounter:Boolean,noResize:Boolean,rows:{type:[Number,String],default:5,validator:n=>!isNaN(parseFloat(n))},maxRows:{type:[Number,String],validator:n=>!isNaN(parseFloat(n))},suffix:String,modelModifiers:Object,...Fn(),...Ut()},"VTextarea"),ti=H()({name:"VTextarea",directives:{Intersect:$t},inheritAttrs:!1,props:ni(),emits:{"click:control":n=>!0,"mousedown:control":n=>!0,"update:focused":n=>!0,"update:modelValue":n=>!0},setup(n,o){let{attrs:t,emit:l,slots:r}=o;const i=ne(n,"modelValue"),{isFocused:c,focus:u,blur:a}=xn(n),s=e.computed(()=>typeof n.counterValue=="function"?n.counterValue(i.value):(i.value||"").toString().length),v=e.computed(()=>t.maxlength?t.maxlength:!n.counter||typeof n.counter!="number"&&typeof n.counter!="string"?void 0:n.counter);function f(h,I){var B,L;n.autofocus&&h&&((L=(B=I[0].target)==null?void 0:B.focus)==null||L.call(B))}const p=e.ref(),d=e.ref(),m=e.shallowRef(""),y=e.ref(),g=e.computed(()=>n.persistentPlaceholder||c.value||n.active);function b(){var h;y.value!==document.activeElement&&((h=y.value)==null||h.focus()),c.value||u()}function F(h){b(),l("click:control",h)}function N(h){l("mousedown:control",h)}function j(h){h.stopPropagation(),b(),e.nextTick(()=>{i.value="",qo(n["onClick:clear"],h)})}function E(h){var B;const I=h.target;if(i.value=I.value,(B=n.modelModifiers)==null?void 0:B.trim){const L=[I.selectionStart,I.selectionEnd];e.nextTick(()=>{I.selectionStart=L[0],I.selectionEnd=L[1]})}}const z=e.ref(),D=e.ref(+n.rows),_=e.computed(()=>["plain","underlined"].includes(n.variant));function V(){n.autoGrow&&e.nextTick(()=>{if(!z.value||!d.value)return;const h=getComputedStyle(z.value),I=getComputedStyle(d.value.$el),B=parseFloat(h.getPropertyValue("--v-field-padding-top"))+parseFloat(h.getPropertyValue("--v-input-padding-top"))+parseFloat(h.getPropertyValue("--v-field-padding-bottom")),L=z.value.scrollHeight,M=parseFloat(h.lineHeight),S=We(L??0,Math.max(parseFloat(n.rows)*M+B,parseFloat(I.getPropertyValue("--v-input-control-height"))),parseFloat(n.maxRows)*M+B||1/0);D.value=Math.floor((S-B)/M),m.value=Y(S)})}let A;return e.watchEffect(()=>{n.autoGrow||(D.value=+n.rows)}),e.onMounted(V),e.watch(i,V),e.watch(()=>n.rows,V),e.watch(()=>n.maxRows,V),e.watch(()=>n.density,V),e.watch(z,h=>{h?(A=new ResizeObserver(V),A.observe(z.value)):A==null||A.disconnect()}),e.onBeforeUnmount(()=>{A==null||A.disconnect()}),J(()=>{const h=!!(r.counter||n.counter||n.counterValue),I=!(!h&&!r.details),[B,L]=hn(t),{modelValue:M,...S}=ke.filterProps(n),w=Xl(n);return e.createVNode(ke,e.mergeProps({ref:p,modelValue:i.value,"onUpdate:modelValue":P=>i.value=P,class:["v-textarea v-text-field",{"v-textarea--prefixed":n.prefix,"v-textarea--suffixed":n.suffix,"v-text-field--prefixed":n.prefix,"v-text-field--suffixed":n.suffix,"v-textarea--auto-grow":n.autoGrow,"v-textarea--no-resize":n.noResize||n.autoGrow,"v-input--plain-underlined":_.value},n.class],style:n.style},B,S,{centerAffix:D.value===1&&!_.value,focused:c.value}),{...r,default:P=>{let{id:$,isDisabled:R,isDirty:x,isReadonly:T,isValid:G}=P;return e.createVNode(Gt,e.mergeProps({ref:d,style:{"--v-textarea-control-height":m.value},onClick:F,onMousedown:N,"onClick:clear":j,"onClick:prependInner":n["onClick:prependInner"],"onClick:appendInner":n["onClick:appendInner"]},w,{id:$.value,active:g.value||x.value,centerAffix:D.value===1&&!_.value,dirty:x.value||n.dirty,disabled:R.value,focused:c.value,error:G.value===!1}),{...r,default:C=>{let{props:{class:k,...O}}=C;return e.createVNode(e.Fragment,null,[n.prefix&&e.createVNode("span",{class:"v-text-field__prefix"},[n.prefix]),e.withDirectives(e.createVNode("textarea",e.mergeProps({ref:y,class:k,value:i.value,onInput:E,autofocus:n.autofocus,readonly:T.value,disabled:R.value,placeholder:n.placeholder,rows:n.rows,name:n.name,onFocus:b,onBlur:a},O,L),null),[[e.resolveDirective("intersect"),{handler:f},null,{once:!0}]]),n.autoGrow&&e.withDirectives(e.createVNode("textarea",{class:[k,"v-textarea__sizer"],id:`${O.id}-sizer`,"onUpdate:modelValue":W=>i.value=W,ref:z,readonly:!0,"aria-hidden":"true"},null),[[e.vModelText,i.value]]),n.suffix&&e.createVNode("span",{class:"v-text-field__suffix"},[n.suffix])])}})},details:I?P=>{var $;return e.createVNode(e.Fragment,null,[($=r.details)==null?void 0:$.call(r,P),h&&e.createVNode(e.Fragment,null,[e.createVNode("span",null,null),e.createVNode(Yl,{active:n.persistentCounter||c.value,value:s.value,max:v.value},r.counter)])])}:void 0})}),tt({},p,d,y)}}),Jl=e.defineComponent({__name:"BooleanIcons",props:e.mergeModels({iconFalseColor:{},iconFalseTitle:{},iconTrueColor:{},iconTrueTitle:{},iconFalse:{},iconTrue:{}},{modelValue:{}}),emits:["update:modelValue"],setup(n){const o=n,t=e.inject(Symbol.for("vuetify:icons")),l=e.useModel(n,"modelValue"),r=e.computed(()=>ve({icon:o.iconFalse,iconOptions:t,name:"false"})),i=e.computed(()=>ve({icon:o.iconTrue,iconOptions:t,name:"true"}));return(c,u)=>l.value?(e.openBlock(),e.createBlock(e.unref(ee),{key:0,class:"v-inline-fields--boolean-icons fa-fw",color:c.iconTrueColor,icon:e.unref(i),size:"x-small",title:c.iconTrueTitle},null,8,["color","icon","title"])):(e.openBlock(),e.createBlock(e.unref(ee),{key:1,class:"v-inline-fields--boolean-icons fa-fw",color:c.iconFalseColor,icon:e.unref(r),size:"x-small",title:c.iconFalseTitle},null,8,["color","icon","title"]))}}),X="v-inline-fields",Ue=n=>{const{cell:o=!1,field:t="",density:l="",disabled:r=!1,iconSet:i="mdi",loading:c=!1,loadingWait:u,tableField:a=!1,variant:s}=n,v=l&&s;return{[`${X}`]:!0,[`${X}--container`]:!0,[`${X}--container-cell`]:o,[`${X}--container-disabled`]:e.unref(r),[`${X}--container-table`]:a,[`${X}--container-icon-set-${i}`]:!0,[`${X}--container-loading`]:c&&u,[`${X}--container-${t}`]:!0,[`${X}--container-${t}-${l}`]:!0,[`${X}--container-${t}-${l}-${s}`]:v,[`${X}--container-${t}-${s}`]:s,[`${X}--container-${t}-${s}-${l}`]:v,[`${X}--container-${l}`]:l,[`${X}--container-${l}-${t}`]:l,[`${X}--container-${l}-${s}`]:v,[`${X}--container-${s}`]:s,[`${X}--container-${s}-${l}`]:v,[`${X}--container-${s}-${t}`]:s}},Ge=n=>{const{cell:o=!1,cellUnderlineFullWidth:t=!0,field:l="",density:r=""}=n;return{[`${X}--display-container-cell`]:o,[`${X}--display-container-cell-underline-full-width`]:o&&t,[`${X}--display-container`]:!0,[`${X}--display-wrapper-value`]:!0,[`${l}`]:!0,"v-input":!0,[`v-input--density-${r}`]:!0,"v-input--horizontal":!0}},Xn=n=>{const{density:o="",variant:t=""}=n;return{"v-input":!0,"v-input--dirty":!0,"v-input--horizontal":!0,"v-text-field":!0,[`v-input--density-${o}`]:!0,[`v-text-field--plain-${t}`]:!0}},Zl=n=>{const{density:o=""}=n;return{[`${X}--selection-control`]:!0,[`v-selection-control--density-${o}`]:!0}},qt=(n,o,t)=>{const{error:l=!1,empty:r=!1}=t;return{[`${X}`]:!0,[`${X}--display-value-${n}`]:!0,[`${X}--display-value`]:!0,[`${X}--display-value-empty`]:e.unref(r),[`text-${o}`]:!e.unref(l),"text-danger":e.unref(l)}},qe=n=>{const{name:o,active:t=!1}=n;return{[`${X}`]:!0,[`${X}--field`]:!0,[`${X}--field-${o}`]:!0,[`${X}--field-active`]:t}},He=n=>{const{name:o,showField:t}=n;return{[`${X}--card-container`]:!0,[`${X}--card-container-${o}`]:!0,"d-none":!t}};function Do(n){if(!n)return 100;if(n.toString().includes(".")){const o=100*Number(n);return o>=100?100:o}return Number(n)>=100?100:Number(n)}function Lo(n){let o=function(f){const p={AliceBlue:"#F0F8FF",AntiqueWhite:"#FAEBD7",Aqua:"#00FFFF",Aquamarine:"#7FFFD4",Azure:"#F0FFFF",Beige:"#F5F5DC",Bisque:"#FFE4C4",Black:"#000000",BlanchedAlmond:"#FFEBCD",Blue:"#0000FF",BlueViolet:"#8A2BE2",Brown:"#A52A2A",BurlyWood:"#DEB887",CadetBlue:"#5F9EA0",Chartreuse:"#7FFF00",Chocolate:"#D2691E",Coral:"#FF7F50",CornflowerBlue:"#6495ED",Cornsilk:"#FFF8DC",Crimson:"#DC143C",Cyan:"#00FFFF",DarkBlue:"#00008B",DarkCyan:"#008B8B",DarkGoldenRod:"#B8860B",DarkGray:"#A9A9A9",DarkGreen:"#006400",DarkGrey:"#A9A9A9",DarkKhaki:"#BDB76B",DarkMagenta:"#8B008B",DarkOliveGreen:"#556B2F",DarkOrange:"#FF8C00",DarkOrchid:"#9932CC",DarkRed:"#8B0000",DarkSalmon:"#E9967A",DarkSeaGreen:"#8FBC8F",DarkSlateBlue:"#483D8B",DarkSlateGray:"#2F4F4F",DarkSlateGrey:"#2F4F4F",DarkTurquoise:"#00CED1",DarkViolet:"#9400D3",DeepPink:"#FF1493",DeepSkyBlue:"#00BFFF",DimGray:"#696969",DimGrey:"#696969",DodgerBlue:"#1E90FF",FireBrick:"#B22222",FloralWhite:"#FFFAF0",ForestGreen:"#228B22",Fuchsia:"#FF00FF",Gainsboro:"#DCDCDC",GhostWhite:"#F8F8FF",Gold:"#FFD700",GoldenRod:"#DAA520",Gray:"#808080",Green:"#008000",GreenYellow:"#ADFF2F",Grey:"#808080",HoneyDew:"#F0FFF0",HotPink:"#FF69B4",IndianRed:"#CD5C5C",Indigo:"#4B0082",Ivory:"#FFFFF0",Khaki:"#F0E68C",Lavender:"#E6E6FA",LavenderBlush:"#FFF0F5",LawnGreen:"#7CFC00",LemonChiffon:"#FFFACD",LightBlue:"#ADD8E6",LightCoral:"#F08080",LightCyan:"#E0FFFF",LightGoldenRodYellow:"#FAFAD2",LightGray:"#D3D3D3",LightGreen:"#90EE90",LightGrey:"#D3D3D3",LightPink:"#FFB6C1",LightSalmon:"#FFA07A",LightSeaGreen:"#20B2AA",LightSkyBlue:"#87CEFA",LightSlateGray:"#778899",LightSlateGrey:"#778899",LightSteelBlue:"#B0C4DE",LightYellow:"#FFFFE0",Lime:"#00FF00",LimeGreen:"#32CD32",Linen:"#FAF0E6",Magenta:"#FF00FF",Maroon:"#800000",MediumAquaMarine:"#66CDAA",MediumBlue:"#0000CD",MediumOrchid:"#BA55D3",MediumPurple:"#9370DB",MediumSeaGreen:"#3CB371",MediumSlateBlue:"#7B68EE",MediumSpringGreen:"#00FA9A",MediumTurquoise:"#48D1CC",MediumVioletRed:"#C71585",MidnightBlue:"#191970",MintCream:"#F5FFFA",MistyRose:"#FFE4E1",Moccasin:"#FFE4B5",NavajoWhite:"#FFDEAD",Navy:"#000080",OldLace:"#FDF5E6",Olive:"#808000",OliveDrab:"#6B8E23",Orange:"#FFA500",OrangeRed:"#FF4500",Orchid:"#DA70D6",PaleGoldenRod:"#EEE8AA",PaleGreen:"#98FB98",PaleTurquoise:"#AFEEEE",PaleVioletRed:"#DB7093",PapayaWhip:"#FFEFD5",PeachPuff:"#FFDAB9",Peru:"#CD853F",Pink:"#FFC0CB",Plum:"#DDA0DD",PowderBlue:"#B0E0E6",Purple:"#800080",RebeccaPurple:"#663399",Red:"#FF0000",RosyBrown:"#BC8F8F",RoyalBlue:"#4169E1",SaddleBrown:"#8B4513",Salmon:"#FA8072",SandyBrown:"#F4A460",SeaGreen:"#2E8B57",SeaShell:"#FFF5EE",Sienna:"#A0522D",Silver:"#C0C0C0",SkyBlue:"#87CEEB",SlateBlue:"#6A5ACD",SlateGray:"#708090",SlateGrey:"#708090",Snow:"#FFFAFA",SpringGreen:"#00FF7F",SteelBlue:"#4682B4",Tan:"#D2B48C",Teal:"#008080",Thistle:"#D8BFD8",Tomato:"#FF6347",Turquoise:"#40E0D0",Violet:"#EE82EE",Wheat:"#F5DEB3",White:"#FFFFFF",WhiteSmoke:"#F5F5F5",Yellow:"#FFFF00",YellowGreen:"#9ACD32"};let d=f;return Object.entries(p).forEach(([m,y])=>{f.toLowerCase()!=m.toLowerCase()||(d=y)}),d}(n),t=0,l=0,r=0,i=100,c=0,u=0,a=0;if(o.substring(0,1)==="#")o=function(f){let p=f.replace("#","");p.length===3&&(p=p.split("").map(b=>b+b).join(""));const d=parseInt(p.substring(0,2),16),m=parseInt(p.substring(2,4),16),y=parseInt(p.substring(4,6),16);return[d,m,y,100]}(o);else if(o.includes("rgb"))o=[...o.matchAll(/[\d+.\d+]+/g)].map(Number);else if(o.includes("hsl"))return o=[...o.matchAll(/[\d+.\d+]+/g)].map(String),t=o[0],l=o[1],r=o[2],i=Do(o[3]),`${t} ${l}% ${r}% / ${i}%`;[c,u,a,i]=o,c/=255,u/=255,a/=255,i=Do(i);const s=Math.max(c,u,a),v=Math.min(c,u,a);if(s===null||!v===null||isNaN(s)||isNaN(v)){const f="0 0% 100% / 12%";return console.warn(`[VuetifyInlineFields: The "color" prop value using "${o}" doesn't exist. Using the value "hsl(${f})" in it's place.`),f}if(t=(s+v)/2,l=(s+v)/2,r=(s+v)/2,s==v)t=l=0;else{const f=s-v;switch(l=r>.5?f/(2-s-v):f/(s+v),s){case c:t=(u-a)/f+(u{if(function(l){return l==="transparent"||l==="none"||l==="inherit"||l==="currentColor"||l==="initial"||l==="unset"}(n))return n;if(function(l){return l.includes("--v-theme")}(n))return`rgb(var(${n}))`;const t=function(l,r){const i=r.global.current.value.colors;return Object.entries(i).find(([c])=>c===l)}(n,o);return t?`hsl(${Lo(t[1])})`:`hsl(${Lo(n)})`},rn=n=>{const{str:o,unit:t="px"}=n;if(o!=null&&o!=="")return+o?`${Number(o)}${t}`:String(o)},Ql=n=>{var r;const{modelValue:o,trueValue:t}=n,l=e.unref(o);return((r=l==null?void 0:l.toLowerCase)==null?void 0:r.call(l))==="true"||l==="1"||l=="1"||l===!0||l==t||l===t},Ht=n=>{const{underlineStyle:o,underlineWidth:t,color:l,error:r,theme:i,underlined:c}=n;let{underlineColor:u}=n;u=u||l;const a={"border-bottom-color":oi(u,i),"border-bottom-style":o,"border-bottom-width":t};return e.unref(r)&&(a["border-bottom-color"]="rgb(var(--v-theme-danger))"),c||(a["border-bottom"]="none"),a},_e=n=>{const{cardMinWidth:o,cardOffsetX:t,cardOffsetY:l,cardWidth:r,field:i,name:c=""}=n,u=(v=>{const{cardOffsetX:f,cardOffsetY:p,field:d}=v;if(!d)return{bottom:0,height:0,left:0,right:0,top:0,width:0,x:0,y:0};const{x:m,y}=d.getBoundingClientRect(),{width:g,height:b}=d.getBoundingClientRect(),{right:F,bottom:N}=d.getBoundingClientRect();return{bottom:rn({str:N+Number(p)}),height:b,left:rn({str:0+Number(f)}),right:rn({str:F+Number(f)}),top:rn({str:2+Number(p)}),width:rn({str:g}),x:m,y}})({cardOffsetX:t,cardOffsetY:l,field:i});let a=o,s=r;return s||(s=c==="checkbox"?"fit-content":u.width),a||(a=c==="checkbox"?"fit-content":u.width),{left:u.left,top:u.top,width:s,zIndex:10}},Kn=e.defineComponent({__name:"DisplayedValue",props:{color:{},displayAppendIcon:{},displayAppendIconColor:{},displayAppendInnerIcon:{},displayAppendInnerIconColor:{},displayPrependIcon:{},displayPrependIconColor:{},displayPrependInnerIcon:{},displayPrependInnerIconColor:{},displayValue:{},empty:{type:Boolean},error:{type:Boolean},field:{},underlineColor:{},underlineStyle:{},underlineWidth:{},underlined:{type:Boolean}},emits:["toggleField"],setup(n,{emit:o}){const t=o,l=n,r=e.useSlots(),i=Ft.useTheme(),c={displayValue:l.displayValue,empty:l.empty,error:l.error},u=e.computed(()=>qt(l.field,l.valueColor,{empty:l.empty,error:l.error})),a=e.computed(()=>Ht({color:l.color,error:l.error,theme:i,underlineColor:l.underlineColor,underlineStyle:l.underlineStyle,underlineWidth:l.underlineWidth,underlined:l.underlined})),s=e.computed(()=>(p=>{const{underlineWidth:d}=p;return{borderBottom:`${d||"0px"} solid transparent`}})({underlineWidth:l.underlineWidth})),v=(p,d=!1)=>(m=>{const{inner:y=!1,position:g}=m;return{[`${X}--display-icon`]:!y,[`${X}--display-${g}-icon`]:!y,[`${X}--display-${g}-inner-icon`]:y,"me-1":g==="prepend","ms-1":g==="append"}})({inner:d,position:p});function f(){t("toggleField")}return(p,d)=>(e.openBlock(),e.createElementBlock("div",{class:"v-inline-fields--display-wrapper",onClick:f},[p.displayPrependIcon||e.unref(r)["display.prepend"]?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(v("prepend")),style:e.normalizeStyle(e.unref(s))},[e.unref(r)["display.prepend"]?e.renderSlot(p.$slots,"display.prepend",e.normalizeProps(e.mergeProps({key:0},c))):(e.openBlock(),e.createBlock(ee,{key:1,color:p.displayPrependIconColor,icon:p.displayPrependIcon,size:"x-small"},null,8,["color","icon"]))],6)):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(["d-inline-flex",e.unref(u)]),style:e.normalizeStyle(e.unref(a))},[p.displayPrependInnerIcon||e.unref(r)["display.prependInner"]?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(v("prepend",!0))},[e.unref(r)["display.prependInner"]?e.renderSlot(p.$slots,"display.prependInner",e.normalizeProps(e.mergeProps({key:0},c))):(e.openBlock(),e.createBlock(ee,{key:1,color:p.displayPrependInnerIconColor,icon:p.displayPrependInnerIcon,size:"x-small"},null,8,["color","icon"]))],2)):e.createCommentVNode("",!0),e.createTextVNode(" "+e.toDisplayString(p.displayValue)+" ",1),p.displayAppendInnerIcon||e.unref(r)["display.appendInner"]?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(v("append",!0))},[e.unref(r)["display.appendInner"]?e.renderSlot(p.$slots,"display.appendInner",e.normalizeProps(e.mergeProps({key:0},c))):(e.openBlock(),e.createBlock(ee,{key:1,color:p.displayAppendInnerIconColor,icon:p.displayAppendInnerIcon,size:"x-small"},null,8,["color","icon"]))],2)):e.createCommentVNode("",!0)],6),p.displayAppendIcon||e.unref(r)["display.append"]?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(v("append")),style:e.normalizeStyle(e.unref(s))},[e.unref(r)["display.append"]?e.renderSlot(p.$slots,"display.append",e.normalizeProps(e.mergeProps({key:0},c))):(e.openBlock(),e.createBlock(ee,{key:1,color:p.displayAppendIconColor,icon:p.displayAppendIcon,size:"x-small"},null,8,["color","icon"]))],6)):e.createCommentVNode("",!0)]))}}),mn=e.defineComponent({__name:"SaveFieldButtons",props:{loading:{type:Boolean},cancelButtonColor:{},cancelButtonSize:{},cancelButtonVariant:{},cancelButtonTitle:{},cancelIconColor:{},error:{type:Boolean},fieldOnly:{type:Boolean},hideCancelIcon:{type:Boolean},hideSaveIcon:{type:Boolean},loadingIconColor:{},saveButtonColor:{},saveButtonSize:{},saveButtonTitle:{},saveButtonVariant:{},saveIconColor:{},cancelIcon:{},loadingIcon:{},saveIcon:{}},emits:["close","save"],setup(n,{emit:o}){const t=e.useAttrs(),l=o,r=n,i=e.inject(Symbol.for("vuetify:icons")),c=e.computed(()=>r.error),u=e.computed(()=>({[`${X}--save-fields-container`]:!0})),a=e.computed(()=>r.loading),s=e.reactive({...t,...r}),v=e.computed(()=>(i==null?void 0:i.defaultSet)==="fa"?"fa-spin":(i==null?void 0:i.defaultSet)==="mdi"?"mdi-spin":""),f=e.computed(()=>(b=>{const{cancelButtonVariant:F}=b;return{"me-1":F==="elevated","ms-1":!0}})({cancelButtonVariant:s.cancelButtonVariant})),p=e.computed(()=>ve({icon:r.cancelIcon,iconOptions:i,name:"false"})),d=e.computed(()=>ve({icon:r.loadingIcon,iconOptions:i,name:"loading"})),m=e.computed(()=>ve({icon:r.saveIcon,iconOptions:i,name:"save"}));function y(){l("close")}function g(){l("save")}return(b,F)=>(e.openBlock(),e.createElementBlock("div",e.mergeProps({class:e.unref(u)},b.$attrs),[e.unref(s).hideSaveIcon?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(ht,{key:0,class:"ms-1",color:e.unref(s).saveButtonColor,disabled:e.unref(c),icon:"",size:e.unref(s).saveButtonSize,title:e.unref(a)?"Loading":e.unref(s).saveButtonTitle,variant:e.unref(s).saveButtonVariant,onClick:g},{default:e.withCtx(()=>[e.unref(a)?(e.openBlock(),e.createBlock(ee,{key:1,class:e.normalizeClass(e.unref(v)),color:e.unref(s).loadingIconColor,icon:e.unref(d)},null,8,["class","color","icon"])):(e.openBlock(),e.createBlock(ee,{key:0,color:e.unref(c)?"error":e.unref(s).saveIconColor,icon:e.unref(m)},null,8,["color","icon"]))]),_:1},8,["color","disabled","size","title","variant"])),e.unref(s).hideCancelIcon?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(ht,{key:1,class:e.normalizeClass(e.unref(f)),color:e.unref(s).cancelButtonColor,icon:"",size:e.unref(s).cancelButtonSize,title:e.unref(s).cancelButtonTitle,variant:e.unref(s).cancelButtonVariant,onClick:y},{default:e.withCtx(()=>[e.unref(s).hideSaveIcon&&e.unref(a)?(e.openBlock(),e.createBlock(ee,{key:0,class:e.normalizeClass(e.unref(v)),color:e.unref(s).loadingIconColor,icon:e.unref(d)},null,8,["class","color","icon"])):(e.openBlock(),e.createBlock(ee,{key:1,class:"text-default",color:e.unref(s).cancelIconColor,icon:e.unref(p)},null,8,["color","icon"]))]),_:1},8,["class","color","size","title","variant"]))],16))}}),Jn=n=>{const{required:o,rules:t}=n;let{value:l}=n;l=e.unref(l);const r=[];let i=!1;if(o&&!l)return r.push("Field is required."),{errors:!0,results:r};if(t){for(const c of t){const u=(typeof c=="function"?c:()=>c)(l);u!==!0&&(typeof u=="string"?r.push(u):console.warn(`${u} is not a valid value. Rule functions must return boolean true or a string.`))}i=r.length>0}return{errors:i,results:r}},Ye=n=>{const{attrs:o,closeSiblings:t,fieldOnly:l,props:r,showField:i,timeOpened:c}=n;let u=c;return t&&!l&&(u=new Date),{settings:{...o,...r},showField:!e.unref(i),timeOpened:u}},xt=n=>{const{length:o=0}=n;let{suffix:t,text:l}=n;return l=l.toString(),t=t||"...",l.length>o?`${l.substring(0,o)}${t}`:l},Xe=["error","update","update:closeSiblingFields","update:model-value"],li=["cancelButtonColor","cancelButtonSize","cancelButtonTitle","cancelButtonVariant","cancelIcon","cancelIconColor","closeSiblings","displayAppendIcon","displayAppendIconColor","displayAppendIconSize","displayAppendInnerIcon","displayAppendInnerIconColor","displayAppendInnerIconSize","displayPrependIcon","displayPrependIconColor","displayPrependIconSize","displayPrependInnerIcon","displayPrependInnerIconColor","displayPrependInnerIconSize","emptyText","fieldOnly","hideSaveIcon","item","loadingIcon","loadingIconColor","loadingWait","saveButtonColor","saveButtonSize","saveButtonTitle","saveButtonVariant","saveIcon","saveIconColor","tableField","truncateLength","truncateSuffix","underlineColor","underlineStyle","underlineWidth","underlined","valueColor"],un=n=>{let o=n;return o=Object.entries(o).filter(([t])=>!li.includes(t)),Object.fromEntries(o)},ai={class:"v-selection-control__wrapper"},ri=e.defineComponent({__name:"VInlineCheckbox",props:e.mergeModels(e.mergeDefaults({density:{},falseIcon:{},trueIcon:{},cancelButtonColor:{},cancelButtonSize:{},cancelButtonTitle:{},cancelButtonVariant:{},cancelIcon:{},cancelIconColor:{},cardField:{type:Boolean},cardOffsetX:{},cardOffsetY:{},cardProps:{},cell:{type:Boolean},cellUnderlineFullWidth:{type:Boolean},closeSiblings:{type:Boolean},color:{},disabled:{type:Boolean},displayAppendIcon:{},displayAppendIconColor:{},displayAppendIconSize:{},displayAppendInnerIcon:{},displayAppendInnerIconColor:{},displayAppendInnerIconSize:{},displayPrependIcon:{},displayPrependIconColor:{},displayPrependIconSize:{},displayPrependInnerIcon:{},displayPrependInnerIconColor:{},displayPrependInnerIconSize:{},emptyText:{},error:{type:Boolean},falseValue:{type:[Boolean,String]},fieldOnly:{type:Boolean},hideCancelIcon:{type:Boolean},hideDetails:{type:Boolean},hideSaveIcon:{type:Boolean},iconFalse:{},iconFalseColor:{},iconFalseTitle:{},iconTrue:{},iconTrueColor:{},iconTrueTitle:{},icons:{type:Boolean},item:{},label:{},loading:{type:Boolean},loadingIcon:{},loadingIconColor:{},loadingWait:{type:Boolean},name:{},required:{type:Boolean},saveButtonColor:{},saveButtonSize:{},saveButtonTitle:{},saveButtonVariant:{},saveIcon:{},saveIconColor:{},tableField:{type:Boolean},trueValue:{type:[Boolean,String]},underlineColor:{},underlineStyle:{},underlineWidth:{},underlined:{type:Boolean},valueColor:{}},{...ca}),{modelValue:{}}),emits:e.mergeModels([...Xe],["update:modelValue"]),setup(n,{emit:o}){const t=e.useModel(n,"modelValue"),l=e.useAttrs(),r=e.useSlots(),i=o,c=e.inject(Symbol.for("vuetify:icons")),u=Ft.useTheme(),a=n;let s=e.reactive({...l,...a});const v=e.computed(()=>a.loading),f=e.computed(()=>a.disabled),p=e.ref(!1),d=e.ref(!1),m=e.ref(null),y=e.computed(()=>un(s)),g=e.computed(()=>({...Me,...a.cardProps}));e.watch(()=>v.value,(C,k)=>{!C&&k&&d.value&&$()});const b=e.computed(()=>ve({icon:a.trueIcon,iconOptions:c,name:"checkboxFalse"})),F=e.computed(()=>ve({icon:a.iconTrue,iconOptions:c,name:"checkboxTrue"})),N=e.computed(()=>t.value==s.trueValue),j=e.computed(()=>Ql({modelValue:t,trueValue:s.trueValue})),E=e.computed(()=>Ue({cell:s.cell&&!d.value,density:s.density,disabled:f.value,field:"v-checkbox",loading:v.value,loadingWait:s.loadingWait,tableField:s.tableField})),z=e.computed(()=>Ge({cell:s.cell,cellUnderlineFullWidth:s.cellUnderlineFullWidth,density:s.density,field:"v-checkbox"})),D=Zl({density:s.density}),_=e.computed(()=>qe({active:d.value,name:"checkbox"})),V=e.computed(()=>qt("checkbox",s.valueColor,{error:p})),A=e.computed(()=>He({name:"checkbox",showField:d.value})),h=e.computed(()=>({})),I=e.computed(()=>Ht({color:s.color,error:p,theme:u,underlineColor:s.underlineColor,underlineStyle:s.underlineStyle,underlineWidth:s.underlineWidth,underlined:s.underlined})),B=e.computed(()=>M.value);function L(){p.value=!1,$()}const M=e.ref(),S=e.ref(null),w=e.ref("body"),P=ua.useWindowSize();function $(){var k,O;if(f.value||s.loadingWait&&v.value)return;M.value=_e({cardMinWidth:(k=s.cardProps)==null?void 0:k.minWidth,cardOffsetX:s.cardOffsetX,cardOffsetY:s.cardOffsetY,cardWidth:(O=s.cardProps)==null?void 0:O.width,field:S.value,name:"checkbox"});const C=Ye({attrs:l,closeSiblings:s.closeSiblings,fieldOnly:s.fieldOnly,props:a,showField:d,timeOpened:m.value});s={...s,...C.settings},d.value=C.showField,m.value=C.timeOpened,x!==null&&s.closeSiblings&&d.value&&!s.fieldOnly&&x.emit(C.timeOpened)}function R(C){t.value=C,i("update",C),s.loadingWait||$()}let x,T;function G(C){i("update:closeSiblingFields",m),d.value&&m.value!==C&&$()}return e.watch(()=>P,()=>{var C,k;M.value=_e({cardMinWidth:(C=s.cardProps)==null?void 0:C.minWidth,cardOffsetX:s.cardOffsetX,cardOffsetY:s.cardOffsetY,cardWidth:(k=s.cardProps)==null?void 0:k.width,field:S.value,name:"checkbox"})},{deep:!0}),s.closeSiblings&&import("@vueuse/core").then(({useEventBus:C})=>{x=C(Le),T=x.on(G)}),e.onUnmounted(()=>{T!==void 0&&x.off(G)}),(C,k)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"inlineFieldsContainer",ref:S,class:e.normalizeClass(e.unref(E)),style:e.normalizeStyle(e.unref(h))},[!e.unref(d)&&!e.unref(s).fieldOnly||e.unref(s).cardField?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(z)),onClick:k[2]||(k[2]=O=>e.unref(s).cell?$():void 0)},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(D)),onClick:k[1]||(k[1]=O=>e.unref(s).cell?void 0:$())},[e.createElementVNode("div",ai,[C.icons?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["v-inline-fields--boolean-icons-container",e.unref(V)]),style:e.normalizeStyle(e.unref(I))},[e.createVNode(e.unref(Jl),{modelValue:e.unref(j),"onUpdate:modelValue":k[0]||(k[0]=O=>e.isRef(j)?j.value=O:null),"icon-false":e.unref(s).iconFalse,"icon-false-color":e.unref(s).iconFalseColor,"icon-false-title":e.unref(s).iconFalseTitle,"icon-true":e.unref(s).iconTrue,"icon-true-color":e.unref(s).iconTrueColor,"icon-true-title":e.unref(s).iconTrueTitle},null,8,["modelValue","icon-false","icon-false-color","icon-false-title","icon-true","icon-true-color","icon-true-title"])],6)):(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(["d-inline-flex align-center justify-center",e.unref(V)]),style:e.normalizeStyle(e.unref(I))},e.toDisplayString(e.unref(N)),7))])],2)],2)):e.createCommentVNode("",!0),e.unref(d)||e.unref(s).fieldOnly||e.unref(s).cardField?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(e.unref(_))},[(e.openBlock(),e.createBlock(e.Teleport,{disabled:!e.unref(s).cardField,to:e.unref(w)},[e.createVNode(Qa,e.mergeProps(e.unref(y),{color:e.unref(s).color,density:e.unref(s).density,disabled:e.unref(v)||e.unref(f),error:e.unref(p),"false-icon":e.unref(b),"false-value":e.unref(s).falseValue,"hide-details":e.unref(s).hideDetails,label:e.unref(s).label,"model-value":e.unref(j),"true-icon":e.unref(F),"true-value":e.unref(s).trueValue,"onUpdate:modelValue":R}),e.createSlots({_:2},[e.renderList(e.unref(r),(O,W)=>({name:W,fn:e.withCtx(q=>[e.renderSlot(C.$slots,W,e.normalizeProps(e.guardReactiveProps({...q})))])})),e.unref(r).append?void 0:{name:"append",fn:e.withCtx(()=>[e.createVNode(e.unref(mn),{"cancel-button-color":e.unref(s).cancelButtonColor,"cancel-button-size":e.unref(s).cancelButtonSize,"cancel-button-title":e.unref(s).cancelButtonTitle,"cancel-button-variant":e.unref(s).cancelButtonVariant,"cancel-icon":e.unref(s).cancelIcon,"cancel-icon-color":e.unref(s).cancelIconColor,error:e.unref(p),"field-only":e.unref(s).fieldOnly,"hide-cancel-icon":e.unref(s).hideCancelIcon,"hide-save-icon":!0,loading:e.unref(v),"loading-icon":e.unref(s).loadingIcon,"loading-icon-color":e.unref(s).loadingIconColor,"save-button-color":e.unref(s).saveButtonColor,"save-button-size":e.unref(s).saveButtonSize,"save-button-title":e.unref(s).saveButtonTitle,"save-button-variant":e.unref(s).saveButtonVariant,"save-icon":e.unref(s).saveIcon,"save-icon-color":e.unref(s).saveIconColor,onClose:L,onSave:R},null,8,["cancel-button-color","cancel-button-size","cancel-button-title","cancel-button-variant","cancel-icon","cancel-icon-color","error","field-only","hide-cancel-icon","loading","loading-icon","loading-icon-color","save-button-color","save-button-size","save-button-title","save-button-variant","save-icon","save-icon-color"])]),key:"0"}]),1040,["color","density","disabled","error","false-icon","false-value","hide-details","label","model-value","true-icon","true-value"])],8,["disabled","to"]))],2)):e.createCommentVNode("",!0),e.unref(s).cardField?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass(e.unref(A)),style:e.normalizeStyle(e.unref(B))},[e.createVNode(je,e.normalizeProps(e.guardReactiveProps(e.unref(g))),{default:e.withCtx(()=>[e.createVNode(Pe,null,{default:e.withCtx(()=>[e.createElementVNode("div",{ref_key:"cardFieldRef",ref:w},null,512)]),_:1})]),_:1},16)],6)):e.createCommentVNode("",!0)],6))}}),ii=e.defineComponent({__name:"VInlineCustomField",props:e.mergeModels(e.mergeDefaults({clearIcon:{},density:{},rules:{},variant:{},autofocus:{type:Boolean},cancelButtonColor:{},cancelButtonSize:{},cancelButtonTitle:{},cancelButtonVariant:{},cancelIcon:{},cancelIconColor:{},cardField:{type:Boolean},cardOffsetX:{},cardOffsetY:{},cardProps:{},cell:{type:Boolean},cellUnderlineFullWidth:{type:Boolean},closeSiblings:{type:Boolean},color:{},disabled:{type:Boolean},displayAppendIcon:{},displayAppendIconColor:{},displayAppendIconSize:{},displayAppendInnerIcon:{},displayAppendInnerIconColor:{},displayAppendInnerIconSize:{},displayPrependIcon:{},displayPrependIconColor:{},displayPrependIconSize:{},displayPrependInnerIcon:{},displayPrependInnerIconColor:{},displayPrependInnerIconSize:{},emptyText:{},error:{type:Boolean},fieldOnly:{type:Boolean},hideCancelIcon:{type:Boolean},hideDetails:{type:Boolean},hideSaveIcon:{type:Boolean},item:{},label:{},loading:{type:Boolean},loadingIcon:{},loadingIconColor:{},loadingWait:{type:Boolean},name:{},required:{type:Boolean},saveButtonColor:{},saveButtonSize:{},saveButtonTitle:{},saveButtonVariant:{},saveIcon:{},saveIconColor:{},tableField:{type:Boolean},truncateLength:{},truncateSuffix:{},underlineColor:{},underlineStyle:{},underlineWidth:{},underlined:{type:Boolean},valueColor:{}},{...Wo}),{modelValue:{}}),emits:e.mergeModels([...Xe],["update:modelValue"]),setup(n,{emit:o}){const t=e.useModel(n,"modelValue"),l=e.useAttrs(),r=e.useSlots(),i=o,c=e.inject(Symbol.for("vuetify:icons")),u=n;let a=e.reactive({...l,...u});const s=e.computed(()=>u.loading),v=e.computed(()=>u.disabled),f=e.ref(!1),p=e.ref(!1),d=e.ref(!1),m=e.ref(null);let y=t.value;e.watch(()=>s.value,(T,G)=>{!T&&G&&d.value&&M()});const g=e.computed(()=>t.value?(f.value=!1,a.truncateLength?xt({length:a.truncateLength,suffix:a.truncateSuffix,text:t.value}):t.value):(f.value=!0,a.emptyText)),b=e.computed(()=>({...a,loading:s.value,modelValue:t.value,originalValue:y})),F=e.computed(()=>({color:a.color,displayAppendIcon:u.displayAppendIcon,displayAppendIconColor:u.displayAppendIconColor,displayAppendIconSize:u.displayAppendIconSize,displayAppendInnerIcon:u.displayAppendInnerIcon,displayAppendInnerIconColor:u.displayAppendInnerIconColor,displayAppendInnerIconSize:u.displayAppendInnerIconSize,displayPrependIcon:u.displayPrependIcon,displayPrependIconColor:u.displayPrependIconColor,displayPrependIconSize:u.displayPrependIconSize,displayPrependInnerIcon:u.displayPrependInnerIcon,displayPrependInnerIconColor:u.displayPrependInnerIconColor,displayPrependInnerIconSize:u.displayPrependInnerIconSize,displayValue:g.value,empty:f.value,error:p.value,field:"v-text-field",underlineColor:a.underlineColor,underlineStyle:a.underlineStyle,underlineWidth:a.underlineWidth,underlined:a.underlined,valueColor:a.valueColor})),N=e.computed(()=>({...Me,...u.cardProps})),j=e.computed(()=>Ue({cell:a.cell&&!d.value,density:a.density,disabled:v.value,field:"v-text-field",iconSet:c==null?void 0:c.defaultSet,loading:s.value,loadingWait:a.loadingWait,tableField:a.tableField,variant:a.variant})),E=e.computed(()=>Ge({cell:a.cell,cellUnderlineFullWidth:a.cellUnderlineFullWidth,density:a.density,field:"v-text-field"})),z=Xn({density:a.density,variant:a.variant}),D=e.computed(()=>qe({active:d.value,name:"text-field"})),_=e.computed(()=>He({name:"custom-field",showField:d.value})),V=e.computed(()=>({})),A=e.computed(()=>I.value);function h(){p.value=!1,t.value=y,M()}const I=e.ref(),B=e.ref(null),L=e.ref("body");function M(){var G,C;if(v.value||a.loadingWait&&s.value)return;I.value=_e({cardMinWidth:(G=a.cardProps)==null?void 0:G.minWidth,cardOffsetX:a.cardOffsetX,cardOffsetY:a.cardOffsetY,cardWidth:(C=a.cardProps)==null?void 0:C.width,field:B.value});const T=Ye({attrs:l,closeSiblings:a.closeSiblings,fieldOnly:a.fieldOnly,props:u,showField:d,timeOpened:m.value});a={...a,...T.settings},d.value=T.showField,m.value=T.timeOpened,$!==null&&a.closeSiblings&&d.value&&!a.fieldOnly&&$.emit(T.timeOpened)}const S=e.ref();function w(){const T=Jn({required:a.required,rules:a.rules,value:t});return p.value=T.errors,S.value=T.results,T.results}function P(){p.value?p.value=!0:(y=t.value,i("update",t.value),a.loadingWait||M())}let $,R;function x(T){i("update:closeSiblingFields",m),d.value&&m.value!==T&&h()}return e.watch(()=>d.value,()=>{d.value&&w()}),e.watch(()=>t.value,()=>{d.value&&w()}),a.closeSiblings&&import("@vueuse/core").then(({useEventBus:T})=>{$=T(Le),R=$.on(x)}),e.onUnmounted(()=>{R!==void 0&&$.off(x)}),(T,G)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"inlineFieldsContainer",ref:B,class:e.normalizeClass(e.unref(j)),style:e.normalizeStyle(e.unref(V))},[!e.unref(d)&&!e.unref(a).fieldOnly||e.unref(a).cardField?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(E))},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(z))},[e.createVNode(e.unref(Kn),e.mergeProps(e.unref(F),{onToggleField:M}),e.createSlots({_:2},[e.renderList(e.unref(r),(C,k)=>({name:k,fn:e.withCtx(O=>[e.renderSlot(T.$slots,k,e.normalizeProps(e.guardReactiveProps({...O})))])}))]),1040)],2)],2)):e.createCommentVNode("",!0),e.unref(d)||e.unref(a).fieldOnly||e.unref(a).cardField?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(["d-flex align-center py-2",e.unref(D)])},[(e.openBlock(),e.createBlock(e.Teleport,{disabled:!e.unref(a).cardField,to:e.unref(L)},[e.renderSlot(T.$slots,"default",e.normalizeProps(e.guardReactiveProps(e.unref(b)))),e.createVNode(e.unref(mn),{modelValue:t.value,"onUpdate:modelValue":G[0]||(G[0]=C=>t.value=C),"cancel-button-color":e.unref(a).cancelButtonColor,"cancel-button-size":e.unref(a).cancelButtonSize,"cancel-button-title":e.unref(a).cancelButtonTitle,"cancel-button-variant":e.unref(a).cancelButtonVariant,"cancel-icon":e.unref(a).cancelIcon,"cancel-icon-color":e.unref(a).cancelIconColor,error:e.unref(p),"field-only":e.unref(a).fieldOnly,"hide-cancel-icon":e.unref(a).hideCancelIcon,"hide-save-icon":e.unref(a).hideSaveIcon,loading:e.unref(s),"loading-icon":e.unref(a).loadingIcon,"loading-icon-color":e.unref(a).loadingIconColor,required:e.unref(a).required,"save-button-color":e.unref(a).saveButtonColor,"save-button-size":e.unref(a).saveButtonSize,"save-button-title":e.unref(a).saveButtonTitle,"save-button-variant":e.unref(a).saveButtonVariant,"save-icon":e.unref(a).saveIcon,"save-icon-color":e.unref(a).saveIconColor,onClose:h,onSave:P},null,8,["modelValue","cancel-button-color","cancel-button-size","cancel-button-title","cancel-button-variant","cancel-icon","cancel-icon-color","error","field-only","hide-cancel-icon","hide-save-icon","loading","loading-icon","loading-icon-color","required","save-button-color","save-button-size","save-button-title","save-button-variant","save-icon","save-icon-color"])],8,["disabled","to"]))],2)):e.createCommentVNode("",!0),e.unref(a).cardField?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass(e.unref(_)),style:e.normalizeStyle(e.unref(A))},[e.createVNode(je,e.normalizeProps(e.guardReactiveProps(e.unref(N))),{default:e.withCtx(()=>[e.createVNode(Pe,null,{default:e.withCtx(()=>[e.createElementVNode("div",{ref_key:"cardFieldRef",ref:L},null,512)]),_:1})]),_:1},16)],6)):e.createCommentVNode("",!0)],6))}}),si=e.defineComponent({__name:"VInlineSelect",props:e.mergeModels(e.mergeDefaults({clearIcon:{},clearable:{},density:{},hideSelected:{},itemTitle:{},itemValue:{},items:{},menu:{},rules:{},variant:{},autofocus:{type:Boolean},cancelButtonColor:{},cancelButtonSize:{},cancelButtonTitle:{},cancelButtonVariant:{},cancelIcon:{},cancelIconColor:{},cardField:{type:Boolean},cardOffsetX:{},cardOffsetY:{},cardProps:{},cell:{type:Boolean},cellUnderlineFullWidth:{type:Boolean},closeSiblings:{type:Boolean},color:{},disabled:{type:Boolean},displayAppendIcon:{},displayAppendIconColor:{},displayAppendIconSize:{},displayAppendInnerIcon:{},displayAppendInnerIconColor:{},displayAppendInnerIconSize:{},displayPrependIcon:{},displayPrependIconColor:{},displayPrependIconSize:{},displayPrependInnerIcon:{},displayPrependInnerIconColor:{},displayPrependInnerIconSize:{},emptyText:{},error:{type:Boolean},fieldOnly:{type:Boolean},hideCancelIcon:{type:Boolean},hideDetails:{type:Boolean},hideSaveIcon:{type:Boolean},item:{},label:{},loading:{type:Boolean},loadingIcon:{},loadingIconColor:{},loadingWait:{type:Boolean},name:{},required:{type:Boolean},saveButtonColor:{},saveButtonSize:{},saveButtonTitle:{},saveButtonVariant:{},saveIcon:{},saveIconColor:{},tableField:{type:Boolean},underlineColor:{},underlineStyle:{},underlineWidth:{},underlined:{type:Boolean},valueColor:{}},{...da}),{modelValue:{}}),emits:e.mergeModels([...Xe],["update:modelValue"]),setup(n,{emit:o}){const t=e.useModel(n,"modelValue"),l=e.useAttrs(),r=e.useSlots(),i=o,c=e.inject(Symbol.for("vuetify:icons")),u=n;let a=e.reactive({...l,...u});const s=e.computed(()=>u.loading),v=e.computed(()=>u.disabled),f=e.ref(!1),p=e.ref(!1),d=e.ref(),m=e.ref(!1),y=e.ref(null);let g=t.value;e.watch(()=>s.value,(k,O)=>{!k&&O&&m.value&&w()});const b=e.computed(()=>ve({icon:u.clearIcon,iconOptions:c,name:"clear"})),F=e.computed(()=>t.value&&t.value[a.itemTitle]?(f.value=!1,t.value[a.itemTitle]):(t.value="",f.value=!0,a.emptyText)),N=e.computed(()=>un(a)),j=e.computed(()=>({color:a.color,displayAppendIcon:u.displayAppendIcon,displayAppendIconColor:u.displayAppendIconColor,displayAppendIconSize:u.displayAppendIconSize,displayAppendInnerIcon:u.displayAppendInnerIcon,displayAppendInnerIconColor:u.displayAppendInnerIconColor,displayAppendInnerIconSize:u.displayAppendInnerIconSize,displayPrependIcon:u.displayPrependIcon,displayPrependIconColor:u.displayPrependIconColor,displayPrependIconSize:u.displayPrependIconSize,displayPrependInnerIcon:u.displayPrependInnerIcon,displayPrependInnerIconColor:u.displayPrependInnerIconColor,displayPrependInnerIconSize:u.displayPrependInnerIconSize,displayValue:F.value,empty:f.value,error:p.value,field:"v-text-field",underlineColor:a.underlineColor,underlineStyle:a.underlineStyle,underlineWidth:a.underlineWidth,underlined:a.underlined,valueColor:a.valueColor})),E=e.computed(()=>({...Me,...u.cardProps}));e.watchEffect(()=>{d.value=a.items||[]});const z=e.computed(()=>Ue({cell:a.cell&&!m.value,density:a.density,disabled:v.value,field:"v-select",iconSet:c==null?void 0:c.defaultSet,loading:s.value,loadingWait:a.loadingWait,tableField:a.tableField,variant:a.variant})),D=e.computed(()=>Ge({cell:a.cell,cellUnderlineFullWidth:a.cellUnderlineFullWidth,density:a.density,field:"v-select"})),_=Xn({density:a.density,variant:a.variant}),V=e.computed(()=>qe({active:m.value,name:"select"})),A=e.computed(()=>He({name:"select",showField:m.value})),h=e.computed(()=>({})),I=e.computed(()=>L.value);function B(){p.value=!1,t.value=g,w()}const L=e.ref(),M=e.ref(null),S=e.ref("body");function w(){var O,W;if(v.value||a.loadingWait&&s.value)return;L.value=_e({cardMinWidth:(O=a.cardProps)==null?void 0:O.minWidth,cardOffsetX:a.cardOffsetX,cardOffsetY:a.cardOffsetY,cardWidth:(W=a.cardProps)==null?void 0:W.width,field:M.value});const k=Ye({attrs:l,closeSiblings:a.closeSiblings,fieldOnly:a.fieldOnly,props:u,showField:m,timeOpened:y.value});a={...a,...k.settings},m.value=k.showField,y.value=k.timeOpened,T!==null&&a.closeSiblings&&m.value&&!a.fieldOnly&&T.emit(k.timeOpened)}const P=e.ref(),$=e.computed(()=>P.value);function R(){const k=Jn({required:a.required,rules:a.rules,value:t});return p.value=k.errors,P.value=k.results,k.results}function x(){g=t.value,i("update",t.value),a.loadingWait||w()}let T,G;function C(k){i("update:closeSiblingFields",y),m.value&&y.value!==k&&B()}return e.watch(()=>m.value,()=>{m.value&&R()}),e.watch(()=>t.value,()=>{m.value&&R()}),a.closeSiblings&&import("@vueuse/core").then(({useEventBus:k})=>{T=k(Le),G=T.on(C)}),e.onUnmounted(()=>{G!==void 0&&T.off(C)}),(k,O)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"inlineFieldsContainer",ref:M,class:e.normalizeClass(e.unref(z)),style:e.normalizeStyle(e.unref(h))},[!e.unref(m)&&!e.unref(a).fieldOnly||e.unref(a).cardField?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(D))},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(_))},[e.createVNode(e.unref(Kn),e.mergeProps(e.unref(j),{onToggleField:w}),e.createSlots({_:2},[e.renderList(e.unref(r),(W,q)=>({name:q,fn:e.withCtx(K=>[e.renderSlot(k.$slots,q,e.normalizeProps(e.guardReactiveProps({...K})),void 0,!0)])}))]),1040)],2)],2)):e.createCommentVNode("",!0),e.unref(m)||e.unref(a).fieldOnly||e.unref(a).cardField?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(e.unref(V))},[(e.openBlock(),e.createBlock(e.Teleport,{disabled:!e.unref(a).cardField,to:e.unref(S)},[e.createVNode(qr,e.mergeProps(e.unref(N),{modelValue:t.value,"onUpdate:modelValue":O[0]||(O[0]=W=>t.value=W),autofocus:!e.unref(a).fieldOnly||e.unref(a).autofocus,"clear-icon":e.unref(b),clearable:e.unref(a).clearable,color:e.unref(a).color,density:e.unref(a).density,disabled:e.unref(s)||e.unref(v),error:e.unref(p),"error-messages":e.unref($),"hide-details":e.unref(a).hideDetails,"hide-selected":e.unref(a).hideSelected,"item-title":e.unref(a).itemTitle,"item-value":e.unref(a).itemValue,items:e.unref(d),label:e.unref(a).label,loading:e.unref(s),menu:e.unref(a).menu&&!e.unref(a).fieldOnly&&e.unref(m),variant:e.unref(a).variant,width:"100%",onKeyup:e.withKeys(B,["esc"])}),e.createSlots({_:2},[e.renderList(e.unref(r),(W,q)=>({name:q,fn:e.withCtx(K=>[e.renderSlot(k.$slots,q,e.normalizeProps(e.guardReactiveProps({...K})),void 0,!0)])})),e.unref(r).append?void 0:{name:"append",fn:e.withCtx(()=>[e.createVNode(e.unref(mn),{"cancel-button-color":e.unref(a).cancelButtonColor,"cancel-button-size":e.unref(a).cancelButtonSize,"cancel-button-title":e.unref(a).cancelButtonTitle,"cancel-button-variant":e.unref(a).cancelButtonVariant,"cancel-icon":e.unref(a).cancelIcon,"cancel-icon-color":e.unref(a).cancelIconColor,error:e.unref(p),"field-only":e.unref(a).fieldOnly,"hide-cancel-icon":e.unref(a).hideCancelIcon,"hide-save-icon":e.unref(a).hideSaveIcon,loading:e.unref(s),"loading-icon":e.unref(a).loadingIcon,"loading-icon-color":e.unref(a).loadingIconColor,"save-button-color":e.unref(a).saveButtonColor,"save-button-size":e.unref(a).saveButtonSize,"save-button-title":e.unref(a).saveButtonTitle,"save-button-variant":e.unref(a).saveButtonVariant,"save-icon":e.unref(a).saveIcon,"save-icon-color":e.unref(a).saveIconColor,onClose:B,onSave:x},null,8,["cancel-button-color","cancel-button-size","cancel-button-title","cancel-button-variant","cancel-icon","cancel-icon-color","error","field-only","hide-cancel-icon","hide-save-icon","loading","loading-icon","loading-icon-color","save-button-color","save-button-size","save-button-title","save-button-variant","save-icon","save-icon-color"])]),key:"0"}]),1040,["modelValue","autofocus","clear-icon","clearable","color","density","disabled","error","error-messages","hide-details","hide-selected","item-title","item-value","items","label","loading","menu","variant","onKeyup"])],8,["disabled","to"]))],2)):e.createCommentVNode("",!0),e.unref(a).cardField?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass(e.unref(A)),style:e.normalizeStyle(e.unref(I))},[e.createVNode(je,e.normalizeProps(e.guardReactiveProps(e.unref(E))),{default:e.withCtx(()=>[e.createVNode(Pe,null,{default:e.withCtx(()=>[e.createElementVNode("div",{ref_key:"cardFieldRef",ref:S},null,512)]),_:1})]),_:1},16)],6)):e.createCommentVNode("",!0)],6))}}),ui={class:"v-selection-control__wrapper"},me={VInlineCheckbox:ri,VInlineCustomField:ii,VInlineSelect:((n,o)=>{const t=n.__vccOpts||n;for(const[l,r]of o)t[l]=r;return t})(si,[["__scopeId","data-v-36fbbe97"]]),VInlineSwitch:e.defineComponent({__name:"VInlineSwitch",props:e.mergeModels(e.mergeDefaults({density:{},falseIcon:{},cancelButtonColor:{},cancelButtonSize:{},cancelButtonTitle:{},cancelButtonVariant:{},cancelIcon:{},cancelIconColor:{},cardField:{type:Boolean},cardOffsetX:{},cardOffsetY:{},cardProps:{},cell:{type:Boolean},cellUnderlineFullWidth:{type:Boolean},closeSiblings:{type:Boolean},color:{},disabled:{type:Boolean},displayAppendIcon:{},displayAppendIconColor:{},displayAppendIconSize:{},displayAppendInnerIcon:{},displayAppendInnerIconColor:{},displayAppendInnerIconSize:{},displayPrependIcon:{},displayPrependIconColor:{},displayPrependIconSize:{},displayPrependInnerIcon:{},displayPrependInnerIconColor:{},displayPrependInnerIconSize:{},emptyText:{},error:{type:Boolean},falseValue:{type:[Boolean,String]},fieldOnly:{type:Boolean},hideCancelIcon:{type:Boolean},hideDetails:{type:Boolean},iconFalse:{},iconFalseColor:{},iconFalseTitle:{},iconTrue:{},iconTrueColor:{},iconTrueTitle:{},icons:{type:Boolean},item:{},label:{},loading:{type:Boolean},loadingWait:{type:Boolean},name:{},required:{type:Boolean},tableField:{type:Boolean},trueValue:{type:[Boolean,String]},underlineColor:{},underlineStyle:{},underlineWidth:{},underlined:{type:Boolean},valueColor:{}},{...pa}),{modelValue:{}}),emits:e.mergeModels([...Xe],["update:modelValue"]),setup(n,{emit:o}){const t=e.useModel(n,"modelValue"),l=e.useAttrs(),r=e.useSlots(),i=o,c=e.inject(Symbol.for("vuetify:icons")),u=Ft.useTheme(),a=n;let s=e.reactive({...l,...a});const v=e.computed(()=>a.loading),f=e.computed(()=>a.disabled),p=e.ref(!1),d=e.ref(!1),m=e.ref(null),y=e.computed(()=>un(s)),g=e.computed(()=>({...Me,...a.cardProps}));e.watch(()=>v.value,(x,T)=>{!x&&T&&d.value&&S()});const b=e.computed(()=>ve({icon:s.cancelIcon,iconOptions:c,name:"false"})),F=e.computed(()=>t.value==s.trueValue),N=e.computed(()=>Ql({modelValue:t,trueValue:s.trueValue})),j=e.computed(()=>Ue({cell:s.cell&&!d.value,density:s.density,disabled:f.value,field:"v-switch",loading:v.value,loadingWait:s.loadingWait,tableField:s.tableField})),E=e.computed(()=>Ge({cell:s.cell,cellUnderlineFullWidth:s.cellUnderlineFullWidth,density:s.density,field:"v-switch"})),z=Zl({density:s.density}),D=e.computed(()=>qe({active:d.value,name:"switch"})),_=e.computed(()=>qt("switch",s.valueColor,{error:p})),V=e.computed(()=>He({name:"switch",showField:d.value})),A=e.computed(()=>({})),h=e.computed(()=>Ht({color:s.color,error:p,theme:u,underlineColor:s.underlineColor,underlineStyle:s.underlineStyle,underlineWidth:s.underlineWidth,underlined:s.underlined})),I=e.computed(()=>B.value),B=e.ref(),L=e.ref(null),M=e.ref("body");function S(){var T,G;if(f.value||s.loadingWait&&v.value)return;B.value=_e({cardMinWidth:(T=s.cardProps)==null?void 0:T.minWidth,cardOffsetX:s.cardOffsetX,cardOffsetY:s.cardOffsetY,cardWidth:(G=s.cardProps)==null?void 0:G.width,field:L.value});const x=Ye({attrs:l,closeSiblings:s.closeSiblings,fieldOnly:s.fieldOnly,props:a,showField:d.value,timeOpened:m.value});s={...s,...x.settings},d.value=x.showField,m.value=x.timeOpened,P!==null&&s.closeSiblings&&d.value&&!s.fieldOnly&&P.emit(x.timeOpened)}function w(x){t.value=x,i("update",x),s.loadingWait||S()}let P,$;function R(x){i("update:closeSiblingFields",m),d.value&&m.value!==x&&S()}return s.closeSiblings&&import("@vueuse/core").then(({useEventBus:x})=>{P=x(Le),$=P.on(R)}),e.onUnmounted(()=>{$!==void 0&&P.off(R)}),(x,T)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"inlineFieldsContainer",ref:L,class:e.normalizeClass(e.unref(j)),style:e.normalizeStyle(e.unref(A))},[!e.unref(d)&&!e.unref(s).fieldOnly||e.unref(s).cardField?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(E)),onClick:T[2]||(T[2]=G=>e.unref(s).cell?S():void 0)},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(z)),onClick:T[1]||(T[1]=G=>e.unref(s).cell?void 0:S())},[e.createElementVNode("div",ui,[x.icons?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["v-inline-fields--boolean-icons-container",e.unref(_)]),style:e.normalizeStyle(e.unref(h))},[e.createVNode(e.unref(Jl),{modelValue:e.unref(N),"onUpdate:modelValue":T[0]||(T[0]=G=>e.isRef(N)?N.value=G:null),"icon-false":e.unref(s).iconFalse,"icon-false-color":e.unref(s).iconFalseColor,"icon-false-title":e.unref(s).iconFalseTitle,"icon-true":e.unref(s).iconTrue,"icon-true-color":e.unref(s).iconTrueColor,"icon-true-title":e.unref(s).iconTrueTitle},null,8,["modelValue","icon-false","icon-false-color","icon-false-title","icon-true","icon-true-color","icon-true-title"])],6)):(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(["d-inline-flex align-center justify-center",e.unref(_)]),style:e.normalizeStyle(e.unref(h))},e.toDisplayString(e.unref(F)),7))])],2)],2)):e.createCommentVNode("",!0),e.unref(d)||e.unref(s).fieldOnly||e.unref(s).cardField?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(e.unref(D))},[(e.openBlock(),e.createBlock(e.Teleport,{disabled:!e.unref(s).cardField,to:e.unref(M)},[e.createVNode(ei,e.mergeProps(e.unref(y),{color:e.unref(s).color,density:e.unref(s).density,disabled:e.unref(v)||e.unref(f),error:e.unref(p),"false-icon":e.unref(s).falseIcon,"false-value":e.unref(s).falseValue,"hide-details":e.unref(s).hideDetails,label:e.unref(s).label,loading:e.unref(v),"model-value":e.unref(N),"true-value":e.unref(s).trueValue,"onUpdate:modelValue":w}),e.createSlots({_:2},[e.renderList(e.unref(r),(G,C)=>({name:C,fn:e.withCtx(k=>[e.renderSlot(x.$slots,C,e.normalizeProps(e.guardReactiveProps({...k})))])})),e.unref(r).append?void 0:{name:"append",fn:e.withCtx(()=>[e.unref(s).fieldOnly&&!e.unref(s).cardField||e.unref(s).hideCancelIcon?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(ht,{key:0,class:"ms-3",color:e.unref(s).cancelButtonColor,icon:"",size:e.unref(s).cancelButtonSize,title:e.unref(s).cancelButtonTitle,variant:e.unref(s).cancelButtonVariant,onClick:S},{default:e.withCtx(()=>[e.createVNode(ee,{color:e.unref(s).cancelIconColor,icon:e.unref(b)},null,8,["color","icon"])]),_:1},8,["color","size","title","variant"]))]),key:"0"}]),1040,["color","density","disabled","error","false-icon","false-value","hide-details","label","loading","model-value","true-value"])],8,["disabled","to"]))],2)):e.createCommentVNode("",!0),e.unref(s).cardField?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass(e.unref(V)),style:e.normalizeStyle(e.unref(I))},[e.createVNode(je,e.normalizeProps(e.guardReactiveProps(e.unref(g))),{default:e.withCtx(()=>[e.createVNode(Pe,null,{default:e.withCtx(()=>[e.createElementVNode("div",{ref_key:"cardFieldRef",ref:M},null,512)]),_:1})]),_:1},16)],6)):e.createCommentVNode("",!0)],6))}}),VInlineTextField:e.defineComponent({__name:"VInlineTextField",props:e.mergeModels(e.mergeDefaults({clearIcon:{},density:{},rules:{},variant:{},autofocus:{type:Boolean},cancelButtonColor:{},cancelButtonSize:{},cancelButtonTitle:{},cancelButtonVariant:{},cancelIcon:{},cancelIconColor:{},cardField:{type:Boolean},cardOffsetX:{},cardOffsetY:{},cardProps:{},cell:{type:Boolean},cellUnderlineFullWidth:{type:Boolean},closeSiblings:{type:Boolean},color:{},disabled:{type:Boolean},displayAppendIcon:{},displayAppendIconColor:{},displayAppendIconSize:{},displayAppendInnerIcon:{},displayAppendInnerIconColor:{},displayAppendInnerIconSize:{},displayPrependIcon:{},displayPrependIconColor:{},displayPrependIconSize:{},displayPrependInnerIcon:{},displayPrependInnerIconColor:{},displayPrependInnerIconSize:{},emptyText:{},error:{type:Boolean},fieldOnly:{type:Boolean},hideCancelIcon:{type:Boolean},hideDetails:{type:Boolean},hideSaveIcon:{type:Boolean},item:{},label:{},loading:{type:Boolean},loadingIcon:{},loadingIconColor:{},loadingWait:{type:Boolean},name:{},required:{type:Boolean},saveButtonColor:{},saveButtonSize:{},saveButtonTitle:{},saveButtonVariant:{},saveIcon:{},saveIconColor:{},tableField:{type:Boolean},truncateLength:{},truncateSuffix:{},underlineColor:{},underlineStyle:{},underlineWidth:{},underlined:{type:Boolean},valueColor:{}},{...Wo}),{modelValue:{}}),emits:e.mergeModels([...Xe],["update:modelValue"]),setup(n,{emit:o}){const t=e.useModel(n,"modelValue"),l=e.useAttrs(),r=e.useSlots(),i=o,c=e.inject(Symbol.for("vuetify:icons")),u=n;let a=e.reactive({...l,...u});const s=e.computed(()=>u.loading),v=e.computed(()=>u.disabled),f=e.ref(!1),p=e.ref(!1),d=e.ref(!1),m=e.ref(null);let y=t.value;e.watch(()=>s.value,(C,k)=>{!C&&k&&d.value&&S()});const g=e.computed(()=>ve({icon:u.clearIcon,iconOptions:c,name:"clear"})),b=e.computed(()=>t.value?(f.value=!1,a.truncateLength?xt({length:a.truncateLength,suffix:a.truncateSuffix,text:t.value}):t.value):(f.value=!0,a.emptyText)),F=e.computed(()=>un(a)),N=e.computed(()=>({color:a.color,displayAppendIcon:u.displayAppendIcon,displayAppendIconColor:u.displayAppendIconColor,displayAppendIconSize:u.displayAppendIconSize,displayAppendInnerIcon:u.displayAppendInnerIcon,displayAppendInnerIconColor:u.displayAppendInnerIconColor,displayAppendInnerIconSize:u.displayAppendInnerIconSize,displayPrependIcon:u.displayPrependIcon,displayPrependIconColor:u.displayPrependIconColor,displayPrependIconSize:u.displayPrependIconSize,displayPrependInnerIcon:u.displayPrependInnerIcon,displayPrependInnerIconColor:u.displayPrependInnerIconColor,displayPrependInnerIconSize:u.displayPrependInnerIconSize,displayValue:b.value,empty:f.value,error:p.value,field:"v-text-field",underlineColor:a.underlineColor,underlineStyle:a.underlineStyle,underlineWidth:a.underlineWidth,underlined:a.underlined,valueColor:a.valueColor})),j=e.computed(()=>({...Me,...u.cardProps})),E=e.computed(()=>Ue({cell:a.cell&&!d.value,density:a.density,disabled:v.value,field:"v-text-field",iconSet:c==null?void 0:c.defaultSet,loading:s.value,loadingWait:a.loadingWait,tableField:a.tableField,variant:a.variant})),z=e.computed(()=>Ge({cell:a.cell,cellUnderlineFullWidth:a.cellUnderlineFullWidth,density:a.density,field:"v-text-field"})),D=Xn({density:a.density,variant:a.variant}),_=e.computed(()=>qe({active:d.value,name:"text-field"})),V=e.computed(()=>He({name:"text-field",showField:d.value})),A=e.computed(()=>({})),h=e.computed(()=>B.value);function I(){p.value=!1,t.value=y,S()}const B=e.ref(),L=e.ref(null),M=e.ref("body");function S(){var k,O;if(v.value||a.loadingWait&&s.value)return;B.value=_e({cardMinWidth:(k=a.cardProps)==null?void 0:k.minWidth,cardOffsetX:a.cardOffsetX,cardOffsetY:a.cardOffsetY,cardWidth:(O=a.cardProps)==null?void 0:O.width,field:L.value});const C=Ye({attrs:l,closeSiblings:a.closeSiblings,fieldOnly:a.fieldOnly,props:u,showField:d,timeOpened:m.value});a={...a,...C.settings},d.value=C.showField,m.value=C.timeOpened,x!==null&&a.closeSiblings&&d.value&&!a.fieldOnly&&x.emit(C.timeOpened)}const w=e.ref(),P=e.computed(()=>w.value);function $(){const C=Jn({required:a.required,rules:a.rules,value:t});return p.value=C.errors,w.value=C.results,C.results}function R(){p.value?p.value=!0:(y=t.value,i("update",t.value),a.loadingWait||S())}let x,T;function G(C){i("update:closeSiblingFields",m),d.value&&m.value!==C&&I()}return e.watch(()=>d.value,()=>{d.value&&$()}),e.watch(()=>t.value,()=>{d.value&&$()}),a.closeSiblings&&import("@vueuse/core").then(({useEventBus:C})=>{x=C(Le),T=x.on(G)}),e.onUnmounted(()=>{T!==void 0&&x.off(G)}),(C,k)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"inlineFieldsContainer",ref:L,class:e.normalizeClass(e.unref(E)),style:e.normalizeStyle(e.unref(A))},[!e.unref(d)&&!e.unref(a).fieldOnly||e.unref(a).cardField?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(z))},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(D))},[e.createVNode(e.unref(Kn),e.mergeProps(e.unref(N),{onToggleField:S}),e.createSlots({_:2},[e.renderList(e.unref(r),(O,W)=>({name:W,fn:e.withCtx(q=>[e.renderSlot(C.$slots,W,e.normalizeProps(e.guardReactiveProps({...q})))])}))]),1040)],2)],2)):e.createCommentVNode("",!0),e.unref(d)||e.unref(a).fieldOnly||e.unref(a).cardField?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(e.unref(_))},[(e.openBlock(),e.createBlock(e.Teleport,{disabled:!e.unref(a).cardField,to:e.unref(M)},[e.createVNode(kt,e.mergeProps(e.unref(F),{modelValue:t.value,"onUpdate:modelValue":k[1]||(k[1]=O=>t.value=O),autofocus:!e.unref(a).fieldOnly||e.unref(a).autofocus,"clear-icon":e.unref(g),color:e.unref(a).color,density:e.unref(a).density,disabled:e.unref(s)||e.unref(v),error:e.unref(p),"error-messages":e.unref(P),"hide-details":e.unref(a).hideDetails,label:e.unref(a).label,loading:e.unref(s),variant:e.unref(a).variant,width:"100%",onKeyup:[e.withKeys(R,["enter"]),e.withKeys(I,["esc"])]}),e.createSlots({_:2},[e.renderList(e.unref(r),(O,W)=>({name:W,fn:e.withCtx(q=>[e.renderSlot(C.$slots,W,e.normalizeProps(e.guardReactiveProps({...q})))])})),e.unref(r).append?void 0:{name:"append",fn:e.withCtx(()=>[e.createVNode(e.unref(mn),{modelValue:t.value,"onUpdate:modelValue":k[0]||(k[0]=O=>t.value=O),"cancel-button-color":e.unref(a).cancelButtonColor,"cancel-button-size":e.unref(a).cancelButtonSize,"cancel-button-title":e.unref(a).cancelButtonTitle,"cancel-button-variant":e.unref(a).cancelButtonVariant,"cancel-icon":e.unref(a).cancelIcon,"cancel-icon-color":e.unref(a).cancelIconColor,error:e.unref(p),"field-only":e.unref(a).fieldOnly,"hide-cancel-icon":e.unref(a).hideCancelIcon,"hide-save-icon":e.unref(a).hideSaveIcon,loading:e.unref(s),"loading-icon":e.unref(a).loadingIcon,"loading-icon-color":e.unref(a).loadingIconColor,required:e.unref(a).required,"save-button-color":e.unref(a).saveButtonColor,"save-button-size":e.unref(a).saveButtonSize,"save-button-title":e.unref(a).saveButtonTitle,"save-button-variant":e.unref(a).saveButtonVariant,"save-icon":e.unref(a).saveIcon,"save-icon-color":e.unref(a).saveIconColor,onClose:I,onSave:R},null,8,["modelValue","cancel-button-color","cancel-button-size","cancel-button-title","cancel-button-variant","cancel-icon","cancel-icon-color","error","field-only","hide-cancel-icon","hide-save-icon","loading","loading-icon","loading-icon-color","required","save-button-color","save-button-size","save-button-title","save-button-variant","save-icon","save-icon-color"])]),key:"0"}]),1040,["modelValue","autofocus","clear-icon","color","density","disabled","error","error-messages","hide-details","label","loading","variant","onKeyup"])],8,["disabled","to"]))],2)):e.createCommentVNode("",!0),e.unref(a).cardField?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass(e.unref(V)),style:e.normalizeStyle(e.unref(h))},[e.createVNode(je,e.normalizeProps(e.guardReactiveProps(e.unref(j))),{default:e.withCtx(()=>[e.createVNode(Pe,null,{default:e.withCtx(()=>[e.createElementVNode("div",{ref_key:"cardFieldRef",ref:M},null,512)]),_:1})]),_:1},16)],6)):e.createCommentVNode("",!0)],6))}}),VInlineTextarea:e.defineComponent({__name:"VInlineTextarea",props:e.mergeModels(e.mergeDefaults({autoGrow:{},clearIcon:{},density:{},rows:{},rules:{},variant:{},autofocus:{type:Boolean},cancelButtonColor:{},cancelButtonSize:{},cancelButtonTitle:{},cancelButtonVariant:{},cancelIcon:{},cancelIconColor:{},cardField:{type:Boolean},cardOffsetX:{},cardOffsetY:{},cardProps:{},cell:{type:Boolean},cellUnderlineFullWidth:{type:Boolean},closeSiblings:{type:Boolean},color:{},disabled:{type:Boolean},displayAppendIcon:{},displayAppendIconColor:{},displayAppendIconSize:{},displayAppendInnerIcon:{},displayAppendInnerIconColor:{},displayAppendInnerIconSize:{},displayPrependIcon:{},displayPrependIconColor:{},displayPrependIconSize:{},displayPrependInnerIcon:{},displayPrependInnerIconColor:{},displayPrependInnerIconSize:{},emptyText:{},error:{type:Boolean},fieldOnly:{type:Boolean},hideCancelIcon:{type:Boolean},hideDetails:{type:Boolean},hideSaveIcon:{type:Boolean},item:{},label:{},loading:{type:Boolean},loadingIcon:{},loadingIconColor:{},loadingWait:{type:Boolean},name:{},required:{type:Boolean},saveButtonColor:{},saveButtonSize:{},saveButtonTitle:{},saveButtonVariant:{},saveIcon:{},saveIconColor:{},tableField:{type:Boolean},truncateLength:{},truncateSuffix:{},underlineColor:{},underlineStyle:{},underlineWidth:{},underlined:{type:Boolean},valueColor:{}},{...va}),{modelValue:{}}),emits:e.mergeModels([...Xe],["update:modelValue"]),setup(n,{emit:o}){const t=e.useModel(n,"modelValue"),l=e.useAttrs(),r=e.useSlots(),i=o,c=e.inject(Symbol.for("vuetify:icons")),u=n;let a=e.reactive({...l,...u});const s=e.computed(()=>u.loading),v=e.computed(()=>u.disabled),f=e.ref(!1),p=e.ref(!1),d=e.ref(!1),m=e.ref(null);let y=t.value;e.watch(()=>s.value,(C,k)=>{!C&&k&&d.value&&S()});const g=e.computed(()=>ve({icon:u.clearIcon,iconOptions:c,name:"clear"})),b=e.computed(()=>t.value?(f.value=!1,a.truncateLength?xt({length:a.truncateLength,suffix:a.truncateSuffix,text:t.value}):t.value):(f.value=!0,a.emptyText)),F=e.computed(()=>un(a)),N=e.computed(()=>({color:a.color,displayAppendIcon:u.displayAppendIcon,displayAppendIconColor:u.displayAppendIconColor,displayAppendIconSize:u.displayAppendIconSize,displayAppendInnerIcon:u.displayAppendInnerIcon,displayAppendInnerIconColor:u.displayAppendInnerIconColor,displayAppendInnerIconSize:u.displayAppendInnerIconSize,displayPrependIcon:u.displayPrependIcon,displayPrependIconColor:u.displayPrependIconColor,displayPrependIconSize:u.displayPrependIconSize,displayPrependInnerIcon:u.displayPrependInnerIcon,displayPrependInnerIconColor:u.displayPrependInnerIconColor,displayPrependInnerIconSize:u.displayPrependInnerIconSize,displayValue:b.value,empty:f.value,error:p.value,field:"v-text-field",underlineColor:a.underlineColor,underlineStyle:a.underlineStyle,underlineWidth:a.underlineWidth,underlined:a.underlined,valueColor:a.valueColor})),j=e.computed(()=>({...Me,...u.cardProps})),E=e.computed(()=>Ue({cell:a.cell&&!d.value,density:a.density,disabled:v.value,field:"v-textarea",iconSet:c==null?void 0:c.defaultSet,loading:s.value,loadingWait:a.loadingWait,tableField:a.tableField,variant:a.variant})),z=e.computed(()=>Ge({cell:a.cell,cellUnderlineFullWidth:a.cellUnderlineFullWidth,density:a.density,field:"v-textarea"})),D=Xn({density:a.density,variant:a.variant}),_=e.computed(()=>qe({active:d.value,name:"textarea"})),V=e.computed(()=>He({name:"textarea",showField:d.value})),A=e.computed(()=>({})),h=e.computed(()=>B.value);function I(){p.value=!1,t.value=y,S()}const B=e.ref(),L=e.ref(null),M=e.ref("body");function S(){var k,O;if(v.value||a.loadingWait&&s.value)return;B.value=_e({cardMinWidth:(k=a.cardProps)==null?void 0:k.minWidth,cardOffsetX:a.cardOffsetX,cardOffsetY:a.cardOffsetY,cardWidth:(O=a.cardProps)==null?void 0:O.width,field:L.value});const C=Ye({attrs:l,closeSiblings:a.closeSiblings,fieldOnly:a.fieldOnly,props:u,showField:d,timeOpened:m.value});a={...a,...C.settings},d.value=C.showField,m.value=C.timeOpened,x!==null&&a.closeSiblings&&d.value&&!a.fieldOnly&&x.emit(C.timeOpened)}const w=e.ref(),P=e.computed(()=>w.value);function $(){const C=Jn({required:a.required,rules:a.rules,value:t});return p.value=C.errors,w.value=C.results,C.results}function R(){y=t.value,i("update",t.value),a.loadingWait||S()}let x,T;function G(C){i("update:closeSiblingFields",m),d.value&&m.value!==C&&I()}return e.watch(()=>d.value,()=>{d.value&&$()}),e.watch(()=>t.value,()=>{d.value&&$()}),a.closeSiblings&&import("@vueuse/core").then(({useEventBus:C})=>{x=C(Le),T=x.on(G)}),e.onUnmounted(()=>{T!==void 0&&x.off(G)}),(C,k)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"inlineFieldsContainer",ref:L,class:e.normalizeClass(e.unref(E)),style:e.normalizeStyle(e.unref(A))},[!e.unref(d)&&!e.unref(a).fieldOnly||e.unref(a).cardField?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(z))},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(D))},[e.createVNode(e.unref(Kn),e.mergeProps(e.unref(N),{onToggleField:S}),e.createSlots({_:2},[e.renderList(e.unref(r),(O,W)=>({name:W,fn:e.withCtx(q=>[e.renderSlot(C.$slots,W,e.normalizeProps(e.guardReactiveProps({...q})))])}))]),1040)],2)],2)):e.createCommentVNode("",!0),e.unref(d)||e.unref(a).fieldOnly||e.unref(a).cardField?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(e.unref(_))},[(e.openBlock(),e.createBlock(e.Teleport,{disabled:!e.unref(a).cardField,to:e.unref(M)},[e.createVNode(ti,e.mergeProps(e.unref(F),{modelValue:t.value,"onUpdate:modelValue":k[0]||(k[0]=O=>t.value=O),"auto-grow":e.unref(a).autoGrow,autofocus:!e.unref(a).fieldOnly||e.unref(a).autofocus,"clear-icon":e.unref(g),color:e.unref(a).color,density:e.unref(a).density,disabled:e.unref(s)||e.unref(v),error:e.unref(p),"error-messages":e.unref(P),"hide-details":e.unref(a).hideDetails,label:e.unref(a).label,loading:e.unref(s),rows:e.unref(a).rows,variant:e.unref(a).variant,width:"100%",onKeyup:e.withKeys(I,["esc"])}),e.createSlots({_:2},[e.renderList(e.unref(r),(O,W)=>({name:W,fn:e.withCtx(q=>[e.renderSlot(C.$slots,W,e.normalizeProps(e.guardReactiveProps({...q})))])})),e.unref(r).append?void 0:{name:"append",fn:e.withCtx(()=>[e.createVNode(e.unref(mn),{"cancel-button-color":e.unref(a).cancelButtonColor,"cancel-button-size":e.unref(a).cancelButtonSize,"cancel-button-title":e.unref(a).cancelButtonTitle,"cancel-button-variant":e.unref(a).cancelButtonVariant,"cancel-icon":e.unref(a).cancelIcon,"cancel-icon-color":e.unref(a).cancelIconColor,error:e.unref(p),"field-only":e.unref(a).fieldOnly,"hide-cancel-icon":e.unref(a).hideCancelIcon,"hide-save-icon":e.unref(a).hideSaveIcon,loading:e.unref(s),"loading-icon":e.unref(a).loadingIcon,"loading-icon-color":e.unref(a).loadingIconColor,"save-button-color":e.unref(a).saveButtonColor,"save-button-size":e.unref(a).saveButtonSize,"save-button-title":e.unref(a).saveButtonTitle,"save-button-variant":e.unref(a).saveButtonVariant,"save-icon":e.unref(a).saveIcon,"save-icon-color":e.unref(a).saveIconColor,onClose:I,onSave:R},null,8,["cancel-button-color","cancel-button-size","cancel-button-title","cancel-button-variant","cancel-icon","cancel-icon-color","error","field-only","hide-cancel-icon","hide-save-icon","loading","loading-icon","loading-icon-color","save-button-color","save-button-size","save-button-title","save-button-variant","save-icon","save-icon-color"])]),key:"0"}]),1040,["modelValue","auto-grow","autofocus","clear-icon","color","density","disabled","error","error-messages","hide-details","label","loading","rows","variant","onKeyup"])],8,["disabled","to"]))],2)):e.createCommentVNode("",!0),e.unref(a).cardField?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass(e.unref(V)),style:e.normalizeStyle(e.unref(h))},[e.createVNode(je,e.normalizeProps(e.guardReactiveProps(e.unref(j))),{default:e.withCtx(()=>[e.createVNode(Pe,null,{default:e.withCtx(()=>[e.createElementVNode("div",{ref_key:"cardFieldRef",ref:M},null,512)]),_:1})]),_:1},16)],6)):e.createCommentVNode("",!0)],6))}})},ci=n=>{for(const o in me){const t=me[o];n.component(t.name,t)}};for(const n in me)me[n].install=ci;const di=me.VInlineCheckbox,pi=me.VInlineCustomField,vi=me.VInlineSelect,fi=me.VInlineSwitch,mi=me.VInlineTextField,yi=me.VInlineTextarea,gi={VInlineFields:me};exports.VInlineCheckbox=di,exports.VInlineCustomField=pi,exports.VInlineSelect=vi,exports.VInlineSwitch=fi,exports.VInlineTextField=mi,exports.VInlineTextarea=yi,exports.default=gi; +(function(){"use strict";try{if(typeof document<"u"){var i=document.createElement("style");i.appendChild(document.createTextNode("[data-v-36fbbe97] .v-field__field{align-items:flex-end!important}:root{--v-inline-fields-top-padding-compact: 13px;--v-inline-fields-top-padding-comfortable: 17px;--v-inline-fields-top-padding-default: 21px;--v-inline-fields-input-height: 24px;--v-inline-fields-density-compact-height: 32px;--v-inline-fields-density-comfortable-height: 40px;--v-inline-fields-grey: #909090}.v-inline-fields--container-v-select-comfortable-plain .v-input__control .v-field__clearable,.v-inline-fields--container-v-select-comfortable-underlined .v-input__control .v-field__clearable,.v-inline-fields--container-v-text-field-comfortable-plain .v-input__control .v-field__clearable,.v-inline-fields--container-v-text-field-comfortable-underlined .v-input__control .v-field__clearable,.v-inline-fields--container-v-select-compact-plain .v-input__control .v-field__clearable,.v-inline-fields--container-v-select-compact-underlined .v-input__control .v-field__clearable,.v-inline-fields--container-v-text-field-compact-plain .v-input__control .v-field__clearable,.v-inline-fields--container-v-text-field-compact-underlined .v-input__control .v-field__clearable,.v-inline-fields--container-v-select-comfortable-plain .v-input__control .v-input__append,.v-inline-fields--container-v-select-comfortable-underlined .v-input__control .v-input__append,.v-inline-fields--container-v-text-field-comfortable-plain .v-input__control .v-input__append,.v-inline-fields--container-v-text-field-comfortable-underlined .v-input__control .v-input__append,.v-inline-fields--container-v-select-compact-plain .v-input__control .v-input__append,.v-inline-fields--container-v-select-compact-underlined .v-input__control .v-input__append,.v-inline-fields--container-v-text-field-compact-plain .v-input__control .v-input__append,.v-inline-fields--container-v-text-field-compact-underlined .v-input__control .v-input__append{padding-top:0!important}.v-inline-fields--container-v-select-comfortable-plain .v-input__control .v-field__clearable .v-icon,.v-inline-fields--container-v-select-comfortable-underlined .v-input__control .v-field__clearable .v-icon,.v-inline-fields--container-v-text-field-comfortable-plain .v-input__control .v-field__clearable .v-icon,.v-inline-fields--container-v-text-field-comfortable-underlined .v-input__control .v-field__clearable .v-icon,.v-inline-fields--container-v-select-compact-plain .v-input__control .v-field__clearable .v-icon,.v-inline-fields--container-v-select-compact-underlined .v-input__control .v-field__clearable .v-icon,.v-inline-fields--container-v-text-field-compact-plain .v-input__control .v-field__clearable .v-icon,.v-inline-fields--container-v-text-field-compact-underlined .v-input__control .v-field__clearable .v-icon,.v-inline-fields--container-v-select-comfortable-plain .v-input__control .v-input__append .v-icon,.v-inline-fields--container-v-select-comfortable-underlined .v-input__control .v-input__append .v-icon,.v-inline-fields--container-v-text-field-comfortable-plain .v-input__control .v-input__append .v-icon,.v-inline-fields--container-v-text-field-comfortable-underlined .v-input__control .v-input__append .v-icon,.v-inline-fields--container-v-select-compact-plain .v-input__control .v-input__append .v-icon,.v-inline-fields--container-v-select-compact-underlined .v-input__control .v-input__append .v-icon,.v-inline-fields--container-v-text-field-compact-plain .v-input__control .v-input__append .v-icon,.v-inline-fields--container-v-text-field-compact-underlined .v-input__control .v-input__append .v-icon{font-size:1rem!important}.v-inline-fields{position:relative}.v-inline-fields--display-container *{align-items:center;display:flex}.v-inline-fields--display-container-cell{cursor:pointer;display:block;max-height:unset!important}.v-inline-fields--display-container-cell>div{width:100%}.v-inline-fields--display-container-cell-underline-full-width .v-inline-fields--display-value{width:100%}.v-inline-fields--display-container-cell .v-inline-fields--selection-control .v-inline-fields--display-value{justify-content:center}.v-inline-fields--display-container-cell,.v-inline-fields--display-container-cell .v-input,.v-inline-fields--display-container-cell .v-inline-fields--display-wrapper,.v-inline-fields--display-container-cell .v-selection-control__wrapper{height:100%!important;width:100%}.v-inline-fields--display-value{cursor:pointer;letter-spacing:.009375em!important}.v-inline-fields--display-value-empty{color:var(--v-inline-fields-grey);font-style:italic}.v-inline-fields--display-value-checkbox,.v-inline-fields--display-value-switch{padding-bottom:2px;padding-top:6px}.v-inline-fields--display-append-icon,.v-inline-fields--display-prepend-icon,.v-inline-fields--display-append-inner-icon,.v-inline-fields--display-prepend-inner-icon{align-items:flex-end;display:inline-flex}.v-inline-fields--container-cell{height:100%;width:100%}.v-inline-fields--container-disabled .v-inline-fields--display-value{cursor:default!important;opacity:var(--v-disabled-opacity)}.v-inline-fields--container-loading .v-inline-fields--display-value{cursor:wait!important}.v-inline-fields--container-icon-set-fa .v-field__clearable{font-size:.8rem}.v-inline-fields--container-icon-set-fa .v-field__append-inner{align-items:flex-end;padding-bottom:0!important}.v-inline-fields--container-v-select-compact-plain .v-input,.v-inline-fields--container-v-select-compact-underlined .v-input,.v-inline-fields--container-v-text-field-compact-plain .v-input,.v-inline-fields--container-v-text-field-compact-underlined .v-input{height:var(--v-inline-fields-density-compact-height);max-height:var(--v-inline-fields-density-compact-height)}.v-inline-fields--container-v-select-compact-plain .v-input__control,.v-inline-fields--container-v-select-compact-underlined .v-input__control,.v-inline-fields--container-v-text-field-compact-plain .v-input__control,.v-inline-fields--container-v-text-field-compact-underlined .v-input__control{padding-bottom:4px}.v-inline-fields--container-v-select-compact-plain .v-input>div,.v-inline-fields--container-v-select-compact-underlined .v-input>div,.v-inline-fields--container-v-text-field-compact-plain .v-input>div,.v-inline-fields--container-v-text-field-compact-underlined .v-input>div{height:inherit!important;max-height:inherit!important}.v-inline-fields--container-v-select-compact-plain .v-input .v-field__input,.v-inline-fields--container-v-select-compact-underlined .v-input .v-field__input,.v-inline-fields--container-v-text-field-compact-plain .v-input .v-field__input,.v-inline-fields--container-v-text-field-compact-underlined .v-input .v-field__input{padding-top:0}.v-inline-fields--container-v-select-compact-plain .v-input .v-field__input input,.v-inline-fields--container-v-select-compact-underlined .v-input .v-field__input input,.v-inline-fields--container-v-text-field-compact-plain .v-input .v-field__input input,.v-inline-fields--container-v-text-field-compact-underlined .v-input .v-field__input input{padding-bottom:10px}.v-inline-fields--container-v-select-compact-plain .v-input .v-select__selection,.v-inline-fields--container-v-select-compact-underlined .v-input .v-select__selection,.v-inline-fields--container-v-text-field-compact-plain .v-input .v-select__selection,.v-inline-fields--container-v-text-field-compact-underlined .v-input .v-select__selection{align-items:center;padding-bottom:10px}.v-inline-fields--container-v-select-comfortable-plain .v-input,.v-inline-fields--container-v-select-comfortable-underlined .v-input,.v-inline-fields--container-v-text-field-comfortable-plain .v-input,.v-inline-fields--container-v-text-field-comfortable-underlined .v-input{height:var(--v-inline-fields-density-comfortable-height);max-height:var(--v-inline-fields-density-comfortable-height)}.v-inline-fields--container-v-select-comfortable-plain .v-input__control,.v-inline-fields--container-v-select-comfortable-underlined .v-input__control,.v-inline-fields--container-v-text-field-comfortable-plain .v-input__control,.v-inline-fields--container-v-text-field-comfortable-underlined .v-input__control{padding-bottom:8px}.v-inline-fields--container-v-select-comfortable-plain .v-input>div,.v-inline-fields--container-v-select-comfortable-underlined .v-input>div,.v-inline-fields--container-v-text-field-comfortable-plain .v-input>div,.v-inline-fields--container-v-text-field-comfortable-underlined .v-input>div{height:inherit!important;max-height:inherit!important}.v-inline-fields--container-v-select-comfortable-plain .v-input .v-field__input,.v-inline-fields--container-v-select-comfortable-underlined .v-input .v-field__input,.v-inline-fields--container-v-text-field-comfortable-plain .v-input .v-field__input,.v-inline-fields--container-v-text-field-comfortable-underlined .v-input .v-field__input{padding-top:0}.v-inline-fields--container-v-select-comfortable-plain .v-input .v-field__input input,.v-inline-fields--container-v-select-comfortable-underlined .v-input .v-field__input input,.v-inline-fields--container-v-text-field-comfortable-plain .v-input .v-field__input input,.v-inline-fields--container-v-text-field-comfortable-underlined .v-input .v-field__input input{padding-bottom:6px}.v-inline-fields--container-v-select-comfortable-plain .v-input .v-select__selection,.v-inline-fields--container-v-select-comfortable-underlined .v-input .v-select__selection,.v-inline-fields--container-v-text-field-comfortable-plain .v-input .v-select__selection,.v-inline-fields--container-v-text-field-comfortable-underlined .v-input .v-select__selection{align-items:center;padding-bottom:6px}.v-inline-fields--container-v-select-compact-plain .v-field__append-inner,.v-inline-fields--container-v-select-compact-underlined .v-field__append-inner{padding-top:4px!important}.v-inline-fields--container-v-select-comfortable-plain .v-field__append-inner,.v-inline-fields--container-v-select-comfortable-underlined .v-field__append-inner{padding-top:8px!important}.v-inline-fields--container-v-textarea .v-inline-fields--save-fields-container{align-items:flex-end}.v-inline-fields--container-v-select,.v-inline-fields--container-v-textarea,.v-inline-fields--container-v-text-field{width:100%}.v-inline-fields--container-v-checkbox .v-input,.v-inline-fields--container-v-switch .v-input{align-items:center;display:flex;padding-bottom:0}.v-inline-fields--container-v-checkbox .v-input__append,.v-inline-fields--container-v-switch .v-input__append{margin-inline-start:0!important;margin-left:0;padding-bottom:0!important}.v-inline-fields--container-v-checkbox .v-selection-control,.v-inline-fields--container-v-switch .v-selection-control{min-height:unset}.v-inline-fields--container-v-checkbox .v-inline-fields--save-fields-container,.v-inline-fields--container-v-switch .v-inline-fields--save-fields-container{align-items:center!important}.v-inline-fields--container .v-input__append,.v-inline-fields--container .v-input__prepend,.v-inline-fields--container .v-field__append-inner,.v-inline-fields--container .v-field__prepend-inner{padding-top:0!important}.v-inline-fields--container .v-input__append .v-icon,.v-inline-fields--container .v-input__prepend .v-icon,.v-inline-fields--container .v-field__append-inner .v-icon,.v-inline-fields--container .v-field__prepend-inner .v-icon{font-size:1rem!important}.v-inline-fields--container .v-field__append-inner,.v-inline-fields--container .v-field__prepend-inner{padding-bottom:10px!important}.v-inline-fields--container-compact .v-input__append,.v-inline-fields--container-compact .v-input__prepend,.v-inline-fields--container-compact .v-field__append-inner,.v-inline-fields--container-compact .v-field__prepend-inner{align-items:center!important}.v-inline-fields--container-compact .v-field__append-inner,.v-inline-fields--container-compact .v-field__prepend-inner{padding-bottom:10px!important}.v-inline-fields--container-comfortable .v-input__append,.v-inline-fields--container-comfortable .v-input__prepend,.v-inline-fields--container-comfortable .v-field__append-inner,.v-inline-fields--container-comfortable .v-field__prepend-inner{align-items:center!important}.v-inline-fields--container-comfortable .v-field__append-inner,.v-inline-fields--container-comfortable .v-field__prepend-inner{padding-bottom:6px!important}.v-inline-fields--container-default .v-input__append,.v-inline-fields--container-default .v-input__prepend,.v-inline-fields--container-default .v-field__append-inner,.v-inline-fields--container-default .v-field__prepend-inner{align-items:flex-end!important;padding-bottom:0!important}.v-inline-fields--container-default .v-input__append .v-icon,.v-inline-fields--container-default .v-input__prepend .v-icon,.v-inline-fields--container-default .v-field__append-inner .v-icon,.v-inline-fields--container-default .v-field__prepend-inner .v-icon{font-size:calc(var(--v-icon-size-multiplier) * 1.5em)!important}.v-inline-fields--container-default .v-inline-fields--save-fields-container{align-items:flex-end!important}.v-inline-fields--card-container{height:fit-content;min-width:fit-content!important;position:absolute}.v-inline-fields--card-container .v-card{border:1px solid hsla(0,0%,50%,.5)}.v-inline-fields--card-container .v-card .v-card-text{padding:5px 10px}.v-inline-fields--card-container .v-card .v-card-text>div{align-items:center;display:flex}.v-inline-fields--card-container-checkbox .v-card .v-card-text .v-input__append{margin-inline-start:0}.v-inline-fields--save-fields-container{align-items:center;display:flex;height:100%;margin-left:.1rem}.v-inline-fields--boolean-icons{font-size:calc(var(--v-icon-size-multiplier) * 1em)}.v-inline-fields .truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:250px}.v-inline-fields .v-input__append{padding-top:0}")),document.head.appendChild(i)}}catch(n){console.error("vite-plugin-css-injected-by-js",n)}})(); diff --git a/dist/vuetify-inline-fields.es.js b/dist/vuetify-inline-fields.es.js index 340e843..4bae276 100644 --- a/dist/vuetify-inline-fields.es.js +++ b/dist/vuetify-inline-fields.es.js @@ -1,9 +1,9 @@ -import { Fragment as fe, reactive as Le, computed as v, watchEffect as Ge, toRefs as Eo, capitalize as To, isVNode as ni, Comment as ti, unref as u, warn as Rt, inject as ve, ref as N, provide as De, shallowRef as re, defineComponent as Ne, camelize as zo, h as Nt, getCurrentInstance as li, onBeforeUnmount as an, watch as K, readonly as bl, onScopeDispose as Be, effectScope as Cl, toRaw as tn, TransitionGroup as oi, Transition as gn, createVNode as d, mergeProps as Z, onBeforeMount as Do, nextTick as Ie, withDirectives as we, resolveDirective as Je, vShow as Mn, isRef as hn, onMounted as Wn, toRef as ne, Text as ai, resolveDynamicComponent as ii, Teleport as sn, cloneVNode as ri, createTextVNode as Lo, vModelText as si, mergeModels as Pe, useModel as un, openBlock as J, createBlock as he, useSlots as cn, createElementBlock as ae, normalizeClass as ee, normalizeStyle as ge, renderSlot as Ae, normalizeProps as ye, createCommentVNode as pe, createElementVNode as xe, toDisplayString as Il, useAttrs as dn, withCtx as ue, mergeDefaults as kn, onUnmounted as wn, createSlots as Ue, renderList as Ye, guardReactiveProps as Ce, withKeys as St } from "vue"; +import { Fragment as fe, reactive as Le, computed as v, watchEffect as Ge, toRefs as Eo, capitalize as To, isVNode as ni, Comment as ti, unref as u, warn as Rt, inject as ve, ref as M, provide as De, shallowRef as re, defineComponent as Ne, camelize as zo, h as Nt, getCurrentInstance as li, onBeforeUnmount as Ze, watch as K, readonly as bl, onScopeDispose as ke, effectScope as Cl, toRaw as on, TransitionGroup as oi, Transition as gn, createVNode as d, mergeProps as Z, onBeforeMount as Do, nextTick as Ie, withDirectives as Fe, resolveDirective as Qe, vShow as Wn, isRef as hn, onMounted as Mn, toRef as ne, Text as ai, resolveDynamicComponent as ii, Teleport as sn, cloneVNode as ri, createTextVNode as Lo, vModelText as si, mergeModels as Pe, useModel as un, openBlock as J, createBlock as he, useSlots as cn, createElementBlock as ie, normalizeClass as ee, normalizeStyle as ge, renderSlot as Ae, normalizeProps as ye, createCommentVNode as pe, createElementVNode as xe, toDisplayString as Il, useAttrs as dn, withCtx as ue, mergeDefaults as kn, onUnmounted as wn, createSlots as He, renderList as Ye, guardReactiveProps as Ce, withKeys as St } from "vue"; import { useTheme as Sl } from "vuetify"; import { useWindowSize as ui } from "@vueuse/core"; /** * @name @wdns/vuetify-inline-fields - * @version 1.0.0-beta-2 + * @version 1.0.0 * @description Vuetify Inline Fields Component Library offers a comprehensive collection of reusable UI components to create elegant and efficient inline form fields within your applications. * @author WebDevNerdStuff & Bunnies... lots and lots of bunnies! (https://webdevnerdstuff.com) * @copyright Copyright 2023, WebDevNerdStuff @@ -11,7 +11,7 @@ import { useWindowSize as ui } from "@vueuse/core"; * @repository https://github.com/webdevnerdstuff/vuetify-inline-fields * @license MIT License */ -const Fn = Symbol("identifier"), Vn = { elevation: 5, variant: "flat" }, ot = { cancelButtonColor: "default", cancelButtonSize: "x-small", cancelButtonTitle: "Cancel", cancelButtonVariant: "text", cancelIcon: void 0, cancelIconColor: "default", cardField: !1, cardOffsetX: 0, cardOffsetY: 0, cardProps: () => ({}), closeSiblings: !1, color: "primary", density: "compact", disabled: !1, displayAppendIcon: void 0, displayAppendIconColor: void 0, displayAppendIconSize: "x-small", displayAppendInnerIcon: void 0, displayAppendInnerIconColor: void 0, displayAppendInnerIconSize: "x-small", displayPrependIcon: void 0, displayPrependIconColor: void 0, displayPrependIconSize: "x-small", displayPrependInnerIcon: void 0, displayPrependInnerIconColor: void 0, displayPrependInnerIconSize: "x-small", emptyText: "empty", fieldOnly: !1, hideDetails: !0, label: "", loading: !1, loadingWait: !0, name: "", tableField: !0, underlineColor: "primary", underlineStyle: "dotted", underlineWidth: "2px", underlined: !0, valueColor: "default" }, xl = { autofocus: !0 }, jt = { hideSaveIcon: !1, loadingIcon: void 0, loadingIconColor: "primary", saveButtonColor: "primary", saveButtonSize: "x-small", saveButtonTitle: "Save", saveButtonVariant: "text", saveIcon: void 0, saveIconColor: "primary" }, Mo = { falseValue: !1, iconFalse: void 0, iconFalseColor: "danger", iconFalseTitle: "No", iconTrue: void 0, iconTrueColor: "success", iconTrueTitle: "Yes", icons: !0, trueValue: !0 }, ci = { ...ot, ...Mo, ...jt, falseIcon: void 0, icons: !0, trueIcon: void 0 }, di = { ...ot, ...xl, ...jt, clearIcon: void 0, clearable: !1, hideSelected: !0, itemTitle: "title", itemValue: "value", items: () => [], menu: !0, variant: "underlined" }, pi = { ...ot, ...Mo, icons: !0, falseIcon: "" }, vi = { ...xl, ...jt, ...ot, autoGrow: !0, rows: 1, truncateLength: void 0, truncateSuffix: "...", variant: "underlined" }, Wo = { ...ot, ...xl, ...jt, truncateLength: void 0, truncateSuffix: "...", variant: "underlined" }, fi = { fa: { checkboxFalse: "$checkboxOff", checkboxTrue: "far fa-square-check", clear: "$clear", false: "$close", loading: "fa-circle-notch", save: "fa-floppy-disk", true: "$complete" }, mdi: { checkboxFalse: "$checkboxOff", checkboxTrue: "mdi:mdi-checkbox-outline", clear: "$clear", false: "$close", loading: "mdi-loading", save: "mdi-content-save", true: "$complete" } }, Me = (e) => { +const Fn = Symbol("identifier"), Vn = { elevation: 5, variant: "flat" }, ot = { cancelButtonColor: "default", cancelButtonSize: "x-small", cancelButtonTitle: "Cancel", cancelButtonVariant: "text", cancelIcon: void 0, cancelIconColor: "default", cardField: !1, cardOffsetX: 0, cardOffsetY: 0, cardProps: () => ({}), cell: !1, cellUnderlineFullWidth: !0, closeSiblings: !1, color: "primary", density: "compact", disabled: !1, displayAppendIcon: void 0, displayAppendIconColor: void 0, displayAppendIconSize: "x-small", displayAppendInnerIcon: void 0, displayAppendInnerIconColor: void 0, displayAppendInnerIconSize: "x-small", displayPrependIcon: void 0, displayPrependIconColor: void 0, displayPrependIconSize: "x-small", displayPrependInnerIcon: void 0, displayPrependInnerIconColor: void 0, displayPrependInnerIconSize: "x-small", emptyText: "empty", fieldOnly: !1, hideCancelIcon: !0, hideDetails: !0, label: "", loading: !1, loadingWait: !0, name: "", tableField: !0, underlineColor: "primary", underlineStyle: "dotted", underlineWidth: "2px", underlined: !0, valueColor: "default" }, Bl = { autofocus: !0 }, jt = { hideCancelIcon: !1, hideSaveIcon: !1, loadingIcon: void 0, loadingIconColor: "primary", saveButtonColor: "primary", saveButtonSize: "x-small", saveButtonTitle: "Save", saveButtonVariant: "text", saveIcon: void 0, saveIconColor: "primary" }, Wo = { falseValue: !1, iconFalse: void 0, iconFalseColor: "danger", iconFalseTitle: "No", iconTrue: void 0, iconTrueColor: "success", iconTrueTitle: "Yes", icons: !0, trueValue: !0 }, ci = { ...ot, ...Wo, ...jt, falseIcon: void 0, icons: !0, trueIcon: void 0 }, di = { ...ot, ...Bl, ...jt, clearIcon: void 0, clearable: !1, hideSelected: !0, itemTitle: "title", itemValue: "value", items: () => [], menu: !0, variant: "underlined" }, pi = { ...ot, ...Wo, icons: !0, falseIcon: "" }, vi = { ...Bl, ...jt, ...ot, autoGrow: !0, rows: 1, truncateLength: void 0, truncateSuffix: "...", variant: "underlined" }, Mo = { ...ot, ...Bl, ...jt, truncateLength: void 0, truncateSuffix: "...", variant: "underlined" }, fi = { fa: { checkboxFalse: "$checkboxOff", checkboxTrue: "far fa-square-check", clear: "$clear", false: "$close", loading: "fa-circle-notch", save: "fa-floppy-disk", true: "$complete" }, mdi: { checkboxFalse: "$checkboxOff", checkboxTrue: "mdi:mdi-checkbox-outline", clear: "$clear", false: "$close", loading: "mdi-loading", save: "mdi-content-save", true: "$complete" } }, We = (e) => { const { icon: t, iconOptions: n, name: l } = e; if (t) return t; @@ -23,13 +23,13 @@ const Fn = Symbol("identifier"), Vn = { elevation: 5, variant: "flat" }, ot = { throw new Error(`VInlineFields: No ${l} icon found. Please set the icon prop, or set the default icon set to 'mdi' or 'fa'`); return i; }; -function Y(e, t) { +function H(e, t) { return (n) => Object.keys(e).reduce((l, a) => { const i = typeof e[a] == "object" && e[a] != null && !Array.isArray(e[a]) ? e[a] : { type: e[a] }; return l[a] = n && a in n ? { ...i, default: n[a] } : i, t && !l[a].source && (l[a].source = t), l; }, {}); } -const se = Y({ class: [String, Array], style: { type: [String, Array, Object], default: null } }, "component"), $e = typeof window < "u", Bl = $e && "IntersectionObserver" in window; +const se = H({ class: [String, Array], style: { type: [String, Array, Object], default: null } }, "component"), $e = typeof window < "u", xl = $e && "IntersectionObserver" in window; function Nl(e, t, n) { const l = t.length - 1; if (l < 0) @@ -110,7 +110,7 @@ function it(e) { const [t, n] = Gl(e, [No]), l = bn(t, yi), [a, i] = Gl(n, ["class", "style", "id", /^data-/]); return Object.assign(a, t), Object.assign(i, l), [a, i]; } -function ln(e) { +function Ke(e) { return e == null ? [] : Array.isArray(e) ? e : [e]; } function An(e) { @@ -120,14 +120,14 @@ function An(e) { function ql(e, t) { return e + (arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : "0").repeat(Math.max(0, t - e.length)); } -function xn() { +function Bn() { let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = arguments.length > 2 ? arguments[2] : void 0; const l = {}; for (const a in e) l[a] = e[a]; for (const a in t) { const i = e[a], c = t[a]; - ll(i) && ll(c) ? l[a] = xn(i, c, n) : Array.isArray(i) && Array.isArray(c) && n ? l[a] = n(i, c) : l[a] = c; + ll(i) && ll(c) ? l[a] = Bn(i, c, n) : Array.isArray(i) && Array.isArray(c) && n ? l[a] = n(i, c) : l[a] = c; } return l; } @@ -141,18 +141,18 @@ function pn() { const t = e.replace(/[^a-z]/gi, "-").replace(/\B([A-Z])/g, "-$1").toLowerCase(); return pn.cache.set(e, t), t; } -function xt(e, t) { +function Bt(e, t) { if (!t || typeof t != "object") return []; if (Array.isArray(t)) - return t.map((n) => xt(e, n)).flat(1); + return t.map((n) => Bt(e, n)).flat(1); if (Array.isArray(t.children)) - return t.children.map((n) => xt(e, n)).flat(1); + return t.children.map((n) => Bt(e, n)).flat(1); if (t.component) { if (Object.getOwnPropertySymbols(t.component.provides).includes(e)) return [t.component]; if (t.component.subTree) - return xt(e, t.component.subTree).flat(1); + return Bt(e, t.component.subTree).flat(1); } return []; } @@ -166,12 +166,12 @@ function kl(e) { function Ft(e, t) { return e.includes(t); } -function Hl(e) { +function Ul(e) { return e[2].toLowerCase() + e.slice(3); } pn.cache = /* @__PURE__ */ new Map(); const je = () => [Function, Array]; -function Ul(e, t) { +function Hl(e, t) { return !!(e[t = "on" + To(t)] || e[`${t}Once`] || e[`${t}Capture`] || e[`${t}OnceCapture`] || e[`${t}CaptureOnce`]); } function Go(e) { @@ -207,8 +207,8 @@ function Vt(e, t) { else if (typeof t == "number") (i = n[t]) == null || i.focus(); else { - const r = qo(n, t); - r ? r.focus() : Vt(e, t === "next" ? "first" : "last"); + const s = qo(n, t); + s ? s.focus() : Vt(e, t === "next" ? "first" : "last"); } else e !== document.activeElement && e.contains(document.activeElement) || ((c = n[0]) == null || c.focus()); @@ -222,13 +222,13 @@ function At(e, t) { return null; } } -function Ho(e) { - return e.some((t) => !ni(t) || t.type !== ti && (t.type !== fe || Ho(t.children))) ? e : null; +function Uo(e) { + return e.some((t) => !ni(t) || t.type !== ti && (t.type !== fe || Uo(t.children))) ? e : null; } -const Uo = ["top", "bottom"], mi = ["start", "end", "left", "right"]; +const Ho = ["top", "bottom"], mi = ["start", "end", "left", "right"]; function il(e, t) { let [n, l] = e.split(" "); - return l || (l = Ft(Uo, n) ? "start" : Ft(mi, n) ? "top" : "center"), { side: Yl(n, t), align: Yl(l, t) }; + return l || (l = Ft(Ho, n) ? "start" : Ft(mi, n) ? "top" : "center"), { side: Yl(n, t), align: Yl(l, t) }; } function Yl(e, t) { return e === "start" ? t ? "right" : "left" : e === "end" ? t ? "left" : "right" : e; @@ -243,7 +243,7 @@ function Xl(e) { return { side: e.align, align: e.side }; } function Kl(e) { - return Ft(Uo, e.side) ? "y" : "x"; + return Ft(Ho, e.side) ? "y" : "x"; } class vn { constructor(t) { @@ -272,20 +272,20 @@ function Yo(e) { function wl(e) { const t = e.getBoundingClientRect(), n = getComputedStyle(e), l = n.transform; if (l) { - let a, i, c, r, o; + let a, i, c, s, o; if (l.startsWith("matrix3d(")) - a = l.slice(9, -1).split(/, /), i = +a[0], c = +a[5], r = +a[12], o = +a[13]; + a = l.slice(9, -1).split(/, /), i = +a[0], c = +a[5], s = +a[12], o = +a[13]; else { if (!l.startsWith("matrix(")) return new vn(t); - a = l.slice(7, -1).split(/, /), i = +a[0], c = +a[3], r = +a[4], o = +a[5]; + a = l.slice(7, -1).split(/, /), i = +a[0], c = +a[3], s = +a[4], o = +a[5]; } - const s = n.transformOrigin, m = t.x - r - (1 - i) * parseFloat(s), y = t.y - o - (1 - c) * parseFloat(s.slice(s.indexOf(" ") + 1)), f = i ? t.width / i : e.offsetWidth + 1, p = c ? t.height / c : e.offsetHeight + 1; - return new vn({ x: m, y, width: f, height: p }); + const r = n.transformOrigin, y = t.x - s - (1 - i) * parseFloat(r), m = t.y - o - (1 - c) * parseFloat(r.slice(r.indexOf(" ") + 1)), f = i ? t.width / i : e.offsetWidth + 1, p = c ? t.height / c : e.offsetHeight + 1; + return new vn({ x: y, y: m, width: f, height: p }); } return new vn(t); } -function Bn(e, t, n) { +function xn(e, t, n) { if (e.animate === void 0) return { finished: Promise.resolve() }; let l; @@ -300,18 +300,18 @@ function Bn(e, t, n) { }; })), l; } -const ht = /* @__PURE__ */ new WeakMap(), Sn = 2.4, Zl = 0.2126729, Ql = 0.7151522, eo = 0.072175, gi = 0.55, hi = 0.58, bi = 0.57, Ci = 0.62, bt = 0.03, no = 1.45, Ii = 5e-4, Si = 1.25, xi = 1.25, to = 0.078, lo = 12.82051282051282, Ct = 0.06, oo = 1e-3; +const ht = /* @__PURE__ */ new WeakMap(), Sn = 2.4, Zl = 0.2126729, Ql = 0.7151522, eo = 0.072175, gi = 0.55, hi = 0.58, bi = 0.57, Ci = 0.62, bt = 0.03, no = 1.45, Ii = 5e-4, Si = 1.25, Bi = 1.25, to = 0.078, lo = 12.82051282051282, Ct = 0.06, oo = 1e-3; function ao(e, t) { - const n = (e.r / 255) ** Sn, l = (e.g / 255) ** Sn, a = (e.b / 255) ** Sn, i = (t.r / 255) ** Sn, c = (t.g / 255) ** Sn, r = (t.b / 255) ** Sn; - let o, s = n * Zl + l * Ql + a * eo, m = i * Zl + c * Ql + r * eo; - if (s <= bt && (s += (bt - s) ** no), m <= bt && (m += (bt - m) ** no), Math.abs(m - s) < Ii) + const n = (e.r / 255) ** Sn, l = (e.g / 255) ** Sn, a = (e.b / 255) ** Sn, i = (t.r / 255) ** Sn, c = (t.g / 255) ** Sn, s = (t.b / 255) ** Sn; + let o, r = n * Zl + l * Ql + a * eo, y = i * Zl + c * Ql + s * eo; + if (r <= bt && (r += (bt - r) ** no), y <= bt && (y += (bt - y) ** no), Math.abs(y - r) < Ii) return 0; - if (m > s) { - const y = (m ** gi - s ** hi) * Si; - o = y < oo ? 0 : y < to ? y - y * lo * Ct : y - Ct; + if (y > r) { + const m = (y ** gi - r ** hi) * Si; + o = m < oo ? 0 : m < to ? m - m * lo * Ct : m - Ct; } else { - const y = (m ** Ci - s ** bi) * xi; - o = y > -oo ? 0 : y > -to ? y - y * lo * Ct : y + Ct; + const m = (y ** Ci - r ** bi) * Bi; + o = m > -oo ? 0 : m > -to ? m - m * lo * Ct : m + Ct; } return 100 * o; } @@ -321,13 +321,13 @@ function Kn(e) { function Jt(e) { return !!e && /^(#|var\(--|(rgb|hsl)a?\()/.test(e); } -const io = /^(?(?:rgb|hsl)a?)\((?.+)\)/, Bi = { rgb: (e, t, n, l) => ({ r: e, g: t, b: n, a: l }), rgba: (e, t, n, l) => ({ r: e, g: t, b: n, a: l }), hsl: (e, t, n, l) => ro({ h: e, s: t, l: n, a: l }), hsla: (e, t, n, l) => ro({ h: e, s: t, l: n, a: l }), hsv: (e, t, n, l) => Zn({ h: e, s: t, v: n, a: l }), hsva: (e, t, n, l) => Zn({ h: e, s: t, v: n, a: l }) }; -function Un(e) { +const io = /^(?(?:rgb|hsl)a?)\((?.+)\)/, xi = { rgb: (e, t, n, l) => ({ r: e, g: t, b: n, a: l }), rgba: (e, t, n, l) => ({ r: e, g: t, b: n, a: l }), hsl: (e, t, n, l) => ro({ h: e, s: t, l: n, a: l }), hsla: (e, t, n, l) => ro({ h: e, s: t, l: n, a: l }), hsv: (e, t, n, l) => Zn({ h: e, s: t, v: n, a: l }), hsva: (e, t, n, l) => Zn({ h: e, s: t, v: n, a: l }) }; +function Hn(e) { if (typeof e == "number") return (isNaN(e) || e < 0 || e > 16777215) && Kn(`'${e}' is not a valid hex color`), { r: (16711680 & e) >> 16, g: (65280 & e) >> 8, b: 255 & e }; if (typeof e == "string" && io.test(e)) { const { groups: t } = e.match(io), { fn: n, values: l } = t, a = l.split(/,\s*/).map((i) => i.endsWith("%") && ["hsl", "hsla", "hsv", "hsva"].includes(n) ? parseFloat(i) / 100 : parseFloat(i)); - return Bi[n](...a); + return xi[n](...a); } if (typeof e == "string") { let t = e.startsWith("#") ? e.slice(1) : e; @@ -335,17 +335,17 @@ function Un(e) { const n = parseInt(t, 16); return (isNaN(n) || n < 0 || n > 4294967295) && Kn(`'${e}' is not a valid hex(a) color`), function(l) { l = function(o) { - return o.startsWith("#") && (o = o.slice(1)), o = o.replace(/([^0-9a-f])/gi, "F"), (o.length === 3 || o.length === 4) && (o = o.split("").map((s) => s + s).join("")), o.length !== 6 && (o = ql(ql(o, 6), 8, "F")), o; + return o.startsWith("#") && (o = o.slice(1)), o = o.replace(/([^0-9a-f])/gi, "F"), (o.length === 3 || o.length === 4) && (o = o.split("").map((r) => r + r).join("")), o.length !== 6 && (o = ql(ql(o, 6), 8, "F")), o; }(l); - let [a, i, c, r] = function(o) { - let s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 1; - const m = []; - let y = 0; - for (; y < o.length; ) - m.push(o.substr(y, s)), y += s; - return m; + let [a, i, c, s] = function(o) { + let r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 1; + const y = []; + let m = 0; + for (; m < o.length; ) + y.push(o.substr(m, r)), m += r; + return y; }(l, 2).map((o) => parseInt(o, 16)); - return r = r === void 0 ? r : r / 255, { r: a, g: i, b: c, a: r }; + return s = s === void 0 ? s : s / 255, { r: a, g: i, b: c, a: s }; }(t); } if (typeof e == "object") { @@ -360,10 +360,10 @@ function Un(e) { Expected #hex, #hexa, rgb(), rgba(), hsl(), hsla(), object or number`); } function Zn(e) { - const { h: t, s: n, v: l, a } = e, i = (r) => { - const o = (r + t / 60) % 6; + const { h: t, s: n, v: l, a } = e, i = (s) => { + const o = (s + t / 60) % 6; return l - l * n * Math.max(Math.min(o, 4 - o, 1), 0); - }, c = [i(5), i(3), i(1)].map((r) => Math.round(255 * r)); + }, c = [i(5), i(3), i(1)].map((s) => Math.round(255 * s)); return { r: c[0], g: c[1], b: c[2], a }; } function ro(e) { @@ -381,65 +381,65 @@ function Fl() { return e; } function Rn(e, t) { - const n = Fl(), l = N(e), a = v(() => { + const n = Fl(), l = M(e), a = v(() => { if (u(t == null ? void 0 : t.disabled)) return n.value; - const i = u(t == null ? void 0 : t.scoped), c = u(t == null ? void 0 : t.reset), r = u(t == null ? void 0 : t.root); - if (l.value == null && !(i || c || r)) + const i = u(t == null ? void 0 : t.scoped), c = u(t == null ? void 0 : t.reset), s = u(t == null ? void 0 : t.root); + if (l.value == null && !(i || c || s)) return n.value; - let o = xn(l.value, { prev: n.value }); + let o = Bn(l.value, { prev: n.value }); if (i) return o; - if (c || r) { - const s = Number(c || 1 / 0); - for (let m = 0; m <= s && o && "prev" in o; m++) + if (c || s) { + const r = Number(c || 1 / 0); + for (let y = 0; y <= r && o && "prev" in o; y++) o = o.prev; - return o && typeof r == "string" && r in o && (o = xn(xn(o, { prev: o }), o[r])), o; + return o && typeof s == "string" && s in o && (o = Bn(Bn(o, { prev: o }), o[s])), o; } - return o.prev ? xn(o.prev, o) : o; + return o.prev ? Bn(o.prev, o) : o; }); return De(_t, a), a; } function ki() { let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 ? arguments[1] : void 0, n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : Fl(); - const l = Fe("useDefaults"); + const l = Se("useDefaults"); if (t = t ?? l.type.name ?? l.type.__name, !t) throw new Error("[Vuetify] Could not determine component name"); const a = v(() => { - var r; - return (r = n.value) == null ? void 0 : r[e._as ?? t]; - }), i = new Proxy(e, { get(r, o) { - var m, y, f, p; - const s = Reflect.get(r, o); - return o === "class" || o === "style" ? [(m = a.value) == null ? void 0 : m[o], s].filter((g) => g != null) : typeof o != "string" || function(g, h) { - var b, I; - return ((b = g.props) == null ? void 0 : b[h]) !== void 0 || ((I = g.props) == null ? void 0 : I[pn(h)]) !== void 0; - }(l.vnode, o) ? s : ((y = a.value) == null ? void 0 : y[o]) ?? ((p = (f = n.value) == null ? void 0 : f.global) == null ? void 0 : p[o]) ?? s; + var s; + return (s = n.value) == null ? void 0 : s[e._as ?? t]; + }), i = new Proxy(e, { get(s, o) { + var y, m, f, p; + const r = Reflect.get(s, o); + return o === "class" || o === "style" ? [(y = a.value) == null ? void 0 : y[o], r].filter((g) => g != null) : typeof o != "string" || function(g, h) { + var b, B; + return ((b = g.props) == null ? void 0 : b[h]) !== void 0 || ((B = g.props) == null ? void 0 : B[pn(h)]) !== void 0; + }(l.vnode, o) ? r : ((m = a.value) == null ? void 0 : m[o]) ?? ((p = (f = n.value) == null ? void 0 : f.global) == null ? void 0 : p[o]) ?? r; } }), c = re(); return Ge(() => { if (a.value) { - const r = Object.entries(a.value).filter((o) => { - let [s] = o; - return s.startsWith(s[0].toUpperCase()); + const s = Object.entries(a.value).filter((o) => { + let [r] = o; + return r.startsWith(r[0].toUpperCase()); }); - c.value = r.length ? Object.fromEntries(r) : void 0; + c.value = s.length ? Object.fromEntries(s) : void 0; } else c.value = void 0; }), { props: i, provideSubDefaults: function() { - const r = function(o) { - let s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : Fe("injectSelf"); - const { provides: m } = s; - if (m && o in m) - return m[o]; + const s = function(o) { + let r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : Se("injectSelf"); + const { provides: y } = r; + if (y && o in y) + return y[o]; }(_t, l); - De(_t, v(() => c.value ? xn((r == null ? void 0 : r.value) ?? {}, c.value) : r == null ? void 0 : r.value)); + De(_t, v(() => c.value ? Bn((s == null ? void 0 : s.value) ?? {}, c.value) : s == null ? void 0 : s.value)); } }; } function Qn(e) { if (e._setup = e._setup ?? e.setup, !e.name) return Kn("The component is missing an explicit name, unable to generate default prop value"), e; if (e._setup) { - e.props = Y(e.props ?? {}, e.name)(); + e.props = H(e.props ?? {}, e.name)(); const t = Object.keys(e.props).filter((n) => n !== "class" && n !== "style"); e.filterProps = function(n) { return Ro(n, t); @@ -447,8 +447,8 @@ function Qn(e) { const a = Fl(); if (!a.value) return e._setup(n, l); - const { props: i, provideSubDefaults: c } = ki(n, n._as ?? e.name, a), r = e._setup(i, l); - return c(), r; + const { props: i, provideSubDefaults: c } = ki(n, n._as ?? e.name, a), s = e._setup(i, l); + return c(), s; }; } return e; @@ -477,24 +477,24 @@ function Ko(e) { return t !== document && t.getRootNode({ composed: !0 }) !== document ? null : t; } const Ot = "cubic-bezier(0.4, 0, 0.2, 1)"; -function Fe(e, t) { +function Se(e, t) { const n = li(); if (!n) throw new Error(`[Vuetify] ${e} ${t || "must be called from inside a setup function"}`); return n; } function qe() { - const e = Fe(arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "composables").type; + const e = Se(arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "composables").type; return pn((e == null ? void 0 : e.aliasName) || (e == null ? void 0 : e.name)); } -let Jo = 0, Bt = /* @__PURE__ */ new WeakMap(); -function We() { - const e = Fe("getUid"); - if (Bt.has(e)) - return Bt.get(e); +let Jo = 0, xt = /* @__PURE__ */ new WeakMap(); +function Me() { + const e = Se("getUid"); + if (xt.has(e)) + return xt.get(e); { const t = Jo++; - return Bt.set(e, t), t; + return xt.set(e, t), t; } } function Zo(e) { @@ -526,17 +526,17 @@ function wi(e) { const t = window.getComputedStyle(e); return ["scroll", "auto"].includes(t.overflowY); } -function oe(e) { - Fe("useRender").render = e; +function ae(e) { + Se("useRender").render = e; } function Al(e) { let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "content"; - const n = N(), l = N(); + const n = M(), l = M(); if ($e) { const a = new ResizeObserver((i) => { e == null || e(i, a), i.length && (l.value = t === "content" ? i[0].contentRect : i[0].target.getBoundingClientRect()); }); - an(() => { + Ze(() => { a.disconnect(); }), K(n, (i, c) => { c && (a.unobserve(wt(c)), l.value = void 0), i && a.observe(wt(i)); @@ -553,35 +553,35 @@ function fn(e, t) { } K(e, (a) => { a && !n ? l() : a || (n == null || n.stop(), n = void 0); - }, { immediate: !0 }), Be(() => { + }, { immediate: !0 }), ke(() => { n == null || n.stop(); }); } function me(e, t, n) { - let l = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : (m) => m, a = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : (m) => m; - const i = Fe("useProxiedModel"), c = N(e[t] !== void 0 ? e[t] : n), r = pn(t), o = v(r !== t ? () => { - var m, y, f, p; - return e[t], !(!((m = i.vnode.props) != null && m.hasOwnProperty(t)) && !((y = i.vnode.props) != null && y.hasOwnProperty(r)) || !((f = i.vnode.props) != null && f.hasOwnProperty(`onUpdate:${t}`)) && !((p = i.vnode.props) != null && p.hasOwnProperty(`onUpdate:${r}`))); + let l = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : (y) => y, a = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : (y) => y; + const i = Se("useProxiedModel"), c = M(e[t] !== void 0 ? e[t] : n), s = pn(t), o = v(s !== t ? () => { + var y, m, f, p; + return e[t], !(!((y = i.vnode.props) != null && y.hasOwnProperty(t)) && !((m = i.vnode.props) != null && m.hasOwnProperty(s)) || !((f = i.vnode.props) != null && f.hasOwnProperty(`onUpdate:${t}`)) && !((p = i.vnode.props) != null && p.hasOwnProperty(`onUpdate:${s}`))); } : () => { - var m, y; - return e[t], !(!((m = i.vnode.props) != null && m.hasOwnProperty(t)) || !((y = i.vnode.props) != null && y.hasOwnProperty(`onUpdate:${t}`))); + var y, m; + return e[t], !(!((y = i.vnode.props) != null && y.hasOwnProperty(t)) || !((m = i.vnode.props) != null && m.hasOwnProperty(`onUpdate:${t}`))); }); fn(() => !o.value, () => { - K(() => e[t], (m) => { - c.value = m; + K(() => e[t], (y) => { + c.value = y; }); }); - const s = v({ get() { - const m = e[t]; - return l(o.value ? m : c.value); - }, set(m) { - const y = a(m), f = tn(o.value ? e[t] : c.value); - f !== y && l(f) !== m && (c.value = y, i == null || i.emit(`update:${t}`, y)); + const r = v({ get() { + const y = e[t]; + return l(o.value ? y : c.value); + }, set(y) { + const m = a(y), f = on(o.value ? e[t] : c.value); + f !== m && l(f) !== y && (c.value = m, i == null || i.emit(`update:${t}`, m)); } }); - return Object.defineProperty(s, "externalValue", { get: () => o.value ? e[t] : c.value }), s; + return Object.defineProperty(r, "externalValue", { get: () => o.value ? e[t] : c.value }), r; } -We.reset = () => { - Jo = 0, Bt = /* @__PURE__ */ new WeakMap(); +Me.reset = () => { + Jo = 0, xt = /* @__PURE__ */ new WeakMap(); }; const Qo = Symbol.for("vuetify:locale"); function _l() { @@ -596,36 +596,36 @@ function st() { throw new Error("[Vuetify] Could not find injected rtl instance"); return { isRtl: e.isRtl, rtlClasses: e.rtlClasses }; } -const so = Symbol.for("vuetify:theme"), Se = Y({ theme: String }, "theme"); +const so = Symbol.for("vuetify:theme"), Be = H({ theme: String }, "theme"); function _e(e) { - Fe("provideTheme"); + Se("provideTheme"); const t = ve(so, null); if (!t) throw new Error("Could not find Vuetify theme injection"); const n = v(() => e.theme ?? t.name.value), l = v(() => t.themes.value[n.value]), a = v(() => t.isDisabled ? void 0 : `v-theme--${n.value}`), i = { ...t, name: n, current: l, themeClasses: a }; return De(so, i), i; } -const ze = Y({ tag: { type: String, default: "div" } }, "tag"), Fi = Y({ disabled: Boolean, group: Boolean, hideOnLeave: Boolean, leaveAbsolute: Boolean, mode: String, origin: String }, "transition"); +const ze = H({ tag: { type: String, default: "div" } }, "tag"), Fi = H({ disabled: Boolean, group: Boolean, hideOnLeave: Boolean, leaveAbsolute: Boolean, mode: String, origin: String }, "transition"); function Ee(e, t, n) { return Q()({ name: e, props: Fi({ mode: n, origin: t }), setup(l, a) { let { slots: i } = a; - const c = { onBeforeEnter(r) { - l.origin && (r.style.transformOrigin = l.origin); - }, onLeave(r) { + const c = { onBeforeEnter(s) { + l.origin && (s.style.transformOrigin = l.origin); + }, onLeave(s) { if (l.leaveAbsolute) { - const { offsetTop: o, offsetLeft: s, offsetWidth: m, offsetHeight: y } = r; - r._transitionInitialStyles = { position: r.style.position, top: r.style.top, left: r.style.left, width: r.style.width, height: r.style.height }, r.style.position = "absolute", r.style.top = `${o}px`, r.style.left = `${s}px`, r.style.width = `${m}px`, r.style.height = `${y}px`; + const { offsetTop: o, offsetLeft: r, offsetWidth: y, offsetHeight: m } = s; + s._transitionInitialStyles = { position: s.style.position, top: s.style.top, left: s.style.left, width: s.style.width, height: s.style.height }, s.style.position = "absolute", s.style.top = `${o}px`, s.style.left = `${r}px`, s.style.width = `${y}px`, s.style.height = `${m}px`; } - l.hideOnLeave && r.style.setProperty("display", "none", "important"); - }, onAfterLeave(r) { - if (l.leaveAbsolute && (r != null && r._transitionInitialStyles)) { - const { position: o, top: s, left: m, width: y, height: f } = r._transitionInitialStyles; - delete r._transitionInitialStyles, r.style.position = o || "", r.style.top = s || "", r.style.left = m || "", r.style.width = y || "", r.style.height = f || ""; + l.hideOnLeave && s.style.setProperty("display", "none", "important"); + }, onAfterLeave(s) { + if (l.leaveAbsolute && (s != null && s._transitionInitialStyles)) { + const { position: o, top: r, left: y, width: m, height: f } = s._transitionInitialStyles; + delete s._transitionInitialStyles, s.style.position = o || "", s.style.top = r || "", s.style.left = y || "", s.style.width = m || "", s.style.height = f || ""; } } }; return () => { - const r = l.group ? oi : gn; - return Nt(r, { name: l.disabled ? "" : e, css: !l.disabled, ...l.group ? void 0 : { mode: l.mode }, ...l.disabled ? {} : c }, i.default); + const s = l.group ? oi : gn; + return Nt(s, { name: l.disabled ? "" : e, css: !l.disabled, ...l.group ? void 0 : { mode: l.mode }, ...l.disabled ? {} : c }, i.default); }; } }); } @@ -644,9 +644,9 @@ function na() { }, onEnter(i) { const c = i._initialStyle; i.style.setProperty("transition", "none", "important"), i.style.overflow = "hidden"; - const r = `${i[n]}px`; + const s = `${i[n]}px`; i.style[t] = "0", i.offsetHeight, i.style.transition = c.transition, e && i._parent && i._parent.classList.add(e), requestAnimationFrame(() => { - i.style[t] = r; + i.style[t] = s; }); }, onAfterEnter: a, onEnterCancelled: a, onLeave(i) { i._initialStyle = { transition: "", overflow: i.style.overflow, [t]: i.style[t] }, i.style.overflow = "hidden", i.style[t] = `${i[n]}px`, i.offsetHeight, requestAnimationFrame(() => i.style[t] = "0"); @@ -659,27 +659,27 @@ function na() { i.style.overflow = i._initialStyle.overflow, c != null && (i.style[t] = c), delete i._initialStyle; } } -const Vi = Y({ target: [Object, Array] }, "v-dialog-transition"), ta = Q()({ name: "VDialogTransition", props: Vi(), setup(e, t) { +const Vi = H({ target: [Object, Array] }, "v-dialog-transition"), ta = Q()({ name: "VDialogTransition", props: Vi(), setup(e, t) { let { slots: n } = t; const l = { onBeforeEnter(a) { a.style.pointerEvents = "none", a.style.visibility = "hidden"; }, async onEnter(a, i) { var f; await new Promise((p) => requestAnimationFrame(p)), await new Promise((p) => requestAnimationFrame(p)), a.style.visibility = ""; - const { x: c, y: r, sx: o, sy: s, speed: m } = co(e.target, a), y = Bn(a, [{ transform: `translate(${c}px, ${r}px) scale(${o}, ${s})`, opacity: 0 }, {}], { duration: 225 * m, easing: "cubic-bezier(0.0, 0, 0.2, 1)" }); + const { x: c, y: s, sx: o, sy: r, speed: y } = co(e.target, a), m = xn(a, [{ transform: `translate(${c}px, ${s}px) scale(${o}, ${r})`, opacity: 0 }, {}], { duration: 225 * y, easing: "cubic-bezier(0.0, 0, 0.2, 1)" }); (f = uo(a)) == null || f.forEach((p) => { - Bn(p, [{ opacity: 0 }, { opacity: 0, offset: 0.33 }, {}], { duration: 450 * m, easing: Ot }); - }), y.finished.then(() => i()); + xn(p, [{ opacity: 0 }, { opacity: 0, offset: 0.33 }, {}], { duration: 450 * y, easing: Ot }); + }), m.finished.then(() => i()); }, onAfterEnter(a) { a.style.removeProperty("pointer-events"); }, onBeforeLeave(a) { a.style.pointerEvents = "none"; }, async onLeave(a, i) { - var y; + var m; await new Promise((f) => requestAnimationFrame(f)); - const { x: c, y: r, sx: o, sy: s, speed: m } = co(e.target, a); - Bn(a, [{}, { transform: `translate(${c}px, ${r}px) scale(${o}, ${s})`, opacity: 0 }], { duration: 125 * m, easing: "cubic-bezier(0.4, 0, 1, 1)" }).finished.then(() => i()), (y = uo(a)) == null || y.forEach((f) => { - Bn(f, [{}, { opacity: 0, offset: 0.2 }, { opacity: 0 }], { duration: 250 * m, easing: Ot }); + const { x: c, y: s, sx: o, sy: r, speed: y } = co(e.target, a); + xn(a, [{}, { transform: `translate(${c}px, ${s}px) scale(${o}, ${r})`, opacity: 0 }], { duration: 125 * y, easing: "cubic-bezier(0.4, 0, 1, 1)" }).finished.then(() => i()), (m = uo(a)) == null || m.forEach((f) => { + xn(f, [{}, { opacity: 0, offset: 0.2 }, { opacity: 0 }], { duration: 250 * y, easing: Ot }); }); }, onAfterLeave(a) { a.style.removeProperty("pointer-events"); @@ -692,31 +692,31 @@ function uo(e) { return t && [...t]; } function co(e, t) { - const n = Yo(e), l = wl(t), [a, i] = getComputedStyle(t).transformOrigin.split(" ").map((I) => parseFloat(I)), [c, r] = getComputedStyle(t).getPropertyValue("--v-overlay-anchor-origin").split(" "); + const n = Yo(e), l = wl(t), [a, i] = getComputedStyle(t).transformOrigin.split(" ").map((B) => parseFloat(B)), [c, s] = getComputedStyle(t).getPropertyValue("--v-overlay-anchor-origin").split(" "); let o = n.left + n.width / 2; - c === "left" || r === "left" ? o -= n.width / 2 : c !== "right" && r !== "right" || (o += n.width / 2); - let s = n.top + n.height / 2; - c === "top" || r === "top" ? s -= n.height / 2 : c !== "bottom" && r !== "bottom" || (s += n.height / 2); - const m = n.width / l.width, y = n.height / l.height, f = Math.max(1, m, y), p = m / f || 0, g = y / f || 0, h = l.width * l.height / (window.innerWidth * window.innerHeight), b = h > 0.12 ? Math.min(1.5, 10 * (h - 0.12) + 1) : 1; - return { x: o - (a + l.left), y: s - (i + l.top), sx: p, sy: g, speed: b }; + c === "left" || s === "left" ? o -= n.width / 2 : c !== "right" && s !== "right" || (o += n.width / 2); + let r = n.top + n.height / 2; + c === "top" || s === "top" ? r -= n.height / 2 : c !== "bottom" && s !== "bottom" || (r += n.height / 2); + const y = n.width / l.width, m = n.height / l.height, f = Math.max(1, y, m), p = y / f || 0, g = m / f || 0, h = l.width * l.height / (window.innerWidth * window.innerHeight), b = h > 0.12 ? Math.min(1.5, 10 * (h - 0.12) + 1) : 1; + return { x: o - (a + l.left), y: r - (i + l.top), sx: p, sy: g, speed: b }; } Ee("fab-transition", "center center", "out-in"), Ee("dialog-bottom-transition"), Ee("dialog-top-transition"), Ee("fade-transition"); const Ai = Ee("scale-transition"); Ee("scroll-x-transition"), Ee("scroll-x-reverse-transition"), Ee("scroll-y-transition"), Ee("scroll-y-reverse-transition"), Ee("slide-x-transition"), Ee("slide-x-reverse-transition"); const la = Ee("slide-y-transition"); Ee("slide-y-reverse-transition"); -const _i = ea("expand-transition", na()), oa = ea("expand-x-transition", na("", !0)), Oi = Y({ defaults: Object, disabled: Boolean, reset: [Number, String], root: [Boolean, String], scoped: Boolean }, "VDefaultsProvider"), ke = Q(!1)({ name: "VDefaultsProvider", props: Oi(), setup(e, t) { +const _i = ea("expand-transition", na()), oa = ea("expand-x-transition", na("", !0)), Oi = H({ defaults: Object, disabled: Boolean, reset: [Number, String], root: [Boolean, String], scoped: Boolean }, "VDefaultsProvider"), we = Q(!1)({ name: "VDefaultsProvider", props: Oi(), setup(e, t) { let { slots: n } = t; - const { defaults: l, disabled: a, reset: i, root: c, scoped: r } = Eo(e); - return Rn(l, { reset: i, root: c, scoped: r, disabled: a }), () => { + const { defaults: l, disabled: a, reset: i, root: c, scoped: s } = Eo(e); + return Rn(l, { reset: i, root: c, scoped: s, disabled: a }), () => { var o; return (o = n.default) == null ? void 0 : o.call(n); }; -} }), Cn = Y({ height: [Number, String], maxHeight: [Number, String], maxWidth: [Number, String], minHeight: [Number, String], minWidth: [Number, String], width: [Number, String] }, "dimension"); +} }), Cn = H({ height: [Number, String], maxHeight: [Number, String], maxWidth: [Number, String], minHeight: [Number, String], minWidth: [Number, String], width: [Number, String] }, "dimension"); function In(e) { return { dimensionStyles: v(() => ({ height: te(e.height), maxHeight: te(e.maxHeight), maxWidth: te(e.maxWidth), minHeight: te(e.minHeight), minWidth: te(e.minWidth), width: te(e.width) })) }; } -const aa = Y({ aspectRatio: [String, Number], contentClass: String, inline: Boolean, ...se(), ...Cn() }, "VResponsive"), po = Q()({ name: "VResponsive", props: aa(), setup(e, t) { +const aa = H({ aspectRatio: [String, Number], contentClass: String, inline: Boolean, ...se(), ...Cn() }, "VResponsive"), po = Q()({ name: "VResponsive", props: aa(), setup(e, t) { let { slots: n } = t; const { aspectStyles: l } = function(i) { return { aspectStyles: v(() => { @@ -724,14 +724,14 @@ const aa = Y({ aspectRatio: [String, Number], contentClass: String, inline: Bool return c ? { paddingBottom: String(1 / c * 100) + "%" } : void 0; }) }; }(e), { dimensionStyles: a } = In(e); - return oe(() => { + return ae(() => { var i; return d("div", { class: ["v-responsive", { "v-responsive--inline": e.inline }, e.class], style: [a.value, e.style] }, [d("div", { class: "v-responsive__sizer", style: l.value }, null), (i = n.additional) == null ? void 0 : i.call(n), n.default && d("div", { class: ["v-responsive__content", e.contentClass] }, [n.default()])]); }), {}; -} }), ut = Y({ transition: { type: [Boolean, String, Object], default: "fade-transition", validator: (e) => e !== !0 } }, "transition"), nn = (e, t) => { +} }), ut = H({ transition: { type: [Boolean, String, Object], default: "fade-transition", validator: (e) => e !== !0 } }, "transition"), ln = (e, t) => { let { slots: n } = t; - const { transition: l, disabled: a, ...i } = e, { component: c = gn, ...r } = typeof l == "object" ? l : {}; - return Nt(c, Z(typeof l == "string" ? { name: a ? "" : l } : r, i, { disabled: a }), n); + const { transition: l, disabled: a, ...i } = e, { component: c = gn, ...s } = typeof l == "object" ? l : {}; + return Nt(c, Z(typeof l == "string" ? { name: a ? "" : l } : s, i, { disabled: a }), n); }; function vo(e, t) { var l; @@ -739,89 +739,94 @@ function vo(e, t) { n && (n.observer.unobserve(e), delete e._observe[t.instance.$.uid]); } const Ol = { mounted: function(e, t) { - if (!Bl) + if (!xl) return; const n = t.modifiers || {}, l = t.value, { handler: a, options: i } = typeof l == "object" ? l : { handler: l, options: {} }, c = new IntersectionObserver(function() { - var y; - let r = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], o = arguments.length > 1 ? arguments[1] : void 0; - const s = (y = e._observe) == null ? void 0 : y[t.instance.$.uid]; - if (!s) + var m; + let s = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], o = arguments.length > 1 ? arguments[1] : void 0; + const r = (m = e._observe) == null ? void 0 : m[t.instance.$.uid]; + if (!r) return; - const m = r.some((f) => f.isIntersecting); - !a || n.quiet && !s.init || n.once && !m && !s.init || a(m, r, o), m && n.once ? vo(e, t) : s.init = !0; + const y = s.some((f) => f.isIntersecting); + !a || n.quiet && !r.init || n.once && !y && !r.init || a(y, s, o), y && n.once ? vo(e, t) : r.init = !0; }, i); e._observe = Object(e._observe), e._observe[t.instance.$.uid] = { init: !1, observer: c }, c.observe(e); -}, unmounted: vo }, Pi = Y({ alt: String, cover: Boolean, draggable: { type: [Boolean, String], default: void 0 }, eager: Boolean, gradient: String, lazySrc: String, options: { type: Object, default: () => ({ root: void 0, rootMargin: void 0, threshold: void 0 }) }, sizes: String, src: { type: [String, Object], default: "" }, crossorigin: String, referrerpolicy: String, srcset: String, position: String, ...aa(), ...se(), ...ut() }, "VImg"), ia = Q()({ name: "VImg", directives: { intersect: Ol }, props: Pi(), emits: { loadstart: (e) => !0, load: (e) => !0, error: (e) => !0 }, setup(e, t) { +}, unmounted: vo }, Pi = H({ alt: String, cover: Boolean, draggable: { type: [Boolean, String], default: void 0 }, eager: Boolean, gradient: String, lazySrc: String, options: { type: Object, default: () => ({ root: void 0, rootMargin: void 0, threshold: void 0 }) }, sizes: String, src: { type: [String, Object], default: "" }, crossorigin: String, referrerpolicy: String, srcset: String, position: String, ...aa(), ...se(), ...ut() }, "VImg"), ia = Q()({ name: "VImg", directives: { intersect: Ol }, props: Pi(), emits: { loadstart: (e) => !0, load: (e) => !0, error: (e) => !0 }, setup(e, t) { let { emit: n, slots: l } = t; - const a = re(""), i = N(), c = re(e.eager ? "loading" : "idle"), r = re(), o = re(), s = v(() => e.src && typeof e.src == "object" ? { src: e.src.src, srcset: e.srcset || e.src.srcset, lazySrc: e.lazySrc || e.src.lazySrc, aspect: Number(e.aspectRatio || e.src.aspect || 0) } : { src: e.src, srcset: e.srcset, lazySrc: e.lazySrc, aspect: Number(e.aspectRatio || 0) }), m = v(() => s.value.aspect || r.value / o.value || 0); - function y(B) { - if ((!e.eager || !B) && (!Bl || B || e.eager)) { - if (c.value = "loading", s.value.lazySrc) { - const x = new Image(); - x.src = s.value.lazySrc, b(x, null); + const a = Se("VImg"), i = re(""), c = M(), s = re(e.eager ? "loading" : "idle"), o = re(), r = re(), y = v(() => e.src && typeof e.src == "object" ? { src: e.src.src, srcset: e.srcset || e.src.srcset, lazySrc: e.lazySrc || e.src.lazySrc, aspect: Number(e.aspectRatio || e.src.aspect || 0) } : { src: e.src, srcset: e.srcset, lazySrc: e.lazySrc, aspect: Number(e.aspectRatio || 0) }), m = v(() => y.value.aspect || o.value / r.value || 0); + function f(S) { + if ((!e.eager || !S) && (!xl || S || e.eager)) { + if (s.value = "loading", y.value.lazySrc) { + const O = new Image(); + O.src = y.value.lazySrc, B(O, null); } - s.value.src && Ie(() => { - var x; - n("loadstart", ((x = i.value) == null ? void 0 : x.currentSrc) || s.value.src), setTimeout(() => { - var E; - if ((E = i.value) != null && E.complete) { - if (i.value.naturalWidth || p(), c.value === "error") - return; - m.value || b(i.value, null), c.value === "loading" && f(); - } else - m.value || b(i.value), g(); + y.value.src && Ie(() => { + var O; + n("loadstart", ((O = c.value) == null ? void 0 : O.currentSrc) || y.value.src), setTimeout(() => { + var C; + if (!a.isUnmounted) + if ((C = c.value) != null && C.complete) { + if (c.value.naturalWidth || g(), s.value === "error") + return; + m.value || B(c.value, null), s.value === "loading" && p(); + } else + m.value || B(c.value), h(); }); }); } } - function f() { - var B; - g(), b(i.value), c.value = "loaded", n("load", ((B = i.value) == null ? void 0 : B.currentSrc) || s.value.src); - } function p() { - var B; - c.value = "error", n("error", ((B = i.value) == null ? void 0 : B.currentSrc) || s.value.src); + var S; + a.isUnmounted || (h(), B(c.value), s.value = "loaded", n("load", ((S = c.value) == null ? void 0 : S.currentSrc) || y.value.src)); } function g() { - const B = i.value; - B && (a.value = B.currentSrc || B.src); + var S; + a.isUnmounted || (s.value = "error", n("error", ((S = c.value) == null ? void 0 : S.currentSrc) || y.value.src)); + } + function h() { + const S = c.value; + S && (i.value = S.currentSrc || S.src); } K(() => e.src, () => { - y(c.value !== "idle"); - }), K(m, (B, x) => { - !B && x && i.value && b(i.value); - }), Do(() => y()); - let h = -1; - function b(B) { - let x = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 100; - const E = () => { - clearTimeout(h); - const { naturalHeight: C, naturalWidth: V } = B; - C || V ? (r.value = V, o.value = C) : B.complete || c.value !== "loading" || x == null ? (B.currentSrc.endsWith(".svg") || B.currentSrc.startsWith("data:image/svg+xml")) && (r.value = 1, o.value = 1) : h = window.setTimeout(E, x); + f(s.value !== "idle"); + }), K(m, (S, O) => { + !S && O && c.value && B(c.value); + }), Do(() => f()); + let b = -1; + function B(S) { + let O = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 100; + const C = () => { + if (clearTimeout(b), a.isUnmounted) + return; + const { naturalHeight: k, naturalWidth: A } = S; + k || A ? (o.value = A, r.value = k) : S.complete || s.value !== "loading" || O == null ? (S.currentSrc.endsWith(".svg") || S.currentSrc.startsWith("data:image/svg+xml")) && (o.value = 1, r.value = 1) : b = window.setTimeout(C, O); }; - E(); + C(); } - const I = v(() => ({ "v-img__img--cover": e.cover, "v-img__img--contain": !e.cover })), $ = () => { - var E; - if (!s.value.src || c.value === "idle") + Ze(() => { + clearTimeout(b); + }); + const V = v(() => ({ "v-img__img--cover": e.cover, "v-img__img--contain": !e.cover })), _ = () => { + var C; + if (!y.value.src || s.value === "idle") return null; - const B = d("img", { class: ["v-img__img", I.value], style: { objectPosition: e.position }, src: s.value.src, srcset: s.value.srcset, alt: e.alt, crossorigin: e.crossorigin, referrerpolicy: e.referrerpolicy, draggable: e.draggable, sizes: e.sizes, ref: i, onLoad: f, onError: p }, null), x = (E = l.sources) == null ? void 0 : E.call(l); - return d(nn, { transition: e.transition, appear: !0 }, { default: () => [we(x ? d("picture", { class: "v-img__picture" }, [x, B]) : B, [[Mn, c.value === "loaded"]])] }); - }, F = () => d(nn, { transition: e.transition }, { default: () => [s.value.lazySrc && c.value !== "loaded" && d("img", { class: ["v-img__img", "v-img__img--preload", I.value], style: { objectPosition: e.position }, src: s.value.lazySrc, alt: e.alt, crossorigin: e.crossorigin, referrerpolicy: e.referrerpolicy, draggable: e.draggable }, null)] }), H = () => l.placeholder ? d(nn, { transition: e.transition, appear: !0 }, { default: () => [(c.value === "loading" || c.value === "error" && !l.error) && d("div", { class: "v-img__placeholder" }, [l.placeholder()])] }) : null, T = () => l.error ? d(nn, { transition: e.transition, appear: !0 }, { default: () => [c.value === "error" && d("div", { class: "v-img__error" }, [l.error()])] }) : null, M = () => e.gradient ? d("div", { class: "v-img__gradient", style: { backgroundImage: `linear-gradient(${e.gradient})` } }, null) : null, R = re(!1); + const S = d("img", { class: ["v-img__img", V.value], style: { objectPosition: e.position }, src: y.value.src, srcset: y.value.srcset, alt: e.alt, crossorigin: e.crossorigin, referrerpolicy: e.referrerpolicy, draggable: e.draggable, sizes: e.sizes, ref: c, onLoad: p, onError: g }, null), O = (C = l.sources) == null ? void 0 : C.call(l); + return d(ln, { transition: e.transition, appear: !0 }, { default: () => [Fe(O ? d("picture", { class: "v-img__picture" }, [O, S]) : S, [[Wn, s.value === "loaded"]])] }); + }, U = () => d(ln, { transition: e.transition }, { default: () => [y.value.lazySrc && s.value !== "loaded" && d("img", { class: ["v-img__img", "v-img__img--preload", V.value], style: { objectPosition: e.position }, src: y.value.lazySrc, alt: e.alt, crossorigin: e.crossorigin, referrerpolicy: e.referrerpolicy, draggable: e.draggable }, null)] }), z = () => l.placeholder ? d(ln, { transition: e.transition, appear: !0 }, { default: () => [(s.value === "loading" || s.value === "error" && !l.error) && d("div", { class: "v-img__placeholder" }, [l.placeholder()])] }) : null, D = () => l.error ? d(ln, { transition: e.transition, appear: !0 }, { default: () => [s.value === "error" && d("div", { class: "v-img__error" }, [l.error()])] }) : null, R = () => e.gradient ? d("div", { class: "v-img__gradient", style: { backgroundImage: `linear-gradient(${e.gradient})` } }, null) : null, E = re(!1); { - const B = K(m, (x) => { - x && (requestAnimationFrame(() => { + const S = K(m, (O) => { + O && (requestAnimationFrame(() => { requestAnimationFrame(() => { - R.value = !0; + E.value = !0; }); - }), B()); + }), S()); }); } - return oe(() => { - const B = po.filterProps(e); - return we(d(po, Z({ class: ["v-img", { "v-img--booting": !R.value }, e.class], style: [{ width: te(e.width === "auto" ? r.value : e.width) }, e.style] }, B, { aspectRatio: m.value, "aria-label": e.alt, role: e.alt ? "img" : void 0 }), { additional: () => d(fe, null, [d($, null, null), d(F, null, null), d(M, null, null), d(H, null, null), d(T, null, null)]), default: l.default }), [[Je("intersect"), { handler: y, options: e.options }, null, { once: !0 }]]); - }), { currentSrc: a, image: i, state: c, naturalWidth: r, naturalHeight: o }; -} }), Nn = Y({ border: [Boolean, Number, String] }, "border"); + return ae(() => { + const S = po.filterProps(e); + return Fe(d(po, Z({ class: ["v-img", { "v-img--booting": !E.value }, e.class], style: [{ width: te(e.width === "auto" ? o.value : e.width) }, e.style] }, S, { aspectRatio: m.value, "aria-label": e.alt, role: e.alt ? "img" : void 0 }), { additional: () => d(fe, null, [d(_, null, null), d(U, null, null), d(R, null, null), d(z, null, null), d(D, null, null)]), default: l.default }), [[Qe("intersect"), { handler: f, options: e.options }, null, { once: !0 }]]); + }), { currentSrc: i, image: c, state: s, naturalWidth: o, naturalHeight: r }; +} }), Nn = H({ border: [Boolean, Number, String] }, "border"); function jn(e) { let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : qe(); return { borderClasses: v(() => { @@ -840,11 +845,11 @@ function Pl(e) { if (e.value.background) if (Jt(e.value.background)) { if (n.backgroundColor = e.value.background, !e.value.text && Jt(l = e.value.background) && !/^((rgb|hsl)a?\()?var\(--/.test(l)) { - const a = Un(e.value.background); + const a = Hn(e.value.background); if (a.a == null || a.a === 1) { const i = function(c) { - const r = Math.abs(ao(Un(0), Un(c))); - return Math.abs(ao(Un(16777215), Un(c))) > Math.min(r, 50) ? "#fff" : "#000"; + const s = Math.abs(ao(Hn(0), Hn(c))); + return Math.abs(ao(Hn(16777215), Hn(c))) > Math.min(s, 50) ? "#fff" : "#000"; }(a); n.color = i, n.caretColor = i; } @@ -855,7 +860,7 @@ function Pl(e) { return e.value.text && (Jt(e.value.text) ? (n.color = e.value.text, n.caretColor = e.value.text) : t.push(`text-${e.value.text}`)), { colorClasses: t, colorStyles: n }; }); } -function Ke(e, t) { +function Je(e, t) { const n = v(() => ({ text: hn(e) ? e.value : t ? e[t] : null })), { colorClasses: l, colorStyles: a } = Pl(n); return { textColorClasses: l, textColorStyles: a }; } @@ -863,7 +868,7 @@ function Dn(e, t) { const n = v(() => ({ background: hn(e) ? e.value : t ? e[t] : null })), { colorClasses: l, colorStyles: a } = Pl(n); return { backgroundColorClasses: l, backgroundColorStyles: a }; } -const Gn = Y({ elevation: { type: [Number, String], validator(e) { +const Gn = H({ elevation: { type: [Number, String], validator(e) { const t = parseInt(e); return !isNaN(t) && t >= 0 && t <= 24; } } }, "elevation"); @@ -873,8 +878,8 @@ function qn(e) { return t == null || n.push(`elevation-${t}`), n; }) }; } -const Ze = Y({ rounded: { type: [Boolean, Number, String], default: void 0 } }, "rounded"); -function Qe(e) { +const en = H({ rounded: { type: [Boolean, Number, String], default: void 0 } }, "rounded"); +function nn(e) { let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : qe(); return { roundedClasses: v(() => { const n = hn(e) ? e.value : e.rounded, l = []; @@ -886,8 +891,8 @@ function Qe(e) { return l; }) }; } -const $i = [null, "default", "comfortable", "compact"], He = Y({ density: { type: String, default: "default", validator: (e) => $i.includes(e) } }, "density"); -function en(e) { +const $i = [null, "default", "comfortable", "compact"], Ue = H({ density: { type: String, default: "default", validator: (e) => $i.includes(e) } }, "density"); +function tn(e) { let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : qe(); return { densityClasses: v(() => `${t}--density-${e.density}`) }; } @@ -895,7 +900,7 @@ const Ei = ["elevated", "flat", "tonal", "outlined", "text", "plain"]; function ct(e, t) { return d(fe, null, [e && d("span", { key: "overlay", class: `${t}__overlay` }, null), d("span", { key: "underlay", class: `${t}__underlay` }, null)]); } -const rn = Y({ color: String, variant: { type: String, default: "elevated", validator: (e) => Ei.includes(e) } }, "variant"); +const rn = H({ color: String, variant: { type: String, default: "elevated", validator: (e) => Ei.includes(e) } }, "variant"); function dt(e) { let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : qe(); const n = v(() => { @@ -907,17 +912,17 @@ function dt(e) { })); return { colorClasses: l, colorStyles: a, variantClasses: n }; } -const ra = Y({ divided: Boolean, ...Nn(), ...se(), ...He(), ...Gn(), ...Ze(), ...ze(), ...Se(), ...rn() }, "VBtnGroup"), fo = Q()({ name: "VBtnGroup", props: ra(), setup(e, t) { +const ra = H({ divided: Boolean, ...Nn(), ...se(), ...Ue(), ...Gn(), ...en(), ...ze(), ...Be(), ...rn() }, "VBtnGroup"), fo = Q()({ name: "VBtnGroup", props: ra(), setup(e, t) { let { slots: n } = t; - const { themeClasses: l } = _e(e), { densityClasses: a } = en(e), { borderClasses: i } = jn(e), { elevationClasses: c } = qn(e), { roundedClasses: r } = Qe(e); - Rn({ VBtn: { height: "auto", color: ne(e, "color"), density: ne(e, "density"), flat: !0, variant: ne(e, "variant") } }), oe(() => d(e.tag, { class: ["v-btn-group", { "v-btn-group--divided": e.divided }, l.value, i.value, a.value, c.value, r.value, e.class], style: e.style }, n)); -} }), sa = Y({ modelValue: { type: null, default: void 0 }, multiple: Boolean, mandatory: [Boolean, String], max: Number, selectedClass: String, disabled: Boolean }, "group"), ua = Y({ value: null, disabled: Boolean, selectedClass: String }, "group-item"); + const { themeClasses: l } = _e(e), { densityClasses: a } = tn(e), { borderClasses: i } = jn(e), { elevationClasses: c } = qn(e), { roundedClasses: s } = nn(e); + Rn({ VBtn: { height: "auto", color: ne(e, "color"), density: ne(e, "density"), flat: !0, variant: ne(e, "variant") } }), ae(() => d(e.tag, { class: ["v-btn-group", { "v-btn-group--divided": e.divided }, l.value, i.value, a.value, c.value, s.value, e.class], style: e.style }, n)); +} }), sa = H({ modelValue: { type: null, default: void 0 }, multiple: Boolean, mandatory: [Boolean, String], max: Number, selectedClass: String, disabled: Boolean }, "group"), ua = H({ value: null, disabled: Boolean, selectedClass: String }, "group-item"); function ca(e, t) { let n = !(arguments.length > 2 && arguments[2] !== void 0) || arguments[2]; - const l = Fe("useGroupItem"); + const l = Se("useGroupItem"); if (!l) throw new Error("[Vuetify] useGroupItem composable must be used inside a component setup function"); - const a = We(); + const a = Me(); De(Symbol.for(`${t.description}:id`), a); const i = ve(t, null); if (!i) { @@ -925,80 +930,80 @@ function ca(e, t) { return i; throw new Error(`[Vuetify] Could not find useGroup injection with symbol ${t.description}`); } - const c = ne(e, "value"), r = v(() => !(!i.disabled.value && !e.disabled)); - i.register({ id: a, value: c, disabled: r }, l), an(() => { + const c = ne(e, "value"), s = v(() => !(!i.disabled.value && !e.disabled)); + i.register({ id: a, value: c, disabled: s }, l), Ze(() => { i.unregister(a); }); - const o = v(() => i.isSelected(a)), s = v(() => o.value && [i.selectedClass.value, e.selectedClass]); - return K(o, (m) => { - l.emit("group:selected", { value: m }); - }), { id: a, isSelected: o, toggle: () => i.select(a, !o.value), select: (m) => i.select(a, m), selectedClass: s, value: c, disabled: r, group: i }; + const o = v(() => i.isSelected(a)), r = v(() => o.value && [i.selectedClass.value, e.selectedClass]); + return K(o, (y) => { + l.emit("group:selected", { value: y }); + }), { id: a, isSelected: o, toggle: () => i.select(a, !o.value), select: (y) => i.select(a, y), selectedClass: r, value: c, disabled: s, group: i }; } function da(e, t) { let n = !1; - const l = Le([]), a = me(e, "modelValue", [], (s) => s == null ? [] : yo(l, ln(s)), (s) => { - const m = function(y, f) { + const l = Le([]), a = me(e, "modelValue", [], (r) => r == null ? [] : yo(l, Ke(r)), (r) => { + const y = function(m, f) { const p = []; return f.forEach((g) => { - const h = y.findIndex((b) => b.id === g); + const h = m.findIndex((b) => b.id === g); if (~h) { - const b = y[h]; + const b = m[h]; p.push(b.value != null ? b.value : h); } }), p; - }(l, s); - return e.multiple ? m : m[0]; - }), i = Fe("useGroup"); + }(l, r); + return e.multiple ? y : y[0]; + }), i = Se("useGroup"); function c() { - const s = l.find((m) => !m.disabled); - s && e.mandatory === "force" && !a.value.length && (a.value = [s.id]); + const r = l.find((y) => !y.disabled); + r && e.mandatory === "force" && !a.value.length && (a.value = [r.id]); } - function r(s) { + function s(r) { if (e.multiple && Kn('This method is not supported when using "multiple" prop'), a.value.length) { - const m = a.value[0], y = l.findIndex((g) => g.id === m); - let f = (y + s) % l.length, p = l[f]; - for (; p.disabled && f !== y; ) - f = (f + s) % l.length, p = l[f]; + const y = a.value[0], m = l.findIndex((g) => g.id === y); + let f = (m + r) % l.length, p = l[f]; + for (; p.disabled && f !== m; ) + f = (f + r) % l.length, p = l[f]; if (p.disabled) return; a.value = [l[f].id]; } else { - const m = l.find((y) => !y.disabled); - m && (a.value = [m.id]); + const y = l.find((m) => !m.disabled); + y && (a.value = [y.id]); } } - Wn(() => { + Mn(() => { c(); - }), an(() => { + }), Ze(() => { n = !0; }); - const o = { register: function(s, m) { - const y = s, f = xt(Symbol.for(`${t.description}:id`), i == null ? void 0 : i.vnode).indexOf(m); - f > -1 ? l.splice(f, 0, y) : l.push(y); - }, unregister: function(s) { + const o = { register: function(r, y) { + const m = r, f = Bt(Symbol.for(`${t.description}:id`), i == null ? void 0 : i.vnode).indexOf(y); + f > -1 ? l.splice(f, 0, m) : l.push(m); + }, unregister: function(r) { if (n) return; c(); - const m = l.findIndex((y) => y.id === s); - l.splice(m, 1); - }, selected: a, select: function(s, m) { - const y = l.find((f) => f.id === s); - if (!m || !(y != null && y.disabled)) + const y = l.findIndex((m) => m.id === r); + l.splice(y, 1); + }, selected: a, select: function(r, y) { + const m = l.find((f) => f.id === r); + if (!y || !(m != null && m.disabled)) if (e.multiple) { - const f = a.value.slice(), p = f.findIndex((h) => h === s), g = ~p; - if (m = m ?? !g, g && e.mandatory && f.length <= 1 || !g && e.max != null && f.length + 1 > e.max) + const f = a.value.slice(), p = f.findIndex((h) => h === r), g = ~p; + if (y = y ?? !g, g && e.mandatory && f.length <= 1 || !g && e.max != null && f.length + 1 > e.max) return; - p < 0 && m ? f.push(s) : p >= 0 && !m && f.splice(p, 1), a.value = f; + p < 0 && y ? f.push(r) : p >= 0 && !y && f.splice(p, 1), a.value = f; } else { - const f = a.value.includes(s); + const f = a.value.includes(r); if (e.mandatory && f) return; - a.value = m ?? !f ? [s] : []; + a.value = y ?? !f ? [r] : []; } - }, disabled: ne(e, "disabled"), prev: () => r(l.length - 1), next: () => r(1), isSelected: (s) => a.value.includes(s), selectedClass: v(() => e.selectedClass), items: v(() => l), getItemIndex: (s) => function(m, y) { - const f = yo(m, [y]); - return f.length ? m.findIndex((p) => p.id === f[0]) : -1; - }(l, s) }; + }, disabled: ne(e, "disabled"), prev: () => s(l.length - 1), next: () => s(1), isSelected: (r) => a.value.includes(r), selectedClass: v(() => e.selectedClass), items: v(() => l), getItemIndex: (r) => function(y, m) { + const f = yo(y, [m]); + return f.length ? y.findIndex((p) => p.id === f[0]) : -1; + }(l, r) }; return De(t, o), o; } function yo(e, t) { @@ -1008,19 +1013,19 @@ function yo(e, t) { (a == null ? void 0 : a.value) != null ? n.push(a.id) : i != null && n.push(i.id); }), n; } -const pa = Symbol.for("vuetify:v-btn-toggle"), Ti = Y({ ...ra(), ...sa() }, "VBtnToggle"); +const pa = Symbol.for("vuetify:v-btn-toggle"), Ti = H({ ...ra(), ...sa() }, "VBtnToggle"); Q()({ name: "VBtnToggle", props: Ti(), emits: { "update:modelValue": (e) => !0 }, setup(e, t) { let { slots: n } = t; - const { isSelected: l, next: a, prev: i, select: c, selected: r } = da(e, pa); - return oe(() => { + const { isSelected: l, next: a, prev: i, select: c, selected: s } = da(e, pa); + return ae(() => { const o = fo.filterProps(e); return d(fo, Z({ class: ["v-btn-toggle", e.class] }, o, { style: e.style }), { default: () => { - var s; - return [(s = n.default) == null ? void 0 : s.call(n, { isSelected: l, next: a, prev: i, select: c, selected: r })]; + var r; + return [(r = n.default) == null ? void 0 : r.call(n, { isSelected: l, next: a, prev: i, select: c, selected: s })]; } }); }), { next: a, prev: i, select: c }; } }); -const ce = [String, Function, Object, Array], zi = Symbol.for("vuetify:icons"), $t = Y({ icon: { type: ce }, tag: { type: String, required: !0 } }, "icon"), mo = Q()({ name: "VComponentIcon", props: $t(), setup(e, t) { +const ce = [String, Function, Object, Array], zi = Symbol.for("vuetify:icons"), $t = H({ icon: { type: ce }, tag: { type: String, required: !0 } }, "icon"), mo = Q()({ name: "VComponentIcon", props: $t(), setup(e, t) { let { slots: n } = t; return () => { const l = e.icon; @@ -1034,7 +1039,7 @@ const ce = [String, Function, Object, Array], zi = Symbol.for("vuetify:icons"), return () => d(e.tag, Z(n, { style: null }), { default: () => [d("svg", { class: "v-icon__svg", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", role: "img", "aria-hidden": "true" }, [Array.isArray(e.icon) ? e.icon.map((l) => Array.isArray(l) ? d("path", { d: l[0], "fill-opacity": l[1] }, null) : d("path", { d: l }, null)) : d("path", { d: e.icon }, null)])] }); } }); Qn({ name: "VLigatureIcon", props: $t(), setup: (e) => () => d(e.tag, null, { default: () => [e.icon] }) }), Qn({ name: "VClassIcon", props: $t(), setup: (e) => () => d(e.tag, { class: e.icon }, null) }); -const Li = ["x-small", "small", "default", "large", "x-large"], pt = Y({ size: { type: [String, Number], default: "default" } }, "size"); +const Li = ["x-small", "small", "default", "large", "x-large"], pt = H({ size: { type: [String, Number], default: "default" } }, "size"); function vt(e) { let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : qe(); return kl(() => { @@ -1042,41 +1047,41 @@ function vt(e) { return Ft(Li, e.size) ? n = `${t}--size-${e.size}` : e.size && (l = { width: te(e.size), height: te(e.size) }), { sizeClasses: n, sizeStyles: l }; }); } -const Mi = Y({ color: String, start: Boolean, end: Boolean, icon: ce, ...se(), ...pt(), ...ze({ tag: "i" }), ...Se() }, "VIcon"), de = Q()({ name: "VIcon", props: Mi(), setup(e, t) { +const Wi = H({ color: String, start: Boolean, end: Boolean, icon: ce, ...se(), ...pt(), ...ze({ tag: "i" }), ...Be() }, "VIcon"), de = Q()({ name: "VIcon", props: Wi(), setup(e, t) { let { attrs: n, slots: l } = t; - const a = N(), { themeClasses: i } = _e(e), { iconData: c } = ((m) => { - const y = ve(zi); - if (!y) + const a = M(), { themeClasses: i } = _e(e), { iconData: c } = ((y) => { + const m = ve(zi); + if (!m) throw new Error("Missing Vuetify Icons provide!"); return { iconData: v(() => { var b; - const f = u(m); + const f = u(y); if (!f) return { component: mo }; let p = f; - if (typeof p == "string" && (p = p.trim(), p.startsWith("$") && (p = (b = y.aliases) == null ? void 0 : b[p.slice(1)])), !p) + if (typeof p == "string" && (p = p.trim(), p.startsWith("$") && (p = (b = m.aliases) == null ? void 0 : b[p.slice(1)])), !p) throw new Error(`Could not find aliased icon "${f}"`); if (Array.isArray(p)) return { component: Di, icon: p }; if (typeof p != "string") return { component: mo, icon: p }; - const g = Object.keys(y.sets).find((I) => typeof p == "string" && p.startsWith(`${I}:`)), h = g ? p.slice(g.length + 1) : p; - return { component: y.sets[g ?? y.defaultSet].component, icon: h }; + const g = Object.keys(m.sets).find((B) => typeof p == "string" && p.startsWith(`${B}:`)), h = g ? p.slice(g.length + 1) : p; + return { component: m.sets[g ?? m.defaultSet].component, icon: h }; }) }; - })(v(() => a.value || e.icon)), { sizeClasses: r } = vt(e), { textColorClasses: o, textColorStyles: s } = Ke(ne(e, "color")); - return oe(() => { - var y, f; - const m = (y = l.default) == null ? void 0 : y.call(l); - return m && (a.value = (f = jo(m).filter((p) => p.type === ai && p.children && typeof p.children == "string")[0]) == null ? void 0 : f.children), d(c.value.component, { tag: e.tag, icon: c.value.icon, class: ["v-icon", "notranslate", i.value, r.value, o.value, { "v-icon--clickable": !!n.onClick, "v-icon--start": e.start, "v-icon--end": e.end }, e.class], style: [r.value ? void 0 : { fontSize: te(e.size), height: te(e.size), width: te(e.size) }, s.value, e.style], role: n.onClick ? "button" : void 0, "aria-hidden": !n.onClick }, { default: () => [m] }); + })(v(() => a.value || e.icon)), { sizeClasses: s } = vt(e), { textColorClasses: o, textColorStyles: r } = Je(ne(e, "color")); + return ae(() => { + var m, f; + const y = (m = l.default) == null ? void 0 : m.call(l); + return y && (a.value = (f = jo(y).filter((p) => p.type === ai && p.children && typeof p.children == "string")[0]) == null ? void 0 : f.children), d(c.value.component, { tag: e.tag, icon: c.value.icon, class: ["v-icon", "notranslate", i.value, s.value, o.value, { "v-icon--clickable": !!n.onClick, "v-icon--start": e.start, "v-icon--end": e.end }, e.class], style: [s.value ? void 0 : { fontSize: te(e.size), height: te(e.size), width: te(e.size) }, r.value, e.style], role: n.onClick ? "button" : void 0, "aria-hidden": !n.onClick }, { default: () => [y] }); }), {}; } }); function va(e, t) { - const n = N(), l = re(!1); - if (Bl) { + const n = M(), l = re(!1); + if (xl) { const a = new IntersectionObserver((i) => { e == null || e(i, a), l.value = !!i.find((c) => c.isIntersecting); }, t); - an(() => { + Ze(() => { a.disconnect(); }), K(n, (i, c) => { c && (a.unobserve(c), l.value = !1), i && a.observe(i); @@ -1084,13 +1089,13 @@ function va(e, t) { } return { intersectionRef: n, isIntersecting: l }; } -const Wi = Y({ bgColor: String, color: String, indeterminate: [Boolean, String], modelValue: { type: [Number, String], default: 0 }, rotate: { type: [Number, String], default: 0 }, width: { type: [Number, String], default: 4 }, ...se(), ...pt(), ...ze({ tag: "div" }), ...Se() }, "VProgressCircular"), fa = Q()({ name: "VProgressCircular", props: Wi(), setup(e, t) { +const Mi = H({ bgColor: String, color: String, indeterminate: [Boolean, String], modelValue: { type: [Number, String], default: 0 }, rotate: { type: [Number, String], default: 0 }, width: { type: [Number, String], default: 4 }, ...se(), ...pt(), ...ze({ tag: "div" }), ...Be() }, "VProgressCircular"), fa = Q()({ name: "VProgressCircular", props: Mi(), setup(e, t) { let { slots: n } = t; - const l = 2 * Math.PI * 20, a = N(), { themeClasses: i } = _e(e), { sizeClasses: c, sizeStyles: r } = vt(e), { textColorClasses: o, textColorStyles: s } = Ke(ne(e, "color")), { textColorClasses: m, textColorStyles: y } = Ke(ne(e, "bgColor")), { intersectionRef: f, isIntersecting: p } = va(), { resizeRef: g, contentRect: h } = Al(), b = v(() => Math.max(0, Math.min(100, parseFloat(e.modelValue)))), I = v(() => Number(e.width)), $ = v(() => r.value ? Number(e.size) : h.value ? h.value.width : Math.max(I.value, 32)), F = v(() => 20 / (1 - I.value / $.value) * 2), H = v(() => I.value / $.value * F.value), T = v(() => te((100 - b.value) / 100 * l)); + const l = 2 * Math.PI * 20, a = M(), { themeClasses: i } = _e(e), { sizeClasses: c, sizeStyles: s } = vt(e), { textColorClasses: o, textColorStyles: r } = Je(ne(e, "color")), { textColorClasses: y, textColorStyles: m } = Je(ne(e, "bgColor")), { intersectionRef: f, isIntersecting: p } = va(), { resizeRef: g, contentRect: h } = Al(), b = v(() => Math.max(0, Math.min(100, parseFloat(e.modelValue)))), B = v(() => Number(e.width)), V = v(() => s.value ? Number(e.size) : h.value ? h.value.width : Math.max(B.value, 32)), _ = v(() => 20 / (1 - B.value / V.value) * 2), U = v(() => B.value / V.value * _.value), z = v(() => te((100 - b.value) / 100 * l)); return Ge(() => { f.value = a.value, g.value = a.value; - }), oe(() => d(e.tag, { ref: a, class: ["v-progress-circular", { "v-progress-circular--indeterminate": !!e.indeterminate, "v-progress-circular--visible": p.value, "v-progress-circular--disable-shrink": e.indeterminate === "disable-shrink" }, i.value, c.value, o.value, e.class], style: [r.value, s.value, e.style], role: "progressbar", "aria-valuemin": "0", "aria-valuemax": "100", "aria-valuenow": e.indeterminate ? void 0 : b.value }, { default: () => [d("svg", { style: { transform: `rotate(calc(-90deg + ${Number(e.rotate)}deg))` }, xmlns: "http://www.w3.org/2000/svg", viewBox: `0 0 ${F.value} ${F.value}` }, [d("circle", { class: ["v-progress-circular__underlay", m.value], style: y.value, fill: "transparent", cx: "50%", cy: "50%", r: 20, "stroke-width": H.value, "stroke-dasharray": l, "stroke-dashoffset": 0 }, null), d("circle", { class: "v-progress-circular__overlay", fill: "transparent", cx: "50%", cy: "50%", r: 20, "stroke-width": H.value, "stroke-dasharray": l, "stroke-dashoffset": T.value }, null)]), n.default && d("div", { class: "v-progress-circular__content" }, [n.default({ value: b.value })])] })), {}; -} }), go = { center: "center", top: "bottom", bottom: "top", left: "right", right: "left" }, $l = Y({ location: String }, "location"); + }), ae(() => d(e.tag, { ref: a, class: ["v-progress-circular", { "v-progress-circular--indeterminate": !!e.indeterminate, "v-progress-circular--visible": p.value, "v-progress-circular--disable-shrink": e.indeterminate === "disable-shrink" }, i.value, c.value, o.value, e.class], style: [s.value, r.value, e.style], role: "progressbar", "aria-valuemin": "0", "aria-valuemax": "100", "aria-valuenow": e.indeterminate ? void 0 : b.value }, { default: () => [d("svg", { style: { transform: `rotate(calc(-90deg + ${Number(e.rotate)}deg))` }, xmlns: "http://www.w3.org/2000/svg", viewBox: `0 0 ${_.value} ${_.value}` }, [d("circle", { class: ["v-progress-circular__underlay", y.value], style: m.value, fill: "transparent", cx: "50%", cy: "50%", r: 20, "stroke-width": U.value, "stroke-dasharray": l, "stroke-dashoffset": 0 }, null), d("circle", { class: "v-progress-circular__overlay", fill: "transparent", cx: "50%", cy: "50%", r: 20, "stroke-width": U.value, "stroke-dasharray": l, "stroke-dashoffset": z.value }, null)]), n.default && d("div", { class: "v-progress-circular__content" }, [n.default({ value: b.value })])] })), {}; +} }), go = { center: "center", top: "bottom", bottom: "top", left: "right", right: "left" }, $l = H({ location: String }, "location"); function El(e) { let t = arguments.length > 1 && arguments[1] !== void 0 && arguments[1], n = arguments.length > 2 ? arguments[2] : void 0; const { isRtl: l } = st(); @@ -1098,24 +1103,24 @@ function El(e) { if (!e.location) return {}; const { side: i, align: c } = il(e.location.split(" ").length > 1 ? e.location : `${e.location} center`, l.value); - function r(s) { - return n ? n(s) : 0; + function s(r) { + return n ? n(r) : 0; } const o = {}; - return i !== "center" && (t ? o[go[i]] = `calc(100% - ${r(i)}px)` : o[i] = 0), c !== "center" ? t ? o[go[c]] = `calc(100% - ${r(c)}px)` : o[c] = 0 : (i === "center" ? o.top = o.left = "50%" : o[{ top: "left", bottom: "left", left: "top", right: "top" }[i]] = "50%", o.transform = { top: "translateX(-50%)", bottom: "translateX(-50%)", left: "translateY(-50%)", right: "translateY(-50%)", center: "translate(-50%, -50%)" }[i]), o; + return i !== "center" && (t ? o[go[i]] = `calc(100% - ${s(i)}px)` : o[i] = 0), c !== "center" ? t ? o[go[c]] = `calc(100% - ${s(c)}px)` : o[c] = 0 : (i === "center" ? o.top = o.left = "50%" : o[{ top: "left", bottom: "left", left: "top", right: "top" }[i]] = "50%", o.transform = { top: "translateX(-50%)", bottom: "translateX(-50%)", left: "translateY(-50%)", right: "translateY(-50%)", center: "translate(-50%, -50%)" }[i]), o; }) }; } -const Ri = Y({ absolute: Boolean, active: { type: Boolean, default: !0 }, bgColor: String, bgOpacity: [Number, String], bufferValue: { type: [Number, String], default: 0 }, clickable: Boolean, color: String, height: { type: [Number, String], default: 4 }, indeterminate: Boolean, max: { type: [Number, String], default: 100 }, modelValue: { type: [Number, String], default: 0 }, reverse: Boolean, stream: Boolean, striped: Boolean, roundedBar: Boolean, ...se(), ...$l({ location: "top" }), ...Ze(), ...ze(), ...Se() }, "VProgressLinear"), Ni = Q()({ name: "VProgressLinear", props: Ri(), emits: { "update:modelValue": (e) => !0 }, setup(e, t) { +const Ri = H({ absolute: Boolean, active: { type: Boolean, default: !0 }, bgColor: String, bgOpacity: [Number, String], bufferValue: { type: [Number, String], default: 0 }, clickable: Boolean, color: String, height: { type: [Number, String], default: 4 }, indeterminate: Boolean, max: { type: [Number, String], default: 100 }, modelValue: { type: [Number, String], default: 0 }, reverse: Boolean, stream: Boolean, striped: Boolean, roundedBar: Boolean, ...se(), ...$l({ location: "top" }), ...en(), ...ze(), ...Be() }, "VProgressLinear"), Ni = Q()({ name: "VProgressLinear", props: Ri(), emits: { "update:modelValue": (e) => !0 }, setup(e, t) { let { slots: n } = t; - const l = me(e, "modelValue"), { isRtl: a, rtlClasses: i } = st(), { themeClasses: c } = _e(e), { locationStyles: r } = El(e), { textColorClasses: o, textColorStyles: s } = Ke(e, "color"), { backgroundColorClasses: m, backgroundColorStyles: y } = Dn(v(() => e.bgColor || e.color)), { backgroundColorClasses: f, backgroundColorStyles: p } = Dn(e, "color"), { roundedClasses: g } = Qe(e), { intersectionRef: h, isIntersecting: b } = va(), I = v(() => parseInt(e.max, 10)), $ = v(() => parseInt(e.height, 10)), F = v(() => parseFloat(e.bufferValue) / I.value * 100), H = v(() => parseFloat(l.value) / I.value * 100), T = v(() => a.value !== e.reverse), M = v(() => e.indeterminate ? "fade-transition" : "slide-x-transition"), R = v(() => e.bgOpacity == null ? e.bgOpacity : parseFloat(e.bgOpacity)); - function B(x) { + const l = me(e, "modelValue"), { isRtl: a, rtlClasses: i } = st(), { themeClasses: c } = _e(e), { locationStyles: s } = El(e), { textColorClasses: o, textColorStyles: r } = Je(e, "color"), { backgroundColorClasses: y, backgroundColorStyles: m } = Dn(v(() => e.bgColor || e.color)), { backgroundColorClasses: f, backgroundColorStyles: p } = Dn(e, "color"), { roundedClasses: g } = nn(e), { intersectionRef: h, isIntersecting: b } = va(), B = v(() => parseInt(e.max, 10)), V = v(() => parseInt(e.height, 10)), _ = v(() => parseFloat(e.bufferValue) / B.value * 100), U = v(() => parseFloat(l.value) / B.value * 100), z = v(() => a.value !== e.reverse), D = v(() => e.indeterminate ? "fade-transition" : "slide-x-transition"), R = v(() => e.bgOpacity == null ? e.bgOpacity : parseFloat(e.bgOpacity)); + function E(S) { if (!h.value) return; - const { left: E, right: C, width: V } = h.value.getBoundingClientRect(), A = T.value ? V - x.clientX + (C - V) : x.clientX - E; - l.value = Math.round(A / V * I.value); + const { left: O, right: C, width: k } = h.value.getBoundingClientRect(), A = z.value ? k - S.clientX + (C - k) : S.clientX - O; + l.value = Math.round(A / k * B.value); } - return oe(() => d(e.tag, { ref: h, class: ["v-progress-linear", { "v-progress-linear--absolute": e.absolute, "v-progress-linear--active": e.active && b.value, "v-progress-linear--reverse": T.value, "v-progress-linear--rounded": e.rounded, "v-progress-linear--rounded-bar": e.roundedBar, "v-progress-linear--striped": e.striped }, g.value, c.value, i.value, e.class], style: [{ bottom: e.location === "bottom" ? 0 : void 0, top: e.location === "top" ? 0 : void 0, height: e.active ? te($.value) : 0, "--v-progress-linear-height": te($.value), ...r.value }, e.style], role: "progressbar", "aria-hidden": e.active ? "false" : "true", "aria-valuemin": "0", "aria-valuemax": e.max, "aria-valuenow": e.indeterminate ? void 0 : H.value, onClick: e.clickable && B }, { default: () => [e.stream && d("div", { key: "stream", class: ["v-progress-linear__stream", o.value], style: { ...s.value, [T.value ? "left" : "right"]: te(-$.value), borderTop: `${te($.value / 2)} dotted`, opacity: R.value, top: `calc(50% - ${te($.value / 4)})`, width: te(100 - F.value, "%"), "--v-progress-linear-stream-to": te($.value * (T.value ? 1 : -1)) } }, null), d("div", { class: ["v-progress-linear__background", m.value], style: [y.value, { opacity: R.value, width: te(e.stream ? F.value : 100, "%") }] }, null), d(gn, { name: M.value }, { default: () => [e.indeterminate ? d("div", { class: "v-progress-linear__indeterminate" }, [["long", "short"].map((x) => d("div", { key: x, class: ["v-progress-linear__indeterminate", x, f.value], style: p.value }, null))]) : d("div", { class: ["v-progress-linear__determinate", f.value], style: [p.value, { width: te(H.value, "%") }] }, null)] }), n.default && d("div", { class: "v-progress-linear__content" }, [n.default({ value: H.value, buffer: F.value })])] })), {}; -} }), Tl = Y({ loading: [Boolean, String] }, "loader"); + return ae(() => d(e.tag, { ref: h, class: ["v-progress-linear", { "v-progress-linear--absolute": e.absolute, "v-progress-linear--active": e.active && b.value, "v-progress-linear--reverse": z.value, "v-progress-linear--rounded": e.rounded, "v-progress-linear--rounded-bar": e.roundedBar, "v-progress-linear--striped": e.striped }, g.value, c.value, i.value, e.class], style: [{ bottom: e.location === "bottom" ? 0 : void 0, top: e.location === "top" ? 0 : void 0, height: e.active ? te(V.value) : 0, "--v-progress-linear-height": te(V.value), ...s.value }, e.style], role: "progressbar", "aria-hidden": e.active ? "false" : "true", "aria-valuemin": "0", "aria-valuemax": e.max, "aria-valuenow": e.indeterminate ? void 0 : U.value, onClick: e.clickable && E }, { default: () => [e.stream && d("div", { key: "stream", class: ["v-progress-linear__stream", o.value], style: { ...r.value, [z.value ? "left" : "right"]: te(-V.value), borderTop: `${te(V.value / 2)} dotted`, opacity: R.value, top: `calc(50% - ${te(V.value / 4)})`, width: te(100 - _.value, "%"), "--v-progress-linear-stream-to": te(V.value * (z.value ? 1 : -1)) } }, null), d("div", { class: ["v-progress-linear__background", y.value], style: [m.value, { opacity: R.value, width: te(e.stream ? _.value : 100, "%") }] }, null), d(gn, { name: D.value }, { default: () => [e.indeterminate ? d("div", { class: "v-progress-linear__indeterminate" }, [["long", "short"].map((S) => d("div", { key: S, class: ["v-progress-linear__indeterminate", S, f.value], style: p.value }, null))]) : d("div", { class: ["v-progress-linear__determinate", f.value], style: [p.value, { width: te(U.value, "%") }] }, null)] }), n.default && d("div", { class: "v-progress-linear__content" }, [n.default({ value: U.value, buffer: _.value })])] })), {}; +} }), Tl = H({ loading: [Boolean, String] }, "loader"); function Gt(e) { let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : qe(); return { loaderClasses: v(() => ({ [`${t}--loading`]: e.loading })) }; @@ -1125,22 +1130,22 @@ function zl(e, t) { let { slots: n } = t; return d("div", { class: `${e.name}__loader` }, [((l = n.default) == null ? void 0 : l.call(n, { color: e.color, isActive: e.active })) || d(Ni, { active: e.active, color: e.color, height: "2", indeterminate: !0 }, null)]); } -const ji = ["static", "relative", "fixed", "absolute", "sticky"], ya = Y({ position: { type: String, validator: (e) => ji.includes(e) } }, "position"); +const ji = ["static", "relative", "fixed", "absolute", "sticky"], ya = H({ position: { type: String, validator: (e) => ji.includes(e) } }, "position"); function ma(e) { let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : qe(); return { positionClasses: v(() => e.position ? `${t}--${e.position}` : void 0) }; } function qt(e, t) { - const n = ii("RouterLink"), l = v(() => !(!e.href && !e.to)), a = v(() => (l == null ? void 0 : l.value) || Ul(t, "click") || Ul(e, "click")); + const n = ii("RouterLink"), l = v(() => !(!e.href && !e.to)), a = v(() => (l == null ? void 0 : l.value) || Hl(t, "click") || Hl(e, "click")); if (typeof n == "string") return { isLink: l, isClickable: a, href: ne(e, "href") }; const i = e.to ? n.useLink(e) : void 0; return { isLink: l, isClickable: a, route: i == null ? void 0 : i.route, navigate: i == null ? void 0 : i.navigate, isActive: i && v(() => { - var c, r; - return e.exact ? (c = i.isExactActive) == null ? void 0 : c.value : (r = i.isActive) == null ? void 0 : r.value; + var c, s; + return e.exact ? (c = i.isExactActive) == null ? void 0 : c.value : (s = i.isActive) == null ? void 0 : s.value; }), href: v(() => e.to ? i == null ? void 0 : i.route.value.href : e.href) }; } -const Ht = Y({ href: String, replace: Boolean, to: [String, Object], exact: Boolean }, "router"); +const Ut = H({ href: String, replace: Boolean, to: [String, Object], exact: Boolean }, "router"); let Zt = !1; const rl = Symbol("rippleStop"), Gi = 80; function ho(e, t) { @@ -1159,22 +1164,22 @@ const Et = { show(e, t) { return; const l = document.createElement("span"), a = document.createElement("span"); l.appendChild(a), l.className = "v-ripple__container", n.class && (l.className += ` ${n.class}`); - const { radius: i, scale: c, x: r, y: o, centerX: s, centerY: m } = function(g, h) { + const { radius: i, scale: c, x: s, y: o, centerX: r, centerY: y } = function(g, h) { var R; - let b = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, I = 0, $ = 0; + let b = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, B = 0, V = 0; if (!ga(g)) { - const B = h.getBoundingClientRect(), x = sl(g) ? g.touches[g.touches.length - 1] : g; - I = x.clientX - B.left, $ = x.clientY - B.top; + const E = h.getBoundingClientRect(), S = sl(g) ? g.touches[g.touches.length - 1] : g; + B = S.clientX - E.left, V = S.clientY - E.top; } - let F = 0, H = 0.3; - (R = h._ripple) != null && R.circle ? (H = 0.15, F = h.clientWidth / 2, F = b.center ? F : F + Math.sqrt((I - F) ** 2 + ($ - F) ** 2) / 4) : F = Math.sqrt(h.clientWidth ** 2 + h.clientHeight ** 2) / 2; - const T = (h.clientWidth - 2 * F) / 2 + "px", M = (h.clientHeight - 2 * F) / 2 + "px"; - return { radius: F, scale: H, x: b.center ? T : I - F + "px", y: b.center ? M : $ - F + "px", centerX: T, centerY: M }; - }(e, t, n), y = 2 * i + "px"; - a.className = "v-ripple__animation", a.style.width = y, a.style.height = y, t.appendChild(l); + let _ = 0, U = 0.3; + (R = h._ripple) != null && R.circle ? (U = 0.15, _ = h.clientWidth / 2, _ = b.center ? _ : _ + Math.sqrt((B - _) ** 2 + (V - _) ** 2) / 4) : _ = Math.sqrt(h.clientWidth ** 2 + h.clientHeight ** 2) / 2; + const z = (h.clientWidth - 2 * _) / 2 + "px", D = (h.clientHeight - 2 * _) / 2 + "px"; + return { radius: _, scale: U, x: b.center ? z : B - _ + "px", y: b.center ? D : V - _ + "px", centerX: z, centerY: D }; + }(e, t, n), m = 2 * i + "px"; + a.className = "v-ripple__animation", a.style.width = m, a.style.height = m, t.appendChild(l); const f = window.getComputedStyle(t); - f && f.position === "static" && (t.style.position = "relative", t.dataset.previousPosition = "static"), a.classList.add("v-ripple__animation--enter"), a.classList.add("v-ripple__animation--visible"), ho(a, `translate(${r}, ${o}) scale3d(${c},${c},${c})`), a.dataset.activated = String(performance.now()), setTimeout(() => { - a.classList.remove("v-ripple__animation--enter"), a.classList.add("v-ripple__animation--in"), ho(a, `translate(${s}, ${m}) scale3d(1,1,1)`); + f && f.position === "static" && (t.style.position = "relative", t.dataset.previousPosition = "static"), a.classList.add("v-ripple__animation--enter"), a.classList.add("v-ripple__animation--visible"), ho(a, `translate(${s}, ${o}) scale3d(${c},${c},${c})`), a.dataset.activated = String(performance.now()), setTimeout(() => { + a.classList.remove("v-ripple__animation--enter"), a.classList.add("v-ripple__animation--in"), ho(a, `translate(${r}, ${y}) scale3d(1,1,1)`); }, 0); }, hide(e) { var i; @@ -1254,115 +1259,115 @@ function Co(e, t, n) { return e.addEventListener("touchstart", bo, { passive: !0 }), void e.addEventListener("mousedown", bo); e.addEventListener("touchstart", et, { passive: !0 }), e.addEventListener("touchend", Te, { passive: !0 }), e.addEventListener("touchmove", ba, { passive: !0 }), e.addEventListener("touchcancel", Te), e.addEventListener("mousedown", et), e.addEventListener("mouseup", Te), e.addEventListener("mouseleave", Te), e.addEventListener("keydown", Ca), e.addEventListener("keyup", Ia), e.addEventListener("blur", Sa), e.addEventListener("dragstart", Te, { passive: !0 }); } else - !i && n && xa(e); + !i && n && Ba(e); } -function xa(e) { +function Ba(e) { e.removeEventListener("mousedown", et), e.removeEventListener("touchstart", et), e.removeEventListener("touchend", Te), e.removeEventListener("touchmove", ba), e.removeEventListener("touchcancel", Te), e.removeEventListener("mouseup", Te), e.removeEventListener("mouseleave", Te), e.removeEventListener("keydown", Ca), e.removeEventListener("keyup", Ia), e.removeEventListener("dragstart", Te), e.removeEventListener("blur", Sa); } const ft = { mounted: function(e, t) { Co(e, t, !1); }, unmounted: function(e) { - delete e._ripple, xa(e); + delete e._ripple, Ba(e); }, updated: function(e, t) { t.value !== t.oldValue && Co(e, t, ha(t.oldValue)); -} }, qi = Y({ active: { type: Boolean, default: void 0 }, symbol: { type: null, default: pa }, flat: Boolean, icon: [Boolean, String, Function, Object], prependIcon: ce, appendIcon: ce, block: Boolean, slim: Boolean, stacked: Boolean, ripple: { type: [Boolean, Object], default: !0 }, text: String, ...Nn(), ...se(), ...He(), ...Cn(), ...Gn(), ...ua(), ...Tl(), ...$l(), ...ya(), ...Ze(), ...Ht(), ...pt(), ...ze({ tag: "button" }), ...Se(), ...rn({ variant: "elevated" }) }, "VBtn"), ul = Q()({ name: "VBtn", directives: { Ripple: ft }, props: qi(), emits: { "group:selected": (e) => !0 }, setup(e, t) { +} }, qi = H({ active: { type: Boolean, default: void 0 }, symbol: { type: null, default: pa }, flat: Boolean, icon: [Boolean, String, Function, Object], prependIcon: ce, appendIcon: ce, block: Boolean, slim: Boolean, stacked: Boolean, ripple: { type: [Boolean, Object], default: !0 }, text: String, ...Nn(), ...se(), ...Ue(), ...Cn(), ...Gn(), ...ua(), ...Tl(), ...$l(), ...ya(), ...en(), ...Ut(), ...pt(), ...ze({ tag: "button" }), ...Be(), ...rn({ variant: "elevated" }) }, "VBtn"), ul = Q()({ name: "VBtn", directives: { Ripple: ft }, props: qi(), emits: { "group:selected": (e) => !0 }, setup(e, t) { let { attrs: n, slots: l } = t; - const { themeClasses: a } = _e(e), { borderClasses: i } = jn(e), { colorClasses: c, colorStyles: r, variantClasses: o } = dt(e), { densityClasses: s } = en(e), { dimensionStyles: m } = In(e), { elevationClasses: y } = qn(e), { loaderClasses: f } = Gt(e), { locationStyles: p } = El(e), { positionClasses: g } = ma(e), { roundedClasses: h } = Qe(e), { sizeClasses: b, sizeStyles: I } = vt(e), $ = ca(e, e.symbol, !1), F = qt(e, n), H = v(() => { - var x; - return e.active !== void 0 ? e.active : F.isLink.value ? (x = F.isActive) == null ? void 0 : x.value : $ == null ? void 0 : $.isSelected.value; - }), T = v(() => ($ == null ? void 0 : $.disabled.value) || e.disabled), M = v(() => e.variant === "elevated" && !(e.disabled || e.flat || e.border)), R = v(() => { - if (e.value !== void 0) + const { themeClasses: a } = _e(e), { borderClasses: i } = jn(e), { colorClasses: c, colorStyles: s, variantClasses: o } = dt(e), { densityClasses: r } = tn(e), { dimensionStyles: y } = In(e), { elevationClasses: m } = qn(e), { loaderClasses: f } = Gt(e), { locationStyles: p } = El(e), { positionClasses: g } = ma(e), { roundedClasses: h } = nn(e), { sizeClasses: b, sizeStyles: B } = vt(e), V = ca(e, e.symbol, !1), _ = qt(e, n), U = v(() => { + var S; + return e.active !== void 0 ? e.active : _.isLink.value ? (S = _.isActive) == null ? void 0 : S.value : V == null ? void 0 : V.isSelected.value; + }), z = v(() => (V == null ? void 0 : V.disabled.value) || e.disabled), D = v(() => e.variant === "elevated" && !(e.disabled || e.flat || e.border)), R = v(() => { + if (e.value !== void 0 && typeof e.value != "symbol") return Object(e.value) === e.value ? JSON.stringify(e.value, null, 0) : e.value; }); - function B(x) { - var E; - T.value || F.isLink.value && (x.metaKey || x.ctrlKey || x.shiftKey || x.button !== 0 || n.target === "_blank") || ((E = F.navigate) == null || E.call(F, x), $ == null || $.toggle()); + function E(S) { + var O; + z.value || _.isLink.value && (S.metaKey || S.ctrlKey || S.shiftKey || S.button !== 0 || n.target === "_blank") || ((O = _.navigate) == null || O.call(_, S), V == null || V.toggle()); } - return function(x, E) { + return function(S, O) { K(() => { var C; - return (C = x.isActive) == null ? void 0 : C.value; + return (C = S.isActive) == null ? void 0 : C.value; }, (C) => { - x.isLink.value && C && E && Ie(() => { - E(!0); + S.isLink.value && C && O && Ie(() => { + O(!0); }); }, { immediate: !0 }); - }(F, $ == null ? void 0 : $.select), oe(() => { - var j, G; - const x = F.isLink.value ? "a" : e.tag, E = !(!e.prependIcon && !l.prepend), C = !(!e.appendIcon && !l.append), V = !(!e.icon || e.icon === !0), A = ($ == null ? void 0 : $.isSelected.value) && (!F.isLink.value || ((j = F.isActive) == null ? void 0 : j.value)) || !$ || ((G = F.isActive) == null ? void 0 : G.value); - return we(d(x, { type: x === "a" ? void 0 : "button", class: ["v-btn", $ == null ? void 0 : $.selectedClass.value, { "v-btn--active": H.value, "v-btn--block": e.block, "v-btn--disabled": T.value, "v-btn--elevated": M.value, "v-btn--flat": e.flat, "v-btn--icon": !!e.icon, "v-btn--loading": e.loading, "v-btn--slim": e.slim, "v-btn--stacked": e.stacked }, a.value, i.value, A ? c.value : void 0, s.value, y.value, f.value, g.value, h.value, b.value, o.value, e.class], style: [A ? r.value : void 0, m.value, p.value, I.value, e.style], disabled: T.value || void 0, href: F.href.value, onClick: B, value: R.value }, { default: () => { - var k; - return [ct(!0, "v-btn"), !e.icon && E && d("span", { key: "prepend", class: "v-btn__prepend" }, [l.prepend ? d(ke, { key: "prepend-defaults", disabled: !e.prependIcon, defaults: { VIcon: { icon: e.prependIcon } } }, l.prepend) : d(de, { key: "prepend-icon", icon: e.prependIcon }, null)]), d("span", { class: "v-btn__content", "data-no-activator": "" }, [!l.default && V ? d(de, { key: "content-icon", icon: e.icon }, null) : d(ke, { key: "content-defaults", disabled: !V, defaults: { VIcon: { icon: e.icon } } }, { default: () => { - var w; - return [((w = l.default) == null ? void 0 : w.call(l)) ?? e.text]; - } })]), !e.icon && C && d("span", { key: "append", class: "v-btn__append" }, [l.append ? d(ke, { key: "append-defaults", disabled: !e.appendIcon, defaults: { VIcon: { icon: e.appendIcon } } }, l.append) : d(de, { key: "append-icon", icon: e.appendIcon }, null)]), !!e.loading && d("span", { key: "loader", class: "v-btn__loader" }, [((k = l.loader) == null ? void 0 : k.call(l)) ?? d(fa, { color: typeof e.loading == "boolean" ? void 0 : e.loading, indeterminate: !0, size: "23", width: "2" }, null)])]; - } }), [[Je("ripple"), !T.value && e.ripple, null]]); + }(_, V == null ? void 0 : V.select), ae(() => { + var N, q; + const S = _.isLink.value ? "a" : e.tag, O = !(!e.prependIcon && !l.prepend), C = !(!e.appendIcon && !l.append), k = !(!e.icon || e.icon === !0), A = (V == null ? void 0 : V.isSelected.value) && (!_.isLink.value || ((N = _.isActive) == null ? void 0 : N.value)) || !V || ((q = _.isActive) == null ? void 0 : q.value); + return Fe(d(S, { type: S === "a" ? void 0 : "button", class: ["v-btn", V == null ? void 0 : V.selectedClass.value, { "v-btn--active": U.value, "v-btn--block": e.block, "v-btn--disabled": z.value, "v-btn--elevated": D.value, "v-btn--flat": e.flat, "v-btn--icon": !!e.icon, "v-btn--loading": e.loading, "v-btn--slim": e.slim, "v-btn--stacked": e.stacked }, a.value, i.value, A ? c.value : void 0, r.value, m.value, f.value, g.value, h.value, b.value, o.value, e.class], style: [A ? s.value : void 0, y.value, p.value, B.value, e.style], disabled: z.value || void 0, href: _.href.value, onClick: E, value: R.value }, { default: () => { + var I; + return [ct(!0, "v-btn"), !e.icon && O && d("span", { key: "prepend", class: "v-btn__prepend" }, [l.prepend ? d(we, { key: "prepend-defaults", disabled: !e.prependIcon, defaults: { VIcon: { icon: e.prependIcon } } }, l.prepend) : d(de, { key: "prepend-icon", icon: e.prependIcon }, null)]), d("span", { class: "v-btn__content", "data-no-activator": "" }, [!l.default && k ? d(de, { key: "content-icon", icon: e.icon }, null) : d(we, { key: "content-defaults", disabled: !k, defaults: { VIcon: { icon: e.icon } } }, { default: () => { + var P; + return [((P = l.default) == null ? void 0 : P.call(l)) ?? e.text]; + } })]), !e.icon && C && d("span", { key: "append", class: "v-btn__append" }, [l.append ? d(we, { key: "append-defaults", disabled: !e.appendIcon, defaults: { VIcon: { icon: e.appendIcon } } }, l.append) : d(de, { key: "append-icon", icon: e.appendIcon }, null)]), !!e.loading && d("span", { key: "loader", class: "v-btn__loader" }, [((I = l.loader) == null ? void 0 : I.call(l)) ?? d(fa, { color: typeof e.loading == "boolean" ? void 0 : e.loading, indeterminate: !0, size: "23", width: "2" }, null)])]; + } }), [[Qe("ripple"), !z.value && e.ripple, null]]); }), {}; -} }), Hi = Y({ text: String, clickable: Boolean, ...se(), ...Se() }, "VLabel"), Ba = Q()({ name: "VLabel", props: Hi(), setup(e, t) { +} }), Ui = H({ text: String, clickable: Boolean, ...se(), ...Be() }, "VLabel"), xa = Q()({ name: "VLabel", props: Ui(), setup(e, t) { let { slots: n } = t; - return oe(() => { + return ae(() => { var l; return d("label", { class: ["v-label", { "v-label--clickable": e.clickable }, e.class], style: e.style }, [e.text, (l = n.default) == null ? void 0 : l.call(n)]); }), {}; -} }), ka = Symbol.for("vuetify:selection-control-group"), wa = Y({ color: String, disabled: { type: Boolean, default: null }, defaultsTarget: String, error: Boolean, id: String, inline: Boolean, falseIcon: ce, trueIcon: ce, ripple: { type: Boolean, default: !0 }, multiple: { type: Boolean, default: null }, name: String, readonly: Boolean, modelValue: null, type: String, valueComparator: { type: Function, default: at }, ...se(), ...He(), ...Se() }, "SelectionControlGroup"), Ui = Y({ ...wa({ defaultsTarget: "VSelectionControl" }) }, "VSelectionControlGroup"); -Q()({ name: "VSelectionControlGroup", props: Ui(), emits: { "update:modelValue": (e) => !0 }, setup(e, t) { +} }), ka = Symbol.for("vuetify:selection-control-group"), wa = H({ color: String, disabled: { type: Boolean, default: null }, defaultsTarget: String, error: Boolean, id: String, inline: Boolean, falseIcon: ce, trueIcon: ce, ripple: { type: Boolean, default: !0 }, multiple: { type: Boolean, default: null }, name: String, readonly: Boolean, modelValue: null, type: String, valueComparator: { type: Function, default: at }, ...se(), ...Ue(), ...Be() }, "SelectionControlGroup"), Hi = H({ ...wa({ defaultsTarget: "VSelectionControl" }) }, "VSelectionControlGroup"); +Q()({ name: "VSelectionControlGroup", props: Hi(), emits: { "update:modelValue": (e) => !0 }, setup(e, t) { let { slots: n } = t; - const l = me(e, "modelValue"), a = We(), i = v(() => e.id || `v-selection-control-group-${a}`), c = v(() => e.name || i.value), r = /* @__PURE__ */ new Set(); + const l = me(e, "modelValue"), a = Me(), i = v(() => e.id || `v-selection-control-group-${a}`), c = v(() => e.name || i.value), s = /* @__PURE__ */ new Set(); return De(ka, { modelValue: l, forceUpdate: () => { - r.forEach((o) => o()); + s.forEach((o) => o()); }, onForceUpdate: (o) => { - r.add(o), Be(() => { - r.delete(o); + s.add(o), ke(() => { + s.delete(o); }); - } }), Rn({ [e.defaultsTarget]: { color: ne(e, "color"), disabled: ne(e, "disabled"), density: ne(e, "density"), error: ne(e, "error"), inline: ne(e, "inline"), modelValue: l, multiple: v(() => !!e.multiple || e.multiple == null && Array.isArray(l.value)), name: c, falseIcon: ne(e, "falseIcon"), trueIcon: ne(e, "trueIcon"), readonly: ne(e, "readonly"), ripple: ne(e, "ripple"), type: ne(e, "type"), valueComparator: ne(e, "valueComparator") } }), oe(() => { + } }), Rn({ [e.defaultsTarget]: { color: ne(e, "color"), disabled: ne(e, "disabled"), density: ne(e, "density"), error: ne(e, "error"), inline: ne(e, "inline"), modelValue: l, multiple: v(() => !!e.multiple || e.multiple == null && Array.isArray(l.value)), name: c, falseIcon: ne(e, "falseIcon"), trueIcon: ne(e, "trueIcon"), readonly: ne(e, "readonly"), ripple: ne(e, "ripple"), type: ne(e, "type"), valueComparator: ne(e, "valueComparator") } }), ae(() => { var o; return d("div", { class: ["v-selection-control-group", { "v-selection-control-group--inline": e.inline }, e.class], style: e.style, role: e.type === "radio" ? "radiogroup" : void 0 }, [(o = n.default) == null ? void 0 : o.call(n)]); }), {}; } }); -const Dl = Y({ label: String, baseColor: String, trueValue: null, falseValue: null, value: null, ...se(), ...wa() }, "VSelectionControl"), Tt = Q()({ name: "VSelectionControl", directives: { Ripple: ft }, inheritAttrs: !1, props: Dl(), emits: { "update:modelValue": (e) => !0 }, setup(e, t) { +const Dl = H({ label: String, baseColor: String, trueValue: null, falseValue: null, value: null, ...se(), ...wa() }, "VSelectionControl"), Tt = Q()({ name: "VSelectionControl", directives: { Ripple: ft }, inheritAttrs: !1, props: Dl(), emits: { "update:modelValue": (e) => !0 }, setup(e, t) { let { attrs: n, slots: l } = t; - const { group: a, densityClasses: i, icon: c, model: r, textColorClasses: o, textColorStyles: s, backgroundColorClasses: m, backgroundColorStyles: y, trueValue: f } = function(T) { - const M = ve(ka, void 0), { densityClasses: R } = en(T), B = me(T, "modelValue"), x = v(() => T.trueValue !== void 0 ? T.trueValue : T.value === void 0 || T.value), E = v(() => T.falseValue !== void 0 && T.falseValue), C = v(() => !!T.multiple || T.multiple == null && Array.isArray(B.value)), V = v({ get() { - const _ = M ? M.modelValue.value : B.value; - return C.value ? _.some((D) => T.valueComparator(D, x.value)) : T.valueComparator(_, x.value); - }, set(_) { - if (T.readonly) + const { group: a, densityClasses: i, icon: c, model: s, textColorClasses: o, textColorStyles: r, backgroundColorClasses: y, backgroundColorStyles: m, trueValue: f } = function(z) { + const D = ve(ka, void 0), { densityClasses: R } = tn(z), E = me(z, "modelValue"), S = v(() => z.trueValue !== void 0 ? z.trueValue : z.value === void 0 || z.value), O = v(() => z.falseValue !== void 0 && z.falseValue), C = v(() => !!z.multiple || z.multiple == null && Array.isArray(E.value)), k = v({ get() { + const $ = D ? D.modelValue.value : E.value; + return C.value ? Ke($).some((W) => z.valueComparator(W, S.value)) : z.valueComparator($, S.value); + }, set($) { + if (z.readonly) return; - const D = _ ? x.value : E.value; - let W = D; - C.value && (W = _ ? [...ln(B.value), D] : ln(B.value).filter((O) => !T.valueComparator(O, x.value))), M ? M.modelValue.value = W : B.value = W; - } }), { textColorClasses: A, textColorStyles: j } = Ke(v(() => { - if (!T.error && !T.disabled) - return V.value ? T.color : T.baseColor; - })), { backgroundColorClasses: G, backgroundColorStyles: k } = Dn(v(() => !V.value || T.error || T.disabled ? void 0 : T.color)), w = v(() => V.value ? T.trueIcon : T.falseIcon); - return { group: M, densityClasses: R, trueValue: x, falseValue: E, model: V, textColorClasses: A, textColorStyles: j, backgroundColorClasses: G, backgroundColorStyles: k, icon: w }; - }(e), p = We(), g = v(() => e.id || `input-${p}`), h = re(!1), b = re(!1), I = N(); - function $(T) { - h.value = !0, At(T.target, ":focus-visible") !== !1 && (b.value = !0); + const W = $ ? S.value : O.value; + let j = W; + C.value && (j = $ ? [...Ke(E.value), W] : Ke(E.value).filter((F) => !z.valueComparator(F, S.value))), D ? D.modelValue.value = j : E.value = j; + } }), { textColorClasses: A, textColorStyles: N } = Je(v(() => { + if (!z.error && !z.disabled) + return k.value ? z.color : z.baseColor; + })), { backgroundColorClasses: q, backgroundColorStyles: I } = Dn(v(() => !k.value || z.error || z.disabled ? void 0 : z.color)), P = v(() => k.value ? z.trueIcon : z.falseIcon); + return { group: D, densityClasses: R, trueValue: S, falseValue: O, model: k, textColorClasses: A, textColorStyles: N, backgroundColorClasses: q, backgroundColorStyles: I, icon: P }; + }(e), p = Me(), g = v(() => e.id || `input-${p}`), h = re(!1), b = re(!1), B = M(); + function V(z) { + h.value = !0, At(z.target, ":focus-visible") !== !1 && (b.value = !0); } - function F() { + function _() { h.value = !1, b.value = !1; } - function H(T) { - e.readonly && a && Ie(() => a.forceUpdate()), r.value = T.target.checked; + function U(z) { + e.readonly && a && Ie(() => a.forceUpdate()), s.value = z.target.checked; } return a == null || a.onForceUpdate(() => { - I.value && (I.value.checked = r.value); - }), oe(() => { - var x, E; - const T = l.label ? l.label({ label: e.label, props: { for: g.value } }) : e.label, [M, R] = it(n), B = d("input", Z({ ref: I, checked: r.value, disabled: !(!e.readonly && !e.disabled), id: g.value, onBlur: F, onFocus: $, onInput: H, "aria-disabled": !(!e.readonly && !e.disabled), type: e.type, value: f.value, name: e.name, "aria-checked": e.type === "checkbox" ? r.value : void 0 }, R), null); - return d("div", Z({ class: ["v-selection-control", { "v-selection-control--dirty": r.value, "v-selection-control--disabled": e.disabled, "v-selection-control--error": e.error, "v-selection-control--focused": h.value, "v-selection-control--focus-visible": b.value, "v-selection-control--inline": e.inline }, i.value, e.class] }, M, { style: e.style }), [d("div", { class: ["v-selection-control__wrapper", o.value], style: s.value }, [(x = l.default) == null ? void 0 : x.call(l, { backgroundColorClasses: m, backgroundColorStyles: y }), we(d("div", { class: ["v-selection-control__input"] }, [((E = l.input) == null ? void 0 : E.call(l, { model: r, textColorClasses: o, textColorStyles: s, backgroundColorClasses: m, backgroundColorStyles: y, inputNode: B, icon: c.value, props: { onFocus: $, onBlur: F, id: g.value } })) ?? d(fe, null, [c.value && d(de, { key: "icon", icon: c.value }, null), B])]), [[Je("ripple"), e.ripple && [!e.disabled && !e.readonly, null, ["center", "circle"]]]])]), T && d(Ba, { for: g.value, clickable: !0, onClick: (C) => C.stopPropagation() }, { default: () => [T] })]); - }), { isFocused: h, input: I }; -} }), Fa = Y({ indeterminate: Boolean, indeterminateIcon: { type: ce, default: "$checkboxIndeterminate" }, ...Dl({ falseIcon: "$checkboxOff", trueIcon: "$checkboxOn" }) }, "VCheckboxBtn"), cl = Q()({ name: "VCheckboxBtn", props: Fa(), emits: { "update:modelValue": (e) => !0, "update:indeterminate": (e) => !0 }, setup(e, t) { + B.value && (B.value.checked = s.value); + }), ae(() => { + var S, O; + const z = l.label ? l.label({ label: e.label, props: { for: g.value } }) : e.label, [D, R] = it(n), E = d("input", Z({ ref: B, checked: s.value, disabled: !(!e.readonly && !e.disabled), id: g.value, onBlur: _, onFocus: V, onInput: U, "aria-disabled": !(!e.readonly && !e.disabled), type: e.type, value: f.value, name: e.name, "aria-checked": e.type === "checkbox" ? s.value : void 0 }, R), null); + return d("div", Z({ class: ["v-selection-control", { "v-selection-control--dirty": s.value, "v-selection-control--disabled": e.disabled, "v-selection-control--error": e.error, "v-selection-control--focused": h.value, "v-selection-control--focus-visible": b.value, "v-selection-control--inline": e.inline }, i.value, e.class] }, D, { style: e.style }), [d("div", { class: ["v-selection-control__wrapper", o.value], style: r.value }, [(S = l.default) == null ? void 0 : S.call(l, { backgroundColorClasses: y, backgroundColorStyles: m }), Fe(d("div", { class: ["v-selection-control__input"] }, [((O = l.input) == null ? void 0 : O.call(l, { model: s, textColorClasses: o, textColorStyles: r, backgroundColorClasses: y, backgroundColorStyles: m, inputNode: E, icon: c.value, props: { onFocus: V, onBlur: _, id: g.value } })) ?? d(fe, null, [c.value && d(de, { key: "icon", icon: c.value }, null), E])]), [[Qe("ripple"), e.ripple && [!e.disabled && !e.readonly, null, ["center", "circle"]]]])]), z && d(xa, { for: g.value, clickable: !0, onClick: (C) => C.stopPropagation() }, { default: () => [z] })]); + }), { isFocused: h, input: B }; +} }), Fa = H({ indeterminate: Boolean, indeterminateIcon: { type: ce, default: "$checkboxIndeterminate" }, ...Dl({ falseIcon: "$checkboxOff", trueIcon: "$checkboxOn" }) }, "VCheckboxBtn"), cl = Q()({ name: "VCheckboxBtn", props: Fa(), emits: { "update:modelValue": (e) => !0, "update:indeterminate": (e) => !0 }, setup(e, t) { let { slots: n } = t; const l = me(e, "indeterminate"), a = me(e, "modelValue"); function i(o) { l.value && (l.value = !1); } - const c = v(() => l.value ? e.indeterminateIcon : e.falseIcon), r = v(() => l.value ? e.indeterminateIcon : e.trueIcon); - return oe(() => { + const c = v(() => l.value ? e.indeterminateIcon : e.falseIcon), s = v(() => l.value ? e.indeterminateIcon : e.trueIcon); + return ae(() => { const o = bn(Tt.filterProps(e), ["modelValue"]); - return d(Tt, Z(o, { modelValue: a.value, "onUpdate:modelValue": [(s) => a.value = s, i], class: ["v-checkbox-btn", e.class], style: e.style, type: "checkbox", falseIcon: c.value, trueIcon: r.value, "aria-checked": l.value ? "mixed" : void 0 }), n); + return d(Tt, Z(o, { modelValue: a.value, "onUpdate:modelValue": [(r) => a.value = r, i], class: ["v-checkbox-btn", e.class], style: e.style, type: "checkbox", falseIcon: c.value, trueIcon: s.value, "aria-checked": l.value ? "mixed" : void 0 }), n); }), {}; } }); function Va(e) { @@ -1373,11 +1378,11 @@ function Va(e) { return d(de, { icon: e[`${l}Icon`], "aria-label": c, onClick: i }, null); } }; } -const Yi = Y({ active: Boolean, color: String, messages: { type: [Array, String], default: () => [] }, ...se(), ...ut({ transition: { component: la, leaveAbsolute: !0, group: !0 } }) }, "VMessages"), Xi = Q()({ name: "VMessages", props: Yi(), setup(e, t) { +const Yi = H({ active: Boolean, color: String, messages: { type: [Array, String], default: () => [] }, ...se(), ...ut({ transition: { component: la, leaveAbsolute: !0, group: !0 } }) }, "VMessages"), Xi = Q()({ name: "VMessages", props: Yi(), setup(e, t) { let { slots: n } = t; - const l = v(() => ln(e.messages)), { textColorClasses: a, textColorStyles: i } = Ke(v(() => e.color)); - return oe(() => d(nn, { transition: e.transition, tag: "div", class: ["v-messages", a.value, e.class], style: [i.value, e.style], role: "alert", "aria-live": "polite" }, { default: () => [e.active && l.value.map((c, r) => d("div", { class: "v-messages__message", key: `${r}-${l.value}` }, [n.message ? n.message({ message: c }) : c]))] })), {}; -} }), Aa = Y({ focused: Boolean, "onUpdate:focused": je() }, "focus"); + const l = v(() => Ke(e.messages)), { textColorClasses: a, textColorStyles: i } = Je(v(() => e.color)); + return ae(() => d(ln, { transition: e.transition, tag: "div", class: ["v-messages", a.value, e.class], style: [i.value, e.style], role: "alert", "aria-live": "polite" }, { default: () => [e.active && l.value.map((c, s) => d("div", { class: "v-messages__message", key: `${s}-${l.value}` }, [n.message ? n.message({ message: c }) : c]))] })), {}; +} }), Aa = H({ focused: Boolean, "onUpdate:focused": je() }, "focus"); function yt(e) { let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : qe(); const n = me(e, "focused"); @@ -1391,116 +1396,116 @@ const Ki = Symbol.for("vuetify:form"); function _a() { return ve(Ki, null); } -const Ji = Y({ 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, ...Aa() }, "validation"), mt = Y({ id: String, appendIcon: ce, centerAffix: { type: Boolean, default: !0 }, prependIcon: ce, 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": je(), "onClick:append": je(), ...se(), ...He(), ...Ji() }, "VInput"), on = Q()({ name: "VInput", props: { ...mt() }, emits: { "update:modelValue": (e) => !0 }, setup(e, t) { +const Ji = H({ 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, ...Aa() }, "validation"), mt = H({ id: String, appendIcon: ce, centerAffix: { type: Boolean, default: !0 }, prependIcon: ce, 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": je(), "onClick:append": je(), ...se(), ...Ue(), ...Ji() }, "VInput"), an = Q()({ name: "VInput", props: { ...mt() }, emits: { "update:modelValue": (e) => !0 }, setup(e, t) { let { attrs: n, slots: l, emit: a } = t; - const { densityClasses: i } = en(e), { rtlClasses: c } = st(), { InputIcon: r } = Va(e), o = We(), s = v(() => e.id || `input-${o}`), m = v(() => `${s.value}-messages`), { errorMessages: y, isDirty: f, isDisabled: p, isReadonly: g, isPristine: h, isValid: b, isValidating: I, reset: $, resetValidation: F, validate: H, validationClasses: T } = function(B) { - let x = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : qe(), E = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : We(); - const C = me(B, "modelValue"), V = v(() => B.validationValue === void 0 ? C.value : B.validationValue), A = _a(), j = N([]), G = re(!0), k = v(() => !(!ln(C.value === "" ? null : C.value).length && !ln(V.value === "" ? null : V.value).length)), w = v(() => !!(B.disabled ?? (A == null ? void 0 : A.isDisabled.value))), _ = v(() => !!(B.readonly ?? (A == null ? void 0 : A.isReadonly.value))), D = v(() => { + const { densityClasses: i } = tn(e), { rtlClasses: c } = st(), { InputIcon: s } = Va(e), o = Me(), r = v(() => e.id || `input-${o}`), y = v(() => `${r.value}-messages`), { errorMessages: m, isDirty: f, isDisabled: p, isReadonly: g, isPristine: h, isValid: b, isValidating: B, reset: V, resetValidation: _, validate: U, validationClasses: z } = function(E) { + let S = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : qe(), O = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : Me(); + const C = me(E, "modelValue"), k = v(() => E.validationValue === void 0 ? C.value : E.validationValue), A = _a(), N = M([]), q = re(!0), I = v(() => !(!Ke(C.value === "" ? null : C.value).length && !Ke(k.value === "" ? null : k.value).length)), P = v(() => !!(E.disabled ?? (A == null ? void 0 : A.isDisabled.value))), $ = v(() => !!(E.readonly ?? (A == null ? void 0 : A.isReadonly.value))), W = v(() => { var X; - return (X = B.errorMessages) != null && X.length ? ln(B.errorMessages).concat(j.value).slice(0, Math.max(0, +B.maxErrors)) : j.value; - }), W = v(() => { - let X = (B.validateOn ?? (A == null ? void 0 : A.validateOn.value)) || "input"; + return (X = E.errorMessages) != null && X.length ? Ke(E.errorMessages).concat(N.value).slice(0, Math.max(0, +E.maxErrors)) : N.value; + }), j = v(() => { + let X = (E.validateOn ?? (A == null ? void 0 : A.validateOn.value)) || "input"; X === "lazy" && (X = "input lazy"); - const le = new Set((X == null ? void 0 : X.split(" ")) ?? []); - return { blur: le.has("blur") || le.has("input"), input: le.has("input"), submit: le.has("submit"), lazy: le.has("lazy") }; - }), O = v(() => { + const oe = new Set((X == null ? void 0 : X.split(" ")) ?? []); + return { blur: oe.has("blur") || oe.has("input"), input: oe.has("input"), submit: oe.has("submit"), lazy: oe.has("lazy") }; + }), F = v(() => { var X; - return !B.error && !((X = B.errorMessages) != null && X.length) && (!B.rules.length || (G.value ? !j.value.length && !W.value.lazy || null : !j.value.length)); - }), L = re(!1), U = v(() => ({ [`${x}--error`]: O.value === !1, [`${x}--dirty`]: k.value, [`${x}--disabled`]: w.value, [`${x}--readonly`]: _.value })), S = v(() => B.name ?? u(E)); - function P() { - C.value = null, Ie(z); + return !E.error && !((X = E.errorMessages) != null && X.length) && (!E.rules.length || (q.value ? !N.value.length && !j.value.lazy || null : !N.value.length)); + }), L = re(!1), Y = v(() => ({ [`${S}--error`]: F.value === !1, [`${S}--dirty`]: I.value, [`${S}--disabled`]: P.value, [`${S}--readonly`]: $.value })), x = v(() => E.name ?? u(O)); + function w() { + C.value = null, Ie(T); } - function z() { - G.value = !0, W.value.lazy ? j.value = [] : q(!0); + function T() { + q.value = !0, j.value.lazy ? N.value = [] : G(!0); } - async function q() { + async function G() { let X = arguments.length > 0 && arguments[0] !== void 0 && arguments[0]; - const le = []; + const oe = []; L.value = !0; - for (const be of B.rules) { - if (le.length >= +(B.maxErrors ?? 1)) + for (const be of E.rules) { + if (oe.length >= +(E.maxErrors ?? 1)) break; - const Ve = typeof be == "function" ? be : () => be, Oe = await Ve(V.value); - Oe !== !0 && (Oe === !1 || typeof Oe == "string" ? le.push(Oe || "") : console.warn(`${Oe} is not a valid value. Rule functions must return boolean true or a string.`)); + const Ve = typeof be == "function" ? be : () => be, Oe = await Ve(k.value); + Oe !== !0 && (Oe === !1 || typeof Oe == "string" ? oe.push(Oe || "") : console.warn(`${Oe} is not a valid value. Rule functions must return boolean true or a string.`)); } - return j.value = le, L.value = !1, G.value = X, j.value; + return N.value = oe, L.value = !1, q.value = X, N.value; } return Do(() => { - A == null || A.register({ id: S.value, validate: q, reset: P, resetValidation: z }); - }), an(() => { - A == null || A.unregister(S.value); - }), Wn(async () => { - W.value.lazy || await q(!0), A == null || A.update(S.value, O.value, D.value); - }), fn(() => W.value.input, () => { - K(V, () => { - if (V.value != null) - q(); - else if (B.focused) { - const X = K(() => B.focused, (le) => { - le || q(), X(); + A == null || A.register({ id: x.value, validate: G, reset: w, resetValidation: T }); + }), Ze(() => { + A == null || A.unregister(x.value); + }), Mn(async () => { + j.value.lazy || await G(!0), A == null || A.update(x.value, F.value, W.value); + }), fn(() => j.value.input, () => { + K(k, () => { + if (k.value != null) + G(); + else if (E.focused) { + const X = K(() => E.focused, (oe) => { + oe || G(), X(); }); } }); - }), fn(() => W.value.blur, () => { - K(() => B.focused, (X) => { - X || q(); + }), fn(() => j.value.blur, () => { + K(() => E.focused, (X) => { + X || G(); }); - }), K(O, () => { - A == null || A.update(S.value, O.value, D.value); - }), { errorMessages: D, isDirty: k, isDisabled: w, isReadonly: _, isPristine: G, isValid: O, isValidating: L, reset: P, resetValidation: z, validate: q, validationClasses: U }; - }(e, "v-input", s), M = v(() => ({ id: s, messagesId: m, isDirty: f, isDisabled: p, isReadonly: g, isPristine: h, isValid: b, isValidating: I, reset: $, resetValidation: F, validate: H })), R = v(() => { - var B; - return (B = e.errorMessages) != null && B.length || !h.value && y.value.length ? y.value : e.hint && (e.persistentHint || e.focused) ? e.hint : e.messages; + }), K(F, () => { + A == null || A.update(x.value, F.value, W.value); + }), { errorMessages: W, isDirty: I, isDisabled: P, isReadonly: $, isPristine: q, isValid: F, isValidating: L, reset: w, resetValidation: T, validate: G, validationClasses: Y }; + }(e, "v-input", r), D = v(() => ({ id: r, messagesId: y, isDirty: f, isDisabled: p, isReadonly: g, isPristine: h, isValid: b, isValidating: B, reset: V, resetValidation: _, validate: U })), R = v(() => { + var E; + return (E = e.errorMessages) != null && E.length || !h.value && m.value.length ? m.value : e.hint && (e.persistentHint || e.focused) ? e.hint : e.messages; }); - return oe(() => { - var V, A, j, G; - const B = !(!l.prepend && !e.prependIcon), x = !(!l.append && !e.appendIcon), E = R.value.length > 0, C = !e.hideDetails || e.hideDetails === "auto" && (E || !!l.details); - return d("div", { class: ["v-input", `v-input--${e.direction}`, { "v-input--center-affix": e.centerAffix, "v-input--hide-spin-buttons": e.hideSpinButtons }, i.value, c.value, T.value, e.class], style: e.style }, [B && d("div", { key: "prepend", class: "v-input__prepend" }, [(V = l.prepend) == null ? void 0 : V.call(l, M.value), e.prependIcon && d(r, { key: "prepend-icon", name: "prepend" }, null)]), l.default && d("div", { class: "v-input__control" }, [(A = l.default) == null ? void 0 : A.call(l, M.value)]), x && d("div", { key: "append", class: "v-input__append" }, [e.appendIcon && d(r, { key: "append-icon", name: "append" }, null), (j = l.append) == null ? void 0 : j.call(l, M.value)]), C && d("div", { class: "v-input__details" }, [d(Xi, { id: m.value, active: E, messages: R.value }, { message: l.message }), (G = l.details) == null ? void 0 : G.call(l, M.value)])]); - }), { reset: $, resetValidation: F, validate: H, isValid: b, errorMessages: y }; -} }), Zi = Y({ ...mt(), ...bn(Fa(), ["inline"]) }, "VCheckbox"), Qi = Q()({ name: "VCheckbox", inheritAttrs: !1, props: Zi(), emits: { "update:modelValue": (e) => !0, "update:focused": (e) => !0 }, setup(e, t) { + return ae(() => { + var k, A, N, q; + const E = !(!l.prepend && !e.prependIcon), S = !(!l.append && !e.appendIcon), O = R.value.length > 0, C = !e.hideDetails || e.hideDetails === "auto" && (O || !!l.details); + return d("div", { class: ["v-input", `v-input--${e.direction}`, { "v-input--center-affix": e.centerAffix, "v-input--hide-spin-buttons": e.hideSpinButtons }, i.value, c.value, z.value, e.class], style: e.style }, [E && d("div", { key: "prepend", class: "v-input__prepend" }, [(k = l.prepend) == null ? void 0 : k.call(l, D.value), e.prependIcon && d(s, { key: "prepend-icon", name: "prepend" }, null)]), l.default && d("div", { class: "v-input__control" }, [(A = l.default) == null ? void 0 : A.call(l, D.value)]), S && d("div", { key: "append", class: "v-input__append" }, [e.appendIcon && d(s, { key: "append-icon", name: "append" }, null), (N = l.append) == null ? void 0 : N.call(l, D.value)]), C && d("div", { class: "v-input__details" }, [d(Xi, { id: y.value, active: O, messages: R.value }, { message: l.message }), (q = l.details) == null ? void 0 : q.call(l, D.value)])]); + }), { reset: V, resetValidation: _, validate: U, isValid: b, errorMessages: m }; +} }), Zi = H({ ...mt(), ...bn(Fa(), ["inline"]) }, "VCheckbox"), Qi = Q()({ name: "VCheckbox", inheritAttrs: !1, props: Zi(), emits: { "update:modelValue": (e) => !0, "update:focused": (e) => !0 }, setup(e, t) { let { attrs: n, slots: l } = t; - const a = me(e, "modelValue"), { isFocused: i, focus: c, blur: r } = yt(e), o = We(), s = v(() => e.id || `checkbox-${o}`); - return oe(() => { - const [m, y] = it(n), f = on.filterProps(e), p = cl.filterProps(e); - return d(on, Z({ class: ["v-checkbox", e.class] }, m, f, { modelValue: a.value, "onUpdate:modelValue": (g) => a.value = g, id: s.value, focused: i.value, style: e.style }), { ...l, default: (g) => { - let { id: h, messagesId: b, isDisabled: I, isReadonly: $ } = g; - return d(cl, Z(p, { id: h.value, "aria-describedby": b.value, disabled: I.value, readonly: $.value }, y, { modelValue: a.value, "onUpdate:modelValue": (F) => a.value = F, onFocus: c, onBlur: r }), l); + const a = me(e, "modelValue"), { isFocused: i, focus: c, blur: s } = yt(e), o = Me(), r = v(() => e.id || `checkbox-${o}`); + return ae(() => { + const [y, m] = it(n), f = an.filterProps(e), p = cl.filterProps(e); + return d(an, Z({ class: ["v-checkbox", e.class] }, y, f, { modelValue: a.value, "onUpdate:modelValue": (g) => a.value = g, id: r.value, focused: i.value, style: e.style }), { ...l, default: (g) => { + let { id: h, messagesId: b, isDisabled: B, isReadonly: V } = g; + return d(cl, Z(p, { id: h.value, "aria-describedby": b.value, disabled: B.value, readonly: V.value }, m, { modelValue: a.value, "onUpdate:modelValue": (_) => a.value = _, onFocus: c, onBlur: s }), l); } }); }), {}; -} }), er = Y({ start: Boolean, end: Boolean, icon: ce, image: String, text: String, ...se(), ...He(), ...Ze(), ...pt(), ...ze(), ...Se(), ...rn({ variant: "flat" }) }, "VAvatar"), Ln = Q()({ name: "VAvatar", props: er(), setup(e, t) { +} }), er = H({ start: Boolean, end: Boolean, icon: ce, image: String, text: String, ...se(), ...Ue(), ...en(), ...pt(), ...ze(), ...Be(), ...rn({ variant: "flat" }) }, "VAvatar"), Ln = Q()({ name: "VAvatar", props: er(), setup(e, t) { let { slots: n } = t; - const { themeClasses: l } = _e(e), { colorClasses: a, colorStyles: i, variantClasses: c } = dt(e), { densityClasses: r } = en(e), { roundedClasses: o } = Qe(e), { sizeClasses: s, sizeStyles: m } = vt(e); - return oe(() => d(e.tag, { class: ["v-avatar", { "v-avatar--start": e.start, "v-avatar--end": e.end }, l.value, a.value, r.value, o.value, s.value, c.value, e.class], style: [i.value, m.value, e.style] }, { default: () => { - var y; - return [e.image ? d(ia, { key: "image", src: e.image, alt: "", cover: !0 }, null) : e.icon ? d(de, { key: "icon", icon: e.icon }, null) : ((y = n.default) == null ? void 0 : y.call(n)) ?? e.text, ct(!1, "v-avatar")]; + const { themeClasses: l } = _e(e), { colorClasses: a, colorStyles: i, variantClasses: c } = dt(e), { densityClasses: s } = tn(e), { roundedClasses: o } = nn(e), { sizeClasses: r, sizeStyles: y } = vt(e); + return ae(() => d(e.tag, { class: ["v-avatar", { "v-avatar--start": e.start, "v-avatar--end": e.end }, l.value, a.value, s.value, o.value, r.value, c.value, e.class], style: [i.value, y.value, e.style] }, { default: () => { + var m; + return [e.image ? d(ia, { key: "image", src: e.image, alt: "", cover: !0 }, null) : e.icon ? d(de, { key: "icon", icon: e.icon }, null) : ((m = n.default) == null ? void 0 : m.call(n)) ?? e.text, ct(!1, "v-avatar")]; } })), {}; -} }), Oa = Symbol.for("vuetify:v-chip-group"), nr = Y({ column: Boolean, filter: Boolean, valueComparator: { type: Function, default: at }, ...se(), ...sa({ selectedClass: "v-chip--selected" }), ...ze(), ...Se(), ...rn({ variant: "tonal" }) }, "VChipGroup"); +} }), Oa = Symbol.for("vuetify:v-chip-group"), nr = H({ column: Boolean, filter: Boolean, valueComparator: { type: Function, default: at }, ...se(), ...sa({ selectedClass: "v-chip--selected" }), ...ze(), ...Be(), ...rn({ variant: "tonal" }) }, "VChipGroup"); Q()({ name: "VChipGroup", props: nr(), emits: { "update:modelValue": (e) => !0 }, setup(e, t) { let { slots: n } = t; - const { themeClasses: l } = _e(e), { isSelected: a, select: i, next: c, prev: r, selected: o } = da(e, Oa); - return Rn({ VChip: { color: ne(e, "color"), disabled: ne(e, "disabled"), filter: ne(e, "filter"), variant: ne(e, "variant") } }), oe(() => d(e.tag, { class: ["v-chip-group", { "v-chip-group--column": e.column }, l.value, e.class], style: e.style }, { default: () => { - var s; - return [(s = n.default) == null ? void 0 : s.call(n, { isSelected: a, select: i, next: c, prev: r, selected: o.value })]; + const { themeClasses: l } = _e(e), { isSelected: a, select: i, next: c, prev: s, selected: o } = da(e, Oa); + return Rn({ VChip: { color: ne(e, "color"), disabled: ne(e, "disabled"), filter: ne(e, "filter"), variant: ne(e, "variant") } }), ae(() => d(e.tag, { class: ["v-chip-group", { "v-chip-group--column": e.column }, l.value, e.class], style: e.style }, { default: () => { + var r; + return [(r = n.default) == null ? void 0 : r.call(n, { isSelected: a, select: i, next: c, prev: s, selected: o.value })]; } })), {}; } }); -const tr = Y({ activeClass: String, appendAvatar: String, appendIcon: ce, closable: Boolean, closeIcon: { type: ce, default: "$delete" }, closeLabel: { type: String, default: "$vuetify.close" }, draggable: Boolean, filter: Boolean, filterIcon: { type: String, default: "$complete" }, label: Boolean, link: { type: Boolean, default: void 0 }, pill: Boolean, prependAvatar: String, prependIcon: ce, ripple: { type: [Boolean, Object], default: !0 }, text: String, modelValue: { type: Boolean, default: !0 }, onClick: je(), onClickOnce: je(), ...Nn(), ...se(), ...He(), ...Gn(), ...ua(), ...Ze(), ...Ht(), ...pt(), ...ze({ tag: "span" }), ...Se(), ...rn({ variant: "tonal" }) }, "VChip"), lr = Q()({ name: "VChip", directives: { Ripple: ft }, props: tr(), emits: { "click:close": (e) => !0, "update:modelValue": (e) => !0, "group:selected": (e) => !0, click: (e) => !0 }, setup(e, t) { +const tr = H({ activeClass: String, appendAvatar: String, appendIcon: ce, closable: Boolean, closeIcon: { type: ce, default: "$delete" }, closeLabel: { type: String, default: "$vuetify.close" }, draggable: Boolean, filter: Boolean, filterIcon: { type: String, default: "$complete" }, label: Boolean, link: { type: Boolean, default: void 0 }, pill: Boolean, prependAvatar: String, prependIcon: ce, ripple: { type: [Boolean, Object], default: !0 }, text: String, modelValue: { type: Boolean, default: !0 }, onClick: je(), onClickOnce: je(), ...Nn(), ...se(), ...Ue(), ...Gn(), ...ua(), ...en(), ...Ut(), ...pt(), ...ze({ tag: "span" }), ...Be(), ...rn({ variant: "tonal" }) }, "VChip"), lr = Q()({ name: "VChip", directives: { Ripple: ft }, props: tr(), emits: { "click:close": (e) => !0, "update:modelValue": (e) => !0, "group:selected": (e) => !0, click: (e) => !0 }, setup(e, t) { let { attrs: n, emit: l, slots: a } = t; - const { t: i } = _l(), { borderClasses: c } = jn(e), { colorClasses: r, colorStyles: o, variantClasses: s } = dt(e), { densityClasses: m } = en(e), { elevationClasses: y } = qn(e), { roundedClasses: f } = Qe(e), { sizeClasses: p } = vt(e), { themeClasses: g } = _e(e), h = me(e, "modelValue"), b = ca(e, Oa, !1), I = qt(e, n), $ = v(() => e.link !== !1 && I.isLink.value), F = v(() => !e.disabled && e.link !== !1 && (!!b || e.link || I.isClickable.value)), H = v(() => ({ "aria-label": i(e.closeLabel), onClick(R) { + const { t: i } = _l(), { borderClasses: c } = jn(e), { colorClasses: s, colorStyles: o, variantClasses: r } = dt(e), { densityClasses: y } = tn(e), { elevationClasses: m } = qn(e), { roundedClasses: f } = nn(e), { sizeClasses: p } = vt(e), { themeClasses: g } = _e(e), h = me(e, "modelValue"), b = ca(e, Oa, !1), B = qt(e, n), V = v(() => e.link !== !1 && B.isLink.value), _ = v(() => !e.disabled && e.link !== !1 && (!!b || e.link || B.isClickable.value)), U = v(() => ({ "aria-label": i(e.closeLabel), onClick(R) { R.stopPropagation(), h.value = !1, l("click:close", R); } })); - function T(R) { - var B; - l("click", R), F.value && ((B = I.navigate) == null || B.call(I, R), b == null || b.toggle()); + function z(R) { + var E; + l("click", R), _.value && ((E = B.navigate) == null || E.call(B, R), b == null || b.toggle()); } - function M(R) { - R.key !== "Enter" && R.key !== " " || (R.preventDefault(), T(R)); + function D(R) { + R.key !== "Enter" && R.key !== " " || (R.preventDefault(), z(R)); } return () => { - const R = I.isLink.value ? "a" : e.tag, B = !(!e.appendIcon && !e.appendAvatar), x = !(!B && !a.append), E = !(!a.close && !e.closable), C = !(!a.filter && !e.filter) && b, V = !(!e.prependIcon && !e.prependAvatar), A = !(!V && !a.prepend), j = !b || b.isSelected.value; - return h.value && we(d(R, { class: ["v-chip", { "v-chip--disabled": e.disabled, "v-chip--label": e.label, "v-chip--link": F.value, "v-chip--filter": C, "v-chip--pill": e.pill }, g.value, c.value, j ? r.value : void 0, m.value, y.value, f.value, p.value, s.value, b == null ? void 0 : b.selectedClass.value, e.class], style: [j ? o.value : void 0, e.style], disabled: e.disabled || void 0, draggable: e.draggable, href: I.href.value, tabindex: F.value ? 0 : void 0, onClick: T, onKeydown: F.value && !$.value && M }, { default: () => { - var G; - return [ct(F.value, "v-chip"), C && d(oa, { key: "filter" }, { default: () => [we(d("div", { class: "v-chip__filter" }, [a.filter ? d(ke, { key: "filter-defaults", disabled: !e.filterIcon, defaults: { VIcon: { icon: e.filterIcon } } }, a.filter) : d(de, { key: "filter-icon", icon: e.filterIcon }, null)]), [[Mn, b.isSelected.value]])] }), A && d("div", { key: "prepend", class: "v-chip__prepend" }, [a.prepend ? d(ke, { key: "prepend-defaults", disabled: !V, defaults: { VAvatar: { image: e.prependAvatar, start: !0 }, VIcon: { icon: e.prependIcon, start: !0 } } }, a.prepend) : d(fe, null, [e.prependIcon && d(de, { key: "prepend-icon", icon: e.prependIcon, start: !0 }, null), e.prependAvatar && d(Ln, { key: "prepend-avatar", image: e.prependAvatar, start: !0 }, null)])]), d("div", { class: "v-chip__content" }, [((G = a.default) == null ? void 0 : G.call(a, { isSelected: b == null ? void 0 : b.isSelected.value, selectedClass: b == null ? void 0 : b.selectedClass.value, select: b == null ? void 0 : b.select, toggle: b == null ? void 0 : b.toggle, value: b == null ? void 0 : b.value.value, disabled: e.disabled })) ?? e.text]), x && d("div", { key: "append", class: "v-chip__append" }, [a.append ? d(ke, { key: "append-defaults", disabled: !B, defaults: { VAvatar: { end: !0, image: e.appendAvatar }, VIcon: { end: !0, icon: e.appendIcon } } }, a.append) : d(fe, null, [e.appendIcon && d(de, { key: "append-icon", end: !0, icon: e.appendIcon }, null), e.appendAvatar && d(Ln, { key: "append-avatar", end: !0, image: e.appendAvatar }, null)])]), E && d("div", Z({ key: "close", class: "v-chip__close" }, H.value), [a.close ? d(ke, { key: "close-defaults", defaults: { VIcon: { icon: e.closeIcon, size: "x-small" } } }, a.close) : d(de, { key: "close-icon", icon: e.closeIcon, size: "x-small" }, null)])]; - } }), [[Je("ripple"), F.value && e.ripple, null]]); + const R = B.isLink.value ? "a" : e.tag, E = !(!e.appendIcon && !e.appendAvatar), S = !(!E && !a.append), O = !(!a.close && !e.closable), C = !(!a.filter && !e.filter) && b, k = !(!e.prependIcon && !e.prependAvatar), A = !(!k && !a.prepend), N = !b || b.isSelected.value; + return h.value && Fe(d(R, { class: ["v-chip", { "v-chip--disabled": e.disabled, "v-chip--label": e.label, "v-chip--link": _.value, "v-chip--filter": C, "v-chip--pill": e.pill }, g.value, c.value, N ? s.value : void 0, y.value, m.value, f.value, p.value, r.value, b == null ? void 0 : b.selectedClass.value, e.class], style: [N ? o.value : void 0, e.style], disabled: e.disabled || void 0, draggable: e.draggable, href: B.href.value, tabindex: _.value ? 0 : void 0, onClick: z, onKeydown: _.value && !V.value && D }, { default: () => { + var q; + return [ct(_.value, "v-chip"), C && d(oa, { key: "filter" }, { default: () => [Fe(d("div", { class: "v-chip__filter" }, [a.filter ? d(we, { key: "filter-defaults", disabled: !e.filterIcon, defaults: { VIcon: { icon: e.filterIcon } } }, a.filter) : d(de, { key: "filter-icon", icon: e.filterIcon }, null)]), [[Wn, b.isSelected.value]])] }), A && d("div", { key: "prepend", class: "v-chip__prepend" }, [a.prepend ? d(we, { key: "prepend-defaults", disabled: !k, defaults: { VAvatar: { image: e.prependAvatar, start: !0 }, VIcon: { icon: e.prependIcon, start: !0 } } }, a.prepend) : d(fe, null, [e.prependIcon && d(de, { key: "prepend-icon", icon: e.prependIcon, start: !0 }, null), e.prependAvatar && d(Ln, { key: "prepend-avatar", image: e.prependAvatar, start: !0 }, null)])]), d("div", { class: "v-chip__content" }, [((q = a.default) == null ? void 0 : q.call(a, { isSelected: b == null ? void 0 : b.isSelected.value, selectedClass: b == null ? void 0 : b.selectedClass.value, select: b == null ? void 0 : b.select, toggle: b == null ? void 0 : b.toggle, value: b == null ? void 0 : b.value.value, disabled: e.disabled })) ?? e.text]), S && d("div", { key: "append", class: "v-chip__append" }, [a.append ? d(we, { key: "append-defaults", disabled: !E, defaults: { VAvatar: { end: !0, image: e.appendAvatar }, VIcon: { end: !0, icon: e.appendIcon } } }, a.append) : d(fe, null, [e.appendIcon && d(de, { key: "append-icon", end: !0, icon: e.appendIcon }, null), e.appendAvatar && d(Ln, { key: "append-avatar", end: !0, image: e.appendAvatar }, null)])]), O && d("div", Z({ key: "close", class: "v-chip__close" }, U.value), [a.close ? d(we, { key: "close-defaults", defaults: { VIcon: { icon: e.closeIcon, size: "x-small" } } }, a.close) : d(de, { key: "close-icon", icon: e.closeIcon, size: "x-small" }, null)])]; + } }), [[Qe("ripple"), _.value && e.ripple, null]]); }; } }), dl = Symbol.for("vuetify:list"); function Pa() { @@ -1544,10 +1549,10 @@ const or = { open: (e) => { } }, pl = (e) => { const t = { select: (n) => { let { id: l, value: a, selected: i } = n; - if (l = tn(l), e && !a) { - const c = Array.from(i.entries()).reduce((r, o) => { - let [s, m] = o; - return m === "on" ? [...r, s] : r; + if (l = on(l), e && !a) { + const c = Array.from(i.entries()).reduce((s, o) => { + let [r, y] = o; + return y === "on" ? [...s, r] : s; }, []); if (c.length === 1 && c[0] === l) return i; @@ -1569,33 +1574,33 @@ const or = { open: (e) => { const t = pl(e); return { select: (n) => { let { selected: l, id: a, ...i } = n; - a = tn(a); + a = on(a); const c = l.has(a) ? /* @__PURE__ */ new Map([[a, l.get(a)]]) : /* @__PURE__ */ new Map(); return t.select({ ...i, id: a, selected: c }); }, in: (n, l, a) => { let i = /* @__PURE__ */ new Map(); return n != null && n.length && (i = t.in(n.slice(0, 1), l, a)), i; }, out: (n, l, a) => t.out(n, l, a) }; -}, tt = Symbol.for("vuetify:nested"), Ta = { id: re(), root: { register: () => null, unregister: () => null, parents: N(/* @__PURE__ */ new Map()), children: N(/* @__PURE__ */ new Map()), open: () => null, openOnSelect: () => null, select: () => null, opened: N(/* @__PURE__ */ new Set()), selected: N(/* @__PURE__ */ new Map()), selectedValues: N([]) } }, ir = Y({ selectStrategy: [String, Function], openStrategy: [String, Object], opened: Array, selected: Array, mandatory: Boolean }, "nested"), rr = (e) => { +}, tt = Symbol.for("vuetify:nested"), Ta = { id: re(), root: { register: () => null, unregister: () => null, parents: M(/* @__PURE__ */ new Map()), children: M(/* @__PURE__ */ new Map()), open: () => null, openOnSelect: () => null, select: () => null, opened: M(/* @__PURE__ */ new Set()), selected: M(/* @__PURE__ */ new Map()), selectedValues: M([]) } }, ir = H({ selectStrategy: [String, Function], openStrategy: [String, Object], opened: Array, selected: Array, mandatory: Boolean }, "nested"), rr = (e) => { let t = !1; - const n = N(/* @__PURE__ */ new Map()), l = N(/* @__PURE__ */ new Map()), a = me(e, "opened", e.opened, (y) => new Set(y), (y) => [...y.values()]), i = v(() => { + const n = M(/* @__PURE__ */ new Map()), l = M(/* @__PURE__ */ new Map()), a = me(e, "opened", e.opened, (m) => new Set(m), (m) => [...m.values()]), i = v(() => { if (typeof e.selectStrategy == "object") return e.selectStrategy; switch (e.selectStrategy) { case "single-leaf": - return ((y) => { - const f = Io(y); + return ((m) => { + const f = Io(m); return { select: (p) => { - let { id: g, selected: h, children: b, ...I } = p; - return g = tn(g), b.has(g) ? h : f.select({ id: g, selected: h, children: b, ...I }); + let { id: g, selected: h, children: b, ...B } = p; + return g = on(g), b.has(g) ? h : f.select({ id: g, selected: h, children: b, ...B }); }, in: f.in, out: f.out }; })(e.mandatory); case "leaf": - return ((y) => { - const f = pl(y); + return ((m) => { + const f = pl(m); return { select: (p) => { - let { id: g, selected: h, children: b, ...I } = p; - return g = tn(g), b.has(g) ? h : f.select({ id: g, selected: h, children: b, ...I }); + let { id: g, selected: h, children: b, ...B } = p; + return g = on(g), b.has(g) ? h : f.select({ id: g, selected: h, children: b, ...B }); }, in: f.in, out: f.out }; })(e.mandatory); case "independent": @@ -1603,33 +1608,33 @@ const or = { open: (e) => { case "single-independent": return Io(e.mandatory); default: - return ((y) => { + return ((m) => { const f = { select: (p) => { - let { id: g, value: h, selected: b, children: I, parents: $ } = p; - g = tn(g); - const F = new Map(b), H = [g]; - for (; H.length; ) { - const M = H.shift(); - b.set(M, h ? "on" : "off"), I.has(M) && H.push(...I.get(M)); + let { id: g, value: h, selected: b, children: B, parents: V } = p; + g = on(g); + const _ = new Map(b), U = [g]; + for (; U.length; ) { + const D = U.shift(); + b.set(D, h ? "on" : "off"), B.has(D) && U.push(...B.get(D)); } - let T = $.get(g); - for (; T; ) { - const M = I.get(T), R = M.every((x) => b.get(x) === "on"), B = M.every((x) => !b.has(x) || b.get(x) === "off"); - b.set(T, R ? "on" : B ? "off" : "indeterminate"), T = $.get(T); + let z = V.get(g); + for (; z; ) { + const D = B.get(z), R = D.every((S) => b.get(S) === "on"), E = D.every((S) => !b.has(S) || b.get(S) === "off"); + b.set(z, R ? "on" : E ? "off" : "indeterminate"), z = V.get(z); } - return y && !h && Array.from(b.entries()).reduce((R, B) => { - let [x, E] = B; - return E === "on" ? [...R, x] : R; - }, []).length === 0 ? F : b; + return m && !h && Array.from(b.entries()).reduce((R, E) => { + let [S, O] = E; + return O === "on" ? [...R, S] : R; + }, []).length === 0 ? _ : b; }, in: (p, g, h) => { let b = /* @__PURE__ */ new Map(); - for (const I of p || []) - b = f.select({ id: I, value: !0, selected: new Map(b), children: g, parents: h }); + for (const B of p || []) + b = f.select({ id: B, value: !0, selected: new Map(b), children: g, parents: h }); return b; }, out: (p, g) => { const h = []; - for (const [b, I] of p.entries()) - I !== "on" || g.has(b) || h.push(b); + for (const [b, B] of p.entries()) + B !== "on" || g.has(b) || h.push(b); return h; } }; return f; @@ -1646,50 +1651,50 @@ const or = { open: (e) => { default: return Ea; } - }), r = me(e, "selected", e.selected, (y) => i.value.in(y, n.value, l.value), (y) => i.value.out(y, n.value, l.value)); - function o(y) { + }), s = me(e, "selected", e.selected, (m) => i.value.in(m, n.value, l.value), (m) => i.value.out(m, n.value, l.value)); + function o(m) { const f = []; - let p = y; + let p = m; for (; p != null; ) f.unshift(p), p = l.value.get(p); return f; } - an(() => { + Ze(() => { t = !0; }); - const s = Fe("nested"), m = { id: re(), root: { opened: a, selected: r, selectedValues: v(() => { - const y = []; - for (const [f, p] of r.value.entries()) - p === "on" && y.push(f); - return y; - }), register: (y, f, p) => { - f && y !== f && l.value.set(y, f), p && n.value.set(y, []), f != null && n.value.set(f, [...n.value.get(f) || [], y]); - }, unregister: (y) => { + const r = Se("nested"), y = { id: re(), root: { opened: a, selected: s, selectedValues: v(() => { + const m = []; + for (const [f, p] of s.value.entries()) + p === "on" && m.push(f); + return m; + }), register: (m, f, p) => { + f && m !== f && l.value.set(m, f), p && n.value.set(m, []), f != null && n.value.set(f, [...n.value.get(f) || [], m]); + }, unregister: (m) => { if (t) return; - n.value.delete(y); - const f = l.value.get(y); + n.value.delete(m); + const f = l.value.get(m); if (f) { const p = n.value.get(f) ?? []; - n.value.set(f, p.filter((g) => g !== y)); + n.value.set(f, p.filter((g) => g !== m)); } - l.value.delete(y), a.value.delete(y); - }, open: (y, f, p) => { - s.emit("click:open", { id: y, value: f, path: o(y), event: p }); - const g = c.value.open({ id: y, value: f, opened: new Set(a.value), children: n.value, parents: l.value, event: p }); + l.value.delete(m), a.value.delete(m); + }, open: (m, f, p) => { + r.emit("click:open", { id: m, value: f, path: o(m), event: p }); + const g = c.value.open({ id: m, value: f, opened: new Set(a.value), children: n.value, parents: l.value, event: p }); g && (a.value = g); - }, openOnSelect: (y, f, p) => { - const g = c.value.select({ id: y, value: f, selected: new Map(r.value), opened: new Set(a.value), children: n.value, parents: l.value, event: p }); + }, openOnSelect: (m, f, p) => { + const g = c.value.select({ id: m, value: f, selected: new Map(s.value), opened: new Set(a.value), children: n.value, parents: l.value, event: p }); g && (a.value = g); - }, select: (y, f, p) => { - s.emit("click:select", { id: y, value: f, path: o(y), event: p }); - const g = i.value.select({ id: y, value: f, selected: new Map(r.value), children: n.value, parents: l.value, event: p }); - g && (r.value = g), m.root.openOnSelect(y, f, p); + }, select: (m, f, p) => { + r.emit("click:select", { id: m, value: f, path: o(m), event: p }); + const g = i.value.select({ id: m, value: f, selected: new Map(s.value), children: n.value, parents: l.value, event: p }); + g && (s.value = g), y.root.openOnSelect(m, f, p); }, children: n, parents: l } }; - return De(tt, m), m.root; + return De(tt, y), y.root; }, za = (e, t) => { - const n = ve(tt, Ta), l = Symbol(We()), a = v(() => e.value !== void 0 ? e.value : l), i = { ...n, id: a, open: (c, r) => n.root.open(a.value, c, r), openOnSelect: (c, r) => n.root.openOnSelect(a.value, c, r), isOpen: v(() => n.root.opened.value.has(a.value)), parent: v(() => n.root.parents.value.get(a.value)), select: (c, r) => n.root.select(a.value, c, r), isSelected: v(() => n.root.selected.value.get(tn(a.value)) === "on"), isIndeterminate: v(() => n.root.selected.value.get(a.value) === "indeterminate"), isLeaf: v(() => !n.root.children.value.get(a.value)), isGroupActivator: n.isGroupActivator }; - return !n.isGroupActivator && n.root.register(a.value, n.id.value, t), an(() => { + const n = ve(tt, Ta), l = Symbol(Me()), a = v(() => e.value !== void 0 ? e.value : l), i = { ...n, id: a, open: (c, s) => n.root.open(a.value, c, s), openOnSelect: (c, s) => n.root.openOnSelect(a.value, c, s), isOpen: v(() => n.root.opened.value.has(a.value)), parent: v(() => n.root.parents.value.get(a.value)), select: (c, s) => n.root.select(a.value, c, s), isSelected: v(() => n.root.selected.value.get(on(a.value)) === "on"), isIndeterminate: v(() => n.root.selected.value.get(a.value) === "indeterminate"), isLeaf: v(() => !n.root.children.value.get(a.value)), isGroupActivator: n.isGroupActivator }; + return !n.isGroupActivator && n.root.register(a.value, n.id.value, t), Ze(() => { !n.isGroupActivator && n.root.unregister(a.value); }), t && De(tt, i), i; }, sr = Qn({ name: "VListGroupActivator", setup(e, t) { @@ -1701,178 +1706,178 @@ const or = { open: (e) => { var l; return (l = n.default) == null ? void 0 : l.call(n); }; -} }), ur = Y({ activeColor: String, baseColor: String, color: String, collapseIcon: { type: ce, default: "$collapse" }, expandIcon: { type: ce, default: "$expand" }, prependIcon: ce, appendIcon: ce, fluid: Boolean, subgroup: Boolean, title: String, value: null, ...se(), ...ze() }, "VListGroup"), So = Q()({ name: "VListGroup", props: ur(), setup(e, t) { +} }), ur = H({ activeColor: String, baseColor: String, color: String, collapseIcon: { type: ce, default: "$collapse" }, expandIcon: { type: ce, default: "$expand" }, prependIcon: ce, appendIcon: ce, fluid: Boolean, subgroup: Boolean, title: String, value: null, ...se(), ...ze() }, "VListGroup"), So = Q()({ name: "VListGroup", props: ur(), setup(e, t) { let { slots: n } = t; - const { isOpen: l, open: a, id: i } = za(ne(e, "value"), !0), c = v(() => `v-list-group--id-${String(i.value)}`), r = $a(), { isBooted: o } = function() { + const { isOpen: l, open: a, id: i } = za(ne(e, "value"), !0), c = v(() => `v-list-group--id-${String(i.value)}`), s = $a(), { isBooted: o } = function() { const p = re(!1); - return Wn(() => { + return Mn(() => { window.requestAnimationFrame(() => { p.value = !0; }); }), { ssrBootStyles: v(() => p.value ? void 0 : { transition: "none !important" }), isBooted: bl(p) }; }(); - function s(p) { + function r(p) { a(!l.value, p); } - const m = v(() => ({ onClick: s, class: "v-list-group__header", id: c.value })), y = v(() => l.value ? e.collapseIcon : e.expandIcon), f = v(() => ({ VListItem: { active: l.value, activeColor: e.activeColor, baseColor: e.baseColor, color: e.color, prependIcon: e.prependIcon || e.subgroup && y.value, appendIcon: e.appendIcon || !e.subgroup && y.value, title: e.title, value: e.value } })); - return oe(() => d(e.tag, { class: ["v-list-group", { "v-list-group--prepend": r == null ? void 0 : r.hasPrepend.value, "v-list-group--fluid": e.fluid, "v-list-group--subgroup": e.subgroup, "v-list-group--open": l.value }, e.class], style: e.style }, { default: () => [n.activator && d(ke, { defaults: f.value }, { default: () => [d(sr, null, { default: () => [n.activator({ props: m.value, isOpen: l.value })] })] }), d(nn, { transition: { component: _i }, disabled: !o.value }, { default: () => { + const y = v(() => ({ onClick: r, class: "v-list-group__header", id: c.value })), m = v(() => l.value ? e.collapseIcon : e.expandIcon), f = v(() => ({ VListItem: { active: l.value, activeColor: e.activeColor, baseColor: e.baseColor, color: e.color, prependIcon: e.prependIcon || e.subgroup && m.value, appendIcon: e.appendIcon || !e.subgroup && m.value, title: e.title, value: e.value } })); + return ae(() => d(e.tag, { class: ["v-list-group", { "v-list-group--prepend": s == null ? void 0 : s.hasPrepend.value, "v-list-group--fluid": e.fluid, "v-list-group--subgroup": e.subgroup, "v-list-group--open": l.value }, e.class], style: e.style }, { default: () => [n.activator && d(we, { defaults: f.value }, { default: () => [d(sr, null, { default: () => [n.activator({ props: y.value, isOpen: l.value })] })] }), d(ln, { transition: { component: _i }, disabled: !o.value }, { default: () => { var p; - return [we(d("div", { class: "v-list-group__items", role: "group", "aria-labelledby": c.value }, [(p = n.default) == null ? void 0 : p.call(n)]), [[Mn, l.value]])]; + return [Fe(d("div", { class: "v-list-group__items", role: "group", "aria-labelledby": c.value }, [(p = n.default) == null ? void 0 : p.call(n)]), [[Wn, l.value]])]; } })] })), {}; -} }), cr = rt("v-list-item-subtitle"), dr = rt("v-list-item-title"), pr = Y({ active: { type: Boolean, default: void 0 }, activeClass: String, activeColor: String, appendAvatar: String, appendIcon: ce, baseColor: String, disabled: Boolean, lines: String, link: { type: Boolean, default: void 0 }, nav: Boolean, prependAvatar: String, prependIcon: ce, ripple: { type: [Boolean, Object], default: !0 }, slim: Boolean, subtitle: [String, Number, Boolean], title: [String, Number, Boolean], value: null, onClick: je(), onClickOnce: je(), ...Nn(), ...se(), ...He(), ...Cn(), ...Gn(), ...Ze(), ...Ht(), ...ze(), ...Se(), ...rn({ variant: "text" }) }, "VListItem"), zt = Q()({ name: "VListItem", directives: { Ripple: ft }, props: pr(), emits: { click: (e) => !0 }, setup(e, t) { +} }), cr = rt("v-list-item-subtitle"), dr = rt("v-list-item-title"), pr = H({ active: { type: Boolean, default: void 0 }, activeClass: String, activeColor: String, appendAvatar: String, appendIcon: ce, baseColor: String, disabled: Boolean, lines: String, link: { type: Boolean, default: void 0 }, nav: Boolean, prependAvatar: String, prependIcon: ce, ripple: { type: [Boolean, Object], default: !0 }, slim: Boolean, subtitle: [String, Number, Boolean], title: [String, Number, Boolean], value: null, onClick: je(), onClickOnce: je(), ...Nn(), ...se(), ...Ue(), ...Cn(), ...Gn(), ...en(), ...Ut(), ...ze(), ...Be(), ...rn({ variant: "text" }) }, "VListItem"), zt = Q()({ name: "VListItem", directives: { Ripple: ft }, props: pr(), emits: { click: (e) => !0 }, setup(e, t) { let { attrs: n, slots: l, emit: a } = t; - const i = qt(e, n), c = v(() => e.value === void 0 ? i.href.value : e.value), { select: r, isSelected: o, isIndeterminate: s, isGroupActivator: m, root: y, parent: f, openOnSelect: p } = za(c, !1), g = $a(), h = v(() => { - var _; - return e.active !== !1 && (e.active || ((_ = i.isActive) == null ? void 0 : _.value) || o.value); - }), b = v(() => e.link !== !1 && i.isLink.value), I = v(() => !e.disabled && e.link !== !1 && (e.link || i.isClickable.value || e.value != null && !!g)), $ = v(() => e.rounded || e.nav), F = v(() => e.color ?? e.activeColor), H = v(() => ({ color: h.value ? F.value ?? e.baseColor : e.baseColor, variant: e.variant })); + const i = qt(e, n), c = v(() => e.value === void 0 ? i.href.value : e.value), { select: s, isSelected: o, isIndeterminate: r, isGroupActivator: y, root: m, parent: f, openOnSelect: p } = za(c, !1), g = $a(), h = v(() => { + var $; + return e.active !== !1 && (e.active || (($ = i.isActive) == null ? void 0 : $.value) || o.value); + }), b = v(() => e.link !== !1 && i.isLink.value), B = v(() => !e.disabled && e.link !== !1 && (e.link || i.isClickable.value || e.value != null && !!g)), V = v(() => e.rounded || e.nav), _ = v(() => e.color ?? e.activeColor), U = v(() => ({ color: h.value ? _.value ?? e.baseColor : e.baseColor, variant: e.variant })); K(() => { - var _; - return (_ = i.isActive) == null ? void 0 : _.value; - }, (_) => { - _ && f.value != null && y.open(f.value, !0), _ && p(_); + var $; + return ($ = i.isActive) == null ? void 0 : $.value; + }, ($) => { + $ && f.value != null && m.open(f.value, !0), $ && p($); }, { immediate: !0 }); - const { themeClasses: T } = _e(e), { borderClasses: M } = jn(e), { colorClasses: R, colorStyles: B, variantClasses: x } = dt(H), { densityClasses: E } = en(e), { dimensionStyles: C } = In(e), { elevationClasses: V } = qn(e), { roundedClasses: A } = Qe($), j = v(() => e.lines ? `v-list-item--${e.lines}-line` : void 0), G = v(() => ({ isActive: h.value, select: r, isSelected: o.value, isIndeterminate: s.value })); - function k(_) { - var D; - a("click", _), !m && I.value && ((D = i.navigate) == null || D.call(i, _), e.value != null && r(!o.value, _)); - } - function w(_) { - _.key !== "Enter" && _.key !== " " || (_.preventDefault(), k(_)); - } - return oe(() => { - const _ = b.value ? "a" : e.tag, D = l.title || e.title, W = l.subtitle || e.subtitle, O = !(!e.appendAvatar && !e.appendIcon), L = !(!O && !l.append), U = !(!e.prependAvatar && !e.prependIcon), S = !(!U && !l.prepend); - var P, z; - return g == null || g.updateHasPrepend(S), e.activeColor && (P = "active-color", z = ["color", "base-color"], z = Array.isArray(z) ? z.slice(0, -1).map((q) => `'${q}'`).join(", ") + ` or '${z.at(-1)}'` : `'${z}'`, Rt(`[Vuetify UPGRADE] '${P}' is deprecated, use ${z} instead.`)), we(d(_, { class: ["v-list-item", { "v-list-item--active": h.value, "v-list-item--disabled": e.disabled, "v-list-item--link": I.value, "v-list-item--nav": e.nav, "v-list-item--prepend": !S && (g == null ? void 0 : g.hasPrepend.value), "v-list-item--slim": e.slim, [`${e.activeClass}`]: e.activeClass && h.value }, T.value, M.value, R.value, E.value, V.value, j.value, A.value, x.value, e.class], style: [B.value, C.value, e.style], href: i.href.value, tabindex: I.value ? g ? -2 : 0 : void 0, onClick: k, onKeydown: I.value && !b.value && w }, { default: () => { - var q; - return [ct(I.value || h.value, "v-list-item"), S && d("div", { key: "prepend", class: "v-list-item__prepend" }, [l.prepend ? d(ke, { key: "prepend-defaults", disabled: !U, defaults: { VAvatar: { density: e.density, image: e.prependAvatar }, VIcon: { density: e.density, icon: e.prependIcon }, VListItemAction: { start: !0 } } }, { default: () => { + const { themeClasses: z } = _e(e), { borderClasses: D } = jn(e), { colorClasses: R, colorStyles: E, variantClasses: S } = dt(U), { densityClasses: O } = tn(e), { dimensionStyles: C } = In(e), { elevationClasses: k } = qn(e), { roundedClasses: A } = nn(V), N = v(() => e.lines ? `v-list-item--${e.lines}-line` : void 0), q = v(() => ({ isActive: h.value, select: s, isSelected: o.value, isIndeterminate: r.value })); + function I($) { + var W; + a("click", $), !y && B.value && ((W = i.navigate) == null || W.call(i, $), e.value != null && s(!o.value, $)); + } + function P($) { + $.key !== "Enter" && $.key !== " " || ($.preventDefault(), I($)); + } + return ae(() => { + const $ = b.value ? "a" : e.tag, W = l.title || e.title, j = l.subtitle || e.subtitle, F = !(!e.appendAvatar && !e.appendIcon), L = !(!F && !l.append), Y = !(!e.prependAvatar && !e.prependIcon), x = !(!Y && !l.prepend); + var w, T; + return g == null || g.updateHasPrepend(x), e.activeColor && (w = "active-color", T = ["color", "base-color"], T = Array.isArray(T) ? T.slice(0, -1).map((G) => `'${G}'`).join(", ") + ` or '${T.at(-1)}'` : `'${T}'`, Rt(`[Vuetify UPGRADE] '${w}' is deprecated, use ${T} instead.`)), Fe(d($, { class: ["v-list-item", { "v-list-item--active": h.value, "v-list-item--disabled": e.disabled, "v-list-item--link": B.value, "v-list-item--nav": e.nav, "v-list-item--prepend": !x && (g == null ? void 0 : g.hasPrepend.value), "v-list-item--slim": e.slim, [`${e.activeClass}`]: e.activeClass && h.value }, z.value, D.value, R.value, O.value, k.value, N.value, A.value, S.value, e.class], style: [E.value, C.value, e.style], href: i.href.value, tabindex: B.value ? g ? -2 : 0 : void 0, onClick: I, onKeydown: B.value && !b.value && P }, { default: () => { + var G; + return [ct(B.value || h.value, "v-list-item"), x && d("div", { key: "prepend", class: "v-list-item__prepend" }, [l.prepend ? d(we, { key: "prepend-defaults", disabled: !Y, defaults: { VAvatar: { density: e.density, image: e.prependAvatar }, VIcon: { density: e.density, icon: e.prependIcon }, VListItemAction: { start: !0 } } }, { default: () => { var X; - return [(X = l.prepend) == null ? void 0 : X.call(l, G.value)]; - } }) : d(fe, null, [e.prependAvatar && d(Ln, { key: "prepend-avatar", density: e.density, image: e.prependAvatar }, null), e.prependIcon && d(de, { key: "prepend-icon", density: e.density, icon: e.prependIcon }, null)]), d("div", { class: "v-list-item__spacer" }, null)]), d("div", { class: "v-list-item__content", "data-no-activator": "" }, [D && d(dr, { key: "title" }, { default: () => { + return [(X = l.prepend) == null ? void 0 : X.call(l, q.value)]; + } }) : d(fe, null, [e.prependAvatar && d(Ln, { key: "prepend-avatar", density: e.density, image: e.prependAvatar }, null), e.prependIcon && d(de, { key: "prepend-icon", density: e.density, icon: e.prependIcon }, null)]), d("div", { class: "v-list-item__spacer" }, null)]), d("div", { class: "v-list-item__content", "data-no-activator": "" }, [W && d(dr, { key: "title" }, { default: () => { var X; return [((X = l.title) == null ? void 0 : X.call(l, { title: e.title })) ?? e.title]; - } }), W && d(cr, { key: "subtitle" }, { default: () => { + } }), j && d(cr, { key: "subtitle" }, { default: () => { var X; return [((X = l.subtitle) == null ? void 0 : X.call(l, { subtitle: e.subtitle })) ?? e.subtitle]; - } }), (q = l.default) == null ? void 0 : q.call(l, G.value)]), L && d("div", { key: "append", class: "v-list-item__append" }, [l.append ? d(ke, { key: "append-defaults", disabled: !O, defaults: { VAvatar: { density: e.density, image: e.appendAvatar }, VIcon: { density: e.density, icon: e.appendIcon }, VListItemAction: { end: !0 } } }, { default: () => { + } }), (G = l.default) == null ? void 0 : G.call(l, q.value)]), L && d("div", { key: "append", class: "v-list-item__append" }, [l.append ? d(we, { key: "append-defaults", disabled: !F, defaults: { VAvatar: { density: e.density, image: e.appendAvatar }, VIcon: { density: e.density, icon: e.appendIcon }, VListItemAction: { end: !0 } } }, { default: () => { var X; - return [(X = l.append) == null ? void 0 : X.call(l, G.value)]; + return [(X = l.append) == null ? void 0 : X.call(l, q.value)]; } }) : d(fe, null, [e.appendIcon && d(de, { key: "append-icon", density: e.density, icon: e.appendIcon }, null), e.appendAvatar && d(Ln, { key: "append-avatar", density: e.density, image: e.appendAvatar }, null)]), d("div", { class: "v-list-item__spacer" }, null)])]; - } }), [[Je("ripple"), I.value && e.ripple]]); + } }), [[Qe("ripple"), B.value && e.ripple]]); }), {}; -} }), vr = Y({ color: String, inset: Boolean, sticky: Boolean, title: String, ...se(), ...ze() }, "VListSubheader"), fr = Q()({ name: "VListSubheader", props: vr(), setup(e, t) { +} }), vr = H({ color: String, inset: Boolean, sticky: Boolean, title: String, ...se(), ...ze() }, "VListSubheader"), fr = Q()({ name: "VListSubheader", props: vr(), setup(e, t) { let { slots: n } = t; - const { textColorClasses: l, textColorStyles: a } = Ke(ne(e, "color")); - return oe(() => { + const { textColorClasses: l, textColorStyles: a } = Je(ne(e, "color")); + return ae(() => { const i = !(!n.default && !e.title); return d(e.tag, { class: ["v-list-subheader", { "v-list-subheader--inset": e.inset, "v-list-subheader--sticky": e.sticky }, l.value, e.class], style: [{ textColorStyles: a }, e.style] }, { default: () => { var c; return [i && d("div", { class: "v-list-subheader__text" }, [((c = n.default) == null ? void 0 : c.call(n)) ?? e.title])]; } }); }), {}; -} }), yr = Y({ color: String, inset: Boolean, length: [Number, String], thickness: [Number, String], vertical: Boolean, ...se(), ...Se() }, "VDivider"), mr = Q()({ name: "VDivider", props: yr(), setup(e, t) { +} }), yr = H({ color: String, inset: Boolean, length: [Number, String], thickness: [Number, String], vertical: Boolean, ...se(), ...Be() }, "VDivider"), mr = Q()({ name: "VDivider", props: yr(), setup(e, t) { let { attrs: n } = t; - const { themeClasses: l } = _e(e), { textColorClasses: a, textColorStyles: i } = Ke(ne(e, "color")), c = v(() => { - const r = {}; - return e.length && (r[e.vertical ? "maxHeight" : "maxWidth"] = te(e.length)), e.thickness && (r[e.vertical ? "borderRightWidth" : "borderTopWidth"] = te(e.thickness)), r; + const { themeClasses: l } = _e(e), { textColorClasses: a, textColorStyles: i } = Je(ne(e, "color")), c = v(() => { + const s = {}; + return e.length && (s[e.vertical ? "maxHeight" : "maxWidth"] = te(e.length)), e.thickness && (s[e.vertical ? "borderRightWidth" : "borderTopWidth"] = te(e.thickness)), s; }); - return oe(() => d("hr", { class: [{ "v-divider": !0, "v-divider--inset": e.inset, "v-divider--vertical": e.vertical }, l.value, a.value, e.class], style: [c.value, i.value, e.style], "aria-orientation": n.role && n.role !== "separator" ? void 0 : e.vertical ? "vertical" : "horizontal", role: `${n.role || "separator"}` }, null)), {}; -} }), gr = Y({ items: Array, returnObject: Boolean }, "VListChildren"), Da = Q()({ name: "VListChildren", props: gr(), setup(e, t) { + return ae(() => d("hr", { class: [{ "v-divider": !0, "v-divider--inset": e.inset, "v-divider--vertical": e.vertical }, l.value, a.value, e.class], style: [c.value, i.value, e.style], "aria-orientation": n.role && n.role !== "separator" ? void 0 : e.vertical ? "vertical" : "horizontal", role: `${n.role || "separator"}` }, null)), {}; +} }), gr = H({ items: Array, returnObject: Boolean }, "VListChildren"), Da = Q()({ name: "VListChildren", props: gr(), setup(e, t) { let { slots: n } = t; return Pa(), () => { var l, a; return ((l = n.default) == null ? void 0 : l.call(n)) ?? ((a = e.items) == null ? void 0 : a.map((i) => { var f, p; - let { children: c, props: r, type: o, raw: s } = i; + let { children: c, props: s, type: o, raw: r } = i; if (o === "divider") - return ((f = n.divider) == null ? void 0 : f.call(n, { props: r })) ?? d(mr, r, null); + return ((f = n.divider) == null ? void 0 : f.call(n, { props: s })) ?? d(mr, s, null); if (o === "subheader") - return ((p = n.subheader) == null ? void 0 : p.call(n, { props: r })) ?? d(fr, r, null); - const m = { subtitle: n.subtitle ? (g) => { + return ((p = n.subheader) == null ? void 0 : p.call(n, { props: s })) ?? d(fr, s, null); + const y = { subtitle: n.subtitle ? (g) => { var h; - return (h = n.subtitle) == null ? void 0 : h.call(n, { ...g, item: s }); + return (h = n.subtitle) == null ? void 0 : h.call(n, { ...g, item: r }); } : void 0, prepend: n.prepend ? (g) => { var h; - return (h = n.prepend) == null ? void 0 : h.call(n, { ...g, item: s }); + return (h = n.prepend) == null ? void 0 : h.call(n, { ...g, item: r }); } : void 0, append: n.append ? (g) => { var h; - return (h = n.append) == null ? void 0 : h.call(n, { ...g, item: s }); + return (h = n.append) == null ? void 0 : h.call(n, { ...g, item: r }); } : void 0, title: n.title ? (g) => { var h; - return (h = n.title) == null ? void 0 : h.call(n, { ...g, item: s }); - } : void 0 }, y = So.filterProps(r); - return c ? d(So, Z({ value: r == null ? void 0 : r.value }, y), { activator: (g) => { + return (h = n.title) == null ? void 0 : h.call(n, { ...g, item: r }); + } : void 0 }, m = So.filterProps(s); + return c ? d(So, Z({ value: s == null ? void 0 : s.value }, m), { activator: (g) => { let { props: h } = g; - const b = { ...r, ...h, value: e.returnObject ? s : r.value }; - return n.header ? n.header({ props: b }) : d(zt, b, m); - }, default: () => d(Da, { items: c }, n) }) : n.item ? n.item({ props: r }) : d(zt, Z(r, { value: e.returnObject ? s : r.value }), m); + const b = { ...s, ...h, value: e.returnObject ? r : s.value }; + return n.header ? n.header({ props: b }) : d(zt, b, y); + }, default: () => d(Da, { items: c }, n) }) : n.item ? n.item({ props: s }) : d(zt, Z(s, { value: e.returnObject ? r : s.value }), y); })); }; -} }), La = Y({ items: { type: Array, default: () => [] }, itemTitle: { type: [String, Array, Function], default: "title" }, itemValue: { type: [String, Array, Function], default: "value" }, itemChildren: { type: [Boolean, String, Array, Function], default: "children" }, itemProps: { type: [Boolean, String, Array, Function], default: "props" }, returnObject: Boolean, valueComparator: { type: Function, default: at } }, "list-items"); +} }), La = H({ items: { type: Array, default: () => [] }, itemTitle: { type: [String, Array, Function], default: "title" }, itemValue: { type: [String, Array, Function], default: "value" }, itemChildren: { type: [Boolean, String, Array, Function], default: "children" }, itemProps: { type: [Boolean, String, Array, Function], default: "props" }, returnObject: Boolean, valueComparator: { type: Function, default: at } }, "list-items"); function vl(e, t) { const n = Xe(t, e.itemTitle, t), l = Xe(t, e.itemValue, n), a = Xe(t, e.itemChildren), i = { title: n, value: l, ...e.itemProps === !0 ? typeof t != "object" || t == null || Array.isArray(t) ? void 0 : "children" in t ? bn(t, ["children"]) : t : Xe(t, e.itemProps) }; - return { title: String(i.title ?? ""), value: i.value, props: i, children: Array.isArray(a) ? Ma(e, a) : void 0, raw: t }; + return { title: String(i.title ?? ""), value: i.value, props: i, children: Array.isArray(a) ? Wa(e, a) : void 0, raw: t }; } -function Ma(e, t) { +function Wa(e, t) { const n = []; for (const l of t) n.push(vl(e, l)); return n; } function hr(e, t) { - const n = Xe(t, e.itemType, "item"), l = function(r) { - return typeof r == "string" || typeof r == "number" || typeof r == "boolean"; + const n = Xe(t, e.itemType, "item"), l = function(s) { + return typeof s == "string" || typeof s == "number" || typeof s == "boolean"; }(t) ? t : Xe(t, e.itemTitle), a = Xe(t, e.itemValue, void 0), i = Xe(t, e.itemChildren), c = { title: l, value: a, ...e.itemProps === !0 ? bn(t, ["children"]) : Xe(t, e.itemProps) }; - return { type: n, title: c.title, value: c.value, props: c, children: n === "item" && i ? Wa(e, i) : void 0, raw: t }; + return { type: n, title: c.title, value: c.value, props: c, children: n === "item" && i ? Ma(e, i) : void 0, raw: t }; } -function Wa(e, t) { +function Ma(e, t) { const n = []; for (const l of t) n.push(hr(e, l)); return n; } -const br = Y({ baseColor: String, activeColor: String, activeClass: String, bgColor: String, disabled: Boolean, lines: { type: [Boolean, String], default: "one" }, slim: Boolean, nav: Boolean, ...ir({ selectStrategy: "single-leaf", openStrategy: "list" }), ...Nn(), ...se(), ...He(), ...Cn(), ...Gn(), itemType: { type: String, default: "type" }, ...La(), ...Ze(), ...ze(), ...Se(), ...rn({ variant: "text" }) }, "VList"), Cr = Q()({ name: "VList", props: br(), emits: { "update:selected": (e) => !0, "update:opened": (e) => !0, "click:open": (e) => !0, "click:select": (e) => !0 }, setup(e, t) { +const br = H({ baseColor: String, activeColor: String, activeClass: String, bgColor: String, disabled: Boolean, lines: { type: [Boolean, String], default: "one" }, slim: Boolean, nav: Boolean, ...ir({ selectStrategy: "single-leaf", openStrategy: "list" }), ...Nn(), ...se(), ...Ue(), ...Cn(), ...Gn(), itemType: { type: String, default: "type" }, ...La(), ...en(), ...ze(), ...Be(), ...rn({ variant: "text" }) }, "VList"), Cr = Q()({ name: "VList", props: br(), emits: { "update:selected": (e) => !0, "update:opened": (e) => !0, "click:open": (e) => !0, "click:select": (e) => !0 }, setup(e, t) { let { slots: n } = t; - const { items: l } = function(x) { - return { items: v(() => Wa(x, x.items)) }; - }(e), { themeClasses: a } = _e(e), { backgroundColorClasses: i, backgroundColorStyles: c } = Dn(ne(e, "bgColor")), { borderClasses: r } = jn(e), { densityClasses: o } = en(e), { dimensionStyles: s } = In(e), { elevationClasses: m } = qn(e), { roundedClasses: y } = Qe(e), { open: f, select: p } = rr(e), g = v(() => e.lines ? `v-list--${e.lines}-line` : void 0), h = ne(e, "activeColor"), b = ne(e, "baseColor"), I = ne(e, "color"); - Pa(), Rn({ VListGroup: { activeColor: h, baseColor: b, color: I }, VListItem: { activeClass: ne(e, "activeClass"), activeColor: h, baseColor: b, color: I, density: ne(e, "density"), disabled: ne(e, "disabled"), lines: ne(e, "lines"), nav: ne(e, "nav"), slim: ne(e, "slim"), variant: ne(e, "variant") } }); - const $ = re(!1), F = N(); - function H(x) { - $.value = !0; - } - function T(x) { - $.value = !1; - } - function M(x) { - var E; - $.value || x.relatedTarget && ((E = F.value) != null && E.contains(x.relatedTarget)) || B(); - } - function R(x) { - if (F.value) { - if (x.key === "ArrowDown") - B("next"); - else if (x.key === "ArrowUp") - B("prev"); - else if (x.key === "Home") - B("first"); + const { items: l } = function(S) { + return { items: v(() => Ma(S, S.items)) }; + }(e), { themeClasses: a } = _e(e), { backgroundColorClasses: i, backgroundColorStyles: c } = Dn(ne(e, "bgColor")), { borderClasses: s } = jn(e), { densityClasses: o } = tn(e), { dimensionStyles: r } = In(e), { elevationClasses: y } = qn(e), { roundedClasses: m } = nn(e), { open: f, select: p } = rr(e), g = v(() => e.lines ? `v-list--${e.lines}-line` : void 0), h = ne(e, "activeColor"), b = ne(e, "baseColor"), B = ne(e, "color"); + Pa(), Rn({ VListGroup: { activeColor: h, baseColor: b, color: B }, VListItem: { activeClass: ne(e, "activeClass"), activeColor: h, baseColor: b, color: B, density: ne(e, "density"), disabled: ne(e, "disabled"), lines: ne(e, "lines"), nav: ne(e, "nav"), slim: ne(e, "slim"), variant: ne(e, "variant") } }); + const V = re(!1), _ = M(); + function U(S) { + V.value = !0; + } + function z(S) { + V.value = !1; + } + function D(S) { + var O; + V.value || S.relatedTarget && ((O = _.value) != null && O.contains(S.relatedTarget)) || E(); + } + function R(S) { + if (_.value) { + if (S.key === "ArrowDown") + E("next"); + else if (S.key === "ArrowUp") + E("prev"); + else if (S.key === "Home") + E("first"); else { - if (x.key !== "End") + if (S.key !== "End") return; - B("last"); + E("last"); } - x.preventDefault(); + S.preventDefault(); } } - function B(x) { - if (F.value) - return Vt(F.value, x); + function E(S) { + if (_.value) + return Vt(_.value, S); } - return oe(() => d(e.tag, { ref: F, class: ["v-list", { "v-list--disabled": e.disabled, "v-list--nav": e.nav }, a.value, i.value, r.value, o.value, m.value, g.value, y.value, e.class], style: [c.value, s.value, e.style], tabindex: e.disabled || $.value ? -1 : 0, role: "listbox", "aria-activedescendant": void 0, onFocusin: H, onFocusout: T, onFocus: M, onKeydown: R }, { default: () => [d(Da, { items: l.value, returnObject: e.returnObject }, n)] })), { open: f, select: p, focus: B }; + return ae(() => d(e.tag, { ref: _, class: ["v-list", { "v-list--disabled": e.disabled, "v-list--nav": e.nav }, a.value, i.value, s.value, o.value, y.value, g.value, m.value, e.class], style: [c.value, r.value, e.style], tabindex: e.disabled || V.value ? -1 : 0, role: "listbox", "aria-activedescendant": void 0, onFocusin: U, onFocusout: z, onFocus: D, onKeydown: R }, { default: () => [d(Da, { items: l.value, returnObject: e.returnObject }, n)] })), { open: f, select: p, focus: E }; } }); function Qt(e, t) { return { x: e.x + t.x, y: e.y + t.y }; } -function xo(e, t) { +function Bo(e, t) { if (e.side === "top" || e.side === "bottom") { const { side: n, align: l } = e; return Qt({ x: l === "left" ? 0 : l === "center" ? t.width / 2 : l === "right" ? t.width : l, y: n === "top" ? 0 : n === "bottom" ? t.height : n }, t); @@ -1896,10 +1901,10 @@ const Ra = { static: function() { const { preferredAnchor: l, preferredOrigin: a } = kl(() => { const p = il(t.location, e.isRtl.value), g = t.origin === "overlap" ? p : t.origin === "auto" ? Xt(p) : il(t.origin, e.isRtl.value); return p.side === g.side && p.align === Kt(g).align ? { preferredAnchor: Xl(p), preferredOrigin: Xl(g) } : { preferredAnchor: p, preferredOrigin: g }; - }), [i, c, r, o] = ["minWidth", "minHeight", "maxWidth", "maxHeight"].map((p) => v(() => { + }), [i, c, s, o] = ["minWidth", "minHeight", "maxWidth", "maxHeight"].map((p) => v(() => { const g = parseFloat(t[p]); return isNaN(g) ? 1 / 0 : g; - })), s = v(() => { + })), r = v(() => { if (Array.isArray(t.offset)) return t.offset; if (typeof t.offset == "string") { @@ -1908,97 +1913,97 @@ const Ra = { static: function() { } return typeof t.offset == "number" ? [t.offset, 0] : [0, 0]; }); - let m = !1; - const y = new ResizeObserver(() => { - m && f(); + let y = !1; + const m = new ResizeObserver(() => { + y && f(); }); function f() { - if (m = !1, requestAnimationFrame(() => { - requestAnimationFrame(() => m = !0); + if (y = !1, requestAnimationFrame(() => { + requestAnimationFrame(() => y = !0); }), !e.target.value || !e.contentEl.value) return; - const p = Yo(e.target.value), g = function(x, E) { - E ? x.style.removeProperty("left") : x.style.removeProperty("right"); - const C = wl(x); - return E ? C.x += parseFloat(x.style.right || 0) : C.x -= parseFloat(x.style.left || 0), C.y -= parseFloat(x.style.top || 0), C; + const p = Yo(e.target.value), g = function(S, O) { + O ? S.style.removeProperty("left") : S.style.removeProperty("right"); + const C = wl(S); + return O ? C.x += parseFloat(S.style.right || 0) : C.x -= parseFloat(S.style.left || 0), C.y -= parseFloat(S.style.top || 0), C; }(e.contentEl.value, e.isRtl.value), h = Pt(e.contentEl.value); h.length || (h.push(document.documentElement), e.contentEl.value.style.top && e.contentEl.value.style.left || (g.x -= parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-x") || 0), g.y -= parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-y") || 0))); - const b = h.reduce((x, E) => { - const C = E.getBoundingClientRect(), V = new vn({ x: E === document.documentElement ? 0 : C.x, y: E === document.documentElement ? 0 : C.y, width: E.clientWidth, height: E.clientHeight }); - return x ? new vn({ x: Math.max(x.left, V.left), y: Math.max(x.top, V.top), width: Math.min(x.right, V.right) - Math.max(x.left, V.left), height: Math.min(x.bottom, V.bottom) - Math.max(x.top, V.top) }) : V; + const b = h.reduce((S, O) => { + const C = O.getBoundingClientRect(), k = new vn({ x: O === document.documentElement ? 0 : C.x, y: O === document.documentElement ? 0 : C.y, width: O.clientWidth, height: O.clientHeight }); + return S ? new vn({ x: Math.max(S.left, k.left), y: Math.max(S.top, k.top), width: Math.min(S.right, k.right) - Math.max(S.left, k.left), height: Math.min(S.bottom, k.bottom) - Math.max(S.top, k.top) }) : k; }, void 0); b.x += 12, b.y += 12, b.width -= 24, b.height -= 24; - let I = { anchor: l.value, origin: a.value }; - function $(x) { - const E = new vn(g), C = xo(x.anchor, p), V = xo(x.origin, E); - let { x: A, y: j } = (k = V, { x: (G = C).x - k.x, y: G.y - k.y }); - var G, k; - switch (x.anchor.side) { + let B = { anchor: l.value, origin: a.value }; + function V(S) { + const O = new vn(g), C = Bo(S.anchor, p), k = Bo(S.origin, O); + let { x: A, y: N } = (I = k, { x: (q = C).x - I.x, y: q.y - I.y }); + var q, I; + switch (S.anchor.side) { case "top": - j -= s.value[0]; + N -= r.value[0]; break; case "bottom": - j += s.value[0]; + N += r.value[0]; break; case "left": - A -= s.value[0]; + A -= r.value[0]; break; case "right": - A += s.value[0]; + A += r.value[0]; } - switch (x.anchor.align) { + switch (S.anchor.align) { case "top": - j -= s.value[1]; + N -= r.value[1]; break; case "bottom": - j += s.value[1]; + N += r.value[1]; break; case "left": - A -= s.value[1]; + A -= r.value[1]; break; case "right": - A += s.value[1]; + A += r.value[1]; } - return E.x += A, E.y += j, E.width = Math.min(E.width, r.value), E.height = Math.min(E.height, o.value), { overflows: Jl(E, b), x: A, y: j }; + return O.x += A, O.y += N, O.width = Math.min(O.width, s.value), O.height = Math.min(O.height, o.value), { overflows: Jl(O, b), x: A, y: N }; } - let F = 0, H = 0; - const T = { x: 0, y: 0 }, M = { x: !1, y: !1 }; + let _ = 0, U = 0; + const z = { x: 0, y: 0 }, D = { x: !1, y: !1 }; let R = -1; for (; ; ) { if (R++ > 10) { Rt("Vuetify error: Infinite loop detected in connectedLocationStrategy"); break; } - const { x, y: E, overflows: C } = $(I); - F += x, H += E, g.x += x, g.y += E; + const { x: S, y: O, overflows: C } = V(B); + _ += S, U += O, g.x += S, g.y += O; { - const V = Kl(I.anchor), A = C.x.before || C.x.after, j = C.y.before || C.y.after; - let G = !1; - if (["x", "y"].forEach((k) => { - if (k === "x" && A && !M.x || k === "y" && j && !M.y) { - const w = { anchor: { ...I.anchor }, origin: { ...I.origin } }, _ = k === "x" ? V === "y" ? Kt : Xt : V === "y" ? Xt : Kt; - w.anchor = _(w.anchor), w.origin = _(w.origin); - const { overflows: D } = $(w); - (D[k].before <= C[k].before && D[k].after <= C[k].after || D[k].before + D[k].after < (C[k].before + C[k].after) / 2) && (I = w, G = M[k] = !0); + const k = Kl(B.anchor), A = C.x.before || C.x.after, N = C.y.before || C.y.after; + let q = !1; + if (["x", "y"].forEach((I) => { + if (I === "x" && A && !D.x || I === "y" && N && !D.y) { + const P = { anchor: { ...B.anchor }, origin: { ...B.origin } }, $ = I === "x" ? k === "y" ? Kt : Xt : k === "y" ? Xt : Kt; + P.anchor = $(P.anchor), P.origin = $(P.origin); + const { overflows: W } = V(P); + (W[I].before <= C[I].before && W[I].after <= C[I].after || W[I].before + W[I].after < (C[I].before + C[I].after) / 2) && (B = P, q = D[I] = !0); } - }), G) + }), q) continue; } - C.x.before && (F += C.x.before, g.x += C.x.before), C.x.after && (F -= C.x.after, g.x -= C.x.after), C.y.before && (H += C.y.before, g.y += C.y.before), C.y.after && (H -= C.y.after, g.y -= C.y.after); + C.x.before && (_ += C.x.before, g.x += C.x.before), C.x.after && (_ -= C.x.after, g.x -= C.x.after), C.y.before && (U += C.y.before, g.y += C.y.before), C.y.after && (U -= C.y.after, g.y -= C.y.after); { - const V = Jl(g, b); - T.x = b.width - V.x.before - V.x.after, T.y = b.height - V.y.before - V.y.after, F += V.x.before, g.x += V.x.before, H += V.y.before, g.y += V.y.before; + const k = Jl(g, b); + z.x = b.width - k.x.before - k.x.after, z.y = b.height - k.y.before - k.y.after, _ += k.x.before, g.x += k.x.before, U += k.y.before, g.y += k.y.before; } break; } - const B = Kl(I.anchor); - return Object.assign(n.value, { "--v-overlay-anchor-origin": `${I.anchor.side} ${I.anchor.align}`, transformOrigin: `${I.origin.side} ${I.origin.align}`, top: te(el(H)), left: e.isRtl.value ? void 0 : te(el(F)), right: e.isRtl.value ? te(el(-F)) : void 0, minWidth: te(B === "y" ? Math.min(i.value, p.width) : i.value), maxWidth: te(Bo(An(T.x, i.value === 1 / 0 ? 0 : i.value, r.value))), maxHeight: te(Bo(An(T.y, c.value === 1 / 0 ? 0 : c.value, o.value))) }), { available: T, contentBox: g }; + const E = Kl(B.anchor); + return Object.assign(n.value, { "--v-overlay-anchor-origin": `${B.anchor.side} ${B.anchor.align}`, transformOrigin: `${B.origin.side} ${B.origin.align}`, top: te(el(U)), left: e.isRtl.value ? void 0 : te(el(_)), right: e.isRtl.value ? te(el(-_)) : void 0, minWidth: te(E === "y" ? Math.min(i.value, p.width) : i.value), maxWidth: te(xo(An(z.x, i.value === 1 / 0 ? 0 : i.value, s.value))), maxHeight: te(xo(An(z.y, c.value === 1 / 0 ? 0 : c.value, o.value))) }), { available: z, contentBox: g }; } return K([e.target, e.contentEl], (p, g) => { - let [h, b] = p, [I, $] = g; - I && !Array.isArray(I) && y.unobserve(I), h && !Array.isArray(h) && y.observe(h), $ && y.unobserve($), b && y.observe(b); - }, { immediate: !0 }), Be(() => { - y.disconnect(); + let [h, b] = p, [B, V] = g; + B && !Array.isArray(B) && m.unobserve(B), h && !Array.isArray(h) && m.observe(h), V && m.unobserve(V), b && m.observe(b); + }, { immediate: !0 }), ke(() => { + m.disconnect(); }), K(() => [l.value, a.value, t.offset, t.minWidth, t.minHeight, t.maxWidth, t.maxHeight], () => f()), Ie(() => { const p = f(); if (!p) @@ -2010,11 +2015,11 @@ const Ra = { static: function() { }); }); }), { updateLocation: f }; -} }, Ir = Y({ locationStrategy: { type: [String, Function], default: "static", validator: (e) => typeof e == "function" || e in Ra }, location: { type: String, default: "bottom" }, origin: { type: String, default: "auto" }, offset: [Number, String, Array] }, "VOverlay-location-strategies"); +} }, Ir = H({ locationStrategy: { type: [String, Function], default: "static", validator: (e) => typeof e == "function" || e in Ra }, location: { type: String, default: "bottom" }, origin: { type: String, default: "auto" }, offset: [Number, String, Array] }, "VOverlay-location-strategies"); function el(e) { return Math.round(e * devicePixelRatio) / devicePixelRatio; } -function Bo(e) { +function xo(e) { return Math.ceil(e * devicePixelRatio) / devicePixelRatio; } let fl = !0; @@ -2031,185 +2036,185 @@ const kt = { none: null, close: function(e) { e.isActive.value = !1; }); }, block: function(e, t) { - var r; - const n = (r = e.root.value) == null ? void 0 : r.offsetParent, l = [.../* @__PURE__ */ new Set([...Pt(e.targetEl.value, t.contained ? n : void 0), ...Pt(e.contentEl.value, t.contained ? n : void 0)])].filter((o) => !o.classList.contains("v-overlay-scroll-blocked")), a = window.innerWidth - document.documentElement.offsetWidth, i = (c = n || document.documentElement, Vl(c) && c); + var s; + const n = (s = e.root.value) == null ? void 0 : s.offsetParent, l = [.../* @__PURE__ */ new Set([...Pt(e.targetEl.value, t.contained ? n : void 0), ...Pt(e.contentEl.value, t.contained ? n : void 0)])].filter((o) => !o.classList.contains("v-overlay-scroll-blocked")), a = window.innerWidth - document.documentElement.offsetWidth, i = (c = n || document.documentElement, Vl(c) && c); var c; - i && e.root.value.classList.add("v-overlay--scroll-blocked"), l.forEach((o, s) => { + i && e.root.value.classList.add("v-overlay--scroll-blocked"), l.forEach((o, r) => { o.style.setProperty("--v-body-scroll-x", te(-o.scrollLeft)), o.style.setProperty("--v-body-scroll-y", te(-o.scrollTop)), o !== document.documentElement && o.style.setProperty("--v-scrollbar-offset", te(a)), o.classList.add("v-overlay-scroll-blocked"); - }), Be(() => { - l.forEach((o, s) => { - const m = parseFloat(o.style.getPropertyValue("--v-body-scroll-x")), y = parseFloat(o.style.getPropertyValue("--v-body-scroll-y")); - o.style.removeProperty("--v-body-scroll-x"), o.style.removeProperty("--v-body-scroll-y"), o.style.removeProperty("--v-scrollbar-offset"), o.classList.remove("v-overlay-scroll-blocked"), o.scrollLeft = -m, o.scrollTop = -y; + }), ke(() => { + l.forEach((o, r) => { + const y = parseFloat(o.style.getPropertyValue("--v-body-scroll-x")), m = parseFloat(o.style.getPropertyValue("--v-body-scroll-y")); + o.style.removeProperty("--v-body-scroll-x"), o.style.removeProperty("--v-body-scroll-y"), o.style.removeProperty("--v-scrollbar-offset"), o.classList.remove("v-overlay-scroll-blocked"), o.scrollLeft = -y, o.scrollTop = -m; }), i && e.root.value.classList.remove("v-overlay--scroll-blocked"); }); }, reposition: function(e, t, n) { let l = !1, a = -1, i = -1; - function c(r) { + function c(s) { var o; o = () => { - var y, f; - const s = performance.now(); - (f = (y = e.updateLocation).value) == null || f.call(y, r), l = (performance.now() - s) / (1e3 / 60) > 2; + var m, f; + const r = performance.now(); + (f = (m = e.updateLocation).value) == null || f.call(m, s), l = (performance.now() - r) / (1e3 / 60) > 2; }, !fl || Dt.length ? (Dt.push(o), yl()) : (fl = !1, o(), yl()); } - i = (typeof requestIdleCallback > "u" ? (r) => r() : requestIdleCallback)(() => { + i = (typeof requestIdleCallback > "u" ? (s) => s() : requestIdleCallback)(() => { n.run(() => { - wo(e.targetEl.value ?? e.contentEl.value, (r) => { + wo(e.targetEl.value ?? e.contentEl.value, (s) => { l ? (cancelAnimationFrame(a), a = requestAnimationFrame(() => { a = requestAnimationFrame(() => { - c(r); + c(s); }); - })) : c(r); + })) : c(s); }); }); - }), Be(() => { + }), ke(() => { typeof cancelIdleCallback < "u" && cancelIdleCallback(i), cancelAnimationFrame(a); }); -} }, Sr = Y({ scrollStrategy: { type: [String, Function], default: "block", validator: (e) => typeof e == "function" || e in kt } }, "VOverlay-scroll-strategies"); +} }, Sr = H({ scrollStrategy: { type: [String, Function], default: "block", validator: (e) => typeof e == "function" || e in kt } }, "VOverlay-scroll-strategies"); function wo(e, t) { const n = [document, ...Pt(e)]; n.forEach((l) => { l.addEventListener("scroll", t, { passive: !0 }); - }), Be(() => { + }), ke(() => { n.forEach((l) => { l.removeEventListener("scroll", t); }); }); } -const ml = Symbol.for("vuetify:v-menu"), xr = Y({ closeDelay: [Number, String], openDelay: [Number, String] }, "delay"), Br = Y({ target: [String, Object], activator: [String, Object], activatorProps: { type: Object, default: () => ({}) }, openOnClick: { type: Boolean, default: void 0 }, openOnHover: Boolean, openOnFocus: { type: Boolean, default: void 0 }, closeOnContentClick: Boolean, ...xr() }, "VOverlay-activator"); +const ml = Symbol.for("vuetify:v-menu"), Br = H({ closeDelay: [Number, String], openDelay: [Number, String] }, "delay"), xr = H({ target: [String, Object], activator: [String, Object], activatorProps: { type: Object, default: () => ({}) }, openOnClick: { type: Boolean, default: void 0 }, openOnHover: Boolean, openOnFocus: { type: Boolean, default: void 0 }, closeOnContentClick: Boolean, ...Br() }, "VOverlay-activator"); function kr(e, t) { let { isActive: n, isTop: l } = t; - const a = Fe("useActivator"), i = N(); - let c = !1, r = !1, o = !0; - const s = v(() => e.openOnFocus || e.openOnFocus == null && e.openOnHover), m = v(() => e.openOnClick || e.openOnClick == null && !e.openOnHover && !s.value), { runOpenDelay: y, runCloseDelay: f } = function(C, V) { - const A = {}, j = (G) => () => { + const a = Se("useActivator"), i = M(); + let c = !1, s = !1, o = !0; + const r = v(() => e.openOnFocus || e.openOnFocus == null && e.openOnHover), y = v(() => e.openOnClick || e.openOnClick == null && !e.openOnHover && !r.value), { runOpenDelay: m, runCloseDelay: f } = function(C, k) { + const A = {}, N = (q) => () => { if (!$e) return Promise.resolve(!0); - const k = G === "openDelay"; - return A.closeDelay && window.clearTimeout(A.closeDelay), delete A.closeDelay, A.openDelay && window.clearTimeout(A.openDelay), delete A.openDelay, new Promise((w) => { - const _ = parseInt(C[G] ?? 0, 10); - A[G] = window.setTimeout(() => { - V == null || V(k), w(k); - }, _); + const I = q === "openDelay"; + return A.closeDelay && window.clearTimeout(A.closeDelay), delete A.closeDelay, A.openDelay && window.clearTimeout(A.openDelay), delete A.openDelay, new Promise((P) => { + const $ = parseInt(C[q] ?? 0, 10); + A[q] = window.setTimeout(() => { + k == null || k(I), P(I); + }, $); }); }; - return { runCloseDelay: j("closeDelay"), runOpenDelay: j("openDelay") }; + return { runCloseDelay: N("closeDelay"), runOpenDelay: N("openDelay") }; }(e, (C) => { - C !== (e.openOnHover && c || s.value && r) || e.openOnHover && n.value && !l.value || (n.value !== C && (o = !0), n.value = C); - }), p = N(), g = (C) => { + C !== (e.openOnHover && c || r.value && s) || e.openOnHover && n.value && !l.value || (n.value !== C && (o = !0), n.value = C); + }), p = M(), g = (C) => { C.stopPropagation(), i.value = C.currentTarget || C.target, n.value || (p.value = [C.clientX, C.clientY]), n.value = !n.value; }, h = (C) => { - var V; - (V = C.sourceCapabilities) != null && V.firesTouchEvents || (c = !0, i.value = C.currentTarget || C.target, y()); + var k; + (k = C.sourceCapabilities) != null && k.firesTouchEvents || (c = !0, i.value = C.currentTarget || C.target, m()); }, b = (C) => { c = !1, f(); - }, I = (C) => { - At(C.target, ":focus-visible") !== !1 && (r = !0, C.stopPropagation(), i.value = C.currentTarget || C.target, y()); - }, $ = (C) => { - r = !1, C.stopPropagation(), f(); - }, F = v(() => { + }, B = (C) => { + At(C.target, ":focus-visible") !== !1 && (s = !0, C.stopPropagation(), i.value = C.currentTarget || C.target, m()); + }, V = (C) => { + s = !1, C.stopPropagation(), f(); + }, _ = v(() => { const C = {}; - return m.value && (C.onClick = g), e.openOnHover && (C.onMouseenter = h, C.onMouseleave = b), s.value && (C.onFocus = I, C.onBlur = $), C; - }), H = v(() => { + return y.value && (C.onClick = g), e.openOnHover && (C.onMouseenter = h, C.onMouseleave = b), r.value && (C.onFocus = B, C.onBlur = V), C; + }), U = v(() => { const C = {}; if (e.openOnHover && (C.onMouseenter = () => { - c = !0, y(); + c = !0, m(); }, C.onMouseleave = () => { c = !1, f(); - }), s.value && (C.onFocusin = () => { - r = !0, y(); + }), r.value && (C.onFocusin = () => { + s = !0, m(); }, C.onFocusout = () => { - r = !1, f(); + s = !1, f(); }), e.closeOnContentClick) { - const V = ve(ml, null); + const k = ve(ml, null); C.onClick = () => { - n.value = !1, V == null || V.closeParents(); + n.value = !1, k == null || k.closeParents(); }; } return C; - }), T = v(() => { + }), z = v(() => { const C = {}; return e.openOnHover && (C.onMouseenter = () => { - o && (c = !0, o = !1, y()); + o && (c = !0, o = !1, m()); }, C.onMouseleave = () => { c = !1, f(); }), C; }); K(l, (C) => { - !C || (!e.openOnHover || c || s.value && r) && (!s.value || r || e.openOnHover && c) || (n.value = !1); + !C || (!e.openOnHover || c || r.value && s) && (!r.value || s || e.openOnHover && c) || (n.value = !1); }), K(n, (C) => { C || setTimeout(() => { p.value = void 0; }); }, { flush: "post" }); - const M = N(); + const D = M(); Ge(() => { - M.value && Ie(() => { - i.value = wt(M.value); + D.value && Ie(() => { + i.value = wt(D.value); }); }); - const R = N(), B = v(() => e.target === "cursor" && p.value ? p.value : R.value ? wt(R.value) : Fo(e.target, a) || i.value), x = v(() => Array.isArray(B.value) ? void 0 : B.value); - let E; + const R = M(), E = v(() => e.target === "cursor" && p.value ? p.value : R.value ? wt(R.value) : Fo(e.target, a) || i.value), S = v(() => Array.isArray(E.value) ? void 0 : E.value); + let O; return K(() => !!e.activator, (C) => { - C && $e ? (E = Cl(), E.run(() => { - (function(V, A, j) { - let { activatorEl: G, activatorEvents: k } = j; - function w() { - let W = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : D(), O = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : V.activatorProps; - W && function(L, U) { - Object.keys(U).forEach((S) => { - if (ol(S)) { - const P = Hl(S), z = ht.get(L); - if (U[S] == null) - z == null || z.forEach((q) => { - const [X, le] = q; - X === P && (L.removeEventListener(P, le), z.delete(q)); + C && $e ? (O = Cl(), O.run(() => { + (function(k, A, N) { + let { activatorEl: q, activatorEvents: I } = N; + function P() { + let j = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : W(), F = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : k.activatorProps; + j && function(L, Y) { + Object.keys(Y).forEach((x) => { + if (ol(x)) { + const w = Ul(x), T = ht.get(L); + if (Y[x] == null) + T == null || T.forEach((G) => { + const [X, oe] = G; + X === w && (L.removeEventListener(w, oe), T.delete(G)); }); - else if (!z || ![...z].some((q) => q[0] === P && q[1] === U[S])) { - L.addEventListener(P, U[S]); - const q = z || /* @__PURE__ */ new Set(); - q.add([P, U[S]]), ht.has(L) || ht.set(L, q); + else if (!T || ![...T].some((G) => G[0] === w && G[1] === Y[x])) { + L.addEventListener(w, Y[x]); + const G = T || /* @__PURE__ */ new Set(); + G.add([w, Y[x]]), ht.has(L) || ht.set(L, G); } } else - U[S] == null ? L.removeAttribute(S) : L.setAttribute(S, U[S]); + Y[x] == null ? L.removeAttribute(x) : L.setAttribute(x, Y[x]); }); - }(W, Z(k.value, O)); + }(j, Z(I.value, F)); } - function _() { - let W = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : D(), O = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : V.activatorProps; - W && function(L, U) { - Object.keys(U).forEach((S) => { - if (ol(S)) { - const P = Hl(S), z = ht.get(L); - z == null || z.forEach((q) => { - const [X, le] = q; - X === P && (L.removeEventListener(P, le), z.delete(q)); + function $() { + let j = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : W(), F = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : k.activatorProps; + j && function(L, Y) { + Object.keys(Y).forEach((x) => { + if (ol(x)) { + const w = Ul(x), T = ht.get(L); + T == null || T.forEach((G) => { + const [X, oe] = G; + X === w && (L.removeEventListener(w, oe), T.delete(G)); }); } else - L.removeAttribute(S); + L.removeAttribute(x); }); - }(W, Z(k.value, O)); + }(j, Z(I.value, F)); } - function D() { - const W = Fo(arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : V.activator, A); - return G.value = (W == null ? void 0 : W.nodeType) === Node.ELEMENT_NODE ? W : void 0, G.value; + function W() { + const j = Fo(arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : k.activator, A); + return q.value = (j == null ? void 0 : j.nodeType) === Node.ELEMENT_NODE ? j : void 0, q.value; } - K(() => V.activator, (W, O) => { - if (O && W !== O) { - const L = D(O); - L && _(L); + K(() => k.activator, (j, F) => { + if (F && j !== F) { + const L = W(F); + L && $(L); } - W && Ie(() => w()); - }, { immediate: !0 }), K(() => V.activatorProps, () => { - w(); - }), Be(() => { - _(); + j && Ie(() => P()); + }, { immediate: !0 }), K(() => k.activatorProps, () => { + P(); + }), ke(() => { + $(); }); - })(e, a, { activatorEl: i, activatorEvents: F }); - })) : E && E.stop(); - }, { flush: "post", immediate: !0 }), Be(() => { - E == null || E.stop(); - }), { activatorEl: i, activatorRef: M, target: B, targetEl: x, targetRef: R, activatorEvents: F, contentEvents: H, scrimEvents: T }; + })(e, a, { activatorEl: i, activatorEvents: _ }); + })) : O && O.stop(); + }, { flush: "post", immediate: !0 }), ke(() => { + O == null || O.stop(); + }), { activatorEl: i, activatorRef: D, target: E, targetEl: S, targetRef: R, activatorEvents: _, contentEvents: U, scrimEvents: z }; } function Fo(e, t) { var l, a; @@ -2239,9 +2244,9 @@ function Na() { }), a = v(() => t ? { [`${t}--mobile`]: l.value } : {}); return { ...n, displayClasses: a, mobile: l }; } -const Fr = Y({ eager: Boolean }, "lazy"); +const Fr = H({ eager: Boolean }, "lazy"); function ja() { - const e = Fe("useScopeId").vnode.scopeId; + const e = Se("useScopeId").vnode.scopeId; return { scopeId: e ? { [e]: "" } : void 0 }; } const Vo = Symbol.for("vuetify:stack"), Yn = Le([]); @@ -2265,10 +2270,10 @@ function _o(e, t) { t(document), typeof ShadowRoot < "u" && n instanceof ShadowRoot && t(n); } const Ar = { mounted(e, t) { - const n = (a) => function(i, c, r) { - const o = typeof r.value == "function" ? r.value : r.value.handler; - c._clickOutside.lastMousedownWasOutside && Ao(i, c, r) && setTimeout(() => { - Ga(i, r) && o && o(i); + const n = (a) => function(i, c, s) { + const o = typeof s.value == "function" ? s.value : s.value.handler; + c._clickOutside.lastMousedownWasOutside && Ao(i, c, s) && setTimeout(() => { + Ga(i, s) && o && o(i); }, 0); }(a, e, t), l = (a) => { e._clickOutside.lastMousedownWasOutside = Ao(a, e, t); @@ -2289,144 +2294,144 @@ function _r(e) { const { modelValue: t, color: n, ...l } = e; return d(gn, { name: "fade-transition", appear: !0 }, { default: () => [e.modelValue && d("div", Z({ class: ["v-overlay__scrim", e.color.backgroundColorClasses.value], style: e.color.backgroundColorStyles.value }, l), null)] }); } -const qa = Y({ absolute: Boolean, attach: [Boolean, String, Object], closeOnBack: { type: Boolean, default: !0 }, contained: Boolean, contentClass: null, contentProps: null, disabled: Boolean, noClickAnimation: Boolean, modelValue: Boolean, persistent: Boolean, scrim: { type: [Boolean, String], default: !0 }, zIndex: { type: [Number, String], default: 2e3 }, ...Br(), ...se(), ...Cn(), ...Fr(), ...Ir(), ...Sr(), ...Se(), ...ut() }, "VOverlay"), Oo = Q()({ name: "VOverlay", directives: { ClickOutside: Ar }, inheritAttrs: !1, props: { _disableGlobalStack: Boolean, ...qa() }, emits: { "click:outside": (e) => !0, "update:modelValue": (e) => !0, afterLeave: () => !0 }, setup(e, t) { - var L, U; +const qa = H({ absolute: Boolean, attach: [Boolean, String, Object], closeOnBack: { type: Boolean, default: !0 }, contained: Boolean, contentClass: null, contentProps: null, disabled: Boolean, noClickAnimation: Boolean, modelValue: Boolean, persistent: Boolean, scrim: { type: [Boolean, String], default: !0 }, zIndex: { type: [Number, String], default: 2e3 }, ...xr(), ...se(), ...Cn(), ...Fr(), ...Ir(), ...Sr(), ...Be(), ...ut() }, "VOverlay"), Oo = Q()({ name: "VOverlay", directives: { ClickOutside: Ar }, inheritAttrs: !1, props: { _disableGlobalStack: Boolean, ...qa() }, emits: { "click:outside": (e) => !0, "update:modelValue": (e) => !0, afterLeave: () => !0 }, setup(e, t) { + var L, Y; let { slots: n, attrs: l, emit: a } = t; - const i = me(e, "modelValue"), c = v({ get: () => i.value, set: (S) => { - S && e.disabled || (i.value = S); - } }), { teleportTarget: r } = function(S) { + const i = me(e, "modelValue"), c = v({ get: () => i.value, set: (x) => { + x && e.disabled || (i.value = x); + } }), { teleportTarget: s } = function(x) { return { teleportTarget: v(() => { - const P = S.value; - if (P === !0 || !$e) + const w = x.value; + if (w === !0 || !$e) return; - const z = P === !1 ? document.body : typeof P == "string" ? document.querySelector(P) : P; - if (z == null) - return void Rt(`Unable to locate target ${P}`); - let q = z.querySelector(":scope > .v-overlay-container"); - return q || (q = document.createElement("div"), q.className = "v-overlay-container", z.appendChild(q)), q; + const T = w === !1 ? document.body : typeof w == "string" ? document.querySelector(w) : w; + if (T == null) + return void Rt(`Unable to locate target ${w}`); + let G = T.querySelector(":scope > .v-overlay-container"); + return G || (G = document.createElement("div"), G.className = "v-overlay-container", T.appendChild(G)), G; }) }; - }(v(() => e.attach || e.contained)), { themeClasses: o } = _e(e), { rtlClasses: s, isRtl: m } = st(), { hasContent: y, onAfterLeave: f } = function(S, P) { - const z = re(!1), q = v(() => z.value || S.eager || P.value); - return K(P, () => z.value = !0), { isBooted: z, hasContent: q, onAfterLeave: function() { - S.eager || (z.value = !1); + }(v(() => e.attach || e.contained)), { themeClasses: o } = _e(e), { rtlClasses: r, isRtl: y } = st(), { hasContent: m, onAfterLeave: f } = function(x, w) { + const T = re(!1), G = v(() => T.value || x.eager || w.value); + return K(w, () => T.value = !0), { isBooted: T, hasContent: G, onAfterLeave: function() { + x.eager || (T.value = !1); } }; - }(e, c), p = Dn(v(() => typeof e.scrim == "string" ? e.scrim : null)), { globalTop: g, localTop: h, stackStyles: b } = function(S, P, z) { - const q = Fe("useStack"), X = !z, le = ve(Vo, void 0), be = Le({ activeChildren: /* @__PURE__ */ new Set() }); + }(e, c), p = Dn(v(() => typeof e.scrim == "string" ? e.scrim : null)), { globalTop: g, localTop: h, stackStyles: b } = function(x, w, T) { + const G = Se("useStack"), X = !T, oe = ve(Vo, void 0), be = Le({ activeChildren: /* @__PURE__ */ new Set() }); De(Vo, be); - const Ve = re(+P.value); - fn(S, () => { - var Hn; - const gt = (Hn = Yn.at(-1)) == null ? void 0 : Hn[1]; - Ve.value = gt ? gt + 10 : +P.value, X && Yn.push([q.uid, Ve.value]), le == null || le.activeChildren.add(q.uid), Be(() => { + const Ve = re(+w.value); + fn(x, () => { + var Un; + const gt = (Un = Yn.at(-1)) == null ? void 0 : Un[1]; + Ve.value = gt ? gt + 10 : +w.value, X && Yn.push([G.uid, Ve.value]), oe == null || oe.activeChildren.add(G.uid), ke(() => { if (X) { - const Qa = tn(Yn).findIndex((ei) => ei[0] === q.uid); + const Qa = on(Yn).findIndex((ei) => ei[0] === G.uid); Yn.splice(Qa, 1); } - le == null || le.activeChildren.delete(q.uid); + oe == null || oe.activeChildren.delete(G.uid); }); }); const Oe = re(!0); X && Ge(() => { - var Hn; - const gt = ((Hn = Yn.at(-1)) == null ? void 0 : Hn[0]) === q.uid; + var Un; + const gt = ((Un = Yn.at(-1)) == null ? void 0 : Un[0]) === G.uid; setTimeout(() => Oe.value = gt); }); const Za = v(() => !be.activeChildren.size); return { globalTop: bl(Oe), localTop: Za, stackStyles: v(() => ({ zIndex: Ve.value })) }; - }(c, ne(e, "zIndex"), e._disableGlobalStack), { activatorEl: I, activatorRef: $, target: F, targetEl: H, targetRef: T, activatorEvents: M, contentEvents: R, scrimEvents: B } = kr(e, { isActive: c, isTop: h }), { dimensionStyles: x } = In(e), E = function() { + }(c, ne(e, "zIndex"), e._disableGlobalStack), { activatorEl: B, activatorRef: V, target: _, targetEl: U, targetRef: z, activatorEvents: D, contentEvents: R, scrimEvents: E } = kr(e, { isActive: c, isTop: h }), { dimensionStyles: S } = In(e), O = function() { if (!$e) return re(!1); - const { ssr: S } = Na(); - if (S) { - const P = re(!1); - return Wn(() => { - P.value = !0; - }), P; + const { ssr: x } = Na(); + if (x) { + const w = re(!1); + return Mn(() => { + w.value = !0; + }), w; } return re(!0); }(), { scopeId: C } = ja(); - K(() => e.disabled, (S) => { - S && (c.value = !1); + K(() => e.disabled, (x) => { + x && (c.value = !1); }); - const V = N(), A = N(), { contentStyles: j, updateLocation: G } = function(S, P) { - const z = N({}), q = N(); - function X(le) { + const k = M(), A = M(), { contentStyles: N, updateLocation: q } = function(x, w) { + const T = M({}), G = M(); + function X(oe) { var be; - (be = q.value) == null || be.call(q, le); + (be = G.value) == null || be.call(G, oe); } - return $e && (fn(() => !(!P.isActive.value || !S.locationStrategy), (le) => { + return $e && (fn(() => !(!w.isActive.value || !x.locationStrategy), (oe) => { var be, Ve; - K(() => S.locationStrategy, le), Be(() => { - q.value = void 0; - }), typeof S.locationStrategy == "function" ? q.value = (be = S.locationStrategy(P, S, z)) == null ? void 0 : be.updateLocation : q.value = (Ve = Ra[S.locationStrategy](P, S, z)) == null ? void 0 : Ve.updateLocation; - }), window.addEventListener("resize", X, { passive: !0 }), Be(() => { - window.removeEventListener("resize", X), q.value = void 0; - })), { contentStyles: z, updateLocation: q }; - }(e, { isRtl: m, contentEl: A, target: F, isActive: c }); - function k(S) { - a("click:outside", S), e.persistent ? O() : c.value = !1; - } - function w() { + K(() => x.locationStrategy, oe), ke(() => { + G.value = void 0; + }), typeof x.locationStrategy == "function" ? G.value = (be = x.locationStrategy(w, x, T)) == null ? void 0 : be.updateLocation : G.value = (Ve = Ra[x.locationStrategy](w, x, T)) == null ? void 0 : Ve.updateLocation; + }), window.addEventListener("resize", X, { passive: !0 }), ke(() => { + window.removeEventListener("resize", X), G.value = void 0; + })), { contentStyles: T, updateLocation: G }; + }(e, { isRtl: y, contentEl: A, target: _, isActive: c }); + function I(x) { + a("click:outside", x), e.persistent ? F() : c.value = !1; + } + function P() { return c.value && g.value; } - function _(S) { - var P, z; - S.key === "Escape" && g.value && (e.persistent ? O() : (c.value = !1, (P = A.value) != null && P.contains(document.activeElement) && ((z = I.value) == null || z.focus()))); + function $(x) { + var w, T; + x.key === "Escape" && g.value && (e.persistent ? F() : (c.value = !1, (w = A.value) != null && w.contains(document.activeElement) && ((T = B.value) == null || T.focus()))); } - (function(S, P) { + (function(x, w) { if (!$e) return; - let z; + let T; Ge(async () => { - z == null || z.stop(), P.isActive.value && S.scrollStrategy && (z = Cl(), await Ie(), z.active && z.run(() => { - var q; - typeof S.scrollStrategy == "function" ? S.scrollStrategy(P, S, z) : (q = kt[S.scrollStrategy]) == null || q.call(kt, P, S, z); + T == null || T.stop(), w.isActive.value && x.scrollStrategy && (T = Cl(), await Ie(), T.active && T.run(() => { + var G; + typeof x.scrollStrategy == "function" ? x.scrollStrategy(w, x, T) : (G = kt[x.scrollStrategy]) == null || G.call(kt, w, x, T); })); - }), Be(() => { - z == null || z.stop(); + }), ke(() => { + T == null || T.stop(); }); - })(e, { root: V, contentEl: A, targetEl: H, isActive: c, updateLocation: G }), $e && K(c, (S) => { - S ? window.addEventListener("keydown", _) : window.removeEventListener("keydown", _); + })(e, { root: k, contentEl: A, targetEl: U, isActive: c, updateLocation: q }), $e && K(c, (x) => { + x ? window.addEventListener("keydown", $) : window.removeEventListener("keydown", $); }, { immediate: !0 }); - const D = (U = (L = Fe("useRouter")) == null ? void 0 : L.proxy) == null ? void 0 : U.$router; + const W = (Y = (L = Se("useRouter")) == null ? void 0 : L.proxy) == null ? void 0 : Y.$router; fn(() => e.closeOnBack, () => { - (function(S, P) { - let z, q, X = !1; - function le(be) { + (function(x, w) { + let T, G, X = !1; + function oe(be) { var Ve; (Ve = be.state) != null && Ve.replaced || (X = !0, setTimeout(() => X = !1)); } $e && (Ie(() => { - window.addEventListener("popstate", le), z = S == null ? void 0 : S.beforeEach((be, Ve, Oe) => { - Zt ? X ? P(Oe) : Oe() : setTimeout(() => X ? P(Oe) : Oe()), Zt = !0; - }), q = S == null ? void 0 : S.afterEach(() => { + window.addEventListener("popstate", oe), T = x == null ? void 0 : x.beforeEach((be, Ve, Oe) => { + Zt ? X ? w(Oe) : Oe() : setTimeout(() => X ? w(Oe) : Oe()), Zt = !0; + }), G = x == null ? void 0 : x.afterEach(() => { Zt = !1; }); - }), Be(() => { - window.removeEventListener("popstate", le), z == null || z(), q == null || q(); + }), ke(() => { + window.removeEventListener("popstate", oe), T == null || T(), G == null || G(); })); - })(D, (S) => { - g.value && c.value ? (S(!1), e.persistent ? O() : c.value = !1) : S(); + })(W, (x) => { + g.value && c.value ? (x(!1), e.persistent ? F() : c.value = !1) : x(); }); }); - const W = N(); - function O() { - e.noClickAnimation || A.value && Bn(A.value, [{ transformOrigin: "center" }, { transform: "scale(1.03)" }, { transformOrigin: "center" }], { duration: 150, easing: Ot }); - } - return K(() => c.value && (e.absolute || e.contained) && r.value == null, (S) => { - if (S) { - const P = Zo(V.value); - P && P !== document.scrollingElement && (W.value = P.scrollTop); + const j = M(); + function F() { + e.noClickAnimation || A.value && xn(A.value, [{ transformOrigin: "center" }, { transform: "scale(1.03)" }, { transformOrigin: "center" }], { duration: 150, easing: Ot }); + } + return K(() => c.value && (e.absolute || e.contained) && s.value == null, (x) => { + if (x) { + const w = Zo(k.value); + w && w !== document.scrollingElement && (j.value = w.scrollTop); } - }), oe(() => { - var S; - return d(fe, null, [(S = n.activator) == null ? void 0 : S.call(n, { isActive: c.value, props: Z({ ref: $, targetRef: T }, M.value, e.activatorProps) }), E.value && y.value && d(sn, { disabled: !r.value, to: r.value }, { default: () => [d("div", Z({ class: ["v-overlay", { "v-overlay--absolute": e.absolute || e.contained, "v-overlay--active": c.value, "v-overlay--contained": e.contained }, o.value, s.value, e.class], style: [b.value, { top: te(W.value) }, e.style], ref: V }, C, l), [d(_r, Z({ color: p, modelValue: c.value && !!e.scrim }, B.value), null), d(nn, { appear: !0, persisted: !0, transition: e.transition, target: F.value, onAfterLeave: () => { + }), ae(() => { + var x; + return d(fe, null, [(x = n.activator) == null ? void 0 : x.call(n, { isActive: c.value, props: Z({ ref: V, targetRef: z }, D.value, e.activatorProps) }), O.value && m.value && d(sn, { disabled: !s.value, to: s.value }, { default: () => [d("div", Z({ class: ["v-overlay", { "v-overlay--absolute": e.absolute || e.contained, "v-overlay--active": c.value, "v-overlay--contained": e.contained }, o.value, r.value, e.class], style: [b.value, { top: te(j.value) }, e.style], ref: k }, C, l), [d(_r, Z({ color: p, modelValue: c.value && !!e.scrim }, E.value), null), d(ln, { appear: !0, persisted: !0, transition: e.transition, target: _.value, onAfterLeave: () => { f(), a("afterLeave"); } }, { default: () => { - var P; - return [we(d("div", Z({ ref: A, class: ["v-overlay__content", e.contentClass], style: [x.value, j.value] }, R.value, e.contentProps), [(P = n.default) == null ? void 0 : P.call(n, { isActive: c })]), [[Mn, c.value], [Je("click-outside"), { handler: k, closeConditional: w, include: () => [I.value] }]])]; + var w; + return [Fe(d("div", Z({ ref: A, class: ["v-overlay__content", e.contentClass], style: [S.value, N.value] }, R.value, e.contentProps), [(w = n.default) == null ? void 0 : w.call(n, { isActive: c })]), [[Wn, c.value], [Qe("click-outside"), { handler: I, closeConditional: P, include: () => [B.value] }]])]; } })])] })]); - }), { activatorEl: I, target: F, animateClick: O, contentEl: A, globalTop: g, localTop: h, updateLocation: G }; + }), { activatorEl: B, target: _, animateClick: F, contentEl: A, globalTop: g, localTop: h, updateLocation: q }; } }), nl = Symbol("Forwarded refs"); function tl(e, t) { let n = e; @@ -2437,7 +2442,7 @@ function tl(e, t) { n = Object.getPrototypeOf(n); } } -function Ut(e) { +function Ht(e) { for (var t = arguments.length, n = new Array(t > 1 ? t - 1 : 0), l = 1; l < t; l++) n[l - 1] = arguments[l]; return e[nl] = n, new Proxy(e, { get(a, i) { @@ -2446,8 +2451,8 @@ function Ut(e) { if (typeof i != "symbol" && !i.startsWith("$") && !i.startsWith("__")) { for (const c of n) if (c.value && Reflect.has(c.value, i)) { - const r = Reflect.get(c.value, i); - return typeof r == "function" ? r.bind(c.value) : r; + const s = Reflect.get(c.value, i); + return typeof s == "function" ? s.bind(c.value) : s; } } }, has(a, i) { @@ -2464,12 +2469,12 @@ function Ut(e) { return Reflect.set(a, i, c); if (typeof i == "symbol" || i.startsWith("$") || i.startsWith("__")) return !1; - for (const r of n) - if (r.value && Reflect.has(r.value, i)) - return Reflect.set(r.value, i, c); + for (const s of n) + if (s.value && Reflect.has(s.value, i)) + return Reflect.set(s.value, i, c); return !1; }, getOwnPropertyDescriptor(a, i) { - var r; + var s; const c = Reflect.getOwnPropertyDescriptor(a, i); if (c) return c; @@ -2477,294 +2482,288 @@ function Ut(e) { for (const o of n) { if (!o.value) continue; - const s = tl(o.value, i) ?? ("_" in o.value ? tl((r = o.value._) == null ? void 0 : r.setupState, i) : void 0); - if (s) - return s; + const r = tl(o.value, i) ?? ("_" in o.value ? tl((s = o.value._) == null ? void 0 : s.setupState, i) : void 0); + if (r) + return r; } for (const o of n) { - const s = o.value && o.value[nl]; - if (!s) + const r = o.value && o.value[nl]; + if (!r) continue; - const m = s.slice(); - for (; m.length; ) { - const y = m.shift(), f = tl(y.value, i); + const y = r.slice(); + for (; y.length; ) { + const m = y.shift(), f = tl(m.value, i); if (f) return f; - const p = y.value && y.value[nl]; - p && m.push(...p); + const p = m.value && m.value[nl]; + p && y.push(...p); } } } } }); } -const Or = Y({ id: String, ...bn(qa({ closeDelay: 250, closeOnContentClick: !0, locationStrategy: "connected", openDelay: 300, scrim: !1, scrollStrategy: "reposition", transition: { component: ta } }), ["absolute"]) }, "VMenu"), Pr = Q()({ name: "VMenu", props: Or(), emits: { "update:modelValue": (e) => !0 }, setup(e, t) { +const Or = H({ id: String, ...bn(qa({ closeDelay: 250, closeOnContentClick: !0, locationStrategy: "connected", openDelay: 300, scrim: !1, scrollStrategy: "reposition", transition: { component: ta } }), ["absolute"]) }, "VMenu"), Pr = Q()({ name: "VMenu", props: Or(), emits: { "update:modelValue": (e) => !0 }, setup(e, t) { let { slots: n } = t; - const l = me(e, "modelValue"), { scopeId: a } = ja(), i = We(), c = v(() => e.id || `v-menu-${i}`), r = N(), o = ve(ml, null), s = re(0); - async function m(h) { - var $, F, H; - const b = h.relatedTarget, I = h.target; - await Ie(), l.value && b !== I && (($ = r.value) != null && $.contentEl) && ((F = r.value) != null && F.globalTop) && ![document, r.value.contentEl].includes(I) && !r.value.contentEl.contains(I) && ((H = al(r.value.contentEl)[0]) == null || H.focus()); + const l = me(e, "modelValue"), { scopeId: a } = ja(), i = Me(), c = v(() => e.id || `v-menu-${i}`), s = M(), o = ve(ml, null), r = re(0); + async function y(h) { + var V, _, U; + const b = h.relatedTarget, B = h.target; + await Ie(), l.value && b !== B && ((V = s.value) != null && V.contentEl) && ((_ = s.value) != null && _.globalTop) && ![document, s.value.contentEl].includes(B) && !s.value.contentEl.contains(B) && ((U = al(s.value.contentEl)[0]) == null || U.focus()); } - function y() { + function m() { o == null || o.closeParents(); } function f(h) { - var b, I, $; - !e.disabled && h.key === "Tab" && (qo(al((b = r.value) == null ? void 0 : b.contentEl, !1), h.shiftKey ? "prev" : "next", (F) => F.tabIndex >= 0) || (l.value = !1, ($ = (I = r.value) == null ? void 0 : I.activatorEl) == null || $.focus())); + var b, B, V; + !e.disabled && h.key === "Tab" && (qo(al((b = s.value) == null ? void 0 : b.contentEl, !1), h.shiftKey ? "prev" : "next", (_) => _.tabIndex >= 0) || (l.value = !1, (V = (B = s.value) == null ? void 0 : B.activatorEl) == null || V.focus())); } function p(h) { - var I; + var B; if (e.disabled) return; - const b = (I = r.value) == null ? void 0 : I.contentEl; + const b = (B = s.value) == null ? void 0 : B.contentEl; b && l.value ? h.key === "ArrowDown" ? (h.preventDefault(), Vt(b, "next")) : h.key === "ArrowUp" && (h.preventDefault(), Vt(b, "prev")) : ["ArrowDown", "ArrowUp"].includes(h.key) && (l.value = !0, h.preventDefault(), setTimeout(() => setTimeout(() => p(h)))); } De(ml, { register() { - ++s.value; + ++r.value; }, unregister() { - --s.value; + --r.value; }, closeParents() { setTimeout(() => { - s.value || (l.value = !1, o == null || o.closeParents()); + r.value || (l.value = !1, o == null || o.closeParents()); }, 40); } }), K(l, (h) => { - h ? (o == null || o.register(), document.addEventListener("focusin", m, { once: !0 })) : (o == null || o.unregister(), document.removeEventListener("focusin", m)); + h ? (o == null || o.register(), document.addEventListener("focusin", y, { once: !0 })) : (o == null || o.unregister(), document.removeEventListener("focusin", y)); }); const g = v(() => Z({ "aria-haspopup": "menu", "aria-expanded": String(l.value), "aria-owns": c.value, onKeydown: p }, e.activatorProps)); - return oe(() => { + return ae(() => { const h = Oo.filterProps(e); - return d(Oo, Z({ ref: r, class: ["v-menu", e.class], style: e.style }, h, { modelValue: l.value, "onUpdate:modelValue": (b) => l.value = b, absolute: !0, activatorProps: g.value, "onClick:outside": y, onKeydown: f }, a), { activator: n.activator, default: function() { - for (var b = arguments.length, I = new Array(b), $ = 0; $ < b; $++) - I[$] = arguments[$]; - return d(ke, { root: "VMenu" }, { default: () => { - var F; - return [(F = n.default) == null ? void 0 : F.call(n, ...I)]; + return d(Oo, Z({ ref: s, class: ["v-menu", e.class], style: e.style }, h, { modelValue: l.value, "onUpdate:modelValue": (b) => l.value = b, absolute: !0, activatorProps: g.value, "onClick:outside": m, onKeydown: f }, a), { activator: n.activator, default: function() { + for (var b = arguments.length, B = new Array(b), V = 0; V < b; V++) + B[V] = arguments[V]; + return d(we, { root: "VMenu" }, { default: () => { + var _; + return [(_ = n.default) == null ? void 0 : _.call(n, ...B)]; } }); } }); - }), Ut({ id: c, ΨopenChildren: s }, r); -} }), $r = Y({ active: Boolean, max: [Number, String], value: { type: [Number, String], default: 0 }, ...se(), ...ut({ transition: { component: la } }) }, "VCounter"), Ha = Q()({ name: "VCounter", functional: !0, props: $r(), setup(e, t) { + }), Ht({ id: c, ΨopenChildren: r }, s); +} }), $r = H({ active: Boolean, max: [Number, String], value: { type: [Number, String], default: 0 }, ...se(), ...ut({ transition: { component: la } }) }, "VCounter"), Ua = Q()({ name: "VCounter", functional: !0, props: $r(), setup(e, t) { let { slots: n } = t; const l = v(() => e.max ? `${e.value} / ${e.max}` : String(e.value)); - return oe(() => d(nn, { transition: e.transition }, { default: () => [we(d("div", { class: ["v-counter", e.class], style: e.style }, [n.default ? n.default({ counter: l.value, max: e.max, value: e.value }) : l.value]), [[Mn, e.active]])] })), {}; -} }), Er = Y({ floating: Boolean, ...se() }, "VFieldLabel"), It = Q()({ name: "VFieldLabel", props: Er(), setup(e, t) { + return ae(() => d(ln, { transition: e.transition }, { default: () => [Fe(d("div", { class: ["v-counter", e.class], style: e.style }, [n.default ? n.default({ counter: l.value, max: e.max, value: e.value }) : l.value]), [[Wn, e.active]])] })), {}; +} }), Er = H({ floating: Boolean, ...se() }, "VFieldLabel"), It = Q()({ name: "VFieldLabel", props: Er(), setup(e, t) { let { slots: n } = t; - return oe(() => d(Ba, { class: ["v-field-label", { "v-field-label--floating": e.floating }, e.class], style: e.style, "aria-hidden": e.floating || void 0 }, n)), {}; -} }), Tr = ["underlined", "outlined", "filled", "solo", "solo-inverted", "solo-filled", "plain"], Ll = Y({ appendInnerIcon: ce, bgColor: String, clearable: Boolean, clearIcon: { type: ce, default: "$clear" }, active: Boolean, centerAffix: { type: Boolean, default: void 0 }, color: String, baseColor: String, dirty: Boolean, disabled: { type: Boolean, default: null }, error: Boolean, flat: Boolean, label: String, persistentClear: Boolean, prependInnerIcon: ce, reverse: Boolean, singleLine: Boolean, variant: { type: String, default: "filled", validator: (e) => Tr.includes(e) }, "onClick:clear": je(), "onClick:appendInner": je(), "onClick:prependInner": je(), ...se(), ...Tl(), ...Ze(), ...Se() }, "VField"), Ml = Q()({ name: "VField", inheritAttrs: !1, props: { id: String, ...Aa(), ...Ll() }, emits: { "update:focused": (e) => !0, "update:modelValue": (e) => !0 }, setup(e, t) { + return ae(() => d(xa, { class: ["v-field-label", { "v-field-label--floating": e.floating }, e.class], style: e.style, "aria-hidden": e.floating || void 0 }, n)), {}; +} }), Tr = ["underlined", "outlined", "filled", "solo", "solo-inverted", "solo-filled", "plain"], Ll = H({ appendInnerIcon: ce, bgColor: String, clearable: Boolean, clearIcon: { type: ce, default: "$clear" }, active: Boolean, centerAffix: { type: Boolean, default: void 0 }, color: String, baseColor: String, dirty: Boolean, disabled: { type: Boolean, default: null }, error: Boolean, flat: Boolean, label: String, persistentClear: Boolean, prependInnerIcon: ce, reverse: Boolean, singleLine: Boolean, variant: { type: String, default: "filled", validator: (e) => Tr.includes(e) }, "onClick:clear": je(), "onClick:appendInner": je(), "onClick:prependInner": je(), ...se(), ...Tl(), ...en(), ...Be() }, "VField"), Wl = Q()({ name: "VField", inheritAttrs: !1, props: { id: String, ...Aa(), ...Ll() }, emits: { "update:focused": (e) => !0, "update:modelValue": (e) => !0 }, setup(e, t) { let { attrs: n, emit: l, slots: a } = t; - const { themeClasses: i } = _e(e), { loaderClasses: c } = Gt(e), { focusClasses: r, isFocused: o, focus: s, blur: m } = yt(e), { InputIcon: y } = Va(e), { roundedClasses: f } = Qe(e), { rtlClasses: p } = st(), g = v(() => e.dirty || e.active), h = v(() => !(e.singleLine || !e.label && !a.label)), b = We(), I = v(() => e.id || `input-${b}`), $ = v(() => `${I.value}-messages`), F = N(), H = N(), T = N(), M = v(() => ["plain", "underlined"].includes(e.variant)), { backgroundColorClasses: R, backgroundColorStyles: B } = Dn(ne(e, "bgColor")), { textColorClasses: x, textColorStyles: E } = Ke(v(() => e.error || e.disabled ? void 0 : g.value && o.value ? e.color : e.baseColor)); + const { themeClasses: i } = _e(e), { loaderClasses: c } = Gt(e), { focusClasses: s, isFocused: o, focus: r, blur: y } = yt(e), { InputIcon: m } = Va(e), { roundedClasses: f } = nn(e), { rtlClasses: p } = st(), g = v(() => e.dirty || e.active), h = v(() => !(e.singleLine || !e.label && !a.label)), b = Me(), B = v(() => e.id || `input-${b}`), V = v(() => `${B.value}-messages`), _ = M(), U = M(), z = M(), D = v(() => ["plain", "underlined"].includes(e.variant)), { backgroundColorClasses: R, backgroundColorStyles: E } = Dn(ne(e, "bgColor")), { textColorClasses: S, textColorStyles: O } = Je(v(() => e.error || e.disabled ? void 0 : g.value && o.value ? e.color : e.baseColor)); K(g, (A) => { if (h.value) { - const j = F.value.$el, G = H.value.$el; + const N = _.value.$el, q = U.value.$el; requestAnimationFrame(() => { - const k = wl(j), w = G.getBoundingClientRect(), _ = w.x - k.x, D = w.y - k.y - (k.height / 2 - w.height / 2), W = w.width / 0.75, O = Math.abs(W - k.width) > 1 ? { maxWidth: te(W) } : void 0, L = getComputedStyle(j), U = getComputedStyle(G), S = 1e3 * parseFloat(L.transitionDuration) || 150, P = parseFloat(U.getPropertyValue("--v-field-label-scale")), z = U.getPropertyValue("color"); - j.style.visibility = "visible", G.style.visibility = "hidden", Bn(j, { transform: `translate(${_}px, ${D}px) scale(${P})`, color: z, ...O }, { duration: S, easing: Ot, direction: A ? "normal" : "reverse" }).finished.then(() => { - j.style.removeProperty("visibility"), G.style.removeProperty("visibility"); + const I = wl(N), P = q.getBoundingClientRect(), $ = P.x - I.x, W = P.y - I.y - (I.height / 2 - P.height / 2), j = P.width / 0.75, F = Math.abs(j - I.width) > 1 ? { maxWidth: te(j) } : void 0, L = getComputedStyle(N), Y = getComputedStyle(q), x = 1e3 * parseFloat(L.transitionDuration) || 150, w = parseFloat(Y.getPropertyValue("--v-field-label-scale")), T = Y.getPropertyValue("color"); + N.style.visibility = "visible", q.style.visibility = "hidden", xn(N, { transform: `translate(${$}px, ${W}px) scale(${w})`, color: T, ...F }, { duration: x, easing: Ot, direction: A ? "normal" : "reverse" }).finished.then(() => { + N.style.removeProperty("visibility"), q.style.removeProperty("visibility"); }); }); } }, { flush: "post" }); - const C = v(() => ({ isActive: g, isFocused: o, controlRef: T, blur: m, focus: s })); - function V(A) { + const C = v(() => ({ isActive: g, isFocused: o, controlRef: z, blur: y, focus: r })); + function k(A) { A.target !== document.activeElement && A.preventDefault(); } - return oe(() => { - var _, D, W; - const A = e.variant === "outlined", j = a["prepend-inner"] || e.prependInnerIcon, G = !(!e.clearable && !a.clear), k = !!(a["append-inner"] || e.appendInnerIcon || G), w = a.label ? a.label({ ...C.value, label: e.label, props: { for: I.value } }) : e.label; - return d("div", Z({ class: ["v-field", { "v-field--active": g.value, "v-field--appended": k, "v-field--center-affix": e.centerAffix ?? !M.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": j, "v-field--reverse": e.reverse, "v-field--single-line": e.singleLine, "v-field--no-label": !w, [`v-field--variant-${e.variant}`]: !0 }, i.value, R.value, r.value, c.value, f.value, p.value, e.class], style: [B.value, e.style], onClick: V }, n), [d("div", { class: "v-field__overlay" }, null), d(zl, { name: "v-field", active: !!e.loading, color: e.error ? "error" : typeof e.loading == "string" ? e.loading : e.color }, { default: a.loader }), j && d("div", { key: "prepend", class: "v-field__prepend-inner" }, [e.prependInnerIcon && d(y, { key: "prepend-icon", name: "prependInner" }, null), (_ = a["prepend-inner"]) == null ? void 0 : _.call(a, C.value)]), d("div", { class: "v-field__field", "data-no-activator": "" }, [["filled", "solo", "solo-inverted", "solo-filled"].includes(e.variant) && h.value && d(It, { key: "floating-label", ref: H, class: [x.value], floating: !0, for: I.value, style: E.value }, { default: () => [w] }), d(It, { ref: F, for: I.value }, { default: () => [w] }), (D = a.default) == null ? void 0 : D.call(a, { ...C.value, props: { id: I.value, class: "v-field__input", "aria-describedby": $.value }, focus: s, blur: m })]), G && d(oa, { key: "clear" }, { default: () => [we(d("div", { class: "v-field__clearable", onMousedown: (O) => { - O.preventDefault(), O.stopPropagation(); - } }, [a.clear ? a.clear() : d(y, { name: "clear" }, null)]), [[Mn, e.dirty]])] }), k && d("div", { key: "append", class: "v-field__append-inner" }, [(W = a["append-inner"]) == null ? void 0 : W.call(a, C.value), e.appendInnerIcon && d(y, { key: "append-icon", name: "appendInner" }, null)]), d("div", { class: ["v-field__outline", x.value], style: E.value }, [A && d(fe, null, [d("div", { class: "v-field__outline__start" }, null), h.value && d("div", { class: "v-field__outline__notch" }, [d(It, { ref: H, floating: !0, for: I.value }, { default: () => [w] })]), d("div", { class: "v-field__outline__end" }, null)]), M.value && h.value && d(It, { ref: H, floating: !0, for: I.value }, { default: () => [w] })])]); - }), { controlRef: T }; + return ae(() => { + var $, W, j; + const A = e.variant === "outlined", N = a["prepend-inner"] || e.prependInnerIcon, q = !(!e.clearable && !a.clear), I = !!(a["append-inner"] || e.appendInnerIcon || q), P = a.label ? a.label({ ...C.value, label: e.label, props: { for: B.value } }) : e.label; + return d("div", Z({ class: ["v-field", { "v-field--active": g.value, "v-field--appended": I, "v-field--center-affix": e.centerAffix ?? !D.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": N, "v-field--reverse": e.reverse, "v-field--single-line": e.singleLine, "v-field--no-label": !P, [`v-field--variant-${e.variant}`]: !0 }, i.value, R.value, s.value, c.value, f.value, p.value, e.class], style: [E.value, e.style], onClick: k }, n), [d("div", { class: "v-field__overlay" }, null), d(zl, { name: "v-field", active: !!e.loading, color: e.error ? "error" : typeof e.loading == "string" ? e.loading : e.color }, { default: a.loader }), N && d("div", { key: "prepend", class: "v-field__prepend-inner" }, [e.prependInnerIcon && d(m, { key: "prepend-icon", name: "prependInner" }, null), ($ = a["prepend-inner"]) == null ? void 0 : $.call(a, C.value)]), d("div", { class: "v-field__field", "data-no-activator": "" }, [["filled", "solo", "solo-inverted", "solo-filled"].includes(e.variant) && h.value && d(It, { key: "floating-label", ref: U, class: [S.value], floating: !0, for: B.value, style: O.value }, { default: () => [P] }), d(It, { ref: _, for: B.value }, { default: () => [P] }), (W = a.default) == null ? void 0 : W.call(a, { ...C.value, props: { id: B.value, class: "v-field__input", "aria-describedby": V.value }, focus: r, blur: y })]), q && d(oa, { key: "clear" }, { default: () => [Fe(d("div", { class: "v-field__clearable", onMousedown: (F) => { + F.preventDefault(), F.stopPropagation(); + } }, [a.clear ? a.clear() : d(m, { name: "clear" }, null)]), [[Wn, e.dirty]])] }), I && d("div", { key: "append", class: "v-field__append-inner" }, [(j = a["append-inner"]) == null ? void 0 : j.call(a, C.value), e.appendInnerIcon && d(m, { key: "append-icon", name: "appendInner" }, null)]), d("div", { class: ["v-field__outline", S.value], style: O.value }, [A && d(fe, null, [d("div", { class: "v-field__outline__start" }, null), h.value && d("div", { class: "v-field__outline__notch" }, [d(It, { ref: U, floating: !0, for: B.value }, { default: () => [P] })]), d("div", { class: "v-field__outline__end" }, null)]), D.value && h.value && d(It, { ref: U, floating: !0, for: B.value }, { default: () => [P] })])]); + }), { controlRef: z }; } }); -function Ua(e) { - return Ro(e, Object.keys(Ml.props).filter((t) => !ol(t) && t !== "class" && t !== "style")); +function Ha(e) { + return Ro(e, Object.keys(Wl.props).filter((t) => !ol(t) && t !== "class" && t !== "style")); } -const zr = ["color", "file", "time", "date", "datetime-local", "week", "month"], Ya = Y({ 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, ...mt(), ...Ll() }, "VTextField"), gl = Q()({ name: "VTextField", directives: { Intersect: Ol }, inheritAttrs: !1, props: Ya(), emits: { "click:control": (e) => !0, "mousedown:control": (e) => !0, "update:focused": (e) => !0, "update:modelValue": (e) => !0 }, setup(e, t) { +const zr = ["color", "file", "time", "date", "datetime-local", "week", "month"], Ya = H({ 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, ...mt(), ...Ll() }, "VTextField"), gl = Q()({ name: "VTextField", directives: { Intersect: Ol }, inheritAttrs: !1, props: Ya(), emits: { "click:control": (e) => !0, "mousedown:control": (e) => !0, "update:focused": (e) => !0, "update:modelValue": (e) => !0 }, setup(e, t) { let { attrs: n, emit: l, slots: a } = t; - const i = me(e, "modelValue"), { isFocused: c, focus: r, blur: o } = yt(e), s = v(() => typeof e.counterValue == "function" ? e.counterValue(i.value) : typeof e.counterValue == "number" ? e.counterValue : (i.value ?? "").toString().length), m = v(() => n.maxlength ? n.maxlength : !e.counter || typeof e.counter != "number" && typeof e.counter != "string" ? void 0 : e.counter), y = v(() => ["plain", "underlined"].includes(e.variant)); - function f(M, R) { - var B, x; - e.autofocus && M && ((x = (B = R[0].target) == null ? void 0 : B.focus) == null || x.call(B)); + const i = me(e, "modelValue"), { isFocused: c, focus: s, blur: o } = yt(e), r = v(() => typeof e.counterValue == "function" ? e.counterValue(i.value) : typeof e.counterValue == "number" ? e.counterValue : (i.value ?? "").toString().length), y = v(() => n.maxlength ? n.maxlength : !e.counter || typeof e.counter != "number" && typeof e.counter != "string" ? void 0 : e.counter), m = v(() => ["plain", "underlined"].includes(e.variant)); + function f(D, R) { + var E, S; + e.autofocus && D && ((S = (E = R[0].target) == null ? void 0 : E.focus) == null || S.call(E)); } - const p = N(), g = N(), h = N(), b = v(() => zr.includes(e.type) || e.persistentPlaceholder || c.value || e.active); - function I() { - var M; - h.value !== document.activeElement && ((M = h.value) == null || M.focus()), c.value || r(); + const p = M(), g = M(), h = M(), b = v(() => zr.includes(e.type) || e.persistentPlaceholder || c.value || e.active); + function B() { + var D; + h.value !== document.activeElement && ((D = h.value) == null || D.focus()), c.value || s(); } - function $(M) { - l("mousedown:control", M), M.target !== h.value && (I(), M.preventDefault()); + function V(D) { + l("mousedown:control", D), D.target !== h.value && (B(), D.preventDefault()); } - function F(M) { - I(), l("click:control", M); + function _(D) { + B(), l("click:control", D); } - function H(M) { - M.stopPropagation(), I(), Ie(() => { - i.value = null, Go(e["onClick:clear"], M); + function U(D) { + D.stopPropagation(), B(), Ie(() => { + i.value = null, Go(e["onClick:clear"], D); }); } - function T(M) { - var B; - const R = M.target; - if (i.value = R.value, ((B = e.modelModifiers) == null ? void 0 : B.trim) && ["text", "search", "password", "tel", "url"].includes(e.type)) { - const x = [R.selectionStart, R.selectionEnd]; + function z(D) { + var E; + const R = D.target; + if (i.value = R.value, ((E = e.modelModifiers) == null ? void 0 : E.trim) && ["text", "search", "password", "tel", "url"].includes(e.type)) { + const S = [R.selectionStart, R.selectionEnd]; Ie(() => { - R.selectionStart = x[0], R.selectionEnd = x[1]; + R.selectionStart = S[0], R.selectionEnd = S[1]; }); } } - return oe(() => { - const M = !!(a.counter || e.counter !== !1 && e.counter != null), R = !(!M && !a.details), [B, x] = it(n), { modelValue: E, ...C } = on.filterProps(e), V = Ua(e); - return d(on, Z({ ref: p, modelValue: i.value, "onUpdate:modelValue": (A) => i.value = A, class: ["v-text-field", { "v-text-field--prefixed": e.prefix, "v-text-field--suffixed": e.suffix, "v-input--plain-underlined": y.value }, e.class], style: e.style }, B, C, { centerAffix: !y.value, focused: c.value }), { ...a, default: (A) => { - let { id: j, isDisabled: G, isDirty: k, isReadonly: w, isValid: _ } = A; - return d(Ml, Z({ ref: g, onMousedown: $, onClick: F, "onClick:clear": H, "onClick:prependInner": e["onClick:prependInner"], "onClick:appendInner": e["onClick:appendInner"], role: e.role }, V, { id: j.value, active: b.value || k.value, dirty: k.value || e.dirty, disabled: G.value, focused: c.value, error: _.value === !1 }), { ...a, default: (D) => { - let { props: { class: W, ...O } } = D; - const L = we(d("input", Z({ ref: h, value: i.value, onInput: T, autofocus: e.autofocus, readonly: w.value, disabled: G.value, name: e.name, placeholder: e.placeholder, size: 1, type: e.type, onFocus: I, onBlur: o }, O, x), null), [[Je("intersect"), { handler: f }, null, { once: !0 }]]); - return d(fe, null, [e.prefix && d("span", { class: "v-text-field__prefix" }, [d("span", { class: "v-text-field__prefix__text" }, [e.prefix])]), a.default ? d("div", { class: W, "data-no-activator": "" }, [a.default(), L]) : ri(L, { class: W }), e.suffix && d("span", { class: "v-text-field__suffix" }, [d("span", { class: "v-text-field__suffix__text" }, [e.suffix])])]); + return ae(() => { + const D = !!(a.counter || e.counter !== !1 && e.counter != null), R = !(!D && !a.details), [E, S] = it(n), { modelValue: O, ...C } = an.filterProps(e), k = Ha(e); + return d(an, Z({ ref: p, modelValue: i.value, "onUpdate:modelValue": (A) => i.value = A, class: ["v-text-field", { "v-text-field--prefixed": e.prefix, "v-text-field--suffixed": e.suffix, "v-input--plain-underlined": m.value }, e.class], style: e.style }, E, C, { centerAffix: !m.value, focused: c.value }), { ...a, default: (A) => { + let { id: N, isDisabled: q, isDirty: I, isReadonly: P, isValid: $ } = A; + return d(Wl, Z({ ref: g, onMousedown: V, onClick: _, "onClick:clear": U, "onClick:prependInner": e["onClick:prependInner"], "onClick:appendInner": e["onClick:appendInner"], role: e.role }, k, { id: N.value, active: b.value || I.value, dirty: I.value || e.dirty, disabled: q.value, focused: c.value, error: $.value === !1 }), { ...a, default: (W) => { + let { props: { class: j, ...F } } = W; + const L = Fe(d("input", Z({ ref: h, value: i.value, onInput: z, autofocus: e.autofocus, readonly: P.value, disabled: q.value, name: e.name, placeholder: e.placeholder, size: 1, type: e.type, onFocus: B, onBlur: o }, F, S), null), [[Qe("intersect"), { handler: f }, null, { once: !0 }]]); + return d(fe, null, [e.prefix && d("span", { class: "v-text-field__prefix" }, [d("span", { class: "v-text-field__prefix__text" }, [e.prefix])]), a.default ? d("div", { class: j, "data-no-activator": "" }, [a.default(), L]) : ri(L, { class: j }), e.suffix && d("span", { class: "v-text-field__suffix" }, [d("span", { class: "v-text-field__suffix__text" }, [e.suffix])])]); } }); }, details: R ? (A) => { - var j; - return d(fe, null, [(j = a.details) == null ? void 0 : j.call(a, A), M && d(fe, null, [d("span", null, null), d(Ha, { active: e.persistentCounter || c.value, value: s.value, max: m.value }, a.counter)])]); + var N; + return d(fe, null, [(N = a.details) == null ? void 0 : N.call(a, A), D && d(fe, null, [d("span", null, null), d(Ua, { active: e.persistentCounter || c.value, value: r.value, max: y.value }, a.counter)])]); } : void 0 }); - }), Ut({}, p, g, h); -} }), Dr = Y({ renderless: Boolean, ...se() }, "VVirtualScrollItem"), Lr = Q()({ name: "VVirtualScrollItem", inheritAttrs: !1, props: Dr(), emits: { "update:height": (e) => !0 }, setup(e, t) { + }), Ht({}, p, g, h); +} }), Dr = H({ renderless: Boolean, ...se() }, "VVirtualScrollItem"), Lr = Q()({ name: "VVirtualScrollItem", inheritAttrs: !1, props: Dr(), emits: { "update:height": (e) => !0 }, setup(e, t) { let { attrs: n, emit: l, slots: a } = t; const { resizeRef: i, contentRect: c } = Al(void 0, "border"); K(() => { - var r; - return (r = c.value) == null ? void 0 : r.height; - }, (r) => { - r != null && l("update:height", r); - }), oe(() => { - var r, o; - return e.renderless ? d(fe, null, [(r = a.default) == null ? void 0 : r.call(a, { itemRef: i })]) : d("div", Z({ ref: i, class: ["v-virtual-scroll__item", e.class], style: e.style }, n), [(o = a.default) == null ? void 0 : o.call(a)]); + var s; + return (s = c.value) == null ? void 0 : s.height; + }, (s) => { + s != null && l("update:height", s); + }), ae(() => { + var s, o; + return e.renderless ? d(fe, null, [(s = a.default) == null ? void 0 : s.call(a, { itemRef: i })]) : d("div", Z({ ref: i, class: ["v-virtual-scroll__item", e.class], style: e.style }, n), [(o = a.default) == null ? void 0 : o.call(a)]); }); -} }), Mr = Y({ itemHeight: { type: [Number, String], default: null }, height: [Number, String] }, "virtual"); -function Wr(e, t) { +} }), Wr = H({ itemHeight: { type: [Number, String], default: null }, height: [Number, String] }, "virtual"); +function Mr(e, t) { const n = Na(), l = re(0); Ge(() => { l.value = parseFloat(e.itemHeight || 0); }); - const a = re(0), i = re(Math.ceil((parseInt(e.height) || n.height.value) / (l.value || 16)) || 1), c = re(0), r = re(0), o = N(), s = N(); - let m = 0; - const { resizeRef: y, contentRect: f } = Al(); + const a = re(0), i = re(Math.ceil((parseInt(e.height) || n.height.value) / (l.value || 16)) || 1), c = re(0), s = re(0), o = M(), r = M(); + let y = 0; + const { resizeRef: m, contentRect: f } = Al(); Ge(() => { - y.value = o.value; + m.value = o.value; }); const p = v(() => { - var w; - return o.value === document.documentElement ? n.height.value : ((w = f.value) == null ? void 0 : w.height) || parseInt(e.height) || 0; - }), g = v(() => !!(o.value && s.value && p.value && l.value)), h = /* @__PURE__ */ new Map(); - let b = Array.from({ length: t.value.length }); - const I = Array.from({ length: t.value.length }), $ = re(0); - let F = -1; - function H(w) { - return b[w] || l.value; - } - const T = function(w, _) { - let D = 0; + var I; + return o.value === document.documentElement ? n.height.value : ((I = f.value) == null ? void 0 : I.height) || parseInt(e.height) || 0; + }), g = v(() => !!(o.value && r.value && p.value && l.value)); + let h = Array.from({ length: t.value.length }), b = Array.from({ length: t.value.length }); + const B = re(0); + let V = -1; + function _(I) { + return h[I] || l.value; + } + const U = function(I, P) { + let $ = 0; const W = function() { - for (var O = arguments.length, L = new Array(O), U = 0; U < O; U++) - L[U] = arguments[U]; - clearTimeout(D), D = setTimeout(() => w(...L), u(_)); + for (var j = arguments.length, F = new Array(j), L = 0; L < j; L++) + F[L] = arguments[L]; + clearTimeout($), $ = setTimeout(() => I(...F), u(P)); }; return W.clear = () => { - clearTimeout(D); - }, W.immediate = w, W; + clearTimeout($); + }, W.immediate = I, W; }(() => { - const w = performance.now(); - I[0] = 0; - const _ = t.value.length; - for (let D = 1; D <= _ - 1; D++) - I[D] = (I[D - 1] || 0) + H(D - 1); - $.value = Math.max($.value, performance.now() - w); - }, $), M = K(g, (w) => { - w && (M(), m = s.value.offsetTop, T.immediate(), A(), ~F && Ie(() => { + const I = performance.now(); + b[0] = 0; + const P = t.value.length; + for (let $ = 1; $ <= P - 1; $++) + b[$] = (b[$ - 1] || 0) + _($ - 1); + B.value = Math.max(B.value, performance.now() - I); + }, B), z = K(g, (I) => { + I && (z(), y = r.value.offsetTop, U.immediate(), k(), ~V && Ie(() => { $e && window.requestAnimationFrame(() => { - G(F), F = -1; + N(V), V = -1; }); })); }); - function R(w) { - return w = An(w, 0, t.value.length - 1), I[w] || 0; + function D(I) { + return I = An(I, 0, t.value.length - 1), b[I] || 0; } - function B(w) { - return function(_, D) { - let W = _.length - 1, O = 0, L = 0, U = null, S = -1; - if (_[W] < D) + function R(I) { + return function(P, $) { + let W = P.length - 1, j = 0, F = 0, L = null, Y = -1; + if (P[W] < $) return W; - for (; O <= W; ) - if (L = O + W >> 1, U = _[L], U > D) - W = L - 1; + for (; j <= W; ) + if (F = j + W >> 1, L = P[F], L > $) + W = F - 1; else { - if (!(U < D)) - return U === D ? L : O; - S = L, O = L + 1; + if (!(L < $)) + return L === $ ? F : j; + Y = F, j = F + 1; } - return S; - }(I, w); + return Y; + }(b, I); } - K(p, (w, _) => { - _ && A(); - }), Be(() => { - T.clear(); + K(p, (I, P) => { + P && k(); + }), ke(() => { + U.clear(); }); - let x = 0, E = 0, C = 0, V = -1; - function A() { - cancelAnimationFrame(V), V = requestAnimationFrame(j); + let E = 0, S = 0, O = 0, C = -1; + function k() { + cancelAnimationFrame(C), C = requestAnimationFrame(A); } - function j() { + function A() { if (!o.value || !p.value) return; - const w = x - m, _ = Math.sign(E), D = An(B(Math.max(0, w - 100)), 0, t.value.length), W = An(B(w + p.value + 100) + 1, D + 1, t.value.length); - if ((_ !== -1 || D < a.value) && (_ !== 1 || W > i.value)) { - const O = R(a.value) - R(D), L = R(W) - R(i.value); - Math.max(O, L) > 100 ? (a.value = D, i.value = W) : (D <= 0 && (a.value = D), W >= t.value.length && (i.value = W)); + const I = E - y, P = Math.sign(S), $ = An(R(Math.max(0, I - 100)), 0, t.value.length), W = An(R(I + p.value + 100) + 1, $ + 1, t.value.length); + if ((P !== -1 || $ < a.value) && (P !== 1 || W > i.value)) { + const j = D(a.value) - D($), F = D(W) - D(i.value); + Math.max(j, F) > 100 ? (a.value = $, i.value = W) : ($ <= 0 && (a.value = $), W >= t.value.length && (i.value = W)); } - c.value = R(a.value), r.value = R(t.value.length) - R(i.value); - } - function G(w) { - const _ = R(w); - !o.value || w && !_ ? F = w : o.value.scrollTop = _; - } - const k = v(() => t.value.slice(a.value, i.value).map((w, _) => ({ raw: w, index: _ + a.value }))); - return K(() => t.value.length, () => { - b = function(w) { - let _ = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0; - return Array.from({ length: w }, (D, W) => _ + W); - }(t.value.length).map(() => l.value), h.forEach((w, _) => { - const D = t.value.indexOf(_); - D === -1 ? h.delete(_) : b[D] = w; - }), A(); - }), { containerRef: o, markerRef: s, computedItems: k, paddingTop: c, paddingBottom: r, scrollToIndex: G, handleScroll: function() { - if (!o.value || !s.value) + c.value = D(a.value), s.value = D(t.value.length) - D(i.value); + } + function N(I) { + const P = D(I); + !o.value || I && !P ? V = I : o.value.scrollTop = P; + } + const q = v(() => t.value.slice(a.value, i.value).map((I, P) => ({ raw: I, index: P + a.value }))); + return K(t, () => { + h = Array.from({ length: t.value.length }), b = Array.from({ length: t.value.length }), U.immediate(), k(); + }, { deep: !0 }), { containerRef: o, markerRef: r, computedItems: q, paddingTop: c, paddingBottom: s, scrollToIndex: N, handleScroll: function() { + if (!o.value || !r.value) return; - const w = o.value.scrollTop, _ = performance.now(); - _ - C > 500 ? (E = Math.sign(w - x), m = s.value.offsetTop) : E = w - x, x = w, C = _, A(); + const I = o.value.scrollTop, P = performance.now(); + P - O > 500 ? (S = Math.sign(I - E), y = r.value.offsetTop) : S = I - E, E = I, O = P, k(); }, handleScrollend: function() { - o.value && s.value && (E = 0, C = 0, A()); - }, handleItemResize: function(w, _) { - const D = b[w], W = l.value; - l.value = W ? Math.min(l.value, _) : _, D === _ && W === l.value || (b[w] = _, h.set(t.value[w], _), T()); + o.value && r.value && (S = 0, O = 0, k()); + }, handleItemResize: function(I, P) { + const $ = h[I], W = l.value; + l.value = W ? Math.min(l.value, P) : P, $ === P && W === l.value || (h[I] = P, U()); } }; } -const Rr = Y({ items: { type: Array, default: () => [] }, renderless: Boolean, ...Mr(), ...se(), ...Cn() }, "VVirtualScroll"), Nr = Q()({ name: "VVirtualScroll", props: Rr(), setup(e, t) { +const Rr = H({ items: { type: Array, default: () => [] }, renderless: Boolean, ...Wr(), ...se(), ...Cn() }, "VVirtualScroll"), Nr = Q()({ name: "VVirtualScroll", props: Rr(), setup(e, t) { let { slots: n } = t; - const l = Fe("VVirtualScroll"), { dimensionStyles: a } = In(e), { containerRef: i, markerRef: c, handleScroll: r, handleScrollend: o, handleItemResize: s, scrollToIndex: m, paddingTop: y, paddingBottom: f, computedItems: p } = Wr(e, ne(e, "items")); + const l = Se("VVirtualScroll"), { dimensionStyles: a } = In(e), { containerRef: i, markerRef: c, handleScroll: s, handleScrollend: o, handleItemResize: r, scrollToIndex: y, paddingTop: m, paddingBottom: f, computedItems: p } = Mr(e, ne(e, "items")); return fn(() => e.renderless, () => { function g() { - var b, I; + var b, B; const h = arguments.length > 0 && arguments[0] !== void 0 && arguments[0] ? "addEventListener" : "removeEventListener"; - i.value === document.documentElement ? (document[h]("scroll", r, { passive: !0 }), document[h]("scrollend", o)) : ((b = i.value) == null || b[h]("scroll", r, { passive: !0 }), (I = i.value) == null || I[h]("scrollend", o)); + i.value === document.documentElement ? (document[h]("scroll", s, { passive: !0 }), document[h]("scrollend", o)) : ((b = i.value) == null || b[h]("scroll", s, { passive: !0 }), (B = i.value) == null || B[h]("scrollend", o)); } - Wn(() => { + Mn(() => { i.value = Zo(l.vnode.el, !0), g(!0); - }), Be(g); - }), oe(() => { - const g = p.value.map((h) => d(Lr, { key: h.index, renderless: e.renderless, "onUpdate:height": (b) => s(h.index, b) }, { default: (b) => { - var I; - return (I = n.default) == null ? void 0 : I.call(n, { item: h.raw, index: h.index, ...b }); + }), ke(g); + }), ae(() => { + const g = p.value.map((h) => d(Lr, { key: h.index, renderless: e.renderless, "onUpdate:height": (b) => r(h.index, b) }, { default: (b) => { + var B; + return (B = n.default) == null ? void 0 : B.call(n, { item: h.raw, index: h.index, ...b }); } })); - return e.renderless ? d(fe, null, [d("div", { ref: c, class: "v-virtual-scroll__spacer", style: { paddingTop: te(y.value) } }, null), g, d("div", { class: "v-virtual-scroll__spacer", style: { paddingBottom: te(f.value) } }, null)]) : d("div", { ref: i, class: ["v-virtual-scroll", e.class], onScrollPassive: r, onScrollend: o, style: [a.value, e.style] }, [d("div", { ref: c, class: "v-virtual-scroll__container", style: { paddingTop: te(y.value), paddingBottom: te(f.value) } }, [g])]); - }), { scrollToIndex: m }; + return e.renderless ? d(fe, null, [d("div", { ref: c, class: "v-virtual-scroll__spacer", style: { paddingTop: te(m.value) } }, null), g, d("div", { class: "v-virtual-scroll__spacer", style: { paddingBottom: te(f.value) } }, null)]) : d("div", { ref: i, class: ["v-virtual-scroll", e.class], onScrollPassive: s, onScrollend: o, style: [a.value, e.style] }, [d("div", { ref: c, class: "v-virtual-scroll__container", style: { paddingTop: te(m.value), paddingBottom: te(f.value) } }, [g])]); + }), { scrollToIndex: y }; } }); function jr(e, t) { const n = re(!1); @@ -2776,291 +2775,291 @@ function jr(e, t) { }); }); }, onListKeydown: async function(a) { - var r, o; - if (a.key === "Tab" && ((r = t.value) == null || r.focus()), !["PageDown", "PageUp", "Home", "End"].includes(a.key)) + var s, o; + if (a.key === "Tab" && ((s = t.value) == null || s.focus()), !["PageDown", "PageUp", "Home", "End"].includes(a.key)) return; const i = (o = e.value) == null ? void 0 : o.$el; if (!i) return; a.key !== "Home" && a.key !== "End" || i.scrollTo({ top: a.key === "Home" ? 0 : i.scrollHeight, behavior: "smooth" }), await async function() { - await new Promise((s) => requestAnimationFrame(s)), await new Promise((s) => requestAnimationFrame(s)), await new Promise((s) => requestAnimationFrame(s)), await new Promise((s) => { + await new Promise((r) => requestAnimationFrame(r)), await new Promise((r) => requestAnimationFrame(r)), await new Promise((r) => requestAnimationFrame(r)), await new Promise((r) => { if (n.value) { - const m = K(n, () => { - m(), s(); + const y = K(n, () => { + y(), r(); }); } else - s(); + r(); }); }(); const c = i.querySelectorAll(":scope > :not(.v-virtual-scroll__spacer)"); if (a.key === "PageDown" || a.key === "Home") { - const s = i.getBoundingClientRect().top; - for (const m of c) - if (m.getBoundingClientRect().top >= s) { - m.focus(); + const r = i.getBoundingClientRect().top; + for (const y of c) + if (y.getBoundingClientRect().top >= r) { + y.focus(); break; } } else { - const s = i.getBoundingClientRect().bottom; - for (const m of [...c].reverse()) - if (m.getBoundingClientRect().bottom <= s) { - m.focus(); + const r = i.getBoundingClientRect().bottom; + for (const y of [...c].reverse()) + if (y.getBoundingClientRect().bottom <= r) { + y.focus(); break; } } } }; } -const Gr = Y({ chips: Boolean, closableChips: Boolean, closeText: { type: String, default: "$vuetify.close" }, openText: { type: String, default: "$vuetify.open" }, eager: Boolean, hideNoData: Boolean, hideSelected: Boolean, menu: Boolean, menuIcon: { type: ce, default: "$dropdown" }, menuProps: { type: Object }, multiple: Boolean, noDataText: { type: String, default: "$vuetify.noDataText" }, openOnClear: Boolean, itemColor: String, ...La({ itemChildren: !1 }) }, "Select"), qr = Y({ ...Gr(), ...bn(Ya({ modelValue: null, role: "button" }), ["validationValue", "dirty", "appendInnerIcon"]), ...ut({ transition: { component: ta } }) }, "VSelect"), Hr = Q()({ name: "VSelect", props: qr(), emits: { "update:focused": (e) => !0, "update:modelValue": (e) => !0, "update:menu": (e) => !0 }, setup(e, t) { +const Gr = H({ chips: Boolean, closableChips: Boolean, closeText: { type: String, default: "$vuetify.close" }, openText: { type: String, default: "$vuetify.open" }, eager: Boolean, hideNoData: Boolean, hideSelected: Boolean, menu: Boolean, menuIcon: { type: ce, default: "$dropdown" }, menuProps: { type: Object }, multiple: Boolean, noDataText: { type: String, default: "$vuetify.noDataText" }, openOnClear: Boolean, itemColor: String, ...La({ itemChildren: !1 }) }, "Select"), qr = H({ ...Gr(), ...bn(Ya({ modelValue: null, role: "button" }), ["validationValue", "dirty", "appendInnerIcon"]), ...ut({ transition: { component: ta } }) }, "VSelect"), Ur = Q()({ name: "VSelect", props: qr(), emits: { "update:focused": (e) => !0, "update:modelValue": (e) => !0, "update:menu": (e) => !0 }, setup(e, t) { let { slots: n } = t; - const { t: l } = _l(), a = N(), i = N(), c = N(), r = me(e, "menu"), o = v({ get: () => r.value, set: (k) => { - var w; - r.value && !k && ((w = i.value) != null && w.ΨopenChildren) || (r.value = k); - } }), { items: s, transformIn: m, transformOut: y } = function(k) { - const w = v(() => Ma(k, k.items)), _ = v(() => w.value.some((D) => D.value === null)); - return { items: w, transformIn: function(D) { - return _.value || (D = D.filter((W) => W !== null)), D.map((W) => k.returnObject && typeof W == "string" ? vl(k, W) : w.value.find((O) => k.valueComparator(W, O.value)) || vl(k, W)); - }, transformOut: function(D) { - return k.returnObject ? D.map((W) => { - let { raw: O } = W; - return O; - }) : D.map((W) => { - let { value: O } = W; - return O; + const { t: l } = _l(), a = M(), i = M(), c = M(), s = me(e, "menu"), o = v({ get: () => s.value, set: (I) => { + var P; + s.value && !I && ((P = i.value) != null && P.ΨopenChildren) || (s.value = I); + } }), { items: r, transformIn: y, transformOut: m } = function(I) { + const P = v(() => Wa(I, I.items)), $ = v(() => P.value.some((W) => W.value === null)); + return { items: P, transformIn: function(W) { + return $.value || (W = W.filter((j) => j !== null)), W.map((j) => I.returnObject && typeof j == "string" ? vl(I, j) : P.value.find((F) => I.valueComparator(j, F.value)) || vl(I, j)); + }, transformOut: function(W) { + return I.returnObject ? W.map((j) => { + let { raw: F } = j; + return F; + }) : W.map((j) => { + let { value: F } = j; + return F; }); } }; - }(e), f = me(e, "modelValue", [], (k) => m(k === null ? [null] : ln(k)), (k) => { - const w = y(k); - return e.multiple ? w : w[0] ?? null; - }), p = _a(), g = v(() => f.value.map((k) => k.value)), h = re(!1), b = v(() => o.value ? e.closeText : e.openText); - let I, $ = ""; - const F = v(() => e.hideSelected ? s.value.filter((k) => !f.value.some((w) => w === k)) : s.value), H = v(() => e.hideNoData && !s.value.length || e.readonly || (p == null ? void 0 : p.isReadonly.value)), T = N(), { onListScroll: M, onListKeydown: R } = jr(T, a); - function B(k) { + }(e), f = me(e, "modelValue", [], (I) => y(I === null ? [null] : Ke(I)), (I) => { + const P = m(I); + return e.multiple ? P : P[0] ?? null; + }), p = _a(), g = v(() => f.value.map((I) => I.value)), h = re(!1), b = v(() => o.value ? e.closeText : e.openText); + let B, V = ""; + const _ = v(() => e.hideSelected ? r.value.filter((I) => !f.value.some((P) => P === I)) : r.value), U = v(() => e.hideNoData && !r.value.length || e.readonly || (p == null ? void 0 : p.isReadonly.value)), z = M(), { onListScroll: D, onListKeydown: R } = jr(z, a); + function E(I) { e.openOnClear && (o.value = !0); } - function x() { - H.value || (o.value = !o.value); + function S() { + U.value || (o.value = !o.value); } - function E(k) { - var D, W; - if (!k.key || e.readonly || p != null && p.isReadonly.value || (["Enter", " ", "ArrowDown", "ArrowUp", "Home", "End"].includes(k.key) && k.preventDefault(), ["Enter", "ArrowDown", " "].includes(k.key) && (o.value = !0), ["Escape", "Tab"].includes(k.key) && (o.value = !1), k.key === "Home" ? (D = T.value) == null || D.focus("first") : k.key === "End" && ((W = T.value) == null || W.focus("last")), e.multiple || !function(O) { - const L = O.key.length === 1, U = !O.ctrlKey && !O.metaKey && !O.altKey; - return L && U; - }(k))) + function O(I) { + var W, j; + if (!I.key || e.readonly || p != null && p.isReadonly.value || (["Enter", " ", "ArrowDown", "ArrowUp", "Home", "End"].includes(I.key) && I.preventDefault(), ["Enter", "ArrowDown", " "].includes(I.key) && (o.value = !0), ["Escape", "Tab"].includes(I.key) && (o.value = !1), I.key === "Home" ? (W = z.value) == null || W.focus("first") : I.key === "End" && ((j = z.value) == null || j.focus("last")), e.multiple || !function(F) { + const L = F.key.length === 1, Y = !F.ctrlKey && !F.metaKey && !F.altKey; + return L && Y; + }(I))) return; - const w = performance.now(); - w - I > 1e3 && ($ = ""), $ += k.key.toLowerCase(), I = w; - const _ = s.value.find((O) => O.title.toLowerCase().startsWith($)); - _ !== void 0 && (f.value = [_]); + const P = performance.now(); + P - B > 1e3 && (V = ""), V += I.key.toLowerCase(), B = P; + const $ = r.value.find((F) => F.title.toLowerCase().startsWith(V)); + $ !== void 0 && (f.value = [$]); } - function C(k) { + function C(I) { if (e.multiple) { - const w = f.value.findIndex((_) => e.valueComparator(_.value, k.value)); - if (w === -1) - f.value = [...f.value, k]; + const P = f.value.findIndex(($) => e.valueComparator($.value, I.value)); + if (P === -1) + f.value = [...f.value, I]; else { - const _ = [...f.value]; - _.splice(w, 1), f.value = _; + const $ = [...f.value]; + $.splice(P, 1), f.value = $; } } else - f.value = [k], o.value = !1; + f.value = [I], o.value = !1; } - function V(k) { - var w; - (w = T.value) != null && w.$el.contains(k.relatedTarget) || (o.value = !1); + function k(I) { + var P; + (P = z.value) != null && P.$el.contains(I.relatedTarget) || (o.value = !1); } function A() { - var k; - h.value && ((k = a.value) == null || k.focus()); + var I; + h.value && ((I = a.value) == null || I.focus()); } - function j(k) { + function N(I) { h.value = !0; } - function G(k) { - if (k == null) + function q(I) { + if (I == null) f.value = []; else if (At(a.value, ":autofill") || At(a.value, ":-webkit-autofill")) { - const w = s.value.find((_) => _.title === k); - w && C(w); + const P = r.value.find(($) => $.title === I); + P && C(P); } else a.value && (a.value.value = ""); } return K(o, () => { if (!e.hideSelected && o.value && f.value.length) { - const k = F.value.findIndex((w) => f.value.some((_) => e.valueComparator(_.value, w.value))); + const I = _.value.findIndex((P) => f.value.some(($) => e.valueComparator($.value, P.value))); $e && window.requestAnimationFrame(() => { - var w; - k >= 0 && ((w = c.value) == null || w.scrollToIndex(k)); + var P; + I >= 0 && ((P = c.value) == null || P.scrollToIndex(I)); }); } - }), oe(() => { - const k = !(!e.chips && !n.chip), w = !!(!e.hideNoData || F.value.length || n["prepend-item"] || n["append-item"] || n["no-data"]), _ = f.value.length > 0, D = gl.filterProps(e), W = _ || !h.value && e.label && !e.persistentPlaceholder ? void 0 : e.placeholder; - return d(gl, Z({ ref: a }, D, { modelValue: f.value.map((O) => O.props.value).join(", "), "onUpdate:modelValue": G, focused: h.value, "onUpdate:focused": (O) => h.value = O, validationValue: f.externalValue, counterValue: f.value.length, dirty: _, class: ["v-select", { "v-select--active-menu": o.value, "v-select--chips": !!e.chips, ["v-select--" + (e.multiple ? "multiple" : "single")]: !0, "v-select--selected": f.value.length, "v-select--selection-slot": !!n.selection }, e.class], style: e.style, inputmode: "none", placeholder: W, "onClick:clear": B, "onMousedown:control": x, onBlur: V, onKeydown: E, "aria-label": l(b.value), title: l(b.value) }), { ...n, default: () => d(fe, null, [d(Pr, Z({ ref: i, modelValue: o.value, "onUpdate:modelValue": (O) => o.value = O, activator: "parent", contentClass: "v-select__content", disabled: H.value, eager: e.eager, maxHeight: 310, openOnClick: !1, closeOnContentClick: !1, transition: e.transition, onAfterLeave: A }, e.menuProps), { default: () => [w && d(Cr, { ref: T, selected: g.value, selectStrategy: e.multiple ? "independent" : "single-independent", onMousedown: (O) => O.preventDefault(), onKeydown: R, onFocusin: j, onScrollPassive: M, tabindex: "-1", color: e.itemColor ?? e.color }, { default: () => { - var O, L, U; - return [(O = n["prepend-item"]) == null ? void 0 : O.call(n), !F.value.length && !e.hideNoData && (((L = n["no-data"]) == null ? void 0 : L.call(n)) ?? d(zt, { title: l(e.noDataText) }, null)), d(Nr, { ref: c, renderless: !0, items: F.value }, { default: (S) => { - var le; - let { item: P, index: z, itemRef: q } = S; - const X = Z(P.props, { ref: q, key: z, onClick: () => C(P) }); - return ((le = n.item) == null ? void 0 : le.call(n, { item: P, index: z, props: X })) ?? d(zt, X, { prepend: (be) => { + }), ae(() => { + const I = !(!e.chips && !n.chip), P = !!(!e.hideNoData || _.value.length || n["prepend-item"] || n["append-item"] || n["no-data"]), $ = f.value.length > 0, W = gl.filterProps(e), j = $ || !h.value && e.label && !e.persistentPlaceholder ? void 0 : e.placeholder; + return d(gl, Z({ ref: a }, W, { modelValue: f.value.map((F) => F.props.value).join(", "), "onUpdate:modelValue": q, focused: h.value, "onUpdate:focused": (F) => h.value = F, validationValue: f.externalValue, counterValue: f.value.length, dirty: $, class: ["v-select", { "v-select--active-menu": o.value, "v-select--chips": !!e.chips, ["v-select--" + (e.multiple ? "multiple" : "single")]: !0, "v-select--selected": f.value.length, "v-select--selection-slot": !!n.selection }, e.class], style: e.style, inputmode: "none", placeholder: j, "onClick:clear": E, "onMousedown:control": S, onBlur: k, onKeydown: O, "aria-label": l(b.value), title: l(b.value) }), { ...n, default: () => d(fe, null, [d(Pr, Z({ ref: i, modelValue: o.value, "onUpdate:modelValue": (F) => o.value = F, activator: "parent", contentClass: "v-select__content", disabled: U.value, eager: e.eager, maxHeight: 310, openOnClick: !1, closeOnContentClick: !1, transition: e.transition, onAfterLeave: A }, e.menuProps), { default: () => [P && d(Cr, { ref: z, selected: g.value, selectStrategy: e.multiple ? "independent" : "single-independent", onMousedown: (F) => F.preventDefault(), onKeydown: R, onFocusin: N, onScrollPassive: D, tabindex: "-1", color: e.itemColor ?? e.color }, { default: () => { + var F, L, Y; + return [(F = n["prepend-item"]) == null ? void 0 : F.call(n), !_.value.length && !e.hideNoData && (((L = n["no-data"]) == null ? void 0 : L.call(n)) ?? d(zt, { title: l(e.noDataText) }, null)), d(Nr, { ref: c, renderless: !0, items: _.value }, { default: (x) => { + var oe; + let { item: w, index: T, itemRef: G } = x; + const X = Z(w.props, { ref: G, key: T, onClick: () => C(w) }); + return ((oe = n.item) == null ? void 0 : oe.call(n, { item: w, index: T, props: X })) ?? d(zt, X, { prepend: (be) => { let { isSelected: Ve } = be; - return d(fe, null, [e.multiple && !e.hideSelected ? d(cl, { key: P.value, modelValue: Ve, ripple: !1, tabindex: "-1" }, null) : void 0, P.props.prependIcon && d(de, { icon: P.props.prependIcon }, null)]); + return d(fe, null, [e.multiple && !e.hideSelected ? d(cl, { key: w.value, modelValue: Ve, ripple: !1, tabindex: "-1" }, null) : void 0, w.props.prependIcon && d(de, { icon: w.props.prependIcon }, null)]); } }); - } }), (U = n["append-item"]) == null ? void 0 : U.call(n)]; - } })] }), f.value.map((O, L) => { - const U = { "onClick:close": function(z) { - z.stopPropagation(), z.preventDefault(), C(O); - }, onMousedown(z) { - z.preventDefault(), z.stopPropagation(); - }, modelValue: !0, "onUpdate:modelValue": void 0 }, S = k ? !!n.chip : !!n.selection, P = S ? Ho(k ? n.chip({ item: O, index: L, props: U }) : n.selection({ item: O, index: L })) : void 0; - if (!S || P) - return d("div", { key: O.value, class: "v-select__selection" }, [k ? n.chip ? d(ke, { key: "chip-defaults", defaults: { VChip: { closable: e.closableChips, size: "small", text: O.title } } }, { default: () => [P] }) : d(lr, Z({ key: "chip", closable: e.closableChips, size: "small", text: O.title, disabled: O.props.disabled }, U), null) : P ?? d("span", { class: "v-select__selection-text" }, [O.title, e.multiple && L < f.value.length - 1 && d("span", { class: "v-select__selection-comma" }, [Lo(",")])])]); + } }), (Y = n["append-item"]) == null ? void 0 : Y.call(n)]; + } })] }), f.value.map((F, L) => { + const Y = { "onClick:close": function(T) { + T.stopPropagation(), T.preventDefault(), C(F); + }, onMousedown(T) { + T.preventDefault(), T.stopPropagation(); + }, modelValue: !0, "onUpdate:modelValue": void 0 }, x = I ? !!n.chip : !!n.selection, w = x ? Uo(I ? n.chip({ item: F, index: L, props: Y }) : n.selection({ item: F, index: L })) : void 0; + if (!x || w) + return d("div", { key: F.value, class: "v-select__selection" }, [I ? n.chip ? d(we, { key: "chip-defaults", defaults: { VChip: { closable: e.closableChips, size: "small", text: F.title } } }, { default: () => [w] }) : d(lr, Z({ key: "chip", closable: e.closableChips, size: "small", text: F.title, disabled: F.props.disabled }, Y), null) : w ?? d("span", { class: "v-select__selection-text" }, [F.title, e.multiple && L < f.value.length - 1 && d("span", { class: "v-select__selection-comma" }, [Lo(",")])])]); })]), "append-inner": function() { - var S; - for (var O = arguments.length, L = new Array(O), U = 0; U < O; U++) - L[U] = arguments[U]; - return d(fe, null, [(S = n["append-inner"]) == null ? void 0 : S.call(n, ...L), e.menuIcon ? d(de, { class: "v-select__menu-icon", icon: e.menuIcon }, null) : void 0]); + var x; + for (var F = arguments.length, L = new Array(F), Y = 0; Y < F; Y++) + L[Y] = arguments[Y]; + return d(fe, null, [(x = n["append-inner"]) == null ? void 0 : x.call(n, ...L), e.menuIcon ? d(de, { class: "v-select__menu-icon", icon: e.menuIcon }, null) : void 0]); } }); - }), Ut({ isFocused: h, menu: o, select: C }, a); -} }), Ur = Q()({ name: "VCardActions", props: se(), setup(e, t) { + }), Ht({ isFocused: h, menu: o, select: C }, a); +} }), Hr = Q()({ name: "VCardActions", props: se(), setup(e, t) { let { slots: n } = t; - return Rn({ VBtn: { slim: !0, variant: "text" } }), oe(() => { + return Rn({ VBtn: { slim: !0, variant: "text" } }), ae(() => { var l; return d("div", { class: ["v-card-actions", e.class], style: e.style }, [(l = n.default) == null ? void 0 : l.call(n)]); }), {}; -} }), Yr = rt("v-card-subtitle"), Xr = rt("v-card-title"), Kr = Y({ appendAvatar: String, appendIcon: ce, prependAvatar: String, prependIcon: ce, subtitle: String, title: String, ...se(), ...He() }, "VCardItem"), Jr = Q()({ name: "VCardItem", props: Kr(), setup(e, t) { +} }), Yr = rt("v-card-subtitle"), Xr = rt("v-card-title"), Kr = H({ appendAvatar: String, appendIcon: ce, prependAvatar: String, prependIcon: ce, subtitle: String, title: String, ...se(), ...Ue() }, "VCardItem"), Jr = Q()({ name: "VCardItem", props: Kr(), setup(e, t) { let { slots: n } = t; - return oe(() => { - var s; - const l = !(!e.prependAvatar && !e.prependIcon), a = !(!l && !n.prepend), i = !(!e.appendAvatar && !e.appendIcon), c = !(!i && !n.append), r = !(!e.title && !n.title), o = !(!e.subtitle && !n.subtitle); - return d("div", { class: ["v-card-item", e.class], style: e.style }, [a && d("div", { key: "prepend", class: "v-card-item__prepend" }, [n.prepend ? d(ke, { key: "prepend-defaults", disabled: !l, defaults: { VAvatar: { density: e.density, icon: e.prependIcon, image: e.prependAvatar } } }, n.prepend) : l && d(Ln, { key: "prepend-avatar", density: e.density, icon: e.prependIcon, image: e.prependAvatar }, null)]), d("div", { class: "v-card-item__content" }, [r && d(Xr, { key: "title" }, { default: () => { - var m; - return [((m = n.title) == null ? void 0 : m.call(n)) ?? e.title]; + return ae(() => { + var r; + const l = !(!e.prependAvatar && !e.prependIcon), a = !(!l && !n.prepend), i = !(!e.appendAvatar && !e.appendIcon), c = !(!i && !n.append), s = !(!e.title && !n.title), o = !(!e.subtitle && !n.subtitle); + return d("div", { class: ["v-card-item", e.class], style: e.style }, [a && d("div", { key: "prepend", class: "v-card-item__prepend" }, [n.prepend ? d(we, { key: "prepend-defaults", disabled: !l, defaults: { VAvatar: { density: e.density, icon: e.prependIcon, image: e.prependAvatar } } }, n.prepend) : l && d(Ln, { key: "prepend-avatar", density: e.density, icon: e.prependIcon, image: e.prependAvatar }, null)]), d("div", { class: "v-card-item__content" }, [s && d(Xr, { key: "title" }, { default: () => { + var y; + return [((y = n.title) == null ? void 0 : y.call(n)) ?? e.title]; } }), o && d(Yr, { key: "subtitle" }, { default: () => { - var m; - return [((m = n.subtitle) == null ? void 0 : m.call(n)) ?? e.subtitle]; - } }), (s = n.default) == null ? void 0 : s.call(n)]), c && d("div", { key: "append", class: "v-card-item__append" }, [n.append ? d(ke, { key: "append-defaults", disabled: !i, defaults: { VAvatar: { density: e.density, icon: e.appendIcon, image: e.appendAvatar } } }, n.append) : i && d(Ln, { key: "append-avatar", density: e.density, icon: e.appendIcon, image: e.appendAvatar }, null)])]); + var y; + return [((y = n.subtitle) == null ? void 0 : y.call(n)) ?? e.subtitle]; + } }), (r = n.default) == null ? void 0 : r.call(n)]), c && d("div", { key: "append", class: "v-card-item__append" }, [n.append ? d(we, { key: "append-defaults", disabled: !i, defaults: { VAvatar: { density: e.density, icon: e.appendIcon, image: e.appendAvatar } } }, n.append) : i && d(Ln, { key: "append-avatar", density: e.density, icon: e.appendIcon, image: e.appendAvatar }, null)])]); }), {}; -} }), yn = rt("v-card-text"), Zr = Y({ appendAvatar: String, appendIcon: ce, disabled: Boolean, flat: Boolean, hover: Boolean, image: String, link: { type: Boolean, default: void 0 }, prependAvatar: String, prependIcon: ce, ripple: { type: [Boolean, Object], default: !0 }, subtitle: String, text: String, title: String, ...Nn(), ...se(), ...He(), ...Cn(), ...Gn(), ...Tl(), ...$l(), ...ya(), ...Ze(), ...Ht(), ...ze(), ...Se(), ...rn({ variant: "elevated" }) }, "VCard"), _n = Q()({ name: "VCard", directives: { Ripple: ft }, props: Zr(), setup(e, t) { +} }), yn = rt("v-card-text"), Zr = H({ appendAvatar: String, appendIcon: ce, disabled: Boolean, flat: Boolean, hover: Boolean, image: String, link: { type: Boolean, default: void 0 }, prependAvatar: String, prependIcon: ce, ripple: { type: [Boolean, Object], default: !0 }, subtitle: String, text: String, title: String, ...Nn(), ...se(), ...Ue(), ...Cn(), ...Gn(), ...Tl(), ...$l(), ...ya(), ...en(), ...Ut(), ...ze(), ...Be(), ...rn({ variant: "elevated" }) }, "VCard"), _n = Q()({ name: "VCard", directives: { Ripple: ft }, props: Zr(), setup(e, t) { let { attrs: n, slots: l } = t; - const { themeClasses: a } = _e(e), { borderClasses: i } = jn(e), { colorClasses: c, colorStyles: r, variantClasses: o } = dt(e), { densityClasses: s } = en(e), { dimensionStyles: m } = In(e), { elevationClasses: y } = qn(e), { loaderClasses: f } = Gt(e), { locationStyles: p } = El(e), { positionClasses: g } = ma(e), { roundedClasses: h } = Qe(e), b = qt(e, n), I = v(() => e.link !== !1 && b.isLink.value), $ = v(() => !e.disabled && e.link !== !1 && (e.link || b.isClickable.value)); - return oe(() => { - const F = I.value ? "a" : e.tag, H = !(!l.title && !e.title), T = !(!l.subtitle && !e.subtitle), M = H || T, R = !!(l.append || e.appendAvatar || e.appendIcon), B = !!(l.prepend || e.prependAvatar || e.prependIcon), x = !(!l.image && !e.image), E = M || B || R, C = !(!l.text && !e.text); - return we(d(F, { class: ["v-card", { "v-card--disabled": e.disabled, "v-card--flat": e.flat, "v-card--hover": e.hover && !(e.disabled || e.flat), "v-card--link": $.value }, a.value, i.value, c.value, s.value, y.value, f.value, g.value, h.value, o.value, e.class], style: [r.value, m.value, p.value, e.style], href: b.href.value, onClick: $.value && b.navigate, tabindex: e.disabled ? -1 : void 0 }, { default: () => { - var V; - return [x && d("div", { key: "image", class: "v-card__image" }, [l.image ? d(ke, { key: "image-defaults", disabled: !e.image, defaults: { VImg: { cover: !0, src: e.image } } }, l.image) : d(ia, { key: "image-img", cover: !0, src: e.image }, null)]), d(zl, { name: "v-card", active: !!e.loading, color: typeof e.loading == "boolean" ? void 0 : e.loading }, { default: l.loader }), E && d(Jr, { key: "item", prependAvatar: e.prependAvatar, prependIcon: e.prependIcon, title: e.title, subtitle: e.subtitle, appendAvatar: e.appendAvatar, appendIcon: e.appendIcon }, { default: l.item, prepend: l.prepend, title: l.title, subtitle: l.subtitle, append: l.append }), C && d(yn, { key: "text" }, { default: () => { + const { themeClasses: a } = _e(e), { borderClasses: i } = jn(e), { colorClasses: c, colorStyles: s, variantClasses: o } = dt(e), { densityClasses: r } = tn(e), { dimensionStyles: y } = In(e), { elevationClasses: m } = qn(e), { loaderClasses: f } = Gt(e), { locationStyles: p } = El(e), { positionClasses: g } = ma(e), { roundedClasses: h } = nn(e), b = qt(e, n), B = v(() => e.link !== !1 && b.isLink.value), V = v(() => !e.disabled && e.link !== !1 && (e.link || b.isClickable.value)); + return ae(() => { + const _ = B.value ? "a" : e.tag, U = !(!l.title && !e.title), z = !(!l.subtitle && !e.subtitle), D = U || z, R = !!(l.append || e.appendAvatar || e.appendIcon), E = !!(l.prepend || e.prependAvatar || e.prependIcon), S = !(!l.image && !e.image), O = D || E || R, C = !(!l.text && !e.text); + return Fe(d(_, { class: ["v-card", { "v-card--disabled": e.disabled, "v-card--flat": e.flat, "v-card--hover": e.hover && !(e.disabled || e.flat), "v-card--link": V.value }, a.value, i.value, c.value, r.value, m.value, f.value, g.value, h.value, o.value, e.class], style: [s.value, y.value, p.value, e.style], href: b.href.value, onClick: V.value && b.navigate, tabindex: e.disabled ? -1 : void 0 }, { default: () => { + var k; + return [S && d("div", { key: "image", class: "v-card__image" }, [l.image ? d(we, { key: "image-defaults", disabled: !e.image, defaults: { VImg: { cover: !0, src: e.image } } }, l.image) : d(ia, { key: "image-img", cover: !0, src: e.image }, null)]), d(zl, { name: "v-card", active: !!e.loading, color: typeof e.loading == "boolean" ? void 0 : e.loading }, { default: l.loader }), O && d(Jr, { key: "item", prependAvatar: e.prependAvatar, prependIcon: e.prependIcon, title: e.title, subtitle: e.subtitle, appendAvatar: e.appendAvatar, appendIcon: e.appendIcon }, { default: l.item, prepend: l.prepend, title: l.title, subtitle: l.subtitle, append: l.append }), C && d(yn, { key: "text" }, { default: () => { var A; return [((A = l.text) == null ? void 0 : A.call(l)) ?? e.text]; - } }), (V = l.default) == null ? void 0 : V.call(l), l.actions && d(Ur, null, { default: l.actions }), ct($.value, "v-card")]; - } }), [[Je("ripple"), $.value && e.ripple]]); + } }), (k = l.default) == null ? void 0 : k.call(l), l.actions && d(Hr, null, { default: l.actions }), ct(V.value, "v-card")]; + } }), [[Qe("ripple"), V.value && e.ripple]]); }), {}; -} }), Qr = Y({ indeterminate: Boolean, inset: Boolean, flat: Boolean, loading: { type: [Boolean, String], default: !1 }, ...mt(), ...Dl() }, "VSwitch"), es = Q()({ name: "VSwitch", inheritAttrs: !1, props: Qr(), emits: { "update:focused": (e) => !0, "update:modelValue": () => !0, "update:indeterminate": (e) => !0 }, setup(e, t) { +} }), Qr = H({ indeterminate: Boolean, inset: Boolean, flat: Boolean, loading: { type: [Boolean, String], default: !1 }, ...mt(), ...Dl() }, "VSwitch"), es = Q()({ name: "VSwitch", inheritAttrs: !1, props: Qr(), emits: { "update:focused": (e) => !0, "update:modelValue": (e) => !0, "update:indeterminate": (e) => !0 }, setup(e, t) { let { attrs: n, slots: l } = t; - const a = me(e, "indeterminate"), i = me(e, "modelValue"), { loaderClasses: c } = Gt(e), { isFocused: r, focus: o, blur: s } = yt(e), m = N(), y = v(() => typeof e.loading == "string" && e.loading !== "" ? e.loading : e.color), f = We(), p = v(() => e.id || `switch-${f}`); + const a = me(e, "indeterminate"), i = me(e, "modelValue"), { loaderClasses: c } = Gt(e), { isFocused: s, focus: o, blur: r } = yt(e), y = M(), m = v(() => typeof e.loading == "string" && e.loading !== "" ? e.loading : e.color), f = Me(), p = v(() => e.id || `switch-${f}`); function g() { a.value && (a.value = !1); } function h(b) { - var I, $; - b.stopPropagation(), b.preventDefault(), ($ = (I = m.value) == null ? void 0 : I.input) == null || $.click(); - } - return oe(() => { - const [b, I] = it(n), $ = on.filterProps(e), F = Tt.filterProps(e); - return d(on, Z({ class: ["v-switch", { "v-switch--inset": e.inset }, { "v-switch--indeterminate": a.value }, c.value, e.class], style: e.style }, b, $, { id: p.value, focused: r.value }), { ...l, default: (H) => { - let { id: T, messagesId: M, isDisabled: R, isReadonly: B, isValid: x } = H; - return d(Tt, Z({ ref: m }, F, { modelValue: i.value, "onUpdate:modelValue": [(E) => i.value = E, g], id: T.value, "aria-describedby": M.value, type: "checkbox", "aria-checked": a.value ? "mixed" : void 0, disabled: R.value, readonly: B.value, onFocus: o, onBlur: s }, I), { ...l, default: (E) => { - let { backgroundColorClasses: C, backgroundColorStyles: V } = E; - return d("div", { class: ["v-switch__track", ...C.value], style: V.value, onClick: h }, null); - }, input: (E) => { - let { inputNode: C, icon: V, backgroundColorClasses: A, backgroundColorStyles: j } = E; - return d(fe, null, [C, d("div", { class: ["v-switch__thumb", { "v-switch__thumb--filled": V || e.loading }, e.inset ? void 0 : A.value], style: e.inset ? void 0 : j.value }, [d(Ai, null, { default: () => [e.loading ? d(zl, { name: "v-switch", active: !0, color: x.value === !1 ? void 0 : y.value }, { default: (G) => l.loader ? l.loader(G) : d(fa, { active: G.isActive, color: G.color, indeterminate: !0, size: "16", width: "2" }, null) }) : V && d(de, { key: V, icon: V, size: "x-small" }, null)] })])]); + var B, V; + b.stopPropagation(), b.preventDefault(), (V = (B = y.value) == null ? void 0 : B.input) == null || V.click(); + } + return ae(() => { + const [b, B] = it(n), V = an.filterProps(e), _ = Tt.filterProps(e); + return d(an, Z({ class: ["v-switch", { "v-switch--inset": e.inset }, { "v-switch--indeterminate": a.value }, c.value, e.class] }, b, V, { modelValue: i.value, "onUpdate:modelValue": (U) => i.value = U, id: p.value, focused: s.value, style: e.style }), { ...l, default: (U) => { + let { id: z, messagesId: D, isDisabled: R, isReadonly: E, isValid: S } = U; + return d(Tt, Z({ ref: y }, _, { modelValue: i.value, "onUpdate:modelValue": [(O) => i.value = O, g], id: z.value, "aria-describedby": D.value, type: "checkbox", "aria-checked": a.value ? "mixed" : void 0, disabled: R.value, readonly: E.value, onFocus: o, onBlur: r }, B), { ...l, default: (O) => { + let { backgroundColorClasses: C, backgroundColorStyles: k } = O; + return d("div", { class: ["v-switch__track", ...C.value], style: k.value, onClick: h }, null); + }, input: (O) => { + let { inputNode: C, icon: k, backgroundColorClasses: A, backgroundColorStyles: N } = O; + return d(fe, null, [C, d("div", { class: ["v-switch__thumb", { "v-switch__thumb--filled": k || e.loading }, e.inset ? void 0 : A.value], style: e.inset ? void 0 : N.value }, [d(Ai, null, { default: () => [e.loading ? d(zl, { name: "v-switch", active: !0, color: S.value === !1 ? void 0 : m.value }, { default: (q) => l.loader ? l.loader(q) : d(fa, { active: q.isActive, color: q.color, indeterminate: !0, size: "16", width: "2" }, null) }) : k && d(de, { key: k, icon: k, size: "x-small" }, null)] })])]); } }); } }); }), {}; -} }), ns = Y({ autoGrow: Boolean, autofocus: Boolean, counter: [Boolean, Number, String], counterValue: Function, prefix: String, placeholder: String, persistentPlaceholder: Boolean, persistentCounter: Boolean, noResize: Boolean, rows: { type: [Number, String], default: 5, validator: (e) => !isNaN(parseFloat(e)) }, maxRows: { type: [Number, String], validator: (e) => !isNaN(parseFloat(e)) }, suffix: String, modelModifiers: Object, ...mt(), ...Ll() }, "VTextarea"), ts = Q()({ name: "VTextarea", directives: { Intersect: Ol }, inheritAttrs: !1, props: ns(), emits: { "click:control": (e) => !0, "mousedown:control": (e) => !0, "update:focused": (e) => !0, "update:modelValue": (e) => !0 }, setup(e, t) { +} }), ns = H({ autoGrow: Boolean, autofocus: Boolean, counter: [Boolean, Number, String], counterValue: Function, prefix: String, placeholder: String, persistentPlaceholder: Boolean, persistentCounter: Boolean, noResize: Boolean, rows: { type: [Number, String], default: 5, validator: (e) => !isNaN(parseFloat(e)) }, maxRows: { type: [Number, String], validator: (e) => !isNaN(parseFloat(e)) }, suffix: String, modelModifiers: Object, ...mt(), ...Ll() }, "VTextarea"), ts = Q()({ name: "VTextarea", directives: { Intersect: Ol }, inheritAttrs: !1, props: ns(), emits: { "click:control": (e) => !0, "mousedown:control": (e) => !0, "update:focused": (e) => !0, "update:modelValue": (e) => !0 }, setup(e, t) { let { attrs: n, emit: l, slots: a } = t; - const i = me(e, "modelValue"), { isFocused: c, focus: r, blur: o } = yt(e), s = v(() => typeof e.counterValue == "function" ? e.counterValue(i.value) : (i.value || "").toString().length), m = v(() => n.maxlength ? n.maxlength : !e.counter || typeof e.counter != "number" && typeof e.counter != "string" ? void 0 : e.counter); - function y(C, V) { - var A, j; - e.autofocus && C && ((j = (A = V[0].target) == null ? void 0 : A.focus) == null || j.call(A)); + const i = me(e, "modelValue"), { isFocused: c, focus: s, blur: o } = yt(e), r = v(() => typeof e.counterValue == "function" ? e.counterValue(i.value) : (i.value || "").toString().length), y = v(() => n.maxlength ? n.maxlength : !e.counter || typeof e.counter != "number" && typeof e.counter != "string" ? void 0 : e.counter); + function m(C, k) { + var A, N; + e.autofocus && C && ((N = (A = k[0].target) == null ? void 0 : A.focus) == null || N.call(A)); } - const f = N(), p = N(), g = re(""), h = N(), b = v(() => e.persistentPlaceholder || c.value || e.active); - function I() { + const f = M(), p = M(), g = re(""), h = M(), b = v(() => e.persistentPlaceholder || c.value || e.active); + function B() { var C; - h.value !== document.activeElement && ((C = h.value) == null || C.focus()), c.value || r(); + h.value !== document.activeElement && ((C = h.value) == null || C.focus()), c.value || s(); } - function $(C) { - I(), l("click:control", C); + function V(C) { + B(), l("click:control", C); } - function F(C) { + function _(C) { l("mousedown:control", C); } - function H(C) { - C.stopPropagation(), I(), Ie(() => { + function U(C) { + C.stopPropagation(), B(), Ie(() => { i.value = "", Go(e["onClick:clear"], C); }); } - function T(C) { + function z(C) { var A; - const V = C.target; - if (i.value = V.value, (A = e.modelModifiers) == null ? void 0 : A.trim) { - const j = [V.selectionStart, V.selectionEnd]; + const k = C.target; + if (i.value = k.value, (A = e.modelModifiers) == null ? void 0 : A.trim) { + const N = [k.selectionStart, k.selectionEnd]; Ie(() => { - V.selectionStart = j[0], V.selectionEnd = j[1]; + k.selectionStart = N[0], k.selectionEnd = N[1]; }); } } - const M = N(), R = N(+e.rows), B = v(() => ["plain", "underlined"].includes(e.variant)); - function x() { + const D = M(), R = M(+e.rows), E = v(() => ["plain", "underlined"].includes(e.variant)); + function S() { e.autoGrow && Ie(() => { - if (!M.value || !p.value) + if (!D.value || !p.value) return; - const C = getComputedStyle(M.value), V = getComputedStyle(p.value.$el), A = parseFloat(C.getPropertyValue("--v-field-padding-top")) + parseFloat(C.getPropertyValue("--v-input-padding-top")) + parseFloat(C.getPropertyValue("--v-field-padding-bottom")), j = M.value.scrollHeight, G = parseFloat(C.lineHeight), k = An(j ?? 0, Math.max(parseFloat(e.rows) * G + A, parseFloat(V.getPropertyValue("--v-input-control-height"))), parseFloat(e.maxRows) * G + A || 1 / 0); - R.value = Math.floor((k - A) / G), g.value = te(k); + const C = getComputedStyle(D.value), k = getComputedStyle(p.value.$el), A = parseFloat(C.getPropertyValue("--v-field-padding-top")) + parseFloat(C.getPropertyValue("--v-input-padding-top")) + parseFloat(C.getPropertyValue("--v-field-padding-bottom")), N = D.value.scrollHeight, q = parseFloat(C.lineHeight), I = An(N ?? 0, Math.max(parseFloat(e.rows) * q + A, parseFloat(k.getPropertyValue("--v-input-control-height"))), parseFloat(e.maxRows) * q + A || 1 / 0); + R.value = Math.floor((I - A) / q), g.value = te(I); }); } - let E; + let O; return Ge(() => { e.autoGrow || (R.value = +e.rows); - }), Wn(x), K(i, x), K(() => e.rows, x), K(() => e.maxRows, x), K(() => e.density, x), K(M, (C) => { - C ? (E = new ResizeObserver(x), E.observe(M.value)) : E == null || E.disconnect(); - }), an(() => { - E == null || E.disconnect(); - }), oe(() => { - const C = !!(a.counter || e.counter || e.counterValue), V = !(!C && !a.details), [A, j] = it(n), { modelValue: G, ...k } = on.filterProps(e), w = Ua(e); - return d(on, Z({ ref: f, modelValue: i.value, "onUpdate:modelValue": (_) => i.value = _, class: ["v-textarea v-text-field", { "v-textarea--prefixed": e.prefix, "v-textarea--suffixed": e.suffix, "v-text-field--prefixed": e.prefix, "v-text-field--suffixed": e.suffix, "v-textarea--auto-grow": e.autoGrow, "v-textarea--no-resize": e.noResize || e.autoGrow, "v-input--plain-underlined": B.value }, e.class], style: e.style }, A, k, { centerAffix: R.value === 1 && !B.value, focused: c.value }), { ...a, default: (_) => { - let { id: D, isDisabled: W, isDirty: O, isReadonly: L, isValid: U } = _; - return d(Ml, Z({ ref: p, style: { "--v-textarea-control-height": g.value }, onClick: $, onMousedown: F, "onClick:clear": H, "onClick:prependInner": e["onClick:prependInner"], "onClick:appendInner": e["onClick:appendInner"] }, w, { id: D.value, active: b.value || O.value, centerAffix: R.value === 1 && !B.value, dirty: O.value || e.dirty, disabled: W.value, focused: c.value, error: U.value === !1 }), { ...a, default: (S) => { - let { props: { class: P, ...z } } = S; - return d(fe, null, [e.prefix && d("span", { class: "v-text-field__prefix" }, [e.prefix]), we(d("textarea", Z({ ref: h, class: P, value: i.value, onInput: T, autofocus: e.autofocus, readonly: L.value, disabled: W.value, placeholder: e.placeholder, rows: e.rows, name: e.name, onFocus: I, onBlur: o }, z, j), null), [[Je("intersect"), { handler: y }, null, { once: !0 }]]), e.autoGrow && we(d("textarea", { class: [P, "v-textarea__sizer"], id: `${z.id}-sizer`, "onUpdate:modelValue": (q) => i.value = q, ref: M, readonly: !0, "aria-hidden": "true" }, null), [[si, i.value]]), e.suffix && d("span", { class: "v-text-field__suffix" }, [e.suffix])]); + }), Mn(S), K(i, S), K(() => e.rows, S), K(() => e.maxRows, S), K(() => e.density, S), K(D, (C) => { + C ? (O = new ResizeObserver(S), O.observe(D.value)) : O == null || O.disconnect(); + }), Ze(() => { + O == null || O.disconnect(); + }), ae(() => { + const C = !!(a.counter || e.counter || e.counterValue), k = !(!C && !a.details), [A, N] = it(n), { modelValue: q, ...I } = an.filterProps(e), P = Ha(e); + return d(an, Z({ ref: f, modelValue: i.value, "onUpdate:modelValue": ($) => i.value = $, class: ["v-textarea v-text-field", { "v-textarea--prefixed": e.prefix, "v-textarea--suffixed": e.suffix, "v-text-field--prefixed": e.prefix, "v-text-field--suffixed": e.suffix, "v-textarea--auto-grow": e.autoGrow, "v-textarea--no-resize": e.noResize || e.autoGrow, "v-input--plain-underlined": E.value }, e.class], style: e.style }, A, I, { centerAffix: R.value === 1 && !E.value, focused: c.value }), { ...a, default: ($) => { + let { id: W, isDisabled: j, isDirty: F, isReadonly: L, isValid: Y } = $; + return d(Wl, Z({ ref: p, style: { "--v-textarea-control-height": g.value }, onClick: V, onMousedown: _, "onClick:clear": U, "onClick:prependInner": e["onClick:prependInner"], "onClick:appendInner": e["onClick:appendInner"] }, P, { id: W.value, active: b.value || F.value, centerAffix: R.value === 1 && !E.value, dirty: F.value || e.dirty, disabled: j.value, focused: c.value, error: Y.value === !1 }), { ...a, default: (x) => { + let { props: { class: w, ...T } } = x; + return d(fe, null, [e.prefix && d("span", { class: "v-text-field__prefix" }, [e.prefix]), Fe(d("textarea", Z({ ref: h, class: w, value: i.value, onInput: z, autofocus: e.autofocus, readonly: L.value, disabled: j.value, placeholder: e.placeholder, rows: e.rows, name: e.name, onFocus: B, onBlur: o }, T, N), null), [[Qe("intersect"), { handler: m }, null, { once: !0 }]]), e.autoGrow && Fe(d("textarea", { class: [w, "v-textarea__sizer"], id: `${T.id}-sizer`, "onUpdate:modelValue": (G) => i.value = G, ref: D, readonly: !0, "aria-hidden": "true" }, null), [[si, i.value]]), e.suffix && d("span", { class: "v-text-field__suffix" }, [e.suffix])]); } }); - }, details: V ? (_) => { - var D; - return d(fe, null, [(D = a.details) == null ? void 0 : D.call(a, _), C && d(fe, null, [d("span", null, null), d(Ha, { active: e.persistentCounter || c.value, value: s.value, max: m.value }, a.counter)])]); + }, details: k ? ($) => { + var W; + return d(fe, null, [(W = a.details) == null ? void 0 : W.call(a, $), C && d(fe, null, [d("span", null, null), d(Ua, { active: e.persistentCounter || c.value, value: r.value, max: y.value }, a.counter)])]); } : void 0 }); - }), Ut({}, f, p, h); + }), Ht({}, f, p, h); } }), Xa = Ne({ __name: "BooleanIcons", props: Pe({ iconFalseColor: {}, iconFalseTitle: {}, iconTrueColor: {}, iconTrueTitle: {}, iconFalse: {}, iconTrue: {} }, { modelValue: {} }), emits: ["update:modelValue"], setup(e) { - const t = e, n = ve(Symbol.for("vuetify:icons")), l = un(e, "modelValue"), a = v(() => Me({ icon: t.iconFalse, iconOptions: n, name: "false" })), i = v(() => Me({ icon: t.iconTrue, iconOptions: n, name: "true" })); - return (c, r) => l.value ? (J(), he(u(de), { key: 0, class: "v-inline-fields--boolean-icons fa-fw", color: c.iconTrueColor, icon: u(i), size: "x-small", title: c.iconTrueTitle }, null, 8, ["color", "icon", "title"])) : (J(), he(u(de), { key: 1, class: "v-inline-fields--boolean-icons fa-fw", color: c.iconFalseColor, icon: u(a), size: "x-small", title: c.iconFalseTitle }, null, 8, ["color", "icon", "title"])); -} }), ie = "v-inline-fields", On = (e) => { - const { field: t = "", density: n = "", disabled: l = !1, iconSet: a = "mdi", loading: i = !1, loadingWait: c, tableField: r = !1, variant: o } = e, s = n && o; - return { [`${ie}`]: !0, [`${ie}--container`]: !0, [`${ie}--container-disabled`]: u(l), [`${ie}--container-table`]: r, [`${ie}--container-icon-set-${a}`]: !0, [`${ie}--container-loading`]: i && c, [`${ie}--container-${t}`]: !0, [`${ie}--container-${t}-${n}`]: !0, [`${ie}--container-${t}-${n}-${o}`]: s, [`${ie}--container-${t}-${o}`]: o, [`${ie}--container-${t}-${o}-${n}`]: s, [`${ie}--container-${n}`]: n, [`${ie}--container-${n}-${t}`]: n, [`${ie}--container-${n}-${o}`]: s, [`${ie}--container-${o}`]: o, [`${ie}--container-${o}-${n}`]: s, [`${ie}--container-${o}-${t}`]: o }; + const t = e, n = ve(Symbol.for("vuetify:icons")), l = un(e, "modelValue"), a = v(() => We({ icon: t.iconFalse, iconOptions: n, name: "false" })), i = v(() => We({ icon: t.iconTrue, iconOptions: n, name: "true" })); + return (c, s) => l.value ? (J(), he(u(de), { key: 0, class: "v-inline-fields--boolean-icons fa-fw", color: c.iconTrueColor, icon: u(i), size: "x-small", title: c.iconTrueTitle }, null, 8, ["color", "icon", "title"])) : (J(), he(u(de), { key: 1, class: "v-inline-fields--boolean-icons fa-fw", color: c.iconFalseColor, icon: u(a), size: "x-small", title: c.iconFalseTitle }, null, 8, ["color", "icon", "title"])); +} }), le = "v-inline-fields", On = (e) => { + const { cell: t = !1, field: n = "", density: l = "", disabled: a = !1, iconSet: i = "mdi", loading: c = !1, loadingWait: s, tableField: o = !1, variant: r } = e, y = l && r; + return { [`${le}`]: !0, [`${le}--container`]: !0, [`${le}--container-cell`]: t, [`${le}--container-disabled`]: u(a), [`${le}--container-table`]: o, [`${le}--container-icon-set-${i}`]: !0, [`${le}--container-loading`]: c && s, [`${le}--container-${n}`]: !0, [`${le}--container-${n}-${l}`]: !0, [`${le}--container-${n}-${l}-${r}`]: y, [`${le}--container-${n}-${r}`]: r, [`${le}--container-${n}-${r}-${l}`]: y, [`${le}--container-${l}`]: l, [`${le}--container-${l}-${n}`]: l, [`${le}--container-${l}-${r}`]: y, [`${le}--container-${r}`]: r, [`${le}--container-${r}-${l}`]: y, [`${le}--container-${r}-${n}`]: r }; }, Pn = (e) => { - const { field: t = "", density: n = "" } = e; - return { [`${ie}--display-container`]: !0, [`${ie}--display-wrapper-value`]: !0, [`${t}`]: !0, "v-input": !0, [`v-input--density-${n}`]: !0, "v-input--horizontal": !0 }; + const { cell: t = !1, cellUnderlineFullWidth: n = !0, field: l = "", density: a = "" } = e; + return { [`${le}--display-container-cell`]: t, [`${le}--display-container-cell-underline-full-width`]: t && n, [`${le}--display-container`]: !0, [`${le}--display-wrapper-value`]: !0, [`${l}`]: !0, "v-input": !0, [`v-input--density-${a}`]: !0, "v-input--horizontal": !0 }; }, Lt = (e) => { const { density: t = "", variant: n = "" } = e; return { "v-input": !0, "v-input--dirty": !0, "v-input--horizontal": !0, "v-text-field": !0, [`v-input--density-${t}`]: !0, [`v-text-field--plain-${n}`]: !0 }; }, Ka = (e) => { const { density: t = "" } = e; - return { [`v-selection-control--density-${t}`]: !0 }; -}, Wl = (e, t, n) => { + return { [`${le}--selection-control`]: !0, [`v-selection-control--density-${t}`]: !0 }; +}, Ml = (e, t, n) => { const { error: l = !1, empty: a = !1 } = n; - return { [`${ie}`]: !0, [`${ie}--display-value-${e}`]: !0, [`${ie}--display-value`]: !0, [`${ie}--display-value-empty`]: u(a), [`text-${t}`]: !u(l), "text-danger": u(l) }; + return { [`${le}`]: !0, [`${le}--display-value-${e}`]: !0, [`${le}--display-value`]: !0, [`${le}--display-value-empty`]: u(a), [`text-${t}`]: !u(l), "text-danger": u(l) }; }, $n = (e) => { const { name: t, active: n = !1 } = e; - return { [`${ie}`]: !0, [`${ie}--field`]: !0, [`${ie}--field-${t}`]: !0, [`${ie}--field-active`]: n }; + return { [`${le}`]: !0, [`${le}--field`]: !0, [`${le}--field-${t}`]: !0, [`${le}--field-active`]: n }; }, En = (e) => { const { name: t, showField: n } = e; - return { [`${ie}--card-container`]: !0, [`${ie}--card-container-${t}`]: !0, "d-none": !n }; + return { [`${le}--card-container`]: !0, [`${le}--card-container-${t}`]: !0, "d-none": !n }; }; function Po(e) { if (!e) @@ -3072,17 +3071,17 @@ function Po(e) { return Number(e) >= 100 ? 100 : Number(e); } function $o(e) { - let t = function(y) { + let t = function(m) { const f = { AliceBlue: "#F0F8FF", AntiqueWhite: "#FAEBD7", Aqua: "#00FFFF", Aquamarine: "#7FFFD4", Azure: "#F0FFFF", Beige: "#F5F5DC", Bisque: "#FFE4C4", Black: "#000000", BlanchedAlmond: "#FFEBCD", Blue: "#0000FF", BlueViolet: "#8A2BE2", Brown: "#A52A2A", BurlyWood: "#DEB887", CadetBlue: "#5F9EA0", Chartreuse: "#7FFF00", Chocolate: "#D2691E", Coral: "#FF7F50", CornflowerBlue: "#6495ED", Cornsilk: "#FFF8DC", Crimson: "#DC143C", Cyan: "#00FFFF", DarkBlue: "#00008B", DarkCyan: "#008B8B", DarkGoldenRod: "#B8860B", DarkGray: "#A9A9A9", DarkGreen: "#006400", DarkGrey: "#A9A9A9", DarkKhaki: "#BDB76B", DarkMagenta: "#8B008B", DarkOliveGreen: "#556B2F", DarkOrange: "#FF8C00", DarkOrchid: "#9932CC", DarkRed: "#8B0000", DarkSalmon: "#E9967A", DarkSeaGreen: "#8FBC8F", DarkSlateBlue: "#483D8B", DarkSlateGray: "#2F4F4F", DarkSlateGrey: "#2F4F4F", DarkTurquoise: "#00CED1", DarkViolet: "#9400D3", DeepPink: "#FF1493", DeepSkyBlue: "#00BFFF", DimGray: "#696969", DimGrey: "#696969", DodgerBlue: "#1E90FF", FireBrick: "#B22222", FloralWhite: "#FFFAF0", ForestGreen: "#228B22", Fuchsia: "#FF00FF", Gainsboro: "#DCDCDC", GhostWhite: "#F8F8FF", Gold: "#FFD700", GoldenRod: "#DAA520", Gray: "#808080", Green: "#008000", GreenYellow: "#ADFF2F", Grey: "#808080", HoneyDew: "#F0FFF0", HotPink: "#FF69B4", IndianRed: "#CD5C5C", Indigo: "#4B0082", Ivory: "#FFFFF0", Khaki: "#F0E68C", Lavender: "#E6E6FA", LavenderBlush: "#FFF0F5", LawnGreen: "#7CFC00", LemonChiffon: "#FFFACD", LightBlue: "#ADD8E6", LightCoral: "#F08080", LightCyan: "#E0FFFF", LightGoldenRodYellow: "#FAFAD2", LightGray: "#D3D3D3", LightGreen: "#90EE90", LightGrey: "#D3D3D3", LightPink: "#FFB6C1", LightSalmon: "#FFA07A", LightSeaGreen: "#20B2AA", LightSkyBlue: "#87CEFA", LightSlateGray: "#778899", LightSlateGrey: "#778899", LightSteelBlue: "#B0C4DE", LightYellow: "#FFFFE0", Lime: "#00FF00", LimeGreen: "#32CD32", Linen: "#FAF0E6", Magenta: "#FF00FF", Maroon: "#800000", MediumAquaMarine: "#66CDAA", MediumBlue: "#0000CD", MediumOrchid: "#BA55D3", MediumPurple: "#9370DB", MediumSeaGreen: "#3CB371", MediumSlateBlue: "#7B68EE", MediumSpringGreen: "#00FA9A", MediumTurquoise: "#48D1CC", MediumVioletRed: "#C71585", MidnightBlue: "#191970", MintCream: "#F5FFFA", MistyRose: "#FFE4E1", Moccasin: "#FFE4B5", NavajoWhite: "#FFDEAD", Navy: "#000080", OldLace: "#FDF5E6", Olive: "#808000", OliveDrab: "#6B8E23", Orange: "#FFA500", OrangeRed: "#FF4500", Orchid: "#DA70D6", PaleGoldenRod: "#EEE8AA", PaleGreen: "#98FB98", PaleTurquoise: "#AFEEEE", PaleVioletRed: "#DB7093", PapayaWhip: "#FFEFD5", PeachPuff: "#FFDAB9", Peru: "#CD853F", Pink: "#FFC0CB", Plum: "#DDA0DD", PowderBlue: "#B0E0E6", Purple: "#800080", RebeccaPurple: "#663399", Red: "#FF0000", RosyBrown: "#BC8F8F", RoyalBlue: "#4169E1", SaddleBrown: "#8B4513", Salmon: "#FA8072", SandyBrown: "#F4A460", SeaGreen: "#2E8B57", SeaShell: "#FFF5EE", Sienna: "#A0522D", Silver: "#C0C0C0", SkyBlue: "#87CEEB", SlateBlue: "#6A5ACD", SlateGray: "#708090", SlateGrey: "#708090", Snow: "#FFFAFA", SpringGreen: "#00FF7F", SteelBlue: "#4682B4", Tan: "#D2B48C", Teal: "#008080", Thistle: "#D8BFD8", Tomato: "#FF6347", Turquoise: "#40E0D0", Violet: "#EE82EE", Wheat: "#F5DEB3", White: "#FFFFFF", WhiteSmoke: "#F5F5F5", Yellow: "#FFFF00", YellowGreen: "#9ACD32" }; - let p = y; + let p = m; return Object.entries(f).forEach(([g, h]) => { - y.toLowerCase() != g.toLowerCase() || (p = h); + m.toLowerCase() != g.toLowerCase() || (p = h); }), p; - }(e), n = 0, l = 0, a = 0, i = 100, c = 0, r = 0, o = 0; + }(e), n = 0, l = 0, a = 0, i = 100, c = 0, s = 0, o = 0; if (t.substring(0, 1) === "#") - t = function(y) { - let f = y.replace("#", ""); - f.length === 3 && (f = f.split("").map((I) => I + I).join("")); + t = function(m) { + let f = m.replace("#", ""); + f.length === 3 && (f = f.split("").map((B) => B + B).join("")); const p = parseInt(f.substring(0, 2), 16), g = parseInt(f.substring(2, 4), 16), h = parseInt(f.substring(4, 6), 16); return [p, g, h, 100]; }(t); @@ -3090,25 +3089,25 @@ function $o(e) { t = [...t.matchAll(/[\d+.\d+]+/g)].map(Number); else if (t.includes("hsl")) return t = [...t.matchAll(/[\d+.\d+]+/g)].map(String), n = t[0], l = t[1], a = t[2], i = Po(t[3]), `${n} ${l}% ${a}% / ${i}%`; - [c, r, o, i] = t, c /= 255, r /= 255, o /= 255, i = Po(i); - const s = Math.max(c, r, o), m = Math.min(c, r, o); - if (s === null || !m === null || isNaN(s) || isNaN(m)) { - const y = "0 0% 100% / 12%"; - return console.warn(`[VuetifyInlineFields: The "color" prop value using "${t}" doesn't exist. Using the value "hsl(${y})" in it's place.`), y; + [c, s, o, i] = t, c /= 255, s /= 255, o /= 255, i = Po(i); + const r = Math.max(c, s, o), y = Math.min(c, s, o); + if (r === null || !y === null || isNaN(r) || isNaN(y)) { + const m = "0 0% 100% / 12%"; + return console.warn(`[VuetifyInlineFields: The "color" prop value using "${t}" doesn't exist. Using the value "hsl(${m})" in it's place.`), m; } - if (n = (s + m) / 2, l = (s + m) / 2, a = (s + m) / 2, s == m) + if (n = (r + y) / 2, l = (r + y) / 2, a = (r + y) / 2, r == y) n = l = 0; else { - const y = s - m; - switch (l = a > 0.5 ? y / (2 - s - m) : y / (s + m), s) { + const m = r - y; + switch (l = a > 0.5 ? m / (2 - r - y) : m / (r + y), r) { case c: - n = (r - o) / y + (r < o ? 6 : 0); + n = (s - o) / m + (s < o ? 6 : 0); break; - case r: - n = (o - c) / y + 2; + case s: + n = (o - c) / m + 2; break; case o: - n = (c - r) / y + 4; + n = (c - s) / m + 4; } n /= 6; } @@ -3138,45 +3137,45 @@ const ls = (e, t) => { return ((a = l == null ? void 0 : l.toLowerCase) == null ? void 0 : a.call(l)) === "true" || l === "1" || l == "1" || l === !0 || l == n || l === n; }, Rl = (e) => { const { underlineStyle: t, underlineWidth: n, color: l, error: a, theme: i, underlined: c } = e; - let { underlineColor: r } = e; - r = r || l; - const o = { "border-bottom-color": ls(r, i), "border-bottom-style": t, "border-bottom-width": n }; + let { underlineColor: s } = e; + s = s || l; + const o = { "border-bottom-color": ls(s, i), "border-bottom-style": t, "border-bottom-width": n }; return u(a) && (o["border-bottom-color"] = "rgb(var(--v-theme-danger))"), c || (o["border-bottom"] = "none"), o; }, mn = (e) => { - const { cardMinWidth: t, cardOffsetX: n, cardOffsetY: l, cardWidth: a, field: i, name: c = "" } = e, r = ((m) => { - const { cardOffsetX: y, cardOffsetY: f, field: p } = m; + const { cardMinWidth: t, cardOffsetX: n, cardOffsetY: l, cardWidth: a, field: i, name: c = "" } = e, s = ((y) => { + const { cardOffsetX: m, cardOffsetY: f, field: p } = y; if (!p) return { bottom: 0, height: 0, left: 0, right: 0, top: 0, width: 0, x: 0, y: 0 }; - const { x: g, y: h } = p.getBoundingClientRect(), { width: b, height: I } = p.getBoundingClientRect(), { right: $, bottom: F } = p.getBoundingClientRect(); - return { bottom: Xn({ str: F + Number(f) }), height: I, left: Xn({ str: 0 + Number(y) }), right: Xn({ str: $ + Number(y) }), top: Xn({ str: 2 + Number(f) }), width: Xn({ str: b }), x: g, y: h }; + const { x: g, y: h } = p.getBoundingClientRect(), { width: b, height: B } = p.getBoundingClientRect(), { right: V, bottom: _ } = p.getBoundingClientRect(); + return { bottom: Xn({ str: _ + Number(f) }), height: B, left: Xn({ str: 0 + Number(m) }), right: Xn({ str: V + Number(m) }), top: Xn({ str: 2 + Number(f) }), width: Xn({ str: b }), x: g, y: h }; })({ cardOffsetX: n, cardOffsetY: l, field: i }); - let o = t, s = a; - return s || (s = c === "checkbox" ? "fit-content" : r.width), o || (o = c === "checkbox" ? "fit-content" : r.width), { left: r.left, top: r.top, width: s, zIndex: 10 }; -}, os = { class: "v-inline-fields--display-wrapper" }, Mt = Ne({ __name: "DisplayedValue", props: { color: {}, displayAppendIcon: {}, displayAppendIconColor: {}, displayAppendInnerIcon: {}, displayAppendInnerIconColor: {}, displayPrependIcon: {}, displayPrependIconColor: {}, displayPrependInnerIcon: {}, displayPrependInnerIconColor: {}, displayValue: {}, empty: { type: Boolean }, error: { type: Boolean }, field: {}, underlineColor: {}, underlineStyle: {}, underlineWidth: {}, underlined: { type: Boolean } }, emits: ["toggleField"], setup(e, { emit: t }) { - const n = t, l = e, a = cn(), i = Sl(), c = { displayValue: l.displayValue, empty: l.empty, error: l.error }, r = v(() => Wl(l.field, l.valueColor, { empty: l.empty, error: l.error })), o = v(() => Rl({ color: l.color, error: l.error, theme: i, underlineColor: l.underlineColor, underlineStyle: l.underlineStyle, underlineWidth: l.underlineWidth, underlined: l.underlined })), s = v(() => ((f) => { + let o = t, r = a; + return r || (r = c === "checkbox" ? "fit-content" : s.width), o || (o = c === "checkbox" ? "fit-content" : s.width), { left: s.left, top: s.top, width: r, zIndex: 10 }; +}, Wt = Ne({ __name: "DisplayedValue", props: { color: {}, displayAppendIcon: {}, displayAppendIconColor: {}, displayAppendInnerIcon: {}, displayAppendInnerIconColor: {}, displayPrependIcon: {}, displayPrependIconColor: {}, displayPrependInnerIcon: {}, displayPrependInnerIconColor: {}, displayValue: {}, empty: { type: Boolean }, error: { type: Boolean }, field: {}, underlineColor: {}, underlineStyle: {}, underlineWidth: {}, underlined: { type: Boolean } }, emits: ["toggleField"], setup(e, { emit: t }) { + const n = t, l = e, a = cn(), i = Sl(), c = { displayValue: l.displayValue, empty: l.empty, error: l.error }, s = v(() => Ml(l.field, l.valueColor, { empty: l.empty, error: l.error })), o = v(() => Rl({ color: l.color, error: l.error, theme: i, underlineColor: l.underlineColor, underlineStyle: l.underlineStyle, underlineWidth: l.underlineWidth, underlined: l.underlined })), r = v(() => ((f) => { const { underlineWidth: p } = f; return { borderBottom: `${p || "0px"} solid transparent` }; - })({ underlineWidth: l.underlineWidth })), m = (f, p = !1) => ((g) => { + })({ underlineWidth: l.underlineWidth })), y = (f, p = !1) => ((g) => { const { inner: h = !1, position: b } = g; - return { [`${ie}--display-icon`]: !h, [`${ie}--display-${b}-icon`]: !h, [`${ie}--display-${b}-inner-icon`]: h, "me-1": b === "prepend", "ms-1": b === "append" }; + return { [`${le}--display-icon`]: !h, [`${le}--display-${b}-icon`]: !h, [`${le}--display-${b}-inner-icon`]: h, "me-1": b === "prepend", "ms-1": b === "append" }; })({ inner: p, position: f }); - function y() { + function m() { n("toggleField"); } - return (f, p) => (J(), ae("div", os, [f.displayPrependIcon || u(a)["display.prepend"] ? (J(), ae("div", { key: 0, class: ee(m("prepend")), style: ge(u(s)) }, [u(a)["display.prepend"] ? Ae(f.$slots, "display.prepend", ye(Z({ key: 0 }, c))) : (J(), he(de, { key: 1, color: f.displayPrependIconColor, icon: f.displayPrependIcon, size: "x-small" }, null, 8, ["color", "icon"]))], 6)) : pe("", !0), xe("div", { class: ee(["d-inline-flex", u(r)]), style: ge(u(o)), onClick: y }, [f.displayPrependInnerIcon || u(a)["display.prependInner"] ? (J(), ae("div", { key: 0, class: ee(m("prepend", !0)) }, [u(a)["display.prependInner"] ? Ae(f.$slots, "display.prependInner", ye(Z({ key: 0 }, c))) : (J(), he(de, { key: 1, color: f.displayPrependInnerIconColor, icon: f.displayPrependInnerIcon, size: "x-small" }, null, 8, ["color", "icon"]))], 2)) : pe("", !0), Lo(" " + Il(f.displayValue) + " ", 1), f.displayAppendInnerIcon || u(a)["display.appendInner"] ? (J(), ae("div", { key: 1, class: ee(m("append", !0)) }, [u(a)["display.appendInner"] ? Ae(f.$slots, "display.appendInner", ye(Z({ key: 0 }, c))) : (J(), he(de, { key: 1, color: f.displayAppendInnerIconColor, icon: f.displayAppendInnerIcon, size: "x-small" }, null, 8, ["color", "icon"]))], 2)) : pe("", !0)], 6), f.displayAppendIcon || u(a)["display.append"] ? (J(), ae("div", { key: 1, class: ee(m("append")), style: ge(u(s)) }, [u(a)["display.append"] ? Ae(f.$slots, "display.append", ye(Z({ key: 0 }, c))) : (J(), he(de, { key: 1, color: f.displayAppendIconColor, icon: f.displayAppendIcon, size: "x-small" }, null, 8, ["color", "icon"]))], 6)) : pe("", !0)])); -} }), lt = Ne({ __name: "SaveFieldButtons", props: { loading: { type: Boolean }, cancelButtonColor: {}, cancelButtonSize: {}, cancelButtonVariant: {}, cancelButtonTitle: {}, cancelIconColor: {}, error: { type: Boolean }, fieldOnly: { type: Boolean }, hideSaveIcon: { type: Boolean }, loadingIconColor: {}, saveButtonColor: {}, saveButtonSize: {}, saveButtonTitle: {}, saveButtonVariant: {}, saveIconColor: {}, cancelIcon: {}, loadingIcon: {}, saveIcon: {} }, emits: ["close", "save"], setup(e, { emit: t }) { - const n = dn(), l = t, a = e, i = ve(Symbol.for("vuetify:icons")), c = v(() => a.error), r = v(() => ({ [`${ie}--save-fields-container`]: !0 })), o = v(() => a.loading), s = Le({ ...n, ...a }), m = v(() => (i == null ? void 0 : i.defaultSet) === "fa" ? "fa-spin" : (i == null ? void 0 : i.defaultSet) === "mdi" ? "mdi-spin" : ""), y = v(() => ((I) => { - const { cancelButtonVariant: $ } = I; - return { "me-1": $ === "elevated", "ms-1": !0 }; - })({ cancelButtonVariant: s.cancelButtonVariant })), f = v(() => Me({ icon: a.cancelIcon, iconOptions: i, name: "false" })), p = v(() => Me({ icon: a.loadingIcon, iconOptions: i, name: "loading" })), g = v(() => Me({ icon: a.saveIcon, iconOptions: i, name: "save" })); + return (f, p) => (J(), ie("div", { class: "v-inline-fields--display-wrapper", onClick: m }, [f.displayPrependIcon || u(a)["display.prepend"] ? (J(), ie("div", { key: 0, class: ee(y("prepend")), style: ge(u(r)) }, [u(a)["display.prepend"] ? Ae(f.$slots, "display.prepend", ye(Z({ key: 0 }, c))) : (J(), he(de, { key: 1, color: f.displayPrependIconColor, icon: f.displayPrependIcon, size: "x-small" }, null, 8, ["color", "icon"]))], 6)) : pe("", !0), xe("div", { class: ee(["d-inline-flex", u(s)]), style: ge(u(o)) }, [f.displayPrependInnerIcon || u(a)["display.prependInner"] ? (J(), ie("div", { key: 0, class: ee(y("prepend", !0)) }, [u(a)["display.prependInner"] ? Ae(f.$slots, "display.prependInner", ye(Z({ key: 0 }, c))) : (J(), he(de, { key: 1, color: f.displayPrependInnerIconColor, icon: f.displayPrependInnerIcon, size: "x-small" }, null, 8, ["color", "icon"]))], 2)) : pe("", !0), Lo(" " + Il(f.displayValue) + " ", 1), f.displayAppendInnerIcon || u(a)["display.appendInner"] ? (J(), ie("div", { key: 1, class: ee(y("append", !0)) }, [u(a)["display.appendInner"] ? Ae(f.$slots, "display.appendInner", ye(Z({ key: 0 }, c))) : (J(), he(de, { key: 1, color: f.displayAppendInnerIconColor, icon: f.displayAppendInnerIcon, size: "x-small" }, null, 8, ["color", "icon"]))], 2)) : pe("", !0)], 6), f.displayAppendIcon || u(a)["display.append"] ? (J(), ie("div", { key: 1, class: ee(y("append")), style: ge(u(r)) }, [u(a)["display.append"] ? Ae(f.$slots, "display.append", ye(Z({ key: 0 }, c))) : (J(), he(de, { key: 1, color: f.displayAppendIconColor, icon: f.displayAppendIcon, size: "x-small" }, null, 8, ["color", "icon"]))], 6)) : pe("", !0)])); +} }), lt = Ne({ __name: "SaveFieldButtons", props: { loading: { type: Boolean }, cancelButtonColor: {}, cancelButtonSize: {}, cancelButtonVariant: {}, cancelButtonTitle: {}, cancelIconColor: {}, error: { type: Boolean }, fieldOnly: { type: Boolean }, hideCancelIcon: { type: Boolean }, hideSaveIcon: { type: Boolean }, loadingIconColor: {}, saveButtonColor: {}, saveButtonSize: {}, saveButtonTitle: {}, saveButtonVariant: {}, saveIconColor: {}, cancelIcon: {}, loadingIcon: {}, saveIcon: {} }, emits: ["close", "save"], setup(e, { emit: t }) { + const n = dn(), l = t, a = e, i = ve(Symbol.for("vuetify:icons")), c = v(() => a.error), s = v(() => ({ [`${le}--save-fields-container`]: !0 })), o = v(() => a.loading), r = Le({ ...n, ...a }), y = v(() => (i == null ? void 0 : i.defaultSet) === "fa" ? "fa-spin" : (i == null ? void 0 : i.defaultSet) === "mdi" ? "mdi-spin" : ""), m = v(() => ((B) => { + const { cancelButtonVariant: V } = B; + return { "me-1": V === "elevated", "ms-1": !0 }; + })({ cancelButtonVariant: r.cancelButtonVariant })), f = v(() => We({ icon: a.cancelIcon, iconOptions: i, name: "false" })), p = v(() => We({ icon: a.loadingIcon, iconOptions: i, name: "loading" })), g = v(() => We({ icon: a.saveIcon, iconOptions: i, name: "save" })); function h() { l("close"); } function b() { l("save"); } - return (I, $) => (J(), ae("div", Z({ class: u(r) }, I.$attrs), [u(s).hideSaveIcon ? pe("", !0) : (J(), he(ul, { key: 0, class: "ms-1", color: u(s).saveButtonColor, disabled: u(c), icon: "", size: u(s).saveButtonSize, title: u(o) ? "Loading" : u(s).saveButtonTitle, variant: u(s).saveButtonVariant, onClick: b }, { default: ue(() => [u(o) ? (J(), he(de, { key: 1, class: ee(u(m)), color: u(s).loadingIconColor, icon: u(p) }, null, 8, ["class", "color", "icon"])) : (J(), he(de, { key: 0, color: u(c) ? "error" : u(s).saveIconColor, icon: u(g) }, null, 8, ["color", "icon"]))]), _: 1 }, 8, ["color", "disabled", "size", "title", "variant"])), d(ul, { class: ee(u(y)), color: u(s).cancelButtonColor, icon: "", size: u(s).cancelButtonSize, title: u(s).cancelButtonTitle, variant: u(s).cancelButtonVariant, onClick: h }, { default: ue(() => [u(s).hideSaveIcon && u(o) ? (J(), he(de, { key: 0, class: ee(u(m)), color: u(s).loadingIconColor, icon: u(p) }, null, 8, ["class", "color", "icon"])) : (J(), he(de, { key: 1, class: "text-default", color: u(s).cancelIconColor, icon: u(f) }, null, 8, ["color", "icon"]))]), _: 1 }, 8, ["class", "color", "size", "title", "variant"])], 16)); -} }), Wt = (e) => { + return (B, V) => (J(), ie("div", Z({ class: u(s) }, B.$attrs), [u(r).hideSaveIcon ? pe("", !0) : (J(), he(ul, { key: 0, class: "ms-1", color: u(r).saveButtonColor, disabled: u(c), icon: "", size: u(r).saveButtonSize, title: u(o) ? "Loading" : u(r).saveButtonTitle, variant: u(r).saveButtonVariant, onClick: b }, { default: ue(() => [u(o) ? (J(), he(de, { key: 1, class: ee(u(y)), color: u(r).loadingIconColor, icon: u(p) }, null, 8, ["class", "color", "icon"])) : (J(), he(de, { key: 0, color: u(c) ? "error" : u(r).saveIconColor, icon: u(g) }, null, 8, ["color", "icon"]))]), _: 1 }, 8, ["color", "disabled", "size", "title", "variant"])), u(r).hideCancelIcon ? pe("", !0) : (J(), he(ul, { key: 1, class: ee(u(m)), color: u(r).cancelButtonColor, icon: "", size: u(r).cancelButtonSize, title: u(r).cancelButtonTitle, variant: u(r).cancelButtonVariant, onClick: h }, { default: ue(() => [u(r).hideSaveIcon && u(o) ? (J(), he(de, { key: 0, class: ee(u(y)), color: u(r).loadingIconColor, icon: u(p) }, null, 8, ["class", "color", "icon"])) : (J(), he(de, { key: 1, class: "text-default", color: u(r).cancelIconColor, icon: u(f) }, null, 8, ["color", "icon"]))]), _: 1 }, 8, ["class", "color", "size", "title", "variant"]))], 16)); +} }), Mt = (e) => { const { required: t, rules: n } = e; let { value: l } = e; l = u(l); @@ -3186,279 +3185,279 @@ const ls = (e, t) => { return a.push("Field is required."), { errors: !0, results: a }; if (n) { for (const c of n) { - const r = (typeof c == "function" ? c : () => c)(l); - r !== !0 && (typeof r == "string" ? a.push(r) : console.warn(`${r} is not a valid value. Rule functions must return boolean true or a string.`)); + const s = (typeof c == "function" ? c : () => c)(l); + s !== !0 && (typeof s == "string" ? a.push(s) : console.warn(`${s} is not a valid value. Rule functions must return boolean true or a string.`)); } i = a.length > 0; } return { errors: i, results: a }; }, Tn = (e) => { const { attrs: t, closeSiblings: n, fieldOnly: l, props: a, showField: i, timeOpened: c } = e; - let r = c; - return n && !l && (r = /* @__PURE__ */ new Date()), { settings: { ...t, ...a }, showField: !u(i), timeOpened: r }; + let s = c; + return n && !l && (s = /* @__PURE__ */ new Date()), { settings: { ...t, ...a }, showField: !u(i), timeOpened: s }; }, hl = (e) => { const { length: t = 0 } = e; let { suffix: n, text: l } = e; return l = l.toString(), n = n || "...", l.length > t ? `${l.substring(0, t)}${n}` : l; -}, zn = ["error", "update", "update:closeSiblingFields", "update:model-value"], as = ["cancelButtonColor", "cancelButtonSize", "cancelButtonTitle", "cancelButtonVariant", "cancelIcon", "cancelIconColor", "closeSiblings", "displayAppendIcon", "displayAppendIconColor", "displayAppendIconSize", "displayAppendInnerIcon", "displayAppendInnerIconColor", "displayAppendInnerIconSize", "displayPrependIcon", "displayPrependIconColor", "displayPrependIconSize", "displayPrependInnerIcon", "displayPrependInnerIconColor", "displayPrependInnerIconSize", "emptyText", "fieldOnly", "hideSaveIcon", "item", "loadingIcon", "loadingIconColor", "loadingWait", "saveButtonColor", "saveButtonSize", "saveButtonTitle", "saveButtonVariant", "saveIcon", "saveIconColor", "tableField", "truncateLength", "truncateSuffix", "underlineColor", "underlineStyle", "underlineWidth", "underlined", "valueColor"], Jn = (e) => { +}, zn = ["error", "update", "update:closeSiblingFields", "update:model-value"], os = ["cancelButtonColor", "cancelButtonSize", "cancelButtonTitle", "cancelButtonVariant", "cancelIcon", "cancelIconColor", "closeSiblings", "displayAppendIcon", "displayAppendIconColor", "displayAppendIconSize", "displayAppendInnerIcon", "displayAppendInnerIconColor", "displayAppendInnerIconSize", "displayPrependIcon", "displayPrependIconColor", "displayPrependIconSize", "displayPrependInnerIcon", "displayPrependInnerIconColor", "displayPrependInnerIconSize", "emptyText", "fieldOnly", "hideSaveIcon", "item", "loadingIcon", "loadingIconColor", "loadingWait", "saveButtonColor", "saveButtonSize", "saveButtonTitle", "saveButtonVariant", "saveIcon", "saveIconColor", "tableField", "truncateLength", "truncateSuffix", "underlineColor", "underlineStyle", "underlineWidth", "underlined", "valueColor"], Jn = (e) => { let t = e; - return t = Object.entries(t).filter(([n]) => !as.includes(n)), Object.fromEntries(t); -}, is = { class: "v-selection-control__wrapper" }, rs = Ne({ __name: "VInlineCheckbox", props: Pe(kn({ density: {}, falseIcon: {}, trueIcon: {}, cancelButtonColor: {}, cancelButtonSize: {}, cancelButtonTitle: {}, cancelButtonVariant: {}, cancelIcon: {}, cancelIconColor: {}, cardField: { type: Boolean }, cardOffsetX: {}, cardOffsetY: {}, cardProps: {}, closeSiblings: { type: Boolean }, color: {}, disabled: { type: Boolean }, displayAppendIcon: {}, displayAppendIconColor: {}, displayAppendIconSize: {}, displayAppendInnerIcon: {}, displayAppendInnerIconColor: {}, displayAppendInnerIconSize: {}, displayPrependIcon: {}, displayPrependIconColor: {}, displayPrependIconSize: {}, displayPrependInnerIcon: {}, displayPrependInnerIconColor: {}, displayPrependInnerIconSize: {}, emptyText: {}, error: { type: Boolean }, falseValue: { type: [Boolean, String] }, fieldOnly: { type: Boolean }, hideDetails: { type: Boolean }, hideSaveIcon: { type: Boolean }, iconFalse: {}, iconFalseColor: {}, iconFalseTitle: {}, iconTrue: {}, iconTrueColor: {}, iconTrueTitle: {}, icons: { type: Boolean }, item: {}, label: {}, loading: { type: Boolean }, loadingIcon: {}, loadingIconColor: {}, loadingWait: { type: Boolean }, name: {}, required: { type: Boolean }, saveButtonColor: {}, saveButtonSize: {}, saveButtonTitle: {}, saveButtonVariant: {}, saveIcon: {}, saveIconColor: {}, tableField: { type: Boolean }, trueValue: { type: [Boolean, String] }, underlineColor: {}, underlineStyle: {}, underlineWidth: {}, underlined: { type: Boolean }, valueColor: {} }, { ...ci }), { modelValue: {} }), emits: Pe([...zn], ["update:modelValue"]), setup(e, { emit: t }) { - const n = un(e, "modelValue"), l = dn(), a = cn(), i = t, c = ve(Symbol.for("vuetify:icons")), r = Sl(), o = e; - let s = Le({ ...l, ...o }); - const m = v(() => o.loading), y = v(() => o.disabled), f = N(!1), p = N(!1), g = N(null), h = v(() => Jn(s)), b = v(() => ({ ...Vn, ...o.cardProps })); - K(() => m.value, (S, P) => { - !S && P && p.value && D(); + return t = Object.entries(t).filter(([n]) => !os.includes(n)), Object.fromEntries(t); +}, as = { class: "v-selection-control__wrapper" }, is = Ne({ __name: "VInlineCheckbox", props: Pe(kn({ density: {}, falseIcon: {}, trueIcon: {}, cancelButtonColor: {}, cancelButtonSize: {}, cancelButtonTitle: {}, cancelButtonVariant: {}, cancelIcon: {}, cancelIconColor: {}, cardField: { type: Boolean }, cardOffsetX: {}, cardOffsetY: {}, cardProps: {}, cell: { type: Boolean }, cellUnderlineFullWidth: { type: Boolean }, closeSiblings: { type: Boolean }, color: {}, disabled: { type: Boolean }, displayAppendIcon: {}, displayAppendIconColor: {}, displayAppendIconSize: {}, displayAppendInnerIcon: {}, displayAppendInnerIconColor: {}, displayAppendInnerIconSize: {}, displayPrependIcon: {}, displayPrependIconColor: {}, displayPrependIconSize: {}, displayPrependInnerIcon: {}, displayPrependInnerIconColor: {}, displayPrependInnerIconSize: {}, emptyText: {}, error: { type: Boolean }, falseValue: { type: [Boolean, String] }, fieldOnly: { type: Boolean }, hideCancelIcon: { type: Boolean }, hideDetails: { type: Boolean }, hideSaveIcon: { type: Boolean }, iconFalse: {}, iconFalseColor: {}, iconFalseTitle: {}, iconTrue: {}, iconTrueColor: {}, iconTrueTitle: {}, icons: { type: Boolean }, item: {}, label: {}, loading: { type: Boolean }, loadingIcon: {}, loadingIconColor: {}, loadingWait: { type: Boolean }, name: {}, required: { type: Boolean }, saveButtonColor: {}, saveButtonSize: {}, saveButtonTitle: {}, saveButtonVariant: {}, saveIcon: {}, saveIconColor: {}, tableField: { type: Boolean }, trueValue: { type: [Boolean, String] }, underlineColor: {}, underlineStyle: {}, underlineWidth: {}, underlined: { type: Boolean }, valueColor: {} }, { ...ci }), { modelValue: {} }), emits: Pe([...zn], ["update:modelValue"]), setup(e, { emit: t }) { + const n = un(e, "modelValue"), l = dn(), a = cn(), i = t, c = ve(Symbol.for("vuetify:icons")), s = Sl(), o = e; + let r = Le({ ...l, ...o }); + const y = v(() => o.loading), m = v(() => o.disabled), f = M(!1), p = M(!1), g = M(null), h = v(() => Jn(r)), b = v(() => ({ ...Vn, ...o.cardProps })); + K(() => y.value, (x, w) => { + !x && w && p.value && W(); }); - const I = v(() => Me({ icon: o.trueIcon, iconOptions: c, name: "checkboxFalse" })), $ = v(() => Me({ icon: o.iconTrue, iconOptions: c, name: "checkboxTrue" })), F = v(() => n.value == s.trueValue), H = v(() => Ja({ modelValue: n, trueValue: s.trueValue })), T = v(() => On({ density: s.density, disabled: y.value, field: "v-checkbox", loading: m.value, loadingWait: s.loadingWait, tableField: s.tableField })), M = v(() => Pn({ density: s.density, field: "v-checkbox" })), R = Ka({ density: s.density }), B = v(() => $n({ active: p.value, name: "checkbox" })), x = v(() => Wl("checkbox", s.valueColor, { error: f })), E = v(() => En({ name: "checkbox", showField: p.value })), C = v(() => ({})), V = v(() => Rl({ color: s.color, error: f, theme: r, underlineColor: s.underlineColor, underlineStyle: s.underlineStyle, underlineWidth: s.underlineWidth, underlined: s.underlined })), A = v(() => G.value); - function j() { - f.value = !1, D(); + const B = v(() => We({ icon: o.trueIcon, iconOptions: c, name: "checkboxFalse" })), V = v(() => We({ icon: o.iconTrue, iconOptions: c, name: "checkboxTrue" })), _ = v(() => n.value == r.trueValue), U = v(() => Ja({ modelValue: n, trueValue: r.trueValue })), z = v(() => On({ cell: r.cell && !p.value, density: r.density, disabled: m.value, field: "v-checkbox", loading: y.value, loadingWait: r.loadingWait, tableField: r.tableField })), D = v(() => Pn({ cell: r.cell, cellUnderlineFullWidth: r.cellUnderlineFullWidth, density: r.density, field: "v-checkbox" })), R = Ka({ density: r.density }), E = v(() => $n({ active: p.value, name: "checkbox" })), S = v(() => Ml("checkbox", r.valueColor, { error: f })), O = v(() => En({ name: "checkbox", showField: p.value })), C = v(() => ({})), k = v(() => Rl({ color: r.color, error: f, theme: s, underlineColor: r.underlineColor, underlineStyle: r.underlineStyle, underlineWidth: r.underlineWidth, underlined: r.underlined })), A = v(() => q.value); + function N() { + f.value = !1, W(); } - const G = N(), k = N(null), w = N("body"), _ = ui(); - function D() { - var P, z; - if (y.value || s.loadingWait && m.value) + const q = M(), I = M(null), P = M("body"), $ = ui(); + function W() { + var w, T; + if (m.value || r.loadingWait && y.value) return; - G.value = mn({ cardMinWidth: (P = s.cardProps) == null ? void 0 : P.minWidth, cardOffsetX: s.cardOffsetX, cardOffsetY: s.cardOffsetY, cardWidth: (z = s.cardProps) == null ? void 0 : z.width, field: k.value, name: "checkbox" }); - const S = Tn({ attrs: l, closeSiblings: s.closeSiblings, fieldOnly: s.fieldOnly, props: o, showField: p, timeOpened: g.value }); - s = { ...s, ...S.settings }, p.value = S.showField, g.value = S.timeOpened, O !== null && s.closeSiblings && p.value && !s.fieldOnly && O.emit(S.timeOpened); - } - function W(S) { - n.value = S, i("update", S), s.loadingWait || D(); - } - let O, L; - function U(S) { - i("update:closeSiblingFields", g), p.value && g.value !== S && D(); - } - return K(() => _, () => { - var S, P; - G.value = mn({ cardMinWidth: (S = s.cardProps) == null ? void 0 : S.minWidth, cardOffsetX: s.cardOffsetX, cardOffsetY: s.cardOffsetY, cardWidth: (P = s.cardProps) == null ? void 0 : P.width, field: k.value, name: "checkbox" }); - }, { deep: !0 }), s.closeSiblings && import("@vueuse/core").then(({ useEventBus: S }) => { - O = S(Fn), L = O.on(U); + q.value = mn({ cardMinWidth: (w = r.cardProps) == null ? void 0 : w.minWidth, cardOffsetX: r.cardOffsetX, cardOffsetY: r.cardOffsetY, cardWidth: (T = r.cardProps) == null ? void 0 : T.width, field: I.value, name: "checkbox" }); + const x = Tn({ attrs: l, closeSiblings: r.closeSiblings, fieldOnly: r.fieldOnly, props: o, showField: p, timeOpened: g.value }); + r = { ...r, ...x.settings }, p.value = x.showField, g.value = x.timeOpened, F !== null && r.closeSiblings && p.value && !r.fieldOnly && F.emit(x.timeOpened); + } + function j(x) { + n.value = x, i("update", x), r.loadingWait || W(); + } + let F, L; + function Y(x) { + i("update:closeSiblingFields", g), p.value && g.value !== x && W(); + } + return K(() => $, () => { + var x, w; + q.value = mn({ cardMinWidth: (x = r.cardProps) == null ? void 0 : x.minWidth, cardOffsetX: r.cardOffsetX, cardOffsetY: r.cardOffsetY, cardWidth: (w = r.cardProps) == null ? void 0 : w.width, field: I.value, name: "checkbox" }); + }, { deep: !0 }), r.closeSiblings && import("@vueuse/core").then(({ useEventBus: x }) => { + F = x(Fn), L = F.on(Y); }), wn(() => { - L !== void 0 && O.off(U); - }), (S, P) => (J(), ae("div", { ref_key: "inlineFieldsContainer", ref: k, class: ee(u(T)), style: ge(u(C)) }, [!u(p) && !u(s).fieldOnly || u(s).cardField ? (J(), ae("div", { key: 0, class: ee(u(M)) }, [xe("div", { class: ee(u(R)) }, [xe("div", is, [S.icons ? (J(), ae("div", { key: 0, class: ee(u(x)), style: ge(u(V)), onClick: D }, [d(u(Xa), { modelValue: u(H), "onUpdate:modelValue": P[0] || (P[0] = (z) => hn(H) ? H.value = z : null), "icon-false": u(s).iconFalse, "icon-false-color": u(s).iconFalseColor, "icon-false-title": u(s).iconFalseTitle, "icon-true": u(s).iconTrue, "icon-true-color": u(s).iconTrueColor, "icon-true-title": u(s).iconTrueTitle }, null, 8, ["modelValue", "icon-false", "icon-false-color", "icon-false-title", "icon-true", "icon-true-color", "icon-true-title"])], 6)) : (J(), ae("div", { key: 1, class: ee(["d-inline-flex align-center justify-center", u(x)]), style: ge(u(V)), onClick: D }, Il(u(F)), 7))])], 2)], 2)) : pe("", !0), u(p) || u(s).fieldOnly || u(s).cardField ? (J(), ae("div", { key: 1, class: ee(u(B)) }, [(J(), he(sn, { disabled: !u(s).cardField, to: u(w) }, [d(Qi, Z(u(h), { color: u(s).color, density: u(s).density, disabled: u(m) || u(y), error: u(f), "false-icon": u(I), "false-value": u(s).falseValue, "hide-details": u(s).hideDetails, label: u(s).label, "model-value": u(H), "true-icon": u($), "true-value": u(s).trueValue, "onUpdate:modelValue": W }), Ue({ _: 2 }, [Ye(u(a), (z, q) => ({ name: q, fn: ue((X) => [Ae(S.$slots, q, ye(Ce({ ...X })))]) })), u(a).append ? void 0 : { name: "append", fn: ue(() => [d(u(lt), { "cancel-button-color": u(s).cancelButtonColor, "cancel-button-size": u(s).cancelButtonSize, "cancel-button-title": u(s).cancelButtonTitle, "cancel-button-variant": u(s).cancelButtonVariant, "cancel-icon": u(s).cancelIcon, "cancel-icon-color": u(s).cancelIconColor, error: u(f), "field-only": u(s).fieldOnly, "hide-save-icon": !0, loading: u(m), "loading-icon": u(s).loadingIcon, "loading-icon-color": u(s).loadingIconColor, "save-button-color": u(s).saveButtonColor, "save-button-size": u(s).saveButtonSize, "save-button-title": u(s).saveButtonTitle, "save-button-variant": u(s).saveButtonVariant, "save-icon": u(s).saveIcon, "save-icon-color": u(s).saveIconColor, onClose: j, onSave: W }, null, 8, ["cancel-button-color", "cancel-button-size", "cancel-button-title", "cancel-button-variant", "cancel-icon", "cancel-icon-color", "error", "field-only", "loading", "loading-icon", "loading-icon-color", "save-button-color", "save-button-size", "save-button-title", "save-button-variant", "save-icon", "save-icon-color"])]), key: "0" }]), 1040, ["color", "density", "disabled", "error", "false-icon", "false-value", "hide-details", "label", "model-value", "true-icon", "true-value"])], 8, ["disabled", "to"]))], 2)) : pe("", !0), u(s).cardField ? (J(), ae("div", { key: 2, class: ee(u(E)), style: ge(u(A)) }, [d(_n, ye(Ce(u(b))), { default: ue(() => [d(yn, null, { default: ue(() => [xe("div", { ref_key: "cardFieldRef", ref: w }, null, 512)]), _: 1 })]), _: 1 }, 16)], 6)) : pe("", !0)], 6)); -} }), ss = Ne({ __name: "VInlineCustomField", props: Pe(kn({ clearIcon: {}, density: {}, rules: {}, variant: {}, autofocus: { type: Boolean }, cancelButtonColor: {}, cancelButtonSize: {}, cancelButtonTitle: {}, cancelButtonVariant: {}, cancelIcon: {}, cancelIconColor: {}, cardField: { type: Boolean }, cardOffsetX: {}, cardOffsetY: {}, cardProps: {}, closeSiblings: { type: Boolean }, color: {}, disabled: { type: Boolean }, displayAppendIcon: {}, displayAppendIconColor: {}, displayAppendIconSize: {}, displayAppendInnerIcon: {}, displayAppendInnerIconColor: {}, displayAppendInnerIconSize: {}, displayPrependIcon: {}, displayPrependIconColor: {}, displayPrependIconSize: {}, displayPrependInnerIcon: {}, displayPrependInnerIconColor: {}, displayPrependInnerIconSize: {}, emptyText: {}, error: { type: Boolean }, fieldOnly: { type: Boolean }, hideDetails: { type: Boolean }, hideSaveIcon: { type: Boolean }, item: {}, label: {}, loading: { type: Boolean }, loadingIcon: {}, loadingIconColor: {}, loadingWait: { type: Boolean }, name: {}, required: { type: Boolean }, saveButtonColor: {}, saveButtonSize: {}, saveButtonTitle: {}, saveButtonVariant: {}, saveIcon: {}, saveIconColor: {}, tableField: { type: Boolean }, truncateLength: {}, truncateSuffix: {}, underlineColor: {}, underlineStyle: {}, underlineWidth: {}, underlined: { type: Boolean }, valueColor: {} }, { ...Wo }), { modelValue: {} }), emits: Pe([...zn], ["update:modelValue"]), setup(e, { emit: t }) { - const n = un(e, "modelValue"), l = dn(), a = cn(), i = t, c = ve(Symbol.for("vuetify:icons")), r = e; - let o = Le({ ...l, ...r }); - const s = v(() => r.loading), m = v(() => r.disabled), y = N(!1), f = N(!1), p = N(!1), g = N(null); + L !== void 0 && F.off(Y); + }), (x, w) => (J(), ie("div", { ref_key: "inlineFieldsContainer", ref: I, class: ee(u(z)), style: ge(u(C)) }, [!u(p) && !u(r).fieldOnly || u(r).cardField ? (J(), ie("div", { key: 0, class: ee(u(D)), onClick: w[2] || (w[2] = (T) => u(r).cell ? W() : void 0) }, [xe("div", { class: ee(u(R)), onClick: w[1] || (w[1] = (T) => u(r).cell ? void 0 : W()) }, [xe("div", as, [x.icons ? (J(), ie("div", { key: 0, class: ee(["v-inline-fields--boolean-icons-container", u(S)]), style: ge(u(k)) }, [d(u(Xa), { modelValue: u(U), "onUpdate:modelValue": w[0] || (w[0] = (T) => hn(U) ? U.value = T : null), "icon-false": u(r).iconFalse, "icon-false-color": u(r).iconFalseColor, "icon-false-title": u(r).iconFalseTitle, "icon-true": u(r).iconTrue, "icon-true-color": u(r).iconTrueColor, "icon-true-title": u(r).iconTrueTitle }, null, 8, ["modelValue", "icon-false", "icon-false-color", "icon-false-title", "icon-true", "icon-true-color", "icon-true-title"])], 6)) : (J(), ie("div", { key: 1, class: ee(["d-inline-flex align-center justify-center", u(S)]), style: ge(u(k)) }, Il(u(_)), 7))])], 2)], 2)) : pe("", !0), u(p) || u(r).fieldOnly || u(r).cardField ? (J(), ie("div", { key: 1, class: ee(u(E)) }, [(J(), he(sn, { disabled: !u(r).cardField, to: u(P) }, [d(Qi, Z(u(h), { color: u(r).color, density: u(r).density, disabled: u(y) || u(m), error: u(f), "false-icon": u(B), "false-value": u(r).falseValue, "hide-details": u(r).hideDetails, label: u(r).label, "model-value": u(U), "true-icon": u(V), "true-value": u(r).trueValue, "onUpdate:modelValue": j }), He({ _: 2 }, [Ye(u(a), (T, G) => ({ name: G, fn: ue((X) => [Ae(x.$slots, G, ye(Ce({ ...X })))]) })), u(a).append ? void 0 : { name: "append", fn: ue(() => [d(u(lt), { "cancel-button-color": u(r).cancelButtonColor, "cancel-button-size": u(r).cancelButtonSize, "cancel-button-title": u(r).cancelButtonTitle, "cancel-button-variant": u(r).cancelButtonVariant, "cancel-icon": u(r).cancelIcon, "cancel-icon-color": u(r).cancelIconColor, error: u(f), "field-only": u(r).fieldOnly, "hide-cancel-icon": u(r).hideCancelIcon, "hide-save-icon": !0, loading: u(y), "loading-icon": u(r).loadingIcon, "loading-icon-color": u(r).loadingIconColor, "save-button-color": u(r).saveButtonColor, "save-button-size": u(r).saveButtonSize, "save-button-title": u(r).saveButtonTitle, "save-button-variant": u(r).saveButtonVariant, "save-icon": u(r).saveIcon, "save-icon-color": u(r).saveIconColor, onClose: N, onSave: j }, null, 8, ["cancel-button-color", "cancel-button-size", "cancel-button-title", "cancel-button-variant", "cancel-icon", "cancel-icon-color", "error", "field-only", "hide-cancel-icon", "loading", "loading-icon", "loading-icon-color", "save-button-color", "save-button-size", "save-button-title", "save-button-variant", "save-icon", "save-icon-color"])]), key: "0" }]), 1040, ["color", "density", "disabled", "error", "false-icon", "false-value", "hide-details", "label", "model-value", "true-icon", "true-value"])], 8, ["disabled", "to"]))], 2)) : pe("", !0), u(r).cardField ? (J(), ie("div", { key: 2, class: ee(u(O)), style: ge(u(A)) }, [d(_n, ye(Ce(u(b))), { default: ue(() => [d(yn, null, { default: ue(() => [xe("div", { ref_key: "cardFieldRef", ref: P }, null, 512)]), _: 1 })]), _: 1 }, 16)], 6)) : pe("", !0)], 6)); +} }), rs = Ne({ __name: "VInlineCustomField", props: Pe(kn({ clearIcon: {}, density: {}, rules: {}, variant: {}, autofocus: { type: Boolean }, cancelButtonColor: {}, cancelButtonSize: {}, cancelButtonTitle: {}, cancelButtonVariant: {}, cancelIcon: {}, cancelIconColor: {}, cardField: { type: Boolean }, cardOffsetX: {}, cardOffsetY: {}, cardProps: {}, cell: { type: Boolean }, cellUnderlineFullWidth: { type: Boolean }, closeSiblings: { type: Boolean }, color: {}, disabled: { type: Boolean }, displayAppendIcon: {}, displayAppendIconColor: {}, displayAppendIconSize: {}, displayAppendInnerIcon: {}, displayAppendInnerIconColor: {}, displayAppendInnerIconSize: {}, displayPrependIcon: {}, displayPrependIconColor: {}, displayPrependIconSize: {}, displayPrependInnerIcon: {}, displayPrependInnerIconColor: {}, displayPrependInnerIconSize: {}, emptyText: {}, error: { type: Boolean }, fieldOnly: { type: Boolean }, hideCancelIcon: { type: Boolean }, hideDetails: { type: Boolean }, hideSaveIcon: { type: Boolean }, item: {}, label: {}, loading: { type: Boolean }, loadingIcon: {}, loadingIconColor: {}, loadingWait: { type: Boolean }, name: {}, required: { type: Boolean }, saveButtonColor: {}, saveButtonSize: {}, saveButtonTitle: {}, saveButtonVariant: {}, saveIcon: {}, saveIconColor: {}, tableField: { type: Boolean }, truncateLength: {}, truncateSuffix: {}, underlineColor: {}, underlineStyle: {}, underlineWidth: {}, underlined: { type: Boolean }, valueColor: {} }, { ...Mo }), { modelValue: {} }), emits: Pe([...zn], ["update:modelValue"]), setup(e, { emit: t }) { + const n = un(e, "modelValue"), l = dn(), a = cn(), i = t, c = ve(Symbol.for("vuetify:icons")), s = e; + let o = Le({ ...l, ...s }); + const r = v(() => s.loading), y = v(() => s.disabled), m = M(!1), f = M(!1), p = M(!1), g = M(null); let h = n.value; - K(() => s.value, (L, U) => { - !L && U && p.value && G(); + K(() => r.value, (L, Y) => { + !L && Y && p.value && q(); }); - const b = v(() => n.value ? (y.value = !1, o.truncateLength ? hl({ length: o.truncateLength, suffix: o.truncateSuffix, text: n.value }) : n.value) : (y.value = !0, o.emptyText)), I = v(() => ({ ...o, loading: s.value, modelValue: n.value, originalValue: h })), $ = v(() => ({ color: o.color, displayAppendIcon: r.displayAppendIcon, displayAppendIconColor: r.displayAppendIconColor, displayAppendIconSize: r.displayAppendIconSize, displayAppendInnerIcon: r.displayAppendInnerIcon, displayAppendInnerIconColor: r.displayAppendInnerIconColor, displayAppendInnerIconSize: r.displayAppendInnerIconSize, displayPrependIcon: r.displayPrependIcon, displayPrependIconColor: r.displayPrependIconColor, displayPrependIconSize: r.displayPrependIconSize, displayPrependInnerIcon: r.displayPrependInnerIcon, displayPrependInnerIconColor: r.displayPrependInnerIconColor, displayPrependInnerIconSize: r.displayPrependInnerIconSize, displayValue: b.value, empty: y.value, error: f.value, field: "v-text-field", underlineColor: o.underlineColor, underlineStyle: o.underlineStyle, underlineWidth: o.underlineWidth, underlined: o.underlined, valueColor: o.valueColor })), F = v(() => ({ ...Vn, ...r.cardProps })), H = v(() => On({ density: o.density, disabled: m.value, field: "v-text-field", iconSet: c == null ? void 0 : c.defaultSet, loading: s.value, loadingWait: o.loadingWait, tableField: o.tableField, variant: o.variant })), T = v(() => Pn({ density: o.density, field: "v-text-field" })), M = Lt({ density: o.density, variant: o.variant }), R = v(() => $n({ active: p.value, name: "text-field" })), B = v(() => En({ name: "custom-field", showField: p.value })), x = v(() => ({})), E = v(() => V.value); + const b = v(() => n.value ? (m.value = !1, o.truncateLength ? hl({ length: o.truncateLength, suffix: o.truncateSuffix, text: n.value }) : n.value) : (m.value = !0, o.emptyText)), B = v(() => ({ ...o, loading: r.value, modelValue: n.value, originalValue: h })), V = v(() => ({ color: o.color, displayAppendIcon: s.displayAppendIcon, displayAppendIconColor: s.displayAppendIconColor, displayAppendIconSize: s.displayAppendIconSize, displayAppendInnerIcon: s.displayAppendInnerIcon, displayAppendInnerIconColor: s.displayAppendInnerIconColor, displayAppendInnerIconSize: s.displayAppendInnerIconSize, displayPrependIcon: s.displayPrependIcon, displayPrependIconColor: s.displayPrependIconColor, displayPrependIconSize: s.displayPrependIconSize, displayPrependInnerIcon: s.displayPrependInnerIcon, displayPrependInnerIconColor: s.displayPrependInnerIconColor, displayPrependInnerIconSize: s.displayPrependInnerIconSize, displayValue: b.value, empty: m.value, error: f.value, field: "v-text-field", underlineColor: o.underlineColor, underlineStyle: o.underlineStyle, underlineWidth: o.underlineWidth, underlined: o.underlined, valueColor: o.valueColor })), _ = v(() => ({ ...Vn, ...s.cardProps })), U = v(() => On({ cell: o.cell && !p.value, density: o.density, disabled: y.value, field: "v-text-field", iconSet: c == null ? void 0 : c.defaultSet, loading: r.value, loadingWait: o.loadingWait, tableField: o.tableField, variant: o.variant })), z = v(() => Pn({ cell: o.cell, cellUnderlineFullWidth: o.cellUnderlineFullWidth, density: o.density, field: "v-text-field" })), D = Lt({ density: o.density, variant: o.variant }), R = v(() => $n({ active: p.value, name: "text-field" })), E = v(() => En({ name: "custom-field", showField: p.value })), S = v(() => ({})), O = v(() => k.value); function C() { - f.value = !1, n.value = h, G(); + f.value = !1, n.value = h, q(); } - const V = N(), A = N(null), j = N("body"); - function G() { - var U, S; - if (m.value || o.loadingWait && s.value) + const k = M(), A = M(null), N = M("body"); + function q() { + var Y, x; + if (y.value || o.loadingWait && r.value) return; - V.value = mn({ cardMinWidth: (U = o.cardProps) == null ? void 0 : U.minWidth, cardOffsetX: o.cardOffsetX, cardOffsetY: o.cardOffsetY, cardWidth: (S = o.cardProps) == null ? void 0 : S.width, field: A.value }); - const L = Tn({ attrs: l, closeSiblings: o.closeSiblings, fieldOnly: o.fieldOnly, props: r, showField: p, timeOpened: g.value }); - o = { ...o, ...L.settings }, p.value = L.showField, g.value = L.timeOpened, D !== null && o.closeSiblings && p.value && !o.fieldOnly && D.emit(L.timeOpened); + k.value = mn({ cardMinWidth: (Y = o.cardProps) == null ? void 0 : Y.minWidth, cardOffsetX: o.cardOffsetX, cardOffsetY: o.cardOffsetY, cardWidth: (x = o.cardProps) == null ? void 0 : x.width, field: A.value }); + const L = Tn({ attrs: l, closeSiblings: o.closeSiblings, fieldOnly: o.fieldOnly, props: s, showField: p, timeOpened: g.value }); + o = { ...o, ...L.settings }, p.value = L.showField, g.value = L.timeOpened, W !== null && o.closeSiblings && p.value && !o.fieldOnly && W.emit(L.timeOpened); } - const k = N(); - function w() { - const L = Wt({ required: o.required, rules: o.rules, value: n }); - return f.value = L.errors, k.value = L.results, L.results; + const I = M(); + function P() { + const L = Mt({ required: o.required, rules: o.rules, value: n }); + return f.value = L.errors, I.value = L.results, L.results; } - function _() { - f.value ? f.value = !0 : (h = n.value, i("update", n.value), o.loadingWait || G()); + function $() { + f.value ? f.value = !0 : (h = n.value, i("update", n.value), o.loadingWait || q()); } - let D, W; - function O(L) { + let W, j; + function F(L) { i("update:closeSiblingFields", g), p.value && g.value !== L && C(); } return K(() => p.value, () => { - p.value && w(); + p.value && P(); }), K(() => n.value, () => { - p.value && w(); + p.value && P(); }), o.closeSiblings && import("@vueuse/core").then(({ useEventBus: L }) => { - D = L(Fn), W = D.on(O); + W = L(Fn), j = W.on(F); }), wn(() => { - W !== void 0 && D.off(O); - }), (L, U) => (J(), ae("div", { ref_key: "inlineFieldsContainer", ref: A, class: ee(u(H)), style: ge(u(x)) }, [!u(p) && !u(o).fieldOnly || u(o).cardField ? (J(), ae("div", { key: 0, class: ee(u(T)) }, [xe("div", { class: ee(u(M)) }, [d(u(Mt), Z(u($), { onToggleField: G }), Ue({ _: 2 }, [Ye(u(a), (S, P) => ({ name: P, fn: ue((z) => [Ae(L.$slots, P, ye(Ce({ ...z })))]) }))]), 1040)], 2)], 2)) : pe("", !0), u(p) || u(o).fieldOnly || u(o).cardField ? (J(), ae("div", { key: 1, class: ee(["d-flex align-center py-2", u(R)]) }, [(J(), he(sn, { disabled: !u(o).cardField, to: u(j) }, [Ae(L.$slots, "default", ye(Ce(u(I)))), d(u(lt), { modelValue: n.value, "onUpdate:modelValue": U[0] || (U[0] = (S) => n.value = S), "cancel-button-color": u(o).cancelButtonColor, "cancel-button-size": u(o).cancelButtonSize, "cancel-button-title": u(o).cancelButtonTitle, "cancel-button-variant": u(o).cancelButtonVariant, "cancel-icon": u(o).cancelIcon, "cancel-icon-color": u(o).cancelIconColor, error: u(f), "field-only": u(o).fieldOnly, "hide-save-icon": u(o).hideSaveIcon, loading: u(s), "loading-icon": u(o).loadingIcon, "loading-icon-color": u(o).loadingIconColor, required: u(o).required, "save-button-color": u(o).saveButtonColor, "save-button-size": u(o).saveButtonSize, "save-button-title": u(o).saveButtonTitle, "save-button-variant": u(o).saveButtonVariant, "save-icon": u(o).saveIcon, "save-icon-color": u(o).saveIconColor, onClose: C, onSave: _ }, null, 8, ["modelValue", "cancel-button-color", "cancel-button-size", "cancel-button-title", "cancel-button-variant", "cancel-icon", "cancel-icon-color", "error", "field-only", "hide-save-icon", "loading", "loading-icon", "loading-icon-color", "required", "save-button-color", "save-button-size", "save-button-title", "save-button-variant", "save-icon", "save-icon-color"])], 8, ["disabled", "to"]))], 2)) : pe("", !0), u(o).cardField ? (J(), ae("div", { key: 2, class: ee(u(B)), style: ge(u(E)) }, [d(_n, ye(Ce(u(F))), { default: ue(() => [d(yn, null, { default: ue(() => [xe("div", { ref_key: "cardFieldRef", ref: j }, null, 512)]), _: 1 })]), _: 1 }, 16)], 6)) : pe("", !0)], 6)); -} }), us = Ne({ __name: "VInlineSelect", props: Pe(kn({ clearIcon: {}, clearable: {}, density: {}, hideSelected: {}, itemTitle: {}, itemValue: {}, items: {}, menu: {}, rules: {}, variant: {}, autofocus: { type: Boolean }, cancelButtonColor: {}, cancelButtonSize: {}, cancelButtonTitle: {}, cancelButtonVariant: {}, cancelIcon: {}, cancelIconColor: {}, cardField: { type: Boolean }, cardOffsetX: {}, cardOffsetY: {}, cardProps: {}, closeSiblings: { type: Boolean }, color: {}, disabled: { type: Boolean }, displayAppendIcon: {}, displayAppendIconColor: {}, displayAppendIconSize: {}, displayAppendInnerIcon: {}, displayAppendInnerIconColor: {}, displayAppendInnerIconSize: {}, displayPrependIcon: {}, displayPrependIconColor: {}, displayPrependIconSize: {}, displayPrependInnerIcon: {}, displayPrependInnerIconColor: {}, displayPrependInnerIconSize: {}, emptyText: {}, error: { type: Boolean }, fieldOnly: { type: Boolean }, hideDetails: { type: Boolean }, hideSaveIcon: { type: Boolean }, item: {}, label: {}, loading: { type: Boolean }, loadingIcon: {}, loadingIconColor: {}, loadingWait: { type: Boolean }, name: {}, required: { type: Boolean }, saveButtonColor: {}, saveButtonSize: {}, saveButtonTitle: {}, saveButtonVariant: {}, saveIcon: {}, saveIconColor: {}, tableField: { type: Boolean }, underlineColor: {}, underlineStyle: {}, underlineWidth: {}, underlined: { type: Boolean }, valueColor: {} }, { ...di }), { modelValue: {} }), emits: Pe([...zn], ["update:modelValue"]), setup(e, { emit: t }) { - const n = un(e, "modelValue"), l = dn(), a = cn(), i = t, c = ve(Symbol.for("vuetify:icons")), r = e; - let o = Le({ ...l, ...r }); - const s = v(() => r.loading), m = v(() => r.disabled), y = N(!1), f = N(!1), p = N(), g = N(!1), h = N(null); + j !== void 0 && W.off(F); + }), (L, Y) => (J(), ie("div", { ref_key: "inlineFieldsContainer", ref: A, class: ee(u(U)), style: ge(u(S)) }, [!u(p) && !u(o).fieldOnly || u(o).cardField ? (J(), ie("div", { key: 0, class: ee(u(z)) }, [xe("div", { class: ee(u(D)) }, [d(u(Wt), Z(u(V), { onToggleField: q }), He({ _: 2 }, [Ye(u(a), (x, w) => ({ name: w, fn: ue((T) => [Ae(L.$slots, w, ye(Ce({ ...T })))]) }))]), 1040)], 2)], 2)) : pe("", !0), u(p) || u(o).fieldOnly || u(o).cardField ? (J(), ie("div", { key: 1, class: ee(["d-flex align-center py-2", u(R)]) }, [(J(), he(sn, { disabled: !u(o).cardField, to: u(N) }, [Ae(L.$slots, "default", ye(Ce(u(B)))), d(u(lt), { modelValue: n.value, "onUpdate:modelValue": Y[0] || (Y[0] = (x) => n.value = x), "cancel-button-color": u(o).cancelButtonColor, "cancel-button-size": u(o).cancelButtonSize, "cancel-button-title": u(o).cancelButtonTitle, "cancel-button-variant": u(o).cancelButtonVariant, "cancel-icon": u(o).cancelIcon, "cancel-icon-color": u(o).cancelIconColor, error: u(f), "field-only": u(o).fieldOnly, "hide-cancel-icon": u(o).hideCancelIcon, "hide-save-icon": u(o).hideSaveIcon, loading: u(r), "loading-icon": u(o).loadingIcon, "loading-icon-color": u(o).loadingIconColor, required: u(o).required, "save-button-color": u(o).saveButtonColor, "save-button-size": u(o).saveButtonSize, "save-button-title": u(o).saveButtonTitle, "save-button-variant": u(o).saveButtonVariant, "save-icon": u(o).saveIcon, "save-icon-color": u(o).saveIconColor, onClose: C, onSave: $ }, null, 8, ["modelValue", "cancel-button-color", "cancel-button-size", "cancel-button-title", "cancel-button-variant", "cancel-icon", "cancel-icon-color", "error", "field-only", "hide-cancel-icon", "hide-save-icon", "loading", "loading-icon", "loading-icon-color", "required", "save-button-color", "save-button-size", "save-button-title", "save-button-variant", "save-icon", "save-icon-color"])], 8, ["disabled", "to"]))], 2)) : pe("", !0), u(o).cardField ? (J(), ie("div", { key: 2, class: ee(u(E)), style: ge(u(O)) }, [d(_n, ye(Ce(u(_))), { default: ue(() => [d(yn, null, { default: ue(() => [xe("div", { ref_key: "cardFieldRef", ref: N }, null, 512)]), _: 1 })]), _: 1 }, 16)], 6)) : pe("", !0)], 6)); +} }), ss = Ne({ __name: "VInlineSelect", props: Pe(kn({ clearIcon: {}, clearable: {}, density: {}, hideSelected: {}, itemTitle: {}, itemValue: {}, items: {}, menu: {}, rules: {}, variant: {}, autofocus: { type: Boolean }, cancelButtonColor: {}, cancelButtonSize: {}, cancelButtonTitle: {}, cancelButtonVariant: {}, cancelIcon: {}, cancelIconColor: {}, cardField: { type: Boolean }, cardOffsetX: {}, cardOffsetY: {}, cardProps: {}, cell: { type: Boolean }, cellUnderlineFullWidth: { type: Boolean }, closeSiblings: { type: Boolean }, color: {}, disabled: { type: Boolean }, displayAppendIcon: {}, displayAppendIconColor: {}, displayAppendIconSize: {}, displayAppendInnerIcon: {}, displayAppendInnerIconColor: {}, displayAppendInnerIconSize: {}, displayPrependIcon: {}, displayPrependIconColor: {}, displayPrependIconSize: {}, displayPrependInnerIcon: {}, displayPrependInnerIconColor: {}, displayPrependInnerIconSize: {}, emptyText: {}, error: { type: Boolean }, fieldOnly: { type: Boolean }, hideCancelIcon: { type: Boolean }, hideDetails: { type: Boolean }, hideSaveIcon: { type: Boolean }, item: {}, label: {}, loading: { type: Boolean }, loadingIcon: {}, loadingIconColor: {}, loadingWait: { type: Boolean }, name: {}, required: { type: Boolean }, saveButtonColor: {}, saveButtonSize: {}, saveButtonTitle: {}, saveButtonVariant: {}, saveIcon: {}, saveIconColor: {}, tableField: { type: Boolean }, underlineColor: {}, underlineStyle: {}, underlineWidth: {}, underlined: { type: Boolean }, valueColor: {} }, { ...di }), { modelValue: {} }), emits: Pe([...zn], ["update:modelValue"]), setup(e, { emit: t }) { + const n = un(e, "modelValue"), l = dn(), a = cn(), i = t, c = ve(Symbol.for("vuetify:icons")), s = e; + let o = Le({ ...l, ...s }); + const r = v(() => s.loading), y = v(() => s.disabled), m = M(!1), f = M(!1), p = M(), g = M(!1), h = M(null); let b = n.value; - K(() => s.value, (P, z) => { - !P && z && g.value && w(); + K(() => r.value, (w, T) => { + !w && T && g.value && P(); }); - const I = v(() => Me({ icon: r.clearIcon, iconOptions: c, name: "clear" })), $ = v(() => n.value && n.value[o.itemTitle] ? (y.value = !1, n.value[o.itemTitle]) : (n.value = "", y.value = !0, o.emptyText)), F = v(() => Jn(o)), H = v(() => ({ color: o.color, displayAppendIcon: r.displayAppendIcon, displayAppendIconColor: r.displayAppendIconColor, displayAppendIconSize: r.displayAppendIconSize, displayAppendInnerIcon: r.displayAppendInnerIcon, displayAppendInnerIconColor: r.displayAppendInnerIconColor, displayAppendInnerIconSize: r.displayAppendInnerIconSize, displayPrependIcon: r.displayPrependIcon, displayPrependIconColor: r.displayPrependIconColor, displayPrependIconSize: r.displayPrependIconSize, displayPrependInnerIcon: r.displayPrependInnerIcon, displayPrependInnerIconColor: r.displayPrependInnerIconColor, displayPrependInnerIconSize: r.displayPrependInnerIconSize, displayValue: $.value, empty: y.value, error: f.value, field: "v-text-field", underlineColor: o.underlineColor, underlineStyle: o.underlineStyle, underlineWidth: o.underlineWidth, underlined: o.underlined, valueColor: o.valueColor })), T = v(() => ({ ...Vn, ...r.cardProps })); + const B = v(() => We({ icon: s.clearIcon, iconOptions: c, name: "clear" })), V = v(() => n.value && n.value[o.itemTitle] ? (m.value = !1, n.value[o.itemTitle]) : (n.value = "", m.value = !0, o.emptyText)), _ = v(() => Jn(o)), U = v(() => ({ color: o.color, displayAppendIcon: s.displayAppendIcon, displayAppendIconColor: s.displayAppendIconColor, displayAppendIconSize: s.displayAppendIconSize, displayAppendInnerIcon: s.displayAppendInnerIcon, displayAppendInnerIconColor: s.displayAppendInnerIconColor, displayAppendInnerIconSize: s.displayAppendInnerIconSize, displayPrependIcon: s.displayPrependIcon, displayPrependIconColor: s.displayPrependIconColor, displayPrependIconSize: s.displayPrependIconSize, displayPrependInnerIcon: s.displayPrependInnerIcon, displayPrependInnerIconColor: s.displayPrependInnerIconColor, displayPrependInnerIconSize: s.displayPrependInnerIconSize, displayValue: V.value, empty: m.value, error: f.value, field: "v-text-field", underlineColor: o.underlineColor, underlineStyle: o.underlineStyle, underlineWidth: o.underlineWidth, underlined: o.underlined, valueColor: o.valueColor })), z = v(() => ({ ...Vn, ...s.cardProps })); Ge(() => { p.value = o.items || []; }); - const M = v(() => On({ density: o.density, disabled: m.value, field: "v-select", iconSet: c == null ? void 0 : c.defaultSet, loading: s.value, loadingWait: o.loadingWait, tableField: o.tableField, variant: o.variant })), R = v(() => Pn({ density: o.density, field: "v-select" })), B = Lt({ density: o.density, variant: o.variant }), x = v(() => $n({ active: g.value, name: "select" })), E = v(() => En({ name: "select", showField: g.value })), C = v(() => ({})), V = v(() => j.value); + const D = v(() => On({ cell: o.cell && !g.value, density: o.density, disabled: y.value, field: "v-select", iconSet: c == null ? void 0 : c.defaultSet, loading: r.value, loadingWait: o.loadingWait, tableField: o.tableField, variant: o.variant })), R = v(() => Pn({ cell: o.cell, cellUnderlineFullWidth: o.cellUnderlineFullWidth, density: o.density, field: "v-select" })), E = Lt({ density: o.density, variant: o.variant }), S = v(() => $n({ active: g.value, name: "select" })), O = v(() => En({ name: "select", showField: g.value })), C = v(() => ({})), k = v(() => N.value); function A() { - f.value = !1, n.value = b, w(); + f.value = !1, n.value = b, P(); } - const j = N(), G = N(null), k = N("body"); - function w() { - var z, q; - if (m.value || o.loadingWait && s.value) + const N = M(), q = M(null), I = M("body"); + function P() { + var T, G; + if (y.value || o.loadingWait && r.value) return; - j.value = mn({ cardMinWidth: (z = o.cardProps) == null ? void 0 : z.minWidth, cardOffsetX: o.cardOffsetX, cardOffsetY: o.cardOffsetY, cardWidth: (q = o.cardProps) == null ? void 0 : q.width, field: G.value }); - const P = Tn({ attrs: l, closeSiblings: o.closeSiblings, fieldOnly: o.fieldOnly, props: r, showField: g, timeOpened: h.value }); - o = { ...o, ...P.settings }, g.value = P.showField, h.value = P.timeOpened, L !== null && o.closeSiblings && g.value && !o.fieldOnly && L.emit(P.timeOpened); + N.value = mn({ cardMinWidth: (T = o.cardProps) == null ? void 0 : T.minWidth, cardOffsetX: o.cardOffsetX, cardOffsetY: o.cardOffsetY, cardWidth: (G = o.cardProps) == null ? void 0 : G.width, field: q.value }); + const w = Tn({ attrs: l, closeSiblings: o.closeSiblings, fieldOnly: o.fieldOnly, props: s, showField: g, timeOpened: h.value }); + o = { ...o, ...w.settings }, g.value = w.showField, h.value = w.timeOpened, L !== null && o.closeSiblings && g.value && !o.fieldOnly && L.emit(w.timeOpened); } - const _ = N(), D = v(() => _.value); - function W() { - const P = Wt({ required: o.required, rules: o.rules, value: n }); - return f.value = P.errors, _.value = P.results, P.results; + const $ = M(), W = v(() => $.value); + function j() { + const w = Mt({ required: o.required, rules: o.rules, value: n }); + return f.value = w.errors, $.value = w.results, w.results; } - function O() { - b = n.value, i("update", n.value), o.loadingWait || w(); + function F() { + b = n.value, i("update", n.value), o.loadingWait || P(); } - let L, U; - function S(P) { - i("update:closeSiblingFields", h), g.value && h.value !== P && A(); + let L, Y; + function x(w) { + i("update:closeSiblingFields", h), g.value && h.value !== w && A(); } return K(() => g.value, () => { - g.value && W(); + g.value && j(); }), K(() => n.value, () => { - g.value && W(); - }), o.closeSiblings && import("@vueuse/core").then(({ useEventBus: P }) => { - L = P(Fn), U = L.on(S); + g.value && j(); + }), o.closeSiblings && import("@vueuse/core").then(({ useEventBus: w }) => { + L = w(Fn), Y = L.on(x); }), wn(() => { - U !== void 0 && L.off(S); - }), (P, z) => (J(), ae("div", { ref_key: "inlineFieldsContainer", ref: G, class: ee(u(M)), style: ge(u(C)) }, [!u(g) && !u(o).fieldOnly || u(o).cardField ? (J(), ae("div", { key: 0, class: ee(u(R)) }, [xe("div", { class: ee(u(B)) }, [d(u(Mt), Z(u(H), { onToggleField: w }), Ue({ _: 2 }, [Ye(u(a), (q, X) => ({ name: X, fn: ue((le) => [Ae(P.$slots, X, ye(Ce({ ...le })), void 0, !0)]) }))]), 1040)], 2)], 2)) : pe("", !0), u(g) || u(o).fieldOnly || u(o).cardField ? (J(), ae("div", { key: 1, class: ee(u(x)) }, [(J(), he(sn, { disabled: !u(o).cardField, to: u(k) }, [d(Hr, Z(u(F), { modelValue: n.value, "onUpdate:modelValue": z[0] || (z[0] = (q) => n.value = q), autofocus: !u(o).fieldOnly || u(o).autofocus, "clear-icon": u(I), clearable: u(o).clearable, color: u(o).color, density: u(o).density, disabled: u(s) || u(m), error: u(f), "error-messages": u(D), "hide-details": u(o).hideDetails, "hide-selected": u(o).hideSelected, "item-title": u(o).itemTitle, "item-value": u(o).itemValue, items: u(p), label: u(o).label, loading: u(s), menu: u(o).menu && !u(o).fieldOnly && u(g), variant: u(o).variant, width: "100%", onKeyup: St(A, ["esc"]) }), Ue({ _: 2 }, [Ye(u(a), (q, X) => ({ name: X, fn: ue((le) => [Ae(P.$slots, X, ye(Ce({ ...le })), void 0, !0)]) })), u(a).append ? void 0 : { name: "append", fn: ue(() => [d(u(lt), { "cancel-button-color": u(o).cancelButtonColor, "cancel-button-size": u(o).cancelButtonSize, "cancel-button-title": u(o).cancelButtonTitle, "cancel-button-variant": u(o).cancelButtonVariant, "cancel-icon": u(o).cancelIcon, "cancel-icon-color": u(o).cancelIconColor, error: u(f), "field-only": u(o).fieldOnly, "hide-save-icon": u(o).hideSaveIcon, loading: u(s), "loading-icon": u(o).loadingIcon, "loading-icon-color": u(o).loadingIconColor, "save-button-color": u(o).saveButtonColor, "save-button-size": u(o).saveButtonSize, "save-button-title": u(o).saveButtonTitle, "save-button-variant": u(o).saveButtonVariant, "save-icon": u(o).saveIcon, "save-icon-color": u(o).saveIconColor, onClose: A, onSave: O }, null, 8, ["cancel-button-color", "cancel-button-size", "cancel-button-title", "cancel-button-variant", "cancel-icon", "cancel-icon-color", "error", "field-only", "hide-save-icon", "loading", "loading-icon", "loading-icon-color", "save-button-color", "save-button-size", "save-button-title", "save-button-variant", "save-icon", "save-icon-color"])]), key: "0" }]), 1040, ["modelValue", "autofocus", "clear-icon", "clearable", "color", "density", "disabled", "error", "error-messages", "hide-details", "hide-selected", "item-title", "item-value", "items", "label", "loading", "menu", "variant", "onKeyup"])], 8, ["disabled", "to"]))], 2)) : pe("", !0), u(o).cardField ? (J(), ae("div", { key: 2, class: ee(u(E)), style: ge(u(V)) }, [d(_n, ye(Ce(u(T))), { default: ue(() => [d(yn, null, { default: ue(() => [xe("div", { ref_key: "cardFieldRef", ref: k }, null, 512)]), _: 1 })]), _: 1 }, 16)], 6)) : pe("", !0)], 6)); -} }), cs = { class: "v-selection-control__wrapper" }, Re = { VInlineCheckbox: rs, VInlineCustomField: ss, VInlineSelect: ((e, t) => { + Y !== void 0 && L.off(x); + }), (w, T) => (J(), ie("div", { ref_key: "inlineFieldsContainer", ref: q, class: ee(u(D)), style: ge(u(C)) }, [!u(g) && !u(o).fieldOnly || u(o).cardField ? (J(), ie("div", { key: 0, class: ee(u(R)) }, [xe("div", { class: ee(u(E)) }, [d(u(Wt), Z(u(U), { onToggleField: P }), He({ _: 2 }, [Ye(u(a), (G, X) => ({ name: X, fn: ue((oe) => [Ae(w.$slots, X, ye(Ce({ ...oe })), void 0, !0)]) }))]), 1040)], 2)], 2)) : pe("", !0), u(g) || u(o).fieldOnly || u(o).cardField ? (J(), ie("div", { key: 1, class: ee(u(S)) }, [(J(), he(sn, { disabled: !u(o).cardField, to: u(I) }, [d(Ur, Z(u(_), { modelValue: n.value, "onUpdate:modelValue": T[0] || (T[0] = (G) => n.value = G), autofocus: !u(o).fieldOnly || u(o).autofocus, "clear-icon": u(B), clearable: u(o).clearable, color: u(o).color, density: u(o).density, disabled: u(r) || u(y), error: u(f), "error-messages": u(W), "hide-details": u(o).hideDetails, "hide-selected": u(o).hideSelected, "item-title": u(o).itemTitle, "item-value": u(o).itemValue, items: u(p), label: u(o).label, loading: u(r), menu: u(o).menu && !u(o).fieldOnly && u(g), variant: u(o).variant, width: "100%", onKeyup: St(A, ["esc"]) }), He({ _: 2 }, [Ye(u(a), (G, X) => ({ name: X, fn: ue((oe) => [Ae(w.$slots, X, ye(Ce({ ...oe })), void 0, !0)]) })), u(a).append ? void 0 : { name: "append", fn: ue(() => [d(u(lt), { "cancel-button-color": u(o).cancelButtonColor, "cancel-button-size": u(o).cancelButtonSize, "cancel-button-title": u(o).cancelButtonTitle, "cancel-button-variant": u(o).cancelButtonVariant, "cancel-icon": u(o).cancelIcon, "cancel-icon-color": u(o).cancelIconColor, error: u(f), "field-only": u(o).fieldOnly, "hide-cancel-icon": u(o).hideCancelIcon, "hide-save-icon": u(o).hideSaveIcon, loading: u(r), "loading-icon": u(o).loadingIcon, "loading-icon-color": u(o).loadingIconColor, "save-button-color": u(o).saveButtonColor, "save-button-size": u(o).saveButtonSize, "save-button-title": u(o).saveButtonTitle, "save-button-variant": u(o).saveButtonVariant, "save-icon": u(o).saveIcon, "save-icon-color": u(o).saveIconColor, onClose: A, onSave: F }, null, 8, ["cancel-button-color", "cancel-button-size", "cancel-button-title", "cancel-button-variant", "cancel-icon", "cancel-icon-color", "error", "field-only", "hide-cancel-icon", "hide-save-icon", "loading", "loading-icon", "loading-icon-color", "save-button-color", "save-button-size", "save-button-title", "save-button-variant", "save-icon", "save-icon-color"])]), key: "0" }]), 1040, ["modelValue", "autofocus", "clear-icon", "clearable", "color", "density", "disabled", "error", "error-messages", "hide-details", "hide-selected", "item-title", "item-value", "items", "label", "loading", "menu", "variant", "onKeyup"])], 8, ["disabled", "to"]))], 2)) : pe("", !0), u(o).cardField ? (J(), ie("div", { key: 2, class: ee(u(O)), style: ge(u(k)) }, [d(_n, ye(Ce(u(z))), { default: ue(() => [d(yn, null, { default: ue(() => [xe("div", { ref_key: "cardFieldRef", ref: I }, null, 512)]), _: 1 })]), _: 1 }, 16)], 6)) : pe("", !0)], 6)); +} }), us = { class: "v-selection-control__wrapper" }, Re = { VInlineCheckbox: is, VInlineCustomField: rs, VInlineSelect: ((e, t) => { const n = e.__vccOpts || e; for (const [l, a] of t) n[l] = a; return n; -})(us, [["__scopeId", "data-v-d028b1ff"]]), VInlineSwitch: Ne({ __name: "VInlineSwitch", props: Pe(kn({ density: {}, falseIcon: {}, cancelButtonColor: {}, cancelButtonSize: {}, cancelButtonTitle: {}, cancelButtonVariant: {}, cancelIcon: {}, cancelIconColor: {}, cardField: { type: Boolean }, cardOffsetX: {}, cardOffsetY: {}, cardProps: {}, closeSiblings: { type: Boolean }, color: {}, disabled: { type: Boolean }, displayAppendIcon: {}, displayAppendIconColor: {}, displayAppendIconSize: {}, displayAppendInnerIcon: {}, displayAppendInnerIconColor: {}, displayAppendInnerIconSize: {}, displayPrependIcon: {}, displayPrependIconColor: {}, displayPrependIconSize: {}, displayPrependInnerIcon: {}, displayPrependInnerIconColor: {}, displayPrependInnerIconSize: {}, emptyText: {}, error: { type: Boolean }, falseValue: { type: [Boolean, String] }, fieldOnly: { type: Boolean }, hideDetails: { type: Boolean }, iconFalse: {}, iconFalseColor: {}, iconFalseTitle: {}, iconTrue: {}, iconTrueColor: {}, iconTrueTitle: {}, icons: { type: Boolean }, item: {}, label: {}, loading: { type: Boolean }, loadingWait: { type: Boolean }, name: {}, required: { type: Boolean }, tableField: { type: Boolean }, trueValue: { type: [Boolean, String] }, underlineColor: {}, underlineStyle: {}, underlineWidth: {}, underlined: { type: Boolean }, valueColor: {} }, { ...pi }), { modelValue: {} }), emits: Pe([...zn], ["update:modelValue"]), setup(e, { emit: t }) { - const n = un(e, "modelValue"), l = dn(), a = cn(), i = t, c = ve(Symbol.for("vuetify:icons")), r = Sl(), o = e; - let s = Le({ ...l, ...o }); - const m = v(() => o.loading), y = v(() => o.disabled), f = N(!1), p = N(!1), g = N(null), h = v(() => Jn(s)), b = v(() => ({ ...Vn, ...o.cardProps })); - K(() => m.value, (O, L) => { - !O && L && p.value && k(); +})(ss, [["__scopeId", "data-v-36fbbe97"]]), VInlineSwitch: Ne({ __name: "VInlineSwitch", props: Pe(kn({ density: {}, falseIcon: {}, cancelButtonColor: {}, cancelButtonSize: {}, cancelButtonTitle: {}, cancelButtonVariant: {}, cancelIcon: {}, cancelIconColor: {}, cardField: { type: Boolean }, cardOffsetX: {}, cardOffsetY: {}, cardProps: {}, cell: { type: Boolean }, cellUnderlineFullWidth: { type: Boolean }, closeSiblings: { type: Boolean }, color: {}, disabled: { type: Boolean }, displayAppendIcon: {}, displayAppendIconColor: {}, displayAppendIconSize: {}, displayAppendInnerIcon: {}, displayAppendInnerIconColor: {}, displayAppendInnerIconSize: {}, displayPrependIcon: {}, displayPrependIconColor: {}, displayPrependIconSize: {}, displayPrependInnerIcon: {}, displayPrependInnerIconColor: {}, displayPrependInnerIconSize: {}, emptyText: {}, error: { type: Boolean }, falseValue: { type: [Boolean, String] }, fieldOnly: { type: Boolean }, hideCancelIcon: { type: Boolean }, hideDetails: { type: Boolean }, iconFalse: {}, iconFalseColor: {}, iconFalseTitle: {}, iconTrue: {}, iconTrueColor: {}, iconTrueTitle: {}, icons: { type: Boolean }, item: {}, label: {}, loading: { type: Boolean }, loadingWait: { type: Boolean }, name: {}, required: { type: Boolean }, tableField: { type: Boolean }, trueValue: { type: [Boolean, String] }, underlineColor: {}, underlineStyle: {}, underlineWidth: {}, underlined: { type: Boolean }, valueColor: {} }, { ...pi }), { modelValue: {} }), emits: Pe([...zn], ["update:modelValue"]), setup(e, { emit: t }) { + const n = un(e, "modelValue"), l = dn(), a = cn(), i = t, c = ve(Symbol.for("vuetify:icons")), s = Sl(), o = e; + let r = Le({ ...l, ...o }); + const y = v(() => o.loading), m = v(() => o.disabled), f = M(!1), p = M(!1), g = M(null), h = v(() => Jn(r)), b = v(() => ({ ...Vn, ...o.cardProps })); + K(() => y.value, (F, L) => { + !F && L && p.value && I(); }); - const I = v(() => Me({ icon: s.cancelIcon, iconOptions: c, name: "false" })), $ = v(() => n.value == s.trueValue), F = v(() => Ja({ modelValue: n, trueValue: s.trueValue })), H = v(() => On({ density: s.density, disabled: y.value, field: "v-switch", loading: m.value, loadingWait: s.loadingWait, tableField: s.tableField })), T = v(() => Pn({ density: s.density, field: "v-switch" })), M = Ka({ density: s.density }), R = v(() => $n({ active: p.value, name: "switch" })), B = v(() => Wl("switch", s.valueColor, { error: f })), x = v(() => En({ name: "switch", showField: p.value })), E = v(() => ({})), C = v(() => Rl({ color: s.color, error: f, theme: r, underlineColor: s.underlineColor, underlineStyle: s.underlineStyle, underlineWidth: s.underlineWidth, underlined: s.underlined })), V = v(() => A.value), A = N(), j = N(null), G = N("body"); - function k() { - var L, U; - if (y.value || s.loadingWait && m.value) + const B = v(() => We({ icon: r.cancelIcon, iconOptions: c, name: "false" })), V = v(() => n.value == r.trueValue), _ = v(() => Ja({ modelValue: n, trueValue: r.trueValue })), U = v(() => On({ cell: r.cell && !p.value, density: r.density, disabled: m.value, field: "v-switch", loading: y.value, loadingWait: r.loadingWait, tableField: r.tableField })), z = v(() => Pn({ cell: r.cell, cellUnderlineFullWidth: r.cellUnderlineFullWidth, density: r.density, field: "v-switch" })), D = Ka({ density: r.density }), R = v(() => $n({ active: p.value, name: "switch" })), E = v(() => Ml("switch", r.valueColor, { error: f })), S = v(() => En({ name: "switch", showField: p.value })), O = v(() => ({})), C = v(() => Rl({ color: r.color, error: f, theme: s, underlineColor: r.underlineColor, underlineStyle: r.underlineStyle, underlineWidth: r.underlineWidth, underlined: r.underlined })), k = v(() => A.value), A = M(), N = M(null), q = M("body"); + function I() { + var L, Y; + if (m.value || r.loadingWait && y.value) return; - A.value = mn({ cardMinWidth: (L = s.cardProps) == null ? void 0 : L.minWidth, cardOffsetX: s.cardOffsetX, cardOffsetY: s.cardOffsetY, cardWidth: (U = s.cardProps) == null ? void 0 : U.width, field: j.value }); - const O = Tn({ attrs: l, closeSiblings: s.closeSiblings, fieldOnly: s.fieldOnly, props: o, showField: p.value, timeOpened: g.value }); - s = { ...s, ...O.settings }, p.value = O.showField, g.value = O.timeOpened, _ !== null && s.closeSiblings && p.value && !s.fieldOnly && _.emit(O.timeOpened); + A.value = mn({ cardMinWidth: (L = r.cardProps) == null ? void 0 : L.minWidth, cardOffsetX: r.cardOffsetX, cardOffsetY: r.cardOffsetY, cardWidth: (Y = r.cardProps) == null ? void 0 : Y.width, field: N.value }); + const F = Tn({ attrs: l, closeSiblings: r.closeSiblings, fieldOnly: r.fieldOnly, props: o, showField: p.value, timeOpened: g.value }); + r = { ...r, ...F.settings }, p.value = F.showField, g.value = F.timeOpened, $ !== null && r.closeSiblings && p.value && !r.fieldOnly && $.emit(F.timeOpened); } - function w(O) { - n.value = O, i("update", O), s.loadingWait || k(); + function P(F) { + n.value = F, i("update", F), r.loadingWait || I(); } - let _, D; - function W(O) { - i("update:closeSiblingFields", g), p.value && g.value !== O && k(); + let $, W; + function j(F) { + i("update:closeSiblingFields", g), p.value && g.value !== F && I(); } - return s.closeSiblings && import("@vueuse/core").then(({ useEventBus: O }) => { - _ = O(Fn), D = _.on(W); + return r.closeSiblings && import("@vueuse/core").then(({ useEventBus: F }) => { + $ = F(Fn), W = $.on(j); }), wn(() => { - D !== void 0 && _.off(W); - }), (O, L) => (J(), ae("div", { ref_key: "inlineFieldsContainer", ref: j, class: ee(u(H)), style: ge(u(E)) }, [!u(p) && !u(s).fieldOnly || u(s).cardField ? (J(), ae("div", { key: 0, class: ee(u(T)) }, [xe("div", { class: ee(u(M)) }, [xe("div", cs, [O.icons ? (J(), ae("div", { key: 0, class: ee(u(B)), style: ge(u(C)), onClick: k }, [d(u(Xa), { modelValue: u(F), "onUpdate:modelValue": L[0] || (L[0] = (U) => hn(F) ? F.value = U : null), "icon-false": u(s).iconFalse, "icon-false-color": u(s).iconFalseColor, "icon-false-title": u(s).iconFalseTitle, "icon-true": u(s).iconTrue, "icon-true-color": u(s).iconTrueColor, "icon-true-title": u(s).iconTrueTitle }, null, 8, ["modelValue", "icon-false", "icon-false-color", "icon-false-title", "icon-true", "icon-true-color", "icon-true-title"])], 6)) : (J(), ae("div", { key: 1, class: ee(["d-inline-flex align-center justify-center", u(B)]), style: ge(u(C)), onClick: k }, Il(u($)), 7))])], 2)], 2)) : pe("", !0), u(p) || u(s).fieldOnly || u(s).cardField ? (J(), ae("div", { key: 1, class: ee(u(R)) }, [(J(), he(sn, { disabled: !u(s).cardField, to: u(G) }, [d(es, Z(u(h), { color: u(s).color, density: u(s).density, disabled: u(m) || u(y), error: u(f), "false-icon": u(s).falseIcon, "false-value": u(s).falseValue, "hide-details": u(s).hideDetails, label: u(s).label, loading: u(m), "model-value": u(F), "true-value": u(s).trueValue, "onUpdate:modelValue": w }), Ue({ _: 2 }, [Ye(u(a), (U, S) => ({ name: S, fn: ue((P) => [Ae(O.$slots, S, ye(Ce({ ...P })))]) })), u(a).append ? void 0 : { name: "append", fn: ue(() => [!u(s).fieldOnly || u(s).cardField ? (J(), he(ul, { key: 0, class: "ms-3", color: u(s).cancelButtonColor, icon: "", size: u(s).cancelButtonSize, title: u(s).cancelButtonTitle, variant: u(s).cancelButtonVariant, onClick: k }, { default: ue(() => [d(de, { color: u(s).cancelIconColor, icon: u(I) }, null, 8, ["color", "icon"])]), _: 1 }, 8, ["color", "size", "title", "variant"])) : pe("", !0)]), key: "0" }]), 1040, ["color", "density", "disabled", "error", "false-icon", "false-value", "hide-details", "label", "loading", "model-value", "true-value"])], 8, ["disabled", "to"]))], 2)) : pe("", !0), u(s).cardField ? (J(), ae("div", { key: 2, class: ee(u(x)), style: ge(u(V)) }, [d(_n, ye(Ce(u(b))), { default: ue(() => [d(yn, null, { default: ue(() => [xe("div", { ref_key: "cardFieldRef", ref: G }, null, 512)]), _: 1 })]), _: 1 }, 16)], 6)) : pe("", !0)], 6)); -} }), VInlineTextField: Ne({ __name: "VInlineTextField", props: Pe(kn({ clearIcon: {}, density: {}, rules: {}, variant: {}, autofocus: { type: Boolean }, cancelButtonColor: {}, cancelButtonSize: {}, cancelButtonTitle: {}, cancelButtonVariant: {}, cancelIcon: {}, cancelIconColor: {}, cardField: { type: Boolean }, cardOffsetX: {}, cardOffsetY: {}, cardProps: {}, closeSiblings: { type: Boolean }, color: {}, disabled: { type: Boolean }, displayAppendIcon: {}, displayAppendIconColor: {}, displayAppendIconSize: {}, displayAppendInnerIcon: {}, displayAppendInnerIconColor: {}, displayAppendInnerIconSize: {}, displayPrependIcon: {}, displayPrependIconColor: {}, displayPrependIconSize: {}, displayPrependInnerIcon: {}, displayPrependInnerIconColor: {}, displayPrependInnerIconSize: {}, emptyText: {}, error: { type: Boolean }, fieldOnly: { type: Boolean }, hideDetails: { type: Boolean }, hideSaveIcon: { type: Boolean }, item: {}, label: {}, loading: { type: Boolean }, loadingIcon: {}, loadingIconColor: {}, loadingWait: { type: Boolean }, name: {}, required: { type: Boolean }, saveButtonColor: {}, saveButtonSize: {}, saveButtonTitle: {}, saveButtonVariant: {}, saveIcon: {}, saveIconColor: {}, tableField: { type: Boolean }, truncateLength: {}, truncateSuffix: {}, underlineColor: {}, underlineStyle: {}, underlineWidth: {}, underlined: { type: Boolean }, valueColor: {} }, { ...Wo }), { modelValue: {} }), emits: Pe([...zn], ["update:modelValue"]), setup(e, { emit: t }) { - const n = un(e, "modelValue"), l = dn(), a = cn(), i = t, c = ve(Symbol.for("vuetify:icons")), r = e; - let o = Le({ ...l, ...r }); - const s = v(() => r.loading), m = v(() => r.disabled), y = N(!1), f = N(!1), p = N(!1), g = N(null); + W !== void 0 && $.off(j); + }), (F, L) => (J(), ie("div", { ref_key: "inlineFieldsContainer", ref: N, class: ee(u(U)), style: ge(u(O)) }, [!u(p) && !u(r).fieldOnly || u(r).cardField ? (J(), ie("div", { key: 0, class: ee(u(z)), onClick: L[2] || (L[2] = (Y) => u(r).cell ? I() : void 0) }, [xe("div", { class: ee(u(D)), onClick: L[1] || (L[1] = (Y) => u(r).cell ? void 0 : I()) }, [xe("div", us, [F.icons ? (J(), ie("div", { key: 0, class: ee(["v-inline-fields--boolean-icons-container", u(E)]), style: ge(u(C)) }, [d(u(Xa), { modelValue: u(_), "onUpdate:modelValue": L[0] || (L[0] = (Y) => hn(_) ? _.value = Y : null), "icon-false": u(r).iconFalse, "icon-false-color": u(r).iconFalseColor, "icon-false-title": u(r).iconFalseTitle, "icon-true": u(r).iconTrue, "icon-true-color": u(r).iconTrueColor, "icon-true-title": u(r).iconTrueTitle }, null, 8, ["modelValue", "icon-false", "icon-false-color", "icon-false-title", "icon-true", "icon-true-color", "icon-true-title"])], 6)) : (J(), ie("div", { key: 1, class: ee(["d-inline-flex align-center justify-center", u(E)]), style: ge(u(C)) }, Il(u(V)), 7))])], 2)], 2)) : pe("", !0), u(p) || u(r).fieldOnly || u(r).cardField ? (J(), ie("div", { key: 1, class: ee(u(R)) }, [(J(), he(sn, { disabled: !u(r).cardField, to: u(q) }, [d(es, Z(u(h), { color: u(r).color, density: u(r).density, disabled: u(y) || u(m), error: u(f), "false-icon": u(r).falseIcon, "false-value": u(r).falseValue, "hide-details": u(r).hideDetails, label: u(r).label, loading: u(y), "model-value": u(_), "true-value": u(r).trueValue, "onUpdate:modelValue": P }), He({ _: 2 }, [Ye(u(a), (Y, x) => ({ name: x, fn: ue((w) => [Ae(F.$slots, x, ye(Ce({ ...w })))]) })), u(a).append ? void 0 : { name: "append", fn: ue(() => [u(r).fieldOnly && !u(r).cardField || u(r).hideCancelIcon ? pe("", !0) : (J(), he(ul, { key: 0, class: "ms-3", color: u(r).cancelButtonColor, icon: "", size: u(r).cancelButtonSize, title: u(r).cancelButtonTitle, variant: u(r).cancelButtonVariant, onClick: I }, { default: ue(() => [d(de, { color: u(r).cancelIconColor, icon: u(B) }, null, 8, ["color", "icon"])]), _: 1 }, 8, ["color", "size", "title", "variant"]))]), key: "0" }]), 1040, ["color", "density", "disabled", "error", "false-icon", "false-value", "hide-details", "label", "loading", "model-value", "true-value"])], 8, ["disabled", "to"]))], 2)) : pe("", !0), u(r).cardField ? (J(), ie("div", { key: 2, class: ee(u(S)), style: ge(u(k)) }, [d(_n, ye(Ce(u(b))), { default: ue(() => [d(yn, null, { default: ue(() => [xe("div", { ref_key: "cardFieldRef", ref: q }, null, 512)]), _: 1 })]), _: 1 }, 16)], 6)) : pe("", !0)], 6)); +} }), VInlineTextField: Ne({ __name: "VInlineTextField", props: Pe(kn({ clearIcon: {}, density: {}, rules: {}, variant: {}, autofocus: { type: Boolean }, cancelButtonColor: {}, cancelButtonSize: {}, cancelButtonTitle: {}, cancelButtonVariant: {}, cancelIcon: {}, cancelIconColor: {}, cardField: { type: Boolean }, cardOffsetX: {}, cardOffsetY: {}, cardProps: {}, cell: { type: Boolean }, cellUnderlineFullWidth: { type: Boolean }, closeSiblings: { type: Boolean }, color: {}, disabled: { type: Boolean }, displayAppendIcon: {}, displayAppendIconColor: {}, displayAppendIconSize: {}, displayAppendInnerIcon: {}, displayAppendInnerIconColor: {}, displayAppendInnerIconSize: {}, displayPrependIcon: {}, displayPrependIconColor: {}, displayPrependIconSize: {}, displayPrependInnerIcon: {}, displayPrependInnerIconColor: {}, displayPrependInnerIconSize: {}, emptyText: {}, error: { type: Boolean }, fieldOnly: { type: Boolean }, hideCancelIcon: { type: Boolean }, hideDetails: { type: Boolean }, hideSaveIcon: { type: Boolean }, item: {}, label: {}, loading: { type: Boolean }, loadingIcon: {}, loadingIconColor: {}, loadingWait: { type: Boolean }, name: {}, required: { type: Boolean }, saveButtonColor: {}, saveButtonSize: {}, saveButtonTitle: {}, saveButtonVariant: {}, saveIcon: {}, saveIconColor: {}, tableField: { type: Boolean }, truncateLength: {}, truncateSuffix: {}, underlineColor: {}, underlineStyle: {}, underlineWidth: {}, underlined: { type: Boolean }, valueColor: {} }, { ...Mo }), { modelValue: {} }), emits: Pe([...zn], ["update:modelValue"]), setup(e, { emit: t }) { + const n = un(e, "modelValue"), l = dn(), a = cn(), i = t, c = ve(Symbol.for("vuetify:icons")), s = e; + let o = Le({ ...l, ...s }); + const r = v(() => s.loading), y = v(() => s.disabled), m = M(!1), f = M(!1), p = M(!1), g = M(null); let h = n.value; - K(() => s.value, (S, P) => { - !S && P && p.value && k(); + K(() => r.value, (x, w) => { + !x && w && p.value && I(); }); - const b = v(() => Me({ icon: r.clearIcon, iconOptions: c, name: "clear" })), I = v(() => n.value ? (y.value = !1, o.truncateLength ? hl({ length: o.truncateLength, suffix: o.truncateSuffix, text: n.value }) : n.value) : (y.value = !0, o.emptyText)), $ = v(() => Jn(o)), F = v(() => ({ color: o.color, displayAppendIcon: r.displayAppendIcon, displayAppendIconColor: r.displayAppendIconColor, displayAppendIconSize: r.displayAppendIconSize, displayAppendInnerIcon: r.displayAppendInnerIcon, displayAppendInnerIconColor: r.displayAppendInnerIconColor, displayAppendInnerIconSize: r.displayAppendInnerIconSize, displayPrependIcon: r.displayPrependIcon, displayPrependIconColor: r.displayPrependIconColor, displayPrependIconSize: r.displayPrependIconSize, displayPrependInnerIcon: r.displayPrependInnerIcon, displayPrependInnerIconColor: r.displayPrependInnerIconColor, displayPrependInnerIconSize: r.displayPrependInnerIconSize, displayValue: I.value, empty: y.value, error: f.value, field: "v-text-field", underlineColor: o.underlineColor, underlineStyle: o.underlineStyle, underlineWidth: o.underlineWidth, underlined: o.underlined, valueColor: o.valueColor })), H = v(() => ({ ...Vn, ...r.cardProps })), T = v(() => On({ density: o.density, disabled: m.value, field: "v-text-field", iconSet: c == null ? void 0 : c.defaultSet, loading: s.value, loadingWait: o.loadingWait, tableField: o.tableField, variant: o.variant })), M = v(() => Pn({ density: o.density, field: "v-text-field" })), R = Lt({ density: o.density, variant: o.variant }), B = v(() => $n({ active: p.value, name: "text-field" })), x = v(() => En({ name: "text-field", showField: p.value })), E = v(() => ({})), C = v(() => A.value); - function V() { - f.value = !1, n.value = h, k(); - } - const A = N(), j = N(null), G = N("body"); + const b = v(() => We({ icon: s.clearIcon, iconOptions: c, name: "clear" })), B = v(() => n.value ? (m.value = !1, o.truncateLength ? hl({ length: o.truncateLength, suffix: o.truncateSuffix, text: n.value }) : n.value) : (m.value = !0, o.emptyText)), V = v(() => Jn(o)), _ = v(() => ({ color: o.color, displayAppendIcon: s.displayAppendIcon, displayAppendIconColor: s.displayAppendIconColor, displayAppendIconSize: s.displayAppendIconSize, displayAppendInnerIcon: s.displayAppendInnerIcon, displayAppendInnerIconColor: s.displayAppendInnerIconColor, displayAppendInnerIconSize: s.displayAppendInnerIconSize, displayPrependIcon: s.displayPrependIcon, displayPrependIconColor: s.displayPrependIconColor, displayPrependIconSize: s.displayPrependIconSize, displayPrependInnerIcon: s.displayPrependInnerIcon, displayPrependInnerIconColor: s.displayPrependInnerIconColor, displayPrependInnerIconSize: s.displayPrependInnerIconSize, displayValue: B.value, empty: m.value, error: f.value, field: "v-text-field", underlineColor: o.underlineColor, underlineStyle: o.underlineStyle, underlineWidth: o.underlineWidth, underlined: o.underlined, valueColor: o.valueColor })), U = v(() => ({ ...Vn, ...s.cardProps })), z = v(() => On({ cell: o.cell && !p.value, density: o.density, disabled: y.value, field: "v-text-field", iconSet: c == null ? void 0 : c.defaultSet, loading: r.value, loadingWait: o.loadingWait, tableField: o.tableField, variant: o.variant })), D = v(() => Pn({ cell: o.cell, cellUnderlineFullWidth: o.cellUnderlineFullWidth, density: o.density, field: "v-text-field" })), R = Lt({ density: o.density, variant: o.variant }), E = v(() => $n({ active: p.value, name: "text-field" })), S = v(() => En({ name: "text-field", showField: p.value })), O = v(() => ({})), C = v(() => A.value); function k() { - var P, z; - if (m.value || o.loadingWait && s.value) - return; - A.value = mn({ cardMinWidth: (P = o.cardProps) == null ? void 0 : P.minWidth, cardOffsetX: o.cardOffsetX, cardOffsetY: o.cardOffsetY, cardWidth: (z = o.cardProps) == null ? void 0 : z.width, field: j.value }); - const S = Tn({ attrs: l, closeSiblings: o.closeSiblings, fieldOnly: o.fieldOnly, props: r, showField: p, timeOpened: g.value }); - o = { ...o, ...S.settings }, p.value = S.showField, g.value = S.timeOpened, O !== null && o.closeSiblings && p.value && !o.fieldOnly && O.emit(S.timeOpened); + f.value = !1, n.value = h, I(); } - const w = N(), _ = v(() => w.value); - function D() { - const S = Wt({ required: o.required, rules: o.rules, value: n }); - return f.value = S.errors, w.value = S.results, S.results; + const A = M(), N = M(null), q = M("body"); + function I() { + var w, T; + if (y.value || o.loadingWait && r.value) + return; + A.value = mn({ cardMinWidth: (w = o.cardProps) == null ? void 0 : w.minWidth, cardOffsetX: o.cardOffsetX, cardOffsetY: o.cardOffsetY, cardWidth: (T = o.cardProps) == null ? void 0 : T.width, field: N.value }); + const x = Tn({ attrs: l, closeSiblings: o.closeSiblings, fieldOnly: o.fieldOnly, props: s, showField: p, timeOpened: g.value }); + o = { ...o, ...x.settings }, p.value = x.showField, g.value = x.timeOpened, F !== null && o.closeSiblings && p.value && !o.fieldOnly && F.emit(x.timeOpened); } + const P = M(), $ = v(() => P.value); function W() { - f.value ? f.value = !0 : (h = n.value, i("update", n.value), o.loadingWait || k()); + const x = Mt({ required: o.required, rules: o.rules, value: n }); + return f.value = x.errors, P.value = x.results, x.results; } - let O, L; - function U(S) { - i("update:closeSiblingFields", g), p.value && g.value !== S && V(); + function j() { + f.value ? f.value = !0 : (h = n.value, i("update", n.value), o.loadingWait || I()); + } + let F, L; + function Y(x) { + i("update:closeSiblingFields", g), p.value && g.value !== x && k(); } return K(() => p.value, () => { - p.value && D(); + p.value && W(); }), K(() => n.value, () => { - p.value && D(); - }), o.closeSiblings && import("@vueuse/core").then(({ useEventBus: S }) => { - O = S(Fn), L = O.on(U); + p.value && W(); + }), o.closeSiblings && import("@vueuse/core").then(({ useEventBus: x }) => { + F = x(Fn), L = F.on(Y); }), wn(() => { - L !== void 0 && O.off(U); - }), (S, P) => (J(), ae("div", { ref_key: "inlineFieldsContainer", ref: j, class: ee(u(T)), style: ge(u(E)) }, [!u(p) && !u(o).fieldOnly || u(o).cardField ? (J(), ae("div", { key: 0, class: ee(u(M)) }, [xe("div", { class: ee(u(R)) }, [d(u(Mt), Z(u(F), { onToggleField: k }), Ue({ _: 2 }, [Ye(u(a), (z, q) => ({ name: q, fn: ue((X) => [Ae(S.$slots, q, ye(Ce({ ...X })))]) }))]), 1040)], 2)], 2)) : pe("", !0), u(p) || u(o).fieldOnly || u(o).cardField ? (J(), ae("div", { key: 1, class: ee(u(B)) }, [(J(), he(sn, { disabled: !u(o).cardField, to: u(G) }, [d(gl, Z(u($), { modelValue: n.value, "onUpdate:modelValue": P[1] || (P[1] = (z) => n.value = z), autofocus: !u(o).fieldOnly || u(o).autofocus, "clear-icon": u(b), color: u(o).color, density: u(o).density, disabled: u(s) || u(m), error: u(f), "error-messages": u(_), "hide-details": u(o).hideDetails, label: u(o).label, loading: u(s), variant: u(o).variant, width: "100%", onKeyup: [St(W, ["enter"]), St(V, ["esc"])] }), Ue({ _: 2 }, [Ye(u(a), (z, q) => ({ name: q, fn: ue((X) => [Ae(S.$slots, q, ye(Ce({ ...X })))]) })), u(a).append ? void 0 : { name: "append", fn: ue(() => [d(u(lt), { modelValue: n.value, "onUpdate:modelValue": P[0] || (P[0] = (z) => n.value = z), "cancel-button-color": u(o).cancelButtonColor, "cancel-button-size": u(o).cancelButtonSize, "cancel-button-title": u(o).cancelButtonTitle, "cancel-button-variant": u(o).cancelButtonVariant, "cancel-icon": u(o).cancelIcon, "cancel-icon-color": u(o).cancelIconColor, error: u(f), "field-only": u(o).fieldOnly, "hide-save-icon": u(o).hideSaveIcon, loading: u(s), "loading-icon": u(o).loadingIcon, "loading-icon-color": u(o).loadingIconColor, required: u(o).required, "save-button-color": u(o).saveButtonColor, "save-button-size": u(o).saveButtonSize, "save-button-title": u(o).saveButtonTitle, "save-button-variant": u(o).saveButtonVariant, "save-icon": u(o).saveIcon, "save-icon-color": u(o).saveIconColor, onClose: V, onSave: W }, null, 8, ["modelValue", "cancel-button-color", "cancel-button-size", "cancel-button-title", "cancel-button-variant", "cancel-icon", "cancel-icon-color", "error", "field-only", "hide-save-icon", "loading", "loading-icon", "loading-icon-color", "required", "save-button-color", "save-button-size", "save-button-title", "save-button-variant", "save-icon", "save-icon-color"])]), key: "0" }]), 1040, ["modelValue", "autofocus", "clear-icon", "color", "density", "disabled", "error", "error-messages", "hide-details", "label", "loading", "variant", "onKeyup"])], 8, ["disabled", "to"]))], 2)) : pe("", !0), u(o).cardField ? (J(), ae("div", { key: 2, class: ee(u(x)), style: ge(u(C)) }, [d(_n, ye(Ce(u(H))), { default: ue(() => [d(yn, null, { default: ue(() => [xe("div", { ref_key: "cardFieldRef", ref: G }, null, 512)]), _: 1 })]), _: 1 }, 16)], 6)) : pe("", !0)], 6)); -} }), VInlineTextarea: Ne({ __name: "VInlineTextarea", props: Pe(kn({ autoGrow: {}, clearIcon: {}, density: {}, rows: {}, rules: {}, variant: {}, autofocus: { type: Boolean }, cancelButtonColor: {}, cancelButtonSize: {}, cancelButtonTitle: {}, cancelButtonVariant: {}, cancelIcon: {}, cancelIconColor: {}, cardField: { type: Boolean }, cardOffsetX: {}, cardOffsetY: {}, cardProps: {}, closeSiblings: { type: Boolean }, color: {}, disabled: { type: Boolean }, displayAppendIcon: {}, displayAppendIconColor: {}, displayAppendIconSize: {}, displayAppendInnerIcon: {}, displayAppendInnerIconColor: {}, displayAppendInnerIconSize: {}, displayPrependIcon: {}, displayPrependIconColor: {}, displayPrependIconSize: {}, displayPrependInnerIcon: {}, displayPrependInnerIconColor: {}, displayPrependInnerIconSize: {}, emptyText: {}, error: { type: Boolean }, fieldOnly: { type: Boolean }, hideDetails: { type: Boolean }, hideSaveIcon: { type: Boolean }, item: {}, label: {}, loading: { type: Boolean }, loadingIcon: {}, loadingIconColor: {}, loadingWait: { type: Boolean }, name: {}, required: { type: Boolean }, saveButtonColor: {}, saveButtonSize: {}, saveButtonTitle: {}, saveButtonVariant: {}, saveIcon: {}, saveIconColor: {}, tableField: { type: Boolean }, truncateLength: {}, truncateSuffix: {}, underlineColor: {}, underlineStyle: {}, underlineWidth: {}, underlined: { type: Boolean }, valueColor: {} }, { ...vi }), { modelValue: {} }), emits: Pe([...zn], ["update:modelValue"]), setup(e, { emit: t }) { - const n = un(e, "modelValue"), l = dn(), a = cn(), i = t, c = ve(Symbol.for("vuetify:icons")), r = e; - let o = Le({ ...l, ...r }); - const s = v(() => r.loading), m = v(() => r.disabled), y = N(!1), f = N(!1), p = N(!1), g = N(null); + L !== void 0 && F.off(Y); + }), (x, w) => (J(), ie("div", { ref_key: "inlineFieldsContainer", ref: N, class: ee(u(z)), style: ge(u(O)) }, [!u(p) && !u(o).fieldOnly || u(o).cardField ? (J(), ie("div", { key: 0, class: ee(u(D)) }, [xe("div", { class: ee(u(R)) }, [d(u(Wt), Z(u(_), { onToggleField: I }), He({ _: 2 }, [Ye(u(a), (T, G) => ({ name: G, fn: ue((X) => [Ae(x.$slots, G, ye(Ce({ ...X })))]) }))]), 1040)], 2)], 2)) : pe("", !0), u(p) || u(o).fieldOnly || u(o).cardField ? (J(), ie("div", { key: 1, class: ee(u(E)) }, [(J(), he(sn, { disabled: !u(o).cardField, to: u(q) }, [d(gl, Z(u(V), { modelValue: n.value, "onUpdate:modelValue": w[1] || (w[1] = (T) => n.value = T), autofocus: !u(o).fieldOnly || u(o).autofocus, "clear-icon": u(b), color: u(o).color, density: u(o).density, disabled: u(r) || u(y), error: u(f), "error-messages": u($), "hide-details": u(o).hideDetails, label: u(o).label, loading: u(r), variant: u(o).variant, width: "100%", onKeyup: [St(j, ["enter"]), St(k, ["esc"])] }), He({ _: 2 }, [Ye(u(a), (T, G) => ({ name: G, fn: ue((X) => [Ae(x.$slots, G, ye(Ce({ ...X })))]) })), u(a).append ? void 0 : { name: "append", fn: ue(() => [d(u(lt), { modelValue: n.value, "onUpdate:modelValue": w[0] || (w[0] = (T) => n.value = T), "cancel-button-color": u(o).cancelButtonColor, "cancel-button-size": u(o).cancelButtonSize, "cancel-button-title": u(o).cancelButtonTitle, "cancel-button-variant": u(o).cancelButtonVariant, "cancel-icon": u(o).cancelIcon, "cancel-icon-color": u(o).cancelIconColor, error: u(f), "field-only": u(o).fieldOnly, "hide-cancel-icon": u(o).hideCancelIcon, "hide-save-icon": u(o).hideSaveIcon, loading: u(r), "loading-icon": u(o).loadingIcon, "loading-icon-color": u(o).loadingIconColor, required: u(o).required, "save-button-color": u(o).saveButtonColor, "save-button-size": u(o).saveButtonSize, "save-button-title": u(o).saveButtonTitle, "save-button-variant": u(o).saveButtonVariant, "save-icon": u(o).saveIcon, "save-icon-color": u(o).saveIconColor, onClose: k, onSave: j }, null, 8, ["modelValue", "cancel-button-color", "cancel-button-size", "cancel-button-title", "cancel-button-variant", "cancel-icon", "cancel-icon-color", "error", "field-only", "hide-cancel-icon", "hide-save-icon", "loading", "loading-icon", "loading-icon-color", "required", "save-button-color", "save-button-size", "save-button-title", "save-button-variant", "save-icon", "save-icon-color"])]), key: "0" }]), 1040, ["modelValue", "autofocus", "clear-icon", "color", "density", "disabled", "error", "error-messages", "hide-details", "label", "loading", "variant", "onKeyup"])], 8, ["disabled", "to"]))], 2)) : pe("", !0), u(o).cardField ? (J(), ie("div", { key: 2, class: ee(u(S)), style: ge(u(C)) }, [d(_n, ye(Ce(u(U))), { default: ue(() => [d(yn, null, { default: ue(() => [xe("div", { ref_key: "cardFieldRef", ref: q }, null, 512)]), _: 1 })]), _: 1 }, 16)], 6)) : pe("", !0)], 6)); +} }), VInlineTextarea: Ne({ __name: "VInlineTextarea", props: Pe(kn({ autoGrow: {}, clearIcon: {}, density: {}, rows: {}, rules: {}, variant: {}, autofocus: { type: Boolean }, cancelButtonColor: {}, cancelButtonSize: {}, cancelButtonTitle: {}, cancelButtonVariant: {}, cancelIcon: {}, cancelIconColor: {}, cardField: { type: Boolean }, cardOffsetX: {}, cardOffsetY: {}, cardProps: {}, cell: { type: Boolean }, cellUnderlineFullWidth: { type: Boolean }, closeSiblings: { type: Boolean }, color: {}, disabled: { type: Boolean }, displayAppendIcon: {}, displayAppendIconColor: {}, displayAppendIconSize: {}, displayAppendInnerIcon: {}, displayAppendInnerIconColor: {}, displayAppendInnerIconSize: {}, displayPrependIcon: {}, displayPrependIconColor: {}, displayPrependIconSize: {}, displayPrependInnerIcon: {}, displayPrependInnerIconColor: {}, displayPrependInnerIconSize: {}, emptyText: {}, error: { type: Boolean }, fieldOnly: { type: Boolean }, hideCancelIcon: { type: Boolean }, hideDetails: { type: Boolean }, hideSaveIcon: { type: Boolean }, item: {}, label: {}, loading: { type: Boolean }, loadingIcon: {}, loadingIconColor: {}, loadingWait: { type: Boolean }, name: {}, required: { type: Boolean }, saveButtonColor: {}, saveButtonSize: {}, saveButtonTitle: {}, saveButtonVariant: {}, saveIcon: {}, saveIconColor: {}, tableField: { type: Boolean }, truncateLength: {}, truncateSuffix: {}, underlineColor: {}, underlineStyle: {}, underlineWidth: {}, underlined: { type: Boolean }, valueColor: {} }, { ...vi }), { modelValue: {} }), emits: Pe([...zn], ["update:modelValue"]), setup(e, { emit: t }) { + const n = un(e, "modelValue"), l = dn(), a = cn(), i = t, c = ve(Symbol.for("vuetify:icons")), s = e; + let o = Le({ ...l, ...s }); + const r = v(() => s.loading), y = v(() => s.disabled), m = M(!1), f = M(!1), p = M(!1), g = M(null); let h = n.value; - K(() => s.value, (S, P) => { - !S && P && p.value && k(); + K(() => r.value, (x, w) => { + !x && w && p.value && I(); }); - const b = v(() => Me({ icon: r.clearIcon, iconOptions: c, name: "clear" })), I = v(() => n.value ? (y.value = !1, o.truncateLength ? hl({ length: o.truncateLength, suffix: o.truncateSuffix, text: n.value }) : n.value) : (y.value = !0, o.emptyText)), $ = v(() => Jn(o)), F = v(() => ({ color: o.color, displayAppendIcon: r.displayAppendIcon, displayAppendIconColor: r.displayAppendIconColor, displayAppendIconSize: r.displayAppendIconSize, displayAppendInnerIcon: r.displayAppendInnerIcon, displayAppendInnerIconColor: r.displayAppendInnerIconColor, displayAppendInnerIconSize: r.displayAppendInnerIconSize, displayPrependIcon: r.displayPrependIcon, displayPrependIconColor: r.displayPrependIconColor, displayPrependIconSize: r.displayPrependIconSize, displayPrependInnerIcon: r.displayPrependInnerIcon, displayPrependInnerIconColor: r.displayPrependInnerIconColor, displayPrependInnerIconSize: r.displayPrependInnerIconSize, displayValue: I.value, empty: y.value, error: f.value, field: "v-text-field", underlineColor: o.underlineColor, underlineStyle: o.underlineStyle, underlineWidth: o.underlineWidth, underlined: o.underlined, valueColor: o.valueColor })), H = v(() => ({ ...Vn, ...r.cardProps })), T = v(() => On({ density: o.density, disabled: m.value, field: "v-textarea", iconSet: c == null ? void 0 : c.defaultSet, loading: s.value, loadingWait: o.loadingWait, tableField: o.tableField, variant: o.variant })), M = v(() => Pn({ density: o.density, field: "v-textarea" })), R = Lt({ density: o.density, variant: o.variant }), B = v(() => $n({ active: p.value, name: "textarea" })), x = v(() => En({ name: "textarea", showField: p.value })), E = v(() => ({})), C = v(() => A.value); - function V() { - f.value = !1, n.value = h, k(); - } - const A = N(), j = N(null), G = N("body"); + const b = v(() => We({ icon: s.clearIcon, iconOptions: c, name: "clear" })), B = v(() => n.value ? (m.value = !1, o.truncateLength ? hl({ length: o.truncateLength, suffix: o.truncateSuffix, text: n.value }) : n.value) : (m.value = !0, o.emptyText)), V = v(() => Jn(o)), _ = v(() => ({ color: o.color, displayAppendIcon: s.displayAppendIcon, displayAppendIconColor: s.displayAppendIconColor, displayAppendIconSize: s.displayAppendIconSize, displayAppendInnerIcon: s.displayAppendInnerIcon, displayAppendInnerIconColor: s.displayAppendInnerIconColor, displayAppendInnerIconSize: s.displayAppendInnerIconSize, displayPrependIcon: s.displayPrependIcon, displayPrependIconColor: s.displayPrependIconColor, displayPrependIconSize: s.displayPrependIconSize, displayPrependInnerIcon: s.displayPrependInnerIcon, displayPrependInnerIconColor: s.displayPrependInnerIconColor, displayPrependInnerIconSize: s.displayPrependInnerIconSize, displayValue: B.value, empty: m.value, error: f.value, field: "v-text-field", underlineColor: o.underlineColor, underlineStyle: o.underlineStyle, underlineWidth: o.underlineWidth, underlined: o.underlined, valueColor: o.valueColor })), U = v(() => ({ ...Vn, ...s.cardProps })), z = v(() => On({ cell: o.cell && !p.value, density: o.density, disabled: y.value, field: "v-textarea", iconSet: c == null ? void 0 : c.defaultSet, loading: r.value, loadingWait: o.loadingWait, tableField: o.tableField, variant: o.variant })), D = v(() => Pn({ cell: o.cell, cellUnderlineFullWidth: o.cellUnderlineFullWidth, density: o.density, field: "v-textarea" })), R = Lt({ density: o.density, variant: o.variant }), E = v(() => $n({ active: p.value, name: "textarea" })), S = v(() => En({ name: "textarea", showField: p.value })), O = v(() => ({})), C = v(() => A.value); function k() { - var P, z; - if (m.value || o.loadingWait && s.value) - return; - A.value = mn({ cardMinWidth: (P = o.cardProps) == null ? void 0 : P.minWidth, cardOffsetX: o.cardOffsetX, cardOffsetY: o.cardOffsetY, cardWidth: (z = o.cardProps) == null ? void 0 : z.width, field: j.value }); - const S = Tn({ attrs: l, closeSiblings: o.closeSiblings, fieldOnly: o.fieldOnly, props: r, showField: p, timeOpened: g.value }); - o = { ...o, ...S.settings }, p.value = S.showField, g.value = S.timeOpened, O !== null && o.closeSiblings && p.value && !o.fieldOnly && O.emit(S.timeOpened); + f.value = !1, n.value = h, I(); } - const w = N(), _ = v(() => w.value); - function D() { - const S = Wt({ required: o.required, rules: o.rules, value: n }); - return f.value = S.errors, w.value = S.results, S.results; + const A = M(), N = M(null), q = M("body"); + function I() { + var w, T; + if (y.value || o.loadingWait && r.value) + return; + A.value = mn({ cardMinWidth: (w = o.cardProps) == null ? void 0 : w.minWidth, cardOffsetX: o.cardOffsetX, cardOffsetY: o.cardOffsetY, cardWidth: (T = o.cardProps) == null ? void 0 : T.width, field: N.value }); + const x = Tn({ attrs: l, closeSiblings: o.closeSiblings, fieldOnly: o.fieldOnly, props: s, showField: p, timeOpened: g.value }); + o = { ...o, ...x.settings }, p.value = x.showField, g.value = x.timeOpened, F !== null && o.closeSiblings && p.value && !o.fieldOnly && F.emit(x.timeOpened); } + const P = M(), $ = v(() => P.value); function W() { - h = n.value, i("update", n.value), o.loadingWait || k(); + const x = Mt({ required: o.required, rules: o.rules, value: n }); + return f.value = x.errors, P.value = x.results, x.results; } - let O, L; - function U(S) { - i("update:closeSiblingFields", g), p.value && g.value !== S && V(); + function j() { + h = n.value, i("update", n.value), o.loadingWait || I(); + } + let F, L; + function Y(x) { + i("update:closeSiblingFields", g), p.value && g.value !== x && k(); } return K(() => p.value, () => { - p.value && D(); + p.value && W(); }), K(() => n.value, () => { - p.value && D(); - }), o.closeSiblings && import("@vueuse/core").then(({ useEventBus: S }) => { - O = S(Fn), L = O.on(U); + p.value && W(); + }), o.closeSiblings && import("@vueuse/core").then(({ useEventBus: x }) => { + F = x(Fn), L = F.on(Y); }), wn(() => { - L !== void 0 && O.off(U); - }), (S, P) => (J(), ae("div", { ref_key: "inlineFieldsContainer", ref: j, class: ee(u(T)), style: ge(u(E)) }, [!u(p) && !u(o).fieldOnly || u(o).cardField ? (J(), ae("div", { key: 0, class: ee(u(M)) }, [xe("div", { class: ee(u(R)) }, [d(u(Mt), Z(u(F), { onToggleField: k }), Ue({ _: 2 }, [Ye(u(a), (z, q) => ({ name: q, fn: ue((X) => [Ae(S.$slots, q, ye(Ce({ ...X })))]) }))]), 1040)], 2)], 2)) : pe("", !0), u(p) || u(o).fieldOnly || u(o).cardField ? (J(), ae("div", { key: 1, class: ee(u(B)) }, [(J(), he(sn, { disabled: !u(o).cardField, to: u(G) }, [d(ts, Z(u($), { modelValue: n.value, "onUpdate:modelValue": P[0] || (P[0] = (z) => n.value = z), "auto-grow": u(o).autoGrow, autofocus: !u(o).fieldOnly || u(o).autofocus, "clear-icon": u(b), color: u(o).color, density: u(o).density, disabled: u(s) || u(m), error: u(f), "error-messages": u(_), "hide-details": u(o).hideDetails, label: u(o).label, loading: u(s), rows: u(o).rows, variant: u(o).variant, width: "100%", onKeyup: St(V, ["esc"]) }), Ue({ _: 2 }, [Ye(u(a), (z, q) => ({ name: q, fn: ue((X) => [Ae(S.$slots, q, ye(Ce({ ...X })))]) })), u(a).append ? void 0 : { name: "append", fn: ue(() => [d(u(lt), { "cancel-button-color": u(o).cancelButtonColor, "cancel-button-size": u(o).cancelButtonSize, "cancel-button-title": u(o).cancelButtonTitle, "cancel-button-variant": u(o).cancelButtonVariant, "cancel-icon": u(o).cancelIcon, "cancel-icon-color": u(o).cancelIconColor, error: u(f), "field-only": u(o).fieldOnly, "hide-save-icon": u(o).hideSaveIcon, loading: u(s), "loading-icon": u(o).loadingIcon, "loading-icon-color": u(o).loadingIconColor, "save-button-color": u(o).saveButtonColor, "save-button-size": u(o).saveButtonSize, "save-button-title": u(o).saveButtonTitle, "save-button-variant": u(o).saveButtonVariant, "save-icon": u(o).saveIcon, "save-icon-color": u(o).saveIconColor, onClose: V, onSave: W }, null, 8, ["cancel-button-color", "cancel-button-size", "cancel-button-title", "cancel-button-variant", "cancel-icon", "cancel-icon-color", "error", "field-only", "hide-save-icon", "loading", "loading-icon", "loading-icon-color", "save-button-color", "save-button-size", "save-button-title", "save-button-variant", "save-icon", "save-icon-color"])]), key: "0" }]), 1040, ["modelValue", "auto-grow", "autofocus", "clear-icon", "color", "density", "disabled", "error", "error-messages", "hide-details", "label", "loading", "rows", "variant", "onKeyup"])], 8, ["disabled", "to"]))], 2)) : pe("", !0), u(o).cardField ? (J(), ae("div", { key: 2, class: ee(u(x)), style: ge(u(C)) }, [d(_n, ye(Ce(u(H))), { default: ue(() => [d(yn, null, { default: ue(() => [xe("div", { ref_key: "cardFieldRef", ref: G }, null, 512)]), _: 1 })]), _: 1 }, 16)], 6)) : pe("", !0)], 6)); -} }) }, ds = (e) => { + L !== void 0 && F.off(Y); + }), (x, w) => (J(), ie("div", { ref_key: "inlineFieldsContainer", ref: N, class: ee(u(z)), style: ge(u(O)) }, [!u(p) && !u(o).fieldOnly || u(o).cardField ? (J(), ie("div", { key: 0, class: ee(u(D)) }, [xe("div", { class: ee(u(R)) }, [d(u(Wt), Z(u(_), { onToggleField: I }), He({ _: 2 }, [Ye(u(a), (T, G) => ({ name: G, fn: ue((X) => [Ae(x.$slots, G, ye(Ce({ ...X })))]) }))]), 1040)], 2)], 2)) : pe("", !0), u(p) || u(o).fieldOnly || u(o).cardField ? (J(), ie("div", { key: 1, class: ee(u(E)) }, [(J(), he(sn, { disabled: !u(o).cardField, to: u(q) }, [d(ts, Z(u(V), { modelValue: n.value, "onUpdate:modelValue": w[0] || (w[0] = (T) => n.value = T), "auto-grow": u(o).autoGrow, autofocus: !u(o).fieldOnly || u(o).autofocus, "clear-icon": u(b), color: u(o).color, density: u(o).density, disabled: u(r) || u(y), error: u(f), "error-messages": u($), "hide-details": u(o).hideDetails, label: u(o).label, loading: u(r), rows: u(o).rows, variant: u(o).variant, width: "100%", onKeyup: St(k, ["esc"]) }), He({ _: 2 }, [Ye(u(a), (T, G) => ({ name: G, fn: ue((X) => [Ae(x.$slots, G, ye(Ce({ ...X })))]) })), u(a).append ? void 0 : { name: "append", fn: ue(() => [d(u(lt), { "cancel-button-color": u(o).cancelButtonColor, "cancel-button-size": u(o).cancelButtonSize, "cancel-button-title": u(o).cancelButtonTitle, "cancel-button-variant": u(o).cancelButtonVariant, "cancel-icon": u(o).cancelIcon, "cancel-icon-color": u(o).cancelIconColor, error: u(f), "field-only": u(o).fieldOnly, "hide-cancel-icon": u(o).hideCancelIcon, "hide-save-icon": u(o).hideSaveIcon, loading: u(r), "loading-icon": u(o).loadingIcon, "loading-icon-color": u(o).loadingIconColor, "save-button-color": u(o).saveButtonColor, "save-button-size": u(o).saveButtonSize, "save-button-title": u(o).saveButtonTitle, "save-button-variant": u(o).saveButtonVariant, "save-icon": u(o).saveIcon, "save-icon-color": u(o).saveIconColor, onClose: k, onSave: j }, null, 8, ["cancel-button-color", "cancel-button-size", "cancel-button-title", "cancel-button-variant", "cancel-icon", "cancel-icon-color", "error", "field-only", "hide-cancel-icon", "hide-save-icon", "loading", "loading-icon", "loading-icon-color", "save-button-color", "save-button-size", "save-button-title", "save-button-variant", "save-icon", "save-icon-color"])]), key: "0" }]), 1040, ["modelValue", "auto-grow", "autofocus", "clear-icon", "color", "density", "disabled", "error", "error-messages", "hide-details", "label", "loading", "rows", "variant", "onKeyup"])], 8, ["disabled", "to"]))], 2)) : pe("", !0), u(o).cardField ? (J(), ie("div", { key: 2, class: ee(u(S)), style: ge(u(C)) }, [d(_n, ye(Ce(u(U))), { default: ue(() => [d(yn, null, { default: ue(() => [xe("div", { ref_key: "cardFieldRef", ref: q }, null, 512)]), _: 1 })]), _: 1 }, 16)], 6)) : pe("", !0)], 6)); +} }) }, cs = (e) => { for (const t in Re) { const n = Re[t]; e.component(n.name, n); } }; for (const e in Re) - Re[e].install = ds; -const ys = Re.VInlineCheckbox, ms = Re.VInlineCustomField, gs = Re.VInlineSelect, hs = Re.VInlineSwitch, bs = Re.VInlineTextField, Cs = Re.VInlineTextarea, Is = { VInlineFields: Re }; + Re[e].install = cs; +const fs = Re.VInlineCheckbox, ys = Re.VInlineCustomField, ms = Re.VInlineSelect, gs = Re.VInlineSwitch, hs = Re.VInlineTextField, bs = Re.VInlineTextarea, Cs = { VInlineFields: Re }; export { - ys as VInlineCheckbox, - ms as VInlineCustomField, - gs as VInlineSelect, - hs as VInlineSwitch, - bs as VInlineTextField, - Cs as VInlineTextarea, - Is as default + fs as VInlineCheckbox, + ys as VInlineCustomField, + ms as VInlineSelect, + gs as VInlineSwitch, + hs as VInlineTextField, + bs as VInlineTextarea, + Cs as default }; -(function(){"use strict";try{if(typeof document<"u"){var i=document.createElement("style");i.appendChild(document.createTextNode("[data-v-d028b1ff] .v-field__field{align-items:flex-end!important}:root{--v-inline-fields-top-padding-compact: 13px;--v-inline-fields-top-padding-comfortable: 17px;--v-inline-fields-top-padding-default: 21px;--v-inline-fields-input-height: 24px;--v-inline-fields-density-compact-height: 32px;--v-inline-fields-density-comfortable-height: 40px;--v-inline-fields-grey: #909090}.v-inline-fields--container-v-select-comfortable-plain .v-input__control .v-field__clearable,.v-inline-fields--container-v-select-comfortable-underlined .v-input__control .v-field__clearable,.v-inline-fields--container-v-text-field-comfortable-plain .v-input__control .v-field__clearable,.v-inline-fields--container-v-text-field-comfortable-underlined .v-input__control .v-field__clearable,.v-inline-fields--container-v-select-compact-plain .v-input__control .v-field__clearable,.v-inline-fields--container-v-select-compact-underlined .v-input__control .v-field__clearable,.v-inline-fields--container-v-text-field-compact-plain .v-input__control .v-field__clearable,.v-inline-fields--container-v-text-field-compact-underlined .v-input__control .v-field__clearable,.v-inline-fields--container-v-select-comfortable-plain .v-input__control .v-input__append,.v-inline-fields--container-v-select-comfortable-underlined .v-input__control .v-input__append,.v-inline-fields--container-v-text-field-comfortable-plain .v-input__control .v-input__append,.v-inline-fields--container-v-text-field-comfortable-underlined .v-input__control .v-input__append,.v-inline-fields--container-v-select-compact-plain .v-input__control .v-input__append,.v-inline-fields--container-v-select-compact-underlined .v-input__control .v-input__append,.v-inline-fields--container-v-text-field-compact-plain .v-input__control .v-input__append,.v-inline-fields--container-v-text-field-compact-underlined .v-input__control .v-input__append{padding-top:0!important}.v-inline-fields--container-v-select-comfortable-plain .v-input__control .v-field__clearable .v-icon,.v-inline-fields--container-v-select-comfortable-underlined .v-input__control .v-field__clearable .v-icon,.v-inline-fields--container-v-text-field-comfortable-plain .v-input__control .v-field__clearable .v-icon,.v-inline-fields--container-v-text-field-comfortable-underlined .v-input__control .v-field__clearable .v-icon,.v-inline-fields--container-v-select-compact-plain .v-input__control .v-field__clearable .v-icon,.v-inline-fields--container-v-select-compact-underlined .v-input__control .v-field__clearable .v-icon,.v-inline-fields--container-v-text-field-compact-plain .v-input__control .v-field__clearable .v-icon,.v-inline-fields--container-v-text-field-compact-underlined .v-input__control .v-field__clearable .v-icon,.v-inline-fields--container-v-select-comfortable-plain .v-input__control .v-input__append .v-icon,.v-inline-fields--container-v-select-comfortable-underlined .v-input__control .v-input__append .v-icon,.v-inline-fields--container-v-text-field-comfortable-plain .v-input__control .v-input__append .v-icon,.v-inline-fields--container-v-text-field-comfortable-underlined .v-input__control .v-input__append .v-icon,.v-inline-fields--container-v-select-compact-plain .v-input__control .v-input__append .v-icon,.v-inline-fields--container-v-select-compact-underlined .v-input__control .v-input__append .v-icon,.v-inline-fields--container-v-text-field-compact-plain .v-input__control .v-input__append .v-icon,.v-inline-fields--container-v-text-field-compact-underlined .v-input__control .v-input__append .v-icon{font-size:1rem!important}.v-inline-fields{position:relative}.v-inline-fields--display-container *{align-items:center;display:flex}.v-inline-fields--display-value{cursor:pointer;letter-spacing:.009375em!important}.v-inline-fields--display-value-empty{color:var(--v-inline-fields-grey);font-style:italic}.v-inline-fields--display-value-checkbox,.v-inline-fields--display-value-switch{padding-bottom:2px;padding-top:6px}.v-inline-fields--display-append-icon,.v-inline-fields--display-prepend-icon,.v-inline-fields--display-append-inner-icon,.v-inline-fields--display-prepend-inner-icon{align-items:flex-end;display:inline-flex}.v-inline-fields--container-disabled .v-inline-fields--display-value{cursor:default!important;opacity:var(--v-disabled-opacity)}.v-inline-fields--container-loading .v-inline-fields--display-value{cursor:wait!important}.v-inline-fields--container-icon-set-fa .v-field__clearable{font-size:.8rem}.v-inline-fields--container-icon-set-fa .v-field__append-inner{align-items:flex-end;padding-bottom:0!important}.v-inline-fields--container-v-select-compact-plain .v-input,.v-inline-fields--container-v-select-compact-underlined .v-input,.v-inline-fields--container-v-text-field-compact-plain .v-input,.v-inline-fields--container-v-text-field-compact-underlined .v-input{height:var(--v-inline-fields-density-compact-height);max-height:var(--v-inline-fields-density-compact-height)}.v-inline-fields--container-v-select-compact-plain .v-input__control,.v-inline-fields--container-v-select-compact-underlined .v-input__control,.v-inline-fields--container-v-text-field-compact-plain .v-input__control,.v-inline-fields--container-v-text-field-compact-underlined .v-input__control{padding-bottom:4px}.v-inline-fields--container-v-select-compact-plain .v-input>div,.v-inline-fields--container-v-select-compact-underlined .v-input>div,.v-inline-fields--container-v-text-field-compact-plain .v-input>div,.v-inline-fields--container-v-text-field-compact-underlined .v-input>div{height:inherit!important;max-height:inherit!important}.v-inline-fields--container-v-select-compact-plain .v-input .v-field__input,.v-inline-fields--container-v-select-compact-underlined .v-input .v-field__input,.v-inline-fields--container-v-text-field-compact-plain .v-input .v-field__input,.v-inline-fields--container-v-text-field-compact-underlined .v-input .v-field__input{padding-top:0}.v-inline-fields--container-v-select-compact-plain .v-input .v-field__input input,.v-inline-fields--container-v-select-compact-underlined .v-input .v-field__input input,.v-inline-fields--container-v-text-field-compact-plain .v-input .v-field__input input,.v-inline-fields--container-v-text-field-compact-underlined .v-input .v-field__input input{padding-bottom:10px}.v-inline-fields--container-v-select-compact-plain .v-input .v-select__selection,.v-inline-fields--container-v-select-compact-underlined .v-input .v-select__selection,.v-inline-fields--container-v-text-field-compact-plain .v-input .v-select__selection,.v-inline-fields--container-v-text-field-compact-underlined .v-input .v-select__selection{align-items:center;padding-bottom:10px}.v-inline-fields--container-v-select-comfortable-plain .v-input,.v-inline-fields--container-v-select-comfortable-underlined .v-input,.v-inline-fields--container-v-text-field-comfortable-plain .v-input,.v-inline-fields--container-v-text-field-comfortable-underlined .v-input{height:var(--v-inline-fields-density-comfortable-height);max-height:var(--v-inline-fields-density-comfortable-height)}.v-inline-fields--container-v-select-comfortable-plain .v-input__control,.v-inline-fields--container-v-select-comfortable-underlined .v-input__control,.v-inline-fields--container-v-text-field-comfortable-plain .v-input__control,.v-inline-fields--container-v-text-field-comfortable-underlined .v-input__control{padding-bottom:8px}.v-inline-fields--container-v-select-comfortable-plain .v-input>div,.v-inline-fields--container-v-select-comfortable-underlined .v-input>div,.v-inline-fields--container-v-text-field-comfortable-plain .v-input>div,.v-inline-fields--container-v-text-field-comfortable-underlined .v-input>div{height:inherit!important;max-height:inherit!important}.v-inline-fields--container-v-select-comfortable-plain .v-input .v-field__input,.v-inline-fields--container-v-select-comfortable-underlined .v-input .v-field__input,.v-inline-fields--container-v-text-field-comfortable-plain .v-input .v-field__input,.v-inline-fields--container-v-text-field-comfortable-underlined .v-input .v-field__input{padding-top:0}.v-inline-fields--container-v-select-comfortable-plain .v-input .v-field__input input,.v-inline-fields--container-v-select-comfortable-underlined .v-input .v-field__input input,.v-inline-fields--container-v-text-field-comfortable-plain .v-input .v-field__input input,.v-inline-fields--container-v-text-field-comfortable-underlined .v-input .v-field__input input{padding-bottom:6px}.v-inline-fields--container-v-select-comfortable-plain .v-input .v-select__selection,.v-inline-fields--container-v-select-comfortable-underlined .v-input .v-select__selection,.v-inline-fields--container-v-text-field-comfortable-plain .v-input .v-select__selection,.v-inline-fields--container-v-text-field-comfortable-underlined .v-input .v-select__selection{align-items:center;padding-bottom:6px}.v-inline-fields--container-v-select-compact-plain .v-field__append-inner,.v-inline-fields--container-v-select-compact-underlined .v-field__append-inner{padding-top:4px!important}.v-inline-fields--container-v-select-comfortable-plain .v-field__append-inner,.v-inline-fields--container-v-select-comfortable-underlined .v-field__append-inner{padding-top:8px!important}.v-inline-fields--container-v-textarea .v-inline-fields--save-fields-container{align-items:flex-end}.v-inline-fields--container-v-select,.v-inline-fields--container-v-textarea,.v-inline-fields--container-v-text-field{width:100%}.v-inline-fields--container-v-checkbox .v-input,.v-inline-fields--container-v-switch .v-input{align-items:center;display:flex;padding-bottom:0}.v-inline-fields--container-v-checkbox .v-input__append,.v-inline-fields--container-v-switch .v-input__append{margin-inline-start:0!important;margin-left:0;padding-bottom:0!important}.v-inline-fields--container-v-checkbox .v-selection-control,.v-inline-fields--container-v-switch .v-selection-control{min-height:unset}.v-inline-fields--container-v-checkbox .v-inline-fields--save-fields-container,.v-inline-fields--container-v-switch .v-inline-fields--save-fields-container{align-items:center!important}.v-inline-fields--container .v-input__append,.v-inline-fields--container .v-input__prepend,.v-inline-fields--container .v-field__append-inner,.v-inline-fields--container .v-field__prepend-inner{padding-top:0!important}.v-inline-fields--container .v-input__append .v-icon,.v-inline-fields--container .v-input__prepend .v-icon,.v-inline-fields--container .v-field__append-inner .v-icon,.v-inline-fields--container .v-field__prepend-inner .v-icon{font-size:1rem!important}.v-inline-fields--container .v-field__append-inner,.v-inline-fields--container .v-field__prepend-inner{padding-bottom:10px!important}.v-inline-fields--container-compact .v-input__append,.v-inline-fields--container-compact .v-input__prepend,.v-inline-fields--container-compact .v-field__append-inner,.v-inline-fields--container-compact .v-field__prepend-inner{align-items:center!important}.v-inline-fields--container-compact .v-field__append-inner,.v-inline-fields--container-compact .v-field__prepend-inner{padding-bottom:10px!important}.v-inline-fields--container-comfortable .v-input__append,.v-inline-fields--container-comfortable .v-input__prepend,.v-inline-fields--container-comfortable .v-field__append-inner,.v-inline-fields--container-comfortable .v-field__prepend-inner{align-items:center!important}.v-inline-fields--container-comfortable .v-field__append-inner,.v-inline-fields--container-comfortable .v-field__prepend-inner{padding-bottom:6px!important}.v-inline-fields--container-default .v-input__append,.v-inline-fields--container-default .v-input__prepend,.v-inline-fields--container-default .v-field__append-inner,.v-inline-fields--container-default .v-field__prepend-inner{align-items:flex-end!important;padding-bottom:0!important}.v-inline-fields--container-default .v-input__append .v-icon,.v-inline-fields--container-default .v-input__prepend .v-icon,.v-inline-fields--container-default .v-field__append-inner .v-icon,.v-inline-fields--container-default .v-field__prepend-inner .v-icon{font-size:calc(var(--v-icon-size-multiplier) * 1.5em)!important}.v-inline-fields--container-default .v-inline-fields--save-fields-container{align-items:flex-end!important}.v-inline-fields--card-container{height:fit-content;min-width:fit-content!important;position:absolute}.v-inline-fields--card-container .v-card{border:1px solid hsla(0,0%,50%,.5)}.v-inline-fields--card-container .v-card .v-card-text{padding:5px 10px}.v-inline-fields--card-container .v-card .v-card-text>div{align-items:center;display:flex}.v-inline-fields--card-container-checkbox .v-card .v-card-text .v-input__append{margin-inline-start:0}.v-inline-fields--save-fields-container{align-items:center;display:flex;height:100%;margin-left:.1rem}.v-inline-fields--boolean-icons{font-size:calc(var(--v-icon-size-multiplier) * 1em)}.v-inline-fields .truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:250px}.v-inline-fields .v-input__append{padding-top:0}")),document.head.appendChild(i)}}catch(n){console.error("vite-plugin-css-injected-by-js",n)}})(); +(function(){"use strict";try{if(typeof document<"u"){var i=document.createElement("style");i.appendChild(document.createTextNode("[data-v-36fbbe97] .v-field__field{align-items:flex-end!important}:root{--v-inline-fields-top-padding-compact: 13px;--v-inline-fields-top-padding-comfortable: 17px;--v-inline-fields-top-padding-default: 21px;--v-inline-fields-input-height: 24px;--v-inline-fields-density-compact-height: 32px;--v-inline-fields-density-comfortable-height: 40px;--v-inline-fields-grey: #909090}.v-inline-fields--container-v-select-comfortable-plain .v-input__control .v-field__clearable,.v-inline-fields--container-v-select-comfortable-underlined .v-input__control .v-field__clearable,.v-inline-fields--container-v-text-field-comfortable-plain .v-input__control .v-field__clearable,.v-inline-fields--container-v-text-field-comfortable-underlined .v-input__control .v-field__clearable,.v-inline-fields--container-v-select-compact-plain .v-input__control .v-field__clearable,.v-inline-fields--container-v-select-compact-underlined .v-input__control .v-field__clearable,.v-inline-fields--container-v-text-field-compact-plain .v-input__control .v-field__clearable,.v-inline-fields--container-v-text-field-compact-underlined .v-input__control .v-field__clearable,.v-inline-fields--container-v-select-comfortable-plain .v-input__control .v-input__append,.v-inline-fields--container-v-select-comfortable-underlined .v-input__control .v-input__append,.v-inline-fields--container-v-text-field-comfortable-plain .v-input__control .v-input__append,.v-inline-fields--container-v-text-field-comfortable-underlined .v-input__control .v-input__append,.v-inline-fields--container-v-select-compact-plain .v-input__control .v-input__append,.v-inline-fields--container-v-select-compact-underlined .v-input__control .v-input__append,.v-inline-fields--container-v-text-field-compact-plain .v-input__control .v-input__append,.v-inline-fields--container-v-text-field-compact-underlined .v-input__control .v-input__append{padding-top:0!important}.v-inline-fields--container-v-select-comfortable-plain .v-input__control .v-field__clearable .v-icon,.v-inline-fields--container-v-select-comfortable-underlined .v-input__control .v-field__clearable .v-icon,.v-inline-fields--container-v-text-field-comfortable-plain .v-input__control .v-field__clearable .v-icon,.v-inline-fields--container-v-text-field-comfortable-underlined .v-input__control .v-field__clearable .v-icon,.v-inline-fields--container-v-select-compact-plain .v-input__control .v-field__clearable .v-icon,.v-inline-fields--container-v-select-compact-underlined .v-input__control .v-field__clearable .v-icon,.v-inline-fields--container-v-text-field-compact-plain .v-input__control .v-field__clearable .v-icon,.v-inline-fields--container-v-text-field-compact-underlined .v-input__control .v-field__clearable .v-icon,.v-inline-fields--container-v-select-comfortable-plain .v-input__control .v-input__append .v-icon,.v-inline-fields--container-v-select-comfortable-underlined .v-input__control .v-input__append .v-icon,.v-inline-fields--container-v-text-field-comfortable-plain .v-input__control .v-input__append .v-icon,.v-inline-fields--container-v-text-field-comfortable-underlined .v-input__control .v-input__append .v-icon,.v-inline-fields--container-v-select-compact-plain .v-input__control .v-input__append .v-icon,.v-inline-fields--container-v-select-compact-underlined .v-input__control .v-input__append .v-icon,.v-inline-fields--container-v-text-field-compact-plain .v-input__control .v-input__append .v-icon,.v-inline-fields--container-v-text-field-compact-underlined .v-input__control .v-input__append .v-icon{font-size:1rem!important}.v-inline-fields{position:relative}.v-inline-fields--display-container *{align-items:center;display:flex}.v-inline-fields--display-container-cell{cursor:pointer;display:block;max-height:unset!important}.v-inline-fields--display-container-cell>div{width:100%}.v-inline-fields--display-container-cell-underline-full-width .v-inline-fields--display-value{width:100%}.v-inline-fields--display-container-cell .v-inline-fields--selection-control .v-inline-fields--display-value{justify-content:center}.v-inline-fields--display-container-cell,.v-inline-fields--display-container-cell .v-input,.v-inline-fields--display-container-cell .v-inline-fields--display-wrapper,.v-inline-fields--display-container-cell .v-selection-control__wrapper{height:100%!important;width:100%}.v-inline-fields--display-value{cursor:pointer;letter-spacing:.009375em!important}.v-inline-fields--display-value-empty{color:var(--v-inline-fields-grey);font-style:italic}.v-inline-fields--display-value-checkbox,.v-inline-fields--display-value-switch{padding-bottom:2px;padding-top:6px}.v-inline-fields--display-append-icon,.v-inline-fields--display-prepend-icon,.v-inline-fields--display-append-inner-icon,.v-inline-fields--display-prepend-inner-icon{align-items:flex-end;display:inline-flex}.v-inline-fields--container-cell{height:100%;width:100%}.v-inline-fields--container-disabled .v-inline-fields--display-value{cursor:default!important;opacity:var(--v-disabled-opacity)}.v-inline-fields--container-loading .v-inline-fields--display-value{cursor:wait!important}.v-inline-fields--container-icon-set-fa .v-field__clearable{font-size:.8rem}.v-inline-fields--container-icon-set-fa .v-field__append-inner{align-items:flex-end;padding-bottom:0!important}.v-inline-fields--container-v-select-compact-plain .v-input,.v-inline-fields--container-v-select-compact-underlined .v-input,.v-inline-fields--container-v-text-field-compact-plain .v-input,.v-inline-fields--container-v-text-field-compact-underlined .v-input{height:var(--v-inline-fields-density-compact-height);max-height:var(--v-inline-fields-density-compact-height)}.v-inline-fields--container-v-select-compact-plain .v-input__control,.v-inline-fields--container-v-select-compact-underlined .v-input__control,.v-inline-fields--container-v-text-field-compact-plain .v-input__control,.v-inline-fields--container-v-text-field-compact-underlined .v-input__control{padding-bottom:4px}.v-inline-fields--container-v-select-compact-plain .v-input>div,.v-inline-fields--container-v-select-compact-underlined .v-input>div,.v-inline-fields--container-v-text-field-compact-plain .v-input>div,.v-inline-fields--container-v-text-field-compact-underlined .v-input>div{height:inherit!important;max-height:inherit!important}.v-inline-fields--container-v-select-compact-plain .v-input .v-field__input,.v-inline-fields--container-v-select-compact-underlined .v-input .v-field__input,.v-inline-fields--container-v-text-field-compact-plain .v-input .v-field__input,.v-inline-fields--container-v-text-field-compact-underlined .v-input .v-field__input{padding-top:0}.v-inline-fields--container-v-select-compact-plain .v-input .v-field__input input,.v-inline-fields--container-v-select-compact-underlined .v-input .v-field__input input,.v-inline-fields--container-v-text-field-compact-plain .v-input .v-field__input input,.v-inline-fields--container-v-text-field-compact-underlined .v-input .v-field__input input{padding-bottom:10px}.v-inline-fields--container-v-select-compact-plain .v-input .v-select__selection,.v-inline-fields--container-v-select-compact-underlined .v-input .v-select__selection,.v-inline-fields--container-v-text-field-compact-plain .v-input .v-select__selection,.v-inline-fields--container-v-text-field-compact-underlined .v-input .v-select__selection{align-items:center;padding-bottom:10px}.v-inline-fields--container-v-select-comfortable-plain .v-input,.v-inline-fields--container-v-select-comfortable-underlined .v-input,.v-inline-fields--container-v-text-field-comfortable-plain .v-input,.v-inline-fields--container-v-text-field-comfortable-underlined .v-input{height:var(--v-inline-fields-density-comfortable-height);max-height:var(--v-inline-fields-density-comfortable-height)}.v-inline-fields--container-v-select-comfortable-plain .v-input__control,.v-inline-fields--container-v-select-comfortable-underlined .v-input__control,.v-inline-fields--container-v-text-field-comfortable-plain .v-input__control,.v-inline-fields--container-v-text-field-comfortable-underlined .v-input__control{padding-bottom:8px}.v-inline-fields--container-v-select-comfortable-plain .v-input>div,.v-inline-fields--container-v-select-comfortable-underlined .v-input>div,.v-inline-fields--container-v-text-field-comfortable-plain .v-input>div,.v-inline-fields--container-v-text-field-comfortable-underlined .v-input>div{height:inherit!important;max-height:inherit!important}.v-inline-fields--container-v-select-comfortable-plain .v-input .v-field__input,.v-inline-fields--container-v-select-comfortable-underlined .v-input .v-field__input,.v-inline-fields--container-v-text-field-comfortable-plain .v-input .v-field__input,.v-inline-fields--container-v-text-field-comfortable-underlined .v-input .v-field__input{padding-top:0}.v-inline-fields--container-v-select-comfortable-plain .v-input .v-field__input input,.v-inline-fields--container-v-select-comfortable-underlined .v-input .v-field__input input,.v-inline-fields--container-v-text-field-comfortable-plain .v-input .v-field__input input,.v-inline-fields--container-v-text-field-comfortable-underlined .v-input .v-field__input input{padding-bottom:6px}.v-inline-fields--container-v-select-comfortable-plain .v-input .v-select__selection,.v-inline-fields--container-v-select-comfortable-underlined .v-input .v-select__selection,.v-inline-fields--container-v-text-field-comfortable-plain .v-input .v-select__selection,.v-inline-fields--container-v-text-field-comfortable-underlined .v-input .v-select__selection{align-items:center;padding-bottom:6px}.v-inline-fields--container-v-select-compact-plain .v-field__append-inner,.v-inline-fields--container-v-select-compact-underlined .v-field__append-inner{padding-top:4px!important}.v-inline-fields--container-v-select-comfortable-plain .v-field__append-inner,.v-inline-fields--container-v-select-comfortable-underlined .v-field__append-inner{padding-top:8px!important}.v-inline-fields--container-v-textarea .v-inline-fields--save-fields-container{align-items:flex-end}.v-inline-fields--container-v-select,.v-inline-fields--container-v-textarea,.v-inline-fields--container-v-text-field{width:100%}.v-inline-fields--container-v-checkbox .v-input,.v-inline-fields--container-v-switch .v-input{align-items:center;display:flex;padding-bottom:0}.v-inline-fields--container-v-checkbox .v-input__append,.v-inline-fields--container-v-switch .v-input__append{margin-inline-start:0!important;margin-left:0;padding-bottom:0!important}.v-inline-fields--container-v-checkbox .v-selection-control,.v-inline-fields--container-v-switch .v-selection-control{min-height:unset}.v-inline-fields--container-v-checkbox .v-inline-fields--save-fields-container,.v-inline-fields--container-v-switch .v-inline-fields--save-fields-container{align-items:center!important}.v-inline-fields--container .v-input__append,.v-inline-fields--container .v-input__prepend,.v-inline-fields--container .v-field__append-inner,.v-inline-fields--container .v-field__prepend-inner{padding-top:0!important}.v-inline-fields--container .v-input__append .v-icon,.v-inline-fields--container .v-input__prepend .v-icon,.v-inline-fields--container .v-field__append-inner .v-icon,.v-inline-fields--container .v-field__prepend-inner .v-icon{font-size:1rem!important}.v-inline-fields--container .v-field__append-inner,.v-inline-fields--container .v-field__prepend-inner{padding-bottom:10px!important}.v-inline-fields--container-compact .v-input__append,.v-inline-fields--container-compact .v-input__prepend,.v-inline-fields--container-compact .v-field__append-inner,.v-inline-fields--container-compact .v-field__prepend-inner{align-items:center!important}.v-inline-fields--container-compact .v-field__append-inner,.v-inline-fields--container-compact .v-field__prepend-inner{padding-bottom:10px!important}.v-inline-fields--container-comfortable .v-input__append,.v-inline-fields--container-comfortable .v-input__prepend,.v-inline-fields--container-comfortable .v-field__append-inner,.v-inline-fields--container-comfortable .v-field__prepend-inner{align-items:center!important}.v-inline-fields--container-comfortable .v-field__append-inner,.v-inline-fields--container-comfortable .v-field__prepend-inner{padding-bottom:6px!important}.v-inline-fields--container-default .v-input__append,.v-inline-fields--container-default .v-input__prepend,.v-inline-fields--container-default .v-field__append-inner,.v-inline-fields--container-default .v-field__prepend-inner{align-items:flex-end!important;padding-bottom:0!important}.v-inline-fields--container-default .v-input__append .v-icon,.v-inline-fields--container-default .v-input__prepend .v-icon,.v-inline-fields--container-default .v-field__append-inner .v-icon,.v-inline-fields--container-default .v-field__prepend-inner .v-icon{font-size:calc(var(--v-icon-size-multiplier) * 1.5em)!important}.v-inline-fields--container-default .v-inline-fields--save-fields-container{align-items:flex-end!important}.v-inline-fields--card-container{height:fit-content;min-width:fit-content!important;position:absolute}.v-inline-fields--card-container .v-card{border:1px solid hsla(0,0%,50%,.5)}.v-inline-fields--card-container .v-card .v-card-text{padding:5px 10px}.v-inline-fields--card-container .v-card .v-card-text>div{align-items:center;display:flex}.v-inline-fields--card-container-checkbox .v-card .v-card-text .v-input__append{margin-inline-start:0}.v-inline-fields--save-fields-container{align-items:center;display:flex;height:100%;margin-left:.1rem}.v-inline-fields--boolean-icons{font-size:calc(var(--v-icon-size-multiplier) * 1em)}.v-inline-fields .truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:250px}.v-inline-fields .v-input__append{padding-top:0}")),document.head.appendChild(i)}}catch(n){console.error("vite-plugin-css-injected-by-js",n)}})(); diff --git a/package.json b/package.json index 7f25b5b..5dd716a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@wdns/vuetify-inline-fields", - "version": "1.0.0-beta-2", + "version": "1.0.0", "description": "Vuetify Inline Fields Component Library offers a comprehensive collection of reusable UI components to create elegant and efficient inline form fields within your applications.", "private": false, "publishConfig": { diff --git a/src/playground/configs/templates/PlaygroundPage.vue b/src/playground/configs/templates/PlaygroundPage.vue index 2fe057b..b9bd5db 100644 --- a/src/playground/configs/templates/PlaygroundPage.vue +++ b/src/playground/configs/templates/PlaygroundPage.vue @@ -1,4 +1,8 @@