@layers-app/shared 0.3.7 → 0.3.9

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 (190) hide show
  1. package/dist/components/AnimatedFigurePage/AnimatedFigurePage.module.css.js +10 -10
  2. package/dist/components/AnimatedFigurePage/useParallax.d.ts +2 -2
  3. package/dist/components/AppContainer/AppContainer.module.css.js +1 -1
  4. package/dist/components/AppContainer/components/AppSidebarButton.d.ts +4 -1
  5. package/dist/components/AppContainer/components/AppSidebarButton.d.ts.map +1 -1
  6. package/dist/components/AppContainer/components/AppSidebarButton.js +22 -15
  7. package/dist/components/AppContainer/components/AppsSidebar/AppsSection.d.ts.map +1 -1
  8. package/dist/components/AppContainer/components/AppsSidebar/AppsSection.js +22 -21
  9. package/dist/components/AppContainer/components/AppsSidebar/UserSection.d.ts.map +1 -1
  10. package/dist/components/AppContainer/components/AppsSidebar/UserSection.js +48 -91
  11. package/dist/components/AppContainer/components/menus/HelpMenu/HelpMenu.module.css.js +1 -1
  12. package/dist/components/AppShell/AppShell.module.css.js +5 -5
  13. package/dist/components/AttachmentsGalleryModal/components/GallerySlide.d.ts +3 -1
  14. package/dist/components/AttachmentsGalleryModal/components/GallerySlide.d.ts.map +1 -1
  15. package/dist/components/AttachmentsGalleryModal/components/GallerySlide.js +89 -63
  16. package/dist/components/AttachmentsGalleryModal/components/ShakePlayer/ShakaPlayer.d.ts +1 -1
  17. package/dist/components/AttachmentsGalleryModal/components/ShakePlayer/ShakaPlayer.d.ts.map +1 -1
  18. package/dist/components/AttachmentsGalleryModal/components/ShakePlayer/ShakaPlayer.js +35 -26
  19. package/dist/components/AttachmentsGalleryModal/components/ShakePlayer/ShakaPlayer.module.css.js +4 -4
  20. package/dist/components/AttachmentsGalleryModal/components/ShakePlayer/useShakePlayer.d.ts +1 -1
  21. package/dist/components/AttachmentsGalleryModal/components/ShakePlayer/useShakePlayer.d.ts.map +1 -1
  22. package/dist/components/AttachmentsGalleryModal/components/ShakePlayer/useShakePlayer.js +43 -36
  23. package/dist/components/AttachmentsGalleryModal/components/UnsupportedSection.d.ts +6 -0
  24. package/dist/components/AttachmentsGalleryModal/components/UnsupportedSection.d.ts.map +1 -0
  25. package/dist/components/AttachmentsGalleryModal/components/UnsupportedSection.js +16 -0
  26. package/dist/components/AttachmentsGalleryModal/hooks/useGetPreviewUrl.d.ts +4 -0
  27. package/dist/components/AttachmentsGalleryModal/hooks/useGetPreviewUrl.d.ts.map +1 -1
  28. package/dist/components/AttachmentsGalleryModal/hooks/useGetPreviewUrl.js +59 -20
  29. package/dist/components/AttachmentsGalleryModal/styles.module.css.js +28 -18
  30. package/dist/components/AttachmentsPreview/AttachmentsPreview.d.ts.map +1 -1
  31. package/dist/components/AttachmentsPreview/AttachmentsPreview.js +22 -18
  32. package/dist/components/AttachmentsPreview/AttachmentsPreview.module.css.js +1 -1
  33. package/dist/components/BouncingLogo/BouncingLogo.module.css.js +8 -8
  34. package/dist/components/CollapsibleContainer/CollapsibleContainer.module.css.js +1 -1
  35. package/dist/components/ColorPicker/ColorPicker.d.ts +23 -18
  36. package/dist/components/ColorPicker/ColorPicker.d.ts.map +1 -1
  37. package/dist/components/ColorPicker/ColorPicker.js +145 -139
  38. package/dist/components/ColorPicker/ColorPicker.module.css.js +14 -14
  39. package/dist/components/ColorPicker/ColorPickerToolbar.d.ts.map +1 -1
  40. package/dist/components/ColorPicker/ColorPickerToolbar.js +71 -88
  41. package/dist/components/ColorPicker/icons.js +1 -1
  42. package/dist/components/CommentComposer/CommentComposer.module.css.js +4 -4
  43. package/dist/components/CommentComposer/CommentEditorHotkeys.d.ts.map +1 -1
  44. package/dist/components/CommentComposer/CommentEditorHotkeys.js +3 -4
  45. package/dist/components/CommentComposer/index.js +1 -1
  46. package/dist/components/CommentComposer/useVirtualAnchor.d.ts +1 -1
  47. package/dist/components/CommentComposer/useVirtualAnchor.d.ts.map +1 -1
  48. package/dist/components/CommunitiesDialog/styles.module.css.js +1 -1
  49. package/dist/components/Copyright/Copyright.module.css.js +1 -1
  50. package/dist/components/CustomKBD/CustomKBD.module.css.js +1 -1
  51. package/dist/components/EmojiPicker/EmojiPanel.d.ts.map +1 -1
  52. package/dist/components/EmojiPicker/EmojiPanel.js +22 -22
  53. package/dist/components/EmojiPicker/EmojiPicker.d.ts +1 -1
  54. package/dist/components/EmojiPicker/EmojiPicker.d.ts.map +1 -1
  55. package/dist/components/EmojiPicker/EmojiPicker.js +0 -1
  56. package/dist/components/EmojiPicker/EmojiPicker.module.css.js +8 -8
  57. package/dist/components/EmojiPicker/IconsPanel.js +13 -13
  58. package/dist/components/EntityIcon.d.ts.map +1 -1
  59. package/dist/components/EntityIcon.js +43 -33
  60. package/dist/components/EntityTitle/EntityTitle.module.css.js +1 -1
  61. package/dist/components/ErrorPage/components/Error404.d.ts.map +1 -1
  62. package/dist/components/FeatureProgress/FeatureProgress.module.css.js +49 -49
  63. package/dist/components/FilePicker/FilePicker.d.ts +2 -4
  64. package/dist/components/FilePicker/FilePicker.d.ts.map +1 -1
  65. package/dist/components/FilePicker/FilePicker.js +226 -241
  66. package/dist/components/FilePicker/FilePicker.module.css.js +12 -14
  67. package/dist/components/FilePicker/FilePickerGallery.d.ts.map +1 -1
  68. package/dist/components/FilePicker/FilePickerGallery.js +34 -60
  69. package/dist/components/FilePicker/FilePickerGiphy.d.ts.map +1 -1
  70. package/dist/components/FilePicker/FilePickerGiphy.js +39 -38
  71. package/dist/components/FilePicker/FilePickerLink.d.ts.map +1 -1
  72. package/dist/components/FilePicker/FilePickerLink.js +26 -29
  73. package/dist/components/FilePicker/FilePickerUnsplash.d.ts.map +1 -1
  74. package/dist/components/FilePicker/FilePickerUnsplash.js +43 -42
  75. package/dist/components/FilePicker/FilePickerUpload.d.ts.map +1 -1
  76. package/dist/components/FilePicker/FilePickerUpload.js +35 -51
  77. package/dist/components/FilePicker/index.d.ts +0 -1
  78. package/dist/components/FilePicker/index.d.ts.map +1 -1
  79. package/dist/components/FormViewer/FormViewer.module.css.js +20 -20
  80. package/dist/components/FormViewer/components/fields/DragOptions/DragOptions.module.css.js +1 -1
  81. package/dist/components/FormViewer/components/fields/DropdownField/DropdownField.module.css.js +1 -1
  82. package/dist/components/FormViewer/components/fields/EditableContent/EditableContent.module.css.js +1 -1
  83. package/dist/components/FormViewer/components/fields/SelectableCard/SelectableCard.module.css.js +8 -8
  84. package/dist/components/FormViewer/components/fields/UploadField/UploadFile/UploadFile.module.css.js +4 -4
  85. package/dist/components/FormViewer/helpers/conditions.d.ts +38 -38
  86. package/dist/components/FormViewer/helpers/helpers.d.ts +38 -38
  87. package/dist/components/FormViewer/helpers/steps.d.ts +38 -38
  88. package/dist/components/FormViewer/hooks/useActiveControl.d.ts +19 -19
  89. package/dist/components/FormViewer/hooks/useActiveStep.d.ts +38 -38
  90. package/dist/components/FormViewer/hooks/useFormGlobalTheme.d.ts +6 -0
  91. package/dist/components/FormViewer/hooks/useFormGlobalTheme.d.ts.map +1 -1
  92. package/dist/components/FormViewer/hooks/useFormGlobalTheme.js +4 -3
  93. package/dist/components/FormViewer/hooks/useFormMobile.d.ts +1 -1
  94. package/dist/components/FormViewer/hooks/useFormMobile.d.ts.map +1 -1
  95. package/dist/components/FormViewer/store/formStore.d.ts +248 -248
  96. package/dist/components/FormViewer/store/formStore.d.ts.map +1 -1
  97. package/dist/components/FormViewer/store/formStoreApi.d.ts +124 -124
  98. package/dist/components/FormViewer/store/selectors.d.ts +11655 -11655
  99. package/dist/components/FormViewer/types/form.d.ts +1 -1
  100. package/dist/components/FormViewer/types/form.d.ts.map +1 -1
  101. package/dist/components/FormViewer/types/schemes.d.ts +381 -6358
  102. package/dist/components/FormViewer/types/schemes.d.ts.map +1 -1
  103. package/dist/components/FormViewer/types/schemes.js +1 -1
  104. package/dist/components/GroupAvatar/index.d.ts +3 -1
  105. package/dist/components/GroupAvatar/index.d.ts.map +1 -1
  106. package/dist/components/GroupAvatar/index.js +24 -21
  107. package/dist/components/ImageCropper/ImageCropper.module.css.js +38 -38
  108. package/dist/components/IntegrationFlowAnimation/IntegrationFlowAnimation.module.css.js +11 -11
  109. package/dist/components/LanguagePicker/LanguagePicker.module.css.js +1 -1
  110. package/dist/components/Loaders/styles.module.css.js +6 -6
  111. package/dist/components/MediaLibrary/MediaLibrary.module.css.js +2 -2
  112. package/dist/components/MediaLibrary/MediaLibraryRow.js +7 -7
  113. package/dist/components/NavMenu/NavMenu.d.ts +3 -1
  114. package/dist/components/NavMenu/NavMenu.d.ts.map +1 -1
  115. package/dist/components/NavMenu/NavMenu.module.css.js +12 -12
  116. package/dist/components/NavMenu/components/DnDProvider.d.ts +1 -1
  117. package/dist/components/NavMenu/components/DnDProvider.d.ts.map +1 -1
  118. package/dist/components/NavMenu/components/NavMenuActionIcon.d.ts +7 -1
  119. package/dist/components/NavMenu/components/NavMenuActionIcon.d.ts.map +1 -1
  120. package/dist/components/NavMenu/components/NavMenuActionIcon.js +21 -23
  121. package/dist/components/NavbarResizer/NavbarResizer.module.css.js +2 -2
  122. package/dist/components/NewColorPicker/components/Target.d.ts +3 -1
  123. package/dist/components/NewColorPicker/components/Target.d.ts.map +1 -1
  124. package/dist/components/NewColorPicker/components/Target.js +48 -43
  125. package/dist/components/NotPublicPanel/NotPublicPanel.module.css.js +11 -11
  126. package/dist/components/Notification/Notification.js +3 -1
  127. package/dist/components/Notification/Notification.module.css.js +1 -1
  128. package/dist/components/Notification/NotificationCard.d.ts +3 -1
  129. package/dist/components/Notification/NotificationCard.d.ts.map +1 -1
  130. package/dist/components/Notification/NotificationCard.js +87 -86
  131. package/dist/components/OnBoarding/steps/DifferentLayouts/styles.module.css.js +3 -3
  132. package/dist/components/OnBoarding/steps/styles.module.css.js +9 -9
  133. package/dist/components/OnBoarding/styles.module.css.js +7 -7
  134. package/dist/components/OnboardingTour/OnboardingTourWrapper.d.ts +1 -1
  135. package/dist/components/OnboardingTour/OnboardingTourWrapper.d.ts.map +1 -1
  136. package/dist/components/OnboardingTour/OnboardingTourWrapper.js +70 -74
  137. package/dist/components/ProjectIcon/ProjectIcon.d.ts +7 -12
  138. package/dist/components/ProjectIcon/ProjectIcon.d.ts.map +1 -1
  139. package/dist/components/ProjectIcon/ProjectIcon.js +58 -60
  140. package/dist/components/SearchFilters/SearchFilters.module.css.js +1 -1
  141. package/dist/components/SettingsSection/styles.module.css.js +1 -1
  142. package/dist/components/StorageUsageProgress/StorageUsageProgress.module.css.js +1 -1
  143. package/dist/components/TextColorIcon.d.ts +8 -0
  144. package/dist/components/TextColorIcon.d.ts.map +1 -0
  145. package/dist/components/TextColorIcon.js +60 -0
  146. package/dist/components/TreeIndent/TreeIndent.module.css.js +4 -4
  147. package/dist/components/UserAvatar/index.d.ts +2 -1
  148. package/dist/components/UserAvatar/index.d.ts.map +1 -1
  149. package/dist/components/UserAvatar/index.js +38 -35
  150. package/dist/components/WorkspaceAvatar/WorkspaceAvatar.d.ts +3 -3
  151. package/dist/components/WorkspaceAvatar/WorkspaceAvatar.d.ts.map +1 -1
  152. package/dist/components/WorkspaceAvatar/WorkspaceAvatar.js +19 -18
  153. package/dist/components/WorkspaceMenu/WorkspaceItem.js +17 -17
  154. package/dist/components/WorkspaceMenu/WorkspaceMenu.js +7 -7
  155. package/dist/components/table/FrontTable.d.ts.map +1 -1
  156. package/dist/components/table/hooks/useColumnsResizing.d.ts.map +1 -1
  157. package/dist/config/envConfig.d.ts +8 -0
  158. package/dist/config/envConfig.d.ts.map +1 -1
  159. package/dist/config/envConfig.js +21 -13
  160. package/dist/helpers/getFileIcons.d.ts.map +1 -1
  161. package/dist/helpers/getFileIcons.js +63 -45
  162. package/dist/helpers/getFileType.d.ts +1 -1
  163. package/dist/helpers/getFileType.d.ts.map +1 -1
  164. package/dist/helpers/getFileType.js +29 -8
  165. package/dist/helpers/getPartOfTheDay.d.ts +1 -1
  166. package/dist/helpers/offlineSuppression.d.ts +3 -0
  167. package/dist/helpers/offlineSuppression.d.ts.map +1 -0
  168. package/dist/helpers/offlineSuppression.js +8 -0
  169. package/dist/helpers/platform.d.ts +1 -1
  170. package/dist/helpers/platform.d.ts.map +1 -1
  171. package/dist/helpers/platform.js +5 -4
  172. package/dist/helpers/showFeatureFeedback.module.css.js +4 -4
  173. package/dist/helpers/showNotifications.d.ts.map +1 -1
  174. package/dist/helpers/showNotifications.js +30 -29
  175. package/dist/helpers/showNotifications.module.css.js +1 -1
  176. package/dist/hooks/useOutsideClick.d.ts +1 -1
  177. package/dist/hooks/useOutsideClick.d.ts.map +1 -1
  178. package/dist/index.css +1 -1
  179. package/dist/index.d.ts +2 -1
  180. package/dist/index.d.ts.map +1 -1
  181. package/dist/index.js +467 -465
  182. package/dist/lang/locales/ui_en.json.js +18 -20
  183. package/dist/lang/locales/ui_es.json.js +12 -14
  184. package/dist/lang/locales/ui_ru.json.js +13 -15
  185. package/dist/node_modules/countries-and-timezones/esm/index.js +281 -4011
  186. package/docs/README.md +499 -499
  187. package/package.json +75 -75
  188. package/dist/components/FilePicker/coverCollections.d.ts +0 -4
  189. package/dist/components/FilePicker/coverCollections.d.ts.map +0 -1
  190. package/dist/components/FilePicker/coverCollections.js +0 -164
