@vuetify/nightly 3.8.7-dev.2025-05-27 → 3.8.7-dev.2025-06-03
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -3
- package/dist/json/attributes.json +3213 -3189
- package/dist/json/importMap-labs.json +20 -20
- package/dist/json/importMap.json +176 -176
- package/dist/json/tags.json +6 -0
- package/dist/json/web-types.json +5962 -5902
- package/dist/vuetify-labs.cjs +52 -19
- package/dist/vuetify-labs.css +5727 -5721
- package/dist/vuetify-labs.d.ts +677 -402
- package/dist/vuetify-labs.esm.js +52 -19
- package/dist/vuetify-labs.esm.js.map +1 -1
- package/dist/vuetify-labs.js +52 -19
- package/dist/vuetify-labs.min.css +2 -2
- package/dist/vuetify.cjs +52 -19
- package/dist/vuetify.cjs.map +1 -1
- package/dist/vuetify.css +4233 -4227
- package/dist/vuetify.d.ts +621 -378
- package/dist/vuetify.esm.js +52 -19
- package/dist/vuetify.esm.js.map +1 -1
- package/dist/vuetify.js +52 -19
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +2 -2
- package/dist/vuetify.min.js +29 -24
- package/dist/vuetify.min.js.map +1 -1
- package/lib/components/VAppBar/VAppBar.d.ts +15 -3
- package/lib/components/VAppBar/VAppBarNavIcon.d.ts +20 -10
- package/lib/components/VAutocomplete/VAutocomplete.d.ts +21 -7
- package/lib/components/VAutocomplete/VAutocomplete.js +2 -1
- package/lib/components/VAutocomplete/VAutocomplete.js.map +1 -1
- package/lib/components/VBtn/VBtn.d.ts +20 -10
- package/lib/components/VCard/VCard.d.ts +20 -10
- package/lib/components/VCheckbox/VCheckbox.d.ts +20 -10
- package/lib/components/VCheckbox/VCheckboxBtn.d.ts +20 -10
- package/lib/components/VChip/VChip.d.ts +20 -10
- package/lib/components/VCombobox/VCombobox.d.ts +21 -7
- package/lib/components/VCombobox/VCombobox.js +2 -1
- package/lib/components/VCombobox/VCombobox.js.map +1 -1
- package/lib/components/VDataTable/VDataTable.d.ts +42 -0
- package/lib/components/VDataTable/VDataTableServer.d.ts +29 -0
- package/lib/components/VDataTable/VDataTableVirtual.d.ts +29 -0
- package/lib/components/VExpansionPanel/VExpansionPanel.d.ts +20 -10
- package/lib/components/VExpansionPanel/VExpansionPanelTitle.d.ts +20 -10
- package/lib/components/VExpansionPanel/VExpansionPanels.d.ts +20 -10
- package/lib/components/VFab/VFab.d.ts +20 -10
- package/lib/components/VList/VList.d.ts +13 -0
- package/lib/components/VList/VList.js +4 -1
- package/lib/components/VList/VList.js.map +1 -1
- package/lib/components/VList/VListItem.d.ts +23 -10
- package/lib/components/VList/VListItem.js +7 -3
- package/lib/components/VList/VListItem.js.map +1 -1
- package/lib/components/VList/list.d.ts +9 -2
- package/lib/components/VList/list.js +7 -0
- package/lib/components/VList/list.js.map +1 -1
- package/lib/components/VRadio/VRadio.d.ts +20 -10
- package/lib/components/VRadioGroup/VRadioGroup.d.ts +20 -10
- package/lib/components/VSelect/VSelect.d.ts +33 -11
- package/lib/components/VSelectionControl/VSelectionControl.d.ts +20 -10
- package/lib/components/VSelectionControlGroup/VSelectionControlGroup.d.ts +28 -14
- package/lib/components/VSlider/VSliderThumb.d.ts +20 -10
- package/lib/components/VStepper/VStepperItem.d.ts +28 -14
- package/lib/components/VSwitch/VSwitch.d.ts +20 -10
- package/lib/components/VTable/VTable.css +6 -0
- package/lib/components/VTable/VTable.d.ts +55 -24
- package/lib/components/VTable/VTable.js +9 -2
- package/lib/components/VTable/VTable.js.map +1 -1
- package/lib/components/VTable/VTable.sass +14 -0
- package/lib/components/VTable/_variables.scss +1 -0
- package/lib/components/VTabs/VTab.d.ts +56 -28
- package/lib/components/VToolbar/VToolbar.d.ts +15 -3
- package/lib/components/VToolbar/VToolbar.js +6 -3
- package/lib/components/VToolbar/VToolbar.js.map +1 -1
- package/lib/composables/date/DateAdapter.d.ts +2 -2
- package/lib/composables/date/DateAdapter.js.map +1 -1
- package/lib/composables/date/adapters/string.d.ts +54 -0
- package/lib/composables/date/adapters/string.js +153 -0
- package/lib/composables/date/adapters/string.js.map +1 -0
- package/lib/composables/date/date.d.ts +2 -2
- package/lib/directives/ripple/index.d.ts +2 -1
- package/lib/directives/ripple/index.js +12 -7
- package/lib/directives/ripple/index.js.map +1 -1
- package/lib/entry-bundler.d.ts +2 -2
- package/lib/entry-bundler.js +1 -1
- package/lib/framework.d.ts +75 -65
- package/lib/framework.js +1 -1
- package/lib/labs/VFileUpload/VFileUploadItem.d.ts +20 -10
- package/lib/labs/VStepperVertical/VStepperVertical.d.ts +20 -10
- package/lib/labs/VStepperVertical/VStepperVerticalItem.d.ts +20 -10
- package/lib/labs/VTreeview/VTreeview.d.ts +13 -0
- package/lib/labs/VTreeview/VTreeviewItem.d.ts +20 -10
- package/lib/labs/entry-bundler.d.ts +2 -2
- package/package.json +1 -1
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"VListItem.js","names":["VListItemSubtitle","VListItemTitle","VAvatar","VDefaultsProvider","VIcon","useList","makeBorderProps","useBorder","makeComponentProps","makeDensityProps","useDensity","makeDimensionProps","useDimension","makeElevationProps","useElevation","IconValue","useNestedItem","makeRoundedProps","useRounded","makeRouterProps","useLink","makeTagProps","makeThemeProps","provideTheme","genOverlays","makeVariantProps","useVariant","vRipple","computed","onBeforeMount","toDisplayString","toRef","watch","deprecate","EventProp","genericComponent","propsFactory","useRender","makeVListItemProps","active","type","Boolean","default","undefined","activeClass","String","activeColor","appendAvatar","appendIcon","baseColor","disabled","lines","link","nav","prependAvatar","prependIcon","ripple","Object","slim","subtitle","Number","title","value","onClick","onClickOnce","variant","VListItem","name","directives","props","emits","click","e","setup","_ref","attrs","slots","emit","id","href","activate","isActivated","select","isOpen","isSelected","isIndeterminate","isGroupActivator","root","parent","openOnSelect","uid","list","isActive","activatable","isLink","isSelectable","selectable","isClickable","roundedProps","rounded","color","variantProps","val","handleActiveLink","open","themeClasses","borderClasses","colorClasses","colorStyles","variantClasses","densityClasses","dimensionStyles","elevationClasses","roundedClasses","lineClasses","slotProps","includes","target","tagName","navigate","onKeyDown","key","preventDefault","dispatchEvent","MouseEvent","Tag","tag","hasTitle","hasSubtitle","hasAppendMedia","hasAppend","append","hasPrependMedia","hasPrepend","prepend","updateHasPrepend","_withDirectives","_createVNode","_mergeProps","class","style","linkProps","_createElementVNode","_Fragment","density","image","icon","VListItemAction","start","end"],"sources":["../../../src/components/VList/VListItem.tsx"],"sourcesContent":["// Styles\nimport './VListItem.sass'\n\n// Components\nimport { VListItemSubtitle } from './VListItemSubtitle'\nimport { VListItemTitle } from './VListItemTitle'\nimport { VAvatar } from '@/components/VAvatar'\nimport { VDefaultsProvider } from '@/components/VDefaultsProvider'\nimport { VIcon } from '@/components/VIcon'\n\n// Composables\nimport { useList } from './list'\nimport { makeBorderProps, useBorder } from '@/composables/border'\nimport { makeComponentProps } from '@/composables/component'\nimport { makeDensityProps, useDensity } from '@/composables/density'\nimport { makeDimensionProps, useDimension } from '@/composables/dimensions'\nimport { makeElevationProps, useElevation } from '@/composables/elevation'\nimport { IconValue } from '@/composables/icons'\nimport { useNestedItem } from '@/composables/nested/nested'\nimport { makeRoundedProps, useRounded } from '@/composables/rounded'\nimport { makeRouterProps, useLink } from '@/composables/router'\nimport { makeTagProps } from '@/composables/tag'\nimport { makeThemeProps, provideTheme } from '@/composables/theme'\nimport { genOverlays, makeVariantProps, useVariant } from '@/composables/variant'\n\n// Directives\nimport vRipple from '@/directives/ripple'\n\n// Utilities\nimport { computed, onBeforeMount, toDisplayString, toRef, watch } from 'vue'\nimport { deprecate, EventProp, genericComponent, propsFactory, useRender } from '@/util'\n\n// Types\nimport type { PropType } from 'vue'\nimport type { RippleDirectiveBinding } from '@/directives/ripple'\n\nexport type ListItemSlot = {\n isActive: boolean\n isOpen: boolean\n isSelected: boolean\n isIndeterminate: boolean\n select: (value: boolean) => void\n}\n\nexport type ListItemTitleSlot = {\n title?: string | number | boolean\n}\n\nexport type ListItemSubtitleSlot = {\n subtitle?: string | number | boolean\n}\n\nexport type VListItemSlots = {\n prepend: ListItemSlot\n append: ListItemSlot\n default: ListItemSlot\n title: ListItemTitleSlot\n subtitle: ListItemSubtitleSlot\n}\n\nexport const makeVListItemProps = propsFactory({\n active: {\n type: Boolean,\n default: undefined,\n },\n activeClass: String,\n /* @deprecated */\n activeColor: String,\n appendAvatar: String,\n appendIcon: IconValue,\n baseColor: String,\n disabled: Boolean,\n lines: [Boolean, String] as PropType<'one' | 'two' | 'three' | false>,\n link: {\n type: Boolean,\n default: undefined,\n },\n nav: Boolean,\n prependAvatar: String,\n prependIcon: IconValue,\n ripple: {\n type: [Boolean, Object] as PropType<RippleDirectiveBinding['value']>,\n default: true,\n },\n slim: Boolean,\n subtitle: {\n type: [String, Number, Boolean],\n default: undefined,\n },\n title: {\n type: [String, Number, Boolean],\n default: undefined,\n },\n value: null,\n\n onClick: EventProp<[MouseEvent | KeyboardEvent]>(),\n onClickOnce: EventProp<[MouseEvent]>(),\n\n ...makeBorderProps(),\n ...makeComponentProps(),\n ...makeDensityProps(),\n ...makeDimensionProps(),\n ...makeElevationProps(),\n ...makeRoundedProps(),\n ...makeRouterProps(),\n ...makeTagProps(),\n ...makeThemeProps(),\n ...makeVariantProps({ variant: 'text' } as const),\n}, 'VListItem')\n\nexport const VListItem = genericComponent<VListItemSlots>()({\n name: 'VListItem',\n\n directives: { vRipple },\n\n props: makeVListItemProps(),\n\n emits: {\n click: (e: MouseEvent | KeyboardEvent) => true,\n },\n\n setup (props, { attrs, slots, emit }) {\n const link = useLink(props, attrs)\n const id = computed(() => props.value === undefined ? link.href.value : props.value)\n const {\n activate,\n isActivated,\n select,\n isOpen,\n isSelected,\n isIndeterminate,\n isGroupActivator,\n root,\n parent,\n openOnSelect,\n id: uid,\n } = useNestedItem(id, false)\n const list = useList()\n const isActive = computed(() =>\n props.active !== false &&\n (props.active || link.isActive?.value || (root.activatable.value ? isActivated.value : isSelected.value))\n )\n const isLink = toRef(() => props.link !== false && link.isLink.value)\n const isSelectable = computed(() => (!!list && (root.selectable.value || root.activatable.value || props.value != null)))\n const isClickable = computed(() =>\n !props.disabled &&\n props.link !== false &&\n (props.link || link.isClickable.value || isSelectable.value)\n )\n\n const roundedProps = toRef(() => props.rounded || props.nav)\n const color = toRef(() => props.color ?? props.activeColor)\n const variantProps = toRef(() => ({\n color: isActive.value ? color.value ?? props.baseColor : props.baseColor,\n variant: props.variant,\n }))\n\n // useNestedItem doesn't call register until beforeMount,\n // so this can't be an immediate watcher as we don't know parent yet\n watch(() => link.isActive?.value, val => {\n if (!val) return\n handleActiveLink()\n })\n onBeforeMount(() => {\n if (link.isActive?.value) handleActiveLink()\n })\n function handleActiveLink () {\n if (parent.value != null) {\n root.open(parent.value, true)\n }\n openOnSelect(true)\n }\n\n const { themeClasses } = provideTheme(props)\n const { borderClasses } = useBorder(props)\n const { colorClasses, colorStyles, variantClasses } = useVariant(variantProps)\n const { densityClasses } = useDensity(props)\n const { dimensionStyles } = useDimension(props)\n const { elevationClasses } = useElevation(props)\n const { roundedClasses } = useRounded(roundedProps)\n const lineClasses = toRef(() => props.lines ? `v-list-item--${props.lines}-line` : undefined)\n\n const slotProps = computed(() => ({\n isActive: isActive.value,\n select,\n isOpen: isOpen.value,\n isSelected: isSelected.value,\n isIndeterminate: isIndeterminate.value,\n } satisfies ListItemSlot))\n\n function onClick (e: MouseEvent) {\n emit('click', e)\n if (['INPUT', 'TEXTAREA'].includes((e.target as Element)?.tagName)) return\n\n if (!isClickable.value) return\n\n link.navigate?.(e)\n\n if (isGroupActivator) return\n\n if (root.activatable.value) {\n activate(!isActivated.value, e)\n } else if (root.selectable.value) {\n select(!isSelected.value, e)\n } else if (props.value != null) {\n select(!isSelected.value, e)\n }\n }\n\n function onKeyDown (e: KeyboardEvent) {\n const target = e.target as HTMLElement\n\n if (['INPUT', 'TEXTAREA'].includes(target.tagName)) return\n\n if (e.key === 'Enter' || e.key === ' ') {\n e.preventDefault()\n e.target!.dispatchEvent(new MouseEvent('click', e))\n }\n }\n\n useRender(() => {\n const Tag = isLink.value ? 'a' : props.tag\n const hasTitle = (slots.title || props.title != null)\n const hasSubtitle = (slots.subtitle || props.subtitle != null)\n const hasAppendMedia = !!(props.appendAvatar || props.appendIcon)\n const hasAppend = !!(hasAppendMedia || slots.append)\n const hasPrependMedia = !!(props.prependAvatar || props.prependIcon)\n const hasPrepend = !!(hasPrependMedia || slots.prepend)\n\n list?.updateHasPrepend(hasPrepend)\n\n if (props.activeColor) {\n deprecate('active-color', ['color', 'base-color'])\n }\n\n return (\n <Tag\n class={[\n 'v-list-item',\n {\n 'v-list-item--active': isActive.value,\n 'v-list-item--disabled': props.disabled,\n 'v-list-item--link': isClickable.value,\n 'v-list-item--nav': props.nav,\n 'v-list-item--prepend': !hasPrepend && list?.hasPrepend.value,\n 'v-list-item--slim': props.slim,\n [`${props.activeClass}`]: props.activeClass && isActive.value,\n },\n themeClasses.value,\n borderClasses.value,\n colorClasses.value,\n densityClasses.value,\n elevationClasses.value,\n lineClasses.value,\n roundedClasses.value,\n variantClasses.value,\n props.class,\n ]}\n style={[\n colorStyles.value,\n dimensionStyles.value,\n props.style,\n ]}\n tabindex={ isClickable.value ? (list ? -2 : 0) : undefined }\n aria-selected={\n isSelectable.value ? (\n root.activatable.value ? isActivated.value\n : root.selectable.value ? isSelected.value\n : isActive.value\n ) : undefined\n }\n onClick={ onClick }\n onKeydown={ isClickable.value && !isLink.value && onKeyDown }\n v-ripple={ isClickable.value && props.ripple }\n { ...link.linkProps }\n >\n { genOverlays(isClickable.value || isActive.value, 'v-list-item') }\n\n { hasPrepend && (\n <div key=\"prepend\" class=\"v-list-item__prepend\">\n { !slots.prepend ? (\n <>\n { props.prependAvatar && (\n <VAvatar\n key=\"prepend-avatar\"\n density={ props.density }\n image={ props.prependAvatar }\n />\n )}\n\n { props.prependIcon && (\n <VIcon\n key=\"prepend-icon\"\n density={ props.density }\n icon={ props.prependIcon }\n />\n )}\n </>\n ) : (\n <VDefaultsProvider\n key=\"prepend-defaults\"\n disabled={ !hasPrependMedia }\n defaults={{\n VAvatar: {\n density: props.density,\n image: props.prependAvatar,\n },\n VIcon: {\n density: props.density,\n icon: props.prependIcon,\n },\n VListItemAction: {\n start: true,\n },\n }}\n >\n { slots.prepend?.(slotProps.value) }\n </VDefaultsProvider>\n )}\n\n <div class=\"v-list-item__spacer\" />\n </div>\n )}\n\n <div class=\"v-list-item__content\" data-no-activator=\"\">\n { hasTitle && (\n <VListItemTitle key=\"title\">\n { slots.title?.({ title: props.title }) ?? toDisplayString(props.title) }\n </VListItemTitle>\n )}\n\n { hasSubtitle && (\n <VListItemSubtitle key=\"subtitle\">\n { slots.subtitle?.({ subtitle: props.subtitle }) ?? toDisplayString(props.subtitle) }\n </VListItemSubtitle>\n )}\n\n { slots.default?.(slotProps.value) }\n </div>\n\n { hasAppend && (\n <div key=\"append\" class=\"v-list-item__append\">\n { !slots.append ? (\n <>\n { props.appendIcon && (\n <VIcon\n key=\"append-icon\"\n density={ props.density }\n icon={ props.appendIcon }\n />\n )}\n\n { props.appendAvatar && (\n <VAvatar\n key=\"append-avatar\"\n density={ props.density }\n image={ props.appendAvatar }\n />\n )}\n </>\n ) : (\n <VDefaultsProvider\n key=\"append-defaults\"\n disabled={ !hasAppendMedia }\n defaults={{\n VAvatar: {\n density: props.density,\n image: props.appendAvatar,\n },\n VIcon: {\n density: props.density,\n icon: props.appendIcon,\n },\n VListItemAction: {\n end: true,\n },\n }}\n >\n { slots.append?.(slotProps.value) }\n </VDefaultsProvider>\n )}\n\n <div class=\"v-list-item__spacer\" />\n </div>\n )}\n </Tag>\n )\n })\n\n return {\n activate,\n isActivated,\n isGroupActivator,\n isSelected,\n list,\n select,\n root,\n id: uid,\n link,\n }\n },\n})\n\nexport type VListItem = InstanceType<typeof VListItem>\n"],"mappings":";AAAA;AACA;;AAEA;AAAA,SACSA,iBAAiB;AAAA,SACjBC,cAAc;AAAA,SACdC,OAAO;AAAA,SACPC,iBAAiB;AAAA,SACjBC,KAAK,6BAE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,OAAO;MACLwB,QAAQ;MACRC,WAAW;MACXK,gBAAgB;MAChBF,UAAU;MACVO,IAAI;MACJT,MAAM;MACNK,IAAI;MACJT,EAAE,EAAEY,GAAG;MACPtC;IACF,CAAC;EACH;AACF,CAAC,CAAC","ignoreList":[]}
|
1
|
+
{"version":3,"file":"VListItem.js","names":["VListItemSubtitle","VListItemTitle","VAvatar","VDefaultsProvider","VIcon","useList","makeBorderProps","useBorder","makeComponentProps","makeDensityProps","useDensity","makeDimensionProps","useDimension","makeElevationProps","useElevation","IconValue","useNestedItem","makeRoundedProps","useRounded","makeRouterProps","useLink","makeTagProps","makeThemeProps","provideTheme","genOverlays","makeVariantProps","useVariant","vRipple","computed","onBeforeMount","toDisplayString","toRef","watch","deprecate","EventProp","genericComponent","keyCodes","propsFactory","useRender","makeVListItemProps","active","type","Boolean","default","undefined","activeClass","String","activeColor","appendAvatar","appendIcon","baseColor","disabled","lines","link","nav","prependAvatar","prependIcon","ripple","Object","slim","subtitle","Number","title","value","onClick","onClickOnce","variant","VListItem","name","directives","props","emits","click","e","setup","_ref","attrs","slots","emit","id","href","activate","isActivated","select","isOpen","isSelected","isIndeterminate","isGroupActivator","root","parent","openOnSelect","uid","list","isActive","activatable","isLink","isSelectable","selectable","isClickable","roundedProps","rounded","color","variantProps","val","handleActiveLink","open","themeClasses","borderClasses","colorClasses","colorStyles","variantClasses","densityClasses","dimensionStyles","elevationClasses","roundedClasses","lineClasses","rippleOptions","filterable","keys","enter","slotProps","includes","target","tagName","navigate","onKeyDown","key","preventDefault","stopPropagation","dispatchEvent","MouseEvent","Tag","tag","hasTitle","hasSubtitle","hasAppendMedia","hasAppend","append","hasPrependMedia","hasPrepend","prepend","updateHasPrepend","_withDirectives","_createVNode","_mergeProps","class","style","linkProps","_createElementVNode","_Fragment","density","image","icon","VListItemAction","start","end"],"sources":["../../../src/components/VList/VListItem.tsx"],"sourcesContent":["// Styles\nimport './VListItem.sass'\n\n// Components\nimport { VListItemSubtitle } from './VListItemSubtitle'\nimport { VListItemTitle } from './VListItemTitle'\nimport { VAvatar } from '@/components/VAvatar'\nimport { VDefaultsProvider } from '@/components/VDefaultsProvider'\nimport { VIcon } from '@/components/VIcon'\n\n// Composables\nimport { useList } from './list'\nimport { makeBorderProps, useBorder } from '@/composables/border'\nimport { makeComponentProps } from '@/composables/component'\nimport { makeDensityProps, useDensity } from '@/composables/density'\nimport { makeDimensionProps, useDimension } from '@/composables/dimensions'\nimport { makeElevationProps, useElevation } from '@/composables/elevation'\nimport { IconValue } from '@/composables/icons'\nimport { useNestedItem } from '@/composables/nested/nested'\nimport { makeRoundedProps, useRounded } from '@/composables/rounded'\nimport { makeRouterProps, useLink } from '@/composables/router'\nimport { makeTagProps } from '@/composables/tag'\nimport { makeThemeProps, provideTheme } from '@/composables/theme'\nimport { genOverlays, makeVariantProps, useVariant } from '@/composables/variant'\n\n// Directives\nimport vRipple from '@/directives/ripple'\n\n// Utilities\nimport { computed, onBeforeMount, toDisplayString, toRef, watch } from 'vue'\nimport { deprecate, EventProp, genericComponent, keyCodes, propsFactory, useRender } from '@/util'\n\n// Types\nimport type { PropType } from 'vue'\nimport type { RippleDirectiveBinding } from '@/directives/ripple'\n\nexport type ListItemSlot = {\n isActive: boolean\n isOpen: boolean\n isSelected: boolean\n isIndeterminate: boolean\n select: (value: boolean) => void\n}\n\nexport type ListItemTitleSlot = {\n title?: string | number | boolean\n}\n\nexport type ListItemSubtitleSlot = {\n subtitle?: string | number | boolean\n}\n\nexport type VListItemSlots = {\n prepend: ListItemSlot\n append: ListItemSlot\n default: ListItemSlot\n title: ListItemTitleSlot\n subtitle: ListItemSubtitleSlot\n}\n\nexport const makeVListItemProps = propsFactory({\n active: {\n type: Boolean,\n default: undefined,\n },\n activeClass: String,\n /* @deprecated */\n activeColor: String,\n appendAvatar: String,\n appendIcon: IconValue,\n baseColor: String,\n disabled: Boolean,\n lines: [Boolean, String] as PropType<'one' | 'two' | 'three' | false>,\n link: {\n type: Boolean,\n default: undefined,\n },\n nav: Boolean,\n prependAvatar: String,\n prependIcon: IconValue,\n ripple: {\n type: [Boolean, Object] as PropType<RippleDirectiveBinding['value']>,\n default: true,\n },\n slim: Boolean,\n subtitle: {\n type: [String, Number, Boolean],\n default: undefined,\n },\n title: {\n type: [String, Number, Boolean],\n default: undefined,\n },\n value: null,\n\n onClick: EventProp<[MouseEvent | KeyboardEvent]>(),\n onClickOnce: EventProp<[MouseEvent]>(),\n\n ...makeBorderProps(),\n ...makeComponentProps(),\n ...makeDensityProps(),\n ...makeDimensionProps(),\n ...makeElevationProps(),\n ...makeRoundedProps(),\n ...makeRouterProps(),\n ...makeTagProps(),\n ...makeThemeProps(),\n ...makeVariantProps({ variant: 'text' } as const),\n}, 'VListItem')\n\nexport const VListItem = genericComponent<VListItemSlots>()({\n name: 'VListItem',\n\n directives: { vRipple },\n\n props: makeVListItemProps(),\n\n emits: {\n click: (e: MouseEvent | KeyboardEvent) => true,\n },\n\n setup (props, { attrs, slots, emit }) {\n const link = useLink(props, attrs)\n const id = computed(() => props.value === undefined ? link.href.value : props.value)\n const {\n activate,\n isActivated,\n select,\n isOpen,\n isSelected,\n isIndeterminate,\n isGroupActivator,\n root,\n parent,\n openOnSelect,\n id: uid,\n } = useNestedItem(id, false)\n const list = useList()\n const isActive = computed(() =>\n props.active !== false &&\n (props.active || link.isActive?.value || (root.activatable.value ? isActivated.value : isSelected.value))\n )\n const isLink = toRef(() => props.link !== false && link.isLink.value)\n const isSelectable = computed(() => (!!list && (root.selectable.value || root.activatable.value || props.value != null)))\n const isClickable = computed(() =>\n !props.disabled &&\n props.link !== false &&\n (props.link || link.isClickable.value || isSelectable.value)\n )\n\n const roundedProps = toRef(() => props.rounded || props.nav)\n const color = toRef(() => props.color ?? props.activeColor)\n const variantProps = toRef(() => ({\n color: isActive.value ? color.value ?? props.baseColor : props.baseColor,\n variant: props.variant,\n }))\n\n // useNestedItem doesn't call register until beforeMount,\n // so this can't be an immediate watcher as we don't know parent yet\n watch(() => link.isActive?.value, val => {\n if (!val) return\n handleActiveLink()\n })\n onBeforeMount(() => {\n if (link.isActive?.value) handleActiveLink()\n })\n function handleActiveLink () {\n if (parent.value != null) {\n root.open(parent.value, true)\n }\n openOnSelect(true)\n }\n\n const { themeClasses } = provideTheme(props)\n const { borderClasses } = useBorder(props)\n const { colorClasses, colorStyles, variantClasses } = useVariant(variantProps)\n const { densityClasses } = useDensity(props)\n const { dimensionStyles } = useDimension(props)\n const { elevationClasses } = useElevation(props)\n const { roundedClasses } = useRounded(roundedProps)\n const lineClasses = toRef(() => props.lines ? `v-list-item--${props.lines}-line` : undefined)\n const rippleOptions = toRef(() =>\n (\n props.ripple !== undefined &&\n !!props.ripple &&\n list?.filterable\n )\n ? { keys: [keyCodes.enter] }\n : props.ripple\n )\n\n const slotProps = computed(() => ({\n isActive: isActive.value,\n select,\n isOpen: isOpen.value,\n isSelected: isSelected.value,\n isIndeterminate: isIndeterminate.value,\n } satisfies ListItemSlot))\n\n function onClick (e: MouseEvent) {\n emit('click', e)\n if (['INPUT', 'TEXTAREA'].includes((e.target as Element)?.tagName)) return\n\n if (!isClickable.value) return\n\n link.navigate?.(e)\n\n if (isGroupActivator) return\n\n if (root.activatable.value) {\n activate(!isActivated.value, e)\n } else if (root.selectable.value) {\n select(!isSelected.value, e)\n } else if (props.value != null) {\n select(!isSelected.value, e)\n }\n }\n\n function onKeyDown (e: KeyboardEvent) {\n const target = e.target as HTMLElement\n\n if (['INPUT', 'TEXTAREA'].includes(target.tagName)) return\n\n if (e.key === 'Enter' || (e.key === ' ' && !list?.filterable)) {\n e.preventDefault()\n e.stopPropagation()\n e.target!.dispatchEvent(new MouseEvent('click', e))\n }\n }\n\n useRender(() => {\n const Tag = isLink.value ? 'a' : props.tag\n const hasTitle = (slots.title || props.title != null)\n const hasSubtitle = (slots.subtitle || props.subtitle != null)\n const hasAppendMedia = !!(props.appendAvatar || props.appendIcon)\n const hasAppend = !!(hasAppendMedia || slots.append)\n const hasPrependMedia = !!(props.prependAvatar || props.prependIcon)\n const hasPrepend = !!(hasPrependMedia || slots.prepend)\n\n list?.updateHasPrepend(hasPrepend)\n\n if (props.activeColor) {\n deprecate('active-color', ['color', 'base-color'])\n }\n\n return (\n <Tag\n class={[\n 'v-list-item',\n {\n 'v-list-item--active': isActive.value,\n 'v-list-item--disabled': props.disabled,\n 'v-list-item--link': isClickable.value,\n 'v-list-item--nav': props.nav,\n 'v-list-item--prepend': !hasPrepend && list?.hasPrepend.value,\n 'v-list-item--slim': props.slim,\n [`${props.activeClass}`]: props.activeClass && isActive.value,\n },\n themeClasses.value,\n borderClasses.value,\n colorClasses.value,\n densityClasses.value,\n elevationClasses.value,\n lineClasses.value,\n roundedClasses.value,\n variantClasses.value,\n props.class,\n ]}\n style={[\n colorStyles.value,\n dimensionStyles.value,\n props.style,\n ]}\n tabindex={ isClickable.value ? (list ? -2 : 0) : undefined }\n aria-selected={\n isSelectable.value ? (\n root.activatable.value ? isActivated.value\n : root.selectable.value ? isSelected.value\n : isActive.value\n ) : undefined\n }\n onClick={ onClick }\n onKeydown={ isClickable.value && !isLink.value && onKeyDown }\n v-ripple={ isClickable.value && rippleOptions.value }\n { ...link.linkProps }\n >\n { genOverlays(isClickable.value || isActive.value, 'v-list-item') }\n\n { hasPrepend && (\n <div key=\"prepend\" class=\"v-list-item__prepend\">\n { !slots.prepend ? (\n <>\n { props.prependAvatar && (\n <VAvatar\n key=\"prepend-avatar\"\n density={ props.density }\n image={ props.prependAvatar }\n />\n )}\n\n { props.prependIcon && (\n <VIcon\n key=\"prepend-icon\"\n density={ props.density }\n icon={ props.prependIcon }\n />\n )}\n </>\n ) : (\n <VDefaultsProvider\n key=\"prepend-defaults\"\n disabled={ !hasPrependMedia }\n defaults={{\n VAvatar: {\n density: props.density,\n image: props.prependAvatar,\n },\n VIcon: {\n density: props.density,\n icon: props.prependIcon,\n },\n VListItemAction: {\n start: true,\n },\n }}\n >\n { slots.prepend?.(slotProps.value) }\n </VDefaultsProvider>\n )}\n\n <div class=\"v-list-item__spacer\" />\n </div>\n )}\n\n <div class=\"v-list-item__content\" data-no-activator=\"\">\n { hasTitle && (\n <VListItemTitle key=\"title\">\n { slots.title?.({ title: props.title }) ?? toDisplayString(props.title) }\n </VListItemTitle>\n )}\n\n { hasSubtitle && (\n <VListItemSubtitle key=\"subtitle\">\n { slots.subtitle?.({ subtitle: props.subtitle }) ?? toDisplayString(props.subtitle) }\n </VListItemSubtitle>\n )}\n\n { slots.default?.(slotProps.value) }\n </div>\n\n { hasAppend && (\n <div key=\"append\" class=\"v-list-item__append\">\n { !slots.append ? (\n <>\n { props.appendIcon && (\n <VIcon\n key=\"append-icon\"\n density={ props.density }\n icon={ props.appendIcon }\n />\n )}\n\n { props.appendAvatar && (\n <VAvatar\n key=\"append-avatar\"\n density={ props.density }\n image={ props.appendAvatar }\n />\n )}\n </>\n ) : (\n <VDefaultsProvider\n key=\"append-defaults\"\n disabled={ !hasAppendMedia }\n defaults={{\n VAvatar: {\n density: props.density,\n image: props.appendAvatar,\n },\n VIcon: {\n density: props.density,\n icon: props.appendIcon,\n },\n VListItemAction: {\n end: true,\n },\n }}\n >\n { slots.append?.(slotProps.value) }\n </VDefaultsProvider>\n )}\n\n <div class=\"v-list-item__spacer\" />\n </div>\n )}\n </Tag>\n )\n })\n\n return {\n activate,\n isActivated,\n isGroupActivator,\n isSelected,\n list,\n select,\n root,\n id: uid,\n link,\n }\n },\n})\n\nexport type VListItem = InstanceType<typeof VListItem>\n"],"mappings":";AAAA;AACA;;AAEA;AAAA,SACSA,iBAAiB;AAAA,SACjBC,cAAc;AAAA,SACdC,OAAO;AAAA,SACPC,iBAAiB;AAAA,SACjBC,KAAK,6BAEd;AAAA,SACSC,OAAO;AAAA,SACPC,eAAe,EAAEC,SAAS;AAAA,SAC1BC,kBAAkB;AAAA,SAClBC,gBAAgB,EAAEC,UAAU;AAAA,SAC5BC,kBAAkB,EAAEC,YAAY;AAAA,SAChCC,kBAAkB,EAAEC,YAAY;AAAA,SAChCC,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AA,EAEpC,EAAAqF,mBAAA;UAAA;QAAA,UAIJ;MAAA,MAAAzH,OAAA,EA/GUuE,WAAW,CAACnC,KAAK,IAAIqD,aAAa,CAACrD,KAAK;IAkHzD,CAAC,CAAC;IAEF,OAAO;MACLkB,QAAQ;MACRC,WAAW;MACXK,gBAAgB;MAChBF,UAAU;MACVO,IAAI;MACJT,MAAM;MACNK,IAAI;MACJT,EAAE,EAAEY,GAAG;MACPtC;IACF,CAAC;EACH;AACF,CAAC,CAAC","ignoreList":[]}
|
@@ -1,15 +1,22 @@
|
|
1
|
-
import type { InjectionKey, Ref } from 'vue';
|
1
|
+
import type { InjectionKey, MaybeRefOrGetter, Ref } from 'vue';
|
2
2
|
export declare const DepthKey: InjectionKey<Ref<number>>;
|
3
3
|
export declare function useDepth(hasPrepend?: Ref<boolean>): import("vue").ComputedRef<number>;
|
4
4
|
export declare const ListKey: InjectionKey<{
|
5
|
+
filterable: MaybeRefOrGetter<boolean>;
|
5
6
|
hasPrepend: Ref<boolean>;
|
6
7
|
updateHasPrepend: (value: boolean) => void;
|
7
8
|
}>;
|
8
|
-
|
9
|
+
type InjectedListOptions = {
|
10
|
+
filterable: MaybeRefOrGetter<boolean>;
|
11
|
+
};
|
12
|
+
export declare function createList({ filterable }?: InjectedListOptions): {
|
13
|
+
filterable: MaybeRefOrGetter<boolean>;
|
9
14
|
hasPrepend: Ref<boolean>;
|
10
15
|
updateHasPrepend: (value: boolean) => void;
|
11
16
|
};
|
12
17
|
export declare function useList(): {
|
18
|
+
filterable: MaybeRefOrGetter<boolean>;
|
13
19
|
hasPrepend: Ref<boolean>;
|
14
20
|
updateHasPrepend: (value: boolean) => void;
|
15
21
|
} | null;
|
22
|
+
|
@@ -15,11 +15,18 @@ export function useDepth(hasPrepend) {
|
|
15
15
|
// List
|
16
16
|
export const ListKey = Symbol.for('vuetify:list');
|
17
17
|
export function createList() {
|
18
|
+
let {
|
19
|
+
filterable
|
20
|
+
} = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {
|
21
|
+
filterable: false
|
22
|
+
};
|
18
23
|
const parent = inject(ListKey, {
|
24
|
+
filterable: false,
|
19
25
|
hasPrepend: shallowRef(false),
|
20
26
|
updateHasPrepend: () => null
|
21
27
|
});
|
22
28
|
const data = {
|
29
|
+
filterable: parent.filterable || filterable,
|
23
30
|
hasPrepend: shallowRef(false),
|
24
31
|
updateHasPrepend: value => {
|
25
32
|
if (value) data.hasPrepend.value = value;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"list.js","names":["computed","inject","provide","shallowRef","DepthKey","Symbol","for","useDepth","hasPrepend","parent","depth","value","ListKey","createList","updateHasPrepend","data","useList"],"sources":["../../../src/components/VList/list.ts"],"sourcesContent":["// Utilities\nimport { computed, inject, provide, shallowRef } from 'vue'\n\n// Types\nimport type { InjectionKey, Ref } from 'vue'\n\n// Depth\nexport const DepthKey: InjectionKey<Ref<number>> = Symbol.for('vuetify:depth')\n\nexport function useDepth (hasPrepend?: Ref<boolean>) {\n const parent = inject(DepthKey, shallowRef(-1))\n\n const depth = computed(() => parent.value + 1 + (hasPrepend?.value ? 1 : 0))\n\n provide(DepthKey, depth)\n\n return depth\n}\n\n// List\nexport const ListKey: InjectionKey<{\n hasPrepend: Ref<boolean>\n updateHasPrepend: (value: boolean) => void\n}> = Symbol.for('vuetify:list')\n\nexport function createList () {\n const parent = inject(ListKey, { hasPrepend: shallowRef(false)
|
1
|
+
{"version":3,"file":"list.js","names":["computed","inject","provide","shallowRef","DepthKey","Symbol","for","useDepth","hasPrepend","parent","depth","value","ListKey","createList","filterable","arguments","length","undefined","updateHasPrepend","data","useList"],"sources":["../../../src/components/VList/list.ts"],"sourcesContent":["// Utilities\nimport { computed, inject, provide, shallowRef } from 'vue'\n\n// Types\nimport type { InjectionKey, MaybeRefOrGetter, Ref } from 'vue'\n\n// Depth\nexport const DepthKey: InjectionKey<Ref<number>> = Symbol.for('vuetify:depth')\n\nexport function useDepth (hasPrepend?: Ref<boolean>) {\n const parent = inject(DepthKey, shallowRef(-1))\n\n const depth = computed(() => parent.value + 1 + (hasPrepend?.value ? 1 : 0))\n\n provide(DepthKey, depth)\n\n return depth\n}\n\n// List\nexport const ListKey: InjectionKey<{\n filterable: MaybeRefOrGetter<boolean>\n hasPrepend: Ref<boolean>\n updateHasPrepend: (value: boolean) => void\n}> = Symbol.for('vuetify:list')\n\ntype InjectedListOptions = {\n filterable: MaybeRefOrGetter<boolean>\n}\n\nexport function createList ({ filterable }: InjectedListOptions = { filterable: false }) {\n const parent = inject(ListKey, {\n filterable: false,\n hasPrepend: shallowRef(false),\n updateHasPrepend: () => null,\n })\n\n const data = {\n filterable: parent.filterable || filterable,\n hasPrepend: shallowRef(false),\n updateHasPrepend: (value: boolean) => {\n if (value) data.hasPrepend.value = value\n },\n }\n\n provide(ListKey, data)\n\n return parent\n}\n\nexport function useList () {\n return inject(ListKey, null)\n}\n"],"mappings":"AAAA;AACA,SAASA,QAAQ,EAAEC,MAAM,EAAEC,OAAO,EAAEC,UAAU,QAAQ,KAAK;;AAE3D;;AAGA;AACA,OAAO,MAAMC,QAAmC,GAAGC,MAAM,CAACC,GAAG,CAAC,eAAe,CAAC;AAE9E,OAAO,SAASC,QAAQA,CAAEC,UAAyB,EAAE;EACnD,MAAMC,MAAM,GAAGR,MAAM,CAACG,QAAQ,EAAED,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC;EAE/C,MAAMO,KAAK,GAAGV,QAAQ,CAAC,MAAMS,MAAM,CAACE,KAAK,GAAG,CAAC,IAAIH,UAAU,EAAEG,KAAK,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC;EAE5ET,OAAO,CAACE,QAAQ,EAAEM,KAAK,CAAC;EAExB,OAAOA,KAAK;AACd;;AAEA;AACA,OAAO,MAAME,OAIX,GAAGP,MAAM,CAACC,GAAG,CAAC,cAAc,CAAC;AAM/B,OAAO,SAASO,UAAUA,CAAA,EAA+D;EAAA,IAA7D;IAAEC;EAAgC,CAAC,GAAAC,SAAA,CAAAC,MAAA,QAAAD,SAAA,QAAAE,SAAA,GAAAF,SAAA,MAAG;IAAED,UAAU,EAAE;EAAM,CAAC;EACrF,MAAML,MAAM,GAAGR,MAAM,CAACW,OAAO,EAAE;IAC7BE,UAAU,EAAE,KAAK;IACjBN,UAAU,EAAEL,UAAU,CAAC,KAAK,CAAC;IAC7Be,gBAAgB,EAAEA,CAAA,KAAM;EAC1B,CAAC,CAAC;EAEF,MAAMC,IAAI,GAAG;IACXL,UAAU,EAAEL,MAAM,CAACK,UAAU,IAAIA,UAAU;IAC3CN,UAAU,EAAEL,UAAU,CAAC,KAAK,CAAC;IAC7Be,gBAAgB,EAAGP,KAAc,IAAK;MACpC,IAAIA,KAAK,EAAEQ,IAAI,CAACX,UAAU,CAACG,KAAK,GAAGA,KAAK;IAC1C;EACF,CAAC;EAEDT,OAAO,CAACU,OAAO,EAAEO,IAAI,CAAC;EAEtB,OAAOV,MAAM;AACf;AAEA,OAAO,SAASW,OAAOA,CAAA,EAAI;EACzB,OAAOnB,MAAM,CAACW,OAAO,EAAE,IAAI,CAAC;AAC9B","ignoreList":[]}
|
@@ -112,14 +112,18 @@ export declare const makeVRadioProps: <Defaults extends {
|
|
112
112
|
default: boolean;
|
113
113
|
}, "type" | "default"> & {
|
114
114
|
type: import("vue").PropType<unknown extends Defaults["ripple"] ? boolean | {
|
115
|
-
class
|
115
|
+
class?: string;
|
116
|
+
keys?: number[];
|
116
117
|
} | undefined : boolean | {
|
117
|
-
class
|
118
|
+
class?: string;
|
119
|
+
keys?: number[];
|
118
120
|
} | Defaults["ripple"] | undefined>;
|
119
121
|
default: unknown extends Defaults["ripple"] ? boolean | {
|
120
|
-
class
|
122
|
+
class?: string;
|
123
|
+
keys?: number[];
|
121
124
|
} | undefined : NonNullable<boolean | {
|
122
|
-
class
|
125
|
+
class?: string;
|
126
|
+
keys?: number[];
|
123
127
|
} | undefined> | Defaults["ripple"];
|
124
128
|
};
|
125
129
|
multiple: unknown extends Defaults["multiple"] ? {
|
@@ -196,7 +200,8 @@ export declare const VRadio: {
|
|
196
200
|
valueComparator: typeof import("../../util/index.js").deepEqual;
|
197
201
|
density: import("../../composables/density.js").Density;
|
198
202
|
ripple: boolean | {
|
199
|
-
class
|
203
|
+
class?: string;
|
204
|
+
keys?: number[];
|
200
205
|
} | undefined;
|
201
206
|
falseIcon: import("../../composables/icons.js").IconValue;
|
202
207
|
trueIcon: import("../../composables/icons.js").IconValue;
|
@@ -260,7 +265,8 @@ export declare const VRadio: {
|
|
260
265
|
valueComparator: typeof import("../../util/index.js").deepEqual;
|
261
266
|
density: import("../../composables/density.js").Density;
|
262
267
|
ripple: boolean | {
|
263
|
-
class
|
268
|
+
class?: string;
|
269
|
+
keys?: number[];
|
264
270
|
} | undefined;
|
265
271
|
falseIcon: import("../../composables/icons.js").IconValue;
|
266
272
|
trueIcon: import("../../composables/icons.js").IconValue;
|
@@ -291,7 +297,8 @@ export declare const VRadio: {
|
|
291
297
|
valueComparator: typeof import("../../util/index.js").deepEqual;
|
292
298
|
density: import("../../composables/density.js").Density;
|
293
299
|
ripple: boolean | {
|
294
|
-
class
|
300
|
+
class?: string;
|
301
|
+
keys?: number[];
|
295
302
|
} | undefined;
|
296
303
|
falseIcon: import("../../composables/icons.js").IconValue;
|
297
304
|
trueIcon: import("../../composables/icons.js").IconValue;
|
@@ -355,7 +362,8 @@ export declare const VRadio: {
|
|
355
362
|
valueComparator: typeof import("../../util/index.js").deepEqual;
|
356
363
|
density: import("../../composables/density.js").Density;
|
357
364
|
ripple: boolean | {
|
358
|
-
class
|
365
|
+
class?: string;
|
366
|
+
keys?: number[];
|
359
367
|
} | undefined;
|
360
368
|
falseIcon: import("../../composables/icons.js").IconValue;
|
361
369
|
trueIcon: import("../../composables/icons.js").IconValue;
|
@@ -373,7 +381,8 @@ export declare const VRadio: {
|
|
373
381
|
valueComparator: typeof import("../../util/index.js").deepEqual;
|
374
382
|
density: import("../../composables/density.js").Density;
|
375
383
|
ripple: boolean | {
|
376
|
-
class
|
384
|
+
class?: string;
|
385
|
+
keys?: number[];
|
377
386
|
} | undefined;
|
378
387
|
falseIcon: import("../../composables/icons.js").IconValue;
|
379
388
|
trueIcon: import("../../composables/icons.js").IconValue;
|
@@ -437,7 +446,8 @@ export declare const VRadio: {
|
|
437
446
|
valueComparator: typeof import("../../util/index.js").deepEqual;
|
438
447
|
density: import("../../composables/density.js").Density;
|
439
448
|
ripple: boolean | {
|
440
|
-
class
|
449
|
+
class?: string;
|
450
|
+
keys?: number[];
|
441
451
|
} | undefined;
|
442
452
|
falseIcon: import("../../composables/icons.js").IconValue;
|
443
453
|
trueIcon: import("../../composables/icons.js").IconValue;
|
@@ -176,14 +176,18 @@ export declare const makeVRadioGroupProps: <Defaults extends {
|
|
176
176
|
default: boolean;
|
177
177
|
}, "type" | "default"> & {
|
178
178
|
type: import("vue").PropType<unknown extends Defaults["ripple"] ? boolean | {
|
179
|
-
class
|
179
|
+
class?: string;
|
180
|
+
keys?: number[];
|
180
181
|
} | undefined : boolean | {
|
181
|
-
class
|
182
|
+
class?: string;
|
183
|
+
keys?: number[];
|
182
184
|
} | Defaults["ripple"] | undefined>;
|
183
185
|
default: unknown extends Defaults["ripple"] ? boolean | {
|
184
|
-
class
|
186
|
+
class?: string;
|
187
|
+
keys?: number[];
|
185
188
|
} | undefined : NonNullable<boolean | {
|
186
|
-
class
|
189
|
+
class?: string;
|
190
|
+
keys?: number[];
|
187
191
|
} | undefined> | Defaults["ripple"];
|
188
192
|
};
|
189
193
|
defaultsTarget: unknown extends Defaults["defaultsTarget"] ? StringConstructor : {
|
@@ -357,7 +361,8 @@ export declare const VRadioGroup: {
|
|
357
361
|
valueComparator: typeof import("../../util/index.js").deepEqual;
|
358
362
|
density: import("../../composables/density.js").Density;
|
359
363
|
ripple: boolean | {
|
360
|
-
class
|
364
|
+
class?: string;
|
365
|
+
keys?: number[];
|
361
366
|
} | undefined;
|
362
367
|
falseIcon: IconValue;
|
363
368
|
trueIcon: IconValue;
|
@@ -406,7 +411,8 @@ export declare const VRadioGroup: {
|
|
406
411
|
valueComparator: typeof import("../../util/index.js").deepEqual;
|
407
412
|
density: import("../../composables/density.js").Density;
|
408
413
|
ripple: boolean | {
|
409
|
-
class
|
414
|
+
class?: string;
|
415
|
+
keys?: number[];
|
410
416
|
} | undefined;
|
411
417
|
falseIcon: IconValue;
|
412
418
|
trueIcon: IconValue;
|
@@ -448,7 +454,8 @@ export declare const VRadioGroup: {
|
|
448
454
|
valueComparator: typeof import("../../util/index.js").deepEqual;
|
449
455
|
density: import("../../composables/density.js").Density;
|
450
456
|
ripple: boolean | {
|
451
|
-
class
|
457
|
+
class?: string;
|
458
|
+
keys?: number[];
|
452
459
|
} | undefined;
|
453
460
|
falseIcon: IconValue;
|
454
461
|
trueIcon: IconValue;
|
@@ -495,7 +502,8 @@ export declare const VRadioGroup: {
|
|
495
502
|
valueComparator: typeof import("../../util/index.js").deepEqual;
|
496
503
|
density: import("../../composables/density.js").Density;
|
497
504
|
ripple: boolean | {
|
498
|
-
class
|
505
|
+
class?: string;
|
506
|
+
keys?: number[];
|
499
507
|
} | undefined;
|
500
508
|
falseIcon: IconValue;
|
501
509
|
trueIcon: IconValue;
|
@@ -524,7 +532,8 @@ export declare const VRadioGroup: {
|
|
524
532
|
valueComparator: typeof import("../../util/index.js").deepEqual;
|
525
533
|
density: import("../../composables/density.js").Density;
|
526
534
|
ripple: boolean | {
|
527
|
-
class
|
535
|
+
class?: string;
|
536
|
+
keys?: number[];
|
528
537
|
} | undefined;
|
529
538
|
falseIcon: IconValue;
|
530
539
|
trueIcon: IconValue;
|
@@ -573,7 +582,8 @@ export declare const VRadioGroup: {
|
|
573
582
|
valueComparator: typeof import("../../util/index.js").deepEqual;
|
574
583
|
density: import("../../composables/density.js").Density;
|
575
584
|
ripple: boolean | {
|
576
|
-
class
|
585
|
+
class?: string;
|
586
|
+
keys?: number[];
|
577
587
|
} | undefined;
|
578
588
|
falseIcon: IconValue;
|
579
589
|
trueIcon: IconValue;
|
@@ -159,6 +159,7 @@ export declare const makeSelectProps: <Defaults extends {
|
|
159
159
|
rounded: string | number | boolean;
|
160
160
|
tile: boolean;
|
161
161
|
slim: boolean;
|
162
|
+
filterable: boolean;
|
162
163
|
activatable: boolean;
|
163
164
|
selectable: boolean;
|
164
165
|
openStrategy: import("../../composables/nested/nested.js").OpenStrategyProp;
|
@@ -176,6 +177,7 @@ export declare const makeSelectProps: <Defaults extends {
|
|
176
177
|
density: import("../../composables/density.js").Density;
|
177
178
|
tile: boolean;
|
178
179
|
slim: boolean;
|
180
|
+
filterable: boolean;
|
179
181
|
activatable: boolean;
|
180
182
|
selectable: boolean;
|
181
183
|
openStrategy: import("../../composables/nested/nested.js").OpenStrategyProp;
|
@@ -207,7 +209,7 @@ export declare const makeSelectProps: <Defaults extends {
|
|
207
209
|
value: boolean;
|
208
210
|
path: unknown[];
|
209
211
|
}) => any) | undefined;
|
210
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "variant" | "nav" | "style" | "disabled" | "tag" | "lines" | "mandatory" | "returnObject" | "selectStrategy" | "density" | "rounded" | "tile" | "slim" | "activatable" | "selectable" | "openStrategy" | "itemType"> & {
|
212
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "variant" | "nav" | "style" | "disabled" | "tag" | "lines" | "mandatory" | "returnObject" | "selectStrategy" | "density" | "rounded" | "tile" | "slim" | "filterable" | "activatable" | "selectable" | "openStrategy" | "itemType"> & {
|
211
213
|
items?: readonly any[] | undefined;
|
212
214
|
itemTitle?: SelectItemKey<any>;
|
213
215
|
itemValue?: SelectItemKey<any>;
|
@@ -322,6 +324,7 @@ export declare const makeSelectProps: <Defaults extends {
|
|
322
324
|
rounded: string | number | boolean;
|
323
325
|
tile: boolean;
|
324
326
|
slim: boolean;
|
327
|
+
filterable: boolean;
|
325
328
|
activatable: boolean;
|
326
329
|
selectable: boolean;
|
327
330
|
openStrategy: import("../../composables/nested/nested.js").OpenStrategyProp;
|
@@ -339,6 +342,7 @@ export declare const makeSelectProps: <Defaults extends {
|
|
339
342
|
density: import("../../composables/density.js").Density;
|
340
343
|
tile: boolean;
|
341
344
|
slim: boolean;
|
345
|
+
filterable: boolean;
|
342
346
|
activatable: boolean;
|
343
347
|
selectable: boolean;
|
344
348
|
openStrategy: import("../../composables/nested/nested.js").OpenStrategyProp;
|
@@ -370,7 +374,7 @@ export declare const makeSelectProps: <Defaults extends {
|
|
370
374
|
value: boolean;
|
371
375
|
path: unknown[];
|
372
376
|
}) => any) | undefined;
|
373
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "variant" | "nav" | "style" | "disabled" | "tag" | "lines" | "mandatory" | "returnObject" | "selectStrategy" | "density" | "rounded" | "tile" | "slim" | "activatable" | "selectable" | "openStrategy" | "itemType"> & {
|
377
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "variant" | "nav" | "style" | "disabled" | "tag" | "lines" | "mandatory" | "returnObject" | "selectStrategy" | "density" | "rounded" | "tile" | "slim" | "filterable" | "activatable" | "selectable" | "openStrategy" | "itemType"> & {
|
374
378
|
items?: readonly any[] | undefined;
|
375
379
|
itemTitle?: SelectItemKey<any>;
|
376
380
|
itemValue?: SelectItemKey<any>;
|
@@ -486,6 +490,7 @@ export declare const makeSelectProps: <Defaults extends {
|
|
486
490
|
rounded: string | number | boolean;
|
487
491
|
tile: boolean;
|
488
492
|
slim: boolean;
|
493
|
+
filterable: boolean;
|
489
494
|
activatable: boolean;
|
490
495
|
selectable: boolean;
|
491
496
|
openStrategy: import("../../composables/nested/nested.js").OpenStrategyProp;
|
@@ -503,6 +508,7 @@ export declare const makeSelectProps: <Defaults extends {
|
|
503
508
|
density: import("../../composables/density.js").Density;
|
504
509
|
tile: boolean;
|
505
510
|
slim: boolean;
|
511
|
+
filterable: boolean;
|
506
512
|
activatable: boolean;
|
507
513
|
selectable: boolean;
|
508
514
|
openStrategy: import("../../composables/nested/nested.js").OpenStrategyProp;
|
@@ -534,7 +540,7 @@ export declare const makeSelectProps: <Defaults extends {
|
|
534
540
|
value: boolean;
|
535
541
|
path: unknown[];
|
536
542
|
}) => any) | undefined;
|
537
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "variant" | "nav" | "style" | "disabled" | "tag" | "lines" | "mandatory" | "returnObject" | "selectStrategy" | "density" | "rounded" | "tile" | "slim" | "activatable" | "selectable" | "openStrategy" | "itemType"> & {
|
543
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "variant" | "nav" | "style" | "disabled" | "tag" | "lines" | "mandatory" | "returnObject" | "selectStrategy" | "density" | "rounded" | "tile" | "slim" | "filterable" | "activatable" | "selectable" | "openStrategy" | "itemType"> & {
|
538
544
|
items?: readonly any[] | undefined;
|
539
545
|
itemTitle?: SelectItemKey<any>;
|
540
546
|
itemValue?: SelectItemKey<any>;
|
@@ -649,6 +655,7 @@ export declare const makeSelectProps: <Defaults extends {
|
|
649
655
|
rounded: string | number | boolean;
|
650
656
|
tile: boolean;
|
651
657
|
slim: boolean;
|
658
|
+
filterable: boolean;
|
652
659
|
activatable: boolean;
|
653
660
|
selectable: boolean;
|
654
661
|
openStrategy: import("../../composables/nested/nested.js").OpenStrategyProp;
|
@@ -666,6 +673,7 @@ export declare const makeSelectProps: <Defaults extends {
|
|
666
673
|
density: import("../../composables/density.js").Density;
|
667
674
|
tile: boolean;
|
668
675
|
slim: boolean;
|
676
|
+
filterable: boolean;
|
669
677
|
activatable: boolean;
|
670
678
|
selectable: boolean;
|
671
679
|
openStrategy: import("../../composables/nested/nested.js").OpenStrategyProp;
|
@@ -697,7 +705,7 @@ export declare const makeSelectProps: <Defaults extends {
|
|
697
705
|
value: boolean;
|
698
706
|
path: unknown[];
|
699
707
|
}) => any) | undefined;
|
700
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "variant" | "nav" | "style" | "disabled" | "tag" | "lines" | "mandatory" | "returnObject" | "selectStrategy" | "density" | "rounded" | "tile" | "slim" | "activatable" | "selectable" | "openStrategy" | "itemType"> & {
|
708
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "variant" | "nav" | "style" | "disabled" | "tag" | "lines" | "mandatory" | "returnObject" | "selectStrategy" | "density" | "rounded" | "tile" | "slim" | "filterable" | "activatable" | "selectable" | "openStrategy" | "itemType"> & {
|
701
709
|
items?: readonly any[] | undefined;
|
702
710
|
itemTitle?: SelectItemKey<any>;
|
703
711
|
itemValue?: SelectItemKey<any>;
|
@@ -2288,6 +2296,7 @@ export declare const makeVSelectProps: <Defaults extends {
|
|
2288
2296
|
rounded: string | number | boolean;
|
2289
2297
|
tile: boolean;
|
2290
2298
|
slim: boolean;
|
2299
|
+
filterable: boolean;
|
2291
2300
|
activatable: boolean;
|
2292
2301
|
selectable: boolean;
|
2293
2302
|
openStrategy: import("../../composables/nested/nested.js").OpenStrategyProp;
|
@@ -2305,6 +2314,7 @@ export declare const makeVSelectProps: <Defaults extends {
|
|
2305
2314
|
density: import("../../composables/density.js").Density;
|
2306
2315
|
tile: boolean;
|
2307
2316
|
slim: boolean;
|
2317
|
+
filterable: boolean;
|
2308
2318
|
activatable: boolean;
|
2309
2319
|
selectable: boolean;
|
2310
2320
|
openStrategy: import("../../composables/nested/nested.js").OpenStrategyProp;
|
@@ -2336,7 +2346,7 @@ export declare const makeVSelectProps: <Defaults extends {
|
|
2336
2346
|
value: boolean;
|
2337
2347
|
path: unknown[];
|
2338
2348
|
}) => any) | undefined;
|
2339
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "variant" | "nav" | "style" | "disabled" | "tag" | "lines" | "mandatory" | "returnObject" | "selectStrategy" | "density" | "rounded" | "tile" | "slim" | "activatable" | "selectable" | "openStrategy" | "itemType"> & {
|
2349
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "variant" | "nav" | "style" | "disabled" | "tag" | "lines" | "mandatory" | "returnObject" | "selectStrategy" | "density" | "rounded" | "tile" | "slim" | "filterable" | "activatable" | "selectable" | "openStrategy" | "itemType"> & {
|
2340
2350
|
items?: readonly any[] | undefined;
|
2341
2351
|
itemTitle?: SelectItemKey<any>;
|
2342
2352
|
itemValue?: SelectItemKey<any>;
|
@@ -2451,6 +2461,7 @@ export declare const makeVSelectProps: <Defaults extends {
|
|
2451
2461
|
rounded: string | number | boolean;
|
2452
2462
|
tile: boolean;
|
2453
2463
|
slim: boolean;
|
2464
|
+
filterable: boolean;
|
2454
2465
|
activatable: boolean;
|
2455
2466
|
selectable: boolean;
|
2456
2467
|
openStrategy: import("../../composables/nested/nested.js").OpenStrategyProp;
|
@@ -2468,6 +2479,7 @@ export declare const makeVSelectProps: <Defaults extends {
|
|
2468
2479
|
density: import("../../composables/density.js").Density;
|
2469
2480
|
tile: boolean;
|
2470
2481
|
slim: boolean;
|
2482
|
+
filterable: boolean;
|
2471
2483
|
activatable: boolean;
|
2472
2484
|
selectable: boolean;
|
2473
2485
|
openStrategy: import("../../composables/nested/nested.js").OpenStrategyProp;
|
@@ -2499,7 +2511,7 @@ export declare const makeVSelectProps: <Defaults extends {
|
|
2499
2511
|
value: boolean;
|
2500
2512
|
path: unknown[];
|
2501
2513
|
}) => any) | undefined;
|
2502
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "variant" | "nav" | "style" | "disabled" | "tag" | "lines" | "mandatory" | "returnObject" | "selectStrategy" | "density" | "rounded" | "tile" | "slim" | "activatable" | "selectable" | "openStrategy" | "itemType"> & {
|
2514
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "variant" | "nav" | "style" | "disabled" | "tag" | "lines" | "mandatory" | "returnObject" | "selectStrategy" | "density" | "rounded" | "tile" | "slim" | "filterable" | "activatable" | "selectable" | "openStrategy" | "itemType"> & {
|
2503
2515
|
items?: readonly any[] | undefined;
|
2504
2516
|
itemTitle?: SelectItemKey<any>;
|
2505
2517
|
itemValue?: SelectItemKey<any>;
|
@@ -2615,6 +2627,7 @@ export declare const makeVSelectProps: <Defaults extends {
|
|
2615
2627
|
rounded: string | number | boolean;
|
2616
2628
|
tile: boolean;
|
2617
2629
|
slim: boolean;
|
2630
|
+
filterable: boolean;
|
2618
2631
|
activatable: boolean;
|
2619
2632
|
selectable: boolean;
|
2620
2633
|
openStrategy: import("../../composables/nested/nested.js").OpenStrategyProp;
|
@@ -2632,6 +2645,7 @@ export declare const makeVSelectProps: <Defaults extends {
|
|
2632
2645
|
density: import("../../composables/density.js").Density;
|
2633
2646
|
tile: boolean;
|
2634
2647
|
slim: boolean;
|
2648
|
+
filterable: boolean;
|
2635
2649
|
activatable: boolean;
|
2636
2650
|
selectable: boolean;
|
2637
2651
|
openStrategy: import("../../composables/nested/nested.js").OpenStrategyProp;
|
@@ -2663,7 +2677,7 @@ export declare const makeVSelectProps: <Defaults extends {
|
|
2663
2677
|
value: boolean;
|
2664
2678
|
path: unknown[];
|
2665
2679
|
}) => any) | undefined;
|
2666
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "variant" | "nav" | "style" | "disabled" | "tag" | "lines" | "mandatory" | "returnObject" | "selectStrategy" | "density" | "rounded" | "tile" | "slim" | "activatable" | "selectable" | "openStrategy" | "itemType"> & {
|
2680
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "variant" | "nav" | "style" | "disabled" | "tag" | "lines" | "mandatory" | "returnObject" | "selectStrategy" | "density" | "rounded" | "tile" | "slim" | "filterable" | "activatable" | "selectable" | "openStrategy" | "itemType"> & {
|
2667
2681
|
items?: readonly any[] | undefined;
|
2668
2682
|
itemTitle?: SelectItemKey<any>;
|
2669
2683
|
itemValue?: SelectItemKey<any>;
|
@@ -2778,6 +2792,7 @@ export declare const makeVSelectProps: <Defaults extends {
|
|
2778
2792
|
rounded: string | number | boolean;
|
2779
2793
|
tile: boolean;
|
2780
2794
|
slim: boolean;
|
2795
|
+
filterable: boolean;
|
2781
2796
|
activatable: boolean;
|
2782
2797
|
selectable: boolean;
|
2783
2798
|
openStrategy: import("../../composables/nested/nested.js").OpenStrategyProp;
|
@@ -2795,6 +2810,7 @@ export declare const makeVSelectProps: <Defaults extends {
|
|
2795
2810
|
density: import("../../composables/density.js").Density;
|
2796
2811
|
tile: boolean;
|
2797
2812
|
slim: boolean;
|
2813
|
+
filterable: boolean;
|
2798
2814
|
activatable: boolean;
|
2799
2815
|
selectable: boolean;
|
2800
2816
|
openStrategy: import("../../composables/nested/nested.js").OpenStrategyProp;
|
@@ -2826,7 +2842,7 @@ export declare const makeVSelectProps: <Defaults extends {
|
|
2826
2842
|
value: boolean;
|
2827
2843
|
path: unknown[];
|
2828
2844
|
}) => any) | undefined;
|
2829
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "variant" | "nav" | "style" | "disabled" | "tag" | "lines" | "mandatory" | "returnObject" | "selectStrategy" | "density" | "rounded" | "tile" | "slim" | "activatable" | "selectable" | "openStrategy" | "itemType"> & {
|
2845
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "variant" | "nav" | "style" | "disabled" | "tag" | "lines" | "mandatory" | "returnObject" | "selectStrategy" | "density" | "rounded" | "tile" | "slim" | "filterable" | "activatable" | "selectable" | "openStrategy" | "itemType"> & {
|
2830
2846
|
items?: readonly any[] | undefined;
|
2831
2847
|
itemTitle?: SelectItemKey<any>;
|
2832
2848
|
itemValue?: SelectItemKey<any>;
|
@@ -3912,6 +3928,7 @@ export declare const VSelect: {
|
|
3912
3928
|
rounded: string | number | boolean;
|
3913
3929
|
tile: boolean;
|
3914
3930
|
slim: boolean;
|
3931
|
+
filterable: boolean;
|
3915
3932
|
activatable: boolean;
|
3916
3933
|
selectable: boolean;
|
3917
3934
|
openStrategy: import("../../composables/nested/nested.js").OpenStrategyProp;
|
@@ -3929,6 +3946,7 @@ export declare const VSelect: {
|
|
3929
3946
|
density: import("../../composables/density.js").Density;
|
3930
3947
|
tile: boolean;
|
3931
3948
|
slim: boolean;
|
3949
|
+
filterable: boolean;
|
3932
3950
|
activatable: boolean;
|
3933
3951
|
selectable: boolean;
|
3934
3952
|
openStrategy: import("../../composables/nested/nested.js").OpenStrategyProp;
|
@@ -3960,7 +3978,7 @@ export declare const VSelect: {
|
|
3960
3978
|
value: boolean;
|
3961
3979
|
path: unknown[];
|
3962
3980
|
}) => any) | undefined;
|
3963
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "variant" | "nav" | "style" | "disabled" | "tag" | "lines" | "mandatory" | "returnObject" | "selectStrategy" | "density" | "rounded" | "tile" | "slim" | "activatable" | "selectable" | "openStrategy" | "itemType"> & {
|
3981
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "variant" | "nav" | "style" | "disabled" | "tag" | "lines" | "mandatory" | "returnObject" | "selectStrategy" | "density" | "rounded" | "tile" | "slim" | "filterable" | "activatable" | "selectable" | "openStrategy" | "itemType"> & {
|
3964
3982
|
items?: readonly any[] | undefined;
|
3965
3983
|
itemTitle?: SelectItemKey<any>;
|
3966
3984
|
itemValue?: SelectItemKey<any>;
|
@@ -6418,6 +6436,7 @@ export declare const VSelect: {
|
|
6418
6436
|
rounded: string | number | boolean;
|
6419
6437
|
tile: boolean;
|
6420
6438
|
slim: boolean;
|
6439
|
+
filterable: boolean;
|
6421
6440
|
activatable: boolean;
|
6422
6441
|
selectable: boolean;
|
6423
6442
|
openStrategy: import("../../composables/nested/nested.js").OpenStrategyProp;
|
@@ -6435,6 +6454,7 @@ export declare const VSelect: {
|
|
6435
6454
|
density: import("../../composables/density.js").Density;
|
6436
6455
|
tile: boolean;
|
6437
6456
|
slim: boolean;
|
6457
|
+
filterable: boolean;
|
6438
6458
|
activatable: boolean;
|
6439
6459
|
selectable: boolean;
|
6440
6460
|
openStrategy: import("../../composables/nested/nested.js").OpenStrategyProp;
|
@@ -6466,7 +6486,7 @@ export declare const VSelect: {
|
|
6466
6486
|
value: boolean;
|
6467
6487
|
path: unknown[];
|
6468
6488
|
}) => any) | undefined;
|
6469
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "variant" | "nav" | "style" | "disabled" | "tag" | "lines" | "mandatory" | "returnObject" | "selectStrategy" | "density" | "rounded" | "tile" | "slim" | "activatable" | "selectable" | "openStrategy" | "itemType"> & {
|
6489
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "variant" | "nav" | "style" | "disabled" | "tag" | "lines" | "mandatory" | "returnObject" | "selectStrategy" | "density" | "rounded" | "tile" | "slim" | "filterable" | "activatable" | "selectable" | "openStrategy" | "itemType"> & {
|
6470
6490
|
items?: readonly any[] | undefined;
|
6471
6491
|
itemTitle?: SelectItemKey<any>;
|
6472
6492
|
itemValue?: SelectItemKey<any>;
|
@@ -8877,6 +8897,7 @@ export declare const VSelect: {
|
|
8877
8897
|
rounded: string | number | boolean;
|
8878
8898
|
tile: boolean;
|
8879
8899
|
slim: boolean;
|
8900
|
+
filterable: boolean;
|
8880
8901
|
activatable: boolean;
|
8881
8902
|
selectable: boolean;
|
8882
8903
|
openStrategy: import("../../composables/nested/nested.js").OpenStrategyProp;
|
@@ -8894,6 +8915,7 @@ export declare const VSelect: {
|
|
8894
8915
|
density: import("../../composables/density.js").Density;
|
8895
8916
|
tile: boolean;
|
8896
8917
|
slim: boolean;
|
8918
|
+
filterable: boolean;
|
8897
8919
|
activatable: boolean;
|
8898
8920
|
selectable: boolean;
|
8899
8921
|
openStrategy: import("../../composables/nested/nested.js").OpenStrategyProp;
|
@@ -8925,7 +8947,7 @@ export declare const VSelect: {
|
|
8925
8947
|
value: boolean;
|
8926
8948
|
path: unknown[];
|
8927
8949
|
}) => any) | undefined;
|
8928
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "variant" | "nav" | "style" | "disabled" | "tag" | "lines" | "mandatory" | "returnObject" | "selectStrategy" | "density" | "rounded" | "tile" | "slim" | "activatable" | "selectable" | "openStrategy" | "itemType"> & {
|
8950
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "variant" | "nav" | "style" | "disabled" | "tag" | "lines" | "mandatory" | "returnObject" | "selectStrategy" | "density" | "rounded" | "tile" | "slim" | "filterable" | "activatable" | "selectable" | "openStrategy" | "itemType"> & {
|
8929
8951
|
items?: readonly any[] | undefined;
|
8930
8952
|
itemTitle?: SelectItemKey<any>;
|
8931
8953
|
itemValue?: SelectItemKey<any>;
|