vuetify 3.7.10 → 3.7.12

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 (61) hide show
  1. package/dist/json/attributes.json +3092 -3104
  2. package/dist/json/importMap-labs.json +28 -28
  3. package/dist/json/importMap.json +168 -168
  4. package/dist/json/tags.json +0 -3
  5. package/dist/json/web-types.json +6174 -6201
  6. package/dist/vuetify-labs.css +4937 -4936
  7. package/dist/vuetify-labs.d.ts +90 -165
  8. package/dist/vuetify-labs.esm.js +138 -110
  9. package/dist/vuetify-labs.esm.js.map +1 -1
  10. package/dist/vuetify-labs.js +137 -109
  11. package/dist/vuetify-labs.min.css +2 -2
  12. package/dist/vuetify.css +5080 -5079
  13. package/dist/vuetify.d.ts +131 -191
  14. package/dist/vuetify.esm.js +123 -104
  15. package/dist/vuetify.esm.js.map +1 -1
  16. package/dist/vuetify.js +122 -103
  17. package/dist/vuetify.js.map +1 -1
  18. package/dist/vuetify.min.css +2 -2
  19. package/dist/vuetify.min.js +935 -923
  20. package/dist/vuetify.min.js.map +1 -1
  21. package/lib/components/VAutocomplete/VAutocomplete.mjs +3 -12
  22. package/lib/components/VAutocomplete/VAutocomplete.mjs.map +1 -1
  23. package/lib/components/VAutocomplete/index.d.mts +25 -47
  24. package/lib/components/VCombobox/VCombobox.mjs +4 -14
  25. package/lib/components/VCombobox/VCombobox.mjs.map +1 -1
  26. package/lib/components/VCombobox/index.d.mts +25 -47
  27. package/lib/components/VDatePicker/VDatePickerMonth.mjs +2 -2
  28. package/lib/components/VDatePicker/VDatePickerMonth.mjs.map +1 -1
  29. package/lib/components/VDatePicker/index.d.mts +12 -24
  30. package/lib/components/VList/VList.mjs +1 -4
  31. package/lib/components/VList/VList.mjs.map +1 -1
  32. package/lib/components/VList/index.d.mts +7 -16
  33. package/lib/components/VOverlay/VOverlay.css +2 -1
  34. package/lib/components/VOverlay/VOverlay.sass +2 -1
  35. package/lib/components/VOverlay/_variables.scss +1 -1
  36. package/lib/components/VSelect/VSelect.mjs +5 -9
  37. package/lib/components/VSelect/VSelect.mjs.map +1 -1
  38. package/lib/components/VSelect/index.d.mts +25 -47
  39. package/lib/components/VSlider/slider.mjs +25 -12
  40. package/lib/components/VSlider/slider.mjs.map +1 -1
  41. package/lib/components/index.d.mts +73 -133
  42. package/lib/composables/calendar.mjs.map +1 -1
  43. package/lib/composables/list-items.mjs +70 -17
  44. package/lib/composables/list-items.mjs.map +1 -1
  45. package/lib/composables/nested/selectStrategies.mjs +6 -7
  46. package/lib/composables/nested/selectStrategies.mjs.map +1 -1
  47. package/lib/directives/ripple/index.mjs +7 -5
  48. package/lib/directives/ripple/index.mjs.map +1 -1
  49. package/lib/entry-bundler.mjs +1 -1
  50. package/lib/framework.mjs +1 -1
  51. package/lib/index.d.mts +58 -58
  52. package/lib/labs/VDateInput/VDateInput.mjs +17 -7
  53. package/lib/labs/VDateInput/VDateInput.mjs.map +1 -1
  54. package/lib/labs/VDateInput/index.d.mts +11 -17
  55. package/lib/labs/VTreeview/index.d.mts +7 -16
  56. package/lib/labs/components.d.mts +18 -33
  57. package/lib/util/helpers.mjs +3 -0
  58. package/lib/util/helpers.mjs.map +1 -1
  59. package/package.json +2 -2
  60. package/lib/composables/mousedown.mjs +0 -30
  61. package/lib/composables/mousedown.mjs.map +0 -1
