@snabcentr/vue-ui-lib 3.3.1 → 3.3.2
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/manifest.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"name": "index",
|
|
5
5
|
"src": "src/index.ts",
|
|
6
6
|
"isEntry": true,
|
|
7
|
-
"integrity": "sha384-
|
|
7
|
+
"integrity": "sha384-7ldC+RtsOFFxbQEcPZisxEiKW52haNHXttpszia/x0UKZwRJ3bOKSmGXBpVGLXhI"
|
|
8
8
|
},
|
|
9
9
|
"style.css": {
|
|
10
10
|
"file": "sc-vue-ui-lib.css",
|
package/dist/sc-vue-ui-lib.js
CHANGED
|
@@ -21251,7 +21251,8 @@ const zy = {
|
|
|
21251
21251
|
processing: { type: Boolean, default: !1 },
|
|
21252
21252
|
valid: { type: Boolean, default: !0 },
|
|
21253
21253
|
acceptButton: { default: () => ({ show: !0, text: "ОК" }) },
|
|
21254
|
-
cancelButton: { default: () => ({ show: !0, text: "Отмена" }) }
|
|
21254
|
+
cancelButton: { default: () => ({ show: !0, text: "Отмена" }) },
|
|
21255
|
+
trapFocus: { type: Boolean, default: !0 }
|
|
21255
21256
|
},
|
|
21256
21257
|
emits: ["update:show", "opening", "closing", "accept", "processing:cancel"],
|
|
21257
21258
|
setup(t, { expose: e, emit: i }) {
|
|
@@ -21305,6 +21306,7 @@ const zy = {
|
|
|
21305
21306
|
size: K(a),
|
|
21306
21307
|
style: mr(`width: ${c.value}px`),
|
|
21307
21308
|
title: t.title,
|
|
21309
|
+
"trap-focus": t.trapFocus ?? !0,
|
|
21308
21310
|
"action-class": f.$slots["extra-action"] ? "grid grid-cols-2 !justify-between" : void 0,
|
|
21309
21311
|
preset: "dialog",
|
|
21310
21312
|
onClose: h[1] || (h[1] = (v) => d("header")),
|
|
@@ -21358,7 +21360,7 @@ const zy = {
|
|
|
21358
21360
|
]),
|
|
21359
21361
|
key: "1"
|
|
21360
21362
|
} : void 0
|
|
21361
|
-
]), 1032, ["loading", "show", "size", "style", "title", "action-class"]);
|
|
21363
|
+
]), 1032, ["loading", "show", "size", "style", "title", "trap-focus", "action-class"]);
|
|
21362
21364
|
};
|
|
21363
21365
|
}
|
|
21364
21366
|
}), hb = { class: "text-sm" }, fb = { class: "text-sm" }, gb = {}, r5 = /* @__PURE__ */ ne({
|