@orangelogic/orange-dam-content-browser-sdk 0.1.0-ci.12
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 +95 -0
- package/build/OrangeDAMContentBrowserSDK.min.css +2 -0
- package/build/OrangeDAMContentBrowserSDK.min.css.map +1 -0
- package/build/OrangeDAMContentBrowserSDK.min.js +11703 -0
- package/build/OrangeDAMContentBrowserSDK.min.js.map +1 -0
- package/build/asset-manifest.json +13 -0
- 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/favicon.ico +0 -0
- package/build/index.html +1 -0
- package/build/logo192.png +0 -0
- package/build/logo512.png +0 -0
- package/build/manifest.json +25 -0
- package/build/robots.txt +3 -0
- package/build/src/ApiService.d.ts +15 -0
- package/build/src/App.d.ts +64 -0
- package/build/src/AppContext.d.ts +19 -0
- package/build/src/GlobalConfigContext.d.ts +35 -0
- package/build/src/components/ArrayClamp/ArrayClamp.cy.d.ts +1 -0
- package/build/src/components/ArrayClamp/ArrayClamp.d.ts +10 -0
- package/build/src/components/ArrayClamp/ArrayClamp.styled.d.ts +1 -0
- package/build/src/components/ArrayClamp/index.d.ts +1 -0
- package/build/src/components/Browser/Browser.constants.d.ts +3 -0
- package/build/src/components/Browser/Browser.cy.d.ts +1 -0
- package/build/src/components/Browser/Browser.d.ts +23 -0
- package/build/src/components/Browser/Browser.styled.d.ts +2 -0
- package/build/src/components/Browser/BrowserItem.d.ts +14 -0
- package/build/src/components/Browser/LoadMoreButton.d.ts +9 -0
- package/build/src/components/Browser/index.d.ts +1 -0
- package/build/src/components/ControlBar/ControlBar.constants.d.ts +10 -0
- package/build/src/components/ControlBar/ControlBar.cy.d.ts +1 -0
- package/build/src/components/ControlBar/ControlBar.d.ts +23 -0
- package/build/src/components/ControlBar/ControlBar.styled.d.ts +1 -0
- package/build/src/components/ControlBar/Facet/Facet.cy.d.ts +1 -0
- package/build/src/components/ControlBar/Facet/Facet.d.ts +14 -0
- package/build/src/components/ControlBar/Facet/index.d.ts +1 -0
- package/build/src/components/ControlBar/index.d.ts +1 -0
- package/build/src/components/FormatDialog/CropPreviewer/CropPreviewer.cy.d.ts +1 -0
- package/build/src/components/FormatDialog/CropPreviewer/CropPreviewer.d.ts +44 -0
- package/build/src/components/FormatDialog/CropPreviewer/index.d.ts +3 -0
- package/build/src/components/FormatDialog/CustomRendition/CustomRendition.constants.d.ts +5 -0
- package/build/src/components/FormatDialog/CustomRendition/CustomRendition.cy.d.ts +1 -0
- package/build/src/components/FormatDialog/CustomRendition/CustomRendition.d.ts +56 -0
- package/build/src/components/FormatDialog/CustomRendition/CustomRendition.styled.d.ts +1 -0
- package/build/src/components/FormatDialog/CustomRendition/index.d.ts +1 -0
- package/build/src/components/FormatDialog/CustomRendition/transformations/Crop.cy.d.ts +1 -0
- package/build/src/components/FormatDialog/CustomRendition/transformations/Crop.d.ts +26 -0
- package/build/src/components/FormatDialog/CustomRendition/transformations/Extension.cy.d.ts +1 -0
- package/build/src/components/FormatDialog/CustomRendition/transformations/Extension.d.ts +11 -0
- package/build/src/components/FormatDialog/CustomRendition/transformations/Format.cy.d.ts +1 -0
- package/build/src/components/FormatDialog/CustomRendition/transformations/Format.d.ts +10 -0
- package/build/src/components/FormatDialog/CustomRendition/transformations/Metadata.cy.d.ts +1 -0
- package/build/src/components/FormatDialog/CustomRendition/transformations/Metadata.d.ts +7 -0
- package/build/src/components/FormatDialog/CustomRendition/transformations/Quality.cy.d.ts +1 -0
- package/build/src/components/FormatDialog/CustomRendition/transformations/Quality.d.ts +7 -0
- package/build/src/components/FormatDialog/CustomRendition/transformations/Resize.cy.d.ts +1 -0
- package/build/src/components/FormatDialog/CustomRendition/transformations/Resize.d.ts +18 -0
- package/build/src/components/FormatDialog/CustomRendition/transformations/Rotate.cy.d.ts +1 -0
- package/build/src/components/FormatDialog/CustomRendition/transformations/Rotate.d.ts +8 -0
- package/build/src/components/FormatDialog/CustomRendition/transformations/index.d.ts +7 -0
- package/build/src/components/FormatDialog/FormatDialog.cy.d.ts +1 -0
- package/build/src/components/FormatDialog/FormatDialog.d.ts +51 -0
- package/build/src/components/FormatDialog/FormatDialog.styled.d.ts +3 -0
- package/build/src/components/FormatDialog/Previewer/Previewer.cy.d.ts +1 -0
- package/build/src/components/FormatDialog/Previewer/Previewer.d.ts +17 -0
- package/build/src/components/FormatDialog/Previewer/Previewer.styled.d.ts +1 -0
- package/build/src/components/FormatDialog/Previewer/index.d.ts +1 -0
- package/build/src/components/FormatDialog/ProxyMenu/ProxyMenu.cy.d.ts +1 -0
- package/build/src/components/FormatDialog/ProxyMenu/ProxyMenu.d.ts +20 -0
- package/build/src/components/FormatDialog/ProxyMenu/ProxyMenu.styled.d.ts +2 -0
- package/build/src/components/FormatDialog/ProxyMenu/index.d.ts +1 -0
- package/build/src/components/FormatDialog/TrackingParameters/TrackingParameters.cy.d.ts +1 -0
- package/build/src/components/FormatDialog/TrackingParameters/TrackingParameters.d.ts +13 -0
- package/build/src/components/FormatDialog/TrackingParameters/index.d.ts +1 -0
- package/build/src/components/FormatDialog/VersionHistory/VersionHistory.cy.d.ts +1 -0
- package/build/src/components/FormatDialog/VersionHistory/VersionHistory.d.ts +6 -0
- package/build/src/components/FormatDialog/VersionHistory/VersionHistory.styled.d.ts +1 -0
- package/build/src/components/FormatDialog/VersionHistory/index.d.ts +1 -0
- package/build/src/components/FormatDialog/index.d.ts +1 -0
- package/build/src/components/Header/Header.cy.d.ts +1 -0
- package/build/src/components/Header/Header.d.ts +16 -0
- package/build/src/components/Header/Header.styled.d.ts +5 -0
- package/build/src/components/Header/index.d.ts +1 -0
- package/build/src/components/LineClamp/LineClamp.d.ts +4 -0
- package/build/src/components/LineClamp/index.d.ts +1 -0
- package/build/src/components/Loader/Loader.cy.d.ts +1 -0
- package/build/src/components/Loader/Loader.d.ts +7 -0
- package/build/src/components/Loader/index.d.ts +1 -0
- package/build/src/components/NoResult/NoResult.cy.d.ts +1 -0
- package/build/src/components/NoResult/NoResult.d.ts +7 -0
- package/build/src/components/NoResult/index.d.ts +1 -0
- package/build/src/components/Result/AssetCard/AssetCard.d.ts +15 -0
- package/build/src/components/Result/AssetCard/AssetCard.styled.d.ts +2 -0
- package/build/src/components/Result/AssetCard/AssetCardWrapper.cy.d.ts +1 -0
- package/build/src/components/Result/AssetCard/AssetCardWrapper.d.ts +22 -0
- package/build/src/components/Result/AssetCard/AssetCardWrapper.styled.d.ts +1 -0
- package/build/src/components/Result/AssetCard/index.d.ts +1 -0
- package/build/src/components/Result/AssetPreview/AssetPreview.cy.d.ts +1 -0
- package/build/src/components/Result/AssetPreview/AssetPreview.d.ts +11 -0
- package/build/src/components/Result/AssetPreview/AssetPreview.styled.d.ts +1 -0
- package/build/src/components/Result/AssetPreview/ImagePreview/ImagePreview.cy.d.ts +1 -0
- package/build/src/components/Result/AssetPreview/ImagePreview/ImagePreview.d.ts +11 -0
- package/build/src/components/Result/AssetPreview/ImagePreview/index.d.ts +1 -0
- package/build/src/components/Result/AssetPreview/OtherPreview/OtherPreview.cy.d.ts +1 -0
- package/build/src/components/Result/AssetPreview/OtherPreview/OtherPreview.d.ts +10 -0
- package/build/src/components/Result/AssetPreview/OtherPreview/OtherPreview.styled.d.ts +1 -0
- package/build/src/components/Result/AssetPreview/OtherPreview/index.d.ts +1 -0
- package/build/src/components/Result/AssetPreview/VideoPreview/VideoPreview.cy.d.ts +1 -0
- package/build/src/components/Result/AssetPreview/VideoPreview/VideoPreview.d.ts +11 -0
- package/build/src/components/Result/AssetPreview/VideoPreview/index.d.ts +1 -0
- package/build/src/components/Result/AssetPreview/index.d.ts +1 -0
- package/build/src/consts/asset.d.ts +14 -0
- package/build/src/consts/auth.d.ts +4 -0
- package/build/src/consts/data.d.ts +23 -0
- package/build/src/index.d.ts +240 -0
- package/build/src/page/Authenticate/Authenticate.cy.d.ts +1 -0
- package/build/src/page/Authenticate/Authenticate.d.ts +2 -0
- package/build/src/page/Authenticate/ConnectingBackground.d.ts +8 -0
- package/build/src/page/Authenticate/index.d.ts +2 -0
- package/build/src/page/Home/Home.d.ts +6 -0
- package/build/src/page/Home/Home.styled.d.ts +2 -0
- package/build/src/page/Home/index.d.ts +1 -0
- package/build/src/setupTests.d.ts +1 -0
- package/build/src/store/assets/assets.api.d.ts +66 -0
- package/build/src/store/assets/assets.service.d.ts +23 -0
- package/build/src/store/assets/assets.slice.d.ts +65 -0
- package/build/src/store/auth/auth.service.d.ts +10 -0
- package/build/src/store/auth/auth.slice.d.ts +76 -0
- package/build/src/store/index.d.ts +368 -0
- package/build/src/store/search/search.api.d.ts +39 -0
- package/build/src/store/search/search.slice.d.ts +12 -0
- package/build/src/store/user/user.api.d.ts +5 -0
- package/build/src/types/assets.d.ts +74 -0
- package/build/src/types/auth.d.ts +35 -0
- package/build/src/types/common.d.ts +11 -0
- package/build/src/types/download.d.ts +8 -0
- package/build/src/types/navigation.d.ts +3 -0
- package/build/src/types/search.d.ts +152 -0
- package/build/src/types/storage.d.ts +1 -0
- package/build/src/types/user.d.ts +7 -0
- package/build/src/utils/api.d.ts +27 -0
- package/build/src/utils/array.d.ts +13 -0
- package/build/src/utils/browser.d.ts +1 -0
- package/build/src/utils/constants.d.ts +11 -0
- package/build/src/utils/dom.d.ts +7 -0
- package/build/src/utils/function.d.ts +1 -0
- package/build/src/utils/getRequestUrl.d.ts +1 -0
- package/build/src/utils/hooks.d.ts +1 -0
- package/build/src/utils/icon.d.ts +3 -0
- package/build/src/utils/image.d.ts +69 -0
- package/build/src/utils/mergeRefs.d.ts +14 -0
- package/build/src/utils/number.d.ts +4 -0
- package/build/src/utils/rotate.d.ts +4 -0
- package/build/src/utils/storage.d.ts +23 -0
- package/build/src/utils/string.d.ts +12 -0
- package/build/src/utils/utils.cy.d.ts +1 -0
- package/build/src/view/AssetsPicker.d.ts +6 -0
- package/package.json +223 -0
package/README.md
ADDED
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
# Introduction
|
|
2
|
+
Orange Logic’s OrangeDAM Content Browser SDK allows authenticated users to browse Orange Logic assets in external web applications. You can use this tool to develop custom integrations between your Orange Logic platform and other software your organization uses.
|
|
3
|
+
|
|
4
|
+
For example, let’s say your organization’s creative team stores images in Orange Logic. However, the marketing team uses a Content Management System (CMS) to build webpages. You can add the OrangeDAM Content Browser SDK to your CMS so users can search, filter, and select assets directly from Orange Logic, and then use them in your CMS.
|
|
5
|
+
|
|
6
|
+
# Getting Started
|
|
7
|
+
|
|
8
|
+
## Installation process
|
|
9
|
+
|
|
10
|
+
### Environment Setup
|
|
11
|
+
1. Copy the environment template:
|
|
12
|
+
|
|
13
|
+
**Unix/macOS:**
|
|
14
|
+
```bash
|
|
15
|
+
cp .env.example .env.local
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
**Windows Command Prompt:**
|
|
19
|
+
```cmd
|
|
20
|
+
copy .env.example .env.local
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
**Windows PowerShell:**
|
|
24
|
+
```powershell
|
|
25
|
+
Copy-Item .env.example .env.local
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
2. Install dependencies (this will load the environment variables automatically):
|
|
29
|
+
|
|
30
|
+
**Unix/macOS:**
|
|
31
|
+
```bash
|
|
32
|
+
yarn install
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
## Software dependencies
|
|
36
|
+
NodeJS v18 or higher
|
|
37
|
+
|
|
38
|
+
## Latest releases
|
|
39
|
+
Content Browser SDK v2.1.0
|
|
40
|
+
|
|
41
|
+
# Build and Test
|
|
42
|
+
- Run the project with
|
|
43
|
+
```
|
|
44
|
+
yarn start
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
- Build with
|
|
48
|
+
```
|
|
49
|
+
yarn build
|
|
50
|
+
```
|
|
51
|
+
- use the 2 files `build\static\js\ContentBrowserSDK.min.js` and `build\static\css\ContentBrowserSDK.min.css` in your other projects
|
|
52
|
+
|
|
53
|
+
# More guide
|
|
54
|
+
For detail guides on usage check out the [Orange Logic Developer Portal](https://developer.orangelogic.com/docs/generic-asset-browser)
|
|
55
|
+
|
|
56
|
+
# Change Log
|
|
57
|
+
* Dec 19, 2025 - v2.2.1
|
|
58
|
+
* Fix various bugs and issues from v2.2.0
|
|
59
|
+
* Various improment in UI/UX
|
|
60
|
+
* Assets in cold storage are now visually disabled and prevented from being selected, with a clear message displayed to users.
|
|
61
|
+
* Enhanced asset preview component to support custom icon display.
|
|
62
|
+
* Avatar URL handling updated to correctly detect and preserve fully-qualified (http/https) avatar links while continuing to prefix relative avatar paths with the site's base URL.
|
|
63
|
+
* Updated design system dependency to the latest version
|
|
64
|
+
* Enhanced view menu item alignment in the control bar for better positioning
|
|
65
|
+
* Nov 10, 2025 - v2.2.0
|
|
66
|
+
* Better multimedia support (video/story/widget)
|
|
67
|
+
* Highlighted search terms
|
|
68
|
+
* Persistent/overlay sidebar
|
|
69
|
+
* Refined asset previews/cards
|
|
70
|
+
* Copy-to-clipboard for auth URL
|
|
71
|
+
* Token change/connect hooks
|
|
72
|
+
* Asset version history with previews
|
|
73
|
+
* Favorites (favorite/unfavorite)
|
|
74
|
+
* Load-more pagination
|
|
75
|
+
* Custom rendition controls (quality, preserve metadata)
|
|
76
|
+
* Asset selection
|
|
77
|
+
* Various improvements in search, filtering, and UI/UX
|
|
78
|
+
* Apr 8, 2025 - v2.1.0
|
|
79
|
+
* Rename GAB to Content Browser SDK
|
|
80
|
+
* Revamp the Content Browser SDK's entire UI
|
|
81
|
+
* Add a new demo page with more explanations on the invoke function's properties
|
|
82
|
+
* Content Browser SDK now allows you to pick all asset file extensions
|
|
83
|
+
* Add on-the-fly image transformation functionality
|
|
84
|
+
* Add tracking link capabilities
|
|
85
|
+
* More control on the Content Browser's invoke parameters level and Orange DAM administrative level
|
|
86
|
+
* Dec 20, 2024 - v1.2.2
|
|
87
|
+
* Change Orange DAM to OrangeDAM
|
|
88
|
+
* GAB in demo will not pre populate with "https://cortexdemo2.orangelogic.com/" any more
|
|
89
|
+
* Nov 08, 2024 - v1.2.1
|
|
90
|
+
* Resolve CSS conflict with AEM (https://link.orangelogic.com/Tasks/28L9P3)
|
|
91
|
+
* Jul 09, 2024 - v1.2.0
|
|
92
|
+
* Handle encrypted asset thumbnails (https://link.orangelogic.com/Tasks/4152M3)
|
|
93
|
+
* May 29, 2024 - v1.1.0
|
|
94
|
+
* Add the ability to select a proxy in the GAB UI
|
|
95
|
+
* Handle authentication when reopening the GAB
|