@orangelogic/orange-dam-content-browser-sdk 2.2.1 → 2.2.3-41YQXP-beta-1
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/README.md +25 -24
- package/build/OrangeDAMContentBrowserSDK.min.css +1 -1
- package/build/OrangeDAMContentBrowserSDK.min.css.map +1 -1
- package/build/OrangeDAMContentBrowserSDK.min.js +11117 -8835
- package/build/OrangeDAMContentBrowserSDK.min.js.map +1 -1
- package/build/cypress/support/commands.d.ts +0 -0
- package/build/cypress/support/component.d.ts +12 -0
- package/build/cypress/support/e2e.d.ts +2 -0
- package/build/index.html +1 -1
- package/build/src/App.d.ts +67 -0
- package/build/{GlobalConfigContext.d.ts → src/GlobalConfigContext.d.ts} +2 -0
- package/build/src/components/Loader/Loader.cy.d.ts +1 -0
- package/build/{components → src/components}/Loader/Loader.d.ts +1 -0
- package/build/src/components/NoResult/NoResult.cy.d.ts +1 -0
- package/build/{index.d.ts → src/index.d.ts} +12 -10
- package/build/src/page/Authenticate/Authenticate.cy.d.ts +1 -0
- package/build/{store → src/store}/auth/auth.slice.d.ts +3 -3
- package/build/src/store/index.d.ts +12 -0
- package/build/{types → src/types}/auth.d.ts +0 -12
- package/build/{types → src/types}/search.d.ts +0 -36
- package/build/{utils → src/utils}/api.d.ts +0 -6
- package/build/{utils → src/utils}/constants.d.ts +0 -9
- package/build/{utils → src/utils}/string.d.ts +0 -6
- package/build/src/utils/utils.cy.d.ts +1 -0
- package/build/src/view/AssetsPicker.d.ts +20 -0
- package/package.json +2 -10
- package/build/ApiService.d.ts +0 -15
- package/build/App.d.ts +0 -64
- package/build/components/ArrayClamp/ArrayClamp.d.ts +0 -10
- package/build/components/ArrayClamp/ArrayClamp.styled.d.ts +0 -1
- package/build/components/ArrayClamp/index.d.ts +0 -1
- package/build/components/Browser/Browser.constants.d.ts +0 -3
- package/build/components/Browser/Browser.d.ts +0 -23
- package/build/components/Browser/Browser.styled.d.ts +0 -2
- package/build/components/Browser/BrowserItem.d.ts +0 -14
- package/build/components/Browser/LoadMoreButton.d.ts +0 -9
- package/build/components/Browser/index.d.ts +0 -1
- package/build/components/ControlBar/ControlBar.constants.d.ts +0 -10
- package/build/components/ControlBar/ControlBar.d.ts +0 -23
- package/build/components/ControlBar/ControlBar.styled.d.ts +0 -1
- package/build/components/ControlBar/Facet/Facet.d.ts +0 -14
- package/build/components/ControlBar/Facet/index.d.ts +0 -1
- package/build/components/ControlBar/index.d.ts +0 -1
- package/build/components/FormatDialog/CropPreviewer/CropPreviewer.d.ts +0 -41
- package/build/components/FormatDialog/CropPreviewer/index.d.ts +0 -3
- package/build/components/FormatDialog/CustomRendition/CustomRendition.constants.d.ts +0 -5
- package/build/components/FormatDialog/CustomRendition/CustomRendition.d.ts +0 -56
- package/build/components/FormatDialog/CustomRendition/CustomRendition.styled.d.ts +0 -1
- package/build/components/FormatDialog/CustomRendition/index.d.ts +0 -1
- package/build/components/FormatDialog/CustomRendition/transformations/Crop.d.ts +0 -26
- package/build/components/FormatDialog/CustomRendition/transformations/Extension.d.ts +0 -11
- package/build/components/FormatDialog/CustomRendition/transformations/Format.d.ts +0 -10
- package/build/components/FormatDialog/CustomRendition/transformations/Metadata.d.ts +0 -7
- package/build/components/FormatDialog/CustomRendition/transformations/Quality.d.ts +0 -7
- package/build/components/FormatDialog/CustomRendition/transformations/Resize.d.ts +0 -18
- package/build/components/FormatDialog/CustomRendition/transformations/Rotate.d.ts +0 -8
- package/build/components/FormatDialog/CustomRendition/transformations/index.d.ts +0 -7
- package/build/components/FormatDialog/FormatDialog.d.ts +0 -49
- package/build/components/FormatDialog/FormatDialog.styled.d.ts +0 -3
- package/build/components/FormatDialog/Previewer/Previewer.d.ts +0 -17
- package/build/components/FormatDialog/Previewer/Previewer.styled.d.ts +0 -1
- package/build/components/FormatDialog/Previewer/index.d.ts +0 -1
- package/build/components/FormatDialog/ProxyMenu/ProxyMenu.d.ts +0 -20
- package/build/components/FormatDialog/ProxyMenu/ProxyMenu.styled.d.ts +0 -2
- package/build/components/FormatDialog/ProxyMenu/index.d.ts +0 -1
- package/build/components/FormatDialog/TrackingParameters/TrackingParameters.d.ts +0 -13
- package/build/components/FormatDialog/TrackingParameters/index.d.ts +0 -1
- package/build/components/FormatDialog/VersionHistory/VersionHistory.d.ts +0 -6
- package/build/components/FormatDialog/VersionHistory/VersionHistory.styled.d.ts +0 -1
- package/build/components/FormatDialog/VersionHistory/index.d.ts +0 -1
- package/build/components/FormatDialog/index.d.ts +0 -1
- package/build/components/Header/Header.d.ts +0 -16
- package/build/components/Header/Header.styled.d.ts +0 -5
- package/build/components/Header/index.d.ts +0 -1
- package/build/components/LineClamp/LineClamp.d.ts +0 -4
- package/build/components/LineClamp/index.d.ts +0 -1
- package/build/components/Result/AssetCard/AssetCard.d.ts +0 -15
- package/build/components/Result/AssetCard/AssetCard.styled.d.ts +0 -2
- package/build/components/Result/AssetCard/AssetCardWrapper.d.ts +0 -18
- package/build/components/Result/AssetCard/AssetCardWrapper.styled.d.ts +0 -1
- package/build/components/Result/AssetCard/index.d.ts +0 -1
- package/build/components/Result/AssetPreview/AssetPreview.d.ts +0 -11
- package/build/components/Result/AssetPreview/AssetPreview.styled.d.ts +0 -1
- package/build/components/Result/AssetPreview/ImagePreview/ImagePreview.d.ts +0 -11
- package/build/components/Result/AssetPreview/ImagePreview/index.d.ts +0 -1
- package/build/components/Result/AssetPreview/OtherPreview/OtherPreview.d.ts +0 -10
- package/build/components/Result/AssetPreview/OtherPreview/OtherPreview.styled.d.ts +0 -1
- package/build/components/Result/AssetPreview/OtherPreview/index.d.ts +0 -1
- package/build/components/Result/AssetPreview/VideoPreview/VideoPreview.d.ts +0 -11
- package/build/components/Result/AssetPreview/VideoPreview/index.d.ts +0 -1
- package/build/components/Result/AssetPreview/index.d.ts +0 -1
- package/build/consts/asset.d.ts +0 -14
- package/build/consts/data.d.ts +0 -23
- package/build/page/Home/Home.d.ts +0 -6
- package/build/page/Home/Home.styled.d.ts +0 -2
- package/build/page/Home/index.d.ts +0 -1
- package/build/store/assets/assets.api.d.ts +0 -66
- package/build/store/assets/assets.service.d.ts +0 -23
- package/build/store/assets/assets.slice.d.ts +0 -65
- package/build/store/index.d.ts +0 -368
- package/build/store/search/search.api.d.ts +0 -39
- package/build/store/search/search.slice.d.ts +0 -12
- package/build/store/user/user.api.d.ts +0 -5
- package/build/types/assets.d.ts +0 -74
- package/build/types/common.d.ts +0 -11
- package/build/types/download.d.ts +0 -8
- package/build/types/navigation.d.ts +0 -3
- package/build/types/user.d.ts +0 -7
- package/build/utils/array.d.ts +0 -13
- package/build/utils/browser.d.ts +0 -1
- package/build/utils/icon.d.ts +0 -3
- package/build/utils/image.d.ts +0 -69
- package/build/utils/mergeRefs.d.ts +0 -14
- package/build/utils/number.d.ts +0 -4
- package/build/utils/rotate.d.ts +0 -4
- package/build/view/AssetsPicker.d.ts +0 -6
- /package/build/{AppContext.d.ts → src/AppContext.d.ts} +0 -0
- /package/build/{components → src/components}/Loader/index.d.ts +0 -0
- /package/build/{components → src/components}/NoResult/NoResult.d.ts +0 -0
- /package/build/{components → src/components}/NoResult/index.d.ts +0 -0
- /package/build/{consts → src/consts}/auth.d.ts +0 -0
- /package/build/{page → src/page}/Authenticate/Authenticate.d.ts +0 -0
- /package/build/{page → src/page}/Authenticate/ConnectingBackground.d.ts +0 -0
- /package/build/{page → src/page}/Authenticate/index.d.ts +0 -0
- /package/build/{setupTests.d.ts → src/setupTests.d.ts} +0 -0
- /package/build/{store → src/store}/auth/auth.service.d.ts +0 -0
- /package/build/{types → src/types}/storage.d.ts +0 -0
- /package/build/{utils → src/utils}/function.d.ts +0 -0
- /package/build/{utils → src/utils}/getRequestUrl.d.ts +0 -0
- /package/build/{utils → src/utils}/hooks.d.ts +0 -0
- /package/build/{utils → src/utils}/storage.d.ts +0 -0
package/build/App.d.ts
DELETED
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
import '@orangelogic-private/design-system/assets/design-system.css';
|
|
2
|
-
import '@orangelogic-private/design-system/assets/outlined.css';
|
|
3
|
-
import '@orangelogic-private/design-system/components/alert';
|
|
4
|
-
import '@orangelogic-private/design-system/components/avatar';
|
|
5
|
-
import '@orangelogic-private/design-system/components/badge';
|
|
6
|
-
import '@orangelogic-private/design-system/components/button';
|
|
7
|
-
import '@orangelogic-private/design-system/components/button-group';
|
|
8
|
-
import '@orangelogic-private/design-system/components/card';
|
|
9
|
-
import '@orangelogic-private/design-system/components/checkbox';
|
|
10
|
-
import '@orangelogic-private/design-system/components/copy-button';
|
|
11
|
-
import '@orangelogic-private/design-system/components/details';
|
|
12
|
-
import '@orangelogic-private/design-system/components/dialog';
|
|
13
|
-
import '@orangelogic-private/design-system/components/divider';
|
|
14
|
-
import '@orangelogic-private/design-system/components/drawer';
|
|
15
|
-
import '@orangelogic-private/design-system/components/dropdown';
|
|
16
|
-
import '@orangelogic-private/design-system/components/grid';
|
|
17
|
-
import '@orangelogic-private/design-system/components/grid-item';
|
|
18
|
-
import '@orangelogic-private/design-system/components/icon';
|
|
19
|
-
import '@orangelogic-private/design-system/components/icon-button';
|
|
20
|
-
import '@orangelogic-private/design-system/components/input';
|
|
21
|
-
import '@orangelogic-private/design-system/components/input-group';
|
|
22
|
-
import '@orangelogic-private/design-system/components/line-clamp';
|
|
23
|
-
import '@orangelogic-private/design-system/components/menu';
|
|
24
|
-
import '@orangelogic-private/design-system/components/menu-item';
|
|
25
|
-
import '@orangelogic-private/design-system/components/menu-label';
|
|
26
|
-
import '@orangelogic-private/design-system/components/option';
|
|
27
|
-
import '@orangelogic-private/design-system/components/progress-bar';
|
|
28
|
-
import '@orangelogic-private/design-system/components/resize-observer';
|
|
29
|
-
import '@orangelogic-private/design-system/components/select';
|
|
30
|
-
import '@orangelogic-private/design-system/components/skeleton';
|
|
31
|
-
import '@orangelogic-private/design-system/components/space';
|
|
32
|
-
import '@orangelogic-private/design-system/components/spinner';
|
|
33
|
-
import '@orangelogic-private/design-system/components/switch';
|
|
34
|
-
import '@orangelogic-private/design-system/components/tag';
|
|
35
|
-
import '@orangelogic-private/design-system/components/tooltip';
|
|
36
|
-
import '@orangelogic-private/design-system/components/tree';
|
|
37
|
-
import '@orangelogic-private/design-system/components/tree-item';
|
|
38
|
-
import '@orangelogic-private/design-system/components/typography';
|
|
39
|
-
import '@orangelogic-private/design-system/css/ol-light.css';
|
|
40
|
-
import '@orangelogic-private/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
|
-
onAssetAction: AppContextType['onAssetAction'];
|
|
56
|
-
onAssetSelected: AppContextType['onAssetSelected'];
|
|
57
|
-
onAppAuthUrlCopied: AppContextType['onAppAuthUrlCopied'];
|
|
58
|
-
onImageSelected: AppContextType['onImageSelected'];
|
|
59
|
-
onConnectClicked?: (url: string) => void;
|
|
60
|
-
onTokenChanged?: (token: string) => void;
|
|
61
|
-
onSiteUrlChanged?: (siteUrl: string) => void;
|
|
62
|
-
};
|
|
63
|
-
export declare const App: FC<Props>;
|
|
64
|
-
export default App;
|
|
@@ -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,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-private/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,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,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,41 +0,0 @@
|
|
|
1
|
-
import { Area } from 'react-easy-crop';
|
|
2
|
-
import { Unit } from '@/types/assets';
|
|
3
|
-
type Props = {
|
|
4
|
-
disabled: boolean;
|
|
5
|
-
loadable: boolean;
|
|
6
|
-
image: {
|
|
7
|
-
url: string;
|
|
8
|
-
originalUrl: string;
|
|
9
|
-
extension: string;
|
|
10
|
-
width: number;
|
|
11
|
-
height: number;
|
|
12
|
-
x: number;
|
|
13
|
-
y: number;
|
|
14
|
-
rotation: number;
|
|
15
|
-
};
|
|
16
|
-
selectedProxy: string;
|
|
17
|
-
resizer: {
|
|
18
|
-
width: number;
|
|
19
|
-
height: number;
|
|
20
|
-
};
|
|
21
|
-
cropper: {
|
|
22
|
-
width: number;
|
|
23
|
-
height: number;
|
|
24
|
-
percentageWidth: number;
|
|
25
|
-
percentageHeight: number;
|
|
26
|
-
x: number;
|
|
27
|
-
y: number;
|
|
28
|
-
unit: Unit;
|
|
29
|
-
};
|
|
30
|
-
rotation: number;
|
|
31
|
-
onCropComplete: (croppedArea: Area, croppedAreaPixels: Area) => void;
|
|
32
|
-
onLoadingChange: (loading: boolean) => void;
|
|
33
|
-
};
|
|
34
|
-
export type CropPreviewerHandle = {
|
|
35
|
-
applyResize: () => Promise<string>;
|
|
36
|
-
applyCrop: () => Promise<string>;
|
|
37
|
-
applyRotation: () => Promise<string>;
|
|
38
|
-
setZoom: (zoom: number) => void;
|
|
39
|
-
};
|
|
40
|
-
declare const CropPreviewer: import("react").ForwardRefExoticComponent<Props & import("react").RefAttributes<CropPreviewerHandle>>;
|
|
41
|
-
export default CropPreviewer;
|
|
@@ -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,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,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,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,49 +0,0 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { TrackingParameter, Transformation } from '@/types/assets';
|
|
3
|
-
import { Asset, AssetLinkInfo, AssetTransformationInfo, MediaType, Proxy } from '@/types/search';
|
|
4
|
-
type Props = {
|
|
5
|
-
allowCustomFormat: boolean;
|
|
6
|
-
allowedExtensions?: string[];
|
|
7
|
-
allowFavorites: boolean;
|
|
8
|
-
allowProxy: boolean;
|
|
9
|
-
allowTracking: boolean;
|
|
10
|
-
appendAutoExtension?: boolean;
|
|
11
|
-
autoExtension: string;
|
|
12
|
-
availableExtensions?: Record<MediaType, {
|
|
13
|
-
displayName: string;
|
|
14
|
-
value: string;
|
|
15
|
-
}[]>;
|
|
16
|
-
availableProxies?: Proxy[];
|
|
17
|
-
ctaText?: string;
|
|
18
|
-
extensions: string[];
|
|
19
|
-
isFavorite?: boolean;
|
|
20
|
-
maxHeight?: number;
|
|
21
|
-
open: boolean;
|
|
22
|
-
previewUrl?: string;
|
|
23
|
-
selectedAsset: Asset | null;
|
|
24
|
-
showVersions?: boolean;
|
|
25
|
-
supportedRepresentativeSubtypes?: string[];
|
|
26
|
-
variant?: 'dialog' | 'drawer';
|
|
27
|
-
boundary?: HTMLElement | null;
|
|
28
|
-
onClose: () => void;
|
|
29
|
-
onFavorite: () => Promise<boolean>;
|
|
30
|
-
onProxyConfirm: (value: {
|
|
31
|
-
extension: string;
|
|
32
|
-
parameters?: TrackingParameter[];
|
|
33
|
-
permanentLink?: string;
|
|
34
|
-
useRepresentative?: boolean;
|
|
35
|
-
value: string;
|
|
36
|
-
selectedProxyMetadata?: AssetLinkInfo;
|
|
37
|
-
}) => Promise<void>;
|
|
38
|
-
onFormatConfirm: (value: {
|
|
39
|
-
extension?: string;
|
|
40
|
-
parameters?: TrackingParameter[];
|
|
41
|
-
proxiesPreference?: string;
|
|
42
|
-
value: Transformation[];
|
|
43
|
-
sourceProxyMetadata?: AssetLinkInfo;
|
|
44
|
-
transformedAssetMetadata?: AssetTransformationInfo;
|
|
45
|
-
}) => Promise<void>;
|
|
46
|
-
onUnFavorite: () => Promise<boolean>;
|
|
47
|
-
};
|
|
48
|
-
declare const FormatDialog: FC<Props>;
|
|
49
|
-
export default FormatDialog;
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import type { CxDialogProps, CxDrawerProps } from '@orangelogic-private/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,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;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './Previewer';
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { ReactNode, CSSProperties } from 'react';
|
|
2
|
-
type MenuItemProps = {
|
|
3
|
-
cdnName?: string | null;
|
|
4
|
-
docType?: string;
|
|
5
|
-
extension?: string;
|
|
6
|
-
height?: string;
|
|
7
|
-
image?: string;
|
|
8
|
-
name: string;
|
|
9
|
-
value: string;
|
|
10
|
-
width?: string;
|
|
11
|
-
};
|
|
12
|
-
type Props = {
|
|
13
|
-
items?: MenuItemProps[];
|
|
14
|
-
selectedItem?: string;
|
|
15
|
-
children?: ReactNode;
|
|
16
|
-
style?: CSSProperties;
|
|
17
|
-
selectedDisabled?: boolean;
|
|
18
|
-
};
|
|
19
|
-
declare const ProxyMenu: ({ items, selectedItem, children, style, selectedDisabled }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
20
|
-
export default ProxyMenu;
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import type { CxMenuProps } from '@orangelogic-private/design-system/react-types';
|
|
2
|
-
export declare const Container: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("styled-components/dist/types").BaseObject, CxMenuProps>> & string;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './ProxyMenu';
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
type Props = {
|
|
3
|
-
values: {
|
|
4
|
-
key: string;
|
|
5
|
-
value: string;
|
|
6
|
-
}[];
|
|
7
|
-
onChange: (values: {
|
|
8
|
-
key: string;
|
|
9
|
-
value: string;
|
|
10
|
-
}[]) => void;
|
|
11
|
-
};
|
|
12
|
-
declare const TrackingParameters: FC<Props>;
|
|
13
|
-
export default TrackingParameters;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './TrackingParameters';
|
|
@@ -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 './VersionHistory';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './FormatDialog';
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { FC, ReactNode } from 'react';
|
|
2
|
-
import { Folder } from '@/types/search';
|
|
3
|
-
import { UserInfo } from '@/types/user';
|
|
4
|
-
type Props = {
|
|
5
|
-
bordered?: boolean;
|
|
6
|
-
children?: ReactNode;
|
|
7
|
-
currentFolder: Folder;
|
|
8
|
-
isLoading?: boolean;
|
|
9
|
-
isFetching?: boolean;
|
|
10
|
-
userInfo?: UserInfo;
|
|
11
|
-
showMenu?: boolean;
|
|
12
|
-
onMenuClick: () => void;
|
|
13
|
-
onLogout: () => void;
|
|
14
|
-
};
|
|
15
|
-
declare const Header: FC<Props>;
|
|
16
|
-
export default Header;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export declare const Container: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("styled-components/dist/types").BaseObject, import("react").ClassAttributes<import("@orangelogic-private/design-system").CxSpace> & import("@orangelogic-private/design-system/react-types").CxSpaceAttributes & {
|
|
2
|
-
class?: string;
|
|
3
|
-
} & {
|
|
4
|
-
bordered?: boolean;
|
|
5
|
-
}>> & string;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './Header';
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import type { CxLineClamp } from '@orangelogic-private/design-system';
|
|
2
|
-
import type { CxLineClampProps } from '@orangelogic-private/design-system/react-types';
|
|
3
|
-
declare const LineClamp: import("react").ForwardRefExoticComponent<Omit<CxLineClampProps, "ref"> & import("react").RefAttributes<CxLineClamp>>;
|
|
4
|
-
export default LineClamp;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './LineClamp';
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { ImageCardDisplayInfo } from '@/GlobalConfigContext';
|
|
3
|
-
import { Asset, GridView } from '@/types/search';
|
|
4
|
-
type Props = {
|
|
5
|
-
id: string;
|
|
6
|
-
asset: Asset;
|
|
7
|
-
displayInfo: ImageCardDisplayInfo;
|
|
8
|
-
isSelected: boolean;
|
|
9
|
-
view: GridView;
|
|
10
|
-
onItemSelect: (asset: Asset) => void;
|
|
11
|
-
onMount?: (id: string) => void;
|
|
12
|
-
onLoaded?: (id: string) => void;
|
|
13
|
-
};
|
|
14
|
-
declare const AssetCard: FC<Props>;
|
|
15
|
-
export default AssetCard;
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import type { CxCardProps } from '@orangelogic-private/design-system/react-types';
|
|
2
|
-
export declare const Card: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("styled-components/dist/types").BaseObject, CxCardProps>> & string;
|