@orangelogic/orange-dam-content-browser-sdk 2.2.3-41YQXP-beta-2 → 2.2.3-41YQXP-beta-3
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/build/{src/App.d.ts → App.d.ts} +3 -12
- package/build/OrangeDAMContentBrowserSDK.min.css +1 -2
- package/build/OrangeDAMContentBrowserSDK.min.js +9870 -10160
- package/build/api/api.d.ts +2 -0
- package/build/api/asset/asset.d.ts +53 -0
- package/build/api/asset/asset.types.d.ts +104 -0
- package/build/api/asset/asset.utils.d.ts +5 -0
- package/build/api/asset/index.d.ts +1 -0
- package/build/api/auth/auth.d.ts +2 -0
- package/build/api/auth/index.d.ts +1 -0
- package/build/api/endpoints.d.ts +21 -0
- package/build/api/folder/folder.d.ts +22 -0
- package/build/api/folder/folder.types.d.ts +17 -0
- package/build/api/folder/index.d.ts +1 -0
- package/build/api/metadata/index.d.ts +1 -0
- package/build/api/metadata/metadata.d.ts +4 -0
- package/build/api/metadata/metadata.types.d.ts +20 -0
- package/build/base/element.d.ts +39 -0
- package/build/components/content-browser/content-browser.d.ts +114 -0
- package/build/components/content-browser/content-browser.styles.d.ts +2 -0
- package/build/components/content-browser-asset-card/content-browser-asset-card.d.ts +49 -0
- package/build/components/content-browser-asset-card/content-browser-asset-card.styles.d.ts +2 -0
- package/build/components/content-browser-asset-preview/content-browser-asset-preview-video/content-browser-asset-preview-video.d.ts +36 -0
- package/build/components/content-browser-asset-preview/content-browser-asset-preview.d.ts +38 -0
- package/build/components/content-browser-asset-preview/content-browser-asset-preview.styles.d.ts +2 -0
- package/build/components/content-browser-asset-proxy-selector/content-browser-asset-proxy-selector.d.ts +54 -0
- package/build/components/content-browser-asset-proxy-selector/content-browser-asset-proxy-selector.styles.d.ts +2 -0
- package/build/components/content-browser-asset-tracking-parameters/content-browser-asset-tracking-parameters.d.ts +39 -0
- package/build/components/content-browser-asset-tracking-parameters/content-browser-asset-tracking-parameters.styles.d.ts +2 -0
- package/build/components/content-browser-asset-version-history/content-browser-asset-version-history.d.ts +35 -0
- package/build/components/content-browser-asset-version-history/content-browser-asset-version-history.styles.d.ts +2 -0
- package/build/components/content-browser-browser/content-browser-browser.d.ts +68 -0
- package/build/components/content-browser-browser/content-browser-browser.styles.d.ts +2 -0
- package/build/components/content-browser-control-bar/content-browser-control-bar.d.ts +71 -0
- package/build/components/content-browser-control-bar/content-browser-control-bar.styles.d.ts +2 -0
- package/build/components/content-browser-control-filter/content-browser-control-filter.d.ts +80 -0
- package/build/components/content-browser-control-filter/content-browser-control-filter.styles.d.ts +2 -0
- package/build/components/content-browser-control-filter-facet/content-browser-control-filter-facet.d.ts +45 -0
- package/build/components/content-browser-control-sort/content-browser-control-sort.d.ts +64 -0
- package/build/components/content-browser-control-sort/content-browser-control-sort.styles.d.ts +2 -0
- package/build/components/content-browser-control-view/content-browser-control-view.d.ts +59 -0
- package/build/components/content-browser-control-view/content-browser-control-view.styles.d.ts +2 -0
- package/build/components/content-browser-format-dialog/content-browser-format-dialog.d.ts +146 -0
- package/build/components/content-browser-format-dialog/content-browser-format-dialog.styles.d.ts +2 -0
- package/build/components/content-browser-grid/content-browser-grid.d.ts +52 -0
- package/build/components/content-browser-grid/content-browser-grid.styles.d.ts +2 -0
- package/build/components/content-browser-header/content-browser-header.d.ts +65 -0
- package/build/components/content-browser-header/content-browser-header.styles.d.ts +2 -0
- package/build/components/content-browser-loader/content-browser-loader.d.ts +25 -0
- package/build/components/content-browser-loader/content-browser-loader.styles.d.ts +2 -0
- package/build/components/content-browser-loader/index.d.ts +1 -0
- package/build/components/content-browser-no-result/content-browser-no-result.d.ts +18 -0
- package/build/components/content-browser-no-result/content-browser-no-result.styles.d.ts +2 -0
- package/build/components/content-browser-no-result/index.d.ts +1 -0
- package/build/content-browser.d.ts +7 -0
- package/build/content-browser.mjs +14640 -0
- package/build/events/cx-content-browser-asset-card-click.d.ts +8 -0
- package/build/events/cx-content-browser-asset-tracking-parameters-change.d.ts +9 -0
- package/build/events/cx-content-browser-control-bar-search-change.d.ts +8 -0
- package/build/events/cx-content-browser-control-filter-change.d.ts +8 -0
- package/build/events/cx-content-browser-control-sort-order-change.d.ts +9 -0
- package/build/events/cx-content-browser-control-view-change.d.ts +10 -0
- package/build/events/cx-content-browser-favorite-change.d.ts +13 -0
- package/build/events/cx-content-browser-format-dialog-favorite-change.d.ts +9 -0
- package/build/events/cx-content-browser-format-dialog-format-confirm.d.ts +16 -0
- package/build/events/cx-content-browser-format-dialog-proxy-confirm.d.ts +7 -0
- package/build/events/cx-content-browser-format-dialog-version-history-open.d.ts +8 -0
- package/build/events/cx-content-browser-grid-click.d.ts +12 -0
- package/build/events/cx-content-browser-grid-resize.d.ts +9 -0
- package/build/events/cx-content-browser-request-change.d.ts +11 -0
- package/build/events/cx-content-browser-selected-asset.d.ts +6 -0
- package/build/events/index.d.ts +15 -0
- package/build/index-umd.d.ts +6 -0
- package/build/index.css +1 -0
- package/build/{src/index.d.ts → index.d.ts} +3 -2
- package/build/index.html +122 -1
- package/build/index.mjs +32623 -0
- package/build/{src/store → store}/auth/auth.service.d.ts +1 -1
- package/build/store/auth/auth.slice.d.ts +148 -0
- package/build/store/index.d.ts +14 -0
- package/build/styles/component.styles.d.ts +2 -0
- package/build/tools/fetch-and-merge-assets.d.ts +109 -0
- package/build/types/asset.d.ts +95 -0
- package/build/{src/types → types}/auth.d.ts +7 -0
- package/build/types/base.d.ts +4 -0
- package/build/types/content-browser.d.ts +119 -0
- package/build/types/folder.d.ts +35 -0
- package/build/{src/types → types}/search.d.ts +1 -1
- package/build/utils/number.d.ts +1 -0
- package/build/{src/utils → utils}/storage.d.ts +1 -1
- package/build/{src/utils → utils}/string.d.ts +2 -1
- package/build/utils/watch.d.ts +27 -0
- package/build/{src/view → view}/AssetsPicker.d.ts +3 -1
- package/package.json +49 -119
- package/build/OrangeDAMContentBrowserSDK.min.css.map +0 -1
- package/build/OrangeDAMContentBrowserSDK.min.js.map +0 -1
- package/build/asset-manifest.json +0 -13
- package/build/cypress/support/commands.d.ts +0 -0
- package/build/cypress/support/component.d.ts +0 -12
- package/build/cypress/support/e2e.d.ts +0 -2
- package/build/src/components/Loader/Loader.cy.d.ts +0 -1
- package/build/src/components/Loader/Loader.d.ts +0 -8
- package/build/src/components/Loader/index.d.ts +0 -1
- package/build/src/components/NoResult/NoResult.cy.d.ts +0 -1
- package/build/src/components/NoResult/NoResult.d.ts +0 -7
- package/build/src/components/NoResult/index.d.ts +0 -1
- package/build/src/page/Authenticate/Authenticate.cy.d.ts +0 -1
- package/build/src/setupTests.d.ts +0 -1
- package/build/src/store/auth/auth.slice.d.ts +0 -76
- package/build/src/store/index.d.ts +0 -12
- package/build/src/utils/utils.cy.d.ts +0 -1
- /package/build/{src/AppContext.d.ts → AppContext.d.ts} +0 -0
- /package/build/{src/GlobalConfigContext.d.ts → GlobalConfigContext.d.ts} +0 -0
- /package/build/{src/consts → consts}/auth.d.ts +0 -0
- /package/build/{src/page → page}/Authenticate/Authenticate.d.ts +0 -0
- /package/build/{src/page → page}/Authenticate/ConnectingBackground.d.ts +0 -0
- /package/build/{src/page → page}/Authenticate/index.d.ts +0 -0
- /package/build/{src/types → types}/storage.d.ts +0 -0
- /package/build/{src/utils → utils}/api.d.ts +0 -0
- /package/build/{src/utils → utils}/constants.d.ts +0 -0
- /package/build/{src/utils → utils}/function.d.ts +0 -0
- /package/build/{src/utils → utils}/getRequestUrl.d.ts +0 -0
- /package/build/{src/utils → utils}/hooks.d.ts +0 -0
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { GetAssetsRequest } from '../../types/asset';
|
|
2
|
+
import { GetAssetLinkResponse, GetAssetLinksRequest, GetAssetsByIDsRequest, GetAssetsByIDsResponse, GetAssetsResponse, GetAssetVersionHistoryResponse, GetAvailableExtensionsResponse, GetAvailableProxiesResponse } from './asset.types';
|
|
3
|
+
export declare const DEFAULT_VIEW_SIZE = "CoreField.LargeSizePreview";
|
|
4
|
+
export declare const FIELD_ALLOW_ATS_LINK = "AllowATSLink";
|
|
5
|
+
export declare const FIELD_CORTEX_PATH = "Document.CortexPath";
|
|
6
|
+
export declare const FIELD_DOC_CAPTION_LONG = "Document.CaptionLong";
|
|
7
|
+
export declare const FIELD_DOC_TITLE = "Document.Title";
|
|
8
|
+
export declare const FIELD_DOC_TYPE = "CoreField.DocType";
|
|
9
|
+
export declare const FIELD_EXTENSION = "Document.FileExtension";
|
|
10
|
+
export declare const FIELD_FILE_SIZE = "CoreField.FileSize";
|
|
11
|
+
export declare const FIELD_HAS_BROWSER_CHILDREN = "Document.HasBrowserChildren";
|
|
12
|
+
export declare const FIELD_IDENTIFIER = "CoreField.Identifier";
|
|
13
|
+
export declare const FIELD_KEYWORDS = "CoreField.Keywords";
|
|
14
|
+
export declare const FIELD_LARGE_SIZE_PREVIEW_ID = "Document.DocumentDirectRepresentativeRID";
|
|
15
|
+
export declare const FIELD_MAX_HEIGHT = "CoreField.MaxHeight";
|
|
16
|
+
export declare const FIELD_MAX_WIDTH = "CoreField.MaxWidth";
|
|
17
|
+
export declare const FIELD_ORIGINAL_FILE_NAME = "CoreField.OriginalFileName";
|
|
18
|
+
export declare const FIELD_RECORD_ID = "Document.RecordID";
|
|
19
|
+
export declare const FIELD_SCRUB_URL = "ScrubURL";
|
|
20
|
+
export declare const FIELD_STORAGE_GROUP = "CoreField.S6_StorageGroup";
|
|
21
|
+
export declare const FIELD_SUBTYPE = "CoreField.DocSubType";
|
|
22
|
+
export declare const FIELD_TITLE_WITH_FALLBACK = "CoreField.TitleWithFallback";
|
|
23
|
+
export declare const FIELD_UPDATED_FILE_NAME = "CoreField.UpdatedFileName";
|
|
24
|
+
export declare const LIBRARY_NAME = "Library";
|
|
25
|
+
export declare const MESSAGE_NEW_LINE = "\n";
|
|
26
|
+
export declare const ORIGINAL_VIEW_SIZE = "CoreField.OriginalPreview";
|
|
27
|
+
export declare function resolveAssetExtraFilters(selectedFacets?: Record<string, string[]>): {
|
|
28
|
+
SubtypeCriteria?: string[];
|
|
29
|
+
FacetFilters?: Record<string, string[]>;
|
|
30
|
+
};
|
|
31
|
+
export declare function apiGetAssetLinks({ assets, extension, extraFields, parameters, permanentLink, proxyPreference, transformations, }: GetAssetLinksRequest): Promise<GetAssetLinkResponse[]>;
|
|
32
|
+
export declare function apiGetAssetsByIDs({ extraFields, recordIds, }: GetAssetsByIDsRequest): Promise<GetAssetsByIDsResponse>;
|
|
33
|
+
export declare function apiGetAssets({ folderId, isSeeThrough, limitedToDocTypes, pageSize, searchText, selectedFacets, sortOrder, start, useSession, }: GetAssetsRequest): Promise<GetAssetsResponse>;
|
|
34
|
+
export declare function apiGetAvailableProxies({ assetRecordId, siteUrl, }: {
|
|
35
|
+
assetRecordId: string;
|
|
36
|
+
siteUrl?: string;
|
|
37
|
+
token?: string;
|
|
38
|
+
}): Promise<GetAvailableProxiesResponse>;
|
|
39
|
+
export declare function apiGetAvailableExtensions(): Promise<GetAvailableExtensionsResponse>;
|
|
40
|
+
export declare function apiGetAssetFavoriteStatus({ assetRecordId, }: {
|
|
41
|
+
assetRecordId: string;
|
|
42
|
+
}): Promise<boolean>;
|
|
43
|
+
export declare function apiGetAssetVersionHistory({ assetRecordId, }: {
|
|
44
|
+
assetRecordId: string;
|
|
45
|
+
}): Promise<GetAssetVersionHistoryResponse>;
|
|
46
|
+
export declare function apiAddAssetToFavorite({ assetRecordId, siteUrl, }: {
|
|
47
|
+
assetRecordId: string;
|
|
48
|
+
siteUrl?: string;
|
|
49
|
+
}): Promise<boolean>;
|
|
50
|
+
export declare function apiRemoveAssetFromFavorite({ assetRecordId, siteUrl, }: {
|
|
51
|
+
assetRecordId: string;
|
|
52
|
+
siteUrl?: string;
|
|
53
|
+
}): Promise<boolean>;
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import { Asset, AssetVersion, AvailableProxy, MediaType, TrackingParameter } from '../../types/asset';
|
|
2
|
+
import { Facet, Transformation } from '../../types/content-browser';
|
|
3
|
+
export type CortexErrorResponse = {
|
|
4
|
+
'Asset ID'?: string;
|
|
5
|
+
'Asset Identifier'?: string;
|
|
6
|
+
ErrorCode: 'OL_ERR_001_NOTFOUND' | 'OL_ERR_002_NOTALLOWED' | 'OL_ERR_003_REMOVED' | 'OL_ASSETLINKSERVICE_ERROR_001_LINKS_TO_NON_REQUIRED_FORMATS_NOT_ALLOWED' | 'OL_ERR_006_BADREQUEST';
|
|
7
|
+
'Format'?: string;
|
|
8
|
+
Message: string;
|
|
9
|
+
};
|
|
10
|
+
export type ContentItem = {
|
|
11
|
+
fields: {
|
|
12
|
+
[key: string]: string;
|
|
13
|
+
};
|
|
14
|
+
recordID: string;
|
|
15
|
+
};
|
|
16
|
+
export type GetAssetLinkRequest = {
|
|
17
|
+
ExtraFields?: string;
|
|
18
|
+
Proxy?: string;
|
|
19
|
+
RecordId: string;
|
|
20
|
+
Token?: string;
|
|
21
|
+
};
|
|
22
|
+
export type GetAssetLinkResponse = {
|
|
23
|
+
assetLinkInfo?: {
|
|
24
|
+
[key: string]: string | number | boolean | null;
|
|
25
|
+
};
|
|
26
|
+
extraFields?: {
|
|
27
|
+
[key: string]: string | number | boolean | null;
|
|
28
|
+
};
|
|
29
|
+
imageUrl: string;
|
|
30
|
+
metadata?: {
|
|
31
|
+
[key: string]: string | number | boolean | null;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
export type GetContentResponse = {
|
|
35
|
+
contentItems?: ContentItem[];
|
|
36
|
+
facets: Facet[];
|
|
37
|
+
totalCount: number;
|
|
38
|
+
};
|
|
39
|
+
export type GetAssetsByIDsRequest = {
|
|
40
|
+
extraFields?: string[];
|
|
41
|
+
recordIds: string[];
|
|
42
|
+
token?: string;
|
|
43
|
+
};
|
|
44
|
+
export type GetAssetsByIDsResponse = {
|
|
45
|
+
facets: Facet[];
|
|
46
|
+
items: Array<Pick<Asset, 'recordId' | 'originalUrl' | 'name'> & Record<string, string>>;
|
|
47
|
+
totalCount: number;
|
|
48
|
+
};
|
|
49
|
+
export type GetAssetsRawResponse = {
|
|
50
|
+
contentItems?: ContentItem[];
|
|
51
|
+
facets: Facet[];
|
|
52
|
+
totalCount: number;
|
|
53
|
+
};
|
|
54
|
+
export type GetAssetsResponse = {
|
|
55
|
+
facets: Facet[];
|
|
56
|
+
items: Array<Asset & Record<string, string | boolean>>;
|
|
57
|
+
totalCount: number;
|
|
58
|
+
};
|
|
59
|
+
export type GetAvailableProxiesRequest = {
|
|
60
|
+
assetRecordId: string;
|
|
61
|
+
siteUrl?: string;
|
|
62
|
+
token?: string;
|
|
63
|
+
};
|
|
64
|
+
export type GetAvailableProxiesRawResponse = {
|
|
65
|
+
proxies: Array<{
|
|
66
|
+
cdnName: string | null;
|
|
67
|
+
extension: string | null;
|
|
68
|
+
formatHeight: number;
|
|
69
|
+
formatWidth: number;
|
|
70
|
+
height: number;
|
|
71
|
+
permanentLink: string | null;
|
|
72
|
+
proxyLabel: string;
|
|
73
|
+
proxyName: string;
|
|
74
|
+
width: number;
|
|
75
|
+
}>;
|
|
76
|
+
};
|
|
77
|
+
export type GetAvailableProxiesResponse = AvailableProxy[];
|
|
78
|
+
export type FormatsByDocType = {
|
|
79
|
+
Audio: Record<string, string>;
|
|
80
|
+
Image: Record<string, string>;
|
|
81
|
+
Multimedia: Record<string, string>;
|
|
82
|
+
Video: Record<string, string>;
|
|
83
|
+
};
|
|
84
|
+
export type GetAssetVersionHistoryResponse = {
|
|
85
|
+
count: number;
|
|
86
|
+
versions: AssetVersion[];
|
|
87
|
+
};
|
|
88
|
+
export type GetAvailableExtensionsResponse = Record<MediaType, Array<{
|
|
89
|
+
displayName: string;
|
|
90
|
+
value: string;
|
|
91
|
+
}>>;
|
|
92
|
+
export type GetAssetLinksRequest = {
|
|
93
|
+
assets: Asset[];
|
|
94
|
+
extension?: string;
|
|
95
|
+
extraFields?: string[];
|
|
96
|
+
maxHeight?: number;
|
|
97
|
+
maxWidth?: number;
|
|
98
|
+
parameters?: TrackingParameter[];
|
|
99
|
+
permanentLink?: string;
|
|
100
|
+
proxyPreference?: string;
|
|
101
|
+
token?: string;
|
|
102
|
+
transformations?: Transformation[];
|
|
103
|
+
useSession?: string;
|
|
104
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './asset';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './auth';
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export declare const FOLDER_API_ENDPOINT = "webapi/extensibility/integrations/gab/assetbrowser/gethierarchy_41e8";
|
|
2
|
+
export declare enum AssetApiEndpoint {
|
|
3
|
+
ADD_ASSET_TO_FAVORITE = "webapi/extensibility/integrations/contentBrowserSDK/addtofavorites_2du",
|
|
4
|
+
GET_ASSET_LINK = "webapi/extensibility/integrations/contentBrowserSDK/GetAssetLink_4by",
|
|
5
|
+
GET_ASSET_VERSION_HISTORY = "webapi/extensibility/integrations/contentBrowserSDK/getassetversion_418f",
|
|
6
|
+
GET_AVAILABLE_EXTENSIONS = "webapi/extensibility/integrations/gab/assetbrowser/getavailableextensionsfortransformation_419v_v1",
|
|
7
|
+
GET_AVAILABLE_PROXIES = "webapi/extensibility/integrations/gab/assetbrowser/AvailableProxies_4ea_v3",
|
|
8
|
+
GET_CONTENT_V1 = "webapi/extensibility/integrations/contentBrowserSDK/getcontent_4bw_v1",
|
|
9
|
+
GET_CONTENT_V3 = "webapi/extensibility/integrations/contentBrowserSDK/getcontent_4bw_v3",
|
|
10
|
+
GET_FAVORITE_ASSETS = "webapi/extensibility/integrations/contentBrowserSDK/getfavorites_419t",
|
|
11
|
+
REMOVE_ASSET_FROM_FAVORITE = "webapi/extensibility/integrations/contentBrowserSDK/removefromfavorites_2dv"
|
|
12
|
+
}
|
|
13
|
+
export declare const ALL_FORMAT_CODES_API_ENDPOINT = "webapi/extensibility/integrations/gab/assetbrowser/getallformatcodes_428H";
|
|
14
|
+
export declare enum AuthApiEndpoint {
|
|
15
|
+
GET_USER_INFO = "webapi/extensibility/integrations/contentBrowserSDK/authorization/getuserinfo_4bs_v1"
|
|
16
|
+
}
|
|
17
|
+
export declare enum MetadataApiEndpoint {
|
|
18
|
+
GET_AVAILABLE_FACETS = "webapi/extensibility/integrations/gab/assetbrowser/getavailablefacets",
|
|
19
|
+
GET_CONTENT_BROWSER_PARAMETERS = "webapi/extensibility/integrations/contentBrowserSDK/getparameters_412Z_v1",
|
|
20
|
+
GET_SORT_ORDERS = "webapi/extensibility/integrations/contentBrowserSDK/sortorders_4147"
|
|
21
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { GetFolderRequest, GetFolderResponse } from '../../types/folder';
|
|
2
|
+
export declare const FOLDER_PAGE_SIZE = 50;
|
|
3
|
+
export type GetContentResponse = {
|
|
4
|
+
contentItems: Array<{
|
|
5
|
+
fields: {
|
|
6
|
+
[key: string]: string;
|
|
7
|
+
};
|
|
8
|
+
recordID: string;
|
|
9
|
+
}>;
|
|
10
|
+
totalCount: number;
|
|
11
|
+
};
|
|
12
|
+
export declare function apiGetFolders({ allowedFolders, baseUrl, bearerToken, excludeVirtualFolders, folderId, includeDirectChild, limit, searchTerm, self, start, token, }: GetFolderRequest): Promise<GetFolderResponse>;
|
|
13
|
+
export type GetCollectionsRequest = {
|
|
14
|
+
baseUrl?: string;
|
|
15
|
+
bearerToken?: string;
|
|
16
|
+
folderId: string;
|
|
17
|
+
pageSize?: number;
|
|
18
|
+
searchTerm?: string;
|
|
19
|
+
start?: number;
|
|
20
|
+
token?: string;
|
|
21
|
+
};
|
|
22
|
+
export declare function apiGetCollections({ baseUrl, bearerToken, folderId, pageSize, searchTerm, start, token, }: GetCollectionsRequest): Promise<GetFolderResponse>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Enum defining field names used in folder/document API responses.
|
|
3
|
+
* These fields are used for mapping raw API data to typed folder properties.
|
|
4
|
+
*/
|
|
5
|
+
export declare enum FolderField {
|
|
6
|
+
/** Path to the document/folder in the Cortex system */
|
|
7
|
+
CortexPath = "Document.CortexPath",
|
|
8
|
+
/** Document type */
|
|
9
|
+
DocType = "CoreField.DocType",
|
|
10
|
+
/** Indicates whether the folder has child items that can be browsed */
|
|
11
|
+
HasBrowserChildren = "Document.HasBrowserChildren",
|
|
12
|
+
/** Representative image of the folder */
|
|
13
|
+
RepresentativeAssetId = "Document.DocumentDirectRepresentativeRID",
|
|
14
|
+
/** Title field with fallback logic for display purposes */
|
|
15
|
+
TitleWithFallback = "CoreField.TitleWithFallback",
|
|
16
|
+
rawDocSubtype = "Document.RawDocSubType"
|
|
17
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './folder';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './metadata';
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { GetAvailableFacetsResponse, GetContentBrowserParametersResponse, GetSortOrdersResponse } from './metadata.types';
|
|
2
|
+
export declare function apiGetSortOrders(): Promise<GetSortOrdersResponse>;
|
|
3
|
+
export declare function apiGetAvailableFacets(): Promise<GetAvailableFacetsResponse>;
|
|
4
|
+
export declare function apiGetContentBrowserParameters(): Promise<GetContentBrowserParametersResponse>;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { Facet, SortOrder } from '../../types/content-browser';
|
|
2
|
+
export type GetSortOrdersResponse = Record<string, SortOrder[]>;
|
|
3
|
+
export type GetAvailableFacetsResponse = Array<Facet['facetDetails']>;
|
|
4
|
+
export declare enum ContentBrowserParameters {
|
|
5
|
+
CollectionSubtypeCriteria = "CollectionSubtypeCriteria",
|
|
6
|
+
EnableATSInGetLink = "EnableATSInGetLink",
|
|
7
|
+
ExtensionAuto = "ExtensionAuto",
|
|
8
|
+
ExtensionsEmbeddableInWeb = "ExtensionsEmbeddableInWeb",
|
|
9
|
+
ExtensionsThatSupportTransformationUsingATS = "ExtensionsThatSupportTransformationUsingATS",
|
|
10
|
+
RepresentativeSupportedDocSubType = "RepresentativeSupportedDocSubType",
|
|
11
|
+
SupportDocTypes = "SupportDocTypes",
|
|
12
|
+
SupportedDocSubTypesV2 = "SupportedDocSubTypesV2"
|
|
13
|
+
}
|
|
14
|
+
export type GetContentBrowserParametersResponse = {
|
|
15
|
+
ATSEnabled: boolean;
|
|
16
|
+
autoExtension: string;
|
|
17
|
+
collectionPath: string;
|
|
18
|
+
supportedExtensions: string[];
|
|
19
|
+
supportedRepresentativeSubtypes: string[];
|
|
20
|
+
};
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { LitElement, PropertyDeclaration, PropertyValues } from 'lit';
|
|
2
|
+
type EventTypeRequiresDetail<T> = T extends keyof GlobalEventHandlersEventMap ? GlobalEventHandlersEventMap[T] extends CustomEvent<Record<PropertyKey, unknown>> ? GlobalEventHandlersEventMap[T] extends CustomEvent<Record<PropertyKey, never>> ? never : Partial<GlobalEventHandlersEventMap[T]['detail']> extends GlobalEventHandlersEventMap[T]['detail'] ? never : T : never : never;
|
|
3
|
+
type EventTypeDoesNotRequireDetail<T> = T extends keyof GlobalEventHandlersEventMap ? GlobalEventHandlersEventMap[T] extends CustomEvent<Record<PropertyKey, unknown>> ? GlobalEventHandlersEventMap[T] extends CustomEvent<Record<PropertyKey, never>> ? T : Partial<GlobalEventHandlersEventMap[T]['detail']> extends GlobalEventHandlersEventMap[T]['detail'] ? T : never : T : T;
|
|
4
|
+
type EventTypesWithRequiredDetail = {
|
|
5
|
+
[EventType in keyof GlobalEventHandlersEventMap as EventTypeRequiresDetail<EventType>]: true;
|
|
6
|
+
};
|
|
7
|
+
type EventTypesWithoutRequiredDetail = {
|
|
8
|
+
[EventType in keyof GlobalEventHandlersEventMap as EventTypeDoesNotRequireDetail<EventType>]: true;
|
|
9
|
+
};
|
|
10
|
+
type WithRequired<T, K extends keyof T> = T & {
|
|
11
|
+
[P in K]-?: T[P];
|
|
12
|
+
};
|
|
13
|
+
type CxEventInit<T> = T extends keyof GlobalEventHandlersEventMap ? GlobalEventHandlersEventMap[T] extends CustomEvent<Record<PropertyKey, unknown>> ? GlobalEventHandlersEventMap[T] extends CustomEvent<Record<PropertyKey, never>> ? CustomEventInit<GlobalEventHandlersEventMap[T]['detail']> : Partial<GlobalEventHandlersEventMap[T]['detail']> extends GlobalEventHandlersEventMap[T]['detail'] ? CustomEventInit<GlobalEventHandlersEventMap[T]['detail']> : WithRequired<CustomEventInit<GlobalEventHandlersEventMap[T]['detail']>, 'detail'> : CustomEventInit : CustomEventInit;
|
|
14
|
+
type GetCustomEventType<T> = T extends keyof GlobalEventHandlersEventMap ? GlobalEventHandlersEventMap[T] extends CustomEvent<unknown> ? GlobalEventHandlersEventMap[T] : CustomEvent<unknown> : CustomEvent<unknown>;
|
|
15
|
+
export default class CortexElement extends LitElement {
|
|
16
|
+
dir: string;
|
|
17
|
+
lang: string;
|
|
18
|
+
theme: 'light' | 'dark';
|
|
19
|
+
preRender: boolean;
|
|
20
|
+
/** Emits a custom event with more convenient defaults. */
|
|
21
|
+
emit<T extends string & keyof EventTypesWithoutRequiredDetail>(name: EventTypeDoesNotRequireDetail<T>, options?: CxEventInit<T> | undefined): GetCustomEventType<T>;
|
|
22
|
+
emit<T extends string & keyof EventTypesWithRequiredDetail>(name: EventTypeRequiresDetail<T>, options: CxEventInit<T>): GetCustomEventType<T>;
|
|
23
|
+
static version: string;
|
|
24
|
+
static define(name: string, elementConstructor?: typeof CortexElement, options?: ElementDefinitionOptions): void;
|
|
25
|
+
static dependencies: Record<string, CustomElementConstructor>;
|
|
26
|
+
static createProperty(name: PropertyKey, options?: PropertyDeclaration): void;
|
|
27
|
+
constructor();
|
|
28
|
+
protected firstUpdated(_changedProperties: PropertyValues): void;
|
|
29
|
+
protected runFirstUpdated(_changedProperties: PropertyValues): void;
|
|
30
|
+
protected connectedUpdatedCallback(): void;
|
|
31
|
+
protected runConnectedCallback(): void;
|
|
32
|
+
adoptedCallback(): void;
|
|
33
|
+
connectedCallback(): void;
|
|
34
|
+
disconnectedCallback(): void;
|
|
35
|
+
private handleThemeChange;
|
|
36
|
+
getTheme(): "light" | "dark";
|
|
37
|
+
getState<K extends keyof this>(key: string): this[K];
|
|
38
|
+
}
|
|
39
|
+
export {};
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
import { CSSResultGroup, nothing, PropertyValues } from 'lit';
|
|
2
|
+
import CortexElement from '../../base/element';
|
|
3
|
+
import CxContentBrowserBrowser from '../../components/content-browser-browser/content-browser-browser';
|
|
4
|
+
import CxContentBrowserControlBar from '../../components/content-browser-control-bar/content-browser-control-bar';
|
|
5
|
+
import CxContentBrowserFormatDialog from '../../components/content-browser-format-dialog/content-browser-format-dialog';
|
|
6
|
+
import CxContentBrowserGrid from '../../components/content-browser-grid/content-browser-grid';
|
|
7
|
+
import CxContentBrowserHeader from '../../components/content-browser-header/content-browser-header';
|
|
8
|
+
import CxContentBrowserNoResult from '../../components/content-browser-no-result/content-browser-no-result';
|
|
9
|
+
import { GridView } from '../../types/content-browser';
|
|
10
|
+
import { GetFolderRequest } from '../../types/folder';
|
|
11
|
+
import CxIcon from '@orangelogic/design-system/components/icon';
|
|
12
|
+
import CxIconButton from '@orangelogic/design-system/components/icon-button';
|
|
13
|
+
import CxResizeObserver from '@orangelogic/design-system/components/resize-observer';
|
|
14
|
+
import CxSpace from '@orangelogic/design-system/components/space';
|
|
15
|
+
import type { Asset, GetAssetsRequest } from '../../types/asset';
|
|
16
|
+
export declare const COMPUTED_FIELDS: string[];
|
|
17
|
+
/**
|
|
18
|
+
* @summary CxContentBrowser
|
|
19
|
+
*/
|
|
20
|
+
export default class CxContentBrowser extends CortexElement {
|
|
21
|
+
static readonly styles: CSSResultGroup;
|
|
22
|
+
static readonly dependencies: {
|
|
23
|
+
'cx-content-browser-browser': typeof CxContentBrowserBrowser;
|
|
24
|
+
'cx-content-browser-control-bar': typeof CxContentBrowserControlBar;
|
|
25
|
+
'cx-content-browser-format-dialog': typeof CxContentBrowserFormatDialog;
|
|
26
|
+
'cx-content-browser-grid': typeof CxContentBrowserGrid;
|
|
27
|
+
'cx-content-browser-header': typeof CxContentBrowserHeader;
|
|
28
|
+
'cx-content-browser-no-result': typeof CxContentBrowserNoResult;
|
|
29
|
+
'cx-icon': typeof CxIcon;
|
|
30
|
+
'cx-icon-button': typeof CxIconButton;
|
|
31
|
+
'cx-resize-observer': typeof CxResizeObserver;
|
|
32
|
+
'cx-space': typeof CxSpace;
|
|
33
|
+
};
|
|
34
|
+
private readonly localize;
|
|
35
|
+
formatDialog: CxContentBrowserFormatDialog;
|
|
36
|
+
content: HTMLDivElement;
|
|
37
|
+
baseUrl: string;
|
|
38
|
+
/**
|
|
39
|
+
* Application name shown when no folder is selected.
|
|
40
|
+
*/
|
|
41
|
+
applicationName: string;
|
|
42
|
+
availableDocTypes: string[];
|
|
43
|
+
allowedExtensions: string[];
|
|
44
|
+
allowedFolders: string[];
|
|
45
|
+
availableRepresentativeSubtypes: string[];
|
|
46
|
+
token: string;
|
|
47
|
+
showCollections: boolean;
|
|
48
|
+
showFavoriteFolder: boolean;
|
|
49
|
+
showCloseButton: boolean;
|
|
50
|
+
useSession: string;
|
|
51
|
+
canPin: boolean;
|
|
52
|
+
canFavorite: boolean;
|
|
53
|
+
canUseProxies: boolean;
|
|
54
|
+
canViewVersions: boolean;
|
|
55
|
+
canTrack: boolean;
|
|
56
|
+
canLogout: boolean;
|
|
57
|
+
ctaText: string;
|
|
58
|
+
ctaTextTransform: 'uppercase' | 'lowercase' | 'capitalize';
|
|
59
|
+
extraFields: string[];
|
|
60
|
+
defaultGridView: GridView;
|
|
61
|
+
defaultSortOrderName: string;
|
|
62
|
+
defaultSortDirection: 'ascending' | 'descending';
|
|
63
|
+
defaultSelectedFacets: Record<string, string[]>;
|
|
64
|
+
defaultIsSeeThrough: boolean;
|
|
65
|
+
defaultSearchText: string;
|
|
66
|
+
defaultFolderId: string;
|
|
67
|
+
showTitle: boolean;
|
|
68
|
+
showSize: boolean;
|
|
69
|
+
showDimensions: boolean;
|
|
70
|
+
showTags: boolean;
|
|
71
|
+
views: {
|
|
72
|
+
label: string;
|
|
73
|
+
value: string;
|
|
74
|
+
}[];
|
|
75
|
+
errorMessage: string;
|
|
76
|
+
private forceOverlay;
|
|
77
|
+
private view;
|
|
78
|
+
private folderTitle;
|
|
79
|
+
assets: Asset[];
|
|
80
|
+
lastRequest: GetAssetsRequest;
|
|
81
|
+
private newlyChangedOption;
|
|
82
|
+
selectedAssetId: string | undefined;
|
|
83
|
+
isMobile: boolean;
|
|
84
|
+
private defaultPageSize;
|
|
85
|
+
private fetchAndMergeAssetsController;
|
|
86
|
+
willUpdate(changedProperties: PropertyValues): void;
|
|
87
|
+
runFirstUpdated(): void;
|
|
88
|
+
fetchAssets(request: GetAssetsRequest): Promise<import("../../api/asset/asset.types").GetAssetsResponse>;
|
|
89
|
+
fetchFolders(request: GetFolderRequest): Promise<import("../../types/folder").GetFolderResponse>;
|
|
90
|
+
selectAsset(id: string): Promise<void>;
|
|
91
|
+
private openFormatDialog;
|
|
92
|
+
handleLastRequestChange(): Promise<void>;
|
|
93
|
+
private handleSortOrderChange;
|
|
94
|
+
private handleFilterChange;
|
|
95
|
+
private handleViewChange;
|
|
96
|
+
private handleScrollEnd;
|
|
97
|
+
private handleFolderSelectionChange;
|
|
98
|
+
private handleSearchChange;
|
|
99
|
+
private handleGridResize;
|
|
100
|
+
private handleGridClick;
|
|
101
|
+
private handleVersionHistoryOpen;
|
|
102
|
+
private handleFavoriteChange;
|
|
103
|
+
private handleProxyConfirm;
|
|
104
|
+
private handleFormatConfirm;
|
|
105
|
+
private handleFormatDialogClose;
|
|
106
|
+
private handleSelectedAsset;
|
|
107
|
+
private handleResize;
|
|
108
|
+
render(): import("lit-html").TemplateResult<1> | typeof nothing;
|
|
109
|
+
}
|
|
110
|
+
declare global {
|
|
111
|
+
interface HTMLElementTagNameMap {
|
|
112
|
+
'cx-content-browser': CxContentBrowser;
|
|
113
|
+
}
|
|
114
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { CSSResultGroup } from 'lit';
|
|
2
|
+
import CortexElement from '../../base/element';
|
|
3
|
+
import { MediaType } from '../../types/asset';
|
|
4
|
+
import { GridView } from '../../types/content-browser';
|
|
5
|
+
import CxArrayLineClamp from '@orangelogic/design-system/components/array-line-clamp';
|
|
6
|
+
import CxCard from '@orangelogic/design-system/components/card';
|
|
7
|
+
import CxCheckbox from '@orangelogic/design-system/components/checkbox';
|
|
8
|
+
import CxLineClamp from '@orangelogic/design-system/components/line-clamp';
|
|
9
|
+
import CxSpace from '@orangelogic/design-system/components/space';
|
|
10
|
+
import CxTag from '@orangelogic/design-system/components/tag';
|
|
11
|
+
import CxTypography from '@orangelogic/design-system/components/typography';
|
|
12
|
+
import CxContentBrowserAssetPreview from '../content-browser-asset-preview/content-browser-asset-preview';
|
|
13
|
+
export default class CxContentBrowserAssetCard extends CortexElement {
|
|
14
|
+
static readonly styles: CSSResultGroup;
|
|
15
|
+
static readonly dependencies: {
|
|
16
|
+
'cx-array-line-clamp': typeof CxArrayLineClamp;
|
|
17
|
+
'cx-card': typeof CxCard;
|
|
18
|
+
'cx-checkbox': typeof CxCheckbox;
|
|
19
|
+
'cx-content-browser-asset-preview': typeof CxContentBrowserAssetPreview;
|
|
20
|
+
'cx-line-clamp': typeof CxLineClamp;
|
|
21
|
+
'cx-space': typeof CxSpace;
|
|
22
|
+
'cx-tag': typeof CxTag;
|
|
23
|
+
'cx-typography': typeof CxTypography;
|
|
24
|
+
};
|
|
25
|
+
imageUrl: string;
|
|
26
|
+
originalUrl: string;
|
|
27
|
+
scrubUrl: string;
|
|
28
|
+
assetId: string;
|
|
29
|
+
assetName: string;
|
|
30
|
+
assetWidth: string;
|
|
31
|
+
assetHeight: string;
|
|
32
|
+
assetSize: string;
|
|
33
|
+
extension: string;
|
|
34
|
+
inColdStorage: boolean;
|
|
35
|
+
docType: MediaType | '';
|
|
36
|
+
view: GridView;
|
|
37
|
+
selected: boolean;
|
|
38
|
+
tags: string[];
|
|
39
|
+
showTags: boolean;
|
|
40
|
+
showTitle: boolean;
|
|
41
|
+
showSize: boolean;
|
|
42
|
+
showDimensions: boolean;
|
|
43
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
44
|
+
}
|
|
45
|
+
declare global {
|
|
46
|
+
interface HTMLElementTagNameMap {
|
|
47
|
+
'cx-content-browser-asset-card': CxContentBrowserAssetCard;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import CxIcon from '@orangelogic/design-system/components/icon';
|
|
2
|
+
import CxProgressBar from '@orangelogic/design-system/components/progress-bar';
|
|
3
|
+
import CxTypography from '@orangelogic/design-system/components/typography';
|
|
4
|
+
import CortexElement from '../../../base/element';
|
|
5
|
+
import { Orientation } from '../../../types/base';
|
|
6
|
+
export default class CxContentBrowserAssetPreviewVideo extends CortexElement {
|
|
7
|
+
static readonly dependencies: {
|
|
8
|
+
'cx-icon': typeof CxIcon;
|
|
9
|
+
'cx-progress-bar': typeof CxProgressBar;
|
|
10
|
+
'cx-typography': typeof CxTypography;
|
|
11
|
+
};
|
|
12
|
+
private readonly localize;
|
|
13
|
+
contentOverlay: HTMLDivElement;
|
|
14
|
+
videoElement?: HTMLVideoElement;
|
|
15
|
+
imageElement?: HTMLImageElement;
|
|
16
|
+
src: string;
|
|
17
|
+
alt: string;
|
|
18
|
+
thumbnailOnly: boolean;
|
|
19
|
+
thumbnailSrc: string;
|
|
20
|
+
loaded: boolean;
|
|
21
|
+
assetDirection: Orientation;
|
|
22
|
+
progress: number;
|
|
23
|
+
createRenderRoot(): this;
|
|
24
|
+
private handleError;
|
|
25
|
+
private handleLoaded;
|
|
26
|
+
private handleMouseEnter;
|
|
27
|
+
private handleMouseLeave;
|
|
28
|
+
private handleMouseMove;
|
|
29
|
+
private updateVideoProgress;
|
|
30
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
31
|
+
}
|
|
32
|
+
declare global {
|
|
33
|
+
interface HTMLElementTagNameMap {
|
|
34
|
+
'cx-content-browser-asset-preview-video': CxContentBrowserAssetPreviewVideo;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { CSSResultGroup } from 'lit';
|
|
2
|
+
import CortexElement from '../../base/element';
|
|
3
|
+
import { MediaType } from '../../types/asset';
|
|
4
|
+
import CxIcon from '@orangelogic/design-system/components/icon';
|
|
5
|
+
import CxSkeleton from '@orangelogic/design-system/components/skeleton';
|
|
6
|
+
import CxTypography from '@orangelogic/design-system/components/typography';
|
|
7
|
+
import CxContentBrowserAssetPreviewVideo from './content-browser-asset-preview-video/content-browser-asset-preview-video';
|
|
8
|
+
export declare function getMediaIcon(type?: MediaType | ''): "audio_file" | "album" | "widgets" | "perm_media" | "article" | "video_file" | "photo" | "file";
|
|
9
|
+
export default class CxContentBrowserAssetPreview extends CortexElement {
|
|
10
|
+
static readonly styles: CSSResultGroup;
|
|
11
|
+
static readonly dependencies: {
|
|
12
|
+
'cx-content-browser-asset-preview-video': typeof CxContentBrowserAssetPreviewVideo;
|
|
13
|
+
'cx-icon': typeof CxIcon;
|
|
14
|
+
'cx-skeleton': typeof CxSkeleton;
|
|
15
|
+
'cx-typography': typeof CxTypography;
|
|
16
|
+
};
|
|
17
|
+
private readonly localize;
|
|
18
|
+
imageUrl: string;
|
|
19
|
+
originalUrl: string;
|
|
20
|
+
scrubUrl: string;
|
|
21
|
+
alt: string;
|
|
22
|
+
docType: MediaType | '';
|
|
23
|
+
extension: string;
|
|
24
|
+
inColdStorage: boolean;
|
|
25
|
+
thumbnailOnly: boolean;
|
|
26
|
+
isError: boolean;
|
|
27
|
+
loaded: boolean;
|
|
28
|
+
get isUrlFilled(): boolean;
|
|
29
|
+
private handleLoaded;
|
|
30
|
+
private handleError;
|
|
31
|
+
private renderThumbnail;
|
|
32
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
33
|
+
}
|
|
34
|
+
declare global {
|
|
35
|
+
interface HTMLElementTagNameMap {
|
|
36
|
+
'cx-content-browser-asset-preview': CxContentBrowserAssetPreview;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import CxIcon from '@orangelogic/design-system/components/icon';
|
|
2
|
+
import CxMenu from '@orangelogic/design-system/components/menu';
|
|
3
|
+
import CxMenuItem from '@orangelogic/design-system/components/menu-item';
|
|
4
|
+
import CxSpace from '@orangelogic/design-system/components/space';
|
|
5
|
+
import CxSwitch from '@orangelogic/design-system/components/switch';
|
|
6
|
+
import CxTypography from '@orangelogic/design-system/components/typography';
|
|
7
|
+
import CortexElement from '../../base/element';
|
|
8
|
+
import { Parameter } from '../../types/content-browser';
|
|
9
|
+
import { CSSResultGroup } from 'lit';
|
|
10
|
+
import CxContentBrowserAssetTrackingParameters from '../content-browser-asset-tracking-parameters/content-browser-asset-tracking-parameters';
|
|
11
|
+
export declare const USE_REPRESENTATIVE_VALUE = "use-representative";
|
|
12
|
+
export declare const CUSTOM_FORMAT_VALUE = "custom";
|
|
13
|
+
export default class CxContentBrowserAssetProxySelector extends CortexElement {
|
|
14
|
+
static readonly styles: CSSResultGroup;
|
|
15
|
+
static readonly dependencies: {
|
|
16
|
+
'cx-content-browser-asset-tracking-parameters': typeof CxContentBrowserAssetTrackingParameters;
|
|
17
|
+
'cx-icon': typeof CxIcon;
|
|
18
|
+
'cx-menu': typeof CxMenu;
|
|
19
|
+
'cx-menu-item': typeof CxMenuItem;
|
|
20
|
+
'cx-space': typeof CxSpace;
|
|
21
|
+
'cx-switch': typeof CxSwitch;
|
|
22
|
+
'cx-typography': typeof CxTypography;
|
|
23
|
+
};
|
|
24
|
+
private readonly localize;
|
|
25
|
+
items: Array<{
|
|
26
|
+
cdnName: string;
|
|
27
|
+
docType: string;
|
|
28
|
+
extension: string | null;
|
|
29
|
+
height: string;
|
|
30
|
+
id: string;
|
|
31
|
+
image?: string;
|
|
32
|
+
name: string;
|
|
33
|
+
value: string;
|
|
34
|
+
width: string;
|
|
35
|
+
}>;
|
|
36
|
+
canCustomFormat: boolean;
|
|
37
|
+
canUseRepresentative: boolean;
|
|
38
|
+
canUseATS: boolean;
|
|
39
|
+
canUseTracking: boolean;
|
|
40
|
+
selected: string;
|
|
41
|
+
disabledSelected: boolean;
|
|
42
|
+
customWidth: string;
|
|
43
|
+
customHeight: string;
|
|
44
|
+
customExtension: string;
|
|
45
|
+
enabledTracking: boolean;
|
|
46
|
+
trackingParameters: Parameter[];
|
|
47
|
+
handleTrackingClick(event: MouseEvent): void;
|
|
48
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
49
|
+
}
|
|
50
|
+
declare global {
|
|
51
|
+
interface HTMLElementTagNameMap {
|
|
52
|
+
'cx-content-browser-asset-proxy-selector': CxContentBrowserAssetProxySelector;
|
|
53
|
+
}
|
|
54
|
+
}
|