@orangelogic/orange-dam-content-browser-sdk 2.2.8 → 2.3.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/build/App.d.ts +34 -0
- package/build/OrangeDAMContentBrowserSDK.min.css +1 -2
- package/build/OrangeDAMContentBrowserSDK.min.js +2121 -11471
- 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 +116 -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 +132 -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 +53 -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 +37 -0
- package/build/components/content-browser-asset-preview/content-browser-asset-preview.d.ts +43 -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 +72 -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 +81 -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 +166 -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 +53 -0
- package/build/components/content-browser-grid/content-browser-grid.styles.d.ts +2 -0
- package/build/components/content-browser-grid/scroll-anchor-controller.d.ts +27 -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 +15323 -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-pin-asset-change.d.ts +9 -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-pin-asset-change.d.ts +9 -0
- package/build/events/cx-content-browser-pin-asset-lookup.d.ts +14 -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 +18 -0
- package/build/index-umd.d.ts +6 -0
- package/build/index.css +1 -0
- package/build/{src/index.d.ts → index.d.ts} +6 -9
- package/build/index.html +135 -1
- package/build/index.mjs +33396 -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 +122 -0
- package/build/types/asset.d.ts +94 -0
- package/build/{src/types → types}/auth.d.ts +7 -12
- package/build/types/base.d.ts +4 -0
- package/build/types/content-browser.d.ts +120 -0
- package/build/types/folder.d.ts +35 -0
- package/build/{src/types → types}/search.d.ts +1 -38
- package/build/{src/utils → utils}/api.d.ts +5 -6
- package/build/{src/utils → utils}/constants.d.ts +0 -9
- package/build/utils/number.d.ts +1 -0
- package/build/{src/utils → utils}/storage.d.ts +1 -1
- package/build/utils/string.d.ts +7 -0
- package/build/utils/watch.d.ts +27 -0
- package/build/view/AssetsPicker.d.ts +22 -0
- package/package.json +50 -127
- 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/ApiService.d.ts +0 -15
- package/build/src/App.d.ts +0 -67
- package/build/src/components/ArrayClamp/ArrayClamp.cy.d.ts +0 -1
- package/build/src/components/ArrayClamp/ArrayClamp.d.ts +0 -10
- package/build/src/components/ArrayClamp/ArrayClamp.styled.d.ts +0 -1
- package/build/src/components/ArrayClamp/index.d.ts +0 -1
- package/build/src/components/Browser/Browser.constants.d.ts +0 -3
- package/build/src/components/Browser/Browser.cy.d.ts +0 -1
- package/build/src/components/Browser/Browser.d.ts +0 -23
- package/build/src/components/Browser/Browser.styled.d.ts +0 -2
- package/build/src/components/Browser/BrowserItem.d.ts +0 -14
- package/build/src/components/Browser/LoadMoreButton.d.ts +0 -9
- package/build/src/components/Browser/index.d.ts +0 -1
- package/build/src/components/ControlBar/ControlBar.constants.d.ts +0 -10
- package/build/src/components/ControlBar/ControlBar.cy.d.ts +0 -1
- package/build/src/components/ControlBar/ControlBar.d.ts +0 -23
- package/build/src/components/ControlBar/ControlBar.styled.d.ts +0 -1
- package/build/src/components/ControlBar/Facet/Facet.cy.d.ts +0 -1
- package/build/src/components/ControlBar/Facet/Facet.d.ts +0 -14
- package/build/src/components/ControlBar/Facet/index.d.ts +0 -1
- package/build/src/components/ControlBar/index.d.ts +0 -1
- package/build/src/components/FormatDialog/CropPreviewer/CropPreviewer.cy.d.ts +0 -1
- package/build/src/components/FormatDialog/CropPreviewer/CropPreviewer.d.ts +0 -44
- package/build/src/components/FormatDialog/CropPreviewer/index.d.ts +0 -3
- package/build/src/components/FormatDialog/CustomRendition/CustomRendition.constants.d.ts +0 -5
- package/build/src/components/FormatDialog/CustomRendition/CustomRendition.cy.d.ts +0 -1
- package/build/src/components/FormatDialog/CustomRendition/CustomRendition.d.ts +0 -56
- package/build/src/components/FormatDialog/CustomRendition/CustomRendition.styled.d.ts +0 -1
- package/build/src/components/FormatDialog/CustomRendition/index.d.ts +0 -1
- package/build/src/components/FormatDialog/CustomRendition/transformations/Crop.cy.d.ts +0 -1
- package/build/src/components/FormatDialog/CustomRendition/transformations/Crop.d.ts +0 -26
- package/build/src/components/FormatDialog/CustomRendition/transformations/Extension.cy.d.ts +0 -1
- package/build/src/components/FormatDialog/CustomRendition/transformations/Extension.d.ts +0 -11
- package/build/src/components/FormatDialog/CustomRendition/transformations/Format.cy.d.ts +0 -1
- package/build/src/components/FormatDialog/CustomRendition/transformations/Format.d.ts +0 -10
- package/build/src/components/FormatDialog/CustomRendition/transformations/Metadata.cy.d.ts +0 -1
- package/build/src/components/FormatDialog/CustomRendition/transformations/Metadata.d.ts +0 -7
- package/build/src/components/FormatDialog/CustomRendition/transformations/Quality.cy.d.ts +0 -1
- package/build/src/components/FormatDialog/CustomRendition/transformations/Quality.d.ts +0 -7
- package/build/src/components/FormatDialog/CustomRendition/transformations/Resize.cy.d.ts +0 -1
- package/build/src/components/FormatDialog/CustomRendition/transformations/Resize.d.ts +0 -18
- package/build/src/components/FormatDialog/CustomRendition/transformations/Rotate.cy.d.ts +0 -1
- package/build/src/components/FormatDialog/CustomRendition/transformations/Rotate.d.ts +0 -8
- package/build/src/components/FormatDialog/CustomRendition/transformations/index.d.ts +0 -7
- package/build/src/components/FormatDialog/FormatDialog.cy.d.ts +0 -1
- package/build/src/components/FormatDialog/FormatDialog.d.ts +0 -55
- package/build/src/components/FormatDialog/FormatDialog.styled.d.ts +0 -3
- package/build/src/components/FormatDialog/PinButton/PinButton.d.ts +0 -9
- package/build/src/components/FormatDialog/PinButton/index.d.ts +0 -1
- package/build/src/components/FormatDialog/Previewer/Previewer.cy.d.ts +0 -1
- package/build/src/components/FormatDialog/Previewer/Previewer.d.ts +0 -17
- package/build/src/components/FormatDialog/Previewer/Previewer.styled.d.ts +0 -1
- package/build/src/components/FormatDialog/Previewer/index.d.ts +0 -1
- package/build/src/components/FormatDialog/ProxyMenu/ProxyMenu.cy.d.ts +0 -1
- package/build/src/components/FormatDialog/ProxyMenu/ProxyMenu.d.ts +0 -20
- package/build/src/components/FormatDialog/ProxyMenu/ProxyMenu.styled.d.ts +0 -2
- package/build/src/components/FormatDialog/ProxyMenu/index.d.ts +0 -1
- package/build/src/components/FormatDialog/TrackingParameters/TrackingParameters.cy.d.ts +0 -1
- package/build/src/components/FormatDialog/TrackingParameters/TrackingParameters.d.ts +0 -13
- package/build/src/components/FormatDialog/TrackingParameters/index.d.ts +0 -1
- package/build/src/components/FormatDialog/VersionHistory/VersionHistory.cy.d.ts +0 -1
- package/build/src/components/FormatDialog/VersionHistory/VersionHistory.d.ts +0 -6
- package/build/src/components/FormatDialog/VersionHistory/VersionHistory.styled.d.ts +0 -1
- package/build/src/components/FormatDialog/VersionHistory/index.d.ts +0 -1
- package/build/src/components/FormatDialog/index.d.ts +0 -1
- package/build/src/components/Header/Header.cy.d.ts +0 -1
- package/build/src/components/Header/Header.d.ts +0 -16
- package/build/src/components/Header/Header.styled.d.ts +0 -5
- package/build/src/components/Header/index.d.ts +0 -1
- package/build/src/components/LineClamp/LineClamp.d.ts +0 -4
- package/build/src/components/LineClamp/index.d.ts +0 -1
- package/build/src/components/Loader/Loader.cy.d.ts +0 -1
- package/build/src/components/Loader/Loader.d.ts +0 -7
- 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/components/Result/AssetCard/AssetCard.d.ts +0 -15
- package/build/src/components/Result/AssetCard/AssetCard.styled.d.ts +0 -2
- package/build/src/components/Result/AssetCard/AssetCardWrapper.cy.d.ts +0 -1
- package/build/src/components/Result/AssetCard/AssetCardWrapper.d.ts +0 -22
- package/build/src/components/Result/AssetCard/AssetCardWrapper.styled.d.ts +0 -1
- package/build/src/components/Result/AssetCard/index.d.ts +0 -1
- package/build/src/components/Result/AssetPreview/AssetPreview.cy.d.ts +0 -1
- package/build/src/components/Result/AssetPreview/AssetPreview.d.ts +0 -11
- package/build/src/components/Result/AssetPreview/AssetPreview.styled.d.ts +0 -1
- package/build/src/components/Result/AssetPreview/ImagePreview/ImagePreview.cy.d.ts +0 -1
- package/build/src/components/Result/AssetPreview/ImagePreview/ImagePreview.d.ts +0 -11
- package/build/src/components/Result/AssetPreview/ImagePreview/index.d.ts +0 -1
- package/build/src/components/Result/AssetPreview/OtherPreview/OtherPreview.cy.d.ts +0 -1
- package/build/src/components/Result/AssetPreview/OtherPreview/OtherPreview.d.ts +0 -10
- package/build/src/components/Result/AssetPreview/OtherPreview/OtherPreview.styled.d.ts +0 -1
- package/build/src/components/Result/AssetPreview/OtherPreview/index.d.ts +0 -1
- package/build/src/components/Result/AssetPreview/VideoPreview/VideoPreview.cy.d.ts +0 -1
- package/build/src/components/Result/AssetPreview/VideoPreview/VideoPreview.d.ts +0 -11
- package/build/src/components/Result/AssetPreview/VideoPreview/index.d.ts +0 -1
- package/build/src/components/Result/AssetPreview/index.d.ts +0 -1
- package/build/src/consts/asset.d.ts +0 -14
- package/build/src/consts/data.d.ts +0 -23
- package/build/src/page/Authenticate/Authenticate.cy.d.ts +0 -1
- package/build/src/page/Home/Home.d.ts +0 -6
- package/build/src/page/Home/Home.styled.d.ts +0 -2
- package/build/src/page/Home/index.d.ts +0 -1
- package/build/src/setupTests.d.ts +0 -1
- package/build/src/store/assets/assets.api.d.ts +0 -66
- package/build/src/store/assets/assets.service.d.ts +0 -23
- package/build/src/store/assets/assets.slice.d.ts +0 -65
- package/build/src/store/auth/auth.slice.d.ts +0 -76
- package/build/src/store/index.d.ts +0 -368
- package/build/src/store/search/search.api.d.ts +0 -39
- package/build/src/store/search/search.slice.d.ts +0 -12
- package/build/src/store/user/user.api.d.ts +0 -5
- package/build/src/types/assets.d.ts +0 -74
- package/build/src/types/common.d.ts +0 -11
- package/build/src/types/download.d.ts +0 -8
- package/build/src/types/navigation.d.ts +0 -3
- package/build/src/types/user.d.ts +0 -7
- package/build/src/utils/array.d.ts +0 -13
- package/build/src/utils/browser.d.ts +0 -1
- package/build/src/utils/dom.d.ts +0 -7
- package/build/src/utils/icon.d.ts +0 -3
- package/build/src/utils/image.d.ts +0 -69
- package/build/src/utils/mergeRefs.d.ts +0 -14
- package/build/src/utils/number.d.ts +0 -4
- package/build/src/utils/rotate.d.ts +0 -4
- package/build/src/utils/string.d.ts +0 -12
- package/build/src/utils/utils.cy.d.ts +0 -1
- package/build/src/view/AssetsPicker.d.ts +0 -6
- /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}/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
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"files": {
|
|
3
|
-
"main.css": "/OrangeDAMContentBrowserSDK.min.css",
|
|
4
|
-
"main.js": "/OrangeDAMContentBrowserSDK.min.js",
|
|
5
|
-
"index.html": "/index.html",
|
|
6
|
-
"OrangeDAMContentBrowserSDK.min.css.map": "/OrangeDAMContentBrowserSDK.min.css.map",
|
|
7
|
-
"OrangeDAMContentBrowserSDK.min.js.map": "/OrangeDAMContentBrowserSDK.min.js.map"
|
|
8
|
-
},
|
|
9
|
-
"entrypoints": [
|
|
10
|
-
"OrangeDAMContentBrowserSDK.min.css",
|
|
11
|
-
"OrangeDAMContentBrowserSDK.min.js"
|
|
12
|
-
]
|
|
13
|
-
}
|
|
File without changes
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import './commands';
|
|
2
|
-
import '@cypress/code-coverage/support';
|
|
3
|
-
import { mount } from 'cypress/react';
|
|
4
|
-
declare global {
|
|
5
|
-
namespace Cypress {
|
|
6
|
-
interface Chainable {
|
|
7
|
-
mount: typeof mount;
|
|
8
|
-
reactComponent: Chainable<any>;
|
|
9
|
-
waitForCustomElement: (tagname: string) => Chainable<any>;
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import type { GetContentRequest, GetFoldersRequest } from '@/types/search';
|
|
2
|
-
export declare class APIService {
|
|
3
|
-
private static instance;
|
|
4
|
-
static getInstance(): APIService;
|
|
5
|
-
fetchAssets(params: GetContentRequest): Promise<{
|
|
6
|
-
facets: import("@/types/search").Facet[];
|
|
7
|
-
items: import("@/types/search").Asset[];
|
|
8
|
-
totalCount: number;
|
|
9
|
-
} | undefined>;
|
|
10
|
-
fetchFolders(params: GetFoldersRequest): Promise<{
|
|
11
|
-
items: import("@/types/search").Folder[];
|
|
12
|
-
totalCount: number;
|
|
13
|
-
} | undefined>;
|
|
14
|
-
}
|
|
15
|
-
export declare const ContentBrowserApiService: APIService;
|
package/build/src/App.d.ts
DELETED
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
import '@orangelogic/design-system/assets/design-system.css';
|
|
2
|
-
import '@orangelogic/design-system/assets/outlined.css';
|
|
3
|
-
import '@orangelogic/design-system/components/alert';
|
|
4
|
-
import '@orangelogic/design-system/components/avatar';
|
|
5
|
-
import '@orangelogic/design-system/components/badge';
|
|
6
|
-
import '@orangelogic/design-system/components/button';
|
|
7
|
-
import '@orangelogic/design-system/components/button-group';
|
|
8
|
-
import '@orangelogic/design-system/components/card';
|
|
9
|
-
import '@orangelogic/design-system/components/checkbox';
|
|
10
|
-
import '@orangelogic/design-system/components/copy-button';
|
|
11
|
-
import '@orangelogic/design-system/components/details';
|
|
12
|
-
import '@orangelogic/design-system/components/dialog';
|
|
13
|
-
import '@orangelogic/design-system/components/divider';
|
|
14
|
-
import '@orangelogic/design-system/components/drawer';
|
|
15
|
-
import '@orangelogic/design-system/components/dropdown';
|
|
16
|
-
import '@orangelogic/design-system/components/grid';
|
|
17
|
-
import '@orangelogic/design-system/components/grid-item';
|
|
18
|
-
import '@orangelogic/design-system/components/icon';
|
|
19
|
-
import '@orangelogic/design-system/components/icon-button';
|
|
20
|
-
import '@orangelogic/design-system/components/input';
|
|
21
|
-
import '@orangelogic/design-system/components/input-group';
|
|
22
|
-
import '@orangelogic/design-system/components/line-clamp';
|
|
23
|
-
import '@orangelogic/design-system/components/menu';
|
|
24
|
-
import '@orangelogic/design-system/components/menu-item';
|
|
25
|
-
import '@orangelogic/design-system/components/menu-label';
|
|
26
|
-
import '@orangelogic/design-system/components/option';
|
|
27
|
-
import '@orangelogic/design-system/components/progress-bar';
|
|
28
|
-
import '@orangelogic/design-system/components/resize-observer';
|
|
29
|
-
import '@orangelogic/design-system/components/select';
|
|
30
|
-
import '@orangelogic/design-system/components/skeleton';
|
|
31
|
-
import '@orangelogic/design-system/components/space';
|
|
32
|
-
import '@orangelogic/design-system/components/spinner';
|
|
33
|
-
import '@orangelogic/design-system/components/switch';
|
|
34
|
-
import '@orangelogic/design-system/components/tag';
|
|
35
|
-
import '@orangelogic/design-system/components/tooltip';
|
|
36
|
-
import '@orangelogic/design-system/components/tree';
|
|
37
|
-
import '@orangelogic/design-system/components/tree-item';
|
|
38
|
-
import '@orangelogic/design-system/components/typography';
|
|
39
|
-
import '@orangelogic/design-system/css/ol-light.css';
|
|
40
|
-
import '@orangelogic/design-system/react-types';
|
|
41
|
-
import { FC } from 'react';
|
|
42
|
-
import { AppContextType } from '@/AppContext';
|
|
43
|
-
type Props = {
|
|
44
|
-
containerId?: string;
|
|
45
|
-
extraFields?: string[];
|
|
46
|
-
loadExternalFonts?: boolean;
|
|
47
|
-
multiSelect?: boolean;
|
|
48
|
-
/**
|
|
49
|
-
* Call back when we close the app modal.
|
|
50
|
-
* Note: This only applicable when containerId is not defined
|
|
51
|
-
* @returns
|
|
52
|
-
*/
|
|
53
|
-
onClose?: () => void;
|
|
54
|
-
onError: AppContextType['onError'];
|
|
55
|
-
getPinnedState?: AppContextType['getPinnedState'];
|
|
56
|
-
onAssetAction: AppContextType['onAssetAction'];
|
|
57
|
-
onAssetSelected: AppContextType['onAssetSelected'];
|
|
58
|
-
onAppAuthUrlCopied: AppContextType['onAppAuthUrlCopied'];
|
|
59
|
-
onImageSelected: AppContextType['onImageSelected'];
|
|
60
|
-
onPinAsset?: AppContextType['onPinAsset'];
|
|
61
|
-
onConnectClicked?: (url: string) => void;
|
|
62
|
-
onTokenChanged?: (token: string) => void;
|
|
63
|
-
onUnpinAsset?: AppContextType['onUnpinAsset'];
|
|
64
|
-
onSiteUrlChanged?: (siteUrl: string) => void;
|
|
65
|
-
};
|
|
66
|
-
export declare const App: FC<Props>;
|
|
67
|
-
export default App;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import React, { FC } from 'react';
|
|
2
|
-
type ArrayClampProps = {
|
|
3
|
-
children: React.ReactNode;
|
|
4
|
-
className?: string;
|
|
5
|
-
separator?: string;
|
|
6
|
-
tooltipSeparator?: string;
|
|
7
|
-
getChildString?: (index: number) => string;
|
|
8
|
-
};
|
|
9
|
-
declare const ArrayClamp: FC<ArrayClampProps>;
|
|
10
|
-
export default ArrayClamp;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const Container: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './ArrayClamp';
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
export declare const LeftPanelOpenIcon = "<svg\n xmlns=\"http://www.w3.org/2000/svg\"\n height=\"24px\"\n viewBox=\"0 -960 960 960\"\n width=\"24px\"\n fill=\"#52525B\"\n >\n <path d=\"M500-640v320l160-160-160-160ZM200-120q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h560q33 0 56.5 23.5T840-760v560q0 33-23.5 56.5T760-120H200Zm120-80v-560H200v560h120Zm80 0h360v-560H400v560Zm-80 0H200h120Z\" />\n </svg>";
|
|
2
|
-
export declare const LeftPanelCloseIcon = "<svg\n xmlns=\"http://www.w3.org/2000/svg\"\n height=\"24px\"\n viewBox=\"0 -960 960 960\"\n width=\"24px\"\n fill=\"#52525B\"\n >\n <path d=\"M660-320v-320L500-480l160 160ZM200-120q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h560q33 0 56.5 23.5T840-760v560q0 33-23.5 56.5T760-120H200Zm120-80v-560H200v560h120Zm80 0h360v-560H400v560Zm-80 0H200h120Z\" />\n </svg>";
|
|
3
|
-
export declare const FORCE_OVERLAY_THRESHOLD = 650;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { Folder } from '@/types/search';
|
|
3
|
-
type Props = {
|
|
4
|
-
allowedFolders?: string[];
|
|
5
|
-
allowPin?: boolean;
|
|
6
|
-
collectionPath?: string;
|
|
7
|
-
currentFolder: Folder;
|
|
8
|
-
favoriteFolderId?: string;
|
|
9
|
-
focusInput?: boolean;
|
|
10
|
-
lastLocationMode?: boolean;
|
|
11
|
-
open: boolean;
|
|
12
|
-
showCollections?: boolean;
|
|
13
|
-
showFavoriteFolder?: boolean;
|
|
14
|
-
useSession?: string;
|
|
15
|
-
onFolderSelect: (selectedFolder: Folder) => void;
|
|
16
|
-
onClose: () => void;
|
|
17
|
-
isPersistent: boolean;
|
|
18
|
-
onChangePersistent: (persistent: boolean) => void;
|
|
19
|
-
forceOverlay: boolean;
|
|
20
|
-
damViewSeeThru: boolean;
|
|
21
|
-
};
|
|
22
|
-
declare const Browser: FC<Props>;
|
|
23
|
-
export default Browser;
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import type { CxDrawerProps } from '@orangelogic/design-system/react-types';
|
|
2
|
-
export declare const Drawer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("styled-components/dist/types").BaseObject, CxDrawerProps>> & string;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { Folder } from '@/types/search';
|
|
3
|
-
export declare const getHighlightedTitle: (title: string, searchText?: string) => string | (string | import("react/jsx-runtime").JSX.Element)[];
|
|
4
|
-
type Props = {
|
|
5
|
-
allowedFolders?: string[];
|
|
6
|
-
folder: Folder;
|
|
7
|
-
currentFolderID: string;
|
|
8
|
-
icon?: string;
|
|
9
|
-
searchText?: string;
|
|
10
|
-
useSession?: string;
|
|
11
|
-
damViewSeeThru?: boolean;
|
|
12
|
-
};
|
|
13
|
-
export declare const BrowserItem: FC<Props>;
|
|
14
|
-
export default BrowserItem;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
interface LoadMoreButtonProps {
|
|
2
|
-
loadMore: () => void;
|
|
3
|
-
isLoading: boolean;
|
|
4
|
-
disabled?: boolean;
|
|
5
|
-
slot?: string;
|
|
6
|
-
disabledIndentation?: boolean;
|
|
7
|
-
}
|
|
8
|
-
declare const LoadMoreButton: ({ loadMore, isLoading, disabled, slot, disabledIndentation, }: LoadMoreButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
-
export default LoadMoreButton;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as Browser } from './Browser';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { SortOrder } from '@/types/assets';
|
|
3
|
-
import { Facet as FacetType, GridView, SortDirection } from '@/types/search';
|
|
4
|
-
type Props = {
|
|
5
|
-
allowSorting: boolean;
|
|
6
|
-
availableFacets: FacetType['facetDetails'][];
|
|
7
|
-
currentCount: number;
|
|
8
|
-
loading: boolean;
|
|
9
|
-
facets?: FacetType[];
|
|
10
|
-
isMobile: boolean;
|
|
11
|
-
isSeeThrough: boolean;
|
|
12
|
-
searchValue: string;
|
|
13
|
-
selectedFacets: Record<string, string[]>;
|
|
14
|
-
sortDirection?: 'ascending' | 'descending';
|
|
15
|
-
sortOrder: string;
|
|
16
|
-
sortOrders?: Record<string, SortOrder[]>;
|
|
17
|
-
totalCount: number;
|
|
18
|
-
view: GridView;
|
|
19
|
-
onSearchChange: (value: string) => void;
|
|
20
|
-
onSettingChange: (setting: string, value: GridView | SortDirection | Record<string, string[]> | string | boolean | string[]) => void;
|
|
21
|
-
};
|
|
22
|
-
declare const ControlBar: FC<Props>;
|
|
23
|
-
export default ControlBar;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const Container: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
type Props = {
|
|
3
|
-
values: {
|
|
4
|
-
count: number;
|
|
5
|
-
displayValue: string;
|
|
6
|
-
value: string;
|
|
7
|
-
}[];
|
|
8
|
-
type: string;
|
|
9
|
-
displayName: string;
|
|
10
|
-
collections: string[];
|
|
11
|
-
loading?: boolean;
|
|
12
|
-
};
|
|
13
|
-
declare const Facet: FC<Props>;
|
|
14
|
-
export default Facet;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './Facet';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './ControlBar';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { Area } from 'react-easy-crop';
|
|
2
|
-
import { Unit } from '@/types/assets';
|
|
3
|
-
import { Proxy } from '@/types/search';
|
|
4
|
-
type Props = {
|
|
5
|
-
disabled: boolean;
|
|
6
|
-
loadable: boolean;
|
|
7
|
-
image: {
|
|
8
|
-
url: string;
|
|
9
|
-
originalUrl: string;
|
|
10
|
-
extension: string;
|
|
11
|
-
width: number;
|
|
12
|
-
height: number;
|
|
13
|
-
x: number;
|
|
14
|
-
y: number;
|
|
15
|
-
rotation: number;
|
|
16
|
-
};
|
|
17
|
-
selectedProxy: string;
|
|
18
|
-
proxies?: Proxy[];
|
|
19
|
-
resizer: {
|
|
20
|
-
width: number;
|
|
21
|
-
height: number;
|
|
22
|
-
};
|
|
23
|
-
cropper: {
|
|
24
|
-
width: number;
|
|
25
|
-
height: number;
|
|
26
|
-
percentageWidth: number;
|
|
27
|
-
percentageHeight: number;
|
|
28
|
-
x: number;
|
|
29
|
-
y: number;
|
|
30
|
-
unit: Unit;
|
|
31
|
-
};
|
|
32
|
-
rotation: number;
|
|
33
|
-
isCustomRenditionEnabled?: boolean;
|
|
34
|
-
onCropComplete: (croppedArea: Area, croppedAreaPixels: Area) => void;
|
|
35
|
-
onLoadingChange: (loading: boolean) => void;
|
|
36
|
-
};
|
|
37
|
-
export type CropPreviewerHandle = {
|
|
38
|
-
applyResize: () => Promise<string>;
|
|
39
|
-
applyCrop: () => Promise<string>;
|
|
40
|
-
applyRotation: () => Promise<string>;
|
|
41
|
-
setZoom: (zoom: number) => void;
|
|
42
|
-
};
|
|
43
|
-
declare const CropPreviewer: import("react").ForwardRefExoticComponent<Props & import("react").RefAttributes<CropPreviewerHandle>>;
|
|
44
|
-
export default CropPreviewer;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { Unit } from '@/types/assets';
|
|
3
|
-
import { Proxy } from '@/types/search';
|
|
4
|
-
type Props = {
|
|
5
|
-
activeSetting: string;
|
|
6
|
-
extensions: {
|
|
7
|
-
displayName: string;
|
|
8
|
-
value: string;
|
|
9
|
-
}[];
|
|
10
|
-
availableProxies: Proxy[];
|
|
11
|
-
imageSize: {
|
|
12
|
-
width: number;
|
|
13
|
-
height: number;
|
|
14
|
-
};
|
|
15
|
-
resize: {
|
|
16
|
-
width: number;
|
|
17
|
-
height: number;
|
|
18
|
-
unit: Unit;
|
|
19
|
-
};
|
|
20
|
-
crop: {
|
|
21
|
-
width: number;
|
|
22
|
-
height: number;
|
|
23
|
-
unit: Unit;
|
|
24
|
-
percentageWidth: number;
|
|
25
|
-
percentageHeight: number;
|
|
26
|
-
};
|
|
27
|
-
extension: string;
|
|
28
|
-
keepMetadata: boolean;
|
|
29
|
-
lastAppliedResize: Record<Unit, {
|
|
30
|
-
width: number;
|
|
31
|
-
height: number;
|
|
32
|
-
unit: Unit;
|
|
33
|
-
}>;
|
|
34
|
-
lastAppliedCrop: Record<Unit, {
|
|
35
|
-
width: number;
|
|
36
|
-
height: number;
|
|
37
|
-
percentageWidth: number;
|
|
38
|
-
percentageHeight: number;
|
|
39
|
-
x: number;
|
|
40
|
-
y: number;
|
|
41
|
-
unit: Unit;
|
|
42
|
-
}>;
|
|
43
|
-
proxy: string;
|
|
44
|
-
quality: number;
|
|
45
|
-
rotation: number;
|
|
46
|
-
onCropChange: (width: number, height: number, unit: Unit, shouldApply: boolean) => void;
|
|
47
|
-
onExtensionChange: (extension: string) => void;
|
|
48
|
-
onFormatChange: (format: Proxy) => void;
|
|
49
|
-
onKeepMetadataChange: (keepMetadata: boolean) => void;
|
|
50
|
-
onQualityChange: (quality: number) => void;
|
|
51
|
-
onResizeChange: (width: number, height: number, unit: Unit, shouldApply: boolean) => void;
|
|
52
|
-
onRotateChange: (rotation: number, shouldApply: boolean) => void;
|
|
53
|
-
onViewChange: (view: string) => void;
|
|
54
|
-
};
|
|
55
|
-
declare const CustomRendition: FC<Props>;
|
|
56
|
-
export default CustomRendition;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const Container: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './CustomRendition';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { Unit } from '@/types/assets';
|
|
3
|
-
type Props = {
|
|
4
|
-
open: boolean;
|
|
5
|
-
width: number;
|
|
6
|
-
height: number;
|
|
7
|
-
disabledCropApply: boolean;
|
|
8
|
-
lastAppliedSetting: Record<Unit, {
|
|
9
|
-
width: number;
|
|
10
|
-
height: number;
|
|
11
|
-
percentageWidth: number;
|
|
12
|
-
percentageHeight: number;
|
|
13
|
-
x: number;
|
|
14
|
-
y: number;
|
|
15
|
-
unit: Unit;
|
|
16
|
-
}>;
|
|
17
|
-
maxWidth: number;
|
|
18
|
-
maxHeight: number;
|
|
19
|
-
percentageWidth: number;
|
|
20
|
-
percentageHeight: number;
|
|
21
|
-
unit: Unit;
|
|
22
|
-
onChange: (width: number, height: number, unit: Unit) => void;
|
|
23
|
-
onApply: () => void;
|
|
24
|
-
};
|
|
25
|
-
declare const Crop: FC<Props>;
|
|
26
|
-
export default Crop;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { Unit } from '@/types/assets';
|
|
3
|
-
type Props = {
|
|
4
|
-
open: boolean;
|
|
5
|
-
width: number;
|
|
6
|
-
height: number;
|
|
7
|
-
lastAppliedSetting: Record<Unit, {
|
|
8
|
-
width: number;
|
|
9
|
-
height: number;
|
|
10
|
-
}>;
|
|
11
|
-
maxWidth: number;
|
|
12
|
-
maxHeight: number;
|
|
13
|
-
unit: Unit;
|
|
14
|
-
onChange: (width: number, height: number, unit: Unit) => void;
|
|
15
|
-
onApply: () => void;
|
|
16
|
-
};
|
|
17
|
-
declare const Resize: FC<Props>;
|
|
18
|
-
export default Resize;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export { default as Crop } from './Crop';
|
|
2
|
-
export { default as Extension } from './Extension';
|
|
3
|
-
export { default as Resize } from './Resize';
|
|
4
|
-
export { default as Rotate } from './Rotate';
|
|
5
|
-
export { default as Format } from './Format';
|
|
6
|
-
export { default as Quality } from './Quality';
|
|
7
|
-
export { default as Metadata } from './Metadata';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { CtaTextTransform } from '@/GlobalConfigContext';
|
|
3
|
-
import { TrackingParameter, Transformation } from '@/types/assets';
|
|
4
|
-
import { Asset, AssetLinkInfo, AssetTransformationInfo, MediaType, Proxy } from '@/types/search';
|
|
5
|
-
type Props = {
|
|
6
|
-
allowCustomFormat: boolean;
|
|
7
|
-
allowedExtensions?: string[];
|
|
8
|
-
allowFavorites: boolean;
|
|
9
|
-
allowFormatDialogPin?: boolean;
|
|
10
|
-
allowProxy: boolean;
|
|
11
|
-
allowTracking: boolean;
|
|
12
|
-
appendAutoExtension?: boolean;
|
|
13
|
-
autoExtension: string;
|
|
14
|
-
availableExtensions?: Record<MediaType, {
|
|
15
|
-
displayName: string;
|
|
16
|
-
value: string;
|
|
17
|
-
}[]>;
|
|
18
|
-
availableProxies?: Proxy[];
|
|
19
|
-
ctaText?: string;
|
|
20
|
-
ctaTextTransform?: CtaTextTransform;
|
|
21
|
-
extensions: string[];
|
|
22
|
-
isFavorite?: boolean;
|
|
23
|
-
isPinned?: boolean;
|
|
24
|
-
maxHeight?: number;
|
|
25
|
-
open: boolean;
|
|
26
|
-
previewUrl?: string;
|
|
27
|
-
selectedAsset: Asset | null;
|
|
28
|
-
showVersions?: boolean;
|
|
29
|
-
supportedRepresentativeSubtypes?: string[];
|
|
30
|
-
variant?: 'dialog' | 'drawer';
|
|
31
|
-
boundary?: HTMLElement | null;
|
|
32
|
-
onClose: () => void;
|
|
33
|
-
onFavorite: () => Promise<boolean>;
|
|
34
|
-
onPin?: () => Promise<boolean>;
|
|
35
|
-
onProxyConfirm: (value: {
|
|
36
|
-
extension: string;
|
|
37
|
-
parameters?: TrackingParameter[];
|
|
38
|
-
permanentLink?: string;
|
|
39
|
-
useRepresentative?: boolean;
|
|
40
|
-
value: string;
|
|
41
|
-
selectedProxyMetadata?: AssetLinkInfo;
|
|
42
|
-
}) => Promise<void>;
|
|
43
|
-
onFormatConfirm: (value: {
|
|
44
|
-
extension?: string;
|
|
45
|
-
parameters?: TrackingParameter[];
|
|
46
|
-
proxiesPreference?: string;
|
|
47
|
-
value: Transformation[];
|
|
48
|
-
sourceProxyMetadata?: AssetLinkInfo;
|
|
49
|
-
transformedAssetMetadata?: AssetTransformationInfo;
|
|
50
|
-
}) => Promise<void>;
|
|
51
|
-
onUnPin?: () => Promise<boolean>;
|
|
52
|
-
onUnFavorite: () => Promise<boolean>;
|
|
53
|
-
};
|
|
54
|
-
declare const FormatDialog: FC<Props>;
|
|
55
|
-
export default FormatDialog;
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import type { CxDialogProps, CxDrawerProps } from '@orangelogic/design-system/react-types';
|
|
2
|
-
export declare const Dialog: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("styled-components/dist/types").BaseObject, CxDialogProps>> & string;
|
|
3
|
-
export declare const Drawer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("styled-components/dist/types").BaseObject, CxDrawerProps>> & string;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './PinButton';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { MediaType } from '@/types/search';
|
|
3
|
-
type Props = {
|
|
4
|
-
loadable: boolean;
|
|
5
|
-
asset: {
|
|
6
|
-
docType?: MediaType;
|
|
7
|
-
imageUrl?: string;
|
|
8
|
-
videoUrl?: string;
|
|
9
|
-
extension?: string;
|
|
10
|
-
};
|
|
11
|
-
onLoad?: ({ width, height }: {
|
|
12
|
-
width: number;
|
|
13
|
-
height: number;
|
|
14
|
-
}) => void;
|
|
15
|
-
};
|
|
16
|
-
declare const Previewer: FC<Props>;
|
|
17
|
-
export default Previewer;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const Container: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|