@layers-app/shared 0.2.7 → 0.2.8-test

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 (165) hide show
  1. package/dist/assets/svg/socials/instagram.svg.js +3 -3
  2. package/dist/components/AliasTextInput/AliasTextInput.d.ts.map +1 -1
  3. package/dist/components/AliasTextInput/AliasTextInput.js +21 -20
  4. package/dist/components/AppContainer/AppContainer.js +3 -3
  5. package/dist/components/AppContainer/AppContainer.module.css.js +1 -1
  6. package/dist/components/AppContainer/components/AppsSidebar/AppsSection.d.ts.map +1 -1
  7. package/dist/components/AppContainer/components/AppsSidebar/AppsSection.js +39 -31
  8. package/dist/components/AppContainer/components/AppsSidebar/TopSection.d.ts.map +1 -1
  9. package/dist/components/AppContainer/components/AppsSidebar/TopSection.js +42 -34
  10. package/dist/components/AppContainer/components/AppsSidebar/UserSection.d.ts.map +1 -1
  11. package/dist/components/AppContainer/components/AppsSidebar/UserSection.js +53 -44
  12. package/dist/components/AppContainer/components/menus/HelpMenu/HelpMenu.d.ts.map +1 -1
  13. package/dist/components/AppContainer/components/menus/HelpMenu/HelpMenu.js +150 -50
  14. package/dist/components/AppContainer/components/menus/HelpMenu/HelpMenu.module.css.js +1 -1
  15. package/dist/components/AppContainer/hooks/useAppContainer.d.ts +1 -1
  16. package/dist/components/AppContainer/hooks/useAppContainer.d.ts.map +1 -1
  17. package/dist/components/AppContainer/hooks/useAppContainer.js +23 -23
  18. package/dist/components/AppContainer/hooks/useAppContainerDataStore.js +1 -1
  19. package/dist/components/AppContainer/types.d.ts +1 -1
  20. package/dist/components/AppContainer/types.d.ts.map +1 -1
  21. package/dist/components/AppShell/AppShell.module.css.js +5 -5
  22. package/dist/components/AttachmentsGalleryModal/components/ShakePlayer/ShakaPlayer.module.css.js +4 -4
  23. package/dist/components/AttachmentsGalleryModal/styles.module.css.js +14 -14
  24. package/dist/components/AttachmentsPreview/AttachmentsPreview.module.css.js +1 -1
  25. package/dist/components/BouncingLogo/BouncingLogo.module.css.js +8 -8
  26. package/dist/components/CollapsibleContainer/CollapsibleContainer.module.css.js +1 -1
  27. package/dist/components/CommentComposer/CommentComposer.module.css.js +4 -4
  28. package/dist/components/CommunitiesDialog/styles.module.css.js +1 -1
  29. package/dist/components/Copyright/Copyright.module.css.js +1 -1
  30. package/dist/components/CustomKBD/CustomKBD.module.css.js +1 -1
  31. package/dist/components/EmojiPicker/EmojiPicker.d.ts.map +1 -1
  32. package/dist/components/EmojiPicker/EmojiPicker.js +28 -29
  33. package/dist/components/EmojiPicker/EmojiPicker.module.css.js +8 -8
  34. package/dist/components/EntityTitle/EntityTitle.module.css.js +1 -1
  35. package/dist/components/ErrorPage/components/Error404.d.ts.map +1 -1
  36. package/dist/components/FeatureProgress/FeatureProgress.d.ts +11 -0
  37. package/dist/components/FeatureProgress/FeatureProgress.d.ts.map +1 -0
  38. package/dist/components/FeatureProgress/FeatureProgress.js +148 -0
  39. package/dist/components/FeatureProgress/FeatureProgress.module.css.js +81 -0
  40. package/dist/components/FeatureProgress/FeatureProgressCelebrationIcon.d.ts +2 -0
  41. package/dist/components/FeatureProgress/FeatureProgressCelebrationIcon.d.ts.map +1 -0
  42. package/dist/components/FeatureProgress/FeatureProgressCelebrationIcon.js +88 -0
  43. package/dist/components/FeatureProgress/FeatureProgressCompleteModal.d.ts +9 -0
  44. package/dist/components/FeatureProgress/FeatureProgressCompleteModal.d.ts.map +1 -0
  45. package/dist/components/FeatureProgress/FeatureProgressCompleteModal.js +35 -0
  46. package/dist/components/FeatureProgress/constants.d.ts +4 -0
  47. package/dist/components/FeatureProgress/constants.d.ts.map +1 -0
  48. package/dist/components/FeatureProgress/constants.js +4 -0
  49. package/dist/components/FeatureProgress/index.d.ts +3 -0
  50. package/dist/components/FeatureProgress/index.d.ts.map +1 -0
  51. package/dist/components/FilePicker/FilePicker.d.ts +4 -2
  52. package/dist/components/FilePicker/FilePicker.d.ts.map +1 -1
  53. package/dist/components/FilePicker/FilePicker.js +247 -229
  54. package/dist/components/FilePicker/FilePicker.module.css.js +12 -10
  55. package/dist/components/FilePicker/FilePickerGallery.d.ts.map +1 -1
  56. package/dist/components/FilePicker/FilePickerGallery.js +59 -33
  57. package/dist/components/FilePicker/FilePickerGiphy.d.ts.map +1 -1
  58. package/dist/components/FilePicker/FilePickerGiphy.js +38 -38
  59. package/dist/components/FilePicker/FilePickerLink.d.ts.map +1 -1
  60. package/dist/components/FilePicker/FilePickerLink.js +18 -15
  61. package/dist/components/FilePicker/FilePickerUnsplash.d.ts.map +1 -1
  62. package/dist/components/FilePicker/FilePickerUnsplash.js +39 -39
  63. package/dist/components/FilePicker/FilePickerUpload.d.ts.map +1 -1
  64. package/dist/components/FilePicker/FilePickerUpload.js +51 -35
  65. package/dist/components/FilePicker/api/giphyApi.js +10 -10
  66. package/dist/components/FilePicker/coverCollections.d.ts +4 -0
  67. package/dist/components/FilePicker/coverCollections.d.ts.map +1 -0
  68. package/dist/components/FilePicker/coverCollections.js +164 -0
  69. package/dist/components/FilePicker/index.d.ts +1 -0
  70. package/dist/components/FilePicker/index.d.ts.map +1 -1
  71. package/dist/components/FormViewer/FormViewer.module.css.js +20 -20
  72. package/dist/components/FormViewer/components/fields/DragOptions/DragOptions.module.css.js +1 -1
  73. package/dist/components/FormViewer/components/fields/DropdownField/DropdownField.module.css.js +1 -1
  74. package/dist/components/FormViewer/components/fields/EditableContent/EditableContent.module.css.js +1 -1
  75. package/dist/components/FormViewer/components/fields/SelectableCard/PictureSelectableCard.js +42 -42
  76. package/dist/components/FormViewer/components/fields/SelectableCard/SelectableCard.module.css.js +8 -8
  77. package/dist/components/FormViewer/components/fields/UploadField/UploadFile/UploadFile.module.css.js +4 -4
  78. package/dist/components/FormViewer/store/formStore.d.ts.map +1 -1
  79. package/dist/components/ImageCropper/ImageCropper.d.ts.map +1 -1
  80. package/dist/components/ImageCropper/ImageCropper.module.css.js +38 -38
  81. package/dist/components/ImageCropper/index.d.ts +1 -1
  82. package/dist/components/ImageCropper/index.d.ts.map +1 -1
  83. package/dist/components/ImageCropper/useCropInteraction.d.ts.map +1 -1
  84. package/dist/components/ImageCropper/useCropInteraction.js +13 -2
  85. package/dist/components/IntegrationFlowAnimation/IntegrationFlowAnimation.d.ts.map +1 -1
  86. package/dist/components/IntegrationFlowAnimation/IntegrationFlowAnimation.module.css.js +7 -7
  87. package/dist/components/IntegrationFlowAnimation/icons/GoogleDriveIcon.d.ts +1 -1
  88. package/dist/components/IntegrationFlowAnimation/icons/GoogleDriveIcon.d.ts.map +1 -1
  89. package/dist/components/IntegrationFlowAnimation/icons/GoogleDriveIcon.js +3 -1
  90. package/dist/components/IntegrationFlowAnimation/icons/LayersCubeIcon.d.ts +1 -1
  91. package/dist/components/IntegrationFlowAnimation/icons/LayersCubeIcon.d.ts.map +1 -1
  92. package/dist/components/IntegrationFlowAnimation/icons/LayersCubeIcon.js +3 -1
  93. package/dist/components/LanguagePicker/LanguagePicker.d.ts.map +1 -1
  94. package/dist/components/LanguagePicker/LanguagePicker.js +27 -26
  95. package/dist/components/LanguagePicker/LanguagePicker.module.css.js +2 -2
  96. package/dist/components/Loaders/styles.module.css.js +6 -6
  97. package/dist/components/MediaLibrary/MediaLibrary.module.css.js +2 -2
  98. package/dist/components/MediaLibrary/MediaLibraryRow.d.ts.map +1 -1
  99. package/dist/components/MediaLibrary/MediaLibraryRow.js +16 -4
  100. package/dist/components/NavMenu/NavMenu.d.ts +2 -1
  101. package/dist/components/NavMenu/NavMenu.d.ts.map +1 -1
  102. package/dist/components/NavMenu/NavMenu.module.css.js +16 -16
  103. package/dist/components/NavMenu/components/NavMenuItem.d.ts +2 -1
  104. package/dist/components/NavMenu/components/NavMenuItem.d.ts.map +1 -1
  105. package/dist/components/NavMenu/components/NavMenuItem.js +119 -100
  106. package/dist/components/NavMenu/types.d.ts.map +1 -1
  107. package/dist/components/NavbarResizer/NavbarResizer.module.css.js +2 -2
  108. package/dist/components/NotPublicPanel/NotPublicPanel.module.css.js +11 -11
  109. package/dist/components/Notification/Notification.module.css.js +1 -1
  110. package/dist/components/OnBoarding/steps/DifferentLayouts/styles.module.css.js +3 -3
  111. package/dist/components/OnBoarding/steps/styles.module.css.js +9 -9
  112. package/dist/components/OnBoarding/styles.module.css.js +7 -7
  113. package/dist/components/OnboardingTour/OnboardingTourFooter.d.ts +17 -0
  114. package/dist/components/OnboardingTour/OnboardingTourFooter.d.ts.map +1 -0
  115. package/dist/components/OnboardingTour/OnboardingTourFooter.js +40 -0
  116. package/dist/components/OnboardingTour/OnboardingTourWrapper.d.ts +13 -0
  117. package/dist/components/OnboardingTour/OnboardingTourWrapper.d.ts.map +1 -0
  118. package/dist/components/OnboardingTour/OnboardingTourWrapper.js +164 -0
  119. package/dist/components/OnboardingTour/index.d.ts +4 -0
  120. package/dist/components/OnboardingTour/index.d.ts.map +1 -0
  121. package/dist/components/OnboardingTour/useOnboardingTour.d.ts +14 -0
  122. package/dist/components/OnboardingTour/useOnboardingTour.d.ts.map +1 -0
  123. package/dist/components/OnboardingTour/useOnboardingTour.js +50 -0
  124. package/dist/components/SearchFilters/SearchFilters.module.css.js +1 -1
  125. package/dist/components/SettingsSection/styles.module.css.js +1 -1
  126. package/dist/components/StorageUsageProgress/StorageUsageProgress.module.css.js +1 -1
  127. package/dist/components/TimezonePicker/index.d.ts.map +1 -1
  128. package/dist/components/WorkspaceMenu/WorkspaceItem.d.ts.map +1 -1
  129. package/dist/components/WorkspaceMenu/WorkspaceItem.js +21 -21
  130. package/dist/components/WorkspaceMenu/WorkspaceMenu.d.ts.map +1 -1
  131. package/dist/components/WorkspaceMenu/WorkspaceMenu.js +74 -74
  132. package/dist/components/table/FrontTable.d.ts.map +1 -1
  133. package/dist/components/table/hooks/useColumnsResizing.d.ts.map +1 -1
  134. package/dist/helpers/getFileIcons.js +1 -1
  135. package/dist/helpers/getFileType.d.ts +1 -1
  136. package/dist/helpers/getFileType.d.ts.map +1 -1
  137. package/dist/helpers/platform.d.ts +14 -0
  138. package/dist/helpers/platform.d.ts.map +1 -0
  139. package/dist/helpers/platform.js +33 -0
  140. package/dist/helpers/showFeatureFeedback.d.ts +1 -1
  141. package/dist/helpers/showFeatureFeedback.d.ts.map +1 -1
  142. package/dist/helpers/showFeatureFeedback.module.css.js +4 -4
  143. package/dist/helpers/showNotifications.module.css.js +1 -1
  144. package/dist/hooks/useFeatureFeedback.d.ts.map +1 -1
  145. package/dist/hooks/useFeatureFeedback.js +1 -4
  146. package/dist/hooks/usePlatform.d.ts +3 -0
  147. package/dist/hooks/usePlatform.d.ts.map +1 -0
  148. package/dist/hooks/usePlatform.js +10 -0
  149. package/dist/index.css +1 -1
  150. package/dist/index.d.ts +5 -0
  151. package/dist/index.d.ts.map +1 -1
  152. package/dist/index.js +364 -337
  153. package/dist/lang/locales/ui_en.json.js +15 -15
  154. package/dist/lang/locales/ui_es.json.js +13 -13
  155. package/dist/lang/locales/ui_ru.json.js +12 -12
  156. package/dist/lib/contentImport/lexicalSerializer.js +59 -47
  157. package/dist/lib/contentImport/utils.d.ts.map +1 -1
  158. package/dist/lib/layersVisitData.d.ts.map +1 -1
  159. package/dist/store/featureProgress.d.ts +39 -0
  160. package/dist/store/featureProgress.d.ts.map +1 -0
  161. package/dist/store/featureProgress.js +68 -0
  162. package/dist/store/plansModal.d.ts.map +1 -1
  163. package/dist/store/plansModal.js +8 -6
  164. package/docs/README.md +499 -499
  165. package/package.json +75 -74
