@layers-app/shared 0.4.6 → 0.4.8

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 (232) hide show
  1. package/dist/assets/default-workspace-avatar.jpg.js +1 -1
  2. package/dist/components/AliasTextInput/AliasTextInput.d.ts.map +1 -1
  3. package/dist/components/AliasTextInput/AliasTextInput.js +32 -32
  4. package/dist/components/AppContainer/AppContainer.d.ts +1 -1
  5. package/dist/components/AppContainer/AppContainer.d.ts.map +1 -1
  6. package/dist/components/AppContainer/AppContainer.js +82 -70
  7. package/dist/components/AppContainer/AppContainer.module.css.js +20 -10
  8. package/dist/components/AppContainer/components/AppsSidebar/DesktopUpdateButton.d.ts +6 -0
  9. package/dist/components/AppContainer/components/AppsSidebar/DesktopUpdateButton.d.ts.map +1 -0
  10. package/dist/components/AppContainer/components/AppsSidebar/DesktopUpdateButton.js +161 -0
  11. package/dist/components/AppContainer/components/AppsSidebar/TopSection.d.ts.map +1 -1
  12. package/dist/components/AppContainer/components/AppsSidebar/TopSection.js +77 -49
  13. package/dist/components/AppContainer/components/AppsSidebar/UserSection.d.ts.map +1 -1
  14. package/dist/components/AppContainer/components/AppsSidebar/UserSection.js +238 -105
  15. package/dist/components/AppContainer/components/Main.js +4 -4
  16. package/dist/components/AppContainer/components/NavbarContent.d.ts.map +1 -1
  17. package/dist/components/AppContainer/components/NavbarContent.js +16 -2
  18. package/dist/components/AppContainer/components/SlideAnimation.js +4 -4
  19. package/dist/components/AppContainer/components/ToolSidebar.d.ts +5 -0
  20. package/dist/components/AppContainer/components/ToolSidebar.d.ts.map +1 -1
  21. package/dist/components/AppContainer/components/ToolSidebar.js +51 -39
  22. package/dist/components/AppContainer/components/menus/HelpMenu/HelpMenu.d.ts +62 -1
  23. package/dist/components/AppContainer/components/menus/HelpMenu/HelpMenu.d.ts.map +1 -1
  24. package/dist/components/AppContainer/components/menus/HelpMenu/HelpMenu.js +1107 -137
  25. package/dist/components/AppContainer/components/menus/HelpMenu/HelpMenu.module.css.js +158 -6
  26. package/dist/components/AppContainer/types.d.ts +12 -0
  27. package/dist/components/AppContainer/types.d.ts.map +1 -1
  28. package/dist/components/AttachmentsPreview/AttachmentsPreview.d.ts +3 -1
  29. package/dist/components/AttachmentsPreview/AttachmentsPreview.d.ts.map +1 -1
  30. package/dist/components/AttachmentsPreview/AttachmentsPreview.js +237 -93
  31. package/dist/components/AttachmentsPreview/AttachmentsPreview.module.css.js +18 -16
  32. package/dist/components/Chat/ChatInput/index.d.ts +13 -1
  33. package/dist/components/Chat/ChatInput/index.d.ts.map +1 -1
  34. package/dist/components/Chat/ChatInput/index.js +264 -164
  35. package/dist/components/Chat/ChatInput/useVoiceRecorder.d.ts +16 -0
  36. package/dist/components/Chat/ChatInput/useVoiceRecorder.d.ts.map +1 -0
  37. package/dist/components/Chat/ChatInput/useVoiceRecorder.js +83 -0
  38. package/dist/components/Chat/ChatMessage/ChatMessage.module.css.js +20 -16
  39. package/dist/components/Chat/ChatMessage/index.d.ts +16 -0
  40. package/dist/components/Chat/ChatMessage/index.d.ts.map +1 -1
  41. package/dist/components/Chat/ChatMessage/index.js +153 -118
  42. package/dist/components/Chat/MessageActions/index.d.ts +2 -0
  43. package/dist/components/Chat/MessageActions/index.d.ts.map +1 -1
  44. package/dist/components/Chat/MessageActions/index.js +189 -50
  45. package/dist/components/Chat/MessageAuthor/index.d.ts +7 -1
  46. package/dist/components/Chat/MessageAuthor/index.d.ts.map +1 -1
  47. package/dist/components/Chat/MessageAuthor/index.js +39 -25
  48. package/dist/components/Chat/MessageList/MessageList.module.css.js +14 -12
  49. package/dist/components/Chat/MessageList/index.d.ts +17 -25
  50. package/dist/components/Chat/MessageList/index.d.ts.map +1 -1
  51. package/dist/components/Chat/MessageList/index.js +201 -149
  52. package/dist/components/Chat/MessageMeta/index.d.ts.map +1 -1
  53. package/dist/components/Chat/MessageMeta/index.js +21 -19
  54. package/dist/components/ColorPicker/ColorPicker.d.ts +3 -0
  55. package/dist/components/ColorPicker/ColorPicker.d.ts.map +1 -1
  56. package/dist/components/ColorPicker/ColorPicker.js +81 -76
  57. package/dist/components/ColorPicker/ColorPickerToolbar.d.ts +1 -0
  58. package/dist/components/ColorPicker/ColorPickerToolbar.d.ts.map +1 -1
  59. package/dist/components/ColorPicker/ColorPickerToolbar.js +97 -91
  60. package/dist/components/CommentComposer/CommentEditorHotkeys.d.ts +2 -1
  61. package/dist/components/CommentComposer/CommentEditorHotkeys.d.ts.map +1 -1
  62. package/dist/components/CommentComposer/CommentEditorHotkeys.js +29 -26
  63. package/dist/components/CommentComposer/index.d.ts +1 -1
  64. package/dist/components/CommentComposer/index.d.ts.map +1 -1
  65. package/dist/components/CommentComposer/index.js +70 -68
  66. package/dist/components/CommentComposer/types.d.ts +6 -0
  67. package/dist/components/CommentComposer/types.d.ts.map +1 -1
  68. package/dist/components/CustomKBD/index.js +21 -22
  69. package/dist/components/EmojiPicker/EmojiPicker.d.ts +1 -0
  70. package/dist/components/EmojiPicker/EmojiPicker.d.ts.map +1 -1
  71. package/dist/components/EmojiPicker/EmojiPicker.js +129 -121
  72. package/dist/components/EntityTitle/EntityTitle.d.ts +3 -4
  73. package/dist/components/EntityTitle/EntityTitle.d.ts.map +1 -1
  74. package/dist/components/EntityTitle/EntityTitle.js +81 -80
  75. package/dist/components/FormViewer/helpers/conditions.d.ts.map +1 -1
  76. package/dist/components/FormViewer/helpers/conditions.js +33 -17
  77. package/dist/components/IntegrationFlowAnimation/IntegrationFlowAnimation.d.ts +3 -1
  78. package/dist/components/IntegrationFlowAnimation/IntegrationFlowAnimation.d.ts.map +1 -1
  79. package/dist/components/IntegrationFlowAnimation/IntegrationFlowAnimation.js +26 -25
  80. package/dist/components/NewToolbar/utils.d.ts +12 -0
  81. package/dist/components/NewToolbar/utils.d.ts.map +1 -0
  82. package/dist/components/Notification/InfiniteScroll.d.ts +12 -0
  83. package/dist/components/Notification/InfiniteScroll.d.ts.map +1 -0
  84. package/dist/components/Notification/InfiniteScroll.js +42 -0
  85. package/dist/components/Notification/Notification.d.ts +4 -1
  86. package/dist/components/Notification/Notification.d.ts.map +1 -1
  87. package/dist/components/Notification/Notification.module.css.js +28 -4
  88. package/dist/components/Notification/atoms/ActionBadge.d.ts +11 -0
  89. package/dist/components/Notification/atoms/ActionBadge.d.ts.map +1 -0
  90. package/dist/components/Notification/atoms/ActionBadge.js +53 -0
  91. package/dist/components/Notification/atoms/ArchiveIcon.d.ts +7 -0
  92. package/dist/components/Notification/atoms/ArchiveIcon.d.ts.map +1 -0
  93. package/dist/components/Notification/atoms/ArchiveIcon.js +40 -0
  94. package/dist/components/Notification/atoms/InboxIcon.d.ts +7 -0
  95. package/dist/components/Notification/atoms/InboxIcon.d.ts.map +1 -0
  96. package/dist/components/Notification/atoms/InboxIcon.js +33 -0
  97. package/dist/components/Notification/atoms/MarkReadIcon.d.ts +7 -0
  98. package/dist/components/Notification/atoms/MarkReadIcon.d.ts.map +1 -0
  99. package/dist/components/Notification/atoms/MarkReadIcon.js +33 -0
  100. package/dist/components/Notification/atoms/ResourceIcon.d.ts +7 -0
  101. package/dist/components/Notification/atoms/ResourceIcon.d.ts.map +1 -0
  102. package/dist/components/Notification/atoms/TabBadge.d.ts +7 -0
  103. package/dist/components/Notification/atoms/TabBadge.d.ts.map +1 -0
  104. package/dist/components/Notification/atoms/TabBadge.js +32 -0
  105. package/dist/components/Notification/atoms/UnreadDot.d.ts +6 -0
  106. package/dist/components/Notification/atoms/UnreadDot.d.ts.map +1 -0
  107. package/dist/components/Notification/atoms/UnreadDot.js +23 -0
  108. package/dist/components/Notification/atoms/index.d.ts +5 -0
  109. package/dist/components/Notification/atoms/index.d.ts.map +1 -0
  110. package/dist/components/Notification/hooks/index.d.ts +8 -0
  111. package/dist/components/Notification/hooks/index.d.ts.map +1 -0
  112. package/dist/components/Notification/hooks/useInboxActions.d.ts +12 -0
  113. package/dist/components/Notification/hooks/useInboxActions.d.ts.map +1 -0
  114. package/dist/components/Notification/hooks/useInboxActions.js +58 -0
  115. package/dist/components/Notification/hooks/useInboxLoader.d.ts +8 -0
  116. package/dist/components/Notification/hooks/useInboxLoader.d.ts.map +1 -0
  117. package/dist/components/Notification/hooks/useInboxLoader.js +49 -0
  118. package/dist/components/Notification/hooks/useNotificationItem.d.ts +26 -0
  119. package/dist/components/Notification/hooks/useNotificationItem.d.ts.map +1 -0
  120. package/dist/components/Notification/hooks/useNotificationItem.js +51 -0
  121. package/dist/components/Notification/hooks/useNotificationStore.d.ts +49 -0
  122. package/dist/components/Notification/hooks/useNotificationStore.d.ts.map +1 -0
  123. package/dist/components/Notification/hooks/useNotificationStore.js +139 -0
  124. package/dist/components/Notification/hooks/useNotificationStream.d.ts +2 -0
  125. package/dist/components/Notification/hooks/useNotificationStream.d.ts.map +1 -0
  126. package/dist/components/Notification/hooks/useNotificationStream.js +86 -0
  127. package/dist/components/Notification/hooks/useNotificationTime.d.ts +2 -0
  128. package/dist/components/Notification/hooks/useNotificationTime.d.ts.map +1 -0
  129. package/dist/components/Notification/hooks/useNotificationTime.js +23 -0
  130. package/dist/components/Notification/hooks/useNotificationsApi.d.ts +25 -0
  131. package/dist/components/Notification/hooks/useNotificationsApi.d.ts.map +1 -0
  132. package/dist/components/Notification/hooks/useNotificationsApi.js +64 -0
  133. package/dist/components/Notification/lib/api.d.ts +4 -0
  134. package/dist/components/Notification/lib/api.d.ts.map +1 -0
  135. package/dist/components/Notification/lib/api.js +19 -0
  136. package/dist/components/Notification/lib/index.d.ts +5 -0
  137. package/dist/components/Notification/lib/index.d.ts.map +1 -0
  138. package/dist/components/Notification/lib/notificationText.d.ts +10 -0
  139. package/dist/components/Notification/lib/notificationText.d.ts.map +1 -0
  140. package/dist/components/Notification/lib/notificationText.js +131 -0
  141. package/dist/components/Notification/lib/stripHtml.d.ts +2 -0
  142. package/dist/components/Notification/lib/stripHtml.d.ts.map +1 -0
  143. package/dist/components/Notification/lib/stripHtml.js +6 -0
  144. package/dist/components/Notification/lib/types.d.ts +45 -0
  145. package/dist/components/Notification/lib/types.d.ts.map +1 -0
  146. package/dist/components/Notification/lib/types.js +9 -0
  147. package/dist/components/Notification/molecules/InboxEmpty.d.ts +8 -0
  148. package/dist/components/Notification/molecules/InboxEmpty.d.ts.map +1 -0
  149. package/dist/components/Notification/molecules/InboxEmpty.js +21 -0
  150. package/dist/components/Notification/molecules/InboxHeader.d.ts +17 -0
  151. package/dist/components/Notification/molecules/InboxHeader.d.ts.map +1 -0
  152. package/dist/components/Notification/molecules/InboxHeader.js +73 -0
  153. package/dist/components/Notification/molecules/InboxTabs.d.ts +15 -0
  154. package/dist/components/Notification/molecules/InboxTabs.d.ts.map +1 -0
  155. package/dist/components/Notification/molecules/InboxTabs.js +60 -0
  156. package/dist/components/Notification/molecules/NotificationActions.d.ts +9 -0
  157. package/dist/components/Notification/molecules/NotificationActions.d.ts.map +1 -0
  158. package/dist/components/Notification/molecules/NotificationActions.js +64 -0
  159. package/dist/components/Notification/molecules/NotificationAvatar.d.ts +17 -0
  160. package/dist/components/Notification/molecules/NotificationAvatar.d.ts.map +1 -0
  161. package/dist/components/Notification/molecules/NotificationAvatar.js +38 -0
  162. package/dist/components/Notification/molecules/NotificationContent.d.ts +22 -0
  163. package/dist/components/Notification/molecules/NotificationContent.d.ts.map +1 -0
  164. package/dist/components/Notification/molecules/NotificationContent.js +183 -0
  165. package/dist/components/Notification/molecules/index.d.ts +7 -0
  166. package/dist/components/Notification/molecules/index.d.ts.map +1 -0
  167. package/dist/components/Notification/organisms/InboxItem.d.ts +14 -0
  168. package/dist/components/Notification/organisms/InboxItem.d.ts.map +1 -0
  169. package/dist/components/Notification/organisms/InboxItem.js +100 -0
  170. package/dist/components/Notification/organisms/InboxPanel.d.ts +4 -0
  171. package/dist/components/Notification/organisms/InboxPanel.d.ts.map +1 -0
  172. package/dist/components/Notification/organisms/InboxPanel.js +99 -0
  173. package/dist/components/Notification/organisms/index.d.ts +3 -0
  174. package/dist/components/Notification/organisms/index.d.ts.map +1 -0
  175. package/dist/components/OnboardingTour/index.d.ts +1 -1
  176. package/dist/components/OnboardingTour/index.d.ts.map +1 -1
  177. package/dist/components/OnboardingTour/useOnboardingTour.d.ts +2 -0
  178. package/dist/components/OnboardingTour/useOnboardingTour.d.ts.map +1 -1
  179. package/dist/components/OnboardingTour/useOnboardingTour.js +63 -51
  180. package/dist/components/modals/RemoveConfirmModal.d.ts.map +1 -1
  181. package/dist/components/modals/RemoveConfirmModal.js +27 -26
  182. package/dist/config/brand.d.ts.map +1 -1
  183. package/dist/config/brand.js +29 -29
  184. package/dist/config/envConfig.d.ts +4 -0
  185. package/dist/config/envConfig.d.ts.map +1 -1
  186. package/dist/config/envConfig.js +29 -28
  187. package/dist/helpers/getFileIcons.js +5 -5
  188. package/dist/helpers/getFileType.d.ts.map +1 -1
  189. package/dist/helpers/getFileType.js +11 -2
  190. package/dist/helpers/platform.d.ts +1 -1
  191. package/dist/helpers/platform.d.ts.map +1 -1
  192. package/dist/helpers/platform.js +1 -0
  193. package/dist/helpers/showNotifications.d.ts +8 -14
  194. package/dist/helpers/showNotifications.d.ts.map +1 -1
  195. package/dist/helpers/showNotifications.js +107 -111
  196. package/dist/helpers/showNotifications.module.css.js +4 -16
  197. package/dist/hooks/useDateUtils.d.ts.map +1 -1
  198. package/dist/hooks/useDateUtils.js +19 -23
  199. package/dist/index.css +1 -1
  200. package/dist/index.js +576 -573
  201. package/dist/node_modules/@gfazioli/mantine-audio/dist/esm/Audio.context.js +15 -0
  202. package/dist/node_modules/@gfazioli/mantine-audio/dist/esm/Audio.js +228 -0
  203. package/dist/node_modules/@gfazioli/mantine-audio/dist/esm/Audio.module.css.js +4 -0
  204. package/dist/node_modules/@gfazioli/mantine-audio/dist/esm/components/AudioControls.js +19 -0
  205. package/dist/node_modules/@gfazioli/mantine-audio/dist/esm/components/AudioMuteButton.js +30 -0
  206. package/dist/node_modules/@gfazioli/mantine-audio/dist/esm/components/AudioPlayButton.js +40 -0
  207. package/dist/node_modules/@gfazioli/mantine-audio/dist/esm/components/AudioSkipButton.js +28 -0
  208. package/dist/node_modules/@gfazioli/mantine-audio/dist/esm/components/AudioSpectrum.js +137 -0
  209. package/dist/node_modules/@gfazioli/mantine-audio/dist/esm/components/AudioSpeedControl.js +31 -0
  210. package/dist/node_modules/@gfazioli/mantine-audio/dist/esm/components/AudioTimeDisplay.js +44 -0
  211. package/dist/node_modules/@gfazioli/mantine-audio/dist/esm/components/AudioTimeline.js +71 -0
  212. package/dist/node_modules/@gfazioli/mantine-audio/dist/esm/components/AudioVolumeSlider.js +43 -0
  213. package/dist/node_modules/@gfazioli/mantine-audio/dist/esm/components/AudioWaveform.js +166 -0
  214. package/dist/node_modules/@gfazioli/mantine-audio/dist/esm/use-audio.js +201 -0
  215. package/dist/node_modules/@gfazioli/mantine-video/dist/esm/Video.context.js +15 -0
  216. package/dist/node_modules/@gfazioli/mantine-video/dist/esm/Video.js +272 -0
  217. package/dist/node_modules/@gfazioli/mantine-video/dist/esm/Video.module.css.js +4 -0
  218. package/dist/node_modules/@gfazioli/mantine-video/dist/esm/components/VideoCaptionsButton.js +55 -0
  219. package/dist/node_modules/@gfazioli/mantine-video/dist/esm/components/VideoControls.js +30 -0
  220. package/dist/node_modules/@gfazioli/mantine-video/dist/esm/components/VideoFullscreenButton.js +31 -0
  221. package/dist/node_modules/@gfazioli/mantine-video/dist/esm/components/VideoMuteButton.js +29 -0
  222. package/dist/node_modules/@gfazioli/mantine-video/dist/esm/components/VideoPiPButton.js +29 -0
  223. package/dist/node_modules/@gfazioli/mantine-video/dist/esm/components/VideoPlayButton.js +28 -0
  224. package/dist/node_modules/@gfazioli/mantine-video/dist/esm/components/VideoSkipButton.js +27 -0
  225. package/dist/node_modules/@gfazioli/mantine-video/dist/esm/components/VideoTimeDisplay.js +44 -0
  226. package/dist/node_modules/@gfazioli/mantine-video/dist/esm/components/VideoTimeline.js +70 -0
  227. package/dist/node_modules/@gfazioli/mantine-video/dist/esm/use-video.js +170 -0
  228. package/package.json +5 -3
  229. package/dist/components/Notification/Notification.js +0 -119
  230. package/dist/components/Notification/NotificationCard.d.ts +0 -10
  231. package/dist/components/Notification/NotificationCard.d.ts.map +0 -1
  232. package/dist/components/Notification/NotificationCard.js +0 -93
