@orangelogic/design-system 2.104.0 → 2.106.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/{AxisLabelRadial.Bs1P_q_F.js → AxisLabelRadial.C4AH2ZWx.js} +1 -1
- package/library/chunks/{BaseColumnSeries.C7jwOxIJ.js → BaseColumnSeries.BV8sY1Da.js} +1 -1
- package/library/chunks/{CandlestickSeries.CkXGtRWE.js → CandlestickSeries.C8BE8OT-.js} +2 -2
- package/library/chunks/{Circle.DBa5Ok8V.js → Circle.BaJWdg6Z.js} +1 -1
- package/library/chunks/{ColumnSeries.DGazbfza.js → ColumnSeries.BGUw3nLY.js} +2 -2
- package/library/chunks/{EditableAxisLabel.wN0t_G2B.js → EditableAxisLabel.CsgqEVmA.js} +2 -2
- package/library/chunks/{EditableLabel.BWeq6fgX.js → EditableLabel.gd9mjKfA.js} +1 -1
- package/library/chunks/{Gradient.CdcsPIru.js → Gradient.Sa3COx_2.js} +1 -1
- package/library/chunks/{LinearGradient.B1z9AGUt.js → LinearGradient.BM0pPmvI.js} +2 -2
- package/library/chunks/{Picture.YSPC0l0Q.js → Picture.DVyGQOmS.js} +1 -1
- package/library/chunks/{Polygon.BwMvXN2H.js → Polygon.Du2DRvxU.js} +1 -1
- package/library/chunks/{ProgressPie.DlCwXN17.js → ProgressPie.D3FRfVo5.js} +5 -5
- package/library/chunks/{RadialLabel.DyVOf2K8.js → RadialLabel.Dgipjivh.js} +1 -1
- package/library/chunks/{Scrollbar.BdZVb_Z-.js → Scrollbar.BDbLJ_xZ.js} +1 -1
- package/library/chunks/{Slice.DiEswWa6.js → Slice.BIXpM75a.js} +1 -1
- package/library/chunks/{Slider.C20No2z5.js → Slider.BZNFS2HS.js} +1 -1
- package/library/chunks/{SpriteResizer.DFnmcy0h.js → SpriteResizer.awVrrc-n.js} +1 -1
- package/library/chunks/{Triangle.BaOef7HV.js → Triangle.DW7bUiPK.js} +1 -1
- package/library/chunks/{ZoomTools.D5JPehoL.js → ZoomTools.CSBkRpSo.js} +1 -1
- package/library/chunks/_baseIteratee.DpzDid58.js +152 -0
- package/library/chunks/_baseUniq.HFKneygy.js +53 -0
- package/library/chunks/{am-chart.H2jnOzFc.js → am-chart.sBfZlJdc.js} +252 -252
- package/library/chunks/{animation.7ifl4x2S.js → animation.8MjXJybe.js} +1 -1
- package/library/chunks/asset-link-format.B0c92pSs.js +6 -0
- package/library/chunks/{asset.DmOI7fQJ.js → asset.Tjoo0ngC.js} +63 -57
- package/library/chunks/{button.CAa1kvwe.js → button.CZ-e_TGN.js} +2 -2
- package/library/chunks/{capitalize.CNStXZBq.js → capitalize.i-sHIcnm.js} +1 -1
- package/library/chunks/{color-swatch-group.pyN7NkEj.js → color-swatch-group.BTwy546N.js} +6 -6
- package/library/chunks/{color-swatch.DfJDZHlk.js → color-swatch.DHxppzoQ.js} +2 -2
- package/library/chunks/{colorPicker.06n6P3aK.js → colorPicker.r8zsh6Oj.js} +5 -5
- package/library/chunks/{confirm-popover.DffsrEEf.js → confirm-popover.DknitT29.js} +3 -3
- package/library/chunks/{content-builder.CcgZciZN.js → content-builder.B-bd8FaV.js} +2 -2
- package/library/chunks/{cropper.Bib8Abm3.js → cropper.CMfBGsNv.js} +1 -1
- package/library/chunks/{dialog.08JIK4Kd.js → dialog.BOWFhWcd.js} +3 -3
- package/library/chunks/{dot-pagination.-nDdQxJN.js → dot-pagination.CBRkADz0.js} +2 -2
- package/library/chunks/{asset.types.KXRZEtBr.js → endpoints.DBlquU2-.js} +417 -418
- package/library/chunks/{exporting.Chnl3UWi.js → exporting.B3VErmmW.js} +2 -2
- package/library/chunks/{file-on-demand.D5xRAZKN.js → file-on-demand.BVA_s4TR.js} +40 -39
- package/library/chunks/{flow.D2CqFQa7.js → flow.gWPD-GN_.js} +5 -5
- package/library/chunks/{folder-select.D4haLI38.js → folder-select.EVuyDx55.js} +98 -98
- package/library/chunks/{gantt.DSHD2gjO.js → gantt.D_6T9w75.js} +8 -8
- package/library/chunks/{header.BZxyeLPK.js → header.inh-TC_q.js} +2 -2
- package/library/chunks/{hierarchy.DwVsMmsP.js → hierarchy.BeJLXp9N.js} +5 -5
- package/library/chunks/{hub-connection.Ot2odiCz.js → hub-connection.Dri0ZNfh.js} +1 -1
- package/library/chunks/{i18n.BABe9hN4.js → i18n.DmmFsjwP.js} +7 -1
- package/library/chunks/{icon-button.C2s3pHG4.js → icon-button.CHh2iNJJ.js} +1 -1
- package/library/chunks/{iframe.DPccxsnE.js → iframe.duVt7WWc.js} +2 -2
- package/library/chunks/image.DdtDzup6.js +821 -0
- package/library/chunks/{index.C9khsiad.js → index.CnBD7_1u.js} +17 -17
- package/library/chunks/{json.zyETMOw-.js → json.BTCD_bjV.js} +3 -3
- package/library/chunks/{list-editor.CJQ6AEs1.js → list-editor.DKEh6VBL.js} +12 -12
- package/library/chunks/{map.CqM2O6LB.js → map.HWubaOh9.js} +2 -2
- package/library/chunks/{option.DGXQzdtb.js → option.B6cSZiX6.js} +2 -2
- package/library/chunks/{pagination.DhtwOCF6.js → pagination.RXrwBaR8.js} +5 -5
- package/library/chunks/{percent.DuQwbCCg.js → percent.0CeOGNP1.js} +3 -3
- package/library/chunks/{radar.FpYl3UH5.js → radar.CDUzjkcg.js} +4 -4
- package/library/chunks/resizable-component.styles.sAhMVN1H.js +283 -0
- package/library/chunks/{responsive.Oz9HWjyQ.js → responsive.Aigicabj.js} +1 -1
- package/library/chunks/{sliceGrouper.BsE7fGMt.js → sliceGrouper.nPe6eWIh.js} +1 -1
- package/library/chunks/{stock.BR-ag4Pt.js → stock.CmWtnkxv.js} +9 -9
- package/library/chunks/{tab-group.BhCf9Smq.js → tab-group.BA4PlJhR.js} +5 -5
- package/library/chunks/{table.CRDY_C9O.js → table.Dh2C2f1c.js} +6 -6
- package/library/chunks/{timeline.DkzkmgEM.js → timeline.DDCHQ84a.js} +5 -5
- package/library/chunks/{toString.CL_lYXbK.js → toString.CAY8lys2.js} +1 -1
- package/library/chunks/{transformation.Dir8s_wm.js → transformation.BlQCWMfI.js} +1 -1
- package/library/chunks/{tree.CJculPt6.js → tree.BO4oLcdB.js} +2 -2
- package/library/chunks/{venn.D739bOV3.js → venn.BZgn9wxo.js} +1 -1
- package/library/chunks/{watch.BCJD77bD.js → watch.CThbualB.js} +8 -8
- package/library/chunks/wavesurfer.esm.Cwi1pz64.js +1276 -0
- package/library/chunks/{wc.DzW311D-.js → wc.BUEDSaz-.js} +1 -1
- package/library/chunks/{xy.DCRDfTsa.js → xy.Wbux-yPv.js} +10 -10
- package/library/components/alert.js +3 -3
- package/library/components/am-chart.js +2 -2
- package/library/components/animated-image.js +1 -1
- package/library/components/animation.js +2 -2
- package/library/components/array-line-clamp.js +1 -1
- package/library/components/asset-link-format.js +16 -11
- package/library/components/atoms.js +166 -164
- package/library/components/audio.d.ts +3 -0
- package/library/components/audio.js +237 -0
- package/library/components/avatar.js +1 -1
- package/library/components/border-input-group.js +1 -1
- package/library/components/breadcrumb-item.js +1 -1
- package/library/components/breadcrumb.js +1 -1
- package/library/components/button.js +3 -3
- package/library/components/checkbox.js +1 -1
- package/library/components/color-picker.js +3 -3
- package/library/components/color-swatch-group.js +7 -7
- package/library/components/color-swatch.js +3 -3
- package/library/components/confirm-popover.js +4 -4
- package/library/components/copy-button.js +2 -2
- package/library/components/corner-position-input-group.js +2 -2
- package/library/components/cropper.js +2 -2
- package/library/components/details.js +2 -2
- package/library/components/dialog.js +4 -4
- package/library/components/divider.js +1 -1
- package/library/components/dot-pagination.js +3 -3
- package/library/components/drawer.js +4 -4
- package/library/components/dropdown.js +2 -2
- package/library/components/dynamic-select.js +8 -7
- package/library/components/e-chart.js +2 -2
- package/library/components/element-clamp.js +3 -3
- package/library/components/file-on-demand.js +10 -10
- package/library/components/folder-select.js +5 -5
- 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 +2 -2
- package/library/components/grid-item.js +1 -1
- package/library/components/header.js +3 -3
- package/library/components/hub-connection.js +2 -2
- package/library/components/icon-button.js +2 -2
- package/library/components/icon.js +1 -1
- package/library/components/iframe.js +3 -3
- package/library/components/image-comparer.js +2 -2
- package/library/components/image.js +5 -4
- package/library/components/include.js +1 -1
- package/library/components/input.js +4 -4
- package/library/components/line-clamp.js +1 -1
- package/library/components/list-editor.js +7 -7
- package/library/components/markdown.js +1 -1
- package/library/components/masonry.js +3 -3
- package/library/components/menu-item.js +2 -2
- package/library/components/menu.js +1 -1
- package/library/components/molecules.js +5 -5
- package/library/components/mutation-observer.js +1 -1
- package/library/components/option.js +3 -3
- package/library/components/organisms.js +2 -2
- 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/qr-code.js +1 -1
- package/library/components/radio-button.js +1 -1
- package/library/components/radio-card.js +1 -1
- package/library/components/radio-group.js +1 -1
- package/library/components/radio.js +1 -1
- package/library/components/range.js +2 -2
- package/library/components/rating.js +2 -2
- package/library/components/relative-time.js +1 -1
- package/library/components/resize-observer.js +1 -1
- package/library/components/select.js +3 -3
- package/library/components/share-option-list.js +2 -2
- package/library/components/sidebar.js +2 -2
- package/library/components/size-input-group.js +3 -3
- package/library/components/spinner.js +1 -1
- package/library/components/split-panel.js +2 -2
- package/library/components/stepper.js +1 -1
- package/library/components/switch.js +1 -1
- package/library/components/tab-group.js +5 -5
- package/library/components/tab-panel.js +1 -1
- package/library/components/tab.js +3 -3
- package/library/components/table.js +6 -6
- package/library/components/tag.js +2 -2
- package/library/components/textarea.js +1 -1
- package/library/components/timecode.js +1 -1
- package/library/components/tooltip.js +2 -2
- package/library/components/tree-item.js +3 -3
- package/library/components/tree.js +3 -3
- package/library/components/typeface.js +3 -3
- package/library/components/types.js +17027 -16754
- package/library/components/video.js +9 -8
- package/library/package.json +1 -1
- package/library/packages/atoms/src/components/audio/audio.d.ts +114 -0
- package/library/packages/atoms/src/components/audio/audio.styles.d.ts +2 -0
- package/library/packages/atoms/src/index.d.ts +1 -0
- package/library/packages/organisms/src/asset-link-format/asset-link-format.d.ts +5 -0
- package/library/packages/organisms/src/asset-transformation-dialog/asset-transformation-dialog.d.ts +4 -0
- package/library/packages/organisms/src/content-builder/configs/audio.d.ts +26 -0
- package/library/packages/organisms/src/content-builder/configs/index.d.ts +1 -0
- package/library/packages/organisms/src/content-builder/configs-controller.d.ts +28 -0
- package/library/packages/organisms/src/content-builder/content-builder-config.d.ts +3 -0
- package/library/packages/organisms/src/content-builder/plugins/audio.d.ts +5 -0
- package/library/packages/organisms/src/content-builder/plugins/index.d.ts +1 -0
- package/library/packages/organisms/src/content-builder/styleController.d.ts +1 -1
- package/library/packages/organisms/src/file-on-demand/components/file-on-demand-asset/file-on-demand-asset.d.ts +2 -0
- package/library/packages/types/src/asset-link-format.d.ts +1 -0
- package/library/packages/types/src/content-builder.d.ts +3 -2
- package/library/packages/types/src/gallery-item.d.ts +2 -0
- package/library/packages/utils/src/custom-element/i18n.d.ts +6 -0
- package/library/react-web-component.d.ts +206 -96
- package/library/utils.js +5 -5
- package/package.json +1 -1
- package/library/chunks/_baseUniq.BUihBa8c.js +0 -202
- package/library/chunks/asset-link-format.BSRDqHg7.js +0 -6
- package/library/chunks/image.DB68R-yp.js +0 -1095
- package/library/packages/services/src/api/asset/asset.types.d.ts +0 -233
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as a, C as p } from "./lib-cortex-element.CVMmyPMC.js";
|
|
2
2
|
import { c as m } from "./component.styles.CRO4Odto.js";
|
|
3
3
|
import { c as y } from "./custom-element.L4WJXn1j.js";
|
|
4
|
-
import { w as d } from "./watch.
|
|
4
|
+
import { w as d } from "./watch.CThbualB.js";
|
|
5
5
|
import { i as b, x as u } from "./lit-element.jLBm65_O.js";
|
|
6
6
|
import { r as g } from "./query-async.CTgXGyQ5.js";
|
|
7
7
|
const h = b`:host{display:contents}`, x = [
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
var u = /* @__PURE__ */ ((t) => (t.AspectRatio = "%", t.Pixel = "px", t))(u || {}), e = /* @__PURE__ */ ((t) => (t.Album = "Album", t.Audio = "Audio", t.Image = "Image", t.Multimedia = "Multimedia", t.ProjectDocument = "ProjectDocument", t.Story = "Story", t.Video = "Video", t.Widget = "Widget", t))(e || {}), r = /* @__PURE__ */ ((t) => (t.Crop = "Crop", t.Metadata = "Metadata", t.Proxy = "Proxy", t.Quality = "Quality", t.Resize = "Resize", t.Rotate = "Rotate", t))(r || {});
|
|
2
|
+
export {
|
|
3
|
+
e as M,
|
|
4
|
+
r as T,
|
|
5
|
+
u as U
|
|
6
|
+
};
|
|
@@ -1,15 +1,20 @@
|
|
|
1
|
-
import { h as l, S as B, A as w, a as K, b as
|
|
1
|
+
import { h as l, S as B, A as w, a as K, b as $ } from "./endpoints.DBlquU2-.js";
|
|
2
|
+
import { M as R } from "./asset-link-format.B0c92pSs.js";
|
|
2
3
|
import "./debounce.CIEhztrj.js";
|
|
3
4
|
import "./lit-element.jLBm65_O.js";
|
|
4
5
|
import "./form.Ch1cwYzO.js";
|
|
5
|
-
import "./i18n.
|
|
6
|
-
import { a as
|
|
7
|
-
import "./content-builder.
|
|
6
|
+
import "./i18n.DmmFsjwP.js";
|
|
7
|
+
import { a as q } from "./string.DUgD4c9f.js";
|
|
8
|
+
import "./content-builder.B-bd8FaV.js";
|
|
8
9
|
import "./unsafe-html.Dff7-rCx.js";
|
|
9
|
-
|
|
10
|
+
import { b as V } from "./_baseUniq.HFKneygy.js";
|
|
11
|
+
function Z(e) {
|
|
12
|
+
return e && e.length ? V(e) : [];
|
|
13
|
+
}
|
|
14
|
+
function X(e) {
|
|
10
15
|
return typeof e == "object" && e !== null && "URI" in e;
|
|
11
16
|
}
|
|
12
|
-
const
|
|
17
|
+
const z = {
|
|
13
18
|
artist: "Artist",
|
|
14
19
|
color: "Color",
|
|
15
20
|
createDate: "CreateDate",
|
|
@@ -30,18 +35,18 @@ const Z = {
|
|
|
30
35
|
systemIdentifier: "SystemIdentifier",
|
|
31
36
|
text: "Text",
|
|
32
37
|
title: "Title"
|
|
33
|
-
},
|
|
34
|
-
function
|
|
38
|
+
}, Y = /* @__PURE__ */ new Set(["mediaDate", "createDate", "editDate"]);
|
|
39
|
+
function Q(e) {
|
|
35
40
|
return !/[\s&+/*"\\:(),'<>~|[\]{}]/.test(e) && !/^(?:OR|AND|NOT)$/.test(e) ? e : `"${e.replace(/\\/g, "\\\\").replace(/"/g, '\\"')}"`;
|
|
36
41
|
}
|
|
37
42
|
function O(e, t) {
|
|
38
|
-
const o = (Array.isArray(t) ? t : [t]).map((s) => `${e}:${
|
|
43
|
+
const o = (Array.isArray(t) ? t : [t]).map((s) => `${e}:${Q(s)}`);
|
|
39
44
|
return o.length > 1 ? `(${o.join(" OR ")})` : o[0] ?? "";
|
|
40
45
|
}
|
|
41
|
-
function
|
|
46
|
+
function J(e, t) {
|
|
42
47
|
return (Array.isArray(t) ? t : [t]).map((o) => `${e}${o.operator}${o.value}`).join(" AND ");
|
|
43
48
|
}
|
|
44
|
-
function
|
|
49
|
+
function ee(e) {
|
|
45
50
|
const t = [];
|
|
46
51
|
for (const r of Object.keys(e)) {
|
|
47
52
|
const o = r, s = e[o];
|
|
@@ -54,11 +59,11 @@ function Q(e) {
|
|
|
54
59
|
t.push(O(a, p));
|
|
55
60
|
continue;
|
|
56
61
|
}
|
|
57
|
-
const u =
|
|
62
|
+
const u = z[o];
|
|
58
63
|
if (u) {
|
|
59
|
-
if (
|
|
64
|
+
if (Y.has(o)) {
|
|
60
65
|
t.push(
|
|
61
|
-
|
|
66
|
+
J(u, s)
|
|
62
67
|
);
|
|
63
68
|
continue;
|
|
64
69
|
}
|
|
@@ -82,9 +87,9 @@ function _(e) {
|
|
|
82
87
|
const t = _(e.not);
|
|
83
88
|
return t ? `NOT (${t})` : "";
|
|
84
89
|
}
|
|
85
|
-
return
|
|
90
|
+
return ee(e);
|
|
86
91
|
}
|
|
87
|
-
const L = "CoreField.LargeSizePreview", P = "CoreField.DocType",
|
|
92
|
+
const L = "CoreField.LargeSizePreview", P = "CoreField.DocType", te = "Document.Title", re = "Document.CaptionLong", b = "Document.FileExtension", G = "CoreField.FileSize", M = "CoreField.Identifier", U = "CoreField.Keywords", j = "CoreField.MaxHeight", v = "CoreField.MaxWidth", D = "Document.RecordID", W = "CoreField.DocSubType", H = "CoreField.TitleWithFallback", T = "CoreField.OriginalFileName", y = "CoreField.UpdatedFileName", E = "CoreField.OriginalPreview", F = {
|
|
88
93
|
DEFAULT_VIEW_SIZE: "Document.LargeSizePreview",
|
|
89
94
|
FIELD_TITLE_WITH_FALLBACK: "Document.TitleWithFallback",
|
|
90
95
|
ORIGINAL_VIEW_SIZE: "Document.OriginalPreview"
|
|
@@ -92,19 +97,19 @@ const L = "CoreField.LargeSizePreview", P = "CoreField.DocType", J = "Document.T
|
|
|
92
97
|
[L]: F.DEFAULT_VIEW_SIZE,
|
|
93
98
|
[H]: F.FIELD_TITLE_WITH_FALLBACK,
|
|
94
99
|
[E]: F.ORIGINAL_VIEW_SIZE
|
|
95
|
-
},
|
|
100
|
+
}, oe = Object.fromEntries(
|
|
96
101
|
Object.entries(k).map(([e, t]) => [
|
|
97
102
|
t,
|
|
98
103
|
e
|
|
99
104
|
])
|
|
100
105
|
);
|
|
101
|
-
function
|
|
106
|
+
function ne(e) {
|
|
102
107
|
return k[e] ?? e;
|
|
103
108
|
}
|
|
104
|
-
function
|
|
109
|
+
function se(e) {
|
|
105
110
|
const t = {};
|
|
106
111
|
for (const [r, o] of Object.entries(e)) {
|
|
107
|
-
const s =
|
|
112
|
+
const s = oe[r] ?? r;
|
|
108
113
|
t[s] = o;
|
|
109
114
|
}
|
|
110
115
|
return t;
|
|
@@ -118,30 +123,30 @@ async function x({
|
|
|
118
123
|
siteUrl: u,
|
|
119
124
|
sort: a,
|
|
120
125
|
token: p,
|
|
121
|
-
useSession:
|
|
126
|
+
useSession: m
|
|
122
127
|
}) {
|
|
123
|
-
const
|
|
128
|
+
const I = t?.map(ne);
|
|
124
129
|
try {
|
|
125
130
|
return (await l.request({
|
|
126
131
|
baseURL: u,
|
|
127
132
|
method: "GET",
|
|
128
133
|
params: {
|
|
129
134
|
CountPerPage: e,
|
|
130
|
-
Fields:
|
|
135
|
+
Fields: Z(I),
|
|
131
136
|
Format: "json",
|
|
132
137
|
GetPermanentAssetsPaths: r || void 0,
|
|
133
138
|
PageNumber: o,
|
|
134
139
|
Query: _(s),
|
|
135
140
|
Sort: a || void 0,
|
|
136
141
|
Token: p || void 0,
|
|
137
|
-
UseSession:
|
|
142
|
+
UseSession: m || void 0
|
|
138
143
|
},
|
|
139
144
|
paramsSerializer: { indexes: null },
|
|
140
145
|
responseType: "json",
|
|
141
146
|
transformResponse: [
|
|
142
147
|
...Array.isArray(l.defaults.transformResponse) ? l.defaults.transformResponse : [],
|
|
143
148
|
(n) => ({
|
|
144
|
-
items: (n.APIResponse?.Items ?? []).map(
|
|
149
|
+
items: (n.APIResponse?.Items ?? []).map(se),
|
|
145
150
|
sort: n.APIResponse?.GlobalInfo?.Sort ?? "",
|
|
146
151
|
totalCount: n.APIResponse?.GlobalInfo?.TotalCount ?? 0
|
|
147
152
|
})
|
|
@@ -152,7 +157,7 @@ async function x({
|
|
|
152
157
|
return { items: [], sort: "", totalCount: 0 };
|
|
153
158
|
}
|
|
154
159
|
}
|
|
155
|
-
async function
|
|
160
|
+
async function _e({
|
|
156
161
|
assetId: e,
|
|
157
162
|
extension: t,
|
|
158
163
|
format: r,
|
|
@@ -168,7 +173,7 @@ async function Ie({
|
|
|
168
173
|
params: {
|
|
169
174
|
SourceAssetFormat: r,
|
|
170
175
|
SourceAssetRecordID: e,
|
|
171
|
-
TargetExtension:
|
|
176
|
+
TargetExtension: q(t),
|
|
172
177
|
Token: s || void 0,
|
|
173
178
|
Transformations: u,
|
|
174
179
|
UseSession: a || void 0
|
|
@@ -184,14 +189,14 @@ async function Ie({
|
|
|
184
189
|
return null;
|
|
185
190
|
}
|
|
186
191
|
}
|
|
187
|
-
const
|
|
188
|
-
function
|
|
192
|
+
const ae = 50;
|
|
193
|
+
function ie(e, t) {
|
|
189
194
|
const r = [];
|
|
190
195
|
for (let o = 0; o < e.length; o += t)
|
|
191
196
|
r.push(e.slice(o, o + t));
|
|
192
197
|
return r;
|
|
193
198
|
}
|
|
194
|
-
async function
|
|
199
|
+
async function De({
|
|
195
200
|
extraFields: e,
|
|
196
201
|
getPermanentAssetsPaths: t,
|
|
197
202
|
recordIds: r,
|
|
@@ -204,10 +209,10 @@ async function me({
|
|
|
204
209
|
E,
|
|
205
210
|
y,
|
|
206
211
|
T,
|
|
207
|
-
|
|
208
|
-
|
|
212
|
+
te,
|
|
213
|
+
re,
|
|
209
214
|
D
|
|
210
|
-
], a =
|
|
215
|
+
], a = ie(r, ae), p = await Promise.all(
|
|
211
216
|
a.map(
|
|
212
217
|
(n) => x({
|
|
213
218
|
countPerPage: n.length,
|
|
@@ -218,7 +223,7 @@ async function me({
|
|
|
218
223
|
token: o
|
|
219
224
|
})
|
|
220
225
|
)
|
|
221
|
-
),
|
|
226
|
+
), m = new Map(r.map((n, d) => [n, d])), I = p.flatMap((n) => n.items).map((n) => {
|
|
222
227
|
let d = c(n, y);
|
|
223
228
|
return d === "" && (d = c(n, T)), {
|
|
224
229
|
name: d,
|
|
@@ -230,18 +235,18 @@ async function me({
|
|
|
230
235
|
)
|
|
231
236
|
};
|
|
232
237
|
}).sort(
|
|
233
|
-
(n, d) => (
|
|
238
|
+
(n, d) => (m.get(n.recordId) ?? 1 / 0) - (m.get(d.recordId) ?? 1 / 0)
|
|
234
239
|
), A = p.reduce(
|
|
235
240
|
(n, d) => n + d.totalCount,
|
|
236
241
|
0
|
|
237
242
|
);
|
|
238
|
-
return { facets: [], items:
|
|
243
|
+
return { facets: [], items: I, totalCount: A };
|
|
239
244
|
}
|
|
240
245
|
function c(e, t) {
|
|
241
246
|
const r = e[t];
|
|
242
|
-
return r == null ? "" : typeof r == "string" ? r : typeof r == "number" || typeof r == "boolean" ? String(r) :
|
|
247
|
+
return r == null ? "" : typeof r == "string" ? r : typeof r == "number" || typeof r == "boolean" ? String(r) : X(r) ? r.URI : "";
|
|
243
248
|
}
|
|
244
|
-
async function
|
|
249
|
+
async function Te({
|
|
245
250
|
countPerPage: e,
|
|
246
251
|
extraFields: t,
|
|
247
252
|
getPermanentAssetsPaths: r,
|
|
@@ -250,17 +255,17 @@ async function Ee({
|
|
|
250
255
|
parentFolderIdentifier: u,
|
|
251
256
|
searchTerm: a,
|
|
252
257
|
sortOrder: p,
|
|
253
|
-
token:
|
|
258
|
+
token: m
|
|
254
259
|
}) {
|
|
255
260
|
if (!u)
|
|
256
261
|
return { facets: [], items: [], totalCount: 0 };
|
|
257
|
-
const
|
|
262
|
+
const I = (t?.filter((i) => i && typeof i == "string") ?? []).map((i) => i.replace("%20", " ")), A = {
|
|
258
263
|
parentFolderIdentifier: u,
|
|
259
264
|
...o.length > 0 ? { docType: [R.Image, R.Audio] } : {}
|
|
260
265
|
}, n = await x({
|
|
261
266
|
countPerPage: e,
|
|
262
267
|
fields: [
|
|
263
|
-
...
|
|
268
|
+
...I,
|
|
264
269
|
H,
|
|
265
270
|
L,
|
|
266
271
|
E,
|
|
@@ -280,7 +285,7 @@ async function Ee({
|
|
|
280
285
|
pageNumber: s,
|
|
281
286
|
query: A,
|
|
282
287
|
sort: void 0,
|
|
283
|
-
token:
|
|
288
|
+
token: m
|
|
284
289
|
}), d = n.items.map((i) => {
|
|
285
290
|
let f = c(i, b), h = c(i, y), S = c(i, L);
|
|
286
291
|
f && !f.startsWith(".") && (f = "." + f), h === "" && (h = c(i, T)), f.toLowerCase() === ".gif" && (S = c(i, E));
|
|
@@ -299,7 +304,7 @@ async function Ee({
|
|
|
299
304
|
size: c(i, G) || "0 MB",
|
|
300
305
|
tags: c(i, U),
|
|
301
306
|
width: c(i, v) || "0",
|
|
302
|
-
...
|
|
307
|
+
...I.reduce(
|
|
303
308
|
(g, N) => (g[N] = c(i, N), g),
|
|
304
309
|
{}
|
|
305
310
|
)
|
|
@@ -311,7 +316,7 @@ async function Ee({
|
|
|
311
316
|
totalCount: n.totalCount
|
|
312
317
|
};
|
|
313
318
|
}
|
|
314
|
-
async function
|
|
319
|
+
async function ye({
|
|
315
320
|
autoCropMode: e,
|
|
316
321
|
cropHeight: t,
|
|
317
322
|
cropWidth: r,
|
|
@@ -346,7 +351,7 @@ async function Ae({
|
|
|
346
351
|
return null;
|
|
347
352
|
}
|
|
348
353
|
}
|
|
349
|
-
async function
|
|
354
|
+
async function he({
|
|
350
355
|
assetRecordId: e,
|
|
351
356
|
siteUrl: t,
|
|
352
357
|
token: r,
|
|
@@ -382,7 +387,7 @@ async function _e({
|
|
|
382
387
|
return [];
|
|
383
388
|
}
|
|
384
389
|
}
|
|
385
|
-
async function
|
|
390
|
+
async function Fe({
|
|
386
391
|
siteUrl: e
|
|
387
392
|
} = {}) {
|
|
388
393
|
try {
|
|
@@ -413,19 +418,20 @@ export {
|
|
|
413
418
|
L as D,
|
|
414
419
|
D as F,
|
|
415
420
|
E as O,
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
421
|
+
De as a,
|
|
422
|
+
_e as b,
|
|
423
|
+
ye as c,
|
|
424
|
+
Fe as d,
|
|
420
425
|
x as e,
|
|
421
|
-
|
|
426
|
+
Te as f,
|
|
422
427
|
j as g,
|
|
423
428
|
v as h,
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
+
X as i,
|
|
430
|
+
P as j,
|
|
431
|
+
b as k,
|
|
432
|
+
M as l,
|
|
433
|
+
he as m,
|
|
429
434
|
G as n,
|
|
430
|
-
W as o
|
|
435
|
+
W as o,
|
|
436
|
+
Z as u
|
|
431
437
|
};
|
|
@@ -2,9 +2,9 @@ import { n as i, C as v } from "./lib-cortex-element.CVMmyPMC.js";
|
|
|
2
2
|
import { c as g } from "./component.styles.CRO4Odto.js";
|
|
3
3
|
import { c as C } from "./custom-element.L4WJXn1j.js";
|
|
4
4
|
import { F as x, v as w } from "./form.Ch1cwYzO.js";
|
|
5
|
-
import { L as $ } from "./i18n.
|
|
5
|
+
import { L as $ } from "./i18n.DmmFsjwP.js";
|
|
6
6
|
import { H as S, g as O } from "./slot.j5oheLJC.js";
|
|
7
|
-
import { w as m } from "./watch.
|
|
7
|
+
import { w as m } from "./watch.CThbualB.js";
|
|
8
8
|
import { r as u } from "./state.CSDxrqLd.js";
|
|
9
9
|
import { e as L } from "./query.BBf1UFkC.js";
|
|
10
10
|
import { e as D } from "./class-map.BiVq-cVR.js";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import z from "../components/space.js";
|
|
2
|
-
import { C as $ } from "./table.
|
|
2
|
+
import { C as $ } from "./table.Dh2C2f1c.js";
|
|
3
3
|
import { C as k } from "./typography.DJC_UXgs.js";
|
|
4
4
|
import { n as h, C as F } from "./lib-cortex-element.CVMmyPMC.js";
|
|
5
|
-
import { C, a as g } from "./color-swatch.
|
|
5
|
+
import { C, a as g } from "./color-swatch.DHxppzoQ.js";
|
|
6
6
|
import { c as A } from "./component.styles.CRO4Odto.js";
|
|
7
|
-
import { D as p } from "./content-builder.
|
|
7
|
+
import { D as p } from "./content-builder.B-bd8FaV.js";
|
|
8
8
|
import { c as S } from "./custom-element.L4WJXn1j.js";
|
|
9
9
|
import { d as T } from "./debounce.CIEhztrj.js";
|
|
10
|
-
import { L as E } from "./i18n.
|
|
11
|
-
import { w as x } from "./watch.
|
|
12
|
-
import { g as D, a as R } from "./responsive.
|
|
10
|
+
import { L as E } from "./i18n.DmmFsjwP.js";
|
|
11
|
+
import { w as x } from "./watch.CThbualB.js";
|
|
12
|
+
import { g as D, a as R } from "./responsive.Aigicabj.js";
|
|
13
13
|
import { x as l, B as H, i as O } from "./lit-element.jLBm65_O.js";
|
|
14
14
|
import { r as d } from "./state.CSDxrqLd.js";
|
|
15
15
|
import { e as P } from "./query.BBf1UFkC.js";
|
|
@@ -8,8 +8,8 @@ import { c as F } from "./component.styles.CRO4Odto.js";
|
|
|
8
8
|
import { c as n, C as h, H as $, l as z } from "./color.vLD2sNTs.js";
|
|
9
9
|
import { c as O } from "./custom-element.L4WJXn1j.js";
|
|
10
10
|
import { d as W } from "./debounce.CIEhztrj.js";
|
|
11
|
-
import { L as A } from "./i18n.
|
|
12
|
-
import { w as i } from "./watch.
|
|
11
|
+
import { L as A } from "./i18n.DmmFsjwP.js";
|
|
12
|
+
import { w as i } from "./watch.CThbualB.js";
|
|
13
13
|
import { i as G, x as u } from "./lit-element.jLBm65_O.js";
|
|
14
14
|
import { r as c } from "./state.CSDxrqLd.js";
|
|
15
15
|
import { e as R } from "./query.BBf1UFkC.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { D as L, q as i, R as m, d as s, x as c, H as A, C as h, w as g, L as R, T, B as y, G as _, b, s as G, c as S, a as x, f as p, bx as D, by as P } from "./am-chart.
|
|
2
|
-
import { L as k } from "./LinearGradient.
|
|
3
|
-
import { C as M } from "./Circle.
|
|
4
|
-
import { E as H } from "./EditableLabel.
|
|
5
|
-
import { S as B } from "./Slider.
|
|
1
|
+
import { D as L, q as i, R as m, d as s, x as c, H as A, C as h, w as g, L as R, T, B as y, G as _, b, s as G, c as S, a as x, f as p, bx as D, by as P } from "./am-chart.sBfZlJdc.js";
|
|
2
|
+
import { L as k } from "./LinearGradient.BM0pPmvI.js";
|
|
3
|
+
import { C as M } from "./Circle.BaJWdg6Z.js";
|
|
4
|
+
import { E as H } from "./EditableLabel.gd9mjKfA.js";
|
|
5
|
+
import { S as B } from "./Slider.BZNFS2HS.js";
|
|
6
6
|
class O extends L {
|
|
7
7
|
setupDefaultRules() {
|
|
8
8
|
super.setupDefaultRules();
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { C as _ } from "./button.
|
|
2
|
-
import { C as u, D as h } from "./dialog.
|
|
1
|
+
import { C as _ } from "./button.CZ-e_TGN.js";
|
|
2
|
+
import { C as u, D as h } from "./dialog.BOWFhWcd.js";
|
|
3
3
|
import g from "../components/dropdown.js";
|
|
4
4
|
import { C as x } from "./typography.DJC_UXgs.js";
|
|
5
5
|
import { n as e, C as b } from "./lib-cortex-element.CVMmyPMC.js";
|
|
6
6
|
import { c as y } from "./component.styles.CRO4Odto.js";
|
|
7
7
|
import { c as w } from "./custom-element.L4WJXn1j.js";
|
|
8
|
-
import { L as $ } from "./i18n.
|
|
8
|
+
import { L as $ } from "./i18n.DmmFsjwP.js";
|
|
9
9
|
import { i as z, x as d } from "./lit-element.jLBm65_O.js";
|
|
10
10
|
import { e as m } from "./query.BBf1UFkC.js";
|
|
11
11
|
import { e as a } from "./class-map.BiVq-cVR.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as l } from "./capitalize.
|
|
1
|
+
import { c as l } from "./capitalize.i-sHIcnm.js";
|
|
2
2
|
const i = window.location.origin.includes("localhost:") ? "https://local.orangelogic.com" : window.location.origin;
|
|
3
3
|
function B(a, o, n, d = i) {
|
|
4
4
|
const e = new URL(d + "/" + a);
|
|
@@ -37,7 +37,7 @@ const c = {
|
|
|
37
37
|
/* Mobile */
|
|
38
38
|
)
|
|
39
39
|
}, L = [c, h, u];
|
|
40
|
-
var A = /* @__PURE__ */ ((a) => (a.All = "ALL", a.CanDelete = "CanDelete", a.CanDownload = "CanDownload", a.CanFind = "CanFind", a.CanManageRights = "CanManageRights", a.CanMove = "CanMove", a.CanRead = "CanRead", a.CanReadAll = "CanReadAll", a.CanReadAndWrite = "CanReadAndWrite", a.CanReadLarge = "CanReadLarge", a.CanReadMedium = "CanReadMedium", a.CanReadOriginal = "CanReadOriginal", a.CanShare = "CanShare", a.CanUpload = "CanUpload", a.CanWrite = "CanWrite", a.None = "NONE", a))(A || {}), g = /* @__PURE__ */ ((a) => (a.All = "all", a.Audio = "audio", a.Image = "image", a.Other = "other", a.Video = "video", a))(g || {}), R = /* @__PURE__ */ ((a) => (a.Content = "content", a.Template = "template", a))(R || {}), b = /* @__PURE__ */ ((a) => (a.Administrator = "Administrator", a.Designer = "Designer", a.Editor = "Editor", a))(b || {}), r = /* @__PURE__ */ ((a) => (a.Accordion = "BlockAccordion", a.Analytics = "BlockAnalytics", a.Button = "BlockButton", a.Carousel = "BlockCarousel", a.ColorSwatches = "BlockColorSwatches", a.Column = "BlockCell", a.ColumnGroup = "BlockColumns", a.Divider = "BlockDivider", a.FontKit = "BlockFontKit", a.Gallery = "BlockGallery", a.Header = "BlockHeader", a.Image = "BlockImage", a.RichText = "BlockRichText", a.SearchBox = "BlockSearchBox", a.TabGroup = "BlockTabs", a.Text = "BlockText", a.Timeline = "BlockTimeline", a.Video = "BlockVideo", a))(r || {});
|
|
40
|
+
var A = /* @__PURE__ */ ((a) => (a.All = "ALL", a.CanDelete = "CanDelete", a.CanDownload = "CanDownload", a.CanFind = "CanFind", a.CanManageRights = "CanManageRights", a.CanMove = "CanMove", a.CanRead = "CanRead", a.CanReadAll = "CanReadAll", a.CanReadAndWrite = "CanReadAndWrite", a.CanReadLarge = "CanReadLarge", a.CanReadMedium = "CanReadMedium", a.CanReadOriginal = "CanReadOriginal", a.CanShare = "CanShare", a.CanUpload = "CanUpload", a.CanWrite = "CanWrite", a.None = "NONE", a))(A || {}), g = /* @__PURE__ */ ((a) => (a.All = "all", a.Audio = "audio", a.Image = "image", a.Other = "other", a.Video = "video", a))(g || {}), R = /* @__PURE__ */ ((a) => (a.Content = "content", a.Template = "template", a))(R || {}), b = /* @__PURE__ */ ((a) => (a.Administrator = "Administrator", a.Designer = "Designer", a.Editor = "Editor", a))(b || {}), r = /* @__PURE__ */ ((a) => (a.Accordion = "BlockAccordion", a.Analytics = "BlockAnalytics", a.Audio = "BlockAudio", a.Button = "BlockButton", a.Carousel = "BlockCarousel", a.ColorSwatches = "BlockColorSwatches", a.Column = "BlockCell", a.ColumnGroup = "BlockColumns", a.Divider = "BlockDivider", a.FontKit = "BlockFontKit", a.Gallery = "BlockGallery", a.Header = "BlockHeader", a.Image = "BlockImage", a.RichText = "BlockRichText", a.SearchBox = "BlockSearchBox", a.TabGroup = "BlockTabs", a.Text = "BlockText", a.Timeline = "BlockTimeline", a.Video = "BlockVideo", a))(r || {});
|
|
41
41
|
const f = Object.values(r).filter(
|
|
42
42
|
(a) => a !== "BlockCell"
|
|
43
43
|
/* Column */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as Ji, C as ET } from "./lib-cortex-element.CVMmyPMC.js";
|
|
2
2
|
import { c as RT } from "./component.styles.CRO4Odto.js";
|
|
3
|
-
import { U as Cp } from "./asset-link-format.
|
|
3
|
+
import { U as Cp } from "./asset-link-format.B0c92pSs.js";
|
|
4
4
|
import { c as AT } from "./custom-element.L4WJXn1j.js";
|
|
5
5
|
import { i as OT, x as Zv } from "./lit-element.jLBm65_O.js";
|
|
6
6
|
import { r as DT } from "./state.CSDxrqLd.js";
|
|
@@ -3,11 +3,11 @@ import { c as S } from "./component.styles.CRO4Odto.js";
|
|
|
3
3
|
import { O, C as D, H, z as A, o as B } from "./overlayscrollbars.BMav4RQ4.js";
|
|
4
4
|
import { a as c, s as p, w as x } from "./event.BeKOsirN.js";
|
|
5
5
|
import { c as $ } from "./custom-element.L4WJXn1j.js";
|
|
6
|
-
import { L } from "./i18n.
|
|
6
|
+
import { L } from "./i18n.DmmFsjwP.js";
|
|
7
7
|
import { M as P } from "./modal.U1QltQKe.js";
|
|
8
8
|
import { l as w, u as _ } from "./scroll.xtO5yojm.js";
|
|
9
9
|
import { H as E } from "./slot.j5oheLJC.js";
|
|
10
|
-
import { w as z } from "./watch.
|
|
10
|
+
import { w as z } from "./watch.CThbualB.js";
|
|
11
11
|
import { i as R, x as y, E as W } from "./lit-element.jLBm65_O.js";
|
|
12
12
|
import { r as g } from "./state.CSDxrqLd.js";
|
|
13
13
|
import { e as m } from "./query.BBf1UFkC.js";
|
|
@@ -17,7 +17,7 @@ import { o as q } from "./style-map.llVFPd__.js";
|
|
|
17
17
|
import { n as b } from "./when.Dr1es41R.js";
|
|
18
18
|
import { s as u, g as h } from "./animation-registry.HmpwNuGH.js";
|
|
19
19
|
import F from "../components/divider.js";
|
|
20
|
-
import { C as I } from "./icon-button.
|
|
20
|
+
import { C as I } from "./icon-button.CHh2iNJJ.js";
|
|
21
21
|
import U from "../components/popup.js";
|
|
22
22
|
var l = /* @__PURE__ */ ((e) => (e.Both = "both", e.Footer = "footer", e.Header = "header", e.None = "none", e))(l || {});
|
|
23
23
|
const j = R`:host{--width:31rem;--header-spacing:var(--cx-spacing-small) var(--cx-spacing-large);--body-spacing:var(--cx-spacing-medium) var(--cx-spacing-large);--divider-spacing:0;--footer-spacing:var(--cx-spacing-medium);--max-width:100%;--max-height:100%;--overlay-background-color:var(--cx-overlay-background-color);display:contents}.dialog{justify-content:center;align-items:center;display:flex}.dialog--absolute{position:absolute}.dialog__panel{width:var(--width);height:var(--dialog-height,auto);background-color:var(--cx-panel-background-color);border-radius:var(--cx-border-radius-medium);box-shadow:var(--cx-shadow-x-large);max-width:calc(var(--max-width) - var(--cx-spacing-2x-large));max-height:calc(var(--max-height) - var(--cx-spacing-2x-large));flex-direction:column;display:flex;overflow:hidden}.dialog__panel:focus{outline:none}@media screen and (width<=420px){.dialog__panel{max-height:80vh}}.dialog--open .dialog__panel{opacity:1;display:flex}.dialog__header{padding:var(--header-spacing);flex:none;display:flex}.dialog__header-divider,.dialog__footer-divider{--spacing:0;padding:var(--divider-spacing)}.dialog__title{font:inherit;font-family:var(--cx-font-sans);font-size:var(--cx-font-size-large);font-weight:var(--cx-font-weight-regular);line-height:var(--cx-line-height-large);flex:auto;align-items:center;margin:0;display:flex}.dialog__header-actions{justify-content:end;gap:var(--cx-spacing-2x-small);flex-wrap:wrap;flex-shrink:0;display:flex}.dialog__header-actions cx-icon-button,.dialog__header-actions ::slotted(cx-icon-button){font-size:var(--cx-font-size-3x-large);flex:none;align-items:center;display:flex}.dialog__body{padding:var(--body-spacing);-webkit-overflow-scrolling:touch;font-size:var(--cx-font-size-medium);font-weight:var(--cx-font-weight-regular);line-height:var(--cx-line-height-small);z-index:2;flex:auto;display:block;position:relative;overflow:auto}.dialog--overlay-scrollbar .dialog__body{flex-direction:column;display:flex}.dialog__footer{text-align:right;padding:var(--footer-spacing);z-index:1;flex:none;position:relative}.dialog__footer ::slotted(cx-button:not(:first-of-type)){margin-inline-start:var(--cx-spacing-x-small)}.dialog:not(.dialog--has-footer) .dialog__footer{display:none}@media (forced-colors:active){.dialog__panel{border:solid 1px var(--cx-color-neutral-0)}}.dialog__overlay{background-color:var(--overlay-background-color);opacity:0;pointer-events:none;z-index:1;justify-content:center;align-items:center;display:flex}.dialog--open .dialog__overlay{opacity:1;pointer-events:auto}`;
|
|
@@ -2,8 +2,8 @@ import { n as s, C as P } from "./lib-cortex-element.CVMmyPMC.js";
|
|
|
2
2
|
import { c as z } from "./component.styles.CRO4Odto.js";
|
|
3
3
|
import { O as C } from "./index.Cpamj0jB.js";
|
|
4
4
|
import { c as F } from "./custom-element.L4WJXn1j.js";
|
|
5
|
-
import { L as S } from "./i18n.
|
|
6
|
-
import { w as f } from "./watch.
|
|
5
|
+
import { L as S } from "./i18n.DmmFsjwP.js";
|
|
6
|
+
import { w as f } from "./watch.CThbualB.js";
|
|
7
7
|
import { i as O, x as y } from "./lit-element.jLBm65_O.js";
|
|
8
8
|
import { r as j } from "./state.CSDxrqLd.js";
|
|
9
9
|
import { e as K } from "./query.BBf1UFkC.js";
|