@edifice.io/react 2.5.6 → 2.5.8-develop-b2school.20260123114940
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/README.md +5 -0
- package/dist/_virtual/_commonjsHelpers.js +8 -0
- package/dist/_virtual/common.js +4 -0
- package/dist/_virtual/de_DE.js +4 -0
- package/dist/_virtual/de_DE2.js +4 -0
- package/dist/_virtual/de_DE3.js +4 -0
- package/dist/_virtual/de_DE4.js +4 -0
- package/dist/_virtual/de_DE5.js +4 -0
- package/dist/_virtual/de_DE6.js +4 -0
- package/dist/_virtual/defineProperty.js +4 -0
- package/dist/_virtual/es_ES.js +4 -0
- package/dist/_virtual/es_ES2.js +4 -0
- package/dist/_virtual/es_ES3.js +4 -0
- package/dist/_virtual/es_ES4.js +4 -0
- package/dist/_virtual/es_ES5.js +4 -0
- package/dist/_virtual/es_ES6.js +4 -0
- package/dist/_virtual/fr_FR.js +4 -0
- package/dist/_virtual/fr_FR2.js +4 -0
- package/dist/_virtual/fr_FR3.js +4 -0
- package/dist/_virtual/fr_FR4.js +4 -0
- package/dist/_virtual/fr_FR5.js +4 -0
- package/dist/_virtual/fr_FR6.js +4 -0
- package/dist/_virtual/interopRequireDefault.js +4 -0
- package/dist/_virtual/it_IT.js +4 -0
- package/dist/_virtual/it_IT2.js +4 -0
- package/dist/_virtual/it_IT3.js +4 -0
- package/dist/_virtual/it_IT4.js +4 -0
- package/dist/_virtual/it_IT5.js +4 -0
- package/dist/_virtual/it_IT6.js +4 -0
- package/dist/_virtual/localeData.js +4 -0
- package/dist/_virtual/objectSpread2.js +4 -0
- package/dist/_virtual/pt_PT.js +4 -0
- package/dist/_virtual/pt_PT2.js +4 -0
- package/dist/_virtual/pt_PT3.js +4 -0
- package/dist/_virtual/pt_PT4.js +4 -0
- package/dist/_virtual/pt_PT5.js +4 -0
- package/dist/_virtual/pt_PT6.js +4 -0
- package/dist/_virtual/toPrimitive.js +4 -0
- package/dist/_virtual/toPropertyKey.js +4 -0
- package/dist/_virtual/typeof.js +4 -0
- package/dist/_virtual/weekday.js +4 -0
- package/dist/components/AppIcon/index.d.ts +1 -0
- package/dist/components/Badge/Badge.d.ts +12 -1
- package/dist/components/Badge/Badge.js +15 -2
- package/dist/components/Combobox/Combobox.js +1 -1
- package/dist/components/Combobox/ComboboxTrigger.js +1 -1
- package/dist/components/DatePicker/DatePicker.d.ts +57 -0
- package/dist/components/DatePicker/DatePicker.js +38 -0
- package/dist/components/DatePicker/index.d.ts +2 -0
- package/dist/components/Divider/Divider.d.ts +38 -0
- package/dist/components/Divider/Divider.js +11 -0
- package/dist/components/Divider/index.d.ts +2 -0
- package/dist/components/Dropdown/DropdownContext.js +1 -1
- package/dist/components/Flex/Flex.js +1 -1
- package/dist/components/Form/FormContext.js +1 -1
- package/dist/components/Layout/Layout.js +1 -2
- package/dist/components/Menu/components/MenuButton.d.ts +2 -0
- package/dist/components/Menu/components/MenuButton.js +13 -4
- package/dist/components/Modal/Modal.d.ts +4 -0
- package/dist/components/Modal/Modal.js +13 -12
- package/dist/components/SegmentedControl/SegmentedControl.d.ts +59 -0
- package/dist/components/SegmentedControl/SegmentedControl.js +24 -0
- package/dist/components/SegmentedControl/index.d.ts +2 -0
- package/dist/components/Select/Select.d.ts +6 -2
- package/dist/components/Select/Select.js +10 -4
- package/dist/components/Toolbar/Toolbar.js +1 -1
- package/dist/components/index.d.ts +3 -0
- package/dist/editor.js +42 -38
- package/dist/hooks/index.d.ts +1 -0
- package/dist/hooks/useConversation/useConversation.js +3 -1
- package/dist/hooks/useDropdown/useDropdown.js +1 -1
- package/dist/hooks/useDropzone/useDropzone.d.ts +2 -2
- package/dist/hooks/useDropzone/useDropzone.js +24 -4
- package/dist/hooks/useInfiniteScroll/index.d.ts +1 -0
- package/dist/hooks/useInfiniteScroll/useInfiniteScroll.d.ts +33 -0
- package/dist/hooks/useInfiniteScroll/useInfiniteScroll.js +20 -0
- package/dist/icons.js +318 -312
- package/dist/index.js +230 -212
- package/dist/modals.js +14 -12
- package/dist/modules/comments/components/Comment.js +8 -6
- package/dist/modules/comments/components/CommentDate.js +7 -10
- package/dist/modules/comments/components/CommentDeleted.js +1 -1
- package/dist/modules/comments/components/CommentForm.d.ts +1 -1
- package/dist/modules/comments/components/CommentForm.js +6 -6
- package/dist/modules/comments/components/CommentList.js +1 -1
- package/dist/modules/comments/components/CommentTitle.js +1 -1
- package/dist/modules/comments/components/DeleteModal.js +14 -8
- package/dist/modules/comments/provider/CommentProvider.js +4 -4
- package/dist/modules/comments/types.d.ts +3 -1
- package/dist/modules/editor/components/Editor/Editor.js +1 -1
- package/dist/modules/editor/components/Editor/EditorPreview.d.ts +14 -0
- package/dist/modules/editor/components/Editor/EditorPreview.js +56 -0
- package/dist/modules/editor/components/Editor/EditorPreviewSkeleton.d.ts +8 -0
- package/dist/modules/editor/components/Editor/EditorPreviewSkeleton.js +24 -0
- package/dist/modules/editor/components/Editor/index.d.ts +2 -0
- package/dist/modules/editor/components/Renderer/AttachmentRenderer.js +2 -2
- package/dist/modules/editor/hooks/useMediaLibraryEditor.js +4 -3
- package/dist/modules/editor/hooks/useTipTapEditor.js +4 -4
- package/dist/modules/icons/components/IconCalendarEdit.d.ts +7 -0
- package/dist/modules/icons/components/IconCalendarEdit.js +12 -0
- package/dist/modules/icons/components/IconClockAlert.d.ts +7 -0
- package/dist/modules/icons/components/IconClockAlert.js +17 -0
- package/dist/modules/icons/components/IconSubmitToValidate.d.ts +7 -0
- package/dist/modules/icons/components/IconSubmitToValidate.js +12 -0
- package/dist/modules/icons/components/index.d.ts +3 -0
- package/dist/modules/modals/OnboardingModal/OnboardingModal.js +5 -5
- package/dist/modules/modals/ResourceModal/ResourceModal.js +1 -2
- package/dist/modules/modals/ShareModal/ShareBookmark.d.ts +1 -1
- package/dist/modules/modals/ShareModal/ShareBookmark.js +6 -3
- package/dist/modules/modals/ShareModal/ShareBookmarkLine.js +4 -4
- package/dist/modules/modals/ShareModal/ShareModal.d.ts +1 -11
- package/dist/modules/modals/ShareModal/ShareModal.js +13 -105
- package/dist/modules/modals/ShareModal/ShareResources.d.ts +187 -0
- package/dist/modules/modals/ShareModal/ShareResources.js +148 -0
- package/dist/modules/modals/ShareModal/hooks/useSearch.d.ts +5 -3
- package/dist/modules/modals/ShareModal/hooks/useSearch.js +12 -16
- package/dist/modules/modals/ShareModal/hooks/useShare.d.ts +12 -5
- package/dist/modules/modals/ShareModal/hooks/useShare.js +20 -13
- package/dist/modules/modals/ShareModal/hooks/useShareBookmark.d.ts +1 -1
- package/dist/modules/modals/ShareModal/hooks/useShareBookmark.js +1 -1
- package/dist/modules/modals/ShareModal/index.d.ts +3 -1
- package/dist/modules/multimedia/Linker/ExternalLinker/ExternalLinker.js +1 -2
- package/dist/modules/multimedia/Linker/InternalLinker/InternalLinker.js +1 -2
- package/dist/modules/multimedia/MediaLibrary/MediaLibrary.js +1 -1
- package/dist/modules/multimedia/MediaLibrary/index.d.ts +2 -0
- package/dist/modules/multimedia/MediaLibrary/innertabs/Upload.js +1 -1
- package/dist/modules/multimedia/index.d.ts +1 -0
- package/dist/multimedia.js +20 -14
- package/dist/node_modules/.pnpm/@babel_runtime@7.28.6/node_modules/@babel/runtime/helpers/defineProperty.js +18 -0
- package/dist/node_modules/.pnpm/@babel_runtime@7.28.6/node_modules/@babel/runtime/helpers/interopRequireDefault.js +13 -0
- package/dist/node_modules/.pnpm/@babel_runtime@7.28.6/node_modules/@babel/runtime/helpers/objectSpread2.js +31 -0
- package/dist/node_modules/.pnpm/@babel_runtime@7.28.6/node_modules/@babel/runtime/helpers/toPrimitive.js +20 -0
- package/dist/node_modules/.pnpm/@babel_runtime@7.28.6/node_modules/@babel/runtime/helpers/toPropertyKey.js +15 -0
- package/dist/node_modules/.pnpm/@babel_runtime@7.28.6/node_modules/@babel/runtime/helpers/typeof.js +16 -0
- package/dist/node_modules/.pnpm/antd@5.29.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/lib/calendar/locale/de_DE.js +11 -0
- package/dist/node_modules/.pnpm/antd@5.29.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/lib/calendar/locale/es_ES.js +11 -0
- package/dist/node_modules/.pnpm/antd@5.29.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/lib/calendar/locale/fr_FR.js +11 -0
- package/dist/node_modules/.pnpm/antd@5.29.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/lib/calendar/locale/it_IT.js +11 -0
- package/dist/node_modules/.pnpm/antd@5.29.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/lib/calendar/locale/pt_PT.js +11 -0
- package/dist/node_modules/.pnpm/antd@5.29.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/lib/date-picker/locale/de_DE.js +22 -0
- package/dist/node_modules/.pnpm/antd@5.29.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/lib/date-picker/locale/es_ES.js +22 -0
- package/dist/node_modules/.pnpm/antd@5.29.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/lib/date-picker/locale/fr_FR.js +27 -0
- package/dist/node_modules/.pnpm/antd@5.29.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/lib/date-picker/locale/it_IT.js +20 -0
- package/dist/node_modules/.pnpm/antd@5.29.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/lib/date-picker/locale/pt_PT.js +45 -0
- package/dist/node_modules/.pnpm/antd@5.29.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/lib/locale/de_DE.js +145 -0
- package/dist/node_modules/.pnpm/antd@5.29.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/lib/locale/es_ES.js +145 -0
- package/dist/node_modules/.pnpm/antd@5.29.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/lib/locale/fr_FR.js +144 -0
- package/dist/node_modules/.pnpm/antd@5.29.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/lib/locale/it_IT.js +156 -0
- package/dist/node_modules/.pnpm/antd@5.29.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/lib/locale/pt_PT.js +158 -0
- package/dist/node_modules/.pnpm/antd@5.29.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/lib/time-picker/locale/de_DE.js +10 -0
- package/dist/node_modules/.pnpm/antd@5.29.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/lib/time-picker/locale/es_ES.js +10 -0
- package/dist/node_modules/.pnpm/antd@5.29.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/lib/time-picker/locale/fr_FR.js +10 -0
- package/dist/node_modules/.pnpm/antd@5.29.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/lib/time-picker/locale/it_IT.js +10 -0
- package/dist/node_modules/.pnpm/antd@5.29.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/lib/time-picker/locale/pt_PT.js +10 -0
- package/dist/node_modules/.pnpm/antd@5.29.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/locale/de_DE.js +8 -0
- package/dist/node_modules/.pnpm/antd@5.29.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/locale/es_ES.js +8 -0
- package/dist/node_modules/.pnpm/antd@5.29.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/locale/fr_FR.js +8 -0
- package/dist/node_modules/.pnpm/antd@5.29.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/locale/it_IT.js +8 -0
- package/dist/node_modules/.pnpm/antd@5.29.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/locale/pt_PT.js +8 -0
- package/dist/node_modules/.pnpm/dayjs@1.11.19/node_modules/dayjs/plugin/localeData.js +82 -0
- package/dist/node_modules/.pnpm/dayjs@1.11.19/node_modules/dayjs/plugin/weekday.js +19 -0
- package/dist/node_modules/.pnpm/rc-pagination@5.1.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-pagination/lib/locale/de_DE.js +21 -0
- package/dist/node_modules/.pnpm/rc-pagination@5.1.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-pagination/lib/locale/es_ES.js +21 -0
- package/dist/node_modules/.pnpm/rc-pagination@5.1.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-pagination/lib/locale/fr_FR.js +21 -0
- package/dist/node_modules/.pnpm/rc-pagination@5.1.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-pagination/lib/locale/it_IT.js +21 -0
- package/dist/node_modules/.pnpm/rc-pagination@5.1.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-pagination/lib/locale/pt_PT.js +21 -0
- package/dist/node_modules/.pnpm/rc-picker@4.11.3_dayjs@1.11.19_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-picker/lib/locale/common.js +14 -0
- package/dist/node_modules/.pnpm/rc-picker@4.11.3_dayjs@1.11.19_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-picker/lib/locale/de_DE.js +37 -0
- package/dist/node_modules/.pnpm/rc-picker@4.11.3_dayjs@1.11.19_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-picker/lib/locale/es_ES.js +37 -0
- package/dist/node_modules/.pnpm/rc-picker@4.11.3_dayjs@1.11.19_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-picker/lib/locale/fr_FR.js +38 -0
- package/dist/node_modules/.pnpm/rc-picker@4.11.3_dayjs@1.11.19_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-picker/lib/locale/it_IT.js +37 -0
- package/dist/node_modules/.pnpm/rc-picker@4.11.3_dayjs@1.11.19_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-picker/lib/locale/pt_PT.js +39 -0
- package/dist/providers/AntThemeProvider/AntProvider.d.ts +2 -2
- package/dist/providers/AntThemeProvider/AntProvider.js +19 -2
- package/dist/providers/AntThemeProvider/antThemeConfig.js +1 -2
- package/dist/style.css +1 -1
- package/dist/utilities/index.d.ts +1 -0
- package/dist/utilities/mime-types/index.d.ts +1 -0
- package/dist/utilities/mime-types/mime-types-utils.d.ts +1 -0
- package/dist/utilities/mime-types/mime-types-utils.js +4 -0
- package/dist/utilities/react-query/index.d.ts +1 -0
- package/dist/utilities/react-query/react-query-utils.d.ts +21 -0
- package/dist/utilities/react-query/react-query-utils.js +13 -0
- package/package.json +8 -7
- package/dist/modules/comments/components/CommentHeader.d.ts +0 -3
- package/dist/modules/comments/components/CommentHeader.js +0 -8
package/dist/index.js
CHANGED
|
@@ -3,134 +3,143 @@ import { default as default3 } from "./components/Alert/Alert.js";
|
|
|
3
3
|
import { default as default4 } from "./components/AppHeader/AppHeader.js";
|
|
4
4
|
import { default as default5 } from "./components/AppIcon/AppIcon.js";
|
|
5
5
|
import { default as default6 } from "./components/Attachment/Attachment.js";
|
|
6
|
-
import { default as default7 } from "./
|
|
7
|
-
import { default as default8 } from "./components/
|
|
8
|
-
import { default as default9 } from "./components/
|
|
9
|
-
import { default as default10 } from "./components/
|
|
10
|
-
import { default as default11 } from "./
|
|
11
|
-
import { default as default12 } from "./components/
|
|
12
|
-
import { default as default13 } from "./components/Button/
|
|
13
|
-
import { default as default14 } from "./components/
|
|
14
|
-
import { default as default15 } from "./components/
|
|
15
|
-
import { default as default16 } from "./components/
|
|
16
|
-
import { default as default17 } from "./components/ColorPicker/
|
|
17
|
-
import { default as default18 } from "./components/
|
|
18
|
-
import { default as default19 } from "./components/
|
|
19
|
-
import { default as default20 } from "./
|
|
20
|
-
import { default as default21 } from "./components/
|
|
21
|
-
import { default as default22 } from "./components/
|
|
22
|
-
import { default as default23 } from "./components/Form/FormText.js";
|
|
23
|
-
import { default as default24 } from "./components/Form/FormControl.js";
|
|
24
|
-
import { default as default25 } from "./components/Heading/Heading.js";
|
|
25
|
-
import { default as default26 } from "./components/Image/Image.js";
|
|
26
|
-
import { default as default27 } from "./components/Input/Input.js";
|
|
27
|
-
import { default as default28 } from "./components/Label/Label.js";
|
|
28
|
-
import { default as default29 } from "./components/Loading/Loading.js";
|
|
29
|
-
import { default as default30 } from "./components/LoadingScreen/LoadingScreen.js";
|
|
30
|
-
import { default as default31 } from "./components/Logo/Logo.js";
|
|
31
|
-
import { default as default32 } from "./components/Modal/Modal.js";
|
|
32
|
-
import { default as default33 } from "./components/PreventPropagation/PreventPropagation.js";
|
|
33
|
-
import { default as default34 } from "./components/Radio/Radio.js";
|
|
34
|
-
import { default as default35 } from "./components/RadioCard/RadioCard.js";
|
|
35
|
-
import { default as default36 } from "./components/SearchBar/SearchBar.js";
|
|
36
|
-
import { default as default37 } from "./components/Select/Select.js";
|
|
37
|
-
import { default as default38 } from "./components/Skeleton/ButtonSkeleton.js";
|
|
38
|
-
import { default as default39 } from "./components/Skeleton/TextSkeleton.js";
|
|
39
|
-
import { default as default40 } from "./components/StackedGroup/StackedGroup.js";
|
|
40
|
-
import { default as default41 } from "./components/Stepper/Stepper.js";
|
|
41
|
-
import { default as default42 } from "./components/Switch/Switch.js";
|
|
42
|
-
import { default as default43 } from "./components/Table/components/Table.js";
|
|
43
|
-
import { default as default44 } from "./components/TextArea/TextArea.js";
|
|
44
|
-
import { default as default45 } from "./components/Tooltip/Tooltip.js";
|
|
6
|
+
import { default as default7 } from "./modules/multimedia/AudioRecorder/AudioRecorder.js";
|
|
7
|
+
import { default as default8 } from "./components/Avatar/Avatar.js";
|
|
8
|
+
import { default as default9 } from "./components/AvatarGroup/AvatarGroup.js";
|
|
9
|
+
import { default as default10 } from "./components/Badge/Badge.js";
|
|
10
|
+
import { default as default11 } from "./modules/modals/ResourceModal/apps/BlogPublic.js";
|
|
11
|
+
import { default as default12 } from "./components/Breadcrumb/Breadcrumb.js";
|
|
12
|
+
import { default as default13 } from "./components/Button/Button.js";
|
|
13
|
+
import { default as default14 } from "./components/Skeleton/ButtonSkeleton.js";
|
|
14
|
+
import { default as default15 } from "./components/Card/Card.js";
|
|
15
|
+
import { default as default16 } from "./components/Checkbox/Checkbox.js";
|
|
16
|
+
import { default as default17 } from "./components/ColorPicker/ColorPicker.js";
|
|
17
|
+
import { default as default18 } from "./components/ColorPicker/ColorPickerItem.js";
|
|
18
|
+
import { default as default19 } from "./components/Combobox/Combobox.js";
|
|
19
|
+
import { default as default20 } from "./modules/modals/ConfirmModal/ConfirmModal.js";
|
|
20
|
+
import { default as default21 } from "./components/DatePicker/DatePicker.js";
|
|
21
|
+
import { default as default22 } from "./components/Divider/Divider.js";
|
|
45
22
|
import { DndTree } from "./components/Tree/components/DndTree.js";
|
|
46
|
-
import { default as
|
|
47
|
-
import { default as
|
|
48
|
-
import { default as
|
|
49
|
-
import { default as
|
|
50
|
-
import { default as
|
|
51
|
-
import { default as
|
|
52
|
-
import { default as
|
|
53
|
-
import { default as
|
|
54
|
-
import { default as
|
|
55
|
-
import { default as
|
|
56
|
-
import { default as
|
|
57
|
-
import { default as
|
|
58
|
-
import { default as
|
|
59
|
-
import { default as
|
|
60
|
-
import { default as
|
|
61
|
-
import { default as
|
|
62
|
-
import { default as
|
|
63
|
-
import { default as
|
|
64
|
-
import {
|
|
65
|
-
import { default as
|
|
66
|
-
import { default as
|
|
67
|
-
import { default as
|
|
68
|
-
import { default as
|
|
69
|
-
import { default as
|
|
70
|
-
import { default as
|
|
71
|
-
import { default as
|
|
72
|
-
import { default as
|
|
73
|
-
import { default as
|
|
74
|
-
import { default as
|
|
75
|
-
import { default as
|
|
76
|
-
import { default as
|
|
77
|
-
import { default as
|
|
78
|
-
import { default as
|
|
79
|
-
import { default as
|
|
80
|
-
import { default as
|
|
81
|
-
import { default as
|
|
82
|
-
import { default as
|
|
83
|
-
import {
|
|
84
|
-
import { default as
|
|
85
|
-
import { default as
|
|
86
|
-
import { default as
|
|
87
|
-
import { default as
|
|
88
|
-
import { default as
|
|
89
|
-
import { default as
|
|
90
|
-
import { default as
|
|
91
|
-
import { default as
|
|
92
|
-
import { default as
|
|
93
|
-
import { default as
|
|
94
|
-
import { default as
|
|
95
|
-
import { default as
|
|
96
|
-
import { default as
|
|
97
|
-
import { default as
|
|
98
|
-
import { default as
|
|
99
|
-
import { default as
|
|
100
|
-
import { default as
|
|
101
|
-
import { default as
|
|
102
|
-
import { default as
|
|
103
|
-
import { default as
|
|
104
|
-
import { default as
|
|
23
|
+
import { default as default23 } from "./components/Dropdown/Dropdown.js";
|
|
24
|
+
import { default as default24 } from "./components/Dropzone/Dropzone.js";
|
|
25
|
+
import { default as default25 } from "./modules/multimedia/Embed/Embed.js";
|
|
26
|
+
import { default as default26 } from "./components/EmptyScreen/EmptyScreen.js";
|
|
27
|
+
import { default as default27 } from "./modules/multimedia/FileCard/FileCard.js";
|
|
28
|
+
import { default as default28 } from "./components/Flex/Flex.js";
|
|
29
|
+
import { default as default29 } from "./components/Form/FormControl.js";
|
|
30
|
+
import { default as default30 } from "./components/Form/FormText.js";
|
|
31
|
+
import { default as default31 } from "./components/Heading/Heading.js";
|
|
32
|
+
import { default as default32 } from "./components/Button/IconButton.js";
|
|
33
|
+
import { default as default33 } from "./components/Image/Image.js";
|
|
34
|
+
import { default as default34 } from "./modules/multimedia/ImageEditor/components/ImageEditor.js";
|
|
35
|
+
import { default as default35 } from "./modules/multimedia/ImagePicker/ImagePicker.js";
|
|
36
|
+
import { default as default36 } from "./components/Input/Input.js";
|
|
37
|
+
import { default as default37 } from "./components/Label/Label.js";
|
|
38
|
+
import { default as default38 } from "./components/Loading/Loading.js";
|
|
39
|
+
import { default as default39 } from "./components/LoadingScreen/LoadingScreen.js";
|
|
40
|
+
import { default as default40 } from "./components/Logo/Logo.js";
|
|
41
|
+
import { default as default41 } from "./modules/multimedia/MediaLibrary/MediaLibrary.js";
|
|
42
|
+
import { default as default42 } from "./components/Modal/Modal.js";
|
|
43
|
+
import { default as default43 } from "./modules/modals/OnboardingModal/OnboardingModal.js";
|
|
44
|
+
import { default as default44 } from "./components/PreventPropagation/PreventPropagation.js";
|
|
45
|
+
import { default as default45 } from "./modules/modals/PublishModal/PublishModal.js";
|
|
46
|
+
import { default as default46 } from "./components/Radio/Radio.js";
|
|
47
|
+
import { default as default47 } from "./components/RadioCard/RadioCard.js";
|
|
48
|
+
import { default as default48 } from "./components/SearchBar/SearchBar.js";
|
|
49
|
+
import { default as default49 } from "./components/Button/SearchButton.js";
|
|
50
|
+
import { default as default50 } from "./components/SegmentedControl/SegmentedControl.js";
|
|
51
|
+
import { default as default51 } from "./components/Select/Select.js";
|
|
52
|
+
import { default as default52 } from "./modules/modals/ShareModal/apps/ShareBlog.js";
|
|
53
|
+
import { default as default53 } from "./modules/modals/ShareModal/ShareModal.js";
|
|
54
|
+
import { default as default54 } from "./modules/modals/ShareModal/ShareResources.js";
|
|
55
|
+
import { default as default55 } from "./components/Tree/components/SortableTree.js";
|
|
56
|
+
import { default as default56 } from "./components/StackedGroup/StackedGroup.js";
|
|
57
|
+
import { default as default57 } from "./components/Stepper/Stepper.js";
|
|
58
|
+
import { default as default58 } from "./components/Switch/Switch.js";
|
|
59
|
+
import { default as default59 } from "./components/Table/components/Table.js";
|
|
60
|
+
import { default as default60 } from "./components/TextArea/TextArea.js";
|
|
61
|
+
import { default as default61 } from "./components/Skeleton/TextSkeleton.js";
|
|
62
|
+
import { default as default62 } from "./components/Tooltip/Tooltip.js";
|
|
63
|
+
import { default as default63 } from "./components/Tree/components/Tree.js";
|
|
64
|
+
import { default as default64 } from "./components/TreeView/TreeView.js";
|
|
65
|
+
import { default as default65 } from "./modules/multimedia/UploadCard/UploadCard.js";
|
|
66
|
+
import { default as default66 } from "./modules/multimedia/UploadFiles/UploadFiles.js";
|
|
67
|
+
import { default as default67 } from "./modules/multimedia/VideoEmbed/VideoEmbed.js";
|
|
68
|
+
import { default as default68 } from "./modules/multimedia/VideoRecorder/VideoRecorder.js";
|
|
69
|
+
import { default as default69 } from "./components/VisuallyHidden/VisuallyHidden.js";
|
|
70
|
+
import { default as default70 } from "./modules/multimedia/Workspace/Workspace.js";
|
|
71
|
+
import { default as default71 } from "./modules/multimedia/WorkspaceFolders/WorkspaceFolders.js";
|
|
72
|
+
import { default as default72 } from "./hooks/useBookmark/useBookmark.js";
|
|
73
|
+
import { default as default73 } from "./hooks/useBreakpoint/useBreakpoint.js";
|
|
74
|
+
import { default as default74 } from "./hooks/useBrowserInfo/useBrowserInfo.js";
|
|
75
|
+
import { default as default75 } from "./hooks/useCantoo/useCantoo.js";
|
|
76
|
+
import { default as default76 } from "./hooks/useClickOutside/useClickOutside.js";
|
|
77
|
+
import { default as default77 } from "./hooks/useConversation/useConversation.js";
|
|
78
|
+
import { default as default78 } from "./hooks/useDate/useDate.js";
|
|
79
|
+
import { default as default79 } from "./hooks/useDebounce/useDebounce.js";
|
|
80
|
+
import { default as default80 } from "./hooks/useDirectory/useDirectory.js";
|
|
81
|
+
import { default as default81 } from "./hooks/useDropdown/useDropdown.js";
|
|
82
|
+
import { default as default82 } from "./hooks/useDropzone/useDropzone.js";
|
|
83
|
+
import { default as default83 } from "./hooks/useEdificeIcons/useEdificeIcons.js";
|
|
84
|
+
import { default as default84 } from "./hooks/useHasWorkflow/useHasWorkflow.js";
|
|
85
|
+
import { default as default85 } from "./hooks/useHover/useHover.js";
|
|
86
|
+
import { default as default86 } from "./hooks/useHttpErrorToast/useHttpErrorToast.js";
|
|
87
|
+
import { default as default87 } from "./hooks/useImage/useImage.js";
|
|
88
|
+
import { default as default88 } from "./hooks/useInfiniteScroll/useInfiniteScroll.js";
|
|
89
|
+
import { default as default89 } from "./hooks/useIsAdmc/useIsAdmc.js";
|
|
90
|
+
import { default as default90 } from "./hooks/useIsAdml/useIsAdml.js";
|
|
91
|
+
import { default as default91 } from "./hooks/useIsAdmlcOrAdmc/useIsAdmlcOrAdmc.js";
|
|
92
|
+
import { default as default92 } from "./hooks/useKeyPress/useKeyPress.js";
|
|
93
|
+
import { default as default93 } from "./hooks/useLibraryUrl/useLibraryUrl.js";
|
|
94
|
+
import { default as default94 } from "./hooks/useMediaLibrary/useMediaLibrary.js";
|
|
95
|
+
import { default as default95 } from "./hooks/useScrollToTop/useScrollToTop.js";
|
|
96
|
+
import { default as default96 } from "./modules/modals/ShareModal/hooks/useShareMutation.js";
|
|
97
|
+
import { default as default97 } from "./hooks/useTitle/useTitle.js";
|
|
98
|
+
import { default as default98 } from "./hooks/useToast/useToast.js";
|
|
99
|
+
import { default as default99 } from "./hooks/useToggle/useToggle.js";
|
|
100
|
+
import { default as default100 } from "./hooks/useTrapFocus/useTrapFocus.js";
|
|
101
|
+
import { default as default101 } from "./hooks/useTrashedResource/useTrashedResource.js";
|
|
102
|
+
import { default as default102 } from "./modules/modals/ResourceModal/hooks/useUpdateMutation.js";
|
|
103
|
+
import { default as default103 } from "./hooks/useUpload/useUpload.js";
|
|
104
|
+
import { default as default104 } from "./hooks/useUploadFiles/useUploadFiles.js";
|
|
105
|
+
import { default as default105 } from "./hooks/useUser/useUser.js";
|
|
106
|
+
import { default as default106 } from "./hooks/useWorkspaceFile/useWorkspaceFile.js";
|
|
107
|
+
import { default as default107 } from "./hooks/useWorkspaceFolders/useWorkspaceFolders.js";
|
|
108
|
+
import { WORKSPACE_SHARED_FOLDER_ID, WORKSPACE_USER_FOLDER_ID, default as default108 } from "./hooks/useWorkspaceFolders/useWorkspaceFoldersTree.js";
|
|
109
|
+
import { default as default109 } from "./hooks/useWorkspaceSearch/useWorkspaceSearch.js";
|
|
110
|
+
import { default as default110 } from "./hooks/useXitiTrackPageLoad/useXitiTrackPageLoad.js";
|
|
111
|
+
import { default as default111 } from "./hooks/useZendeskGuide/useZendeskGuide.js";
|
|
105
112
|
import { AccessiblePalette, DefaultPalette } from "./components/ColorPicker/ColorPalette.js";
|
|
106
|
-
import {
|
|
113
|
+
import { AntProvider } from "./providers/AntThemeProvider/AntProvider.js";
|
|
107
114
|
import { Column, Grid } from "./components/Grid/Grid.js";
|
|
115
|
+
import { DropzoneContext, useDropzoneContext } from "./components/Dropzone/DropzoneContext.js";
|
|
116
|
+
import { EdificeClientContext } from "./providers/EdificeClientProvider/EdificeClientProvider.context.js";
|
|
117
|
+
import { EdificeClientProvider } from "./providers/EdificeClientProvider/EdificeClientProvider.js";
|
|
118
|
+
import { EdificeThemeContext } from "./providers/EdificeThemeProvider/EdificeThemeProvider.context.js";
|
|
119
|
+
import { EdificeThemeProvider } from "./providers/EdificeThemeProvider/EdificeThemeProvider.js";
|
|
120
|
+
import { ExternalLinker } from "./modules/multimedia/Linker/ExternalLinker/ExternalLinker.js";
|
|
121
|
+
import { InternalLinker } from "./modules/multimedia/Linker/InternalLinker/InternalLinker.js";
|
|
108
122
|
import { Layout } from "./components/Layout/Layout.js";
|
|
109
123
|
import { List } from "./components/List/List.js";
|
|
110
124
|
import { Menu } from "./components/Menu/components/Menu.js";
|
|
125
|
+
import { MockedProvider } from "./providers/MockedProvider/MockedProvider.js";
|
|
111
126
|
import { Popover, PopoverBody, PopoverFooter, PopoverHeader } from "./components/Popover/Popover.js";
|
|
127
|
+
import { ResourceModal } from "./modules/modals/ResourceModal/ResourceModal.js";
|
|
112
128
|
import { Tabs } from "./components/Tabs/components/Tabs.js";
|
|
113
129
|
import { Toolbar } from "./components/Toolbar/Toolbar.js";
|
|
114
|
-
import { useTreeSortable } from "./components/Tree/hooks/useTreeSortable.js";
|
|
115
|
-
import { buildTree, determineNewParentId, findItemIndexInTree, flattenNodes, flattenTree, generateUpdateData, getActiveAndOverNodes, getDragDepth, getIndicesToUpdate, getProjection, updateParentIds } from "./components/Tree/utilities/tree-sortable.js";
|
|
116
|
-
import { useTreeView } from "./components/TreeView/hooks/useTreeView.js";
|
|
117
130
|
import { TreeNode } from "./components/TreeView/TreeNode.js";
|
|
118
131
|
import { TreeNodeFolderWrapper, addNode, arrayUnique, deleteNode, findNodeById, findParentNode, findPathById, findTreeNode, getAncestors, hasChildren, modifyNode, moveNode, updateNode, wrapTreeNode } from "./components/TreeView/utilities/treeview.js";
|
|
119
|
-
import {
|
|
120
|
-
import {
|
|
121
|
-
import { ExternalLinker } from "./modules/multimedia/Linker/ExternalLinker/ExternalLinker.js";
|
|
122
|
-
import { InternalLinker } from "./modules/multimedia/Linker/InternalLinker/InternalLinker.js";
|
|
123
|
-
import { AntProvider } from "./providers/AntThemeProvider/AntProvider.js";
|
|
124
|
-
import { EdificeClientProvider } from "./providers/EdificeClientProvider/EdificeClientProvider.js";
|
|
125
|
-
import { EdificeClientContext } from "./providers/EdificeClientProvider/EdificeClientProvider.context.js";
|
|
126
|
-
import { useEdificeClient } from "./providers/EdificeClientProvider/EdificeClientProvider.hook.js";
|
|
127
|
-
import { EdificeThemeProvider } from "./providers/EdificeThemeProvider/EdificeThemeProvider.js";
|
|
128
|
-
import { EdificeThemeContext } from "./providers/EdificeThemeProvider/EdificeThemeProvider.context.js";
|
|
129
|
-
import { useEdificeTheme } from "./providers/EdificeThemeProvider/EdificeThemeProvider.hook.js";
|
|
130
|
-
import { MockedProvider } from "./providers/MockedProvider/MockedProvider.js";
|
|
132
|
+
import { Upload } from "./modules/multimedia/MediaLibrary/innertabs/Upload.js";
|
|
133
|
+
import { buildTree, determineNewParentId, findItemIndexInTree, flattenNodes, flattenTree, generateUpdateData, getActiveAndOverNodes, getDragDepth, getIndicesToUpdate, getProjection, updateParentIds } from "./components/Tree/utilities/tree-sortable.js";
|
|
131
134
|
import { checkUserRight } from "./utilities/check-user-rights/check-user-rights.js";
|
|
132
135
|
import { emptyScreenMapping } from "./utilities/emptyscreen-mapping/emptyscreen-mapping.js";
|
|
136
|
+
import { invalidateQueriesWithFirstPage } from "./utilities/react-query/react-query-utils.js";
|
|
133
137
|
import { mergeRefs, setRef } from "./utilities/refs/ref.js";
|
|
138
|
+
import { useCheckable } from "./hooks/useCheckable/useCheckable.js";
|
|
139
|
+
import { useEdificeClient } from "./providers/EdificeClientProvider/EdificeClientProvider.hook.js";
|
|
140
|
+
import { useEdificeTheme } from "./providers/EdificeThemeProvider/EdificeThemeProvider.hook.js";
|
|
141
|
+
import { useTreeSortable } from "./components/Tree/hooks/useTreeSortable.js";
|
|
142
|
+
import { useTreeView } from "./components/TreeView/hooks/useTreeView.js";
|
|
134
143
|
export {
|
|
135
144
|
AccessiblePalette,
|
|
136
145
|
default2 as ActionBar,
|
|
@@ -139,91 +148,98 @@ export {
|
|
|
139
148
|
default4 as AppHeader,
|
|
140
149
|
default5 as AppIcon,
|
|
141
150
|
default6 as Attachment,
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
151
|
+
default7 as AudioRecorder,
|
|
152
|
+
default8 as Avatar,
|
|
153
|
+
default9 as AvatarGroup,
|
|
154
|
+
default10 as Badge,
|
|
155
|
+
default11 as BlogPublic,
|
|
156
|
+
default12 as Breadcrumb,
|
|
157
|
+
default13 as Button,
|
|
158
|
+
default14 as ButtonSkeleton,
|
|
159
|
+
default15 as Card,
|
|
160
|
+
default16 as Checkbox,
|
|
161
|
+
default17 as ColorPicker,
|
|
162
|
+
default18 as ColorPickerItem,
|
|
154
163
|
Column,
|
|
155
|
-
|
|
156
|
-
|
|
164
|
+
default19 as Combobox,
|
|
165
|
+
default20 as ConfirmModal,
|
|
166
|
+
default21 as DatePicker,
|
|
157
167
|
DefaultPalette,
|
|
168
|
+
default22 as Divider,
|
|
158
169
|
DndTree,
|
|
159
|
-
|
|
160
|
-
|
|
170
|
+
default23 as Dropdown,
|
|
171
|
+
default24 as Dropzone,
|
|
161
172
|
DropzoneContext,
|
|
162
173
|
EdificeClientContext,
|
|
163
174
|
EdificeClientProvider,
|
|
164
175
|
EdificeThemeContext,
|
|
165
176
|
EdificeThemeProvider,
|
|
166
|
-
|
|
167
|
-
|
|
177
|
+
default25 as Embed,
|
|
178
|
+
default26 as EmptyScreen,
|
|
168
179
|
ExternalLinker,
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
180
|
+
default27 as FileCard,
|
|
181
|
+
default28 as Flex,
|
|
182
|
+
default29 as FormControl,
|
|
183
|
+
default30 as FormText,
|
|
173
184
|
Grid,
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
185
|
+
default31 as Heading,
|
|
186
|
+
default32 as IconButton,
|
|
187
|
+
default33 as Image,
|
|
188
|
+
default34 as ImageEditor,
|
|
189
|
+
default35 as ImagePicker,
|
|
190
|
+
default36 as Input,
|
|
180
191
|
InternalLinker,
|
|
181
|
-
|
|
192
|
+
default37 as Label,
|
|
182
193
|
Layout,
|
|
183
194
|
List,
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
195
|
+
default38 as Loading,
|
|
196
|
+
default39 as LoadingScreen,
|
|
197
|
+
default40 as Logo,
|
|
198
|
+
default41 as MediaLibrary,
|
|
188
199
|
Menu,
|
|
189
200
|
MockedProvider,
|
|
190
|
-
|
|
191
|
-
|
|
201
|
+
default42 as Modal,
|
|
202
|
+
default43 as OnboardingModal,
|
|
192
203
|
Popover,
|
|
193
204
|
PopoverBody,
|
|
194
205
|
PopoverFooter,
|
|
195
206
|
PopoverHeader,
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
207
|
+
default44 as PreventPropagation,
|
|
208
|
+
default45 as PublishModal,
|
|
209
|
+
default46 as Radio,
|
|
210
|
+
default47 as RadioCard,
|
|
200
211
|
ResourceModal,
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
212
|
+
default48 as SearchBar,
|
|
213
|
+
default49 as SearchButton,
|
|
214
|
+
default50 as SegmentedControl,
|
|
215
|
+
default51 as Select,
|
|
216
|
+
default52 as ShareBlog,
|
|
217
|
+
default53 as ShareModal,
|
|
218
|
+
default54 as ShareResources,
|
|
219
|
+
default55 as SortableTree,
|
|
220
|
+
default56 as StackedGroup,
|
|
221
|
+
default57 as Stepper,
|
|
222
|
+
default58 as Switch,
|
|
223
|
+
default59 as Table,
|
|
211
224
|
Tabs,
|
|
212
|
-
|
|
213
|
-
|
|
225
|
+
default60 as TextArea,
|
|
226
|
+
default61 as TextSkeleton,
|
|
214
227
|
Toolbar,
|
|
215
|
-
|
|
216
|
-
|
|
228
|
+
default62 as Tooltip,
|
|
229
|
+
default63 as Tree,
|
|
217
230
|
TreeNode,
|
|
218
231
|
TreeNodeFolderWrapper,
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
232
|
+
default64 as TreeView,
|
|
233
|
+
Upload,
|
|
234
|
+
default65 as UploadCard,
|
|
235
|
+
default66 as UploadFiles,
|
|
236
|
+
default67 as VideoEmbed,
|
|
237
|
+
default68 as VideoRecorder,
|
|
238
|
+
default69 as VisuallyHidden,
|
|
223
239
|
WORKSPACE_SHARED_FOLDER_ID,
|
|
224
240
|
WORKSPACE_USER_FOLDER_ID,
|
|
225
|
-
|
|
226
|
-
|
|
241
|
+
default70 as Workspace,
|
|
242
|
+
default71 as WorkspaceFolders,
|
|
227
243
|
addNode,
|
|
228
244
|
arrayUnique,
|
|
229
245
|
buildTree,
|
|
@@ -245,56 +261,58 @@ export {
|
|
|
245
261
|
getIndicesToUpdate,
|
|
246
262
|
getProjection,
|
|
247
263
|
hasChildren,
|
|
264
|
+
invalidateQueriesWithFirstPage,
|
|
248
265
|
mergeRefs,
|
|
249
266
|
modifyNode,
|
|
250
267
|
moveNode,
|
|
251
268
|
setRef,
|
|
252
269
|
updateNode,
|
|
253
270
|
updateParentIds,
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
271
|
+
default72 as useBookmark,
|
|
272
|
+
default73 as useBreakpoint,
|
|
273
|
+
default74 as useBrowserInfo,
|
|
274
|
+
default75 as useCantoo,
|
|
258
275
|
useCheckable,
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
276
|
+
default76 as useClickOutside,
|
|
277
|
+
default77 as useConversation,
|
|
278
|
+
default78 as useDate,
|
|
279
|
+
default79 as useDebounce,
|
|
280
|
+
default80 as useDirectory,
|
|
281
|
+
default81 as useDropdown,
|
|
282
|
+
default82 as useDropzone,
|
|
266
283
|
useDropzoneContext,
|
|
267
284
|
useEdificeClient,
|
|
268
|
-
|
|
285
|
+
default83 as useEdificeIcons,
|
|
269
286
|
useEdificeTheme,
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
useHttpErrorToast,
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
+
default84 as useHasWorkflow,
|
|
288
|
+
default85 as useHover,
|
|
289
|
+
default86 as useHttpErrorToast,
|
|
290
|
+
default87 as useImage,
|
|
291
|
+
default88 as useInfiniteScroll,
|
|
292
|
+
default89 as useIsAdmc,
|
|
293
|
+
default90 as useIsAdml,
|
|
294
|
+
default91 as useIsAdmlcOrAdmc,
|
|
295
|
+
default92 as useKeyPress,
|
|
296
|
+
default93 as useLibraryUrl,
|
|
297
|
+
default94 as useMediaLibrary,
|
|
298
|
+
default95 as useScrollToTop,
|
|
299
|
+
default96 as useShareMutation,
|
|
300
|
+
default97 as useTitle,
|
|
301
|
+
default98 as useToast,
|
|
302
|
+
default99 as useToggle,
|
|
303
|
+
default100 as useTrapFocus,
|
|
304
|
+
default101 as useTrashedResource,
|
|
287
305
|
useTreeSortable,
|
|
288
306
|
useTreeView,
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
307
|
+
default102 as useUpdateMutation,
|
|
308
|
+
default103 as useUpload,
|
|
309
|
+
default104 as useUploadFiles,
|
|
310
|
+
default105 as useUser,
|
|
311
|
+
default106 as useWorkspaceFile,
|
|
312
|
+
default107 as useWorkspaceFolders,
|
|
313
|
+
default108 as useWorkspaceFoldersTree,
|
|
314
|
+
default109 as useWorkspaceSearch,
|
|
315
|
+
default110 as useXitiTrackPageLoad,
|
|
316
|
+
default111 as useZendeskGuide,
|
|
299
317
|
wrapTreeNode
|
|
300
318
|
};
|
package/dist/modals.js
CHANGED
|
@@ -1,20 +1,22 @@
|
|
|
1
|
-
import { default as default2 } from "./modules/modals/
|
|
2
|
-
import { default as default3 } from "./modules/modals/
|
|
3
|
-
import { default as default4 } from "./modules/modals/
|
|
4
|
-
import { default as default5 } from "./modules/modals/
|
|
5
|
-
import { default as default6 } from "./modules/modals/
|
|
1
|
+
import { default as default2 } from "./modules/modals/ResourceModal/apps/BlogPublic.js";
|
|
2
|
+
import { default as default3 } from "./modules/modals/ConfirmModal/ConfirmModal.js";
|
|
3
|
+
import { default as default4 } from "./modules/modals/OnboardingModal/OnboardingModal.js";
|
|
4
|
+
import { default as default5 } from "./modules/modals/PublishModal/PublishModal.js";
|
|
5
|
+
import { default as default6 } from "./modules/modals/ShareModal/apps/ShareBlog.js";
|
|
6
6
|
import { default as default7 } from "./modules/modals/ShareModal/ShareModal.js";
|
|
7
|
-
import { default as default8 } from "./modules/modals/ShareModal/
|
|
7
|
+
import { default as default8 } from "./modules/modals/ShareModal/ShareResources.js";
|
|
8
8
|
import { default as default9 } from "./modules/modals/ShareModal/hooks/useShareMutation.js";
|
|
9
|
+
import { default as default10 } from "./modules/modals/ResourceModal/hooks/useUpdateMutation.js";
|
|
9
10
|
import { ResourceModal } from "./modules/modals/ResourceModal/ResourceModal.js";
|
|
10
11
|
export {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
12
|
+
default2 as BlogPublic,
|
|
13
|
+
default3 as ConfirmModal,
|
|
14
|
+
default4 as OnboardingModal,
|
|
15
|
+
default5 as PublishModal,
|
|
15
16
|
ResourceModal,
|
|
16
|
-
|
|
17
|
+
default6 as ShareBlog,
|
|
17
18
|
default7 as ShareModal,
|
|
19
|
+
default8 as ShareResources,
|
|
18
20
|
default9 as useShareMutation,
|
|
19
|
-
|
|
21
|
+
default10 as useUpdateMutation
|
|
20
22
|
};
|
|
@@ -8,9 +8,9 @@ import { BadgeProfile } from "./BadgeProfile.js";
|
|
|
8
8
|
import { CommentAvatar } from "./CommentAvatar.js";
|
|
9
9
|
import { CommentDate } from "./CommentDate.js";
|
|
10
10
|
import { CommentTitle } from "./CommentTitle.js";
|
|
11
|
-
import { TextCounter } from "./TextCounter.js";
|
|
12
11
|
import { CommentDeleted } from "./CommentDeleted.js";
|
|
13
12
|
import { CommentReplies } from "./CommentReplies.js";
|
|
13
|
+
import { TextCounter } from "./TextCounter.js";
|
|
14
14
|
import Button from "../../../components/Button/Button.js";
|
|
15
15
|
import LoadingScreen from "../../../components/LoadingScreen/LoadingScreen.js";
|
|
16
16
|
const DeleteModal = /* @__PURE__ */ lazy(() => import("./DeleteModal.js")), Comment = ({
|
|
@@ -41,6 +41,8 @@ const DeleteModal = /* @__PURE__ */ lazy(() => import("./DeleteModal.js")), Comm
|
|
|
41
41
|
handleReplyToComment
|
|
42
42
|
} = useCommentsContext(), replies = (defaultComments == null ? void 0 : defaultComments.filter((comm) => comm.replyTo === comment.id)) ?? [], hasReplies = replies.length > 0, hasAllDeletedReplies = replies.every((reply) => reply.deleted), isEditing = editCommentId === comment.id, handleChangeContent = (event) => {
|
|
43
43
|
resizeTextarea(), setValue(event.target.value);
|
|
44
|
+
}, handleDeleteComment = (id2) => {
|
|
45
|
+
onDeleteComment(id2), setIsDeleteModalOpen(!1);
|
|
44
46
|
};
|
|
45
47
|
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
46
48
|
comment.deleted && hasReplies && !hasAllDeletedReplies && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
@@ -48,7 +50,7 @@ const DeleteModal = /* @__PURE__ */ lazy(() => import("./DeleteModal.js")), Comm
|
|
|
48
50
|
/* @__PURE__ */ jsx(CommentReplies, { parentComment: comment })
|
|
49
51
|
] }),
|
|
50
52
|
!comment.deleted && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
51
|
-
/* @__PURE__ */ jsxs("div", { className: `${isEditing ? "border rounded-3 p-12 pb-8 d-flex gap-12 bg-gray-200 my-16" : "border rounded-3 p-12 pb-8 d-flex gap-12 mt-16"}`, children: [
|
|
53
|
+
/* @__PURE__ */ jsxs("div", { "data-testid": "div-comment-read", className: `${isEditing ? "border rounded-3 p-12 pb-8 d-flex gap-12 bg-gray-200 my-16" : "border rounded-3 p-12 pb-8 d-flex gap-12 mt-16"}`, children: [
|
|
52
54
|
/* @__PURE__ */ jsx(CommentAvatar, { id: authorId }),
|
|
53
55
|
/* @__PURE__ */ jsxs("div", { className: "flex flex-fill", children: [
|
|
54
56
|
/* @__PURE__ */ jsxs("div", { className: "d-flex align-items-center gap-12", children: [
|
|
@@ -65,7 +67,7 @@ const DeleteModal = /* @__PURE__ */ lazy(() => import("./DeleteModal.js")), Comm
|
|
|
65
67
|
/* @__PURE__ */ jsx(Button, { variant: "ghost", color: "tertiary", size: "sm", onClick: handleReset, children: t("comment.cancel") }),
|
|
66
68
|
/* @__PURE__ */ jsxs("div", { className: "d-flex justify-content-end align-items-center gap-4", children: [
|
|
67
69
|
/* @__PURE__ */ jsx(TextCounter, { content: value, maxLength: options.maxCommentLength }),
|
|
68
|
-
/* @__PURE__ */ jsx(Button, { type: "submit", variant: "ghost", size: "sm", leftIcon: /* @__PURE__ */ jsx(SvgIconSave, {}), disabled: !(content != null && content.length), onClick: () => handleUpdateComment(value), children: t("comment.save") })
|
|
70
|
+
/* @__PURE__ */ jsx(Button, { "data-testid": "comment-save", type: "submit", variant: "ghost", size: "sm", leftIcon: /* @__PURE__ */ jsx(SvgIconSave, {}), disabled: !(content != null && content.length), onClick: () => handleUpdateComment(value), children: t("comment.save") })
|
|
69
71
|
] })
|
|
70
72
|
] })
|
|
71
73
|
] }) : /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
@@ -74,16 +76,16 @@ const DeleteModal = /* @__PURE__ */ lazy(() => import("./DeleteModal.js")), Comm
|
|
|
74
76
|
}, children: content }),
|
|
75
77
|
type === "edit" && /* @__PURE__ */ jsxs("div", { className: "ms-n8", children: [
|
|
76
78
|
!replyTo && options.allowReplies && /* @__PURE__ */ jsx(Button, { variant: "ghost", color: "tertiary", size: "sm", onClick: () => handleReplyToComment(comment.id), children: t("comment.reply") }),
|
|
77
|
-
userId === authorId && /* @__PURE__ */ jsx(Button, { variant: "ghost", color: "tertiary", size: "sm", onClick: () => {
|
|
79
|
+
userId === authorId && /* @__PURE__ */ jsx(Button, { "data-testid": "comment-edit", variant: "ghost", color: "tertiary", size: "sm", onClick: () => {
|
|
78
80
|
handleModifyComment(comment.id), setValue(content);
|
|
79
81
|
}, children: t("comment.edit") }),
|
|
80
|
-
(userId === authorId || (userRights == null ? void 0 : userRights.manager)) && /* @__PURE__ */ jsx(Button, { variant: "ghost", color: "tertiary", size: "sm", onClick: () => setIsDeleteModalOpen(!0), children: t("comment.remove") })
|
|
82
|
+
(userId === authorId || (userRights == null ? void 0 : userRights.manager)) && /* @__PURE__ */ jsx(Button, { "data-testid": "comment-delete", variant: "ghost", color: "tertiary", size: "sm", onClick: () => setIsDeleteModalOpen(!0), children: t("comment.remove") })
|
|
81
83
|
] })
|
|
82
84
|
] })
|
|
83
85
|
] })
|
|
84
86
|
] }, id),
|
|
85
87
|
/* @__PURE__ */ jsx(CommentReplies, { parentComment: comment }),
|
|
86
|
-
/* @__PURE__ */ jsx(Suspense, { fallback: /* @__PURE__ */ jsx(LoadingScreen, { position: !1 }), children: isDeleteModalOpen && /* @__PURE__ */ jsx(DeleteModal, { isOpen: isDeleteModalOpen, onCancel: () => setIsDeleteModalOpen(!1), onSuccess: () =>
|
|
88
|
+
/* @__PURE__ */ jsx(Suspense, { fallback: /* @__PURE__ */ jsx(LoadingScreen, { position: !1 }), children: isDeleteModalOpen && /* @__PURE__ */ jsx(DeleteModal, { isOpen: isDeleteModalOpen, onCancel: () => setIsDeleteModalOpen(!1), onSuccess: () => handleDeleteComment(id) }) })
|
|
87
89
|
] })
|
|
88
90
|
] });
|
|
89
91
|
};
|