@orangelogic/design-system 3.18.0 → 3.19.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/{asset-link-format.Bk1qHIQA.js → asset-link-format.ttcRQgDc.js} +5 -5
- package/library/chunks/{button.DCyoZrRj.js → button.D1YIxtv-.js} +1 -1
- package/library/chunks/{color-swatch-group.BtVbKp-v.js → color-swatch-group.Bumfw-G2.js} +4788 -4335
- package/library/chunks/{color-swatch.DxxOpJXT.js → color-swatch.DdsUysbF.js} +1 -1
- package/library/chunks/{confirm-popover.-_1n24v-.js → confirm-popover.CJXyEa5A.js} +3 -3
- package/library/chunks/{dialog.Dl9aHLD4.js → dialog.BbQ4Du0M.js} +2 -2
- package/library/chunks/{document-viewer.B-jtpLuD.js → document-viewer.C9tM2Gc7.js} +6 -6
- package/library/chunks/{dot-pagination.BNoG-qx7.js → dot-pagination.CJRAtM51.js} +1 -1
- package/library/chunks/{folder-select.DWaC4EWa.js → folder-select.BAPsI-gg.js} +4 -4
- package/library/chunks/gradient.CIzq8fOU.js +176 -0
- package/library/chunks/{header.v8maWlzT.js → header.BioJzPlg.js} +1 -1
- package/library/chunks/{i18n.CNnI4-0K.js → i18n.rtxrs1c1.js} +11 -3
- package/library/chunks/{icon-button.5-oAlIkv.js → icon-button.CbUddcgI.js} +1 -1
- package/library/chunks/{iframe.DOwG9Q7o.js → iframe.y7iCAVZP.js} +1 -1
- package/library/chunks/{image.BSh7WAGF.js → image.A2hE1WoV.js} +1 -1
- package/library/chunks/{index.Byin4Jfx.js → index.Coy2OPB4.js} +13 -13
- package/library/chunks/{input.Csf-S2nB.js → input.D1FFprPl.js} +1 -1
- package/library/chunks/{markdown.b03AOvFT.js → markdown.Dd_GFJK8.js} +2 -2
- package/library/chunks/{menu-item.HtTWOcq4.js → menu-item.0TbnDEDp.js} +1 -1
- package/library/chunks/{option.DgxoCq1j.js → option.CyorNG0S.js} +17 -17
- package/library/chunks/{pagination.C9NblxKt.js → pagination.D0BeaEIi.js} +5 -5
- package/library/chunks/{tab-group.B6Aej-jM.js → tab-group.C98CWzEH.js} +4 -4
- package/library/chunks/{tree.pId63hLe.js → tree.B7IKBX3n.js} +1 -1
- package/library/chunks/{types.Fkwo_sYp.js → types.DVZ_cbKn.js} +49 -48
- package/library/components/alert.js +2 -2
- package/library/components/asset-link-format.js +3 -3
- package/library/components/atoms.js +15 -15
- package/library/components/audio.js +2 -2
- package/library/components/border-input-group.js +2 -2
- package/library/components/breadcrumb.js +1 -1
- package/library/components/button.js +2 -2
- package/library/components/color-picker.js +971 -337
- package/library/components/color-swatch-group.js +3 -3
- package/library/components/color-swatch.js +2 -2
- package/library/components/confirm-popover.js +4 -4
- package/library/components/copy-button.js +1 -1
- package/library/components/corner-position-input-group.js +3 -3
- package/library/components/date-calendar.js +1 -1
- package/library/components/details.js +1 -1
- package/library/components/dialog.js +3 -3
- package/library/components/document-viewer.js +3 -3
- package/library/components/dot-pagination.js +2 -2
- package/library/components/drawer.js +2 -2
- package/library/components/dropdown.js +2 -2
- package/library/components/dynamic-select.js +4 -4
- package/library/components/e-chart.js +1 -1
- package/library/components/element-clamp.js +2 -2
- package/library/components/file-on-demand.js +9 -9
- package/library/components/folder-select.js +4 -4
- package/library/components/format-bytes.js +1 -1
- package/library/components/format-date.js +1 -1
- package/library/components/format-number.js +1 -1
- package/library/components/format-time.js +1 -1
- package/library/components/header.js +2 -2
- package/library/components/icon-button.js +2 -2
- package/library/components/iframe.js +2 -2
- package/library/components/image-comparer.js +1 -1
- package/library/components/image.js +2 -2
- package/library/components/input.js +2 -2
- package/library/components/line-clamp.js +1 -1
- package/library/components/markdown.js +3 -3
- package/library/components/masonry.js +2 -2
- package/library/components/menu-item.js +2 -2
- package/library/components/menu.js +2 -2
- package/library/components/molecules.js +3 -3
- package/library/components/option.js +2 -2
- package/library/components/organisms.js +2 -2
- package/library/components/padding-input-group.js +1 -1
- package/library/components/pagination.js +6 -6
- package/library/components/popup.js +1 -1
- package/library/components/position-picker.js +1 -1
- package/library/components/progress-bar.js +1 -1
- package/library/components/progress-ring.js +1 -1
- package/library/components/range.js +1 -1
- package/library/components/rating.js +1 -1
- package/library/components/relative-time.js +1 -1
- package/library/components/select.js +2 -2
- package/library/components/shadow-input-group.js +1 -1
- package/library/components/share-option-list.js +1 -1
- package/library/components/sidebar.js +1 -1
- package/library/components/size-input-group.js +3 -3
- package/library/components/spinner.js +1 -1
- package/library/components/split-panel.js +1 -1
- package/library/components/tab-group.js +5 -5
- package/library/components/tab.js +2 -2
- package/library/components/tag.js +2 -2
- package/library/components/tooltip.js +1 -1
- package/library/components/tree-item.js +2 -2
- package/library/components/tree.js +2 -2
- package/library/components/typeface.js +2 -2
- package/library/components/types.js +171 -161
- package/library/components/video.js +2 -2
- package/library/package.json +1 -1
- package/library/packages/atoms/src/components/color-picker/color-picker.d.ts +160 -2
- package/library/packages/atoms/src/components/color-picker/components/gradient-slider/gradient-slider.d.ts +80 -0
- package/library/packages/atoms/src/components/color-picker/components/gradient-slider/gradient-slider.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/color-picker/components/gradient-stop-list/gradient-stop-list.d.ts +85 -0
- package/library/packages/atoms/src/components/color-picker/components/gradient-stop-list/gradient-stop-list.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/input/input.d.ts +1 -1
- package/library/packages/atoms/src/components/option/option.d.ts +1 -1
- package/library/packages/events/src/cx-gradient-change.d.ts +10 -0
- package/library/packages/events/src/cx-gradient-stop-add.d.ts +9 -0
- package/library/packages/events/src/cx-gradient-stop-change.d.ts +10 -0
- package/library/packages/events/src/cx-gradient-stop-remove.d.ts +8 -0
- package/library/packages/events/src/cx-gradient-stop-select.d.ts +8 -0
- package/library/packages/events/src/cx-keydown.d.ts +4 -1
- package/library/packages/events/src/events.d.ts +5 -0
- package/library/packages/molecules/src/multi-select/components/board/board.d.ts +58 -2
- package/library/packages/molecules/src/multi-select/components/board-list-item/board-list-item.d.ts +14 -0
- package/library/packages/molecules/src/multi-select/controllers/filter-controller.d.ts +68 -0
- package/library/packages/molecules/src/multi-select/multi-select.d.ts +211 -0
- package/library/packages/molecules/src/multi-select/utils/base.d.ts +44 -0
- package/library/packages/molecules/src/multi-select/utils/reconcile.d.ts +57 -0
- package/library/packages/types/src/board.d.ts +25 -0
- package/library/packages/types/src/color-picker.d.ts +35 -2
- package/library/packages/utils/src/custom-element/i18n.d.ts +8 -0
- package/library/packages/utils/src/gradient/gradient.d.ts +65 -0
- package/library/packages/utils/src/gradient/index.d.ts +1 -0
- package/library/packages/utils/src/index.d.ts +1 -0
- package/library/react-web-component.d.ts +494 -470
- package/library/utils.js +143 -133
- package/package.json +1 -1
- package/library/packages/molecules/src/multi-select/multi-select.utils.d.ts +0 -3
package/library/utils.js
CHANGED
|
@@ -1,44 +1,45 @@
|
|
|
1
1
|
import { b as k } from "./chunks/url.CGdWC06g.js";
|
|
2
|
-
import { R as
|
|
3
|
-
import { j as Ut, f as
|
|
2
|
+
import { R as yt, f as xt, g as Et, h as It, U as Lt, a as Rt, d as Ft, c as Ot, i as bt, r as vt, t as Vt, e as _t } from "./chunks/url.CGdWC06g.js";
|
|
3
|
+
import { j as Ut, f as Nt, b as Yt, c as Pt, g as Wt, e as Xt, i as Ht, a as Bt, h as Gt, m as $t, d as zt, r as qt, t as Qt } from "./chunks/toast.BxiewnAG.js";
|
|
4
4
|
import { e as jt, a as Jt, f as Kt, g as te, d as ee, b as re, c as ae, i as se, p as oe, s as ne } from "./chunks/browser.BHOCIF_A.js";
|
|
5
|
-
import { d as le, C as ce, e as ue, H as me, R as fe, c as he, h as ge, f as de, g as pe, l as De, a as Te, p as
|
|
6
|
-
import { a as
|
|
7
|
-
import { a as xe, p as Ee, c as Ie, b as Le, s as
|
|
5
|
+
import { d as le, C as ce, e as ue, H as me, R as fe, c as he, h as ge, f as de, g as pe, l as De, a as Te, p as Se, b as we } from "./chunks/color.LzSGBy7o.js";
|
|
6
|
+
import { a as Ae, g as Ce } from "./chunks/active-elements.jTVWtBDp.js";
|
|
7
|
+
import { a as xe, p as Ee, c as Ie, b as Le, s as Re, w as Fe } from "./chunks/event.BeKOsirN.js";
|
|
8
8
|
import { t as be } from "./chunks/converters.DkDtLstb.js";
|
|
9
|
-
import { c as
|
|
9
|
+
import { c as Ve } from "./chunks/custom-element.L4WJXn1j.js";
|
|
10
10
|
import { d as ke } from "./chunks/debounce.DaHuiSGU.js";
|
|
11
|
-
import { d as
|
|
11
|
+
import { d as Ne } from "./chunks/default-value.COZopaet.js";
|
|
12
12
|
import { d as Pe } from "./chunks/drag.DenOh3AE.js";
|
|
13
13
|
import { f as Xe } from "./chunks/focus-when-visible.jWSw9ks0.js";
|
|
14
14
|
import { f as U } from "./chunks/form.DN2v7-DH.js";
|
|
15
15
|
import { F as Be, c as Ge, g as $e, v as ze, a as qe } from "./chunks/form.DN2v7-DH.js";
|
|
16
|
-
import { L as Ze, r as je } from "./chunks/i18n.
|
|
16
|
+
import { L as Ze, r as je } from "./chunks/i18n.rtxrs1c1.js";
|
|
17
17
|
import { c as Ke, q as tr } from "./chunks/math.DuKzLacZ.js";
|
|
18
18
|
import { g as rr } from "./chunks/modal.Ct0bJBSe.js";
|
|
19
19
|
import { g as sr, l as or, s as nr, u as ir } from "./chunks/scroll.xtO5yojm.js";
|
|
20
|
-
import { k as
|
|
21
|
-
import { c as cr, d as ur, h as mr, m as fr, a as hr, g as gr, j as dr, b as pr, f as Dr, i as Tr, e as
|
|
22
|
-
import { H as
|
|
23
|
-
import { a as Lr, g as
|
|
20
|
+
import { k as C } from "./chunks/dom.DL-cNKsj.js";
|
|
21
|
+
import { c as cr, d as ur, h as mr, m as fr, a as hr, g as gr, j as dr, b as pr, f as Dr, i as Tr, e as Sr, l as wr, r as Mr, s as Ar } from "./chunks/dom.DL-cNKsj.js";
|
|
22
|
+
import { H as yr, a as xr, g as Er } from "./chunks/slot.j5oheLJC.js";
|
|
23
|
+
import { a as Lr, g as Rr } from "./chunks/tabbable.BwnZBHrm.js";
|
|
24
24
|
import { i as Or } from "./chunks/user-agent.D9aPuOyL.js";
|
|
25
|
-
import { w as
|
|
25
|
+
import { w as vr } from "./chunks/watch.DJF5K-8U.js";
|
|
26
26
|
import { C as _r } from "./chunks/calendar-grid.BWjcZL5W.js";
|
|
27
|
-
import { b as Ur, c as
|
|
27
|
+
import { b as Ur, c as Nr, f as Yr, h as Pr, g as Wr, a as Xr, i as Hr, d as Br, n as Gr, e as $r, p as zr, t as qr } 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
29
|
import { k as Zr, m as jr, p as Jr, O as Kr, l as ta, a as ea, n as ra, b as aa, g as sa, d as oa, f as na, o as ia, q as la, r as ca, c as ua } from "./chunks/transformation.CjWnFhab.js";
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import { g as
|
|
36
|
-
import {
|
|
30
|
+
import { M as fa, c as ha, e as ga, i as da, n as pa, p as Da, b as Ta, s as Sa, d as wa } from "./chunks/gradient.CIzq8fOU.js";
|
|
31
|
+
import { c as Aa, f as Ca, e as ya, b as xa, g as Ea, d as Ia, i as La, r as Ra, a as Fa } from "./chunks/image.Y5c_hFx8.js";
|
|
32
|
+
import { b as ba, e as va } from "./chunks/waveform.1U9U_0rd.js";
|
|
33
|
+
import { c as _a, b as ka, a as Ua, e as Na, d as Ya, f as Pa, g as Wa, r as Xa, s as Ha } from "./chunks/number.Cx2ncfJJ.js";
|
|
34
|
+
import { s as Ga } from "./chunks/parse.Cu5nBDTb.js";
|
|
35
|
+
import { b as za, n as qa, d as Qa, e as Za, f as ja, y as Ja, o as Ka, g as ts, h as es, l as rs, p as as, z as ss, x as os, a as ns, c as is, s as ls, w as cs, r as us, t as ms, q as fs, v as hs, i as gs, m as ds, u as ps } from "./chunks/string.Demn8Xmk.js";
|
|
36
|
+
import { g as Ts, a as Ss } from "./chunks/template.ClovJacp.js";
|
|
37
|
+
import { c as Ms, f as As, a as Cs, g as ys } from "./chunks/time.DYWuX2id.js";
|
|
37
38
|
function n(t) {
|
|
38
39
|
const e = t.getFullYear(), r = String(t.getMonth() + 1).padStart(2, "0"), s = String(t.getDate()).padStart(2, "0");
|
|
39
40
|
return `${e}-${r}-${s}`;
|
|
40
41
|
}
|
|
41
|
-
function
|
|
42
|
+
function y(t) {
|
|
42
43
|
const e = String(t.getHours()).padStart(2, "0"), r = String(t.getMinutes()).padStart(2, "0"), s = String(t.getSeconds()).padStart(2, "0");
|
|
43
44
|
return `${e}:${r}:${s}`;
|
|
44
45
|
}
|
|
@@ -59,11 +60,11 @@ function L(t) {
|
|
|
59
60
|
const e = Math.floor(t.getMonth() / 3) * 3;
|
|
60
61
|
return new Date(t.getFullYear(), e, 1);
|
|
61
62
|
}
|
|
62
|
-
function
|
|
63
|
+
function R(t) {
|
|
63
64
|
const e = Math.floor(t.getMonth() / 3) * 3;
|
|
64
65
|
return new Date(t.getFullYear(), e + 3, 0);
|
|
65
66
|
}
|
|
66
|
-
function
|
|
67
|
+
function F(t) {
|
|
67
68
|
const e = t.getMonth() < 6 ? 0 : 6;
|
|
68
69
|
return new Date(t.getFullYear(), e, 1);
|
|
69
70
|
}
|
|
@@ -86,9 +87,9 @@ class Q {
|
|
|
86
87
|
const a = new Date(r.getTime() - 18e5);
|
|
87
88
|
return {
|
|
88
89
|
fromDate: n(a),
|
|
89
|
-
fromTime:
|
|
90
|
+
fromTime: y(a),
|
|
90
91
|
toDate: s,
|
|
91
|
-
toTime:
|
|
92
|
+
toTime: y(r)
|
|
92
93
|
};
|
|
93
94
|
}
|
|
94
95
|
case c.today:
|
|
@@ -173,7 +174,7 @@ class Q {
|
|
|
173
174
|
return {
|
|
174
175
|
fromDate: n(L(r)),
|
|
175
176
|
fromTime: m,
|
|
176
|
-
toDate: n(
|
|
177
|
+
toDate: n(R(r)),
|
|
177
178
|
toTime: u
|
|
178
179
|
};
|
|
179
180
|
case c.lastQuarter: {
|
|
@@ -185,13 +186,13 @@ class Q {
|
|
|
185
186
|
return {
|
|
186
187
|
fromDate: n(L(a)),
|
|
187
188
|
fromTime: m,
|
|
188
|
-
toDate: n(
|
|
189
|
+
toDate: n(R(a)),
|
|
189
190
|
toTime: u
|
|
190
191
|
};
|
|
191
192
|
}
|
|
192
193
|
case c.thisHalfYear:
|
|
193
194
|
return {
|
|
194
|
-
fromDate: n(
|
|
195
|
+
fromDate: n(F(r)),
|
|
195
196
|
fromTime: m,
|
|
196
197
|
toDate: n(O(r)),
|
|
197
198
|
toTime: u
|
|
@@ -199,7 +200,7 @@ class Q {
|
|
|
199
200
|
case c.lastHalfYear: {
|
|
200
201
|
const a = new Date(r.getFullYear(), r.getMonth() - 6, 1);
|
|
201
202
|
return {
|
|
202
|
-
fromDate: n(
|
|
203
|
+
fromDate: n(F(a)),
|
|
203
204
|
fromTime: m,
|
|
204
205
|
toDate: n(O(a)),
|
|
205
206
|
toTime: u
|
|
@@ -289,14 +290,14 @@ function et(t, e) {
|
|
|
289
290
|
}
|
|
290
291
|
class rt {
|
|
291
292
|
constructor(e) {
|
|
292
|
-
this.currentZIndex =
|
|
293
|
+
this.currentZIndex = C(), (this.host = e).addController(this);
|
|
293
294
|
}
|
|
294
295
|
hostConnected() {
|
|
295
296
|
}
|
|
296
297
|
hostDisconnected() {
|
|
297
298
|
}
|
|
298
299
|
async activatePopup() {
|
|
299
|
-
this.currentZIndex =
|
|
300
|
+
this.currentZIndex = C();
|
|
300
301
|
}
|
|
301
302
|
}
|
|
302
303
|
class at {
|
|
@@ -340,19 +341,19 @@ function nt(t) {
|
|
|
340
341
|
].filter((r) => r != null && r !== "").join("_");
|
|
341
342
|
return b(e);
|
|
342
343
|
}
|
|
343
|
-
function
|
|
344
|
+
function v(t) {
|
|
344
345
|
return t.length >= 2 && (t.startsWith("'") && t.endsWith("'") || t.startsWith('"') && t.endsWith('"'));
|
|
345
346
|
}
|
|
346
|
-
function
|
|
347
|
-
return
|
|
347
|
+
function N(t) {
|
|
348
|
+
return v(t) || !t.includes(" ") ? t : `'${t.replace(/\\/g, "\\\\").replace(/'/g, "\\'")}'`;
|
|
348
349
|
}
|
|
349
350
|
function it(t) {
|
|
350
|
-
return
|
|
351
|
+
return v(t) ? t.slice(1, -1).replace(/\\(.)/g, "$1") : t;
|
|
351
352
|
}
|
|
352
|
-
function
|
|
353
|
+
function V(t, e) {
|
|
353
354
|
if (!t?.document)
|
|
354
355
|
return !1;
|
|
355
|
-
const r = "mmmmmmmmmmwwwwwww", s = "32px", o = t.document.createElement("canvas").getContext("2d"), i = (f) => o ? (o.font = `${s} ${
|
|
356
|
+
const r = "mmmmmmmmmmwwwwwww", s = "32px", o = t.document.createElement("canvas").getContext("2d"), i = (f) => o ? (o.font = `${s} ${N(f)}, monospace`, o.measureText(r).width) : 0, l = i("monospace");
|
|
356
357
|
return i(e) !== l;
|
|
357
358
|
}
|
|
358
359
|
function lt(t, e) {
|
|
@@ -361,9 +362,9 @@ function lt(t, e) {
|
|
|
361
362
|
let r = !1;
|
|
362
363
|
return t.document.fonts.forEach((s) => {
|
|
363
364
|
s.family.replace(/['"]/g, "").toLowerCase() === e.toLowerCase() && (r = !0);
|
|
364
|
-
}), r ? !0 :
|
|
365
|
+
}), r ? !0 : V(t, e);
|
|
365
366
|
}
|
|
366
|
-
function
|
|
367
|
+
function Y(t) {
|
|
367
368
|
const e = /\bitalic\b/i, r = /\b(semi[-\s]?condensed|condensed)\b/i, s = (a) => {
|
|
368
369
|
const o = a.fontFamily.toLowerCase(), i = a.fontStyle.toLowerCase(), l = e.test(i), p = r.test(o);
|
|
369
370
|
let f = 0;
|
|
@@ -380,7 +381,7 @@ function N(t) {
|
|
|
380
381
|
}
|
|
381
382
|
function ct(t, e, r = [300, 400, 500, 700, 900], s = ["normal", "italic"]) {
|
|
382
383
|
const a = [];
|
|
383
|
-
if (
|
|
384
|
+
if (V(t, e))
|
|
384
385
|
for (const o of r)
|
|
385
386
|
for (const i of s)
|
|
386
387
|
a.push({
|
|
@@ -389,7 +390,7 @@ function ct(t, e, r = [300, 400, 500, 700, 900], s = ["normal", "italic"]) {
|
|
|
389
390
|
fontWeight: o.toString(),
|
|
390
391
|
src: ""
|
|
391
392
|
});
|
|
392
|
-
return
|
|
393
|
+
return Y(a);
|
|
393
394
|
}
|
|
394
395
|
function ut(t) {
|
|
395
396
|
const e = new FormData(t), r = {};
|
|
@@ -491,7 +492,7 @@ function Tt(t, e) {
|
|
|
491
492
|
typeof Storage < "u" && localStorage.setItem(t, e.toString());
|
|
492
493
|
}
|
|
493
494
|
const X = 10;
|
|
494
|
-
function
|
|
495
|
+
function St(t, e) {
|
|
495
496
|
let r = 0, s = t.length;
|
|
496
497
|
for (; r < s; ) {
|
|
497
498
|
const a = Math.floor((r + s) / 2);
|
|
@@ -527,7 +528,7 @@ function B(t, e, r) {
|
|
|
527
528
|
}
|
|
528
529
|
});
|
|
529
530
|
}
|
|
530
|
-
async function*
|
|
531
|
+
async function* wt({
|
|
531
532
|
cache: t,
|
|
532
533
|
canvas: e,
|
|
533
534
|
duration: r,
|
|
@@ -546,11 +547,11 @@ async function* Mt({
|
|
|
546
547
|
const T = g * i + d, D = T * s;
|
|
547
548
|
if (D >= r)
|
|
548
549
|
continue;
|
|
549
|
-
const
|
|
550
|
-
|
|
550
|
+
const S = d * p, w = g * l, M = H(t[a] ?? [], d, g), A = d === i - 1 && g === f - 1 || D + s >= r;
|
|
551
|
+
M ? yield { ...M, isLastFrame: A } : (await B(o, D, s), _.drawImage(
|
|
551
552
|
o,
|
|
553
|
+
S,
|
|
552
554
|
w,
|
|
553
|
-
M,
|
|
554
555
|
p,
|
|
555
556
|
l
|
|
556
557
|
), yield {
|
|
@@ -559,18 +560,18 @@ async function* Mt({
|
|
|
559
560
|
frameHeight: l,
|
|
560
561
|
frameWidth: p,
|
|
561
562
|
index: T,
|
|
562
|
-
isLastFrame:
|
|
563
|
+
isLastFrame: A,
|
|
563
564
|
row: g,
|
|
564
565
|
rows: f,
|
|
565
566
|
time: Number(D.toFixed(X)),
|
|
566
|
-
x:
|
|
567
|
-
y:
|
|
567
|
+
x: S,
|
|
568
|
+
y: w
|
|
568
569
|
}), await new Promise(requestAnimationFrame);
|
|
569
570
|
}
|
|
570
571
|
} catch {
|
|
571
572
|
}
|
|
572
573
|
}
|
|
573
|
-
function
|
|
574
|
+
function Mt({
|
|
574
575
|
duration: t,
|
|
575
576
|
frameWidth: e,
|
|
576
577
|
playbackSpeed: r,
|
|
@@ -592,205 +593,214 @@ export {
|
|
|
592
593
|
Be as FormControlController,
|
|
593
594
|
ue as HEX_ALPHA_VALIDATION_REGEX,
|
|
594
595
|
me as HEX_VALIDATION_REGEX,
|
|
595
|
-
|
|
596
|
+
yr as HasSlotController,
|
|
596
597
|
ft as HistoryManager,
|
|
597
598
|
W as KeyboardKey,
|
|
598
599
|
Ze as LocalizeController,
|
|
600
|
+
fa as MIN_GRADIENT_STOPS,
|
|
599
601
|
Kr as ORIGINAL_FORMAT,
|
|
600
602
|
X as PRECISION,
|
|
601
|
-
|
|
603
|
+
yt as RELATIVE_URL_REGEX,
|
|
602
604
|
fe as RGB_VALIDATION_REGEX,
|
|
603
605
|
ta as SRCSET_WIDTH_LADDER,
|
|
604
606
|
xt as URL_DOMAIN_VALIDATION_REGEX,
|
|
605
607
|
Et as URL_INTRANET_DOMAIN_VALIDATION_REGEX,
|
|
606
608
|
It as URL_PROTOCOL_VALIDATION_REGEX,
|
|
607
609
|
Lt as URL_VALIDATION_REGEX,
|
|
608
|
-
|
|
610
|
+
Ae as activeElements,
|
|
609
611
|
Ur as addMonths,
|
|
610
612
|
Ut as adjustRelativeValues,
|
|
611
613
|
xe as animateTo,
|
|
612
614
|
k as appendProtocol,
|
|
613
|
-
|
|
615
|
+
Rt as appendQueryParam,
|
|
614
616
|
ea as applyTransformationsToUrl,
|
|
615
617
|
ra as applyWidthToAssetUrl,
|
|
616
618
|
aa as buildAssetSrcset,
|
|
617
619
|
sa as buildSizesFromDisplayWidth,
|
|
618
620
|
oa as buildTransformationString,
|
|
619
|
-
|
|
620
|
-
|
|
621
|
+
ba as buildWaveformPath,
|
|
622
|
+
Aa as calculateAspectRatioFit,
|
|
621
623
|
Ke as clamp,
|
|
622
|
-
|
|
623
|
-
|
|
624
|
+
Ca as cleanImageFileName,
|
|
625
|
+
Ms as clearZeroDurationParts,
|
|
624
626
|
he as convertColor,
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
627
|
+
_a as convertDataUnits,
|
|
628
|
+
ka as convertDurationToMilliseconds,
|
|
629
|
+
Ua as convertPixelsToAspectRatio,
|
|
630
|
+
ya as convertSrcToBlob,
|
|
631
|
+
ha as createStopId,
|
|
632
|
+
xa as cropImage,
|
|
630
633
|
cr as cssValueToPx,
|
|
631
|
-
|
|
634
|
+
Ve as customElement,
|
|
632
635
|
Ge as customErrorValidityState,
|
|
633
636
|
ke as debounce,
|
|
634
|
-
|
|
637
|
+
Ne as defaultValue,
|
|
635
638
|
et as downloadAsset,
|
|
636
639
|
Pe as drag,
|
|
637
|
-
|
|
638
|
-
|
|
640
|
+
za as emptyToSpace,
|
|
641
|
+
qa as escapeXML,
|
|
639
642
|
ge as extractColor,
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
643
|
+
Qa as extractExtension,
|
|
644
|
+
wt as extractFrames,
|
|
645
|
+
Za as extractRootData,
|
|
646
|
+
Na as extractValueAndUnit,
|
|
647
|
+
va as extractWaveformPeaks,
|
|
645
648
|
na as fetchCortexApi,
|
|
646
649
|
jt as findAncestorWithBuggyStyle,
|
|
647
650
|
Jt as findContainingBlock,
|
|
648
651
|
Kt as findCuttingAncestor,
|
|
649
652
|
H as findFrameByColAndRow,
|
|
650
|
-
|
|
653
|
+
Nt as findIndexByProp,
|
|
651
654
|
Xe as focusWhenVisible,
|
|
652
655
|
U as formCollections,
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
656
|
+
Ya as formatAspectRatioString,
|
|
657
|
+
As as formatDurationPartsManually,
|
|
658
|
+
Nr as formatIsoToDisplay,
|
|
659
|
+
Yr as formatMonthYearLabel,
|
|
660
|
+
Pa as formatNumberWithGrouping,
|
|
661
|
+
ja as formatSecondsToTime,
|
|
662
|
+
Ja as formatTimeToSeconds,
|
|
663
|
+
Cs as formatWithIntlDurationFormat,
|
|
664
|
+
Wa as gcd,
|
|
662
665
|
ur as getActiveElement,
|
|
663
666
|
rr as getActiveModals,
|
|
664
667
|
$e as getAssociatedForm,
|
|
665
668
|
mr as getAttributes,
|
|
666
|
-
|
|
667
|
-
|
|
669
|
+
Ka as getAttributesString,
|
|
670
|
+
Yt as getBreakpointsFromCSS,
|
|
668
671
|
ct as getBrowserFontVariants,
|
|
669
672
|
de as getColorType,
|
|
670
|
-
|
|
673
|
+
Ea as getContainedImageSize,
|
|
671
674
|
fr as getCortexPopupLayer,
|
|
672
|
-
|
|
675
|
+
C as getCurrentZIndex,
|
|
673
676
|
Pr as getDateMask,
|
|
674
|
-
|
|
677
|
+
Ce as getDeepestActiveElement,
|
|
675
678
|
Pt as getDeviceType,
|
|
676
|
-
|
|
679
|
+
ys as getDurationPartsByUnitsFormat,
|
|
677
680
|
hr as getElementFromHTMLString,
|
|
678
681
|
gr as getElementFromTemplate,
|
|
679
682
|
Wr as getFirstDayOfWeek,
|
|
680
683
|
nt as getFontFamilyOptionValue,
|
|
681
684
|
P as getFormControls,
|
|
682
|
-
|
|
683
|
-
|
|
685
|
+
Ts as getHighlightedTitle,
|
|
686
|
+
Ss as getHighlightedTitleHtml,
|
|
684
687
|
xr as getInnerHTML,
|
|
685
|
-
|
|
688
|
+
Mt as getInterval,
|
|
686
689
|
pe as getLightDarkCssString,
|
|
687
|
-
|
|
690
|
+
Ia as getNaturalWidthHeight,
|
|
688
691
|
dr as getNeededPaddingForBoxShadow,
|
|
689
692
|
te as getNextAncestor,
|
|
690
693
|
sr as getOffset,
|
|
691
694
|
pr as getRelativeClickPercentage,
|
|
692
|
-
|
|
695
|
+
ts as getRootIDString,
|
|
693
696
|
Lr as getTabbableBoundary,
|
|
694
|
-
|
|
697
|
+
Rr as getTabbableElements,
|
|
695
698
|
Er as getTextContent,
|
|
696
699
|
Xr as getTodayIsoDate,
|
|
697
700
|
ot as getTypefaceOptionValue,
|
|
698
701
|
Wt as groupBy,
|
|
699
702
|
ia as hasTransformSegment,
|
|
700
|
-
|
|
703
|
+
es as htmlToPlainText,
|
|
701
704
|
Xt as insertAtIndex,
|
|
702
|
-
|
|
705
|
+
St as insertFrameToCache,
|
|
703
706
|
Ht as insertMultipleAtIndex,
|
|
707
|
+
ga as interpolateStopColor,
|
|
704
708
|
ee as isChrome,
|
|
705
709
|
Or as isCortexAdobePlugin,
|
|
706
710
|
Dr as isDomElement,
|
|
707
711
|
Tr as isElementInHorizontalView,
|
|
708
|
-
|
|
712
|
+
Ft as isExpiredAssetUrl,
|
|
709
713
|
re as isFirefox,
|
|
710
714
|
lt as isFontFamilyAvailable,
|
|
711
715
|
mt as isFormInteracted,
|
|
712
|
-
|
|
716
|
+
rs as isGalleryItemCardType,
|
|
717
|
+
da as isGradientString,
|
|
713
718
|
ae as isIOS,
|
|
714
|
-
|
|
719
|
+
Sr as isInElement,
|
|
715
720
|
st as isModKey,
|
|
716
721
|
se as isSafari,
|
|
717
|
-
|
|
722
|
+
La as isSaveSrcValid,
|
|
718
723
|
Ot as isValidDomainOrIntranetUrl,
|
|
719
724
|
Hr as isValidIsoDate,
|
|
720
725
|
bt as isValidUrl,
|
|
721
726
|
Br as isoToDate,
|
|
722
727
|
Z as isoWeekNumber,
|
|
723
|
-
|
|
728
|
+
wr as loadScript,
|
|
724
729
|
or as lockBodyScrolling,
|
|
725
730
|
De as luminanceTextColor,
|
|
726
731
|
Bt as moveMultipleToIndex,
|
|
727
732
|
Gt as moveToIndex,
|
|
728
733
|
$t as multiSelectTo,
|
|
734
|
+
pa as normalizeAngle,
|
|
729
735
|
Gr as normalizeToIsoDate,
|
|
730
736
|
ht as omit,
|
|
731
737
|
j as openAssetOverview,
|
|
732
738
|
J as openFolderOverview,
|
|
733
739
|
K as openLink,
|
|
734
|
-
|
|
735
|
-
|
|
740
|
+
as as padPath,
|
|
741
|
+
ss as parseBooleanString,
|
|
736
742
|
Te as parseBorder,
|
|
737
743
|
$r as parseDisplayToIso,
|
|
738
744
|
Ee as parseDuration,
|
|
739
745
|
la as parseFileSizeToBytes,
|
|
746
|
+
Da as parseGradient,
|
|
740
747
|
zr as parseIsoDate,
|
|
741
748
|
dt as parseJsonString,
|
|
742
|
-
|
|
749
|
+
Se as parseLightDark,
|
|
743
750
|
pt as parseListString,
|
|
744
|
-
|
|
751
|
+
we as parseShadow,
|
|
745
752
|
gt as pick,
|
|
746
753
|
oe as popoverSupported,
|
|
747
754
|
Ie as prefersReducedMotion,
|
|
748
755
|
tr as quantizeLargestRemainder,
|
|
749
|
-
|
|
756
|
+
N as quoteFontFamily,
|
|
750
757
|
Dt as readLocalStorageValue,
|
|
751
|
-
|
|
752
|
-
|
|
758
|
+
Mr as readSearchConsistency,
|
|
759
|
+
os as reducePathToDirectChild,
|
|
753
760
|
je as registerTranslation,
|
|
754
761
|
zt as removeAtIndex,
|
|
755
762
|
qt as removeMultipleAtIndex,
|
|
756
|
-
|
|
763
|
+
Ra as resizeImage,
|
|
757
764
|
ca as resolveAutoFormat,
|
|
758
765
|
ua as resolveAutoMaxWidth,
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
+
vt as resolveSpaceUrl,
|
|
767
|
+
Xa as rotateBox,
|
|
768
|
+
Fa as rotateImage,
|
|
769
|
+
ns as safeExtension,
|
|
770
|
+
is as safeString,
|
|
771
|
+
ls as sanitizeHTML,
|
|
772
|
+
Ha as sanitizeRotation,
|
|
766
773
|
nr as scrollIntoView,
|
|
767
774
|
ut as serialize,
|
|
775
|
+
Ta as serializeGradient,
|
|
768
776
|
tt as shareAsset,
|
|
769
777
|
Le as shimKeyframesHeightAuto,
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
778
|
+
Ar as sortByTopPosition,
|
|
779
|
+
Sa as sortStops,
|
|
780
|
+
Y as sortTypefaceVariants,
|
|
781
|
+
Ga as splitBoxValues,
|
|
782
|
+
cs as splitCamelCaseFormatted,
|
|
783
|
+
wa as splitTopLevel,
|
|
784
|
+
Re as stopAnimations,
|
|
775
785
|
ne as supportHLS,
|
|
776
|
-
|
|
786
|
+
V as testFontAvailability,
|
|
777
787
|
be as timecodeConverter,
|
|
778
|
-
|
|
788
|
+
us as toCamelCase,
|
|
779
789
|
qr as toIsoDate,
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
790
|
+
ms as toKebabCase,
|
|
791
|
+
fs as toPascalCase,
|
|
792
|
+
Vt as toRelativeUrl,
|
|
793
|
+
hs as toTitleCase,
|
|
784
794
|
_t as toUrlPathKey,
|
|
785
795
|
Qt as toast,
|
|
786
|
-
|
|
787
|
-
|
|
796
|
+
gs as truncateTextMiddle,
|
|
797
|
+
ds as unescapeXML,
|
|
788
798
|
ir as unlockBodyScrolling,
|
|
789
799
|
it as unquoteFontFamily,
|
|
790
|
-
|
|
800
|
+
ps as upperFirst,
|
|
791
801
|
ze as validValidityState,
|
|
792
802
|
qe as valueMissingValidityState,
|
|
793
|
-
|
|
794
|
-
|
|
803
|
+
Fe as waitForEvent,
|
|
804
|
+
vr as watch,
|
|
795
805
|
Tt as writeLocalStorageValue
|
|
796
806
|
};
|
package/package.json
CHANGED