@vuetify/nightly 3.1.4 → 3.1.5-master-20230210.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 -210
- package/dist/json/attributes.json +24 -24
- package/dist/json/importMap.json +68 -68
- package/dist/json/web-types.json +49 -38
- package/dist/vuetify-labs.css +194 -194
- package/dist/vuetify-labs.d.ts +18 -32
- package/dist/vuetify-labs.esm.js +36 -27
- package/dist/vuetify-labs.esm.js.map +1 -1
- package/dist/vuetify-labs.js +35 -26
- package/dist/vuetify-labs.min.css +2 -2
- package/dist/vuetify.css +106 -106
- package/dist/vuetify.d.ts +37 -51
- package/dist/vuetify.esm.js +36 -27
- package/dist/vuetify.esm.js.map +1 -1
- package/dist/vuetify.js +35 -26
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +2 -2
- package/dist/vuetify.min.js +32 -31
- package/dist/vuetify.min.js.map +1 -1
- package/lib/components/VAutocomplete/VAutocomplete.mjs +2 -3
- package/lib/components/VAutocomplete/VAutocomplete.mjs.map +1 -1
- package/lib/components/VCombobox/VCombobox.mjs +2 -3
- package/lib/components/VCombobox/VCombobox.mjs.map +1 -1
- package/lib/components/VField/VField.mjs +0 -2
- package/lib/components/VField/VField.mjs.map +1 -1
- package/lib/components/VField/index.d.ts +1 -7
- package/lib/components/VFileInput/VFileInput.mjs +6 -1
- package/lib/components/VFileInput/VFileInput.mjs.map +1 -1
- package/lib/components/VFileInput/index.d.ts +2 -0
- package/lib/components/VSelect/VSelect.mjs +2 -2
- package/lib/components/VSelect/VSelect.mjs.map +1 -1
- package/lib/components/VTextField/VTextField.mjs +9 -7
- package/lib/components/VTextField/VTextField.mjs.map +1 -1
- package/lib/components/VTextField/index.d.ts +13 -25
- package/lib/components/VTextarea/VTextarea.mjs +6 -1
- package/lib/components/VTextarea/VTextarea.mjs.map +1 -1
- package/lib/components/VTextarea/index.d.ts +2 -0
- package/lib/components/index.d.ts +18 -32
- package/lib/composables/proxiedModel.mjs +6 -5
- package/lib/composables/proxiedModel.mjs.map +1 -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.ts +19 -19
- 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.5-master-20230210.0
|
|
3
3
|
* Forged by John Leider
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -1829,11 +1829,12 @@
|
|
|
1829
1829
|
});
|
|
1830
1830
|
const model = vue.computed({
|
|
1831
1831
|
get() {
|
|
1832
|
-
return transformIn(isControlled.value ? props[prop] : internal.value);
|
|
1832
|
+
return transformIn(vue.toRaw(isControlled.value ? props[prop] : internal.value));
|
|
1833
1833
|
},
|
|
1834
|
-
set(
|
|
1835
|
-
const newValue = transformOut(
|
|
1836
|
-
|
|
1834
|
+
set(internalValue) {
|
|
1835
|
+
const newValue = transformOut(internalValue);
|
|
1836
|
+
const value = vue.toRaw(isControlled.value ? props[prop] : internal.value);
|
|
1837
|
+
if (value === newValue || transformIn(value) === internalValue) {
|
|
1837
1838
|
return;
|
|
1838
1839
|
}
|
|
1839
1840
|
internal.value = newValue;
|
|
@@ -5339,7 +5340,6 @@
|
|
|
5339
5340
|
...makeVFieldProps()
|
|
5340
5341
|
},
|
|
5341
5342
|
emits: {
|
|
5342
|
-
'click:control': e => true,
|
|
5343
5343
|
'update:focused': focused => true,
|
|
5344
5344
|
'update:modelValue': val => true
|
|
5345
5345
|
},
|
|
@@ -5430,7 +5430,6 @@
|
|
|
5430
5430
|
if (e.target !== document.activeElement) {
|
|
5431
5431
|
e.preventDefault();
|
|
5432
5432
|
}
|
|
5433
|
-
emit('click:control', e);
|
|
5434
5433
|
}
|
|
5435
5434
|
useRender(() => {
|
|
5436
5435
|
var _slots$prependInner, _slots$default, _slots$appendInner;
|
|
@@ -6102,7 +6101,7 @@
|
|
|
6102
6101
|
props: makeVTextFieldProps(),
|
|
6103
6102
|
emits: {
|
|
6104
6103
|
'click:control': e => true,
|
|
6105
|
-
'
|
|
6104
|
+
'mousedown:control': e => true,
|
|
6106
6105
|
'update:focused': focused => true,
|
|
6107
6106
|
'update:modelValue': val => true
|
|
6108
6107
|
},
|
|
@@ -6145,6 +6144,12 @@
|
|
|
6145
6144
|
}
|
|
6146
6145
|
if (!isFocused.value) focus();
|
|
6147
6146
|
}
|
|
6147
|
+
function onControlMousedown(e) {
|
|
6148
|
+
emit('mousedown:control', e);
|
|
6149
|
+
if (e.target === inputRef.value) return;
|
|
6150
|
+
onFocus();
|
|
6151
|
+
e.preventDefault();
|
|
6152
|
+
}
|
|
6148
6153
|
function onControlClick(e) {
|
|
6149
6154
|
onFocus();
|
|
6150
6155
|
emit('click:control', e);
|
|
@@ -6195,11 +6200,8 @@
|
|
|
6195
6200
|
} = _ref2;
|
|
6196
6201
|
return vue.createVNode(VField, vue.mergeProps({
|
|
6197
6202
|
"ref": vFieldRef,
|
|
6198
|
-
"onMousedown":
|
|
6199
|
-
|
|
6200
|
-
e.preventDefault();
|
|
6201
|
-
},
|
|
6202
|
-
"onClick:control": onControlClick,
|
|
6203
|
+
"onMousedown": onControlMousedown,
|
|
6204
|
+
"onClick": onControlClick,
|
|
6203
6205
|
"onClick:clear": onClear,
|
|
6204
6206
|
"onClick:prependInner": props['onClick:prependInner'],
|
|
6205
6207
|
"onClick:appendInner": props['onClick:appendInner'],
|
|
@@ -6241,7 +6243,6 @@
|
|
|
6241
6243
|
"class": "v-text-field__prefix"
|
|
6242
6244
|
}, [props.prefix]), slots.default ? vue.createVNode("div", {
|
|
6243
6245
|
"class": fieldClass,
|
|
6244
|
-
"onClick": e => emit('click:input', e),
|
|
6245
6246
|
"data-no-activator": ""
|
|
6246
6247
|
}, [slots.default(), inputNode]) : vue.cloneVNode(inputNode, {
|
|
6247
6248
|
class: fieldClass
|
|
@@ -9933,7 +9934,7 @@
|
|
|
9933
9934
|
menu.value = true;
|
|
9934
9935
|
}
|
|
9935
9936
|
}
|
|
9936
|
-
function
|
|
9937
|
+
function onMousedownControl() {
|
|
9937
9938
|
if (props.hideNoData && !items.value.length || props.readonly || form != null && form.isReadonly.value) return;
|
|
9938
9939
|
menu.value = !menu.value;
|
|
9939
9940
|
}
|
|
@@ -10011,7 +10012,7 @@
|
|
|
10011
10012
|
"appendInnerIcon": props.menuIcon,
|
|
10012
10013
|
"readonly": true,
|
|
10013
10014
|
"onClick:clear": onClear,
|
|
10014
|
-
"
|
|
10015
|
+
"onMousedown:control": onMousedownControl,
|
|
10015
10016
|
"onBlur": onBlur,
|
|
10016
10017
|
"onKeydown": onKeydown
|
|
10017
10018
|
}), {
|
|
@@ -10296,7 +10297,7 @@
|
|
|
10296
10297
|
}
|
|
10297
10298
|
search.value = '';
|
|
10298
10299
|
}
|
|
10299
|
-
function
|
|
10300
|
+
function onMousedownControl() {
|
|
10300
10301
|
if (props.hideNoData && !items.value.length || props.readonly || form != null && form.isReadonly.value) return;
|
|
10301
10302
|
menu.value = true;
|
|
10302
10303
|
}
|
|
@@ -10400,8 +10401,7 @@
|
|
|
10400
10401
|
"appendInnerIcon": props.menuIcon,
|
|
10401
10402
|
"readonly": props.readonly,
|
|
10402
10403
|
"onClick:clear": onClear,
|
|
10403
|
-
"
|
|
10404
|
-
"onClick:input": onClickControl,
|
|
10404
|
+
"onMousedown:control": onMousedownControl,
|
|
10405
10405
|
"onFocus": () => isFocused.value = true,
|
|
10406
10406
|
"onBlur": () => isFocused.value = false,
|
|
10407
10407
|
"onKeydown": onKeydown
|
|
@@ -13639,7 +13639,7 @@
|
|
|
13639
13639
|
menu.value = true;
|
|
13640
13640
|
}
|
|
13641
13641
|
}
|
|
13642
|
-
function
|
|
13642
|
+
function onMousedownControl() {
|
|
13643
13643
|
if (props.hideNoData && !items.value.length || props.readonly || form != null && form.isReadonly.value) return;
|
|
13644
13644
|
menu.value = true;
|
|
13645
13645
|
}
|
|
@@ -13771,8 +13771,7 @@
|
|
|
13771
13771
|
"appendInnerIcon": props.items.length ? props.menuIcon : undefined,
|
|
13772
13772
|
"readonly": props.readonly,
|
|
13773
13773
|
"onClick:clear": onClear,
|
|
13774
|
-
"
|
|
13775
|
-
"onClick:input": onClickControl,
|
|
13774
|
+
"onMousedown:control": onMousedownControl,
|
|
13776
13775
|
"onFocus": () => isFocused.value = true,
|
|
13777
13776
|
"onBlur": () => isFocused.value = false,
|
|
13778
13777
|
"onKeydown": onKeydown
|
|
@@ -14262,6 +14261,7 @@
|
|
|
14262
14261
|
},
|
|
14263
14262
|
emits: {
|
|
14264
14263
|
'click:control': e => true,
|
|
14264
|
+
'mousedown:control': e => true,
|
|
14265
14265
|
'update:modelValue': files => true
|
|
14266
14266
|
},
|
|
14267
14267
|
setup(props, _ref) {
|
|
@@ -14314,6 +14314,9 @@
|
|
|
14314
14314
|
callEvent(props['onClick:prepend'], e);
|
|
14315
14315
|
onControlClick(e);
|
|
14316
14316
|
}
|
|
14317
|
+
function onControlMousedown(e) {
|
|
14318
|
+
emit('mousedown:control', e);
|
|
14319
|
+
}
|
|
14317
14320
|
function onControlClick(e) {
|
|
14318
14321
|
var _inputRef$value2;
|
|
14319
14322
|
(_inputRef$value2 = inputRef.value) == null ? void 0 : _inputRef$value2.click();
|
|
@@ -14365,7 +14368,8 @@
|
|
|
14365
14368
|
return vue.createVNode(VField, vue.mergeProps({
|
|
14366
14369
|
"ref": vFieldRef,
|
|
14367
14370
|
"prepend-icon": props.prependIcon,
|
|
14368
|
-
"
|
|
14371
|
+
"onMousedown": onControlMousedown,
|
|
14372
|
+
"onClick": onControlClick,
|
|
14369
14373
|
"onClick:clear": onClear,
|
|
14370
14374
|
"onClick:prependInner": props['onClick:prependInner'],
|
|
14371
14375
|
"onClick:appendInner": props['onClick:appendInner']
|
|
@@ -17568,6 +17572,7 @@
|
|
|
17568
17572
|
},
|
|
17569
17573
|
emits: {
|
|
17570
17574
|
'click:control': e => true,
|
|
17575
|
+
'mousedown:control': e => true,
|
|
17571
17576
|
'update:focused': focused => true,
|
|
17572
17577
|
'update:modelValue': val => true
|
|
17573
17578
|
},
|
|
@@ -17615,6 +17620,9 @@
|
|
|
17615
17620
|
onFocus();
|
|
17616
17621
|
emit('click:control', e);
|
|
17617
17622
|
}
|
|
17623
|
+
function onControlMousedown(e) {
|
|
17624
|
+
emit('mousedown:control', e);
|
|
17625
|
+
}
|
|
17618
17626
|
function onClear(e) {
|
|
17619
17627
|
e.stopPropagation();
|
|
17620
17628
|
onFocus();
|
|
@@ -17701,7 +17709,8 @@
|
|
|
17701
17709
|
"style": {
|
|
17702
17710
|
'--v-textarea-control-height': controlHeight.value
|
|
17703
17711
|
},
|
|
17704
|
-
"onClick
|
|
17712
|
+
"onClick": onControlClick,
|
|
17713
|
+
"onMousedown": onControlMousedown,
|
|
17705
17714
|
"onClick:clear": onClear,
|
|
17706
17715
|
"onClick:prependInner": props['onClick:prependInner'],
|
|
17707
17716
|
"onClick:appendInner": props['onClick:appendInner'],
|
|
@@ -20249,7 +20258,7 @@
|
|
|
20249
20258
|
locale
|
|
20250
20259
|
};
|
|
20251
20260
|
}
|
|
20252
|
-
const version$1 = "3.1.
|
|
20261
|
+
const version$1 = "3.1.5-master-20230210.0";
|
|
20253
20262
|
createVuetify$1.version = version$1;
|
|
20254
20263
|
|
|
20255
20264
|
// Vue's inject() can only be used in setup
|
|
@@ -20262,7 +20271,7 @@
|
|
|
20262
20271
|
}
|
|
20263
20272
|
}
|
|
20264
20273
|
|
|
20265
|
-
const version = "3.1.
|
|
20274
|
+
const version = "3.1.5-master-20230210.0";
|
|
20266
20275
|
|
|
20267
20276
|
const createVuetify = function () {
|
|
20268
20277
|
let options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|