@edifice.io/react 2.6.13-develop-pedago.20261109143551 → 2.6.13-develop-b2school.20261110154818

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 (220) hide show
  1. package/dist/components/Checkbox/Checkbox.js +1 -1
  2. package/dist/components/Dropdown/Dropdown.d.ts +2 -1
  3. package/dist/components/Dropdown/Dropdown.js +1 -1
  4. package/dist/components/Layout/Layout.js +1 -1
  5. package/dist/components/Masonry/Masonry.d.ts +40 -0
  6. package/dist/components/Masonry/Masonry.js +1 -0
  7. package/dist/components/Masonry/index.d.ts +2 -0
  8. package/dist/components/SearchBar/SearchBar.js +1 -1
  9. package/dist/components/index.d.ts +1 -0
  10. package/dist/homepage.js +1 -1
  11. package/dist/hooks/useUpload/useUpload.js +1 -1
  12. package/dist/hooks/useZendeskGuide/useZendeskGuide.d.ts +2 -6
  13. package/dist/hooks/useZendeskGuide/useZendeskGuide.js +1 -1
  14. package/dist/icons.js +1 -1
  15. package/dist/index.js +1 -1
  16. package/dist/modules/HelpZone/HelpZone.js +1 -1
  17. package/dist/modules/HelpZone/HelpZoneContainer.js +1 -1
  18. package/dist/modules/homepage/components/Agenda/Agenda.d.ts +10 -0
  19. package/dist/modules/homepage/components/Agenda/Agenda.js +1 -0
  20. package/dist/modules/homepage/components/Agenda/AgendaContainer.d.ts +1 -0
  21. package/dist/modules/homepage/components/Agenda/AgendaContainer.js +1 -0
  22. package/dist/modules/homepage/components/Agenda/AgendaEventCard.d.ts +10 -0
  23. package/dist/modules/homepage/components/Agenda/AgendaEventCard.js +1 -0
  24. package/dist/modules/homepage/components/Agenda/hooks/useAgendaContainer.d.ts +14 -0
  25. package/dist/modules/homepage/components/Agenda/hooks/useAgendaContainer.js +1 -0
  26. package/dist/modules/homepage/components/Agenda/index.d.ts +3 -0
  27. package/dist/modules/homepage/components/Agenda/services/api/agendaService.d.ts +24 -0
  28. package/dist/modules/homepage/components/Agenda/services/api/agendaService.js +1 -0
  29. package/dist/modules/homepage/components/Agenda/services/api/index.d.ts +4 -0
  30. package/dist/modules/homepage/components/Agenda/services/api/index.js +1 -0
  31. package/dist/modules/homepage/components/Agenda/services/queries/agenda.d.ts +19 -0
  32. package/dist/modules/homepage/components/Agenda/services/queries/agenda.js +1 -0
  33. package/dist/modules/homepage/components/BriefMe/BriefMe.d.ts +9 -0
  34. package/dist/modules/homepage/components/BriefMe/BriefMe.js +1 -0
  35. package/dist/modules/homepage/components/BriefMe/BriefMeContainer.d.ts +4 -0
  36. package/dist/modules/homepage/components/BriefMe/BriefMeContainer.js +1 -0
  37. package/dist/modules/homepage/components/BriefMe/index.d.ts +4 -0
  38. package/dist/modules/homepage/components/BriefMe/types.d.ts +17 -0
  39. package/dist/modules/homepage/components/BriefMe/types.js +1 -0
  40. package/dist/modules/homepage/components/BriefMe/useBriefMe.d.ts +31 -0
  41. package/dist/modules/homepage/components/BriefMe/useBriefMe.js +1 -0
  42. package/dist/modules/homepage/components/Cantine/Cantine.d.ts +7 -0
  43. package/dist/modules/homepage/components/Cantine/Cantine.js +1 -0
  44. package/dist/modules/homepage/components/Cantine/CantineContainer.d.ts +4 -0
  45. package/dist/modules/homepage/components/Cantine/CantineContainer.js +1 -0
  46. package/dist/modules/homepage/components/Cantine/CantineModal.d.ts +24 -0
  47. package/dist/modules/homepage/components/Cantine/CantineModal.js +1 -0
  48. package/dist/modules/homepage/components/Cantine/CantineModalContainer.d.ts +7 -0
  49. package/dist/modules/homepage/components/Cantine/CantineModalContainer.js +1 -0
  50. package/dist/modules/homepage/components/Cantine/components/CantineLegend.d.ts +5 -0
  51. package/dist/modules/homepage/components/Cantine/components/CantineLegend.js +1 -0
  52. package/dist/modules/homepage/components/Cantine/components/CantineMenuSection.d.ts +6 -0
  53. package/dist/modules/homepage/components/Cantine/components/CantineMenuSection.js +1 -0
  54. package/dist/modules/homepage/components/Cantine/components/cantineLabels.d.ts +12 -0
  55. package/dist/modules/homepage/components/Cantine/components/cantineLabels.js +1 -0
  56. package/dist/modules/homepage/components/Cantine/hooks/useCantine.d.ts +11 -0
  57. package/dist/modules/homepage/components/Cantine/hooks/useCantine.js +1 -0
  58. package/dist/modules/homepage/components/Cantine/hooks/useCantineMenu.d.ts +24 -0
  59. package/dist/modules/homepage/components/Cantine/hooks/useCantineMenu.js +1 -0
  60. package/dist/modules/homepage/components/Cantine/hooks/useCantineModal.d.ts +23 -0
  61. package/dist/modules/homepage/components/Cantine/hooks/useCantineModal.js +1 -0
  62. package/dist/modules/homepage/components/Cantine/index.d.ts +7 -0
  63. package/dist/modules/homepage/components/Cantine/types.d.ts +42 -0
  64. package/dist/modules/homepage/components/Captation/CaptationAudio/CaptationAudio.d.ts +7 -0
  65. package/dist/modules/homepage/components/Captation/CaptationVideo/CaptationVideo.d.ts +9 -0
  66. package/dist/modules/homepage/components/Edumalin/Edumalin.d.ts +9 -0
  67. package/dist/modules/homepage/components/Edumalin/Edumalin.js +1 -0
  68. package/dist/modules/homepage/components/Edumalin/EdumalinContainer.d.ts +4 -0
  69. package/dist/modules/homepage/components/Edumalin/EdumalinContainer.js +1 -0
  70. package/dist/modules/homepage/components/Edumalin/EdumalinModal.d.ts +8 -0
  71. package/dist/modules/homepage/components/Edumalin/EdumalinModal.js +1 -0
  72. package/dist/modules/homepage/components/Edumalin/components/EdumalinBadge.d.ts +5 -0
  73. package/dist/modules/homepage/components/Edumalin/components/EdumalinBadge.js +1 -0
  74. package/dist/modules/homepage/components/Edumalin/components/EdumalinPicture.d.ts +5 -0
  75. package/dist/modules/homepage/components/Edumalin/components/EdumalinPicture.js +1 -0
  76. package/dist/modules/homepage/components/Edumalin/index.d.ts +7 -0
  77. package/dist/modules/homepage/components/Edumalin/types.d.ts +24 -0
  78. package/dist/modules/homepage/components/Edumalin/types.js +1 -0
  79. package/dist/modules/homepage/components/Edumalin/useEdumalin.d.ts +16 -0
  80. package/dist/modules/homepage/components/Edumalin/useEdumalin.js +1 -0
  81. package/dist/modules/homepage/components/Edumalin/utils.d.ts +28 -0
  82. package/dist/modules/homepage/components/Edumalin/utils.js +1 -0
  83. package/dist/modules/homepage/components/Favorites/Favorites.js +1 -1
  84. package/dist/modules/homepage/components/GenerationHdf/GenerationHdf.d.ts +16 -0
  85. package/dist/modules/homepage/components/GenerationHdf/GenerationHdf.js +1 -0
  86. package/dist/modules/homepage/components/GenerationHdf/GenerationHdfContainer.d.ts +4 -0
  87. package/dist/modules/homepage/components/GenerationHdf/GenerationHdfContainer.js +1 -0
  88. package/dist/modules/homepage/components/GenerationHdf/formatSolde.d.ts +1 -0
  89. package/dist/modules/homepage/components/GenerationHdf/formatSolde.js +1 -0
  90. package/dist/modules/homepage/components/GenerationHdf/index.d.ts +3 -0
  91. package/dist/modules/homepage/components/GenerationHdf/useGenerationHdf.d.ts +10 -0
  92. package/dist/modules/homepage/components/GenerationHdf/useGenerationHdf.js +1 -0
  93. package/dist/modules/homepage/components/Header/Header.js +1 -1
  94. package/dist/modules/homepage/components/HomeCard/HomeCardHeader.d.ts +5 -1
  95. package/dist/modules/homepage/components/HomeCard/HomeCardHeader.js +1 -1
  96. package/dist/modules/homepage/components/LastInfos/LastInfosList.js +1 -1
  97. package/dist/modules/homepage/components/Mediacentre/Mediacentre.d.ts +13 -0
  98. package/dist/modules/homepage/components/Mediacentre/Mediacentre.js +1 -0
  99. package/dist/modules/homepage/components/Mediacentre/MediacentreContainer.d.ts +4 -0
  100. package/dist/modules/homepage/components/Mediacentre/MediacentreContainer.js +1 -0
  101. package/dist/modules/homepage/components/Mediacentre/components/MediacentreUniversalisSearch.d.ts +6 -0
  102. package/dist/modules/homepage/components/Mediacentre/components/MediacentreUniversalisSearch.js +1 -0
  103. package/dist/modules/homepage/components/Mediacentre/hooks/useMediacentre.d.ts +17 -0
  104. package/dist/modules/homepage/components/Mediacentre/hooks/useMediacentre.js +1 -0
  105. package/dist/modules/homepage/components/Mediacentre/index.d.ts +5 -0
  106. package/dist/modules/homepage/components/Mediacentre/services/mediacentreService.d.ts +24 -0
  107. package/dist/modules/homepage/components/Mediacentre/services/mediacentreService.js +1 -0
  108. package/dist/modules/homepage/components/Mediacentre/types.d.ts +8 -0
  109. package/dist/modules/homepage/components/MessageFlashList/MessageFlash.js +1 -1
  110. package/dist/modules/homepage/components/Notifications/NotificationList.js +1 -1
  111. package/dist/modules/homepage/components/Notifications/NotificationListSkeleton.js +1 -1
  112. package/dist/modules/homepage/components/Notifications/components/NotificationFilterModal.js +1 -1
  113. package/dist/modules/homepage/components/Notifications/components/ReportNotificationModal.js +1 -1
  114. package/dist/modules/homepage/components/Notifications/components/notificationAdapter.js +1 -1
  115. package/dist/modules/homepage/components/Notifications/hooks/useNotificationList.js +1 -1
  116. package/dist/modules/homepage/components/Qwant/Qwant.d.ts +5 -0
  117. package/dist/modules/homepage/components/Qwant/Qwant.js +1 -0
  118. package/dist/modules/homepage/components/Qwant/QwantContainer.d.ts +2 -0
  119. package/dist/modules/homepage/components/Qwant/QwantContainer.js +1 -0
  120. package/dist/modules/homepage/components/Qwant/index.d.ts +3 -0
  121. package/dist/modules/homepage/components/Rss/Rss.d.ts +11 -0
  122. package/dist/modules/homepage/components/Rss/Rss.js +1 -0
  123. package/dist/modules/homepage/components/Rss/RssContainer.d.ts +1 -0
  124. package/dist/modules/homepage/components/Rss/RssContainer.js +1 -0
  125. package/dist/modules/homepage/components/Rss/RssFeedForm.d.ts +13 -0
  126. package/dist/modules/homepage/components/Rss/RssFeedForm.js +1 -0
  127. package/dist/modules/homepage/components/Rss/RssFeedsModal.d.ts +11 -0
  128. package/dist/modules/homepage/components/Rss/RssFeedsModal.js +1 -0
  129. package/dist/modules/homepage/components/Rss/hooks/useRssContainer.d.ts +25 -0
  130. package/dist/modules/homepage/components/Rss/hooks/useRssContainer.js +1 -0
  131. package/dist/modules/homepage/components/Rss/index.d.ts +6 -0
  132. package/dist/modules/homepage/components/Rss/services/api/index.d.ts +5 -0
  133. package/dist/modules/homepage/components/Rss/services/api/index.js +1 -0
  134. package/dist/modules/homepage/components/Rss/services/api/rssService.d.ts +38 -0
  135. package/dist/modules/homepage/components/Rss/services/api/rssService.js +1 -0
  136. package/dist/modules/homepage/components/Rss/services/queries/rss.d.ts +28 -0
  137. package/dist/modules/homepage/components/Rss/services/queries/rss.js +1 -0
  138. package/dist/modules/homepage/components/Rss/types.d.ts +25 -0
  139. package/dist/modules/homepage/components/Rss/utils.d.ts +7 -0
  140. package/dist/modules/homepage/components/Rss/utils.js +1 -0
  141. package/dist/modules/homepage/components/SchoolSpace/SchoolSpace.js +1 -1
  142. package/dist/modules/homepage/components/SchoolSpace/SchoolSpaceContainer.js +1 -1
  143. package/dist/modules/homepage/components/ScreenTime/ScreenTime.d.ts +11 -0
  144. package/dist/modules/homepage/components/ScreenTime/ScreenTime.js +1 -0
  145. package/dist/modules/homepage/components/ScreenTime/ScreenTimeChart.d.ts +10 -0
  146. package/dist/modules/homepage/components/ScreenTime/ScreenTimeChart.js +1 -0
  147. package/dist/modules/homepage/components/ScreenTime/ScreenTimeContainer.d.ts +1 -0
  148. package/dist/modules/homepage/components/ScreenTime/ScreenTimeContainer.js +1 -0
  149. package/dist/modules/homepage/components/ScreenTime/ScreenTimeError.d.ts +5 -0
  150. package/dist/modules/homepage/components/ScreenTime/ScreenTimeError.js +1 -0
  151. package/dist/modules/homepage/components/ScreenTime/ScreenTimeModal.d.ts +22 -0
  152. package/dist/modules/homepage/components/ScreenTime/ScreenTimeModal.js +1 -0
  153. package/dist/modules/homepage/components/ScreenTime/hooks/useScreenTimeContainer.d.ts +14 -0
  154. package/dist/modules/homepage/components/ScreenTime/hooks/useScreenTimeContainer.js +1 -0
  155. package/dist/modules/homepage/components/ScreenTime/hooks/useScreenTimeKids.d.ts +6 -0
  156. package/dist/modules/homepage/components/ScreenTime/hooks/useScreenTimeKids.js +1 -0
  157. package/dist/modules/homepage/components/ScreenTime/hooks/useScreenTimeModal.d.ts +31 -0
  158. package/dist/modules/homepage/components/ScreenTime/hooks/useScreenTimeModal.js +1 -0
  159. package/dist/modules/homepage/components/ScreenTime/index.d.ts +6 -0
  160. package/dist/modules/homepage/components/ScreenTime/services/api/index.d.ts +4 -0
  161. package/dist/modules/homepage/components/ScreenTime/services/api/index.js +1 -0
  162. package/dist/modules/homepage/components/ScreenTime/services/api/screenTimeService.d.ts +28 -0
  163. package/dist/modules/homepage/components/ScreenTime/services/api/screenTimeService.js +1 -0
  164. package/dist/modules/homepage/components/ScreenTime/services/queries/screenTime.d.ts +23 -0
  165. package/dist/modules/homepage/components/ScreenTime/services/queries/screenTime.js +1 -0
  166. package/dist/modules/homepage/components/ScreenTime/types.d.ts +30 -0
  167. package/dist/modules/homepage/components/ScreenTime/utils.d.ts +50 -0
  168. package/dist/modules/homepage/components/ScreenTime/utils.js +1 -0
  169. package/dist/modules/homepage/components/TabsKids/components/TabsKids.d.ts +43 -0
  170. package/dist/modules/homepage/components/TabsKids/components/TabsKids.js +1 -0
  171. package/dist/modules/homepage/components/TabsKids/components/TabsKidsItem.d.ts +34 -0
  172. package/dist/modules/homepage/components/TabsKids/components/TabsKidsItem.js +1 -0
  173. package/dist/modules/homepage/components/TabsKids/components/TabsKidsList.d.ts +14 -0
  174. package/dist/modules/homepage/components/TabsKids/components/TabsKidsList.js +1 -0
  175. package/dist/modules/homepage/components/TabsKids/hooks/useTabsKidsOverflow.d.ts +20 -0
  176. package/dist/modules/homepage/components/TabsKids/hooks/useTabsKidsOverflow.js +1 -0
  177. package/dist/modules/homepage/components/TabsKids/index.d.ts +3 -0
  178. package/dist/modules/homepage/components/TabsKids/utils/visibleTabs.d.ts +15 -0
  179. package/dist/modules/homepage/components/TabsKids/utils/visibleTabs.js +1 -0
  180. package/dist/modules/homepage/components/Universalis/Universalis.d.ts +9 -0
  181. package/dist/modules/homepage/components/Universalis/Universalis.js +1 -0
  182. package/dist/modules/homepage/components/Universalis/UniversalisContainer.d.ts +1 -0
  183. package/dist/modules/homepage/components/Universalis/UniversalisContainer.js +1 -0
  184. package/dist/modules/homepage/components/Universalis/index.d.ts +3 -0
  185. package/dist/modules/homepage/components/UsefulLinks/LinkForm.js +1 -1
  186. package/dist/modules/homepage/components/UsefulLinks/UsefulLinks.js +1 -1
  187. package/dist/modules/homepage/components/UsefulLinks/UsefulLinksModal.js +1 -1
  188. package/dist/modules/homepage/components/UserSpace/UserSpace.d.ts +3 -1
  189. package/dist/modules/homepage/components/UserSpace/UserSpace.js +1 -1
  190. package/dist/modules/homepage/components/UserSpace/UserSpaceContainer.d.ts +4 -2
  191. package/dist/modules/homepage/components/UserSpace/UserSpaceContainer.js +1 -1
  192. package/dist/modules/homepage/components/WidgetsPersonalizationPanel/WidgetToggle.d.ts +16 -0
  193. package/dist/modules/homepage/components/WidgetsPersonalizationPanel/WidgetToggle.js +1 -0
  194. package/dist/modules/homepage/components/WidgetsPersonalizationPanel/WidgetsPersonalizationPanel.d.ts +21 -0
  195. package/dist/modules/homepage/components/WidgetsPersonalizationPanel/WidgetsPersonalizationPanel.js +1 -0
  196. package/dist/modules/homepage/components/WidgetsPersonalizationPanel/index.d.ts +2 -0
  197. package/dist/modules/homepage/components/index.d.ts +14 -2
  198. package/dist/modules/homepage/{components/SchoolSpace → hooks}/useUserSchools.d.ts +2 -2
  199. package/dist/modules/homepage/hooks/useUserSchools.js +1 -0
  200. package/dist/modules/icons/components/IconAddWidget.d.ts +7 -0
  201. package/dist/modules/icons/components/IconAddWidget.js +1 -0
  202. package/dist/modules/icons/components/index.d.ts +1 -0
  203. package/dist/modules/icons/components/nav/IconCommunitiesBeta.js +1 -1
  204. package/dist/modules/icons/components/nav/IconHomeBeta.js +1 -1
  205. package/dist/modules/icons/components/nav/IconMessagesBeta.js +1 -1
  206. package/dist/modules/icons/components/nav/IconMyAppsBeta.js +1 -1
  207. package/dist/modules/icons/components/nav/IconNotificationBeta.js +1 -1
  208. package/dist/modules/multimedia/AudioRecorder/AudioRecorder.d.ts +2 -0
  209. package/dist/modules/multimedia/AudioRecorder/AudioRecorder.js +1 -1
  210. package/dist/modules/multimedia/AudioRecorder/AudioRecorderTimer.js +1 -1
  211. package/dist/modules/multimedia/AudioRecorder/useAudioRecorder.d.ts +1 -0
  212. package/dist/modules/multimedia/AudioRecorder/useAudioRecorder.js +1 -1
  213. package/dist/modules/multimedia/VideoRecorder/VideoRecorder.d.ts +6 -0
  214. package/dist/modules/multimedia/VideoRecorder/VideoRecorder.js +1 -1
  215. package/dist/modules/multimedia/VideoRecorder/VideoRecorderToolbar.js +1 -1
  216. package/dist/modules/multimedia/VideoRecorder/useCameras.d.ts +2 -0
  217. package/dist/modules/multimedia/VideoRecorder/useCameras.js +1 -1
  218. package/dist/modules/multimedia/Workspace/Workspace.js +1 -1
  219. package/package.json +7 -6
  220. package/dist/modules/homepage/components/SchoolSpace/useUserSchools.js +0 -1
@@ -1 +1 @@
1
- import clsx$1 from"clsx";import{forwardRef,useEffect,useId,useImperativeHandle,useRef}from"react";import{jsx,jsxs}from"react/jsx-runtime";var Checkbox=forwardRef(({label,disabled=!1,checked=!1,indeterminate=!1,...restProps},ref)=>{let refCheckbox=useRef(null);useImperativeHandle(ref,()=>({...refCheckbox.current})),useEffect(()=>{refCheckbox.current.indeterminate=indeterminate},[refCheckbox,indeterminate]);let id=useId(),checkboxProps={type:`checkbox`,checked,disabled,ref:refCheckbox,className:clsx$1(restProps.className,`form-check-input c-pointer`),id},inputProps={...restProps,...checkboxProps};return jsxs(`div`,{className:`form-check d-flex align-items-center gap-8`,children:[jsx(`input`,{...inputProps}),label&&jsx(`label`,{className:`form-check-label`,htmlFor:inputProps.id,children:label})]})});export{Checkbox as default};
1
+ import clsx$1 from"clsx";import{forwardRef,useEffect,useId,useImperativeHandle,useRef}from"react";import{jsx,jsxs}from"react/jsx-runtime";var Checkbox=forwardRef(({label,disabled=!1,checked=!1,indeterminate=!1,...restProps},ref)=>{let refCheckbox=useRef(null);useImperativeHandle(ref,()=>({...refCheckbox.current})),useEffect(()=>{refCheckbox.current.indeterminate=indeterminate},[refCheckbox,indeterminate]);let id=useId(),checkboxProps={type:`checkbox`,checked,disabled,ref:refCheckbox,className:clsx$1(restProps.className,`form-check-input`),id},inputProps={...restProps,...checkboxProps};return jsxs(`div`,{className:`form-check d-flex align-items-center gap-8`,children:[jsx(`input`,{...inputProps}),label&&jsx(`label`,{className:`form-check-label`,htmlFor:inputProps.id,children:label})]})});export{Checkbox as default};
@@ -1,6 +1,7 @@
1
1
  import { ReactNode } from 'react';
