@edifice.io/react 2.5.5-develop-b2school.20260112173549 → 2.5.5-develop-pedago.20260113163234

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (110) hide show
  1. package/dist/components/Badge/Badge.d.ts +7 -4
  2. package/dist/components/Badge/Badge.js +14 -11
  3. package/dist/components/Combobox/Combobox.js +1 -1
  4. package/dist/components/Combobox/ComboboxTrigger.js +1 -1
  5. package/dist/components/SegmentedControl/SegmentedControl.js +1 -4
  6. package/dist/components/index.d.ts +0 -1
  7. package/dist/hooks/useEdificeIcons/useEdificeIcons.d.ts +1 -0
  8. package/dist/hooks/useEdificeIcons/useEdificeIcons.js +5 -0
  9. package/dist/icons.js +78 -80
  10. package/dist/index.js +182 -184
  11. package/dist/modules/editor/components/Editor/Editor.js +1 -1
  12. package/dist/modules/editor/components/Renderer/AttachmentRenderer.js +2 -2
  13. package/dist/modules/icons/components/index.d.ts +0 -1
  14. package/dist/modules/modals/ShareModal/ShareBookmark.js +2 -2
  15. package/dist/modules/modals/ShareModal/ShareBookmarkLine.js +4 -4
  16. package/dist/modules/modals/ShareModal/ShareResources.d.ts +1 -14
  17. package/dist/modules/modals/ShareModal/ShareResources.js +3 -11
  18. package/dist/modules/modals/ShareModal/hooks/useSearch.d.ts +3 -4
  19. package/dist/modules/modals/ShareModal/hooks/useSearch.js +15 -10
  20. package/dist/providers/AntThemeProvider/AntProvider.d.ts +2 -2
  21. package/dist/providers/AntThemeProvider/AntProvider.js +2 -19
  22. package/package.json +7 -7
  23. package/dist/_virtual/_commonjsHelpers.js +0 -8
  24. package/dist/_virtual/common.js +0 -4
  25. package/dist/_virtual/de_DE.js +0 -4
  26. package/dist/_virtual/de_DE2.js +0 -4
  27. package/dist/_virtual/de_DE3.js +0 -4
  28. package/dist/_virtual/de_DE4.js +0 -4
  29. package/dist/_virtual/de_DE5.js +0 -4
  30. package/dist/_virtual/de_DE6.js +0 -4
  31. package/dist/_virtual/defineProperty.js +0 -4
  32. package/dist/_virtual/es_ES.js +0 -4
  33. package/dist/_virtual/es_ES2.js +0 -4
  34. package/dist/_virtual/es_ES3.js +0 -4
  35. package/dist/_virtual/es_ES4.js +0 -4
  36. package/dist/_virtual/es_ES5.js +0 -4
  37. package/dist/_virtual/es_ES6.js +0 -4
  38. package/dist/_virtual/fr_FR.js +0 -4
  39. package/dist/_virtual/fr_FR2.js +0 -4
  40. package/dist/_virtual/fr_FR3.js +0 -4
  41. package/dist/_virtual/fr_FR4.js +0 -4
  42. package/dist/_virtual/fr_FR5.js +0 -4
  43. package/dist/_virtual/fr_FR6.js +0 -4
  44. package/dist/_virtual/interopRequireDefault.js +0 -4
  45. package/dist/_virtual/it_IT.js +0 -4
  46. package/dist/_virtual/it_IT2.js +0 -4
  47. package/dist/_virtual/it_IT3.js +0 -4
  48. package/dist/_virtual/it_IT4.js +0 -4
  49. package/dist/_virtual/it_IT5.js +0 -4
  50. package/dist/_virtual/it_IT6.js +0 -4
  51. package/dist/_virtual/localeData.js +0 -4
  52. package/dist/_virtual/objectSpread2.js +0 -4
  53. package/dist/_virtual/pt_PT.js +0 -4
  54. package/dist/_virtual/pt_PT2.js +0 -4
  55. package/dist/_virtual/pt_PT3.js +0 -4
  56. package/dist/_virtual/pt_PT4.js +0 -4
  57. package/dist/_virtual/pt_PT5.js +0 -4
  58. package/dist/_virtual/pt_PT6.js +0 -4
  59. package/dist/_virtual/toPrimitive.js +0 -4
  60. package/dist/_virtual/toPropertyKey.js +0 -4
  61. package/dist/_virtual/typeof.js +0 -4
  62. package/dist/_virtual/weekday.js +0 -4
  63. package/dist/components/DatePicker/DatePicker.js +0 -35
  64. package/dist/components/DatePicker/index.d.ts +0 -2
  65. package/dist/modules/icons/components/IconSubmitToValidate.d.ts +0 -7
  66. package/dist/modules/icons/components/IconSubmitToValidate.js +0 -12
  67. package/dist/node_modules/.pnpm/@babel_runtime@7.28.4/node_modules/@babel/runtime/helpers/defineProperty.js +0 -18
  68. package/dist/node_modules/.pnpm/@babel_runtime@7.28.4/node_modules/@babel/runtime/helpers/interopRequireDefault.js +0 -13
  69. package/dist/node_modules/.pnpm/@babel_runtime@7.28.4/node_modules/@babel/runtime/helpers/objectSpread2.js +0 -31
  70. package/dist/node_modules/.pnpm/@babel_runtime@7.28.4/node_modules/@babel/runtime/helpers/toPrimitive.js +0 -20
  71. package/dist/node_modules/.pnpm/@babel_runtime@7.28.4/node_modules/@babel/runtime/helpers/toPropertyKey.js +0 -15
  72. package/dist/node_modules/.pnpm/@babel_runtime@7.28.4/node_modules/@babel/runtime/helpers/typeof.js +0 -16
  73. 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 +0 -11
  74. 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 +0 -11
  75. 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 +0 -11
  76. 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 +0 -11
  77. 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 +0 -11
  78. 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 +0 -22
  79. 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 +0 -22
  80. 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 +0 -27
  81. 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 +0 -20
  82. 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 +0 -45
  83. 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 +0 -145
  84. 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 +0 -145
  85. 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 +0 -144
  86. 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 +0 -156
  87. 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 +0 -158
  88. 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 +0 -10
  89. 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 +0 -10
  90. 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 +0 -10
  91. 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 +0 -10
  92. 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 +0 -10
  93. 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 +0 -8
  94. 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 +0 -8
  95. 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 +0 -8
  96. 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 +0 -8
  97. 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 +0 -8
  98. package/dist/node_modules/.pnpm/dayjs@1.11.19/node_modules/dayjs/plugin/localeData.js +0 -82
  99. package/dist/node_modules/.pnpm/dayjs@1.11.19/node_modules/dayjs/plugin/weekday.js +0 -19
  100. 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 +0 -21
  101. 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 +0 -21
  102. 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 +0 -21
  103. 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 +0 -21
  104. 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 +0 -21
  105. 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 +0 -14
  106. 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 +0 -37
  107. 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 +0 -37
  108. 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 +0 -38
  109. 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 +0 -37
  110. 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 +0 -39
