@vuetify/nightly 3.7.4-master.2024-11-15 → 3.7.4-master.2024-11-24
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 +3032 -3032
- package/dist/json/importMap-labs.json +20 -20
- package/dist/json/importMap.json +176 -176
- package/dist/json/web-types.json +5731 -5731
- package/dist/vuetify-labs.css +2236 -2232
- package/dist/vuetify-labs.d.ts +3 -7
- package/dist/vuetify-labs.esm.js +15 -12
- package/dist/vuetify-labs.esm.js.map +1 -1
- package/dist/vuetify-labs.js +15 -12
- package/dist/vuetify-labs.min.css +2 -2
- package/dist/vuetify.css +1058 -1054
- package/dist/vuetify.d.ts +59 -63
- package/dist/vuetify.esm.js +14 -11
- package/dist/vuetify.esm.js.map +1 -1
- package/dist/vuetify.js +14 -11
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +2 -2
- package/dist/vuetify.min.js +9 -10
- package/dist/vuetify.min.js.map +1 -1
- package/lib/components/VBadge/VBadge.css +4 -0
- package/lib/components/VBadge/VBadge.sass +4 -0
- package/lib/components/VConfirmEdit/VConfirmEdit.mjs +9 -7
- package/lib/components/VConfirmEdit/VConfirmEdit.mjs.map +1 -1
- package/lib/components/VConfirmEdit/__test__/VConfirmEdit.spec.browser.mjs +1 -1
- package/lib/components/VConfirmEdit/__test__/VConfirmEdit.spec.browser.mjs.map +1 -1
- package/lib/components/VConfirmEdit/index.d.mts +3 -7
- package/lib/components/VList/VListItem.mjs +3 -2
- package/lib/components/VList/VListItem.mjs.map +1 -1
- package/lib/components/index.d.mts +3 -7
- 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/lib/locale/fr.mjs +1 -1
- package/lib/locale/fr.mjs.map +1 -1
- package/package.json +1 -1
package/dist/vuetify-labs.d.ts
CHANGED
@@ -23094,7 +23094,7 @@ type VConfirmEditSlots<T> = {
|
|
23094
23094
|
save: () => void;
|
23095
23095
|
cancel: () => void;
|
23096
23096
|
isPristine: boolean;
|
23097
|
-
get actions(): VNode;
|
23097
|
+
get actions(): (props?: {}) => VNode;
|
23098
23098
|
};
|
23099
23099
|
};
|
23100
23100
|
declare const VConfirmEdit: {
|
@@ -23129,9 +23129,7 @@ declare const VConfirmEdit: {
|
|
23129
23129
|
save: () => void;
|
23130
23130
|
cancel: () => void;
|
23131
23131
|
isPristine: boolean;
|
23132
|
-
readonly actions:
|
23133
|
-
[key: string]: any;
|
23134
|
-
}>;
|
23132
|
+
readonly actions: (props?: {}) => VNode;
|
23135
23133
|
}) => VNode[];
|
23136
23134
|
}>>, {
|
23137
23135
|
P: {};
|
@@ -23182,9 +23180,7 @@ declare const VConfirmEdit: {
|
|
23182
23180
|
save: () => void;
|
23183
23181
|
cancel: () => void;
|
23184
23182
|
isPristine: boolean;
|
23185
|
-
readonly actions:
|
23186
|
-
[key: string]: any;
|
23187
|
-
}>;
|
23183
|
+
readonly actions: (props?: {}) => VNode;
|
23188
23184
|
}) => VNode[];
|
23189
23185
|
}>>> & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & (new <T>(props: {
|
23190
23186
|
modelValue?: T;
|
package/dist/vuetify-labs.esm.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
/*!
|
2
|
-
* Vuetify v3.7.4-master.2024-11-
|
2
|
+
* Vuetify v3.7.4-master.2024-11-24
|
3
3
|
* Forged by John Leider
|
4
4
|
* Released under the MIT License.
|
5
5
|
*/
|
@@ -8930,7 +8930,8 @@ const VListItem = genericComponent()({
|
|
8930
8930
|
const list = useList();
|
8931
8931
|
const isActive = computed(() => props.active !== false && (props.active || link.isActive?.value || (root.activatable.value ? isActivated.value : isSelected.value)));
|
8932
8932
|
const isLink = computed(() => props.link !== false && link.isLink.value);
|
8933
|
-
const
|
8933
|
+
const isSelectable = computed(() => !!list && (root.selectable.value || root.activatable.value || props.value != null));
|
8934
|
+
const isClickable = computed(() => !props.disabled && props.link !== false && (props.link || link.isClickable.value || isSelectable.value));
|
8934
8935
|
const roundedProps = computed(() => props.rounded || props.nav);
|
8935
8936
|
const color = computed(() => props.color ?? props.activeColor);
|
8936
8937
|
const variantProps = computed(() => ({
|
@@ -9021,7 +9022,7 @@ const VListItem = genericComponent()({
|
|
9021
9022
|
}, themeClasses.value, borderClasses.value, colorClasses.value, densityClasses.value, elevationClasses.value, lineClasses.value, roundedClasses.value, variantClasses.value, props.class],
|
9022
9023
|
"style": [colorStyles.value, dimensionStyles.value, props.style],
|
9023
9024
|
"tabindex": isClickable.value ? list ? -2 : 0 : undefined,
|
9024
|
-
"aria-selected": root.activatable.value ? isActivated.value : isSelected.value,
|
9025
|
+
"aria-selected": isSelectable.value ? root.activatable.value ? isActivated.value : root.selectable.value ? isSelected.value : isActive.value : undefined,
|
9025
9026
|
"onClick": onClick,
|
9026
9027
|
"onKeydown": isClickable.value && !isLink.value && onKeyDown
|
9027
9028
|
}, link.linkProps), {
|
@@ -18101,21 +18102,23 @@ const VConfirmEdit = genericComponent()({
|
|
18101
18102
|
internalModel.value = structuredClone(toRaw(model.value));
|
18102
18103
|
emit('cancel');
|
18103
18104
|
}
|
18104
|
-
|
18105
|
-
|
18106
|
-
const actions = createVNode(Fragment, null, [createVNode(VBtn, {
|
18105
|
+
function actions(actionsProps) {
|
18106
|
+
return createVNode(Fragment, null, [createVNode(VBtn, mergeProps({
|
18107
18107
|
"disabled": isPristine.value,
|
18108
18108
|
"variant": "text",
|
18109
18109
|
"color": props.color,
|
18110
18110
|
"onClick": cancel,
|
18111
18111
|
"text": t(props.cancelText)
|
18112
|
-
}, null), createVNode(VBtn, {
|
18112
|
+
}, actionsProps), null), createVNode(VBtn, mergeProps({
|
18113
18113
|
"disabled": isPristine.value,
|
18114
18114
|
"variant": "text",
|
18115
18115
|
"color": props.color,
|
18116
18116
|
"onClick": save,
|
18117
18117
|
"text": t(props.okText)
|
18118
|
-
}, null)]);
|
18118
|
+
}, actionsProps), null)]);
|
18119
|
+
}
|
18120
|
+
let actionsUsed = false;
|
18121
|
+
useRender(() => {
|
18119
18122
|
return createVNode(Fragment, null, [slots.default?.({
|
18120
18123
|
model: internalModel,
|
18121
18124
|
save,
|
@@ -18125,7 +18128,7 @@ const VConfirmEdit = genericComponent()({
|
|
18125
18128
|
actionsUsed = true;
|
18126
18129
|
return actions;
|
18127
18130
|
}
|
18128
|
-
}), !actionsUsed && actions]);
|
18131
|
+
}), !actionsUsed && actions()]);
|
18129
18132
|
});
|
18130
18133
|
return {
|
18131
18134
|
save,
|
@@ -28142,7 +28145,7 @@ const VDateInput = genericComponent()({
|
|
28142
28145
|
},
|
28143
28146
|
"onMousedown": e => e.preventDefault()
|
28144
28147
|
}), {
|
28145
|
-
actions: !props.hideActions ?
|
28148
|
+
actions: !props.hideActions ? actions : undefined
|
28146
28149
|
});
|
28147
28150
|
}
|
28148
28151
|
})]
|
@@ -30399,7 +30402,7 @@ function createVuetify$1() {
|
|
30399
30402
|
goTo
|
30400
30403
|
};
|
30401
30404
|
}
|
30402
|
-
const version$1 = "3.7.4-master.2024-11-
|
30405
|
+
const version$1 = "3.7.4-master.2024-11-24";
|
30403
30406
|
createVuetify$1.version = version$1;
|
30404
30407
|
|
30405
30408
|
// Vue's inject() can only be used in setup
|
@@ -30652,7 +30655,7 @@ var index = /*#__PURE__*/Object.freeze({
|
|
30652
30655
|
|
30653
30656
|
/* eslint-disable local-rules/sort-imports */
|
30654
30657
|
|
30655
|
-
const version = "3.7.4-master.2024-11-
|
30658
|
+
const version = "3.7.4-master.2024-11-24";
|
30656
30659
|
|
30657
30660
|
/* eslint-disable local-rules/sort-imports */
|
30658
30661
|
|