@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.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
|
*/
|
|
@@ -1825,11 +1825,12 @@
|
|
|
1825
1825
|
});
|
|
1826
1826
|
const model = vue.computed({
|
|
1827
1827
|
get() {
|
|
1828
|
-
return transformIn(isControlled.value ? props[prop] : internal.value);
|
|
1828
|
+
return transformIn(vue.toRaw(isControlled.value ? props[prop] : internal.value));
|
|
1829
1829
|
},
|
|
1830
|
-
set(
|
|
1831
|
-
const newValue = transformOut(
|
|
1832
|
-
|
|
1830
|
+
set(internalValue) {
|
|
1831
|
+
const newValue = transformOut(internalValue);
|
|
1832
|
+
const value = vue.toRaw(isControlled.value ? props[prop] : internal.value);
|
|
1833
|
+
if (value === newValue || transformIn(value) === internalValue) {
|
|
1833
1834
|
return;
|
|
1834
1835
|
}
|
|
1835
1836
|
internal.value = newValue;
|
|
@@ -5335,7 +5336,6 @@
|
|
|
5335
5336
|
...makeVFieldProps()
|
|
5336
5337
|
},
|
|
5337
5338
|
emits: {
|
|
5338
|
-
'click:control': e => true,
|
|
5339
5339
|
'update:focused': focused => true,
|
|
5340
5340
|
'update:modelValue': val => true
|
|
5341
5341
|
},
|
|
@@ -5426,7 +5426,6 @@
|
|
|
5426
5426
|
if (e.target !== document.activeElement) {
|
|
5427
5427
|
e.preventDefault();
|
|
5428
5428
|
}
|
|
5429
|
-
emit('click:control', e);
|
|
5430
5429
|
}
|
|
5431
5430
|
useRender(() => {
|
|
5432
5431
|
var _slots$prependInner, _slots$default, _slots$appendInner;
|
|
@@ -6098,7 +6097,7 @@
|
|
|
6098
6097
|
props: makeVTextFieldProps(),
|
|
6099
6098
|
emits: {
|
|
6100
6099
|
'click:control': e => true,
|
|
6101
|
-
'
|
|
6100
|
+
'mousedown:control': e => true,
|
|
6102
6101
|
'update:focused': focused => true,
|
|
6103
6102
|
'update:modelValue': val => true
|
|
6104
6103
|
},
|
|
@@ -6141,6 +6140,12 @@
|
|
|
6141
6140
|
}
|
|
6142
6141
|
if (!isFocused.value) focus();
|
|
6143
6142
|
}
|
|
6143
|
+
function onControlMousedown(e) {
|
|
6144
|
+
emit('mousedown:control', e);
|
|
6145
|
+
if (e.target === inputRef.value) return;
|
|
6146
|
+
onFocus();
|
|
6147
|
+
e.preventDefault();
|
|
6148
|
+
}
|
|
6144
6149
|
function onControlClick(e) {
|
|
6145
6150
|
onFocus();
|
|
6146
6151
|
emit('click:control', e);
|
|
@@ -6191,11 +6196,8 @@
|
|
|
6191
6196
|
} = _ref2;
|
|
6192
6197
|
return vue.createVNode(VField, vue.mergeProps({
|
|
6193
6198
|
"ref": vFieldRef,
|
|
6194
|
-
"onMousedown":
|
|
6195
|
-
|
|
6196
|
-
e.preventDefault();
|
|
6197
|
-
},
|
|
6198
|
-
"onClick:control": onControlClick,
|
|
6199
|
+
"onMousedown": onControlMousedown,
|
|
6200
|
+
"onClick": onControlClick,
|
|
6199
6201
|
"onClick:clear": onClear,
|
|
6200
6202
|
"onClick:prependInner": props['onClick:prependInner'],
|
|
6201
6203
|
"onClick:appendInner": props['onClick:appendInner'],
|
|
@@ -6237,7 +6239,6 @@
|
|
|
6237
6239
|
"class": "v-text-field__prefix"
|
|
6238
6240
|
}, [props.prefix]), slots.default ? vue.createVNode("div", {
|
|
6239
6241
|
"class": fieldClass,
|
|
6240
|
-
"onClick": e => emit('click:input', e),
|
|
6241
6242
|
"data-no-activator": ""
|
|
6242
6243
|
}, [slots.default(), inputNode]) : vue.cloneVNode(inputNode, {
|
|
6243
6244
|
class: fieldClass
|
|
@@ -9929,7 +9930,7 @@
|
|
|
9929
9930
|
menu.value = true;
|
|
9930
9931
|
}
|
|
9931
9932
|
}
|
|
9932
|
-
function
|
|
9933
|
+
function onMousedownControl() {
|
|
9933
9934
|
if (props.hideNoData && !items.value.length || props.readonly || form != null && form.isReadonly.value) return;
|
|
9934
9935
|
menu.value = !menu.value;
|
|
9935
9936
|
}
|
|
@@ -10007,7 +10008,7 @@
|
|
|
10007
10008
|
"appendInnerIcon": props.menuIcon,
|
|
10008
10009
|
"readonly": true,
|
|
10009
10010
|
"onClick:clear": onClear,
|
|
10010
|
-
"
|
|
10011
|
+
"onMousedown:control": onMousedownControl,
|
|
10011
10012
|
"onBlur": onBlur,
|
|
10012
10013
|
"onKeydown": onKeydown
|
|
10013
10014
|
}), {
|
|
@@ -10292,7 +10293,7 @@
|
|
|
10292
10293
|
}
|
|
10293
10294
|
search.value = '';
|
|
10294
10295
|
}
|
|
10295
|
-
function
|
|
10296
|
+
function onMousedownControl() {
|
|
10296
10297
|
if (props.hideNoData && !items.value.length || props.readonly || form != null && form.isReadonly.value) return;
|
|
10297
10298
|
menu.value = true;
|
|
10298
10299
|
}
|
|
@@ -10396,8 +10397,7 @@
|
|
|
10396
10397
|
"appendInnerIcon": props.menuIcon,
|
|
10397
10398
|
"readonly": props.readonly,
|
|
10398
10399
|
"onClick:clear": onClear,
|
|
10399
|
-
"
|
|
10400
|
-
"onClick:input": onClickControl,
|
|
10400
|
+
"onMousedown:control": onMousedownControl,
|
|
10401
10401
|
"onFocus": () => isFocused.value = true,
|
|
10402
10402
|
"onBlur": () => isFocused.value = false,
|
|
10403
10403
|
"onKeydown": onKeydown
|
|
@@ -13635,7 +13635,7 @@
|
|
|
13635
13635
|
menu.value = true;
|
|
13636
13636
|
}
|
|
13637
13637
|
}
|
|
13638
|
-
function
|
|
13638
|
+
function onMousedownControl() {
|
|
13639
13639
|
if (props.hideNoData && !items.value.length || props.readonly || form != null && form.isReadonly.value) return;
|
|
13640
13640
|
menu.value = true;
|
|
13641
13641
|
}
|
|
@@ -13767,8 +13767,7 @@
|
|
|
13767
13767
|
"appendInnerIcon": props.items.length ? props.menuIcon : undefined,
|
|
13768
13768
|
"readonly": props.readonly,
|
|
13769
13769
|
"onClick:clear": onClear,
|
|
13770
|
-
"
|
|
13771
|
-
"onClick:input": onClickControl,
|
|
13770
|
+
"onMousedown:control": onMousedownControl,
|
|
13772
13771
|
"onFocus": () => isFocused.value = true,
|
|
13773
13772
|
"onBlur": () => isFocused.value = false,
|
|
13774
13773
|
"onKeydown": onKeydown
|
|
@@ -14258,6 +14257,7 @@
|
|
|
14258
14257
|
},
|
|
14259
14258
|
emits: {
|
|
14260
14259
|
'click:control': e => true,
|
|
14260
|
+
'mousedown:control': e => true,
|
|
14261
14261
|
'update:modelValue': files => true
|
|
14262
14262
|
},
|
|
14263
14263
|
setup(props, _ref) {
|
|
@@ -14310,6 +14310,9 @@
|
|
|
14310
14310
|
callEvent(props['onClick:prepend'], e);
|
|
14311
14311
|
onControlClick(e);
|
|
14312
14312
|
}
|
|
14313
|
+
function onControlMousedown(e) {
|
|
14314
|
+
emit('mousedown:control', e);
|
|
14315
|
+
}
|
|
14313
14316
|
function onControlClick(e) {
|
|
14314
14317
|
var _inputRef$value2;
|
|
14315
14318
|
(_inputRef$value2 = inputRef.value) == null ? void 0 : _inputRef$value2.click();
|
|
@@ -14361,7 +14364,8 @@
|
|
|
14361
14364
|
return vue.createVNode(VField, vue.mergeProps({
|
|
14362
14365
|
"ref": vFieldRef,
|
|
14363
14366
|
"prepend-icon": props.prependIcon,
|
|
14364
|
-
"
|
|
14367
|
+
"onMousedown": onControlMousedown,
|
|
14368
|
+
"onClick": onControlClick,
|
|
14365
14369
|
"onClick:clear": onClear,
|
|
14366
14370
|
"onClick:prependInner": props['onClick:prependInner'],
|
|
14367
14371
|
"onClick:appendInner": props['onClick:appendInner']
|
|
@@ -17564,6 +17568,7 @@
|
|
|
17564
17568
|
},
|
|
17565
17569
|
emits: {
|
|
17566
17570
|
'click:control': e => true,
|
|
17571
|
+
'mousedown:control': e => true,
|
|
17567
17572
|
'update:focused': focused => true,
|
|
17568
17573
|
'update:modelValue': val => true
|
|
17569
17574
|
},
|
|
@@ -17611,6 +17616,9 @@
|
|
|
17611
17616
|
onFocus();
|
|
17612
17617
|
emit('click:control', e);
|
|
17613
17618
|
}
|
|
17619
|
+
function onControlMousedown(e) {
|
|
17620
|
+
emit('mousedown:control', e);
|
|
17621
|
+
}
|
|
17614
17622
|
function onClear(e) {
|
|
17615
17623
|
e.stopPropagation();
|
|
17616
17624
|
onFocus();
|
|
@@ -17697,7 +17705,8 @@
|
|
|
17697
17705
|
"style": {
|
|
17698
17706
|
'--v-textarea-control-height': controlHeight.value
|
|
17699
17707
|
},
|
|
17700
|
-
"onClick
|
|
17708
|
+
"onClick": onControlClick,
|
|
17709
|
+
"onMousedown": onControlMousedown,
|
|
17701
17710
|
"onClick:clear": onClear,
|
|
17702
17711
|
"onClick:prependInner": props['onClick:prependInner'],
|
|
17703
17712
|
"onClick:appendInner": props['onClick:appendInner'],
|
|
@@ -18462,7 +18471,7 @@
|
|
|
18462
18471
|
locale
|
|
18463
18472
|
};
|
|
18464
18473
|
}
|
|
18465
|
-
const version$1 = "3.1.
|
|
18474
|
+
const version$1 = "3.1.5-master-20230210.0";
|
|
18466
18475
|
createVuetify$1.version = version$1;
|
|
18467
18476
|
|
|
18468
18477
|
// Vue's inject() can only be used in setup
|
|
@@ -18483,7 +18492,7 @@
|
|
|
18483
18492
|
...options
|
|
18484
18493
|
});
|
|
18485
18494
|
};
|
|
18486
|
-
const version = "3.1.
|
|
18495
|
+
const version = "3.1.5-master-20230210.0";
|
|
18487
18496
|
createVuetify.version = version;
|
|
18488
18497
|
|
|
18489
18498
|
exports.components = components;
|