@edifice.io/react 2.2.7-develop-b2school.20250523102221 → 2.2.8-develop-integration.20250523170252

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 (100) hide show
  1. package/dist/components/Button/Button.d.ts +1 -1
  2. package/dist/components/Button/Button.js +1 -1
  3. package/dist/components/Button/IconButton.js +1 -1
  4. package/dist/components/Combobox/Combobox.d.ts +5 -60
  5. package/dist/components/Combobox/Combobox.js +7 -18
  6. package/dist/components/Combobox/ComboboxTrigger.d.ts +3 -34
  7. package/dist/components/Combobox/ComboboxTrigger.js +8 -33
  8. package/dist/components/Dropdown/Dropdown.d.ts +2 -10
  9. package/dist/components/Dropdown/Dropdown.js +3 -5
  10. package/dist/components/Dropdown/DropdownItem.d.ts +1 -5
  11. package/dist/components/Dropdown/DropdownItem.js +1 -4
  12. package/dist/components/Dropdown/DropdownTrigger.js +1 -5
  13. package/dist/components/Layout/components/Header.js +1 -1
  14. package/dist/components/List/List.d.ts +1 -15
  15. package/dist/components/List/List.js +12 -15
  16. package/dist/components/SearchBar/SearchBar.d.ts +1 -1
  17. package/dist/components/SearchBar/SearchBar.js +1 -3
  18. package/dist/components/Toolbar/Toolbar.d.ts +0 -4
  19. package/dist/components/Toolbar/Toolbar.js +3 -8
  20. package/dist/components/Tree/components/Tree.js +2 -1
  21. package/dist/components/Tree/hooks/useTree.d.ts +1 -0
  22. package/dist/components/Tree/hooks/useTree.js +25 -2
  23. package/dist/components/Tree/types/index.d.ts +4 -0
  24. package/dist/editor.js +26 -28
  25. package/dist/hooks/index.d.ts +0 -1
  26. package/dist/hooks/useCheckable/useCheckable.js +3 -10
  27. package/dist/hooks/useConversation/useConversation.d.ts +1 -1
  28. package/dist/hooks/useConversation/useConversation.js +17 -13
  29. package/dist/hooks/useDate/useDate.d.ts +0 -1
  30. package/dist/hooks/useDate/useDate.js +27 -33
  31. package/dist/hooks/useDropdown/useDropdown.d.ts +1 -2
  32. package/dist/hooks/useDropdown/useDropdown.js +3 -5
  33. package/dist/hooks/useHttpErrorToast/useHttpErrorToast.js +3 -12
  34. package/dist/icons.js +266 -280
  35. package/dist/index.d.ts +0 -1
  36. package/dist/index.js +20 -50
  37. package/dist/modals.js +14 -16
  38. package/dist/modules/editor/components/Editor/CantooAdaptTextBoxView.d.ts +7 -0
  39. package/dist/modules/editor/components/Editor/CantooAdaptTextBoxView.js +33 -0
  40. package/dist/modules/editor/components/Editor/Editor.d.ts +2 -8
  41. package/dist/modules/editor/components/Editor/Editor.js +19 -11
  42. package/dist/modules/editor/components/EditorToolbar/EditorToolbar.Cantoo.d.ts +9 -0
  43. package/dist/modules/editor/components/EditorToolbar/EditorToolbar.Cantoo.js +79 -0
  44. package/dist/modules/editor/components/EditorToolbar/EditorToolbar.d.ts +4 -1
  45. package/dist/modules/editor/components/EditorToolbar/EditorToolbar.js +15 -3
  46. package/dist/modules/editor/components/NodeView/index.d.ts +1 -2
  47. package/dist/modules/editor/components/Renderer/index.d.ts +1 -2
  48. package/dist/modules/editor/hooks/index.d.ts +1 -0
  49. package/dist/modules/editor/hooks/useCantooEditor.d.ts +17 -0
  50. package/dist/modules/editor/hooks/useCantooEditor.js +89 -0
  51. package/dist/modules/editor/hooks/useTipTapEditor.d.ts +2 -6
  52. package/dist/modules/editor/hooks/useTipTapEditor.js +2 -2
  53. package/dist/modules/icons/components/{IconGlobe2.d.ts → IconCantoo.d.ts} +2 -2
  54. package/dist/modules/icons/components/IconCantoo.js +23 -0
  55. package/dist/modules/icons/components/IconMicOff.d.ts +7 -0
  56. package/dist/modules/icons/components/IconMicOff.js +12 -0
  57. package/dist/modules/icons/components/IconTextToSpeechOff.d.ts +7 -0
  58. package/dist/modules/icons/components/IconTextToSpeechOff.js +12 -0
  59. package/dist/modules/icons/components/index.d.ts +3 -10
  60. package/dist/modules/modals/OnboardingModal/OnboardingModal.d.ts +5 -9
  61. package/dist/modules/modals/OnboardingModal/OnboardingModal.js +4 -5
  62. package/dist/modules/modals/index.d.ts +0 -1
  63. package/dist/modules/multimedia/index.d.ts +0 -1
  64. package/dist/multimedia.js +1 -3
  65. package/package.json +6 -6
  66. package/dist/hooks/useWorkspaceFolders/index.d.ts +0 -3
  67. package/dist/hooks/useWorkspaceFolders/useWorkspaceFolders.js +0 -54
  68. package/dist/hooks/useWorkspaceFolders/useWorkspaceFoldersTree.d.ts +0 -13
  69. package/dist/hooks/useWorkspaceFolders/useWorkspaceFoldersTree.js +0 -51
  70. package/dist/modules/editor/components/NodeView/ConversationHistoryNodeView.d.ts +0 -2
  71. package/dist/modules/editor/components/NodeView/ConversationHistoryNodeView.js +0 -10
  72. package/dist/modules/editor/components/Renderer/ConversationHistoryRenderer.d.ts +0 -8
  73. package/dist/modules/editor/components/Renderer/ConversationHistoryRenderer.js +0 -28
  74. package/dist/modules/icons/components/IconFolderAdd.d.ts +0 -7
  75. package/dist/modules/icons/components/IconFolderAdd.js +0 -13
  76. package/dist/modules/icons/components/IconFolderDelete.d.ts +0 -7
  77. package/dist/modules/icons/components/IconFolderDelete.js +0 -12
  78. package/dist/modules/icons/components/IconGlobe2.js +0 -16
  79. package/dist/modules/icons/components/IconGroupAvatar.d.ts +0 -7
  80. package/dist/modules/icons/components/IconGroupAvatar.js +0 -12
  81. package/dist/modules/icons/components/IconMailRecall.d.ts +0 -7
  82. package/dist/modules/icons/components/IconMailRecall.js +0 -13
  83. package/dist/modules/icons/components/IconQuestionMark.d.ts +0 -7
  84. package/dist/modules/icons/components/IconQuestionMark.js +0 -13
  85. package/dist/modules/icons/components/IconReadMail.d.ts +0 -7
  86. package/dist/modules/icons/components/IconReadMail.js +0 -16
  87. package/dist/modules/icons/components/IconSignature.d.ts +0 -7
  88. package/dist/modules/icons/components/IconSignature.js +0 -13
  89. package/dist/modules/icons/components/IconUndoAll.d.ts +0 -7
  90. package/dist/modules/icons/components/IconUndoAll.js +0 -14
  91. package/dist/modules/icons/components/IconUnreadMail.d.ts +0 -7
  92. package/dist/modules/icons/components/IconUnreadMail.js +0 -16
  93. package/dist/modules/modals/ConfirmModal/ConfirmModal.d.ts +0 -47
  94. package/dist/modules/modals/ConfirmModal/ConfirmModal.js +0 -37
  95. package/dist/modules/modals/ConfirmModal/index.d.ts +0 -1
  96. package/dist/modules/multimedia/WorkspaceFolders/WorkspaceFolders.d.ts +0 -8
  97. package/dist/modules/multimedia/WorkspaceFolders/WorkspaceFolders.js +0 -55
  98. package/dist/modules/multimedia/WorkspaceFolders/components/NewFolderForm.d.ts +0 -16
  99. package/dist/modules/multimedia/WorkspaceFolders/components/NewFolderForm.js +0 -39
  100. package/dist/modules/multimedia/WorkspaceFolders/index.d.ts +0 -1
