@snabcentr/vue-ui-lib 4.13.1 → 4.13.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 +1 -1
- package/dist/release_notes.tmp +1 -1
- package/dist/sc-vue-ui-lib.js +12 -10
- package/dist/sc-vue-ui-lib.js.map +1 -1
- package/dist/sc-vue-ui-lib.umd.cjs +1 -1
- package/dist/sc-vue-ui-lib.umd.cjs.map +1 -1
- package/dist/src/components/catalog/dialogs/add-product-to-cart-dialog.vue.d.ts +2 -2
- package/dist/src/components/dialog/base-dialog.vue.d.ts +1 -1
- package/package.json +1 -1
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-8oM1OxI0LeQCg/rBX8uDmew53Xr0w64CuuSMaNSjAVEbfm6TTpkWi5bPJkWFvVym"
|
|
8
8
|
},
|
|
9
9
|
"style.css": {
|
|
10
10
|
"file": "sc-vue-ui-lib.css",
|
package/dist/release_notes.tmp
CHANGED
package/dist/sc-vue-ui-lib.js
CHANGED
|
@@ -23238,17 +23238,17 @@ const O_ = {
|
|
|
23238
23238
|
n.sizes.default.scale
|
|
23239
23239
|
), c = E(() => n.modalWidth ?? window.innerWidth * l.value), u = () => {
|
|
23240
23240
|
s("opening"), r.value = !0, s("update:show", r.value);
|
|
23241
|
-
}, h = (g = "other") => {
|
|
23242
|
-
if (o.value) {
|
|
23243
|
-
s("processing:cancel", (
|
|
23244
|
-
o.value =
|
|
23241
|
+
}, h = (g = "other", d = !1) => {
|
|
23242
|
+
if (o.value && !d) {
|
|
23243
|
+
s("processing:cancel", (y) => {
|
|
23244
|
+
o.value = y;
|
|
23245
23245
|
});
|
|
23246
23246
|
return;
|
|
23247
23247
|
}
|
|
23248
|
-
let
|
|
23248
|
+
let m = !1;
|
|
23249
23249
|
s("closing", g, () => {
|
|
23250
|
-
|
|
23251
|
-
}),
|
|
23250
|
+
m = !0;
|
|
23251
|
+
}), m || (r.value = !1, s("update:show", r.value));
|
|
23252
23252
|
}, f = () => {
|
|
23253
23253
|
s("accept", (d) => {
|
|
23254
23254
|
o.value = d;
|
|
@@ -23257,7 +23257,7 @@ const O_ = {
|
|
|
23257
23257
|
return xe(
|
|
23258
23258
|
() => n.show,
|
|
23259
23259
|
(g) => {
|
|
23260
|
-
g ? u() : h("other");
|
|
23260
|
+
g ? u() : h("other", !0);
|
|
23261
23261
|
}
|
|
23262
23262
|
), xe(
|
|
23263
23263
|
() => n.processing,
|
|
@@ -23316,6 +23316,7 @@ const O_ = {
|
|
|
23316
23316
|
t.acceptButton.show ?? !0 ? (b(), ie(m, {
|
|
23317
23317
|
key: 0,
|
|
23318
23318
|
disabled: o.value || !t.valid,
|
|
23319
|
+
loading: o.value,
|
|
23319
23320
|
size: B(a),
|
|
23320
23321
|
type: "primary",
|
|
23321
23322
|
onClick: f
|
|
@@ -23324,9 +23325,10 @@ const O_ = {
|
|
|
23324
23325
|
te(U(t.acceptButton.text ?? "ОК"), 1)
|
|
23325
23326
|
]),
|
|
23326
23327
|
_: 1
|
|
23327
|
-
}, 8, ["disabled", "size"])) : L("", !0),
|
|
23328
|
+
}, 8, ["disabled", "loading", "size"])) : L("", !0),
|
|
23328
23329
|
t.cancelButton.show ?? !0 ? (b(), ie(m, {
|
|
23329
23330
|
key: 1,
|
|
23331
|
+
disabled: o.value,
|
|
23330
23332
|
size: B(a),
|
|
23331
23333
|
type: "default",
|
|
23332
23334
|
onClick: d[0] || (d[0] = (v) => h("footer"))
|
|
@@ -23335,7 +23337,7 @@ const O_ = {
|
|
|
23335
23337
|
te(U(t.cancelButton.text ?? "Отмена"), 1)
|
|
23336
23338
|
]),
|
|
23337
23339
|
_: 1
|
|
23338
|
-
}, 8, ["size"])) : L("", !0)
|
|
23340
|
+
}, 8, ["disabled", "size"])) : L("", !0)
|
|
23339
23341
|
])) : L("", !0)
|
|
23340
23342
|
]),
|
|
23341
23343
|
key: "1"
|