@@ -1,76 +1,77 @@
1
- import { jsxs as n, jsx as e } from "react/jsx-runtime";
2
- import { useState as l, useMemo as x, useEffect as f, useCallback as I } from "react";
1
+ import { jsxs as c, jsx as t } from "react/jsx-runtime";
2
+ import { useState as m, useMemo as I, useEffect as f, useCallback as x } from "react";
3
3
  import { useTranslation as S } from "react-i18next";
4
4
  import { Search01Icon as P } from "@hugeicons/core-free-icons";
5
- import { HugeiconsIcon as T } from "@hugeicons/react";
6
- import { Stack as b, FocusTrap as w, TextInput as z, Loader as G, Box as C, SimpleGrid as L, AspectRatio as j, Button as D } from "@mantine/core";
7
- import { useDebouncedValue as F, useDebouncedCallback as M } from "@mantine/hooks";
5
+ import { HugeiconsIcon as w } from "@hugeicons/react";
6
+ import { Stack as b, TextInput as z, Loader as L, Box as C, SimpleGrid as T, AspectRatio as j, Button as D } from "@mantine/core";
7
+ import { useDebouncedValue as G, useDebouncedCallback as M } from "@mantine/hooks";
8
8
  import { NoData as q } from "../NoData/NoData.js";
