@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.
@@ -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
  */
@@ -166,6 +166,10 @@
166
166
  function isObject(obj) {
167
167
  return obj !== null && typeof obj === 'object' && !Array.isArray(obj);
168
168
  }
169
+ function isPlainObject(obj) {
170
+ let proto;
171
+ return obj !== null && typeof obj === 'object' && ((proto = Object.getPrototypeOf(obj)) === Object.prototype || proto === null);
172
+ }
169
173
  function refElement(obj) {
170
174
  if (obj && '$el' in obj) {
171
175
  const el = obj.$el;
@@ -361,12 +365,12 @@
361
365
  const targetProperty = target[key];
362
366
 
363
367
  // Only continue deep merging if
364
- // both properties are objects
365
- if (isObject(sourceProperty) && isObject(targetProperty)) {
368
+ // both properties are plain objects
369
+ if (isPlainObject(sourceProperty) && isPlainObject(targetProperty)) {
366
370
  out[key] = mergeDeep(sourceProperty, targetProperty, arrayFn);
367
371
  continue;
368
372
  }
369
- if (Array.isArray(sourceProperty) && Array.isArray(targetProperty) && arrayFn) {
373
+ if (arrayFn && Array.isArray(sourceProperty) && Array.isArray(targetProperty)) {
370
374
  out[key] = arrayFn(sourceProperty, targetProperty);
371
375
  continue;
372
376
  }
@@ -23174,7 +23178,6 @@
23174
23178
  type: String,
23175
23179
  required: true
23176
23180
  },
23177
- rootRef: null,
23178
23181
  rootMargin: String
23179
23182
  },
23180
23183
  emits: {
@@ -23187,14 +23190,15 @@
23187
23190
  const {
23188
23191
  intersectionRef,
23189
23192
  isIntersecting
23190
- } = useIntersectionObserver(entries => {}, props.rootMargin ? {
23191
- rootMargin: props.rootMargin
23192
- } : undefined);
23193
+ } = useIntersectionObserver();
23193
23194
  vue.watch(isIntersecting, async val => {
23194
23195
  emit('intersect', props.side, val);
23195
23196
  });
23196
23197
  useRender(() => vue.createVNode("div", {
23197
23198
  "class": "v-infinite-scroll-intersect",
23199
+ "style": {
23200
+ '--v-infinite-margin-size': props.rootMargin
23201
+ },
23198
23202
  "ref": intersectionRef
23199
23203
  }, [vue.createTextVNode("\xA0")]));
23200
23204
  return {};
@@ -23345,17 +23349,15 @@
23345
23349
  }, {
23346
23350
  default: () => [vue.createVNode("div", {
23347
23351
  "class": "v-infinite-scroll__side"
23348
- }, [renderSide('start', startStatus.value)]), rootEl.value && hasStartIntersect && intersectMode && vue.createVNode(VInfiniteScrollIntersect, {
23352
+ }, [renderSide('start', startStatus.value)]), hasStartIntersect && intersectMode && vue.createVNode(VInfiniteScrollIntersect, {
23349
23353
  "key": "start",
23350
23354
  "side": "start",
23351
23355
  "onIntersect": handleIntersect,
23352
- "rootRef": rootEl.value,
23353
23356
  "rootMargin": margin.value
23354
- }, null), slots.default?.(), rootEl.value && hasEndIntersect && intersectMode && vue.createVNode(VInfiniteScrollIntersect, {
23357
+ }, null), slots.default?.(), hasEndIntersect && intersectMode && vue.createVNode(VInfiniteScrollIntersect, {
23355
23358
  "key": "end",
23356
23359
  "side": "end",
23357
23360
  "onIntersect": handleIntersect,
23358
- "rootRef": rootEl.value,
23359
23361
  "rootMargin": margin.value
23360
23362
  }, null), vue.createVNode("div", {
23361
23363
  "class": "v-infinite-scroll__side"
@@ -30392,7 +30394,7 @@
30392
30394
  goTo
30393
30395
  };
30394
30396
  }
30395
- const version$1 = "3.7.0-master.2024-08-26";
30397
+ const version$1 = "3.7.1-dev.2024-08-28";
30396
30398
  createVuetify$1.version = version$1;
30397
30399
 
30398
30400
  // Vue's inject() can only be used in setup
@@ -30645,7 +30647,7 @@
30645
30647
 
30646
30648
  /* eslint-disable local-rules/sort-imports */
30647
30649
 
30648
- const version = "3.7.0-master.2024-08-26";
30650
+ const version = "3.7.1-dev.2024-08-28";
30649
30651
 
30650
30652
  /* eslint-disable local-rules/sort-imports */
30651
30653