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

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 (1460) hide show
  1. package/README.md +3 -3
  2. package/dist/audience.js +16 -0
  3. package/dist/comments.js +4 -0
  4. package/dist/components/ActionBar/ActionBar.d.ts +0 -1
  5. package/dist/components/ActionBar/ActionBar.js +2 -2
  6. package/dist/components/Alert/Alert.d.ts +3 -3
  7. package/dist/components/Alert/Alert.js +10 -7
  8. package/dist/components/AppHeader/AppHeader.d.ts +1 -1
  9. package/dist/components/AppHeader/AppHeader.js +2 -2
  10. package/dist/components/AppIcon/AppIcon.d.ts +11 -11
  11. package/dist/components/AppIcon/AppIcon.js +7 -5
  12. package/dist/components/AppIcon/index.d.ts +1 -1
  13. package/dist/components/Attachment/Attachment.d.ts +1 -1
  14. package/dist/components/Attachment/Attachment.js +8 -5
  15. package/dist/components/Avatar/Avatar.d.ts +3 -4
  16. package/dist/components/Avatar/Avatar.js +3 -3
  17. package/dist/components/Badge/Badge.d.ts +20 -18
  18. package/dist/components/Badge/Badge.js +5 -18
  19. package/dist/components/Breadcrumb/Breadcrumb.d.ts +3 -2
  20. package/dist/components/Breadcrumb/Breadcrumb.js +4 -4
  21. package/dist/components/Breadcrumb/BreadcrumbItem.d.ts +1 -1
  22. package/dist/components/Breadcrumb/BreadcrumbNav.d.ts +2 -2
  23. package/dist/components/Breadcrumb/BreadcrumbNav.js +2 -2
  24. package/dist/components/Breadcrumb/index.d.ts +1 -0
  25. package/dist/components/Button/Button.d.ts +5 -5
  26. package/dist/components/Button/Button.js +2 -2
  27. package/dist/components/Button/IconButton.d.ts +1 -1
  28. package/dist/components/Button/IconButton.js +2 -2
  29. package/dist/components/Button/SearchButton.d.ts +1 -1
  30. package/dist/components/Button/SearchButton.js +4 -4
  31. package/dist/components/Card/Card.d.ts +11 -7
  32. package/dist/components/Card/Card.js +6 -4
  33. package/dist/components/Card/CardBody.d.ts +2 -2
  34. package/dist/components/Card/CardContext.d.ts +2 -2
  35. package/dist/components/Card/CardHeader.js +7 -4
  36. package/dist/components/Card/CardImage.d.ts +2 -2
  37. package/dist/components/Card/CardImage.js +1 -1
  38. package/dist/components/Card/CardText.d.ts +1 -1
  39. package/dist/components/Card/CardTitle.d.ts +1 -1
  40. package/dist/components/Card/CardUser.js +2 -2
  41. package/dist/components/Checkbox/Checkbox.d.ts +0 -1
  42. package/dist/components/Checkbox/Checkbox.js +2 -2
  43. package/dist/components/ColorPicker/ColorPalette.d.ts +1 -1
  44. package/dist/components/ColorPicker/ColorPicker.d.ts +1 -1
  45. package/dist/components/ColorPicker/ColorPicker.js +8 -7
  46. package/dist/components/ColorPicker/ColorPickerItem.js +4 -4
  47. package/dist/components/Combobox/Combobox.js +1 -2
  48. package/dist/components/Combobox/ComboboxTrigger.d.ts +1 -1
  49. package/dist/components/Dropdown/Dropdown.d.ts +1 -1
  50. package/dist/components/Dropdown/Dropdown.js +3 -3
  51. package/dist/components/Dropdown/DropdownContext.d.ts +1 -1
  52. package/dist/components/Dropdown/DropdownItem.d.ts +1 -1
  53. package/dist/components/Dropdown/DropdownMenu.d.ts +2 -2
  54. package/dist/components/Dropdown/DropdownTrigger.d.ts +3 -4
  55. package/dist/components/Dropdown/DropdownTrigger.js +3 -3
  56. package/dist/components/Dropzone/Dropzone.d.ts +26 -2
  57. package/dist/components/Dropzone/Dropzone.js +3 -4
  58. package/dist/components/Dropzone/DropzoneContext.d.ts +0 -1
  59. package/dist/components/Dropzone/DropzoneFile.d.ts +2 -1
  60. package/dist/components/Dropzone/DropzoneFile.js +5 -7
  61. package/dist/components/Dropzone/DropzoneImport.js +3 -3
  62. package/dist/components/Dropzone/index.d.ts +2 -1
  63. package/dist/components/EmptyScreen/EmptyScreen.d.ts +5 -1
  64. package/dist/components/EmptyScreen/EmptyScreen.js +4 -3
  65. package/dist/components/Form/FormContext.d.ts +1 -1
  66. package/dist/components/Form/FormControl.d.ts +4 -4
  67. package/dist/components/Form/FormControl.js +2 -2
  68. package/dist/components/Form/FormText.js +2 -2
  69. package/dist/components/Grid/Grid.d.ts +1 -1
  70. package/dist/components/Heading/Heading.d.ts +1 -1
  71. package/dist/components/Heading/Heading.js +2 -2
  72. package/dist/components/Image/Image.d.ts +3 -4
  73. package/dist/components/Image/Image.js +3 -3
  74. package/dist/components/Input/Input.d.ts +2 -2
  75. package/dist/components/Input/Input.js +2 -2
  76. package/dist/components/Label/Label.d.ts +2 -2
  77. package/dist/components/Label/Label.js +2 -2
  78. package/dist/components/Layout/Layout.d.ts +12 -0
  79. package/dist/components/Layout/Layout.js +44 -0
  80. package/dist/components/Layout/components/Header.js +189 -0
  81. package/dist/components/Layout/components/Help.js +25 -0
  82. package/dist/components/Layout/components/Main.d.ts +16 -0
  83. package/dist/components/Layout/components/NavItem.d.ts +6 -0
  84. package/dist/components/Layout/components/NavLink.js +19 -0
  85. package/dist/components/Layout/components/NavbarNav.d.ts +6 -0
  86. package/dist/components/Layout/components/SearchEngine.js +33 -0
  87. package/dist/components/Layout/components/WidgetApps.d.ts +9 -0
  88. package/dist/components/Layout/components/WidgetApps.js +23 -0
  89. package/dist/components/Layout/hooks/index.d.ts +2 -0
  90. package/dist/components/Layout/hooks/useHeader.d.ts +5 -0
  91. package/dist/components/Layout/hooks/useHelp.d.ts +9 -0
  92. package/dist/components/Layout/hooks/useHelp.js +85 -0
  93. package/dist/components/List/List.d.ts +23 -0
  94. package/dist/components/List/List.js +50 -0
  95. package/dist/components/List/index.d.ts +1 -0
  96. package/dist/components/Loading/Loading.d.ts +1 -1
  97. package/dist/components/Loading/Loading.js +4 -4
  98. package/dist/components/LoadingScreen/LoadingScreen.d.ts +0 -1
  99. package/dist/components/LoadingScreen/LoadingScreen.js +3 -3
  100. package/dist/components/Logo/Logo.d.ts +0 -1
  101. package/dist/components/Logo/Logo.js +2 -2
  102. package/dist/components/Menu/components/Menu.js +27 -0
  103. package/dist/components/Menu/components/MenuButton.d.ts +5 -0
  104. package/dist/components/Menu/components/MenuButton.js +21 -0
  105. package/dist/components/Menu/hooks/useMenu.d.ts +9 -0
  106. package/dist/components/Menu/hooks/useMenu.js +50 -0
  107. package/dist/components/Menu/index.d.ts +2 -2
  108. package/dist/components/Modal/Modal.d.ts +1 -5
  109. package/dist/components/Modal/Modal.js +2 -2
  110. package/dist/components/Modal/ModalContext.d.ts +0 -1
  111. package/dist/components/Modal/ModalHeader.js +2 -2
  112. package/dist/components/Radio/Radio.js +2 -2
  113. package/dist/components/SearchBar/SearchBar.d.ts +1 -1
  114. package/dist/components/SearchBar/SearchBar.js +5 -5
  115. package/dist/components/Select/Select.d.ts +1 -1
  116. package/dist/components/Select/Select.js +2 -2
  117. package/dist/components/Select/SelectTrigger.d.ts +1 -1
  118. package/dist/components/Table/components/Table.d.ts +30 -0
  119. package/dist/components/Table/components/Table.js +19 -0
  120. package/dist/components/Table/components/TableTbody.d.ts +6 -0
  121. package/dist/components/Table/components/TableTbody.js +11 -0
  122. package/dist/components/Table/components/TableTd.d.ts +4 -0
  123. package/dist/components/Table/components/TableTd.js +11 -0
  124. package/dist/components/Table/components/TableTh.d.ts +4 -0
  125. package/dist/components/Table/components/TableTh.js +11 -0
  126. package/dist/components/Table/components/TableThead.d.ts +4 -0
  127. package/dist/components/Table/components/TableThead.js +11 -0
  128. package/dist/components/Table/components/TableTr.d.ts +4 -0
  129. package/dist/components/Table/components/TableTr.js +11 -0
  130. package/dist/components/Table/index.d.ts +2 -2
  131. package/dist/components/Tabs/components/Tabs.d.ts +42 -0
  132. package/dist/components/Tabs/components/Tabs.js +45 -0
  133. package/dist/components/Tabs/components/TabsItem.js +26 -0
  134. package/dist/components/Tabs/components/TabsList.d.ts +6 -0
  135. package/dist/components/Tabs/components/TabsList.js +24 -0
  136. package/dist/components/Tabs/components/TabsPanel.js +14 -0
  137. package/dist/components/Tabs/context/TabsContext.d.ts +12 -0
  138. package/dist/components/Tabs/hooks/useTabs.d.ts +15 -0
  139. package/dist/components/Tabs/hooks/useTabs.js +61 -0
  140. package/dist/components/Tabs/index.d.ts +2 -3
  141. package/dist/components/TextArea/TextArea.d.ts +2 -2
  142. package/dist/components/TextArea/TextArea.js +2 -2
  143. package/dist/components/Toolbar/Toolbar.d.ts +18 -18
  144. package/dist/components/Toolbar/Toolbar.js +4 -3
  145. package/dist/components/Toolbar/index.d.ts +0 -1
  146. package/dist/components/Tooltip/Tooltip.d.ts +4 -4
  147. package/dist/components/Tooltip/Tooltip.js +5 -4
  148. package/dist/components/Tree/components/DndTree.d.ts +3 -0
  149. package/dist/components/Tree/components/DndTree.js +61 -0
  150. package/dist/components/Tree/components/SortableTree.d.ts +9 -0
  151. package/dist/components/Tree/components/SortableTree.js +143 -0
  152. package/dist/components/Tree/components/Tree.d.ts +7 -0
  153. package/dist/components/Tree/components/Tree.js +86 -0
  154. package/dist/components/Tree/hooks/useTree.d.ts +31 -0
  155. package/dist/components/Tree/hooks/useTree.js +87 -0
  156. package/dist/components/Tree/hooks/useTreeSortable.d.ts +38 -0
  157. package/dist/components/Tree/hooks/useTreeSortable.js +202 -0
  158. package/dist/components/Tree/index.d.ts +6 -0
  159. package/dist/components/Tree/types/index.d.ts +170 -0
  160. package/dist/components/Tree/utilities/tree-sortable.d.ts +29 -0
  161. package/dist/components/Tree/utilities/tree-sortable.js +144 -0
  162. package/dist/components/Tree/utilities/tree.d.ts +34 -0
  163. package/dist/components/Tree/utilities/tree.js +44 -0
  164. package/dist/components/TreeView/TreeNode.d.ts +37 -11
  165. package/dist/components/TreeView/TreeNode.js +69 -0
  166. package/dist/components/TreeView/TreeView.d.ts +28 -12
  167. package/dist/components/TreeView/TreeView.js +30 -32
  168. package/dist/components/TreeView/hooks/useTreeView.d.ts +33 -0
  169. package/dist/components/TreeView/hooks/useTreeView.js +105 -0
  170. package/dist/components/TreeView/index.d.ts +2 -1
  171. package/dist/components/TreeView/utilities/index.d.ts +1 -0
  172. package/dist/components/TreeView/utilities/treeview.d.ts +35 -0
  173. package/dist/components/TreeView/utilities/treeview.js +53 -0
  174. package/dist/components/VisuallyHidden/VisuallyHidden.js +2 -2
  175. package/dist/components/index.d.ts +3 -4
  176. package/dist/editor.js +58 -0
  177. package/dist/hooks/index.d.ts +28 -2
  178. package/dist/hooks/useAvatar/useAvatar.d.ts +6 -0
  179. package/dist/hooks/useAvatar/useAvatar.js +30 -0
  180. package/dist/hooks/useBookmark/useBookmark.d.ts +2 -0
  181. package/dist/hooks/useBookmark/useBookmark.js +14 -0
  182. package/dist/hooks/useBreakpoint/index.d.ts +1 -0
  183. package/dist/hooks/useBreakpoint/useBreakpoint.d.ts +20 -0
  184. package/dist/hooks/useBreakpoint/useBreakpoint.js +14 -0
  185. package/dist/hooks/useCantoo/useCantoo.js +18 -0
  186. package/dist/hooks/useCheckable/index.d.ts +1 -0
  187. package/dist/hooks/useCheckable/useCheckable.d.ts +9 -0
  188. package/dist/hooks/useCheckable/useCheckable.js +21 -0
  189. package/dist/hooks/useClickOutside/useClickOutside.d.ts +0 -1
  190. package/dist/hooks/useConf/useConf.d.ts +4 -0
  191. package/dist/hooks/useConf/useConf.js +13 -0
  192. package/dist/hooks/useConversation/useConversation.js +43 -0
  193. package/dist/hooks/useDate/useDate.d.ts +14 -0
  194. package/dist/hooks/useDate/useDate.js +65 -0
  195. package/dist/hooks/useDirectory/index.d.ts +1 -0
  196. package/dist/hooks/useDirectory/useDirectory.d.ts +6 -0
  197. package/dist/hooks/useDirectory/useDirectory.js +16 -0
  198. package/dist/hooks/useDropdown/useDropdown.d.ts +2 -2
  199. package/dist/hooks/useDropdown/useDropdown.js +3 -3
  200. package/dist/hooks/useDropzone/useDropzone.d.ts +3 -3
  201. package/dist/hooks/useDropzone/useDropzone.js +9 -7
  202. package/dist/hooks/useEdificeIcons/index.d.ts +1 -0
  203. package/dist/hooks/useEdificeIcons/useEdificeIcons.d.ts +9 -0
  204. package/dist/hooks/useEdificeIcons/useEdificeIcons.js +92 -0
  205. package/dist/hooks/useHasWorkflow/useHasWorkflow.js +22 -0
  206. package/dist/hooks/useHeader/useHeader.d.ts +5 -0
  207. package/dist/hooks/useHeader/useHeader.js +46 -0
  208. package/dist/hooks/useHttpErrorToast/index.d.ts +1 -0
  209. package/dist/hooks/useHttpErrorToast/useHttpErrorToast.d.ts +3 -0
  210. package/dist/hooks/useHttpErrorToast/useHttpErrorToast.js +21 -0
  211. package/dist/hooks/useIsAdml/useIsAdml.js +18 -0
  212. package/dist/hooks/useLibraryUrl/useLibraryUrl.js +21 -0
  213. package/dist/hooks/useMediaLibrary/useMediaLibrary.d.ts +12 -0
  214. package/dist/hooks/useMediaLibrary/useMediaLibrary.js +58 -0
  215. package/dist/hooks/usePaths/usePaths.js +7 -0
  216. package/dist/hooks/usePreferences/usePreferences.js +10 -0
  217. package/dist/hooks/useResource/useResource.d.ts +3 -0
  218. package/dist/hooks/useResource/useResource.js +25 -0
  219. package/dist/hooks/useResourceSearch/useResourceSearch.d.ts +18 -0
  220. package/dist/hooks/useResourceSearch/useResourceSearch.js +19 -0
  221. package/dist/hooks/useSession/useSession.js +11 -0
  222. package/dist/hooks/useToast/useToast.d.ts +1 -1
  223. package/dist/hooks/useTrapFocus/useTrapFocus.d.ts +0 -1
  224. package/dist/hooks/useTrashedResource/useTrashedResource.js +27 -0
  225. package/dist/hooks/useUpload/useUpload.d.ts +18 -0
  226. package/dist/hooks/useUpload/useUpload.js +106 -0
  227. package/dist/hooks/useUploadFiles/useUploadFiles.d.ts +25 -0
  228. package/dist/hooks/useUploadFiles/useUploadFiles.js +100 -0
  229. package/dist/hooks/useUser/useUser.d.ts +7 -0
  230. package/dist/hooks/useUser/useUser.js +22 -0
  231. package/dist/hooks/useWorkspaceFile/useWorkspaceFile.d.ts +21 -0
  232. package/dist/hooks/useWorkspaceFile/useWorkspaceFile.js +49 -0
  233. package/dist/hooks/useWorkspaceSearch/useWorkspaceSearch.d.ts +9 -0
  234. package/dist/hooks/useWorkspaceSearch/useWorkspaceSearch.js +58 -0
  235. package/dist/hooks/useXitiTrackPageLoad/useXitiTrackPageLoad.js +28 -0
  236. package/dist/hooks/useZendeskGuide/useZendeskGuide.js +101 -0
  237. package/dist/icons-apps.js +232 -0
  238. package/dist/icons-audience.js +28 -0
  239. package/dist/icons-nav.js +28 -0
  240. package/dist/icons.js +300 -0
  241. package/dist/index.d.ts +3 -6
  242. package/dist/index.js +196 -256
  243. package/dist/modals.js +18 -0
  244. package/dist/modules/audience/ReactionChoice.d.ts +11 -0
  245. package/dist/modules/audience/ReactionChoice.js +33 -0
  246. package/dist/modules/audience/ReactionModal.Card.d.ts +4 -0
  247. package/dist/modules/audience/ReactionModal.Card.js +33 -0
  248. package/dist/modules/audience/ReactionModal.d.ts +20 -0
  249. package/dist/modules/audience/ReactionModal.js +72 -0
  250. package/dist/modules/audience/ReactionSummary.d.ts +10 -0
  251. package/dist/modules/audience/ReactionSummary.js +27 -0
  252. package/dist/modules/audience/ViewsByProfileCard.d.ts +9 -0
  253. package/dist/modules/audience/ViewsByProfileCard.js +40 -0
  254. package/dist/modules/audience/ViewsCounter.d.ts +10 -0
  255. package/dist/modules/audience/ViewsCounter.js +18 -0
  256. package/dist/modules/audience/ViewsModal.d.ts +11 -0
  257. package/dist/modules/audience/ViewsModal.js +41 -0
  258. package/dist/modules/audience/hooks/useReactionIcons.d.ts +5 -0
  259. package/dist/modules/audience/hooks/useReactionIcons.js +45 -0
  260. package/dist/modules/audience/hooks/useReactions.d.ts +15 -0
  261. package/dist/modules/audience/hooks/useReactions.js +35 -0
  262. package/dist/modules/audience/hooks/useViews.d.ts +11 -0
  263. package/dist/modules/comments/components/BadgeProfile.d.ts +4 -0
  264. package/dist/modules/comments/components/BadgeProfile.js +18 -0
  265. package/dist/modules/comments/components/Comment.d.ts +7 -0
  266. package/dist/modules/comments/components/Comment.js +72 -0
  267. package/dist/modules/comments/components/CommentAvatar.d.ts +3 -0
  268. package/dist/modules/comments/components/CommentAvatar.js +17 -0
  269. package/dist/modules/comments/components/CommentDate.d.ts +4 -0
  270. package/dist/modules/comments/components/CommentDate.js +27 -0
  271. package/dist/modules/comments/components/CommentForm.d.ts +3 -0
  272. package/dist/modules/comments/components/CommentForm.js +37 -0
  273. package/dist/modules/comments/components/CommentHeader.d.ts +3 -0
  274. package/dist/modules/comments/components/CommentHeader.js +8 -0
  275. package/dist/modules/comments/components/CommentList.d.ts +1 -0
  276. package/dist/modules/comments/components/CommentList.js +22 -0
  277. package/dist/modules/comments/components/CommentTitle.d.ts +4 -0
  278. package/dist/modules/comments/components/CommentTitle.js +7 -0
  279. package/dist/modules/comments/components/TextCounter.d.ts +4 -0
  280. package/dist/modules/comments/components/TextCounter.js +8 -0
  281. package/dist/modules/comments/constants.d.ts +20 -0
  282. package/dist/modules/comments/constants.js +8 -0
  283. package/dist/modules/comments/context/Context.d.ts +16 -0
  284. package/dist/modules/comments/context/Context.js +5 -0
  285. package/dist/modules/comments/hooks/useAutosizeTextarea.d.ts +1 -0
  286. package/dist/modules/comments/hooks/useAutosizeTextarea.js +19 -0
  287. package/dist/modules/comments/hooks/useComments.d.ts +29 -0
  288. package/dist/modules/comments/hooks/useComments.js +66 -0
  289. package/dist/modules/comments/hooks/useCommentsContext.d.ts +15 -0
  290. package/dist/modules/comments/hooks/useCommentsContext.js +11 -0
  291. package/dist/modules/comments/hooks/useProfileQueries.d.ts +4 -0
  292. package/dist/modules/comments/hooks/useProfileQueries.js +26 -0
  293. package/dist/modules/comments/index.d.ts +1 -0
  294. package/dist/modules/comments/provider/CommentProvider.d.ts +3 -0
  295. package/dist/modules/comments/provider/CommentProvider.js +85 -0
  296. package/dist/modules/comments/types.d.ts +102 -0
  297. package/dist/modules/editor/components/BubbleMenuEditImage/BubbleMenuEditImage.d.ts +8 -0
  298. package/dist/modules/editor/components/BubbleMenuEditImage/BubbleMenuEditImage.js +135 -0
  299. package/dist/modules/editor/components/BubbleMenuEditImage/index.d.ts +1 -0
  300. package/dist/modules/editor/components/Editor/Editor.d.ts +45 -0
  301. package/dist/modules/editor/components/Editor/Editor.js +82 -0
  302. package/dist/modules/editor/components/Editor/MathsModal.d.ts +7 -0
  303. package/dist/modules/editor/components/Editor/MathsModal.js +50 -0
  304. package/dist/modules/editor/components/Editor/index.d.ts +2 -0
  305. package/dist/modules/editor/components/EditorToolbar/EditorToolbar.DropdownMenu.d.ts +22 -0
  306. package/dist/modules/editor/components/EditorToolbar/EditorToolbar.DropdownMenu.js +17 -0
  307. package/dist/modules/editor/components/EditorToolbar/EditorToolbar.Emoji.d.ts +14 -0
  308. package/dist/modules/editor/components/EditorToolbar/EditorToolbar.Emoji.js +54 -0
  309. package/dist/modules/editor/components/EditorToolbar/EditorToolbar.HighlightColor.d.ts +14 -0
  310. package/dist/modules/editor/components/EditorToolbar/EditorToolbar.HighlightColor.js +47 -0
  311. package/dist/modules/editor/components/EditorToolbar/EditorToolbar.PlusMenu.d.ts +9 -0
  312. package/dist/modules/editor/components/EditorToolbar/EditorToolbar.PlusMenu.js +18 -0
  313. package/dist/modules/editor/components/EditorToolbar/EditorToolbar.TextColor.d.ts +14 -0
  314. package/dist/modules/editor/components/EditorToolbar/EditorToolbar.TextColor.js +50 -0
  315. package/dist/modules/editor/components/EditorToolbar/EditorToolbar.TextSize.d.ts +10 -0
  316. package/dist/modules/editor/components/EditorToolbar/EditorToolbar.TextSize.js +62 -0
  317. package/dist/modules/editor/components/EditorToolbar/EditorToolbar.Typography.d.ts +10 -0
  318. package/dist/modules/editor/components/EditorToolbar/EditorToolbar.Typography.js +52 -0
  319. package/dist/modules/editor/components/EditorToolbar/EditorToolbar.d.ts +10 -0
  320. package/dist/modules/editor/components/EditorToolbar/EditorToolbar.js +331 -0
  321. package/dist/modules/editor/components/EditorToolbar/index.d.ts +1 -0
  322. package/dist/modules/editor/components/NodeView/AttachmentNodeView.d.ts +2 -0
  323. package/dist/modules/editor/components/NodeView/AttachmentNodeView.js +10 -0
  324. package/dist/modules/editor/components/NodeView/AudioNodeView.d.ts +2 -0
  325. package/dist/modules/editor/components/NodeView/AudioNodeView.js +10 -0
  326. package/dist/modules/editor/components/NodeView/ImageNodeView.d.ts +3 -0
  327. package/dist/modules/editor/components/NodeView/ImageNodeView.js +12 -0
  328. package/dist/modules/editor/components/NodeView/LinkerNodeView.d.ts +2 -0
  329. package/dist/modules/editor/components/NodeView/LinkerNodeView.js +10 -0
  330. package/dist/modules/editor/components/NodeView/VideoNodeView.d.ts +2 -0
  331. package/dist/modules/editor/components/NodeView/VideoNodeView.js +10 -0
  332. package/dist/modules/editor/components/NodeView/index.d.ts +5 -0
  333. package/dist/modules/editor/components/Renderer/AttachmentRenderer.d.ts +7 -0
  334. package/dist/modules/editor/components/Renderer/AttachmentRenderer.js +35 -0
  335. package/dist/modules/editor/components/Renderer/AudioRenderer.d.ts +7 -0
  336. package/dist/modules/editor/components/Renderer/AudioRenderer.js +11 -0
  337. package/dist/modules/editor/components/Renderer/LinkerRenderer.d.ts +9 -0
  338. package/dist/modules/editor/components/Renderer/LinkerRenderer.js +34 -0
  339. package/dist/modules/editor/components/Renderer/MediaRenderer.d.ts +3 -0
  340. package/dist/modules/editor/components/Renderer/MediaRenderer.js +73 -0
  341. package/dist/modules/editor/components/Renderer/index.d.ts +4 -0
  342. package/dist/modules/editor/components/Toolbar/LinkToolbar.TippyOptions.d.ts +2 -0
  343. package/dist/modules/editor/components/Toolbar/LinkToolbar.TippyOptions.js +8 -0
  344. package/dist/modules/editor/components/Toolbar/LinkToolbar.d.ts +15 -0
  345. package/dist/modules/editor/components/Toolbar/LinkToolbar.js +61 -0
  346. package/dist/modules/editor/components/Toolbar/TableToolbar.AddMenu.d.ts +9 -0
  347. package/dist/modules/editor/components/Toolbar/TableToolbar.AddMenu.js +33 -0
  348. package/dist/modules/editor/components/Toolbar/TableToolbar.CellColor.d.ts +13 -0
  349. package/dist/modules/editor/components/Toolbar/TableToolbar.CellColor.js +45 -0
  350. package/dist/modules/editor/components/Toolbar/TableToolbar.DelMenu.d.ts +9 -0
  351. package/dist/modules/editor/components/Toolbar/TableToolbar.DelMenu.js +31 -0
  352. package/dist/modules/editor/components/Toolbar/TableToolbar.d.ts +9 -0
  353. package/dist/modules/editor/components/Toolbar/TableToolbar.js +89 -0
  354. package/dist/modules/editor/components/Toolbar/index.d.ts +2 -0
  355. package/dist/modules/editor/components/index.d.ts +6 -0
  356. package/dist/modules/editor/hooks/index.d.ts +12 -0
  357. package/dist/modules/editor/hooks/useActionOptions.d.ts +5 -0
  358. package/dist/modules/editor/hooks/useActionOptions.js +86 -0
  359. package/dist/modules/editor/hooks/useCommentEditor.d.ts +13 -0
  360. package/dist/modules/editor/hooks/useCommentEditor.js +37 -0
  361. package/dist/modules/editor/hooks/useEditorContext.d.ts +37 -0
  362. package/dist/modules/editor/hooks/useEditorContext.js +12 -0
  363. package/dist/modules/editor/hooks/useImageModal.d.ts +31 -0
  364. package/dist/modules/editor/hooks/useImageModal.js +46 -0
  365. package/dist/modules/editor/hooks/useImageSelection.d.ts +21 -0
  366. package/dist/modules/editor/hooks/useImageSelection.js +46 -0
  367. package/dist/modules/editor/hooks/useLinkToolbar.d.ts +18 -0
  368. package/dist/modules/editor/hooks/useLinkToolbar.js +37 -0
  369. package/dist/modules/editor/hooks/useMathsModal.d.ts +17 -0
  370. package/dist/modules/editor/hooks/useMathsModal.js +17 -0
  371. package/dist/modules/editor/hooks/useMathsStyles.d.ts +1 -0
  372. package/dist/modules/editor/hooks/useMathsStyles.js +20 -0
  373. package/dist/modules/editor/hooks/useMediaLibraryEditor.d.ts +19 -0
  374. package/dist/modules/editor/hooks/useMediaLibraryEditor.js +152 -0
  375. package/dist/modules/editor/hooks/useResizeMedia.d.ts +10 -0
  376. package/dist/modules/editor/hooks/useResizeMedia.js +47 -0
  377. package/dist/modules/editor/hooks/useSpeechRecognition.d.ts +6 -0
  378. package/dist/modules/editor/hooks/useSpeechRecognition.js +21 -0
  379. package/dist/modules/editor/hooks/useSpeechSynthetisis.d.ts +12 -0
  380. package/dist/modules/editor/hooks/useSpeechSynthetisis.js +20 -0
  381. package/dist/modules/editor/hooks/useTipTapEditor.d.ts +16 -0
  382. package/dist/modules/editor/hooks/useTipTapEditor.js +86 -0
  383. package/dist/modules/editor/index.d.ts +3 -0
  384. package/dist/modules/editor/utilities/has-extension.d.ts +2 -0
  385. package/dist/modules/editor/utilities/has-extension.js +4 -0
  386. package/dist/modules/editor/utilities/has-mark.d.ts +2 -0
  387. package/dist/modules/editor/utilities/has-mark.js +4 -0
  388. package/dist/modules/editor/utilities/has-text-style.d.ts +2 -0
  389. package/dist/modules/editor/utilities/has-text-style.js +5 -0
  390. package/dist/modules/icons/components/IconAdd.d.ts +7 -0
  391. package/dist/modules/icons/components/IconAdd.js +12 -0
  392. package/dist/modules/icons/components/IconAddUser.d.ts +7 -0
  393. package/dist/modules/icons/components/IconAddUser.js +12 -0
  394. package/dist/modules/icons/components/IconAlertCircle.d.ts +7 -0
  395. package/dist/modules/icons/components/IconAlertCircle.js +13 -0
  396. package/dist/modules/icons/components/IconAlertTriangle.d.ts +7 -0
  397. package/dist/modules/icons/components/IconAlertTriangle.js +13 -0
  398. package/dist/modules/icons/components/IconAlignCenter.d.ts +7 -0
  399. package/dist/modules/icons/components/IconAlignCenter.js +12 -0
  400. package/dist/modules/icons/components/IconAlignJustify.d.ts +7 -0
  401. package/dist/modules/icons/components/IconAlignJustify.js +12 -0
  402. package/dist/modules/icons/components/IconAlignLeft.d.ts +7 -0
  403. package/dist/modules/icons/components/IconAlignLeft.js +12 -0
  404. package/dist/modules/icons/components/IconAlignRight.d.ts +7 -0
  405. package/dist/modules/icons/components/IconAlignRight.js +12 -0
  406. package/dist/modules/icons/components/IconAnswer.d.ts +7 -0
  407. package/dist/modules/icons/components/IconAnswer.js +13 -0
  408. package/dist/modules/icons/components/IconApplications.d.ts +7 -0
  409. package/dist/modules/icons/components/IconApplications.js +12 -0
  410. package/dist/modules/icons/components/IconArrowDown.d.ts +7 -0
  411. package/dist/modules/icons/components/IconArrowDown.js +13 -0
  412. package/dist/modules/icons/components/IconArrowLeft.d.ts +7 -0
  413. package/dist/modules/icons/components/IconArrowLeft.js +13 -0
  414. package/dist/modules/icons/components/IconArrowRight.d.ts +7 -0
  415. package/dist/modules/icons/components/IconArrowRight.js +13 -0
  416. package/dist/modules/icons/components/IconArrowUp.d.ts +7 -0
  417. package/dist/modules/icons/components/IconArrowUp.js +13 -0
  418. package/dist/modules/icons/components/IconBlock.d.ts +7 -0
  419. package/dist/modules/icons/components/IconBlock.js +12 -0
  420. package/dist/modules/icons/components/IconBlur.d.ts +7 -0
  421. package/dist/modules/icons/components/IconBlur.js +13 -0
  422. package/dist/modules/icons/components/IconBookmark.d.ts +7 -0
  423. package/dist/modules/icons/components/IconBookmark.js +12 -0
  424. package/dist/modules/icons/components/IconBulletList.d.ts +7 -0
  425. package/dist/modules/icons/components/IconBulletList.js +16 -0
  426. package/dist/modules/icons/components/IconBurgerMenu.d.ts +7 -0
  427. package/dist/modules/icons/components/IconBurgerMenu.js +12 -0
  428. package/dist/modules/icons/components/IconCalendar.d.ts +7 -0
  429. package/dist/modules/icons/components/IconCalendar.js +12 -0
  430. package/dist/modules/icons/components/IconCalendarLight.d.ts +7 -0
  431. package/dist/modules/icons/components/IconCalendarLight.js +12 -0
  432. package/dist/modules/icons/components/IconCamera.d.ts +7 -0
  433. package/dist/modules/icons/components/IconCamera.js +13 -0
  434. package/dist/modules/icons/components/IconCenter.d.ts +7 -0
  435. package/dist/modules/icons/components/IconCenter.js +12 -0
  436. package/dist/modules/icons/components/IconCheck.d.ts +7 -0
  437. package/dist/modules/icons/components/IconCheck.js +12 -0
  438. package/dist/modules/icons/components/IconChecklist.d.ts +7 -0
  439. package/dist/modules/icons/components/IconChecklist.js +13 -0
  440. package/dist/modules/icons/components/IconClock.d.ts +7 -0
  441. package/dist/modules/icons/components/IconClock.js +12 -0
  442. package/dist/modules/icons/components/IconClose.d.ts +7 -0
  443. package/dist/modules/icons/components/IconClose.js +13 -0
  444. package/dist/modules/icons/components/IconCloseFullScreen.d.ts +7 -0
  445. package/dist/modules/icons/components/IconCloseFullScreen.js +12 -0
  446. package/dist/modules/icons/components/IconCode.d.ts +7 -0
  447. package/dist/modules/icons/components/IconCode.js +12 -0
  448. package/dist/modules/icons/components/IconCopy.d.ts +7 -0
  449. package/dist/modules/icons/components/IconCopy.js +12 -0
  450. package/dist/modules/icons/components/IconCrop.d.ts +7 -0
  451. package/dist/modules/icons/components/IconCrop.js +13 -0
  452. package/dist/modules/icons/components/IconCut.d.ts +7 -0
  453. package/dist/modules/icons/components/IconCut.js +13 -0
  454. package/dist/modules/icons/components/IconDelete.d.ts +7 -0
  455. package/dist/modules/icons/components/IconDelete.js +12 -0
  456. package/dist/modules/icons/components/IconDeleteColor.d.ts +7 -0
  457. package/dist/modules/icons/components/IconDeleteColor.js +13 -0
  458. package/dist/modules/icons/components/IconDeleteColumn.d.ts +7 -0
  459. package/dist/modules/icons/components/IconDeleteColumn.js +12 -0
  460. package/dist/modules/icons/components/IconDeleteColumnHighlight.d.ts +7 -0
  461. package/dist/modules/icons/components/IconDeleteColumnHighlight.js +12 -0
  462. package/dist/modules/icons/components/IconDeleteRow.d.ts +7 -0
  463. package/dist/modules/icons/components/IconDeleteRow.js +12 -0
  464. package/dist/modules/icons/components/IconDeleteRowHighlight.d.ts +7 -0
  465. package/dist/modules/icons/components/IconDeleteRowHighlight.js +12 -0
  466. package/dist/modules/icons/components/IconDepositeInbox.d.ts +7 -0
  467. package/dist/modules/icons/components/IconDepositeInbox.js +13 -0
  468. package/dist/modules/icons/components/IconDownload.d.ts +7 -0
  469. package/dist/modules/icons/components/IconDownload.js +17 -0
  470. package/dist/modules/icons/components/IconEdit.d.ts +7 -0
  471. package/dist/modules/icons/components/IconEdit.js +13 -0
  472. package/dist/modules/icons/components/IconError.d.ts +7 -0
  473. package/dist/modules/icons/components/IconError.js +12 -0
  474. package/dist/modules/icons/components/IconExternalLink.d.ts +7 -0
  475. package/dist/modules/icons/components/IconExternalLink.js +13 -0
  476. package/dist/modules/icons/components/IconFiles.d.ts +7 -0
  477. package/dist/modules/icons/components/IconFiles.js +12 -0
  478. package/dist/modules/icons/components/IconFilter.d.ts +7 -0
  479. package/dist/modules/icons/components/IconFilter.js +12 -0
  480. package/dist/modules/icons/components/IconFlag.d.ts +7 -0
  481. package/dist/modules/icons/components/IconFlag.js +12 -0
  482. package/dist/modules/icons/components/IconFolder.d.ts +7 -0
  483. package/dist/modules/icons/components/IconFolder.js +12 -0
  484. package/dist/modules/icons/components/IconFolderMove.d.ts +7 -0
  485. package/dist/modules/icons/components/IconFolderMove.js +17 -0
  486. package/dist/modules/icons/components/IconForgoing.d.ts +7 -0
  487. package/dist/modules/icons/components/IconForgoing.js +12 -0
  488. package/dist/modules/icons/components/IconFullScreen.d.ts +7 -0
  489. package/dist/modules/icons/components/IconFullScreen.js +12 -0
  490. package/dist/modules/icons/components/IconGlobe.d.ts +7 -0
  491. package/dist/modules/icons/components/IconGlobe.js +12 -0
  492. package/dist/modules/icons/components/IconHeadphone.d.ts +7 -0
  493. package/dist/modules/icons/components/IconHeadphone.js +12 -0
  494. package/dist/modules/icons/components/IconHide.d.ts +7 -0
  495. package/dist/modules/icons/components/IconHide.js +13 -0
  496. package/dist/modules/icons/components/IconHighlightColumn.d.ts +7 -0
  497. package/dist/modules/icons/components/IconHighlightColumn.js +12 -0
  498. package/dist/modules/icons/components/IconHighlightRow.d.ts +7 -0
  499. package/dist/modules/icons/components/IconHighlightRow.js +12 -0
  500. package/dist/modules/icons/components/IconHome.d.ts +7 -0
  501. package/dist/modules/icons/components/IconHome.js +12 -0
  502. package/dist/modules/icons/components/IconHourglass.d.ts +7 -0
  503. package/dist/modules/icons/components/IconHourglass.js +12 -0
  504. package/dist/modules/icons/components/IconImageSizeLarge.d.ts +7 -0
  505. package/dist/modules/icons/components/IconImageSizeLarge.js +12 -0
  506. package/dist/modules/icons/components/IconImageSizeMedium.d.ts +7 -0
  507. package/dist/modules/icons/components/IconImageSizeMedium.js +12 -0
  508. package/dist/modules/icons/components/IconImageSizeSmall.d.ts +7 -0
  509. package/dist/modules/icons/components/IconImageSizeSmall.js +12 -0
  510. package/dist/modules/icons/components/IconInbox.d.ts +7 -0
  511. package/dist/modules/icons/components/IconInbox.js +12 -0
  512. package/dist/modules/icons/components/IconInfoCircle.d.ts +7 -0
  513. package/dist/modules/icons/components/IconInfoCircle.js +13 -0
  514. package/dist/modules/icons/components/IconLandscape.d.ts +7 -0
  515. package/dist/modules/icons/components/IconLandscape.js +12 -0
  516. package/dist/modules/icons/components/IconLink.d.ts +7 -0
  517. package/dist/modules/icons/components/IconLink.js +16 -0
  518. package/dist/modules/icons/components/IconListOrder.d.ts +7 -0
  519. package/dist/modules/icons/components/IconListOrder.js +12 -0
  520. package/dist/modules/icons/components/IconLoader.d.ts +7 -0
  521. package/dist/modules/icons/components/IconLoader.js +12 -0
  522. package/dist/modules/icons/components/IconLock.d.ts +7 -0
  523. package/dist/modules/icons/components/IconLock.js +12 -0
  524. package/dist/modules/icons/components/IconMail.d.ts +7 -0
  525. package/dist/modules/icons/components/IconMail.js +13 -0
  526. package/dist/modules/icons/components/IconMergeCells.d.ts +7 -0
  527. package/dist/modules/icons/components/IconMergeCells.js +13 -0
  528. package/dist/modules/icons/components/IconMessageInfo.d.ts +7 -0
  529. package/dist/modules/icons/components/IconMessageInfo.js +13 -0
  530. package/dist/modules/icons/components/IconMic.d.ts +7 -0
  531. package/dist/modules/icons/components/IconMic.js +12 -0
  532. package/dist/modules/icons/components/IconMinus.d.ts +7 -0
  533. package/dist/modules/icons/components/IconMinus.js +12 -0
  534. package/dist/modules/icons/components/IconMove.d.ts +7 -0
  535. package/dist/modules/icons/components/IconMove.js +14 -0
  536. package/dist/modules/icons/components/IconNoColors.d.ts +7 -0
  537. package/dist/modules/icons/components/IconNoColors.js +12 -0
  538. package/dist/modules/icons/components/IconOptions.d.ts +7 -0
  539. package/dist/modules/icons/components/IconOptions.js +14 -0
  540. package/dist/modules/icons/components/IconOrderedList.d.ts +7 -0
  541. package/dist/modules/icons/components/IconOrderedList.js +16 -0
  542. package/dist/modules/icons/components/IconPaperclip.d.ts +7 -0
  543. package/dist/modules/icons/components/IconPaperclip.js +12 -0
  544. package/dist/modules/icons/components/IconPause.d.ts +7 -0
  545. package/dist/modules/icons/components/IconPause.js +12 -0
  546. package/dist/modules/icons/components/IconPinOff.d.ts +7 -0
  547. package/dist/modules/icons/components/IconPinOff.js +12 -0
  548. package/dist/modules/icons/components/IconPinOn.d.ts +7 -0
  549. package/dist/modules/icons/components/IconPinOn.js +12 -0
  550. package/dist/modules/icons/components/IconPlaceholder.d.ts +7 -0
  551. package/dist/modules/icons/components/IconPlaceholder.js +16 -0
  552. package/dist/modules/icons/components/IconPlay.d.ts +7 -0
  553. package/dist/modules/icons/components/IconPlay.js +12 -0
  554. package/dist/modules/icons/components/IconPlayFilled.d.ts +7 -0
  555. package/dist/modules/icons/components/IconPlayFilled.js +12 -0
  556. package/dist/modules/icons/components/IconPlus.d.ts +7 -0
  557. package/dist/modules/icons/components/IconPlus.js +12 -0
  558. package/dist/modules/icons/components/IconPointerDefault.d.ts +7 -0
  559. package/dist/modules/icons/components/IconPointerDefault.js +12 -0
  560. package/dist/modules/icons/components/IconPointerHand.d.ts +7 -0
  561. package/dist/modules/icons/components/IconPointerHand.js +12 -0
  562. package/dist/modules/icons/components/IconPrint.d.ts +7 -0
  563. package/dist/modules/icons/components/IconPrint.js +12 -0
  564. package/dist/modules/icons/components/IconQuestion.d.ts +7 -0
  565. package/dist/modules/icons/components/IconQuestion.js +14 -0
  566. package/dist/modules/icons/components/IconRafterDown.d.ts +7 -0
  567. package/dist/modules/icons/components/IconRafterDown.js +12 -0
  568. package/dist/modules/icons/components/IconRafterLeft.d.ts +7 -0
  569. package/dist/modules/icons/components/IconRafterLeft.js +12 -0
  570. package/dist/modules/icons/components/IconRafterRight.d.ts +7 -0
  571. package/dist/modules/icons/components/IconRafterRight.js +12 -0
  572. package/dist/modules/icons/components/IconRafterUp.d.ts +7 -0
  573. package/dist/modules/icons/components/IconRafterUp.js +12 -0
  574. package/dist/modules/icons/components/IconReaction.d.ts +7 -0
  575. package/dist/modules/icons/components/IconReaction.js +12 -0
  576. package/dist/modules/icons/components/IconRecord.d.ts +7 -0
  577. package/dist/modules/icons/components/IconRecord.js +12 -0
  578. package/dist/modules/icons/components/IconRecordPause.d.ts +7 -0
  579. package/dist/modules/icons/components/IconRecordPause.js +12 -0
  580. package/dist/modules/icons/components/IconRecordStop.d.ts +7 -0
  581. package/dist/modules/icons/components/IconRecordStop.js +12 -0
  582. package/dist/modules/icons/components/IconRecordVideo.d.ts +7 -0
  583. package/dist/modules/icons/components/IconRecordVideo.js +12 -0
  584. package/dist/modules/icons/components/IconRedo.d.ts +7 -0
  585. package/dist/modules/icons/components/IconRedo.js +13 -0
  586. package/dist/modules/icons/components/IconRefresh.d.ts +7 -0
  587. package/dist/modules/icons/components/IconRefresh.js +13 -0
  588. package/dist/modules/icons/components/IconReset.d.ts +7 -0
  589. package/dist/modules/icons/components/IconReset.js +12 -0
  590. package/dist/modules/icons/components/IconRestart.d.ts +7 -0
  591. package/dist/modules/icons/components/IconRestart.js +12 -0
  592. package/dist/modules/icons/components/IconRestore.d.ts +7 -0
  593. package/dist/modules/icons/components/IconRestore.js +12 -0
  594. package/dist/modules/icons/components/IconSave.d.ts +7 -0
  595. package/dist/modules/icons/components/IconSave.js +12 -0
  596. package/dist/modules/icons/components/IconSearch.d.ts +7 -0
  597. package/dist/modules/icons/components/IconSearch.js +12 -0
  598. package/dist/modules/icons/components/IconSee.d.ts +7 -0
  599. package/dist/modules/icons/components/IconSee.js +13 -0
  600. package/dist/modules/icons/components/IconSend.d.ts +7 -0
  601. package/dist/modules/icons/components/IconSend.js +12 -0
  602. package/dist/modules/icons/components/IconSetBackground.d.ts +7 -0
  603. package/dist/modules/icons/components/IconSetBackground.js +17 -0
  604. package/dist/modules/icons/components/IconSettings.d.ts +7 -0
  605. package/dist/modules/icons/components/IconSettings.js +16 -0
  606. package/dist/modules/icons/components/IconShare.d.ts +7 -0
  607. package/dist/modules/icons/components/IconShare.js +12 -0
  608. package/dist/modules/icons/components/IconSmartphone.d.ts +7 -0
  609. package/dist/modules/icons/components/IconSmartphone.js +13 -0
  610. package/dist/modules/icons/components/IconSmiley.d.ts +7 -0
  611. package/dist/modules/icons/components/IconSmiley.js +13 -0
  612. package/dist/modules/icons/components/IconSortAscendingLetters.d.ts +7 -0
  613. package/dist/modules/icons/components/IconSortAscendingLetters.js +13 -0
  614. package/dist/modules/icons/components/IconSortDescending.d.ts +7 -0
  615. package/dist/modules/icons/components/IconSortDescending.js +13 -0
  616. package/dist/modules/icons/components/IconSortDescendingLetters.d.ts +7 -0
  617. package/dist/modules/icons/components/IconSortDescendingLetters.js +13 -0
  618. package/dist/modules/icons/components/IconSortTime.d.ts +7 -0
  619. package/dist/modules/icons/components/IconSortTime.js +14 -0
  620. package/dist/modules/icons/components/IconSpeechToText.d.ts +7 -0
  621. package/dist/modules/icons/components/IconSpeechToText.js +12 -0
  622. package/dist/modules/icons/components/IconSplitCells.d.ts +7 -0
  623. package/dist/modules/icons/components/IconSplitCells.js +13 -0
  624. package/dist/modules/icons/components/IconSquareRoot.d.ts +7 -0
  625. package/dist/modules/icons/components/IconSquareRoot.js +12 -0
  626. package/dist/modules/icons/components/IconSubscript.d.ts +7 -0
  627. package/dist/modules/icons/components/IconSubscript.js +12 -0
  628. package/dist/modules/icons/components/IconSuccessFill.d.ts +7 -0
  629. package/dist/modules/icons/components/IconSuccessFill.js +12 -0
  630. package/dist/modules/icons/components/IconSuccessOutline.d.ts +7 -0
  631. package/dist/modules/icons/components/IconSuccessOutline.js +13 -0
  632. package/dist/modules/icons/components/IconSuperscript.d.ts +7 -0
  633. package/dist/modules/icons/components/IconSuperscript.js +12 -0
  634. package/dist/modules/icons/components/IconTable.d.ts +7 -0
  635. package/dist/modules/icons/components/IconTable.js +12 -0
  636. package/dist/modules/icons/components/IconTextBold.d.ts +7 -0
  637. package/dist/modules/icons/components/IconTextBold.js +12 -0
  638. package/dist/modules/icons/components/IconTextColor.d.ts +7 -0
  639. package/dist/modules/icons/components/IconTextColor.js +16 -0
  640. package/dist/modules/icons/components/IconTextHighlight.d.ts +7 -0
  641. package/dist/modules/icons/components/IconTextHighlight.js +16 -0
  642. package/dist/modules/icons/components/IconTextItalic.d.ts +7 -0
  643. package/dist/modules/icons/components/IconTextItalic.js +12 -0
  644. package/dist/modules/icons/components/IconTextPage.d.ts +7 -0
  645. package/dist/modules/icons/components/IconTextPage.js +12 -0
  646. package/dist/modules/icons/components/IconTextSize.d.ts +7 -0
  647. package/dist/modules/icons/components/IconTextSize.js +12 -0
  648. package/dist/modules/icons/components/IconTextToSpeech.d.ts +7 -0
  649. package/dist/modules/icons/components/IconTextToSpeech.js +12 -0
  650. package/dist/modules/icons/components/IconTextTypo.d.ts +7 -0
  651. package/dist/modules/icons/components/IconTextTypo.js +12 -0
  652. package/dist/modules/icons/components/IconTextUnderline.d.ts +7 -0
  653. package/dist/modules/icons/components/IconTextUnderline.js +13 -0
  654. package/dist/modules/icons/components/IconTextVanilla.d.ts +7 -0
  655. package/dist/modules/icons/components/IconTextVanilla.js +13 -0
  656. package/dist/modules/icons/components/IconTool.d.ts +7 -0
  657. package/dist/modules/icons/components/IconTool.js +12 -0
  658. package/dist/modules/icons/components/IconTrendingUp.d.ts +7 -0
  659. package/dist/modules/icons/components/IconTrendingUp.js +16 -0
  660. package/dist/modules/icons/components/IconUndo.d.ts +7 -0
  661. package/dist/modules/icons/components/IconUndo.js +13 -0
  662. package/dist/modules/icons/components/IconUnlink.d.ts +7 -0
  663. package/dist/modules/icons/components/IconUnlink.js +13 -0
  664. package/dist/modules/icons/components/IconUnlock.d.ts +7 -0
  665. package/dist/modules/icons/components/IconUnlock.js +13 -0
  666. package/dist/modules/icons/components/IconUpload.d.ts +7 -0
  667. package/dist/modules/icons/components/IconUpload.js +18 -0
  668. package/dist/modules/icons/components/IconUser.d.ts +7 -0
  669. package/dist/modules/icons/components/IconUser.js +12 -0
  670. package/dist/modules/icons/components/IconUserSearch.d.ts +7 -0
  671. package/dist/modules/icons/components/IconUserSearch.js +13 -0
  672. package/dist/modules/icons/components/IconUsers.d.ts +7 -0
  673. package/dist/modules/icons/components/IconUsers.js +13 -0
  674. package/dist/modules/icons/components/IconVideo.d.ts +7 -0
  675. package/dist/modules/icons/components/IconVideo.js +12 -0
  676. package/dist/modules/icons/components/IconViewCalendar.d.ts +7 -0
  677. package/dist/modules/icons/components/IconViewCalendar.js +12 -0
  678. package/dist/modules/icons/components/IconViewList.d.ts +7 -0
  679. package/dist/modules/icons/components/IconViewList.js +15 -0
  680. package/dist/modules/icons/components/IconWand.d.ts +7 -0
  681. package/dist/modules/icons/components/IconWand.js +12 -0
  682. package/dist/modules/icons/components/IconWrite.d.ts +7 -0
  683. package/dist/modules/icons/components/IconWrite.js +12 -0
  684. package/dist/modules/icons/components/IconZoomIn.d.ts +7 -0
  685. package/dist/modules/icons/components/IconZoomIn.js +12 -0
  686. package/dist/modules/icons/components/IconZoomOut.d.ts +7 -0
  687. package/dist/modules/icons/components/IconZoomOut.js +12 -0
  688. package/dist/modules/icons/components/apps/IconAccount.d.ts +7 -0
  689. package/dist/modules/icons/components/apps/IconAccount.js +12 -0
  690. package/dist/modules/icons/components/apps/IconActualites.d.ts +7 -0
  691. package/dist/modules/icons/components/apps/IconActualites.js +12 -0
  692. package/dist/modules/icons/components/apps/IconAdmin.d.ts +7 -0
  693. package/dist/modules/icons/components/apps/IconAdmin.js +12 -0
  694. package/dist/modules/icons/components/apps/IconAdminPortal.d.ts +7 -0
  695. package/dist/modules/icons/components/apps/IconAdminPortal.js +12 -0
  696. package/dist/modules/icons/components/apps/IconAdmissionPostBac.d.ts +7 -0
  697. package/dist/modules/icons/components/apps/IconAdmissionPostBac.js +12 -0
  698. package/dist/modules/icons/components/apps/IconAgenda.d.ts +7 -0
  699. package/dist/modules/icons/components/apps/IconAgenda.js +12 -0
  700. package/dist/modules/icons/components/apps/IconArchive.d.ts +7 -0
  701. package/dist/modules/icons/components/apps/IconArchive.js +12 -0
  702. package/dist/modules/icons/components/apps/IconAssistance.d.ts +7 -0
  703. package/dist/modules/icons/components/apps/IconAssistance.js +12 -0
  704. package/dist/modules/icons/components/apps/IconAssr.d.ts +7 -0
  705. package/dist/modules/icons/components/apps/IconAssr.js +12 -0
  706. package/dist/modules/icons/components/apps/IconAward.d.ts +7 -0
  707. package/dist/modules/icons/components/apps/IconAward.js +12 -0
  708. package/dist/modules/icons/components/apps/IconBanquesavoir.d.ts +7 -0
  709. package/dist/modules/icons/components/apps/IconBanquesavoir.js +12 -0
  710. package/dist/modules/icons/components/apps/IconBcdi.d.ts +7 -0
  711. package/dist/modules/icons/components/apps/IconBcdi.js +12 -0
  712. package/dist/modules/icons/components/apps/IconBiblionisep.d.ts +7 -0
  713. package/dist/modules/icons/components/apps/IconBiblionisep.js +12 -0
  714. package/dist/modules/icons/components/apps/IconBlog.d.ts +7 -0
  715. package/dist/modules/icons/components/apps/IconBlog.js +12 -0
  716. package/dist/modules/icons/components/apps/IconBookmarkEmpty.d.ts +7 -0
  717. package/dist/modules/icons/components/apps/IconBookmarkEmpty.js +12 -0
  718. package/dist/modules/icons/components/apps/IconCahierDeTexte.d.ts +7 -0
  719. package/dist/modules/icons/components/apps/IconCahierDeTexte.js +12 -0
  720. package/dist/modules/icons/components/apps/IconCahierTextes.d.ts +7 -0
  721. package/dist/modules/icons/components/apps/IconCahierTextes.js +12 -0
  722. package/dist/modules/icons/components/apps/IconCalendar.d.ts +7 -0
  723. package/dist/modules/icons/components/apps/IconCalendar.js +12 -0
  724. package/dist/modules/icons/components/apps/IconCanalNumerique.d.ts +7 -0
  725. package/dist/modules/icons/components/apps/IconCanalNumerique.js +12 -0
  726. package/dist/modules/icons/components/apps/IconCcn.d.ts +7 -0
  727. package/dist/modules/icons/components/apps/IconCcn.js +12 -0
  728. package/dist/modules/icons/components/apps/IconCerise.d.ts +7 -0
  729. package/dist/modules/icons/components/apps/IconCerise.js +12 -0
  730. package/dist/modules/icons/components/apps/IconCervoprint.d.ts +7 -0
  731. package/dist/modules/icons/components/apps/IconCervoprint.js +12 -0
  732. package/dist/modules/icons/components/apps/IconCharlemagne.d.ts +7 -0
  733. package/dist/modules/icons/components/apps/IconCharlemagne.js +12 -0
  734. package/dist/modules/icons/components/apps/IconCharte.d.ts +7 -0
  735. package/dist/modules/icons/components/apps/IconCharte.js +12 -0
  736. package/dist/modules/icons/components/apps/IconChat.d.ts +7 -0
  737. package/dist/modules/icons/components/apps/IconChat.js +12 -0
  738. package/dist/modules/icons/components/apps/IconCidj.d.ts +7 -0
  739. package/dist/modules/icons/components/apps/IconCidj.js +12 -0
  740. package/dist/modules/icons/components/apps/IconCns.d.ts +7 -0
  741. package/dist/modules/icons/components/apps/IconCns.js +12 -0
  742. package/dist/modules/icons/components/apps/IconCollaborativeWall.d.ts +7 -0
  743. package/dist/modules/icons/components/apps/IconCollaborativeWall.js +12 -0
  744. package/dist/modules/icons/components/apps/IconCommunity.d.ts +7 -0
  745. package/dist/modules/icons/components/apps/IconCommunity.js +12 -0
  746. package/dist/modules/icons/components/apps/IconCompetences.d.ts +7 -0
  747. package/dist/modules/icons/components/apps/IconCompetences.js +12 -0
  748. package/dist/modules/icons/components/apps/IconConnecteurGenerique1.d.ts +7 -0
  749. package/dist/modules/icons/components/apps/IconConnecteurGenerique1.js +12 -0
  750. package/dist/modules/icons/components/apps/IconConnecteurGenerique2.d.ts +7 -0
  751. package/dist/modules/icons/components/apps/IconConnecteurGenerique2.js +12 -0
  752. package/dist/modules/icons/components/apps/IconConversation.d.ts +7 -0
  753. package/dist/modules/icons/components/apps/IconConversation.js +12 -0
  754. package/dist/modules/icons/components/apps/IconDirectory.d.ts +7 -0
  755. package/dist/modules/icons/components/apps/IconDirectory.js +12 -0
  756. package/dist/modules/icons/components/apps/IconEducagri.d.ts +7 -0
  757. package/dist/modules/icons/components/apps/IconEducagri.js +12 -0
  758. package/dist/modules/icons/components/apps/IconEdumedia.d.ts +7 -0
  759. package/dist/modules/icons/components/apps/IconEdumedia.js +12 -0
  760. package/dist/modules/icons/components/apps/IconEdumoov.d.ts +7 -0
  761. package/dist/modules/icons/components/apps/IconEdumoov.js +12 -0
  762. package/dist/modules/icons/components/apps/IconEdutheque.d.ts +7 -0
  763. package/dist/modules/icons/components/apps/IconEdutheque.js +12 -0
  764. package/dist/modules/icons/components/apps/IconElectron.d.ts +7 -0
  765. package/dist/modules/icons/components/apps/IconElectron.js +12 -0
  766. package/dist/modules/icons/components/apps/IconElyceepicardie.d.ts +7 -0
  767. package/dist/modules/icons/components/apps/IconElyceepicardie.js +12 -0
  768. package/dist/modules/icons/components/apps/IconEsidoc.d.ts +7 -0
  769. package/dist/modules/icons/components/apps/IconEsidoc.js +12 -0
  770. package/dist/modules/icons/components/apps/IconEuropress.d.ts +7 -0
  771. package/dist/modules/icons/components/apps/IconEuropress.js +12 -0
  772. package/dist/modules/icons/components/apps/IconExercizer.d.ts +7 -0
  773. package/dist/modules/icons/components/apps/IconExercizer.js +12 -0
  774. package/dist/modules/icons/components/apps/IconForms.d.ts +7 -0
  775. package/dist/modules/icons/components/apps/IconForms.js +16 -0
  776. package/dist/modules/icons/components/apps/IconForum.d.ts +7 -0
  777. package/dist/modules/icons/components/apps/IconForum.js +12 -0
  778. package/dist/modules/icons/components/apps/IconGepi.d.ts +7 -0
  779. package/dist/modules/icons/components/apps/IconGepi.js +12 -0
  780. package/dist/modules/icons/components/apps/IconGlpi.d.ts +7 -0
  781. package/dist/modules/icons/components/apps/IconGlpi.js +12 -0
  782. package/dist/modules/icons/components/apps/IconHiboutheque.d.ts +7 -0
  783. package/dist/modules/icons/components/apps/IconHiboutheque.js +12 -0
  784. package/dist/modules/icons/components/apps/IconItopstore.d.ts +7 -0
  785. package/dist/modules/icons/components/apps/IconItopstore.js +12 -0
  786. package/dist/modules/icons/components/apps/IconKne.d.ts +7 -0
  787. package/dist/modules/icons/components/apps/IconKne.js +12 -0
  788. package/dist/modules/icons/components/apps/IconLeSiteTv.d.ts +7 -0
  789. package/dist/modules/icons/components/apps/IconLeSiteTv.js +12 -0
  790. package/dist/modules/icons/components/apps/IconLemonde.d.ts +7 -0
  791. package/dist/modules/icons/components/apps/IconLemonde.js +12 -0
  792. package/dist/modules/icons/components/apps/IconLesechos.d.ts +7 -0
  793. package/dist/modules/icons/components/apps/IconLesechos.js +12 -0
  794. package/dist/modules/icons/components/apps/IconLibrary.d.ts +7 -0
  795. package/dist/modules/icons/components/apps/IconLibrary.js +12 -0
  796. package/dist/modules/icons/components/apps/IconLsu.d.ts +7 -0
  797. package/dist/modules/icons/components/apps/IconLsu.js +12 -0
  798. package/dist/modules/icons/components/apps/IconMadmagz.d.ts +7 -0
  799. package/dist/modules/icons/components/apps/IconMadmagz.js +12 -0
  800. package/dist/modules/icons/components/apps/IconMatholycee.d.ts +7 -0
  801. package/dist/modules/icons/components/apps/IconMatholycee.js +12 -0
  802. package/dist/modules/icons/components/apps/IconMaxicours.d.ts +7 -0
  803. package/dist/modules/icons/components/apps/IconMaxicours.js +12 -0
  804. package/dist/modules/icons/components/apps/IconMediacentre.d.ts +7 -0
  805. package/dist/modules/icons/components/apps/IconMediacentre.js +12 -0
  806. package/dist/modules/icons/components/apps/IconMindmap.d.ts +7 -0
  807. package/dist/modules/icons/components/apps/IconMindmap.js +12 -0
  808. package/dist/modules/icons/components/apps/IconMonorientationenligne.d.ts +7 -0
  809. package/dist/modules/icons/components/apps/IconMonorientationenligne.js +12 -0
  810. package/dist/modules/icons/components/apps/IconMonstageenligne.d.ts +7 -0
  811. package/dist/modules/icons/components/apps/IconMonstageenligne.js +12 -0
  812. package/dist/modules/icons/components/apps/IconMoodle.d.ts +7 -0
  813. package/dist/modules/icons/components/apps/IconMoodle.js +12 -0
  814. package/dist/modules/icons/components/apps/IconMuseefrancaisphoto.d.ts +7 -0
  815. package/dist/modules/icons/components/apps/IconMuseefrancaisphoto.js +12 -0
  816. package/dist/modules/icons/components/apps/IconMyNetwork.d.ts +7 -0
  817. package/dist/modules/icons/components/apps/IconMyNetwork.js +12 -0
  818. package/dist/modules/icons/components/apps/IconNetvibes.d.ts +7 -0
  819. package/dist/modules/icons/components/apps/IconNetvibes.js +12 -0
  820. package/dist/modules/icons/components/apps/IconNote.d.ts +7 -0
  821. package/dist/modules/icons/components/apps/IconNote.js +12 -0
  822. package/dist/modules/icons/components/apps/IconNotebook.d.ts +7 -0
  823. package/dist/modules/icons/components/apps/IconNotebook.js +12 -0
  824. package/dist/modules/icons/components/apps/IconNotes.d.ts +7 -0
  825. package/dist/modules/icons/components/apps/IconNotes.js +12 -0
  826. package/dist/modules/icons/components/apps/IconOnisep.d.ts +7 -0
  827. package/dist/modules/icons/components/apps/IconOnisep.js +12 -0
  828. package/dist/modules/icons/components/apps/IconOnisep2.d.ts +7 -0
  829. package/dist/modules/icons/components/apps/IconOnisep2.js +12 -0
  830. package/dist/modules/icons/components/apps/IconPad.d.ts +7 -0
  831. package/dist/modules/icons/components/apps/IconPad.js +12 -0
  832. package/dist/modules/icons/components/apps/IconPages.d.ts +7 -0
  833. package/dist/modules/icons/components/apps/IconPages.js +12 -0
  834. package/dist/modules/icons/components/apps/IconParametrage.d.ts +7 -0
  835. package/dist/modules/icons/components/apps/IconParametrage.js +12 -0
  836. package/dist/modules/icons/components/apps/IconParametrages.d.ts +7 -0
  837. package/dist/modules/icons/components/apps/IconParametrages.js +12 -0
  838. package/dist/modules/icons/components/apps/IconParaschool.d.ts +7 -0
  839. package/dist/modules/icons/components/apps/IconParaschool.js +12 -0
  840. package/dist/modules/icons/components/apps/IconParcours.d.ts +7 -0
  841. package/dist/modules/icons/components/apps/IconParcours.js +12 -0
  842. package/dist/modules/icons/components/apps/IconPearltrees.d.ts +7 -0
  843. package/dist/modules/icons/components/apps/IconPearltrees.js +12 -0
  844. package/dist/modules/icons/components/apps/IconPicardieCursus.d.ts +7 -0
  845. package/dist/modules/icons/components/apps/IconPicardieCursus.js +12 -0
  846. package/dist/modules/icons/components/apps/IconPlaceholder.d.ts +7 -0
  847. package/dist/modules/icons/components/apps/IconPlaceholder.js +16 -0
  848. package/dist/modules/icons/components/apps/IconPoll.d.ts +7 -0
  849. package/dist/modules/icons/components/apps/IconPoll.js +12 -0
  850. package/dist/modules/icons/components/apps/IconPresences.d.ts +7 -0
  851. package/dist/modules/icons/components/apps/IconPresences.js +16 -0
  852. package/dist/modules/icons/components/apps/IconProeps.d.ts +7 -0
  853. package/dist/modules/icons/components/apps/IconProeps.js +12 -0
  854. package/dist/modules/icons/components/apps/IconPronote.d.ts +7 -0
  855. package/dist/modules/icons/components/apps/IconPronote.js +12 -0
  856. package/dist/modules/icons/components/apps/IconPublic.d.ts +7 -0
  857. package/dist/modules/icons/components/apps/IconPublic.js +12 -0
  858. package/dist/modules/icons/components/apps/IconQwant.d.ts +7 -0
  859. package/dist/modules/icons/components/apps/IconQwant.js +12 -0
  860. package/dist/modules/icons/components/apps/IconQwantJunior.d.ts +7 -0
  861. package/dist/modules/icons/components/apps/IconQwantJunior.js +12 -0
  862. package/dist/modules/icons/components/apps/IconRack.d.ts +7 -0
  863. package/dist/modules/icons/components/apps/IconRack.js +12 -0
  864. package/dist/modules/icons/components/apps/IconRbs.d.ts +7 -0
  865. package/dist/modules/icons/components/apps/IconRbs.js +12 -0
  866. package/dist/modules/icons/components/apps/IconResidenceArtiste.d.ts +7 -0
  867. package/dist/modules/icons/components/apps/IconResidenceArtiste.js +12 -0
  868. package/dist/modules/icons/components/apps/IconRessourcesdepartementale91.d.ts +7 -0
  869. package/dist/modules/icons/components/apps/IconRessourcesdepartementale91.js +12 -0
  870. package/dist/modules/icons/components/apps/IconSacoche.d.ts +7 -0
  871. package/dist/modules/icons/components/apps/IconSacoche.js +12 -0
  872. package/dist/modules/icons/components/apps/IconSchoolbook.d.ts +7 -0
  873. package/dist/modules/icons/components/apps/IconSchoolbook.js +12 -0
  874. package/dist/modules/icons/components/apps/IconScolinfo.d.ts +7 -0
  875. package/dist/modules/icons/components/apps/IconScolinfo.js +12 -0
  876. package/dist/modules/icons/components/apps/IconScrapbook.d.ts +7 -0
  877. package/dist/modules/icons/components/apps/IconScrapbook.js +12 -0
  878. package/dist/modules/icons/components/apps/IconSearchengine.d.ts +7 -0
  879. package/dist/modules/icons/components/apps/IconSearchengine.js +12 -0
  880. package/dist/modules/icons/components/apps/IconSettingsClass.d.ts +7 -0
  881. package/dist/modules/icons/components/apps/IconSettingsClass.js +12 -0
  882. package/dist/modules/icons/components/apps/IconSharebigfiles.d.ts +7 -0
  883. package/dist/modules/icons/components/apps/IconSharebigfiles.js +12 -0
  884. package/dist/modules/icons/components/apps/IconStatistics.d.ts +7 -0
  885. package/dist/modules/icons/components/apps/IconStatistics.js +12 -0
  886. package/dist/modules/icons/components/apps/IconStats.d.ts +7 -0
  887. package/dist/modules/icons/components/apps/IconStats.js +12 -0
  888. package/dist/modules/icons/components/apps/IconSuitcase.d.ts +7 -0
  889. package/dist/modules/icons/components/apps/IconSuitcase.js +12 -0
  890. package/dist/modules/icons/components/apps/IconSupport.d.ts +7 -0
  891. package/dist/modules/icons/components/apps/IconSupport.js +12 -0
  892. package/dist/modules/icons/components/apps/IconTimeline.d.ts +7 -0
  893. package/dist/modules/icons/components/apps/IconTimeline.js +12 -0
  894. package/dist/modules/icons/components/apps/IconTimelinegenerator.d.ts +7 -0
  895. package/dist/modules/icons/components/apps/IconTimelinegenerator.js +12 -0
  896. package/dist/modules/icons/components/apps/IconTurboself.d.ts +7 -0
  897. package/dist/modules/icons/components/apps/IconTurboself.js +12 -0
  898. package/dist/modules/icons/components/apps/IconUniversalis.d.ts +7 -0
  899. package/dist/modules/icons/components/apps/IconUniversalis.js +12 -0
  900. package/dist/modules/icons/components/apps/IconUnstagepourtous.d.ts +7 -0
  901. package/dist/modules/icons/components/apps/IconUnstagepourtous.js +12 -0
  902. package/dist/modules/icons/components/apps/IconUserbook.d.ts +7 -0
  903. package/dist/modules/icons/components/apps/IconUserbook.js +12 -0
  904. package/dist/modules/icons/components/apps/IconVideo.d.ts +7 -0
  905. package/dist/modules/icons/components/apps/IconVideo.js +12 -0
  906. package/dist/modules/icons/components/apps/IconVieScolaire.d.ts +7 -0
  907. package/dist/modules/icons/components/apps/IconVieScolaire.js +12 -0
  908. package/dist/modules/icons/components/apps/IconVisioconf.d.ts +7 -0
  909. package/dist/modules/icons/components/apps/IconVisioconf.js +12 -0
  910. package/dist/modules/icons/components/apps/IconWebclasseur.d.ts +7 -0
  911. package/dist/modules/icons/components/apps/IconWebclasseur.js +12 -0
  912. package/dist/modules/icons/components/apps/IconWebsite.d.ts +7 -0
  913. package/dist/modules/icons/components/apps/IconWebsite.js +12 -0
  914. package/dist/modules/icons/components/apps/IconWiki.d.ts +7 -0
  915. package/dist/modules/icons/components/apps/IconWiki.js +13 -0
  916. package/dist/modules/icons/components/apps/IconWorkspace.d.ts +7 -0
  917. package/dist/modules/icons/components/apps/IconWorkspace.js +12 -0
  918. package/dist/modules/icons/components/apps/index.d.ts +115 -0
  919. package/dist/modules/icons/components/audience/IconCongrats.d.ts +7 -0
  920. package/dist/modules/icons/components/audience/IconCongrats.js +22 -0
  921. package/dist/modules/icons/components/audience/IconCongratsCounter.d.ts +7 -0
  922. package/dist/modules/icons/components/audience/IconCongratsCounter.js +21 -0
  923. package/dist/modules/icons/components/audience/IconGreat.d.ts +7 -0
  924. package/dist/modules/icons/components/audience/IconGreat.js +16 -0
  925. package/dist/modules/icons/components/audience/IconGreatCounter.d.ts +7 -0
  926. package/dist/modules/icons/components/audience/IconGreatCounter.js +14 -0
  927. package/dist/modules/icons/components/audience/IconGuest.d.ts +7 -0
  928. package/dist/modules/icons/components/audience/IconGuest.js +12 -0
  929. package/dist/modules/icons/components/audience/IconInteresting.d.ts +7 -0
  930. package/dist/modules/icons/components/audience/IconInteresting.js +15 -0
  931. package/dist/modules/icons/components/audience/IconInterestingCounter.d.ts +7 -0
  932. package/dist/modules/icons/components/audience/IconInterestingCounter.js +17 -0
  933. package/dist/modules/icons/components/audience/IconParent.d.ts +7 -0
  934. package/dist/modules/icons/components/audience/IconParent.js +12 -0
  935. package/dist/modules/icons/components/audience/IconPersonnel.d.ts +7 -0
  936. package/dist/modules/icons/components/audience/IconPersonnel.js +12 -0
  937. package/dist/modules/icons/components/audience/IconStudent.d.ts +7 -0
  938. package/dist/modules/icons/components/audience/IconStudent.js +20 -0
  939. package/dist/modules/icons/components/audience/IconTeacher.d.ts +7 -0
  940. package/dist/modules/icons/components/audience/IconTeacher.js +12 -0
  941. package/dist/modules/icons/components/audience/IconThanks.d.ts +7 -0
  942. package/dist/modules/icons/components/audience/IconThanks.js +18 -0
  943. package/dist/modules/icons/components/audience/IconThanksCounter.d.ts +7 -0
  944. package/dist/modules/icons/components/audience/IconThanksCounter.js +16 -0
  945. package/dist/modules/icons/components/audience/index.d.ts +13 -0
  946. package/dist/modules/icons/components/index.d.ts +149 -0
  947. package/dist/modules/icons/components/nav/IconCommunity.d.ts +7 -0
  948. package/dist/modules/icons/components/nav/IconCommunity.js +12 -0
  949. package/dist/modules/icons/components/nav/IconDisconnect.d.ts +7 -0
  950. package/dist/modules/icons/components/nav/IconDisconnect.js +12 -0
  951. package/dist/modules/icons/components/nav/IconHome.d.ts +7 -0
  952. package/dist/modules/icons/components/nav/IconHome.js +12 -0
  953. package/dist/modules/icons/components/nav/IconMyApps.d.ts +7 -0
  954. package/dist/modules/icons/components/nav/IconMyApps.js +12 -0
  955. package/dist/modules/icons/components/nav/IconNeoAssistance.d.ts +7 -0
  956. package/dist/modules/icons/components/nav/IconNeoAssistance.js +12 -0
  957. package/dist/modules/icons/components/nav/IconNeoMessaging.d.ts +7 -0
  958. package/dist/modules/icons/components/nav/IconNeoMessaging.js +12 -0
  959. package/dist/modules/icons/components/nav/IconNewRelease.d.ts +7 -0
  960. package/dist/modules/icons/components/nav/IconNewRelease.js +12 -0
  961. package/dist/modules/icons/components/nav/IconOneAssistance.d.ts +7 -0
  962. package/dist/modules/icons/components/nav/IconOneAssistance.js +12 -0
  963. package/dist/modules/icons/components/nav/IconOneMessaging.d.ts +7 -0
  964. package/dist/modules/icons/components/nav/IconOneMessaging.js +12 -0
  965. package/dist/modules/icons/components/nav/IconOneProfile.d.ts +7 -0
  966. package/dist/modules/icons/components/nav/IconOneProfile.js +13 -0
  967. package/dist/modules/icons/components/nav/IconProfile.d.ts +7 -0
  968. package/dist/modules/icons/components/nav/IconProfile.js +12 -0
  969. package/dist/modules/icons/components/nav/IconSearch.d.ts +7 -0
  970. package/dist/modules/icons/components/nav/IconSearch.js +12 -0
  971. package/dist/modules/icons/components/nav/IconUserbook.d.ts +7 -0
  972. package/dist/modules/icons/components/nav/IconUserbook.js +12 -0
  973. package/dist/modules/icons/components/nav/index.d.ts +13 -0
  974. package/dist/modules/modals/OnboardingModal/OnboardingModal.js +59 -0
  975. package/dist/modules/modals/OnboardingModal/useOnboardingModal.d.ts +6 -0
  976. package/dist/modules/modals/OnboardingModal/useOnboardingModal.js +30 -0
  977. package/dist/modules/modals/PublishModal/PublishModal.d.ts +9 -0
  978. package/dist/modules/modals/PublishModal/PublishModal.js +120 -0
  979. package/dist/modules/modals/PublishModal/components/ActivitiesDropdown.js +29 -0
  980. package/dist/modules/modals/PublishModal/components/AgeSelect.d.ts +8 -0
  981. package/dist/modules/modals/PublishModal/components/AgeSelect.js +20 -0
  982. package/dist/modules/modals/PublishModal/components/LangSelect.js +19 -0
  983. package/dist/modules/modals/PublishModal/components/PublishModalFooter.js +23 -0
  984. package/dist/modules/modals/PublishModal/components/SubjectsDropdown.js +29 -0
  985. package/dist/modules/modals/PublishModal/components/ToastSuccess.d.ts +4 -0
  986. package/dist/modules/modals/PublishModal/hooks/usePublishModal.d.ts +38 -0
  987. package/dist/modules/modals/PublishModal/hooks/usePublishModal.js +106 -0
  988. package/dist/modules/modals/ResourceModal/ResourceModal.d.ts +30 -0
  989. package/dist/modules/modals/ResourceModal/ResourceModal.js +155 -0
  990. package/dist/modules/modals/ResourceModal/apps/BlogPublic.d.ts +13 -0
  991. package/dist/modules/modals/ResourceModal/apps/BlogPublic.js +62 -0
  992. package/dist/modules/modals/ResourceModal/hooks/useSlug.d.ts +17 -0
  993. package/dist/modules/modals/ResourceModal/hooks/useSlug.js +41 -0
  994. package/dist/modules/modals/ResourceModal/hooks/useThumb.d.ts +11 -0
  995. package/dist/modules/modals/ResourceModal/hooks/useUpdateMutation.d.ts +7 -0
  996. package/dist/modules/modals/ResourceModal/hooks/useUpdateMutation.js +12 -0
  997. package/dist/modules/modals/ShareModal/ShareBookmark.js +22 -0
  998. package/dist/modules/modals/ShareModal/ShareBookmarkLine.d.ts +9 -0
  999. package/dist/modules/modals/ShareModal/ShareBookmarkLine.js +49 -0
  1000. package/dist/modules/modals/ShareModal/ShareModal.d.ts +41 -0
  1001. package/dist/modules/modals/ShareModal/ShareModal.js +130 -0
  1002. package/dist/modules/modals/ShareModal/apps/ShareBlog.d.ts +8 -0
  1003. package/dist/modules/modals/ShareModal/apps/ShareBlog.js +43 -0
  1004. package/dist/modules/modals/ShareModal/hooks/useSearch.d.ts +24 -0
  1005. package/dist/modules/modals/ShareModal/hooks/useSearch.js +178 -0
  1006. package/dist/modules/modals/ShareModal/hooks/useShare.d.ts +54 -0
  1007. package/dist/modules/modals/ShareModal/hooks/useShare.js +192 -0
  1008. package/dist/modules/modals/ShareModal/hooks/useShareBookmark.d.ts +23 -0
  1009. package/dist/modules/modals/ShareModal/hooks/useShareBookmark.js +67 -0
  1010. package/dist/modules/modals/ShareModal/hooks/useShareMutation.d.ts +13 -0
  1011. package/dist/modules/modals/ShareModal/hooks/useShareMutation.js +15 -0
  1012. package/dist/modules/modals/ShareModal/utils/hasRight.d.ts +2 -0
  1013. package/dist/modules/modals/ShareModal/utils/showShareRightLine.d.ts +2 -0
  1014. package/dist/modules/multimedia/AudioRecorder/AudioRecorder.d.ts +12 -0
  1015. package/dist/modules/multimedia/AudioRecorder/AudioRecorder.js +49 -0
  1016. package/dist/modules/multimedia/AudioRecorder/AudioRecorderTimer.js +26 -0
  1017. package/dist/modules/multimedia/AudioRecorder/useAudioRecorder.d.ts +16 -0
  1018. package/dist/modules/multimedia/AudioRecorder/useAudioRecorder.js +314 -0
  1019. package/dist/modules/multimedia/Embed/Embed.js +32 -0
  1020. package/dist/modules/multimedia/FileCard/FileCard._.d.ts +17 -0
  1021. package/dist/modules/multimedia/FileCard/FileCard.d.ts +13 -0
  1022. package/dist/modules/multimedia/FileCard/FileCard.js +94 -0
  1023. package/dist/modules/multimedia/FileCard/FileIcon.d.ts +6 -0
  1024. package/dist/modules/multimedia/FileCard/FileIcon.js +15 -0
  1025. package/dist/modules/multimedia/ImageEditor/components/ImageEditor.js +116 -0
  1026. package/dist/modules/multimedia/ImageEditor/components/ImageEditorToolbar.d.ts +7 -0
  1027. package/dist/modules/multimedia/ImageEditor/components/ImageEditorToolbar.js +72 -0
  1028. package/dist/modules/multimedia/ImageEditor/effects/blur.d.ts +19 -0
  1029. package/dist/modules/multimedia/ImageEditor/effects/blur.js +72 -0
  1030. package/dist/modules/multimedia/ImageEditor/effects/crop.d.ts +28 -0
  1031. package/dist/modules/multimedia/ImageEditor/effects/misc.d.ts +154 -0
  1032. package/dist/modules/multimedia/ImageEditor/effects/resize.d.ts +25 -0
  1033. package/dist/modules/multimedia/ImageEditor/effects/rotate.d.ts +8 -0
  1034. package/dist/modules/multimedia/ImageEditor/hooks/useHistoryTool.d.ts +32 -0
  1035. package/dist/modules/multimedia/ImageEditor/hooks/useImageEditor.d.ts +29 -0
  1036. package/dist/modules/multimedia/ImageEditor/hooks/useImageEffects.d.ts +23 -0
  1037. package/dist/modules/multimedia/ImagePicker/ImagePicker.d.ts +46 -0
  1038. package/dist/modules/multimedia/ImagePicker/ImagePicker.js +40 -0
  1039. package/dist/modules/multimedia/ImagePicker/index.d.ts +2 -0
  1040. package/dist/modules/multimedia/Linker/ExternalLinker/ExternalLinker.d.ts +28 -0
  1041. package/dist/modules/multimedia/Linker/ExternalLinker/ExternalLinker.js +45 -0
  1042. package/dist/modules/multimedia/Linker/InternalLinker/InternalLinker.d.ts +37 -0
  1043. package/dist/modules/multimedia/Linker/InternalLinker/InternalLinker.js +129 -0
  1044. package/dist/modules/multimedia/Linker/index.d.ts +4 -0
  1045. package/dist/modules/multimedia/LinkerCard/LinkerCard._.d.ts +8 -0
  1046. package/dist/modules/multimedia/LinkerCard/LinkerCard.d.ts +13 -0
  1047. package/dist/modules/multimedia/LinkerCard/LinkerCard.js +38 -0
  1048. package/dist/modules/multimedia/MediaLibrary/MediaLibrary.d.ts +84 -0
  1049. package/dist/modules/multimedia/MediaLibrary/MediaLibrary.js +217 -0
  1050. package/dist/modules/multimedia/MediaLibrary/MediaLibraryContext.d.ts +60 -0
  1051. package/dist/modules/multimedia/MediaLibrary/innertabs/ExternalLink.d.ts +6 -0
  1052. package/dist/modules/multimedia/MediaLibrary/innertabs/ExternalLink.js +17 -0
  1053. package/dist/modules/multimedia/MediaLibrary/innertabs/InternalLink.d.ts +11 -0
  1054. package/dist/modules/multimedia/MediaLibrary/innertabs/InternalLink.js +35 -0
  1055. package/dist/modules/multimedia/MediaLibrary/innertabs/Upload.js +34 -0
  1056. package/dist/modules/multimedia/MediaLibrary/innertabs/VideoEmbedder.js +15 -0
  1057. package/dist/modules/multimedia/MediaLibrary/innertabs/Workspace.js +31 -0
  1058. package/dist/modules/multimedia/UploadCard/UploadCard._.d.ts +9 -0
  1059. package/dist/modules/multimedia/UploadCard/UploadCard.d.ts +43 -0
  1060. package/dist/modules/multimedia/UploadCard/UploadCard.js +75 -0
  1061. package/dist/modules/multimedia/UploadCard/index.d.ts +2 -0
  1062. package/dist/modules/multimedia/UploadFiles/UploadFiles.d.ts +9 -0
  1063. package/dist/modules/multimedia/UploadFiles/UploadFiles.js +56 -0
  1064. package/dist/modules/multimedia/VideoEmbed/VideoEmbed.d.ts +6 -0
  1065. package/dist/modules/multimedia/VideoEmbed/VideoEmbed.js +76 -0
  1066. package/dist/modules/multimedia/VideoRecorder/VideoRecorder.d.ts +14 -0
  1067. package/dist/modules/multimedia/VideoRecorder/VideoRecorder.js +265 -0
  1068. package/dist/modules/multimedia/Workspace/Workspace.d.ts +33 -0
  1069. package/dist/modules/multimedia/Workspace/Workspace.js +172 -0
  1070. package/dist/modules/multimedia/index.d.ts +7 -0
  1071. package/dist/modules/widgets/BookmarkedApps/BookmarkedApps.d.ts +8 -0
  1072. package/dist/multimedia.js +18 -0
  1073. package/dist/providers/EdificeClientProvider/EdificeClientProvider.context.d.ts +26 -0
  1074. package/dist/providers/EdificeClientProvider/EdificeClientProvider.context.js +5 -0
  1075. package/dist/providers/EdificeClientProvider/EdificeClientProvider.d.ts +26 -0
  1076. package/dist/providers/EdificeClientProvider/EdificeClientProvider.hook.d.ts +1 -0
  1077. package/dist/providers/EdificeClientProvider/EdificeClientProvider.hook.js +11 -0
  1078. package/dist/providers/EdificeClientProvider/EdificeClientProvider.js +54 -0
  1079. package/dist/providers/EdificeThemeProvider/EdificeThemeProvider.context.d.ts +10 -0
  1080. package/dist/providers/EdificeThemeProvider/EdificeThemeProvider.context.js +5 -0
  1081. package/dist/providers/EdificeThemeProvider/EdificeThemeProvider.d.ts +10 -0
  1082. package/dist/providers/EdificeThemeProvider/EdificeThemeProvider.hook.d.ts +1 -0
  1083. package/dist/providers/EdificeThemeProvider/EdificeThemeProvider.hook.js +11 -0
  1084. package/dist/providers/EdificeThemeProvider/EdificeThemeProvider.js +46 -0
  1085. package/dist/providers/MockedDataProvider/MockedDataProvider.d.ts +28 -0
  1086. package/dist/providers/MockedDataProvider/MockedDataProvider.js +9 -0
  1087. package/dist/providers/index.d.ts +4 -0
  1088. package/dist/types/index.d.ts +1 -0
  1089. package/dist/types/size.d.ts +1 -1
  1090. package/dist/types/status.d.ts +1 -1
  1091. package/dist/types/treedata.d.ts +30 -0
  1092. package/dist/utilities/check-user-rights/check-user-rights.d.ts +11 -0
  1093. package/dist/utilities/check-user-rights/check-user-rights.js +46 -0
  1094. package/dist/utilities/check-user-rights/index.d.ts +1 -0
  1095. package/dist/utilities/index.d.ts +2 -0
  1096. package/dist/utilities/refs/index.d.ts +1 -0
  1097. package/package.json +116 -41
  1098. package/dist/common/OnboardingModal/OnboardingModal.js +0 -59
  1099. package/dist/common/OnboardingModal/useOnboardingModal.d.ts +0 -7
  1100. package/dist/common/OnboardingModal/useOnboardingModal.js +0 -30
  1101. package/dist/common/PublishModal/PublishModal.d.ts +0 -9
  1102. package/dist/common/PublishModal/PublishModal.js +0 -120
  1103. package/dist/common/PublishModal/components/ActivitiesDropdown.js +0 -29
  1104. package/dist/common/PublishModal/components/AgeSelect.d.ts +0 -8
  1105. package/dist/common/PublishModal/components/AgeSelect.js +0 -20
  1106. package/dist/common/PublishModal/components/LangSelect.js +0 -19
  1107. package/dist/common/PublishModal/components/PublishModalFooter.js +0 -23
  1108. package/dist/common/PublishModal/components/SubjectsDropdown.js +0 -29
  1109. package/dist/common/PublishModal/components/ToastSuccess.d.ts +0 -4
  1110. package/dist/common/PublishModal/hooks/usePublishModal.d.ts +0 -38
  1111. package/dist/common/PublishModal/hooks/usePublishModal.js +0 -106
  1112. package/dist/common/ResourceModal/ResourceModal.d.ts +0 -30
  1113. package/dist/common/ResourceModal/ResourceModal.js +0 -156
  1114. package/dist/common/ResourceModal/apps/BlogPublic.d.ts +0 -13
  1115. package/dist/common/ResourceModal/apps/BlogPublic.js +0 -62
  1116. package/dist/common/ResourceModal/hooks/useSlug.d.ts +0 -17
  1117. package/dist/common/ResourceModal/hooks/useSlug.js +0 -41
  1118. package/dist/common/ResourceModal/hooks/useThumb.d.ts +0 -11
  1119. package/dist/common/ResourceModal/hooks/useUpdateMutation.d.ts +0 -7
  1120. package/dist/common/ResourceModal/hooks/useUpdateMutation.js +0 -12
  1121. package/dist/common/ShareModal/ShareBookmark.js +0 -22
  1122. package/dist/common/ShareModal/ShareBookmarkLine.d.ts +0 -9
  1123. package/dist/common/ShareModal/ShareBookmarkLine.js +0 -42
  1124. package/dist/common/ShareModal/ShareModal.d.ts +0 -41
  1125. package/dist/common/ShareModal/ShareModal.js +0 -128
  1126. package/dist/common/ShareModal/apps/ShareBlog.d.ts +0 -8
  1127. package/dist/common/ShareModal/apps/ShareBlog.js +0 -43
  1128. package/dist/common/ShareModal/hooks/useSearch.d.ts +0 -24
  1129. package/dist/common/ShareModal/hooks/useSearch.js +0 -178
  1130. package/dist/common/ShareModal/hooks/useShare.d.ts +0 -54
  1131. package/dist/common/ShareModal/hooks/useShare.js +0 -192
  1132. package/dist/common/ShareModal/hooks/useShareBookmark.d.ts +0 -23
  1133. package/dist/common/ShareModal/hooks/useShareBookmark.js +0 -67
  1134. package/dist/common/ShareModal/hooks/useShareMutation.d.ts +0 -13
  1135. package/dist/common/ShareModal/hooks/useShareMutation.js +0 -15
  1136. package/dist/common/ShareModal/utils/hasRight.d.ts +0 -2
  1137. package/dist/common/ShareModal/utils/showShareRightLine.d.ts +0 -2
  1138. package/dist/components/Audience/ReactionChoice.d.ts +0 -11
  1139. package/dist/components/Audience/ReactionChoice.js +0 -33
  1140. package/dist/components/Audience/ReactionModal.Card.d.ts +0 -4
  1141. package/dist/components/Audience/ReactionModal.Card.js +0 -33
  1142. package/dist/components/Audience/ReactionModal.d.ts +0 -20
  1143. package/dist/components/Audience/ReactionModal.js +0 -73
  1144. package/dist/components/Audience/ReactionSummary.d.ts +0 -10
  1145. package/dist/components/Audience/ReactionSummary.js +0 -27
  1146. package/dist/components/Audience/ViewsByProfileCard.d.ts +0 -9
  1147. package/dist/components/Audience/ViewsByProfileCard.js +0 -36
  1148. package/dist/components/Audience/ViewsCounter.d.ts +0 -11
  1149. package/dist/components/Audience/ViewsCounter.js +0 -18
  1150. package/dist/components/Audience/ViewsModal.d.ts +0 -11
  1151. package/dist/components/Audience/ViewsModal.js +0 -40
  1152. package/dist/components/Audience/hooks/useReactionIcons.d.ts +0 -5
  1153. package/dist/components/Audience/hooks/useReactionIcons.js +0 -38
  1154. package/dist/components/Audience/hooks/useReactions.d.ts +0 -15
  1155. package/dist/components/Audience/hooks/useReactions.js +0 -35
  1156. package/dist/components/Audience/hooks/useViews.d.ts +0 -11
  1157. package/dist/components/FileCard/FileCard.d.ts +0 -13
  1158. package/dist/components/FileCard/FileCard.js +0 -91
  1159. package/dist/components/FileCard/FileIcon.d.ts +0 -6
  1160. package/dist/components/FileCard/FileIcon.js +0 -15
  1161. package/dist/components/ImagePicker/ImagePicker.d.ts +0 -38
  1162. package/dist/components/ImagePicker/ImagePicker.js +0 -58
  1163. package/dist/components/ImagePicker/index.d.ts +0 -1
  1164. package/dist/components/Menu/Menu.js +0 -58
  1165. package/dist/components/Menu/MenuButton.d.ts +0 -5
  1166. package/dist/components/Menu/MenuButton.js +0 -21
  1167. package/dist/components/Table/Table.components.d.ts +0 -20
  1168. package/dist/components/Table/Table.components.js +0 -39
  1169. package/dist/components/Table/Table.d.ts +0 -33
  1170. package/dist/components/Table/Table.js +0 -16
  1171. package/dist/components/Table/TableExplorer.d.ts +0 -14
  1172. package/dist/components/Tabs/Tabs.d.ts +0 -42
  1173. package/dist/components/Tabs/Tabs.js +0 -75
  1174. package/dist/components/Tabs/TabsContext.d.ts +0 -12
  1175. package/dist/components/Tabs/TabsItem.js +0 -26
  1176. package/dist/components/Tabs/TabsList.d.ts +0 -6
  1177. package/dist/components/Tabs/TabsList.js +0 -24
  1178. package/dist/components/Tabs/TabsPanel.js +0 -14
  1179. package/dist/components/TreeView/TreeItem.d.ts +0 -52
  1180. package/dist/components/TreeView/TreeItem.js +0 -54
  1181. package/dist/components/TreeView/hooks/useTreeItemEvents.d.ts +0 -8
  1182. package/dist/components/TreeView/hooks/useTreeItemEvents.js +0 -28
  1183. package/dist/components/UploadCard/UploadCard.d.ts +0 -42
  1184. package/dist/components/UploadCard/UploadCard.js +0 -72
  1185. package/dist/components/UploadCard/index.d.ts +0 -1
  1186. package/dist/core/OdeClientProvider/OdeClientProvider.d.ts +0 -28
  1187. package/dist/core/OdeClientProvider/OdeClientProvider.js +0 -62
  1188. package/dist/core/OdeClientProvider/index.d.ts +0 -1
  1189. package/dist/core/ThemeProvider/ThemeProvider.d.ts +0 -11
  1190. package/dist/core/ThemeProvider/ThemeProvider.js +0 -53
  1191. package/dist/core/ThemeProvider/index.d.ts +0 -1
  1192. package/dist/core/index.d.ts +0 -25
  1193. package/dist/core/useAvatar/useAvatar.d.ts +0 -6
  1194. package/dist/core/useAvatar/useAvatar.js +0 -30
  1195. package/dist/core/useBookmark/useBookmark.d.ts +0 -2
  1196. package/dist/core/useBookmark/useBookmark.js +0 -14
  1197. package/dist/core/useCantoo/useCantoo.js +0 -18
  1198. package/dist/core/useConf/useConf.d.ts +0 -4
  1199. package/dist/core/useConf/useConf.js +0 -13
  1200. package/dist/core/useConversation/useConversation.js +0 -43
  1201. package/dist/core/useDate/useDate.d.ts +0 -13
  1202. package/dist/core/useDate/useDate.js +0 -65
  1203. package/dist/core/useHasWorkflow/useHasWorkflow.js +0 -22
  1204. package/dist/core/useHeader/useHeader.d.ts +0 -5
  1205. package/dist/core/useHeader/useHeader.js +0 -50
  1206. package/dist/core/useHttpErrorToast/index.d.ts +0 -1
  1207. package/dist/core/useHttpErrorToast/useHttpErrorToast.d.ts +0 -2
  1208. package/dist/core/useHttpErrorToast/useHttpErrorToast.js +0 -21
  1209. package/dist/core/useIsAdml/useIsAdml.js +0 -18
  1210. package/dist/core/useLibraryUrl/useLibraryUrl.js +0 -21
  1211. package/dist/core/useMediaLibrary/useMediaLibrary.d.ts +0 -12
  1212. package/dist/core/useMediaLibrary/useMediaLibrary.js +0 -58
  1213. package/dist/core/useOdeIcons/index.d.ts +0 -1
  1214. package/dist/core/useOdeIcons/useOdeIcons.d.ts +0 -9
  1215. package/dist/core/useOdeIcons/useOdeIcons.js +0 -92
  1216. package/dist/core/usePaths/usePaths.js +0 -6
  1217. package/dist/core/usePreferences/usePreferences.js +0 -10
  1218. package/dist/core/useResource/useResource.d.ts +0 -3
  1219. package/dist/core/useResource/useResource.js +0 -25
  1220. package/dist/core/useResourceSearch/useResourceSearch.d.ts +0 -18
  1221. package/dist/core/useResourceSearch/useResourceSearch.js +0 -34
  1222. package/dist/core/useSession/useSession.js +0 -11
  1223. package/dist/core/useTrashedResource/useTrashedResource.js +0 -27
  1224. package/dist/core/useUpload/useUpload.d.ts +0 -18
  1225. package/dist/core/useUpload/useUpload.js +0 -106
  1226. package/dist/core/useUploadFiles/useUploadFiles.d.ts +0 -25
  1227. package/dist/core/useUploadFiles/useUploadFiles.js +0 -101
  1228. package/dist/core/useUser/useUser.d.ts +0 -7
  1229. package/dist/core/useUser/useUser.js +0 -22
  1230. package/dist/core/useWorkspaceFile/useWorkspaceFile.d.ts +0 -21
  1231. package/dist/core/useWorkspaceFile/useWorkspaceFile.js +0 -49
  1232. package/dist/core/useWorkspaceSearch/useWorkspaceSearch.d.ts +0 -9
  1233. package/dist/core/useWorkspaceSearch/useWorkspaceSearch.js +0 -58
  1234. package/dist/core/useXitiTrackPageLoad/useXitiTrackPageLoad.js +0 -28
  1235. package/dist/core/useZendeskGuide/useZendeskGuide.js +0 -101
  1236. package/dist/hooks/useImageResizer/index.d.ts +0 -1
  1237. package/dist/hooks/useImageResizer/useImageResizer.d.ts +0 -8
  1238. package/dist/hooks/useImageResizer/useImageResizer.js +0 -42
  1239. package/dist/multimedia/AudioRecorder/AudioRecorder.d.ts +0 -12
  1240. package/dist/multimedia/AudioRecorder/AudioRecorder.js +0 -49
  1241. package/dist/multimedia/AudioRecorder/AudioRecorderTimer.js +0 -24
  1242. package/dist/multimedia/AudioRecorder/useAudioRecorder.d.ts +0 -16
  1243. package/dist/multimedia/AudioRecorder/useAudioRecorder.js +0 -307
  1244. package/dist/multimedia/Embed/Embed.js +0 -32
  1245. package/dist/multimedia/ImageEditor/components/ImageEditor.js +0 -116
  1246. package/dist/multimedia/ImageEditor/components/ImageEditorToolbar.d.ts +0 -7
  1247. package/dist/multimedia/ImageEditor/components/ImageEditorToolbar.js +0 -69
  1248. package/dist/multimedia/ImageEditor/effects/blur.d.ts +0 -19
  1249. package/dist/multimedia/ImageEditor/effects/blur.js +0 -72
  1250. package/dist/multimedia/ImageEditor/effects/crop.d.ts +0 -28
  1251. package/dist/multimedia/ImageEditor/effects/misc.d.ts +0 -154
  1252. package/dist/multimedia/ImageEditor/effects/resize.d.ts +0 -25
  1253. package/dist/multimedia/ImageEditor/effects/rotate.d.ts +0 -8
  1254. package/dist/multimedia/ImageEditor/hooks/useHistoryTool.d.ts +0 -32
  1255. package/dist/multimedia/ImageEditor/hooks/useImageEditor.d.ts +0 -30
  1256. package/dist/multimedia/ImageEditor/hooks/useImageEffects.d.ts +0 -23
  1257. package/dist/multimedia/ImagePickerWorkspace/ImagePickerWorkspace.d.ts +0 -46
  1258. package/dist/multimedia/ImagePickerWorkspace/ImagePickerWorkspace.js +0 -39
  1259. package/dist/multimedia/ImagePickerWorkspace/index.d.ts +0 -2
  1260. package/dist/multimedia/Linker/ExternalLinker.d.ts +0 -28
  1261. package/dist/multimedia/Linker/ExternalLinker.js +0 -45
  1262. package/dist/multimedia/Linker/InternalLinker.d.ts +0 -28
  1263. package/dist/multimedia/Linker/InternalLinker.js +0 -114
  1264. package/dist/multimedia/Linker/index.d.ts +0 -4
  1265. package/dist/multimedia/LinkerCard/LinkerCard.d.ts +0 -13
  1266. package/dist/multimedia/LinkerCard/LinkerCard.js +0 -38
  1267. package/dist/multimedia/MediaLibrary/MediaLibrary.d.ts +0 -84
  1268. package/dist/multimedia/MediaLibrary/MediaLibrary.js +0 -211
  1269. package/dist/multimedia/MediaLibrary/MediaLibraryContext.d.ts +0 -60
  1270. package/dist/multimedia/MediaLibrary/innertabs/ExternalLink.d.ts +0 -6
  1271. package/dist/multimedia/MediaLibrary/innertabs/ExternalLink.js +0 -17
  1272. package/dist/multimedia/MediaLibrary/innertabs/InternalLink.d.ts +0 -11
  1273. package/dist/multimedia/MediaLibrary/innertabs/InternalLink.js +0 -35
  1274. package/dist/multimedia/MediaLibrary/innertabs/Upload.js +0 -34
  1275. package/dist/multimedia/MediaLibrary/innertabs/VideoEmbedder.js +0 -14
  1276. package/dist/multimedia/MediaLibrary/innertabs/Workspace.js +0 -31
  1277. package/dist/multimedia/UploadFiles/UploadFiles.d.ts +0 -9
  1278. package/dist/multimedia/UploadFiles/UploadFiles.js +0 -56
  1279. package/dist/multimedia/VideoEmbed/VideoEmbed.d.ts +0 -5
  1280. package/dist/multimedia/VideoEmbed/VideoEmbed.js +0 -77
  1281. package/dist/multimedia/VideoRecorder/VideoRecorder.d.ts +0 -14
  1282. package/dist/multimedia/VideoRecorder/VideoRecorder.js +0 -259
  1283. package/dist/multimedia/Workspace/Workspace.d.ts +0 -33
  1284. package/dist/multimedia/Workspace/Workspace.js +0 -169
  1285. package/dist/multimedia/index.d.ts +0 -8
  1286. package/dist/portal/Header/Badge.d.ts +0 -5
  1287. package/dist/portal/Header/Badge.js +0 -9
  1288. package/dist/portal/Header/Header.js +0 -171
  1289. package/dist/portal/Header/NavItem.d.ts +0 -6
  1290. package/dist/portal/Header/NavLink.js +0 -19
  1291. package/dist/portal/Header/NavbarNav.d.ts +0 -6
  1292. package/dist/portal/Header/WidgetApps.d.ts +0 -9
  1293. package/dist/portal/Header/WidgetApps.js +0 -23
  1294. package/dist/portal/Header/index.d.ts +0 -5
  1295. package/dist/portal/Help/Help.js +0 -25
  1296. package/dist/portal/Help/hooks/useHelp.d.ts +0 -10
  1297. package/dist/portal/Help/hooks/useHelp.js +0 -85
  1298. package/dist/portal/Help/index.d.ts +0 -1
  1299. package/dist/portal/Layout/Layout.d.ts +0 -12
  1300. package/dist/portal/Layout/Layout.js +0 -43
  1301. package/dist/portal/Layout/index.d.ts +0 -1
  1302. package/dist/portal/Main/Main.d.ts +0 -16
  1303. package/dist/portal/Main/index.d.ts +0 -2
  1304. package/dist/portal/SearchEngine/SearchEngine.js +0 -33
  1305. package/dist/portal/SearchEngine/index.d.ts +0 -1
  1306. package/dist/utils/MockedDataProvider/MockedDataProvider.d.ts +0 -28
  1307. package/dist/utils/MockedDataProvider/MockedDataProvider.js +0 -26
  1308. package/dist/utils/StringUtils.d.ts +0 -5
  1309. package/dist/utils/StringUtils.js +0 -14
  1310. package/dist/utils/addTimestampToUrl.d.ts +0 -6
  1311. package/dist/utils/addTimestampToUrl.js +0 -7
  1312. package/dist/utils/blob.d.ts +0 -9
  1313. package/dist/utils/blob.js +0 -15
  1314. package/dist/utils/checkUserRight.d.ts +0 -11
  1315. package/dist/utils/checkUserRight.js +0 -44
  1316. package/dist/utils/fileSize.d.ts +0 -1
  1317. package/dist/utils/fileSize.js +0 -8
  1318. package/dist/utils/findTreeNode.d.ts +0 -9
  1319. package/dist/utils/findTreeNode.js +0 -11
  1320. package/dist/utils/index.d.ts +0 -14
  1321. package/dist/utils/isActionAvailable.d.ts +0 -2
  1322. package/dist/utils/isActionAvailable.js +0 -7
  1323. package/dist/utils/libraryMaps.d.ts +0 -4
  1324. package/dist/utils/libraryMaps.js +0 -12
  1325. package/dist/utils/noop.d.ts +0 -4
  1326. package/dist/utils/noop.js +0 -5
  1327. package/dist/utils/thumbnail.d.ts +0 -8
  1328. package/dist/utils/thumbnail.js +0 -6
  1329. package/dist/utils/time.d.ts +0 -2
  1330. package/dist/utils/time.js +0 -11
  1331. package/dist/utils/treeview.d.ts +0 -33
  1332. package/dist/utils/treeview.js +0 -133
  1333. package/dist/utils/video.d.ts +0 -1
  1334. package/dist/utils/video.js +0 -4
  1335. package/dist/widgets/BookmarkedApps/BookmarkedApps.d.ts +0 -8
  1336. package/dist/widgets/BookmarkedApps/BookmarkedApps.js +0 -8
  1337. package/dist/widgets/Widget/Widget.js +0 -22
  1338. /package/dist/{portal/Header → components/Layout/components}/Header.d.ts +0 -0
  1339. /package/dist/{portal/Help → components/Layout/components}/Help.d.ts +0 -0
  1340. /package/dist/{portal/Header → components/Layout/components}/NavItem.js +0 -0
  1341. /package/dist/{portal/Header → components/Layout/components}/NavLink.d.ts +0 -0
  1342. /package/dist/{portal/Header → components/Layout/components}/Navbar.d.ts +0 -0
  1343. /package/dist/{portal/Header → components/Layout/components}/Navbar.js +0 -0
  1344. /package/dist/{portal/Header → components/Layout/components}/NavbarNav.js +0 -0
  1345. /package/dist/{portal/SearchEngine → components/Layout/components}/SearchEngine.d.ts +0 -0
  1346. /package/dist/{portal → components/Layout}/index.d.ts +0 -0
  1347. /package/dist/components/Menu/{Menu.d.ts → components/Menu.d.ts} +0 -0
  1348. /package/dist/components/Menu/{MenuContext.d.ts → components/MenuContext.d.ts} +0 -0
  1349. /package/dist/components/Menu/{MenuContext.js → components/MenuContext.js} +0 -0
  1350. /package/dist/components/Menu/{MenuItem.d.ts → components/MenuItem.d.ts} +0 -0
  1351. /package/dist/components/Menu/{MenuItem.js → components/MenuItem.js} +0 -0
  1352. /package/dist/components/Tabs/{TabsItem.d.ts → components/TabsItem.d.ts} +0 -0
  1353. /package/dist/components/Tabs/{TabsPanel.d.ts → components/TabsPanel.d.ts} +0 -0
  1354. /package/dist/components/Tabs/{TabsContext.js → context/TabsContext.js} +0 -0
  1355. /package/dist/{core → hooks}/useAvatar/index.d.ts +0 -0
  1356. /package/dist/{core → hooks}/useBookmark/index.d.ts +0 -0
  1357. /package/dist/{core → hooks}/useCantoo/index.d.ts +0 -0
  1358. /package/dist/{core → hooks}/useCantoo/useCantoo.d.ts +0 -0
  1359. /package/dist/{core → hooks}/useConf/index.d.ts +0 -0
  1360. /package/dist/{core → hooks}/useConversation/index.d.ts +0 -0
  1361. /package/dist/{core → hooks}/useConversation/useConversation.d.ts +0 -0
  1362. /package/dist/{core → hooks}/useCookiesConsent/index.d.ts +0 -0
  1363. /package/dist/{core → hooks}/useCookiesConsent/useCookiesConsent.d.ts +0 -0
  1364. /package/dist/{core → hooks}/useCookiesConsent/useCookiesConsent.js +0 -0
  1365. /package/dist/{core → hooks}/useDate/index.d.ts +0 -0
  1366. /package/dist/{core → hooks}/useHasWorkflow/index.d.ts +0 -0
  1367. /package/dist/{core → hooks}/useHasWorkflow/useHasWorkflow.d.ts +0 -0
  1368. /package/dist/{core → hooks}/useHeader/index.d.ts +0 -0
  1369. /package/dist/{core → hooks}/useIsAdml/index.d.ts +0 -0
  1370. /package/dist/{core → hooks}/useIsAdml/useIsAdml.d.ts +0 -0
  1371. /package/dist/{core → hooks}/useLibraryUrl/index.d.ts +0 -0
  1372. /package/dist/{core → hooks}/useLibraryUrl/useLibraryUrl.d.ts +0 -0
  1373. /package/dist/{core → hooks}/useMediaLibrary/index.d.ts +0 -0
  1374. /package/dist/{core → hooks}/usePaths/index.d.ts +0 -0
  1375. /package/dist/{core → hooks}/usePaths/usePaths.d.ts +0 -0
  1376. /package/dist/{core → hooks}/usePreferences/index.d.ts +0 -0
  1377. /package/dist/{core → hooks}/usePreferences/usePreferences.d.ts +0 -0
  1378. /package/dist/{core → hooks}/useResource/index.d.ts +0 -0
  1379. /package/dist/{core → hooks}/useResourceSearch/index.d.ts +0 -0
  1380. /package/dist/{core → hooks}/useSession/index.d.ts +0 -0
  1381. /package/dist/{core → hooks}/useSession/useSession.d.ts +0 -0
  1382. /package/dist/{core → hooks}/useTrashedResource/index.d.ts +0 -0
  1383. /package/dist/{core → hooks}/useTrashedResource/useTrashedResource.d.ts +0 -0
  1384. /package/dist/{core → hooks}/useUpload/index.d.ts +0 -0
  1385. /package/dist/{core → hooks}/useUploadFiles/index.d.ts +0 -0
  1386. /package/dist/{core → hooks}/useUser/index.d.ts +0 -0
  1387. /package/dist/{core → hooks}/useWorkspaceFile/index.d.ts +0 -0
  1388. /package/dist/{core → hooks}/useWorkspaceSearch/index.d.ts +0 -0
  1389. /package/dist/{core → hooks}/useXitiTrackPageLoad/index.d.ts +0 -0
  1390. /package/dist/{core → hooks}/useXitiTrackPageLoad/useXitiTrackPageLoad.d.ts +0 -0
  1391. /package/dist/{core → hooks}/useZendeskGuide/index.d.ts +0 -0
  1392. /package/dist/{core → hooks}/useZendeskGuide/useZendeskGuide.d.ts +0 -0
  1393. /package/dist/{components/Audience → modules/audience}/index.d.ts +0 -0
  1394. /package/dist/{common → modules/modals}/OnboardingModal/OnboardingModal.d.ts +0 -0
  1395. /package/dist/{common → modules/modals}/OnboardingModal/index.d.ts +0 -0
  1396. /package/dist/{common → modules/modals}/PublishModal/components/ActivitiesDropdown.d.ts +0 -0
  1397. /package/dist/{common → modules/modals}/PublishModal/components/LangSelect.d.ts +0 -0
  1398. /package/dist/{common → modules/modals}/PublishModal/components/PublishModalFooter.d.ts +0 -0
  1399. /package/dist/{common → modules/modals}/PublishModal/components/SubjectsDropdown.d.ts +0 -0
  1400. /package/dist/{common → modules/modals}/PublishModal/components/ToastError.d.ts +0 -0
  1401. /package/dist/{common → modules/modals}/PublishModal/components/ToastError.js +0 -0
  1402. /package/dist/{common → modules/modals}/PublishModal/components/ToastSuccess.js +0 -0
  1403. /package/dist/{common → modules/modals}/PublishModal/constants/ageOptions.d.ts +0 -0
  1404. /package/dist/{common → modules/modals}/PublishModal/constants/ageOptions.js +0 -0
  1405. /package/dist/{common → modules/modals}/PublishModal/hooks/useActivitiesOptions.d.ts +0 -0
  1406. /package/dist/{common → modules/modals}/PublishModal/hooks/useActivitiesOptions.js +0 -0
  1407. /package/dist/{common → modules/modals}/PublishModal/hooks/useLanguageOptions.d.ts +0 -0
  1408. /package/dist/{common → modules/modals}/PublishModal/hooks/useLanguageOptions.js +0 -0
  1409. /package/dist/{common → modules/modals}/PublishModal/hooks/useSubjectsOptions.d.ts +0 -0
  1410. /package/dist/{common → modules/modals}/PublishModal/hooks/useSubjectsOptions.js +0 -0
  1411. /package/dist/{common → modules/modals}/PublishModal/index.d.ts +0 -0
  1412. /package/dist/{common → modules/modals}/ResourceModal/hooks/useThumb.js +0 -0
  1413. /package/dist/{common → modules/modals}/ResourceModal/index.d.ts +0 -0
  1414. /package/dist/{common → modules/modals}/ShareModal/ShareBookmark.d.ts +0 -0
  1415. /package/dist/{common → modules/modals}/ShareModal/index.d.ts +0 -0
  1416. /package/dist/{common → modules/modals}/ShareModal/utils/hasRight.js +0 -0
  1417. /package/dist/{common → modules/modals}/ShareModal/utils/showShareRightLine.js +0 -0
  1418. /package/dist/{common → modules/modals}/index.d.ts +0 -0
  1419. /package/dist/{multimedia → modules/multimedia}/AudioRecorder/AudioRecorderTimer.d.ts +0 -0
  1420. /package/dist/{multimedia → modules/multimedia}/AudioRecorder/index.d.ts +0 -0
  1421. /package/dist/{multimedia → modules/multimedia}/Embed/Embed.d.ts +0 -0
  1422. /package/dist/{multimedia → modules/multimedia}/Embed/index.d.ts +0 -0
  1423. /package/dist/{components → modules/multimedia}/FileCard/index.d.ts +0 -0
  1424. /package/dist/{multimedia → modules/multimedia}/ImageEditor/components/ImageEditor.d.ts +0 -0
  1425. /package/dist/{multimedia → modules/multimedia}/ImageEditor/effects/crop.js +0 -0
  1426. /package/dist/{multimedia → modules/multimedia}/ImageEditor/effects/misc.js +0 -0
  1427. /package/dist/{multimedia → modules/multimedia}/ImageEditor/effects/resize.js +0 -0
  1428. /package/dist/{multimedia → modules/multimedia}/ImageEditor/effects/rotate.js +0 -0
  1429. /package/dist/{multimedia → modules/multimedia}/ImageEditor/hooks/useHistoryTool.js +0 -0
  1430. /package/dist/{multimedia → modules/multimedia}/ImageEditor/hooks/useImageEditor.js +0 -0
  1431. /package/dist/{multimedia → modules/multimedia}/ImageEditor/hooks/useImageEffects.js +0 -0
  1432. /package/dist/{multimedia → modules/multimedia}/ImageEditor/index.d.ts +0 -0
  1433. /package/dist/{multimedia/ImageEditor/utils → modules/multimedia/ImageEditor/utilities}/aggregate.d.ts +0 -0
  1434. /package/dist/{multimedia/ImageEditor/utils → modules/multimedia/ImageEditor/utilities}/aggregate.js +0 -0
  1435. /package/dist/{multimedia/ImageEditor/utils → modules/multimedia/ImageEditor/utilities}/debounceAggregate.d.ts +0 -0
  1436. /package/dist/{multimedia → modules/multimedia}/LinkerCard/index.d.ts +0 -0
  1437. /package/dist/{multimedia → modules/multimedia}/MediaLibrary/MediaLibraryContext.js +0 -0
  1438. /package/dist/{multimedia → modules/multimedia}/MediaLibrary/index.d.ts +0 -0
  1439. /package/dist/{multimedia → modules/multimedia}/MediaLibrary/innertabs/Audio.d.ts +0 -0
  1440. /package/dist/{multimedia → modules/multimedia}/MediaLibrary/innertabs/Audio.js +0 -0
  1441. /package/dist/{multimedia → modules/multimedia}/MediaLibrary/innertabs/Iframe.d.ts +0 -0
  1442. /package/dist/{multimedia → modules/multimedia}/MediaLibrary/innertabs/Iframe.js +0 -0
  1443. /package/dist/{multimedia → modules/multimedia}/MediaLibrary/innertabs/Upload.d.ts +0 -0
  1444. /package/dist/{multimedia → modules/multimedia}/MediaLibrary/innertabs/Video.d.ts +0 -0
  1445. /package/dist/{multimedia → modules/multimedia}/MediaLibrary/innertabs/Video.js +0 -0
  1446. /package/dist/{multimedia → modules/multimedia}/MediaLibrary/innertabs/VideoEmbedder.d.ts +0 -0
  1447. /package/dist/{multimedia → modules/multimedia}/MediaLibrary/innertabs/Workspace.d.ts +0 -0
  1448. /package/dist/{multimedia → modules/multimedia}/MediaLibrary/innertabs/index.d.ts +0 -0
  1449. /package/dist/{multimedia → modules/multimedia}/MediaLibrary/innertabs/index.js +0 -0
  1450. /package/dist/{multimedia → modules/multimedia}/UploadFiles/index.d.ts +0 -0
  1451. /package/dist/{multimedia → modules/multimedia}/VideoEmbed/index.d.ts +0 -0
  1452. /package/dist/{multimedia → modules/multimedia}/VideoRecorder/index.d.ts +0 -0
  1453. /package/dist/{multimedia → modules/multimedia}/Workspace/index.d.ts +0 -0
  1454. /package/dist/{widgets → modules/widgets}/BookmarkedApps/index.d.ts +0 -0
  1455. /package/dist/{widgets → modules/widgets}/Widget/Widget.d.ts +0 -0
  1456. /package/dist/{widgets → modules/widgets}/Widget/index.d.ts +0 -0
  1457. /package/dist/{widgets → modules/widgets}/index.d.ts +0 -0
  1458. /package/dist/{utils → providers}/MockedDataProvider/index.d.ts +0 -0
  1459. /package/dist/{utils → utilities/refs}/ref.d.ts +0 -0
  1460. /package/dist/{utils → utilities/refs}/ref.js +0 -0
