vuetify 3.9.4 → 3.9.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/json/attributes.json +3519 -3511
- package/dist/json/importMap-labs.json +16 -16
- package/dist/json/importMap.json +198 -198
- package/dist/json/tags.json +2 -0
- package/dist/json/web-types.json +6550 -6519
- package/dist/vuetify-labs.cjs +138 -81
- package/dist/vuetify-labs.css +2885 -2861
- package/dist/vuetify-labs.d.ts +92 -68
- package/dist/vuetify-labs.esm.js +138 -81
- package/dist/vuetify-labs.esm.js.map +1 -1
- package/dist/vuetify-labs.js +138 -81
- package/dist/vuetify-labs.min.css +2 -2
- package/dist/vuetify.cjs +57 -26
- package/dist/vuetify.cjs.map +1 -1
- package/dist/vuetify.css +3057 -3036
- package/dist/vuetify.d.ts +66 -66
- package/dist/vuetify.esm.js +57 -26
- package/dist/vuetify.esm.js.map +1 -1
- package/dist/vuetify.js +57 -26
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +2 -2
- package/dist/vuetify.min.js +38 -34
- package/dist/vuetify.min.js.map +1 -1
- package/lib/components/VBtn/VBtn.css +10 -0
- package/lib/components/VBtn/VBtn.sass +12 -0
- package/lib/components/VCard/VCard.css +5 -0
- package/lib/components/VCard/VCard.sass +4 -0
- package/lib/components/VColorPicker/VColorPickerEdit.sass +5 -5
- package/lib/components/VDatePicker/VDatePicker.js +10 -4
- package/lib/components/VDatePicker/VDatePicker.js.map +1 -1
- package/lib/components/VDatePicker/VDatePickerYears.js +18 -8
- package/lib/components/VDatePicker/VDatePickerYears.js.map +1 -1
- package/lib/components/VFileInput/VFileInput.js +4 -2
- package/lib/components/VFileInput/VFileInput.js.map +1 -1
- package/lib/components/VNumberInput/VNumberInput.js +6 -6
- package/lib/components/VNumberInput/VNumberInput.js.map +1 -1
- package/lib/components/VOtpInput/VOtpInput.js +8 -0
- package/lib/components/VOtpInput/VOtpInput.js.map +1 -1
- package/lib/components/VSelect/VSelect.css +3 -0
- package/lib/components/VSelect/VSelect.js +1 -1
- package/lib/components/VSelect/VSelect.js.map +1 -1
- package/lib/components/VSelect/VSelect.sass +3 -0
- package/lib/components/VSparkline/VBarline.js +2 -2
- package/lib/components/VSparkline/VBarline.js.map +1 -1
- package/lib/components/VSparkline/VTrendline.js +3 -0
- package/lib/components/VSparkline/VTrendline.js.map +1 -1
- package/lib/components/VStepper/VStepperItem.css +7 -4
- package/lib/components/VStepper/VStepperItem.sass +5 -7
- package/lib/components/VTextField/VTextField.js +3 -2
- package/lib/components/VTextField/VTextField.js.map +1 -1
- package/lib/components/VTextarea/VTextarea.js +4 -2
- package/lib/components/VTextarea/VTextarea.js.map +1 -1
- package/lib/entry-bundler.js +1 -1
- package/lib/framework.d.ts +66 -66
- package/lib/framework.js +1 -1
- package/lib/labs/VColorInput/VColorInput.js +1 -2
- package/lib/labs/VColorInput/VColorInput.js.map +1 -1
- package/lib/labs/VIconBtn/VIconBtn.js +1 -1
- package/lib/labs/VIconBtn/VIconBtn.js.map +1 -1
- package/lib/labs/VPie/VPie.css +3 -0
- package/lib/labs/VPie/VPie.js +71 -29
- package/lib/labs/VPie/VPie.js.map +1 -1
- package/lib/labs/VPie/VPie.sass +3 -0
- package/lib/labs/VPie/VPieSegment.d.ts +25 -2
- package/lib/labs/VPie/VPieSegment.js +11 -6
- package/lib/labs/VPie/VPieSegment.js.map +1 -1
- package/lib/labs/VPie/VPieTooltip.d.ts +10 -0
- package/lib/labs/VPie/VPieTooltip.js +4 -22
- package/lib/labs/VPie/VPieTooltip.js.map +1 -1
- package/lib/labs/VPie/types.d.ts +1 -0
- package/lib/labs/VPie/types.js.map +1 -1
- package/package.json +2 -2
package/dist/vuetify.d.ts
CHANGED
|
@@ -95363,48 +95363,34 @@ declare module 'vue' {
|
|
|
95363
95363
|
$children?: VNodeChild
|
|
95364
95364
|
}
|
|
95365
95365
|
export interface GlobalComponents {
|
|
95366
|
+
VApp: VApp
|
|
95366
95367
|
VAppBar: VAppBar
|
|
95367
95368
|
VAppBarNavIcon: VAppBarNavIcon
|
|
95368
95369
|
VAppBarTitle: VAppBarTitle
|
|
95369
|
-
VApp: VApp
|
|
95370
|
-
VBadge: VBadge
|
|
95371
95370
|
VAlert: VAlert
|
|
95372
95371
|
VAlertTitle: VAlertTitle
|
|
95373
|
-
VAutocomplete: VAutocomplete
|
|
95374
|
-
VBottomNavigation: VBottomNavigation
|
|
95375
95372
|
VAvatar: VAvatar
|
|
95376
|
-
|
|
95373
|
+
VBadge: VBadge
|
|
95374
|
+
VAutocomplete: VAutocomplete
|
|
95377
95375
|
VBanner: VBanner
|
|
95378
95376
|
VBannerActions: VBannerActions
|
|
95379
95377
|
VBannerText: VBannerText
|
|
95380
|
-
|
|
95378
|
+
VBottomNavigation: VBottomNavigation
|
|
95379
|
+
VBottomSheet: VBottomSheet
|
|
95381
95380
|
VBreadcrumbs: VBreadcrumbs
|
|
95382
95381
|
VBreadcrumbsItem: VBreadcrumbsItem
|
|
95383
95382
|
VBreadcrumbsDivider: VBreadcrumbsDivider
|
|
95384
|
-
VBtnGroup: VBtnGroup
|
|
95385
95383
|
VCarousel: VCarousel
|
|
95386
95384
|
VCarouselItem: VCarouselItem
|
|
95385
|
+
VBtnGroup: VBtnGroup
|
|
95387
95386
|
VBtnToggle: VBtnToggle
|
|
95388
|
-
|
|
95389
|
-
VCardActions: VCardActions
|
|
95390
|
-
VCardItem: VCardItem
|
|
95391
|
-
VCardSubtitle: VCardSubtitle
|
|
95392
|
-
VCardText: VCardText
|
|
95393
|
-
VCardTitle: VCardTitle
|
|
95394
|
-
VCode: VCode
|
|
95395
|
-
VCombobox: VCombobox
|
|
95396
|
-
VColorPicker: VColorPicker
|
|
95397
|
-
VChipGroup: VChipGroup
|
|
95387
|
+
VBtn: VBtn
|
|
95398
95388
|
VCheckbox: VCheckbox
|
|
95399
95389
|
VCheckboxBtn: VCheckboxBtn
|
|
95400
|
-
VCounter: VCounter
|
|
95401
95390
|
VChip: VChip
|
|
95402
|
-
|
|
95403
|
-
|
|
95404
|
-
|
|
95405
|
-
VDatePickerMonth: VDatePickerMonth
|
|
95406
|
-
VDatePickerMonths: VDatePickerMonths
|
|
95407
|
-
VDatePickerYears: VDatePickerYears
|
|
95391
|
+
VChipGroup: VChipGroup
|
|
95392
|
+
VCode: VCode
|
|
95393
|
+
VCombobox: VCombobox
|
|
95408
95394
|
VDataTable: VDataTable
|
|
95409
95395
|
VDataTableHeaders: VDataTableHeaders
|
|
95410
95396
|
VDataTableFooter: VDataTableFooter
|
|
@@ -95412,29 +95398,38 @@ declare module 'vue' {
|
|
|
95412
95398
|
VDataTableRow: VDataTableRow
|
|
95413
95399
|
VDataTableVirtual: VDataTableVirtual
|
|
95414
95400
|
VDataTableServer: VDataTableServer
|
|
95401
|
+
VCounter: VCounter
|
|
95402
|
+
VColorPicker: VColorPicker
|
|
95403
|
+
VDialog: VDialog
|
|
95404
|
+
VDatePicker: VDatePicker
|
|
95405
|
+
VDatePickerControls: VDatePickerControls
|
|
95406
|
+
VDatePickerHeader: VDatePickerHeader
|
|
95407
|
+
VDatePickerMonth: VDatePickerMonth
|
|
95408
|
+
VDatePickerMonths: VDatePickerMonths
|
|
95409
|
+
VDatePickerYears: VDatePickerYears
|
|
95415
95410
|
VDivider: VDivider
|
|
95411
|
+
VEmptyState: VEmptyState
|
|
95416
95412
|
VExpansionPanels: VExpansionPanels
|
|
95417
95413
|
VExpansionPanel: VExpansionPanel
|
|
95418
95414
|
VExpansionPanelText: VExpansionPanelText
|
|
95419
95415
|
VExpansionPanelTitle: VExpansionPanelTitle
|
|
95420
|
-
VDialog: VDialog
|
|
95421
95416
|
VFab: VFab
|
|
95422
|
-
VEmptyState: VEmptyState
|
|
95423
95417
|
VField: VField
|
|
95424
95418
|
VFieldLabel: VFieldLabel
|
|
95425
95419
|
VFileInput: VFileInput
|
|
95426
95420
|
VFooter: VFooter
|
|
95427
|
-
VImg: VImg
|
|
95428
95421
|
VIcon: VIcon
|
|
95429
95422
|
VComponentIcon: VComponentIcon
|
|
95430
95423
|
VSvgIcon: VSvgIcon
|
|
95431
95424
|
VLigatureIcon: VLigatureIcon
|
|
95432
95425
|
VClassIcon: VClassIcon
|
|
95433
95426
|
VInfiniteScroll: VInfiniteScroll
|
|
95427
|
+
VInput: VInput
|
|
95428
|
+
VImg: VImg
|
|
95434
95429
|
VItemGroup: VItemGroup
|
|
95435
95430
|
VItem: VItem
|
|
95436
|
-
VKbd: VKbd
|
|
95437
95431
|
VLabel: VLabel
|
|
95432
|
+
VKbd: VKbd
|
|
95438
95433
|
VList: VList
|
|
95439
95434
|
VListGroup: VListGroup
|
|
95440
95435
|
VListImg: VListImg
|
|
@@ -95444,79 +95439,81 @@ declare module 'vue' {
|
|
|
95444
95439
|
VListItemSubtitle: VListItemSubtitle
|
|
95445
95440
|
VListItemTitle: VListItemTitle
|
|
95446
95441
|
VListSubheader: VListSubheader
|
|
95447
|
-
VInput: VInput
|
|
95448
|
-
VMessages: VMessages
|
|
95449
|
-
VMenu: VMenu
|
|
95450
95442
|
VMain: VMain
|
|
95451
|
-
|
|
95452
|
-
|
|
95443
|
+
VMenu: VMenu
|
|
95444
|
+
VMessages: VMessages
|
|
95445
|
+
VNumberInput: VNumberInput
|
|
95453
95446
|
VOverlay: VOverlay
|
|
95454
|
-
|
|
95447
|
+
VOtpInput: VOtpInput
|
|
95448
|
+
VNavigationDrawer: VNavigationDrawer
|
|
95455
95449
|
VPagination: VPagination
|
|
95456
|
-
|
|
95450
|
+
VProgressCircular: VProgressCircular
|
|
95451
|
+
VProgressLinear: VProgressLinear
|
|
95457
95452
|
VRadioGroup: VRadioGroup
|
|
95458
95453
|
VRating: VRating
|
|
95459
|
-
VProgressLinear: VProgressLinear
|
|
95460
95454
|
VSelect: VSelect
|
|
95461
95455
|
VSelectionControl: VSelectionControl
|
|
95456
|
+
VSlider: VSlider
|
|
95457
|
+
VSelectionControlGroup: VSelectionControlGroup
|
|
95462
95458
|
VSlideGroup: VSlideGroup
|
|
95463
95459
|
VSlideGroupItem: VSlideGroupItem
|
|
95464
|
-
VSelectionControlGroup: VSelectionControlGroup
|
|
95465
|
-
VSkeletonLoader: VSkeletonLoader
|
|
95466
|
-
VSlider: VSlider
|
|
95467
95460
|
VSheet: VSheet
|
|
95468
|
-
|
|
95461
|
+
VSkeletonLoader: VSkeletonLoader
|
|
95469
95462
|
VStepper: VStepper
|
|
95470
95463
|
VStepperActions: VStepperActions
|
|
95471
95464
|
VStepperHeader: VStepperHeader
|
|
95472
95465
|
VStepperItem: VStepperItem
|
|
95473
95466
|
VStepperWindow: VStepperWindow
|
|
95474
95467
|
VStepperWindowItem: VStepperWindowItem
|
|
95468
|
+
VSwitch: VSwitch
|
|
95475
95469
|
VSnackbar: VSnackbar
|
|
95476
|
-
VTab: VTab
|
|
95477
|
-
VTabs: VTabs
|
|
95478
|
-
VTabsWindow: VTabsWindow
|
|
95479
|
-
VTabsWindowItem: VTabsWindowItem
|
|
95480
95470
|
VSystemBar: VSystemBar
|
|
95481
|
-
VTextField: VTextField
|
|
95482
|
-
VTextarea: VTextarea
|
|
95483
|
-
VTimeline: VTimeline
|
|
95484
|
-
VTimelineItem: VTimelineItem
|
|
95485
95471
|
VTable: VTable
|
|
95472
|
+
VTextarea: VTextarea
|
|
95473
|
+
VTextField: VTextField
|
|
95486
95474
|
VTimePicker: VTimePicker
|
|
95487
95475
|
VTimePickerClock: VTimePickerClock
|
|
95488
95476
|
VTimePickerControls: VTimePickerControls
|
|
95489
|
-
VTooltip: VTooltip
|
|
95490
|
-
VTreeview: VTreeview
|
|
95491
|
-
VTreeviewItem: VTreeviewItem
|
|
95492
|
-
VTreeviewGroup: VTreeviewGroup
|
|
95493
95477
|
VToolbar: VToolbar
|
|
95494
95478
|
VToolbarTitle: VToolbarTitle
|
|
95495
95479
|
VToolbarItems: VToolbarItems
|
|
95480
|
+
VTimeline: VTimeline
|
|
95481
|
+
VTimelineItem: VTimelineItem
|
|
95496
95482
|
VWindow: VWindow
|
|
95497
95483
|
VWindowItem: VWindowItem
|
|
95484
|
+
VTooltip: VTooltip
|
|
95485
|
+
VTreeview: VTreeview
|
|
95486
|
+
VTreeviewItem: VTreeviewItem
|
|
95487
|
+
VTreeviewGroup: VTreeviewGroup
|
|
95488
|
+
VConfirmEdit: VConfirmEdit
|
|
95498
95489
|
VDataIterator: VDataIterator
|
|
95499
95490
|
VDefaultsProvider: VDefaultsProvider
|
|
95500
|
-
VContainer: VContainer
|
|
95501
|
-
VCol: VCol
|
|
95502
|
-
VRow: VRow
|
|
95503
|
-
VSpacer: VSpacer
|
|
95504
|
-
VConfirmEdit: VConfirmEdit
|
|
95505
95491
|
VForm: VForm
|
|
95506
95492
|
VHover: VHover
|
|
95507
|
-
VLazy: VLazy
|
|
95508
95493
|
VLayout: VLayout
|
|
95509
95494
|
VLayoutItem: VLayoutItem
|
|
95510
95495
|
VLocaleProvider: VLocaleProvider
|
|
95496
|
+
VLazy: VLazy
|
|
95511
95497
|
VNoSsr: VNoSsr
|
|
95512
95498
|
VParallax: VParallax
|
|
95499
|
+
VRangeSlider: VRangeSlider
|
|
95513
95500
|
VRadio: VRadio
|
|
95514
95501
|
VResponsive: VResponsive
|
|
95515
|
-
VRangeSlider: VRangeSlider
|
|
95516
95502
|
VSnackbarQueue: VSnackbarQueue
|
|
95517
95503
|
VSparkline: VSparkline
|
|
95518
|
-
VSpeedDial: VSpeedDial
|
|
95519
95504
|
VThemeProvider: VThemeProvider
|
|
95505
|
+
VSpeedDial: VSpeedDial
|
|
95506
|
+
VVirtualScroll: VVirtualScroll
|
|
95507
|
+
VCard: VCard
|
|
95508
|
+
VCardActions: VCardActions
|
|
95509
|
+
VCardItem: VCardItem
|
|
95510
|
+
VCardSubtitle: VCardSubtitle
|
|
95511
|
+
VCardText: VCardText
|
|
95512
|
+
VCardTitle: VCardTitle
|
|
95513
|
+
VContainer: VContainer
|
|
95514
|
+
VCol: VCol
|
|
95515
|
+
VRow: VRow
|
|
95516
|
+
VSpacer: VSpacer
|
|
95520
95517
|
VFabTransition: VFabTransition
|
|
95521
95518
|
VDialogBottomTransition: VDialogBottomTransition
|
|
95522
95519
|
VDialogTopTransition: VDialogTopTransition
|
|
@@ -95533,15 +95530,18 @@ declare module 'vue' {
|
|
|
95533
95530
|
VExpandTransition: VExpandTransition
|
|
95534
95531
|
VExpandXTransition: VExpandXTransition
|
|
95535
95532
|
VDialogTransition: VDialogTransition
|
|
95536
|
-
VVirtualScroll: VVirtualScroll
|
|
95537
95533
|
VValidation: VValidation
|
|
95538
|
-
|
|
95534
|
+
VTab: VTab
|
|
95535
|
+
VTabs: VTabs
|
|
95536
|
+
VTabsWindow: VTabsWindow
|
|
95537
|
+
VTabsWindowItem: VTabsWindowItem
|
|
95539
95538
|
VCalendar: VCalendar
|
|
95540
95539
|
VCalendarDay: VCalendarDay
|
|
95541
95540
|
VCalendarHeader: VCalendarHeader
|
|
95542
95541
|
VCalendarInterval: VCalendarInterval
|
|
95543
95542
|
VCalendarIntervalEvent: VCalendarIntervalEvent
|
|
95544
95543
|
VCalendarMonthDay: VCalendarMonthDay
|
|
95544
|
+
VColorInput: VColorInput
|
|
95545
95545
|
VFileUpload: VFileUpload
|
|
95546
95546
|
VFileUploadItem: VFileUploadItem
|
|
95547
95547
|
VIconBtn: VIconBtn
|
|
@@ -95550,13 +95550,13 @@ declare module 'vue' {
|
|
|
95550
95550
|
VPieTooltip: VPieTooltip
|
|
95551
95551
|
VPicker: VPicker
|
|
95552
95552
|
VPickerTitle: VPickerTitle
|
|
95553
|
-
|
|
95554
|
-
VVideoControls: VVideoControls
|
|
95555
|
-
VVideoVolume: VVideoVolume
|
|
95553
|
+
VHotkey: VHotkey
|
|
95556
95554
|
VStepperVertical: VStepperVertical
|
|
95557
95555
|
VStepperVerticalItem: VStepperVerticalItem
|
|
95558
95556
|
VStepperVerticalActions: VStepperVerticalActions
|
|
95559
|
-
|
|
95557
|
+
VVideo: VVideo
|
|
95558
|
+
VVideoControls: VVideoControls
|
|
95559
|
+
VVideoVolume: VVideoVolume
|
|
95560
95560
|
VDateInput: VDateInput
|
|
95561
95561
|
VMaskInput: VMaskInput
|
|
95562
95562
|
VPullToRefresh: VPullToRefresh
|
package/dist/vuetify.esm.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Vuetify v3.9.
|
|
2
|
+
* Vuetify v3.9.6
|
|
3
3
|
* Forged by John Leider
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -12782,7 +12782,7 @@ const VTextField = genericComponent()({
|
|
|
12782
12782
|
"onClick:prependInner": props['onClick:prependInner'],
|
|
12783
12783
|
"onClick:appendInner": props['onClick:appendInner'],
|
|
12784
12784
|
"role": props.role
|
|
12785
|
-
}, fieldProps, {
|
|
12785
|
+
}, omit(fieldProps, ['onClick:clear']), {
|
|
12786
12786
|
"id": id.value,
|
|
12787
12787
|
"active": isActive.value || isDirty.value,
|
|
12788
12788
|
"dirty": isDirty.value || props.dirty,
|
|
@@ -12809,6 +12809,7 @@ const VTextField = genericComponent()({
|
|
|
12809
12809
|
"name": props.name,
|
|
12810
12810
|
"placeholder": props.placeholder,
|
|
12811
12811
|
"size": 1,
|
|
12812
|
+
"role": props.role,
|
|
12812
12813
|
"type": props.type,
|
|
12813
12814
|
"onFocus": focus,
|
|
12814
12815
|
"onBlur": blur
|
|
@@ -13584,7 +13585,7 @@ const VSelect = genericComponent()({
|
|
|
13584
13585
|
return createVNode(VTextField, mergeProps({
|
|
13585
13586
|
"ref": vTextFieldRef
|
|
13586
13587
|
}, textFieldProps, {
|
|
13587
|
-
"modelValue": model.value.map(v => v.props.
|
|
13588
|
+
"modelValue": model.value.map(v => v.props.title).join(', '),
|
|
13588
13589
|
"onUpdate:modelValue": onModelUpdate,
|
|
13589
13590
|
"focused": isFocused.value,
|
|
13590
13591
|
"onUpdate:focused": $event => isFocused.value = $event,
|
|
@@ -23555,6 +23556,9 @@ const makeVDatePickerYearsProps = propsFactory({
|
|
|
23555
23556
|
const VDatePickerYears = genericComponent()({
|
|
23556
23557
|
name: 'VDatePickerYears',
|
|
23557
23558
|
props: makeVDatePickerYearsProps(),
|
|
23559
|
+
directives: {
|
|
23560
|
+
vIntersect: Intersect
|
|
23561
|
+
},
|
|
23558
23562
|
emits: {
|
|
23559
23563
|
'update:modelValue': year => true
|
|
23560
23564
|
},
|
|
@@ -23591,10 +23595,12 @@ const VDatePickerYears = genericComponent()({
|
|
|
23591
23595
|
model.value = model.value ?? adapter.getYear(adapter.date());
|
|
23592
23596
|
});
|
|
23593
23597
|
const yearRef = templateRef();
|
|
23594
|
-
|
|
23595
|
-
await nextTick();
|
|
23598
|
+
function focusSelectedYear() {
|
|
23596
23599
|
yearRef.el?.focus();
|
|
23597
|
-
|
|
23600
|
+
yearRef.el?.scrollIntoView({
|
|
23601
|
+
block: 'center'
|
|
23602
|
+
});
|
|
23603
|
+
}
|
|
23598
23604
|
function isYearAllowed(year) {
|
|
23599
23605
|
if (Array.isArray(props.allowedYears) && props.allowedYears.length) {
|
|
23600
23606
|
return props.allowedYears.includes(year);
|
|
@@ -23604,7 +23610,7 @@ const VDatePickerYears = genericComponent()({
|
|
|
23604
23610
|
}
|
|
23605
23611
|
return true;
|
|
23606
23612
|
}
|
|
23607
|
-
useRender(() => createElementVNode("div", {
|
|
23613
|
+
useRender(() => withDirectives(createElementVNode("div", {
|
|
23608
23614
|
"class": "v-date-picker-years",
|
|
23609
23615
|
"style": {
|
|
23610
23616
|
height: convertToUnit(props.height)
|
|
@@ -23635,7 +23641,11 @@ const VDatePickerYears = genericComponent()({
|
|
|
23635
23641
|
}) ?? createVNode(VBtn, mergeProps({
|
|
23636
23642
|
"key": "month"
|
|
23637
23643
|
}, btnProps), null);
|
|
23638
|
-
})])])
|
|
23644
|
+
})])]), [[Intersect, {
|
|
23645
|
+
handler: focusSelectedYear
|
|
23646
|
+
}, null, {
|
|
23647
|
+
once: true
|
|
23648
|
+
}]]));
|
|
23639
23649
|
return {};
|
|
23640
23650
|
}
|
|
23641
23651
|
});
|
|
@@ -23776,6 +23786,12 @@ const VDatePicker = genericComponent()({
|
|
|
23776
23786
|
}
|
|
23777
23787
|
return targets;
|
|
23778
23788
|
});
|
|
23789
|
+
const allowedYears = computed(() => {
|
|
23790
|
+
return props.allowedYears || isYearAllowed;
|
|
23791
|
+
});
|
|
23792
|
+
const allowedMonths = computed(() => {
|
|
23793
|
+
return props.allowedMonths || isMonthAllowed;
|
|
23794
|
+
});
|
|
23779
23795
|
function isAllowedInRange(start, end) {
|
|
23780
23796
|
const allowedDates = props.allowedDates;
|
|
23781
23797
|
if (typeof allowedDates !== 'function') return true;
|
|
@@ -23785,7 +23801,7 @@ const VDatePicker = genericComponent()({
|
|
|
23785
23801
|
}
|
|
23786
23802
|
return false;
|
|
23787
23803
|
}
|
|
23788
|
-
function
|
|
23804
|
+
function isYearAllowed(year) {
|
|
23789
23805
|
if (typeof props.allowedDates === 'function') {
|
|
23790
23806
|
const startOfYear = adapter.parseISO(`${year}-01-01`);
|
|
23791
23807
|
return isAllowedInRange(startOfYear, adapter.endOfYear(startOfYear));
|
|
@@ -23798,7 +23814,7 @@ const VDatePicker = genericComponent()({
|
|
|
23798
23814
|
}
|
|
23799
23815
|
return true;
|
|
23800
23816
|
}
|
|
23801
|
-
function
|
|
23817
|
+
function isMonthAllowed(month) {
|
|
23802
23818
|
if (typeof props.allowedDates === 'function') {
|
|
23803
23819
|
const monthTwoDigits = String(month + 1).padStart(2, '0');
|
|
23804
23820
|
const startOfMonth = adapter.parseISO(`${year.value}-${monthTwoDigits}-01`);
|
|
@@ -23926,7 +23942,7 @@ const VDatePicker = genericComponent()({
|
|
|
23926
23942
|
"min": minDate.value,
|
|
23927
23943
|
"max": maxDate.value,
|
|
23928
23944
|
"year": year.value,
|
|
23929
|
-
"allowedMonths": allowedMonths
|
|
23945
|
+
"allowedMonths": allowedMonths.value
|
|
23930
23946
|
}), {
|
|
23931
23947
|
month: slots.month
|
|
23932
23948
|
}) : viewMode.value === 'year' ? createVNode(VDatePickerYears, mergeProps({
|
|
@@ -23936,7 +23952,7 @@ const VDatePicker = genericComponent()({
|
|
|
23936
23952
|
"onUpdate:modelValue": [$event => year.value = $event, onUpdateYear],
|
|
23937
23953
|
"min": minDate.value,
|
|
23938
23954
|
"max": maxDate.value,
|
|
23939
|
-
"allowedYears": allowedYears
|
|
23955
|
+
"allowedYears": allowedYears.value
|
|
23940
23956
|
}), {
|
|
23941
23957
|
year: slots.year
|
|
23942
23958
|
}) : createVNode(VDatePickerMonth, mergeProps({
|
|
@@ -24671,7 +24687,10 @@ const VFileInput = genericComponent()({
|
|
|
24671
24687
|
modelValue: _,
|
|
24672
24688
|
...inputProps
|
|
24673
24689
|
} = VInput.filterProps(props);
|
|
24674
|
-
const fieldProps =
|
|
24690
|
+
const fieldProps = {
|
|
24691
|
+
...VField.filterProps(props),
|
|
24692
|
+
'onClick:clear': onClear
|
|
24693
|
+
};
|
|
24675
24694
|
return createVNode(VInput, mergeProps({
|
|
24676
24695
|
"ref": vInputRef,
|
|
24677
24696
|
"modelValue": props.multiple ? model.value : model.value[0],
|
|
@@ -24702,7 +24721,6 @@ const VFileInput = genericComponent()({
|
|
|
24702
24721
|
"prependIcon": props.prependIcon,
|
|
24703
24722
|
"onMousedown": onControlMousedown,
|
|
24704
24723
|
"onClick": onControlClick,
|
|
24705
|
-
"onClick:clear": onClear,
|
|
24706
24724
|
"onClick:prependInner": props['onClick:prependInner'],
|
|
24707
24725
|
"onClick:appendInner": props['onClick:appendInner']
|
|
24708
24726
|
}, fieldProps, {
|
|
@@ -26393,7 +26411,6 @@ const VNumberInput = genericComponent()({
|
|
|
26393
26411
|
"aria-hidden": "true",
|
|
26394
26412
|
"data-testid": "increment",
|
|
26395
26413
|
"disabled": !canIncrease.value,
|
|
26396
|
-
"flat": true,
|
|
26397
26414
|
"height": controlNodeDefaultHeight.value,
|
|
26398
26415
|
"icon": incrementIcon.value,
|
|
26399
26416
|
"key": "increment-btn",
|
|
@@ -26402,16 +26419,17 @@ const VNumberInput = genericComponent()({
|
|
|
26402
26419
|
"onPointerup": onControlMouseup,
|
|
26403
26420
|
"onPointercancel": onControlMouseup,
|
|
26404
26421
|
"size": controlNodeSize.value,
|
|
26422
|
+
"variant": "text",
|
|
26405
26423
|
"tabindex": "-1"
|
|
26406
26424
|
}, null) : createVNode(VDefaultsProvider, {
|
|
26407
26425
|
"key": "increment-defaults",
|
|
26408
26426
|
"defaults": {
|
|
26409
26427
|
VBtn: {
|
|
26410
26428
|
disabled: !canIncrease.value,
|
|
26411
|
-
flat: true,
|
|
26412
26429
|
height: controlNodeDefaultHeight.value,
|
|
26413
26430
|
size: controlNodeSize.value,
|
|
26414
|
-
icon: incrementIcon.value
|
|
26431
|
+
icon: incrementIcon.value,
|
|
26432
|
+
variant: 'text'
|
|
26415
26433
|
}
|
|
26416
26434
|
}
|
|
26417
26435
|
}, {
|
|
@@ -26423,7 +26441,6 @@ const VNumberInput = genericComponent()({
|
|
|
26423
26441
|
"aria-hidden": "true",
|
|
26424
26442
|
"data-testid": "decrement",
|
|
26425
26443
|
"disabled": !canDecrease.value,
|
|
26426
|
-
"flat": true,
|
|
26427
26444
|
"height": controlNodeDefaultHeight.value,
|
|
26428
26445
|
"icon": decrementIcon.value,
|
|
26429
26446
|
"key": "decrement-btn",
|
|
@@ -26432,16 +26449,17 @@ const VNumberInput = genericComponent()({
|
|
|
26432
26449
|
"onPointerup": onControlMouseup,
|
|
26433
26450
|
"onPointercancel": onControlMouseup,
|
|
26434
26451
|
"size": controlNodeSize.value,
|
|
26452
|
+
"variant": "text",
|
|
26435
26453
|
"tabindex": "-1"
|
|
26436
26454
|
}, null) : createVNode(VDefaultsProvider, {
|
|
26437
26455
|
"key": "decrement-defaults",
|
|
26438
26456
|
"defaults": {
|
|
26439
26457
|
VBtn: {
|
|
26440
26458
|
disabled: !canDecrease.value,
|
|
26441
|
-
flat: true,
|
|
26442
26459
|
height: controlNodeDefaultHeight.value,
|
|
26443
26460
|
size: controlNodeSize.value,
|
|
26444
|
-
icon: decrementIcon.value
|
|
26461
|
+
icon: decrementIcon.value,
|
|
26462
|
+
variant: 'text'
|
|
26445
26463
|
}
|
|
26446
26464
|
}
|
|
26447
26465
|
}, {
|
|
@@ -26577,6 +26595,7 @@ const VOtpInput = genericComponent()({
|
|
|
26577
26595
|
const contentRef = ref();
|
|
26578
26596
|
const inputRef = ref([]);
|
|
26579
26597
|
const current = computed(() => inputRef.value[focusIndex.value]);
|
|
26598
|
+
let _isComposing = false;
|
|
26580
26599
|
useToggleScope(() => props.autofocus, () => {
|
|
26581
26600
|
const intersectScope = effectScope();
|
|
26582
26601
|
intersectScope.run(() => {
|
|
@@ -26601,6 +26620,7 @@ const VOtpInput = genericComponent()({
|
|
|
26601
26620
|
current.value.value = '';
|
|
26602
26621
|
return;
|
|
26603
26622
|
}
|
|
26623
|
+
if (_isComposing) return;
|
|
26604
26624
|
const array = model.value.slice();
|
|
26605
26625
|
const value = current.value.value;
|
|
26606
26626
|
array[focusIndex.value] = value;
|
|
@@ -26613,6 +26633,10 @@ const VOtpInput = genericComponent()({
|
|
|
26613
26633
|
model.value = array;
|
|
26614
26634
|
if (target) focusChild(contentRef.value, target);
|
|
26615
26635
|
}
|
|
26636
|
+
function onCompositionend() {
|
|
26637
|
+
_isComposing = false;
|
|
26638
|
+
onInput();
|
|
26639
|
+
}
|
|
26616
26640
|
function onKeydown(e) {
|
|
26617
26641
|
const array = model.value.slice();
|
|
26618
26642
|
const index = focusIndex.value;
|
|
@@ -26726,6 +26750,8 @@ const VOtpInput = genericComponent()({
|
|
|
26726
26750
|
"onFocus": e => onFocus(e, i),
|
|
26727
26751
|
"onBlur": onBlur,
|
|
26728
26752
|
"onKeydown": onKeydown,
|
|
26753
|
+
"onCompositionstart": () => _isComposing = true,
|
|
26754
|
+
"onCompositionend": onCompositionend,
|
|
26729
26755
|
"onPaste": event => onPaste(i, event)
|
|
26730
26756
|
}, null);
|
|
26731
26757
|
}
|
|
@@ -27950,7 +27976,7 @@ const VBarline = genericComponent()({
|
|
|
27950
27976
|
let minValue = props.min != null ? Number(props.min) : Math.min(...values);
|
|
27951
27977
|
if (minValue > 0 && props.min == null) minValue = 0;
|
|
27952
27978
|
if (maxValue < 0 && props.max == null) maxValue = 0;
|
|
27953
|
-
const gridX = maxX / totalValues;
|
|
27979
|
+
const gridX = maxX / (totalValues === 1 ? 2 : totalValues);
|
|
27954
27980
|
const gridY = (maxY - minY) / (maxValue - minValue || 1);
|
|
27955
27981
|
const horizonY = maxY - Math.abs(minValue * gridY);
|
|
27956
27982
|
return values.map((value, index) => {
|
|
@@ -27981,7 +28007,7 @@ const VBarline = genericComponent()({
|
|
|
27981
28007
|
return labels;
|
|
27982
28008
|
});
|
|
27983
28009
|
const bars = computed(() => genBars(items.value, boundary.value));
|
|
27984
|
-
const offsetX = computed(() => (Math.abs(bars.value[0].x - bars.value[1].x) - lineWidth.value) / 2);
|
|
28010
|
+
const offsetX = computed(() => bars.value.length === 1 ? (boundary.value.maxX - lineWidth.value) / 2 : (Math.abs(bars.value[0].x - bars.value[1].x) - lineWidth.value) / 2);
|
|
27985
28011
|
const smooth = computed(() => typeof props.smooth === 'boolean' ? props.smooth ? 2 : 0 : Number(props.smooth));
|
|
27986
28012
|
useRender(() => {
|
|
27987
28013
|
const gradientData = !props.gradient.slice().length ? [''] : props.gradient.slice().reverse();
|
|
@@ -28132,6 +28158,9 @@ const VTrendline = genericComponent()({
|
|
|
28132
28158
|
minY,
|
|
28133
28159
|
maxY
|
|
28134
28160
|
} = boundary;
|
|
28161
|
+
if (values.length === 1) {
|
|
28162
|
+
values = [values[0], values[0]];
|
|
28163
|
+
}
|
|
28135
28164
|
const totalValues = values.length;
|
|
28136
28165
|
const maxValue = props.max != null ? Number(props.max) : Math.max(...values);
|
|
28137
28166
|
const minValue = props.min != null ? Number(props.min) : Math.min(...values);
|
|
@@ -29446,7 +29475,10 @@ const VTextarea = genericComponent()({
|
|
|
29446
29475
|
modelValue: _,
|
|
29447
29476
|
...inputProps
|
|
29448
29477
|
} = VInput.filterProps(props);
|
|
29449
|
-
const fieldProps =
|
|
29478
|
+
const fieldProps = {
|
|
29479
|
+
...VField.filterProps(props),
|
|
29480
|
+
'onClick:clear': onClear
|
|
29481
|
+
};
|
|
29450
29482
|
return createVNode(VInput, mergeProps({
|
|
29451
29483
|
"ref": vInputRef,
|
|
29452
29484
|
"modelValue": model.value,
|
|
@@ -29482,7 +29514,6 @@ const VTextarea = genericComponent()({
|
|
|
29482
29514
|
},
|
|
29483
29515
|
"onClick": onControlClick,
|
|
29484
29516
|
"onMousedown": onControlMousedown,
|
|
29485
|
-
"onClick:clear": onClear,
|
|
29486
29517
|
"onClick:prependInner": props['onClick:prependInner'],
|
|
29487
29518
|
"onClick:appendInner": props['onClick:appendInner']
|
|
29488
29519
|
}, fieldProps, {
|
|
@@ -31539,7 +31570,7 @@ function createVuetify$1() {
|
|
|
31539
31570
|
};
|
|
31540
31571
|
});
|
|
31541
31572
|
}
|
|
31542
|
-
const version$1 = "3.9.
|
|
31573
|
+
const version$1 = "3.9.6";
|
|
31543
31574
|
createVuetify$1.version = version$1;
|
|
31544
31575
|
|
|
31545
31576
|
// Vue's inject() can only be used in setup
|
|
@@ -31564,7 +31595,7 @@ const createVuetify = function () {
|
|
|
31564
31595
|
...options
|
|
31565
31596
|
});
|
|
31566
31597
|
};
|
|
31567
|
-
const version = "3.9.
|
|
31598
|
+
const version = "3.9.6";
|
|
31568
31599
|
createVuetify.version = version;
|
|
31569
31600
|
|
|
31570
31601
|
export { index as blueprints, components, createVuetify, directives, useDate, useDefaults, useDisplay, useGoTo, useHotkey, useLayout, useLocale, useRtl, useTheme, version };
|