mediacube-ui-v2 0.0.71 → 0.0.73
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/mediacube-ui-v2.js
CHANGED
|
@@ -844,7 +844,7 @@ const D8 = ["onClose"], A8 = /* @__PURE__ */ L2({
|
|
|
844
844
|
},
|
|
845
845
|
setup(t) {
|
|
846
846
|
const e = t, o = k(() => ({
|
|
847
|
-
zIndex: e.reactiveProps.modals.length ?
|
|
847
|
+
zIndex: e.reactiveProps.modals.length ? 99999 : -1,
|
|
848
848
|
visibility: e.reactiveProps.modals.length ? "visible" : "hidden"
|
|
849
849
|
})), a = (l) => {
|
|
850
850
|
l.close(), setTimeout(() => {
|
|
@@ -23128,6 +23128,13 @@ const Ji = {
|
|
|
23128
23128
|
type: Number,
|
|
23129
23129
|
default: 510
|
|
23130
23130
|
},
|
|
23131
|
+
/**
|
|
23132
|
+
* Минимальная ширина модального окна
|
|
23133
|
+
* */
|
|
23134
|
+
minWidth: {
|
|
23135
|
+
type: Number,
|
|
23136
|
+
default: 480
|
|
23137
|
+
},
|
|
23131
23138
|
/**
|
|
23132
23139
|
* Скорость анимации
|
|
23133
23140
|
* */
|
|
@@ -23256,6 +23263,7 @@ const Ji = {
|
|
|
23256
23263
|
"--mc-modal-button-height": O1[i.footer.button.regular],
|
|
23257
23264
|
"--mc-modal-button-height-small": O1[i.footer.button.small],
|
|
23258
23265
|
"--mc-modal-max-width": `${a.maxWidth + 24}px`,
|
|
23266
|
+
"--mc-modal-min-width": `${a.minWidth - 24}px`,
|
|
23259
23267
|
"--mc-modal-state-number": r.value
|
|
23260
23268
|
})), C = (O = !0) => {
|
|
23261
23269
|
O || (i.scrolled_top = !1, i.scrolled_bottom = !1, i.small_indents = !1), setTimeout(
|