vuetify 3.7.16 → 3.7.18
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 +3633 -3633
- package/dist/json/importMap-labs.json +34 -34
- package/dist/json/importMap.json +146 -146
- package/dist/json/web-types.json +6922 -6922
- package/dist/vuetify-labs.css +4443 -4442
- package/dist/vuetify-labs.d.ts +3 -3
- package/dist/vuetify-labs.esm.js +31 -28
- package/dist/vuetify-labs.esm.js.map +1 -1
- package/dist/vuetify-labs.js +31 -28
- package/dist/vuetify-labs.min.css +2 -2
- package/dist/vuetify.css +3398 -3397
- package/dist/vuetify.d.ts +59 -59
- package/dist/vuetify.esm.js +30 -27
- package/dist/vuetify.esm.js.map +1 -1
- package/dist/vuetify.js +30 -27
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +2 -2
- package/dist/vuetify.min.js +336 -337
- package/dist/vuetify.min.js.map +1 -1
- package/lib/components/VDatePicker/VDatePickerControls.mjs +5 -5
- package/lib/components/VDatePicker/VDatePickerControls.mjs.map +1 -1
- package/lib/components/VDatePicker/VDatePickerMonth.mjs +21 -12
- package/lib/components/VDatePicker/VDatePickerMonth.mjs.map +1 -1
- package/lib/components/VDatePicker/index.d.mts +3 -3
- package/lib/components/VDialog/__test__/VDialog.spec.browser.mjs +50 -0
- package/lib/components/VDialog/__test__/VDialog.spec.browser.mjs.map +1 -0
- package/lib/components/VField/VField.mjs +1 -6
- package/lib/components/VField/VField.mjs.map +1 -1
- package/lib/components/VFileInput/VFileInput.mjs +2 -2
- package/lib/components/VFileInput/VFileInput.mjs.map +1 -1
- package/lib/components/VTextField/VTextField.mjs +2 -2
- package/lib/components/VTextField/VTextField.mjs.map +1 -1
- package/lib/components/VTextarea/VTextarea.mjs +2 -2
- package/lib/components/VTextarea/VTextarea.mjs.map +1 -1
- package/lib/components/VToolbar/VToolbar.css +1 -0
- package/lib/components/VToolbar/VToolbar.sass +1 -0
- package/lib/components/index.d.mts +3 -3
- package/lib/composables/theme.mjs +1 -1
- package/lib/composables/theme.mjs.map +1 -1
- package/lib/entry-bundler.mjs +1 -1
- package/lib/framework.mjs +1 -1
- package/lib/index.d.mts +56 -56
- package/lib/labs/VDateInput/VDateInput.mjs +1 -1
- package/lib/labs/VDateInput/VDateInput.mjs.map +1 -1
- package/package.json +2 -2
- package/lib/components/VDialog/__test__/VDialog.spec.cy.mjs +0 -39
- package/lib/components/VDialog/__test__/VDialog.spec.cy.mjs.map +0 -1
package/dist/vuetify-labs.d.ts
CHANGED
|
@@ -29028,7 +29028,7 @@ declare const VDatePickerMonth: {
|
|
|
29028
29028
|
"onUpdate:modelValue"?: ((date: unknown) => any) | undefined;
|
|
29029
29029
|
"onUpdate:month"?: ((date: number) => any) | undefined;
|
|
29030
29030
|
"onUpdate:year"?: ((date: number) => any) | undefined;
|
|
29031
|
-
},
|
|
29031
|
+
}, () => JSX.Element, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
29032
29032
|
'update:modelValue': (date: unknown) => true;
|
|
29033
29033
|
'update:month': (date: number) => true;
|
|
29034
29034
|
'update:year': (date: number) => true;
|
|
@@ -29156,7 +29156,7 @@ declare const VDatePickerMonth: {
|
|
|
29156
29156
|
"onUpdate:modelValue"?: ((date: unknown) => any) | undefined;
|
|
29157
29157
|
"onUpdate:month"?: ((date: number) => any) | undefined;
|
|
29158
29158
|
"onUpdate:year"?: ((date: number) => any) | undefined;
|
|
29159
|
-
},
|
|
29159
|
+
}, () => JSX.Element, {}, {}, {}, {
|
|
29160
29160
|
transition: string;
|
|
29161
29161
|
disabled: boolean;
|
|
29162
29162
|
reverseTransition: string;
|
|
@@ -29219,7 +29219,7 @@ declare const VDatePickerMonth: {
|
|
|
29219
29219
|
"onUpdate:modelValue"?: ((date: unknown) => any) | undefined;
|
|
29220
29220
|
"onUpdate:month"?: ((date: number) => any) | undefined;
|
|
29221
29221
|
"onUpdate:year"?: ((date: number) => any) | undefined;
|
|
29222
|
-
},
|
|
29222
|
+
}, () => JSX.Element, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
29223
29223
|
'update:modelValue': (date: unknown) => true;
|
|
29224
29224
|
'update:month': (date: number) => true;
|
|
29225
29225
|
'update:year': (date: number) => true;
|
package/dist/vuetify-labs.esm.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Vuetify v3.7.
|
|
2
|
+
* Vuetify v3.7.18
|
|
3
3
|
* Forged by John Leider
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -2447,7 +2447,7 @@ function createTheme(options) {
|
|
|
2447
2447
|
function getHead() {
|
|
2448
2448
|
return {
|
|
2449
2449
|
style: [{
|
|
2450
|
-
|
|
2450
|
+
textContent: styles.value,
|
|
2451
2451
|
id: 'vuetify-theme-stylesheet',
|
|
2452
2452
|
nonce: parsedOptions.cspNonce || false
|
|
2453
2453
|
}]
|
|
@@ -11825,11 +11825,6 @@ const VField = genericComponent()({
|
|
|
11825
11825
|
};
|
|
11826
11826
|
}
|
|
11827
11827
|
});
|
|
11828
|
-
// TODO: this is kinda slow, might be better to implicitly inherit props instead
|
|
11829
|
-
function filterFieldProps(attrs) {
|
|
11830
|
-
const keys = Object.keys(VField.props).filter(k => !isOn(k) && k !== 'class' && k !== 'style');
|
|
11831
|
-
return pick(attrs, keys);
|
|
11832
|
-
}
|
|
11833
11828
|
|
|
11834
11829
|
// Types
|
|
11835
11830
|
|
|
@@ -11937,7 +11932,7 @@ const VTextField = genericComponent()({
|
|
|
11937
11932
|
modelValue: _,
|
|
11938
11933
|
...inputProps
|
|
11939
11934
|
} = VInput.filterProps(props);
|
|
11940
|
-
const fieldProps =
|
|
11935
|
+
const fieldProps = VField.filterProps(props);
|
|
11941
11936
|
return createVNode(VInput, mergeProps({
|
|
11942
11937
|
"ref": vInputRef,
|
|
11943
11938
|
"modelValue": model.value,
|
|
@@ -21551,30 +21546,30 @@ const VDatePickerControls = genericComponent()({
|
|
|
21551
21546
|
"class": ['v-date-picker-controls']
|
|
21552
21547
|
}, [createVNode(VBtn, {
|
|
21553
21548
|
"class": "v-date-picker-controls__month-btn",
|
|
21549
|
+
"data-testid": "month-btn",
|
|
21554
21550
|
"disabled": disableMonth.value,
|
|
21555
21551
|
"text": props.text,
|
|
21556
21552
|
"variant": "text",
|
|
21557
21553
|
"rounded": true,
|
|
21558
21554
|
"onClick": onClickMonth
|
|
21559
21555
|
}, null), createVNode(VBtn, {
|
|
21560
|
-
"key": "mode-btn",
|
|
21561
21556
|
"class": "v-date-picker-controls__mode-btn",
|
|
21557
|
+
"data-testid": "year-btn",
|
|
21562
21558
|
"disabled": disableYear.value,
|
|
21563
21559
|
"density": "comfortable",
|
|
21564
21560
|
"icon": props.modeIcon,
|
|
21565
21561
|
"variant": "text",
|
|
21566
21562
|
"onClick": onClickYear
|
|
21567
|
-
}, null), createVNode(VSpacer, {
|
|
21568
|
-
"key": "mode-spacer"
|
|
21569
|
-
}, null), createVNode("div", {
|
|
21570
|
-
"key": "month-buttons",
|
|
21563
|
+
}, null), createVNode(VSpacer, null, null), createVNode("div", {
|
|
21571
21564
|
"class": "v-date-picker-controls__month"
|
|
21572
21565
|
}, [createVNode(VBtn, {
|
|
21566
|
+
"data-testid": "prev-month",
|
|
21573
21567
|
"disabled": disablePrev.value,
|
|
21574
21568
|
"icon": props.prevIcon,
|
|
21575
21569
|
"variant": "text",
|
|
21576
21570
|
"onClick": onClickPrev
|
|
21577
21571
|
}, null), createVNode(VBtn, {
|
|
21572
|
+
"data-testid": "next-month",
|
|
21578
21573
|
"disabled": disableNext.value,
|
|
21579
21574
|
"icon": props.nextIcon,
|
|
21580
21575
|
"variant": "text",
|
|
@@ -21921,7 +21916,7 @@ const VDatePickerMonth = genericComponent()({
|
|
|
21921
21916
|
model.value = [value];
|
|
21922
21917
|
}
|
|
21923
21918
|
}
|
|
21924
|
-
|
|
21919
|
+
return () => createVNode("div", {
|
|
21925
21920
|
"class": "v-date-picker-month"
|
|
21926
21921
|
}, [props.showWeek && createVNode("div", {
|
|
21927
21922
|
"key": "weeks",
|
|
@@ -21943,13 +21938,6 @@ const VDatePickerMonth = genericComponent()({
|
|
|
21943
21938
|
}, [weekDay])), daysInMonth.value.map((item, i) => {
|
|
21944
21939
|
const slotProps = {
|
|
21945
21940
|
props: {
|
|
21946
|
-
class: 'v-date-picker-month__day-btn',
|
|
21947
|
-
color: (item.isSelected || item.isToday) && !item.isDisabled ? props.color : undefined,
|
|
21948
|
-
disabled: item.isDisabled,
|
|
21949
|
-
icon: true,
|
|
21950
|
-
ripple: false,
|
|
21951
|
-
text: item.localized,
|
|
21952
|
-
variant: item.isDisabled ? item.isToday ? 'outlined' : 'text' : item.isToday && !item.isSelected ? 'outlined' : 'flat',
|
|
21953
21941
|
onClick: () => onClick(item.date)
|
|
21954
21942
|
},
|
|
21955
21943
|
item,
|
|
@@ -21967,9 +21955,24 @@ const VDatePickerMonth = genericComponent()({
|
|
|
21967
21955
|
'v-date-picker-month__day--week-start': item.isWeekStart
|
|
21968
21956
|
}],
|
|
21969
21957
|
"data-v-date": !item.isDisabled ? item.isoDate : undefined
|
|
21970
|
-
}, [(props.showAdjacentMonths || !item.isAdjacent) &&
|
|
21958
|
+
}, [(props.showAdjacentMonths || !item.isAdjacent) && createVNode(VDefaultsProvider, {
|
|
21959
|
+
"defaults": {
|
|
21960
|
+
VBtn: {
|
|
21961
|
+
class: 'v-date-picker-month__day-btn',
|
|
21962
|
+
color: (item.isSelected || item.isToday) && !item.isDisabled ? props.color : undefined,
|
|
21963
|
+
disabled: item.isDisabled,
|
|
21964
|
+
icon: true,
|
|
21965
|
+
ripple: false,
|
|
21966
|
+
text: item.localized,
|
|
21967
|
+
variant: item.isDisabled ? item.isToday ? 'outlined' : 'text' : item.isToday && !item.isSelected ? 'outlined' : 'flat',
|
|
21968
|
+
onClick: () => onClick(item.date)
|
|
21969
|
+
}
|
|
21970
|
+
}
|
|
21971
|
+
}, {
|
|
21972
|
+
default: () => [slots.day?.(slotProps) ?? createVNode(VBtn, slotProps.props, null)]
|
|
21973
|
+
})]);
|
|
21971
21974
|
})])]
|
|
21972
|
-
})])
|
|
21975
|
+
})]);
|
|
21973
21976
|
}
|
|
21974
21977
|
});
|
|
21975
21978
|
|
|
@@ -23107,7 +23110,7 @@ const VFileInput = genericComponent()({
|
|
|
23107
23110
|
modelValue: _,
|
|
23108
23111
|
...inputProps
|
|
23109
23112
|
} = VInput.filterProps(props);
|
|
23110
|
-
const fieldProps =
|
|
23113
|
+
const fieldProps = VField.filterProps(props);
|
|
23111
23114
|
return createVNode(VInput, mergeProps({
|
|
23112
23115
|
"ref": vInputRef,
|
|
23113
23116
|
"modelValue": props.multiple ? model.value : model.value[0],
|
|
@@ -27242,7 +27245,7 @@ const VTextarea = genericComponent()({
|
|
|
27242
27245
|
modelValue: _,
|
|
27243
27246
|
...inputProps
|
|
27244
27247
|
} = VInput.filterProps(props);
|
|
27245
|
-
const fieldProps =
|
|
27248
|
+
const fieldProps = VField.filterProps(props);
|
|
27246
27249
|
return createVNode(VInput, mergeProps({
|
|
27247
27250
|
"ref": vInputRef,
|
|
27248
27251
|
"modelValue": model.value,
|
|
@@ -28293,7 +28296,7 @@ const VDateInput = genericComponent()({
|
|
|
28293
28296
|
return;
|
|
28294
28297
|
}
|
|
28295
28298
|
const target = e.target;
|
|
28296
|
-
model.value = target.value;
|
|
28299
|
+
model.value = target.value === '' ? null : target.value;
|
|
28297
28300
|
}
|
|
28298
28301
|
function onClick(e) {
|
|
28299
28302
|
e.preventDefault();
|
|
@@ -31077,7 +31080,7 @@ function createVuetify$1() {
|
|
|
31077
31080
|
goTo
|
|
31078
31081
|
};
|
|
31079
31082
|
}
|
|
31080
|
-
const version$1 = "3.7.
|
|
31083
|
+
const version$1 = "3.7.18";
|
|
31081
31084
|
createVuetify$1.version = version$1;
|
|
31082
31085
|
|
|
31083
31086
|
// Vue's inject() can only be used in setup
|
|
@@ -31330,7 +31333,7 @@ var index = /*#__PURE__*/Object.freeze({
|
|
|
31330
31333
|
|
|
31331
31334
|
/* eslint-disable local-rules/sort-imports */
|
|
31332
31335
|
|
|
31333
|
-
const version = "3.7.
|
|
31336
|
+
const version = "3.7.18";
|
|
31334
31337
|
|
|
31335
31338
|
/* eslint-disable local-rules/sort-imports */
|
|
31336
31339
|
|