@vuetify/nightly 3.8.9-dev.2025-06-12 → 3.8.9-dev.2025-06-13

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.
Files changed (63) hide show
  1. package/CHANGELOG.md +7 -3
  2. package/dist/json/attributes.json +3443 -3407
  3. package/dist/json/importMap-labs.json +12 -12
  4. package/dist/json/importMap.json +172 -172
  5. package/dist/json/tags.json +10 -1
  6. package/dist/json/web-types.json +6311 -6174
  7. package/dist/vuetify-labs.cjs +111 -47
  8. package/dist/vuetify-labs.css +3296 -3285
  9. package/dist/vuetify-labs.d.ts +1602 -1406
  10. package/dist/vuetify-labs.esm.js +111 -47
  11. package/dist/vuetify-labs.esm.js.map +1 -1
  12. package/dist/vuetify-labs.js +111 -47
  13. package/dist/vuetify-labs.min.css +2 -2
  14. package/dist/vuetify.cjs +111 -47
  15. package/dist/vuetify.cjs.map +1 -1
  16. package/dist/vuetify.css +4165 -4154
  17. package/dist/vuetify.d.ts +1355 -1159
  18. package/dist/vuetify.esm.js +111 -47
  19. package/dist/vuetify.esm.js.map +1 -1
  20. package/dist/vuetify.js +111 -47
  21. package/dist/vuetify.js.map +1 -1
  22. package/dist/vuetify.min.css +2 -2
  23. package/dist/vuetify.min.js +1063 -1057
  24. package/dist/vuetify.min.js.map +1 -1
  25. package/lib/components/VAutocomplete/VAutocomplete.d.ts +21 -7
  26. package/lib/components/VCombobox/VCombobox.d.ts +21 -7
  27. package/lib/components/VDatePicker/VDatePicker.d.ts +70 -5
  28. package/lib/components/VDatePicker/VDatePicker.js +10 -4
  29. package/lib/components/VDatePicker/VDatePicker.js.map +1 -1
  30. package/lib/components/VKbd/VKbd.css +13 -2
  31. package/lib/components/VKbd/VKbd.d.ts +221 -0
  32. package/lib/components/VKbd/VKbd.js +55 -0
  33. package/lib/components/VKbd/VKbd.js.map +1 -0
  34. package/lib/components/VKbd/VKbd.sass +2 -1
  35. package/lib/components/VKbd/_variables.scss +12 -1
  36. package/lib/components/VKbd/index.d.ts +1 -95
  37. package/lib/components/VKbd/index.js +1 -4
  38. package/lib/components/VKbd/index.js.map +1 -1
  39. package/lib/components/VMenu/VMenu.d.ts +13 -0
  40. package/lib/components/VMenu/VMenu.js +2 -1
  41. package/lib/components/VMenu/VMenu.js.map +1 -1
  42. package/lib/components/VNumberInput/VNumberInput.d.ts +11 -0
  43. package/lib/components/VNumberInput/VNumberInput.js +37 -29
  44. package/lib/components/VNumberInput/VNumberInput.js.map +1 -1
  45. package/lib/components/VSelect/VSelect.d.ts +33 -11
  46. package/lib/components/VSpeedDial/VSpeedDial.d.ts +13 -0
  47. package/lib/composables/locale.d.ts +5 -1
  48. package/lib/composables/locale.js.map +1 -1
  49. package/lib/composables/theme.js +3 -3
  50. package/lib/composables/theme.js.map +1 -1
  51. package/lib/entry-bundler.d.ts +1 -0
  52. package/lib/entry-bundler.js +1 -1
  53. package/lib/framework.d.ts +59 -56
  54. package/lib/framework.js +1 -1
  55. package/lib/labs/entry-bundler.d.ts +1 -0
  56. package/lib/locale/adapters/vue-i18n.js +6 -1
  57. package/lib/locale/adapters/vue-i18n.js.map +1 -1
  58. package/lib/locale/adapters/vuetify.js +7 -1
  59. package/lib/locale/adapters/vuetify.js.map +1 -1
  60. package/lib/util/helpers.d.ts +2 -1
  61. package/lib/util/helpers.js +12 -7
  62. package/lib/util/helpers.js.map +1 -1
  63. package/package.json +1 -1
@@ -908,6 +908,7 @@ export declare const makeSelectProps: <Defaults extends {
908
908
  noClickAnimation: boolean;
909
909
  scrim: string | boolean;
910
910
  submenu: boolean;
911
+ disableInitialFocus: boolean;
911
912
  }> & Omit<{
912
913
  location: import("../../util/index.js").Anchor | undefined;
913
914
  origin: "auto" | import("../../util/index.js").Anchor | "overlap";
@@ -987,6 +988,7 @@ export declare const makeSelectProps: <Defaults extends {
987
988
  noClickAnimation: boolean;
988
989
  scrim: string | boolean;
989
990
  submenu: boolean;
991
+ disableInitialFocus: boolean;
990
992
  offset?: string | number | number[] | undefined;
991
993
  id?: string | undefined;
992
994
  height?: string | number | undefined;
@@ -1036,7 +1038,7 @@ export declare const makeSelectProps: <Defaults extends {
1036
1038
  targetRef: import("../../util/index.js").TemplateRef;
1037
1039
  }) => import("vue").VNodeChild) | undefined;