package/dist/index.js CHANGED
@@ -15,100 +15,99 @@ import { default as default15 } from "./components/Checkbox/Checkbox.js";
15
15
  import { default as default16 } from "./components/ColorPicker/ColorPicker.js";
16
16
  import { default as default17 } from "./components/ColorPicker/ColorPickerItem.js";
17
17
  import { default as default18 } from "./components/Combobox/Combobox.js";
18
- import { default as default19 } from "./components/DatePicker/DatePicker.js";
19
- import { default as default20 } from "./components/Divider/Divider.js";
20
- import { default as default21 } from "./components/Dropdown/Dropdown.js";
21
- import { default as default22 } from "./components/Dropzone/Dropzone.js";
22
- import { default as default23 } from "./components/EmptyScreen/EmptyScreen.js";
23
- import { default as default24 } from "./components/Flex/Flex.js";
24
- import { default as default25 } from "./components/Form/FormText.js";
25
- import { default as default26 } from "./components/Form/FormControl.js";
26
- import { default as default27 } from "./components/Heading/Heading.js";
27
- import { default as default28 } from "./components/Image/Image.js";
28
- import { default as default29 } from "./components/Input/Input.js";
29
- import { default as default30 } from "./components/Label/Label.js";
30
- import { default as default31 } from "./components/Loading/Loading.js";
31
- import { default as default32 } from "./components/LoadingScreen/LoadingScreen.js";
32
- import { default as default33 } from "./components/Logo/Logo.js";
33
- import { default as default34 } from "./components/Modal/Modal.js";
34
- import { default as default35 } from "./components/PreventPropagation/PreventPropagation.js";
35
- import { default as default36 } from "./components/Radio/Radio.js";
36
- import { default as default37 } from "./components/RadioCard/RadioCard.js";
37
- import { default as default38 } from "./components/SearchBar/SearchBar.js";
38
- import { default as default39 } from "./components/SegmentedControl/SegmentedControl.js";
39
- import { default as default40 } from "./components/Select/Select.js";
40
- import { default as default41 } from "./components/Skeleton/ButtonSkeleton.js";
41
- import { default as default42 } from "./components/Skeleton/TextSkeleton.js";
42
- import { default as default43 } from "./components/StackedGroup/StackedGroup.js";
43
- import { default as default44 } from "./components/Stepper/Stepper.js";
44
- import { default as default45 } from "./components/Switch/Switch.js";
45
- import { default as default46 } from "./components/Table/components/Table.js";
46
- import { default as default47 } from "./components/TextArea/TextArea.js";
47
- import { default as default48 } from "./components/Tooltip/Tooltip.js";
18
+ import { default as default19 } from "./components/Divider/Divider.js";
19
+ import { default as default20 } from "./components/Dropdown/Dropdown.js";
20
+ import { default as default21 } from "./components/Dropzone/Dropzone.js";
21
+ import { default as default22 } from "./components/EmptyScreen/EmptyScreen.js";
22
+ import { default as default23 } from "./components/Flex/Flex.js";
23
+ import { default as default24 } from "./components/Form/FormText.js";
24
+ import { default as default25 } from "./components/Form/FormControl.js";
25
+ import { default as default26 } from "./components/Heading/Heading.js";
26
+ import { default as default27 } from "./components/Image/Image.js";
27
+ import { default as default28 } from "./components/Input/Input.js";
28
+ import { default as default29 } from "./components/Label/Label.js";
29
+ import { default as default30 } from "./components/Loading/Loading.js";
30
+ import { default as default31 } from "./components/LoadingScreen/LoadingScreen.js";
31
+ import { default as default32 } from "./components/Logo/Logo.js";
32
+ import { default as default33 } from "./components/Modal/Modal.js";
33
+ import { default as default34 } from "./components/PreventPropagation/PreventPropagation.js";
34
+ import { default as default35 } from "./components/Radio/Radio.js";
35
+ import { default as default36 } from "./components/RadioCard/RadioCard.js";
36
+ import { default as default37 } from "./components/SearchBar/SearchBar.js";
37
+ import { default as default38 } from "./components/SegmentedControl/SegmentedControl.js";
38
+ import { default as default39 } from "./components/Select/Select.js";
39
+ import { default as default40 } from "./components/Skeleton/ButtonSkeleton.js";
40
+ import { default as default41 } from "./components/Skeleton/TextSkeleton.js";
41
+ import { default as default42 } from "./components/StackedGroup/StackedGroup.js";
42
+ import { default as default43 } from "./components/Stepper/Stepper.js";
43
+ import { default as default44 } from "./components/Switch/Switch.js";
44
+ import { default as default45 } from "./components/Table/components/Table.js";
45
+ import { default as default46 } from "./components/TextArea/TextArea.js";
46
+ import { default as default47 } from "./components/Tooltip/Tooltip.js";
48
47
  import { DndTree } from "./components/Tree/components/DndTree.js";