@@ -0,0 +1,164 @@
1
+ const e = [
2
+ {
3
+ path: "color-and-gradients",
4
+ id: "colorGradients",
5
+ url: "https://images.superfamous.com/36-Gradients",
6
+ items: [
7
+ "/gradients_2.webp",
8
+ "/gradients_3.webp",
9
+ "/gradients_4.webp",
10
+ "/gradients_5.webp",
11
+ "/gradients_8.webp",
12
+ "/gradients_10.webp",
13
+ "/gradients_11.webp",
14
+ "/solid_beige.webp",
15
+ "/solid_blue.webp",
16
+ "/solid_red.webp",
17
+ "/solid_yellow.webp"
18
+ ]
19
+ },
20
+ {
21
+ path: "indian-art",
22
+ id: "theIndianEdition",
23
+ url: "https://www.artisera.com/pages/fine-art",
24
+ items: [
25
+ "/5-acquatinte-01.jpg",
26
+ "/5-acquatinte-03.jpg",
27
+ "/5-acquatinte-04.jpg",
28
+ "/5-acquatinte-05.jpg",
29
+ "/1280px-Edwin_Lord_Weeks_-_The_Taj_Mahal_-_Walters_37316.jpg",
30
+ "/Ethnic-Serendipity-_-Acrylic-on-canvas-_48-x-84-inches-_-9600.jpg",
31
+ "/Raja_Ravi_Varma,_Galaxy_of_Musicians.jpg",
32
+ "/T12511_10.webp",
33
+ "/screen-2023-07-04-00-04-38.jpg"
34
+ ]
35
+ },
36
+ {
37
+ path: "james-webb-telescope",
38
+ id: "jamesWebbTelescope",
39
+ url: "https://webbtelescope.org",
40
+ items: ["/webb1.jpg", "/webb2.webp", "/webb3.jpg", "/webb4.jpg"]
41
+ },
42
+ {
43
+ path: "japanese-print",
44
+ id: "theMetMuseumJapanesePrints",
45
+ url: "https://www.metmuseum.org/art/the-collection",
46
+ items: [
47
+ "/woodcuts_1.jpg",
48
+ "/woodcuts_2.jpg",
49
+ "/woodcuts_3.jpg",
50
+ "/woodcuts_4.jpg",
51
+ "/woodcuts_5.jpg",
52
+ "/woodcuts_6.jpg",
53
+ "/woodcuts_7.jpg",
54
+ "/woodcuts_8.jpg",
55
+ "/woodcuts_9.jpg",
56
+ "/woodcuts_10.jpg",
57
+ "/woodcuts_11.jpg",
58
+ "/woodcuts_13.jpg",
59
+ "/woodcuts_14.jpg",
60
+ "/woodcuts_15.jpg",
61
+ "/woodcuts_16.jpg",
62
+ "/woodcuts_sekka_1.jpg",
63
+ "/woodcuts_sekka_2.jpg",
64
+ "/woodcuts_sekka_3.jpg"
65
+ ]
66
+ },
67
+ {
68
+ path: "met-museum",
69
+ id: "theMetMuseum",
70
+ url: "https://www.metmuseum.org/art/the-collection",
71
+ items: [
72
+ "/met_arnold_bocklin_1880.jpg",
73
+ "/met_bruegel_1565.jpg",
74
+ "/met_camille_pissarro_1896.jpg",
75
+ "/met_canaletto_1720.jpg",
76
+ "/met_cezanne_1890.jpg",
77
+ "/met_edgar_degas_1874.jpg",
78
+ "/met_emanuel_leutze.jpg",
79
+ "/met_fitz_henry_lane.jpg",
80
+ "/met_frederic_edwin_church_1871.jpg",
81
+ "/met_georges_seurat_1884.jpg",
82
+ "/met_gerome_1890.jpg",
83
+ "/met_goya_1789.jpg",
84
+ "/met_henri_rousseau_1907.webp",
85
+ "/met_henri_tl_1892.jpg",
86
+ "/met_henry_lerolle_1885.jpg",
87
+ "/met_horace_pippin.jpg",
88
+ "/met_jean_beraud.jpg",
89
+ "/met_john_singer_sargent_morocco.jpg",
90
+ "/met_joseph_hidley_1870.jpg",
91
+ "/met_jules_tavernier_1878.jpg",
92
+ "/met_klimt_1912.jpg",
93
+ "/met_paul_signac.jpg",
94
+ "/met_terracotta_funerary_plaque.jpg",
95
+ "/met_the_unicorn_in_captivity.jpg",
96
+ "/met_vincent_van_gogh_cradle.jpg",
97
+ "/met_vincent_van_gogh_ginoux.jpg",
98
+ "/met_vincent_van_gogh_irises.jpg",
99
+ "/met_vincent_van_gogh_oleanders.jpg",
100
+ "/met_william_turner_1835.jpg",
101
+ "/met_winslow_homer_maine_coast.jpg"
102
+ ]
103
+ },
104
+ {
105
+ path: "nasa-archive",
106
+ id: "nasaArchive",
107
+ url: "https://www.flickr.com/photos/nasacommons/",
108
+ items: [
109
+ "/nasa_bruce_mccandless_spacewalk.webp",
110
+ "/nasa_buzz_aldrin_on_the_moon.webp",
111
+ "/nasa_carina_nebula.jpg",
112
+ "/nasa_eagle_in_lunar_orbit.webp",
113
+ "/nasa_earth_grid.webp",
114
+ "/nasa_eva_during_skylab_3.webp",
115
+ "/nasa_fingerprints_of_water_on_the_sand.webp",
116
+ "/nasa_great_sandy_desert_australia.webp",
117
+ "/nasa_ibm_type_704.webp",
118
+ "/nasa_multi-axis_gimbal_rig.webp",
119
+ "/nasa_new_york_city_grid.webp",
120
+ "/nasa_reduced_gravity_walking_simulator.webp",
121
+ "/nasa_robert_stewart_spacewalk.jpg",
122
+ "/nasa_robert_stewart_spacewalk_2.jpg",
123
+ "/nasa_space_shuttle_challenger.jpg",
124
+ "/nasa_space_shuttle_columbia.jpg",
125
+ "/nasa_space_shuttle_columbia_and_sunrise.webp",
126
+ "/nasa_the_blue_marble.webp",
127
+ "/nasa_tim_peake_spacewalk.webp",
128
+ "/nasa_transonic_tunnel.webp",
129
+ "/nasa_wrights_first_flight.webp"
130
+ ]
131
+ },
132
+ {
133
+ path: "patterns",
134
+ id: "theMetMuseumPatterns",
135
+ url: "https://www.metmuseum.org/art/the-collection",
136
+ items: [
137
+ "/met_silk_kashan_carpet.webp",
138
+ "/met_william_morris_1875.webp",
139
+ "/met_william_morris_1877_willow.webp",
140
+ "/met_william_morris_1878.webp"
141
+ ]
142
+ },
143
+ {
144
+ path: "rijks-museum",
145
+ id: "rijkmuseum",
146
+ url: "https://www.rijksmuseum.nl/en/rijksstudio?ii=0&p=0&from=2023-07-02T23%3A55%3A33.8008630Z",
147
+ items: [
148
+ "/rijksmuseum_avercamp_1608.webp",
149
+ "/rijksmuseum_avercamp_1620.webp",
150
+ "/rijksmuseum_claesz_1628.webp",
151
+ "/rijksmuseum_jan_lievens_1627.jpg",
152
+ "/rijksmuseum_jansz_1636.jpg",
153
+ "/rijksmuseum_jansz_1637.jpg",
154
+ "/rijksmuseum_jansz_1641.jpg",
155
+ "/rijksmuseum_jansz_1649.webp",
156
+ "/rijksmuseum_mignons_1660.webp",
157
+ "/rijksmuseum_rembrandt_1642.webp",
158
+ "/rijksmuseum_vermeer_the_milkmaid.jpg"
159
+ ]
160
+ }
161
+ ];
162
+ export {
163
+ e as coverCollections
164
+ };
@@ -1,2 +1,3 @@
1
+ export * from './coverCollections';
1
2
  export * from './FilePicker';
