mediacube-ui-v2 0.0.340 → 0.0.342
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
@charset "UTF-8";.mc-modal{position:relative;--mc-modal-padding: 2rem;--mc-modal-padding-small: .75rem;--mc-modal-header-line-height: 1.5rem;--mc-modal-
|
|
1
|
+
@charset "UTF-8";.mc-modal{position:relative;--mc-modal-padding: 2rem;--mc-modal-padding-small: .75rem;--mc-modal-header-line-height: 1.5rem;--mc-modal-button-height: 3rem;--mc-modal-button-height-small: 2.5rem;--mc-modal-max-width: 510px;--mc-modal-min-width: 768px;--mc-modal-state-number: 0;width:100%;height:100%;display:flex;flex-direction:column;overflow:hidden;opacity:var(--mc-modal-state-number)}@media (min-width: 480px){.mc-modal{--modal-scale: calc(var(--mc-modal-state-number) * .1 + .9);padding:12px 0;height:auto;max-height:80%;max-width:var(--mc-modal-max-width);min-width:var(--mc-modal-min-width)}}.mc-modal__overlay{position:absolute;inset:0;background-color:#20242780;display:flex;justify-content:flex-start}.mc-modal__overlay--hidden{background:transparent}.mc-modal__wrapper{position:absolute;inset:0;z-index:1;overflow:hidden;display:flex;justify-content:center;align-items:center}.mc-modal__btn-close,.mc-modal__btn-back{transition:.15s all;box-sizing:border-box;display:block;margin:0;padding:0;white-space:nowrap;vertical-align:middle;user-select:none;text-align:center;text-decoration:none;text-transform:none;border-radius:0;border:none;background-color:transparent;background-image:none;cursor:pointer;outline:0;font-size:0;line-height:0;font-family:inherit;-webkit-appearance:none;-webkit-text-fill-color:currentColor}.mc-modal__btn-close:focus,.mc-modal__btn-back:focus{outline:0}.mc-modal__btn-close,.mc-modal__btn-back{color:#8f99a3}.mc-modal__btn-close:hover,.mc-modal__btn-close:focus,.mc-modal__btn-back:hover,.mc-modal__btn-back:focus{color:#202427}.mc-modal__btn-close:active,.mc-modal__btn-back:active{color:#202427!important}.mc-modal__btn-close{position:absolute;top:1.5rem;inset-inline-end:1.5rem;padding:0!important}@media (min-width: 480px){.mc-modal__btn-close{position:absolute;top:1.5rem;inset-inline-end:1.5rem}}.mc-modal__btn-back{position:absolute;top:1.5rem;inset-inline-start:1.5rem}@media (min-width: 480px){.mc-modal__btn-back{position:absolute;top:1.5rem;inset-inline-start:1.5rem}}.mc-modal__icon-close{height:1.5rem;width:1.5rem;min-height:1.5rem;min-width:1.5rem;max-height:1.5rem;max-width:1.5rem;transition:color .15s}.mc-modal.overlay-fade-enter-active .mc-modal__inner,.mc-modal.overlay-fade-leave-active .mc-modal__inner{transition:all .15s;transform:translateZ(0)}.mc-modal.overlay-fade-enter .mc-modal__inner,.mc-modal.overlay-fade-leave-active .mc-modal__inner{transform:translate3d(0,-20px,0)}.mc-modal.mc-modal--secondary .mc-modal__inner{border-radius:2rem;box-shadow:0 15px 30px #20008c28;padding:2rem}.mc-modal.mc-modal--secondary .mc-modal__btn-close,.mc-modal.mc-modal--secondary .mc-modal__btn-back{top:27px}.mc-modal.mc-modal--secondary .mc-modal__btn-close{inset-inline-end:2rem}.mc-modal.mc-modal--secondary .mc-modal__btn-back{inset-inline-start:2rem}.mc-modal.mc-modal--secondary .mc-modal__header{padding-bottom:9px;border-bottom:2px solid #EDF0F3;margin-bottom:var(--mc-modal-padding)}.mc-modal.mc-modal--secondary .mc-modal__control{display:flex;justify-content:space-between;align-items:center}.mc-modal.mc-modal--secondary .mc-modal__control .mc-button{border-radius:.75rem}.mc-modal__header{flex-shrink:0;transition:.15s all;padding:var(--mc-modal-padding) 1rem 1.75rem;border-color:#edf0f3}@media (min-width: 480px){.mc-modal__header{padding:1.75rem}.mc-modal__header .mc-title{transition:.15s all;line-height:var(--mc-modal-header-line-height)}}.mc-modal__header:has(.mc-modal__title:empty){display:none}.mc-modal__header:has(.mc-modal__title:empty)+.mc-modal__body{padding-top:2rem}.mc-modal__title{margin-top:0;margin-bottom:0;color:#212121;font-family:Inter,sans-serif;overflow-x:hidden;text-overflow:ellipsis}.mc-modal__body{padding:.25rem 1rem 1rem;flex-grow:1;min-height:0;overflow-x:hidden}.mc-modal__body>*:only-child{min-height:100%}@media (min-width: 480px){.mc-modal__body{padding:.25rem 2rem 1rem;overflow:visible}}.mc-modal__inner{position:relative;box-shadow:0 4px 12px #00000029;background-color:#fff;display:flex;flex-direction:column;overflow:hidden;height:100%!important}.mc-modal__inner>*:first-child{padding-top:var(--mc-modal-padding)}.mc-modal__inner>*:last-child{padding-bottom:var(--mc-modal-padding)}@media (min-width: 480px){.mc-modal__inner--with-title .mc-modal__btn-close{position:absolute;top:var(--mc-modal-padding);inset-inline-end:2rem}}@media (min-width: 480px){.mc-modal__inner--with-title .mc-modal__btn-back{position:absolute;top:var(--mc-modal-padding);inset-inline-start:2rem}}@media (min-width: 480px){.mc-modal__inner{overflow:visible;-ms-overflow-style:none;scrollbar-width:none;border-radius:.5rem;margin:0 .75rem}.mc-modal__inner::-webkit-scrollbar{display:none}}.mc-modal--scrollable{overflow:hidden!important}.mc-modal--scrollable .mc-modal__body{overflow-y:auto;overflow-x:hidden}.mc-modal--scrollable .mc-modal__inner{overflow-x:hidden}@media (min-width: 480px){.mc-modal--scrollable .mc-modal__inner{max-height:80vh}}.mc-modal--header-align-center .mc-modal__header{padding-inline:2.5rem;text-align:center}@media (min-width: 480px){.mc-modal--header-align-center .mc-modal__header{padding-inline:3.5rem}}.mc-modal--header-align-left .mc-modal__header{padding-bottom:.75rem}@media (min-width: 480px){.mc-modal--small-indents .mc-modal__control{padding-block:var(--mc-modal-padding-small)!important}.mc-modal--small-indents .mc-modal__control .mc-button{height:var(--mc-modal-button-height-small)}.mc-modal--small-indents .mc-modal__header{padding-block:var(--mc-modal-padding-small)!important}.mc-modal--small-indents .mc-modal__header .mc-title{align-items:center}.mc-modal--small-indents .mc-modal__body{padding-bottom:.25rem}}.mc-modal--small-indents .mc-modal__inner--with-title .mc-modal__btn-back,.mc-modal--small-indents .mc-modal__inner--with-title .mc-modal__btn-close{top:var(--mc-modal-padding-small)!important}.mc-modal--scrolled-top .mc-modal__header{border-bottom:1px solid #EDF0F3}.mc-modal--scrolled-bottom .mc-modal__control:not(:empty){border-top:1px solid #EDF0F3}.mc-modal--top-padding .mc-modal__inner:before{content:"";height:2rem;min-height:2rem}.mc-modal__control{flex-shrink:0;display:flex;justify-content:center;padding:1rem 1rem 2rem;transition:.15s all}@media (min-width: 480px){.mc-modal__control{padding:1rem 1.5rem 2rem}}.mc-modal__control .mc-button{width:100%}@media (min-width: 480px){.mc-modal__control .mc-button{min-width:100px;height:var(--mc-modal-button-height);transition:.15s all;width:unset}}.mc-modal__control:empty{position:relative;padding:1.75rem 0 0}.mc-modal__control:not(:empty){border-color:#edf0f3}.mc-modal:has(.mc-modal__control:empty) .mc-modal__body{padding-bottom:.25rem}@media (min-width: 480px){.mc-modal--variation-info .mc-modal__header{padding:1.5rem 1.5rem .75rem}}@media (min-width: 480px){.mc-modal--variation-info .mc-modal__btn-close{top:1.5rem}}@media (min-width: 480px){.mc-modal--variation-info .mc-modal__inner>*:first-child{padding-top:1.5rem}}@media (min-width: 480px){.mc-modal--variation-info .mc-modal__inner>*:last-child{padding-bottom:1.5rem}}.mc-modal--variation-info .mc-modal__body{padding-bottom:.25rem}@media (min-width: 480px){.mc-modal--variation-info .mc-modal__body{padding-inline:1.5rem}}.mc-modal--variation-info .mc-modal__control{padding-top:1.25rem}@media (min-width: 480px){.mc-modal--variation-info .mc-modal__control{padding-top:.75rem}}html[dir=rtl] .mc-modal__btn-back{transform:rotate(180deg)}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { LineHeights as
|
|
1
|
+
import { defineComponent as Z, defineAsyncComponent as ee, useSlots as te, ref as u, reactive as oe, computed as S, watch as z, openBlock as d, createElementBlock as c, withModifiers as k, createCommentVNode as i, createElementVNode as p, normalizeStyle as le, normalizeClass as M, renderSlot as w, createVNode as T, unref as $ } from "vue";
|
|
2
|
+
import { LineHeights as ae } from "../../../types/styles/LineHeights.js";
|
|
3
3
|
import { Sizes as f } from "../../../types/styles/Sizes.js";
|
|
4
|
-
import { Spaces as
|
|
5
|
-
import { useTransition as
|
|
6
|
-
const
|
|
4
|
+
import { Spaces as h } from "../../../types/styles/Spaces.js";
|
|
5
|
+
import { useTransition as ne, TransitionPresets as se, useEventListener as re } from "@vueuse/core";
|
|
6
|
+
const de = {
|
|
7
7
|
key: 0,
|
|
8
8
|
class: "mc-modal__wrapper"
|
|
9
|
-
},
|
|
9
|
+
}, ce = {
|
|
10
10
|
key: 0,
|
|
11
11
|
class: "mc-modal__header"
|
|
12
|
-
},
|
|
12
|
+
}, ie = { class: "mc-modal__title" }, me = {
|
|
13
13
|
key: 1,
|
|
14
14
|
class: "mc-modal__control",
|
|
15
15
|
id: "mcModalFooter"
|
|
16
|
-
},
|
|
16
|
+
}, ge = /* @__PURE__ */ Z({
|
|
17
17
|
__name: "McModal",
|
|
18
18
|
props: {
|
|
19
19
|
modelValue: {
|
|
@@ -119,11 +119,11 @@ const ce = {
|
|
|
119
119
|
}
|
|
120
120
|
},
|
|
121
121
|
emits: ["before-open", "before-close", "opened", "closed", "back", "update:modelValue"],
|
|
122
|
-
setup(
|
|
123
|
-
const
|
|
124
|
-
duration:
|
|
125
|
-
transition:
|
|
126
|
-
}), s = u(null),
|
|
122
|
+
setup(_, { emit: E }) {
|
|
123
|
+
const B = ee(() => import("../../elements/McSvgIcon/McSvgIcon.vue.js")), H = te(), r = E, o = _, b = u(0), F = ne(b, {
|
|
124
|
+
duration: o.duration || 300,
|
|
125
|
+
transition: se.easeOutQuart
|
|
126
|
+
}), s = u(null), V = u(null), m = u(null), e = oe({
|
|
127
127
|
scrolled_top: !1,
|
|
128
128
|
scrolled_bottom: !1,
|
|
129
129
|
small_indents: !1,
|
|
@@ -142,75 +142,71 @@ const ce = {
|
|
|
142
142
|
header: {
|
|
143
143
|
title: {
|
|
144
144
|
line_height: {
|
|
145
|
-
regular: "300"
|
|
146
|
-
small: "250"
|
|
145
|
+
regular: "300"
|
|
147
146
|
}
|
|
148
147
|
}
|
|
149
148
|
}
|
|
150
149
|
});
|
|
151
|
-
|
|
152
|
-
const
|
|
153
|
-
"mc-modal--arrow-visible":
|
|
150
|
+
S(() => !!H.title);
|
|
151
|
+
const O = S(() => ({
|
|
152
|
+
"mc-modal--arrow-visible": o.arrowVisible,
|
|
154
153
|
"mc-modal--scrolled-top": e.scrolled_top,
|
|
155
154
|
"mc-modal--scrolled-bottom": e.scrolled_bottom,
|
|
156
|
-
"mc-modal--scrollable":
|
|
157
|
-
"mc-modal--top-padding":
|
|
155
|
+
"mc-modal--scrollable": o.scrollableContent,
|
|
156
|
+
"mc-modal--top-padding": o.topPadding,
|
|
158
157
|
"mc-modal--small-indents": e.small_indents,
|
|
159
|
-
[`mc-modal--variation-${
|
|
160
|
-
[`mc-modal--header-align-${
|
|
161
|
-
})),
|
|
162
|
-
"--mc-modal-padding":
|
|
163
|
-
"--mc-modal-padding-small":
|
|
164
|
-
"--mc-modal-header-line-height":
|
|
165
|
-
"--mc-modal-header-line-height-small": p[e.header.title.line_height.small],
|
|
158
|
+
[`mc-modal--variation-${o.variation}`]: !!o.variation,
|
|
159
|
+
[`mc-modal--header-align-${o.headerAlign}`]: (o.closeVisible || o.arrowVisible) && !!o.headerAlign
|
|
160
|
+
})), P = S(() => ({
|
|
161
|
+
"--mc-modal-padding": h[e.indent.regular],
|
|
162
|
+
"--mc-modal-padding-small": h[e.indent.small],
|
|
163
|
+
"--mc-modal-header-line-height": ae[e.header.title.line_height.regular],
|
|
166
164
|
"--mc-modal-button-height": f[e.footer.button.regular],
|
|
167
165
|
"--mc-modal-button-height-small": f[e.footer.button.small],
|
|
168
|
-
"--mc-modal-max-width": `${
|
|
169
|
-
"--mc-modal-min-width": `${
|
|
170
|
-
"--mc-modal-state-number":
|
|
171
|
-
})),
|
|
166
|
+
"--mc-modal-max-width": `${o.maxWidth + 24}px`,
|
|
167
|
+
"--mc-modal-min-width": `${o.minWidth - 24}px`,
|
|
168
|
+
"--mc-modal-state-number": F.value
|
|
169
|
+
})), A = () => {
|
|
172
170
|
e.scrolled_top = !1, e.scrolled_bottom = !1, e.small_indents = !1, e.can_shorten_modal = !1;
|
|
173
|
-
},
|
|
174
|
-
const n = getComputedStyle(t).getPropertyValue(
|
|
171
|
+
}, N = () => V.value?.parentElement ?? null, I = (t, l) => {
|
|
172
|
+
const n = getComputedStyle(t).getPropertyValue(l).trim();
|
|
175
173
|
if (!n) return 0;
|
|
176
174
|
const a = parseFloat(n);
|
|
177
175
|
return n.endsWith("rem") ? a * parseFloat(getComputedStyle(document.documentElement).fontSize) : a;
|
|
178
|
-
}, L = () => {
|
|
179
|
-
const t = parseFloat(getComputedStyle(document.documentElement).fontSize), o = (le) => parseFloat(le) * t, n = +e.modal_params["--mc-modal-padding"] || o(_[e.indent.regular]), a = +e.modal_params["--mc-modal-padding-small"] || o(_[e.indent.small]), K = +e.modal_params["--mc-modal-header-line-height"] || o(p[e.header.title.line_height.regular]), U = +e.modal_params["--mc-modal-header-line-height-small"] || o(p[e.header.title.line_height.small]), X = +e.modal_params["--mc-modal-button-height"] || o(f[e.footer.button.regular]), Y = +e.modal_params["--mc-modal-button-height-small"] || o(f[e.footer.button.small]), Z = (n - a) * 3 + a, ee = K - U, te = X - Y;
|
|
180
|
-
return Z + ee + te;
|
|
181
|
-
}, v = () => {
|
|
182
|
-
if (!s.value) return;
|
|
183
|
-
const { scrollTop: t, scrollHeight: o, clientHeight: n } = s.value, a = 2;
|
|
184
|
-
e.scrolled_top = t > a, e.small_indents ? e.small_indents = t > 0 : e.small_indents = t > a && e.can_shorten_modal, e.scrolled_bottom = t + n < o - a;
|
|
185
176
|
}, W = () => {
|
|
186
|
-
|
|
177
|
+
const t = parseFloat(getComputedStyle(document.documentElement).fontSize), l = (Y) => parseFloat(Y) * t, n = +e.modal_params["--mc-modal-padding"] || l(h[e.indent.regular]), a = +e.modal_params["--mc-modal-padding-small"] || l(h[e.indent.small]), J = +e.modal_params["--mc-modal-button-height"] || l(f[e.footer.button.regular]), K = +e.modal_params["--mc-modal-button-height-small"] || l(f[e.footer.button.small]), U = (n - a) * 3 + a, X = J - K;
|
|
178
|
+
return U + X;
|
|
179
|
+
}, g = () => {
|
|
180
|
+
if (!s.value) return;
|
|
181
|
+
const { scrollTop: t, scrollHeight: l, clientHeight: n } = s.value, a = 2;
|
|
182
|
+
e.scrolled_top = t > a, e.small_indents ? e.small_indents = t > 0 : e.small_indents = t > a && e.can_shorten_modal, e.scrolled_bottom = t + n < l - a;
|
|
183
|
+
}, D = () => {
|
|
184
|
+
v(), g();
|
|
187
185
|
};
|
|
188
|
-
|
|
189
|
-
|
|
186
|
+
re(s, "scroll", () => {
|
|
187
|
+
o.separators && D();
|
|
190
188
|
}, { passive: !0 });
|
|
191
|
-
const
|
|
192
|
-
|
|
189
|
+
const C = () => {
|
|
190
|
+
m.value?.disconnect(), m.value = null;
|
|
193
191
|
}, x = () => {
|
|
194
|
-
!s.value || !
|
|
195
|
-
},
|
|
192
|
+
!s.value || !o.separators || (C(), m.value = new ResizeObserver(j), m.value.observe(s.value));
|
|
193
|
+
}, L = () => {
|
|
196
194
|
requestAnimationFrame(() => {
|
|
197
195
|
requestAnimationFrame(() => {
|
|
198
|
-
|
|
196
|
+
R();
|
|
199
197
|
});
|
|
200
198
|
});
|
|
201
|
-
},
|
|
202
|
-
s.value && (
|
|
203
|
-
},
|
|
199
|
+
}, R = () => {
|
|
200
|
+
s.value && (Q(), s.value.scrollTop = 0, v(), g());
|
|
201
|
+
}, q = (t) => {
|
|
204
202
|
r("back", t);
|
|
205
|
-
},
|
|
203
|
+
}, Q = () => {
|
|
206
204
|
try {
|
|
207
|
-
const t =
|
|
205
|
+
const t = N();
|
|
208
206
|
if (!t) return;
|
|
209
207
|
[
|
|
210
208
|
"--mc-modal-padding",
|
|
211
209
|
"--mc-modal-padding-small",
|
|
212
|
-
"--mc-modal-header-line-height",
|
|
213
|
-
"--mc-modal-header-line-height-small",
|
|
214
210
|
"--mc-modal-button-height",
|
|
215
211
|
"--mc-modal-button-height-small"
|
|
216
212
|
].forEach((n) => {
|
|
@@ -220,94 +216,94 @@ const ce = {
|
|
|
220
216
|
} catch (t) {
|
|
221
217
|
console.error(t);
|
|
222
218
|
}
|
|
223
|
-
},
|
|
219
|
+
}, v = () => {
|
|
224
220
|
if (!s.value) return;
|
|
225
|
-
const { scrollTop: t, scrollHeight:
|
|
226
|
-
(!e.small_indents || t === 0) && (e.can_shorten_modal =
|
|
227
|
-
},
|
|
228
|
-
|
|
229
|
-
},
|
|
221
|
+
const { scrollTop: t, scrollHeight: l, clientHeight: n } = s.value, a = W();
|
|
222
|
+
(!e.small_indents || t === 0) && (e.can_shorten_modal = l - n > a);
|
|
223
|
+
}, j = () => {
|
|
224
|
+
v(), g();
|
|
225
|
+
}, y = () => {
|
|
230
226
|
r("before-close"), r("closed"), r("update:modelValue", !1);
|
|
231
|
-
},
|
|
232
|
-
|
|
227
|
+
}, G = () => {
|
|
228
|
+
o.clickBackdropToClose && y();
|
|
233
229
|
};
|
|
234
|
-
return
|
|
235
|
-
() =>
|
|
236
|
-
(t,
|
|
237
|
-
if (t !==
|
|
230
|
+
return z(
|
|
231
|
+
() => o.modelValue,
|
|
232
|
+
(t, l) => {
|
|
233
|
+
if (t !== l) {
|
|
238
234
|
if (t) {
|
|
239
235
|
b.value = 1, r("before-open");
|
|
240
236
|
return;
|
|
241
237
|
}
|
|
242
|
-
|
|
238
|
+
C(), A(), b.value = 0, y();
|
|
243
239
|
}
|
|
244
240
|
},
|
|
245
241
|
{ immediate: !0 }
|
|
246
|
-
),
|
|
242
|
+
), z(
|
|
247
243
|
s,
|
|
248
|
-
(t,
|
|
249
|
-
!
|
|
244
|
+
(t, l) => {
|
|
245
|
+
!o.modelValue || !t || !o.separators || (x(), l || (L(), r("opened")));
|
|
250
246
|
},
|
|
251
247
|
{ flush: "post" }
|
|
252
|
-
), (t,
|
|
253
|
-
|
|
248
|
+
), (t, l) => o.modelValue ? (d(), c("div", de, [
|
|
249
|
+
o.showOverlay ? (d(), c("div", {
|
|
254
250
|
key: 0,
|
|
255
251
|
class: "mc-modal__overlay",
|
|
256
|
-
onClick:
|
|
257
|
-
})) :
|
|
258
|
-
|
|
259
|
-
class: M(["mc-modal",
|
|
260
|
-
style:
|
|
252
|
+
onClick: k(G, ["stop"])
|
|
253
|
+
})) : i("", !0),
|
|
254
|
+
p("div", {
|
|
255
|
+
class: M(["mc-modal", O.value]),
|
|
256
|
+
style: le(P.value)
|
|
261
257
|
}, [
|
|
262
|
-
|
|
258
|
+
p("div", {
|
|
263
259
|
ref_key: "modalInner",
|
|
264
|
-
ref:
|
|
260
|
+
ref: V,
|
|
265
261
|
class: M(["mc-modal__inner", { "mc-modal__inner--with-title": t.$slots.title }])
|
|
266
262
|
}, [
|
|
267
|
-
t.$slots.title ? (
|
|
268
|
-
|
|
269
|
-
|
|
263
|
+
t.$slots.title ? (d(), c("div", ce, [
|
|
264
|
+
p("div", ie, [
|
|
265
|
+
w(t.$slots, "title")
|
|
270
266
|
])
|
|
271
|
-
])) :
|
|
272
|
-
|
|
267
|
+
])) : i("", !0),
|
|
268
|
+
p("div", {
|
|
273
269
|
ref_key: "mcModalBody",
|
|
274
270
|
ref: s,
|
|
275
271
|
class: "mc-modal__body"
|
|
276
272
|
}, [
|
|
277
|
-
|
|
273
|
+
w(t.$slots, "default")
|
|
278
274
|
], 512),
|
|
279
|
-
t.$slots.footer ? (
|
|
280
|
-
|
|
281
|
-
])) :
|
|
282
|
-
|
|
275
|
+
t.$slots.footer ? (d(), c("div", me, [
|
|
276
|
+
w(t.$slots, "footer")
|
|
277
|
+
])) : i("", !0),
|
|
278
|
+
_.arrowVisible ? (d(), c("button", {
|
|
283
279
|
key: 2,
|
|
284
280
|
type: "button",
|
|
285
281
|
class: "mc-modal__btn-back",
|
|
286
|
-
onClick:
|
|
282
|
+
onClick: k(q, ["prevent"])
|
|
287
283
|
}, [
|
|
288
|
-
T($(
|
|
284
|
+
T($(B), {
|
|
289
285
|
name: "arrow_leftward",
|
|
290
286
|
class: "mc-modal__icon-back"
|
|
291
287
|
})
|
|
292
|
-
])) :
|
|
293
|
-
|
|
288
|
+
])) : i("", !0),
|
|
289
|
+
_.closeVisible ? (d(), c("button", {
|
|
294
290
|
key: 3,
|
|
295
291
|
type: "button",
|
|
296
292
|
class: "mc-modal__btn-close",
|
|
297
|
-
onClick:
|
|
293
|
+
onClick: k(y, ["prevent"])
|
|
298
294
|
}, [
|
|
299
|
-
T($(
|
|
295
|
+
T($(B), {
|
|
300
296
|
class: "mc-modal__icon-close",
|
|
301
297
|
width: "24",
|
|
302
298
|
height: "24",
|
|
303
299
|
name: "close"
|
|
304
300
|
})
|
|
305
|
-
])) :
|
|
301
|
+
])) : i("", !0)
|
|
306
302
|
], 2)
|
|
307
303
|
], 6)
|
|
308
|
-
])) :
|
|
304
|
+
])) : i("", !0);
|
|
309
305
|
}
|
|
310
306
|
});
|
|
311
307
|
export {
|
|
312
|
-
|
|
308
|
+
ge as default
|
|
313
309
|
};
|