49
- import { default as default49 } from "./components/Tree/components/SortableTree.js";
50
- import { default as default50 } from "./components/Tree/components/Tree.js";
51
- import { default as default51 } from "./components/TreeView/TreeView.js";
52
- import { default as default52 } from "./components/VisuallyHidden/VisuallyHidden.js";
53
- import { default as default53 } from "./hooks/useBookmark/useBookmark.js";
54
- import { default as default54 } from "./hooks/useBreakpoint/useBreakpoint.js";
55
- import { default as default55 } from "./hooks/useBrowserInfo/useBrowserInfo.js";
56
- import { default as default56 } from "./hooks/useCantoo/useCantoo.js";
57
- import { default as default57 } from "./hooks/useClickOutside/useClickOutside.js";
58
- import { default as default58 } from "./hooks/useConversation/useConversation.js";
59
- import { default as default59 } from "./hooks/useDate/useDate.js";
60
- import { default as default60 } from "./hooks/useDebounce/useDebounce.js";
61
- import { default as default61 } from "./hooks/useDirectory/useDirectory.js";
62
- import { default as default62 } from "./hooks/useDropdown/useDropdown.js";
63
- import { default as default63 } from "./hooks/useDropzone/useDropzone.js";
64
- import { default as default64 } from "./hooks/useEdificeIcons/useEdificeIcons.js";
65
- import { default as default65 } from "./hooks/useHasWorkflow/useHasWorkflow.js";
66
- import { default as default66 } from "./hooks/useHover/useHover.js";
48
+ import { default as default48 } from "./components/Tree/components/SortableTree.js";
49
+ import { default as default49 } from "./components/Tree/components/Tree.js";
50
+ import { default as default50 } from "./components/TreeView/TreeView.js";
51
+ import { default as default51 } from "./components/VisuallyHidden/VisuallyHidden.js";
52
+ import { default as default52 } from "./hooks/useBookmark/useBookmark.js";
53
+ import { default as default53 } from "./hooks/useBreakpoint/useBreakpoint.js";
54
+ import { default as default54 } from "./hooks/useBrowserInfo/useBrowserInfo.js";
55
+ import { default as default55 } from "./hooks/useCantoo/useCantoo.js";
56
+ import { default as default56 } from "./hooks/useClickOutside/useClickOutside.js";
57
+ import { default as default57 } from "./hooks/useConversation/useConversation.js";
58
+ import { default as default58 } from "./hooks/useDate/useDate.js";
59
+ import { default as default59 } from "./hooks/useDebounce/useDebounce.js";
60
+ import { default as default60 } from "./hooks/useDirectory/useDirectory.js";
61
+ import { default as default61 } from "./hooks/useDropdown/useDropdown.js";
62
+ import { default as default62 } from "./hooks/useDropzone/useDropzone.js";
63
+ import { default as default63 } from "./hooks/useEdificeIcons/useEdificeIcons.js";
64
+ import { default as default64 } from "./hooks/useHasWorkflow/useHasWorkflow.js";
65
+ import { default as default65 } from "./hooks/useHover/useHover.js";
67
66
  import { useHttpErrorToast } from "./hooks/useHttpErrorToast/useHttpErrorToast.js";
