@telia-ace/widget-ui 1.0.23-next.7 → 1.0.23-next.8
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/grid.d.ts +1 -1
- package/dist/components/input.d.ts +1 -1
- package/dist/components/link.d.ts +3 -2
- package/dist/components/loader.d.ts +5 -2
- package/dist/components/modal/modal.d.ts +1 -1
- package/dist/components/route-link.d.ts +3 -2
- package/dist/components/text-link.d.ts +1 -1
- package/dist/components/widget-link.d.ts +1 -1
- package/dist/index.js +517 -543
- package/dist/index.js.map +1 -1
- package/dist/styles.d.ts +33 -13
- package/dist/utils/animations.d.ts +3 -4
- package/dist/utils/filter-css-props.d.ts +1 -1
- package/dist/utils/heading-styles.d.ts +4 -1
- package/package.json +10 -9
package/dist/index.js
CHANGED
|
@@ -20,11 +20,12 @@ var S = (e, t) => {
|
|
|
20
20
|
return n;
|
|
21
21
|
};
|
|
22
22
|
var re = (e, t, n) => (me(e, typeof t != "symbol" ? t + "" : t, n), n);
|
|
23
|
-
import
|
|
23
|
+
import { css as L, keyframes as We } from "@emotion/react";
|
|
24
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
|
|
25
|
+
import r, { forwardRef as N, createContext as _, useContext as Y, useState as k, useEffect as v, useRef as R, useCallback as H, useImperativeHandle as Ce, useMemo as ie, Component as dt, lazy as ft } from "react";
|
|
26
|
+
import y from "@emotion/styled";
|
|
26
27
|
import { CSSTransition as Ie, Transition as ht } from "react-transition-group";
|
|
27
|
-
import { Container as
|
|
28
|
+
import { Container as gt, WidgetState as pt } from "@webprovisions/platform";
|
|
28
29
|
import { ComponentPlatform as Ct, asDescriptor as yt, createEventSubscriber as bt, ComponentQuery as vt, WidgetRenderState as oe, extendComponent as wt } from "@telia-ace/widget-core";
|
|
29
30
|
import { createPortal as Et } from "react-dom";
|
|
30
31
|
import Be from "htmr";
|
|
@@ -101,7 +102,7 @@ const kt = (e) => e === "entering" || e === "entered", $t = (e) => e === "exitin
|
|
|
101
102
|
},
|
|
102
103
|
get: (e) => K[e]
|
|
103
104
|
};
|
|
104
|
-
var
|
|
105
|
+
var ge = /* @__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))(ge || {});
|
|
105
106
|
const Ne = () => {
|
|
106
107
|
const {
|
|
107
108
|
opr: e,
|
|
@@ -121,10 +122,10 @@ const Ne = () => {
|
|
|
121
122
|
const m = ((f) => f.toString() === "[object SafariRemoteNotification]")(!i || typeof i != "undefined" && i.pushNotification);
|
|
122
123
|
if (/constructor/i.test(o) || m)
|
|
123
124
|
return "safari";
|
|
124
|
-
const
|
|
125
|
-
if (
|
|
125
|
+
const g = !!s;
|
|
126
|
+
if (g)
|
|
126
127
|
return "internet-explorer";
|
|
127
|
-
if (!
|
|
128
|
+
if (!g && !!a)
|
|
128
129
|
return "edge";
|
|
129
130
|
const d = !!l && (!!l.webstore || !!l.runtime);
|
|
130
131
|
if (d)
|
|
@@ -141,7 +142,7 @@ const Ne = () => {
|
|
|
141
142
|
} else
|
|
142
143
|
t[n] = o;
|
|
143
144
|
return t;
|
|
144
|
-
}, {}),
|
|
145
|
+
}, {}), Cr = (e, t) => e.get("seoConfiguration") ? /* @__PURE__ */ r.createElement(an, h({}, t)) : null, St = (e) => new RegExp("^#", "i").test(e), Rt = (e) => (o) => {
|
|
145
146
|
var i = o, { children: t } = i, n = S(i, ["children"]);
|
|
146
147
|
const {
|
|
147
148
|
implementation: s,
|
|
@@ -152,12 +153,12 @@ const Ne = () => {
|
|
|
152
153
|
smooth: !0,
|
|
153
154
|
to: l
|
|
154
155
|
}, t);
|
|
155
|
-
const u = s.bindings.map((
|
|
156
|
+
const u = s.bindings.map((g) => g.replace(/\./g, "\\.")).join("|"), m = new RegExp(`^((http[s]?:)?//)?(${u})/([^\\s]+)`).exec(l);
|
|
156
157
|
if (m && m.length >= 4) {
|
|
157
|
-
const
|
|
158
|
-
if (s.widgets.get(
|
|
159
|
-
return /* @__PURE__ */ r.createElement(
|
|
160
|
-
widgetName:
|
|
158
|
+
const g = m[4];
|
|
159
|
+
if (s.widgets.get(g) && !g.startsWith("blob?") && !g.startsWith(a))
|
|
160
|
+
return /* @__PURE__ */ r.createElement(rr, {
|
|
161
|
+
widgetName: g
|
|
161
162
|
}, t);
|
|
162
163
|
}
|
|
163
164
|
return /* @__PURE__ */ r.createElement("a", h({}, n), t);
|
|
@@ -166,49 +167,49 @@ const Ne = () => {
|
|
|
166
167
|
return Object.keys(e).forEach((n) => {
|
|
167
168
|
n.indexOf("css-") > -1 && (t[n] = e[n]);
|
|
168
169
|
}), t;
|
|
169
|
-
}, Ht =
|
|
170
|
-
${(e) => {
|
|
170
|
+
}, Ht = (e) => {
|
|
171
171
|
let t = "";
|
|
172
172
|
return Object.keys(Oe(e)).forEach((n) => {
|
|
173
173
|
n.indexOf("css-") > -1 && (t += `${n.replace("css-", "")}:${e[n]};`);
|
|
174
|
-
}),
|
|
175
|
-
}
|
|
176
|
-
|
|
174
|
+
}), L`
|
|
175
|
+
${t}
|
|
176
|
+
`;
|
|
177
|
+
}, zt = (e, t) => {
|
|
177
178
|
let n = "";
|
|
178
179
|
const o = () => {
|
|
179
180
|
n = "";
|
|
180
|
-
}, i = (
|
|
181
|
+
}, i = (g) => {
|
|
181
182
|
const d = document.getElementById(n);
|
|
182
|
-
return d !== null ? (
|
|
183
|
-
}, s = (
|
|
183
|
+
return d !== null ? (g(d), o(), !0) : !1;
|
|
184
|
+
}, s = (g) => (g.preventDefault(), o(), e.onClick && e.onClick(g), typeof e.to == "string" && (n = e.to.split("#").slice(1).join("#")), n !== "" && i(
|
|
184
185
|
e.scroll || ((d) => e.smooth ? d.scrollIntoView({ behavior: "smooth" }) : d.scrollIntoView())
|
|
185
186
|
), !1), m = e, { scroll: a, smooth: l, to: u } = m, c = S(m, ["scroll", "smooth", "to"]);
|
|
186
187
|
return t === "a" && (c.href = "javascript:;"), /* @__PURE__ */ r.createElement(t, $(h({}, c), {
|
|
187
188
|
onClick: s
|
|
188
189
|
}), e.children);
|
|
189
|
-
}, se = (e,
|
|
190
|
-
let
|
|
191
|
-
if (["h1", "h2", "h3", "h4", "h5", "h6"].includes(
|
|
192
|
-
|
|
190
|
+
}, se = (e) => (t, n) => {
|
|
191
|
+
let o = t, i = "";
|
|
192
|
+
if (["h1", "h2", "h3", "h4", "h5", "h6"].includes(t))
|
|
193
|
+
o = t;
|
|
193
194
|
else {
|
|
194
|
-
const
|
|
195
|
-
if (
|
|
196
|
-
|
|
197
|
-
const [
|
|
198
|
-
|
|
195
|
+
const l = t.match(/h1|h2|h3|h4|h5|h6/);
|
|
196
|
+
if (l != null && l[0]) {
|
|
197
|
+
o = l[0];
|
|
198
|
+
const [u] = t.split(o);
|
|
199
|
+
i = u;
|
|
199
200
|
}
|
|
200
201
|
}
|
|
201
|
-
const
|
|
202
|
+
const a = ((l, u, c) => c[l] ? `${u}${c[l]}` : `${u}${l}`)(o, i, e.theme.typographyVariantMapping || {});
|
|
202
203
|
return L`
|
|
203
|
-
${
|
|
204
|
-
${
|
|
204
|
+
${a} {
|
|
205
|
+
${n}
|
|
205
206
|
}
|
|
206
207
|
`;
|
|
207
208
|
};
|
|
208
209
|
function Dt(e, t) {
|
|
209
210
|
return t ? Be(e, t) : Be(e);
|
|
210
211
|
}
|
|
211
|
-
const Bt = (e) => (t) => /* @__PURE__ */ r.createElement(
|
|
212
|
+
const Bt = (e) => (t) => /* @__PURE__ */ r.createElement(Hn, {
|
|
212
213
|
attrs: t,
|
|
213
214
|
htmlBody: e
|
|
214
215
|
}), Tt = (e, t) => ({
|
|
@@ -224,7 +225,7 @@ const Bt = (e) => (t) => /* @__PURE__ */ r.createElement(Rn, {
|
|
|
224
225
|
}, V(n)), {
|
|
225
226
|
ref: o
|
|
226
227
|
}), t);
|
|
227
|
-
}), Vt =
|
|
228
|
+
}), Vt = y.button`
|
|
228
229
|
-webkit-appearance: button;
|
|
229
230
|
text-transform: none;
|
|
230
231
|
overflow: visible;
|
|
@@ -237,7 +238,7 @@ const Bt = (e) => (t) => /* @__PURE__ */ r.createElement(Rn, {
|
|
|
237
238
|
line-height: normal;
|
|
238
239
|
margin: 0;
|
|
239
240
|
padding: 0;
|
|
240
|
-
`,
|
|
241
|
+
`, yr = (i) => {
|
|
241
242
|
var s = i, {
|
|
242
243
|
onChange: e = () => {
|
|
243
244
|
},
|
|
@@ -256,12 +257,12 @@ const Bt = (e) => (t) => /* @__PURE__ */ r.createElement(Rn, {
|
|
|
256
257
|
},
|
|
257
258
|
onChange: (a) => e(a.target.value, a.currentTarget.checked)
|
|
258
259
|
}, V(o)));
|
|
259
|
-
}, Zt = _(new
|
|
260
|
+
}, Zt = _(new gt()), Wt = _(1), Fe = _({
|
|
260
261
|
id: "",
|
|
261
262
|
type: "",
|
|
262
263
|
name: "",
|
|
263
264
|
branch: ""
|
|
264
|
-
}), It = _({}), Ot = _(null), Ft = _(null), ye = () => Y(Fe), Z = () => Y(Zt),
|
|
265
|
+
}), It = _({}), Ot = _(null), Ft = _(null), ye = () => Y(Fe), Z = () => Y(Zt), br = (e, t) => {
|
|
265
266
|
const n = ye().id, o = Z();
|
|
266
267
|
return (i, s) => {
|
|
267
268
|
(t || o).getAsync("actionResolver").then((a) => {
|
|
@@ -270,7 +271,7 @@ const Bt = (e) => (t) => /* @__PURE__ */ r.createElement(Rn, {
|
|
|
270
271
|
};
|
|
271
272
|
}, be = (e) => {
|
|
272
273
|
const t = Y(Fe), n = U(), [o, i] = k();
|
|
273
|
-
return
|
|
274
|
+
return v(() => {
|
|
274
275
|
if ((e || t.id) && n) {
|
|
275
276
|
const s = n.nodes.get(e || t.id);
|
|
276
277
|
i(s);
|
|
@@ -278,17 +279,17 @@ const Bt = (e) => (t) => /* @__PURE__ */ r.createElement(Rn, {
|
|
|
278
279
|
}, [e, t.id, n]), o;
|
|
279
280
|
}, O = () => {
|
|
280
281
|
const e = R(!1);
|
|
281
|
-
return
|
|
282
|
+
return v(() => (e.current = !0, () => {
|
|
282
283
|
e.current = !1;
|
|
283
284
|
}), []), e;
|
|
284
285
|
}, U = (e) => {
|
|
285
286
|
const t = Z(), [n, o] = k(null), i = O();
|
|
286
|
-
return
|
|
287
|
+
return v(() => {
|
|
287
288
|
Ct.getInstance(e || t).then((s) => {
|
|
288
289
|
i.current && o(s);
|
|
289
290
|
});
|
|
290
291
|
}, [i]), n;
|
|
291
|
-
},
|
|
292
|
+
}, vr = () => {
|
|
292
293
|
const e = be(), t = U(), [n, o] = k([]), i = O(), s = H(
|
|
293
294
|
(a) => {
|
|
294
295
|
if (t && i.current) {
|
|
@@ -298,9 +299,9 @@ const Bt = (e) => (t) => /* @__PURE__ */ r.createElement(Rn, {
|
|
|
298
299
|
},
|
|
299
300
|
[i, t, o]
|
|
300
301
|
);
|
|
301
|
-
return
|
|
302
|
+
return v(() => {
|
|
302
303
|
e && s(e);
|
|
303
|
-
}, [e, t]),
|
|
304
|
+
}, [e, t]), v(() => {
|
|
304
305
|
if (t) {
|
|
305
306
|
const [a, l] = bt(t.events);
|
|
306
307
|
return a("components:set-layout", (u, c) => {
|
|
@@ -314,9 +315,9 @@ const Bt = (e) => (t) => /* @__PURE__ */ r.createElement(Rn, {
|
|
|
314
315
|
};
|
|
315
316
|
}
|
|
316
317
|
}, [e, t, s]), n;
|
|
317
|
-
},
|
|
318
|
+
}, wr = () => Y(Wt), Er = (e, t) => {
|
|
318
319
|
const n = ye(), o = Z(), [i, s] = k(void 0), a = O(), l = e || n.type || "";
|
|
319
|
-
return
|
|
320
|
+
return v(() => {
|
|
320
321
|
if (l) {
|
|
321
322
|
let u;
|
|
322
323
|
return (t || o).getAsync("componentResolver").then((c) => {
|
|
@@ -334,9 +335,9 @@ const Bt = (e) => (t) => /* @__PURE__ */ r.createElement(Rn, {
|
|
|
334
335
|
}, [a, l, t, o]), i;
|
|
335
336
|
}, At = (e) => {
|
|
336
337
|
const t = be(e), n = U(), [o, i] = k({}), s = O();
|
|
337
|
-
return
|
|
338
|
+
return v(() => {
|
|
338
339
|
t && s.current && i(t.attributes.context);
|
|
339
|
-
}, [s, t]),
|
|
340
|
+
}, [s, t]), v(() => {
|
|
340
341
|
if (n) {
|
|
341
342
|
const a = n.events.subscribe(
|
|
342
343
|
"components:context-changed",
|
|
@@ -349,9 +350,9 @@ const Bt = (e) => (t) => /* @__PURE__ */ r.createElement(Rn, {
|
|
|
349
350
|
};
|
|
350
351
|
}
|
|
351
352
|
}, [s, n]), o;
|
|
352
|
-
},
|
|
353
|
+
}, xr = () => Y(Ft), kr = () => {
|
|
353
354
|
const e = U(), t = ye(), [n, o] = k([]), [i, s] = k();
|
|
354
|
-
return
|
|
355
|
+
return v(() => {
|
|
355
356
|
if (e && t) {
|
|
356
357
|
const a = new vt(e).withId(t.id), l = e.actions(a, t.type || Q());
|
|
357
358
|
s(l), n !== null && (n.forEach((u) => {
|
|
@@ -369,9 +370,9 @@ const Bt = (e) => (t) => /* @__PURE__ */ r.createElement(Rn, {
|
|
|
369
370
|
}, I = (e, t, n = window, o = () => !0) => {
|
|
370
371
|
const i = R(() => {
|
|
371
372
|
});
|
|
372
|
-
|
|
373
|
+
v(() => {
|
|
373
374
|
i.current = t;
|
|
374
|
-
}, [t]),
|
|
375
|
+
}, [t]), v(() => {
|
|
375
376
|
if (!(n && o()))
|
|
376
377
|
return;
|
|
377
378
|
const a = (l) => i.current(l);
|
|
@@ -382,9 +383,9 @@ const Bt = (e) => (t) => /* @__PURE__ */ r.createElement(Rn, {
|
|
|
382
383
|
}, Pt = (e) => {
|
|
383
384
|
const t = Z(), { events: n } = (e || t).get("$widget");
|
|
384
385
|
return n;
|
|
385
|
-
},
|
|
386
|
+
}, $r = () => {
|
|
386
387
|
const [e, t] = k(!1);
|
|
387
|
-
return
|
|
388
|
+
return v(() => {
|
|
388
389
|
const n = () => {
|
|
389
390
|
t(!1);
|
|
390
391
|
}, o = (i) => {
|
|
@@ -408,11 +409,11 @@ const Bt = (e) => (t) => /* @__PURE__ */ r.createElement(Rn, {
|
|
|
408
409
|
[o]
|
|
409
410
|
);
|
|
410
411
|
return I("keydown", i, window), I("keyup", s, window), n;
|
|
411
|
-
},
|
|
412
|
+
}, Lr = (e) => {
|
|
412
413
|
const t = be(e), n = U(), [o, i] = k({}), s = O();
|
|
413
|
-
return
|
|
414
|
+
return v(() => {
|
|
414
415
|
t && s.current && i(t.attributes.layout);
|
|
415
|
-
}, [t, s]),
|
|
416
|
+
}, [t, s]), v(() => {
|
|
416
417
|
if (n) {
|
|
417
418
|
const a = n.events.subscribe(
|
|
418
419
|
"components:layout-changed",
|
|
@@ -427,12 +428,12 @@ const Bt = (e) => (t) => /* @__PURE__ */ r.createElement(Rn, {
|
|
|
427
428
|
}, [n, s]), o;
|
|
428
429
|
}, Ae = (e) => {
|
|
429
430
|
const t = R();
|
|
430
|
-
return
|
|
431
|
+
return v(() => {
|
|
431
432
|
t.current = e;
|
|
432
433
|
}), t.current;
|
|
433
|
-
},
|
|
434
|
+
}, Mr = () => Y(It), Sr = (e) => {
|
|
434
435
|
const [t, n] = k(), o = Z(), i = O();
|
|
435
|
-
return
|
|
436
|
+
return v(() => {
|
|
436
437
|
let s;
|
|
437
438
|
const a = (e || o).get("$widget");
|
|
438
439
|
if (!a)
|
|
@@ -441,12 +442,12 @@ const Bt = (e) => (t) => /* @__PURE__ */ r.createElement(Rn, {
|
|
|
441
442
|
return u("renderState").then((c) => {
|
|
442
443
|
i.current && n(c);
|
|
443
444
|
}), (e || o).getAsync("actionResolver").then((c) => {
|
|
444
|
-
s = c.subscribe(l, (m,
|
|
445
|
-
switch (
|
|
445
|
+
s = c.subscribe(l, (m, g) => {
|
|
446
|
+
switch (g) {
|
|
446
447
|
case "close":
|
|
447
448
|
case "open":
|
|
448
449
|
i.current && n(
|
|
449
|
-
|
|
450
|
+
g === "open" ? oe.open : oe.closed
|
|
450
451
|
);
|
|
451
452
|
break;
|
|
452
453
|
case "hide":
|
|
@@ -457,20 +458,20 @@ const Bt = (e) => (t) => /* @__PURE__ */ r.createElement(Rn, {
|
|
|
457
458
|
s && s();
|
|
458
459
|
};
|
|
459
460
|
}, [i]), t;
|
|
460
|
-
}, Pe = () => Y(Ot),
|
|
461
|
+
}, Pe = () => Y(Ot), Rr = (e) => {
|
|
461
462
|
const t = Z(), n = Pe(), [o, i] = k({ name: "", params: {} }), s = O();
|
|
462
|
-
return
|
|
463
|
+
return v(() => {
|
|
463
464
|
const a = (e || t).get("$widget");
|
|
464
465
|
if (!a)
|
|
465
466
|
return;
|
|
466
467
|
const { events: l } = a;
|
|
467
468
|
return l.subscribe("router:change", (c, { next: { routeData: m } }) => {
|
|
468
469
|
if (s.current) {
|
|
469
|
-
const { name:
|
|
470
|
-
De(d), i({ name:
|
|
470
|
+
const { name: g, params: d } = m;
|
|
471
|
+
De(d), i({ name: g, params: d });
|
|
471
472
|
}
|
|
472
473
|
});
|
|
473
|
-
}, [s, e, t]),
|
|
474
|
+
}, [s, e, t]), v(() => {
|
|
474
475
|
if (n && n.history && s.current) {
|
|
475
476
|
const a = n.getRouteData(), { name: l, params: u } = a;
|
|
476
477
|
De(u), i({ name: l, params: u });
|
|
@@ -494,17 +495,17 @@ const Bt = (e) => (t) => /* @__PURE__ */ r.createElement(Rn, {
|
|
|
494
495
|
(c) => {
|
|
495
496
|
if (!c.cancelable)
|
|
496
497
|
return;
|
|
497
|
-
const m = c.touches[0].clientY,
|
|
498
|
-
if (!
|
|
498
|
+
const m = c.touches[0].clientY, g = a(c.target);
|
|
499
|
+
if (!g)
|
|
499
500
|
return;
|
|
500
|
-
const d =
|
|
501
|
-
(
|
|
501
|
+
const d = g.scrollTop, f = n.current - m < 0 ? "up" : "down", C = d <= 0 && f === "up", E = d >= g.scrollHeight - g.offsetHeight && f === "down";
|
|
502
|
+
(C || E) && c.preventDefault(), n.current = m;
|
|
502
503
|
},
|
|
503
504
|
[t, n]
|
|
504
505
|
);
|
|
505
506
|
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
507
|
}, Kt = `
|
|
507
|
-
overflow-y: ${Ne() ===
|
|
508
|
+
overflow-y: ${Ne() === ge.Chrome || Ne() === ge.EdgeChromium ? "overlay" : "auto"};
|
|
508
509
|
overflow-x: hidden;
|
|
509
510
|
-ms-overflow-style: none; /* IE 10+ */
|
|
510
511
|
scrollbar-width: thin; /* Firefox */
|
|
@@ -531,9 +532,9 @@ const Bt = (e) => (t) => /* @__PURE__ */ r.createElement(Rn, {
|
|
|
531
532
|
background-color: #7F7F7F;
|
|
532
533
|
}
|
|
533
534
|
}
|
|
534
|
-
`,
|
|
535
|
+
`, Hr = () => {
|
|
535
536
|
const [e, t] = k(null), n = Z(), o = O();
|
|
536
|
-
return
|
|
537
|
+
return v(() => {
|
|
537
538
|
n.get("settings").then((i) => {
|
|
538
539
|
o.current && t(i);
|
|
539
540
|
});
|
|
@@ -543,18 +544,18 @@ const Bt = (e) => (t) => /* @__PURE__ */ r.createElement(Rn, {
|
|
|
543
544
|
n(typeof i == "boolean" ? i : (s) => !s);
|
|
544
545
|
}, []);
|
|
545
546
|
return [t, o];
|
|
546
|
-
},
|
|
547
|
+
}, zr = (e) => {
|
|
547
548
|
const t = Z(), n = U(), o = t.get("widgetDOMElement"), [i, s] = k(null), [a, l] = k(null), u = O();
|
|
548
|
-
|
|
549
|
+
v(() => {
|
|
549
550
|
if (n && u.current) {
|
|
550
|
-
const m = n.nodes.all.find((d) => d.name === "root-area"),
|
|
551
|
-
if (!(
|
|
551
|
+
const m = n.nodes.all.find((d) => d.name === "root-area"), g = n.nodes.all.find((d) => d.type === "view");
|
|
552
|
+
if (!(g != null && g.attributes.properties.animation) && !(m != null && m.attributes.properties.animation))
|
|
552
553
|
e();
|
|
553
554
|
else {
|
|
554
|
-
const d = (E = "") => o == null ? void 0 : o.querySelector(`[data-node-id="${E}"]`), f = d(
|
|
555
|
+
const d = (E = "") => o == null ? void 0 : o.querySelector(`[data-node-id="${E}"]`), f = d(g == null ? void 0 : g.id);
|
|
555
556
|
f && s(f);
|
|
556
|
-
const
|
|
557
|
-
|
|
557
|
+
const C = d(m == null ? void 0 : m.id);
|
|
558
|
+
C && l(C);
|
|
558
559
|
}
|
|
559
560
|
}
|
|
560
561
|
}, [n, t, u]);
|
|
@@ -567,7 +568,7 @@ const Bt = (e) => (t) => /* @__PURE__ */ r.createElement(Rn, {
|
|
|
567
568
|
I("transitionend", c, i), I("transitionend", c, a);
|
|
568
569
|
}, ce = (e, t, n = [], o) => {
|
|
569
570
|
const i = Pt(o);
|
|
570
|
-
return
|
|
571
|
+
return v(() => {
|
|
571
572
|
if (i) {
|
|
572
573
|
const s = i.subscribe(e, t);
|
|
573
574
|
return () => {
|
|
@@ -585,94 +586,82 @@ const Bt = (e) => (t) => /* @__PURE__ */ r.createElement(Rn, {
|
|
|
585
586
|
return /* @__PURE__ */ r.createElement("span", h({
|
|
586
587
|
className: M(e, "humany-text")
|
|
587
588
|
}, V(n)), t);
|
|
588
|
-
}, je = L`
|
|
589
|
+
}, je = (e) => L`
|
|
589
590
|
display: flex;
|
|
590
591
|
justify-content: center;
|
|
591
592
|
flex-direction: column;
|
|
592
593
|
background: #ffffff;
|
|
593
|
-
border-radius: ${
|
|
594
|
-
border: ${
|
|
595
|
-
box-shadow: ${
|
|
596
|
-
${
|
|
597
|
-
`, Yt =
|
|
594
|
+
border-radius: ${e.theme.borderRadius};
|
|
595
|
+
border: ${e.theme.border};
|
|
596
|
+
box-shadow: ${e.theme.boxShadow || "none"};
|
|
597
|
+
${e["data-loading"] && "min-height: 150px;"}
|
|
598
|
+
`, Yt = (e) => {
|
|
599
|
+
var t, n, o;
|
|
600
|
+
return L`
|
|
598
601
|
cursor: pointer;
|
|
599
602
|
text-align: center;
|
|
600
603
|
border: none;
|
|
601
|
-
padding: ${(e) => {
|
|
602
|
-
var t;
|
|
603
|
-
return (t = e.theme.sizes) == null ? void 0 : t.normal;
|
|
604
|
-
}};
|
|
605
|
-
border-radius: ${(e) => e.theme.borderRadius};
|
|
606
|
-
font-family: ${(e) => {
|
|
607
|
-
var t;
|
|
608
|
-
return (t = e.theme.fonts) == null ? void 0 : t.type;
|
|
609
|
-
}};
|
|
610
|
-
font-size: ${(e) => {
|
|
611
|
-
var t;
|
|
612
|
-
return (t = e.theme.fonts) == null ? void 0 : t.normal;
|
|
613
|
-
}};
|
|
614
604
|
font-weight: 300;
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
605
|
+
padding: ${(t = e.theme.sizes) == null ? void 0 : t.normal};
|
|
606
|
+
border-radius: ${e.theme.borderRadius};
|
|
607
|
+
font-family: ${(n = e.theme.fonts) == null ? void 0 : n.type};
|
|
608
|
+
font-size: ${(o = e.theme.fonts) == null ? void 0 : o.normal};
|
|
609
|
+
`;
|
|
610
|
+
}, Dr = (e) => {
|
|
611
|
+
var a;
|
|
612
|
+
const { primaryColor: t, secondaryColor: n, active: o, theme: i, disabled: s } = e;
|
|
613
|
+
return L`
|
|
614
|
+
${Yt(e)}
|
|
615
|
+
border: 1px solid ${o ? n : t};
|
|
616
|
+
background-color: ${o ? t : n};
|
|
623
617
|
|
|
624
|
-
|
|
625
|
-
|
|
618
|
+
color: ${o ? n : t};
|
|
619
|
+
transition: background-color 200ms ease-out, color 200ms ease-out;
|
|
626
620
|
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
return (i = o.theme.fonts) == null ? void 0 : i.normal;
|
|
636
|
-
}};
|
|
637
|
-
}
|
|
621
|
+
span,
|
|
622
|
+
i,
|
|
623
|
+
p,
|
|
624
|
+
a {
|
|
625
|
+
transition: color 200ms ease-out;
|
|
626
|
+
color: ${o ? n : t};
|
|
627
|
+
font-size: ${(a = i.fonts) == null ? void 0 : a.normal};
|
|
628
|
+
}
|
|
638
629
|
|
|
639
|
-
|
|
630
|
+
${!s && L`
|
|
640
631
|
&:hover {
|
|
641
|
-
background-color: ${
|
|
642
|
-
color: ${
|
|
632
|
+
background-color: ${t};
|
|
633
|
+
color: ${n};
|
|
643
634
|
|
|
644
635
|
span,
|
|
645
636
|
i,
|
|
646
637
|
p,
|
|
647
638
|
a {
|
|
648
|
-
color: ${
|
|
639
|
+
color: ${n};
|
|
649
640
|
}
|
|
650
641
|
}
|
|
651
642
|
|
|
652
643
|
&:focus-visible {
|
|
653
|
-
${P};
|
|
644
|
+
${P(e)};
|
|
654
645
|
}
|
|
655
646
|
`}
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
var t;
|
|
659
|
-
return
|
|
660
|
-
}
|
|
661
|
-
color: ${(e)
|
|
662
|
-
var t, n;
|
|
663
|
-
return (n = (t = e.theme.accessibility) == null ? void 0 : t.colors) == null ? void 0 : n.inactiveText;
|
|
664
|
-
}};
|
|
647
|
+
`;
|
|
648
|
+
}, P = (e) => {
|
|
649
|
+
var t, n, o;
|
|
650
|
+
return L`
|
|
651
|
+
outline: ${(t = e.theme.accessibility) == null ? void 0 : t.border};
|
|
652
|
+
color: ${(o = (n = e.theme.accessibility) == null ? void 0 : n.colors) == null ? void 0 : o.inactiveText};
|
|
665
653
|
border-color: transparent;
|
|
666
|
-
|
|
667
|
-
|
|
654
|
+
`;
|
|
655
|
+
}, jt = (e) => L`
|
|
656
|
+
${P(e)}
|
|
668
657
|
text-decoration: underline;
|
|
669
|
-
`,
|
|
670
|
-
${P}
|
|
671
|
-
outline-offset: ${(e) => {
|
|
658
|
+
`, Br = (e) => {
|
|
672
659
|
var t;
|
|
673
|
-
return
|
|
674
|
-
}
|
|
675
|
-
|
|
660
|
+
return L`
|
|
661
|
+
${P(e)}
|
|
662
|
+
outline-offset: ${(t = e.theme.sizes) == null ? void 0 : t.small};
|
|
663
|
+
`;
|
|
664
|
+
}, Ee = y(ae)`
|
|
676
665
|
position: absolute;
|
|
677
666
|
top: ${(e) => {
|
|
678
667
|
var t;
|
|
@@ -700,7 +689,7 @@ const Bt = (e) => (t) => /* @__PURE__ */ r.createElement(Rn, {
|
|
|
700
689
|
height: 15px;
|
|
701
690
|
box-sizing: content-box;
|
|
702
691
|
}
|
|
703
|
-
`, Ve =
|
|
692
|
+
`, Ve = y(we)`
|
|
704
693
|
font-size: ${(e) => {
|
|
705
694
|
var t;
|
|
706
695
|
return (t = e.theme.fonts) == null ? void 0 : t.normal;
|
|
@@ -711,15 +700,14 @@ const Bt = (e) => (t) => /* @__PURE__ */ r.createElement(Rn, {
|
|
|
711
700
|
var t;
|
|
712
701
|
return (t = e.theme.colors) == null ? void 0 : t.text;
|
|
713
702
|
}};
|
|
714
|
-
`, Xt =
|
|
703
|
+
`, Xt = (e) => {
|
|
704
|
+
var t;
|
|
705
|
+
return L`
|
|
715
706
|
padding: 0;
|
|
716
707
|
margin: 0;
|
|
717
708
|
list-style: none;
|
|
718
709
|
> li {
|
|
719
|
-
margin: 0 0 ${(e)
|
|
720
|
-
var t;
|
|
721
|
-
return (t = e.theme.sizes) == null ? void 0 : t.normal;
|
|
722
|
-
}};
|
|
710
|
+
margin: 0 0 ${(t = e.theme.sizes) == null ? void 0 : t.normal};
|
|
723
711
|
white-space: nowrap;
|
|
724
712
|
text-overflow: ellipsis;
|
|
725
713
|
min-width: 0;
|
|
@@ -733,43 +721,32 @@ const Bt = (e) => (t) => /* @__PURE__ */ r.createElement(Rn, {
|
|
|
733
721
|
> li:last-child {
|
|
734
722
|
margin: 0;
|
|
735
723
|
}
|
|
736
|
-
|
|
724
|
+
`;
|
|
725
|
+
}, Tr = (e) => {
|
|
726
|
+
var t, n, o, i;
|
|
727
|
+
return L`
|
|
737
728
|
> div {
|
|
738
|
-
${se(
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
margin: 0 0 ${(e)
|
|
742
|
-
|
|
743
|
-
return (t = e.theme.sizes) == null ? void 0 : t.normal;
|
|
744
|
-
}};
|
|
745
|
-
font-size: ${(e) => {
|
|
746
|
-
var t;
|
|
747
|
-
return (t = e.theme.fonts) == null ? void 0 : t.medium;
|
|
748
|
-
}};
|
|
729
|
+
${se(e)(
|
|
730
|
+
"> h1",
|
|
731
|
+
L`
|
|
732
|
+
margin: 0 0 ${(t = e.theme.sizes) == null ? void 0 : t.normal};
|
|
733
|
+
font-size: ${(n = e.theme.fonts) == null ? void 0 : n.medium};
|
|
749
734
|
font-weight: normal;
|
|
750
735
|
line-height: 1.8em;
|
|
751
|
-
color: ${(e)
|
|
752
|
-
var t;
|
|
753
|
-
return (t = e.theme.colors) == null ? void 0 : t.text;
|
|
754
|
-
}};
|
|
736
|
+
color: ${(o = e.theme.colors) == null ? void 0 : o.text};
|
|
755
737
|
`
|
|
756
|
-
)}
|
|
738
|
+
)}
|
|
757
739
|
}
|
|
758
740
|
> ul {
|
|
759
|
-
${Xt}
|
|
741
|
+
${Xt(e)}
|
|
760
742
|
}
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
L`
|
|
743
|
+
${se(e)(
|
|
744
|
+
"h1",
|
|
745
|
+
L`
|
|
765
746
|
display: flex;
|
|
766
747
|
align-items: center;
|
|
767
|
-
|
|
768
748
|
i {
|
|
769
|
-
margin: 7px ${(e)
|
|
770
|
-
var t;
|
|
771
|
-
return (t = e.theme.sizes) == null ? void 0 : t.normal;
|
|
772
|
-
}} 0 0;
|
|
749
|
+
margin: 7px ${(i = e.theme.sizes) == null ? void 0 : i.normal} 0 0;
|
|
773
750
|
width: 24px;
|
|
774
751
|
display: inline-block;
|
|
775
752
|
vertical-align: text-bottom;
|
|
@@ -779,18 +756,15 @@ const Bt = (e) => (t) => /* @__PURE__ */ r.createElement(Rn, {
|
|
|
779
756
|
text-align: center;
|
|
780
757
|
}
|
|
781
758
|
`
|
|
782
|
-
)}
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
var t;
|
|
786
|
-
return
|
|
787
|
-
}
|
|
759
|
+
)}
|
|
760
|
+
`;
|
|
761
|
+
}, Nr = (e) => {
|
|
762
|
+
var t, n, o, i, s, a;
|
|
763
|
+
return L`
|
|
764
|
+
font-size: ${(t = e.theme.fonts) == null ? void 0 : t.normal};
|
|
788
765
|
font-weight: 300;
|
|
789
766
|
line-height: 1.5em;
|
|
790
|
-
color: ${(e)
|
|
791
|
-
var t;
|
|
792
|
-
return (t = e.theme.colors) == null ? void 0 : t.text;
|
|
793
|
-
}};
|
|
767
|
+
color: ${(n = e.theme.colors) == null ? void 0 : n.text};
|
|
794
768
|
|
|
795
769
|
h1,
|
|
796
770
|
h2,
|
|
@@ -811,12 +785,9 @@ const Bt = (e) => (t) => /* @__PURE__ */ r.createElement(Rn, {
|
|
|
811
785
|
}
|
|
812
786
|
|
|
813
787
|
a {
|
|
814
|
-
color: ${(e)
|
|
815
|
-
var t;
|
|
816
|
-
return (t = e.theme.colors) == null ? void 0 : t.link;
|
|
817
|
-
}};
|
|
788
|
+
color: ${(o = e.theme.colors) == null ? void 0 : o.link};
|
|
818
789
|
&:focus-visible {
|
|
819
|
-
${jt};
|
|
790
|
+
${jt(e)};
|
|
820
791
|
}
|
|
821
792
|
}
|
|
822
793
|
|
|
@@ -827,30 +798,22 @@ const Bt = (e) => (t) => /* @__PURE__ */ r.createElement(Rn, {
|
|
|
827
798
|
|
|
828
799
|
p {
|
|
829
800
|
word-break: break-word;
|
|
830
|
-
margin: ${(e)
|
|
831
|
-
var t;
|
|
832
|
-
return (t = e.theme.sizes) == null ? void 0 : t.normal;
|
|
833
|
-
}} 0;
|
|
801
|
+
margin: ${(i = e.theme.sizes) == null ? void 0 : i.normal} 0;
|
|
834
802
|
}
|
|
835
803
|
|
|
836
804
|
p:first-child {
|
|
837
|
-
margin: 0 0 ${(e)
|
|
838
|
-
var t;
|
|
839
|
-
return (t = e.theme.sizes) == null ? void 0 : t.normal;
|
|
840
|
-
}};
|
|
805
|
+
margin: 0 0 ${(s = e.theme.sizes) == null ? void 0 : s.normal};
|
|
841
806
|
}
|
|
842
807
|
|
|
843
808
|
p:last-child {
|
|
844
|
-
margin: ${(e)
|
|
845
|
-
var t;
|
|
846
|
-
return (t = e.theme.sizes) == null ? void 0 : t.normal;
|
|
847
|
-
}} 0 0;
|
|
809
|
+
margin: ${(a = e.theme.sizes) == null ? void 0 : a.normal} 0 0;
|
|
848
810
|
}
|
|
849
811
|
|
|
850
812
|
p:only-child {
|
|
851
813
|
margin: 0;
|
|
852
814
|
}
|
|
853
|
-
|
|
815
|
+
`;
|
|
816
|
+
}, G = ({
|
|
854
817
|
elementId: e = "humany-portal-elements",
|
|
855
818
|
parent: t = document.body,
|
|
856
819
|
children: n
|
|
@@ -859,7 +822,7 @@ const Bt = (e) => (t) => /* @__PURE__ */ r.createElement(Rn, {
|
|
|
859
822
|
const i = document.getElementById(e) || document.createElement("div");
|
|
860
823
|
return i.id = e, i;
|
|
861
824
|
});
|
|
862
|
-
return
|
|
825
|
+
return v(() => (t.appendChild(o), () => {
|
|
863
826
|
o.childElementCount <= 1 && t.removeChild(o);
|
|
864
827
|
}), [o]), Et(n, o);
|
|
865
828
|
}, J = (l) => {
|
|
@@ -881,7 +844,7 @@ const Bt = (e) => (t) => /* @__PURE__ */ r.createElement(Rn, {
|
|
|
881
844
|
"elementStyle",
|
|
882
845
|
"className"
|
|
883
846
|
]);
|
|
884
|
-
const { type: c, content: m } = o,
|
|
847
|
+
const { type: c, content: m } = o, g = {
|
|
885
848
|
"aria-label": e,
|
|
886
849
|
role: "presentation"
|
|
887
850
|
};
|
|
@@ -898,7 +861,7 @@ const Bt = (e) => (t) => /* @__PURE__ */ r.createElement(Rn, {
|
|
|
898
861
|
className: M(s, "humany-icon", "humany-custom-icon"),
|
|
899
862
|
title: e,
|
|
900
863
|
style: h(h({}, d), i)
|
|
901
|
-
},
|
|
864
|
+
}, g), a));
|
|
902
865
|
}
|
|
903
866
|
case "Svg": {
|
|
904
867
|
const d = $(h({
|
|
@@ -1377,9 +1340,9 @@ const Bt = (e) => (t) => /* @__PURE__ */ r.createElement(Rn, {
|
|
|
1377
1340
|
return e ? /* @__PURE__ */ r.createElement("i", h(h({
|
|
1378
1341
|
className: M(s, "humany-letter-symbol"),
|
|
1379
1342
|
title: e
|
|
1380
|
-
},
|
|
1343
|
+
}, g), a), e.substring(0, 2)) : null;
|
|
1381
1344
|
}
|
|
1382
|
-
}, _t =
|
|
1345
|
+
}, _t = y.svg`
|
|
1383
1346
|
transform: rotate(180deg);
|
|
1384
1347
|
`, Ut = {
|
|
1385
1348
|
h1: "h1",
|
|
@@ -1396,9 +1359,9 @@ const Bt = (e) => (t) => /* @__PURE__ */ r.createElement(Rn, {
|
|
|
1396
1359
|
className: n,
|
|
1397
1360
|
as: a
|
|
1398
1361
|
}, o);
|
|
1399
|
-
}, qt =
|
|
1362
|
+
}, qt = y.span``;
|
|
1400
1363
|
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,
|
|
1364
|
+
const Gt = 300, Vr = ({
|
|
1402
1365
|
className: e,
|
|
1403
1366
|
children: t,
|
|
1404
1367
|
header: n,
|
|
@@ -1410,27 +1373,27 @@ const Gt = 300, T1 = ({
|
|
|
1410
1373
|
type: "slide-in-bottom"
|
|
1411
1374
|
}
|
|
1412
1375
|
}) => {
|
|
1413
|
-
const { duration: u = Gt } = l, c = R(), m = R(), [
|
|
1414
|
-
|
|
1376
|
+
const { duration: u = Gt } = l, c = R(), m = R(), [g, d] = Ke(!0), [f, C] = Ye(), E = Ae(f), b = R(Q());
|
|
1377
|
+
v(() => {
|
|
1415
1378
|
o && o(f);
|
|
1416
1379
|
}, [f]);
|
|
1417
|
-
const
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
}, [
|
|
1380
|
+
const w = X("Escape");
|
|
1381
|
+
v(() => {
|
|
1382
|
+
w && C(!1);
|
|
1383
|
+
}, [w]), I(
|
|
1421
1384
|
"click",
|
|
1422
1385
|
(T) => {
|
|
1423
1386
|
const { target: z } = T;
|
|
1424
|
-
!m.current || !d.current || !z || m.current !== z && d.current !== z && !d.current.contains(z) && !m.current.contains(z) &&
|
|
1387
|
+
!m.current || !d.current || !z || m.current !== z && d.current !== z && !d.current.contains(z) && !m.current.contains(z) && C(!1);
|
|
1425
1388
|
},
|
|
1426
1389
|
window
|
|
1427
1390
|
);
|
|
1428
|
-
const
|
|
1429
|
-
|
|
1391
|
+
const p = ve(b.current, () => {
|
|
1392
|
+
C(!1);
|
|
1430
1393
|
});
|
|
1431
1394
|
ce("router:changed", () => {
|
|
1432
|
-
|
|
1433
|
-
}),
|
|
1395
|
+
C(!1);
|
|
1396
|
+
}), v(() => {
|
|
1434
1397
|
f && c.current ? c.current.focus() : !f && m.current && E && m.current.focus();
|
|
1435
1398
|
}, [f, c.current, m.current]);
|
|
1436
1399
|
const B = on[l.type];
|
|
@@ -1446,13 +1409,13 @@ const Gt = 300, T1 = ({
|
|
|
1446
1409
|
className: M(
|
|
1447
1410
|
e,
|
|
1448
1411
|
"humany-drawer",
|
|
1449
|
-
`humany-drawer-${
|
|
1412
|
+
`humany-drawer-${b.current}`
|
|
1450
1413
|
),
|
|
1451
1414
|
clientHeight: document.body.clientHeight,
|
|
1452
|
-
css:
|
|
1415
|
+
css: g,
|
|
1453
1416
|
ref: d
|
|
1454
1417
|
}, /* @__PURE__ */ r.createElement(Ee, {
|
|
1455
|
-
onClick: () =>
|
|
1418
|
+
onClick: () => C(!1),
|
|
1456
1419
|
tabIndex: 0,
|
|
1457
1420
|
ref: c,
|
|
1458
1421
|
"aria-label": a
|
|
@@ -1463,13 +1426,13 @@ const Gt = 300, T1 = ({
|
|
|
1463
1426
|
className: "humany-drawer-header"
|
|
1464
1427
|
}, n), t))), r.cloneElement(i, {
|
|
1465
1428
|
onClick: (T) => {
|
|
1466
|
-
|
|
1429
|
+
C(), p();
|
|
1467
1430
|
},
|
|
1468
1431
|
ref: m,
|
|
1469
1432
|
"aria-label": i.props.title,
|
|
1470
1433
|
"aria-expanded": f
|
|
1471
1434
|
}));
|
|
1472
|
-
}, le =
|
|
1435
|
+
}, le = y.div`
|
|
1473
1436
|
font-family: ${(e) => {
|
|
1474
1437
|
var t;
|
|
1475
1438
|
return (t = e.theme.fonts) == null ? void 0 : t.type;
|
|
@@ -1486,8 +1449,11 @@ const Gt = 300, T1 = ({
|
|
|
1486
1449
|
box-shadow: ${(e) => e.theme.boxShadow};
|
|
1487
1450
|
background: #ffffff;
|
|
1488
1451
|
${(e) => e.css && e.css}
|
|
1489
|
-
`, Jt =
|
|
1490
|
-
padding: ${(e) =>
|
|
1452
|
+
`, Jt = y(q)`
|
|
1453
|
+
padding: ${(e) => {
|
|
1454
|
+
var t;
|
|
1455
|
+
return (t = e.theme.sizes) == null ? void 0 : t.normal;
|
|
1456
|
+
}};
|
|
1491
1457
|
margin: 0;
|
|
1492
1458
|
text-align: center;
|
|
1493
1459
|
border-bottom: #eeeeee 1px solid;
|
|
@@ -1506,9 +1472,9 @@ const Gt = 300, T1 = ({
|
|
|
1506
1472
|
return (t = e.theme.fonts) == null ? void 0 : t.normal;
|
|
1507
1473
|
}};
|
|
1508
1474
|
line-height: 1.2em;
|
|
1509
|
-
`, ue = L`
|
|
1510
|
-
transition: ${
|
|
1511
|
-
`, en =
|
|
1475
|
+
`, ue = (e) => L`
|
|
1476
|
+
transition: ${e.duration}ms;
|
|
1477
|
+
`, en = y(le)`
|
|
1512
1478
|
max-height: 0;
|
|
1513
1479
|
${ue}
|
|
1514
1480
|
|
|
@@ -1525,7 +1491,7 @@ const Gt = 300, T1 = ({
|
|
|
1525
1491
|
&.humany-drawer-transition-exit-done {
|
|
1526
1492
|
max-height: 0;
|
|
1527
1493
|
}
|
|
1528
|
-
`, tn =
|
|
1494
|
+
`, tn = y(le)`
|
|
1529
1495
|
${ue}
|
|
1530
1496
|
transform: translateX(100%);
|
|
1531
1497
|
height: ${(e) => e.fullScreen ? "100%" : "auto"};
|
|
@@ -1543,7 +1509,7 @@ const Gt = 300, T1 = ({
|
|
|
1543
1509
|
&.humany-drawer-transition-exit-done {
|
|
1544
1510
|
transform: translateX(100%);
|
|
1545
1511
|
}
|
|
1546
|
-
`, nn =
|
|
1512
|
+
`, nn = y(le)`
|
|
1547
1513
|
${ue}
|
|
1548
1514
|
transform: translateX(-100%);
|
|
1549
1515
|
height: ${(e) => e.fullScreen ? "100%" : "auto"};
|
|
@@ -1561,7 +1527,7 @@ const Gt = 300, T1 = ({
|
|
|
1561
1527
|
&.humany-drawer-transition-exit-done {
|
|
1562
1528
|
transform: translateX(-100%);
|
|
1563
1529
|
}
|
|
1564
|
-
`, rn =
|
|
1530
|
+
`, rn = y(le)`
|
|
1565
1531
|
${ue}
|
|
1566
1532
|
bottom: unset;
|
|
1567
1533
|
top: 0;
|
|
@@ -1595,7 +1561,7 @@ const Gt = 300, T1 = ({
|
|
|
1595
1561
|
},
|
|
1596
1562
|
[o, s, i, a]
|
|
1597
1563
|
);
|
|
1598
|
-
return
|
|
1564
|
+
return v(() => {
|
|
1599
1565
|
if (!n || !e)
|
|
1600
1566
|
return;
|
|
1601
1567
|
const u = n.getBoundingClientRect(), c = {
|
|
@@ -1604,16 +1570,16 @@ const Gt = 300, T1 = ({
|
|
|
1604
1570
|
};
|
|
1605
1571
|
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
1572
|
}, [n, e, t]), [{ x: o, y: s }, l];
|
|
1607
|
-
},
|
|
1573
|
+
}, Zr = r.forwardRef(
|
|
1608
1574
|
(a, s) => {
|
|
1609
1575
|
var l = a, { className: e = "", children: t = null, trigger: n, closeButtonAriaLabel: o } = l, i = S(l, ["className", "children", "trigger", "closeButtonAriaLabel"]);
|
|
1610
1576
|
const u = R(), c = R(), m = R();
|
|
1611
1577
|
Ce(s, () => m.current, [m.current]);
|
|
1612
|
-
const
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
}, [
|
|
1616
|
-
d && u.current ? u.current.focus() : !d && c.current &&
|
|
1578
|
+
const g = R(Q()), [d, f] = k(!1), C = Ae(d), [{ x: E, y: b }, w] = Xe(d, g.current, m.current), p = X("Escape");
|
|
1579
|
+
v(() => {
|
|
1580
|
+
p && f(!1);
|
|
1581
|
+
}, [p]), v(() => {
|
|
1582
|
+
d && u.current ? u.current.focus() : !d && c.current && C && c.current.focus();
|
|
1617
1583
|
}, [d, u.current, c.current]), I(
|
|
1618
1584
|
"click",
|
|
1619
1585
|
(z) => {
|
|
@@ -1624,23 +1590,23 @@ const Gt = 300, T1 = ({
|
|
|
1624
1590
|
), ce("router:changed", () => {
|
|
1625
1591
|
f(!1);
|
|
1626
1592
|
});
|
|
1627
|
-
const B = ve(
|
|
1593
|
+
const B = ve(g.current, () => {
|
|
1628
1594
|
f(!1);
|
|
1629
1595
|
}), T = H(
|
|
1630
1596
|
(z) => {
|
|
1631
|
-
z.stopPropagation(),
|
|
1597
|
+
z.stopPropagation(), w(z, c.current), f(!d), B();
|
|
1632
1598
|
},
|
|
1633
|
-
[B,
|
|
1599
|
+
[B, w, f]
|
|
1634
1600
|
);
|
|
1635
1601
|
return /* @__PURE__ */ r.createElement(r.Fragment, null, d && /* @__PURE__ */ r.createElement(G, null, /* @__PURE__ */ r.createElement(sn, $(h({
|
|
1636
1602
|
className: M(
|
|
1637
1603
|
"humany-dropdown",
|
|
1638
|
-
`humany-dropdown-${
|
|
1604
|
+
`humany-dropdown-${g.current}`,
|
|
1639
1605
|
e
|
|
1640
1606
|
)
|
|
1641
1607
|
}, i), {
|
|
1642
1608
|
x: E,
|
|
1643
|
-
y:
|
|
1609
|
+
y: b,
|
|
1644
1610
|
ref: m
|
|
1645
1611
|
}), /* @__PURE__ */ r.createElement(Ee, {
|
|
1646
1612
|
onClick: () => f(!1),
|
|
@@ -1656,7 +1622,7 @@ const Gt = 300, T1 = ({
|
|
|
1656
1622
|
"aria-expanded": d
|
|
1657
1623
|
}));
|
|
1658
1624
|
}
|
|
1659
|
-
), sn =
|
|
1625
|
+
), sn = y.div`
|
|
1660
1626
|
${je}
|
|
1661
1627
|
padding: ${(e) => {
|
|
1662
1628
|
var t;
|
|
@@ -1674,9 +1640,9 @@ const Gt = 300, T1 = ({
|
|
|
1674
1640
|
`, an = (t) => {
|
|
1675
1641
|
var e = S(t, []);
|
|
1676
1642
|
return /* @__PURE__ */ r.createElement(cn, h({}, e));
|
|
1677
|
-
}, cn =
|
|
1643
|
+
}, cn = y.div`
|
|
1678
1644
|
display: none;
|
|
1679
|
-
`,
|
|
1645
|
+
`, Wr = N(
|
|
1680
1646
|
(a, s) => {
|
|
1681
1647
|
var l = a, { children: e, columns: t, gap: n, className: o } = l, i = S(l, ["children", "columns", "gap", "className"]);
|
|
1682
1648
|
return /* @__PURE__ */ r.createElement(ln, $(h(h({
|
|
@@ -1687,7 +1653,7 @@ const Gt = 300, T1 = ({
|
|
|
1687
1653
|
ref: s
|
|
1688
1654
|
}), e);
|
|
1689
1655
|
}
|
|
1690
|
-
), ln =
|
|
1656
|
+
), ln = y.div`
|
|
1691
1657
|
display: grid;
|
|
1692
1658
|
grid-template-columns: repeat(${(e) => e["data-columns"]}, 1fr);
|
|
1693
1659
|
grid-gap: ${(e) => e["data-gap"]};
|
|
@@ -1698,10 +1664,10 @@ const Gt = 300, T1 = ({
|
|
|
1698
1664
|
(s, i) => {
|
|
1699
1665
|
var a = s, { htmlParseInstruction: e = null, className: t, html: n } = a, o = S(a, ["htmlParseInstruction", "className", "html"]);
|
|
1700
1666
|
const l = Z(), [u, c] = k();
|
|
1701
|
-
return
|
|
1702
|
-
const m = Tt(l, n),
|
|
1667
|
+
return v(() => {
|
|
1668
|
+
const m = Tt(l, n), g = $(h(h({}, m), e), {
|
|
1703
1669
|
transform: h(h({}, m.transform), e == null ? void 0 : e.transform)
|
|
1704
|
-
}), d = Dt(n,
|
|
1670
|
+
}), d = Dt(n, g);
|
|
1705
1671
|
c(d);
|
|
1706
1672
|
}, [n, e]), /* @__PURE__ */ r.createElement("div", $(h({
|
|
1707
1673
|
className: M(t, "humany-html")
|
|
@@ -1726,9 +1692,9 @@ const Gt = 300, T1 = ({
|
|
|
1726
1692
|
title: t,
|
|
1727
1693
|
role: o
|
|
1728
1694
|
}, V(i)));
|
|
1729
|
-
},
|
|
1730
|
-
(
|
|
1731
|
-
var d =
|
|
1695
|
+
}, Ir = N(
|
|
1696
|
+
(g, m) => {
|
|
1697
|
+
var d = g, {
|
|
1732
1698
|
className: e = "",
|
|
1733
1699
|
autoFocus: t = !1,
|
|
1734
1700
|
onFocusChange: n = () => {
|
|
@@ -1753,29 +1719,29 @@ const Gt = 300, T1 = ({
|
|
|
1753
1719
|
"disabled",
|
|
1754
1720
|
"type"
|
|
1755
1721
|
]);
|
|
1756
|
-
const [f,
|
|
1757
|
-
Ce(m, () => E.current),
|
|
1758
|
-
var
|
|
1759
|
-
t && ((
|
|
1722
|
+
const [f, C] = k(t), E = R();
|
|
1723
|
+
Ce(m, () => E.current), v(() => {
|
|
1724
|
+
var p;
|
|
1725
|
+
t && ((p = E == null ? void 0 : E.current) == null || p.focus());
|
|
1760
1726
|
}, [t, m, E]);
|
|
1761
|
-
const
|
|
1762
|
-
|
|
1763
|
-
},
|
|
1727
|
+
const b = (p, B) => {
|
|
1728
|
+
C(p), n && n(p), s && p && B.target.select();
|
|
1729
|
+
}, w = $(h({}, V(c)), {
|
|
1764
1730
|
disabled: l,
|
|
1765
1731
|
autoFocus: t,
|
|
1766
1732
|
type: u,
|
|
1767
|
-
onKeyDown: (
|
|
1768
|
-
|
|
1733
|
+
onKeyDown: (p) => {
|
|
1734
|
+
p.key === "Enter" && f && o(p), p.key === "Escape" && f && i(p);
|
|
1769
1735
|
},
|
|
1770
|
-
onFocus: (
|
|
1771
|
-
onBlur: (
|
|
1772
|
-
onChange: (
|
|
1736
|
+
onFocus: (p) => b(!0, p),
|
|
1737
|
+
onBlur: (p) => b(!1, p),
|
|
1738
|
+
onChange: (p) => a(p.target.value || ""),
|
|
1773
1739
|
className: M(e, "humany-input"),
|
|
1774
1740
|
"data-type": u
|
|
1775
1741
|
});
|
|
1776
|
-
return u !== "textarea" ? /* @__PURE__ */ r.createElement("input", $(h({},
|
|
1742
|
+
return u !== "textarea" ? /* @__PURE__ */ r.createElement("input", $(h({}, w), {
|
|
1777
1743
|
ref: E
|
|
1778
|
-
})) : /* @__PURE__ */ r.createElement("textarea", $(h({},
|
|
1744
|
+
})) : /* @__PURE__ */ r.createElement("textarea", $(h({}, w), {
|
|
1779
1745
|
ref: E
|
|
1780
1746
|
}));
|
|
1781
1747
|
}
|
|
@@ -1812,7 +1778,7 @@ const Gt = 300, T1 = ({
|
|
|
1812
1778
|
}
|
|
1813
1779
|
), fn = N(
|
|
1814
1780
|
(f, d) => {
|
|
1815
|
-
var
|
|
1781
|
+
var C = f, {
|
|
1816
1782
|
header: e,
|
|
1817
1783
|
customHeader: t,
|
|
1818
1784
|
text: n,
|
|
@@ -1824,7 +1790,7 @@ const Gt = 300, T1 = ({
|
|
|
1824
1790
|
renderItem: u,
|
|
1825
1791
|
renderLi: c,
|
|
1826
1792
|
ulProps: m
|
|
1827
|
-
} =
|
|
1793
|
+
} = C, g = S(C, [
|
|
1828
1794
|
"header",
|
|
1829
1795
|
"customHeader",
|
|
1830
1796
|
"text",
|
|
@@ -1840,7 +1806,7 @@ const Gt = 300, T1 = ({
|
|
|
1840
1806
|
return /* @__PURE__ */ r.createElement("div", $(h({
|
|
1841
1807
|
className: M(i, "humany-item-list"),
|
|
1842
1808
|
"data-item-count": l.length
|
|
1843
|
-
}, V(
|
|
1809
|
+
}, V(g)), {
|
|
1844
1810
|
ref: d
|
|
1845
1811
|
}), t || (e || n || o ? /* @__PURE__ */ r.createElement(dn, {
|
|
1846
1812
|
symbol: a,
|
|
@@ -1853,7 +1819,7 @@ const Gt = 300, T1 = ({
|
|
|
1853
1819
|
renderLi: c
|
|
1854
1820
|
}, m)) : null, s);
|
|
1855
1821
|
}
|
|
1856
|
-
),
|
|
1822
|
+
), Or = ({
|
|
1857
1823
|
className: e = "",
|
|
1858
1824
|
tree: t,
|
|
1859
1825
|
renderItem: n,
|
|
@@ -1863,16 +1829,16 @@ const Gt = 300, T1 = ({
|
|
|
1863
1829
|
ulProps: a,
|
|
1864
1830
|
liProps: l
|
|
1865
1831
|
}) => {
|
|
1866
|
-
const u = (
|
|
1832
|
+
const u = (g) => !c(g), c = (g) => !g || g.length < 1 ? !0 : !g.some((d) => !!d.selected), m = (g, d) => /* @__PURE__ */ r.createElement(fn, {
|
|
1867
1833
|
className: M(`humany-item-tree-level-${d}`),
|
|
1868
|
-
items:
|
|
1834
|
+
items: g,
|
|
1869
1835
|
ulProps: a,
|
|
1870
1836
|
renderItem: (f) => {
|
|
1871
|
-
const { id:
|
|
1872
|
-
return !s && !
|
|
1873
|
-
key:
|
|
1837
|
+
const { id: C, selected: E, items: b, matches: w } = f, p = E && c(b);
|
|
1838
|
+
return !s && !w ? null : /* @__PURE__ */ r.createElement("li", $(h({}, V(l)), {
|
|
1839
|
+
key: C,
|
|
1874
1840
|
className: "humany-item-tree-item"
|
|
1875
|
-
}), n && n(f, d,
|
|
1841
|
+
}), n && n(f, d, p), b && (i || p) && m(b, d + 1));
|
|
1876
1842
|
}
|
|
1877
1843
|
});
|
|
1878
1844
|
return /* @__PURE__ */ r.createElement("div", {
|
|
@@ -1882,7 +1848,7 @@ const Gt = 300, T1 = ({
|
|
|
1882
1848
|
(u, l) => {
|
|
1883
1849
|
var c = u, { className: e, onClick: t = () => {
|
|
1884
1850
|
}, name: n = "", to: o = "", params: i = {}, children: s } = c, a = S(c, ["className", "onClick", "name", "to", "params", "children"]);
|
|
1885
|
-
const m = Pe(),
|
|
1851
|
+
const m = Pe(), g = Z();
|
|
1886
1852
|
if (!m)
|
|
1887
1853
|
return null;
|
|
1888
1854
|
let d = "";
|
|
@@ -1895,16 +1861,16 @@ const Gt = 300, T1 = ({
|
|
|
1895
1861
|
ref: null
|
|
1896
1862
|
});
|
|
1897
1863
|
if (n) {
|
|
1898
|
-
if (!(m.routes || []).find((
|
|
1864
|
+
if (!(m.routes || []).find((w) => w.name === n))
|
|
1899
1865
|
return process.env.NODE_ENV !== "production" && de.warn(`Unable to create route. No route named "${n}" exist.`), /* @__PURE__ */ r.createElement(fe, $(h({}, f), {
|
|
1900
|
-
onClick: (
|
|
1901
|
-
t(
|
|
1866
|
+
onClick: (w) => {
|
|
1867
|
+
t(w), w.preventDefault(), process.env.NODE_ENV !== "production" && de.warn(`Unable to navigate. No route named "${n}" exist.`);
|
|
1902
1868
|
}
|
|
1903
1869
|
}), s);
|
|
1904
|
-
const
|
|
1870
|
+
const b = Object.keys(i).reduce((w, p) => (w[p] = typeof i[p] == "string" ? encodeURIComponent(i[p]) : i[p], w), {});
|
|
1905
1871
|
try {
|
|
1906
|
-
d = m.generate(n,
|
|
1907
|
-
} catch (
|
|
1872
|
+
d = m.generate(n, b || {});
|
|
1873
|
+
} catch (w) {
|
|
1908
1874
|
return /* @__PURE__ */ r.createElement(fe, h({}, f), s);
|
|
1909
1875
|
}
|
|
1910
1876
|
d && m.settings.mode && m.settings.mode === Te.browser && d[0] !== "/" && (d = `/${d}`);
|
|
@@ -1920,16 +1886,18 @@ const Gt = 300, T1 = ({
|
|
|
1920
1886
|
'Unable to generate path for route link. Either specify route name or use the "to" prop.'
|
|
1921
1887
|
), null;
|
|
1922
1888
|
if (m.settings && m.settings.mode === Te.scopedHash) {
|
|
1923
|
-
const
|
|
1924
|
-
d = xt(d,
|
|
1889
|
+
const C = g.get("$widget").name;
|
|
1890
|
+
d = xt(d, C);
|
|
1925
1891
|
}
|
|
1926
|
-
return /* @__PURE__ */ r.createElement(
|
|
1892
|
+
return f.as ? /* @__PURE__ */ r.createElement(gn, $(h({}, f), {
|
|
1893
|
+
as: f.as
|
|
1894
|
+
}), s) : /* @__PURE__ */ r.createElement(fe, $(h({}, f), {
|
|
1927
1895
|
to: d
|
|
1928
1896
|
}), s);
|
|
1929
1897
|
}
|
|
1930
|
-
), xe = N(
|
|
1931
|
-
(
|
|
1932
|
-
var
|
|
1898
|
+
), gn = y.span``, xe = N(
|
|
1899
|
+
(E, C) => {
|
|
1900
|
+
var b = E, {
|
|
1933
1901
|
className: e,
|
|
1934
1902
|
disabled: t = !1,
|
|
1935
1903
|
role: n = "link",
|
|
@@ -1939,12 +1907,13 @@ const Gt = 300, T1 = ({
|
|
|
1939
1907
|
onKeyDown: s = () => {
|
|
1940
1908
|
},
|
|
1941
1909
|
title: a,
|
|
1942
|
-
|
|
1943
|
-
|
|
1944
|
-
|
|
1945
|
-
|
|
1946
|
-
|
|
1947
|
-
|
|
1910
|
+
as: l,
|
|
1911
|
+
href: u,
|
|
1912
|
+
children: c,
|
|
1913
|
+
target: m,
|
|
1914
|
+
routeName: g,
|
|
1915
|
+
params: d
|
|
1916
|
+
} = b, f = S(b, [
|
|
1948
1917
|
"className",
|
|
1949
1918
|
"disabled",
|
|
1950
1919
|
"role",
|
|
@@ -1952,51 +1921,53 @@ const Gt = 300, T1 = ({
|
|
|
1952
1921
|
"onClick",
|
|
1953
1922
|
"onKeyDown",
|
|
1954
1923
|
"title",
|
|
1924
|
+
"as",
|
|
1955
1925
|
"href",
|
|
1956
1926
|
"children",
|
|
1957
1927
|
"target",
|
|
1958
1928
|
"routeName",
|
|
1959
1929
|
"params"
|
|
1960
1930
|
]);
|
|
1961
|
-
const
|
|
1931
|
+
const w = {
|
|
1962
1932
|
title: a,
|
|
1963
1933
|
disabled: t,
|
|
1964
1934
|
role: n,
|
|
1935
|
+
as: l,
|
|
1965
1936
|
tabIndex: o,
|
|
1966
1937
|
className: M(e, "humany-link", [!!t, "humany-disabled"]),
|
|
1967
|
-
onClick: (
|
|
1968
|
-
if (
|
|
1969
|
-
|
|
1938
|
+
onClick: (p) => {
|
|
1939
|
+
if (p.persist(), t) {
|
|
1940
|
+
p.preventDefault();
|
|
1970
1941
|
return;
|
|
1971
1942
|
}
|
|
1972
|
-
i(
|
|
1943
|
+
i(p);
|
|
1973
1944
|
},
|
|
1974
|
-
onKeyDown: (
|
|
1975
|
-
if (
|
|
1976
|
-
|
|
1945
|
+
onKeyDown: (p) => {
|
|
1946
|
+
if (p.persist(), t) {
|
|
1947
|
+
p.key !== "Tab" && p.preventDefault();
|
|
1977
1948
|
return;
|
|
1978
1949
|
}
|
|
1979
|
-
s(
|
|
1950
|
+
s(p);
|
|
1980
1951
|
}
|
|
1981
1952
|
};
|
|
1982
|
-
return
|
|
1983
|
-
name:
|
|
1984
|
-
params:
|
|
1985
|
-
},
|
|
1986
|
-
ref:
|
|
1987
|
-
}),
|
|
1988
|
-
href:
|
|
1989
|
-
target:
|
|
1990
|
-
},
|
|
1991
|
-
ref:
|
|
1992
|
-
}),
|
|
1953
|
+
return g ? /* @__PURE__ */ r.createElement(pn, $(h(h({
|
|
1954
|
+
name: g,
|
|
1955
|
+
params: d
|
|
1956
|
+
}, w), V(f)), {
|
|
1957
|
+
ref: C
|
|
1958
|
+
}), c) : /* @__PURE__ */ r.createElement(Cn, $(h(h({
|
|
1959
|
+
href: u,
|
|
1960
|
+
target: m
|
|
1961
|
+
}, w), V(f)), {
|
|
1962
|
+
ref: C
|
|
1963
|
+
}), c);
|
|
1993
1964
|
}
|
|
1994
|
-
), pn =
|
|
1965
|
+
), pn = y(hn)`
|
|
1995
1966
|
${(e) => e.disabled ? `
|
|
1996
1967
|
pointer-events: none;
|
|
1997
1968
|
opacity: .7;
|
|
1998
1969
|
` : "cursor: pointer;"}
|
|
1999
|
-
`,
|
|
1970
|
+
`, Cn = y.a`
|
|
2000
1971
|
${(e) => e.disabled ? `
|
|
2001
1972
|
pointer-events: none;
|
|
2002
1973
|
opacity: .7;
|
|
@@ -2026,13 +1997,13 @@ const Gt = 300, T1 = ({
|
|
|
2026
1997
|
classNames: "humany-overlay-transition",
|
|
2027
1998
|
unmountOnExit: !0,
|
|
2028
1999
|
timeout: t
|
|
2029
|
-
}, /* @__PURE__ */ r.createElement(G, null, /* @__PURE__ */ r.createElement(
|
|
2000
|
+
}, /* @__PURE__ */ r.createElement(G, null, /* @__PURE__ */ r.createElement(yn, h({
|
|
2030
2001
|
className: "humany-overlay",
|
|
2031
2002
|
duration: t,
|
|
2032
2003
|
ref: l,
|
|
2033
2004
|
onClick: u
|
|
2034
2005
|
}, i), n)));
|
|
2035
|
-
},
|
|
2006
|
+
}, yn = y.div`
|
|
2036
2007
|
background: rgba(0, 0, 0, 0.6);
|
|
2037
2008
|
min-width: 100%;
|
|
2038
2009
|
min-height: 100%;
|
|
@@ -2062,11 +2033,11 @@ const Gt = 300, T1 = ({
|
|
|
2062
2033
|
&.humany-overlay-transition-exit-done {
|
|
2063
2034
|
opacity: 0;
|
|
2064
2035
|
}
|
|
2065
|
-
`,
|
|
2036
|
+
`, bn = We`
|
|
2066
2037
|
100% {
|
|
2067
2038
|
transform: rotate(360deg);
|
|
2068
2039
|
}
|
|
2069
|
-
`,
|
|
2040
|
+
`, vn = We`
|
|
2070
2041
|
0% {
|
|
2071
2042
|
stroke-dasharray: 1, 200;
|
|
2072
2043
|
stroke-dashoffset: 0;
|
|
@@ -2079,8 +2050,8 @@ const Gt = 300, T1 = ({
|
|
|
2079
2050
|
stroke-dasharray: 89, 200;
|
|
2080
2051
|
stroke-dashoffset: -124px;
|
|
2081
2052
|
}
|
|
2082
|
-
`, qe =
|
|
2083
|
-
animation: ${
|
|
2053
|
+
`, qe = y.svg`
|
|
2054
|
+
animation: ${bn} 2s linear infinite;
|
|
2084
2055
|
height: 100%;
|
|
2085
2056
|
transform-origin: center center;
|
|
2086
2057
|
width: 100%;
|
|
@@ -2091,7 +2062,7 @@ const Gt = 300, T1 = ({
|
|
|
2091
2062
|
right: 0;
|
|
2092
2063
|
margin: auto;
|
|
2093
2064
|
transition: 200ms ease-out opacity;
|
|
2094
|
-
`,
|
|
2065
|
+
`, wn = y.div`
|
|
2095
2066
|
position: absolute;
|
|
2096
2067
|
top: 0;
|
|
2097
2068
|
bottom: 0;
|
|
@@ -2109,7 +2080,7 @@ const Gt = 300, T1 = ({
|
|
|
2109
2080
|
${qe} {
|
|
2110
2081
|
opacity: ${(e) => e["data-loading"] ? "1" : "0"};
|
|
2111
2082
|
}
|
|
2112
|
-
`,
|
|
2083
|
+
`, En = y.div`
|
|
2113
2084
|
position: relative;
|
|
2114
2085
|
margin: 0 auto;
|
|
2115
2086
|
width: 100px;
|
|
@@ -2118,31 +2089,31 @@ const Gt = 300, T1 = ({
|
|
|
2118
2089
|
display: block;
|
|
2119
2090
|
padding-top: 100%;
|
|
2120
2091
|
}
|
|
2121
|
-
`,
|
|
2092
|
+
`, xn = y.circle`
|
|
2122
2093
|
stroke-dasharray: 1, 200;
|
|
2123
2094
|
stroke-dashoffset: 0;
|
|
2124
|
-
animation: ${
|
|
2095
|
+
animation: ${vn} 1.5s ease-in-out infinite;
|
|
2125
2096
|
stroke-linecap: round;
|
|
2126
2097
|
stroke: ${(e) => {
|
|
2127
2098
|
var t;
|
|
2128
2099
|
return (t = e.theme.colors) == null ? void 0 : t.primary;
|
|
2129
2100
|
}};
|
|
2130
2101
|
stroke-width: 2px;
|
|
2131
|
-
`,
|
|
2102
|
+
`, kn = ({ className: e, loading: t = !1 }) => /* @__PURE__ */ r.createElement(wn, {
|
|
2132
2103
|
className: M("humany-loader", e),
|
|
2133
2104
|
"data-loading": t
|
|
2134
|
-
}, /* @__PURE__ */ r.createElement(
|
|
2105
|
+
}, /* @__PURE__ */ r.createElement(En, {
|
|
2135
2106
|
className: "humany-spinner"
|
|
2136
2107
|
}, /* @__PURE__ */ r.createElement(qe, {
|
|
2137
2108
|
viewBox: "25 25 50 50"
|
|
2138
|
-
}, /* @__PURE__ */ r.createElement(
|
|
2109
|
+
}, /* @__PURE__ */ r.createElement(xn, {
|
|
2139
2110
|
cx: "50",
|
|
2140
2111
|
cy: "50",
|
|
2141
2112
|
r: "20",
|
|
2142
2113
|
fill: "none",
|
|
2143
2114
|
"stroke-width": "2",
|
|
2144
2115
|
"stroke-miterlimit": "10"
|
|
2145
|
-
})))),
|
|
2116
|
+
})))), $n = (i) => {
|
|
2146
2117
|
var s = i, {
|
|
2147
2118
|
zoomState: e,
|
|
2148
2119
|
image: t,
|
|
@@ -2152,31 +2123,31 @@ const Gt = 300, T1 = ({
|
|
|
2152
2123
|
"image",
|
|
2153
2124
|
"changeZoom"
|
|
2154
2125
|
]);
|
|
2155
|
-
var
|
|
2156
|
-
const a = R(null), [l, u] = k(!1), [c, m] = k(!1),
|
|
2157
|
-
const
|
|
2158
|
-
if (
|
|
2159
|
-
const B = window.innerWidth /
|
|
2126
|
+
var w;
|
|
2127
|
+
const a = R(null), [l, u] = k(!1), [c, m] = k(!1), b = o.style || {}, { width: g, height: d } = b, f = S(b, ["width", "height"]), C = H(() => {
|
|
2128
|
+
const p = a.current;
|
|
2129
|
+
if (p) {
|
|
2130
|
+
const B = window.innerWidth / p.width, T = window.innerHeight / p.height, z = Math.min(B, T);
|
|
2160
2131
|
return T >= 1 && B >= 1 ? 1 : z;
|
|
2161
2132
|
}
|
|
2162
2133
|
return 1;
|
|
2163
2134
|
}, [l, t.src]), E = ie(() => {
|
|
2164
|
-
const
|
|
2165
|
-
if (
|
|
2135
|
+
const p = a.current;
|
|
2136
|
+
if (p) {
|
|
2166
2137
|
if (!c) {
|
|
2167
2138
|
m(!0);
|
|
2168
|
-
const B =
|
|
2139
|
+
const B = C();
|
|
2169
2140
|
n(B);
|
|
2170
2141
|
}
|
|
2171
|
-
return
|
|
2142
|
+
return p.width >= p.height ? [`${e * t.originalWidth}px`, "auto"] : ["auto", `${e * t.originalHeight}px`];
|
|
2172
2143
|
}
|
|
2173
2144
|
return null;
|
|
2174
2145
|
}, [e, a, l, t.src]);
|
|
2175
|
-
return
|
|
2146
|
+
return v(() => (u(!1), function() {
|
|
2176
2147
|
m(!1);
|
|
2177
|
-
}), [t.src]), /* @__PURE__ */ r.createElement(r.Fragment, null, /* @__PURE__ */ r.createElement(
|
|
2148
|
+
}), [t.src]), /* @__PURE__ */ r.createElement(r.Fragment, null, /* @__PURE__ */ r.createElement(Ln, {
|
|
2178
2149
|
loading: !l
|
|
2179
|
-
}), /* @__PURE__ */ r.createElement(
|
|
2150
|
+
}), /* @__PURE__ */ r.createElement(Mn, $(h({
|
|
2180
2151
|
onLoad: () => {
|
|
2181
2152
|
u(!0);
|
|
2182
2153
|
},
|
|
@@ -2184,16 +2155,16 @@ const Gt = 300, T1 = ({
|
|
|
2184
2155
|
imageSize: E,
|
|
2185
2156
|
draggable: "false"
|
|
2186
2157
|
}, o), {
|
|
2187
|
-
alt: ((
|
|
2158
|
+
alt: ((w = o.alt) == null ? void 0 : w.toString()) || "",
|
|
2188
2159
|
style: f,
|
|
2189
2160
|
src: t.src,
|
|
2190
2161
|
loaded: l
|
|
2191
|
-
})), /* @__PURE__ */ r.createElement(
|
|
2192
|
-
},
|
|
2162
|
+
})), /* @__PURE__ */ r.createElement(Sn, null));
|
|
2163
|
+
}, Ln = y(kn)`
|
|
2193
2164
|
svg circle {
|
|
2194
2165
|
stroke: #ffffff;
|
|
2195
2166
|
}
|
|
2196
|
-
`,
|
|
2167
|
+
`, Mn = y.img`
|
|
2197
2168
|
transform: none;
|
|
2198
2169
|
|
|
2199
2170
|
${(e) => e.imageSize && L`
|
|
@@ -2204,29 +2175,29 @@ const Gt = 300, T1 = ({
|
|
|
2204
2175
|
vertical-align: middle;
|
|
2205
2176
|
position: relative;
|
|
2206
2177
|
${(e) => !e.loaded && "display:none;"}
|
|
2207
|
-
`,
|
|
2178
|
+
`, Sn = y.div`
|
|
2208
2179
|
height: 100%;
|
|
2209
2180
|
display: inline-block;
|
|
2210
2181
|
vertical-align: middle;
|
|
2211
|
-
`,
|
|
2182
|
+
`, Rn = () => {
|
|
2212
2183
|
const e = R(), [t, n] = k(!0), o = H(() => (t || n(!0), e.current && clearTimeout(e.current), e.current = setTimeout(() => {
|
|
2213
2184
|
n(!1);
|
|
2214
2185
|
}, 3e3), () => {
|
|
2215
2186
|
e.current && clearTimeout(e.current);
|
|
2216
2187
|
}), [t, e]);
|
|
2217
2188
|
return [t, o];
|
|
2218
|
-
},
|
|
2189
|
+
}, Hn = ({ attrs: e, htmlBody: t }) => {
|
|
2219
2190
|
var Se;
|
|
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), [
|
|
2221
|
-
|
|
2222
|
-
n &&
|
|
2223
|
-
}, [n]),
|
|
2191
|
+
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), [g, d] = Rn(), [f, C] = k(null), [E, b] = k(null), w = R(null), p = R(null), B = R(null), T = R(null);
|
|
2192
|
+
v(() => {
|
|
2193
|
+
n && C(null);
|
|
2194
|
+
}, [n]), v(() => {
|
|
2224
2195
|
a(1);
|
|
2225
|
-
}, [f]),
|
|
2196
|
+
}, [f]), v(() => {
|
|
2226
2197
|
var F, A;
|
|
2227
|
-
if (f === null ||
|
|
2198
|
+
if (f === null || p.current === null)
|
|
2228
2199
|
return;
|
|
2229
|
-
const x =
|
|
2200
|
+
const x = p.current.firstElementChild, D = (F = B.current) == null ? void 0 : F.querySelector(".nav-left"), W = (A = B.current) == null ? void 0 : A.querySelector(".nav-right");
|
|
2230
2201
|
if (E === "Right")
|
|
2231
2202
|
te && W ? W.focus() : ee && D && D.focus();
|
|
2232
2203
|
else if (E === "Left")
|
|
@@ -2236,7 +2207,7 @@ const Gt = 300, T1 = ({
|
|
|
2236
2207
|
return;
|
|
2237
2208
|
x.focus();
|
|
2238
2209
|
}
|
|
2239
|
-
}, [f,
|
|
2210
|
+
}, [f, p, B, E]), v(() => {
|
|
2240
2211
|
if (o) {
|
|
2241
2212
|
if (ee)
|
|
2242
2213
|
return Le();
|
|
@@ -2263,10 +2234,10 @@ const Gt = 300, T1 = ({
|
|
|
2263
2234
|
const { src: x } = e;
|
|
2264
2235
|
if (x) {
|
|
2265
2236
|
const D = z.findIndex((W, F) => W.src === x);
|
|
2266
|
-
|
|
2237
|
+
C(D);
|
|
2267
2238
|
}
|
|
2268
2239
|
}, [z, e]), Je = H((x) => {
|
|
2269
|
-
|
|
2240
|
+
C(null);
|
|
2270
2241
|
}, []), $e = H(
|
|
2271
2242
|
(x) => {
|
|
2272
2243
|
a(x ? s + s * 0.25 : s - s * 0.25);
|
|
@@ -2304,22 +2275,22 @@ const Gt = 300, T1 = ({
|
|
|
2304
2275
|
}
|
|
2305
2276
|
return !1;
|
|
2306
2277
|
}, [T, s]), Le = () => {
|
|
2307
|
-
f !== null && (
|
|
2278
|
+
f !== null && (b("Left"), C(f - 1));
|
|
2308
2279
|
}, Me = () => {
|
|
2309
|
-
f !== null && (
|
|
2280
|
+
f !== null && (b("Right"), C(f + 1));
|
|
2310
2281
|
}, ee = f !== null && f > 0 && z.length > 1, te = f !== null && z.length - 1 > f;
|
|
2311
2282
|
return /* @__PURE__ */ r.createElement(r.Fragment, null, /* @__PURE__ */ r.createElement(Ue, {
|
|
2312
2283
|
visible: f !== null,
|
|
2313
2284
|
onClick: Je
|
|
2314
|
-
}, /* @__PURE__ */ r.createElement(
|
|
2285
|
+
}, /* @__PURE__ */ r.createElement(Wn, {
|
|
2315
2286
|
onMouseDown: () => d(),
|
|
2316
2287
|
onMouseMove: () => d(),
|
|
2317
2288
|
onTouchStart: () => d(),
|
|
2318
2289
|
onKeyDown: () => d()
|
|
2319
|
-
}, /* @__PURE__ */ r.createElement(
|
|
2320
|
-
show:
|
|
2321
|
-
}, /* @__PURE__ */ r.createElement(
|
|
2322
|
-
ref:
|
|
2290
|
+
}, /* @__PURE__ */ r.createElement(In, {
|
|
2291
|
+
show: g.toString()
|
|
2292
|
+
}, /* @__PURE__ */ r.createElement(Tn, {
|
|
2293
|
+
ref: p,
|
|
2323
2294
|
buttons: [
|
|
2324
2295
|
{
|
|
2325
2296
|
id: "download",
|
|
@@ -2329,28 +2300,28 @@ const Gt = 300, T1 = ({
|
|
|
2329
2300
|
},
|
|
2330
2301
|
{
|
|
2331
2302
|
id: "lightbox-close",
|
|
2332
|
-
onClick: () =>
|
|
2303
|
+
onClick: () => C(null),
|
|
2333
2304
|
icon: "lightbox-close",
|
|
2334
2305
|
ariaLabel: "Close"
|
|
2335
2306
|
}
|
|
2336
2307
|
]
|
|
2337
|
-
})), /* @__PURE__ */ r.createElement(
|
|
2308
|
+
})), /* @__PURE__ */ r.createElement(Fn, {
|
|
2338
2309
|
scrolling: c.toString(),
|
|
2339
2310
|
isDraggable: ot.toString(),
|
|
2340
2311
|
ref: T,
|
|
2341
2312
|
onMouseMove: nt,
|
|
2342
2313
|
onMouseDown: tt,
|
|
2343
2314
|
onMouseUp: rt
|
|
2344
|
-
}, f !== null && /* @__PURE__ */ r.createElement(
|
|
2315
|
+
}, f !== null && /* @__PURE__ */ r.createElement($n, $(h({
|
|
2345
2316
|
changeZoom: (x) => {
|
|
2346
2317
|
a(x);
|
|
2347
2318
|
},
|
|
2348
2319
|
zoomState: s
|
|
2349
2320
|
}, e), {
|
|
2350
2321
|
image: z[f]
|
|
2351
|
-
}))), /* @__PURE__ */ r.createElement(
|
|
2322
|
+
}))), /* @__PURE__ */ r.createElement(Vn, {
|
|
2352
2323
|
ref: B,
|
|
2353
|
-
show:
|
|
2324
|
+
show: g.toString(),
|
|
2354
2325
|
buttons: [
|
|
2355
2326
|
{
|
|
2356
2327
|
id: "previous",
|
|
@@ -2371,9 +2342,9 @@ const Gt = 300, T1 = ({
|
|
|
2371
2342
|
ariaLabel: "Navigate to next image"
|
|
2372
2343
|
}
|
|
2373
2344
|
]
|
|
2374
|
-
}), /* @__PURE__ */ r.createElement(
|
|
2375
|
-
show:
|
|
2376
|
-
}, /* @__PURE__ */ r.createElement(
|
|
2345
|
+
}), /* @__PURE__ */ r.createElement(On, {
|
|
2346
|
+
show: g.toString()
|
|
2347
|
+
}, /* @__PURE__ */ r.createElement(Nn, {
|
|
2377
2348
|
buttons: [
|
|
2378
2349
|
{
|
|
2379
2350
|
id: "zoom-out",
|
|
@@ -2388,26 +2359,26 @@ const Gt = 300, T1 = ({
|
|
|
2388
2359
|
ariaLabel: "Zoom in"
|
|
2389
2360
|
}
|
|
2390
2361
|
]
|
|
2391
|
-
}), /* @__PURE__ */ r.createElement(
|
|
2362
|
+
}), /* @__PURE__ */ r.createElement(Zn, {
|
|
2392
2363
|
variant: "span"
|
|
2393
|
-
}, Math.trunc(s * 100), "%")))), /* @__PURE__ */ r.createElement(
|
|
2394
|
-
ref:
|
|
2364
|
+
}, Math.trunc(s * 100), "%")))), /* @__PURE__ */ r.createElement(zn, {
|
|
2365
|
+
ref: w,
|
|
2395
2366
|
onClick: j,
|
|
2396
2367
|
onKeyDown: (x) => {
|
|
2397
2368
|
x.key === "Enter" && (x.preventDefault(), j());
|
|
2398
2369
|
},
|
|
2399
2370
|
tabIndex: 0
|
|
2400
|
-
}, /* @__PURE__ */ r.createElement(
|
|
2371
|
+
}, /* @__PURE__ */ r.createElement(An, $(h({}, e), {
|
|
2401
2372
|
alt: ((Se = e.alt) == null ? void 0 : Se.toString()) || ""
|
|
2402
2373
|
}))));
|
|
2403
2374
|
}, ke = N(
|
|
2404
|
-
({ show: e = "true", buttons: t, className: n }, o) => /* @__PURE__ */ r.createElement(
|
|
2375
|
+
({ show: e = "true", buttons: t, className: n }, o) => /* @__PURE__ */ r.createElement(Dn, {
|
|
2405
2376
|
ref: o,
|
|
2406
2377
|
show: e,
|
|
2407
2378
|
className: M("humany-button-set", n)
|
|
2408
2379
|
}, t.map(
|
|
2409
|
-
({ id: i, circle: s = !1, show: a = !0, ariaLabel: l, onClick: u, icon: c, className: m },
|
|
2410
|
-
key: i +
|
|
2380
|
+
({ id: i, circle: s = !1, show: a = !0, ariaLabel: l, onClick: u, icon: c, className: m }, g) => /* @__PURE__ */ r.createElement(Bn, {
|
|
2381
|
+
key: i + g.toString(),
|
|
2411
2382
|
circle: s.toString(),
|
|
2412
2383
|
onClick: u,
|
|
2413
2384
|
tabIndex: a ? void 0 : -1,
|
|
@@ -2420,25 +2391,25 @@ const Gt = 300, T1 = ({
|
|
|
2420
2391
|
symbol: { type: "Svg", content: c }
|
|
2421
2392
|
}))
|
|
2422
2393
|
))
|
|
2423
|
-
), Qe =
|
|
2394
|
+
), Qe = y.div`
|
|
2424
2395
|
transition: opacity 0.3s ease 0s;
|
|
2425
2396
|
z-index: 5;
|
|
2426
2397
|
${(e) => e.show === "true" ? "opacity: 1;" : L`
|
|
2427
2398
|
opacity: 0;
|
|
2428
2399
|
pointer-events: none;
|
|
2429
2400
|
`}
|
|
2430
|
-
`,
|
|
2401
|
+
`, zn = y(xe)`
|
|
2431
2402
|
display: inline-block !important;
|
|
2432
|
-
`,
|
|
2403
|
+
`, Dn = y(Qe)`
|
|
2433
2404
|
position: fixed;
|
|
2434
2405
|
display: flex;
|
|
2435
2406
|
gap: ${(e) => {
|
|
2436
2407
|
var t;
|
|
2437
2408
|
return (t = e.theme.sizes) == null ? void 0 : t.normal;
|
|
2438
2409
|
}};
|
|
2439
|
-
`,
|
|
2440
|
-
width: ${
|
|
2441
|
-
height: ${
|
|
2410
|
+
`, pe = "39px", Bn = y(ae)`
|
|
2411
|
+
width: ${pe};
|
|
2412
|
+
height: ${pe};
|
|
2442
2413
|
display: flex;
|
|
2443
2414
|
justify-content: center;
|
|
2444
2415
|
align-items: center;
|
|
@@ -2464,7 +2435,7 @@ const Gt = 300, T1 = ({
|
|
|
2464
2435
|
}
|
|
2465
2436
|
|
|
2466
2437
|
&:focus-visible {
|
|
2467
|
-
${P}
|
|
2438
|
+
${P(e)}
|
|
2468
2439
|
outline-color: #ffffff;
|
|
2469
2440
|
background-color: transparent;
|
|
2470
2441
|
|
|
@@ -2486,7 +2457,7 @@ const Gt = 300, T1 = ({
|
|
|
2486
2457
|
outline-color: #ffffff;
|
|
2487
2458
|
}
|
|
2488
2459
|
&:focus-visible {
|
|
2489
|
-
${P}
|
|
2460
|
+
${P(e)}
|
|
2490
2461
|
}
|
|
2491
2462
|
`;
|
|
2492
2463
|
}}
|
|
@@ -2501,7 +2472,7 @@ const Gt = 300, T1 = ({
|
|
|
2501
2472
|
opacity: 0;
|
|
2502
2473
|
pointer-events: none;
|
|
2503
2474
|
`}
|
|
2504
|
-
`,
|
|
2475
|
+
`, Tn = y(ke)`
|
|
2505
2476
|
top: ${(e) => {
|
|
2506
2477
|
var t;
|
|
2507
2478
|
return (t = e.theme.sizes) == null ? void 0 : t.large;
|
|
@@ -2510,7 +2481,7 @@ const Gt = 300, T1 = ({
|
|
|
2510
2481
|
var t;
|
|
2511
2482
|
return (t = e.theme.sizes) == null ? void 0 : t.large;
|
|
2512
2483
|
}};
|
|
2513
|
-
`,
|
|
2484
|
+
`, Nn = y(ke)`
|
|
2514
2485
|
bottom: ${(e) => {
|
|
2515
2486
|
var t;
|
|
2516
2487
|
return (t = e.theme.sizes) == null ? void 0 : t.large;
|
|
@@ -2518,11 +2489,11 @@ const Gt = 300, T1 = ({
|
|
|
2518
2489
|
width: 100%;
|
|
2519
2490
|
align-items: center;
|
|
2520
2491
|
justify-content: center;
|
|
2521
|
-
`,
|
|
2492
|
+
`, Vn = y(ke)`
|
|
2522
2493
|
display: block;
|
|
2523
2494
|
button {
|
|
2524
2495
|
position: fixed;
|
|
2525
|
-
top: calc(50% - calc(${
|
|
2496
|
+
top: calc(50% - calc(${pe} / 2));
|
|
2526
2497
|
&:first-child {
|
|
2527
2498
|
left: ${(e) => {
|
|
2528
2499
|
var t;
|
|
@@ -2536,7 +2507,7 @@ const Gt = 300, T1 = ({
|
|
|
2536
2507
|
}};
|
|
2537
2508
|
}
|
|
2538
2509
|
}
|
|
2539
|
-
`,
|
|
2510
|
+
`, Zn = y(q)`
|
|
2540
2511
|
position: fixed;
|
|
2541
2512
|
bottom: ${(e) => {
|
|
2542
2513
|
var t;
|
|
@@ -2555,21 +2526,21 @@ const Gt = 300, T1 = ({
|
|
|
2555
2526
|
var t;
|
|
2556
2527
|
return (t = e.theme.fonts) == null ? void 0 : t.type;
|
|
2557
2528
|
}};
|
|
2558
|
-
`, Ge =
|
|
2529
|
+
`, Ge = y(Qe)`
|
|
2559
2530
|
position: absolute;
|
|
2560
2531
|
width: 100vw;
|
|
2561
2532
|
height: 88px;
|
|
2562
2533
|
left: 0px;
|
|
2563
2534
|
z-index: 5;
|
|
2564
|
-
`,
|
|
2535
|
+
`, Wn = y.div`
|
|
2565
2536
|
width: 100%;
|
|
2566
|
-
`,
|
|
2537
|
+
`, In = y(Ge)`
|
|
2567
2538
|
top: 0px;
|
|
2568
2539
|
background-image: linear-gradient(to bottom, rgb(34, 34, 34, 0.8), rgba(34, 34, 34, 0));
|
|
2569
|
-
`,
|
|
2540
|
+
`, On = y(Ge)`
|
|
2570
2541
|
bottom: 0px;
|
|
2571
2542
|
background-image: linear-gradient(to top, rgb(34, 34, 34, 0.8), rgba(34, 34, 34, 0));
|
|
2572
|
-
`,
|
|
2543
|
+
`, Fn = y.div`
|
|
2573
2544
|
width: 100%;
|
|
2574
2545
|
height: 100vh;
|
|
2575
2546
|
overflow: auto;
|
|
@@ -2578,23 +2549,23 @@ const Gt = 300, T1 = ({
|
|
|
2578
2549
|
white-space: nowrap;
|
|
2579
2550
|
justify-content: center;
|
|
2580
2551
|
cursor: ${(e) => e.isDraggable === "true" ? e.scrolling === "true" ? "grabbing" : "grab" : "auto"};
|
|
2581
|
-
`,
|
|
2552
|
+
`, An = y.img`
|
|
2582
2553
|
cursor: pointer;
|
|
2583
|
-
`,
|
|
2554
|
+
`, Pn = N(
|
|
2584
2555
|
(l, a) => {
|
|
2585
2556
|
var u = l, { className: e, children: t, trigger: n, onOverlayClick: o = () => {
|
|
2586
2557
|
}, close: i = !1 } = u, s = S(u, ["className", "children", "trigger", "onOverlayClick", "close"]);
|
|
2587
|
-
const [c, m] = Ye(), [
|
|
2588
|
-
|
|
2558
|
+
const [c, m] = Ye(), [g, d] = Ke(!0), f = R(), C = R(Q()), E = X("Escape");
|
|
2559
|
+
v(() => {
|
|
2589
2560
|
(E || i) && m(!1);
|
|
2590
|
-
}, [E, i]),
|
|
2561
|
+
}, [E, i]), v(() => {
|
|
2591
2562
|
c && f.current && f.current.focus();
|
|
2592
2563
|
}, [c, f.current]), ce("router:changed", () => {
|
|
2593
2564
|
m(!1);
|
|
2594
2565
|
});
|
|
2595
|
-
const
|
|
2596
|
-
(
|
|
2597
|
-
m(!1), o(
|
|
2566
|
+
const b = H(
|
|
2567
|
+
(p) => {
|
|
2568
|
+
m(!1), o(p);
|
|
2598
2569
|
},
|
|
2599
2570
|
[o, m]
|
|
2600
2571
|
);
|
|
@@ -2603,19 +2574,19 @@ const Gt = 300, T1 = ({
|
|
|
2603
2574
|
m(!1);
|
|
2604
2575
|
}
|
|
2605
2576
|
}));
|
|
2606
|
-
const
|
|
2577
|
+
const w = H(() => ve(C.current, () => {
|
|
2607
2578
|
m(!1);
|
|
2608
|
-
}), [
|
|
2579
|
+
}), [C.current]);
|
|
2609
2580
|
return /* @__PURE__ */ r.createElement(r.Fragment, null, /* @__PURE__ */ r.createElement(Ue, {
|
|
2610
2581
|
visible: c,
|
|
2611
|
-
onClick:
|
|
2612
|
-
}, /* @__PURE__ */ r.createElement(
|
|
2582
|
+
onClick: b
|
|
2583
|
+
}, /* @__PURE__ */ r.createElement(Kn, $(h({
|
|
2613
2584
|
className: M(
|
|
2614
2585
|
e,
|
|
2615
2586
|
"humany-modal",
|
|
2616
|
-
`humany-modal-${
|
|
2587
|
+
`humany-modal-${C.current}`
|
|
2617
2588
|
),
|
|
2618
|
-
css:
|
|
2589
|
+
css: g,
|
|
2619
2590
|
tabIndex: -1
|
|
2620
2591
|
}, s), {
|
|
2621
2592
|
ref: d
|
|
@@ -2626,12 +2597,12 @@ const Gt = 300, T1 = ({
|
|
|
2626
2597
|
}, /* @__PURE__ */ r.createElement(J, {
|
|
2627
2598
|
symbol: { type: "Svg", content: "close" }
|
|
2628
2599
|
})), t)), r.cloneElement(n, {
|
|
2629
|
-
onClick: (
|
|
2630
|
-
m(),
|
|
2600
|
+
onClick: (p) => {
|
|
2601
|
+
m(), w();
|
|
2631
2602
|
}
|
|
2632
2603
|
}));
|
|
2633
2604
|
}
|
|
2634
|
-
),
|
|
2605
|
+
), Kn = y.div`
|
|
2635
2606
|
font-family: ${(e) => {
|
|
2636
2607
|
var t;
|
|
2637
2608
|
return (t = e.theme.fonts) == null ? void 0 : t.type;
|
|
@@ -2647,10 +2618,10 @@ const Gt = 300, T1 = ({
|
|
|
2647
2618
|
var t;
|
|
2648
2619
|
return (t = e.theme.sizes) == null ? void 0 : t.medium;
|
|
2649
2620
|
}};
|
|
2650
|
-
${je}
|
|
2621
|
+
${(e) => je(e)}
|
|
2651
2622
|
${(e) => e.css && e.css}
|
|
2652
2623
|
outline: none;
|
|
2653
|
-
`,
|
|
2624
|
+
`, Fr = ({
|
|
2654
2625
|
className: e,
|
|
2655
2626
|
trigger: t,
|
|
2656
2627
|
header: n = "",
|
|
@@ -2663,23 +2634,23 @@ const Gt = 300, T1 = ({
|
|
|
2663
2634
|
confirmLabel: l = ""
|
|
2664
2635
|
}) => {
|
|
2665
2636
|
const u = R(), c = H(() => {
|
|
2666
|
-
var
|
|
2667
|
-
i(), (
|
|
2637
|
+
var g;
|
|
2638
|
+
i(), (g = u == null ? void 0 : u.current) == null || g.close();
|
|
2668
2639
|
}, [i]), m = H(() => {
|
|
2669
|
-
var
|
|
2670
|
-
s(), (
|
|
2640
|
+
var g;
|
|
2641
|
+
s(), (g = u == null ? void 0 : u.current) == null || g.close();
|
|
2671
2642
|
}, [s]);
|
|
2672
|
-
return /* @__PURE__ */ r.createElement(
|
|
2643
|
+
return /* @__PURE__ */ r.createElement(Yn, {
|
|
2673
2644
|
className: e,
|
|
2674
2645
|
trigger: t,
|
|
2675
2646
|
ref: u,
|
|
2676
2647
|
onOverlayClick: c
|
|
2677
|
-
}, n && /* @__PURE__ */ r.createElement(Ve, null, n), o && /* @__PURE__ */ r.createElement(Ve, null, o), l && /* @__PURE__ */ r.createElement(
|
|
2648
|
+
}, n && /* @__PURE__ */ r.createElement(Ve, null, n), o && /* @__PURE__ */ r.createElement(Ve, null, o), l && /* @__PURE__ */ r.createElement(jn, {
|
|
2678
2649
|
onClick: m
|
|
2679
|
-
}, l), a && /* @__PURE__ */ r.createElement(
|
|
2650
|
+
}, l), a && /* @__PURE__ */ r.createElement(Xn, {
|
|
2680
2651
|
onClick: c
|
|
2681
2652
|
}, a));
|
|
2682
|
-
},
|
|
2653
|
+
}, Yn = y(Pn)`
|
|
2683
2654
|
display: block;
|
|
2684
2655
|
|
|
2685
2656
|
span {
|
|
@@ -2697,7 +2668,7 @@ const Gt = 300, T1 = ({
|
|
|
2697
2668
|
}};
|
|
2698
2669
|
}
|
|
2699
2670
|
}
|
|
2700
|
-
`,
|
|
2671
|
+
`, jn = y(ae)`
|
|
2701
2672
|
display: inline-block;
|
|
2702
2673
|
min-width: 50px;
|
|
2703
2674
|
${(e) => {
|
|
@@ -2727,7 +2698,7 @@ const Gt = 300, T1 = ({
|
|
|
2727
2698
|
&:focus-visible {
|
|
2728
2699
|
${P}
|
|
2729
2700
|
}
|
|
2730
|
-
`,
|
|
2701
|
+
`, Xn = y(ae)`
|
|
2731
2702
|
display: inline-block;
|
|
2732
2703
|
min-width: 50px;
|
|
2733
2704
|
${(e) => {
|
|
@@ -2748,48 +2719,48 @@ const Gt = 300, T1 = ({
|
|
|
2748
2719
|
&:focus-visible {
|
|
2749
2720
|
${P};
|
|
2750
2721
|
}
|
|
2751
|
-
`,
|
|
2722
|
+
`, Ar = ({
|
|
2752
2723
|
header: e = "",
|
|
2753
2724
|
link: t = "",
|
|
2754
2725
|
suggestionHeader: n = "",
|
|
2755
2726
|
suggestion: o = ""
|
|
2756
|
-
}) => /* @__PURE__ */ r.createElement(
|
|
2727
|
+
}) => /* @__PURE__ */ r.createElement(_n, null, /* @__PURE__ */ r.createElement(Un, null, /* @__PURE__ */ r.createElement(q, {
|
|
2757
2728
|
variant: "h2"
|
|
2758
|
-
}, "404")), /* @__PURE__ */ r.createElement(
|
|
2729
|
+
}, "404")), /* @__PURE__ */ r.createElement(qn, null, /* @__PURE__ */ r.createElement(q, {
|
|
2759
2730
|
variant: "h3"
|
|
2760
|
-
}, e), /* @__PURE__ */ r.createElement(
|
|
2731
|
+
}, e), /* @__PURE__ */ r.createElement(Gn, {
|
|
2761
2732
|
routeName: "index",
|
|
2762
2733
|
"aria-label": t,
|
|
2763
2734
|
text: t
|
|
2764
|
-
})), /* @__PURE__ */ r.createElement(
|
|
2735
|
+
})), /* @__PURE__ */ r.createElement(Qn, null, /* @__PURE__ */ r.createElement("span", null, n), /* @__PURE__ */ r.createElement("ul", null, /* @__PURE__ */ r.createElement("li", null, o)))), _n = y.div`
|
|
2765
2736
|
display: flex;
|
|
2766
2737
|
flex-wrap: wrap;
|
|
2767
|
-
`,
|
|
2768
|
-
${se(
|
|
2738
|
+
`, Un = y.div`
|
|
2739
|
+
${(e) => se(e)(
|
|
2769
2740
|
"h2",
|
|
2770
2741
|
L`
|
|
2771
|
-
|
|
2772
|
-
|
|
2773
|
-
|
|
2774
|
-
|
|
2775
|
-
|
|
2742
|
+
padding: 0;
|
|
2743
|
+
margin: 0;
|
|
2744
|
+
color: gray;
|
|
2745
|
+
font-size: 7em;
|
|
2746
|
+
`
|
|
2776
2747
|
)}
|
|
2777
|
-
`,
|
|
2748
|
+
`, qn = y.div`
|
|
2778
2749
|
margin-left: ${(e) => {
|
|
2779
2750
|
var t;
|
|
2780
2751
|
return (t = e.theme.sizes) == null ? void 0 : t.medium;
|
|
2781
2752
|
}};
|
|
2782
2753
|
|
|
2783
|
-
${
|
|
2784
|
-
|
|
2785
|
-
|
|
2786
|
-
|
|
2787
|
-
|
|
2788
|
-
|
|
2789
|
-
|
|
2790
|
-
|
|
2791
|
-
|
|
2792
|
-
|
|
2754
|
+
${(e) => {
|
|
2755
|
+
var t;
|
|
2756
|
+
return se(e)(
|
|
2757
|
+
"h3",
|
|
2758
|
+
L`
|
|
2759
|
+
text-transform: uppercase;
|
|
2760
|
+
font-size: ${(t = e.theme.fonts) == null ? void 0 : t.normal};
|
|
2761
|
+
`
|
|
2762
|
+
);
|
|
2763
|
+
}}
|
|
2793
2764
|
|
|
2794
2765
|
a {
|
|
2795
2766
|
color: ${(e) => {
|
|
@@ -2801,7 +2772,7 @@ const Gt = 300, T1 = ({
|
|
|
2801
2772
|
return (t = e.theme.fonts) == null ? void 0 : t.small;
|
|
2802
2773
|
}};
|
|
2803
2774
|
}
|
|
2804
|
-
`,
|
|
2775
|
+
`, Qn = y.div`
|
|
2805
2776
|
margin-top: ${(e) => {
|
|
2806
2777
|
var t;
|
|
2807
2778
|
return (t = e.theme.sizes) == null ? void 0 : t.medium;
|
|
@@ -2812,7 +2783,7 @@ const Gt = 300, T1 = ({
|
|
|
2812
2783
|
font-weight: bold;
|
|
2813
2784
|
}
|
|
2814
2785
|
`;
|
|
2815
|
-
class
|
|
2786
|
+
class Pr extends dt {
|
|
2816
2787
|
constructor() {
|
|
2817
2788
|
super(...arguments);
|
|
2818
2789
|
re(this, "node");
|
|
@@ -2851,7 +2822,7 @@ class F1 extends dt {
|
|
|
2851
2822
|
}) : null;
|
|
2852
2823
|
}
|
|
2853
2824
|
}
|
|
2854
|
-
const
|
|
2825
|
+
const Gn = N(
|
|
2855
2826
|
(a, s) => {
|
|
2856
2827
|
var l = a, { className: e, description: t, text: n, children: o } = l, i = S(l, ["className", "description", "text", "children"]);
|
|
2857
2828
|
return /* @__PURE__ */ r.createElement(xe, $(h({
|
|
@@ -2864,48 +2835,48 @@ const Qn = N(
|
|
|
2864
2835
|
}) : null);
|
|
2865
2836
|
}
|
|
2866
2837
|
);
|
|
2867
|
-
var
|
|
2868
|
-
const
|
|
2838
|
+
var Jn = /* @__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))(Jn || {});
|
|
2839
|
+
const Kr = ({ className: e = "", format: t = "hh:mm", timestamp: n }) => /* @__PURE__ */ r.createElement("span", {
|
|
2869
2840
|
className: M(e, "humany-timestamp")
|
|
2870
|
-
},
|
|
2871
|
-
function
|
|
2841
|
+
}, er(n, t)), Ze = (e) => `0${e}`.slice(-2);
|
|
2842
|
+
function er(e, t) {
|
|
2872
2843
|
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
2844
|
return t === "yyyy-mm-dd" ? u : t === "hh:mm" ? i : `${u} ${i}`;
|
|
2874
2845
|
}
|
|
2875
|
-
const
|
|
2846
|
+
const Yr = (s) => {
|
|
2876
2847
|
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(Q()), m = R(), [{ x:
|
|
2878
|
-
const { target:
|
|
2879
|
-
!m.current || !
|
|
2848
|
+
const [l, u] = k(!1), c = R(Q()), m = R(), [{ x: g, y: d }, f] = Xe(l, c.current, m.current), C = (b) => {
|
|
2849
|
+
const { target: w } = b;
|
|
2850
|
+
!m.current || !w || m.current !== w && !m.current.contains(w) && u(!1);
|
|
2880
2851
|
};
|
|
2881
|
-
|
|
2852
|
+
v(() => {
|
|
2882
2853
|
if (!!o)
|
|
2883
|
-
return window.addEventListener("click",
|
|
2884
|
-
window.removeEventListener("click",
|
|
2854
|
+
return window.addEventListener("click", C), () => {
|
|
2855
|
+
window.removeEventListener("click", C);
|
|
2885
2856
|
};
|
|
2886
2857
|
}, [l, o]);
|
|
2887
2858
|
const E = H(
|
|
2888
|
-
(
|
|
2889
|
-
f(
|
|
2859
|
+
(b, w) => {
|
|
2860
|
+
f(b, m.current), u(w);
|
|
2890
2861
|
},
|
|
2891
2862
|
[f, u]
|
|
2892
2863
|
);
|
|
2893
|
-
return /* @__PURE__ */ r.createElement(
|
|
2864
|
+
return /* @__PURE__ */ r.createElement(tr, {
|
|
2894
2865
|
ref: m,
|
|
2895
2866
|
className: "humany-tooltip-trigger",
|
|
2896
|
-
onMouseEnter: o ? void 0 : (
|
|
2897
|
-
onMouseLeave: o ? void 0 : (
|
|
2898
|
-
onTouchEnd: o ? (
|
|
2899
|
-
onClick: o ? (
|
|
2900
|
-
}, t, l && /* @__PURE__ */ r.createElement(G, null, /* @__PURE__ */ r.createElement(
|
|
2867
|
+
onMouseEnter: o ? void 0 : (b) => E(b, !0),
|
|
2868
|
+
onMouseLeave: o ? void 0 : (b) => E(b, !1),
|
|
2869
|
+
onTouchEnd: o ? (b) => E(b, !l) : void 0,
|
|
2870
|
+
onClick: o ? (b) => E(b, !l) : void 0
|
|
2871
|
+
}, t, l && /* @__PURE__ */ r.createElement(G, null, /* @__PURE__ */ r.createElement(nr, h({
|
|
2901
2872
|
className: M(e, "humany-tooltip-container"),
|
|
2902
|
-
x:
|
|
2873
|
+
x: g,
|
|
2903
2874
|
y: d
|
|
2904
2875
|
}, i), n)));
|
|
2905
|
-
},
|
|
2876
|
+
}, tr = y.div`
|
|
2906
2877
|
display: flex;
|
|
2907
2878
|
align-items: center;
|
|
2908
|
-
`,
|
|
2879
|
+
`, nr = y.div`
|
|
2909
2880
|
color: #ffffff;
|
|
2910
2881
|
background: #161616;
|
|
2911
2882
|
border-radius: ${(e) => e.theme.borderRadius};
|
|
@@ -2931,14 +2902,17 @@ const P1 = (s) => {
|
|
|
2931
2902
|
|
|
2932
2903
|
i,
|
|
2933
2904
|
svg {
|
|
2934
|
-
margin-right: ${(e) =>
|
|
2905
|
+
margin-right: ${(e) => {
|
|
2906
|
+
var t;
|
|
2907
|
+
return (t = e.theme.sizes) == null ? void 0 : t.small;
|
|
2908
|
+
}};
|
|
2935
2909
|
}
|
|
2936
2910
|
|
|
2937
2911
|
${(e) => {
|
|
2938
2912
|
let t = "";
|
|
2939
2913
|
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
2914
|
}};
|
|
2941
|
-
`,
|
|
2915
|
+
`, jr = (e) => {
|
|
2942
2916
|
const {
|
|
2943
2917
|
in: t,
|
|
2944
2918
|
mountOnEnter: n = !0,
|
|
@@ -2963,12 +2937,12 @@ const P1 = (s) => {
|
|
|
2963
2937
|
}
|
|
2964
2938
|
};
|
|
2965
2939
|
if (typeof a == "object") {
|
|
2966
|
-
const { enter:
|
|
2940
|
+
const { enter: g, exit: d } = a;
|
|
2967
2941
|
return {
|
|
2968
2942
|
enter: {
|
|
2969
2943
|
transitionKeys: (c = a.enter) == null ? void 0 : c.type,
|
|
2970
2944
|
duration: i ? typeof i == "number" ? i : i.enter : 200,
|
|
2971
|
-
easing:
|
|
2945
|
+
easing: g.easing ? g.easing : "ease-in"
|
|
2972
2946
|
},
|
|
2973
2947
|
exit: {
|
|
2974
2948
|
transitionKeys: (m = a.enter) == null ? void 0 : m.type,
|
|
@@ -2990,7 +2964,7 @@ const P1 = (s) => {
|
|
|
2990
2964
|
unmountOnExit: o,
|
|
2991
2965
|
onEnter: (c) => c.clientHeight
|
|
2992
2966
|
}, (c) => s && s(c, u && he.compose(c, u)));
|
|
2993
|
-
},
|
|
2967
|
+
}, rr = N(
|
|
2994
2968
|
(l, a) => {
|
|
2995
2969
|
var u = l, { className: e, children: t, onClick: n = () => {
|
|
2996
2970
|
}, widgetName: o, activationOptions: i } = u, s = S(u, ["className", "children", "onClick", "widgetName", "activationOptions"]);
|
|
@@ -2998,45 +2972,45 @@ const P1 = (s) => {
|
|
|
2998
2972
|
const { implementation: f } = c.get("$widget");
|
|
2999
2973
|
return f.widgets.get(o);
|
|
3000
2974
|
};
|
|
3001
|
-
|
|
2975
|
+
v(() => {
|
|
3002
2976
|
const f = m();
|
|
3003
2977
|
return f == null || f.activate(i).then(() => f.invoke("attach")), () => {
|
|
3004
2978
|
f == null || f.deactivate();
|
|
3005
2979
|
};
|
|
3006
2980
|
}, [o]);
|
|
3007
|
-
const
|
|
3008
|
-
const
|
|
3009
|
-
if (
|
|
3010
|
-
const
|
|
3011
|
-
|
|
3012
|
-
(
|
|
2981
|
+
const g = (f) => {
|
|
2982
|
+
const C = m(), E = f.currentTarget;
|
|
2983
|
+
if (C) {
|
|
2984
|
+
const b = () => {
|
|
2985
|
+
C.invoke("renderState").then(
|
|
2986
|
+
(w) => w === oe.open ? C.invoke("close") : C.invoke("open")
|
|
3013
2987
|
).then(() => {
|
|
3014
|
-
|
|
2988
|
+
C.events.subscribeOnce("widget:area-rendered", (w, p) => {
|
|
3015
2989
|
c.get(
|
|
3016
2990
|
"widgetDOMElement"
|
|
3017
|
-
) &&
|
|
3018
|
-
name:
|
|
2991
|
+
) && C.events.dispatch("widget:modal-opened", {
|
|
2992
|
+
name: C.name,
|
|
3019
2993
|
ref: E
|
|
3020
2994
|
});
|
|
3021
2995
|
});
|
|
3022
2996
|
});
|
|
3023
2997
|
};
|
|
3024
|
-
|
|
2998
|
+
C.state === pt.Deactivated ? C.activate(i).then(() => C.invoke("attach")).then(b) : b();
|
|
3025
2999
|
}
|
|
3026
3000
|
}, d = (f) => {
|
|
3027
|
-
f.key === "Enter" && (f.preventDefault(),
|
|
3001
|
+
f.key === "Enter" && (f.preventDefault(), g(f));
|
|
3028
3002
|
};
|
|
3029
3003
|
return /* @__PURE__ */ r.createElement(xe, $(h({
|
|
3030
3004
|
className: M(e, "humany-widget-link"),
|
|
3031
3005
|
onKeyDown: d,
|
|
3032
3006
|
onClick: (f) => {
|
|
3033
|
-
n(f),
|
|
3007
|
+
n(f), g(f);
|
|
3034
3008
|
}
|
|
3035
3009
|
}, s), {
|
|
3036
3010
|
ref: a
|
|
3037
3011
|
}), t);
|
|
3038
3012
|
}
|
|
3039
|
-
),
|
|
3013
|
+
), Xr = N(
|
|
3040
3014
|
({ portalId: e = "humany-widget-overlay-portal", className: t, children: n }, o) => {
|
|
3041
3015
|
const i = Z(), s = ie(() => {
|
|
3042
3016
|
if (!i)
|
|
@@ -3047,12 +3021,12 @@ const P1 = (s) => {
|
|
|
3047
3021
|
return s ? /* @__PURE__ */ r.createElement(G, {
|
|
3048
3022
|
elementId: e,
|
|
3049
3023
|
parent: s
|
|
3050
|
-
}, /* @__PURE__ */ r.createElement(
|
|
3024
|
+
}, /* @__PURE__ */ r.createElement(or, {
|
|
3051
3025
|
className: M("humany-widget-overlay-outlet", t),
|
|
3052
3026
|
ref: o
|
|
3053
3027
|
}, n)) : null;
|
|
3054
3028
|
}
|
|
3055
|
-
),
|
|
3029
|
+
), or = y.div`
|
|
3056
3030
|
background-color: #ffffff;
|
|
3057
3031
|
position: absolute;
|
|
3058
3032
|
top: 0;
|
|
@@ -3062,7 +3036,7 @@ const P1 = (s) => {
|
|
|
3062
3036
|
z-index: 10;
|
|
3063
3037
|
width: 100%;
|
|
3064
3038
|
height: 100%;
|
|
3065
|
-
`,
|
|
3039
|
+
`, _r = (e, t, n, o, i) => e.getAsync("componentResolver").then((s) => (s.registerComponent(
|
|
3066
3040
|
t,
|
|
3067
3041
|
ft(() => n)
|
|
3068
3042
|
), wt(e, t, o || (() => {
|
|
@@ -3070,29 +3044,29 @@ const P1 = (s) => {
|
|
|
3070
3044
|
export {
|
|
3071
3045
|
Nt as AnchorLink,
|
|
3072
3046
|
ae as Button,
|
|
3073
|
-
|
|
3047
|
+
yr as Checkbox,
|
|
3074
3048
|
Wt as ColumnContext,
|
|
3075
3049
|
Fe as ComponentNodeContext,
|
|
3076
3050
|
It as ComponentPropertyContext,
|
|
3077
|
-
|
|
3051
|
+
Fr as Confirm,
|
|
3078
3052
|
Zt as ContainerContext,
|
|
3079
3053
|
Ft as ConversationContext,
|
|
3080
|
-
|
|
3081
|
-
|
|
3054
|
+
Jn as DateFormats,
|
|
3055
|
+
Vr as Drawer,
|
|
3082
3056
|
Qt as DrawerAnimationType,
|
|
3083
|
-
|
|
3057
|
+
Zr as Dropdown,
|
|
3084
3058
|
an as Empty,
|
|
3085
|
-
|
|
3059
|
+
Wr as Grid,
|
|
3086
3060
|
_e as Html,
|
|
3087
3061
|
un as Icon,
|
|
3088
|
-
|
|
3062
|
+
Ir as Input,
|
|
3089
3063
|
fn as ItemList,
|
|
3090
|
-
|
|
3091
|
-
|
|
3064
|
+
Or as ItemTree,
|
|
3065
|
+
Hn as Lightbox,
|
|
3092
3066
|
xe as Link,
|
|
3093
3067
|
mn as List,
|
|
3094
|
-
|
|
3095
|
-
|
|
3068
|
+
Pn as Modal,
|
|
3069
|
+
Ar as NotFound,
|
|
3096
3070
|
Ue as Overlay,
|
|
3097
3071
|
dn as Paragraph,
|
|
3098
3072
|
G as Portal,
|
|
@@ -3100,63 +3074,63 @@ export {
|
|
|
3100
3074
|
Ot as RoutingContext,
|
|
3101
3075
|
Ve as StyledText,
|
|
3102
3076
|
J as SymbolBadge,
|
|
3103
|
-
|
|
3077
|
+
Pr as TabStop,
|
|
3104
3078
|
we as Text,
|
|
3105
|
-
|
|
3106
|
-
|
|
3107
|
-
|
|
3108
|
-
|
|
3079
|
+
Gn as TextLink,
|
|
3080
|
+
Kr as Timestamp,
|
|
3081
|
+
Yr as Tooltip,
|
|
3082
|
+
jr as TransitionComponent,
|
|
3109
3083
|
q as Typography,
|
|
3110
|
-
|
|
3111
|
-
|
|
3084
|
+
rr as WidgetLink,
|
|
3085
|
+
Xr as WidgetOverlayOutlet,
|
|
3112
3086
|
P as borderTabStyle,
|
|
3113
3087
|
Ne as browser,
|
|
3114
3088
|
Yt as buttonCss,
|
|
3115
3089
|
je as contentBox,
|
|
3116
3090
|
V as convertToStringAttributes,
|
|
3117
|
-
|
|
3118
|
-
|
|
3091
|
+
Cr as createEmptyComponent,
|
|
3092
|
+
_r as createReactComponent,
|
|
3119
3093
|
Tt as defaultRenderInstructions,
|
|
3120
3094
|
Rt as embeddedLinkMapper,
|
|
3121
3095
|
Oe as filterCssProps,
|
|
3122
3096
|
Ht as filterCssPropsStyle,
|
|
3123
3097
|
zt as genericHashLink,
|
|
3124
|
-
|
|
3098
|
+
Nr as genericHtml,
|
|
3125
3099
|
se as headingElement,
|
|
3126
3100
|
Bt as imageLightboxRenderer,
|
|
3127
|
-
|
|
3128
|
-
|
|
3101
|
+
Dr as invertedHoverButton,
|
|
3102
|
+
Tr as itemList,
|
|
3129
3103
|
jt as linkTabStyle,
|
|
3130
3104
|
Xt as list,
|
|
3131
|
-
|
|
3105
|
+
Br as paddedBorderTabStyle,
|
|
3132
3106
|
Dt as processHtmlString,
|
|
3133
3107
|
he as transitionComposer,
|
|
3134
|
-
|
|
3135
|
-
|
|
3136
|
-
|
|
3137
|
-
|
|
3108
|
+
br as useAction,
|
|
3109
|
+
vr as useChildren,
|
|
3110
|
+
wr as useColumns,
|
|
3111
|
+
Er as useComponent,
|
|
3138
3112
|
ye as useComponentDescriptor,
|
|
3139
3113
|
be as useComponentNode,
|
|
3140
3114
|
U as useComponentPlatform,
|
|
3141
3115
|
Z as useContainer,
|
|
3142
3116
|
At as useContext,
|
|
3143
|
-
|
|
3144
|
-
|
|
3117
|
+
xr as useConversation,
|
|
3118
|
+
kr as useDispatch,
|
|
3145
3119
|
I as useEventListener,
|
|
3146
3120
|
Pt as useEvents,
|
|
3147
3121
|
O as useIsMounted,
|
|
3148
|
-
|
|
3122
|
+
$r as useIsTabbing,
|
|
3149
3123
|
X as useKeyPress,
|
|
3150
|
-
|
|
3124
|
+
Lr as useLayout,
|
|
3151
3125
|
Ae as usePrevious,
|
|
3152
|
-
|
|
3153
|
-
|
|
3154
|
-
|
|
3126
|
+
Mr as useProperties,
|
|
3127
|
+
Sr as useRenderState,
|
|
3128
|
+
Rr as useRouteData,
|
|
3155
3129
|
Pe as useRouter,
|
|
3156
3130
|
Ke as useScroll,
|
|
3157
|
-
|
|
3131
|
+
Hr as useSettings,
|
|
3158
3132
|
Ye as useToggle,
|
|
3159
|
-
|
|
3133
|
+
zr as useTransitionEnd,
|
|
3160
3134
|
ve as useUniqueMenu,
|
|
3161
3135
|
ce as useWidgetEvent
|
|
3162
3136
|
};
|