@vuetify/nightly 3.1.1 → 3.1.2-dev-20230112.0
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/CHANGELOG.md +4 -10
- package/dist/json/importMap.json +54 -54
- package/dist/vuetify-labs.css +452 -447
- package/dist/vuetify-labs.esm.js +14 -16
- package/dist/vuetify-labs.esm.js.map +1 -1
- package/dist/vuetify-labs.js +14 -16
- package/dist/vuetify-labs.min.css +2 -2
- package/dist/vuetify.css +6 -1
- package/dist/vuetify.d.ts +14 -14
- package/dist/vuetify.esm.js +3 -3
- package/dist/vuetify.esm.js.map +1 -1
- package/dist/vuetify.js +3 -3
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +2 -2
- package/dist/vuetify.min.js +3 -3
- package/lib/components/VGrid/VGrid.css +5 -0
- package/lib/components/VGrid/VGrid.sass +5 -0
- 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.ts +14 -14
- package/lib/labs/VDataTable/VDataTable.mjs +4 -4
- package/lib/labs/VDataTable/VDataTable.mjs.map +1 -1
- package/lib/labs/VDataTable/VDataTableServer.mjs +4 -4
- package/lib/labs/VDataTable/VDataTableServer.mjs.map +1 -1
- package/lib/labs/VDataTable/composables/sort.mjs +3 -5
- package/lib/labs/VDataTable/composables/sort.mjs.map +1 -1
- package/package.json +1 -1
package/dist/vuetify-labs.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Vuetify v3.1.
|
|
2
|
+
* Vuetify v3.1.2-dev-20230112.0
|
|
3
3
|
* Forged by John Leider
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -18266,10 +18266,9 @@
|
|
|
18266
18266
|
function createSort(props) {
|
|
18267
18267
|
const sortBy = useProxiedModel(props, 'sortBy');
|
|
18268
18268
|
const toggleSort = key => {
|
|
18269
|
-
|
|
18270
|
-
let newSortBy = ((_sortBy$value = sortBy.value) == null ? void 0 : _sortBy$value.map(x => ({
|
|
18269
|
+
let newSortBy = sortBy.value.map(x => ({
|
|
18271
18270
|
...x
|
|
18272
|
-
}))
|
|
18271
|
+
})) ?? [];
|
|
18273
18272
|
const item = newSortBy.find(x => x.key === key);
|
|
18274
18273
|
if (!item) {
|
|
18275
18274
|
if (props.multiSort) newSortBy = [...newSortBy, {
|
|
@@ -18311,8 +18310,7 @@
|
|
|
18311
18310
|
}, {});
|
|
18312
18311
|
});
|
|
18313
18312
|
const sortedItems = vue.computed(() => {
|
|
18314
|
-
|
|
18315
|
-
if (!((_sortBy$value2 = sortBy.value) != null && _sortBy$value2.length)) return items.value;
|
|
18313
|
+
if (!sortBy.value.length) return items.value;
|
|
18316
18314
|
return sortItems(items.value, sortBy.value, 'en', customSorters.value);
|
|
18317
18315
|
});
|
|
18318
18316
|
return {
|
|
@@ -19238,7 +19236,7 @@
|
|
|
19238
19236
|
"height": props.height
|
|
19239
19237
|
}, {
|
|
19240
19238
|
top: slots.top,
|
|
19241
|
-
default: slots.default
|
|
19239
|
+
default: slots.default ?? (() => {
|
|
19242
19240
|
var _slots$colgroup, _slots$thead, _slots$tbody, _slots$tfoot;
|
|
19243
19241
|
return vue.createVNode(vue.Fragment, null, [(_slots$colgroup = slots.colgroup) == null ? void 0 : _slots$colgroup.call(slots, {
|
|
19244
19242
|
columns
|
|
@@ -19249,10 +19247,10 @@
|
|
|
19249
19247
|
"items": paginatedItems.value,
|
|
19250
19248
|
"onClick:row": (event, value) => emit('click:row', event, value)
|
|
19251
19249
|
}, slots)]), (_slots$tbody = slots.tbody) == null ? void 0 : _slots$tbody.call(slots), (_slots$tfoot = slots.tfoot) == null ? void 0 : _slots$tfoot.call(slots)]);
|
|
19252
|
-
},
|
|
19253
|
-
bottom: slots.bottom
|
|
19250
|
+
}),
|
|
19251
|
+
bottom: slots.bottom ?? (() => vue.createVNode(VDataTableFooter, null, {
|
|
19254
19252
|
prepend: slots['footer.prepend']
|
|
19255
|
-
})
|
|
19253
|
+
}))
|
|
19256
19254
|
}));
|
|
19257
19255
|
return {};
|
|
19258
19256
|
}
|
|
@@ -19558,7 +19556,7 @@
|
|
|
19558
19556
|
"height": props.height
|
|
19559
19557
|
}, {
|
|
19560
19558
|
top: slots.top,
|
|
19561
|
-
default: slots.default
|
|
19559
|
+
default: slots.default ?? (() => {
|
|
19562
19560
|
var _slots$thead, _slots$tbody, _slots$tfoot;
|
|
19563
19561
|
return vue.createVNode(vue.Fragment, null, [vue.createVNode("thead", {
|
|
19564
19562
|
"class": "v-data-table__thead",
|
|
@@ -19574,10 +19572,10 @@
|
|
|
19574
19572
|
"items": items.value,
|
|
19575
19573
|
"onClick:row": (event, value) => emit('click:row', event, value)
|
|
19576
19574
|
}, slots)]), (_slots$tbody = slots.tbody) == null ? void 0 : _slots$tbody.call(slots), (_slots$tfoot = slots.tfoot) == null ? void 0 : _slots$tfoot.call(slots)]);
|
|
19577
|
-
},
|
|
19578
|
-
bottom: slots.bottom
|
|
19575
|
+
}),
|
|
19576
|
+
bottom: slots.bottom ?? (() => vue.createVNode(VDataTableFooter, null, {
|
|
19579
19577
|
prepend: slots['footer.prepend']
|
|
19580
|
-
})
|
|
19578
|
+
}))
|
|
19581
19579
|
}));
|
|
19582
19580
|
}
|
|
19583
19581
|
});
|
|
@@ -20077,7 +20075,7 @@
|
|
|
20077
20075
|
locale
|
|
20078
20076
|
};
|
|
20079
20077
|
}
|
|
20080
|
-
const version$1 = "3.1.
|
|
20078
|
+
const version$1 = "3.1.2-dev-20230112.0";
|
|
20081
20079
|
createVuetify$1.version = version$1;
|
|
20082
20080
|
|
|
20083
20081
|
// Vue's inject() can only be used in setup
|
|
@@ -20090,7 +20088,7 @@
|
|
|
20090
20088
|
}
|
|
20091
20089
|
}
|
|
20092
20090
|
|
|
20093
|
-
const version = "3.1.
|
|
20091
|
+
const version = "3.1.2-dev-20230112.0";
|
|
20094
20092
|
|
|
20095
20093
|
const createVuetify = function () {
|
|
20096
20094
|
let options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|