tsv2-library 1.0.61-alpha.112 → 1.0.61-alpha.113
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.
|
@@ -122,6 +122,12 @@ export interface DialogFormProps extends FormProps {
|
|
|
122
122
|
* The severity will determine the dialog icons and color scheme.
|
|
123
123
|
*/
|
|
124
124
|
severity?: 'success' | 'danger' | 'primary';
|
|
125
|
+
maskClass?: string | string[];
|
|
126
|
+
/**
|
|
127
|
+
* Whether to automatically manage layering.
|
|
128
|
+
* @defaultValue true
|
|
129
|
+
*/
|
|
130
|
+
autoZIndex?: boolean | undefined;
|
|
125
131
|
}
|
|
126
132
|
|
|
127
133
|
export interface ConfirmSlots {
|
package/dist/tsv2-library.es.js
CHANGED
|
@@ -66118,6 +66118,8 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
66118
66118
|
contentClass: {},
|
|
66119
66119
|
headerIcon: {},
|
|
66120
66120
|
severity: {},
|
|
66121
|
+
maskClass: {},
|
|
66122
|
+
autoZIndex: { type: Boolean, default: true },
|
|
66121
66123
|
columnPerRow: { default: 1 },
|
|
66122
66124
|
buttonsTemplate: {},
|
|
66123
66125
|
validateOnSave: { type: Boolean },
|
|
@@ -66190,14 +66192,22 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
66190
66192
|
};
|
|
66191
66193
|
__expose({ form, clearField });
|
|
66192
66194
|
return (_ctx, _cache) => {
|
|
66195
|
+
var _a;
|
|
66193
66196
|
return openBlock(), createBlock(unref(script$13), {
|
|
66194
66197
|
ref_key: "dialogForm",
|
|
66195
66198
|
ref: dialogForm,
|
|
66199
|
+
"auto-z-index": props.autoZIndex,
|
|
66196
66200
|
class: normalizeClass(props.class),
|
|
66197
66201
|
closable: _ctx.closable,
|
|
66198
66202
|
draggable: false,
|
|
66199
66203
|
header: _ctx.header,
|
|
66200
66204
|
pt: {
|
|
66205
|
+
mask: {
|
|
66206
|
+
class: [
|
|
66207
|
+
...(_a = unref(DialogPreset)) == null ? void 0 : _a.mask({ props: { modal: true } }).class,
|
|
66208
|
+
...Array.isArray(_ctx.$props.maskClass) ? _ctx.$props.maskClass : [_ctx.$props.maskClass]
|
|
66209
|
+
]
|
|
66210
|
+
},
|
|
66201
66211
|
root: {
|
|
66202
66212
|
class: [
|
|
66203
66213
|
...unref(DialogPreset).root({ state: {} }).class,
|
|
@@ -66259,11 +66269,11 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
66259
66269
|
})
|
|
66260
66270
|
]),
|
|
66261
66271
|
footer: withCtx(() => {
|
|
66262
|
-
var
|
|
66272
|
+
var _a2;
|
|
66263
66273
|
return [
|
|
66264
66274
|
visibilityStayCheckbox.value ? (openBlock(), createBlock(_sfc_main$15, {
|
|
66265
66275
|
key: 0,
|
|
66266
|
-
"model-value": (
|
|
66276
|
+
"model-value": (_a2 = form.value) == null ? void 0 : _a2.stayAfterSubmit,
|
|
66267
66277
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => form.value && (form.value.stayAfterSubmit = $event)),
|
|
66268
66278
|
label: "Stay on this form after submitting"
|
|
66269
66279
|
}, null, 8, ["model-value"])) : createCommentVNode("", true),
|
|
@@ -66323,7 +66333,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
66323
66333
|
})
|
|
66324
66334
|
]),
|
|
66325
66335
|
_: 3
|
|
66326
|
-
}, 8, ["class", "closable", "header", "pt", "visible"]);
|
|
66336
|
+
}, 8, ["auto-z-index", "class", "closable", "header", "pt", "visible"]);
|
|
66327
66337
|
};
|
|
66328
66338
|
}
|
|
66329
66339
|
});
|