vuetify 3.4.4 → 3.4.5

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 (47) hide show
  1. package/dist/json/attributes.json +1702 -1702
  2. package/dist/json/importMap.json +142 -142
  3. package/dist/json/web-types.json +3321 -3321
  4. package/dist/vuetify-labs.css +2306 -2295
  5. package/dist/vuetify-labs.esm.js +21 -16
  6. package/dist/vuetify-labs.esm.js.map +1 -1
  7. package/dist/vuetify-labs.js +21 -16
  8. package/dist/vuetify-labs.min.css +2 -2
  9. package/dist/vuetify.css +1163 -1152
  10. package/dist/vuetify.d.ts +43 -43
  11. package/dist/vuetify.esm.js +21 -16
  12. package/dist/vuetify.esm.js.map +1 -1
  13. package/dist/vuetify.js +21 -16
  14. package/dist/vuetify.js.map +1 -1
  15. package/dist/vuetify.min.css +2 -2
  16. package/dist/vuetify.min.js +14 -14
  17. package/dist/vuetify.min.js.map +1 -1
  18. package/lib/components/VAutocomplete/VAutocomplete.mjs +1 -1
  19. package/lib/components/VAutocomplete/VAutocomplete.mjs.map +1 -1
  20. package/lib/components/VDataTable/VDataTable.css +4 -0
  21. package/lib/components/VDataTable/VDataTable.sass +3 -0
  22. package/lib/components/VDataTable/VDataTableHeaders.mjs +1 -0
  23. package/lib/components/VDataTable/VDataTableHeaders.mjs.map +1 -1
  24. package/lib/components/VDataTable/VDataTableRows.mjs +1 -1
  25. package/lib/components/VDataTable/VDataTableRows.mjs.map +1 -1
  26. package/lib/components/VDatePicker/VDatePicker.mjs +6 -1
  27. package/lib/components/VDatePicker/VDatePicker.mjs.map +1 -1
  28. package/lib/components/VDatePicker/VDatePickerHeader.css +3 -6
  29. package/lib/components/VDatePicker/VDatePickerHeader.sass +2 -6
  30. package/lib/components/VExpansionPanel/VExpansionPanel.mjs +3 -0
  31. package/lib/components/VExpansionPanel/VExpansionPanel.mjs.map +1 -1
  32. package/lib/components/VExpansionPanel/VExpansionPanels.mjs +1 -3
  33. package/lib/components/VExpansionPanel/VExpansionPanels.mjs.map +1 -1
  34. package/lib/components/VField/VField.css +7 -0
  35. package/lib/components/VField/VField.sass +5 -0
  36. package/lib/components/VFileInput/VFileInput.css +3 -0
  37. package/lib/components/VFileInput/VFileInput.sass +3 -0
  38. package/lib/components/VOverlay/locationStrategies.mjs +4 -7
  39. package/lib/components/VOverlay/locationStrategies.mjs.map +1 -1
  40. package/lib/composables/loader.mjs +1 -0
  41. package/lib/composables/loader.mjs.map +1 -1
  42. package/lib/entry-bundler.mjs +1 -1
  43. package/lib/framework.mjs +1 -1
  44. package/lib/index.d.mts +43 -43
  45. package/lib/locale/ru.mjs +23 -23
  46. package/lib/locale/ru.mjs.map +1 -1
  47. package/package.json +2 -2
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Vuetify v3.4.4
2
+ * Vuetify v3.4.5
3
3
  * Forged by John Leider
4
4
  * Released under the MIT License.
5
5
  */
