@edifice.io/react 2.0.0-develop-rc.13 → 2.0.0-develop-rc.14

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.
Files changed (246) hide show
  1. package/dist/common/PublishModal/hooks/usePublishModal.d.ts +1 -1
  2. package/dist/common/ResourceModal/hooks/useThumb.d.ts +1 -1
  3. package/dist/components/Card/Card.d.ts +1 -1
  4. package/dist/components/Card/CardBody.d.ts +1 -1
  5. package/dist/components/Modal/Modal.d.ts +0 -3
  6. package/dist/core/useUploadFiles/useUploadFiles.d.ts +2 -2
  7. package/dist/hooks/useToast/useToast.d.ts +1 -1
  8. package/dist/icons/dist/index.js +1282 -0
  9. package/dist/index.d.ts +3 -3
  10. package/dist/index.js +224 -224
  11. package/dist/{common → ui/src/common}/ResourceModal/apps/BlogPublic.js +3 -3
  12. package/dist/{common → ui/src/common}/ShareModal/ShareBookmark.js +2 -2
  13. package/dist/{common → ui/src/common}/ShareModal/ShareBookmarkLine.js +5 -5
  14. package/dist/{common → ui/src/common}/ShareModal/ShareModal.js +5 -5
  15. package/dist/{common → ui/src/common}/ShareModal/hooks/useSearch.js +2 -2
  16. package/dist/{components → ui/src/components}/Alert/Alert.js +7 -7
  17. package/dist/{components → ui/src/components}/Attachment/Attachment.js +2 -2
  18. package/dist/{components → ui/src/components}/Audience/ViewsByProfileCard.js +2 -2
  19. package/dist/{components → ui/src/components}/Audience/ViewsCounter.js +2 -2
  20. package/dist/{components → ui/src/components}/Audience/ViewsModal.js +3 -3
  21. package/dist/{components → ui/src/components}/Audience/hooks/useReactionIcons.js +2 -2
  22. package/dist/{components → ui/src/components}/Avatar/Avatar.js +2 -2
  23. package/dist/{components → ui/src/components}/Breadcrumb/Breadcrumb.js +2 -2
  24. package/dist/{components → ui/src/components}/Button/Button.js +2 -2
  25. package/dist/{components → ui/src/components}/Button/SearchButton.js +2 -2
  26. package/dist/{components → ui/src/components}/Card/CardHeader.js +2 -2
  27. package/dist/{components → ui/src/components}/Checkbox/Checkbox.js +2 -2
  28. package/dist/{components → ui/src/components}/ColorPicker/ColorPicker.js +3 -3
  29. package/dist/ui/src/components/ColorPicker/ColorPickerItem.js +13 -0
  30. package/dist/{components → ui/src/components}/Combobox/Combobox.js +1 -2
  31. package/dist/{components → ui/src/components}/Dropdown/DropdownTrigger.js +2 -2
  32. package/dist/{components → ui/src/components}/Dropzone/DropzoneFile.js +2 -2
  33. package/dist/{components → ui/src/components}/Dropzone/DropzoneImport.js +2 -2
  34. package/dist/{components → ui/src/components}/FileCard/FileCard.js +5 -5
  35. package/dist/{components → ui/src/components}/FileCard/FileIcon.js +2 -2
  36. package/dist/{components → ui/src/components}/Form/FormControl.js +2 -2
  37. package/dist/{components → ui/src/components}/Heading/Heading.js +2 -2
  38. package/dist/{components → ui/src/components}/ImagePicker/ImagePicker.js +3 -3
  39. package/dist/{components → ui/src/components}/Input/Input.js +2 -2
  40. package/dist/{components → ui/src/components}/Label/Label.js +2 -2
  41. package/dist/{components → ui/src/components}/Loading/Loading.js +2 -2
  42. package/dist/{components → ui/src/components}/LoadingScreen/LoadingScreen.js +2 -2
  43. package/dist/{components → ui/src/components}/Modal/Modal.js +2 -2
  44. package/dist/{components → ui/src/components}/Modal/ModalHeader.js +2 -2
  45. package/dist/{components → ui/src/components}/Radio/Radio.js +2 -2
  46. package/dist/{components → ui/src/components}/SearchBar/SearchBar.js +3 -3
  47. package/dist/{components → ui/src/components}/TextArea/TextArea.js +2 -2
  48. package/dist/{components → ui/src/components}/Tooltip/Tooltip.js +2 -2
  49. package/dist/{components → ui/src/components}/TreeView/TreeItem.js +5 -5
  50. package/dist/{components → ui/src/components}/UploadCard/UploadCard.js +5 -5
  51. package/dist/{components → ui/src/components}/VisuallyHidden/VisuallyHidden.js +2 -2
  52. package/dist/{core → ui/src/core}/useMediaLibrary/useMediaLibrary.js +2 -2
  53. package/dist/{multimedia → ui/src/multimedia}/AudioRecorder/AudioRecorder.js +2 -2
  54. package/dist/{multimedia → ui/src/multimedia}/AudioRecorder/AudioRecorderTimer.js +3 -3
  55. package/dist/{multimedia → ui/src/multimedia}/AudioRecorder/useAudioRecorder.js +9 -9
  56. package/dist/{multimedia → ui/src/multimedia}/Embed/Embed.js +3 -3
  57. package/dist/{multimedia → ui/src/multimedia}/ImageEditor/components/ImageEditorToolbar.js +5 -5
  58. package/dist/{multimedia → ui/src/multimedia}/ImagePickerWorkspace/ImagePickerWorkspace.js +3 -3
  59. package/dist/{multimedia → ui/src/multimedia}/Linker/InternalLinker.js +2 -2
  60. package/dist/{multimedia → ui/src/multimedia}/LinkerCard/LinkerCard.js +2 -2
  61. package/dist/{multimedia → ui/src/multimedia}/MediaLibrary/MediaLibrary.js +9 -9
  62. package/dist/{multimedia → ui/src/multimedia}/VideoEmbed/VideoEmbed.js +6 -6
  63. package/dist/{multimedia → ui/src/multimedia}/VideoRecorder/VideoRecorder.js +12 -12
  64. package/dist/{multimedia → ui/src/multimedia}/Workspace/Workspace.js +5 -5
  65. package/dist/{portal → ui/src/portal}/Header/Header.js +5 -5
  66. package/dist/{portal → ui/src/portal}/Help/hooks/useHelp.js +3 -3
  67. package/package.json +7 -7
  68. package/dist/components/ColorPicker/ColorPickerItem.js +0 -13
  69. package/dist/{common → ui/src/common}/OnboardingModal/OnboardingModal.js +0 -0
  70. package/dist/{common → ui/src/common}/OnboardingModal/useOnboardingModal.js +0 -0
  71. package/dist/{common → ui/src/common}/PublishModal/PublishModal.js +3 -3
  72. package/dist/{common → ui/src/common}/PublishModal/components/ActivitiesDropdown.js +0 -0
  73. package/dist/{common → ui/src/common}/PublishModal/components/AgeSelect.js +0 -0
  74. package/dist/{common → ui/src/common}/PublishModal/components/LangSelect.js +0 -0
  75. package/dist/{common → ui/src/common}/PublishModal/components/PublishModalFooter.js +0 -0
  76. package/dist/{common → ui/src/common}/PublishModal/components/SubjectsDropdown.js +0 -0
  77. package/dist/{common → ui/src/common}/PublishModal/components/ToastError.js +0 -0
  78. package/dist/{common → ui/src/common}/PublishModal/components/ToastSuccess.js +0 -0
  79. package/dist/{common → ui/src/common}/PublishModal/constants/ageOptions.js +0 -0
  80. package/dist/{common → ui/src/common}/PublishModal/hooks/useActivitiesOptions.js +0 -0
  81. package/dist/{common → ui/src/common}/PublishModal/hooks/useLanguageOptions.js +0 -0
  82. package/dist/{common → ui/src/common}/PublishModal/hooks/usePublishModal.js +0 -0
  83. package/dist/{common → ui/src/common}/PublishModal/hooks/useSubjectsOptions.js +0 -0
  84. package/dist/{common → ui/src/common}/ResourceModal/ResourceModal.js +2 -2
  85. package/dist/{common → ui/src/common}/ResourceModal/hooks/useSlug.js +0 -0
  86. package/dist/{common → ui/src/common}/ResourceModal/hooks/useThumb.js +0 -0
  87. package/dist/{common → ui/src/common}/ResourceModal/hooks/useUpdateMutation.js +0 -0
  88. package/dist/{common → ui/src/common}/ShareModal/apps/ShareBlog.js +1 -1
  89. package/dist/{common → ui/src/common}/ShareModal/hooks/useShare.js +0 -0
  90. package/dist/{common → ui/src/common}/ShareModal/hooks/useShareBookmark.js +0 -0
  91. package/dist/{common → ui/src/common}/ShareModal/hooks/useShareMutation.js +0 -0
  92. package/dist/{common → ui/src/common}/ShareModal/utils/hasRight.js +0 -0
  93. package/dist/{common → ui/src/common}/ShareModal/utils/showShareRightLine.js +0 -0
  94. package/dist/{components → ui/src/components}/ActionBar/ActionBar.js +0 -0
  95. package/dist/{components → ui/src/components}/AppHeader/AppHeader.js +0 -0
  96. package/dist/{components → ui/src/components}/AppIcon/AppIcon.js +0 -0
  97. package/dist/{components → ui/src/components}/Audience/ReactionChoice.js +0 -0
  98. package/dist/{components → ui/src/components}/Audience/ReactionModal.Card.js +0 -0
  99. package/dist/{components → ui/src/components}/Audience/ReactionModal.js +0 -0
  100. package/dist/{components → ui/src/components}/Audience/ReactionSummary.js +0 -0
  101. package/dist/{components → ui/src/components}/Audience/hooks/useReactions.js +0 -0
  102. package/dist/{components → ui/src/components}/Badge/Badge.js +0 -0
  103. package/dist/{components → ui/src/components}/Breadcrumb/BreadcrumbItem.js +0 -0
  104. package/dist/{components → ui/src/components}/Breadcrumb/BreadcrumbList.js +0 -0
  105. package/dist/{components → ui/src/components}/Breadcrumb/BreadcrumbNav.js +0 -0
  106. package/dist/{components → ui/src/components}/Button/IconButton.js +0 -0
  107. package/dist/{components → ui/src/components}/Card/Card.js +0 -0
  108. package/dist/{components → ui/src/components}/Card/CardBody.js +0 -0
  109. package/dist/{components → ui/src/components}/Card/CardContext.js +0 -0
  110. package/dist/{components → ui/src/components}/Card/CardFooter.js +0 -0
  111. package/dist/{components → ui/src/components}/Card/CardImage.js +0 -0
  112. package/dist/{components → ui/src/components}/Card/CardText.js +0 -0
  113. package/dist/{components → ui/src/components}/Card/CardTitle.js +0 -0
  114. package/dist/{components → ui/src/components}/Card/CardUser.js +0 -0
  115. package/dist/{components → ui/src/components}/ColorPicker/ColorPalette.js +0 -0
  116. package/dist/{components → ui/src/components}/Combobox/ComboboxTrigger.js +0 -0
  117. package/dist/{components → ui/src/components}/Dropdown/Dropdown.js +0 -0
  118. package/dist/{components → ui/src/components}/Dropdown/DropdownCheckboxItem.js +0 -0
  119. package/dist/{components → ui/src/components}/Dropdown/DropdownContext.js +0 -0
  120. package/dist/{components → ui/src/components}/Dropdown/DropdownItem.js +0 -0
  121. package/dist/{components → ui/src/components}/Dropdown/DropdownMenu.js +0 -0
  122. package/dist/{components → ui/src/components}/Dropdown/DropdownMenuGroup.js +0 -0
  123. package/dist/{components → ui/src/components}/Dropdown/DropdownRadioItem.js +0 -0
  124. package/dist/{components → ui/src/components}/Dropdown/DropdownSeparator.js +0 -0
  125. package/dist/{components → ui/src/components}/Dropzone/Dropzone.js +0 -0
  126. package/dist/{components → ui/src/components}/Dropzone/DropzoneContext.js +0 -0
  127. package/dist/{components → ui/src/components}/Dropzone/DropzoneDrag.js +0 -0
  128. package/dist/{components → ui/src/components}/EmptyScreen/EmptyScreen.js +0 -0
  129. package/dist/{components → ui/src/components}/Form/FormContext.js +0 -0
  130. package/dist/{components → ui/src/components}/Form/FormText.js +0 -0
  131. package/dist/{components → ui/src/components}/Grid/Grid.js +0 -0
  132. package/dist/{components → ui/src/components}/Image/Image.js +0 -0
  133. package/dist/{components → ui/src/components}/Logo/Logo.js +0 -0
  134. package/dist/{components → ui/src/components}/Menu/Menu.js +0 -0
  135. package/dist/{components → ui/src/components}/Menu/MenuButton.js +0 -0
  136. package/dist/{components → ui/src/components}/Menu/MenuContext.js +0 -0
  137. package/dist/{components → ui/src/components}/Menu/MenuItem.js +0 -0
  138. package/dist/{components → ui/src/components}/Modal/ModalBody.js +0 -0
  139. package/dist/{components → ui/src/components}/Modal/ModalContext.js +0 -0
  140. package/dist/{components → ui/src/components}/Modal/ModalFooter.js +0 -0
  141. package/dist/{components → ui/src/components}/Modal/ModalSubtitle.js +0 -0
  142. package/dist/{components → ui/src/components}/Popover/Popover.js +0 -0
  143. package/dist/{components → ui/src/components}/Select/Select.js +0 -0
  144. package/dist/{components → ui/src/components}/Select/SelectTrigger.js +0 -0
  145. package/dist/{components → ui/src/components}/Table/Table.components.js +0 -0
  146. package/dist/{components → ui/src/components}/Table/Table.js +0 -0
  147. package/dist/{components → ui/src/components}/Tabs/Tabs.js +0 -0
  148. package/dist/{components → ui/src/components}/Tabs/TabsContext.js +0 -0
  149. package/dist/{components → ui/src/components}/Tabs/TabsItem.js +0 -0
  150. package/dist/{components → ui/src/components}/Tabs/TabsList.js +0 -0
  151. package/dist/{components → ui/src/components}/Tabs/TabsPanel.js +0 -0
  152. package/dist/{components → ui/src/components}/TextArea/TextareaCounter.js +0 -0
  153. package/dist/{components → ui/src/components}/Toolbar/Toolbar.js +0 -0
  154. package/dist/{components → ui/src/components}/TreeView/TreeView.js +0 -0
  155. package/dist/{components → ui/src/components}/TreeView/hooks/useTreeItemEvents.js +0 -0
  156. package/dist/{core → ui/src/core}/OdeClientProvider/OdeClientProvider.js +0 -0
  157. package/dist/{core → ui/src/core}/ThemeProvider/ThemeProvider.js +0 -0
  158. package/dist/{core → ui/src/core}/useAvatar/useAvatar.js +0 -0
  159. package/dist/{core → ui/src/core}/useBookmark/useBookmark.js +0 -0
  160. package/dist/{core → ui/src/core}/useCantoo/useCantoo.js +0 -0
  161. package/dist/{core → ui/src/core}/useConf/useConf.js +0 -0
  162. package/dist/{core → ui/src/core}/useConversation/useConversation.js +0 -0
  163. package/dist/{core → ui/src/core}/useCookiesConsent/useCookiesConsent.js +0 -0
  164. package/dist/{core → ui/src/core}/useDate/useDate.js +0 -0
  165. package/dist/{core → ui/src/core}/useHasWorkflow/useHasWorkflow.js +0 -0
  166. package/dist/{core → ui/src/core}/useHeader/useHeader.js +0 -0
  167. package/dist/{core → ui/src/core}/useHttpErrorToast/useHttpErrorToast.js +0 -0
  168. package/dist/{core → ui/src/core}/useIsAdml/useIsAdml.js +0 -0
  169. package/dist/{core → ui/src/core}/useLibraryUrl/useLibraryUrl.js +0 -0
  170. package/dist/{core → ui/src/core}/useOdeIcons/useOdeIcons.js +0 -0
  171. package/dist/{core → ui/src/core}/usePaths/usePaths.js +0 -0
  172. package/dist/{core → ui/src/core}/usePreferences/usePreferences.js +0 -0
  173. package/dist/{core → ui/src/core}/useResource/useResource.js +0 -0
  174. package/dist/{core → ui/src/core}/useResourceSearch/useResourceSearch.js +0 -0
  175. package/dist/{core → ui/src/core}/useSession/useSession.js +0 -0
  176. package/dist/{core → ui/src/core}/useTrashedResource/useTrashedResource.js +0 -0
  177. package/dist/{core → ui/src/core}/useUpload/useUpload.js +0 -0
  178. package/dist/{core → ui/src/core}/useUploadFiles/useUploadFiles.js +0 -0
  179. package/dist/{core → ui/src/core}/useUser/useUser.js +0 -0
  180. package/dist/{core → ui/src/core}/useWorkspaceFile/useWorkspaceFile.js +0 -0
  181. package/dist/{core → ui/src/core}/useWorkspaceSearch/useWorkspaceSearch.js +0 -0
  182. package/dist/{core → ui/src/core}/useXitiTrackPageLoad/useXitiTrackPageLoad.js +0 -0
  183. package/dist/{core → ui/src/core}/useZendeskGuide/useZendeskGuide.js +0 -0
  184. package/dist/{hooks → ui/src/hooks}/useBrowserInfo/useBrowserInfo.js +0 -0
  185. package/dist/{hooks → ui/src/hooks}/useClickOutside/useClickOutside.js +0 -0
  186. package/dist/{hooks → ui/src/hooks}/useDebounce/useDebounce.js +0 -0
  187. package/dist/{hooks → ui/src/hooks}/useDropdown/useDropdown.js +0 -0
  188. package/dist/{hooks → ui/src/hooks}/useDropzone/useDropzone.js +0 -0
  189. package/dist/{hooks → ui/src/hooks}/useHover/useHover.js +0 -0
  190. package/dist/{hooks → ui/src/hooks}/useImage/useImage.js +0 -0
  191. package/dist/{hooks → ui/src/hooks}/useImageResizer/useImageResizer.js +0 -0
  192. package/dist/{hooks → ui/src/hooks}/useKeyPress/useKeyPress.js +0 -0
  193. package/dist/{hooks → ui/src/hooks}/useScrollToTop/useScrollToTop.js +0 -0
  194. package/dist/{hooks → ui/src/hooks}/useThumbnail/useThumbnail.js +0 -0
  195. package/dist/{hooks → ui/src/hooks}/useTitle/useTitle.js +0 -0
  196. package/dist/{hooks → ui/src/hooks}/useToast/useToast.js +0 -0
  197. package/dist/{hooks → ui/src/hooks}/useToggle/useToggle.js +0 -0
  198. package/dist/{hooks → ui/src/hooks}/useTrapFocus/useTrapFocus.js +0 -0
  199. package/dist/{multimedia → ui/src/multimedia}/ImageEditor/components/ImageEditor.js +1 -1
  200. package/dist/{multimedia → ui/src/multimedia}/ImageEditor/effects/blur.js +0 -0
  201. package/dist/{multimedia → ui/src/multimedia}/ImageEditor/effects/crop.js +0 -0
  202. package/dist/{multimedia → ui/src/multimedia}/ImageEditor/effects/misc.js +0 -0
  203. package/dist/{multimedia → ui/src/multimedia}/ImageEditor/effects/resize.js +0 -0
  204. package/dist/{multimedia → ui/src/multimedia}/ImageEditor/effects/rotate.js +0 -0
  205. package/dist/{multimedia → ui/src/multimedia}/ImageEditor/hooks/useHistoryTool.js +0 -0
  206. package/dist/{multimedia → ui/src/multimedia}/ImageEditor/hooks/useImageEditor.js +0 -0
  207. package/dist/{multimedia → ui/src/multimedia}/ImageEditor/hooks/useImageEffects.js +0 -0
  208. package/dist/{multimedia → ui/src/multimedia}/ImageEditor/utils/aggregate.js +0 -0
  209. package/dist/{multimedia → ui/src/multimedia}/Linker/ExternalLinker.js +2 -2
  210. package/dist/{multimedia → ui/src/multimedia}/MediaLibrary/MediaLibraryContext.js +0 -0
  211. package/dist/{multimedia → ui/src/multimedia}/MediaLibrary/innertabs/Audio.js +0 -0
  212. package/dist/{multimedia → ui/src/multimedia}/MediaLibrary/innertabs/ExternalLink.js +0 -0
  213. package/dist/{multimedia → ui/src/multimedia}/MediaLibrary/innertabs/Iframe.js +0 -0
  214. package/dist/{multimedia → ui/src/multimedia}/MediaLibrary/innertabs/InternalLink.js +0 -0
  215. package/dist/{multimedia → ui/src/multimedia}/MediaLibrary/innertabs/Upload.js +0 -0
  216. package/dist/{multimedia → ui/src/multimedia}/MediaLibrary/innertabs/Video.js +0 -0
  217. package/dist/{multimedia → ui/src/multimedia}/MediaLibrary/innertabs/VideoEmbedder.js +0 -0
  218. package/dist/{multimedia → ui/src/multimedia}/MediaLibrary/innertabs/Workspace.js +0 -0
  219. package/dist/{multimedia → ui/src/multimedia}/MediaLibrary/innertabs/index.js +0 -0
  220. package/dist/{multimedia → ui/src/multimedia}/UploadFiles/UploadFiles.js +0 -0
  221. package/dist/{portal → ui/src/portal}/Header/Badge.js +0 -0
  222. package/dist/{portal → ui/src/portal}/Header/NavItem.js +0 -0
  223. package/dist/{portal → ui/src/portal}/Header/NavLink.js +0 -0
  224. package/dist/{portal → ui/src/portal}/Header/Navbar.js +0 -0
  225. package/dist/{portal → ui/src/portal}/Header/NavbarNav.js +0 -0
  226. package/dist/{portal → ui/src/portal}/Header/WidgetApps.js +0 -0
  227. package/dist/{portal → ui/src/portal}/Help/Help.js +0 -0
  228. package/dist/{portal → ui/src/portal}/Layout/Layout.js +0 -0
  229. package/dist/{portal → ui/src/portal}/SearchEngine/SearchEngine.js +1 -1
  230. /package/dist/{utils → ui/src/utils}/MockedDataProvider/MockedDataProvider.js +0 -0
  231. /package/dist/{utils → ui/src/utils}/StringUtils.js +0 -0
  232. /package/dist/{utils → ui/src/utils}/addTimestampToUrl.js +0 -0
  233. /package/dist/{utils → ui/src/utils}/blob.js +0 -0
  234. /package/dist/{utils → ui/src/utils}/checkUserRight.js +0 -0
  235. /package/dist/{utils → ui/src/utils}/fileSize.js +0 -0
  236. /package/dist/{utils → ui/src/utils}/findTreeNode.js +0 -0
  237. /package/dist/{utils → ui/src/utils}/isActionAvailable.js +0 -0
  238. /package/dist/{utils → ui/src/utils}/libraryMaps.js +0 -0
  239. /package/dist/{utils → ui/src/utils}/noop.js +0 -0
  240. /package/dist/{utils → ui/src/utils}/ref.js +0 -0
  241. /package/dist/{utils → ui/src/utils}/thumbnail.js +0 -0
  242. /package/dist/{utils → ui/src/utils}/time.js +0 -0
  243. /package/dist/{utils → ui/src/utils}/treeview.js +0 -0
  244. /package/dist/{utils → ui/src/utils}/video.js +0 -0
  245. /package/dist/{widgets → ui/src/widgets}/BookmarkedApps/BookmarkedApps.js +0 -0
  246. /package/dist/{widgets → ui/src/widgets}/Widget/Widget.js +0 -0
