@scaleflex/widget-explorer 4.8.5 → 4.8.7
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/LICENSE +21 -21
- package/README.md +1293 -1293
- package/dist/style.css +18 -10
- package/dist/style.min.css +1 -1
- package/lib/components/AssetsList/GridView/FilesSection/FileCell.js +2 -2
- package/lib/components/AssetsList/GridView/FilesSection/index.js +2 -2
- package/lib/components/AssetsList/GridView/FoldersSection/FolderCell.js +2 -2
- package/lib/components/AssetsList/GridView/FoldersSection/FolderTopOptions.js +2 -2
- package/lib/components/AssetsList/GridView/FoldersSection/index.js +2 -2
- package/lib/components/AssetsList/GridView/index.js +2 -2
- package/lib/components/AssetsList/SearchView.hook.js +24 -24
- package/lib/components/AssetsList/__SearchTestPannel.js +27 -27
- package/lib/components/BulkEditPanel/components/AssetsList/Columns/columns.utils.js +2 -2
- package/lib/components/CropPanel/ImageOptions.js +2 -2
- package/lib/components/CropPanel/index.scss +55 -55
- package/lib/components/Details/FileItem/style.scss +11 -11
- package/lib/components/Details/TabPanels.js +2 -2
- package/lib/components/Drawer/Drawer.utils.js +0 -9
- package/lib/components/Drawer/ResizerCore.js +3 -3
- package/lib/components/ExploreView.js +2 -2
- package/lib/components/FileItem/FileUploadTopOptions.js +2 -2
- package/lib/components/FileItem/PreUploadFileThumbnail/index.scss +19 -19
- package/lib/components/FileWindowPanel/FileTabs/VariationsTab/VariationsTopOptions.js +4 -4
- package/lib/components/FileWindowPanel/FileTabs/VariationsTab/index.js +2 -2
- package/lib/components/FileWindowPanel/Header/BeforeUploadActionBtns.js +4 -4
- package/lib/components/Filters/Placeholder.js +2 -2
- package/lib/components/FoldersView/FoldersTree/SearchedFoldersItem.js +2 -2
- package/lib/components/GalleryRoleSelect/GalleryRoleSelect.utils.js +3 -3
- package/lib/components/GalleryRoleSelect/index.js +11 -11
- package/lib/components/Modals/TransformedDownload/TransformedDownload.hooks.js +11 -11
- package/lib/components/Modals/TransformedDownload/TransformedDownload.utils.js +4 -4
- package/lib/components/TopBar/index.scss +20 -20
- package/lib/components/UploadsPanel/UploadsList/UploadsVirtualGrid.js +2 -2
- package/lib/components/common/FileMetadataFieldValue/FileMetadataFieldValue.utils.js +2 -2
- package/lib/components/metadata.adapter.js +20 -20
- package/lib/hooks/useAssetsPicker.js +2 -2
- package/lib/hooks/useEditFileDetails.js +7 -7
- package/lib/hooks/useIsSmallScreen.js +6 -6
- package/lib/hooks/useValidateFileName.js +22 -22
- package/lib/index.js +150 -150
- package/lib/slices/files.slice.js +17 -17
- package/lib/slices/filters.slice.js +2 -2
- package/lib/slices/folders.slice.js +17 -13
- package/lib/slices/metadata.slice.js +2 -2
- package/lib/slices/search.slice.js +2 -2
- package/lib/slices/views.slice.js +2 -2
- package/lib/style.scss +276 -268
- package/lib/thunks/uploads.thunks.js +2 -2
- package/lib/utils/SearchSuggestions/SearchSuggestionsMenu.js +4 -4
- package/lib/utils/createSuperFocus.js +5 -5
- package/lib/utils/filters.js +5 -5
- package/lib/utils/formatPinSubTitle.js +6 -6
- package/lib/utils/getActiveOverlayEl.js +2 -2
- package/lib/utils/truncateString.js +7 -7
- package/package.json +54 -54
- package/types/index.d.ts +102 -102
- package/CHANGELOG.md +0 -12305
package/package.json
CHANGED
|
@@ -1,54 +1,54 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@scaleflex/widget-explorer",
|
|
3
|
-
"version": "4.8.
|
|
4
|
-
"description": "Scaleflex explorer for the files uploaded on filerobot, handling them & upload new files.",
|
|
5
|
-
"main": "lib/index.js",
|
|
6
|
-
"style": "dist/style.min.css",
|
|
7
|
-
"types": "types/index.d.ts",
|
|
8
|
-
"files": [
|
|
9
|
-
"/dist",
|
|
10
|
-
"/lib",
|
|
11
|
-
"/types"
|
|
12
|
-
],
|
|
13
|
-
"publishConfig": {
|
|
14
|
-
"access": "public"
|
|
15
|
-
},
|
|
16
|
-
"dependencies": {
|
|
17
|
-
"@reduxjs/toolkit": "^1.9.5",
|
|
18
|
-
"@scaleflex/icons": "^3.0.0-beta.11",
|
|
19
|
-
"@scaleflex/react-url-builder": "^0.0.72",
|
|
20
|
-
"@scaleflex/ui": "^3.0.0-beta.11",
|
|
21
|
-
"@scaleflex/widget-common": "^4.8.
|
|
22
|
-
"@scaleflex/widget-icons": "^4.8.
|
|
23
|
-
"@scaleflex/widget-informer": "^4.8.
|
|
24
|
-
"@scaleflex/widget-provider-views": "^4.8.
|
|
25
|
-
"@scaleflex/widget-thumbnail-generator": "^4.8.
|
|
26
|
-
"@scaleflex/widget-utils": "^4.8.
|
|
27
|
-
"@transloadit/prettier-bytes": "0.1.0",
|
|
28
|
-
"akamai-filerobot-converter": "^0.1.6",
|
|
29
|
-
"classnames": "^2.2.6",
|
|
30
|
-
"cuid": "^3.0.0",
|
|
31
|
-
"js-levenshtein": "^1.1.6",
|
|
32
|
-
"lodash.debounce": "^4.0.8",
|
|
33
|
-
"lodash.throttle": "^4.1.1",
|
|
34
|
-
"react-beautiful-dnd": "^13.1.1",
|
|
35
|
-
"react-filerobot-image-editor": "5.0.0-beta.93",
|
|
36
|
-
"react-redux": "^8.1.1",
|
|
37
|
-
"react-router-dom": "^5.3.0",
|
|
38
|
-
"resize-observer-polyfill": "^1.5.0",
|
|
39
|
-
"styled-components": "^6.1.15"
|
|
40
|
-
},
|
|
41
|
-
"devDependencies": {
|
|
42
|
-
"react": "^19.0.0",
|
|
43
|
-
"react-dom": "^19.0.0",
|
|
44
|
-
"react-konva": "19.0.3"
|
|
45
|
-
},
|
|
46
|
-
"peerDependencies": {
|
|
47
|
-
"@scaleflex/widget-core": "^0.0.3",
|
|
48
|
-
"react": ">=19.0.0",
|
|
49
|
-
"react-dom": ">=19.0.0",
|
|
50
|
-
"react-konva": ">=19.0.3"
|
|
51
|
-
},
|
|
52
|
-
"license": "MIT",
|
|
53
|
-
"gitHead": "
|
|
54
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@scaleflex/widget-explorer",
|
|
3
|
+
"version": "4.8.7",
|
|
4
|
+
"description": "Scaleflex explorer for the files uploaded on filerobot, handling them & upload new files.",
|
|
5
|
+
"main": "lib/index.js",
|
|
6
|
+
"style": "dist/style.min.css",
|
|
7
|
+
"types": "types/index.d.ts",
|
|
8
|
+
"files": [
|
|
9
|
+
"/dist",
|
|
10
|
+
"/lib",
|
|
11
|
+
"/types"
|
|
12
|
+
],
|
|
13
|
+
"publishConfig": {
|
|
14
|
+
"access": "public"
|
|
15
|
+
},
|
|
16
|
+
"dependencies": {
|
|
17
|
+
"@reduxjs/toolkit": "^1.9.5",
|
|
18
|
+
"@scaleflex/icons": "^3.0.0-beta.11",
|
|
19
|
+
"@scaleflex/react-url-builder": "^0.0.72",
|
|
20
|
+
"@scaleflex/ui": "^3.0.0-beta.11",
|
|
21
|
+
"@scaleflex/widget-common": "^4.8.7",
|
|
22
|
+
"@scaleflex/widget-icons": "^4.8.7",
|
|
23
|
+
"@scaleflex/widget-informer": "^4.8.7",
|
|
24
|
+
"@scaleflex/widget-provider-views": "^4.8.7",
|
|
25
|
+
"@scaleflex/widget-thumbnail-generator": "^4.8.7",
|
|
26
|
+
"@scaleflex/widget-utils": "^4.8.7",
|
|
27
|
+
"@transloadit/prettier-bytes": "0.1.0",
|
|
28
|
+
"akamai-filerobot-converter": "^0.1.6",
|
|
29
|
+
"classnames": "^2.2.6",
|
|
30
|
+
"cuid": "^3.0.0",
|
|
31
|
+
"js-levenshtein": "^1.1.6",
|
|
32
|
+
"lodash.debounce": "^4.0.8",
|
|
33
|
+
"lodash.throttle": "^4.1.1",
|
|
34
|
+
"react-beautiful-dnd": "^13.1.1",
|
|
35
|
+
"react-filerobot-image-editor": "5.0.0-beta.93",
|
|
36
|
+
"react-redux": "^8.1.1",
|
|
37
|
+
"react-router-dom": "^5.3.0",
|
|
38
|
+
"resize-observer-polyfill": "^1.5.0",
|
|
39
|
+
"styled-components": "^6.1.15"
|
|
40
|
+
},
|
|
41
|
+
"devDependencies": {
|
|
42
|
+
"react": "^19.0.0",
|
|
43
|
+
"react-dom": "^19.0.0",
|
|
44
|
+
"react-konva": "19.0.3"
|
|
45
|
+
},
|
|
46
|
+
"peerDependencies": {
|
|
47
|
+
"@scaleflex/widget-core": "^0.0.3",
|
|
48
|
+
"react": ">=19.0.0",
|
|
49
|
+
"react-dom": ">=19.0.0",
|
|
50
|
+
"react-konva": ">=19.0.3"
|
|
51
|
+
},
|
|
52
|
+
"license": "MIT",
|
|
53
|
+
"gitHead": "712930995f6dfd4a0d874c0638dde61065fd0683"
|
|
54
|
+
}
|
package/types/index.d.ts
CHANGED
|
@@ -1,102 +1,102 @@
|
|
|
1
|
-
import Filerobot = require("@scaleflex/widget-core");
|
|
2
|
-
import CompanionClient = require("@scaleflex/widget-companion-client");
|
|
3
|
-
import React = require("react");
|
|
4
|
-
|
|
5
|
-
declare module Explorer {
|
|
6
|
-
interface ExplorerOptions
|
|
7
|
-
extends Filerobot.PluginOptions,
|
|
8
|
-
CompanionClient.PublicProviderOptions {
|
|
9
|
-
config: {
|
|
10
|
-
foldersLimit?: number;
|
|
11
|
-
filesLimit?: number;
|
|
12
|
-
folderPath?: string;
|
|
13
|
-
tagging?: {
|
|
14
|
-
enabled?: boolean;
|
|
15
|
-
autoTagging?: boolean;
|
|
16
|
-
suggestedTagsOnly?: boolean;
|
|
17
|
-
language?: string;
|
|
18
|
-
confidence?: number;
|
|
19
|
-
limit?: number;
|
|
20
|
-
provider?: string;
|
|
21
|
-
suggestionList?: string[];
|
|
22
|
-
};
|
|
23
|
-
filters?: {
|
|
24
|
-
fileSize?: {
|
|
25
|
-
min?: number;
|
|
26
|
-
max?: number;
|
|
27
|
-
defaultFrom?: number;
|
|
28
|
-
defaultTo?: number;
|
|
29
|
-
};
|
|
30
|
-
};
|
|
31
|
-
};
|
|
32
|
-
enabledManageAccess: boolean;
|
|
33
|
-
disableMultipleSelect?: boolean;
|
|
34
|
-
dismissUrlPathQueryUpdate?: boolean;
|
|
35
|
-
usersAndTeams?: string[];
|
|
36
|
-
galleryRoles?: any[];
|
|
37
|
-
inline?: boolean;
|
|
38
|
-
trigger?: boolean;
|
|
39
|
-
target: Filerobot.PluginTarget;
|
|
40
|
-
width?: number | string;
|
|
41
|
-
height?: number | string;
|
|
42
|
-
showBar?: boolean;
|
|
43
|
-
hideDownloadButtonIcon?: boolean;
|
|
44
|
-
hideModalAfterExport?: boolean;
|
|
45
|
-
closeAfterImageEdit?: boolean;
|
|
46
|
-
showDragDropPanel?: boolean;
|
|
47
|
-
view?: string;
|
|
48
|
-
defaultSearchQuery?: string;
|
|
49
|
-
imageEditorMode?: string;
|
|
50
|
-
defaultFolderPath?: string;
|
|
51
|
-
views?: string[];
|
|
52
|
-
thumbnailWidth?: number;
|
|
53
|
-
thumbnailHeight?: number;
|
|
54
|
-
waitForThumbnailsBeforeUpload?: boolean;
|
|
55
|
-
disableUpload?: boolean;
|
|
56
|
-
hideSearch?: boolean;
|
|
57
|
-
note?: string;
|
|
58
|
-
closeModalOnClickOutside?: boolean;
|
|
59
|
-
closeAfterFinish?: boolean;
|
|
60
|
-
disableInformer?: boolean;
|
|
61
|
-
disableThumbnailGenerator?: boolean;
|
|
62
|
-
disablePageScrollWhenModalOpen?: boolean;
|
|
63
|
-
animateOpenClose?: boolean;
|
|
64
|
-
showGlobalRegVariants?: boolean;
|
|
65
|
-
onRequestCloseModal?: () => void;
|
|
66
|
-
locale?: Filerobot.Locale;
|
|
67
|
-
theme?: string;
|
|
68
|
-
browserBackButtonCloseModal?: boolean;
|
|
69
|
-
noImgOperationsAndDownload?: boolean;
|
|
70
|
-
disableDownloadButton?: boolean;
|
|
71
|
-
preventDownloadDefaultBehavior?: boolean;
|
|
72
|
-
hideExportCropPanel?: boolean;
|
|
73
|
-
layoutType?: string;
|
|
74
|
-
isUploadBarAddMoreButtonHidden?: boolean;
|
|
75
|
-
isRecordIconHidden?: boolean;
|
|
76
|
-
showFoldersTree?: boolean;
|
|
77
|
-
showDetailsView?: boolean;
|
|
78
|
-
facetedSearchEnabled?: boolean;
|
|
79
|
-
facetedSearchSidebarExpanded?: boolean;
|
|
80
|
-
selectedListViewCols?: string[];
|
|
81
|
-
ExploreViewComponent?: React.Component;
|
|
82
|
-
showTitles?: boolean;
|
|
83
|
-
showMeta?: boolean;
|
|
84
|
-
showFilter?: boolean;
|
|
85
|
-
showBreadcrumbs?: boolean;
|
|
86
|
-
showSort?: boolean;
|
|
87
|
-
disableSelectionActions?: boolean;
|
|
88
|
-
videoTranscoding?: {
|
|
89
|
-
resolution?: string;
|
|
90
|
-
protocol?: string;
|
|
91
|
-
filesIds?: string[];
|
|
92
|
-
};
|
|
93
|
-
imageProcessor?: {
|
|
94
|
-
name?: string;
|
|
95
|
-
filesIds?: string[];
|
|
96
|
-
};
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
declare class Explorer extends Filerobot.Plugin<Explorer.ExplorerOptions> {}
|
|
101
|
-
|
|
102
|
-
export = Explorer;
|
|
1
|
+
import Filerobot = require("@scaleflex/widget-core");
|
|
2
|
+
import CompanionClient = require("@scaleflex/widget-companion-client");
|
|
3
|
+
import React = require("react");
|
|
4
|
+
|
|
5
|
+
declare module Explorer {
|
|
6
|
+
interface ExplorerOptions
|
|
7
|
+
extends Filerobot.PluginOptions,
|
|
8
|
+
CompanionClient.PublicProviderOptions {
|
|
9
|
+
config: {
|
|
10
|
+
foldersLimit?: number;
|
|
11
|
+
filesLimit?: number;
|
|
12
|
+
folderPath?: string;
|
|
13
|
+
tagging?: {
|
|
14
|
+
enabled?: boolean;
|
|
15
|
+
autoTagging?: boolean;
|
|
16
|
+
suggestedTagsOnly?: boolean;
|
|
17
|
+
language?: string;
|
|
18
|
+
confidence?: number;
|
|
19
|
+
limit?: number;
|
|
20
|
+
provider?: string;
|
|
21
|
+
suggestionList?: string[];
|
|
22
|
+
};
|
|
23
|
+
filters?: {
|
|
24
|
+
fileSize?: {
|
|
25
|
+
min?: number;
|
|
26
|
+
max?: number;
|
|
27
|
+
defaultFrom?: number;
|
|
28
|
+
defaultTo?: number;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
enabledManageAccess: boolean;
|
|
33
|
+
disableMultipleSelect?: boolean;
|
|
34
|
+
dismissUrlPathQueryUpdate?: boolean;
|
|
35
|
+
usersAndTeams?: string[];
|
|
36
|
+
galleryRoles?: any[];
|
|
37
|
+
inline?: boolean;
|
|
38
|
+
trigger?: boolean;
|
|
39
|
+
target: Filerobot.PluginTarget;
|
|
40
|
+
width?: number | string;
|
|
41
|
+
height?: number | string;
|
|
42
|
+
showBar?: boolean;
|
|
43
|
+
hideDownloadButtonIcon?: boolean;
|
|
44
|
+
hideModalAfterExport?: boolean;
|
|
45
|
+
closeAfterImageEdit?: boolean;
|
|
46
|
+
showDragDropPanel?: boolean;
|
|
47
|
+
view?: string;
|
|
48
|
+
defaultSearchQuery?: string;
|
|
49
|
+
imageEditorMode?: string;
|
|
50
|
+
defaultFolderPath?: string;
|
|
51
|
+
views?: string[];
|
|
52
|
+
thumbnailWidth?: number;
|
|
53
|
+
thumbnailHeight?: number;
|
|
54
|
+
waitForThumbnailsBeforeUpload?: boolean;
|
|
55
|
+
disableUpload?: boolean;
|
|
56
|
+
hideSearch?: boolean;
|
|
57
|
+
note?: string;
|
|
58
|
+
closeModalOnClickOutside?: boolean;
|
|
59
|
+
closeAfterFinish?: boolean;
|
|
60
|
+
disableInformer?: boolean;
|
|
61
|
+
disableThumbnailGenerator?: boolean;
|
|
62
|
+
disablePageScrollWhenModalOpen?: boolean;
|
|
63
|
+
animateOpenClose?: boolean;
|
|
64
|
+
showGlobalRegVariants?: boolean;
|
|
65
|
+
onRequestCloseModal?: () => void;
|
|
66
|
+
locale?: Filerobot.Locale;
|
|
67
|
+
theme?: string;
|
|
68
|
+
browserBackButtonCloseModal?: boolean;
|
|
69
|
+
noImgOperationsAndDownload?: boolean;
|
|
70
|
+
disableDownloadButton?: boolean;
|
|
71
|
+
preventDownloadDefaultBehavior?: boolean;
|
|
72
|
+
hideExportCropPanel?: boolean;
|
|
73
|
+
layoutType?: string;
|
|
74
|
+
isUploadBarAddMoreButtonHidden?: boolean;
|
|
75
|
+
isRecordIconHidden?: boolean;
|
|
76
|
+
showFoldersTree?: boolean;
|
|
77
|
+
showDetailsView?: boolean;
|
|
78
|
+
facetedSearchEnabled?: boolean;
|
|
79
|
+
facetedSearchSidebarExpanded?: boolean;
|
|
80
|
+
selectedListViewCols?: string[];
|
|
81
|
+
ExploreViewComponent?: React.Component;
|
|
82
|
+
showTitles?: boolean;
|
|
83
|
+
showMeta?: boolean;
|
|
84
|
+
showFilter?: boolean;
|
|
85
|
+
showBreadcrumbs?: boolean;
|
|
86
|
+
showSort?: boolean;
|
|
87
|
+
disableSelectionActions?: boolean;
|
|
88
|
+
videoTranscoding?: {
|
|
89
|
+
resolution?: string;
|
|
90
|
+
protocol?: string;
|
|
91
|
+
filesIds?: string[];
|
|
92
|
+
};
|
|
93
|
+
imageProcessor?: {
|
|
94
|
+
name?: string;
|
|
95
|
+
filesIds?: string[];
|
|
96
|
+
};
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
declare class Explorer extends Filerobot.Plugin<Explorer.ExplorerOptions> {}
|
|
101
|
+
|
|
102
|
+
export = Explorer;
|