@@ -1,4 +1,4 @@
1
- import { Content, Extensions, FocusPosition } from '@tiptap/react';
1
+ import { Content, FocusPosition } from '@tiptap/react';
2
2
  import { WorkspaceVisibility } from '@edifice.io/client';
3
3
  /**
4
4
  * Hook that creates a tiptap editor instance.
@@ -7,14 +7,10 @@ import { WorkspaceVisibility } from '@edifice.io/client';
7
7
  * @param content default rich content
8
8
  * @param focus set focus position to the editor
9
9
  * @param placeholder editor placeholder content
10
- * @param onContentChange callback to be called on content change
11
- * @param visibility workspace visibility
12
- * @param extensions extensions to add to the editor
13
- * @returns the editor instance and the editable state
14
10
  */
15
11
  export declare const useTipTapEditor: (editable: boolean, content: Content, focus?: FocusPosition, placeholder?: string, onContentChange?: ({ editor }: {
16
12
  editor: any;
17
- }) => void, visibility?: WorkspaceVisibility, extensions?: Extensions) => {
13
+ }) => void, visibility?: WorkspaceVisibility) => {
18
14
  editor: import('@tiptap/core').Editor | null;
19
15
  editable: boolean;
20
16
  };
@@ -38,7 +38,7 @@ import AudioRenderer from "../components/Renderer/AudioRenderer.js";
38
38
  import LinkerRenderer from "../components/Renderer/LinkerRenderer.js";
39
39
  import AttachmentRenderer from "../components/Renderer/AttachmentRenderer.js";
40
40
  import InformationPaneRenderer from "../components/Renderer/InformationPaneRenderer.js";
41
- const useTipTapEditor = (editable, content, focus, placeholder, onContentChange, visibility = "protected", extensions) => {
41
+ const useTipTapEditor = (editable, content, focus, placeholder, onContentChange, visibility = "protected") => {
42
42
  const {
43
43
  currentLanguage
44
44
  } = useEdificeClient(), {
@@ -65,7 +65,7 @@ const useTipTapEditor = (editable, content, focus, placeholder, onContentChange,
65
65
  levels: [1, 2]
66
66
  }), Typography, FontSize, SpeechRecognition, SpeechSynthesis.configure({
67
67
  lang: (currentLanguage == null ? void 0 : currentLanguage.length) === 2 ? `${currentLanguage}-${currentLanguage.toUpperCase()}` : "fr-FR"
68
- }), Iframe, Hyperlink, FontFamily, Mathematics, Alert, VideoNodeView(MediaRenderer), AudioNodeView(AudioRenderer), LinkerNodeView(LinkerRenderer), ImageNodeView(MediaRenderer, uploadFile), AttachmentNodeView(AttachmentRenderer), InformationPaneNodeView(InformationPaneRenderer), ...extensions || []],
68
+ }), Iframe, Hyperlink, FontFamily, Mathematics, Alert, VideoNodeView(MediaRenderer), AudioNodeView(AudioRenderer), LinkerNodeView(LinkerRenderer), ImageNodeView(MediaRenderer, uploadFile), AttachmentNodeView(AttachmentRenderer), InformationPaneNodeView(InformationPaneRenderer)],
69
69
  content,
70
70
  // If the onContentChange callback is provided, we call it on every content change.