68
- import { default as default67 } from "./hooks/useImage/useImage.js";
69
- import { default as default68 } from "./hooks/useInfiniteScroll/useInfiniteScroll.js";
70
- import { default as default69 } from "./hooks/useIsAdml/useIsAdml.js";
71
- import { default as default70 } from "./hooks/useIsAdmc/useIsAdmc.js";
72
- import { default as default71 } from "./hooks/useIsAdmlcOrAdmc/useIsAdmlcOrAdmc.js";
73
- import { default as default72 } from "./hooks/useKeyPress/useKeyPress.js";
74
- import { default as default73 } from "./hooks/useLibraryUrl/useLibraryUrl.js";
75
- import { default as default74 } from "./hooks/useMediaLibrary/useMediaLibrary.js";
76
- import { default as default75 } from "./hooks/useScrollToTop/useScrollToTop.js";
77
- import { default as default76 } from "./hooks/useTitle/useTitle.js";
78
- import { default as default77 } from "./hooks/useToast/useToast.js";
79
- import { default as default78 } from "./hooks/useToggle/useToggle.js";
80
- import { default as default79 } from "./hooks/useTrapFocus/useTrapFocus.js";
81
- import { default as default80 } from "./hooks/useTrashedResource/useTrashedResource.js";
82
- import { default as default81 } from "./hooks/useUpload/useUpload.js";
83
- import { default as default82 } from "./hooks/useUploadFiles/useUploadFiles.js";
84
- import { default as default83 } from "./hooks/useUser/useUser.js";
85
- import { default as default84 } from "./hooks/useWorkspaceFile/useWorkspaceFile.js";
86
- import { default as default85 } from "./hooks/useWorkspaceFolders/useWorkspaceFolders.js";
87
- import { WORKSPACE_SHARED_FOLDER_ID, WORKSPACE_USER_FOLDER_ID, default as default86 } from "./hooks/useWorkspaceFolders/useWorkspaceFoldersTree.js";
88
- import { default as default87 } from "./hooks/useWorkspaceSearch/useWorkspaceSearch.js";
89
- import { default as default88 } from "./hooks/useXitiTrackPageLoad/useXitiTrackPageLoad.js";
90
- import { default as default89 } from "./hooks/useZendeskGuide/useZendeskGuide.js";
91
- import { default as default90 } from "./modules/modals/ConfirmModal/ConfirmModal.js";
92
- import { default as default91 } from "./modules/modals/OnboardingModal/OnboardingModal.js";
93
- import { default as default92 } from "./modules/modals/PublishModal/PublishModal.js";
94
- import { default as default93 } from "./modules/modals/ResourceModal/apps/BlogPublic.js";
95
- import { default as default94 } from "./modules/modals/ResourceModal/hooks/useUpdateMutation.js";
96
- import { default as default95 } from "./modules/modals/ShareModal/apps/ShareBlog.js";
97
- import { default as default96 } from "./modules/modals/ShareModal/hooks/useShareMutation.js";
98
- import { default as default97 } from "./modules/modals/ShareModal/ShareModal.js";
99
- import { default as default98 } from "./modules/modals/ShareModal/ShareResources.js";
100
- import { default as default99 } from "./modules/multimedia/AudioRecorder/AudioRecorder.js";
101
- import { default as default100 } from "./modules/multimedia/Embed/Embed.js";
102
- import { default as default101 } from "./modules/multimedia/ImageEditor/components/ImageEditor.js";
103
- import { default as default102 } from "./modules/multimedia/ImagePicker/ImagePicker.js";
104
- import { default as default103 } from "./modules/multimedia/FileCard/FileCard.js";
105
- import { default as default104 } from "./modules/multimedia/MediaLibrary/MediaLibrary.js";
106
- import { default as default105 } from "./modules/multimedia/UploadFiles/UploadFiles.js";
107
- import { default as default106 } from "./modules/multimedia/UploadCard/UploadCard.js";
108
- import { default as default107 } from "./modules/multimedia/VideoEmbed/VideoEmbed.js";
109
- import { default as default108 } from "./modules/multimedia/VideoRecorder/VideoRecorder.js";
110
- import { default as default109 } from "./modules/multimedia/Workspace/Workspace.js";
111
- import { default as default110 } from "./modules/multimedia/WorkspaceFolders/WorkspaceFolders.js";
67
+ import { default as default66 } from "./hooks/useImage/useImage.js";
68
+ import { default as default67 } from "./hooks/useInfiniteScroll/useInfiniteScroll.js";
69
+ import { default as default68 } from "./hooks/useIsAdml/useIsAdml.js";
70
+ import { default as default69 } from "./hooks/useIsAdmc/useIsAdmc.js";
71
+ import { default as default70 } from "./hooks/useIsAdmlcOrAdmc/useIsAdmlcOrAdmc.js";
72
+ import { default as default71 } from "./hooks/useKeyPress/useKeyPress.js";
73
+ import { default as default72 } from "./hooks/useLibraryUrl/useLibraryUrl.js";
74
+ import { default as default73 } from "./hooks/useMediaLibrary/useMediaLibrary.js";
75
+ import { default as default74 } from "./hooks/useScrollToTop/useScrollToTop.js";
76
+ import { default as default75 } from "./hooks/useTitle/useTitle.js";
77
+ import { default as default76 } from "./hooks/useToast/useToast.js";
78
+ import { default as default77 } from "./hooks/useToggle/useToggle.js";
79
+ import { default as default78 } from "./hooks/useTrapFocus/useTrapFocus.js";
80
+ import { default as default79 } from "./hooks/useTrashedResource/useTrashedResource.js";
81
+ import { default as default80 } from "./hooks/useUpload/useUpload.js";
82
+ import { default as default81 } from "./hooks/useUploadFiles/useUploadFiles.js";
83
+ import { default as default82 } from "./hooks/useUser/useUser.js";
84
+ import { default as default83 } from "./hooks/useWorkspaceFile/useWorkspaceFile.js";
85
+ import { default as default84 } from "./hooks/useWorkspaceFolders/useWorkspaceFolders.js";
86
+ import { WORKSPACE_SHARED_FOLDER_ID, WORKSPACE_USER_FOLDER_ID, default as default85 } from "./hooks/useWorkspaceFolders/useWorkspaceFoldersTree.js";
87
+ import { default as default86 } from "./hooks/useWorkspaceSearch/useWorkspaceSearch.js";
88
+ import { default as default87 } from "./hooks/useXitiTrackPageLoad/useXitiTrackPageLoad.js";
89
+ import { default as default88 } from "./hooks/useZendeskGuide/useZendeskGuide.js";
90
+ import { default as default89 } from "./modules/modals/ConfirmModal/ConfirmModal.js";
91
+ import { default as default90 } from "./modules/modals/OnboardingModal/OnboardingModal.js";
92
+ import { default as default91 } from "./modules/modals/PublishModal/PublishModal.js";
93
+ import { default as default92 } from "./modules/modals/ResourceModal/apps/BlogPublic.js";
94
+ import { default as default93 } from "./modules/modals/ResourceModal/hooks/useUpdateMutation.js";
95
+ import { default as default94 } from "./modules/modals/ShareModal/apps/ShareBlog.js";
96
+ import { default as default95 } from "./modules/modals/ShareModal/hooks/useShareMutation.js";
97
+ import { default as default96 } from "./modules/modals/ShareModal/ShareModal.js";
98
+ import { default as default97 } from "./modules/modals/ShareModal/ShareResources.js";
99
+ import { default as default98 } from "./modules/multimedia/AudioRecorder/AudioRecorder.js";
100
+ import { default as default99 } from "./modules/multimedia/Embed/Embed.js";
101
+ import { default as default100 } from "./modules/multimedia/ImageEditor/components/ImageEditor.js";
102
+ import { default as default101 } from "./modules/multimedia/ImagePicker/ImagePicker.js";
103
+ import { default as default102 } from "./modules/multimedia/FileCard/FileCard.js";
104
+ import { default as default103 } from "./modules/multimedia/MediaLibrary/MediaLibrary.js";
105
+ import { default as default104 } from "./modules/multimedia/UploadFiles/UploadFiles.js";
106
+ import { default as default105 } from "./modules/multimedia/UploadCard/UploadCard.js";
107
+ import { default as default106 } from "./modules/multimedia/VideoEmbed/VideoEmbed.js";
108
+ import { default as default107 } from "./modules/multimedia/VideoRecorder/VideoRecorder.js";
109
+ import { default as default108 } from "./modules/multimedia/Workspace/Workspace.js";
110
+ import { default as default109 } from "./modules/multimedia/WorkspaceFolders/WorkspaceFolders.js";
112
111
  import { AccessiblePalette, DefaultPalette } from "./components/ColorPicker/ColorPalette.js";