9
9
  import { FilePickerSkeletonLoader as B } from "./FilePickerSkeletonLoader.js";
10
- import { useGiphyPhotos as N } from "./api/giphyApi.js";
11
- import Q from "./FilePicker.module.css.js";
12
- const k = (c) => (c || []).reduce((o, i) => (o[i.id] = i, o), {}), U = ({
13
- onChange: c
10
+ import { useGiphyPhotos as F } from "./api/giphyApi.js";
11
+ import N from "./FilePicker.module.css.js";
12
+ const k = (n) => (n || []).reduce((o, i) => (o[i.id] = i, o), {}), K = ({
13
+ onChange: n
14
14
  }) => {
15
- const { t: o } = S("ui"), [i, v] = l(""), [m] = F(i, 800), [u, p] = l(1), [d, h] = l({}), { data: r, isLoading: s } = N(
16
- { q: m, limit: 24, offset: (u - 1) * 24 + 1 },
15
+ const { t: o } = S("ui"), [i, v] = m(""), [l] = G(i, 800), [u, d] = m(1), [p, h] = m({}), { data: r, isLoading: s } = F(
16
+ { q: l, limit: 24, offset: (u - 1) * 24 + 1 },
17
17
  u
18
- ), a = x(
19
- () => Object.values({ ...d, ...k(r?.items) }),
20
- [d, r?.items]
18
+ ), a = I(
19
+ () => Object.values({ ...p, ...k(r?.items) }),
20
+ [p, r?.items]
21
21
  ), g = M(() => {
22
22
  setTimeout(() => {
23
- h((t) => ({ ...t, ...k(r?.items) }));
23
+ h((e) => ({ ...e, ...k(r?.items) }));
24
24
  }, 0);
25
25
  }, 100);
26
26
  f(() => {
27
27
  g();
28
28
  }, [r?.items, g]), f(() => {
29
29
  h({});
30
- }, [m]);
31
- const y = I(
32
- (t) => {
33
- v(t.currentTarget.value), p(1);
30
+ }, [l]);
31
+ const y = x(
32
+ (e) => {
33
+ v(e.currentTarget.value), d(1);
34
34
  },
35
35
  []
36
36
  );
37
- return /* @__PURE__ */ n(b, { gap: "sm", children: [
38
- /* @__PURE__ */ e(w, { active: !0, children: /* @__PURE__ */ e(
37
+ return /* @__PURE__ */ c(b, { children: [
38
+ /* @__PURE__ */ t(
39
39
  z,
40
40
  {
41
- leftSection: s ? /* @__PURE__ */ e(G, { size: 16 }) : /* @__PURE__ */ e(T, { size: 16, icon: P }),
41
+ leftSection: s ? /* @__PURE__ */ t(L, { size: 16 }) : /* @__PURE__ */ t(w, { size: 16, icon: P }),
42
42
  maxLength: 50,
43
- placeholder: o("changeCover.searchGifs"),
43
+ placeholder: o("changeCover.searchImage"),
44
44
  "data-autofocus": !0,
45
45
  value: i,
46
- onChange: y
46
+ onChange: y,
47
+ mb: "sm"
47
48
  }
48
- ) }),
49
- /* @__PURE__ */ n(C, { mah: 300, w: "100%", style: { overflowY: "auto" }, children: [
50
- !!a.length && /* @__PURE__ */ n(b, { gap: 8, children: [
51
- /* @__PURE__ */ e(L, { cols: 4, spacing: 10, children: a.map((t) => /* @__PURE__ */ e(
49
+ ),
50
+ /* @__PURE__ */ c(C, { mah: 300, w: "100%", style: { overflowY: "auto" }, children: [
51
+ !!a.length && /* @__PURE__ */ c(b, { gap: 8, children: [
52
+ /* @__PURE__ */ t(T, { cols: 4, spacing: 10, children: a.map((e) => /* @__PURE__ */ t(
52
53
  j,
53
54
  {
54
- onClick: () => c?.(t.images.original.url),
55
+ onClick: () => n?.(e.images.original.url),
55
56
  ratio: 120 / 65,
56
- className: Q.itemImage,
57
+ className: N.itemImage,
57
58
  style: {
58
- backgroundImage: `url(${t.images.preview_webp.url})`
59
+ backgroundImage: `url(${e.images.preview_webp.url})`
59
60
  }
60
61
  },
61
- t.id
62
+ e.id
62
63
  )) }),
63
- r?.hasMore && /* @__PURE__ */ e(
64
+ r?.hasMore && /* @__PURE__ */ t(
64
65
  D,
65
66
  {
66
67
  variant: "subtle",
67
68
  loading: s,
68
- onClick: () => p((t) => t + 1),
69
- children: o("loadMore")
69
+ onClick: () => d((e) => e + 1),
70
+ children: o("loadMode")
70
71
  }
71
72
  )
72
73
  ] }),
73
- !a.length && !s && /* @__PURE__ */ e(C, { pb: 16, children: /* @__PURE__ */ e(
74
+ !a.length && !s && /* @__PURE__ */ t(C, { pb: 16, children: /* @__PURE__ */ t(
74
75
  q,
75
76
  {
76
77
  size: 120,
@@ -79,10 +80,10 @@ const k = (c) => (c || []).reduce((o, i) => (o[i.id] = i, o), {}), U = ({
79
80
  titleProps: { size: "xs", c: "dimmed" }
80
81
  }
81
82
  ) }),
82
- !a.length && s && /* @__PURE__ */ e(B, {})
83
+ !a.length && s && /* @__PURE__ */ t(B, {})
83
84
  ] })
84
85
  ] });
85
86
  };
86
87
  export {
87
- U as FilePickerGiphy
88
+ K as FilePickerGiphy
88
89
  };
@@ -1 +1 @@
1
- {"version":3,"file":"FilePickerLink.d.ts","sourceRoot":"","sources":["../../../src/components/FilePicker/FilePickerLink.tsx"],"names":[],"mappings":"AAaA,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAInC,eAAO,MAAM,cAAc,GAAI,sCAI5B;IACD,QAAQ,CAAC,EAAE,CAAC,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IAC/B,IAAI,EAAE,QAAQ,CAAC;IACf,eAAe,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,OAAO,CAAC;CAC5C,4CAkEA,CAAC"}
1
+ {"version":3,"file":"FilePickerLink.d.ts","sourceRoot":"","sources":["../../../src/components/FilePicker/FilePickerLink.tsx"],"names":[],"mappings":"AAWA,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAInC,eAAO,MAAM,cAAc,GAAI,sCAI5B;IACD,QAAQ,CAAC,EAAE,CAAC,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IAC/B,IAAI,EAAE,QAAQ,CAAC;IACf,eAAe,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,OAAO,CAAC;CAC5C,4CA+DA,CAAC"}
@@ -1,51 +1,48 @@
1
- import { jsxs as u, jsx as r } from "react/jsx-runtime";
2
- import { useTranslation as c } from "react-i18next";
3
- import { Search01Icon as m } from "@hugeicons/core-free-icons";
4
- import { HugeiconsIcon as f } from "@hugeicons/react";
5
- import { Stack as d, FocusTrap as p, TextInput as h, Flex as g, Button as v } from "@mantine/core";
6
- import { useForm as k } from "@mantine/form";
7
- import { isValidUrl as x, isImageUrl as F, isVideoUrl as I, isAudioUrl as L } from "../../helpers/validation.js";
8
- import w from "./FilePicker.module.css.js";
9
- const z = ({
10
- onChange: a,
11
- type: l,
12
- isValidMediaUrl: s
1
+ import { jsxs as u, jsx as t } from "react/jsx-runtime";
2
+ import { useTranslation as m } from "react-i18next";
3
+ import { Stack as c, FocusTrap as d, TextInput as f, Flex as p, Button as h } from "@mantine/core";
4
+ import { useForm as g } from "@mantine/form";
5
+ import { isValidUrl as v, isImageUrl as k, isVideoUrl as x, isAudioUrl as F } from "../../helpers/validation.js";
6
+ import L from "./FilePicker.module.css.js";
7
+ const U = ({
8
+ onChange: o,
9
+ type: s,
10
+ isValidMediaUrl: a
13
11
  }) => {
14
- const { t } = c("ui"), o = k({
12
+ const { t: i } = m("ui"), l = g({
15
13
  initialValues: {
16
14
  url: ""
17
15
  },
18
16
  validate: {
19
- url: (e) => (e || "").trim().length > 0 && x(e) ? null : t("changeCover.invalidLink")
17
+ url: (e) => (e || "").trim().length > 0 && v(e) ? null : i("changeCover.invalidLink")
20
18
  }
21
19
  }), n = async () => {
22
- const { values: e } = o;
23
- let i;
24
- l === "image" ? i = await F(e.url) : l === "video" ? s && s(e.url) ? i = !0 : i = await I(e.url) : l === "audio" ? i = await L(e.url) : i = !0, i ? a?.(e.url) : o.setFieldError("url", t("changeCover.invalidLink"));
20
+ const { values: e } = l;
21
+ let r;
22
+ s === "image" ? r = await k(e.url) : s === "video" ? a && a(e.url) ? r = !0 : r = await x(e.url) : s === "audio" ? r = await F(e.url) : r = !0, r ? o?.(e.url) : l.setFieldError("url", i("changeCover.invalidLink"));
25
23
  };
26
- return /* @__PURE__ */ u(d, { gap: "sm", children: [
27
- /* @__PURE__ */ r(p, { active: !0, children: /* @__PURE__ */ r(
28
- h,
24
+ return /* @__PURE__ */ u(c, { gap: "sm", children: [
25
+ /* @__PURE__ */ t(d, { active: !0, children: /* @__PURE__ */ t(
26
+ f,
29
27
  {
30
28
  maxLength: 500,
31
29
  size: "sm",
32
- placeholder: t(`filePicker.pasteLink.${l}`),
33
- leftSection: /* @__PURE__ */ r(f, { size: 16, icon: m }),
30
+ placeholder: i("changeCover.pasteLink"),
34
31
  "data-autofocus": !0,
35
- ...o.getInputProps("url")
32
+ ...l.getInputProps("url")
36
33
  }
37
34
  ) }),
38
- /* @__PURE__ */ r(g, { justify: "flex-end", align: "center", mt: "sm", children: /* @__PURE__ */ r(
39
- v,
35
+ /* @__PURE__ */ t(p, { justify: "flex-end", align: "center", mt: "sm", children: /* @__PURE__ */ t(
36
+ h,
40
37
  {
41
38
  onClick: n,
42
- className: w.button,
43
- disabled: !o.values.url,
44
- children: t("customDrawer.save")
39
+ className: L.button,
40
+ disabled: !l.values.url,
41
+ children: i("customDrawer.save")
45
42
  }
46
43
  ) })
47
44
  ] });
48
45
  };
49
46
  export {
50
- z as FilePickerLink
47
+ U as FilePickerLink
51
48
  };
@@ -1 +1 @@
1
- {"version":3,"file":"FilePickerUnsplash.d.ts","sourceRoot":"","sources":["../../../src/components/FilePicker/FilePickerUnsplash.tsx"],"names":[],"mappings":"AA+BA,eAAO,MAAM,kBAAkB,GAAI,eAEhC;IACD,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,CAAC,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;CAChC,4CAyHA,CAAC"}
1
+ {"version":3,"file":"FilePickerUnsplash.d.ts","sourceRoot":"","sources":["../../../src/components/FilePicker/FilePickerUnsplash.tsx"],"names":[],"mappings":"AAoCA,eAAO,MAAM,kBAAkB,GAAI,eAEhC;IACD,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,CAAC,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;CAChC,4CAwHA,CAAC"}
@@ -1,21 +1,21 @@
1
- import { jsxs as s, jsx as e } from "react/jsx-runtime";
2
- import { useState as m, useMemo as P, useEffect as f, useCallback as T } from "react";
3
- import { useTranslation as z } from "react-i18next";
1
+ import { jsxs as s, jsx as t } from "react/jsx-runtime";
2
+ import { useState as m, useMemo as P, useEffect as f, useCallback as z } from "react";
3
+ import { useTranslation as T } from "react-i18next";
4
4
  import { Search01Icon as L } from "@hugeicons/core-free-icons";
5
5
  import { HugeiconsIcon as j } from "@hugeicons/react";
6
- import { Stack as k, FocusTrap as B, TextInput as D, Loader as F, Box as c, SimpleGrid as M, AspectRatio as N, Text as C, Button as _ } from "@mantine/core";
6
+ import { Stack as b, TextInput as B, Loader as D, Box as c, SimpleGrid as M, AspectRatio as N, Text as k, Button as _ } from "@mantine/core";
7
7
  import { useDebouncedValue as q, useDebouncedCallback as w } from "@mantine/hooks";
8
8
  import { NoData as A } from "../NoData/NoData.js";
9
- import { FilePickerSkeletonLoader as Q } from "./FilePickerSkeletonLoader.js";
10
- import { useUnsplashPhotos as R } from "./api/unsplashApi.js";
11
- import b from "./FilePicker.module.css.js";
12
- const y = (l) => (l || []).reduce((r, o) => (r[o.id] = o, r), {}), X = ({
9
+ import { FilePickerSkeletonLoader as F } from "./FilePickerSkeletonLoader.js";
10
+ import { useUnsplashPhotos as Q } from "./api/unsplashApi.js";
11
+ import C from "./FilePicker.module.css.js";
12
+ const y = (l) => (l || []).reduce((o, r) => (o[r.id] = r, o), {}), W = ({
13
13
  onChange: l
14
14
  }) => {
15
- const { t: r } = z("ui"), [o, v] = m(""), [u] = q(o, 800), [x, h] = m(1), [p, d] = m({}), { data: a, isLoading: n } = R(
15
+ const { t: o } = T("ui"), [r, x] = m(""), [u] = q(r, 800), [v, h] = m(1), [p, d] = m({}), { data: a, isLoading: n } = Q(
16
16
  {
17
17
  query: u,
18
- page: x,
18
+ page: v,
19
19
  per_page: 24,
20
20
  order_by: "popular"
21
21
  }
@@ -24,7 +24,7 @@ const y = (l) => (l || []).reduce((r, o) => (r[o.id] = o, r), {}), X = ({
24
24
  [p, a?.items]
25
25
  ), g = w(() => {
26
26
  setTimeout(() => {
27
- d((t) => ({ ...t, ...y(a?.items) }));
27
+ d((e) => ({ ...e, ...y(a?.items) }));
28
28
  }, 0);
29
29
  }, 100);
30
30
  f(() => {
@@ -32,78 +32,79 @@ const y = (l) => (l || []).reduce((r, o) => (r[o.id] = o, r), {}), X = ({
32
32
  }, [a?.items, g]), f(() => {
33
33
  d({});
34
34
  }, [u]);
35
- const I = T(
36
- (t) => {
37
- v(t.currentTarget.value), h(1);
35
+ const I = z(
36
+ (e) => {
37
+ x(e.currentTarget.value), h(1);
38
38
  },
39
39
  []
40
40
  );
41
- return /* @__PURE__ */ s(k, { gap: "sm", children: [
42
- /* @__PURE__ */ e(B, { active: !0, children: /* @__PURE__ */ e(
43
- D,
41
+ return /* @__PURE__ */ s(b, { children: [
42
+ /* @__PURE__ */ t(
43
+ B,
44
44
  {
45
- leftSection: n ? /* @__PURE__ */ e(F, { size: 16 }) : /* @__PURE__ */ e(j, { size: 16, icon: L }),
45
+ leftSection: n ? /* @__PURE__ */ t(D, { size: 16 }) : /* @__PURE__ */ t(j, { size: 16, icon: L }),
46
46
  maxLength: 50,
47
- placeholder: r("changeCover.searchImage"),
47
+ placeholder: o("changeCover.searchImage"),
48
48
  "data-autofocus": !0,
49
- value: o,
50
- onChange: I
49
+ value: r,
50
+ onChange: I,
51
+ mb: "sm"
51
52
  }
52
- ) }),
53
+ ),
53
54
  /* @__PURE__ */ s(c, { mah: 300, w: "100%", style: { overflowY: "auto" }, children: [
54
- !!i.length && /* @__PURE__ */ s(k, { gap: 8, children: [
55
- /* @__PURE__ */ e(M, { cols: 4, spacing: 10, children: i.map((t) => /* @__PURE__ */ s(c, { children: [
56
- /* @__PURE__ */ e(
55
+ !!i.length && /* @__PURE__ */ s(b, { gap: 8, children: [
56
+ /* @__PURE__ */ t(M, { cols: 4, spacing: 10, children: i.map((e) => /* @__PURE__ */ s(c, { children: [
57
+ /* @__PURE__ */ t(
57
58
  N,
58
59
  {
59
- onClick: () => l?.(t.urls.regular),
60
+ onClick: () => l?.(e.urls.regular),
60
61
  ratio: 120 / 65,
61
- className: b.itemImage,
62
+ className: C.itemImage,
62
63
  style: {
63
- backgroundImage: `url(${t.urls.small})`
64
+ backgroundImage: `url(${e.urls.small})`
64
65
  }
65
66
  }
66
67
  ),
67
- /* @__PURE__ */ e(c, { className: b.imageAuthor, children: /* @__PURE__ */ s(C, { truncate: !0, c: "gray", size: "xs", children: [
68
- r("changeCover.photoBy"),
68
+ /* @__PURE__ */ t(c, { className: C.imageAuthor, children: /* @__PURE__ */ s(k, { truncate: !0, c: "gray", size: "xs", children: [
69
+ o("changeCover.photoBy"),
69
70
  " ",
70
- /* @__PURE__ */ e(
71
- C,
71
+ /* @__PURE__ */ t(
72
+ k,
72
73
  {
73
74
  component: "a",
74
75
  inherit: !0,
75
- href: t.user.links.html,
76
+ href: e.user.links.html,
76
77
  target: "_blank",
77
78
  rel: "noopener noreferrer",
78
79
  onClick: (S) => S.stopPropagation(),
79
- children: t.user.name
80
+ children: e.user.name
80
81
  }
81
82
  )
82
83
  ] }) })
83
- ] }, t.id)) }),
84
- a?.hasMore && /* @__PURE__ */ e(
84
+ ] }, e.id)) }),
85
+ a?.hasMore && /* @__PURE__ */ t(
85
86
  _,
86
87
  {
87
88
  variant: "subtle",
88
89
  loading: n,
89
- onClick: () => h((t) => t + 1),
90
- children: r("loadMore")
90
+ onClick: () => h((e) => e + 1),
91
+ children: o("loadMore")
91
92
  }
92
93
  )
93
94
  ] }),
94
- !i.length && !n && /* @__PURE__ */ e(c, { pb: 16, children: /* @__PURE__ */ e(
95
+ !i.length && !n && /* @__PURE__ */ t(c, { pb: 16, children: /* @__PURE__ */ t(
95
96
  A,
96
97
  {
97
98
  size: 120,
98
99
  illustration: "noImage",
99
- description: r("changeCover.noResult"),
100
+ description: o("changeCover.noResult"),
100
101
  titleProps: { size: "xs", c: "dimmed" }
101
102
  }
102
103
  ) }),
103
- !i.length && n && /* @__PURE__ */ e(Q, {})
104
+ !i.length && n && /* @__PURE__ */ t(F, {})
104
105
  ] })
105
106
  ] });
106
107
  };
107
108
  export {
108
- X as FilePickerUnsplash
109
+ W as FilePickerUnsplash
109
110
  };
@@ -1 +1 @@
1
- {"version":3,"file":"FilePickerUpload.d.ts","sourceRoot":"","sources":["../../../src/components/FilePicker/FilePickerUpload.tsx"],"names":[],"mappings":"AAMA,OAAO,EAEL,aAAa,EAEb,YAAY,EAEb,MAAM,mBAAmB,CAAC;AAK3B,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAGnC,OAAO,8BAA8B,CAAC;AAEtC,eAAO,MAAM,gBAAgB,GAAI,+CAK9B;IACD,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB,SAAS,EAAE,OAAO,CAAC;IACnB,aAAa,CAAC,EAAE,IAAI,CAAC,aAAa,EAAE,QAAQ,CAAC,CAAC;IAC9C,QAAQ,EAAE,CAAC,KAAK,EAAE,YAAY,EAAE,KAAK,IAAI,CAAC;CAC3C,4CA8GA,CAAC"}
1
+ {"version":3,"file":"FilePickerUpload.d.ts","sourceRoot":"","sources":["../../../src/components/FilePicker/FilePickerUpload.tsx"],"names":[],"mappings":"AAMA,OAAO,EAEL,aAAa,EAEb,YAAY,EAEb,MAAM,mBAAmB,CAAC;AAK3B,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAEnC,OAAO,8BAA8B,CAAC;AAEtC,eAAO,MAAM,gBAAgB,GAAI,+CAK9B;IACD,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB,SAAS,EAAE,OAAO,CAAC;IACnB,aAAa,CAAC,EAAE,IAAI,CAAC,aAAa,EAAE,QAAQ,CAAC,CAAC;IAC9C,QAAQ,EAAE,CAAC,KAAK,EAAE,YAAY,EAAE,KAAK,IAAI,CAAC;CAC3C,4CAqGA,CAAC"}
@@ -1,28 +1,29 @@
1
- import { jsx as o, jsxs as d } from "react/jsx-runtime";
2
- import { useCallback as p } from "react";
3
- import { useTranslation as F, Trans as k } from "react-i18next";
1
+ import { jsx as n, jsxs as f } from "react/jsx-runtime";
2
+ import { useCallback as d } from "react";
3
+ import { useTranslation as k } from "react-i18next";
4
4
  import { Image02Icon as v } from "@hugeicons/core-free-icons";
5
- import { HugeiconsIcon as I } from "@hugeicons/react";
6
- import { Stack as x, Text as s } from "@mantine/core";
7
- import { Dropzone as E, IMAGE_MIME_TYPE as N } from "@mantine/dropzone";
5
+ import { HugeiconsIcon as E } from "@hugeicons/react";
6
+ import { Stack as p, Text as x } from "@mantine/core";
7
+ import { Dropzone as I, IMAGE_MIME_TYPE as T } from "@mantine/dropzone";
8
8
  import { showNotification as h } from "@mantine/notifications";
9
9
  import { getMaxUploadSize as g } from "../../config/envConfig.js";
10
- import { showErrorNotification as T } from "../../helpers/showNotifications.js";
11
- import b from "./FilePicker.module.css.js";
10
+ import { showErrorNotification as b } from "../../helpers/showNotifications.js";
12
11
  import "@mantine/dropzone/styles.css";
13
- const Y = ({
14
- type: a = "image",
12
+ const C = ({
13
+ type: s = "image",
15
14
  uploading: u,
16
15
  dropZoneProps: i,
17
- onUpload: c
16
+ onUpload: a
18
17
  }) => {
19
- const { t: e } = F("ui"), l = i?.maxSize != null ? Math.round(i.maxSize / (1024 * 1024)) : Math.round((g() ?? 5 * 1024 * 1024) / (1024 * 1024)), m = `filePicker.description.${a}`, y = `filePicker.dropFileHere.${a}`, f = (() => {
20
- const r = e(m, { maxSize: l });
21
- return r !== m ? r : null;
22
- })(), z = p(
18
+ const { t: e } = k("ui"), l = i?.maxSize != null ? Math.round(i.maxSize / (1024 * 1024)) : Math.round((g() ?? 5 * 1024 * 1024) / (1024 * 1024)), z = `filePicker.dropFileHere.${s}`, c = `filePicker.description.${s}`, F = e(z, {
19
+ defaultValue: e("dropFileHere")
20
+ }), m = (() => {
21
+ const r = e(c, { maxSize: l });
22
+ return r !== c ? r : null;
23
+ })(), M = d(
23
24
  (r) => {
24
25
  if (r.filter(
25
- (t) => t.errors.some((n) => n.code === "file-invalid-type")
26
+ (o) => o.errors.some((t) => t.code === "file-invalid-type")
26
27
  ).length > 0) {
27
28
  h({
28
29
  color: "blue",
@@ -30,15 +31,15 @@ const Y = ({
30
31
  });
31
32
  return;
32
33
  }
33
- if (r.some((t) => t.errors.some((n) => n.code === "file-too-large"))) {
34
- T({
34
+ if (r.some((o) => o.errors.some((t) => t.code === "file-too-large"))) {
35
+ b({
35
36
  title: e("errorMessage"),
36
37
  message: e("filePicker.errors.shouldNotExceed", { maxSize: l })
37
38
  });
38
39
  return;
39
40
  }
40
41
  if (r.filter(
41
- (t) => t.errors.some((n) => n.code === "too-many-files")
42
+ (o) => o.errors.some((t) => t.code === "too-many-files")
42
43
  ).length > 0) {
43
44
  h({
44
45
  color: "blue",
@@ -48,22 +49,21 @@ const Y = ({
48
49
  }
49
50
  },
50
51
  [e, l]
51
- ), M = p(c, [c]), S = i?.maxSize ?? g() ?? 5 * 1024 * 1024;
52
- return /* @__PURE__ */ o(
53
- E,
52
+ ), S = d(a, [a]), y = i?.maxSize ?? g() ?? 5 * 1024 * 1024;
53
+ return /* @__PURE__ */ n(
54
+ I,
54
55
  {
55
56
  loading: u,
56
- onDrop: M,
57
- onReject: z,
57
+ onDrop: S,
58
+ onReject: M,
58
59
  maxFiles: i?.maxFiles || 1,
59
- maxSize: S,
60
- accept: N,
60
+ maxSize: y,
61
+ accept: T,
61
62
  px: 60,
62
63
  py: "xl",
63
- className: `${b.pickerDropZone}`,
64
64
  ...i || {},
65
- children: /* @__PURE__ */ d(
66
- x,
65
+ children: /* @__PURE__ */ f(
66
+ p,
67
67
  {
68
68
  justify: "center",
69
69
  gap: "var(--mantine-font-size-xs",
@@ -71,33 +71,17 @@ const Y = ({
71
71
  mih: 89,
72
72
  style: { pointerEvents: "none" },
73
73
  children: [
74
- /* @__PURE__ */ o(
75
- I,
74
+ /* @__PURE__ */ n(
75
+ E,
76
76
  {
77
77
  size: 32,
78
78
  color: "var(--mantine-color-bright)",
79
79
  icon: v
80
80
  }
81
81
  ),
82
- /* @__PURE__ */ d(x, { gap: 8, align: "center", children: [
83
- /* @__PURE__ */ o(s, { fw: 500, fz: "sm", c: "bright", lh: "sm", ta: "center", children: /* @__PURE__ */ o(
84
- k,
85
- {
86
- ns: "ui",
87
- i18nKey: y,
88
- components: {
89
- choose: /* @__PURE__ */ o(
90
- s,
91
- {
92
- component: "span",
93
- td: "underline",
94
- c: "var(--primary-color-text, var(--mantine-primary-color-filled))"
95
- }
96
- )
97
- }
98
- }
99
- ) }),
100
- f && /* @__PURE__ */ o(s, { fz: "xs", fw: 400, lh: "140%", c: "dimmed", ta: "center", children: f })
82
+ /* @__PURE__ */ f(p, { gap: 8, align: "center", children: [
83
+ /* @__PURE__ */ n(x, { fw: 500, fz: "sm", c: "bright", lh: "sm", ta: "center", children: F }),
84
+ m && /* @__PURE__ */ n(x, { fz: "xs", fw: 400, lh: "140%", c: "dimmed", ta: "center", children: m })
101
85
  ] })
102
86
  ]
103
87
  }
@@ -106,5 +90,5 @@ const Y = ({
106
90
  );
107
91
  };
108
92
  export {
109
- Y as FilePickerUpload
93
+ C as FilePickerUpload
110
94
  };
@@ -1,3 +1,2 @@
1
- export * from './coverCollections';
2
1
  export * from './FilePicker';
3
2
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/FilePicker/index.tsx"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,cAAc,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/FilePicker/index.tsx"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC"}
@@ -1,4 +1,4 @@
1
- const t = "_themeProvider_1fk4v_1", o = "_root_1fk4v_13", e = "_container_1fk4v_71", n = "_media_1fk4v_83", _ = "_background_1fk4v_91", s = "_stepRoot_1fk4v_117", c = "_content_1fk4v_207", i = "_mediaInner_1fk4v_337", a = "_stepTitle_1fk4v_663", r = "_stepDescription_1fk4v_709", d = "_stepIndicator_1fk4v_737", p = "_stepIndicatorIcon_1fk4v_771", l = "_focusBox_1fk4v_809", f = "_dropzone_1fk4v_827", k = "_allSlidesLayout_1fk4v_863", v = "_allSlidesLayoutStep_1fk4v_875", u = {
1
+ const t = "_themeProvider_1lm79_1", o = "_root_1lm79_7", e = "_container_1lm79_36", n = "_media_1lm79_42", _ = "_background_1lm79_46", s = "_stepRoot_1lm79_59", c = "_content_1lm79_104", l = "_mediaInner_1lm79_169", i = "_stepTitle_1lm79_332", a = "_stepDescription_1lm79_355", r = "_stepIndicator_1lm79_369", d = "_stepIndicatorIcon_1lm79_386", m = "_focusBox_1lm79_405", p = "_dropzone_1lm79_414", u = "_allSlidesLayout_1lm79_432", I = "_allSlidesLayoutStep_1lm79_438", S = {
2
2
  themeProvider: t,
3
3
  root: o,
4
4
  container: e,
@@ -6,32 +6,32 @@ const t = "_themeProvider_1fk4v_1", o = "_root_1fk4v_13", e = "_container_1fk4v_
6
6
  background: _,
7
7
  stepRoot: s,
8
8
  content: c,
9
- mediaInner: i,
10
- stepTitle: a,
11
- stepDescription: r,
12
- stepIndicator: d,
13
- stepIndicatorIcon: p,
14
- focusBox: l,
15
- dropzone: f,
16
- allSlidesLayout: k,
17
- allSlidesLayoutStep: v
9
+ mediaInner: l,
10
+ stepTitle: i,
11
+ stepDescription: a,
12
+ stepIndicator: r,
13
+ stepIndicatorIcon: d,
14
+ focusBox: m,
15
+ dropzone: p,
16
+ allSlidesLayout: u,
17
+ allSlidesLayoutStep: I
18
18
  };
19
19
  export {
20
- k as allSlidesLayout,
21
- v as allSlidesLayoutStep,
20
+ u as allSlidesLayout,
21
+ I as allSlidesLayoutStep,
22
22
  _ as background,
23
23
  e as container,
24
24
  c as content,
25
- u as default,
26
- f as dropzone,
27
- l as focusBox,
25
+ S as default,
26
+ p as dropzone,
27
+ m as focusBox,
28
28
  n as media,
29
- i as mediaInner,
29
+ l as mediaInner,
30
30
  o as root,
31
- r as stepDescription,
32
- d as stepIndicator,
33
- p as stepIndicatorIcon,
31
+ a as stepDescription,
32
+ r as stepIndicator,
33
+ d as stepIndicatorIcon,
34
34
  s as stepRoot,
35
- a as stepTitle,
35
+ i as stepTitle,
36
36
  t as themeProvider
37
37
  };
@@ -1,4 +1,4 @@
1
- const s = "_dragOptions_8pbru_1", t = {
1
+ const s = "_dragOptions_gdwk6_1", t = {
2
2
  dragOptions: s
3
3
  };
4
4
  export {
@@ -1,4 +1,4 @@
1
- const o = "_optionsContainer_19qy4_1", n = {
1
+ const o = "_optionsContainer_1xro2_1", n = {
2
2
  optionsContainer: o
3
3
  };
4
4
  export {
@@ -1,4 +1,4 @@
1
- const t = "_editableContent_14jzv_1", e = {
1
+ const t = "_editableContent_a0zig_1", e = {
2
2
  editableContent: t
3
3
  };
4
4
  export {
@@ -1,15 +1,15 @@
1
- const o = "_card_18zj4_1", c = "_image_18zj4_95", _ = "_controls_18zj4_119", s = "_radio_18zj4_163", t = "_checkbox_18zj4_173", a = {
1
+ const o = "_card_aspur_1", c = "_image_aspur_48", s = "_controls_aspur_60", a = "_radio_aspur_82", r = "_checkbox_aspur_87", _ = {
2
2
  card: o,
3
3
  image: c,
4
- controls: _,
5
- radio: s,
6
- checkbox: t
4
+ controls: s,
5
+ radio: a,
6
+ checkbox: r
7
7
  };
8
8
  export {
9
9
  o as card,
10
- t as checkbox,
11
- _ as controls,
12
- a as default,
10
+ r as checkbox,
11
+ s as controls,
12
+ _ as default,
13
13
  c as image,
14
- s as radio
14
+ a as radio
15
15
  };