@vuetify/nightly 3.8.0-beta.0-dev.2025-03-26 → 3.8.0-beta.0-dev.2025-03-31
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 +7 -3
- package/dist/_component-variables-labs.sass +1 -0
- package/dist/json/attributes.json +3154 -3038
- package/dist/json/importMap-labs.json +24 -20
- package/dist/json/importMap.json +176 -176
- package/dist/json/tags.json +34 -0
- package/dist/json/web-types.json +5829 -5511
- package/dist/vuetify-labs.cjs +204 -13
- package/dist/vuetify-labs.css +4590 -4409
- package/dist/vuetify-labs.d.ts +527 -230
- package/dist/vuetify-labs.esm.js +204 -13
- package/dist/vuetify-labs.esm.js.map +1 -1
- package/dist/vuetify-labs.js +204 -13
- package/dist/vuetify-labs.min.css +2 -2
- package/dist/vuetify.cjs +31 -13
- package/dist/vuetify.cjs.map +1 -1
- package/dist/vuetify.css +2980 -2976
- package/dist/vuetify.d.ts +118 -143
- package/dist/vuetify.esm.js +31 -13
- package/dist/vuetify.esm.js.map +1 -1
- package/dist/vuetify.js +31 -13
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +2 -2
- package/dist/vuetify.min.js +18 -17
- package/dist/vuetify.min.js.map +1 -1
- package/lib/components/VConfirmEdit/VConfirmEdit.d.ts +31 -6
- package/lib/components/VConfirmEdit/VConfirmEdit.js +17 -2
- package/lib/components/VConfirmEdit/VConfirmEdit.js.map +1 -1
- package/lib/components/VDatePicker/VDatePicker.d.ts +33 -78
- package/lib/components/VDatePicker/VDatePickerMonth.d.ts +33 -78
- package/lib/composables/calendar.d.ts +12 -35
- package/lib/composables/calendar.js +11 -8
- package/lib/composables/calendar.js.map +1 -1
- package/lib/entry-bundler.js +1 -1
- package/lib/framework.d.ts +58 -57
- package/lib/framework.js +1 -1
- package/lib/labs/VCalendar/VCalendar.d.ts +33 -78
- package/lib/labs/VDateInput/VDateInput.d.ts +33 -78
- package/lib/labs/VDateInput/VDateInput.js +4 -0
- package/lib/labs/VDateInput/VDateInput.js.map +1 -1
- package/lib/labs/VIconBtn/VIconBtn.css +178 -0
- package/lib/labs/VIconBtn/VIconBtn.d.ts +608 -0
- package/lib/labs/VIconBtn/VIconBtn.js +184 -0
- package/lib/labs/VIconBtn/VIconBtn.js.map +1 -0
- package/lib/labs/VIconBtn/VIconBtn.scss +110 -0
- package/lib/labs/VIconBtn/_variables.scss +36 -0
- package/lib/labs/VIconBtn/index.d.ts +1 -0
- package/lib/labs/VIconBtn/index.js +2 -0
- package/lib/labs/VIconBtn/index.js.map +1 -0
- package/lib/labs/components.d.ts +1 -0
- package/lib/labs/components.js +1 -0
- package/lib/labs/components.js.map +1 -1
- package/lib/styles/main.css +4 -0
- package/lib/styles/settings/_utilities.scss +5 -0
- package/package.json +1 -1
package/dist/vuetify.cjs
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
/*!
|
2
|
-
* Vuetify v3.8.0-beta.0-dev.2025-03-
|
2
|
+
* Vuetify v3.8.0-beta.0-dev.2025-03-31
|
3
3
|
* Forged by John Leider
|
4
4
|
* Released under the MIT License.
|
5
5
|
*/
|
@@ -18708,6 +18708,10 @@
|
|
18708
18708
|
type: String,
|
18709
18709
|
default: '$vuetify.confirmEdit.ok'
|
18710
18710
|
},
|
18711
|
+
disabled: {
|
18712
|
+
type: [Boolean, Array],
|
18713
|
+
default: undefined
|
18714
|
+
},
|
18711
18715
|
hideActions: Boolean
|
18712
18716
|
}, 'VConfirmEdit');
|
18713
18717
|
const VConfirmEdit = genericComponent()({
|
@@ -18734,6 +18738,17 @@
|
|
18734
18738
|
const isPristine = vue.computed(() => {
|
18735
18739
|
return deepEqual(model.value, internalModel.value);
|
18736
18740
|
});
|
18741
|
+
function isActionDisabled(action) {
|
18742
|
+
if (typeof props.disabled === 'boolean') {
|
18743
|
+
return props.disabled;
|
18744
|
+
}
|
18745
|
+
if (Array.isArray(props.disabled)) {
|
18746
|
+
return props.disabled.includes(action);
|
18747
|
+
}
|
18748
|
+
return isPristine.value;
|
18749
|
+
}
|
18750
|
+
const isSaveDisabled = vue.computed(() => isActionDisabled('save'));
|
18751
|
+
const isCancelDisabled = vue.computed(() => isActionDisabled('cancel'));
|
18737
18752
|
function save() {
|
18738
18753
|
model.value = internalModel.value;
|
18739
18754
|
emit('save', internalModel.value);
|
@@ -18744,13 +18759,13 @@
|
|
18744
18759
|
}
|
18745
18760
|
function actions(actionsProps) {
|
18746
18761
|
return vue.createVNode(vue.Fragment, null, [vue.createVNode(VBtn, vue.mergeProps({
|
18747
|
-
"disabled":
|
18762
|
+
"disabled": isCancelDisabled.value,
|
18748
18763
|
"variant": "text",
|
18749
18764
|
"color": props.color,
|
18750
18765
|
"onClick": cancel,
|
18751
18766
|
"text": t(props.cancelText)
|
18752
18767
|
}, actionsProps), null), vue.createVNode(VBtn, vue.mergeProps({
|
18753
|
-
"disabled":
|
18768
|
+
"disabled": isSaveDisabled.value,
|
18754
18769
|
"variant": "text",
|
18755
18770
|
"color": props.color,
|
18756
18771
|
"onClick": save,
|
@@ -22205,7 +22220,10 @@
|
|
22205
22220
|
type: String,
|
22206
22221
|
default: 'dynamic'
|
22207
22222
|
},
|
22208
|
-
firstDayOfWeek:
|
22223
|
+
firstDayOfWeek: {
|
22224
|
+
type: [Number, String],
|
22225
|
+
default: 0
|
22226
|
+
}
|
22209
22227
|
}, 'calendar');
|
22210
22228
|
function useCalendar(props) {
|
22211
22229
|
const adapter = useDate();
|
@@ -22226,15 +22244,15 @@
|
|
22226
22244
|
const date = adapter.setYear(adapter.startOfMonth(adapter.date()), adapter.getYear(year.value));
|
22227
22245
|
return adapter.setMonth(date, value);
|
22228
22246
|
}, v => adapter.getMonth(v));
|
22229
|
-
const defaultFirstDayOfWeek = vue.computed(() => {
|
22230
|
-
return props.firstDayOfWeek ?? props.weekdays[0];
|
22231
|
-
});
|
22232
22247
|
const weekDays = vue.computed(() => {
|
22233
|
-
const firstDayOfWeek = Number(props.firstDayOfWeek
|
22234
|
-
|
22248
|
+
const firstDayOfWeek = Number(props.firstDayOfWeek);
|
22249
|
+
|
22250
|
+
// Always generate all days, regardless of props.weekdays
|
22251
|
+
return [0, 1, 2, 3, 4, 5, 6].map(day => (day + firstDayOfWeek) % 7);
|
22235
22252
|
});
|
22236
22253
|
const weeksInMonth = vue.computed(() => {
|
22237
|
-
const
|
22254
|
+
const firstDayOfWeek = Number(props.firstDayOfWeek);
|
22255
|
+
const weeks = adapter.getWeekArray(month.value, firstDayOfWeek);
|
22238
22256
|
const days = weeks.flat();
|
22239
22257
|
|
22240
22258
|
// Make sure there's always 6 weeks in month (6 * 7 days)
|
@@ -22312,7 +22330,7 @@
|
|
22312
22330
|
if (typeof props.allowedDates === 'function') {
|
22313
22331
|
return !props.allowedDates(date);
|
22314
22332
|
}
|
22315
|
-
return
|
22333
|
+
return !props.weekdays.includes(adapter.toJsDate(date).getDay());
|
22316
22334
|
}
|
22317
22335
|
return {
|
22318
22336
|
displayValue,
|
@@ -29194,7 +29212,7 @@
|
|
29194
29212
|
};
|
29195
29213
|
});
|
29196
29214
|
}
|
29197
|
-
const version$1 = "3.8.0-beta.0-dev.2025-03-
|
29215
|
+
const version$1 = "3.8.0-beta.0-dev.2025-03-31";
|
29198
29216
|
createVuetify$1.version = version$1;
|
29199
29217
|
|
29200
29218
|
// Vue's inject() can only be used in setup
|
@@ -29219,7 +29237,7 @@
|
|
29219
29237
|
...options
|
29220
29238
|
});
|
29221
29239
|
};
|
29222
|
-
const version = "3.8.0-beta.0-dev.2025-03-
|
29240
|
+
const version = "3.8.0-beta.0-dev.2025-03-31";
|
29223
29241
|
createVuetify.version = version;
|
29224
29242
|
|
29225
29243
|
exports.blueprints = index;
|