113
112
  import { DropzoneContext, useDropzoneContext } from "./components/Dropzone/DropzoneContext.js";
114
113
  import { Column, Grid } from "./components/Grid/Grid.js";
@@ -148,98 +147,97 @@ export {
148
147
  default4 as AppHeader,
149
148
  default5 as AppIcon,
150
149
  default6 as Attachment,
151
- default99 as AudioRecorder,
150
+ default98 as AudioRecorder,
152
151
  default7 as Avatar,
153
152
  default8 as AvatarGroup,
154
153
  default9 as Badge,
155
- default93 as BlogPublic,
154
+ default92 as BlogPublic,
156
155
  default10 as Breadcrumb,
157
156
  default11 as Button,
158
- default41 as ButtonSkeleton,
157
+ default40 as ButtonSkeleton,
159
158
  default14 as Card,
160
159
  default15 as Checkbox,
161
160
  default16 as ColorPicker,
162
161
  default17 as ColorPickerItem,
163
162
  Column,
164
163
  default18 as Combobox,
165
- default90 as ConfirmModal,
166
- default19 as DatePicker,
164
+ default89 as ConfirmModal,
167
165
  DefaultPalette,
168
- default20 as Divider,
166
+ default19 as Divider,
169
167
  DndTree,
170
- default21 as Dropdown,
171
- default22 as Dropzone,
168
+ default20 as Dropdown,
169
+ default21 as Dropzone,
172
170
  DropzoneContext,
173
171
  EdificeClientContext,
174
172
  EdificeClientProvider,
175
173
  EdificeThemeContext,
176
174
  EdificeThemeProvider,
177
- default100 as Embed,
178
- default23 as EmptyScreen,
175
+ default99 as Embed,
176
+ default22 as EmptyScreen,
179
177
  ExternalLinker,
180
- default103 as FileCard,
181
- default24 as Flex,
182
- default26 as FormControl,
183
- default25 as FormText,
178
+ default102 as FileCard,
179
+ default23 as Flex,
180
+ default25 as FormControl,
181
+ default24 as FormText,
184
182
  Grid,
185
- default27 as Heading,
183
+ default26 as Heading,
186
184
  default12 as IconButton,
187
- default28 as Image,
188
- default101 as ImageEditor,
189
- default102 as ImagePicker,
190
- default29 as Input,
185
+ default27 as Image,
186
+ default100 as ImageEditor,
187
+ default101 as ImagePicker,
188
+ default28 as Input,
191
189
  InternalLinker,
192
- default30 as Label,
190
+ default29 as Label,
193
191
  Layout,
194
192
  List,
195
- default31 as Loading,
196
- default32 as LoadingScreen,
197
- default33 as Logo,
198
- default104 as MediaLibrary,
193
+ default30 as Loading,
194
+ default31 as LoadingScreen,
195
+ default32 as Logo,
196
+ default103 as MediaLibrary,
199
197
  Menu,
200
198
  MockedProvider,
201
- default34 as Modal,
202
- default91 as OnboardingModal,
199
+ default33 as Modal,
200
+ default90 as OnboardingModal,
203
201
  Popover,
204
202
  PopoverBody,
205
203
  PopoverFooter,
206
204
  PopoverHeader,
207
- default35 as PreventPropagation,
208
- default92 as PublishModal,
209
- default36 as Radio,
210
- default37 as RadioCard,
205
+ default34 as PreventPropagation,
206
+ default91 as PublishModal,
207
+ default35 as Radio,
208
+ default36 as RadioCard,
211
209
  ResourceModal,
212
- default38 as SearchBar,
210
+ default37 as SearchBar,
213
211
  default13 as SearchButton,
214
- default39 as SegmentedControl,
215
- default40 as Select,
216
- default95 as ShareBlog,
217
- default97 as ShareModal,
218
- default98 as ShareResources,
219
- default49 as SortableTree,
220
- default43 as StackedGroup,
221
- default44 as Stepper,
222
- default45 as Switch,
223
- default46 as Table,
212
+ default38 as SegmentedControl,
213
+ default39 as Select,
214
+ default94 as ShareBlog,
215
+ default96 as ShareModal,
216
+ default97 as ShareResources,
217
+ default48 as SortableTree,
218
+ default42 as StackedGroup,
219
+ default43 as Stepper,
220
+ default44 as Switch,
221
+ default45 as Table,
224
222
  Tabs,
225
- default47 as TextArea,
226
- default42 as TextSkeleton,
223
+ default46 as TextArea,
224
+ default41 as TextSkeleton,
227
225
  Toolbar,
228
- default48 as Tooltip,
229
- default50 as Tree,
226
+ default47 as Tooltip,
227
+ default49 as Tree,
230
228
  TreeNode,
231
229
  TreeNodeFolderWrapper,
232
- default51 as TreeView,
230
+ default50 as TreeView,
233
231
  Upload,
234
- default106 as UploadCard,
235
- default105 as UploadFiles,
236
- default107 as VideoEmbed,
237
- default108 as VideoRecorder,
238
- default52 as VisuallyHidden,
232
+ default105 as UploadCard,
233
+ default104 as UploadFiles,
234
+ default106 as VideoEmbed,
235
+ default107 as VideoRecorder,
236
+ default51 as VisuallyHidden,
239
237
  WORKSPACE_SHARED_FOLDER_ID,
240
238
  WORKSPACE_USER_FOLDER_ID,
241
- default109 as Workspace,
242
- default110 as WorkspaceFolders,
239
+ default108 as Workspace,
240
+ default109 as WorkspaceFolders,
243
241
  addNode,
244
242
  arrayUnique,
245
243
  buildTree,
@@ -268,51 +266,51 @@ export {
268
266
  setRef,
269
267
  updateNode,
270
268
  updateParentIds,
271
- default53 as useBookmark,
272
- default54 as useBreakpoint,
273
- default55 as useBrowserInfo,
274
- default56 as useCantoo,
269
+ default52 as useBookmark,
270
+ default53 as useBreakpoint,
271
+ default54 as useBrowserInfo,
272
+ default55 as useCantoo,
275
273
  useCheckable,
276
- default57 as useClickOutside,
277
- default58 as useConversation,
278
- default59 as useDate,
279
- default60 as useDebounce,
280
- default61 as useDirectory,
281
- default62 as useDropdown,
282
- default63 as useDropzone,
274
+ default56 as useClickOutside,
275
+ default57 as useConversation,
276
+ default58 as useDate,
277
+ default59 as useDebounce,
278
+ default60 as useDirectory,
279
+ default61 as useDropdown,
280
+ default62 as useDropzone,
283
281
  useDropzoneContext,
284
282
  useEdificeClient,
285
- default64 as useEdificeIcons,
283
+ default63 as useEdificeIcons,
286
284
  useEdificeTheme,
287
- default65 as useHasWorkflow,
288
- default66 as useHover,
285
+ default64 as useHasWorkflow,
286
+ default65 as useHover,
289
287
  useHttpErrorToast,
290
- default67 as useImage,
291
- default68 as useInfiniteScroll,
292
- default70 as useIsAdmc,
293
- default69 as useIsAdml,
294
- default71 as useIsAdmlcOrAdmc,
295
- default72 as useKeyPress,
296
- default73 as useLibraryUrl,
297
- default74 as useMediaLibrary,
298
- default75 as useScrollToTop,
299
- default96 as useShareMutation,
300
- default76 as useTitle,
301
- default77 as useToast,
302
- default78 as useToggle,
303
- default79 as useTrapFocus,
304
- default80 as useTrashedResource,
288
+ default66 as useImage,
289
+ default67 as useInfiniteScroll,
290
+ default69 as useIsAdmc,
291
+ default68 as useIsAdml,
292
+ default70 as useIsAdmlcOrAdmc,
293
+ default71 as useKeyPress,
294
+ default72 as useLibraryUrl,
295
+ default73 as useMediaLibrary,
296
+ default74 as useScrollToTop,
297
+ default95 as useShareMutation,
298
+ default75 as useTitle,
299
+ default76 as useToast,
300
+ default77 as useToggle,
301
+ default78 as useTrapFocus,
302
+ default79 as useTrashedResource,
305
303
  useTreeSortable,
306
304
  useTreeView,
307
- default94 as useUpdateMutation,
308
- default81 as useUpload,
309
- default82 as useUploadFiles,
310
- default83 as useUser,
311
- default84 as useWorkspaceFile,
312
- default85 as useWorkspaceFolders,
313
- default86 as useWorkspaceFoldersTree,
314
- default87 as useWorkspaceSearch,
315
- default88 as useXitiTrackPageLoad,
316
- default89 as useZendeskGuide,
305
+ default93 as useUpdateMutation,
306
+ default80 as useUpload,
307
+ default81 as useUploadFiles,
308
+ default82 as useUser,
309
+ default83 as useWorkspaceFile,
310
+ default84 as useWorkspaceFolders,
311
+ default85 as useWorkspaceFoldersTree,
312
+ default86 as useWorkspaceSearch,
313
+ default87 as useXitiTrackPageLoad,
314
+ default88 as useZendeskGuide,
317
315
  wrapTreeNode
318
316
  };
@@ -78,7 +78,7 @@ const MathsModal = /* @__PURE__ */ lazy(async () => await import("../MathsModal/
78
78
  /* @__PURE__ */ jsxs("div", { className: borderClass, children: [
79
79
  toolbar !== "none" && editable && /* @__PURE__ */ jsx(EditorToolbar, { mediaLibraryRef: mediaLibraryModalRef, toggleMathsModal, cantooEditor: contooEditor }),
80
80
  /* @__PURE__ */ jsxs(Flex, { direction: "row", children: [
81
- /* @__PURE__ */ jsx(EditorContent, { "data-testid": "editor-content", id: id ?? editorId, editor, className: contentClass, style: {
81
+ /* @__PURE__ */ jsx(EditorContent, { id: id ?? editorId, editor, className: contentClass, style: {
82
82
  flex: 1
83
83
  } }),
84
84
  editable && contooEditor.openPositionAdaptText.right && /* @__PURE__ */ jsx(CantooAdaptTextBoxView, { openPosition: contooEditor.openPositionAdaptText })
@@ -31,8 +31,8 @@ const AttachmentRenderer = (props) => {
31
31
  }, "data-drag-handle": !0, children: [
32
32
  /* @__PURE__ */ jsx("p", { className: "m-12 mt-0", children: t("tiptap.attachments.bloc") }),
33
33
  /* @__PURE__ */ jsx(Grid, { children: attachmentArrayAttrs == null ? void 0 : attachmentArrayAttrs.map((attachment, index) => /* @__PURE__ */ jsx(Grid.Col, { sm: "6", children: /* @__PURE__ */ jsx(Attachment, { name: attachment.name, options: /* @__PURE__ */ jsxs(Fragment, { children: [
34
- /* @__PURE__ */ jsx("a", { href: attachment.href, "data-document-id": attachment.dataDocumentId, "data-content-type": attachment.dataContentType, download: !0, children: /* @__PURE__ */ jsx(IconButton, { "aria-label": t("tiptap.attachments.download"), color: "tertiary", type: "button", icon: /* @__PURE__ */ jsx(SvgIconDownload, {}), variant: "ghost" }) }),
35
- editable && /* @__PURE__ */ jsx(IconButton, { "aria-label": t("tiptap.attachments.delete"), color: "danger", type: "button", icon: /* @__PURE__ */ jsx(SvgIconDelete, {}), variant: "ghost", onClick: () => handleDelete(index, attachment.dataDocumentId) })
34
+ /* @__PURE__ */ jsx("a", { href: attachment.href, "data-content-type": attachment.dataContentType, download: !0, children: /* @__PURE__ */ jsx(IconButton, { "aria-label": t("tiptap.attachments.download"), color: "tertiary", type: "button", icon: /* @__PURE__ */ jsx(SvgIconDownload, {}), variant: "ghost" }) }),
35
+ editable && /* @__PURE__ */ jsx(IconButton, { "aria-label": t("tiptap.attachments.delete"), color: "danger", type: "button", icon: /* @__PURE__ */ jsx(SvgIconDelete, {}), variant: "ghost", onClick: () => handleDelete(index, attachment.documentId) })
36
36
  ] }) }) }, index)) })
37
37
  ] }) });
38
38
  };
@@ -135,7 +135,6 @@ export { default as IconSplitCells } from './IconSplitCells';
135
135
  export { default as IconSquareRoot } from './IconSquareRoot';
136
136
  export { default as IconStarFull } from './IconStarFull';
137
137
  export { default as IconStar } from './IconStar';
138
- export { default as IconSubmitToValidate } from './IconSubmitToValidate';
139
138
  export { default as IconSubscript } from './IconSubscript';
140
139
  export { default as IconSuccessFill } from './IconSuccessFill';
141
140
  export { default as IconSuccessOutline } from './IconSuccessOutline';
@@ -16,8 +16,8 @@ const ShareBookmark = ({
16
16
  setIsSaving(!0), await onSave(), setIsSaving(!1);
17
17
  };
18
18
  return /* @__PURE__ */ jsx("div", { className: "mt-16", children: /* @__PURE__ */ jsxs(FormControl, { id: "bookmarkName", className: "d-flex flex-wrap align-items-center gap-16", children: [
19
- /* @__PURE__ */ jsx("div", { className: "flex-fill", children: /* @__PURE__ */ jsx(FormControl.Input, { "data-testid": "share-bookmark-name-input", ref: refBookmark, onChange: onBookmarkChange, placeholder: t("explorer.modal.share.sharebookmark.placeholder"), size: "sm", type: "text" }, bookmark.id) }),
20
- /* @__PURE__ */ jsx(Button, { "data-testid": "share-bookmark-save-button", type: "button", color: "primary", variant: "ghost", disabled: bookmark.name.length === 0 || isSaving, leftIcon: /* @__PURE__ */ jsx(SvgIconSave, {}), onClick: handleSaveClick, className: "text-nowrap", isLoading: isSaving, children: t("explorer.modal.share.sharebookmark.save") })
19
+ /* @__PURE__ */ jsx("div", { className: "flex-fill", children: /* @__PURE__ */ jsx(FormControl.Input, { ref: refBookmark, onChange: onBookmarkChange, placeholder: t("explorer.modal.share.sharebookmark.placeholder"), size: "sm", type: "text" }, bookmark.id) }),
20
+ /* @__PURE__ */ jsx(Button, { type: "button", color: "primary", variant: "ghost", disabled: bookmark.name.length === 0 || isSaving, leftIcon: /* @__PURE__ */ jsx(SvgIconSave, {}), onClick: handleSaveClick, className: "text-nowrap", isLoading: isSaving, children: t("explorer.modal.share.sharebookmark.save") })
21
21
  ] }) });
22
22
  };
23
23
  export {
@@ -4,10 +4,10 @@ import SvgIconBookmark from "../../icons/components/IconBookmark.js";
4
4
  import SvgIconClose from "../../icons/components/IconClose.js";
5
5
  import SvgIconRafterDown from "../../icons/components/IconRafterDown.js";
6
6
  import SvgIconUsers from "../../icons/components/IconUsers.js";
7
- import { useShareRightDisabled } from "./hooks/useShareRightDisabled.js";
8
- import { useShareRightVisible } from "./hooks/useShareRightVisible.js";
9
7
  import { hasRight } from "./utils/hasRight.js";
10
8
  import { showShareRightLine } from "./utils/showShareRightLine.js";
9
+ import { useShareRightDisabled } from "./hooks/useShareRightDisabled.js";
10
+ import { useShareRightVisible } from "./hooks/useShareRightVisible.js";
11
11
  import Avatar from "../../../components/Avatar/Avatar.js";
12
12
  import Button from "../../../components/Button/Button.js";
13
13
  import Checkbox from "../../../components/Checkbox/Checkbox.js";
@@ -45,8 +45,8 @@ const ShareBookmarkLine = ({
45
45
  ] }) }),
46
46
  shareRightActions.map((shareRightAction) => /* @__PURE__ */ jsx("td", { style: {
47
47
  width: "80px"
48
- }, className: "text-center text-white", children: /* @__PURE__ */ jsx(Checkbox, { checked: hasRight(shareRight, shareRightAction), onChange: () => toggleRight(shareRight, shareRightAction.id), disabled: isDisabled, "data-testid": `share-right-${shareRightAction.id}-checkbox` }) }, shareRightAction.displayName)),
49
- /* @__PURE__ */ jsx("td", { children: !shareRight.isBookmarkMember && !isDisabled && /* @__PURE__ */ jsx(IconButton, { "data-testid": "share-right-close-button", "aria-label": t("close"), color: "tertiary", icon: /* @__PURE__ */ jsx(SvgIconClose, {}), type: "button", variant: "ghost", title: t("close"), onClick: () => onDeleteRow(shareRight) }) })
48
+ }, className: "text-center text-white", children: /* @__PURE__ */ jsx(Checkbox, { checked: hasRight(shareRight, shareRightAction), onChange: () => toggleRight(shareRight, shareRightAction.id), disabled: isDisabled }) }, shareRightAction.displayName)),
49
+ /* @__PURE__ */ jsx("td", { children: !shareRight.isBookmarkMember && !isDisabled && /* @__PURE__ */ jsx(IconButton, { "aria-label": t("close"), color: "tertiary", icon: /* @__PURE__ */ jsx(SvgIconClose, {}), type: "button", variant: "ghost", title: t("close"), onClick: () => onDeleteRow(shareRight) }) })
50
50
  ] }, shareRight.id) : null;
