@orangelogic/design-system 3.80.0 → 3.81.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.vF2ZaG1Y.js → asset-link-format.BCaHv6rQ.js} +387 -381
- package/library/chunks/{audio.OVvnRj2a.js → audio.Dr0Hus7H.js} +6 -3
- package/library/chunks/{block-width.BH7TR3eZ.js → block-width.DDBxasyy.js} +469 -445
- package/library/chunks/{color-swatch-group.CfYdaquw.js → color-swatch-group.D6W7Zrig.js} +45 -45
- package/library/chunks/{config-manager.CXYDqPVU.js → config-manager.CXUj_qfl.js} +12 -12
- package/library/chunks/{configs-controller.D7ZZytOj.js → configs-controller.C34CcFSA.js} +61 -61
- package/library/chunks/{document-viewer.6SnAxejc.js → document-viewer.BKdDZ9MG.js} +16 -7
- package/library/chunks/{file-on-demand.BMY6QNJY.js → file-on-demand.BAwB-Znv.js} +1 -1
- package/library/chunks/{image.CXQJO9if.js → image.wVxvwZxr.js} +74 -79
- package/library/chunks/{masonry.C9-z9R7j.js → masonry.D4DxZZ03.js} +1 -1
- package/library/chunks/{src.B1k7w53w.js → src.DoJoeNZB.js} +4 -4
- package/library/chunks/src.cBRbsOdC.js +720 -0
- package/library/chunks/{url.CZO_DV8Y.js → url.BCc06dE7.js} +15 -6
- package/library/chunks/{video.Bv7f2jDe.js → video.C9tEIck_.js} +1 -1
- package/library/components/asset-link-format.js +1 -1
- package/library/components/atoms.js +5 -5
- package/library/components/audio.js +1 -1
- package/library/components/color-swatch-group.js +1 -1
- package/library/components/document-viewer.js +1 -1
- package/library/components/file-on-demand.js +1 -1
- package/library/components/image.js +1 -1
- package/library/components/masonry.js +1 -1
- package/library/components/molecules.js +1 -1
- package/library/components/organisms.js +3 -3
- package/library/components/types.js +10287 -10185
- package/library/components/video.js +1 -1
- package/library/package.json +1 -1
- package/library/packages/atoms/src/components/audio/audio.d.ts +2 -0
- package/library/packages/atoms/src/components/document-viewer/document-viewer.d.ts +6 -0
- package/library/packages/atoms/src/components/image/image.d.ts +0 -3
- package/library/packages/events/src/events.d.ts +0 -4
- package/library/packages/organisms/src/content-builder/blocks/audio/audio.d.ts +14 -0
- package/library/packages/organisms/src/content-builder/blocks/button/button.d.ts +8 -0
- package/library/packages/organisms/src/content-builder/blocks/column/column.d.ts +5 -0
- package/library/packages/organisms/src/content-builder/blocks/column-group/column-group.d.ts +5 -0
- package/library/packages/organisms/src/content-builder/blocks/document-viewer/document-viewer.d.ts +8 -0
- package/library/packages/organisms/src/content-builder/blocks/image/image.d.ts +7 -6
- package/library/packages/organisms/src/content-builder/blocks/timeline/timeline.d.ts +0 -2
- package/library/packages/organisms/src/content-builder/blocks/video/video.d.ts +9 -0
- package/library/packages/organisms/src/content-builder/components/template-manager/template-manager.d.ts +11 -0
- package/library/packages/organisms/src/content-builder/content-builder.d.ts +17 -1
- package/library/packages/organisms/src/content-builder-viewer/content-builder-viewer.d.ts +13 -4
- package/library/packages/organisms/src/form/control-renderer/control-renderer.d.ts +1 -1
- package/library/packages/tools/src/fetch-asset/fetch-asset.d.ts +2 -1
- package/library/packages/tools/src/fetch-image/fetch-image.d.ts +28 -0
- package/library/packages/utils/src/asset-url-mode/asset-url-mode.d.ts +22 -0
- package/library/packages/utils/src/asset-url-mode/index.d.ts +1 -0
- package/library/packages/utils/src/url/url.d.ts +7 -0
- package/library/react-web-component.d.ts +21 -1
- package/library/utils.js +28 -706
- package/package.json +1 -1
- package/library/packages/events/src/cx-image-src-resolved.d.ts +0 -9
- package/library/packages/events/src/cx-timeline-data-resolved.d.ts +0 -9
- package/library/packages/events/src/cx-video-src-resolved.d.ts +0 -8
- package/library/packages/events/src/cx-video-thumbnail-resolved.d.ts +0 -8
|
@@ -35,19 +35,28 @@ function i(e, t, n) {
|
|
|
35
35
|
return `${i}${i.includes("?") ? "&" : "?"}${encodeURIComponent(t)}=${encodeURIComponent(n)}${a}`;
|
|
36
36
|
}
|
|
37
37
|
function a(e) {
|
|
38
|
-
|
|
38
|
+
if (!e) return !1;
|
|
39
|
+
let t = o(e);
|
|
40
|
+
return t === null ? e.toLowerCase().includes("expire") : Date.now() >= t * 1e3;
|
|
39
41
|
}
|
|
40
42
|
function o(e) {
|
|
43
|
+
if (!e) return null;
|
|
44
|
+
let t = /[?&]assetTokenExp=(\d+)/i.exec(e);
|
|
45
|
+
if (!t) return null;
|
|
46
|
+
let n = Number(t[1]);
|
|
47
|
+
return Number.isFinite(n) && n > 0 ? n : null;
|
|
48
|
+
}
|
|
49
|
+
function s(e) {
|
|
41
50
|
try {
|
|
42
|
-
return new URL(e), new RegExp(
|
|
51
|
+
return new URL(e), new RegExp(l, "i").test(e);
|
|
43
52
|
} catch {
|
|
44
53
|
return !1;
|
|
45
54
|
}
|
|
46
55
|
}
|
|
47
|
-
var
|
|
48
|
-
function
|
|
56
|
+
var c = "^(?![a-zA-Z][a-zA-Z\\d+\\-.]*:\\/\\/)(?!([a-zA-Z0-9-]+\\.)+[a-zA-Z]{2,}($|\\/))[^\\s]+$", l = "^(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]*)?$", u = "^(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]*)?$", d = "^((https?:\\/\\/)?[a-z\\d]([a-z\\d-]*[a-z\\d])*\\.[a-z\\d]([a-z\\d-]*[a-z\\d])*|(https?:\\/\\/)[a-z\\d]([a-z\\d-]*[a-z\\d])*)(\\:\\d+)?(\\/[-a-z\\d%_.~+]*)*(\\?[;&a-z\\d%_.~+=-]*)?(\\#[^\\s]*)?$";
|
|
57
|
+
function f(e) {
|
|
49
58
|
return (/* @__PURE__ */ RegExp("^(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]*)?$", "i")).test(e) || (/* @__PURE__ */ RegExp("^((https?:\\/\\/)?[a-z\\d]([a-z\\d-]*[a-z\\d])*\\.[a-z\\d]([a-z\\d-]*[a-z\\d])*|(https?:\\/\\/)[a-z\\d]([a-z\\d-]*[a-z\\d])*)(\\:\\d+)?(\\/[-a-z\\d%_.~+]*)*(\\?[;&a-z\\d%_.~+=-]*)?(\\#[^\\s]*)?$", "i")).test(e);
|
|
50
59
|
}
|
|
51
|
-
var
|
|
60
|
+
var p = "^(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]*)?$";
|
|
52
61
|
//#endregion
|
|
53
|
-
export {
|
|
62
|
+
export { l as a, a as c, o as d, n as f, p as i, f as l, t as m, u as n, r as o, e as p, d as r, i as s, c as t, s as u };
|
|
@@ -17,7 +17,7 @@ import { n as w, t as T } from "./position-picker.dY_vgF_H.js";
|
|
|
17
17
|
import { a as E } from "./src.BJhIYoMP.js";
|
|
18
18
|
import { t as D } from "./__vite-browser-external.CMLby1wp.js";
|
|
19
19
|
import { i as O, n as k, r as A, t as j } from "./inheritsLoose.CmL1ZoPA.js";
|
|
20
|
-
import { t as M } from "./image.
|
|
20
|
+
import { t as M } from "./image.wVxvwZxr.js";
|
|
21
21
|
//#region ../../node_modules/global/document.js
|
|
22
22
|
var ee = /* @__PURE__ */ n(((e, t) => {
|
|
23
23
|
var n = typeof global < "u" ? global : typeof window < "u" ? window : {}, r = D(), i;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/asset-link-format.
|
|
1
|
+
import { t as e } from "../chunks/asset-link-format.BCaHv6rQ.js";
|
|
2
2
|
export { e as default };
|
|
@@ -8,7 +8,7 @@ import { t as c } from "../chunks/alert.B2tfKtSz.js";
|
|
|
8
8
|
import { t as l } from "../chunks/am-chart.COOKOvT1.js";
|
|
9
9
|
import { t as u } from "../chunks/animated-image.w6VdagCh.js";
|
|
10
10
|
import { t as d } from "../chunks/animation.CRLxJUWm.js";
|
|
11
|
-
import { n as f, r as p, t as m } from "../chunks/src.
|
|
11
|
+
import { n as f, r as p, t as m } from "../chunks/src.DoJoeNZB.js";
|
|
12
12
|
import { t as h } from "../chunks/button.D58Q0tW6.js";
|
|
13
13
|
import { t as g } from "../chunks/tooltip.O-5jGui7.js";
|
|
14
14
|
import { t as _ } from "../chunks/resize-observer.D9EHlnZI.js";
|
|
@@ -16,7 +16,7 @@ import { t as v } from "../chunks/line-clamp.biFX066w.js";
|
|
|
16
16
|
import { t as y } from "../chunks/tag.kF4Izxei.js";
|
|
17
17
|
import { t as b } from "../chunks/array-line-clamp.eDLjR1nZ.js";
|
|
18
18
|
import { t as x } from "../chunks/typography.B0mkhqTB.js";
|
|
19
|
-
import { t as S } from "../chunks/audio.
|
|
19
|
+
import { t as S } from "../chunks/audio.Dr0Hus7H.js";
|
|
20
20
|
import { t as C } from "../chunks/avatar.Ce0OZHBT.js";
|
|
21
21
|
import { t as w } from "../chunks/badge.H_UuxPXn.js";
|
|
22
22
|
import { t as T } from "../chunks/box.DvLxXaBD.js";
|
|
@@ -46,8 +46,8 @@ import { t as J } from "../chunks/divider.CqSNZCU8.js";
|
|
|
46
46
|
import { t as Y } from "../chunks/diff.DAFtnzhM.js";
|
|
47
47
|
import { t as X } from "../chunks/drawer.CqpMBED_.js";
|
|
48
48
|
import { t as Z } from "../chunks/progress-bar.BSTyftIm.js";
|
|
49
|
-
import { t as Q } from "../chunks/document-viewer.
|
|
50
|
-
import { t as $ } from "../chunks/image.
|
|
49
|
+
import { t as Q } from "../chunks/document-viewer.BKdDZ9MG.js";
|
|
50
|
+
import { t as $ } from "../chunks/image.wVxvwZxr.js";
|
|
51
51
|
import { t as ee } from "../chunks/skeleton.BtwugOTG.js";
|
|
52
52
|
import { t as te } from "../chunks/dot-pagination.ka2dgd3K.js";
|
|
53
53
|
import { t as ne } from "../chunks/dot-status.BATg_Fn-.js";
|
|
@@ -85,5 +85,5 @@ import { t as Ne } from "../chunks/stepper.cJSgSSMJ.js";
|
|
|
85
85
|
import { t as Pe } from "../chunks/switch.CBho2RVW.js";
|
|
86
86
|
import { t as Fe } from "../chunks/timecode.DME2imtx.js";
|
|
87
87
|
import { a as Ie, i as Le } from "../chunks/tree.BP9r-4UR.js";
|
|
88
|
-
import { n as Re } from "../chunks/video.
|
|
88
|
+
import { n as Re } from "../chunks/video.C9tEIck_.js";
|
|
89
89
|
export { c as CxAlert, l as CxAmChart, u as CxAnimatedImage, d as CxAnimation, b as CxArrayLineClamp, S as CxAudio, C as CxAvatar, w as CxBadge, T as CxBox, E as CxBreadcrumb, D as CxBreadcrumbItem, h as CxButton, O as CxButtonGroup, k as CxCard, A as CxCheckbox, U as CxColorPicker, W as CxCopyButton, G as CxDateCalendar, K as CxDetails, q as CxDialog, Y as CxDiff, J as CxDivider, Q as CxDocumentViewer, te as CxDotPagination, ne as CxDotStatus, X as CxDrawer, j as CxDropdown, re as CxEChart, ie as CxElementClamp, ae as CxFormatBytes, oe as CxFormatDate, se as CxFormatNumber, ce as CxFormatTime, le as CxGrid, ue as CxGridItem, de as CxHeader, fe as CxHubConnection, o as CxIcon, a as CxIconButton, pe as CxIframe, $ as CxImage, me as CxImageComparer, he as CxInclude, M as CxInput, ge as CxInputGroup, v as CxLineClamp, _e as CxMarkdown, N as CxMenu, P as CxMenuItem, ve as CxMenuLabel, ye as CxMenuSection, be as CxMutationObserver, I as CxOption, xe as CxPagination, e as CxPopup, Z as CxProgressBar, Se as CxProgressRing, Ce as CxQrCode, we as CxRadio, Te as CxRadioButton, Ee as CxRadioCard, De as CxRadioGroup, Oe as CxRange, ke as CxRating, Ae as CxRelativeTime, _ as CxResizeObserver, R as CxSelect, ee as CxSkeleton, L as CxSpace, s as CxSpinner, je as CxSplitPanel, Me as CxStep, Ne as CxStepper, Pe as CxSwitch, z as CxTab, B as CxTabGroup, V as CxTabPanel, y as CxTag, F as CxTextarea, Fe as CxTimecode, g as CxTooltip, Le as CxTree, Ie as CxTreeItem, x as CxTypography, Re as CxVideo, H as CxVisuallyHidden, t as componentStyles, m as fontAwesomeIconNames, i as getAnimation, f as getAnimationNames, p as getEasingNames, n as setAnimation, r as setDefaultAnimation };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/audio.
|
|
1
|
+
import { t as e } from "../chunks/audio.Dr0Hus7H.js";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/color-swatch-group.
|
|
1
|
+
import { t as e } from "../chunks/color-swatch-group.D6W7Zrig.js";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/document-viewer.
|
|
1
|
+
import { t as e } from "../chunks/document-viewer.BKdDZ9MG.js";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/file-on-demand.
|
|
1
|
+
import { t as e } from "../chunks/file-on-demand.BAwB-Znv.js";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/image.
|
|
1
|
+
import { t as e } from "../chunks/image.wVxvwZxr.js";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/masonry.
|
|
1
|
+
import { t as e } from "../chunks/masonry.D4DxZZ03.js";
|
|
2
2
|
export { e as default };
|
|
@@ -6,7 +6,7 @@ import { t as i } from "../chunks/corner-position-input-group.Aos2Z9cJ.js";
|
|
|
6
6
|
import { t as a } from "../chunks/cropper.D5Vh9xD_.js";
|
|
7
7
|
import { t as o } from "../chunks/dynamic-select.L12vKCOX.js";
|
|
8
8
|
import { t as s } from "../chunks/folder-select.BajqQkzA.js";
|
|
9
|
-
import { t as c } from "../chunks/masonry.
|
|
9
|
+
import { t as c } from "../chunks/masonry.D4DxZZ03.js";
|
|
10
10
|
import { t as l } from "../chunks/padding-input-group.BURYDFGi.js";
|
|
11
11
|
import { t as u } from "../chunks/position-picker.Cjk5OdB5.js";
|
|
12
12
|
import { t as d } from "../chunks/shadow-input-group.BKu3bgVT.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "../chunks/asset-link-format.
|
|
2
|
-
import { t } from "../chunks/color-swatch-group.
|
|
3
|
-
import { t as n } from "../chunks/file-on-demand.
|
|
1
|
+
import { t as e } from "../chunks/asset-link-format.BCaHv6rQ.js";
|
|
2
|
+
import { t } from "../chunks/color-swatch-group.D6W7Zrig.js";
|
|
3
|
+
import { t as n } from "../chunks/file-on-demand.BAwB-Znv.js";
|
|
4
4
|
export { e as CxAssetLinkFormat, t as CxColorSwatchGroup, n as CxFileOnDemand };
|