71
71
  ...onContentChange ? {
@@ -3,5 +3,5 @@ interface SVGRProps {
3
3
  title?: string;
4
4
  titleId?: string;
5
5
  }
6
- declare const SvgIconGlobe2: ({ title, titleId, ...props }: SVGProps<SVGSVGElement> & SVGRProps) => import("react/jsx-runtime").JSX.Element;
7
- export default SvgIconGlobe2;
6
+ declare const SvgIconCantoo: ({ title, titleId, ...props }: SVGProps<SVGSVGElement> & SVGRProps) => import("react/jsx-runtime").JSX.Element;
7
+ export default SvgIconCantoo;
@@ -0,0 +1,23 @@
1
+ import { jsxs, jsx } from "react/jsx-runtime";
2
+ const SvgIconCantoo = ({
3
+ title,
4
+ titleId,
5
+ ...props
6
+ }) => /* @__PURE__ */ jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", fill: "none", viewBox: "0 0 88 104", "aria-hidden": "true", "aria-labelledby": titleId, ...props, children: [
7
+ title ? /* @__PURE__ */ jsx("title", { id: titleId, children: title }) : null,
8
+ /* @__PURE__ */ jsx("ellipse", { cx: 44.305, cy: 15.281, fill: "url(#icon-cantoo_svg__a)", rx: 14.472, ry: 14.367, transform: "rotate(-.145 44.305 15.281)" }),
9
+ /* @__PURE__ */ jsx("path", { fill: "url(#icon-cantoo_svg__b)", fillRule: "evenodd", d: "m44.529 39.653-28.126-8.41c-6.42-1.785-13.121 1.8-14.968 8.008C-.414 45.46 3.294 51.94 9.713 53.724l17.54 5.245-16.845 28.892c-2.73 5.401.023 11.938 6.147 14.601 6.125 2.662 13.301.442 16.03-4.96l11.88-20.374 11.974 20.3c2.757 5.387 9.945 7.57 16.055 4.877 6.111-2.694 8.83-9.244 6.074-14.632l-16.953-28.74 17.478-5.384c6.41-1.818 10.084-8.316 8.206-14.514-1.879-6.199-8.598-9.75-15.009-7.932z", clipRule: "evenodd" }),
10
+ /* @__PURE__ */ jsxs("defs", { children: [
11
+ /* @__PURE__ */ jsxs("linearGradient", { id: "icon-cantoo_svg__a", x1: 28.13, x2: 60.619, y1: -6.867, y2: 27.927, gradientUnits: "userSpaceOnUse", children: [
12
+ /* @__PURE__ */ jsx("stop", { stopColor: "#0B4EFC" }),
13
+ /* @__PURE__ */ jsx("stop", { offset: 1, stopColor: "#30B3E8" })
14
+ ] }),
15
+ /* @__PURE__ */ jsxs("linearGradient", { id: "icon-cantoo_svg__b", x1: -4.227, x2: 76.299, y1: 11.105, y2: 112.656, gradientUnits: "userSpaceOnUse", children: [
16
+ /* @__PURE__ */ jsx("stop", { stopColor: "#0B4EFC" }),
17
+ /* @__PURE__ */ jsx("stop", { offset: 1, stopColor: "#30B3E8" })
18
+ ] })
19
+ ] })
20
+ ] });
21
+ export {
22
+ SvgIconCantoo as default
23
+ };
@@ -0,0 +1,7 @@
1
+ import { SVGProps } from 'react';
2
+ interface SVGRProps {
3
+ title?: string;
4
+ titleId?: string;
5
+ }
6
+ declare const SvgIconMicOff: ({ title, titleId, ...props }: SVGProps<SVGSVGElement> & SVGRProps) => import("react/jsx-runtime").JSX.Element;
7
+ export default SvgIconMicOff;
@@ -0,0 +1,12 @@
1
+ import { jsxs, jsx } from "react/jsx-runtime";
2
+ const SvgIconMicOff = ({
3
+ title,
4
+ titleId,
5
+ ...props
6
+ }) => /* @__PURE__ */ jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", fill: "none", viewBox: "0 0 24 24", "aria-hidden": "true", "aria-labelledby": titleId, ...props, children: [
7
+ title ? /* @__PURE__ */ jsx("title", { id: titleId, children: title }) : null,
8
+ /* @__PURE__ */ jsx("path", { fill: "currentColor", fillRule: "evenodd", d: "M1.793 1.04c-.252.045-.546.274-.676.526a.87.87 0 0 0-.06.691c.082.279.119.318 4.107 4.323l2.829 2.84.019 1.58c.019 1.461.027 1.604.107 1.9.367 1.351 1.351 2.35 2.761 2.8.322.103.382.109 1.12.109s.798-.006 1.12-.109c.187-.06.45-.159.585-.22l.245-.111.689.69.689.69-.446.228a7 7 0 0 1-1.782.608c-.597.112-1.686.103-2.289-.017-1.205-.241-2.258-.789-3.093-1.607-.755-.741-1.233-1.531-1.524-2.521-.126-.431-.154-.759-.189-2.221-.031-1.296-.04-1.412-.116-1.559-.368-.717-1.401-.717-1.781 0-.08.15-.086.232-.101 1.273-.009.65.004 1.333.031 1.64A7.7 7.7 0 0 0 5.5 16.46c.277.376.959 1.084 1.335 1.387A8.8 8.8 0 0 0 9.26 19.2c.395.138 1.2.34 1.53.383l.21.027v1.904l-1.65.013-1.65.013-.192.113c-.342.201-.55.619-.489.983.046.269.254.567.499.714l.218.13h8.532l.236-.153c.641-.415.638-1.251-.008-1.655l-.236-.147-1.63-.003L13 21.52l.001-.91c0-.5.013-.93.03-.954.016-.025.119-.058.229-.074.341-.049 1.232-.29 1.646-.445.439-.164.981-.43 1.494-.733l.34-.201.26.248c.143.137 1.007.987 1.92 1.891 2.426 2.402 2.558 2.524 2.822 2.6.775.226 1.513-.639 1.153-1.35-.072-.143-5.933-6.059-11.781-11.895-6.987-6.971-8.607-8.563-8.762-8.61a1.2 1.2 0 0 0-.559-.047m9.567.004c-.576.074-1.3.371-1.8.738-.675.497-1.145 1.163-1.422 2.018-.096.298-.112.421-.129.99-.02.718.014.948.175 1.159.12.158.401.327.625.378.349.078.82-.138 1.011-.463.096-.164.112-.249.157-.844.049-.642.055-.671.202-.961C10.526 3.375 11.164 3 11.98 3c.819 0 1.481.406 1.825 1.12l.144.3.024 3.567.023 3.568.106.208c.112.222.755.915 1.016 1.096.263.182.615.132.762-.108.078-.129.08-.204.08-4.293V4.297l-.104-.359a3.93 3.93 0 0 0-1.115-1.849c-.893-.84-2.092-1.211-3.381-1.045m7.393 8.575c-.353.089-.663.379-.729.681-.014.066-.043.777-.064 1.58-.041 1.529-.058 1.683-.258 2.3-.218.669-.172 1.099.153 1.433.381.392 1.038.408 1.353.034.24-.285.633-1.573.711-2.327.054-.521.052-2.858-.002-3.054-.048-.172-.311-.48-.489-.572a1.1 1.1 0 0 0-.675-.075m-6.462 4.226c-.698.16-1.735-.343-2.069-1.002-.142-.279-.22-.664-.221-1.083L10 11.421l1.201 1.199c1.146 1.146 1.195 1.201 1.09 1.225", clipRule: "evenodd" })
9
+ ] });
10
+ export {
11
+ SvgIconMicOff as default
12
+ };
@@ -0,0 +1,7 @@
1
+ import { SVGProps } from 'react';
2
+ interface SVGRProps {
3
+ title?: string;
4
+ titleId?: string;
5
+ }
6
+ declare const SvgIconTextToSpeechOff: ({ title, titleId, ...props }: SVGProps<SVGSVGElement> & SVGRProps) => import("react/jsx-runtime").JSX.Element;
7
+ export default SvgIconTextToSpeechOff;
@@ -0,0 +1,12 @@
1
+ import { jsxs, jsx } from "react/jsx-runtime";
2
+ const SvgIconTextToSpeechOff = ({
3
+ title,
4
+ titleId,
5
+ ...props
6
+ }) => /* @__PURE__ */ jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", fill: "none", viewBox: "0 0 24 24", "aria-hidden": "true", "aria-labelledby": titleId, ...props, children: [
7
+ title ? /* @__PURE__ */ jsx("title", { id: titleId, children: title }) : null,
8
+ /* @__PURE__ */ jsx("path", { fill: "currentColor", fillRule: "evenodd", d: "M1.793 1.04c-.252.045-.546.274-.676.526a.87.87 0 0 0-.06.688c.08.277.2.405 3.076 3.292l2.038 2.046-1.715.018c-1.494.016-1.744.027-1.936.089-.717.229-1.203.697-1.41 1.356-.089.283-.09.302-.09 2.925 0 2.449.005 2.657.074 2.878.221.719.684 1.212 1.34 1.429.256.085.337.089 2.128.104l1.862.015 1.978 1.663c3.634 3.054 3.408 2.886 3.918 2.921.679.046 1.148-.122 1.577-.564.331-.341.487-.631.542-1.013.022-.15.04-1.002.04-1.893l.001-1.62 2.87 2.862c3.453 3.443 4.073 4.046 4.252 4.139.181.094.528.097.765.006.21-.08.447-.317.543-.541.084-.196.082-.591-.003-.754-.085-.162-5.712-5.847-11.793-11.915-6.987-6.971-8.607-8.563-8.762-8.61a1.2 1.2 0 0 0-.559-.047m10.424 1.974c-.09.029-.342.147-.56.261-.407.214-.858.555-1.967 1.492-.673.568-.77.704-.77 1.073 0 .314.107.493.56.938.359.353.406.387.47.337.038-.03.393-.325.788-.655l1.256-1.049c.296-.246.556-.437.578-.423.027.016.032.722.015 2.108-.029 2.306-.023 2.397.213 2.863.156.311.747.937.944 1.002.274.091.618-.082.698-.352.031-.105.04-1.033.03-3.129-.013-2.972-.013-2.981-.102-3.219-.111-.294-.341-.536-.825-.869-.546-.375-.969-.495-1.328-.378m7.881 4.539c-.295.138-.538.518-.538.84 0 .043.161.408.358.812.391.801.548 1.231.688 1.875.081.373.092.531.092 1.4.001.775-.014 1.055-.069 1.34-.123.625-.345 1.242-.715 1.982-.453.905-.456.938-.104 1.307.273.285.425.371.662.371.407 0 .749-.242 1.015-.72.335-.601.745-1.724.91-2.492.171-.795.195-2.134.057-3.103-.142-.996-.769-2.648-1.238-3.263-.264-.345-.782-.507-1.118-.349m-7.587 8.814c-.006 1.334-.023 2.439-.039 2.454-.031.031-.038.026-2.332-1.862-2.281-1.878-2.987-2.446-3.07-2.469-.066-.018-.07-.17-.07-2.474V9.562l.11-.058c.06-.031.208-.141.327-.244l.217-.186 2.434 2.433 2.435 2.433zM5 12v2.4H3V9.6h2zm11.68-2.293c-.444.228-.588.666-.349 1.053.062.099.203.288.315.42s.251.339.309.46c.091.19.105.272.105.6 0 .456-.11.839-.346 1.204-.085.131-.154.279-.154.329 0 .105 1.065 1.187 1.168 1.187s.25-.142.461-.448c.278-.402.427-.709.551-1.132a3.64 3.64 0 0 0-.695-3.29c-.254-.305-.532-.456-.881-.479-.231-.015-.291-.003-.484.096", clipRule: "evenodd" })
9
+ ] });
10
+ export {
11
+ SvgIconTextToSpeechOff as default
12
+ };
@@ -20,6 +20,7 @@ export { default as IconBurgerMenu } from './IconBurgerMenu';
20
20
  export { default as IconCalendarLight } from './IconCalendarLight';