@@ -337,7 +337,7 @@ interface ItemProps {
337
337
  itemChildren: SelectItemKey;
338
338
  itemProps: SelectItemKey;
339
339
  returnObject: boolean;
340
- valueComparator: typeof deepEqual;
340
+ valueComparator: typeof deepEqual | undefined;
341
341
  }
342
342
 
343
343
  interface InternalListItem<T = any> extends ListItem<T> {
@@ -356,7 +356,6 @@ declare const VList: {
356
356
  tile: boolean;
357
357
  density: Density;
358
358
  slim: boolean;
359
- valueComparator: typeof deepEqual;
360
359
  activatable: boolean;
361
360
  selectable: boolean;
362
361
  selectStrategy: SelectStrategyProp;
@@ -380,6 +379,7 @@ declare const VList: {
380
379
  baseColor?: string | undefined;
381
380
  bgColor?: string | undefined;
382
381
  activeColor?: string | undefined;
382
+ valueComparator?: typeof deepEqual | undefined;
383
383
  activeClass?: string | undefined;
384
384
  activeStrategy?: ActiveStrategyProp | undefined;
385
385
  collapseIcon?: IconValue | undefined;
@@ -428,7 +428,6 @@ declare const VList: {
428
428
  tile: boolean;
429
429
  density: Density;
430
430
  slim: boolean;
431
- valueComparator: typeof deepEqual;
432
431
  activatable: boolean;
433
432
  selectable: boolean;
434
433
  selectStrategy: SelectStrategyProp;
@@ -452,6 +451,7 @@ declare const VList: {
452
451
  baseColor?: string | undefined;
453
452
  bgColor?: string | undefined;
454
453
  activeColor?: string | undefined;
454
+ valueComparator?: typeof deepEqual | undefined;
455
455
  activeClass?: string | undefined;
456
456
  activeStrategy?: ActiveStrategyProp | undefined;
457
457
  collapseIcon?: IconValue | undefined;
@@ -475,7 +475,6 @@ declare const VList: {
475
475
  tile: boolean;
476
476
  density: Density;
477
477
  slim: boolean;
478
- valueComparator: typeof deepEqual;
479
478
  activatable: boolean;
480
479
  selectable: boolean;
481
480
  selectStrategy: SelectStrategyProp;
@@ -526,7 +525,6 @@ declare const VList: {
526
525
  tile: boolean;
527
526
  density: Density;
528
527
  slim: boolean;
529
- valueComparator: typeof deepEqual;
530
528
  activatable: boolean;
531
529
  selectable: boolean;
532
530
  selectStrategy: SelectStrategyProp;
@@ -550,6 +548,7 @@ declare const VList: {
550
548
  baseColor?: string | undefined;
551
549
  bgColor?: string | undefined;
552
550
  activeColor?: string | undefined;
551
+ valueComparator?: typeof deepEqual | undefined;
553
552
  activeClass?: string | undefined;
554
553
  activeStrategy?: ActiveStrategyProp | undefined;
555
554
  collapseIcon?: IconValue | undefined;
@@ -580,7 +579,6 @@ declare const VList: {
580
579
  tile: boolean;
581
580
  density: Density;
582
581
  slim: boolean;
583
- valueComparator: typeof deepEqual;
584
582
  activatable: boolean;
585
583
  selectable: boolean;
586
584
  selectStrategy: SelectStrategyProp;
@@ -602,7 +600,6 @@ declare const VList: {
602
600
  tile: boolean;
603
601
  density: Density;
604
602
  slim: boolean;
605
- valueComparator: typeof deepEqual;
606
603
  activatable: boolean;
607
604
  selectable: boolean;
608
605
  selectStrategy: SelectStrategyProp;
@@ -626,6 +623,7 @@ declare const VList: {
626
623
  baseColor?: string | undefined;
627
624
  bgColor?: string | undefined;
628
625
  activeColor?: string | undefined;
626
+ valueComparator?: typeof deepEqual | undefined;
629
627
  activeClass?: string | undefined;
630
628
  activeStrategy?: ActiveStrategyProp | undefined;
631
629
  collapseIcon?: IconValue | undefined;
@@ -675,7 +673,6 @@ declare const VList: {
675
673
  tile: boolean;
676
674
  density: Density;
677
675
  slim: boolean;
678
- valueComparator: typeof deepEqual;
679
676
  activatable: boolean;
680
677
  selectable: boolean;
681
678
  selectStrategy: SelectStrategyProp;
@@ -769,10 +766,7 @@ declare const VList: {
769
766
  default: string;
770
767
  };
771
768
  returnObject: BooleanConstructor;
772
- valueComparator: {
773
- type: PropType<typeof deepEqual>;
774
- default: typeof deepEqual;
775
- };
769
+ valueComparator: PropType<typeof deepEqual>;
776
770
  itemType: {
777
771
  type: StringConstructor;
778
772
  default: string;
@@ -878,10 +872,7 @@ declare const VList: {
878
872
  default: string;
879
873
  };
880
874
  returnObject: BooleanConstructor;
881
- valueComparator: {
882
- type: PropType<typeof deepEqual>;
883
- default: typeof deepEqual;
884
- };
875
+ valueComparator: PropType<typeof deepEqual>;
885
876
  itemType: {
886
877
  type: StringConstructor;
887
878
  default: string;
@@ -3078,7 +3069,6 @@ declare const VAutocomplete: {
3078
3069
  rules: readonly ValidationRule[];
3079
3070
  tile: boolean;
3080
3071
  density: Density;
3081
- valueComparator: typeof deepEqual;
3082
3072
  clearIcon: IconValue;
3083
3073
  hideSpinButtons: boolean;
3084
3074
  persistentHint: boolean;
@@ -3122,6 +3112,7 @@ declare const VAutocomplete: {
3122
3112
  bgColor?: string | undefined;
3123
3113
  prependIcon?: IconValue | undefined;
3124
3114
  appendIcon?: IconValue | undefined;
3115
+ valueComparator?: typeof deepEqual | undefined;
3125
3116
  prependInnerIcon?: IconValue | undefined;
3126
3117
  'onClick:clear'?: ((args_0: MouseEvent) => void) | undefined;
3127
3118
  'onClick:append'?: ((args_0: MouseEvent) => void) | undefined;
@@ -3148,7 +3139,6 @@ declare const VAutocomplete: {
3148
3139
  tile: boolean;
3149
3140
  density: Density;
3150
3141
  slim: boolean;
3151
- valueComparator: typeof deepEqual;
3152
3142
  activatable: boolean;
3153
3143
  selectable: boolean;
3154
3144
  selectStrategy: SelectStrategyProp;
@@ -3166,7 +3156,6 @@ declare const VAutocomplete: {
3166
3156
  tile: boolean;
3167
3157
  density: Density;
3168
3158
  slim: boolean;
3169
- valueComparator: typeof deepEqual;
3170
3159
  activatable: boolean;
3171
3160
  selectable: boolean;
3172
3161
  selectStrategy: SelectStrategyProp;
@@ -3189,6 +3178,7 @@ declare const VAutocomplete: {
3189
3178
  baseColor?: string | undefined;
3190
3179
  bgColor?: string | undefined;
3191
3180
  activeColor?: string | undefined;
3181
+ valueComparator?: typeof deepEqual | undefined;
3192
3182
  activeClass?: string | undefined;
3193
3183
  activeStrategy?: ActiveStrategyProp | undefined;
3194
3184
  collapseIcon?: IconValue | undefined;
@@ -3210,7 +3200,6 @@ declare const VAutocomplete: {
3210
3200
  tile: boolean;
3211
3201
  density: Density;
3212
3202
  slim: boolean;
3213
- valueComparator: typeof deepEqual;
3214
3203
  activatable: boolean;
3215
3204
  selectable: boolean;
3216
3205
  selectStrategy: SelectStrategyProp;
@@ -3234,6 +3223,7 @@ declare const VAutocomplete: {
3234
3223
  baseColor?: string | undefined;
3235
3224
  bgColor?: string | undefined;
3236
3225
  activeColor?: string | undefined;
3226
+ valueComparator?: typeof deepEqual | undefined;
3237
3227
  activeClass?: string | undefined;
3238
3228
  activeStrategy?: ActiveStrategyProp | undefined;
3239
3229
  collapseIcon?: IconValue | undefined;
@@ -3245,7 +3235,7 @@ declare const VAutocomplete: {
3245
3235
  value: boolean;
3246
3236
  path: unknown[];
3247
3237
  }) => any) | undefined;
3248
- }, "variant" | "nav" | "style" | "disabled" | "tag" | "lines" | "mandatory" | "rounded" | "tile" | "density" | "slim" | "valueComparator" | "activatable" | "selectable" | "selectStrategy" | "openStrategy" | "returnObject" | "itemType"> & {
3238
+ }, "variant" | "nav" | "style" | "disabled" | "tag" | "lines" | "mandatory" | "rounded" | "tile" | "density" | "slim" | "activatable" | "selectable" | "selectStrategy" | "openStrategy" | "returnObject" | "itemType"> & {
3249
3239
  items?: readonly any[] | undefined;
3250
3240
  itemTitle?: SelectItemKey<any>;
3251
3241
  itemValue?: SelectItemKey<any>;
@@ -3573,7 +3563,6 @@ declare const VAutocomplete: {
3573
3563
  rules: readonly ValidationRule[];
3574
3564
  tile: boolean;
3575
3565
  density: Density;
3576
- valueComparator: typeof deepEqual;
3577
3566
  clearIcon: IconValue;
3578
3567
  hideSpinButtons: boolean;
3579
3568
  persistentHint: boolean;
@@ -3617,6 +3606,7 @@ declare const VAutocomplete: {
3617
3606
  bgColor?: string | undefined;
3618
3607
  prependIcon?: IconValue | undefined;
3619
3608
  appendIcon?: IconValue | undefined;
3609
+ valueComparator?: typeof deepEqual | undefined;
3620
3610
  prependInnerIcon?: IconValue | undefined;
3621
3611
  'onClick:clear'?: ((args_0: MouseEvent) => void) | undefined;
3622
3612
  'onClick:append'?: ((args_0: MouseEvent) => void) | undefined;
@@ -3643,7 +3633,6 @@ declare const VAutocomplete: {
3643
3633
  tile: boolean;
3644
3634
  density: Density;
3645
3635
  slim: boolean;
3646
- valueComparator: typeof deepEqual;
3647
3636
  activatable: boolean;
3648
3637
  selectable: boolean;
3649
3638
  selectStrategy: SelectStrategyProp;
@@ -3661,7 +3650,6 @@ declare const VAutocomplete: {
3661
3650
  tile: boolean;
3662
3651
  density: Density;
3663
3652
  slim: boolean;
3664
- valueComparator: typeof deepEqual;
3665
3653
  activatable: boolean;
3666
3654
  selectable: boolean;
3667
3655
  selectStrategy: SelectStrategyProp;
@@ -3684,6 +3672,7 @@ declare const VAutocomplete: {
3684
3672
  baseColor?: string | undefined;
3685
3673
  bgColor?: string | undefined;
3686
3674
  activeColor?: string | undefined;
3675
+ valueComparator?: typeof deepEqual | undefined;
3687
3676
  activeClass?: string | undefined;
3688
3677
  activeStrategy?: ActiveStrategyProp | undefined;
3689
3678
  collapseIcon?: IconValue | undefined;
@@ -3705,7 +3694,6 @@ declare const VAutocomplete: {
3705
3694
  tile: boolean;
3706
3695
  density: Density;
3707
3696
  slim: boolean;
3708
- valueComparator: typeof deepEqual;
3709
3697
  activatable: boolean;
3710
3698
  selectable: boolean;
3711
3699
  selectStrategy: SelectStrategyProp;
@@ -3729,6 +3717,7 @@ declare const VAutocomplete: {
3729
3717
  baseColor?: string | undefined;
3730
3718
  bgColor?: string | undefined;
3731
3719
  activeColor?: string | undefined;
3720
+ valueComparator?: typeof deepEqual | undefined;
3732
3721
  activeClass?: string | undefined;
3733
3722
  activeStrategy?: ActiveStrategyProp | undefined;
3734
3723
  collapseIcon?: IconValue | undefined;
@@ -3740,7 +3729,7 @@ declare const VAutocomplete: {
3740
3729
  value: boolean;
3741
3730
  path: unknown[];
3742
3731
  }) => any) | undefined;
3743
- }, "variant" | "nav" | "style" | "disabled" | "tag" | "lines" | "mandatory" | "rounded" | "tile" | "density" | "slim" | "valueComparator" | "activatable" | "selectable" | "selectStrategy" | "openStrategy" | "returnObject" | "itemType"> & {
3732
+ }, "variant" | "nav" | "style" | "disabled" | "tag" | "lines" | "mandatory" | "rounded" | "tile" | "density" | "slim" | "activatable" | "selectable" | "selectStrategy" | "openStrategy" | "returnObject" | "itemType"> & {
3744
3733
  items?: readonly any[] | undefined;
3745
3734
  itemTitle?: SelectItemKey<any>;
3746
3735
  itemValue?: SelectItemKey<any>;
@@ -4064,7 +4053,6 @@ declare const VAutocomplete: {
4064
4053
  rounded: string | number | boolean;
4065
4054
  tile: boolean;
4066
4055
  density: Density;
4067
- valueComparator: typeof deepEqual;
4068
4056
  clearIcon: IconValue;
4069
4057
  centerAffix: boolean;
4070
4058
  hideSpinButtons: boolean;
@@ -4152,7 +4140,6 @@ declare const VAutocomplete: {
4152
4140
  rules: readonly ValidationRule[];
4153
4141
  tile: boolean;
4154
4142
  density: Density;
4155
- valueComparator: typeof deepEqual;
4156
4143
  clearIcon: IconValue;
4157
4144
  hideSpinButtons: boolean;
4158
4145
  persistentHint: boolean;
@@ -4196,6 +4183,7 @@ declare const VAutocomplete: {
4196
4183
  bgColor?: string | undefined;
4197
4184
  prependIcon?: IconValue | undefined;
4198
4185
  appendIcon?: IconValue | undefined;
4186
+ valueComparator?: typeof deepEqual | undefined;
4199
4187
  prependInnerIcon?: IconValue | undefined;
4200
4188
  'onClick:clear'?: ((args_0: MouseEvent) => void) | undefined;
4201
4189
  'onClick:append'?: ((args_0: MouseEvent) => void) | undefined;
@@ -4222,7 +4210,6 @@ declare const VAutocomplete: {
4222
4210
  tile: boolean;
4223
4211
  density: Density;
4224
4212
  slim: boolean;
4225
- valueComparator: typeof deepEqual;
4226
4213
  activatable: boolean;
4227
4214
  selectable: boolean;
4228
4215
  selectStrategy: SelectStrategyProp;
@@ -4240,7 +4227,6 @@ declare const VAutocomplete: {
4240
4227
  tile: boolean;
4241
4228
  density: Density;
4242
4229
  slim: boolean;
4243
- valueComparator: typeof deepEqual;
4244
4230
  activatable: boolean;
4245
4231
  selectable: boolean;
4246
4232
  selectStrategy: SelectStrategyProp;
@@ -4263,6 +4249,7 @@ declare const VAutocomplete: {
4263
4249
  baseColor?: string | undefined;
4264
4250
  bgColor?: string | undefined;
4265
4251
  activeColor?: string | undefined;
4252
+ valueComparator?: typeof deepEqual | undefined;
4266
4253
  activeClass?: string | undefined;
4267
4254
  activeStrategy?: ActiveStrategyProp | undefined;
4268
4255
  collapseIcon?: IconValue | undefined;
@@ -4284,7 +4271,6 @@ declare const VAutocomplete: {
4284
4271
  tile: boolean;
4285
4272
  density: Density;
4286
4273
  slim: boolean;
4287
- valueComparator: typeof deepEqual;
4288
4274
  activatable: boolean;
4289
4275
  selectable: boolean;
4290
4276
  selectStrategy: SelectStrategyProp;
@@ -4308,6 +4294,7 @@ declare const VAutocomplete: {
4308
4294
  baseColor?: string | undefined;
4309
4295
  bgColor?: string | undefined;
4310
4296
  activeColor?: string | undefined;
4297
+ valueComparator?: typeof deepEqual | undefined;
4311
4298
  activeClass?: string | undefined;
4312
4299
  activeStrategy?: ActiveStrategyProp | undefined;
4313
4300
  collapseIcon?: IconValue | undefined;
@@ -4319,7 +4306,7 @@ declare const VAutocomplete: {
4319
4306
  value: boolean;
4320
4307
  path: unknown[];
4321
4308
  }) => any) | undefined;
4322
- }, "variant" | "nav" | "style" | "disabled" | "tag" | "lines" | "mandatory" | "rounded" | "tile" | "density" | "slim" | "valueComparator" | "activatable" | "selectable" | "selectStrategy" | "openStrategy" | "returnObject" | "itemType"> & {
4309
+ }, "variant" | "nav" | "style" | "disabled" | "tag" | "lines" | "mandatory" | "rounded" | "tile" | "density" | "slim" | "activatable" | "selectable" | "selectStrategy" | "openStrategy" | "returnObject" | "itemType"> & {
4323
4310
  items?: readonly any[] | undefined;
4324
4311
  itemTitle?: SelectItemKey<any>;
4325
4312
  itemValue?: SelectItemKey<any>;
@@ -4643,7 +4630,6 @@ declare const VAutocomplete: {
4643
4630
  rounded: string | number | boolean;
4644
4631
  tile: boolean;
4645
4632
  density: Density;
4646
- valueComparator: typeof deepEqual;
4647
4633
  clearIcon: IconValue;
4648
4634
  centerAffix: boolean;
4649
4635
  hideSpinButtons: boolean;
@@ -4696,7 +4682,6 @@ declare const VAutocomplete: {
4696
4682
  rules: readonly ValidationRule[];
4697
4683
  tile: boolean;
4698
4684
  density: Density;
4699
- valueComparator: typeof deepEqual;
4700
4685
  clearIcon: IconValue;
4701
4686
  hideSpinButtons: boolean;
4702
4687
  persistentHint: boolean;
@@ -4740,6 +4725,7 @@ declare const VAutocomplete: {
4740
4725
  bgColor?: string | undefined;
4741
4726
  prependIcon?: IconValue | undefined;
4742
4727
  appendIcon?: IconValue | undefined;
4728
+ valueComparator?: typeof deepEqual | undefined;
4743
4729
  prependInnerIcon?: IconValue | undefined;
4744
4730
  'onClick:clear'?: ((args_0: MouseEvent) => void) | undefined;
4745
4731
  'onClick:append'?: ((args_0: MouseEvent) => void) | undefined;
@@ -4766,7 +4752,6 @@ declare const VAutocomplete: {
4766
4752
  tile: boolean;
4767
4753
  density: Density;
4768
4754
  slim: boolean;
4769
- valueComparator: typeof deepEqual;
4770
4755
  activatable: boolean;
4771
4756
  selectable: boolean;
4772
4757
  selectStrategy: SelectStrategyProp;
@@ -4784,7 +4769,6 @@ declare const VAutocomplete: {
4784
4769
  tile: boolean;
4785
4770
  density: Density;
4786
4771
  slim: boolean;
4787
- valueComparator: typeof deepEqual;
4788
4772
  activatable: boolean;
4789
4773
  selectable: boolean;
4790
4774
  selectStrategy: SelectStrategyProp;
@@ -4807,6 +4791,7 @@ declare const VAutocomplete: {
4807
4791
  baseColor?: string | undefined;
4808
4792
  bgColor?: string | undefined;
4809
4793
  activeColor?: string | undefined;
4794
+ valueComparator?: typeof deepEqual | undefined;
4810
4795
  activeClass?: string | undefined;
4811
4796
  activeStrategy?: ActiveStrategyProp | undefined;
4812
4797
  collapseIcon?: IconValue | undefined;
@@ -4828,7 +4813,6 @@ declare const VAutocomplete: {
4828
4813
  tile: boolean;
4829
4814
  density: Density;
4830
4815
  slim: boolean;
4831
- valueComparator: typeof deepEqual;
4832
4816
  activatable: boolean;
4833
4817
  selectable: boolean;
4834
4818
  selectStrategy: SelectStrategyProp;
@@ -4852,6 +4836,7 @@ declare const VAutocomplete: {
4852
4836
  baseColor?: string | undefined;
4853
4837
  bgColor?: string | undefined;
4854
4838
  activeColor?: string | undefined;
4839
+ valueComparator?: typeof deepEqual | undefined;
4855
4840
  activeClass?: string | undefined;
4856
4841
  activeStrategy?: ActiveStrategyProp | undefined;
4857
4842
  collapseIcon?: IconValue | undefined;
@@ -4863,7 +4848,7 @@ declare const VAutocomplete: {
4863
4848
  value: boolean;
4864
4849
  path: unknown[];
4865
4850
  }) => any) | undefined;
4866
- }, "variant" | "nav" | "style" | "disabled" | "tag" | "lines" | "mandatory" | "rounded" | "tile" | "density" | "slim" | "valueComparator" | "activatable" | "selectable" | "selectStrategy" | "openStrategy" | "returnObject" | "itemType"> & {
4851
+ }, "variant" | "nav" | "style" | "disabled" | "tag" | "lines" | "mandatory" | "rounded" | "tile" | "density" | "slim" | "activatable" | "selectable" | "selectStrategy" | "openStrategy" | "returnObject" | "itemType"> & {
4867
4852
  items?: readonly any[] | undefined;
4868
4853
  itemTitle?: SelectItemKey<any>;
4869
4854
  itemValue?: SelectItemKey<any>;
@@ -5192,7 +5177,6 @@ declare const VAutocomplete: {
5192
5177
  rounded: string | number | boolean;
5193
5178
  tile: boolean;
5194
5179
  density: Density;
5195
- valueComparator: typeof deepEqual;
5196
5180
  clearIcon: IconValue;
5197
5181
  centerAffix: boolean;
5198
5182
  hideSpinButtons: boolean;
@@ -5424,10 +5408,7 @@ declare const VAutocomplete: {
5424
5408
  default: string;
5425
5409
  };
5426
5410
  returnObject: BooleanConstructor;
5427
- valueComparator: {
5428
- type: PropType<typeof deepEqual>;
5429
- default: typeof deepEqual;
5430
- };
5411
+ valueComparator: PropType<typeof deepEqual>;
5431
5412
  chips: BooleanConstructor;
5432
5413
  closableChips: BooleanConstructor;
5433
5414
  closeText: {
@@ -5625,10 +5606,7 @@ declare const VAutocomplete: {
5625
5606
  default: string;
5626
5607
  };
5627
5608
  returnObject: BooleanConstructor;
5628
- valueComparator: {
5629
- type: PropType<typeof deepEqual>;
5630
- default: typeof deepEqual;
5631
- };
5609
+ valueComparator: PropType<typeof deepEqual>;
5632
5610
  chips: BooleanConstructor;
5633
5611
  closableChips: BooleanConstructor;
5634
5612
  closeText: {
@@ -21,11 +21,10 @@ import { useForm } from "../../composables/form.mjs";
21
21
  import { forwardRefs } from "../../composables/forwardRefs.mjs";
22
22
  import { transformItem, useItems } from "../../composables/list-items.mjs";
23
23
  import { useLocale } from "../../composables/locale.mjs";
24
- import { useIsMousedown } from "../../composables/mousedown.mjs";
25
24
  import { useProxiedModel } from "../../composables/proxiedModel.mjs";
26
25
  import { makeTransitionProps } from "../../composables/transition.mjs"; // Utilities
27
26
  import { computed, mergeProps, nextTick, ref, shallowRef, watch } from 'vue';
28
- import { checkPrintable, ensureValidVNode, genericComponent, IN_BROWSER, isComposingIgnoreKey, noop, omit, propsFactory, useRender, wrapInArray } from "../../util/index.mjs"; // Types
27
+ import { checkPrintable, deepEqual, ensureValidVNode, genericComponent, IN_BROWSER, isComposingIgnoreKey, noop, omit, propsFactory, useRender, wrapInArray } from "../../util/index.mjs"; // Types
29
28
  function highlightResult(text, matches, length) {
30
29
  if (matches == null) return text;
31
30
  if (Array.isArray(matches)) throw new Error('Multiple matches is not implemented');
@@ -110,9 +109,6 @@ export const VCombobox = genericComponent()({
110
109
  return props.multiple ? transformed : transformed[0] ?? null;
111
110
  });
112
111
  const form = useForm(props);
113
- const {
114
- isMousedown
115
- } = useIsMousedown();
116
112
  const hasChips = computed(() => !!(props.chips || slots.chip));
117
113
  const hasSelectionSlot = computed(() => hasChips.value || !!slots.selection);
118
114
  const _search = shallowRef(!props.multiple && !hasSelectionSlot.value ? model.value[0]?.title ?? '' : '');
@@ -276,18 +272,12 @@ export const VCombobox = genericComponent()({
276
272
  vTextFieldRef.value?.focus();
277
273
  }
278
274
  }
279
- function onBlur(e) {
280
- if (!isMousedown.value) {
281
- menu.value = false;
282
- }
283
- }
284
-
285
275
  /** @param set - null means toggle */
286
276
  function select(item) {
287
277
  let set = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
288
278
  if (!item || item.props.disabled) return;
289
279
  if (props.multiple) {
290
- const index = model.value.findIndex(selection => props.valueComparator(selection.value, item.value));
280
+ const index = model.value.findIndex(selection => (props.valueComparator || deepEqual)(selection.value, item.value));
291
281
  const add = set == null ? !~index : set;
292
282
  if (~index) {
293
283
  const value = add ? [...model.value, item] : [...model.value];
@@ -326,6 +316,7 @@ export const VCombobox = genericComponent()({
326
316
  watch(isFocused, (val, oldVal) => {
327
317
  if (val || val === oldVal) return;
328
318
  selectionIndex.value = -1;
319
+ menu.value = false;
329
320
  if (search.value) {
330
321
  if (props.multiple) {
331
322
  select(transformItem(props, search.value));
@@ -346,7 +337,7 @@ export const VCombobox = genericComponent()({
346
337
  });
347
338
  watch(menu, () => {
348
339
  if (!props.hideSelected && menu.value && model.value.length) {
349
- const index = displayItems.value.findIndex(item => model.value.some(s => props.valueComparator(s.value, item.value)));
340
+ const index = displayItems.value.findIndex(item => model.value.some(s => (props.valueComparator || deepEqual)(s.value, item.value)));
350
341
  IN_BROWSER && window.requestAnimationFrame(() => {
351
342
  index >= 0 && vVirtualScrollRef.value?.scrollToIndex(index);
352
343
  });
@@ -383,7 +374,6 @@ export const VCombobox = genericComponent()({
383
374
  "readonly": form.isReadonly.value,
384
375
  "placeholder": isDirty ? undefined : props.placeholder,
385
376
  "onClick:clear": onClear,
386
- "onBlur": onBlur,
387
377
  "onMousedown:control": onMousedownControl,
388
378
  "onKeydown": onKeydown
389
379
  }), {