@orangelogic/design-system 2.140.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.
Files changed (86) hide show
  1. package/library/chunks/{asset-link-format.CoMUMoyK.js → asset-link-format.Du63EIst.js} +240 -216
  2. package/library/chunks/{button.J4LDuhyW.js → button.C6-GrLyD.js} +1 -1
  3. package/library/chunks/{checkbox.Cjcht4xR.js → checkbox.i5dgRvaf.js} +1 -1
  4. package/library/chunks/{color-swatch-group.DedQQk4J.js → color-swatch-group.BqJHjmG5.js} +1011 -975
  5. package/library/chunks/{confirm-popover.DV5q0KyE.js → confirm-popover.CTdjw4Mi.js} +1 -1
  6. package/library/chunks/{document-viewer.NA5cS7qW.js → document-viewer.DQXvmHvo.js} +1266 -1246
  7. package/library/chunks/{dom.acWb8KCK.js → dom.CU_mBy9D.js} +1 -1
  8. package/library/chunks/{endpoints.BlywT4Gl.js → endpoints.ASL1clzd.js} +89 -88
  9. package/library/chunks/{file-on-demand.C3ib6J00.js → file-on-demand.Bve3SdQJ.js} +49 -49
  10. package/library/chunks/{folder-select.BQXuKb-8.js → folder-select.BudMvcEM.js} +5 -5
  11. package/library/chunks/{form.K1XOtu3S.js → form.BSqXLytJ.js} +1 -1
  12. package/library/chunks/{image.u2nQNoZ8.js → image.B3vsXGrN.js} +1 -1
  13. package/library/chunks/{input.DID1aXiO.js → input.ClJ4MEsk.js} +1 -1
  14. package/library/chunks/{pagination.BNU2UmTy.js → pagination.CNeaChqP.js} +2 -2
  15. package/library/chunks/{string.CjJ09HK3.js → string.BmBJ_BLT.js} +38 -34
  16. package/library/chunks/{tab-group.5O3lqvyG.js → tab-group.COQGzlw4.js} +2 -2
  17. package/library/chunks/{tree.CbwFiRJI.js → tree.DeIv5gWv.js} +1 -1
  18. package/library/components/asset-link-format.js +2 -2
  19. package/library/components/atoms.js +8 -8
  20. package/library/components/border-input-group.js +1 -1
  21. package/library/components/button.js +2 -2
  22. package/library/components/checkbox.js +2 -2
  23. package/library/components/color-picker.js +79 -72
  24. package/library/components/color-swatch-group.js +1 -1
  25. package/library/components/confirm-popover.js +2 -2
  26. package/library/components/corner-position-input-group.js +1 -1
  27. package/library/components/diff.js +1 -1
  28. package/library/components/document-viewer.js +2 -2
  29. package/library/components/dropdown.js +1 -1
  30. package/library/components/dynamic-select.js +1 -1
  31. package/library/components/element-clamp.js +1 -1
  32. package/library/components/file-on-demand.js +7 -7
  33. package/library/components/folder-select.js +4 -4
  34. package/library/components/image.js +1 -1
  35. package/library/components/input.js +2 -2
  36. package/library/components/line-clamp.js +37 -31
  37. package/library/components/masonry.js +1 -1
  38. package/library/components/molecules.js +2 -2
  39. package/library/components/organisms.js +3 -3
  40. package/library/components/padding-input-group.js +1 -1
  41. package/library/components/pagination.js +3 -3
  42. package/library/components/radio-group.js +1 -1
  43. package/library/components/range.js +1 -1
  44. package/library/components/select.js +1 -1
  45. package/library/components/shadow-input-group.js +1 -1
  46. package/library/components/share-option-list.js +1 -1
  47. package/library/components/size-input-group.js +1 -1
  48. package/library/components/switch.js +1 -1
  49. package/library/components/tab-group.js +3 -3
  50. package/library/components/textarea.js +1 -1
  51. package/library/components/timecode.js +1 -1
  52. package/library/components/tree-item.js +2 -2
  53. package/library/components/tree.js +1 -1
  54. package/library/components/types.js +13708 -13690
  55. package/library/components/video.js +1 -1
  56. package/library/package.json +1 -1
  57. package/library/packages/atoms/src/components/color-picker/color-picker.d.ts +1 -0
  58. package/library/packages/atoms/src/components/line-clamp/line-clamp.d.ts +6 -0
  59. package/library/packages/events/src/cx-annotator-tool-change.d.ts +11 -0
  60. package/library/packages/events/src/events.d.ts +1 -0
  61. package/library/packages/hybrid/book-reader/src/react/constant.d.ts +2 -0
  62. package/library/packages/hybrid/book-reader/src/react/types.d.ts +2 -2
  63. package/library/packages/hybrid/table-core/src/table/components/table-toolbar/table-toolbar.d.ts +23 -4
  64. package/library/packages/hybrid/table-core/src/table/table.d.ts +17 -1
  65. package/library/packages/molecules/src/annotator/annotator.d.ts +2 -0
  66. package/library/packages/molecules/src/asset-format-picker/asset-format-picker.d.ts +1 -0
  67. package/library/packages/molecules/src/index.d.ts +1 -0
  68. package/library/packages/organisms/src/annotator-comment/annotator-comment.d.ts +2 -0
  69. package/library/packages/organisms/src/asset-transformation-dialog/asset-transformation-dialog.d.ts +2 -1
  70. package/library/packages/organisms/src/content-builder/configs/image.d.ts +1 -0
  71. package/library/packages/organisms/src/content-builder/configs-controller.d.ts +1 -0
  72. package/library/packages/organisms/src/index.d.ts +0 -1
  73. package/library/packages/services/src/api/asset/asset.d.ts +2 -1
  74. package/library/packages/services/src/api/endpoints.d.ts +3 -0
  75. package/library/packages/utils/src/string/string.d.ts +1 -0
  76. package/library/react-web-component.d.ts +55 -47
  77. package/library/utils.js +42 -41
  78. package/package.json +1 -1
  79. /package/library/packages/{organisms → molecules}/src/multi-select/components/board/board.d.ts +0 -0
  80. /package/library/packages/{organisms → molecules}/src/multi-select/components/board/board.styles.d.ts +0 -0
  81. /package/library/packages/{organisms → molecules}/src/multi-select/components/board/board.utils.d.ts +0 -0
  82. /package/library/packages/{organisms → molecules}/src/multi-select/components/board-list-item/board-list-item.d.ts +0 -0
  83. /package/library/packages/{organisms → molecules}/src/multi-select/components/board-list-item/board-list-item.styles.d.ts +0 -0
  84. /package/library/packages/{organisms → molecules}/src/multi-select/multi-select.d.ts +0 -0
  85. /package/library/packages/{organisms → molecules}/src/multi-select/multi-select.styles.d.ts +0 -0
  86. /package/library/packages/{organisms → molecules}/src/multi-select/multi-select.utils.d.ts +0 -0