51
51
  });
52
52
  };
@@ -1,4 +1,4 @@
1
- import { ID, PutShareResponse, RightStringified, ShareRight, ShareRightAction, ShareRightActionDisplayName, ShareUrls } from '@edifice.io/client';
1
+ import { ID, PutShareResponse, RightStringified, ShareRight, ShareRightActionDisplayName, ShareUrls } from '@edifice.io/client';
2
2
  import { UseMutationResult } from '../../../node_modules/@tanstack/react-query';
3
3
  /**
4
4
  * Configuration options for sharing a resource
@@ -22,12 +22,6 @@ import { UseMutationResult } from '../../../node_modules/@tanstack/react-query';
22
22
  * resourceRights: [],
23
23
  * resourceCreatorId: 'user-67890',
24
24
  * filteredActions: ['read', 'contrib'],
25
- * defaultActions: [
26
- * {
27
- * id: 'read',
28
- * displayName: 'read',
29
- * },
30
- * ],
31
25
  * shareUrls: {
32
26
  * getResourceRights: '/api/V1/thread/shares', (get endpoint)
33
27
  * saveResourceRights: '/api/V1/thread/shares', (put endpoint)
@@ -43,12 +37,6 @@ import { UseMutationResult } from '../../../node_modules/@tanstack/react-query';
43
37
  * resourceRights: [],
44
38
  * resourceCreatorId: 'user-67890',
45
39
  * filteredActions: ['read', 'contrib'],
46
- * defaultActions: [
47
- * {
48
- * id: 'read',
49
- * displayName: 'read',
50
- * },
51
- * ],
52
40
  * shareUrls: {
53
41
  * getResourceRights: '/api/V1/info/shares', (get endpoint)
54
42
  * saveResourceRights: '/api/V1/info/shares', (put endpoint)
@@ -63,7 +51,6 @@ export type ShareOptions = {
63
51
  resourceCreatorId: string;
64
52
  filteredActions?: ShareRightActionDisplayName[];
65
53
  shareUrls?: ShareUrls;
66
- defaultActions?: ShareRightAction[];
67
54
  };
68
55
  /**
69
56
  * React Query mutation result for share operations
@@ -33,14 +33,7 @@ const ShareResources = /* @__PURE__ */ forwardRef(({
33
33
  resourceCreatorId,
34
34
  resourceRights,
35
35
  filteredActions,
36
- shareUrls,
37
- defaultActions = [{
38
- id: "read",
39
- displayName: "read"
40
- }, {
41
- id: "comment",
42
- displayName: "comment"
43
- }]
36
+ shareUrls
44
37
  } = shareOptions, [isLoading, setIsLoading] = useState(!0), [isSavingBookmark, setIsSavingBookmark] = useState(!1), {
45
38
  state: {
46
39
  isSharing,
@@ -79,8 +72,7 @@ const ShareResources = /* @__PURE__ */ forwardRef(({
79
72
  resourceCreatorId,
80
73
  shareRights,
81
74
  shareDispatch,
82
- urlResourceRights: shareUrls == null ? void 0 : shareUrls.getResourceRights,
83
- defaultActions
75
+ urlResourceRights: shareUrls == null ? void 0 : shareUrls.getResourceRights
84
76
  }), {
85
77
  refBookmark,
86
78
  showBookmark,
@@ -132,7 +124,7 @@ const ShareResources = /* @__PURE__ */ forwardRef(({
132
124
  ] })
133
125
  ] }) }),
134
126
  /* @__PURE__ */ jsxs("div", { className: "mt-16", children: [
135
- /* @__PURE__ */ jsx(Button, { "data-testid": "share-bookmark-show-button", color: "tertiary", leftIcon: /* @__PURE__ */ jsx(SvgIconBookmark, {}), rightIcon: /* @__PURE__ */ jsx(SvgIconRafterDown, { title: t("show"), className: "w-16 min-w-0", style: {
127
+ /* @__PURE__ */ jsx(Button, { color: "tertiary", leftIcon: /* @__PURE__ */ jsx(SvgIconBookmark, {}), rightIcon: /* @__PURE__ */ jsx(SvgIconRafterDown, { title: t("show"), className: "w-16 min-w-0", style: {
136
128
  transition: "rotate 0.2s ease-out",
137
129
  rotate: showBookmarkInput ? "-180deg" : "0deg"
138
130
  } }), type: "button", variant: "ghost", className: "fw-normal", onClick: () => toggleBookmarkInput(!showBookmarkInput), children: t("share.save.sharebookmark") }),
@@ -1,15 +1,14 @@
1
1
  import { ChangeEvent, Dispatch } from 'react';
2
- import { ShareRightAction, ShareRightWithVisibles, ShareSubject } from '@edifice.io/client';
2
+ import { ShareRightWithVisibles, ShareSubject } from '@edifice.io/client';
3
3
  import { OptionListItemType } from '../../../../components';
4
- import { ShareOptions } from '../ShareResources';
4
+ import { ShareOptions } from '../ShareModal';
5
5
  import { ShareAction } from './useShare';
6
- export declare const useSearch: ({ resourceId, resourceCreatorId, shareRights, shareDispatch, urlResourceRights, defaultActions, }: {
6
+ export declare const useSearch: ({ resourceId, resourceCreatorId, shareRights, shareDispatch, urlResourceRights, }: {
7
7
  resourceId: ShareOptions["resourceCreatorId"];
8
8
  resourceCreatorId: ShareOptions["resourceCreatorId"];
9
9
  shareRights: ShareRightWithVisibles;
10
10
  shareDispatch: Dispatch<ShareAction>;
11
11
  urlResourceRights?: string;
12
- defaultActions?: ShareRightAction[];
13
12
  }) => {
14
13
  state: {
15
14
  searchInputValue: string;