@vuetify/nightly 3.6.8-master.2024-06-07 → 3.6.8-master.2024-06-11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +2 -2
- package/dist/json/importMap-labs.json +16 -16
- package/dist/json/importMap.json +132 -132
- package/dist/json/web-types.json +1 -1
- package/dist/vuetify-labs.css +5772 -5772
- package/dist/vuetify-labs.d.ts +143 -144
- package/dist/vuetify-labs.esm.js +3 -3
- package/dist/vuetify-labs.esm.js.map +1 -1
- package/dist/vuetify-labs.js +3 -3
- package/dist/vuetify-labs.min.css +2 -2
- package/dist/vuetify.css +1041 -1041
- package/dist/vuetify.d.ts +185 -186
- package/dist/vuetify.esm.js +3 -3
- package/dist/vuetify.esm.js.map +1 -1
- package/dist/vuetify.js +3 -3
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +2 -2
- package/dist/vuetify.min.js +3 -3
- package/dist/vuetify.min.js.map +1 -1
- package/lib/blueprints/index.d.mts +58 -56
- package/lib/blueprints/md1.d.mts +58 -56
- package/lib/blueprints/md2.d.mts +58 -56
- package/lib/blueprints/md3.d.mts +58 -56
- package/lib/composables/goto.mjs.map +1 -1
- package/lib/composables/icons.mjs.map +1 -1
- package/lib/entry-bundler.mjs +1 -1
- package/lib/framework.mjs +1 -1
- package/lib/index.d.mts +151 -152
- package/lib/labs/VStepperVertical/index.d.mts +3 -3
- package/package.json +1 -1
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"icons.mjs","names":["aliases","mdi","computed","inject","unref","consoleWarn","defineComponent","genericComponent","mergeDeep","propsFactory","IconValue","String","Function","Object","Array","IconSymbol","Symbol","for","makeIconProps","icon","type","tag","required","VComponentIcon","name","props","setup","_ref","slots","Icon","_createVNode","default","VSvgIcon","inheritAttrs","_ref2","attrs","_mergeProps","isArray","map","path","VLigatureIcon","VClassIcon","genDefaults","svg","component","class","createIcons","options","sets","defaultSet","vuetify","useIcon","icons","Error","iconData","iconAlias","trim","startsWith","slice","iconSetName","keys","find","setName","iconName","length","iconSet"],"sources":["../../src/composables/icons.tsx"],"sourcesContent":["// Icons\nimport { aliases, mdi } from '@/iconsets/mdi'\n\n// Utilities\nimport { computed, inject, unref } from 'vue'\nimport { consoleWarn, defineComponent, genericComponent, mergeDeep, propsFactory } from '@/util'\n\n// Types\nimport type { InjectionKey, JSXComponent, PropType, Ref } from 'vue'\n\nexport type IconValue =\n | string\n | (string | [path: string, opacity: number])[]\n | JSXComponent\nexport const IconValue = [String, Function, Object, Array] as PropType<IconValue>\n\nexport interface IconAliases {\n [name: string]: IconValue\n complete: IconValue\n cancel: IconValue\n close: IconValue\n delete: IconValue\n clear: IconValue\n success: IconValue\n info: IconValue\n warning: IconValue\n error: IconValue\n prev: IconValue\n next: IconValue\n checkboxOn: IconValue\n checkboxOff: IconValue\n checkboxIndeterminate: IconValue\n delimiter: IconValue\n sortAsc: IconValue\n sortDesc: IconValue\n expand: IconValue\n menu: IconValue\n subgroup: IconValue\n dropdown: IconValue\n radioOn: IconValue\n radioOff: IconValue\n edit: IconValue\n ratingEmpty: IconValue\n ratingFull: IconValue\n ratingHalf: IconValue\n loading: IconValue\n first: IconValue\n last: IconValue\n unfold: IconValue\n file: IconValue\n plus: IconValue\n minus: IconValue\n calendar: IconValue\n}\n\nexport interface IconProps {\n tag: string\n icon?: IconValue\n disabled?: Boolean\n}\n\ntype IconComponent = JSXComponent<IconProps>\n\nexport interface IconSet {\n component: IconComponent\n}\n\nexport type IconOptions = {\n defaultSet?: string\n aliases?: Partial<IconAliases>\n sets?: Record<string, IconSet>\n}\n\ntype IconInstance = {\n component: IconComponent\n icon?: IconValue\n}\n\nexport const IconSymbol: InjectionKey<Required<IconOptions>> = Symbol.for('vuetify:icons')\n\nexport const makeIconProps = propsFactory({\n icon: {\n type: IconValue,\n },\n // Could not remove this and use makeTagProps, types complained because it is not required\n tag: {\n type: String,\n required: true,\n },\n}, 'icon')\n\nexport const VComponentIcon = genericComponent()({\n name: 'VComponentIcon',\n\n props: makeIconProps(),\n\n setup (props, { slots }) {\n return () => {\n const Icon = props.icon as JSXComponent\n return (\n <props.tag>\n { props.icon ? <Icon /> : slots.default?.() }\n </props.tag>\n )\n }\n },\n})\nexport type VComponentIcon = InstanceType<typeof VComponentIcon>\n\nexport const VSvgIcon = defineComponent({\n name: 'VSvgIcon',\n\n inheritAttrs: false,\n\n props: makeIconProps(),\n\n setup (props, { attrs }) {\n return () => {\n return (\n <props.tag { ...attrs } style={ null }>\n <svg\n class=\"v-icon__svg\"\n xmlns=\"http://www.w3.org/2000/svg\"\n viewBox=\"0 0 24 24\"\n role=\"img\"\n aria-hidden=\"true\"\n >\n { Array.isArray(props.icon)\n ? props.icon.map(path => (\n Array.isArray(path)\n ? <path d={ path[0] as string } fill-opacity={ path[1] }></path>\n : <path d={ path as string }></path>\n ))\n : <path d={ props.icon as string }></path>\n }\n </svg>\n </props.tag>\n )\n }\n },\n})\nexport type VSvgIcon = InstanceType<typeof VSvgIcon>\n\nexport const VLigatureIcon = defineComponent({\n name: 'VLigatureIcon',\n\n props: makeIconProps(),\n\n setup (props) {\n return () => {\n return <props.tag>{ props.icon }</props.tag>\n }\n },\n})\nexport type VLigatureIcon = InstanceType<typeof VLigatureIcon>\n\nexport const VClassIcon = defineComponent({\n name: 'VClassIcon',\n\n props: makeIconProps(),\n\n setup (props) {\n return () => {\n return <props.tag class={ props.icon }></props.tag>\n }\n },\n})\nexport type VClassIcon = InstanceType<typeof VClassIcon>\n\nfunction genDefaults (): Record<string, IconSet> {\n return {\n svg: {\n component: VSvgIcon,\n },\n class: {\n component: VClassIcon,\n },\n }\n}\n\n// Composables\nexport function createIcons (options?: IconOptions) {\n const sets = genDefaults()\n const defaultSet = options?.defaultSet ?? 'mdi'\n\n if (defaultSet === 'mdi' && !sets.mdi) {\n sets.mdi = mdi\n }\n\n return mergeDeep({\n defaultSet,\n sets,\n aliases: {\n ...aliases,\n /* eslint-disable max-len */\n vuetify: [\n 'M8.2241 14.2009L12 21L22 3H14.4459L8.2241 14.2009Z',\n ['M7.26303 12.4733L7.00113 12L2 3H12.5261C12.5261 3 12.5261 3 12.5261 3L7.26303 12.4733Z', 0.6],\n ],\n 'vuetify-outline': 'svg:M7.26 12.47 12.53 3H2L7.26 12.47ZM14.45 3 8.22 14.2 12 21 22 3H14.45ZM18.6 5 12 16.88 10.51 14.2 15.62 5ZM7.26 8.35 5.4 5H9.13L7.26 8.35Z',\n 'vuetify-play': [\n 'm6.376 13.184-4.11-7.192C1.505 4.66 2.467 3 4.003 3h8.532l-.953 1.576-.006.01-.396.677c-.429.732-.214 1.507.194 2.015.404.503 1.092.878 1.869.806a3.72 3.72 0 0 1 1.005.022c.276.053.434.143.523.237.138.146.38.635-.25 2.09-.893 1.63-1.553 1.722-1.847 1.677-.213-.033-.468-.158-.756-.406a4.95 4.95 0 0 1-.8-.927c-.39-.564-1.04-.84-1.66-.846-.625-.006-1.316.27-1.693.921l-.478.826-.911 1.506Z',\n ['M9.093 11.552c.046-.079.144-.15.32-.148a.53.53 0 0 1 .43.207c.285.414.636.847 1.046 1.2.405.35.914.662 1.516.754 1.334.205 2.502-.698 3.48-2.495l.014-.028.013-.03c.687-1.574.774-2.852-.005-3.675-.37-.391-.861-.586-1.333-.676a5.243 5.243 0 0 0-1.447-.044c-.173.016-.393-.073-.54-.257-.145-.18-.127-.316-.082-.392l.393-.672L14.287 3h5.71c1.536 0 2.499 1.659 1.737 2.992l-7.997 13.996c-.768 1.344-2.706 1.344-3.473 0l-3.037-5.314 1.377-2.278.004-.006.004-.007.481-.831Z', 0.6],\n ],\n /* eslint-enable max-len */\n },\n }, options)\n}\n\nexport const useIcon = (props: Ref<IconValue | undefined>) => {\n const icons = inject(IconSymbol)\n\n if (!icons) throw new Error('Missing Vuetify Icons provide!')\n\n const iconData = computed<IconInstance>(() => {\n const iconAlias = unref(props)\n\n if (!iconAlias) return { component: VComponentIcon }\n\n let icon: IconValue | undefined = iconAlias\n\n if (typeof icon === 'string') {\n icon = icon.trim()\n\n if (icon.startsWith('$')) {\n icon = icons.aliases?.[icon.slice(1)]\n }\n }\n\n if (!icon) consoleWarn(`Could not find aliased icon \"${iconAlias}\"`)\n\n if (Array.isArray(icon)) {\n return {\n component: VSvgIcon,\n icon,\n }\n } else if (typeof icon !== 'string') {\n return {\n component: VComponentIcon,\n icon,\n }\n }\n\n const iconSetName = Object.keys(icons.sets).find(\n setName => typeof icon === 'string' && icon.startsWith(`${setName}:`)\n )\n\n const iconName = iconSetName ? icon.slice(iconSetName.length + 1) : icon\n const iconSet = icons.sets[iconSetName ?? icons.defaultSet]\n\n return {\n component: iconSet.component,\n icon: iconName,\n }\n })\n\n return { iconData }\n}\n"],"mappings":";AAAA;AAAA,SACSA,OAAO,EAAEC,GAAG,+BAErB;AACA,SAASC,QAAQ,EAAEC,MAAM,EAAEC,KAAK,QAAQ,KAAK;AAAA,SACpCC,WAAW,EAAEC,eAAe,EAAEC,gBAAgB,EAAEC,SAAS,EAAEC,YAAY,6BAEhF;AAOA,OAAO,MAAMC,SAAS,GAAG,CAACC,MAAM,EAAEC,QAAQ,EAAEC,MAAM,EAAEC,KAAK,CAAwB;AAgEjF,OAAO,MAAMC,UAA+C,GAAGC,MAAM,CAACC,GAAG,CAAC,eAAe,CAAC;AAE1F,OAAO,MAAMC,aAAa,GAAGT,YAAY,CAAC;EACxCU,IAAI,EAAE;IACJC,IAAI,EAAEV;EACR,CAAC;EACD;EACAW,GAAG,EAAE;IACHD,IAAI,EAAET,MAAM;IACZW,QAAQ,EAAE;EACZ;AACF,CAAC,EAAE,MAAM,CAAC;AAEV,OAAO,MAAMC,cAAc,GAAGhB,gBAAgB,CAAC,CAAC,CAAC;EAC/CiB,IAAI,EAAE,gBAAgB;EAEtBC,KAAK,EAAEP,aAAa,CAAC,CAAC;EAEtBQ,KAAKA,CAAED,KAAK,EAAAE,IAAA,EAAa;IAAA,IAAX;MAAEC;IAAM,CAAC,GAAAD,IAAA;IACrB,OAA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K,CAACJ,IAAI,CAACW,WAAW,IAAIP,KAAK,CAACH,UAAU,CAAC;IAE3D,OAAO;MACLL,SAAS,EAAEqB,OAAO,CAACrB,SAAS;MAC5BzB,IAAI,EAAE4C;IACR,CAAC;EACH,CAAC,CAAC;EAEF,OAAO;IAAET;EAAS,CAAC;AACrB,CAAC","ignoreList":[]}
|
1
|
+
{"version":3,"file":"icons.mjs","names":["aliases","mdi","computed","inject","unref","consoleWarn","defineComponent","genericComponent","mergeDeep","propsFactory","IconValue","String","Function","Object","Array","IconSymbol","Symbol","for","makeIconProps","icon","type","tag","required","VComponentIcon","name","props","setup","_ref","slots","Icon","_createVNode","default","VSvgIcon","inheritAttrs","_ref2","attrs","_mergeProps","isArray","map","path","VLigatureIcon","VClassIcon","genDefaults","svg","component","class","createIcons","options","sets","defaultSet","vuetify","useIcon","icons","Error","iconData","iconAlias","trim","startsWith","slice","iconSetName","keys","find","setName","iconName","length","iconSet"],"sources":["../../src/composables/icons.tsx"],"sourcesContent":["// Icons\nimport { aliases, mdi } from '@/iconsets/mdi'\n\n// Utilities\nimport { computed, inject, unref } from 'vue'\nimport { consoleWarn, defineComponent, genericComponent, mergeDeep, propsFactory } from '@/util'\n\n// Types\nimport type { InjectionKey, JSXComponent, PropType, Ref } from 'vue'\n\nexport type IconValue =\n | string\n | (string | [path: string, opacity: number])[]\n | JSXComponent\nexport const IconValue = [String, Function, Object, Array] as PropType<IconValue>\n\nexport interface IconAliases {\n [name: string]: IconValue\n complete: IconValue\n cancel: IconValue\n close: IconValue\n delete: IconValue\n clear: IconValue\n success: IconValue\n info: IconValue\n warning: IconValue\n error: IconValue\n prev: IconValue\n next: IconValue\n checkboxOn: IconValue\n checkboxOff: IconValue\n checkboxIndeterminate: IconValue\n delimiter: IconValue\n sortAsc: IconValue\n sortDesc: IconValue\n expand: IconValue\n menu: IconValue\n subgroup: IconValue\n dropdown: IconValue\n radioOn: IconValue\n radioOff: IconValue\n edit: IconValue\n ratingEmpty: IconValue\n ratingFull: IconValue\n ratingHalf: IconValue\n loading: IconValue\n first: IconValue\n last: IconValue\n unfold: IconValue\n file: IconValue\n plus: IconValue\n minus: IconValue\n calendar: IconValue\n}\n\nexport interface IconProps {\n tag: string\n icon?: IconValue\n disabled?: Boolean\n}\n\ntype IconComponent = JSXComponent<IconProps>\n\nexport interface IconSet {\n component: IconComponent\n}\n\nexport type InternalIconOptions = {\n defaultSet: string\n aliases: Partial<IconAliases>\n sets: Record<string, IconSet>\n}\n\nexport type IconOptions = Partial<InternalIconOptions>\n\ntype IconInstance = {\n component: IconComponent\n icon?: IconValue\n}\n\nexport const IconSymbol: InjectionKey<InternalIconOptions> = Symbol.for('vuetify:icons')\n\nexport const makeIconProps = propsFactory({\n icon: {\n type: IconValue,\n },\n // Could not remove this and use makeTagProps, types complained because it is not required\n tag: {\n type: String,\n required: true,\n },\n}, 'icon')\n\nexport const VComponentIcon = genericComponent()({\n name: 'VComponentIcon',\n\n props: makeIconProps(),\n\n setup (props, { slots }) {\n return () => {\n const Icon = props.icon as JSXComponent\n return (\n <props.tag>\n { props.icon ? <Icon /> : slots.default?.() }\n </props.tag>\n )\n }\n },\n})\nexport type VComponentIcon = InstanceType<typeof VComponentIcon>\n\nexport const VSvgIcon = defineComponent({\n name: 'VSvgIcon',\n\n inheritAttrs: false,\n\n props: makeIconProps(),\n\n setup (props, { attrs }) {\n return () => {\n return (\n <props.tag { ...attrs } style={ null }>\n <svg\n class=\"v-icon__svg\"\n xmlns=\"http://www.w3.org/2000/svg\"\n viewBox=\"0 0 24 24\"\n role=\"img\"\n aria-hidden=\"true\"\n >\n { Array.isArray(props.icon)\n ? props.icon.map(path => (\n Array.isArray(path)\n ? <path d={ path[0] as string } fill-opacity={ path[1] }></path>\n : <path d={ path as string }></path>\n ))\n : <path d={ props.icon as string }></path>\n }\n </svg>\n </props.tag>\n )\n }\n },\n})\nexport type VSvgIcon = InstanceType<typeof VSvgIcon>\n\nexport const VLigatureIcon = defineComponent({\n name: 'VLigatureIcon',\n\n props: makeIconProps(),\n\n setup (props) {\n return () => {\n return <props.tag>{ props.icon }</props.tag>\n }\n },\n})\nexport type VLigatureIcon = InstanceType<typeof VLigatureIcon>\n\nexport const VClassIcon = defineComponent({\n name: 'VClassIcon',\n\n props: makeIconProps(),\n\n setup (props) {\n return () => {\n return <props.tag class={ props.icon }></props.tag>\n }\n },\n})\nexport type VClassIcon = InstanceType<typeof VClassIcon>\n\nfunction genDefaults (): Record<string, IconSet> {\n return {\n svg: {\n component: VSvgIcon,\n },\n class: {\n component: VClassIcon,\n },\n }\n}\n\n// Composables\nexport function createIcons (options?: IconOptions) {\n const sets = genDefaults()\n const defaultSet = options?.defaultSet ?? 'mdi'\n\n if (defaultSet === 'mdi' && !sets.mdi) {\n sets.mdi = mdi\n }\n\n return mergeDeep({\n defaultSet,\n sets,\n aliases: {\n ...aliases,\n /* eslint-disable max-len */\n vuetify: [\n 'M8.2241 14.2009L12 21L22 3H14.4459L8.2241 14.2009Z',\n ['M7.26303 12.4733L7.00113 12L2 3H12.5261C12.5261 3 12.5261 3 12.5261 3L7.26303 12.4733Z', 0.6],\n ],\n 'vuetify-outline': 'svg:M7.26 12.47 12.53 3H2L7.26 12.47ZM14.45 3 8.22 14.2 12 21 22 3H14.45ZM18.6 5 12 16.88 10.51 14.2 15.62 5ZM7.26 8.35 5.4 5H9.13L7.26 8.35Z',\n 'vuetify-play': [\n 'm6.376 13.184-4.11-7.192C1.505 4.66 2.467 3 4.003 3h8.532l-.953 1.576-.006.01-.396.677c-.429.732-.214 1.507.194 2.015.404.503 1.092.878 1.869.806a3.72 3.72 0 0 1 1.005.022c.276.053.434.143.523.237.138.146.38.635-.25 2.09-.893 1.63-1.553 1.722-1.847 1.677-.213-.033-.468-.158-.756-.406a4.95 4.95 0 0 1-.8-.927c-.39-.564-1.04-.84-1.66-.846-.625-.006-1.316.27-1.693.921l-.478.826-.911 1.506Z',\n ['M9.093 11.552c.046-.079.144-.15.32-.148a.53.53 0 0 1 .43.207c.285.414.636.847 1.046 1.2.405.35.914.662 1.516.754 1.334.205 2.502-.698 3.48-2.495l.014-.028.013-.03c.687-1.574.774-2.852-.005-3.675-.37-.391-.861-.586-1.333-.676a5.243 5.243 0 0 0-1.447-.044c-.173.016-.393-.073-.54-.257-.145-.18-.127-.316-.082-.392l.393-.672L14.287 3h5.71c1.536 0 2.499 1.659 1.737 2.992l-7.997 13.996c-.768 1.344-2.706 1.344-3.473 0l-3.037-5.314 1.377-2.278.004-.006.004-.007.481-.831Z', 0.6],\n ],\n /* eslint-enable max-len */\n },\n }, options) as InternalIconOptions\n}\n\nexport const useIcon = (props: Ref<IconValue | undefined>) => {\n const icons = inject(IconSymbol)\n\n if (!icons) throw new Error('Missing Vuetify Icons provide!')\n\n const iconData = computed<IconInstance>(() => {\n const iconAlias = unref(props)\n\n if (!iconAlias) return { component: VComponentIcon }\n\n let icon: IconValue | undefined = iconAlias\n\n if (typeof icon === 'string') {\n icon = icon.trim()\n\n if (icon.startsWith('$')) {\n icon = icons.aliases?.[icon.slice(1)]\n }\n }\n\n if (!icon) consoleWarn(`Could not find aliased icon \"${iconAlias}\"`)\n\n if (Array.isArray(icon)) {\n return {\n component: VSvgIcon,\n icon,\n }\n } else if (typeof icon !== 'string') {\n return {\n component: VComponentIcon,\n icon,\n }\n }\n\n const iconSetName = Object.keys(icons.sets).find(\n setName => typeof icon === 'string' && icon.startsWith(`${setName}:`)\n )\n\n const iconName = iconSetName ? icon.slice(iconSetName.length + 1) : icon\n const iconSet = icons.sets[iconSetName ?? icons.defaultSet]\n\n return {\n component: iconSet.component,\n icon: iconName,\n }\n })\n\n return { iconData }\n}\n"],"mappings":";AAAA;AAAA,SACSA,OAAO,EAAEC,GAAG,+BAErB;AACA,SAASC,QAAQ,EAAEC,MAAM,EAAEC,KAAK,QAAQ,KAAK;AAAA,SACpCC,WAAW,EAAEC,eAAe,EAAEC,gBAAgB,EAAEC,SAAS,EAAEC,YAAY,6BAEhF;AAOA,OAAO,MAAMC,SAAS,G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,OAAO,CAAClB,IAAI,CAAC,EAAE;MACvB,OAAO;QACLyB,SAAS,EAAEZ,QAAQ;QACnBb;MACF,CAAC;IACH,CAAC,MAAM,IAAI,OAAOA,IAAI,KAAK,QAAQ,EAAE;MACnC,OAAO;QACLyB,SAAS,EAAErB,cAAc;QACzBJ;MACF,CAAC;IACH;IAEA,MAAMwC,WAAW,GAAG9C,MAAM,CAAC+C,IAAI,CAACR,KAAK,CAACJ,IAAI,CAAC,CAACa,IAAI,CAC9CC,OAAO,IAAI,OAAO3C,IAAI,KAAK,QAAQ,IAAIA,IAAI,CAACsC,UAAU,CAAE,GAAEK,OAAQ,GAAE,CACtE,CAAC;IAED,MAAMC,QAAQ,GAAGJ,WAAW,GAAGxC,IAAI,CAACuC,KAAK,CAACC,WAAW,CAACK,MAAM,GAAG,CAAC,CAAC,GAAG7C,IAAI;IACxE,MAAM8C,OAAO,GAAGb,KAAK,CAACJ,IAAI,CAACW,WAAW,IAAIP,KAAK,CAACH,UAAU,CAAC;IAE3D,OAAO;MACLL,SAAS,EAAEqB,OAAO,CAACrB,SAAS;MAC5BzB,IAAI,EAAE4C;IACR,CAAC;EACH,CAAC,CAAC;EAEF,OAAO;IAAET;EAAS,CAAC;AACrB,CAAC","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.8-master.2024-06-
|
19
|
+
export const version = "3.6.8-master.2024-06-11";
|
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
@@ -1,5 +1,55 @@
|
|
1
1
|
import * as vue from 'vue';
|
2
|
-
import { Ref,
|
2
|
+
import { Ref, ComponentPublicInstance, DeepReadonly, JSXComponent, PropType, CSSProperties, App } from 'vue';
|
3
|
+
|
4
|
+
interface LocaleMessages {
|
5
|
+
[key: string]: LocaleMessages | string;
|
6
|
+
}
|
7
|
+
interface LocaleOptions {
|
8
|
+
messages?: LocaleMessages;
|
9
|
+
locale?: string;
|
10
|
+
fallback?: string;
|
11
|
+
adapter?: LocaleInstance;
|
12
|
+
}
|
13
|
+
interface LocaleInstance {
|
14
|
+
name: string;
|
15
|
+
messages: Ref<LocaleMessages>;
|
16
|
+
current: Ref<string>;
|
17
|
+
fallback: Ref<string>;
|
18
|
+
t: (key: string, ...params: unknown[]) => string;
|
19
|
+
n: (value: number) => string;
|
20
|
+
provide: (props: LocaleOptions) => LocaleInstance;
|
21
|
+
}
|
22
|
+
declare function useLocale(): LocaleInstance & RtlInstance;
|
23
|
+
interface RtlOptions {
|
24
|
+
rtl?: Record<string, boolean>;
|
25
|
+
}
|
26
|
+
interface RtlInstance {
|
27
|
+
isRtl: Ref<boolean>;
|
28
|
+
rtl: Ref<Record<string, boolean>>;
|
29
|
+
rtlClasses: Ref<string>;
|
30
|
+
}
|
31
|
+
declare function useRtl(): {
|
32
|
+
isRtl: Ref<boolean>;
|
33
|
+
rtlClasses: Ref<string>;
|
34
|
+
};
|
35
|
+
|
36
|
+
interface GoToInstance {
|
37
|
+
rtl: Ref<boolean>;
|
38
|
+
options: InternalGoToOptions;
|
39
|
+
}
|
40
|
+
interface InternalGoToOptions {
|
41
|
+
container: ComponentPublicInstance | HTMLElement | string;
|
42
|
+
duration: number;
|
43
|
+
layout: boolean;
|
44
|
+
offset: number;
|
45
|
+
easing: string | ((t: number) => number);
|
46
|
+
patterns: Record<string, (t: number) => number>;
|
47
|
+
}
|
48
|
+
type GoToOptions = Partial<InternalGoToOptions>;
|
49
|
+
declare function useGoTo(_options?: GoToOptions): {
|
50
|
+
(target: ComponentPublicInstance | HTMLElement | string | number, options?: Partial<GoToOptions>): Promise<unknown>;
|
51
|
+
horizontal(target: ComponentPublicInstance | HTMLElement | string | number, options?: Partial<GoToOptions>): Promise<unknown>;
|
52
|
+
};
|
3
53
|
|
4
54
|
interface DateAdapter<T = unknown> {
|
5
55
|
date(value?: any): T | null;
|
@@ -46,38 +96,6 @@ interface DateAdapter<T = unknown> {
|
|
46
96
|
setMinutes(date: T, minutes: number): T;
|
47
97
|
}
|
48
98
|
|
49
|
-
interface LocaleMessages {
|
50
|
-
[key: string]: LocaleMessages | string;
|
51
|
-
}
|
52
|
-
interface LocaleOptions {
|
53
|
-
messages?: LocaleMessages;
|
54
|
-
locale?: string;
|
55
|
-
fallback?: string;
|
56
|
-
adapter?: LocaleInstance;
|
57
|
-
}
|
58
|
-
interface LocaleInstance {
|
59
|
-
name: string;
|
60
|
-
messages: Ref<LocaleMessages>;
|
61
|
-
current: Ref<string>;
|
62
|
-
fallback: Ref<string>;
|
63
|
-
t: (key: string, ...params: unknown[]) => string;
|
64
|
-
n: (value: number) => string;
|
65
|
-
provide: (props: LocaleOptions) => LocaleInstance;
|
66
|
-
}
|
67
|
-
declare function useLocale(): LocaleInstance & RtlInstance;
|
68
|
-
interface RtlOptions {
|
69
|
-
rtl?: Record<string, boolean>;
|
70
|
-
}
|
71
|
-
interface RtlInstance {
|
72
|
-
isRtl: Ref<boolean>;
|
73
|
-
rtl: Ref<Record<string, boolean>>;
|
74
|
-
rtlClasses: Ref<string>;
|
75
|
-
}
|
76
|
-
declare function useRtl(): {
|
77
|
-
isRtl: Ref<boolean>;
|
78
|
-
rtlClasses: Ref<string>;
|
79
|
-
};
|
80
|
-
|
81
99
|
interface DateInstance extends DateModule.InternalAdapter {
|
82
100
|
locale?: any;
|
83
101
|
}
|
@@ -157,6 +175,62 @@ interface ThemeInstance {
|
|
157
175
|
}
|
158
176
|
declare function useTheme(): ThemeInstance;
|
159
177
|
|
178
|
+
type IconValue = string | (string | [path: string, opacity: number])[] | JSXComponent;
|
179
|
+
declare const IconValue: PropType<IconValue>;
|
180
|
+
interface IconAliases {
|
181
|
+
[name: string]: IconValue;
|
182
|
+
complete: IconValue;
|
183
|
+
cancel: IconValue;
|
184
|
+
close: IconValue;
|
185
|
+
delete: IconValue;
|
186
|
+
clear: IconValue;
|
187
|
+
success: IconValue;
|
188
|
+
info: IconValue;
|
189
|
+
warning: IconValue;
|
190
|
+
error: IconValue;
|
191
|
+
prev: IconValue;
|
192
|
+
next: IconValue;
|
193
|
+
checkboxOn: IconValue;
|
194
|
+
checkboxOff: IconValue;
|
195
|
+
checkboxIndeterminate: IconValue;
|
196
|
+
delimiter: IconValue;
|
197
|
+
sortAsc: IconValue;
|
198
|
+
sortDesc: IconValue;
|
199
|
+
expand: IconValue;
|
200
|
+
menu: IconValue;
|
201
|
+
subgroup: IconValue;
|
202
|
+
dropdown: IconValue;
|
203
|
+
radioOn: IconValue;
|
204
|
+
radioOff: IconValue;
|
205
|
+
edit: IconValue;
|
206
|
+
ratingEmpty: IconValue;
|
207
|
+
ratingFull: IconValue;
|
208
|
+
ratingHalf: IconValue;
|
209
|
+
loading: IconValue;
|
210
|
+
first: IconValue;
|
211
|
+
last: IconValue;
|
212
|
+
unfold: IconValue;
|
213
|
+
file: IconValue;
|
214
|
+
plus: IconValue;
|
215
|
+
minus: IconValue;
|
216
|
+
calendar: IconValue;
|
217
|
+
}
|
218
|
+
interface IconProps {
|
219
|
+
tag: string;
|
220
|
+
icon?: IconValue;
|
221
|
+
disabled?: Boolean;
|
222
|
+
}
|
223
|
+
type IconComponent = JSXComponent<IconProps>;
|
224
|
+
interface IconSet {
|
225
|
+
component: IconComponent;
|
226
|
+
}
|
227
|
+
type InternalIconOptions = {
|
228
|
+
defaultSet: string;
|
229
|
+
aliases: Partial<IconAliases>;
|
230
|
+
sets: Record<string, IconSet>;
|
231
|
+
};
|
232
|
+
type IconOptions = Partial<InternalIconOptions>;
|
233
|
+
|
160
234
|
declare const breakpoints: readonly ["sm", "md", "lg", "xl", "xxl"];
|
161
235
|
type Breakpoint = typeof breakpoints[number];
|
162
236
|
type DisplayBreakpoint = 'xs' | Breakpoint;
|
@@ -252,78 +326,6 @@ type DefaultsOptions = Partial<DefaultsInstance>;
|
|
252
326
|
declare function useDefaults<T extends Record<string, any>>(props: T, name?: string): T;
|
253
327
|
declare function useDefaults(props?: undefined, name?: string): Record<string, any>;
|
254
328
|
|
255
|
-
interface GoToInstance {
|
256
|
-
rtl: Ref<boolean>;
|
257
|
-
options: GoToOptions;
|
258
|
-
}
|
259
|
-
interface GoToOptions {
|
260
|
-
container: ComponentPublicInstance | HTMLElement | string;
|
261
|
-
duration: number;
|
262
|
-
layout: boolean;
|
263
|
-
offset: number;
|
264
|
-
easing: string | ((t: number) => number);
|
265
|
-
patterns: Record<string, (t: number) => number>;
|
266
|
-
}
|
267
|
-
declare function useGoTo(_options?: Partial<GoToOptions>): {
|
268
|
-
(target: ComponentPublicInstance | HTMLElement | string | number, options?: Partial<GoToOptions>): Promise<unknown>;
|
269
|
-
horizontal(target: ComponentPublicInstance | HTMLElement | string | number, options?: Partial<GoToOptions>): Promise<unknown>;
|
270
|
-
};
|
271
|
-
|
272
|
-
type IconValue = string | (string | [path: string, opacity: number])[] | JSXComponent;
|
273
|
-
declare const IconValue: PropType<IconValue>;
|
274
|
-
interface IconAliases {
|
275
|
-
[name: string]: IconValue;
|
276
|
-
complete: IconValue;
|
277
|
-
cancel: IconValue;
|
278
|
-
close: IconValue;
|
279
|
-
delete: IconValue;
|
280
|
-
clear: IconValue;
|
281
|
-
success: IconValue;
|
282
|
-
info: IconValue;
|
283
|
-
warning: IconValue;
|
284
|
-
error: IconValue;
|
285
|
-
prev: IconValue;
|
286
|
-
next: IconValue;
|
287
|
-
checkboxOn: IconValue;
|
288
|
-
checkboxOff: IconValue;
|
289
|
-
checkboxIndeterminate: IconValue;
|
290
|
-
delimiter: IconValue;
|
291
|
-
sortAsc: IconValue;
|
292
|
-
sortDesc: IconValue;
|
293
|
-
expand: IconValue;
|
294
|
-
menu: IconValue;
|
295
|
-
subgroup: IconValue;
|
296
|
-
dropdown: IconValue;
|
297
|
-
radioOn: IconValue;
|
298
|
-
radioOff: IconValue;
|
299
|
-
edit: IconValue;
|
300
|
-
ratingEmpty: IconValue;
|
301
|
-
ratingFull: IconValue;
|
302
|
-
ratingHalf: IconValue;
|
303
|
-
loading: IconValue;
|
304
|
-
first: IconValue;
|
305
|
-
last: IconValue;
|
306
|
-
unfold: IconValue;
|
307
|
-
file: IconValue;
|
308
|
-
plus: IconValue;
|
309
|
-
minus: IconValue;
|
310
|
-
calendar: IconValue;
|
311
|
-
}
|
312
|
-
interface IconProps {
|
313
|
-
tag: string;
|
314
|
-
icon?: IconValue;
|
315
|
-
disabled?: Boolean;
|
316
|
-
}
|
317
|
-
type IconComponent = JSXComponent<IconProps>;
|
318
|
-
interface IconSet {
|
319
|
-
component: IconComponent;
|
320
|
-
}
|
321
|
-
type IconOptions = {
|
322
|
-
defaultSet?: string;
|
323
|
-
aliases?: Partial<IconAliases>;
|
324
|
-
sets?: Record<string, IconSet>;
|
325
|
-
};
|
326
|
-
|
327
329
|
type Position = 'top' | 'left' | 'right' | 'bottom';
|
328
330
|
interface Layer {
|
329
331
|
top: number;
|
@@ -377,7 +379,7 @@ declare function createVuetify(vuetify?: VuetifyOptions): {
|
|
377
379
|
theme: ThemeInstance & {
|
378
380
|
install: (app: App<any>) => void;
|
379
381
|
};
|
380
|
-
icons:
|
382
|
+
icons: InternalIconOptions;
|
381
383
|
locale: {
|
382
384
|
isRtl: vue.Ref<boolean>;
|
383
385
|
rtl: vue.Ref<Record<string, boolean>>;
|
@@ -438,10 +440,7 @@ declare function createVuetify(vuetify?: VuetifyOptions): {
|
|
438
440
|
setMinutes: (date: unknown, minutes: number) => unknown;
|
439
441
|
};
|
440
442
|
};
|
441
|
-
goTo:
|
442
|
-
rtl: vue.Ref<boolean>;
|
443
|
-
options: Record<string, any>;
|
444
|
-
};
|
443
|
+
goTo: GoToInstance;
|
445
444
|
};
|
446
445
|
declare namespace createVuetify {
|
447
446
|
var version: string;
|
@@ -494,40 +493,37 @@ declare module '@vue/runtime-core' {
|
|
494
493
|
|
495
494
|
export interface GlobalComponents {
|
496
495
|
VApp: typeof import('vuetify/components')['VApp']
|
496
|
+
VAlert: typeof import('vuetify/components')['VAlert']
|
497
|
+
VAlertTitle: typeof import('vuetify/components')['VAlertTitle']
|
498
|
+
VAvatar: typeof import('vuetify/components')['VAvatar']
|
499
|
+
VAutocomplete: typeof import('vuetify/components')['VAutocomplete']
|
497
500
|
VAppBar: typeof import('vuetify/components')['VAppBar']
|
498
501
|
VAppBarNavIcon: typeof import('vuetify/components')['VAppBarNavIcon']
|
499
502
|
VAppBarTitle: typeof import('vuetify/components')['VAppBarTitle']
|
500
|
-
VAlert: typeof import('vuetify/components')['VAlert']
|
501
|
-
VAlertTitle: typeof import('vuetify/components')['VAlertTitle']
|
502
503
|
VBadge: typeof import('vuetify/components')['VBadge']
|
503
|
-
VAutocomplete: typeof import('vuetify/components')['VAutocomplete']
|
504
|
-
VAvatar: typeof import('vuetify/components')['VAvatar']
|
505
504
|
VBanner: typeof import('vuetify/components')['VBanner']
|
506
505
|
VBannerActions: typeof import('vuetify/components')['VBannerActions']
|
507
506
|
VBannerText: typeof import('vuetify/components')['VBannerText']
|
508
|
-
VBottomSheet: typeof import('vuetify/components')['VBottomSheet']
|
509
507
|
VBreadcrumbs: typeof import('vuetify/components')['VBreadcrumbs']
|
510
508
|
VBreadcrumbsItem: typeof import('vuetify/components')['VBreadcrumbsItem']
|
511
509
|
VBreadcrumbsDivider: typeof import('vuetify/components')['VBreadcrumbsDivider']
|
512
|
-
|
513
|
-
VBtnGroup: typeof import('vuetify/components')['VBtnGroup']
|
510
|
+
VBottomSheet: typeof import('vuetify/components')['VBottomSheet']
|
514
511
|
VBtn: typeof import('vuetify/components')['VBtn']
|
512
|
+
VBottomNavigation: typeof import('vuetify/components')['VBottomNavigation']
|
515
513
|
VBtnToggle: typeof import('vuetify/components')['VBtnToggle']
|
516
514
|
VCarousel: typeof import('vuetify/components')['VCarousel']
|
517
515
|
VCarouselItem: typeof import('vuetify/components')['VCarouselItem']
|
516
|
+
VBtnGroup: typeof import('vuetify/components')['VBtnGroup']
|
517
|
+
VChip: typeof import('vuetify/components')['VChip']
|
518
|
+
VChipGroup: typeof import('vuetify/components')['VChipGroup']
|
519
|
+
VColorPicker: typeof import('vuetify/components')['VColorPicker']
|
518
520
|
VCard: typeof import('vuetify/components')['VCard']
|
519
521
|
VCardActions: typeof import('vuetify/components')['VCardActions']
|
520
522
|
VCardItem: typeof import('vuetify/components')['VCardItem']
|
521
523
|
VCardSubtitle: typeof import('vuetify/components')['VCardSubtitle']
|
522
524
|
VCardText: typeof import('vuetify/components')['VCardText']
|
523
525
|
VCardTitle: typeof import('vuetify/components')['VCardTitle']
|
524
|
-
VCheckbox: typeof import('vuetify/components')['VCheckbox']
|
525
|
-
VCheckboxBtn: typeof import('vuetify/components')['VCheckboxBtn']
|
526
|
-
VChipGroup: typeof import('vuetify/components')['VChipGroup']
|
527
|
-
VChip: typeof import('vuetify/components')['VChip']
|
528
526
|
VCombobox: typeof import('vuetify/components')['VCombobox']
|
529
|
-
VCode: typeof import('vuetify/components')['VCode']
|
530
|
-
VCounter: typeof import('vuetify/components')['VCounter']
|
531
527
|
VDataTable: typeof import('vuetify/components')['VDataTable']
|
532
528
|
VDataTableHeaders: typeof import('vuetify/components')['VDataTableHeaders']
|
533
529
|
VDataTableFooter: typeof import('vuetify/components')['VDataTableFooter']
|
@@ -535,25 +531,33 @@ declare module '@vue/runtime-core' {
|
|
535
531
|
VDataTableRow: typeof import('vuetify/components')['VDataTableRow']
|
536
532
|
VDataTableVirtual: typeof import('vuetify/components')['VDataTableVirtual']
|
537
533
|
VDataTableServer: typeof import('vuetify/components')['VDataTableServer']
|
538
|
-
|
534
|
+
VCheckbox: typeof import('vuetify/components')['VCheckbox']
|
535
|
+
VCheckboxBtn: typeof import('vuetify/components')['VCheckboxBtn']
|
536
|
+
VCode: typeof import('vuetify/components')['VCode']
|
537
|
+
VCounter: typeof import('vuetify/components')['VCounter']
|
538
|
+
VDialog: typeof import('vuetify/components')['VDialog']
|
539
539
|
VDatePicker: typeof import('vuetify/components')['VDatePicker']
|
540
540
|
VDatePickerControls: typeof import('vuetify/components')['VDatePickerControls']
|
541
541
|
VDatePickerHeader: typeof import('vuetify/components')['VDatePickerHeader']
|
542
542
|
VDatePickerMonth: typeof import('vuetify/components')['VDatePickerMonth']
|
543
543
|
VDatePickerMonths: typeof import('vuetify/components')['VDatePickerMonths']
|
544
544
|
VDatePickerYears: typeof import('vuetify/components')['VDatePickerYears']
|
545
|
-
VDialog: typeof import('vuetify/components')['VDialog']
|
546
|
-
VEmptyState: typeof import('vuetify/components')['VEmptyState']
|
547
|
-
VDivider: typeof import('vuetify/components')['VDivider']
|
548
|
-
VFab: typeof import('vuetify/components')['VFab']
|
549
|
-
VField: typeof import('vuetify/components')['VField']
|
550
|
-
VFieldLabel: typeof import('vuetify/components')['VFieldLabel']
|
551
|
-
VFooter: typeof import('vuetify/components')['VFooter']
|
552
545
|
VExpansionPanels: typeof import('vuetify/components')['VExpansionPanels']
|
553
546
|
VExpansionPanel: typeof import('vuetify/components')['VExpansionPanel']
|
554
547
|
VExpansionPanelText: typeof import('vuetify/components')['VExpansionPanelText']
|
555
548
|
VExpansionPanelTitle: typeof import('vuetify/components')['VExpansionPanelTitle']
|
549
|
+
VDivider: typeof import('vuetify/components')['VDivider']
|
550
|
+
VEmptyState: typeof import('vuetify/components')['VEmptyState']
|
551
|
+
VField: typeof import('vuetify/components')['VField']
|
552
|
+
VFieldLabel: typeof import('vuetify/components')['VFieldLabel']
|
553
|
+
VFab: typeof import('vuetify/components')['VFab']
|
556
554
|
VFileInput: typeof import('vuetify/components')['VFileInput']
|
555
|
+
VIcon: typeof import('vuetify/components')['VIcon']
|
556
|
+
VComponentIcon: typeof import('vuetify/components')['VComponentIcon']
|
557
|
+
VSvgIcon: typeof import('vuetify/components')['VSvgIcon']
|
558
|
+
VLigatureIcon: typeof import('vuetify/components')['VLigatureIcon']
|
559
|
+
VClassIcon: typeof import('vuetify/components')['VClassIcon']
|
560
|
+
VFooter: typeof import('vuetify/components')['VFooter']
|
557
561
|
VImg: typeof import('vuetify/components')['VImg']
|
558
562
|
VInfiniteScroll: typeof import('vuetify/components')['VInfiniteScroll']
|
559
563
|
VInput: typeof import('vuetify/components')['VInput']
|
@@ -561,7 +565,6 @@ declare module '@vue/runtime-core' {
|
|
561
565
|
VItem: typeof import('vuetify/components')['VItem']
|
562
566
|
VLabel: typeof import('vuetify/components')['VLabel']
|
563
567
|
VKbd: typeof import('vuetify/components')['VKbd']
|
564
|
-
VMain: typeof import('vuetify/components')['VMain']
|
565
568
|
VList: typeof import('vuetify/components')['VList']
|
566
569
|
VListGroup: typeof import('vuetify/components')['VListGroup']
|
567
570
|
VListImg: typeof import('vuetify/components')['VListImg']
|
@@ -571,53 +574,49 @@ declare module '@vue/runtime-core' {
|
|
571
574
|
VListItemSubtitle: typeof import('vuetify/components')['VListItemSubtitle']
|
572
575
|
VListItemTitle: typeof import('vuetify/components')['VListItemTitle']
|
573
576
|
VListSubheader: typeof import('vuetify/components')['VListSubheader']
|
574
|
-
VMessages: typeof import('vuetify/components')['VMessages']
|
575
577
|
VMenu: typeof import('vuetify/components')['VMenu']
|
578
|
+
VMessages: typeof import('vuetify/components')['VMessages']
|
576
579
|
VNavigationDrawer: typeof import('vuetify/components')['VNavigationDrawer']
|
580
|
+
VPagination: typeof import('vuetify/components')['VPagination']
|
577
581
|
VOtpInput: typeof import('vuetify/components')['VOtpInput']
|
582
|
+
VMain: typeof import('vuetify/components')['VMain']
|
578
583
|
VOverlay: typeof import('vuetify/components')['VOverlay']
|
579
|
-
VPagination: typeof import('vuetify/components')['VPagination']
|
580
584
|
VProgressCircular: typeof import('vuetify/components')['VProgressCircular']
|
581
585
|
VProgressLinear: typeof import('vuetify/components')['VProgressLinear']
|
582
586
|
VRadioGroup: typeof import('vuetify/components')['VRadioGroup']
|
583
587
|
VRating: typeof import('vuetify/components')['VRating']
|
584
588
|
VSelect: typeof import('vuetify/components')['VSelect']
|
585
589
|
VSelectionControlGroup: typeof import('vuetify/components')['VSelectionControlGroup']
|
586
|
-
VSelectionControl: typeof import('vuetify/components')['VSelectionControl']
|
587
590
|
VSheet: typeof import('vuetify/components')['VSheet']
|
588
591
|
VSkeletonLoader: typeof import('vuetify/components')['VSkeletonLoader']
|
589
592
|
VSlideGroup: typeof import('vuetify/components')['VSlideGroup']
|
590
593
|
VSlideGroupItem: typeof import('vuetify/components')['VSlideGroupItem']
|
591
594
|
VSlider: typeof import('vuetify/components')['VSlider']
|
595
|
+
VSelectionControl: typeof import('vuetify/components')['VSelectionControl']
|
592
596
|
VSnackbar: typeof import('vuetify/components')['VSnackbar']
|
593
|
-
VIcon: typeof import('vuetify/components')['VIcon']
|
594
|
-
VComponentIcon: typeof import('vuetify/components')['VComponentIcon']
|
595
|
-
VSvgIcon: typeof import('vuetify/components')['VSvgIcon']
|
596
|
-
VLigatureIcon: typeof import('vuetify/components')['VLigatureIcon']
|
597
|
-
VClassIcon: typeof import('vuetify/components')['VClassIcon']
|
598
|
-
VSwitch: typeof import('vuetify/components')['VSwitch']
|
599
597
|
VStepper: typeof import('vuetify/components')['VStepper']
|
600
598
|
VStepperActions: typeof import('vuetify/components')['VStepperActions']
|
601
599
|
VStepperHeader: typeof import('vuetify/components')['VStepperHeader']
|
602
600
|
VStepperItem: typeof import('vuetify/components')['VStepperItem']
|
603
601
|
VStepperWindow: typeof import('vuetify/components')['VStepperWindow']
|
604
602
|
VStepperWindowItem: typeof import('vuetify/components')['VStepperWindowItem']
|
605
|
-
|
603
|
+
VSwitch: typeof import('vuetify/components')['VSwitch']
|
606
604
|
VTable: typeof import('vuetify/components')['VTable']
|
605
|
+
VSystemBar: typeof import('vuetify/components')['VSystemBar']
|
607
606
|
VTab: typeof import('vuetify/components')['VTab']
|
608
607
|
VTabs: typeof import('vuetify/components')['VTabs']
|
609
608
|
VTabsWindow: typeof import('vuetify/components')['VTabsWindow']
|
610
609
|
VTabsWindowItem: typeof import('vuetify/components')['VTabsWindowItem']
|
611
|
-
VTextarea: typeof import('vuetify/components')['VTextarea']
|
612
610
|
VTextField: typeof import('vuetify/components')['VTextField']
|
613
611
|
VTimeline: typeof import('vuetify/components')['VTimeline']
|
614
612
|
VTimelineItem: typeof import('vuetify/components')['VTimelineItem']
|
615
613
|
VToolbar: typeof import('vuetify/components')['VToolbar']
|
616
614
|
VToolbarTitle: typeof import('vuetify/components')['VToolbarTitle']
|
617
615
|
VToolbarItems: typeof import('vuetify/components')['VToolbarItems']
|
618
|
-
|
616
|
+
VTextarea: typeof import('vuetify/components')['VTextarea']
|
619
617
|
VWindow: typeof import('vuetify/components')['VWindow']
|
620
618
|
VWindowItem: typeof import('vuetify/components')['VWindowItem']
|
619
|
+
VTooltip: typeof import('vuetify/components')['VTooltip']
|
621
620
|
VConfirmEdit: typeof import('vuetify/components')['VConfirmEdit']
|
622
621
|
VDataIterator: typeof import('vuetify/components')['VDataIterator']
|
623
622
|
VDefaultsProvider: typeof import('vuetify/components')['VDefaultsProvider']
|
@@ -627,15 +626,16 @@ declare module '@vue/runtime-core' {
|
|
627
626
|
VRow: typeof import('vuetify/components')['VRow']
|
628
627
|
VSpacer: typeof import('vuetify/components')['VSpacer']
|
629
628
|
VHover: typeof import('vuetify/components')['VHover']
|
629
|
+
VLocaleProvider: typeof import('vuetify/components')['VLocaleProvider']
|
630
630
|
VLayout: typeof import('vuetify/components')['VLayout']
|
631
631
|
VLayoutItem: typeof import('vuetify/components')['VLayoutItem']
|
632
|
-
VLocaleProvider: typeof import('vuetify/components')['VLocaleProvider']
|
633
632
|
VLazy: typeof import('vuetify/components')['VLazy']
|
634
|
-
VNoSsr: typeof import('vuetify/components')['VNoSsr']
|
635
633
|
VParallax: typeof import('vuetify/components')['VParallax']
|
636
|
-
|
634
|
+
VNoSsr: typeof import('vuetify/components')['VNoSsr']
|
637
635
|
VRadio: typeof import('vuetify/components')['VRadio']
|
638
636
|
VResponsive: typeof import('vuetify/components')['VResponsive']
|
637
|
+
VRangeSlider: typeof import('vuetify/components')['VRangeSlider']
|
638
|
+
VSparkline: typeof import('vuetify/components')['VSparkline']
|
639
639
|
VSpeedDial: typeof import('vuetify/components')['VSpeedDial']
|
640
640
|
VThemeProvider: typeof import('vuetify/components')['VThemeProvider']
|
641
641
|
VValidation: typeof import('vuetify/components')['VValidation']
|
@@ -656,22 +656,21 @@ declare module '@vue/runtime-core' {
|
|
656
656
|
VExpandTransition: typeof import('vuetify/components')['VExpandTransition']
|
657
657
|
VExpandXTransition: typeof import('vuetify/components')['VExpandXTransition']
|
658
658
|
VDialogTransition: typeof import('vuetify/components')['VDialogTransition']
|
659
|
-
VSparkline: typeof import('vuetify/components')['VSparkline']
|
660
659
|
VCalendar: typeof import('vuetify/labs/components')['VCalendar']
|
661
660
|
VCalendarDay: typeof import('vuetify/labs/components')['VCalendarDay']
|
662
661
|
VCalendarHeader: typeof import('vuetify/labs/components')['VCalendarHeader']
|
663
662
|
VCalendarInterval: typeof import('vuetify/labs/components')['VCalendarInterval']
|
664
663
|
VCalendarIntervalEvent: typeof import('vuetify/labs/components')['VCalendarIntervalEvent']
|
665
664
|
VCalendarMonthDay: typeof import('vuetify/labs/components')['VCalendarMonthDay']
|
665
|
+
VStepperVertical: typeof import('vuetify/labs/components')['VStepperVertical']
|
666
|
+
VStepperVerticalItem: typeof import('vuetify/labs/components')['VStepperVerticalItem']
|
667
|
+
VStepperVerticalActions: typeof import('vuetify/labs/components')['VStepperVerticalActions']
|
668
|
+
VNumberInput: typeof import('vuetify/labs/components')['VNumberInput']
|
666
669
|
VPicker: typeof import('vuetify/labs/components')['VPicker']
|
667
670
|
VPickerTitle: typeof import('vuetify/labs/components')['VPickerTitle']
|
668
|
-
VNumberInput: typeof import('vuetify/labs/components')['VNumberInput']
|
669
671
|
VTimePicker: typeof import('vuetify/labs/components')['VTimePicker']
|
670
672
|
VTimePickerClock: typeof import('vuetify/labs/components')['VTimePickerClock']
|
671
673
|
VTimePickerControls: typeof import('vuetify/labs/components')['VTimePickerControls']
|
672
|
-
VStepperVertical: typeof import('vuetify/labs/components')['VStepperVertical']
|
673
|
-
VStepperVerticalItem: typeof import('vuetify/labs/components')['VStepperVerticalItem']
|
674
|
-
VStepperVerticalActions: typeof import('vuetify/labs/components')['VStepperVerticalActions']
|
675
674
|
VTreeview: typeof import('vuetify/labs/components')['VTreeview']
|
676
675
|
VTreeviewItem: typeof import('vuetify/labs/components')['VTreeviewItem']
|
677
676
|
VTreeviewGroup: typeof import('vuetify/labs/components')['VTreeviewGroup']
|
@@ -5,13 +5,13 @@ interface FilterPropsOptions<PropsOptions extends Readonly<ComponentPropsOptions
|
|
5
5
|
filterProps<T extends Partial<Props>, U extends Exclude<keyof Props, Exclude<keyof Props, keyof T>>>(props: T): Partial<Pick<T, U>>;
|
6
6
|
}
|
7
7
|
|
8
|
+
type IconValue = string | (string | [path: string, opacity: number])[] | JSXComponent;
|
9
|
+
declare const IconValue: PropType<IconValue>;
|
10
|
+
|
8
11
|
declare const breakpoints: readonly ["sm", "md", "lg", "xl", "xxl"];
|
9
12
|
type Breakpoint = typeof breakpoints[number];
|
10
13
|
type DisplayBreakpoint = 'xs' | Breakpoint;
|
11
14
|
|
12
|
-
type IconValue = string | (string | [path: string, opacity: number])[] | JSXComponent;
|
13
|
-
declare const IconValue: PropType<IconValue>;
|
14
|
-
|
15
15
|
type StepperItem = string | Record<string, any>;
|
16
16
|
type StepperItemSlot = {
|
17
17
|
canEdit: boolean;
|