21
21
  export { default as IconCalendar } from './IconCalendar';
22
22
  export { default as IconCamera } from './IconCamera';
23
+ export { default as IconCantoo } from './IconCantoo';
23
24
  export { default as IconCenter } from './IconCenter';
24
25
  export { default as IconCheck } from './IconCheck';
25
26
  export { default as IconChecklist } from './IconChecklist';
@@ -44,15 +45,11 @@ export { default as IconExternalLink } from './IconExternalLink';
44
45
  export { default as IconFiles } from './IconFiles';
45
46
  export { default as IconFilter } from './IconFilter';
46
47
  export { default as IconFlag } from './IconFlag';
47
- export { default as IconFolderAdd } from './IconFolderAdd';
48
- export { default as IconFolderDelete } from './IconFolderDelete';
49
48
  export { default as IconFolderMove } from './IconFolderMove';
50
49
  export { default as IconFolder } from './IconFolder';
51
50
  export { default as IconForgoing } from './IconForgoing';
52
51
  export { default as IconFullScreen } from './IconFullScreen';
53
- export { default as IconGlobe2 } from './IconGlobe2';
54
52
  export { default as IconGlobe } from './IconGlobe';
55
- export { default as IconGroupAvatar } from './IconGroupAvatar';
56
53
  export { default as IconHandMove } from './IconHandMove';
57
54
  export { default as IconHeadphone } from './IconHeadphone';
58
55
  export { default as IconHide } from './IconHide';
@@ -71,10 +68,10 @@ export { default as IconLink } from './IconLink';
71
68
  export { default as IconListOrder } from './IconListOrder';
72
69
  export { default as IconLoader } from './IconLoader';
73
70
  export { default as IconLock } from './IconLock';
74
- export { default as IconMailRecall } from './IconMailRecall';
75
71
  export { default as IconMail } from './IconMail';
76
72
  export { default as IconMergeCells } from './IconMergeCells';
77
73
  export { default as IconMessageInfo } from './IconMessageInfo';
74
+ export { default as IconMicOff } from './IconMicOff';
78
75
  export { default as IconMic } from './IconMic';
79
76
  export { default as IconMinus } from './IconMinus';
80
77
  export { default as IconMove } from './IconMove';
@@ -92,14 +89,12 @@ export { default as IconPlus } from './IconPlus';
92
89
  export { default as IconPointerDefault } from './IconPointerDefault';
93
90
  export { default as IconPointerHand } from './IconPointerHand';
94
91
  export { default as IconPrint } from './IconPrint';
95
- export { default as IconQuestionMark } from './IconQuestionMark';
96
92
  export { default as IconQuestion } from './IconQuestion';
97
93
  export { default as IconRafterDown } from './IconRafterDown';
98
94
  export { default as IconRafterLeft } from './IconRafterLeft';
99
95
  export { default as IconRafterRight } from './IconRafterRight';
100
96
  export { default as IconRafterUp } from './IconRafterUp';
101
97
  export { default as IconReaction } from './IconReaction';
102
- export { default as IconReadMail } from './IconReadMail';
103
98
  export { default as IconRecordPause } from './IconRecordPause';
104
99
  export { default as IconRecordStop } from './IconRecordStop';
105
100
  export { default as IconRecordVideo } from './IconRecordVideo';
@@ -116,7 +111,6 @@ export { default as IconSend } from './IconSend';
116
111
  export { default as IconSetBackground } from './IconSetBackground';
117
112
  export { default as IconSettings } from './IconSettings';
118
113
  export { default as IconShare } from './IconShare';
119
- export { default as IconSignature } from './IconSignature';
120
114
  export { default as IconSmartphone } from './IconSmartphone';
121
115
  export { default as IconSmiley } from './IconSmiley';
122
116
  export { default as IconSortAscendingLetters } from './IconSortAscendingLetters';
@@ -137,6 +131,7 @@ export { default as IconTextHighlight } from './IconTextHighlight';
137
131
  export { default as IconTextItalic } from './IconTextItalic';
138
132
  export { default as IconTextPage } from './IconTextPage';
139
133
  export { default as IconTextSize } from './IconTextSize';
134
+ export { default as IconTextToSpeechOff } from './IconTextToSpeechOff';
140
135
  export { default as IconTextToSpeech } from './IconTextToSpeech';
141
136
  export { default as IconTextTypo } from './IconTextTypo';
142
137
  export { default as IconTextUnderline } from './IconTextUnderline';
@@ -144,11 +139,9 @@ export { default as IconTextVanilla } from './IconTextVanilla';
144
139
  export { default as IconToolCenter } from './IconToolCenter';
145
140
  export { default as IconTool } from './IconTool';
146
141
  export { default as IconTrendingUp } from './IconTrendingUp';
147
- export { default as IconUndoAll } from './IconUndoAll';
148
142
  export { default as IconUndo } from './IconUndo';
149
143
  export { default as IconUnlink } from './IconUnlink';
150
144
  export { default as IconUnlock } from './IconUnlock';
151
- export { default as IconUnreadMail } from './IconUnreadMail';
152
145
  export { default as IconUpload } from './IconUpload';
153
146
  export { default as IconUserSearch } from './IconUserSearch';
154
147
  export { default as IconUser } from './IconUser';
@@ -11,33 +11,29 @@ interface ModalItemsProps {
11
11
  * Text below image
12
12
  */
13
13
  text: string;
14
- /**
15
- * Title of the item
16
- */
17
- title?: string;
18
14
  }