@@ -1,67 +0,0 @@
1
- import { useRef, useState, useId } from "react";
2
- import { odeServices } from "edifice-ts-client";
3
- import { useTranslation } from "react-i18next";
4
- import useToast from "../../../hooks/useToast/useToast.js";
5
- import useToggle from "../../../hooks/useToggle/useToggle.js";
6
- const useShareBookmark = ({
7
- shareRights,
8
- shareDispatch
9
- }) => {
10
- const toast = useToast(), {
11
- t
12
- } = useTranslation(), refBookmark = useRef(null), [bookmark, setBookmark] = useState({
13
- name: "",
14
- id: useId()
15
- }), [showBookmark, setShowBookmark] = useToggle(!1), [showBookmarkInput, toggleBookmarkInput] = useState(!1), toggleBookmark = () => {
16
- setShowBookmark();
17
- }, handleBookmarkChange = () => {
18
- setBookmark((prev) => {
19
- var _a;
20
- return {
21
- ...prev,
22
- name: ((_a = refBookmark.current) == null ? void 0 : _a.value) || ""
23
- };
24
- });
25
- }, saveBookmark = async (name) => {
26
- try {
27
- const res = await odeServices.directory().saveBookmarks(name, {
28
- users: shareRights.rights.filter((right) => right.type === "user").map((u) => u.id),
29
- groups: shareRights.rights.filter((right) => right.type === "group").map((u) => u.id),
30
- bookmarks: shareRights.rights.filter((right) => right.type === "sharebookmark").map((u) => u.id)
31
- });
32
- toast.success(t("explorer.bookmarked.status.saved")), shareDispatch({
33
- type: "updateShareRights",
34
- payload: {
35
- ...shareRights,
36
- visibleBookmarks: [...shareRights.visibleBookmarks, {
37
- displayName: name,
38
- id: res.id
39
- }]
40
- }
41
- }), setBookmark((prev) => ({
42
- ...prev,
43
- bookmarkId: prev.id + (/* @__PURE__ */ new Date()).getTime().toString()
44
- })), toggleBookmarkInput(!1);
45
- } catch (e) {
46
- console.error("Failed to save bookmark", e), toast.error(t("explorer.bookmarked.status.error"));
47
- }
48
- };
49
- return {
50
- refBookmark,
51
- showBookmark,
52
- showBookmarkInput,
53
- bookmark,
54
- handleBookmarkChange,
55
- setBookmark,
56
- handleOnSave: () => {
57
- var _a;
58
- const inputValue = ((_a = refBookmark.current) == null ? void 0 : _a.value) || "";
59
- saveBookmark(inputValue);
60
- },
61
- toggleBookmark,
62
- toggleBookmarkInput
63
- };
64
- };
65
- export {
66
- useShareBookmark
67
- };
@@ -1,13 +0,0 @@
1
- import { UseMutationOptions, UseMutationResult } from '../../../../node_modules/@tanstack/react-query';
2
- import { PutShareResponse, ShareRight } from 'edifice-ts-client';
3
- declare const useShareMutation: ({ application, options, }: {
4
- application: string;
5
- options?: UseMutationOptions<PutShareResponse, Error, {
6
- resourceId: string;
7
- rights: ShareRight[];
8
- }, unknown> | undefined;
9
- }) => UseMutationResult<PutShareResponse, Error, {
10
- resourceId: string;
11
- rights: ShareRight[];
12
- }>;
13
- export default useShareMutation;
@@ -1,15 +0,0 @@
1
- import { useMutation } from "@tanstack/react-query";
2
- import { odeServices } from "edifice-ts-client";
3
- const useShareMutation = ({
4
- application,
5
- options
6
- }) => useMutation({
7
- mutationFn: async ({
8
- resourceId,
9
- rights
10
- }) => await odeServices.share().saveRights(application, resourceId, rights),
11
- ...options
12
- }), useShareMutation$1 = useShareMutation;
13
- export {
14
- useShareMutation$1 as default
15
- };
@@ -1,2 +0,0 @@
1
- import { ShareRight, ShareRightAction } from 'edifice-ts-client';
2
- export declare const hasRight: (shareRight: ShareRight, shareAction: ShareRightAction) => boolean;
@@ -1,2 +0,0 @@
1
- import { ShareRight } from 'edifice-ts-client';
2
- export declare const showShareRightLine: (shareRight: ShareRight, showBookmarkMembers: boolean) => boolean;
@@ -1,11 +0,0 @@
1
- import { ReactionSummaryData, ReactionType } from 'edifice-ts-client';
2
- export interface ReactionChoiceProps {
3
- availableReactions: ReactionType[];
4
- summary?: ReactionSummaryData;
5
- onChange?: (chosenReaction?: ReactionType) => void;
6
- }
7
- declare const ReactionChoice: {
8
- ({ availableReactions, summary, onChange, }: ReactionChoiceProps): import("react/jsx-runtime").JSX.Element;
9
- displayName: string;
10
- };
11
- export default ReactionChoice;
@@ -1,33 +0,0 @@
1
- import { jsx, jsxs } from "react/jsx-runtime";
2
- import useReactionIcons from "./hooks/useReactionIcons.js";
3
- import { useTranslation } from "react-i18next";
4
- import clsx from "clsx";
5
- import Dropdown from "../Dropdown/Dropdown.js";
6
- import Tooltip from "../Tooltip/Tooltip.js";
7
- import IconButton from "../Button/IconButton.js";
8
- const ReactionChoice = ({
9
- availableReactions,
10
- summary = {
11
- totalReactionsCounter: 0,
12
- userReaction: null
13
- },
14
- onChange
15
- }) => {
16
- const {
17
- t
18
- } = useTranslation(), {
19
- getReactionIcon,
20
- getReactionLabel
21
- } = useReactionIcons(), {
22
- userReaction
23
- } = summary, classes = clsx({
24
- "fw-bold": !!userReaction
25
- });
26
- return /* @__PURE__ */ jsx("div", { className: "reaction-choice", children: /* @__PURE__ */ jsxs(Dropdown, { placement: "top-start", children: [
27
- /* @__PURE__ */ jsx(Dropdown.Trigger, { className: classes, color: "tertiary", variant: "ghost", size: "sm", icon: getReactionIcon(userReaction), hideCarret: !0, label: t(getReactionLabel(userReaction)) }),
28
- /* @__PURE__ */ jsx(Dropdown.Menu, { unstyled: !0, className: "bg-white shadow rounded-8 overflow-visible", children: /* @__PURE__ */ jsx("div", { className: "d-flex align-items-center justify-content-between", children: availableReactions == null ? void 0 : availableReactions.map((reactionType) => /* @__PURE__ */ jsx(Dropdown.Item, { className: "p-0", children: /* @__PURE__ */ jsx(Tooltip, { message: t(getReactionLabel(reactionType)), placement: "top", children: /* @__PURE__ */ jsx(IconButton, { className: "reaction-available m-4", variant: "ghost", size: "sm", icon: getReactionIcon(reactionType), onClick: () => onChange == null ? void 0 : onChange(reactionType) }) }) }, reactionType)) }) })
29
- ] }) });
30
- }, ReactionChoice$1 = ReactionChoice;
31
- export {
32
- ReactionChoice$1 as default
33
- };
@@ -1,4 +0,0 @@
1
- import { ReactionDetailsData } from 'edifice-ts-client';
2
- export declare function ReactionModalCard({ reaction, }: {
3
- reaction: ReactionDetailsData['userReactions'][number];
4
- }): import("react/jsx-runtime").JSX.Element;
@@ -1,33 +0,0 @@
1
- import { jsxs, jsx } from "react/jsx-runtime";
2
- import { useTranslation } from "react-i18next";
3
- import useReactionIcons from "./hooks/useReactionIcons.js";
4
- import useAvatar from "../../core/useAvatar/useAvatar.js";
5
- import Avatar from "../Avatar/Avatar.js";
6
- function ReactionModalCard({
7
- reaction
8
- }) {
9
- const {
10
- t
11
- } = useTranslation(), {
12
- avatarURL
13
- } = useAvatar(reaction.userId, reaction.profile), {
14
- getReactionIcon,
15
- getReactionLabel
16
- } = useReactionIcons();
17
- return /* @__PURE__ */ jsxs("div", { className: "reaction-modal-card w-100 d-flex gap-8", children: [
18
- /* @__PURE__ */ jsxs("div", { className: "position-relative p-8", children: [
19
- /* @__PURE__ */ jsx(Avatar, { variant: "circle", size: "md", src: avatarURL, alt: reaction.displayName }),
20
- /* @__PURE__ */ jsx("div", { className: "position-absolute end-0 bottom-0", children: getReactionIcon(reaction.reactionType, !0) })
21
- ] }),
22
- /* @__PURE__ */ jsxs("div", { className: "d-flex flex-column w-100 pt-8", children: [
23
- /* @__PURE__ */ jsxs("div", { className: "d-flex align-items-baseline", children: [
24
- /* @__PURE__ */ jsx("div", { className: "d-flex overflow-hidden", children: /* @__PURE__ */ jsx("div", { className: "text-reset flex-shrink-0", children: reaction.displayName }) }),
25
- /* @__PURE__ */ jsx("strong", { className: "ms-12 caption text-gray-700", children: t(reaction.profile) })
26
- ] }),
27
- /* @__PURE__ */ jsx("p", { className: "caption text-gray-700", children: t(getReactionLabel(reaction.reactionType)) })
28
- ] })
29
- ] });
30
- }
31
- export {
32
- ReactionModalCard
33
- };
@@ -1,20 +0,0 @@
1
- import { ReactionDetailsData } from 'edifice-ts-client';
2
- import { ReactionModalCard } from './ReactionModal.Card';
3
- export interface ReactionModalProps {
4
- /** Id of resource. */
5
- resourceId: string;
6
- /** Number of results per page, defaults to 30. */
7
- pageSize?: number;
8
- /** Display modal ? */
9
- isOpen: boolean;
10
- /** Close button handler. */
11
- onModalClose(): void;
12
- /** Function for loading reactions to the resource. */
13
- reactionDetailsLoader: (resourceId: string, page: number, size: number) => Promise<ReactionDetailsData | undefined>;
14
- }
15
- declare const ReactionModal: {
16
- ({ resourceId, pageSize, reactionDetailsLoader: loadReactionDetails, onModalClose, ...restProps }: ReactionModalProps): import('react').ReactPortal;
17
- displayName: string;
18
- Card: typeof ReactionModalCard;
19
- };
20
- export default ReactionModal;
@@ -1,73 +0,0 @@
1
- import { jsx, jsxs } from "react/jsx-runtime";
2
- import { useState, useId, useCallback, useMemo, useEffect } from "react";
3
- import useReactionIcons from "./hooks/useReactionIcons.js";
4
- import { useTranslation } from "react-i18next";
5
- import { ReactionTypes } from "edifice-ts-client";
6
- import { ReactionModalCard } from "./ReactionModal.Card.js";
7
- import { createPortal } from "react-dom";
8
- import Modal from "../Modal/Modal.js";
9
- import Tabs from "../Tabs/Tabs.js";
10
- import Button from "../Button/Button.js";
11
- import { StringUtils } from "../../utils/StringUtils.js";
12
- const ALL_TAB_ID = "all", ReactionModal = ({
13
- resourceId,
14
- pageSize = 30,
15
- reactionDetailsLoader: loadReactionDetails,
16
- onModalClose,
17
- ...restProps
18
- }) => {
19
- const [counters, setCounters] = useState({
20
- countByType: {},
21
- allReactionsCounter: 0
22
- }), [reactions, setReactions] = useState([]), [currentTabId, setCurrentTabId] = useState(ALL_TAB_ID), id = useId(), {
23
- t
24
- } = useTranslation(), {
25
- getReactionIcon
26
- } = useReactionIcons(), [latestPage, setLatestPage] = useState(0), loadNextPage = useCallback(async () => {
27
- const nextPage = latestPage + 1;
28
- setLatestPage(nextPage);
29
- const data = await loadReactionDetails(resourceId, nextPage, pageSize);
30
- if (data) {
31
- const {
32
- reactionCounters,
33
- userReactions
34
- } = data;
35
- nextPage === 1 && setCounters(reactionCounters), setReactions((old) => [...old, ...userReactions.filter((reaction) => !old.some((oldReaction) => oldReaction.userId === reaction.userId))]);
36
- }
37
- }, [latestPage, loadReactionDetails, pageSize, resourceId]), panel = useMemo(() => /* @__PURE__ */ jsx("div", { className: "d-flex flex-column w-100 gap-8 mt-32", children: reactions.filter((reaction) => currentTabId === ALL_TAB_ID || reaction.reactionType === currentTabId).map((reaction) => /* @__PURE__ */ jsx(ReactionModal.Card, { reaction }, reaction.userId)) }), [currentTabId, reactions]), tabs = useMemo(() => {
38
- const items = ReactionTypes.filter((type) => {
39
- var _a;
40
- return typeof ((_a = counters.countByType) == null ? void 0 : _a[type]) == "number";
41
- }).map((type) => ({
42
- id: type,
43
- icon: getReactionIcon(type),
44
- label: StringUtils.toCounter(counters.countByType[type]),
45
- content: panel
46
- }));
47
- return [{
48
- id: ALL_TAB_ID,
49
- icon: null,
50
- label: t("audience.reaction.tab.all"),
51
- content: panel
52
- }, ...items];
53
- }, [counters.countByType, panel]);
54
- useEffect(() => {
55
- loadNextPage();
56
- }, []);
57
- const handleTabChange = (tab) => {
58
- setCurrentTabId(tab.id);
59
- }, hasMore = reactions.length < counters.allReactionsCounter;
60
- return /* @__PURE__ */ createPortal(/* @__PURE__ */ jsxs(Modal, { id, ...restProps, onModalClose, size: "md", scrollable: !0, children: [
61
- /* @__PURE__ */ jsx(Modal.Header, { onModalClose, children: /* @__PURE__ */ jsx("h2", { children: t("audience.reaction.modal.header") }) }),
62
- /* @__PURE__ */ jsx(Modal.Body, { children: /* @__PURE__ */ jsx(Tabs, { items: tabs, defaultId: ALL_TAB_ID, onChange: handleTabChange }) }),
63
- /* @__PURE__ */ jsxs(Modal.Footer, { children: [
64
- hasMore && /* @__PURE__ */ jsx(Button, { color: "tertiary", onClick: loadNextPage, children: t("audience.reaction.modal.more") }),
65
- /* @__PURE__ */ jsx(Button, { color: "primary", onClick: onModalClose, type: "button", variant: "filled", children: t("close") })
66
- ] })
67
- ] }), document.getElementById("portal"));
68
- };
69
- ReactionModal.Card = ReactionModalCard;
70
- const ReactionModal$1 = ReactionModal;
71
- export {
72
- ReactionModal$1 as default
73
- };
@@ -1,10 +0,0 @@
1
- import { ReactionSummaryData } from 'edifice-ts-client';
2
- export interface ReactionSummaryProps {
3
- summary?: ReactionSummaryData;
4
- onClick?: () => void;
5
- }
6
- declare const ReactionSummary: {
7
- ({ summary, onClick, }: ReactionSummaryProps): import("react/jsx-runtime").JSX.Element;
8
- displayName: string;
9
- };
10
- export default ReactionSummary;
@@ -1,27 +0,0 @@
1
- import { jsx, jsxs } from "react/jsx-runtime";
2
- import useReactionIcons from "./hooks/useReactionIcons.js";
3
- import Button from "../Button/Button.js";
4
- import { StringUtils } from "../../utils/StringUtils.js";
5
- const ReactionSummary = ({
6
- summary = {
7
- userReaction: null,
8
- totalReactionsCounter: 0
9
- },
10
- onClick
11
- }) => {
12
- const {
13
- getReactionIcon
14
- } = useReactionIcons(), {
15
- totalReactionsCounter,
16
- reactionTypes
17
- } = summary, hasNoReactions = totalReactionsCounter === 0;
18
- return /* @__PURE__ */ jsx(Button, { variant: "ghost", className: "py-4 px-8 btn-icon", disabled: hasNoReactions, onClick: (event) => {
19
- event.preventDefault(), event.stopPropagation(), onClick == null || onClick();
20
- }, children: /* @__PURE__ */ jsxs("div", { className: "d-flex align-items-center", children: [
21
- /* @__PURE__ */ jsx("div", { className: "text-gray-700 fw-normal me-8", children: StringUtils.toCounter(totalReactionsCounter) }),
22
- hasNoReactions ? /* @__PURE__ */ jsx("div", { className: "reaction-overlap", children: getReactionIcon("REACTION_1", !0) }) : reactionTypes == null ? void 0 : reactionTypes.map((reactionType) => /* @__PURE__ */ jsx("div", { className: "reaction-overlap", children: getReactionIcon(reactionType, !0) }, reactionType))
23
- ] }) });
24
- }, ReactionSummary$1 = ReactionSummary;
25
- export {
26
- ReactionSummary$1 as default
27
- };
@@ -1,9 +0,0 @@
1
- import { ViewsDetailsProfile } from 'edifice-ts-client';
2
- export interface ViewsCardProps {
3
- viewsByProfile: ViewsDetailsProfile;
4
- }
5
- declare const ViewsByProfileCard: {
6
- ({ viewsByProfile }: ViewsCardProps): import("react/jsx-runtime").JSX.Element;
7
- displayName: string;
8
- };
9
- export default ViewsByProfileCard;
@@ -1,36 +0,0 @@
1
- import { jsxs, jsx } from "react/jsx-runtime";
2
- import { Users } from "@edifice.io/icons";
3
- import { Guest, Personnel, Teacher, Parent, Student } from "@edifice.io/icons/audience";
4
- import { useTranslation } from "react-i18next";
5
- import { StringUtils } from "../../utils/StringUtils.js";
6
- const ViewsByProfileCard = ({
7
- viewsByProfile
8
- }) => {
9
- const {
10
- t
11
- } = useTranslation(), profile = viewsByProfile.profile.toLowerCase(), classNameIcon = `views-detail-icon rounded p-8 views-detail-icon-${profile}`;
12
- function getIcon(profile2) {
13
- switch (profile2) {
14
- case "student":
15
- return /* @__PURE__ */ jsx(Student, {});
16
- case "relative":
17
- return /* @__PURE__ */ jsx(Parent, {});
18
- case "teacher":
19
- return /* @__PURE__ */ jsx(Teacher, {});
20
- case "personnel":
21
- return /* @__PURE__ */ jsx(Personnel, {});
22
- case "guest":
23
- return /* @__PURE__ */ jsx(Guest, {});
24
- default:
25
- return /* @__PURE__ */ jsx(Users, {});
26
- }
27
- }
28
- return /* @__PURE__ */ jsxs("div", { className: "views-detail-line p-8 ms-32 mb-12", children: [
29
- /* @__PURE__ */ jsx("div", { className: classNameIcon, children: getIcon(profile) }),
30
- /* @__PURE__ */ jsx("div", { className: "h3", children: StringUtils.toCounter(viewsByProfile.counter) }),
31
- /* @__PURE__ */ jsx("div", { children: t(`audience.views.uniqueViewsPerProfile.${profile}`) })
32
- ] }, profile);
33
- };
34
- export {
35
- ViewsByProfileCard as default
36
- };
@@ -1,11 +0,0 @@
1
- /// <reference types="react" />
2
- export interface ViewsCounterProps {
3
- viewsCounter: number;
4
- onClick?: (event?: React.MouseEvent<HTMLButtonElement>) => void;
5
- className?: string;
6
- }
7
- declare const ViewsCounter: {
8
- ({ viewsCounter, onClick, className, }: ViewsCounterProps): import("react/jsx-runtime").JSX.Element;
9
- displayName: string;
10
- };
11
- export default ViewsCounter;
@@ -1,18 +0,0 @@
1
- import { jsx } from "react/jsx-runtime";
2
- import { See } from "@edifice.io/icons";
3
- import clsx from "clsx";
4
- import Button from "../Button/Button.js";
5
- import { StringUtils } from "../../utils/StringUtils.js";
6
- const ViewsCounter = ({
7
- viewsCounter,
8
- onClick,
9
- className
10
- }) => {
11
- const handleButtonClick = (event) => {
12
- event.preventDefault(), event.stopPropagation(), onClick == null || onClick();
13
- };
14
- return className = clsx("text-gray-700 fw-normal py-4 px-8 btn-icon", className), /* @__PURE__ */ jsx(Button, { rightIcon: /* @__PURE__ */ jsx(See, {}), variant: "ghost", type: "button", className, onClick: handleButtonClick, disabled: !viewsCounter, children: StringUtils.toCounter(viewsCounter) });
15
- }, ViewsCounter$1 = ViewsCounter;
16
- export {
17
- ViewsCounter$1 as default
18
- };
@@ -1,11 +0,0 @@
1
- import { ViewsDetails } from 'edifice-ts-client';
2
- export interface ViewsModalProps {
3
- viewsDetails: ViewsDetails;
4
- isOpen: boolean;
5
- onModalClose: () => void;
6
- }
7
- declare const ViewsModal: {
8
- ({ viewsDetails, isOpen, onModalClose, }: ViewsModalProps): import('react').ReactPortal;
9
- displayName: string;
10
- };
11
- export default ViewsModal;
@@ -1,40 +0,0 @@
1
- import { jsxs, jsx, Fragment } from "react/jsx-runtime";
2
- import { See, Users } from "@edifice.io/icons";
3
- import { createPortal } from "react-dom";
4
- import { useTranslation } from "react-i18next";
5
- import ViewsByProfileCard from "./ViewsByProfileCard.js";
6
- import Modal from "../Modal/Modal.js";
7
- import Button from "../Button/Button.js";
8
- import { StringUtils } from "../../utils/StringUtils.js";
9
- const ViewsModal = ({
10
- viewsDetails,
11
- isOpen,
12
- onModalClose
13
- }) => {
14
- var _a;
15
- const {
16
- t
17
- } = useTranslation(), hasUniqueViews = viewsDetails.uniqueViewsCounter !== void 0;
18
- return /* @__PURE__ */ createPortal(/* @__PURE__ */ jsxs(Modal, { id: "ViewsModal", isOpen, onModalClose, children: [
19
- /* @__PURE__ */ jsx(Modal.Header, { onModalClose, children: t("audience.views.title") }),
20
- /* @__PURE__ */ jsxs(Modal.Body, { children: [
21
- /* @__PURE__ */ jsxs("div", { className: "views-detail-line p-8 mb-12", children: [
22
- /* @__PURE__ */ jsx("div", { className: "views-detail-icon rounded p-8", children: /* @__PURE__ */ jsx(See, {}) }),
23
- /* @__PURE__ */ jsx("div", { className: "h3", children: StringUtils.toCounter(viewsDetails.viewsCounter) }),
24
- /* @__PURE__ */ jsx("div", { children: t("audience.views.detail.viewsCounter") })
25
- ] }),
26
- /* @__PURE__ */ jsxs("div", { className: "views-detail-line p-8 mb-12", children: [
27
- /* @__PURE__ */ jsx("div", { className: "views-detail-icon rounded p-8", children: /* @__PURE__ */ jsx(Users, {}) }),
28
- hasUniqueViews ? /* @__PURE__ */ jsxs(Fragment, { children: [
29
- /* @__PURE__ */ jsx("div", { className: "h3", children: StringUtils.toCounter(viewsDetails.uniqueViewsCounter) }),
30
- /* @__PURE__ */ jsx("div", { children: t("audience.views.detail.uniqueViewsCounter") })
31
- ] }) : /* @__PURE__ */ jsx("div", { children: t("audience.views.detail.noUniqueViews") })
32
- ] }),
33
- hasUniqueViews ? (_a = viewsDetails.uniqueViewsPerProfile) == null ? void 0 : _a.map((viewsByProfile) => /* @__PURE__ */ jsx(ViewsByProfileCard, { viewsByProfile }, viewsByProfile.profile)) : null
34
- ] }),
35
- /* @__PURE__ */ jsx(Modal.Footer, { children: /* @__PURE__ */ jsx(Button, { color: "primary", onClick: onModalClose, type: "button", variant: "filled", children: t("audience.views.cancel") }) })
36
- ] }), document.getElementById("portal"));
37
- }, ViewsModal$1 = ViewsModal;
38
- export {
39
- ViewsModal$1 as default
40
- };
@@ -1,5 +0,0 @@
1
- import { ReactionType } from 'edifice-ts-client';
2
- export default function useReactionIcons(): {
3
- getReactionIcon: (reactionType?: ReactionType | null, asCounter?: boolean) => import("react/jsx-runtime").JSX.Element;
4
- getReactionLabel: (reactionType?: ReactionType | null) => "audience.reaction.thanks" | "audience.reaction.great" | "audience.reaction.congrats" | "audience.reaction.interesting" | "audience.reaction.default";
5
- };
@@ -1,38 +0,0 @@
1
- import { jsx } from "react/jsx-runtime";
2
- import { InterestingCounter, Interesting, CongratsCounter, Congrats, GreatCounter, Great, ThanksCounter, Thanks } from "@edifice.io/icons/audience";
3
- import { Reaction } from "@edifice.io/icons";
4
- function useReactionIcons() {
5
- return {
6
- getReactionIcon: (reactionType, asCounter) => {
7
- switch (reactionType) {
8
- case "REACTION_1":
9
- return asCounter ? /* @__PURE__ */ jsx(ThanksCounter, {}) : /* @__PURE__ */ jsx(Thanks, {});
10
- case "REACTION_2":
11
- return asCounter ? /* @__PURE__ */ jsx(GreatCounter, {}) : /* @__PURE__ */ jsx(Great, {});
12
- case "REACTION_3":
13
- return asCounter ? /* @__PURE__ */ jsx(CongratsCounter, {}) : /* @__PURE__ */ jsx(Congrats, {});
14
- case "REACTION_4":
15
- return asCounter ? /* @__PURE__ */ jsx(InterestingCounter, {}) : /* @__PURE__ */ jsx(Interesting, {});
16
- default:
17
- return /* @__PURE__ */ jsx(Reaction, {});
18
- }
19
- },
20
- getReactionLabel: (reactionType) => {
21
- switch (reactionType) {
22
- case "REACTION_1":
23
- return "audience.reaction.thanks";
24
- case "REACTION_2":
25
- return "audience.reaction.great";
26
- case "REACTION_3":
27
- return "audience.reaction.congrats";
28
- case "REACTION_4":
29
- return "audience.reaction.interesting";
30
- default:
31
- return "audience.reaction.default";
32
- }
33
- }
34
- };
35
- }
36
- export {
37
- useReactionIcons as default
38
- };
@@ -1,15 +0,0 @@
1
- import { ReactionType } from 'edifice-ts-client';
2
- /**
3
- * This hook implements some logic and provides functions to easily call "audience" backend endpoints.
4
- * @param module application code, e.g. "blog"
5
- * @param resourceType type of resource, e.g. "post"
6
- * @returns functions to easily call "audience" backend endpoints
7
- */
8
- export default function useReactions(module: string, resourceType: string): {
9
- availableReactions: ("REACTION_1" | "REACTION_2" | "REACTION_3" | "REACTION_4")[];
10
- loadReactionDetails: (resourceId: string, page: number, size?: number) => Promise<import('edifice-ts-client').ReactionDetailsData | undefined>;
11
- loadReactionSummaries: (resourceIds: string[]) => Promise<{
12
- [resourceId: string]: import('edifice-ts-client').ReactionSummaryData | undefined;
13
- }>;
14
- applyReaction: (resourceId: string, newReaction: ReactionType, oldReaction: ReactionType | null) => Promise<"-" | "+" | "=">;
15
- };
@@ -1,35 +0,0 @@
1
- import { useRef, useState, useCallback, useEffect } from "react";
2
- import { odeServices, ERROR_CODE } from "edifice-ts-client";
3
- function useReactions(module, resourceType) {
4
- const {
5
- reactions
6
- } = useRef(odeServices.audience(module, resourceType)).current, [availableReactions, setAvailableReactions] = useState([]);
7
- async function loadAvailableReactions() {
8
- const results = await reactions.loadAvailableReactions();
9
- results && setAvailableReactions(results);
10
- }
11
- async function loadReactionSummaries(resourceIds) {
12
- return await reactions.loadReactionSummaries(resourceIds);
13
- }
14
- const loadReactionDetails = async (resourceId, page, size = 30) => await reactions.loadReactionDetails(resourceId, page, size), applyReaction = useCallback(
15
- async (resourceId, newReaction, oldReaction) => {
16
- if (newReaction !== oldReaction && availableReactions.indexOf(newReaction) < 0)
17
- return Promise.reject(ERROR_CODE.MALFORMED_DATA);
18
- let result = "+";
19
- return oldReaction ? newReaction === oldReaction ? (await reactions.deleteReaction(resourceId), result = "-") : (await reactions.updateReaction(resourceId, newReaction), result = "=") : await reactions.createReaction(resourceId, newReaction), odeServices.http().isResponseError() ? Promise.reject(ERROR_CODE.UNKNOWN) : result;
20
- },
21
- // eslint-disable-next-line react-hooks/exhaustive-deps
22
- [availableReactions]
23
- );
24
- return useEffect(() => {
25
- loadAvailableReactions();
26
- }, []), {
27
- availableReactions,
28
- loadReactionDetails,
29
- loadReactionSummaries,
30
- applyReaction
31
- };
32
- }
33
- export {
34
- useReactions as default
35
- };
@@ -1,11 +0,0 @@
1
- /**
2
- * This hook provides functions to easily call "audience" backend endpoints.
3
- * @param module application code, e.g. "blog"
4
- * @param resourceType type of resource, e.g. "post"
5
- * @returns functions to easily call "audience" backend endpoints.
6
- */
7
- export default function useViews(module: string, resourceType: string): {
8
- getViewsCounter: (resourceIds: string[]) => Promise<import('edifice-ts-client').ViewsCounters>;
9
- getViewsDetail: (resourceId: string) => Promise<import('edifice-ts-client').ViewsDetails | undefined>;
10
- triggerView: (resourceId: string) => Promise<void>;
11
- };
@@ -1,13 +0,0 @@
1
- import { WorkspaceElement } from 'edifice-ts-client';
2
- import { CardProps } from '../Card/Card';
3
- export interface FileCardProps extends CardProps {
4
- /**
5
- * WorkspaceElement
6
- * */
7
- doc: WorkspaceElement;
8
- }
9
- declare const FileCard: {
10
- ({ doc, isClickable, isSelectable, isSelected, onClick, className, }: FileCardProps): import("react/jsx-runtime").JSX.Element;
11
- displayName: string;
12
- };
13
- export default FileCard;