@edifice.io/react 1.7.4-develop-pedago.20241211160712
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +661 -0
- package/README.md +110 -0
- package/dist/audience.js +16 -0
- package/dist/comments.js +4 -0
- package/dist/components/ActionBar/ActionBar.d.ts +9 -0
- package/dist/components/ActionBar/ActionBar.js +8 -0
- package/dist/components/ActionBar/index.d.ts +2 -0
- package/dist/components/Alert/Alert.d.ts +60 -0
- package/dist/components/Alert/Alert.js +81 -0
- package/dist/components/Alert/index.d.ts +2 -0
- package/dist/components/AppHeader/AppHeader.d.ts +17 -0
- package/dist/components/AppHeader/AppHeader.js +22 -0
- package/dist/components/AppHeader/index.d.ts +2 -0
- package/dist/components/AppIcon/AppIcon.d.ts +45 -0
- package/dist/components/AppIcon/AppIcon.js +51 -0
- package/dist/components/AppIcon/index.d.ts +1 -0
- package/dist/components/Attachment/Attachment.d.ts +14 -0
- package/dist/components/Attachment/Attachment.js +18 -0
- package/dist/components/Attachment/index.d.ts +2 -0
- package/dist/components/Avatar/Avatar.d.ts +31 -0
- package/dist/components/Avatar/Avatar.js +33 -0
- package/dist/components/Avatar/index.d.ts +2 -0
- package/dist/components/Badge/Badge.d.ts +49 -0
- package/dist/components/Badge/Badge.js +18 -0
- package/dist/components/Badge/index.d.ts +2 -0
- package/dist/components/Breadcrumb/Breadcrumb.d.ts +13 -0
- package/dist/components/Breadcrumb/Breadcrumb.js +28 -0
- package/dist/components/Breadcrumb/BreadcrumbItem.d.ts +13 -0
- package/dist/components/Breadcrumb/BreadcrumbItem.js +14 -0
- package/dist/components/Breadcrumb/BreadcrumbList.d.ts +13 -0
- package/dist/components/Breadcrumb/BreadcrumbList.js +13 -0
- package/dist/components/Breadcrumb/BreadcrumbNav.d.ts +18 -0
- package/dist/components/Breadcrumb/BreadcrumbNav.js +22 -0
- package/dist/components/Breadcrumb/index.d.ts +2 -0
- package/dist/components/Button/Button.d.ts +63 -0
- package/dist/components/Button/Button.js +35 -0
- package/dist/components/Button/IconButton.d.ts +11 -0
- package/dist/components/Button/IconButton.js +18 -0
- package/dist/components/Button/SearchButton.d.ts +21 -0
- package/dist/components/Button/SearchButton.js +17 -0
- package/dist/components/Button/index.d.ts +6 -0
- package/dist/components/Card/Card.d.ts +87 -0
- package/dist/components/Card/Card.js +53 -0
- package/dist/components/Card/CardBody.d.ts +10 -0
- package/dist/components/Card/CardBody.js +18 -0
- package/dist/components/Card/CardContext.d.ts +12 -0
- package/dist/components/Card/CardContext.js +11 -0
- package/dist/components/Card/CardFooter.d.ts +8 -0
- package/dist/components/Card/CardFooter.js +7 -0
- package/dist/components/Card/CardHeader.d.ts +5 -0
- package/dist/components/Card/CardHeader.js +22 -0
- package/dist/components/Card/CardImage.d.ts +9 -0
- package/dist/components/Card/CardImage.js +21 -0
- package/dist/components/Card/CardText.d.ts +9 -0
- package/dist/components/Card/CardText.js +12 -0
- package/dist/components/Card/CardTitle.d.ts +9 -0
- package/dist/components/Card/CardTitle.js +12 -0
- package/dist/components/Card/CardUser.d.ts +8 -0
- package/dist/components/Card/CardUser.js +10 -0
- package/dist/components/Card/index.d.ts +2 -0
- package/dist/components/Checkbox/Checkbox.d.ts +20 -0
- package/dist/components/Checkbox/Checkbox.js +35 -0
- package/dist/components/Checkbox/index.d.ts +2 -0
- package/dist/components/ColorPicker/ColorPalette.d.ts +46 -0
- package/dist/components/ColorPicker/ColorPalette.js +171 -0
- package/dist/components/ColorPicker/ColorPicker.d.ts +18 -0
- package/dist/components/ColorPicker/ColorPicker.js +38 -0
- package/dist/components/ColorPicker/ColorPickerItem.d.ts +20 -0
- package/dist/components/ColorPicker/ColorPickerItem.js +13 -0
- package/dist/components/ColorPicker/index.d.ts +5 -0
- package/dist/components/Combobox/Combobox.d.ts +31 -0
- package/dist/components/Combobox/Combobox.js +40 -0
- package/dist/components/Combobox/ComboboxTrigger.d.ts +9 -0
- package/dist/components/Combobox/ComboboxTrigger.js +30 -0
- package/dist/components/Combobox/index.d.ts +2 -0
- package/dist/components/Dropdown/Dropdown.d.ts +79 -0
- package/dist/components/Dropdown/Dropdown.js +60 -0
- package/dist/components/Dropdown/DropdownCheckboxItem.d.ts +24 -0
- package/dist/components/Dropdown/DropdownCheckboxItem.js +34 -0
- package/dist/components/Dropdown/DropdownContext.d.ts +8 -0
- package/dist/components/Dropdown/DropdownContext.js +11 -0
- package/dist/components/Dropdown/DropdownItem.d.ts +29 -0
- package/dist/components/Dropdown/DropdownItem.js +33 -0
- package/dist/components/Dropdown/DropdownMenu.d.ts +35 -0
- package/dist/components/Dropdown/DropdownMenu.js +26 -0
- package/dist/components/Dropdown/DropdownMenuGroup.d.ts +13 -0
- package/dist/components/Dropdown/DropdownMenuGroup.js +12 -0
- package/dist/components/Dropdown/DropdownRadioItem.d.ts +24 -0
- package/dist/components/Dropdown/DropdownRadioItem.js +34 -0
- package/dist/components/Dropdown/DropdownSeparator.d.ts +5 -0
- package/dist/components/Dropdown/DropdownSeparator.js +5 -0
- package/dist/components/Dropdown/DropdownTrigger.d.ts +37 -0
- package/dist/components/Dropdown/DropdownTrigger.js +34 -0
- package/dist/components/Dropdown/index.d.ts +2 -0
- package/dist/components/Dropzone/Dropzone.d.ts +52 -0
- package/dist/components/Dropzone/Dropzone.js +55 -0
- package/dist/components/Dropzone/DropzoneContext.d.ts +9 -0
- package/dist/components/Dropzone/DropzoneContext.js +12 -0
- package/dist/components/Dropzone/DropzoneDrag.d.ts +5 -0
- package/dist/components/Dropzone/DropzoneDrag.js +11 -0
- package/dist/components/Dropzone/DropzoneFile.d.ts +9 -0
- package/dist/components/Dropzone/DropzoneFile.js +30 -0
- package/dist/components/Dropzone/DropzoneImport.d.ts +5 -0
- package/dist/components/Dropzone/DropzoneImport.js +28 -0
- package/dist/components/Dropzone/index.d.ts +3 -0
- package/dist/components/EmptyScreen/EmptyScreen.d.ts +31 -0
- package/dist/components/EmptyScreen/EmptyScreen.js +21 -0
- package/dist/components/EmptyScreen/index.d.ts +2 -0
- package/dist/components/Form/FormContext.d.ts +6 -0
- package/dist/components/Form/FormContext.js +11 -0
- package/dist/components/Form/FormControl.d.ts +42 -0
- package/dist/components/Form/FormControl.js +32 -0
- package/dist/components/Form/FormText.d.ts +8 -0
- package/dist/components/Form/FormText.js +17 -0
- package/dist/components/Form/index.d.ts +3 -0
- package/dist/components/Grid/Grid.d.ts +56 -0
- package/dist/components/Grid/Grid.js +32 -0
- package/dist/components/Grid/index.d.ts +1 -0
- package/dist/components/Heading/Heading.d.ts +27 -0
- package/dist/components/Heading/Heading.js +16 -0
- package/dist/components/Heading/index.d.ts +2 -0
- package/dist/components/Image/Image.d.ts +28 -0
- package/dist/components/Image/Image.js +41 -0
- package/dist/components/Image/index.d.ts +2 -0
- package/dist/components/Input/Input.d.ts +33 -0
- package/dist/components/Input/Input.js +31 -0
- package/dist/components/Input/index.d.ts +2 -0
- package/dist/components/Label/Label.d.ts +26 -0
- package/dist/components/Label/Label.js +37 -0
- package/dist/components/Label/index.d.ts +2 -0
- package/dist/components/Layout/Layout.d.ts +12 -0
- package/dist/components/Layout/Layout.js +44 -0
- package/dist/components/Layout/components/Header.d.ts +9 -0
- package/dist/components/Layout/components/Header.js +189 -0
- package/dist/components/Layout/components/Help.d.ts +8 -0
- package/dist/components/Layout/components/Help.js +25 -0
- package/dist/components/Layout/components/Main.d.ts +16 -0
- package/dist/components/Layout/components/NavItem.d.ts +6 -0
- package/dist/components/Layout/components/NavItem.js +14 -0
- package/dist/components/Layout/components/NavLink.d.ts +24 -0
- package/dist/components/Layout/components/NavLink.js +19 -0
- package/dist/components/Layout/components/Navbar.d.ts +6 -0
- package/dist/components/Layout/components/Navbar.js +13 -0
- package/dist/components/Layout/components/NavbarNav.d.ts +6 -0
- package/dist/components/Layout/components/NavbarNav.js +13 -0
- package/dist/components/Layout/components/SearchEngine.d.ts +5 -0
- package/dist/components/Layout/components/SearchEngine.js +33 -0
- package/dist/components/Layout/components/WidgetApps.d.ts +9 -0
- package/dist/components/Layout/components/WidgetApps.js +23 -0
- package/dist/components/Layout/hooks/index.d.ts +2 -0
- package/dist/components/Layout/hooks/useHeader.d.ts +5 -0
- package/dist/components/Layout/hooks/useHelp.d.ts +9 -0
- package/dist/components/Layout/hooks/useHelp.js +85 -0
- package/dist/components/Layout/index.d.ts +1 -0
- package/dist/components/List/List.d.ts +23 -0
- package/dist/components/List/List.js +50 -0
- package/dist/components/List/index.d.ts +1 -0
- package/dist/components/Loading/Loading.d.ts +29 -0
- package/dist/components/Loading/Loading.js +27 -0
- package/dist/components/Loading/index.d.ts +2 -0
- package/dist/components/LoadingScreen/LoadingScreen.d.ts +6 -0
- package/dist/components/LoadingScreen/LoadingScreen.js +25 -0
- package/dist/components/LoadingScreen/index.d.ts +1 -0
- package/dist/components/Logo/Logo.d.ts +7 -0
- package/dist/components/Logo/Logo.js +14 -0
- package/dist/components/Logo/index.d.ts +2 -0
- package/dist/components/Menu/components/Menu.d.ts +14 -0
- package/dist/components/Menu/components/Menu.js +27 -0
- package/dist/components/Menu/components/MenuButton.d.ts +5 -0
- package/dist/components/Menu/components/MenuButton.js +21 -0
- package/dist/components/Menu/components/MenuContext.d.ts +10 -0
- package/dist/components/Menu/components/MenuContext.js +12 -0
- package/dist/components/Menu/components/MenuItem.d.ts +4 -0
- package/dist/components/Menu/components/MenuItem.js +19 -0
- package/dist/components/Menu/hooks/useMenu.d.ts +9 -0
- package/dist/components/Menu/hooks/useMenu.js +50 -0
- package/dist/components/Menu/index.d.ts +2 -0
- package/dist/components/Modal/Modal.d.ts +55 -0
- package/dist/components/Modal/Modal.js +72 -0
- package/dist/components/Modal/ModalBody.d.ts +19 -0
- package/dist/components/Modal/ModalBody.js +15 -0
- package/dist/components/Modal/ModalContext.d.ts +7 -0
- package/dist/components/Modal/ModalContext.js +15 -0
- package/dist/components/Modal/ModalFooter.d.ts +12 -0
- package/dist/components/Modal/ModalFooter.js +5 -0
- package/dist/components/Modal/ModalHeader.d.ts +19 -0
- package/dist/components/Modal/ModalHeader.js +27 -0
- package/dist/components/Modal/ModalSubtitle.d.ts +12 -0
- package/dist/components/Modal/ModalSubtitle.js +5 -0
- package/dist/components/Modal/index.d.ts +2 -0
- package/dist/components/Popover/Popover.d.ts +33 -0
- package/dist/components/Popover/Popover.js +51 -0
- package/dist/components/Popover/index.d.ts +1 -0
- package/dist/components/Radio/Radio.d.ts +25 -0
- package/dist/components/Radio/Radio.js +31 -0
- package/dist/components/Radio/index.d.ts +2 -0
- package/dist/components/SearchBar/SearchBar.d.ts +51 -0
- package/dist/components/SearchBar/SearchBar.js +36 -0
- package/dist/components/SearchBar/index.d.ts +2 -0
- package/dist/components/Select/Select.d.ts +39 -0
- package/dist/components/Select/Select.js +37 -0
- package/dist/components/Select/SelectTrigger.d.ts +8 -0
- package/dist/components/Select/SelectTrigger.js +6 -0
- package/dist/components/Select/index.d.ts +2 -0
- package/dist/components/Table/components/Table.d.ts +30 -0
- package/dist/components/Table/components/Table.js +19 -0
- package/dist/components/Table/components/TableTbody.d.ts +6 -0
- package/dist/components/Table/components/TableTbody.js +11 -0
- package/dist/components/Table/components/TableTd.d.ts +4 -0
- package/dist/components/Table/components/TableTd.js +11 -0
- package/dist/components/Table/components/TableTh.d.ts +4 -0
- package/dist/components/Table/components/TableTh.js +11 -0
- package/dist/components/Table/components/TableThead.d.ts +4 -0
- package/dist/components/Table/components/TableThead.js +11 -0
- package/dist/components/Table/components/TableTr.d.ts +4 -0
- package/dist/components/Table/components/TableTr.js +11 -0
- package/dist/components/Table/index.d.ts +2 -0
- package/dist/components/Tabs/components/Tabs.d.ts +42 -0
- package/dist/components/Tabs/components/Tabs.js +45 -0
- package/dist/components/Tabs/components/TabsItem.d.ts +26 -0
- package/dist/components/Tabs/components/TabsItem.js +26 -0
- package/dist/components/Tabs/components/TabsList.d.ts +6 -0
- package/dist/components/Tabs/components/TabsList.js +24 -0
- package/dist/components/Tabs/components/TabsPanel.d.ts +17 -0
- package/dist/components/Tabs/components/TabsPanel.js +14 -0
- package/dist/components/Tabs/context/TabsContext.d.ts +12 -0
- package/dist/components/Tabs/context/TabsContext.js +12 -0
- package/dist/components/Tabs/hooks/useTabs.d.ts +15 -0
- package/dist/components/Tabs/hooks/useTabs.js +61 -0
- package/dist/components/Tabs/index.d.ts +2 -0
- package/dist/components/TextArea/TextArea.d.ts +33 -0
- package/dist/components/TextArea/TextArea.js +34 -0
- package/dist/components/TextArea/TextareaCounter.d.ts +4 -0
- package/dist/components/TextArea/TextareaCounter.js +8 -0
- package/dist/components/TextArea/index.d.ts +2 -0
- package/dist/components/Toolbar/Toolbar.d.ts +76 -0
- package/dist/components/Toolbar/Toolbar.js +78 -0
- package/dist/components/Toolbar/index.d.ts +1 -0
- package/dist/components/Tooltip/Tooltip.d.ts +22 -0
- package/dist/components/Tooltip/Tooltip.js +41 -0
- package/dist/components/Tooltip/index.d.ts +2 -0
- package/dist/components/Tree/components/DndTree.d.ts +3 -0
- package/dist/components/Tree/components/DndTree.js +61 -0
- package/dist/components/Tree/components/SortableTree.d.ts +9 -0
- package/dist/components/Tree/components/SortableTree.js +138 -0
- package/dist/components/Tree/components/Tree.d.ts +7 -0
- package/dist/components/Tree/components/Tree.js +86 -0
- package/dist/components/Tree/hooks/useTree.d.ts +31 -0
- package/dist/components/Tree/hooks/useTree.js +85 -0
- package/dist/components/Tree/hooks/useTreeSortable.d.ts +38 -0
- package/dist/components/Tree/hooks/useTreeSortable.js +202 -0
- package/dist/components/Tree/index.d.ts +6 -0
- package/dist/components/Tree/types/index.d.ts +174 -0
- package/dist/components/Tree/utilities/tree-sortable.d.ts +30 -0
- package/dist/components/Tree/utilities/tree-sortable.js +160 -0
- package/dist/components/Tree/utilities/tree.d.ts +34 -0
- package/dist/components/Tree/utilities/tree.js +44 -0
- package/dist/components/TreeView/TreeNode.d.ts +48 -0
- package/dist/components/TreeView/TreeNode.js +69 -0
- package/dist/components/TreeView/TreeView.d.ts +56 -0
- package/dist/components/TreeView/TreeView.js +37 -0
- package/dist/components/TreeView/hooks/useTreeView.d.ts +33 -0
- package/dist/components/TreeView/hooks/useTreeView.js +105 -0
- package/dist/components/TreeView/index.d.ts +5 -0
- package/dist/components/TreeView/utilities/index.d.ts +1 -0
- package/dist/components/TreeView/utilities/treeview.d.ts +35 -0
- package/dist/components/TreeView/utilities/treeview.js +177 -0
- package/dist/components/VisuallyHidden/VisuallyHidden.d.ts +6 -0
- package/dist/components/VisuallyHidden/VisuallyHidden.js +8 -0
- package/dist/components/VisuallyHidden/index.d.ts +1 -0
- package/dist/components/index.d.ts +41 -0
- package/dist/editor.js +58 -0
- package/dist/hooks/index.d.ts +39 -0
- package/dist/hooks/useAvatar/index.d.ts +1 -0
- package/dist/hooks/useAvatar/useAvatar.d.ts +6 -0
- package/dist/hooks/useAvatar/useAvatar.js +30 -0
- package/dist/hooks/useBookmark/index.d.ts +1 -0
- package/dist/hooks/useBookmark/useBookmark.d.ts +2 -0
- package/dist/hooks/useBookmark/useBookmark.js +14 -0
- package/dist/hooks/useBreakpoint/index.d.ts +1 -0
- package/dist/hooks/useBreakpoint/useBreakpoint.d.ts +20 -0
- package/dist/hooks/useBreakpoint/useBreakpoint.js +14 -0
- package/dist/hooks/useBrowserInfo/index.d.ts +1 -0
- package/dist/hooks/useBrowserInfo/useBrowserInfo.d.ts +9 -0
- package/dist/hooks/useBrowserInfo/useBrowserInfo.js +16 -0
- package/dist/hooks/useCantoo/index.d.ts +1 -0
- package/dist/hooks/useCantoo/useCantoo.d.ts +1 -0
- package/dist/hooks/useCantoo/useCantoo.js +18 -0
- package/dist/hooks/useCheckable/index.d.ts +1 -0
- package/dist/hooks/useCheckable/useCheckable.d.ts +9 -0
- package/dist/hooks/useCheckable/useCheckable.js +21 -0
- package/dist/hooks/useClickOutside/index.d.ts +1 -0
- package/dist/hooks/useClickOutside/useClickOutside.d.ts +1 -0
- package/dist/hooks/useClickOutside/useClickOutside.js +26 -0
- package/dist/hooks/useConf/index.d.ts +1 -0
- package/dist/hooks/useConf/useConf.d.ts +4 -0
- package/dist/hooks/useConf/useConf.js +13 -0
- package/dist/hooks/useConversation/index.d.ts +1 -0
- package/dist/hooks/useConversation/useConversation.d.ts +6 -0
- package/dist/hooks/useConversation/useConversation.js +43 -0
- package/dist/hooks/useCookiesConsent/index.d.ts +1 -0
- package/dist/hooks/useCookiesConsent/useCookiesConsent.d.ts +5 -0
- package/dist/hooks/useCookiesConsent/useCookiesConsent.js +29 -0
- package/dist/hooks/useDate/index.d.ts +2 -0
- package/dist/hooks/useDate/useDate.d.ts +14 -0
- package/dist/hooks/useDate/useDate.js +65 -0
- package/dist/hooks/useDebounce/index.d.ts +1 -0
- package/dist/hooks/useDebounce/useDebounce.d.ts +2 -0
- package/dist/hooks/useDebounce/useDebounce.js +15 -0
- package/dist/hooks/useDirectory/index.d.ts +1 -0
- package/dist/hooks/useDirectory/useDirectory.d.ts +6 -0
- package/dist/hooks/useDirectory/useDirectory.js +16 -0
- package/dist/hooks/useDropdown/index.d.ts +1 -0
- package/dist/hooks/useDropdown/useDropdown.d.ts +32 -0
- package/dist/hooks/useDropdown/useDropdown.js +158 -0
- package/dist/hooks/useDropzone/index.d.ts +1 -0
- package/dist/hooks/useDropzone/useDropzone.d.ts +34 -0
- package/dist/hooks/useDropzone/useDropzone.js +78 -0
- package/dist/hooks/useEdificeIcons/index.d.ts +1 -0
- package/dist/hooks/useEdificeIcons/useEdificeIcons.d.ts +9 -0
- package/dist/hooks/useEdificeIcons/useEdificeIcons.js +92 -0
- package/dist/hooks/useHasWorkflow/index.d.ts +1 -0
- package/dist/hooks/useHasWorkflow/useHasWorkflow.d.ts +1 -0
- package/dist/hooks/useHasWorkflow/useHasWorkflow.js +22 -0
- package/dist/hooks/useHeader/index.d.ts +1 -0
- package/dist/hooks/useHeader/useHeader.d.ts +5 -0
- package/dist/hooks/useHeader/useHeader.js +46 -0
- package/dist/hooks/useHover/index.d.ts +1 -0
- package/dist/hooks/useHover/useHover.d.ts +2 -0
- package/dist/hooks/useHover/useHover.js +22 -0
- package/dist/hooks/useHttpErrorToast/index.d.ts +1 -0
- package/dist/hooks/useHttpErrorToast/useHttpErrorToast.d.ts +3 -0
- package/dist/hooks/useHttpErrorToast/useHttpErrorToast.js +21 -0
- package/dist/hooks/useImage/index.d.ts +1 -0
- package/dist/hooks/useImage/useImage.d.ts +9 -0
- package/dist/hooks/useImage/useImage.js +18 -0
- package/dist/hooks/useIsAdml/index.d.ts +1 -0
- package/dist/hooks/useIsAdml/useIsAdml.d.ts +3 -0
- package/dist/hooks/useIsAdml/useIsAdml.js +18 -0
- package/dist/hooks/useKeyPress/index.d.ts +1 -0
- package/dist/hooks/useKeyPress/useKeyPress.d.ts +1 -0
- package/dist/hooks/useKeyPress/useKeyPress.js +14 -0
- package/dist/hooks/useLibraryUrl/index.d.ts +1 -0
- package/dist/hooks/useLibraryUrl/useLibraryUrl.d.ts +7 -0
- package/dist/hooks/useLibraryUrl/useLibraryUrl.js +21 -0
- package/dist/hooks/useMediaLibrary/index.d.ts +1 -0
- package/dist/hooks/useMediaLibrary/useMediaLibrary.d.ts +12 -0
- package/dist/hooks/useMediaLibrary/useMediaLibrary.js +58 -0
- package/dist/hooks/usePreferences/index.d.ts +1 -0
- package/dist/hooks/usePreferences/usePreferences.d.ts +4 -0
- package/dist/hooks/usePreferences/usePreferences.js +10 -0
- package/dist/hooks/useResource/index.d.ts +1 -0
- package/dist/hooks/useResource/useResource.d.ts +3 -0
- package/dist/hooks/useResource/useResource.js +25 -0
- package/dist/hooks/useResourceSearch/index.d.ts +1 -0
- package/dist/hooks/useResourceSearch/useResourceSearch.d.ts +18 -0
- package/dist/hooks/useResourceSearch/useResourceSearch.js +19 -0
- package/dist/hooks/useScrollToTop/index.d.ts +1 -0
- package/dist/hooks/useScrollToTop/useScrollToTop.d.ts +1 -0
- package/dist/hooks/useScrollToTop/useScrollToTop.js +9 -0
- package/dist/hooks/useSession/index.d.ts +1 -0
- package/dist/hooks/useSession/useSession.d.ts +1 -0
- package/dist/hooks/useSession/useSession.js +11 -0
- package/dist/hooks/useThumbnail/index.d.ts +1 -0
- package/dist/hooks/useThumbnail/useThumbnail.d.ts +14 -0
- package/dist/hooks/useThumbnail/useThumbnail.js +29 -0
- package/dist/hooks/useTitle/index.d.ts +1 -0
- package/dist/hooks/useTitle/useTitle.d.ts +1 -0
- package/dist/hooks/useTitle/useTitle.js +10 -0
- package/dist/hooks/useToast/index.d.ts +1 -0
- package/dist/hooks/useToast/useToast.d.ts +17 -0
- package/dist/hooks/useToast/useToast.js +34 -0
- package/dist/hooks/useToggle/index.d.ts +1 -0
- package/dist/hooks/useToggle/useToggle.d.ts +1 -0
- package/dist/hooks/useToggle/useToggle.js +10 -0
- package/dist/hooks/useTrapFocus/index.d.ts +1 -0
- package/dist/hooks/useTrapFocus/useTrapFocus.d.ts +1 -0
- package/dist/hooks/useTrapFocus/useTrapFocus.js +16 -0
- package/dist/hooks/useTrashedResource/index.d.ts +1 -0
- package/dist/hooks/useTrashedResource/useTrashedResource.d.ts +6 -0
- package/dist/hooks/useTrashedResource/useTrashedResource.js +27 -0
- package/dist/hooks/useUpload/index.d.ts +1 -0
- package/dist/hooks/useUpload/useUpload.d.ts +18 -0
- package/dist/hooks/useUpload/useUpload.js +106 -0
- package/dist/hooks/useUploadFiles/index.d.ts +1 -0
- package/dist/hooks/useUploadFiles/useUploadFiles.d.ts +25 -0
- package/dist/hooks/useUploadFiles/useUploadFiles.js +100 -0
- package/dist/hooks/useUser/index.d.ts +1 -0
- package/dist/hooks/useUser/useUser.d.ts +7 -0
- package/dist/hooks/useUser/useUser.js +22 -0
- package/dist/hooks/useWorkspaceFile/index.d.ts +1 -0
- package/dist/hooks/useWorkspaceFile/useWorkspaceFile.d.ts +21 -0
- package/dist/hooks/useWorkspaceFile/useWorkspaceFile.js +49 -0
- package/dist/hooks/useWorkspaceSearch/index.d.ts +1 -0
- package/dist/hooks/useWorkspaceSearch/useWorkspaceSearch.d.ts +9 -0
- package/dist/hooks/useWorkspaceSearch/useWorkspaceSearch.js +58 -0
- package/dist/hooks/useXitiTrackPageLoad/index.d.ts +1 -0
- package/dist/hooks/useXitiTrackPageLoad/useXitiTrackPageLoad.d.ts +4 -0
- package/dist/hooks/useXitiTrackPageLoad/useXitiTrackPageLoad.js +28 -0
- package/dist/hooks/useZendeskGuide/index.d.ts +1 -0
- package/dist/hooks/useZendeskGuide/useZendeskGuide.d.ts +2 -0
- package/dist/hooks/useZendeskGuide/useZendeskGuide.js +101 -0
- package/dist/icons-apps.js +232 -0
- package/dist/icons-audience.js +28 -0
- package/dist/icons-nav.js +28 -0
- package/dist/icons.js +300 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.js +236 -0
- package/dist/modals.js +18 -0
- package/dist/modules/audience/ReactionChoice.d.ts +11 -0
- package/dist/modules/audience/ReactionChoice.js +33 -0
- package/dist/modules/audience/ReactionModal.Card.d.ts +4 -0
- package/dist/modules/audience/ReactionModal.Card.js +33 -0
- package/dist/modules/audience/ReactionModal.d.ts +20 -0
- package/dist/modules/audience/ReactionModal.js +72 -0
- package/dist/modules/audience/ReactionSummary.d.ts +10 -0
- package/dist/modules/audience/ReactionSummary.js +27 -0
- package/dist/modules/audience/ViewsByProfileCard.d.ts +9 -0
- package/dist/modules/audience/ViewsByProfileCard.js +40 -0
- package/dist/modules/audience/ViewsCounter.d.ts +10 -0
- package/dist/modules/audience/ViewsCounter.js +18 -0
- package/dist/modules/audience/ViewsModal.d.ts +11 -0
- package/dist/modules/audience/ViewsModal.js +41 -0
- package/dist/modules/audience/hooks/useReactionIcons.d.ts +5 -0
- package/dist/modules/audience/hooks/useReactionIcons.js +45 -0
- package/dist/modules/audience/hooks/useReactions.d.ts +15 -0
- package/dist/modules/audience/hooks/useReactions.js +35 -0
- package/dist/modules/audience/hooks/useViews.d.ts +11 -0
- package/dist/modules/audience/index.d.ts +12 -0
- package/dist/modules/comments/components/BadgeProfile.d.ts +4 -0
- package/dist/modules/comments/components/BadgeProfile.js +18 -0
- package/dist/modules/comments/components/Comment.d.ts +7 -0
- package/dist/modules/comments/components/Comment.js +72 -0
- package/dist/modules/comments/components/CommentAvatar.d.ts +3 -0
- package/dist/modules/comments/components/CommentAvatar.js +17 -0
- package/dist/modules/comments/components/CommentDate.d.ts +4 -0
- package/dist/modules/comments/components/CommentDate.js +27 -0
- package/dist/modules/comments/components/CommentForm.d.ts +3 -0
- package/dist/modules/comments/components/CommentForm.js +37 -0
- package/dist/modules/comments/components/CommentHeader.d.ts +3 -0
- package/dist/modules/comments/components/CommentHeader.js +8 -0
- package/dist/modules/comments/components/CommentList.d.ts +1 -0
- package/dist/modules/comments/components/CommentList.js +22 -0
- package/dist/modules/comments/components/CommentTitle.d.ts +4 -0
- package/dist/modules/comments/components/CommentTitle.js +7 -0
- package/dist/modules/comments/components/TextCounter.d.ts +4 -0
- package/dist/modules/comments/components/TextCounter.js +8 -0
- package/dist/modules/comments/constants.d.ts +20 -0
- package/dist/modules/comments/constants.js +8 -0
- package/dist/modules/comments/context/Context.d.ts +16 -0
- package/dist/modules/comments/context/Context.js +5 -0
- package/dist/modules/comments/hooks/useAutosizeTextarea.d.ts +1 -0
- package/dist/modules/comments/hooks/useAutosizeTextarea.js +19 -0
- package/dist/modules/comments/hooks/useComments.d.ts +29 -0
- package/dist/modules/comments/hooks/useComments.js +66 -0
- package/dist/modules/comments/hooks/useCommentsContext.d.ts +15 -0
- package/dist/modules/comments/hooks/useCommentsContext.js +11 -0
- package/dist/modules/comments/hooks/useProfileQueries.d.ts +4 -0
- package/dist/modules/comments/hooks/useProfileQueries.js +26 -0
- package/dist/modules/comments/index.d.ts +1 -0
- package/dist/modules/comments/provider/CommentProvider.d.ts +3 -0
- package/dist/modules/comments/provider/CommentProvider.js +85 -0
- package/dist/modules/comments/types.d.ts +102 -0
- package/dist/modules/editor/components/BubbleMenuEditImage/BubbleMenuEditImage.d.ts +8 -0
- package/dist/modules/editor/components/BubbleMenuEditImage/BubbleMenuEditImage.js +135 -0
- package/dist/modules/editor/components/BubbleMenuEditImage/index.d.ts +1 -0
- package/dist/modules/editor/components/Editor/Editor.d.ts +45 -0
- package/dist/modules/editor/components/Editor/Editor.js +82 -0
- package/dist/modules/editor/components/Editor/MathsModal.d.ts +7 -0
- package/dist/modules/editor/components/Editor/MathsModal.js +50 -0
- package/dist/modules/editor/components/Editor/index.d.ts +2 -0
- package/dist/modules/editor/components/EditorToolbar/EditorToolbar.DropdownMenu.d.ts +22 -0
- package/dist/modules/editor/components/EditorToolbar/EditorToolbar.DropdownMenu.js +17 -0
- package/dist/modules/editor/components/EditorToolbar/EditorToolbar.Emoji.d.ts +14 -0
- package/dist/modules/editor/components/EditorToolbar/EditorToolbar.Emoji.js +54 -0
- package/dist/modules/editor/components/EditorToolbar/EditorToolbar.HighlightColor.d.ts +14 -0
- package/dist/modules/editor/components/EditorToolbar/EditorToolbar.HighlightColor.js +47 -0
- package/dist/modules/editor/components/EditorToolbar/EditorToolbar.PlusMenu.d.ts +9 -0
- package/dist/modules/editor/components/EditorToolbar/EditorToolbar.PlusMenu.js +18 -0
- package/dist/modules/editor/components/EditorToolbar/EditorToolbar.TextColor.d.ts +14 -0
- package/dist/modules/editor/components/EditorToolbar/EditorToolbar.TextColor.js +50 -0
- package/dist/modules/editor/components/EditorToolbar/EditorToolbar.TextSize.d.ts +10 -0
- package/dist/modules/editor/components/EditorToolbar/EditorToolbar.TextSize.js +62 -0
- package/dist/modules/editor/components/EditorToolbar/EditorToolbar.Typography.d.ts +10 -0
- package/dist/modules/editor/components/EditorToolbar/EditorToolbar.Typography.js +52 -0
- package/dist/modules/editor/components/EditorToolbar/EditorToolbar.d.ts +10 -0
- package/dist/modules/editor/components/EditorToolbar/EditorToolbar.js +331 -0
- package/dist/modules/editor/components/EditorToolbar/index.d.ts +1 -0
- package/dist/modules/editor/components/NodeView/AttachmentNodeView.d.ts +2 -0
- package/dist/modules/editor/components/NodeView/AttachmentNodeView.js +10 -0
- package/dist/modules/editor/components/NodeView/AudioNodeView.d.ts +2 -0
- package/dist/modules/editor/components/NodeView/AudioNodeView.js +10 -0
- package/dist/modules/editor/components/NodeView/ImageNodeView.d.ts +3 -0
- package/dist/modules/editor/components/NodeView/ImageNodeView.js +12 -0
- package/dist/modules/editor/components/NodeView/LinkerNodeView.d.ts +2 -0
- package/dist/modules/editor/components/NodeView/LinkerNodeView.js +10 -0
- package/dist/modules/editor/components/NodeView/VideoNodeView.d.ts +2 -0
- package/dist/modules/editor/components/NodeView/VideoNodeView.js +10 -0
- package/dist/modules/editor/components/NodeView/index.d.ts +5 -0
- package/dist/modules/editor/components/Renderer/AttachmentRenderer.d.ts +7 -0
- package/dist/modules/editor/components/Renderer/AttachmentRenderer.js +35 -0
- package/dist/modules/editor/components/Renderer/AudioRenderer.d.ts +7 -0
- package/dist/modules/editor/components/Renderer/AudioRenderer.js +11 -0
- package/dist/modules/editor/components/Renderer/LinkerRenderer.d.ts +9 -0
- package/dist/modules/editor/components/Renderer/LinkerRenderer.js +34 -0
- package/dist/modules/editor/components/Renderer/MediaRenderer.d.ts +3 -0
- package/dist/modules/editor/components/Renderer/MediaRenderer.js +70 -0
- package/dist/modules/editor/components/Renderer/index.d.ts +4 -0
- package/dist/modules/editor/components/Toolbar/LinkToolbar.TippyOptions.d.ts +2 -0
- package/dist/modules/editor/components/Toolbar/LinkToolbar.TippyOptions.js +8 -0
- package/dist/modules/editor/components/Toolbar/LinkToolbar.d.ts +15 -0
- package/dist/modules/editor/components/Toolbar/LinkToolbar.js +61 -0
- package/dist/modules/editor/components/Toolbar/TableToolbar.AddMenu.d.ts +9 -0
- package/dist/modules/editor/components/Toolbar/TableToolbar.AddMenu.js +33 -0
- package/dist/modules/editor/components/Toolbar/TableToolbar.CellColor.d.ts +13 -0
- package/dist/modules/editor/components/Toolbar/TableToolbar.CellColor.js +45 -0
- package/dist/modules/editor/components/Toolbar/TableToolbar.DelMenu.d.ts +9 -0
- package/dist/modules/editor/components/Toolbar/TableToolbar.DelMenu.js +31 -0
- package/dist/modules/editor/components/Toolbar/TableToolbar.d.ts +9 -0
- package/dist/modules/editor/components/Toolbar/TableToolbar.js +89 -0
- package/dist/modules/editor/components/Toolbar/index.d.ts +2 -0
- package/dist/modules/editor/components/index.d.ts +6 -0
- package/dist/modules/editor/hooks/index.d.ts +12 -0
- package/dist/modules/editor/hooks/useActionOptions.d.ts +5 -0
- package/dist/modules/editor/hooks/useActionOptions.js +86 -0
- package/dist/modules/editor/hooks/useCommentEditor.d.ts +13 -0
- package/dist/modules/editor/hooks/useCommentEditor.js +37 -0
- package/dist/modules/editor/hooks/useEditorContext.d.ts +37 -0
- package/dist/modules/editor/hooks/useEditorContext.js +12 -0
- package/dist/modules/editor/hooks/useImageModal.d.ts +31 -0
- package/dist/modules/editor/hooks/useImageModal.js +46 -0
- package/dist/modules/editor/hooks/useImageSelection.d.ts +21 -0
- package/dist/modules/editor/hooks/useImageSelection.js +46 -0
- package/dist/modules/editor/hooks/useLinkToolbar.d.ts +18 -0
- package/dist/modules/editor/hooks/useLinkToolbar.js +37 -0
- package/dist/modules/editor/hooks/useMathsModal.d.ts +17 -0
- package/dist/modules/editor/hooks/useMathsModal.js +17 -0
- package/dist/modules/editor/hooks/useMathsStyles.d.ts +1 -0
- package/dist/modules/editor/hooks/useMathsStyles.js +20 -0
- package/dist/modules/editor/hooks/useMediaLibraryEditor.d.ts +19 -0
- package/dist/modules/editor/hooks/useMediaLibraryEditor.js +152 -0
- package/dist/modules/editor/hooks/useResizeMedia.d.ts +10 -0
- package/dist/modules/editor/hooks/useResizeMedia.js +47 -0
- package/dist/modules/editor/hooks/useSpeechRecognition.d.ts +6 -0
- package/dist/modules/editor/hooks/useSpeechRecognition.js +21 -0
- package/dist/modules/editor/hooks/useSpeechSynthetisis.d.ts +12 -0
- package/dist/modules/editor/hooks/useSpeechSynthetisis.js +20 -0
- package/dist/modules/editor/hooks/useTipTapEditor.d.ts +16 -0
- package/dist/modules/editor/hooks/useTipTapEditor.js +86 -0
- package/dist/modules/editor/index.d.ts +3 -0
- package/dist/modules/editor/utilities/has-extension.d.ts +2 -0
- package/dist/modules/editor/utilities/has-extension.js +4 -0
- package/dist/modules/editor/utilities/has-mark.d.ts +2 -0
- package/dist/modules/editor/utilities/has-mark.js +4 -0
- package/dist/modules/editor/utilities/has-text-style.d.ts +2 -0
- package/dist/modules/editor/utilities/has-text-style.js +5 -0
- package/dist/modules/icons/components/IconAdd.d.ts +7 -0
- package/dist/modules/icons/components/IconAdd.js +12 -0
- package/dist/modules/icons/components/IconAddUser.d.ts +7 -0
- package/dist/modules/icons/components/IconAddUser.js +12 -0
- package/dist/modules/icons/components/IconAlertCircle.d.ts +7 -0
- package/dist/modules/icons/components/IconAlertCircle.js +13 -0
- package/dist/modules/icons/components/IconAlertTriangle.d.ts +7 -0
- package/dist/modules/icons/components/IconAlertTriangle.js +13 -0
- package/dist/modules/icons/components/IconAlignCenter.d.ts +7 -0
- package/dist/modules/icons/components/IconAlignCenter.js +12 -0
- package/dist/modules/icons/components/IconAlignJustify.d.ts +7 -0
- package/dist/modules/icons/components/IconAlignJustify.js +12 -0
- package/dist/modules/icons/components/IconAlignLeft.d.ts +7 -0
- package/dist/modules/icons/components/IconAlignLeft.js +12 -0
- package/dist/modules/icons/components/IconAlignRight.d.ts +7 -0
- package/dist/modules/icons/components/IconAlignRight.js +12 -0
- package/dist/modules/icons/components/IconAnswer.d.ts +7 -0
- package/dist/modules/icons/components/IconAnswer.js +13 -0
- package/dist/modules/icons/components/IconApplications.d.ts +7 -0
- package/dist/modules/icons/components/IconApplications.js +12 -0
- package/dist/modules/icons/components/IconArrowDown.d.ts +7 -0
- package/dist/modules/icons/components/IconArrowDown.js +13 -0
- package/dist/modules/icons/components/IconArrowLeft.d.ts +7 -0
- package/dist/modules/icons/components/IconArrowLeft.js +13 -0
- package/dist/modules/icons/components/IconArrowRight.d.ts +7 -0
- package/dist/modules/icons/components/IconArrowRight.js +13 -0
- package/dist/modules/icons/components/IconArrowUp.d.ts +7 -0
- package/dist/modules/icons/components/IconArrowUp.js +13 -0
- package/dist/modules/icons/components/IconBlock.d.ts +7 -0
- package/dist/modules/icons/components/IconBlock.js +12 -0
- package/dist/modules/icons/components/IconBlur.d.ts +7 -0
- package/dist/modules/icons/components/IconBlur.js +13 -0
- package/dist/modules/icons/components/IconBookmark.d.ts +7 -0
- package/dist/modules/icons/components/IconBookmark.js +12 -0
- package/dist/modules/icons/components/IconBulletList.d.ts +7 -0
- package/dist/modules/icons/components/IconBulletList.js +16 -0
- package/dist/modules/icons/components/IconBurgerMenu.d.ts +7 -0
- package/dist/modules/icons/components/IconBurgerMenu.js +12 -0
- package/dist/modules/icons/components/IconCalendar.d.ts +7 -0
- package/dist/modules/icons/components/IconCalendar.js +12 -0
- package/dist/modules/icons/components/IconCalendarLight.d.ts +7 -0
- package/dist/modules/icons/components/IconCalendarLight.js +12 -0
- package/dist/modules/icons/components/IconCamera.d.ts +7 -0
- package/dist/modules/icons/components/IconCamera.js +13 -0
- package/dist/modules/icons/components/IconCenter.d.ts +7 -0
- package/dist/modules/icons/components/IconCenter.js +12 -0
- package/dist/modules/icons/components/IconCheck.d.ts +7 -0
- package/dist/modules/icons/components/IconCheck.js +12 -0
- package/dist/modules/icons/components/IconChecklist.d.ts +7 -0
- package/dist/modules/icons/components/IconChecklist.js +13 -0
- package/dist/modules/icons/components/IconClock.d.ts +7 -0
- package/dist/modules/icons/components/IconClock.js +12 -0
- package/dist/modules/icons/components/IconClose.d.ts +7 -0
- package/dist/modules/icons/components/IconClose.js +13 -0
- package/dist/modules/icons/components/IconCloseFullScreen.d.ts +7 -0
- package/dist/modules/icons/components/IconCloseFullScreen.js +12 -0
- package/dist/modules/icons/components/IconCode.d.ts +7 -0
- package/dist/modules/icons/components/IconCode.js +12 -0
- package/dist/modules/icons/components/IconCopy.d.ts +7 -0
- package/dist/modules/icons/components/IconCopy.js +12 -0
- package/dist/modules/icons/components/IconCrop.d.ts +7 -0
- package/dist/modules/icons/components/IconCrop.js +13 -0
- package/dist/modules/icons/components/IconCut.d.ts +7 -0
- package/dist/modules/icons/components/IconCut.js +13 -0
- package/dist/modules/icons/components/IconDelete.d.ts +7 -0
- package/dist/modules/icons/components/IconDelete.js +12 -0
- package/dist/modules/icons/components/IconDeleteColor.d.ts +7 -0
- package/dist/modules/icons/components/IconDeleteColor.js +13 -0
- package/dist/modules/icons/components/IconDeleteColumn.d.ts +7 -0
- package/dist/modules/icons/components/IconDeleteColumn.js +12 -0
- package/dist/modules/icons/components/IconDeleteColumnHighlight.d.ts +7 -0
- package/dist/modules/icons/components/IconDeleteColumnHighlight.js +12 -0
- package/dist/modules/icons/components/IconDeleteRow.d.ts +7 -0
- package/dist/modules/icons/components/IconDeleteRow.js +12 -0
- package/dist/modules/icons/components/IconDeleteRowHighlight.d.ts +7 -0
- package/dist/modules/icons/components/IconDeleteRowHighlight.js +12 -0
- package/dist/modules/icons/components/IconDepositeInbox.d.ts +7 -0
- package/dist/modules/icons/components/IconDepositeInbox.js +13 -0
- package/dist/modules/icons/components/IconDownload.d.ts +7 -0
- package/dist/modules/icons/components/IconDownload.js +17 -0
- package/dist/modules/icons/components/IconEdit.d.ts +7 -0
- package/dist/modules/icons/components/IconEdit.js +13 -0
- package/dist/modules/icons/components/IconError.d.ts +7 -0
- package/dist/modules/icons/components/IconError.js +12 -0
- package/dist/modules/icons/components/IconExternalLink.d.ts +7 -0
- package/dist/modules/icons/components/IconExternalLink.js +13 -0
- package/dist/modules/icons/components/IconFiles.d.ts +7 -0
- package/dist/modules/icons/components/IconFiles.js +12 -0
- package/dist/modules/icons/components/IconFilter.d.ts +7 -0
- package/dist/modules/icons/components/IconFilter.js +12 -0
- package/dist/modules/icons/components/IconFlag.d.ts +7 -0
- package/dist/modules/icons/components/IconFlag.js +12 -0
- package/dist/modules/icons/components/IconFolder.d.ts +7 -0
- package/dist/modules/icons/components/IconFolder.js +12 -0
- package/dist/modules/icons/components/IconFolderMove.d.ts +7 -0
- package/dist/modules/icons/components/IconFolderMove.js +17 -0
- package/dist/modules/icons/components/IconForgoing.d.ts +7 -0
- package/dist/modules/icons/components/IconForgoing.js +12 -0
- package/dist/modules/icons/components/IconFullScreen.d.ts +7 -0
- package/dist/modules/icons/components/IconFullScreen.js +12 -0
- package/dist/modules/icons/components/IconGlobe.d.ts +7 -0
- package/dist/modules/icons/components/IconGlobe.js +12 -0
- package/dist/modules/icons/components/IconHeadphone.d.ts +7 -0
- package/dist/modules/icons/components/IconHeadphone.js +12 -0
- package/dist/modules/icons/components/IconHide.d.ts +7 -0
- package/dist/modules/icons/components/IconHide.js +13 -0
- package/dist/modules/icons/components/IconHighlightColumn.d.ts +7 -0
- package/dist/modules/icons/components/IconHighlightColumn.js +12 -0
- package/dist/modules/icons/components/IconHighlightRow.d.ts +7 -0
- package/dist/modules/icons/components/IconHighlightRow.js +12 -0
- package/dist/modules/icons/components/IconHome.d.ts +7 -0
- package/dist/modules/icons/components/IconHome.js +12 -0
- package/dist/modules/icons/components/IconHourglass.d.ts +7 -0
- package/dist/modules/icons/components/IconHourglass.js +12 -0
- package/dist/modules/icons/components/IconImageSizeLarge.d.ts +7 -0
- package/dist/modules/icons/components/IconImageSizeLarge.js +12 -0
- package/dist/modules/icons/components/IconImageSizeMedium.d.ts +7 -0
- package/dist/modules/icons/components/IconImageSizeMedium.js +12 -0
- package/dist/modules/icons/components/IconImageSizeSmall.d.ts +7 -0
- package/dist/modules/icons/components/IconImageSizeSmall.js +12 -0
- package/dist/modules/icons/components/IconInbox.d.ts +7 -0
- package/dist/modules/icons/components/IconInbox.js +12 -0
- package/dist/modules/icons/components/IconInfoCircle.d.ts +7 -0
- package/dist/modules/icons/components/IconInfoCircle.js +13 -0
- package/dist/modules/icons/components/IconLandscape.d.ts +7 -0
- package/dist/modules/icons/components/IconLandscape.js +12 -0
- package/dist/modules/icons/components/IconLink.d.ts +7 -0
- package/dist/modules/icons/components/IconLink.js +16 -0
- package/dist/modules/icons/components/IconListOrder.d.ts +7 -0
- package/dist/modules/icons/components/IconListOrder.js +12 -0
- package/dist/modules/icons/components/IconLoader.d.ts +7 -0
- package/dist/modules/icons/components/IconLoader.js +12 -0
- package/dist/modules/icons/components/IconLock.d.ts +7 -0
- package/dist/modules/icons/components/IconLock.js +12 -0
- package/dist/modules/icons/components/IconMail.d.ts +7 -0
- package/dist/modules/icons/components/IconMail.js +13 -0
- package/dist/modules/icons/components/IconMergeCells.d.ts +7 -0
- package/dist/modules/icons/components/IconMergeCells.js +13 -0
- package/dist/modules/icons/components/IconMessageInfo.d.ts +7 -0
- package/dist/modules/icons/components/IconMessageInfo.js +13 -0
- package/dist/modules/icons/components/IconMic.d.ts +7 -0
- package/dist/modules/icons/components/IconMic.js +12 -0
- package/dist/modules/icons/components/IconMinus.d.ts +7 -0
- package/dist/modules/icons/components/IconMinus.js +12 -0
- package/dist/modules/icons/components/IconMove.d.ts +7 -0
- package/dist/modules/icons/components/IconMove.js +14 -0
- package/dist/modules/icons/components/IconNoColors.d.ts +7 -0
- package/dist/modules/icons/components/IconNoColors.js +12 -0
- package/dist/modules/icons/components/IconOptions.d.ts +7 -0
- package/dist/modules/icons/components/IconOptions.js +14 -0
- package/dist/modules/icons/components/IconOrderedList.d.ts +7 -0
- package/dist/modules/icons/components/IconOrderedList.js +16 -0
- package/dist/modules/icons/components/IconPaperclip.d.ts +7 -0
- package/dist/modules/icons/components/IconPaperclip.js +12 -0
- package/dist/modules/icons/components/IconPause.d.ts +7 -0
- package/dist/modules/icons/components/IconPause.js +12 -0
- package/dist/modules/icons/components/IconPinOff.d.ts +7 -0
- package/dist/modules/icons/components/IconPinOff.js +12 -0
- package/dist/modules/icons/components/IconPinOn.d.ts +7 -0
- package/dist/modules/icons/components/IconPinOn.js +12 -0
- package/dist/modules/icons/components/IconPlaceholder.d.ts +7 -0
- package/dist/modules/icons/components/IconPlaceholder.js +16 -0
- package/dist/modules/icons/components/IconPlay.d.ts +7 -0
- package/dist/modules/icons/components/IconPlay.js +12 -0
- package/dist/modules/icons/components/IconPlayFilled.d.ts +7 -0
- package/dist/modules/icons/components/IconPlayFilled.js +12 -0
- package/dist/modules/icons/components/IconPlus.d.ts +7 -0
- package/dist/modules/icons/components/IconPlus.js +12 -0
- package/dist/modules/icons/components/IconPointerDefault.d.ts +7 -0
- package/dist/modules/icons/components/IconPointerDefault.js +12 -0
- package/dist/modules/icons/components/IconPointerHand.d.ts +7 -0
- package/dist/modules/icons/components/IconPointerHand.js +12 -0
- package/dist/modules/icons/components/IconPrint.d.ts +7 -0
- package/dist/modules/icons/components/IconPrint.js +12 -0
- package/dist/modules/icons/components/IconQuestion.d.ts +7 -0
- package/dist/modules/icons/components/IconQuestion.js +14 -0
- package/dist/modules/icons/components/IconRafterDown.d.ts +7 -0
- package/dist/modules/icons/components/IconRafterDown.js +12 -0
- package/dist/modules/icons/components/IconRafterLeft.d.ts +7 -0
- package/dist/modules/icons/components/IconRafterLeft.js +12 -0
- package/dist/modules/icons/components/IconRafterRight.d.ts +7 -0
- package/dist/modules/icons/components/IconRafterRight.js +12 -0
- package/dist/modules/icons/components/IconRafterUp.d.ts +7 -0
- package/dist/modules/icons/components/IconRafterUp.js +12 -0
- package/dist/modules/icons/components/IconReaction.d.ts +7 -0
- package/dist/modules/icons/components/IconReaction.js +12 -0
- package/dist/modules/icons/components/IconRecord.d.ts +7 -0
- package/dist/modules/icons/components/IconRecord.js +12 -0
- package/dist/modules/icons/components/IconRecordPause.d.ts +7 -0
- package/dist/modules/icons/components/IconRecordPause.js +12 -0
- package/dist/modules/icons/components/IconRecordStop.d.ts +7 -0
- package/dist/modules/icons/components/IconRecordStop.js +12 -0
- package/dist/modules/icons/components/IconRecordVideo.d.ts +7 -0
- package/dist/modules/icons/components/IconRecordVideo.js +12 -0
- package/dist/modules/icons/components/IconRedo.d.ts +7 -0
- package/dist/modules/icons/components/IconRedo.js +13 -0
- package/dist/modules/icons/components/IconRefresh.d.ts +7 -0
- package/dist/modules/icons/components/IconRefresh.js +13 -0
- package/dist/modules/icons/components/IconReset.d.ts +7 -0
- package/dist/modules/icons/components/IconReset.js +12 -0
- package/dist/modules/icons/components/IconRestart.d.ts +7 -0
- package/dist/modules/icons/components/IconRestart.js +12 -0
- package/dist/modules/icons/components/IconRestore.d.ts +7 -0
- package/dist/modules/icons/components/IconRestore.js +12 -0
- package/dist/modules/icons/components/IconSave.d.ts +7 -0
- package/dist/modules/icons/components/IconSave.js +12 -0
- package/dist/modules/icons/components/IconSearch.d.ts +7 -0
- package/dist/modules/icons/components/IconSearch.js +12 -0
- package/dist/modules/icons/components/IconSee.d.ts +7 -0
- package/dist/modules/icons/components/IconSee.js +13 -0
- package/dist/modules/icons/components/IconSend.d.ts +7 -0
- package/dist/modules/icons/components/IconSend.js +12 -0
- package/dist/modules/icons/components/IconSetBackground.d.ts +7 -0
- package/dist/modules/icons/components/IconSetBackground.js +17 -0
- package/dist/modules/icons/components/IconSettings.d.ts +7 -0
- package/dist/modules/icons/components/IconSettings.js +16 -0
- package/dist/modules/icons/components/IconShare.d.ts +7 -0
- package/dist/modules/icons/components/IconShare.js +12 -0
- package/dist/modules/icons/components/IconSmartphone.d.ts +7 -0
- package/dist/modules/icons/components/IconSmartphone.js +13 -0
- package/dist/modules/icons/components/IconSmiley.d.ts +7 -0
- package/dist/modules/icons/components/IconSmiley.js +13 -0
- package/dist/modules/icons/components/IconSortAscendingLetters.d.ts +7 -0
- package/dist/modules/icons/components/IconSortAscendingLetters.js +13 -0
- package/dist/modules/icons/components/IconSortDescending.d.ts +7 -0
- package/dist/modules/icons/components/IconSortDescending.js +13 -0
- package/dist/modules/icons/components/IconSortDescendingLetters.d.ts +7 -0
- package/dist/modules/icons/components/IconSortDescendingLetters.js +13 -0
- package/dist/modules/icons/components/IconSortTime.d.ts +7 -0
- package/dist/modules/icons/components/IconSortTime.js +14 -0
- package/dist/modules/icons/components/IconSpeechToText.d.ts +7 -0
- package/dist/modules/icons/components/IconSpeechToText.js +12 -0
- package/dist/modules/icons/components/IconSplitCells.d.ts +7 -0
- package/dist/modules/icons/components/IconSplitCells.js +13 -0
- package/dist/modules/icons/components/IconSquareRoot.d.ts +7 -0
- package/dist/modules/icons/components/IconSquareRoot.js +12 -0
- package/dist/modules/icons/components/IconSubscript.d.ts +7 -0
- package/dist/modules/icons/components/IconSubscript.js +12 -0
- package/dist/modules/icons/components/IconSuccessFill.d.ts +7 -0
- package/dist/modules/icons/components/IconSuccessFill.js +12 -0
- package/dist/modules/icons/components/IconSuccessOutline.d.ts +7 -0
- package/dist/modules/icons/components/IconSuccessOutline.js +13 -0
- package/dist/modules/icons/components/IconSuperscript.d.ts +7 -0
- package/dist/modules/icons/components/IconSuperscript.js +12 -0
- package/dist/modules/icons/components/IconTable.d.ts +7 -0
- package/dist/modules/icons/components/IconTable.js +12 -0
- package/dist/modules/icons/components/IconTextBold.d.ts +7 -0
- package/dist/modules/icons/components/IconTextBold.js +12 -0
- package/dist/modules/icons/components/IconTextColor.d.ts +7 -0
- package/dist/modules/icons/components/IconTextColor.js +16 -0
- package/dist/modules/icons/components/IconTextHighlight.d.ts +7 -0
- package/dist/modules/icons/components/IconTextHighlight.js +16 -0
- package/dist/modules/icons/components/IconTextItalic.d.ts +7 -0
- package/dist/modules/icons/components/IconTextItalic.js +12 -0
- package/dist/modules/icons/components/IconTextPage.d.ts +7 -0
- package/dist/modules/icons/components/IconTextPage.js +12 -0
- package/dist/modules/icons/components/IconTextSize.d.ts +7 -0
- package/dist/modules/icons/components/IconTextSize.js +12 -0
- package/dist/modules/icons/components/IconTextToSpeech.d.ts +7 -0
- package/dist/modules/icons/components/IconTextToSpeech.js +12 -0
- package/dist/modules/icons/components/IconTextTypo.d.ts +7 -0
- package/dist/modules/icons/components/IconTextTypo.js +12 -0
- package/dist/modules/icons/components/IconTextUnderline.d.ts +7 -0
- package/dist/modules/icons/components/IconTextUnderline.js +13 -0
- package/dist/modules/icons/components/IconTextVanilla.d.ts +7 -0
- package/dist/modules/icons/components/IconTextVanilla.js +13 -0
- package/dist/modules/icons/components/IconTool.d.ts +7 -0
- package/dist/modules/icons/components/IconTool.js +12 -0
- package/dist/modules/icons/components/IconTrendingUp.d.ts +7 -0
- package/dist/modules/icons/components/IconTrendingUp.js +16 -0
- package/dist/modules/icons/components/IconUndo.d.ts +7 -0
- package/dist/modules/icons/components/IconUndo.js +13 -0
- package/dist/modules/icons/components/IconUnlink.d.ts +7 -0
- package/dist/modules/icons/components/IconUnlink.js +13 -0
- package/dist/modules/icons/components/IconUnlock.d.ts +7 -0
- package/dist/modules/icons/components/IconUnlock.js +13 -0
- package/dist/modules/icons/components/IconUpload.d.ts +7 -0
- package/dist/modules/icons/components/IconUpload.js +18 -0
- package/dist/modules/icons/components/IconUser.d.ts +7 -0
- package/dist/modules/icons/components/IconUser.js +12 -0
- package/dist/modules/icons/components/IconUserSearch.d.ts +7 -0
- package/dist/modules/icons/components/IconUserSearch.js +13 -0
- package/dist/modules/icons/components/IconUsers.d.ts +7 -0
- package/dist/modules/icons/components/IconUsers.js +13 -0
- package/dist/modules/icons/components/IconVideo.d.ts +7 -0
- package/dist/modules/icons/components/IconVideo.js +12 -0
- package/dist/modules/icons/components/IconViewCalendar.d.ts +7 -0
- package/dist/modules/icons/components/IconViewCalendar.js +12 -0
- package/dist/modules/icons/components/IconViewList.d.ts +7 -0
- package/dist/modules/icons/components/IconViewList.js +15 -0
- package/dist/modules/icons/components/IconWand.d.ts +7 -0
- package/dist/modules/icons/components/IconWand.js +12 -0
- package/dist/modules/icons/components/IconWrite.d.ts +7 -0
- package/dist/modules/icons/components/IconWrite.js +12 -0
- package/dist/modules/icons/components/IconZoomIn.d.ts +7 -0
- package/dist/modules/icons/components/IconZoomIn.js +12 -0
- package/dist/modules/icons/components/IconZoomOut.d.ts +7 -0
- package/dist/modules/icons/components/IconZoomOut.js +12 -0
- package/dist/modules/icons/components/apps/IconAccount.d.ts +7 -0
- package/dist/modules/icons/components/apps/IconAccount.js +12 -0
- package/dist/modules/icons/components/apps/IconActualites.d.ts +7 -0
- package/dist/modules/icons/components/apps/IconActualites.js +12 -0
- package/dist/modules/icons/components/apps/IconAdmin.d.ts +7 -0
- package/dist/modules/icons/components/apps/IconAdmin.js +12 -0
- package/dist/modules/icons/components/apps/IconAdminPortal.d.ts +7 -0
- package/dist/modules/icons/components/apps/IconAdminPortal.js +12 -0
- package/dist/modules/icons/components/apps/IconAdmissionPostBac.d.ts +7 -0
- package/dist/modules/icons/components/apps/IconAdmissionPostBac.js +12 -0
- package/dist/modules/icons/components/apps/IconAgenda.d.ts +7 -0
- package/dist/modules/icons/components/apps/IconAgenda.js +12 -0
- package/dist/modules/icons/components/apps/IconArchive.d.ts +7 -0
- package/dist/modules/icons/components/apps/IconArchive.js +12 -0
- package/dist/modules/icons/components/apps/IconAssistance.d.ts +7 -0
- package/dist/modules/icons/components/apps/IconAssistance.js +12 -0
- package/dist/modules/icons/components/apps/IconAssr.d.ts +7 -0
- package/dist/modules/icons/components/apps/IconAssr.js +12 -0
- package/dist/modules/icons/components/apps/IconAward.d.ts +7 -0
- package/dist/modules/icons/components/apps/IconAward.js +12 -0
- package/dist/modules/icons/components/apps/IconBanquesavoir.d.ts +7 -0
- package/dist/modules/icons/components/apps/IconBanquesavoir.js +12 -0
- package/dist/modules/icons/components/apps/IconBcdi.d.ts +7 -0
- package/dist/modules/icons/components/apps/IconBcdi.js +12 -0
- package/dist/modules/icons/components/apps/IconBiblionisep.d.ts +7 -0
- package/dist/modules/icons/components/apps/IconBiblionisep.js +12 -0
- package/dist/modules/icons/components/apps/IconBlog.d.ts +7 -0
- package/dist/modules/icons/components/apps/IconBlog.js +12 -0
- package/dist/modules/icons/components/apps/IconBookmarkEmpty.d.ts +7 -0
- package/dist/modules/icons/components/apps/IconBookmarkEmpty.js +12 -0
- package/dist/modules/icons/components/apps/IconCahierDeTexte.d.ts +7 -0
- package/dist/modules/icons/components/apps/IconCahierDeTexte.js +12 -0
- package/dist/modules/icons/components/apps/IconCahierTextes.d.ts +7 -0
- package/dist/modules/icons/components/apps/IconCahierTextes.js +12 -0
- package/dist/modules/icons/components/apps/IconCalendar.d.ts +7 -0
- package/dist/modules/icons/components/apps/IconCalendar.js +12 -0
- package/dist/modules/icons/components/apps/IconCanalNumerique.d.ts +7 -0
- package/dist/modules/icons/components/apps/IconCanalNumerique.js +12 -0
- package/dist/modules/icons/components/apps/IconCcn.d.ts +7 -0
- package/dist/modules/icons/components/apps/IconCcn.js +12 -0
- package/dist/modules/icons/components/apps/IconCerise.d.ts +7 -0
- package/dist/modules/icons/components/apps/IconCerise.js +12 -0
- package/dist/modules/icons/components/apps/IconCervoprint.d.ts +7 -0
- package/dist/modules/icons/components/apps/IconCervoprint.js +12 -0
- package/dist/modules/icons/components/apps/IconCharlemagne.d.ts +7 -0
- package/dist/modules/icons/components/apps/IconCharlemagne.js +12 -0
- package/dist/modules/icons/components/apps/IconCharte.d.ts +7 -0
- package/dist/modules/icons/components/apps/IconCharte.js +12 -0
- package/dist/modules/icons/components/apps/IconChat.d.ts +7 -0
- package/dist/modules/icons/components/apps/IconChat.js +12 -0
- package/dist/modules/icons/components/apps/IconCidj.d.ts +7 -0
- package/dist/modules/icons/components/apps/IconCidj.js +12 -0
- package/dist/modules/icons/components/apps/IconCns.d.ts +7 -0
- package/dist/modules/icons/components/apps/IconCns.js +12 -0
- package/dist/modules/icons/components/apps/IconCollaborativeWall.d.ts +7 -0
- package/dist/modules/icons/components/apps/IconCollaborativeWall.js +12 -0
- package/dist/modules/icons/components/apps/IconCommunity.d.ts +7 -0
- package/dist/modules/icons/components/apps/IconCommunity.js +12 -0
- package/dist/modules/icons/components/apps/IconCompetences.d.ts +7 -0
- package/dist/modules/icons/components/apps/IconCompetences.js +12 -0
- package/dist/modules/icons/components/apps/IconConnecteurGenerique1.d.ts +7 -0
- package/dist/modules/icons/components/apps/IconConnecteurGenerique1.js +12 -0
- package/dist/modules/icons/components/apps/IconConnecteurGenerique2.d.ts +7 -0
- package/dist/modules/icons/components/apps/IconConnecteurGenerique2.js +12 -0
- package/dist/modules/icons/components/apps/IconConversation.d.ts +7 -0
- package/dist/modules/icons/components/apps/IconConversation.js +12 -0
- package/dist/modules/icons/components/apps/IconDirectory.d.ts +7 -0
- package/dist/modules/icons/components/apps/IconDirectory.js +12 -0
- package/dist/modules/icons/components/apps/IconEducagri.d.ts +7 -0
- package/dist/modules/icons/components/apps/IconEducagri.js +12 -0
- package/dist/modules/icons/components/apps/IconEdumedia.d.ts +7 -0
- package/dist/modules/icons/components/apps/IconEdumedia.js +12 -0
- package/dist/modules/icons/components/apps/IconEdumoov.d.ts +7 -0
- package/dist/modules/icons/components/apps/IconEdumoov.js +12 -0
- package/dist/modules/icons/components/apps/IconEdutheque.d.ts +7 -0
- package/dist/modules/icons/components/apps/IconEdutheque.js +12 -0
- package/dist/modules/icons/components/apps/IconElectron.d.ts +7 -0
- package/dist/modules/icons/components/apps/IconElectron.js +12 -0
- package/dist/modules/icons/components/apps/IconElyceepicardie.d.ts +7 -0
- package/dist/modules/icons/components/apps/IconElyceepicardie.js +12 -0
- package/dist/modules/icons/components/apps/IconEsidoc.d.ts +7 -0
- package/dist/modules/icons/components/apps/IconEsidoc.js +12 -0
- package/dist/modules/icons/components/apps/IconEuropress.d.ts +7 -0
- package/dist/modules/icons/components/apps/IconEuropress.js +12 -0
- package/dist/modules/icons/components/apps/IconExercizer.d.ts +7 -0
- package/dist/modules/icons/components/apps/IconExercizer.js +12 -0
- package/dist/modules/icons/components/apps/IconForms.d.ts +7 -0
- package/dist/modules/icons/components/apps/IconForms.js +16 -0
- package/dist/modules/icons/components/apps/IconForum.d.ts +7 -0
- package/dist/modules/icons/components/apps/IconForum.js +12 -0
- package/dist/modules/icons/components/apps/IconGepi.d.ts +7 -0
- package/dist/modules/icons/components/apps/IconGepi.js +12 -0
- package/dist/modules/icons/components/apps/IconGlpi.d.ts +7 -0
- package/dist/modules/icons/components/apps/IconGlpi.js +12 -0
- package/dist/modules/icons/components/apps/IconHiboutheque.d.ts +7 -0
- package/dist/modules/icons/components/apps/IconHiboutheque.js +12 -0
- package/dist/modules/icons/components/apps/IconItopstore.d.ts +7 -0
- package/dist/modules/icons/components/apps/IconItopstore.js +12 -0
- package/dist/modules/icons/components/apps/IconKne.d.ts +7 -0
- package/dist/modules/icons/components/apps/IconKne.js +12 -0
- package/dist/modules/icons/components/apps/IconLeSiteTv.d.ts +7 -0
- package/dist/modules/icons/components/apps/IconLeSiteTv.js +12 -0
- package/dist/modules/icons/components/apps/IconLemonde.d.ts +7 -0
- package/dist/modules/icons/components/apps/IconLemonde.js +12 -0
- package/dist/modules/icons/components/apps/IconLesechos.d.ts +7 -0
- package/dist/modules/icons/components/apps/IconLesechos.js +12 -0
- package/dist/modules/icons/components/apps/IconLibrary.d.ts +7 -0
- package/dist/modules/icons/components/apps/IconLibrary.js +12 -0
- package/dist/modules/icons/components/apps/IconLsu.d.ts +7 -0
- package/dist/modules/icons/components/apps/IconLsu.js +12 -0
- package/dist/modules/icons/components/apps/IconMadmagz.d.ts +7 -0
- package/dist/modules/icons/components/apps/IconMadmagz.js +12 -0
- package/dist/modules/icons/components/apps/IconMatholycee.d.ts +7 -0
- package/dist/modules/icons/components/apps/IconMatholycee.js +12 -0
- package/dist/modules/icons/components/apps/IconMaxicours.d.ts +7 -0
- package/dist/modules/icons/components/apps/IconMaxicours.js +12 -0
- package/dist/modules/icons/components/apps/IconMediacentre.d.ts +7 -0
- package/dist/modules/icons/components/apps/IconMediacentre.js +12 -0
- package/dist/modules/icons/components/apps/IconMindmap.d.ts +7 -0
- package/dist/modules/icons/components/apps/IconMindmap.js +12 -0
- package/dist/modules/icons/components/apps/IconMonorientationenligne.d.ts +7 -0
- package/dist/modules/icons/components/apps/IconMonorientationenligne.js +12 -0
- package/dist/modules/icons/components/apps/IconMonstageenligne.d.ts +7 -0
- package/dist/modules/icons/components/apps/IconMonstageenligne.js +12 -0
- package/dist/modules/icons/components/apps/IconMoodle.d.ts +7 -0
- package/dist/modules/icons/components/apps/IconMoodle.js +12 -0
- package/dist/modules/icons/components/apps/IconMuseefrancaisphoto.d.ts +7 -0
- package/dist/modules/icons/components/apps/IconMuseefrancaisphoto.js +12 -0
- package/dist/modules/icons/components/apps/IconMyNetwork.d.ts +7 -0
- package/dist/modules/icons/components/apps/IconMyNetwork.js +12 -0
- package/dist/modules/icons/components/apps/IconNetvibes.d.ts +7 -0
- package/dist/modules/icons/components/apps/IconNetvibes.js +12 -0
- package/dist/modules/icons/components/apps/IconNote.d.ts +7 -0
- package/dist/modules/icons/components/apps/IconNote.js +12 -0
- package/dist/modules/icons/components/apps/IconNotebook.d.ts +7 -0
- package/dist/modules/icons/components/apps/IconNotebook.js +12 -0
- package/dist/modules/icons/components/apps/IconNotes.d.ts +7 -0
- package/dist/modules/icons/components/apps/IconNotes.js +12 -0
- package/dist/modules/icons/components/apps/IconOnisep.d.ts +7 -0
- package/dist/modules/icons/components/apps/IconOnisep.js +12 -0
- package/dist/modules/icons/components/apps/IconOnisep2.d.ts +7 -0
- package/dist/modules/icons/components/apps/IconOnisep2.js +12 -0
- package/dist/modules/icons/components/apps/IconPad.d.ts +7 -0
- package/dist/modules/icons/components/apps/IconPad.js +12 -0
- package/dist/modules/icons/components/apps/IconPages.d.ts +7 -0
- package/dist/modules/icons/components/apps/IconPages.js +12 -0
- package/dist/modules/icons/components/apps/IconParametrage.d.ts +7 -0
- package/dist/modules/icons/components/apps/IconParametrage.js +12 -0
- package/dist/modules/icons/components/apps/IconParametrages.d.ts +7 -0
- package/dist/modules/icons/components/apps/IconParametrages.js +12 -0
- package/dist/modules/icons/components/apps/IconParaschool.d.ts +7 -0
- package/dist/modules/icons/components/apps/IconParaschool.js +12 -0
- package/dist/modules/icons/components/apps/IconParcours.d.ts +7 -0
- package/dist/modules/icons/components/apps/IconParcours.js +12 -0
- package/dist/modules/icons/components/apps/IconPearltrees.d.ts +7 -0
- package/dist/modules/icons/components/apps/IconPearltrees.js +12 -0
- package/dist/modules/icons/components/apps/IconPicardieCursus.d.ts +7 -0
- package/dist/modules/icons/components/apps/IconPicardieCursus.js +12 -0
- package/dist/modules/icons/components/apps/IconPlaceholder.d.ts +7 -0
- package/dist/modules/icons/components/apps/IconPlaceholder.js +16 -0
- package/dist/modules/icons/components/apps/IconPoll.d.ts +7 -0
- package/dist/modules/icons/components/apps/IconPoll.js +12 -0
- package/dist/modules/icons/components/apps/IconPresences.d.ts +7 -0
- package/dist/modules/icons/components/apps/IconPresences.js +16 -0
- package/dist/modules/icons/components/apps/IconProeps.d.ts +7 -0
- package/dist/modules/icons/components/apps/IconProeps.js +12 -0
- package/dist/modules/icons/components/apps/IconPronote.d.ts +7 -0
- package/dist/modules/icons/components/apps/IconPronote.js +12 -0
- package/dist/modules/icons/components/apps/IconPublic.d.ts +7 -0
- package/dist/modules/icons/components/apps/IconPublic.js +12 -0
- package/dist/modules/icons/components/apps/IconQwant.d.ts +7 -0
- package/dist/modules/icons/components/apps/IconQwant.js +12 -0
- package/dist/modules/icons/components/apps/IconQwantJunior.d.ts +7 -0
- package/dist/modules/icons/components/apps/IconQwantJunior.js +12 -0
- package/dist/modules/icons/components/apps/IconRack.d.ts +7 -0
- package/dist/modules/icons/components/apps/IconRack.js +12 -0
- package/dist/modules/icons/components/apps/IconRbs.d.ts +7 -0
- package/dist/modules/icons/components/apps/IconRbs.js +12 -0
- package/dist/modules/icons/components/apps/IconResidenceArtiste.d.ts +7 -0
- package/dist/modules/icons/components/apps/IconResidenceArtiste.js +12 -0
- package/dist/modules/icons/components/apps/IconRessourcesdepartementale91.d.ts +7 -0
- package/dist/modules/icons/components/apps/IconRessourcesdepartementale91.js +12 -0
- package/dist/modules/icons/components/apps/IconSacoche.d.ts +7 -0
- package/dist/modules/icons/components/apps/IconSacoche.js +12 -0
- package/dist/modules/icons/components/apps/IconSchoolbook.d.ts +7 -0
- package/dist/modules/icons/components/apps/IconSchoolbook.js +12 -0
- package/dist/modules/icons/components/apps/IconScolinfo.d.ts +7 -0
- package/dist/modules/icons/components/apps/IconScolinfo.js +12 -0
- package/dist/modules/icons/components/apps/IconScrapbook.d.ts +7 -0
- package/dist/modules/icons/components/apps/IconScrapbook.js +12 -0
- package/dist/modules/icons/components/apps/IconSearchengine.d.ts +7 -0
- package/dist/modules/icons/components/apps/IconSearchengine.js +12 -0
- package/dist/modules/icons/components/apps/IconSettingsClass.d.ts +7 -0
- package/dist/modules/icons/components/apps/IconSettingsClass.js +12 -0
- package/dist/modules/icons/components/apps/IconSharebigfiles.d.ts +7 -0
- package/dist/modules/icons/components/apps/IconSharebigfiles.js +12 -0
- package/dist/modules/icons/components/apps/IconStatistics.d.ts +7 -0
- package/dist/modules/icons/components/apps/IconStatistics.js +12 -0
- package/dist/modules/icons/components/apps/IconStats.d.ts +7 -0
- package/dist/modules/icons/components/apps/IconStats.js +12 -0
- package/dist/modules/icons/components/apps/IconSuitcase.d.ts +7 -0
- package/dist/modules/icons/components/apps/IconSuitcase.js +12 -0
- package/dist/modules/icons/components/apps/IconSupport.d.ts +7 -0
- package/dist/modules/icons/components/apps/IconSupport.js +12 -0
- package/dist/modules/icons/components/apps/IconTimeline.d.ts +7 -0
- package/dist/modules/icons/components/apps/IconTimeline.js +12 -0
- package/dist/modules/icons/components/apps/IconTimelinegenerator.d.ts +7 -0
- package/dist/modules/icons/components/apps/IconTimelinegenerator.js +12 -0
- package/dist/modules/icons/components/apps/IconTurboself.d.ts +7 -0
- package/dist/modules/icons/components/apps/IconTurboself.js +12 -0
- package/dist/modules/icons/components/apps/IconUniversalis.d.ts +7 -0
- package/dist/modules/icons/components/apps/IconUniversalis.js +12 -0
- package/dist/modules/icons/components/apps/IconUnstagepourtous.d.ts +7 -0
- package/dist/modules/icons/components/apps/IconUnstagepourtous.js +12 -0
- package/dist/modules/icons/components/apps/IconUserbook.d.ts +7 -0
- package/dist/modules/icons/components/apps/IconUserbook.js +12 -0
- package/dist/modules/icons/components/apps/IconVideo.d.ts +7 -0
- package/dist/modules/icons/components/apps/IconVideo.js +12 -0
- package/dist/modules/icons/components/apps/IconVieScolaire.d.ts +7 -0
- package/dist/modules/icons/components/apps/IconVieScolaire.js +12 -0
- package/dist/modules/icons/components/apps/IconVisioconf.d.ts +7 -0
- package/dist/modules/icons/components/apps/IconVisioconf.js +12 -0
- package/dist/modules/icons/components/apps/IconWebclasseur.d.ts +7 -0
- package/dist/modules/icons/components/apps/IconWebclasseur.js +12 -0
- package/dist/modules/icons/components/apps/IconWebsite.d.ts +7 -0
- package/dist/modules/icons/components/apps/IconWebsite.js +12 -0
- package/dist/modules/icons/components/apps/IconWiki.d.ts +7 -0
- package/dist/modules/icons/components/apps/IconWiki.js +13 -0
- package/dist/modules/icons/components/apps/IconWorkspace.d.ts +7 -0
- package/dist/modules/icons/components/apps/IconWorkspace.js +12 -0
- package/dist/modules/icons/components/apps/index.d.ts +115 -0
- package/dist/modules/icons/components/audience/IconCongrats.d.ts +7 -0
- package/dist/modules/icons/components/audience/IconCongrats.js +22 -0
- package/dist/modules/icons/components/audience/IconCongratsCounter.d.ts +7 -0
- package/dist/modules/icons/components/audience/IconCongratsCounter.js +21 -0
- package/dist/modules/icons/components/audience/IconGreat.d.ts +7 -0
- package/dist/modules/icons/components/audience/IconGreat.js +16 -0
- package/dist/modules/icons/components/audience/IconGreatCounter.d.ts +7 -0
- package/dist/modules/icons/components/audience/IconGreatCounter.js +14 -0
- package/dist/modules/icons/components/audience/IconGuest.d.ts +7 -0
- package/dist/modules/icons/components/audience/IconGuest.js +12 -0
- package/dist/modules/icons/components/audience/IconInteresting.d.ts +7 -0
- package/dist/modules/icons/components/audience/IconInteresting.js +15 -0
- package/dist/modules/icons/components/audience/IconInterestingCounter.d.ts +7 -0
- package/dist/modules/icons/components/audience/IconInterestingCounter.js +17 -0
- package/dist/modules/icons/components/audience/IconParent.d.ts +7 -0
- package/dist/modules/icons/components/audience/IconParent.js +12 -0
- package/dist/modules/icons/components/audience/IconPersonnel.d.ts +7 -0
- package/dist/modules/icons/components/audience/IconPersonnel.js +12 -0
- package/dist/modules/icons/components/audience/IconStudent.d.ts +7 -0
- package/dist/modules/icons/components/audience/IconStudent.js +20 -0
- package/dist/modules/icons/components/audience/IconTeacher.d.ts +7 -0
- package/dist/modules/icons/components/audience/IconTeacher.js +12 -0
- package/dist/modules/icons/components/audience/IconThanks.d.ts +7 -0
- package/dist/modules/icons/components/audience/IconThanks.js +18 -0
- package/dist/modules/icons/components/audience/IconThanksCounter.d.ts +7 -0
- package/dist/modules/icons/components/audience/IconThanksCounter.js +16 -0
- package/dist/modules/icons/components/audience/index.d.ts +13 -0
- package/dist/modules/icons/components/index.d.ts +149 -0
- package/dist/modules/icons/components/nav/IconCommunity.d.ts +7 -0
- package/dist/modules/icons/components/nav/IconCommunity.js +12 -0
- package/dist/modules/icons/components/nav/IconDisconnect.d.ts +7 -0
- package/dist/modules/icons/components/nav/IconDisconnect.js +12 -0
- package/dist/modules/icons/components/nav/IconHome.d.ts +7 -0
- package/dist/modules/icons/components/nav/IconHome.js +12 -0
- package/dist/modules/icons/components/nav/IconMyApps.d.ts +7 -0
- package/dist/modules/icons/components/nav/IconMyApps.js +12 -0
- package/dist/modules/icons/components/nav/IconNeoAssistance.d.ts +7 -0
- package/dist/modules/icons/components/nav/IconNeoAssistance.js +12 -0
- package/dist/modules/icons/components/nav/IconNeoMessaging.d.ts +7 -0
- package/dist/modules/icons/components/nav/IconNeoMessaging.js +12 -0
- package/dist/modules/icons/components/nav/IconNewRelease.d.ts +7 -0
- package/dist/modules/icons/components/nav/IconNewRelease.js +12 -0
- package/dist/modules/icons/components/nav/IconOneAssistance.d.ts +7 -0
- package/dist/modules/icons/components/nav/IconOneAssistance.js +12 -0
- package/dist/modules/icons/components/nav/IconOneMessaging.d.ts +7 -0
- package/dist/modules/icons/components/nav/IconOneMessaging.js +12 -0
- package/dist/modules/icons/components/nav/IconOneProfile.d.ts +7 -0
- package/dist/modules/icons/components/nav/IconOneProfile.js +13 -0
- package/dist/modules/icons/components/nav/IconProfile.d.ts +7 -0
- package/dist/modules/icons/components/nav/IconProfile.js +12 -0
- package/dist/modules/icons/components/nav/IconSearch.d.ts +7 -0
- package/dist/modules/icons/components/nav/IconSearch.js +12 -0
- package/dist/modules/icons/components/nav/IconUserbook.d.ts +7 -0
- package/dist/modules/icons/components/nav/IconUserbook.js +12 -0
- package/dist/modules/icons/components/nav/index.d.ts +13 -0
- package/dist/modules/modals/OnboardingModal/OnboardingModal.d.ts +42 -0
- package/dist/modules/modals/OnboardingModal/OnboardingModal.js +58 -0
- package/dist/modules/modals/OnboardingModal/index.d.ts +1 -0
- package/dist/modules/modals/OnboardingModal/useOnboardingModal.d.ts +6 -0
- package/dist/modules/modals/OnboardingModal/useOnboardingModal.js +30 -0
- package/dist/modules/modals/PublishModal/PublishModal.d.ts +9 -0
- package/dist/modules/modals/PublishModal/PublishModal.js +120 -0
- package/dist/modules/modals/PublishModal/components/ActivitiesDropdown.d.ts +7 -0
- package/dist/modules/modals/PublishModal/components/ActivitiesDropdown.js +29 -0
- package/dist/modules/modals/PublishModal/components/AgeSelect.d.ts +8 -0
- package/dist/modules/modals/PublishModal/components/AgeSelect.js +20 -0
- package/dist/modules/modals/PublishModal/components/LangSelect.d.ts +5 -0
- package/dist/modules/modals/PublishModal/components/LangSelect.js +19 -0
- package/dist/modules/modals/PublishModal/components/PublishModalFooter.d.ts +1 -0
- package/dist/modules/modals/PublishModal/components/PublishModalFooter.js +23 -0
- package/dist/modules/modals/PublishModal/components/SubjectsDropdown.d.ts +7 -0
- package/dist/modules/modals/PublishModal/components/SubjectsDropdown.js +29 -0
- package/dist/modules/modals/PublishModal/components/ToastError.d.ts +5 -0
- package/dist/modules/modals/PublishModal/components/ToastError.js +24 -0
- package/dist/modules/modals/PublishModal/components/ToastSuccess.d.ts +4 -0
- package/dist/modules/modals/PublishModal/components/ToastSuccess.js +18 -0
- package/dist/modules/modals/PublishModal/constants/ageOptions.d.ts +1 -0
- package/dist/modules/modals/PublishModal/constants/ageOptions.js +4 -0
- package/dist/modules/modals/PublishModal/hooks/useActivitiesOptions.d.ts +4 -0
- package/dist/modules/modals/PublishModal/hooks/useActivitiesOptions.js +34 -0
- package/dist/modules/modals/PublishModal/hooks/useLanguageOptions.d.ts +4 -0
- package/dist/modules/modals/PublishModal/hooks/useLanguageOptions.js +43 -0
- package/dist/modules/modals/PublishModal/hooks/usePublishModal.d.ts +38 -0
- package/dist/modules/modals/PublishModal/hooks/usePublishModal.js +106 -0
- package/dist/modules/modals/PublishModal/hooks/useSubjectsOptions.d.ts +4 -0
- package/dist/modules/modals/PublishModal/hooks/useSubjectsOptions.js +118 -0
- package/dist/modules/modals/PublishModal/index.d.ts +1 -0
- package/dist/modules/modals/ResourceModal/ResourceModal.d.ts +30 -0
- package/dist/modules/modals/ResourceModal/ResourceModal.js +155 -0
- package/dist/modules/modals/ResourceModal/apps/BlogPublic.d.ts +13 -0
- package/dist/modules/modals/ResourceModal/apps/BlogPublic.js +62 -0
- package/dist/modules/modals/ResourceModal/hooks/useSlug.d.ts +17 -0
- package/dist/modules/modals/ResourceModal/hooks/useSlug.js +41 -0
- package/dist/modules/modals/ResourceModal/hooks/useThumb.d.ts +11 -0
- package/dist/modules/modals/ResourceModal/hooks/useThumb.js +17 -0
- package/dist/modules/modals/ResourceModal/hooks/useUpdateMutation.d.ts +7 -0
- package/dist/modules/modals/ResourceModal/hooks/useUpdateMutation.js +12 -0
- package/dist/modules/modals/ResourceModal/index.d.ts +3 -0
- package/dist/modules/modals/ShareModal/ShareBookmark.d.ts +8 -0
- package/dist/modules/modals/ShareModal/ShareBookmark.js +22 -0
- package/dist/modules/modals/ShareModal/ShareBookmarkLine.d.ts +9 -0
- package/dist/modules/modals/ShareModal/ShareBookmarkLine.js +49 -0
- package/dist/modules/modals/ShareModal/ShareModal.d.ts +41 -0
- package/dist/modules/modals/ShareModal/ShareModal.js +130 -0
- package/dist/modules/modals/ShareModal/apps/ShareBlog.d.ts +8 -0
- package/dist/modules/modals/ShareModal/apps/ShareBlog.js +43 -0
- package/dist/modules/modals/ShareModal/hooks/useSearch.d.ts +24 -0
- package/dist/modules/modals/ShareModal/hooks/useSearch.js +178 -0
- package/dist/modules/modals/ShareModal/hooks/useShare.d.ts +54 -0
- package/dist/modules/modals/ShareModal/hooks/useShare.js +192 -0
- package/dist/modules/modals/ShareModal/hooks/useShareBookmark.d.ts +23 -0
- package/dist/modules/modals/ShareModal/hooks/useShareBookmark.js +67 -0
- package/dist/modules/modals/ShareModal/hooks/useShareMutation.d.ts +13 -0
- package/dist/modules/modals/ShareModal/hooks/useShareMutation.js +15 -0
- package/dist/modules/modals/ShareModal/index.d.ts +3 -0
- package/dist/modules/modals/ShareModal/utils/hasRight.d.ts +2 -0
- package/dist/modules/modals/ShareModal/utils/hasRight.js +4 -0
- package/dist/modules/modals/ShareModal/utils/showShareRightLine.d.ts +2 -0
- package/dist/modules/modals/ShareModal/utils/showShareRightLine.js +4 -0
- package/dist/modules/modals/index.d.ts +4 -0
- package/dist/modules/multimedia/AudioRecorder/AudioRecorder.d.ts +12 -0
- package/dist/modules/multimedia/AudioRecorder/AudioRecorder.js +49 -0
- package/dist/modules/multimedia/AudioRecorder/AudioRecorderTimer.d.ts +10 -0
- package/dist/modules/multimedia/AudioRecorder/AudioRecorderTimer.js +26 -0
- package/dist/modules/multimedia/AudioRecorder/index.d.ts +1 -0
- package/dist/modules/multimedia/AudioRecorder/useAudioRecorder.d.ts +16 -0
- package/dist/modules/multimedia/AudioRecorder/useAudioRecorder.js +314 -0
- package/dist/modules/multimedia/Embed/Embed.d.ts +5 -0
- package/dist/modules/multimedia/Embed/Embed.js +32 -0
- package/dist/modules/multimedia/Embed/index.d.ts +2 -0
- package/dist/modules/multimedia/FileCard/FileCard._.d.ts +17 -0
- package/dist/modules/multimedia/FileCard/FileCard.d.ts +13 -0
- package/dist/modules/multimedia/FileCard/FileCard.js +94 -0
- package/dist/modules/multimedia/FileCard/FileIcon.d.ts +6 -0
- package/dist/modules/multimedia/FileCard/FileIcon.js +15 -0
- package/dist/modules/multimedia/FileCard/index.d.ts +2 -0
- package/dist/modules/multimedia/ImageEditor/components/ImageEditor.d.ts +27 -0
- package/dist/modules/multimedia/ImageEditor/components/ImageEditor.js +116 -0
- package/dist/modules/multimedia/ImageEditor/components/ImageEditorToolbar.d.ts +7 -0
- package/dist/modules/multimedia/ImageEditor/components/ImageEditorToolbar.js +72 -0
- package/dist/modules/multimedia/ImageEditor/effects/blur.d.ts +19 -0
- package/dist/modules/multimedia/ImageEditor/effects/blur.js +72 -0
- package/dist/modules/multimedia/ImageEditor/effects/crop.d.ts +28 -0
- package/dist/modules/multimedia/ImageEditor/effects/crop.js +155 -0
- package/dist/modules/multimedia/ImageEditor/effects/misc.d.ts +154 -0
- package/dist/modules/multimedia/ImageEditor/effects/misc.js +162 -0
- package/dist/modules/multimedia/ImageEditor/effects/resize.d.ts +25 -0
- package/dist/modules/multimedia/ImageEditor/effects/resize.js +157 -0
- package/dist/modules/multimedia/ImageEditor/effects/rotate.d.ts +8 -0
- package/dist/modules/multimedia/ImageEditor/effects/rotate.js +33 -0
- package/dist/modules/multimedia/ImageEditor/hooks/useHistoryTool.d.ts +32 -0
- package/dist/modules/multimedia/ImageEditor/hooks/useHistoryTool.js +66 -0
- package/dist/modules/multimedia/ImageEditor/hooks/useImageEditor.d.ts +29 -0
- package/dist/modules/multimedia/ImageEditor/hooks/useImageEditor.js +76 -0
- package/dist/modules/multimedia/ImageEditor/hooks/useImageEffects.d.ts +23 -0
- package/dist/modules/multimedia/ImageEditor/hooks/useImageEffects.js +52 -0
- package/dist/modules/multimedia/ImageEditor/index.d.ts +1 -0
- package/dist/modules/multimedia/ImageEditor/utilities/aggregate.d.ts +9 -0
- package/dist/modules/multimedia/ImageEditor/utilities/aggregate.js +13 -0
- package/dist/modules/multimedia/ImageEditor/utilities/debounceAggregate.d.ts +10 -0
- package/dist/modules/multimedia/ImagePicker/ImagePicker.d.ts +46 -0
- package/dist/modules/multimedia/ImagePicker/ImagePicker.js +40 -0
- package/dist/modules/multimedia/ImagePicker/index.d.ts +2 -0
- package/dist/modules/multimedia/Linker/ExternalLinker/ExternalLinker.d.ts +28 -0
- package/dist/modules/multimedia/Linker/ExternalLinker/ExternalLinker.js +45 -0
- package/dist/modules/multimedia/Linker/InternalLinker/InternalLinker.d.ts +37 -0
- package/dist/modules/multimedia/Linker/InternalLinker/InternalLinker.js +129 -0
- package/dist/modules/multimedia/Linker/index.d.ts +4 -0
- package/dist/modules/multimedia/LinkerCard/LinkerCard._.d.ts +8 -0
- package/dist/modules/multimedia/LinkerCard/LinkerCard.d.ts +13 -0
- package/dist/modules/multimedia/LinkerCard/LinkerCard.js +38 -0
- package/dist/modules/multimedia/LinkerCard/index.d.ts +2 -0
- package/dist/modules/multimedia/MediaLibrary/MediaLibrary.d.ts +84 -0
- package/dist/modules/multimedia/MediaLibrary/MediaLibrary.js +217 -0
- package/dist/modules/multimedia/MediaLibrary/MediaLibraryContext.d.ts +60 -0
- package/dist/modules/multimedia/MediaLibrary/MediaLibraryContext.js +12 -0
- package/dist/modules/multimedia/MediaLibrary/index.d.ts +3 -0
- package/dist/modules/multimedia/MediaLibrary/innertabs/Audio.d.ts +1 -0
- package/dist/modules/multimedia/MediaLibrary/innertabs/Audio.js +19 -0
- package/dist/modules/multimedia/MediaLibrary/innertabs/ExternalLink.d.ts +6 -0
- package/dist/modules/multimedia/MediaLibrary/innertabs/ExternalLink.js +17 -0
- package/dist/modules/multimedia/MediaLibrary/innertabs/Iframe.d.ts +1 -0
- package/dist/modules/multimedia/MediaLibrary/innertabs/Iframe.js +14 -0
- package/dist/modules/multimedia/MediaLibrary/innertabs/InternalLink.d.ts +11 -0
- package/dist/modules/multimedia/MediaLibrary/innertabs/InternalLink.js +35 -0
- package/dist/modules/multimedia/MediaLibrary/innertabs/Upload.d.ts +1 -0
- package/dist/modules/multimedia/MediaLibrary/innertabs/Upload.js +34 -0
- package/dist/modules/multimedia/MediaLibrary/innertabs/Video.d.ts +1 -0
- package/dist/modules/multimedia/MediaLibrary/innertabs/Video.js +22 -0
- package/dist/modules/multimedia/MediaLibrary/innertabs/VideoEmbedder.d.ts +1 -0
- package/dist/modules/multimedia/MediaLibrary/innertabs/VideoEmbedder.js +15 -0
- package/dist/modules/multimedia/MediaLibrary/innertabs/Workspace.d.ts +1 -0
- package/dist/modules/multimedia/MediaLibrary/innertabs/Workspace.js +31 -0
- package/dist/modules/multimedia/MediaLibrary/innertabs/index.d.ts +10 -0
- package/dist/modules/multimedia/MediaLibrary/innertabs/index.js +21 -0
- package/dist/modules/multimedia/UploadCard/UploadCard._.d.ts +9 -0
- package/dist/modules/multimedia/UploadCard/UploadCard.d.ts +43 -0
- package/dist/modules/multimedia/UploadCard/UploadCard.js +75 -0
- package/dist/modules/multimedia/UploadCard/index.d.ts +2 -0
- package/dist/modules/multimedia/UploadFiles/UploadFiles.d.ts +9 -0
- package/dist/modules/multimedia/UploadFiles/UploadFiles.js +56 -0
- package/dist/modules/multimedia/UploadFiles/index.d.ts +2 -0
- package/dist/modules/multimedia/VideoEmbed/VideoEmbed.d.ts +6 -0
- package/dist/modules/multimedia/VideoEmbed/VideoEmbed.js +76 -0
- package/dist/modules/multimedia/VideoEmbed/index.d.ts +1 -0
- package/dist/modules/multimedia/VideoRecorder/VideoRecorder.d.ts +14 -0
- package/dist/modules/multimedia/VideoRecorder/VideoRecorder.js +265 -0
- package/dist/modules/multimedia/VideoRecorder/index.d.ts +1 -0
- package/dist/modules/multimedia/Workspace/Workspace.d.ts +33 -0
- package/dist/modules/multimedia/Workspace/Workspace.js +172 -0
- package/dist/modules/multimedia/Workspace/index.d.ts +2 -0
- package/dist/modules/multimedia/index.d.ts +7 -0
- package/dist/modules/widgets/BookmarkedApps/BookmarkedApps.d.ts +8 -0
- package/dist/modules/widgets/BookmarkedApps/index.d.ts +2 -0
- package/dist/modules/widgets/Widget/Widget.d.ts +17 -0
- package/dist/modules/widgets/Widget/index.d.ts +2 -0
- package/dist/modules/widgets/index.d.ts +2 -0
- package/dist/multimedia.js +18 -0
- package/dist/providers/EdificeClientProvider/EdificeClientProvider.context.d.ts +26 -0
- package/dist/providers/EdificeClientProvider/EdificeClientProvider.context.js +5 -0
- package/dist/providers/EdificeClientProvider/EdificeClientProvider.d.ts +9 -0
- package/dist/providers/EdificeClientProvider/EdificeClientProvider.hook.d.ts +1 -0
- package/dist/providers/EdificeClientProvider/EdificeClientProvider.hook.js +11 -0
- package/dist/providers/EdificeClientProvider/EdificeClientProvider.js +54 -0
- package/dist/providers/EdificeThemeProvider/EdificeThemeProvider.context.d.ts +10 -0
- package/dist/providers/EdificeThemeProvider/EdificeThemeProvider.context.js +5 -0
- package/dist/providers/EdificeThemeProvider/EdificeThemeProvider.d.ts +2 -0
- package/dist/providers/EdificeThemeProvider/EdificeThemeProvider.hook.d.ts +1 -0
- package/dist/providers/EdificeThemeProvider/EdificeThemeProvider.hook.js +11 -0
- package/dist/providers/EdificeThemeProvider/EdificeThemeProvider.js +46 -0
- package/dist/providers/MockedDataProvider/MockedDataProvider.d.ts +28 -0
- package/dist/providers/MockedDataProvider/MockedDataProvider.js +9 -0
- package/dist/providers/MockedDataProvider/index.d.ts +1 -0
- package/dist/providers/index.d.ts +6 -0
- package/dist/types/index.d.ts +3 -0
- package/dist/types/size.d.ts +1 -0
- package/dist/types/status.d.ts +1 -0
- package/dist/types/treedata.d.ts +30 -0
- package/dist/utilities/check-user-rights/check-user-rights.d.ts +11 -0
- package/dist/utilities/check-user-rights/check-user-rights.js +46 -0
- package/dist/utilities/check-user-rights/index.d.ts +1 -0
- package/dist/utilities/emptyscreen-mapping/emptyscreen-mapping.d.ts +6 -0
- package/dist/utilities/emptyscreen-mapping/emptyscreen-mapping.js +49 -0
- package/dist/utilities/emptyscreen-mapping/index.d.ts +1 -0
- package/dist/utilities/index.d.ts +3 -0
- package/dist/utilities/refs/index.d.ts +1 -0
- package/dist/utilities/refs/ref.d.ts +5 -0
- package/dist/utilities/refs/ref.js +14 -0
- package/package.json +177 -0
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import { useTranslation } from "react-i18next";
|
|
3
|
+
import SvgIconAlignCenter from "../../icons/components/IconAlignCenter.js";
|
|
4
|
+
import SvgIconAlignJustify from "../../icons/components/IconAlignJustify.js";
|
|
5
|
+
import SvgIconAlignLeft from "../../icons/components/IconAlignLeft.js";
|
|
6
|
+
import SvgIconAlignRight from "../../icons/components/IconAlignRight.js";
|
|
7
|
+
import SvgIconBulletList from "../../icons/components/IconBulletList.js";
|
|
8
|
+
import SvgIconCode from "../../icons/components/IconCode.js";
|
|
9
|
+
import SvgIconOrderedList from "../../icons/components/IconOrderedList.js";
|
|
10
|
+
import SvgIconSquareRoot from "../../icons/components/IconSquareRoot.js";
|
|
11
|
+
import SvgIconSubscript from "../../icons/components/IconSubscript.js";
|
|
12
|
+
import SvgIconSuperscript from "../../icons/components/IconSuperscript.js";
|
|
13
|
+
import SvgIconTable from "../../icons/components/IconTable.js";
|
|
14
|
+
import SvgIconTextVanilla from "../../icons/components/IconTextVanilla.js";
|
|
15
|
+
const useActionOptions = (editor, toggleMathsModal, mediaLibraryRef) => {
|
|
16
|
+
const {
|
|
17
|
+
t
|
|
18
|
+
} = useTranslation(), options = [{
|
|
19
|
+
icon: /* @__PURE__ */ jsx(SvgIconTextVanilla, {}),
|
|
20
|
+
label: t("tiptap.toolbar.removeFormat"),
|
|
21
|
+
action: () => editor == null ? void 0 : editor.chain().clearNodes().unsetAllMarks().run()
|
|
22
|
+
}, {
|
|
23
|
+
type: "divider"
|
|
24
|
+
}, {
|
|
25
|
+
icon: /* @__PURE__ */ jsx(SvgIconTable, {}),
|
|
26
|
+
label: t("tiptap.toolbar.table"),
|
|
27
|
+
action: () => editor == null ? void 0 : editor.chain().focus().insertTable({
|
|
28
|
+
rows: 3,
|
|
29
|
+
cols: 3,
|
|
30
|
+
withHeaderRow: !0
|
|
31
|
+
}).run()
|
|
32
|
+
}, {
|
|
33
|
+
type: "divider"
|
|
34
|
+
}, {
|
|
35
|
+
icon: /* @__PURE__ */ jsx(SvgIconSuperscript, {}),
|
|
36
|
+
label: t("tiptap.toolbar.superscript"),
|
|
37
|
+
action: () => editor == null ? void 0 : editor.chain().focus().toggleSuperscript().run()
|
|
38
|
+
}, {
|
|
39
|
+
icon: /* @__PURE__ */ jsx(SvgIconSubscript, {}),
|
|
40
|
+
label: t("tiptap.toolbar.subscript"),
|
|
41
|
+
action: () => editor == null ? void 0 : editor.chain().focus().toggleSubscript().run()
|
|
42
|
+
}, {
|
|
43
|
+
icon: /* @__PURE__ */ jsx(SvgIconSquareRoot, {}),
|
|
44
|
+
label: t("tiptap.toolbar.mathjax"),
|
|
45
|
+
action: () => {
|
|
46
|
+
toggleMathsModal();
|
|
47
|
+
}
|
|
48
|
+
}, {
|
|
49
|
+
type: "divider"
|
|
50
|
+
}, {
|
|
51
|
+
icon: /* @__PURE__ */ jsx(SvgIconCode, {}),
|
|
52
|
+
label: t("tiptap.toolbar.embed.iframe"),
|
|
53
|
+
action: () => {
|
|
54
|
+
var _a;
|
|
55
|
+
return (_a = mediaLibraryRef.current) == null ? void 0 : _a.show("embedder");
|
|
56
|
+
}
|
|
57
|
+
}], listOptions = [{
|
|
58
|
+
icon: /* @__PURE__ */ jsx(SvgIconBulletList, {}),
|
|
59
|
+
label: t("tiptap.toolbar.ulist"),
|
|
60
|
+
action: () => editor == null ? void 0 : editor.chain().focus().toggleBulletList().run()
|
|
61
|
+
}, {
|
|
62
|
+
icon: /* @__PURE__ */ jsx(SvgIconOrderedList, {}),
|
|
63
|
+
label: t("tiptap.toolbar.olist"),
|
|
64
|
+
action: () => editor == null ? void 0 : editor.chain().focus().toggleOrderedList().run()
|
|
65
|
+
}], alignmentOptions = [{
|
|
66
|
+
icon: /* @__PURE__ */ jsx(SvgIconAlignLeft, {}),
|
|
67
|
+
label: t("tiptap.toolbar.text.left"),
|
|
68
|
+
action: () => editor == null ? void 0 : editor.chain().focus().setTextAlign("left").run()
|
|
69
|
+
}, {
|
|
70
|
+
icon: /* @__PURE__ */ jsx(SvgIconAlignCenter, {}),
|
|
71
|
+
label: t("tiptap.toolbar.text.center"),
|
|
72
|
+
action: () => editor == null ? void 0 : editor.chain().focus().setTextAlign("center").run()
|
|
73
|
+
}, {
|
|
74
|
+
icon: /* @__PURE__ */ jsx(SvgIconAlignRight, {}),
|
|
75
|
+
label: t("tiptap.toolbar.text.right"),
|
|
76
|
+
action: () => editor == null ? void 0 : editor.chain().focus().setTextAlign("right").run()
|
|
77
|
+
}, {
|
|
78
|
+
icon: /* @__PURE__ */ jsx(SvgIconAlignJustify, {}),
|
|
79
|
+
label: t("tiptap.toolbar.text.justify"),
|
|
80
|
+
action: () => editor == null ? void 0 : editor.chain().focus().setTextAlign("justify").run()
|
|
81
|
+
}];
|
|
82
|
+
return [options, listOptions, alignmentOptions];
|
|
83
|
+
};
|
|
84
|
+
export {
|
|
85
|
+
useActionOptions
|
|
86
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Content, HTMLContent } from '@tiptap/react';
|
|
2
|
+
/**
|
|
3
|
+
* Hook that creates a tiptap editor instance with plugins for editing comments.
|
|
4
|
+
*
|
|
5
|
+
* @param editable truthy if the editor content should be editable
|
|
6
|
+
* @param content default rich content
|
|
7
|
+
*/
|
|
8
|
+
export declare const useCommentEditor: (editable: boolean, content: Content, maxLength?: number) => {
|
|
9
|
+
editor: import('@tiptap/react').Editor | null;
|
|
10
|
+
commentLength: number;
|
|
11
|
+
getComment: () => HTMLContent;
|
|
12
|
+
resetComment: () => void;
|
|
13
|
+
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { useState, useEffect } from "react";
|
|
2
|
+
import { Hyperlink } from "@edifice.io/tiptap-extensions/hyperlink";
|
|
3
|
+
import CharacterCount from "@tiptap/extension-character-count";
|
|
4
|
+
import { useEditor } from "@tiptap/react";
|
|
5
|
+
import StarterKit from "@tiptap/starter-kit";
|
|
6
|
+
const useCommentEditor = (editable, content, maxLength = 800) => {
|
|
7
|
+
const [commentLength, setCommentLength] = useState(0), editor = useEditor({
|
|
8
|
+
editable,
|
|
9
|
+
extensions: [StarterKit, Hyperlink, CharacterCount.configure({
|
|
10
|
+
limit: maxLength
|
|
11
|
+
})],
|
|
12
|
+
content
|
|
13
|
+
});
|
|
14
|
+
return useEffect(() => {
|
|
15
|
+
editor == null || editor.commands.setContent(content);
|
|
16
|
+
}, [content, editor]), useEffect(() => {
|
|
17
|
+
editor == null || editor.setEditable(editable);
|
|
18
|
+
}, [editable, editor]), useEffect(() => {
|
|
19
|
+
function setCounter() {
|
|
20
|
+
const length = (editor == null ? void 0 : editor.storage.characterCount.characters()) ?? 0;
|
|
21
|
+
setCommentLength(length);
|
|
22
|
+
}
|
|
23
|
+
return editor == null || editor.on("update", setCounter), () => {
|
|
24
|
+
editor == null || editor.off("update", setCounter);
|
|
25
|
+
};
|
|
26
|
+
}, [editor]), {
|
|
27
|
+
editor,
|
|
28
|
+
commentLength,
|
|
29
|
+
getComment: () => editor == null ? void 0 : editor.getHTML(),
|
|
30
|
+
resetComment: () => {
|
|
31
|
+
setCommentLength(0), editor == null || editor.commands.setContent(content);
|
|
32
|
+
}
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
export {
|
|
36
|
+
useCommentEditor
|
|
37
|
+
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { Editor } from '@tiptap/react';
|
|
2
|
+
export declare const EditorContext: import('react').Context<{
|
|
3
|
+
/**
|
|
4
|
+
* Application code (example: "blog")
|
|
5
|
+
*/
|
|
6
|
+
appCode: string;
|
|
7
|
+
/**
|
|
8
|
+
* TipTap editor instance
|
|
9
|
+
*/
|
|
10
|
+
editor: Editor | null;
|
|
11
|
+
/**
|
|
12
|
+
* To know if TipTap editor is editable
|
|
13
|
+
*/
|
|
14
|
+
editable: boolean;
|
|
15
|
+
/**
|
|
16
|
+
* Id of the editor's HTMLElement
|
|
17
|
+
*/
|
|
18
|
+
id: string;
|
|
19
|
+
}>;
|
|
20
|
+
export declare function useEditorContext(): {
|
|
21
|
+
/**
|
|
22
|
+
* Application code (example: "blog")
|
|
23
|
+
*/
|
|
24
|
+
appCode: string;
|
|
25
|
+
/**
|
|
26
|
+
* TipTap editor instance
|
|
27
|
+
*/
|
|
28
|
+
editor: Editor | null;
|
|
29
|
+
/**
|
|
30
|
+
* To know if TipTap editor is editable
|
|
31
|
+
*/
|
|
32
|
+
editable: boolean;
|
|
33
|
+
/**
|
|
34
|
+
* Id of the editor's HTMLElement
|
|
35
|
+
*/
|
|
36
|
+
id: string;
|
|
37
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { createContext, useContext } from "react";
|
|
2
|
+
const EditorContext = /* @__PURE__ */ createContext(null);
|
|
3
|
+
function useEditorContext() {
|
|
4
|
+
const context = useContext(EditorContext);
|
|
5
|
+
if (!context)
|
|
6
|
+
throw new Error("Editor compound components cannot be rendered outside the Editor component");
|
|
7
|
+
return context;
|
|
8
|
+
}
|
|
9
|
+
export {
|
|
10
|
+
EditorContext,
|
|
11
|
+
useEditorContext
|
|
12
|
+
};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { WorkspaceVisibility } from '@edifice.io/client';
|
|
2
|
+
import { Editor } from '@tiptap/react';
|
|
3
|
+
type EditedImage = {
|
|
4
|
+
src: string;
|
|
5
|
+
alt?: string;
|
|
6
|
+
title?: string;
|
|
7
|
+
} | undefined;
|
|
8
|
+
/**
|
|
9
|
+
* Custom hook to manage ImageModal success and cancelation in the current editor context.
|
|
10
|
+
* @returns {
|
|
11
|
+
* `isOpen`: truthy boolean when the modal should be visible,
|
|
12
|
+
* `currentImage`: the image being edited,
|
|
13
|
+
* `toggle`: an imperative function to toggle the `isOpen` value,
|
|
14
|
+
* `handleCancel`: Cancel event handler,
|
|
15
|
+
* `handleEdit`: Edit event handler,
|
|
16
|
+
* `handleSave`: Success event handler,
|
|
17
|
+
* }
|
|
18
|
+
*/
|
|
19
|
+
export declare const useImageModal: (editor: Editor | null, application?: string, visibility?: WorkspaceVisibility) => {
|
|
20
|
+
isOpen: boolean;
|
|
21
|
+
currentImage: EditedImage;
|
|
22
|
+
toggle: any;
|
|
23
|
+
handleCancel: () => void;
|
|
24
|
+
handleEdit: () => void;
|
|
25
|
+
handleSave: ({ blob, legend, altText: alt, }: {
|
|
26
|
+
blob: Blob;
|
|
27
|
+
legend: string;
|
|
28
|
+
altText: string;
|
|
29
|
+
}) => Promise<void>;
|
|
30
|
+
};
|
|
31
|
+
export {};
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { useState } from "react";
|
|
2
|
+
import { useImageSelection } from "./useImageSelection.js";
|
|
3
|
+
import useToggle from "../../../hooks/useToggle/useToggle.js";
|
|
4
|
+
import useWorkspaceFile from "../../../hooks/useWorkspaceFile/useWorkspaceFile.js";
|
|
5
|
+
const useImageModal = (editor, application, visibility) => {
|
|
6
|
+
const [currentImage, setCurrentImage] = useState(void 0), [isOpen, toggle] = useToggle(!1), {
|
|
7
|
+
createOrUpdate
|
|
8
|
+
} = useWorkspaceFile(), {
|
|
9
|
+
setAttributes,
|
|
10
|
+
getSelection
|
|
11
|
+
} = useImageSelection(editor);
|
|
12
|
+
return {
|
|
13
|
+
isOpen,
|
|
14
|
+
currentImage,
|
|
15
|
+
toggle,
|
|
16
|
+
handleCancel: () => {
|
|
17
|
+
toggle();
|
|
18
|
+
},
|
|
19
|
+
handleEdit: () => {
|
|
20
|
+
const selected = getSelection()[0];
|
|
21
|
+
selected && (setCurrentImage(selected), toggle());
|
|
22
|
+
},
|
|
23
|
+
handleSave: async ({
|
|
24
|
+
blob,
|
|
25
|
+
legend,
|
|
26
|
+
altText: alt
|
|
27
|
+
}) => {
|
|
28
|
+
const res = await createOrUpdate({
|
|
29
|
+
blob,
|
|
30
|
+
legend,
|
|
31
|
+
alt,
|
|
32
|
+
uri: currentImage == null ? void 0 : currentImage.src,
|
|
33
|
+
visibility,
|
|
34
|
+
application
|
|
35
|
+
});
|
|
36
|
+
toggle(), setAttributes({
|
|
37
|
+
url: typeof res == "object" ? res.src : res,
|
|
38
|
+
alt,
|
|
39
|
+
title: legend
|
|
40
|
+
});
|
|
41
|
+
}
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
export {
|
|
45
|
+
useImageModal
|
|
46
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { Editor } from '@tiptap/react';
|
|
2
|
+
/**
|
|
3
|
+
* This hooks lets manipulate selected image node by
|
|
4
|
+
* - setting attributes
|
|
5
|
+
* - getting their attributes
|
|
6
|
+
*
|
|
7
|
+
* @param editor
|
|
8
|
+
* @returns
|
|
9
|
+
*/
|
|
10
|
+
export declare function useImageSelection(editor?: Editor | null | undefined): {
|
|
11
|
+
setAttributes: ({ url, alt, title, }: {
|
|
12
|
+
url: string;
|
|
13
|
+
alt?: string;
|
|
14
|
+
title?: string;
|
|
15
|
+
}) => void;
|
|
16
|
+
getSelection: () => {
|
|
17
|
+
src: string;
|
|
18
|
+
title: string;
|
|
19
|
+
alt: string;
|
|
20
|
+
}[];
|
|
21
|
+
};
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { addTimestampToImageUrl } from "@edifice.io/utilities";
|
|
2
|
+
function useImageSelection(editor) {
|
|
3
|
+
return {
|
|
4
|
+
setAttributes: ({
|
|
5
|
+
url,
|
|
6
|
+
alt,
|
|
7
|
+
title
|
|
8
|
+
}) => {
|
|
9
|
+
(editor == null ? void 0 : editor.chain().updateAttributes("custom-image", {
|
|
10
|
+
src: addTimestampToImageUrl(url),
|
|
11
|
+
alt,
|
|
12
|
+
title
|
|
13
|
+
}).run()) || editor == null || editor.chain().updateAttributes("image", {
|
|
14
|
+
src: addTimestampToImageUrl(url),
|
|
15
|
+
alt,
|
|
16
|
+
title
|
|
17
|
+
}).run();
|
|
18
|
+
},
|
|
19
|
+
getSelection: () => {
|
|
20
|
+
const datas = [];
|
|
21
|
+
if (!editor)
|
|
22
|
+
return datas;
|
|
23
|
+
const {
|
|
24
|
+
$from,
|
|
25
|
+
$to
|
|
26
|
+
} = editor.state.selection;
|
|
27
|
+
return editor.state.doc.nodesBetween($from.pos, $to.pos, (node) => {
|
|
28
|
+
if (node.isAtom && (node.type.name === "image" || node.type.name === "custom-image")) {
|
|
29
|
+
const {
|
|
30
|
+
src,
|
|
31
|
+
title,
|
|
32
|
+
alt
|
|
33
|
+
} = node.attrs;
|
|
34
|
+
datas.push({
|
|
35
|
+
src,
|
|
36
|
+
title,
|
|
37
|
+
alt
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
}), datas;
|
|
41
|
+
}
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
export {
|
|
45
|
+
useImageSelection
|
|
46
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { RefObject } from 'react';
|
|
2
|
+
import { HyperlinkAttributes } from '@edifice.io/tiptap-extensions/hyperlink';
|
|
3
|
+
import { LinkerAttributes } from '@edifice.io/tiptap-extensions/linker';
|
|
4
|
+
import { Editor } from '@tiptap/react';
|
|
5
|
+
import { MediaLibraryRef } from '../../multimedia';
|
|
6
|
+
/**
|
|
7
|
+
* Custom hook to handle LinkToolbar events.
|
|
8
|
+
* @returns {
|
|
9
|
+
* `onOpen`: Opens a link ,
|
|
10
|
+
* `onEdit`: Edit a link,
|
|
11
|
+
* `onUnlink`: Removes a link,
|
|
12
|
+
* }
|
|
13
|
+
*/
|
|
14
|
+
export declare const useLinkToolbar: (editor: Editor | null, mediaLibraryRef: RefObject<MediaLibraryRef>) => {
|
|
15
|
+
onEdit: (attrs: LinkerAttributes | HyperlinkAttributes) => void;
|
|
16
|
+
onOpen: (attrs: LinkerAttributes) => void;
|
|
17
|
+
onUnlink: () => void;
|
|
18
|
+
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { useCallback } from "react";
|
|
2
|
+
const useLinkToolbar = (editor, mediaLibraryRef) => ({
|
|
3
|
+
onEdit: useCallback((attrs) => {
|
|
4
|
+
var _a, _b;
|
|
5
|
+
editor != null && editor.isActive("hyperlink") && editor.commands.extendMarkRange("hyperlink");
|
|
6
|
+
const attrsLinker = attrs;
|
|
7
|
+
if (attrsLinker["data-id"] || attrsLinker["data-app-prefix"])
|
|
8
|
+
(_a = mediaLibraryRef.current) == null || _a.showLink({
|
|
9
|
+
target: attrs.target,
|
|
10
|
+
resourceId: attrsLinker["data-id"],
|
|
11
|
+
appPrefix: attrsLinker["data-app-prefix"]
|
|
12
|
+
});
|
|
13
|
+
else {
|
|
14
|
+
const {
|
|
15
|
+
href,
|
|
16
|
+
target
|
|
17
|
+
} = attrs;
|
|
18
|
+
(_b = mediaLibraryRef.current) == null || _b.showLink({
|
|
19
|
+
link: {
|
|
20
|
+
url: href || "",
|
|
21
|
+
target: target || void 0,
|
|
22
|
+
text: editor != null && editor.state.selection.empty ? "" : editor == null ? void 0 : editor.state.selection.content().content.child(0).textContent
|
|
23
|
+
}
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
}, [editor, mediaLibraryRef]),
|
|
27
|
+
onOpen: (attrs) => {
|
|
28
|
+
window.open(attrs.href || "about:blank", "_blank");
|
|
29
|
+
},
|
|
30
|
+
onUnlink: () => {
|
|
31
|
+
var _a, _b, _c, _d;
|
|
32
|
+
(_b = editor == null ? void 0 : (_a = editor.commands).unsetLinker) == null || _b.call(_a), (_d = editor == null ? void 0 : (_c = editor.commands).unsetLink) == null || _d.call(_c);
|
|
33
|
+
}
|
|
34
|
+
});
|
|
35
|
+
export {
|
|
36
|
+
useLinkToolbar
|
|
37
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Editor } from '@tiptap/react';
|
|
2
|
+
/**
|
|
3
|
+
* Custom hook to manage MathsModal events in an editor.
|
|
4
|
+
* @param editor an instance
|
|
5
|
+
* @returns {
|
|
6
|
+
* `isOpen`: truthy boolean when MathsModal sholud be visible,
|
|
7
|
+
* `toggle`: an imperative function to toggle the `isOpen` value,
|
|
8
|
+
* `onCancel`: Cancel event handler,
|
|
9
|
+
* `onSuccess`: Success event handler (adds a formula to the editor content),
|
|
10
|
+
* }
|
|
11
|
+
*/
|
|
12
|
+
export declare const useMathsModal: (editor: Editor | null) => {
|
|
13
|
+
isOpen: boolean;
|
|
14
|
+
toggle: any;
|
|
15
|
+
onCancel: () => void;
|
|
16
|
+
onSuccess: (formulaEditor: string) => void;
|
|
17
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import useToggle from "../../../hooks/useToggle/useToggle.js";
|
|
2
|
+
const useMathsModal = (editor) => {
|
|
3
|
+
const [isOpen, toggle] = useToggle(!1);
|
|
4
|
+
return {
|
|
5
|
+
isOpen,
|
|
6
|
+
toggle,
|
|
7
|
+
onCancel: () => {
|
|
8
|
+
toggle();
|
|
9
|
+
},
|
|
10
|
+
onSuccess: (formulaEditor) => {
|
|
11
|
+
editor == null || editor.commands.insertContentAt(editor.view.state.selection, formulaEditor), editor == null || editor.commands.enter(), toggle();
|
|
12
|
+
}
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
export {
|
|
16
|
+
useMathsModal
|
|
17
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const useMathsStyles: () => void;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { useEffect } from "react";
|
|
2
|
+
const useMathsStyles = () => {
|
|
3
|
+
useEffect(() => {
|
|
4
|
+
const katexURL = "https://cdn.jsdelivr.net/npm/katex@0.16.10/dist/katex.min.css";
|
|
5
|
+
let hasKatexLink = !1;
|
|
6
|
+
const links = document.head.getElementsByTagName("link");
|
|
7
|
+
for (const link of links)
|
|
8
|
+
if (link.href === katexURL) {
|
|
9
|
+
hasKatexLink = !0;
|
|
10
|
+
return;
|
|
11
|
+
}
|
|
12
|
+
if (!hasKatexLink) {
|
|
13
|
+
const link = document.createElement("link");
|
|
14
|
+
link.href = katexURL, link.rel = "stylesheet", link.type = "text/css", document.head.appendChild(link);
|
|
15
|
+
}
|
|
16
|
+
}, []);
|
|
17
|
+
};
|
|
18
|
+
export {
|
|
19
|
+
useMathsStyles
|
|
20
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { WorkspaceElement } from '@edifice.io/client';
|
|
2
|
+
import { Editor } from '@tiptap/react';
|
|
3
|
+
import { TabsItemProps } from '../../../components';
|
|
4
|
+
import { MediaLibraryRef, MediaLibraryResult } from '../../multimedia';
|
|
5
|
+
/**
|
|
6
|
+
* Custom hook to manage MediaLibrary events in an editor.
|
|
7
|
+
* @param editor an instance
|
|
8
|
+
* @returns {
|
|
9
|
+
* `ref`: a reference to a MediaLibrary instance,
|
|
10
|
+
* `onCancel`: Cancel event handler,
|
|
11
|
+
* `onSuccess`: Success event handler (adds a formula to the editor content),
|
|
12
|
+
* }
|
|
13
|
+
*/
|
|
14
|
+
export declare const useMediaLibraryEditor: (editor: Editor | null) => {
|
|
15
|
+
ref: import('react').RefObject<MediaLibraryRef>;
|
|
16
|
+
onCancel: (uploads?: WorkspaceElement[]) => Promise<void>;
|
|
17
|
+
onSuccess: (result: MediaLibraryResult) => void;
|
|
18
|
+
onTabChange: (_tab: TabsItemProps, uploads?: WorkspaceElement[]) => Promise<void>;
|
|
19
|
+
};
|
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
import { useCallback, useRef } from "react";
|
|
2
|
+
import { addTimestampToImageUrl } from "@edifice.io/utilities";
|
|
3
|
+
import useWorkspaceFile from "../../../hooks/useWorkspaceFile/useWorkspaceFile.js";
|
|
4
|
+
const useMediaLibraryEditor = (editor) => {
|
|
5
|
+
const {
|
|
6
|
+
remove
|
|
7
|
+
} = useWorkspaceFile(), appendResult = useCallback((type, result) => {
|
|
8
|
+
if (!(!type || !editor))
|
|
9
|
+
switch (type) {
|
|
10
|
+
case "image": {
|
|
11
|
+
const images = result, imagesSize = images.length - 1;
|
|
12
|
+
images.forEach((image, index) => {
|
|
13
|
+
const url = `/workspace/${image.public ? "pub/" : ""}document/${image._id}`;
|
|
14
|
+
editor == null || editor.chain().focus().setNewImage({
|
|
15
|
+
/**
|
|
16
|
+
* WB-3053: addTimestampToImageUrl to update correctly image in tiptap-image-extension
|
|
17
|
+
*/
|
|
18
|
+
src: addTimestampToImageUrl(url),
|
|
19
|
+
alt: image.alt,
|
|
20
|
+
title: image.title
|
|
21
|
+
}).run(), index < imagesSize && (editor == null || editor.commands.setTextSelection(editor.state.selection.to));
|
|
22
|
+
});
|
|
23
|
+
break;
|
|
24
|
+
}
|
|
25
|
+
case "audio": {
|
|
26
|
+
const sounds = Array.isArray(result) ? result : [result], {
|
|
27
|
+
from
|
|
28
|
+
} = editor.state.selection;
|
|
29
|
+
sounds.reverse().forEach((sound) => {
|
|
30
|
+
editor == null || editor.commands.setAudio(sound._id || "", `/workspace/${sound.public ? "pub/" : ""}document/${sound._id}`), editor == null || editor.commands.setTextSelection(from);
|
|
31
|
+
});
|
|
32
|
+
break;
|
|
33
|
+
}
|
|
34
|
+
case "video": {
|
|
35
|
+
if (typeof result == "string")
|
|
36
|
+
editor == null || editor.commands.insertContentAt(editor.view.state.selection, result);
|
|
37
|
+
else {
|
|
38
|
+
const videos = result, {
|
|
39
|
+
from
|
|
40
|
+
} = editor.state.selection;
|
|
41
|
+
videos.reverse().forEach((video) => {
|
|
42
|
+
editor == null || editor.commands.setVideo(video._id || "", `/workspace/${video.public ? "pub/" : ""}document/${video._id}`, !0), editor == null || editor.commands.setTextSelection(from);
|
|
43
|
+
});
|
|
44
|
+
}
|
|
45
|
+
break;
|
|
46
|
+
}
|
|
47
|
+
case "attachment": {
|
|
48
|
+
let innerHtml = "";
|
|
49
|
+
for (let i = 0; i < result.length; i++) {
|
|
50
|
+
const link = result[i];
|
|
51
|
+
innerHtml += `<a href="/workspace/${link.public ? "pub/" : ""}document/${link._id}">${link.name}
|
|
52
|
+
</a>`;
|
|
53
|
+
}
|
|
54
|
+
const richContent = `<div class="attachments">
|
|
55
|
+
${innerHtml}
|
|
56
|
+
</div>`;
|
|
57
|
+
editor == null || editor.commands.insertContentAt(editor.view.state.selection, richContent), editor == null || editor.commands.enter();
|
|
58
|
+
break;
|
|
59
|
+
}
|
|
60
|
+
case "hyperlink": {
|
|
61
|
+
const resourceTabResult = result;
|
|
62
|
+
if (editor != null && editor.isActive("linker") && editor.commands.unsetLinker(), editor != null && editor.isActive("hyperlink") && editor.commands.toggleMark("hyperlink"), editor == null || editor.commands.focus(), editor.state.selection.empty && Array.isArray(resourceTabResult.resources))
|
|
63
|
+
resourceTabResult.resources.forEach((link) => {
|
|
64
|
+
editor == null || editor.commands.setLinker({
|
|
65
|
+
href: link.path,
|
|
66
|
+
"data-app-prefix": link.application,
|
|
67
|
+
"data-id": link.assetId,
|
|
68
|
+
target: resourceTabResult.target ?? null,
|
|
69
|
+
title: link.name
|
|
70
|
+
}), resourceTabResult && resourceTabResult.resources && resourceTabResult.resources.length > 1 && editor.commands.enter();
|
|
71
|
+
});
|
|
72
|
+
else {
|
|
73
|
+
const insertAndSelectText = (name) => {
|
|
74
|
+
if (!name) return;
|
|
75
|
+
const from = editor.state.selection.head, to = from + name.length;
|
|
76
|
+
editor == null || editor.chain().insertContent(name).setTextSelection({
|
|
77
|
+
from,
|
|
78
|
+
to
|
|
79
|
+
}).run();
|
|
80
|
+
};
|
|
81
|
+
if (Array.isArray(resourceTabResult.resources))
|
|
82
|
+
resourceTabResult.resources.forEach((link) => {
|
|
83
|
+
var _a;
|
|
84
|
+
editor.state.selection.empty && insertAndSelectText(link.name), editor == null || editor.commands.setLink({
|
|
85
|
+
href: link.path,
|
|
86
|
+
target: resourceTabResult.target ?? null
|
|
87
|
+
});
|
|
88
|
+
const newPosition = editor.state.selection.head;
|
|
89
|
+
editor.commands.setTextSelection({
|
|
90
|
+
from: newPosition,
|
|
91
|
+
to: newPosition
|
|
92
|
+
}), resourceTabResult != null && resourceTabResult.resources && ((_a = resourceTabResult == null ? void 0 : resourceTabResult.resources) == null ? void 0 : _a.length) > 1 && editor.commands.enter();
|
|
93
|
+
});
|
|
94
|
+
else {
|
|
95
|
+
const {
|
|
96
|
+
url,
|
|
97
|
+
target,
|
|
98
|
+
text
|
|
99
|
+
} = result;
|
|
100
|
+
if (editor.state.selection.empty)
|
|
101
|
+
insertAndSelectText(text);
|
|
102
|
+
else {
|
|
103
|
+
const {
|
|
104
|
+
selection
|
|
105
|
+
} = editor.view.state, {
|
|
106
|
+
from,
|
|
107
|
+
to
|
|
108
|
+
} = selection;
|
|
109
|
+
text && selection.content().content.child(0).textContent !== text && editor.chain().focus().insertContentAt({
|
|
110
|
+
from,
|
|
111
|
+
to
|
|
112
|
+
}, text).setTextSelection({
|
|
113
|
+
from,
|
|
114
|
+
to: from + text.length
|
|
115
|
+
}).run();
|
|
116
|
+
}
|
|
117
|
+
editor == null || editor.commands.setLink({
|
|
118
|
+
href: url,
|
|
119
|
+
title: "",
|
|
120
|
+
target
|
|
121
|
+
});
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
break;
|
|
125
|
+
}
|
|
126
|
+
case "embedder": {
|
|
127
|
+
editor == null || editor.commands.insertContentAt(editor.view.state.selection, result), editor == null || editor.commands.enter();
|
|
128
|
+
break;
|
|
129
|
+
}
|
|
130
|
+
default:
|
|
131
|
+
return `<div>[useMediaLibraryEditor/onSuccess] Le contenu de type "${type}" n'est pas convertissable pour l'instant !</div>`;
|
|
132
|
+
}
|
|
133
|
+
}, [editor]), mediaLibraryRef = useRef(null);
|
|
134
|
+
return {
|
|
135
|
+
ref: mediaLibraryRef,
|
|
136
|
+
onCancel: async (uploads) => {
|
|
137
|
+
var _a, _b;
|
|
138
|
+
(_a = mediaLibraryRef.current) != null && _a.type && uploads && uploads.length > 0 && await remove(uploads), (_b = mediaLibraryRef.current) == null || _b.hide();
|
|
139
|
+
},
|
|
140
|
+
onSuccess: (result) => {
|
|
141
|
+
var _a, _b;
|
|
142
|
+
(_a = mediaLibraryRef.current) != null && _a.type && (appendResult(mediaLibraryRef.current.type, result), (_b = mediaLibraryRef.current) == null || _b.hide());
|
|
143
|
+
},
|
|
144
|
+
onTabChange: async (_tab, uploads) => {
|
|
145
|
+
var _a;
|
|
146
|
+
(_a = mediaLibraryRef.current) != null && _a.type && uploads && uploads.length > 0 && await remove(uploads);
|
|
147
|
+
}
|
|
148
|
+
};
|
|
149
|
+
};
|
|
150
|
+
export {
|
|
151
|
+
useMediaLibraryEditor
|
|
152
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Editor } from '@tiptap/react';
|
|
2
|
+
export interface MediaResizeProps {
|
|
3
|
+
editor: Editor;
|
|
4
|
+
[x: string]: any;
|
|
5
|
+
}
|
|
6
|
+
export declare const useResizeMedia: (props: MediaResizeProps, refResizable: React.RefObject<HTMLImageElement | HTMLVideoElement>) => {
|
|
7
|
+
startVerticalResize: (event: React.MouseEvent<HTMLDivElement, MouseEvent>) => void;
|
|
8
|
+
stopVerticalResize: () => void;
|
|
9
|
+
isVerticalResizeActive: import('react').MutableRefObject<boolean>;
|
|
10
|
+
};
|