@edifice.io/react 2.6.9-develop-integration.20261012100537 → 2.6.9-develop-orga.20261013105203
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/dist/components/Tree/utilities/tree.js +1 -21
- package/dist/hooks/index.d.ts +0 -2
- package/dist/index.js +182 -194
- package/dist/modules/multimedia/FileCard/index.d.ts +0 -4
- package/dist/modules/multimedia/Linker/InternalLinker/InternalLinker.d.ts +1 -7
- package/dist/modules/multimedia/Linker/InternalLinker/InternalLinker.js +0 -2
- package/dist/modules/multimedia/MediaLibrary/MediaLibrary.d.ts +2 -2
- package/dist/modules/multimedia/MediaLibrary/MediaLibrary.js +12 -48
- package/dist/modules/multimedia/MediaLibrary/innertabs/index.d.ts +0 -2
- package/dist/modules/multimedia/MediaLibrary/innertabs/index.js +0 -4
- package/dist/modules/multimedia/Workspace/Workspace.js +5 -8
- package/dist/modules/multimedia/index.d.ts +0 -2
- package/dist/multimedia.js +18 -26
- package/package.json +6 -6
- package/dist/hooks/useGoogleDriveSearch/index.d.ts +0 -1
- package/dist/hooks/useGoogleDriveSearch/useGoogleDriveSearch.d.ts +0 -14
- package/dist/hooks/useGoogleDriveSearch/useGoogleDriveSearch.js +0 -60
- package/dist/hooks/useNextcloudSearch/index.d.ts +0 -1
- package/dist/hooks/useNextcloudSearch/useNextcloudSearch.d.ts +0 -14
- package/dist/hooks/useNextcloudSearch/useNextcloudSearch.js +0 -64
- package/dist/modules/multimedia/FileCard/GoogleDriveFileCard.d.ts +0 -25
- package/dist/modules/multimedia/FileCard/GoogleDriveFileCard.js +0 -102
- package/dist/modules/multimedia/FileCard/NextcloudFileCard.d.ts +0 -25
- package/dist/modules/multimedia/FileCard/NextcloudFileCard.js +0 -102
- package/dist/modules/multimedia/GoogleDrive/GoogleDrive.d.ts +0 -24
- package/dist/modules/multimedia/GoogleDrive/GoogleDrive.js +0 -100
- package/dist/modules/multimedia/GoogleDrive/index.d.ts +0 -2
- package/dist/modules/multimedia/MediaLibrary/innertabs/GoogleDrive.d.ts +0 -1
- package/dist/modules/multimedia/MediaLibrary/innertabs/GoogleDrive.js +0 -61
- package/dist/modules/multimedia/MediaLibrary/innertabs/Nextcloud.d.ts +0 -1
- package/dist/modules/multimedia/MediaLibrary/innertabs/Nextcloud.js +0 -48
- package/dist/modules/multimedia/Nextcloud/Nextcloud.d.ts +0 -24
- package/dist/modules/multimedia/Nextcloud/Nextcloud.js +0 -124
- package/dist/modules/multimedia/Nextcloud/index.d.ts +0 -2
|
@@ -16,25 +16,6 @@ function findNodeById(data, id) {
|
|
|
16
16
|
}
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
|
-
function modifyNode(data, callback) {
|
|
20
|
-
return doModify(data, callback) || data;
|
|
21
|
-
}
|
|
22
|
-
function doModify(current, callback, parent) {
|
|
23
|
-
var _a;
|
|
24
|
-
const result = callback(current, parent);
|
|
25
|
-
if ((_a = result == null ? void 0 : result.children) != null && _a.length) {
|
|
26
|
-
const children = [];
|
|
27
|
-
for (const child of (result == null ? void 0 : result.children) || []) {
|
|
28
|
-
const res = doModify(child, callback, result);
|
|
29
|
-
res && children.push(res);
|
|
30
|
-
}
|
|
31
|
-
return {
|
|
32
|
-
...result,
|
|
33
|
-
children
|
|
34
|
-
};
|
|
35
|
-
}
|
|
36
|
-
return result;
|
|
37
|
-
}
|
|
38
19
|
function findPathById(tree, nodeId) {
|
|
39
20
|
let path = [];
|
|
40
21
|
function traverse(node, currentPath) {
|
|
@@ -59,6 +40,5 @@ function findPathById(tree, nodeId) {
|
|
|
59
40
|
}
|
|
60
41
|
export {
|
|
61
42
|
findNodeById,
|
|
62
|
-
findPathById
|
|
63
|
-
modifyNode
|
|
43
|
+
findPathById
|
|
64
44
|
};
|
package/dist/hooks/index.d.ts
CHANGED
|
@@ -12,7 +12,6 @@ export * from './useDirectory';
|
|
|
12
12
|
export * from './useDropdown';
|
|
13
13
|
export * from './useDropzone';
|
|
14
14
|
export * from './useEdificeIcons';
|
|
15
|
-
export * from './useGoogleDriveSearch';
|
|
16
15
|
export * from './useHasWorkflow';
|
|
17
16
|
export * from './useHover';
|
|
18
17
|
export * from './useHttpErrorToast';
|
|
@@ -24,7 +23,6 @@ export * from './useIsAdmlcOrAdmc';
|
|
|
24
23
|
export * from './useKeyPress';
|
|
25
24
|
export * from './useLibraryUrl';
|
|
26
25
|
export * from './useMediaLibrary';
|
|
27
|
-
export * from './useNextcloudSearch';
|
|
28
26
|
export * from './usePublicConf';
|
|
29
27
|
export * from './useScreeb';
|
|
30
28
|
export * from './useScrollToTop';
|
package/dist/index.js
CHANGED
|
@@ -30,101 +30,95 @@ import { default as default28 } from "./modules/multimedia/FileCard/FileCard.js"
|
|
|
30
30
|
import { default as default29 } from "./components/Flex/Flex.js";
|
|
31
31
|
import { default as default30 } from "./components/Form/FormControl.js";
|
|
32
32
|
import { default as default31 } from "./components/Form/FormText.js";
|
|
33
|
-
import { default as default32 } from "./
|
|
34
|
-
import { default as default33 } from "./
|
|
35
|
-
import { default as default34 } from "./components/
|
|
36
|
-
import { default as default35 } from "./components/
|
|
37
|
-
import { default as default36 } from "./
|
|
38
|
-
import { default as default37 } from "./
|
|
39
|
-
import { default as default38 } from "./
|
|
40
|
-
import { default as default39 } from "./components/
|
|
41
|
-
import { default as default40 } from "./components/
|
|
42
|
-
import { default as default41 } from "./components/
|
|
43
|
-
import { default as default42 } from "./components/
|
|
44
|
-
import { default as default43 } from "./components/
|
|
45
|
-
import { default as default44 } from "./
|
|
46
|
-
import { default as default45 } from "./components/
|
|
47
|
-
import { default as default46 } from "./
|
|
48
|
-
import { default as default47 } from "./components/
|
|
49
|
-
import { default as default48 } from "./
|
|
50
|
-
import { default as default49 } from "./components/
|
|
51
|
-
import { default as default50 } from "./
|
|
52
|
-
import { default as default51 } from "./
|
|
53
|
-
import { default as default52 } from "./modules/modals/
|
|
54
|
-
import { default as default53 } from "./components/
|
|
55
|
-
import { default as default54 } from "./components/
|
|
56
|
-
import { default as default55
|
|
57
|
-
import { default as default56 } from "./
|
|
58
|
-
import { default as default57 } from "./components/
|
|
59
|
-
import { default as default58 } from "./components/
|
|
60
|
-
import { default as default59 } from "./
|
|
61
|
-
import { default as default60 } from "./
|
|
62
|
-
import { default as default61 } from "./
|
|
63
|
-
import { default as default62 } from "./components/
|
|
64
|
-
import { default as default63 } from "./
|
|
65
|
-
import { default as default64 } from "./
|
|
66
|
-
import { default as default65 } from "./
|
|
67
|
-
import { default as default66 } from "./components/
|
|
68
|
-
import { default as default67 } from "./components/
|
|
69
|
-
import { default as default68 } from "./components/
|
|
70
|
-
import { default as default69 } from "./components/
|
|
71
|
-
import { default as default70 } from "./components/
|
|
72
|
-
import { default as default71 } from "./components/
|
|
73
|
-
import { default as default72 } from "./
|
|
74
|
-
import { default as default73 } from "./
|
|
75
|
-
import { default as default74 } from "./
|
|
76
|
-
import { default as default75 } from "./
|
|
77
|
-
import { default as default76 } from "./
|
|
78
|
-
import { default as default77 } from "./modules/multimedia/
|
|
79
|
-
import { default as default78 } from "./modules/multimedia/
|
|
80
|
-
import { default as default79 } from "./
|
|
81
|
-
import { default as default80 } from "./
|
|
82
|
-
import { default as default81 } from "./
|
|
83
|
-
import { default as default82 } from "./
|
|
84
|
-
import { default as default83 } from "./hooks/
|
|
85
|
-
import { default as default84 } from "./hooks/
|
|
86
|
-
import { default as default85 } from "./hooks/
|
|
87
|
-
import { default as default86 } from "./hooks/
|
|
88
|
-
import { default as default87 } from "./hooks/
|
|
89
|
-
import { default as default88 } from "./hooks/
|
|
90
|
-
import { default as default89 } from "./hooks/
|
|
91
|
-
import { default as default90 } from "./hooks/
|
|
92
|
-
import { default as default91 } from "./hooks/
|
|
93
|
-
import { default as default92 } from "./hooks/
|
|
94
|
-
import { default as default93 } from "./hooks/
|
|
95
|
-
import { default as default94 } from "./hooks/
|
|
96
|
-
import { default as default95 } from "./hooks/
|
|
97
|
-
import { default as default96 } from "./hooks/
|
|
98
|
-
import { default as default97 } from "./hooks/
|
|
99
|
-
import { default as default98 } from "./hooks/
|
|
100
|
-
import { default as default99 } from "./hooks/
|
|
101
|
-
import { default as default100 } from "./hooks/
|
|
102
|
-
import { default as default101 } from "./hooks/
|
|
103
|
-
import { default as default102 } from "./hooks/
|
|
104
|
-
import { default as default103 } from "./hooks/
|
|
105
|
-
import { default as default104 } from "./hooks/
|
|
106
|
-
import { default as default105 } from "./hooks/
|
|
107
|
-
import { default as default106 } from "./hooks/
|
|
108
|
-
import { default as default107 } from "./hooks/
|
|
109
|
-
import { default as default108 } from "./hooks/
|
|
110
|
-
import { default as default109 } from "./hooks/
|
|
111
|
-
import { default as default110 } from "./
|
|
112
|
-
import { default as default111 } from "./hooks/
|
|
113
|
-
import { default as default112 } from "./hooks/
|
|
114
|
-
import { default as default113 } from "./hooks/
|
|
115
|
-
import { default as default114 } from "./hooks/
|
|
116
|
-
import { default as default115 } from "./hooks/
|
|
117
|
-
import { default as default116 } from "./hooks/
|
|
118
|
-
import { default as default117 } from "./
|
|
119
|
-
import { default as default118 } from "./hooks/
|
|
120
|
-
import { default as default119 } from "./hooks/
|
|
121
|
-
import { default as default120 } from "./hooks/
|
|
122
|
-
import { default as default121 } from "./hooks/useWorkspaceFile/useWorkspaceFile.js";
|
|
123
|
-
import { default as default122 } from "./hooks/useWorkspaceFolders/useWorkspaceFolders.js";
|
|
124
|
-
import { WORKSPACE_SHARED_FOLDER_ID, WORKSPACE_USER_FOLDER_ID, default as default123 } from "./hooks/useWorkspaceFolders/useWorkspaceFoldersTree.js";
|
|
125
|
-
import { default as default124 } from "./hooks/useWorkspaceSearch/useWorkspaceSearch.js";
|
|
126
|
-
import { default as default125 } from "./hooks/useXitiTrackPageLoad/useXitiTrackPageLoad.js";
|
|
127
|
-
import { default as default126 } from "./hooks/useZendeskGuide/useZendeskGuide.js";
|
|
33
|
+
import { default as default32 } from "./components/Heading/Heading.js";
|
|
34
|
+
import { default as default33 } from "./components/Button/IconButton.js";
|
|
35
|
+
import { default as default34 } from "./components/Image/Image.js";
|
|
36
|
+
import { default as default35 } from "./modules/multimedia/ImageEditor/components/ImageEditor.js";
|
|
37
|
+
import { default as default36 } from "./modules/multimedia/ImagePicker/ImagePicker.js";
|
|
38
|
+
import { default as default37 } from "./components/Input/Input.js";
|
|
39
|
+
import { default as default38 } from "./components/Label/Label.js";
|
|
40
|
+
import { default as default39 } from "./components/LinkPill/LinkPill.js";
|
|
41
|
+
import { default as default40 } from "./components/Loading/Loading.js";
|
|
42
|
+
import { default as default41 } from "./components/LoadingScreen/LoadingScreen.js";
|
|
43
|
+
import { default as default42 } from "./components/Logo/Logo.js";
|
|
44
|
+
import { default as default43 } from "./components/LogoBeta/LogoBeta.js";
|
|
45
|
+
import { default as default44 } from "./modules/multimedia/MediaLibrary/MediaLibrary.js";
|
|
46
|
+
import { default as default45 } from "./components/MediaViewer/MediaViewer.js";
|
|
47
|
+
import { default as default46 } from "./components/Modal/Modal.js";
|
|
48
|
+
import { default as default47 } from "./components/ModalBeta/ModalBeta.js";
|
|
49
|
+
import { default as default48 } from "./modules/modals/OnboardingModal/OnboardingModal.js";
|
|
50
|
+
import { default as default49 } from "./components/PageLayout/PageLayout.js";
|
|
51
|
+
import { default as default50 } from "./components/PreventPropagation/PreventPropagation.js";
|
|
52
|
+
import { default as default51, Root } from "./components/PromotionCard/PromotionCard.js";
|
|
53
|
+
import { default as default52 } from "./modules/modals/PublishModal/PublishModal.js";
|
|
54
|
+
import { default as default53 } from "./components/Radio/Radio.js";
|
|
55
|
+
import { default as default54 } from "./components/RadioCard/RadioCard.js";
|
|
56
|
+
import { default as default55 } from "./components/SearchBar/SearchBar.js";
|
|
57
|
+
import { default as default56 } from "./components/Button/SearchButton.js";
|
|
58
|
+
import { default as default57 } from "./components/SegmentedControl/SegmentedControl.js";
|
|
59
|
+
import { default as default58 } from "./components/Select/Select.js";
|
|
60
|
+
import { default as default59 } from "./modules/modals/ShareModal/apps/ShareBlog.js";
|
|
61
|
+
import { default as default60 } from "./modules/modals/ShareModal/ShareModal.js";
|
|
62
|
+
import { default as default61 } from "./modules/modals/ShareModal/ShareResources.js";
|
|
63
|
+
import { default as default62 } from "./components/Tree/components/SortableTree.js";
|
|
64
|
+
import { default as default63 } from "./components/StackedGroup/StackedGroup.js";
|
|
65
|
+
import { default as default64 } from "./components/Stepper/Stepper.js";
|
|
66
|
+
import { default as default65 } from "./components/Switch/Switch.js";
|
|
67
|
+
import { default as default66 } from "./components/Table/components/Table.js";
|
|
68
|
+
import { default as default67 } from "./components/TextArea/TextArea.js";
|
|
69
|
+
import { default as default68 } from "./components/Skeleton/TextSkeleton.js";
|
|
70
|
+
import { default as default69 } from "./components/Tooltip/Tooltip.js";
|
|
71
|
+
import { default as default70 } from "./components/Tree/components/Tree.js";
|
|
72
|
+
import { default as default71 } from "./components/TreeView/TreeView.js";
|
|
73
|
+
import { default as default72 } from "./modules/multimedia/UploadCard/UploadCard.js";
|
|
74
|
+
import { default as default73 } from "./modules/multimedia/UploadFiles/UploadFiles.js";
|
|
75
|
+
import { default as default74 } from "./modules/multimedia/VideoEmbed/VideoEmbed.js";
|
|
76
|
+
import { default as default75 } from "./modules/multimedia/VideoRecorder/VideoRecorder.js";
|
|
77
|
+
import { default as default76 } from "./components/VisuallyHidden/VisuallyHidden.js";
|
|
78
|
+
import { default as default77 } from "./modules/multimedia/Workspace/Workspace.js";
|
|
79
|
+
import { default as default78 } from "./modules/multimedia/WorkspaceFolders/WorkspaceFolders.js";
|
|
80
|
+
import { default as default79 } from "./hooks/useBookmark/useBookmark.js";
|
|
81
|
+
import { default as default80 } from "./hooks/useBreakpoint/useBreakpoint.js";
|
|
82
|
+
import { default as default81 } from "./hooks/useBrowserInfo/useBrowserInfo.js";
|
|
83
|
+
import { default as default82 } from "./hooks/useCantoo/useCantoo.js";
|
|
84
|
+
import { default as default83 } from "./hooks/useClickOutside/useClickOutside.js";
|
|
85
|
+
import { default as default84 } from "./hooks/useConversation/useConversation.js";
|
|
86
|
+
import { default as default85 } from "./hooks/useDate/useDate.js";
|
|
87
|
+
import { default as default86 } from "./hooks/useDebounce/useDebounce.js";
|
|
88
|
+
import { default as default87 } from "./hooks/useDirectory/useDirectory.js";
|
|
89
|
+
import { default as default88 } from "./hooks/useDropdown/useDropdown.js";
|
|
90
|
+
import { default as default89 } from "./hooks/useDropzone/useDropzone.js";
|
|
91
|
+
import { default as default90 } from "./hooks/useEdificeIcons/useEdificeIcons.js";
|
|
92
|
+
import { default as default91 } from "./hooks/useHasWorkflow/useHasWorkflow.js";
|
|
93
|
+
import { default as default92 } from "./hooks/useHover/useHover.js";
|
|
94
|
+
import { default as default93 } from "./hooks/useHttpErrorToast/useHttpErrorToast.js";
|
|
95
|
+
import { default as default94 } from "./hooks/useImage/useImage.js";
|
|
96
|
+
import { default as default95 } from "./hooks/useInfiniteScroll/useInfiniteScroll.js";
|
|
97
|
+
import { default as default96 } from "./hooks/useIsAdmc/useIsAdmc.js";
|
|
98
|
+
import { default as default97 } from "./hooks/useIsAdml/useIsAdml.js";
|
|
99
|
+
import { default as default98 } from "./hooks/useIsAdmlcOrAdmc/useIsAdmlcOrAdmc.js";
|
|
100
|
+
import { default as default99 } from "./hooks/useKeyPress/useKeyPress.js";
|
|
101
|
+
import { default as default100 } from "./hooks/useLibraryUrl/useLibraryUrl.js";
|
|
102
|
+
import { default as default101 } from "./hooks/useMediaLibrary/useMediaLibrary.js";
|
|
103
|
+
import { default as default102 } from "./hooks/usePublicConf/usePublicConf.js";
|
|
104
|
+
import { default as default103 } from "./hooks/useScrollToTop/useScrollToTop.js";
|
|
105
|
+
import { default as default104 } from "./modules/modals/ShareModal/hooks/useShareMutation.js";
|
|
106
|
+
import { default as default105 } from "./hooks/useTitle/useTitle.js";
|
|
107
|
+
import { default as default106 } from "./hooks/useToast/useToast.js";
|
|
108
|
+
import { default as default107 } from "./hooks/useToggle/useToggle.js";
|
|
109
|
+
import { default as default108 } from "./hooks/useTrapFocus/useTrapFocus.js";
|
|
110
|
+
import { default as default109 } from "./hooks/useTrashedResource/useTrashedResource.js";
|
|
111
|
+
import { default as default110 } from "./hooks/useUiOverride/useUiOverride.js";
|
|
112
|
+
import { default as default111 } from "./modules/modals/ResourceModal/hooks/useUpdateMutation.js";
|
|
113
|
+
import { default as default112 } from "./hooks/useUpload/useUpload.js";
|
|
114
|
+
import { default as default113 } from "./hooks/useUploadFiles/useUploadFiles.js";
|
|
115
|
+
import { default as default114 } from "./hooks/useUser/useUser.js";
|
|
116
|
+
import { default as default115 } from "./hooks/useWorkspaceFile/useWorkspaceFile.js";
|
|
117
|
+
import { default as default116 } from "./hooks/useWorkspaceFolders/useWorkspaceFolders.js";
|
|
118
|
+
import { WORKSPACE_SHARED_FOLDER_ID, WORKSPACE_USER_FOLDER_ID, default as default117 } from "./hooks/useWorkspaceFolders/useWorkspaceFoldersTree.js";
|
|
119
|
+
import { default as default118 } from "./hooks/useWorkspaceSearch/useWorkspaceSearch.js";
|
|
120
|
+
import { default as default119 } from "./hooks/useXitiTrackPageLoad/useXitiTrackPageLoad.js";
|
|
121
|
+
import { default as default120 } from "./hooks/useZendeskGuide/useZendeskGuide.js";
|
|
128
122
|
import { AccessiblePalette, DefaultPalette } from "./components/ColorPicker/ColorPalette.js";
|
|
129
123
|
import { AntProvider } from "./providers/AntThemeProvider/AntProvider.js";
|
|
130
124
|
import { BetaSwitch } from "./components/BetaSwitch/BetaSwitch.js";
|
|
@@ -160,7 +154,7 @@ import { emptyScreenMapping } from "./utilities/emptyscreen-mapping/emptyscreen-
|
|
|
160
154
|
import { getRotateTransitionStyle } from "./utilities/rotate-transition-style/get-rotate-transition-style.js";
|
|
161
155
|
import { invalidateQueriesWithFirstPage } from "./utilities/react-query/react-query-utils.js";
|
|
162
156
|
import { mergeRefs, setRef } from "./utilities/refs/ref.js";
|
|
163
|
-
import { default as
|
|
157
|
+
import { default as default121 } from "./hooks/useBackground/useBackground.js";
|
|
164
158
|
import { useCheckable } from "./hooks/useCheckable/useCheckable.js";
|
|
165
159
|
import { useEdificeClient } from "./providers/EdificeClientProvider/EdificeClientProvider.hook.js";
|
|
166
160
|
import { useEdificeTheme } from "./providers/EdificeThemeProvider/EdificeThemeProvider.hook.js";
|
|
@@ -169,7 +163,7 @@ import { useOverlay } from "./components/PageLayout/hook/useOverlay.js";
|
|
|
169
163
|
import { useScreeb } from "./hooks/useScreeb/useScreeb.js";
|
|
170
164
|
import { useTreeSortable } from "./components/Tree/hooks/useTreeSortable.js";
|
|
171
165
|
import { useTreeView } from "./components/TreeView/hooks/useTreeView.js";
|
|
172
|
-
import { default as
|
|
166
|
+
import { default as default122 } from "./hooks/useUserPreferences/useUserPreferences.js";
|
|
173
167
|
export {
|
|
174
168
|
AccessiblePalette,
|
|
175
169
|
default2 as ActionBar,
|
|
@@ -215,81 +209,77 @@ export {
|
|
|
215
209
|
default29 as Flex,
|
|
216
210
|
default30 as FormControl,
|
|
217
211
|
default31 as FormText,
|
|
218
|
-
default32 as GoogleDrive,
|
|
219
|
-
default33 as GoogleDriveFileCard,
|
|
220
212
|
Grid,
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
213
|
+
default32 as Heading,
|
|
214
|
+
default33 as IconButton,
|
|
215
|
+
default34 as Image,
|
|
216
|
+
default35 as ImageEditor,
|
|
217
|
+
default36 as ImagePicker,
|
|
218
|
+
default37 as Input,
|
|
227
219
|
InternalLinker,
|
|
228
|
-
|
|
220
|
+
default38 as Label,
|
|
229
221
|
Layout,
|
|
230
|
-
|
|
222
|
+
default39 as LinkPill,
|
|
231
223
|
List,
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
224
|
+
default40 as Loading,
|
|
225
|
+
default41 as LoadingScreen,
|
|
226
|
+
default42 as Logo,
|
|
227
|
+
default43 as LogoBeta,
|
|
228
|
+
default44 as MediaLibrary,
|
|
229
|
+
default45 as MediaViewer,
|
|
238
230
|
Menu,
|
|
239
231
|
MockedProvider,
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
default52 as OnboardingModal,
|
|
245
|
-
default53 as PageLayout,
|
|
232
|
+
default46 as Modal,
|
|
233
|
+
default47 as ModalBeta,
|
|
234
|
+
default48 as OnboardingModal,
|
|
235
|
+
default49 as PageLayout,
|
|
246
236
|
PageLayoutContext,
|
|
247
237
|
Pagination,
|
|
248
238
|
Popover,
|
|
249
239
|
PopoverBody,
|
|
250
240
|
PopoverFooter,
|
|
251
241
|
PopoverHeader,
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
242
|
+
default50 as PreventPropagation,
|
|
243
|
+
default51 as PromotionCard,
|
|
244
|
+
default52 as PublishModal,
|
|
245
|
+
default53 as Radio,
|
|
246
|
+
default54 as RadioCard,
|
|
257
247
|
ResourceModal,
|
|
258
248
|
Root,
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
249
|
+
default55 as SearchBar,
|
|
250
|
+
default56 as SearchButton,
|
|
251
|
+
default57 as SegmentedControl,
|
|
252
|
+
default58 as Select,
|
|
253
|
+
default59 as ShareBlog,
|
|
254
|
+
default60 as ShareModal,
|
|
255
|
+
default61 as ShareResources,
|
|
256
|
+
default62 as SortableTree,
|
|
257
|
+
default63 as StackedGroup,
|
|
258
|
+
default64 as Stepper,
|
|
259
|
+
default65 as Switch,
|
|
260
|
+
default66 as Table,
|
|
271
261
|
Tabs,
|
|
272
|
-
|
|
273
|
-
|
|
262
|
+
default67 as TextArea,
|
|
263
|
+
default68 as TextSkeleton,
|
|
274
264
|
Toolbar,
|
|
275
|
-
|
|
276
|
-
|
|
265
|
+
default69 as Tooltip,
|
|
266
|
+
default70 as Tree,
|
|
277
267
|
TreeNode,
|
|
278
268
|
TreeNodeFolderWrapper,
|
|
279
|
-
|
|
269
|
+
default71 as TreeView,
|
|
280
270
|
Upload,
|
|
281
|
-
|
|
282
|
-
|
|
271
|
+
default72 as UploadCard,
|
|
272
|
+
default73 as UploadFiles,
|
|
283
273
|
UserRightsList,
|
|
284
274
|
UserSearch,
|
|
285
|
-
|
|
286
|
-
|
|
275
|
+
default74 as VideoEmbed,
|
|
276
|
+
default75 as VideoRecorder,
|
|
287
277
|
VisibleType,
|
|
288
|
-
|
|
278
|
+
default76 as VisuallyHidden,
|
|
289
279
|
WORKSPACE_SHARED_FOLDER_ID,
|
|
290
280
|
WORKSPACE_USER_FOLDER_ID,
|
|
291
|
-
|
|
292
|
-
|
|
281
|
+
default77 as Workspace,
|
|
282
|
+
default78 as WorkspaceFolders,
|
|
293
283
|
addNode,
|
|
294
284
|
arrayUnique,
|
|
295
285
|
buildTree,
|
|
@@ -320,61 +310,59 @@ export {
|
|
|
320
310
|
setRef,
|
|
321
311
|
updateNode,
|
|
322
312
|
updateParentIds,
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
313
|
+
default121 as useBackground,
|
|
314
|
+
default79 as useBookmark,
|
|
315
|
+
default80 as useBreakpoint,
|
|
316
|
+
default81 as useBrowserInfo,
|
|
317
|
+
default82 as useCantoo,
|
|
328
318
|
useCheckable,
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
319
|
+
default83 as useClickOutside,
|
|
320
|
+
default84 as useConversation,
|
|
321
|
+
default85 as useDate,
|
|
322
|
+
default86 as useDebounce,
|
|
323
|
+
default87 as useDirectory,
|
|
324
|
+
default88 as useDropdown,
|
|
325
|
+
default89 as useDropzone,
|
|
336
326
|
useDropzoneContext,
|
|
337
327
|
useEdificeClient,
|
|
338
|
-
|
|
328
|
+
default90 as useEdificeIcons,
|
|
339
329
|
useEdificeTheme,
|
|
340
330
|
useFileToAttachment,
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
default106 as useMediaLibrary,
|
|
353
|
-
default107 as useNextcloudSearch,
|
|
331
|
+
default91 as useHasWorkflow,
|
|
332
|
+
default92 as useHover,
|
|
333
|
+
default93 as useHttpErrorToast,
|
|
334
|
+
default94 as useImage,
|
|
335
|
+
default95 as useInfiniteScroll,
|
|
336
|
+
default96 as useIsAdmc,
|
|
337
|
+
default97 as useIsAdml,
|
|
338
|
+
default98 as useIsAdmlcOrAdmc,
|
|
339
|
+
default99 as useKeyPress,
|
|
340
|
+
default100 as useLibraryUrl,
|
|
341
|
+
default101 as useMediaLibrary,
|
|
354
342
|
useOverlay,
|
|
355
343
|
usePageLayout,
|
|
356
|
-
|
|
344
|
+
default102 as usePublicConf,
|
|
357
345
|
useScreeb,
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
346
|
+
default103 as useScrollToTop,
|
|
347
|
+
default104 as useShareMutation,
|
|
348
|
+
default105 as useTitle,
|
|
349
|
+
default106 as useToast,
|
|
350
|
+
default107 as useToggle,
|
|
351
|
+
default108 as useTrapFocus,
|
|
352
|
+
default109 as useTrashedResource,
|
|
365
353
|
useTreeSortable,
|
|
366
354
|
useTreeView,
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
355
|
+
default110 as useUiOverride,
|
|
356
|
+
default111 as useUpdateMutation,
|
|
357
|
+
default112 as useUpload,
|
|
358
|
+
default113 as useUploadFiles,
|
|
359
|
+
default114 as useUser,
|
|
360
|
+
default122 as useUserPreferences,
|
|
361
|
+
default115 as useWorkspaceFile,
|
|
362
|
+
default116 as useWorkspaceFolders,
|
|
363
|
+
default117 as useWorkspaceFoldersTree,
|
|
364
|
+
default118 as useWorkspaceSearch,
|
|
365
|
+
default119 as useXitiTrackPageLoad,
|
|
366
|
+
default120 as useZendeskGuide,
|
|
379
367
|
wrapTreeNode
|
|
380
368
|
};
|
|
@@ -1,6 +1,2 @@
|
|
|
1
1
|
export { default as FileCard } from './FileCard';
|
|
2
2
|
export * from './FileCard';
|
|
3
|
-
export { default as GoogleDriveFileCard } from './GoogleDriveFileCard';
|
|
4
|
-
export * from './GoogleDriveFileCard';
|
|
5
|
-
export { default as NextcloudFileCard } from './NextcloudFileCard';
|
|
6
|
-
export * from './NextcloudFileCard';
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
1
|
import { App, ILinkedResource } from '@edifice.io/client';
|
|
3
2
|
/**
|
|
4
3
|
* Definition of an internal link.
|
|
@@ -33,11 +32,6 @@ export interface InternalLinkerProps {
|
|
|
33
32
|
applicationList?: ApplicationOption[];
|
|
34
33
|
/** Whether to show the application selector */
|
|
35
34
|
showApplicationSelector?: boolean;
|
|
36
|
-
/**
|
|
37
|
-
* Rendered on the search row, where the application selector sits, for
|
|
38
|
-
* consumers that hide that selector but still need a filter of their own.
|
|
39
|
-
*/
|
|
40
|
-
searchFilter?: ReactNode;
|
|
41
35
|
/** Disable application selecetor */
|
|
42
36
|
disableApplicationSelector?: boolean;
|
|
43
37
|
/** Optional callback to filter resources after loading. Applied in addition to search filters. */
|
|
@@ -55,5 +49,5 @@ export interface InternalLinkerProps {
|
|
|
55
49
|
/** Label for the "load more" button. Defaults to the `bbm.linker.see.more` i18n key. */
|
|
56
50
|
loadMoreLabel?: string;
|
|
57
51
|
}
|
|
58
|
-
export declare const InternalLinker: ({ appCode, defaultAppCode, defaultResourceId, onChange, onSelect, multiple, resourceList, applicationList, showApplicationSelector,
|
|
52
|
+
export declare const InternalLinker: ({ appCode, defaultAppCode, defaultResourceId, onChange, onSelect, multiple, resourceList, applicationList, showApplicationSelector, disableApplicationSelector, resourceFilter, onSearch, hasMoreResources, onLoadMore, loadMoreLabel, }: InternalLinkerProps) => import("react/jsx-runtime").JSX.Element;
|
|
59
53
|
export default InternalLinker;
|
|
@@ -23,7 +23,6 @@ const InternalLinker = ({
|
|
|
23
23
|
resourceList,
|
|
24
24
|
applicationList,
|
|
25
25
|
showApplicationSelector = !0,
|
|
26
|
-
searchFilter,
|
|
27
26
|
disableApplicationSelector = !1,
|
|
28
27
|
resourceFilter,
|
|
29
28
|
onSearch,
|
|
@@ -132,7 +131,6 @@ const InternalLinker = ({
|
|
|
132
131
|
] }), variant: "ghost", size: "md", disabled: disableApplicationSelector }),
|
|
133
132
|
/* @__PURE__ */ jsx(Dropdown.Menu, { children: options == null ? void 0 : options.map((option) => /* @__PURE__ */ jsx(Dropdown.Item, { icon: option.icon, onClick: () => handleOptionClick(option), children: option.displayName }, option.application)) })
|
|
134
133
|
] }) }),
|
|
135
|
-
!showApplicationSelector && searchFilter && /* @__PURE__ */ jsx("div", { className: "flex-shrink-1 px-8 py-12 border-end align-self-center", children: searchFilter }),
|
|
136
134
|
/* @__PURE__ */ jsx("div", { className: "flex-grow-1 align-self-center", children: /* @__PURE__ */ jsx("form", { className: "gap-16 d-flex w-100 align-items-center px-16 py-8", onSubmit: handleSubmit, children: /* @__PURE__ */ jsx(SearchBar, { isVariant: !0, placeholder: t("search"), size: "lg", className: "w-100", disabled: !selectedApplication, onChange: handleSearchChange }) }) })
|
|
137
135
|
] }),
|
|
138
136
|
/* @__PURE__ */ jsxs("div", { className: "internal-linker flex-grow-1 w-100 rounded-bottom border gap-0 overflow-auto", children: [
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { WorkspaceElement, WorkspaceVisibility } from '@edifice.io/client';
|
|
2
2
|
import { TabsItemProps } from '../../../components';
|
|
3
3
|
import { ExternalLinkTabProps } from './innertabs/ExternalLink';
|
|
4
4
|
import { InternalLinkTabProps, InternalLinkTabResult } from './innertabs/InternalLink';
|
|
@@ -54,7 +54,7 @@ export interface MediaLibraryRef {
|
|
|
54
54
|
/**
|
|
55
55
|
* The resulting type depends on the actual selected Tab when modal is closed.
|
|
56
56
|
*/
|
|
57
|
-
export type MediaLibraryResult = WorkspaceElement[] | WorkspaceElement |
|
|
57
|
+
export type MediaLibraryResult = WorkspaceElement[] | WorkspaceElement | InternalLinkTabResult | string | /*TODO type des autres résultats ?*/ any;
|
|
58
58
|
/**
|
|
59
59
|
* MediaLibrary component properties
|
|
60
60
|
*/
|