vuetify 3.7.15 → 3.7.16
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 +2932 -2928
- package/dist/json/importMap-labs.json +12 -12
- package/dist/json/importMap.json +164 -164
- package/dist/json/tags.json +3 -2
- package/dist/json/web-types.json +5470 -5438
- package/dist/vuetify-labs.css +2965 -2965
- package/dist/vuetify-labs.d.ts +438 -200
- package/dist/vuetify-labs.esm.js +155 -126
- package/dist/vuetify-labs.esm.js.map +1 -1
- package/dist/vuetify-labs.js +154 -125
- package/dist/vuetify-labs.min.css +2 -2
- package/dist/vuetify.css +4258 -4258
- package/dist/vuetify.d.ts +390 -210
- package/dist/vuetify.esm.js +101 -69
- package/dist/vuetify.esm.js.map +1 -1
- package/dist/vuetify.js +100 -68
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +2 -2
- package/dist/vuetify.min.js +227 -225
- package/dist/vuetify.min.js.map +1 -1
- package/lib/components/VAppBar/index.d.mts +15 -6
- package/lib/components/VAutocomplete/index.d.mts +23 -8
- package/lib/components/VBadge/VBadge.mjs +2 -2
- package/lib/components/VBadge/VBadge.mjs.map +1 -1
- package/lib/components/VBtn/VBtn.mjs +6 -3
- package/lib/components/VBtn/VBtn.mjs.map +1 -1
- package/lib/components/VBtn/index.d.mts +15 -6
- package/lib/components/VCard/VCard.mjs +12 -3
- package/lib/components/VCard/VCard.mjs.map +1 -1
- package/lib/components/VCard/VCardItem.mjs +11 -4
- package/lib/components/VCard/VCardItem.mjs.map +1 -1
- package/lib/components/VCard/index.d.mts +75 -30
- package/lib/components/VCarousel/VCarousel.mjs +1 -1
- package/lib/components/VCarousel/VCarousel.mjs.map +1 -1
- package/lib/components/VChip/VChip.mjs +6 -3
- package/lib/components/VChip/VChip.mjs.map +1 -1
- package/lib/components/VChip/index.d.mts +15 -6
- package/lib/components/VCombobox/index.d.mts +23 -8
- package/lib/components/VDataIterator/index.d.mts +2 -2
- package/lib/components/VDataTable/composables/headers.mjs +3 -1
- package/lib/components/VDataTable/composables/headers.mjs.map +1 -1
- package/lib/components/VDataTable/composables/paginate.mjs +2 -2
- package/lib/components/VDataTable/composables/paginate.mjs.map +1 -1
- package/lib/components/VDataTable/index.d.mts +34 -34
- package/lib/components/VDataTable/types.mjs.map +1 -1
- package/lib/components/VDatePicker/VDatePickerMonth.mjs +12 -21
- package/lib/components/VDatePicker/VDatePickerMonth.mjs.map +1 -1
- package/lib/components/VDatePicker/index.d.mts +3 -3
- package/lib/components/VDialog/index.d.mts +21 -6
- package/lib/components/VFab/index.d.mts +15 -6
- package/lib/components/VList/VListItem.mjs +11 -5
- package/lib/components/VList/VListItem.mjs.map +1 -1
- package/lib/components/VList/index.d.mts +32 -14
- package/lib/components/VMenu/index.d.mts +21 -6
- package/lib/components/VOverlay/VOverlay.mjs +10 -1
- package/lib/components/VOverlay/VOverlay.mjs.map +1 -1
- package/lib/components/VOverlay/index.d.mts +6 -0
- package/lib/components/VPagination/VPagination.mjs +3 -3
- package/lib/components/VPagination/VPagination.mjs.map +1 -1
- package/lib/components/VParallax/VParallax.mjs +1 -1
- package/lib/components/VParallax/VParallax.mjs.map +1 -1
- package/lib/components/VRating/VRating.mjs +1 -1
- package/lib/components/VRating/VRating.mjs.map +1 -1
- package/lib/components/VSelect/index.d.mts +23 -8
- package/lib/components/VSlider/slider.mjs +1 -1
- package/lib/components/VSlider/slider.mjs.map +1 -1
- package/lib/components/VSnackbar/index.d.mts +21 -6
- package/lib/components/VSparkline/VBarline.mjs +1 -1
- package/lib/components/VSparkline/VBarline.mjs.map +1 -1
- package/lib/components/VTabs/index.d.mts +39 -24
- package/lib/components/VTextarea/VTextarea.mjs +2 -2
- package/lib/components/VTextarea/VTextarea.mjs.map +1 -1
- package/lib/components/VTooltip/index.d.mts +21 -6
- package/lib/components/index.d.mts +333 -153
- package/lib/composables/stack.mjs +2 -2
- package/lib/composables/stack.mjs.map +1 -1
- package/lib/composables/validation.mjs +2 -2
- package/lib/composables/validation.mjs.map +1 -1
- package/lib/entry-bundler.mjs +1 -1
- package/lib/framework.mjs +1 -1
- package/lib/index.d.mts +57 -57
- package/lib/labs/VDateInput/VDateInput.mjs +3 -2
- package/lib/labs/VDateInput/VDateInput.mjs.map +1 -1
- package/lib/labs/VDateInput/index.d.mts +10 -10
- package/lib/labs/VFileUpload/VFileUpload.mjs +3 -2
- package/lib/labs/VFileUpload/VFileUpload.mjs.map +1 -1
- package/lib/labs/VFileUpload/index.d.mts +32 -14
- package/lib/labs/VNumberInput/VNumberInput.mjs +5 -5
- package/lib/labs/VNumberInput/VNumberInput.mjs.map +1 -1
- package/lib/labs/VSnackbarQueue/index.d.mts +21 -6
- package/lib/labs/VTimePicker/VTimePicker.mjs +30 -31
- package/lib/labs/VTimePicker/VTimePicker.mjs.map +1 -1
- package/lib/labs/VTimePicker/VTimePickerControls.mjs +14 -13
- package/lib/labs/VTimePicker/VTimePickerControls.mjs.map +1 -1
- package/lib/labs/VTimePicker/index.d.mts +35 -13
- package/lib/labs/VTimePicker/shared.mjs +2 -0
- package/lib/labs/VTimePicker/shared.mjs.map +1 -0
- package/lib/labs/VTreeview/index.d.mts +32 -14
- package/lib/labs/components.d.mts +128 -55
- package/lib/locale/adapters/vuetify.mjs +1 -1
- package/lib/locale/adapters/vuetify.mjs.map +1 -1
- package/lib/util/animation.mjs +8 -8
- package/lib/util/animation.mjs.map +1 -1
- package/lib/util/helpers.mjs +6 -4
- package/lib/util/helpers.mjs.map +1 -1
- package/package.json +2 -2
- package/lib/labs/VTimePicker/SelectingTimes.mjs +0 -10
- package/lib/labs/VTimePicker/SelectingTimes.mjs.map +0 -1
|
@@ -136,8 +136,8 @@ type DataTableHeader<T = Record<string, any>> = {
|
|
|
136
136
|
fixed?: boolean;
|
|
137
137
|
align?: 'start' | 'end' | 'center';
|
|
138
138
|
width?: number | string;
|
|
139
|
-
minWidth?: string;
|
|
140
|
-
maxWidth?: string;
|
|
139
|
+
minWidth?: number | string;
|
|
140
|
+
maxWidth?: number | string;
|
|
141
141
|
nowrap?: boolean;
|
|
142
142
|
headerProps?: Record<string, any>;
|
|
143
143
|
cellProps?: HeaderCellProps;
|
|
@@ -2070,8 +2070,8 @@ declare const VDataTableVirtual: {
|
|
|
2070
2070
|
readonly fixed?: boolean | undefined;
|
|
2071
2071
|
readonly align?: ("start" | "end" | "center") | undefined;
|
|
2072
2072
|
readonly width?: (number | string) | undefined;
|
|
2073
|
-
readonly minWidth?: string | undefined;
|
|
2074
|
-
readonly maxWidth?: string | undefined;
|
|
2073
|
+
readonly minWidth?: (number | string) | undefined;
|
|
2074
|
+
readonly maxWidth?: (number | string) | undefined;
|
|
2075
2075
|
readonly nowrap?: boolean | undefined;
|
|
2076
2076
|
readonly headerProps?: {
|
|
2077
2077
|
readonly [x: string]: any;
|
|
@@ -2090,8 +2090,8 @@ declare const VDataTableVirtual: {
|
|
|
2090
2090
|
readonly fixed?: boolean | undefined;
|
|
2091
2091
|
readonly align?: ("start" | "end" | "center") | undefined;
|
|
2092
2092
|
readonly width?: (number | string) | undefined;
|
|
2093
|
-
readonly minWidth?: string | undefined;
|
|
2094
|
-
readonly maxWidth?: string | undefined;
|
|
2093
|
+
readonly minWidth?: (number | string) | undefined;
|
|
2094
|
+
readonly maxWidth?: (number | string) | undefined;
|
|
2095
2095
|
readonly nowrap?: boolean | undefined;
|
|
2096
2096
|
readonly headerProps?: {
|
|
2097
2097
|
readonly [x: string]: any;
|
|
@@ -2170,8 +2170,8 @@ declare const VDataTableVirtual: {
|
|
|
2170
2170
|
readonly fixed?: boolean | undefined;
|
|
2171
2171
|
readonly align?: ("start" | "end" | "center") | undefined;
|
|
2172
2172
|
readonly width?: (number | string) | undefined;
|
|
2173
|
-
readonly minWidth?: string | undefined;
|
|
2174
|
-
readonly maxWidth?: string | undefined;
|
|
2173
|
+
readonly minWidth?: (number | string) | undefined;
|
|
2174
|
+
readonly maxWidth?: (number | string) | undefined;
|
|
2175
2175
|
readonly nowrap?: boolean | undefined;
|
|
2176
2176
|
readonly headerProps?: {
|
|
2177
2177
|
readonly [x: string]: any;
|
|
@@ -2190,8 +2190,8 @@ declare const VDataTableVirtual: {
|
|
|
2190
2190
|
readonly fixed?: boolean | undefined;
|
|
2191
2191
|
readonly align?: ("start" | "end" | "center") | undefined;
|
|
2192
2192
|
readonly width?: (number | string) | undefined;
|
|
2193
|
-
readonly minWidth?: string | undefined;
|
|
2194
|
-
readonly maxWidth?: string | undefined;
|
|
2193
|
+
readonly minWidth?: (number | string) | undefined;
|
|
2194
|
+
readonly maxWidth?: (number | string) | undefined;
|
|
2195
2195
|
readonly nowrap?: boolean | undefined;
|
|
2196
2196
|
readonly headerProps?: {
|
|
2197
2197
|
readonly [x: string]: any;
|
|
@@ -2344,8 +2344,8 @@ declare const VDataTableVirtual: {
|
|
|
2344
2344
|
readonly fixed?: boolean | undefined;
|
|
2345
2345
|
readonly align?: ("start" | "end" | "center") | undefined;
|
|
2346
2346
|
readonly width?: (number | string) | undefined;
|
|
2347
|
-
readonly minWidth?: string | undefined;
|
|
2348
|
-
readonly maxWidth?: string | undefined;
|
|
2347
|
+
readonly minWidth?: (number | string) | undefined;
|
|
2348
|
+
readonly maxWidth?: (number | string) | undefined;
|
|
2349
2349
|
readonly nowrap?: boolean | undefined;
|
|
2350
2350
|
readonly headerProps?: {
|
|
2351
2351
|
readonly [x: string]: any;
|
|
@@ -2364,8 +2364,8 @@ declare const VDataTableVirtual: {
|
|
|
2364
2364
|
readonly fixed?: boolean | undefined;
|
|
2365
2365
|
readonly align?: ("start" | "end" | "center") | undefined;
|
|
2366
2366
|
readonly width?: (number | string) | undefined;
|
|
2367
|
-
readonly minWidth?: string | undefined;
|
|
2368
|
-
readonly maxWidth?: string | undefined;
|
|
2367
|
+
readonly minWidth?: (number | string) | undefined;
|
|
2368
|
+
readonly maxWidth?: (number | string) | undefined;
|
|
2369
2369
|
readonly nowrap?: boolean | undefined;
|
|
2370
2370
|
readonly headerProps?: {
|
|
2371
2371
|
readonly [x: string]: any;
|
|
@@ -2474,8 +2474,8 @@ declare const VDataTableVirtual: {
|
|
|
2474
2474
|
readonly fixed?: boolean | undefined;
|
|
2475
2475
|
readonly align?: ("start" | "end" | "center") | undefined;
|
|
2476
2476
|
readonly width?: (number | string) | undefined;
|
|
2477
|
-
readonly minWidth?: string | undefined;
|
|
2478
|
-
readonly maxWidth?: string | undefined;
|
|
2477
|
+
readonly minWidth?: (number | string) | undefined;
|
|
2478
|
+
readonly maxWidth?: (number | string) | undefined;
|
|
2479
2479
|
readonly nowrap?: boolean | undefined;
|
|
2480
2480
|
readonly headerProps?: {
|
|
2481
2481
|
readonly [x: string]: any;
|
|
@@ -2494,8 +2494,8 @@ declare const VDataTableVirtual: {
|
|
|
2494
2494
|
readonly fixed?: boolean | undefined;
|
|
2495
2495
|
readonly align?: ("start" | "end" | "center") | undefined;
|
|
2496
2496
|
readonly width?: (number | string) | undefined;
|
|
2497
|
-
readonly minWidth?: string | undefined;
|
|
2498
|
-
readonly maxWidth?: string | undefined;
|
|
2497
|
+
readonly minWidth?: (number | string) | undefined;
|
|
2498
|
+
readonly maxWidth?: (number | string) | undefined;
|
|
2499
2499
|
readonly nowrap?: boolean | undefined;
|
|
2500
2500
|
readonly headerProps?: {
|
|
2501
2501
|
readonly [x: string]: any;
|
|
@@ -2899,8 +2899,8 @@ declare const VDataTableServer: {
|
|
|
2899
2899
|
readonly fixed?: boolean | undefined;
|
|
2900
2900
|
readonly align?: ("start" | "end" | "center") | undefined;
|
|
2901
2901
|
readonly width?: (number | string) | undefined;
|
|
2902
|
-
readonly minWidth?: string | undefined;
|
|
2903
|
-
readonly maxWidth?: string | undefined;
|
|
2902
|
+
readonly minWidth?: (number | string) | undefined;
|
|
2903
|
+
readonly maxWidth?: (number | string) | undefined;
|
|
2904
2904
|
readonly nowrap?: boolean | undefined;
|
|
2905
2905
|
readonly headerProps?: {
|
|
2906
2906
|
readonly [x: string]: any;
|
|
@@ -2919,8 +2919,8 @@ declare const VDataTableServer: {
|
|
|
2919
2919
|
readonly fixed?: boolean | undefined;
|
|
2920
2920
|
readonly align?: ("start" | "end" | "center") | undefined;
|
|
2921
2921
|
readonly width?: (number | string) | undefined;
|
|
2922
|
-
readonly minWidth?: string | undefined;
|
|
2923
|
-
readonly maxWidth?: string | undefined;
|
|
2922
|
+
readonly minWidth?: (number | string) | undefined;
|
|
2923
|
+
readonly maxWidth?: (number | string) | undefined;
|
|
2924
2924
|
readonly nowrap?: boolean | undefined;
|
|
2925
2925
|
readonly headerProps?: {
|
|
2926
2926
|
readonly [x: string]: any;
|
|
@@ -3015,8 +3015,8 @@ declare const VDataTableServer: {
|
|
|
3015
3015
|
readonly fixed?: boolean | undefined;
|
|
3016
3016
|
readonly align?: ("start" | "end" | "center") | undefined;
|
|
3017
3017
|
readonly width?: (number | string) | undefined;
|
|
3018
|
-
readonly minWidth?: string | undefined;
|
|
3019
|
-
readonly maxWidth?: string | undefined;
|
|
3018
|
+
readonly minWidth?: (number | string) | undefined;
|
|
3019
|
+
readonly maxWidth?: (number | string) | undefined;
|
|
3020
3020
|
readonly nowrap?: boolean | undefined;
|
|
3021
3021
|
readonly headerProps?: {
|
|
3022
3022
|
readonly [x: string]: any;
|
|
@@ -3035,8 +3035,8 @@ declare const VDataTableServer: {
|
|
|
3035
3035
|
readonly fixed?: boolean | undefined;
|
|
3036
3036
|
readonly align?: ("start" | "end" | "center") | undefined;
|
|
3037
3037
|
readonly width?: (number | string) | undefined;
|
|
3038
|
-
readonly minWidth?: string | undefined;
|
|
3039
|
-
readonly maxWidth?: string | undefined;
|
|
3038
|
+
readonly minWidth?: (number | string) | undefined;
|
|
3039
|
+
readonly maxWidth?: (number | string) | undefined;
|
|
3040
3040
|
readonly nowrap?: boolean | undefined;
|
|
3041
3041
|
readonly headerProps?: {
|
|
3042
3042
|
readonly [x: string]: any;
|
|
@@ -3221,8 +3221,8 @@ declare const VDataTableServer: {
|
|
|
3221
3221
|
readonly fixed?: boolean | undefined;
|
|
3222
3222
|
readonly align?: ("start" | "end" | "center") | undefined;
|
|
3223
3223
|
readonly width?: (number | string) | undefined;
|
|
3224
|
-
readonly minWidth?: string | undefined;
|
|
3225
|
-
readonly maxWidth?: string | undefined;
|
|
3224
|
+
readonly minWidth?: (number | string) | undefined;
|
|
3225
|
+
readonly maxWidth?: (number | string) | undefined;
|
|
3226
3226
|
readonly nowrap?: boolean | undefined;
|
|
3227
3227
|
readonly headerProps?: {
|
|
3228
3228
|
readonly [x: string]: any;
|
|
@@ -3241,8 +3241,8 @@ declare const VDataTableServer: {
|
|
|
3241
3241
|
readonly fixed?: boolean | undefined;
|
|
3242
3242
|
readonly align?: ("start" | "end" | "center") | undefined;
|
|
3243
3243
|
readonly width?: (number | string) | undefined;
|
|
3244
|
-
readonly minWidth?: string | undefined;
|
|
3245
|
-
readonly maxWidth?: string | undefined;
|
|
3244
|
+
readonly minWidth?: (number | string) | undefined;
|
|
3245
|
+
readonly maxWidth?: (number | string) | undefined;
|
|
3246
3246
|
readonly nowrap?: boolean | undefined;
|
|
3247
3247
|
readonly headerProps?: {
|
|
3248
3248
|
readonly [x: string]: any;
|
|
@@ -3379,8 +3379,8 @@ declare const VDataTableServer: {
|
|
|
3379
3379
|
readonly fixed?: boolean | undefined;
|
|
3380
3380
|
readonly align?: ("start" | "end" | "center") | undefined;
|
|
3381
3381
|
readonly width?: (number | string) | undefined;
|
|
3382
|
-
readonly minWidth?: string | undefined;
|
|
3383
|
-
readonly maxWidth?: string | undefined;
|
|
3382
|
+
readonly minWidth?: (number | string) | undefined;
|
|
3383
|
+
readonly maxWidth?: (number | string) | undefined;
|
|
3384
3384
|
readonly nowrap?: boolean | undefined;
|
|
3385
3385
|
readonly headerProps?: {
|
|
3386
3386
|
readonly [x: string]: any;
|
|
@@ -3399,8 +3399,8 @@ declare const VDataTableServer: {
|
|
|
3399
3399
|
readonly fixed?: boolean | undefined;
|
|
3400
3400
|
readonly align?: ("start" | "end" | "center") | undefined;
|
|
3401
3401
|
readonly width?: (number | string) | undefined;
|
|
3402
|
-
readonly minWidth?: string | undefined;
|
|
3403
|
-
readonly maxWidth?: string | undefined;
|
|
3402
|
+
readonly minWidth?: (number | string) | undefined;
|
|
3403
|
+
readonly maxWidth?: (number | string) | undefined;
|
|
3404
3404
|
readonly nowrap?: boolean | undefined;
|
|
3405
3405
|
readonly headerProps?: {
|
|
3406
3406
|
readonly [x: string]: any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.mjs","names":[],"sources":["../../../src/components/VDataTable/types.ts"],"sourcesContent":["// Types\nimport type { provideExpanded } from './composables/expand'\nimport type { Group, GroupableItem, provideGroupBy } from './composables/group'\nimport type { provideSelection, SelectableItem } from './composables/select'\nimport type { FilterFunction, InternalItem } from '@/composables/filter'\nimport type { SelectItemKey } from '@/util'\n\nexport type DataTableCompareFunction<T = any> = (a: T, b: T) => number | null\n\nexport type DataTableHeader<T = Record<string, any>> = {\n key?: 'data-table-group' | 'data-table-select' | 'data-table-expand' | (string & {})\n value?: SelectItemKey<T>\n title?: string\n\n fixed?: boolean\n align?: 'start' | 'end' | 'center'\n\n width?: number | string\n minWidth?: string\n maxWidth?: string\n nowrap?: boolean\n\n headerProps?: Record<string, any>\n cellProps?: HeaderCellProps\n\n sortable?: boolean\n sort?: DataTableCompareFunction\n sortRaw?: DataTableCompareFunction\n filter?: FilterFunction\n\n children?: DataTableHeader<T>[]\n}\n\nexport type InternalDataTableHeader = Omit<DataTableHeader, 'key' | 'value' | 'children'> & {\n key: string | null\n value: SelectItemKey | null\n sortable: boolean\n fixedOffset?: number\n lastFixed?: boolean\n nowrap?: boolean\n colspan?: number\n rowspan?: number\n children?: InternalDataTableHeader[]\n}\n\nexport interface DataTableItem<T = any> extends InternalItem<T>, GroupableItem<T>, SelectableItem {\n key: any\n index: number\n columns: {\n [key: string]: any\n }\n}\n\nexport type GroupHeaderSlot = {\n index: number\n item: Group\n columns: InternalDataTableHeader[]\n isExpanded: ReturnType<typeof provideExpanded>['isExpanded']\n toggleExpand: ReturnType<typeof provideExpanded>['toggleExpand']\n isSelected: ReturnType<typeof provideSelection>['isSelected']\n toggleSelect: ReturnType<typeof provideSelection>['toggleSelect']\n toggleGroup: ReturnType<typeof provideGroupBy>['toggleGroup']\n isGroupOpen: ReturnType<typeof provideGroupBy>['isGroupOpen']\n}\n\ntype ItemSlotBase<T> = {\n index: number\n item: T\n internalItem: DataTableItem<T>\n isExpanded: ReturnType<typeof provideExpanded>['isExpanded']\n toggleExpand: ReturnType<typeof provideExpanded>['toggleExpand']\n isSelected: ReturnType<typeof provideSelection>['isSelected']\n toggleSelect: ReturnType<typeof provideSelection>['toggleSelect']\n}\n\nexport type ItemSlot<T> = ItemSlotBase<T> & {\n columns: InternalDataTableHeader[]\n}\n\nexport type ItemKeySlot<T> = ItemSlotBase<T> & {\n value: any\n column: InternalDataTableHeader\n}\n\nexport type RowProps<T> =\n | Record<string, any>\n | ((data: Pick<ItemKeySlot<T>, 'index' | 'item' | 'internalItem'>) => Record<string, any>)\n\nexport type CellProps<T> =\n | Record<string, any>\n | ((data: Pick<ItemKeySlot<T>, 'index' | 'item' | 'internalItem' | 'value' | 'column'>) => Record<string, any>)\n\nexport type HeaderCellProps =\n | Record<string, any>\n | ((data: Pick<ItemKeySlot<any>, 'index' | 'item' | 'internalItem' | 'value'>) => Record<string, any>)\n"],"mappings":"","ignoreList":[]}
|
|
1
|
+
{"version":3,"file":"types.mjs","names":[],"sources":["../../../src/components/VDataTable/types.ts"],"sourcesContent":["// Types\nimport type { provideExpanded } from './composables/expand'\nimport type { Group, GroupableItem, provideGroupBy } from './composables/group'\nimport type { provideSelection, SelectableItem } from './composables/select'\nimport type { FilterFunction, InternalItem } from '@/composables/filter'\nimport type { SelectItemKey } from '@/util'\n\nexport type DataTableCompareFunction<T = any> = (a: T, b: T) => number | null\n\nexport type DataTableHeader<T = Record<string, any>> = {\n key?: 'data-table-group' | 'data-table-select' | 'data-table-expand' | (string & {})\n value?: SelectItemKey<T>\n title?: string\n\n fixed?: boolean\n align?: 'start' | 'end' | 'center'\n\n width?: number | string\n minWidth?: number | string\n maxWidth?: number | string\n nowrap?: boolean\n\n headerProps?: Record<string, any>\n cellProps?: HeaderCellProps\n\n sortable?: boolean\n sort?: DataTableCompareFunction\n sortRaw?: DataTableCompareFunction\n filter?: FilterFunction\n\n children?: DataTableHeader<T>[]\n}\n\nexport type InternalDataTableHeader = Omit<DataTableHeader, 'key' | 'value' | 'children'> & {\n key: string | null\n value: SelectItemKey | null\n sortable: boolean\n fixedOffset?: number\n lastFixed?: boolean\n nowrap?: boolean\n colspan?: number\n rowspan?: number\n children?: InternalDataTableHeader[]\n}\n\nexport interface DataTableItem<T = any> extends InternalItem<T>, GroupableItem<T>, SelectableItem {\n key: any\n index: number\n columns: {\n [key: string]: any\n }\n}\n\nexport type GroupHeaderSlot = {\n index: number\n item: Group\n columns: InternalDataTableHeader[]\n isExpanded: ReturnType<typeof provideExpanded>['isExpanded']\n toggleExpand: ReturnType<typeof provideExpanded>['toggleExpand']\n isSelected: ReturnType<typeof provideSelection>['isSelected']\n toggleSelect: ReturnType<typeof provideSelection>['toggleSelect']\n toggleGroup: ReturnType<typeof provideGroupBy>['toggleGroup']\n isGroupOpen: ReturnType<typeof provideGroupBy>['isGroupOpen']\n}\n\ntype ItemSlotBase<T> = {\n index: number\n item: T\n internalItem: DataTableItem<T>\n isExpanded: ReturnType<typeof provideExpanded>['isExpanded']\n toggleExpand: ReturnType<typeof provideExpanded>['toggleExpand']\n isSelected: ReturnType<typeof provideSelection>['isSelected']\n toggleSelect: ReturnType<typeof provideSelection>['toggleSelect']\n}\n\nexport type ItemSlot<T> = ItemSlotBase<T> & {\n columns: InternalDataTableHeader[]\n}\n\nexport type ItemKeySlot<T> = ItemSlotBase<T> & {\n value: any\n column: InternalDataTableHeader\n}\n\nexport type RowProps<T> =\n | Record<string, any>\n | ((data: Pick<ItemKeySlot<T>, 'index' | 'item' | 'internalItem'>) => Record<string, any>)\n\nexport type CellProps<T> =\n | Record<string, any>\n | ((data: Pick<ItemKeySlot<T>, 'index' | 'item' | 'internalItem' | 'value' | 'column'>) => Record<string, any>)\n\nexport type HeaderCellProps =\n | Record<string, any>\n | ((data: Pick<ItemKeySlot<any>, 'index' | 'item' | 'internalItem' | 'value'>) => Record<string, any>)\n"],"mappings":"","ignoreList":[]}
|
|
@@ -3,13 +3,12 @@ import { createTextVNode as _createTextVNode, createVNode as _createVNode } from
|
|
|
3
3
|
import "./VDatePickerMonth.css";
|
|
4
4
|
|
|
5
5
|
// Components
|
|
6
|
-
import { VBtn } from "../VBtn/index.mjs";
|
|
7
|
-
import { VDefaultsProvider } from "../VDefaultsProvider/index.mjs"; // Composables
|
|
6
|
+
import { VBtn } from "../VBtn/index.mjs"; // Composables
|
|
8
7
|
import { makeCalendarProps, useCalendar } from "../../composables/calendar.mjs";
|
|
9
8
|
import { useDate } from "../../composables/date/date.mjs";
|
|
10
9
|
import { MaybeTransition } from "../../composables/transition.mjs"; // Utilities
|
|
11
10
|
import { computed, ref, shallowRef, watch } from 'vue';
|
|
12
|
-
import { genericComponent, omit, propsFactory } from "../../util/index.mjs"; // Types
|
|
11
|
+
import { genericComponent, omit, propsFactory, useRender } from "../../util/index.mjs"; // Types
|
|
13
12
|
export const makeVDatePickerMonthProps = propsFactory({
|
|
14
13
|
color: String,
|
|
15
14
|
hideWeekdays: Boolean,
|
|
@@ -120,7 +119,7 @@ export const VDatePickerMonth = genericComponent()({
|
|
|
120
119
|
model.value = [value];
|
|
121
120
|
}
|
|
122
121
|
}
|
|
123
|
-
|
|
122
|
+
useRender(() => _createVNode("div", {
|
|
124
123
|
"class": "v-date-picker-month"
|
|
125
124
|
}, [props.showWeek && _createVNode("div", {
|
|
126
125
|
"key": "weeks",
|
|
@@ -142,6 +141,13 @@ export const VDatePickerMonth = genericComponent()({
|
|
|
142
141
|
}, [weekDay])), daysInMonth.value.map((item, i) => {
|
|
143
142
|
const slotProps = {
|
|
144
143
|
props: {
|
|
144
|
+
class: 'v-date-picker-month__day-btn',
|
|
145
|
+
color: (item.isSelected || item.isToday) && !item.isDisabled ? props.color : undefined,
|
|
146
|
+
disabled: item.isDisabled,
|
|
147
|
+
icon: true,
|
|
148
|
+
ripple: false,
|
|
149
|
+
text: item.localized,
|
|
150
|
+
variant: item.isDisabled ? item.isToday ? 'outlined' : 'text' : item.isToday && !item.isSelected ? 'outlined' : 'flat',
|
|
145
151
|
onClick: () => onClick(item.date)
|
|
146
152
|
},
|
|
147
153
|
item,
|
|
@@ -159,24 +165,9 @@ export const VDatePickerMonth = genericComponent()({
|
|
|
159
165
|
'v-date-picker-month__day--week-start': item.isWeekStart
|
|
160
166
|
}],
|
|
161
167
|
"data-v-date": !item.isDisabled ? item.isoDate : undefined
|
|
162
|
-
}, [(props.showAdjacentMonths || !item.isAdjacent) && _createVNode(
|
|
163
|
-
"defaults": {
|
|
164
|
-
VBtn: {
|
|
165
|
-
class: 'v-date-picker-month__day-btn',
|
|
166
|
-
color: (item.isSelected || item.isToday) && !item.isDisabled ? props.color : undefined,
|
|
167
|
-
disabled: item.isDisabled,
|
|
168
|
-
icon: true,
|
|
169
|
-
ripple: false,
|
|
170
|
-
text: item.localized,
|
|
171
|
-
variant: item.isDisabled ? item.isToday ? 'outlined' : 'text' : item.isToday && !item.isSelected ? 'outlined' : 'flat',
|
|
172
|
-
onClick: () => onClick(item.date)
|
|
173
|
-
}
|
|
174
|
-
}
|
|
175
|
-
}, {
|
|
176
|
-
default: () => [slots.day?.(slotProps) ?? _createVNode(VBtn, slotProps.props, null)]
|
|
177
|
-
})]);
|
|
168
|
+
}, [(props.showAdjacentMonths || !item.isAdjacent) && (slots.day?.(slotProps) ?? _createVNode(VBtn, slotProps.props, null))]);
|
|
178
169
|
})])]
|
|
179
|
-
})]);
|
|
170
|
+
})]));
|
|
180
171
|
}
|
|
181
172
|
});
|
|
182
173
|
//# sourceMappingURL=VDatePickerMonth.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VDatePickerMonth.mjs","names":["VBtn","VDefaultsProvider","makeCalendarProps","useCalendar","useDate","MaybeTransition","computed","ref","shallowRef","watch","genericComponent","omit","propsFactory","makeVDatePickerMonthProps","color","String","hideWeekdays","Boolean","multiple","Number","showWeek","transition","type","default","reverseTransition","VDatePickerMonth","name","props","emits","date","setup","_ref","emit","slots","daysRef","daysInMonth","model","weekNumbers","adapter","rangeStart","rangeStop","isReverse","value","length","atMax","max","includes","Infinity","val","oldVal","isBefore","onRangeClick","_value","startOfDay","undefined","isSameDay","endOfDay","diff","getDiff","datesInRange","i","nextDate","addDays","push","onMultipleClick","index","findIndex","selection","splice","onClick","_createVNode","_createTextVNode","map","week","toString","getWeekdays","firstDayOfWeek","weekDay","item","slotProps","isSelected","isDisabled","isAdjacent","isHidden","isWeekEnd","isWeekStart","isoDate","showAdjacentMonths","class","isToday","disabled","icon","ripple","text","localized","variant","day"],"sources":["../../../src/components/VDatePicker/VDatePickerMonth.tsx"],"sourcesContent":["// Styles\nimport './VDatePickerMonth.sass'\n\n// Components\nimport { VBtn } from '@/components/VBtn'\nimport { VDefaultsProvider } from '@/components/VDefaultsProvider'\n\n// Composables\nimport { makeCalendarProps, useCalendar } from '@/composables/calendar'\nimport { useDate } from '@/composables/date/date'\nimport { MaybeTransition } from '@/composables/transition'\n\n// Utilities\nimport { computed, ref, shallowRef, watch } from 'vue'\nimport { genericComponent, omit, propsFactory } from '@/util'\n\n// Types\nimport type { PropType } from 'vue'\n\nexport type VDatePickerMonthSlots = {\n day: {\n props: {\n onClick: () => void\n }\n item: any\n i: number\n }\n}\n\nexport const makeVDatePickerMonthProps = propsFactory({\n color: String,\n hideWeekdays: Boolean,\n multiple: [Boolean, Number, String] as PropType<boolean | 'range' | number | (string & {})>,\n showWeek: Boolean,\n transition: {\n type: String,\n default: 'picker-transition',\n },\n reverseTransition: {\n type: String,\n default: 'picker-reverse-transition',\n },\n\n ...omit(makeCalendarProps(), ['displayValue']),\n}, 'VDatePickerMonth')\n\nexport const VDatePickerMonth = genericComponent<VDatePickerMonthSlots>()({\n name: 'VDatePickerMonth',\n\n props: makeVDatePickerMonthProps(),\n\n emits: {\n 'update:modelValue': (date: unknown) => true,\n 'update:month': (date: number) => true,\n 'update:year': (date: number) => true,\n },\n\n setup (props, { emit, slots }) {\n const daysRef = ref()\n\n const { daysInMonth, model, weekNumbers } = useCalendar(props)\n const adapter = useDate()\n\n const rangeStart = shallowRef()\n const rangeStop = shallowRef()\n const isReverse = shallowRef(false)\n\n const transition = computed(() => {\n return !isReverse.value ? props.transition : props.reverseTransition\n })\n\n if (props.multiple === 'range' && model.value.length > 0) {\n rangeStart.value = model.value[0]\n if (model.value.length > 1) {\n rangeStop.value = model.value[model.value.length - 1]\n }\n }\n\n const atMax = computed(() => {\n const max = ['number', 'string'].includes(typeof props.multiple) ? Number(props.multiple) : Infinity\n\n return model.value.length >= max\n })\n\n watch(daysInMonth, (val, oldVal) => {\n if (!oldVal) return\n\n isReverse.value = adapter.isBefore(val[0].date, oldVal[0].date)\n })\n\n function onRangeClick (value: unknown) {\n const _value = adapter.startOfDay(value)\n\n if (model.value.length === 0) {\n rangeStart.value = undefined\n } else if (model.value.length === 1) {\n rangeStart.value = model.value[0]\n rangeStop.value = undefined\n }\n if (!rangeStart.value) {\n rangeStart.value = _value\n model.value = [rangeStart.value]\n } else if (!rangeStop.value) {\n if (adapter.isSameDay(_value, rangeStart.value)) {\n rangeStart.value = undefined\n model.value = []\n return\n } else if (adapter.isBefore(_value, rangeStart.value)) {\n rangeStop.value = adapter.endOfDay(rangeStart.value)\n rangeStart.value = _value\n } else {\n rangeStop.value = adapter.endOfDay(_value)\n }\n\n const diff = adapter.getDiff(rangeStop.value, rangeStart.value, 'days')\n const datesInRange = [rangeStart.value]\n\n for (let i = 1; i < diff; i++) {\n const nextDate = adapter.addDays(rangeStart.value, i)\n datesInRange.push(nextDate)\n }\n\n datesInRange.push(rangeStop.value)\n\n model.value = datesInRange\n } else {\n rangeStart.value = value\n rangeStop.value = undefined\n model.value = [rangeStart.value]\n }\n }\n\n function onMultipleClick (value: unknown) {\n const index = model.value.findIndex(selection => adapter.isSameDay(selection, value))\n\n if (index === -1) {\n model.value = [...model.value, value]\n } else {\n const value = [...model.value]\n value.splice(index, 1)\n model.value = value\n }\n }\n\n function onClick (value: unknown) {\n if (props.multiple === 'range') {\n onRangeClick(value)\n } else if (props.multiple) {\n onMultipleClick(value)\n } else {\n model.value = [value]\n }\n }\n\n return () => (\n <div class=\"v-date-picker-month\">\n { props.showWeek && (\n <div key=\"weeks\" class=\"v-date-picker-month__weeks\">\n { !props.hideWeekdays && (\n <div key=\"hide-week-days\" class=\"v-date-picker-month__day\"> </div>\n )}\n { weekNumbers.value.map(week => (\n <div\n class={[\n 'v-date-picker-month__day',\n 'v-date-picker-month__day--adjacent',\n ]}\n >{ week }</div>\n ))}\n </div>\n )}\n\n <MaybeTransition name={ transition.value }>\n <div\n ref={ daysRef }\n key={ daysInMonth.value[0].date?.toString() }\n class=\"v-date-picker-month__days\"\n >\n { !props.hideWeekdays && adapter.getWeekdays(props.firstDayOfWeek).map(weekDay => (\n <div\n class={[\n 'v-date-picker-month__day',\n 'v-date-picker-month__weekday',\n ]}\n >{ weekDay }</div>\n ))}\n\n { daysInMonth.value.map((item, i) => {\n const slotProps = {\n props: {\n onClick: () => onClick(item.date),\n },\n item,\n i,\n } as const\n\n if (atMax.value && !item.isSelected) {\n item.isDisabled = true\n }\n\n return (\n <div\n class={[\n 'v-date-picker-month__day',\n {\n 'v-date-picker-month__day--adjacent': item.isAdjacent,\n 'v-date-picker-month__day--hide-adjacent': item.isHidden,\n 'v-date-picker-month__day--selected': item.isSelected,\n 'v-date-picker-month__day--week-end': item.isWeekEnd,\n 'v-date-picker-month__day--week-start': item.isWeekStart,\n },\n ]}\n data-v-date={ !item.isDisabled ? item.isoDate : undefined }\n >\n\n { (props.showAdjacentMonths || !item.isAdjacent) && (\n <VDefaultsProvider\n defaults={{\n VBtn: {\n class: 'v-date-picker-month__day-btn',\n color: (item.isSelected || item.isToday) && !item.isDisabled\n ? props.color\n : undefined,\n disabled: item.isDisabled,\n icon: true,\n ripple: false,\n text: item.localized,\n variant: item.isDisabled\n ? item.isToday ? 'outlined' : 'text'\n : item.isToday && !item.isSelected ? 'outlined' : 'flat',\n onClick: () => onClick(item.date),\n },\n }}\n >\n { slots.day?.(slotProps) ?? (\n <VBtn { ...slotProps.props } />\n )}\n </VDefaultsProvider>\n )}\n </div>\n )\n })}\n </div>\n </MaybeTransition>\n </div>\n )\n },\n})\n\nexport type VDatePickerMonth = InstanceType<typeof VDatePickerMonth>\n"],"mappings":";AAAA;AACA;;AAEA;AAAA,SACSA,IAAI;AAAA,SACJC,iBAAiB,0CAE1B;AAAA,SACSC,iBAAiB,EAAEC,WAAW;AAAA,SAC9BC,OAAO;AAAA,SACPC,eAAe,4CAExB;AACA,SAASC,QAAQ,EAAEC,GAAG,EAAEC,UAAU,EAAEC,KAAK,QAAQ,KAAK;AAAA,SAC7CC,gBAAgB,EAAEC,IAAI,EAAEC,YAAY,gCAE7C;AAaA,OAAO,MAAMC,yBAAyB,GAAGD,YAAY,CAAC;EACpDE,KAAK,EAAEC,MAAM;EACbC,YAAY,EAAEC,OAAO;EACrBC,QAAQ,EAAE,CAACD,OAAO,EAAEE,MAAM,EAAEJ,MAAM,CAAyD;EAC3FK,QAAQ,EAAEH,OAAO;EACjBI,UAAU,EAAE;IACVC,IAAI,EAAEP,MAAM;IACZQ,OAAO,EAAE;EACX,CAAC;EACDC,iBAAiB,EAAE;IACjBF,IAAI,EAAEP,MAAM;IACZQ,OAAO,EAAE;EACX,CAAC;EAED,GAAGZ,IAAI,CAACT,iBAAiB,CAAC,CAAC,EAAE,CAAC,cAAc,CAAC;AAC/C,CAAC,EAAE,kBAAkB,CAAC;AAEtB,OAAO,MAAMuB,gBAAgB,GAAGf,gBAAgB,CAAwB,CAAC,CAAC;EACxEgB,IAAI,EAAE,kBAAkB;EAExBC,KAAK,EAAEd,y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M,GAClCX,IAAI,CAACW,OAAO,IAAI,CAACX,IAAI,CAACE,UAAU,GAAG,UAAU,GAAG,MAAM;cAC1DX,OAAO,EAAEA,CAAA,KAAMA,OAAO,CAACS,IAAI,CAACjD,IAAI;YAClC;UACF;QAAC;UAAAN,OAAA,EAAAA,CAAA,MAECU,KAAK,CAAC+D,GAAG,GAAGjB,SAAS,CAAC,IAAAT,YAAA,CAAAtE,IAAA,EACX+E,SAAS,CAACpD,KAAK,OAC3B;QAAA,EAEJ;MAGP,CAAC,CAAC;IAAA,IAIT;EACH;AACF,CAAC,CAAC","ignoreList":[]}
|
|
1
|
+
{"version":3,"file":"VDatePickerMonth.mjs","names":["VBtn","makeCalendarProps","useCalendar","useDate","MaybeTransition","computed","ref","shallowRef","watch","genericComponent","omit","propsFactory","useRender","makeVDatePickerMonthProps","color","String","hideWeekdays","Boolean","multiple","Number","showWeek","transition","type","default","reverseTransition","VDatePickerMonth","name","props","emits","date","setup","_ref","emit","slots","daysRef","daysInMonth","model","weekNumbers","adapter","rangeStart","rangeStop","isReverse","value","length","atMax","max","includes","Infinity","val","oldVal","isBefore","onRangeClick","_value","startOfDay","undefined","isSameDay","endOfDay","diff","getDiff","datesInRange","i","nextDate","addDays","push","onMultipleClick","index","findIndex","selection","splice","onClick","_createVNode","_createTextVNode","map","week","toString","getWeekdays","firstDayOfWeek","weekDay","item","slotProps","class","isSelected","isToday","isDisabled","disabled","icon","ripple","text","localized","variant","isAdjacent","isHidden","isWeekEnd","isWeekStart","isoDate","showAdjacentMonths","day"],"sources":["../../../src/components/VDatePicker/VDatePickerMonth.tsx"],"sourcesContent":["// Styles\nimport './VDatePickerMonth.sass'\n\n// Components\nimport { VBtn } from '@/components/VBtn'\n\n// Composables\nimport { makeCalendarProps, useCalendar } from '@/composables/calendar'\nimport { useDate } from '@/composables/date/date'\nimport { MaybeTransition } from '@/composables/transition'\n\n// Utilities\nimport { computed, ref, shallowRef, watch } from 'vue'\nimport { genericComponent, omit, propsFactory, useRender } from '@/util'\n\n// Types\nimport type { PropType } from 'vue'\n\nexport type VDatePickerMonthSlots = {\n day: {\n props: {\n onClick: () => void\n }\n item: any\n i: number\n }\n}\n\nexport const makeVDatePickerMonthProps = propsFactory({\n color: String,\n hideWeekdays: Boolean,\n multiple: [Boolean, Number, String] as PropType<boolean | 'range' | number | (string & {})>,\n showWeek: Boolean,\n transition: {\n type: String,\n default: 'picker-transition',\n },\n reverseTransition: {\n type: String,\n default: 'picker-reverse-transition',\n },\n\n ...omit(makeCalendarProps(), ['displayValue']),\n}, 'VDatePickerMonth')\n\nexport const VDatePickerMonth = genericComponent<VDatePickerMonthSlots>()({\n name: 'VDatePickerMonth',\n\n props: makeVDatePickerMonthProps(),\n\n emits: {\n 'update:modelValue': (date: unknown) => true,\n 'update:month': (date: number) => true,\n 'update:year': (date: number) => true,\n },\n\n setup (props, { emit, slots }) {\n const daysRef = ref()\n\n const { daysInMonth, model, weekNumbers } = useCalendar(props)\n const adapter = useDate()\n\n const rangeStart = shallowRef()\n const rangeStop = shallowRef()\n const isReverse = shallowRef(false)\n\n const transition = computed(() => {\n return !isReverse.value ? props.transition : props.reverseTransition\n })\n\n if (props.multiple === 'range' && model.value.length > 0) {\n rangeStart.value = model.value[0]\n if (model.value.length > 1) {\n rangeStop.value = model.value[model.value.length - 1]\n }\n }\n\n const atMax = computed(() => {\n const max = ['number', 'string'].includes(typeof props.multiple) ? Number(props.multiple) : Infinity\n\n return model.value.length >= max\n })\n\n watch(daysInMonth, (val, oldVal) => {\n if (!oldVal) return\n\n isReverse.value = adapter.isBefore(val[0].date, oldVal[0].date)\n })\n\n function onRangeClick (value: unknown) {\n const _value = adapter.startOfDay(value)\n\n if (model.value.length === 0) {\n rangeStart.value = undefined\n } else if (model.value.length === 1) {\n rangeStart.value = model.value[0]\n rangeStop.value = undefined\n }\n if (!rangeStart.value) {\n rangeStart.value = _value\n model.value = [rangeStart.value]\n } else if (!rangeStop.value) {\n if (adapter.isSameDay(_value, rangeStart.value)) {\n rangeStart.value = undefined\n model.value = []\n return\n } else if (adapter.isBefore(_value, rangeStart.value)) {\n rangeStop.value = adapter.endOfDay(rangeStart.value)\n rangeStart.value = _value\n } else {\n rangeStop.value = adapter.endOfDay(_value)\n }\n\n const diff = adapter.getDiff(rangeStop.value, rangeStart.value, 'days')\n const datesInRange = [rangeStart.value]\n\n for (let i = 1; i < diff; i++) {\n const nextDate = adapter.addDays(rangeStart.value, i)\n datesInRange.push(nextDate)\n }\n\n datesInRange.push(rangeStop.value)\n\n model.value = datesInRange\n } else {\n rangeStart.value = value\n rangeStop.value = undefined\n model.value = [rangeStart.value]\n }\n }\n\n function onMultipleClick (value: unknown) {\n const index = model.value.findIndex(selection => adapter.isSameDay(selection, value))\n\n if (index === -1) {\n model.value = [...model.value, value]\n } else {\n const value = [...model.value]\n value.splice(index, 1)\n model.value = value\n }\n }\n\n function onClick (value: unknown) {\n if (props.multiple === 'range') {\n onRangeClick(value)\n } else if (props.multiple) {\n onMultipleClick(value)\n } else {\n model.value = [value]\n }\n }\n\n useRender(() => (\n <div class=\"v-date-picker-month\">\n { props.showWeek && (\n <div key=\"weeks\" class=\"v-date-picker-month__weeks\">\n { !props.hideWeekdays && (\n <div key=\"hide-week-days\" class=\"v-date-picker-month__day\"> </div>\n )}\n { weekNumbers.value.map(week => (\n <div\n class={[\n 'v-date-picker-month__day',\n 'v-date-picker-month__day--adjacent',\n ]}\n >{ week }</div>\n ))}\n </div>\n )}\n\n <MaybeTransition name={ transition.value }>\n <div\n ref={ daysRef }\n key={ daysInMonth.value[0].date?.toString() }\n class=\"v-date-picker-month__days\"\n >\n { !props.hideWeekdays && adapter.getWeekdays(props.firstDayOfWeek).map(weekDay => (\n <div\n class={[\n 'v-date-picker-month__day',\n 'v-date-picker-month__weekday',\n ]}\n >{ weekDay }</div>\n ))}\n\n { daysInMonth.value.map((item, i) => {\n const slotProps = {\n props: {\n class: 'v-date-picker-month__day-btn',\n color: (item.isSelected || item.isToday) && !item.isDisabled\n ? props.color\n : undefined,\n disabled: item.isDisabled,\n icon: true,\n ripple: false,\n text: item.localized,\n variant: item.isDisabled\n ? item.isToday ? 'outlined' : 'text'\n : item.isToday && !item.isSelected ? 'outlined' : 'flat',\n onClick: () => onClick(item.date),\n },\n item,\n i,\n } as const\n\n if (atMax.value && !item.isSelected) {\n item.isDisabled = true\n }\n\n return (\n <div\n class={[\n 'v-date-picker-month__day',\n {\n 'v-date-picker-month__day--adjacent': item.isAdjacent,\n 'v-date-picker-month__day--hide-adjacent': item.isHidden,\n 'v-date-picker-month__day--selected': item.isSelected,\n 'v-date-picker-month__day--week-end': item.isWeekEnd,\n 'v-date-picker-month__day--week-start': item.isWeekStart,\n },\n ]}\n data-v-date={ !item.isDisabled ? item.isoDate : undefined }\n >\n { (props.showAdjacentMonths || !item.isAdjacent) && (\n slots.day?.(slotProps) ?? (<VBtn { ...slotProps.props } />)\n )}\n </div>\n )\n })}\n </div>\n </MaybeTransition>\n </div>\n ))\n },\n})\n\nexport type VDatePickerMonth = InstanceType<typeof VDatePickerMonth>\n"],"mappings":";AAAA;AACA;;AAEA;AAAA,SACSA,IAAI,6BAEb;AAAA,SACSC,iBAAiB,EAAEC,WAAW;AAAA,SAC9BC,OAAO;AAAA,SACPC,eAAe,4CAExB;AACA,SAASC,QAAQ,EAAEC,GAAG,EAAEC,UAAU,EAAEC,KAAK,QAAQ,KAAK;AAAA,SAC7CC,gBAAgB,EAAEC,IAAI,EAAEC,YAAY,EAAEC,SAAS,gCAExD;AAaA,OAAO,MAAMC,yBAAyB,GAAGF,YAAY,CAAC;EACpDG,KAAK,EAAEC,MAAM;EACbC,YAAY,EAAEC,OAAO;EACrBC,QAAQ,EAAE,CAACD,OAAO,EAAEE,MAAM,EAAEJ,MAAM,CAAyD;EAC3FK,QAAQ,EAAEH,OAAO;EACjBI,UAAU,EAAE;IACVC,IAAI,EAAEP,MAAM;IACZQ,OAAO,EAAE;EACX,CAAC;EACDC,iBAAiB,EAAE;IACjBF,IAAI,EAA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AAI,CAACa,QAAQ;YACxD,oCAAoC,EAAEb,IAAI,CAACG,UAAU;YACrD,oCAAoC,EAAEH,IAAI,CAACc,SAAS;YACpD,sCAAsC,EAAEd,IAAI,CAACe;UAC/C,CAAC,CACF;UAAA,eACa,CAACf,IAAI,CAACK,UAAU,GAAGL,IAAI,CAACgB,OAAO,GAAGxC;QAAS,IAEvD,CAAC3B,KAAK,CAACoE,kBAAkB,IAAI,CAACjB,IAAI,CAACY,UAAU,MAC7CzD,KAAK,CAAC+D,GAAG,GAAGjB,SAAS,CAAC,IAAAT,YAAA,CAAAtE,IAAA,EAAgB+E,SAAS,CAACpD,KAAK,OAAM,CAC5D;MAGP,CAAC,CAAC;IAAA,IAIT,CAAC;EACJ;AACF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -976,7 +976,7 @@ declare const VDatePickerMonth: {
|
|
|
976
976
|
"onUpdate:modelValue"?: ((date: unknown) => any) | undefined;
|
|
977
977
|
"onUpdate:month"?: ((date: number) => any) | undefined;
|
|
978
978
|
"onUpdate:year"?: ((date: number) => any) | undefined;
|
|
979
|
-
},
|
|
979
|
+
}, void, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
980
980
|
'update:modelValue': (date: unknown) => true;
|
|
981
981
|
'update:month': (date: number) => true;
|
|
982
982
|
'update:year': (date: number) => true;
|
|
@@ -1104,7 +1104,7 @@ declare const VDatePickerMonth: {
|
|
|
1104
1104
|
"onUpdate:modelValue"?: ((date: unknown) => any) | undefined;
|
|
1105
1105
|
"onUpdate:month"?: ((date: number) => any) | undefined;
|
|
1106
1106
|
"onUpdate:year"?: ((date: number) => any) | undefined;
|
|
1107
|
-
},
|
|
1107
|
+
}, {}, {}, {}, {}, {
|
|
1108
1108
|
transition: string;
|
|
1109
1109
|
disabled: boolean;
|
|
1110
1110
|
reverseTransition: string;
|
|
@@ -1167,7 +1167,7 @@ declare const VDatePickerMonth: {
|
|
|
1167
1167
|
"onUpdate:modelValue"?: ((date: unknown) => any) | undefined;
|
|
1168
1168
|
"onUpdate:month"?: ((date: number) => any) | undefined;
|
|
1169
1169
|
"onUpdate:year"?: ((date: number) => any) | undefined;
|
|
1170
|
-
},
|
|
1170
|
+
}, void, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
1171
1171
|
'update:modelValue': (date: unknown) => true;
|
|
1172
1172
|
'update:month': (date: number) => true;
|
|
1173
1173
|
'update:year': (date: number) => true;
|
|
@@ -284,6 +284,7 @@ declare const VDialog: {
|
|
|
284
284
|
}) => vue.VNodeChild) | undefined;
|
|
285
285
|
onAfterEnter?: (() => any) | undefined;
|
|
286
286
|
onAfterLeave?: (() => any) | undefined;
|
|
287
|
+
onKeydown?: ((e: KeyboardEvent) => any) | undefined;
|
|
287
288
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
288
289
|
"onClick:outside"?: ((e: MouseEvent) => any) | undefined;
|
|
289
290
|
} & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & {
|
|
@@ -366,6 +367,7 @@ declare const VDialog: {
|
|
|
366
367
|
} & {
|
|
367
368
|
onAfterEnter?: (() => any) | undefined;
|
|
368
369
|
onAfterLeave?: (() => any) | undefined;
|
|
370
|
+
onKeydown?: ((e: KeyboardEvent) => any) | undefined;
|
|
369
371
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
370
372
|
"onClick:outside"?: ((e: MouseEvent) => any) | undefined;
|
|
371
373
|
}, "absolute" | "location" | "origin" | "transition" | "zIndex" | "style" | "eager" | "disabled" | "persistent" | "modelValue" | "locationStrategy" | "scrollStrategy" | "activatorProps" | "openOnClick" | "openOnHover" | "openOnFocus" | "closeOnContentClick" | "closeOnBack" | "contained" | "noClickAnimation" | "scrim" | "_disableGlobalStack">;
|
|
@@ -387,7 +389,7 @@ declare const VDialog: {
|
|
|
387
389
|
}>;
|
|
388
390
|
$root: vue.ComponentPublicInstance | null;
|
|
389
391
|
$parent: vue.ComponentPublicInstance | null;
|
|
390
|
-
$emit: ((event: "update:modelValue", value: boolean) => void) & ((event: "click:outside", e: MouseEvent) => void) & ((event: "afterEnter") => void) & ((event: "afterLeave") => void);
|
|
392
|
+
$emit: ((event: "keydown", e: KeyboardEvent) => void) & ((event: "update:modelValue", value: boolean) => void) & ((event: "click:outside", e: MouseEvent) => void) & ((event: "afterEnter") => void) & ((event: "afterLeave") => void);
|
|
391
393
|
$el: any;
|
|
392
394
|
$options: vue.ComponentOptionsBase<{
|
|
393
395
|
absolute: boolean;
|
|
@@ -469,6 +471,7 @@ declare const VDialog: {
|
|
|
469
471
|
} & {
|
|
470
472
|
onAfterEnter?: (() => any) | undefined;
|
|
471
473
|
onAfterLeave?: (() => any) | undefined;
|
|
474
|
+
onKeydown?: ((e: KeyboardEvent) => any) | undefined;
|
|
472
475
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
473
476
|
"onClick:outside"?: ((e: MouseEvent) => any) | undefined;
|
|
474
477
|
}, {
|
|
@@ -483,6 +486,7 @@ declare const VDialog: {
|
|
|
483
486
|
}, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
484
487
|
'click:outside': (e: MouseEvent) => true;
|
|
485
488
|
'update:modelValue': (value: boolean) => true;
|
|
489
|
+
keydown: (e: KeyboardEvent) => true;
|
|
486
490
|
afterEnter: () => true;
|
|
487
491
|
afterLeave: () => true;
|
|
488
492
|
}, string, {
|
|
@@ -621,6 +625,7 @@ declare const VDialog: {
|
|
|
621
625
|
} & {
|
|
622
626
|
onAfterEnter?: (() => any) | undefined;
|
|
623
627
|
onAfterLeave?: (() => any) | undefined;
|
|
628
|
+
onKeydown?: ((e: KeyboardEvent) => any) | undefined;
|
|
624
629
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
625
630
|
"onClick:outside"?: ((e: MouseEvent) => any) | undefined;
|
|
626
631
|
}, "target" | "contentEl" | "activatorEl" | "scrimEl" | "animateClick" | "globalTop" | "localTop" | "updateLocation"> & vue.ShallowUnwrapRef<{
|
|
@@ -632,7 +637,7 @@ declare const VDialog: {
|
|
|
632
637
|
globalTop: Readonly<vue.Ref<boolean>>;
|
|
633
638
|
localTop: vue.ComputedRef<boolean>;
|
|
634
639
|
updateLocation: vue.Ref<((e: Event) => void) | undefined>;
|
|
635
|
-
}> & {} & vue.ComponentCustomProperties & {}, "offset" | "key" | "height" | "width" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "opacity" | "target" | "class" | "theme" | "ref" | "onAfterEnter" | "onAfterLeave" | "$children" | "v-slots" | "v-slot:default" | "ref_for" | "ref_key" | "onVnodeBeforeMount" | "onVnodeMounted" | "onVnodeBeforeUpdate" | "onVnodeUpdated" | "onVnodeBeforeUnmount" | "onVnodeUnmounted" | "onUpdate:modelValue" | "contentClass" | "activator" | "v-slot:activator" | "closeDelay" | "openDelay" | "contentProps" | "attach" | "onClick:outside" | ("absolute" | "location" | "origin" | "transition" | "zIndex" | "style" | "eager" | "disabled" | "persistent" | "modelValue" | "locationStrategy" | "scrollStrategy" | "activatorProps" | "openOnClick" | "openOnHover" | "openOnFocus" | "closeOnContentClick" | "closeOnBack" | "contained" | "noClickAnimation" | "scrim" | "_disableGlobalStack")>, `$${any}`> & {
|
|
640
|
+
}> & {} & vue.ComponentCustomProperties & {}, "offset" | "key" | "height" | "width" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "opacity" | "target" | "class" | "theme" | "ref" | "onAfterEnter" | "onAfterLeave" | "onKeydown" | "$children" | "v-slots" | "v-slot:default" | "ref_for" | "ref_key" | "onVnodeBeforeMount" | "onVnodeMounted" | "onVnodeBeforeUpdate" | "onVnodeUpdated" | "onVnodeBeforeUnmount" | "onVnodeUnmounted" | "onUpdate:modelValue" | "contentClass" | "activator" | "v-slot:activator" | "closeDelay" | "openDelay" | "contentProps" | "attach" | "onClick:outside" | ("absolute" | "location" | "origin" | "transition" | "zIndex" | "style" | "eager" | "disabled" | "persistent" | "modelValue" | "locationStrategy" | "scrollStrategy" | "activatorProps" | "openOnClick" | "openOnHover" | "openOnFocus" | "closeOnContentClick" | "closeOnBack" | "contained" | "noClickAnimation" | "scrim" | "_disableGlobalStack")>, `$${any}`> & {
|
|
636
641
|
_allExposed: {
|
|
637
642
|
activatorEl: vue.Ref<HTMLElement | undefined>;
|
|
638
643
|
scrimEl: vue.Ref<HTMLElement | undefined>;
|
|
@@ -970,6 +975,7 @@ declare const VDialog: {
|
|
|
970
975
|
}) => vue.VNodeChild) | undefined;
|
|
971
976
|
onAfterEnter?: (() => any) | undefined;
|
|
972
977
|
onAfterLeave?: (() => any) | undefined;
|
|
978
|
+
onKeydown?: ((e: KeyboardEvent) => any) | undefined;
|
|
973
979
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
974
980
|
"onClick:outside"?: ((e: MouseEvent) => any) | undefined;
|
|
975
981
|
} & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & {
|
|
@@ -1052,6 +1058,7 @@ declare const VDialog: {
|
|
|
1052
1058
|
} & {
|
|
1053
1059
|
onAfterEnter?: (() => any) | undefined;
|
|
1054
1060
|
onAfterLeave?: (() => any) | undefined;
|
|
1061
|
+
onKeydown?: ((e: KeyboardEvent) => any) | undefined;
|
|
1055
1062
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
1056
1063
|
"onClick:outside"?: ((e: MouseEvent) => any) | undefined;
|
|
1057
1064
|
}, "absolute" | "location" | "origin" | "transition" | "zIndex" | "style" | "eager" | "disabled" | "persistent" | "modelValue" | "locationStrategy" | "scrollStrategy" | "activatorProps" | "openOnClick" | "openOnHover" | "openOnFocus" | "closeOnContentClick" | "closeOnBack" | "contained" | "noClickAnimation" | "scrim" | "_disableGlobalStack">;
|
|
@@ -1073,7 +1080,7 @@ declare const VDialog: {
|
|
|
1073
1080
|
}>;
|
|
1074
1081
|
$root: vue.ComponentPublicInstance | null;
|
|
1075
1082
|
$parent: vue.ComponentPublicInstance | null;
|
|
1076
|
-
$emit: ((event: "update:modelValue", value: boolean) => void) & ((event: "click:outside", e: MouseEvent) => void) & ((event: "afterEnter") => void) & ((event: "afterLeave") => void);
|
|
1083
|
+
$emit: ((event: "keydown", e: KeyboardEvent) => void) & ((event: "update:modelValue", value: boolean) => void) & ((event: "click:outside", e: MouseEvent) => void) & ((event: "afterEnter") => void) & ((event: "afterLeave") => void);
|
|
1077
1084
|
$el: any;
|
|
1078
1085
|
$options: vue.ComponentOptionsBase<{
|
|
1079
1086
|
absolute: boolean;
|
|
@@ -1155,6 +1162,7 @@ declare const VDialog: {
|
|
|
1155
1162
|
} & {
|
|
1156
1163
|
onAfterEnter?: (() => any) | undefined;
|
|
1157
1164
|
onAfterLeave?: (() => any) | undefined;
|
|
1165
|
+
onKeydown?: ((e: KeyboardEvent) => any) | undefined;
|
|
1158
1166
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
1159
1167
|
"onClick:outside"?: ((e: MouseEvent) => any) | undefined;
|
|
1160
1168
|
}, {
|
|
@@ -1169,6 +1177,7 @@ declare const VDialog: {
|
|
|
1169
1177
|
}, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
1170
1178
|
'click:outside': (e: MouseEvent) => true;
|
|
1171
1179
|
'update:modelValue': (value: boolean) => true;
|
|
1180
|
+
keydown: (e: KeyboardEvent) => true;
|
|
1172
1181
|
afterEnter: () => true;
|
|
1173
1182
|
afterLeave: () => true;
|
|
1174
1183
|
}, string, {
|
|
@@ -1307,6 +1316,7 @@ declare const VDialog: {
|
|
|
1307
1316
|
} & {
|
|
1308
1317
|
onAfterEnter?: (() => any) | undefined;
|
|
1309
1318
|
onAfterLeave?: (() => any) | undefined;
|
|
1319
|
+
onKeydown?: ((e: KeyboardEvent) => any) | undefined;
|
|
1310
1320
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
1311
1321
|
"onClick:outside"?: ((e: MouseEvent) => any) | undefined;
|
|
1312
1322
|
}, "target" | "contentEl" | "activatorEl" | "scrimEl" | "animateClick" | "globalTop" | "localTop" | "updateLocation"> & vue.ShallowUnwrapRef<{
|
|
@@ -1318,7 +1328,7 @@ declare const VDialog: {
|
|
|
1318
1328
|
globalTop: Readonly<vue.Ref<boolean>>;
|
|
1319
1329
|
localTop: vue.ComputedRef<boolean>;
|
|
1320
1330
|
updateLocation: vue.Ref<((e: Event) => void) | undefined>;
|
|
1321
|
-
}> & {} & vue.ComponentCustomProperties & {}, "offset" | "key" | "height" | "width" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "opacity" | "target" | "class" | "theme" | "ref" | "onAfterEnter" | "onAfterLeave" | "$children" | "v-slots" | "v-slot:default" | "ref_for" | "ref_key" | "onVnodeBeforeMount" | "onVnodeMounted" | "onVnodeBeforeUpdate" | "onVnodeUpdated" | "onVnodeBeforeUnmount" | "onVnodeUnmounted" | "onUpdate:modelValue" | "contentClass" | "activator" | "v-slot:activator" | "closeDelay" | "openDelay" | "contentProps" | "attach" | "onClick:outside" | ("absolute" | "location" | "origin" | "transition" | "zIndex" | "style" | "eager" | "disabled" | "persistent" | "modelValue" | "locationStrategy" | "scrollStrategy" | "activatorProps" | "openOnClick" | "openOnHover" | "openOnFocus" | "closeOnContentClick" | "closeOnBack" | "contained" | "noClickAnimation" | "scrim" | "_disableGlobalStack")>, `$${any}`> & {
|
|
1331
|
+
}> & {} & vue.ComponentCustomProperties & {}, "offset" | "key" | "height" | "width" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "opacity" | "target" | "class" | "theme" | "ref" | "onAfterEnter" | "onAfterLeave" | "onKeydown" | "$children" | "v-slots" | "v-slot:default" | "ref_for" | "ref_key" | "onVnodeBeforeMount" | "onVnodeMounted" | "onVnodeBeforeUpdate" | "onVnodeUpdated" | "onVnodeBeforeUnmount" | "onVnodeUnmounted" | "onUpdate:modelValue" | "contentClass" | "activator" | "v-slot:activator" | "closeDelay" | "openDelay" | "contentProps" | "attach" | "onClick:outside" | ("absolute" | "location" | "origin" | "transition" | "zIndex" | "style" | "eager" | "disabled" | "persistent" | "modelValue" | "locationStrategy" | "scrollStrategy" | "activatorProps" | "openOnClick" | "openOnHover" | "openOnFocus" | "closeOnContentClick" | "closeOnBack" | "contained" | "noClickAnimation" | "scrim" | "_disableGlobalStack")>, `$${any}`> & {
|
|
1322
1332
|
_allExposed: {
|
|
1323
1333
|
activatorEl: vue.Ref<HTMLElement | undefined>;
|
|
1324
1334
|
scrimEl: vue.Ref<HTMLElement | undefined>;
|
|
@@ -1555,6 +1565,7 @@ declare const VDialog: {
|
|
|
1555
1565
|
}) => vue.VNodeChild) | undefined;
|
|
1556
1566
|
onAfterEnter?: (() => any) | undefined;
|
|
1557
1567
|
onAfterLeave?: (() => any) | undefined;
|
|
1568
|
+
onKeydown?: ((e: KeyboardEvent) => any) | undefined;
|
|
1558
1569
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
1559
1570
|
"onClick:outside"?: ((e: MouseEvent) => any) | undefined;
|
|
1560
1571
|
} & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & {
|
|
@@ -1637,6 +1648,7 @@ declare const VDialog: {
|
|
|
1637
1648
|
} & {
|
|
1638
1649
|
onAfterEnter?: (() => any) | undefined;
|
|
1639
1650
|
onAfterLeave?: (() => any) | undefined;
|
|
1651
|
+
onKeydown?: ((e: KeyboardEvent) => any) | undefined;
|
|
1640
1652
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
1641
1653
|
"onClick:outside"?: ((e: MouseEvent) => any) | undefined;
|
|
1642
1654
|
}, "absolute" | "location" | "origin" | "transition" | "zIndex" | "style" | "eager" | "disabled" | "persistent" | "modelValue" | "locationStrategy" | "scrollStrategy" | "activatorProps" | "openOnClick" | "openOnHover" | "openOnFocus" | "closeOnContentClick" | "closeOnBack" | "contained" | "noClickAnimation" | "scrim" | "_disableGlobalStack">;
|
|
@@ -1658,7 +1670,7 @@ declare const VDialog: {
|
|
|
1658
1670
|
}>;
|
|
1659
1671
|
$root: vue.ComponentPublicInstance | null;
|
|
1660
1672
|
$parent: vue.ComponentPublicInstance | null;
|
|
1661
|
-
$emit: ((event: "update:modelValue", value: boolean) => void) & ((event: "click:outside", e: MouseEvent) => void) & ((event: "afterEnter") => void) & ((event: "afterLeave") => void);
|
|
1673
|
+
$emit: ((event: "keydown", e: KeyboardEvent) => void) & ((event: "update:modelValue", value: boolean) => void) & ((event: "click:outside", e: MouseEvent) => void) & ((event: "afterEnter") => void) & ((event: "afterLeave") => void);
|
|
1662
1674
|
$el: any;
|
|
1663
1675
|
$options: vue.ComponentOptionsBase<{
|
|
1664
1676
|
absolute: boolean;
|
|
@@ -1740,6 +1752,7 @@ declare const VDialog: {
|
|
|
1740
1752
|
} & {
|
|
1741
1753
|
onAfterEnter?: (() => any) | undefined;
|
|
1742
1754
|
onAfterLeave?: (() => any) | undefined;
|
|
1755
|
+
onKeydown?: ((e: KeyboardEvent) => any) | undefined;
|
|
1743
1756
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
1744
1757
|
"onClick:outside"?: ((e: MouseEvent) => any) | undefined;
|
|
1745
1758
|
}, {
|
|
@@ -1754,6 +1767,7 @@ declare const VDialog: {
|
|
|
1754
1767
|
}, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
1755
1768
|
'click:outside': (e: MouseEvent) => true;
|
|
1756
1769
|
'update:modelValue': (value: boolean) => true;
|
|
1770
|
+
keydown: (e: KeyboardEvent) => true;
|
|
1757
1771
|
afterEnter: () => true;
|
|
1758
1772
|
afterLeave: () => true;
|
|
1759
1773
|
}, string, {
|
|
@@ -1892,6 +1906,7 @@ declare const VDialog: {
|
|
|
1892
1906
|
} & {
|
|
1893
1907
|
onAfterEnter?: (() => any) | undefined;
|
|
1894
1908
|
onAfterLeave?: (() => any) | undefined;
|
|
1909
|
+
onKeydown?: ((e: KeyboardEvent) => any) | undefined;
|
|
1895
1910
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
1896
1911
|
"onClick:outside"?: ((e: MouseEvent) => any) | undefined;
|
|
1897
1912
|
}, "target" | "contentEl" | "activatorEl" | "scrimEl" | "animateClick" | "globalTop" | "localTop" | "updateLocation"> & vue.ShallowUnwrapRef<{
|
|
@@ -1903,7 +1918,7 @@ declare const VDialog: {
|
|
|
1903
1918
|
globalTop: Readonly<vue.Ref<boolean>>;
|
|
1904
1919
|
localTop: vue.ComputedRef<boolean>;
|
|
1905
1920
|
updateLocation: vue.Ref<((e: Event) => void) | undefined>;
|
|
1906
|
-
}> & {} & vue.ComponentCustomProperties & {}, "offset" | "key" | "height" | "width" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "opacity" | "target" | "class" | "theme" | "ref" | "onAfterEnter" | "onAfterLeave" | "$children" | "v-slots" | "v-slot:default" | "ref_for" | "ref_key" | "onVnodeBeforeMount" | "onVnodeMounted" | "onVnodeBeforeUpdate" | "onVnodeUpdated" | "onVnodeBeforeUnmount" | "onVnodeUnmounted" | "onUpdate:modelValue" | "contentClass" | "activator" | "v-slot:activator" | "closeDelay" | "openDelay" | "contentProps" | "attach" | "onClick:outside" | ("absolute" | "location" | "origin" | "transition" | "zIndex" | "style" | "eager" | "disabled" | "persistent" | "modelValue" | "locationStrategy" | "scrollStrategy" | "activatorProps" | "openOnClick" | "openOnHover" | "openOnFocus" | "closeOnContentClick" | "closeOnBack" | "contained" | "noClickAnimation" | "scrim" | "_disableGlobalStack")>, `$${any}`> & {
|
|
1921
|
+
}> & {} & vue.ComponentCustomProperties & {}, "offset" | "key" | "height" | "width" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "opacity" | "target" | "class" | "theme" | "ref" | "onAfterEnter" | "onAfterLeave" | "onKeydown" | "$children" | "v-slots" | "v-slot:default" | "ref_for" | "ref_key" | "onVnodeBeforeMount" | "onVnodeMounted" | "onVnodeBeforeUpdate" | "onVnodeUpdated" | "onVnodeBeforeUnmount" | "onVnodeUnmounted" | "onUpdate:modelValue" | "contentClass" | "activator" | "v-slot:activator" | "closeDelay" | "openDelay" | "contentProps" | "attach" | "onClick:outside" | ("absolute" | "location" | "origin" | "transition" | "zIndex" | "style" | "eager" | "disabled" | "persistent" | "modelValue" | "locationStrategy" | "scrollStrategy" | "activatorProps" | "openOnClick" | "openOnHover" | "openOnFocus" | "closeOnContentClick" | "closeOnBack" | "contained" | "noClickAnimation" | "scrim" | "_disableGlobalStack")>, `$${any}`> & {
|
|
1907
1922
|
_allExposed: {
|
|
1908
1923
|
activatorEl: vue.Ref<HTMLElement | undefined>;
|
|
1909
1924
|
scrimEl: vue.Ref<HTMLElement | undefined>;
|