@@ -4967,6 +4967,7 @@ function LoaderSlot(props, _ref) {
4967
4967
  color: props.color,
4968
4968
  isActive: props.active
4969
4969
  }) || createVNode(VProgressLinear, {
4970
+ "absolute": props.absolute,
4970
4971
  "active": props.active,
4971
4972
  "color": props.color,
4972
4973
  "height": "2",
@@ -8558,21 +8559,18 @@ function useLocationStrategies(props, data) {
8558
8559
  useToggleScope(() => !!(data.isActive.value && props.locationStrategy), reset => {
8559
8560
  watch(() => props.locationStrategy, reset);
8560
8561
  onScopeDispose(() => {
8562
+ window.removeEventListener('resize', onResize);
8561
8563
  updateLocation.value = undefined;
8562
8564
  });
8565
+ window.addEventListener('resize', onResize, {
8566
+ passive: true
8567
+ });
8563
8568
  if (typeof props.locationStrategy === 'function') {
8564
8569
  updateLocation.value = props.locationStrategy(data, props, contentStyles)?.updateLocation;
8565
8570
  } else {
8566
8571
  updateLocation.value = locationStrategies[props.locationStrategy](data, props, contentStyles)?.updateLocation;
8567
8572
  }
8568
8573
  });
8569
- window.addEventListener('resize', onResize, {
8570
- passive: true
8571
- });
8572
- onScopeDispose(() => {
8573
- window.removeEventListener('resize', onResize);
8574
- updateLocation.value = undefined;
8575
- });
8576
8574
  }
8577
8575
  function onResize(e) {
8578
8576
  updateLocation.value?.(e);
@@ -11930,7 +11928,7 @@ const VAutocomplete = genericComponent()({
11930
11928
  isPristine.value = true;
11931
11929
  nextTick(() => isSelecting.value = false);
11932
11930
  } else {
11933
- if (!props.multiple && !search.value) model.value = [];else if (highlightFirst.value && !listHasFocus.value && !model.value.some(_ref2 => {
11931
+ if (!props.multiple && search.value == null) model.value = [];else if (highlightFirst.value && !listHasFocus.value && !model.value.some(_ref2 => {
11934
11932
  let {
11935
11933
  value
11936
11934
  } = _ref2;
@@ -18185,6 +18183,7 @@ const VDataTableHeaders = genericComponent()({
18185
18183
  "colspan": columns.value.length
18186
18184
  }, [createVNode(LoaderSlot, {
18187
18185
  "name": "v-data-table-progress",
18186
+ "absolute": true,
18188
18187
  "active": true,
18189
18188
  "color": typeof props.loading === 'boolean' ? undefined : props.loading,
18190
18189
  "indeterminate": true
@@ -18417,7 +18416,7 @@ const VDataTableRows = genericComponent()({
18417
18416
  t
18418
18417
  } = useLocale();
18419
18418
  useRender(() => {
18420
- if (props.loading) {
18419
+ if (props.loading && (!props.items.length || slots.loading)) {
18421
18420
  return createVNode("tr", {
18422
18421
  "class": "v-data-table-rows-loading",
18423
18422
  "key": "loading"
@@ -20122,6 +20121,9 @@ const VDatePicker = genericComponent()({
20122
20121
  month.value = 11;
20123
20122
  }
20124
20123
  }
20124
+ function onClickDate() {
20125
+ viewMode.value = 'month';
20126
+ }
20125
20127
  function onClickMonth() {
20126
20128
  viewMode.value = viewMode.value === 'months' ? 'month' : 'months';
20127
20129
  }
@@ -20171,7 +20173,9 @@ const VDatePicker = genericComponent()({
20171
20173
  default: () => [slots.header?.(headerProps)]
20172
20174
  }) : createVNode(VDatePickerHeader, mergeProps({
20173
20175
  "key": "header"
20174
- }, datePickerHeaderProps, headerProps), slots),
20176
+ }, datePickerHeaderProps, headerProps, {
20177
+ "onClick": viewMode.value !== 'month' ? onClickDate : undefined
20178
+ }), slots),
20175
20179
  default: () => createVNode(Fragment, null, [createVNode(VDatePickerControls, mergeProps(datePickerControlsProps, {
20176
20180
  "disabled": disabled.value,
20177
20181
  "text": text.value,
@@ -20251,9 +20255,7 @@ const VExpansionPanels = genericComponent()({
20251
20255
  const variantClass = computed(() => props.variant && `v-expansion-panels--variant-${props.variant}`);
20252
20256
  provideDefaults({
20253
20257
  VExpansionPanel: {
20254
- color: toRef(props, 'color')
20255
- },
20256
- VExpansionPanelTitle: {
20258
+ color: toRef(props, 'color'),
20257
20259
  readonly: toRef(props, 'readonly'),
20258
20260
  static: toRef(props, 'static')
20259
20261
  }
@@ -20413,6 +20415,9 @@ const VExpansionPanel = genericComponent()({
20413
20415
  provideDefaults({
20414
20416
  VExpansionPanelText: {
20415
20417
  eager: toRef(props, 'eager')
20418
+ },
20419
+ VExpansionPanelTitle: {
20420
+ readonly: toRef(props, 'readonly')
20416
20421
  }
20417
20422
  });
20418
20423
  useRender(() => {
@@ -25259,7 +25264,7 @@ function createVuetify$1() {
25259
25264
  date
25260
25265
  };
25261
25266
  }
25262
- const version$1 = "3.4.4";
25267
+ const version$1 = "3.4.5";
25263
25268
  createVuetify$1.version = version$1;
25264
25269
 
25265
25270
  // Vue's inject() can only be used in setup
@@ -25273,7 +25278,7 @@ function inject(key) {
25273
25278
 
25274
25279
  /* eslint-disable local-rules/sort-imports */
25275
25280
 
25276
- const version = "3.4.4";
25281
+ const version = "3.4.5";
25277
25282
 
25278
25283
  /* eslint-disable local-rules/sort-imports */
25279
25284