vuetify 3.6.6 → 3.6.7
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 +42 -2
- package/dist/json/importMap-labs.json +12 -12
- package/dist/json/importMap.json +118 -118
- package/dist/json/tags.json +11 -1
- package/dist/json/web-types.json +119 -10
- package/dist/vuetify-labs.css +2529 -2516
- package/dist/vuetify-labs.d.ts +117 -15
- package/dist/vuetify-labs.esm.js +62 -29
- package/dist/vuetify-labs.esm.js.map +1 -1
- package/dist/vuetify-labs.js +62 -29
- package/dist/vuetify-labs.min.css +2 -2
- package/dist/vuetify.css +561 -548
- package/dist/vuetify.d.ts +149 -47
- package/dist/vuetify.esm.js +60 -27
- package/dist/vuetify.esm.js.map +1 -1
- package/dist/vuetify.js +60 -27
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +2 -2
- package/dist/vuetify.min.js +105 -103
- package/dist/vuetify.min.js.map +1 -1
- package/lib/components/VAutocomplete/VAutocomplete.mjs +3 -2
- package/lib/components/VAutocomplete/VAutocomplete.mjs.map +1 -1
- package/lib/components/VBtn/VBtn.css +6 -0
- package/lib/components/VBtn/VBtn.sass +6 -0
- package/lib/components/VCombobox/VCombobox.mjs +4 -3
- package/lib/components/VCombobox/VCombobox.mjs.map +1 -1
- package/lib/components/VConfirmEdit/VConfirmEdit.mjs +8 -0
- package/lib/components/VConfirmEdit/VConfirmEdit.mjs.map +1 -1
- package/lib/components/VConfirmEdit/index.d.mts +24 -3
- package/lib/components/VDataTable/VDataTable.css +4 -0
- package/lib/components/VDataTable/VDataTable.mjs +2 -1
- package/lib/components/VDataTable/VDataTable.mjs.map +1 -1
- package/lib/components/VDataTable/VDataTable.sass +4 -0
- package/lib/components/VDataTable/VDataTableHeaders.mjs +4 -3
- package/lib/components/VDataTable/VDataTableHeaders.mjs.map +1 -1
- package/lib/components/VDataTable/VDataTableServer.mjs +1 -1
- package/lib/components/VDataTable/VDataTableServer.mjs.map +1 -1
- package/lib/components/VDataTable/VDataTableVirtual.mjs +1 -1
- package/lib/components/VDataTable/VDataTableVirtual.mjs.map +1 -1
- package/lib/components/VDataTable/composables/sort.mjs +1 -1
- package/lib/components/VDataTable/composables/sort.mjs.map +1 -1
- package/lib/components/VDataTable/index.d.mts +63 -0
- package/lib/components/VDatePicker/VDatePicker.mjs +2 -1
- package/lib/components/VDatePicker/VDatePicker.mjs.map +1 -1
- package/lib/components/VDatePicker/VDatePickerMonths.mjs +10 -1
- package/lib/components/VDatePicker/VDatePickerMonths.mjs.map +1 -1
- package/lib/components/VDatePicker/index.d.mts +24 -6
- package/lib/components/VDivider/VDivider.css +2 -1
- package/lib/components/VDivider/VDivider.sass +2 -1
- package/lib/components/VField/VField.css +1 -0
- package/lib/components/VField/VField.sass +2 -0
- package/lib/components/VList/VListChildren.mjs +2 -1
- package/lib/components/VList/VListChildren.mjs.map +1 -1
- package/lib/components/index.d.mts +111 -9
- package/lib/composables/defaults.mjs +1 -1
- package/lib/composables/defaults.mjs.map +1 -1
- package/lib/composables/dimensions.mjs +16 -8
- package/lib/composables/dimensions.mjs.map +1 -1
- package/lib/entry-bundler.mjs +1 -1
- package/lib/framework.mjs +1 -1
- package/lib/index.d.mts +38 -38
- package/lib/labs/VCalendar/VCalendar.mjs +2 -2
- package/lib/labs/VCalendar/VCalendar.mjs.map +1 -1
- package/lib/labs/VDateInput/index.d.mts +6 -6
- package/lib/labs/components.d.mts +6 -6
- package/lib/locale/fa.mjs +10 -10
- package/lib/locale/fa.mjs.map +1 -1
- package/lib/util/helpers.mjs +2 -0
- package/lib/util/helpers.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -22405,6 +22405,9 @@ type VCombobox = InstanceType<typeof VCombobox>;
|
|
|
22405
22405
|
type VConfirmEditSlots<T> = {
|
|
22406
22406
|
default: {
|
|
22407
22407
|
model: Ref<T>;
|
|
22408
|
+
save: () => void;
|
|
22409
|
+
cancel: () => void;
|
|
22410
|
+
isPristine: boolean;
|
|
22408
22411
|
get actions(): VNode;
|
|
22409
22412
|
};
|
|
22410
22413
|
};
|
|
@@ -22416,7 +22419,11 @@ declare const VConfirmEdit: {
|
|
|
22416
22419
|
color?: string | undefined;
|
|
22417
22420
|
} & {
|
|
22418
22421
|
onCancel?: (() => any) | undefined;
|
|
22419
|
-
},
|
|
22422
|
+
}, {
|
|
22423
|
+
save: () => void;
|
|
22424
|
+
cancel: () => void;
|
|
22425
|
+
isPristine: vue.ComputedRef<boolean>;
|
|
22426
|
+
}, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, Omit<{
|
|
22420
22427
|
cancel: () => true;
|
|
22421
22428
|
save: (value: any) => true;
|
|
22422
22429
|
'update:modelValue': (value: any) => true;
|
|
@@ -22433,6 +22440,9 @@ declare const VConfirmEdit: {
|
|
|
22433
22440
|
}, true, {}, vue.SlotsType<Partial<{
|
|
22434
22441
|
default: (arg: {
|
|
22435
22442
|
model: Ref<unknown>;
|
|
22443
|
+
save: () => void;
|
|
22444
|
+
cancel: () => void;
|
|
22445
|
+
isPristine: boolean;
|
|
22436
22446
|
readonly actions: VNode<vue.RendererNode, vue.RendererElement, {
|
|
22437
22447
|
[key: string]: any;
|
|
22438
22448
|
}>;
|
|
@@ -22453,7 +22463,11 @@ declare const VConfirmEdit: {
|
|
|
22453
22463
|
color?: string | undefined;
|
|
22454
22464
|
} & {
|
|
22455
22465
|
onCancel?: (() => any) | undefined;
|
|
22456
|
-
}, {
|
|
22466
|
+
}, {
|
|
22467
|
+
save: () => void;
|
|
22468
|
+
cancel: () => void;
|
|
22469
|
+
isPristine: vue.ComputedRef<boolean>;
|
|
22470
|
+
}, {}, {}, {}, {
|
|
22457
22471
|
cancelText: string;
|
|
22458
22472
|
okText: string;
|
|
22459
22473
|
}>;
|
|
@@ -22467,7 +22481,11 @@ declare const VConfirmEdit: {
|
|
|
22467
22481
|
color?: string | undefined;
|
|
22468
22482
|
} & {
|
|
22469
22483
|
onCancel?: (() => any) | undefined;
|
|
22470
|
-
},
|
|
22484
|
+
}, {
|
|
22485
|
+
save: () => void;
|
|
22486
|
+
cancel: () => void;
|
|
22487
|
+
isPristine: vue.ComputedRef<boolean>;
|
|
22488
|
+
}, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, Omit<{
|
|
22471
22489
|
cancel: () => true;
|
|
22472
22490
|
save: (value: any) => true;
|
|
22473
22491
|
'update:modelValue': (value: any) => true;
|
|
@@ -22477,6 +22495,9 @@ declare const VConfirmEdit: {
|
|
|
22477
22495
|
}, {}, string, vue.SlotsType<Partial<{
|
|
22478
22496
|
default: (arg: {
|
|
22479
22497
|
model: Ref<unknown>;
|
|
22498
|
+
save: () => void;
|
|
22499
|
+
cancel: () => void;
|
|
22500
|
+
isPristine: boolean;
|
|
22480
22501
|
readonly actions: VNode<vue.RendererNode, vue.RendererElement, {
|
|
22481
22502
|
[key: string]: any;
|
|
22482
22503
|
}>;
|
|
@@ -23478,6 +23499,7 @@ declare const VDataTableHeaders: {
|
|
|
23478
23499
|
mobile: boolean | null;
|
|
23479
23500
|
sticky: boolean;
|
|
23480
23501
|
multiSort: boolean;
|
|
23502
|
+
disableSort: boolean;
|
|
23481
23503
|
sortAscIcon: IconValue;
|
|
23482
23504
|
sortDescIcon: IconValue;
|
|
23483
23505
|
} & {
|
|
@@ -23510,6 +23532,7 @@ declare const VDataTableHeaders: {
|
|
|
23510
23532
|
mobile: boolean | null;
|
|
23511
23533
|
sticky: boolean;
|
|
23512
23534
|
multiSort: boolean;
|
|
23535
|
+
disableSort: boolean;
|
|
23513
23536
|
sortAscIcon: IconValue;
|
|
23514
23537
|
sortDescIcon: IconValue;
|
|
23515
23538
|
} & {
|
|
@@ -23542,6 +23565,7 @@ declare const VDataTableHeaders: {
|
|
|
23542
23565
|
mobile: boolean | null;
|
|
23543
23566
|
sticky: boolean;
|
|
23544
23567
|
multiSort: boolean;
|
|
23568
|
+
disableSort: boolean;
|
|
23545
23569
|
sortAscIcon: IconValue;
|
|
23546
23570
|
sortDescIcon: IconValue;
|
|
23547
23571
|
}, true, {}, vue.SlotsType<Partial<{
|
|
@@ -23571,6 +23595,7 @@ declare const VDataTableHeaders: {
|
|
|
23571
23595
|
mobile: boolean | null;
|
|
23572
23596
|
sticky: boolean;
|
|
23573
23597
|
multiSort: boolean;
|
|
23598
|
+
disableSort: boolean;
|
|
23574
23599
|
sortAscIcon: IconValue;
|
|
23575
23600
|
sortDescIcon: IconValue;
|
|
23576
23601
|
} & {
|
|
@@ -23603,6 +23628,7 @@ declare const VDataTableHeaders: {
|
|
|
23603
23628
|
mobile: boolean | null;
|
|
23604
23629
|
sticky: boolean;
|
|
23605
23630
|
multiSort: boolean;
|
|
23631
|
+
disableSort: boolean;
|
|
23606
23632
|
sortAscIcon: IconValue;
|
|
23607
23633
|
sortDescIcon: IconValue;
|
|
23608
23634
|
}>;
|
|
@@ -23613,6 +23639,7 @@ declare const VDataTableHeaders: {
|
|
|
23613
23639
|
mobile: boolean | null;
|
|
23614
23640
|
sticky: boolean;
|
|
23615
23641
|
multiSort: boolean;
|
|
23642
|
+
disableSort: boolean;
|
|
23616
23643
|
sortAscIcon: IconValue;
|
|
23617
23644
|
sortDescIcon: IconValue;
|
|
23618
23645
|
} & {
|
|
@@ -23645,6 +23672,7 @@ declare const VDataTableHeaders: {
|
|
|
23645
23672
|
mobile: boolean | null;
|
|
23646
23673
|
sticky: boolean;
|
|
23647
23674
|
multiSort: boolean;
|
|
23675
|
+
disableSort: boolean;
|
|
23648
23676
|
sortAscIcon: IconValue;
|
|
23649
23677
|
sortDescIcon: IconValue;
|
|
23650
23678
|
}, {}, string, vue.SlotsType<Partial<{
|
|
@@ -23672,6 +23700,7 @@ declare const VDataTableHeaders: {
|
|
|
23672
23700
|
mobileBreakpoint: PropType<number | DisplayBreakpoint>;
|
|
23673
23701
|
color: StringConstructor;
|
|
23674
23702
|
sticky: BooleanConstructor;
|
|
23703
|
+
disableSort: BooleanConstructor;
|
|
23675
23704
|
multiSort: BooleanConstructor;
|
|
23676
23705
|
sortAscIcon: {
|
|
23677
23706
|
type: PropType<IconValue>;
|
|
@@ -23693,6 +23722,7 @@ declare const VDataTableHeaders: {
|
|
|
23693
23722
|
mobileBreakpoint: PropType<number | DisplayBreakpoint>;
|
|
23694
23723
|
color: StringConstructor;
|
|
23695
23724
|
sticky: BooleanConstructor;
|
|
23725
|
+
disableSort: BooleanConstructor;
|
|
23696
23726
|
multiSort: BooleanConstructor;
|
|
23697
23727
|
sortAscIcon: {
|
|
23698
23728
|
type: PropType<IconValue>;
|
|
@@ -24170,10 +24200,12 @@ declare const VDataTable: {
|
|
|
24170
24200
|
value: number;
|
|
24171
24201
|
})[];
|
|
24172
24202
|
showCurrentPage: boolean;
|
|
24203
|
+
disableSort: boolean;
|
|
24173
24204
|
sortAscIcon: IconValue;
|
|
24174
24205
|
sortDescIcon: IconValue;
|
|
24175
24206
|
fixedHeader: boolean;
|
|
24176
24207
|
fixedFooter: boolean;
|
|
24208
|
+
hideDefaultBody: boolean;
|
|
24177
24209
|
hideDefaultFooter: boolean;
|
|
24178
24210
|
hideDefaultHeader: boolean;
|
|
24179
24211
|
} & {
|
|
@@ -24247,10 +24279,12 @@ declare const VDataTable: {
|
|
|
24247
24279
|
value: number;
|
|
24248
24280
|
})[];
|
|
24249
24281
|
showCurrentPage: boolean;
|
|
24282
|
+
disableSort: boolean;
|
|
24250
24283
|
sortAscIcon: IconValue;
|
|
24251
24284
|
sortDescIcon: IconValue;
|
|
24252
24285
|
fixedHeader: boolean;
|
|
24253
24286
|
fixedFooter: boolean;
|
|
24287
|
+
hideDefaultBody: boolean;
|
|
24254
24288
|
hideDefaultFooter: boolean;
|
|
24255
24289
|
hideDefaultHeader: boolean;
|
|
24256
24290
|
} & {
|
|
@@ -24315,10 +24349,12 @@ declare const VDataTable: {
|
|
|
24315
24349
|
value: number;
|
|
24316
24350
|
})[];
|
|
24317
24351
|
showCurrentPage: boolean;
|
|
24352
|
+
disableSort: boolean;
|
|
24318
24353
|
sortAscIcon: IconValue;
|
|
24319
24354
|
sortDescIcon: IconValue;
|
|
24320
24355
|
fixedHeader: boolean;
|
|
24321
24356
|
fixedFooter: boolean;
|
|
24357
|
+
hideDefaultBody: boolean;
|
|
24322
24358
|
hideDefaultFooter: boolean;
|
|
24323
24359
|
hideDefaultHeader: boolean;
|
|
24324
24360
|
}, true, {}, vue.SlotsType<Partial<{
|
|
@@ -24465,10 +24501,12 @@ declare const VDataTable: {
|
|
|
24465
24501
|
value: number;
|
|
24466
24502
|
})[];
|
|
24467
24503
|
showCurrentPage: boolean;
|
|
24504
|
+
disableSort: boolean;
|
|
24468
24505
|
sortAscIcon: IconValue;
|
|
24469
24506
|
sortDescIcon: IconValue;
|
|
24470
24507
|
fixedHeader: boolean;
|
|
24471
24508
|
fixedFooter: boolean;
|
|
24509
|
+
hideDefaultBody: boolean;
|
|
24472
24510
|
hideDefaultFooter: boolean;
|
|
24473
24511
|
hideDefaultHeader: boolean;
|
|
24474
24512
|
} & {
|
|
@@ -24533,10 +24571,12 @@ declare const VDataTable: {
|
|
|
24533
24571
|
value: number;
|
|
24534
24572
|
})[];
|
|
24535
24573
|
showCurrentPage: boolean;
|
|
24574
|
+
disableSort: boolean;
|
|
24536
24575
|
sortAscIcon: IconValue;
|
|
24537
24576
|
sortDescIcon: IconValue;
|
|
24538
24577
|
fixedHeader: boolean;
|
|
24539
24578
|
fixedFooter: boolean;
|
|
24579
|
+
hideDefaultBody: boolean;
|
|
24540
24580
|
hideDefaultFooter: boolean;
|
|
24541
24581
|
hideDefaultHeader: boolean;
|
|
24542
24582
|
}>;
|
|
@@ -24583,10 +24623,12 @@ declare const VDataTable: {
|
|
|
24583
24623
|
value: number;
|
|
24584
24624
|
})[];
|
|
24585
24625
|
showCurrentPage: boolean;
|
|
24626
|
+
disableSort: boolean;
|
|
24586
24627
|
sortAscIcon: IconValue;
|
|
24587
24628
|
sortDescIcon: IconValue;
|
|
24588
24629
|
fixedHeader: boolean;
|
|
24589
24630
|
fixedFooter: boolean;
|
|
24631
|
+
hideDefaultBody: boolean;
|
|
24590
24632
|
hideDefaultFooter: boolean;
|
|
24591
24633
|
hideDefaultHeader: boolean;
|
|
24592
24634
|
} & {
|
|
@@ -24660,10 +24702,12 @@ declare const VDataTable: {
|
|
|
24660
24702
|
value: number;
|
|
24661
24703
|
})[];
|
|
24662
24704
|
showCurrentPage: boolean;
|
|
24705
|
+
disableSort: boolean;
|
|
24663
24706
|
sortAscIcon: IconValue;
|
|
24664
24707
|
sortDescIcon: IconValue;
|
|
24665
24708
|
fixedHeader: boolean;
|
|
24666
24709
|
fixedFooter: boolean;
|
|
24710
|
+
hideDefaultBody: boolean;
|
|
24667
24711
|
hideDefaultFooter: boolean;
|
|
24668
24712
|
hideDefaultHeader: boolean;
|
|
24669
24713
|
}, {}, string, vue.SlotsType<Partial<{
|
|
@@ -24912,6 +24956,7 @@ declare const VDataTable: {
|
|
|
24912
24956
|
mobileBreakpoint: vue.PropType<number | DisplayBreakpoint>;
|
|
24913
24957
|
color: StringConstructor;
|
|
24914
24958
|
sticky: BooleanConstructor;
|
|
24959
|
+
disableSort: BooleanConstructor;
|
|
24915
24960
|
multiSort: BooleanConstructor;
|
|
24916
24961
|
sortAscIcon: {
|
|
24917
24962
|
type: vue.PropType<IconValue>;
|
|
@@ -25013,6 +25058,7 @@ declare const VDataTable: {
|
|
|
25013
25058
|
type: vue.PropType<readonly string[]>;
|
|
25014
25059
|
default: () => never[];
|
|
25015
25060
|
};
|
|
25061
|
+
hideDefaultBody: BooleanConstructor;
|
|
25016
25062
|
hideDefaultFooter: BooleanConstructor;
|
|
25017
25063
|
hideDefaultHeader: BooleanConstructor;
|
|
25018
25064
|
width: (StringConstructor | NumberConstructor)[];
|
|
@@ -25121,6 +25167,7 @@ declare const VDataTable: {
|
|
|
25121
25167
|
mobileBreakpoint: vue.PropType<number | DisplayBreakpoint>;
|
|
25122
25168
|
color: StringConstructor;
|
|
25123
25169
|
sticky: BooleanConstructor;
|
|
25170
|
+
disableSort: BooleanConstructor;
|
|
25124
25171
|
multiSort: BooleanConstructor;
|
|
25125
25172
|
sortAscIcon: {
|
|
25126
25173
|
type: vue.PropType<IconValue>;
|
|
@@ -25222,6 +25269,7 @@ declare const VDataTable: {
|
|
|
25222
25269
|
type: vue.PropType<readonly string[]>;
|
|
25223
25270
|
default: () => never[];
|
|
25224
25271
|
};
|
|
25272
|
+
hideDefaultBody: BooleanConstructor;
|
|
25225
25273
|
hideDefaultFooter: BooleanConstructor;
|
|
25226
25274
|
hideDefaultHeader: BooleanConstructor;
|
|
25227
25275
|
width: (StringConstructor | NumberConstructor)[];
|
|
@@ -25558,10 +25606,12 @@ declare const VDataTableVirtual: {
|
|
|
25558
25606
|
showSelect: boolean;
|
|
25559
25607
|
expandOnClick: boolean;
|
|
25560
25608
|
showExpand: boolean;
|
|
25609
|
+
disableSort: boolean;
|
|
25561
25610
|
sortAscIcon: IconValue;
|
|
25562
25611
|
sortDescIcon: IconValue;
|
|
25563
25612
|
fixedHeader: boolean;
|
|
25564
25613
|
fixedFooter: boolean;
|
|
25614
|
+
hideDefaultBody: boolean;
|
|
25565
25615
|
hideDefaultFooter: boolean;
|
|
25566
25616
|
hideDefaultHeader: boolean;
|
|
25567
25617
|
} & {
|
|
@@ -25658,10 +25708,12 @@ declare const VDataTableVirtual: {
|
|
|
25658
25708
|
showSelect: boolean;
|
|
25659
25709
|
expandOnClick: boolean;
|
|
25660
25710
|
showExpand: boolean;
|
|
25711
|
+
disableSort: boolean;
|
|
25661
25712
|
sortAscIcon: IconValue;
|
|
25662
25713
|
sortDescIcon: IconValue;
|
|
25663
25714
|
fixedHeader: boolean;
|
|
25664
25715
|
fixedFooter: boolean;
|
|
25716
|
+
hideDefaultBody: boolean;
|
|
25665
25717
|
hideDefaultFooter: boolean;
|
|
25666
25718
|
hideDefaultHeader: boolean;
|
|
25667
25719
|
} & {
|
|
@@ -25752,10 +25804,12 @@ declare const VDataTableVirtual: {
|
|
|
25752
25804
|
showSelect: boolean;
|
|
25753
25805
|
expandOnClick: boolean;
|
|
25754
25806
|
showExpand: boolean;
|
|
25807
|
+
disableSort: boolean;
|
|
25755
25808
|
sortAscIcon: IconValue;
|
|
25756
25809
|
sortDescIcon: IconValue;
|
|
25757
25810
|
fixedHeader: boolean;
|
|
25758
25811
|
fixedFooter: boolean;
|
|
25812
|
+
hideDefaultBody: boolean;
|
|
25759
25813
|
hideDefaultFooter: boolean;
|
|
25760
25814
|
hideDefaultHeader: boolean;
|
|
25761
25815
|
}, true, {}, vue.SlotsType<Partial<{
|
|
@@ -25870,10 +25924,12 @@ declare const VDataTableVirtual: {
|
|
|
25870
25924
|
showSelect: boolean;
|
|
25871
25925
|
expandOnClick: boolean;
|
|
25872
25926
|
showExpand: boolean;
|
|
25927
|
+
disableSort: boolean;
|
|
25873
25928
|
sortAscIcon: IconValue;
|
|
25874
25929
|
sortDescIcon: IconValue;
|
|
25875
25930
|
fixedHeader: boolean;
|
|
25876
25931
|
fixedFooter: boolean;
|
|
25932
|
+
hideDefaultBody: boolean;
|
|
25877
25933
|
hideDefaultFooter: boolean;
|
|
25878
25934
|
hideDefaultHeader: boolean;
|
|
25879
25935
|
} & {
|
|
@@ -25964,10 +26020,12 @@ declare const VDataTableVirtual: {
|
|
|
25964
26020
|
showSelect: boolean;
|
|
25965
26021
|
expandOnClick: boolean;
|
|
25966
26022
|
showExpand: boolean;
|
|
26023
|
+
disableSort: boolean;
|
|
25967
26024
|
sortAscIcon: IconValue;
|
|
25968
26025
|
sortDescIcon: IconValue;
|
|
25969
26026
|
fixedHeader: boolean;
|
|
25970
26027
|
fixedFooter: boolean;
|
|
26028
|
+
hideDefaultBody: boolean;
|
|
25971
26029
|
hideDefaultFooter: boolean;
|
|
25972
26030
|
hideDefaultHeader: boolean;
|
|
25973
26031
|
}>;
|
|
@@ -25998,10 +26056,12 @@ declare const VDataTableVirtual: {
|
|
|
25998
26056
|
showSelect: boolean;
|
|
25999
26057
|
expandOnClick: boolean;
|
|
26000
26058
|
showExpand: boolean;
|
|
26059
|
+
disableSort: boolean;
|
|
26001
26060
|
sortAscIcon: IconValue;
|
|
26002
26061
|
sortDescIcon: IconValue;
|
|
26003
26062
|
fixedHeader: boolean;
|
|
26004
26063
|
fixedFooter: boolean;
|
|
26064
|
+
hideDefaultBody: boolean;
|
|
26005
26065
|
hideDefaultFooter: boolean;
|
|
26006
26066
|
hideDefaultHeader: boolean;
|
|
26007
26067
|
} & {
|
|
@@ -26098,10 +26158,12 @@ declare const VDataTableVirtual: {
|
|
|
26098
26158
|
showSelect: boolean;
|
|
26099
26159
|
expandOnClick: boolean;
|
|
26100
26160
|
showExpand: boolean;
|
|
26161
|
+
disableSort: boolean;
|
|
26101
26162
|
sortAscIcon: IconValue;
|
|
26102
26163
|
sortDescIcon: IconValue;
|
|
26103
26164
|
fixedHeader: boolean;
|
|
26104
26165
|
fixedFooter: boolean;
|
|
26166
|
+
hideDefaultBody: boolean;
|
|
26105
26167
|
hideDefaultFooter: boolean;
|
|
26106
26168
|
hideDefaultHeader: boolean;
|
|
26107
26169
|
}, {}, string, vue.SlotsType<Partial<{
|
|
@@ -26245,6 +26307,7 @@ declare const VDataTableVirtual: {
|
|
|
26245
26307
|
mobileBreakpoint: vue.PropType<number | DisplayBreakpoint>;
|
|
26246
26308
|
color: StringConstructor;
|
|
26247
26309
|
sticky: BooleanConstructor;
|
|
26310
|
+
disableSort: BooleanConstructor;
|
|
26248
26311
|
multiSort: BooleanConstructor;
|
|
26249
26312
|
sortAscIcon: {
|
|
26250
26313
|
type: vue.PropType<IconValue>;
|
|
@@ -26342,6 +26405,7 @@ declare const VDataTableVirtual: {
|
|
|
26342
26405
|
type: vue.PropType<readonly string[]>;
|
|
26343
26406
|
default: () => never[];
|
|
26344
26407
|
};
|
|
26408
|
+
hideDefaultBody: BooleanConstructor;
|
|
26345
26409
|
hideDefaultFooter: BooleanConstructor;
|
|
26346
26410
|
hideDefaultHeader: BooleanConstructor;
|
|
26347
26411
|
width: (StringConstructor | NumberConstructor)[];
|
|
@@ -26399,6 +26463,7 @@ declare const VDataTableVirtual: {
|
|
|
26399
26463
|
mobileBreakpoint: vue.PropType<number | DisplayBreakpoint>;
|
|
26400
26464
|
color: StringConstructor;
|
|
26401
26465
|
sticky: BooleanConstructor;
|
|
26466
|
+
disableSort: BooleanConstructor;
|
|
26402
26467
|
multiSort: BooleanConstructor;
|
|
26403
26468
|
sortAscIcon: {
|
|
26404
26469
|
type: vue.PropType<IconValue>;
|
|
@@ -26496,6 +26561,7 @@ declare const VDataTableVirtual: {
|
|
|
26496
26561
|
type: vue.PropType<readonly string[]>;
|
|
26497
26562
|
default: () => never[];
|
|
26498
26563
|
};
|
|
26564
|
+
hideDefaultBody: BooleanConstructor;
|
|
26499
26565
|
hideDefaultFooter: BooleanConstructor;
|
|
26500
26566
|
hideDefaultHeader: BooleanConstructor;
|
|
26501
26567
|
width: (StringConstructor | NumberConstructor)[];
|
|
@@ -26553,10 +26619,12 @@ declare const VDataTableServer: {
|
|
|
26553
26619
|
value: number;
|
|
26554
26620
|
})[];
|
|
26555
26621
|
showCurrentPage: boolean;
|
|
26622
|
+
disableSort: boolean;
|
|
26556
26623
|
sortAscIcon: IconValue;
|
|
26557
26624
|
sortDescIcon: IconValue;
|
|
26558
26625
|
fixedHeader: boolean;
|
|
26559
26626
|
fixedFooter: boolean;
|
|
26627
|
+
hideDefaultBody: boolean;
|
|
26560
26628
|
hideDefaultFooter: boolean;
|
|
26561
26629
|
hideDefaultHeader: boolean;
|
|
26562
26630
|
} & {
|
|
@@ -26669,10 +26737,12 @@ declare const VDataTableServer: {
|
|
|
26669
26737
|
value: number;
|
|
26670
26738
|
})[];
|
|
26671
26739
|
showCurrentPage: boolean;
|
|
26740
|
+
disableSort: boolean;
|
|
26672
26741
|
sortAscIcon: IconValue;
|
|
26673
26742
|
sortDescIcon: IconValue;
|
|
26674
26743
|
fixedHeader: boolean;
|
|
26675
26744
|
fixedFooter: boolean;
|
|
26745
|
+
hideDefaultBody: boolean;
|
|
26676
26746
|
hideDefaultFooter: boolean;
|
|
26677
26747
|
hideDefaultHeader: boolean;
|
|
26678
26748
|
} & {
|
|
@@ -26776,10 +26846,12 @@ declare const VDataTableServer: {
|
|
|
26776
26846
|
value: number;
|
|
26777
26847
|
})[];
|
|
26778
26848
|
showCurrentPage: boolean;
|
|
26849
|
+
disableSort: boolean;
|
|
26779
26850
|
sortAscIcon: IconValue;
|
|
26780
26851
|
sortDescIcon: IconValue;
|
|
26781
26852
|
fixedHeader: boolean;
|
|
26782
26853
|
fixedFooter: boolean;
|
|
26854
|
+
hideDefaultBody: boolean;
|
|
26783
26855
|
hideDefaultFooter: boolean;
|
|
26784
26856
|
hideDefaultHeader: boolean;
|
|
26785
26857
|
}, true, {}, vue.SlotsType<Partial<{
|
|
@@ -26925,10 +26997,12 @@ declare const VDataTableServer: {
|
|
|
26925
26997
|
value: number;
|
|
26926
26998
|
})[];
|
|
26927
26999
|
showCurrentPage: boolean;
|
|
27000
|
+
disableSort: boolean;
|
|
26928
27001
|
sortAscIcon: IconValue;
|
|
26929
27002
|
sortDescIcon: IconValue;
|
|
26930
27003
|
fixedHeader: boolean;
|
|
26931
27004
|
fixedFooter: boolean;
|
|
27005
|
+
hideDefaultBody: boolean;
|
|
26932
27006
|
hideDefaultFooter: boolean;
|
|
26933
27007
|
hideDefaultHeader: boolean;
|
|
26934
27008
|
} & {
|
|
@@ -27032,10 +27106,12 @@ declare const VDataTableServer: {
|
|
|
27032
27106
|
value: number;
|
|
27033
27107
|
})[];
|
|
27034
27108
|
showCurrentPage: boolean;
|
|
27109
|
+
disableSort: boolean;
|
|
27035
27110
|
sortAscIcon: IconValue;
|
|
27036
27111
|
sortDescIcon: IconValue;
|
|
27037
27112
|
fixedHeader: boolean;
|
|
27038
27113
|
fixedFooter: boolean;
|
|
27114
|
+
hideDefaultBody: boolean;
|
|
27039
27115
|
hideDefaultFooter: boolean;
|
|
27040
27116
|
hideDefaultHeader: boolean;
|
|
27041
27117
|
}>;
|
|
@@ -27081,10 +27157,12 @@ declare const VDataTableServer: {
|
|
|
27081
27157
|
value: number;
|
|
27082
27158
|
})[];
|
|
27083
27159
|
showCurrentPage: boolean;
|
|
27160
|
+
disableSort: boolean;
|
|
27084
27161
|
sortAscIcon: IconValue;
|
|
27085
27162
|
sortDescIcon: IconValue;
|
|
27086
27163
|
fixedHeader: boolean;
|
|
27087
27164
|
fixedFooter: boolean;
|
|
27165
|
+
hideDefaultBody: boolean;
|
|
27088
27166
|
hideDefaultFooter: boolean;
|
|
27089
27167
|
hideDefaultHeader: boolean;
|
|
27090
27168
|
} & {
|
|
@@ -27196,10 +27274,12 @@ declare const VDataTableServer: {
|
|
|
27196
27274
|
value: number;
|
|
27197
27275
|
})[];
|
|
27198
27276
|
showCurrentPage: boolean;
|
|
27277
|
+
disableSort: boolean;
|
|
27199
27278
|
sortAscIcon: IconValue;
|
|
27200
27279
|
sortDescIcon: IconValue;
|
|
27201
27280
|
fixedHeader: boolean;
|
|
27202
27281
|
fixedFooter: boolean;
|
|
27282
|
+
hideDefaultBody: boolean;
|
|
27203
27283
|
hideDefaultFooter: boolean;
|
|
27204
27284
|
hideDefaultHeader: boolean;
|
|
27205
27285
|
}, {}, string, vue.SlotsType<Partial<{
|
|
@@ -27394,6 +27474,7 @@ declare const VDataTableServer: {
|
|
|
27394
27474
|
mobileBreakpoint: vue.PropType<number | DisplayBreakpoint>;
|
|
27395
27475
|
color: StringConstructor;
|
|
27396
27476
|
sticky: BooleanConstructor;
|
|
27477
|
+
disableSort: BooleanConstructor;
|
|
27397
27478
|
multiSort: BooleanConstructor;
|
|
27398
27479
|
sortAscIcon: {
|
|
27399
27480
|
type: vue.PropType<IconValue>;
|
|
@@ -27495,6 +27576,7 @@ declare const VDataTableServer: {
|
|
|
27495
27576
|
type: vue.PropType<readonly string[]>;
|
|
27496
27577
|
default: () => never[];
|
|
27497
27578
|
};
|
|
27579
|
+
hideDefaultBody: BooleanConstructor;
|
|
27498
27580
|
hideDefaultFooter: BooleanConstructor;
|
|
27499
27581
|
hideDefaultHeader: BooleanConstructor;
|
|
27500
27582
|
width: (StringConstructor | NumberConstructor)[];
|
|
@@ -27599,6 +27681,7 @@ declare const VDataTableServer: {
|
|
|
27599
27681
|
mobileBreakpoint: vue.PropType<number | DisplayBreakpoint>;
|
|
27600
27682
|
color: StringConstructor;
|
|
27601
27683
|
sticky: BooleanConstructor;
|
|
27684
|
+
disableSort: BooleanConstructor;
|
|
27602
27685
|
multiSort: BooleanConstructor;
|
|
27603
27686
|
sortAscIcon: {
|
|
27604
27687
|
type: vue.PropType<IconValue>;
|
|
@@ -27700,6 +27783,7 @@ declare const VDataTableServer: {
|
|
|
27700
27783
|
type: vue.PropType<readonly string[]>;
|
|
27701
27784
|
default: () => never[];
|
|
27702
27785
|
};
|
|
27786
|
+
hideDefaultBody: BooleanConstructor;
|
|
27703
27787
|
hideDefaultFooter: BooleanConstructor;
|
|
27704
27788
|
hideDefaultHeader: BooleanConstructor;
|
|
27705
27789
|
width: (StringConstructor | NumberConstructor)[];
|
|
@@ -27771,7 +27855,7 @@ declare const VDatePicker: {
|
|
|
27771
27855
|
theme?: string | undefined;
|
|
27772
27856
|
color?: string | undefined;
|
|
27773
27857
|
month?: string | number | undefined;
|
|
27774
|
-
year?:
|
|
27858
|
+
year?: number | undefined;
|
|
27775
27859
|
border?: string | number | boolean | undefined;
|
|
27776
27860
|
position?: "fixed" | "absolute" | "relative" | "static" | "sticky" | undefined;
|
|
27777
27861
|
rounded?: string | number | boolean | undefined;
|
|
@@ -27824,7 +27908,7 @@ declare const VDatePicker: {
|
|
|
27824
27908
|
theme?: string | undefined;
|
|
27825
27909
|
color?: string | undefined;
|
|
27826
27910
|
month?: string | number | undefined;
|
|
27827
|
-
year?:
|
|
27911
|
+
year?: number | undefined;
|
|
27828
27912
|
border?: string | number | boolean | undefined;
|
|
27829
27913
|
position?: "fixed" | "absolute" | "relative" | "static" | "sticky" | undefined;
|
|
27830
27914
|
rounded?: string | number | boolean | undefined;
|
|
@@ -27917,7 +28001,7 @@ declare const VDatePicker: {
|
|
|
27917
28001
|
theme?: string | undefined;
|
|
27918
28002
|
color?: string | undefined;
|
|
27919
28003
|
month?: string | number | undefined;
|
|
27920
|
-
year?:
|
|
28004
|
+
year?: number | undefined;
|
|
27921
28005
|
border?: string | number | boolean | undefined;
|
|
27922
28006
|
position?: "fixed" | "absolute" | "relative" | "static" | "sticky" | undefined;
|
|
27923
28007
|
rounded?: string | number | boolean | undefined;
|
|
@@ -27991,7 +28075,7 @@ declare const VDatePicker: {
|
|
|
27991
28075
|
theme?: string | undefined;
|
|
27992
28076
|
color?: string | undefined;
|
|
27993
28077
|
month?: string | number | undefined;
|
|
27994
|
-
year?:
|
|
28078
|
+
year?: number | undefined;
|
|
27995
28079
|
border?: string | number | boolean | undefined;
|
|
27996
28080
|
position?: "fixed" | "absolute" | "relative" | "static" | "sticky" | undefined;
|
|
27997
28081
|
rounded?: string | number | boolean | undefined;
|
|
@@ -28104,12 +28188,12 @@ declare const VDatePicker: {
|
|
|
28104
28188
|
hideHeader: BooleanConstructor;
|
|
28105
28189
|
max: vue.PropType<unknown>;
|
|
28106
28190
|
min: vue.PropType<unknown>;
|
|
28191
|
+
year: NumberConstructor;
|
|
28107
28192
|
allowedDates: vue.PropType<unknown[] | ((date: unknown) => boolean)>;
|
|
28108
28193
|
disabled: BooleanConstructor;
|
|
28109
28194
|
displayValue: vue.PropType<unknown>;
|
|
28110
28195
|
month: (StringConstructor | NumberConstructor)[];
|
|
28111
28196
|
showAdjacentMonths: BooleanConstructor;
|
|
28112
|
-
year: (StringConstructor | NumberConstructor)[];
|
|
28113
28197
|
weekdays: {
|
|
28114
28198
|
type: {
|
|
28115
28199
|
(arrayLength: number): number[];
|
|
@@ -28213,12 +28297,12 @@ declare const VDatePicker: {
|
|
|
28213
28297
|
hideHeader: BooleanConstructor;
|
|
28214
28298
|
max: vue.PropType<unknown>;
|
|
28215
28299
|
min: vue.PropType<unknown>;
|
|
28300
|
+
year: NumberConstructor;
|
|
28216
28301
|
allowedDates: vue.PropType<unknown[] | ((date: unknown) => boolean)>;
|
|
28217
28302
|
disabled: BooleanConstructor;
|
|
28218
28303
|
displayValue: vue.PropType<unknown>;
|
|
28219
28304
|
month: (StringConstructor | NumberConstructor)[];
|
|
28220
28305
|
showAdjacentMonths: BooleanConstructor;
|
|
28221
|
-
year: (StringConstructor | NumberConstructor)[];
|
|
28222
28306
|
weekdays: {
|
|
28223
28307
|
type: {
|
|
28224
28308
|
(arrayLength: number): number[];
|
|
@@ -28995,7 +29079,10 @@ declare const VDatePickerMonths: {
|
|
|
28995
29079
|
new (...args: any[]): vue.CreateComponentPublicInstance<{} & {
|
|
28996
29080
|
height?: string | number | undefined;
|
|
28997
29081
|
color?: string | undefined;
|
|
29082
|
+
year?: number | undefined;
|
|
28998
29083
|
modelValue?: number | undefined;
|
|
29084
|
+
max?: unknown;
|
|
29085
|
+
min?: unknown;
|
|
28999
29086
|
} & {
|
|
29000
29087
|
$children?: {} | vue.VNodeChild | {
|
|
29001
29088
|
month?: ((arg: {
|
|
@@ -29039,7 +29126,10 @@ declare const VDatePickerMonths: {
|
|
|
29039
29126
|
}, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & {} & {
|
|
29040
29127
|
height?: string | number | undefined;
|
|
29041
29128
|
color?: string | undefined;
|
|
29129
|
+
year?: number | undefined;
|
|
29042
29130
|
modelValue?: number | undefined;
|
|
29131
|
+
max?: unknown;
|
|
29132
|
+
min?: unknown;
|
|
29043
29133
|
} & {
|
|
29044
29134
|
$children?: {} | vue.VNodeChild | {
|
|
29045
29135
|
month?: ((arg: {
|
|
@@ -29101,7 +29191,10 @@ declare const VDatePickerMonths: {
|
|
|
29101
29191
|
}, {} & {
|
|
29102
29192
|
height?: string | number | undefined;
|
|
29103
29193
|
color?: string | undefined;
|
|
29194
|
+
year?: number | undefined;
|
|
29104
29195
|
modelValue?: number | undefined;
|
|
29196
|
+
max?: unknown;
|
|
29197
|
+
min?: unknown;
|
|
29105
29198
|
} & {
|
|
29106
29199
|
$children?: {} | vue.VNodeChild | {
|
|
29107
29200
|
month?: ((arg: {
|
|
@@ -29147,7 +29240,10 @@ declare const VDatePickerMonths: {
|
|
|
29147
29240
|
} & vue.ComponentOptionsBase<{} & {
|
|
29148
29241
|
height?: string | number | undefined;
|
|
29149
29242
|
color?: string | undefined;
|
|
29243
|
+
year?: number | undefined;
|
|
29150
29244
|
modelValue?: number | undefined;
|
|
29245
|
+
max?: unknown;
|
|
29246
|
+
min?: unknown;
|
|
29151
29247
|
} & {
|
|
29152
29248
|
$children?: {} | vue.VNodeChild | {
|
|
29153
29249
|
month?: ((arg: {
|
|
@@ -29204,11 +29300,17 @@ declare const VDatePickerMonths: {
|
|
|
29204
29300
|
}>>> & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & FilterPropsOptions<{
|
|
29205
29301
|
color: StringConstructor;
|
|
29206
29302
|
height: (StringConstructor | NumberConstructor)[];
|
|
29303
|
+
min: PropType<unknown>;
|
|
29304
|
+
max: PropType<unknown>;
|
|
29207
29305
|
modelValue: NumberConstructor;
|
|
29306
|
+
year: NumberConstructor;
|
|
29208
29307
|
}, vue.ExtractPropTypes<{
|
|
29209
29308
|
color: StringConstructor;
|
|
29210
29309
|
height: (StringConstructor | NumberConstructor)[];
|
|
29310
|
+
min: PropType<unknown>;
|
|
29311
|
+
max: PropType<unknown>;
|
|
29211
29312
|
modelValue: NumberConstructor;
|
|
29313
|
+
year: NumberConstructor;
|
|
29212
29314
|
}>>;
|
|
29213
29315
|
type VDatePickerMonths = InstanceType<typeof VDatePickerMonths>;
|
|
29214
29316
|
|
|
@@ -63,7 +63,7 @@ export function internalUseDefaults() {
|
|
|
63
63
|
if (prop === 'class' || prop === 'style') {
|
|
64
64
|
return [componentDefaults.value?.[prop], propValue].filter(v => v != null);
|
|
65
65
|
} else if (typeof prop === 'string' && !propIsDefined(vm.vnode, prop)) {
|
|
66
|
-
return componentDefaults.value?.[prop]
|
|
66
|
+
return componentDefaults.value?.[prop] !== undefined ? componentDefaults.value?.[prop] : defaults.value?.global?.[prop] !== undefined ? defaults.value?.global?.[prop] : propValue;
|
|
67
67
|
}
|
|
68
68
|
return propValue;
|
|
69
69
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"defaults.mjs","names":["computed","inject","provide","ref","shallowRef","unref","watchEffect","getCurrentInstance","injectSelf","mergeDeep","toKebabCase","DefaultsSymbol","Symbol","for","createDefaults","options","injectDefaults","defaults","Error","provideDefaults","injectedDefaults","providedDefaults","newDefaults","disabled","value","scoped","reset","root","properties","prev","len","Number","Infinity","i","propIsDefined","vnode","prop","props","internalUseDefaults","arguments","length","undefined","name","vm","type","__name","componentDefaults","_as","_props","Proxy","get","target","propValue","Reflect","filter","v","global","_subcomponentDefaults","subComponents","Object","entries","_ref","key","startsWith","toUpperCase","fromEntries","provideSubDefaults","injected","useDefaults"],"sources":["../../src/composables/defaults.ts"],"sourcesContent":["// Utilities\nimport { computed, inject, provide, ref, shallowRef, unref, watchEffect } from 'vue'\nimport { getCurrentInstance, injectSelf, mergeDeep, toKebabCase } from '@/util'\n\n// Types\nimport type { ComputedRef, InjectionKey, Ref, VNode } from 'vue'\nimport type { MaybeRef } from '@/util'\n\nexport type DefaultsInstance = undefined | {\n [key: string]: undefined | Record<string, unknown>\n global?: Record<string, unknown>\n}\n\nexport type DefaultsOptions = Partial<DefaultsInstance>\n\nexport const DefaultsSymbol: InjectionKey<Ref<DefaultsInstance>> = Symbol.for('vuetify:defaults')\n\nexport function createDefaults (options?: DefaultsInstance): Ref<DefaultsInstance> {\n return ref(options)\n}\n\nexport function injectDefaults () {\n const defaults = inject(DefaultsSymbol)\n\n if (!defaults) throw new Error('[Vuetify] Could not find defaults instance')\n\n return defaults\n}\n\nexport function provideDefaults (\n defaults?: MaybeRef<DefaultsInstance | undefined>,\n options?: {\n disabled?: MaybeRef<boolean | undefined>\n reset?: MaybeRef<number | string | undefined>\n root?: MaybeRef<boolean | string | undefined>\n scoped?: MaybeRef<boolean | undefined>\n }\n) {\n const injectedDefaults = injectDefaults()\n const providedDefaults = ref(defaults)\n\n const newDefaults = computed(() => {\n const disabled = unref(options?.disabled)\n\n if (disabled) return injectedDefaults.value\n\n const scoped = unref(options?.scoped)\n const reset = unref(options?.reset)\n const root = unref(options?.root)\n\n if (providedDefaults.value == null && !(scoped || reset || root)) return injectedDefaults.value\n\n let properties = mergeDeep(providedDefaults.value, { prev: injectedDefaults.value })\n\n if (scoped) return properties\n\n if (reset || root) {\n const len = Number(reset || Infinity)\n\n for (let i = 0; i <= len; i++) {\n if (!properties || !('prev' in properties)) {\n break\n }\n\n properties = properties.prev\n }\n\n if (properties && typeof root === 'string' && root in properties) {\n properties = mergeDeep(mergeDeep(properties, { prev: properties }), properties[root])\n }\n\n return properties\n }\n\n return properties.prev\n ? mergeDeep(properties.prev, properties)\n : properties\n }) as ComputedRef<DefaultsInstance>\n\n provide(DefaultsSymbol, newDefaults)\n\n return newDefaults\n}\n\nfunction propIsDefined (vnode: VNode, prop: string) {\n return typeof vnode.props?.[prop] !== 'undefined' ||\n typeof vnode.props?.[toKebabCase(prop)] !== 'undefined'\n}\n\nexport function internalUseDefaults (\n props: Record<string, any> = {},\n name?: string,\n defaults = injectDefaults()\n) {\n const vm = getCurrentInstance('useDefaults')\n\n name = name ?? vm.type.name ?? vm.type.__name\n if (!name) {\n throw new Error('[Vuetify] Could not determine component name')\n }\n\n const componentDefaults = computed(() => defaults.value?.[props._as ?? name])\n const _props = new Proxy(props, {\n get (target, prop) {\n const propValue = Reflect.get(target, prop)\n if (prop === 'class' || prop === 'style') {\n return [componentDefaults.value?.[prop], propValue].filter(v => v != null)\n } else if (typeof prop === 'string' && !propIsDefined(vm.vnode, prop)) {\n return componentDefaults.value?.[prop] ?? defaults.value?.global?.[prop] ?? propValue\n }\n return propValue\n },\n })\n\n const _subcomponentDefaults = shallowRef()\n watchEffect(() => {\n if (componentDefaults.value) {\n const subComponents = Object.entries(componentDefaults.value).filter(([key]) => key.startsWith(key[0].toUpperCase()))\n _subcomponentDefaults.value = subComponents.length ? Object.fromEntries(subComponents) : undefined\n } else {\n _subcomponentDefaults.value = undefined\n }\n })\n\n function provideSubDefaults () {\n const injected = injectSelf(DefaultsSymbol, vm)\n provide(DefaultsSymbol, computed(() => {\n return _subcomponentDefaults.value ? mergeDeep(\n injected?.value ?? {},\n _subcomponentDefaults.value\n ) : injected?.value\n }))\n }\n\n return { props: _props, provideSubDefaults }\n}\n\nexport function useDefaults<T extends Record<string, any>> (props: T, name?: string): T\nexport function useDefaults (props?: undefined, name?: string): Record<string, any>\nexport function useDefaults (\n props: Record<string, any> = {},\n name?: string,\n) {\n const { props: _props, provideSubDefaults } = internalUseDefaults(props, name)\n provideSubDefaults()\n return _props\n}\n"],"mappings":"AAAA;AACA,SAASA,QAAQ,EAAEC,MAAM,EAAEC,OAAO,EAAEC,GAAG,EAAEC,UAAU,EAAEC,KAAK,EAAEC,WAAW,QAAQ,KAAK;AAAA,SAC3EC,kBAAkB,EAAEC,UAAU,EAAEC,SAAS,EAAEC,WAAW,6BAE/D;AAWA,OAAO,MAAMC,cAAmD,GAAGC,MAAM,CAACC,GAAG,CAAC,kBAAkB,CAAC;AAEjG,OAAO,SAASC,cAAcA,CAAEC,OAA0B,EAAyB;EACjF,OAAOZ,GAAG,CAACY,OAAO,CAAC;AACrB;AAEA,OAAO,SAASC,cAAcA,CAAA,EAAI;EAChC,MAAMC,QAAQ,GAAGhB,MAAM,CAACU,cAAc,CAAC;EAEvC,IAAI,CAACM,QAAQ,EAAE,MAAM,IAAIC,KAAK,CAAC,4CAA4C,CAAC;EAE5E,OAAOD,QAAQ;AACjB;AAEA,OAAO,SAASE,eAAeA,CAC7BF,QAAiD,EACjDF,OAKC,EACD;EACA,MAAMK,gBAAgB,GAAGJ,cAAc,CAAC,CAAC;EACzC,MAAMK,gBAAgB,GAAGlB,GAAG,CAACc,QAAQ,CAA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CzC,OAAO,CAACS,cAAc,EAAEX,QAAQ,CAAC,MAAM;MACrC,OAAOyD,qBAAqB,CAACjC,KAAK,GAAGf,SAAS,CAC5C0D,QAAQ,EAAE3C,KAAK,IAAI,CAAC,CAAC,EACrBiC,qBAAqB,CAACjC,KACxB,CAAC,GAAG2C,QAAQ,EAAE3C,KAAK;IACrB,CAAC,CAAC,CAAC;EACL;EAEA,OAAO;IAAEa,KAAK,EAAEW,MAAM;IAAEkB;EAAmB,CAAC;AAC9C;AAIA,OAAO,SAASE,WAAWA,CAAA,EAGzB;EAAA,IAFA/B,KAA0B,GAAAE,SAAA,CAAAC,MAAA,QAAAD,SAAA,QAAAE,SAAA,GAAAF,SAAA,MAAG,CAAC,CAAC;EAAA,IAC/BG,IAAa,GAAAH,SAAA,CAAAC,MAAA,OAAAD,SAAA,MAAAE,SAAA;EAEb,MAAM;IAAEJ,KAAK,EAAEW,MAAM;IAAEkB;EAAmB,CAAC,GAAG5B,mBAAmB,CAACD,KAAK,EAAEK,IAAI,CAAC;EAC9EwB,kBAAkB,CAAC,CAAC;EACpB,OAAOlB,MAAM;AACf","ignoreList":[]}
|
|
1
|
+
{"version":3,"file":"defaults.mjs","names":["computed","inject","provide","ref","shallowRef","unref","watchEffect","getCurrentInstance","injectSelf","mergeDeep","toKebabCase","DefaultsSymbol","Symbol","for","createDefaults","options","injectDefaults","defaults","Error","provideDefaults","injectedDefaults","providedDefaults","newDefaults","disabled","value","scoped","reset","root","properties","prev","len","Number","Infinity","i","propIsDefined","vnode","prop","props","internalUseDefaults","arguments","length","undefined","name","vm","type","__name","componentDefaults","_as","_props","Proxy","get","target","propValue","Reflect","filter","v","global","_subcomponentDefaults","subComponents","Object","entries","_ref","key","startsWith","toUpperCase","fromEntries","provideSubDefaults","injected","useDefaults"],"sources":["../../src/composables/defaults.ts"],"sourcesContent":["// Utilities\nimport { computed, inject, provide, ref, shallowRef, unref, watchEffect } from 'vue'\nimport { getCurrentInstance, injectSelf, mergeDeep, toKebabCase } from '@/util'\n\n// Types\nimport type { ComputedRef, InjectionKey, Ref, VNode } from 'vue'\nimport type { MaybeRef } from '@/util'\n\nexport type DefaultsInstance = undefined | {\n [key: string]: undefined | Record<string, unknown>\n global?: Record<string, unknown>\n}\n\nexport type DefaultsOptions = Partial<DefaultsInstance>\n\nexport const DefaultsSymbol: InjectionKey<Ref<DefaultsInstance>> = Symbol.for('vuetify:defaults')\n\nexport function createDefaults (options?: DefaultsInstance): Ref<DefaultsInstance> {\n return ref(options)\n}\n\nexport function injectDefaults () {\n const defaults = inject(DefaultsSymbol)\n\n if (!defaults) throw new Error('[Vuetify] Could not find defaults instance')\n\n return defaults\n}\n\nexport function provideDefaults (\n defaults?: MaybeRef<DefaultsInstance | undefined>,\n options?: {\n disabled?: MaybeRef<boolean | undefined>\n reset?: MaybeRef<number | string | undefined>\n root?: MaybeRef<boolean | string | undefined>\n scoped?: MaybeRef<boolean | undefined>\n }\n) {\n const injectedDefaults = injectDefaults()\n const providedDefaults = ref(defaults)\n\n const newDefaults = computed(() => {\n const disabled = unref(options?.disabled)\n\n if (disabled) return injectedDefaults.value\n\n const scoped = unref(options?.scoped)\n const reset = unref(options?.reset)\n const root = unref(options?.root)\n\n if (providedDefaults.value == null && !(scoped || reset || root)) return injectedDefaults.value\n\n let properties = mergeDeep(providedDefaults.value, { prev: injectedDefaults.value })\n\n if (scoped) return properties\n\n if (reset || root) {\n const len = Number(reset || Infinity)\n\n for (let i = 0; i <= len; i++) {\n if (!properties || !('prev' in properties)) {\n break\n }\n\n properties = properties.prev\n }\n\n if (properties && typeof root === 'string' && root in properties) {\n properties = mergeDeep(mergeDeep(properties, { prev: properties }), properties[root])\n }\n\n return properties\n }\n\n return properties.prev\n ? mergeDeep(properties.prev, properties)\n : properties\n }) as ComputedRef<DefaultsInstance>\n\n provide(DefaultsSymbol, newDefaults)\n\n return newDefaults\n}\n\nfunction propIsDefined (vnode: VNode, prop: string) {\n return typeof vnode.props?.[prop] !== 'undefined' ||\n typeof vnode.props?.[toKebabCase(prop)] !== 'undefined'\n}\n\nexport function internalUseDefaults (\n props: Record<string, any> = {},\n name?: string,\n defaults = injectDefaults()\n) {\n const vm = getCurrentInstance('useDefaults')\n\n name = name ?? vm.type.name ?? vm.type.__name\n if (!name) {\n throw new Error('[Vuetify] Could not determine component name')\n }\n\n const componentDefaults = computed(() => defaults.value?.[props._as ?? name])\n const _props = new Proxy(props, {\n get (target, prop) {\n const propValue = Reflect.get(target, prop)\n if (prop === 'class' || prop === 'style') {\n return [componentDefaults.value?.[prop], propValue].filter(v => v != null)\n } else if (typeof prop === 'string' && !propIsDefined(vm.vnode, prop)) {\n return componentDefaults.value?.[prop] !== undefined ? componentDefaults.value?.[prop]\n : defaults.value?.global?.[prop] !== undefined ? defaults.value?.global?.[prop]\n : propValue\n }\n return propValue\n },\n })\n\n const _subcomponentDefaults = shallowRef()\n watchEffect(() => {\n if (componentDefaults.value) {\n const subComponents = Object.entries(componentDefaults.value).filter(([key]) => key.startsWith(key[0].toUpperCase()))\n _subcomponentDefaults.value = subComponents.length ? Object.fromEntries(subComponents) : undefined\n } else {\n _subcomponentDefaults.value = undefined\n }\n })\n\n function provideSubDefaults () {\n const injected = injectSelf(DefaultsSymbol, vm)\n provide(DefaultsSymbol, computed(() => {\n return _subcomponentDefaults.value ? mergeDeep(\n injected?.value ?? {},\n _subcomponentDefaults.value\n ) : injected?.value\n }))\n }\n\n return { props: _props, provideSubDefaults }\n}\n\nexport function useDefaults<T extends Record<string, any>> (props: T, name?: string): T\nexport function useDefaults (props?: undefined, name?: string): Record<string, any>\nexport function useDefaults (\n props: Record<string, any> = {},\n name?: string,\n) {\n const { props: _props, provideSubDefaults } = internalUseDefaults(props, name)\n provideSubDefaults()\n return _props\n}\n"],"mappings":"AAAA;AACA,SAASA,QAAQ,EAAEC,MAAM,EAAEC,OAAO,EAAEC,GAAG,EAAEC,UAAU,EAAEC,KAAK,EAAEC,WAAW,QAAQ,KAAK;AAAA,SAC3EC,kBAAkB,E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