2
3
  //# 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,cAAc,CAAC"}
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,4 +1,4 @@
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 = {
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 = {
2
2
  themeProvider: t,
3
3
  root: o,
4
4
  container: e,
@@ -6,32 +6,32 @@ const t = "_themeProvider_1lm79_1", o = "_root_1lm79_7", e = "_container_1lm79_3
6
6
  background: _,
7
7
  stepRoot: s,
8
8
  content: c,
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
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
18
18
  };
19
19
  export {
20
- u as allSlidesLayout,
21
- I as allSlidesLayoutStep,
20
+ k as allSlidesLayout,
21
+ v as allSlidesLayoutStep,
22
22
  _ as background,
23
23
  e as container,
24
24
  c as content,
25
- S as default,
26
- p as dropzone,
27
- m as focusBox,
25
+ u as default,
26
+ f as dropzone,
27
+ l as focusBox,
28
28
  n as media,
29
- l as mediaInner,
29
+ i as mediaInner,
30
30
  o as root,
31
- a as stepDescription,
32
- r as stepIndicator,
33
- d as stepIndicatorIcon,
31
+ r as stepDescription,
32
+ d as stepIndicator,
33
+ p as stepIndicatorIcon,
34
34
  s as stepRoot,
35
- i as stepTitle,
35
+ a as stepTitle,
36
36
  t as themeProvider
37
37
  };
@@ -1,4 +1,4 @@
1
- const s = "_dragOptions_gdwk6_1", t = {
1
+ const s = "_dragOptions_8pbru_1", t = {
2
2
  dragOptions: s
3
3
  };
4
4
  export {
@@ -1,4 +1,4 @@
1
- const o = "_optionsContainer_1xro2_1", n = {
1
+ const o = "_optionsContainer_19qy4_1", n = {
2
2
  optionsContainer: o
3
3
  };
4
4
  export {
@@ -1,4 +1,4 @@
1
- const t = "_editableContent_a0zig_1", e = {
1
+ const t = "_editableContent_14jzv_1", e = {
2
2
  editableContent: t
3
3
  };
4
4
  export {
@@ -1,14 +1,14 @@
1
1
  import { jsx as o, jsxs as I } from "react/jsx-runtime";
2
2
  import { memo as L, useMemo as N } from "react";
3
- import { useMantineTheme as _, parseThemeColor as x, Radio as z, alpha as p, Checkbox as A, Flex as D, ActionIcon as P } from "@mantine/core";
4
- import { IconTrash as B, IconPhoto as H } from "@tabler/icons-react";
5
- import { useAsyncStatus as M } from "../../../../../hooks/useAsyncStatus.js";
6
- import { combineClasses as g, STATIC_CLASSES as s } from "../../../helpers/staticClasses.js";
7
- import { useFormViewerStore as X } from "../../../store/formStore.js";
8
- import { EditableContent as w } from "../EditableContent/EditableContent.js";
3
+ import { useMantineTheme as _, parseThemeColor as x, Radio as z, alpha as p, Checkbox as P, Flex as A, ActionIcon as D } from "@mantine/core";
4
+ import { IconTrash as w, IconPhoto as B } from "@tabler/icons-react";
5
+ import { useAsyncStatus as H } from "../../../../../hooks/useAsyncStatus.js";
6
+ import { combineClasses as h, STATIC_CLASSES as a } from "../../../helpers/staticClasses.js";
7
+ import { useFormViewerStore as K } from "../../../store/formStore.js";
8
+ import { EditableContent as R } from "../EditableContent/EditableContent.js";
9
9
  import u from "./SelectableCard.module.css.js";
10
- import { FilePicker as F } from "../../../../FilePicker/FilePicker.js";
11
- const K = "a2SNktIFgNCvXITBZgpup1T8mtSdJIM6TIZlndbRuRg", R = "TBp2lqNzl0orFQtaXgwymH4UDM0kbAVe", oo = L(
10
+ import { FilePicker as M } from "../../../../FilePicker/FilePicker.js";
11
+ const X = "a2SNktIFgNCvXITBZgpup1T8mtSdJIM6TIZlndbRuRg", F = "1kKxu8nbV5rsb4ieGGw0zERUSw0knTNr", oo = L(
12
12
  ({
13
13
  label: i,
14
14
  active: r,
@@ -22,21 +22,21 @@ const K = "a2SNktIFgNCvXITBZgpup1T8mtSdJIM6TIZlndbRuRg", R = "TBp2lqNzl0orFQtaXg
22
22
  theme: l,
23
23
  onUpload: O
24
24
  }) => {
25
- const { useStore: S } = X(), y = S((d) => d.editing), b = _(), a = x({
25
+ const { useStore: S } = K(), b = S((d) => d.editing), f = _(), s = x({
26
26
  color: l?.primaryColor || "",
27
- theme: b
28
- }), f = N(() => c === "radio" ? /* @__PURE__ */ o(
27
+ theme: f
28
+ }), k = N(() => c === "radio" ? /* @__PURE__ */ o(
29
29
  z,
30
30
  {
31
31
  style: {
32
- "--color": a.value,
33
- "--color-shadow": p(a.value, 0.5)
32
+ "--color": s.value,
33
+ "--color-shadow": p(s.value, 0.5)
34
34
  },
35
35
  classNames: {
36
- radio: g(
36
+ radio: h(
37
37
  u.radio,
38
- s.RADIO,
39
- r ? s.RADIO_SELECTED : ""
38
+ a.RADIO,
39
+ r ? a.RADIO_SELECTED : ""
40
40
  )
41
41
  },
42
42
  disabled: n,
@@ -47,19 +47,19 @@ const K = "a2SNktIFgNCvXITBZgpup1T8mtSdJIM6TIZlndbRuRg", R = "TBp2lqNzl0orFQtaXg
47
47
  radius: "xl"
48
48
  }
49
49
  ) : /* @__PURE__ */ o(
50
- A,
50
+ P,
51
51
  {
52
52
  styles: {
53
53
  input: {
54
- "--color": a.value,
55
- "--color-shadow": p(a.value, 0.5)
54
+ "--color": s.value,
55
+ "--color-shadow": p(s.value, 0.5)
56
56
  }
57
57
  },
58
58
  classNames: {
59
- input: g(
59
+ input: h(
60
60
  u.checkbox,
61
- s.CHECKBOX,
62
- r ? s.CHECKBOX_SELECTED : ""
61
+ a.CHECKBOX,
62
+ r ? a.CHECKBOX_SELECTED : ""
63
63
  )
64
64
  },
65
65
  disabled: n,
@@ -70,31 +70,31 @@ const K = "a2SNktIFgNCvXITBZgpup1T8mtSdJIM6TIZlndbRuRg", R = "TBp2lqNzl0orFQtaXg
70
70
  }
71
71
  ), [
72
72
  r,
73
- a.value,
73
+ s.value,
74
74
  n,
75
75
  c,
76
76
  l?.primaryColor,
77
77
  l?.size
78
- ]), k = {
79
- "--text-color": a.value,
80
- "--border-color": a.value,
81
- "--bg-color": p(a.value, 0.05)
82
- }, h = e || m, v = g(
78
+ ]), y = {
79
+ "--text-color": s.value,
80
+ "--border-color": s.value,
81
+ "--bg-color": p(s.value, 0.05)
82
+ }, g = e || m, v = h(
83
83
  u.card,
84
- c === "radio" ? s.MULTIPLE_CHOICE_OPTION : s.CHECKBOX,
85
- r ? c === "radio" ? s.MULTIPLE_CHOICE_OPTION_SELECTED : s.CHECKBOX_SELECTED : ""
84
+ c === "radio" ? a.MULTIPLE_CHOICE_OPTION : a.CHECKBOX,
85
+ r ? c === "radio" ? a.MULTIPLE_CHOICE_OPTION_SELECTED : a.CHECKBOX_SELECTED : ""
86
86
  );
87
87
  return /* @__PURE__ */ I(
88
88
  "div",
89
89
  {
90
- style: k,
90
+ style: y,
91
91
  className: v,
92
92
  "data-active": r,
93
93
  "data-disabled": n,
94
- onClick: h ? void 0 : E,
94
+ onClick: g ? void 0 : E,
95
95
  "data-radius": l?.borderRadius,
96
96
  children: [
97
- y ? /* @__PURE__ */ o(
97
+ b ? /* @__PURE__ */ o(
98
98
  j,
99
99
  {
100
100
  hasImage: !!t,
@@ -105,10 +105,10 @@ const K = "a2SNktIFgNCvXITBZgpup1T8mtSdJIM6TIZlndbRuRg", R = "TBp2lqNzl0orFQtaXg
105
105
  }
106
106
  ) : /* @__PURE__ */ o(T, { image: t }),
107
107
  /* @__PURE__ */ I("div", { className: u.controls, children: [
108
- C && f,
109
- h ? /* @__PURE__ */ I(D, { miw: 0, flex: 1, children: [
108
+ C && k,
109
+ g ? /* @__PURE__ */ I(A, { miw: 0, flex: 1, children: [
110
110
  e && /* @__PURE__ */ o(
111
- w,
111
+ R,
112
112
  {
113
113
  value: i,
114
114
  placeholder: "Option",
@@ -117,7 +117,7 @@ const K = "a2SNktIFgNCvXITBZgpup1T8mtSdJIM6TIZlndbRuRg", R = "TBp2lqNzl0orFQtaXg
117
117
  }
118
118
  }
119
119
  ),
120
- m && /* @__PURE__ */ o(P, { color: "red", variant: "subtle", onClick: m, children: /* @__PURE__ */ o(B, { size: "1em" }) })
120
+ m && /* @__PURE__ */ o(D, { color: "red", variant: "subtle", onClick: m, children: /* @__PURE__ */ o(w, { size: "1em" }) })
121
121
  ] }) : i
122
122
  ] })
123
123
  ]
@@ -131,7 +131,7 @@ const K = "a2SNktIFgNCvXITBZgpup1T8mtSdJIM6TIZlndbRuRg", R = "TBp2lqNzl0orFQtaXg
131
131
  style: {
132
132
  backgroundImage: `url(${i})`
133
133
  },
134
- children: !i && /* @__PURE__ */ o(H, { size: 32, color: "var(--primary-color)" })
134
+ children: !i && /* @__PURE__ */ o(B, { size: 32, color: "var(--primary-color)" })
135
135
  }
136
136
  ), j = ({
137
137
  children: i,
@@ -140,16 +140,16 @@ const K = "a2SNktIFgNCvXITBZgpup1T8mtSdJIM6TIZlndbRuRg", R = "TBp2lqNzl0orFQtaXg
140
140
  hasImage: C,
141
141
  onUpload: t
142
142
  }) => {
143
- const { isLoading: E, onSubmit: c } = M();
143
+ const { isLoading: E, onSubmit: c } = H();
144
144
  return /* @__PURE__ */ o(
145
- F,
145
+ M,
146
146
  {
147
147
  hasImage: C,
148
148
  onChange: (e) => r?.({
149
149
  image: e
150
150
  }),
151
- unsplashClientId: K,
152
- giphyToken: R,
151
+ unsplashClientId: X,
152
+ giphyToken: F,
153
153
  onRemove: n,
154
154
  onUpload: (e, m) => c(async () => t?.(e, m)),
155
155
  uploading: E,
@@ -1,15 +1,15 @@
1
- const o = "_card_aspur_1", c = "_image_aspur_48", s = "_controls_aspur_60", a = "_radio_aspur_82", r = "_checkbox_aspur_87", _ = {
1
+ const o = "_card_18zj4_1", c = "_image_18zj4_95", _ = "_controls_18zj4_119", s = "_radio_18zj4_163", t = "_checkbox_18zj4_173", a = {
2
2
  card: o,
3
3
  image: c,
4
- controls: s,
5
- radio: a,
6
- checkbox: r
4
+ controls: _,
5
+ radio: s,
6
+ checkbox: t
7
7
  };
8
8
  export {
9
9
  o as card,
10
- r as checkbox,
11
- s as controls,
12
- _ as default,
10
+ t as checkbox,
11
+ _ as controls,
12
+ a as default,
13
13
  c as image,
14
- a as radio
14
+ s as radio
15
15
  };
@@ -1,7 +1,7 @@
1
- const a = "_image_1om5a_1", e = {
2
- image: a
1
+ const e = "_image_jcfli_1", a = {
2
+ image: e
3
3
  };
4
4
  export {
5
- e as default,
6
- a as image
5
+ a as default,
6
+ e as image
7
7
  };
@@ -1 +1 @@
1
- {"version":3,"file":"formStore.d.ts","sourceRoot":"","sources":["../../../../src/components/FormViewer/store/formStore.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,iBAAiB,EAKlB,MAAM,OAAO,CAAC;AAIf,OAAO,EAAE,cAAc,EAAE,MAA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AO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,cAAc,CAAC,EAAE,CAAC,YAAY,EAAE,IAAI,KAAK,IAAI,CAAC;IAC9C,gBAAgB,CAAC,EAAE,CAAC,IAAI,EAAE,QAAQ,KAAK,IAAI,CAAC;CAC7C;AAED,MAAM,WAAW,QAAQ;IACvB,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;CACf;AASD,eAAO,MAAM,YAAY,GAAI,oFAQ1B,iBAAiB,4CAujBnB,CAAC;AAEF,eAAe,YAAY,CAAC"}
1
+ {"version":3,"file":"ImageCropper.d.ts","sourceRoot":"","sources":["../../../src/components/ImageCropper/ImageCropper.tsx"],"names":[],"mappings":"AAOA,MAAM,WAAW,iBAAiB;IAChC,GAAG,EAAE,MAAM,CAAC;IACZ,OAAO,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAC;IAC/B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,cAAc,CAAC,EAAE,CAAC,YAAY,EAAE,IAAI,KAAK,IAAI,CAAC;IAC9C,gBAAgB,CAAC,EAAE,CAAC,IAAI,EAAE,QAAQ,KAAK,IAAI,CAAC;CAC7C;AAED,MAAM,WAAW,QAAQ;IACvB,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;CACf;AASD,eAAO,MAAM,YAAY,GAAI,oFAQ1B,iBAAiB,4CAqjBnB,CAAC;AAEF,eAAe,YAAY,CAAC"}
@@ -1,51 +1,51 @@
1
- const e = "_container_z996o_1", n = "_image_z996o_12", o = "_overlay_z996o_19", _ = "_circularOverlay_z996o_25", d = "_cropArea_z996o_33", a = "_dashedBorder_z996o_39", l = "_edgeLine_z996o_46", r = "_edgeLineTop_z996o_52", c = "_edgeLineBottom_z996o_60", t = "_edgeLineLeft_z996o_68", s = "_edgeLineRight_z996o_76", h = "_cornerHandle_z996o_84", g = "_cornerHandleArm_z996o_92", i = "_handleNW_z996o_107", z = "_handleNE_z996o_123", L = "_handleSW_z996o_139", H = "_handleSE_z996o_156", m = "_edgeHandle_z996o_172", B = "_edgeHandleBar_z996o_181", E = "_handleN_z996o_107", N = "_handleS_z996o_139", S = "_handleE_z996o_213", W = "_handleW_z996o_227", p = {
1
+ const e = "_container_wajah_1", a = "_image_wajah_23", n = "_overlay_wajah_37", _ = "_circularOverlay_wajah_49", d = "_cropArea_wajah_65", h = "_dashedBorder_wajah_77", o = "_edgeLine_wajah_91", l = "_edgeLineTop_wajah_103", r = "_edgeLineBottom_wajah_119", c = "_edgeLineLeft_wajah_135", t = "_edgeLineRight_wajah_151", s = "_cornerHandle_wajah_167", g = "_cornerHandleArm_wajah_183", i = "_handleNW_wajah_213", j = "_handleNE_wajah_245", w = "_handleSW_wajah_277", L = "_handleSE_wajah_311", H = "_edgeHandle_wajah_343", m = "_edgeHandleBar_wajah_361", B = "_handleN_wajah_213", E = "_handleS_wajah_277", N = "_handleE_wajah_425", S = "_handleW_wajah_453", W = {
2
2
  container: e,
3
- image: n,
4
- overlay: o,
3
+ image: a,
4
+ overlay: n,
5
5
  circularOverlay: _,
6
6
  cropArea: d,
7
- dashedBorder: a,
8
- edgeLine: l,
9
- edgeLineTop: r,
10
- edgeLineBottom: c,
11
- edgeLineLeft: t,
12
- edgeLineRight: s,
13
- cornerHandle: h,
7
+ dashedBorder: h,
8
+ edgeLine: o,
9
+ edgeLineTop: l,
10
+ edgeLineBottom: r,
11
+ edgeLineLeft: c,
12
+ edgeLineRight: t,
13
+ cornerHandle: s,
14
14
  cornerHandleArm: g,
15
15
  handleNW: i,
16
- handleNE: z,
17
- handleSW: L,
18
- handleSE: H,
19
- edgeHandle: m,
20
- edgeHandleBar: B,
21
- handleN: E,
22
- handleS: N,
23
- handleE: S,
24
- handleW: W
16
+ handleNE: j,
17
+ handleSW: w,
18
+ handleSE: L,
19
+ edgeHandle: H,
20
+ edgeHandleBar: m,
21
+ handleN: B,
22
+ handleS: E,
23
+ handleE: N,
24
+ handleW: S
25
25
  };
26
26
  export {
27
27
  _ as circularOverlay,
28
28
  e as container,
29
- h as cornerHandle,
29
+ s as cornerHandle,
30
30
  g as cornerHandleArm,
31
31
  d as cropArea,
32
- a as dashedBorder,
33
- p as default,
34
- m as edgeHandle,
35
- B as edgeHandleBar,
36
- l as edgeLine,
37
- c as edgeLineBottom,
38
- t as edgeLineLeft,
39
- s as edgeLineRight,
40
- r as edgeLineTop,
41
- S as handleE,
42
- E as handleN,
43
- z as handleNE,
32
+ h as dashedBorder,
33
+ W as default,
34
+ H as edgeHandle,
35
+ m as edgeHandleBar,
36
+ o as edgeLine,
37
+ r as edgeLineBottom,
38
+ c as edgeLineLeft,
39
+ t as edgeLineRight,
40
+ l as edgeLineTop,
41
+ N as handleE,
42
+ B as handleN,
43
+ j as handleNE,
44
44
  i as handleNW,
45
- N as handleS,
46
- H as handleSE,
47
- L as handleSW,
48
- W as handleW,
49
- n as image,
50
- o as overlay
45
+ E as handleS,
46
+ L as handleSE,
47
+ w as handleSW,
48
+ S as handleW,
49
+ a as image,
50
+ n as overlay
51
51
  };
@@ -1,4 +1,4 @@
1
- export { ImageCropper, type ImageCropperProps, type CropData } from './ImageCropper';
1
+ export { ImageCropper, type ImageCropperProps, type CropData, } from './ImageCropper';
2
2
  export { useCropInteraction } from './useCropInteraction';
3
3
  export { cropImage } from './cropUtils';
4
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ImageCropper/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,KAAK,iBAAiB,EAAE,KAAK,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AACrF,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ImageCropper/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,YAAY,EACZ,KAAK,iBAAiB,EACtB,KAAK,QAAQ,GACd,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"useCropInteraction.d.ts","sourceRoot":"","sources":["../../../src/components/ImageCropper/useCropInteraction.ts"],"names":[],"mappings":"AAOA,UAAU,UAAU;IAClB,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,UAAU,aAAa;IACrB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,KAAK,YAAY,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAErD,UAAU,yBAAyB;IACjC,WAAW,EAAE,UAAU,CAAC;IACxB,aAAa,EAAE,aAAa,CAAC;IAC7B,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,MAAM,CAAC;IAChB,YAAY,EAAE,CAAC,IAAI,EAAE,UAAU,KAAK,IAAI,CAAC;CAC1C;AAED,UAAU,wBAAwB;IAChC,UAAU,EAAE,OAAO,CAAC;IACpB,UAAU,EAAE,OAAO,CAAC;IACpB,YAAY,EAAE,YAAY,CAAC;IAC3B,mBAAmB,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,UAAU,GAAG,KAAK,CAAC,UAAU,KAAK,IAAI,CAAC;IACtE,qBAAqB,EAAE,CAAC,MAAM,EAAE,OAAO,CAAC,YAAY,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC,EAAE,KAAK,CAAC,UAAU,GAAG,KAAK,CAAC,UAAU,KAAK,IAAI,CAAC;CAClH;AAED,eAAO,MAAM,kBAAkB,GAAI,qEAMhC,yBAAyB,KAAG,wBAwJ9B,CAAC"}
1
+ {"version":3,"file":"useCropInteraction.d.ts","sourceRoot":"","sources":["../../../src/components/ImageCropper/useCropInteraction.ts"],"names":[],"mappings":"AAOA,UAAU,UAAU;IAClB,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,UAAU,aAAa;IACrB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,KAAK,YAAY,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAErD,UAAU,yBAAyB;IACjC,WAAW,EAAE,UAAU,CAAC;IACxB,aAAa,EAAE,aAAa,CAAC;IAC7B,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,MAAM,CAAC;IAChB,YAAY,EAAE,CAAC,IAAI,EAAE,UAAU,KAAK,IAAI,CAAC;CAC1C;AAED,UAAU,wBAAwB;IAChC,UAAU,EAAE,OAAO,CAAC;IACpB,UAAU,EAAE,OAAO,CAAC;IACpB,YAAY,EAAE,YAAY,CAAC;IAC3B,mBAAmB,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,UAAU,GAAG,KAAK,CAAC,UAAU,KAAK,IAAI,CAAC;IACtE,qBAAqB,EAAE,CACrB,MAAM,EAAE,OAAO,CAAC,YAAY,EAAE,IAAI,CAAC,KAChC,CAAC,CAAC,EAAE,KAAK,CAAC,UAAU,GAAG,KAAK,CAAC,UAAU,KAAK,IAAI,CAAC;CACvD;AAED,eAAO,MAAM,kBAAkB,GAAI,qEAMhC,yBAAyB,KAAG,wBAmK9B,CAAC"}
@@ -27,7 +27,13 @@ const W = ({
27
27
  const X = "touches" in i ? i.touches[0].clientX : i.clientX, H = "touches" in i ? i.touches[0].clientY : i.clientY, v = X - m.x, I = H - m.y;
28
28
  if (r) {
29
29
  let o = t.x + v, c = t.y + I;
30
- o = Math.max(0, Math.min(o, l.width - t.width)), c = Math.max(0, Math.min(c, l.height - t.height)), x({ ...t, x: o, y: c });
30
+ o = Math.max(
31
+ 0,
32
+ Math.min(o, l.width - t.width)
33
+ ), c = Math.max(
34
+ 0,
35
+ Math.min(c, l.height - t.height)
36
+ ), x({ ...t, x: o, y: c });
31
37
  }
32
38
  if (a && f) {
33
39
  let o = t.x, c = t.y, e = t.width, h = t.height;
@@ -45,7 +51,12 @@ const W = ({
45
51
  e = Math.max(w, t.width - v), h = e / d, o = t.x + t.width - e, c = t.y + t.height - h;
46
52
  break;
47
53
  }
48
- o < 0 && (e += o, h = e / d, o = 0), c < 0 && (h += c, e = h * d, c = 0), o + e > l.width && (e = l.width - o, h = e / d), c + h > l.height && (h = l.height - c, e = h * d), e >= w && h >= w && x({ x: o, y: c, width: e, height: h });
54
+ o < 0 && (e += o, h = e / d, o = 0), c < 0 && (h += c, e = h * d, c = 0), o + e > l.width && (e = l.width - o, h = e / d), c + h > l.height && (h = l.height - c, e = h * d), e >= w && h >= w && x({
55
+ x: o,
56
+ y: c,
57
+ width: e,
58
+ height: h
59
+ });
49
60
  }
50
61
  }, s = () => {
51
62
  Y(!1), M(!1), y(null);
@@ -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;AAiD1D,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,SAqElC,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;CAC1B;AAED;;;GAGG;AACH,eAAO,MAAM,wBAAwB,GAAI,0EAOtC,6BAA6B,KAAG,SA2ElC,CAAC"}