@orangelogic/design-system 2.136.0 → 2.138.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.BBWyY5fn.js → asset-link-format.Cj3Jb2A9.js} +221 -220
- package/library/chunks/{button.3giRMk79.js → button.C8bgBiYj.js} +1 -1
- package/library/chunks/{checkbox.B-2O517F.js → checkbox.Cjcht4xR.js} +18 -18
- package/library/chunks/{color-swatch-group.DC6vIYo4.js → color-swatch-group.CtRKXJDT.js} +15 -7
- package/library/chunks/{color-swatch.g3FPUnxM.js → color-swatch.BPKlNXIX.js} +1 -1
- package/library/chunks/{confirm-popover.DtndPsMa.js → confirm-popover.CgXY2_uO.js} +3 -3
- package/library/chunks/{dialog.BQq3xBeH.js → dialog.Bs7RQgSa.js} +2 -2
- package/library/chunks/{document-viewer.BQPJD2lJ.js → document-viewer.Bs3U0_wd.js} +1738 -1668
- package/library/chunks/{dot-pagination.DBk9Rz1e.js → dot-pagination.t0VzNnjC.js} +1 -1
- package/library/chunks/{endpoints.tU0_RZ_7.js → endpoints.BlywT4Gl.js} +1 -1
- package/library/chunks/{file-on-demand.Bnloo9Ui.js → file-on-demand.BWrBwTOn.js} +9 -9
- package/library/chunks/{folder-select.DuG4dSPm.js → folder-select.CItC06TB.js} +111 -97
- package/library/chunks/{header.Bpjw08j7.js → header.D_TqvPdB.js} +1 -1
- package/library/chunks/{i18n.DJikbkDK.js → i18n.BlLEIqQ0.js} +8 -3
- package/library/chunks/{icon-button.xobY-9OH.js → icon-button.D5sM02Cd.js} +1 -1
- package/library/chunks/{iframe.BkvxcywO.js → iframe.D3PpeqXx.js} +1 -1
- package/library/chunks/{image.KZRXIthe.js → image.qP6cTWCN.js} +3 -2
- package/library/chunks/{input.GUw7x9tK.js → input.B8CV80Da.js} +1 -1
- package/library/chunks/{option.uHye0aDT.js → option.D9SqVdjL.js} +1 -1
- package/library/chunks/{pagination.D8Hzwlan.js → pagination.DAI32_PA.js} +5 -5
- package/library/chunks/{tab-group.0_aOE22R.js → tab-group.e83Yy-jY.js} +3 -3
- package/library/chunks/{tree.C14rLLol.js → tree.D7eyb405.js} +2 -2
- package/library/components/alert.js +2 -2
- package/library/components/asset-link-format.js +3 -3
- package/library/components/atoms.js +14 -14
- package/library/components/audio.js +2 -2
- package/library/components/border-input-group.js +2 -2
- package/library/components/breadcrumb.js +1 -1
- package/library/components/button.js +2 -2
- package/library/components/checkbox.js +1 -1
- package/library/components/color-picker.js +3 -3
- package/library/components/color-swatch-group.js +3 -3
- package/library/components/color-swatch.js +2 -2
- package/library/components/confirm-popover.js +4 -4
- package/library/components/copy-button.js +1 -1
- package/library/components/corner-position-input-group.js +3 -3
- package/library/components/date-calendar.js +1 -1
- package/library/components/details.js +1 -1
- package/library/components/dialog.js +3 -3
- package/library/components/document-viewer.js +3 -3
- package/library/components/dot-pagination.js +2 -2
- package/library/components/drawer.js +2 -2
- package/library/components/dropdown.js +2 -2
- package/library/components/dynamic-select.js +4 -4
- package/library/components/e-chart.js +1 -1
- package/library/components/element-clamp.js +2 -2
- 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 +1 -1
- package/library/components/header.js +2 -2
- package/library/components/icon-button.js +2 -2
- package/library/components/iframe.js +2 -2
- package/library/components/image-comparer.js +1 -1
- package/library/components/image.js +2 -2
- package/library/components/input.js +2 -2
- package/library/components/line-clamp.js +1 -1
- package/library/components/masonry.js +2 -2
- package/library/components/menu-item.js +6 -1
- package/library/components/menu.js +1 -1
- package/library/components/molecules.js +3 -3
- package/library/components/option.js +2 -2
- package/library/components/organisms.js +3 -3
- package/library/components/padding-input-group.js +1 -1
- 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/range.js +1 -1
- package/library/components/rating.js +1 -1
- package/library/components/relative-time.js +1 -1
- package/library/components/select.js +2 -2
- package/library/components/shadow-input-group.js +1 -1
- package/library/components/share-option-list.js +1 -1
- package/library/components/sidebar.js +1 -1
- package/library/components/size-input-group.js +3 -3
- package/library/components/spinner.js +1 -1
- package/library/components/split-panel.js +1 -1
- package/library/components/tab-group.js +4 -4
- package/library/components/tab.js +2 -2
- package/library/components/tag.js +2 -2
- package/library/components/tooltip.js +1 -1
- package/library/components/tree-item.js +3 -3
- package/library/components/tree.js +2 -2
- package/library/components/typeface.js +2 -2
- package/library/components/types.js +21016 -20946
- package/library/components/video.js +2 -2
- package/library/package.json +1 -1
- package/library/packages/molecules/src/asset-format-picker/asset-format-picker.d.ts +11 -0
- package/library/packages/molecules/src/folder-select/components/folder-select-tree/folder-select-tree.d.ts +6 -0
- package/library/packages/molecules/src/folder-select/folder-select.d.ts +5 -0
- package/library/packages/organisms/src/asset-transformation-dialog/asset-transformation-dialog.d.ts +7 -0
- package/library/packages/organisms/src/content-builder/components/config-form/config-form.d.ts +5 -0
- package/library/packages/organisms/src/content-builder/components/config-manager/config-manager.d.ts +5 -0
- package/library/packages/organisms/src/content-builder/components/folder-picker/folder-picker.d.ts +6 -0
- package/library/packages/organisms/src/content-builder/content-builder.d.ts +5 -0
- package/library/packages/organisms/src/content-builder/styleController.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 +1 -0
- package/library/packages/tools/src/attribute-converter/string-array.d.ts +5 -0
- package/library/packages/types/src/content-builder.d.ts +1 -0
- package/library/packages/utils/src/custom-element/i18n.d.ts +5 -0
- package/library/react-web-component.d.ts +12 -0
- package/library/utils.js +1 -1
- package/package.json +1 -1
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { _ as kd, a as Sa, b as Be, c as Je } from "../chunks/inheritsLoose.BuSn_CvZ.js";
|
|
2
2
|
import { c as ps, a as Bn } from "../chunks/_commonjsHelpers.DQNKXVTB.js";
|
|
3
3
|
import { r as Sb } from "../chunks/___vite-browser-external_commonjs-proxy.C2tf3HsQ.js";
|
|
4
|
-
import { C as Cb } from "../chunks/image.
|
|
4
|
+
import { C as Cb } from "../chunks/image.qP6cTWCN.js";
|
|
5
5
|
import Mb from "./resize-observer.js";
|
|
6
6
|
import { r as Db, R as Pb, a as Rp, b as Lb } from "../chunks/resizable-component.styles.CAfXABBc.js";
|
|
7
7
|
import { c as Rb } from "../chunks/component.styles.CRO4Odto.js";
|
|
8
8
|
import { b as Ib } from "../chunks/browser.BHOCIF_A.js";
|
|
9
9
|
import { c as Ob } from "../chunks/custom-element.L4WJXn1j.js";
|
|
10
|
-
import { L as kb } from "../chunks/i18n.
|
|
10
|
+
import { L as kb } from "../chunks/i18n.BlLEIqQ0.js";
|
|
11
11
|
import { w as Ki } from "../chunks/watch.CThbualB.js";
|
|
12
12
|
import { i as Bb, x as Qc } from "../chunks/lit-element.jLBm65_O.js";
|
|
13
13
|
import { n as Ri } from "../chunks/lib-cortex-element.CVMmyPMC.js";
|
package/library/package.json
CHANGED
|
@@ -2,6 +2,7 @@ import { default as CxButton } from '../../../atoms/src/components/button/button
|
|
|
2
2
|
import { default as CxIconButton } from '../../../atoms/src/components/icon-button/icon-button.ts';
|
|
3
3
|
import { default as CxInput } from '../../../atoms/src/components/input/input.ts';
|
|
4
4
|
import { default as CxSpace } from '../../../atoms/src/components/space/space.ts';
|
|
5
|
+
import { default as CxTooltip } from '../../../atoms/src/components/tooltip/tooltip.ts';
|
|
5
6
|
import { default as CxTypography } from '../../../atoms/src/components/typography/typography.ts';
|
|
6
7
|
import { default as CortexElement } from '../../../base/src/cortex-element.ts';
|
|
7
8
|
import { AssetFormatValue } from '../../../types/src/asset-format-picker';
|
|
@@ -22,10 +23,12 @@ export default class CxAssetFormatPicker extends CortexElement {
|
|
|
22
23
|
'cx-icon-button': typeof CxIconButton;
|
|
23
24
|
'cx-input': typeof CxInput;
|
|
24
25
|
'cx-space': typeof CxSpace;
|
|
26
|
+
'cx-tooltip': typeof CxTooltip;
|
|
25
27
|
'cx-typography': typeof CxTypography;
|
|
26
28
|
};
|
|
27
29
|
private readonly localize;
|
|
28
30
|
private apiGetAvailableProxies;
|
|
31
|
+
private apiSearchAssets;
|
|
29
32
|
inputEl?: CxInput;
|
|
30
33
|
/** The currently selected asset format value. */
|
|
31
34
|
value: AssetFormatValue | undefined;
|
|
@@ -33,6 +36,11 @@ export default class CxAssetFormatPicker extends CortexElement {
|
|
|
33
36
|
name: string;
|
|
34
37
|
/** The encrypted asset ID to request formats for. */
|
|
35
38
|
assetId: string;
|
|
39
|
+
/**
|
|
40
|
+
* When true, resolves format labels via the CMS5 Site Builder proxies endpoint, which is gated by
|
|
41
|
+
* the teamspace editor role and returns metadata only — avoiding the link-creation permission wall.
|
|
42
|
+
*/
|
|
43
|
+
isSiteBuilder: boolean;
|
|
36
44
|
/** Whether a value is required. */
|
|
37
45
|
required: boolean;
|
|
38
46
|
/** Disables the picker. */
|
|
@@ -45,6 +53,8 @@ export default class CxAssetFormatPicker extends CortexElement {
|
|
|
45
53
|
* promise that resolves to an `AssetFormatValue` or null when cancelled.
|
|
46
54
|
*/
|
|
47
55
|
onRequestAssetFormat: ((assetId: string, value?: AssetFormatValue) => Promise<AssetFormatValue | null | undefined>) | undefined;
|
|
56
|
+
/** Set to false once an access check confirms the asset is not reachable by the current user. */
|
|
57
|
+
private canAccess;
|
|
48
58
|
private get hasValue();
|
|
49
59
|
private get resolvedLabel();
|
|
50
60
|
private get canReset();
|
|
@@ -52,6 +62,7 @@ export default class CxAssetFormatPicker extends CortexElement {
|
|
|
52
62
|
private handleResetClick;
|
|
53
63
|
handleAssetIdChange(): Promise<void>;
|
|
54
64
|
handleValueChange(): Promise<void>;
|
|
65
|
+
private renderButtonContainer;
|
|
55
66
|
private renderFormatDisplay;
|
|
56
67
|
render(): import('lit').TemplateResult<1>;
|
|
57
68
|
}
|
|
@@ -22,6 +22,12 @@ export default class CxFolderSelectTree extends CortexElement {
|
|
|
22
22
|
token: string;
|
|
23
23
|
bearerToken: string;
|
|
24
24
|
baseUrl: string;
|
|
25
|
+
/**
|
|
26
|
+
* Restricts the tree's top-level roots to these folder ids. When set, the root
|
|
27
|
+
* fetch passes them as `allowedFolders` so the browser only exposes folders
|
|
28
|
+
* under the configured space roots. Empty = browse from the global root.
|
|
29
|
+
*/
|
|
30
|
+
allowedFolders: string[];
|
|
25
31
|
extraFolderId: string;
|
|
26
32
|
extraFolderTitle: string;
|
|
27
33
|
extraFolderIcon: string;
|
|
@@ -28,6 +28,11 @@ export default class CxFolderSelect extends CortexElement {
|
|
|
28
28
|
name: string;
|
|
29
29
|
selectedLabel: string;
|
|
30
30
|
baseUrl: string;
|
|
31
|
+
/**
|
|
32
|
+
* Restricts the browser tree's top-level roots to these folder ids
|
|
33
|
+
* (forwarded to cx-folder-select-tree). Empty = browse from the global root.
|
|
34
|
+
*/
|
|
35
|
+
allowedFolders: string[];
|
|
31
36
|
open: boolean;
|
|
32
37
|
token: string;
|
|
33
38
|
bearerToken: string;
|
package/library/packages/organisms/src/asset-transformation-dialog/asset-transformation-dialog.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ import { default as CxGridItem } from '../../../atoms/src/components/grid-item/g
|
|
|
5
5
|
import { default as CxIconButton } from '../../../atoms/src/components/icon-button/icon-button.ts';
|
|
6
6
|
import { default as CxSpace } from '../../../atoms/src/components/space/space.ts';
|
|
7
7
|
import { default as CxSpinner } from '../../../atoms/src/components/spinner/spinner.ts';
|
|
8
|
+
import { default as CxTooltip } from '../../../atoms/src/components/tooltip/tooltip.ts';
|
|
8
9
|
import { default as CxTypography } from '../../../atoms/src/components/typography/typography.ts';
|
|
9
10
|
import { default as CortexElement } from '../../../base/src/cortex-element.ts';
|
|
10
11
|
import { default as CxCropper } from '../../../molecules/src/cropper/cropper.ts';
|
|
@@ -34,12 +35,14 @@ export default class CxAssetTransformationDialog extends CortexElement {
|
|
|
34
35
|
'cx-icon-button': typeof CxIconButton;
|
|
35
36
|
'cx-space': typeof CxSpace;
|
|
36
37
|
'cx-spinner': typeof CxSpinner;
|
|
38
|
+
'cx-tooltip': typeof CxTooltip;
|
|
37
39
|
'cx-typography': typeof CxTypography;
|
|
38
40
|
};
|
|
39
41
|
private readonly localize;
|
|
40
42
|
private fetchAssetController?;
|
|
41
43
|
private readonly hasSlotController;
|
|
42
44
|
private apiGetAvailableProxies;
|
|
45
|
+
private apiSearchAssets;
|
|
43
46
|
/** Stores the accessible trigger element for focus return and ARIA updates. */
|
|
44
47
|
private accessibleTrigger;
|
|
45
48
|
private readonly triggerSlot;
|
|
@@ -78,8 +81,11 @@ export default class CxAssetTransformationDialog extends CortexElement {
|
|
|
78
81
|
private asset;
|
|
79
82
|
/** Available proxy formats fetched alongside the asset. */
|
|
80
83
|
private proxies;
|
|
84
|
+
/** Set to false once an access check confirms the asset is not reachable by the current user. */
|
|
85
|
+
private canAccess;
|
|
81
86
|
private get hasTransformations();
|
|
82
87
|
handleAssetIdChange(): Promise<void>;
|
|
88
|
+
handleCanAccessChange(): void;
|
|
83
89
|
handleOpenChange(): void;
|
|
84
90
|
/** Syncs disabled state and ARIA attributes on the slotted trigger element.
|
|
85
91
|
* For cx-button/cx-icon-button, ARIA is set on the inner <button> so screen readers
|
|
@@ -100,6 +106,7 @@ export default class CxAssetTransformationDialog extends CortexElement {
|
|
|
100
106
|
private handleSave;
|
|
101
107
|
private handleCancel;
|
|
102
108
|
private handleAssetLinkFormatShow;
|
|
109
|
+
private renderTriggerSlot;
|
|
103
110
|
render(): import('lit').TemplateResult<1>;
|
|
104
111
|
}
|
|
105
112
|
declare global {
|
package/library/packages/organisms/src/content-builder/components/config-form/config-form.d.ts
CHANGED
|
@@ -282,6 +282,11 @@ export default class CxConfigForm extends CortexElement {
|
|
|
282
282
|
dialogTitle: string;
|
|
283
283
|
skipShowCheck: boolean;
|
|
284
284
|
enableAssetFormatControls: boolean;
|
|
285
|
+
/**
|
|
286
|
+
* Root folder ids the folder-picker controls are restricted to (forwarded to
|
|
287
|
+
* cx-folder-picker). Sourced from the space's configured root folders.
|
|
288
|
+
*/
|
|
289
|
+
allowedFolders: string[];
|
|
285
290
|
/**
|
|
286
291
|
* Whether the user is currently editing the template settings.
|
|
287
292
|
* This is used to determine if the user is editing the template name and description.
|
package/library/packages/organisms/src/content-builder/components/config-manager/config-manager.d.ts
CHANGED
|
@@ -61,6 +61,11 @@ export default class CxConfigManager extends CortexElement {
|
|
|
61
61
|
* @default false
|
|
62
62
|
*/
|
|
63
63
|
enableAssetFormatControls: boolean;
|
|
64
|
+
/**
|
|
65
|
+
* Root folder ids the folder-picker controls are restricted to (forwarded to
|
|
66
|
+
* cx-config-form). Sourced from the space's configured root folders.
|
|
67
|
+
*/
|
|
68
|
+
allowedFolders: string[];
|
|
64
69
|
/**
|
|
65
70
|
* A list of properties that are not shown in the configuration manager if mode is EditorMode.Content.
|
|
66
71
|
* @default []
|
package/library/packages/organisms/src/content-builder/components/folder-picker/folder-picker.d.ts
CHANGED
|
@@ -43,6 +43,12 @@ export default class CxFolderPicker extends CortexElement {
|
|
|
43
43
|
* list of selected folder ids and `detail.representativeAssetId` from the first selected folder.
|
|
44
44
|
*/
|
|
45
45
|
multiple: boolean;
|
|
46
|
+
/**
|
|
47
|
+
* Restricts the folder browser to these root folder ids (forwarded to
|
|
48
|
+
* cx-folder-select). Used to scope the picker to the space's configured
|
|
49
|
+
* root folders. Empty = browse from the global root.
|
|
50
|
+
*/
|
|
51
|
+
allowedFolders: string[];
|
|
46
52
|
/**
|
|
47
53
|
* The select's required attribute.
|
|
48
54
|
*/
|
|
@@ -105,6 +105,11 @@ export default class CxContentBuilder extends CortexElement {
|
|
|
105
105
|
* @default false
|
|
106
106
|
*/
|
|
107
107
|
enableAssetFormatControls: boolean;
|
|
108
|
+
/**
|
|
109
|
+
* Root folder ids that the folder-picker controls in the block config are
|
|
110
|
+
* restricted to.
|
|
111
|
+
*/
|
|
112
|
+
allowedFolders: string[];
|
|
108
113
|
/**
|
|
109
114
|
* The default language of the content builder.
|
|
110
115
|
* This is the language that will be used to store the translatable texts.
|
|
@@ -87,6 +87,7 @@ export default class StyleController {
|
|
|
87
87
|
prescribedDocTypes?: import('../../../types/src/download-format-picker').DownloadDocType[];
|
|
88
88
|
};
|
|
89
89
|
folderPickerConfigs?: {
|
|
90
|
+
useAllowedFolders?: boolean;
|
|
90
91
|
useFullPath?: boolean;
|
|
91
92
|
variant?: import('../../../types/src/folder-select').FolderSelectVariant;
|
|
92
93
|
};
|
|
@@ -43,8 +43,9 @@ export declare function apiGetTransformAssetLink({ assetId, extension, format, s
|
|
|
43
43
|
export declare function apiGetAssets({ extraFields, getPermanentAssetsPaths, isSiteBuilder, recordIds, securityByPassToken, token, }: GetAssetsRequest): Promise<GetAssetsResponse>;
|
|
44
44
|
export declare function apiGetAssetsInFolder({ countPerPage, directParentFolderIdentifier, extraFields, getPermanentAssetsPaths, isSiteBuilder, limitedDocTypes, pageNumber, parentFolderIdentifier, searchTerm, securityByPassToken, sortOrder, token, }: GetAssetsInFolderRequest): Promise<GetAssetsInFolderResponse>;
|
|
45
45
|
export declare function apiGetCropFocusMode({ autoCropMode, cropHeight, cropWidth, imageUrl, useSession, }: GetCropZoneSuggestionRequest): Promise<GetCropZoneSuggestionResponse | null>;
|
|
46
|
-
export declare function apiGetAvailableProxies({ assetRecordId, siteUrl, token, useSession, }: {
|
|
46
|
+
export declare function apiGetAvailableProxies({ assetRecordId, isSiteBuilder, siteUrl, token, useSession, }: {
|
|
47
47
|
assetRecordId: string;
|
|
48
|
+
isSiteBuilder?: boolean;
|
|
48
49
|
siteUrl?: string;
|
|
49
50
|
token?: string;
|
|
50
51
|
useSession?: string;
|
|
@@ -38,6 +38,7 @@ export declare enum CHAPTER_API_ENDPOINT {
|
|
|
38
38
|
export declare enum CMS5_API_ENDPOINT {
|
|
39
39
|
BLOCK_TEMPLATE = "webapi/cms/cms5/blocktemplate/418g_v1",
|
|
40
40
|
GET_ADHOC_PROPERTIES = "webapi/cms/cms5/blocktemplate/getadhocpropertieslist_419s_v1",
|
|
41
|
+
GET_AVAILABLE_PROXIES = "webapi/cms/cms5/availableproxies_42YX_v1",
|
|
41
42
|
GET_BLOCK_TEMPLATES = "webapi/cms/cms5/blocktemplate/getblocktemplates_419y_v1",
|
|
42
43
|
GET_BLOCK_TYPES = "webapi/cms/cms5/blocktemplate/getblocktypes_419z_v1",
|
|
43
44
|
GET_CAN_CREATE_BLOCK_TEMPLATE = "webapi/cms/cms5/blocktemplate/cancreatenewblocktemplate_41cs_v1",
|
|
@@ -469,6 +469,7 @@ export interface Translation extends DefaultTranslation {
|
|
|
469
469
|
formatDDMMYYYY: string;
|
|
470
470
|
formats: string;
|
|
471
471
|
forward: string;
|
|
472
|
+
fourPageView: string;
|
|
472
473
|
freehandDrawing: string;
|
|
473
474
|
fromLabel: string;
|
|
474
475
|
fullscreen: string;
|
|
@@ -641,6 +642,7 @@ export interface Translation extends DefaultTranslation {
|
|
|
641
642
|
nextOccurrence: string;
|
|
642
643
|
nextPage: string;
|
|
643
644
|
nextSlide: string;
|
|
645
|
+
noAccessToAsset: string;
|
|
644
646
|
noCardsAddedYet: string;
|
|
645
647
|
noColumnsVisible: string;
|
|
646
648
|
noControls: string;
|
|
@@ -669,6 +671,7 @@ export interface Translation extends DefaultTranslation {
|
|
|
669
671
|
ok: string;
|
|
670
672
|
onHover: string;
|
|
671
673
|
onThisPage: string;
|
|
674
|
+
onePageView: string;
|
|
672
675
|
ongoing: string;
|
|
673
676
|
oopsSomethingWentWrong: string;
|
|
674
677
|
opacity: string;
|
|
@@ -997,6 +1000,7 @@ export interface Translation extends DefaultTranslation {
|
|
|
997
1000
|
trim: string;
|
|
998
1001
|
tuneDisabled: string;
|
|
999
1002
|
turnOnSeeThru: string;
|
|
1003
|
+
twoPageView: string;
|
|
1000
1004
|
txtOnly: string;
|
|
1001
1005
|
type: string;
|
|
1002
1006
|
typeAMessage: string;
|
|
@@ -1046,6 +1050,7 @@ export interface Translation extends DefaultTranslation {
|
|
|
1046
1050
|
viewAndSortElement: string;
|
|
1047
1051
|
viewInAR: string;
|
|
1048
1052
|
viewLogs: string;
|
|
1053
|
+
viewMode: string;
|
|
1049
1054
|
viewOnAsset: string;
|
|
1050
1055
|
viewOptions: string;
|
|
1051
1056
|
viewPageDetails: string;
|
|
@@ -6379,6 +6379,10 @@
|
|
|
6379
6379
|
*
|
|
6380
6380
|
*/
|
|
6381
6381
|
baseUrl?: string;
|
|
6382
|
+
/**
|
|
6383
|
+
* Restricts the browser tree's top-level roots to these folder ids (forwarded to cx-folder-select-tree). Empty = browse from the global root.
|
|
6384
|
+
*/
|
|
6385
|
+
allowedFolders?: string[];
|
|
6382
6386
|
/**
|
|
6383
6387
|
*
|
|
6384
6388
|
*/
|
|
@@ -7279,6 +7283,10 @@
|
|
|
7279
7283
|
* The encrypted asset ID to request formats for.
|
|
7280
7284
|
*/
|
|
7281
7285
|
assetId?: string;
|
|
7286
|
+
/**
|
|
7287
|
+
* When true, resolves format labels via the CMS5 Site Builder proxies endpoint, which is gated by the teamspace editor role and returns metadata only — avoiding the link-creation permission wall.
|
|
7288
|
+
*/
|
|
7289
|
+
isSiteBuilder?: boolean;
|
|
7282
7290
|
/**
|
|
7283
7291
|
* Whether a value is required.
|
|
7284
7292
|
*/
|
|
@@ -9501,6 +9509,10 @@
|
|
|
9501
9509
|
* Whether to expose the asset format / transformation / download-format / asset-format-picker controls in the per-block config sidebar for image, video, gallery, carousel, and timeline blocks. <br/>@default false
|
|
9502
9510
|
*/
|
|
9503
9511
|
enableAssetFormatControls?: boolean;
|
|
9512
|
+
/**
|
|
9513
|
+
* Root folder ids that the folder-picker controls in the block config are restricted to.
|
|
9514
|
+
*/
|
|
9515
|
+
allowedFolders?: string[];
|
|
9504
9516
|
/**
|
|
9505
9517
|
* The default language of the content builder. This is the language that will be used to store the translatable texts.
|
|
9506
9518
|
*/
|
package/library/utils.js
CHANGED
|
@@ -12,7 +12,7 @@ import { d as Fe } from "./chunks/default-value.COZopaet.js";
|
|
|
12
12
|
import { d as be } from "./chunks/drag.DXEXVXPv.js";
|
|
13
13
|
import { f as O } from "./chunks/form.K1XOtu3S.js";
|
|
14
14
|
import { F as ke, c as Ve, g as Oe, v as Ye, a as Ue } from "./chunks/form.K1XOtu3S.js";
|
|
15
|
-
import { L as Pe, r as _e } from "./chunks/i18n.
|
|
15
|
+
import { L as Pe, r as _e } from "./chunks/i18n.BlLEIqQ0.js";
|
|
16
16
|
import { c as Xe, q as Be } from "./chunks/math.DuKzLacZ.js";
|
|
17
17
|
import { g as Ge, l as $e, s as ze, u as qe } from "./chunks/scroll.xtO5yojm.js";
|
|
18
18
|
import { j as x } from "./chunks/dom.acWb8KCK.js";
|