@layers-app/shared 0.2.3 → 0.2.5

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 (230) hide show
  1. package/dist/assets/jsons/emoji-categorized-windows.json.js +4 -0
  2. package/dist/assets/jsons/emoji-categorized-windows10.json.js +4 -0
  3. package/dist/assets/svg/users.svg.js +5 -0
  4. package/dist/assets/svg/whatsapp-icon.svg.js +5 -0
  5. package/dist/components/AliasTextInput/AliasTextInput.d.ts +3 -1
  6. package/dist/components/AliasTextInput/AliasTextInput.d.ts.map +1 -1
  7. package/dist/components/AliasTextInput/AliasTextInput.js +63 -54
  8. package/dist/components/AppContainer/AppContainer.d.ts +1 -1
  9. package/dist/components/AppContainer/AppContainer.d.ts.map +1 -1
  10. package/dist/components/AppContainer/AppContainer.js +54 -43
  11. package/dist/components/AppContainer/AppContainer.module.css.js +1 -1
  12. package/dist/components/AppContainer/components/AppSidebarButton.js +1 -1
  13. package/dist/components/AppContainer/components/AppsSidebar/AppsSection.js +5 -5
  14. package/dist/components/AppContainer/components/AppsSidebar/UserSection.d.ts.map +1 -1
  15. package/dist/components/AppContainer/components/AppsSidebar/UserSection.js +56 -43
  16. package/dist/components/AppContainer/components/Main.d.ts +5 -1
  17. package/dist/components/AppContainer/components/Main.d.ts.map +1 -1
  18. package/dist/components/AppContainer/components/Main.js +11 -8
  19. package/dist/components/AppContainer/components/menus/HelpMenu/HelpMenu.d.ts.map +1 -1
  20. package/dist/components/AppContainer/components/menus/HelpMenu/HelpMenu.js +34 -19
  21. package/dist/components/AppContainer/components/menus/HelpMenu/HelpMenu.module.css.js +1 -1
  22. package/dist/components/AppContainer/components/menus/MoreMenu.js +8 -8
  23. package/dist/components/AppContainer/components/menus/UserMenu/MenuUserDropdown.d.ts +1 -0
  24. package/dist/components/AppContainer/components/menus/UserMenu/MenuUserDropdown.d.ts.map +1 -1
  25. package/dist/components/AppContainer/hooks/useAppContainerStore.d.ts.map +1 -1
  26. package/dist/components/AppContainer/hooks/useAppContainerStore.js +12 -9
  27. package/dist/components/AppContainer/types.d.ts +2 -0
  28. package/dist/components/AppContainer/types.d.ts.map +1 -1
  29. package/dist/components/AttachmentsGalleryModal/AttachmentsGalleryModal.d.ts +1 -1
  30. package/dist/components/AttachmentsGalleryModal/AttachmentsGalleryModal.d.ts.map +1 -1
  31. package/dist/components/AttachmentsGalleryModal/components/GallerySlide.d.ts +1 -1
  32. package/dist/components/AttachmentsGalleryModal/components/GallerySlide.d.ts.map +1 -1
  33. package/dist/components/AttachmentsGalleryModal/components/GallerySlide.js +5 -5
  34. package/dist/components/AttachmentsGalleryModal/components/ModalFooter.d.ts +1 -1
  35. package/dist/components/AttachmentsGalleryModal/components/ModalFooter.d.ts.map +1 -1
  36. package/dist/components/AttachmentsGalleryModal/components/ModalFooter.js +4 -4
  37. package/dist/components/AttachmentsGalleryModal/components/ModalHeader.d.ts +1 -1
  38. package/dist/components/AttachmentsGalleryModal/components/ModalHeader.d.ts.map +1 -1
  39. package/dist/components/AttachmentsGalleryModal/hooks/useDownloadFile.d.ts +1 -1
  40. package/dist/components/AttachmentsGalleryModal/hooks/useDownloadFile.d.ts.map +1 -1
  41. package/dist/components/AttachmentsGalleryModal/hooks/useGetPreviewUrl.d.ts +1 -1
  42. package/dist/components/AttachmentsGalleryModal/hooks/useGetPreviewUrl.d.ts.map +1 -1
  43. package/dist/components/AttachmentsGalleryModal/styles.module.css.js +9 -9
  44. package/dist/components/AttachmentsPreview/AttachmentsPreview.d.ts.map +1 -1
  45. package/dist/components/AttachmentsPreview/AttachmentsPreview.js +114 -88
  46. package/dist/components/AttachmentsPreview/AttachmentsPreview.module.css.js +9 -9
  47. package/dist/components/BouncingLogo/BouncingLogo.d.ts +6 -2
  48. package/dist/components/BouncingLogo/BouncingLogo.d.ts.map +1 -1
  49. package/dist/components/BouncingLogo/BouncingLogo.js +13 -14
  50. package/dist/components/BouncingLogo/BouncingLogo.module.css.js +12 -10
  51. package/dist/components/ColorPicker/ColorPicker.d.ts +2 -0
  52. package/dist/components/ColorPicker/ColorPicker.d.ts.map +1 -1
  53. package/dist/components/ColorPicker/ColorPicker.js +66 -59
  54. package/dist/components/CommentComposer/CommentEditorHotkeys.js +1 -1
  55. package/dist/components/CommunitiesDialog/styles.module.css.js +1 -1
  56. package/dist/components/Copyright/index.d.ts.map +1 -1
  57. package/dist/components/Copyright/index.js +6 -6
  58. package/dist/components/EmojiPicker/EmojiPanel.d.ts.map +1 -1
  59. package/dist/components/EmojiPicker/EmojiPanel.js +47 -46
  60. package/dist/components/EmojiPicker/EmojiPicker.d.ts.map +1 -1
  61. package/dist/components/EmojiPicker/EmojiPicker.js +87 -95
  62. package/dist/components/EmojiPicker/IconsPanel.d.ts.map +1 -1
  63. package/dist/components/EmojiPicker/IconsPanel.js +72 -72
  64. package/dist/components/EmojiPicker/utils.d.ts +11 -0
  65. package/dist/components/EmojiPicker/utils.d.ts.map +1 -0
  66. package/dist/components/EmojiPicker/utils.js +46 -0
  67. package/dist/components/EntityIcon.d.ts +5 -2
  68. package/dist/components/EntityIcon.d.ts.map +1 -1
  69. package/dist/components/EntityIcon.js +44 -46
  70. package/dist/components/FilePicker/FilePicker.d.ts +2 -3
  71. package/dist/components/FilePicker/FilePicker.d.ts.map +1 -1
  72. package/dist/components/FilePicker/FilePicker.js +95 -130
  73. package/dist/components/FilePicker/FilePickerGiphy.d.ts +1 -3
  74. package/dist/components/FilePicker/FilePickerGiphy.d.ts.map +1 -1
  75. package/dist/components/FilePicker/FilePickerGiphy.js +43 -44
  76. package/dist/components/FilePicker/FilePickerLink.d.ts +2 -3
  77. package/dist/components/FilePicker/FilePickerLink.d.ts.map +1 -1
  78. package/dist/components/FilePicker/FilePickerLink.js +21 -21
  79. package/dist/components/FilePicker/FilePickerUnsplash.d.ts +1 -3
  80. package/dist/components/FilePicker/FilePickerUnsplash.d.ts.map +1 -1
  81. package/dist/components/FilePicker/FilePickerUnsplash.js +45 -46
  82. package/dist/components/FilePicker/FilePickerUpload.d.ts +3 -3
  83. package/dist/components/FilePicker/FilePickerUpload.d.ts.map +1 -1
  84. package/dist/components/FilePicker/FilePickerUpload.js +49 -43
  85. package/dist/components/FilePicker/types.d.ts +1 -1
  86. package/dist/components/FilePicker/types.d.ts.map +1 -1
  87. package/dist/components/FormViewer/FormViewer.module.css.js +18 -18
  88. package/dist/components/FormViewer/components/fields/ChoiceField/PictureChoiceCard.d.ts +4 -2
  89. package/dist/components/FormViewer/components/fields/ChoiceField/PictureChoiceCard.d.ts.map +1 -1
  90. package/dist/components/FormViewer/components/fields/ChoiceField/PictureChoiceCard.js +51 -26
  91. package/dist/components/FormViewer/components/fields/ChoiceField/PictureChoiceField.d.ts.map +1 -1
  92. package/dist/components/FormViewer/components/fields/ChoiceField/PictureChoiceField.js +25 -23
  93. package/dist/components/FormViewer/components/fields/DragOptions/DragOptions.module.css.js +1 -1
  94. package/dist/components/FormViewer/components/fields/SelectableCard/PictureSelectableCard.d.ts +5 -2
  95. package/dist/components/FormViewer/components/fields/SelectableCard/PictureSelectableCard.d.ts.map +1 -1
  96. package/dist/components/FormViewer/components/fields/SelectableCard/PictureSelectableCard.js +105 -96
  97. package/dist/components/FormViewer/components/fields/SliderField.d.ts.map +1 -1
  98. package/dist/components/FormViewer/components/fields/SliderField.js +19 -18
  99. package/dist/components/FormViewer/components/fields/UploadField/UploadField.d.ts.map +1 -1
  100. package/dist/components/FormViewer/components/fields/UploadField/UploadFile/UploadFile.module.css.js +1 -1
  101. package/dist/components/FormViewer/helpers/cssScoping.d.ts.map +1 -1
  102. package/dist/components/FormViewer/helpers/staticClasses.d.ts.map +1 -1
  103. package/dist/components/FormViewer/store/formStore.d.ts +10 -3
  104. package/dist/components/FormViewer/store/formStore.d.ts.map +1 -1
  105. package/dist/components/LanguagePicker/LanguagePicker.js +13 -13
  106. package/dist/components/Loaders/styles.module.css.js +1 -1
  107. package/dist/components/NavMenu/NavMenu.d.ts +4 -1
  108. package/dist/components/NavMenu/NavMenu.d.ts.map +1 -1
  109. package/dist/components/NavMenu/NavMenu.js +96 -77
  110. package/dist/components/NavMenu/NavMenu.module.css.js +10 -10
  111. package/dist/components/NavMenu/components/DnDItem.d.ts +2 -1
  112. package/dist/components/NavMenu/components/DnDItem.d.ts.map +1 -1
  113. package/dist/components/NavMenu/components/DnDItem.js +32 -30
  114. package/dist/components/NavMenu/components/DnDProvider.d.ts.map +1 -1
  115. package/dist/components/NavMenu/components/DnDProvider.js +28 -26
  116. package/dist/components/NavMenu/components/DraggableOverlay.d.ts.map +1 -1
  117. package/dist/components/NavMenu/components/NavMenuItem.d.ts +1 -1
  118. package/dist/components/NavMenu/components/NavMenuItem.d.ts.map +1 -1
  119. package/dist/components/NavMenu/components/NavMenuItem.js +109 -94
  120. package/dist/components/NavMenu/store.d.ts +1 -0
  121. package/dist/components/NavMenu/store.d.ts.map +1 -1
  122. package/dist/components/NavMenu/types.d.ts +1 -0
  123. package/dist/components/NavMenu/types.d.ts.map +1 -1
  124. package/dist/components/NavbarResizer/NavbarResizer.module.css.js +2 -2
  125. package/dist/components/NoData/NoData.d.ts +32 -26
  126. package/dist/components/NoData/NoData.d.ts.map +1 -1
  127. package/dist/components/NoData/NoData.js +73 -73
  128. package/dist/components/OnBoarding/ProjectBoard.js +17 -17
  129. package/dist/components/OnBoarding/steps/AddTasks/AddTasksNav.js +7 -7
  130. package/dist/components/OnBoarding/steps/AddTasks/TasksListBoard.d.ts.map +1 -1
  131. package/dist/components/OnBoarding/steps/AddTasks/TasksListBoard.js +9 -9
  132. package/dist/components/OnBoarding/steps/CreateFirstProject.js +5 -5
  133. package/dist/components/OnBoarding/steps/DefineStatuses/DefineStatusesNav.js +7 -7
  134. package/dist/components/OnBoarding/steps/DefineStatuses/StatusesListBoard.js +6 -6
  135. package/dist/components/OnBoarding/steps/DifferentLayouts/DifferentLayoutsBoard.d.ts.map +1 -1
  136. package/dist/components/OnBoarding/steps/DifferentLayouts/DifferentLayoutsNav.js +10 -10
  137. package/dist/components/OnBoarding/steps/DifferentLayouts/KanbanLayout.js +5 -5
  138. package/dist/components/OnBoarding/steps/InviteUsers/BoardModal.js +10 -10
  139. package/dist/components/OnBoarding/steps/InviteUsers/InviteUsers.d.ts.map +1 -1
  140. package/dist/components/OnBoarding/steps/SelectCategory/CategorySelect.d.ts.map +1 -1
  141. package/dist/components/OnBoarding/steps/SelectCategory/CategorySelect.js +8 -8
  142. package/dist/components/OnBoarding/steps/SelectCategory/SelectCategoryNav.js +5 -5
  143. package/dist/components/OnBoarding/steps/StartedStep.js +5 -5
  144. package/dist/components/PaymentSuccess/PaymentSuccess.d.ts.map +1 -1
  145. package/dist/components/PaymentSuccess/PaymentSuccess.js +9 -9
  146. package/dist/components/SearchFilters/components/DateFilter.js +19 -19
  147. package/dist/components/SearchFilters/components/SearchHelp.d.ts.map +1 -1
  148. package/dist/components/SearchFilters/components/SearchHelp.js +7 -7
  149. package/dist/components/SortableList/SortableList.d.ts.map +1 -1
  150. package/dist/components/SortableList/components/SortableItem/SortableItem.d.ts.map +1 -1
  151. package/dist/components/SortableList/components/SortableItem/SortableItem.js +1 -9
  152. package/dist/components/SortableList/components/SortableItem/index.d.ts +1 -1
  153. package/dist/components/SortableList/components/SortableItem/index.d.ts.map +1 -1
  154. package/dist/components/StorageUsageEntityList/StorageEntityItem.d.ts +2 -6
  155. package/dist/components/StorageUsageEntityList/StorageEntityItem.d.ts.map +1 -1
  156. package/dist/components/StorageUsageEntityList/StorageEntityItem.js +19 -59
  157. package/dist/components/StorageUsageEntityList/StorageUsageEntityList.d.ts +1 -1
  158. package/dist/components/StorageUsageEntityList/StorageUsageEntityList.d.ts.map +1 -1
  159. package/dist/components/StorageUsageEntityList/StorageUsageEntityList.js +6 -24
  160. package/dist/components/StorageUsageProgress/StorageUsageProgress.module.css.js +7 -0
  161. package/dist/components/StorageUsageProgress/index.d.ts +2 -2
  162. package/dist/components/StorageUsageProgress/index.d.ts.map +1 -1
  163. package/dist/components/StorageUsageProgress/index.js +73 -40
  164. package/dist/components/ThemeIndicator/index.d.ts.map +1 -1
  165. package/dist/components/ThemeIndicator/index.js +4 -4
  166. package/dist/components/UserAvatar/index.js +14 -14
  167. package/dist/components/WorkspaceMenu/WorkspaceMenu.d.ts +2 -2
  168. package/dist/components/WorkspaceMenu/WorkspaceMenu.d.ts.map +1 -1
  169. package/dist/components/WorkspaceMenu/WorkspaceMenu.js +103 -103
  170. package/dist/components/modals/RemoveConfirmModal.d.ts.map +1 -1
  171. package/dist/components/modals/RemoveConfirmModal.js +31 -24
  172. package/dist/components/table/export.d.ts.map +1 -1
  173. package/dist/components/table/hooks/useSaveRowCount.d.ts.map +1 -1
  174. package/dist/components/table/hooks/useSaveRowCount.js +4 -4
  175. package/dist/components/table/hooks/useSorting.d.ts.map +1 -1
  176. package/dist/components/table/hooks/useSorting.js +3 -1
  177. package/dist/constants.d.ts.map +1 -1
  178. package/dist/constants.js +8 -1
  179. package/dist/helpers/getFileIcons.js +12 -12
  180. package/dist/helpers/isAppMode.d.ts +1 -1
  181. package/dist/helpers/isAppMode.d.ts.map +1 -1
  182. package/dist/helpers/validateAliasFormat.d.ts +2 -0
  183. package/dist/helpers/validateAliasFormat.d.ts.map +1 -0
  184. package/dist/helpers/validateAliasFormat.js +4 -0
  185. package/dist/hooks/useOutsideClick.d.ts.map +1 -1
  186. package/dist/index.css +1 -1
  187. package/dist/index.d.ts +3 -4
  188. package/dist/index.d.ts.map +1 -1
  189. package/dist/index.js +328 -329
  190. package/dist/lang/locales/ui_en.json.js +20 -12
  191. package/dist/lang/locales/ui_es.json.js +18 -10
  192. package/dist/lang/locales/ui_ru.json.js +26 -18
  193. package/dist/store/trashModal.d.ts +8 -0
  194. package/dist/store/trashModal.d.ts.map +1 -0
  195. package/dist/store/trashModal.js +13 -0
  196. package/dist/types/storageCategories.d.ts +4 -0
  197. package/dist/types/storageCategories.d.ts.map +1 -0
  198. package/dist/types/storageCategories.js +21 -0
  199. package/dist/utils/formatStorage.d.ts +1 -1
  200. package/dist/utils/formatStorage.d.ts.map +1 -1
  201. package/dist/utils/formatStorage.js +3 -3
  202. package/docs/README.md +17 -4
  203. package/package.json +1 -1
  204. package/dist/assets/fileTypes/archives.svg.js +0 -5
  205. package/dist/assets/fileTypes/audio.svg.js +0 -5
  206. package/dist/assets/fileTypes/code.svg.js +0 -5
  207. package/dist/assets/fileTypes/documentsStorage.svg.js +0 -5
  208. package/dist/assets/fileTypes/images.svg.js +0 -5
  209. package/dist/assets/fileTypes/other.svg.js +0 -5
  210. package/dist/assets/fileTypes/videos.svg.js +0 -5
  211. package/dist/components/AppContainer/hooks/useSetAppContainerLayout.d.ts +0 -3
  212. package/dist/components/AppContainer/hooks/useSetAppContainerLayout.d.ts.map +0 -1
  213. package/dist/components/AppContainer/hooks/useSetAppContainerLayout.js +0 -10
  214. package/dist/components/EmojiPicker/getIconsList.d.ts +0 -8
  215. package/dist/components/EmojiPicker/getIconsList.d.ts.map +0 -1
  216. package/dist/components/EmojiPicker/getIconsList.js +0 -32
  217. package/dist/components/EmojiPicker/getRandomIcon.d.ts +0 -2
  218. package/dist/components/EmojiPicker/getRandomIcon.d.ts.map +0 -1
  219. package/dist/components/EmojiPicker/getRandomIcon.js +0 -10
  220. package/dist/components/NoData/NoData.module.css.js +0 -7
  221. package/dist/components/PaymentCancel/PaymentCancel.d.ts +0 -2
  222. package/dist/components/PaymentCancel/PaymentCancel.d.ts.map +0 -1
  223. package/dist/components/PaymentCancel/PaymentCancel.js +0 -41
  224. package/dist/components/PaymentError/PaymentError.d.ts +0 -2
  225. package/dist/components/PaymentError/PaymentError.d.ts.map +0 -1
  226. package/dist/components/PaymentError/PaymentError.js +0 -41
  227. package/dist/node_modules/@layers-app/layers/src/api/common.js +0 -41
  228. package/dist/store/accessOptionsControl.d.ts +0 -17
  229. package/dist/store/accessOptionsControl.d.ts.map +0 -1
  230. package/dist/store/accessOptionsControl.js +0 -18
