@telia-ace/widget-ui 1.0.28-experimental.11 → 1.0.28-experimental.13
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/data-provider.d.ts +11 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +315 -283
- package/dist/index.js.map +1 -1
- package/dist/mixins/widget-component.d.ts +3 -3
- package/dist/utils/animations.d.ts +2 -2
- package/package.json +5 -5
package/dist/index.js
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
var vt = Object.defineProperty, wt = Object.defineProperties;
|
|
2
2
|
var Et = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var se = Object.getOwnPropertySymbols;
|
|
4
|
-
var
|
|
5
|
-
var
|
|
4
|
+
var Be = Object.prototype.hasOwnProperty, Ie = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var Ve = (e, t, n) => t in e ? vt(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, f = (e, t) => {
|
|
6
6
|
for (var n in t || (t = {}))
|
|
7
|
-
|
|
7
|
+
Be.call(t, n) && Ve(e, n, t[n]);
|
|
8
8
|
if (se)
|
|
9
9
|
for (var n of se(t))
|
|
10
|
-
|
|
10
|
+
Ie.call(t, n) && Ve(e, n, t[n]);
|
|
11
11
|
return e;
|
|
12
12
|
}, k = (e, t) => wt(e, Et(t));
|
|
13
13
|
var S = (e, t) => {
|
|
14
14
|
var n = {};
|
|
15
15
|
for (var o in e)
|
|
16
|
-
|
|
16
|
+
Be.call(e, o) && t.indexOf(o) < 0 && (n[o] = e[o]);
|
|
17
17
|
if (e != null && se)
|
|
18
18
|
for (var o of se(e))
|
|
19
|
-
t.indexOf(o) < 0 &&
|
|
19
|
+
t.indexOf(o) < 0 && Ie.call(e, o) && (n[o] = e[o]);
|
|
20
20
|
return n;
|
|
21
21
|
};
|
|
22
|
-
var
|
|
22
|
+
var ie = (e, t, n) => new Promise((o, r) => {
|
|
23
23
|
var i = (u) => {
|
|
24
24
|
try {
|
|
25
25
|
l(n.next(u));
|
|
@@ -36,21 +36,21 @@ var pe = (e, t, n) => new Promise((o, r) => {
|
|
|
36
36
|
l((n = n.apply(e, t)).next());
|
|
37
37
|
});
|
|
38
38
|
import { Container as $t, WidgetState as xt } from "@webprovisions/platform";
|
|
39
|
-
import s, { forwardRef as V, createContext as Q, useContext as U, useState as x, useEffect as w, useRef as R, useCallback as T, useImperativeHandle as we, useMemo as
|
|
40
|
-
import { ComponentPlatform as
|
|
39
|
+
import s, { forwardRef as V, createContext as Q, useContext as U, useState as x, useEffect as w, useRef as R, useCallback as T, useImperativeHandle as we, useMemo as ce, Component as kt, lazy as Lt } from "react";
|
|
40
|
+
import { ComponentPlatform as Ee, asDescriptor as Ke, createEventSubscriber as Mt, ComponentQuery as St, WidgetRenderState as ae, extendComponent as Ye } from "@telia-ace/widget-core";
|
|
41
41
|
import { css as L, keyframes as Ue } from "@emotion/react";
|
|
42
42
|
import y from "@emotion/styled";
|
|
43
|
-
import { kebabCase as Rt, appendClassNames as M, uuid as ee, removeNullAndUndefinedValues as
|
|
44
|
-
import { LitElement as Tt, css as
|
|
45
|
-
import { property as
|
|
46
|
-
import { unsafeStatic as
|
|
47
|
-
import { CSSTransition as
|
|
43
|
+
import { kebabCase as Rt, appendClassNames as M, uuid as ee, removeNullAndUndefinedValues as Pe, Logger as fe } from "@telia-ace/widget-utilities";
|
|
44
|
+
import { LitElement as Tt, css as qe, html as Ne, unsafeCSS as Dt } from "lit";
|
|
45
|
+
import { property as q, customElement as zt, state as Y } from "lit/decorators.js";
|
|
46
|
+
import { unsafeStatic as _t, html as Ht } from "lit/static-html.js";
|
|
47
|
+
import { CSSTransition as Xe, Transition as Vt } from "react-transition-group";
|
|
48
48
|
import { createPortal as Bt } from "react-dom";
|
|
49
|
-
import { HistoryMode as
|
|
49
|
+
import { HistoryMode as We, getSpecificWidgetPath as It } from "@telia-ace/widget-routing";
|
|
50
50
|
import { Link as ge } from "react-router-dom";
|
|
51
|
-
import
|
|
51
|
+
import Oe from "htmr";
|
|
52
52
|
import { dedupeMixin as Qe } from "@open-wc/dedupe-mixin";
|
|
53
|
-
const Pt = (e) => e === "entering" || e === "entered",
|
|
53
|
+
const Pt = (e) => e === "entering" || e === "entered", Nt = (e) => e === "exiting" || e === "exited", K = {
|
|
54
54
|
fade: {
|
|
55
55
|
in: "opacity: 1;",
|
|
56
56
|
out: "opacity: 0;"
|
|
@@ -86,7 +86,7 @@ const Pt = (e) => e === "entering" || e === "entered", It = (e) => e === "exitin
|
|
|
86
86
|
const a = r && r.length > 0 && L`
|
|
87
87
|
${r.map((l) => K[l] ? K[l].out : "")}
|
|
88
88
|
`;
|
|
89
|
-
if (
|
|
89
|
+
if (Nt(e)) {
|
|
90
90
|
const l = o.transitionKeys.split(" ");
|
|
91
91
|
return l && l.length > 0 && e === "exiting" ? L`
|
|
92
92
|
${a};
|
|
@@ -122,7 +122,7 @@ const Pt = (e) => e === "entering" || e === "entered", It = (e) => e === "exitin
|
|
|
122
122
|
get: (e) => K[e]
|
|
123
123
|
};
|
|
124
124
|
var ye = /* @__PURE__ */ ((e) => (e.Opera = "opera", e.Chrome = "chrome", e.Firefox = "firefox", e.Safari = "safari", e.Edge = "edge", e.EdgeChromium = "edge-chromium", e.Blink = "blink", e.IE = "internet-explorer", e))(ye || {});
|
|
125
|
-
const
|
|
125
|
+
const Ze = () => {
|
|
126
126
|
const {
|
|
127
127
|
opr: e,
|
|
128
128
|
opera: t,
|
|
@@ -161,7 +161,7 @@ const Oe = () => {
|
|
|
161
161
|
} else
|
|
162
162
|
t[n] = o;
|
|
163
163
|
return t;
|
|
164
|
-
}, {}), Zt = (e, t) => e.get("seoConfiguration") ? /* @__PURE__ */ s.createElement(so, f({}, t)) : null, Yr = Zt, jt = (e) => new RegExp("^#", "i").test(e),
|
|
164
|
+
}, {}), Zt = (e, t) => e.get("seoConfiguration") ? /* @__PURE__ */ s.createElement(so, f({}, t)) : null, Yr = Zt, jt = (e) => new RegExp("^#", "i").test(e), At = (e) => (o) => {
|
|
165
165
|
var r = o, { children: t } = r, n = S(r, ["children"]);
|
|
166
166
|
const {
|
|
167
167
|
implementation: i,
|
|
@@ -176,7 +176,7 @@ const Oe = () => {
|
|
|
176
176
|
return /* @__PURE__ */ s.createElement(gr, { widgetName: p }, t);
|
|
177
177
|
}
|
|
178
178
|
return /* @__PURE__ */ s.createElement("a", f({}, n), t);
|
|
179
|
-
},
|
|
179
|
+
}, Ft = At, Ge = (e) => {
|
|
180
180
|
const t = {};
|
|
181
181
|
return Object.keys(e).forEach((n) => {
|
|
182
182
|
n.indexOf("css-") > -1 && (t[n] = e[n]);
|
|
@@ -199,7 +199,7 @@ const Oe = () => {
|
|
|
199
199
|
e.scroll || ((d) => e.smooth ? d.scrollIntoView({ behavior: "smooth" }) : d.scrollIntoView())
|
|
200
200
|
), !1), m = e, { scroll: a, smooth: l, to: u } = m, c = S(m, ["scroll", "smooth", "to"]);
|
|
201
201
|
return t === "a" && (c.href = "javascript:;"), /* @__PURE__ */ s.createElement(t, k(f({}, c), { onClick: i }), e.children);
|
|
202
|
-
},
|
|
202
|
+
}, le = (e) => (t, n) => {
|
|
203
203
|
let o = t, r = "";
|
|
204
204
|
if (["h1", "h2", "h3", "h4", "h5", "h6"].includes(t))
|
|
205
205
|
o = t;
|
|
@@ -218,15 +218,15 @@ const Oe = () => {
|
|
|
218
218
|
}
|
|
219
219
|
`;
|
|
220
220
|
};
|
|
221
|
-
function
|
|
222
|
-
return t ?
|
|
221
|
+
function qt(e, t) {
|
|
222
|
+
return t ? Oe(e, t) : Oe(e);
|
|
223
223
|
}
|
|
224
|
-
const
|
|
224
|
+
const Xt = (e) => (t) => /* @__PURE__ */ s.createElement(Uo, { attrs: t, htmlBody: e }), Qt = (e, t) => ({
|
|
225
225
|
transform: {
|
|
226
|
-
a:
|
|
227
|
-
img:
|
|
226
|
+
a: Ft(e),
|
|
227
|
+
img: Xt(t)
|
|
228
228
|
}
|
|
229
|
-
}), Gt = (e) => Ut(e, "a"), Jt = Gt,
|
|
229
|
+
}), Gt = (e) => Ut(e, "a"), Jt = Gt, de = V((r, o) => {
|
|
230
230
|
var i = r, { className: e, children: t } = i, n = S(i, ["className", "children"]);
|
|
231
231
|
return /* @__PURE__ */ s.createElement(
|
|
232
232
|
en,
|
|
@@ -278,14 +278,14 @@ const qt = (e) => (t) => /* @__PURE__ */ s.createElement(Uo, { attrs: t, htmlBod
|
|
|
278
278
|
type: "",
|
|
279
279
|
name: "",
|
|
280
280
|
branch: ""
|
|
281
|
-
}), rn = Q({}), sn = Q(null), an = Q(null), cn = () => U(Je),
|
|
282
|
-
const n =
|
|
281
|
+
}), rn = Q({}), sn = Q(null), an = Q(null), cn = () => U(Je), $e = cn, ln = () => U(nn), I = ln, un = (e, t) => {
|
|
282
|
+
const n = $e().id, o = I();
|
|
283
283
|
return (r, i) => {
|
|
284
284
|
(t || o).getAsync("actionResolver").then((a) => {
|
|
285
285
|
a.action(e || n, r, i);
|
|
286
286
|
});
|
|
287
287
|
};
|
|
288
|
-
},
|
|
288
|
+
}, qr = un, dn = (e) => {
|
|
289
289
|
const t = U(Je), n = G(), [o, r] = x();
|
|
290
290
|
return w(() => {
|
|
291
291
|
if ((e || t.id) && n) {
|
|
@@ -293,20 +293,20 @@ const qt = (e) => (t) => /* @__PURE__ */ s.createElement(Uo, { attrs: t, htmlBod
|
|
|
293
293
|
r(i);
|
|
294
294
|
}
|
|
295
295
|
}, [e, t.id, n]), o;
|
|
296
|
-
},
|
|
296
|
+
}, xe = dn, mn = () => {
|
|
297
297
|
const e = R(!1);
|
|
298
298
|
return w(() => (e.current = !0, () => {
|
|
299
299
|
e.current = !1;
|
|
300
300
|
}), []), e;
|
|
301
301
|
}, Z = mn, hn = (e) => {
|
|
302
|
-
const t =
|
|
302
|
+
const t = I(), [n, o] = x(null), r = Z();
|
|
303
303
|
return w(() => {
|
|
304
|
-
|
|
304
|
+
Ee.getInstance(e || t).then((i) => {
|
|
305
305
|
r.current && o(i);
|
|
306
306
|
});
|
|
307
307
|
}, [r]), n;
|
|
308
308
|
}, G = hn, pn = () => {
|
|
309
|
-
const e =
|
|
309
|
+
const e = xe(), t = G(), [n, o] = x([]), r = Z(), i = T(
|
|
310
310
|
(a) => {
|
|
311
311
|
if (t && r.current && a) {
|
|
312
312
|
const l = t.getBranch(a), u = a.getChildren(l).map((c) => Ke(c));
|
|
@@ -331,8 +331,8 @@ const qt = (e) => (t) => /* @__PURE__ */ s.createElement(Uo, { attrs: t, htmlBod
|
|
|
331
331
|
};
|
|
332
332
|
}
|
|
333
333
|
}, [e, t, i]), n;
|
|
334
|
-
},
|
|
335
|
-
const n =
|
|
334
|
+
}, Xr = pn, fn = () => U(on), Qr = fn, gn = (e, t) => {
|
|
335
|
+
const n = $e(), o = I(), [r, i] = x(void 0), a = Z(), l = e || n.type || "";
|
|
336
336
|
return w(() => {
|
|
337
337
|
if (l) {
|
|
338
338
|
let u;
|
|
@@ -350,7 +350,7 @@ const qt = (e) => (t) => /* @__PURE__ */ s.createElement(Uo, { attrs: t, htmlBod
|
|
|
350
350
|
}
|
|
351
351
|
}, [a, l, t, o]), r;
|
|
352
352
|
}, Gr = gn, Cn = (e) => {
|
|
353
|
-
const t =
|
|
353
|
+
const t = xe(e), n = G(), [o, r] = x({}), i = Z();
|
|
354
354
|
return w(() => {
|
|
355
355
|
t && i.current && r(t.attributes.context);
|
|
356
356
|
}, [i, t]), w(() => {
|
|
@@ -367,7 +367,7 @@ const qt = (e) => (t) => /* @__PURE__ */ s.createElement(Uo, { attrs: t, htmlBod
|
|
|
367
367
|
}
|
|
368
368
|
}, [i, n, t]), o;
|
|
369
369
|
}, yn = Cn, bn = () => U(an), Jr = bn, vn = () => {
|
|
370
|
-
const e = G(), t =
|
|
370
|
+
const e = G(), t = $e(), [n, o] = x([]), [r, i] = x();
|
|
371
371
|
return w(() => {
|
|
372
372
|
if (e && t) {
|
|
373
373
|
const a = new St(e).withId(t.id), l = e.actions(a, t.type || ee());
|
|
@@ -397,7 +397,7 @@ const qt = (e) => (t) => /* @__PURE__ */ s.createElement(Uo, { attrs: t, htmlBod
|
|
|
397
397
|
};
|
|
398
398
|
}, [e, n]);
|
|
399
399
|
}, wn = (e) => {
|
|
400
|
-
const t =
|
|
400
|
+
const t = I(), { events: n } = (e || t).get("$widget");
|
|
401
401
|
return n;
|
|
402
402
|
}, En = wn, $n = () => {
|
|
403
403
|
const [e, t] = x(!1);
|
|
@@ -425,8 +425,8 @@ const qt = (e) => (t) => /* @__PURE__ */ s.createElement(Uo, { attrs: t, htmlBod
|
|
|
425
425
|
[o]
|
|
426
426
|
);
|
|
427
427
|
return O("keydown", r, window), O("keyup", i, window), n;
|
|
428
|
-
},
|
|
429
|
-
const t =
|
|
428
|
+
}, X = xn, kn = (e) => {
|
|
429
|
+
const t = xe(e), n = G(), [o, r] = x({}), i = Z();
|
|
430
430
|
return w(() => {
|
|
431
431
|
t && i.current && r(t.attributes.layout);
|
|
432
432
|
}, [t, i]), w(() => {
|
|
@@ -448,7 +448,7 @@ const qt = (e) => (t) => /* @__PURE__ */ s.createElement(Uo, { attrs: t, htmlBod
|
|
|
448
448
|
t.current = e;
|
|
449
449
|
}), t.current;
|
|
450
450
|
}, et = Ln, Mn = () => U(rn), os = Mn, Sn = (e) => {
|
|
451
|
-
const [t, n] = x(), o =
|
|
451
|
+
const [t, n] = x(), o = I(), r = Z();
|
|
452
452
|
return w(() => {
|
|
453
453
|
let i;
|
|
454
454
|
const a = (e || o).get("$widget");
|
|
@@ -463,11 +463,11 @@ const qt = (e) => (t) => /* @__PURE__ */ s.createElement(Uo, { attrs: t, htmlBod
|
|
|
463
463
|
case "close":
|
|
464
464
|
case "open":
|
|
465
465
|
r.current && n(
|
|
466
|
-
p === "open" ?
|
|
466
|
+
p === "open" ? ae.open : ae.closed
|
|
467
467
|
);
|
|
468
468
|
break;
|
|
469
469
|
case "hide":
|
|
470
|
-
r.current && n(
|
|
470
|
+
r.current && n(ae.hidden);
|
|
471
471
|
}
|
|
472
472
|
});
|
|
473
473
|
}), () => {
|
|
@@ -475,7 +475,7 @@ const qt = (e) => (t) => /* @__PURE__ */ s.createElement(Uo, { attrs: t, htmlBod
|
|
|
475
475
|
};
|
|
476
476
|
}, [r]), t;
|
|
477
477
|
}, rs = Sn, Rn = () => U(sn), tt = Rn, Tn = (e) => {
|
|
478
|
-
const t =
|
|
478
|
+
const t = I(), n = tt(), [o, r] = x({ name: "", params: {} }), i = Z();
|
|
479
479
|
return w(() => {
|
|
480
480
|
const a = (e || t).get("$widget");
|
|
481
481
|
if (!a)
|
|
@@ -484,13 +484,13 @@ const qt = (e) => (t) => /* @__PURE__ */ s.createElement(Uo, { attrs: t, htmlBod
|
|
|
484
484
|
return l.subscribe("router:change", (c, { next: { routeData: m } }) => {
|
|
485
485
|
if (i.current) {
|
|
486
486
|
const { name: p, params: d } = m;
|
|
487
|
-
|
|
487
|
+
Pe(d), r({ name: p, params: d });
|
|
488
488
|
}
|
|
489
489
|
});
|
|
490
490
|
}, [i, e, t]), w(() => {
|
|
491
491
|
if (n && n.history && i.current) {
|
|
492
492
|
const a = n.getRouteData(), { name: l, params: u } = a;
|
|
493
|
-
|
|
493
|
+
Pe(u), r({ name: l, params: u });
|
|
494
494
|
}
|
|
495
495
|
}, [n, i]), o;
|
|
496
496
|
}, ss = Tn, nt = (e) => {
|
|
@@ -519,9 +519,9 @@ const qt = (e) => (t) => /* @__PURE__ */ s.createElement(Uo, { attrs: t, htmlBod
|
|
|
519
519
|
},
|
|
520
520
|
[t, n]
|
|
521
521
|
);
|
|
522
|
-
return O("scroll", r, t.current, () => t.current && e), O("touchstart", i, t.current, () => t.current && e), O("touchmove", u, t.current, () => t.current && e), e ? [
|
|
523
|
-
},
|
|
524
|
-
overflow-y: ${
|
|
522
|
+
return O("scroll", r, t.current, () => t.current && e), O("touchstart", i, t.current, () => t.current && e), O("touchmove", u, t.current, () => t.current && e), e ? [Dn, t] : ["", t];
|
|
523
|
+
}, Dn = `
|
|
524
|
+
overflow-y: ${Ze() === ye.Chrome || Ze() === ye.EdgeChromium ? "overlay" : "auto"};
|
|
525
525
|
overflow-x: hidden;
|
|
526
526
|
-ms-overflow-style: none; /* IE 10+ */
|
|
527
527
|
scrollbar-width: thin; /* Firefox */
|
|
@@ -548,20 +548,20 @@ const qt = (e) => (t) => /* @__PURE__ */ s.createElement(Uo, { attrs: t, htmlBod
|
|
|
548
548
|
background-color: #7F7F7F;
|
|
549
549
|
}
|
|
550
550
|
}
|
|
551
|
-
`,
|
|
552
|
-
const [e, t] = x(null), n =
|
|
551
|
+
`, zn = () => {
|
|
552
|
+
const [e, t] = x(null), n = I(), o = Z();
|
|
553
553
|
return w(() => {
|
|
554
554
|
n.get("settings").then((r) => {
|
|
555
555
|
o.current && t(r);
|
|
556
556
|
});
|
|
557
557
|
}, [o]), e;
|
|
558
|
-
}, is =
|
|
558
|
+
}, is = zn, _n = (e = !1) => {
|
|
559
559
|
const [t, n] = x(e), o = T((r) => {
|
|
560
560
|
n(typeof r == "boolean" ? r : (i) => !i);
|
|
561
561
|
}, []);
|
|
562
562
|
return [t, o];
|
|
563
|
-
}, ot =
|
|
564
|
-
const t =
|
|
563
|
+
}, ot = _n, as = (e) => {
|
|
564
|
+
const t = I(), n = G(), o = t.get("widgetDOMElement"), [r, i] = x(null), [a, l] = x(null), u = Z();
|
|
565
565
|
w(() => {
|
|
566
566
|
if (n && u.current) {
|
|
567
567
|
const m = n.nodes.all.find((d) => d.name === "root-area"), p = n.nodes.all.find((d) => d.type === "view");
|
|
@@ -582,7 +582,7 @@ const qt = (e) => (t) => /* @__PURE__ */ s.createElement(Uo, { attrs: t, htmlBod
|
|
|
582
582
|
[e, u, r, a]
|
|
583
583
|
);
|
|
584
584
|
O("transitionend", c, r), O("transitionend", c, a);
|
|
585
|
-
},
|
|
585
|
+
}, Hn = (e, t, n = [], o) => {
|
|
586
586
|
const r = En(o);
|
|
587
587
|
return w(() => {
|
|
588
588
|
if (r) {
|
|
@@ -592,12 +592,12 @@ const qt = (e) => (t) => /* @__PURE__ */ s.createElement(Uo, { attrs: t, htmlBod
|
|
|
592
592
|
};
|
|
593
593
|
}
|
|
594
594
|
}, [r].concat(n)), (i) => r == null ? void 0 : r.dispatch(e, i);
|
|
595
|
-
},
|
|
596
|
-
const n =
|
|
595
|
+
}, me = Hn, Vn = (e, t) => {
|
|
596
|
+
const n = me("widget:menu-toggled", (o, r) => {
|
|
597
597
|
r !== e && t();
|
|
598
598
|
});
|
|
599
599
|
return () => n(e);
|
|
600
|
-
},
|
|
600
|
+
}, ke = Vn, Bn = (o) => {
|
|
601
601
|
var r = o, { className: e, children: t } = r, n = S(r, ["className", "children"]);
|
|
602
602
|
return /* @__PURE__ */ s.createElement(
|
|
603
603
|
"span",
|
|
@@ -606,7 +606,7 @@ const qt = (e) => (t) => /* @__PURE__ */ s.createElement(Uo, { attrs: t, htmlBod
|
|
|
606
606
|
}, B(n)),
|
|
607
607
|
t
|
|
608
608
|
);
|
|
609
|
-
},
|
|
609
|
+
}, Le = Bn, rt = (e) => L`
|
|
610
610
|
display: flex;
|
|
611
611
|
justify-content: center;
|
|
612
612
|
flex-direction: column;
|
|
@@ -615,7 +615,7 @@ const qt = (e) => (t) => /* @__PURE__ */ s.createElement(Uo, { attrs: t, htmlBod
|
|
|
615
615
|
border: ${e.theme.border};
|
|
616
616
|
box-shadow: ${e.theme.boxShadow || "none"};
|
|
617
617
|
${e["data-loading"] && "min-height: 150px;"}
|
|
618
|
-
`,
|
|
618
|
+
`, In = (e) => {
|
|
619
619
|
var t, n, o;
|
|
620
620
|
return L`
|
|
621
621
|
cursor: pointer;
|
|
@@ -631,7 +631,7 @@ const qt = (e) => (t) => /* @__PURE__ */ s.createElement(Uo, { attrs: t, htmlBod
|
|
|
631
631
|
var a;
|
|
632
632
|
const { primaryColor: t, secondaryColor: n, active: o, theme: r, disabled: i } = e;
|
|
633
633
|
return L`
|
|
634
|
-
${
|
|
634
|
+
${In(e)}
|
|
635
635
|
border: 1px solid ${o ? n : t};
|
|
636
636
|
background-color: ${o ? t : n};
|
|
637
637
|
|
|
@@ -661,11 +661,11 @@ const qt = (e) => (t) => /* @__PURE__ */ s.createElement(Uo, { attrs: t, htmlBod
|
|
|
661
661
|
}
|
|
662
662
|
|
|
663
663
|
&:focus-visible {
|
|
664
|
-
${
|
|
664
|
+
${F(e)};
|
|
665
665
|
}
|
|
666
666
|
`}
|
|
667
667
|
`;
|
|
668
|
-
},
|
|
668
|
+
}, F = (e) => {
|
|
669
669
|
var t, n, o;
|
|
670
670
|
return L`
|
|
671
671
|
outline: ${(t = e.theme.accessibility) == null ? void 0 : t.border};
|
|
@@ -673,15 +673,15 @@ const qt = (e) => (t) => /* @__PURE__ */ s.createElement(Uo, { attrs: t, htmlBod
|
|
|
673
673
|
border-color: transparent;
|
|
674
674
|
`;
|
|
675
675
|
}, Pn = (e) => L`
|
|
676
|
-
${
|
|
676
|
+
${F(e)}
|
|
677
677
|
text-decoration: underline;
|
|
678
678
|
`, ls = (e) => {
|
|
679
679
|
var t;
|
|
680
680
|
return L`
|
|
681
|
-
${
|
|
681
|
+
${F(e)}
|
|
682
682
|
outline-offset: ${(t = e.theme.sizes) == null ? void 0 : t.small};
|
|
683
683
|
`;
|
|
684
|
-
},
|
|
684
|
+
}, Me = y(de)`
|
|
685
685
|
position: absolute;
|
|
686
686
|
top: ${(e) => {
|
|
687
687
|
var t;
|
|
@@ -701,7 +701,7 @@ const qt = (e) => (t) => /* @__PURE__ */ s.createElement(Uo, { attrs: t, htmlBod
|
|
|
701
701
|
}
|
|
702
702
|
|
|
703
703
|
&:focus-visible {
|
|
704
|
-
${
|
|
704
|
+
${F}
|
|
705
705
|
padding: ${(e) => {
|
|
706
706
|
var t;
|
|
707
707
|
return (t = e.theme.sizes) == null ? void 0 : t.small;
|
|
@@ -709,7 +709,7 @@ const qt = (e) => (t) => /* @__PURE__ */ s.createElement(Uo, { attrs: t, htmlBod
|
|
|
709
709
|
height: 15px;
|
|
710
710
|
box-sizing: content-box;
|
|
711
711
|
}
|
|
712
|
-
`,
|
|
712
|
+
`, je = y(Le)`
|
|
713
713
|
font-size: ${(e) => {
|
|
714
714
|
var t;
|
|
715
715
|
return (t = e.theme.fonts) == null ? void 0 : t.normal;
|
|
@@ -720,7 +720,7 @@ const qt = (e) => (t) => /* @__PURE__ */ s.createElement(Uo, { attrs: t, htmlBod
|
|
|
720
720
|
var t;
|
|
721
721
|
return (t = e.theme.colors) == null ? void 0 : t.text;
|
|
722
722
|
}};
|
|
723
|
-
`,
|
|
723
|
+
`, Nn = (e) => {
|
|
724
724
|
var t;
|
|
725
725
|
return L`
|
|
726
726
|
padding: 0;
|
|
@@ -746,7 +746,7 @@ const qt = (e) => (t) => /* @__PURE__ */ s.createElement(Uo, { attrs: t, htmlBod
|
|
|
746
746
|
var t, n, o, r;
|
|
747
747
|
return L`
|
|
748
748
|
> div {
|
|
749
|
-
${
|
|
749
|
+
${le(e)(
|
|
750
750
|
"> h1",
|
|
751
751
|
L`
|
|
752
752
|
margin: 0 0 ${(t = e.theme.sizes) == null ? void 0 : t.normal};
|
|
@@ -758,9 +758,9 @@ const qt = (e) => (t) => /* @__PURE__ */ s.createElement(Uo, { attrs: t, htmlBod
|
|
|
758
758
|
)}
|
|
759
759
|
}
|
|
760
760
|
> ul {
|
|
761
|
-
${
|
|
761
|
+
${Nn(e)}
|
|
762
762
|
}
|
|
763
|
-
${
|
|
763
|
+
${le(e)(
|
|
764
764
|
"h1",
|
|
765
765
|
L`
|
|
766
766
|
display: flex;
|
|
@@ -1357,10 +1357,10 @@ const qt = (e) => (t) => /* @__PURE__ */ s.createElement(Uo, { attrs: t, htmlBod
|
|
|
1357
1357
|
h6: "h6",
|
|
1358
1358
|
p: "p",
|
|
1359
1359
|
span: "span"
|
|
1360
|
-
},
|
|
1360
|
+
}, An = ({ variant: e, component: t, className: n, children: o }) => {
|
|
1361
1361
|
const { typographyVariantMapping: r = {} } = yn(), i = f(f({}, jn), r), a = t || i[e] || "span";
|
|
1362
|
-
return /* @__PURE__ */ s.createElement(
|
|
1363
|
-
},
|
|
1362
|
+
return /* @__PURE__ */ s.createElement(Fn, { className: n, as: a }, o);
|
|
1363
|
+
}, Fn = y.span``, J = An;
|
|
1364
1364
|
var Kn = /* @__PURE__ */ ((e) => (e.SlideInLeft = "slide-in-left", e.SlideInRight = "slide-in-right", e.SlideInBottom = "slide-in-bottom", e.SlideInTop = "slide-in-top", e))(Kn || {});
|
|
1365
1365
|
const Yn = 300, Un = ({
|
|
1366
1366
|
className: e,
|
|
@@ -1378,28 +1378,28 @@ const Yn = 300, Un = ({
|
|
|
1378
1378
|
w(() => {
|
|
1379
1379
|
o && o(h);
|
|
1380
1380
|
}, [h]);
|
|
1381
|
-
const v =
|
|
1381
|
+
const v = X("Escape");
|
|
1382
1382
|
w(() => {
|
|
1383
1383
|
v && C(!1);
|
|
1384
1384
|
}, [v]), O(
|
|
1385
1385
|
"click",
|
|
1386
|
-
(
|
|
1387
|
-
const { target:
|
|
1388
|
-
!m.current || !d.current || !
|
|
1386
|
+
(H) => {
|
|
1387
|
+
const { target: D } = H;
|
|
1388
|
+
!m.current || !d.current || !D || m.current !== D && d.current !== D && !d.current.contains(D) && !m.current.contains(D) && C(!1);
|
|
1389
1389
|
},
|
|
1390
1390
|
window
|
|
1391
1391
|
);
|
|
1392
|
-
const g =
|
|
1392
|
+
const g = ke(b.current, () => {
|
|
1393
1393
|
C(!1);
|
|
1394
1394
|
});
|
|
1395
|
-
|
|
1395
|
+
me("router:changed", () => {
|
|
1396
1396
|
C(!1);
|
|
1397
1397
|
}), w(() => {
|
|
1398
1398
|
h && c.current ? c.current.focus() : !h && m.current && E && m.current.focus();
|
|
1399
1399
|
}, [h, c.current, m.current]);
|
|
1400
|
-
const
|
|
1400
|
+
const z = eo[l.type];
|
|
1401
1401
|
return /* @__PURE__ */ s.createElement(s.Fragment, null, /* @__PURE__ */ s.createElement(
|
|
1402
|
-
|
|
1402
|
+
Xe,
|
|
1403
1403
|
{
|
|
1404
1404
|
in: h,
|
|
1405
1405
|
className: "humany-drawer-transition",
|
|
@@ -1408,7 +1408,7 @@ const Yn = 300, Un = ({
|
|
|
1408
1408
|
timeout: u
|
|
1409
1409
|
},
|
|
1410
1410
|
/* @__PURE__ */ s.createElement(te, null, /* @__PURE__ */ s.createElement(
|
|
1411
|
-
|
|
1411
|
+
z,
|
|
1412
1412
|
{
|
|
1413
1413
|
duration: u,
|
|
1414
1414
|
fullScreen: i,
|
|
@@ -1422,7 +1422,7 @@ const Yn = 300, Un = ({
|
|
|
1422
1422
|
ref: d
|
|
1423
1423
|
},
|
|
1424
1424
|
/* @__PURE__ */ s.createElement(
|
|
1425
|
-
|
|
1425
|
+
Me,
|
|
1426
1426
|
{
|
|
1427
1427
|
onClick: () => C(!1),
|
|
1428
1428
|
tabIndex: 0,
|
|
@@ -1431,18 +1431,18 @@ const Yn = 300, Un = ({
|
|
|
1431
1431
|
},
|
|
1432
1432
|
/* @__PURE__ */ s.createElement(ne, { symbol: { type: "Svg", content: "close" } })
|
|
1433
1433
|
),
|
|
1434
|
-
!!n && /* @__PURE__ */ s.createElement(
|
|
1434
|
+
!!n && /* @__PURE__ */ s.createElement(qn, { variant: "h1", className: "humany-drawer-header" }, n),
|
|
1435
1435
|
t
|
|
1436
1436
|
))
|
|
1437
1437
|
), s.cloneElement(r, {
|
|
1438
|
-
onClick: (
|
|
1438
|
+
onClick: (H) => {
|
|
1439
1439
|
C(), g();
|
|
1440
1440
|
},
|
|
1441
1441
|
ref: m,
|
|
1442
1442
|
"aria-label": r.props.title,
|
|
1443
1443
|
"aria-expanded": h
|
|
1444
1444
|
}));
|
|
1445
|
-
}, ms = Un,
|
|
1445
|
+
}, ms = Un, he = y.div`
|
|
1446
1446
|
font-family: ${(e) => {
|
|
1447
1447
|
var t;
|
|
1448
1448
|
return (t = e.theme.fonts) == null ? void 0 : t.type;
|
|
@@ -1459,7 +1459,7 @@ const Yn = 300, Un = ({
|
|
|
1459
1459
|
box-shadow: ${(e) => e.theme.boxShadow};
|
|
1460
1460
|
background: #ffffff;
|
|
1461
1461
|
${(e) => e.css && e.css}
|
|
1462
|
-
`,
|
|
1462
|
+
`, qn = y(J)`
|
|
1463
1463
|
padding: ${(e) => {
|
|
1464
1464
|
var t;
|
|
1465
1465
|
return (t = e.theme.sizes) == null ? void 0 : t.normal;
|
|
@@ -1482,11 +1482,11 @@ const Yn = 300, Un = ({
|
|
|
1482
1482
|
return (t = e.theme.fonts) == null ? void 0 : t.normal;
|
|
1483
1483
|
}};
|
|
1484
1484
|
line-height: 1.2em;
|
|
1485
|
-
`,
|
|
1485
|
+
`, pe = (e) => L`
|
|
1486
1486
|
transition: ${e.duration}ms;
|
|
1487
|
-
`,
|
|
1487
|
+
`, Xn = y(he)`
|
|
1488
1488
|
max-height: 0;
|
|
1489
|
-
${
|
|
1489
|
+
${pe}
|
|
1490
1490
|
|
|
1491
1491
|
&.humany-drawer-transition-enter {
|
|
1492
1492
|
max-height: 0;
|
|
@@ -1501,8 +1501,8 @@ const Yn = 300, Un = ({
|
|
|
1501
1501
|
&.humany-drawer-transition-exit-done {
|
|
1502
1502
|
max-height: 0;
|
|
1503
1503
|
}
|
|
1504
|
-
`, Qn = y(
|
|
1505
|
-
${
|
|
1504
|
+
`, Qn = y(he)`
|
|
1505
|
+
${pe}
|
|
1506
1506
|
transform: translateX(100%);
|
|
1507
1507
|
height: ${(e) => e.fullScreen ? "100%" : "auto"};
|
|
1508
1508
|
|
|
@@ -1519,8 +1519,8 @@ const Yn = 300, Un = ({
|
|
|
1519
1519
|
&.humany-drawer-transition-exit-done {
|
|
1520
1520
|
transform: translateX(100%);
|
|
1521
1521
|
}
|
|
1522
|
-
`, Gn = y(
|
|
1523
|
-
${
|
|
1522
|
+
`, Gn = y(he)`
|
|
1523
|
+
${pe}
|
|
1524
1524
|
transform: translateX(-100%);
|
|
1525
1525
|
height: ${(e) => e.fullScreen ? "100%" : "auto"};
|
|
1526
1526
|
|
|
@@ -1537,8 +1537,8 @@ const Yn = 300, Un = ({
|
|
|
1537
1537
|
&.humany-drawer-transition-exit-done {
|
|
1538
1538
|
transform: translateX(-100%);
|
|
1539
1539
|
}
|
|
1540
|
-
`, Jn = y(
|
|
1541
|
-
${
|
|
1540
|
+
`, Jn = y(he)`
|
|
1541
|
+
${pe}
|
|
1542
1542
|
bottom: unset;
|
|
1543
1543
|
top: 0;
|
|
1544
1544
|
height: 0;
|
|
@@ -1557,7 +1557,7 @@ const Yn = 300, Un = ({
|
|
|
1557
1557
|
height: 0;
|
|
1558
1558
|
}
|
|
1559
1559
|
`, eo = {
|
|
1560
|
-
["slide-in-bottom"]:
|
|
1560
|
+
["slide-in-bottom"]: Xn,
|
|
1561
1561
|
["slide-in-right"]: Qn,
|
|
1562
1562
|
["slide-in-left"]: Gn,
|
|
1563
1563
|
["slide-in-top"]: Jn
|
|
@@ -1585,28 +1585,28 @@ const Yn = 300, Un = ({
|
|
|
1585
1585
|
var l = a, { className: e = "", children: t = null, trigger: n, closeButtonAriaLabel: o } = l, r = S(l, ["className", "children", "trigger", "closeButtonAriaLabel"]);
|
|
1586
1586
|
const u = R(), c = R(), m = R();
|
|
1587
1587
|
we(i, () => m.current, [m.current]);
|
|
1588
|
-
const p = R(ee()), [d, h] = x(!1), C = et(d), [{ x: E, y: b }, v] = st(d, p.current, m.current), g =
|
|
1588
|
+
const p = R(ee()), [d, h] = x(!1), C = et(d), [{ x: E, y: b }, v] = st(d, p.current, m.current), g = X("Escape");
|
|
1589
1589
|
w(() => {
|
|
1590
1590
|
g && h(!1);
|
|
1591
1591
|
}, [g]), w(() => {
|
|
1592
1592
|
d && u.current ? u.current.focus() : !d && c.current && C && c.current.focus();
|
|
1593
1593
|
}, [d, u.current, c.current]), O(
|
|
1594
1594
|
"click",
|
|
1595
|
-
(
|
|
1596
|
-
const { target:
|
|
1597
|
-
!m.current || !
|
|
1595
|
+
(D) => {
|
|
1596
|
+
const { target: N } = D;
|
|
1597
|
+
!m.current || !N || m.current !== N && !m.current.contains(N) && h(!1);
|
|
1598
1598
|
},
|
|
1599
1599
|
window
|
|
1600
|
-
),
|
|
1600
|
+
), me("router:changed", () => {
|
|
1601
1601
|
h(!1);
|
|
1602
1602
|
});
|
|
1603
|
-
const
|
|
1603
|
+
const z = ke(p.current, () => {
|
|
1604
1604
|
h(!1);
|
|
1605
|
-
}),
|
|
1606
|
-
(
|
|
1607
|
-
|
|
1605
|
+
}), H = T(
|
|
1606
|
+
(D) => {
|
|
1607
|
+
D.stopPropagation(), v(D, c.current), h(!d), z();
|
|
1608
1608
|
},
|
|
1609
|
-
[
|
|
1609
|
+
[z, v, h]
|
|
1610
1610
|
);
|
|
1611
1611
|
return /* @__PURE__ */ s.createElement(s.Fragment, null, d && /* @__PURE__ */ s.createElement(te, null, /* @__PURE__ */ s.createElement(
|
|
1612
1612
|
oo,
|
|
@@ -1622,7 +1622,7 @@ const Yn = 300, Un = ({
|
|
|
1622
1622
|
ref: m
|
|
1623
1623
|
}),
|
|
1624
1624
|
/* @__PURE__ */ s.createElement(
|
|
1625
|
-
|
|
1625
|
+
Me,
|
|
1626
1626
|
{
|
|
1627
1627
|
onClick: () => h(!1),
|
|
1628
1628
|
tabIndex: 0,
|
|
@@ -1633,7 +1633,7 @@ const Yn = 300, Un = ({
|
|
|
1633
1633
|
),
|
|
1634
1634
|
t
|
|
1635
1635
|
)), s.cloneElement(n, {
|
|
1636
|
-
onClick:
|
|
1636
|
+
onClick: H,
|
|
1637
1637
|
ref: c,
|
|
1638
1638
|
"aria-label": n.props.title,
|
|
1639
1639
|
"aria-expanded": d
|
|
@@ -1684,11 +1684,11 @@ const Yn = 300, Un = ({
|
|
|
1684
1684
|
`, it = V(
|
|
1685
1685
|
(i, r) => {
|
|
1686
1686
|
var a = i, { htmlParseInstruction: e = null, className: t, html: n } = a, o = S(a, ["htmlParseInstruction", "className", "html"]);
|
|
1687
|
-
const l =
|
|
1687
|
+
const l = I(), [u, c] = x();
|
|
1688
1688
|
return w(() => {
|
|
1689
1689
|
const m = Qt(l, n), p = k(f(f({}, m), e), {
|
|
1690
1690
|
transform: f(f({}, m.transform), e == null ? void 0 : e.transform)
|
|
1691
|
-
}), d =
|
|
1691
|
+
}), d = qt(n, p);
|
|
1692
1692
|
c(d);
|
|
1693
1693
|
}, [n, e]), /* @__PURE__ */ s.createElement(
|
|
1694
1694
|
"div",
|
|
@@ -1752,8 +1752,8 @@ const Yn = 300, Un = ({
|
|
|
1752
1752
|
var g;
|
|
1753
1753
|
t && ((g = E == null ? void 0 : E.current) == null || g.focus());
|
|
1754
1754
|
}, [t, m, E]);
|
|
1755
|
-
const b = (g,
|
|
1756
|
-
C(g), n && n(g), i && g &&
|
|
1755
|
+
const b = (g, z) => {
|
|
1756
|
+
C(g), n && n(g), i && g && z.target.select();
|
|
1757
1757
|
}, v = k(f({}, B(c)), {
|
|
1758
1758
|
disabled: l,
|
|
1759
1759
|
autoFocus: t,
|
|
@@ -1807,7 +1807,7 @@ const Yn = 300, Un = ({
|
|
|
1807
1807
|
}),
|
|
1808
1808
|
n ? /* @__PURE__ */ s.createElement(J, { variant: "h1" }, i ? /* @__PURE__ */ s.createElement(ne, { symbol: i }) : null, n) : null,
|
|
1809
1809
|
t ? /* @__PURE__ */ s.createElement(it, { html: t, htmlParseInstruction: r }) : null,
|
|
1810
|
-
e ? /* @__PURE__ */ s.createElement(
|
|
1810
|
+
e ? /* @__PURE__ */ s.createElement(Le, null, e) : null
|
|
1811
1811
|
);
|
|
1812
1812
|
}
|
|
1813
1813
|
), ho = V(
|
|
@@ -1885,7 +1885,7 @@ const Yn = 300, Un = ({
|
|
|
1885
1885
|
(u, l) => {
|
|
1886
1886
|
var c = u, { className: e, onClick: t = () => {
|
|
1887
1887
|
}, name: n = "", to: o = "", params: r = {}, children: i } = c, a = S(c, ["className", "onClick", "name", "to", "params", "children"]);
|
|
1888
|
-
const m = tt(), p =
|
|
1888
|
+
const m = tt(), p = I();
|
|
1889
1889
|
if (!m)
|
|
1890
1890
|
return null;
|
|
1891
1891
|
let d = "";
|
|
@@ -1914,7 +1914,7 @@ const Yn = 300, Un = ({
|
|
|
1914
1914
|
} catch (v) {
|
|
1915
1915
|
return /* @__PURE__ */ s.createElement(ge, f({}, h), i);
|
|
1916
1916
|
}
|
|
1917
|
-
d && m.settings.mode && m.settings.mode ===
|
|
1917
|
+
d && m.settings.mode && m.settings.mode === We.browser && d[0] !== "/" && (d = `/${d}`);
|
|
1918
1918
|
} else if (o && m.history)
|
|
1919
1919
|
d = m.history.createHref({
|
|
1920
1920
|
hash: "",
|
|
@@ -1926,13 +1926,13 @@ const Yn = 300, Un = ({
|
|
|
1926
1926
|
return process.env.NODE_ENV !== "production" && fe.warn(
|
|
1927
1927
|
'Unable to generate path for route link. Either specify route name or use the "to" prop.'
|
|
1928
1928
|
), null;
|
|
1929
|
-
if (m.settings && m.settings.mode ===
|
|
1929
|
+
if (m.settings && m.settings.mode === We.scopedHash) {
|
|
1930
1930
|
const C = p.get("$widget").name;
|
|
1931
|
-
d =
|
|
1931
|
+
d = It(d, C);
|
|
1932
1932
|
}
|
|
1933
1933
|
return h.as ? /* @__PURE__ */ s.createElement(go, k(f({}, h), { as: h.as }), i) : /* @__PURE__ */ s.createElement(ge, k(f({}, h), { to: d }), i);
|
|
1934
1934
|
}
|
|
1935
|
-
), go = y.span``,
|
|
1935
|
+
), go = y.span``, Se = V(
|
|
1936
1936
|
(E, C) => {
|
|
1937
1937
|
var b = E, {
|
|
1938
1938
|
className: e,
|
|
@@ -2037,7 +2037,7 @@ const Yn = 300, Un = ({
|
|
|
2037
2037
|
[o]
|
|
2038
2038
|
);
|
|
2039
2039
|
return /* @__PURE__ */ s.createElement(
|
|
2040
|
-
|
|
2040
|
+
Xe,
|
|
2041
2041
|
{
|
|
2042
2042
|
in: e,
|
|
2043
2043
|
className: "humany-overlay-transition",
|
|
@@ -2176,17 +2176,17 @@ const Yn = 300, Un = ({
|
|
|
2176
2176
|
const a = R(null), [l, u] = x(!1), [c, m] = x(!1), b = o.style || {}, { width: p, height: d } = b, h = S(b, ["width", "height"]), C = T(() => {
|
|
2177
2177
|
const g = a.current;
|
|
2178
2178
|
if (g) {
|
|
2179
|
-
const
|
|
2180
|
-
return
|
|
2179
|
+
const z = window.innerWidth / g.width, H = window.innerHeight / g.height, D = Math.min(z, H);
|
|
2180
|
+
return H >= 1 && z >= 1 ? 1 : D;
|
|
2181
2181
|
}
|
|
2182
2182
|
return 1;
|
|
2183
|
-
}, [l, t.src]), E =
|
|
2183
|
+
}, [l, t.src]), E = ce(() => {
|
|
2184
2184
|
const g = a.current;
|
|
2185
2185
|
if (g) {
|
|
2186
2186
|
if (!c) {
|
|
2187
2187
|
m(!0);
|
|
2188
|
-
const
|
|
2189
|
-
n(
|
|
2188
|
+
const z = C();
|
|
2189
|
+
n(z);
|
|
2190
2190
|
}
|
|
2191
2191
|
return g.width >= g.height ? [`${e * t.originalWidth}px`, "auto"] : ["auto", `${e * t.originalHeight}px`];
|
|
2192
2192
|
}
|
|
@@ -2195,7 +2195,7 @@ const Yn = 300, Un = ({
|
|
|
2195
2195
|
return w(() => (u(!1), function() {
|
|
2196
2196
|
m(!1);
|
|
2197
2197
|
}), [t.src]), /* @__PURE__ */ s.createElement(s.Fragment, null, /* @__PURE__ */ s.createElement(To, { loading: !l }), /* @__PURE__ */ s.createElement(
|
|
2198
|
-
|
|
2198
|
+
Do,
|
|
2199
2199
|
k(f({
|
|
2200
2200
|
onLoad: () => {
|
|
2201
2201
|
u(!0);
|
|
@@ -2209,12 +2209,12 @@ const Yn = 300, Un = ({
|
|
|
2209
2209
|
src: t.src,
|
|
2210
2210
|
loaded: l
|
|
2211
2211
|
})
|
|
2212
|
-
), /* @__PURE__ */ s.createElement(
|
|
2212
|
+
), /* @__PURE__ */ s.createElement(zo, null));
|
|
2213
2213
|
}, To = y(So)`
|
|
2214
2214
|
svg circle {
|
|
2215
2215
|
stroke: #ffffff;
|
|
2216
2216
|
}
|
|
2217
|
-
`,
|
|
2217
|
+
`, Do = y.img`
|
|
2218
2218
|
transform: none;
|
|
2219
2219
|
|
|
2220
2220
|
${(e) => e.imageSize && L`
|
|
@@ -2225,11 +2225,11 @@ const Yn = 300, Un = ({
|
|
|
2225
2225
|
vertical-align: middle;
|
|
2226
2226
|
position: relative;
|
|
2227
2227
|
${(e) => !e.loaded && "display:none;"}
|
|
2228
|
-
`,
|
|
2228
|
+
`, zo = y.div`
|
|
2229
2229
|
height: 100%;
|
|
2230
2230
|
display: inline-block;
|
|
2231
2231
|
vertical-align: middle;
|
|
2232
|
-
`,
|
|
2232
|
+
`, _o = Ro, Ho = () => {
|
|
2233
2233
|
const e = R(), [t, n] = x(!0), o = T(() => (t || n(!0), e.current && clearTimeout(e.current), e.current = setTimeout(() => {
|
|
2234
2234
|
n(!1);
|
|
2235
2235
|
}, 3e3), () => {
|
|
@@ -2237,42 +2237,42 @@ const Yn = 300, Un = ({
|
|
|
2237
2237
|
}), [t, e]);
|
|
2238
2238
|
return [t, o];
|
|
2239
2239
|
}, Vo = ({ attrs: e, htmlBody: t }) => {
|
|
2240
|
-
var
|
|
2241
|
-
const n =
|
|
2240
|
+
var _e;
|
|
2241
|
+
const n = X("Escape"), o = X("ArrowLeft"), r = X("ArrowRight"), [i, a] = x(1), [l, u] = x({ top: 0, left: 0, x: 0, y: 0 }), [c, m] = x(!1), [p, d] = Ho(), [h, C] = x(null), [E, b] = x(null), v = R(null), g = R(null), z = R(null), H = R(null);
|
|
2242
2242
|
w(() => {
|
|
2243
2243
|
n && C(null);
|
|
2244
2244
|
}, [n]), w(() => {
|
|
2245
2245
|
a(1);
|
|
2246
2246
|
}, [h]), w(() => {
|
|
2247
|
-
var j,
|
|
2247
|
+
var j, A;
|
|
2248
2248
|
if (h === null || g.current === null)
|
|
2249
2249
|
return;
|
|
2250
|
-
const $ = g.current.firstElementChild,
|
|
2250
|
+
const $ = g.current.firstElementChild, _ = (j = z.current) == null ? void 0 : j.querySelector(".nav-left"), W = (A = z.current) == null ? void 0 : A.querySelector(".nav-right");
|
|
2251
2251
|
if (E === "Right")
|
|
2252
|
-
re && W ? W.focus() : oe &&
|
|
2252
|
+
re && W ? W.focus() : oe && _ && _.focus();
|
|
2253
2253
|
else if (E === "Left")
|
|
2254
|
-
oe &&
|
|
2254
|
+
oe && _ ? _.focus() : re && W && W.focus();
|
|
2255
2255
|
else {
|
|
2256
2256
|
if (!$)
|
|
2257
2257
|
return;
|
|
2258
2258
|
$.focus();
|
|
2259
2259
|
}
|
|
2260
|
-
}, [h, g,
|
|
2260
|
+
}, [h, g, z, E]), w(() => {
|
|
2261
2261
|
if (o) {
|
|
2262
2262
|
if (oe)
|
|
2263
|
-
return
|
|
2263
|
+
return De();
|
|
2264
2264
|
} else if (r && re)
|
|
2265
2265
|
return ze();
|
|
2266
2266
|
}, [o, r]);
|
|
2267
|
-
const
|
|
2267
|
+
const D = ce(() => {
|
|
2268
2268
|
const $ = document.createElement("div");
|
|
2269
2269
|
$.innerHTML = t || "";
|
|
2270
|
-
const
|
|
2271
|
-
return Array.from(
|
|
2272
|
-
const
|
|
2273
|
-
if (
|
|
2270
|
+
const _ = $.getElementsByTagName("img");
|
|
2271
|
+
return Array.from(_).reduce((j, A) => {
|
|
2272
|
+
const He = A.getAttribute("src"), Ct = A.height || Number.parseInt(A.style.height, 10), yt = A.width || Number.parseInt(A.style.width, 10);
|
|
2273
|
+
if (He) {
|
|
2274
2274
|
const bt = {
|
|
2275
|
-
src:
|
|
2275
|
+
src: He,
|
|
2276
2276
|
originalWidth: yt,
|
|
2277
2277
|
originalHeight: Ct
|
|
2278
2278
|
};
|
|
@@ -2280,55 +2280,55 @@ const Yn = 300, Un = ({
|
|
|
2280
2280
|
}
|
|
2281
2281
|
return j;
|
|
2282
2282
|
}, []);
|
|
2283
|
-
}, [t]),
|
|
2283
|
+
}, [t]), N = T(() => {
|
|
2284
2284
|
const { src: $ } = e;
|
|
2285
2285
|
if ($) {
|
|
2286
|
-
const
|
|
2287
|
-
C(
|
|
2286
|
+
const _ = D.findIndex((W, j) => W.src === $);
|
|
2287
|
+
C(_);
|
|
2288
2288
|
}
|
|
2289
|
-
}, [
|
|
2289
|
+
}, [D, e]), dt = T(($) => {
|
|
2290
2290
|
C(null);
|
|
2291
|
-
}, []),
|
|
2291
|
+
}, []), Te = T(
|
|
2292
2292
|
($) => {
|
|
2293
2293
|
a($ ? i + i * 0.25 : i - i * 0.25);
|
|
2294
2294
|
},
|
|
2295
2295
|
[a, i]
|
|
2296
2296
|
), mt = T(() => {
|
|
2297
2297
|
if (h !== null) {
|
|
2298
|
-
const { src: $ } =
|
|
2298
|
+
const { src: $ } = D[h];
|
|
2299
2299
|
$ && window.open($, "_self");
|
|
2300
2300
|
}
|
|
2301
|
-
}, [
|
|
2301
|
+
}, [D, h]), ht = T(
|
|
2302
2302
|
($) => {
|
|
2303
|
-
const
|
|
2304
|
-
|
|
2303
|
+
const _ = H.current;
|
|
2304
|
+
_ && (u({ top: _.scrollTop, left: _.scrollLeft, x: $.clientX, y: $.clientY }), m(!0));
|
|
2305
2305
|
},
|
|
2306
|
-
[
|
|
2306
|
+
[H]
|
|
2307
2307
|
), pt = T(
|
|
2308
2308
|
($) => {
|
|
2309
|
-
const
|
|
2310
|
-
if (
|
|
2309
|
+
const _ = H.current;
|
|
2310
|
+
if (_ && c) {
|
|
2311
2311
|
const W = $.clientX - l.x, j = $.clientY - l.y;
|
|
2312
|
-
|
|
2312
|
+
_.scrollTop = l.top - j, _.scrollLeft = l.left - W;
|
|
2313
2313
|
}
|
|
2314
2314
|
},
|
|
2315
2315
|
[c, l]
|
|
2316
2316
|
), ft = ($) => {
|
|
2317
2317
|
$.preventDefault(), m(!1);
|
|
2318
|
-
}, gt =
|
|
2319
|
-
if (
|
|
2320
|
-
const $ =
|
|
2318
|
+
}, gt = ce(() => {
|
|
2319
|
+
if (H.current) {
|
|
2320
|
+
const $ = H.current.getElementsByTagName("img");
|
|
2321
2321
|
if ($ && $.length) {
|
|
2322
|
-
const
|
|
2323
|
-
return
|
|
2322
|
+
const _ = $[0];
|
|
2323
|
+
return _.width > window.innerWidth || _.height > window.innerHeight;
|
|
2324
2324
|
}
|
|
2325
2325
|
}
|
|
2326
2326
|
return !1;
|
|
2327
|
-
}, [
|
|
2327
|
+
}, [H, i]), De = () => {
|
|
2328
2328
|
h !== null && (b("Left"), C(h - 1));
|
|
2329
2329
|
}, ze = () => {
|
|
2330
2330
|
h !== null && (b("Right"), C(h + 1));
|
|
2331
|
-
}, oe = h !== null && h > 0 &&
|
|
2331
|
+
}, oe = h !== null && h > 0 && D.length > 1, re = h !== null && D.length - 1 > h;
|
|
2332
2332
|
return /* @__PURE__ */ s.createElement(s.Fragment, null, /* @__PURE__ */ s.createElement(at, { visible: h !== null, onClick: dt }, /* @__PURE__ */ s.createElement(
|
|
2333
2333
|
jo,
|
|
2334
2334
|
{
|
|
@@ -2337,8 +2337,8 @@ const Yn = 300, Un = ({
|
|
|
2337
2337
|
onTouchStart: () => d(),
|
|
2338
2338
|
onKeyDown: () => d()
|
|
2339
2339
|
},
|
|
2340
|
-
/* @__PURE__ */ s.createElement(
|
|
2341
|
-
|
|
2340
|
+
/* @__PURE__ */ s.createElement(Ao, { show: p.toString() }, /* @__PURE__ */ s.createElement(
|
|
2341
|
+
No,
|
|
2342
2342
|
{
|
|
2343
2343
|
ref: g,
|
|
2344
2344
|
buttons: [
|
|
@@ -2362,32 +2362,32 @@ const Yn = 300, Un = ({
|
|
|
2362
2362
|
{
|
|
2363
2363
|
scrolling: c.toString(),
|
|
2364
2364
|
isDraggable: gt.toString(),
|
|
2365
|
-
ref:
|
|
2365
|
+
ref: H,
|
|
2366
2366
|
onMouseMove: pt,
|
|
2367
2367
|
onMouseDown: ht,
|
|
2368
2368
|
onMouseUp: ft
|
|
2369
2369
|
},
|
|
2370
2370
|
h !== null && /* @__PURE__ */ s.createElement(
|
|
2371
|
-
|
|
2371
|
+
_o,
|
|
2372
2372
|
k(f({
|
|
2373
2373
|
changeZoom: ($) => {
|
|
2374
2374
|
a($);
|
|
2375
2375
|
},
|
|
2376
2376
|
zoomState: i
|
|
2377
2377
|
}, e), {
|
|
2378
|
-
image:
|
|
2378
|
+
image: D[h]
|
|
2379
2379
|
})
|
|
2380
2380
|
)
|
|
2381
2381
|
),
|
|
2382
2382
|
/* @__PURE__ */ s.createElement(
|
|
2383
2383
|
Oo,
|
|
2384
2384
|
{
|
|
2385
|
-
ref:
|
|
2385
|
+
ref: z,
|
|
2386
2386
|
show: p.toString(),
|
|
2387
2387
|
buttons: [
|
|
2388
2388
|
{
|
|
2389
2389
|
id: "previous",
|
|
2390
|
-
onClick:
|
|
2390
|
+
onClick: De,
|
|
2391
2391
|
icon: "caret-left",
|
|
2392
2392
|
circle: !0,
|
|
2393
2393
|
show: oe,
|
|
@@ -2406,19 +2406,19 @@ const Yn = 300, Un = ({
|
|
|
2406
2406
|
]
|
|
2407
2407
|
}
|
|
2408
2408
|
),
|
|
2409
|
-
/* @__PURE__ */ s.createElement(
|
|
2409
|
+
/* @__PURE__ */ s.createElement(Fo, { show: p.toString() }, /* @__PURE__ */ s.createElement(
|
|
2410
2410
|
Wo,
|
|
2411
2411
|
{
|
|
2412
2412
|
buttons: [
|
|
2413
2413
|
{
|
|
2414
2414
|
id: "zoom-out",
|
|
2415
|
-
onClick: () =>
|
|
2415
|
+
onClick: () => Te(!1),
|
|
2416
2416
|
icon: "zoom-out",
|
|
2417
2417
|
ariaLabel: "Zoom out"
|
|
2418
2418
|
},
|
|
2419
2419
|
{
|
|
2420
2420
|
id: "zoom-in",
|
|
2421
|
-
onClick: () =>
|
|
2421
|
+
onClick: () => Te(!0),
|
|
2422
2422
|
icon: "zoom-in",
|
|
2423
2423
|
ariaLabel: "Zoom in"
|
|
2424
2424
|
}
|
|
@@ -2429,17 +2429,17 @@ const Yn = 300, Un = ({
|
|
|
2429
2429
|
Bo,
|
|
2430
2430
|
{
|
|
2431
2431
|
ref: v,
|
|
2432
|
-
onClick:
|
|
2432
|
+
onClick: N,
|
|
2433
2433
|
onKeyDown: ($) => {
|
|
2434
|
-
$.key === "Enter" && ($.preventDefault(),
|
|
2434
|
+
$.key === "Enter" && ($.preventDefault(), N());
|
|
2435
2435
|
},
|
|
2436
2436
|
tabIndex: 0
|
|
2437
2437
|
},
|
|
2438
|
-
/* @__PURE__ */ s.createElement(Yo, k(f({}, e), { alt: ((
|
|
2438
|
+
/* @__PURE__ */ s.createElement(Yo, k(f({}, e), { alt: ((_e = e.alt) == null ? void 0 : _e.toString()) || "" }))
|
|
2439
2439
|
));
|
|
2440
|
-
},
|
|
2440
|
+
}, Re = V(
|
|
2441
2441
|
({ show: e = "true", buttons: t, className: n }, o) => /* @__PURE__ */ s.createElement(
|
|
2442
|
-
|
|
2442
|
+
Io,
|
|
2443
2443
|
{
|
|
2444
2444
|
ref: o,
|
|
2445
2445
|
show: e,
|
|
@@ -2469,16 +2469,16 @@ const Yn = 300, Un = ({
|
|
|
2469
2469
|
opacity: 0;
|
|
2470
2470
|
pointer-events: none;
|
|
2471
2471
|
`}
|
|
2472
|
-
`, Bo = y(
|
|
2472
|
+
`, Bo = y(Se)`
|
|
2473
2473
|
display: inline-block !important;
|
|
2474
|
-
`,
|
|
2474
|
+
`, Io = y(ct)`
|
|
2475
2475
|
position: fixed;
|
|
2476
2476
|
display: flex;
|
|
2477
2477
|
gap: ${(e) => {
|
|
2478
2478
|
var t;
|
|
2479
2479
|
return (t = e.theme.sizes) == null ? void 0 : t.normal;
|
|
2480
2480
|
}};
|
|
2481
|
-
`, be = "39px", Po = y(
|
|
2481
|
+
`, be = "39px", Po = y(de)`
|
|
2482
2482
|
width: ${be};
|
|
2483
2483
|
height: ${be};
|
|
2484
2484
|
display: flex;
|
|
@@ -2506,7 +2506,7 @@ const Yn = 300, Un = ({
|
|
|
2506
2506
|
}
|
|
2507
2507
|
|
|
2508
2508
|
&:focus-visible {
|
|
2509
|
-
${
|
|
2509
|
+
${F(e)}
|
|
2510
2510
|
outline-color: #ffffff;
|
|
2511
2511
|
background-color: transparent;
|
|
2512
2512
|
|
|
@@ -2528,7 +2528,7 @@ const Yn = 300, Un = ({
|
|
|
2528
2528
|
outline-color: #ffffff;
|
|
2529
2529
|
}
|
|
2530
2530
|
&:focus-visible {
|
|
2531
|
-
${
|
|
2531
|
+
${F(e)}
|
|
2532
2532
|
}
|
|
2533
2533
|
`;
|
|
2534
2534
|
}}
|
|
@@ -2543,7 +2543,7 @@ const Yn = 300, Un = ({
|
|
|
2543
2543
|
opacity: 0;
|
|
2544
2544
|
pointer-events: none;
|
|
2545
2545
|
`}
|
|
2546
|
-
`,
|
|
2546
|
+
`, No = y(Re)`
|
|
2547
2547
|
top: ${(e) => {
|
|
2548
2548
|
var t;
|
|
2549
2549
|
return (t = e.theme.sizes) == null ? void 0 : t.large;
|
|
@@ -2552,7 +2552,7 @@ const Yn = 300, Un = ({
|
|
|
2552
2552
|
var t;
|
|
2553
2553
|
return (t = e.theme.sizes) == null ? void 0 : t.large;
|
|
2554
2554
|
}};
|
|
2555
|
-
`, Wo = y(
|
|
2555
|
+
`, Wo = y(Re)`
|
|
2556
2556
|
bottom: ${(e) => {
|
|
2557
2557
|
var t;
|
|
2558
2558
|
return (t = e.theme.sizes) == null ? void 0 : t.large;
|
|
@@ -2560,7 +2560,7 @@ const Yn = 300, Un = ({
|
|
|
2560
2560
|
width: 100%;
|
|
2561
2561
|
align-items: center;
|
|
2562
2562
|
justify-content: center;
|
|
2563
|
-
`, Oo = y(
|
|
2563
|
+
`, Oo = y(Re)`
|
|
2564
2564
|
display: block;
|
|
2565
2565
|
button {
|
|
2566
2566
|
position: fixed;
|
|
@@ -2605,10 +2605,10 @@ const Yn = 300, Un = ({
|
|
|
2605
2605
|
z-index: 5;
|
|
2606
2606
|
`, jo = y.div`
|
|
2607
2607
|
width: 100%;
|
|
2608
|
-
`,
|
|
2608
|
+
`, Ao = y(lt)`
|
|
2609
2609
|
top: 0px;
|
|
2610
2610
|
background-image: linear-gradient(to bottom, rgb(34, 34, 34, 0.8), rgba(34, 34, 34, 0));
|
|
2611
|
-
`,
|
|
2611
|
+
`, Fo = y(lt)`
|
|
2612
2612
|
bottom: 0px;
|
|
2613
2613
|
background-image: linear-gradient(to top, rgb(34, 34, 34, 0.8), rgba(34, 34, 34, 0));
|
|
2614
2614
|
`, Ko = y.div`
|
|
@@ -2622,16 +2622,16 @@ const Yn = 300, Un = ({
|
|
|
2622
2622
|
cursor: ${(e) => e.isDraggable === "true" ? e.scrolling === "true" ? "grabbing" : "grab" : "auto"};
|
|
2623
2623
|
`, Yo = y.img`
|
|
2624
2624
|
cursor: pointer;
|
|
2625
|
-
`, Uo = Vo,
|
|
2625
|
+
`, Uo = Vo, qo = V(
|
|
2626
2626
|
(l, a) => {
|
|
2627
2627
|
var u = l, { className: e, children: t, trigger: n, onOverlayClick: o = () => {
|
|
2628
2628
|
}, close: r = !1 } = u, i = S(u, ["className", "children", "trigger", "onOverlayClick", "close"]);
|
|
2629
|
-
const [c, m] = ot(), [p, d] = nt(!0), h = R(), C = R(ee()), E =
|
|
2629
|
+
const [c, m] = ot(), [p, d] = nt(!0), h = R(), C = R(ee()), E = X("Escape");
|
|
2630
2630
|
w(() => {
|
|
2631
2631
|
(E || r) && m(!1);
|
|
2632
2632
|
}, [E, r]), w(() => {
|
|
2633
2633
|
c && h.current && h.current.focus();
|
|
2634
|
-
}, [c, h.current]),
|
|
2634
|
+
}, [c, h.current]), me("router:changed", () => {
|
|
2635
2635
|
m(!1);
|
|
2636
2636
|
});
|
|
2637
2637
|
const b = T(
|
|
@@ -2645,7 +2645,7 @@ const Yn = 300, Un = ({
|
|
|
2645
2645
|
m(!1);
|
|
2646
2646
|
}
|
|
2647
2647
|
}));
|
|
2648
|
-
const v = T(() =>
|
|
2648
|
+
const v = T(() => ke(C.current, () => {
|
|
2649
2649
|
m(!1);
|
|
2650
2650
|
}), [C.current]);
|
|
2651
2651
|
return /* @__PURE__ */ s.createElement(s.Fragment, null, /* @__PURE__ */ s.createElement(at, { visible: c, onClick: b }, /* @__PURE__ */ s.createElement(
|
|
@@ -2662,7 +2662,7 @@ const Yn = 300, Un = ({
|
|
|
2662
2662
|
ref: d
|
|
2663
2663
|
}),
|
|
2664
2664
|
/* @__PURE__ */ s.createElement(
|
|
2665
|
-
|
|
2665
|
+
Me,
|
|
2666
2666
|
{
|
|
2667
2667
|
onClick: () => m(!1),
|
|
2668
2668
|
tabIndex: 0,
|
|
@@ -2677,7 +2677,7 @@ const Yn = 300, Un = ({
|
|
|
2677
2677
|
}
|
|
2678
2678
|
}));
|
|
2679
2679
|
}
|
|
2680
|
-
),
|
|
2680
|
+
), Xo = qo, Qo = y.div`
|
|
2681
2681
|
font-family: ${(e) => {
|
|
2682
2682
|
var t;
|
|
2683
2683
|
return (t = e.theme.fonts) == null ? void 0 : t.type;
|
|
@@ -2715,8 +2715,8 @@ const Yn = 300, Un = ({
|
|
|
2715
2715
|
var p;
|
|
2716
2716
|
i(), (p = u == null ? void 0 : u.current) == null || p.close();
|
|
2717
2717
|
}, [i]);
|
|
2718
|
-
return /* @__PURE__ */ s.createElement(Jo, { className: e, trigger: t, ref: u, onOverlayClick: c }, n && /* @__PURE__ */ s.createElement(
|
|
2719
|
-
}, Cs = Go, Jo = y(
|
|
2718
|
+
return /* @__PURE__ */ s.createElement(Jo, { className: e, trigger: t, ref: u, onOverlayClick: c }, n && /* @__PURE__ */ s.createElement(je, null, n), o && /* @__PURE__ */ s.createElement(je, null, o), l && /* @__PURE__ */ s.createElement(er, { onClick: m }, l), a && /* @__PURE__ */ s.createElement(tr, { onClick: c }, a));
|
|
2719
|
+
}, Cs = Go, Jo = y(Xo)`
|
|
2720
2720
|
display: block;
|
|
2721
2721
|
|
|
2722
2722
|
span {
|
|
@@ -2734,7 +2734,7 @@ const Yn = 300, Un = ({
|
|
|
2734
2734
|
}};
|
|
2735
2735
|
}
|
|
2736
2736
|
}
|
|
2737
|
-
`, er = y(
|
|
2737
|
+
`, er = y(de)`
|
|
2738
2738
|
display: inline-block;
|
|
2739
2739
|
min-width: 50px;
|
|
2740
2740
|
${(e) => {
|
|
@@ -2762,9 +2762,9 @@ const Yn = 300, Un = ({
|
|
|
2762
2762
|
}
|
|
2763
2763
|
|
|
2764
2764
|
&:focus-visible {
|
|
2765
|
-
${
|
|
2765
|
+
${F}
|
|
2766
2766
|
}
|
|
2767
|
-
`, tr = y(
|
|
2767
|
+
`, tr = y(de)`
|
|
2768
2768
|
display: inline-block;
|
|
2769
2769
|
min-width: 50px;
|
|
2770
2770
|
${(e) => {
|
|
@@ -2783,7 +2783,7 @@ const Yn = 300, Un = ({
|
|
|
2783
2783
|
}};
|
|
2784
2784
|
|
|
2785
2785
|
&:focus-visible {
|
|
2786
|
-
${
|
|
2786
|
+
${F};
|
|
2787
2787
|
}
|
|
2788
2788
|
`, nr = ({
|
|
2789
2789
|
header: e = "",
|
|
@@ -2794,7 +2794,7 @@ const Yn = 300, Un = ({
|
|
|
2794
2794
|
display: flex;
|
|
2795
2795
|
flex-wrap: wrap;
|
|
2796
2796
|
`, rr = y.div`
|
|
2797
|
-
${(e) =>
|
|
2797
|
+
${(e) => le(e)(
|
|
2798
2798
|
"h2",
|
|
2799
2799
|
L`
|
|
2800
2800
|
padding: 0;
|
|
@@ -2811,7 +2811,7 @@ const Yn = 300, Un = ({
|
|
|
2811
2811
|
|
|
2812
2812
|
${(e) => {
|
|
2813
2813
|
var t;
|
|
2814
|
-
return
|
|
2814
|
+
return le(e)(
|
|
2815
2815
|
"h3",
|
|
2816
2816
|
L`
|
|
2817
2817
|
text-transform: uppercase;
|
|
@@ -2883,13 +2883,13 @@ class ar extends kt {
|
|
|
2883
2883
|
const bs = ar, cr = V(
|
|
2884
2884
|
(a, i) => {
|
|
2885
2885
|
var l = a, { className: e, description: t, text: n, children: o } = l, r = S(l, ["className", "description", "text", "children"]);
|
|
2886
|
-
return /* @__PURE__ */ s.createElement(
|
|
2886
|
+
return /* @__PURE__ */ s.createElement(Se, k(f({ className: M(e, "humany-text-link") }, r), { ref: i }), o, /* @__PURE__ */ s.createElement(Le, null, n), t ? /* @__PURE__ */ s.createElement(it, { html: t, className: "humany-description" }) : null);
|
|
2887
2887
|
}
|
|
2888
2888
|
);
|
|
2889
2889
|
var lr = /* @__PURE__ */ ((e) => (e.HH_MM = "hh:mm", e.YYYY_MM_DD = "yyyy-mm-dd", e.YYYY_MM_DD_HH_MM = "yyyy-mm-dd hh:mm", e))(lr || {});
|
|
2890
|
-
const ur = ({ className: e = "", format: t = "hh:mm", timestamp: n }) => /* @__PURE__ */ s.createElement("span", { className: M(e, "humany-timestamp") }, dr(n, t)), vs = ur,
|
|
2890
|
+
const ur = ({ className: e = "", format: t = "hh:mm", timestamp: n }) => /* @__PURE__ */ s.createElement("span", { className: M(e, "humany-timestamp") }, dr(n, t)), vs = ur, Ae = (e) => `0${e}`.slice(-2);
|
|
2891
2891
|
function dr(e, t) {
|
|
2892
|
-
const n = new Date(e), o = n.toTimeString().split(" ")[0].split(":"), r = o.length > 1 ? `${o[0]}:${o[1]}` : o[0], i = n.getFullYear(), a = n.getMonth() + 1, l = n.getDate(), u = `${i}-${
|
|
2892
|
+
const n = new Date(e), o = n.toTimeString().split(" ")[0].split(":"), r = o.length > 1 ? `${o[0]}:${o[1]}` : o[0], i = n.getFullYear(), a = n.getMonth() + 1, l = n.getDate(), u = `${i}-${Ae(a)}-${Ae(l)}`;
|
|
2893
2893
|
return t === "yyyy-mm-dd" ? u : t === "hh:mm" ? r : `${u} ${r}`;
|
|
2894
2894
|
}
|
|
2895
2895
|
const mr = (i) => {
|
|
@@ -3030,7 +3030,7 @@ const mr = (i) => {
|
|
|
3030
3030
|
(l, a) => {
|
|
3031
3031
|
var u = l, { className: e, children: t, onClick: n = () => {
|
|
3032
3032
|
}, widgetName: o, activationOptions: r } = u, i = S(u, ["className", "children", "onClick", "widgetName", "activationOptions"]);
|
|
3033
|
-
const c =
|
|
3033
|
+
const c = I(), m = () => {
|
|
3034
3034
|
const { implementation: h } = c.get("$widget");
|
|
3035
3035
|
return h.widgets.get(o);
|
|
3036
3036
|
};
|
|
@@ -3045,7 +3045,7 @@ const mr = (i) => {
|
|
|
3045
3045
|
if (C) {
|
|
3046
3046
|
const b = () => {
|
|
3047
3047
|
C.invoke("renderState").then(
|
|
3048
|
-
(v) => v ===
|
|
3048
|
+
(v) => v === ae.open ? C.invoke("close") : C.invoke("open")
|
|
3049
3049
|
).then(() => {
|
|
3050
3050
|
C.events.subscribeOnce("widget:area-rendered", (v, g) => {
|
|
3051
3051
|
c.get(
|
|
@@ -3063,7 +3063,7 @@ const mr = (i) => {
|
|
|
3063
3063
|
h.key === "Enter" && (h.preventDefault(), p(h));
|
|
3064
3064
|
};
|
|
3065
3065
|
return /* @__PURE__ */ s.createElement(
|
|
3066
|
-
|
|
3066
|
+
Se,
|
|
3067
3067
|
k(f({
|
|
3068
3068
|
className: M(e, "humany-widget-link"),
|
|
3069
3069
|
onKeyDown: d,
|
|
@@ -3078,7 +3078,7 @@ const mr = (i) => {
|
|
|
3078
3078
|
}
|
|
3079
3079
|
), $s = V(
|
|
3080
3080
|
({ portalId: e = "humany-widget-overlay-portal", className: t, children: n }, o) => {
|
|
3081
|
-
const r =
|
|
3081
|
+
const r = I(), i = ce(() => {
|
|
3082
3082
|
if (!r)
|
|
3083
3083
|
return null;
|
|
3084
3084
|
const a = r.get("widgetDOMElement");
|
|
@@ -3107,7 +3107,7 @@ const mr = (i) => {
|
|
|
3107
3107
|
t,
|
|
3108
3108
|
Lt(() => n)
|
|
3109
3109
|
), Ye(e, t, o || (() => {
|
|
3110
|
-
}), t, r))), xs = yr, br = (e, t, n, o, r) =>
|
|
3110
|
+
}), t, r))), xs = yr, br = (e, t, n, o, r) => ie(void 0, null, function* () {
|
|
3111
3111
|
const i = yield e.getAsync("componentResolver");
|
|
3112
3112
|
return console.log("registering component", t, n), i.registerComponent(t, () => n), yield Ye(e, t, o || (() => {
|
|
3113
3113
|
}), t, r);
|
|
@@ -3118,7 +3118,7 @@ var vr = Object.defineProperty, wr = Object.getOwnPropertyDescriptor, ut = (e, t
|
|
|
3118
3118
|
return o && r && vr(t, n, r), r;
|
|
3119
3119
|
};
|
|
3120
3120
|
const Er = (e) => ["h1", "h2", "h3", "h4", "h5", "h6"].includes(e);
|
|
3121
|
-
let
|
|
3121
|
+
let ue = class extends Tt {
|
|
3122
3122
|
constructor() {
|
|
3123
3123
|
super(...arguments), this.variant = "span";
|
|
3124
3124
|
}
|
|
@@ -3127,16 +3127,16 @@ let le = class extends Tt {
|
|
|
3127
3127
|
return t ? t.trim() : e;
|
|
3128
3128
|
}
|
|
3129
3129
|
render() {
|
|
3130
|
-
const e = Er(this.variant) ? this._getTag(this.variant) : this.variant, t =
|
|
3131
|
-
return
|
|
3130
|
+
const e = Er(this.variant) ? this._getTag(this.variant) : this.variant, t = _t(e);
|
|
3131
|
+
return Ht`
|
|
3132
3132
|
<${t}>
|
|
3133
3133
|
<slot />
|
|
3134
3134
|
</${t}>
|
|
3135
3135
|
`;
|
|
3136
3136
|
}
|
|
3137
3137
|
};
|
|
3138
|
-
|
|
3139
|
-
|
|
3138
|
+
ue.styles = [
|
|
3139
|
+
qe`
|
|
3140
3140
|
h1,
|
|
3141
3141
|
h2,
|
|
3142
3142
|
h3,
|
|
@@ -3154,11 +3154,11 @@ le.styles = [
|
|
|
3154
3154
|
`
|
|
3155
3155
|
];
|
|
3156
3156
|
ut([
|
|
3157
|
-
|
|
3158
|
-
],
|
|
3159
|
-
|
|
3160
|
-
|
|
3161
|
-
],
|
|
3157
|
+
q({ type: String })
|
|
3158
|
+
], ue.prototype, "variant", 2);
|
|
3159
|
+
ue = ut([
|
|
3160
|
+
zt("ui-typography")
|
|
3161
|
+
], ue);
|
|
3162
3162
|
class Ls {
|
|
3163
3163
|
constructor(t) {
|
|
3164
3164
|
(this.host = t).addController(this);
|
|
@@ -3174,7 +3174,38 @@ class Ls {
|
|
|
3174
3174
|
this.host.removeEventListener("set-properties", this.propertyChangeHandler);
|
|
3175
3175
|
}
|
|
3176
3176
|
}
|
|
3177
|
-
|
|
3177
|
+
class Ms {
|
|
3178
|
+
constructor(t) {
|
|
3179
|
+
this.nodeId = "", this._host = t;
|
|
3180
|
+
}
|
|
3181
|
+
initialize() {
|
|
3182
|
+
return ie(this, null, function* () {
|
|
3183
|
+
if (this.nodeId = this._host.getAttribute("nodeId"), !this.nodeId) {
|
|
3184
|
+
console.warn("Could not get node id in DataProvider.");
|
|
3185
|
+
return;
|
|
3186
|
+
}
|
|
3187
|
+
if (this.container = this._requestInstance("container"), !this.container) {
|
|
3188
|
+
console.warn("Could not get data in DataProvider. Container was not defined.");
|
|
3189
|
+
return;
|
|
3190
|
+
}
|
|
3191
|
+
const t = yield Ee.getInstance(this.container);
|
|
3192
|
+
if (this.node = t.nodes.get(this.nodeId), !this.node) {
|
|
3193
|
+
console.warn(`Could not get component node with ID: ${this.nodeId}.`);
|
|
3194
|
+
return;
|
|
3195
|
+
}
|
|
3196
|
+
});
|
|
3197
|
+
}
|
|
3198
|
+
_requestInstance(t) {
|
|
3199
|
+
const n = new CustomEvent("request-instance", {
|
|
3200
|
+
detail: { key: t },
|
|
3201
|
+
bubbles: !0,
|
|
3202
|
+
composed: !0,
|
|
3203
|
+
cancelable: !0
|
|
3204
|
+
});
|
|
3205
|
+
return this._host.dispatchEvent(n), n.detail.instance;
|
|
3206
|
+
}
|
|
3207
|
+
}
|
|
3208
|
+
const ve = "context.connectEvent", Ss = Qe(
|
|
3178
3209
|
(e) => {
|
|
3179
3210
|
class t extends e {
|
|
3180
3211
|
constructor() {
|
|
@@ -3263,10 +3294,10 @@ var xr = Object.defineProperty, kr = Object.getOwnPropertyDescriptor, Fe = (e, t
|
|
|
3263
3294
|
(a = e[i]) && (r = (o ? a(t, n, r) : a(r)) || r);
|
|
3264
3295
|
return o && r && xr(t, n, r), r;
|
|
3265
3296
|
};
|
|
3266
|
-
const
|
|
3297
|
+
const Rs = (e) => {
|
|
3267
3298
|
class t extends e {
|
|
3268
3299
|
constructor(...o) {
|
|
3269
|
-
super(), this.hasPendingChildren = !1, this.pendingCount = 0, this.addEventListener("pending-state", (r) =>
|
|
3300
|
+
super(), this.hasPendingChildren = !1, this.pendingCount = 0, this.addEventListener("pending-state", (r) => ie(this, null, function* () {
|
|
3270
3301
|
this.hasPendingChildren = !0, this.pendingCount++, yield r.detail.promise, this.pendingCount--, this.hasPendingChildren = this.pendingCount !== 0;
|
|
3271
3302
|
}));
|
|
3272
3303
|
}
|
|
@@ -3276,7 +3307,7 @@ const Ss = (e) => {
|
|
|
3276
3307
|
], t.prototype, "hasPendingChildren", 2), Fe([
|
|
3277
3308
|
Y()
|
|
3278
3309
|
], t.prototype, "pendingCount", 2), t;
|
|
3279
|
-
},
|
|
3310
|
+
}, Ts = (e) => {
|
|
3280
3311
|
class t extends e {
|
|
3281
3312
|
constructor(...o) {
|
|
3282
3313
|
super(), this._instances = /* @__PURE__ */ new Map(), this.addEventListener("request-instance", (r) => {
|
|
@@ -3303,16 +3334,16 @@ const Ss = (e) => {
|
|
|
3303
3334
|
}
|
|
3304
3335
|
return t;
|
|
3305
3336
|
}, Mr = (e) => {
|
|
3306
|
-
var n, o, r, i, a, l, u, c, m, p, d, h, C, E, b, v, g,
|
|
3337
|
+
var n, o, r, i, a, l, u, c, m, p, d, h, C, E, b, v, g, z, H, D, N;
|
|
3307
3338
|
const t = {};
|
|
3308
|
-
return e.cardinal && (t["--cardinal"] = `${e.cardinal}px`), e.gap && (t["--gap"] = `${e.gap}`), (n = e.fonts) != null && n.type && (t["--fonts-type"] = `${e.fonts.type}`), (o = e.fonts) != null && o.small && (t["--fonts-small"] = `${e.fonts.small}`), (r = e.fonts) != null && r.normal && (t["--fonts-normal"] = `${e.fonts.small}`), (i = e.fonts) != null && i.medium && (t["--fonts-medium"] = `${e.fonts.medium}`), (a = e.fonts) != null && a.large && (t["--fonts-large"] = `${e.fonts.large}`), (l = e.fonts) != null && l.huge && (t["--fonts-huge"] = `${e.fonts.huge}`), (u = e.colors) != null && u.accent && (t["--colors-accent"] = `${e.colors.accent}`), (c = e.colors) != null && c.link && (t["--colors-link"] = `${e.colors.link}`), (m = e.colors) != null && m.primary && (t["--colors-primary"] = `${e.colors.primary}`), (p = e.colors) != null && p.text && (t["--colors-text"] = `${e.colors.text}`), (d = e.colors) != null && d.textLight && (t["--colors-textLight"] = `${e.colors.textLight}`), (h = e.colors) != null && h.warning && (t["--colors-warning"] = `${e.colors.warning}`), (C = e.accessibility) != null && C.border && (t["--accessibility-border"] = `${e.accessibility.border}`), (b = (E = e.accessibility) == null ? void 0 : E.colors) != null && b.inactiveText && (t["--accessibility-colors-inactiveText"] = `${e.accessibility.colors.inactiveText}`), (g = (v = e.accessibility) == null ? void 0 : v.colors) != null && g.activeText && (t["--accessibility-colors-activeText"] = `${e.accessibility.colors.activeText}`), e.inputBorder && (t["--inputBorder"] = `${e.inputBorder}`), e.borderRadius && (t["--borderRadius"] = `${e.borderRadius}`), e.boxShadow && (t["--boxShadow"] = `${e.boxShadow}`), e.border && (t["--border"] = `${e.border}`), (
|
|
3339
|
+
return e.cardinal && (t["--cardinal"] = `${e.cardinal}px`), e.gap && (t["--gap"] = `${e.gap}`), (n = e.fonts) != null && n.type && (t["--fonts-type"] = `${e.fonts.type}`), (o = e.fonts) != null && o.small && (t["--fonts-small"] = `${e.fonts.small}`), (r = e.fonts) != null && r.normal && (t["--fonts-normal"] = `${e.fonts.small}`), (i = e.fonts) != null && i.medium && (t["--fonts-medium"] = `${e.fonts.medium}`), (a = e.fonts) != null && a.large && (t["--fonts-large"] = `${e.fonts.large}`), (l = e.fonts) != null && l.huge && (t["--fonts-huge"] = `${e.fonts.huge}`), (u = e.colors) != null && u.accent && (t["--colors-accent"] = `${e.colors.accent}`), (c = e.colors) != null && c.link && (t["--colors-link"] = `${e.colors.link}`), (m = e.colors) != null && m.primary && (t["--colors-primary"] = `${e.colors.primary}`), (p = e.colors) != null && p.text && (t["--colors-text"] = `${e.colors.text}`), (d = e.colors) != null && d.textLight && (t["--colors-textLight"] = `${e.colors.textLight}`), (h = e.colors) != null && h.warning && (t["--colors-warning"] = `${e.colors.warning}`), (C = e.accessibility) != null && C.border && (t["--accessibility-border"] = `${e.accessibility.border}`), (b = (E = e.accessibility) == null ? void 0 : E.colors) != null && b.inactiveText && (t["--accessibility-colors-inactiveText"] = `${e.accessibility.colors.inactiveText}`), (g = (v = e.accessibility) == null ? void 0 : v.colors) != null && g.activeText && (t["--accessibility-colors-activeText"] = `${e.accessibility.colors.activeText}`), e.inputBorder && (t["--inputBorder"] = `${e.inputBorder}`), e.borderRadius && (t["--borderRadius"] = `${e.borderRadius}`), e.boxShadow && (t["--boxShadow"] = `${e.boxShadow}`), e.border && (t["--border"] = `${e.border}`), (z = e.sizes) != null && z.small && (t["--size-small"] = `${e.sizes.small}`), (H = e.sizes) != null && H.normal && (t["--size-normal"] = `${e.sizes.normal}`), (D = e.sizes) != null && D.medium && (t["--size-medium"] = `${e.sizes.medium}`), (N = e.sizes) != null && N.large && (t["--size-large"] = `${e.sizes.large}`), e.typographyVariantMapping && (e.typographyVariantMapping.h1 && (t["--typography-h1"] = `${e.typographyVariantMapping.h1}`), e.typographyVariantMapping.h2 && (t["--typography-h2"] = `${e.typographyVariantMapping.h2}`), e.typographyVariantMapping.h3 && (t["--typography-h3"] = `${e.typographyVariantMapping.h3}`), e.typographyVariantMapping.h4 && (t["--typography-h4"] = `${e.typographyVariantMapping.h4}`), e.typographyVariantMapping.h5 && (t["--typography-h5"] = `${e.typographyVariantMapping.h5}`), e.typographyVariantMapping.h6 && (t["--typography-h6"] = `${e.typographyVariantMapping.h6}`)), t;
|
|
3309
3340
|
};
|
|
3310
3341
|
var Sr = Object.defineProperty, Rr = Object.getOwnPropertyDescriptor, P = (e, t, n, o) => {
|
|
3311
3342
|
for (var r = o > 1 ? void 0 : o ? Rr(t, n) : t, i = e.length - 1, a; i >= 0; i--)
|
|
3312
3343
|
(a = e[i]) && (r = (o ? a(t, n, r) : a(r)) || r);
|
|
3313
3344
|
return o && r && Sr(t, n, r), r;
|
|
3314
3345
|
};
|
|
3315
|
-
const Tr = (e) => `w-${e}`,
|
|
3346
|
+
const Tr = (e) => `w-${e}`, Ds = (e) => {
|
|
3316
3347
|
class t extends $r(Lr(e)) {
|
|
3317
3348
|
constructor() {
|
|
3318
3349
|
super(), this.listeners = [], this.setColumns = (o) => {
|
|
@@ -3334,7 +3365,7 @@ const Tr = (e) => `w-${e}`, Ts = (e) => {
|
|
|
3334
3365
|
}
|
|
3335
3366
|
connectedCallback() {
|
|
3336
3367
|
super.connectedCallback(), this.container = this.requestInstance("container"), this.container && Promise.all([
|
|
3337
|
-
|
|
3368
|
+
Ee.getInstance(this.container),
|
|
3338
3369
|
this.container.getAsync("componentResolver")
|
|
3339
3370
|
]).then((o) => {
|
|
3340
3371
|
const r = o[0], i = o[1], a = r.nodes.get(this.nodeId || "");
|
|
@@ -3394,38 +3425,38 @@ const Tr = (e) => `w-${e}`, Ts = (e) => {
|
|
|
3394
3425
|
return this._context ? Mr(this._context) : {};
|
|
3395
3426
|
}
|
|
3396
3427
|
render() {
|
|
3397
|
-
const o = super.render(), r = this._getContextStyles(), i =
|
|
3398
|
-
|
|
3399
|
-
|
|
3400
|
-
|
|
3401
|
-
|
|
3402
|
-
|
|
3403
|
-
|
|
3404
|
-
|
|
3405
|
-
|
|
3406
|
-
return
|
|
3407
|
-
|
|
3408
|
-
|
|
3409
|
-
|
|
3410
|
-
|
|
3411
|
-
|
|
3412
|
-
|
|
3413
|
-
|
|
3428
|
+
const o = super.render(), r = this._getContextStyles(), i = Ne`
|
|
3429
|
+
<style>
|
|
3430
|
+
:host {
|
|
3431
|
+
${Object.entries(r).map(([a, l]) => qe`
|
|
3432
|
+
${Dt(`${a}: ${l};`)}
|
|
3433
|
+
`)}
|
|
3434
|
+
}
|
|
3435
|
+
</style>
|
|
3436
|
+
`;
|
|
3437
|
+
return Ne`
|
|
3438
|
+
<style>
|
|
3439
|
+
:host {
|
|
3440
|
+
--size: ${this._layout.size || "full"};
|
|
3441
|
+
--width: ${(this._layout.size || "full") === "full" ? "var(--columns)" : `min(var(--columns), ${this._layout.size})`};
|
|
3442
|
+
grid-column: span var(--width);
|
|
3443
|
+
}
|
|
3444
|
+
</style>
|
|
3414
3445
|
|
|
3415
|
-
|
|
3416
|
-
|
|
3446
|
+
${i} ${o}
|
|
3447
|
+
`;
|
|
3417
3448
|
}
|
|
3418
3449
|
}
|
|
3419
3450
|
return P([
|
|
3420
|
-
|
|
3451
|
+
q({ type: String })
|
|
3421
3452
|
], t.prototype, "nodeId", 2), P([
|
|
3422
|
-
|
|
3453
|
+
q({ type: String })
|
|
3423
3454
|
], t.prototype, "branch", 2), P([
|
|
3424
|
-
|
|
3455
|
+
q({ type: String })
|
|
3425
3456
|
], t.prototype, "width", 2), P([
|
|
3426
|
-
|
|
3457
|
+
q({ type: Number })
|
|
3427
3458
|
], t.prototype, "_columns", 2), P([
|
|
3428
|
-
|
|
3459
|
+
q({ type: Number })
|
|
3429
3460
|
], t.prototype, "columns", 2), P([
|
|
3430
3461
|
Y()
|
|
3431
3462
|
], t.prototype, "_width", 2), P([
|
|
@@ -3440,15 +3471,16 @@ const Tr = (e) => `w-${e}`, Ts = (e) => {
|
|
|
3440
3471
|
};
|
|
3441
3472
|
export {
|
|
3442
3473
|
Jt as AnchorLink,
|
|
3443
|
-
|
|
3474
|
+
de as Button,
|
|
3444
3475
|
Ur as Checkbox,
|
|
3445
3476
|
on as ColumnContext,
|
|
3446
3477
|
Je as ComponentNodeContext,
|
|
3447
3478
|
rn as ComponentPropertyContext,
|
|
3448
3479
|
Cs as Confirm,
|
|
3449
|
-
|
|
3480
|
+
Ss as ConsumerMixin,
|
|
3450
3481
|
nn as ContainerContext,
|
|
3451
3482
|
an as ConversationContext,
|
|
3483
|
+
Ms as DataProvider,
|
|
3452
3484
|
lr as DateFormats,
|
|
3453
3485
|
ms as Drawer,
|
|
3454
3486
|
Kn as DrawerAnimationType,
|
|
@@ -3461,63 +3493,63 @@ export {
|
|
|
3461
3493
|
ho as ItemList,
|
|
3462
3494
|
gs as ItemTree,
|
|
3463
3495
|
Uo as Lightbox,
|
|
3464
|
-
|
|
3496
|
+
Se as Link,
|
|
3465
3497
|
uo as List,
|
|
3466
|
-
|
|
3498
|
+
Xo as Modal,
|
|
3467
3499
|
Ls as NodeConnector,
|
|
3468
3500
|
ys as NotFound,
|
|
3469
3501
|
at as Overlay,
|
|
3470
3502
|
mo as Paragraph,
|
|
3471
|
-
|
|
3503
|
+
Rs as PendingState,
|
|
3472
3504
|
te as Portal,
|
|
3473
|
-
|
|
3505
|
+
Ts as ProviderMixin,
|
|
3474
3506
|
Lr as Requester,
|
|
3475
3507
|
fo as RouteLink,
|
|
3476
3508
|
sn as RoutingContext,
|
|
3477
|
-
|
|
3509
|
+
je as StyledText,
|
|
3478
3510
|
ne as SymbolBadge,
|
|
3479
3511
|
bs as TabStop,
|
|
3480
|
-
|
|
3512
|
+
Le as Text,
|
|
3481
3513
|
cr as TextLink,
|
|
3482
3514
|
vs as Timestamp,
|
|
3483
3515
|
ws as Tooltip,
|
|
3484
3516
|
Es as TransitionComponent,
|
|
3485
3517
|
J as Typography,
|
|
3486
|
-
|
|
3487
|
-
|
|
3518
|
+
ue as TypographyUi,
|
|
3519
|
+
Ds as WidgetComponentMixin,
|
|
3488
3520
|
gr as WidgetLink,
|
|
3489
3521
|
$s as WidgetOverlayOutlet,
|
|
3490
|
-
|
|
3491
|
-
|
|
3492
|
-
|
|
3522
|
+
F as borderTabStyle,
|
|
3523
|
+
Ze as browser,
|
|
3524
|
+
In as buttonCss,
|
|
3493
3525
|
rt as contentBox,
|
|
3494
3526
|
B as convertToStringAttributes,
|
|
3495
3527
|
Yr as createEmptyComponent,
|
|
3496
3528
|
xs as createReactComponent,
|
|
3497
3529
|
ks as createWebComponent,
|
|
3498
3530
|
Qt as defaultRenderInstructions,
|
|
3499
|
-
|
|
3531
|
+
Ft as embeddedLinkMapper,
|
|
3500
3532
|
Yt as filterCssProps,
|
|
3501
3533
|
Kt as filterCssPropsStyle,
|
|
3502
3534
|
Ut as genericHashLink,
|
|
3503
3535
|
ds as genericHtml,
|
|
3504
|
-
|
|
3505
|
-
|
|
3536
|
+
le as headingElement,
|
|
3537
|
+
Xt as imageLightboxRenderer,
|
|
3506
3538
|
cs as invertedHoverButton,
|
|
3507
3539
|
us as itemList,
|
|
3508
3540
|
Pn as linkTabStyle,
|
|
3509
|
-
|
|
3541
|
+
Nn as list,
|
|
3510
3542
|
ls as paddedBorderTabStyle,
|
|
3511
|
-
|
|
3543
|
+
qt as processHtmlString,
|
|
3512
3544
|
Ce as transitionComposer,
|
|
3513
|
-
|
|
3514
|
-
|
|
3545
|
+
qr as useAction,
|
|
3546
|
+
Xr as useChildren,
|
|
3515
3547
|
Qr as useColumns,
|
|
3516
3548
|
Gr as useComponent,
|
|
3517
|
-
|
|
3518
|
-
|
|
3549
|
+
$e as useComponentDescriptor,
|
|
3550
|
+
xe as useComponentNode,
|
|
3519
3551
|
G as useComponentPlatform,
|
|
3520
|
-
|
|
3552
|
+
I as useContainer,
|
|
3521
3553
|
yn as useContext,
|
|
3522
3554
|
Jr as useConversation,
|
|
3523
3555
|
es as useDispatch,
|
|
@@ -3525,7 +3557,7 @@ export {
|
|
|
3525
3557
|
En as useEvents,
|
|
3526
3558
|
Z as useIsMounted,
|
|
3527
3559
|
ts as useIsTabbing,
|
|
3528
|
-
|
|
3560
|
+
X as useKeyPress,
|
|
3529
3561
|
ns as useLayout,
|
|
3530
3562
|
et as usePrevious,
|
|
3531
3563
|
os as useProperties,
|
|
@@ -3536,7 +3568,7 @@ export {
|
|
|
3536
3568
|
is as useSettings,
|
|
3537
3569
|
ot as useToggle,
|
|
3538
3570
|
as as useTransitionEnd,
|
|
3539
|
-
|
|
3540
|
-
|
|
3571
|
+
ke as useUniqueMenu,
|
|
3572
|
+
me as useWidgetEvent
|
|
3541
3573
|
};
|
|
3542
3574
|
//# sourceMappingURL=index.js.map
|