vuetify 3.5.5 → 3.5.6
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 +40 -0
- package/dist/json/importMap-labs.json +8 -8
- package/dist/json/importMap.json +132 -128
- package/dist/json/tags.json +15 -0
- package/dist/json/web-types.json +292 -1
- package/dist/vuetify-labs.css +1632 -1635
- package/dist/vuetify-labs.d.ts +242 -1
- package/dist/vuetify-labs.esm.js +24 -13
- package/dist/vuetify-labs.esm.js.map +1 -1
- package/dist/vuetify-labs.js +24 -13
- package/dist/vuetify-labs.min.css +2 -2
- package/dist/vuetify.css +711 -714
- package/dist/vuetify.d.ts +281 -39
- package/dist/vuetify.esm.js +24 -13
- package/dist/vuetify.esm.js.map +1 -1
- package/dist/vuetify.js +24 -13
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +2 -2
- package/dist/vuetify.min.js +22 -21
- package/dist/vuetify.min.js.map +1 -1
- package/lib/components/VAutocomplete/VAutocomplete.mjs +7 -4
- package/lib/components/VAutocomplete/VAutocomplete.mjs.map +1 -1
- package/lib/components/VCombobox/VCombobox.mjs +3 -1
- package/lib/components/VCombobox/VCombobox.mjs.map +1 -1
- package/lib/components/VDataTable/index.d.mts +214 -1
- package/lib/components/VDataTable/index.mjs +1 -0
- package/lib/components/VDataTable/index.mjs.map +1 -1
- package/lib/components/VExpansionPanel/VExpansionPanel.css +4 -7
- package/lib/components/VExpansionPanel/VExpansionPanel.sass +4 -3
- package/lib/components/VExpansionPanel/VExpansionPanelTitle.mjs +2 -0
- package/lib/components/VExpansionPanel/VExpansionPanelTitle.mjs.map +1 -1
- package/lib/components/VExpansionPanel/VExpansionPanels.mjs +2 -0
- package/lib/components/VExpansionPanel/VExpansionPanels.mjs.map +1 -1
- package/lib/components/VExpansionPanel/index.d.mts +27 -0
- package/lib/components/VSelect/VSelect.mjs +4 -3
- package/lib/components/VSelect/VSelect.mjs.map +1 -1
- package/lib/components/index.d.mts +241 -1
- package/lib/composables/filter.mjs +1 -1
- package/lib/composables/filter.mjs.map +1 -1
- package/lib/composables/goto.mjs +2 -2
- package/lib/composables/goto.mjs.map +1 -1
- package/lib/entry-bundler.mjs +1 -1
- package/lib/framework.mjs +1 -1
- package/lib/index.d.mts +39 -38
- package/package.json +2 -2
package/dist/vuetify.esm.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Vuetify v3.5.
|
|
2
|
+
* Vuetify v3.5.6
|
|
3
3
|
* Forged by John Leider
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -11839,9 +11839,10 @@ const VSelect = genericComponent()({
|
|
|
11839
11839
|
}
|
|
11840
11840
|
}
|
|
11841
11841
|
function select(item) {
|
|
11842
|
-
|
|
11843
|
-
const add = index === -1;
|
|
11842
|
+
let add = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
|
|
11844
11843
|
if (props.multiple) {
|
|
11844
|
+
const index = model.value.findIndex(selection => props.valueComparator(selection.value, item.value));
|
|
11845
|
+
add = index === -1;
|
|
11845
11846
|
if (add) {
|
|
11846
11847
|
model.value = [...model.value, item];
|
|
11847
11848
|
} else {
|
|
@@ -12002,7 +12003,7 @@ const VSelect = genericComponent()({
|
|
|
12002
12003
|
function onChipClose(e) {
|
|
12003
12004
|
e.stopPropagation();
|
|
12004
12005
|
e.preventDefault();
|
|
12005
|
-
select(item);
|
|
12006
|
+
select(item, false);
|
|
12006
12007
|
}
|
|
12007
12008
|
const slotProps = {
|
|
12008
12009
|
'onClick:close': onChipClose,
|
|
@@ -12112,7 +12113,7 @@ function filterItems(items, query, options) {
|
|
|
12112
12113
|
if (typeof item === 'object') {
|
|
12113
12114
|
const filterKeys = keys || Object.keys(transformed);
|
|
12114
12115
|
for (const key of filterKeys) {
|
|
12115
|
-
const value = getPropertyFromItem(transformed, key
|
|
12116
|
+
const value = getPropertyFromItem(transformed, key);
|
|
12116
12117
|
const keyFilter = options?.customKeyFilter?.[key];
|
|
12117
12118
|
match = keyFilter ? keyFilter(value, query, item) : filter(value, query, item);
|
|
12118
12119
|
if (match !== -1 && match !== false) {
|
|
@@ -12387,10 +12388,11 @@ const VAutocomplete = genericComponent()({
|
|
|
12387
12388
|
}
|
|
12388
12389
|
const isSelecting = shallowRef(false);
|
|
12389
12390
|
function select(item) {
|
|
12391
|
+
let add = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
|
|
12390
12392
|
if (item.props.disabled) return;
|
|
12391
|
-
const index = model.value.findIndex(selection => props.valueComparator(selection.value, item.value));
|
|
12392
|
-
const add = index === -1;
|
|
12393
12393
|
if (props.multiple) {
|
|
12394
|
+
const index = model.value.findIndex(selection => props.valueComparator(selection.value, item.value));
|
|
12395
|
+
add = index === -1;
|
|
12394
12396
|
if (add) {
|
|
12395
12397
|
model.value = [...model.value, item];
|
|
12396
12398
|
} else {
|
|
@@ -12533,7 +12535,9 @@ const VAutocomplete = genericComponent()({
|
|
|
12533
12535
|
item,
|
|
12534
12536
|
index,
|
|
12535
12537
|
props: itemProps
|
|
12536
|
-
}) ?? createVNode(VListItem, itemProps, {
|
|
12538
|
+
}) ?? createVNode(VListItem, mergeProps(itemProps, {
|
|
12539
|
+
"role": "option"
|
|
12540
|
+
}), {
|
|
12537
12541
|
prepend: _ref4 => {
|
|
12538
12542
|
let {
|
|
12539
12543
|
isSelected
|
|
@@ -12560,7 +12564,7 @@ const VAutocomplete = genericComponent()({
|
|
|
12560
12564
|
function onChipClose(e) {
|
|
12561
12565
|
e.stopPropagation();
|
|
12562
12566
|
e.preventDefault();
|
|
12563
|
-
select(item);
|
|
12567
|
+
select(item, false);
|
|
12564
12568
|
}
|
|
12565
12569
|
const slotProps = {
|
|
12566
12570
|
'onClick:close': onChipClose,
|
|
@@ -16323,7 +16327,9 @@ const VCombobox = genericComponent()({
|
|
|
16323
16327
|
item,
|
|
16324
16328
|
index,
|
|
16325
16329
|
props: itemProps
|
|
16326
|
-
}) ?? createVNode(VListItem, itemProps, {
|
|
16330
|
+
}) ?? createVNode(VListItem, mergeProps(itemProps, {
|
|
16331
|
+
"role": "option"
|
|
16332
|
+
}), {
|
|
16327
16333
|
prepend: _ref4 => {
|
|
16328
16334
|
let {
|
|
16329
16335
|
isSelected
|
|
@@ -17666,7 +17672,7 @@ async function scrollTo(_target, _options, horizontal, goTo) {
|
|
|
17666
17672
|
return new Promise(resolve => requestAnimationFrame(function step(currentTime) {
|
|
17667
17673
|
const timeElapsed = currentTime - startTime;
|
|
17668
17674
|
const progress = timeElapsed / options.duration;
|
|
17669
|
-
const location = Math.floor(startLocation + (targetLocation - startLocation) * ease(
|
|
17675
|
+
const location = Math.floor(startLocation + (targetLocation - startLocation) * ease(clamp(progress, 0, 1)));
|
|
17670
17676
|
container[property] = location;
|
|
17671
17677
|
|
|
17672
17678
|
// Allow for some jitter if target time has elapsed
|
|
@@ -21090,6 +21096,7 @@ const allowedVariants = ['default', 'accordion', 'inset', 'popout'];
|
|
|
21090
21096
|
const makeVExpansionPanelsProps = propsFactory({
|
|
21091
21097
|
color: String,
|
|
21092
21098
|
flat: Boolean,
|
|
21099
|
+
focusable: Boolean,
|
|
21093
21100
|
static: Boolean,
|
|
21094
21101
|
tile: Boolean,
|
|
21095
21102
|
variant: {
|
|
@@ -21124,6 +21131,7 @@ const VExpansionPanels = genericComponent()({
|
|
|
21124
21131
|
readonly: toRef(props, 'readonly')
|
|
21125
21132
|
},
|
|
21126
21133
|
VExpansionPanelTitle: {
|
|
21134
|
+
focusable: toRef(props, 'focusable'),
|
|
21127
21135
|
static: toRef(props, 'static')
|
|
21128
21136
|
}
|
|
21129
21137
|
});
|
|
@@ -21182,6 +21190,7 @@ const makeVExpansionPanelTitleProps = propsFactory({
|
|
|
21182
21190
|
default: '$collapse'
|
|
21183
21191
|
},
|
|
21184
21192
|
hideActions: Boolean,
|
|
21193
|
+
focusable: Boolean,
|
|
21185
21194
|
static: Boolean,
|
|
21186
21195
|
ripple: {
|
|
21187
21196
|
type: [Boolean, Object],
|
|
@@ -21216,6 +21225,7 @@ const VExpansionPanelTitle = genericComponent()({
|
|
|
21216
21225
|
useRender(() => withDirectives(createVNode("button", {
|
|
21217
21226
|
"class": ['v-expansion-panel-title', {
|
|
21218
21227
|
'v-expansion-panel-title--active': expansionPanel.isSelected.value,
|
|
21228
|
+
'v-expansion-panel-title--focusable': props.focusable,
|
|
21219
21229
|
'v-expansion-panel-title--static': props.static
|
|
21220
21230
|
}, backgroundColorClasses.value, props.class],
|
|
21221
21231
|
"style": [backgroundColorStyles.value, props.style],
|
|
@@ -25388,6 +25398,7 @@ var components = /*#__PURE__*/Object.freeze({
|
|
|
25388
25398
|
VDataIterator: VDataIterator,
|
|
25389
25399
|
VDataTable: VDataTable,
|
|
25390
25400
|
VDataTableFooter: VDataTableFooter,
|
|
25401
|
+
VDataTableHeaders: VDataTableHeaders,
|
|
25391
25402
|
VDataTableRow: VDataTableRow,
|
|
25392
25403
|
VDataTableRows: VDataTableRows,
|
|
25393
25404
|
VDataTableServer: VDataTableServer,
|
|
@@ -25723,7 +25734,7 @@ function createVuetify$1() {
|
|
|
25723
25734
|
goTo
|
|
25724
25735
|
};
|
|
25725
25736
|
}
|
|
25726
|
-
const version$1 = "3.5.
|
|
25737
|
+
const version$1 = "3.5.6";
|
|
25727
25738
|
createVuetify$1.version = version$1;
|
|
25728
25739
|
|
|
25729
25740
|
// Vue's inject() can only be used in setup
|
|
@@ -25748,7 +25759,7 @@ const createVuetify = function () {
|
|
|
25748
25759
|
...options
|
|
25749
25760
|
});
|
|
25750
25761
|
};
|
|
25751
|
-
const version = "3.5.
|
|
25762
|
+
const version = "3.5.6";
|
|
25752
25763
|
createVuetify.version = version;
|
|
25753
25764
|
|
|
25754
25765
|
export { components, createVuetify, directives, useDate, useDefaults, useDisplay, useGoTo, useLayout, useLocale, useRtl, useTheme, version };
|