@@ -28,7 +28,7 @@ const TextArea = /* @__PURE__ */ forwardRef(({
28
28
  "no-validation-icon": noValidationIcon
29
29
  }, className);
30
30
  return /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsx("textarea", { ref, id, className: classes, placeholder, required: isRequired, readOnly: isReadOnly, ...restProps }) });
31
- }), TextArea$1 = TextArea;
31
+ });
32
32
  export {
33
- TextArea$1 as default
33
+ TextArea as default
34
34
  };
@@ -34,7 +34,7 @@ const Tooltip = ({
34
34
  /* @__PURE__ */ jsx("div", { className: "tooltip-arrow", ref: setArrowElement, style: styles.arrow })
35
35
  ] })
36
36
  ] });
37
- }, Tooltip$1 = Tooltip;
37
+ };
38
38
  export {
39
- Tooltip$1 as default
39
+ Tooltip as default
40
40
  };
@@ -1,7 +1,7 @@
1
1
  import { jsx, jsxs } from "react/jsx-runtime";
2
2
  import { useState, useEffect } from "react";
3
- import { RafterRight, RafterDown, Folder } from "@edifice.io/icons";
4
3
  import { useTranslation } from "react-i18next";
4
+ import { RafterRight as SvgRafterRight$1, RafterDown as SvgRafterDown$1, Folder as SvgFolder$1 } from "../../../../icons/dist/index.js";
5
5
  import useTreeItemEvents from "./hooks/useTreeItemEvents.js";
