vuetify 3.6.0 → 3.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_component-variables-labs.sass +0 -2
- package/dist/_component-variables.sass +2 -0
- package/dist/json/importMap-labs.json +10 -30
- package/dist/json/importMap.json +114 -94
- package/dist/json/web-types.json +1 -1
- package/dist/vuetify-labs.css +2555 -2555
- package/dist/vuetify-labs.d.ts +4811 -4811
- package/dist/vuetify-labs.esm.js +10050 -10052
- package/dist/vuetify-labs.esm.js.map +1 -1
- package/dist/vuetify-labs.js +10050 -10052
- package/dist/vuetify-labs.min.css +2 -2
- package/dist/vuetify.css +679 -502
- package/dist/vuetify.d.ts +2872 -574
- package/dist/vuetify.esm.js +1711 -887
- package/dist/vuetify.esm.js.map +1 -1
- package/dist/vuetify.js +1711 -887
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +2 -2
- package/dist/vuetify.min.js +611 -557
- package/dist/vuetify.min.js.map +1 -1
- package/lib/{labs → components}/VConfirmEdit/VConfirmEdit.mjs +1 -1
- package/lib/components/VConfirmEdit/VConfirmEdit.mjs.map +1 -0
- package/lib/components/VConfirmEdit/__test__/VConfirmEdit.spec.cy.mjs.map +1 -0
- package/lib/components/VConfirmEdit/index.mjs.map +1 -0
- package/lib/{labs → components}/VEmptyState/VEmptyState.mjs +4 -4
- package/lib/components/VEmptyState/VEmptyState.mjs.map +1 -0
- package/lib/components/VEmptyState/index.mjs.map +1 -0
- package/lib/{labs → components}/VFab/VFab.mjs +1 -1
- package/lib/components/VFab/VFab.mjs.map +1 -0
- package/lib/components/VFab/index.mjs.map +1 -0
- package/lib/components/VSparkline/VBarline.mjs.map +1 -0
- package/lib/components/VSparkline/VSparkline.mjs +44 -320
- package/lib/components/VSparkline/VSparkline.mjs.map +1 -1
- package/lib/components/VSparkline/VTrendline.mjs.map +1 -0
- package/lib/components/VSparkline/index.mjs +1 -3
- package/lib/components/VSparkline/index.mjs.map +1 -1
- package/lib/components/VSparkline/util/line.mjs.map +1 -0
- package/lib/components/VSparkline/util/path.mjs.map +1 -0
- package/lib/components/VSpeedDial/VSpeedDial.mjs +68 -85
- package/lib/components/VSpeedDial/VSpeedDial.mjs.map +1 -1
- package/lib/components/VSpeedDial/VSpeedDial.sass +20 -72
- package/lib/components/VSpeedDial/index.mjs +1 -3
- package/lib/components/VSpeedDial/index.mjs.map +1 -1
- package/lib/components/index.d.mts +2840 -547
- package/lib/components/index.mjs +6 -2
- package/lib/components/index.mjs.map +1 -1
- package/lib/composables/directiveComponent.mjs +1 -3
- package/lib/composables/directiveComponent.mjs.map +1 -1
- package/lib/entry-bundler.mjs +1 -1
- package/lib/framework.mjs +1 -1
- package/lib/index.d.mts +40 -40
- package/lib/labs/VDateInput/VDateInput.mjs +2 -2
- package/lib/labs/VDateInput/VDateInput.mjs.map +1 -1
- package/lib/labs/VDateInput/index.d.mts +14 -14
- package/lib/labs/components.d.mts +1628 -3945
- package/lib/labs/components.mjs +0 -5
- package/lib/labs/components.mjs.map +1 -1
- package/package.json +2 -2
- package/lib/components/VSparkline/helpers/core.mjs +0 -49
- package/lib/components/VSparkline/helpers/core.mjs.map +0 -1
- package/lib/components/VSparkline/helpers/math.mjs +0 -34
- package/lib/components/VSparkline/helpers/math.mjs.map +0 -1
- package/lib/components/VSparkline/helpers/path.mjs +0 -27
- package/lib/components/VSparkline/helpers/path.mjs.map +0 -1
- package/lib/components/VSpeedDial/_variables.scss +0 -5
- package/lib/labs/VConfirmEdit/VConfirmEdit.mjs.map +0 -1
- package/lib/labs/VConfirmEdit/__test__/VConfirmEdit.spec.cy.mjs.map +0 -1
- package/lib/labs/VConfirmEdit/index.mjs.map +0 -1
- package/lib/labs/VEmptyState/VEmptyState.mjs.map +0 -1
- package/lib/labs/VEmptyState/index.mjs.map +0 -1
- package/lib/labs/VFab/VFab.mjs.map +0 -1
- package/lib/labs/VFab/index.mjs.map +0 -1
- package/lib/labs/VSparkline/VBarline.mjs.map +0 -1
- package/lib/labs/VSparkline/VSparkline.mjs +0 -49
- package/lib/labs/VSparkline/VSparkline.mjs.map +0 -1
- package/lib/labs/VSparkline/VTrendline.mjs.map +0 -1
- package/lib/labs/VSparkline/index.mjs +0 -2
- package/lib/labs/VSparkline/index.mjs.map +0 -1
- package/lib/labs/VSparkline/util/line.mjs.map +0 -1
- package/lib/labs/VSparkline/util/path.mjs.map +0 -1
- package/lib/labs/VSpeedDial/VSpeedDial.mjs +0 -76
- package/lib/labs/VSpeedDial/VSpeedDial.mjs.map +0 -1
- package/lib/labs/VSpeedDial/VSpeedDial.sass +0 -27
- package/lib/labs/VSpeedDial/index.mjs +0 -2
- package/lib/labs/VSpeedDial/index.mjs.map +0 -1
- /package/lib/{labs → components}/VConfirmEdit/__test__/VConfirmEdit.spec.cy.mjs +0 -0
- /package/lib/{labs → components}/VConfirmEdit/index.d.mts +0 -0
- /package/lib/{labs → components}/VConfirmEdit/index.mjs +0 -0
- /package/lib/{labs → components}/VEmptyState/VEmptyState.css +0 -0
- /package/lib/{labs → components}/VEmptyState/VEmptyState.sass +0 -0
- /package/lib/{labs → components}/VEmptyState/_variables.scss +0 -0
- /package/lib/{labs → components}/VEmptyState/index.d.mts +0 -0
- /package/lib/{labs → components}/VEmptyState/index.mjs +0 -0
- /package/lib/{labs → components}/VFab/VFab.css +0 -0
- /package/lib/{labs → components}/VFab/VFab.sass +0 -0
- /package/lib/{labs → components}/VFab/_mixins.scss +0 -0
- /package/lib/{labs → components}/VFab/_variables.scss +0 -0
- /package/lib/{labs → components}/VFab/index.d.mts +0 -0
- /package/lib/{labs → components}/VFab/index.mjs +0 -0
- /package/lib/{labs → components}/VSparkline/VBarline.mjs +0 -0
- /package/lib/{labs → components}/VSparkline/VTrendline.mjs +0 -0
- /package/lib/{labs → components}/VSparkline/index.d.mts +0 -0
- /package/lib/{labs → components}/VSparkline/util/line.mjs +0 -0
- /package/lib/{labs → components}/VSparkline/util/path.mjs +0 -0
- /package/lib/{labs → components}/VSpeedDial/VSpeedDial.css +0 -0
- /package/lib/{labs → components}/VSpeedDial/index.d.mts +0 -0
package/lib/components/index.mjs
CHANGED
|
@@ -19,6 +19,7 @@ export * from "./VChipGroup/index.mjs";
|
|
|
19
19
|
export * from "./VCode/index.mjs";
|
|
20
20
|
export * from "./VColorPicker/index.mjs"; // export * from './VContent'
|
|
21
21
|
export * from "./VCombobox/index.mjs";
|
|
22
|
+
export * from "./VConfirmEdit/index.mjs";
|
|
22
23
|
export * from "./VCounter/index.mjs";
|
|
23
24
|
export * from "./VDataIterator/index.mjs";
|
|
24
25
|
export * from "./VDataTable/index.mjs";
|
|
@@ -26,7 +27,9 @@ export * from "./VDatePicker/index.mjs";
|
|
|
26
27
|
export * from "./VDefaultsProvider/index.mjs";
|
|
27
28
|
export * from "./VDialog/index.mjs";
|
|
28
29
|
export * from "./VDivider/index.mjs";
|
|
30
|
+
export * from "./VEmptyState/index.mjs";
|
|
29
31
|
export * from "./VExpansionPanel/index.mjs";
|
|
32
|
+
export * from "./VFab/index.mjs";
|
|
30
33
|
export * from "./VField/index.mjs";
|
|
31
34
|
export * from "./VFileInput/index.mjs";
|
|
32
35
|
export * from "./VFooter/index.mjs";
|
|
@@ -67,8 +70,9 @@ export * from "./VSheet/index.mjs";
|
|
|
67
70
|
export * from "./VSkeletonLoader/index.mjs";
|
|
68
71
|
export * from "./VSlideGroup/index.mjs";
|
|
69
72
|
export * from "./VSlider/index.mjs";
|
|
70
|
-
export * from "./VSnackbar/index.mjs";
|
|
71
|
-
|
|
73
|
+
export * from "./VSnackbar/index.mjs";
|
|
74
|
+
export * from "./VSparkline/index.mjs";
|
|
75
|
+
export * from "./VSpeedDial/index.mjs";
|
|
72
76
|
export * from "./VStepper/index.mjs";
|
|
73
77
|
export * from "./VSwitch/index.mjs";
|
|
74
78
|
export * from "./VSystemBar/index.mjs";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","names":[],"sources":["../../src/components/index.ts"],"sourcesContent":["export * from './VApp'\nexport * from './VAppBar'\nexport * from './VAlert'\nexport * from './VAutocomplete'\nexport * from './VAvatar'\nexport * from './VBadge'\nexport * from './VBanner'\nexport * from './VBottomNavigation'\nexport * from './VBottomSheet'\nexport * from './VBreadcrumbs'\nexport * from './VBtn'\nexport * from './VBtnGroup'\nexport * from './VBtnToggle'\n// export * from './VCalendar'\nexport * from './VCard'\nexport * from './VCarousel'\nexport * from './VCheckbox'\nexport * from './VChip'\nexport * from './VChipGroup'\nexport * from './VCode'\nexport * from './VColorPicker'\n// export * from './VContent'\nexport * from './VCombobox'\nexport * from './VCounter'\nexport * from './VDataIterator'\nexport * from './VDataTable'\nexport * from './VDatePicker'\nexport * from './VDefaultsProvider'\nexport * from './VDialog'\nexport * from './VDivider'\nexport * from './VExpansionPanel'\nexport * from './VField'\nexport * from './VFileInput'\nexport * from './VFooter'\nexport * from './VForm'\nexport * from './VGrid'\nexport * from './VHover'\nexport * from './VIcon'\nexport * from './VImg'\nexport * from './VInfiniteScroll'\nexport * from './VInput'\nexport * from './VItemGroup'\nexport * from './VKbd'\nexport * from './VLabel'\nexport * from './VLayout'\nexport * from './VLazy'\nexport * from './VList'\nexport * from './VLocaleProvider'\nexport * from './VMain'\nexport * from './VMenu'\nexport * from './VMessages'\nexport * from './VNavigationDrawer'\nexport * from './VNoSsr'\nexport * from './VOtpInput'\n// export * from './VOverflowBtn'\nexport * from './VOverlay'\nexport * from './VPagination'\nexport * from './VParallax'\nexport * from './VProgressCircular'\nexport * from './VProgressLinear'\nexport * from './VRadio'\nexport * from './VRadioGroup'\nexport * from './VRangeSlider'\nexport * from './VRating'\nexport * from './VResponsive'\nexport * from './VSelect'\nexport * from './VSelectionControl'\nexport * from './VSelectionControlGroup'\nexport * from './VSheet'\nexport * from './VSkeletonLoader'\nexport * from './VSlideGroup'\nexport * from './VSlider'\nexport * from './VSnackbar'\
|
|
1
|
+
{"version":3,"file":"index.mjs","names":[],"sources":["../../src/components/index.ts"],"sourcesContent":["export * from './VApp'\nexport * from './VAppBar'\nexport * from './VAlert'\nexport * from './VAutocomplete'\nexport * from './VAvatar'\nexport * from './VBadge'\nexport * from './VBanner'\nexport * from './VBottomNavigation'\nexport * from './VBottomSheet'\nexport * from './VBreadcrumbs'\nexport * from './VBtn'\nexport * from './VBtnGroup'\nexport * from './VBtnToggle'\n// export * from './VCalendar'\nexport * from './VCard'\nexport * from './VCarousel'\nexport * from './VCheckbox'\nexport * from './VChip'\nexport * from './VChipGroup'\nexport * from './VCode'\nexport * from './VColorPicker'\n// export * from './VContent'\nexport * from './VCombobox'\nexport * from './VConfirmEdit'\nexport * from './VCounter'\nexport * from './VDataIterator'\nexport * from './VDataTable'\nexport * from './VDatePicker'\nexport * from './VDefaultsProvider'\nexport * from './VDialog'\nexport * from './VDivider'\nexport * from './VEmptyState'\nexport * from './VExpansionPanel'\nexport * from './VFab'\nexport * from './VField'\nexport * from './VFileInput'\nexport * from './VFooter'\nexport * from './VForm'\nexport * from './VGrid'\nexport * from './VHover'\nexport * from './VIcon'\nexport * from './VImg'\nexport * from './VInfiniteScroll'\nexport * from './VInput'\nexport * from './VItemGroup'\nexport * from './VKbd'\nexport * from './VLabel'\nexport * from './VLayout'\nexport * from './VLazy'\nexport * from './VList'\nexport * from './VLocaleProvider'\nexport * from './VMain'\nexport * from './VMenu'\nexport * from './VMessages'\nexport * from './VNavigationDrawer'\nexport * from './VNoSsr'\nexport * from './VOtpInput'\n// export * from './VOverflowBtn'\nexport * from './VOverlay'\nexport * from './VPagination'\nexport * from './VParallax'\nexport * from './VProgressCircular'\nexport * from './VProgressLinear'\nexport * from './VRadio'\nexport * from './VRadioGroup'\nexport * from './VRangeSlider'\nexport * from './VRating'\nexport * from './VResponsive'\nexport * from './VSelect'\nexport * from './VSelectionControl'\nexport * from './VSelectionControlGroup'\nexport * from './VSheet'\nexport * from './VSkeletonLoader'\nexport * from './VSlideGroup'\nexport * from './VSlider'\nexport * from './VSnackbar'\nexport * from './VSparkline'\nexport * from './VSpeedDial'\nexport * from './VStepper'\nexport * from './VSwitch'\nexport * from './VSystemBar'\nexport * from './VTabs'\nexport * from './VTable'\nexport * from './VTextarea'\nexport * from './VTextField'\nexport * from './VThemeProvider'\nexport * from './VTimeline'\n// export * from './VTimePicker'\nexport * from './VToolbar'\nexport * from './VTooltip'\n// export * from './VTreeview'\nexport * from './VValidation'\nexport * from './VVirtualScroll'\nexport * from './VWindow'\nexport * from './transitions'\n"],"mappings":";;;;;;;;;;;;wCAaA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,0CAQA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,uCAoCA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,uCA8BA;AAAA;AAAA,sCAGA;AAAA;AAAA;AAAA;AAAA","ignoreList":[]}
|
|
@@ -24,9 +24,7 @@ function mountComponent(component, props) {
|
|
|
24
24
|
// If vnode.ctx is the same as the instance, then we're bound to a plain element
|
|
25
25
|
// and need to find the nearest parent component instance to inherit provides from
|
|
26
26
|
const provides = (vnode.ctx === binding.instance.$ ? findComponentParent(vnode, binding.instance.$)?.provides : vnode.ctx?.provides) ?? binding.instance.$.provides;
|
|
27
|
-
const node = h(component, mergeProps(_props, value),
|
|
28
|
-
default: () => children
|
|
29
|
-
});
|
|
27
|
+
const node = h(component, mergeProps(_props, value), children);
|
|
30
28
|
node.appContext = Object.assign(Object.create(null), binding.instance.$.appContext, {
|
|
31
29
|
provides
|
|
32
30
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"directiveComponent.mjs","names":["h","mergeProps","render","resolveComponent","isObject","useDirectiveComponent","component","props","concreteComponent","hook","mountComponent","mounted","updated","unmounted","el","binding","vnode","_props","text","value","children","innerHTML","provides","ctx","instance","$","findComponentParent","node","
|
|
1
|
+
{"version":3,"file":"directiveComponent.mjs","names":["h","mergeProps","render","resolveComponent","isObject","useDirectiveComponent","component","props","concreteComponent","hook","mountComponent","mounted","updated","unmounted","el","binding","vnode","_props","text","value","children","innerHTML","provides","ctx","instance","$","findComponentParent","node","appContext","Object","assign","create","root","stack","Set","walk","child","add","result","suspense","ssContent","Array","isArray","subTree","delete","Error","from","reverse"],"sources":["../../src/composables/directiveComponent.ts"],"sourcesContent":["// Utilities\nimport { h, mergeProps, render, resolveComponent } from 'vue'\nimport { isObject } from '@/util'\n\n// Types\nimport type {\n Component,\n ComponentInternalInstance,\n ComponentPublicInstance,\n ConcreteComponent,\n DirectiveBinding,\n ObjectDirective,\n VNode,\n} from 'vue'\nimport type { ComponentInstance } from '@/util'\n\ntype ExcludeProps =\n | 'v-slots'\n | `v-slot:${string}`\n | `on${Uppercase<string>}${string}`\n | 'key'\n | 'ref'\n | 'ref_for'\n | 'ref_key'\n | '$children'\n\ndeclare const CustomDirectiveSymbol: unique symbol\ntype DirectiveHook<B extends DirectiveBinding> = (el: any, binding: B, vnode: VNode<any, any>, prevVNode: VNode<any, any>) => void\nexport interface CustomDirective<B extends DirectiveBinding = DirectiveBinding> {\n created?: DirectiveHook<B>\n beforeMount?: DirectiveHook<B>\n mounted?: DirectiveHook<B>\n beforeUpdate?: DirectiveHook<B>\n updated?: DirectiveHook<B>\n beforeUnmount?: DirectiveHook<B>\n unmounted?: DirectiveHook<B>\n [CustomDirectiveSymbol]: true\n}\n\nexport function useDirectiveComponent <\n Binding extends DirectiveBinding,\n> (component: string | Component, props?: (binding: Binding) => Record<string, any>): CustomDirective<Binding>\nexport function useDirectiveComponent <\n C extends Component,\n Props = Omit<ComponentInstance<C>['$props'], ExcludeProps>\n> (component: string | C, props?: Record<string, any>): ObjectDirective<any, Props>\nexport function useDirectiveComponent (\n component: string | Component,\n props?: Record<string, any> | ((binding: DirectiveBinding) => Record<string, any>)\n): ObjectDirective | CustomDirective {\n const concreteComponent = (typeof component === 'string'\n ? resolveComponent(component)\n : component) as ConcreteComponent\n\n const hook = mountComponent(concreteComponent, props)\n\n return {\n mounted: hook,\n updated: hook,\n unmounted (el: HTMLElement) {\n render(null, el)\n },\n }\n}\n\nfunction mountComponent (component: ConcreteComponent, props?: Record<string, any> | ((binding: DirectiveBinding) => Record<string, any>)) {\n return function (el: HTMLElement, binding: DirectiveBinding, vnode: VNode) {\n const _props = typeof props === 'function' ? props(binding) : props\n const text = binding.value?.text ?? binding.value ?? _props?.text\n const value = isObject(binding.value) ? binding.value : {}\n\n // Get the children from the props or directive value, or the element's children\n const children = () => text ?? el.innerHTML\n\n // If vnode.ctx is the same as the instance, then we're bound to a plain element\n // and need to find the nearest parent component instance to inherit provides from\n const provides = (vnode.ctx === binding.instance!.$\n ? findComponentParent(vnode, binding.instance!.$)?.provides\n : vnode.ctx?.provides) ?? binding.instance!.$.provides\n\n const node = h(component, mergeProps(_props, value), children)\n node.appContext = Object.assign(\n Object.create(null),\n (binding.instance as ComponentPublicInstance).$.appContext,\n { provides }\n )\n\n render(node, el)\n }\n}\n\nfunction findComponentParent (vnode: VNode, root: ComponentInternalInstance): ComponentInternalInstance | null {\n // Walk the tree from root until we find the child vnode\n const stack = new Set<VNode>()\n const walk = (children: VNode[]): boolean => {\n for (const child of children) {\n if (!child) continue\n\n if (child === vnode) {\n return true\n }\n\n stack.add(child)\n let result\n if (child.suspense) {\n result = walk([child.ssContent!])\n } else if (Array.isArray(child.children)) {\n result = walk(child.children as VNode[])\n } else if (child.component?.vnode) {\n result = walk([child.component?.subTree])\n }\n if (result) {\n return result\n }\n stack.delete(child)\n }\n\n return false\n }\n if (!walk([root.subTree])) {\n throw new Error('Could not find original vnode')\n }\n\n // Return the first component parent\n const result = Array.from(stack).reverse()\n for (const child of result) {\n if (child.component) {\n return child.component\n }\n }\n return root\n}\n"],"mappings":"AAAA;AACA,SAASA,CAAC,EAAEC,UAAU,EAAEC,MAAM,EAAEC,gBAAgB,QAAQ,KAAK;AAAA,SACpDC,QAAQ,6BAEjB;AA0CA,OAAO,SAASC,qBAAqBA,CACnCC,SAA6B,EAC7BC,KAAkF,EAC/C;EACnC,MAAMC,iBAAiB,GAAI,OAAOF,SAAS,KAAK,QAAQ,GACpDH,gBAAgB,CAACG,SAAS,CAAC,GAC3BA,SAA+B;EAEnC,MAAMG,IAAI,GAAGC,cAAc,CAACF,iBAAiB,EAAED,KAAK,CAAC;EAErD,OAAO;IACLI,OAAO,EAAEF,IAAI;IACbG,OAAO,EAAEH,IAAI;IACbI,SAASA,CAAEC,EAAe,EAAE;MAC1BZ,MAAM,CAAC,IAAI,EAAEY,EAAE,CAAC;IAClB;EACF,CAAC;AACH;AAEA,SAASJ,cAAcA,CAAEJ,SAA4B,EAAEC,KAAkF,EAAE;EACzI,OAAO,UAAUO,EAAe,EAAEC,OAAyB,EAAEC,KAAY,EAAE;IACzE,MAAMC,MAAM,GAAG,OAAOV,KAAK,KAAK,UAAU,GAAGA,KAAK,CAACQ,OAAO,CAAC,GAAGR,KAAK;IACnE,MAAMW,IAAI,GAAGH,OAAO,CAACI,KAAK,EAAED,IAAI,IAAIH,OAAO,CAACI,KAAK,IAAIF,MAAM,EAAEC,IAAI;IACjE,MAAMC,KAAK,GAAGf,QAAQ,CAACW,OAAO,CAACI,KAAK,CAAC,GAAGJ,OAAO,CAACI,KAAK,GAAG,CAAC,CAAC;;IAE1D;IACA,MAAMC,QAAQ,GAAGA,CAAA,KAAMF,IAAI,IAAIJ,EAAE,CAACO,SAAS;;IAE3C;IACA;IACA,MAAMC,QAAQ,GAAG,CAACN,KAAK,CAACO,GAAG,KAAKR,OAAO,CAACS,QAAQ,CAAEC,CAAC,GAC/CC,mB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I,CAAC,CAACC,KAAK,CAAC9B,SAAS,EAAEqC,OAAO,CAAC,CAAC;MAC3C;MACA,IAAIL,MAAM,EAAE;QACV,OAAOA,MAAM;MACf;MACAL,KAAK,CAACW,MAAM,CAACR,KAAK,CAAC;IACrB;IAEA,OAAO,KAAK;EACd,CAAC;EACD,IAAI,CAACD,IAAI,CAAC,CAACH,IAAI,CAACW,OAAO,CAAC,CAAC,EAAE;IACzB,MAAM,IAAIE,KAAK,CAAC,+BAA+B,CAAC;EAClD;;EAEA;EACA,MAAMP,MAAM,GAAGG,KAAK,CAACK,IAAI,CAACb,KAAK,CAAC,CAACc,OAAO,CAAC,CAAC;EAC1C,KAAK,MAAMX,KAAK,IAAIE,MAAM,EAAE;IAC1B,IAAIF,KAAK,CAAC9B,SAAS,EAAE;MACnB,OAAO8B,KAAK,CAAC9B,SAAS;IACxB;EACF;EACA,OAAO0B,IAAI;AACb","ignoreList":[]}
|
package/lib/entry-bundler.mjs
CHANGED
|
@@ -16,7 +16,7 @@ export const createVuetify = function () {
|
|
|
16
16
|
...options
|
|
17
17
|
});
|
|
18
18
|
};
|
|
19
|
-
export const version = "3.6.
|
|
19
|
+
export const version = "3.6.1";
|
|
20
20
|
createVuetify.version = version;
|
|
21
21
|
export { blueprints, components, directives };
|
|
22
22
|
export * from "./composables/index.mjs";
|
package/lib/framework.mjs
CHANGED
package/lib/index.d.mts
CHANGED
|
@@ -497,37 +497,38 @@ declare module '@vue/runtime-core' {
|
|
|
497
497
|
VAppBar: typeof import('vuetify/components')['VAppBar']
|
|
498
498
|
VAppBarNavIcon: typeof import('vuetify/components')['VAppBarNavIcon']
|
|
499
499
|
VAppBarTitle: typeof import('vuetify/components')['VAppBarTitle']
|
|
500
|
+
VAvatar: typeof import('vuetify/components')['VAvatar']
|
|
501
|
+
VAutocomplete: typeof import('vuetify/components')['VAutocomplete']
|
|
500
502
|
VAlert: typeof import('vuetify/components')['VAlert']
|
|
501
503
|
VAlertTitle: typeof import('vuetify/components')['VAlertTitle']
|
|
502
|
-
VAutocomplete: typeof import('vuetify/components')['VAutocomplete']
|
|
503
504
|
VBadge: typeof import('vuetify/components')['VBadge']
|
|
504
505
|
VBanner: typeof import('vuetify/components')['VBanner']
|
|
505
506
|
VBannerActions: typeof import('vuetify/components')['VBannerActions']
|
|
506
507
|
VBannerText: typeof import('vuetify/components')['VBannerText']
|
|
507
|
-
|
|
508
|
+
VBottomNavigation: typeof import('vuetify/components')['VBottomNavigation']
|
|
509
|
+
VBottomSheet: typeof import('vuetify/components')['VBottomSheet']
|
|
510
|
+
VBtn: typeof import('vuetify/components')['VBtn']
|
|
508
511
|
VBreadcrumbs: typeof import('vuetify/components')['VBreadcrumbs']
|
|
509
512
|
VBreadcrumbsItem: typeof import('vuetify/components')['VBreadcrumbsItem']
|
|
510
513
|
VBreadcrumbsDivider: typeof import('vuetify/components')['VBreadcrumbsDivider']
|
|
511
|
-
VBottomNavigation: typeof import('vuetify/components')['VBottomNavigation']
|
|
512
|
-
VBtn: typeof import('vuetify/components')['VBtn']
|
|
513
|
-
VBottomSheet: typeof import('vuetify/components')['VBottomSheet']
|
|
514
514
|
VCard: typeof import('vuetify/components')['VCard']
|
|
515
515
|
VCardActions: typeof import('vuetify/components')['VCardActions']
|
|
516
516
|
VCardItem: typeof import('vuetify/components')['VCardItem']
|
|
517
517
|
VCardSubtitle: typeof import('vuetify/components')['VCardSubtitle']
|
|
518
518
|
VCardText: typeof import('vuetify/components')['VCardText']
|
|
519
519
|
VCardTitle: typeof import('vuetify/components')['VCardTitle']
|
|
520
|
-
|
|
520
|
+
VBtnGroup: typeof import('vuetify/components')['VBtnGroup']
|
|
521
521
|
VCarousel: typeof import('vuetify/components')['VCarousel']
|
|
522
522
|
VCarouselItem: typeof import('vuetify/components')['VCarouselItem']
|
|
523
|
-
|
|
523
|
+
VBtnToggle: typeof import('vuetify/components')['VBtnToggle']
|
|
524
|
+
VChip: typeof import('vuetify/components')['VChip']
|
|
524
525
|
VCheckbox: typeof import('vuetify/components')['VCheckbox']
|
|
525
526
|
VCheckboxBtn: typeof import('vuetify/components')['VCheckboxBtn']
|
|
526
|
-
VCode: typeof import('vuetify/components')['VCode']
|
|
527
|
-
VChip: typeof import('vuetify/components')['VChip']
|
|
528
|
-
VColorPicker: typeof import('vuetify/components')['VColorPicker']
|
|
529
527
|
VCombobox: typeof import('vuetify/components')['VCombobox']
|
|
528
|
+
VCode: typeof import('vuetify/components')['VCode']
|
|
530
529
|
VChipGroup: typeof import('vuetify/components')['VChipGroup']
|
|
530
|
+
VColorPicker: typeof import('vuetify/components')['VColorPicker']
|
|
531
|
+
VCounter: typeof import('vuetify/components')['VCounter']
|
|
531
532
|
VDatePicker: typeof import('vuetify/components')['VDatePicker']
|
|
532
533
|
VDatePickerControls: typeof import('vuetify/components')['VDatePickerControls']
|
|
533
534
|
VDatePickerHeader: typeof import('vuetify/components')['VDatePickerHeader']
|
|
@@ -541,30 +542,29 @@ declare module '@vue/runtime-core' {
|
|
|
541
542
|
VDataTableRow: typeof import('vuetify/components')['VDataTableRow']
|
|
542
543
|
VDataTableVirtual: typeof import('vuetify/components')['VDataTableVirtual']
|
|
543
544
|
VDataTableServer: typeof import('vuetify/components')['VDataTableServer']
|
|
544
|
-
VCounter: typeof import('vuetify/components')['VCounter']
|
|
545
545
|
VDialog: typeof import('vuetify/components')['VDialog']
|
|
546
|
+
VDivider: typeof import('vuetify/components')['VDivider']
|
|
546
547
|
VExpansionPanels: typeof import('vuetify/components')['VExpansionPanels']
|
|
547
548
|
VExpansionPanel: typeof import('vuetify/components')['VExpansionPanel']
|
|
548
549
|
VExpansionPanelText: typeof import('vuetify/components')['VExpansionPanelText']
|
|
549
550
|
VExpansionPanelTitle: typeof import('vuetify/components')['VExpansionPanelTitle']
|
|
550
|
-
|
|
551
|
+
VEmptyState: typeof import('vuetify/components')['VEmptyState']
|
|
552
|
+
VFab: typeof import('vuetify/components')['VFab']
|
|
553
|
+
VFileInput: typeof import('vuetify/components')['VFileInput']
|
|
551
554
|
VField: typeof import('vuetify/components')['VField']
|
|
552
555
|
VFieldLabel: typeof import('vuetify/components')['VFieldLabel']
|
|
553
|
-
VFileInput: typeof import('vuetify/components')['VFileInput']
|
|
554
556
|
VFooter: typeof import('vuetify/components')['VFooter']
|
|
555
|
-
VImg: typeof import('vuetify/components')['VImg']
|
|
556
557
|
VIcon: typeof import('vuetify/components')['VIcon']
|
|
557
558
|
VComponentIcon: typeof import('vuetify/components')['VComponentIcon']
|
|
558
559
|
VSvgIcon: typeof import('vuetify/components')['VSvgIcon']
|
|
559
560
|
VLigatureIcon: typeof import('vuetify/components')['VLigatureIcon']
|
|
560
561
|
VClassIcon: typeof import('vuetify/components')['VClassIcon']
|
|
561
|
-
|
|
562
|
-
VInput: typeof import('vuetify/components')['VInput']
|
|
562
|
+
VImg: typeof import('vuetify/components')['VImg']
|
|
563
563
|
VItemGroup: typeof import('vuetify/components')['VItemGroup']
|
|
564
564
|
VItem: typeof import('vuetify/components')['VItem']
|
|
565
|
-
|
|
565
|
+
VInfiniteScroll: typeof import('vuetify/components')['VInfiniteScroll']
|
|
566
566
|
VLabel: typeof import('vuetify/components')['VLabel']
|
|
567
|
-
|
|
567
|
+
VInput: typeof import('vuetify/components')['VInput']
|
|
568
568
|
VList: typeof import('vuetify/components')['VList']
|
|
569
569
|
VListGroup: typeof import('vuetify/components')['VListGroup']
|
|
570
570
|
VListImg: typeof import('vuetify/components')['VListImg']
|
|
@@ -574,52 +574,55 @@ declare module '@vue/runtime-core' {
|
|
|
574
574
|
VListItemSubtitle: typeof import('vuetify/components')['VListItemSubtitle']
|
|
575
575
|
VListItemTitle: typeof import('vuetify/components')['VListItemTitle']
|
|
576
576
|
VListSubheader: typeof import('vuetify/components')['VListSubheader']
|
|
577
|
+
VKbd: typeof import('vuetify/components')['VKbd']
|
|
578
|
+
VMessages: typeof import('vuetify/components')['VMessages']
|
|
577
579
|
VMain: typeof import('vuetify/components')['VMain']
|
|
578
|
-
VMenu: typeof import('vuetify/components')['VMenu']
|
|
579
580
|
VNavigationDrawer: typeof import('vuetify/components')['VNavigationDrawer']
|
|
580
|
-
|
|
581
|
+
VMenu: typeof import('vuetify/components')['VMenu']
|
|
581
582
|
VOverlay: typeof import('vuetify/components')['VOverlay']
|
|
582
583
|
VPagination: typeof import('vuetify/components')['VPagination']
|
|
584
|
+
VOtpInput: typeof import('vuetify/components')['VOtpInput']
|
|
583
585
|
VProgressCircular: typeof import('vuetify/components')['VProgressCircular']
|
|
584
|
-
VProgressLinear: typeof import('vuetify/components')['VProgressLinear']
|
|
585
586
|
VRating: typeof import('vuetify/components')['VRating']
|
|
586
587
|
VRadioGroup: typeof import('vuetify/components')['VRadioGroup']
|
|
588
|
+
VProgressLinear: typeof import('vuetify/components')['VProgressLinear']
|
|
587
589
|
VSelect: typeof import('vuetify/components')['VSelect']
|
|
588
|
-
VSheet: typeof import('vuetify/components')['VSheet']
|
|
589
590
|
VSelectionControl: typeof import('vuetify/components')['VSelectionControl']
|
|
591
|
+
VSheet: typeof import('vuetify/components')['VSheet']
|
|
592
|
+
VSelectionControlGroup: typeof import('vuetify/components')['VSelectionControlGroup']
|
|
590
593
|
VSlideGroup: typeof import('vuetify/components')['VSlideGroup']
|
|
591
594
|
VSlideGroupItem: typeof import('vuetify/components')['VSlideGroupItem']
|
|
592
|
-
VSelectionControlGroup: typeof import('vuetify/components')['VSelectionControlGroup']
|
|
593
|
-
VSkeletonLoader: typeof import('vuetify/components')['VSkeletonLoader']
|
|
594
595
|
VSnackbar: typeof import('vuetify/components')['VSnackbar']
|
|
596
|
+
VSkeletonLoader: typeof import('vuetify/components')['VSkeletonLoader']
|
|
595
597
|
VSlider: typeof import('vuetify/components')['VSlider']
|
|
598
|
+
VSystemBar: typeof import('vuetify/components')['VSystemBar']
|
|
596
599
|
VStepper: typeof import('vuetify/components')['VStepper']
|
|
597
600
|
VStepperActions: typeof import('vuetify/components')['VStepperActions']
|
|
598
601
|
VStepperHeader: typeof import('vuetify/components')['VStepperHeader']
|
|
599
602
|
VStepperItem: typeof import('vuetify/components')['VStepperItem']
|
|
600
603
|
VStepperWindow: typeof import('vuetify/components')['VStepperWindow']
|
|
601
604
|
VStepperWindowItem: typeof import('vuetify/components')['VStepperWindowItem']
|
|
602
|
-
VSystemBar: typeof import('vuetify/components')['VSystemBar']
|
|
603
605
|
VSwitch: typeof import('vuetify/components')['VSwitch']
|
|
604
606
|
VTab: typeof import('vuetify/components')['VTab']
|
|
605
607
|
VTabs: typeof import('vuetify/components')['VTabs']
|
|
606
608
|
VTabsWindow: typeof import('vuetify/components')['VTabsWindow']
|
|
607
609
|
VTabsWindowItem: typeof import('vuetify/components')['VTabsWindowItem']
|
|
608
|
-
VTextarea: typeof import('vuetify/components')['VTextarea']
|
|
609
610
|
VTable: typeof import('vuetify/components')['VTable']
|
|
610
|
-
VTimeline: typeof import('vuetify/components')['VTimeline']
|
|
611
|
-
VTimelineItem: typeof import('vuetify/components')['VTimelineItem']
|
|
612
611
|
VTextField: typeof import('vuetify/components')['VTextField']
|
|
612
|
+
VTextarea: typeof import('vuetify/components')['VTextarea']
|
|
613
613
|
VToolbar: typeof import('vuetify/components')['VToolbar']
|
|
614
614
|
VToolbarTitle: typeof import('vuetify/components')['VToolbarTitle']
|
|
615
615
|
VToolbarItems: typeof import('vuetify/components')['VToolbarItems']
|
|
616
|
-
|
|
616
|
+
VTimeline: typeof import('vuetify/components')['VTimeline']
|
|
617
|
+
VTimelineItem: typeof import('vuetify/components')['VTimelineItem']
|
|
617
618
|
VWindow: typeof import('vuetify/components')['VWindow']
|
|
618
619
|
VWindowItem: typeof import('vuetify/components')['VWindowItem']
|
|
619
|
-
|
|
620
|
+
VTooltip: typeof import('vuetify/components')['VTooltip']
|
|
621
|
+
VConfirmEdit: typeof import('vuetify/components')['VConfirmEdit']
|
|
620
622
|
VDataIterator: typeof import('vuetify/components')['VDataIterator']
|
|
621
|
-
|
|
623
|
+
VDefaultsProvider: typeof import('vuetify/components')['VDefaultsProvider']
|
|
622
624
|
VForm: typeof import('vuetify/components')['VForm']
|
|
625
|
+
VHover: typeof import('vuetify/components')['VHover']
|
|
623
626
|
VContainer: typeof import('vuetify/components')['VContainer']
|
|
624
627
|
VCol: typeof import('vuetify/components')['VCol']
|
|
625
628
|
VRow: typeof import('vuetify/components')['VRow']
|
|
@@ -633,6 +636,8 @@ declare module '@vue/runtime-core' {
|
|
|
633
636
|
VRadio: typeof import('vuetify/components')['VRadio']
|
|
634
637
|
VRangeSlider: typeof import('vuetify/components')['VRangeSlider']
|
|
635
638
|
VResponsive: typeof import('vuetify/components')['VResponsive']
|
|
639
|
+
VSparkline: typeof import('vuetify/components')['VSparkline']
|
|
640
|
+
VSpeedDial: typeof import('vuetify/components')['VSpeedDial']
|
|
636
641
|
VThemeProvider: typeof import('vuetify/components')['VThemeProvider']
|
|
637
642
|
VValidation: typeof import('vuetify/components')['VValidation']
|
|
638
643
|
VVirtualScroll: typeof import('vuetify/components')['VVirtualScroll']
|
|
@@ -658,22 +663,17 @@ declare module '@vue/runtime-core' {
|
|
|
658
663
|
VCalendarInterval: typeof import('vuetify/labs/components')['VCalendarInterval']
|
|
659
664
|
VCalendarIntervalEvent: typeof import('vuetify/labs/components')['VCalendarIntervalEvent']
|
|
660
665
|
VCalendarMonthDay: typeof import('vuetify/labs/components')['VCalendarMonthDay']
|
|
661
|
-
|
|
662
|
-
VPicker: typeof import('vuetify/labs/components')['VPicker']
|
|
663
|
-
VPickerTitle: typeof import('vuetify/labs/components')['VPickerTitle']
|
|
664
|
-
VFab: typeof import('vuetify/labs/components')['VFab']
|
|
666
|
+
VNumberInput: typeof import('vuetify/labs/components')['VNumberInput']
|
|
665
667
|
VTimePicker: typeof import('vuetify/labs/components')['VTimePicker']
|
|
666
668
|
VTimePickerClock: typeof import('vuetify/labs/components')['VTimePickerClock']
|
|
667
669
|
VTimePickerControls: typeof import('vuetify/labs/components')['VTimePickerControls']
|
|
668
|
-
|
|
670
|
+
VPicker: typeof import('vuetify/labs/components')['VPicker']
|
|
671
|
+
VPickerTitle: typeof import('vuetify/labs/components')['VPickerTitle']
|
|
669
672
|
VTreeview: typeof import('vuetify/labs/components')['VTreeview']
|
|
670
673
|
VTreeviewItem: typeof import('vuetify/labs/components')['VTreeviewItem']
|
|
671
674
|
VTreeviewGroup: typeof import('vuetify/labs/components')['VTreeviewGroup']
|
|
672
|
-
VConfirmEdit: typeof import('vuetify/labs/components')['VConfirmEdit']
|
|
673
675
|
VDateInput: typeof import('vuetify/labs/components')['VDateInput']
|
|
674
|
-
VPullToRefresh: typeof import('vuetify/labs/components')['VPullToRefresh']
|
|
675
676
|
VSnackbarQueue: typeof import('vuetify/labs/components')['VSnackbarQueue']
|
|
676
|
-
|
|
677
|
-
VSparkline: typeof import('vuetify/labs/components')['VSparkline']
|
|
677
|
+
VPullToRefresh: typeof import('vuetify/labs/components')['VPullToRefresh']
|
|
678
678
|
}
|
|
679
679
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { createVNode as _createVNode, mergeProps as _mergeProps } from "vue";
|
|
2
2
|
// Components
|
|
3
|
+
import { makeVConfirmEditProps, VConfirmEdit } from "../../components/VConfirmEdit/VConfirmEdit.mjs";
|
|
3
4
|
import { makeVDatePickerProps, VDatePicker } from "../../components/VDatePicker/VDatePicker.mjs";
|
|
4
5
|
import { VMenu } from "../../components/VMenu/VMenu.mjs";
|
|
5
|
-
import { makeVTextFieldProps, VTextField } from "../../components/VTextField/VTextField.mjs";
|
|
6
|
-
import { makeVConfirmEditProps, VConfirmEdit } from "../VConfirmEdit/VConfirmEdit.mjs"; // Composables
|
|
6
|
+
import { makeVTextFieldProps, VTextField } from "../../components/VTextField/VTextField.mjs"; // Composables
|
|
7
7
|
import { useDate } from "../../composables/date/index.mjs";
|
|
8
8
|
import { makeFocusProps, useFocus } from "../../composables/focus.mjs";
|
|
9
9
|
import { useLocale } from "../../composables/locale.mjs";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VDateInput.mjs","names":["
|
|
1
|
+
{"version":3,"file":"VDateInput.mjs","names":["makeVConfirmEditProps","VConfirmEdit","makeVDatePickerProps","VDatePicker","VMenu","makeVTextFieldProps","VTextField","useDate","makeFocusProps","useFocus","useLocale","useProxiedModel","computed","shallowRef","genericComponent","omit","propsFactory","useRender","wrapInArray","makeVDateInputProps","hideActions","Boolean","placeholder","prependIcon","weeksInMonth","hideHeader","VDateInput","name","props","emits","val","setup","_ref","slots","t","adapter","isFocused","focus","blur","model","multiple","menu","display","value","length","start","end","isValid","format","onKeydown","e","key","target","date","onClick","preventDefault","stopPropagation","onSave","confirmEditProps","filterProps","datePickerProps","textFieldProps","_createVNode","_mergeProps","default","$event","_ref2","actions","proxyModel","undefined"],"sources":["../../../src/labs/VDateInput/VDateInput.tsx"],"sourcesContent":["// Components\nimport { makeVConfirmEditProps, VConfirmEdit } from '@/components/VConfirmEdit/VConfirmEdit'\nimport { makeVDatePickerProps, VDatePicker } from '@/components/VDatePicker/VDatePicker'\nimport { VMenu } from '@/components/VMenu/VMenu'\nimport { makeVTextFieldProps, VTextField } from '@/components/VTextField/VTextField'\n\n// Composables\nimport { useDate } from '@/composables/date'\nimport { makeFocusProps, useFocus } from '@/composables/focus'\nimport { useLocale } from '@/composables/locale'\nimport { useProxiedModel } from '@/composables/proxiedModel'\n\n// Utilities\nimport { computed, shallowRef } from 'vue'\nimport { genericComponent, omit, propsFactory, useRender, wrapInArray } from '@/util'\n\n// Types\nexport interface VDateInputSlots {\n default: never\n}\n\nexport const makeVDateInputProps = propsFactory({\n hideActions: Boolean,\n\n ...makeFocusProps(),\n ...makeVConfirmEditProps(),\n ...makeVTextFieldProps({\n placeholder: 'mm/dd/yyyy',\n prependIcon: '$calendar',\n }),\n ...omit(makeVDatePickerProps({\n weeksInMonth: 'dynamic' as const,\n hideHeader: true,\n }), ['active']),\n}, 'VDateInput')\n\nexport const VDateInput = genericComponent()({\n name: 'VDateInput',\n\n props: makeVDateInputProps(),\n\n emits: {\n 'update:modelValue': (val: string) => true,\n },\n\n setup (props, { slots }) {\n const { t } = useLocale()\n const adapter = useDate()\n const { isFocused, focus, blur } = useFocus(props)\n const model = useProxiedModel(props, 'modelValue', props.multiple ? [] : null)\n const menu = shallowRef(false)\n\n const display = computed(() => {\n const value = wrapInArray(model.value)\n\n if (!value.length) return null\n\n if (props.multiple === true) {\n return t('$vuetify.datePicker.itemsSelected', value.length)\n }\n\n if (props.multiple === 'range') {\n const start = value[0]\n const end = value[value.length - 1]\n\n return adapter.isValid(start) && adapter.isValid(end)\n ? `${adapter.format(start, 'keyboardDate')} - ${adapter.format(end, 'keyboardDate')}`\n : ''\n }\n\n return adapter.isValid(model.value) ? adapter.format(model.value, 'keyboardDate') : ''\n })\n\n function onKeydown (e: KeyboardEvent) {\n if (e.key !== 'Enter') return\n\n if (!menu.value || !isFocused.value) {\n menu.value = true\n\n return\n }\n\n const target = e.target as HTMLInputElement\n\n model.value = adapter.date(target.value)\n }\n\n function onClick (e: MouseEvent) {\n e.preventDefault()\n e.stopPropagation()\n\n menu.value = true\n }\n\n function onSave () {\n menu.value = false\n }\n\n useRender(() => {\n const confirmEditProps = VConfirmEdit.filterProps(props)\n const datePickerProps = VDatePicker.filterProps(omit(props, ['active']))\n const textFieldProps = VTextField.filterProps(props)\n\n return (\n <VTextField\n { ...textFieldProps }\n modelValue={ display.value }\n onKeydown={ onKeydown }\n focused={ menu.value || isFocused.value }\n onFocus={ focus }\n onBlur={ blur }\n onClick:control={ onClick }\n onClick:prepend={ onClick }\n >\n <VMenu\n v-model={ menu.value }\n activator=\"parent\"\n min-width=\"0\"\n closeOnContentClick={ false }\n openOnClick={ false }\n >\n <VConfirmEdit\n { ...confirmEditProps }\n v-model={ model.value }\n onSave={ onSave }\n >\n {{\n default: ({ actions, model: proxyModel }) => {\n return (\n <VDatePicker\n { ...datePickerProps }\n modelValue={ props.hideActions ? model.value : proxyModel.value }\n onUpdate:modelValue={ val => {\n if (!props.hideActions) {\n proxyModel.value = val\n } else {\n model.value = val\n\n if (!props.multiple) menu.value = false\n }\n }}\n onMousedown={ (e: MouseEvent) => e.preventDefault() }\n >\n {{\n actions: !props.hideActions ? () => actions : undefined,\n }}\n </VDatePicker>\n )\n },\n }}\n </VConfirmEdit>\n </VMenu>\n\n { slots.default?.() }\n </VTextField>\n )\n })\n },\n})\n\nexport type VDateInput = InstanceType<typeof VDateInput>\n"],"mappings":";AAAA;AAAA,SACSA,qBAAqB,EAAEC,YAAY;AAAA,SACnCC,oBAAoB,EAAEC,WAAW;AAAA,SACjCC,KAAK;AAAA,SACLC,mBAAmB,EAAEC,UAAU,sDAExC;AAAA,SACSC,OAAO;AAAA,SACPC,cAAc,EAAEC,QAAQ;AAAA,SACxBC,SAAS;AAAA,SACTC,eAAe,8CAExB;AACA,SAASC,QAAQ,EAAEC,UAAU,QAAQ,KAAK;AAAA,SACjCC,gBAAgB,EAAEC,IAAI,EAAEC,YAAY,EAAEC,SAAS,EAAEC,WAAW,gCAErE;AAKA,OAAO,MAAMC,mBAAmB,GAAGH,YAAY,CAAC;EAC9CI,WAAW,EAAEC,OAAO;EAEpB,GAAGb,cAAc,CAAC,CAAC;EACnB,GAAGR,qBAAqB,CAAC,CAAC;EAC1B,GAAGK,mBAAmB,CAAC;IACrBiB,WAAW,EAAE,YAAY;IACzBC,WAAW,EAAE;EACf,CAAC,CAAC;EACF,GAAGR,IAAI,CAACb,oBAAoB,CAAC;IAC3BsB,YAAY,EAAE,SAAkB;IAChCC,UAAU,EAAE;EACd,CAAC,CAAC,EAAE,CAAC,QAAQ,CAAC;AAChB,CAAC,EAAE,YAAY,CAAC;AAEhB,OAAO,MAAMC,UAAU,GAAGZ,gBAAgB,CAAC,CAAC,CAAC;EAC3Ca,IAAI,EAAE,YAAY;EAElBC,KAAK,EAAET,mBAAmB,CAAC,CAAC;EAE5BU,KAAK,EAAE;IACL,mBAAmB,EAAGC,GAAW,IAAK;EACxC,CAAC;EAEDC,KAAKA,CAAEH,KAAK,EAAAI,IAAA,EAAa;IAAA,IAAX;M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uBAAAsB,MAAA,IAAVxB,IAAI,CAACE,KAAK,GAAAsB,MAAA;UAAA;UAAA;UAAA,uBAGE,KAAK;UAAA,eACb;QAAK;UAAAD,OAAA,EAAAA,CAAA,MAAAF,YAAA,CAAA7D,YAAA,EAAA8D,WAAA,CAGZL,gBAAgB;YAAA,cACXnB,KAAK,CAACI,KAAK;YAAA,uBAAAsB,MAAA,IAAX1B,KAAK,CAACI,KAAK,GAAAsB,MAAA;YAAA,UACZR;UAAM;YAGbO,OAAO,EAAEE,KAAA,IAAoC;cAAA,IAAnC;gBAAEC,OAAO;gBAAE5B,KAAK,EAAE6B;cAAW,CAAC,GAAAF,KAAA;cACtC,OAAAJ,YAAA,CAAA3D,WAAA,EAAA4D,WAAA,CAESH,eAAe;gBAAA,cACPhC,KAAK,CAACR,WAAW,GAAGmB,KAAK,CAACI,KAAK,GAAGyB,UAAU,CAACzB,KAAK;gBAAA,uBACzCb,GAAG,IAAI;kBAC3B,IAAI,CAACF,KAAK,CAACR,WAAW,EAAE;oBACtBgD,UAAU,CAACzB,KAAK,GAAGb,GAAG;kBACxB,CAAC,MAAM;oBACLS,KAAK,CAACI,KAAK,GAAGb,GAAG;oBAEjB,IAAI,CAACF,KAAK,CAACY,QAAQ,EAAEC,IAAI,CAACE,KAAK,GAAG,KAAK;kBACzC;gBACF,CAAC;gBAAA,eACcO,CAAa,IAAKA,CAAC,CAACK,cAAc,CAAC;cAAC;gBAGjDY,OAAO,EAAE,CAACvC,KAAK,CAACR,WAAW,GAAG,MAAM+C,OAAO,GAAGE;cAAS;YAI/D;UAAC;QAAA,IAKLpC,KAAK,CAAC+B,OAAO,GAAG,CAAC;MAAA;IAGzB,CAAC,CAAC;EACJ;AACF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -57,6 +57,8 @@ declare const VDateInput: {
|
|
|
57
57
|
persistentPlaceholder: boolean;
|
|
58
58
|
persistentCounter: boolean;
|
|
59
59
|
reverseTransition: string;
|
|
60
|
+
cancelText: string;
|
|
61
|
+
okText: string;
|
|
60
62
|
modeIcon: string;
|
|
61
63
|
viewMode: "month" | "year" | "months";
|
|
62
64
|
showAdjacentMonths: boolean;
|
|
@@ -67,8 +69,6 @@ declare const VDateInput: {
|
|
|
67
69
|
landscape: boolean;
|
|
68
70
|
hideHeader: boolean;
|
|
69
71
|
hideActions: boolean;
|
|
70
|
-
cancelText: string;
|
|
71
|
-
okText: string;
|
|
72
72
|
} & {
|
|
73
73
|
class?: any;
|
|
74
74
|
id?: string | undefined;
|
|
@@ -169,6 +169,8 @@ declare const VDateInput: {
|
|
|
169
169
|
persistentPlaceholder: boolean;
|
|
170
170
|
persistentCounter: boolean;
|
|
171
171
|
reverseTransition: string;
|
|
172
|
+
cancelText: string;
|
|
173
|
+
okText: string;
|
|
172
174
|
modeIcon: string;
|
|
173
175
|
viewMode: "month" | "year" | "months";
|
|
174
176
|
showAdjacentMonths: boolean;
|
|
@@ -179,8 +181,6 @@ declare const VDateInput: {
|
|
|
179
181
|
landscape: boolean;
|
|
180
182
|
hideHeader: boolean;
|
|
181
183
|
hideActions: boolean;
|
|
182
|
-
cancelText: string;
|
|
183
|
-
okText: string;
|
|
184
184
|
} & {
|
|
185
185
|
class?: any;
|
|
186
186
|
id?: string | undefined;
|
|
@@ -281,6 +281,8 @@ declare const VDateInput: {
|
|
|
281
281
|
persistentPlaceholder: boolean;
|
|
282
282
|
persistentCounter: boolean;
|
|
283
283
|
reverseTransition: string;
|
|
284
|
+
cancelText: string;
|
|
285
|
+
okText: string;
|
|
284
286
|
modeIcon: string;
|
|
285
287
|
viewMode: "month" | "year" | "months";
|
|
286
288
|
showAdjacentMonths: boolean;
|
|
@@ -291,8 +293,6 @@ declare const VDateInput: {
|
|
|
291
293
|
landscape: boolean;
|
|
292
294
|
hideHeader: boolean;
|
|
293
295
|
hideActions: boolean;
|
|
294
|
-
cancelText: string;
|
|
295
|
-
okText: string;
|
|
296
296
|
}, true, {}, vue.SlotsType<Partial<{
|
|
297
297
|
default: () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
298
298
|
[key: string]: any;
|
|
@@ -341,6 +341,8 @@ declare const VDateInput: {
|
|
|
341
341
|
persistentPlaceholder: boolean;
|
|
342
342
|
persistentCounter: boolean;
|
|
343
343
|
reverseTransition: string;
|
|
344
|
+
cancelText: string;
|
|
345
|
+
okText: string;
|
|
344
346
|
modeIcon: string;
|
|
345
347
|
viewMode: "month" | "year" | "months";
|
|
346
348
|
showAdjacentMonths: boolean;
|
|
@@ -351,8 +353,6 @@ declare const VDateInput: {
|
|
|
351
353
|
landscape: boolean;
|
|
352
354
|
hideHeader: boolean;
|
|
353
355
|
hideActions: boolean;
|
|
354
|
-
cancelText: string;
|
|
355
|
-
okText: string;
|
|
356
356
|
} & {
|
|
357
357
|
class?: any;
|
|
358
358
|
id?: string | undefined;
|
|
@@ -453,6 +453,8 @@ declare const VDateInput: {
|
|
|
453
453
|
persistentPlaceholder: boolean;
|
|
454
454
|
persistentCounter: boolean;
|
|
455
455
|
reverseTransition: string;
|
|
456
|
+
cancelText: string;
|
|
457
|
+
okText: string;
|
|
456
458
|
modeIcon: string;
|
|
457
459
|
viewMode: "month" | "year" | "months";
|
|
458
460
|
showAdjacentMonths: boolean;
|
|
@@ -463,8 +465,6 @@ declare const VDateInput: {
|
|
|
463
465
|
landscape: boolean;
|
|
464
466
|
hideHeader: boolean;
|
|
465
467
|
hideActions: boolean;
|
|
466
|
-
cancelText: string;
|
|
467
|
-
okText: string;
|
|
468
468
|
}>;
|
|
469
469
|
__isFragment?: undefined;
|
|
470
470
|
__isTeleport?: undefined;
|
|
@@ -506,6 +506,8 @@ declare const VDateInput: {
|
|
|
506
506
|
persistentPlaceholder: boolean;
|
|
507
507
|
persistentCounter: boolean;
|
|
508
508
|
reverseTransition: string;
|
|
509
|
+
cancelText: string;
|
|
510
|
+
okText: string;
|
|
509
511
|
modeIcon: string;
|
|
510
512
|
viewMode: "month" | "year" | "months";
|
|
511
513
|
showAdjacentMonths: boolean;
|
|
@@ -516,8 +518,6 @@ declare const VDateInput: {
|
|
|
516
518
|
landscape: boolean;
|
|
517
519
|
hideHeader: boolean;
|
|
518
520
|
hideActions: boolean;
|
|
519
|
-
cancelText: string;
|
|
520
|
-
okText: string;
|
|
521
521
|
} & {
|
|
522
522
|
class?: any;
|
|
523
523
|
id?: string | undefined;
|
|
@@ -620,6 +620,8 @@ declare const VDateInput: {
|
|
|
620
620
|
persistentPlaceholder: boolean;
|
|
621
621
|
persistentCounter: boolean;
|
|
622
622
|
reverseTransition: string;
|
|
623
|
+
cancelText: string;
|
|
624
|
+
okText: string;
|
|
623
625
|
modeIcon: string;
|
|
624
626
|
viewMode: "month" | "year" | "months";
|
|
625
627
|
showAdjacentMonths: boolean;
|
|
@@ -630,8 +632,6 @@ declare const VDateInput: {
|
|
|
630
632
|
landscape: boolean;
|
|
631
633
|
hideHeader: boolean;
|
|
632
634
|
hideActions: boolean;
|
|
633
|
-
cancelText: string;
|
|
634
|
-
okText: string;
|
|
635
635
|
}, {}, string, vue.SlotsType<Partial<{
|
|
636
636
|
default: () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
637
637
|
[key: string]: any;
|