@antcde/component-library 0.0.4 → 0.0.10
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/component-library.css +1 -1
- package/dist/index.js +11633 -11114
- package/dist/types/components/BaseAppCard.vue.d.ts +5 -1
- package/node_modules/vuetify/dist/json/attributes.json +2765 -2749
- package/node_modules/vuetify/dist/json/importMap-labs.json +8 -8
- package/node_modules/vuetify/dist/json/importMap.json +158 -158
- package/node_modules/vuetify/dist/json/tags.json +6 -2
- package/node_modules/vuetify/dist/json/web-types.json +5003 -4921
- package/node_modules/vuetify/dist/vuetify-labs.css +2500 -2499
- package/node_modules/vuetify/dist/vuetify-labs.d.ts +509 -229
- package/node_modules/vuetify/dist/vuetify-labs.esm.js +250 -147
- package/node_modules/vuetify/dist/vuetify-labs.esm.js.map +1 -1
- package/node_modules/vuetify/dist/vuetify-labs.js +249 -146
- package/node_modules/vuetify/dist/vuetify-labs.min.css +2 -2
- package/node_modules/vuetify/dist/vuetify.css +2957 -2956
- package/node_modules/vuetify/dist/vuetify.d.ts +417 -234
- package/node_modules/vuetify/dist/vuetify.esm.js +122 -72
- package/node_modules/vuetify/dist/vuetify.esm.js.map +1 -1
- package/node_modules/vuetify/dist/vuetify.js +121 -71
- package/node_modules/vuetify/dist/vuetify.js.map +1 -1
- package/node_modules/vuetify/dist/vuetify.min.css +2 -2
- package/node_modules/vuetify/dist/vuetify.min.js +474 -473
- package/node_modules/vuetify/dist/vuetify.min.js.map +1 -1
- package/node_modules/vuetify/lib/components/VAppBar/index.d.mts +15 -6
- package/node_modules/vuetify/lib/components/VAutocomplete/index.d.mts +23 -8
- package/node_modules/vuetify/lib/components/VBadge/VBadge.mjs +2 -2
- package/node_modules/vuetify/lib/components/VBadge/VBadge.mjs.map +1 -1
- package/node_modules/vuetify/lib/components/VBtn/VBtn.mjs +6 -3
- package/node_modules/vuetify/lib/components/VBtn/VBtn.mjs.map +1 -1
- package/node_modules/vuetify/lib/components/VBtn/index.d.mts +15 -6
- package/node_modules/vuetify/lib/components/VCard/VCard.mjs +12 -3
- package/node_modules/vuetify/lib/components/VCard/VCard.mjs.map +1 -1
- package/node_modules/vuetify/lib/components/VCard/VCardItem.mjs +11 -4
- package/node_modules/vuetify/lib/components/VCard/VCardItem.mjs.map +1 -1
- package/node_modules/vuetify/lib/components/VCard/index.d.mts +75 -30
- package/node_modules/vuetify/lib/components/VCarousel/VCarousel.mjs +1 -1
- package/node_modules/vuetify/lib/components/VCarousel/VCarousel.mjs.map +1 -1
- package/node_modules/vuetify/lib/components/VChip/VChip.mjs +6 -3
- package/node_modules/vuetify/lib/components/VChip/VChip.mjs.map +1 -1
- package/node_modules/vuetify/lib/components/VChip/index.d.mts +15 -6
- package/node_modules/vuetify/lib/components/VCombobox/index.d.mts +23 -8
- package/node_modules/vuetify/lib/components/VDataIterator/index.d.mts +2 -2
- package/node_modules/vuetify/lib/components/VDataTable/VDataTableRow.mjs +18 -3
- package/node_modules/vuetify/lib/components/VDataTable/VDataTableRow.mjs.map +1 -1
- package/node_modules/vuetify/lib/components/VDataTable/composables/headers.mjs +3 -1
- package/node_modules/vuetify/lib/components/VDataTable/composables/headers.mjs.map +1 -1
- package/node_modules/vuetify/lib/components/VDataTable/composables/paginate.mjs +2 -2
- package/node_modules/vuetify/lib/components/VDataTable/composables/paginate.mjs.map +1 -1
- package/node_modules/vuetify/lib/components/VDataTable/index.d.mts +125 -122
- package/node_modules/vuetify/lib/components/VDataTable/types.mjs.map +1 -1
- package/node_modules/vuetify/lib/components/VDatePicker/VDatePicker.mjs +1 -1
- package/node_modules/vuetify/lib/components/VDatePicker/VDatePicker.mjs.map +1 -1
- package/node_modules/vuetify/lib/components/VDatePicker/VDatePickerControls.mjs +5 -5
- package/node_modules/vuetify/lib/components/VDatePicker/VDatePickerControls.mjs.map +1 -1
- package/node_modules/vuetify/lib/components/VDialog/__test__/VDialog.spec.browser.mjs +50 -0
- package/node_modules/vuetify/lib/components/VDialog/__test__/VDialog.spec.browser.mjs.map +1 -0
- package/node_modules/vuetify/lib/components/VDialog/index.d.mts +21 -6
- package/node_modules/vuetify/lib/components/VFab/index.d.mts +15 -6
- package/node_modules/vuetify/lib/components/VField/VField.mjs +1 -6
- package/node_modules/vuetify/lib/components/VField/VField.mjs.map +1 -1
- package/node_modules/vuetify/lib/components/VFileInput/VFileInput.mjs +2 -2
- package/node_modules/vuetify/lib/components/VFileInput/VFileInput.mjs.map +1 -1
- package/node_modules/vuetify/lib/components/VIcon/VIcon.mjs +2 -2
- package/node_modules/vuetify/lib/components/VIcon/VIcon.mjs.map +1 -1
- package/node_modules/vuetify/lib/components/VList/VListItem.mjs +11 -5
- package/node_modules/vuetify/lib/components/VList/VListItem.mjs.map +1 -1
- package/node_modules/vuetify/lib/components/VList/index.d.mts +32 -14
- package/node_modules/vuetify/lib/components/VMenu/index.d.mts +21 -6
- package/node_modules/vuetify/lib/components/VOverlay/VOverlay.mjs +10 -1
- package/node_modules/vuetify/lib/components/VOverlay/VOverlay.mjs.map +1 -1
- package/node_modules/vuetify/lib/components/VOverlay/index.d.mts +6 -0
- package/node_modules/vuetify/lib/components/VPagination/VPagination.mjs +3 -3
- package/node_modules/vuetify/lib/components/VPagination/VPagination.mjs.map +1 -1
- package/node_modules/vuetify/lib/components/VParallax/VParallax.mjs +1 -1
- package/node_modules/vuetify/lib/components/VParallax/VParallax.mjs.map +1 -1
- package/node_modules/vuetify/lib/components/VRating/VRating.mjs +1 -1
- package/node_modules/vuetify/lib/components/VRating/VRating.mjs.map +1 -1
- package/node_modules/vuetify/lib/components/VSelect/index.d.mts +23 -8
- package/node_modules/vuetify/lib/components/VSlider/slider.mjs +1 -1
- package/node_modules/vuetify/lib/components/VSlider/slider.mjs.map +1 -1
- package/node_modules/vuetify/lib/components/VSnackbar/index.d.mts +21 -6
- package/node_modules/vuetify/lib/components/VSparkline/VBarline.mjs +1 -1
- package/node_modules/vuetify/lib/components/VSparkline/VBarline.mjs.map +1 -1
- package/node_modules/vuetify/lib/components/VTabs/index.d.mts +39 -24
- package/node_modules/vuetify/lib/components/VTextField/VTextField.mjs +2 -2
- package/node_modules/vuetify/lib/components/VTextField/VTextField.mjs.map +1 -1
- package/node_modules/vuetify/lib/components/VTextarea/VTextarea.mjs +4 -4
- package/node_modules/vuetify/lib/components/VTextarea/VTextarea.mjs.map +1 -1
- package/node_modules/vuetify/lib/components/VToolbar/VToolbar.css +1 -0
- package/node_modules/vuetify/lib/components/VToolbar/VToolbar.sass +1 -0
- package/node_modules/vuetify/lib/components/VTooltip/index.d.mts +21 -6
- package/node_modules/vuetify/lib/components/index.d.mts +365 -182
- package/node_modules/vuetify/lib/composables/calendar.mjs +1 -1
- package/node_modules/vuetify/lib/composables/calendar.mjs.map +1 -1
- package/node_modules/vuetify/lib/composables/stack.mjs +2 -2
- package/node_modules/vuetify/lib/composables/stack.mjs.map +1 -1
- package/node_modules/vuetify/lib/composables/theme.mjs +1 -1
- package/node_modules/vuetify/lib/composables/theme.mjs.map +1 -1
- package/node_modules/vuetify/lib/composables/validation.mjs +2 -2
- package/node_modules/vuetify/lib/composables/validation.mjs.map +1 -1
- package/node_modules/vuetify/lib/entry-bundler.mjs +1 -1
- package/node_modules/vuetify/lib/framework.mjs +1 -1
- package/node_modules/vuetify/lib/index.d.mts +52 -52
- package/node_modules/vuetify/lib/labs/VDateInput/VDateInput.mjs +79 -21
- package/node_modules/vuetify/lib/labs/VDateInput/VDateInput.mjs.map +1 -1
- package/node_modules/vuetify/lib/labs/VDateInput/index.d.mts +53 -10
- package/node_modules/vuetify/lib/labs/VFileUpload/VFileUpload.mjs +3 -2
- package/node_modules/vuetify/lib/labs/VFileUpload/VFileUpload.mjs.map +1 -1
- package/node_modules/vuetify/lib/labs/VFileUpload/index.d.mts +32 -14
- package/node_modules/vuetify/lib/labs/VNumberInput/VNumberInput.mjs +5 -5
- package/node_modules/vuetify/lib/labs/VNumberInput/VNumberInput.mjs.map +1 -1
- package/node_modules/vuetify/lib/labs/VSnackbarQueue/index.d.mts +21 -6
- package/node_modules/vuetify/lib/labs/VTimePicker/VTimePicker.mjs +30 -31
- package/node_modules/vuetify/lib/labs/VTimePicker/VTimePicker.mjs.map +1 -1
- package/node_modules/vuetify/lib/labs/VTimePicker/VTimePickerControls.mjs +14 -13
- package/node_modules/vuetify/lib/labs/VTimePicker/VTimePickerControls.mjs.map +1 -1
- package/node_modules/vuetify/lib/labs/VTimePicker/index.d.mts +35 -13
- package/node_modules/vuetify/lib/labs/VTimePicker/shared.mjs +2 -0
- package/node_modules/vuetify/lib/labs/VTimePicker/shared.mjs.map +1 -0
- package/node_modules/vuetify/lib/labs/VTreeview/index.d.mts +32 -14
- package/node_modules/vuetify/lib/labs/components.d.mts +171 -59
- package/node_modules/vuetify/lib/locale/adapters/vuetify.mjs +1 -1
- package/node_modules/vuetify/lib/locale/adapters/vuetify.mjs.map +1 -1
- package/node_modules/vuetify/lib/util/animation.mjs +8 -8
- package/node_modules/vuetify/lib/util/animation.mjs.map +1 -1
- package/node_modules/vuetify/lib/util/helpers.mjs +7 -5
- package/node_modules/vuetify/lib/util/helpers.mjs.map +1 -1
- package/node_modules/vuetify/package.json +2 -2
- package/package.json +3 -3
- package/node_modules/vuetify/lib/components/VDialog/__test__/VDialog.spec.cy.mjs +0 -39
- package/node_modules/vuetify/lib/components/VDialog/__test__/VDialog.spec.cy.mjs.map +0 -1
- package/node_modules/vuetify/lib/labs/VTimePicker/SelectingTimes.mjs +0 -10
- package/node_modules/vuetify/lib/labs/VTimePicker/SelectingTimes.mjs.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Vuetify v3.7.
|
|
2
|
+
* Vuetify v3.7.19
|
|
3
3
|
* Forged by John Leider
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -155,12 +155,14 @@
|
|
|
155
155
|
let unit = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'px';
|
|
156
156
|
if (str == null || str === '') {
|
|
157
157
|
return undefined;
|
|
158
|
-
}
|
|
158
|
+
}
|
|
159
|
+
const num = Number(str);
|
|
160
|
+
if (isNaN(num)) {
|
|
159
161
|
return String(str);
|
|
160
|
-
} else if (!isFinite(
|
|
162
|
+
} else if (!isFinite(num)) {
|
|
161
163
|
return undefined;
|
|
162
164
|
} else {
|
|
163
|
-
return `${
|
|
165
|
+
return `${num}${unit}`;
|
|
164
166
|
}
|
|
165
167
|
}
|
|
166
168
|
function isObject(obj) {
|
|
@@ -231,7 +233,7 @@
|
|
|
231
233
|
function pick(obj, paths) {
|
|
232
234
|
const found = {};
|
|
233
235
|
for (const key of paths) {
|
|
234
|
-
if (Object.
|
|
236
|
+
if (Object.prototype.hasOwnProperty.call(obj, key)) {
|
|
235
237
|
found[key] = obj[key];
|
|
236
238
|
}
|
|
237
239
|
}
|
|
@@ -694,16 +696,16 @@
|
|
|
694
696
|
let ta, sx, sy, dx, dy;
|
|
695
697
|
if (tx.startsWith('matrix3d(')) {
|
|
696
698
|
ta = tx.slice(9, -1).split(/, /);
|
|
697
|
-
sx =
|
|
698
|
-
sy =
|
|
699
|
-
dx =
|
|
700
|
-
dy =
|
|
699
|
+
sx = Number(ta[0]);
|
|
700
|
+
sy = Number(ta[5]);
|
|
701
|
+
dx = Number(ta[12]);
|
|
702
|
+
dy = Number(ta[13]);
|
|
701
703
|
} else if (tx.startsWith('matrix(')) {
|
|
702
704
|
ta = tx.slice(7, -1).split(/, /);
|
|
703
|
-
sx =
|
|
704
|
-
sy =
|
|
705
|
-
dx =
|
|
706
|
-
dy =
|
|
705
|
+
sx = Number(ta[0]);
|
|
706
|
+
sy = Number(ta[3]);
|
|
707
|
+
dx = Number(ta[4]);
|
|
708
|
+
dy = Number(ta[5]);
|
|
707
709
|
} else {
|
|
708
710
|
return new Box(rect);
|
|
709
711
|
}
|
|
@@ -2079,7 +2081,7 @@
|
|
|
2079
2081
|
const LANG_PREFIX = '$vuetify.';
|
|
2080
2082
|
const replace = (str, params) => {
|
|
2081
2083
|
return str.replace(/\{(\d+)\}/g, (match, index) => {
|
|
2082
|
-
return String(params[
|
|
2084
|
+
return String(params[Number(index)]);
|
|
2083
2085
|
});
|
|
2084
2086
|
};
|
|
2085
2087
|
const createTranslateFunction = (current, fallback, messages) => {
|
|
@@ -2449,7 +2451,7 @@
|
|
|
2449
2451
|
function getHead() {
|
|
2450
2452
|
return {
|
|
2451
2453
|
style: [{
|
|
2452
|
-
|
|
2454
|
+
textContent: styles.value,
|
|
2453
2455
|
id: 'vuetify-theme-stylesheet',
|
|
2454
2456
|
nonce: parsedOptions.cspNonce || false
|
|
2455
2457
|
}]
|
|
@@ -4672,7 +4674,7 @@
|
|
|
4672
4674
|
const slotIcon = vue.ref();
|
|
4673
4675
|
const {
|
|
4674
4676
|
themeClasses
|
|
4675
|
-
} =
|
|
4677
|
+
} = useTheme();
|
|
4676
4678
|
const {
|
|
4677
4679
|
iconData
|
|
4678
4680
|
} = useIcon(vue.computed(() => slotIcon.value || props.icon));
|
|
@@ -5576,7 +5578,10 @@
|
|
|
5576
5578
|
type: [Boolean, Object],
|
|
5577
5579
|
default: true
|
|
5578
5580
|
},
|
|
5579
|
-
text:
|
|
5581
|
+
text: {
|
|
5582
|
+
type: [String, Number, Boolean],
|
|
5583
|
+
default: undefined
|
|
5584
|
+
},
|
|
5580
5585
|
...makeBorderProps(),
|
|
5581
5586
|
...makeComponentProps(),
|
|
5582
5587
|
...makeDensityProps(),
|
|
@@ -5732,7 +5737,7 @@
|
|
|
5732
5737
|
}
|
|
5733
5738
|
}
|
|
5734
5739
|
}, {
|
|
5735
|
-
default: () => [slots.default?.() ?? props.text]
|
|
5740
|
+
default: () => [slots.default?.() ?? vue.toDisplayString(props.text)]
|
|
5736
5741
|
})]), !props.icon && hasAppend && vue.createVNode("span", {
|
|
5737
5742
|
"key": "append",
|
|
5738
5743
|
"class": "v-btn__append"
|
|
@@ -6740,7 +6745,7 @@
|
|
|
6740
6745
|
const isPristine = vue.shallowRef(true);
|
|
6741
6746
|
const isDirty = vue.computed(() => !!(wrapInArray(model.value === '' ? null : model.value).length || wrapInArray(validationModel.value === '' ? null : validationModel.value).length));
|
|
6742
6747
|
const errorMessages = vue.computed(() => {
|
|
6743
|
-
return props.errorMessages?.length ? wrapInArray(props.errorMessages).concat(internalErrorMessages.value).slice(0, Math.max(0,
|
|
6748
|
+
return props.errorMessages?.length ? wrapInArray(props.errorMessages).concat(internalErrorMessages.value).slice(0, Math.max(0, Number(props.maxErrors))) : internalErrorMessages.value;
|
|
6744
6749
|
});
|
|
6745
6750
|
const validateOn = vue.computed(() => {
|
|
6746
6751
|
let value = (props.validateOn ?? form.validateOn?.value) || 'input';
|
|
@@ -6831,7 +6836,7 @@
|
|
|
6831
6836
|
const results = [];
|
|
6832
6837
|
isValidating.value = true;
|
|
6833
6838
|
for (const rule of props.rules) {
|
|
6834
|
-
if (results.length >=
|
|
6839
|
+
if (results.length >= Number(props.maxErrors ?? 1)) {
|
|
6835
6840
|
break;
|
|
6836
6841
|
}
|
|
6837
6842
|
const handler = typeof rule === 'function' ? rule : () => rule;
|
|
@@ -7892,7 +7897,10 @@
|
|
|
7892
7897
|
type: [Boolean, Object],
|
|
7893
7898
|
default: true
|
|
7894
7899
|
},
|
|
7895
|
-
text:
|
|
7900
|
+
text: {
|
|
7901
|
+
type: [String, Number, Boolean],
|
|
7902
|
+
default: undefined
|
|
7903
|
+
},
|
|
7896
7904
|
modelValue: {
|
|
7897
7905
|
type: Boolean,
|
|
7898
7906
|
default: true
|
|
@@ -8061,7 +8069,7 @@
|
|
|
8061
8069
|
toggle: group?.toggle,
|
|
8062
8070
|
value: group?.value.value,
|
|
8063
8071
|
disabled: props.disabled
|
|
8064
|
-
}) ?? props.text]), hasAppend && vue.createVNode("div", {
|
|
8072
|
+
}) ?? vue.toDisplayString(props.text)]), hasAppend && vue.createVNode("div", {
|
|
8065
8073
|
"key": "append",
|
|
8066
8074
|
"class": "v-chip__append"
|
|
8067
8075
|
}, [!slots.append ? vue.createVNode(vue.Fragment, null, [props.appendIcon && vue.createVNode(VIcon, {
|
|
@@ -8940,8 +8948,14 @@
|
|
|
8940
8948
|
default: true
|
|
8941
8949
|
},
|
|
8942
8950
|
slim: Boolean,
|
|
8943
|
-
subtitle:
|
|
8944
|
-
|
|
8951
|
+
subtitle: {
|
|
8952
|
+
type: [String, Number, Boolean],
|
|
8953
|
+
default: undefined
|
|
8954
|
+
},
|
|
8955
|
+
title: {
|
|
8956
|
+
type: [String, Number, Boolean],
|
|
8957
|
+
default: undefined
|
|
8958
|
+
},
|
|
8945
8959
|
value: null,
|
|
8946
8960
|
onClick: EventProp(),
|
|
8947
8961
|
onClickOnce: EventProp(),
|
|
@@ -9134,13 +9148,13 @@
|
|
|
9134
9148
|
}, {
|
|
9135
9149
|
default: () => [slots.title?.({
|
|
9136
9150
|
title: props.title
|
|
9137
|
-
}) ?? props.title]
|
|
9151
|
+
}) ?? vue.toDisplayString(props.title)]
|
|
9138
9152
|
}), hasSubtitle && vue.createVNode(VListItemSubtitle, {
|
|
9139
9153
|
"key": "subtitle"
|
|
9140
9154
|
}, {
|
|
9141
9155
|
default: () => [slots.subtitle?.({
|
|
9142
9156
|
subtitle: props.subtitle
|
|
9143
|
-
}) ?? props.subtitle]
|
|
9157
|
+
}) ?? vue.toDisplayString(props.subtitle)]
|
|
9144
9158
|
}), slots.default?.(slotProps.value)]), hasAppend && vue.createVNode("div", {
|
|
9145
9159
|
"key": "append",
|
|
9146
9160
|
"class": "v-list-item__append"
|
|
@@ -10741,10 +10755,10 @@
|
|
|
10741
10755
|
activeChildren: new Set()
|
|
10742
10756
|
});
|
|
10743
10757
|
vue.provide(StackSymbol, stack);
|
|
10744
|
-
const _zIndex = vue.shallowRef(
|
|
10758
|
+
const _zIndex = vue.shallowRef(Number(zIndex.value));
|
|
10745
10759
|
useToggleScope(isActive, () => {
|
|
10746
10760
|
const lastZIndex = globalStack.at(-1)?.[1];
|
|
10747
|
-
_zIndex.value = lastZIndex ? lastZIndex + 10 :
|
|
10761
|
+
_zIndex.value = lastZIndex ? lastZIndex + 10 : Number(zIndex.value);
|
|
10748
10762
|
if (createStackEntry) {
|
|
10749
10763
|
globalStack.push([vm.uid, _zIndex.value]);
|
|
10750
10764
|
}
|
|
@@ -10953,6 +10967,7 @@
|
|
|
10953
10967
|
emits: {
|
|
10954
10968
|
'click:outside': e => true,
|
|
10955
10969
|
'update:modelValue': value => true,
|
|
10970
|
+
keydown: e => true,
|
|
10956
10971
|
afterEnter: () => true,
|
|
10957
10972
|
afterLeave: () => true
|
|
10958
10973
|
},
|
|
@@ -11065,6 +11080,9 @@
|
|
|
11065
11080
|
});
|
|
11066
11081
|
function onKeydown(e) {
|
|
11067
11082
|
if (e.key === 'Escape' && globalTop.value) {
|
|
11083
|
+
if (!contentEl.value?.contains(document.activeElement)) {
|
|
11084
|
+
emit('keydown', e);
|
|
11085
|
+
}
|
|
11068
11086
|
if (!props.persistent) {
|
|
11069
11087
|
isActive.value = false;
|
|
11070
11088
|
if (contentEl.value?.contains(document.activeElement)) {
|
|
@@ -11073,6 +11091,10 @@
|
|
|
11073
11091
|
} else animateClick();
|
|
11074
11092
|
}
|
|
11075
11093
|
}
|
|
11094
|
+
function onKeydownSelf(e) {
|
|
11095
|
+
if (e.key === 'Escape' && !globalTop.value) return;
|
|
11096
|
+
emit('keydown', e);
|
|
11097
|
+
}
|
|
11076
11098
|
const router = useRouter();
|
|
11077
11099
|
useToggleScope(() => props.closeOnBack, () => {
|
|
11078
11100
|
useBackButton(router, next => {
|
|
@@ -11135,7 +11157,8 @@
|
|
|
11135
11157
|
'--v-overlay-opacity': props.opacity,
|
|
11136
11158
|
top: convertToUnit(top.value)
|
|
11137
11159
|
}, props.style],
|
|
11138
|
-
"ref": root
|
|
11160
|
+
"ref": root,
|
|
11161
|
+
"onKeydown": onKeydownSelf
|
|
11139
11162
|
}, scopeId, attrs), [vue.createVNode(Scrim, vue.mergeProps({
|
|
11140
11163
|
"color": scrimColor,
|
|
11141
11164
|
"modelValue": isActive.value && !!props.scrim,
|
|
@@ -11806,11 +11829,6 @@
|
|
|
11806
11829
|
};
|
|
11807
11830
|
}
|
|
11808
11831
|
});
|
|
11809
|
-
// TODO: this is kinda slow, might be better to implicitly inherit props instead
|
|
11810
|
-
function filterFieldProps(attrs) {
|
|
11811
|
-
const keys = Object.keys(VField.props).filter(k => !isOn(k) && k !== 'class' && k !== 'style');
|
|
11812
|
-
return pick(attrs, keys);
|
|
11813
|
-
}
|
|
11814
11832
|
|
|
11815
11833
|
// Types
|
|
11816
11834
|
|
|
@@ -11918,7 +11936,7 @@
|
|
|
11918
11936
|
modelValue: _,
|
|
11919
11937
|
...inputProps
|
|
11920
11938
|
} = VInput.filterProps(props);
|
|
11921
|
-
const fieldProps =
|
|
11939
|
+
const fieldProps = VField.filterProps(props);
|
|
11922
11940
|
return vue.createVNode(VInput, vue.mergeProps({
|
|
11923
11941
|
"ref": vInputRef,
|
|
11924
11942
|
"modelValue": model.value,
|
|
@@ -13526,11 +13544,11 @@
|
|
|
13526
13544
|
locationStyles
|
|
13527
13545
|
} = useLocation(props, true, side => {
|
|
13528
13546
|
const base = props.floating ? props.dot ? 2 : 4 : props.dot ? 8 : 12;
|
|
13529
|
-
return base + (['top', 'bottom'].includes(side) ?
|
|
13547
|
+
return base + (['top', 'bottom'].includes(side) ? Number(props.offsetY ?? 0) : ['left', 'right'].includes(side) ? Number(props.offsetX ?? 0) : 0);
|
|
13530
13548
|
});
|
|
13531
13549
|
useRender(() => {
|
|
13532
13550
|
const value = Number(props.content);
|
|
13533
|
-
const content = !props.max || isNaN(value) ? props.content : value <=
|
|
13551
|
+
const content = !props.max || isNaN(value) ? props.content : value <= Number(props.max) ? value : `${props.max}+`;
|
|
13534
13552
|
const [badgeAttrs, attrs] = pickWithRest(ctx.attrs, ['aria-atomic', 'aria-label', 'aria-live', 'role', 'title']);
|
|
13535
13553
|
return vue.createVNode(props.tag, vue.mergeProps({
|
|
13536
13554
|
"class": ['v-badge', {
|
|
@@ -14229,8 +14247,14 @@
|
|
|
14229
14247
|
appendIcon: IconValue,
|
|
14230
14248
|
prependAvatar: String,
|
|
14231
14249
|
prependIcon: IconValue,
|
|
14232
|
-
subtitle:
|
|
14233
|
-
|
|
14250
|
+
subtitle: {
|
|
14251
|
+
type: [String, Number, Boolean],
|
|
14252
|
+
default: undefined
|
|
14253
|
+
},
|
|
14254
|
+
title: {
|
|
14255
|
+
type: [String, Number, Boolean],
|
|
14256
|
+
default: undefined
|
|
14257
|
+
},
|
|
14234
14258
|
...makeComponentProps(),
|
|
14235
14259
|
...makeDensityProps()
|
|
14236
14260
|
}, 'VCardItem');
|
|
@@ -14280,11 +14304,11 @@
|
|
|
14280
14304
|
}, [hasTitle && vue.createVNode(VCardTitle, {
|
|
14281
14305
|
"key": "title"
|
|
14282
14306
|
}, {
|
|
14283
|
-
default: () => [slots.title?.() ?? props.title]
|
|
14307
|
+
default: () => [slots.title?.() ?? vue.toDisplayString(props.title)]
|
|
14284
14308
|
}), hasSubtitle && vue.createVNode(VCardSubtitle, {
|
|
14285
14309
|
"key": "subtitle"
|
|
14286
14310
|
}, {
|
|
14287
|
-
default: () => [slots.subtitle?.() ?? props.subtitle]
|
|
14311
|
+
default: () => [slots.subtitle?.() ?? vue.toDisplayString(props.subtitle)]
|
|
14288
14312
|
}), slots.default?.()]), hasAppend && vue.createVNode("div", {
|
|
14289
14313
|
"key": "append",
|
|
14290
14314
|
"class": "v-card-item__append"
|
|
@@ -14356,9 +14380,18 @@
|
|
|
14356
14380
|
type: [Boolean, Object],
|
|
14357
14381
|
default: true
|
|
14358
14382
|
},
|
|
14359
|
-
subtitle:
|
|
14360
|
-
|
|
14361
|
-
|
|
14383
|
+
subtitle: {
|
|
14384
|
+
type: [String, Number, Boolean],
|
|
14385
|
+
default: undefined
|
|
14386
|
+
},
|
|
14387
|
+
text: {
|
|
14388
|
+
type: [String, Number, Boolean],
|
|
14389
|
+
default: undefined
|
|
14390
|
+
},
|
|
14391
|
+
title: {
|
|
14392
|
+
type: [String, Number, Boolean],
|
|
14393
|
+
default: undefined
|
|
14394
|
+
},
|
|
14362
14395
|
...makeBorderProps(),
|
|
14363
14396
|
...makeComponentProps(),
|
|
14364
14397
|
...makeDensityProps(),
|
|
@@ -14827,7 +14860,7 @@
|
|
|
14827
14860
|
vue.onMounted(startTimeout);
|
|
14828
14861
|
function startTimeout() {
|
|
14829
14862
|
if (!props.cycle || !windowRef.value) return;
|
|
14830
|
-
slideTimeout = window.setTimeout(windowRef.value.group.next,
|
|
14863
|
+
slideTimeout = window.setTimeout(windowRef.value.group.next, Number(props.interval) > 0 ? Number(props.interval) : 6000);
|
|
14831
14864
|
}
|
|
14832
14865
|
function restartTimeout() {
|
|
14833
14866
|
window.clearTimeout(slideTimeout);
|
|
@@ -15553,7 +15586,7 @@
|
|
|
15553
15586
|
const useSteps = props => {
|
|
15554
15587
|
const min = vue.computed(() => parseFloat(props.min));
|
|
15555
15588
|
const max = vue.computed(() => parseFloat(props.max));
|
|
15556
|
-
const step = vue.computed(() =>
|
|
15589
|
+
const step = vue.computed(() => Number(props.step) > 0 ? parseFloat(props.step) : 0);
|
|
15557
15590
|
const decimals = vue.computed(() => Math.max(getDecimals(step.value), getDecimals(min.value)));
|
|
15558
15591
|
function roundValue(value) {
|
|
15559
15592
|
value = parseFloat(value);
|
|
@@ -18508,8 +18541,8 @@
|
|
|
18508
18541
|
}, 'DataTable-paginate');
|
|
18509
18542
|
const VDataTablePaginationSymbol = Symbol.for('vuetify:data-table-pagination');
|
|
18510
18543
|
function createPagination(props) {
|
|
18511
|
-
const page = useProxiedModel(props, 'page', undefined, value =>
|
|
18512
|
-
const itemsPerPage = useProxiedModel(props, 'itemsPerPage', undefined, value =>
|
|
18544
|
+
const page = useProxiedModel(props, 'page', undefined, value => Number(value ?? 1));
|
|
18545
|
+
const itemsPerPage = useProxiedModel(props, 'itemsPerPage', undefined, value => Number(value ?? 10));
|
|
18513
18546
|
return {
|
|
18514
18547
|
page,
|
|
18515
18548
|
itemsPerPage
|
|
@@ -19298,7 +19331,7 @@
|
|
|
19298
19331
|
const minButtons = props.showFirstLastPage ? 5 : 3;
|
|
19299
19332
|
return Math.max(0, Math.floor(
|
|
19300
19333
|
// Round to two decimal places to avoid floating point errors
|
|
19301
|
-
|
|
19334
|
+
Number(((totalWidth - itemWidth * minButtons) / itemWidth).toFixed(2))));
|
|
19302
19335
|
}
|
|
19303
19336
|
const range = vue.computed(() => {
|
|
19304
19337
|
if (length.value <= 0 || isNaN(length.value) || length.value > Number.MAX_SAFE_INTEGER) return [];
|
|
@@ -19369,7 +19402,7 @@
|
|
|
19369
19402
|
ref,
|
|
19370
19403
|
ellipsis: false,
|
|
19371
19404
|
icon: true,
|
|
19372
|
-
disabled: !!props.disabled ||
|
|
19405
|
+
disabled: !!props.disabled || Number(props.length) < 2,
|
|
19373
19406
|
color: isActive ? props.activeColor : props.color,
|
|
19374
19407
|
'aria-current': isActive,
|
|
19375
19408
|
'aria-label': t(isActive ? props.currentPageAriaLabel : props.pageAriaLabel, item),
|
|
@@ -19418,7 +19451,7 @@
|
|
|
19418
19451
|
refs.value[currentIndex]?.$el.focus();
|
|
19419
19452
|
}
|
|
19420
19453
|
function onKeydown(e) {
|
|
19421
|
-
if (e.key === keyValues.left && !props.disabled && page.value >
|
|
19454
|
+
if (e.key === keyValues.left && !props.disabled && page.value > Number(props.start)) {
|
|
19422
19455
|
page.value = page.value - 1;
|
|
19423
19456
|
vue.nextTick(updateFocus);
|
|
19424
19457
|
} else if (e.key === keyValues.right && !props.disabled && page.value < start.value + length.value - 1) {
|
|
@@ -19751,8 +19784,10 @@
|
|
|
19751
19784
|
} else {
|
|
19752
19785
|
if (!seenFixed) {
|
|
19753
19786
|
item.lastFixed = true;
|
|
19754
|
-
} else if (isNaN(
|
|
19787
|
+
} else if (isNaN(Number(item.width))) {
|
|
19755
19788
|
consoleError(`Multiple fixed columns should have a static width (key: ${item.key})`);
|
|
19789
|
+
} else {
|
|
19790
|
+
item.minWidth = Math.max(Number(item.width) || 0, Number(item.minWidth) || 0);
|
|
19756
19791
|
}
|
|
19757
19792
|
seenFixed = true;
|
|
19758
19793
|
}
|
|
@@ -20312,22 +20347,37 @@
|
|
|
20312
20347
|
"width": !mobile.value ? column.width : undefined
|
|
20313
20348
|
}, cellProps, columnCellProps), {
|
|
20314
20349
|
default: () => {
|
|
20315
|
-
if (slots[slotName] && !mobile.value) return slots[slotName]?.(slotProps);
|
|
20316
20350
|
if (column.key === 'data-table-select') {
|
|
20317
|
-
return slots['item.data-table-select']?.(
|
|
20351
|
+
return slots['item.data-table-select']?.({
|
|
20352
|
+
...slotProps,
|
|
20353
|
+
props: {
|
|
20354
|
+
disabled: !item.selectable,
|
|
20355
|
+
modelValue: isSelected([item]),
|
|
20356
|
+
onClick: vue.withModifiers(() => toggleSelect(item), ['stop'])
|
|
20357
|
+
}
|
|
20358
|
+
}) ?? vue.createVNode(VCheckboxBtn, {
|
|
20318
20359
|
"disabled": !item.selectable,
|
|
20319
20360
|
"modelValue": isSelected([item]),
|
|
20320
20361
|
"onClick": vue.withModifiers(() => toggleSelect(item), ['stop'])
|
|
20321
20362
|
}, null);
|
|
20322
20363
|
}
|
|
20323
20364
|
if (column.key === 'data-table-expand') {
|
|
20324
|
-
return slots['item.data-table-expand']?.(
|
|
20365
|
+
return slots['item.data-table-expand']?.({
|
|
20366
|
+
...slotProps,
|
|
20367
|
+
props: {
|
|
20368
|
+
icon: isExpanded(item) ? '$collapse' : '$expand',
|
|
20369
|
+
size: 'small',
|
|
20370
|
+
variant: 'text',
|
|
20371
|
+
onClick: vue.withModifiers(() => toggleExpand(item), ['stop'])
|
|
20372
|
+
}
|
|
20373
|
+
}) ?? vue.createVNode(VBtn, {
|
|
20325
20374
|
"icon": isExpanded(item) ? '$collapse' : '$expand',
|
|
20326
20375
|
"size": "small",
|
|
20327
20376
|
"variant": "text",
|
|
20328
20377
|
"onClick": vue.withModifiers(() => toggleExpand(item), ['stop'])
|
|
20329
20378
|
}, null);
|
|
20330
20379
|
}
|
|
20380
|
+
if (slots[slotName] && !mobile.value) return slots[slotName](slotProps);
|
|
20331
20381
|
const displayValue = vue.toDisplayString(slotProps.value);
|
|
20332
20382
|
return !mobile.value ? displayValue : vue.createVNode(vue.Fragment, null, [vue.createVNode("div", {
|
|
20333
20383
|
"class": "v-data-table__td-title"
|
|
@@ -21515,30 +21565,30 @@
|
|
|
21515
21565
|
"class": ['v-date-picker-controls']
|
|
21516
21566
|
}, [vue.createVNode(VBtn, {
|
|
21517
21567
|
"class": "v-date-picker-controls__month-btn",
|
|
21568
|
+
"data-testid": "month-btn",
|
|
21518
21569
|
"disabled": disableMonth.value,
|
|
21519
21570
|
"text": props.text,
|
|
21520
21571
|
"variant": "text",
|
|
21521
21572
|
"rounded": true,
|
|
21522
21573
|
"onClick": onClickMonth
|
|
21523
21574
|
}, null), vue.createVNode(VBtn, {
|
|
21524
|
-
"key": "mode-btn",
|
|
21525
21575
|
"class": "v-date-picker-controls__mode-btn",
|
|
21576
|
+
"data-testid": "year-btn",
|
|
21526
21577
|
"disabled": disableYear.value,
|
|
21527
21578
|
"density": "comfortable",
|
|
21528
21579
|
"icon": props.modeIcon,
|
|
21529
21580
|
"variant": "text",
|
|
21530
21581
|
"onClick": onClickYear
|
|
21531
|
-
}, null), vue.createVNode(VSpacer, {
|
|
21532
|
-
"key": "mode-spacer"
|
|
21533
|
-
}, null), vue.createVNode("div", {
|
|
21534
|
-
"key": "month-buttons",
|
|
21582
|
+
}, null), vue.createVNode(VSpacer, null, null), vue.createVNode("div", {
|
|
21535
21583
|
"class": "v-date-picker-controls__month"
|
|
21536
21584
|
}, [vue.createVNode(VBtn, {
|
|
21585
|
+
"data-testid": "prev-month",
|
|
21537
21586
|
"disabled": disablePrev.value,
|
|
21538
21587
|
"icon": props.prevIcon,
|
|
21539
21588
|
"variant": "text",
|
|
21540
21589
|
"onClick": onClickPrev
|
|
21541
21590
|
}, null), vue.createVNode(VBtn, {
|
|
21591
|
+
"data-testid": "next-month",
|
|
21542
21592
|
"disabled": disableNext.value,
|
|
21543
21593
|
"icon": props.nextIcon,
|
|
21544
21594
|
"variant": "text",
|
|
@@ -21656,7 +21706,7 @@
|
|
|
21656
21706
|
}, 'calendar');
|
|
21657
21707
|
function useCalendar(props) {
|
|
21658
21708
|
const adapter = useDate();
|
|
21659
|
-
const model = useProxiedModel(props, 'modelValue', [], v => wrapInArray(v));
|
|
21709
|
+
const model = useProxiedModel(props, 'modelValue', [], v => wrapInArray(v).map(i => adapter.date(i)));
|
|
21660
21710
|
const displayValue = vue.computed(() => {
|
|
21661
21711
|
if (props.displayValue) return adapter.date(props.displayValue);
|
|
21662
21712
|
if (model.value.length > 0) return adapter.date(model.value[0]);
|
|
@@ -22237,7 +22287,7 @@
|
|
|
22237
22287
|
const {
|
|
22238
22288
|
t
|
|
22239
22289
|
} = useLocale();
|
|
22240
|
-
const model = useProxiedModel(props, 'modelValue', undefined, v => wrapInArray(v), v => props.multiple ? v : v[0]);
|
|
22290
|
+
const model = useProxiedModel(props, 'modelValue', undefined, v => wrapInArray(v).map(i => adapter.date(i)), v => props.multiple ? v : v[0]);
|
|
22241
22291
|
const viewMode = useProxiedModel(props, 'viewMode');
|
|
22242
22292
|
// const inputMode = useProxiedModel(props, 'inputMode')
|
|
22243
22293
|
|
|
@@ -23079,7 +23129,7 @@
|
|
|
23079
23129
|
modelValue: _,
|
|
23080
23130
|
...inputProps
|
|
23081
23131
|
} = VInput.filterProps(props);
|
|
23082
|
-
const fieldProps =
|
|
23132
|
+
const fieldProps = VField.filterProps(props);
|
|
23083
23133
|
return vue.createVNode(VInput, vue.mergeProps({
|
|
23084
23134
|
"ref": vInputRef,
|
|
23085
23135
|
"modelValue": props.multiple ? model.value : model.value[0],
|
|
@@ -24698,7 +24748,7 @@
|
|
|
24698
24748
|
vue.watch(displayHeight, onScroll);
|
|
24699
24749
|
vue.watch(() => contentRect.value?.height, onScroll);
|
|
24700
24750
|
const scale = vue.computed(() => {
|
|
24701
|
-
return 1 - clamp(
|
|
24751
|
+
return 1 - clamp(Number(props.scale));
|
|
24702
24752
|
});
|
|
24703
24753
|
let frame = -1;
|
|
24704
24754
|
function onScroll() {
|
|
@@ -25119,7 +25169,7 @@
|
|
|
25119
25169
|
themeClasses
|
|
25120
25170
|
} = provideTheme(props);
|
|
25121
25171
|
const rating = useProxiedModel(props, 'modelValue');
|
|
25122
|
-
const normalizedValue = vue.computed(() => clamp(parseFloat(rating.value), 0,
|
|
25172
|
+
const normalizedValue = vue.computed(() => clamp(parseFloat(rating.value), 0, Number(props.length)));
|
|
25123
25173
|
const range = vue.computed(() => createRange(Number(props.length), 1));
|
|
25124
25174
|
const increments = vue.computed(() => range.value.flatMap(v => props.halfIncrements ? [v - 0.5, v] : [v]));
|
|
25125
25175
|
const hoverIndex = vue.shallowRef(-1);
|
|
@@ -25730,7 +25780,7 @@
|
|
|
25730
25780
|
const height = Math.abs(gridY * value);
|
|
25731
25781
|
return {
|
|
25732
25782
|
x: minX + index * gridX,
|
|
25733
|
-
y: horizonY - height +
|
|
25783
|
+
y: horizonY - height + Number(value < 0) * height,
|
|
25734
25784
|
height,
|
|
25735
25785
|
value
|
|
25736
25786
|
};
|
|
@@ -27168,10 +27218,10 @@
|
|
|
27168
27218
|
}
|
|
27169
27219
|
}
|
|
27170
27220
|
const sizerRef = vue.ref();
|
|
27171
|
-
const rows = vue.ref(
|
|
27221
|
+
const rows = vue.ref(Number(props.rows));
|
|
27172
27222
|
const isPlainOrUnderlined = vue.computed(() => ['plain', 'underlined'].includes(props.variant));
|
|
27173
27223
|
vue.watchEffect(() => {
|
|
27174
|
-
if (!props.autoGrow) rows.value =
|
|
27224
|
+
if (!props.autoGrow) rows.value = Number(props.rows);
|
|
27175
27225
|
});
|
|
27176
27226
|
function calculateInputHeight() {
|
|
27177
27227
|
if (!props.autoGrow) return;
|
|
@@ -27214,7 +27264,7 @@
|
|
|
27214
27264
|
modelValue: _,
|
|
27215
27265
|
...inputProps
|
|
27216
27266
|
} = VInput.filterProps(props);
|
|
27217
|
-
const fieldProps =
|
|
27267
|
+
const fieldProps = VField.filterProps(props);
|
|
27218
27268
|
return vue.createVNode(VInput, vue.mergeProps({
|
|
27219
27269
|
"ref": vInputRef,
|
|
27220
27270
|
"modelValue": model.value,
|
|
@@ -28206,11 +28256,13 @@
|
|
|
28206
28256
|
// Types
|
|
28207
28257
|
|
|
28208
28258
|
const makeVDateInputProps = propsFactory({
|
|
28259
|
+
displayFormat: [Function, String],
|
|
28209
28260
|
hideActions: Boolean,
|
|
28210
28261
|
location: {
|
|
28211
28262
|
type: String,
|
|
28212
28263
|
default: 'bottom start'
|
|
28213
28264
|
},
|
|
28265
|
+
...makeDisplayProps(),
|
|
28214
28266
|
...makeFocusProps(),
|
|
28215
28267
|
...makeVConfirmEditProps(),
|
|
28216
28268
|
...makeVTextFieldProps({
|
|
@@ -28218,24 +28270,30 @@
|
|
|
28218
28270
|
prependIcon: '$calendar'
|
|
28219
28271
|
}),
|
|
28220
28272
|
...omit(makeVDatePickerProps({
|
|
28221
|
-
|
|
28222
|
-
|
|
28273
|
+
hideHeader: true,
|
|
28274
|
+
showAdjacentMonths: true
|
|
28223
28275
|
}), ['active', 'location', 'rounded'])
|
|
28224
28276
|
}, 'VDateInput');
|
|
28225
28277
|
const VDateInput = genericComponent()({
|
|
28226
28278
|
name: 'VDateInput',
|
|
28227
28279
|
props: makeVDateInputProps(),
|
|
28228
28280
|
emits: {
|
|
28281
|
+
save: value => true,
|
|
28282
|
+
cancel: () => true,
|
|
28229
28283
|
'update:modelValue': val => true
|
|
28230
28284
|
},
|
|
28231
28285
|
setup(props, _ref) {
|
|
28232
28286
|
let {
|
|
28287
|
+
emit,
|
|
28233
28288
|
slots
|
|
28234
28289
|
} = _ref;
|
|
28235
28290
|
const {
|
|
28236
28291
|
t
|
|
28237
28292
|
} = useLocale();
|
|
28238
28293
|
const adapter = useDate();
|
|
28294
|
+
const {
|
|
28295
|
+
mobile
|
|
28296
|
+
} = useDisplay();
|
|
28239
28297
|
const {
|
|
28240
28298
|
isFocused,
|
|
28241
28299
|
focus,
|
|
@@ -28243,7 +28301,14 @@
|
|
|
28243
28301
|
} = useFocus(props);
|
|
28244
28302
|
const model = useProxiedModel(props, 'modelValue', props.multiple ? [] : null, val => Array.isArray(val) ? val.map(item => adapter.toJsDate(item)) : val ? adapter.toJsDate(val) : val, val => Array.isArray(val) ? val.map(item => adapter.date(item)) : val ? adapter.date(val) : val);
|
|
28245
28303
|
const menu = vue.shallowRef(false);
|
|
28304
|
+
const isEditingInput = vue.shallowRef(false);
|
|
28246
28305
|
const vDateInputRef = vue.ref();
|
|
28306
|
+
function format(date) {
|
|
28307
|
+
if (typeof props.displayFormat === 'function') {
|
|
28308
|
+
return props.displayFormat(date);
|
|
28309
|
+
}
|
|
28310
|
+
return adapter.format(date, props.displayFormat ?? 'keyboardDate');
|
|
28311
|
+
}
|
|
28247
28312
|
const display = vue.computed(() => {
|
|
28248
28313
|
const value = wrapInArray(model.value);
|
|
28249
28314
|
if (!value.length) return null;
|
|
@@ -28253,11 +28318,22 @@
|
|
|
28253
28318
|
if (props.multiple === 'range') {
|
|
28254
28319
|
const start = value[0];
|
|
28255
28320
|
const end = value[value.length - 1];
|
|
28256
|
-
|
|
28321
|
+
if (!adapter.isValid(start) || !adapter.isValid(end)) return '';
|
|
28322
|
+
return `${format(adapter.date(start))} - ${format(adapter.date(end))}`;
|
|
28257
28323
|
}
|
|
28258
|
-
return adapter.isValid(model.value) ?
|
|
28324
|
+
return adapter.isValid(model.value) ? format(adapter.date(model.value)) : '';
|
|
28325
|
+
});
|
|
28326
|
+
const inputmode = vue.computed(() => {
|
|
28327
|
+
if (!mobile.value) return undefined;
|
|
28328
|
+
if (isEditingInput.value) return 'text';
|
|
28329
|
+
return 'none';
|
|
28259
28330
|
});
|
|
28260
28331
|
const isInteractive = vue.computed(() => !props.disabled && !props.readonly);
|
|
28332
|
+
const isReadonly = vue.computed(() => !(mobile.value && isEditingInput.value) && props.readonly);
|
|
28333
|
+
vue.watch(menu, val => {
|
|
28334
|
+
if (val) return;
|
|
28335
|
+
isEditingInput.value = false;
|
|
28336
|
+
});
|
|
28261
28337
|
function onKeydown(e) {
|
|
28262
28338
|
if (e.key !== 'Enter') return;
|
|
28263
28339
|
if (!menu.value || !isFocused.value) {
|
|
@@ -28265,20 +28341,43 @@
|
|
|
28265
28341
|
return;
|
|
28266
28342
|
}
|
|
28267
28343
|
const target = e.target;
|
|
28268
|
-
model.value = target.value;
|
|
28344
|
+
model.value = target.value === '' ? null : target.value;
|
|
28269
28345
|
}
|
|
28270
28346
|
function onClick(e) {
|
|
28271
28347
|
e.preventDefault();
|
|
28272
28348
|
e.stopPropagation();
|
|
28273
|
-
menu.value
|
|
28349
|
+
if (menu.value && mobile.value) {
|
|
28350
|
+
isEditingInput.value = true;
|
|
28351
|
+
} else {
|
|
28352
|
+
menu.value = true;
|
|
28353
|
+
}
|
|
28354
|
+
}
|
|
28355
|
+
function onCancel() {
|
|
28356
|
+
emit('cancel');
|
|
28357
|
+
menu.value = false;
|
|
28358
|
+
isEditingInput.value = false;
|
|
28274
28359
|
}
|
|
28275
|
-
function onSave() {
|
|
28360
|
+
function onSave(value) {
|
|
28361
|
+
emit('save', value);
|
|
28276
28362
|
menu.value = false;
|
|
28277
28363
|
}
|
|
28278
|
-
function
|
|
28364
|
+
function onUpdateDisplayModel(value) {
|
|
28279
28365
|
if (value != null) return;
|
|
28280
28366
|
model.value = null;
|
|
28281
28367
|
}
|
|
28368
|
+
function onUpdateMenuModel(isMenuOpen) {
|
|
28369
|
+
if (isMenuOpen) return;
|
|
28370
|
+
isEditingInput.value = false;
|
|
28371
|
+
}
|
|
28372
|
+
function onBlur() {
|
|
28373
|
+
blur();
|
|
28374
|
+
|
|
28375
|
+
// When in mobile mode and editing is done (due to keyboard dismissal), close the menu
|
|
28376
|
+
if (mobile.value && isEditingInput.value && !isFocused.value) {
|
|
28377
|
+
menu.value = false;
|
|
28378
|
+
isEditingInput.value = false;
|
|
28379
|
+
}
|
|
28380
|
+
}
|
|
28282
28381
|
useRender(() => {
|
|
28283
28382
|
const confirmEditProps = VConfirmEdit.filterProps(props);
|
|
28284
28383
|
const datePickerProps = VDatePicker.filterProps(omit(props, ['active', 'location', 'rounded']));
|
|
@@ -28289,20 +28388,23 @@
|
|
|
28289
28388
|
"class": props.class,
|
|
28290
28389
|
"style": props.style,
|
|
28291
28390
|
"modelValue": display.value,
|
|
28391
|
+
"inputmode": inputmode.value,
|
|
28392
|
+
"readonly": isReadonly.value,
|
|
28292
28393
|
"onKeydown": isInteractive.value ? onKeydown : undefined,
|
|
28293
28394
|
"focused": menu.value || isFocused.value,
|
|
28294
28395
|
"onFocus": focus,
|
|
28295
|
-
"onBlur":
|
|
28396
|
+
"onBlur": onBlur,
|
|
28296
28397
|
"onClick:control": isInteractive.value ? onClick : undefined,
|
|
28297
28398
|
"onClick:prepend": isInteractive.value ? onClick : undefined,
|
|
28298
|
-
"onUpdate:modelValue":
|
|
28399
|
+
"onUpdate:modelValue": onUpdateDisplayModel
|
|
28299
28400
|
}), {
|
|
28300
28401
|
...slots,
|
|
28301
28402
|
default: () => vue.createVNode(vue.Fragment, null, [vue.createVNode(VMenu, {
|
|
28302
28403
|
"modelValue": menu.value,
|
|
28303
|
-
"onUpdate:modelValue": $event => menu.value = $event,
|
|
28404
|
+
"onUpdate:modelValue": [$event => menu.value = $event, onUpdateMenuModel],
|
|
28304
28405
|
"activator": "parent",
|
|
28305
28406
|
"min-width": "0",
|
|
28407
|
+
"eager": isFocused.value,
|
|
28306
28408
|
"location": props.location,
|
|
28307
28409
|
"closeOnContentClick": false,
|
|
28308
28410
|
"openOnClick": false
|
|
@@ -28311,7 +28413,7 @@
|
|
|
28311
28413
|
"modelValue": model.value,
|
|
28312
28414
|
"onUpdate:modelValue": $event => model.value = $event,
|
|
28313
28415
|
"onSave": onSave,
|
|
28314
|
-
"onCancel":
|
|
28416
|
+
"onCancel": onCancel
|
|
28315
28417
|
}), {
|
|
28316
28418
|
default: _ref2 => {
|
|
28317
28419
|
let {
|
|
@@ -28321,16 +28423,21 @@
|
|
|
28321
28423
|
cancel,
|
|
28322
28424
|
isPristine
|
|
28323
28425
|
} = _ref2;
|
|
28426
|
+
function onUpdateModel(value) {
|
|
28427
|
+
if (!props.hideActions) {
|
|
28428
|
+
proxyModel.value = value;
|
|
28429
|
+
} else {
|
|
28430
|
+
model.value = value;
|
|
28431
|
+
if (!props.multiple) {
|
|
28432
|
+
menu.value = false;
|
|
28433
|
+
}
|
|
28434
|
+
}
|
|
28435
|
+
emit('save', value);
|
|
28436
|
+
vDateInputRef.value?.blur();
|
|
28437
|
+
}
|
|
28324
28438
|
return vue.createVNode(VDatePicker, vue.mergeProps(datePickerProps, {
|
|
28325
28439
|
"modelValue": props.hideActions ? model.value : proxyModel.value,
|
|
28326
|
-
"onUpdate:modelValue":
|
|
28327
|
-
if (!props.hideActions) {
|
|
28328
|
-
proxyModel.value = val;
|
|
28329
|
-
} else {
|
|
28330
|
-
model.value = val;
|
|
28331
|
-
if (!props.multiple) menu.value = false;
|
|
28332
|
-
}
|
|
28333
|
-
},
|
|
28440
|
+
"onUpdate:modelValue": value => onUpdateModel(value),
|
|
28334
28441
|
"onMousedown": e => e.preventDefault()
|
|
28335
28442
|
}), {
|
|
28336
28443
|
actions: !props.hideActions ? () => slots.actions?.({
|
|
@@ -28542,8 +28649,9 @@
|
|
|
28542
28649
|
inputRef.value?.click();
|
|
28543
28650
|
}
|
|
28544
28651
|
function onClickRemove(index) {
|
|
28545
|
-
|
|
28546
|
-
|
|
28652
|
+
const newValue = model.value.filter((_, i) => i !== index);
|
|
28653
|
+
model.value = newValue;
|
|
28654
|
+
if (newValue.length > 0 || !inputRef.value) return;
|
|
28547
28655
|
inputRef.value.value = '';
|
|
28548
28656
|
}
|
|
28549
28657
|
useRender(() => {
|
|
@@ -28754,7 +28862,7 @@
|
|
|
28754
28862
|
return isFocused.value ? Number(fixed).toString() // trim zeros
|
|
28755
28863
|
: fixed;
|
|
28756
28864
|
}
|
|
28757
|
-
const model = useProxiedModel(props, 'modelValue', null, val => val ?? null, val => val == null ? val ?? null : clamp(
|
|
28865
|
+
const model = useProxiedModel(props, 'modelValue', null, val => val ?? null, val => val == null ? val ?? null : clamp(Number(val), props.min, props.max));
|
|
28758
28866
|
const _inputText = vue.shallowRef(null);
|
|
28759
28867
|
vue.watchEffect(() => {
|
|
28760
28868
|
if (isFocused.value && !controlsDisabled.value) ; else if (model.value == null) {
|
|
@@ -28769,8 +28877,8 @@
|
|
|
28769
28877
|
if (val === null || val === '') {
|
|
28770
28878
|
model.value = null;
|
|
28771
28879
|
_inputText.value = null;
|
|
28772
|
-
} else if (!isNaN(
|
|
28773
|
-
model.value =
|
|
28880
|
+
} else if (!isNaN(Number(val)) && Number(val) <= props.max && Number(val) >= props.min) {
|
|
28881
|
+
model.value = Number(val);
|
|
28774
28882
|
_inputText.value = val;
|
|
28775
28883
|
}
|
|
28776
28884
|
}
|
|
@@ -28894,8 +29002,8 @@
|
|
|
28894
29002
|
if (controlsDisabled.value) return;
|
|
28895
29003
|
if (!vTextFieldRef.value) return;
|
|
28896
29004
|
const actualText = vTextFieldRef.value.value;
|
|
28897
|
-
if (actualText && !isNaN(
|
|
28898
|
-
inputText.value = correctPrecision(clamp(
|
|
29005
|
+
if (actualText && !isNaN(Number(actualText))) {
|
|
29006
|
+
inputText.value = correctPrecision(clamp(Number(actualText), props.min, props.max));
|
|
28899
29007
|
} else {
|
|
28900
29008
|
inputText.value = null;
|
|
28901
29009
|
}
|
|
@@ -29769,14 +29877,7 @@
|
|
|
29769
29877
|
}
|
|
29770
29878
|
});
|
|
29771
29879
|
|
|
29772
|
-
//
|
|
29773
|
-
/* eslint-disable */
|
|
29774
|
-
var SelectingTimes = /*#__PURE__*/function (SelectingTimes) {
|
|
29775
|
-
SelectingTimes[SelectingTimes["Hour"] = 1] = "Hour";
|
|
29776
|
-
SelectingTimes[SelectingTimes["Minute"] = 2] = "Minute";
|
|
29777
|
-
SelectingTimes[SelectingTimes["Second"] = 3] = "Second";
|
|
29778
|
-
return SelectingTimes;
|
|
29779
|
-
}(SelectingTimes || {});
|
|
29880
|
+
// Types
|
|
29780
29881
|
|
|
29781
29882
|
const makeVTimePickerControlsProps = propsFactory({
|
|
29782
29883
|
ampm: Boolean,
|
|
@@ -29790,15 +29891,15 @@
|
|
|
29790
29891
|
period: String,
|
|
29791
29892
|
readonly: Boolean,
|
|
29792
29893
|
useSeconds: Boolean,
|
|
29793
|
-
|
|
29794
|
-
|
|
29894
|
+
value: Number,
|
|
29895
|
+
viewMode: String
|
|
29795
29896
|
}, 'VTimePickerControls');
|
|
29796
29897
|
const VTimePickerControls = genericComponent()({
|
|
29797
29898
|
name: 'VTimePickerControls',
|
|
29798
29899
|
props: makeVTimePickerControlsProps(),
|
|
29799
29900
|
emits: {
|
|
29800
29901
|
'update:period': data => true,
|
|
29801
|
-
'update:
|
|
29902
|
+
'update:viewMode': data => true
|
|
29802
29903
|
},
|
|
29803
29904
|
setup(props, _ref) {
|
|
29804
29905
|
let {
|
|
@@ -29821,8 +29922,8 @@
|
|
|
29821
29922
|
'v-time-picker-controls__time--with-seconds': props.useSeconds
|
|
29822
29923
|
}
|
|
29823
29924
|
}, [vue.createVNode(VBtn, {
|
|
29824
|
-
"active": props.
|
|
29825
|
-
"color": props.
|
|
29925
|
+
"active": props.viewMode === 'hour',
|
|
29926
|
+
"color": props.viewMode === 'hour' ? props.color : undefined,
|
|
29826
29927
|
"disabled": props.disabled,
|
|
29827
29928
|
"variant": "tonal",
|
|
29828
29929
|
"class": {
|
|
@@ -29831,24 +29932,24 @@
|
|
|
29831
29932
|
'v-time-picker-controls__time--with-seconds__btn': props.useSeconds
|
|
29832
29933
|
},
|
|
29833
29934
|
"text": props.hour == null ? '--' : pad(`${hour}`),
|
|
29834
|
-
"onClick": () => emit('update:
|
|
29935
|
+
"onClick": () => emit('update:viewMode', 'hour')
|
|
29835
29936
|
}, null), vue.createVNode("span", {
|
|
29836
29937
|
"class": ['v-time-picker-controls__time__separator', {
|
|
29837
29938
|
'v-time-picker-controls--with-seconds__time__separator': props.useSeconds
|
|
29838
29939
|
}]
|
|
29839
29940
|
}, [vue.createTextVNode(":")]), vue.createVNode(VBtn, {
|
|
29840
|
-
"active": props.
|
|
29841
|
-
"color": props.
|
|
29941
|
+
"active": props.viewMode === 'minute',
|
|
29942
|
+
"color": props.viewMode === 'minute' ? props.color : undefined,
|
|
29842
29943
|
"class": {
|
|
29843
29944
|
'v-time-picker-controls__time__btn': true,
|
|
29844
|
-
'v-time-picker-controls__time__btn__active': props.
|
|
29945
|
+
'v-time-picker-controls__time__btn__active': props.viewMode === 'minute',
|
|
29845
29946
|
'v-time-picker-controls__time--with-ampm__btn': props.ampm,
|
|
29846
29947
|
'v-time-picker-controls__time--with-seconds__btn': props.useSeconds
|
|
29847
29948
|
},
|
|
29848
29949
|
"disabled": props.disabled,
|
|
29849
29950
|
"variant": "tonal",
|
|
29850
29951
|
"text": props.minute == null ? '--' : pad(props.minute),
|
|
29851
|
-
"onClick": () => emit('update:
|
|
29952
|
+
"onClick": () => emit('update:viewMode', 'minute')
|
|
29852
29953
|
}, null), props.useSeconds && vue.createVNode("span", {
|
|
29853
29954
|
"class": ['v-time-picker-controls__time__separator', {
|
|
29854
29955
|
'v-time-picker-controls--with-seconds__time__separator': props.useSeconds
|
|
@@ -29856,11 +29957,13 @@
|
|
|
29856
29957
|
"key": "secondsDivider"
|
|
29857
29958
|
}, [vue.createTextVNode(":")]), props.useSeconds && vue.createVNode(VBtn, {
|
|
29858
29959
|
"key": "secondsVal",
|
|
29960
|
+
"active": props.viewMode === 'second',
|
|
29961
|
+
"color": props.viewMode === 'second' ? props.color : undefined,
|
|
29859
29962
|
"variant": "tonal",
|
|
29860
|
-
"onClick": () => emit('update:
|
|
29963
|
+
"onClick": () => emit('update:viewMode', 'second'),
|
|
29861
29964
|
"class": {
|
|
29862
29965
|
'v-time-picker-controls__time__btn': true,
|
|
29863
|
-
'v-time-picker-controls__time__btn__active': props.
|
|
29966
|
+
'v-time-picker-controls__time__btn__active': props.viewMode === 'second',
|
|
29864
29967
|
'v-time-picker-controls__time--with-seconds__btn': props.useSeconds
|
|
29865
29968
|
},
|
|
29866
29969
|
"disabled": props.disabled,
|
|
@@ -29905,11 +30008,6 @@
|
|
|
29905
30008
|
const rangeHours12am = createRange(12);
|
|
29906
30009
|
const rangeHours12pm = rangeHours12am.map(v => v + 12);
|
|
29907
30010
|
createRange(60);
|
|
29908
|
-
const selectingNames = {
|
|
29909
|
-
1: 'hour',
|
|
29910
|
-
2: 'minute',
|
|
29911
|
-
3: 'second'
|
|
29912
|
-
};
|
|
29913
30011
|
const makeVTimePickerProps = propsFactory({
|
|
29914
30012
|
allowedHours: [Function, Array],
|
|
29915
30013
|
allowedMinutes: [Function, Array],
|
|
@@ -29922,6 +30020,10 @@
|
|
|
29922
30020
|
},
|
|
29923
30021
|
max: String,
|
|
29924
30022
|
min: String,
|
|
30023
|
+
viewMode: {
|
|
30024
|
+
type: String,
|
|
30025
|
+
default: 'hour'
|
|
30026
|
+
},
|
|
29925
30027
|
modelValue: null,
|
|
29926
30028
|
readonly: Boolean,
|
|
29927
30029
|
scrollable: Boolean,
|
|
@@ -29938,7 +30040,8 @@
|
|
|
29938
30040
|
'update:minute': val => true,
|
|
29939
30041
|
'update:period': val => true,
|
|
29940
30042
|
'update:second': val => true,
|
|
29941
|
-
'update:modelValue': val => true
|
|
30043
|
+
'update:modelValue': val => true,
|
|
30044
|
+
'update:viewMode': val => true
|
|
29942
30045
|
},
|
|
29943
30046
|
setup(props, _ref) {
|
|
29944
30047
|
let {
|
|
@@ -29955,7 +30058,7 @@
|
|
|
29955
30058
|
const lazyInputMinute = vue.ref(null);
|
|
29956
30059
|
const lazyInputSecond = vue.ref(null);
|
|
29957
30060
|
const period = vue.ref('am');
|
|
29958
|
-
const
|
|
30061
|
+
const viewMode = useProxiedModel(props, 'viewMode', 'hour');
|
|
29959
30062
|
const controlsRef = vue.ref(null);
|
|
29960
30063
|
const clockRef = vue.ref(null);
|
|
29961
30064
|
const isAllowedHourCb = vue.computed(() => {
|
|
@@ -29969,7 +30072,7 @@
|
|
|
29969
30072
|
const minHour = props.min ? Number(props.min.split(':')[0]) : 0;
|
|
29970
30073
|
const maxHour = props.max ? Number(props.max.split(':')[0]) : 23;
|
|
29971
30074
|
return val => {
|
|
29972
|
-
return val >= minHour
|
|
30075
|
+
return val >= Number(minHour) && val <= Number(maxHour) && (!cb || cb(val));
|
|
29973
30076
|
};
|
|
29974
30077
|
});
|
|
29975
30078
|
const isAllowedMinuteCb = vue.computed(() => {
|
|
@@ -29985,8 +30088,8 @@
|
|
|
29985
30088
|
}
|
|
29986
30089
|
const [minHour, minMinute] = props.min ? props.min.split(':').map(Number) : [0, 0];
|
|
29987
30090
|
const [maxHour, maxMinute] = props.max ? props.max.split(':').map(Number) : [23, 59];
|
|
29988
|
-
const minTime = minHour * 60 + minMinute
|
|
29989
|
-
const maxTime = maxHour * 60 + maxMinute
|
|
30091
|
+
const minTime = minHour * 60 + Number(minMinute);
|
|
30092
|
+
const maxTime = maxHour * 60 + Number(maxMinute);
|
|
29990
30093
|
return val => {
|
|
29991
30094
|
const time = 60 * inputHour.value + val;
|
|
29992
30095
|
return time >= minTime && time <= maxTime && isHourAllowed && (!cb || cb(val));
|
|
@@ -30006,8 +30109,8 @@
|
|
|
30006
30109
|
}
|
|
30007
30110
|
const [minHour, minMinute, minSecond] = props.min ? props.min.split(':').map(Number) : [0, 0, 0];
|
|
30008
30111
|
const [maxHour, maxMinute, maxSecond] = props.max ? props.max.split(':').map(Number) : [23, 59, 59];
|
|
30009
|
-
const minTime = minHour * 3600 + minMinute * 60 + (minSecond || 0)
|
|
30010
|
-
const maxTime = maxHour * 3600 + maxMinute * 60 + (maxSecond || 0)
|
|
30112
|
+
const minTime = minHour * 3600 + minMinute * 60 + Number(minSecond || 0);
|
|
30113
|
+
const maxTime = maxHour * 3600 + maxMinute * 60 + Number(maxSecond || 0);
|
|
30011
30114
|
return val => {
|
|
30012
30115
|
const time = 3600 * inputHour.value + 60 * inputMinute.value + val;
|
|
30013
30116
|
return time >= minTime && time <= maxTime && isMinuteAllowed && (!cb || cb(val));
|
|
@@ -30073,16 +30176,16 @@
|
|
|
30073
30176
|
return true;
|
|
30074
30177
|
}
|
|
30075
30178
|
function onInput(value) {
|
|
30076
|
-
if (
|
|
30179
|
+
if (viewMode.value === 'hour') {
|
|
30077
30180
|
inputHour.value = isAmPm.value ? convert12to24(value, period.value) : value;
|
|
30078
|
-
} else if (
|
|
30181
|
+
} else if (viewMode.value === 'minute') {
|
|
30079
30182
|
inputMinute.value = value;
|
|
30080
30183
|
} else {
|
|
30081
30184
|
inputSecond.value = value;
|
|
30082
30185
|
}
|
|
30083
30186
|
}
|
|
30084
30187
|
function onChange(value) {
|
|
30085
|
-
switch (
|
|
30188
|
+
switch (viewMode.value || 'hour') {
|
|
30086
30189
|
case 'hour':
|
|
30087
30190
|
emit('update:hour', value);
|
|
30088
30191
|
break;
|
|
@@ -30094,10 +30197,10 @@
|
|
|
30094
30197
|
break;
|
|
30095
30198
|
}
|
|
30096
30199
|
const emitChange = inputHour.value !== null && inputMinute.value !== null && (props.useSeconds ? inputSecond.value !== null : true);
|
|
30097
|
-
if (
|
|
30098
|
-
|
|
30099
|
-
} else if (props.useSeconds &&
|
|
30100
|
-
|
|
30200
|
+
if (viewMode.value === 'hour') {
|
|
30201
|
+
viewMode.value = 'minute';
|
|
30202
|
+
} else if (props.useSeconds && viewMode.value === 'minute') {
|
|
30203
|
+
viewMode.value = 'second';
|
|
30101
30204
|
}
|
|
30102
30205
|
if (inputHour.value === lazyInputHour.value && inputMinute.value === lazyInputMinute.value && (!props.useSeconds || inputSecond.value === lazyInputSecond.value)) return;
|
|
30103
30206
|
const time = genValue();
|
|
@@ -30126,20 +30229,20 @@
|
|
|
30126
30229
|
"minute": inputMinute.value,
|
|
30127
30230
|
"period": period.value,
|
|
30128
30231
|
"second": inputSecond.value,
|
|
30129
|
-
"
|
|
30232
|
+
"viewMode": viewMode.value,
|
|
30130
30233
|
"onUpdate:period": val => setPeriod(val),
|
|
30131
|
-
"onUpdate:
|
|
30234
|
+
"onUpdate:viewMode": value => viewMode.value = value,
|
|
30132
30235
|
"ref": controlsRef
|
|
30133
30236
|
}), null),
|
|
30134
30237
|
default: () => vue.createVNode(VTimePickerClock, vue.mergeProps(timePickerClockProps, {
|
|
30135
|
-
"allowedValues":
|
|
30136
|
-
"double":
|
|
30137
|
-
"format":
|
|
30138
|
-
"max":
|
|
30139
|
-
"min":
|
|
30238
|
+
"allowedValues": viewMode.value === 'hour' ? isAllowedHourCb.value : viewMode.value === 'minute' ? isAllowedMinuteCb.value : isAllowedSecondCb.value,
|
|
30239
|
+
"double": viewMode.value === 'hour' && !isAmPm.value,
|
|
30240
|
+
"format": viewMode.value === 'hour' ? isAmPm.value ? convert24to12 : val => val : val => pad(val, 2),
|
|
30241
|
+
"max": viewMode.value === 'hour' ? isAmPm.value && period.value === 'am' ? 11 : 23 : 59,
|
|
30242
|
+
"min": viewMode.value === 'hour' && isAmPm.value && period.value === 'pm' ? 12 : 0,
|
|
30140
30243
|
"size": 20,
|
|
30141
|
-
"step":
|
|
30142
|
-
"modelValue":
|
|
30244
|
+
"step": viewMode.value === 'hour' ? 1 : 5,
|
|
30245
|
+
"modelValue": viewMode.value === 'hour' ? inputHour.value : viewMode.value === 'minute' ? inputMinute.value : inputSecond.value,
|
|
30143
30246
|
"onChange": onChange,
|
|
30144
30247
|
"onInput": onInput,
|
|
30145
30248
|
"ref": clockRef
|
|
@@ -31052,7 +31155,7 @@
|
|
|
31052
31155
|
goTo
|
|
31053
31156
|
};
|
|
31054
31157
|
}
|
|
31055
|
-
const version$1 = "3.7.
|
|
31158
|
+
const version$1 = "3.7.19";
|
|
31056
31159
|
createVuetify$1.version = version$1;
|
|
31057
31160
|
|
|
31058
31161
|
// Vue's inject() can only be used in setup
|
|
@@ -31305,7 +31408,7 @@
|
|
|
31305
31408
|
|
|
31306
31409
|
/* eslint-disable local-rules/sort-imports */
|
|
31307
31410
|
|
|
31308
|
-
const version = "3.7.
|
|
31411
|
+
const version = "3.7.19";
|
|
31309
31412
|
|
|
31310
31413
|
/* eslint-disable local-rules/sort-imports */
|
|
31311
31414
|
|