@orangelogic/design-system 2.158.0 → 2.160.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/library/chunks/{color-swatch-group.oFxwjebo.js → color-swatch-group.Dg5avknJ.js} +218 -200
- package/library/chunks/{color-swatch.BhBZe8OE.js → color-swatch.DsWP2fd-.js} +1 -1
- package/library/chunks/{document-viewer.DXtjdvqe.js → document-viewer.CGyOG1yw.js} +1 -1
- package/library/chunks/{image.BO6NWyIo.js → image.5mhGPvMN.js} +1 -1
- package/library/chunks/url.Bd5rq4G0.js +48 -0
- package/library/components/atoms.js +2 -2
- package/library/components/color-swatch-group.js +2 -2
- package/library/components/color-swatch.js +1 -1
- package/library/components/document-viewer.js +2 -2
- package/library/components/file-on-demand.js +1 -1
- package/library/components/image.js +2 -2
- package/library/components/masonry.js +1 -1
- package/library/components/molecules.js +1 -1
- package/library/components/organisms.js +1 -1
- package/library/components/types.js +63 -61
- package/library/components/video.js +1 -1
- package/library/package.json +1 -1
- package/library/packages/hybrid/table-core/src/table/styles/table-overlay-scrollbar.styles.d.ts +9 -0
- package/library/packages/hybrid/table-core/src/tabulator-tables/core/rendering/renderers/VirtualDomVertical.d.ts +1 -0
- package/library/packages/utils/src/url/url.d.ts +7 -0
- package/library/utils.js +215 -213
- package/package.json +1 -1
- package/library/chunks/url.-WDYqplj.js +0 -42
package/library/utils.js
CHANGED
|
@@ -1,40 +1,40 @@
|
|
|
1
|
-
import { b as
|
|
2
|
-
import { R as Ct,
|
|
3
|
-
import { j as
|
|
4
|
-
import { e as
|
|
5
|
-
import { d as
|
|
6
|
-
import { a as
|
|
7
|
-
import { a as
|
|
8
|
-
import { t as
|
|
9
|
-
import { c as
|
|
10
|
-
import { d as
|
|
11
|
-
import { d as
|
|
12
|
-
import { d as
|
|
13
|
-
import { f as
|
|
14
|
-
import { f as
|
|
15
|
-
import { F as
|
|
16
|
-
import { L as
|
|
17
|
-
import { c as
|
|
18
|
-
import { g as
|
|
19
|
-
import { g as
|
|
1
|
+
import { b as O } from "./chunks/url.Bd5rq4G0.js";
|
|
2
|
+
import { R as Ct, e as xt, f as Mt, g as yt, U as St, a as Et, d as At, c as It, i as Lt, t as vt } from "./chunks/url.Bd5rq4G0.js";
|
|
3
|
+
import { j as bt, f as Vt, b as Ft, c as Ot, g as kt, e as Yt, i as Nt, a as Ut, h as _t, m as Pt, d as Xt, r as Ht, t as Wt } from "./chunks/toast.TDU3wVhq.js";
|
|
4
|
+
import { e as $t, a as Gt, f as zt, g as qt, d as Qt, b as Zt, c as jt, i as Jt, p as Kt, s as te } from "./chunks/browser.BHOCIF_A.js";
|
|
5
|
+
import { d as re, C as ae, e as se, H as oe, R as ne, c as ie, h as le, f as ce, g as ue, l as me, a as fe, p as he, b as ge } from "./chunks/color.LzSGBy7o.js";
|
|
6
|
+
import { a as pe, g as De } from "./chunks/active-elements.jTVWtBDp.js";
|
|
7
|
+
import { a as we, p as Ce, c as xe, b as Me, s as ye, w as Se } from "./chunks/event.BeKOsirN.js";
|
|
8
|
+
import { t as Ae } from "./chunks/converters.DkDtLstb.js";
|
|
9
|
+
import { c as Le } from "./chunks/custom-element.L4WJXn1j.js";
|
|
10
|
+
import { d as Re } from "./chunks/debounce.DaHuiSGU.js";
|
|
11
|
+
import { d as Ve } from "./chunks/default-value.COZopaet.js";
|
|
12
|
+
import { d as Oe } from "./chunks/drag.DXEXVXPv.js";
|
|
13
|
+
import { f as Ye } from "./chunks/focus-when-visible.jWSw9ks0.js";
|
|
14
|
+
import { f as k } from "./chunks/form.CP9KLGjF.js";
|
|
15
|
+
import { F as Ue, c as _e, g as Pe, v as Xe, a as He } from "./chunks/form.CP9KLGjF.js";
|
|
16
|
+
import { L as Be, r as $e } from "./chunks/i18n.Bchq8v1d.js";
|
|
17
|
+
import { c as ze, q as qe } from "./chunks/math.DuKzLacZ.js";
|
|
18
|
+
import { g as Ze } from "./chunks/modal.jdGhujoh.js";
|
|
19
|
+
import { g as Je, l as Ke, s as tr, u as er } from "./chunks/scroll.xtO5yojm.js";
|
|
20
20
|
import { k as y } from "./chunks/dom.C5aVLhKS.js";
|
|
21
|
-
import { c as
|
|
22
|
-
import { H as
|
|
23
|
-
import { a as
|
|
24
|
-
import { i as
|
|
25
|
-
import { w as
|
|
26
|
-
import { C as
|
|
27
|
-
import { b as
|
|
21
|
+
import { c as ar, d as sr, h as or, m as nr, a as ir, g as lr, j as cr, b as ur, f as mr, i as fr, e as hr, l as gr, s as dr } from "./chunks/dom.C5aVLhKS.js";
|
|
22
|
+
import { H as Dr, a as Tr, g as wr } from "./chunks/slot.j5oheLJC.js";
|
|
23
|
+
import { a as xr, g as Mr } from "./chunks/tabbable.BwnZBHrm.js";
|
|
24
|
+
import { i as Sr } from "./chunks/user-agent.D9aPuOyL.js";
|
|
25
|
+
import { w as Ar } from "./chunks/watch.DOt4Mabe.js";
|
|
26
|
+
import { C as Lr } from "./chunks/calendar-grid.BWjcZL5W.js";
|
|
27
|
+
import { b as Rr, c as br, f as Vr, h as Fr, g as Or, a as kr, i as Yr, d as Nr, n as Ur, e as _r, p as Pr, t as Xr } from "./chunks/date.iWq_pkIk.js";
|
|
28
28
|
import { f as c, a as u, D as m } from "./chunks/date-picker.BGHn6qg8.js";
|
|
29
|
-
import { f as
|
|
30
|
-
import { c as
|
|
31
|
-
import { b as
|
|
32
|
-
import { a as
|
|
33
|
-
import { s as
|
|
34
|
-
import { b as
|
|
35
|
-
import { g as
|
|
36
|
-
import { c as
|
|
37
|
-
import { b as
|
|
29
|
+
import { f as Wr } from "./chunks/content-builder.BU8X7I6V.js";
|
|
30
|
+
import { c as $r, f as Gr, e as zr, b as qr, g as Qr, d as Zr, i as jr, r as Jr, a as Kr } from "./chunks/image.QVlPFadX.js";
|
|
31
|
+
import { b as ea, e as ra } from "./chunks/waveform.1U9U_0rd.js";
|
|
32
|
+
import { a as sa, b as oa, c as na, e as ia, d as la, f as ca, g as ua, r as ma, s as fa } from "./chunks/number.CtCaI0T_.js";
|
|
33
|
+
import { s as ga } from "./chunks/parse.Cu5nBDTb.js";
|
|
34
|
+
import { b as pa, o as Da, d as Ta, e as wa, f as Ca, m as xa, q as Ma, g as ya, h as Sa, l as Ea, p as Aa, z as Ia, y as La, a as va, c as Ra, s as ba, x as Va, v as Fa, t as Oa, r as ka, w as Ya, i as Na, n as Ua, u as _a } from "./chunks/string.BhJ0Zogu.js";
|
|
35
|
+
import { g as Xa, a as Ha } from "./chunks/template.ClovJacp.js";
|
|
36
|
+
import { c as Ba, f as $a, a as Ga, g as za } from "./chunks/time.DWfbnPnM.js";
|
|
37
|
+
import { b as Qa } from "./chunks/transformation.BDmd3kER.js";
|
|
38
38
|
function n(t) {
|
|
39
39
|
const e = t.getFullYear(), r = String(t.getMonth() + 1).padStart(2, "0"), s = String(t.getDate()).padStart(2, "0");
|
|
40
40
|
return `${e}-${r}-${s}`;
|
|
@@ -53,10 +53,10 @@ function E(t) {
|
|
|
53
53
|
function A(t) {
|
|
54
54
|
return new Date(t.getFullYear(), t.getMonth(), 1);
|
|
55
55
|
}
|
|
56
|
-
function
|
|
56
|
+
function I(t) {
|
|
57
57
|
return new Date(t.getFullYear(), t.getMonth() + 1, 0);
|
|
58
58
|
}
|
|
59
|
-
function
|
|
59
|
+
function L(t) {
|
|
60
60
|
const e = Math.floor(t.getMonth() / 3) * 3;
|
|
61
61
|
return new Date(t.getFullYear(), e, 1);
|
|
62
62
|
}
|
|
@@ -64,11 +64,11 @@ function v(t) {
|
|
|
64
64
|
const e = Math.floor(t.getMonth() / 3) * 3;
|
|
65
65
|
return new Date(t.getFullYear(), e + 3, 0);
|
|
66
66
|
}
|
|
67
|
-
function
|
|
67
|
+
function R(t) {
|
|
68
68
|
const e = t.getMonth() < 6 ? 0 : 6;
|
|
69
69
|
return new Date(t.getFullYear(), e, 1);
|
|
70
70
|
}
|
|
71
|
-
function
|
|
71
|
+
function b(t) {
|
|
72
72
|
const e = t.getMonth() < 6 ? 0 : 6;
|
|
73
73
|
return new Date(t.getFullYear(), e + 6, 0);
|
|
74
74
|
}
|
|
@@ -158,7 +158,7 @@ class G {
|
|
|
158
158
|
return {
|
|
159
159
|
fromDate: n(A(r)),
|
|
160
160
|
fromTime: m,
|
|
161
|
-
toDate: n(
|
|
161
|
+
toDate: n(I(r)),
|
|
162
162
|
toTime: u
|
|
163
163
|
};
|
|
164
164
|
case c.lastMonth: {
|
|
@@ -166,13 +166,13 @@ class G {
|
|
|
166
166
|
return {
|
|
167
167
|
fromDate: n(A(a)),
|
|
168
168
|
fromTime: m,
|
|
169
|
-
toDate: n(
|
|
169
|
+
toDate: n(I(a)),
|
|
170
170
|
toTime: u
|
|
171
171
|
};
|
|
172
172
|
}
|
|
173
173
|
case c.thisQuarter:
|
|
174
174
|
return {
|
|
175
|
-
fromDate: n(
|
|
175
|
+
fromDate: n(L(r)),
|
|
176
176
|
fromTime: m,
|
|
177
177
|
toDate: n(v(r)),
|
|
178
178
|
toTime: u
|
|
@@ -184,7 +184,7 @@ class G {
|
|
|
184
184
|
1
|
|
185
185
|
);
|
|
186
186
|
return {
|
|
187
|
-
fromDate: n(
|
|
187
|
+
fromDate: n(L(a)),
|
|
188
188
|
fromTime: m,
|
|
189
189
|
toDate: n(v(a)),
|
|
190
190
|
toTime: u
|
|
@@ -192,17 +192,17 @@ class G {
|
|
|
192
192
|
}
|
|
193
193
|
case c.thisHalfYear:
|
|
194
194
|
return {
|
|
195
|
-
fromDate: n(
|
|
195
|
+
fromDate: n(R(r)),
|
|
196
196
|
fromTime: m,
|
|
197
|
-
toDate: n(
|
|
197
|
+
toDate: n(b(r)),
|
|
198
198
|
toTime: u
|
|
199
199
|
};
|
|
200
200
|
case c.lastHalfYear: {
|
|
201
201
|
const a = new Date(r.getFullYear(), r.getMonth() - 6, 1);
|
|
202
202
|
return {
|
|
203
|
-
fromDate: n(
|
|
203
|
+
fromDate: n(R(a)),
|
|
204
204
|
fromTime: m,
|
|
205
|
-
toDate: n(
|
|
205
|
+
toDate: n(b(a)),
|
|
206
206
|
toTime: u
|
|
207
207
|
};
|
|
208
208
|
}
|
|
@@ -263,7 +263,7 @@ function Q(t) {
|
|
|
263
263
|
}
|
|
264
264
|
function Z(t, e = void 0) {
|
|
265
265
|
!this.ownerDocument.defaultView?.Matrix3 || !t || this.ownerDocument.defaultView?.open(
|
|
266
|
-
|
|
266
|
+
O(t, "https://", !0),
|
|
267
267
|
e ?? "_blank"
|
|
268
268
|
);
|
|
269
269
|
}
|
|
@@ -394,7 +394,7 @@ function nt(t) {
|
|
|
394
394
|
}), r;
|
|
395
395
|
}
|
|
396
396
|
function N(t) {
|
|
397
|
-
const r = [...t.getRootNode().querySelectorAll("*")], s = [...t.elements], a =
|
|
397
|
+
const r = [...t.getRootNode().querySelectorAll("*")], s = [...t.elements], a = k.get(t), o = a ? Array.from(a) : [];
|
|
398
398
|
return [...s, ...o].sort(
|
|
399
399
|
(i, l) => r.indexOf(i) < r.indexOf(l) ? -1 : r.indexOf(i) > r.indexOf(l) ? 1 : 0
|
|
400
400
|
);
|
|
@@ -482,7 +482,7 @@ function ht(t, e) {
|
|
|
482
482
|
function gt(t, e) {
|
|
483
483
|
typeof Storage < "u" && localStorage.setItem(t, e.toString());
|
|
484
484
|
}
|
|
485
|
-
const
|
|
485
|
+
const _ = 10;
|
|
486
486
|
function dt(t, e) {
|
|
487
487
|
let r = 0, s = t.length;
|
|
488
488
|
for (; r < s; ) {
|
|
@@ -491,7 +491,7 @@ function dt(t, e) {
|
|
|
491
491
|
}
|
|
492
492
|
t.splice(r, 0, e);
|
|
493
493
|
}
|
|
494
|
-
function
|
|
494
|
+
function P(t, e, r) {
|
|
495
495
|
return t.find(
|
|
496
496
|
(s) => s.col === e && s.row === r
|
|
497
497
|
) ?? null;
|
|
@@ -538,7 +538,7 @@ async function* pt({
|
|
|
538
538
|
const T = g * i + d, D = T * s;
|
|
539
539
|
if (D >= r)
|
|
540
540
|
continue;
|
|
541
|
-
const w = d * p, C = g * l, x =
|
|
541
|
+
const w = d * p, C = g * l, x = P(t[a] ?? [], d, g), M = d === i - 1 && g === f - 1 || D + s >= r;
|
|
542
542
|
x ? yield { ...x, isLastFrame: M } : (await X(o, D, s), F.drawImage(
|
|
543
543
|
o,
|
|
544
544
|
w,
|
|
@@ -554,7 +554,7 @@ async function* pt({
|
|
|
554
554
|
isLastFrame: M,
|
|
555
555
|
row: g,
|
|
556
556
|
rows: f,
|
|
557
|
-
time: Number(D.toFixed(
|
|
557
|
+
time: Number(D.toFixed(_)),
|
|
558
558
|
x: w,
|
|
559
559
|
y: C
|
|
560
560
|
}), await new Promise(requestAnimationFrame);
|
|
@@ -572,197 +572,199 @@ function Dt({
|
|
|
572
572
|
return a > t && (a = t / 2), a;
|
|
573
573
|
}
|
|
574
574
|
export {
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
575
|
+
re as CMYK_VALIDATION_REGEX,
|
|
576
|
+
Lr as CalendarGrid,
|
|
577
|
+
ae as ColorType,
|
|
578
578
|
K as CortexPopupController,
|
|
579
579
|
G as DateRangePresets,
|
|
580
580
|
tt as DragScroll,
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
581
|
+
Ue as FormControlController,
|
|
582
|
+
se as HEX_ALPHA_VALIDATION_REGEX,
|
|
583
|
+
oe as HEX_VALIDATION_REGEX,
|
|
584
|
+
Dr as HasSlotController,
|
|
585
585
|
lt as HistoryManager,
|
|
586
586
|
U as KeyboardKey,
|
|
587
|
-
|
|
588
|
-
|
|
587
|
+
Be as LocalizeController,
|
|
588
|
+
_ as PRECISION,
|
|
589
589
|
Ct as RELATIVE_URL_REGEX,
|
|
590
|
-
|
|
590
|
+
ne as RGB_VALIDATION_REGEX,
|
|
591
591
|
xt as URL_DOMAIN_VALIDATION_REGEX,
|
|
592
|
-
Mt as
|
|
593
|
-
yt as
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
$
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
592
|
+
Mt as URL_INTRANET_DOMAIN_VALIDATION_REGEX,
|
|
593
|
+
yt as URL_PROTOCOL_VALIDATION_REGEX,
|
|
594
|
+
St as URL_VALIDATION_REGEX,
|
|
595
|
+
pe as activeElements,
|
|
596
|
+
Rr as addMonths,
|
|
597
|
+
bt as adjustRelativeValues,
|
|
598
|
+
we as animateTo,
|
|
599
|
+
O as appendProtocol,
|
|
600
|
+
Et as appendQueryParam,
|
|
601
|
+
Qa as buildTransformationString,
|
|
602
|
+
ea as buildWaveformPath,
|
|
603
|
+
$r as calculateAspectRatioFit,
|
|
604
|
+
ze as clamp,
|
|
605
|
+
Gr as cleanImageFileName,
|
|
606
|
+
Ba as clearZeroDurationParts,
|
|
607
|
+
ie as convertColor,
|
|
608
|
+
sa as convertDataUnits,
|
|
609
|
+
oa as convertDurationToMilliseconds,
|
|
610
|
+
na as convertPixelsToAspectRatio,
|
|
611
|
+
zr as convertSrcToBlob,
|
|
612
|
+
qr as cropImage,
|
|
613
|
+
ar as cssValueToPx,
|
|
614
|
+
Le as customElement,
|
|
615
|
+
_e as customErrorValidityState,
|
|
616
|
+
Re as debounce,
|
|
617
|
+
Ve as defaultValue,
|
|
617
618
|
J as downloadAsset,
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
619
|
+
Oe as drag,
|
|
620
|
+
pa as emptyToSpace,
|
|
621
|
+
Da as escapeXML,
|
|
622
|
+
le as extractColor,
|
|
623
|
+
Ta as extractExtension,
|
|
623
624
|
pt as extractFrames,
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
625
|
+
wa as extractRootData,
|
|
626
|
+
ia as extractValueAndUnit,
|
|
627
|
+
ra as extractWaveformPeaks,
|
|
628
|
+
Wr as fetchCortexApi,
|
|
629
|
+
$t as findAncestorWithBuggyStyle,
|
|
630
|
+
Gt as findContainingBlock,
|
|
631
|
+
zt as findCuttingAncestor,
|
|
632
|
+
P as findFrameByColAndRow,
|
|
633
|
+
Vt as findIndexByProp,
|
|
634
|
+
Ye as focusWhenVisible,
|
|
635
|
+
k as formCollections,
|
|
636
|
+
la as formatAspectRatioString,
|
|
637
|
+
$a as formatDurationPartsManually,
|
|
638
|
+
br as formatIsoToDisplay,
|
|
639
|
+
Vr as formatMonthYearLabel,
|
|
640
|
+
ca as formatNumberWithGrouping,
|
|
641
|
+
Ca as formatSecondsToTime,
|
|
642
|
+
xa as formatTimeToSeconds,
|
|
643
|
+
Ga as formatWithIntlDurationFormat,
|
|
644
|
+
ua as gcd,
|
|
645
|
+
sr as getActiveElement,
|
|
646
|
+
Ze as getActiveModals,
|
|
647
|
+
Pe as getAssociatedForm,
|
|
648
|
+
or as getAttributes,
|
|
649
|
+
Ma as getAttributesString,
|
|
650
|
+
Ft as getBreakpointsFromCSS,
|
|
650
651
|
ot as getBrowserFontVariants,
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
652
|
+
ce as getColorType,
|
|
653
|
+
Qr as getContainedImageSize,
|
|
654
|
+
nr as getCortexPopupLayer,
|
|
654
655
|
y as getCurrentZIndex,
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
656
|
+
Fr as getDateMask,
|
|
657
|
+
De as getDeepestActiveElement,
|
|
658
|
+
Ot as getDeviceType,
|
|
659
|
+
za as getDurationPartsByUnitsFormat,
|
|
660
|
+
ir as getElementFromHTMLString,
|
|
661
|
+
lr as getElementFromTemplate,
|
|
662
|
+
Or as getFirstDayOfWeek,
|
|
662
663
|
at as getFontFamilyOptionValue,
|
|
663
664
|
N as getFormControls,
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
665
|
+
Xa as getHighlightedTitle,
|
|
666
|
+
Ha as getHighlightedTitleHtml,
|
|
667
|
+
Tr as getInnerHTML,
|
|
667
668
|
Dt as getInterval,
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
669
|
+
ue as getLightDarkCssString,
|
|
670
|
+
Zr as getNaturalWidthHeight,
|
|
671
|
+
cr as getNeededPaddingForBoxShadow,
|
|
672
|
+
qt as getNextAncestor,
|
|
673
|
+
Je as getOffset,
|
|
674
|
+
ur as getRelativeClickPercentage,
|
|
675
|
+
ya as getRootIDString,
|
|
676
|
+
xr as getTabbableBoundary,
|
|
677
|
+
Mr as getTabbableElements,
|
|
678
|
+
wr as getTextContent,
|
|
679
|
+
kr as getTodayIsoDate,
|
|
679
680
|
rt as getTypefaceOptionValue,
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
681
|
+
kt as groupBy,
|
|
682
|
+
Sa as htmlToPlainText,
|
|
683
|
+
Yt as insertAtIndex,
|
|
683
684
|
dt as insertFrameToCache,
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
685
|
+
Nt as insertMultipleAtIndex,
|
|
686
|
+
Qt as isChrome,
|
|
687
|
+
Sr as isCortexAdobePlugin,
|
|
688
|
+
mr as isDomElement,
|
|
689
|
+
fr as isElementInHorizontalView,
|
|
690
|
+
At as isExpiredAssetUrl,
|
|
691
|
+
Zt as isFirefox,
|
|
691
692
|
st as isFontFamilyAvailable,
|
|
692
693
|
it as isFormInteracted,
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
694
|
+
Ea as isGalleryItemCardType,
|
|
695
|
+
jt as isIOS,
|
|
696
|
+
hr as isInElement,
|
|
696
697
|
et as isModKey,
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
698
|
+
Jt as isSafari,
|
|
699
|
+
jr as isSaveSrcValid,
|
|
700
|
+
It as isValidDomainOrIntranetUrl,
|
|
701
|
+
Yr as isValidIsoDate,
|
|
702
|
+
Lt as isValidUrl,
|
|
703
|
+
Nr as isoToDate,
|
|
702
704
|
z as isoWeekNumber,
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
705
|
+
gr as loadScript,
|
|
706
|
+
Ke as lockBodyScrolling,
|
|
707
|
+
me as luminanceTextColor,
|
|
708
|
+
Ut as moveMultipleToIndex,
|
|
709
|
+
_t as moveToIndex,
|
|
710
|
+
Pt as multiSelectTo,
|
|
711
|
+
Ur as normalizeToIsoDate,
|
|
710
712
|
ct as omit,
|
|
711
713
|
q as openAssetOverview,
|
|
712
714
|
Q as openFolderOverview,
|
|
713
715
|
Z as openLink,
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
716
|
+
Aa as padPath,
|
|
717
|
+
Ia as parseBooleanString,
|
|
718
|
+
fe as parseBorder,
|
|
719
|
+
_r as parseDisplayToIso,
|
|
720
|
+
Ce as parseDuration,
|
|
721
|
+
Pr as parseIsoDate,
|
|
720
722
|
mt as parseJsonString,
|
|
721
|
-
|
|
723
|
+
he as parseLightDark,
|
|
722
724
|
ft as parseListString,
|
|
723
|
-
|
|
725
|
+
ge as parseShadow,
|
|
724
726
|
ut as pick,
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
727
|
+
Kt as popoverSupported,
|
|
728
|
+
xe as prefersReducedMotion,
|
|
729
|
+
qe as quantizeLargestRemainder,
|
|
728
730
|
ht as readLocalStorageValue,
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
731
|
+
La as reducePathToDirectChild,
|
|
732
|
+
$e as registerTranslation,
|
|
733
|
+
Xt as removeAtIndex,
|
|
734
|
+
Ht as removeMultipleAtIndex,
|
|
735
|
+
Jr as resizeImage,
|
|
736
|
+
ma as rotateBox,
|
|
737
|
+
Kr as rotateImage,
|
|
738
|
+
va as safeExtension,
|
|
739
|
+
Ra as safeString,
|
|
740
|
+
ba as sanitizeHTML,
|
|
741
|
+
fa as sanitizeRotation,
|
|
742
|
+
tr as scrollIntoView,
|
|
741
743
|
nt as serialize,
|
|
742
744
|
j as shareAsset,
|
|
743
|
-
|
|
744
|
-
|
|
745
|
+
Me as shimKeyframesHeightAuto,
|
|
746
|
+
dr as sortByTopPosition,
|
|
745
747
|
Y as sortTypefaceVariants,
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
748
|
+
ga as splitBoxValues,
|
|
749
|
+
Va as splitCamelCaseFormatted,
|
|
750
|
+
ye as stopAnimations,
|
|
751
|
+
te as supportHLS,
|
|
750
752
|
V as testFontAvailability,
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
753
|
+
Ae as timecodeConverter,
|
|
754
|
+
Fa as toCamelCase,
|
|
755
|
+
Xr as toIsoDate,
|
|
756
|
+
Oa as toKebabCase,
|
|
757
|
+
ka as toPascalCase,
|
|
758
|
+
vt as toRelativeUrl,
|
|
759
|
+
Ya as toTitleCase,
|
|
760
|
+
Wt as toast,
|
|
761
|
+
Na as truncateTextMiddle,
|
|
762
|
+
Ua as unescapeXML,
|
|
763
|
+
er as unlockBodyScrolling,
|
|
764
|
+
_a as upperFirst,
|
|
765
|
+
Xe as validValidityState,
|
|
766
|
+
He as valueMissingValidityState,
|
|
767
|
+
Se as waitForEvent,
|
|
768
|
+
Ar as watch,
|
|
767
769
|
gt as writeLocalStorageValue
|
|
768
770
|
};
|
package/package.json
CHANGED
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
function i(a, e = globalThis.location.origin) {
|
|
2
|
-
if (a) {
|
|
3
|
-
try {
|
|
4
|
-
const t = new URL(a);
|
|
5
|
-
if (t.origin === e)
|
|
6
|
-
return t.pathname + t.search + t.hash || "/";
|
|
7
|
-
} catch {
|
|
8
|
-
}
|
|
9
|
-
return a;
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
function z(a, e = "https://", t = !1) {
|
|
13
|
-
return t && a.match(c) || a.match(/^[a-zA-Z][a-zA-Z\d+\-.]*:\/\//) ? a : `${e}${a}`;
|
|
14
|
-
}
|
|
15
|
-
function h(a, e, t) {
|
|
16
|
-
if (!a)
|
|
17
|
-
return a;
|
|
18
|
-
const s = a.indexOf("#"), n = s === -1 ? a : a.slice(0, s), o = s === -1 ? "" : a.slice(s), d = n.includes("?") ? "&" : "?";
|
|
19
|
-
return `${n}${d}${encodeURIComponent(e)}=${encodeURIComponent(t)}${o}`;
|
|
20
|
-
}
|
|
21
|
-
function R(a) {
|
|
22
|
-
return !!a && a.toLowerCase().includes("expire");
|
|
23
|
-
}
|
|
24
|
-
function _(a) {
|
|
25
|
-
try {
|
|
26
|
-
return new URL(a), new RegExp(r, "i").test(a);
|
|
27
|
-
} catch {
|
|
28
|
-
return !1;
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
const c = "^(?![a-zA-Z][a-zA-Z\\d+\\-.]*:\\/\\/)(?!([a-zA-Z0-9-]+\\.)+[a-zA-Z]{2,}($|\\/))[^\\s]+$", r = "^(https?:\\/\\/)?((([a-z\\d]([a-z\\d-]*[a-z\\d])*)\\.)+[a-z]{2,}|((\\d{1,3}\\.){3}\\d{1,3}))(\\:\\d+)?(\\/[-a-z\\d%_.~+]*)*(\\?[;&a-z\\d%_.~+=-]*)?(\\#[^\\s]*)?$", p = "^(https?:\\/\\/)?((([a-z\\d]([a-z\\d-]*[a-z\\d])*)\\.){2,}[a-z]{2,}|((\\d{1,3}\\.){3}\\d{1,3}))(\\:\\d+)?(\\/[-a-z\\d%_.~+]*)*(\\?[;&a-z\\d%_.~+=-]*)?(\\#[^\\s]*)?$", A = "^(https?:\\/\\/)((([a-z\\d]([a-z\\d-]*[a-z\\d])*)\\.)+[a-z]{2,}|((\\d{1,3}\\.){3}\\d{1,3}))(\\:\\d+)?(\\/[-a-z\\d%_.~+]*)*(\\?[;&a-z\\d%_.~+=-]*)?(\\#[^\\s]*)?$";
|
|
32
|
-
export {
|
|
33
|
-
c as R,
|
|
34
|
-
p as U,
|
|
35
|
-
h as a,
|
|
36
|
-
z as b,
|
|
37
|
-
R as c,
|
|
38
|
-
r as d,
|
|
39
|
-
A as e,
|
|
40
|
-
_ as i,
|
|
41
|
-
i as t
|
|
42
|
-
};
|