@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/json/attributes.json +98 -98
- package/dist/json/importMap-labs.json +40 -40
- package/dist/json/importMap.json +136 -136
- package/dist/json/web-types.json +198 -198
- package/dist/vuetify-labs.css +2136 -2124
- package/dist/vuetify-labs.esm.js +16 -14
- package/dist/vuetify-labs.esm.js.map +1 -1
- package/dist/vuetify-labs.js +16 -14
- package/dist/vuetify-labs.min.css +2 -2
- package/dist/vuetify.css +1096 -1084
- package/dist/vuetify.d.ts +58 -58
- package/dist/vuetify.esm.js +16 -14
- package/dist/vuetify.esm.js.map +1 -1
- package/dist/vuetify.js +16 -14
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +2 -2
- package/dist/vuetify.min.js +1058 -1057
- package/dist/vuetify.min.js.map +1 -1
- package/lib/components/VAvatar/VAvatar.css +1 -1
- package/lib/components/VAvatar/_variables.scss +1 -1
- package/lib/components/VInfiniteScroll/VInfiniteScroll.css +13 -1
- package/lib/components/VInfiniteScroll/VInfiniteScroll.mjs +6 -8
- package/lib/components/VInfiniteScroll/VInfiniteScroll.mjs.map +1 -1
- package/lib/components/VInfiniteScroll/VInfiniteScroll.sass +10 -1
- package/lib/entry-bundler.mjs +1 -1
- package/lib/entry-bundler.mjs.map +1 -1
- package/lib/framework.mjs +1 -1
- package/lib/framework.mjs.map +1 -1
- package/lib/index.d.mts +58 -58
- package/lib/util/helpers.mjs +7 -3
- package/lib/util/helpers.mjs.map +1 -1
- package/package.json +1 -1
package/dist/vuetify-labs.esm.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
/*!
|
2
|
-
* Vuetify v3.7.
|
2
|
+
* Vuetify v3.7.1-dev.2024-08-28
|
3
3
|
* Forged by John Leider
|
4
4
|
* Released under the MIT License.
|
5
5
|
*/
|
@@ -162,6 +162,10 @@ function convertToUnit(str) {
|
|
162
162
|
function isObject(obj) {
|
163
163
|
return obj !== null && typeof obj === 'object' && !Array.isArray(obj);
|
164
164
|
}
|
165
|
+
function isPlainObject(obj) {
|
166
|
+
let proto;
|
167
|
+
return obj !== null && typeof obj === 'object' && ((proto = Object.getPrototypeOf(obj)) === Object.prototype || proto === null);
|
168
|
+
}
|
165
169
|
function refElement(obj) {
|
166
170
|
if (obj && '$el' in obj) {
|
167
171
|
const el = obj.$el;
|
@@ -357,12 +361,12 @@ function mergeDeep() {
|
|
357
361
|
const targetProperty = target[key];
|
358
362
|
|
359
363
|
// Only continue deep merging if
|
360
|
-
// both properties are objects
|
361
|
-
if (
|
364
|
+
// both properties are plain objects
|
365
|
+
if (isPlainObject(sourceProperty) && isPlainObject(targetProperty)) {
|
362
366
|
out[key] = mergeDeep(sourceProperty, targetProperty, arrayFn);
|
363
367
|
continue;
|
364
368
|
}
|
365
|
-
if (Array.isArray(sourceProperty) && Array.isArray(targetProperty)
|
369
|
+
if (arrayFn && Array.isArray(sourceProperty) && Array.isArray(targetProperty)) {
|
366
370
|
out[key] = arrayFn(sourceProperty, targetProperty);
|
367
371
|
continue;
|
368
372
|
}
|
@@ -23170,7 +23174,6 @@ const VInfiniteScrollIntersect = defineComponent({
|
|
23170
23174
|
type: String,
|
23171
23175
|
required: true
|
23172
23176
|
},
|
23173
|
-
rootRef: null,
|
23174
23177
|
rootMargin: String
|
23175
23178
|
},
|
23176
23179
|
emits: {
|
@@ -23183,14 +23186,15 @@ const VInfiniteScrollIntersect = defineComponent({
|
|
23183
23186
|
const {
|
23184
23187
|
intersectionRef,
|
23185
23188
|
isIntersecting
|
23186
|
-
} = useIntersectionObserver(
|
23187
|
-
rootMargin: props.rootMargin
|
23188
|
-
} : undefined);
|
23189
|
+
} = useIntersectionObserver();
|
23189
23190
|
watch(isIntersecting, async val => {
|
23190
23191
|
emit('intersect', props.side, val);
|
23191
23192
|
});
|
23192
23193
|
useRender(() => createVNode("div", {
|
23193
23194
|
"class": "v-infinite-scroll-intersect",
|
23195
|
+
"style": {
|
23196
|
+
'--v-infinite-margin-size': props.rootMargin
|
23197
|
+
},
|
23194
23198
|
"ref": intersectionRef
|
23195
23199
|
}, [createTextVNode("\xA0")]));
|
23196
23200
|
return {};
|
@@ -23341,17 +23345,15 @@ const VInfiniteScroll = genericComponent()({
|
|
23341
23345
|
}, {
|
23342
23346
|
default: () => [createVNode("div", {
|
23343
23347
|
"class": "v-infinite-scroll__side"
|
23344
|
-
}, [renderSide('start', startStatus.value)]),
|
23348
|
+
}, [renderSide('start', startStatus.value)]), hasStartIntersect && intersectMode && createVNode(VInfiniteScrollIntersect, {
|
23345
23349
|
"key": "start",
|
23346
23350
|
"side": "start",
|
23347
23351
|
"onIntersect": handleIntersect,
|
23348
|
-
"rootRef": rootEl.value,
|
23349
23352
|
"rootMargin": margin.value
|
23350
|
-
}, null), slots.default?.(),
|
23353
|
+
}, null), slots.default?.(), hasEndIntersect && intersectMode && createVNode(VInfiniteScrollIntersect, {
|
23351
23354
|
"key": "end",
|
23352
23355
|
"side": "end",
|
23353
23356
|
"onIntersect": handleIntersect,
|
23354
|
-
"rootRef": rootEl.value,
|
23355
23357
|
"rootMargin": margin.value
|
23356
23358
|
}, null), createVNode("div", {
|
23357
23359
|
"class": "v-infinite-scroll__side"
|
@@ -30388,7 +30390,7 @@ function createVuetify$1() {
|
|
30388
30390
|
goTo
|
30389
30391
|
};
|
30390
30392
|
}
|
30391
|
-
const version$1 = "3.7.
|
30393
|
+
const version$1 = "3.7.1-dev.2024-08-28";
|
30392
30394
|
createVuetify$1.version = version$1;
|
30393
30395
|
|
30394
30396
|
// Vue's inject() can only be used in setup
|
@@ -30641,7 +30643,7 @@ var index = /*#__PURE__*/Object.freeze({
|
|
30641
30643
|
|
30642
30644
|
/* eslint-disable local-rules/sort-imports */
|
30643
30645
|
|
30644
|
-
const version = "3.7.
|
30646
|
+
const version = "3.7.1-dev.2024-08-28";
|
30645
30647
|
|
30646
30648
|
/* eslint-disable local-rules/sort-imports */
|
30647
30649
|
|