@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
|
@@ -1,7 +1,7 @@
|
|
|
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.B3vsXGrN.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";
|
package/library/package.json
CHANGED
|
@@ -67,6 +67,7 @@ import { default as CxVisuallyHidden } from '../visually-hidden/visually-hidden'
|
|
|
67
67
|
* @cssproperty --control-caret-color - The color of button variant's control's caret.
|
|
68
68
|
*/
|
|
69
69
|
export default class CxColorPicker extends CortexElement implements CortexFormControl {
|
|
70
|
+
#private;
|
|
70
71
|
static readonly styles: CSSResultGroup;
|
|
71
72
|
static readonly dependencies: {
|
|
72
73
|
'cx-button': typeof CxButton;
|
|
@@ -27,6 +27,7 @@ export default class CxAssetFormatPicker extends CortexElement {
|
|
|
27
27
|
'cx-typography': typeof CxTypography;
|
|
28
28
|
};
|
|
29
29
|
private readonly localize;
|
|
30
|
+
private apiGetAuthorizedObjects;
|
|
30
31
|
private apiGetAvailableProxies;
|
|
31
32
|
private apiSearchAssets;
|
|
32
33
|
inputEl?: CxInput;
|
package/library/packages/organisms/src/asset-transformation-dialog/asset-transformation-dialog.d.ts
CHANGED
|
@@ -41,6 +41,7 @@ export default class CxAssetTransformationDialog extends CortexElement {
|
|
|
41
41
|
private readonly localize;
|
|
42
42
|
private fetchAssetController?;
|
|
43
43
|
private readonly hasSlotController;
|
|
44
|
+
private apiGetAuthorizedObjects;
|
|
44
45
|
private apiGetAvailableProxies;
|
|
45
46
|
private apiSearchAssets;
|
|
46
47
|
/** Stores the accessible trigger element for focus return and ARIA updates. */
|
|
@@ -81,7 +82,7 @@ export default class CxAssetTransformationDialog extends CortexElement {
|
|
|
81
82
|
private asset;
|
|
82
83
|
/** Available proxy formats fetched alongside the asset. */
|
|
83
84
|
private proxies;
|
|
84
|
-
/**
|
|
85
|
+
/** False while the authorization check is in flight or after it confirms no access. */
|
|
85
86
|
private canAccess;
|
|
86
87
|
private get hasTransformations();
|
|
87
88
|
handleAssetIdChange(): Promise<void>;
|
|
@@ -37,6 +37,7 @@ type Attribute = {
|
|
|
37
37
|
'page-url'?: CxImage['pageUrl'];
|
|
38
38
|
'record-id'?: CxImage['recordId'];
|
|
39
39
|
'record-id-dark-mode'?: CxImage['recordIdDarkMode'];
|
|
40
|
+
'retry-on-error'?: CxImage['retryOnError'];
|
|
40
41
|
'share-id'?: CxImage['shareId'];
|
|
41
42
|
'share-name'?: CxImage['shareName'];
|
|
42
43
|
'share-src'?: CxImage['shareSrc'];
|
|
@@ -268,6 +268,7 @@ export default class ConfigsController {
|
|
|
268
268
|
'page-url'?: import('./blocks/image/image').default["pageUrl"];
|
|
269
269
|
'record-id'?: import('./blocks/image/image').default["recordId"];
|
|
270
270
|
'record-id-dark-mode'?: import('./blocks/image/image').default["recordIdDarkMode"];
|
|
271
|
+
'retry-on-error'?: import('./blocks/image/image').default["retryOnError"];
|
|
271
272
|
'share-id'?: import('./blocks/image/image').default["shareId"];
|
|
272
273
|
'share-name'?: import('./blocks/image/image').default["shareName"];
|
|
273
274
|
'share-src'?: import('./blocks/image/image').default["shareSrc"];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { GetAllFormatCodesResponse, GetAssetsInFolderRequest, GetAssetsInFolderResponse, GetAssetsRequest, GetAssetsResponse, GetAvailableProxiesResponse, GetCropZoneSuggestionRequest, GetCropZoneSuggestionResponse, GetTransformAssetLinkResponse, SearchAssetsParams, SearchAssetsResponse } from './asset.types';
|
|
1
|
+
import { GetAllFormatCodesResponse, GetAssetsInFolderRequest, GetAssetsInFolderResponse, GetAssetsRequest, GetAssetsResponse, GetAuthorizedObjectsRequest, GetAuthorizedObjectsResponse, GetAvailableProxiesResponse, GetCropZoneSuggestionRequest, GetCropZoneSuggestionResponse, GetTransformAssetLinkResponse, SearchAssetsParams, SearchAssetsResponse } from './asset.types';
|
|
2
2
|
|
|
3
3
|
export declare const DEFAULT_VIEW_SIZE = "CoreField.LargeSizePreview";
|
|
4
4
|
export declare const FIELD_CORTEX_PATH = "Document.CortexPath";
|
|
@@ -74,3 +74,4 @@ export declare function apiGetImagePasteFolder({ baseUri, documentRecordID, }: {
|
|
|
74
74
|
baseUri?: string;
|
|
75
75
|
documentRecordID?: string;
|
|
76
76
|
}): Promise<string>;
|
|
77
|
+
export declare function apiGetAuthorizedObjects({ recordIds, rightsToCheck, }: GetAuthorizedObjectsRequest): Promise<GetAuthorizedObjectsResponse>;
|
|
@@ -57,6 +57,9 @@ export declare enum CMS5_API_ENDPOINT {
|
|
|
57
57
|
LIST_BLOCK_TEMPLATES = "webapi/cms/cms5/blocktemplate/getlisttemplates_428o_v1",
|
|
58
58
|
SEARCH_ASSETS = "webapi/cms/cms5/search_42QJ_v1"
|
|
59
59
|
}
|
|
60
|
+
export declare enum AUTHORIZATION_API_ENDPOINT {
|
|
61
|
+
GET_AUTHORIZED_OBJECTS = "webapi/objectmanagement/authorization/getauthorizedobjects_44H_v1"
|
|
62
|
+
}
|
|
60
63
|
export declare enum PARAMETER_API_ENDPOINT {
|
|
61
64
|
GET_PARAMETER_VALUES = "webapi/configuration/parameters/get_45F_v1"
|
|
62
65
|
}
|