@weni/unnnic-system 2.2.0 → 2.4.0
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/CHANGELOG.md +19 -0
- package/dist/style.css +1 -1
- package/dist/unnnic.mjs +157 -142
- package/dist/unnnic.umd.js +14 -14
- package/package.json +1 -1
- package/src/components/Button/Button.vue +7 -6
- package/src/components/ModalDialog/ModalDialog.vue +91 -55
- package/src/stories/Button.stories.js +55 -13
- package/src/stories/ModalDialog.mdx +23 -0
- package/src/stories/ModalDialog.stories.js +40 -0
package/dist/unnnic.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { openBlock as u, createElementBlock as m, normalizeClass as N, toDisplayString as M, createCommentVNode as T, renderSlot as
|
|
1
|
+
import { openBlock as u, createElementBlock as m, normalizeClass as N, toDisplayString as M, createCommentVNode as T, renderSlot as K, resolveDirective as _2, withDirectives as Ze, mergeProps as r1, createElementVNode as f, createStaticVNode as ke, pushScopeId as T1, popScopeId as S1, createBlock as Y, resolveDynamicComponent as bn, resolveComponent as S, createVNode as E, normalizeStyle as be, createTextVNode as o1, Fragment as R, renderList as X, withModifiers as Ie, vShow as J1, withCtx as ve, getCurrentScope as Tc, onScopeDispose as Sc, unref as Bc, toRef as Nc, readonly as Hc, customRef as jc, ref as Si, watch as Di, computed as bt, createSlots as Ic, Transition as Wo, normalizeProps as Ec, createApp as Qo, inject as oo, vModelText as qo, withKeys as Hi, TransitionGroup as Oc, toHandlers as Vc } from "vue";
|
|
2
2
|
const Ka = 16;
|
|
3
3
|
const C = (e, i) => {
|
|
4
4
|
const n = e.__vccOpts || e;
|
|
@@ -40,7 +40,7 @@ function Zc(e, i, n, s, r, o) {
|
|
|
40
40
|
}
|
|
41
41
|
])
|
|
42
42
|
}, M(n.label), 3)) : T("", !0),
|
|
43
|
-
|
|
43
|
+
K(e.$slots, "default", {}, void 0, !0),
|
|
44
44
|
n.error && n.error !== !0 ? (u(), m("div", Pc, M(n.error), 1)) : T("", !0),
|
|
45
45
|
n.message ? (u(), m("div", Yc, M(n.message), 1)) : T("", !0)
|
|
46
46
|
]);
|
|
@@ -95,8 +95,8 @@ var ki = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
95
95
|
}
|
|
96
96
|
g.oninput = function(F) {
|
|
97
97
|
if (F.isTrusted) {
|
|
98
|
-
var ae = g.selectionEnd,
|
|
99
|
-
for (g.value = r.i(l.a)(g.value, L.mask, !0, L.tokens); ae < g.value.length && g.value.charAt(ae - 1) !==
|
|
98
|
+
var ae = g.selectionEnd, $ = g.value[ae - 1];
|
|
99
|
+
for (g.value = r.i(l.a)(g.value, L.mask, !0, L.tokens); ae < g.value.length && g.value.charAt(ae - 1) !== $; )
|
|
100
100
|
ae++;
|
|
101
101
|
g === document.activeElement && (g.setSelectionRange(ae, ae), setTimeout(function() {
|
|
102
102
|
g.setSelectionRange(ae, ae);
|
|
@@ -173,15 +173,15 @@ var ki = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
173
173
|
var H = h[_], F = g[H], ae = l[L];
|
|
174
174
|
F && !F.escape ? (F.pattern.test(ae) && (A += F.transform ? F.transform(ae) : ae, _++), L++) : (F && F.escape && (_++, H = h[_]), p && (A += H), ae === H && L++, _++);
|
|
175
175
|
}
|
|
176
|
-
for (var
|
|
176
|
+
for (var $ = ""; _ < h.length && p; ) {
|
|
177
177
|
var H = h[_];
|
|
178
178
|
if (g[H]) {
|
|
179
|
-
|
|
179
|
+
$ = "";
|
|
180
180
|
break;
|
|
181
181
|
}
|
|
182
|
-
|
|
182
|
+
$ += H, _++;
|
|
183
183
|
}
|
|
184
|
-
return A +
|
|
184
|
+
return A + $;
|
|
185
185
|
}
|
|
186
186
|
s.a = o;
|
|
187
187
|
}, function(n, s, r) {
|
|
@@ -4255,7 +4255,7 @@ function XN(e, i, n, s, r, o) {
|
|
|
4255
4255
|
class: N(["unnnic-form", n.size])
|
|
4256
4256
|
}, [
|
|
4257
4257
|
o.hasLabelSlot ? (u(), m("p", QN, [
|
|
4258
|
-
|
|
4258
|
+
K(e.$slots, "label", {}, void 0, !0)
|
|
4259
4259
|
])) : n.label ? (u(), m("p", qN, M(n.label), 1)) : T("", !0),
|
|
4260
4260
|
E(l, r1(e.$attrs, {
|
|
4261
4261
|
modelValue: r.val,
|
|
@@ -6976,9 +6976,9 @@ var It = { exports: {} };
|
|
|
6976
6976
|
It.exports;
|
|
6977
6977
|
(function(e, i) {
|
|
6978
6978
|
(function() {
|
|
6979
|
-
var n, s = "4.17.21", r = 200, o = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.", l = "Expected a function", h = "Invalid `variable` option passed into `_.template`", p = "__lodash_hash_undefined__", g = 500, _ = "__lodash_placeholder__", L = 1, A = 2, H = 4, F = 1, ae = 2,
|
|
6979
|
+
var n, s = "4.17.21", r = 200, o = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.", l = "Expected a function", h = "Invalid `variable` option passed into `_.template`", p = "__lodash_hash_undefined__", g = 500, _ = "__lodash_placeholder__", L = 1, A = 2, H = 4, F = 1, ae = 2, $ = 1, le = 2, Ge = 4, n1 = 8, Re = 16, i1 = 32, ti = 64, an = 128, Vi = 256, s0 = 512, H4 = 30, j4 = "...", I4 = 800, E4 = 16, L3 = 1, O4 = 2, V4 = 3, Pn = 1 / 0, An = 9007199254740991, F4 = 17976931348623157e292, D2 = 0 / 0, R1 = 4294967295, U4 = R1 - 1, P4 = R1 >>> 1, Y4 = [
|
|
6980
6980
|
["ary", an],
|
|
6981
|
-
["bind",
|
|
6981
|
+
["bind", $],
|
|
6982
6982
|
["bindKey", le],
|
|
6983
6983
|
["curry", n1],
|
|
6984
6984
|
["curryRight", Re],
|
|
@@ -8524,7 +8524,7 @@ It.exports;
|
|
|
8524
8524
|
};
|
|
8525
8525
|
}
|
|
8526
8526
|
function ql(t, a, d) {
|
|
8527
|
-
var c = a &
|
|
8527
|
+
var c = a & $, y = a2(t);
|
|
8528
8528
|
function w() {
|
|
8529
8529
|
var k = this && this !== We && this instanceof w ? y : t;
|
|
8530
8530
|
return k.apply(c ? d : this, arguments);
|
|
@@ -8631,7 +8631,7 @@ It.exports;
|
|
|
8631
8631
|
});
|
|
8632
8632
|
}
|
|
8633
8633
|
function at(t, a, d, c, y, w, k, x, D, j) {
|
|
8634
|
-
var I = a & an, V = a &
|
|
8634
|
+
var I = a & an, V = a & $, Z = a & le, q = a & (n1 | Re), ie = a & s0, fe = Z ? n : a2(t);
|
|
8635
8635
|
function te() {
|
|
8636
8636
|
for (var ue = arguments.length, ye = z(ue), v1 = ue; v1--; )
|
|
8637
8637
|
ye[v1] = arguments[v1];
|
|
@@ -8694,7 +8694,7 @@ It.exports;
|
|
|
8694
8694
|
return di(a) ? jn(I1(c), 0, t).join("") : c.slice(0, t);
|
|
8695
8695
|
}
|
|
8696
8696
|
function Xl(t, a, d, c) {
|
|
8697
|
-
var y = a &
|
|
8697
|
+
var y = a & $, w = a2(t);
|
|
8698
8698
|
function k() {
|
|
8699
8699
|
for (var x = -1, D = arguments.length, j = -1, I = c.length, V = z(I + D), Z = this && this !== We && this instanceof k ? w : t; ++j < I; )
|
|
8700
8700
|
V[j] = c[j];
|
|
@@ -8716,7 +8716,7 @@ It.exports;
|
|
|
8716
8716
|
}
|
|
8717
8717
|
function l5(t, a, d, c, y, w, k, x, D, j) {
|
|
8718
8718
|
var I = a & n1, V = I ? k : n, Z = I ? n : k, q = I ? w : n, ie = I ? n : w;
|
|
8719
|
-
a |= I ? i1 : ti, a &= ~(I ? ti : i1), a & Ge || (a &= ~(
|
|
8719
|
+
a |= I ? i1 : ti, a &= ~(I ? ti : i1), a & Ge || (a &= ~($ | le));
|
|
8720
8720
|
var fe = [
|
|
8721
8721
|
t,
|
|
8722
8722
|
a,
|
|
@@ -8771,10 +8771,10 @@ It.exports;
|
|
|
8771
8771
|
k,
|
|
8772
8772
|
x
|
|
8773
8773
|
];
|
|
8774
|
-
if (Z && u9(q, Z), t = q[0], a = q[1], d = q[2], c = q[3], y = q[4], x = q[9] = q[9] === n ? D ? 0 : t.length : Ue(q[9] - j, 0), !x && a & (n1 | Re) && (a &= ~(n1 | Re)), !a || a ==
|
|
8774
|
+
if (Z && u9(q, Z), t = q[0], a = q[1], d = q[2], c = q[3], y = q[4], x = q[9] = q[9] === n ? D ? 0 : t.length : Ue(q[9] - j, 0), !x && a & (n1 | Re) && (a &= ~(n1 | Re)), !a || a == $)
|
|
8775
8775
|
var ie = ql(t, a, d);
|
|
8776
8776
|
else
|
|
8777
|
-
a == n1 || a == Re ? ie = Gl(t, a, x) : (a == i1 || a == (
|
|
8777
|
+
a == n1 || a == Re ? ie = Gl(t, a, x) : (a == i1 || a == ($ | i1)) && !y.length ? ie = Xl(t, a, d, c) : ie = at.apply(n, q);
|
|
8778
8778
|
var fe = Z ? Zs : C5;
|
|
8779
8779
|
return k5(fe(ie, q), t, a);
|
|
8780
8780
|
}
|
|
@@ -9103,10 +9103,10 @@ It.exports;
|
|
|
9103
9103
|
return a;
|
|
9104
9104
|
}
|
|
9105
9105
|
function u9(t, a) {
|
|
9106
|
-
var d = t[1], c = a[1], y = d | c, w = y < (
|
|
9106
|
+
var d = t[1], c = a[1], y = d | c, w = y < ($ | le | an), k = c == an && d == n1 || c == an && d == Vi && t[7].length <= a[8] || c == (an | Vi) && a[7].length <= a[8] && d == n1;
|
|
9107
9107
|
if (!(w || k))
|
|
9108
9108
|
return t;
|
|
9109
|
-
c &
|
|
9109
|
+
c & $ && (t[2] = a[2], y |= d & $ ? 0 : Ge);
|
|
9110
9110
|
var x = a[3];
|
|
9111
9111
|
if (x) {
|
|
9112
9112
|
var D = t[3];
|
|
@@ -9664,14 +9664,14 @@ It.exports;
|
|
|
9664
9664
|
};
|
|
9665
9665
|
}
|
|
9666
9666
|
var ma = ce(function(t, a, d) {
|
|
9667
|
-
var c =
|
|
9667
|
+
var c = $;
|
|
9668
9668
|
if (d.length) {
|
|
9669
9669
|
var y = Tn(d, vi(ma));
|
|
9670
9670
|
c |= i1;
|
|
9671
9671
|
}
|
|
9672
9672
|
return ln(t, c, a, d, y);
|
|
9673
9673
|
}), E5 = ce(function(t, a, d) {
|
|
9674
|
-
var c =
|
|
9674
|
+
var c = $ | le;
|
|
9675
9675
|
if (d.length) {
|
|
9676
9676
|
var y = Tn(d, vi(E5));
|
|
9677
9677
|
c |= i1;
|
|
@@ -10687,7 +10687,7 @@ const eO = {
|
|
|
10687
10687
|
},
|
|
10688
10688
|
text: {
|
|
10689
10689
|
type: String,
|
|
10690
|
-
default:
|
|
10690
|
+
default: ""
|
|
10691
10691
|
},
|
|
10692
10692
|
type: {
|
|
10693
10693
|
type: String,
|
|
@@ -10699,26 +10699,27 @@ const eO = {
|
|
|
10699
10699
|
},
|
|
10700
10700
|
iconLeft: {
|
|
10701
10701
|
type: String,
|
|
10702
|
-
default:
|
|
10702
|
+
default: ""
|
|
10703
10703
|
},
|
|
10704
10704
|
iconRight: {
|
|
10705
10705
|
type: String,
|
|
10706
|
-
default:
|
|
10706
|
+
default: ""
|
|
10707
10707
|
},
|
|
10708
10708
|
iconCenter: {
|
|
10709
10709
|
type: String,
|
|
10710
|
-
default:
|
|
10710
|
+
default: ""
|
|
10711
10711
|
},
|
|
10712
10712
|
next: {
|
|
10713
10713
|
type: Boolean,
|
|
10714
|
-
default:
|
|
10714
|
+
default: !1
|
|
10715
10715
|
},
|
|
10716
10716
|
disabled: {
|
|
10717
10717
|
type: Boolean,
|
|
10718
|
-
default:
|
|
10718
|
+
default: !1
|
|
10719
10719
|
},
|
|
10720
10720
|
loading: {
|
|
10721
|
-
type: Boolean
|
|
10721
|
+
type: Boolean,
|
|
10722
|
+
default: !1
|
|
10722
10723
|
}
|
|
10723
10724
|
},
|
|
10724
10725
|
computed: {
|
|
@@ -10815,7 +10816,7 @@ function iO(e, i, n, s, r, o) {
|
|
|
10815
10816
|
class: "unnnic-button__label",
|
|
10816
10817
|
style: be({ visibility: n.loading ? "hidden" : null })
|
|
10817
10818
|
}, [
|
|
10818
|
-
|
|
10819
|
+
K(e.$slots, "default", {}, void 0, !0),
|
|
10819
10820
|
o1(" " + M(n.text), 1)
|
|
10820
10821
|
], 4)),
|
|
10821
10822
|
n.iconRight ? (u(), Y(l, {
|
|
@@ -10829,7 +10830,7 @@ function iO(e, i, n, s, r, o) {
|
|
|
10829
10830
|
}, null, 8, ["icon", "scheme", "size", "class", "style", "next"])) : T("", !0)
|
|
10830
10831
|
], 16, nO);
|
|
10831
10832
|
}
|
|
10832
|
-
const tn = /* @__PURE__ */ C(eO, [["render", iO], ["__scopeId", "data-v-
|
|
10833
|
+
const tn = /* @__PURE__ */ C(eO, [["render", iO], ["__scopeId", "data-v-4cec5e43"]]);
|
|
10833
10834
|
const tO = {
|
|
10834
10835
|
components: {
|
|
10835
10836
|
UnnnicButton: tn
|
|
@@ -11433,11 +11434,11 @@ function LO(e, i, n, s, r, o) {
|
|
|
11433
11434
|
})
|
|
11434
11435
|
}, [
|
|
11435
11436
|
f("div", DO, [
|
|
11436
|
-
|
|
11437
|
+
K(e.$slots, "header")
|
|
11437
11438
|
]),
|
|
11438
|
-
|
|
11439
|
+
K(e.$slots, "default"),
|
|
11439
11440
|
f("div", AO, [
|
|
11440
|
-
|
|
11441
|
+
K(e.$slots, "footer")
|
|
11441
11442
|
])
|
|
11442
11443
|
], 2);
|
|
11443
11444
|
}
|
|
@@ -11511,7 +11512,7 @@ function HO(e, i, n, s, r, o) {
|
|
|
11511
11512
|
}),
|
|
11512
11513
|
onMouseover: i[0] || (i[0] = (...l) => o.handleResize && o.handleResize(...l))
|
|
11513
11514
|
}, [
|
|
11514
|
-
|
|
11515
|
+
K(e.$slots, "default", {}, void 0, !0),
|
|
11515
11516
|
Ze(f("span", {
|
|
11516
11517
|
ref: "label",
|
|
11517
11518
|
class: N(["unnnic-tooltip-label", `unnnic-tooltip-label-${n.side}`]),
|
|
@@ -11588,7 +11589,7 @@ function EO(e, i, n, s, r, o) {
|
|
|
11588
11589
|
}, null, 8, ["scheme", "icon"]),
|
|
11589
11590
|
f("span", IO, [
|
|
11590
11591
|
o1(M(n.text) + " ", 1),
|
|
11591
|
-
|
|
11592
|
+
K(e.$slots, "default")
|
|
11592
11593
|
])
|
|
11593
11594
|
]),
|
|
11594
11595
|
_: 3
|
|
@@ -11608,7 +11609,7 @@ const VO = {
|
|
|
11608
11609
|
function PO(e, i, n, s, r, o) {
|
|
11609
11610
|
return u(), m("div", FO, [
|
|
11610
11611
|
f("p", UO, M(n.text), 1),
|
|
11611
|
-
|
|
11612
|
+
K(e.$slots, "default")
|
|
11612
11613
|
]);
|
|
11613
11614
|
}
|
|
11614
11615
|
const YO = /* @__PURE__ */ C(VO, [["render", PO]]);
|
|
@@ -12059,10 +12060,10 @@ function TV(e, i, n, s, r, o) {
|
|
|
12059
12060
|
])
|
|
12060
12061
|
}, [
|
|
12061
12062
|
f("div", yV, [
|
|
12062
|
-
|
|
12063
|
+
K(e.$slots, "header", {}, void 0, !0)
|
|
12063
12064
|
]),
|
|
12064
12065
|
f("div", null, [
|
|
12065
|
-
|
|
12066
|
+
K(e.$slots, "search", {}, void 0, !0)
|
|
12066
12067
|
]),
|
|
12067
12068
|
f("div", vV, [
|
|
12068
12069
|
f("div", {
|
|
@@ -12070,7 +12071,7 @@ function TV(e, i, n, s, r, o) {
|
|
|
12070
12071
|
class: "hover",
|
|
12071
12072
|
style: be({ top: `${r.hoverTop}px` })
|
|
12072
12073
|
}, [
|
|
12073
|
-
|
|
12074
|
+
K(e.$slots, "block-" + r.blockActiveId, {}, void 0, !0)
|
|
12074
12075
|
], 4),
|
|
12075
12076
|
(u(!0), m(R, null, X(n.items, (g, _) => (u(), m("div", {
|
|
12076
12077
|
key: _,
|
|
@@ -12195,7 +12196,7 @@ const BV = {
|
|
|
12195
12196
|
function OV(e, i, n, s, r, o) {
|
|
12196
12197
|
return Ze((u(), m("div", HV, [
|
|
12197
12198
|
f("div", jV, [
|
|
12198
|
-
|
|
12199
|
+
K(e.$slots, "header", {}, void 0, !0)
|
|
12199
12200
|
]),
|
|
12200
12201
|
IV,
|
|
12201
12202
|
f("div", EV, [
|
|
@@ -12203,7 +12204,7 @@ function OV(e, i, n, s, r, o) {
|
|
|
12203
12204
|
key: h,
|
|
12204
12205
|
class: "item"
|
|
12205
12206
|
}, [
|
|
12206
|
-
|
|
12207
|
+
K(e.$slots, "item", { item: l }, void 0, !0)
|
|
12207
12208
|
]))), 128))
|
|
12208
12209
|
])
|
|
12209
12210
|
], 512)), [
|
|
@@ -12235,7 +12236,7 @@ function YV(e, i, n, s, r, o) {
|
|
|
12235
12236
|
minWidth: 0
|
|
12236
12237
|
})
|
|
12237
12238
|
}, [
|
|
12238
|
-
|
|
12239
|
+
K(e.$slots, l.id, {}, () => [
|
|
12239
12240
|
f("div", PV, M(l.text), 1)
|
|
12240
12241
|
], !0)
|
|
12241
12242
|
], 4),
|
|
@@ -12301,7 +12302,7 @@ function QV(e, i, n, s, r, o) {
|
|
|
12301
12302
|
onClick: i[0] || (i[0] = Ie((...h) => o.onClickTrigger && o.onClickTrigger(...h), ["stop"]))
|
|
12302
12303
|
}, [
|
|
12303
12304
|
f("div", WV, [
|
|
12304
|
-
|
|
12305
|
+
K(e.$slots, "trigger", {}, void 0, !0),
|
|
12305
12306
|
r.active ? Ze((u(), m("div", {
|
|
12306
12307
|
key: 0,
|
|
12307
12308
|
class: N([
|
|
@@ -12310,7 +12311,7 @@ function QV(e, i, n, s, r, o) {
|
|
|
12310
12311
|
`unnnic-dropdown__content__position-${n.position}`
|
|
12311
12312
|
])
|
|
12312
12313
|
}, [
|
|
12313
|
-
|
|
12314
|
+
K(e.$slots, "default", {}, void 0, !0)
|
|
12314
12315
|
], 2)), [
|
|
12315
12316
|
[l, o.onClickOutside]
|
|
12316
12317
|
]) : T("", !0)
|
|
@@ -12323,7 +12324,7 @@ const qV = {
|
|
|
12323
12324
|
}, GV = { class: "unnnic-dropdown-item unnnic--clickable" };
|
|
12324
12325
|
function XV(e, i, n, s, r, o) {
|
|
12325
12326
|
return u(), m("a", GV, [
|
|
12326
|
-
|
|
12327
|
+
K(e.$slots, "default")
|
|
12327
12328
|
]);
|
|
12328
12329
|
}
|
|
12329
12330
|
const JV = /* @__PURE__ */ C(qV, [["render", XV]]);
|
|
@@ -12849,7 +12850,7 @@ function tU(e, i, n, s, r, o) {
|
|
|
12849
12850
|
class: "unnnic-card-marketplace__icons__app",
|
|
12850
12851
|
src: n.iconSrc
|
|
12851
12852
|
}, null, 8, XF),
|
|
12852
|
-
|
|
12853
|
+
K(e.$slots, "actions")
|
|
12853
12854
|
]),
|
|
12854
12855
|
f("div", JF, [
|
|
12855
12856
|
f("div", KF, M(n.title), 1),
|
|
@@ -13026,7 +13027,7 @@ function oU(e, i, n, s, r, o) {
|
|
|
13026
13027
|
X(e.$slots, (l, h) => ({
|
|
13027
13028
|
name: h,
|
|
13028
13029
|
fn: ve(() => [
|
|
13029
|
-
|
|
13030
|
+
K(e.$slots, h)
|
|
13030
13031
|
])
|
|
13031
13032
|
}))
|
|
13032
13033
|
]), 1040, ["title", "text", "info", "icon", "iconSrc", "rating", "comments", "typeAction", "buttonAction", "value", "percent", "invertedPercentage", "status", "description", "infoPosition", "enabled", "scheme", "clickable", "hasInformationIcon", "onOpenModal"]);
|
|
@@ -13333,7 +13334,7 @@ function DU(e, i, n, s, r, o) {
|
|
|
13333
13334
|
}, null, 8, ["scheme"])
|
|
13334
13335
|
]),
|
|
13335
13336
|
default: ve(() => [
|
|
13336
|
-
|
|
13337
|
+
K(e.$slots, "options", {}, void 0, !0)
|
|
13337
13338
|
]),
|
|
13338
13339
|
_: 3
|
|
13339
13340
|
}, 8, ["open"])
|
|
@@ -13528,7 +13529,7 @@ function KU(e, i, n, s, r, o) {
|
|
|
13528
13529
|
})
|
|
13529
13530
|
]),
|
|
13530
13531
|
default: ve(() => [
|
|
13531
|
-
|
|
13532
|
+
K(e.$slots, "actions", {}, void 0, !0)
|
|
13532
13533
|
]),
|
|
13533
13534
|
_: 3
|
|
13534
13535
|
})) : T("", !0)
|
|
@@ -13615,7 +13616,7 @@ function mP(e, i, n, s, r, o) {
|
|
|
13615
13616
|
}, M(n.name), 9, sP),
|
|
13616
13617
|
n.subtitle ? (u(), m("div", oP, M(n.subtitle), 1)) : T("", !0)
|
|
13617
13618
|
]),
|
|
13618
|
-
|
|
13619
|
+
K(e.$slots, "header-buttons", {}, void 0, !0)
|
|
13619
13620
|
]),
|
|
13620
13621
|
n.description ? (u(), m("div", rP, M(n.description), 1)) : T("", !0),
|
|
13621
13622
|
n.descriptionRow || n.descriptionRowInfo ? (u(), m("div", dP, [
|
|
@@ -13638,7 +13639,7 @@ function mP(e, i, n, s, r, o) {
|
|
|
13638
13639
|
}, 8, ["text"])) : T("", !0)
|
|
13639
13640
|
])) : T("", !0),
|
|
13640
13641
|
fP,
|
|
13641
|
-
|
|
13642
|
+
K(e.$slots, "content", {}, void 0, !0),
|
|
13642
13643
|
f("div", {
|
|
13643
13644
|
class: "statuses",
|
|
13644
13645
|
style: be({
|
|
@@ -13712,7 +13713,7 @@ function vP(e, i, n, s, r, o) {
|
|
|
13712
13713
|
})
|
|
13713
13714
|
]),
|
|
13714
13715
|
default: ve(() => [
|
|
13715
|
-
|
|
13716
|
+
K(e.$slots, "actions", {}, void 0, !0)
|
|
13716
13717
|
]),
|
|
13717
13718
|
_: 3
|
|
13718
13719
|
})) : T("", !0)
|
|
@@ -13820,7 +13821,7 @@ const kP = { class: "unnnic-collapse__body" }, xP = {
|
|
|
13820
13821
|
onClick: l[0] || (l[0] = (h) => r.value = !r.value)
|
|
13821
13822
|
}, [
|
|
13822
13823
|
o1(M(e.title), 1),
|
|
13823
|
-
|
|
13824
|
+
K(o.$slots, "header", {}, void 0, !0),
|
|
13824
13825
|
E(G, {
|
|
13825
13826
|
size: "xs",
|
|
13826
13827
|
icon: r.value ? "arrow-button-up-1" : "arrow-button-down-1",
|
|
@@ -13828,7 +13829,7 @@ const kP = { class: "unnnic-collapse__body" }, xP = {
|
|
|
13828
13829
|
}, null, 8, ["icon", "scheme"])
|
|
13829
13830
|
]),
|
|
13830
13831
|
Ze(f("div", kP, [
|
|
13831
|
-
|
|
13832
|
+
K(o.$slots, "default", {}, void 0, !0)
|
|
13832
13833
|
], 512), [
|
|
13833
13834
|
[J1, r.value]
|
|
13834
13835
|
])
|
|
@@ -13884,7 +13885,7 @@ const MP = { class: "label" }, DP = {
|
|
|
13884
13885
|
size: e.size
|
|
13885
13886
|
}, null, 8, ["icon", "scheme", "size"]),
|
|
13886
13887
|
f("span", MP, [
|
|
13887
|
-
|
|
13888
|
+
K(p.$slots, "default", {}, void 0, !0)
|
|
13888
13889
|
])
|
|
13889
13890
|
], 2));
|
|
13890
13891
|
}
|
|
@@ -14011,7 +14012,7 @@ function EP(e, i, n, s, r, o) {
|
|
|
14011
14012
|
}, null, 8, ["onClick"])
|
|
14012
14013
|
])) : T("", !0),
|
|
14013
14014
|
o.hasIcon ? (u(), m("div", SP, [
|
|
14014
|
-
|
|
14015
|
+
K(e.$slots, "icon", {}, void 0, !0)
|
|
14015
14016
|
])) : T("", !0),
|
|
14016
14017
|
n.modalIcon ? (u(), m("div", {
|
|
14017
14018
|
key: 2,
|
|
@@ -14032,13 +14033,13 @@ function EP(e, i, n, s, r, o) {
|
|
|
14032
14033
|
f("div", NP, [
|
|
14033
14034
|
f("div", HP, [
|
|
14034
14035
|
o1(M(n.description) + " ", 1),
|
|
14035
|
-
|
|
14036
|
-
|
|
14036
|
+
K(e.$slots, "message", {}, void 0, !0),
|
|
14037
|
+
K(e.$slots, "default", {}, void 0, !0)
|
|
14037
14038
|
])
|
|
14038
14039
|
]),
|
|
14039
14040
|
o.hasAlertMessage ? (u(), m("div", jP, M(n.alertMessage), 1)) : T("", !0),
|
|
14040
14041
|
o.hasButton ? (u(), m("div", IP, [
|
|
14041
|
-
|
|
14042
|
+
K(e.$slots, "options", {}, void 0, !0)
|
|
14042
14043
|
])) : T("", !0)
|
|
14043
14044
|
], 512)
|
|
14044
14045
|
])
|
|
@@ -14984,13 +14985,13 @@ function OY(e, i, n, s, r, o) {
|
|
|
14984
14985
|
ref: "dropdown",
|
|
14985
14986
|
class: N(["dropdown", { active: o.active }])
|
|
14986
14987
|
}, [
|
|
14987
|
-
|
|
14988
|
+
K(e.$slots, "default", {}, void 0, !0),
|
|
14988
14989
|
f("div", {
|
|
14989
14990
|
ref: "dropdown-data",
|
|
14990
14991
|
class: "dropdown-data",
|
|
14991
14992
|
style: be({ position: "fixed", ...o.positions })
|
|
14992
14993
|
}, [
|
|
14993
|
-
|
|
14994
|
+
K(e.$slots, "inside", {
|
|
14994
14995
|
width: `${r.width}px`,
|
|
14995
14996
|
height: `${r.height}px`
|
|
14996
14997
|
}, void 0, !0)
|
|
@@ -15387,7 +15388,7 @@ function WY(e, i, n, s, r, o) {
|
|
|
15387
15388
|
`unnnic-select-item__label--${n.size}`
|
|
15388
15389
|
])
|
|
15389
15390
|
}, [
|
|
15390
|
-
|
|
15391
|
+
K(e.$slots, "default")
|
|
15391
15392
|
], 2)
|
|
15392
15393
|
], 2);
|
|
15393
15394
|
}
|
|
@@ -15586,7 +15587,7 @@ function aZ(e, i, n, s, r, o) {
|
|
|
15586
15587
|
class: N(["title", { open: n.open }])
|
|
15587
15588
|
}, M(n.title), 3),
|
|
15588
15589
|
Ze(f("div", tZ, [
|
|
15589
|
-
|
|
15590
|
+
K(e.$slots, "actions", {}, void 0, !0)
|
|
15590
15591
|
], 512), [
|
|
15591
15592
|
[J1, n.open]
|
|
15592
15593
|
])
|
|
@@ -15596,7 +15597,7 @@ function aZ(e, i, n, s, r, o) {
|
|
|
15596
15597
|
class: N(["content", { open: n.open }]),
|
|
15597
15598
|
style: be({ height: r.height })
|
|
15598
15599
|
}, [
|
|
15599
|
-
|
|
15600
|
+
K(e.$slots, "default", {}, void 0, !0)
|
|
15600
15601
|
], 6)
|
|
15601
15602
|
]);
|
|
15602
15603
|
}
|
|
@@ -15984,7 +15985,7 @@ function PZ(e, i, n, s, r, o) {
|
|
|
15984
15985
|
}]),
|
|
15985
15986
|
onClick: (g) => o.change(p)
|
|
15986
15987
|
}, [
|
|
15987
|
-
|
|
15988
|
+
K(e.$slots, o.tabHeadSlotName(p), {}, () => [
|
|
15988
15989
|
o1(M(p), 1)
|
|
15989
15990
|
], !0),
|
|
15990
15991
|
o.getHeadTooltip(p) ? (u(), Y(h, {
|
|
@@ -16008,7 +16009,7 @@ function PZ(e, i, n, s, r, o) {
|
|
|
16008
16009
|
]),
|
|
16009
16010
|
f("main", FZ, [
|
|
16010
16011
|
f("div", UZ, [
|
|
16011
|
-
|
|
16012
|
+
K(e.$slots, o.tabPanelSlotName, {}, void 0, !0)
|
|
16012
16013
|
])
|
|
16013
16014
|
])
|
|
16014
16015
|
], 2);
|
|
@@ -16261,14 +16262,14 @@ const yR = {
|
|
|
16261
16262
|
function MR(e, i, n, s, r, o) {
|
|
16262
16263
|
return u(), m("div", vR, [
|
|
16263
16264
|
f("div", gR, [
|
|
16264
|
-
|
|
16265
|
+
K(e.$slots, "avatar", {}, void 0, !0)
|
|
16265
16266
|
]),
|
|
16266
16267
|
f("div", wR, [
|
|
16267
16268
|
f("div", _R, [
|
|
16268
16269
|
f("div", CR, M(n.title), 1),
|
|
16269
16270
|
f("div", kR, M(n.time), 1),
|
|
16270
16271
|
f("div", xR, [
|
|
16271
|
-
|
|
16272
|
+
K(e.$slots, "actions", {}, void 0, !0)
|
|
16272
16273
|
])
|
|
16273
16274
|
]),
|
|
16274
16275
|
f("div", bR, M(n.text), 1)
|
|
@@ -16640,7 +16641,7 @@ function eW(e, i, n, s, r, o) {
|
|
|
16640
16641
|
f("div", qR, [
|
|
16641
16642
|
f("div", GR, M(n.title), 1),
|
|
16642
16643
|
f("div", XR, [
|
|
16643
|
-
|
|
16644
|
+
K(e.$slots, "links", {}, void 0, !0)
|
|
16644
16645
|
])
|
|
16645
16646
|
]),
|
|
16646
16647
|
f("div", JR, [
|
|
@@ -16654,7 +16655,7 @@ function eW(e, i, n, s, r, o) {
|
|
|
16654
16655
|
_: 1
|
|
16655
16656
|
}, 8, ["enabled", "text"]),
|
|
16656
16657
|
f("div", $R, [
|
|
16657
|
-
|
|
16658
|
+
K(e.$slots, "buttons", {}, void 0, !0)
|
|
16658
16659
|
])
|
|
16659
16660
|
])
|
|
16660
16661
|
]);
|
|
@@ -16907,10 +16908,10 @@ function hW(e, i, n, s, r, o) {
|
|
|
16907
16908
|
_: 1
|
|
16908
16909
|
}, 8, ["text"])) : T("", !0)
|
|
16909
16910
|
], 2),
|
|
16910
|
-
|
|
16911
|
+
K(e.$slots, "actions", {}, void 0, !0)
|
|
16911
16912
|
]),
|
|
16912
16913
|
f("div", cW, [
|
|
16913
|
-
|
|
16914
|
+
K(e.$slots, "description", {}, void 0, !0),
|
|
16914
16915
|
r.isScrollable ? (u(), m("div", uW)) : T("", !0)
|
|
16915
16916
|
], 512)
|
|
16916
16917
|
], 2);
|
|
@@ -18540,7 +18541,7 @@ function Zq(e, i, n, s, r, o) {
|
|
|
18540
18541
|
])
|
|
18541
18542
|
]),
|
|
18542
18543
|
f("div", Yq, [
|
|
18543
|
-
|
|
18544
|
+
K(e.$slots, "default")
|
|
18544
18545
|
])
|
|
18545
18546
|
]),
|
|
18546
18547
|
n.close ? (u(), Y(h, {
|
|
@@ -18789,7 +18790,7 @@ function sG(e, i, n, s, r, o) {
|
|
|
18789
18790
|
class: N(["unnnic-chats-message__media__container", { failed: o.failedToSendMedia }]),
|
|
18790
18791
|
onClick: i[2] || (i[2] = (..._) => o.onClickMedia && o.onClickMedia(..._))
|
|
18791
18792
|
}, [
|
|
18792
|
-
|
|
18793
|
+
K(e.$slots, "default"),
|
|
18793
18794
|
(o.sendingMedia || o.failedToSendMedia) && (o.isImage || o.isVideo) ? (u(), Y(g, {
|
|
18794
18795
|
key: 0,
|
|
18795
18796
|
status: n.status,
|
|
@@ -65458,7 +65459,7 @@ function Ot() {
|
|
|
65458
65459
|
});
|
|
65459
65460
|
}
|
|
65460
65461
|
function p4(e, i, n, s, r, o, l, h, p, g) {
|
|
65461
|
-
var _, L, A, H, F, ae,
|
|
65462
|
+
var _, L, A, H, F, ae, $, le = s && s.__k || u4, Ge = le.length;
|
|
65462
65463
|
for (n.__k = [], _ = 0; _ < i.length; _++)
|
|
65463
65464
|
if ((H = n.__k[_] = (H = i[_]) == null || typeof H == "boolean" ? null : typeof H == "string" || typeof H == "number" || typeof H == "bigint" ? zt(null, H, null, null, H) : Array.isArray(H) ? zt(Bi, {
|
|
65464
65465
|
children: H
|
|
@@ -65473,13 +65474,13 @@ function p4(e, i, n, s, r, o, l, h, p, g) {
|
|
|
65473
65474
|
}
|
|
65474
65475
|
A = null;
|
|
65475
65476
|
}
|
|
65476
|
-
M3(e, H, A = A || Et, r, o, l, h, p, g), F = H.__e, (L = H.ref) && A.ref != L && (
|
|
65477
|
+
M3(e, H, A = A || Et, r, o, l, h, p, g), F = H.__e, (L = H.ref) && A.ref != L && ($ || ($ = []), A.ref && $.push(A.ref, null, H), $.push(L, H.__c || F, H)), F != null ? (ae == null && (ae = F), typeof H.type == "function" && H.__k === A.__k ? H.__d = p = y4(H, p, e) : p = v4(e, H, A, le, F, p), typeof n.type == "function" && (n.__d = p)) : p && A.__e == p && p.parentNode != e && (p = Ni(A));
|
|
65477
65478
|
}
|
|
65478
65479
|
for (n.__e = ae, _ = Ge; _--; )
|
|
65479
65480
|
le[_] != null && (typeof n.type == "function" && le[_].__e != null && le[_].__e == n.__d && (n.__d = Ni(s, _ + 1)), _4(le[_], le[_]));
|
|
65480
|
-
if (
|
|
65481
|
-
for (_ = 0; _ <
|
|
65482
|
-
w4(
|
|
65481
|
+
if ($)
|
|
65482
|
+
for (_ = 0; _ < $.length; _++)
|
|
65483
|
+
w4($[_], $[++_], $[++_]);
|
|
65483
65484
|
}
|
|
65484
65485
|
function y4(e, i, n) {
|
|
65485
65486
|
for (var s, r = e.__k, o = 0; r && o < r.length; o++)
|
|
@@ -65552,7 +65553,7 @@ function Lo(e) {
|
|
|
65552
65553
|
this.l[e.type + !0](ne.event ? ne.event(e) : e);
|
|
65553
65554
|
}
|
|
65554
65555
|
function M3(e, i, n, s, r, o, l, h, p) {
|
|
65555
|
-
var g, _, L, A, H, F, ae,
|
|
65556
|
+
var g, _, L, A, H, F, ae, $, le, Ge, n1, Re = i.type;
|
|
65556
65557
|
if (i.constructor !== void 0)
|
|
65557
65558
|
return null;
|
|
65558
65559
|
n.__h != null && (p = n.__h, h = i.__e = n.__e, i.__h = null, o = [
|
|
@@ -65561,20 +65562,20 @@ function M3(e, i, n, s, r, o, l, h, p) {
|
|
|
65561
65562
|
try {
|
|
65562
65563
|
e:
|
|
65563
65564
|
if (typeof Re == "function") {
|
|
65564
|
-
if (
|
|
65565
|
+
if ($ = i.props, le = (g = Re.contextType) && s[g.__c], Ge = g ? le ? le.props.value : g.__ : s, n.__c ? ae = (_ = i.__c = n.__c).__ = _.__E : ("prototype" in Re && Re.prototype.render ? i.__c = _ = new Re($, Ge) : (i.__c = _ = new X1($, Ge), _.constructor = Re, _.render = qG), le && le.sub(_), _.props = $, _.state || (_.state = {}), _.context = Ge, _.__n = s, L = _.__d = !0, _.__h = []), _.__s == null && (_.__s = _.state), Re.getDerivedStateFromProps != null && (_.__s == _.state && (_.__s = Vn({}, _.__s)), Vn(_.__s, Re.getDerivedStateFromProps($, _.__s))), A = _.props, H = _.state, L)
|
|
65565
65566
|
Re.getDerivedStateFromProps == null && _.componentWillMount != null && _.componentWillMount(), _.componentDidMount != null && _.__h.push(_.componentDidMount);
|
|
65566
65567
|
else {
|
|
65567
|
-
if (Re.getDerivedStateFromProps == null &&
|
|
65568
|
-
_.props =
|
|
65568
|
+
if (Re.getDerivedStateFromProps == null && $ !== A && _.componentWillReceiveProps != null && _.componentWillReceiveProps($, Ge), !_.__e && _.shouldComponentUpdate != null && _.shouldComponentUpdate($, _.__s, Ge) === !1 || i.__v === n.__v) {
|
|
65569
|
+
_.props = $, _.state = _.__s, i.__v !== n.__v && (_.__d = !1), _.__v = i, i.__e = n.__e, i.__k = n.__k, i.__k.forEach(function(i1) {
|
|
65569
65570
|
i1 && (i1.__ = i);
|
|
65570
65571
|
}), _.__h.length && l.push(_);
|
|
65571
65572
|
break e;
|
|
65572
65573
|
}
|
|
65573
|
-
_.componentWillUpdate != null && _.componentWillUpdate(
|
|
65574
|
+
_.componentWillUpdate != null && _.componentWillUpdate($, _.__s, Ge), _.componentDidUpdate != null && _.__h.push(function() {
|
|
65574
65575
|
_.componentDidUpdate(A, H, F);
|
|
65575
65576
|
});
|
|
65576
65577
|
}
|
|
65577
|
-
_.context = Ge, _.props =
|
|
65578
|
+
_.context = Ge, _.props = $, _.state = _.__s, (g = ne.__r) && g(i), _.__d = !1, _.__v = i, _.__P = e, g = _.render(_.props, _.state, _.context), _.state = _.__s, _.getChildContext != null && (s = Vn(Vn({}, s), _.getChildContext())), L || _.getSnapshotBeforeUpdate == null || (F = _.getSnapshotBeforeUpdate(A, H)), n1 = g != null && g.type === Bi && g.key == null ? g.props.children : g, p4(e, Array.isArray(n1) ? n1 : [
|
|
65578
65579
|
n1
|
|
65579
65580
|
], i, n, s, r, o, l, h, p), _.base = i.__e, i.__h = null, _.__h.length && l.push(_), ae && (_.__E = _.__ = null), _.__e = !1;
|
|
65580
65581
|
} else
|
|
@@ -66137,11 +66138,11 @@ async function aX(e) {
|
|
|
66137
66138
|
A.emoticons,
|
|
66138
66139
|
!1
|
|
66139
66140
|
]
|
|
66140
|
-
].map(([ae,
|
|
66141
|
+
].map(([ae, $]) => {
|
|
66141
66142
|
if (ae)
|
|
66142
66143
|
return (Array.isArray(ae) ? ae : [
|
|
66143
66144
|
ae
|
|
66144
|
-
]).map((le) => (
|
|
66145
|
+
]).map((le) => ($ ? le.split(/[-|_|\s]+/) : [
|
|
66145
66146
|
le
|
|
66146
66147
|
]).map((Ge) => Ge.toLowerCase())).flat();
|
|
66147
66148
|
}).flat().filter((ae) => ae && ae.trim()).join(","), A.emoticons)
|
|
@@ -66152,8 +66153,8 @@ async function aX(e) {
|
|
|
66152
66153
|
if (!ae)
|
|
66153
66154
|
continue;
|
|
66154
66155
|
F++;
|
|
66155
|
-
const { native:
|
|
66156
|
-
|
|
66156
|
+
const { native: $ } = ae;
|
|
66157
|
+
$ && (he.natives[$] = A.id, A.search += `,${$}`);
|
|
66157
66158
|
const le = F == 1 ? "" : `:skin-tone-${F}:`;
|
|
66158
66159
|
ae.shortcodes = `:${A.id}:${le}`;
|
|
66159
66160
|
}
|
|
@@ -67416,7 +67417,7 @@ class TX extends X1 {
|
|
|
67416
67417
|
style: {
|
|
67417
67418
|
top: p * this.props.emojiButtonSize
|
|
67418
67419
|
},
|
|
67419
|
-
children: _ && F.map((ae,
|
|
67420
|
+
children: _ && F.map((ae, $) => {
|
|
67420
67421
|
if (!ae)
|
|
67421
67422
|
return /* @__PURE__ */ O("div", {
|
|
67422
67423
|
style: {
|
|
@@ -67428,9 +67429,9 @@ class TX extends X1 {
|
|
|
67428
67429
|
return this.renderEmojiButton(le, {
|
|
67429
67430
|
pos: [
|
|
67430
67431
|
h.index,
|
|
67431
|
-
|
|
67432
|
+
$
|
|
67432
67433
|
],
|
|
67433
|
-
posinset: h.posinset +
|
|
67434
|
+
posinset: h.posinset + $,
|
|
67434
67435
|
grid: this.grid
|
|
67435
67436
|
});
|
|
67436
67437
|
})
|
|
@@ -69060,7 +69061,7 @@ function hJ(e, i, n, s, r, o) {
|
|
|
69060
69061
|
}, null, 8, ["onClick"])
|
|
69061
69062
|
]),
|
|
69062
69063
|
f("section", cJ, [
|
|
69063
|
-
|
|
69064
|
+
K(e.$slots, "content", {}, void 0, !0)
|
|
69064
69065
|
]),
|
|
69065
69066
|
o.showFooter ? (u(), m("footer", uJ, [
|
|
69066
69067
|
n.secondaryButtonText ? (u(), Y(h, {
|
|
@@ -69425,7 +69426,7 @@ const ZJ = {
|
|
|
69425
69426
|
class: "confirm-text"
|
|
69426
69427
|
}, iK = ["innerHTML"];
|
|
69427
69428
|
function tK(e, i, n, s, r, o) {
|
|
69428
|
-
var g, _, L, A, H, F, ae,
|
|
69429
|
+
var g, _, L, A, H, F, ae, $;
|
|
69429
69430
|
const l = S("UnnnicIcon"), h = S("UnnnicInput"), p = S("UnnnicButton");
|
|
69430
69431
|
return u(), m("div", {
|
|
69431
69432
|
class: N([
|
|
@@ -69449,7 +69450,7 @@ function tK(e, i, n, s, r, o) {
|
|
|
69449
69450
|
})
|
|
69450
69451
|
])) : T("", !0),
|
|
69451
69452
|
f("div", QJ, [
|
|
69452
|
-
|
|
69453
|
+
K(e.$slots, "default", {}, void 0, !0)
|
|
69453
69454
|
])
|
|
69454
69455
|
], 64)) : n.type === "video" ? (u(), m("div", qJ, [
|
|
69455
69456
|
f("div", GJ, [
|
|
@@ -69481,12 +69482,12 @@ function tK(e, i, n, s, r, o) {
|
|
|
69481
69482
|
}, null, 8, ["icon", "scheme"])
|
|
69482
69483
|
])) : T("", !0),
|
|
69483
69484
|
(_ = (g = e.$slots).title) != null && _.call(g).length || n.title ? (u(), m("div", $J, [
|
|
69484
|
-
(A = (L = e.$slots).title) != null && A.call(L).length ?
|
|
69485
|
+
(A = (L = e.$slots).title) != null && A.call(L).length ? K(e.$slots, "title", { key: 0 }, void 0, !0) : (u(), m(R, { key: 1 }, [
|
|
69485
69486
|
o1(M(n.title), 1)
|
|
69486
69487
|
], 64))
|
|
69487
69488
|
])) : T("", !0),
|
|
69488
69489
|
(F = (H = e.$slots).description) != null && F.call(H).length || n.description ? (u(), m("div", eK, [
|
|
69489
|
-
(
|
|
69490
|
+
($ = (ae = e.$slots).description) != null && $.call(ae).length ? K(e.$slots, "description", { key: 0 }, void 0, !0) : (u(), m(R, { key: 1 }, [
|
|
69490
69491
|
o1(M(n.description), 1)
|
|
69491
69492
|
], 64))
|
|
69492
69493
|
])) : T("", !0),
|
|
@@ -69594,6 +69595,10 @@ const sK = {
|
|
|
69594
69595
|
type: Object,
|
|
69595
69596
|
default: () => ({})
|
|
69596
69597
|
},
|
|
69598
|
+
hideSecondaryButton: {
|
|
69599
|
+
type: Boolean,
|
|
69600
|
+
default: !1
|
|
69601
|
+
},
|
|
69597
69602
|
secondaryButtonProps: {
|
|
69598
69603
|
type: Object,
|
|
69599
69604
|
default: () => ({})
|
|
@@ -69638,10 +69643,13 @@ const sK = {
|
|
|
69638
69643
|
key: 0,
|
|
69639
69644
|
class: "unnnic-modal-dialog"
|
|
69640
69645
|
}, rK = {
|
|
69646
|
+
key: 0,
|
|
69647
|
+
class: "unnnic-modal-dialog__container__left-sidebar"
|
|
69648
|
+
}, dK = { class: "unnnic-modal-dialog__container__body" }, lK = {
|
|
69641
69649
|
key: 0,
|
|
69642
69650
|
class: "unnnic-modal-dialog__container__header"
|
|
69643
|
-
},
|
|
69644
|
-
function
|
|
69651
|
+
}, fK = { class: "unnnic-modal-dialog__container__title-container" }, cK = { class: "unnnic-modal-dialog__container__title-text" }, uK = { class: "unnnic-modal-dialog__container__content" };
|
|
69652
|
+
function hK(e, i, n, s, r, o) {
|
|
69645
69653
|
var p, g;
|
|
69646
69654
|
const l = S("UnnnicIcon"), h = S("UnnnicButton");
|
|
69647
69655
|
return n.modelValue ? (u(), m("section", oK, [
|
|
@@ -69655,51 +69663,58 @@ function cK(e, i, n, s, r, o) {
|
|
|
69655
69663
|
`unnnic-modal-dialog__container--${n.size}`
|
|
69656
69664
|
])
|
|
69657
69665
|
}, [
|
|
69658
|
-
|
|
69659
|
-
|
|
69660
|
-
|
|
69666
|
+
e.$slots.leftSidebar ? (u(), m("section", rK, [
|
|
69667
|
+
K(e.$slots, "leftSidebar", {}, void 0, !0)
|
|
69668
|
+
])) : T("", !0),
|
|
69669
|
+
f("section", dK, [
|
|
69670
|
+
n.title ? (u(), m("header", lK, [
|
|
69671
|
+
f("section", fK, [
|
|
69672
|
+
n.icon || n.type ? (u(), Y(l, {
|
|
69673
|
+
key: 0,
|
|
69674
|
+
class: "unnnic-modal-dialog__container__title-icon",
|
|
69675
|
+
icon: n.icon || ((p = r.iconsMapper[n.type]) == null ? void 0 : p.icon),
|
|
69676
|
+
scheme: n.iconScheme || ((g = r.iconsMapper[n.type]) == null ? void 0 : g.scheme),
|
|
69677
|
+
size: "md"
|
|
69678
|
+
}, null, 8, ["icon", "scheme"])) : T("", !0),
|
|
69679
|
+
f("h1", cK, M(n.title), 1)
|
|
69680
|
+
]),
|
|
69681
|
+
n.showCloseIcon ? (u(), Y(l, {
|
|
69661
69682
|
key: 0,
|
|
69662
|
-
|
|
69663
|
-
|
|
69664
|
-
|
|
69665
|
-
|
|
69666
|
-
|
|
69667
|
-
|
|
69683
|
+
icon: "close",
|
|
69684
|
+
clickable: "",
|
|
69685
|
+
onClick: i[1] || (i[1] = (_) => o.close())
|
|
69686
|
+
})) : T("", !0)
|
|
69687
|
+
])) : T("", !0),
|
|
69688
|
+
f("section", uK, [
|
|
69689
|
+
K(e.$slots, "default", {}, void 0, !0)
|
|
69668
69690
|
]),
|
|
69669
|
-
n.
|
|
69670
|
-
key:
|
|
69671
|
-
|
|
69672
|
-
|
|
69673
|
-
|
|
69674
|
-
|
|
69675
|
-
|
|
69676
|
-
|
|
69677
|
-
|
|
69678
|
-
|
|
69679
|
-
|
|
69680
|
-
|
|
69681
|
-
|
|
69682
|
-
|
|
69683
|
-
|
|
69684
|
-
|
|
69685
|
-
|
|
69686
|
-
|
|
69687
|
-
|
|
69688
|
-
|
|
69689
|
-
type
|
|
69690
|
-
|
|
69691
|
-
|
|
69692
|
-
}), null, 16, ["text"]),
|
|
69693
|
-
E(h, r1(n.primaryButtonProps, {
|
|
69694
|
-
type: n.primaryButtonProps.type || r.primaryButtonTypeMapper[n.type] || "primary",
|
|
69695
|
-
text: n.primaryButtonProps.text,
|
|
69696
|
-
onClick: i[3] || (i[3] = Ie((_) => e.$emit("primaryButtonClick"), ["stop"]))
|
|
69697
|
-
}), null, 16, ["type", "text"])
|
|
69698
|
-
], 2)) : T("", !0)
|
|
69691
|
+
n.primaryButtonProps.text ? (u(), m("section", {
|
|
69692
|
+
key: 1,
|
|
69693
|
+
class: N([
|
|
69694
|
+
"unnnic-modal-dialog__container__actions",
|
|
69695
|
+
{
|
|
69696
|
+
"unnnic-modal-dialog__container__actions--divider": n.showActionsDivider
|
|
69697
|
+
}
|
|
69698
|
+
])
|
|
69699
|
+
}, [
|
|
69700
|
+
n.hideSecondaryButton ? T("", !0) : (u(), Y(h, r1({ key: 0 }, n.secondaryButtonProps, {
|
|
69701
|
+
type: "tertiary",
|
|
69702
|
+
text: n.secondaryButtonProps.text || e.i18n("cancel"),
|
|
69703
|
+
class: "unnnic-modal-dialog__container__actions__secondary-button",
|
|
69704
|
+
onClick: i[2] || (i[2] = Ie((_) => n.secondaryButtonProps.text ? e.$emit("secondaryButtonClick") : o.close(), ["stop"]))
|
|
69705
|
+
}), null, 16, ["text"])),
|
|
69706
|
+
E(h, r1(n.primaryButtonProps, {
|
|
69707
|
+
type: n.primaryButtonProps.type || r.primaryButtonTypeMapper[n.type] || "primary",
|
|
69708
|
+
text: n.primaryButtonProps.text,
|
|
69709
|
+
class: "unnnic-modal-dialog__container__actions__primary-button",
|
|
69710
|
+
onClick: i[3] || (i[3] = Ie((_) => e.$emit("primaryButtonClick"), ["stop"]))
|
|
69711
|
+
}), null, 16, ["type", "text"])
|
|
69712
|
+
], 2)) : T("", !0)
|
|
69713
|
+
])
|
|
69699
69714
|
], 2)
|
|
69700
69715
|
])) : T("", !0);
|
|
69701
69716
|
}
|
|
69702
|
-
const
|
|
69717
|
+
const mK = /* @__PURE__ */ C(sK, [["render", hK], ["__scopeId", "data-v-dd6107e2"]]), Ea = {
|
|
69703
69718
|
unnnicFormElement: Rc,
|
|
69704
69719
|
unnnicInput: Yt,
|
|
69705
69720
|
unnnicInputDatePicker: CO,
|
|
@@ -69731,7 +69746,7 @@ const uK = /* @__PURE__ */ C(sK, [["render", cK], ["__scopeId", "data-v-7616b841
|
|
|
69731
69746
|
unnnicLanguageSelect: Gr,
|
|
69732
69747
|
unnnicModal: Kr,
|
|
69733
69748
|
unnnicModalNext: aK,
|
|
69734
|
-
unnnicModalDialog:
|
|
69749
|
+
unnnicModalDialog: mK,
|
|
69735
69750
|
unnnicModalUpload: fY,
|
|
69736
69751
|
unnnicSelectSmart: ZY,
|
|
69737
69752
|
// unnnicSelect: select,
|
|
@@ -69785,7 +69800,7 @@ const uK = /* @__PURE__ */ C(sK, [["render", cK], ["__scopeId", "data-v-7616b841
|
|
|
69785
69800
|
unnnicDisclaimer: aJ,
|
|
69786
69801
|
unnnicDrawer: mJ,
|
|
69787
69802
|
unnnicTableNext: YJ
|
|
69788
|
-
},
|
|
69803
|
+
}, yK = {
|
|
69789
69804
|
install(e) {
|
|
69790
69805
|
Object.keys(Ea).forEach((i) => {
|
|
69791
69806
|
e.component(i, Ea[i]);
|
|
@@ -69794,5 +69809,5 @@ const uK = /* @__PURE__ */ C(sK, [["render", cK], ["__scopeId", "data-v-7616b841
|
|
|
69794
69809
|
...Ea
|
|
69795
69810
|
};
|
|
69796
69811
|
export {
|
|
69797
|
-
|
|
69812
|
+
yK as default
|
|
69798
69813
|
};
|