@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.esm.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
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
|
*/
|
|
6
6
|
|
|
7
|
-
import { ref, onBeforeUnmount, watch, readonly, reactive, computed, watchEffect, toRefs, capitalize, getCurrentInstance as getCurrentInstance$1, unref, provide, inject as inject$1, onScopeDispose, effectScope, shallowRef, defineComponent as defineComponent$1, camelize, h, onDeactivated, onActivated, onMounted, createVNode, TransitionGroup, Transition, mergeProps, onBeforeMount, nextTick, withDirectives, Fragment, resolveDirective, vShow, isRef, toRef, Text, resolveDynamicComponent, cloneVNode, warn, toHandlers, Teleport, createTextVNode, onBeforeUpdate, vModelText } from 'vue';
|
|
7
|
+
import { ref, onBeforeUnmount, watch, readonly, reactive, computed, watchEffect, toRefs, capitalize, getCurrentInstance as getCurrentInstance$1, unref, provide, inject as inject$1, onScopeDispose, effectScope, shallowRef, defineComponent as defineComponent$1, camelize, h, onDeactivated, onActivated, onMounted, toRaw, createVNode, TransitionGroup, Transition, mergeProps, onBeforeMount, nextTick, withDirectives, Fragment, resolveDirective, vShow, isRef, toRef, Text, resolveDynamicComponent, cloneVNode, warn, toHandlers, Teleport, createTextVNode, onBeforeUpdate, vModelText } from 'vue';
|
|
8
8
|
|
|
9
9
|
const IN_BROWSER = typeof window !== 'undefined';
|
|
10
10
|
const SUPPORTS_INTERSECTION = IN_BROWSER && 'IntersectionObserver' in window;
|
|
@@ -1821,11 +1821,12 @@ function useProxiedModel(props, prop, defaultValue) {
|
|
|
1821
1821
|
});
|
|
1822
1822
|
const model = computed({
|
|
1823
1823
|
get() {
|
|
1824
|
-
return transformIn(isControlled.value ? props[prop] : internal.value);
|
|
1824
|
+
return transformIn(toRaw(isControlled.value ? props[prop] : internal.value));
|
|
1825
1825
|
},
|
|
1826
|
-
set(
|
|
1827
|
-
const newValue = transformOut(
|
|
1828
|
-
|
|
1826
|
+
set(internalValue) {
|
|
1827
|
+
const newValue = transformOut(internalValue);
|
|
1828
|
+
const value = toRaw(isControlled.value ? props[prop] : internal.value);
|
|
1829
|
+
if (value === newValue || transformIn(value) === internalValue) {
|
|
1829
1830
|
return;
|
|
1830
1831
|
}
|
|
1831
1832
|
internal.value = newValue;
|
|
@@ -5331,7 +5332,6 @@ const VField = genericComponent()({
|
|
|
5331
5332
|
...makeVFieldProps()
|
|
5332
5333
|
},
|
|
5333
5334
|
emits: {
|
|
5334
|
-
'click:control': e => true,
|
|
5335
5335
|
'update:focused': focused => true,
|
|
5336
5336
|
'update:modelValue': val => true
|
|
5337
5337
|
},
|
|
@@ -5422,7 +5422,6 @@ const VField = genericComponent()({
|
|
|
5422
5422
|
if (e.target !== document.activeElement) {
|
|
5423
5423
|
e.preventDefault();
|
|
5424
5424
|
}
|
|
5425
|
-
emit('click:control', e);
|
|
5426
5425
|
}
|
|
5427
5426
|
useRender(() => {
|
|
5428
5427
|
var _slots$prependInner, _slots$default, _slots$appendInner;
|
|
@@ -6094,7 +6093,7 @@ const VTextField = genericComponent()({
|
|
|
6094
6093
|
props: makeVTextFieldProps(),
|
|
6095
6094
|
emits: {
|
|
6096
6095
|
'click:control': e => true,
|
|
6097
|
-
'
|
|
6096
|
+
'mousedown:control': e => true,
|
|
6098
6097
|
'update:focused': focused => true,
|
|
6099
6098
|
'update:modelValue': val => true
|
|
6100
6099
|
},
|
|
@@ -6137,6 +6136,12 @@ const VTextField = genericComponent()({
|
|
|
6137
6136
|
}
|
|
6138
6137
|
if (!isFocused.value) focus();
|
|
6139
6138
|
}
|
|
6139
|
+
function onControlMousedown(e) {
|
|
6140
|
+
emit('mousedown:control', e);
|
|
6141
|
+
if (e.target === inputRef.value) return;
|
|
6142
|
+
onFocus();
|
|
6143
|
+
e.preventDefault();
|
|
6144
|
+
}
|
|
6140
6145
|
function onControlClick(e) {
|
|
6141
6146
|
onFocus();
|
|
6142
6147
|
emit('click:control', e);
|
|
@@ -6187,11 +6192,8 @@ const VTextField = genericComponent()({
|
|
|
6187
6192
|
} = _ref2;
|
|
6188
6193
|
return createVNode(VField, mergeProps({
|
|
6189
6194
|
"ref": vFieldRef,
|
|
6190
|
-
"onMousedown":
|
|
6191
|
-
|
|
6192
|
-
e.preventDefault();
|
|
6193
|
-
},
|
|
6194
|
-
"onClick:control": onControlClick,
|
|
6195
|
+
"onMousedown": onControlMousedown,
|
|
6196
|
+
"onClick": onControlClick,
|
|
6195
6197
|
"onClick:clear": onClear,
|
|
6196
6198
|
"onClick:prependInner": props['onClick:prependInner'],
|
|
6197
6199
|
"onClick:appendInner": props['onClick:appendInner'],
|
|
@@ -6233,7 +6235,6 @@ const VTextField = genericComponent()({
|
|
|
6233
6235
|
"class": "v-text-field__prefix"
|
|
6234
6236
|
}, [props.prefix]), slots.default ? createVNode("div", {
|
|
6235
6237
|
"class": fieldClass,
|
|
6236
|
-
"onClick": e => emit('click:input', e),
|
|
6237
6238
|
"data-no-activator": ""
|
|
6238
6239
|
}, [slots.default(), inputNode]) : cloneVNode(inputNode, {
|
|
6239
6240
|
class: fieldClass
|
|
@@ -9925,7 +9926,7 @@ const VSelect = genericComponent()({
|
|
|
9925
9926
|
menu.value = true;
|
|
9926
9927
|
}
|
|
9927
9928
|
}
|
|
9928
|
-
function
|
|
9929
|
+
function onMousedownControl() {
|
|
9929
9930
|
if (props.hideNoData && !items.value.length || props.readonly || form != null && form.isReadonly.value) return;
|
|
9930
9931
|
menu.value = !menu.value;
|
|
9931
9932
|
}
|
|
@@ -10003,7 +10004,7 @@ const VSelect = genericComponent()({
|
|
|
10003
10004
|
"appendInnerIcon": props.menuIcon,
|
|
10004
10005
|
"readonly": true,
|
|
10005
10006
|
"onClick:clear": onClear,
|
|
10006
|
-
"
|
|
10007
|
+
"onMousedown:control": onMousedownControl,
|
|
10007
10008
|
"onBlur": onBlur,
|
|
10008
10009
|
"onKeydown": onKeydown
|
|
10009
10010
|
}), {
|
|
@@ -10288,7 +10289,7 @@ const VAutocomplete = genericComponent()({
|
|
|
10288
10289
|
}
|
|
10289
10290
|
search.value = '';
|
|
10290
10291
|
}
|
|
10291
|
-
function
|
|
10292
|
+
function onMousedownControl() {
|
|
10292
10293
|
if (props.hideNoData && !items.value.length || props.readonly || form != null && form.isReadonly.value) return;
|
|
10293
10294
|
menu.value = true;
|
|
10294
10295
|
}
|
|
@@ -10392,8 +10393,7 @@ const VAutocomplete = genericComponent()({
|
|
|
10392
10393
|
"appendInnerIcon": props.menuIcon,
|
|
10393
10394
|
"readonly": props.readonly,
|
|
10394
10395
|
"onClick:clear": onClear,
|
|
10395
|
-
"
|
|
10396
|
-
"onClick:input": onClickControl,
|
|
10396
|
+
"onMousedown:control": onMousedownControl,
|
|
10397
10397
|
"onFocus": () => isFocused.value = true,
|
|
10398
10398
|
"onBlur": () => isFocused.value = false,
|
|
10399
10399
|
"onKeydown": onKeydown
|
|
@@ -13631,7 +13631,7 @@ const VCombobox = genericComponent()({
|
|
|
13631
13631
|
menu.value = true;
|
|
13632
13632
|
}
|
|
13633
13633
|
}
|
|
13634
|
-
function
|
|
13634
|
+
function onMousedownControl() {
|
|
13635
13635
|
if (props.hideNoData && !items.value.length || props.readonly || form != null && form.isReadonly.value) return;
|
|
13636
13636
|
menu.value = true;
|
|
13637
13637
|
}
|
|
@@ -13763,8 +13763,7 @@ const VCombobox = genericComponent()({
|
|
|
13763
13763
|
"appendInnerIcon": props.items.length ? props.menuIcon : undefined,
|
|
13764
13764
|
"readonly": props.readonly,
|
|
13765
13765
|
"onClick:clear": onClear,
|
|
13766
|
-
"
|
|
13767
|
-
"onClick:input": onClickControl,
|
|
13766
|
+
"onMousedown:control": onMousedownControl,
|
|
13768
13767
|
"onFocus": () => isFocused.value = true,
|
|
13769
13768
|
"onBlur": () => isFocused.value = false,
|
|
13770
13769
|
"onKeydown": onKeydown
|
|
@@ -14254,6 +14253,7 @@ const VFileInput = defineComponent({
|
|
|
14254
14253
|
},
|
|
14255
14254
|
emits: {
|
|
14256
14255
|
'click:control': e => true,
|
|
14256
|
+
'mousedown:control': e => true,
|
|
14257
14257
|
'update:modelValue': files => true
|
|
14258
14258
|
},
|
|
14259
14259
|
setup(props, _ref) {
|
|
@@ -14306,6 +14306,9 @@ const VFileInput = defineComponent({
|
|
|
14306
14306
|
callEvent(props['onClick:prepend'], e);
|
|
14307
14307
|
onControlClick(e);
|
|
14308
14308
|
}
|
|
14309
|
+
function onControlMousedown(e) {
|
|
14310
|
+
emit('mousedown:control', e);
|
|
14311
|
+
}
|
|
14309
14312
|
function onControlClick(e) {
|
|
14310
14313
|
var _inputRef$value2;
|
|
14311
14314
|
(_inputRef$value2 = inputRef.value) == null ? void 0 : _inputRef$value2.click();
|
|
@@ -14357,7 +14360,8 @@ const VFileInput = defineComponent({
|
|
|
14357
14360
|
return createVNode(VField, mergeProps({
|
|
14358
14361
|
"ref": vFieldRef,
|
|
14359
14362
|
"prepend-icon": props.prependIcon,
|
|
14360
|
-
"
|
|
14363
|
+
"onMousedown": onControlMousedown,
|
|
14364
|
+
"onClick": onControlClick,
|
|
14361
14365
|
"onClick:clear": onClear,
|
|
14362
14366
|
"onClick:prependInner": props['onClick:prependInner'],
|
|
14363
14367
|
"onClick:appendInner": props['onClick:appendInner']
|
|
@@ -17560,6 +17564,7 @@ const VTextarea = defineComponent({
|
|
|
17560
17564
|
},
|
|
17561
17565
|
emits: {
|
|
17562
17566
|
'click:control': e => true,
|
|
17567
|
+
'mousedown:control': e => true,
|
|
17563
17568
|
'update:focused': focused => true,
|
|
17564
17569
|
'update:modelValue': val => true
|
|
17565
17570
|
},
|
|
@@ -17607,6 +17612,9 @@ const VTextarea = defineComponent({
|
|
|
17607
17612
|
onFocus();
|
|
17608
17613
|
emit('click:control', e);
|
|
17609
17614
|
}
|
|
17615
|
+
function onControlMousedown(e) {
|
|
17616
|
+
emit('mousedown:control', e);
|
|
17617
|
+
}
|
|
17610
17618
|
function onClear(e) {
|
|
17611
17619
|
e.stopPropagation();
|
|
17612
17620
|
onFocus();
|
|
@@ -17693,7 +17701,8 @@ const VTextarea = defineComponent({
|
|
|
17693
17701
|
"style": {
|
|
17694
17702
|
'--v-textarea-control-height': controlHeight.value
|
|
17695
17703
|
},
|
|
17696
|
-
"onClick
|
|
17704
|
+
"onClick": onControlClick,
|
|
17705
|
+
"onMousedown": onControlMousedown,
|
|
17697
17706
|
"onClick:clear": onClear,
|
|
17698
17707
|
"onClick:prependInner": props['onClick:prependInner'],
|
|
17699
17708
|
"onClick:appendInner": props['onClick:appendInner'],
|
|
@@ -18458,7 +18467,7 @@ function createVuetify$1() {
|
|
|
18458
18467
|
locale
|
|
18459
18468
|
};
|
|
18460
18469
|
}
|
|
18461
|
-
const version$1 = "3.1.
|
|
18470
|
+
const version$1 = "3.1.5-master-20230210.0";
|
|
18462
18471
|
createVuetify$1.version = version$1;
|
|
18463
18472
|
|
|
18464
18473
|
// Vue's inject() can only be used in setup
|
|
@@ -18479,7 +18488,7 @@ const createVuetify = function () {
|
|
|
18479
18488
|
...options
|
|
18480
18489
|
});
|
|
18481
18490
|
};
|
|
18482
|
-
const version = "3.1.
|
|
18491
|
+
const version = "3.1.5-master-20230210.0";
|
|
18483
18492
|
createVuetify.version = version;
|
|
18484
18493
|
|
|
18485
18494
|
export { components, createVuetify, directives, useDisplay, useLayout, useLocale, useRtl, useTheme, version };
|