@scaleflex/widget-explorer 4.5.0 → 4.5.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/CHANGELOG.md +11 -0
- package/README.md +21 -3
- package/lib/components/ActionBar/DownloadWithExportButton.js +32 -4
- package/lib/components/AssetsList/ListView/AssetsSection/AssetsSectionTableRow.js +1 -1
- package/lib/components/Breadcrumbs/index.js +114 -6
- package/lib/components/CollectionsView/CollectionFolderIcon.js +35 -0
- package/lib/components/CollectionsView/CollectionVirtualFoldersTree/CollectionTreeSkeletion.js +26 -0
- package/lib/components/CollectionsView/CollectionVirtualFoldersTree/CollectionVirtualFoldersTree.styled.js +52 -0
- package/lib/components/CollectionsView/CollectionVirtualFoldersTree/CollectionVirtualFoldersTree.utils.js +24 -0
- package/lib/components/CollectionsView/CollectionVirtualFoldersTree/Folder.js +88 -0
- package/lib/components/CollectionsView/CollectionVirtualFoldersTree/Tree.js +50 -0
- package/lib/components/CollectionsView/CollectionVirtualFoldersTree/index.js +75 -0
- package/lib/components/CollectionsView/CollectionsSkeleton.js +30 -0
- package/lib/components/CollectionsView/CollectionsTree/ActiveCollectionContent.js +61 -0
- package/lib/components/CollectionsView/CollectionsTree/CollectionTreeItem.js +44 -0
- package/lib/components/CollectionsView/CollectionsTree/CollectionsContent.js +130 -0
- package/lib/components/CollectionsView/CollectionsTree/CollectionsTree.styled.js +84 -0
- package/lib/components/CollectionsView/CollectionsTree/index.js +47 -0
- package/lib/components/CollectionsView/CollectionsView.styled.js +38 -0
- package/lib/components/CollectionsView/VirtualFoldersGrid.js +67 -0
- package/lib/components/CollectionsView/index.js +188 -0
- package/lib/components/Details/Details.constants.js +1 -0
- package/lib/components/FileItem/FileInfo/index.js +8 -2
- package/lib/components/FileWindowPanel/FileTabs/VariationsTab/VariationsTabNavigator.js +1 -7
- package/lib/components/FileWindowPanel/FileTabs/VariationsTab/index.js +4 -1
- package/lib/components/FileWindowPanel/Header/index.js +9 -0
- package/lib/components/Filters/hooks/useFilters.js +3 -2
- package/lib/components/HeaderBar/index.js +6 -2
- package/lib/components/LabelsView/LabelsTree/LabelsTree.styled.js +86 -0
- package/lib/components/LabelsView/LabelsTree/LabelsTreeSkeleton.js +21 -0
- package/lib/components/LabelsView/LabelsTree/index.js +128 -0
- package/lib/components/LabelsView/LabelsView.styled.js +10 -0
- package/lib/components/LabelsView/index.js +139 -0
- package/lib/components/Modals/DownloadConsent/DownloadConsent.hooks.js +11 -0
- package/lib/components/Modals/TransformedDownload/TransformedDownload.hooks.js +9 -0
- package/lib/components/Views/Views.constants.js +30 -4
- package/lib/components/Views/index.js +11 -4
- package/lib/components/common/FileMetadataFieldValue/GeneralMetadataFieldValue.js +1 -1
- package/lib/components/common/Sort/Sort.constants.js +28 -1
- package/lib/defaultLocale.js +36 -1
- package/lib/slices/collections.slice.js +714 -0
- package/lib/slices/common.slice.js +15 -52
- package/lib/slices/files.slice.js +6 -3
- package/lib/slices/index.js +5 -1
- package/lib/slices/labels.slice.js +652 -0
- package/lib/slices/views.slice.js +12 -0
- package/lib/utils/prepareSearchUrl.js +10 -0
- package/package.json +8 -8
|
@@ -23,6 +23,9 @@ var prepareSearchUrl = function prepareSearchUrl(_ref, cb) {
|
|
|
23
23
|
sorting = _ref$sorting === void 0 ? 'name:asc' : _ref$sorting,
|
|
24
24
|
searchSuggestionsFilters = _ref.searchSuggestionsFilters,
|
|
25
25
|
searchSuggestionsTags = _ref.searchSuggestionsTags,
|
|
26
|
+
_ref$activeCollection = _ref.activeCollection,
|
|
27
|
+
activeCollection = _ref$activeCollection === void 0 ? null : _ref$activeCollection,
|
|
28
|
+
activeCollectionVirtualFolder = _ref.activeCollectionVirtualFolder,
|
|
26
29
|
includeMeta = _ref.includeMeta,
|
|
27
30
|
debugSearch = _ref.debugSearch;
|
|
28
31
|
var queryItems = [];
|
|
@@ -55,6 +58,13 @@ var prepareSearchUrl = function prepareSearchUrl(_ref, cb) {
|
|
|
55
58
|
if (sorting) {
|
|
56
59
|
queryItems.push("sort=".concat(sorting));
|
|
57
60
|
}
|
|
61
|
+
if (activeCollection !== null && activeCollection !== void 0 && activeCollection.uuid) {
|
|
62
|
+
var _activeCollection$dat, _activeCollection$dat2;
|
|
63
|
+
queryItems.push("collection_uuid=".concat(activeCollection.uuid));
|
|
64
|
+
if (activeCollection !== null && activeCollection !== void 0 && (_activeCollection$dat = activeCollection.data) !== null && _activeCollection$dat !== void 0 && (_activeCollection$dat2 = _activeCollection$dat.groupby) !== null && _activeCollection$dat2 !== void 0 && _activeCollection$dat2.length && activeCollectionVirtualFolder !== null && activeCollectionVirtualFolder !== void 0 && activeCollectionVirtualFolder.filters) {
|
|
65
|
+
queryItems.push("f64=".concat(activeCollectionVirtualFolder === null || activeCollectionVirtualFolder === void 0 ? void 0 : activeCollectionVirtualFolder.filters));
|
|
66
|
+
}
|
|
67
|
+
}
|
|
58
68
|
if (includeMeta) queryItems.push('include_meta=1');
|
|
59
69
|
if (debugSearch) queryItems.push('debug_search=1');
|
|
60
70
|
if (cb) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@scaleflex/widget-explorer",
|
|
3
|
-
"version": "4.5.
|
|
3
|
+
"version": "4.5.1",
|
|
4
4
|
"description": "Scaleflex explorer for the files uploaded on filerobot, handling them & upload new files.",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"style": "dist/style.min.css",
|
|
@@ -18,12 +18,12 @@
|
|
|
18
18
|
"@scaleflex/icons": "^3.0.0-beta.11",
|
|
19
19
|
"@scaleflex/react-url-builder": "^0.0.72",
|
|
20
20
|
"@scaleflex/ui": "^3.0.0-beta.11",
|
|
21
|
-
"@scaleflex/widget-common": "^4.5.
|
|
22
|
-
"@scaleflex/widget-icons": "^4.5.
|
|
23
|
-
"@scaleflex/widget-informer": "^4.5.
|
|
24
|
-
"@scaleflex/widget-provider-views": "^4.5.
|
|
25
|
-
"@scaleflex/widget-thumbnail-generator": "^4.5.
|
|
26
|
-
"@scaleflex/widget-utils": "^4.5.
|
|
21
|
+
"@scaleflex/widget-common": "^4.5.1",
|
|
22
|
+
"@scaleflex/widget-icons": "^4.5.1",
|
|
23
|
+
"@scaleflex/widget-informer": "^4.5.1",
|
|
24
|
+
"@scaleflex/widget-provider-views": "^4.5.1",
|
|
25
|
+
"@scaleflex/widget-thumbnail-generator": "^4.5.1",
|
|
26
|
+
"@scaleflex/widget-utils": "^4.5.1",
|
|
27
27
|
"@transloadit/prettier-bytes": "0.1.0",
|
|
28
28
|
"akamai-filerobot-converter": "^0.1.6",
|
|
29
29
|
"classnames": "^2.2.6",
|
|
@@ -51,5 +51,5 @@
|
|
|
51
51
|
"react-konva": ">=19.0.3"
|
|
52
52
|
},
|
|
53
53
|
"license": "MIT",
|
|
54
|
-
"gitHead": "
|
|
54
|
+
"gitHead": "b211f9961ad30d3eaa01138f34e190ad5d38fb91"
|
|
55
55
|
}
|