@edifice.io/react 2.0.0-develop-rc.3 → 2.0.0-develop-rc.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/ActionBar/ActionBar.d.ts +1 -1
- package/dist/components/ActionBar/ActionBar.js +3 -2
- package/dist/components/ActionBar/index.d.ts +0 -1
- package/dist/components/Alert/Alert.d.ts +1 -1
- package/dist/components/Alert/Alert.js +2 -1
- package/dist/components/Alert/index.d.ts +0 -1
- package/dist/components/AppHeader/AppHeader.d.ts +1 -1
- package/dist/components/AppHeader/AppHeader.js +3 -2
- package/dist/components/AppHeader/index.d.ts +0 -1
- package/dist/components/AppIcon/AppIcon.js +1 -1
- package/dist/components/Attachment/Attachment.d.ts +1 -1
- package/dist/components/Attachment/Attachment.js +3 -2
- package/dist/components/Attachment/index.d.ts +0 -1
- package/dist/components/Avatar/Avatar.d.ts +1 -1
- package/dist/components/Avatar/Avatar.js +4 -3
- package/dist/components/Avatar/index.d.ts +0 -1
- package/dist/components/Badge/Badge.d.ts +1 -1
- package/dist/components/Badge/Badge.js +3 -2
- package/dist/components/Badge/index.d.ts +0 -1
- package/dist/components/Breadcrumb/Breadcrumb.js +1 -1
- package/dist/components/Button/Button.d.ts +1 -1
- package/dist/components/Button/Button.js +4 -3
- package/dist/components/Button/IconButton.d.ts +1 -1
- package/dist/components/Button/IconButton.js +4 -3
- package/dist/components/Button/SearchButton.d.ts +1 -1
- package/dist/components/Button/SearchButton.js +4 -3
- package/dist/components/Button/index.d.ts +0 -3
- package/dist/components/Card/Card.d.ts +1 -1
- package/dist/components/Card/Card.js +3 -2
- package/dist/components/Card/CardHeader.js +1 -1
- package/dist/components/Card/CardImage.js +1 -1
- package/dist/components/Card/CardUser.js +1 -1
- package/dist/components/Card/index.d.ts +0 -1
- package/dist/components/Checkbox/Checkbox.d.ts +1 -1
- package/dist/components/Checkbox/Checkbox.js +3 -2
- package/dist/components/Checkbox/index.d.ts +0 -1
- package/dist/components/ColorPicker/ColorPicker.d.ts +1 -1
- package/dist/components/ColorPicker/ColorPicker.js +5 -4
- package/dist/components/ColorPicker/ColorPickerItem.d.ts +1 -1
- package/dist/components/ColorPicker/ColorPickerItem.js +3 -2
- package/dist/components/ColorPicker/index.d.ts +1 -3
- package/dist/components/Combobox/Combobox.d.ts +1 -1
- package/dist/components/Combobox/Combobox.js +4 -4
- package/dist/components/Combobox/ComboboxTrigger.js +2 -2
- package/dist/components/Combobox/index.d.ts +0 -1
- package/dist/components/Dropdown/Dropdown.d.ts +1 -1
- package/dist/components/Dropdown/Dropdown.js +4 -3
- package/dist/components/Dropdown/DropdownCheckboxItem.js +1 -1
- package/dist/components/Dropdown/DropdownRadioItem.js +1 -1
- package/dist/components/Dropdown/index.d.ts +0 -1
- package/dist/components/Dropzone/Dropzone.d.ts +1 -1
- package/dist/components/Dropzone/Dropzone.js +2 -2
- package/dist/components/Dropzone/DropzoneFile.js +1 -1
- package/dist/components/Dropzone/DropzoneImport.js +1 -1
- package/dist/components/Dropzone/index.d.ts +0 -1
- package/dist/components/EmptyScreen/EmptyScreen.d.ts +1 -1
- package/dist/components/EmptyScreen/EmptyScreen.js +4 -3
- package/dist/components/EmptyScreen/index.d.ts +0 -1
- package/dist/components/FileCard/FileCard.d.ts +1 -1
- package/dist/components/FileCard/FileCard.js +4 -3
- package/dist/components/FileCard/index.d.ts +0 -1
- package/dist/components/Form/FormControl.d.ts +1 -1
- package/dist/components/Form/FormControl.js +6 -5
- package/dist/components/Form/FormText.d.ts +1 -1
- package/dist/components/Form/FormText.js +3 -2
- package/dist/components/Form/index.d.ts +1 -2
- package/dist/components/Heading/Heading.d.ts +1 -1
- package/dist/components/Heading/Heading.js +3 -2
- package/dist/components/Heading/index.d.ts +0 -1
- package/dist/components/Image/Image.d.ts +1 -1
- package/dist/components/Image/Image.js +3 -2
- package/dist/components/Image/index.d.ts +0 -1
- package/dist/components/ImagePicker/ImagePicker.js +4 -4
- package/dist/components/Input/Input.d.ts +1 -1
- package/dist/components/Input/Input.js +3 -2
- package/dist/components/Input/index.d.ts +0 -1
- package/dist/components/Label/Label.d.ts +1 -1
- package/dist/components/Label/Label.js +3 -2
- package/dist/components/Label/index.d.ts +0 -1
- package/dist/components/Loading/Loading.d.ts +1 -1
- package/dist/components/Loading/Loading.js +3 -2
- package/dist/components/Loading/index.d.ts +0 -1
- package/dist/components/LoadingScreen/LoadingScreen.d.ts +1 -1
- package/dist/components/LoadingScreen/LoadingScreen.js +3 -2
- package/dist/components/LoadingScreen/index.d.ts +1 -1
- package/dist/components/Logo/Logo.d.ts +1 -1
- package/dist/components/Logo/Logo.js +3 -2
- package/dist/components/Logo/index.d.ts +0 -1
- package/dist/components/Menu/MenuButton.js +1 -1
- package/dist/components/Modal/Modal.d.ts +1 -1
- package/dist/components/Modal/Modal.js +3 -2
- package/dist/components/Modal/ModalHeader.js +1 -1
- package/dist/components/Modal/index.d.ts +0 -1
- package/dist/components/Radio/Radio.d.ts +1 -1
- package/dist/components/Radio/Radio.js +3 -2
- package/dist/components/Radio/index.d.ts +0 -1
- package/dist/components/SearchBar/SearchBar.d.ts +1 -1
- package/dist/components/SearchBar/SearchBar.js +5 -4
- package/dist/components/SearchBar/index.d.ts +0 -1
- package/dist/components/Select/Select.d.ts +1 -1
- package/dist/components/Select/Select.js +4 -3
- package/dist/components/Select/SelectTrigger.js +1 -1
- package/dist/components/Select/index.d.ts +0 -1
- package/dist/components/Table/TableExplorer.d.ts +1 -1
- package/dist/components/Table/TableExplorer.js +3 -2
- package/dist/components/Table/index.d.ts +0 -1
- package/dist/components/Tabs/Tabs.d.ts +1 -1
- package/dist/components/Tabs/Tabs.js +2 -2
- package/dist/components/Tabs/TabsList.js +1 -1
- package/dist/components/Tabs/index.d.ts +0 -1
- package/dist/components/TextArea/TextArea.d.ts +1 -1
- package/dist/components/TextArea/TextArea.js +3 -2
- package/dist/components/TextArea/index.d.ts +0 -1
- package/dist/components/Toolbar/Toolbar.d.ts +1 -1
- package/dist/components/Toolbar/Toolbar.js +7 -6
- package/dist/components/Toolbar/index.d.ts +0 -1
- package/dist/components/Tooltip/Tooltip.d.ts +1 -1
- package/dist/components/Tooltip/Tooltip.js +3 -2
- package/dist/components/Tooltip/index.d.ts +0 -1
- package/dist/components/TreeView/TreeView.d.ts +1 -1
- package/dist/components/TreeView/TreeView.js +3 -2
- package/dist/components/TreeView/index.d.ts +0 -1
- package/dist/components/UploadCard/UploadCard.js +6 -6
- package/dist/components/VisuallyHidden/VisuallyHidden.d.ts +1 -1
- package/dist/components/VisuallyHidden/VisuallyHidden.js +3 -2
- package/dist/components/VisuallyHidden/index.d.ts +1 -1
- package/dist/core/useAvatar/useAvatar.js +1 -1
- package/dist/index.js +98 -98
- package/dist/modals.js +12 -14
- package/dist/modules/audience/ReactionChoice.js +3 -3
- package/dist/modules/audience/ReactionModal.Card.js +1 -1
- package/dist/modules/audience/ReactionModal.js +3 -3
- package/dist/modules/audience/ReactionSummary.js +1 -1
- package/dist/modules/audience/ViewsCounter.js +1 -1
- package/dist/modules/audience/ViewsModal.js +2 -2
- package/dist/modules/editor/components/BubbleMenuEditImage/BubbleMenuEditImage.js +1 -1
- package/dist/modules/editor/components/Editor/Editor.js +1 -1
- package/dist/modules/editor/components/Editor/MathsModal.js +2 -2
- package/dist/modules/editor/components/EditorToolbar/EditorToolbar.DropdownMenu.js +3 -3
- package/dist/modules/editor/components/EditorToolbar/EditorToolbar.Emoji.js +3 -3
- package/dist/modules/editor/components/EditorToolbar/EditorToolbar.HighlightColor.js +4 -4
- package/dist/modules/editor/components/EditorToolbar/EditorToolbar.PlusMenu.js +1 -1
- package/dist/modules/editor/components/EditorToolbar/EditorToolbar.TextColor.js +4 -4
- package/dist/modules/editor/components/EditorToolbar/EditorToolbar.TextSize.js +3 -3
- package/dist/modules/editor/components/EditorToolbar/EditorToolbar.Typography.js +3 -3
- package/dist/modules/editor/components/EditorToolbar/EditorToolbar.js +1 -1
- package/dist/modules/editor/components/Renderer/AttachmentRenderer.js +2 -2
- package/dist/modules/editor/components/Renderer/LinkerRenderer.js +1 -1
- package/dist/modules/editor/components/Renderer/MediaRenderer.js +1 -1
- package/dist/modules/editor/components/Toolbar/LinkToolbar.js +1 -1
- package/dist/modules/editor/components/Toolbar/TableToolbar.AddMenu.js +2 -2
- package/dist/modules/editor/components/Toolbar/TableToolbar.CellColor.js +4 -4
- package/dist/modules/editor/components/Toolbar/TableToolbar.DelMenu.js +2 -2
- package/dist/modules/editor/components/Toolbar/TableToolbar.js +1 -1
- package/dist/modules/modals/OnboardingModal/OnboardingModal.js +3 -3
- package/dist/modules/modals/PublishModal/PublishModal.js +8 -8
- package/dist/modules/modals/PublishModal/components/ActivitiesDropdown.js +1 -1
- package/dist/modules/modals/PublishModal/components/AgeSelect.js +1 -1
- package/dist/modules/modals/PublishModal/components/LangSelect.js +1 -1
- package/dist/modules/modals/PublishModal/components/SubjectsDropdown.js +1 -1
- package/dist/modules/modals/ResourceModal/ResourceModal.d.ts +1 -1
- package/dist/modules/modals/ResourceModal/ResourceModal.js +11 -10
- package/dist/modules/modals/ResourceModal/apps/BlogPublic.d.ts +1 -1
- package/dist/modules/modals/ResourceModal/apps/BlogPublic.js +8 -7
- package/dist/modules/modals/ResourceModal/hooks/useUpdateMutation.d.ts +1 -1
- package/dist/modules/modals/ResourceModal/hooks/useUpdateMutation.js +3 -2
- package/dist/modules/modals/ResourceModal/index.d.ts +3 -3
- package/dist/modules/modals/ShareModal/apps/ShareBlog.d.ts +2 -1
- package/dist/modules/modals/ShareModal/apps/ShareBlog.js +3 -2
- package/dist/modules/modals/ShareModal/hooks/useShareMutation.d.ts +1 -1
- package/dist/modules/modals/ShareModal/hooks/useShareMutation.js +3 -2
- package/dist/modules/modals/ShareModal/index.d.ts +3 -3
- package/dist/modules/multimedia/AudioRecorder/AudioRecorder.js +3 -3
- package/dist/modules/multimedia/Embed/Embed.js +2 -2
- package/dist/modules/multimedia/ImageEditor/components/ImageEditor.js +6 -6
- package/dist/modules/multimedia/ImageEditor/components/ImageEditorToolbar.js +1 -1
- package/dist/modules/multimedia/ImagePickerWorkspace/ImagePickerWorkspace.js +2 -2
- package/dist/modules/multimedia/Linker/ExternalLinker.js +4 -4
- package/dist/modules/multimedia/Linker/InternalLinker.js +4 -4
- package/dist/modules/multimedia/LinkerCard/LinkerCard.d.ts +1 -1
- package/dist/modules/multimedia/LinkerCard/LinkerCard.js +5 -4
- package/dist/modules/multimedia/LinkerCard/index.d.ts +0 -1
- package/dist/modules/multimedia/MediaLibrary/MediaLibrary.js +3 -3
- package/dist/modules/multimedia/MediaLibrary/innertabs/InternalLink.js +1 -1
- package/dist/modules/multimedia/MediaLibrary/innertabs/Upload.js +1 -1
- package/dist/modules/multimedia/VideoEmbed/VideoEmbed.js +5 -5
- package/dist/modules/multimedia/VideoRecorder/VideoRecorder.js +5 -5
- package/dist/modules/multimedia/Workspace/Workspace.js +6 -6
- package/dist/multimedia.js +8 -8
- package/dist/portal/Header/Header.js +3 -3
- package/dist/portal/Header/NavLink.js +1 -1
- package/dist/portal/Help/Help.js +1 -1
- package/dist/portal/Help/hooks/useHelp.js +1 -1
- package/dist/portal/Layout/Layout.js +1 -1
- package/dist/portal/SearchEngine/SearchEngine.js +2 -2
- package/package.json +2 -2
- package/dist/modules/modals/ShareModal/ShareBookmark.js +0 -22
- package/dist/modules/modals/ShareModal/ShareBookmarkLine.js +0 -42
- package/dist/modules/modals/ShareModal/ShareModal.js +0 -128
- package/dist/modules/modals/ShareModal/hooks/useSearch.js +0 -178
- package/dist/modules/modals/ShareModal/hooks/useShare.js +0 -192
- package/dist/modules/modals/ShareModal/hooks/useShareBookmark.js +0 -67
- package/dist/modules/modals/ShareModal/utils/hasRight.js +0 -4
- package/dist/modules/modals/ShareModal/utils/showShareRightLine.js +0 -4
|
@@ -4,7 +4,7 @@ import { FloatingMenu } from "@tiptap/react";
|
|
|
4
4
|
import { useTranslation } from "react-i18next";
|
|
5
5
|
import { tippyOptions } from "./LinkToolbar.TippyOptions.js";
|
|
6
6
|
import { Icon } from "../../../../components/Icon/Icon.js";
|
|
7
|
-
import Toolbar from "../../../../components/Toolbar/Toolbar.js";
|
|
7
|
+
import { Toolbar } from "../../../../components/Toolbar/Toolbar.js";
|
|
8
8
|
const LinkToolbar = ({
|
|
9
9
|
editor,
|
|
10
10
|
onEdit,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs, Fragment, jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useTranslation } from "react-i18next";
|
|
3
|
-
import Tooltip from "../../../../components/Tooltip/Tooltip.js";
|
|
4
|
-
import Dropdown from "../../../../components/Dropdown/Dropdown.js";
|
|
3
|
+
import { Tooltip } from "../../../../components/Tooltip/Tooltip.js";
|
|
4
|
+
import { Dropdown } from "../../../../components/Dropdown/Dropdown.js";
|
|
5
5
|
import { Icon } from "../../../../components/Icon/Icon.js";
|
|
6
6
|
const TableToolbarAddMenu = ({
|
|
7
7
|
editor
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsxs, Fragment, jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useState, useCallback, useEffect } from "react";
|
|
3
3
|
import { useTranslation } from "react-i18next";
|
|
4
|
-
import ColorPickerItem from "../../../../components/ColorPicker/ColorPickerItem.js";
|
|
4
|
+
import { ColorPickerItem } from "../../../../components/ColorPicker/ColorPickerItem.js";
|
|
5
5
|
import { DefaultPalette } from "../../../../components/ColorPicker/ColorPalette.js";
|
|
6
|
-
import Tooltip from "../../../../components/Tooltip/Tooltip.js";
|
|
7
|
-
import Dropdown from "../../../../components/Dropdown/Dropdown.js";
|
|
8
|
-
import ColorPicker from "../../../../components/ColorPicker/ColorPicker.js";
|
|
6
|
+
import { Tooltip } from "../../../../components/Tooltip/Tooltip.js";
|
|
7
|
+
import { Dropdown } from "../../../../components/Dropdown/Dropdown.js";
|
|
8
|
+
import { ColorPicker } from "../../../../components/ColorPicker/ColorPicker.js";
|
|
9
9
|
const TableToolbarCellColor = ({
|
|
10
10
|
editor,
|
|
11
11
|
itemRefs
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs, Fragment, jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useTranslation } from "react-i18next";
|
|
3
|
-
import Tooltip from "../../../../components/Tooltip/Tooltip.js";
|
|
4
|
-
import Dropdown from "../../../../components/Dropdown/Dropdown.js";
|
|
3
|
+
import { Tooltip } from "../../../../components/Tooltip/Tooltip.js";
|
|
4
|
+
import { Dropdown } from "../../../../components/Dropdown/Dropdown.js";
|
|
5
5
|
import { Icon } from "../../../../components/Icon/Icon.js";
|
|
6
6
|
const TableToolbarDelMenu = ({
|
|
7
7
|
editor
|
|
@@ -5,7 +5,7 @@ import { useTranslation } from "react-i18next";
|
|
|
5
5
|
import { TableToolbarAddMenu } from "./TableToolbar.AddMenu.js";
|
|
6
6
|
import { TableToolbarCellColor } from "./TableToolbar.CellColor.js";
|
|
7
7
|
import { TableToolbarDelMenu } from "./TableToolbar.DelMenu.js";
|
|
8
|
-
import Toolbar from "../../../../components/Toolbar/Toolbar.js";
|
|
8
|
+
import { Toolbar } from "../../../../components/Toolbar/Toolbar.js";
|
|
9
9
|
import { Icon } from "../../../../components/Icon/Icon.js";
|
|
10
10
|
const TableToolbar = ({
|
|
11
11
|
editor
|
|
@@ -6,9 +6,9 @@ import { Pagination } from "swiper/modules";
|
|
|
6
6
|
import { Swiper, SwiperSlide } from "swiper/react";
|
|
7
7
|
import { useOnboardingModal } from "./useOnboardingModal.js";
|
|
8
8
|
import usePaths from "../../../core/usePaths/usePaths.js";
|
|
9
|
-
import Modal from "../../../components/Modal/Modal.js";
|
|
10
|
-
import Image from "../../../components/Image/Image.js";
|
|
11
|
-
import Button from "../../../components/Button/Button.js";
|
|
9
|
+
import { Modal } from "../../../components/Modal/Modal.js";
|
|
10
|
+
import { Image } from "../../../components/Image/Image.js";
|
|
11
|
+
import { Button } from "../../../components/Button/Button.js";
|
|
12
12
|
const OnboardingModal = ({
|
|
13
13
|
id,
|
|
14
14
|
items,
|
|
@@ -10,16 +10,16 @@ import { SubjectsDropdown } from "./components/SubjectsDropdown.js";
|
|
|
10
10
|
import usePublishModal from "./hooks/usePublishModal.js";
|
|
11
11
|
import useMediaLibrary from "../../../core/useMediaLibrary/useMediaLibrary.js";
|
|
12
12
|
import useResource from "../../../core/useResource/useResource.js";
|
|
13
|
-
import Heading from "../../../components/Heading/Heading.js";
|
|
14
13
|
import MediaLibrary from "../../multimedia/MediaLibrary/MediaLibrary.js";
|
|
15
14
|
import { useOdeClient } from "../../../core/OdeClientProvider/OdeClientProvider.js";
|
|
16
|
-
import LoadingScreen from "../../../components/LoadingScreen/LoadingScreen.js";
|
|
17
|
-
import Modal from "../../../components/Modal/Modal.js";
|
|
18
|
-
import
|
|
19
|
-
import
|
|
20
|
-
import
|
|
21
|
-
import
|
|
22
|
-
import
|
|
15
|
+
import { LoadingScreen } from "../../../components/LoadingScreen/LoadingScreen.js";
|
|
16
|
+
import { Modal } from "../../../components/Modal/Modal.js";
|
|
17
|
+
import { Heading } from "../../../components/Heading/Heading.js";
|
|
18
|
+
import { FormControl } from "../../../components/Form/FormControl.js";
|
|
19
|
+
import { Label } from "../../../components/Label/Label.js";
|
|
20
|
+
import { Input } from "../../../components/Input/Input.js";
|
|
21
|
+
import { TextArea } from "../../../components/TextArea/TextArea.js";
|
|
22
|
+
import { Button } from "../../../components/Button/Button.js";
|
|
23
23
|
function PublishModal({
|
|
24
24
|
isOpen,
|
|
25
25
|
resourceId,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { Controller } from "react-hook-form";
|
|
3
3
|
import { useTranslation } from "react-i18next";
|
|
4
|
-
import Dropdown from "../../../../components/Dropdown/Dropdown.js";
|
|
4
|
+
import { Dropdown } from "../../../../components/Dropdown/Dropdown.js";
|
|
5
5
|
import { useActivitiesOptions } from "../hooks/useActivitiesOptions.js";
|
|
6
6
|
const ActivitiesDropdown = ({
|
|
7
7
|
control,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { Controller } from "react-hook-form";
|
|
3
|
-
import Select from "../../../../components/Select/Select.js";
|
|
3
|
+
import { Select } from "../../../../components/Select/Select.js";
|
|
4
4
|
import { ageOptions } from "../constants/ageOptions.js";
|
|
5
5
|
const AgeSelect = ({
|
|
6
6
|
name,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { Controller } from "react-hook-form";
|
|
3
|
-
import Select from "../../../../components/Select/Select.js";
|
|
3
|
+
import { Select } from "../../../../components/Select/Select.js";
|
|
4
4
|
import { useLanguageOptions } from "../hooks/useLanguageOptions.js";
|
|
5
5
|
const defaultSelectLanguageOption = "bpr.form.publication.language", LangSelect = ({
|
|
6
6
|
control
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { Controller } from "react-hook-form";
|
|
3
3
|
import { useTranslation } from "react-i18next";
|
|
4
|
-
import Dropdown from "../../../../components/Dropdown/Dropdown.js";
|
|
4
|
+
import { Dropdown } from "../../../../components/Dropdown/Dropdown.js";
|
|
5
5
|
import { useSubjectsOptions } from "../hooks/useSubjectsOptions.js";
|
|
6
6
|
const SubjectsDropdown = ({
|
|
7
7
|
control,
|
|
@@ -26,5 +26,5 @@ interface UpdateProps extends BaseProps {
|
|
|
26
26
|
resourceId: ID;
|
|
27
27
|
}
|
|
28
28
|
type Props = CreateProps | UpdateProps;
|
|
29
|
-
declare const ResourceModal: ({ isOpen, onCancel, onSuccess, children, inputMaxLength, textareaMaxLength, ...props }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
29
|
+
export declare const ResourceModal: ({ isOpen, onCancel, onSuccess, children, inputMaxLength, textareaMaxLength, ...props }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
30
30
|
export default ResourceModal;
|
|
@@ -12,14 +12,14 @@ import useResource from "../../../core/useResource/useResource.js";
|
|
|
12
12
|
import MediaLibrary from "../../multimedia/MediaLibrary/MediaLibrary.js";
|
|
13
13
|
import { useOdeClient } from "../../../core/OdeClientProvider/OdeClientProvider.js";
|
|
14
14
|
import useMediaLibrary from "../../../core/useMediaLibrary/useMediaLibrary.js";
|
|
15
|
-
import LoadingScreen from "../../../components/LoadingScreen/LoadingScreen.js";
|
|
16
|
-
import Modal from "../../../components/Modal/Modal.js";
|
|
17
|
-
import Heading from "../../../components/Heading/Heading.js";
|
|
18
|
-
import FormControl from "../../../components/Form/FormControl.js";
|
|
19
|
-
import Label from "../../../components/Label/Label.js";
|
|
20
|
-
import Input from "../../../components/Input/Input.js";
|
|
21
|
-
import TextArea from "../../../components/TextArea/TextArea.js";
|
|
22
|
-
import Button from "../../../components/Button/Button.js";
|
|
15
|
+
import { LoadingScreen } from "../../../components/LoadingScreen/LoadingScreen.js";
|
|
16
|
+
import { Modal } from "../../../components/Modal/Modal.js";
|
|
17
|
+
import { Heading } from "../../../components/Heading/Heading.js";
|
|
18
|
+
import { FormControl } from "../../../components/Form/FormControl.js";
|
|
19
|
+
import { Label } from "../../../components/Label/Label.js";
|
|
20
|
+
import { Input } from "../../../components/Input/Input.js";
|
|
21
|
+
import { TextArea } from "../../../components/TextArea/TextArea.js";
|
|
22
|
+
import { Button } from "../../../components/Button/Button.js";
|
|
23
23
|
const DEFAULT_INPUT_MAX_LENGTH = 60, DEFAULT_TEXTAREA_MAX_LENGTH = 400, ResourceModal = ({
|
|
24
24
|
isOpen,
|
|
25
25
|
onCancel,
|
|
@@ -150,7 +150,8 @@ const DEFAULT_INPUT_MAX_LENGTH = 60, DEFAULT_TEXTAREA_MAX_LENGTH = 400, Resource
|
|
|
150
150
|
] }),
|
|
151
151
|
/* @__PURE__ */ jsx(MediaLibrary, { appCode, ref: mediaLibraryRef, multiple: !1, visibility: "protected", ...mediaLibraryHandlers })
|
|
152
152
|
] }), document.getElementById("portal"));
|
|
153
|
-
}
|
|
153
|
+
};
|
|
154
154
|
export {
|
|
155
|
-
ResourceModal
|
|
155
|
+
ResourceModal,
|
|
156
|
+
ResourceModal as default
|
|
156
157
|
};
|
|
@@ -9,5 +9,5 @@ interface BlogPublicProps {
|
|
|
9
9
|
register: UseFormRegister<FormInputs>;
|
|
10
10
|
setValue: UseFormSetValue<FormInputs>;
|
|
11
11
|
}
|
|
12
|
-
declare const BlogPublic: ({ appCode, isUpdating, resource, watch, register, setValue, }: BlogPublicProps) => import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
export declare const BlogPublic: ({ appCode, isUpdating, resource, watch, register, setValue, }: BlogPublicProps) => import("react/jsx-runtime").JSX.Element;
|
|
13
13
|
export default BlogPublic;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsxs, Fragment, jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useTranslation } from "react-i18next";
|
|
3
3
|
import { useSlug } from "../hooks/useSlug.js";
|
|
4
|
-
import Alert from "../../../../components/Alert/Alert.js";
|
|
5
|
-
import Heading from "../../../../components/Heading/Heading.js";
|
|
6
|
-
import FormControl from "../../../../components/Form/FormControl.js";
|
|
7
|
-
import Input from "../../../../components/Input/Input.js";
|
|
8
|
-
import Button from "../../../../components/Button/Button.js";
|
|
4
|
+
import { Alert } from "../../../../components/Alert/Alert.js";
|
|
5
|
+
import { Heading } from "../../../../components/Heading/Heading.js";
|
|
6
|
+
import { FormControl } from "../../../../components/Form/FormControl.js";
|
|
7
|
+
import { Input } from "../../../../components/Input/Input.js";
|
|
8
|
+
import { Button } from "../../../../components/Button/Button.js";
|
|
9
9
|
import { Icon } from "../../../../components/Icon/Icon.js";
|
|
10
10
|
const BlogPublic = ({
|
|
11
11
|
appCode,
|
|
@@ -56,7 +56,8 @@ const BlogPublic = ({
|
|
|
56
56
|
] })
|
|
57
57
|
] })
|
|
58
58
|
] });
|
|
59
|
-
}
|
|
59
|
+
};
|
|
60
60
|
export {
|
|
61
|
-
BlogPublic
|
|
61
|
+
BlogPublic,
|
|
62
|
+
BlogPublic as default
|
|
62
63
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UseMutationOptions, UseMutationResult } from '../../../../../node_modules/@tanstack/react-query';
|
|
2
2
|
import { UpdateParameters, UpdateResult } from 'edifice-ts-client';
|
|
3
|
-
declare const useUpdateMutation: ({ application, options, }: {
|
|
3
|
+
export declare const useUpdateMutation: ({ application, options, }: {
|
|
4
4
|
application: string;
|
|
5
5
|
options?: UseMutationOptions<UpdateResult, Error, UpdateParameters, unknown> | undefined;
|
|
6
6
|
}) => UseMutationResult<UpdateResult, Error, UpdateParameters>;
|
|
@@ -6,7 +6,8 @@ const useUpdateMutation = ({
|
|
|
6
6
|
}) => useMutation({
|
|
7
7
|
mutationFn: async (params) => await odeServices.resource(application).update(params),
|
|
8
8
|
...options
|
|
9
|
-
})
|
|
9
|
+
});
|
|
10
10
|
export {
|
|
11
|
-
useUpdateMutation
|
|
11
|
+
useUpdateMutation as default,
|
|
12
|
+
useUpdateMutation
|
|
12
13
|
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
export
|
|
1
|
+
export * from './ResourceModal';
|
|
2
|
+
export * from './apps/BlogPublic';
|
|
3
|
+
export * from './hooks/useUpdateMutation';
|
|
@@ -5,4 +5,5 @@ export interface ShareBlogProps {
|
|
|
5
5
|
resourceId: ID;
|
|
6
6
|
updateResource?: UseMutationResult<UpdateResult, unknown, UpdateParameters, unknown>;
|
|
7
7
|
}
|
|
8
|
-
export
|
|
8
|
+
export declare function ShareBlog({ resourceId, updateResource }: ShareBlogProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export default ShareBlog;
|
|
@@ -3,9 +3,9 @@ import { useState } from "react";
|
|
|
3
3
|
import { odeServices } from "edifice-ts-client";
|
|
4
4
|
import { useTranslation } from "react-i18next";
|
|
5
5
|
import useResource from "../../../../core/useResource/useResource.js";
|
|
6
|
-
import Radio from "../../../../components/Radio/Radio.js";
|
|
7
6
|
import { useOdeClient } from "../../../../core/OdeClientProvider/OdeClientProvider.js";
|
|
8
|
-
import Heading from "../../../../components/Heading/Heading.js";
|
|
7
|
+
import { Heading } from "../../../../components/Heading/Heading.js";
|
|
8
|
+
import { Radio } from "../../../../components/Radio/Radio.js";
|
|
9
9
|
function ShareBlog({
|
|
10
10
|
resourceId,
|
|
11
11
|
updateResource
|
|
@@ -38,5 +38,6 @@ function ShareBlog({
|
|
|
38
38
|
] });
|
|
39
39
|
}
|
|
40
40
|
export {
|
|
41
|
+
ShareBlog,
|
|
41
42
|
ShareBlog as default
|
|
42
43
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UseMutationOptions, UseMutationResult } from '../../../../../node_modules/@tanstack/react-query';
|
|
2
2
|
import { PutShareResponse, ShareRight } from 'edifice-ts-client';
|
|
3
|
-
declare const useShareMutation: ({ application, options, }: {
|
|
3
|
+
export declare const useShareMutation: ({ application, options, }: {
|
|
4
4
|
application: string;
|
|
5
5
|
options?: UseMutationOptions<PutShareResponse, Error, {
|
|
6
6
|
resourceId: string;
|
|
@@ -9,7 +9,8 @@ const useShareMutation = ({
|
|
|
9
9
|
rights
|
|
10
10
|
}) => await odeServices.share().saveRights(application, resourceId, rights),
|
|
11
11
|
...options
|
|
12
|
-
})
|
|
12
|
+
});
|
|
13
13
|
export {
|
|
14
|
-
useShareMutation
|
|
14
|
+
useShareMutation as default,
|
|
15
|
+
useShareMutation
|
|
15
16
|
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
export
|
|
1
|
+
export * from './ShareModal';
|
|
2
|
+
export * from './apps/ShareBlog';
|
|
3
|
+
export * from './hooks/useShareMutation';
|
|
@@ -4,9 +4,9 @@ import clsx from "clsx";
|
|
|
4
4
|
import { useTranslation } from "react-i18next";
|
|
5
5
|
import AudioRecorderTimer from "./AudioRecorderTimer.js";
|
|
6
6
|
import useAudioRecorder from "./useAudioRecorder.js";
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
7
|
+
import { Toolbar } from "../../../components/Toolbar/Toolbar.js";
|
|
8
|
+
import { FormControl } from "../../../components/Form/FormControl.js";
|
|
9
|
+
import { Input } from "../../../components/Input/Input.js";
|
|
10
10
|
import { Icon } from "../../../components/Icon/Icon.js";
|
|
11
11
|
const AudioRecorder = /* @__PURE__ */ forwardRef(({
|
|
12
12
|
onSaveSuccess,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useState } from "react";
|
|
3
3
|
import { useTranslation } from "react-i18next";
|
|
4
|
-
import TextArea from "../../../components/TextArea/TextArea.js";
|
|
4
|
+
import { TextArea } from "../../../components/TextArea/TextArea.js";
|
|
5
5
|
import { Icon } from "../../../components/Icon/Icon.js";
|
|
6
|
-
import FormControl from "../../../components/Form/FormControl.js";
|
|
6
|
+
import { FormControl } from "../../../components/Form/FormControl.js";
|
|
7
7
|
const Embed = ({
|
|
8
8
|
onSuccess
|
|
9
9
|
}) => {
|
|
@@ -4,12 +4,12 @@ import { Stage } from "@pixi/react";
|
|
|
4
4
|
import { useTranslation } from "react-i18next";
|
|
5
5
|
import useImageEditor from "../hooks/useImageEditor.js";
|
|
6
6
|
import ImageEditorToolbar from "./ImageEditorToolbar.js";
|
|
7
|
-
import Modal from "../../../../components/Modal/Modal.js";
|
|
8
|
-
import LoadingScreen from "../../../../components/LoadingScreen/LoadingScreen.js";
|
|
9
|
-
import FormControl from "../../../../components/Form/FormControl.js";
|
|
10
|
-
import Label from "../../../../components/Label/Label.js";
|
|
11
|
-
import Input from "../../../../components/Input/Input.js";
|
|
12
|
-
import Button from "../../../../components/Button/Button.js";
|
|
7
|
+
import { Modal } from "../../../../components/Modal/Modal.js";
|
|
8
|
+
import { LoadingScreen } from "../../../../components/LoadingScreen/LoadingScreen.js";
|
|
9
|
+
import { FormControl } from "../../../../components/Form/FormControl.js";
|
|
10
|
+
import { Label } from "../../../../components/Label/Label.js";
|
|
11
|
+
import { Input } from "../../../../components/Input/Input.js";
|
|
12
|
+
import { Button } from "../../../../components/Button/Button.js";
|
|
13
13
|
const ImageEditor = ({
|
|
14
14
|
altText: altTextParam,
|
|
15
15
|
legend: legendParam,
|
|
@@ -2,7 +2,7 @@ import { jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import { useState } from "react";
|
|
3
3
|
import { useTranslation } from "react-i18next";
|
|
4
4
|
import { Icon } from "../../../../components/Icon/Icon.js";
|
|
5
|
-
import Toolbar from "../../../../components/Toolbar/Toolbar.js";
|
|
5
|
+
import { Toolbar } from "../../../../components/Toolbar/Toolbar.js";
|
|
6
6
|
const ImageEditorToolbar = ({
|
|
7
7
|
historyCount,
|
|
8
8
|
handle
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useState, useEffect } from "react";
|
|
3
3
|
import clsx from "clsx";
|
|
4
|
-
import IconButton from "../../../components/Button/IconButton.js";
|
|
5
|
-
import Avatar from "../../../components/Avatar/Avatar.js";
|
|
4
|
+
import { IconButton } from "../../../components/Button/IconButton.js";
|
|
6
5
|
import { Icon } from "../../../components/Icon/Icon.js";
|
|
6
|
+
import { Avatar } from "../../../components/Avatar/Avatar.js";
|
|
7
7
|
import { AppIcon } from "../../../components/AppIcon/AppIcon.js";
|
|
8
8
|
const ImagePickerWorkspace = ({
|
|
9
9
|
addButtonLabel = "Add image",
|
|
@@ -3,10 +3,10 @@ import { useState, useEffect } from "react";
|
|
|
3
3
|
import { useTranslation } from "react-i18next";
|
|
4
4
|
import { StringUtils } from "../../../utils/StringUtils.js";
|
|
5
5
|
import useToggle from "../../../hooks/useToggle/useToggle.js";
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
6
|
+
import { FormControl } from "../../../components/Form/FormControl.js";
|
|
7
|
+
import { Label } from "../../../components/Label/Label.js";
|
|
8
|
+
import { Input } from "../../../components/Input/Input.js";
|
|
9
|
+
import { Checkbox } from "../../../components/Checkbox/Checkbox.js";
|
|
10
10
|
const ExternalLinker = ({
|
|
11
11
|
link,
|
|
12
12
|
onChange,
|
|
@@ -2,15 +2,15 @@ import { jsx, jsxs } from "react/jsx-runtime";
|
|
|
2
2
|
import { useState, useCallback, useEffect } from "react";
|
|
3
3
|
import { odeServices } from "edifice-ts-client";
|
|
4
4
|
import { useTranslation } from "react-i18next";
|
|
5
|
-
import LinkerCard from "../LinkerCard/LinkerCard.js";
|
|
5
|
+
import { LinkerCard } from "../LinkerCard/LinkerCard.js";
|
|
6
6
|
import { useResourceSearch } from "../../../core/useResourceSearch/useResourceSearch.js";
|
|
7
7
|
import useDebounce from "../../../hooks/useDebounce/useDebounce.js";
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import EmptyScreen from "../../../components/EmptyScreen/EmptyScreen.js";
|
|
8
|
+
import { SearchBar } from "../../../components/SearchBar/SearchBar.js";
|
|
9
|
+
import { EmptyScreen } from "../../../components/EmptyScreen/EmptyScreen.js";
|
|
11
10
|
import usePaths from "../../../core/usePaths/usePaths.js";
|
|
12
11
|
import { useOdeTheme } from "../../../core/ThemeProvider/ThemeProvider.js";
|
|
13
12
|
import { AppIcon } from "../../../components/AppIcon/AppIcon.js";
|
|
13
|
+
import { Dropdown } from "../../../components/Dropdown/Dropdown.js";
|
|
14
14
|
import { Icon } from "../../../components/Icon/Icon.js";
|
|
15
15
|
const InternalLinker = ({
|
|
16
16
|
appCode,
|
|
@@ -6,7 +6,7 @@ export interface LinkerCardProps extends CardProps {
|
|
|
6
6
|
* */
|
|
7
7
|
doc: IResource;
|
|
8
8
|
}
|
|
9
|
-
declare const LinkerCard: {
|
|
9
|
+
export declare const LinkerCard: {
|
|
10
10
|
({ doc, isClickable, isSelectable, isSelected, onClick, className, }: LinkerCardProps): import("react/jsx-runtime").JSX.Element;
|
|
11
11
|
displayName: string;
|
|
12
12
|
};
|
|
@@ -2,8 +2,8 @@ import { jsx, jsxs } from "react/jsx-runtime";
|
|
|
2
2
|
import { useMemo } from "react";
|
|
3
3
|
import clsx from "clsx";
|
|
4
4
|
import useDate from "../../../core/useDate/useDate.js";
|
|
5
|
-
import Card from "../../../components/Card/Card.js";
|
|
6
|
-
import Image from "../../../components/Image/Image.js";
|
|
5
|
+
import { Card } from "../../../components/Card/Card.js";
|
|
6
|
+
import { Image } from "../../../components/Image/Image.js";
|
|
7
7
|
import { AppIcon } from "../../../components/AppIcon/AppIcon.js";
|
|
8
8
|
import { Icon } from "../../../components/Icon/Icon.js";
|
|
9
9
|
const LinkerCard = ({
|
|
@@ -32,7 +32,8 @@ const LinkerCard = ({
|
|
|
32
32
|
/* @__PURE__ */ jsx("div", { className: "d-none d-md-block text-black-50 ps-4 pe-8", children: /* @__PURE__ */ jsx(Card.Text, { children: fromDate }) }),
|
|
33
33
|
doc.shared && /* @__PURE__ */ jsx("div", { className: "ps-4 pe-8", children: /* @__PURE__ */ jsx(Icon, { name: "users", size: "20" }) })
|
|
34
34
|
] }) });
|
|
35
|
-
}
|
|
35
|
+
};
|
|
36
36
|
export {
|
|
37
|
-
LinkerCard
|
|
37
|
+
LinkerCard,
|
|
38
|
+
LinkerCard as default
|
|
38
39
|
};
|
|
@@ -2,14 +2,14 @@ import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef, useRef, useImperativeHandle, useState, useMemo, useEffect, useCallback } from "react";
|
|
3
3
|
import { odeServices } from "edifice-ts-client";
|
|
4
4
|
import { useTranslation } from "react-i18next";
|
|
5
|
-
import Modal from "../../../components/Modal/Modal.js";
|
|
5
|
+
import { Modal } from "../../../components/Modal/Modal.js";
|
|
6
6
|
import { MediaLibraryContext } from "./MediaLibraryContext.js";
|
|
7
7
|
import { InnerTabs } from "./innertabs/index.js";
|
|
8
8
|
import { useHttpErrorToast } from "../../../core/useHttpErrorToast/useHttpErrorToast.js";
|
|
9
9
|
import useHasWorkflow from "../../../core/useHasWorkflow/useHasWorkflow.js";
|
|
10
|
-
import Tabs from "../../../components/Tabs/Tabs.js";
|
|
10
|
+
import { Tabs } from "../../../components/Tabs/Tabs.js";
|
|
11
11
|
import { Icon } from "../../../components/Icon/Icon.js";
|
|
12
|
-
import Button from "../../../components/Button/Button.js";
|
|
12
|
+
import { Button } from "../../../components/Button/Button.js";
|
|
13
13
|
const orderedTabs = [
|
|
14
14
|
"audio-capture",
|
|
15
15
|
"video-capture",
|
|
@@ -4,7 +4,7 @@ import { useTranslation } from "react-i18next";
|
|
|
4
4
|
import InternalLinker from "../../Linker/InternalLinker.js";
|
|
5
5
|
import { useMediaLibraryContext } from "../MediaLibraryContext.js";
|
|
6
6
|
import useToggle from "../../../../hooks/useToggle/useToggle.js";
|
|
7
|
-
import Checkbox from "../../../../components/Checkbox/Checkbox.js";
|
|
7
|
+
import { Checkbox } from "../../../../components/Checkbox/Checkbox.js";
|
|
8
8
|
const InternalLink = ({
|
|
9
9
|
target,
|
|
10
10
|
resourceId,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useMediaLibraryContext } from "../MediaLibraryContext.js";
|
|
3
|
-
import Dropzone from "../../../../components/Dropzone/Dropzone.js";
|
|
3
|
+
import { Dropzone } from "../../../../components/Dropzone/Dropzone.js";
|
|
4
4
|
import UploadFiles from "../../UploadFiles/UploadFiles.js";
|
|
5
5
|
const acceptedTypes = (type) => {
|
|
6
6
|
const acceptedTypes2 = [];
|
|
@@ -6,11 +6,11 @@ import { useMediaLibraryContext } from "../MediaLibrary/MediaLibraryContext.js";
|
|
|
6
6
|
import useDebounce from "../../../hooks/useDebounce/useDebounce.js";
|
|
7
7
|
import usePaths from "../../../core/usePaths/usePaths.js";
|
|
8
8
|
import { Icon } from "../../../components/Icon/Icon.js";
|
|
9
|
-
import FormControl from "../../../components/Form/FormControl.js";
|
|
10
|
-
import Input from "../../../components/Input/Input.js";
|
|
11
|
-
import Image from "../../../components/Image/Image.js";
|
|
12
|
-
import EmptyScreen from "../../../components/EmptyScreen/EmptyScreen.js";
|
|
13
|
-
import Button from "../../../components/Button/Button.js";
|
|
9
|
+
import { FormControl } from "../../../components/Form/FormControl.js";
|
|
10
|
+
import { Input } from "../../../components/Input/Input.js";
|
|
11
|
+
import { Image } from "../../../components/Image/Image.js";
|
|
12
|
+
import { EmptyScreen } from "../../../components/EmptyScreen/EmptyScreen.js";
|
|
13
|
+
import { Button } from "../../../components/Button/Button.js";
|
|
14
14
|
const VideoEmbed = ({
|
|
15
15
|
onSuccess
|
|
16
16
|
}) => {
|
|
@@ -5,13 +5,13 @@ import { useTranslation } from "react-i18next";
|
|
|
5
5
|
import useBrowserInfo from "../../../hooks/useBrowserInfo/useBrowserInfo.js";
|
|
6
6
|
import useUpload from "../../../core/useUpload/useUpload.js";
|
|
7
7
|
import { getBestSupportedMimeType } from "../../../utils/video.js";
|
|
8
|
-
import Select from "../../../components/Select/Select.js";
|
|
9
|
-
import Toolbar from "../../../components/Toolbar/Toolbar.js";
|
|
8
|
+
import { Select } from "../../../components/Select/Select.js";
|
|
10
9
|
import { Icon } from "../../../components/Icon/Icon.js";
|
|
11
|
-
import FormControl from "../../../components/Form/FormControl.js";
|
|
12
|
-
import Label from "../../../components/Label/Label.js";
|
|
10
|
+
import { FormControl } from "../../../components/Form/FormControl.js";
|
|
11
|
+
import { Label } from "../../../components/Label/Label.js";
|
|
13
12
|
import { convertMsToMS } from "../../../utils/time.js";
|
|
14
|
-
import
|
|
13
|
+
import { Toolbar } from "../../../components/Toolbar/Toolbar.js";
|
|
14
|
+
import { LoadingScreen } from "../../../components/LoadingScreen/LoadingScreen.js";
|
|
15
15
|
const VIDEO_HEIGHT = 9, VIDEO_WIDTH = 16, VideoRecorder = /* @__PURE__ */ forwardRef(({
|
|
16
16
|
appCode,
|
|
17
17
|
caption,
|
|
@@ -4,13 +4,13 @@ import clsx from "clsx";
|
|
|
4
4
|
import { useTranslation } from "react-i18next";
|
|
5
5
|
import useWorkspaceSearch from "../../../core/useWorkspaceSearch/useWorkspaceSearch.js";
|
|
6
6
|
import { Grid } from "../../../components/Grid/Grid.js";
|
|
7
|
-
import TreeView from "../../../components/TreeView/TreeView.js";
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import Dropdown from "../../../components/Dropdown/Dropdown.js";
|
|
7
|
+
import { TreeView } from "../../../components/TreeView/TreeView.js";
|
|
8
|
+
import { FileCard } from "../../../components/FileCard/FileCard.js";
|
|
9
|
+
import { SearchBar } from "../../../components/SearchBar/SearchBar.js";
|
|
10
|
+
import { Dropdown } from "../../../components/Dropdown/Dropdown.js";
|
|
11
11
|
import { Icon } from "../../../components/Icon/Icon.js";
|
|
12
|
-
import LoadingScreen from "../../../components/LoadingScreen/LoadingScreen.js";
|
|
13
|
-
import EmptyScreen from "../../../components/EmptyScreen/EmptyScreen.js";
|
|
12
|
+
import { LoadingScreen } from "../../../components/LoadingScreen/LoadingScreen.js";
|
|
13
|
+
import { EmptyScreen } from "../../../components/EmptyScreen/EmptyScreen.js";
|
|
14
14
|
import { findTreeNode } from "../../../utils/findTreeNode.js";
|
|
15
15
|
const Workspace = ({
|
|
16
16
|
roles,
|
package/dist/multimedia.js
CHANGED
|
@@ -3,17 +3,17 @@ import { default as default3 } from "./modules/multimedia/Workspace/Workspace.js
|
|
|
3
3
|
import { default as default4 } from "./modules/multimedia/VideoRecorder/VideoRecorder.js";
|
|
4
4
|
import { default as default5 } from "./modules/multimedia/Linker/InternalLinker.js";
|
|
5
5
|
import { default as default6 } from "./modules/multimedia/Linker/ExternalLinker.js";
|
|
6
|
-
import {
|
|
7
|
-
import { default as
|
|
8
|
-
import { default as
|
|
9
|
-
import { default as
|
|
6
|
+
import { LinkerCard } from "./modules/multimedia/LinkerCard/LinkerCard.js";
|
|
7
|
+
import { default as default7 } from "./modules/multimedia/AudioRecorder/AudioRecorder.js";
|
|
8
|
+
import { default as default8 } from "./modules/multimedia/Embed/Embed.js";
|
|
9
|
+
import { default as default9 } from "./modules/multimedia/ImageEditor/components/ImageEditor.js";
|
|
10
10
|
export {
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
default7 as AudioRecorder,
|
|
12
|
+
default8 as Embed,
|
|
13
13
|
default6 as ExternalLinker,
|
|
14
|
-
|
|
14
|
+
default9 as ImageEditor,
|
|
15
15
|
default5 as InternalLinker,
|
|
16
|
-
|
|
16
|
+
LinkerCard,
|
|
17
17
|
default2 as MediaLibrary,
|
|
18
18
|
default4 as VideoRecorder,
|
|
19
19
|
default3 as Workspace
|
|
@@ -13,13 +13,13 @@ import useConversation from "../../core/useConversation/useConversation.js";
|
|
|
13
13
|
import useUser from "../../core/useUser/useUser.js";
|
|
14
14
|
import useHasWorkflow from "../../core/useHasWorkflow/useHasWorkflow.js";
|
|
15
15
|
import useHeader from "../../core/useHeader/useHeader.js";
|
|
16
|
-
import
|
|
17
|
-
import VisuallyHidden from "../../components/VisuallyHidden/VisuallyHidden.js";
|
|
16
|
+
import { VisuallyHidden } from "../../components/VisuallyHidden/VisuallyHidden.js";
|
|
18
17
|
import Help from "../Help/Help.js";
|
|
19
|
-
import Logo from "../../components/Logo/Logo.js";
|
|
18
|
+
import { Logo } from "../../components/Logo/Logo.js";
|
|
20
19
|
import { Popover, PopoverBody, PopoverFooter } from "../../components/Popover/Popover.js";
|
|
21
20
|
import { useOdeClient } from "../../core/OdeClientProvider/OdeClientProvider.js";
|
|
22
21
|
import { useOdeTheme } from "../../core/ThemeProvider/ThemeProvider.js";
|
|
22
|
+
import { Avatar } from "../../components/Avatar/Avatar.js";
|
|
23
23
|
import { Icon } from "../../components/Icon/Icon.js";
|
|
24
24
|
const Header = ({
|
|
25
25
|
is1d = !1,
|