@orangelogic/design-system 4.9.0 → 4.11.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/{color-swatch-group.NkrEGUbN.js → color-swatch-group.DrtI1ZzP.js} +1 -1
- package/library/chunks/{document-viewer.iu_c5JvE.js → document-viewer.4cyGVPa9.js} +1 -1
- package/library/chunks/{header.BHwN2xMS.js → header.aJgy-4Iw.js} +1 -1
- package/library/chunks/{index.BiyfXTj7.js → index.ComzsS1W.js} +3 -3
- package/library/chunks/{menu-item.Js1qz9h2.js → menu-item.BS4PnQK8.js} +1 -1
- package/library/chunks/{tab-group.BAZBrIdM.js → tab-group.HkalH7hh.js} +1 -1
- package/library/chunks/{types.CNqFN3XH.js → types.CED5gcC0.js} +12714 -12668
- package/library/components/atoms.js +4 -4
- package/library/components/color-picker.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/header.js +1 -1
- package/library/components/menu-item.js +1 -1
- package/library/components/menu.js +1 -1
- package/library/components/organisms.js +1 -1
- package/library/components/popup.js +864 -887
- package/library/components/tab-group.js +2 -2
- package/library/components/types.js +6 -6
- package/library/components/video.js +1 -0
- package/library/package.json +1 -1
- package/library/packages/organisms/src/content-builder-viewer/content-builder-viewer.d.ts +13 -0
- package/library/packages/organisms/src/downloader/data/core/worker/app/DownloadManager.d.ts +1 -0
- package/library/packages/services/src/api/asset/asset.d.ts +1 -0
- package/library/packages/types/src/content-builder.d.ts +2 -0
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./resize-observer.js";
|
|
2
2
|
import "../chunks/lib-cortex-element.CVMmyPMC.js";
|
|
3
3
|
import "../chunks/component.styles.CAS3c9pM.js";
|
|
4
|
-
import { C as A } from "../chunks/tab-group.
|
|
4
|
+
import { C as A } from "../chunks/tab-group.HkalH7hh.js";
|
|
5
5
|
import "../chunks/custom-element.L4WJXn1j.js";
|
|
6
6
|
import "../chunks/i18n.D5L6xAYT.js";
|
|
7
7
|
import "../chunks/scroll.xtO5yojm.js";
|
|
@@ -22,7 +22,7 @@ import "../chunks/button.rJFwhUxT.js";
|
|
|
22
22
|
import "./dropdown.js";
|
|
23
23
|
import "../chunks/icon-button.BXs29IQE.js";
|
|
24
24
|
import "./menu.js";
|
|
25
|
-
import "../chunks/menu-item.
|
|
25
|
+
import "../chunks/menu-item.BS4PnQK8.js";
|
|
26
26
|
import "./tab.js";
|
|
27
27
|
export {
|
|
28
28
|
A as default
|
|
@@ -20,7 +20,7 @@ import { default as k } from "./details.js";
|
|
|
20
20
|
import { default as N } from "./diff.js";
|
|
21
21
|
import { C as U } from "../chunks/dialog.C2q9XwLW.js";
|
|
22
22
|
import { default as X } from "./divider.js";
|
|
23
|
-
import { C as K } from "../chunks/document-viewer.
|
|
23
|
+
import { C as K } from "../chunks/document-viewer.4cyGVPa9.js";
|
|
24
24
|
import { C as q } from "../chunks/dot-pagination.BclVUAf7.js";
|
|
25
25
|
import { default as J } from "./dot-status.js";
|
|
26
26
|
import { default as Z } from "./drawer.js";
|
|
@@ -33,7 +33,7 @@ import { default as na } from "./format-number.js";
|
|
|
33
33
|
import { default as fa } from "./format-time.js";
|
|
34
34
|
import { default as da } from "./grid.js";
|
|
35
35
|
import { default as ca } from "./grid-item.js";
|
|
36
|
-
import { C as Ta } from "../chunks/header.
|
|
36
|
+
import { C as Ta } from "../chunks/header.aJgy-4Iw.js";
|
|
37
37
|
import { C as Sa } from "../chunks/hub-connection.BtevPWYb.js";
|
|
38
38
|
import { C as Da } from "../chunks/icon.BLXWp6CU.js";
|
|
39
39
|
import { C as Fa } from "../chunks/icon-button.BXs29IQE.js";
|
|
@@ -46,7 +46,7 @@ import { default as _a } from "./input-group.js";
|
|
|
46
46
|
import { default as ka } from "./line-clamp.js";
|
|
47
47
|
import { C as Na } from "../chunks/markdown.Dh6DSJjb.js";
|
|
48
48
|
import { default as Ua } from "./menu.js";
|
|
49
|
-
import { C as Xa } from "../chunks/menu-item.
|
|
49
|
+
import { C as Xa } from "../chunks/menu-item.BS4PnQK8.js";
|
|
50
50
|
import { default as Ka } from "./menu-label.js";
|
|
51
51
|
import { default as qa } from "./menu-section.js";
|
|
52
52
|
import { default as Ja } from "./mutation-observer.js";
|
|
@@ -73,7 +73,7 @@ import { default as _e } from "./step.js";
|
|
|
73
73
|
import { default as ke } from "./stepper.js";
|
|
74
74
|
import { default as Ne } from "./switch.js";
|
|
75
75
|
import { default as Ue } from "./tab.js";
|
|
76
|
-
import { C as Xe } from "../chunks/tab-group.
|
|
76
|
+
import { C as Xe } from "../chunks/tab-group.HkalH7hh.js";
|
|
77
77
|
import { default as Ke } from "./tab-panel.js";
|
|
78
78
|
import { default as qe } from "./tag.js";
|
|
79
79
|
import { default as Je } from "./textarea.js";
|
|
@@ -86,7 +86,7 @@ import { default as mt } from "./visually-hidden.js";
|
|
|
86
86
|
import { fontAwesomeIconNames as pt, getAnimationNames as ft, getEasingNames as Ct } from "./atoms.js";
|
|
87
87
|
import { c as ut } from "../chunks/component.styles.CAS3c9pM.js";
|
|
88
88
|
import { g as gt, a as Tt, s as At } from "../chunks/animation-registry.HmpwNuGH.js";
|
|
89
|
-
import { u as It, v as Dt, V as bt, w as Ft, o as yt, n as Pt, m as Et, Y as ht, Z as Rt, _ as Ot, a0 as Lt, $ as vt, a1 as Bt, a2 as Vt, a3 as Mt, a4 as _t, a5 as Gt, k as kt, W as wt, x as Nt, X as Ht, y as Ut, z as zt, A as Xt, j as Wt, a6 as Kt, B as jt, D as qt, E as Yt, G as Jt, a7 as Qt, h as Zt, H as $t, J as ao, f as eo, S as to, T as oo, a8 as ro, e as so, K as xo, L as io, M as lo, N as mo, P as no, a9 as po, aa as fo, Q as Co, R as uo, ab as co, ac as go, b as To, U as Ao, ad as So, ae as Io } from "../chunks/types.
|
|
89
|
+
import { u as It, v as Dt, V as bt, w as Ft, o as yt, n as Pt, m as Et, Y as ht, Z as Rt, _ as Ot, a0 as Lt, $ as vt, a1 as Bt, a2 as Vt, a3 as Mt, a4 as _t, a5 as Gt, k as kt, W as wt, x as Nt, X as Ht, y as Ut, z as zt, A as Xt, j as Wt, a6 as Kt, B as jt, D as qt, E as Yt, G as Jt, a7 as Qt, h as Zt, H as $t, J as ao, f as eo, S as to, T as oo, a8 as ro, e as so, K as xo, L as io, M as lo, N as mo, P as no, a9 as po, aa as fo, Q as Co, R as uo, ab as co, ac as go, b as To, U as Ao, ad as So, ae as Io } from "../chunks/types.CED5gcC0.js";
|
|
90
90
|
import { default as bo } from "./bicolor-picker.js";
|
|
91
91
|
import { default as yo } from "./border-input-group.js";
|
|
92
92
|
import { default as Eo } from "./color-swatch.js";
|
|
@@ -94,7 +94,7 @@ import { C as Ro } from "../chunks/confirm-popover.B287gNRq.js";
|
|
|
94
94
|
import { default as Lo } from "./corner-position-input-group.js";
|
|
95
95
|
import { default as Bo } from "./cropper.js";
|
|
96
96
|
import { default as Mo } from "./dynamic-select.js";
|
|
97
|
-
import { C as Go, i as ko, j as wo } from "../chunks/color-swatch-group.
|
|
97
|
+
import { C as Go, i as ko, j as wo } from "../chunks/color-swatch-group.DrtI1ZzP.js";
|
|
98
98
|
import { C as Ho } from "../chunks/folder-select.CdCc7oLi.js";
|
|
99
99
|
import { default as zo } from "./masonry.js";
|
|
100
100
|
import { default as Wo } from "./padding-input-group.js";
|
|
@@ -47080,6 +47080,7 @@ let vt = class extends Lb {
|
|
|
47080
47080
|
fill: !0,
|
|
47081
47081
|
inactivityTimeout: Q3,
|
|
47082
47082
|
loop: this.loop,
|
|
47083
|
+
playsinline: !0,
|
|
47083
47084
|
poster: t.poster,
|
|
47084
47085
|
responsive: !0,
|
|
47085
47086
|
retryOnError: !0,
|
package/library/package.json
CHANGED
|
@@ -31,7 +31,10 @@ export default class CxContentBuilderViewer extends CortexLightElement {
|
|
|
31
31
|
private readonly processedFetchableBlocks;
|
|
32
32
|
/** Blocks already populated by a previous space-list scan; skipped on re-scans. */
|
|
33
33
|
private readonly processedSpaceListBlocks;
|
|
34
|
+
/** Blocks already populated by a previous page-list scan; skipped on re-scans. */
|
|
35
|
+
private readonly processedPageListBlocks;
|
|
34
36
|
private apiGetTeamSpaceSpaceList;
|
|
37
|
+
private apiGetAllPagesAndLinks;
|
|
35
38
|
constructor();
|
|
36
39
|
createRenderRoot(): this;
|
|
37
40
|
connectedCallback(): void;
|
|
@@ -68,6 +71,16 @@ export default class CxContentBuilderViewer extends CortexLightElement {
|
|
|
68
71
|
private fetchSpaceList;
|
|
69
72
|
private collectPendingSpaceListBlocks;
|
|
70
73
|
private applySpaceList;
|
|
74
|
+
private scanAndFetchPageList;
|
|
75
|
+
/**
|
|
76
|
+
* One request per element, shared by every scan — same reasoning as the space list.
|
|
77
|
+
*
|
|
78
|
+
* Neither an empty result nor a failure is retained, so it is retried on the next scan
|
|
79
|
+
* instead of leaving every page card blank for the session.
|
|
80
|
+
*/
|
|
81
|
+
private fetchPageList;
|
|
82
|
+
private collectPendingPageListBlocks;
|
|
83
|
+
private applyPageList;
|
|
71
84
|
}
|
|
72
85
|
declare global {
|
|
73
86
|
interface HTMLElementTagNameMap {
|
|
@@ -79,6 +79,7 @@ export declare class DownloadManager implements IDownloadManager {
|
|
|
79
79
|
private backgroundJobs;
|
|
80
80
|
private backgroundJobsStartTimeouts;
|
|
81
81
|
private rocketModeEnabled;
|
|
82
|
+
private databaseDiscarded;
|
|
82
83
|
constructor(context: DownloadContext, downloadDatabase: DownloadDatabase, downloadTransactionsRepo: IDownloadTransactionsRepository, downloadFilesRepo: IDownloadFilesRepository, downloadChunksRepo: IDownloadChunksRepository, downloadApiClient: IDownloadApiClient, storage: IStorage, eventHub: IEventHub, logger: ILogger, retrier: IRetrier, locker: ILocker);
|
|
83
84
|
handleCookiesRejected(): void;
|
|
84
85
|
private setupBackgroundJobs;
|
|
@@ -2,6 +2,7 @@ import { GetAllFormatCodesResponse, GetAssetsInFolderRequest, GetAssetsInFolderR
|
|
|
2
2
|
|
|
3
3
|
export declare const FIELD_DOC_TYPE = "CoreField.DocType";
|
|
4
4
|
export declare const FIELD_DOC_TITLE = "Document.Title";
|
|
5
|
+
export declare const FIELD_DOC_CAPTION_LONG = "Document.CaptionLong";
|
|
5
6
|
export declare const FIELD_EXTENSION = "Document.FileExtension";
|
|
6
7
|
export declare const FIELD_FILE_SIZE = "CoreField.FileSize";
|
|
7
8
|
export declare const FIELD_IDENTIFIER = "CoreField.Identifier";
|
|
@@ -382,6 +382,7 @@ export declare enum DialogType {
|
|
|
382
382
|
Gallery = "gallery"
|
|
383
383
|
}
|
|
384
384
|
export type Page = {
|
|
385
|
+
description: string;
|
|
385
386
|
hasChildren: boolean;
|
|
386
387
|
id: string;
|
|
387
388
|
title: string;
|
|
@@ -389,6 +390,7 @@ export type Page = {
|
|
|
389
390
|
url: string | null;
|
|
390
391
|
};
|
|
391
392
|
export type Link = {
|
|
393
|
+
description: string;
|
|
392
394
|
hasChildren: boolean;
|
|
393
395
|
id: string;
|
|
394
396
|
title: string;
|