19
15
  interface ModalOptionsProps {
20
16
  /**
21
17
  * Modal title
22
18
  */
23
- title?: string;
19
+ title: string;
24
20
  /**
25
21
  * Prev button text
26
22
  */
27
- prevText?: string;
23
+ prevText: string;
28
24
  /**
29
25
  * Next button text
30
26
  */
31
- nextText?: string;
27
+ nextText: string;
32
28
  /**
33
29
  * Close button text
34
30
  */
35
- closeText?: string;
31
+ closeText: string;
36
32
  }
37
33
  interface OnboardingProps {
38
34
  id: string;
39
35
  items: ModalItemsProps[];
40
- modalOptions?: ModalOptionsProps;
36
+ modalOptions: ModalOptionsProps;
41
37
  }
42
38
  declare const OnboardingModal: {
43
39
  ({ id, items, modalOptions }: OnboardingProps): import('react').ReactPortal | null;
@@ -11,9 +11,8 @@ import Button from "../../../components/Button/Button.js";
11
11
  const OnboardingModal = ({
12
12
  id,
13
13
  items,
14
- modalOptions = {}
14
+ modalOptions
15
15
  }) => {
16
- var _a;
17
16
  const [swiperInstance, setSwiperInstance] = useState(), [swiperProgress, setSwiperprogress] = useState(0), {
18
17
  isOpen,
19
18
  isOnboarding,
@@ -33,9 +32,9 @@ const OnboardingModal = ({
33
32
  prevText,
34
33
  closeText,
35
34
  nextText
36
- } = modalOptions, currentTitle = (swiperInstance == null ? void 0 : swiperInstance.activeIndex) != null && ((_a = items[swiperInstance == null ? void 0 : swiperInstance.activeIndex]) != null && _a.title) ? items[swiperInstance.activeIndex].title : title;
35
+ } = modalOptions;
37
36
  return isOnboarding ? /* @__PURE__ */ createPortal(/* @__PURE__ */ jsxs(Modal, { id: "onboarding-modal", size: "md", isOpen, focusId: "nextButtonId", onModalClose: () => setIsOpen(!1), children: [
38
- /* @__PURE__ */ jsx(Modal.Header, { onModalClose: () => setIsOpen(!1), children: t(currentTitle || "explorer.modal.onboarding.trash.title") }),
37
+ /* @__PURE__ */ jsx(Modal.Header, { onModalClose: () => setIsOpen(!1), children: t(title || "explorer.modal.onboarding.trash.title") }),
39
38
  /* @__PURE__ */ jsx(Modal.Body, { children: /* @__PURE__ */ jsx(Swiper, { modules: [Pagination], onSwiper: (swiper) => {
40
39
  setSwiperInstance(swiper);
41
40
  }, onSlideChange: (swiper) => {
@@ -44,7 +43,7 @@ const OnboardingModal = ({
44
43
  clickable: !0
45
44
  }, children: items.map((item, index) => /* @__PURE__ */ jsxs(SwiperSlide, { children: [
46
45
  /* @__PURE__ */ jsx(Image, { width: "270", height: "140", className: "mx-auto my-12", loading: "lazy", src: item.src, alt: t(item.alt) }),
47
- /* @__PURE__ */ jsx("p", { className: "text-center", children: t(item.text) })
46
+ /* @__PURE__ */ jsx("p", { children: t(item.text) })
48
47
  ] }, index)) }) }),
49
48
  /* @__PURE__ */ jsxs(Modal.Footer, { children: [
50
49
  /* @__PURE__ */ jsx(Button, { type: "button", color: "tertiary", variant: "ghost", onClick: () => setIsOpen(!1), children: t("explorer.modal.onboarding.trash.later") }),
@@ -1,4 +1,3 @@
1
- export * from './ConfirmModal';
2
1
  export * from './OnboardingModal';
3
2
  export * from './PublishModal';
4
3
  export * from './ResourceModal';
@@ -7,4 +7,3 @@ export * from './MediaLibrary';
7
7
  export * from './VideoEmbed';
8
8
  export * from './VideoRecorder';
9
9
  export * from './Workspace';
10
- export * from './WorkspaceFolders';
@@ -6,7 +6,6 @@ import { default as default6 } from "./modules/multimedia/MediaLibrary/MediaLibr
6
6
  import { default as default7 } from "./modules/multimedia/VideoEmbed/VideoEmbed.js";
7
7
  import { default as default8 } from "./modules/multimedia/VideoRecorder/VideoRecorder.js";
8
8
  import { default as default9 } from "./modules/multimedia/Workspace/Workspace.js";
9
- import { default as default10 } from "./modules/multimedia/WorkspaceFolders/WorkspaceFolders.js";
10
9
  import { ExternalLinker } from "./modules/multimedia/Linker/ExternalLinker/ExternalLinker.js";
11
10
  import { InternalLinker } from "./modules/multimedia/Linker/InternalLinker/InternalLinker.js";
12
11
  export {
@@ -19,6 +18,5 @@ export {
19
18
  default6 as MediaLibrary,
20
19
  default7 as VideoEmbed,
21
20
  default8 as VideoRecorder,
22
- default9 as Workspace,
23
- default10 as WorkspaceFolders
21
+ default9 as Workspace
24
22
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@edifice.io/react",
3
- "version": "2.2.7-develop-b2school.20250523102221",
3
+ "version": "2.2.8-develop-integration.20250523170252",
4
4
  "description": "Edifice React Library",
5
5
  "keywords": [
6
6
  "react",
@@ -118,9 +118,9 @@
118
118
  "react-slugify": "^3.0.3",
119
119
  "swiper": "^10.1.0",
120
120
  "ua-parser-js": "^1.0.36",
121
- "@edifice.io/bootstrap": "2.2.7-develop-b2school.20250523102221",
122
- "@edifice.io/tiptap-extensions": "2.2.7-develop-b2school.20250523102221",
123
- "@edifice.io/utilities": "2.2.7-develop-b2school.20250523102221"
121
+ "@edifice.io/bootstrap": "2.2.8-develop-integration.20250523170252",
122
+ "@edifice.io/tiptap-extensions": "2.2.8-develop-integration.20250523170252",
123
+ "@edifice.io/utilities": "2.2.8-develop-integration.20250523170252"
124
124
  },
125
125
  "devDependencies": {
126
126
  "@babel/plugin-transform-react-pure-annotations": "^7.23.3",
@@ -151,8 +151,8 @@
151
151
  "vite": "^5.4.11",
152
152
  "vite-plugin-dts": "^4.1.0",
153
153
  "vite-tsconfig-paths": "^5.0.1",
154
- "@edifice.io/client": "2.2.7-develop-b2school.20250523102221",
155
- "@edifice.io/config": "2.2.7-develop-b2school.20250523102221"
154
+ "@edifice.io/client": "2.2.8-develop-integration.20250523170252",
155
+ "@edifice.io/config": "2.2.8-develop-integration.20250523170252"
156
156
  },
157
157
  "peerDependencies": {
158
158
  "@react-spring/web": "^9.7.5",
@@ -1,3 +0,0 @@
1
- export { default as useWorkspaceFolders } from './useWorkspaceFolders';
2
- export { default as useWorkspaceFoldersTree } from './useWorkspaceFoldersTree';
3
- export * from './useWorkspaceFoldersTree';
@@ -1,54 +0,0 @@
1
- import { odeServices } from "@edifice.io/client";
2
- import { useQueryClient, useQuery, useMutation } from "@tanstack/react-query";
3
- import { useMemo, useCallback } from "react";
4
- import { useEdificeClient } from "../../providers/EdificeClientProvider/EdificeClientProvider.hook.js";
5
- import { useTranslation } from "react-i18next";
6
- import useToast from "../useToast/useToast.js";
7
- function useWorkspaceFolders() {
8
- const queryClient = useQueryClient(), {
9
- user
10
- } = useEdificeClient(), toast = useToast(), {
11
- t
12
- } = useTranslation(), {
13
- data: ownerWorkspaceData = [],
14
- isLoading: isLoadingOwner
15
- } = useQuery({
16
- queryKey: ["workspace", "folders", "owner"],
17
- queryFn: () => odeServices.workspace().listOwnerFolders(!0)
18
- }), {
19
- data: sharedWorkspaceData = [],
20
- isLoading: isLoadingShared
21
- } = useQuery({
22
- queryKey: ["workspace", "folders", "shared"],
23
- queryFn: () => odeServices.workspace().listSharedFolders(!0)
24
- }), createFolderMutation = useMutation({
25
- mutationFn: ({
26
- folderName,
27
- folderParentId
28
- }) => odeServices.workspace().createFolder(folderName, folderParentId),
29
- onSuccess: (newFolder) => {
30
- const queryKey = ["workspace", "folders", newFolder.isShared ? "shared" : "owner"];
31
- queryClient.setQueryData(queryKey, (oldFolders) => [...oldFolders, newFolder]);
32
- },
33
- onError: () => {
34
- toast.error(t("e400"));
35
- }
36
- }), folders = useMemo(() => [...ownerWorkspaceData, ...sharedWorkspaceData], [ownerWorkspaceData, sharedWorkspaceData]), canCopyFileIntoFolder = useCallback((folderId) => {
37
- var _a;
38
- const folder = folders.find((folder2) => folder2._id === folderId);
39
- if (!folder || !user) return !1;
40
- const userId = user.userId;
41
- if (folder.owner === userId) return !0;
42
- const userRights = (_a = folder.inheritedShares) == null ? void 0 : _a.filter((right) => right.userId === userId || user.groupsIds.includes(right.groupId)), contrib = "org-entcore-workspace-controllers-WorkspaceController|updateDocument";
43
- return !!(userRights != null && userRights.find((right) => right[contrib]));
44
- }, [folders, user]);
45
- return {
46
- folders,
47
- createFolderMutation,
48
- canCopyFileIntoFolder,
49
- isLoading: isLoadingOwner || isLoadingShared
50
- };
51
- }
52
- export {
53
- useWorkspaceFolders as default
54
- };
@@ -1,13 +0,0 @@
1
- import { WorkspaceElement } from '@edifice.io/client';
2
- interface FolderTreeNode {
3
- id: string;
4
- name: string;
5
- children?: FolderTreeNode[];
6
- }
7
- export declare const WORKSPACE_USER_FOLDER_ID = "workspace-user-folder-id";
8
- export declare const WORKSPACE_SHARED_FOLDER_ID = "workspace-shared-folder-id";
9
- declare function useWorkspaceFoldersTree(folders?: WorkspaceElement[]): {
10
- foldersTree: FolderTreeNode[];
11
- filterTree: import('react').Dispatch<import('react').SetStateAction<string>>;
12
- };
13
- export default useWorkspaceFoldersTree;
@@ -1,51 +0,0 @@
1
- import { useState, useMemo } from "react";
2
- import { useTranslation } from "react-i18next";
3
- import { useEdificeClient } from "../../providers/EdificeClientProvider/EdificeClientProvider.hook.js";
4
- const WORKSPACE_USER_FOLDER_ID = "workspace-user-folder-id", WORKSPACE_SHARED_FOLDER_ID = "workspace-shared-folder-id";
5
- function useWorkspaceFoldersTree(folders) {
6
- const {
7
- t
8
- } = useTranslation(), {
9
- user
10
- } = useEdificeClient(), [searchQuery, setSearchQuery] = useState("");
11
- return {
12
- foldersTree: useMemo(() => {
13
- const userTreeLabel = t("workspace.myDocuments"), sharedTreeLabel = t("workspace.sharedDocuments"), foldersTree = buildTree(folders || [], userTreeLabel, sharedTreeLabel);
14
- return searchQuery ? filterTree(foldersTree, searchQuery) : foldersTree;
15
- }, [folders, searchQuery, user]),
16
- filterTree: setSearchQuery
17
- };
18
- }
19
- const buildTree = (workspaceData, userTreeLabel, sharedTreeLabel) => {
20
- const nodes = /* @__PURE__ */ new Map(), userTree = [], sharedTree = [];
21
- return workspaceData.forEach((item) => {
22
- nodes.set(item._id, {
23
- id: item._id,
24
- name: item.name,
25
- children: []
26
- });
27
- }), workspaceData.forEach((item) => {
28
- var _a;
29
- const nodeItem = nodes.get(item._id);
30
- item.eParent && nodes.has(item.eParent) ? (_a = nodes.get(item.eParent)) == null || _a.children.push(nodeItem) : item.isShared ? sharedTree.push(nodeItem) : userTree.push(nodeItem);
31
- }), [{
32
- id: WORKSPACE_USER_FOLDER_ID,
33
- name: userTreeLabel,
34
- children: userTree
35
- }, {
36
- id: WORKSPACE_SHARED_FOLDER_ID,
37
- name: sharedTreeLabel,
38
- children: sharedTree
39
- }];
40
- }, filterTree = (nodes, search) => nodes.map((node) => {
41
- const filteredChildren = node.children ? filterTree(node.children, search) : [];
42
- return node.name.toLowerCase().includes(search.toLowerCase()) || filteredChildren.length > 0 ? {
43
- ...node,
44
- children: filteredChildren
45
- } : null;
46
- }).filter((node) => node !== null);
47
- export {
48
- WORKSPACE_SHARED_FOLDER_ID,
49
- WORKSPACE_USER_FOLDER_ID,
50
- useWorkspaceFoldersTree as default
51
- };
@@ -1,2 +0,0 @@
1
- declare const ConversationHistoryNodeView: (Component: any) => import('@tiptap/core').Node<any, any>;
2
- export default ConversationHistoryNodeView;
@@ -1,10 +0,0 @@
1
- import { ConversationHistory } from "@edifice.io/tiptap-extensions/conversation-history";
2
- import { ReactNodeViewRenderer } from "@tiptap/react";
3
- const ConversationHistoryNodeView = (Component) => ConversationHistory.extend({
4
- addNodeView() {
5
- return ReactNodeViewRenderer(Component);
6
- }
7
- });
8
- export {
9
- ConversationHistoryNodeView as default
10
- };
@@ -1,8 +0,0 @@
1
- /**
2
- * `ConversationHistoryRenderer` is a React component that renders a button to toggle the visibility
3
- * of conversation history content. It uses the `@tiptap/react` library for rendering content and
4
- * `clsx` for conditional class names. The component also utilizes the `useTranslation` hook from
5
- * `react-i18next` for internationalization and a custom `useToggle` hook for managing the open state.
6
- */
7
- declare const ConversationHistoryRenderer: () => import("react/jsx-runtime").JSX.Element;
8
- export default ConversationHistoryRenderer;
@@ -1,28 +0,0 @@
1
- import { jsxs, jsx, Fragment } from "react/jsx-runtime";
2
- import { NodeViewWrapper, NodeViewContent } from "@tiptap/react";
3
- import clsx from "clsx";
4
- import { useTranslation } from "react-i18next";
5
- import SvgIconRafterDown from "../../../icons/components/IconRafterDown.js";
6
- import SvgIconRafterUp from "../../../icons/components/IconRafterUp.js";
7
- import useToggle from "../../../../hooks/useToggle/useToggle.js";
8
- import Button from "../../../../components/Button/Button.js";
9
- const ConversationHistoryRenderer = () => {
10
- const {
11
- t
12
- } = useTranslation("conversation"), [open, toggleOpen] = useToggle(!1), classes = clsx("conversation-history ps-16 pt-8", {
13
- show: open
14
- });
15
- return /* @__PURE__ */ jsxs(NodeViewWrapper, { as: "div", contentEditable: !1, children: [
16
- /* @__PURE__ */ jsx(Button, { variant: "ghost", onClick: toggleOpen, size: "sm", className: "d-flex align-items-center gap-4 text-gray-800 fs-6 mt-24", children: open ? /* @__PURE__ */ jsxs(Fragment, { children: [
17
- t("message.history.hide"),
18
- /* @__PURE__ */ jsx(SvgIconRafterUp, { width: 16, height: 16 })
19
- ] }) : /* @__PURE__ */ jsxs(Fragment, { children: [
20
- t("message.history.show"),
21
- /* @__PURE__ */ jsx(SvgIconRafterDown, { width: 16, height: 16 })
22
- ] }) }),
23
- /* @__PURE__ */ jsx("div", { className: classes, "data-testid": "conversation-history-content", children: /* @__PURE__ */ jsx(NodeViewContent, {}) })
24
- ] });
25
- };
26
- export {
27
- ConversationHistoryRenderer as default
28
- };
@@ -1,7 +0,0 @@
1
- import { SVGProps } from 'react';
2
- interface SVGRProps {
3
- title?: string;
4
- titleId?: string;
5
- }
6
- declare const SvgIconFolderAdd: ({ title, titleId, ...props }: SVGProps<SVGSVGElement> & SVGRProps) => import("react/jsx-runtime").JSX.Element;
7
- export default SvgIconFolderAdd;
@@ -1,13 +0,0 @@
1
- import { jsxs, jsx } from "react/jsx-runtime";
2
- const SvgIconFolderAdd = ({
3
- title,
4
- titleId,
5
- ...props
6
- }) => /* @__PURE__ */ jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", fill: "none", viewBox: "0 0 24 24", "aria-hidden": "true", "aria-labelledby": titleId, ...props, children: [
7
- title ? /* @__PURE__ */ jsx("title", { id: titleId, children: title }) : null,
8
- /* @__PURE__ */ jsx("g", { clipPath: "url(#icon-folder-add_svg__a)", children: /* @__PURE__ */ jsx("path", { fill: "currentColor", fillRule: "evenodd", d: "M10.985 5.283A2 2 0 0 0 12.965 7H22v12H2V4h7.5a1.5 1.5 0 0 1 1.485 1.283M1.902 2C.852 2 0 2.852 0 3.902V19a2 2 0 0 0 2 2h20a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2h-9.035A3.5 3.5 0 0 0 9.5 2zM12 8a1 1 0 0 1 1 1v3h3a1 1 0 1 1 0 2h-3v3a1 1 0 1 1-2 0v-3H8a1 1 0 1 1 0-2h3V9a1 1 0 0 1 1-1", clipRule: "evenodd" }) }),
9
- /* @__PURE__ */ jsx("defs", { children: /* @__PURE__ */ jsx("clipPath", { id: "icon-folder-add_svg__a", children: /* @__PURE__ */ jsx("path", { fill: "#fff", d: "M0 0h24v24H0z" }) }) })
10
- ] });
11
- export {
12
- SvgIconFolderAdd as default
13
- };
@@ -1,7 +0,0 @@
1
- import { SVGProps } from 'react';
2
- interface SVGRProps {
3
- title?: string;
4
- titleId?: string;
5
- }
6
- declare const SvgIconFolderDelete: ({ title, titleId, ...props }: SVGProps<SVGSVGElement> & SVGRProps) => import("react/jsx-runtime").JSX.Element;
7
- export default SvgIconFolderDelete;
@@ -1,12 +0,0 @@
1
- import { jsxs, jsx } from "react/jsx-runtime";
2
- const SvgIconFolderDelete = ({
3
- title,
4
- titleId,
5
- ...props
6
- }) => /* @__PURE__ */ jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", fill: "none", viewBox: "0 0 24 24", "aria-hidden": "true", "aria-labelledby": titleId, ...props, children: [
7
- title ? /* @__PURE__ */ jsx("title", { id: titleId, children: title }) : null,
8
- /* @__PURE__ */ jsx("path", { fill: "currentColor", fillRule: "evenodd", d: "M2.756 2A2.756 2.756 0 0 0 0 4.756V18a3 3 0 0 0 3 3h6.5a1 1 0 1 0 0-2H3a1 1 0 0 1-1-1V4.756C2 4.34 2.339 4 2.756 4H9.5A2.5 2.5 0 0 1 12 6.5a1 1 0 0 0 1 1h8a1 1 0 0 1 1 1 1 1 0 1 0 2 0 3 3 0 0 0-3-3h-7.111A4.5 4.5 0 0 0 9.5 2zm20.85 9.536a1 1 0 0 1 0 1.414l-3.535 3.535 3.536 3.536a1 1 0 0 1-1.415 1.414L18.657 17.9l-3.536 3.535a1 1 0 0 1-1.414-1.414l3.536-3.536-3.536-3.535a1 1 0 0 1 1.414-1.414l3.536 3.535 3.535-3.535a1 1 0 0 1 1.415 0", clipRule: "evenodd" })
9
- ] });
10
- export {
11
- SvgIconFolderDelete as default
12
- };
@@ -1,16 +0,0 @@
1
- import { jsxs, jsx } from "react/jsx-runtime";
2
- const SvgIconGlobe2 = ({
3
- title,
4
- titleId,
5
- ...props
6
- }) => /* @__PURE__ */ jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", fill: "none", viewBox: "0 0 24 24", "aria-hidden": "true", "aria-labelledby": titleId, ...props, children: [
7
- title ? /* @__PURE__ */ jsx("title", { id: titleId, children: title }) : null,
8
- /* @__PURE__ */ jsxs("g", { fill: "currentColor", fillRule: "evenodd", clipPath: "url(#icon-globe-2_svg__a)", clipRule: "evenodd", children: [
9
- /* @__PURE__ */ jsx("path", { d: "M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10m0 2c6.627 0 12-5.373 12-12S18.627 0 12 0C5.372 0 0 5.373 0 12s5.372 12 12 12" }),
10
- /* @__PURE__ */ jsx("path", { d: "M16.944 2.761V2.76a.67.67 0 0 0 .09-.683l-.416.182-.057.129-.078.611a.63.63 0 0 0 .46-.238m-.571.224-.065-.025.096-.216zm.01.003.03-.267.146-.328-.08.606h-.052zm.235-.73.416-.18a7.3 7.3 0 0 1 .504 1.754c.047.324.07.701.007 1.064-.061.355-.234.847-.714 1.16l-.09.059-1.215.464a1.26 1.26 0 0 0-.82 1.012l-.002.008-.009.069c-.136.95-1.001 1.151-1.134 1.177-.414.082-1.113.007-1.519-.64l-.006-.011-.224-.377c-.35.728-.718 1.572-.809 2.32v.002a.44.44 0 0 0 .041.247l.023.043.478 1.161c.097.17.245.324.437.44.36.218 1.13.713 1.654 1.323.04.047.264.221.9.398.633.177 1.133.73 1.181 1.432.058.849.193 1.37.335 1.649a.6.6 0 0 0 .103.157l.033.001.05.007.02.001.056.002c.14 0 .375-.03.603-.19.318-.223.634-.703.755-1.68v-.001c.051-.404.12-.913.239-1.429l.064-.34a297 297 0 0 1 .31-1.625l.084-.403.015-.058a1.012 1.012 0 0 1 1.04-.758c.26.015.443.128.488.156h.001c.124.077.216.17.249.203.09.091.183.203.25.287.075.092.145.184.196.251l.062.084.018.024.005.007.002.003-.384.28.384-.28.013.018.012.018a.34.34 0 0 0 .221.138.39.39 0 0 0 .292-.06l1.04-.745a.66.66 0 0 0-.273.536h2c0 .443-.219.843-.562 1.09m0 0-1.04.744a2.38 2.38 0 0 1-2.411.21l-.047.248-.067.359-.004.022-.005.022c-.097.416-.157.848-.207 1.246-.159 1.279-.633 2.398-1.592 3.071a3.06 3.06 0 0 1-2.032.538c-.847-.043-1.428-.586-1.764-1.248-.29-.571-.449-1.306-.525-2.136-.634-.2-1.235-.49-1.626-.946-.3-.35-.829-.707-1.17-.913a3.23 3.23 0 0 1-1.193-1.259l-.021-.04-.483-1.171a2.44 2.44 0 0 1-.233-1.378l.993.122-.993-.121c.15-1.234.775-2.507 1.135-3.242l.025-.05a1.79 1.79 0 0 1 1.527-.994h.008c.516-.02 1.031.175 1.396.56a3.3 3.3 0 0 1 1.703-1.46l.771-.294q0-.115-.024-.301a5.3 5.3 0 0 0-.358-1.236c-.2-.459-.126-.985.183-1.37l.78.626-.78-.625v-.002c.31-.385.786-.551 1.232-.498h.01l.115.016q.192.024.376.105l-.499 1.128m3.692 9.553-.096.07zM6.045 14.091a1.84 1.84 0 0 1 1.507.163c.575.348.805.94.805 1.502v.747c0 .338.081.546.191.694.116.156.329.33.73.48l1.751.655c.534.2 1.02.485 1.443.854l.344.3c1.015.887 1.445 2.241 1.024 3.528l-.098.298-1.9-.624.097-.296c.152-.464.021-.998-.439-1.4l-.344-.3a2.7 2.7 0 0 0-.827-.486l-1.75-.655c-.656-.245-1.23-.615-1.635-1.16-.411-.552-.587-1.201-.587-1.888v-.382l-3.93 1.605-.755-1.852 4.338-1.772zM8.876 2.991c.084.494.124.996.124 1.32m0 .84v-.84zm0 0c0 .847-.41 1.658-1.001 2.268L6.196 9.276a.82.82 0 0 0-.187.831 1.825 1.825 0 0 1-1.017 2.245L1.4 13.917l-.798-1.834 3.462-1.508a2.82 2.82 0 0 1 .698-2.692l1.803-1.857C6.885 5.695 7 5.36 7 5.15v-.84c0-.196-.028-.584-.096-.982-.074-.436-.169-.708-.222-.791L8.37 1.463c.286.45.429 1.072.507 1.528m-4.77 7.733" })
11
- ] }),
12
- /* @__PURE__ */ jsx("defs", { children: /* @__PURE__ */ jsx("clipPath", { id: "icon-globe-2_svg__a", children: /* @__PURE__ */ jsx("path", { fill: "#fff", d: "M0 0h24v24H0z" }) }) })
13
- ] });
14
- export {
15
- SvgIconGlobe2 as default
16
- };
@@ -1,7 +0,0 @@
1
- import { SVGProps } from 'react';
2
- interface SVGRProps {
3
- title?: string;
4
- titleId?: string;
5
- }
6
- declare const SvgIconGroupAvatar: ({ title, titleId, ...props }: SVGProps<SVGSVGElement> & SVGRProps) => import("react/jsx-runtime").JSX.Element;
7
- export default SvgIconGroupAvatar;
@@ -1,12 +0,0 @@
1
- import { jsxs, jsx } from "react/jsx-runtime";
2
- const SvgIconGroupAvatar = ({
3
- title,
4
- titleId,
5
- ...props
6
- }) => /* @__PURE__ */ jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", fill: "none", viewBox: "0 0 24 24", "aria-hidden": "true", "aria-labelledby": titleId, ...props, children: [
7
- title ? /* @__PURE__ */ jsx("title", { id: titleId, children: title }) : null,
8
- /* @__PURE__ */ jsx("path", { fill: "currentColor", fillRule: "evenodd", d: "M18.467 13.128a.917.917 0 0 1 1.166-.566c1.034.358 1.89 1.143 2.475 2.155.586 1.014.891 2.233.892 3.467v2.458a.917.917 0 0 1-1.833 0v-2.457c0-.944-.236-1.842-.646-2.55-.41-.709-.948-1.154-1.488-1.34a.917.917 0 0 1-.566-1.167M14.921 2.661a.917.917 0 0 1 .95-.882 4.702 4.702 0 0 1 1.934 8.902.917.917 0 0 1-.822-1.64 2.868 2.868 0 0 0-1.18-5.43.917.917 0 0 1-.882-.95M2.38 15.778c.894-.982 2.127-1.552 3.432-1.552h7.792c1.306 0 2.538.57 3.433 1.552.892.98 1.38 2.29 1.38 3.642v2.14a.917.917 0 1 1-1.834 0v-2.14c0-.917-.332-1.782-.902-2.407-.567-.623-1.316-.954-2.077-.954H5.812c-.76 0-1.51.331-2.077.954-.569.625-.902 1.49-.902 2.407v2.14a.917.917 0 1 1-1.833 0v-2.14c0-1.351.488-2.663 1.38-3.642M9.708 4.142a3.208 3.208 0 1 0 0 6.417 3.208 3.208 0 0 0 0-6.417M4.667 7.351a5.042 5.042 0 1 1 10.083 0 5.042 5.042 0 0 1-10.083 0", clipRule: "evenodd" })
9
- ] });
10
- export {
11
- SvgIconGroupAvatar as default
12
- };
@@ -1,7 +0,0 @@
1
- import { SVGProps } from 'react';
2
- interface SVGRProps {
3
- title?: string;
4
- titleId?: string;
5
- }
6
- declare const SvgIconMailRecall: ({ title, titleId, ...props }: SVGProps<SVGSVGElement> & SVGRProps) => import("react/jsx-runtime").JSX.Element;
7
- export default SvgIconMailRecall;