@orangelogic/design-system 2.141.0 → 2.142.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.BDuHqEN5.js → asset-link-format.Du63EIst.js} +238 -214
- package/library/chunks/{document-viewer.BqZzhJyR.js → document-viewer.DQXvmHvo.js} +1 -1
- package/library/chunks/{endpoints.BlywT4Gl.js → endpoints.ASL1clzd.js} +89 -88
- package/library/chunks/{file-on-demand.Bxq3-Dk1.js → file-on-demand.Bve3SdQJ.js} +39 -39
- package/library/chunks/{folder-select.CpK1RX9O.js → folder-select.BudMvcEM.js} +1 -1
- package/library/chunks/{image.u2nQNoZ8.js → image.B3vsXGrN.js} +1 -1
- package/library/components/asset-link-format.js +1 -1
- package/library/components/atoms.js +2 -2
- package/library/components/color-picker.js +79 -72
- package/library/components/document-viewer.js +2 -2
- package/library/components/file-on-demand.js +1 -1
- package/library/components/folder-select.js +2 -2
- 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 +2 -2
- package/library/components/types.js +10210 -10194
- package/library/components/video.js +1 -1
- package/library/package.json +1 -1
- package/library/packages/atoms/src/components/color-picker/color-picker.d.ts +1 -0
- package/library/packages/molecules/src/asset-format-picker/asset-format-picker.d.ts +1 -0
- package/library/packages/organisms/src/asset-transformation-dialog/asset-transformation-dialog.d.ts +2 -1
- package/library/packages/organisms/src/content-builder/configs/image.d.ts +1 -0
- package/library/packages/organisms/src/content-builder/configs-controller.d.ts +1 -0
- package/library/packages/services/src/api/asset/asset.d.ts +2 -1
- package/library/packages/services/src/api/endpoints.d.ts +3 -0
- package/package.json +1 -1
|
@@ -5,15 +5,15 @@ import { n as d, C as W } from "./lib-cortex-element.CVMmyPMC.js";
|
|
|
5
5
|
import { c as st } from "./component.styles.CRO4Odto.js";
|
|
6
6
|
import { c as q } from "./custom-element.L4WJXn1j.js";
|
|
7
7
|
import { L as G } from "./i18n.DeUAP8n2.js";
|
|
8
|
-
import { k as Et, h as It, i as
|
|
8
|
+
import { k as Et, h as It, i as wt, w as P, j as Lt, l as Ft, a as Ut, c as Rt, g as kt, m as Ot, n as Nt } from "./watch.CThbualB.js";
|
|
9
9
|
import { p as R } from "./string.BmBJ_BLT.js";
|
|
10
10
|
import { x as n, i as ot, E as jt } from "./lit-element.jLBm65_O.js";
|
|
11
11
|
import { r as u } from "./state.CSDxrqLd.js";
|
|
12
12
|
import { e as z } from "./query.BBf1UFkC.js";
|
|
13
|
-
import { e as
|
|
13
|
+
import { e as C } from "./class-map.BiVq-cVR.js";
|
|
14
14
|
import { c as U } from "./repeat.CFjcER6_.js";
|
|
15
15
|
import { n as h } from "./when.Dr1es41R.js";
|
|
16
|
-
import { b as Bt, i as
|
|
16
|
+
import { b as Bt, i as Ct } from "./_baseIteratee.DpzDid58.js";
|
|
17
17
|
import Mt from "../components/avatar.js";
|
|
18
18
|
import { C as Vt } from "./button.C6-GrLyD.js";
|
|
19
19
|
import { C as Ht } from "./dialog.C79Kd2S4.js";
|
|
@@ -81,7 +81,7 @@ function ge(t, e, i, a) {
|
|
|
81
81
|
}
|
|
82
82
|
function xe(t, e) {
|
|
83
83
|
return function(i, a) {
|
|
84
|
-
var s =
|
|
84
|
+
var s = wt(i) ? ce : ge, o = e ? e() : {};
|
|
85
85
|
return s(i, t, Bt(a), o);
|
|
86
86
|
};
|
|
87
87
|
}
|
|
@@ -170,8 +170,8 @@ const _e = {
|
|
|
170
170
|
["limit", s.toString()],
|
|
171
171
|
["start", _.toString()]
|
|
172
172
|
], F = new URL(`${g}${$}`);
|
|
173
|
-
f.forEach(([
|
|
174
|
-
F.searchParams.append(
|
|
173
|
+
f.forEach(([w, E]) => {
|
|
174
|
+
F.searchParams.append(w, E);
|
|
175
175
|
});
|
|
176
176
|
const O = await fetch(F.toString(), {
|
|
177
177
|
headers: {
|
|
@@ -180,49 +180,49 @@ const _e = {
|
|
|
180
180
|
method: "GET"
|
|
181
181
|
});
|
|
182
182
|
if (!O.ok) {
|
|
183
|
-
const
|
|
184
|
-
throw
|
|
183
|
+
const w = new Error();
|
|
184
|
+
throw w.message = "Failed to fetch", w;
|
|
185
185
|
}
|
|
186
186
|
const Y = await O.json();
|
|
187
187
|
let K = /* @__PURE__ */ new Set();
|
|
188
188
|
a && (K = Ie(a));
|
|
189
|
-
const ct = Y.contentItems?.map((
|
|
189
|
+
const ct = Y.contentItems?.map((w) => {
|
|
190
190
|
let E = V(
|
|
191
|
-
|
|
191
|
+
w.fields,
|
|
192
192
|
A.TITLE_WITH_FALLBACK
|
|
193
193
|
) ?? "", B = Se(
|
|
194
194
|
(V(
|
|
195
|
-
|
|
195
|
+
w.fields,
|
|
196
196
|
A.ASSET_PATH
|
|
197
197
|
) ?? "").replace(/^Root\//i, "")
|
|
198
198
|
) || E;
|
|
199
199
|
if (a) {
|
|
200
200
|
if (a.has(B)) {
|
|
201
201
|
const lt = B.split("/"), zt = lt.pop();
|
|
202
|
-
B = `${lt.join("/")}/${
|
|
202
|
+
B = `${lt.join("/")}/${w.recordID}-${zt}`, E = `${w.recordID}-${E}`;
|
|
203
203
|
}
|
|
204
204
|
o?.trim() && K.has(E) && (E = B), a.add(B), K.add(E);
|
|
205
205
|
}
|
|
206
206
|
return {
|
|
207
207
|
childCount: Number(
|
|
208
208
|
V(
|
|
209
|
-
|
|
209
|
+
w.fields,
|
|
210
210
|
A.CHILD_COUNT
|
|
211
211
|
) ?? 0
|
|
212
212
|
),
|
|
213
213
|
children: [],
|
|
214
214
|
docType: V(
|
|
215
|
-
|
|
215
|
+
w.fields,
|
|
216
216
|
A.DOC_TYPE
|
|
217
217
|
) ?? "",
|
|
218
218
|
fullPath: B,
|
|
219
219
|
hasChildren: V(
|
|
220
|
-
|
|
220
|
+
w.fields,
|
|
221
221
|
A.HAS_BROWSER_CHILDREN
|
|
222
222
|
) === "1",
|
|
223
|
-
id:
|
|
223
|
+
id: w.recordID,
|
|
224
224
|
parentFolderIdentifier: V(
|
|
225
|
-
|
|
225
|
+
w.fields,
|
|
226
226
|
A.PARENT_FOLDER_IDENTIFIER
|
|
227
227
|
) ?? "",
|
|
228
228
|
parents: [],
|
|
@@ -258,17 +258,17 @@ const at = "-", S = (t) => {
|
|
|
258
258
|
s && e.add(s);
|
|
259
259
|
}
|
|
260
260
|
return e;
|
|
261
|
-
},
|
|
261
|
+
}, we = (t, e) => {
|
|
262
262
|
const i = t.split("/"), a = e.split("/");
|
|
263
263
|
return i.slice(0, a.length + 1).join("/");
|
|
264
264
|
};
|
|
265
265
|
function _t(t) {
|
|
266
266
|
return t.toSorted((e, i) => i.uploadTimestamp - e.uploadTimestamp);
|
|
267
267
|
}
|
|
268
|
-
var
|
|
268
|
+
var Ce = Object.defineProperty, Ae = Object.getOwnPropertyDescriptor, D = (t, e, i, a) => {
|
|
269
269
|
for (var s = a > 1 ? void 0 : a ? Ae(e, i) : e, o = t.length - 1, c; o >= 0; o--)
|
|
270
270
|
(c = t[o]) && (s = (a ? c(e, i, s) : c(s)) || s);
|
|
271
|
-
return a && s &&
|
|
271
|
+
return a && s && Ce(e, i, s), s;
|
|
272
272
|
};
|
|
273
273
|
let y = class extends W {
|
|
274
274
|
constructor() {
|
|
@@ -342,7 +342,7 @@ let y = class extends W {
|
|
|
342
342
|
if (!f.path.trim() || !f.id.trim())
|
|
343
343
|
return !1;
|
|
344
344
|
const F = R(f.path), O = R(a);
|
|
345
|
-
a && F.startsWith(O) && F !== O && g.add(
|
|
345
|
+
a && F.startsWith(O) && F !== O && g.add(we(f.path, a));
|
|
346
346
|
});
|
|
347
347
|
};
|
|
348
348
|
o(this.removedIDs, i), o(s, e);
|
|
@@ -381,7 +381,7 @@ let y = class extends W {
|
|
|
381
381
|
}
|
|
382
382
|
render() {
|
|
383
383
|
const t = mt(this.folder?.path ?? [], this.folder?.fullPath ?? "");
|
|
384
|
-
return n`<cx-tree-item aria-label=${this.folder?.title ?? ""} class=${
|
|
384
|
+
return n`<cx-tree-item aria-label=${this.folder?.title ?? ""} class=${C({
|
|
385
385
|
"folder-tree__item": !0,
|
|
386
386
|
selectable: !0
|
|
387
387
|
})} data-id=${this.folder?.id} data-path=${t} ?lazy=${this.folder?.hasChildren && this.data === null} @cx-lazy-load=${this.onLazyLoad}><div class="folder-tree__label"><cx-icon class="folder-tree__icon" name="folder"></cx-icon><cx-line-clamp lines="1" class="folder-tree__label__value">${this.folder?.title}</cx-line-clamp></div>${U(
|
|
@@ -513,7 +513,7 @@ let b = class extends W {
|
|
|
513
513
|
}
|
|
514
514
|
}
|
|
515
515
|
render() {
|
|
516
|
-
return n`<div class="folder-tree selectable"><cx-tree class=${
|
|
516
|
+
return n`<div class="folder-tree selectable"><cx-tree class=${C({
|
|
517
517
|
selectable: !0
|
|
518
518
|
})} @cx-selected-change=${this.handleSelectedChange} selection="multiple" disabled-auto-expand disabled-sync-checkboxes>${U(
|
|
519
519
|
this.folders,
|
|
@@ -618,7 +618,7 @@ var vt = function() {
|
|
|
618
618
|
value: Le(e),
|
|
619
619
|
writable: !0
|
|
620
620
|
});
|
|
621
|
-
} :
|
|
621
|
+
} : Ct, Ue = 800, Re = 16, ke = Date.now;
|
|
622
622
|
function Oe(t) {
|
|
623
623
|
var e = 0, i = 0;
|
|
624
624
|
return function() {
|
|
@@ -633,7 +633,7 @@ function Oe(t) {
|
|
|
633
633
|
}
|
|
634
634
|
var Ne = Oe(Fe);
|
|
635
635
|
function je(t, e) {
|
|
636
|
-
return Ne(Ee(t, e,
|
|
636
|
+
return Ne(Ee(t, e, Ct), t + "");
|
|
637
637
|
}
|
|
638
638
|
var Be = 200;
|
|
639
639
|
function Me(t, e, i, a) {
|
|
@@ -655,7 +655,7 @@ function Me(t, e, i, a) {
|
|
|
655
655
|
}
|
|
656
656
|
var yt = ut ? ut.isConcatSpreadable : void 0;
|
|
657
657
|
function Ve(t) {
|
|
658
|
-
return
|
|
658
|
+
return wt(t) || kt(t) || !!(yt && t && t[yt]);
|
|
659
659
|
}
|
|
660
660
|
function He(t, e, i, a, s) {
|
|
661
661
|
var o = -1, c = t.length;
|
|
@@ -913,7 +913,7 @@ let L = class extends W {
|
|
|
913
913
|
uploadErrorMessage: o,
|
|
914
914
|
uploadStatus: c = v.InProgress
|
|
915
915
|
}) {
|
|
916
|
-
const p = a > 0 ? e * 100 / a : 0, _ = c === v.InProgress ? p : 100, m = n`<div class=${
|
|
916
|
+
const p = a > 0 ? e * 100 / a : 0, _ = c === v.InProgress ? p : 100, m = n`<div class=${C({
|
|
917
917
|
"in-progress": c === v.InProgress,
|
|
918
918
|
paused: t,
|
|
919
919
|
progress: !0,
|
|
@@ -968,7 +968,7 @@ let L = class extends W {
|
|
|
968
968
|
)}<cx-icon class="asset__thumbnail__icon" name="insert_drive_file" variant="filled"></cx-icon><div class="asset__thumbnail__extension"><cx-line-clamp class="asset__thumbnail__extension__line-clamp" lines="1"><cx-typography class="asset__thumbnail__extension__text" variant="small">${$e(this.asset.fileName)}</cx-typography></cx-line-clamp></div>`;
|
|
969
969
|
}
|
|
970
970
|
renderThumbnail() {
|
|
971
|
-
return n`<div class=${
|
|
971
|
+
return n`<div class=${C({
|
|
972
972
|
asset__thumbnail: !0,
|
|
973
973
|
"asset__thumbnail--folder": this.isFolder,
|
|
974
974
|
"asset__thumbnail--placeholder": this.showThumbnailPlaceholder
|
|
@@ -1356,14 +1356,14 @@ let r = class extends W {
|
|
|
1356
1356
|
renderRecentAssets() {
|
|
1357
1357
|
const t = n`<div class="recent-empty assets-list__tab-group__empty-message"><cx-icon class="empty-icon" name="explore"></cx-icon><cx-typography variant="body2">${this.localize.term("allViewedAssetsWillBeVisibleHere")}</cx-typography></div>`, [e, i] = gt(
|
|
1358
1358
|
this.recentAssets.assets
|
|
1359
|
-
), a = n`<div class="recent__list" @scroll=${this.requestMoreRecentAssets}><div class=${
|
|
1359
|
+
), a = n`<div class="recent__list" @scroll=${this.requestMoreRecentAssets}><div class=${C({
|
|
1360
1360
|
empty: e.length === 0,
|
|
1361
1361
|
recent__today: !0
|
|
1362
1362
|
})} data-testid="recent__today"><div class="asset-group__label"><cx-typography variant="small">${this.localize.term("today")}</cx-typography></div>${U(
|
|
1363
1363
|
e,
|
|
1364
1364
|
(s) => s.recordId,
|
|
1365
1365
|
(s) => this.renderAsset(s, x.RECENT)
|
|
1366
|
-
)}</div><div class=${
|
|
1366
|
+
)}</div><div class=${C({
|
|
1367
1367
|
empty: i.length === 0,
|
|
1368
1368
|
recent__other: !0
|
|
1369
1369
|
})}><div class="asset-group__label"><cx-typography variant="small">${this.localize.term("allOther")}</cx-typography></div>${U(
|
|
@@ -1396,14 +1396,14 @@ let r = class extends W {
|
|
|
1396
1396
|
renderUploadingAssets() {
|
|
1397
1397
|
const t = n`<div class="uploads-empty assets-list__tab-group__empty-message"><cx-icon class="empty-icon" name="arrow_upward"></cx-icon><cx-typography variant="body2">${this.localize.term("allAssetUploadsWillBeVisibleHere")}</cx-typography></div>`, [e, i] = gt(
|
|
1398
1398
|
this.uploadingAssets.assets
|
|
1399
|
-
), a = n`<div class="uploads__list" @scroll=${this.requestMoreUploadingAssets}><div class=${
|
|
1399
|
+
), a = n`<div class="uploads__list" @scroll=${this.requestMoreUploadingAssets}><div class=${C({
|
|
1400
1400
|
empty: e.length === 0,
|
|
1401
1401
|
recent__today: !0
|
|
1402
1402
|
})} data-testid="uploads__today"><div class="asset-group__label"><cx-typography variant="small">${this.localize.term("today")}</cx-typography>${h(e.length > 0, () => this.renderClearUploadButton())}</div>${U(
|
|
1403
1403
|
e,
|
|
1404
1404
|
(s) => s.recordId,
|
|
1405
1405
|
(s) => this.renderAsset(s, x.UPLOADS)
|
|
1406
|
-
)}</div><div class=${
|
|
1406
|
+
)}</div><div class=${C({
|
|
1407
1407
|
empty: i.length === 0,
|
|
1408
1408
|
uploads__other: !0
|
|
1409
1409
|
})}><div class="asset-group__label"><cx-typography variant="small">${this.localize.term("allOther")}</cx-typography>${h(
|
|
@@ -1532,7 +1532,7 @@ let r = class extends W {
|
|
|
1532
1532
|
const { id: s, path: o } = S(a), c = () => {
|
|
1533
1533
|
e(s);
|
|
1534
1534
|
};
|
|
1535
|
-
return n`<cx-tree-item data-id=${s} class=${
|
|
1535
|
+
return n`<cx-tree-item data-id=${s} class=${C({
|
|
1536
1536
|
"folder-tree__item": !0
|
|
1537
1537
|
})}><div class="folder-tree__label"><cx-icon class="folder-tree__icon" name="folder"></cx-icon><cx-line-clamp lines="1" class="folder-tree__label__value">${o}</cx-line-clamp></div><cx-tooltip slot="actions" content=${this.localize.term("removeFolder", 1)} hoist><cx-icon-button @click=${c} name="close"></cx-icon-button></cx-tooltip></cx-tree-item>`;
|
|
1538
1538
|
};
|
|
@@ -1633,20 +1633,20 @@ let r = class extends W {
|
|
|
1633
1633
|
case "error":
|
|
1634
1634
|
return n`<cx-icon variant="filled" name="error"></cx-icon>`;
|
|
1635
1635
|
}
|
|
1636
|
-
}, a = n`<div class=${
|
|
1636
|
+
}, a = n`<div class=${C({
|
|
1637
1637
|
"connection-status": !0,
|
|
1638
1638
|
"connection-status--bad": this.connectionStatus === "bad",
|
|
1639
1639
|
"connection-status--excellent": this.connectionStatus === "excellent",
|
|
1640
1640
|
"connection-status--good": this.connectionStatus === "good"
|
|
1641
1641
|
})}><cx-typography class="label" variant="small">${this.localize.term("connection")}</cx-typography><cx-tooltip class="connection-status__tooltip" content=${this.connectionStatusTooltip} hoist ?disabled=${!this.connectionStatusTooltip.trim()}><div class="connection-status__value"><cx-typography variant="small">${this.connectionStatus}</cx-typography>${e()}</div></cx-tooltip></div>`, s = this.settings.cacheUsage >= this.settings.cacheSize;
|
|
1642
|
-
return n`<cx-divider class="status-footer__divider"></cx-divider><div class="status-footer"><div class="connected-url"><cx-typography class="label" variant="small">${this.localize.term("connectedTo")}</cx-typography><cx-line-clamp class="value-line-clamp" lines="1"><cx-typography class="value" variant="small">${this.settings.config.siteUrl}</cx-typography></cx-line-clamp></div>${a}<div class=${
|
|
1642
|
+
return n`<cx-divider class="status-footer__divider"></cx-divider><div class="status-footer"><div class="connected-url"><cx-typography class="label" variant="small">${this.localize.term("connectedTo")}</cx-typography><cx-line-clamp class="value-line-clamp" lines="1"><cx-typography class="value" variant="small">${this.settings.config.siteUrl}</cx-typography></cx-line-clamp></div>${a}<div class=${C({
|
|
1643
1643
|
"asset-index-sync-status": !0,
|
|
1644
1644
|
"asset-index-sync-status--error": this.assetIndexSyncStatus === "error",
|
|
1645
1645
|
"asset-index-sync-status--loaded": this.assetIndexSyncStatus === "loaded",
|
|
1646
1646
|
"asset-index-sync-status--loading": this.assetIndexSyncStatus === "loading"
|
|
1647
1647
|
})}><cx-typography class="label" variant="small">${this.localize.term("assetIndexSync")}</cx-typography><div class="value"><cx-typography variant="small">${_e[this.assetIndexSyncStatus]}</cx-typography>${i()}</div></div><div class="cache-usage"><cx-typography class="label" variant="small">${this.localize.term("cache")}</cx-typography><cx-tooltip ?disabled=${!s} content=${this.localize.term("cacheUsageWarning")}><cx-space spacing="3x-small"><cx-line-clamp class="value-line-clamp" lines="1"><cx-typography class="value" variant="small"><cx-format-bytes value=${this.settings.cacheUsage}></cx-format-bytes>
|
|
1648
1648
|
/
|
|
1649
|
-
<cx-format-bytes value=${this.settings.cacheSize}></cx-format-bytes></cx-typography></cx-line-clamp></cx-space></cx-tooltip></div>${h(this.assetIndexSyncStatus === "error", () => t)}</div>`;
|
|
1649
|
+
<cx-format-bytes value=${this.settings.cacheSize}></cx-format-bytes></cx-typography></cx-line-clamp>${h(s, () => n`<cx-icon class="cache-usage__warning-icon" name="warning" variant="filled"></cx-icon>`)}</cx-space></cx-tooltip></div>${h(this.assetIndexSyncStatus === "error", () => t)}</div>`;
|
|
1650
1650
|
}
|
|
1651
1651
|
handleConnectionURLInput(t) {
|
|
1652
1652
|
this.validConnectionUrl = !0, this.siteUrl = t.target.value.trim();
|
|
@@ -1654,10 +1654,10 @@ let r = class extends W {
|
|
|
1654
1654
|
X(e) || (this.validConnectionUrl = !1);
|
|
1655
1655
|
}
|
|
1656
1656
|
renderWelcomeView() {
|
|
1657
|
-
return n`<div class="welcome"><div class="welcome__message"><cx-typography variant="h5">${this.localize.term("welcomeToFileOnDemand")}</cx-typography><cx-typography variant="body3">${this.localize.term("enterYourSiteUrlToConnect")}</cx-typography></div><form class="welcome__actions" @submit=${this.connect}><cx-input aria-label=${this.localize.term("connectionURLInput")} class="welcome__input" placeholder="Ex: https://cortex.orangelogic.com/" value=${this.settings.config.siteUrl} @cx-input=${this.handleConnectionURLInput}></cx-input><cx-tooltip class="welcome__connect-button__tooltip" ?disabled=${this.siteUrl.trim() && this.validConnectionUrl} content=${this.siteUrl.trim() ? this.localize.term("pleaseEnterAValidUrl") : this.localize.term("connectionCannotBeEmpty")}><cx-button type="submit" ?loading=${this.isConnecting} variant="primary" class=${
|
|
1657
|
+
return n`<div class="welcome"><div class="welcome__message"><cx-typography variant="h5">${this.localize.term("welcomeToFileOnDemand")}</cx-typography><cx-typography variant="body3">${this.localize.term("enterYourSiteUrlToConnect")}</cx-typography></div><form class="welcome__actions" @submit=${this.connect}><cx-input aria-label=${this.localize.term("connectionURLInput")} class="welcome__input" placeholder="Ex: https://cortex.orangelogic.com/" value=${this.settings.config.siteUrl} @cx-input=${this.handleConnectionURLInput}></cx-input><cx-tooltip class="welcome__connect-button__tooltip" ?disabled=${this.siteUrl.trim() && this.validConnectionUrl} content=${this.siteUrl.trim() ? this.localize.term("pleaseEnterAValidUrl") : this.localize.term("connectionCannotBeEmpty")}><cx-button type="submit" ?loading=${this.isConnecting} variant="primary" class=${C({
|
|
1658
1658
|
"welcome__connect-button": !0,
|
|
1659
1659
|
"welcome__connect-button--disabled": !this.siteUrl.trim() || !this.validConnectionUrl
|
|
1660
|
-
})} ?disabled=${!this.siteUrl.trim() || !this.validConnectionUrl}>${this.localize.term("connect")}</cx-button></cx-tooltip><cx-button type="button" ?loading=${this.isCancellingConnection} variant="text" class=${
|
|
1660
|
+
})} ?disabled=${!this.siteUrl.trim() || !this.validConnectionUrl}>${this.localize.term("connect")}</cx-button></cx-tooltip><cx-button type="button" ?loading=${this.isCancellingConnection} variant="text" class=${C({
|
|
1661
1661
|
"welcome__cancel-connection-button": !0
|
|
1662
1662
|
})} ?disabled=${!this.isConnecting} @click=${this.cancelConnection}>${this.localize.term("cancel")}</cx-button><cx-typography class="error-message" variant="body3">${h(
|
|
1663
1663
|
this.connectError,
|
|
@@ -1672,7 +1672,7 @@ let r = class extends W {
|
|
|
1672
1672
|
return n`<div class="loading-overlay"><cx-spinner></cx-spinner></div>`;
|
|
1673
1673
|
}
|
|
1674
1674
|
render() {
|
|
1675
|
-
return n`<div class=${
|
|
1675
|
+
return n`<div class=${C({
|
|
1676
1676
|
container: !0,
|
|
1677
1677
|
"container--connected": this.connectionEstablished,
|
|
1678
1678
|
"container--user-interaction-blocked": this.userInteractionBlocked
|
|
@@ -5,7 +5,7 @@ import me from "../components/select.js";
|
|
|
5
5
|
import ye from "../components/tag.js";
|
|
6
6
|
import { C as v, a as xe } from "./tree.DeIv5gWv.js";
|
|
7
7
|
import { n as s, C as B } from "./lib-cortex-element.CVMmyPMC.js";
|
|
8
|
-
import { h as L, F as ge, A as be } from "./endpoints.
|
|
8
|
+
import { h as L, F as ge, A as be } from "./endpoints.ASL1clzd.js";
|
|
9
9
|
import { M as P } from "./asset-link-format.QzzboHHE.js";
|
|
10
10
|
import { c as re } from "./component.styles.CRO4Odto.js";
|
|
11
11
|
import { c as N } from "./custom-element.L4WJXn1j.js";
|
|
@@ -811,7 +811,7 @@ h([
|
|
|
811
811
|
y({ attribute: "click-handler-type", reflect: !0, type: String })
|
|
812
812
|
], l.prototype, "clickHandlerType", 2);
|
|
813
813
|
h([
|
|
814
|
-
y({ attribute: "retry-on-error", type: Boolean })
|
|
814
|
+
y({ attribute: "retry-on-error", reflect: !0, type: Boolean })
|
|
815
815
|
], l.prototype, "retryOnError", 2);
|
|
816
816
|
h([
|
|
817
817
|
y({ attribute: "max-retries", type: Number })
|
|
@@ -3,7 +3,7 @@ import "../chunks/button.C6-GrLyD.js";
|
|
|
3
3
|
import "./space.js";
|
|
4
4
|
import "../chunks/typography.DJC_UXgs.js";
|
|
5
5
|
import "../chunks/lib-cortex-element.CVMmyPMC.js";
|
|
6
|
-
import { C as g } from "../chunks/asset-link-format.
|
|
6
|
+
import { C as g } from "../chunks/asset-link-format.Du63EIst.js";
|
|
7
7
|
import "../chunks/component.styles.CRO4Odto.js";
|
|
8
8
|
import "../chunks/asset-link-format.QzzboHHE.js";
|
|
9
9
|
import "../chunks/custom-element.L4WJXn1j.js";
|
|
@@ -20,7 +20,7 @@ import { default as W } from "./details.js";
|
|
|
20
20
|
import { default as Y } from "./diff.js";
|
|
21
21
|
import { C as _ } from "../chunks/dialog.C79Kd2S4.js";
|
|
22
22
|
import { default as oe } from "./divider.js";
|
|
23
|
-
import { C as ae } from "../chunks/document-viewer.
|
|
23
|
+
import { C as ae } from "../chunks/document-viewer.DQXvmHvo.js";
|
|
24
24
|
import { C as xe } from "../chunks/dot-pagination.CoG0XmAq.js";
|
|
25
25
|
import { default as me } from "./dot-status.js";
|
|
26
26
|
import { default as pe } from "./drawer.js";
|
|
@@ -39,7 +39,7 @@ import { f } from "../chunks/icon.DnBh6-56.js";
|
|
|
39
39
|
import { C as Fe } from "../chunks/icon.DnBh6-56.js";
|
|
40
40
|
import { C as Oe } from "../chunks/icon-button.LhIEmHNF.js";
|
|
41
41
|
import { C as Ee } from "../chunks/iframe.c0IPEUiJ.js";
|
|
42
|
-
import { C as Le } from "../chunks/image.
|
|
42
|
+
import { C as Le } from "../chunks/image.B3vsXGrN.js";
|
|
43
43
|
import { default as je } from "./image-comparer.js";
|
|
44
44
|
import { default as Qe } from "./include.js";
|
|
45
45
|
import { C as qe } from "../chunks/input.ClJ4MEsk.js";
|