@@ -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.u2nQNoZ8.js";
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";
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@orangelogic/design-system",
3
3
  "type": "module",
4
- "version": "2.140.0",
4
+ "version": "2.142.0",
5
5
  "license": "UNLICENSED",
6
6
  "types": "library/types.d.ts",
7
7
  "scripts": {
@@ -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;
@@ -33,6 +33,11 @@ export default class CxLineClamp extends CortexElement {
33
33
  * The tooltip to show. When this prop is set, the component will always show a tooltip.
34
34
  */
35
35
  tooltip: string;
36
+ /**
37
+ * Consumer-provided tooltip text, shown only when the content is clamped. Overrides the
38
+ * auto-derived (scraped) text; leave empty ('') to fall back to it.
39
+ */
40
+ clampedTooltip: string;
36
41
  disabledTooltip: boolean;
37
42
  disabledHoverBridge: boolean;
38
43
  /** The flip boundary for the tooltip. */
@@ -81,6 +86,7 @@ export default class CxLineClamp extends CortexElement {
81
86
  isTextClamped(element: Element): boolean;
82
87
  handleResize(): void;
83
88
  toggleShowingMore(): void;
89
+ private get resolvedTooltipContent();
84
90
  render(): TemplateResult<1>;
85
91
  }
86
92
  declare global {
@@ -0,0 +1,11 @@
1
+ import { AnnotatorTool } from '../../types/src/annotator';
2
+
3
+ export type CxAnnotatorToolChangeEvent = CustomEvent<{
4
+ active: boolean;
5
+ tool: AnnotatorTool;
6
+ }>;
7
+ declare global {
8
+ interface GlobalEventHandlersEventMap {
9
+ 'cx-annotator-tool-change': CxAnnotatorToolChangeEvent;
10
+ }
11
+ }
@@ -10,6 +10,7 @@ export * from './cx-after-collapse';
10
10
  export * from './cx-after-expand';
11
11
  export * from './cx-after-hide';
12
12
  export * from './cx-after-show';
13
+ export * from './cx-annotator-tool-change';
13
14
  export * from './cx-asset-data-display-slot-change';
14
15
  export * from './cx-asset-format-picker-select';
15
16
  export * from './cx-asset-picker-delete';
@@ -18,6 +18,7 @@ export declare const IMAGES_LOAD_OFFSET = 15;
18
18
  export declare const MAX_STORED_PAGES = 10;
19
19
  export declare const MAX_CANVAS_SCALE = 2;
20
20
  export declare const MIN_CANVAS_SCALE = 1;
21
+ export declare const MAX_CANVAS_PIXELS: number;
21
22
  export declare const SPECIAL_SCALE_OPTION: {
22
23
  ACTUAL_SIZE: string;
23
24
  PAGE_FIT: string;
@@ -28,6 +29,7 @@ export declare const CORTEX_VIEW_MODE_MAP: {
28
29
  };
29
30
  export declare const DEBOUNCE_TIME = 300;
30
31
  export declare const THROTTLE_TIME = 700;
32
+ export declare const SCALE_RENDER_DEBOUNCE_TIME = 250;
31
33
  export declare const SCALE_OPTIONS: {
32
34
  label: string;
33
35
  value: number;
@@ -113,7 +113,7 @@ export type TextItem = {
113
113
  width: number;
114
114
  };
115
115
  export type PageView = {
116
- imageData?: ImageData | null;
116
+ bitmap?: ImageBitmap | null;
117
117
  isRendering?: boolean;
118
118
  loading: boolean;
119
119
  page: PDFPageProxy | null;
@@ -131,7 +131,7 @@ export type BookContext = {
131
131
  [key: number]: PageView;
132
132
  };
133
133
  requestPDFPageProxy: (pageNumbers: number[]) => void;
134
- requestRenderPDFPage: (pageNumber: number) => Promise<null | ImageData | undefined>;
134
+ requestRenderPDFPage: (pageNumber: number) => Promise<null | ImageBitmap | undefined>;
135
135
  } | null;
136
136
  export declare enum BookReaderMode {
137
137
  IMAGE = "Image",
@@ -25,14 +25,12 @@ import { default as CxTableSavedSearchDropdown } from './table-saved-search-drop
25
25
  * @slot label - Optional label content that replaces the label property fallback.
26
26
  * @slot pagination - Optional pagination content displayed opposite the label.
27
27
  * @slot add-action - Replaces the default add button. When empty the default add button (controlled by `can-add`) is rendered unchanged.
28
- * @slot dialog-dynamic-filter - Filter UI shown beside the toolbar actions and hidden while rows are selected. `cx-table` renders a `cx-faceted-filter` here when facets are available.
28
+ * @slot dialog-dynamic-filter - Filter UI shown beside the toolbar actions and hidden while rows are selected. `cx-table` renders a `cx-faceted-filter` here when facets are available. Set `has-dynamic-filter` when slotting content here directly, so the actions row is rendered to receive it.
29
29
  *
30
30
  * @event {{ value: string }} cx-search - Emitted when the search value is submitted or cleared.
31
31
  * @event cx-table-advanced-search-click - Emitted when the advanced search action is clicked.
32
32
  * @event cx-add - Emitted when the add action is clicked.
33
33
  * @event {{ type: 'csv' | 'xml' | 'custom' | 'report' }} cx-table-export - Emitted when an export action is selected.
34
- *
35
- * @cssproperty [--header-pagination-min-height=var(--cx-input-height-medium)] - Reserved height for the label/pagination row when pagination is enabled.
36
34
  */
37
35
  export default class CxTableToolbar extends CortexElement {
38
36
  static readonly styles: CSSResultGroup;
@@ -155,6 +153,18 @@ export default class CxTableToolbar extends CortexElement {
155
153
  * height when pagination moves between `top-*`/`bottom-*` placements.
156
154
  */
157
155
  pagination: boolean;
156
+ /**
157
+ * When true, an empty header row collapses instead of reserving space.
158
+ * Ignored while the header has a label or a top-placed paginator — real
159
+ * content always keeps the row visible.
160
+ */
161
+ noHeaderRowReserve: boolean;
162
+ /**
163
+ * Set by cx-table when a dynamic (faceted) filter is slotted into
164
+ * `dialog-dynamic-filter`. A reactive property (not slot detection) so the
165
+ * actions row reliably renders when facets load asynchronously.
166
+ */
167
+ hasDynamicFilter: boolean;
158
168
  private renderSelectAll;
159
169
  private handleSearchSubmit;
160
170
  private handleAdvancedSearchClick;
@@ -171,7 +181,16 @@ export default class CxTableToolbar extends CortexElement {
171
181
  private renderGroupByDropdown;
172
182
  private renderExportDropdown;
173
183
  private renderDropdownFilters;
174
- private renderPagination;
184
+ private renderHeaderRow;
185
+ /**
186
+ * Whether the actions row has anything to show. When false the row is not
187
+ * rendered, so its inter-row gap does not add empty space below the header
188
+ * (e.g. a pagination-only table). Driven entirely by reactive properties.
189
+ */
190
+ private get hasHeaderActions();
191
+ /** True when either the default add button or a custom `add-action` slot should render. */
192
+ get hasAddAction(): boolean;
193
+ private renderHeaderActions;
175
194
  render(): import('lit').TemplateResult<1>;
176
195
  }
177
196
  declare global {
@@ -63,7 +63,6 @@ import { CxTableFooter, CxTableRowActions, CxTableToolbar } from './components';
63
63
  * @cssproperty [--table-active-cell-border-color=var(--cx-color-neutral-200)] - The border color of the active/hover range overlay cell outline.
64
64
  * @cssproperty [--table-selected-cell-border-width=1px] - The border width of the active selected cell.
65
65
  * @cssproperty [--table-selected-cell-border-style=solid] - The border style of the active selected cell.
66
- * @cssproperty [--header-pagination-min-height=var(--cx-input-height-medium)] - Reserved height for the toolbar's label/pagination row (`cx-table-toolbar`) when `pagination` is enabled, regardless of `pagination-placement`. Set to `0` to remove the reservation.
67
66
  * @slot add-action - Passed through to `cx-table-toolbar`'s `add-action` slot. Replaces the default add button when provided; when empty the toolbar's default add button (controlled by `can-add`) is rendered unchanged.
68
67
  *
69
68
  * @event {{ args: any[] }} cx-table.[event_name] - Emitted when the event with such name is emitted on the table.
@@ -678,6 +677,14 @@ export default class CxTable extends CortexElement {
678
677
  * Where to place the pagination control relative to the table.
679
678
  */
680
679
  paginationPlacement: PaginationPlacement;
680
+ /**
681
+ * When true, the toolbar does not reserve an empty header row. A label or a
682
+ * top-placed paginator still shows (content always wins) — this only removes
683
+ * the reserved blank space, letting the table sit flush. Useful when the host
684
+ * renders its own header/label outside the table (e.g. a bottom-paginated
685
+ * table).
686
+ */
687
+ noHeaderRowReserve: boolean;
681
688
  /**
682
689
  * The hover menu options.
683
690
  */
@@ -795,6 +802,13 @@ export default class CxTable extends CortexElement {
795
802
  get searchValue(): string;
796
803
  get isBottomPlacement(): boolean;
797
804
  get showPaginationFooter(): boolean;
805
+ /**
806
+ * Whether pagination alone should render the toolbar. A top-placed paginator
807
+ * sits in the toolbar header row, and by default the empty header row is
808
+ * reserved. A bottom paginator lives in the footer, so once that reserve is
809
+ * opted out via `no-header-row-reserve` there is no reason to render it.
810
+ */
811
+ private get paginationNeedsToolbar();
798
812
  /** True when either the default add button or a custom `add-action` slot should render. */
799
813
  get hasAddAction(): boolean;
800
814
  get showTableToolbar(): string | boolean;
@@ -883,6 +897,8 @@ export default class CxTable extends CortexElement {
883
897
  private streamXmlData;
884
898
  private loadFromDataUrl;
885
899
  private handleTabulatorAjaxResponse;
900
+ private renderToolbar;
901
+ private renderPaginationFooter;
886
902
  render(): TemplateResult;
887
903
  }
888
904
  declare global {
@@ -8,6 +8,8 @@ import { default as CxAnnotatorLineWeight } from './components/annotator-line-we
8
8
 
9
9
  /**
10
10
  * @summary CxAnnotator - A component that allows users to annotate a specific element.
11
+ *
12
+ * @event {{ active: boolean; tool: AnnotatorTool }} cx-annotator-tool-change - Fired when a drawing tool is selected (`active: true`) or the active tool icon is clicked again to return to select mode (`active: false`). `tool` is the `AnnotatorTool` value (`arrow-marker`, `line-marker`, `rectangle-marker`, `freehand-marker`).
11
13
  */
12
14
  export default class CxAnnotator extends CortexElement {
13
15
  static readonly styles: CSSResultGroup;
@@ -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;
@@ -25,6 +25,7 @@ export { default as CxGraphView } from './graph-view/graph-view';
25
25
  export { default as CxIconPicker } from './icon-picker/icon-picker';
26
26
  export { default as CxMasonry } from './masonry/masonry';
27
27
  export { default as CxMentions } from './mentions/mentions';
28
+ export { default as CxMultiSelect } from './multi-select/multi-select';
28
29
  export { default as CxPaddingInputGroup } from './padding-input-group/padding-input-group';
29
30
  export { default as CxPageOutline } from './page-outline/page-outline';
30
31
  export { default as CxPdfViewerToolbar } from './pdf-viewer-toolbar/pdf-viewer-toolbar';
@@ -12,6 +12,8 @@ declare global {
12
12
  }
13
13
  /**
14
14
  * @summary CxAnnotatorComment - An extension of the CxComment component that allows users to annotate a specific element.
15
+ *
16
+ * @event {{ active: boolean; tool: AnnotatorTool }} cx-annotator-tool-change - Emitted via the inner `cx-annotator` when a drawing tool is selected (`active: true`) or the active tool icon is clicked again to return to select mode (`active: false`). `tool` is the `AnnotatorTool` value (`arrow-marker`, `line-marker`, `rectangle-marker`, `freehand-marker`). Bubbles and composed.
15
17
  */
16
18
  export default class CxAnnotatorComment extends CxComment {
17
19
  static readonly styles: import('lit').CSSResult[];
@@ -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
- /** Set to false once an access check confirms the asset is not reachable by the current user. */
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"];
@@ -19,7 +19,6 @@ export { default as CxFileOnDemand } from './file-on-demand/file-on-demand';
19
19
  export { default as CxFindAndReplace } from './find-and-replace/find-and-replace';
20
20
  export { default as CxLightbox } from './lightbox/lightbox';
21
21
  export { default as CxListEditor } from './list-editor/list-editor';
22
- export { default as CxMultiSelect } from './multi-select/multi-select';
23
22
  export { default as CxSpecialCharactersDialog } from './special-characters-dialog/special-characters-dialog';
24
23
  export { default as CxTemplateSwitcher } from './template-switcher/template-switcher';
25
24
  export { default as CxTextToSpeech } from './text-to-speech/text-to-speech';
@@ -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
  }
@@ -148,6 +148,7 @@ export declare function reducePathToDirectChild(full: string, base: string): str
148
148
  export declare function formatTimeToSeconds(timeString: string, options?: TimeFormatOptions): number;
149
149
  export declare function extractExtension(filename: string): string | null;
150
150
  export declare function sanitizeHTML(html: string): string;
151
+ export declare function htmlToPlainText(html: string): string;
151
152
  export declare function safeString(value: any): string;
152
153
  export declare function emptyToSpace(value: any): string;
153
154
  export declare function isGalleryItemCardType(value: unknown): value is GalleryItemCardType;