@@ -1,87 +1,94 @@
1
- import { jsxs as b, jsx as i } from "react/jsx-runtime";
2
- import { useState as d, useMemo as U, useEffect as N } from "react";
3
- import { useTranslation as V } from "react-i18next";
4
- import { Popover as j, Center as X, Tabs as o, Flex as P, Button as Y } from "@mantine/core";
5
- import { getEnvConfig as Z } from "../../config/envConfig.js";
6
- import { usePlatform as q } from "../../hooks/usePlatform.js";
7
- import { FilePickerGiphy as S } from "../FilePicker/FilePickerGiphy.js";
8
- import { IconEntity as W } from "../ProjectIcon/ProjectIcon.js";
9
- import { EmojiPanel as _ } from "./EmojiPanel.js";
10
- import { IconsPanel as ee } from "./IconsPanel.js";
11
- import l from "./EmojiPicker.module.css.js";
1
+ import { jsxs as h, jsx as o } from "react/jsx-runtime";
2
+ import { useState as d, useEffect as C, useMemo as K } from "react";
3
+ import { useTranslation as U } from "react-i18next";
4
+ import { Popover as j, Center as V, Tabs as i, Flex as P, Button as X } from "@mantine/core";
5
+ import { getEnvConfig as Y } from "../../config/envConfig.js";
6
+ import { usePlatform as Z } from "../../hooks/usePlatform.js";
7
+ import { FilePickerGiphy as _ } from "../FilePicker/FilePickerGiphy.js";
8
+ import { IconEntity as q } from "../ProjectIcon/ProjectIcon.js";
9
+ import { EmojiPanel as S } from "./EmojiPanel.js";
10
+ import { IconsPanel as W } from "./IconsPanel.js";
11
+ import a from "./EmojiPicker.module.css.js";
12
+ function ee(l) {
13
+ const { t: e } = U("ui");
14
+ return K(
15
+ () => ({
16
+ emojis: e("emojis"),
17
+ remove: e("remove"),
18
+ search: e("search"),
19
+ random: e("random"),
20
+ searchResults: e("emojiPicker.searchResults"),
21
+ icons: e("emojiPicker.icons"),
22
+ gifs: e("emojiPicker.gifs"),
23
+ searchNoResults: e("emojiPicker.searchNoResults"),
24
+ chooseColor: e("emojiPicker.chooseColor"),
25
+ emojiCategory: {
26
+ frequent: e("emojiPicker.categories.frequent"),
27
+ people: e("emojiPicker.categories.people"),
28
+ nature: e("emojiPicker.categories.nature"),
29
+ foods: e("emojiPicker.categories.foods"),
30
+ activity: e("emojiPicker.categories.activity"),
31
+ places: e("emojiPicker.categories.places"),
32
+ objects: e("emojiPicker.categories.objects"),
33
+ symbols: e("emojiPicker.categories.symbols"),
34
+ flags: e("emojiPicker.categories.flags"),
35
+ additional: e("emojiPicker.categories.additional"),
36
+ ...l?.emojiCategory
37
+ },
38
+ ...l
39
+ }),
40
+ [e, l]
41
+ );
42
+ }
12
43
  const de = ({
13
- project: R,
14
- value: s,
15
- querySearch: c,
16
- children: w,
44
+ project: l,
45
+ value: e,
46
+ querySearch: n,
47
+ children: N,
17
48
  onChange: p,
18
- position: D = "bottom-start",
19
- popoverProps: k,
49
+ position: R = "bottom-start",
50
+ popoverProps: b,
20
51
  showIcons: u,
21
- showColors: I,
22
- showGifs: E,
23
- onSelectGif: F,
24
- defaultActiveTab: L = null,
25
- showEmojis: n = !0,
26
- withinPortal: M = !1,
27
- locales: g,
28
- openWhen: h = "click",
29
- triggerRegex: y = /(^|\s):([^\s:]{1,})$/,
52
+ showColors: w,
53
+ showGifs: D,
54
+ onSelectGif: E,
55
+ defaultActiveTab: I = null,
56
+ showEmojis: c = !0,
57
+ withinPortal: L = !1,
58
+ locales: F,
59
+ openWhen: g = "click",
60
+ triggerRegex: k = /(^|\s):([^\s:]{1,})$/,
30
61
  typingSeq: m,
31
- showRemoveButton: z = !0,
32
- keepOpenOnRandom: A = !1,
33
- showRandomButton: B = !0,
34
- closeOnSelect: v = !0
62
+ showRemoveButton: M = !0,
63
+ keepOpenOnRandom: z = !1,
64
+ showRandomButton: A = !0,
65
+ closeOnSelect: y = !0
35
66
  }) => {
36
- const { t: e } = V("ui"), G = q(), x = !!E && G.has("giphy") && Z().media?.giphyEnabled !== !1, [f, r] = d(!1), [H, T] = d(L), [O, Q] = d(s || null), [C, $] = d(null), t = U(() => ({
37
- emojis: e("emojis"),
38
- remove: e("remove"),
39
- search: e("search"),
40
- random: e("random"),
41
- searchResults: e("emojiPicker.searchResults"),
42
- icons: e("emojiPicker.icons"),
43
- gifs: e("emojiPicker.gifs"),
44
- searchNoResults: e("emojiPicker.searchNoResults"),
45
- chooseColor: e("emojiPicker.chooseColor"),
46
- emojiCategory: {
47
- frequent: e("emojiPicker.categories.frequent"),
48
- people: e("emojiPicker.categories.people"),
49
- nature: e("emojiPicker.categories.nature"),
50
- foods: e("emojiPicker.categories.foods"),
51
- activity: e("emojiPicker.categories.activity"),
52
- places: e("emojiPicker.categories.places"),
53
- objects: e("emojiPicker.categories.objects"),
54
- symbols: e("emojiPicker.categories.symbols"),
55
- flags: e("emojiPicker.categories.flags"),
56
- additional: e("emojiPicker.categories.additional"),
57
- ...g?.emojiCategory
58
- },
59
- ...g
60
- }), [e, g]);
61
- N(() => {
62
- const a = u && W.parse(s)?.icon ? "icons" : n ? "emojis" : null;
63
- !f && a && T(a);
64
- }, [f, n, u, s]), N(() => {
65
- if (h !== "realtime" || typeof m != "number" || C === m) return;
66
- $(m);
67
- const a = c ?? "", K = !!n && y.test(a);
68
- r(K);
67
+ const B = Z(), v = !!D && B.has("giphy") && Y().media?.giphyEnabled !== !1, [f, s] = d(!1), [G, x] = d(I), [H, O] = d(e || null), [T, Q] = d(null), t = ee(F);
68
+ C(() => {
69
+ const r = u && q.parse(e)?.icon ? "icons" : c ? "emojis" : null;
70
+ !f && r && x(r);
71
+ }, [f, c, u, e]), C(() => {
72
+ if (g !== "realtime" || typeof m != "number" || T === m) return;
73
+ Q(m);
74
+ const r = n ?? "", J = !!c && k.test(r);
75
+ s(J);
69
76
  }, [
70
- h,
77
+ g,
71
78
  m,
72
- C,
73
- c,
74
- y,
75
- n
79
+ T,
80
+ n,
81
+ k,
82
+ c
76
83
  ]);
77
- const J = typeof c == "string";
78
- return /* @__PURE__ */ b(
84
+ const $ = typeof n == "string";
85
+ return /* @__PURE__ */ h(
79
86
  j,
80
87
  {
81
- withinPortal: M,
88
+ withinPortal: L,
82
89
  opened: f,
83
- onChange: r,
84
- position: D,
90
+ onChange: s,
91
+ position: R,
85
92
  radius: "var(--mantine-spacing-sm)",
86
93
  styles: {
87
94
  dropdown: {
@@ -104,20 +111,20 @@ const de = ({
104
111
  ]
105
112
  }
106
113
  },
107
- ...k || {},
114
+ ...b || {},
108
115
  children: [
109
- /* @__PURE__ */ i(j.Target, { children: /* @__PURE__ */ i(
110
- X,
116
+ /* @__PURE__ */ o(j.Target, { children: /* @__PURE__ */ o(
117
+ V,
111
118
  {
112
- onClick: h === "click" && !k?.disabled ? () => r(!f) : void 0,
113
- children: w ?? O
119
+ onClick: g === "click" && !b?.disabled ? () => s(!f) : void 0,
120
+ children: N ?? H
114
121
  }
115
122
  ) }),
116
- /* @__PURE__ */ i(j.Dropdown, { w: "380px", children: /* @__PURE__ */ b(
117
- o,
123
+ /* @__PURE__ */ o(j.Dropdown, { w: "380px", children: /* @__PURE__ */ h(
124
+ i,
118
125
  {
119
- value: H,
120
- onChange: T,
126
+ value: G,
127
+ onChange: x,
121
128
  keepMounted: !1,
122
129
  h: "100%",
123
130
  styles: {
@@ -134,8 +141,8 @@ const de = ({
134
141
  }
135
142
  },
136
143
  children: [
137
- !J && /* @__PURE__ */ b(
138
- o.List,
144
+ !$ && /* @__PURE__ */ h(
145
+ i.List,
139
146
  {
140
147
  style: {
141
148
  gap: "4px"
@@ -143,38 +150,38 @@ const de = ({
143
150
  h: 54,
144
151
  px: 8,
145
152
  children: [
146
- n && /* @__PURE__ */ i(
147
- o.Tab,
153
+ c && /* @__PURE__ */ o(
154
+ i.Tab,
148
155
  {
149
- className: l.originalTab,
156
+ className: a.originalTab,
150
157
  h: "100%",
151
158
  p: 0,
152
159
  value: "emojis",
153
- children: /* @__PURE__ */ i(P, { className: l.customTab, px: "sm", h: 36, children: t.emojis })
160
+ children: /* @__PURE__ */ o(P, { className: a.customTab, px: "sm", h: 36, children: t.emojis })
154
161
  }
155
162
  ),
156
- u && /* @__PURE__ */ i(
157
- o.Tab,
163
+ u && /* @__PURE__ */ o(
164
+ i.Tab,
158
165
  {
159
- className: l.originalTab,
166
+ className: a.originalTab,
160
167
  h: "100%",
161
168
  p: 0,
162
169
  value: "icons",
163
- children: /* @__PURE__ */ i(P, { className: l.customTab, px: "sm", h: 36, children: t.icons })
170
+ children: /* @__PURE__ */ o(P, { className: a.customTab, px: "sm", h: 36, children: t.icons })
164
171
  }
165
172
  ),
166
- x && /* @__PURE__ */ i(
167
- o.Tab,
173
+ v && /* @__PURE__ */ o(
174
+ i.Tab,
168
175
  {
169
- className: l.originalTab,
176
+ className: a.originalTab,
170
177
  h: "100%",
171
178
  p: 0,
172
179
  value: "gifs",
173
- children: /* @__PURE__ */ i(P, { className: l.customTab, px: "sm", h: 36, children: t.gifs })
180
+ children: /* @__PURE__ */ o(P, { className: a.customTab, px: "sm", h: 36, children: t.gifs })
174
181
  }
175
182
  ),
176
- !!String(s) && z && /* @__PURE__ */ i(
177
- Y,
183
+ !!String(e) && M && /* @__PURE__ */ o(
184
+ X,
178
185
  {
179
186
  variant: "subtle",
180
187
  fz: "sm",
@@ -191,53 +198,53 @@ const de = ({
191
198
  ]
192
199
  }
193
200
  ),
194
- /* @__PURE__ */ i(o.Panel, { mah: 470, style: { overflow: "auto" }, value: "emojis", children: /* @__PURE__ */ i(
195
- _,
201
+ /* @__PURE__ */ o(i.Panel, { mah: 470, style: { overflow: "auto" }, value: "emojis", children: /* @__PURE__ */ o(
202
+ S,
196
203
  {
197
204
  onChange: p,
198
- value: s,
199
- querySearch: c,
205
+ value: e,
206
+ querySearch: n,
200
207
  locales: t,
201
- setRandomIcon: Q,
202
- showRandomButton: B,
203
- onClose: v ? () => r(!1) : () => {
208
+ setRandomIcon: O,
209
+ showRandomButton: A,
210
+ onClose: y ? () => s(!1) : () => {
204
211
  }
205
212
  }
206
213
  ) }),
207
- /* @__PURE__ */ i(
208
- o.Panel,
214
+ /* @__PURE__ */ o(
215
+ i.Panel,
209
216
  {
210
217
  mah: 470,
211
218
  h: "100%",
212
219
  style: { overflow: "auto" },
213
220
  value: "icons",
214
- children: /* @__PURE__ */ i(
215
- ee,
221
+ children: /* @__PURE__ */ o(
222
+ W,
216
223
  {
217
- project: R,
224
+ project: l,
218
225
  onChange: p,
219
- value: s,
226
+ value: e,
220
227
  locales: t,
221
- showColors: I,
222
- keepOpenOnRandom: A,
223
- onClose: v ? () => r(!1) : () => {
228
+ showColors: w,
229
+ keepOpenOnRandom: z,
230
+ onClose: y ? () => s(!1) : () => {
224
231
  }
225
232
  }
226
233
  )
227
234
  }
228
235
  ),
229
- x && /* @__PURE__ */ i(
230
- o.Panel,
236
+ v && /* @__PURE__ */ o(
237
+ i.Panel,
231
238
  {
232
239
  mah: 470,
233
240
  style: { overflow: "auto" },
234
241
  p: "sm",
235
242
  value: "gifs",
236
- children: /* @__PURE__ */ i(
237
- S,
243
+ children: /* @__PURE__ */ o(
244
+ _,
238
245
  {
239
- onChange: (a) => {
240
- F?.(a), r(!1);
246
+ onChange: (r) => {
247
+ E?.(r), s(!1);
241
248
  }
242
249
  }
243
250
  )
@@ -251,5 +258,6 @@ const de = ({
251
258
  );
252
259
  };
253
260
  export {
254
- de as EmojiPicker
261
+ de as EmojiPicker,
262
+ ee as useEmojiPickerLocales
255
263
  };
@@ -3,17 +3,16 @@ declare global {
3
3
  isTitleFocused: boolean;
4
4
  }
5
5
  }
6
- export declare const EntityTitle: ({ lock, title, handleTitle, error, isReadOnly, accessEdit, nowrap, maxLength, fw, onPressEnter, }: {
6
+ export declare const EntityTitle: import("react").MemoExoticComponent<({ title, handleTitle, placeholder, error, isReadOnly, nowrap, maxLength, fw, onPressEnter, onBlur, }: {
7
7
  title: string;
8
- lock?: boolean;
9
8
  handleTitle?: (title: string) => void;
10
9
  placeholder?: string;
11
10
  error?: boolean;
12
11
  isReadOnly?: boolean;
13
- accessEdit?: boolean;
14
12
  nowrap?: boolean;
15
13
  maxLength?: number;
16
14
  fw?: number;
17
15
  onPressEnter?: () => void;
18
- }) => import("react/jsx-runtime").JSX.Element;
16
+ onBlur?: () => void;
17
+ }) => import("react/jsx-runtime").JSX.Element>;
19
18
  //# sourceMappingURL=EntityTitle.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"EntityTitle.d.ts","sourceRoot":"","sources":["../../../src/components/EntityTitle/EntityTitle.tsx"],"names":[],"mappings":"AAcA,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,MAAM;QACd,cAAc,EAAE,OAAO,CAAC;KACzB;CACF;AAED,eAAO,MAAM,WAAW,GAAI,mGAWzB;IACD,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACtC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;CAC3B,4CA8FA,CAAC"}
1
+ {"version":3,"file":"EntityTitle.d.ts","sourceRoot":"","sources":["../../../src/components/EntityTitle/EntityTitle.tsx"],"names":[],"mappings":"AAcA,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,MAAM;QACd,cAAc,EAAE,OAAO,CAAC;KACzB;CACF;AAED,eAAO,MAAM,WAAW,6IAYnB;IACD,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACtC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;IAC1B,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;CACrB,6CA+FF,CAAC"}
@@ -1,86 +1,87 @@
1
- import { jsx as r, Fragment as v } from "react/jsx-runtime";
2
- import { useRef as x, useLayoutEffect as F } from "react";
3
- import { useTranslation as T } from "react-i18next";
4
- import { useLocation as D } from "react-router-dom";
5
- import { Textarea as E } from "@mantine/core";
1
+ import { jsx as r, Fragment as g } from "react/jsx-runtime";
2
+ import { memo as v, useRef as x, useLayoutEffect as F } from "react";
3
+ import { useLocation as T } from "react-router-dom";
4
+ import { Textarea as D } from "@mantine/core";
6
5
  import s from "./EntityTitle.module.css.js";
7
- const q = ({
8
- lock: c,
9
- title: t,
10
- handleTitle: u,
11
- error: i,
12
- isReadOnly: f = !1,
13
- accessEdit: m = !0,
14
- nowrap: d = !1,
15
- maxLength: h = 255,
16
- fw: p,
17
- onPressEnter: w
18
- }) => {
19
- const { t: y } = T("projects"), g = D(), { isNewPage: a } = g.state || {}, o = x(null), l = !m || c || f;
20
- return F(() => {
21
- if ((a || t === "") && o.current) {
22
- const e = o.current;
23
- requestAnimationFrame(() => {
24
- a && (e.focus(), e.setSelectionRange(
25
- e.value.length,
26
- e.value.length
27
- ));
28
- });
29
- }
30
- }, [a, o.current, l]), /* @__PURE__ */ r(v, { children: l ? /* @__PURE__ */ r(
31
- "h1",
32
- {
33
- style: {
34
- overflowWrap: "anywhere"
35
- },
36
- "data-empty": String(!t),
37
- className: s.EntityTitle,
38
- children: t
39
- }
40
- ) : /* @__PURE__ */ r(
41
- E,
42
- {
43
- "data-mantine-stop-propagation": "true",
44
- ref: o,
45
- onKeyDown: (e) => {
46
- e.key === "Enter" && (w?.(), e.preventDefault());
47
- },
48
- onBlur: (e) => {
49
- window.isTitleFocused = !1;
50
- const n = e.currentTarget.value.trim();
51
- n !== t && u?.(n);
52
- },
53
- onChange: (e) => {
54
- const n = e.currentTarget.value;
55
- u?.(n);
56
- },
57
- onFocus: () => {
58
- window.isTitleFocused = !0;
59
- },
60
- value: t,
61
- placeholder: y("common.taskName"),
62
- maxLength: h,
63
- unstyled: !0,
64
- autosize: !0,
65
- "data-autofocus": !0,
66
- "data-error": !!i,
67
- classNames: {
68
- input: s.textareaInput,
69
- root: s.textareaRoot
70
- },
71
- styles: {
72
- input: {
73
- fontWeight: p || 400,
74
- ...d && {
75
- whiteSpace: "nowrap",
76
- overflowX: "auto",
77
- overflowY: "hidden"
6
+ const j = v(
7
+ ({
8
+ title: t,
9
+ handleTitle: u,
10
+ placeholder: c,
11
+ error: i,
12
+ isReadOnly: f = !1,
13
+ nowrap: d = !1,
14
+ maxLength: m = 255,
15
+ fw: h,
16
+ onPressEnter: p,
17
+ onBlur: w
18
+ }) => {
19
+ const y = T(), { isNewPage: a } = y.state || {}, n = x(null), l = f;
20
+ return F(() => {
21
+ if ((a || t === "") && n.current) {
22
+ const e = n.current;
23
+ requestAnimationFrame(() => {
24
+ a && (e.focus(), e.setSelectionRange(
25
+ e.value.length,
26
+ e.value.length
27
+ ));
28
+ });
29
+ }
30
+ }, [a, n.current, l]), /* @__PURE__ */ r(g, { children: l ? /* @__PURE__ */ r(
31
+ "h1",
32
+ {
33
+ style: {
34
+ overflowWrap: "anywhere"
35
+ },
36
+ "data-empty": String(!t),
37
+ className: s.EntityTitle,
38
+ children: t
39
+ }
40
+ ) : /* @__PURE__ */ r(
41
+ D,
42
+ {
43
+ "data-mantine-stop-propagation": "true",
44
+ ref: n,
45
+ onKeyDown: (e) => {
46
+ e.key === "Enter" && (p?.(), e.preventDefault());
47
+ },
48
+ onBlur: (e) => {
49
+ window.isTitleFocused = !1;
50
+ const o = e.currentTarget.value.trim();
51
+ w?.(), o !== t && u?.(o);
52
+ },
53
+ onChange: (e) => {
54
+ const o = e.currentTarget.value;
55
+ u?.(o);
56
+ },
57
+ onFocus: () => {
58
+ window.isTitleFocused = !0;
59
+ },
60
+ value: t,
61
+ placeholder: c,
62
+ maxLength: m,
63
+ unstyled: !0,
64
+ autosize: !0,
65
+ "data-autofocus": !0,
66
+ "data-error": !!i,
67
+ classNames: {
68
+ input: s.textareaInput,
69
+ root: s.textareaRoot
70
+ },
71
+ styles: {
72
+ input: {
73
+ fontWeight: h || 400,
74
+ ...d && {
75
+ whiteSpace: "nowrap",
76
+ overflowX: "auto",
77
+ overflowY: "hidden"
78
+ }
78
79
  }
79
80
  }
80
81
  }
81
- }
82
- ) });
83
- };
82
+ ) });
83
+ }
84
+ );
84
85
  export {
85
- q as EntityTitle
86
+ j as EntityTitle
86
87
  };
@@ -1 +1 @@
1
- {"version":3,"file":"conditions.d.ts","sourceRoot":"","sources":["../../../../src/components/FormViewer/helpers/conditions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAGlD,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAChE,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAEpE,eAAO,MAAM,WAAW,GACtB,MAAM,QAAQ,EACd,OAAO,QAAQ,EAAE,EACjB,MAAM,iBAAiB,CAAC,eAAe,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAQzC,CAAC;AA6CF,eAAO,MAAM,iBAAiB,EAAE,MAAM,CAAC,WAAW,EAAE,YAAY,EAAE,CAmBjE,CAAC"}
1
+ {"version":3,"file":"conditions.d.ts","sourceRoot":"","sources":["../../../../src/components/FormViewer/helpers/conditions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAGlD,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAChE,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAEpE,eAAO,MAAM,WAAW,GACtB,MAAM,QAAQ,EACd,OAAO,QAAQ,EAAE,EACjB,MAAM,iBAAiB,CAAC,eAAe,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAQzC,CAAC;AA2FF,eAAO,MAAM,iBAAiB,EAAE,MAAM,CAAC,WAAW,EAAE,YAAY,EAAE,CAmBjE,CAAC"}
@@ -1,23 +1,39 @@
1
- import { isNil as s } from "lodash-es";
2
- const p = (n, o, l) => {
3
- const e = d(n, l.getValues()), i = o.find((t) => t.id === e), r = o.findIndex((t) => t.id === n.id);
4
- return i ?? o[r + 1];
5
- }, d = (n, o) => {
6
- if (n.conditions?.length) {
7
- const l = n.conditions.find((e) => {
8
- const i = o[e.controlId];
9
- if (e.operator === "empty" && s(i) || e.operator === "filledIn" && (i || i === 0))
1
+ import { isNil as a } from "lodash-es";
2
+ const c = (o, l, i) => {
3
+ const e = f(o, i.getValues()), r = l.find((t) => t.id === e), d = l.findIndex((t) => t.id === o.id);
4
+ return r ?? l[d + 1];
5
+ }, m = (o, l, i) => {
6
+ const e = o.controls.find((t) => t.id === l), r = e && "options" in e ? e.options : void 0;
7
+ return (Array.isArray(i) ? i : a(i) ? [] : [i]).flatMap((t) => {
8
+ const n = String(t), s = r?.find((p) => p.id === n)?.label;
9
+ return a(s) ? [n] : [n, s];
10
+ });
11
+ }, f = (o, l) => {
12
+ if (o.conditions?.length) {
13
+ const i = o.conditions.find((e) => {
14
+ const r = l[e.controlId];
15
+ if (e.operator === "empty" && a(r) || e.operator === "filledIn" && (r || r === 0))
10
16
  return !0;
11
- if (s(i) || s(e.compareValue))
17
+ if (e.operator === "selected" || e.operator === "notSelected") {
18
+ const n = (e.compareValue ?? "").toLowerCase(), s = m(o, e.controlId, r).some(
19
+ (p) => p.toLowerCase() === n
20
+ );
21
+ return e.operator === "selected" ? s : !s;
22
+ }
23
+ if (a(r) || a(e.compareValue))
12
24
  return !1;
13
- const r = i.toString().toLowerCase(), t = e.compareValue.toLowerCase();
14
- if (e.operator === "is" && r === t || e.operator === "isNot" && r !== t || e.operator === "startsWidth" && r.startsWith(t) || e.operator === "endsWidth" && r.endsWith(t))
25
+ if (e.operator === "biggerWhen" || e.operator === "smallerWhen") {
26
+ const n = Number(r), s = Number(e.compareValue);
27
+ return Number.isNaN(n) || Number.isNaN(s) ? !1 : e.operator === "biggerWhen" ? n > s : n < s;
28
+ }
29
+ const d = r.toString().toLowerCase(), t = e.compareValue.toLowerCase();
30
+ if (e.operator === "is" && d === t || e.operator === "isNot" && d !== t || e.operator === "startsWidth" && d.startsWith(t) || e.operator === "endsWidth" && d.endsWith(t))
15
31
  return !0;
16
32
  });
17
- if (l) return l.trigger;
33
+ if (i) return i.trigger;
18
34
  }
19
- return n.trigger;
20
- }, f = {
35
+ return o.trigger;
36
+ }, h = {
21
37
  choice: ["filledIn", "empty", "selected", "notSelected"],
22
38
  pictureChoice: ["filledIn", "empty", "selected", "notSelected"],
23
39
  dropdown: ["filledIn", "empty", "selected", "notSelected"],
@@ -38,6 +54,6 @@ const p = (n, o, l) => {
38
54
  rating: ["filledIn", "empty", "is", "isNot", "smallerWhen", "biggerWhen"]
39
55
  };
40
56
  export {
41
- p as getNextStep,
42
- f as operatorsRelation
57
+ c as getNextStep,
58
+ h as operatorsRelation
43
59
  };
@@ -12,10 +12,12 @@ export interface IntegrationFlowAnimationProps {
12
12
  colors?: string[];
13
13
  /** Background image URL */
14
14
  backgroundImage?: string;
15
+ /** Start particles already distributed across the path instead of waiting for initial delays */
16
+ startDistributed?: boolean;
15
17
  }
16
18
  /**
17
19
  * A reusable animation component showing data flow between two integration icons.
18
20
  * Displays animated particles flowing from left icon to right icon.
19
21
  */
20
- export declare const IntegrationFlowAnimation: ({ leftIcon, rightIcon, height, particleCount, colors, backgroundImage, }: IntegrationFlowAnimationProps) => ReactNode;
22
+ export declare const IntegrationFlowAnimation: ({ leftIcon, rightIcon, height, particleCount, colors, backgroundImage, startDistributed, }: IntegrationFlowAnimationProps) => ReactNode;
21
23
  //# sourceMappingURL=IntegrationFlowAnimation.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"IntegrationFlowAnimation.d.ts","sourceRoot":"","sources":["../../../src/components/IntegrationFlowAnimation/IntegrationFlowAnimation.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAqB,MAAM,OAAO,CAAC;AA8C1D,MAAM,WAAW,6BAA6B;IAC5C,qDAAqD;IACrD,QAAQ,EAAE,SAAS,CAAC;IACpB,2DAA2D;IAC3D,SAAS,EAAE,SAAS,CAAC;IACrB,8BAA8B;IAC9B,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACzB,qCAAqC;IACrC,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,wFAAwF;IACxF,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB,2BAA2B;IAC3B,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B;AAED;;;GAGG;AACH,eAAO,MAAM,wBAAwB,GAAI,0EAOtC,6BAA6B,KAAG,SA2ElC,CAAC"}
1
+ {"version":3,"file":"IntegrationFlowAnimation.d.ts","sourceRoot":"","sources":["../../../src/components/IntegrationFlowAnimation/IntegrationFlowAnimation.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAqB,MAAM,OAAO,CAAC;AA8C1D,MAAM,WAAW,6BAA6B;IAC5C,qDAAqD;IACrD,QAAQ,EAAE,SAAS,CAAC;IACpB,2DAA2D;IAC3D,SAAS,EAAE,SAAS,CAAC;IACrB,8BAA8B;IAC9B,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACzB,qCAAqC;IACrC,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,wFAAwF;IACxF,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB,2BAA2B;IAC3B,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,gGAAgG;IAChG,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC5B;AAED;;;GAGG;AACH,eAAO,MAAM,wBAAwB,GAAI,4FAQtC,6BAA6B,KAAG,SA6ElC,CAAC"}