@telia-ace/widget-ui 1.0.23-next.3 → 1.0.23-next.5
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/components/lightbox.d.ts +1 -0
- package/dist/components/overlay.d.ts +1 -0
- package/dist/contexts/index.d.ts +3 -0
- package/dist/hooks/index.d.ts +1 -0
- package/dist/hooks/use-conversation.d.ts +4 -0
- package/dist/index.d.ts +3 -3
- package/dist/index.js +232 -230
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -21,8 +21,8 @@ var S = (e, t) => {
|
|
|
21
21
|
};
|
|
22
22
|
var re = (e, t, n) => (me(e, typeof t != "symbol" ? t + "" : t, n), n);
|
|
23
23
|
import C, { css as L, keyframes as We } from "styled-components";
|
|
24
|
-
import { kebabCase as mt, appendClassNames as M, uuid as
|
|
25
|
-
import r, { forwardRef as N, createContext as
|
|
24
|
+
import { kebabCase as mt, appendClassNames as M, uuid as Q, removeNullAndUndefinedValues as De, Logger as de } from "@telia-ace/widget-utilities";
|
|
25
|
+
import r, { forwardRef as N, createContext as _, useContext as Y, useState as k, useEffect as w, useRef as R, useCallback as H, useImperativeHandle as Ce, useMemo as ie, Component as dt, lazy as ft } from "react";
|
|
26
26
|
import { CSSTransition as Ie, Transition as ht } from "react-transition-group";
|
|
27
27
|
import { Container as pt, WidgetState as gt } from "@webprovisions/platform";
|
|
28
28
|
import { ComponentPlatform as Ct, asDescriptor as yt, createEventSubscriber as bt, ComponentQuery as vt, WidgetRenderState as oe, extendComponent as wt } from "@telia-ace/widget-core";
|
|
@@ -141,7 +141,7 @@ const Ne = () => {
|
|
|
141
141
|
} else
|
|
142
142
|
t[n] = o;
|
|
143
143
|
return t;
|
|
144
|
-
}, {}),
|
|
144
|
+
}, {}), p1 = (e, t) => e.get("seoConfiguration") ? /* @__PURE__ */ r.createElement(an, h({}, t)) : null, St = (e) => new RegExp("^#", "i").test(e), Rt = (e) => (o) => {
|
|
145
145
|
var i = o, { children: t } = i, n = S(i, ["children"]);
|
|
146
146
|
const {
|
|
147
147
|
implementation: s,
|
|
@@ -156,7 +156,7 @@ const Ne = () => {
|
|
|
156
156
|
if (m && m.length >= 4) {
|
|
157
157
|
const p = m[4];
|
|
158
158
|
if (s.widgets.get(p) && !p.startsWith("blob?") && !p.startsWith(a))
|
|
159
|
-
return /* @__PURE__ */ r.createElement(
|
|
159
|
+
return /* @__PURE__ */ r.createElement(n1, {
|
|
160
160
|
widgetName: p
|
|
161
161
|
}, t);
|
|
162
162
|
}
|
|
@@ -208,7 +208,7 @@ const Ne = () => {
|
|
|
208
208
|
function Dt(e, t) {
|
|
209
209
|
return t ? Be(e, t) : Be(e);
|
|
210
210
|
}
|
|
211
|
-
const Bt = (e) => (t) => /* @__PURE__ */ r.createElement(
|
|
211
|
+
const Bt = (e) => (t) => /* @__PURE__ */ r.createElement(Rn, {
|
|
212
212
|
attrs: t,
|
|
213
213
|
htmlBody: e
|
|
214
214
|
}), Tt = (e, t) => ({
|
|
@@ -237,7 +237,7 @@ const Bt = (e) => (t) => /* @__PURE__ */ r.createElement(Sn, {
|
|
|
237
237
|
line-height: normal;
|
|
238
238
|
margin: 0;
|
|
239
239
|
padding: 0;
|
|
240
|
-
`,
|
|
240
|
+
`, g1 = (i) => {
|
|
241
241
|
var s = i, {
|
|
242
242
|
onChange: e = () => {
|
|
243
243
|
},
|
|
@@ -256,12 +256,12 @@ const Bt = (e) => (t) => /* @__PURE__ */ r.createElement(Sn, {
|
|
|
256
256
|
},
|
|
257
257
|
onChange: (a) => e(a.target.value, a.currentTarget.checked)
|
|
258
258
|
}, V(o)));
|
|
259
|
-
}, Zt =
|
|
259
|
+
}, Zt = _(new pt()), Wt = _(1), Fe = _({
|
|
260
260
|
id: "",
|
|
261
261
|
type: "",
|
|
262
262
|
name: "",
|
|
263
263
|
branch: ""
|
|
264
|
-
}), It =
|
|
264
|
+
}), It = _({}), Ot = _(null), Ft = _(null), ye = () => Y(Fe), Z = () => Y(Zt), C1 = (e, t) => {
|
|
265
265
|
const n = ye().id, o = Z();
|
|
266
266
|
return (i, s) => {
|
|
267
267
|
(t || o).getAsync("actionResolver").then((a) => {
|
|
@@ -269,7 +269,7 @@ const Bt = (e) => (t) => /* @__PURE__ */ r.createElement(Sn, {
|
|
|
269
269
|
});
|
|
270
270
|
};
|
|
271
271
|
}, be = (e) => {
|
|
272
|
-
const t =
|
|
272
|
+
const t = Y(Fe), n = U(), [o, i] = k();
|
|
273
273
|
return w(() => {
|
|
274
274
|
if ((e || t.id) && n) {
|
|
275
275
|
const s = n.nodes.get(e || t.id);
|
|
@@ -281,15 +281,15 @@ const Bt = (e) => (t) => /* @__PURE__ */ r.createElement(Sn, {
|
|
|
281
281
|
return w(() => (e.current = !0, () => {
|
|
282
282
|
e.current = !1;
|
|
283
283
|
}), []), e;
|
|
284
|
-
},
|
|
284
|
+
}, U = (e) => {
|
|
285
285
|
const t = Z(), [n, o] = k(null), i = O();
|
|
286
286
|
return w(() => {
|
|
287
287
|
Ct.getInstance(e || t).then((s) => {
|
|
288
288
|
i.current && o(s);
|
|
289
289
|
});
|
|
290
290
|
}, [i]), n;
|
|
291
|
-
},
|
|
292
|
-
const e = be(), t =
|
|
291
|
+
}, y1 = () => {
|
|
292
|
+
const e = be(), t = U(), [n, o] = k([]), i = O(), s = H(
|
|
293
293
|
(a) => {
|
|
294
294
|
if (t && i.current) {
|
|
295
295
|
const l = t.getBranch(a), u = a.getChildren(l).map((c) => yt(c));
|
|
@@ -314,7 +314,7 @@ const Bt = (e) => (t) => /* @__PURE__ */ r.createElement(Sn, {
|
|
|
314
314
|
};
|
|
315
315
|
}
|
|
316
316
|
}, [e, t, s]), n;
|
|
317
|
-
},
|
|
317
|
+
}, b1 = () => Y(Wt), v1 = (e, t) => {
|
|
318
318
|
const n = ye(), o = Z(), [i, s] = k(void 0), a = O(), l = e || n.type || "";
|
|
319
319
|
return w(() => {
|
|
320
320
|
if (l) {
|
|
@@ -332,8 +332,8 @@ const Bt = (e) => (t) => /* @__PURE__ */ r.createElement(Sn, {
|
|
|
332
332
|
};
|
|
333
333
|
}
|
|
334
334
|
}, [a, l, t, o]), i;
|
|
335
|
-
},
|
|
336
|
-
const t = be(e), n =
|
|
335
|
+
}, At = (e) => {
|
|
336
|
+
const t = be(e), n = U(), [o, i] = k({}), s = O();
|
|
337
337
|
return w(() => {
|
|
338
338
|
t && s.current && i(t.attributes.context);
|
|
339
339
|
}, [s, t]), w(() => {
|
|
@@ -349,11 +349,11 @@ const Bt = (e) => (t) => /* @__PURE__ */ r.createElement(Sn, {
|
|
|
349
349
|
};
|
|
350
350
|
}
|
|
351
351
|
}, [s, n]), o;
|
|
352
|
-
},
|
|
353
|
-
const e =
|
|
352
|
+
}, w1 = () => Y(Ft), E1 = () => {
|
|
353
|
+
const e = U(), t = ye(), [n, o] = k([]), [i, s] = k();
|
|
354
354
|
return w(() => {
|
|
355
355
|
if (e && t) {
|
|
356
|
-
const a = new vt(e).withId(t.id), l = e.actions(a, t.type ||
|
|
356
|
+
const a = new vt(e).withId(t.id), l = e.actions(a, t.type || Q());
|
|
357
357
|
s(l), n !== null && (n.forEach((u) => {
|
|
358
358
|
l.dispatch(u.key, u.data).then((c) => u.resolve(c)).catch((c) => u.reject(c));
|
|
359
359
|
}), o(null));
|
|
@@ -379,10 +379,10 @@ const Bt = (e) => (t) => /* @__PURE__ */ r.createElement(Sn, {
|
|
|
379
379
|
n.removeEventListener(e, a);
|
|
380
380
|
};
|
|
381
381
|
}, [e, n]);
|
|
382
|
-
},
|
|
382
|
+
}, Pt = (e) => {
|
|
383
383
|
const t = Z(), { events: n } = (e || t).get("$widget");
|
|
384
384
|
return n;
|
|
385
|
-
},
|
|
385
|
+
}, x1 = () => {
|
|
386
386
|
const [e, t] = k(!1);
|
|
387
387
|
return w(() => {
|
|
388
388
|
const n = () => {
|
|
@@ -394,7 +394,7 @@ const Bt = (e) => (t) => /* @__PURE__ */ r.createElement(Sn, {
|
|
|
394
394
|
window.removeEventListener("keydown", o), window.removeEventListener("click", n);
|
|
395
395
|
};
|
|
396
396
|
}, []), e;
|
|
397
|
-
},
|
|
397
|
+
}, X = (e, t) => {
|
|
398
398
|
const [n, o] = k(!1), i = H(
|
|
399
399
|
(a) => {
|
|
400
400
|
const { key: l } = a;
|
|
@@ -408,8 +408,8 @@ const Bt = (e) => (t) => /* @__PURE__ */ r.createElement(Sn, {
|
|
|
408
408
|
[o]
|
|
409
409
|
);
|
|
410
410
|
return I("keydown", i, window), I("keyup", s, window), n;
|
|
411
|
-
},
|
|
412
|
-
const t = be(e), n =
|
|
411
|
+
}, k1 = (e) => {
|
|
412
|
+
const t = be(e), n = U(), [o, i] = k({}), s = O();
|
|
413
413
|
return w(() => {
|
|
414
414
|
t && s.current && i(t.attributes.layout);
|
|
415
415
|
}, [t, s]), w(() => {
|
|
@@ -430,7 +430,7 @@ const Bt = (e) => (t) => /* @__PURE__ */ r.createElement(Sn, {
|
|
|
430
430
|
return w(() => {
|
|
431
431
|
t.current = e;
|
|
432
432
|
}), t.current;
|
|
433
|
-
},
|
|
433
|
+
}, $1 = () => Y(It), L1 = (e) => {
|
|
434
434
|
const [t, n] = k(), o = Z(), i = O();
|
|
435
435
|
return w(() => {
|
|
436
436
|
let s;
|
|
@@ -457,7 +457,7 @@ const Bt = (e) => (t) => /* @__PURE__ */ r.createElement(Sn, {
|
|
|
457
457
|
s && s();
|
|
458
458
|
};
|
|
459
459
|
}, [i]), t;
|
|
460
|
-
}, Pe = () =>
|
|
460
|
+
}, Pe = () => Y(Ot), M1 = (e) => {
|
|
461
461
|
const t = Z(), n = Pe(), [o, i] = k({ name: "", params: {} }), s = O();
|
|
462
462
|
return w(() => {
|
|
463
463
|
const a = (e || t).get("$widget");
|
|
@@ -502,8 +502,8 @@ const Bt = (e) => (t) => /* @__PURE__ */ r.createElement(Sn, {
|
|
|
502
502
|
},
|
|
503
503
|
[t, n]
|
|
504
504
|
);
|
|
505
|
-
return I("scroll", i, t.current, () => t.current && e), I("touchstart", s, t.current, () => t.current && e), I("touchmove", u, t.current, () => t.current && e), e ? [
|
|
506
|
-
},
|
|
505
|
+
return I("scroll", i, t.current, () => t.current && e), I("touchstart", s, t.current, () => t.current && e), I("touchmove", u, t.current, () => t.current && e), e ? [Kt, t] : ["", t];
|
|
506
|
+
}, Kt = `
|
|
507
507
|
overflow-y: ${Ne() === pe.Chrome || Ne() === pe.EdgeChromium ? "overlay" : "auto"};
|
|
508
508
|
overflow-x: hidden;
|
|
509
509
|
-ms-overflow-style: none; /* IE 10+ */
|
|
@@ -531,7 +531,7 @@ const Bt = (e) => (t) => /* @__PURE__ */ r.createElement(Sn, {
|
|
|
531
531
|
background-color: #7F7F7F;
|
|
532
532
|
}
|
|
533
533
|
}
|
|
534
|
-
`,
|
|
534
|
+
`, S1 = () => {
|
|
535
535
|
const [e, t] = k(null), n = Z(), o = O();
|
|
536
536
|
return w(() => {
|
|
537
537
|
n.get("settings").then((i) => {
|
|
@@ -543,8 +543,8 @@ const Bt = (e) => (t) => /* @__PURE__ */ r.createElement(Sn, {
|
|
|
543
543
|
n(typeof i == "boolean" ? i : (s) => !s);
|
|
544
544
|
}, []);
|
|
545
545
|
return [t, o];
|
|
546
|
-
},
|
|
547
|
-
const t = Z(), n =
|
|
546
|
+
}, R1 = (e) => {
|
|
547
|
+
const t = Z(), n = U(), o = t.get("widgetDOMElement"), [i, s] = k(null), [a, l] = k(null), u = O();
|
|
548
548
|
w(() => {
|
|
549
549
|
if (n && u.current) {
|
|
550
550
|
const m = n.nodes.all.find((d) => d.name === "root-area"), p = n.nodes.all.find((d) => d.type === "view");
|
|
@@ -566,7 +566,7 @@ const Bt = (e) => (t) => /* @__PURE__ */ r.createElement(Sn, {
|
|
|
566
566
|
);
|
|
567
567
|
I("transitionend", c, i), I("transitionend", c, a);
|
|
568
568
|
}, ce = (e, t, n = [], o) => {
|
|
569
|
-
const i =
|
|
569
|
+
const i = Pt(o);
|
|
570
570
|
return w(() => {
|
|
571
571
|
if (i) {
|
|
572
572
|
const s = i.subscribe(e, t);
|
|
@@ -594,7 +594,7 @@ const Bt = (e) => (t) => /* @__PURE__ */ r.createElement(Sn, {
|
|
|
594
594
|
border: ${(e) => e.theme.border};
|
|
595
595
|
box-shadow: ${(e) => e.theme.boxShadow || "none"};
|
|
596
596
|
${(e) => e["data-loading"] && "min-height: 150px;"}
|
|
597
|
-
`,
|
|
597
|
+
`, Yt = L`
|
|
598
598
|
cursor: pointer;
|
|
599
599
|
text-align: center;
|
|
600
600
|
border: none;
|
|
@@ -612,12 +612,12 @@ const Bt = (e) => (t) => /* @__PURE__ */ r.createElement(Sn, {
|
|
|
612
612
|
return (t = e.theme.fonts) == null ? void 0 : t.normal;
|
|
613
613
|
}};
|
|
614
614
|
font-weight: 300;
|
|
615
|
-
`,
|
|
615
|
+
`, H1 = ({
|
|
616
616
|
primaryColor: e,
|
|
617
617
|
secondaryColor: t,
|
|
618
618
|
active: n
|
|
619
619
|
}) => L`
|
|
620
|
-
${
|
|
620
|
+
${Yt}
|
|
621
621
|
border: 1px solid ${n ? t : e};
|
|
622
622
|
background-color: ${n ? e : t};
|
|
623
623
|
|
|
@@ -663,10 +663,10 @@ const Bt = (e) => (t) => /* @__PURE__ */ r.createElement(Sn, {
|
|
|
663
663
|
return (n = (t = e.theme.accessibility) == null ? void 0 : t.colors) == null ? void 0 : n.inactiveText;
|
|
664
664
|
}};
|
|
665
665
|
border-color: transparent;
|
|
666
|
-
`,
|
|
666
|
+
`, jt = L`
|
|
667
667
|
${P}
|
|
668
668
|
text-decoration: underline;
|
|
669
|
-
`,
|
|
669
|
+
`, z1 = L`
|
|
670
670
|
${P}
|
|
671
671
|
outline-offset: ${(e) => {
|
|
672
672
|
var t;
|
|
@@ -711,7 +711,7 @@ const Bt = (e) => (t) => /* @__PURE__ */ r.createElement(Sn, {
|
|
|
711
711
|
var t;
|
|
712
712
|
return (t = e.theme.colors) == null ? void 0 : t.text;
|
|
713
713
|
}};
|
|
714
|
-
`,
|
|
714
|
+
`, Xt = L`
|
|
715
715
|
padding: 0;
|
|
716
716
|
margin: 0;
|
|
717
717
|
list-style: none;
|
|
@@ -733,7 +733,7 @@ const Bt = (e) => (t) => /* @__PURE__ */ r.createElement(Sn, {
|
|
|
733
733
|
> li:last-child {
|
|
734
734
|
margin: 0;
|
|
735
735
|
}
|
|
736
|
-
`,
|
|
736
|
+
`, D1 = L`
|
|
737
737
|
> div {
|
|
738
738
|
${se(
|
|
739
739
|
"> h1",
|
|
@@ -756,7 +756,7 @@ const Bt = (e) => (t) => /* @__PURE__ */ r.createElement(Sn, {
|
|
|
756
756
|
)}
|
|
757
757
|
}
|
|
758
758
|
> ul {
|
|
759
|
-
${
|
|
759
|
+
${Xt}
|
|
760
760
|
}
|
|
761
761
|
|
|
762
762
|
${se(
|
|
@@ -780,7 +780,7 @@ const Bt = (e) => (t) => /* @__PURE__ */ r.createElement(Sn, {
|
|
|
780
780
|
}
|
|
781
781
|
`
|
|
782
782
|
)}
|
|
783
|
-
`,
|
|
783
|
+
`, B1 = L`
|
|
784
784
|
font-size: ${(e) => {
|
|
785
785
|
var t;
|
|
786
786
|
return (t = e.theme.fonts) == null ? void 0 : t.normal;
|
|
@@ -816,7 +816,7 @@ const Bt = (e) => (t) => /* @__PURE__ */ r.createElement(Sn, {
|
|
|
816
816
|
return (t = e.theme.colors) == null ? void 0 : t.link;
|
|
817
817
|
}};
|
|
818
818
|
&:focus-visible {
|
|
819
|
-
${
|
|
819
|
+
${jt};
|
|
820
820
|
}
|
|
821
821
|
}
|
|
822
822
|
|
|
@@ -991,7 +991,7 @@ const Bt = (e) => (t) => /* @__PURE__ */ r.createElement(Sn, {
|
|
|
991
991
|
stroke: "black"
|
|
992
992
|
}));
|
|
993
993
|
case "caret-up":
|
|
994
|
-
return /* @__PURE__ */ r.createElement(
|
|
994
|
+
return /* @__PURE__ */ r.createElement(_t, h({
|
|
995
995
|
viewBox: "0 0 14 14",
|
|
996
996
|
style: f
|
|
997
997
|
}, d), /* @__PURE__ */ r.createElement("line", {
|
|
@@ -1367,7 +1367,7 @@ const Bt = (e) => (t) => /* @__PURE__ */ r.createElement(Sn, {
|
|
|
1367
1367
|
return null;
|
|
1368
1368
|
}
|
|
1369
1369
|
case "FontAwesome":
|
|
1370
|
-
return /* @__PURE__ */ r.createElement(
|
|
1370
|
+
return /* @__PURE__ */ r.createElement(un, h({
|
|
1371
1371
|
className: s,
|
|
1372
1372
|
faIcon: m,
|
|
1373
1373
|
title: e
|
|
@@ -1379,9 +1379,9 @@ const Bt = (e) => (t) => /* @__PURE__ */ r.createElement(Sn, {
|
|
|
1379
1379
|
title: e
|
|
1380
1380
|
}, p), a), e.substring(0, 2)) : null;
|
|
1381
1381
|
}
|
|
1382
|
-
},
|
|
1382
|
+
}, _t = C.svg`
|
|
1383
1383
|
transform: rotate(180deg);
|
|
1384
|
-
`,
|
|
1384
|
+
`, Ut = {
|
|
1385
1385
|
h1: "h1",
|
|
1386
1386
|
h2: "h2",
|
|
1387
1387
|
h3: "h3",
|
|
@@ -1390,15 +1390,15 @@ const Bt = (e) => (t) => /* @__PURE__ */ r.createElement(Sn, {
|
|
|
1390
1390
|
h6: "h6",
|
|
1391
1391
|
p: "p",
|
|
1392
1392
|
span: "span"
|
|
1393
|
-
},
|
|
1394
|
-
const { typographyVariantMapping: i = {} } =
|
|
1395
|
-
return /* @__PURE__ */ r.createElement(
|
|
1393
|
+
}, q = ({ variant: e, component: t, className: n, children: o }) => {
|
|
1394
|
+
const { typographyVariantMapping: i = {} } = At(), s = h(h({}, Ut), i), a = t || s[e] || "span";
|
|
1395
|
+
return /* @__PURE__ */ r.createElement(qt, {
|
|
1396
1396
|
className: n,
|
|
1397
1397
|
as: a
|
|
1398
1398
|
}, o);
|
|
1399
|
-
},
|
|
1400
|
-
var
|
|
1401
|
-
const
|
|
1399
|
+
}, qt = C.span``;
|
|
1400
|
+
var Qt = /* @__PURE__ */ ((e) => (e.SlideInLeft = "slide-in-left", e.SlideInRight = "slide-in-right", e.SlideInBottom = "slide-in-bottom", e.SlideInTop = "slide-in-top", e))(Qt || {});
|
|
1401
|
+
const Gt = 300, T1 = ({
|
|
1402
1402
|
className: e,
|
|
1403
1403
|
children: t,
|
|
1404
1404
|
header: n,
|
|
@@ -1410,11 +1410,11 @@ const Qt = 300, D1 = ({
|
|
|
1410
1410
|
type: "slide-in-bottom"
|
|
1411
1411
|
}
|
|
1412
1412
|
}) => {
|
|
1413
|
-
const { duration: u =
|
|
1413
|
+
const { duration: u = Gt } = l, c = R(), m = R(), [p, d] = Ke(!0), [f, g] = Ye(), E = Ae(f), v = R(Q());
|
|
1414
1414
|
w(() => {
|
|
1415
1415
|
o && o(f);
|
|
1416
1416
|
}, [f]);
|
|
1417
|
-
const b =
|
|
1417
|
+
const b = X("Escape");
|
|
1418
1418
|
w(() => {
|
|
1419
1419
|
b && g(!1);
|
|
1420
1420
|
}, [b]), I(
|
|
@@ -1433,7 +1433,7 @@ const Qt = 300, D1 = ({
|
|
|
1433
1433
|
}), w(() => {
|
|
1434
1434
|
f && c.current ? c.current.focus() : !f && m.current && E && m.current.focus();
|
|
1435
1435
|
}, [f, c.current, m.current]);
|
|
1436
|
-
const B =
|
|
1436
|
+
const B = on[l.type];
|
|
1437
1437
|
return /* @__PURE__ */ r.createElement(r.Fragment, null, /* @__PURE__ */ r.createElement(Ie, {
|
|
1438
1438
|
in: f,
|
|
1439
1439
|
className: "humany-drawer-transition",
|
|
@@ -1458,7 +1458,7 @@ const Qt = 300, D1 = ({
|
|
|
1458
1458
|
"aria-label": a
|
|
1459
1459
|
}, /* @__PURE__ */ r.createElement(J, {
|
|
1460
1460
|
symbol: { type: "Svg", content: "close" }
|
|
1461
|
-
})), !!n && /* @__PURE__ */ r.createElement(
|
|
1461
|
+
})), !!n && /* @__PURE__ */ r.createElement(Jt, {
|
|
1462
1462
|
variant: "h1",
|
|
1463
1463
|
className: "humany-drawer-header"
|
|
1464
1464
|
}, n), t))), r.cloneElement(i, {
|
|
@@ -1486,7 +1486,7 @@ const Qt = 300, D1 = ({
|
|
|
1486
1486
|
box-shadow: ${(e) => e.theme.boxShadow};
|
|
1487
1487
|
background: #ffffff;
|
|
1488
1488
|
${(e) => e.css && e.css}
|
|
1489
|
-
`,
|
|
1489
|
+
`, Jt = C(q)`
|
|
1490
1490
|
padding: ${(e) => e.theme.sizes.normal};
|
|
1491
1491
|
margin: 0;
|
|
1492
1492
|
text-align: center;
|
|
@@ -1508,7 +1508,7 @@ const Qt = 300, D1 = ({
|
|
|
1508
1508
|
line-height: 1.2em;
|
|
1509
1509
|
`, ue = L`
|
|
1510
1510
|
transition: ${(e) => e.duration}ms;
|
|
1511
|
-
`,
|
|
1511
|
+
`, en = C(le)`
|
|
1512
1512
|
max-height: 0;
|
|
1513
1513
|
${ue}
|
|
1514
1514
|
|
|
@@ -1525,7 +1525,7 @@ const Qt = 300, D1 = ({
|
|
|
1525
1525
|
&.humany-drawer-transition-exit-done {
|
|
1526
1526
|
max-height: 0;
|
|
1527
1527
|
}
|
|
1528
|
-
`,
|
|
1528
|
+
`, tn = C(le)`
|
|
1529
1529
|
${ue}
|
|
1530
1530
|
transform: translateX(100%);
|
|
1531
1531
|
height: ${(e) => e.fullScreen ? "100%" : "auto"};
|
|
@@ -1543,7 +1543,7 @@ const Qt = 300, D1 = ({
|
|
|
1543
1543
|
&.humany-drawer-transition-exit-done {
|
|
1544
1544
|
transform: translateX(100%);
|
|
1545
1545
|
}
|
|
1546
|
-
`,
|
|
1546
|
+
`, nn = C(le)`
|
|
1547
1547
|
${ue}
|
|
1548
1548
|
transform: translateX(-100%);
|
|
1549
1549
|
height: ${(e) => e.fullScreen ? "100%" : "auto"};
|
|
@@ -1561,7 +1561,7 @@ const Qt = 300, D1 = ({
|
|
|
1561
1561
|
&.humany-drawer-transition-exit-done {
|
|
1562
1562
|
transform: translateX(-100%);
|
|
1563
1563
|
}
|
|
1564
|
-
`,
|
|
1564
|
+
`, rn = C(le)`
|
|
1565
1565
|
${ue}
|
|
1566
1566
|
bottom: unset;
|
|
1567
1567
|
top: 0;
|
|
@@ -1580,11 +1580,11 @@ const Qt = 300, D1 = ({
|
|
|
1580
1580
|
&.humany-drawer-transition-exit-done {
|
|
1581
1581
|
height: 0;
|
|
1582
1582
|
}
|
|
1583
|
-
`,
|
|
1584
|
-
["slide-in-bottom"]:
|
|
1585
|
-
["slide-in-right"]:
|
|
1586
|
-
["slide-in-left"]:
|
|
1587
|
-
["slide-in-top"]:
|
|
1583
|
+
`, on = {
|
|
1584
|
+
["slide-in-bottom"]: en,
|
|
1585
|
+
["slide-in-right"]: tn,
|
|
1586
|
+
["slide-in-left"]: nn,
|
|
1587
|
+
["slide-in-top"]: rn
|
|
1588
1588
|
}, Xe = (e, t, n) => {
|
|
1589
1589
|
const [o, i] = k(0), [s, a] = k(0), l = H(
|
|
1590
1590
|
(u, c) => {
|
|
@@ -1604,12 +1604,12 @@ const Qt = 300, D1 = ({
|
|
|
1604
1604
|
};
|
|
1605
1605
|
u.left < 0 && (c.x = 0), u.bottom > window.innerHeight && (c.y = 0), c.x !== o && i(c.x), c.y !== s && a(c.y);
|
|
1606
1606
|
}, [n, e, t]), [{ x: o, y: s }, l];
|
|
1607
|
-
},
|
|
1607
|
+
}, N1 = r.forwardRef(
|
|
1608
1608
|
(a, s) => {
|
|
1609
1609
|
var l = a, { className: e = "", children: t = null, trigger: n, closeButtonAriaLabel: o } = l, i = S(l, ["className", "children", "trigger", "closeButtonAriaLabel"]);
|
|
1610
1610
|
const u = R(), c = R(), m = R();
|
|
1611
1611
|
Ce(s, () => m.current, [m.current]);
|
|
1612
|
-
const p = R(
|
|
1612
|
+
const p = R(Q()), [d, f] = k(!1), g = Ae(d), [{ x: E, y: v }, b] = Xe(d, p.current, m.current), y = X("Escape");
|
|
1613
1613
|
w(() => {
|
|
1614
1614
|
y && f(!1);
|
|
1615
1615
|
}, [y]), w(() => {
|
|
@@ -1617,8 +1617,8 @@ const Qt = 300, D1 = ({
|
|
|
1617
1617
|
}, [d, u.current, c.current]), I(
|
|
1618
1618
|
"click",
|
|
1619
1619
|
(z) => {
|
|
1620
|
-
const { target:
|
|
1621
|
-
!m.current || !
|
|
1620
|
+
const { target: j } = z;
|
|
1621
|
+
!m.current || !j || m.current !== j && !m.current.contains(j) && f(!1);
|
|
1622
1622
|
},
|
|
1623
1623
|
window
|
|
1624
1624
|
), ce("router:changed", () => {
|
|
@@ -1632,7 +1632,7 @@ const Qt = 300, D1 = ({
|
|
|
1632
1632
|
},
|
|
1633
1633
|
[B, b, f]
|
|
1634
1634
|
);
|
|
1635
|
-
return /* @__PURE__ */ r.createElement(r.Fragment, null, d && /* @__PURE__ */ r.createElement(G, null, /* @__PURE__ */ r.createElement(
|
|
1635
|
+
return /* @__PURE__ */ r.createElement(r.Fragment, null, d && /* @__PURE__ */ r.createElement(G, null, /* @__PURE__ */ r.createElement(sn, $(h({
|
|
1636
1636
|
className: M(
|
|
1637
1637
|
"humany-dropdown",
|
|
1638
1638
|
`humany-dropdown-${p.current}`,
|
|
@@ -1656,7 +1656,7 @@ const Qt = 300, D1 = ({
|
|
|
1656
1656
|
"aria-expanded": d
|
|
1657
1657
|
}));
|
|
1658
1658
|
}
|
|
1659
|
-
),
|
|
1659
|
+
), sn = C.div`
|
|
1660
1660
|
${je}
|
|
1661
1661
|
padding: ${(e) => {
|
|
1662
1662
|
var t;
|
|
@@ -1671,15 +1671,15 @@ const Qt = 300, D1 = ({
|
|
|
1671
1671
|
let t = "";
|
|
1672
1672
|
return e.y > 0 ? t += `top: calc(${((n = e.theme.sizes) == null ? void 0 : n.small) || "0px"} + ${e.y || "0"}px);` : t += `bottom: ${((o = e.theme.sizes) == null ? void 0 : o.normal) || "0px"};`, e.x > 0 ? t += `right: ${e.x || "0"}px;` : t += `left: ${((i = e.theme.sizes) == null ? void 0 : i.normal) || "0px"};`, t;
|
|
1673
1673
|
}};
|
|
1674
|
-
`,
|
|
1674
|
+
`, an = (t) => {
|
|
1675
1675
|
var e = S(t, []);
|
|
1676
|
-
return /* @__PURE__ */ r.createElement(
|
|
1677
|
-
},
|
|
1676
|
+
return /* @__PURE__ */ r.createElement(cn, h({}, e));
|
|
1677
|
+
}, cn = C.div`
|
|
1678
1678
|
display: none;
|
|
1679
|
-
`,
|
|
1679
|
+
`, V1 = N(
|
|
1680
1680
|
(a, s) => {
|
|
1681
1681
|
var l = a, { children: e, columns: t, gap: n, className: o } = l, i = S(l, ["children", "columns", "gap", "className"]);
|
|
1682
|
-
return /* @__PURE__ */ r.createElement(
|
|
1682
|
+
return /* @__PURE__ */ r.createElement(ln, $(h(h({
|
|
1683
1683
|
className: M(o, "humany-grid"),
|
|
1684
1684
|
"data-columns": t,
|
|
1685
1685
|
"data-gap": n
|
|
@@ -1687,7 +1687,7 @@ const Qt = 300, D1 = ({
|
|
|
1687
1687
|
ref: s
|
|
1688
1688
|
}), e);
|
|
1689
1689
|
}
|
|
1690
|
-
),
|
|
1690
|
+
), ln = C.div`
|
|
1691
1691
|
display: grid;
|
|
1692
1692
|
grid-template-columns: repeat(${(e) => e["data-columns"]}, 1fr);
|
|
1693
1693
|
grid-gap: ${(e) => e["data-gap"]};
|
|
@@ -1709,7 +1709,7 @@ const Qt = 300, D1 = ({
|
|
|
1709
1709
|
ref: i
|
|
1710
1710
|
}), u);
|
|
1711
1711
|
}
|
|
1712
|
-
),
|
|
1712
|
+
), un = (s) => {
|
|
1713
1713
|
var a = s, {
|
|
1714
1714
|
faIcon: e,
|
|
1715
1715
|
title: t,
|
|
@@ -1726,7 +1726,7 @@ const Qt = 300, D1 = ({
|
|
|
1726
1726
|
title: t,
|
|
1727
1727
|
role: o
|
|
1728
1728
|
}, V(i)));
|
|
1729
|
-
},
|
|
1729
|
+
}, Z1 = N(
|
|
1730
1730
|
(p, m) => {
|
|
1731
1731
|
var d = p, {
|
|
1732
1732
|
className: e = "",
|
|
@@ -1779,7 +1779,7 @@ const Qt = 300, D1 = ({
|
|
|
1779
1779
|
ref: E
|
|
1780
1780
|
}));
|
|
1781
1781
|
}
|
|
1782
|
-
),
|
|
1782
|
+
), mn = N(
|
|
1783
1783
|
(a, s) => {
|
|
1784
1784
|
var l = a, { className: e, items: t, renderItem: n, renderLi: o = !1 } = l, i = S(l, ["className", "items", "renderItem", "renderLi"]);
|
|
1785
1785
|
return /* @__PURE__ */ r.createElement("ul", $(h({
|
|
@@ -1794,14 +1794,14 @@ const Qt = 300, D1 = ({
|
|
|
1794
1794
|
}, n(u, c, m)) : n(u, c, m)
|
|
1795
1795
|
));
|
|
1796
1796
|
}
|
|
1797
|
-
),
|
|
1797
|
+
), dn = N(
|
|
1798
1798
|
(u, l) => {
|
|
1799
1799
|
var c = u, { text: e, html: t, header: n, className: o, htmlParseInstruction: i, symbol: s } = c, a = S(c, ["text", "html", "header", "className", "htmlParseInstruction", "symbol"]);
|
|
1800
1800
|
return /* @__PURE__ */ r.createElement("div", $(h({
|
|
1801
1801
|
className: M(o, "humany-paragraph")
|
|
1802
1802
|
}, V(a)), {
|
|
1803
1803
|
ref: l
|
|
1804
|
-
}), n ? /* @__PURE__ */ r.createElement(
|
|
1804
|
+
}), n ? /* @__PURE__ */ r.createElement(q, {
|
|
1805
1805
|
variant: "h1"
|
|
1806
1806
|
}, s ? /* @__PURE__ */ r.createElement(J, {
|
|
1807
1807
|
symbol: s
|
|
@@ -1810,7 +1810,7 @@ const Qt = 300, D1 = ({
|
|
|
1810
1810
|
htmlParseInstruction: i
|
|
1811
1811
|
}) : null, e ? /* @__PURE__ */ r.createElement(we, null, e) : null);
|
|
1812
1812
|
}
|
|
1813
|
-
),
|
|
1813
|
+
), fn = N(
|
|
1814
1814
|
(f, d) => {
|
|
1815
1815
|
var g = f, {
|
|
1816
1816
|
header: e,
|
|
@@ -1842,18 +1842,18 @@ const Qt = 300, D1 = ({
|
|
|
1842
1842
|
"data-item-count": l.length
|
|
1843
1843
|
}, V(p)), {
|
|
1844
1844
|
ref: d
|
|
1845
|
-
}), t || (e || n || o ? /* @__PURE__ */ r.createElement(
|
|
1845
|
+
}), t || (e || n || o ? /* @__PURE__ */ r.createElement(dn, {
|
|
1846
1846
|
symbol: a,
|
|
1847
1847
|
header: e,
|
|
1848
1848
|
text: n,
|
|
1849
1849
|
html: o
|
|
1850
|
-
}) : null), l.length ? /* @__PURE__ */ r.createElement(
|
|
1850
|
+
}) : null), l.length ? /* @__PURE__ */ r.createElement(mn, h({
|
|
1851
1851
|
items: l,
|
|
1852
1852
|
renderItem: u,
|
|
1853
1853
|
renderLi: c
|
|
1854
1854
|
}, m)) : null, s);
|
|
1855
1855
|
}
|
|
1856
|
-
),
|
|
1856
|
+
), W1 = ({
|
|
1857
1857
|
className: e = "",
|
|
1858
1858
|
tree: t,
|
|
1859
1859
|
renderItem: n,
|
|
@@ -1863,7 +1863,7 @@ const Qt = 300, D1 = ({
|
|
|
1863
1863
|
ulProps: a,
|
|
1864
1864
|
liProps: l
|
|
1865
1865
|
}) => {
|
|
1866
|
-
const u = (p) => !c(p), c = (p) => !p || p.length < 1 ? !0 : !p.some((d) => !!d.selected), m = (p, d) => /* @__PURE__ */ r.createElement(
|
|
1866
|
+
const u = (p) => !c(p), c = (p) => !p || p.length < 1 ? !0 : !p.some((d) => !!d.selected), m = (p, d) => /* @__PURE__ */ r.createElement(fn, {
|
|
1867
1867
|
className: M(`humany-item-tree-level-${d}`),
|
|
1868
1868
|
items: p,
|
|
1869
1869
|
ulProps: a,
|
|
@@ -1878,7 +1878,7 @@ const Qt = 300, D1 = ({
|
|
|
1878
1878
|
return /* @__PURE__ */ r.createElement("div", {
|
|
1879
1879
|
className: M(e, "humany-item-tree")
|
|
1880
1880
|
}, o && o(!u(t || [])), t && m(t, 1));
|
|
1881
|
-
},
|
|
1881
|
+
}, hn = N(
|
|
1882
1882
|
(u, l) => {
|
|
1883
1883
|
var c = u, { className: e, onClick: t = () => {
|
|
1884
1884
|
}, name: n = "", to: o = "", params: i = {}, children: s } = c, a = S(c, ["className", "onClick", "name", "to", "params", "children"]);
|
|
@@ -1979,24 +1979,24 @@ const Qt = 300, D1 = ({
|
|
|
1979
1979
|
s(b);
|
|
1980
1980
|
}
|
|
1981
1981
|
};
|
|
1982
|
-
return m ? /* @__PURE__ */ r.createElement(
|
|
1982
|
+
return m ? /* @__PURE__ */ r.createElement(pn, $(h(h({
|
|
1983
1983
|
name: m,
|
|
1984
1984
|
params: p
|
|
1985
1985
|
}, v), V(d)), {
|
|
1986
1986
|
ref: f
|
|
1987
|
-
}), u) : /* @__PURE__ */ r.createElement(
|
|
1987
|
+
}), u) : /* @__PURE__ */ r.createElement(gn, $(h(h({
|
|
1988
1988
|
href: l,
|
|
1989
1989
|
target: c
|
|
1990
1990
|
}, v), V(d)), {
|
|
1991
1991
|
ref: f
|
|
1992
1992
|
}), u);
|
|
1993
1993
|
}
|
|
1994
|
-
),
|
|
1994
|
+
), pn = C(hn)`
|
|
1995
1995
|
${(e) => e.disabled ? `
|
|
1996
1996
|
pointer-events: none;
|
|
1997
1997
|
opacity: .7;
|
|
1998
1998
|
` : "cursor: pointer;"}
|
|
1999
|
-
`,
|
|
1999
|
+
`, gn = C.a`
|
|
2000
2000
|
${(e) => e.disabled ? `
|
|
2001
2001
|
pointer-events: none;
|
|
2002
2002
|
opacity: .7;
|
|
@@ -2026,13 +2026,13 @@ const Qt = 300, D1 = ({
|
|
|
2026
2026
|
classNames: "humany-overlay-transition",
|
|
2027
2027
|
unmountOnExit: !0,
|
|
2028
2028
|
timeout: t
|
|
2029
|
-
}, /* @__PURE__ */ r.createElement(G, null, /* @__PURE__ */ r.createElement(
|
|
2029
|
+
}, /* @__PURE__ */ r.createElement(G, null, /* @__PURE__ */ r.createElement(Cn, h({
|
|
2030
2030
|
className: "humany-overlay",
|
|
2031
2031
|
duration: t,
|
|
2032
2032
|
ref: l,
|
|
2033
2033
|
onClick: u
|
|
2034
2034
|
}, i), n)));
|
|
2035
|
-
},
|
|
2035
|
+
}, Cn = C.div`
|
|
2036
2036
|
background: rgba(0, 0, 0, 0.6);
|
|
2037
2037
|
min-width: 100%;
|
|
2038
2038
|
min-height: 100%;
|
|
@@ -2062,11 +2062,11 @@ const Qt = 300, D1 = ({
|
|
|
2062
2062
|
&.humany-overlay-transition-exit-done {
|
|
2063
2063
|
opacity: 0;
|
|
2064
2064
|
}
|
|
2065
|
-
`,
|
|
2065
|
+
`, yn = We`
|
|
2066
2066
|
100% {
|
|
2067
2067
|
transform: rotate(360deg);
|
|
2068
2068
|
}
|
|
2069
|
-
`,
|
|
2069
|
+
`, bn = We`
|
|
2070
2070
|
0% {
|
|
2071
2071
|
stroke-dasharray: 1, 200;
|
|
2072
2072
|
stroke-dashoffset: 0;
|
|
@@ -2080,7 +2080,7 @@ const Qt = 300, D1 = ({
|
|
|
2080
2080
|
stroke-dashoffset: -124px;
|
|
2081
2081
|
}
|
|
2082
2082
|
`, qe = C.svg`
|
|
2083
|
-
animation: ${
|
|
2083
|
+
animation: ${yn} 2s linear infinite;
|
|
2084
2084
|
height: 100%;
|
|
2085
2085
|
transform-origin: center center;
|
|
2086
2086
|
width: 100%;
|
|
@@ -2091,7 +2091,7 @@ const Qt = 300, D1 = ({
|
|
|
2091
2091
|
right: 0;
|
|
2092
2092
|
margin: auto;
|
|
2093
2093
|
transition: 200ms ease-out opacity;
|
|
2094
|
-
`,
|
|
2094
|
+
`, vn = C.div`
|
|
2095
2095
|
position: absolute;
|
|
2096
2096
|
top: 0;
|
|
2097
2097
|
bottom: 0;
|
|
@@ -2109,7 +2109,7 @@ const Qt = 300, D1 = ({
|
|
|
2109
2109
|
${qe} {
|
|
2110
2110
|
opacity: ${(e) => e["data-loading"] ? "1" : "0"}
|
|
2111
2111
|
}
|
|
2112
|
-
`,
|
|
2112
|
+
`, wn = C.div`
|
|
2113
2113
|
position: relative;
|
|
2114
2114
|
margin: 0 auto;
|
|
2115
2115
|
width: 100px;
|
|
@@ -2118,31 +2118,31 @@ const Qt = 300, D1 = ({
|
|
|
2118
2118
|
display: block;
|
|
2119
2119
|
padding-top: 100%;
|
|
2120
2120
|
}
|
|
2121
|
-
`,
|
|
2121
|
+
`, En = C.circle`
|
|
2122
2122
|
stroke-dasharray: 1, 200;
|
|
2123
2123
|
stroke-dashoffset: 0;
|
|
2124
|
-
animation: ${
|
|
2124
|
+
animation: ${bn} 1.5s ease-in-out infinite;
|
|
2125
2125
|
stroke-linecap: round;
|
|
2126
2126
|
stroke: ${(e) => {
|
|
2127
2127
|
var t;
|
|
2128
2128
|
return (t = e.theme.colors) == null ? void 0 : t.primary;
|
|
2129
2129
|
}};
|
|
2130
2130
|
stroke-width: 2px;
|
|
2131
|
-
`,
|
|
2131
|
+
`, xn = ({ className: e, loading: t = !1 }) => /* @__PURE__ */ r.createElement(vn, {
|
|
2132
2132
|
className: M("humany-loader", e),
|
|
2133
2133
|
"data-loading": t
|
|
2134
|
-
}, /* @__PURE__ */ r.createElement(
|
|
2134
|
+
}, /* @__PURE__ */ r.createElement(wn, {
|
|
2135
2135
|
className: "humany-spinner"
|
|
2136
2136
|
}, /* @__PURE__ */ r.createElement(qe, {
|
|
2137
2137
|
viewBox: "25 25 50 50"
|
|
2138
|
-
}, /* @__PURE__ */ r.createElement(
|
|
2138
|
+
}, /* @__PURE__ */ r.createElement(En, {
|
|
2139
2139
|
cx: "50",
|
|
2140
2140
|
cy: "50",
|
|
2141
2141
|
r: "20",
|
|
2142
2142
|
fill: "none",
|
|
2143
2143
|
"stroke-width": "2",
|
|
2144
2144
|
"stroke-miterlimit": "10"
|
|
2145
|
-
})))),
|
|
2145
|
+
})))), kn = (i) => {
|
|
2146
2146
|
var s = i, {
|
|
2147
2147
|
zoomState: e,
|
|
2148
2148
|
image: t,
|
|
@@ -2174,9 +2174,9 @@ const Qt = 300, D1 = ({
|
|
|
2174
2174
|
}, [e, a, l, t.src]);
|
|
2175
2175
|
return w(() => (u(!1), function() {
|
|
2176
2176
|
m(!1);
|
|
2177
|
-
}), [t.src]), /* @__PURE__ */ r.createElement(r.Fragment, null, /* @__PURE__ */ r.createElement(
|
|
2177
|
+
}), [t.src]), /* @__PURE__ */ r.createElement(r.Fragment, null, /* @__PURE__ */ r.createElement($n, {
|
|
2178
2178
|
loading: !l
|
|
2179
|
-
}), /* @__PURE__ */ r.createElement(
|
|
2179
|
+
}), /* @__PURE__ */ r.createElement(Ln, $(h({
|
|
2180
2180
|
onLoad: () => {
|
|
2181
2181
|
u(!0);
|
|
2182
2182
|
},
|
|
@@ -2188,12 +2188,12 @@ const Qt = 300, D1 = ({
|
|
|
2188
2188
|
style: f,
|
|
2189
2189
|
src: t.src,
|
|
2190
2190
|
loaded: l
|
|
2191
|
-
})), /* @__PURE__ */ r.createElement(
|
|
2192
|
-
},
|
|
2191
|
+
})), /* @__PURE__ */ r.createElement(Mn, null));
|
|
2192
|
+
}, $n = C(xn)`
|
|
2193
2193
|
svg circle {
|
|
2194
2194
|
stroke: #ffffff;
|
|
2195
2195
|
}
|
|
2196
|
-
`,
|
|
2196
|
+
`, Ln = C.img`
|
|
2197
2197
|
transform: none;
|
|
2198
2198
|
|
|
2199
2199
|
${(e) => e.imageSize && L`
|
|
@@ -2204,20 +2204,20 @@ const Qt = 300, D1 = ({
|
|
|
2204
2204
|
vertical-align: middle;
|
|
2205
2205
|
position: relative;
|
|
2206
2206
|
${(e) => !e.loaded && "display:none;"}
|
|
2207
|
-
`,
|
|
2207
|
+
`, Mn = C.div`
|
|
2208
2208
|
height: 100%;
|
|
2209
2209
|
display: inline-block;
|
|
2210
2210
|
vertical-align: middle;
|
|
2211
|
-
`,
|
|
2211
|
+
`, Sn = () => {
|
|
2212
2212
|
const e = R(), [t, n] = k(!0), o = H(() => (t || n(!0), e.current && clearTimeout(e.current), e.current = setTimeout(() => {
|
|
2213
2213
|
n(!1);
|
|
2214
2214
|
}, 3e3), () => {
|
|
2215
2215
|
e.current && clearTimeout(e.current);
|
|
2216
2216
|
}), [t, e]);
|
|
2217
2217
|
return [t, o];
|
|
2218
|
-
},
|
|
2218
|
+
}, Rn = ({ attrs: e, htmlBody: t }) => {
|
|
2219
2219
|
var Se;
|
|
2220
|
-
const n =
|
|
2220
|
+
const n = X("Escape"), o = X("ArrowLeft"), i = X("ArrowRight"), [s, a] = k(1), [l, u] = k({ top: 0, left: 0, x: 0, y: 0 }), [c, m] = k(!1), [p, d] = Sn(), [f, g] = k(null), [E, v] = k(null), b = R(null), y = R(null), B = R(null), T = R(null);
|
|
2221
2221
|
w(() => {
|
|
2222
2222
|
n && g(null);
|
|
2223
2223
|
}, [n]), w(() => {
|
|
@@ -2259,7 +2259,7 @@ const Qt = 300, D1 = ({
|
|
|
2259
2259
|
}
|
|
2260
2260
|
return F;
|
|
2261
2261
|
}, []);
|
|
2262
|
-
}, [t]),
|
|
2262
|
+
}, [t]), j = H(() => {
|
|
2263
2263
|
const { src: x } = e;
|
|
2264
2264
|
if (x) {
|
|
2265
2265
|
const D = z.findIndex((W, F) => W.src === x);
|
|
@@ -2311,14 +2311,14 @@ const Qt = 300, D1 = ({
|
|
|
2311
2311
|
return /* @__PURE__ */ r.createElement(r.Fragment, null, /* @__PURE__ */ r.createElement(Ue, {
|
|
2312
2312
|
visible: f !== null,
|
|
2313
2313
|
onClick: Je
|
|
2314
|
-
}, /* @__PURE__ */ r.createElement(
|
|
2314
|
+
}, /* @__PURE__ */ r.createElement(Zn, {
|
|
2315
2315
|
onMouseDown: () => d(),
|
|
2316
2316
|
onMouseMove: () => d(),
|
|
2317
2317
|
onTouchStart: () => d(),
|
|
2318
2318
|
onKeyDown: () => d()
|
|
2319
|
-
}, /* @__PURE__ */ r.createElement(
|
|
2319
|
+
}, /* @__PURE__ */ r.createElement(Wn, {
|
|
2320
2320
|
show: p.toString()
|
|
2321
|
-
}, /* @__PURE__ */ r.createElement(
|
|
2321
|
+
}, /* @__PURE__ */ r.createElement(Bn, {
|
|
2322
2322
|
ref: y,
|
|
2323
2323
|
buttons: [
|
|
2324
2324
|
{
|
|
@@ -2334,21 +2334,21 @@ const Qt = 300, D1 = ({
|
|
|
2334
2334
|
ariaLabel: "Close"
|
|
2335
2335
|
}
|
|
2336
2336
|
]
|
|
2337
|
-
})), /* @__PURE__ */ r.createElement(
|
|
2337
|
+
})), /* @__PURE__ */ r.createElement(On, {
|
|
2338
2338
|
scrolling: c.toString(),
|
|
2339
2339
|
isDraggable: ot.toString(),
|
|
2340
2340
|
ref: T,
|
|
2341
2341
|
onMouseMove: nt,
|
|
2342
2342
|
onMouseDown: tt,
|
|
2343
2343
|
onMouseUp: rt
|
|
2344
|
-
}, f !== null && /* @__PURE__ */ r.createElement(
|
|
2344
|
+
}, f !== null && /* @__PURE__ */ r.createElement(kn, $(h({
|
|
2345
2345
|
changeZoom: (x) => {
|
|
2346
2346
|
a(x);
|
|
2347
2347
|
},
|
|
2348
2348
|
zoomState: s
|
|
2349
2349
|
}, e), {
|
|
2350
2350
|
image: z[f]
|
|
2351
|
-
}))), /* @__PURE__ */ r.createElement(
|
|
2351
|
+
}))), /* @__PURE__ */ r.createElement(Nn, {
|
|
2352
2352
|
ref: B,
|
|
2353
2353
|
show: p.toString(),
|
|
2354
2354
|
buttons: [
|
|
@@ -2371,9 +2371,9 @@ const Qt = 300, D1 = ({
|
|
|
2371
2371
|
ariaLabel: "Navigate to next image"
|
|
2372
2372
|
}
|
|
2373
2373
|
]
|
|
2374
|
-
}), /* @__PURE__ */ r.createElement(
|
|
2374
|
+
}), /* @__PURE__ */ r.createElement(In, {
|
|
2375
2375
|
show: p.toString()
|
|
2376
|
-
}, /* @__PURE__ */ r.createElement(
|
|
2376
|
+
}, /* @__PURE__ */ r.createElement(Tn, {
|
|
2377
2377
|
buttons: [
|
|
2378
2378
|
{
|
|
2379
2379
|
id: "zoom-out",
|
|
@@ -2388,25 +2388,25 @@ const Qt = 300, D1 = ({
|
|
|
2388
2388
|
ariaLabel: "Zoom in"
|
|
2389
2389
|
}
|
|
2390
2390
|
]
|
|
2391
|
-
}), /* @__PURE__ */ r.createElement(
|
|
2391
|
+
}), /* @__PURE__ */ r.createElement(Vn, {
|
|
2392
2392
|
variant: "span"
|
|
2393
|
-
}, Math.trunc(s * 100), "%")))), /* @__PURE__ */ r.createElement(
|
|
2393
|
+
}, Math.trunc(s * 100), "%")))), /* @__PURE__ */ r.createElement(Hn, {
|
|
2394
2394
|
ref: b,
|
|
2395
|
-
onClick:
|
|
2395
|
+
onClick: j,
|
|
2396
2396
|
onKeyDown: (x) => {
|
|
2397
|
-
x.key === "Enter" && (x.preventDefault(),
|
|
2397
|
+
x.key === "Enter" && (x.preventDefault(), j());
|
|
2398
2398
|
},
|
|
2399
2399
|
tabIndex: 0
|
|
2400
|
-
}, /* @__PURE__ */ r.createElement(
|
|
2400
|
+
}, /* @__PURE__ */ r.createElement(Fn, $(h({}, e), {
|
|
2401
2401
|
alt: ((Se = e.alt) == null ? void 0 : Se.toString()) || ""
|
|
2402
2402
|
}))));
|
|
2403
2403
|
}, ke = N(
|
|
2404
|
-
({ show: e = "true", buttons: t, className: n }, o) => /* @__PURE__ */ r.createElement(
|
|
2404
|
+
({ show: e = "true", buttons: t, className: n }, o) => /* @__PURE__ */ r.createElement(zn, {
|
|
2405
2405
|
ref: o,
|
|
2406
2406
|
show: e,
|
|
2407
2407
|
className: M("humany-button-set", n)
|
|
2408
2408
|
}, t.map(
|
|
2409
|
-
({ id: i, circle: s = !1, show: a = !0, ariaLabel: l, onClick: u, icon: c, className: m }, p) => /* @__PURE__ */ r.createElement(
|
|
2409
|
+
({ id: i, circle: s = !1, show: a = !0, ariaLabel: l, onClick: u, icon: c, className: m }, p) => /* @__PURE__ */ r.createElement(Dn, {
|
|
2410
2410
|
key: i + p.toString(),
|
|
2411
2411
|
circle: s.toString(),
|
|
2412
2412
|
onClick: u,
|
|
@@ -2427,16 +2427,16 @@ const Qt = 300, D1 = ({
|
|
|
2427
2427
|
opacity: 0;
|
|
2428
2428
|
pointer-events: none;
|
|
2429
2429
|
`}
|
|
2430
|
-
`,
|
|
2430
|
+
`, Hn = C(xe)`
|
|
2431
2431
|
display: inline-block !important;
|
|
2432
|
-
`,
|
|
2432
|
+
`, zn = C(Qe)`
|
|
2433
2433
|
position: fixed;
|
|
2434
2434
|
display: flex;
|
|
2435
2435
|
gap: ${(e) => {
|
|
2436
2436
|
var t;
|
|
2437
2437
|
return (t = e.theme.sizes) == null ? void 0 : t.normal;
|
|
2438
2438
|
}};
|
|
2439
|
-
`, ge = "39px",
|
|
2439
|
+
`, ge = "39px", Dn = C(ae)`
|
|
2440
2440
|
width: ${ge};
|
|
2441
2441
|
height: ${ge};
|
|
2442
2442
|
display: flex;
|
|
@@ -2501,7 +2501,7 @@ const Qt = 300, D1 = ({
|
|
|
2501
2501
|
opacity: 0;
|
|
2502
2502
|
pointer-events: none;
|
|
2503
2503
|
`}
|
|
2504
|
-
`,
|
|
2504
|
+
`, Bn = C(ke)`
|
|
2505
2505
|
top: ${(e) => {
|
|
2506
2506
|
var t;
|
|
2507
2507
|
return (t = e.theme.sizes) == null ? void 0 : t.large;
|
|
@@ -2510,7 +2510,7 @@ const Qt = 300, D1 = ({
|
|
|
2510
2510
|
var t;
|
|
2511
2511
|
return (t = e.theme.sizes) == null ? void 0 : t.large;
|
|
2512
2512
|
}};
|
|
2513
|
-
`,
|
|
2513
|
+
`, Tn = C(ke)`
|
|
2514
2514
|
bottom: ${(e) => {
|
|
2515
2515
|
var t;
|
|
2516
2516
|
return (t = e.theme.sizes) == null ? void 0 : t.large;
|
|
@@ -2518,7 +2518,7 @@ const Qt = 300, D1 = ({
|
|
|
2518
2518
|
width: 100%;
|
|
2519
2519
|
align-items: center;
|
|
2520
2520
|
justify-content: center;
|
|
2521
|
-
`,
|
|
2521
|
+
`, Nn = C(ke)`
|
|
2522
2522
|
display: block;
|
|
2523
2523
|
button {
|
|
2524
2524
|
position: fixed;
|
|
@@ -2536,7 +2536,7 @@ const Qt = 300, D1 = ({
|
|
|
2536
2536
|
}};
|
|
2537
2537
|
}
|
|
2538
2538
|
}
|
|
2539
|
-
`,
|
|
2539
|
+
`, Vn = C(q)`
|
|
2540
2540
|
position: fixed;
|
|
2541
2541
|
bottom: ${(e) => {
|
|
2542
2542
|
var t;
|
|
@@ -2561,15 +2561,15 @@ const Qt = 300, D1 = ({
|
|
|
2561
2561
|
height: 88px;
|
|
2562
2562
|
left: 0px;
|
|
2563
2563
|
z-index: 5;
|
|
2564
|
-
`,
|
|
2564
|
+
`, Zn = C.div`
|
|
2565
2565
|
width: 100%;
|
|
2566
|
-
`,
|
|
2566
|
+
`, Wn = C(Ge)`
|
|
2567
2567
|
top: 0px;
|
|
2568
2568
|
background-image: linear-gradient(to bottom, rgb(34, 34, 34, 0.8), rgba(34, 34, 34, 0));
|
|
2569
|
-
`,
|
|
2569
|
+
`, In = C(Ge)`
|
|
2570
2570
|
bottom: 0px;
|
|
2571
2571
|
background-image: linear-gradient(to top, rgb(34, 34, 34, 0.8), rgba(34, 34, 34, 0));
|
|
2572
|
-
`,
|
|
2572
|
+
`, On = C.div`
|
|
2573
2573
|
width: 100%;
|
|
2574
2574
|
height: 100vh;
|
|
2575
2575
|
overflow: auto;
|
|
@@ -2578,13 +2578,13 @@ const Qt = 300, D1 = ({
|
|
|
2578
2578
|
white-space: nowrap;
|
|
2579
2579
|
justify-content: center;
|
|
2580
2580
|
cursor: ${(e) => e.isDraggable === "true" ? e.scrolling === "true" ? "grabbing" : "grab" : "auto"};
|
|
2581
|
-
`,
|
|
2581
|
+
`, Fn = C.img`
|
|
2582
2582
|
cursor: pointer;
|
|
2583
|
-
`,
|
|
2583
|
+
`, An = N(
|
|
2584
2584
|
(l, a) => {
|
|
2585
2585
|
var u = l, { className: e, children: t, trigger: n, onOverlayClick: o = () => {
|
|
2586
2586
|
}, close: i = !1 } = u, s = S(u, ["className", "children", "trigger", "onOverlayClick", "close"]);
|
|
2587
|
-
const [c, m] = Ye(), [p, d] = Ke(!0), f = R(), g = R(
|
|
2587
|
+
const [c, m] = Ye(), [p, d] = Ke(!0), f = R(), g = R(Q()), E = X("Escape");
|
|
2588
2588
|
w(() => {
|
|
2589
2589
|
(E || i) && m(!1);
|
|
2590
2590
|
}, [E, i]), w(() => {
|
|
@@ -2609,7 +2609,7 @@ const Qt = 300, D1 = ({
|
|
|
2609
2609
|
return /* @__PURE__ */ r.createElement(r.Fragment, null, /* @__PURE__ */ r.createElement(Ue, {
|
|
2610
2610
|
visible: c,
|
|
2611
2611
|
onClick: v
|
|
2612
|
-
}, /* @__PURE__ */ r.createElement(
|
|
2612
|
+
}, /* @__PURE__ */ r.createElement(Pn, $(h({
|
|
2613
2613
|
className: M(
|
|
2614
2614
|
e,
|
|
2615
2615
|
"humany-modal",
|
|
@@ -2631,7 +2631,7 @@ const Qt = 300, D1 = ({
|
|
|
2631
2631
|
}
|
|
2632
2632
|
}));
|
|
2633
2633
|
}
|
|
2634
|
-
),
|
|
2634
|
+
), Pn = C.div`
|
|
2635
2635
|
font-family: ${(e) => {
|
|
2636
2636
|
var t;
|
|
2637
2637
|
return (t = e.theme.fonts) == null ? void 0 : t.type;
|
|
@@ -2650,7 +2650,7 @@ const Qt = 300, D1 = ({
|
|
|
2650
2650
|
${je}
|
|
2651
2651
|
${(e) => e.css && e.css}
|
|
2652
2652
|
outline: none;
|
|
2653
|
-
`,
|
|
2653
|
+
`, I1 = ({
|
|
2654
2654
|
className: e,
|
|
2655
2655
|
trigger: t,
|
|
2656
2656
|
header: n = "",
|
|
@@ -2669,17 +2669,17 @@ const Qt = 300, D1 = ({
|
|
|
2669
2669
|
var p;
|
|
2670
2670
|
s(), (p = u == null ? void 0 : u.current) == null || p.close();
|
|
2671
2671
|
}, [s]);
|
|
2672
|
-
return /* @__PURE__ */ r.createElement(
|
|
2672
|
+
return /* @__PURE__ */ r.createElement(Kn, {
|
|
2673
2673
|
className: e,
|
|
2674
2674
|
trigger: t,
|
|
2675
2675
|
ref: u,
|
|
2676
2676
|
onOverlayClick: c
|
|
2677
|
-
}, n && /* @__PURE__ */ r.createElement(Ve, null, n), o && /* @__PURE__ */ r.createElement(Ve, null, o), l && /* @__PURE__ */ r.createElement(
|
|
2677
|
+
}, n && /* @__PURE__ */ r.createElement(Ve, null, n), o && /* @__PURE__ */ r.createElement(Ve, null, o), l && /* @__PURE__ */ r.createElement(Yn, {
|
|
2678
2678
|
onClick: m
|
|
2679
|
-
}, l), a && /* @__PURE__ */ r.createElement(
|
|
2679
|
+
}, l), a && /* @__PURE__ */ r.createElement(jn, {
|
|
2680
2680
|
onClick: c
|
|
2681
2681
|
}, a));
|
|
2682
|
-
},
|
|
2682
|
+
}, Kn = C(An)`
|
|
2683
2683
|
display: block;
|
|
2684
2684
|
|
|
2685
2685
|
span {
|
|
@@ -2697,7 +2697,7 @@ const Qt = 300, D1 = ({
|
|
|
2697
2697
|
}};
|
|
2698
2698
|
}
|
|
2699
2699
|
}
|
|
2700
|
-
`,
|
|
2700
|
+
`, Yn = C(ae)`
|
|
2701
2701
|
display: inline-block;
|
|
2702
2702
|
min-width: 50px;
|
|
2703
2703
|
${(e) => {
|
|
@@ -2727,7 +2727,7 @@ const Qt = 300, D1 = ({
|
|
|
2727
2727
|
&:focus-visible {
|
|
2728
2728
|
${P}
|
|
2729
2729
|
}
|
|
2730
|
-
`,
|
|
2730
|
+
`, jn = C(ae)`
|
|
2731
2731
|
display: inline-block;
|
|
2732
2732
|
min-width: 50px;
|
|
2733
2733
|
${(e) => {
|
|
@@ -2748,23 +2748,23 @@ const Qt = 300, D1 = ({
|
|
|
2748
2748
|
&:focus-visible {
|
|
2749
2749
|
${P};
|
|
2750
2750
|
}
|
|
2751
|
-
`,
|
|
2751
|
+
`, O1 = ({
|
|
2752
2752
|
header: e = "",
|
|
2753
2753
|
link: t = "",
|
|
2754
2754
|
suggestionHeader: n = "",
|
|
2755
2755
|
suggestion: o = ""
|
|
2756
|
-
}) => /* @__PURE__ */ r.createElement(
|
|
2756
|
+
}) => /* @__PURE__ */ r.createElement(Xn, null, /* @__PURE__ */ r.createElement(_n, null, /* @__PURE__ */ r.createElement(q, {
|
|
2757
2757
|
variant: "h2"
|
|
2758
|
-
}, "404")), /* @__PURE__ */ r.createElement(
|
|
2758
|
+
}, "404")), /* @__PURE__ */ r.createElement(Un, null, /* @__PURE__ */ r.createElement(q, {
|
|
2759
2759
|
variant: "h3"
|
|
2760
|
-
}, e), /* @__PURE__ */ r.createElement(
|
|
2760
|
+
}, e), /* @__PURE__ */ r.createElement(Qn, {
|
|
2761
2761
|
routeName: "index",
|
|
2762
2762
|
"aria-label": t,
|
|
2763
2763
|
text: t
|
|
2764
|
-
})), /* @__PURE__ */ r.createElement(
|
|
2764
|
+
})), /* @__PURE__ */ r.createElement(qn, null, /* @__PURE__ */ r.createElement("span", null, n), /* @__PURE__ */ r.createElement("ul", null, /* @__PURE__ */ r.createElement("li", null, o)))), Xn = C.div`
|
|
2765
2765
|
display: flex;
|
|
2766
2766
|
flex-wrap: wrap;
|
|
2767
|
-
`,
|
|
2767
|
+
`, _n = C.div`
|
|
2768
2768
|
${se(
|
|
2769
2769
|
"h2",
|
|
2770
2770
|
L`
|
|
@@ -2774,7 +2774,7 @@ const Qt = 300, D1 = ({
|
|
|
2774
2774
|
font-size: 7em;
|
|
2775
2775
|
`
|
|
2776
2776
|
)}
|
|
2777
|
-
`,
|
|
2777
|
+
`, Un = C.div`
|
|
2778
2778
|
margin-left: ${(e) => {
|
|
2779
2779
|
var t;
|
|
2780
2780
|
return (t = e.theme.sizes) == null ? void 0 : t.medium;
|
|
@@ -2801,7 +2801,7 @@ const Qt = 300, D1 = ({
|
|
|
2801
2801
|
return (t = e.theme.fonts) == null ? void 0 : t.small;
|
|
2802
2802
|
}};
|
|
2803
2803
|
}
|
|
2804
|
-
`,
|
|
2804
|
+
`, qn = C.div`
|
|
2805
2805
|
margin-top: ${(e) => {
|
|
2806
2806
|
var t;
|
|
2807
2807
|
return (t = e.theme.sizes) == null ? void 0 : t.medium;
|
|
@@ -2812,7 +2812,7 @@ const Qt = 300, D1 = ({
|
|
|
2812
2812
|
font-weight: bold;
|
|
2813
2813
|
}
|
|
2814
2814
|
`;
|
|
2815
|
-
class
|
|
2815
|
+
class F1 extends dt {
|
|
2816
2816
|
constructor() {
|
|
2817
2817
|
super(...arguments);
|
|
2818
2818
|
re(this, "node");
|
|
@@ -2851,7 +2851,7 @@ class I1 extends dt {
|
|
|
2851
2851
|
}) : null;
|
|
2852
2852
|
}
|
|
2853
2853
|
}
|
|
2854
|
-
const
|
|
2854
|
+
const Qn = N(
|
|
2855
2855
|
(a, s) => {
|
|
2856
2856
|
var l = a, { className: e, description: t, text: n, children: o } = l, i = S(l, ["className", "description", "text", "children"]);
|
|
2857
2857
|
return /* @__PURE__ */ r.createElement(xe, $(h({
|
|
@@ -2864,17 +2864,17 @@ const qn = N(
|
|
|
2864
2864
|
}) : null);
|
|
2865
2865
|
}
|
|
2866
2866
|
);
|
|
2867
|
-
var
|
|
2868
|
-
const
|
|
2867
|
+
var Gn = /* @__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))(Gn || {});
|
|
2868
|
+
const A1 = ({ className: e = "", format: t = "hh:mm", timestamp: n }) => /* @__PURE__ */ r.createElement("span", {
|
|
2869
2869
|
className: M(e, "humany-timestamp")
|
|
2870
|
-
},
|
|
2871
|
-
function
|
|
2870
|
+
}, Jn(n, t)), Ze = (e) => `0${e}`.slice(-2);
|
|
2871
|
+
function Jn(e, t) {
|
|
2872
2872
|
const n = new Date(e), o = n.toTimeString().split(" ")[0].split(":"), i = o.length > 1 ? `${o[0]}:${o[1]}` : o[0], s = n.getFullYear(), a = n.getMonth() + 1, l = n.getDate(), u = `${s}-${Ze(a)}-${Ze(l)}`;
|
|
2873
2873
|
return t === "yyyy-mm-dd" ? u : t === "hh:mm" ? i : `${u} ${i}`;
|
|
2874
2874
|
}
|
|
2875
|
-
const
|
|
2875
|
+
const P1 = (s) => {
|
|
2876
2876
|
var a = s, { className: e, children: t, content: n, sticky: o = !1 } = a, i = S(a, ["className", "children", "content", "sticky"]);
|
|
2877
|
-
const [l, u] = k(!1), c = R(
|
|
2877
|
+
const [l, u] = k(!1), c = R(Q()), m = R(), [{ x: p, y: d }, f] = Xe(l, c.current, m.current), g = (v) => {
|
|
2878
2878
|
const { target: b } = v;
|
|
2879
2879
|
!m.current || !b || m.current !== b && !m.current.contains(b) && u(!1);
|
|
2880
2880
|
};
|
|
@@ -2890,22 +2890,22 @@ const F1 = (s) => {
|
|
|
2890
2890
|
},
|
|
2891
2891
|
[f, u]
|
|
2892
2892
|
);
|
|
2893
|
-
return /* @__PURE__ */ r.createElement(
|
|
2893
|
+
return /* @__PURE__ */ r.createElement(e1, {
|
|
2894
2894
|
ref: m,
|
|
2895
2895
|
className: "humany-tooltip-trigger",
|
|
2896
2896
|
onMouseEnter: o ? void 0 : (v) => E(v, !0),
|
|
2897
2897
|
onMouseLeave: o ? void 0 : (v) => E(v, !1),
|
|
2898
2898
|
onTouchEnd: o ? (v) => E(v, !l) : void 0,
|
|
2899
2899
|
onClick: o ? (v) => E(v, !l) : void 0
|
|
2900
|
-
}, t, l && /* @__PURE__ */ r.createElement(G, null, /* @__PURE__ */ r.createElement(
|
|
2900
|
+
}, t, l && /* @__PURE__ */ r.createElement(G, null, /* @__PURE__ */ r.createElement(t1, h({
|
|
2901
2901
|
className: M(e, "humany-tooltip-container"),
|
|
2902
2902
|
x: p,
|
|
2903
2903
|
y: d
|
|
2904
2904
|
}, i), n)));
|
|
2905
|
-
},
|
|
2905
|
+
}, e1 = C.div`
|
|
2906
2906
|
display: flex;
|
|
2907
2907
|
align-items: center;
|
|
2908
|
-
`,
|
|
2908
|
+
`, t1 = C.div`
|
|
2909
2909
|
color: #ffffff;
|
|
2910
2910
|
background: #161616;
|
|
2911
2911
|
border-radius: ${(e) => e.theme.borderRadius};
|
|
@@ -2938,7 +2938,7 @@ const F1 = (s) => {
|
|
|
2938
2938
|
let t = "";
|
|
2939
2939
|
return e.y > 0 ? t += `top: calc(2px + ${e.y || "0"}px);` : t += "bottom: 2px;", e.x > 0 ? t += `right: calc(2px + ${e.x || "0"}px);` : t += "left: 2px;", t;
|
|
2940
2940
|
}};
|
|
2941
|
-
`,
|
|
2941
|
+
`, K1 = (e) => {
|
|
2942
2942
|
const {
|
|
2943
2943
|
in: t,
|
|
2944
2944
|
mountOnEnter: n = !0,
|
|
@@ -2990,7 +2990,7 @@ const F1 = (s) => {
|
|
|
2990
2990
|
unmountOnExit: o,
|
|
2991
2991
|
onEnter: (c) => c.clientHeight
|
|
2992
2992
|
}, (c) => s && s(c, u && he.compose(c, u)));
|
|
2993
|
-
},
|
|
2993
|
+
}, n1 = N(
|
|
2994
2994
|
(l, a) => {
|
|
2995
2995
|
var u = l, { className: e, children: t, onClick: n = () => {
|
|
2996
2996
|
}, widgetName: o, activationOptions: i } = u, s = S(u, ["className", "children", "onClick", "widgetName", "activationOptions"]);
|
|
@@ -3036,7 +3036,7 @@ const F1 = (s) => {
|
|
|
3036
3036
|
ref: a
|
|
3037
3037
|
}), t);
|
|
3038
3038
|
}
|
|
3039
|
-
),
|
|
3039
|
+
), Y1 = N(
|
|
3040
3040
|
({ portalId: e = "humany-widget-overlay-portal", className: t, children: n }, o) => {
|
|
3041
3041
|
const i = Z(), s = ie(() => {
|
|
3042
3042
|
if (!i)
|
|
@@ -3047,12 +3047,12 @@ const F1 = (s) => {
|
|
|
3047
3047
|
return s ? /* @__PURE__ */ r.createElement(G, {
|
|
3048
3048
|
elementId: e,
|
|
3049
3049
|
parent: s
|
|
3050
|
-
}, /* @__PURE__ */ r.createElement(
|
|
3050
|
+
}, /* @__PURE__ */ r.createElement(r1, {
|
|
3051
3051
|
className: M("humany-widget-overlay-outlet", t),
|
|
3052
3052
|
ref: o
|
|
3053
3053
|
}, n)) : null;
|
|
3054
3054
|
}
|
|
3055
|
-
),
|
|
3055
|
+
), r1 = C.div`
|
|
3056
3056
|
background-color: #ffffff;
|
|
3057
3057
|
position: absolute;
|
|
3058
3058
|
top: 0;
|
|
@@ -3062,7 +3062,7 @@ const F1 = (s) => {
|
|
|
3062
3062
|
z-index: 10;
|
|
3063
3063
|
width: 100%;
|
|
3064
3064
|
height: 100%;
|
|
3065
|
-
`,
|
|
3065
|
+
`, j1 = (e, t, n, o, i) => e.getAsync("componentResolver").then((s) => (s.registerComponent(
|
|
3066
3066
|
t,
|
|
3067
3067
|
ft(() => n)
|
|
3068
3068
|
), wt(e, t, o || (() => {
|
|
@@ -3070,91 +3070,93 @@ const F1 = (s) => {
|
|
|
3070
3070
|
export {
|
|
3071
3071
|
Nt as AnchorLink,
|
|
3072
3072
|
ae as Button,
|
|
3073
|
-
|
|
3073
|
+
g1 as Checkbox,
|
|
3074
3074
|
Wt as ColumnContext,
|
|
3075
3075
|
Fe as ComponentNodeContext,
|
|
3076
3076
|
It as ComponentPropertyContext,
|
|
3077
|
-
|
|
3077
|
+
I1 as Confirm,
|
|
3078
3078
|
Zt as ContainerContext,
|
|
3079
|
-
|
|
3080
|
-
|
|
3081
|
-
|
|
3082
|
-
|
|
3083
|
-
|
|
3084
|
-
|
|
3079
|
+
Ft as ConversationContext,
|
|
3080
|
+
Gn as DateFormats,
|
|
3081
|
+
T1 as Drawer,
|
|
3082
|
+
Qt as DrawerAnimationType,
|
|
3083
|
+
N1 as Dropdown,
|
|
3084
|
+
an as Empty,
|
|
3085
|
+
V1 as Grid,
|
|
3085
3086
|
_e as Html,
|
|
3086
|
-
|
|
3087
|
-
|
|
3088
|
-
|
|
3089
|
-
|
|
3090
|
-
|
|
3087
|
+
un as Icon,
|
|
3088
|
+
Z1 as Input,
|
|
3089
|
+
fn as ItemList,
|
|
3090
|
+
W1 as ItemTree,
|
|
3091
|
+
Rn as Lightbox,
|
|
3091
3092
|
xe as Link,
|
|
3092
|
-
|
|
3093
|
-
|
|
3094
|
-
|
|
3093
|
+
mn as List,
|
|
3094
|
+
An as Modal,
|
|
3095
|
+
O1 as NotFound,
|
|
3095
3096
|
Ue as Overlay,
|
|
3096
|
-
|
|
3097
|
+
dn as Paragraph,
|
|
3097
3098
|
G as Portal,
|
|
3098
|
-
|
|
3099
|
+
hn as RouteLink,
|
|
3099
3100
|
Ot as RoutingContext,
|
|
3100
3101
|
Ve as StyledText,
|
|
3101
3102
|
J as SymbolBadge,
|
|
3102
|
-
|
|
3103
|
+
F1 as TabStop,
|
|
3103
3104
|
we as Text,
|
|
3104
|
-
|
|
3105
|
-
|
|
3106
|
-
|
|
3107
|
-
|
|
3108
|
-
|
|
3109
|
-
|
|
3110
|
-
|
|
3105
|
+
Qn as TextLink,
|
|
3106
|
+
A1 as Timestamp,
|
|
3107
|
+
P1 as Tooltip,
|
|
3108
|
+
K1 as TransitionComponent,
|
|
3109
|
+
q as Typography,
|
|
3110
|
+
n1 as WidgetLink,
|
|
3111
|
+
Y1 as WidgetOverlayOutlet,
|
|
3111
3112
|
P as borderTabStyle,
|
|
3112
3113
|
Ne as browser,
|
|
3113
|
-
|
|
3114
|
+
Yt as buttonCss,
|
|
3114
3115
|
je as contentBox,
|
|
3115
3116
|
V as convertToStringAttributes,
|
|
3116
|
-
|
|
3117
|
-
|
|
3117
|
+
p1 as createEmptyComponent,
|
|
3118
|
+
j1 as createReactComponent,
|
|
3118
3119
|
Tt as defaultRenderInstructions,
|
|
3119
3120
|
Rt as embeddedLinkMapper,
|
|
3120
3121
|
Oe as filterCssProps,
|
|
3121
3122
|
Ht as filterCssPropsStyle,
|
|
3122
3123
|
zt as genericHashLink,
|
|
3123
|
-
|
|
3124
|
+
B1 as genericHtml,
|
|
3124
3125
|
se as headingElement,
|
|
3125
3126
|
Bt as imageLightboxRenderer,
|
|
3126
|
-
|
|
3127
|
-
|
|
3128
|
-
|
|
3129
|
-
|
|
3130
|
-
|
|
3127
|
+
H1 as invertedHoverButton,
|
|
3128
|
+
D1 as itemList,
|
|
3129
|
+
jt as linkTabStyle,
|
|
3130
|
+
Xt as list,
|
|
3131
|
+
z1 as paddedBorderTabStyle,
|
|
3131
3132
|
Dt as processHtmlString,
|
|
3132
3133
|
he as transitionComposer,
|
|
3133
|
-
|
|
3134
|
-
|
|
3135
|
-
|
|
3136
|
-
|
|
3134
|
+
C1 as useAction,
|
|
3135
|
+
y1 as useChildren,
|
|
3136
|
+
b1 as useColumns,
|
|
3137
|
+
v1 as useComponent,
|
|
3137
3138
|
ye as useComponentDescriptor,
|
|
3138
3139
|
be as useComponentNode,
|
|
3139
|
-
|
|
3140
|
+
U as useComponentPlatform,
|
|
3140
3141
|
Z as useContainer,
|
|
3141
|
-
|
|
3142
|
-
|
|
3142
|
+
At as useContext,
|
|
3143
|
+
w1 as useConversation,
|
|
3144
|
+
E1 as useDispatch,
|
|
3143
3145
|
I as useEventListener,
|
|
3144
|
-
|
|
3146
|
+
Pt as useEvents,
|
|
3145
3147
|
O as useIsMounted,
|
|
3146
|
-
|
|
3147
|
-
|
|
3148
|
-
|
|
3148
|
+
x1 as useIsTabbing,
|
|
3149
|
+
X as useKeyPress,
|
|
3150
|
+
k1 as useLayout,
|
|
3149
3151
|
Ae as usePrevious,
|
|
3150
|
-
|
|
3151
|
-
|
|
3152
|
-
|
|
3152
|
+
$1 as useProperties,
|
|
3153
|
+
L1 as useRenderState,
|
|
3154
|
+
M1 as useRouteData,
|
|
3153
3155
|
Pe as useRouter,
|
|
3154
3156
|
Ke as useScroll,
|
|
3155
|
-
|
|
3157
|
+
S1 as useSettings,
|
|
3156
3158
|
Ye as useToggle,
|
|
3157
|
-
|
|
3159
|
+
R1 as useTransitionEnd,
|
|
3158
3160
|
ve as useUniqueMenu,
|
|
3159
3161
|
ce as useWidgetEvent
|
|
3160
3162
|
};
|