6
6
  const TreeItem = (props) => {
7
7
  const {
@@ -36,12 +36,12 @@ const TreeItem = (props) => {
36
36
  const rafterSize = section ? 16 : 12, renderItem = () => /* @__PURE__ */ jsx("li", { id: `listitem_${nodeId}`, role: "treeitem", "aria-selected": selected, "aria-expanded": expanded, children: /* @__PURE__ */ jsxs("div", { children: [
37
37
  /* @__PURE__ */ jsxs("div", { className: "action-container d-flex align-items-center gap-8 px-2", children: [
38
38
  /* @__PURE__ */ jsxs("div", { className: `py-8 ${Array.isArray(children) ? null : "invisible"}`, tabIndex: 0, role: "button", onClick: handleItemFoldUnfoldClick, onKeyDown: handleItemFoldUnfoldKeyDown, "aria-label": t("foldUnfold"), children: [
39
- Array.isArray(children) && !!children.length && !expanded && /* @__PURE__ */ jsx(RafterRight, { title: t("foldUnfold"), width: rafterSize, height: rafterSize }),
40
- Array.isArray(children) && !!children.length && expanded && /* @__PURE__ */ jsx(RafterDown, { title: t("foldUnfold"), width: rafterSize, height: rafterSize }),
41
- !Array.isArray(children) && /* @__PURE__ */ jsx(RafterRight, { title: t("foldUnfold"), width: rafterSize, height: rafterSize, "aria-hidden": "true" })
39
+ Array.isArray(children) && !!children.length && !expanded && /* @__PURE__ */ jsx(SvgRafterRight$1, { title: t("foldUnfold"), width: rafterSize, height: rafterSize }),
40
+ Array.isArray(children) && !!children.length && expanded && /* @__PURE__ */ jsx(SvgRafterDown$1, { title: t("foldUnfold"), width: rafterSize, height: rafterSize }),
41
+ !Array.isArray(children) && /* @__PURE__ */ jsx(SvgRafterRight$1, { title: t("foldUnfold"), width: rafterSize, height: rafterSize, "aria-hidden": "true" })
42
42
  ] }),
43
43
  /* @__PURE__ */ jsxs("div", { tabIndex: 0, role: "button", className: "flex-fill d-flex align-items-center text-truncate gap-8 py-8", onClick: handleItemClick, onKeyDown: handleItemKeyDown, onFocus: handleItemFocus, onBlur: handleItemBlur, children: [
44
- section && /* @__PURE__ */ jsx(Folder, { title: t("folder"), width: 20, height: 20 }),
44
+ section && /* @__PURE__ */ jsx(SvgFolder$1, { title: t("folder"), width: 20, height: 20 }),
45
45
  /* @__PURE__ */ jsx("span", { className: "text-truncate", children: label })
46
46
  ] })
47
47
  ] }),
@@ -1,6 +1,6 @@
1
1
  import { jsx, jsxs } from "react/jsx-runtime";
2
- import { Reset, SuccessOutline, Close, Wand } from "@edifice.io/icons";
3
2
  import { useTranslation } from "react-i18next";
3
+ import { Reset as SvgReset$1, SuccessOutline as SvgSuccessOutline$1, Close as SvgClose$1, Wand as SvgWand$1 } from "../../../../icons/dist/index.js";
4
4
  import Button from "../Button/Button.js";
5
5
  import Image from "../Image/Image.js";
6
6
  import Tooltip from "../Tooltip/Tooltip.js";
@@ -30,7 +30,7 @@ const UploadCard = ({
30
30
  }, mapping = {
31
31
  error: {
32
32
  text: /* @__PURE__ */ jsx("strong", { children: /* @__PURE__ */ jsx("small", { className: "text-danger caption", children: t("tiptap.upload.error") }) }),
33
- context: /* @__PURE__ */ jsx(Button, { leftIcon: /* @__PURE__ */ jsx(Reset, {}), variant: "ghost", color: "tertiary", onClick: onRetry, children: t("tiptap.upload.retry") }),
33
+ context: /* @__PURE__ */ jsx(Button, { leftIcon: /* @__PURE__ */ jsx(SvgReset$1, {}), variant: "ghost", color: "tertiary", onClick: onRetry, children: t("tiptap.upload.retry") }),
34
34
  image: /* @__PURE__ */ jsx(Image, { alt: "", src: `${imagePath}/common/image-status-error.svg`, objectFit: "cover" })
35
35
  },
36
36
  idle: defaultMapping,
@@ -46,13 +46,13 @@ const UploadCard = ({
46
46
  " ",
47
47
  (info == null ? void 0 : info.weight) && `- ${info.weight}`
48
48
  ] }),
49
- context: /* @__PURE__ */ jsx(Tooltip, { message: t("tiptap.tooltip.upload.loaded"), placement: "top", children: /* @__PURE__ */ jsx(SuccessOutline, { className: "text-success" }) }),
49
+ context: /* @__PURE__ */ jsx(Tooltip, { message: t("tiptap.tooltip.upload.loaded"), placement: "top", children: /* @__PURE__ */ jsx(SvgSuccessOutline$1, { className: "text-success" }) }),
50
50
  image: /* @__PURE__ */ jsx(Image, { alt: "", src: src ?? "", width: "48", objectFit: "cover", className: "rounded", style: {
51
51
  aspectRatio: 1 / 1
52
52
  } })
53
53
  },
54
54
  unknown: defaultMapping
55
- }, canEditItem = () => isTypeImage && /* @__PURE__ */ jsx(Tooltip, { message: t("tiptap.tooltip.upload.edit"), placement: "top", children: /* @__PURE__ */ jsx(IconButton, { icon: /* @__PURE__ */ jsx(Wand, {}), variant: "ghost", "aria-label": t("tiptap.tooltip.upload.loading"), disabled: isLoading || !isSuccess, onClick: onEdit, color: "secondary" }) });
55
+ }, canEditItem = () => isTypeImage && /* @__PURE__ */ jsx(Tooltip, { message: t("tiptap.tooltip.upload.edit"), placement: "top", children: /* @__PURE__ */ jsx(IconButton, { icon: /* @__PURE__ */ jsx(SvgWand$1, {}), variant: "ghost", "aria-label": t("tiptap.tooltip.upload.loading"), disabled: isLoading || !isSuccess, onClick: onEdit, color: "secondary" }) });
56
56
  return /* @__PURE__ */ jsx(Card, { isClickable, isSelectable, className: "card-upload", children: /* @__PURE__ */ jsxs(Card.Body, { children: [
57
57
  /* @__PURE__ */ jsx("div", { className: "card-image", children: mapping[status].image }),
58
58
  /* @__PURE__ */ jsxs("div", { className: "text-truncate", children: [
@@ -63,7 +63,7 @@ const UploadCard = ({
63
63
  mapping[status].context,
64
64
  !isIdle && /* @__PURE__ */ jsx("div", { className: "vr" }),
65
65
  canEditItem(),
66
- /* @__PURE__ */ jsx(Tooltip, { message: t("tiptap.tooltip.upload.delete"), placement: "top", children: /* @__PURE__ */ jsx(IconButton, { icon: /* @__PURE__ */ jsx(Close, {}), variant: "ghost", "aria-label": t("tiptap.tooltip.upload.delete"), color: "tertiary", onClick: onDelete }) })
66
+ /* @__PURE__ */ jsx(Tooltip, { message: t("tiptap.tooltip.upload.delete"), placement: "top", children: /* @__PURE__ */ jsx(IconButton, { icon: /* @__PURE__ */ jsx(SvgClose$1, {}), variant: "ghost", "aria-label": t("tiptap.tooltip.upload.delete"), color: "tertiary", onClick: onDelete }) })
67
67
  ] }) })
68
68
  ] }) });
69
69
  };
@@ -2,7 +2,7 @@ import { jsx } from "react/jsx-runtime";
2
2
  import { forwardRef } from "react";
3
3
  const VisuallyHidden = /* @__PURE__ */ forwardRef(({
4
4
  children
5
- }, ref) => /* @__PURE__ */ jsx("span", { className: "visually-hidden", ref, children })), VisuallyHidden$1 = VisuallyHidden;
5
+ }, ref) => /* @__PURE__ */ jsx("span", { className: "visually-hidden", ref, children }));
6
6
  export {
7
- VisuallyHidden$1 as default
7
+ VisuallyHidden as default
8
8
  };
@@ -52,7 +52,7 @@ const useMediaLibrary = () => {
52
52
  (_a = mediaLibraryRef.current) != null && _a.type && uploads && uploads.length > 0 && await remove(uploads);
53
53
  }
54
54
  };
55
- }, useMediaLibrary$1 = useMediaLibrary;
55
+ };
56
56
  export {
57
- useMediaLibrary$1 as default
57
+ useMediaLibrary as default
58
58
  };
