@orangelogic/design-system 2.60.0 → 2.61.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/apps/cortex/src/types.d.ts +2 -0
- package/library/chunks/_baseRest.ClTMQtN1.js +67 -0
- package/library/chunks/{_baseUniq.BUihBa8c.js → _baseUniq.Df-fLIBx.js} +53 -56
- package/library/chunks/{amazon_s3.DeaMdPPn.js → amazon_s3.BEMtqafk.js} +1 -1
- package/library/chunks/animate.El-MpOws.js +37 -0
- package/library/chunks/animation-registry.HmpwNuGH.js +34 -0
- package/library/chunks/{animation.B7d72NVK.js → animation.DfUHRQry.js} +10 -8
- package/library/chunks/array.DCtvHiLS.js +81 -0
- package/library/chunks/asset.CG_yXtWK.js +288 -0
- package/library/chunks/{browser.Va59Ix3P.js → browser.BHOCIF_A.js} +18 -16
- package/library/chunks/{button.CtCSNRB3.js → button.P71VJ5xh.js} +75 -74
- package/library/chunks/{button.styles.C8AIO8fd.js → button.styles.Dl5IQLHU.js} +1 -1
- package/library/chunks/{capitalize.CNStXZBq.js → capitalize.WSkCXkNE.js} +1 -1
- package/library/chunks/{chatbot.sm4Rph1v.js → chatbot.BmpIu59L.js} +2 -2
- package/library/chunks/{class-map.CoZTSvbM.js → class-map.BiVq-cVR.js} +1 -1
- package/library/chunks/{color-swatch-group.qJevXs50.js → color-swatch-group.DlLmydlB.js} +116 -127
- package/library/chunks/color-swatch.Bpb_hW2H.js +407 -0
- package/library/chunks/color.vLD2sNTs.js +164 -0
- package/library/chunks/{component.styles.CI-v8BZa.js → component.styles.DMSLciL5.js} +1 -1
- package/library/chunks/{confirm-popover.D2TF1x6K.js → confirm-popover.C1uA36JR.js} +15 -13
- package/library/chunks/{content-builder.WranV3P4.js → content-builder.Bf7kqzDI.js} +1 -1
- package/library/chunks/converters.DkDtLstb.js +11 -0
- package/library/chunks/{cropper.aA0v16xS.js → cropper.BraEEykE.js} +5004 -5024
- package/library/chunks/custom-element.L4WJXn1j.js +14 -0
- package/library/chunks/debounce.DaHuiSGU.js +15 -0
- package/library/chunks/{default-value.CIKAvD5l.js → default-value.COZopaet.js} +1 -1
- package/library/chunks/{dialog.B1TORO6S.js → dialog.C_75RVVz.js} +52 -49
- package/library/chunks/{directive-helpers.DBHob-_L.js → directive-helpers.Dm4rc594.js} +1 -1
- package/library/chunks/dom.CZrJ64Dm.js +92 -0
- package/library/chunks/{dot-pagination.8f2oX_ge.js → dot-pagination.CoCIJsHC.js} +24 -22
- package/library/chunks/{endpoints.BgyupJys.js → endpoints.B7lcoc1N.js} +1 -3
- package/library/chunks/{file-on-demand.Cwgabdyw.js → file-on-demand.B2jNilAj.js} +1829 -1544
- package/library/chunks/{folder-select.DiWCwR-T.js → folder-select.CSEQxIXF.js} +380 -255
- package/library/chunks/{form-control.styles.NE2Q-quE.js → form-control.styles.CUGhvlfT.js} +1 -1
- package/library/chunks/{form.B8u0ywni.js → form.CO12-VK0.js} +1 -1
- package/library/chunks/{guard.BDP4A85K.js → guard.D4axKaMo.js} +1 -1
- package/library/chunks/{header.B_FD8uLt.js → header.Bd3G0-oA.js} +11 -9
- package/library/chunks/{hub-connection.CxfaT11o.js → hub-connection.BxT2b7Nq.js} +4 -3
- package/library/chunks/{i18n.BP2FRO1v.js → i18n.DrzK7TPf.js} +54 -7
- package/library/chunks/identity.ByMq8VxU.js +6 -0
- package/library/chunks/{if-defined.MfEgpxEN.js → if-defined.BRoBj_Rp.js} +1 -1
- package/library/chunks/{iframe.DZm7FiCl.js → iframe.UCj6Ze2A.js} +18 -16
- package/library/chunks/{image.Ycf8RudS.js → image.DZCRhE3G.js} +82 -79
- package/library/chunks/image.mbpyiQpQ.js +82 -0
- package/library/chunks/index.S0wy3rzm.js +373 -0
- package/library/chunks/isObjectLike.D3cpZO39.js +81 -0
- package/library/chunks/{isSymbol.L0C2ND_U.js → isSymbol.huJ_Cvxt.js} +1 -1
- package/library/chunks/lib-cortex-element.CVMmyPMC.js +146 -0
- package/library/chunks/{list-editor.COkw5JKG.js → list-editor.CrLntuM7.js} +75 -79
- package/library/chunks/{custom-element.vnXBMQxc.js → lit-element.jLBm65_O.js} +123 -277
- package/library/chunks/{live.LdB9xEhp.js → live.SCz6M8Gs.js} +2 -2
- package/library/chunks/{mailchimp.BjbPJfd-.js → mailchimp.Bs6uJVsf.js} +1 -1
- package/library/chunks/{modal.BqNLxgs1.js → modal.U1QltQKe.js} +25 -19
- package/library/chunks/{option.D9KJhzHs.js → option.D1u5-cTt.js} +21 -19
- package/library/chunks/{orangelogic.BgbQXkBv.js → orangelogic.TdFfoPUN.js} +1 -1
- package/library/chunks/{overlayscrollbars.aFuRG5Rs.js → overlayscrollbars.XhGWx9Zk.js} +1 -1
- package/library/chunks/{pagination.C2FN4fmO.js → pagination.BI3LONVU.js} +17 -15
- package/library/chunks/{ref.BaCjlzLO.js → ref.bzeTdX0K.js} +2 -2
- package/library/chunks/{repeat.CauKaXyy.js → repeat.DbF2p5ae.js} +2 -2
- package/library/chunks/responsive.CA6dcNiM.js +17 -0
- package/library/chunks/{scroll.DwPiX2Ox.js → scroll.xtO5yojm.js} +3 -2
- package/library/chunks/{slot.DJLm4Dig.js → slot.j5oheLJC.js} +12 -4
- package/library/chunks/{state.Cw55xXlb.js → state.CSDxrqLd.js} +1 -1
- package/library/chunks/{static.BjNkqt7_.js → static.UA3G1Deq.js} +1 -1
- package/library/chunks/string.Cp_XNbnV.js +160 -0
- package/library/chunks/{style-map.CZovMmo_.js → style-map.llVFPd__.js} +1 -1
- package/library/chunks/{tab-group.5fLnWflv.js → tab-group.DxSlcWK0.js} +20 -18
- package/library/chunks/{table.BAr8KKc6.js → table.CY-iMTWV.js} +457 -505
- package/library/chunks/template.CsJd8Pb_.js +20 -0
- package/library/chunks/time.D_uFZqqe.js +118 -0
- package/library/chunks/{toString.CL_lYXbK.js → toString.CRT5zqEU.js} +3 -3
- package/library/chunks/toast.BXNbwZV8.js +25 -0
- package/library/chunks/{tree.CUfvIDyA.js → tree.CNbrP8cY.js} +33 -36
- package/library/chunks/{typography.BFpl0WMA.js → typography.oDzoLbZS.js} +16 -14
- package/library/chunks/{unsafe-html.DyO9_Rsq.js → unsafe-html.Dff7-rCx.js} +1 -1
- package/library/chunks/url.LjsR2sB5.js +15 -0
- package/library/chunks/user-agent.D9aPuOyL.js +4 -0
- package/library/chunks/watch.q1sEjPWL.js +501 -0
- package/library/components/alert.js +38 -35
- package/library/components/animated-image.js +25 -23
- package/library/components/animation.js +7 -5
- package/library/components/array-line-clamp.d.ts +3 -0
- package/library/components/array-line-clamp.js +195 -0
- package/library/components/asset-link-format.js +223 -212
- package/library/components/atoms.js +164 -162
- package/library/components/avatar.js +28 -26
- package/library/components/badge.js +10 -8
- package/library/components/bicolor-picker.js +21 -19
- package/library/components/border-input-group.js +11 -9
- package/library/components/breadcrumb-item.js +14 -12
- package/library/components/breadcrumb.js +24 -22
- package/library/components/button-group.js +26 -24
- package/library/components/button.js +14 -13
- package/library/components/card.js +28 -19
- package/library/components/checkbox.js +29 -23
- package/library/components/color-picker.js +19 -17
- package/library/components/color-swatch-group.js +20 -17
- package/library/components/color-swatch.js +16 -13
- package/library/components/confirm-popover.js +11 -9
- package/library/components/copy-button.js +15 -13
- package/library/components/corner-position-input-group.js +13 -11
- package/library/components/cortex-element.d.ts +3 -0
- package/library/components/cortex-element.js +5 -0
- package/library/components/cropper.js +7 -5
- package/library/components/details.js +23 -20
- package/library/components/dialog.js +19 -16
- package/library/components/divider.js +13 -11
- package/library/components/dot-pagination.js +11 -9
- package/library/components/dot-status.js +10 -8
- package/library/components/drawer.js +63 -51
- package/library/components/dropdown.js +29 -26
- package/library/components/dynamic-select.js +12 -10
- package/library/components/element-clamp.js +28 -25
- package/library/components/file-on-demand.js +21 -20
- package/library/components/folder-select.js +12 -10
- package/library/components/format-bytes.js +11 -10
- package/library/components/format-date.js +11 -9
- package/library/components/format-number.js +16 -15
- package/library/components/format-time.js +118 -9
- package/library/components/grid-item.js +48 -46
- package/library/components/grid.js +31 -29
- package/library/components/header.js +10 -9
- package/library/components/hub-connection.js +6 -5
- package/library/components/icon-button.js +20 -18
- package/library/components/icon.js +17 -15
- package/library/components/iframe.js +10 -8
- package/library/components/image-comparer.js +27 -25
- package/library/components/image.js +14 -11
- package/library/components/include.js +26 -24
- package/library/components/input-group.js +15 -13
- package/library/components/input.js +23 -21
- package/library/components/line-clamp.js +12 -10
- package/library/components/list-editor.js +17 -15
- package/library/components/markdown.js +80 -78
- package/library/components/masonry.js +46 -44
- package/library/components/menu-item.js +151 -136
- package/library/components/menu-label.js +15 -13
- package/library/components/menu-section.js +18 -16
- package/library/components/menu.js +10 -8
- package/library/components/molecules.js +5 -5
- package/library/components/mutation-observer.js +12 -10
- package/library/components/option.js +10 -8
- package/library/components/organisms.js +2 -2
- package/library/components/padding-input-group.js +30 -28
- package/library/components/pagination.js +14 -12
- package/library/components/popup.js +3296 -9
- package/library/components/position-picker.js +12 -10
- package/library/components/progress-bar.js +13 -11
- package/library/components/progress-ring.js +15 -13
- package/library/components/qr-code.js +54 -52
- package/library/components/radio-button.js +19 -17
- package/library/components/radio-card.js +14 -12
- package/library/components/radio-group.js +20 -18
- package/library/components/radio.js +15 -13
- package/library/components/range.js +25 -23
- package/library/components/rating.js +17 -15
- package/library/components/relative-time.js +16 -14
- package/library/components/resize-observer.js +21 -19
- package/library/components/select.js +1442 -25
- package/library/components/shadow-input-group.js +19 -17
- package/library/components/share-option-list.js +20 -18
- package/library/components/sidebar.js +14 -12
- package/library/components/size-input-group.js +35 -33
- package/library/components/skeleton.js +12 -10
- package/library/components/space.js +12 -10
- package/library/components/spinner.js +17 -15
- package/library/components/split-panel.js +15 -13
- package/library/components/step.js +18 -16
- package/library/components/stepper-wizard.js +11 -9
- package/library/components/stepper.js +13 -11
- package/library/components/switch.js +21 -19
- package/library/components/tab-group.js +15 -13
- package/library/components/tab-panel.js +20 -18
- package/library/components/tab.js +18 -16
- package/library/components/table.js +69 -67
- package/library/components/tag.js +11 -9
- package/library/components/textarea.js +20 -18
- package/library/components/timecode.js +98 -8
- package/library/components/tooltip.js +24 -21
- package/library/components/tree-item.js +14 -11
- package/library/components/tree.js +12 -10
- package/library/components/typeface.js +13 -11
- package/library/components/types.js +15487 -15444
- package/library/components/typography.js +6 -4
- package/library/components/video.js +13 -11
- package/library/components/visually-hidden.js +15 -13
- package/library/events.d.ts +1 -0
- package/library/events.js +1 -0
- package/library/package.json +11 -2
- package/library/packages/atoms/src/components/array-line-clamp/array-line-clamp.d.ts +45 -0
- package/library/packages/atoms/src/components/array-line-clamp/array-line-clamp.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/checkbox/checkbox.d.ts +2 -0
- package/library/packages/atoms/src/components/drawer/drawer.d.ts +7 -1
- package/library/packages/atoms/src/components/include/include.d.ts +1 -0
- package/library/packages/atoms/src/components/menu-item/menu-item.d.ts +2 -0
- package/library/packages/atoms/src/components/tree/tree.d.ts +0 -4
- package/library/packages/atoms/src/index.d.ts +1 -0
- package/library/packages/events/src/cx-file-on-demand-load-more.d.ts +8 -0
- package/library/packages/events/src/cx-file-on-demand-pin.d.ts +8 -0
- package/library/packages/events/src/cx-file-on-demand-unpin.d.ts +8 -0
- package/library/packages/events/src/cx-folder-select-search-term-change.d.ts +8 -0
- package/library/packages/events/src/cx-share-option-list-item-selected.d.ts +8 -0
- package/library/packages/events/src/events.d.ts +6 -2
- package/library/packages/molecules/src/asset-picker/asset-picker.d.ts +2 -0
- package/library/packages/molecules/src/cropper/cropper.d.ts +1 -0
- package/library/packages/molecules/src/cropper/react/Cropper.d.ts +1 -0
- package/library/packages/molecules/src/download-format-picker/download-format-picker.d.ts +1 -0
- package/library/packages/molecules/src/folder-select/components/folder-select-tree/folder-select-tree.d.ts +8 -0
- package/library/packages/molecules/src/folder-select/components/folder-select-tree-item/folder-select-tree-item.d.ts +1 -0
- package/library/packages/molecules/src/folder-select/folder-select.d.ts +6 -1
- package/library/packages/organisms/src/asset-link-format/asset-link-format.d.ts +3 -7
- package/library/packages/organisms/src/content-builder/styleController.d.ts +8 -8
- package/library/packages/organisms/src/file-on-demand/components/file-on-demand-asset/file-on-demand-asset.d.ts +80 -0
- package/library/packages/organisms/src/file-on-demand/components/file-on-demand-asset/file-on-demand-asset.styles.d.ts +2 -0
- package/library/packages/organisms/src/file-on-demand/components/file-on-demand-pinned-status.ts/file-on-demand-pinned-status.d.ts +44 -0
- package/library/packages/organisms/src/file-on-demand/file-on-demand.constants.d.ts +1 -0
- package/library/packages/organisms/src/file-on-demand/file-on-demand.d.ts +11 -18
- package/library/packages/organisms/src/file-on-demand/file-on-demand.utils.d.ts +6 -0
- package/library/packages/services/src/api/folder/folder.d.ts +4 -8
- package/library/packages/services/src/api/folder/folder.types.d.ts +2 -1
- package/library/packages/types/src/file-on-demand.d.ts +4 -0
- package/library/packages/types/src/folder-select.d.ts +9 -2
- package/library/packages/utils/src/custom-element/i18n.d.ts +40 -2
- package/library/packages/utils/src/drag-scroll/drag-scroll.d.ts +22 -0
- package/library/packages/utils/src/drag-scroll/index.d.ts +1 -0
- package/library/packages/utils/src/font/font.d.ts +26 -0
- package/library/packages/utils/src/font/index.d.ts +1 -0
- package/library/packages/utils/src/history-manager/history-manager.d.ts +13 -0
- package/library/packages/utils/src/history-manager/index.d.ts +1 -0
- package/library/packages/utils/src/index.d.ts +45 -0
- package/library/packages/utils/src/template/index.d.ts +1 -0
- package/library/packages/utils/src/template/template.d.ts +3 -0
- package/library/react-web-component.d.ts +418 -360
- package/library/utils.d.ts +1 -0
- package/library/utils.js +180 -0
- package/package.json +11 -2
- package/library/chunks/animation-registry.DavRkTTr.js +0 -69
- package/library/chunks/asset.Ba-CxnNM.js +0 -309
- package/library/chunks/color-swatch.DUe3iLLo.js +0 -558
- package/library/chunks/dom.C0OFx7ND.js +0 -78
- package/library/chunks/format-time.BW6-ZWCX.js +0 -226
- package/library/chunks/isObjectLike.z36Fu426.js +0 -34
- package/library/chunks/popup._w5T7x8f.js +0 -3307
- package/library/chunks/select.DfO4de04.js +0 -1441
- package/library/chunks/string.BCk3SmdZ.js +0 -144
- package/library/chunks/timecode.D7XTiQ_3.js +0 -105
- package/library/chunks/watch.BCJD77bD.js +0 -547
- package/library/packages/events/src/cx-load-more.d.ts +0 -8
|
@@ -3,3 +3,5 @@ export * from '../../../packages/atoms/src/index.ts';
|
|
|
3
3
|
export * from '../../../packages/molecules/src/index.ts';
|
|
4
4
|
export * from '../../../packages/organisms/src/index.ts';
|
|
5
5
|
export * from '../../../packages/types/src/index.ts';
|
|
6
|
+
export * from '../../../packages/utils/src/index.ts';
|
|
7
|
+
export { default as CortexElement } from '../../../packages/base/src/cortex-element.ts';
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { i as v } from "./identity.ByMq8VxU.js";
|
|
2
|
+
import { g as f } from "./isObjectLike.D3cpZO39.js";
|
|
3
|
+
function p(n, e, r) {
|
|
4
|
+
switch (r.length) {
|
|
5
|
+
case 0:
|
|
6
|
+
return n.call(e);
|
|
7
|
+
case 1:
|
|
8
|
+
return n.call(e, r[0]);
|
|
9
|
+
case 2:
|
|
10
|
+
return n.call(e, r[0], r[1]);
|
|
11
|
+
case 3:
|
|
12
|
+
return n.call(e, r[0], r[1], r[2]);
|
|
13
|
+
}
|
|
14
|
+
return n.apply(e, r);
|
|
15
|
+
}
|
|
16
|
+
var l = Math.max;
|
|
17
|
+
function m(n, e, r) {
|
|
18
|
+
return e = l(e === void 0 ? n.length - 1 : e, 0), function() {
|
|
19
|
+
for (var a = arguments, t = -1, u = l(a.length - e, 0), o = Array(u); ++t < u; )
|
|
20
|
+
o[t] = a[e + t];
|
|
21
|
+
t = -1;
|
|
22
|
+
for (var i = Array(e + 1); ++t < e; )
|
|
23
|
+
i[t] = a[t];
|
|
24
|
+
return i[e] = r(o), p(n, this, i);
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
function s(n) {
|
|
28
|
+
return function() {
|
|
29
|
+
return n;
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
var c = function() {
|
|
33
|
+
try {
|
|
34
|
+
var n = f(Object, "defineProperty");
|
|
35
|
+
return n({}, "", {}), n;
|
|
36
|
+
} catch {
|
|
37
|
+
}
|
|
38
|
+
}(), d = c ? function(n, e) {
|
|
39
|
+
return c(n, "toString", {
|
|
40
|
+
configurable: !0,
|
|
41
|
+
enumerable: !1,
|
|
42
|
+
value: s(e),
|
|
43
|
+
writable: !0
|
|
44
|
+
});
|
|
45
|
+
} : v, y = 800, h = 16, b = Date.now;
|
|
46
|
+
function w(n) {
|
|
47
|
+
var e = 0, r = 0;
|
|
48
|
+
return function() {
|
|
49
|
+
var a = b(), t = h - (a - r);
|
|
50
|
+
if (r = a, t > 0) {
|
|
51
|
+
if (++e >= y)
|
|
52
|
+
return arguments[0];
|
|
53
|
+
} else
|
|
54
|
+
e = 0;
|
|
55
|
+
return n.apply(void 0, arguments);
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
var g = w(d);
|
|
59
|
+
function T(n, e) {
|
|
60
|
+
return g(m(n, e, v), n + "");
|
|
61
|
+
}
|
|
62
|
+
export {
|
|
63
|
+
T as b,
|
|
64
|
+
c as d,
|
|
65
|
+
m as o,
|
|
66
|
+
g as s
|
|
67
|
+
};
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as F } from "./isObjectLike.
|
|
3
|
-
import { i as R } from "./isSymbol.
|
|
4
|
-
import { t as D } from "./toString.
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
import { g as M, h as I, k as y, i as c, M as E, j as S, l as x, d as L, m as p, s as w, S as N, c as T } from "./watch.q1sEjPWL.js";
|
|
2
|
+
import { a as F } from "./isObjectLike.D3cpZO39.js";
|
|
3
|
+
import { i as R } from "./isSymbol.huJ_Cvxt.js";
|
|
4
|
+
import { t as D } from "./toString.CRT5zqEU.js";
|
|
5
|
+
import { i as G } from "./identity.ByMq8VxU.js";
|
|
6
|
+
var $ = 1, z = 2;
|
|
7
|
+
function U(n, r, e, t) {
|
|
7
8
|
var i = e.length, f = i;
|
|
8
9
|
if (n == null)
|
|
9
10
|
return !f;
|
|
@@ -14,13 +15,13 @@ function z(n, r, e, t) {
|
|
|
14
15
|
}
|
|
15
16
|
for (; ++i < f; ) {
|
|
16
17
|
u = e[i];
|
|
17
|
-
var a = u[0], s = n[a],
|
|
18
|
+
var a = u[0], s = n[a], l = u[1];
|
|
18
19
|
if (u[2]) {
|
|
19
20
|
if (s === void 0 && !(a in n))
|
|
20
21
|
return !1;
|
|
21
22
|
} else {
|
|
22
23
|
var h = new M(), o;
|
|
23
|
-
if (!(o === void 0 ?
|
|
24
|
+
if (!(o === void 0 ? I(l, s, $ | z, t, h) : o))
|
|
24
25
|
return !1;
|
|
25
26
|
}
|
|
26
27
|
}
|
|
@@ -29,7 +30,7 @@ function z(n, r, e, t) {
|
|
|
29
30
|
function P(n) {
|
|
30
31
|
return n === n && !F(n);
|
|
31
32
|
}
|
|
32
|
-
function
|
|
33
|
+
function Z(n) {
|
|
33
34
|
for (var r = y(n), e = r.length; e--; ) {
|
|
34
35
|
var t = r[e], i = n[t];
|
|
35
36
|
r[e] = [t, i, P(i)];
|
|
@@ -41,23 +42,23 @@ function C(n, r) {
|
|
|
41
42
|
return e == null ? !1 : e[n] === r && (r !== void 0 || n in Object(e));
|
|
42
43
|
};
|
|
43
44
|
}
|
|
44
|
-
function
|
|
45
|
-
var r =
|
|
45
|
+
function q(n) {
|
|
46
|
+
var r = Z(n);
|
|
46
47
|
return r.length == 1 && r[0][2] ? C(r[0][0], r[0][1]) : function(e) {
|
|
47
|
-
return e === n ||
|
|
48
|
+
return e === n || U(e, n, r);
|
|
48
49
|
};
|
|
49
50
|
}
|
|
50
|
-
var
|
|
51
|
+
var v = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, H = /^\w*$/;
|
|
51
52
|
function d(n, r) {
|
|
52
|
-
if (
|
|
53
|
+
if (c(n))
|
|
53
54
|
return !1;
|
|
54
55
|
var e = typeof n;
|
|
55
|
-
return e == "number" || e == "symbol" || e == "boolean" || n == null || R(n) ? !0 :
|
|
56
|
+
return e == "number" || e == "symbol" || e == "boolean" || n == null || R(n) ? !0 : H.test(n) || !v.test(n) || r != null && n in Object(r);
|
|
56
57
|
}
|
|
57
|
-
var
|
|
58
|
-
function
|
|
58
|
+
var K = "Expected a function";
|
|
59
|
+
function m(n, r) {
|
|
59
60
|
if (typeof n != "function" || r != null && typeof r != "function")
|
|
60
|
-
throw new TypeError(
|
|
61
|
+
throw new TypeError(K);
|
|
61
62
|
var e = function() {
|
|
62
63
|
var t = arguments, i = r ? r.apply(this, t) : t[0], f = e.cache;
|
|
63
64
|
if (f.has(i))
|
|
@@ -65,24 +66,24 @@ function A(n, r) {
|
|
|
65
66
|
var u = n.apply(this, t);
|
|
66
67
|
return e.cache = f.set(i, u) || f, u;
|
|
67
68
|
};
|
|
68
|
-
return e.cache = new (
|
|
69
|
+
return e.cache = new (m.Cache || E)(), e;
|
|
69
70
|
}
|
|
70
|
-
|
|
71
|
-
var
|
|
72
|
-
function
|
|
73
|
-
var r =
|
|
74
|
-
return e.size ===
|
|
71
|
+
m.Cache = E;
|
|
72
|
+
var X = 500;
|
|
73
|
+
function Y(n) {
|
|
74
|
+
var r = m(n, function(t) {
|
|
75
|
+
return e.size === X && e.clear(), t;
|
|
75
76
|
}), e = r.cache;
|
|
76
77
|
return r;
|
|
77
78
|
}
|
|
78
|
-
var
|
|
79
|
+
var k = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, B = /\\(\\)?/g, J = Y(function(n) {
|
|
79
80
|
var r = [];
|
|
80
|
-
return n.charCodeAt(0) === 46 && r.push(""), n.replace(
|
|
81
|
-
r.push(i ? f.replace(
|
|
81
|
+
return n.charCodeAt(0) === 46 && r.push(""), n.replace(k, function(e, t, i, f) {
|
|
82
|
+
r.push(i ? f.replace(B, "$1") : t || e);
|
|
82
83
|
}), r;
|
|
83
84
|
});
|
|
84
85
|
function O(n, r) {
|
|
85
|
-
return
|
|
86
|
+
return c(n) ? n : d(n, r) ? [n] : J(D(n));
|
|
86
87
|
}
|
|
87
88
|
function g(n) {
|
|
88
89
|
if (typeof n == "string" || R(n))
|
|
@@ -96,14 +97,14 @@ function _(n, r) {
|
|
|
96
97
|
n = n[g(r[e++])];
|
|
97
98
|
return e && e == t ? n : void 0;
|
|
98
99
|
}
|
|
99
|
-
function
|
|
100
|
+
function Q(n, r, e) {
|
|
100
101
|
var t = n == null ? void 0 : _(n, r);
|
|
101
102
|
return t === void 0 ? e : t;
|
|
102
103
|
}
|
|
103
|
-
function
|
|
104
|
+
function W(n, r) {
|
|
104
105
|
return n != null && r in Object(n);
|
|
105
106
|
}
|
|
106
|
-
function
|
|
107
|
+
function b(n, r, e) {
|
|
107
108
|
r = O(r, n);
|
|
108
109
|
for (var t = -1, i = r.length, f = !1; ++t < i; ) {
|
|
109
110
|
var u = g(r[t]);
|
|
@@ -111,21 +112,18 @@ function Q(n, r, e) {
|
|
|
111
112
|
break;
|
|
112
113
|
n = n[u];
|
|
113
114
|
}
|
|
114
|
-
return f || ++t != i ? f : (i = n == null ? 0 : n.length, !!i && S(i) && x(u, i) && (
|
|
115
|
+
return f || ++t != i ? f : (i = n == null ? 0 : n.length, !!i && S(i) && x(u, i) && (c(n) || L(n)));
|
|
115
116
|
}
|
|
116
|
-
function
|
|
117
|
-
return n != null &&
|
|
117
|
+
function V(n, r) {
|
|
118
|
+
return n != null && b(n, r, W);
|
|
118
119
|
}
|
|
119
|
-
var
|
|
120
|
-
function
|
|
120
|
+
var j = 1, nn = 2;
|
|
121
|
+
function rn(n, r) {
|
|
121
122
|
return d(n) && P(r) ? C(g(n), r) : function(e) {
|
|
122
|
-
var t =
|
|
123
|
-
return t === void 0 && t === r ?
|
|
123
|
+
var t = Q(e, n);
|
|
124
|
+
return t === void 0 && t === r ? V(e, n) : I(r, t, j | nn);
|
|
124
125
|
};
|
|
125
126
|
}
|
|
126
|
-
function rn(n) {
|
|
127
|
-
return n;
|
|
128
|
-
}
|
|
129
127
|
function en(n) {
|
|
130
128
|
return function(r) {
|
|
131
129
|
return r?.[n];
|
|
@@ -139,8 +137,8 @@ function tn(n) {
|
|
|
139
137
|
function fn(n) {
|
|
140
138
|
return d(n) ? en(g(n)) : tn(n);
|
|
141
139
|
}
|
|
142
|
-
function
|
|
143
|
-
return typeof n == "function" ? n : n == null ?
|
|
140
|
+
function wn(n) {
|
|
141
|
+
return typeof n == "function" ? n : n == null ? G : typeof n == "object" ? c(n) ? rn(n[0], n[1]) : q(n) : fn(n);
|
|
144
142
|
}
|
|
145
143
|
function un(n, r, e, t) {
|
|
146
144
|
for (var i = n.length, f = e + -1; ++f < i; )
|
|
@@ -164,17 +162,17 @@ function on(n, r) {
|
|
|
164
162
|
var e = n == null ? 0 : n.length;
|
|
165
163
|
return !!e && hn(n, r, 0) > -1;
|
|
166
164
|
}
|
|
167
|
-
function
|
|
165
|
+
function ln() {
|
|
168
166
|
}
|
|
169
|
-
var
|
|
167
|
+
var cn = 1 / 0, gn = p && 1 / w(new p([, -0]))[1] == cn ? function(n) {
|
|
170
168
|
return new p(n);
|
|
171
|
-
} :
|
|
172
|
-
function
|
|
169
|
+
} : ln, pn = 200;
|
|
170
|
+
function Rn(n, r, e) {
|
|
173
171
|
var t = -1, i = on, f = n.length, u = !0, a = [], s = a;
|
|
174
172
|
if (f >= pn) {
|
|
175
|
-
var
|
|
176
|
-
if (
|
|
177
|
-
return w(
|
|
173
|
+
var l = r ? null : gn(n);
|
|
174
|
+
if (l)
|
|
175
|
+
return w(l);
|
|
178
176
|
u = !1, i = T, s = new N();
|
|
179
177
|
} else
|
|
180
178
|
s = r ? [] : a;
|
|
@@ -182,8 +180,8 @@ function wn(n, r, e) {
|
|
|
182
180
|
for (; ++t < f; ) {
|
|
183
181
|
var h = n[t], o = r ? r(h) : h;
|
|
184
182
|
if (h = h !== 0 ? h : 0, u && o === o) {
|
|
185
|
-
for (var
|
|
186
|
-
if (s[
|
|
183
|
+
for (var A = s.length; A--; )
|
|
184
|
+
if (s[A] === o)
|
|
187
185
|
continue n;
|
|
188
186
|
r && s.push(o), a.push(h);
|
|
189
187
|
} else i(s, o, e) || (s !== a && s.push(o), a.push(h));
|
|
@@ -191,12 +189,11 @@ function wn(n, r, e) {
|
|
|
191
189
|
return a;
|
|
192
190
|
}
|
|
193
191
|
export {
|
|
194
|
-
|
|
195
|
-
|
|
192
|
+
wn as a,
|
|
193
|
+
Rn as b,
|
|
196
194
|
on as c,
|
|
197
195
|
_ as d,
|
|
198
196
|
O as e,
|
|
199
|
-
|
|
200
|
-
rn as i,
|
|
197
|
+
V as h,
|
|
201
198
|
g as t
|
|
202
199
|
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
function o(n, t, e) {
|
|
2
|
+
return new Promise((r) => {
|
|
3
|
+
if (e?.duration === 1 / 0)
|
|
4
|
+
throw new Error("Promise-based animations must be finite.");
|
|
5
|
+
const i = n.animate(t, {
|
|
6
|
+
...e,
|
|
7
|
+
duration: a() ? 0 : e.duration
|
|
8
|
+
});
|
|
9
|
+
i.addEventListener("cancel", r, { once: !0 }), i.addEventListener("finish", r, { once: !0 });
|
|
10
|
+
});
|
|
11
|
+
}
|
|
12
|
+
function s(n) {
|
|
13
|
+
return n = n.toString().toLowerCase(), n.indexOf("ms") > -1 ? parseFloat(n) : n.indexOf("s") > -1 ? parseFloat(n) * 1e3 : parseFloat(n);
|
|
14
|
+
}
|
|
15
|
+
function a() {
|
|
16
|
+
return window.matchMedia("(prefers-reduced-motion: reduce)").matches;
|
|
17
|
+
}
|
|
18
|
+
function u(n) {
|
|
19
|
+
return Promise.all(
|
|
20
|
+
n.getAnimations().map((t) => new Promise((e) => {
|
|
21
|
+
t.cancel(), requestAnimationFrame(e);
|
|
22
|
+
}))
|
|
23
|
+
);
|
|
24
|
+
}
|
|
25
|
+
function c(n, t) {
|
|
26
|
+
return n.map((e) => ({
|
|
27
|
+
...e,
|
|
28
|
+
height: e.height === "auto" ? `${t}px` : e.height
|
|
29
|
+
}));
|
|
30
|
+
}
|
|
31
|
+
export {
|
|
32
|
+
o as a,
|
|
33
|
+
c as b,
|
|
34
|
+
a as c,
|
|
35
|
+
s as p,
|
|
36
|
+
u as s
|
|
37
|
+
};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
const u = /* @__PURE__ */ new Map(), r = /* @__PURE__ */ new WeakMap();
|
|
2
|
+
function a(t) {
|
|
3
|
+
return t ?? { keyframes: [], options: { duration: 0 } };
|
|
4
|
+
}
|
|
5
|
+
function s(t, n) {
|
|
6
|
+
return n.toLowerCase() === "rtl" ? {
|
|
7
|
+
keyframes: t.rtlKeyframes || t.keyframes,
|
|
8
|
+
options: t.options
|
|
9
|
+
} : t;
|
|
10
|
+
}
|
|
11
|
+
function f(t, n) {
|
|
12
|
+
u.set(t, a(n));
|
|
13
|
+
}
|
|
14
|
+
function c(t, n, e) {
|
|
15
|
+
r.set(t, {
|
|
16
|
+
...r.get(t),
|
|
17
|
+
[n]: a(e)
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
function g(t, n, e) {
|
|
21
|
+
const o = r.get(t);
|
|
22
|
+
if (o?.[n])
|
|
23
|
+
return s(o[n], e.dir);
|
|
24
|
+
const i = u.get(n);
|
|
25
|
+
return i ? s(i, e.dir) : {
|
|
26
|
+
keyframes: [],
|
|
27
|
+
options: { duration: 0 }
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
export {
|
|
31
|
+
c as a,
|
|
32
|
+
g,
|
|
33
|
+
f as s
|
|
34
|
+
};
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { c as
|
|
3
|
-
import {
|
|
1
|
+
import { n as a, C as p } from "./lib-cortex-element.CVMmyPMC.js";
|
|
2
|
+
import { c as m } from "./component.styles.DMSLciL5.js";
|
|
3
|
+
import { c as y } from "./custom-element.L4WJXn1j.js";
|
|
4
|
+
import { w as d } from "./watch.q1sEjPWL.js";
|
|
5
|
+
import { i as b, x as u } from "./lit-element.jLBm65_O.js";
|
|
4
6
|
import { r as g } from "./query-async.CTgXGyQ5.js";
|
|
5
|
-
const h =
|
|
7
|
+
const h = b`
|
|
6
8
|
:host {
|
|
7
9
|
display: contents;
|
|
8
10
|
}
|
|
@@ -866,7 +868,7 @@ var de = Object.defineProperty, le = Object.getOwnPropertyDescriptor, e = (f, s,
|
|
|
866
868
|
(c = f[i]) && (r = (o ? c(s, n, r) : c(r)) || r);
|
|
867
869
|
return o && r && de(s, n, r), r;
|
|
868
870
|
};
|
|
869
|
-
let t = class extends
|
|
871
|
+
let t = class extends p {
|
|
870
872
|
constructor() {
|
|
871
873
|
super(), this.hasStarted = !1, this.name = "none", this.play = !1, this.delay = 0, this.direction = "normal", this.duration = 1e3, this.easing = "linear", this.endDelay = 0, this.fill = "auto", this.iterations = 1 / 0, this.iterationStart = 0, this.playbackRate = 1, this.handleAnimationFinish = this.handleAnimationFinish.bind(this), this.handleAnimationCancel = this.handleAnimationCancel.bind(this);
|
|
872
874
|
}
|
|
@@ -926,10 +928,10 @@ let t = class extends m {
|
|
|
926
928
|
this.animation?.finish();
|
|
927
929
|
}
|
|
928
930
|
render() {
|
|
929
|
-
return
|
|
931
|
+
return u` <slot @slotchange=${this.handleSlotChange}></slot> `;
|
|
930
932
|
}
|
|
931
933
|
};
|
|
932
|
-
t.styles = [
|
|
934
|
+
t.styles = [m, h];
|
|
933
935
|
e([
|
|
934
936
|
g("slot")
|
|
935
937
|
], t.prototype, "defaultSlot", 2);
|
|
@@ -990,7 +992,7 @@ e([
|
|
|
990
992
|
d("playbackRate")
|
|
991
993
|
], t.prototype, "handlePlaybackRateChange", 1);
|
|
992
994
|
t = e([
|
|
993
|
-
|
|
995
|
+
y("cx-animation")
|
|
994
996
|
], t);
|
|
995
997
|
export {
|
|
996
998
|
t as C,
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
function g(n, r) {
|
|
2
|
+
return n.filter((e, t) => t !== r);
|
|
3
|
+
}
|
|
4
|
+
function w(n, r) {
|
|
5
|
+
return n.filter((e, t) => !r.includes(t));
|
|
6
|
+
}
|
|
7
|
+
function v(n, r, e) {
|
|
8
|
+
return [...n.slice(0, r), e, ...n.slice(r)];
|
|
9
|
+
}
|
|
10
|
+
function h(n, r, e) {
|
|
11
|
+
return [...n.slice(0, r), ...e, ...n.slice(r)];
|
|
12
|
+
}
|
|
13
|
+
function F(n, r, e) {
|
|
14
|
+
return n.findIndex((t) => t[r] === e);
|
|
15
|
+
}
|
|
16
|
+
function M(n, r, e) {
|
|
17
|
+
const t = [...n], s = g(t, r);
|
|
18
|
+
let o = e;
|
|
19
|
+
return o >= n.length - 1 && (o = o + 1), v(s, o, n[r]);
|
|
20
|
+
}
|
|
21
|
+
function T(n, r, e) {
|
|
22
|
+
const t = [...n], s = w(t, r), o = e !== 0 ? r.reduce(
|
|
23
|
+
(u, f) => e > f ? u - 1 : u,
|
|
24
|
+
e
|
|
25
|
+
) : e;
|
|
26
|
+
return h(
|
|
27
|
+
s,
|
|
28
|
+
o,
|
|
29
|
+
r.map((u) => n[u])
|
|
30
|
+
);
|
|
31
|
+
}
|
|
32
|
+
function b(n, r) {
|
|
33
|
+
return n.reduce(
|
|
34
|
+
(e, t) => {
|
|
35
|
+
const s = t[r];
|
|
36
|
+
return e[s] ??= [], e[s].push(t), e;
|
|
37
|
+
},
|
|
38
|
+
{}
|
|
39
|
+
);
|
|
40
|
+
}
|
|
41
|
+
function y(n, r, e) {
|
|
42
|
+
if (!n.length)
|
|
43
|
+
return [r];
|
|
44
|
+
const t = e.findIndex(
|
|
45
|
+
(i) => i.id === r
|
|
46
|
+
), s = n[n.length - 1], o = e.findIndex(
|
|
47
|
+
(i) => i.id === s
|
|
48
|
+
);
|
|
49
|
+
if (t < 0 || o < 0)
|
|
50
|
+
return [r];
|
|
51
|
+
const c = e.reduce(
|
|
52
|
+
(i, l, x) => (i[l.id] = x, i),
|
|
53
|
+
{}
|
|
54
|
+
), u = t > o, f = u ? o : t, A = u ? t : o, d = e.slice(f, A + 1).filter((i) => !(!i || n.includes(i.id))).map((i) => i.id), p = u ? d : [...d].reverse(), a = n.includes(r) ? n.slice(0, n.indexOf(r) + 1) : [...n, ...p];
|
|
55
|
+
return a.sort((i, l) => c[i] - c[l]), a;
|
|
56
|
+
}
|
|
57
|
+
function E(n, r, e, t, s, o) {
|
|
58
|
+
const c = e + 1;
|
|
59
|
+
if (n.length < 2)
|
|
60
|
+
throw new Error("Values array must contain at least 2 elements");
|
|
61
|
+
if (e < 0 || c >= n.length)
|
|
62
|
+
throw new Error("Invalid index or not enough values to adjust");
|
|
63
|
+
if (t < 0)
|
|
64
|
+
throw new Error("Minimum value must be non-negative");
|
|
65
|
+
let u = s + r;
|
|
66
|
+
u < t && (r = t - s, u = t);
|
|
67
|
+
let f = o - r;
|
|
68
|
+
f < t && (r = o - t, u = s + r, f = t), n[e] = parseFloat(u.toFixed(2)), n[c] = parseFloat(f.toFixed(2));
|
|
69
|
+
}
|
|
70
|
+
export {
|
|
71
|
+
T as a,
|
|
72
|
+
g as b,
|
|
73
|
+
v as c,
|
|
74
|
+
M as d,
|
|
75
|
+
E as e,
|
|
76
|
+
F as f,
|
|
77
|
+
b as g,
|
|
78
|
+
h as i,
|
|
79
|
+
y as m,
|
|
80
|
+
w as r
|
|
81
|
+
};
|