@edifice.io/react 2.5.9 → 2.5.10-develop-pedago.20260216173040
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -0
- package/dist/_virtual/isSameOrAfter.js +4 -0
- package/dist/_virtual/isToday.js +4 -0
- package/dist/components/AddAttachments/AddAttachments.d.ts +18 -0
- package/dist/components/AddAttachments/AddAttachments.js +87 -0
- package/dist/components/AddAttachments/components/AddAttachmentToWorkspaceModal.d.ts +9 -0
- package/dist/components/AddAttachments/components/AddAttachmentToWorkspaceModal.js +41 -0
- package/dist/components/AddAttachments/components/SingleAttachment.d.ts +13 -0
- package/dist/components/AddAttachments/components/SingleAttachment.js +27 -0
- package/dist/components/AddAttachments/index.d.ts +2 -0
- package/dist/components/AddAttachments/models/attachment.d.ts +9 -0
- package/dist/components/Badge/Badge.d.ts +7 -1
- package/dist/components/Badge/Badge.js +14 -11
- package/dist/components/DatePicker/DatePicker.d.ts +57 -0
- package/dist/components/DatePicker/DatePicker.js +6 -3
- package/dist/components/Layout/components/WidgetApps.js +2 -2
- package/dist/components/MediaViewer/MediaViewer.d.ts +17 -0
- package/dist/components/MediaViewer/MediaViewer.js +36 -0
- package/dist/components/MediaViewer/MediaWrapper.d.ts +7 -0
- package/dist/components/MediaViewer/MediaWrapper.js +72 -0
- package/dist/components/MediaViewer/PdfViewer.d.ts +4 -0
- package/dist/components/MediaViewer/PdfViewer.js +26 -0
- package/dist/components/MediaViewer/ToolbarViewer.d.ts +7 -0
- package/dist/components/MediaViewer/ToolbarViewer.js +41 -0
- package/dist/components/MediaViewer/ToolbarZoom.d.ts +4 -0
- package/dist/components/MediaViewer/ToolbarZoom.js +19 -0
- package/dist/components/MediaViewer/index.d.ts +2 -0
- package/dist/components/Modal/Modal.d.ts +4 -0
- package/dist/components/Modal/Modal.js +13 -12
- package/dist/components/PromotionCard/PromotionCard.d.ts +74 -0
- package/dist/components/PromotionCard/PromotionCard.js +31 -0
- package/dist/components/PromotionCard/PromotionCardBody.d.ts +10 -0
- package/dist/components/PromotionCard/PromotionCardBody.js +15 -0
- package/dist/components/PromotionCard/PromotionCardDescription.d.ts +9 -0
- package/dist/components/PromotionCard/PromotionCardDescription.js +12 -0
- package/dist/components/PromotionCard/PromotionCardFooter.d.ts +9 -0
- package/dist/components/PromotionCard/PromotionCardFooter.js +12 -0
- package/dist/components/PromotionCard/PromotionCardHeader.d.ts +11 -0
- package/dist/components/PromotionCard/PromotionCardHeader.js +17 -0
- package/dist/components/PromotionCard/PromotionCardIcon.d.ts +10 -0
- package/dist/components/PromotionCard/PromotionCardIcon.js +15 -0
- package/dist/components/PromotionCard/PromotionCardTitle.d.ts +9 -0
- package/dist/components/PromotionCard/PromotionCardTitle.js +12 -0
- package/dist/components/PromotionCard/index.d.ts +2 -0
- package/dist/components/SmartEllipsis/SmartEllipsis.d.ts +5 -0
- package/dist/components/SmartEllipsis/SmartEllipsis.js +21 -0
- package/dist/components/SmartEllipsis/index.d.ts +2 -0
- package/dist/components/index.d.ts +3 -0
- package/dist/hooks/useConf/useConf.d.ts +1 -1
- package/dist/hooks/useConversation/useConversation.js +3 -1
- package/dist/hooks/useDate/useDate.d.ts +5 -1
- package/dist/hooks/useDate/useDate.js +18 -2
- package/dist/hooks/useDropzone/useDropzone.js +21 -16
- package/dist/hooks/useEdificeIcons/useEdificeIcons.d.ts +1 -0
- package/dist/hooks/useEdificeIcons/useEdificeIcons.js +5 -0
- package/dist/hooks/useSession/useSession.d.ts +1 -1
- package/dist/hooks/useZoom/index.d.ts +1 -0
- package/dist/hooks/useZoom/useZoom.d.ts +7 -0
- package/dist/hooks/useZoom/useZoom.js +14 -0
- package/dist/icons.js +366 -350
- package/dist/index.js +147 -140
- package/dist/modules/audience/ViewsCounter.d.ts +3 -17
- package/dist/modules/audience/ViewsCounter.js +9 -7
- package/dist/modules/comments/components/Comment.js +4 -4
- package/dist/modules/comments/components/CommentDate.js +7 -10
- package/dist/modules/comments/components/CommentDeleted.js +1 -1
- package/dist/modules/comments/components/CommentForm.d.ts +1 -1
- package/dist/modules/comments/components/CommentForm.js +6 -6
- package/dist/modules/comments/components/CommentTitle.js +1 -1
- package/dist/modules/comments/provider/CommentProvider.js +4 -4
- package/dist/modules/comments/types.d.ts +3 -1
- package/dist/modules/icons/components/IconAdjustSettings.d.ts +7 -0
- package/dist/modules/icons/components/IconAdjustSettings.js +12 -0
- package/dist/modules/icons/components/IconAiFill.d.ts +7 -0
- package/dist/modules/icons/components/IconAiFill.js +12 -0
- package/dist/modules/icons/components/IconCalendarEdit.d.ts +7 -0
- package/dist/modules/icons/components/IconCalendarEdit.js +12 -0
- package/dist/modules/icons/components/IconCollect.d.ts +7 -0
- package/dist/modules/icons/components/IconCollect.js +12 -0
- package/dist/modules/icons/components/IconExercizerAi.d.ts +7 -0
- package/dist/modules/icons/components/IconExercizerAi.js +14 -0
- package/dist/modules/icons/components/IconLabel.d.ts +7 -0
- package/dist/modules/icons/components/IconLabel.js +12 -0
- package/dist/modules/icons/components/IconSubmission.d.ts +7 -0
- package/dist/modules/icons/components/IconSubmission.js +12 -0
- package/dist/modules/icons/components/IconTeacher.d.ts +7 -0
- package/dist/modules/icons/components/IconTeacher.js +12 -0
- package/dist/modules/icons/components/index.d.ts +8 -0
- package/dist/modules/modals/OnboardingModal/OnboardingModal.js +5 -5
- package/dist/modules/modals/ResourceModal/ResourceModal.d.ts +1 -1
- package/dist/modules/modals/ResourceModal/hooks/useUpdateMutation.d.ts +1 -1
- package/dist/modules/modals/ShareModal/ShareResources.d.ts +4 -1
- package/dist/modules/modals/ShareModal/ShareResources.js +9 -5
- package/dist/modules/modals/ShareModal/apps/ShareBlog.d.ts +1 -1
- package/dist/modules/modals/ShareModal/hooks/useShareMutation.d.ts +1 -1
- package/dist/modules/multimedia/FileCard/FileCard.js +1 -1
- package/dist/node_modules/.pnpm/dayjs@1.11.19/node_modules/dayjs/plugin/isSameOrAfter.js +18 -0
- package/dist/node_modules/.pnpm/dayjs@1.11.19/node_modules/dayjs/plugin/isToday.js +19 -0
- package/dist/providers/EdificeClientProvider/EdificeClientProvider.context.d.ts +1 -1
- package/dist/types/color.d.ts +3 -0
- package/dist/utilities/mime-types/index.d.ts +1 -0
- package/dist/utilities/mime-types/mime-types-utils.d.ts +1 -0
- package/dist/utilities/mime-types/mime-types-utils.js +4 -0
- package/dist/utilities/react-query/react-query-utils.d.ts +1 -1
- package/package.json +7 -6
- package/dist/modules/comments/components/CommentHeader.d.ts +0 -3
- package/dist/modules/comments/components/CommentHeader.js +0 -8
package/dist/index.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { default as default2 } from "./components/ActionBar/ActionBar.js";
|
|
2
|
+
import { AddAttachments } from "./components/AddAttachments/AddAttachments.js";
|
|
2
3
|
import { default as default3 } from "./components/Alert/Alert.js";
|
|
3
4
|
import { default as default4 } from "./components/AppHeader/AppHeader.js";
|
|
4
5
|
import { default as default5 } from "./components/AppIcon/AppIcon.js";
|
|
@@ -39,76 +40,78 @@ import { default as default38 } from "./components/Loading/Loading.js";
|
|
|
39
40
|
import { default as default39 } from "./components/LoadingScreen/LoadingScreen.js";
|
|
40
41
|
import { default as default40 } from "./components/Logo/Logo.js";
|
|
41
42
|
import { default as default41 } from "./modules/multimedia/MediaLibrary/MediaLibrary.js";
|
|
42
|
-
import { default as default42 } from "./components/
|
|
43
|
-
import { default as default43 } from "./
|
|
44
|
-
import { default as default44 } from "./
|
|
45
|
-
import { default as default45 } from "./
|
|
46
|
-
import { default as default46 } from "./components/
|
|
47
|
-
import { default as default47 } from "./
|
|
48
|
-
import { default as default48 } from "./components/
|
|
49
|
-
import { default as default49 } from "./components/
|
|
50
|
-
import { default as default50 } from "./components/
|
|
51
|
-
import { default as default51 } from "./components/
|
|
52
|
-
import { default as default52 } from "./
|
|
53
|
-
import { default as default53 } from "./
|
|
54
|
-
import { default as default54 } from "./modules/modals/ShareModal/
|
|
55
|
-
import { default as default55 } from "./
|
|
56
|
-
import { default as default56 } from "./
|
|
57
|
-
import { default as default57 } from "./components/
|
|
58
|
-
import { default as default58 } from "./components/
|
|
59
|
-
import { default as default59 } from "./components/
|
|
60
|
-
import { default as default60 } from "./components/
|
|
61
|
-
import { default as default61 } from "./components/
|
|
62
|
-
import { default as default62 } from "./components/
|
|
63
|
-
import { default as default63 } from "./components/
|
|
64
|
-
import { default as default64 } from "./components/
|
|
65
|
-
import { default as default65 } from "./
|
|
66
|
-
import { default as default66 } from "./
|
|
67
|
-
import { default as default67 } from "./modules/multimedia/
|
|
68
|
-
import { default as default68 } from "./modules/multimedia/
|
|
69
|
-
import { default as default69 } from "./
|
|
70
|
-
import { default as default70 } from "./modules/multimedia/
|
|
71
|
-
import { default as default71 } from "./
|
|
72
|
-
import { default as default72 } from "./
|
|
73
|
-
import { default as default73 } from "./
|
|
74
|
-
import { default as default74 } from "./hooks/
|
|
75
|
-
import { default as default75 } from "./hooks/
|
|
76
|
-
import { default as default76 } from "./hooks/
|
|
77
|
-
import { default as default77 } from "./hooks/
|
|
78
|
-
import { default as default78 } from "./hooks/
|
|
79
|
-
import { default as default79 } from "./hooks/
|
|
80
|
-
import { default as default80 } from "./hooks/
|
|
81
|
-
import { default as default81 } from "./hooks/
|
|
82
|
-
import { default as default82 } from "./hooks/
|
|
83
|
-
import { default as default83 } from "./hooks/
|
|
84
|
-
import { default as default84 } from "./hooks/
|
|
85
|
-
import { default as default85 } from "./hooks/
|
|
86
|
-
import { default as default86 } from "./hooks/
|
|
87
|
-
import { default as default87 } from "./hooks/
|
|
88
|
-
import { default as default88 } from "./hooks/
|
|
89
|
-
import { default as default89 } from "./hooks/
|
|
90
|
-
import { default as default90 } from "./hooks/
|
|
91
|
-
import { default as default91 } from "./hooks/
|
|
92
|
-
import { default as default92 } from "./hooks/
|
|
93
|
-
import { default as default93 } from "./hooks/
|
|
94
|
-
import { default as default94 } from "./hooks/
|
|
95
|
-
import { default as default95 } from "./hooks/
|
|
96
|
-
import { default as default96 } from "./
|
|
97
|
-
import { default as default97 } from "./hooks/
|
|
98
|
-
import { default as default98 } from "./hooks/
|
|
99
|
-
import { default as default99 } from "./hooks/
|
|
100
|
-
import { default as default100 } from "./hooks/
|
|
101
|
-
import { default as default101 } from "./hooks/
|
|
102
|
-
import { default as default102 } from "./
|
|
103
|
-
import { default as default103 } from "./hooks/
|
|
104
|
-
import { default as default104 } from "./hooks/
|
|
105
|
-
import { default as default105 } from "./hooks/
|
|
106
|
-
import { default as default106 } from "./hooks/
|
|
107
|
-
import { default as default107 } from "./hooks/
|
|
108
|
-
import {
|
|
109
|
-
import { default as default109 } from "./hooks/
|
|
110
|
-
import { default as default110 } from "./hooks/
|
|
111
|
-
import { default as default111 } from "./hooks/
|
|
43
|
+
import { default as default42 } from "./components/MediaViewer/MediaViewer.js";
|
|
44
|
+
import { default as default43 } from "./components/Modal/Modal.js";
|
|
45
|
+
import { default as default44 } from "./modules/modals/OnboardingModal/OnboardingModal.js";
|
|
46
|
+
import { default as default45 } from "./components/PreventPropagation/PreventPropagation.js";
|
|
47
|
+
import { default as default46, Root } from "./components/PromotionCard/PromotionCard.js";
|
|
48
|
+
import { default as default47 } from "./modules/modals/PublishModal/PublishModal.js";
|
|
49
|
+
import { default as default48 } from "./components/Radio/Radio.js";
|
|
50
|
+
import { default as default49 } from "./components/RadioCard/RadioCard.js";
|
|
51
|
+
import { default as default50 } from "./components/SearchBar/SearchBar.js";
|
|
52
|
+
import { default as default51 } from "./components/Button/SearchButton.js";
|
|
53
|
+
import { default as default52 } from "./components/SegmentedControl/SegmentedControl.js";
|
|
54
|
+
import { default as default53 } from "./components/Select/Select.js";
|
|
55
|
+
import { default as default54 } from "./modules/modals/ShareModal/apps/ShareBlog.js";
|
|
56
|
+
import { default as default55 } from "./modules/modals/ShareModal/ShareModal.js";
|
|
57
|
+
import { default as default56 } from "./modules/modals/ShareModal/ShareResources.js";
|
|
58
|
+
import { default as default57 } from "./components/Tree/components/SortableTree.js";
|
|
59
|
+
import { default as default58 } from "./components/StackedGroup/StackedGroup.js";
|
|
60
|
+
import { default as default59 } from "./components/Stepper/Stepper.js";
|
|
61
|
+
import { default as default60 } from "./components/Switch/Switch.js";
|
|
62
|
+
import { default as default61 } from "./components/Table/components/Table.js";
|
|
63
|
+
import { default as default62 } from "./components/TextArea/TextArea.js";
|
|
64
|
+
import { default as default63 } from "./components/Skeleton/TextSkeleton.js";
|
|
65
|
+
import { default as default64 } from "./components/Tooltip/Tooltip.js";
|
|
66
|
+
import { default as default65 } from "./components/Tree/components/Tree.js";
|
|
67
|
+
import { default as default66 } from "./components/TreeView/TreeView.js";
|
|
68
|
+
import { default as default67 } from "./modules/multimedia/UploadCard/UploadCard.js";
|
|
69
|
+
import { default as default68 } from "./modules/multimedia/UploadFiles/UploadFiles.js";
|
|
70
|
+
import { default as default69 } from "./modules/multimedia/VideoEmbed/VideoEmbed.js";
|
|
71
|
+
import { default as default70 } from "./modules/multimedia/VideoRecorder/VideoRecorder.js";
|
|
72
|
+
import { default as default71 } from "./components/VisuallyHidden/VisuallyHidden.js";
|
|
73
|
+
import { default as default72 } from "./modules/multimedia/Workspace/Workspace.js";
|
|
74
|
+
import { default as default73 } from "./modules/multimedia/WorkspaceFolders/WorkspaceFolders.js";
|
|
75
|
+
import { default as default74 } from "./hooks/useBookmark/useBookmark.js";
|
|
76
|
+
import { default as default75 } from "./hooks/useBreakpoint/useBreakpoint.js";
|
|
77
|
+
import { default as default76 } from "./hooks/useBrowserInfo/useBrowserInfo.js";
|
|
78
|
+
import { default as default77 } from "./hooks/useCantoo/useCantoo.js";
|
|
79
|
+
import { default as default78 } from "./hooks/useClickOutside/useClickOutside.js";
|
|
80
|
+
import { default as default79 } from "./hooks/useConversation/useConversation.js";
|
|
81
|
+
import { default as default80 } from "./hooks/useDate/useDate.js";
|
|
82
|
+
import { default as default81 } from "./hooks/useDebounce/useDebounce.js";
|
|
83
|
+
import { default as default82 } from "./hooks/useDirectory/useDirectory.js";
|
|
84
|
+
import { default as default83 } from "./hooks/useDropdown/useDropdown.js";
|
|
85
|
+
import { default as default84 } from "./hooks/useDropzone/useDropzone.js";
|
|
86
|
+
import { default as default85 } from "./hooks/useEdificeIcons/useEdificeIcons.js";
|
|
87
|
+
import { default as default86 } from "./hooks/useHasWorkflow/useHasWorkflow.js";
|
|
88
|
+
import { default as default87 } from "./hooks/useHover/useHover.js";
|
|
89
|
+
import { default as default88 } from "./hooks/useHttpErrorToast/useHttpErrorToast.js";
|
|
90
|
+
import { default as default89 } from "./hooks/useImage/useImage.js";
|
|
91
|
+
import { default as default90 } from "./hooks/useInfiniteScroll/useInfiniteScroll.js";
|
|
92
|
+
import { default as default91 } from "./hooks/useIsAdmc/useIsAdmc.js";
|
|
93
|
+
import { default as default92 } from "./hooks/useIsAdml/useIsAdml.js";
|
|
94
|
+
import { default as default93 } from "./hooks/useIsAdmlcOrAdmc/useIsAdmlcOrAdmc.js";
|
|
95
|
+
import { default as default94 } from "./hooks/useKeyPress/useKeyPress.js";
|
|
96
|
+
import { default as default95 } from "./hooks/useLibraryUrl/useLibraryUrl.js";
|
|
97
|
+
import { default as default96 } from "./hooks/useMediaLibrary/useMediaLibrary.js";
|
|
98
|
+
import { default as default97 } from "./hooks/useScrollToTop/useScrollToTop.js";
|
|
99
|
+
import { default as default98 } from "./modules/modals/ShareModal/hooks/useShareMutation.js";
|
|
100
|
+
import { default as default99 } from "./hooks/useTitle/useTitle.js";
|
|
101
|
+
import { default as default100 } from "./hooks/useToast/useToast.js";
|
|
102
|
+
import { default as default101 } from "./hooks/useToggle/useToggle.js";
|
|
103
|
+
import { default as default102 } from "./hooks/useTrapFocus/useTrapFocus.js";
|
|
104
|
+
import { default as default103 } from "./hooks/useTrashedResource/useTrashedResource.js";
|
|
105
|
+
import { default as default104 } from "./modules/modals/ResourceModal/hooks/useUpdateMutation.js";
|
|
106
|
+
import { default as default105 } from "./hooks/useUpload/useUpload.js";
|
|
107
|
+
import { default as default106 } from "./hooks/useUploadFiles/useUploadFiles.js";
|
|
108
|
+
import { default as default107 } from "./hooks/useUser/useUser.js";
|
|
109
|
+
import { default as default108 } from "./hooks/useWorkspaceFile/useWorkspaceFile.js";
|
|
110
|
+
import { default as default109 } from "./hooks/useWorkspaceFolders/useWorkspaceFolders.js";
|
|
111
|
+
import { WORKSPACE_SHARED_FOLDER_ID, WORKSPACE_USER_FOLDER_ID, default as default110 } from "./hooks/useWorkspaceFolders/useWorkspaceFoldersTree.js";
|
|
112
|
+
import { default as default111 } from "./hooks/useWorkspaceSearch/useWorkspaceSearch.js";
|
|
113
|
+
import { default as default112 } from "./hooks/useXitiTrackPageLoad/useXitiTrackPageLoad.js";
|
|
114
|
+
import { default as default113 } from "./hooks/useZendeskGuide/useZendeskGuide.js";
|
|
112
115
|
import { AccessiblePalette, DefaultPalette } from "./components/ColorPicker/ColorPalette.js";
|
|
113
116
|
import { AntProvider } from "./providers/AntThemeProvider/AntProvider.js";
|
|
114
117
|
import { Column, Grid } from "./components/Grid/Grid.js";
|
|
@@ -143,6 +146,7 @@ import { useTreeView } from "./components/TreeView/hooks/useTreeView.js";
|
|
|
143
146
|
export {
|
|
144
147
|
AccessiblePalette,
|
|
145
148
|
default2 as ActionBar,
|
|
149
|
+
AddAttachments,
|
|
146
150
|
default3 as Alert,
|
|
147
151
|
AntProvider,
|
|
148
152
|
default4 as AppHeader,
|
|
@@ -196,50 +200,53 @@ export {
|
|
|
196
200
|
default39 as LoadingScreen,
|
|
197
201
|
default40 as Logo,
|
|
198
202
|
default41 as MediaLibrary,
|
|
203
|
+
default42 as MediaViewer,
|
|
199
204
|
Menu,
|
|
200
205
|
MockedProvider,
|
|
201
|
-
|
|
202
|
-
|
|
206
|
+
default43 as Modal,
|
|
207
|
+
default44 as OnboardingModal,
|
|
203
208
|
Popover,
|
|
204
209
|
PopoverBody,
|
|
205
210
|
PopoverFooter,
|
|
206
211
|
PopoverHeader,
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
212
|
+
default45 as PreventPropagation,
|
|
213
|
+
default46 as PromotionCard,
|
|
214
|
+
default47 as PublishModal,
|
|
215
|
+
default48 as Radio,
|
|
216
|
+
default49 as RadioCard,
|
|
211
217
|
ResourceModal,
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
218
|
+
Root,
|
|
219
|
+
default50 as SearchBar,
|
|
220
|
+
default51 as SearchButton,
|
|
221
|
+
default52 as SegmentedControl,
|
|
222
|
+
default53 as Select,
|
|
223
|
+
default54 as ShareBlog,
|
|
224
|
+
default55 as ShareModal,
|
|
225
|
+
default56 as ShareResources,
|
|
226
|
+
default57 as SortableTree,
|
|
227
|
+
default58 as StackedGroup,
|
|
228
|
+
default59 as Stepper,
|
|
229
|
+
default60 as Switch,
|
|
230
|
+
default61 as Table,
|
|
224
231
|
Tabs,
|
|
225
|
-
|
|
226
|
-
|
|
232
|
+
default62 as TextArea,
|
|
233
|
+
default63 as TextSkeleton,
|
|
227
234
|
Toolbar,
|
|
228
|
-
|
|
229
|
-
|
|
235
|
+
default64 as Tooltip,
|
|
236
|
+
default65 as Tree,
|
|
230
237
|
TreeNode,
|
|
231
238
|
TreeNodeFolderWrapper,
|
|
232
|
-
|
|
239
|
+
default66 as TreeView,
|
|
233
240
|
Upload,
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
241
|
+
default67 as UploadCard,
|
|
242
|
+
default68 as UploadFiles,
|
|
243
|
+
default69 as VideoEmbed,
|
|
244
|
+
default70 as VideoRecorder,
|
|
245
|
+
default71 as VisuallyHidden,
|
|
239
246
|
WORKSPACE_SHARED_FOLDER_ID,
|
|
240
247
|
WORKSPACE_USER_FOLDER_ID,
|
|
241
|
-
|
|
242
|
-
|
|
248
|
+
default72 as Workspace,
|
|
249
|
+
default73 as WorkspaceFolders,
|
|
243
250
|
addNode,
|
|
244
251
|
arrayUnique,
|
|
245
252
|
buildTree,
|
|
@@ -268,51 +275,51 @@ export {
|
|
|
268
275
|
setRef,
|
|
269
276
|
updateNode,
|
|
270
277
|
updateParentIds,
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
278
|
+
default74 as useBookmark,
|
|
279
|
+
default75 as useBreakpoint,
|
|
280
|
+
default76 as useBrowserInfo,
|
|
281
|
+
default77 as useCantoo,
|
|
275
282
|
useCheckable,
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
+
default78 as useClickOutside,
|
|
284
|
+
default79 as useConversation,
|
|
285
|
+
default80 as useDate,
|
|
286
|
+
default81 as useDebounce,
|
|
287
|
+
default82 as useDirectory,
|
|
288
|
+
default83 as useDropdown,
|
|
289
|
+
default84 as useDropzone,
|
|
283
290
|
useDropzoneContext,
|
|
284
291
|
useEdificeClient,
|
|
285
|
-
|
|
292
|
+
default85 as useEdificeIcons,
|
|
286
293
|
useEdificeTheme,
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
294
|
+
default86 as useHasWorkflow,
|
|
295
|
+
default87 as useHover,
|
|
296
|
+
default88 as useHttpErrorToast,
|
|
297
|
+
default89 as useImage,
|
|
298
|
+
default90 as useInfiniteScroll,
|
|
299
|
+
default91 as useIsAdmc,
|
|
300
|
+
default92 as useIsAdml,
|
|
301
|
+
default93 as useIsAdmlcOrAdmc,
|
|
302
|
+
default94 as useKeyPress,
|
|
303
|
+
default95 as useLibraryUrl,
|
|
304
|
+
default96 as useMediaLibrary,
|
|
305
|
+
default97 as useScrollToTop,
|
|
306
|
+
default98 as useShareMutation,
|
|
307
|
+
default99 as useTitle,
|
|
308
|
+
default100 as useToast,
|
|
309
|
+
default101 as useToggle,
|
|
310
|
+
default102 as useTrapFocus,
|
|
311
|
+
default103 as useTrashedResource,
|
|
305
312
|
useTreeSortable,
|
|
306
313
|
useTreeView,
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
314
|
+
default104 as useUpdateMutation,
|
|
315
|
+
default105 as useUpload,
|
|
316
|
+
default106 as useUploadFiles,
|
|
317
|
+
default107 as useUser,
|
|
318
|
+
default108 as useWorkspaceFile,
|
|
319
|
+
default109 as useWorkspaceFolders,
|
|
320
|
+
default110 as useWorkspaceFoldersTree,
|
|
321
|
+
default111 as useWorkspaceSearch,
|
|
322
|
+
default112 as useXitiTrackPageLoad,
|
|
323
|
+
default113 as useZendeskGuide,
|
|
317
324
|
wrapTreeNode
|
|
318
325
|
};
|
|
@@ -1,20 +1,6 @@
|
|
|
1
|
-
export interface ViewsCounterProps {
|
|
2
|
-
/**
|
|
3
|
-
* The number of views to display.
|
|
4
|
-
*
|
|
5
|
-
*/
|
|
1
|
+
export interface ViewsCounterProps extends React.ComponentPropsWithRef<'button'> {
|
|
2
|
+
/** The number of views to display. */
|
|
6
3
|
viewsCounter: number;
|
|
7
|
-
/**
|
|
8
|
-
* Optional click handler for the counter button.
|
|
9
|
-
*/
|
|
10
|
-
onClick?: (event?: React.MouseEvent<HTMLButtonElement>) => void;
|
|
11
|
-
/**
|
|
12
|
-
* Optional CSS class name to apply to the counter component.
|
|
13
|
-
*/
|
|
14
|
-
className?: string;
|
|
15
4
|
}
|
|
16
|
-
declare const ViewsCounter:
|
|
17
|
-
({ viewsCounter, onClick, className, }: ViewsCounterProps): import("react/jsx-runtime").JSX.Element;
|
|
18
|
-
displayName: string;
|
|
19
|
-
};
|
|
5
|
+
declare const ViewsCounter: import('react').ForwardRefExoticComponent<Omit<ViewsCounterProps, "ref"> & import('react').RefAttributes<HTMLButtonElement>>;
|
|
20
6
|
export default ViewsCounter;
|
|
@@ -1,18 +1,20 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { StringUtils } from "@edifice.io/utilities";
|
|
3
3
|
import clsx from "clsx";
|
|
4
|
+
import { forwardRef } from "react";
|
|
4
5
|
import SvgIconSee from "../icons/components/IconSee.js";
|
|
5
6
|
import Button from "../../components/Button/Button.js";
|
|
6
|
-
const ViewsCounter = ({
|
|
7
|
+
const ViewsCounter = /* @__PURE__ */ forwardRef(({
|
|
7
8
|
viewsCounter,
|
|
8
9
|
onClick,
|
|
9
|
-
className
|
|
10
|
-
|
|
10
|
+
className,
|
|
11
|
+
...restProps
|
|
12
|
+
}, ref) => {
|
|
11
13
|
const handleButtonClick = (event) => {
|
|
12
|
-
event.preventDefault(), event.stopPropagation(), onClick == null || onClick();
|
|
13
|
-
};
|
|
14
|
-
return className = clsx("text-gray-700 fw-normal py-4 px-8 btn-icon", className), /* @__PURE__ */ jsx(Button, { rightIcon: /* @__PURE__ */ jsx(SvgIconSee, {}),
|
|
15
|
-
};
|
|
14
|
+
event.preventDefault(), event.stopPropagation(), onClick == null || onClick(event);
|
|
15
|
+
}, isDisabled = viewsCounter <= 0;
|
|
16
|
+
return className = clsx("text-gray-700 fw-normal py-4 px-8 btn-icon", className), /* @__PURE__ */ jsx(Button, { ref, rightIcon: /* @__PURE__ */ jsx(SvgIconSee, {}), className, onClick: handleButtonClick, disabled: isDisabled, ...restProps, color: "tertiary", variant: "ghost", children: StringUtils.toCounter(viewsCounter) });
|
|
17
|
+
});
|
|
16
18
|
export {
|
|
17
19
|
ViewsCounter as default
|
|
18
20
|
};
|
|
@@ -50,7 +50,7 @@ const DeleteModal = /* @__PURE__ */ lazy(() => import("./DeleteModal.js")), Comm
|
|
|
50
50
|
/* @__PURE__ */ jsx(CommentReplies, { parentComment: comment })
|
|
51
51
|
] }),
|
|
52
52
|
!comment.deleted && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
53
|
-
/* @__PURE__ */ jsxs("div", { className: `${isEditing ? "border rounded-3 p-12 pb-8 d-flex gap-12 bg-gray-200 my-16" : "border rounded-3 p-12 pb-8 d-flex gap-12 mt-16"}`, children: [
|
|
53
|
+
/* @__PURE__ */ jsxs("div", { "data-testid": "div-comment-read", className: `${isEditing ? "border rounded-3 p-12 pb-8 d-flex gap-12 bg-gray-200 my-16" : "border rounded-3 p-12 pb-8 d-flex gap-12 mt-16"}`, children: [
|
|
54
54
|
/* @__PURE__ */ jsx(CommentAvatar, { id: authorId }),
|
|
55
55
|
/* @__PURE__ */ jsxs("div", { className: "flex flex-fill", children: [
|
|
56
56
|
/* @__PURE__ */ jsxs("div", { className: "d-flex align-items-center gap-12", children: [
|
|
@@ -67,7 +67,7 @@ const DeleteModal = /* @__PURE__ */ lazy(() => import("./DeleteModal.js")), Comm
|
|
|
67
67
|
/* @__PURE__ */ jsx(Button, { variant: "ghost", color: "tertiary", size: "sm", onClick: handleReset, children: t("comment.cancel") }),
|
|
68
68
|
/* @__PURE__ */ jsxs("div", { className: "d-flex justify-content-end align-items-center gap-4", children: [
|
|
69
69
|
/* @__PURE__ */ jsx(TextCounter, { content: value, maxLength: options.maxCommentLength }),
|
|
70
|
-
/* @__PURE__ */ jsx(Button, { type: "submit", variant: "ghost", size: "sm", leftIcon: /* @__PURE__ */ jsx(SvgIconSave, {}), disabled: !(content != null && content.length), onClick: () => handleUpdateComment(value), children: t("comment.save") })
|
|
70
|
+
/* @__PURE__ */ jsx(Button, { "data-testid": "comment-save", type: "submit", variant: "ghost", size: "sm", leftIcon: /* @__PURE__ */ jsx(SvgIconSave, {}), disabled: !(content != null && content.length), onClick: () => handleUpdateComment(value), children: t("comment.save") })
|
|
71
71
|
] })
|
|
72
72
|
] })
|
|
73
73
|
] }) : /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
@@ -76,10 +76,10 @@ const DeleteModal = /* @__PURE__ */ lazy(() => import("./DeleteModal.js")), Comm
|
|
|
76
76
|
}, children: content }),
|
|
77
77
|
type === "edit" && /* @__PURE__ */ jsxs("div", { className: "ms-n8", children: [
|
|
78
78
|
!replyTo && options.allowReplies && /* @__PURE__ */ jsx(Button, { variant: "ghost", color: "tertiary", size: "sm", onClick: () => handleReplyToComment(comment.id), children: t("comment.reply") }),
|
|
79
|
-
userId === authorId && /* @__PURE__ */ jsx(Button, { variant: "ghost", color: "tertiary", size: "sm", onClick: () => {
|
|
79
|
+
userId === authorId && /* @__PURE__ */ jsx(Button, { "data-testid": "comment-edit", variant: "ghost", color: "tertiary", size: "sm", onClick: () => {
|
|
80
80
|
handleModifyComment(comment.id), setValue(content);
|
|
81
81
|
}, children: t("comment.edit") }),
|
|
82
|
-
(userId === authorId || (userRights == null ? void 0 : userRights.manager)) && /* @__PURE__ */ jsx(Button, { variant: "ghost", color: "tertiary", size: "sm", onClick: () => setIsDeleteModalOpen(!0), children: t("comment.remove") })
|
|
82
|
+
(userId === authorId || (userRights == null ? void 0 : userRights.manager)) && /* @__PURE__ */ jsx(Button, { "data-testid": "comment-delete", variant: "ghost", color: "tertiary", size: "sm", onClick: () => setIsDeleteModalOpen(!0), children: t("comment.remove") })
|
|
83
83
|
] })
|
|
84
84
|
] })
|
|
85
85
|
] })
|
|
@@ -9,17 +9,14 @@ const CommentDate = ({
|
|
|
9
9
|
fromNow
|
|
10
10
|
} = useDate(), {
|
|
11
11
|
t
|
|
12
|
-
} = useTranslation()
|
|
13
|
-
|
|
14
|
-
}), getUpdatedDate = (date) => t("comment.update.date", {
|
|
15
|
-
date: fromNow(date)
|
|
16
|
-
});
|
|
17
|
-
return updatedAt ? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
12
|
+
} = useTranslation();
|
|
13
|
+
return updatedAt || createdAt ? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
18
14
|
/* @__PURE__ */ jsx("span", { className: "small text-gray-700", children: "|" }),
|
|
19
|
-
/* @__PURE__ */ jsx("span", { className: "small text-gray-700", children:
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
15
|
+
/* @__PURE__ */ jsx("span", { "data-testid": "comment-info-date", className: "small text-gray-700", children: updatedAt ? ((date) => t("comment.update.date", {
|
|
16
|
+
date: fromNow(date)
|
|
17
|
+
}))(updatedAt) : ((date) => t("comment.publish.date", {
|
|
18
|
+
date: fromNow(date)
|
|
19
|
+
}))(createdAt) })
|
|
23
20
|
] }) : null;
|
|
24
21
|
};
|
|
25
22
|
export {
|
|
@@ -4,7 +4,7 @@ const CommentDeleted = () => {
|
|
|
4
4
|
const {
|
|
5
5
|
t
|
|
6
6
|
} = useTranslation();
|
|
7
|
-
return /* @__PURE__ */ jsx("div", { className: "border rounded-3 p-12 pb-8 d-flex gap-12 bg-gray-200 my-16", children: t("comment.deleted") });
|
|
7
|
+
return /* @__PURE__ */ jsx("div", { "data-testid": "div-comment-deleted", className: "border rounded-3 p-12 pb-8 d-flex gap-12 bg-gray-200 my-16", children: t("comment.deleted") });
|
|
8
8
|
};
|
|
9
9
|
export {
|
|
10
10
|
CommentDeleted
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
+
import { useState } from "react";
|
|
2
3
|
import { useTranslation } from "react-i18next";
|
|
3
4
|
import SvgIconSend from "../../icons/components/IconSend.js";
|
|
4
5
|
import { useAutosizeTextarea } from "../hooks/useAutosizeTextarea.js";
|
|
5
6
|
import { useCommentsContext } from "../hooks/useCommentsContext.js";
|
|
6
7
|
import { CommentAvatar } from "./CommentAvatar.js";
|
|
7
8
|
import { TextCounter } from "./TextCounter.js";
|
|
8
|
-
import { useState } from "react";
|
|
9
9
|
import Button from "../../../components/Button/Button.js";
|
|
10
10
|
const CommentForm = ({
|
|
11
11
|
userId,
|
|
@@ -22,19 +22,19 @@ const CommentForm = ({
|
|
|
22
22
|
}, handleSubmit = () => {
|
|
23
23
|
handleCreateComment(content, replyTo), setContent("");
|
|
24
24
|
};
|
|
25
|
-
return
|
|
25
|
+
return type === "edit" && /* @__PURE__ */ jsxs("div", { "data-testid": "div-comment-create", className: "border rounded-3 p-12 pb-8 d-flex gap-12 bg-gray-200 d-print-none", children: [
|
|
26
26
|
/* @__PURE__ */ jsx(CommentAvatar, { id: userId }),
|
|
27
27
|
/* @__PURE__ */ jsxs("div", { className: "d-flex flex-column flex-fill gap-4", children: [
|
|
28
|
-
/* @__PURE__ */ jsx("textarea", { id: "add-comment", ref, value: content, className: "form-control", placeholder: t("comment.placeholder.textarea"), maxLength: options.maxCommentLength, onChange: handleChangeContent, onFocus, rows: 1, style: {
|
|
28
|
+
/* @__PURE__ */ jsx("textarea", { id: "add-comment", "data-testid": "comment-form", ref, value: content, className: "form-control", placeholder: t("comment.placeholder.textarea"), maxLength: options.maxCommentLength, onChange: handleChangeContent, onFocus, rows: 1, style: {
|
|
29
29
|
resize: "none",
|
|
30
30
|
overflow: "hidden"
|
|
31
31
|
} }),
|
|
32
32
|
/* @__PURE__ */ jsxs("div", { className: "d-flex justify-content-end align-items-center gap-4", children: [
|
|
33
33
|
/* @__PURE__ */ jsx(TextCounter, { content, maxLength: options.maxCommentLength }),
|
|
34
|
-
/* @__PURE__ */ jsx(Button, { type: "submit", variant: "ghost", size: "sm", leftIcon: /* @__PURE__ */ jsx(SvgIconSend, {}), disabled: !(content != null && content.length), onClick: handleSubmit, children: t("comment.post") })
|
|
34
|
+
/* @__PURE__ */ jsx(Button, { "data-testid": "comment-publish", type: "submit", variant: "ghost", size: "sm", leftIcon: /* @__PURE__ */ jsx(SvgIconSend, {}), disabled: !(content != null && content.length), onClick: handleSubmit, children: t("comment.post") })
|
|
35
35
|
] })
|
|
36
36
|
] })
|
|
37
|
-
] })
|
|
37
|
+
] });
|
|
38
38
|
};
|
|
39
39
|
export {
|
|
40
40
|
CommentForm
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
const CommentTitle = ({
|
|
3
3
|
children
|
|
4
|
-
}) => /* @__PURE__ */ jsx("span", { className: "small text-gray-800", children });
|
|
4
|
+
}) => /* @__PURE__ */ jsx("span", { "data-testid": "comment-info-author", className: "small text-gray-800", children });
|
|
5
5
|
export {
|
|
6
6
|
CommentTitle
|
|
7
7
|
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
2
2
|
import { useMemo } from "react";
|
|
3
3
|
import { CommentForm } from "../components/CommentForm.js";
|
|
4
|
-
import { CommentHeader } from "../components/CommentHeader.js";
|
|
5
4
|
import { CommentList } from "../components/CommentList.js";
|
|
6
5
|
import { DEFAULT_ALLOW_REPLIES, DEFAULT_ADD_REPLIES, DEFAULT_MAX_REPLIES, DEFAULT_ADD_COMMENTS, DEFAULT_MAX_COMMENTS, DEFAULT_MAX_REPLY_LENGTH, DEFAULT_MAX_COMMENT_LENGTH } from "../constants.js";
|
|
7
6
|
import { CommentContext } from "../context/Context.js";
|
|
8
7
|
import { useComments } from "../hooks/useComments.js";
|
|
8
|
+
import Heading from "../../../components/Heading/Heading.js";
|
|
9
9
|
import Button from "../../../components/Button/Button.js";
|
|
10
10
|
import EmptyScreen from "../../../components/EmptyScreen/EmptyScreen.js";
|
|
11
11
|
const CommentProvider = ({
|
|
@@ -71,15 +71,15 @@ const CommentProvider = ({
|
|
|
71
71
|
[displayedComments, editCommentId, profilesQueries, options]
|
|
72
72
|
);
|
|
73
73
|
return /* @__PURE__ */ jsx(CommentContext.Provider, { value: values, children: /* @__PURE__ */ jsxs("div", { className: "my-24", children: [
|
|
74
|
-
/* @__PURE__ */ jsx(
|
|
74
|
+
/* @__PURE__ */ jsx(Heading, { "data-testid": "comments-info-count-text", level: "h3", headingStyle: "h3", className: displayedComments.length === 0 ? "d-print-none" : "", children: title }),
|
|
75
75
|
/* @__PURE__ */ jsxs("div", { className: "my-24", children: [
|
|
76
76
|
user && /* @__PURE__ */ jsx(CommentForm, { userId: user.userId }),
|
|
77
|
-
profilesQueries.isLoading
|
|
77
|
+
!profilesQueries.isLoading && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
78
78
|
/* @__PURE__ */ jsx(CommentList, {}),
|
|
79
79
|
showMoreComments && /* @__PURE__ */ jsx(Button, { variant: "ghost", color: "tertiary", onClick: handleMoreComments, className: "my-16", children: t("comment.more") })
|
|
80
80
|
] })
|
|
81
81
|
] }),
|
|
82
|
-
!displayedComments.length && type === "edit" && /* @__PURE__ */ jsxs("div", { className: "comments-emptyscreen", children: [
|
|
82
|
+
!displayedComments.length && type === "edit" && /* @__PURE__ */ jsxs("div", { className: "comments-emptyscreen d-print-none", children: [
|
|
83
83
|
/* @__PURE__ */ jsx("div", { className: "comments-emptyscreen-wrapper", children: /* @__PURE__ */ jsx(EmptyScreen, { imageSrc: emptyscreenPath, size: 150 }) }),
|
|
84
84
|
/* @__PURE__ */ jsx("p", { children: t("comment.emptyscreen") })
|
|
85
85
|
] })
|
|
@@ -71,7 +71,9 @@ interface EditRootProps extends BaseProps {
|
|
|
71
71
|
*/
|
|
72
72
|
callbacks: CommentCallbacks;
|
|
73
73
|
/**
|
|
74
|
-
* Rights to perform CRUD on comment
|
|
74
|
+
* Rights to perform CRUD on comment (type=`edit` required):
|
|
75
|
+
* - manager => delete
|
|
76
|
+
* Also, comment's author can update, delete
|
|
75
77
|
*/
|
|
76
78
|
rights?: Record<RightRole, boolean>;
|
|
77
79
|
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { SVGProps } from 'react';
|
|
2
|
+
interface SVGRProps {
|
|
3
|
+
title?: string;
|
|
4
|
+
titleId?: string;
|
|
5
|
+
}
|
|
6
|
+
declare const SvgIconAdjustSettings: ({ title, titleId, ...props }: SVGProps<SVGSVGElement> & SVGRProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export default SvgIconAdjustSettings;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
+
const SvgIconAdjustSettings = ({
|
|
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", d: "M10 17c1.306 0 2.414.835 2.826 2H21.9c.608 0 1.1.448 1.1 1s-.492 1-1.1 1h-9.074a2.998 2.998 0 0 1-5.652 0H2.1c-.608 0-1.1-.448-1.1-1s.492-1 1.1-1h5.074c.412-1.165 1.52-2 2.826-2m8-8c1.306 0 2.414.835 2.826 2H21.9c.608 0 1.1.448 1.1 1s-.492 1-1.1 1h-1.074a2.998 2.998 0 0 1-5.652 0H2.1c-.608 0-1.1-.448-1.1-1s.492-1 1.1-1h13.074c.412-1.165 1.52-2 2.826-2M7 1c1.306 0 2.414.835 2.826 2H21.9c.608 0 1.1.448 1.1 1s-.492 1-1.1 1H9.826A3 3 0 0 1 7 7a3 3 0 0 1-2.826-2H2.1C1.492 5 1 4.552 1 4s.492-1 1.1-1h2.074C4.586 1.835 5.694 1 7 1" })
|
|
9
|
+
] });
|
|
10
|
+
export {
|
|
11
|
+
SvgIconAdjustSettings 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 SvgIconAiFill: ({ title, titleId, ...props }: SVGProps<SVGSVGElement> & SVGRProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export default SvgIconAiFill;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
+
const SvgIconAiFill = ({
|
|
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", d: "m12.61 21.262.585-1.344a10.35 10.35 0 0 1 5.27-5.342l1.805-.802a1.258 1.258 0 0 0 0-2.283l-1.705-.76A10.38 10.38 0 0 1 13.22 5.21l-.601-1.448a1.201 1.201 0 0 0-2.237 0l-.601 1.45a10.37 10.37 0 0 1-5.346 5.52l-1.703.757a1.258 1.258 0 0 0 0 2.285l1.802.805a10.35 10.35 0 0 1 5.273 5.34l.584 1.343a1.201 1.201 0 0 0 2.218 0M19.35 7.767l.185-.424A3.27 3.27 0 0 1 21.2 5.656l.57-.254a.398.398 0 0 0 0-.72l-.539-.24a3.28 3.28 0 0 1-1.688-1.744l-.19-.457a.38.38 0 0 0-.706 0l-.19.458a3.28 3.28 0 0 1-1.688 1.743l-.538.239a.398.398 0 0 0 0 .721l.57.254c.746.335 1.34.936 1.665 1.687l.184.424a.38.38 0 0 0 .7 0" })
|
|
9
|
+
] });
|
|
10
|
+
export {
|
|
11
|
+
SvgIconAiFill as default
|
|
12
|
+
};
|