@@ -1,76 +1,74 @@
1
- import { jsx as r } from "react/jsx-runtime";
2
- import { Folder01Icon as i } from "@hugeicons/core-free-icons";
1
+ import { jsx as n } from "react/jsx-runtime";
2
+ import { Folder01Icon as t, Folder02Icon as f } from "@hugeicons/core-free-icons";
3
3
  import { HugeiconsIcon as l } from "@hugeicons/react";
4
- import { Text as c, Box as d, Avatar as p } from "@mantine/core";
5
- import u from "../assets/enitityIcons/flow.svg.js";
6
- import h from "../assets/enitityIcons/form.svg.js";
7
- import y from "../assets/enitityIcons/page.svg.js";
8
- import g from "../assets/enitityIcons/sprint.svg.js";
9
- import { ProjectIcon as e, IconEntity as a, renderIcon as I } from "./ProjectIcon/ProjectIcon.js";
10
- const S = ({
11
- item: o
12
- }) => {
13
- const n = o?.size || 16;
4
+ import { Text as c, Box as s, Avatar as d } from "@mantine/core";
5
+ import p from "../assets/enitityIcons/flow.svg.js";
6
+ import u from "../assets/enitityIcons/form.svg.js";
7
+ import h from "../assets/enitityIcons/page.svg.js";
8
+ import y from "../assets/enitityIcons/sprint.svg.js";
9
+ import { ProjectIcon as i, IconEntity as a, renderIcon as g } from "./ProjectIcon/ProjectIcon.js";
10
+ const I = (o) => o.isFolder || o.type === "PROJECT" && o?.pathById?.findIndex((r) => r === o?.parentId) === 1, k = ({ item: o }) => {
11
+ const r = o?.size || 16;
14
12
  if (!o) return null;
15
13
  if (o.type === "FOLDER")
16
- return /* @__PURE__ */ r(l, { icon: i, size: n });
14
+ return /* @__PURE__ */ n(l, { icon: t, size: r });
17
15
  if (o.type === "PAGE")
18
- return /* @__PURE__ */ r(
19
- e,
16
+ return /* @__PURE__ */ n(
17
+ i,
20
18
  {
21
- fallbackColor: "var(--default-page-icon-color)",
19
+ fallbackColor: o.icon ? void 0 : "var(--default-page-icon-color)",
22
20
  name: o.title,
23
21
  icon: o.icon,
24
- fallback: /* @__PURE__ */ r(y, { width: n, height: n })
22
+ fallback: /* @__PURE__ */ n(h, { width: r, height: r })
25
23
  }
26
24
  );
27
25
  if (o.type === "FORM")
28
- return /* @__PURE__ */ r(
29
- e,
26
+ return /* @__PURE__ */ n(
27
+ i,
30
28
  {
31
29
  fallbackColor: "var(--default-form-icon-color)",
32
30
  icon: o.icon,
33
- fallback: /* @__PURE__ */ r(h, { width: n, height: n })
31
+ fallback: /* @__PURE__ */ n(u, { width: r, height: r })
34
32
  }
35
33
  );
36
34
  if (o.type === "FLOW")
37
- return /* @__PURE__ */ r(
38
- e,
35
+ return /* @__PURE__ */ n(
36
+ i,
39
37
  {
40
38
  icon: o.icon,
41
39
  fallbackColor: "var(--default-flow-icon-color)",
42
- fallback: /* @__PURE__ */ r(u, { width: n, height: n })
40
+ fallback: /* @__PURE__ */ n(p, { width: r, height: r })
43
41
  }
44
42
  );
45
43
  if (o.type === "SPRINT") {
46
- const t = a.parse(o.icon);
47
- return /* @__PURE__ */ r(
44
+ const e = a.parse(o.icon);
45
+ return /* @__PURE__ */ n(
48
46
  c,
49
47
  {
50
- fz: n,
51
- c: t?.color || "yellow.6",
48
+ fz: r,
49
+ c: e?.color || "yellow.6",
52
50
  style: {
53
51
  display: "flex",
54
52
  alignItems: "center",
55
53
  justifyContent: "center",
56
54
  lineHeight: "normal",
57
- width: n + 4
55
+ width: r + 4
58
56
  },
59
- children: /* @__PURE__ */ r(g, {})
57
+ children: /* @__PURE__ */ n(y, {})
60
58
  }
61
59
  );
62
60
  }
63
61
  if (o.type === "PROJECT") {
64
- const t = a.parse(o.icon), f = o.type === "PROJECT" && o?.pathById?.findIndex((s) => s === o?.parentId) === 1;
65
- return o.isFolder || f ? /* @__PURE__ */ r(
62
+ const e = a.parse(o.icon);
63
+ return I(o) ? /* @__PURE__ */ n(
66
64
  l,
67
65
  {
68
- color: t?.color || void 0,
69
- icon: i,
70
- size: n
66
+ color: e?.color || void 0,
67
+ icon: o.isOpen ? f : t,
68
+ size: r
71
69
  }
72
- ) : t?.emoji ? /* @__PURE__ */ r(
73
- d,
70
+ ) : e?.emoji ? /* @__PURE__ */ n(
71
+ s,
74
72
  {
75
73
  bg: "gray.1",
76
74
  style: {
@@ -78,20 +76,20 @@ const S = ({
78
76
  display: "flex",
79
77
  alignItems: "center",
80
78
  justifyContent: "center",
81
- width: n,
82
- height: n
79
+ width: r,
80
+ height: r
83
81
  },
84
- children: /* @__PURE__ */ r(e, { p: 0, icon: o.icon, size: 14, textSize: 12 })
82
+ children: /* @__PURE__ */ n(i, { p: 0, icon: o.icon, size: 14, textSize: 12 })
85
83
  }
86
- ) : /* @__PURE__ */ r(
87
- p,
84
+ ) : /* @__PURE__ */ n(
85
+ d,
88
86
  {
89
87
  variant: "filled",
90
88
  radius: 4,
91
- name: o.title || "",
89
+ name: o.id || "",
92
90
  size: 16,
93
- color: t?.color || "initials",
94
- children: /* @__PURE__ */ r(
91
+ color: e?.color || "initials",
92
+ children: /* @__PURE__ */ n(
95
93
  c,
96
94
  {
97
95
  fz: 12,
@@ -104,7 +102,7 @@ const S = ({
104
102
  justifyContent: "center",
105
103
  lineHeight: "normal"
106
104
  },
107
- children: I(t, void 0, !0, o.title)
105
+ children: g(e, void 0, !0, o.title)
108
106
  }
109
107
  )
110
108
  }
@@ -113,5 +111,5 @@ const S = ({
113
111
  return null;
114
112
  };
115
113
  export {
116
- S as EntityIcon
114
+ k as EntityIcon
117
115
  };
@@ -1,7 +1,7 @@
1
1
  import { PropsWithChildren } from 'react';
2
2
  import { FlexProps, FloatingPosition, PopoverProps } from '@mantine/core';
3
3
  import { DropzoneProps, FileWithPath } from '@mantine/dropzone';
4
- import { FilePickerLocales, FileType, ImagePickerGalleryCollection } from './types';
4
+ import { FileType, ImagePickerGalleryCollection } from './types';
5
5
  declare const baseTabsList: readonly ["gallery", "upload", "link", "unsplash", "giphy"];
6
6
  type TabType = (typeof baseTabsList)[number];
7
7
  export type FilePickerProps = PropsWithChildren<{
@@ -19,12 +19,11 @@ export type FilePickerProps = PropsWithChildren<{
19
19
  galleryCollection?: ImagePickerGalleryCollection[];
20
20
  popoverProps?: PopoverProps;
21
21
  dropZoneProps?: Omit<DropzoneProps, 'onDrop'>;
22
- locales?: FilePickerLocales;
23
22
  type?: FileType;
24
23
  isValidMediaUrl?: (url: string) => boolean;
25
24
  targetProps?: FlexProps;
26
25
  onOpenedChange?: (opened: boolean) => void;
27
26
  }>;
28
- export declare const FilePicker: ({ onChange, onRemove, onUpload, uploading, showTabs, children, width, position, readOnly, hasImage, giphyToken, unsplashClientId, type, galleryCollection, isValidMediaUrl, popoverProps, dropZoneProps, targetProps, onOpenedChange, locales, }: PropsWithChildren<FilePickerProps>) => import("react/jsx-runtime").JSX.Element;
27
+ export declare const FilePicker: ({ onChange, onRemove, onUpload, uploading, showTabs, children, width, position, readOnly, hasImage, giphyToken, unsplashClientId, type, galleryCollection, isValidMediaUrl, popoverProps, dropZoneProps, targetProps, onOpenedChange, }: PropsWithChildren<FilePickerProps>) => import("react/jsx-runtime").JSX.Element;
29
28
  export {};
30
29
  //# sourceMappingURL=FilePicker.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"FilePicker.d.ts","sourceRoot":"","sources":["../../../src/components/FilePicker/FilePicker.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAqB,MAAM,OAAO,CAAC;AAI7D,OAAO,EAIL,SAAS,EACT,gBAAgB,EAEhB,YAAY,EAIb,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAQhE,OAAO,EACL,iBAAiB,EACjB,QAAQ,EACR,4BAA4B,EAC7B,MAAM,SAAS,CAAC;AAIjB,QAAA,MAAM,YAAY,6DAMR,CAAC;AAEX,KAAK,OAAO,GAAG,CAAC,OAAO,YAAY,CAAC,CAAC,MAAM,CAAC,CAAC;AAE7C,MAAM,MAAM,eAAe,GAAG,iBAAiB,CAAC;IAC9C,QAAQ,CAAC,EAAE,CAAC,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IAC/B,QAAQ,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,iBAAiB,CAAC,KAAK,IAAI,CAAC;IAC5D,QAAQ,CAAC,EAAE,CACT,KAAK,EAAE,YAAY,EAAE,EACrB,SAAS,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,KAChC,IAAI,CAAC;IACV,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,QAAQ,CAAC,EAAE,SAAS,OAAO,EAAE,CAAC;IAC9B,QAAQ,CAAC,EAAE,gBAAgB,CAAC;IAC5B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,iBAAiB,CAAC,EAAE,4BAA4B,EAAE,CAAC;IACnD,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B,aAAa,CAAC,EAAE,IAAI,CAAC,aAAa,EAAE,QAAQ,CAAC,CAAC;IAC9C,OAAO,CAAC,EAAE,iBAAiB,CAAC;IAC5B,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB,eAAe,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,OAAO,CAAC;IAC3C,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,cAAc,CAAC,EAAE,CAAC,MAAM,EAAE,OAAO,KAAK,IAAI,CAAC;CAC5C,CAAC,CAAC;AAEH,eAAO,MAAM,UAAU,GAAI,kPA6CxB,iBAAiB,CAAC,eAAe,CAAC,4CA2MpC,CAAC"}
1
+ {"version":3,"file":"FilePicker.d.ts","sourceRoot":"","sources":["../../../src/components/FilePicker/FilePicker.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAqB,MAAM,OAAO,CAAC;AAK7D,OAAO,EAIL,SAAS,EACT,gBAAgB,EAEhB,YAAY,EAIb,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAQhE,OAAO,EAAE,QAAQ,EAAE,4BAA4B,EAAE,MAAM,SAAS,CAAC;AAIjE,QAAA,MAAM,YAAY,6DAMR,CAAC;AAEX,KAAK,OAAO,GAAG,CAAC,OAAO,YAAY,CAAC,CAAC,MAAM,CAAC,CAAC;AAE7C,MAAM,MAAM,eAAe,GAAG,iBAAiB,CAAC;IAC9C,QAAQ,CAAC,EAAE,CAAC,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IAC/B,QAAQ,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,iBAAiB,CAAC,KAAK,IAAI,CAAC;IAC5D,QAAQ,CAAC,EAAE,CACT,KAAK,EAAE,YAAY,EAAE,EACrB,SAAS,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,KAChC,IAAI,CAAC;IACV,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,QAAQ,CAAC,EAAE,SAAS,OAAO,EAAE,CAAC;IAC9B,QAAQ,CAAC,EAAE,gBAAgB,CAAC;IAC5B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,iBAAiB,CAAC,EAAE,4BAA4B,EAAE,CAAC;IACnD,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B,aAAa,CAAC,EAAE,IAAI,CAAC,aAAa,EAAE,QAAQ,CAAC,CAAC;IAC9C,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB,eAAe,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,OAAO,CAAC;IAC3C,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,cAAc,CAAC,EAAE,CAAC,MAAM,EAAE,OAAO,KAAK,IAAI,CAAC;CAC5C,CAAC,CAAC;AAEH,eAAO,MAAM,UAAU,GAAI,yOAoBxB,iBAAiB,CAAC,eAAe,CAAC,4CAqNpC,CAAC"}
@@ -1,146 +1,120 @@
1
1
  import { jsx as e, jsxs as s } from "react/jsx-runtime";
2
- import { useState as b, useMemo as y } from "react";
3
- import { ImageAdd02Icon as x } from "@hugeicons/core-free-icons";
2
+ import { useState as x, useMemo as y } from "react";
3
+ import { useTranslation as q } from "react-i18next";
4
+ import { ImageAdd02Icon as C } from "@hugeicons/core-free-icons";
4
5
  import { HugeiconsIcon as F } from "@hugeicons/react";
5
- import { Flex as r, ActionIcon as W, Button as I, Text as H, Popover as g, Tabs as f, Stack as q } from "@mantine/core";
6
- import { useMenu as J } from "../../hooks/useMenu.js";
7
- import { FilePickerGallery as K } from "./FilePickerGallery.js";
8
- import { FilePickerGiphy as Q } from "./FilePickerGiphy.js";
9
- import { FilePickerLink as X } from "./FilePickerLink.js";
10
- import { FilePickerUnsplash as Y } from "./FilePickerUnsplash.js";
11
- import { FilePickerUpload as Z } from "./FilePickerUpload.js";
6
+ import { Flex as n, ActionIcon as E, Button as P, Text as J, Popover as u, Tabs as g, Stack as K } from "@mantine/core";
7
+ import { useMenu as Q } from "../../hooks/useMenu.js";
8
+ import { FilePickerGallery as W } from "./FilePickerGallery.js";
9
+ import { FilePickerGiphy as X } from "./FilePickerGiphy.js";
10
+ import { FilePickerLink as Y } from "./FilePickerLink.js";
11
+ import { FilePickerUnsplash as Z } from "./FilePickerUnsplash.js";
12
+ import { FilePickerUpload as _ } from "./FilePickerUpload.js";
12
13
  import z from "./FilePicker.module.css.js";
13
- const _ = [
14
+ const $ = [
14
15
  "gallery",
15
16
  "upload",
16
17
  "link",
17
18
  "unsplash",
18
19
  "giphy"
19
20
  ], me = ({
20
- onChange: P,
21
- onRemove: L,
22
- onUpload: h,
23
- uploading: S = !1,
24
- showTabs: a = _,
25
- children: C,
26
- width: M = 610,
27
- position: N = "bottom-end",
28
- readOnly: w = !1,
29
- hasImage: A,
30
- giphyToken: o,
31
- unsplashClientId: d,
32
- type: U = "image",
21
+ onChange: L,
22
+ onRemove: j,
23
+ onUpload: p,
24
+ uploading: G = !1,
25
+ showTabs: r = $,
26
+ children: M,
27
+ width: S = 610,
28
+ position: A = "bottom-end",
29
+ readOnly: B = !1,
30
+ hasImage: I,
31
+ giphyToken: t,
32
+ unsplashClientId: o,
33
+ type: f = "image",
33
34
  galleryCollection: c = [],
34
- isValidMediaUrl: B,
35
- popoverProps: G,
36
- dropZoneProps: j,
37
- targetProps: T,
38
- onOpenedChange: D,
39
- locales: n = {
40
- gallery: "Gallery",
41
- link: "Link",
42
- search: "Search",
43
- searchImages: "Search image",
44
- upload: "Upload",
45
- uploadFile: "Upload file",
46
- change: "Change",
47
- save: "Save",
48
- remove: "Remove",
49
- error: "Error",
50
- dragOrClickToChoose: "Drag images here or click to select files",
51
- maxFileSize: "Images wider than 1600px are recommended. Maximum file size: 5MB.",
52
- pasteLink: "Paste the image link...",
53
- submitLink: "Apply",
54
- worksWithAnyImage: "Works with any images from the Internet",
55
- noImages: "No images",
56
- errors: {
57
- typeIsNotAllowed: "This file type is not supported",
58
- shouldNotExceed: "File size should not exceed 5 MB.",
59
- doNotUploadMoreThanSingleFile: "Please upload no more than one file.",
60
- invalidLink: "Invalid link"
61
- }
62
- }
35
+ isValidMediaUrl: N,
36
+ popoverProps: U,
37
+ dropZoneProps: V,
38
+ targetProps: w,
39
+ onOpenedChange: D
63
40
  }) => {
64
- const [v, u] = b(!1), { isMobile: l } = J(), m = y(
41
+ const { t: l } = q("ui"), [v, m] = x(!1), { isMobile: b } = Q(), d = y(
65
42
  () => [
66
43
  {
67
44
  value: "gallery",
68
- label: /* @__PURE__ */ e(r, { children: !l && /* @__PURE__ */ e("span", { children: n.gallery }) }),
69
- visible: a.includes("gallery") && !!c.length
45
+ label: /* @__PURE__ */ e(n, { children: /* @__PURE__ */ e("span", { children: l("changeCover.gallery") }) }),
46
+ visible: r.includes("gallery") && !!c.length
70
47
  },
71
48
  {
72
49
  value: "upload",
73
- label: /* @__PURE__ */ e(r, { children: !l && /* @__PURE__ */ e("span", { children: n.upload }) }),
74
- visible: a.includes("upload") && !!h
50
+ label: /* @__PURE__ */ e(n, { children: /* @__PURE__ */ e("span", { children: l("changeCover.upload") }) }),
51
+ visible: r.includes("upload") && !!p
75
52
  },
76
53
  {
77
54
  value: "link",
78
- label: /* @__PURE__ */ e(r, { children: !l && /* @__PURE__ */ e("span", { children: n.link }) }),
79
- visible: a.includes("link")
55
+ label: /* @__PURE__ */ e(n, { children: /* @__PURE__ */ e("span", { children: l("changeCover.link") }) }),
56
+ visible: r.includes("link")
80
57
  },
81
58
  {
82
59
  value: "unsplash",
83
- label: /* @__PURE__ */ e(r, { children: !l && /* @__PURE__ */ e("span", { children: n.searchImages }) }),
84
- visible: a.includes("unsplash") && d
60
+ label: /* @__PURE__ */ e(n, { children: /* @__PURE__ */ e("span", { children: l("changeCover.searchImages") }) }),
61
+ visible: r.includes("unsplash") && o
85
62
  },
86
63
  {
87
64
  value: "giphy",
88
- label: /* @__PURE__ */ e(r, { children: !l && /* @__PURE__ */ e("span", { children: "GIFs" }) }),
89
- visible: a.includes("giphy") && o
65
+ label: /* @__PURE__ */ e(n, { children: /* @__PURE__ */ e("span", { children: "GIFs" }) }),
66
+ visible: r.includes("giphy") && t
90
67
  }
91
68
  ].filter((i) => i.visible),
92
69
  [
93
- l,
94
- a,
95
- d,
70
+ r,
96
71
  o,
97
- n.gallery,
98
- n.link,
99
- n.upload,
72
+ t,
73
+ l,
100
74
  c.length,
101
- h
75
+ p
102
76
  ]
103
- ), [t, E] = b(() => {
104
- if (m[0]) return m[0].value;
105
- const i = m.find((V) => V.visible);
77
+ ), [a, H] = x(() => {
78
+ if (d[0]) return d[0].value;
79
+ const i = d.find((T) => T.visible);
106
80
  return i ? i.value : "";
107
81
  }), O = (i) => {
108
- h?.(i, u);
109
- }, p = (i) => {
110
- P?.(i), u(!1);
111
- }, R = y(() => l ? /* @__PURE__ */ s(W, { size: "lg", children: [
112
- /* @__PURE__ */ e(F, { icon: x, size: 22 }),
82
+ p?.(i, m);
83
+ }, h = (i) => {
84
+ L?.(i), m(!1);
85
+ }, R = y(() => b ? /* @__PURE__ */ s(E, { size: "lg", children: [
86
+ /* @__PURE__ */ e(F, { icon: C, size: 22 }),
113
87
  " "
114
88
  ] }) : /* @__PURE__ */ e(
115
- I,
89
+ P,
116
90
  {
117
91
  variant: "default",
118
92
  size: "xs",
119
- leftSection: /* @__PURE__ */ e(F, { icon: x, size: 16 }),
120
- children: /* @__PURE__ */ e(H, { fw: 600, size: "sm", children: n?.change })
93
+ leftSection: /* @__PURE__ */ e(F, { icon: C, size: 16 }),
94
+ children: /* @__PURE__ */ e(J, { fw: 600, size: "sm", children: l("changeCover.change") })
121
95
  }
122
- ), [n, l]), k = (i) => {
123
- u(i), D?.(i);
96
+ ), [l, b]), k = (i) => {
97
+ m(i), D?.(i);
124
98
  };
125
99
  return /* @__PURE__ */ s(
126
- g,
100
+ u,
127
101
  {
128
- width: M,
102
+ width: S,
129
103
  radius: "var(--mantine-spacing-sm)",
130
- position: N,
104
+ position: A,
131
105
  shadow: "md",
132
106
  opened: v,
133
107
  onChange: k,
134
108
  withinPortal: !0,
135
- ...G || {},
109
+ ...U || {},
136
110
  children: [
137
- /* @__PURE__ */ e(g.Target, { children: /* @__PURE__ */ e(r, { onClick: () => k(!v), ...T, children: C ?? R }) }),
138
- /* @__PURE__ */ s(g.Dropdown, { p: 0, children: [
139
- /* @__PURE__ */ e(r, { justify: "space-between", align: "center", children: /* @__PURE__ */ e(
140
- f,
111
+ /* @__PURE__ */ e(u.Target, { children: /* @__PURE__ */ e(n, { onClick: () => k(!v), ...w, children: M ?? R }) }),
112
+ /* @__PURE__ */ s(u.Dropdown, { p: 0, children: [
113
+ /* @__PURE__ */ e(n, { justify: "space-between", align: "center", children: /* @__PURE__ */ e(
114
+ g,
141
115
  {
142
116
  defaultValue: "gallery",
143
- value: t,
117
+ value: a,
144
118
  styles: {
145
119
  list: {
146
120
  alignItems: "center",
@@ -149,7 +123,7 @@ const _ = [
149
123
  },
150
124
  w: "100%",
151
125
  children: /* @__PURE__ */ s(
152
- f.List,
126
+ g.List,
153
127
  {
154
128
  style: {
155
129
  gap: "4px"
@@ -157,21 +131,21 @@ const _ = [
157
131
  px: 8,
158
132
  h: 54,
159
133
  children: [
160
- m.map((i) => /* @__PURE__ */ e(
161
- f.Tab,
134
+ d.map((i) => /* @__PURE__ */ e(
135
+ g.Tab,
162
136
  {
163
137
  className: z.originalTab,
164
- disabled: w,
138
+ disabled: B,
165
139
  h: "100%",
166
140
  p: 0,
167
141
  value: i.value,
168
- onClick: () => E(i.value),
169
- children: /* @__PURE__ */ e(r, { className: z.customTab, px: "sm", h: 36, children: i.label })
142
+ onClick: () => H(i.value),
143
+ children: /* @__PURE__ */ e(n, { className: z.customTab, px: "sm", h: 36, children: i.label })
170
144
  },
171
145
  i.value
172
146
  )),
173
- A && /* @__PURE__ */ e(
174
- I,
147
+ I && /* @__PURE__ */ e(
148
+ P,
175
149
  {
176
150
  variant: "subtle",
177
151
  fz: "sm",
@@ -179,10 +153,10 @@ const _ = [
179
153
  fw: 500,
180
154
  px: "sm",
181
155
  size: "30px",
182
- onClick: L,
156
+ onClick: j,
183
157
  color: "var(--mantine-color-gray-light-color)",
184
158
  style: { marginLeft: "auto" },
185
- children: n.remove
159
+ children: l("remove")
186
160
  }
187
161
  )
188
162
  ]
@@ -190,48 +164,39 @@ const _ = [
190
164
  )
191
165
  }
192
166
  ) }),
193
- /* @__PURE__ */ s(q, { gap: 0, px: 8, pb: 8, pt: "sm", children: [
194
- t === "gallery" && !!c.length && /* @__PURE__ */ e(
195
- K,
167
+ /* @__PURE__ */ s(K, { gap: 0, px: 8, pb: 8, pt: "sm", children: [
168
+ a === "gallery" && !!c.length && /* @__PURE__ */ e(
169
+ W,
196
170
  {
197
171
  galleryCollection: c,
198
- onChange: p
172
+ onChange: h
199
173
  }
200
174
  ),
201
- t === "upload" && /* @__PURE__ */ e(
202
- Z,
175
+ a === "upload" && /* @__PURE__ */ e(
176
+ _,
203
177
  {
204
- locales: n,
205
- uploading: S,
206
- dropZoneProps: j,
178
+ type: f || "image",
179
+ uploading: G,
180
+ dropZoneProps: V,
207
181
  onUpload: O
208
182
  }
209
183
  ),
210
- t === "link" && /* @__PURE__ */ e(
211
- X,
212
- {
213
- locales: n,
214
- type: U || "image",
215
- onChange: p,
216
- isValidMediaUrl: B
217
- }
218
- ),
219
- t === "unsplash" && d && /* @__PURE__ */ e(
184
+ a === "link" && /* @__PURE__ */ e(
220
185
  Y,
221
186
  {
222
- locales: n,
223
- clientId: d,
224
- onChange: p
187
+ type: f || "image",
188
+ onChange: h,
189
+ isValidMediaUrl: N
225
190
  }
226
191
  ),
227
- t === "giphy" && o && /* @__PURE__ */ e(
228
- Q,
192
+ a === "unsplash" && o && /* @__PURE__ */ e(
193
+ Z,
229
194
  {
230
- locales: n,
231
- token: o,
232
- onChange: p
195
+ clientId: o,
196
+ onChange: h
233
197
  }
234
- )
198
+ ),
199
+ a === "giphy" && t && /* @__PURE__ */ e(X, { token: t, onChange: h })
235
200
  ] })
236
201
  ] })
237
202
  ]
@@ -1,6 +1,4 @@
1
- import { FilePickerLocales } from './types';
2
- export declare const FilePickerGiphy: ({ locales, token, onChange, }: {
3
- locales: FilePickerLocales;
1
+ export declare const FilePickerGiphy: ({ token, onChange, }: {
4
2
  token?: string;
5
3
  onChange?: (v: string) => void;
6
4
  }) => import("react/jsx-runtime").JSX.Element;
@@ -1 +1 @@
1
- {"version":3,"file":"FilePickerGiphy.d.ts","sourceRoot":"","sources":["../../../src/components/FilePicker/FilePickerGiphy.tsx"],"names":[],"mappings":"AA0BA,OAAO,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAU5C,eAAO,MAAM,eAAe,GAAI,+BAI7B;IACD,OAAO,EAAE,iBAAiB,CAAC;IAC3B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,CAAC,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;CAChC,4CAoGA,CAAC"}
1
+ {"version":3,"file":"FilePickerGiphy.d.ts","sourceRoot":"","sources":["../../../src/components/FilePicker/FilePickerGiphy.tsx"],"names":[],"mappings":"AAmCA,eAAO,MAAM,eAAe,GAAI,sBAG7B;IACD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,CAAC,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;CAChC,4CAoGA,CAAC"}