@vuetify/nightly 3.6.11-master.2024-07-07 → 3.6.12-master.2024-07-10
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 -7
- package/dist/json/attributes.json +58 -70
- package/dist/json/importMap-labs.json +12 -12
- package/dist/json/importMap.json +114 -114
- package/dist/json/tags.json +4 -7
- package/dist/json/web-types.json +98 -117
- package/dist/vuetify-labs.css +3483 -3461
- package/dist/vuetify-labs.d.ts +640 -751
- package/dist/vuetify-labs.esm.js +80 -70
- package/dist/vuetify-labs.esm.js.map +1 -1
- package/dist/vuetify-labs.js +80 -70
- package/dist/vuetify-labs.min.css +2 -2
- package/dist/vuetify.css +1390 -1368
- package/dist/vuetify.d.ts +604 -697
- package/dist/vuetify.esm.js +63 -54
- package/dist/vuetify.esm.js.map +1 -1
- package/dist/vuetify.js +63 -54
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +2 -2
- package/dist/vuetify.min.js +48 -46
- package/dist/vuetify.min.js.map +1 -1
- package/lib/blueprints/index.d.mts +3 -3
- package/lib/blueprints/md1.d.mts +3 -3
- package/lib/blueprints/md2.d.mts +3 -3
- package/lib/blueprints/md3.d.mts +3 -3
- package/lib/components/VAutocomplete/index.d.mts +25 -31
- package/lib/components/VBottomSheet/index.d.mts +10 -10
- package/lib/components/VCheckbox/index.d.mts +2 -8
- package/lib/components/VCombobox/index.d.mts +25 -31
- package/lib/components/VDataTable/VDataTableFooter.mjs +5 -4
- package/lib/components/VDataTable/VDataTableFooter.mjs.map +1 -1
- package/lib/components/VDataTable/index.d.mts +108 -108
- package/lib/components/VDatePicker/VDatePickerControls.mjs +5 -4
- package/lib/components/VDatePicker/VDatePickerControls.mjs.map +1 -1
- package/lib/components/VDatePicker/VDatePickerMonth.mjs +1 -1
- package/lib/components/VDatePicker/VDatePickerMonth.mjs.map +1 -1
- package/lib/components/VDatePicker/index.d.mts +70 -55
- package/lib/components/VDialog/index.d.mts +28 -28
- package/lib/components/VExpansionPanel/VExpansionPanels.mjs +6 -2
- package/lib/components/VExpansionPanel/VExpansionPanels.mjs.map +1 -1
- package/lib/components/VExpansionPanel/index.d.mts +48 -66
- package/lib/components/VField/VField.css +11 -6
- package/lib/components/VField/VField.mjs +5 -7
- package/lib/components/VField/VField.mjs.map +1 -1
- package/lib/components/VField/VField.sass +6 -2
- package/lib/components/VField/index.d.mts +6 -12
- package/lib/components/VFileInput/index.d.mts +6 -12
- package/lib/components/VInput/VInput.css +5 -5
- package/lib/components/VInput/VInput.mjs +1 -4
- package/lib/components/VInput/VInput.mjs.map +1 -1
- package/lib/components/VInput/VInput.sass +1 -1
- package/lib/components/VInput/index.d.mts +2 -8
- package/lib/components/VMenu/index.d.mts +32 -32
- package/lib/components/VOverlay/index.d.mts +10 -10
- package/lib/components/VOverlay/locationStrategies.mjs.map +1 -1
- package/lib/components/VProgressLinear/VProgressLinear.css +17 -0
- package/lib/components/VProgressLinear/VProgressLinear.mjs +6 -5
- package/lib/components/VProgressLinear/VProgressLinear.mjs.map +1 -1
- package/lib/components/VProgressLinear/VProgressLinear.sass +11 -0
- package/lib/components/VRadio/VRadio.mjs +8 -5
- package/lib/components/VRadio/VRadio.mjs.map +1 -1
- package/lib/components/VRadioGroup/index.d.mts +2 -8
- package/lib/components/VRangeSlider/index.d.mts +2 -8
- package/lib/components/VSelect/index.d.mts +25 -31
- package/lib/components/VSlider/index.d.mts +2 -8
- package/lib/components/VSnackbar/index.d.mts +28 -28
- package/lib/components/VSpeedDial/index.d.mts +14 -14
- package/lib/components/VSwitch/index.d.mts +2 -8
- package/lib/components/VTextField/VTextField.mjs +1 -1
- package/lib/components/VTextField/VTextField.mjs.map +1 -1
- package/lib/components/VTextField/index.d.mts +18 -24
- package/lib/components/VTextarea/VTextarea.mjs +5 -5
- package/lib/components/VTextarea/VTextarea.mjs.map +1 -1
- package/lib/components/VTextarea/index.d.mts +72 -87
- package/lib/components/VTooltip/index.d.mts +32 -32
- package/lib/components/index.d.mts +646 -739
- package/lib/composables/calendar.mjs +10 -4
- package/lib/composables/calendar.mjs.map +1 -1
- package/lib/composables/date/DateAdapter.mjs.map +1 -1
- package/lib/composables/date/adapters/vuetify.mjs +15 -13
- package/lib/composables/date/adapters/vuetify.mjs.map +1 -1
- package/lib/entry-bundler.mjs +1 -1
- package/lib/framework.mjs +1 -1
- package/lib/index.d.mts +48 -48
- package/lib/labs/VCalendar/VCalendar.mjs +7 -6
- package/lib/labs/VCalendar/VCalendar.mjs.map +1 -1
- package/lib/labs/VCalendar/index.d.mts +6 -0
- package/lib/labs/VDateInput/index.d.mts +39 -39
- package/lib/labs/VNumberInput/VNumberInput.mjs +1 -1
- package/lib/labs/VNumberInput/VNumberInput.mjs.map +1 -1
- package/lib/labs/VNumberInput/index.d.mts +6 -12
- package/lib/labs/VSnackbarQueue/index.d.mts +37 -37
- package/lib/labs/VStepperVertical/index.d.mts +0 -18
- package/lib/labs/VTimePicker/VTimePicker.mjs +5 -5
- package/lib/labs/VTimePicker/VTimePicker.mjs.map +1 -1
- package/lib/labs/VTimePicker/VTimePickerClock.mjs +2 -2
- package/lib/labs/VTimePicker/VTimePickerClock.mjs.map +1 -1
- package/lib/labs/VTimePicker/VTimePickerControls.mjs +2 -2
- package/lib/labs/VTimePicker/VTimePickerControls.mjs.map +1 -1
- package/lib/labs/VTimePicker/index.d.mts +18 -18
- package/lib/labs/components.d.mts +106 -124
- package/package.json +1 -1
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"VProgressLinear.mjs","names":["useBackgroundColor","useTextColor","makeComponentProps","useIntersectionObserver","useRtl","makeLocationProps","useLocation","useProxiedModel","makeRoundedProps","useRounded","makeTagProps","makeThemeProps","provideTheme","computed","Transition","clamp","convertToUnit","genericComponent","propsFactory","useRender","makeVProgressLinearProps","absolute","Boolean","active","type","default","bgColor","String","bgOpacity","Number","bufferValue","bufferColor","bufferOpacity","clickable","color","height","indeterminate","max","modelValue","opacity","reverse","stream","striped","roundedBar","location","VProgressLinear","name","props","emits","value","setup","_ref","slots","progress","isRtl","rtlClasses","themeClasses","locationStyles","textColorClasses","textColorStyles","backgroundColorClasses","backgroundColorStyles","bufferColorClasses","bufferColorStyles","barColorClasses","barColorStyles","roundedClasses","intersectionRef","isIntersecting","parseFloat","normalizedBuffer","normalizedValue","isReversed","transition","handleClick","e","left","right","width","getBoundingClientRect","clientX","Math","round","_createVNode","tag","rounded","class","bottom","undefined","top","style","borderTop","map","bar","buffer"],"sources":["../../../src/components/VProgressLinear/VProgressLinear.tsx"],"sourcesContent":["// Styles\nimport './VProgressLinear.sass'\n\n// Composables\nimport { useBackgroundColor, useTextColor } from '@/composables/color'\nimport { makeComponentProps } from '@/composables/component'\nimport { useIntersectionObserver } from '@/composables/intersectionObserver'\nimport { useRtl } from '@/composables/locale'\nimport { makeLocationProps, useLocation } from '@/composables/location'\nimport { useProxiedModel } from '@/composables/proxiedModel'\nimport { makeRoundedProps, useRounded } from '@/composables/rounded'\nimport { makeTagProps } from '@/composables/tag'\nimport { makeThemeProps, provideTheme } from '@/composables/theme'\n\n// Utilities\nimport { computed, Transition } from 'vue'\nimport { clamp, convertToUnit, genericComponent, propsFactory, useRender } from '@/util'\n\ntype VProgressLinearSlots = {\n default: { value: number, buffer: number }\n}\n\nexport const makeVProgressLinearProps = propsFactory({\n absolute: Boolean,\n active: {\n type: Boolean,\n default: true,\n },\n bgColor: String,\n bgOpacity: [Number, String],\n bufferValue: {\n type: [Number, String],\n default: 0,\n },\n bufferColor: String,\n bufferOpacity: [Number, String],\n clickable: Boolean,\n color: String,\n height: {\n type: [Number, String],\n default: 4,\n },\n indeterminate: Boolean,\n max: {\n type: [Number, String],\n default: 100,\n },\n modelValue: {\n type: [Number, String],\n default: 0,\n },\n opacity: [Number, String],\n reverse: Boolean,\n stream: Boolean,\n striped: Boolean,\n roundedBar: Boolean,\n\n ...makeComponentProps(),\n ...makeLocationProps({ location: 'top' } as const),\n ...makeRoundedProps(),\n ...makeTagProps(),\n ...makeThemeProps(),\n}, 'VProgressLinear')\n\nexport const VProgressLinear = genericComponent<VProgressLinearSlots>()({\n name: 'VProgressLinear',\n\n props: makeVProgressLinearProps(),\n\n emits: {\n 'update:modelValue': (value: number) => true,\n },\n\n setup (props, { slots }) {\n const progress = useProxiedModel(props, 'modelValue')\n const { isRtl, rtlClasses } = useRtl()\n const { themeClasses } = provideTheme(props)\n const { locationStyles } = useLocation(props)\n const { textColorClasses, textColorStyles } = useTextColor(props, 'color')\n const {\n backgroundColorClasses,\n backgroundColorStyles,\n } = useBackgroundColor(computed(() => props.bgColor || props.color))\n const {\n backgroundColorClasses: bufferColorClasses,\n backgroundColorStyles: bufferColorStyles,\n } = useBackgroundColor(computed(() => props.bufferColor || props.bgColor || props.color))\n const {\n backgroundColorClasses: barColorClasses,\n backgroundColorStyles: barColorStyles,\n } = useBackgroundColor(props, 'color')\n const { roundedClasses } = useRounded(props)\n const { intersectionRef, isIntersecting } = useIntersectionObserver()\n\n const max = computed(() => parseFloat(props.max))\n const height = computed(() => parseFloat(props.height))\n const normalizedBuffer = computed(() => clamp(parseFloat(props.bufferValue) / max.value * 100, 0, 100))\n const normalizedValue = computed(() => clamp(parseFloat(progress.value) / max.value * 100, 0, 100))\n const isReversed = computed(() => isRtl.value !== props.reverse)\n const transition = computed(() => props.indeterminate ? 'fade-transition' : 'slide-x-transition')\n\n function handleClick (e: MouseEvent) {\n if (!intersectionRef.value) return\n\n const { left, right, width } = intersectionRef.value.getBoundingClientRect()\n const value = isReversed.value ? (width - e.clientX) + (right - width) : e.clientX - left\n\n progress.value = Math.round(value / width * max.value)\n }\n\n useRender(() => (\n <props.tag\n ref={ intersectionRef }\n class={[\n 'v-progress-linear',\n {\n 'v-progress-linear--absolute': props.absolute,\n 'v-progress-linear--active': props.active && isIntersecting.value,\n 'v-progress-linear--reverse': isReversed.value,\n 'v-progress-linear--rounded': props.rounded,\n 'v-progress-linear--rounded-bar': props.roundedBar,\n 'v-progress-linear--striped': props.striped,\n },\n roundedClasses.value,\n themeClasses.value,\n rtlClasses.value,\n props.class,\n ]}\n style={[\n {\n bottom: props.location === 'bottom' ? 0 : undefined,\n top: props.location === 'top' ? 0 : undefined,\n height: props.active ? convertToUnit(height.value) : 0,\n '--v-progress-linear-height': convertToUnit(height.value),\n ...(props.absolute ? locationStyles.value : {}),\n },\n props.style,\n ]}\n role=\"progressbar\"\n aria-hidden={ props.active ? 'false' : 'true' }\n aria-valuemin=\"0\"\n aria-valuemax={ props.max }\n aria-valuenow={ props.indeterminate ? undefined : normalizedValue.value }\n onClick={ props.clickable && handleClick }\n >\n { props.stream && (\n <div\n key=\"stream\"\n class={[\n 'v-progress-linear__stream',\n textColorClasses.value,\n ]}\n style={{\n ...textColorStyles.value,\n [isReversed.value ? 'left' : 'right']: convertToUnit(-height.value),\n borderTop: `${convertToUnit(height.value / 2)} dotted`,\n opacity: parseFloat(props.bufferOpacity!),\n top: `calc(50% - ${convertToUnit(height.value / 4)})`,\n width: convertToUnit(100 - normalizedBuffer.value, '%'),\n '--v-progress-linear-stream-to': convertToUnit(height.value * (isReversed.value ? 1 : -1)),\n }}\n />\n )}\n\n <div\n class={[\n 'v-progress-linear__background',\n backgroundColorClasses.value,\n ]}\n style={[\n backgroundColorStyles.value,\n {\n opacity: parseFloat(props.bgOpacity!),\n width: props.stream ? 0 : undefined,\n },\n ]}\n />\n\n <div\n class={[\n 'v-progress-linear__buffer',\n bufferColorClasses.value,\n ]}\n style={[\n bufferColorStyles.value,\n {\n opacity: parseFloat(props.bufferOpacity!),\n width: convertToUnit(normalizedBuffer.value, '%'),\n },\n ]}\n />\n\n <Transition name={ transition.value }>\n { !props.indeterminate ? (\n <div\n class={[\n 'v-progress-linear__determinate',\n barColorClasses.value,\n ]}\n style={[\n barColorStyles.value,\n { width: convertToUnit(normalizedValue.value, '%') },\n ]}\n />\n ) : (\n <div class=\"v-progress-linear__indeterminate\">\n {['long', 'short'].map(bar => (\n <div\n key={ bar }\n class={[\n 'v-progress-linear__indeterminate',\n bar,\n barColorClasses.value,\n ]}\n style={ barColorStyles.value }\n />\n ))}\n </div>\n )}\n </Transition>\n\n { slots.default && (\n <div class=\"v-progress-linear__content\">\n { slots.default({ value: normalizedValue.value, buffer: normalizedBuffer.value }) }\n </div>\n )}\n </props.tag>\n ))\n\n return {}\n },\n})\n\nexport type VProgressLinear = InstanceType<typeof VProgressLinear>\n"],"mappings":";AAAA;AACA;;AAEA;AAAA,SACSA,kBAAkB,EAAEC,YAAY;AAAA,SAChCC,kBAAkB;AAAA,SAClBC,uBAAuB;AAAA,SACvBC,MAAM;AAAA,SACNC,iBAAiB,EAAEC,WAAW;AAAA,SAC9BC,eAAe;AAAA,SACfC,gBAAgB,EAAEC,UAAU;AAAA,SAC5BC,YAAY;AAAA,SACZC,cAAc,EAAEC,YAAY,uCAErC;AACA,SAASC,QAAQ,EAAEC,UAAU,QAAQ,KAAK;AAAA,SACjCC,KAAK,EAAEC,aAAa,EAAEC,gBAAgB,EAAEC,YAAY,EAAEC,SAAS;AAMxE,OAAO,MAAMC,wBAAwB,GAAGF,YAAY,CAAC;EACnDG,QAAQ,EAAEC,OAAO;EACjBC,MAAM,EAAE;IACNC,IAAI,EAAEF,OAAO;IACbG,OAAO,EAAE;EACX,CAAC;EACDC,OAAO,EAAEC,MAAM;EACfC,SAAS,EAAE,CAACC,MAAM,EAAEF,MAAM,CAAC;EAC3BG,WAAW,EAAE;IACXN,IAAI,EAAE,CAACK,MAAM,EAAEF,MAAM,CAAC;IACtBF,OAAO,EAAE;EACX,CAAC;EACDM,WAAW,EAAEJ,MAAM;EACnBK,aAAa,EAAE,CAACH,MAAM,EAAEF,MAAM,CAAC;EAC/BM,SAAS,EAAEX,OAAO;EAClBY,KAAK,EAAEP,MAAM;EACbQ,MAAM,EAAE;IACNX,IAAI,EAAE,CAACK,MAAM,EAAEF,MAAM,CAAC;IACtBF,OAAO,EAAE;EACX,CAAC;EACDW,aAAa,EAAEd,OAAO;EACtBe,GAAG,EAA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AET/B,KAAK,CAAC3B,OAAO,CAAC;QAAEwB,KAAK,EAAEsB,eAAe,CAACtB,KAAK;QAAE6C,MAAM,EAAExB,gBAAgB,CAACrB;MAAM,CAAC,CAAC,EAEpF;IAAA,EAEJ,CAAC;IAEF,OAAO,CAAC,CAAC;EACX;AACF,CAAC,CAAC","ignoreList":[]}
|
1
|
+
{"version":3,"file":"VProgressLinear.mjs","names":["useBackgroundColor","useTextColor","makeComponentProps","useIntersectionObserver","useRtl","makeLocationProps","useLocation","useProxiedModel","makeRoundedProps","useRounded","makeTagProps","makeThemeProps","provideTheme","computed","Transition","clamp","convertToUnit","genericComponent","IN_BROWSER","propsFactory","useRender","makeVProgressLinearProps","absolute","Boolean","active","type","default","bgColor","String","bgOpacity","Number","bufferValue","bufferColor","bufferOpacity","clickable","color","height","indeterminate","max","modelValue","opacity","reverse","stream","striped","roundedBar","location","VProgressLinear","name","props","emits","value","setup","_ref","slots","progress","isRtl","rtlClasses","themeClasses","locationStyles","textColorClasses","textColorStyles","backgroundColorClasses","backgroundColorStyles","bufferColorClasses","bufferColorStyles","barColorClasses","barColorStyles","roundedClasses","intersectionRef","isIntersecting","parseFloat","normalizedBuffer","normalizedValue","isReversed","transition","isForcedColorsModeActive","window","matchMedia","matches","handleClick","e","left","right","width","getBoundingClientRect","clientX","Math","round","_createVNode","tag","rounded","class","bottom","undefined","top","style","borderTop","map","bar","buffer"],"sources":["../../../src/components/VProgressLinear/VProgressLinear.tsx"],"sourcesContent":["// Styles\nimport './VProgressLinear.sass'\n\n// Composables\nimport { useBackgroundColor, useTextColor } from '@/composables/color'\nimport { makeComponentProps } from '@/composables/component'\nimport { useIntersectionObserver } from '@/composables/intersectionObserver'\nimport { useRtl } from '@/composables/locale'\nimport { makeLocationProps, useLocation } from '@/composables/location'\nimport { useProxiedModel } from '@/composables/proxiedModel'\nimport { makeRoundedProps, useRounded } from '@/composables/rounded'\nimport { makeTagProps } from '@/composables/tag'\nimport { makeThemeProps, provideTheme } from '@/composables/theme'\n\n// Utilities\nimport { computed, Transition } from 'vue'\nimport { clamp, convertToUnit, genericComponent, IN_BROWSER, propsFactory, useRender } from '@/util'\n\ntype VProgressLinearSlots = {\n default: { value: number, buffer: number }\n}\n\nexport const makeVProgressLinearProps = propsFactory({\n absolute: Boolean,\n active: {\n type: Boolean,\n default: true,\n },\n bgColor: String,\n bgOpacity: [Number, String],\n bufferValue: {\n type: [Number, String],\n default: 0,\n },\n bufferColor: String,\n bufferOpacity: [Number, String],\n clickable: Boolean,\n color: String,\n height: {\n type: [Number, String],\n default: 4,\n },\n indeterminate: Boolean,\n max: {\n type: [Number, String],\n default: 100,\n },\n modelValue: {\n type: [Number, String],\n default: 0,\n },\n opacity: [Number, String],\n reverse: Boolean,\n stream: Boolean,\n striped: Boolean,\n roundedBar: Boolean,\n\n ...makeComponentProps(),\n ...makeLocationProps({ location: 'top' } as const),\n ...makeRoundedProps(),\n ...makeTagProps(),\n ...makeThemeProps(),\n}, 'VProgressLinear')\n\nexport const VProgressLinear = genericComponent<VProgressLinearSlots>()({\n name: 'VProgressLinear',\n\n props: makeVProgressLinearProps(),\n\n emits: {\n 'update:modelValue': (value: number) => true,\n },\n\n setup (props, { slots }) {\n const progress = useProxiedModel(props, 'modelValue')\n const { isRtl, rtlClasses } = useRtl()\n const { themeClasses } = provideTheme(props)\n const { locationStyles } = useLocation(props)\n const { textColorClasses, textColorStyles } = useTextColor(props, 'color')\n const {\n backgroundColorClasses,\n backgroundColorStyles,\n } = useBackgroundColor(computed(() => props.bgColor || props.color))\n const {\n backgroundColorClasses: bufferColorClasses,\n backgroundColorStyles: bufferColorStyles,\n } = useBackgroundColor(computed(() => props.bufferColor || props.bgColor || props.color))\n const {\n backgroundColorClasses: barColorClasses,\n backgroundColorStyles: barColorStyles,\n } = useBackgroundColor(props, 'color')\n const { roundedClasses } = useRounded(props)\n const { intersectionRef, isIntersecting } = useIntersectionObserver()\n\n const max = computed(() => parseFloat(props.max))\n const height = computed(() => parseFloat(props.height))\n const normalizedBuffer = computed(() => clamp(parseFloat(props.bufferValue) / max.value * 100, 0, 100))\n const normalizedValue = computed(() => clamp(parseFloat(progress.value) / max.value * 100, 0, 100))\n const isReversed = computed(() => isRtl.value !== props.reverse)\n const transition = computed(() => props.indeterminate ? 'fade-transition' : 'slide-x-transition')\n const isForcedColorsModeActive = IN_BROWSER && window.matchMedia?.('(forced-colors: active)').matches\n\n function handleClick (e: MouseEvent) {\n if (!intersectionRef.value) return\n\n const { left, right, width } = intersectionRef.value.getBoundingClientRect()\n const value = isReversed.value ? (width - e.clientX) + (right - width) : e.clientX - left\n\n progress.value = Math.round(value / width * max.value)\n }\n\n useRender(() => (\n <props.tag\n ref={ intersectionRef }\n class={[\n 'v-progress-linear',\n {\n 'v-progress-linear--absolute': props.absolute,\n 'v-progress-linear--active': props.active && isIntersecting.value,\n 'v-progress-linear--reverse': isReversed.value,\n 'v-progress-linear--rounded': props.rounded,\n 'v-progress-linear--rounded-bar': props.roundedBar,\n 'v-progress-linear--striped': props.striped,\n },\n roundedClasses.value,\n themeClasses.value,\n rtlClasses.value,\n props.class,\n ]}\n style={[\n {\n bottom: props.location === 'bottom' ? 0 : undefined,\n top: props.location === 'top' ? 0 : undefined,\n height: props.active ? convertToUnit(height.value) : 0,\n '--v-progress-linear-height': convertToUnit(height.value),\n ...(props.absolute ? locationStyles.value : {}),\n },\n props.style,\n ]}\n role=\"progressbar\"\n aria-hidden={ props.active ? 'false' : 'true' }\n aria-valuemin=\"0\"\n aria-valuemax={ props.max }\n aria-valuenow={ props.indeterminate ? undefined : normalizedValue.value }\n onClick={ props.clickable && handleClick }\n >\n { props.stream && (\n <div\n key=\"stream\"\n class={[\n 'v-progress-linear__stream',\n textColorClasses.value,\n ]}\n style={{\n ...textColorStyles.value,\n [isReversed.value ? 'left' : 'right']: convertToUnit(-height.value),\n borderTop: `${convertToUnit(height.value / 2)} dotted`,\n opacity: parseFloat(props.bufferOpacity!),\n top: `calc(50% - ${convertToUnit(height.value / 4)})`,\n width: convertToUnit(100 - normalizedBuffer.value, '%'),\n '--v-progress-linear-stream-to': convertToUnit(height.value * (isReversed.value ? 1 : -1)),\n }}\n />\n )}\n\n <div\n class={[\n 'v-progress-linear__background',\n !isForcedColorsModeActive ? backgroundColorClasses.value : undefined,\n ]}\n style={[\n backgroundColorStyles.value,\n {\n opacity: parseFloat(props.bgOpacity!),\n width: props.stream ? 0 : undefined,\n },\n ]}\n />\n\n <div\n class={[\n 'v-progress-linear__buffer',\n !isForcedColorsModeActive ? bufferColorClasses.value : undefined,\n ]}\n style={[\n bufferColorStyles.value,\n {\n opacity: parseFloat(props.bufferOpacity!),\n width: convertToUnit(normalizedBuffer.value, '%'),\n },\n ]}\n />\n\n <Transition name={ transition.value }>\n { !props.indeterminate ? (\n <div\n class={[\n 'v-progress-linear__determinate',\n !isForcedColorsModeActive ? barColorClasses.value : undefined,\n ]}\n style={[\n barColorStyles.value,\n { width: convertToUnit(normalizedValue.value, '%') },\n ]}\n />\n ) : (\n <div class=\"v-progress-linear__indeterminate\">\n {['long', 'short'].map(bar => (\n <div\n key={ bar }\n class={[\n 'v-progress-linear__indeterminate',\n bar,\n !isForcedColorsModeActive ? barColorClasses.value : undefined,\n ]}\n style={ barColorStyles.value }\n />\n ))}\n </div>\n )}\n </Transition>\n\n { slots.default && (\n <div class=\"v-progress-linear__content\">\n { slots.default({ value: normalizedValue.value, buffer: normalizedBuffer.value }) }\n </div>\n )}\n </props.tag>\n ))\n\n return {}\n },\n})\n\nexport type VProgressLinear = InstanceType<typeof VProgressLinear>\n"],"mappings":";AAAA;AACA;;AAEA;AAAA,SACSA,kBAAkB,EAAEC,YAAY;AAAA,SAChCC,kBAAkB;AAAA,SAClBC,uBAAuB;AAAA,SACvBC,MAAM;AAAA,SACNC,iBAAiB,EAAEC,WAAW;AAAA,SAC9BC,eAAe;AAAA,SACfC,gBAAgB,EAAEC,UAAU;AAAA,SAC5BC,YAAY;AAAA,SACZC,cAAc,EAAEC,YAAY,uCAErC;A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tools.rounded($progress-linear-border-radius)
|
15
15
|
|
16
|
+
@media (forced-colors: active)
|
17
|
+
border: thin solid buttontext
|
18
|
+
|
16
19
|
// Elements
|
17
20
|
.v-progress-linear__background,
|
18
21
|
.v-progress-linear__buffer
|
@@ -25,6 +28,11 @@
|
|
25
28
|
width: 100%
|
26
29
|
transition-property: width, left, right
|
27
30
|
transition: inherit
|
31
|
+
|
32
|
+
@media (forced-colors: active)
|
33
|
+
.v-progress-linear__buffer
|
34
|
+
background-color: highlight
|
35
|
+
opacity: $progress-linear-stream-opacity
|
28
36
|
|
29
37
|
.v-progress-linear__content
|
30
38
|
align-items: center
|
@@ -41,6 +49,9 @@
|
|
41
49
|
.v-progress-linear__indeterminate
|
42
50
|
background: $progress-linear-background
|
43
51
|
|
52
|
+
@media (forced-colors: active)
|
53
|
+
background-color: highlight
|
54
|
+
|
44
55
|
.v-progress-linear__determinate
|
45
56
|
height: inherit
|
46
57
|
left: 0
|
@@ -15,11 +15,14 @@ export const VRadio = genericComponent()({
|
|
15
15
|
let {
|
16
16
|
slots
|
17
17
|
} = _ref;
|
18
|
-
useRender(() =>
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
18
|
+
useRender(() => {
|
19
|
+
const controlProps = VSelectionControl.filterProps(props);
|
20
|
+
return _createVNode(VSelectionControl, _mergeProps(controlProps, {
|
21
|
+
"class": ['v-radio', props.class],
|
22
|
+
"style": props.style,
|
23
|
+
"type": "radio"
|
24
|
+
}), slots);
|
25
|
+
});
|
23
26
|
return {};
|
24
27
|
}
|
25
28
|
});
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"VRadio.mjs","names":["makeVSelectionControlProps","VSelectionControl","genericComponent","propsFactory","useRender","makeVRadioProps","falseIcon","trueIcon","VRadio","name","props","setup","_ref","slots","_createVNode","_mergeProps","class","style"],"sources":["../../../src/components/VRadio/VRadio.tsx"],"sourcesContent":["// Components\nimport { makeVSelectionControlProps, VSelectionControl } from '@/components/VSelectionControl/VSelectionControl'\n\n// Utilities\nimport { genericComponent, propsFactory, useRender } from '@/util'\n\n// Types\nimport type { VSelectionControlSlots } from '@/components/VSelectionControl/VSelectionControl'\n\nexport const makeVRadioProps = propsFactory({\n ...makeVSelectionControlProps({\n falseIcon: '$radioOff',\n trueIcon: '$radioOn',\n }),\n}, 'VRadio')\n\nexport const VRadio = genericComponent<VSelectionControlSlots>()({\n name: 'VRadio',\n\n props: makeVRadioProps(),\n\n setup (props, { slots }) {\n useRender(() => (\n <VSelectionControl\n
|
1
|
+
{"version":3,"file":"VRadio.mjs","names":["makeVSelectionControlProps","VSelectionControl","genericComponent","propsFactory","useRender","makeVRadioProps","falseIcon","trueIcon","VRadio","name","props","setup","_ref","slots","controlProps","filterProps","_createVNode","_mergeProps","class","style"],"sources":["../../../src/components/VRadio/VRadio.tsx"],"sourcesContent":["// Components\nimport { makeVSelectionControlProps, VSelectionControl } from '@/components/VSelectionControl/VSelectionControl'\n\n// Utilities\nimport { genericComponent, propsFactory, useRender } from '@/util'\n\n// Types\nimport type { VSelectionControlSlots } from '@/components/VSelectionControl/VSelectionControl'\n\nexport const makeVRadioProps = propsFactory({\n ...makeVSelectionControlProps({\n falseIcon: '$radioOff',\n trueIcon: '$radioOn',\n }),\n}, 'VRadio')\n\nexport const VRadio = genericComponent<VSelectionControlSlots>()({\n name: 'VRadio',\n\n props: makeVRadioProps(),\n\n setup (props, { slots }) {\n useRender(() => {\n const controlProps = VSelectionControl.filterProps(props)\n\n return (\n <VSelectionControl\n { ...controlProps }\n class={[\n 'v-radio',\n props.class,\n ]}\n style={ props.style }\n type=\"radio\"\n v-slots={ slots }\n />\n )\n })\n\n return {}\n },\n})\n\nexport type VRadio = InstanceType<typeof VRadio>\n"],"mappings":";AAAA;AAAA,SACSA,0BAA0B,EAAEC,iBAAiB,sDAEtD;AAAA,SACSC,gBAAgB,EAAEC,YAAY,EAAEC,SAAS,gCAElD;AAGA,OAAO,MAAMC,eAAe,GAAGF,YAAY,CAAC;EAC1C,GAAGH,0BAA0B,CAAC;IAC5BM,SAAS,EAAE,WAAW;IACtBC,QAAQ,EAAE;EACZ,CAAC;AACH,CAAC,EAAE,QAAQ,CAAC;AAEZ,OAAO,MAAMC,MAAM,GAAGN,gBAAgB,CAAyB,CAAC,CAAC;EAC/DO,IAAI,EAAE,QAAQ;EAEdC,KAAK,EAAEL,eAAe,CAAC,CAAC;EAExBM,KAAKA,CAAED,KAAK,EAAAE,IAAA,EAAa;IAAA,IAAX;MAAEC;IAAM,CAAC,GAAAD,IAAA;IACrBR,SAAS,CAAC,MAAM;MACd,MAAMU,YAAY,GAAGb,iBAAiB,CAACc,WAAW,CAACL,KAAK,CAAC;MAEzD,OAAAM,YAAA,CAAAf,iBAAA,EAAAgB,WAAA,CAESH,YAAY;QAAA,SACV,CACL,SAAS,EACTJ,KAAK,CAACQ,KAAK,CACZ;QAAA,SACOR,KAAK,CAACS,KAAK;QAAA;MAAA,IAETN,KAAK;IAGrB,CAAC,CAAC;IAEF,OAAO,CAAC,CAAC;EACX;AACF,CAAC,CAAC","ignoreList":[]}
|
@@ -456,10 +456,7 @@ declare const VRadioGroup: {
|
|
456
456
|
maxWidth: (StringConstructor | NumberConstructor)[];
|
457
457
|
minWidth: (StringConstructor | NumberConstructor)[];
|
458
458
|
appendIcon: vue.PropType<IconValue>;
|
459
|
-
centerAffix:
|
460
|
-
type: BooleanConstructor;
|
461
|
-
default: boolean;
|
462
|
-
};
|
459
|
+
centerAffix: BooleanConstructor;
|
463
460
|
prependIcon: vue.PropType<IconValue>;
|
464
461
|
hideDetails: vue.PropType<boolean | "auto">;
|
465
462
|
hideSpinButtons: BooleanConstructor;
|
@@ -550,10 +547,7 @@ declare const VRadioGroup: {
|
|
550
547
|
maxWidth: (StringConstructor | NumberConstructor)[];
|
551
548
|
minWidth: (StringConstructor | NumberConstructor)[];
|
552
549
|
appendIcon: vue.PropType<IconValue>;
|
553
|
-
centerAffix:
|
554
|
-
type: BooleanConstructor;
|
555
|
-
default: boolean;
|
556
|
-
};
|
550
|
+
centerAffix: BooleanConstructor;
|
557
551
|
prependIcon: vue.PropType<IconValue>;
|
558
552
|
hideDetails: vue.PropType<boolean | "auto">;
|
559
553
|
hideSpinButtons: BooleanConstructor;
|
@@ -733,10 +733,7 @@ declare const VRangeSlider: {
|
|
733
733
|
};
|
734
734
|
id: StringConstructor;
|
735
735
|
appendIcon: PropType<IconValue>;
|
736
|
-
centerAffix:
|
737
|
-
type: BooleanConstructor;
|
738
|
-
default: boolean;
|
739
|
-
};
|
736
|
+
centerAffix: BooleanConstructor;
|
740
737
|
prependIcon: PropType<IconValue>;
|
741
738
|
hideDetails: PropType<boolean | "auto">;
|
742
739
|
hideSpinButtons: BooleanConstructor;
|
@@ -860,10 +857,7 @@ declare const VRangeSlider: {
|
|
860
857
|
};
|
861
858
|
id: StringConstructor;
|
862
859
|
appendIcon: PropType<IconValue>;
|
863
|
-
centerAffix:
|
864
|
-
type: BooleanConstructor;
|
865
|
-
default: boolean;
|
866
|
-
};
|
860
|
+
centerAffix: BooleanConstructor;
|
867
861
|
prependIcon: PropType<IconValue>;
|
868
862
|
hideDetails: PropType<boolean | "auto">;
|
869
863
|
hideSpinButtons: BooleanConstructor;
|
@@ -152,7 +152,7 @@ interface LocationStrategyData {
|
|
152
152
|
isRtl: Ref<boolean>;
|
153
153
|
}
|
154
154
|
type LocationStrategyFn = (data: LocationStrategyData, props: StrategyProps, contentStyles: Ref<Record<string, string>>) => undefined | {
|
155
|
-
updateLocation: (e
|
155
|
+
updateLocation: (e?: Event) => void;
|
156
156
|
};
|
157
157
|
declare const locationStrategies: {
|
158
158
|
static: typeof staticLocationStrategy;
|
@@ -299,6 +299,7 @@ declare const VSelect: {
|
|
299
299
|
direction: "horizontal" | "vertical";
|
300
300
|
valueComparator: typeof deepEqual;
|
301
301
|
clearIcon: IconValue;
|
302
|
+
centerAffix: boolean;
|
302
303
|
hideSpinButtons: boolean;
|
303
304
|
persistentHint: boolean;
|
304
305
|
itemChildren: NonNullable<SelectItemKey>;
|
@@ -343,7 +344,6 @@ declare const VSelect: {
|
|
343
344
|
'onClick:append'?: ((args_0: MouseEvent) => void) | undefined;
|
344
345
|
'onClick:appendInner'?: ((args_0: MouseEvent) => void) | undefined;
|
345
346
|
'onClick:prependInner'?: ((args_0: MouseEvent) => void) | undefined;
|
346
|
-
centerAffix?: boolean | undefined;
|
347
347
|
hint?: string | undefined;
|
348
348
|
hideDetails?: boolean | "auto" | undefined;
|
349
349
|
suffix?: string | undefined;
|
@@ -622,7 +622,7 @@ declare const VSelect: {
|
|
622
622
|
eager: boolean;
|
623
623
|
location: Anchor;
|
624
624
|
locationStrategy: NonNullable<"static" | ((data: LocationStrategyData, props: StrategyProps, contentStyles: vue.Ref<Record<string, string>>) => {
|
625
|
-
updateLocation: (e
|
625
|
+
updateLocation: (e?: Event | undefined) => void;
|
626
626
|
} | undefined) | "connected">;
|
627
627
|
scrollStrategy: NonNullable<"close" | "none" | "block" | ((data: ScrollStrategyData, props: StrategyProps$1, scope: vue.EffectScope) => void) | "reposition">;
|
628
628
|
closeDelay: NonNullable<string | number>;
|
@@ -651,7 +651,7 @@ declare const VSelect: {
|
|
651
651
|
eager: boolean;
|
652
652
|
location: Anchor;
|
653
653
|
locationStrategy: NonNullable<"static" | ((data: LocationStrategyData, props: StrategyProps, contentStyles: vue.Ref<Record<string, string>>) => {
|
654
|
-
updateLocation: (e
|
654
|
+
updateLocation: (e?: Event | undefined) => void;
|
655
655
|
} | undefined) | "connected">;
|
656
656
|
scrollStrategy: NonNullable<"close" | "none" | "block" | ((data: ScrollStrategyData, props: StrategyProps$1, scope: vue.EffectScope) => void) | "reposition">;
|
657
657
|
closeDelay: NonNullable<string | number>;
|
@@ -727,7 +727,7 @@ declare const VSelect: {
|
|
727
727
|
eager: boolean;
|
728
728
|
location: Anchor;
|
729
729
|
locationStrategy: NonNullable<"static" | ((data: LocationStrategyData, props: StrategyProps, contentStyles: vue.Ref<Record<string, string>>) => {
|
730
|
-
updateLocation: (e
|
730
|
+
updateLocation: (e?: Event | undefined) => void;
|
731
731
|
} | undefined) | "connected">;
|
732
732
|
scrollStrategy: NonNullable<"close" | "none" | "block" | ((data: ScrollStrategyData, props: StrategyProps$1, scope: vue.EffectScope) => void) | "reposition">;
|
733
733
|
closeDelay: NonNullable<string | number>;
|
@@ -831,6 +831,7 @@ declare const VSelect: {
|
|
831
831
|
direction: "horizontal" | "vertical";
|
832
832
|
valueComparator: typeof deepEqual;
|
833
833
|
clearIcon: IconValue;
|
834
|
+
centerAffix: boolean;
|
834
835
|
hideSpinButtons: boolean;
|
835
836
|
persistentHint: boolean;
|
836
837
|
itemChildren: NonNullable<SelectItemKey>;
|
@@ -875,7 +876,6 @@ declare const VSelect: {
|
|
875
876
|
'onClick:append'?: ((args_0: MouseEvent) => void) | undefined;
|
876
877
|
'onClick:appendInner'?: ((args_0: MouseEvent) => void) | undefined;
|
877
878
|
'onClick:prependInner'?: ((args_0: MouseEvent) => void) | undefined;
|
878
|
-
centerAffix?: boolean | undefined;
|
879
879
|
hint?: string | undefined;
|
880
880
|
hideDetails?: boolean | "auto" | undefined;
|
881
881
|
suffix?: string | undefined;
|
@@ -1154,7 +1154,7 @@ declare const VSelect: {
|
|
1154
1154
|
eager: boolean;
|
1155
1155
|
location: Anchor;
|
1156
1156
|
locationStrategy: NonNullable<"static" | ((data: LocationStrategyData, props: StrategyProps, contentStyles: vue.Ref<Record<string, string>>) => {
|
1157
|
-
updateLocation: (e
|
1157
|
+
updateLocation: (e?: Event | undefined) => void;
|
1158
1158
|
} | undefined) | "connected">;
|
1159
1159
|
scrollStrategy: NonNullable<"close" | "none" | "block" | ((data: ScrollStrategyData, props: StrategyProps$1, scope: vue.EffectScope) => void) | "reposition">;
|
1160
1160
|
closeDelay: NonNullable<string | number>;
|
@@ -1183,7 +1183,7 @@ declare const VSelect: {
|
|
1183
1183
|
eager: boolean;
|
1184
1184
|
location: Anchor;
|
1185
1185
|
locationStrategy: NonNullable<"static" | ((data: LocationStrategyData, props: StrategyProps, contentStyles: vue.Ref<Record<string, string>>) => {
|
1186
|
-
updateLocation: (e
|
1186
|
+
updateLocation: (e?: Event | undefined) => void;
|
1187
1187
|
} | undefined) | "connected">;
|
1188
1188
|
scrollStrategy: NonNullable<"close" | "none" | "block" | ((data: ScrollStrategyData, props: StrategyProps$1, scope: vue.EffectScope) => void) | "reposition">;
|
1189
1189
|
closeDelay: NonNullable<string | number>;
|
@@ -1259,7 +1259,7 @@ declare const VSelect: {
|
|
1259
1259
|
eager: boolean;
|
1260
1260
|
location: Anchor;
|
1261
1261
|
locationStrategy: NonNullable<"static" | ((data: LocationStrategyData, props: StrategyProps, contentStyles: vue.Ref<Record<string, string>>) => {
|
1262
|
-
updateLocation: (e
|
1262
|
+
updateLocation: (e?: Event | undefined) => void;
|
1263
1263
|
} | undefined) | "connected">;
|
1264
1264
|
scrollStrategy: NonNullable<"close" | "none" | "block" | ((data: ScrollStrategyData, props: StrategyProps$1, scope: vue.EffectScope) => void) | "reposition">;
|
1265
1265
|
closeDelay: NonNullable<string | number>;
|
@@ -1476,6 +1476,7 @@ declare const VSelect: {
|
|
1476
1476
|
direction: "horizontal" | "vertical";
|
1477
1477
|
valueComparator: typeof deepEqual;
|
1478
1478
|
clearIcon: IconValue;
|
1479
|
+
centerAffix: boolean;
|
1479
1480
|
hideSpinButtons: boolean;
|
1480
1481
|
persistentHint: boolean;
|
1481
1482
|
itemChildren: NonNullable<SelectItemKey>;
|
@@ -1520,7 +1521,6 @@ declare const VSelect: {
|
|
1520
1521
|
'onClick:append'?: ((args_0: MouseEvent) => void) | undefined;
|
1521
1522
|
'onClick:appendInner'?: ((args_0: MouseEvent) => void) | undefined;
|
1522
1523
|
'onClick:prependInner'?: ((args_0: MouseEvent) => void) | undefined;
|
1523
|
-
centerAffix?: boolean | undefined;
|
1524
1524
|
hint?: string | undefined;
|
1525
1525
|
hideDetails?: boolean | "auto" | undefined;
|
1526
1526
|
suffix?: string | undefined;
|
@@ -1799,7 +1799,7 @@ declare const VSelect: {
|
|
1799
1799
|
eager: boolean;
|
1800
1800
|
location: Anchor;
|
1801
1801
|
locationStrategy: NonNullable<"static" | ((data: LocationStrategyData, props: StrategyProps, contentStyles: vue.Ref<Record<string, string>>) => {
|
1802
|
-
updateLocation: (e
|
1802
|
+
updateLocation: (e?: Event | undefined) => void;
|
1803
1803
|
} | undefined) | "connected">;
|
1804
1804
|
scrollStrategy: NonNullable<"close" | "none" | "block" | ((data: ScrollStrategyData, props: StrategyProps$1, scope: vue.EffectScope) => void) | "reposition">;
|
1805
1805
|
closeDelay: NonNullable<string | number>;
|
@@ -1828,7 +1828,7 @@ declare const VSelect: {
|
|
1828
1828
|
eager: boolean;
|
1829
1829
|
location: Anchor;
|
1830
1830
|
locationStrategy: NonNullable<"static" | ((data: LocationStrategyData, props: StrategyProps, contentStyles: vue.Ref<Record<string, string>>) => {
|
1831
|
-
updateLocation: (e
|
1831
|
+
updateLocation: (e?: Event | undefined) => void;
|
1832
1832
|
} | undefined) | "connected">;
|
1833
1833
|
scrollStrategy: NonNullable<"close" | "none" | "block" | ((data: ScrollStrategyData, props: StrategyProps$1, scope: vue.EffectScope) => void) | "reposition">;
|
1834
1834
|
closeDelay: NonNullable<string | number>;
|
@@ -1904,7 +1904,7 @@ declare const VSelect: {
|
|
1904
1904
|
eager: boolean;
|
1905
1905
|
location: Anchor;
|
1906
1906
|
locationStrategy: NonNullable<"static" | ((data: LocationStrategyData, props: StrategyProps, contentStyles: vue.Ref<Record<string, string>>) => {
|
1907
|
-
updateLocation: (e
|
1907
|
+
updateLocation: (e?: Event | undefined) => void;
|
1908
1908
|
} | undefined) | "connected">;
|
1909
1909
|
scrollStrategy: NonNullable<"close" | "none" | "block" | ((data: ScrollStrategyData, props: StrategyProps$1, scope: vue.EffectScope) => void) | "reposition">;
|
1910
1910
|
closeDelay: NonNullable<string | number>;
|
@@ -2056,6 +2056,7 @@ declare const VSelect: {
|
|
2056
2056
|
direction: "horizontal" | "vertical";
|
2057
2057
|
valueComparator: typeof deepEqual;
|
2058
2058
|
clearIcon: IconValue;
|
2059
|
+
centerAffix: boolean;
|
2059
2060
|
hideSpinButtons: boolean;
|
2060
2061
|
persistentHint: boolean;
|
2061
2062
|
itemChildren: NonNullable<SelectItemKey>;
|
@@ -2100,7 +2101,6 @@ declare const VSelect: {
|
|
2100
2101
|
'onClick:append'?: ((args_0: MouseEvent) => void) | undefined;
|
2101
2102
|
'onClick:appendInner'?: ((args_0: MouseEvent) => void) | undefined;
|
2102
2103
|
'onClick:prependInner'?: ((args_0: MouseEvent) => void) | undefined;
|
2103
|
-
centerAffix?: boolean | undefined;
|
2104
2104
|
hint?: string | undefined;
|
2105
2105
|
hideDetails?: boolean | "auto" | undefined;
|
2106
2106
|
suffix?: string | undefined;
|
@@ -2379,7 +2379,7 @@ declare const VSelect: {
|
|
2379
2379
|
eager: boolean;
|
2380
2380
|
location: Anchor;
|
2381
2381
|
locationStrategy: NonNullable<"static" | ((data: LocationStrategyData, props: StrategyProps, contentStyles: vue.Ref<Record<string, string>>) => {
|
2382
|
-
updateLocation: (e
|
2382
|
+
updateLocation: (e?: Event | undefined) => void;
|
2383
2383
|
} | undefined) | "connected">;
|
2384
2384
|
scrollStrategy: NonNullable<"close" | "none" | "block" | ((data: ScrollStrategyData, props: StrategyProps$1, scope: vue.EffectScope) => void) | "reposition">;
|
2385
2385
|
closeDelay: NonNullable<string | number>;
|
@@ -2408,7 +2408,7 @@ declare const VSelect: {
|
|
2408
2408
|
eager: boolean;
|
2409
2409
|
location: Anchor;
|
2410
2410
|
locationStrategy: NonNullable<"static" | ((data: LocationStrategyData, props: StrategyProps, contentStyles: vue.Ref<Record<string, string>>) => {
|
2411
|
-
updateLocation: (e
|
2411
|
+
updateLocation: (e?: Event | undefined) => void;
|
2412
2412
|
} | undefined) | "connected">;
|
2413
2413
|
scrollStrategy: NonNullable<"close" | "none" | "block" | ((data: ScrollStrategyData, props: StrategyProps$1, scope: vue.EffectScope) => void) | "reposition">;
|
2414
2414
|
closeDelay: NonNullable<string | number>;
|
@@ -2484,7 +2484,7 @@ declare const VSelect: {
|
|
2484
2484
|
eager: boolean;
|
2485
2485
|
location: Anchor;
|
2486
2486
|
locationStrategy: NonNullable<"static" | ((data: LocationStrategyData, props: StrategyProps, contentStyles: vue.Ref<Record<string, string>>) => {
|
2487
|
-
updateLocation: (e
|
2487
|
+
updateLocation: (e?: Event | undefined) => void;
|
2488
2488
|
} | undefined) | "connected">;
|
2489
2489
|
scrollStrategy: NonNullable<"close" | "none" | "block" | ((data: ScrollStrategyData, props: StrategyProps$1, scope: vue.EffectScope) => void) | "reposition">;
|
2490
2490
|
closeDelay: NonNullable<string | number>;
|
@@ -2836,10 +2836,7 @@ declare const VSelect: {
|
|
2836
2836
|
'onClick:append': PropType<(args_0: MouseEvent) => void>;
|
2837
2837
|
'onClick:appendInner': PropType<(args_0: MouseEvent) => void>;
|
2838
2838
|
'onClick:prependInner': PropType<(args_0: MouseEvent) => void>;
|
2839
|
-
centerAffix:
|
2840
|
-
type: BooleanConstructor;
|
2841
|
-
default: undefined;
|
2842
|
-
};
|
2839
|
+
centerAffix: BooleanConstructor;
|
2843
2840
|
hideSpinButtons: BooleanConstructor;
|
2844
2841
|
hint: StringConstructor;
|
2845
2842
|
persistentHint: BooleanConstructor;
|
@@ -3175,7 +3172,7 @@ declare const VSelect: {
|
|
3175
3172
|
eager: boolean;
|
3176
3173
|
location: Anchor;
|
3177
3174
|
locationStrategy: NonNullable<"static" | ((data: LocationStrategyData, props: StrategyProps, contentStyles: vue.Ref<Record<string, string>>) => {
|
3178
|
-
updateLocation: (e
|
3175
|
+
updateLocation: (e?: Event | undefined) => void;
|
3179
3176
|
} | undefined) | "connected">;
|
3180
3177
|
scrollStrategy: NonNullable<"close" | "none" | "block" | ((data: ScrollStrategyData, props: StrategyProps$1, scope: vue.EffectScope) => void) | "reposition">;
|
3181
3178
|
closeDelay: NonNullable<string | number>;
|
@@ -3204,7 +3201,7 @@ declare const VSelect: {
|
|
3204
3201
|
eager: boolean;
|
3205
3202
|
location: Anchor;
|
3206
3203
|
locationStrategy: NonNullable<"static" | ((data: LocationStrategyData, props: StrategyProps, contentStyles: vue.Ref<Record<string, string>>) => {
|
3207
|
-
updateLocation: (e
|
3204
|
+
updateLocation: (e?: Event | undefined) => void;
|
3208
3205
|
} | undefined) | "connected">;
|
3209
3206
|
scrollStrategy: NonNullable<"close" | "none" | "block" | ((data: ScrollStrategyData, props: StrategyProps$1, scope: vue.EffectScope) => void) | "reposition">;
|
3210
3207
|
closeDelay: NonNullable<string | number>;
|
@@ -3280,7 +3277,7 @@ declare const VSelect: {
|
|
3280
3277
|
eager: boolean;
|
3281
3278
|
location: Anchor;
|
3282
3279
|
locationStrategy: NonNullable<"static" | ((data: LocationStrategyData, props: StrategyProps, contentStyles: vue.Ref<Record<string, string>>) => {
|
3283
|
-
updateLocation: (e
|
3280
|
+
updateLocation: (e?: Event | undefined) => void;
|
3284
3281
|
} | undefined) | "connected">;
|
3285
3282
|
scrollStrategy: NonNullable<"close" | "none" | "block" | ((data: ScrollStrategyData, props: StrategyProps$1, scope: vue.EffectScope) => void) | "reposition">;
|
3286
3283
|
closeDelay: NonNullable<string | number>;
|
@@ -3468,10 +3465,7 @@ declare const VSelect: {
|
|
3468
3465
|
'onClick:append': PropType<(args_0: MouseEvent) => void>;
|
3469
3466
|
'onClick:appendInner': PropType<(args_0: MouseEvent) => void>;
|
3470
3467
|
'onClick:prependInner': PropType<(args_0: MouseEvent) => void>;
|
3471
|
-
centerAffix:
|
3472
|
-
type: BooleanConstructor;
|
3473
|
-
default: undefined;
|
3474
|
-
};
|
3468
|
+
centerAffix: BooleanConstructor;
|
3475
3469
|
hideSpinButtons: BooleanConstructor;
|
3476
3470
|
hint: StringConstructor;
|
3477
3471
|
persistentHint: BooleanConstructor;
|
@@ -3807,7 +3801,7 @@ declare const VSelect: {
|
|
3807
3801
|
eager: boolean;
|
3808
3802
|
location: Anchor;
|
3809
3803
|
locationStrategy: NonNullable<"static" | ((data: LocationStrategyData, props: StrategyProps, contentStyles: vue.Ref<Record<string, string>>) => {
|
3810
|
-
updateLocation: (e
|
3804
|
+
updateLocation: (e?: Event | undefined) => void;
|
3811
3805
|
} | undefined) | "connected">;
|
3812
3806
|
scrollStrategy: NonNullable<"close" | "none" | "block" | ((data: ScrollStrategyData, props: StrategyProps$1, scope: vue.EffectScope) => void) | "reposition">;
|
3813
3807
|
closeDelay: NonNullable<string | number>;
|
@@ -3836,7 +3830,7 @@ declare const VSelect: {
|
|
3836
3830
|
eager: boolean;
|
3837
3831
|
location: Anchor;
|
3838
3832
|
locationStrategy: NonNullable<"static" | ((data: LocationStrategyData, props: StrategyProps, contentStyles: vue.Ref<Record<string, string>>) => {
|
3839
|
-
updateLocation: (e
|
3833
|
+
updateLocation: (e?: Event | undefined) => void;
|
3840
3834
|
} | undefined) | "connected">;
|
3841
3835
|
scrollStrategy: NonNullable<"close" | "none" | "block" | ((data: ScrollStrategyData, props: StrategyProps$1, scope: vue.EffectScope) => void) | "reposition">;
|
3842
3836
|
closeDelay: NonNullable<string | number>;
|
@@ -3912,7 +3906,7 @@ declare const VSelect: {
|
|
3912
3906
|
eager: boolean;
|
3913
3907
|
location: Anchor;
|
3914
3908
|
locationStrategy: NonNullable<"static" | ((data: LocationStrategyData, props: StrategyProps, contentStyles: vue.Ref<Record<string, string>>) => {
|
3915
|
-
updateLocation: (e
|
3909
|
+
updateLocation: (e?: Event | undefined) => void;
|
3916
3910
|
} | undefined) | "connected">;
|
3917
3911
|
scrollStrategy: NonNullable<"close" | "none" | "block" | ((data: ScrollStrategyData, props: StrategyProps$1, scope: vue.EffectScope) => void) | "reposition">;
|
3918
3912
|
closeDelay: NonNullable<string | number>;
|
@@ -662,10 +662,7 @@ declare const VSlider: {
|
|
662
662
|
};
|
663
663
|
id: StringConstructor;
|
664
664
|
appendIcon: vue.PropType<IconValue>;
|
665
|
-
centerAffix:
|
666
|
-
type: BooleanConstructor;
|
667
|
-
default: boolean;
|
668
|
-
};
|
665
|
+
centerAffix: BooleanConstructor;
|
669
666
|
prependIcon: vue.PropType<IconValue>;
|
670
667
|
hideDetails: vue.PropType<boolean | "auto">;
|
671
668
|
hideSpinButtons: BooleanConstructor;
|
@@ -788,10 +785,7 @@ declare const VSlider: {
|
|
788
785
|
};
|
789
786
|
id: StringConstructor;
|
790
787
|
appendIcon: vue.PropType<IconValue>;
|
791
|
-
centerAffix:
|
792
|
-
type: BooleanConstructor;
|
793
|
-
default: boolean;
|
794
|
-
};
|
788
|
+
centerAffix: BooleanConstructor;
|
795
789
|
prependIcon: vue.PropType<IconValue>;
|
796
790
|
hideDetails: vue.PropType<boolean | "auto">;
|
797
791
|
hideSpinButtons: BooleanConstructor;
|