@@ -1,8 +1,8 @@
1
1
  import { jsxs, jsx } from "react/jsx-runtime";
2
2
  import { forwardRef, useImperativeHandle, useState } from "react";
3
- import { Mic } from "@edifice.io/icons";
4
3
  import clsx from "clsx";
5
4
  import { useTranslation } from "react-i18next";
5
+ import { Mic as SvgMic$1 } from "../../../../icons/dist/index.js";
6
6
  import AudioRecorderTimer from "./AudioRecorderTimer.js";
7
7
  import useAudioRecorder from "./useAudioRecorder.js";
8
8
  import FormControl from "../../components/Form/FormControl.js";
@@ -38,7 +38,7 @@ const AudioRecorder = /* @__PURE__ */ forwardRef(({
38
38
  };
39
39
  return /* @__PURE__ */ jsxs("div", { className: "audio-recorder m-auto d-flex flex-column", children: [
40
40
  /* @__PURE__ */ jsx(FormControl, { id: "recordName", className: "mb-32", isRequired: !0, isReadOnly: recordState === "SAVED" || recordState === "SAVING", children: /* @__PURE__ */ jsx(Input, { type: "text", size: "sm", placeholder: t("bbm.audio.recorder.name"), ref: audioNameRef, defaultValue: t("bbm.audio.recorder.defaultName") + (/* @__PURE__ */ new Date()).toLocaleDateString() }) }),
41
- /* @__PURE__ */ jsx("div", { className: "audio-recorder-icon mx-auto", children: /* @__PURE__ */ jsx(Mic, { width: 64, height: 64, className: classColor }) }),
41
+ /* @__PURE__ */ jsx("div", { className: "audio-recorder-icon mx-auto", children: /* @__PURE__ */ jsx(SvgMic$1, { width: 64, height: 64, className: classColor }) }),
42
42
  /* @__PURE__ */ jsx(AudioRecorderTimer, { recordState, playState, recordTime, audioTime, maxDuration }),
43
43
  /* @__PURE__ */ jsx("audio", { ref: audioRef, onEnded: handlePlayEnded, onTimeUpdate: handleTimeUpdate, children: /* @__PURE__ */ jsx("track", { default: !0, kind: "captions", srcLang: "fr", src: "" }) }),
44
44
  /* @__PURE__ */ jsx(Toolbar, { items: toolbarItems })
@@ -1,5 +1,5 @@
1
1
  import { jsxs, jsx } from "react/jsx-runtime";
2
- import { Pause, Record, Mic } from "@edifice.io/icons";
2
+ import { Pause as SvgPause$1, Record as SvgRecord$1, Mic as SvgMic$1 } from "../../../../icons/dist/index.js";
3
3
  import { convertMsToMS } from "../../utils/time.js";
4
4
  const AudioRecorderTimer = ({
5
5
  recordState,
@@ -9,11 +9,11 @@ const AudioRecorderTimer = ({
9
9
  maxDuration
10
10
  }) => /* @__PURE__ */ jsxs("div", { className: "audio-recorder-time my-16 mx-auto", children: [
11
11
  playState === "IDLE" && /* @__PURE__ */ jsxs("div", { className: "d-flex align-items-center", children: [
12
- recordState === "PAUSED" ? /* @__PURE__ */ jsx(Pause, { width: 12, height: 12, className: "me-8 text-danger" }) : /* @__PURE__ */ jsx(Record, { width: 12, height: 12, className: "me-8 text-danger" }),
12
+ recordState === "PAUSED" ? /* @__PURE__ */ jsx(SvgPause$1, { width: 12, height: 12, className: "me-8 text-danger" }) : /* @__PURE__ */ jsx(SvgRecord$1, { width: 12, height: 12, className: "me-8 text-danger" }),
13
13
  convertMsToMS(recordState !== "IDLE" ? recordTime : 0) + " / " + convertMsToMS(maxDuration)
14
14
  ] }),
15
15
  playState !== "IDLE" && /* @__PURE__ */ jsxs("div", { className: "d-flex align-items-center mx-auto", children: [
16
- /* @__PURE__ */ jsx(Mic, { width: 12, height: 12, className: "me-8" }),
16
+ /* @__PURE__ */ jsx(SvgMic$1, { width: 12, height: 12, className: "me-8" }),
17
17
  convertMsToMS(audioTime * 1e3),
18
18
  " /",
19
19
  convertMsToMS(recordTime)
@@ -1,7 +1,7 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
2
  import { useReducer, useRef, useEffect, useCallback } from "react";
3
- import { Record, RecordPause, Loader, PlayFilled, Pause, Restart, Refresh, Save } from "@edifice.io/icons";
4
3
  import { useTranslation } from "react-i18next";
4
+ import { Record as SvgRecord$1, RecordPause as SvgRecordPause$1, Loader as SvgLoader$1, PlayFilled as SvgPlayFilled$1, Pause as SvgPause$1, Restart as SvgRestart$1, Refresh as SvgRefresh$1, Save as SvgSave$1 } from "../../../../icons/dist/index.js";
5
5
  import useWorkspaceFile from "../../core/useWorkspaceFile/useWorkspaceFile.js";
6
6
  function useAudioRecorder(onSaveSuccess, onUpdateRecord, hideSaveAction = !1, visibility = "protected", application = "media-library") {
7
7
  var _a;
@@ -203,7 +203,7 @@ function useAudioRecorder(onSaveSuccess, onUpdateRecord, hideSaveAction = !1, vi
203
203
  name: "record",
204
204
  visibility: recordState === "RECORDING" ? "hide" : "show",
205
205
  props: {
206
- icon: /* @__PURE__ */ jsx(Record, {}),
206
+ icon: /* @__PURE__ */ jsx(SvgRecord$1, {}),
207
207
  color: "danger",
208
208
  disabled: recordState !== "IDLE" && recordState !== "PAUSED" || recordTime >= maxDuration,
209
209
  onClick: handleRecord,
@@ -215,7 +215,7 @@ function useAudioRecorder(onSaveSuccess, onUpdateRecord, hideSaveAction = !1, vi
215
215
  name: "recordPause",
216
216
  visibility: recordState === "RECORDING" ? "show" : "hide",
217
217
  props: {
218
- icon: /* @__PURE__ */ jsx(RecordPause, {}),
218
+ icon: /* @__PURE__ */ jsx(SvgRecordPause$1, {}),
219
219
  color: "danger",
220
220
  disabled: recordState !== "RECORDING",
221
221
  onClick: handleRecordPause,
@@ -229,7 +229,7 @@ function useAudioRecorder(onSaveSuccess, onUpdateRecord, hideSaveAction = !1, vi
229
229
  name: "encoding",
230
230
  visibility: isEncoding ? "show" : "hide",
231
231
  props: {
232
- icon: /* @__PURE__ */ jsx(Loader, { style: {
232
+ icon: /* @__PURE__ */ jsx(SvgLoader$1, { style: {
233
233
  animation: "loading 1s infinite"
234
234
  } }),
235
235
  disabled: !0
@@ -239,7 +239,7 @@ function useAudioRecorder(onSaveSuccess, onUpdateRecord, hideSaveAction = !1, vi
239
239
  name: "play",
240
240
  visibility: isEncoding || playState === "PLAYING" ? "hide" : "show",
241
241
  props: {
242
- icon: /* @__PURE__ */ jsx(PlayFilled, {}),
242
+ icon: /* @__PURE__ */ jsx(SvgPlayFilled$1, {}),
243
243
  disabled: recordState !== "RECORDED" && recordState !== "PAUSED" && recordState !== "SAVED",
244
244
  onClick: handlePlay,
245
245
  "aria-label": t("bbm.audio.play.start")
@@ -250,7 +250,7 @@ function useAudioRecorder(onSaveSuccess, onUpdateRecord, hideSaveAction = !1, vi
250
250
  name: "playPause",
251
251
  visibility: !isEncoding && playState === "PLAYING" ? "show" : "hide",
252
252
  props: {
253
- icon: /* @__PURE__ */ jsx(Pause, {}),
253
+ icon: /* @__PURE__ */ jsx(SvgPause$1, {}),
254
254
  onClick: handlePlayPause,
255
255
  "aria-label": t("bbm.audio.play.pause")
256
256
  },
@@ -259,7 +259,7 @@ function useAudioRecorder(onSaveSuccess, onUpdateRecord, hideSaveAction = !1, vi
259
259
  type: "icon",
260
260
  name: "stop",
261
261
  props: {
262
- icon: /* @__PURE__ */ jsx(Restart, {}),
262
+ icon: /* @__PURE__ */ jsx(SvgRestart$1, {}),
263
263
  disabled: playState !== "PLAYING" && playState !== "PAUSED",
264
264
  onClick: handlePlayStop,
265
265
  "aria-label": t("bbm.audio.play.stop")
@@ -271,7 +271,7 @@ function useAudioRecorder(onSaveSuccess, onUpdateRecord, hideSaveAction = !1, vi
271
271
  type: "icon",
272
272
  name: "reset",
273
273
  props: {
274
- icon: /* @__PURE__ */ jsx(Refresh, {}),
274
+ icon: /* @__PURE__ */ jsx(SvgRefresh$1, {}),
275
275
  disabled: recordState !== "RECORDED" && recordState !== "PAUSED" && playState !== "PLAYING" && playState !== "PAUSED",
276
276
  onClick: handleReset,
277
277
  "aria-label": t("bbm.audio.record.reset")
@@ -282,7 +282,7 @@ function useAudioRecorder(onSaveSuccess, onUpdateRecord, hideSaveAction = !1, vi
282
282
  name: "save",
283
283
  visibility: hideSaveAction ? "hide" : "show",
284
284
  props: {
285
- icon: /* @__PURE__ */ jsx(Save, {}),
285
+ icon: /* @__PURE__ */ jsx(SvgSave$1, {}),
286
286
  disabled: recordState !== "RECORDED" && recordState !== "PAUSED" && playState !== "PLAYING" && playState !== "PAUSED" || recordState === "SAVED" || !((_a = audioNameRef.current) != null && _a.value),
287
287
  onClick: handleSave,
288
288
  "aria-label": t("bbm.audio.record.save")
@@ -1,9 +1,9 @@
1
1
  import { jsxs, jsx } from "react/jsx-runtime";
2
2
  import { useState } from "react";
3
- import { Code } from "@edifice.io/icons";
4
3
  import { useTranslation } from "react-i18next";
5
- import TextArea from "../../components/TextArea/TextArea.js";
4
+ import { Code as SvgCode$1 } from "../../../../icons/dist/index.js";
6
5
  import FormControl from "../../components/Form/FormControl.js";
6
+ import TextArea from "../../components/TextArea/TextArea.js";
7
7
  const Embed = ({
8
8
  onSuccess
9
9
  }) => {
@@ -17,7 +17,7 @@ const Embed = ({
17
17
  return /* @__PURE__ */ jsxs("div", { className: "d-flex flex-column flex-fill", children: [
18
18
  /* @__PURE__ */ jsx("div", { className: "mb-32", children: t("bbm.embed.description") }),
19
19
  /* @__PURE__ */ jsxs("div", { className: "mb-8 d-flex", children: [
20
- /* @__PURE__ */ jsx(Code, { className: "me-8" }),
20
+ /* @__PURE__ */ jsx(SvgCode$1, { className: "me-8" }),
21
21
  t("bbm.embed.title")
22
22
  ] }),
23
23
  /* @__PURE__ */ jsx(FormControl, { id: "iframeContent", children: /* @__PURE__ */ jsx(TextArea, { size: "md", height: "sm", placeholder: t("bbm.embed.placeholder"), onChange: handleContentChange }) }),
@@ -1,7 +1,7 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
2
  import { useState } from "react";
3
- import { Undo, Reset, Crop, Blur } from "@edifice.io/icons";
4
3
  import { useTranslation } from "react-i18next";
4
+ import { Undo as SvgUndo$1, Reset as SvgReset$1, Crop as SvgCrop$1, Blur as SvgBlur$1 } from "../../../../../icons/dist/index.js";
5
5
  import Toolbar from "../../../components/Toolbar/Toolbar.js";
6
6
  const ImageEditorToolbar = ({
7
7
  historyCount,
@@ -16,7 +16,7 @@ const ImageEditorToolbar = ({
16
16
  name: "undo",
17
17
  props: {
18
18
  color: "tertiary",
19
- leftIcon: /* @__PURE__ */ jsx(Undo, {}),
19
+ leftIcon: /* @__PURE__ */ jsx(SvgUndo$1, {}),
20
20
  "aria-label": t("cancel"),
21
21
  children: t("cancel"),
22
22
  onClick: () => handleAndSave("UNDO"),
@@ -31,7 +31,7 @@ const ImageEditorToolbar = ({
31
31
  name: "reset",
32
32
  props: {
33
33
  color: "tertiary",
34
- leftIcon: /* @__PURE__ */ jsx(Reset, {}),
34
+ leftIcon: /* @__PURE__ */ jsx(SvgReset$1, {}),
35
35
  "aria-label": t("rotate"),
36
36
  children: t("rotate"),
37
37
  onClick: () => handleAndSave("ROTATE")
@@ -42,7 +42,7 @@ const ImageEditorToolbar = ({
42
42
  name: "crop",
43
43
  props: {
44
44
  color: "tertiary",
45
- leftIcon: /* @__PURE__ */ jsx(Crop, {}),
45
+ leftIcon: /* @__PURE__ */ jsx(SvgCrop$1, {}),
46
46
  "aria-label": t("crop"),
47
47
  children: t("crop"),
48
48
  className: action === "CROP" ? "is-selected" : "",
@@ -54,7 +54,7 @@ const ImageEditorToolbar = ({
54
54
  name: "blur",
55
55
  props: {
56
56
  color: "tertiary",
57
- leftIcon: /* @__PURE__ */ jsx(Blur, {}),
57
+ leftIcon: /* @__PURE__ */ jsx(SvgBlur$1, {}),
58
58
  "aria-label": t("blur"),
59
59
  children: t("blur"),
60
60
  className: action === "BLUR" ? "is-selected" : "",
@@ -1,6 +1,6 @@
1
1
  import { jsxs, jsx } from "react/jsx-runtime";
2
2
  import { useState, useEffect } from "react";
3
- import { Edit, Delete } from "@edifice.io/icons";
3
+ import { Edit as SvgEdit$1, Delete as SvgDelete$1 } from "../../../../icons/dist/index.js";
4
4
  import clsx from "clsx";
5
5
  import IconButton from "../../components/Button/IconButton.js";
6
6
  import Avatar from "../../components/Avatar/Avatar.js";
@@ -28,8 +28,8 @@ const ImagePickerWorkspace = ({
28
28
  }, classes = clsx("image-input", className);
29
29
  return /* @__PURE__ */ jsxs("div", { id: "image-input", className: classes, children: [
30
30
  /* @__PURE__ */ jsxs("div", { className: "image-input-actions gap-8", children: [
31
- /* @__PURE__ */ jsx(IconButton, { "aria-label": addButtonLabel, color: "tertiary", icon: /* @__PURE__ */ jsx(Edit, {}), onClick: handleClick, type: "button", variant: "ghost" }),
32
- /* @__PURE__ */ jsx(IconButton, { "aria-label": deleteButtonLabel, color: "danger", disabled: !preview, icon: /* @__PURE__ */ jsx(Delete, { width: "20", height: "20" }), onClick: handleClean, type: "button", variant: "ghost" })
31
+ /* @__PURE__ */ jsx(IconButton, { "aria-label": addButtonLabel, color: "tertiary", icon: /* @__PURE__ */ jsx(SvgEdit$1, {}), onClick: handleClick, type: "button", variant: "ghost" }),
32
+ /* @__PURE__ */ jsx(IconButton, { "aria-label": deleteButtonLabel, color: "danger", disabled: !preview, icon: /* @__PURE__ */ jsx(SvgDelete$1, { width: "20", height: "20" }), onClick: handleClean, type: "button", variant: "ghost" })
33
33
  ] }),
34
34
  preview ? /* @__PURE__ */ jsx(Avatar, { alt: "", src: preview, size: "xl" }) : /* @__PURE__ */ jsx(AppIcon, { app, iconFit: "ratio", size: "160", variant: "rounded" })
35
35
  ] });
@@ -1,7 +1,7 @@
1
1
  import { jsx, jsxs } from "react/jsx-runtime";
2
2
  import { useState, useCallback, useEffect } from "react";
3
- import { Applications } from "@edifice.io/icons";
4
3
  import { odeServices } from "edifice-ts-client";
4
+ import { Applications as SvgApplications$1 } from "../../../../icons/dist/index.js";
5
5
  import { useTranslation } from "react-i18next";
6
6
  import LinkerCard from "../LinkerCard/LinkerCard.js";
7
7
  import { useResourceSearch } from "../../core/useResourceSearch/useResourceSearch.js";
@@ -94,7 +94,7 @@ const InternalLinker = ({
94
94
  }, [resources]), /* @__PURE__ */ jsxs("div", { className: "d-flex flex-column flex-fill overflow-hidden", children: [
95
95
  /* @__PURE__ */ jsxs("div", { className: "search d-flex bg-light rounded-top border border-bottom-0", children: [
96
96
  /* @__PURE__ */ jsx("div", { className: "flex-shrink-1 px-8 py-12 border-end", children: /* @__PURE__ */ jsxs(Dropdown, { overflow: !0, children: [
97
- /* @__PURE__ */ jsx(Dropdown.Trigger, { icon: /* @__PURE__ */ jsx("div", { className: "pe-8", children: (selectedApplication == null ? void 0 : selectedApplication.icon) || /* @__PURE__ */ jsx(Applications, {}) }), label: t((selectedApplication == null ? void 0 : selectedApplication.displayName) || "bbm.linker.int.choose"), variant: "ghost", size: "md" }),
97
+ /* @__PURE__ */ jsx(Dropdown.Trigger, { icon: /* @__PURE__ */ jsx("div", { className: "pe-8", children: (selectedApplication == null ? void 0 : selectedApplication.icon) || /* @__PURE__ */ jsx(SvgApplications$1, {}) }), label: t((selectedApplication == null ? void 0 : selectedApplication.displayName) || "bbm.linker.int.choose"), variant: "ghost", size: "md" }),
98
98
  /* @__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)) })
99
99
  ] }) }),
100
100
  /* @__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 }) }) })
@@ -1,7 +1,7 @@
1
1
  import { jsx, jsxs } from "react/jsx-runtime";
2
2
  import { useMemo } from "react";
3
- import { Users } from "@edifice.io/icons";
4
3
  import clsx from "clsx";
4
+ import { Users as SvgUsers$1 } from "../../../../icons/dist/index.js";
5
5
  import useDate from "../../core/useDate/useDate.js";
6
6
  import Card from "../../components/Card/Card.js";
7
7
  import Image from "../../components/Image/Image.js";
@@ -30,7 +30,7 @@ const LinkerCard = ({
30
30
  /* @__PURE__ */ jsx(Card.Text, { className: "text-black-50", children: doc == null ? void 0 : doc.creatorName })
31
31
  ] }),
32
32
  /* @__PURE__ */ jsx("div", { className: "d-none d-md-block text-black-50 ps-4 pe-8", children: /* @__PURE__ */ jsx(Card.Text, { children: fromDate }) }),
33
- doc.shared && /* @__PURE__ */ jsx("div", { className: "ps-4 pe-8", children: /* @__PURE__ */ jsx(Users, { width: "20", height: "20" }) })
33
+ doc.shared && /* @__PURE__ */ jsx("div", { className: "ps-4 pe-8", children: /* @__PURE__ */ jsx(SvgUsers$1, { width: "20", height: "20" }) })
34
34
  ] }) });
35
35
  }, LinkerCard$1 = LinkerCard;
36
36
  export {
@@ -1,8 +1,8 @@
1
1
  import { jsx, jsxs, Fragment } from "react/jsx-runtime";
2
2
  import { forwardRef, useRef, useImperativeHandle, useState, useMemo, useEffect, useCallback } from "react";
3
- import { Folder, Smartphone, RecordVideo, Mic, Globe, Applications, Code } from "@edifice.io/icons";
4
3
  import { odeServices } from "edifice-ts-client";
5
4
  import { useTranslation } from "react-i18next";
5
+ import { Folder as SvgFolder$1, Smartphone as SvgSmartphone$1, RecordVideo as SvgRecordVideo$1, Mic as SvgMic$1, Globe as SvgGlobe$1, Applications as SvgApplications$1, Code as SvgCode$1 } from "../../../../icons/dist/index.js";
6
6
  import Modal from "../../components/Modal/Modal.js";
7
7
  import { MediaLibraryContext } from "./MediaLibraryContext.js";
8
8
  import { InnerTabs } from "./innertabs/index.js";
@@ -76,7 +76,7 @@ const orderedTabs = [
76
76
  } = useTranslation(), workspaceCreateWorkflow = useHasWorkflow("org.entcore.workspace.controllers.WorkspaceController|addDocument"), videoCaptureWorkflow = useHasWorkflow("com.opendigitaleducation.video.controllers.VideoController|capture"), [type, setType] = useState(null), availableTabs = {
77
77
  workspace: {
78
78
  id: "workspace",
79
- icon: /* @__PURE__ */ jsx(Folder, {}),
79
+ icon: /* @__PURE__ */ jsx(SvgFolder$1, {}),
80
80
  label: t("bbm.workspace"),
81
81
  content: /* @__PURE__ */ jsx(InnerTabs.Workspace, {}),
82
82
  availableFor: ["audio", "video", "image", "attachment"],
@@ -84,7 +84,7 @@ const orderedTabs = [
84
84
  },
85
85
  upload: {
86
86
  id: "upload",
87
- icon: /* @__PURE__ */ jsx(Smartphone, {}),
87
+ icon: /* @__PURE__ */ jsx(SvgSmartphone$1, {}),
88
88
  label: t("bbm.device"),
89
89
  content: /* @__PURE__ */ jsx(InnerTabs.Upload, {}),
90
90
  availableFor: ["audio", "video", "image", "attachment"],
@@ -92,7 +92,7 @@ const orderedTabs = [
92
92
  },
93
93
  "video-capture": {
94
94
  id: "video-capture",
95
- icon: /* @__PURE__ */ jsx(RecordVideo, {}),
95
+ icon: /* @__PURE__ */ jsx(SvgRecordVideo$1, {}),
96
96
  label: t("bbm.video"),
97
97
  content: /* @__PURE__ */ jsx(InnerTabs.Video, {}),
98
98
  availableFor: ["video"],
@@ -100,7 +100,7 @@ const orderedTabs = [
100
100
  },
101
101
  "audio-capture": {
102
102
  id: "audio-capture",
103
- icon: /* @__PURE__ */ jsx(Mic, {}),
103
+ icon: /* @__PURE__ */ jsx(SvgMic$1, {}),
104
104
  label: t("bbm.audio"),
105
105
  content: /* @__PURE__ */ jsx(InnerTabs.Audio, {}),
106
106
  availableFor: ["audio"],
@@ -108,7 +108,7 @@ const orderedTabs = [
108
108
  },
109
109
  "external-link": {
110
110
  id: "external-link",
111
- icon: /* @__PURE__ */ jsx(Globe, {}),
111
+ icon: /* @__PURE__ */ jsx(SvgGlobe$1, {}),
112
112
  label: t("bbm.linker.ext"),
113
113
  content: /* @__PURE__ */ jsx(InnerTabs.ExternalLink, { ...linkTabProps.current }),
114
114
  availableFor: ["hyperlink"],
@@ -116,7 +116,7 @@ const orderedTabs = [
116
116
  },
117
117
  "internal-link": {
118
118
  id: "internal-link",
119
- icon: /* @__PURE__ */ jsx(Applications, {}),
119
+ icon: /* @__PURE__ */ jsx(SvgApplications$1, {}),
120
120
  label: t("bbm.linker.int"),
121
121
  content: /* @__PURE__ */ jsx(InnerTabs.InternalLink, { ...linkTabProps.current }),
122
122
  availableFor: ["hyperlink"],
@@ -124,7 +124,7 @@ const orderedTabs = [
124
124
  },
125
125
  iframe: {
126
126
  id: "iframe",
127
- icon: /* @__PURE__ */ jsx(Code, {}),
127
+ icon: /* @__PURE__ */ jsx(SvgCode$1, {}),
128
128
  label: t("bbm.embed"),
129
129
  content: /* @__PURE__ */ jsx(InnerTabs.Iframe, {}),
130
130
  availableFor: ["embedder"],
@@ -132,7 +132,7 @@ const orderedTabs = [
132
132
  },
133
133
  "video-embedder": {
134
134
  id: "iframe",
135
- icon: /* @__PURE__ */ jsx(Code, {}),
135
+ icon: /* @__PURE__ */ jsx(SvgCode$1, {}),
136
136
  label: t("bbm.embed"),
137
137
  content: /* @__PURE__ */ jsx(InnerTabs.VideoEmbedder, {}),
138
138
  availableFor: ["video"],
@@ -1,16 +1,16 @@
1
1
  import { jsxs, jsx, Fragment } from "react/jsx-runtime";
2
2
  import { useState, useId, useEffect } from "react";
3
- import { Globe, ArrowRight } from "@edifice.io/icons";
4
3
  import { odeServices } from "edifice-ts-client";
5
4
  import { useTranslation } from "react-i18next";
5
+ import { Globe as SvgGlobe$1, ArrowRight as SvgArrowRight$1 } from "../../../../icons/dist/index.js";
6
6
  import { useMediaLibraryContext } from "../MediaLibrary/MediaLibraryContext.js";
7
7
  import useDebounce from "../../hooks/useDebounce/useDebounce.js";
8
- import usePaths from "../../core/usePaths/usePaths.js";
9
8
  import FormControl from "../../components/Form/FormControl.js";
10
9
  import Input from "../../components/Input/Input.js";
10
+ import Button from "../../components/Button/Button.js";
11
+ import usePaths from "../../core/usePaths/usePaths.js";
11
12
  import Image from "../../components/Image/Image.js";
12
13
  import EmptyScreen from "../../components/EmptyScreen/EmptyScreen.js";
13
- import Button from "../../components/Button/Button.js";
14
14
  const VideoEmbed = ({
15
15
  onSuccess
16
16
  }) => {
@@ -56,16 +56,16 @@ const VideoEmbed = ({
56
56
  /* @__PURE__ */ jsxs(Button, { variant: "ghost", color: "primary", onClick: handleSwitchToEmbedderClick, className: "align-items-start mt-16", children: [
57
57
  t("bbm.video.useEmbedCode"),
58
58
  " ",
59
- /* @__PURE__ */ jsx(ArrowRight, {})
59
+ /* @__PURE__ */ jsx(SvgArrowRight$1, {})
60
60
  ] })
61
61
  ] }) : /* @__PURE__ */ jsx("div", { className: "d-flex my-16 align-items-start", children: /* @__PURE__ */ jsxs(Button, { variant: "ghost", color: "primary", onClick: handleSwitchToEmbedderClick, className: "align-items-start", children: [
62
62
  t("bbm.video.useEmbedCode"),
63
63
  " ",
64
- /* @__PURE__ */ jsx(ArrowRight, {})
64
+ /* @__PURE__ */ jsx(SvgArrowRight$1, {})
65
65
  ] }) });
66
66
  return /* @__PURE__ */ jsxs("div", { className: "d-flex flex-column flex-fill video-embed", children: [
67
67
  /* @__PURE__ */ jsxs("div", { className: "mb-8 d-flex", children: [
68
- /* @__PURE__ */ jsx(Globe, { className: "me-8" }),
68
+ /* @__PURE__ */ jsx(SvgGlobe$1, { className: "me-8" }),
69
69
  t("bbm.video.url.title")
70
70
  ] }),
71
71
  /* @__PURE__ */ jsx(FormControl, { id: formControlId, children: /* @__PURE__ */ jsx(Input, { size: "md", type: "text", placeholder: t("bbm.video.url.placeholder"), onChange: handleUrlChange }) }),
@@ -1,17 +1,17 @@
1
1
  import { jsx, jsxs, Fragment } from "react/jsx-runtime";
2
2
  import { forwardRef, useState, useRef, useImperativeHandle, useEffect, useCallback } from "react";
3
- import { Record, RecordStop, PlayFilled, Pause, Refresh, Save, RecordVideo } from "@edifice.io/icons";
4
3
  import { odeServices } from "edifice-ts-client";
5
4
  import { useTranslation } from "react-i18next";
5
+ import { Record as SvgRecord$1, RecordStop as SvgRecordStop$1, PlayFilled as SvgPlayFilled$1, Pause as SvgPause$1, Refresh as SvgRefresh$1, Save as SvgSave$1, RecordVideo as SvgRecordVideo$1 } from "../../../../icons/dist/index.js";
6
6
  import useBrowserInfo from "../../hooks/useBrowserInfo/useBrowserInfo.js";
7
7
  import useUpload from "../../core/useUpload/useUpload.js";
8
8
  import { getBestSupportedMimeType } from "../../utils/video.js";
9
- import Select from "../../components/Select/Select.js";
10
- import Toolbar from "../../components/Toolbar/Toolbar.js";
11
9
  import FormControl from "../../components/Form/FormControl.js";
12
10
  import Label from "../../components/Label/Label.js";
13
- import { convertMsToMS } from "../../utils/time.js";
11
+ import Select from "../../components/Select/Select.js";
12
+ import Toolbar from "../../components/Toolbar/Toolbar.js";
14
13
  import LoadingScreen from "../../components/LoadingScreen/LoadingScreen.js";
14
+ import { convertMsToMS } from "../../utils/time.js";
15
15
  const VIDEO_HEIGHT = 9, VIDEO_WIDTH = 16, VideoRecorder = /* @__PURE__ */ forwardRef(({
16
16
  appCode,
17
17
  caption,
@@ -160,7 +160,7 @@ const VIDEO_HEIGHT = 9, VIDEO_WIDTH = 16, VideoRecorder = /* @__PURE__ */ forwar
160
160
  type: "icon",
161
161
  name: "record",
162
162
  props: {
163
- icon: /* @__PURE__ */ jsx(Record, { color: recording || recorded ? "" : "red" }),
163
+ icon: /* @__PURE__ */ jsx(SvgRecord$1, { color: recording || recorded ? "" : "red" }),
164
164
  color: "danger",
165
165
  disabled: recording || recorded || saving,
166
166
  onClick: handleRecord,
@@ -171,7 +171,7 @@ const VIDEO_HEIGHT = 9, VIDEO_WIDTH = 16, VideoRecorder = /* @__PURE__ */ forwar
171
171
  type: "icon",
172
172
  name: "stop",
173
173
  props: {
174
- icon: /* @__PURE__ */ jsx(RecordStop, {}),
174
+ icon: /* @__PURE__ */ jsx(SvgRecordStop$1, {}),
175
175
  disabled: !recording || recorded || saving,
176
176
  onClick: handleStop,
177
177
  "aria-label": t("bbm.video.record.stop")
@@ -182,7 +182,7 @@ const VIDEO_HEIGHT = 9, VIDEO_WIDTH = 16, VideoRecorder = /* @__PURE__ */ forwar
182
182
  name: "play",
183
183
  visibility: playing ? "hide" : "show",
184
184
  props: {
185
- icon: /* @__PURE__ */ jsx(PlayFilled, {}),
185
+ icon: /* @__PURE__ */ jsx(SvgPlayFilled$1, {}),
186
186
  disabled: !recorded || saving,
187
187
  onClick: handlePlayPause,
188
188
  "aria-label": t("bbm.video.play.start")
@@ -193,7 +193,7 @@ const VIDEO_HEIGHT = 9, VIDEO_WIDTH = 16, VideoRecorder = /* @__PURE__ */ forwar
193
193
  name: "pause",
194
194
  visibility: playing ? "show" : "hide",
195
195
  props: {
196
- icon: /* @__PURE__ */ jsx(Pause, {}),
196
+ icon: /* @__PURE__ */ jsx(SvgPause$1, {}),
197
197
  disabled: !recorded || saving,
198
198
  onClick: handlePlayPause,
199
199
  "aria-label": t("bbm.video.play.pause")
@@ -205,7 +205,7 @@ const VIDEO_HEIGHT = 9, VIDEO_WIDTH = 16, VideoRecorder = /* @__PURE__ */ forwar
205
205
  type: "icon",
206
206
  name: "reset",
207
207
  props: {
208
- icon: /* @__PURE__ */ jsx(Refresh, {}),
208
+ icon: /* @__PURE__ */ jsx(SvgRefresh$1, {}),
209
209
  disabled: !recorded || saving,
210
210
  onClick: handleReset,
211
211
  "aria-label": t("bbm.video.record.reset")
@@ -216,7 +216,7 @@ const VIDEO_HEIGHT = 9, VIDEO_WIDTH = 16, VideoRecorder = /* @__PURE__ */ forwar
216
216
  name: "save",
217
217
  visibility: hideSaveAction ? "hide" : "show",
218
218
  props: {
219
- icon: /* @__PURE__ */ jsx(Save, {}),
219
+ icon: /* @__PURE__ */ jsx(SvgSave$1, {}),
220
220
  disabled: !recorded || saving || saved,
221
221
  onClick: handleSave,
222
222
  "aria-label": t("bbm.video.record.save")
@@ -233,7 +233,7 @@ const VIDEO_HEIGHT = 9, VIDEO_WIDTH = 16, VideoRecorder = /* @__PURE__ */ forwar
233
233
  /* @__PURE__ */ jsx("video", { ref: videoRef, playsInline: !0, autoPlay: !0, controls: !1, muted: !0, onEnded: handleEnded, className: "rounded", children: /* @__PURE__ */ jsx("track", { default: !0, kind: "captions", srcLang: "fr", src: "" }) }),
234
234
  (recording || recorded) && /* @__PURE__ */ jsxs("div", { className: "video-recorder-time d-flex align-items-center font-monospace fs-6 text-bg-dark rounded", children: [
235
235
  recording && /* @__PURE__ */ jsxs(Fragment, { children: [
236
- /* @__PURE__ */ jsx(Record, { width: 12, height: 12, color: "red", className: "me-4" }),
236
+ /* @__PURE__ */ jsx(SvgRecord$1, { width: 12, height: 12, color: "red", className: "me-4" }),
237
237
  /* @__PURE__ */ jsxs("span", { children: [
238
238
  convertMsToMS(recordedTime),
239
239
  "/",
@@ -241,7 +241,7 @@ const VIDEO_HEIGHT = 9, VIDEO_WIDTH = 16, VideoRecorder = /* @__PURE__ */ forwar
241
241
  ] })
242
242
  ] }),
243
243
  recorded && /* @__PURE__ */ jsxs(Fragment, { children: [
244
- /* @__PURE__ */ jsx(RecordVideo, { width: 14, height: 14, className: "me-4" }),
244
+ /* @__PURE__ */ jsx(SvgRecordVideo$1, { width: 14, height: 14, className: "me-4" }),
245
245
  /* @__PURE__ */ jsxs("span", { children: [
246
246
  convertMsToMS(playedTime),
247
247
  "/",
@@ -1,15 +1,15 @@
1
1
  import { jsxs, jsx } from "react/jsx-runtime";
2
2
  import { useRef, useState, useCallback, useEffect } from "react";
3
- import { SortTime, SortAscendingLetters, SortDescendingLetters } from "@edifice.io/icons";
4
3
  import clsx from "clsx";
5
4
  import { useTranslation } from "react-i18next";
5
+ import { SortTime as SvgSortTime$1, SortAscendingLetters as SvgSortAscendingLetters$1, SortDescendingLetters as SvgSortDescendingLetters$1 } from "../../../../icons/dist/index.js";
6
6
  import useWorkspaceSearch from "../../core/useWorkspaceSearch/useWorkspaceSearch.js";
7
7
  import { Grid } from "../../components/Grid/Grid.js";
8
8
  import TreeView from "../../components/TreeView/TreeView.js";
9
9
  import SearchBar from "../../components/SearchBar/SearchBar.js";
10
+ import LoadingScreen from "../../components/LoadingScreen/LoadingScreen.js";
10
11
  import FileCard from "../../components/FileCard/FileCard.js";
11
12
  import Dropdown from "../../components/Dropdown/Dropdown.js";
12
- import LoadingScreen from "../../components/LoadingScreen/LoadingScreen.js";
13
13
  import EmptyScreen from "../../components/EmptyScreen/EmptyScreen.js";
14
14
  import { findTreeNode } from "../../utils/findTreeNode.js";
15
15
  const Workspace = ({
@@ -150,9 +150,9 @@ const Workspace = ({
150
150
  /* @__PURE__ */ jsxs(Dropdown, { children: [
151
151
  /* @__PURE__ */ jsx(Dropdown.Trigger, { size: "sm", label: getSortOrderLabel(), variant: "ghost" }),
152
152
  /* @__PURE__ */ jsxs(Dropdown.Menu, { children: [
153
- /* @__PURE__ */ jsx(Dropdown.Item, { icon: /* @__PURE__ */ jsx(SortTime, {}), onClick: () => setSortOrder(["modified", "desc"]), children: t("sort.order.modify.desc") }),
154
- /* @__PURE__ */ jsx(Dropdown.Item, { icon: /* @__PURE__ */ jsx(SortAscendingLetters, {}), onClick: () => setSortOrder(["name", "asc"]), children: t("sort.order.alpha.asc") }),
155
- /* @__PURE__ */ jsx(Dropdown.Item, { icon: /* @__PURE__ */ jsx(SortDescendingLetters, {}), onClick: () => setSortOrder(["name", "desc"]), children: t("sort.order.alpha.desc") })
153
+ /* @__PURE__ */ jsx(Dropdown.Item, { icon: /* @__PURE__ */ jsx(SvgSortTime$1, {}), onClick: () => setSortOrder(["modified", "desc"]), children: t("sort.order.modify.desc") }),
154
+ /* @__PURE__ */ jsx(Dropdown.Item, { icon: /* @__PURE__ */ jsx(SvgSortAscendingLetters$1, {}), onClick: () => setSortOrder(["name", "asc"]), children: t("sort.order.alpha.asc") }),
155
+ /* @__PURE__ */ jsx(Dropdown.Item, { icon: /* @__PURE__ */ jsx(SvgSortDescendingLetters$1, {}), onClick: () => setSortOrder(["name", "desc"]), children: t("sort.order.alpha.desc") })
156
156
  ] })
157
157
  ] })
158
158
  ] })