@vuetify/nightly 3.7.0-master.2024-08-26 → 3.7.1-dev.2024-08-28

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/vuetify.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Vuetify v3.7.0-master.2024-08-26
2
+ * Vuetify v3.7.1-dev.2024-08-28
3
3
  * Forged by John Leider
4
4
  * Released under the MIT License.
5
5
  */
@@ -95,6 +95,10 @@
95
95
  function isObject(obj) {
96
96
  return obj !== null && typeof obj === 'object' && !Array.isArray(obj);
97
97
  }
98
+ function isPlainObject(obj) {
99
+ let proto;
100
+ return obj !== null && typeof obj === 'object' && ((proto = Object.getPrototypeOf(obj)) === Object.prototype || proto === null);
101
+ }
98
102
  function refElement(obj) {
99
103
  if (obj && '$el' in obj) {
100
104
  const el = obj.$el;
@@ -284,12 +288,12 @@
284
288
  const targetProperty = target[key];
285
289
 
286
290
  // Only continue deep merging if
287
- // both properties are objects
288
- if (isObject(sourceProperty) && isObject(targetProperty)) {
291
+ // both properties are plain objects
292
+ if (isPlainObject(sourceProperty) && isPlainObject(targetProperty)) {
289
293
  out[key] = mergeDeep(sourceProperty, targetProperty, arrayFn);
290
294
  continue;
291
295
  }
292
- if (Array.isArray(sourceProperty) && Array.isArray(targetProperty) && arrayFn) {
296
+ if (arrayFn && Array.isArray(sourceProperty) && Array.isArray(targetProperty)) {
293
297
  out[key] = arrayFn(sourceProperty, targetProperty);
294
298
  continue;
295
299
  }
@@ -23407,7 +23411,6 @@
23407
23411
  type: String,
23408
23412
  required: true
23409
23413
  },
23410
- rootRef: null,
23411
23414
  rootMargin: String
23412
23415
  },
23413
23416
  emits: {
@@ -23420,14 +23423,15 @@
23420
23423
  const {
23421
23424
  intersectionRef,
23422
23425
  isIntersecting
23423
- } = useIntersectionObserver(entries => {}, props.rootMargin ? {
23424
- rootMargin: props.rootMargin
23425
- } : undefined);
23426
+ } = useIntersectionObserver();
23426
23427
  vue.watch(isIntersecting, async val => {
23427
23428
  emit('intersect', props.side, val);
23428
23429
  });
23429
23430
  useRender(() => vue.createVNode("div", {
23430
23431
  "class": "v-infinite-scroll-intersect",
23432
+ "style": {
23433
+ '--v-infinite-margin-size': props.rootMargin
23434
+ },
23431
23435
  "ref": intersectionRef
23432
23436
  }, [vue.createTextVNode("\xA0")]));
23433
23437
  return {};
@@ -23578,17 +23582,15 @@
23578
23582
  }, {
23579
23583
  default: () => [vue.createVNode("div", {
23580
23584
  "class": "v-infinite-scroll__side"
23581
- }, [renderSide('start', startStatus.value)]), rootEl.value && hasStartIntersect && intersectMode && vue.createVNode(VInfiniteScrollIntersect, {
23585
+ }, [renderSide('start', startStatus.value)]), hasStartIntersect && intersectMode && vue.createVNode(VInfiniteScrollIntersect, {
23582
23586
  "key": "start",
23583
23587
  "side": "start",
23584
23588
  "onIntersect": handleIntersect,
23585
- "rootRef": rootEl.value,
23586
23589
  "rootMargin": margin.value
23587
- }, null), slots.default?.(), rootEl.value && hasEndIntersect && intersectMode && vue.createVNode(VInfiniteScrollIntersect, {
23590
+ }, null), slots.default?.(), hasEndIntersect && intersectMode && vue.createVNode(VInfiniteScrollIntersect, {
23588
23591
  "key": "end",
23589
23592
  "side": "end",
23590
23593
  "onIntersect": handleIntersect,
23591
- "rootRef": rootEl.value,
23592
23594
  "rootMargin": margin.value
23593
23595
  }, null), vue.createVNode("div", {
23594
23596
  "class": "v-infinite-scroll__side"
@@ -28216,7 +28218,7 @@
28216
28218
  goTo
28217
28219
  };
28218
28220
  }
28219
- const version$1 = "3.7.0-master.2024-08-26";
28221
+ const version$1 = "3.7.1-dev.2024-08-28";
28220
28222
  createVuetify$1.version = version$1;
28221
28223
 
28222
28224
  // Vue's inject() can only be used in setup
@@ -28241,7 +28243,7 @@
28241
28243
  ...options
28242
28244
  });
28243
28245
  };
28244
- const version = "3.7.0-master.2024-08-26";
28246
+ const version = "3.7.1-dev.2024-08-28";
28245
28247
  createVuetify.version = version;
28246
28248
 
28247
28249
  exports.blueprints = index;