2
2
  import { Placement } from '@floating-ui/react';
3
3
  import { default as DropdownCheckboxItem } from './DropdownCheckboxItem';
4
+ import { DropdownVirtualizedMenu } from './DropdownVirtualizedMenu';
4
5
  export interface DropdownApi {
5
6
  visible: boolean;
6
7
  isFocused: string | null;
@@ -80,7 +81,7 @@ export type DropdownMenuOptions = {
80
81
  declare const Dropdown: import('react').ForwardRefExoticComponent<DropdownProps & import('react').RefAttributes<DropdownApi>> & {
81
82
  Trigger: import('react').ForwardRefExoticComponent<Omit<import('./DropdownTrigger').DropdownTriggerProps, "ref"> & import('react').RefAttributes<HTMLButtonElement>>;
82
83
  Menu: import('react').ForwardRefExoticComponent<Omit<import('./DropdownMenu').DropdownMenuProps, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
83
- VirtualizedMenu: any;
84
+ VirtualizedMenu: typeof DropdownVirtualizedMenu;
84
85
  Item: {
85
86
  ({ type, icon, onClick, children, className, minWidth, disabled, searchValue, ...restProps }: import('./DropdownItem').DropdownItemProps): import("react/jsx-runtime").JSX.Element;
86
87
  displayName: string;
@@ -1 +1 @@
1
- import useClickOutside from"../../hooks/useClickOutside/useClickOutside.js";import useDropdown from"../../hooks/useDropdown/useDropdown.js";import{DropdownContext}from"./DropdownContext.js";import DropdownCheckboxItem from"./DropdownCheckboxItem.js";import DropdownItem from"./DropdownItem.js";import DropdownMenu from"./DropdownMenu.js";import{useMatchRegistry}from"./useMatchRegistry.js";import DropdownMenuGroup from"./DropdownMenuGroup.js";import DropdownRadioItem from"./DropdownRadioItem.js";import DropdownSearchInput from"./DropdownSearchInput.js";import DropdownSeparator from"./DropdownSeparator.js";import DropdownTrigger from"./DropdownTrigger.js";import clsx$1 from"clsx";import{forwardRef,useCallback,useEffect,useImperativeHandle,useMemo,useState}from"react";import{jsx}from"react/jsx-runtime";var Root=forwardRef(({children,block,overflow=!0,noWrap,placement=`bottom-start`,extraTriggerKeyDownHandler,onToggle,isTriggerHovered=!1,focusOnVisible=!0,openOnSpace=!0,focusOnMouseEnter=!0},refDropdown)=>{let[searchQuery,setSearchQuery]=useState(``),[hasSearchInput,setHasSearchInput]=useState(!1),{hasMatches,reportMatch,unregisterMatch}=useMatchRegistry(),{visible,isFocused,triggerProps,menuProps,itemProps,itemRefs,setVisible,menuRef,triggerRef,searchInputRef,closeDropdown,openDropdown}=useDropdown(placement,extraTriggerKeyDownHandler,isTriggerHovered,focusOnVisible,openOnSpace,focusOnMouseEnter);useImperativeHandle(refDropdown,()=>({visible,setVisible,isFocused,menuRef,triggerRef,closeDropdown,openDropdown}));let ref=useClickOutside(()=>{setVisible(!1)}),[rootElement,setRootElement]=useState(null),rootRef=useCallback(node=>{ref.current=node,setRootElement(node)},[ref]),value=useMemo(()=>({visible,isFocused,triggerProps,menuProps,itemProps,itemRefs,searchInputRef,block,setVisible,openDropdown,closeDropdown,searchQuery,setSearchQuery,hasSearchInput,setHasSearchInput,rootElement,hasMatches,reportMatch,unregisterMatch}),[visible,isFocused,triggerProps,menuProps,itemProps,itemRefs,searchInputRef,block,setVisible,openDropdown,closeDropdown,searchQuery,hasSearchInput,rootElement,hasMatches,reportMatch,unregisterMatch]),dropdown=clsx$1(`dropdown`,{"w-100":block,"dropdown-nowrap":noWrap,overflow,"dropdown-searching":hasSearchInput});return useEffect(()=>{onToggle?.(visible),visible||setSearchQuery(``)},[visible]),jsx(DropdownContext.Provider,{value,children:jsx(`div`,{ref:rootRef,className:dropdown,children:typeof children==`function`?children(triggerProps,itemRefs,setVisible):children})})}),Dropdown=Object.assign(Root,{Trigger:DropdownTrigger,Menu:DropdownMenu,VirtualizedMenu:DropdownVirtualizedMenu,Item:DropdownItem,Separator:DropdownSeparator,CheckboxItem:DropdownCheckboxItem,RadioItem:DropdownRadioItem,MenuGroup:DropdownMenuGroup,SearchInput:DropdownSearchInput});export{Dropdown as default};
1
+ import useClickOutside from"../../hooks/useClickOutside/useClickOutside.js";import useDropdown from"../../hooks/useDropdown/useDropdown.js";import{DropdownContext}from"./DropdownContext.js";import DropdownCheckboxItem from"./DropdownCheckboxItem.js";import DropdownItem from"./DropdownItem.js";import DropdownMenu from"./DropdownMenu.js";import{useMatchRegistry}from"./useMatchRegistry.js";import DropdownMenuGroup from"./DropdownMenuGroup.js";import DropdownRadioItem from"./DropdownRadioItem.js";import DropdownSearchInput from"./DropdownSearchInput.js";import DropdownSeparator from"./DropdownSeparator.js";import DropdownTrigger from"./DropdownTrigger.js";import{DropdownVirtualizedMenu}from"./DropdownVirtualizedMenu.js";import clsx$1 from"clsx";import{forwardRef,useCallback,useEffect,useImperativeHandle,useMemo,useState}from"react";import{jsx}from"react/jsx-runtime";var Root=forwardRef(({children,block,overflow=!0,noWrap,placement=`bottom-start`,extraTriggerKeyDownHandler,onToggle,isTriggerHovered=!1,focusOnVisible=!0,openOnSpace=!0,focusOnMouseEnter=!0},refDropdown)=>{let[searchQuery,setSearchQuery]=useState(``),[hasSearchInput,setHasSearchInput]=useState(!1),{hasMatches,reportMatch,unregisterMatch}=useMatchRegistry(),{visible,isFocused,triggerProps,menuProps,itemProps,itemRefs,setVisible,menuRef,triggerRef,searchInputRef,closeDropdown,openDropdown}=useDropdown(placement,extraTriggerKeyDownHandler,isTriggerHovered,focusOnVisible,openOnSpace,focusOnMouseEnter);useImperativeHandle(refDropdown,()=>({visible,setVisible,isFocused,menuRef,triggerRef,closeDropdown,openDropdown}));let ref=useClickOutside(()=>{setVisible(!1)}),[rootElement,setRootElement]=useState(null),rootRef=useCallback(node=>{ref.current=node,setRootElement(node)},[ref]),value=useMemo(()=>({visible,isFocused,triggerProps,menuProps,itemProps,itemRefs,searchInputRef,block,setVisible,openDropdown,closeDropdown,searchQuery,setSearchQuery,hasSearchInput,setHasSearchInput,rootElement,hasMatches,reportMatch,unregisterMatch}),[visible,isFocused,triggerProps,menuProps,itemProps,itemRefs,searchInputRef,block,setVisible,openDropdown,closeDropdown,searchQuery,hasSearchInput,rootElement,hasMatches,reportMatch,unregisterMatch]),dropdown=clsx$1(`dropdown`,{"w-100":block,"dropdown-nowrap":noWrap,overflow,"dropdown-searching":hasSearchInput});return useEffect(()=>{onToggle?.(visible),visible||setSearchQuery(``)},[visible]),jsx(DropdownContext.Provider,{value,children:jsx(`div`,{ref:rootRef,className:dropdown,children:typeof children==`function`?children(triggerProps,itemRefs,setVisible):children})})}),Dropdown=Object.assign(Root,{Trigger:DropdownTrigger,Menu:DropdownMenu,VirtualizedMenu:DropdownVirtualizedMenu,Item:DropdownItem,Separator:DropdownSeparator,CheckboxItem:DropdownCheckboxItem,RadioItem:DropdownRadioItem,MenuGroup:DropdownMenuGroup,SearchInput:DropdownSearchInput});export{Dropdown as default};
@@ -1 +1 @@
1
- import{useEdificeTheme}from"../../providers/EdificeThemeProvider/EdificeThemeProvider.hook.js";import useUiOverride from"../../hooks/useUiOverride/useUiOverride.js";import useBackground_default from"../../hooks/useBackground/useBackground.js";import useCantoo from"../../hooks/useCantoo/useCantoo.js";import ButtonBeta from"../ButtonBeta/ButtonBeta.js";import Alert from"../Alert/Alert.js";import useToast from"../../hooks/useToast/useToast.js";import useZendeskGuide from"../../hooks/useZendeskGuide/useZendeskGuide.js";import useCookiesConsent from"../../hooks/useCookiesConsent/useCookiesConsent.js";import{useOverlay}from"../PageLayout/hook/useOverlay.js";import Header from"./components/Header.js";import HeaderNotificationsOverlay from"./components/HeaderNotificationsOverlay.js";import clsx$1 from"clsx";import{Suspense,lazy}from"react";import{jsx,jsxs}from"react/jsx-runtime";import{useTranslation}from"react-i18next";var HeaderV2=lazy(()=>import(`../../modules/homepage/components/Header/Header.js`)),Layout=({children,headless=!1,whiteBg=!0,className,...restProps})=>{let{theme}=useEdificeTheme(),override=useUiOverride(`layout.header`),isHeaderV2=override?.variant===`v2`,{productOverride,background,isBackgroundImageOverridden,betaEnabled}=useBackground_default(),{toggleOverlay}=useOverlay(),toast=useToast(),{t}=useTranslation(),{showCookiesConsent,handleConsultCookies,handleCloseCookiesConsent}=useCookiesConsent();useZendeskGuide(),useCantoo();let classes=clsx$1(`d-flex flex-column`,{"bg-white":whiteBg,"container-fluid":!headless,"rounded-4 border":theme?.is1d&&!headless,"mt-24":theme?.is1d&&!headless},className),renderHeader=headless?null:isHeaderV2?jsx(Suspense,{fallback:null,children:jsx(HeaderV2,{src:theme?.basePath,dataProduct:override?.theme,onNotificationsClick:toggleOverlay})}):jsx(Header,{is1d:theme?.is1d,src:theme?.basePath}),renderNotificationsOverlay=!headless&&isHeaderV2&&jsx(HeaderNotificationsOverlay,{}),renderCookies=showCookiesConsent&&jsx(Alert,{type:`info`,className:`m-12 rgpd`,isConfirm:!0,position:`bottom-right`,button:jsx(ButtonBeta,{variant:`outline`,onClick:handleConsultCookies,children:t(`rgpd.cookies.banner.button.consult`)}),onClose:handleCloseCookiesConsent,children:t(`rgpd.cookies.banner.text1`)}),renderToaster=toast.renderToaster();return jsxs(`div`,{"data-product":productOverride,"data-background":theme?.is1d||!betaEnabled?void 0:background,className:clsx$1(`layout`,{"layout-has-background-image":isBackgroundImageOverridden}),children:[renderHeader,renderNotificationsOverlay,jsx(`main`,{className:classes,...restProps,children}),renderToaster,renderCookies]})};export{Layout as default};
1
+ import{useEdificeTheme}from"../../providers/EdificeThemeProvider/EdificeThemeProvider.hook.js";import useUiOverride from"../../hooks/useUiOverride/useUiOverride.js";import useBackground_default from"../../hooks/useBackground/useBackground.js";import useCantoo from"../../hooks/useCantoo/useCantoo.js";import ButtonBeta from"../ButtonBeta/ButtonBeta.js";import Alert from"../Alert/Alert.js";import useToast from"../../hooks/useToast/useToast.js";import useZendeskGuide from"../../hooks/useZendeskGuide/useZendeskGuide.js";import useCookiesConsent from"../../hooks/useCookiesConsent/useCookiesConsent.js";import HelpZone from"../../modules/HelpZone/HelpZone.js";import{useOverlay}from"../PageLayout/hook/useOverlay.js";import Header from"./components/Header.js";import HeaderNotificationsOverlay from"./components/HeaderNotificationsOverlay.js";import clsx$1 from"clsx";import{Suspense,lazy}from"react";import{jsx,jsxs}from"react/jsx-runtime";import{useTranslation}from"react-i18next";var HeaderV2=lazy(()=>import(`../../modules/homepage/components/Header/Header.js`)),Layout=({children,headless=!1,whiteBg=!0,className,...restProps})=>{let{theme}=useEdificeTheme(),override=useUiOverride(`layout.header`),isHeaderV2=override?.variant===`v2`,isEdificeInProductHelp=useUiOverride(`layout.helpzone`)?.variant===`edifice-in-product`,{productOverride,background,isBackgroundImageOverridden,betaEnabled}=useBackground_default(),{toggleOverlay}=useOverlay(),toast=useToast(),{t}=useTranslation(),{showCookiesConsent,handleConsultCookies,handleCloseCookiesConsent}=useCookiesConsent(),{isReady:isHelpZoneReady,isOpen:isHelpZoneOpen,open:openHelpZone,close:closeHelpZone}=useZendeskGuide();useCantoo();let classes=clsx$1(`d-flex flex-column`,{"bg-white":whiteBg,"container-fluid":!headless,"rounded-4 border":theme?.is1d&&!headless,"mt-24":theme?.is1d&&!headless},className),renderHeader=headless?null:isHeaderV2?jsx(Suspense,{fallback:null,children:jsx(HeaderV2,{src:theme?.basePath,dataProduct:override?.theme,onNotificationsClick:toggleOverlay})}):jsx(Header,{is1d:theme?.is1d,src:theme?.basePath}),renderNotificationsOverlay=!headless&&isHeaderV2&&jsx(HeaderNotificationsOverlay,{}),renderCookies=showCookiesConsent&&jsx(Alert,{type:`info`,className:`m-12 rgpd`,isConfirm:!0,position:`bottom-right`,button:jsx(ButtonBeta,{variant:`outline`,onClick:handleConsultCookies,children:t(`rgpd.cookies.banner.button.consult`)}),onClose:handleCloseCookiesConsent,children:t(`rgpd.cookies.banner.text1`)}),renderToaster=toast.renderToaster();return jsxs(`div`,{"data-product":productOverride,"data-background":theme?.is1d||!betaEnabled?void 0:background,className:clsx$1(`layout`,{"layout-has-background-image":isBackgroundImageOverridden}),children:[renderHeader,renderNotificationsOverlay,jsx(`main`,{className:classes,...restProps,children}),renderToaster,renderCookies,isEdificeInProductHelp&&jsx(HelpZone,{isReady:isHelpZoneReady,isOpen:isHelpZoneOpen,onOpen:openHelpZone,onClose:closeHelpZone})]})};export{Layout as default};
@@ -0,0 +1,40 @@
1
+ import { HTMLAttributes, ReactNode } from 'react';
2
+ export interface MasonryItemProps {
3
+ /**
4
+ * Number of columns the item spans (capped to the number of columns).
5
+ * @default 1
6
+ */
7
+ span?: number;
8
+ children: ReactNode;
9
+ }
10
+ export interface MasonryProps extends HTMLAttributes<HTMLDivElement> {
11
+ /**
12
+ * Items to lay out. Each child is one masonry item, in reading order.
13
+ */
14
+ children: ReactNode;
15
+ /**
16
+ * Number of columns. Each column takes an equal share of the available
17
+ * width, gap excluded.
18
+ * @default 2
19
+ */
20
+ columns?: number;
21
+ /**
22
+ * Gap between columns and between items, as a spacing token (e.g. `16`).
23
+ * @default '16'
24
+ */
25
+ gap?: string;
26
+ /**
27
+ * Optional class for styling purpose
28
+ */
29
+ className?: string;
30
+ }
31
+ export declare const Masonry: {
32
+ ({ children, columns, gap, className, style, ...restProps }: MasonryProps): import("react/jsx-runtime").JSX.Element;
33
+ displayName: string;
34
+ } & {
35
+ Item: {
36
+ ({ children }: MasonryItemProps): import("react/jsx-runtime").JSX.Element;
37
+ displayName: string;
38
+ };
39
+ };
40
+ export default Masonry;
@@ -0,0 +1 @@
1
+ import clsx$1 from"clsx";import{Children,isValidElement,useCallback,useLayoutEffect,useRef,useState}from"react";import{Fragment as Fragment$1,jsx}from"react/jsx-runtime";var MasonryItem=({children})=>jsx(Fragment$1,{children}),Masonry=Object.assign(({children,columns=2,gap=`16`,className,style,...restProps})=>{let columnCount=Math.max(1,Math.floor(columns)),gridRef=useRef(null),itemRefs=useRef(new Map),[spans,setSpans]=useState({}),items=Children.toArray(children),measure=useCallback(()=>{let grid=gridRef.current;if(!grid)return;let rowGap=parseFloat(getComputedStyle(grid).columnGap)||0,next={};itemRefs.current.forEach((el,key)=>{next[key]=Math.ceil(el.getBoundingClientRect().height+rowGap)}),setSpans(prev=>{let keys=Object.keys(next);return keys.length===Object.keys(prev).length&&keys.every(key=>prev[key]===next[key])?prev:next})},[]);return useLayoutEffect(()=>{if(measure(),typeof ResizeObserver>`u`)return;let observer=new ResizeObserver(measure);return gridRef.current&&observer.observe(gridRef.current),itemRefs.current.forEach(el=>observer.observe(el)),()=>observer.disconnect()},[measure,columnCount,items.length]),jsx(`div`,{ref:gridRef,className:clsx$1(`masonry`,`column-gap-${gap}`,className),style:{display:`grid`,gridTemplateColumns:`repeat(${columnCount}, minmax(0, 1fr))`,gridAutoRows:`1px`,alignItems:`start`,...style},...restProps,children:items.map((item,index)=>{let key=String(item.key??index),span=isValidElement(item)&&item.type===MasonryItem?Math.min(Math.max(1,Math.floor(item.props.span??1)),columnCount):1;return jsx(`div`,{ref:el=>{el?itemRefs.current.set(key,el):itemRefs.current.delete(key)},className:`masonry__item`,"data-testid":`masonry-item-${index}`,style:{gridColumn:`span ${span}`,gridRowEnd:`span ${spans[key]??1}`},children:item},key)})})},{Item:MasonryItem});export{Masonry as default};
@@ -0,0 +1,2 @@
1
+ export { default as Masonry } from './Masonry';
2
+ export * from './Masonry';
@@ -1 +1 @@
1
- import SvgIconClose from"../../modules/icons/components/IconClose.js";import SvgIconSearch from"../../modules/icons/components/IconSearch.js";import SearchButton from"../Button/SearchButton.js";import FormControl from"../Form/FormControl.js";import clsx$1 from"clsx";import{jsx,jsxs}from"react/jsx-runtime";import{useTranslation}from"react-i18next";var SearchBar=({isVariant=!1,size=`md`,placeholder=`search`,className,disabled,buttonDisabled,onChange,onClick,value,clearable=!1,...restProps})=>{let{t}=useTranslation(),searchbar=clsx$1(className,{"input-group":!isVariant,"position-relative":isVariant}),input=clsx$1({"border-end-0":!isVariant,"ps-48":isVariant,"searchbar-hide-native-clear":isVariant&&clearable}),handleClick=()=>{onClick?.()},handleKeyDown=e=>{e.key===`Enter`&&(e.preventDefault(),handleClick())},handleClear=()=>{onChange?.({target:{value:``}})};return jsxs(FormControl,{id:`search-bar`,className:searchbar,children:[isVariant&&jsx(`div`,{className:`position-absolute z-1 top-50 start-0 translate-middle-y border-0 ps-12 bg-transparent`,children:jsx(SvgIconSearch,{})}),jsx(FormControl.Input,{type:`search`,placeholder:t(placeholder),size,noValidationIcon:!0,className:input,onChange,value,disabled,onKeyDown:handleKeyDown,...restProps}),isVariant&&clearable&&value&&onChange&&jsx(`button`,{type:`button`,onClick:handleClear,className:`position-absolute end-0 top-50 translate-middle-y pe-12 bg-transparent border-0`,"aria-label":t(`clear`),children:jsx(SvgIconClose,{className:`color-gray`,style:{width:12,height:12}})}),!isVariant&&jsx(SearchButton,{type:`submit`,"aria-label":t(`search`),icon:jsx(SvgIconSearch,{}),className:`border-start-0`,onClick:handleClick,disabled:buttonDisabled})]})};export{SearchBar as default};
1
+ import SvgIconSearch from"../../modules/icons/components/IconSearch.js";import ButtonBeta from"../ButtonBeta/ButtonBeta.js";import FormControl from"../Form/FormControl.js";import clsx$1 from"clsx";import{useRef,useState}from"react";import{jsx,jsxs}from"react/jsx-runtime";import{useTranslation}from"react-i18next";var SearchBar=({isVariant=!1,size=`md`,placeholder=`search`,className,disabled,buttonDisabled,onChange,onClick,value,clearable=!0,...restProps})=>{let{t}=useTranslation(),handleClick=()=>{onClick?.()},handleKeyDown=e=>{e.key===`Enter`&&(e.preventDefault(),handleClick())},inputRef=useRef(null),isControlled=value!==void 0,[hasUncontrolledText,setHasUncontrolledText]=useState(!!restProps.defaultValue?.toString()),hasText=isControlled?!!value:hasUncontrolledText,[isFocused,setIsFocused]=useState(!1),handleBlur=e=>{e.currentTarget.contains(e.relatedTarget)||setIsFocused(!1)},handleMouseDown=e=>{e.target.closest(`button`)&&e.preventDefault()},isActive=isFocused||hasText;return jsxs(FormControl,{id:`search-bar`,className:clsx$1(`searchbar`,`searchbar--${size}`,{"searchbar--active":isActive},className),onFocus:()=>setIsFocused(!0),onBlur:handleBlur,onMouseDown:handleMouseDown,children:[isVariant&&jsx(`div`,{className:`searchbar__icon`,children:jsx(SvgIconSearch,{width:20,height:20})}),jsx(FormControl.Input,{ref:inputRef,type:`search`,placeholder:t(placeholder),size,className:`searchbar__input`,onChange:e=>{isControlled||setHasUncontrolledText(!!e.target.value),onChange?.(e)},value,disabled,onKeyDown:handleKeyDown,clearable:clearable&&!disabled,...restProps}),!isVariant&&jsx(ButtonBeta,{type:`submit`,className:`btn-search`,"aria-label":t(`search`),leftIcon:jsx(SvgIconSearch,{}),onClick:handleClick,disabled:buttonDisabled||disabled})]})};export{SearchBar as default};
@@ -34,6 +34,7 @@ export * from './Loading';
34
34
  export * from './LoadingScreen';
35
35
  export * from './Logo';
36
36
  export * from './LogoBeta';
37
+ export * from './Masonry';
37
38
  export * from './MediaViewer';
38
39
  export * from './Menu';
39
40
  export * from './Modal';
package/dist/homepage.js CHANGED
@@ -1 +1 @@
1
- import NotificationItem from"./modules/homepage/components/Notifications/NotificationItem.js";import NotificationList from"./modules/homepage/components/Notifications/NotificationList.js";import NotificationListContainer from"./modules/homepage/components/Notifications/NotificationListContainer.js";import Header from"./modules/homepage/components/Header/Header.js";import HomeCard from"./modules/homepage/components/HomeCard/HomeCard.js";import{Favorites}from"./modules/homepage/components/Favorites/Favorites.js";import{FavoritesContainer}from"./modules/homepage/components/Favorites/FavoritesContainer.js";import LastInfos from"./modules/homepage/components/LastInfos/LastInfos.js";import{LastInfosList}from"./modules/homepage/components/LastInfos/LastInfosList.js";import{LastInfosContainer}from"./modules/homepage/components/LastInfos/LastInfosContainer.js";import MessageFlash from"./modules/homepage/components/MessageFlashList/MessageFlash.js";import MessageFlashList from"./modules/homepage/components/MessageFlashList/MessageFlashList.js";import MessageFlashListContainer from"./modules/homepage/components/MessageFlashList/MessageFlashListContainer.js";import SchoolSpace from"./modules/homepage/components/SchoolSpace/SchoolSpace.js";import{SchoolSpaceContainer}from"./modules/homepage/components/SchoolSpace/SchoolSpaceContainer.js";import{LinkForm}from"./modules/homepage/components/UsefulLinks/LinkForm.js";import{UsefulLinks}from"./modules/homepage/components/UsefulLinks/UsefulLinks.js";import{MAX_USEFUL_LINKS,useUsefulLinksContainer}from"./modules/homepage/components/UsefulLinks/hooks/useUsefulLinksContainer.js";import{UsefulLinksModal}from"./modules/homepage/components/UsefulLinks/UsefulLinksModal.js";import{UsefulLinksContainer}from"./modules/homepage/components/UsefulLinks/UsefulLinksContainer.js";import UserSpace from"./modules/homepage/components/UserSpace/UserSpace.js";import{UserSpaceContainer}from"./modules/homepage/components/UserSpace/UserSpaceContainer.js";import CommunityItem from"./modules/homepage/components/Communities/CommunityItem.js";import Communities from"./modules/homepage/components/Communities/Communities.js";import CommunitiesSkeleton from"./modules/homepage/components/Communities/CommunitiesSkeleton.js";import{COMMUNITIES_PREVIEW_SIZE,useCommunities}from"./modules/homepage/components/Communities/useCommunities.js";import{CommunitiesContainer}from"./modules/homepage/components/Communities/CommunitiesContainer.js";import AlloRegion from"./modules/homepage/components/AlloRegion/AlloRegion.js";import{AlloRegionContainer}from"./modules/homepage/components/AlloRegion/AlloRegionContainer.js";export{AlloRegion,AlloRegionContainer,COMMUNITIES_PREVIEW_SIZE,Communities,CommunitiesContainer,CommunityItem as CommunitiesItem,CommunitiesSkeleton,Favorites,FavoritesContainer,Header,HomeCard,LastInfos,LastInfosContainer,LastInfosList,LinkForm,MAX_USEFUL_LINKS,MessageFlash,MessageFlashList,MessageFlashListContainer,NotificationItem,NotificationList,NotificationListContainer,SchoolSpace,SchoolSpaceContainer,UsefulLinks,UsefulLinksContainer,UsefulLinksModal,UserSpace,UserSpaceContainer,useCommunities,useUsefulLinksContainer};
1
+ import NotificationItem from"./modules/homepage/components/Notifications/NotificationItem.js";import NotificationList from"./modules/homepage/components/Notifications/NotificationList.js";import NotificationListContainer from"./modules/homepage/components/Notifications/NotificationListContainer.js";import Header from"./modules/homepage/components/Header/Header.js";import HomeCard from"./modules/homepage/components/HomeCard/HomeCard.js";import{AgendaEventCard}from"./modules/homepage/components/Agenda/AgendaEventCard.js";import{Agenda}from"./modules/homepage/components/Agenda/Agenda.js";import{AgendaContainer}from"./modules/homepage/components/Agenda/AgendaContainer.js";import AlloRegion from"./modules/homepage/components/AlloRegion/AlloRegion.js";import{AlloRegionContainer}from"./modules/homepage/components/AlloRegion/AlloRegionContainer.js";import CommunityItem from"./modules/homepage/components/Communities/CommunityItem.js";import Communities from"./modules/homepage/components/Communities/Communities.js";import CommunitiesSkeleton from"./modules/homepage/components/Communities/CommunitiesSkeleton.js";import{COMMUNITIES_PREVIEW_SIZE,useCommunities}from"./modules/homepage/components/Communities/useCommunities.js";import{CommunitiesContainer}from"./modules/homepage/components/Communities/CommunitiesContainer.js";import BriefMe from"./modules/homepage/components/BriefMe/BriefMe.js";import{briefMeQueryOptions,buildGarLink,useBriefMe}from"./modules/homepage/components/BriefMe/useBriefMe.js";import{BriefMeContainer}from"./modules/homepage/components/BriefMe/BriefMeContainer.js";import Cantine from"./modules/homepage/components/Cantine/Cantine.js";import CantineModal from"./modules/homepage/components/Cantine/CantineModal.js";import{CantineModalContainer}from"./modules/homepage/components/Cantine/CantineModalContainer.js";import{CantineContainer}from"./modules/homepage/components/Cantine/CantineContainer.js";import Edumalin from"./modules/homepage/components/Edumalin/Edumalin.js";import EdumalinModal from"./modules/homepage/components/Edumalin/EdumalinModal.js";import{edumalinQueryOptions,useEdumalin}from"./modules/homepage/components/Edumalin/useEdumalin.js";import{EdumalinContainer}from"./modules/homepage/components/Edumalin/EdumalinContainer.js";import{EDUMALIN_TYPES}from"./modules/homepage/components/Edumalin/types.js";import{Favorites}from"./modules/homepage/components/Favorites/Favorites.js";import{FavoritesContainer}from"./modules/homepage/components/Favorites/FavoritesContainer.js";import GenerationHdf from"./modules/homepage/components/GenerationHdf/GenerationHdf.js";import{GenerationHdfContainer}from"./modules/homepage/components/GenerationHdf/GenerationHdfContainer.js";import LastInfos from"./modules/homepage/components/LastInfos/LastInfos.js";import{LastInfosList}from"./modules/homepage/components/LastInfos/LastInfosList.js";import{LastInfosContainer}from"./modules/homepage/components/LastInfos/LastInfosContainer.js";import Mediacentre,{MAX_DISPLAYED_RESOURCES}from"./modules/homepage/components/Mediacentre/Mediacentre.js";import{mediacentreQueryKeys,mediacentreQueryOptions,useMediacentre}from"./modules/homepage/components/Mediacentre/hooks/useMediacentre.js";import{MediacentreContainer}from"./modules/homepage/components/Mediacentre/MediacentreContainer.js";import MessageFlash from"./modules/homepage/components/MessageFlashList/MessageFlash.js";import MessageFlashList from"./modules/homepage/components/MessageFlashList/MessageFlashList.js";import MessageFlashListContainer from"./modules/homepage/components/MessageFlashList/MessageFlashListContainer.js";import Qwant from"./modules/homepage/components/Qwant/Qwant.js";import{QWANT_URL,QwantContainer}from"./modules/homepage/components/Qwant/QwantContainer.js";import{Rss}from"./modules/homepage/components/Rss/Rss.js";import{MAX_RSS_ARTICLES,MAX_RSS_FEEDS,useRssContainer}from"./modules/homepage/components/Rss/hooks/useRssContainer.js";import{RssFeedForm}from"./modules/homepage/components/Rss/RssFeedForm.js";import{RssFeedsModal}from"./modules/homepage/components/Rss/RssFeedsModal.js";import{RssContainer}from"./modules/homepage/components/Rss/RssContainer.js";import SchoolSpace from"./modules/homepage/components/SchoolSpace/SchoolSpace.js";import{SchoolSpaceContainer}from"./modules/homepage/components/SchoolSpace/SchoolSpaceContainer.js";import TabsKids from"./modules/homepage/components/TabsKids/components/TabsKids.js";import{ScreenTime}from"./modules/homepage/components/ScreenTime/ScreenTime.js";import{useScreenTimeContainer}from"./modules/homepage/components/ScreenTime/hooks/useScreenTimeContainer.js";import{useScreenTimeModal}from"./modules/homepage/components/ScreenTime/hooks/useScreenTimeModal.js";import{ScreenTimeModal}from"./modules/homepage/components/ScreenTime/ScreenTimeModal.js";import{ScreenTimeContainer}from"./modules/homepage/components/ScreenTime/ScreenTimeContainer.js";import{LinkForm}from"./modules/homepage/components/UsefulLinks/LinkForm.js";import{UsefulLinks}from"./modules/homepage/components/UsefulLinks/UsefulLinks.js";import{MAX_USEFUL_LINKS,useUsefulLinksContainer}from"./modules/homepage/components/UsefulLinks/hooks/useUsefulLinksContainer.js";import{UsefulLinksModal}from"./modules/homepage/components/UsefulLinks/UsefulLinksModal.js";import{UsefulLinksContainer}from"./modules/homepage/components/UsefulLinks/UsefulLinksContainer.js";import Universalis from"./modules/homepage/components/Universalis/Universalis.js";import{UniversalisContainer}from"./modules/homepage/components/Universalis/UniversalisContainer.js";import UserSpace from"./modules/homepage/components/UserSpace/UserSpace.js";import{UserSpaceContainer}from"./modules/homepage/components/UserSpace/UserSpaceContainer.js";import{WidgetToggle}from"./modules/homepage/components/WidgetsPersonalizationPanel/WidgetToggle.js";import{WidgetsPersonalizationPanel}from"./modules/homepage/components/WidgetsPersonalizationPanel/WidgetsPersonalizationPanel.js";export{Agenda,AgendaContainer,AgendaEventCard,AlloRegion,AlloRegionContainer,BriefMe,BriefMeContainer,COMMUNITIES_PREVIEW_SIZE,Cantine,CantineContainer,CantineModal,CantineModalContainer,Communities,CommunitiesContainer,CommunityItem as CommunitiesItem,CommunitiesSkeleton,EDUMALIN_TYPES,Edumalin,EdumalinContainer,EdumalinModal,Favorites,FavoritesContainer,GenerationHdf,GenerationHdfContainer,Header,HomeCard,LastInfos,LastInfosContainer,LastInfosList,LinkForm,MAX_DISPLAYED_RESOURCES,MAX_RSS_ARTICLES,MAX_RSS_FEEDS,MAX_USEFUL_LINKS,Mediacentre,MediacentreContainer,MessageFlash,MessageFlashList,MessageFlashListContainer,NotificationItem,NotificationList,NotificationListContainer,QWANT_URL,Qwant,QwantContainer,Rss,RssContainer,RssFeedForm,RssFeedsModal,SchoolSpace,SchoolSpaceContainer,ScreenTime,ScreenTimeContainer,ScreenTimeModal,TabsKids,Universalis,UniversalisContainer,UsefulLinks,UsefulLinksContainer,UsefulLinksModal,UserSpace,UserSpaceContainer,WidgetToggle,WidgetsPersonalizationPanel,briefMeQueryOptions,buildGarLink,edumalinQueryOptions,mediacentreQueryKeys,mediacentreQueryOptions,useBriefMe,useCommunities,useEdumalin,useMediacentre,useRssContainer,useScreenTimeContainer,useScreenTimeModal,useUsefulLinksContainer};
@@ -1 +1 @@
1
- import useBrowserInfo from"../useBrowserInfo/useBrowserInfo.js";import useWorkspaceFile from"../useWorkspaceFile/useWorkspaceFile.js";import{getOrGenerateBlobId}from"@edifice.io/utilities";import{useCallback,useState}from"react";import{useTranslation}from"react-i18next";import{ERROR_CODE,odeServices}from"@edifice.io/client";var useUpload=(visibility,application=`media-library`)=>{let[status,setStatus]=useState({}),{browser,device}=useBrowserInfo(navigator.userAgent),{create}=useWorkspaceFile(),{t}=useTranslation(),getUploadStatus=useCallback(upload=>status[getOrGenerateBlobId(upload)],[status]),setUploadStatus=(blob,status)=>{setStatus(prevStatus=>{let key=getOrGenerateBlobId(blob);return{...prevStatus,[key]:status}})},clearUploadStatus=blob=>{setStatus(prevStatus=>{let key=getOrGenerateBlobId(blob),{[key]:unused,...rest}=prevStatus;return rest})},getDefaultDate=()=>{let d=new Date;return`${d.getFullYear()}-${String(d.getMonth()+1).padStart(2,`0`)}-${String(d.getDate()).padStart(2,`0`)} ${String(d.getHours()).padStart(2,`0`)}h${String(d.getMinutes()).padStart(2,`0`)} `+t(`bbm.video.recorder.defaultName`)};async function uploadFile(file,metadata){setUploadStatus(file,`loading`);try{let resource;return resource=application===`media-library`&&file.type.includes(`video`)?await uploadVideo(file,{filename:file.name,...metadata}):await create(file,{application,visibility}),setUploadStatus(file,`success`),resource}catch(error){return console.error(error),setUploadStatus(file,`error`),null}}async function uploadBlob(blob,metadata){setUploadStatus(blob,`loading`);try{let resource;if(blob.type.includes(`video`))resource=await uploadVideo(blob,metadata);else throw Error(ERROR_CODE.NOT_SUPPORTED);return setUploadStatus(blob,`success`),resource}catch(error){return console.error(error),setUploadStatus(blob,`error`),null}}let uploadVideo=async(blob,metadata)=>{let params={data:{device:device.type,browser:{name:browser.name,version:browser.version},url:window.location.hostname,file:blob,filename:getDefaultDate()??`filename`,weight:blob.size},appCode:application,captation:!(blob instanceof File),duration:metadata?.duration??0},uploadResponse=await odeServices.video().upload(params);if(uploadResponse.state===`succeed`)return{_id:uploadResponse.videoworkspaceid,file:uploadResponse.videoid,name:params.data.filename,eType:`file`,eParent:``,children:[],created:new Date,_shared:[],isShared:!1,owner:``};throw uploadResponse.state===`error`?Error(uploadResponse.code||`Error while uploading video`):Error(`Video encoding is still running`)};function uploadAlternateFile(original,replacement,metadata){return getOrGenerateBlobId(replacement,getOrGenerateBlobId(original)),uploadFile(replacement,metadata)}return{getUploadStatus,setUploadStatus,clearUploadStatus,uploadFile,uploadAlternateFile,uploadBlob}};export{useUpload as default};
1
+ import useBrowserInfo from"../useBrowserInfo/useBrowserInfo.js";import useWorkspaceFile from"../useWorkspaceFile/useWorkspaceFile.js";import{getOrGenerateBlobId}from"@edifice.io/utilities";import{useCallback,useState}from"react";import{useTranslation}from"react-i18next";import{ERROR_CODE,odeServices}from"@edifice.io/client";var useUpload=(visibility,application=`media-library`)=>{let[status,setStatus]=useState({}),{browser,device}=useBrowserInfo(navigator.userAgent),{create}=useWorkspaceFile(),{t}=useTranslation(),getUploadStatus=useCallback(upload=>status[getOrGenerateBlobId(upload)],[status]),setUploadStatus=(blob,status)=>{setStatus(prevStatus=>{let key=getOrGenerateBlobId(blob);return{...prevStatus,[key]:status}})},clearUploadStatus=blob=>{setStatus(prevStatus=>{let key=getOrGenerateBlobId(blob),{[key]:unused,...rest}=prevStatus;return rest})},getDefaultDate=()=>{let d=new Date;return`${d.getFullYear()}-${String(d.getMonth()+1).padStart(2,`0`)}-${String(d.getDate()).padStart(2,`0`)} ${String(d.getHours()).padStart(2,`0`)}h${String(d.getMinutes()).padStart(2,`0`)} `+t(`bbm.video.recorder.defaultName`)};async function uploadFile(file,metadata){setUploadStatus(file,`loading`);try{let resource;return resource=application===`media-library`&&file.type.includes(`video`)?await uploadVideo(file,{filename:file.name,...metadata}):await create(file,{application,visibility}),setUploadStatus(file,`success`),resource}catch(error){return console.error(error),setUploadStatus(file,`error`),null}}async function uploadBlob(blob,metadata){setUploadStatus(blob,`loading`);try{let resource;if(blob.type.includes(`video`))resource=await uploadVideo(blob,metadata);else throw Error(ERROR_CODE.NOT_SUPPORTED);return setUploadStatus(blob,`success`),resource}catch(error){return console.error(error),setUploadStatus(blob,`error`),null}}let uploadVideo=async(blob,metadata)=>{let params={data:{device:device.type,browser:{name:browser.name,version:browser.version},url:window.location.hostname,file:blob,filename:metadata?.filename||getDefaultDate()||`filename`,weight:blob.size},appCode:application,captation:!(blob instanceof File),duration:metadata?.duration??0},uploadResponse=await odeServices.video().upload(params);if(uploadResponse.state===`succeed`)return{_id:uploadResponse.videoworkspaceid,file:uploadResponse.videoid,name:params.data.filename,eType:`file`,eParent:``,children:[],created:new Date,_shared:[],isShared:!1,owner:``};throw uploadResponse.state===`error`?Error(uploadResponse.code||`Error while uploading video`):Error(`Video encoding is still running`)};function uploadAlternateFile(original,replacement,metadata){return getOrGenerateBlobId(replacement,getOrGenerateBlobId(original)),uploadFile(replacement,metadata)}return{getUploadStatus,setUploadStatus,clearUploadStatus,uploadFile,uploadAlternateFile,uploadBlob}};export{useUpload as default};
@@ -6,9 +6,5 @@ export interface UseZendeskGuideAPI {
6
6
  open: () => void;
7
7
  close: () => void;
8
8
  }
9
- /**
10
- * Add Zendesk Guide
11
- *
12
- * @param headerColor Overrides the widget panel's header color.
13
- */
14
- export default function useZendeskGuide(headerColor?: string): UseZendeskGuideAPI;
9
+ /** Add Zendesk Guide */
10
+ export default function useZendeskGuide(): UseZendeskGuideAPI;
@@ -1 +1 @@
1
- import{useEdificeTheme}from"../../providers/EdificeThemeProvider/EdificeThemeProvider.hook.js";import{useEdificeClient}from"../../providers/EdificeClientProvider/EdificeClientProvider.hook.js";import useHasWorkflow from"../useHasWorkflow/useHasWorkflow.js";import useUser from"../useUser/useUser.js";import useIsAdml from"../useIsAdml/useIsAdml.js";import{useEffect,useState}from"react";import{odeServices}from"@edifice.io/client";function useZendeskGuide(headerColor){let{currentLanguage}=useEdificeClient(),{userDescription}=useUser(),{isAdml}=useIsAdml(),{theme}=useEdificeTheme(),isMobileView=window.innerWidth<=768,hasSupportWorkflow=useHasWorkflow(`net.atos.entng.support.controllers.DisplayController|view`),[locationPathname,setLocationPathname]=useState(``),[dataModule,setDataModule]=useState(void 0),[isReady,setIsReady]=useState(!1),[isOpen,setIsOpen]=useState(!1),open=()=>{window.zE?.(`webWidget`,`open`)},close=()=>{window.zE?.(`webWidget`,`close`)},setZendeskGuideLabels=()=>{let modulePathnameSplit=locationPathname.split(`/`),moduleLabel=``,labels=``;if(dataModule?.labels&&Object.keys(dataModule?.labels).length>0&&modulePathnameSplit.length>1){for(let i=1;i<modulePathnameSplit.length;i++)modulePathnameSplit[i].length>0&&modulePathnameSplit[i].match(/\d/)==null&&(moduleLabel=moduleLabel.length===0?modulePathnameSplit[i]:moduleLabel+`/`+modulePathnameSplit[i]);dataModule?.labels&&Object.prototype.hasOwnProperty.call(dataModule?.labels,moduleLabel)?labels=dataModule?.labels[moduleLabel]:dataModule?.default&&String(dataModule.default).length>0&&(labels=dataModule?.default)}else dataModule?.default&&String(dataModule?.default).length>0&&(labels=dataModule?.default);if(modulePathnameSplit.includes(`collaborativewall`)&&modulePathnameSplit.includes(`id`)&&isMobileView&&window.zE(`webWidget`,`hide`),labels.includes("${adml}")&&(labels=isAdml?labels.replace("${adml}",`adml`):labels.replace("/${adml}",``)),labels.includes("${profile}")){let userProfile=userDescription?.profiles;labels=labels.replace("${profile}",userProfile[0].toLowerCase())}labels.includes("${theme")&&(labels=theme?.is1d?labels.replace("${theme}",`1D`):labels.replace("${theme}",`2D`)),window.zE(`webWidget`,`helpCenter:setSuggestions`,{labels:[labels]})};return useEffect(()=>{window.location.pathname!==locationPathname&&setLocationPathname(window.location.pathname),!(dataModule===void 0||Object.keys(dataModule).length===0)&&setZendeskGuideLabels()},[window.location.pathname,dataModule]),useEffect(()=>{let registerWidgetHandlers=()=>{window.zE(`webWidget:on`,`open`,function(){setIsOpen(!0),hasSupportWorkflow&&window.zE(`webWidget`,`updateSettings`,{webWidget:{contactForm:{suppress:!1}}})}),window.zE(`webWidget:on`,`close`,function(){setIsOpen(!1)}),window.zE(`webWidget:on`,`userEvent`,function(ref){let category=ref.category,action=ref.action,properties=ref.properties;action===`Contact Form Shown`&&category===`Zendesk Web Widget`&&properties&&properties.name===`contact-form`&&hasSupportWorkflow&&(window.zE(`webWidget`,`updateSettings`,{webWidget:{contactForm:{suppress:!0}}}),window.zE(`webWidget`,`close`),window.open(`/support/tickets/new`,`_blank`))})};if(document.getElementById(`ze-snippet`)){window.zE&&(registerWidgetHandlers(),setIsReady(!0));return}hasSupportWorkflow!==void 0&&(async()=>{let zendeskGuideConfig;try{zendeskGuideConfig=await odeServices.http().get(`/zendeskGuide/config`)}catch(error){console.warn("[useZendeskGuide] Failed to fetch the support widget config from `/zendeskGuide/config` — the widget (and HelpZone's button) won't show up. If you're running a local dev server, check that `/zendeskGuide` is proxied to your backend in your app's Vite dev proxy config.",error);return}if(zendeskGuideConfig&&zendeskGuideConfig.key&&zendeskGuideConfig.key!==``){let scriptZendesk=document.createElement(`script`);scriptZendesk.id=`ze-snippet`,scriptZendesk.src=`https://static.zdassets.com/ekr/snippet.js?key=${zendeskGuideConfig.key}`,document.body.appendChild(scriptZendesk).onload=()=>{currentLanguage===`es`?window.zE(function(){window.zE.setLocale(`es-419`)}):window.zE(function(){window.zE.setLocale(`fr`)}),Object.keys(zendeskGuideConfig.module).length>0&&setDataModule(zendeskGuideConfig.module),window.zE(`webWidget`,`show`),window.zE(`webWidget`,`updateSettings`,{webWidget:{color:{theme:zendeskGuideConfig.color||`#ffc400`,header:headerColor},zIndex:3,launcher:{mobile:{labelVisible:!0}},contactForm:{suppress:!hasSupportWorkflow},helpCenter:{messageButton:{"*":`Assistance ENT`,"es-419":`Asistencia ENT`},originalArticleButton:zendeskGuideConfig.articleRedirectButton??!0}}}),window.addEventListener(`scroll`,()=>{window.zE(`webWidget`,`updateSettings`,{webWidget:{launcher:{mobile:{labelVisible:window.scrollY<=5}}}})}),registerWidgetHandlers(),setIsReady(!0)}}})()},[hasSupportWorkflow]),{isReady,isOpen,open,close}}export{useZendeskGuide as default};
1
+ import{useEdificeTheme}from"../../providers/EdificeThemeProvider/EdificeThemeProvider.hook.js";import useUiOverride from"../useUiOverride/useUiOverride.js";import{useEdificeClient}from"../../providers/EdificeClientProvider/EdificeClientProvider.hook.js";import useHasWorkflow from"../useHasWorkflow/useHasWorkflow.js";import useUser from"../useUser/useUser.js";import useIsAdml from"../useIsAdml/useIsAdml.js";import{useEffect,useState}from"react";import{odeServices}from"@edifice.io/client";function useZendeskGuide(){let{currentLanguage}=useEdificeClient(),{userDescription}=useUser(),{isAdml}=useIsAdml(),isEdificeInProductHelp=useUiOverride(`layout.helpzone`)?.variant===`edifice-in-product`,{theme}=useEdificeTheme(),isMobileView=window.innerWidth<=768,hasSupportWorkflow=useHasWorkflow(`net.atos.entng.support.controllers.DisplayController|view`),[locationPathname,setLocationPathname]=useState(``),[dataModule,setDataModule]=useState(void 0),[isReady,setIsReady]=useState(!1),[isOpen,setIsOpen]=useState(!1),open=()=>{window.zE?.(`webWidget`,`open`)},close=()=>{window.zE?.(`webWidget`,`close`)},setZendeskGuideLabels=()=>{let modulePathnameSplit=locationPathname.split(`/`),moduleLabel=``,labels=``;if(dataModule?.labels&&Object.keys(dataModule?.labels).length>0&&modulePathnameSplit.length>1){for(let i=1;i<modulePathnameSplit.length;i++)modulePathnameSplit[i].length>0&&modulePathnameSplit[i].match(/\d/)==null&&(moduleLabel=moduleLabel.length===0?modulePathnameSplit[i]:moduleLabel+`/`+modulePathnameSplit[i]);dataModule?.labels&&Object.prototype.hasOwnProperty.call(dataModule?.labels,moduleLabel)?labels=dataModule?.labels[moduleLabel]:dataModule?.default&&String(dataModule.default).length>0&&(labels=dataModule?.default)}else dataModule?.default&&String(dataModule?.default).length>0&&(labels=dataModule?.default);if(modulePathnameSplit.includes(`collaborativewall`)&&modulePathnameSplit.includes(`id`)&&isMobileView&&window.zE(`webWidget`,`hide`),labels.includes("${adml}")&&(labels=isAdml?labels.replace("${adml}",`adml`):labels.replace("/${adml}",``)),labels.includes("${profile}")){let userProfile=userDescription?.profiles;labels=labels.replace("${profile}",userProfile[0].toLowerCase())}labels.includes("${theme")&&(labels=theme?.is1d?labels.replace("${theme}",`1D`):labels.replace("${theme}",`2D`)),window.zE(`webWidget`,`helpCenter:setSuggestions`,{labels:[labels]})};return useEffect(()=>{window.location.pathname!==locationPathname&&setLocationPathname(window.location.pathname),!(dataModule===void 0||Object.keys(dataModule).length===0)&&setZendeskGuideLabels()},[window.location.pathname,dataModule]),useEffect(()=>{let registerWidgetHandlers=()=>{window.zE(`webWidget:on`,`open`,function(){setIsOpen(!0),hasSupportWorkflow&&window.zE(`webWidget`,`updateSettings`,{webWidget:{contactForm:{suppress:!1}}})}),window.zE(`webWidget:on`,`close`,function(){setIsOpen(!1)}),window.zE(`webWidget:on`,`userEvent`,function(ref){let category=ref.category,action=ref.action,properties=ref.properties;action===`Contact Form Shown`&&category===`Zendesk Web Widget`&&properties&&properties.name===`contact-form`&&hasSupportWorkflow&&(window.zE(`webWidget`,`updateSettings`,{webWidget:{contactForm:{suppress:!0}}}),window.zE(`webWidget`,`close`),window.open(`/support/tickets/new`,`_blank`))})};if(document.getElementById(`ze-snippet`)){window.zE&&(registerWidgetHandlers(),setIsReady(!0));return}hasSupportWorkflow!==void 0&&(async()=>{let zendeskGuideConfig;try{zendeskGuideConfig=await odeServices.http().get(`/zendeskGuide/config`)}catch(error){console.warn("[useZendeskGuide] Failed to fetch the support widget config from `/zendeskGuide/config` — the widget (and HelpZone's button) won't show up. If you're running a local dev server, check that `/zendeskGuide` is proxied to your backend in your app's Vite dev proxy config.",error);return}if(zendeskGuideConfig&&zendeskGuideConfig.key&&zendeskGuideConfig.key!==``){let scriptZendesk=document.createElement(`script`);scriptZendesk.id=`ze-snippet`,scriptZendesk.src=`https://static.zdassets.com/ekr/snippet.js?key=${zendeskGuideConfig.key}`,document.body.appendChild(scriptZendesk).onload=()=>{currentLanguage===`es`?window.zE(function(){window.zE.setLocale(`es-419`)}):window.zE(function(){window.zE.setLocale(`fr`)}),Object.keys(zendeskGuideConfig.module).length>0&&setDataModule(zendeskGuideConfig.module),window.zE(`webWidget`,`show`),window.zE(`webWidget`,`updateSettings`,{webWidget:{color:{theme:isEdificeInProductHelp?`#3030D1`:zendeskGuideConfig.color||`#3030D1`},zIndex:3,launcher:{mobile:{labelVisible:!0}},contactForm:{suppress:!hasSupportWorkflow},helpCenter:{messageButton:{"*":`Assistance ENT`,"es-419":`Asistencia ENT`},originalArticleButton:zendeskGuideConfig.articleRedirectButton??!0}}}),window.addEventListener(`scroll`,()=>{window.zE(`webWidget`,`updateSettings`,{webWidget:{launcher:{mobile:{labelVisible:window.scrollY<=5}}}})}),registerWidgetHandlers(),setIsReady(!0)}}})()},[hasSupportWorkflow]),{isReady,isOpen,open,close}}export{useZendeskGuide as default};
package/dist/icons.js CHANGED
@@ -1 +1 @@
1
- import SvgIconAddUser from"./modules/icons/components/IconAddUser.js";import SvgIconAdd from"./modules/icons/components/IconAdd.js";import SvgIconAdjustSettings from"./modules/icons/components/IconAdjustSettings.js";import SvgIconAiFill from"./modules/icons/components/IconAiFill.js";import SvgIconAlertCircle from"./modules/icons/components/IconAlertCircle.js";import SvgIconAlertTriangle from"./modules/icons/components/IconAlertTriangle.js";import SvgIconAlignCenter from"./modules/icons/components/IconAlignCenter.js";import SvgIconAlignJustify from"./modules/icons/components/IconAlignJustify.js";import SvgIconAlignLeft from"./modules/icons/components/IconAlignLeft.js";import SvgIconAlignRight from"./modules/icons/components/IconAlignRight.js";import SvgIconAnswer from"./modules/icons/components/IconAnswer.js";import SvgIconApplications from"./modules/icons/components/IconApplications.js";import SvgIconArrowDown from"./modules/icons/components/IconArrowDown.js";import SvgIconArrowLeft from"./modules/icons/components/IconArrowLeft.js";import SvgIconArrowRight from"./modules/icons/components/IconArrowRight.js";import SvgIconArrowUp from"./modules/icons/components/IconArrowUp.js";import SvgIconBlock from"./modules/icons/components/IconBlock.js";import SvgIconBlur from"./modules/icons/components/IconBlur.js";import SvgIconBookmark from"./modules/icons/components/IconBookmark.js";import SvgIconBulleError from"./modules/icons/components/IconBulleError.js";import SvgIconBulleSuccess from"./modules/icons/components/IconBulleSuccess.js";import SvgIconBulle from"./modules/icons/components/IconBulle.js";import SvgIconBulletList from"./modules/icons/components/IconBulletList.js";import SvgIconBurgerMenu from"./modules/icons/components/IconBurgerMenu.js";import SvgIconCalendarEdit from"./modules/icons/components/IconCalendarEdit.js";import SvgIconCalendarLight from"./modules/icons/components/IconCalendarLight.js";import SvgIconCalendar from"./modules/icons/components/IconCalendar.js";import SvgIconCamera from"./modules/icons/components/IconCamera.js";import SvgIconCantoo from"./modules/icons/components/IconCantoo.js";import SvgIconCenter from"./modules/icons/components/IconCenter.js";import SvgIconCheck from"./modules/icons/components/IconCheck.js";import SvgIconChecklist from"./modules/icons/components/IconChecklist.js";import SvgIconClass from"./modules/icons/components/IconClass.js";import SvgIconClockAlert from"./modules/icons/components/IconClockAlert.js";import SvgIconClock from"./modules/icons/components/IconClock.js";import SvgIconCloseFullScreen from"./modules/icons/components/IconCloseFullScreen.js";import SvgIconClose from"./modules/icons/components/IconClose.js";import SvgIconCode from"./modules/icons/components/IconCode.js";import SvgIconCollect from"./modules/icons/components/IconCollect.js";import SvgIconCopy from"./modules/icons/components/IconCopy.js";import SvgIconCrop from"./modules/icons/components/IconCrop.js";import SvgIconCut from"./modules/icons/components/IconCut.js";import SvgIconDeleteColor from"./modules/icons/components/IconDeleteColor.js";import SvgIconDeleteColumnHighlight from"./modules/icons/components/IconDeleteColumnHighlight.js";import SvgIconDeleteColumn from"./modules/icons/components/IconDeleteColumn.js";import SvgIconDeleteRowHighlight from"./modules/icons/components/IconDeleteRowHighlight.js";import SvgIconDeleteRow from"./modules/icons/components/IconDeleteRow.js";import SvgIconDelete from"./modules/icons/components/IconDelete.js";import SvgIconDepositeInbox from"./modules/icons/components/IconDepositeInbox.js";import SvgIconDownload from"./modules/icons/components/IconDownload.js";import SvgIconEdit from"./modules/icons/components/IconEdit.js";import SvgIconError from"./modules/icons/components/IconError.js";import SvgIconExercizerAi from"./modules/icons/components/IconExercizerAi.js";import SvgIconExternalLink from"./modules/icons/components/IconExternalLink.js";import SvgIconFiles from"./modules/icons/components/IconFiles.js";import SvgIconFilter from"./modules/icons/components/IconFilter.js";import SvgIconFlag from"./modules/icons/components/IconFlag.js";import SvgIconFolderAdd from"./modules/icons/components/IconFolderAdd.js";import SvgIconFolderDelete from"./modules/icons/components/IconFolderDelete.js";import SvgIconFolderMove from"./modules/icons/components/IconFolderMove.js";import SvgIconFolder from"./modules/icons/components/IconFolder.js";import SvgIconForgoing from"./modules/icons/components/IconForgoing.js";import SvgIconFullScreen from"./modules/icons/components/IconFullScreen.js";import SvgIconGlobe2 from"./modules/icons/components/IconGlobe2.js";import SvgIconGlobe from"./modules/icons/components/IconGlobe.js";import SvgIconGroupAvatar from"./modules/icons/components/IconGroupAvatar.js";import SvgIconHandMove from"./modules/icons/components/IconHandMove.js";import SvgIconHeadphone from"./modules/icons/components/IconHeadphone.js";import SvgIconHide from"./modules/icons/components/IconHide.js";import SvgIconHighlightColumn from"./modules/icons/components/IconHighlightColumn.js";import SvgIconHighlightRow from"./modules/icons/components/IconHighlightRow.js";import SvgIconHome from"./modules/icons/components/IconHome.js";import SvgIconHourglass from"./modules/icons/components/IconHourglass.js";import SvgIconImageSizeLarge from"./modules/icons/components/IconImageSizeLarge.js";import SvgIconImageSizeMedium from"./modules/icons/components/IconImageSizeMedium.js";import SvgIconImageSizeSmall from"./modules/icons/components/IconImageSizeSmall.js";import SvgIconInbox from"./modules/icons/components/IconInbox.js";import SvgIconInfoCircle from"./modules/icons/components/IconInfoCircle.js";import SvgIconInfoRectangle from"./modules/icons/components/IconInfoRectangle.js";import SvgIconLabel from"./modules/icons/components/IconLabel.js";import SvgIconLandscape from"./modules/icons/components/IconLandscape.js";import SvgIconLibrary from"./modules/icons/components/IconLibrary.js";import SvgIconLink from"./modules/icons/components/IconLink.js";import SvgIconListOrder from"./modules/icons/components/IconListOrder.js";import SvgIconLoader from"./modules/icons/components/IconLoader.js";import SvgIconLock from"./modules/icons/components/IconLock.js";import SvgIconLogout from"./modules/icons/components/IconLogout.js";import SvgIconLsuArt from"./modules/icons/components/IconLsuArt.js";import SvgIconLsuCompetenceNumerique from"./modules/icons/components/IconLsuCompetenceNumerique.js";import SvgIconLsuEmc from"./modules/icons/components/IconLsuEmc.js";import SvgIconLsuFrancais from"./modules/icons/components/IconLsuFrancais.js";import SvgIconLsuHistoireGeo from"./modules/icons/components/IconLsuHistoireGeo.js";import SvgIconLsuLangue from"./modules/icons/components/IconLsuLangue.js";import SvgIconLsuLangue2 from"./modules/icons/components/IconLsuLangue2.js";import SvgIconLsuMath from"./modules/icons/components/IconLsuMath.js";import SvgIconLsuParcoursEducatif from"./modules/icons/components/IconLsuParcoursEducatif.js";import SvgIconLsuSport from"./modules/icons/components/IconLsuSport.js";import SvgIconLsuSvt from"./modules/icons/components/IconLsuSvt.js";import SvgIconMailRecall from"./modules/icons/components/IconMailRecall.js";import SvgIconMail from"./modules/icons/components/IconMail.js";import SvgIconMegaphone from"./modules/icons/components/IconMegaphone.js";import SvgIconMergeCells from"./modules/icons/components/IconMergeCells.js";import SvgIconMessageInfo from"./modules/icons/components/IconMessageInfo.js";import SvgIconMicOff from"./modules/icons/components/IconMicOff.js";import SvgIconMic from"./modules/icons/components/IconMic.js";import SvgIconMinus from"./modules/icons/components/IconMinus.js";import SvgIconMove from"./modules/icons/components/IconMove.js";import SvgIconNoColors from"./modules/icons/components/IconNoColors.js";import SvgIconNotes from"./modules/icons/components/IconNotes.js";import SvgIconNotification from"./modules/icons/components/IconNotification.js";import SvgIconOptions from"./modules/icons/components/IconOptions.js";import SvgIconOrderedList from"./modules/icons/components/IconOrderedList.js";import SvgIconPaperclip from"./modules/icons/components/IconPaperclip.js";import SvgIconParcoursCitoyen from"./modules/icons/components/IconParcoursCitoyen.js";import SvgIconParcoursSecours from"./modules/icons/components/IconParcoursSecours.js";import SvgIconPause from"./modules/icons/components/IconPause.js";import SvgIconPinOff from"./modules/icons/components/IconPinOff.js";import SvgIconPinOn from"./modules/icons/components/IconPinOn.js";import SvgIconPlaceholder from"./modules/icons/components/IconPlaceholder.js";import SvgIconPlayFilled from"./modules/icons/components/IconPlayFilled.js";import SvgIconPlay from"./modules/icons/components/IconPlay.js";import SvgIconPlus from"./modules/icons/components/IconPlus.js";import SvgIconPointerDefault from"./modules/icons/components/IconPointerDefault.js";import SvgIconPointerHand from"./modules/icons/components/IconPointerHand.js";import SvgIconPrint from"./modules/icons/components/IconPrint.js";import SvgIconQuestionMark from"./modules/icons/components/IconQuestionMark.js";import SvgIconQuestion from"./modules/icons/components/IconQuestion.js";import SvgIconRafterDown from"./modules/icons/components/IconRafterDown.js";import SvgIconRafterLeft from"./modules/icons/components/IconRafterLeft.js";import SvgIconRafterRight from"./modules/icons/components/IconRafterRight.js";import SvgIconRafterUp from"./modules/icons/components/IconRafterUp.js";import SvgIconReaction from"./modules/icons/components/IconReaction.js";import SvgIconReadMail from"./modules/icons/components/IconReadMail.js";import SvgIconRecordPause from"./modules/icons/components/IconRecordPause.js";import SvgIconRecordStop from"./modules/icons/components/IconRecordStop.js";import SvgIconRecordVideo from"./modules/icons/components/IconRecordVideo.js";import SvgIconRecord from"./modules/icons/components/IconRecord.js";import SvgIconRedo from"./modules/icons/components/IconRedo.js";import SvgIconRefresh from"./modules/icons/components/IconRefresh.js";import SvgIconReset from"./modules/icons/components/IconReset.js";import SvgIconRestart from"./modules/icons/components/IconRestart.js";import SvgIconRestore from"./modules/icons/components/IconRestore.js";import SvgIconSave from"./modules/icons/components/IconSave.js";import SvgIconSearch from"./modules/icons/components/IconSearch.js";import SvgIconSee from"./modules/icons/components/IconSee.js";import SvgIconSend from"./modules/icons/components/IconSend.js";import SvgIconSetBackground from"./modules/icons/components/IconSetBackground.js";import SvgIconSettings from"./modules/icons/components/IconSettings.js";import SvgIconShare from"./modules/icons/components/IconShare.js";import SvgIconSignature from"./modules/icons/components/IconSignature.js";import SvgIconSmartphone from"./modules/icons/components/IconSmartphone.js";import SvgIconSmiley from"./modules/icons/components/IconSmiley.js";import SvgIconSortAscendingLetters from"./modules/icons/components/IconSortAscendingLetters.js";import SvgIconSortDescendingLetters from"./modules/icons/components/IconSortDescendingLetters.js";import SvgIconSortDescending from"./modules/icons/components/IconSortDescending.js";import SvgIconSortTime from"./modules/icons/components/IconSortTime.js";import SvgIconSpeechToText from"./modules/icons/components/IconSpeechToText.js";import SvgIconSplitCells from"./modules/icons/components/IconSplitCells.js";import SvgIconSquareRoot from"./modules/icons/components/IconSquareRoot.js";import SvgIconStarFull from"./modules/icons/components/IconStarFull.js";import SvgIconStar from"./modules/icons/components/IconStar.js";import SvgIconSubmission from"./modules/icons/components/IconSubmission.js";import SvgIconSubmitToValidate from"./modules/icons/components/IconSubmitToValidate.js";import SvgIconSubscript from"./modules/icons/components/IconSubscript.js";import SvgIconSuccessFill from"./modules/icons/components/IconSuccessFill.js";import SvgIconSuccessOutline from"./modules/icons/components/IconSuccessOutline.js";import SvgIconSuperscript from"./modules/icons/components/IconSuperscript.js";import SvgIconTable from"./modules/icons/components/IconTable.js";import SvgIconTeacher from"./modules/icons/components/IconTeacher.js";import SvgIconTextBold from"./modules/icons/components/IconTextBold.js";import SvgIconTextColor from"./modules/icons/components/IconTextColor.js";import SvgIconTextHighlight from"./modules/icons/components/IconTextHighlight.js";import SvgIconTextItalic from"./modules/icons/components/IconTextItalic.js";import SvgIconTextPage from"./modules/icons/components/IconTextPage.js";import SvgIconTextSize from"./modules/icons/components/IconTextSize.js";import SvgIconTextToSpeechOff from"./modules/icons/components/IconTextToSpeechOff.js";import SvgIconTextToSpeech from"./modules/icons/components/IconTextToSpeech.js";import SvgIconTextTypo from"./modules/icons/components/IconTextTypo.js";import SvgIconTextUnderline from"./modules/icons/components/IconTextUnderline.js";import SvgIconTextVanilla from"./modules/icons/components/IconTextVanilla.js";import SvgIconThumbDown from"./modules/icons/components/IconThumbDown.js";import SvgIconThumbUp from"./modules/icons/components/IconThumbUp.js";import SvgIconToolCenter from"./modules/icons/components/IconToolCenter.js";import SvgIconTool from"./modules/icons/components/IconTool.js";import SvgIconTrendingUp from"./modules/icons/components/IconTrendingUp.js";import SvgIconUndoAll from"./modules/icons/components/IconUndoAll.js";import SvgIconUndoSlashed from"./modules/icons/components/IconUndoSlashed.js";import SvgIconUndo from"./modules/icons/components/IconUndo.js";import SvgIconUnion from"./modules/icons/components/IconUnion.js";import SvgIconUnlink from"./modules/icons/components/IconUnlink.js";import SvgIconUnlock from"./modules/icons/components/IconUnlock.js";import SvgIconUnreadMail from"./modules/icons/components/IconUnreadMail.js";import SvgIconUpload from"./modules/icons/components/IconUpload.js";import SvgIconUserSearch from"./modules/icons/components/IconUserSearch.js";import SvgIconUser from"./modules/icons/components/IconUser.js";import SvgIconUsers from"./modules/icons/components/IconUsers.js";import SvgIconVideo from"./modules/icons/components/IconVideo.js";import SvgIconViewCalendar from"./modules/icons/components/IconViewCalendar.js";import SvgIconViewList from"./modules/icons/components/IconViewList.js";import SvgIconWand from"./modules/icons/components/IconWand.js";import SvgIconWrite from"./modules/icons/components/IconWrite.js";import SvgIconZoomIn from"./modules/icons/components/IconZoomIn.js";import SvgIconZoomOut from"./modules/icons/components/IconZoomOut.js";export{SvgIconAdd as IconAdd,SvgIconAddUser as IconAddUser,SvgIconAdjustSettings as IconAdjustSettings,SvgIconAiFill as IconAiFill,SvgIconAlertCircle as IconAlertCircle,SvgIconAlertTriangle as IconAlertTriangle,SvgIconAlignCenter as IconAlignCenter,SvgIconAlignJustify as IconAlignJustify,SvgIconAlignLeft as IconAlignLeft,SvgIconAlignRight as IconAlignRight,SvgIconAnswer as IconAnswer,SvgIconApplications as IconApplications,SvgIconArrowDown as IconArrowDown,SvgIconArrowLeft as IconArrowLeft,SvgIconArrowRight as IconArrowRight,SvgIconArrowUp as IconArrowUp,SvgIconBlock as IconBlock,SvgIconBlur as IconBlur,SvgIconBookmark as IconBookmark,SvgIconBulle as IconBulle,SvgIconBulleError as IconBulleError,SvgIconBulleSuccess as IconBulleSuccess,SvgIconBulletList as IconBulletList,SvgIconBurgerMenu as IconBurgerMenu,SvgIconCalendar as IconCalendar,SvgIconCalendarEdit as IconCalendarEdit,SvgIconCalendarLight as IconCalendarLight,SvgIconCamera as IconCamera,SvgIconCantoo as IconCantoo,SvgIconCenter as IconCenter,SvgIconCheck as IconCheck,SvgIconChecklist as IconChecklist,SvgIconClass as IconClass,SvgIconClock as IconClock,SvgIconClockAlert as IconClockAlert,SvgIconClose as IconClose,SvgIconCloseFullScreen as IconCloseFullScreen,SvgIconCode as IconCode,SvgIconCollect as IconCollect,SvgIconCopy as IconCopy,SvgIconCrop as IconCrop,SvgIconCut as IconCut,SvgIconDelete as IconDelete,SvgIconDeleteColor as IconDeleteColor,SvgIconDeleteColumn as IconDeleteColumn,SvgIconDeleteColumnHighlight as IconDeleteColumnHighlight,SvgIconDeleteRow as IconDeleteRow,SvgIconDeleteRowHighlight as IconDeleteRowHighlight,SvgIconDepositeInbox as IconDepositeInbox,SvgIconDownload as IconDownload,SvgIconEdit as IconEdit,SvgIconError as IconError,SvgIconExercizerAi as IconExercizerAi,SvgIconExternalLink as IconExternalLink,SvgIconFiles as IconFiles,SvgIconFilter as IconFilter,SvgIconFlag as IconFlag,SvgIconFolder as IconFolder,SvgIconFolderAdd as IconFolderAdd,SvgIconFolderDelete as IconFolderDelete,SvgIconFolderMove as IconFolderMove,SvgIconForgoing as IconForgoing,SvgIconFullScreen as IconFullScreen,SvgIconGlobe as IconGlobe,SvgIconGlobe2 as IconGlobe2,SvgIconGroupAvatar as IconGroupAvatar,SvgIconHandMove as IconHandMove,SvgIconHeadphone as IconHeadphone,SvgIconHide as IconHide,SvgIconHighlightColumn as IconHighlightColumn,SvgIconHighlightRow as IconHighlightRow,SvgIconHome as IconHome,SvgIconHourglass as IconHourglass,SvgIconImageSizeLarge as IconImageSizeLarge,SvgIconImageSizeMedium as IconImageSizeMedium,SvgIconImageSizeSmall as IconImageSizeSmall,SvgIconInbox as IconInbox,SvgIconInfoCircle as IconInfoCircle,SvgIconInfoRectangle as IconInfoRectangle,SvgIconLabel as IconLabel,SvgIconLandscape as IconLandscape,SvgIconLibrary as IconLibrary,SvgIconLink as IconLink,SvgIconListOrder as IconListOrder,SvgIconLoader as IconLoader,SvgIconLock as IconLock,SvgIconLogout as IconLogout,SvgIconLsuArt as IconLsuArt,SvgIconLsuCompetenceNumerique as IconLsuCompetenceNumerique,SvgIconLsuEmc as IconLsuEmc,SvgIconLsuFrancais as IconLsuFrancais,SvgIconLsuHistoireGeo as IconLsuHistoireGeo,SvgIconLsuLangue as IconLsuLangue,SvgIconLsuLangue2 as IconLsuLangue2,SvgIconLsuMath as IconLsuMath,SvgIconLsuParcoursEducatif as IconLsuParcoursEducatif,SvgIconLsuSport as IconLsuSport,SvgIconLsuSvt as IconLsuSvt,SvgIconMail as IconMail,SvgIconMailRecall as IconMailRecall,SvgIconMegaphone as IconMegaphone,SvgIconMergeCells as IconMergeCells,SvgIconMessageInfo as IconMessageInfo,SvgIconMic as IconMic,SvgIconMicOff as IconMicOff,SvgIconMinus as IconMinus,SvgIconMove as IconMove,SvgIconNoColors as IconNoColors,SvgIconNotes as IconNotes,SvgIconNotification as IconNotification,SvgIconOptions as IconOptions,SvgIconOrderedList as IconOrderedList,SvgIconPaperclip as IconPaperclip,SvgIconParcoursCitoyen as IconParcoursCitoyen,SvgIconParcoursSecours as IconParcoursSecours,SvgIconPause as IconPause,SvgIconPinOff as IconPinOff,SvgIconPinOn as IconPinOn,SvgIconPlaceholder as IconPlaceholder,SvgIconPlay as IconPlay,SvgIconPlayFilled as IconPlayFilled,SvgIconPlus as IconPlus,SvgIconPointerDefault as IconPointerDefault,SvgIconPointerHand as IconPointerHand,SvgIconPrint as IconPrint,SvgIconQuestion as IconQuestion,SvgIconQuestionMark as IconQuestionMark,SvgIconRafterDown as IconRafterDown,SvgIconRafterLeft as IconRafterLeft,SvgIconRafterRight as IconRafterRight,SvgIconRafterUp as IconRafterUp,SvgIconReaction as IconReaction,SvgIconReadMail as IconReadMail,SvgIconRecord as IconRecord,SvgIconRecordPause as IconRecordPause,SvgIconRecordStop as IconRecordStop,SvgIconRecordVideo as IconRecordVideo,SvgIconRedo as IconRedo,SvgIconRefresh as IconRefresh,SvgIconReset as IconReset,SvgIconRestart as IconRestart,SvgIconRestore as IconRestore,SvgIconSave as IconSave,SvgIconSearch as IconSearch,SvgIconSee as IconSee,SvgIconSend as IconSend,SvgIconSetBackground as IconSetBackground,SvgIconSettings as IconSettings,SvgIconShare as IconShare,SvgIconSignature as IconSignature,SvgIconSmartphone as IconSmartphone,SvgIconSmiley as IconSmiley,SvgIconSortAscendingLetters as IconSortAscendingLetters,SvgIconSortDescending as IconSortDescending,SvgIconSortDescendingLetters as IconSortDescendingLetters,SvgIconSortTime as IconSortTime,SvgIconSpeechToText as IconSpeechToText,SvgIconSplitCells as IconSplitCells,SvgIconSquareRoot as IconSquareRoot,SvgIconStar as IconStar,SvgIconStarFull as IconStarFull,SvgIconSubmission as IconSubmission,SvgIconSubmitToValidate as IconSubmitToValidate,SvgIconSubscript as IconSubscript,SvgIconSuccessFill as IconSuccessFill,SvgIconSuccessOutline as IconSuccessOutline,SvgIconSuperscript as IconSuperscript,SvgIconTable as IconTable,SvgIconTeacher as IconTeacher,SvgIconTextBold as IconTextBold,SvgIconTextColor as IconTextColor,SvgIconTextHighlight as IconTextHighlight,SvgIconTextItalic as IconTextItalic,SvgIconTextPage as IconTextPage,SvgIconTextSize as IconTextSize,SvgIconTextToSpeech as IconTextToSpeech,SvgIconTextToSpeechOff as IconTextToSpeechOff,SvgIconTextTypo as IconTextTypo,SvgIconTextUnderline as IconTextUnderline,SvgIconTextVanilla as IconTextVanilla,SvgIconThumbDown as IconThumbDown,SvgIconThumbUp as IconThumbUp,SvgIconTool as IconTool,SvgIconToolCenter as IconToolCenter,SvgIconTrendingUp as IconTrendingUp,SvgIconUndo as IconUndo,SvgIconUndoAll as IconUndoAll,SvgIconUndoSlashed as IconUndoSlashed,SvgIconUnion as IconUnion,SvgIconUnlink as IconUnlink,SvgIconUnlock as IconUnlock,SvgIconUnreadMail as IconUnreadMail,SvgIconUpload as IconUpload,SvgIconUser as IconUser,SvgIconUserSearch as IconUserSearch,SvgIconUsers as IconUsers,SvgIconVideo as IconVideo,SvgIconViewCalendar as IconViewCalendar,SvgIconViewList as IconViewList,SvgIconWand as IconWand,SvgIconWrite as IconWrite,SvgIconZoomIn as IconZoomIn,SvgIconZoomOut as IconZoomOut};
1
+ import SvgIconAddUser from"./modules/icons/components/IconAddUser.js";import SvgIconAddWidget from"./modules/icons/components/IconAddWidget.js";import SvgIconAdd from"./modules/icons/components/IconAdd.js";import SvgIconAdjustSettings from"./modules/icons/components/IconAdjustSettings.js";import SvgIconAiFill from"./modules/icons/components/IconAiFill.js";import SvgIconAlertCircle from"./modules/icons/components/IconAlertCircle.js";import SvgIconAlertTriangle from"./modules/icons/components/IconAlertTriangle.js";import SvgIconAlignCenter from"./modules/icons/components/IconAlignCenter.js";import SvgIconAlignJustify from"./modules/icons/components/IconAlignJustify.js";import SvgIconAlignLeft from"./modules/icons/components/IconAlignLeft.js";import SvgIconAlignRight from"./modules/icons/components/IconAlignRight.js";import SvgIconAnswer from"./modules/icons/components/IconAnswer.js";import SvgIconApplications from"./modules/icons/components/IconApplications.js";import SvgIconArrowDown from"./modules/icons/components/IconArrowDown.js";import SvgIconArrowLeft from"./modules/icons/components/IconArrowLeft.js";import SvgIconArrowRight from"./modules/icons/components/IconArrowRight.js";import SvgIconArrowUp from"./modules/icons/components/IconArrowUp.js";import SvgIconBlock from"./modules/icons/components/IconBlock.js";import SvgIconBlur from"./modules/icons/components/IconBlur.js";import SvgIconBookmark from"./modules/icons/components/IconBookmark.js";import SvgIconBulleError from"./modules/icons/components/IconBulleError.js";import SvgIconBulleSuccess from"./modules/icons/components/IconBulleSuccess.js";import SvgIconBulle from"./modules/icons/components/IconBulle.js";import SvgIconBulletList from"./modules/icons/components/IconBulletList.js";import SvgIconBurgerMenu from"./modules/icons/components/IconBurgerMenu.js";import SvgIconCalendarEdit from"./modules/icons/components/IconCalendarEdit.js";import SvgIconCalendarLight from"./modules/icons/components/IconCalendarLight.js";import SvgIconCalendar from"./modules/icons/components/IconCalendar.js";import SvgIconCamera from"./modules/icons/components/IconCamera.js";import SvgIconCantoo from"./modules/icons/components/IconCantoo.js";import SvgIconCenter from"./modules/icons/components/IconCenter.js";import SvgIconCheck from"./modules/icons/components/IconCheck.js";import SvgIconChecklist from"./modules/icons/components/IconChecklist.js";import SvgIconClass from"./modules/icons/components/IconClass.js";import SvgIconClockAlert from"./modules/icons/components/IconClockAlert.js";import SvgIconClock from"./modules/icons/components/IconClock.js";import SvgIconCloseFullScreen from"./modules/icons/components/IconCloseFullScreen.js";import SvgIconClose from"./modules/icons/components/IconClose.js";import SvgIconCode from"./modules/icons/components/IconCode.js";import SvgIconCollect from"./modules/icons/components/IconCollect.js";import SvgIconCopy from"./modules/icons/components/IconCopy.js";import SvgIconCrop from"./modules/icons/components/IconCrop.js";import SvgIconCut from"./modules/icons/components/IconCut.js";import SvgIconDeleteColor from"./modules/icons/components/IconDeleteColor.js";import SvgIconDeleteColumnHighlight from"./modules/icons/components/IconDeleteColumnHighlight.js";import SvgIconDeleteColumn from"./modules/icons/components/IconDeleteColumn.js";import SvgIconDeleteRowHighlight from"./modules/icons/components/IconDeleteRowHighlight.js";import SvgIconDeleteRow from"./modules/icons/components/IconDeleteRow.js";import SvgIconDelete from"./modules/icons/components/IconDelete.js";import SvgIconDepositeInbox from"./modules/icons/components/IconDepositeInbox.js";import SvgIconDownload from"./modules/icons/components/IconDownload.js";import SvgIconEdit from"./modules/icons/components/IconEdit.js";import SvgIconError from"./modules/icons/components/IconError.js";import SvgIconExercizerAi from"./modules/icons/components/IconExercizerAi.js";import SvgIconExternalLink from"./modules/icons/components/IconExternalLink.js";import SvgIconFiles from"./modules/icons/components/IconFiles.js";import SvgIconFilter from"./modules/icons/components/IconFilter.js";import SvgIconFlag from"./modules/icons/components/IconFlag.js";import SvgIconFolderAdd from"./modules/icons/components/IconFolderAdd.js";import SvgIconFolderDelete from"./modules/icons/components/IconFolderDelete.js";import SvgIconFolderMove from"./modules/icons/components/IconFolderMove.js";import SvgIconFolder from"./modules/icons/components/IconFolder.js";import SvgIconForgoing from"./modules/icons/components/IconForgoing.js";import SvgIconFullScreen from"./modules/icons/components/IconFullScreen.js";import SvgIconGlobe2 from"./modules/icons/components/IconGlobe2.js";import SvgIconGlobe from"./modules/icons/components/IconGlobe.js";import SvgIconGroupAvatar from"./modules/icons/components/IconGroupAvatar.js";import SvgIconHandMove from"./modules/icons/components/IconHandMove.js";import SvgIconHeadphone from"./modules/icons/components/IconHeadphone.js";import SvgIconHide from"./modules/icons/components/IconHide.js";import SvgIconHighlightColumn from"./modules/icons/components/IconHighlightColumn.js";import SvgIconHighlightRow from"./modules/icons/components/IconHighlightRow.js";import SvgIconHome from"./modules/icons/components/IconHome.js";import SvgIconHourglass from"./modules/icons/components/IconHourglass.js";import SvgIconImageSizeLarge from"./modules/icons/components/IconImageSizeLarge.js";import SvgIconImageSizeMedium from"./modules/icons/components/IconImageSizeMedium.js";import SvgIconImageSizeSmall from"./modules/icons/components/IconImageSizeSmall.js";import SvgIconInbox from"./modules/icons/components/IconInbox.js";import SvgIconInfoCircle from"./modules/icons/components/IconInfoCircle.js";import SvgIconInfoRectangle from"./modules/icons/components/IconInfoRectangle.js";import SvgIconLabel from"./modules/icons/components/IconLabel.js";import SvgIconLandscape from"./modules/icons/components/IconLandscape.js";import SvgIconLibrary from"./modules/icons/components/IconLibrary.js";import SvgIconLink from"./modules/icons/components/IconLink.js";import SvgIconListOrder from"./modules/icons/components/IconListOrder.js";import SvgIconLoader from"./modules/icons/components/IconLoader.js";import SvgIconLock from"./modules/icons/components/IconLock.js";import SvgIconLogout from"./modules/icons/components/IconLogout.js";import SvgIconLsuArt from"./modules/icons/components/IconLsuArt.js";import SvgIconLsuCompetenceNumerique from"./modules/icons/components/IconLsuCompetenceNumerique.js";import SvgIconLsuEmc from"./modules/icons/components/IconLsuEmc.js";import SvgIconLsuFrancais from"./modules/icons/components/IconLsuFrancais.js";import SvgIconLsuHistoireGeo from"./modules/icons/components/IconLsuHistoireGeo.js";import SvgIconLsuLangue from"./modules/icons/components/IconLsuLangue.js";import SvgIconLsuLangue2 from"./modules/icons/components/IconLsuLangue2.js";import SvgIconLsuMath from"./modules/icons/components/IconLsuMath.js";import SvgIconLsuParcoursEducatif from"./modules/icons/components/IconLsuParcoursEducatif.js";import SvgIconLsuSport from"./modules/icons/components/IconLsuSport.js";import SvgIconLsuSvt from"./modules/icons/components/IconLsuSvt.js";import SvgIconMailRecall from"./modules/icons/components/IconMailRecall.js";import SvgIconMail from"./modules/icons/components/IconMail.js";import SvgIconMegaphone from"./modules/icons/components/IconMegaphone.js";import SvgIconMergeCells from"./modules/icons/components/IconMergeCells.js";import SvgIconMessageInfo from"./modules/icons/components/IconMessageInfo.js";import SvgIconMicOff from"./modules/icons/components/IconMicOff.js";import SvgIconMic from"./modules/icons/components/IconMic.js";import SvgIconMinus from"./modules/icons/components/IconMinus.js";import SvgIconMove from"./modules/icons/components/IconMove.js";import SvgIconNoColors from"./modules/icons/components/IconNoColors.js";import SvgIconNotes from"./modules/icons/components/IconNotes.js";import SvgIconNotification from"./modules/icons/components/IconNotification.js";import SvgIconOptions from"./modules/icons/components/IconOptions.js";import SvgIconOrderedList from"./modules/icons/components/IconOrderedList.js";import SvgIconPaperclip from"./modules/icons/components/IconPaperclip.js";import SvgIconParcoursCitoyen from"./modules/icons/components/IconParcoursCitoyen.js";import SvgIconParcoursSecours from"./modules/icons/components/IconParcoursSecours.js";import SvgIconPause from"./modules/icons/components/IconPause.js";import SvgIconPinOff from"./modules/icons/components/IconPinOff.js";import SvgIconPinOn from"./modules/icons/components/IconPinOn.js";import SvgIconPlaceholder from"./modules/icons/components/IconPlaceholder.js";import SvgIconPlayFilled from"./modules/icons/components/IconPlayFilled.js";import SvgIconPlay from"./modules/icons/components/IconPlay.js";import SvgIconPlus from"./modules/icons/components/IconPlus.js";import SvgIconPointerDefault from"./modules/icons/components/IconPointerDefault.js";import SvgIconPointerHand from"./modules/icons/components/IconPointerHand.js";import SvgIconPrint from"./modules/icons/components/IconPrint.js";import SvgIconQuestionMark from"./modules/icons/components/IconQuestionMark.js";import SvgIconQuestion from"./modules/icons/components/IconQuestion.js";import SvgIconRafterDown from"./modules/icons/components/IconRafterDown.js";import SvgIconRafterLeft from"./modules/icons/components/IconRafterLeft.js";import SvgIconRafterRight from"./modules/icons/components/IconRafterRight.js";import SvgIconRafterUp from"./modules/icons/components/IconRafterUp.js";import SvgIconReaction from"./modules/icons/components/IconReaction.js";import SvgIconReadMail from"./modules/icons/components/IconReadMail.js";import SvgIconRecordPause from"./modules/icons/components/IconRecordPause.js";import SvgIconRecordStop from"./modules/icons/components/IconRecordStop.js";import SvgIconRecordVideo from"./modules/icons/components/IconRecordVideo.js";import SvgIconRecord from"./modules/icons/components/IconRecord.js";import SvgIconRedo from"./modules/icons/components/IconRedo.js";import SvgIconRefresh from"./modules/icons/components/IconRefresh.js";import SvgIconReset from"./modules/icons/components/IconReset.js";import SvgIconRestart from"./modules/icons/components/IconRestart.js";import SvgIconRestore from"./modules/icons/components/IconRestore.js";import SvgIconSave from"./modules/icons/components/IconSave.js";import SvgIconSearch from"./modules/icons/components/IconSearch.js";import SvgIconSee from"./modules/icons/components/IconSee.js";import SvgIconSend from"./modules/icons/components/IconSend.js";import SvgIconSetBackground from"./modules/icons/components/IconSetBackground.js";import SvgIconSettings from"./modules/icons/components/IconSettings.js";import SvgIconShare from"./modules/icons/components/IconShare.js";import SvgIconSignature from"./modules/icons/components/IconSignature.js";import SvgIconSmartphone from"./modules/icons/components/IconSmartphone.js";import SvgIconSmiley from"./modules/icons/components/IconSmiley.js";import SvgIconSortAscendingLetters from"./modules/icons/components/IconSortAscendingLetters.js";import SvgIconSortDescendingLetters from"./modules/icons/components/IconSortDescendingLetters.js";import SvgIconSortDescending from"./modules/icons/components/IconSortDescending.js";import SvgIconSortTime from"./modules/icons/components/IconSortTime.js";import SvgIconSpeechToText from"./modules/icons/components/IconSpeechToText.js";import SvgIconSplitCells from"./modules/icons/components/IconSplitCells.js";import SvgIconSquareRoot from"./modules/icons/components/IconSquareRoot.js";import SvgIconStarFull from"./modules/icons/components/IconStarFull.js";import SvgIconStar from"./modules/icons/components/IconStar.js";import SvgIconSubmission from"./modules/icons/components/IconSubmission.js";import SvgIconSubmitToValidate from"./modules/icons/components/IconSubmitToValidate.js";import SvgIconSubscript from"./modules/icons/components/IconSubscript.js";import SvgIconSuccessFill from"./modules/icons/components/IconSuccessFill.js";import SvgIconSuccessOutline from"./modules/icons/components/IconSuccessOutline.js";import SvgIconSuperscript from"./modules/icons/components/IconSuperscript.js";import SvgIconTable from"./modules/icons/components/IconTable.js";import SvgIconTeacher from"./modules/icons/components/IconTeacher.js";import SvgIconTextBold from"./modules/icons/components/IconTextBold.js";import SvgIconTextColor from"./modules/icons/components/IconTextColor.js";import SvgIconTextHighlight from"./modules/icons/components/IconTextHighlight.js";import SvgIconTextItalic from"./modules/icons/components/IconTextItalic.js";import SvgIconTextPage from"./modules/icons/components/IconTextPage.js";import SvgIconTextSize from"./modules/icons/components/IconTextSize.js";import SvgIconTextToSpeechOff from"./modules/icons/components/IconTextToSpeechOff.js";import SvgIconTextToSpeech from"./modules/icons/components/IconTextToSpeech.js";import SvgIconTextTypo from"./modules/icons/components/IconTextTypo.js";import SvgIconTextUnderline from"./modules/icons/components/IconTextUnderline.js";import SvgIconTextVanilla from"./modules/icons/components/IconTextVanilla.js";import SvgIconThumbDown from"./modules/icons/components/IconThumbDown.js";import SvgIconThumbUp from"./modules/icons/components/IconThumbUp.js";import SvgIconToolCenter from"./modules/icons/components/IconToolCenter.js";import SvgIconTool from"./modules/icons/components/IconTool.js";import SvgIconTrendingUp from"./modules/icons/components/IconTrendingUp.js";import SvgIconUndoAll from"./modules/icons/components/IconUndoAll.js";import SvgIconUndoSlashed from"./modules/icons/components/IconUndoSlashed.js";import SvgIconUndo from"./modules/icons/components/IconUndo.js";import SvgIconUnion from"./modules/icons/components/IconUnion.js";import SvgIconUnlink from"./modules/icons/components/IconUnlink.js";import SvgIconUnlock from"./modules/icons/components/IconUnlock.js";import SvgIconUnreadMail from"./modules/icons/components/IconUnreadMail.js";import SvgIconUpload from"./modules/icons/components/IconUpload.js";import SvgIconUserSearch from"./modules/icons/components/IconUserSearch.js";import SvgIconUser from"./modules/icons/components/IconUser.js";import SvgIconUsers from"./modules/icons/components/IconUsers.js";import SvgIconVideo from"./modules/icons/components/IconVideo.js";import SvgIconViewCalendar from"./modules/icons/components/IconViewCalendar.js";import SvgIconViewList from"./modules/icons/components/IconViewList.js";import SvgIconWand from"./modules/icons/components/IconWand.js";import SvgIconWrite from"./modules/icons/components/IconWrite.js";import SvgIconZoomIn from"./modules/icons/components/IconZoomIn.js";import SvgIconZoomOut from"./modules/icons/components/IconZoomOut.js";export{SvgIconAdd as IconAdd,SvgIconAddUser as IconAddUser,SvgIconAddWidget as IconAddWidget,SvgIconAdjustSettings as IconAdjustSettings,SvgIconAiFill as IconAiFill,SvgIconAlertCircle as IconAlertCircle,SvgIconAlertTriangle as IconAlertTriangle,SvgIconAlignCenter as IconAlignCenter,SvgIconAlignJustify as IconAlignJustify,SvgIconAlignLeft as IconAlignLeft,SvgIconAlignRight as IconAlignRight,SvgIconAnswer as IconAnswer,SvgIconApplications as IconApplications,SvgIconArrowDown as IconArrowDown,SvgIconArrowLeft as IconArrowLeft,SvgIconArrowRight as IconArrowRight,SvgIconArrowUp as IconArrowUp,SvgIconBlock as IconBlock,SvgIconBlur as IconBlur,SvgIconBookmark as IconBookmark,SvgIconBulle as IconBulle,SvgIconBulleError as IconBulleError,SvgIconBulleSuccess as IconBulleSuccess,SvgIconBulletList as IconBulletList,SvgIconBurgerMenu as IconBurgerMenu,SvgIconCalendar as IconCalendar,SvgIconCalendarEdit as IconCalendarEdit,SvgIconCalendarLight as IconCalendarLight,SvgIconCamera as IconCamera,SvgIconCantoo as IconCantoo,SvgIconCenter as IconCenter,SvgIconCheck as IconCheck,SvgIconChecklist as IconChecklist,SvgIconClass as IconClass,SvgIconClock as IconClock,SvgIconClockAlert as IconClockAlert,SvgIconClose as IconClose,SvgIconCloseFullScreen as IconCloseFullScreen,SvgIconCode as IconCode,SvgIconCollect as IconCollect,SvgIconCopy as IconCopy,SvgIconCrop as IconCrop,SvgIconCut as IconCut,SvgIconDelete as IconDelete,SvgIconDeleteColor as IconDeleteColor,SvgIconDeleteColumn as IconDeleteColumn,SvgIconDeleteColumnHighlight as IconDeleteColumnHighlight,SvgIconDeleteRow as IconDeleteRow,SvgIconDeleteRowHighlight as IconDeleteRowHighlight,SvgIconDepositeInbox as IconDepositeInbox,SvgIconDownload as IconDownload,SvgIconEdit as IconEdit,SvgIconError as IconError,SvgIconExercizerAi as IconExercizerAi,SvgIconExternalLink as IconExternalLink,SvgIconFiles as IconFiles,SvgIconFilter as IconFilter,SvgIconFlag as IconFlag,SvgIconFolder as IconFolder,SvgIconFolderAdd as IconFolderAdd,SvgIconFolderDelete as IconFolderDelete,SvgIconFolderMove as IconFolderMove,SvgIconForgoing as IconForgoing,SvgIconFullScreen as IconFullScreen,SvgIconGlobe as IconGlobe,SvgIconGlobe2 as IconGlobe2,SvgIconGroupAvatar as IconGroupAvatar,SvgIconHandMove as IconHandMove,SvgIconHeadphone as IconHeadphone,SvgIconHide as IconHide,SvgIconHighlightColumn as IconHighlightColumn,SvgIconHighlightRow as IconHighlightRow,SvgIconHome as IconHome,SvgIconHourglass as IconHourglass,SvgIconImageSizeLarge as IconImageSizeLarge,SvgIconImageSizeMedium as IconImageSizeMedium,SvgIconImageSizeSmall as IconImageSizeSmall,SvgIconInbox as IconInbox,SvgIconInfoCircle as IconInfoCircle,SvgIconInfoRectangle as IconInfoRectangle,SvgIconLabel as IconLabel,SvgIconLandscape as IconLandscape,SvgIconLibrary as IconLibrary,SvgIconLink as IconLink,SvgIconListOrder as IconListOrder,SvgIconLoader as IconLoader,SvgIconLock as IconLock,SvgIconLogout as IconLogout,SvgIconLsuArt as IconLsuArt,SvgIconLsuCompetenceNumerique as IconLsuCompetenceNumerique,SvgIconLsuEmc as IconLsuEmc,SvgIconLsuFrancais as IconLsuFrancais,SvgIconLsuHistoireGeo as IconLsuHistoireGeo,SvgIconLsuLangue as IconLsuLangue,SvgIconLsuLangue2 as IconLsuLangue2,SvgIconLsuMath as IconLsuMath,SvgIconLsuParcoursEducatif as IconLsuParcoursEducatif,SvgIconLsuSport as IconLsuSport,SvgIconLsuSvt as IconLsuSvt,SvgIconMail as IconMail,SvgIconMailRecall as IconMailRecall,SvgIconMegaphone as IconMegaphone,SvgIconMergeCells as IconMergeCells,SvgIconMessageInfo as IconMessageInfo,SvgIconMic as IconMic,SvgIconMicOff as IconMicOff,SvgIconMinus as IconMinus,SvgIconMove as IconMove,SvgIconNoColors as IconNoColors,SvgIconNotes as IconNotes,SvgIconNotification as IconNotification,SvgIconOptions as IconOptions,SvgIconOrderedList as IconOrderedList,SvgIconPaperclip as IconPaperclip,SvgIconParcoursCitoyen as IconParcoursCitoyen,SvgIconParcoursSecours as IconParcoursSecours,SvgIconPause as IconPause,SvgIconPinOff as IconPinOff,SvgIconPinOn as IconPinOn,SvgIconPlaceholder as IconPlaceholder,SvgIconPlay as IconPlay,SvgIconPlayFilled as IconPlayFilled,SvgIconPlus as IconPlus,SvgIconPointerDefault as IconPointerDefault,SvgIconPointerHand as IconPointerHand,SvgIconPrint as IconPrint,SvgIconQuestion as IconQuestion,SvgIconQuestionMark as IconQuestionMark,SvgIconRafterDown as IconRafterDown,SvgIconRafterLeft as IconRafterLeft,SvgIconRafterRight as IconRafterRight,SvgIconRafterUp as IconRafterUp,SvgIconReaction as IconReaction,SvgIconReadMail as IconReadMail,SvgIconRecord as IconRecord,SvgIconRecordPause as IconRecordPause,SvgIconRecordStop as IconRecordStop,SvgIconRecordVideo as IconRecordVideo,SvgIconRedo as IconRedo,SvgIconRefresh as IconRefresh,SvgIconReset as IconReset,SvgIconRestart as IconRestart,SvgIconRestore as IconRestore,SvgIconSave as IconSave,SvgIconSearch as IconSearch,SvgIconSee as IconSee,SvgIconSend as IconSend,SvgIconSetBackground as IconSetBackground,SvgIconSettings as IconSettings,SvgIconShare as IconShare,SvgIconSignature as IconSignature,SvgIconSmartphone as IconSmartphone,SvgIconSmiley as IconSmiley,SvgIconSortAscendingLetters as IconSortAscendingLetters,SvgIconSortDescending as IconSortDescending,SvgIconSortDescendingLetters as IconSortDescendingLetters,SvgIconSortTime as IconSortTime,SvgIconSpeechToText as IconSpeechToText,SvgIconSplitCells as IconSplitCells,SvgIconSquareRoot as IconSquareRoot,SvgIconStar as IconStar,SvgIconStarFull as IconStarFull,SvgIconSubmission as IconSubmission,SvgIconSubmitToValidate as IconSubmitToValidate,SvgIconSubscript as IconSubscript,SvgIconSuccessFill as IconSuccessFill,SvgIconSuccessOutline as IconSuccessOutline,SvgIconSuperscript as IconSuperscript,SvgIconTable as IconTable,SvgIconTeacher as IconTeacher,SvgIconTextBold as IconTextBold,SvgIconTextColor as IconTextColor,SvgIconTextHighlight as IconTextHighlight,SvgIconTextItalic as IconTextItalic,SvgIconTextPage as IconTextPage,SvgIconTextSize as IconTextSize,SvgIconTextToSpeech as IconTextToSpeech,SvgIconTextToSpeechOff as IconTextToSpeechOff,SvgIconTextTypo as IconTextTypo,SvgIconTextUnderline as IconTextUnderline,SvgIconTextVanilla as IconTextVanilla,SvgIconThumbDown as IconThumbDown,SvgIconThumbUp as IconThumbUp,SvgIconTool as IconTool,SvgIconToolCenter as IconToolCenter,SvgIconTrendingUp as IconTrendingUp,SvgIconUndo as IconUndo,SvgIconUndoAll as IconUndoAll,SvgIconUndoSlashed as IconUndoSlashed,SvgIconUnion as IconUnion,SvgIconUnlink as IconUnlink,SvgIconUnlock as IconUnlock,SvgIconUnreadMail as IconUnreadMail,SvgIconUpload as IconUpload,SvgIconUser as IconUser,SvgIconUserSearch as IconUserSearch,SvgIconUsers as IconUsers,SvgIconVideo as IconVideo,SvgIconViewCalendar as IconViewCalendar,SvgIconViewList as IconViewList,SvgIconWand as IconWand,SvgIconWrite as IconWrite,SvgIconZoomIn as IconZoomIn,SvgIconZoomOut as IconZoomOut};
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- import ActionBar from"./components/ActionBar/ActionBar.js";import Loading from"./components/Loading/Loading.js";import Button from"./components/Button/Button.js";import Flex from"./components/Flex/Flex.js";import IconButton from"./components/Button/IconButton.js";import{EdificeThemeContext}from"./providers/EdificeThemeProvider/EdificeThemeProvider.context.js";import{useEdificeTheme}from"./providers/EdificeThemeProvider/EdificeThemeProvider.hook.js";import useUiOverride from"./hooks/useUiOverride/useUiOverride.js";import useUserPreferences from"./hooks/useUserPreferences/useUserPreferences.js";import useBackground_default from"./hooks/useBackground/useBackground.js";import{EdificeClientContext}from"./providers/EdificeClientProvider/EdificeClientProvider.context.js";import{useEdificeClient}from"./providers/EdificeClientProvider/EdificeClientProvider.hook.js";import useBookmark from"./hooks/useBookmark/useBookmark.js";import useBreakpoint from"./hooks/useBreakpoint/useBreakpoint.js";import useBrowserInfo from"./hooks/useBrowserInfo/useBrowserInfo.js";import useHasWorkflow from"./hooks/useHasWorkflow/useHasWorkflow.js";import useCantoo from"./hooks/useCantoo/useCantoo.js";import useCarbonioUnread from"./hooks/useCarbonioUnread/useCarbonioUnread.js";import{useCheckable}from"./hooks/useCheckable/useCheckable.js";import useClickOutside from"./hooks/useClickOutside/useClickOutside.js";import useConversation from"./hooks/useConversation/useConversation.js";import useDate from"./hooks/useDate/useDate.js";import useDebounce from"./hooks/useDebounce/useDebounce.js";import useDirectory from"./hooks/useDirectory/useDirectory.js";import{mergeRefs,setRef}from"./utilities/refs/ref.js";import useDropdown from"./hooks/useDropdown/useDropdown.js";import useDropzone from"./hooks/useDropzone/useDropzone.js";import useEdificeIcons from"./hooks/useEdificeIcons/useEdificeIcons.js";import useHover from"./hooks/useHover/useHover.js";import ConfirmModal from"./modules/modals/ConfirmModal/ConfirmModal.js";import OnboardingModal from"./modules/modals/OnboardingModal/OnboardingModal.js";import AudioRecorder from"./modules/multimedia/AudioRecorder/AudioRecorder.js";import Embed from"./modules/multimedia/Embed/Embed.js";import ImageEditor from"./modules/multimedia/ImageEditor/components/ImageEditor.js";import ImagePicker from"./modules/multimedia/ImagePicker/ImagePicker.js";import FileCard from"./modules/multimedia/FileCard/FileCard.js";import SearchButton from"./components/Button/SearchButton.js";import useImage from"./hooks/useImage/useImage.js";import Image from"./components/Image/Image.js";import AppIcon from"./components/AppIcon/AppIcon.js";import Avatar from"./components/Avatar/Avatar.js";import Card from"./components/Card/Card.js";import NextcloudFileCard from"./modules/multimedia/FileCard/NextcloudFileCard.js";import ExternalLinker from"./modules/multimedia/Linker/ExternalLinker/ExternalLinker.js";import{emptyScreenMapping}from"./utilities/emptyscreen-mapping/emptyscreen-mapping.js";import InternalLinker from"./modules/multimedia/Linker/InternalLinker/InternalLinker.js";import Checkbox from"./components/Checkbox/Checkbox.js";import useToggle from"./hooks/useToggle/useToggle.js";import useUser from"./hooks/useUser/useUser.js";import Radio from"./components/Radio/Radio.js";import FormText from"./components/Form/FormText.js";import Input from"./components/Input/Input.js";import Label from"./components/Label/Label.js";import FormControl from"./components/Form/FormControl.js";import SearchBar from"./components/SearchBar/SearchBar.js";import Badge from"./components/Badge/Badge.js";import Dropdown from"./components/Dropdown/Dropdown.js";import{DropdownVirtualizedMenu}from"./components/Dropdown/DropdownVirtualizedMenu.js";import Heading from"./components/Heading/Heading.js";import EmptyScreen from"./components/EmptyScreen/EmptyScreen.js";import{Column,Grid}from"./components/Grid/Grid.js";import LoadingScreen from"./components/LoadingScreen/LoadingScreen.js";import{checkUserRight}from"./utilities/check-user-rights/check-user-rights.js";import{createSelectors}from"./utilities/create-selectors/create-selectors.js";import{invalidateQueriesWithFirstPage}from"./utilities/react-query/react-query-utils.js";import{getRotateTransitionStyle}from"./utilities/rotate-transition-style/get-rotate-transition-style.js";import Tree from"./components/Tree/components/Tree.js";import DndTree from"./components/Tree/components/DndTree.js";import{buildTree,determineNewParentId,findItemIndexInTree,flattenNodes,flattenTree,generateUpdateData,getActiveAndOverNodes,getDragDepth,getIndicesToUpdate,getProjection,updateParentIds}from"./components/Tree/utilities/tree-sortable.js";import{useTreeSortable}from"./components/Tree/hooks/useTreeSortable.js";import SortableTree from"./components/Tree/components/SortableTree.js";import Nextcloud from"./modules/multimedia/Nextcloud/Nextcloud.js";import{DropzoneContext,useDropzoneContext}from"./components/Dropzone/DropzoneContext.js";import Dropzone from"./components/Dropzone/Dropzone.js";import UploadCard from"./modules/multimedia/UploadCard/UploadCard.js";import UploadFiles from"./modules/multimedia/UploadFiles/UploadFiles.js";import{Upload}from"./modules/multimedia/MediaLibrary/innertabs/Upload.js";import VideoRecorder from"./modules/multimedia/VideoRecorder/VideoRecorder.js";import VideoEmbed from"./modules/multimedia/VideoEmbed/VideoEmbed.js";import{TreeNodeFolderWrapper,addNode,arrayUnique,deleteNode,findNodeById,findParentNode,findPathById,findTreeNode,getAncestors,hasChildren,modifyNode,moveNode,updateNode,wrapTreeNode}from"./components/TreeView/utilities/treeview.js";import Workspace from"./modules/multimedia/Workspace/Workspace.js";import MediaLibrary from"./modules/multimedia/MediaLibrary/MediaLibrary.js";import NextcloudFolders from"./modules/multimedia/NextcloudFolders/NextcloudFolders.js";import ButtonBeta from"./components/ButtonBeta/ButtonBeta.js";import Alert from"./components/Alert/Alert.js";import useToast from"./hooks/useToast/useToast.js";import useWorkspaceFolders from"./hooks/useWorkspaceFolders/useWorkspaceFolders.js";import useWorkspaceFoldersTree,{WORKSPACE_SHARED_FOLDER_ID,WORKSPACE_USER_FOLDER_ID}from"./hooks/useWorkspaceFolders/useWorkspaceFoldersTree.js";import WorkspaceFolders from"./modules/multimedia/WorkspaceFolders/WorkspaceFolders.js";import PublishModal from"./modules/modals/PublishModal/PublishModal.js";import BlogPublic from"./modules/modals/ResourceModal/apps/BlogPublic.js";import useUpdateMutation from"./modules/modals/ResourceModal/hooks/useUpdateMutation.js";import AntProvider from"./providers/AntThemeProvider/AntProvider.js";import{EdificeClientProvider}from"./providers/EdificeClientProvider/EdificeClientProvider.js";import{EdificeThemeProvider}from"./providers/EdificeThemeProvider/EdificeThemeProvider.js";import usePublicConf from"./hooks/usePublicConf/usePublicConf.js";import{EdificeScreebProvider}from"./providers/EdificeScreebProvider/EdificeScreebProvider.js";import{MockedProvider}from"./providers/MockedProvider/MockedProvider.js";import ResourceModal from"./modules/modals/ResourceModal/ResourceModal.js";import ShareBlog from"./modules/modals/ShareModal/apps/ShareBlog.js";import useShareMutation from"./modules/modals/ShareModal/hooks/useShareMutation.js";import ShareResources from"./modules/modals/ShareModal/ShareResources.js";import ShareResourceModal from"./modules/modals/ShareModal/ShareModal.js";import useHttpErrorToast from"./hooks/useHttpErrorToast/useHttpErrorToast.js";import useInfiniteScroll from"./hooks/useInfiniteScroll/useInfiniteScroll.js";import useIsAdmc from"./hooks/useIsAdmc/useIsAdmc.js";import useIsAdml from"./hooks/useIsAdml/useIsAdml.js";import useIsAdmlcOrAdmc from"./hooks/useIsAdmlcOrAdmc/useIsAdmlcOrAdmc.js";import useKeyPress from"./hooks/useKeyPress/useKeyPress.js";import useLibraryUrl from"./hooks/useLibraryUrl/useLibraryUrl.js";import useWorkspaceFile from"./hooks/useWorkspaceFile/useWorkspaceFile.js";import useMediaLibrary from"./hooks/useMediaLibrary/useMediaLibrary.js";import useNextcloudSearch from"./hooks/useNextcloudSearch/useNextcloudSearch.js";import{useScreeb}from"./hooks/useScreeb/useScreeb.js";import useScrollToTop from"./hooks/useScrollToTop/useScrollToTop.js";import useTitle from"./hooks/useTitle/useTitle.js";import useTrapFocus from"./hooks/useTrapFocus/useTrapFocus.js";import useTrashedResource from"./hooks/useTrashedResource/useTrashedResource.js";import useUpload from"./hooks/useUpload/useUpload.js";import useUploadFiles from"./hooks/useUploadFiles/useUploadFiles.js";import useWorkspaceSearch from"./hooks/useWorkspaceSearch/useWorkspaceSearch.js";import useXitiTrackPageLoad from"./hooks/useXitiTrackPageLoad/useXitiTrackPageLoad.js";import useZendeskGuide from"./hooks/useZendeskGuide/useZendeskGuide.js";import Modal from"./components/Modal/Modal.js";import Tooltip from"./components/Tooltip/Tooltip.js";import Attachment from"./components/Attachment/Attachment.js";import{useFileToAttachment}from"./components/AddAttachments/hooks/useFileToAttachment.js";import AddAttachments from"./components/AddAttachments/AddAttachments.js";import AppHeader from"./components/AppHeader/AppHeader.js";import StackedGroup from"./components/StackedGroup/StackedGroup.js";import AvatarGroup from"./components/AvatarGroup/AvatarGroup.js";import BetaSwitch from"./components/BetaSwitch/BetaSwitch.js";import Breadcrumb from"./components/Breadcrumb/Breadcrumb.js";import{AccessiblePalette,DefaultPalette}from"./components/ColorPicker/ColorPalette.js";import ColorPickerItem from"./components/ColorPicker/ColorPickerItem.js";import ColorPicker from"./components/ColorPicker/ColorPicker.js";import Combobox from"./components/Combobox/Combobox.js";import DatePicker from"./components/DatePicker/DatePicker.js";import Divider from"./components/Divider/Divider.js";import{useOverlay}from"./components/PageLayout/hook/useOverlay.js";import Layout from"./components/Layout/Layout.js";import LinkPill from"./components/LinkPill/LinkPill.js";import{List}from"./components/List/List.js";import Logo from"./components/Logo/Logo.js";import LogoBeta from"./components/LogoBeta/LogoBeta.js";import MediaViewer from"./components/MediaViewer/MediaViewer.js";import{Menu}from"./components/Menu/components/Menu.js";import ModalBeta from"./components/ModalBeta/ModalBeta.js";import{PageLayoutContext,usePageLayout}from"./components/PageLayout/PageLayoutContext.js";import PageLayout from"./components/PageLayout/PageLayout.js";import{Pagination}from"./components/Pagination/Pagination.js";import{Popover,PopoverBody,PopoverFooter,PopoverHeader}from"./components/Popover/Popover.js";import PreventPropagation from"./components/PreventPropagation/PreventPropagation.js";import PromotionCard,{Root}from"./components/PromotionCard/PromotionCard.js";import RadioCard from"./components/RadioCard/RadioCard.js";import RadioTile from"./components/RadioTile/RadioTile.js";import SegmentedControl from"./components/SegmentedControl/SegmentedControl.js";import Select from"./components/Select/Select.js";import ButtonSkeleton from"./components/Skeleton/ButtonSkeleton.js";import Skeleton from"./components/Skeleton/Skeleton.js";import TextSkeleton from"./components/Skeleton/TextSkeleton.js";import Stepper from"./components/Stepper/Stepper.js";import Switch from"./components/Switch/Switch.js";import Table from"./components/Table/components/Table.js";import Tabs from"./components/Tabs/components/Tabs.js";import TextArea from"./components/TextArea/TextArea.js";import Toolbar from"./components/Toolbar/Toolbar.js";import{useTreeView}from"./components/TreeView/hooks/useTreeView.js";import{TreeNode}from"./components/TreeView/TreeNode.js";import TreeView from"./components/TreeView/TreeView.js";import VisuallyHidden from"./components/VisuallyHidden/VisuallyHidden.js";import{UserRightsList}from"./components/UserRightsList/UserRightsList.js";import{VisibleType}from"./components/UserSearch/types/visible.js";import{UserSearch}from"./components/UserSearch/UserSearch.js";export{AccessiblePalette,ActionBar,AddAttachments,Alert,AntProvider,AppHeader,AppIcon,Attachment,AudioRecorder,Avatar,AvatarGroup,Badge,BetaSwitch,BlogPublic,Breadcrumb,Button,ButtonBeta,ButtonSkeleton,Card,Checkbox,ColorPicker,ColorPickerItem,Column,Combobox,ConfirmModal,DatePicker,DefaultPalette,Divider,DndTree,Dropdown,DropdownVirtualizedMenu,Dropzone,DropzoneContext,EdificeClientContext,EdificeClientProvider,EdificeScreebProvider,EdificeThemeContext,EdificeThemeProvider,Embed,EmptyScreen,ExternalLinker,FileCard,Flex,FormControl,FormText,Grid,Heading,IconButton,Image,ImageEditor,ImagePicker,Input,InternalLinker,Label,Layout,LinkPill,List,Loading,LoadingScreen,Logo,LogoBeta,MediaLibrary,MediaViewer,Menu,MockedProvider,Modal,ModalBeta,Nextcloud,NextcloudFileCard,NextcloudFolders,OnboardingModal,PageLayout,PageLayoutContext,Pagination,Popover,PopoverBody,PopoverFooter,PopoverHeader,PreventPropagation,PromotionCard,PublishModal,Radio,RadioCard,RadioTile,ResourceModal,Root,SearchBar,SearchButton,SegmentedControl,Select,ShareBlog,ShareResourceModal as ShareModal,ShareResources,Skeleton,SortableTree,StackedGroup,Stepper,Switch,Table,Tabs,TextArea,TextSkeleton,Toolbar,Tooltip,Tree,TreeNode,TreeNodeFolderWrapper,TreeView,Upload,UploadCard,UploadFiles,UserRightsList,UserSearch,VideoEmbed,VideoRecorder,VisibleType,VisuallyHidden,WORKSPACE_SHARED_FOLDER_ID,WORKSPACE_USER_FOLDER_ID,Workspace,WorkspaceFolders,addNode,arrayUnique,buildTree,checkUserRight,createSelectors,deleteNode,determineNewParentId,emptyScreenMapping,findItemIndexInTree,findNodeById,findParentNode,findPathById,findTreeNode,flattenNodes,flattenTree,generateUpdateData,getActiveAndOverNodes,getAncestors,getDragDepth,getIndicesToUpdate,getProjection,getRotateTransitionStyle,hasChildren,invalidateQueriesWithFirstPage,mergeRefs,modifyNode,moveNode,setRef,updateNode,updateParentIds,useBackground_default as useBackground,useBookmark,useBreakpoint,useBrowserInfo,useCantoo,useCarbonioUnread,useCheckable,useClickOutside,useConversation,useDate,useDebounce,useDirectory,useDropdown,useDropzone,useDropzoneContext,useEdificeClient,useEdificeIcons,useEdificeTheme,useFileToAttachment,useHasWorkflow,useHover,useHttpErrorToast,useImage,useInfiniteScroll,useIsAdmc,useIsAdml,useIsAdmlcOrAdmc,useKeyPress,useLibraryUrl,useMediaLibrary,useNextcloudSearch,useOverlay,usePageLayout,usePublicConf,useScreeb,useScrollToTop,useShareMutation,useTitle,useToast,useToggle,useTrapFocus,useTrashedResource,useTreeSortable,useTreeView,useUiOverride,useUpdateMutation,useUpload,useUploadFiles,useUser,useUserPreferences,useWorkspaceFile,useWorkspaceFolders,useWorkspaceFoldersTree,useWorkspaceSearch,useXitiTrackPageLoad,useZendeskGuide,wrapTreeNode};
1
+ import ActionBar from"./components/ActionBar/ActionBar.js";import Loading from"./components/Loading/Loading.js";import Button from"./components/Button/Button.js";import Flex from"./components/Flex/Flex.js";import IconButton from"./components/Button/IconButton.js";import{EdificeThemeContext}from"./providers/EdificeThemeProvider/EdificeThemeProvider.context.js";import{useEdificeTheme}from"./providers/EdificeThemeProvider/EdificeThemeProvider.hook.js";import useUiOverride from"./hooks/useUiOverride/useUiOverride.js";import useUserPreferences from"./hooks/useUserPreferences/useUserPreferences.js";import useBackground_default from"./hooks/useBackground/useBackground.js";import{EdificeClientContext}from"./providers/EdificeClientProvider/EdificeClientProvider.context.js";import{useEdificeClient}from"./providers/EdificeClientProvider/EdificeClientProvider.hook.js";import useBookmark from"./hooks/useBookmark/useBookmark.js";import useBreakpoint from"./hooks/useBreakpoint/useBreakpoint.js";import useBrowserInfo from"./hooks/useBrowserInfo/useBrowserInfo.js";import useHasWorkflow from"./hooks/useHasWorkflow/useHasWorkflow.js";import useCantoo from"./hooks/useCantoo/useCantoo.js";import useCarbonioUnread from"./hooks/useCarbonioUnread/useCarbonioUnread.js";import{useCheckable}from"./hooks/useCheckable/useCheckable.js";import useClickOutside from"./hooks/useClickOutside/useClickOutside.js";import useConversation from"./hooks/useConversation/useConversation.js";import useDate from"./hooks/useDate/useDate.js";import useDebounce from"./hooks/useDebounce/useDebounce.js";import useDirectory from"./hooks/useDirectory/useDirectory.js";import{mergeRefs,setRef}from"./utilities/refs/ref.js";import useDropdown from"./hooks/useDropdown/useDropdown.js";import useDropzone from"./hooks/useDropzone/useDropzone.js";import useEdificeIcons from"./hooks/useEdificeIcons/useEdificeIcons.js";import useHover from"./hooks/useHover/useHover.js";import ConfirmModal from"./modules/modals/ConfirmModal/ConfirmModal.js";import OnboardingModal from"./modules/modals/OnboardingModal/OnboardingModal.js";import AudioRecorder from"./modules/multimedia/AudioRecorder/AudioRecorder.js";import Embed from"./modules/multimedia/Embed/Embed.js";import ImageEditor from"./modules/multimedia/ImageEditor/components/ImageEditor.js";import ImagePicker from"./modules/multimedia/ImagePicker/ImagePicker.js";import FileCard from"./modules/multimedia/FileCard/FileCard.js";import SearchButton from"./components/Button/SearchButton.js";import useImage from"./hooks/useImage/useImage.js";import Image from"./components/Image/Image.js";import AppIcon from"./components/AppIcon/AppIcon.js";import Avatar from"./components/Avatar/Avatar.js";import Card from"./components/Card/Card.js";import NextcloudFileCard from"./modules/multimedia/FileCard/NextcloudFileCard.js";import ExternalLinker from"./modules/multimedia/Linker/ExternalLinker/ExternalLinker.js";import{emptyScreenMapping}from"./utilities/emptyscreen-mapping/emptyscreen-mapping.js";import InternalLinker from"./modules/multimedia/Linker/InternalLinker/InternalLinker.js";import Checkbox from"./components/Checkbox/Checkbox.js";import useToggle from"./hooks/useToggle/useToggle.js";import useUser from"./hooks/useUser/useUser.js";import Radio from"./components/Radio/Radio.js";import ButtonBeta from"./components/ButtonBeta/ButtonBeta.js";import FormText from"./components/Form/FormText.js";import Input from"./components/Input/Input.js";import Label from"./components/Label/Label.js";import FormControl from"./components/Form/FormControl.js";import SearchBar from"./components/SearchBar/SearchBar.js";import Badge from"./components/Badge/Badge.js";import{DropdownVirtualizedMenu}from"./components/Dropdown/DropdownVirtualizedMenu.js";import Dropdown from"./components/Dropdown/Dropdown.js";import Heading from"./components/Heading/Heading.js";import EmptyScreen from"./components/EmptyScreen/EmptyScreen.js";import{Column,Grid}from"./components/Grid/Grid.js";import LoadingScreen from"./components/LoadingScreen/LoadingScreen.js";import{checkUserRight}from"./utilities/check-user-rights/check-user-rights.js";import{createSelectors}from"./utilities/create-selectors/create-selectors.js";import{invalidateQueriesWithFirstPage}from"./utilities/react-query/react-query-utils.js";import{getRotateTransitionStyle}from"./utilities/rotate-transition-style/get-rotate-transition-style.js";import Tree from"./components/Tree/components/Tree.js";import DndTree from"./components/Tree/components/DndTree.js";import{buildTree,determineNewParentId,findItemIndexInTree,flattenNodes,flattenTree,generateUpdateData,getActiveAndOverNodes,getDragDepth,getIndicesToUpdate,getProjection,updateParentIds}from"./components/Tree/utilities/tree-sortable.js";import{useTreeSortable}from"./components/Tree/hooks/useTreeSortable.js";import SortableTree from"./components/Tree/components/SortableTree.js";import Nextcloud from"./modules/multimedia/Nextcloud/Nextcloud.js";import{DropzoneContext,useDropzoneContext}from"./components/Dropzone/DropzoneContext.js";import Dropzone from"./components/Dropzone/Dropzone.js";import UploadCard from"./modules/multimedia/UploadCard/UploadCard.js";import UploadFiles from"./modules/multimedia/UploadFiles/UploadFiles.js";import{Upload}from"./modules/multimedia/MediaLibrary/innertabs/Upload.js";import VideoRecorder from"./modules/multimedia/VideoRecorder/VideoRecorder.js";import VideoEmbed from"./modules/multimedia/VideoEmbed/VideoEmbed.js";import{TreeNodeFolderWrapper,addNode,arrayUnique,deleteNode,findNodeById,findParentNode,findPathById,findTreeNode,getAncestors,hasChildren,modifyNode,moveNode,updateNode,wrapTreeNode}from"./components/TreeView/utilities/treeview.js";import Workspace from"./modules/multimedia/Workspace/Workspace.js";import MediaLibrary from"./modules/multimedia/MediaLibrary/MediaLibrary.js";import NextcloudFolders from"./modules/multimedia/NextcloudFolders/NextcloudFolders.js";import Alert from"./components/Alert/Alert.js";import useToast from"./hooks/useToast/useToast.js";import useWorkspaceFolders from"./hooks/useWorkspaceFolders/useWorkspaceFolders.js";import useWorkspaceFoldersTree,{WORKSPACE_SHARED_FOLDER_ID,WORKSPACE_USER_FOLDER_ID}from"./hooks/useWorkspaceFolders/useWorkspaceFoldersTree.js";import WorkspaceFolders from"./modules/multimedia/WorkspaceFolders/WorkspaceFolders.js";import PublishModal from"./modules/modals/PublishModal/PublishModal.js";import BlogPublic from"./modules/modals/ResourceModal/apps/BlogPublic.js";import useUpdateMutation from"./modules/modals/ResourceModal/hooks/useUpdateMutation.js";import AntProvider from"./providers/AntThemeProvider/AntProvider.js";import{EdificeClientProvider}from"./providers/EdificeClientProvider/EdificeClientProvider.js";import{EdificeThemeProvider}from"./providers/EdificeThemeProvider/EdificeThemeProvider.js";import usePublicConf from"./hooks/usePublicConf/usePublicConf.js";import{EdificeScreebProvider}from"./providers/EdificeScreebProvider/EdificeScreebProvider.js";import{MockedProvider}from"./providers/MockedProvider/MockedProvider.js";import ResourceModal from"./modules/modals/ResourceModal/ResourceModal.js";import ShareBlog from"./modules/modals/ShareModal/apps/ShareBlog.js";import useShareMutation from"./modules/modals/ShareModal/hooks/useShareMutation.js";import ShareResources from"./modules/modals/ShareModal/ShareResources.js";import ShareResourceModal from"./modules/modals/ShareModal/ShareModal.js";import useHttpErrorToast from"./hooks/useHttpErrorToast/useHttpErrorToast.js";import useInfiniteScroll from"./hooks/useInfiniteScroll/useInfiniteScroll.js";import useIsAdmc from"./hooks/useIsAdmc/useIsAdmc.js";import useIsAdml from"./hooks/useIsAdml/useIsAdml.js";import useIsAdmlcOrAdmc from"./hooks/useIsAdmlcOrAdmc/useIsAdmlcOrAdmc.js";import useKeyPress from"./hooks/useKeyPress/useKeyPress.js";import useLibraryUrl from"./hooks/useLibraryUrl/useLibraryUrl.js";import useWorkspaceFile from"./hooks/useWorkspaceFile/useWorkspaceFile.js";import useMediaLibrary from"./hooks/useMediaLibrary/useMediaLibrary.js";import useNextcloudSearch from"./hooks/useNextcloudSearch/useNextcloudSearch.js";import{useScreeb}from"./hooks/useScreeb/useScreeb.js";import useScrollToTop from"./hooks/useScrollToTop/useScrollToTop.js";import useTitle from"./hooks/useTitle/useTitle.js";import useTrapFocus from"./hooks/useTrapFocus/useTrapFocus.js";import useTrashedResource from"./hooks/useTrashedResource/useTrashedResource.js";import useUpload from"./hooks/useUpload/useUpload.js";import useUploadFiles from"./hooks/useUploadFiles/useUploadFiles.js";import useWorkspaceSearch from"./hooks/useWorkspaceSearch/useWorkspaceSearch.js";import useXitiTrackPageLoad from"./hooks/useXitiTrackPageLoad/useXitiTrackPageLoad.js";import useZendeskGuide from"./hooks/useZendeskGuide/useZendeskGuide.js";import Modal from"./components/Modal/Modal.js";import Tooltip from"./components/Tooltip/Tooltip.js";import Attachment from"./components/Attachment/Attachment.js";import{useFileToAttachment}from"./components/AddAttachments/hooks/useFileToAttachment.js";import AddAttachments from"./components/AddAttachments/AddAttachments.js";import AppHeader from"./components/AppHeader/AppHeader.js";import StackedGroup from"./components/StackedGroup/StackedGroup.js";import AvatarGroup from"./components/AvatarGroup/AvatarGroup.js";import BetaSwitch from"./components/BetaSwitch/BetaSwitch.js";import Breadcrumb from"./components/Breadcrumb/Breadcrumb.js";import{AccessiblePalette,DefaultPalette}from"./components/ColorPicker/ColorPalette.js";import ColorPickerItem from"./components/ColorPicker/ColorPickerItem.js";import ColorPicker from"./components/ColorPicker/ColorPicker.js";import Combobox from"./components/Combobox/Combobox.js";import DatePicker from"./components/DatePicker/DatePicker.js";import Divider from"./components/Divider/Divider.js";import{useOverlay}from"./components/PageLayout/hook/useOverlay.js";import Layout from"./components/Layout/Layout.js";import LinkPill from"./components/LinkPill/LinkPill.js";import{List}from"./components/List/List.js";import Logo from"./components/Logo/Logo.js";import LogoBeta from"./components/LogoBeta/LogoBeta.js";import Masonry from"./components/Masonry/Masonry.js";import MediaViewer from"./components/MediaViewer/MediaViewer.js";import{Menu}from"./components/Menu/components/Menu.js";import ModalBeta from"./components/ModalBeta/ModalBeta.js";import{PageLayoutContext,usePageLayout}from"./components/PageLayout/PageLayoutContext.js";import PageLayout from"./components/PageLayout/PageLayout.js";import{Pagination}from"./components/Pagination/Pagination.js";import{Popover,PopoverBody,PopoverFooter,PopoverHeader}from"./components/Popover/Popover.js";import PreventPropagation from"./components/PreventPropagation/PreventPropagation.js";import PromotionCard,{Root}from"./components/PromotionCard/PromotionCard.js";import RadioCard from"./components/RadioCard/RadioCard.js";import RadioTile from"./components/RadioTile/RadioTile.js";import SegmentedControl from"./components/SegmentedControl/SegmentedControl.js";import Select from"./components/Select/Select.js";import ButtonSkeleton from"./components/Skeleton/ButtonSkeleton.js";import Skeleton from"./components/Skeleton/Skeleton.js";import TextSkeleton from"./components/Skeleton/TextSkeleton.js";import Stepper from"./components/Stepper/Stepper.js";import Switch from"./components/Switch/Switch.js";import Table from"./components/Table/components/Table.js";import Tabs from"./components/Tabs/components/Tabs.js";import TextArea from"./components/TextArea/TextArea.js";import Toolbar from"./components/Toolbar/Toolbar.js";import{useTreeView}from"./components/TreeView/hooks/useTreeView.js";import{TreeNode}from"./components/TreeView/TreeNode.js";import TreeView from"./components/TreeView/TreeView.js";import VisuallyHidden from"./components/VisuallyHidden/VisuallyHidden.js";import{UserRightsList}from"./components/UserRightsList/UserRightsList.js";import{VisibleType}from"./components/UserSearch/types/visible.js";import{UserSearch}from"./components/UserSearch/UserSearch.js";export{AccessiblePalette,ActionBar,AddAttachments,Alert,AntProvider,AppHeader,AppIcon,Attachment,AudioRecorder,Avatar,AvatarGroup,Badge,BetaSwitch,BlogPublic,Breadcrumb,Button,ButtonBeta,ButtonSkeleton,Card,Checkbox,ColorPicker,ColorPickerItem,Column,Combobox,ConfirmModal,DatePicker,DefaultPalette,Divider,DndTree,Dropdown,DropdownVirtualizedMenu,Dropzone,DropzoneContext,EdificeClientContext,EdificeClientProvider,EdificeScreebProvider,EdificeThemeContext,EdificeThemeProvider,Embed,EmptyScreen,ExternalLinker,FileCard,Flex,FormControl,FormText,Grid,Heading,IconButton,Image,ImageEditor,ImagePicker,Input,InternalLinker,Label,Layout,LinkPill,List,Loading,LoadingScreen,Logo,LogoBeta,Masonry,MediaLibrary,MediaViewer,Menu,MockedProvider,Modal,ModalBeta,Nextcloud,NextcloudFileCard,NextcloudFolders,OnboardingModal,PageLayout,PageLayoutContext,Pagination,Popover,PopoverBody,PopoverFooter,PopoverHeader,PreventPropagation,PromotionCard,PublishModal,Radio,RadioCard,RadioTile,ResourceModal,Root,SearchBar,SearchButton,SegmentedControl,Select,ShareBlog,ShareResourceModal as ShareModal,ShareResources,Skeleton,SortableTree,StackedGroup,Stepper,Switch,Table,Tabs,TextArea,TextSkeleton,Toolbar,Tooltip,Tree,TreeNode,TreeNodeFolderWrapper,TreeView,Upload,UploadCard,UploadFiles,UserRightsList,UserSearch,VideoEmbed,VideoRecorder,VisibleType,VisuallyHidden,WORKSPACE_SHARED_FOLDER_ID,WORKSPACE_USER_FOLDER_ID,Workspace,WorkspaceFolders,addNode,arrayUnique,buildTree,checkUserRight,createSelectors,deleteNode,determineNewParentId,emptyScreenMapping,findItemIndexInTree,findNodeById,findParentNode,findPathById,findTreeNode,flattenNodes,flattenTree,generateUpdateData,getActiveAndOverNodes,getAncestors,getDragDepth,getIndicesToUpdate,getProjection,getRotateTransitionStyle,hasChildren,invalidateQueriesWithFirstPage,mergeRefs,modifyNode,moveNode,setRef,updateNode,updateParentIds,useBackground_default as useBackground,useBookmark,useBreakpoint,useBrowserInfo,useCantoo,useCarbonioUnread,useCheckable,useClickOutside,useConversation,useDate,useDebounce,useDirectory,useDropdown,useDropzone,useDropzoneContext,useEdificeClient,useEdificeIcons,useEdificeTheme,useFileToAttachment,useHasWorkflow,useHover,useHttpErrorToast,useImage,useInfiniteScroll,useIsAdmc,useIsAdml,useIsAdmlcOrAdmc,useKeyPress,useLibraryUrl,useMediaLibrary,useNextcloudSearch,useOverlay,usePageLayout,usePublicConf,useScreeb,useScrollToTop,useShareMutation,useTitle,useToast,useToggle,useTrapFocus,useTrashedResource,useTreeSortable,useTreeView,useUiOverride,useUpdateMutation,useUpload,useUploadFiles,useUser,useUserPreferences,useWorkspaceFile,useWorkspaceFolders,useWorkspaceFoldersTree,useWorkspaceSearch,useXitiTrackPageLoad,useZendeskGuide,wrapTreeNode};
@@ -1 +1 @@
1
- import SvgIconQuestion from"../icons/components/IconQuestion.js";import ButtonBeta from"../../components/ButtonBeta/ButtonBeta.js";import Tooltip from"../../components/Tooltip/Tooltip.js";import SvgIconLogoEdificeFull from"../icons/components/logo/IconLogoEdificeFull.js";import SvgIconLogoEdificeSmall from"../icons/components/logo/IconLogoEdificeSmall.js";import clsx$1 from"clsx";import{useEffect,useRef,useState}from"react";import{jsx,jsxs}from"react/jsx-runtime";import{useTranslation}from"react-i18next";import{createPortal}from"react-dom";var HelpZone=({isReady,isOpen,onOpen,onClose})=>{let{t}=useTranslation(),[portalRoot,setPortalRoot]=useState(null),[isCompact,setIsCompact]=useState(!1),questionButtonRef=useRef(null);return useEffect(()=>(document.body.classList.add(`help-zone-active`),setPortalRoot(document.getElementById(`portal`)),()=>{document.body.classList.remove(`help-zone-active`)}),[]),useEffect(()=>{if(isCompact)return;let goCompact=()=>setIsCompact(!0),handleClick=event=>{questionButtonRef.current&&event.target instanceof Node&&questionButtonRef.current.contains(event.target)||goCompact()};return document.addEventListener(`scroll`,goCompact,{capture:!0,passive:!0}),document.addEventListener(`click`,handleClick),()=>{document.removeEventListener(`scroll`,goCompact,{capture:!0}),document.removeEventListener(`click`,handleClick)}},[isCompact]),!isReady||!portalRoot?null:createPortal(jsxs(`div`,{className:clsx$1(`help-zone`,{"help-zone--open":isOpen}),"aria-hidden":isOpen,children:[jsx(`a`,{className:`help-zone-badge`,href:`https://edifice.io/releases/`,target:`_blank`,rel:`noopener noreferrer`,"aria-label":t(`help-zone.edifice-releases-notes`),children:jsx(Tooltip,{message:t(`help-zone.edifice-releases-notes`),placement:`top`,className:`help-zone-tooltip`,children:jsx(`span`,{className:clsx$1(`help-zone-logo`,{"help-zone-logo--compact":isCompact,"help-zone-logo--full":!isCompact}),children:isCompact?jsx(SvgIconLogoEdificeSmall,{width:18,height:18}):jsx(SvgIconLogoEdificeFull,{width:81,height:18})})})}),jsx(`span`,{className:`help-zone-divider`}),jsx(ButtonBeta,{ref:questionButtonRef,className:`help-zone-question`,"aria-label":t(`help-zone.support.open`),color:`tertiary`,variant:`ghost`,onClick:()=>isOpen?onClose():onOpen(),children:jsx(Tooltip,{message:t(`help-zone.support.open`),placement:`top`,children:jsx(SvgIconQuestion,{width:24,height:24,color:`white`})})})]}),portalRoot)};export{HelpZone as default};
1
+ import SvgIconQuestion from"../icons/components/IconQuestion.js";import ButtonBeta from"../../components/ButtonBeta/ButtonBeta.js";import Tooltip from"../../components/Tooltip/Tooltip.js";import SvgIconLogoEdificeFull from"../icons/components/logo/IconLogoEdificeFull.js";import SvgIconLogoEdificeSmall from"../icons/components/logo/IconLogoEdificeSmall.js";import clsx$1 from"clsx";import{useEffect,useState}from"react";import{jsx,jsxs}from"react/jsx-runtime";import{useTranslation}from"react-i18next";import{createPortal}from"react-dom";var HelpZone=({isReady,isOpen,onOpen,onClose})=>{let{t}=useTranslation(),[portalRoot,setPortalRoot]=useState(null),[isCompact,setIsCompact]=useState(!1);return useEffect(()=>(document.body.classList.add(`help-zone-active`),setPortalRoot(document.getElementById(`portal`)),()=>{document.body.classList.remove(`help-zone-active`)}),[]),useEffect(()=>{if(isCompact)return;let goCompact=()=>setIsCompact(!0);return document.addEventListener(`scroll`,goCompact,{capture:!0,passive:!0}),()=>{document.removeEventListener(`scroll`,goCompact,{capture:!0})}},[isCompact]),!isReady||!portalRoot?null:createPortal(jsxs(`div`,{className:clsx$1(`help-zone`,{"help-zone--open":isOpen}),"aria-hidden":isOpen,children:[jsx(`a`,{className:`help-zone-badge`,href:`https://edifice.io/releases/`,target:`_blank`,rel:`noopener noreferrer`,"aria-label":t(`help-zone.edifice-releases-notes`),children:jsx(Tooltip,{message:t(`help-zone.edifice-releases-notes`),placement:`top`,className:`help-zone-tooltip`,children:jsx(`span`,{className:clsx$1(`help-zone-logo`,{"help-zone-logo--compact":isCompact,"help-zone-logo--full":!isCompact}),children:isCompact?jsx(SvgIconLogoEdificeSmall,{width:18,height:18}):jsx(SvgIconLogoEdificeFull,{width:81,height:18})})})}),jsx(`span`,{className:`help-zone-divider`}),jsx(ButtonBeta,{className:`help-zone-question`,"aria-label":t(`help-zone.support.open`),color:`tertiary`,variant:`ghost`,onClick:()=>isOpen?onClose():onOpen(),children:jsx(Tooltip,{message:t(`help-zone.support.open`),placement:`top`,children:jsx(SvgIconQuestion,{width:24,height:24,color:`white`})})})]}),portalRoot)};export{HelpZone as default};
@@ -1 +1 @@
1
- import useZendeskGuide from"../../hooks/useZendeskGuide/useZendeskGuide.js";import HelpZone from"./HelpZone.js";import{jsx}from"react/jsx-runtime";function getHeaderColor(){return getComputedStyle(document.documentElement).getPropertyValue(`--primitive-blue-400`).trim()}function HelpZoneContainer(){let{isReady,isOpen,open,close}=useZendeskGuide(getHeaderColor());return jsx(HelpZone,{isReady,isOpen,onOpen:open,onClose:close})}export{HelpZoneContainer};
1
+ import useZendeskGuide from"../../hooks/useZendeskGuide/useZendeskGuide.js";import HelpZone from"./HelpZone.js";import{jsx}from"react/jsx-runtime";function HelpZoneContainer(){let{isReady,isOpen,open,close}=useZendeskGuide();return jsx(HelpZone,{isReady,isOpen,onOpen:open,onClose:close})}export{HelpZoneContainer};
@@ -0,0 +1,10 @@
1
+ import { CalendarEvent } from '@edifice.io/client';
2
+ export interface AgendaProps {
3
+ events: CalendarEvent[];
4
+ onEventClick?: (event: CalendarEvent) => void;
5
+ onOpenAgendaClick?: () => void;
6
+ }
7
+ export declare const Agenda: {
8
+ ({ events, onEventClick, onOpenAgendaClick, }: AgendaProps): import("react/jsx-runtime").JSX.Element;
9
+ displayName: string;
10
+ };
@@ -0,0 +1 @@
1
+ import SvgIconExternalLink from"../../../icons/components/IconExternalLink.js";import Flex from"../../../../components/Flex/Flex.js";import useDate from"../../../../hooks/useDate/useDate.js";import HomeCard from"../HomeCard/HomeCard.js";import{AgendaEventCard}from"./AgendaEventCard.js";import{useMemo}from"react";import{jsx,jsxs}from"react/jsx-runtime";import{useTranslation}from"react-i18next";import illuEmptyAgenda from"@edifice.io/bootstrap/dist/images/homepage/illu-empty-agenda.svg";var capitalize=value=>value.charAt(0).toUpperCase()+value.slice(1),Agenda=({events,onEventClick,onOpenAgendaClick=()=>window.open(`/calendar`,`_self`)})=>{let{t}=useTranslation(),{formatDate,dateIsSame}=useDate(),dayGroups=useMemo(()=>{let now=new Date().toISOString();return events.reduce((groups,event)=>{let lastGroup=groups[groups.length-1];return lastGroup&&dateIsSame(lastGroup.date,event.startMoment,`day`)?(lastGroup.events.push(event),groups):(groups.push({key:event.id,date:event.startMoment,weekday:capitalize(formatDate(event.startMoment,`ddd`)),day:formatDate(event.startMoment,`D`),month:dateIsSame(event.startMoment,now,`month`)?void 0:formatDate(event.startMoment,`MMM`),events:[event]}),groups)},[])},[events,dateIsSame,formatDate]);return jsxs(HomeCard,{variant:`primary`,children:[jsx(HomeCard.Header,{title:t(`homepage.agenda.title`),actionLeftIcon:jsx(SvgIconExternalLink,{width:`20`,height:`20`}),onActionClick:onOpenAgendaClick,actionProps:{"aria-label":t(`homepage.agenda.openAgenda`),"data-testid":`agenda-button-open`}}),jsx(HomeCard.Content,{children:dayGroups.length===0?jsxs(Flex,{direction:`column`,align:`center`,gap:`8`,className:`agenda-empty`,children:[jsx(`img`,{src:illuEmptyAgenda,alt:``,width:64,height:64}),jsx(`span`,{className:`agenda-empty-text`,children:t(`homepage.agenda.empty`)})]}):jsx(Flex,{direction:`column`,gap:`8`,className:`agenda-content`,children:dayGroups.map(group=>jsxs(Flex,{gap:`4`,className:`agenda-day-group`,"data-testid":`agenda-day-group`,children:[jsxs(Flex,{direction:`column`,align:`center`,className:`agenda-day-group-date`,children:[jsx(`span`,{children:group.weekday}),jsx(`span`,{className:`agenda-day-group-date-number`,children:group.day}),group.month&&jsx(`span`,{children:group.month})]}),jsx(Flex,{direction:`column`,gap:`8`,className:`agenda-day-group-events`,children:group.events.map(event=>jsx(AgendaEventCard,{event,onClick:()=>onEventClick?.(event)},event.id))})]},group.key))})})]})};export{Agenda};
@@ -0,0 +1 @@
1
+ export declare function AgendaContainer(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ import{Agenda}from"./Agenda.js";import{useAgendaContainer}from"./hooks/useAgendaContainer.js";import{jsx}from"react/jsx-runtime";function AgendaContainer(){let{events}=useAgendaContainer();return jsx(Agenda,{events,onEventClick:()=>{window.open(`/calendar`,`_self`)}})}export{AgendaContainer};
@@ -0,0 +1,10 @@
1
+ import { CalendarEvent } from '@edifice.io/client';
2
+ import { MouseEventHandler } from 'react';
3
+ export interface AgendaEventCardProps {
4
+ event: CalendarEvent;
5
+ onClick?: MouseEventHandler<HTMLButtonElement>;
6
+ }
7
+ export declare const AgendaEventCard: {
8
+ ({ event, onClick }: AgendaEventCardProps): import("react/jsx-runtime").JSX.Element;
9
+ displayName: string;
10
+ };
@@ -0,0 +1 @@
1
+ import SvgIconClock from"../../../icons/components/IconClock.js";import Flex from"../../../../components/Flex/Flex.js";import useDate from"../../../../hooks/useDate/useDate.js";import{jsx,jsxs}from"react/jsx-runtime";import{useTranslation}from"react-i18next";var capitalize=value=>value.charAt(0).toUpperCase()+value.slice(1),AgendaEventCard=({event,onClick})=>{let{t}=useTranslation(),{formatDate,dateIsSame}=useDate(),formatTime=date=>formatDate(date,`HH[h]mm`),timeLabel=event.allDay?t(`homepage.agenda.allDay`):dateIsSame(event.startMoment,event.endMoment,`day`)?`${formatTime(event.startMoment)} - ${formatTime(event.endMoment)}`:t(`homepage.agenda.multiDayTime`,{startTime:formatTime(event.startMoment),endDay:capitalize(formatDate(event.endMoment,`ddd D`)),endTime:formatTime(event.endMoment)});return jsxs(`button`,{type:`button`,className:`agenda-event-card`,onClick,"data-testid":`agenda-event-card`,children:[jsxs(Flex,{align:`center`,gap:`8`,className:`agenda-event-card-time`,children:[jsx(SvgIconClock,{width:`20`,height:`20`}),jsx(`span`,{children:timeLabel})]}),jsx(`p`,{className:`agenda-event-card-title`,children:event.title})]})};export{AgendaEventCard};
@@ -0,0 +1,14 @@
1
+ import { CalendarEvent } from '@edifice.io/client';
2
+ /** Number of upcoming events shown by the widget. */
3
+ export declare const MAX_VISIBLE_EVENTS = 3;
4
+ export interface UseAgendaContainerReturn {
5
+ events: CalendarEvent[];
6
+ isLoading: boolean;
7
+ error: Error | null;
8
+ }
9
+ /**
10
+ * Loads the current user's calendars, then their events, and keeps only the
11
+ * next `MAX_VISIBLE_EVENTS` events that haven't fully elapsed yet — an event
12
+ * still in progress (end date in the future) counts as "upcoming" too.
13
+ */
14
+ export declare const useAgendaContainer: () => UseAgendaContainerReturn;
@@ -0,0 +1 @@
1
+ import{useCalendars,useEvents}from"../services/queries/agenda.js";import{useMemo}from"react";import dayjs from"dayjs";var useAgendaContainer=()=>{let{data:calendars,isLoading:isLoadingCalendars,error:calendarsError}=useCalendars(),{data:rawEvents,isLoading:isLoadingEvents,error:eventsError}=useEvents(useMemo(()=>calendars?.map(calendar=>calendar.id)??[],[calendars]),3);return{events:useMemo(()=>{if(!rawEvents)return[];let now=dayjs();return rawEvents.filter(event=>dayjs(event.endMoment).isAfter(now)).sort((a,b)=>dayjs(a.startMoment).diff(dayjs(b.startMoment))).slice(0,3)},[rawEvents]),isLoading:isLoadingCalendars||isLoadingEvents,error:calendarsError??eventsError}};export{useAgendaContainer};
@@ -0,0 +1,3 @@
1
+ export * from './Agenda';
2
+ export * from './AgendaContainer';
3
+ export * from './AgendaEventCard';
@@ -0,0 +1,24 @@
1
+ import { Calendar, CalendarEvent } from '@edifice.io/client';
2
+ /**
3
+ * Creates an agenda service with methods to fetch the current user's
4
+ * calendars and upcoming events (homepage "Agenda" widget).
5
+ *
6
+ * Backend contract (provisional, see IMPULS-5880/IMPULS-6095): `GET
7
+ * /calendar/calendars` lists the user's calendars, `GET
8
+ * /calendar/events/widget?calendarId=...&nb=N` returns up to `N` events for
9
+ * the given calendars. Whether that second endpoint already excludes past
10
+ * (fully elapsed) events isn't guaranteed, so callers should re-apply that
11
+ * filter themselves.
12
+ *
13
+ * @param baseURL The base URL for the agenda service API.
14
+ */
15
+ export declare const createAgendaService: (baseURL: string) => {
16
+ /**
17
+ * Get the calendars the current user can see events from.
18
+ */
19
+ getCalendars(): Promise<Calendar[]>;
20
+ /**
21
+ * Get up to `nb` events for the given calendars, in no particular order.
22
+ */
23
+ getEvents(calendarIds: string[], nb: number): Promise<CalendarEvent[]>;
24
+ };
@@ -0,0 +1 @@
1
+ import{odeServices}from"@edifice.io/client";var toCalendar=({_id,title,color,isExternal})=>({id:_id,title,color,isExternal}),toCalendarEvent=({_id,title,allday,startMoment,endMoment,calendar})=>({id:_id,calendarId:calendar[0],title,startMoment,endMoment,allDay:allday}),createAgendaService=baseURL=>({async getCalendars(){return(await odeServices.http().get(`${baseURL}/calendar/calendars`)).map(toCalendar)},async getEvents(calendarIds,nb){if(calendarIds.length===0)return[];let query=new URLSearchParams;return calendarIds.forEach(id=>query.append(`calendarId`,id)),query.set(`nb`,String(nb)),(await odeServices.http().get(`${baseURL}/calendar/events/widget?${query.toString()}`)).map(toCalendarEvent)}});export{createAgendaService};
@@ -0,0 +1,4 @@
1
+ export declare const agendaService: {
2
+ getCalendars(): Promise<import('@edifice.io/client').Calendar[]>;
3
+ getEvents(calendarIds: string[], nb: number): Promise<import('@edifice.io/client').CalendarEvent[]>;
4
+ };
@@ -0,0 +1 @@
1
+ import{createAgendaService}from"./agendaService.js";var agendaService=createAgendaService(``);export{agendaService};