1038
1040
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
1039
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "location" | "origin" | "transition" | "zIndex" | "style" | "eager" | "disabled" | "persistent" | "modelValue" | "locationStrategy" | "scrollStrategy" | "closeDelay" | "openDelay" | "activatorProps" | "openOnClick" | "openOnHover" | "openOnFocus" | "closeOnContentClick" | "closeOnBack" | "contained" | "noClickAnimation" | "scrim" | "submenu"> : (Partial<{
1041
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "location" | "origin" | "transition" | "zIndex" | "style" | "eager" | "disabled" | "persistent" | "modelValue" | "locationStrategy" | "scrollStrategy" | "closeDelay" | "openDelay" | "activatorProps" | "openOnClick" | "openOnHover" | "openOnFocus" | "closeOnContentClick" | "closeOnBack" | "contained" | "noClickAnimation" | "scrim" | "submenu" | "disableInitialFocus"> : (Partial<{
1040
1042
  location: import("../../util/index.js").Anchor | undefined;
1041
1043
  origin: "auto" | import("../../util/index.js").Anchor | "overlap";
1042
1044
  transition: string | boolean | (import("vue").TransitionProps & {
@@ -1117,6 +1119,7 @@ export declare const makeSelectProps: <Defaults extends {
1117
1119
  noClickAnimation: boolean;
1118
1120
  scrim: string | boolean;
1119
1121
  submenu: boolean;
1122
+ disableInitialFocus: boolean;
1120
1123
  }> & Omit<{
1121
1124
  location: import("../../util/index.js").Anchor | undefined;
1122
1125
  origin: "auto" | import("../../util/index.js").Anchor | "overlap";
@@ -1196,6 +1199,7 @@ export declare const makeSelectProps: <Defaults extends {
1196
1199
  noClickAnimation: boolean;
1197
1200
  scrim: string | boolean;
1198
1201
  submenu: boolean;
1202
+ disableInitialFocus: boolean;
1199
1203
  offset?: string | number | number[] | undefined;
1200
1204
  id?: string | undefined;
1201
1205
  height?: string | number | undefined;
@@ -1245,7 +1249,7 @@ export declare const makeSelectProps: <Defaults extends {
1245
1249
  targetRef: import("../../util/index.js").TemplateRef;
1246
1250
  }) => import("vue").VNodeChild) | undefined;
1247
1251
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
1248
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "location" | "origin" | "transition" | "zIndex" | "style" | "eager" | "disabled" | "persistent" | "modelValue" | "locationStrategy" | "scrollStrategy" | "closeDelay" | "openDelay" | "activatorProps" | "openOnClick" | "openOnHover" | "openOnFocus" | "closeOnContentClick" | "closeOnBack" | "contained" | "noClickAnimation" | "scrim" | "submenu">) | Defaults["menuProps"]>;
1252
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "location" | "origin" | "transition" | "zIndex" | "style" | "eager" | "disabled" | "persistent" | "modelValue" | "locationStrategy" | "scrollStrategy" | "closeDelay" | "openDelay" | "activatorProps" | "openOnClick" | "openOnHover" | "openOnFocus" | "closeOnContentClick" | "closeOnBack" | "contained" | "noClickAnimation" | "scrim" | "submenu" | "disableInitialFocus">) | Defaults["menuProps"]>;
1249
1253
  default: unknown extends Defaults["menuProps"] ? Partial<{
1250
1254
  location: import("../../util/index.js").Anchor | undefined;
1251
1255
  origin: "auto" | import("../../util/index.js").Anchor | "overlap";
@@ -1327,6 +1331,7 @@ export declare const makeSelectProps: <Defaults extends {
1327
1331
  noClickAnimation: boolean;
1328
1332
  scrim: string | boolean;
1329
1333
  submenu: boolean;
1334
+ disableInitialFocus: boolean;
1330
1335
  }> & Omit<{
1331
1336
  location: import("../../util/index.js").Anchor | undefined;
1332
1337
  origin: "auto" | import("../../util/index.js").Anchor | "overlap";
@@ -1406,6 +1411,7 @@ export declare const makeSelectProps: <Defaults extends {
1406
1411
  noClickAnimation: boolean;
1407
1412
  scrim: string | boolean;
1408
1413
  submenu: boolean;
1414
+ disableInitialFocus: boolean;
1409
1415
  offset?: string | number | number[] | undefined;
1410
1416
  id?: string | undefined;
1411
1417
  height?: string | number | undefined;
@@ -1455,7 +1461,7 @@ export declare const makeSelectProps: <Defaults extends {
1455
1461
  targetRef: import("../../util/index.js").TemplateRef;
1456
1462
  }) => import("vue").VNodeChild) | undefined;
1457
1463
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
1458
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "location" | "origin" | "transition" | "zIndex" | "style" | "eager" | "disabled" | "persistent" | "modelValue" | "locationStrategy" | "scrollStrategy" | "closeDelay" | "openDelay" | "activatorProps" | "openOnClick" | "openOnHover" | "openOnFocus" | "closeOnContentClick" | "closeOnBack" | "contained" | "noClickAnimation" | "scrim" | "submenu"> : Defaults["menuProps"] | NonNullable<Partial<{
1464
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "location" | "origin" | "transition" | "zIndex" | "style" | "eager" | "disabled" | "persistent" | "modelValue" | "locationStrategy" | "scrollStrategy" | "closeDelay" | "openDelay" | "activatorProps" | "openOnClick" | "openOnHover" | "openOnFocus" | "closeOnContentClick" | "closeOnBack" | "contained" | "noClickAnimation" | "scrim" | "submenu" | "disableInitialFocus"> : Defaults["menuProps"] | NonNullable<Partial<{
1459
1465
  location: import("../../util/index.js").Anchor | undefined;
1460
1466
  origin: "auto" | import("../../util/index.js").Anchor | "overlap";
1461
1467
  transition: string | boolean | (import("vue").TransitionProps & {
@@ -1536,6 +1542,7 @@ export declare const makeSelectProps: <Defaults extends {
1536
1542
  noClickAnimation: boolean;
1537
1543
  scrim: string | boolean;
1538
1544
  submenu: boolean;
1545
+ disableInitialFocus: boolean;
1539
1546
  }> & Omit<{
1540
1547
  location: import("../../util/index.js").Anchor | undefined;
1541
1548
  origin: "auto" | import("../../util/index.js").Anchor | "overlap";
@@ -1615,6 +1622,7 @@ export declare const makeSelectProps: <Defaults extends {
1615
1622
  noClickAnimation: boolean;
1616
1623
  scrim: string | boolean;
1617
1624
  submenu: boolean;
1625
+ disableInitialFocus: boolean;
1618
1626
  offset?: string | number | number[] | undefined;
1619
1627
  id?: string | undefined;
1620
1628
  height?: string | number | undefined;
@@ -1664,7 +1672,7 @@ export declare const makeSelectProps: <Defaults extends {
1664
1672
  targetRef: import("../../util/index.js").TemplateRef;
1665
1673
  }) => import("vue").VNodeChild) | undefined;
1666
1674
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
1667
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "location" | "origin" | "transition" | "zIndex" | "style" | "eager" | "disabled" | "persistent" | "modelValue" | "locationStrategy" | "scrollStrategy" | "closeDelay" | "openDelay" | "activatorProps" | "openOnClick" | "openOnHover" | "openOnFocus" | "closeOnContentClick" | "closeOnBack" | "contained" | "noClickAnimation" | "scrim" | "submenu">>;
1675
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "location" | "origin" | "transition" | "zIndex" | "style" | "eager" | "disabled" | "persistent" | "modelValue" | "locationStrategy" | "scrollStrategy" | "closeDelay" | "openDelay" | "activatorProps" | "openOnClick" | "openOnHover" | "openOnFocus" | "closeOnContentClick" | "closeOnBack" | "contained" | "noClickAnimation" | "scrim" | "submenu" | "disableInitialFocus">>;
1668
1676
  };
1669
1677
  multiple: unknown extends Defaults["multiple"] ? BooleanConstructor : {
1670
1678
  type: PropType<unknown extends Defaults["multiple"] ? boolean : boolean | Defaults["multiple"]>;
@@ -3045,6 +3053,7 @@ export declare const makeVSelectProps: <Defaults extends {
3045
3053
  noClickAnimation: boolean;
3046
3054
  scrim: string | boolean;
3047
3055
  submenu: boolean;
3056
+ disableInitialFocus: boolean;
3048
3057
  }> & Omit<{
3049
3058
  location: import("../../util/index.js").Anchor | undefined;
3050
3059
  origin: "auto" | import("../../util/index.js").Anchor | "overlap";
@@ -3124,6 +3133,7 @@ export declare const makeVSelectProps: <Defaults extends {
3124
3133
  noClickAnimation: boolean;
3125
3134
  scrim: string | boolean;
3126
3135
  submenu: boolean;
3136
+ disableInitialFocus: boolean;
3127
3137
  offset?: string | number | number[] | undefined;
3128
3138
  id?: string | undefined;
3129
3139
  height?: string | number | undefined;
@@ -3173,7 +3183,7 @@ export declare const makeVSelectProps: <Defaults extends {
3173
3183
  targetRef: import("../../util/index.js").TemplateRef;
3174
3184
  }) => import("vue").VNodeChild) | undefined;
3175
3185
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
3176
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "location" | "origin" | "transition" | "zIndex" | "style" | "eager" | "disabled" | "persistent" | "modelValue" | "locationStrategy" | "scrollStrategy" | "closeDelay" | "openDelay" | "activatorProps" | "openOnClick" | "openOnHover" | "openOnFocus" | "closeOnContentClick" | "closeOnBack" | "contained" | "noClickAnimation" | "scrim" | "submenu"> : (Partial<{
3186
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "location" | "origin" | "transition" | "zIndex" | "style" | "eager" | "disabled" | "persistent" | "modelValue" | "locationStrategy" | "scrollStrategy" | "closeDelay" | "openDelay" | "activatorProps" | "openOnClick" | "openOnHover" | "openOnFocus" | "closeOnContentClick" | "closeOnBack" | "contained" | "noClickAnimation" | "scrim" | "submenu" | "disableInitialFocus"> : (Partial<{
3177
3187
  location: import("../../util/index.js").Anchor | undefined;
3178
3188
  origin: "auto" | import("../../util/index.js").Anchor | "overlap";
3179
3189
  transition: string | boolean | (import("vue").TransitionProps & {
@@ -3254,6 +3264,7 @@ export declare const makeVSelectProps: <Defaults extends {
3254
3264
  noClickAnimation: boolean;
3255
3265
  scrim: string | boolean;
3256
3266
  submenu: boolean;
3267
+ disableInitialFocus: boolean;
3257
3268
  }> & Omit<{
3258
3269
  location: import("../../util/index.js").Anchor | undefined;
3259
3270
  origin: "auto" | import("../../util/index.js").Anchor | "overlap";
@@ -3333,6 +3344,7 @@ export declare const makeVSelectProps: <Defaults extends {
3333
3344
  noClickAnimation: boolean;
3334
3345
  scrim: string | boolean;
3335
3346
  submenu: boolean;
3347
+ disableInitialFocus: boolean;
3336
3348
  offset?: string | number | number[] | undefined;
3337
3349
  id?: string | undefined;
3338
3350
  height?: string | number | undefined;
@@ -3382,7 +3394,7 @@ export declare const makeVSelectProps: <Defaults extends {
3382
3394
  targetRef: import("../../util/index.js").TemplateRef;
3383
3395
  }) => import("vue").VNodeChild) | undefined;
3384
3396
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
3385
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "location" | "origin" | "transition" | "zIndex" | "style" | "eager" | "disabled" | "persistent" | "modelValue" | "locationStrategy" | "scrollStrategy" | "closeDelay" | "openDelay" | "activatorProps" | "openOnClick" | "openOnHover" | "openOnFocus" | "closeOnContentClick" | "closeOnBack" | "contained" | "noClickAnimation" | "scrim" | "submenu">) | Defaults["menuProps"]>;
3397
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "location" | "origin" | "transition" | "zIndex" | "style" | "eager" | "disabled" | "persistent" | "modelValue" | "locationStrategy" | "scrollStrategy" | "closeDelay" | "openDelay" | "activatorProps" | "openOnClick" | "openOnHover" | "openOnFocus" | "closeOnContentClick" | "closeOnBack" | "contained" | "noClickAnimation" | "scrim" | "submenu" | "disableInitialFocus">) | Defaults["menuProps"]>;
3386
3398
  default: unknown extends Defaults["menuProps"] ? Partial<{
3387
3399
  location: import("../../util/index.js").Anchor | undefined;
3388
3400
  origin: "auto" | import("../../util/index.js").Anchor | "overlap";
@@ -3464,6 +3476,7 @@ export declare const makeVSelectProps: <Defaults extends {
3464
3476
  noClickAnimation: boolean;
3465
3477
  scrim: string | boolean;
3466
3478
  submenu: boolean;
3479
+ disableInitialFocus: boolean;
3467
3480
  }> & Omit<{
3468
3481
  location: import("../../util/index.js").Anchor | undefined;
3469
3482
  origin: "auto" | import("../../util/index.js").Anchor | "overlap";
@@ -3543,6 +3556,7 @@ export declare const makeVSelectProps: <Defaults extends {
3543
3556
  noClickAnimation: boolean;
3544
3557
  scrim: string | boolean;
3545
3558
  submenu: boolean;
3559
+ disableInitialFocus: boolean;
3546
3560
  offset?: string | number | number[] | undefined;
3547
3561
  id?: string | undefined;
3548
3562
  height?: string | number | undefined;
@@ -3592,7 +3606,7 @@ export declare const makeVSelectProps: <Defaults extends {
3592
3606
  targetRef: import("../../util/index.js").TemplateRef;
3593
3607
  }) => import("vue").VNodeChild) | undefined;
3594
3608
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
3595
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "location" | "origin" | "transition" | "zIndex" | "style" | "eager" | "disabled" | "persistent" | "modelValue" | "locationStrategy" | "scrollStrategy" | "closeDelay" | "openDelay" | "activatorProps" | "openOnClick" | "openOnHover" | "openOnFocus" | "closeOnContentClick" | "closeOnBack" | "contained" | "noClickAnimation" | "scrim" | "submenu"> : NonNullable<Partial<{
3609
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "location" | "origin" | "transition" | "zIndex" | "style" | "eager" | "disabled" | "persistent" | "modelValue" | "locationStrategy" | "scrollStrategy" | "closeDelay" | "openDelay" | "activatorProps" | "openOnClick" | "openOnHover" | "openOnFocus" | "closeOnContentClick" | "closeOnBack" | "contained" | "noClickAnimation" | "scrim" | "submenu" | "disableInitialFocus"> : NonNullable<Partial<{
3596
3610
  location: import("../../util/index.js").Anchor | undefined;
3597
3611
  origin: "auto" | import("../../util/index.js").Anchor | "overlap";
3598
3612
  transition: string | boolean | (import("vue").TransitionProps & {
@@ -3673,6 +3687,7 @@ export declare const makeVSelectProps: <Defaults extends {
3673
3687
  noClickAnimation: boolean;
3674
3688
  scrim: string | boolean;
3675
3689
  submenu: boolean;
3690
+ disableInitialFocus: boolean;
3676
3691
  }> & Omit<{
3677
3692
  location: import("../../util/index.js").Anchor | undefined;
3678
3693
  origin: "auto" | import("../../util/index.js").Anchor | "overlap";
@@ -3752,6 +3767,7 @@ export declare const makeVSelectProps: <Defaults extends {
3752
3767
  noClickAnimation: boolean;
3753
3768
  scrim: string | boolean;
3754
3769
  submenu: boolean;
3770
+ disableInitialFocus: boolean;
3755
3771
  offset?: string | number | number[] | undefined;
3756
3772
  id?: string | undefined;
3757
3773
  height?: string | number | undefined;
@@ -3801,7 +3817,7 @@ export declare const makeVSelectProps: <Defaults extends {
3801
3817
  targetRef: import("../../util/index.js").TemplateRef;
3802
3818
  }) => import("vue").VNodeChild) | undefined;
3803
3819
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
3804
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "location" | "origin" | "transition" | "zIndex" | "style" | "eager" | "disabled" | "persistent" | "modelValue" | "locationStrategy" | "scrollStrategy" | "closeDelay" | "openDelay" | "activatorProps" | "openOnClick" | "openOnHover" | "openOnFocus" | "closeOnContentClick" | "closeOnBack" | "contained" | "noClickAnimation" | "scrim" | "submenu">> | Defaults["menuProps"];
3820
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "location" | "origin" | "transition" | "zIndex" | "style" | "eager" | "disabled" | "persistent" | "modelValue" | "locationStrategy" | "scrollStrategy" | "closeDelay" | "openDelay" | "activatorProps" | "openOnClick" | "openOnHover" | "openOnFocus" | "closeOnContentClick" | "closeOnBack" | "contained" | "noClickAnimation" | "scrim" | "submenu" | "disableInitialFocus">> | Defaults["menuProps"];
3805
3821
  };
3806
3822
  multiple: unknown extends Defaults["multiple"] ? BooleanConstructor : {
3807
3823
  type: PropType<unknown extends Defaults["multiple"] ? boolean : boolean | Defaults["multiple"]>;
@@ -4161,6 +4177,7 @@ export declare const VSelect: {
4161
4177
  noClickAnimation: boolean;
4162
4178
  scrim: string | boolean;
4163
4179
  submenu: boolean;
4180
+ disableInitialFocus: boolean;
4164
4181
  }> & Omit<{
4165
4182
  location: import("../../util/index.js").Anchor | undefined;
4166
4183
  origin: "auto" | import("../../util/index.js").Anchor | "overlap";
@@ -4240,6 +4257,7 @@ export declare const VSelect: {
4240
4257
  noClickAnimation: boolean;
4241
4258
  scrim: string | boolean;
4242
4259
  submenu: boolean;
4260
+ disableInitialFocus: boolean;
4243
4261
  offset?: string | number | number[] | undefined;
4244
4262
  id?: string | undefined;
4245
4263
  height?: string | number | undefined;
@@ -4289,7 +4307,7 @@ export declare const VSelect: {
4289
4307
  targetRef: import("../../util/index.js").TemplateRef;
4290
4308
  }) => import("vue").VNodeChild) | undefined;
4291
4309
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
4292
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "location" | "origin" | "transition" | "zIndex" | "style" | "eager" | "disabled" | "persistent" | "modelValue" | "locationStrategy" | "scrollStrategy" | "closeDelay" | "openDelay" | "activatorProps" | "openOnClick" | "openOnHover" | "openOnFocus" | "closeOnContentClick" | "closeOnBack" | "contained" | "noClickAnimation" | "scrim" | "submenu">) | undefined;
4310
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "location" | "origin" | "transition" | "zIndex" | "style" | "eager" | "disabled" | "persistent" | "modelValue" | "locationStrategy" | "scrollStrategy" | "closeDelay" | "openDelay" | "activatorProps" | "openOnClick" | "openOnHover" | "openOnFocus" | "closeOnContentClick" | "closeOnBack" | "contained" | "noClickAnimation" | "scrim" | "submenu" | "disableInitialFocus">) | undefined;
4293
4311
  itemColor?: string | undefined;
4294
4312
  } & {
4295
4313
  "onUpdate:focused"?: ((focused: boolean) => any) | undefined;
@@ -6669,6 +6687,7 @@ export declare const VSelect: {
6669
6687
  noClickAnimation: boolean;
6670
6688
  scrim: string | boolean;
6671
6689
  submenu: boolean;
6690
+ disableInitialFocus: boolean;
6672
6691
  }> & Omit<{
6673
6692
  location: import("../../util/index.js").Anchor | undefined;
6674
6693
  origin: "auto" | import("../../util/index.js").Anchor | "overlap";
@@ -6748,6 +6767,7 @@ export declare const VSelect: {
6748
6767
  noClickAnimation: boolean;
6749
6768
  scrim: string | boolean;
6750
6769
  submenu: boolean;
6770
+ disableInitialFocus: boolean;
6751
6771
  offset?: string | number | number[] | undefined;
6752
6772
  id?: string | undefined;
6753
6773
  height?: string | number | undefined;
@@ -6797,7 +6817,7 @@ export declare const VSelect: {
6797
6817
  targetRef: import("../../util/index.js").TemplateRef;
6798
6818
  }) => import("vue").VNodeChild) | undefined;
6799
6819
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
6800
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "location" | "origin" | "transition" | "zIndex" | "style" | "eager" | "disabled" | "persistent" | "modelValue" | "locationStrategy" | "scrollStrategy" | "closeDelay" | "openDelay" | "activatorProps" | "openOnClick" | "openOnHover" | "openOnFocus" | "closeOnContentClick" | "closeOnBack" | "contained" | "noClickAnimation" | "scrim" | "submenu">) | undefined;
6820
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "location" | "origin" | "transition" | "zIndex" | "style" | "eager" | "disabled" | "persistent" | "modelValue" | "locationStrategy" | "scrollStrategy" | "closeDelay" | "openDelay" | "activatorProps" | "openOnClick" | "openOnHover" | "openOnFocus" | "closeOnContentClick" | "closeOnBack" | "contained" | "noClickAnimation" | "scrim" | "submenu" | "disableInitialFocus">) | undefined;
6801
6821
  itemColor?: string | undefined;
6802
6822
  } & {
6803
6823
  "onUpdate:focused"?: ((focused: boolean) => any) | undefined;
@@ -9130,6 +9150,7 @@ export declare const VSelect: {
9130
9150
  noClickAnimation: boolean;
9131
9151
  scrim: string | boolean;
9132
9152
  submenu: boolean;
9153
+ disableInitialFocus: boolean;
9133
9154
  }> & Omit<{
9134
9155
  location: import("../../util/index.js").Anchor | undefined;
9135
9156
  origin: "auto" | import("../../util/index.js").Anchor | "overlap";
@@ -9209,6 +9230,7 @@ export declare const VSelect: {
9209
9230
  noClickAnimation: boolean;
9210
9231
  scrim: string | boolean;
9211
9232
  submenu: boolean;
9233
+ disableInitialFocus: boolean;
9212
9234
  offset?: string | number | number[] | undefined;
9213
9235
  id?: string | undefined;
9214
9236
  height?: string | number | undefined;
@@ -9258,7 +9280,7 @@ export declare const VSelect: {
9258
9280
  targetRef: import("../../util/index.js").TemplateRef;
9259
9281
  }) => import("vue").VNodeChild) | undefined;
9260
9282
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
9261
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "location" | "origin" | "transition" | "zIndex" | "style" | "eager" | "disabled" | "persistent" | "modelValue" | "locationStrategy" | "scrollStrategy" | "closeDelay" | "openDelay" | "activatorProps" | "openOnClick" | "openOnHover" | "openOnFocus" | "closeOnContentClick" | "closeOnBack" | "contained" | "noClickAnimation" | "scrim" | "submenu">) | undefined;
9283
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "location" | "origin" | "transition" | "zIndex" | "style" | "eager" | "disabled" | "persistent" | "modelValue" | "locationStrategy" | "scrollStrategy" | "closeDelay" | "openDelay" | "activatorProps" | "openOnClick" | "openOnHover" | "openOnFocus" | "closeOnContentClick" | "closeOnBack" | "contained" | "noClickAnimation" | "scrim" | "submenu" | "disableInitialFocus">) | undefined;
9262
9284
  itemColor?: string | undefined;
9263
9285
  } & {
9264
9286
  "onUpdate:focused"?: ((focused: boolean) => any) | undefined;
@@ -39,6 +39,7 @@ export declare const makeVSpeedDialProps: <Defaults extends {
39
39
  attach?: unknown;
40
40
  id?: unknown;
41
41
  submenu?: unknown;
42
+ disableInitialFocus?: unknown;
42
43
  } = {}>(defaults?: Defaults | undefined) => {
43
44
  offset: unknown extends Defaults["offset"] ? {
44
45
  type: import("vue").PropType<string | number | number[] | undefined>;
@@ -1034,6 +1035,10 @@ export declare const makeVSpeedDialProps: <Defaults extends {
1034
1035
  type: import("vue").PropType<unknown extends Defaults["submenu"] ? boolean : boolean | Defaults["submenu"]>;
1035
1036
  default: unknown extends Defaults["submenu"] ? boolean : boolean | Defaults["submenu"];
1036
1037
  };
1038
+ disableInitialFocus: unknown extends Defaults["disableInitialFocus"] ? BooleanConstructor : {
1039
+ type: import("vue").PropType<unknown extends Defaults["disableInitialFocus"] ? boolean : boolean | Defaults["disableInitialFocus"]>;
1040
+ default: unknown extends Defaults["disableInitialFocus"] ? boolean : boolean | Defaults["disableInitialFocus"];
1041
+ };
1037
1042
  };
1038
1043
  export declare const VSpeedDial: {
1039
1044
  new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<{
@@ -1117,6 +1122,7 @@ export declare const VSpeedDial: {
1117
1122
  noClickAnimation: boolean;
1118
1123
  scrim: string | boolean;
1119
1124
  submenu: boolean;
1125
+ disableInitialFocus: boolean;
1120
1126
  } & {
1121
1127
  id?: string | undefined;
1122
1128
  height?: string | number | undefined;
@@ -1253,6 +1259,7 @@ export declare const VSpeedDial: {
1253
1259
  noClickAnimation: boolean;
1254
1260
  scrim: string | boolean;
1255
1261
  submenu: boolean;
1262
+ disableInitialFocus: boolean;
1256
1263
  }, true, {}, import("vue").SlotsType<Partial<{
1257
1264
  default: (arg: {
1258
1265
  isActive: import("vue").Ref<boolean>;
@@ -1350,6 +1357,7 @@ export declare const VSpeedDial: {
1350
1357
  noClickAnimation: boolean;
1351
1358
  scrim: string | boolean;
1352
1359
  submenu: boolean;
1360
+ disableInitialFocus: boolean;
1353
1361
  } & {
1354
1362
  id?: string | undefined;
1355
1363
  height?: string | number | undefined;
@@ -1484,6 +1492,7 @@ export declare const VSpeedDial: {
1484
1492
  noClickAnimation: boolean;
1485
1493
  scrim: string | boolean;
1486
1494
  submenu: boolean;
1495
+ disableInitialFocus: boolean;
1487
1496
  }>;
1488
1497
  __isFragment?: never;
1489
1498
  __isTeleport?: never;
@@ -1569,6 +1578,7 @@ export declare const VSpeedDial: {
1569
1578
  noClickAnimation: boolean;
1570
1579
  scrim: string | boolean;
1571
1580
  submenu: boolean;
1581
+ disableInitialFocus: boolean;
1572
1582
  } & {
1573
1583
  id?: string | undefined;
1574
1584
  height?: string | number | undefined;
@@ -1705,6 +1715,7 @@ export declare const VSpeedDial: {
1705
1715
  noClickAnimation: boolean;
1706
1716
  scrim: string | boolean;
1707
1717
  submenu: boolean;
1718
+ disableInitialFocus: boolean;
1708
1719
  }, {}, string, import("vue").SlotsType<Partial<{
1709
1720
  default: (arg: {
1710
1721
  isActive: import("vue").Ref<boolean>;
@@ -2059,6 +2070,7 @@ export declare const VSpeedDial: {
2059
2070
  attach: import("vue").PropType<boolean | string | Element>;
2060
2071
  id: StringConstructor;
2061
2072
  submenu: BooleanConstructor;
2073
+ disableInitialFocus: BooleanConstructor;
2062
2074
  }, import("vue").ExtractPropTypes<{
2063
2075
  offset: {
2064
2076
  type: import("vue").PropType<string | number | number[] | undefined>;
@@ -2404,5 +2416,6 @@ export declare const VSpeedDial: {
2404
2416
  attach: import("vue").PropType<boolean | string | Element>;
2405
2417
  id: StringConstructor;
2406
2418
  submenu: BooleanConstructor;
2419
+ disableInitialFocus: BooleanConstructor;
2407
2420
  }>>;
2408
2421
  export type VSpeedDial = InstanceType<typeof VSpeedDial>;
@@ -1,8 +1,9 @@
1
- import type { InjectionKey, Ref } from 'vue';
1
+ import type { InjectionKey, Ref, ShallowRef } from 'vue';
2
2
  export interface LocaleMessages {
3
3
  [key: string]: LocaleMessages | string;
4
4
  }
5
5
  export interface LocaleOptions {
6
+ decimalSeparator?: string;
6
7
  messages?: LocaleMessages;
7
8
  locale?: string;
8
9
  fallback?: string;
@@ -10,6 +11,7 @@ export interface LocaleOptions {
10
11
  }
11
12
  export interface LocaleInstance {
12
13
  name: string;
14
+ decimalSeparator: ShallowRef<string>;
13
15
  messages: Ref<LocaleMessages>;
14
16
  current: Ref<string>;
15
17
  fallback: Ref<string>;
@@ -23,6 +25,7 @@ export declare function createLocale(options?: LocaleOptions & RtlOptions): {
23
25
  rtl: Ref<Record<string, boolean>>;
24
26
  rtlClasses: Ref<string>;
25
27
  name: string;
28
+ decimalSeparator: ShallowRef<string>;
26
29
  messages: Ref<LocaleMessages>;
27
30
  current: Ref<string>;
28
31
  fallback: Ref<string>;
@@ -36,6 +39,7 @@ export declare function provideLocale(props: LocaleOptions & RtlProps): {
36
39
  rtl: Ref<Record<string, boolean>>;
37
40
  rtlClasses: Ref<string>;
38
41
  name: string;
42
+ decimalSeparator: ShallowRef<string>;
39
43
  messages: Ref<LocaleMessages>;
40
44
  current: Ref<string>;
41
45
  fallback: Ref<string>;
@@ -1 +1 @@
1
- {"version":3,"file":"locale.js","names":["computed","inject","provide","ref","toRef","createVuetifyAdapter","LocaleSymbol","Symbol","for","isLocaleInstance","obj","name","createLocale","options","i18n","adapter","rtl","createRtl","useLocale","locale","Error","provideLocale","props","provideRtl","data","RtlSymbol","genDefaults","af","ar","bg","ca","ckb","cs","de","el","en","es","et","fa","fi","fr","hr","hu","he","id","it","ja","km","ko","lv","lt","nl","no","pl","pt","ro","ru","sk","sl","srCyrl","srLatn","sv","th","tr","az","uk","vi","zhHans","zhHant","isRtl","value","current","rtlClasses","useRtl"],"sources":["../../src/composables/locale.ts"],"sourcesContent":["// Utilities\nimport { computed, inject, provide, ref, toRef } from 'vue'\nimport { createVuetifyAdapter } from '@/locale/adapters/vuetify'\n\n// Types\nimport type { InjectionKey, Ref } from 'vue'\n\nexport interface LocaleMessages {\n [key: string]: LocaleMessages | string\n}\n\nexport interface LocaleOptions {\n messages?: LocaleMessages\n locale?: string\n fallback?: string\n adapter?: LocaleInstance\n}\n\nexport interface LocaleInstance {\n name: string\n messages: Ref<LocaleMessages>\n current: Ref<string>\n fallback: Ref<string>\n t: (key: string, ...params: unknown[]) => string\n n: (value: number) => string\n provide: (props: LocaleOptions) => LocaleInstance\n}\n\nexport const LocaleSymbol: InjectionKey<LocaleInstance & RtlInstance> = Symbol.for('vuetify:locale')\n\nfunction isLocaleInstance (obj: any): obj is LocaleInstance {\n return obj.name != null\n}\n\nexport function createLocale (options?: LocaleOptions & RtlOptions) {\n const i18n = options?.adapter && isLocaleInstance(options?.adapter) ? options?.adapter : createVuetifyAdapter(options)\n const rtl = createRtl(i18n, options)\n\n return { ...i18n, ...rtl }\n}\n\nexport function useLocale () {\n const locale = inject(LocaleSymbol)\n\n if (!locale) throw new Error('[Vuetify] Could not find injected locale instance')\n\n return locale\n}\n\nexport function provideLocale (props: LocaleOptions & RtlProps) {\n const locale = inject(LocaleSymbol)\n\n if (!locale) throw new Error('[Vuetify] Could not find injected locale instance')\n\n const i18n = locale.provide(props)\n const rtl = provideRtl(i18n, locale.rtl, props)\n\n const data = { ...i18n, ...rtl }\n\n provide(LocaleSymbol, data)\n\n return data\n}\n\n// RTL\n\nexport interface RtlOptions {\n rtl?: Record<string, boolean>\n}\n\nexport interface RtlProps {\n rtl?: boolean\n}\n\nexport interface RtlInstance {\n isRtl: Ref<boolean>\n rtl: Ref<Record<string, boolean>>\n rtlClasses: Ref<string>\n}\n\nexport const RtlSymbol: InjectionKey<RtlInstance> = Symbol.for('vuetify:rtl')\n\nfunction genDefaults () {\n return {\n af: false,\n ar: true,\n bg: false,\n ca: false,\n ckb: false,\n cs: false,\n de: false,\n el: false,\n en: false,\n es: false,\n et: false,\n fa: true,\n fi: false,\n fr: false,\n hr: false,\n hu: false,\n he: true,\n id: false,\n it: false,\n ja: false,\n km: false,\n ko: false,\n lv: false,\n lt: false,\n nl: false,\n no: false,\n pl: false,\n pt: false,\n ro: false,\n ru: false,\n sk: false,\n sl: false,\n srCyrl: false,\n srLatn: false,\n sv: false,\n th: false,\n tr: false,\n az: false,\n uk: false,\n vi: false,\n zhHans: false,\n zhHant: false,\n }\n}\n\nexport function createRtl (i18n: LocaleInstance, options?: RtlOptions): RtlInstance {\n const rtl = ref<Record<string, boolean>>(options?.rtl ?? genDefaults())\n const isRtl = computed(() => rtl.value[i18n.current.value] ?? false)\n\n return {\n isRtl,\n rtl,\n rtlClasses: toRef(() => `v-locale--is-${isRtl.value ? 'rtl' : 'ltr'}`),\n }\n}\n\nexport function provideRtl (locale: LocaleInstance, rtl: RtlInstance['rtl'], props: RtlProps): RtlInstance {\n const isRtl = computed(() => props.rtl ?? rtl.value[locale.current.value] ?? false)\n\n return {\n isRtl,\n rtl,\n rtlClasses: toRef(() => `v-locale--is-${isRtl.value ? 'rtl' : 'ltr'}`),\n }\n}\n\nexport function useRtl () {\n const locale = inject(LocaleSymbol)\n\n if (!locale) throw new Error('[Vuetify] Could not find injected rtl instance')\n\n return { isRtl: locale.isRtl, rtlClasses: locale.rtlClasses }\n}\n"],"mappings":"AAAA;AACA,SAASA,QAAQ,EAAEC,MAAM,EAAEC,OAAO,EAAEC,GAAG,EAAEC,KAAK,QAAQ,KAAK;AAAA,SAClDC,oBAAoB,yCAE7B;AAwBA,OAAO,MAAMC,YAAwD,GAAGC,MAAM,CAACC,GAAG,CAAC,gBAAgB,CAAC;AAEpG,SAASC,gBAAgBA,CAAEC,GAAQ,EAAyB;EAC1D,OAAOA,GAAG,CAACC,IAAI,IAAI,IAAI;AACzB;AAEA,OAAO,SAASC,YAAYA,CAAEC,OAAoC,EAAE;EAClE,MAAMC,IAAI,GAAGD,OAAO,EAAEE,OAAO,IAAIN,gBAAgB,CAACI,OAAO,EAAEE,OAAO,CAAC,GAAGF,OAAO,EAAEE,OAAO,GAAGV,oBAAoB,CAACQ,OAAO,CAAC;EACtH,MAAMG,GAAG,GAAGC,SAAS,CAACH,IAAI,EAAED,OAAO,CAAC;EAEpC,OAAO;IAAE,GAAGC,IAAI;IAAE,GAAGE;EAAI,CAAC;AAC5B;AAEA,OAAO,SAASE,SAASA,CAAA,EAAI;EAC3B,MAAMC,MAAM,GAAGlB,MAAM,CAACK,YAAY,CAAC;EAEnC,IAAI,CAACa,MAAM,EAAE,MAAM,IAAIC,KAAK,CAAC,mDA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CAAC;AACH;AAEA,OAAO,SAASG,MAAMA,CAAA,EAAI;EACxB,MAAMtD,MAAM,GAAGlB,MAAM,CAACK,YAAY,CAAC;EAEnC,IAAI,CAACa,MAAM,EAAE,MAAM,IAAIC,KAAK,CAAC,gDAAgD,CAAC;EAE9E,OAAO;IAAEiD,KAAK,EAAElD,MAAM,CAACkD,KAAK;IAAEG,UAAU,EAAErD,MAAM,CAACqD;EAAW,CAAC;AAC/D","ignoreList":[]}
1
+ {"version":3,"file":"locale.js","names":["computed","inject","provide","ref","toRef","createVuetifyAdapter","LocaleSymbol","Symbol","for","isLocaleInstance","obj","name","createLocale","options","i18n","adapter","rtl","createRtl","useLocale","locale","Error","provideLocale","props","provideRtl","data","RtlSymbol","genDefaults","af","ar","bg","ca","ckb","cs","de","el","en","es","et","fa","fi","fr","hr","hu","he","id","it","ja","km","ko","lv","lt","nl","no","pl","pt","ro","ru","sk","sl","srCyrl","srLatn","sv","th","tr","az","uk","vi","zhHans","zhHant","isRtl","value","current","rtlClasses","useRtl"],"sources":["../../src/composables/locale.ts"],"sourcesContent":["// Utilities\nimport { computed, inject, provide, ref, toRef } from 'vue'\nimport { createVuetifyAdapter } from '@/locale/adapters/vuetify'\n\n// Types\nimport type { InjectionKey, Ref, ShallowRef } from 'vue'\n\nexport interface LocaleMessages {\n [key: string]: LocaleMessages | string\n}\n\nexport interface LocaleOptions {\n decimalSeparator?: string\n messages?: LocaleMessages\n locale?: string\n fallback?: string\n adapter?: LocaleInstance\n}\n\nexport interface LocaleInstance {\n name: string\n decimalSeparator: ShallowRef<string>\n messages: Ref<LocaleMessages>\n current: Ref<string>\n fallback: Ref<string>\n t: (key: string, ...params: unknown[]) => string\n n: (value: number) => string\n provide: (props: LocaleOptions) => LocaleInstance\n}\n\nexport const LocaleSymbol: InjectionKey<LocaleInstance & RtlInstance> = Symbol.for('vuetify:locale')\n\nfunction isLocaleInstance (obj: any): obj is LocaleInstance {\n return obj.name != null\n}\n\nexport function createLocale (options?: LocaleOptions & RtlOptions) {\n const i18n = options?.adapter && isLocaleInstance(options?.adapter) ? options?.adapter : createVuetifyAdapter(options)\n const rtl = createRtl(i18n, options)\n\n return { ...i18n, ...rtl }\n}\n\nexport function useLocale () {\n const locale = inject(LocaleSymbol)\n\n if (!locale) throw new Error('[Vuetify] Could not find injected locale instance')\n\n return locale\n}\n\nexport function provideLocale (props: LocaleOptions & RtlProps) {\n const locale = inject(LocaleSymbol)\n\n if (!locale) throw new Error('[Vuetify] Could not find injected locale instance')\n\n const i18n = locale.provide(props)\n const rtl = provideRtl(i18n, locale.rtl, props)\n\n const data = { ...i18n, ...rtl }\n\n provide(LocaleSymbol, data)\n\n return data\n}\n\n// RTL\n\nexport interface RtlOptions {\n rtl?: Record<string, boolean>\n}\n\nexport interface RtlProps {\n rtl?: boolean\n}\n\nexport interface RtlInstance {\n isRtl: Ref<boolean>\n rtl: Ref<Record<string, boolean>>\n rtlClasses: Ref<string>\n}\n\nexport const RtlSymbol: InjectionKey<RtlInstance> = Symbol.for('vuetify:rtl')\n\nfunction genDefaults () {\n return {\n af: false,\n ar: true,\n bg: false,\n ca: false,\n ckb: false,\n cs: false,\n de: false,\n el: false,\n en: false,\n es: false,\n et: false,\n fa: true,\n fi: false,\n fr: false,\n hr: false,\n hu: false,\n he: true,\n id: false,\n it: false,\n ja: false,\n km: false,\n ko: false,\n lv: false,\n lt: false,\n nl: false,\n no: false,\n pl: false,\n pt: false,\n ro: false,\n ru: false,\n sk: false,\n sl: false,\n srCyrl: false,\n srLatn: false,\n sv: false,\n th: false,\n tr: false,\n az: false,\n uk: false,\n vi: false,\n zhHans: false,\n zhHant: false,\n }\n}\n\nexport function createRtl (i18n: LocaleInstance, options?: RtlOptions): RtlInstance {\n const rtl = ref<Record<string, boolean>>(options?.rtl ?? genDefaults())\n const isRtl = computed(() => rtl.value[i18n.current.value] ?? false)\n\n return {\n isRtl,\n rtl,\n rtlClasses: toRef(() => `v-locale--is-${isRtl.value ? 'rtl' : 'ltr'}`),\n }\n}\n\nexport function provideRtl (locale: LocaleInstance, rtl: RtlInstance['rtl'], props: RtlProps): RtlInstance {\n const isRtl = computed(() => props.rtl ?? rtl.value[locale.current.value] ?? false)\n\n return {\n isRtl,\n rtl,\n rtlClasses: toRef(() => `v-locale--is-${isRtl.value ? 'rtl' : 'ltr'}`),\n }\n}\n\nexport function useRtl () {\n const locale = inject(LocaleSymbol)\n\n if (!locale) throw new Error('[Vuetify] Could not find injected rtl instance')\n\n return { isRtl: locale.isRtl, rtlClasses: locale.rtlClasses }\n}\n"],"mappings":"AAAA;AACA,SAASA,QAAQ,EAAEC,MAAM,EAAEC,OAAO,EAAEC,GAAG,EAAEC,KAAK,QAAQ,KAAK;AAAA,SAClDC,oBAAoB,yCAE7B;AA0BA,OAAO,MAAMC,YAAwD,GAAGC,MAAM,CAACC,GAAG,CAAC,gBAAgB,CAAC;AAEpG,SAASC,gBAAgBA,CAAEC,GAAQ,EAAyB;EAC1D,OAAOA,GAAG,CAACC,IAAI,IAAI,IAAI;AACzB;AAEA,OAAO,SAASC,YAAYA,CAAEC,OAAoC,EAAE;EAClE,MAAMC,IAAI,GAAGD,OAAO,EAAEE,OAAO,IAAIN,gBAAgB,CAACI,OAAO,EAAEE,OAAO,CAAC,GAAGF,OAAO,EAAEE,OAAO,GAAGV,oBAAoB,CAACQ,OAAO,CAAC;EACtH,MAAMG,GAAG,GAAGC,SAAS,CAACH,IAAI,EAAED,OAAO,CAAC;EAEpC,OAAO;IAAE,GAAGC,IAAI;IAAE,GAAGE;EAAI,CAAC;AAC5B;AAEA,OAAO,SAASE,SAASA,CAAA,EAAI;EAC3B,MAAMC,MAAM,GAAGlB,MAAM,CAACK,YAAY,CAAC;EAEnC,IAAI,CAACa,MAAM,EAAE,MAAM,IAAIC,KAAK,CAAC,mDAAmD,CAAC;EAEjF,OAAOD,MAAM;AACf;AAEA,OAAO,SAASE,aAAaA,CAAEC,KAA+B,EAAE;EAC9D,MAAMH,MAAM,GAAGlB,MAAM,CAAC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MAAM,EAAE,MAAM,IAAIC,KAAK,CAAC,gDAAgD,CAAC;EAE9E,OAAO;IAAEiD,KAAK,EAAElD,MAAM,CAACkD,KAAK;IAAEG,UAAU,EAAErD,MAAM,CAACqD;EAAW,CAAC;AAC/D","ignoreList":[]}
@@ -46,8 +46,8 @@ function genDefaults() {
46
46
  'activated-opacity': 0.12,
47
47
  'pressed-opacity': 0.12,
48
48
  'dragged-opacity': 0.08,
49
- 'theme-kbd': '#212529',
50
- 'theme-on-kbd': '#FFFFFF',
49
+ 'theme-kbd': '#EEEEEE',
50
+ 'theme-on-kbd': '#000000',
51
51
  'theme-code': '#F5F5F5',
52
52
  'theme-on-code': '#000000'
53
53
  }
@@ -83,7 +83,7 @@ function genDefaults() {
83
83
  'activated-opacity': 0.12,
84
84
  'pressed-opacity': 0.16,
85
85
  'dragged-opacity': 0.08,
86
- 'theme-kbd': '#212529',
86
+ 'theme-kbd': '#424242',
87
87
  'theme-on-kbd': '#FFFFFF',
88
88
  'theme-code': '#343434',
89
89
  'theme-on-code': '#CCCCCC'