vuetify 3.3.7 → 3.3.8

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.
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Vuetify v3.3.7
2
+ * Vuetify v3.3.8
3
3
  * Forged by John Leider
4
4
  * Released under the MIT License.
5
5
  */
@@ -2165,7 +2165,7 @@
2165
2165
 
2166
2166
  // Composables
2167
2167
  function createTheme(options) {
2168
- const parsedOptions = vue.reactive(parseThemeOptions(options));
2168
+ const parsedOptions = parseThemeOptions(options);
2169
2169
  const name = vue.ref(parsedOptions.defaultTheme);
2170
2170
  const themes = vue.ref(parsedOptions.themes);
2171
2171
  const computedThemes = vue.computed(() => {
@@ -9619,11 +9619,11 @@
9619
9619
  props: vue.mergeProps({
9620
9620
  ref: activatorRef
9621
9621
  }, activatorEvents.value, props.activatorProps)
9622
- }), isMounted.value && vue.createVNode(vue.Teleport, {
9622
+ }), isMounted.value && hasContent.value && vue.createVNode(vue.Teleport, {
9623
9623
  "disabled": !teleportTarget.value,
9624
9624
  "to": teleportTarget.value
9625
9625
  }, {
9626
- default: () => [hasContent.value && vue.createVNode("div", vue.mergeProps({
9626
+ default: () => [vue.createVNode("div", vue.mergeProps({
9627
9627
  "class": ['v-overlay', {
9628
9628
  'v-overlay--absolute': props.absolute || props.contained,
9629
9629
  'v-overlay--active': isActive.value,
@@ -11108,7 +11108,8 @@
11108
11108
  const filteredMatches = vue.ref(new Map());
11109
11109
  const transformedItems = vue.computed(() => options?.transform ? vue.unref(items).map(options?.transform) : vue.unref(items));
11110
11110
  vue.watchEffect(() => {
11111
- const strQuery = typeof vue.toValue(query) !== 'string' && typeof vue.toValue(query) !== 'number' ? '' : String(vue.toValue(query));
11111
+ const _query = typeof query === 'function' ? query() : vue.unref(query);
11112
+ const strQuery = typeof _query !== 'string' && typeof _query !== 'number' ? '' : String(_query);
11112
11113
  const results = filterItems(transformedItems.value, strQuery, {
11113
11114
  customKeyFilter: props.customKeyFilter,
11114
11115
  default: props.customFilter,
@@ -12681,64 +12682,65 @@
12681
12682
  window.clearTimeout(slideTimeout);
12682
12683
  window.requestAnimationFrame(startTimeout);
12683
12684
  }
12684
- useRender(() => vue.createVNode(VWindow, {
12685
- "ref": windowRef,
12686
- "modelValue": model.value,
12687
- "onUpdate:modelValue": $event => model.value = $event,
12688
- "class": ['v-carousel', {
12689
- 'v-carousel--hide-delimiter-background': props.hideDelimiterBackground,
12690
- 'v-carousel--vertical-delimiters': props.verticalDelimiters
12691
- }, props.class],
12692
- "style": [{
12693
- height: convertToUnit(props.height)
12694
- }, props.style],
12695
- "continuous": true,
12696
- "mandatory": "force",
12697
- "showArrows": props.showArrows
12698
- }, {
12699
- default: slots.default,
12700
- additional: _ref2 => {
12701
- let {
12702
- group
12703
- } = _ref2;
12704
- return vue.createVNode(vue.Fragment, null, [!props.hideDelimiters && vue.createVNode("div", {
12705
- "class": "v-carousel__controls",
12706
- "style": {
12707
- left: props.verticalDelimiters === 'left' && props.verticalDelimiters ? 0 : 'auto',
12708
- right: props.verticalDelimiters === 'right' ? 0 : 'auto'
12709
- }
12710
- }, [group.items.value.length > 0 && vue.createVNode(VDefaultsProvider, {
12711
- "defaults": {
12712
- VBtn: {
12713
- color: props.color,
12714
- icon: props.delimiterIcon,
12715
- size: 'x-small',
12716
- variant: 'text'
12685
+ useRender(() => {
12686
+ const [windowProps] = VWindow.filterProps(props);
12687
+ return vue.createVNode(VWindow, vue.mergeProps({
12688
+ "ref": windowRef
12689
+ }, windowProps, {
12690
+ "modelValue": model.value,
12691
+ "onUpdate:modelValue": $event => model.value = $event,
12692
+ "class": ['v-carousel', {
12693
+ 'v-carousel--hide-delimiter-background': props.hideDelimiterBackground,
12694
+ 'v-carousel--vertical-delimiters': props.verticalDelimiters
12695
+ }, props.class],
12696
+ "style": [{
12697
+ height: convertToUnit(props.height)
12698
+ }, props.style]
12699
+ }), {
12700
+ default: slots.default,
12701
+ additional: _ref2 => {
12702
+ let {
12703
+ group
12704
+ } = _ref2;
12705
+ return vue.createVNode(vue.Fragment, null, [!props.hideDelimiters && vue.createVNode("div", {
12706
+ "class": "v-carousel__controls",
12707
+ "style": {
12708
+ left: props.verticalDelimiters === 'left' && props.verticalDelimiters ? 0 : 'auto',
12709
+ right: props.verticalDelimiters === 'right' ? 0 : 'auto'
12717
12710
  }
12718
- },
12719
- "scoped": true
12720
- }, {
12721
- default: () => [group.items.value.map((item, index) => {
12722
- const props = {
12723
- id: `carousel-item-${item.id}`,
12724
- 'aria-label': t('$vuetify.carousel.ariaLabel.delimiter', index + 1, group.items.value.length),
12725
- class: [group.isSelected(item.id) && 'v-btn--active'],
12726
- onClick: () => group.select(item.id, true)
12727
- };
12728
- return slots.item ? slots.item({
12729
- props,
12730
- item
12731
- }) : vue.createVNode(VBtn, vue.mergeProps(item, props), null);
12732
- })]
12733
- })]), props.progress && vue.createVNode(VProgressLinear, {
12734
- "class": "v-carousel__progress",
12735
- "color": typeof props.progress === 'string' ? props.progress : undefined,
12736
- "modelValue": (group.getItemIndex(model.value) + 1) / group.items.value.length * 100
12737
- }, null)]);
12738
- },
12739
- prev: slots.prev,
12740
- next: slots.next
12741
- }));
12711
+ }, [group.items.value.length > 0 && vue.createVNode(VDefaultsProvider, {
12712
+ "defaults": {
12713
+ VBtn: {
12714
+ color: props.color,
12715
+ icon: props.delimiterIcon,
12716
+ size: 'x-small',
12717
+ variant: 'text'
12718
+ }
12719
+ },
12720
+ "scoped": true
12721
+ }, {
12722
+ default: () => [group.items.value.map((item, index) => {
12723
+ const props = {
12724
+ id: `carousel-item-${item.id}`,
12725
+ 'aria-label': t('$vuetify.carousel.ariaLabel.delimiter', index + 1, group.items.value.length),
12726
+ class: [group.isSelected(item.id) && 'v-btn--active'],
12727
+ onClick: () => group.select(item.id, true)
12728
+ };
12729
+ return slots.item ? slots.item({
12730
+ props,
12731
+ item
12732
+ }) : vue.createVNode(VBtn, vue.mergeProps(item, props), null);
12733
+ })]
12734
+ })]), props.progress && vue.createVNode(VProgressLinear, {
12735
+ "class": "v-carousel__progress",
12736
+ "color": typeof props.progress === 'string' ? props.progress : undefined,
12737
+ "modelValue": (group.getItemIndex(model.value) + 1) / group.items.value.length * 100
12738
+ }, null)]);
12739
+ },
12740
+ prev: slots.prev,
12741
+ next: slots.next
12742
+ });
12743
+ });
12742
12744
  return {};
12743
12745
  }
12744
12746
  });
@@ -23600,7 +23602,7 @@
23600
23602
  date
23601
23603
  };
23602
23604
  }
23603
- const version$1 = "3.3.7";
23605
+ const version$1 = "3.3.8";
23604
23606
  createVuetify$1.version = version$1;
23605
23607
 
23606
23608
  // Vue's inject() can only be used in setup
@@ -23614,7 +23616,7 @@
23614
23616
 
23615
23617
  /* eslint-disable local-rules/sort-imports */
23616
23618
 
23617
- const version = "3.3.7";
23619
+ const version = "3.3.8";
23618
23620
 
23619
23621
  /* eslint-disable local-rules/sort-imports */
23620
23622