@jenesei-software/jenesei-kit-react 1.0.0 → 1.2.0

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 (272) hide show
  1. package/README.md +0 -1
  2. package/build/{area-DfCAwCiZ.js → area-3gVEQsJq.js} +20 -22
  3. package/build/area-3gVEQsJq.js.map +1 -0
  4. package/build/area-C8w6fMSn.cjs +38 -0
  5. package/build/area-C8w6fMSn.cjs.map +1 -0
  6. package/build/{area-9NUxwBGc.cjs → area-E4w7aKuZ.cjs} +2 -2
  7. package/build/{area-9NUxwBGc.cjs.map → area-E4w7aKuZ.cjs.map} +1 -1
  8. package/build/{area-BnAddPtl.js → area-EcUYP2tl.js} +2 -2
  9. package/build/{area-BnAddPtl.js.map → area-EcUYP2tl.js.map} +1 -1
  10. package/build/area-preview.cjs.js +1 -1
  11. package/build/area-preview.es.js +1 -1
  12. package/build/area-skeleton.cjs.js +1 -1
  13. package/build/area-skeleton.es.js +1 -1
  14. package/build/build-info.txt +3 -3
  15. package/build/{component-C2JFFh-k.js → component--cOriuv7.js} +103 -27
  16. package/build/component--cOriuv7.js.map +1 -0
  17. package/build/{component-CFMlaYj1.js → component-9m1Ib3fS.js} +2 -2
  18. package/build/{component-CFMlaYj1.js.map → component-9m1Ib3fS.js.map} +1 -1
  19. package/build/{component-CuiUpH8H.js → component-B1IQ5CfM.js} +10 -10
  20. package/build/component-B1IQ5CfM.js.map +1 -0
  21. package/build/{component-C52VCES6.cjs → component-BnYw0FvH.cjs} +21 -17
  22. package/build/component-BnYw0FvH.cjs.map +1 -0
  23. package/build/{component-nFn_uOy_.cjs → component-Bovatz78.cjs} +2 -2
  24. package/build/{component-nFn_uOy_.cjs.map → component-Bovatz78.cjs.map} +1 -1
  25. package/build/{component-UW1VzyvB.cjs → component-C0atFCun.cjs} +2 -2
  26. package/build/{component-UW1VzyvB.cjs.map → component-C0atFCun.cjs.map} +1 -1
  27. package/build/{component-DZxbW_Jz.js → component-CbPhVNw5.js} +30 -28
  28. package/build/component-CbPhVNw5.js.map +1 -0
  29. package/build/component-CbnBTIR5.cjs +2 -0
  30. package/build/component-CbnBTIR5.cjs.map +1 -0
  31. package/build/{component-xnEaYd4a.cjs → component-D7A-4DNQ.cjs} +2 -2
  32. package/build/{component-xnEaYd4a.cjs.map → component-D7A-4DNQ.cjs.map} +1 -1
  33. package/build/{component-CBshLNEf.js → component-DURhph1i.js} +3 -3
  34. package/build/{component-CBshLNEf.js.map → component-DURhph1i.js.map} +1 -1
  35. package/build/component-X4e7zEKk.cjs +90 -0
  36. package/build/component-X4e7zEKk.cjs.map +1 -0
  37. package/build/component-accordion.cjs.js +1 -1
  38. package/build/component-accordion.es.js +1 -1
  39. package/build/component-button-group.cjs.js +1 -1
  40. package/build/component-button-group.d.ts +5 -1
  41. package/build/component-button-group.es.js +1 -1
  42. package/build/component-button.cjs.js +1 -1
  43. package/build/component-button.d.ts +6 -2
  44. package/build/component-button.es.js +1 -1
  45. package/build/component-checkbox-group.cjs.js +1 -1
  46. package/build/component-checkbox-group.d.ts +2 -1
  47. package/build/component-checkbox-group.es.js +1 -1
  48. package/build/component-checkbox.cjs.js +1 -1
  49. package/build/component-checkbox.d.ts +2 -1
  50. package/build/component-checkbox.es.js +1 -1
  51. package/build/component-date-picker.cjs.js +1 -1
  52. package/build/component-date-picker.d.ts +93 -70
  53. package/build/component-date-picker.es.js +1 -1
  54. package/build/component-icon.cjs.js +1 -1
  55. package/build/component-icon.es.js +1 -1
  56. package/build/component-image-button.cjs.js +1 -1
  57. package/build/component-image-button.d.ts +5 -1
  58. package/build/component-image-button.es.js +1 -1
  59. package/build/component-image-select.cjs.js +1 -1
  60. package/build/component-image-select.d.ts +5 -1
  61. package/build/component-image-select.es.js +1 -1
  62. package/build/component-image-slider.cjs.js +1 -1
  63. package/build/component-image-slider.es.js +1 -1
  64. package/build/component-image.cjs.js +1 -1
  65. package/build/component-image.es.js +1 -1
  66. package/build/component-input-otp.cjs.js +1 -1
  67. package/build/component-input-otp.d.ts +31 -19
  68. package/build/component-input-otp.es.js +1 -1
  69. package/build/component-input.cjs.js +1 -1
  70. package/build/component-input.d.ts +48 -38
  71. package/build/component-input.es.js +4 -4
  72. package/build/component-map.cjs.js +1 -1
  73. package/build/component-map.es.js +1 -1
  74. package/build/component-pagination.cjs.js +1 -1
  75. package/build/component-pagination.d.ts +5 -1
  76. package/build/component-pagination.es.js +1 -1
  77. package/build/component-range.cjs.js +1 -1
  78. package/build/component-range.d.ts +28 -18
  79. package/build/component-range.es.js +1 -1
  80. package/build/component-ripple.cjs.js +1 -1
  81. package/build/component-ripple.es.js +1 -1
  82. package/build/component-select.cjs.js +1 -1
  83. package/build/component-select.d.ts +125 -230
  84. package/build/component-select.es.js +16 -20
  85. package/build/component-separator.cjs.js +1 -1
  86. package/build/component-separator.d.ts +3 -2
  87. package/build/component-separator.es.js +1 -1
  88. package/build/component-textarea.cjs.js +1 -1
  89. package/build/component-textarea.d.ts +74 -53
  90. package/build/component-textarea.es.js +4 -8
  91. package/build/component-toggle.cjs.js +1 -1
  92. package/build/component-toggle.es.js +1 -1
  93. package/build/component-tooltip.cjs.js +1 -1
  94. package/build/component-tooltip.d.ts +9 -2
  95. package/build/component-tooltip.es.js +1 -1
  96. package/build/component-typography.cjs.js +1 -1
  97. package/build/component-typography.d.ts +8 -2
  98. package/build/component-typography.es.js +1 -1
  99. package/build/{component-ByY_9Ryc.js → component-vpCWcIhC.js} +2 -2
  100. package/build/{component-ByY_9Ryc.js.map → component-vpCWcIhC.js.map} +1 -1
  101. package/build/{component.components-CaR5gfQW.cjs → component.components-1kRDD3KO.cjs} +2 -2
  102. package/build/{component.components-CaR5gfQW.cjs.map → component.components-1kRDD3KO.cjs.map} +1 -1
  103. package/build/{component.components-BAAT5GTH.js → component.components-CQ3LLnFl.js} +5 -5
  104. package/build/{component.components-BAAT5GTH.js.map → component.components-CQ3LLnFl.js.map} +1 -1
  105. package/build/{component.constants-DRvp5Bez.js → component.constants-B1rq1PLe.js} +2 -2
  106. package/build/{component.constants-DRvp5Bez.js.map → component.constants-B1rq1PLe.js.map} +1 -1
  107. package/build/{component.constants-DbNhxh0k.js → component.constants-B95xyW0s.js} +211 -207
  108. package/build/component.constants-B95xyW0s.js.map +1 -0
  109. package/build/{component.constants-BeWW8Ijx.cjs → component.constants-BLHg7rcI.cjs} +2 -2
  110. package/build/{component.constants-BeWW8Ijx.cjs.map → component.constants-BLHg7rcI.cjs.map} +1 -1
  111. package/build/component.constants-Gz2mf7IF.cjs +22 -0
  112. package/build/component.constants-Gz2mf7IF.cjs.map +1 -0
  113. package/build/{component.styles-BfvB83xM.cjs → component.styles-B-ZAk_1C.cjs} +7 -7
  114. package/build/component.styles-B-ZAk_1C.cjs.map +1 -0
  115. package/build/{component.styles-Do1NYZEO.js → component.styles-BI4OuDrG.js} +32 -20
  116. package/build/component.styles-BI4OuDrG.js.map +1 -0
  117. package/build/component.styles-BLh29xwF.cjs +10 -0
  118. package/build/component.styles-BLh29xwF.cjs.map +1 -0
  119. package/build/component.styles-BnJjm_ES.js +37 -0
  120. package/build/component.styles-BnJjm_ES.js.map +1 -0
  121. package/build/{component.styles-RkQwTlwG.js → component.styles-BoBaG6sX.js} +13 -5
  122. package/build/component.styles-BoBaG6sX.js.map +1 -0
  123. package/build/component.styles-BrGPrrEb.cjs +39 -0
  124. package/build/component.styles-BrGPrrEb.cjs.map +1 -0
  125. package/build/{component.styles-ZtwHuL4x.cjs → component.styles-Bz2vyHqK.cjs} +5 -7
  126. package/build/component.styles-Bz2vyHqK.cjs.map +1 -0
  127. package/build/{component.styles-CVBpx4fw.js → component.styles-BzNkEurr.js} +13 -13
  128. package/build/component.styles-BzNkEurr.js.map +1 -0
  129. package/build/component.styles-CLn52hJD.cjs +14 -0
  130. package/build/component.styles-CLn52hJD.cjs.map +1 -0
  131. package/build/{component.styles-DOPCUXcr.js → component.styles-CRWn1pVi.js} +11 -13
  132. package/build/component.styles-CRWn1pVi.js.map +1 -0
  133. package/build/{component.styles-CmEFZfA5.js → component.styles-CccZrbSA.js} +53 -42
  134. package/build/component.styles-CccZrbSA.js.map +1 -0
  135. package/build/component.styles-CdtZm7bl.cjs +165 -0
  136. package/build/component.styles-CdtZm7bl.cjs.map +1 -0
  137. package/build/{component.styles-BapdQNhL.js → component.styles-CiGPOpxk.js} +5 -5
  138. package/build/component.styles-CiGPOpxk.js.map +1 -0
  139. package/build/component.styles-CvJK1eif.cjs +230 -0
  140. package/build/component.styles-CvJK1eif.cjs.map +1 -0
  141. package/build/component.styles-D6KuudL3.js +1372 -0
  142. package/build/component.styles-D6KuudL3.js.map +1 -0
  143. package/build/{component.styles-DyGfo9t0.cjs → component.styles-DDUGBJle.cjs} +2 -2
  144. package/build/{component.styles-DyGfo9t0.cjs.map → component.styles-DDUGBJle.cjs.map} +1 -1
  145. package/build/{component.styles-CTo5NC52.js → component.styles-DMBvhmz6.js} +4 -4
  146. package/build/{component.styles-CTo5NC52.js.map → component.styles-DMBvhmz6.js.map} +1 -1
  147. package/build/component.styles-DWoybqna.cjs +137 -0
  148. package/build/component.styles-DWoybqna.cjs.map +1 -0
  149. package/build/component.styles-DhI3n-dL.js +213 -0
  150. package/build/component.styles-DhI3n-dL.js.map +1 -0
  151. package/build/{component.styles-DxeG9Opm.cjs → component.styles-DjLSmx3e.cjs} +2 -2
  152. package/build/{component.styles-DxeG9Opm.cjs.map → component.styles-DjLSmx3e.cjs.map} +1 -1
  153. package/build/component.styles-DqTkSP8L.js +1023 -0
  154. package/build/component.styles-DqTkSP8L.js.map +1 -0
  155. package/build/{component.styles-Dok17vPl.js → component.styles-DuIrUV9k.js} +2 -2
  156. package/build/{component.styles-Dok17vPl.js.map → component.styles-DuIrUV9k.js.map} +1 -1
  157. package/build/component.styles-DwdN7mQq.cjs +99 -0
  158. package/build/component.styles-DwdN7mQq.cjs.map +1 -0
  159. package/build/{component.styles-CV7jTFCg.js → component.styles-iWM1hPGZ.js} +62 -31
  160. package/build/component.styles-iWM1hPGZ.js.map +1 -0
  161. package/build/{component.styles-CZu2m0O4.cjs → component.styles-q4ne6jV1.cjs} +2 -2
  162. package/build/{component.styles-CZu2m0O4.cjs.map → component.styles-q4ne6jV1.cjs.map} +1 -1
  163. package/build/{component.styles-C6LohBfF.js → component.styles-uPfiNBIy.js} +3 -3
  164. package/build/{component.styles-C6LohBfF.js.map → component.styles-uPfiNBIy.js.map} +1 -1
  165. package/build/component.styles-vcNQJK0U.cjs +65 -0
  166. package/build/component.styles-vcNQJK0U.cjs.map +1 -0
  167. package/build/component.styles-w3iWQMCq.cjs +13 -0
  168. package/build/component.styles-w3iWQMCq.cjs.map +1 -0
  169. package/build/consts.cjs.js.map +1 -1
  170. package/build/consts.es.js.map +1 -1
  171. package/build/context-app.cjs.js +1 -1
  172. package/build/context-app.es.js +1 -1
  173. package/build/context-dialog.cjs.js +1 -1
  174. package/build/context-dialog.es.js +1 -1
  175. package/build/context-sonner.cjs.js +1 -1
  176. package/build/context-sonner.es.js +1 -1
  177. package/build/{context.constants-DqYjo5m4.js → context.constants-BAz35AJw.js} +5 -5
  178. package/build/{context.constants-DqYjo5m4.js.map → context.constants-BAz35AJw.js.map} +1 -1
  179. package/build/{context.constants-B29-_8v3.cjs → context.constants-BJPyze-d.cjs} +2 -2
  180. package/build/{context.constants-B29-_8v3.cjs.map → context.constants-BJPyze-d.cjs.map} +1 -1
  181. package/build/{context.constants-CsZRZ7gH.js → context.constants-COR-ReeN.js} +2 -2
  182. package/build/{context.constants-CsZRZ7gH.js.map → context.constants-COR-ReeN.js.map} +1 -1
  183. package/build/{context.constants-BaD7xj_m.cjs → context.constants-fwK8ogSf.cjs} +2 -2
  184. package/build/{context.constants-BaD7xj_m.cjs.map → context.constants-fwK8ogSf.cjs.map} +1 -1
  185. package/build/{context.hooks-gyzZSaVi.js → context.hooks-Bs1dD25S.js} +4 -4
  186. package/build/{context.hooks-gyzZSaVi.js.map → context.hooks-Bs1dD25S.js.map} +1 -1
  187. package/build/{context.hooks-CTi-CVKx.cjs → context.hooks-KAyS_7Pj.cjs} +3 -3
  188. package/build/{context.hooks-CTi-CVKx.cjs.map → context.hooks-KAyS_7Pj.cjs.map} +1 -1
  189. package/build/functions.cjs.js.map +1 -1
  190. package/build/functions.es.js +7 -4
  191. package/build/functions.es.js.map +1 -1
  192. package/build/hooks-use-deep-compare-memoize.d.ts +1 -1
  193. package/build/index.cjs.js +1 -1
  194. package/build/index.d.ts +289 -227
  195. package/build/index.es.js +133 -139
  196. package/build/{style-CEGJOjRW.js → style-Bvt_Melk.js} +32 -12
  197. package/build/style-Bvt_Melk.js.map +1 -0
  198. package/build/{style-DeAgDHyI.js → style-DjCgiI7l.js} +3 -3
  199. package/build/{style-DeAgDHyI.js.map → style-DjCgiI7l.js.map} +1 -1
  200. package/build/style-add.cjs.js +1 -1
  201. package/build/style-add.d.ts +11 -1
  202. package/build/style-add.es.js +6 -4
  203. package/build/{style-CtGd1JVB.cjs → style-eIuUYu9x.cjs} +2 -2
  204. package/build/{style-CtGd1JVB.cjs.map → style-eIuUYu9x.cjs.map} +1 -1
  205. package/build/style-error.cjs.js +1 -1
  206. package/build/style-error.es.js +1 -1
  207. package/build/{style-Dm74EPGE.cjs → style-f3_KtJIt.cjs} +30 -14
  208. package/build/style-f3_KtJIt.cjs.map +1 -0
  209. package/build/style-theme.cjs.js +1 -1
  210. package/build/style-theme.es.js +1 -1
  211. package/build/{theme.global-bN9HlSWE.js → theme.global-B46v_8eu.js} +2 -1
  212. package/build/{theme.global-bN9HlSWE.js.map → theme.global-B46v_8eu.js.map} +1 -1
  213. package/build/{theme.global-D6XU05Et.cjs → theme.global-BdZkriPJ.cjs} +2 -1
  214. package/build/{theme.global-D6XU05Et.cjs.map → theme.global-BdZkriPJ.cjs.map} +1 -1
  215. package/build/{use-BVj4dgbW.js → use-B6rT81uF.js} +6 -6
  216. package/build/{use-BVj4dgbW.js.map → use-B6rT81uF.js.map} +1 -1
  217. package/build/{use-BhofoOgk.cjs → use-BnaBipTR.cjs} +2 -2
  218. package/build/{use-BhofoOgk.cjs.map → use-BnaBipTR.cjs.map} +1 -1
  219. package/build/use-C1l0O0Qo.cjs.map +1 -1
  220. package/build/use-DT0XgvJT.js.map +1 -1
  221. package/package.json +2 -12
  222. package/build/area-ClrrGVJG.cjs +0 -40
  223. package/build/area-ClrrGVJG.cjs.map +0 -1
  224. package/build/area-DfCAwCiZ.js.map +0 -1
  225. package/build/component-BnI7BIp-.cjs +0 -2
  226. package/build/component-BnI7BIp-.cjs.map +0 -1
  227. package/build/component-C2JFFh-k.js.map +0 -1
  228. package/build/component-C52VCES6.cjs.map +0 -1
  229. package/build/component-CuiUpH8H.js.map +0 -1
  230. package/build/component-D1NPhRuV.cjs +0 -90
  231. package/build/component-D1NPhRuV.cjs.map +0 -1
  232. package/build/component-DZxbW_Jz.js.map +0 -1
  233. package/build/component.constants-D9wVZ3zy.cjs +0 -22
  234. package/build/component.constants-D9wVZ3zy.cjs.map +0 -1
  235. package/build/component.constants-DbNhxh0k.js.map +0 -1
  236. package/build/component.styles-B1DIataj.cjs +0 -10
  237. package/build/component.styles-B1DIataj.cjs.map +0 -1
  238. package/build/component.styles-BFwkFWkd.cjs +0 -39
  239. package/build/component.styles-BFwkFWkd.cjs.map +0 -1
  240. package/build/component.styles-BSEA2Dqn.cjs +0 -8
  241. package/build/component.styles-BSEA2Dqn.cjs.map +0 -1
  242. package/build/component.styles-BapdQNhL.js.map +0 -1
  243. package/build/component.styles-BfvB83xM.cjs.map +0 -1
  244. package/build/component.styles-Bn6ylF83.js +0 -859
  245. package/build/component.styles-Bn6ylF83.js.map +0 -1
  246. package/build/component.styles-BsZIuwWJ.cjs +0 -140
  247. package/build/component.styles-BsZIuwWJ.cjs.map +0 -1
  248. package/build/component.styles-CEBh8X5q.js +0 -20
  249. package/build/component.styles-CEBh8X5q.js.map +0 -1
  250. package/build/component.styles-CPsxMKVK.cjs +0 -73
  251. package/build/component.styles-CPsxMKVK.cjs.map +0 -1
  252. package/build/component.styles-CV7jTFCg.js.map +0 -1
  253. package/build/component.styles-CVBpx4fw.js.map +0 -1
  254. package/build/component.styles-CmBcHREH.cjs +0 -13
  255. package/build/component.styles-CmBcHREH.cjs.map +0 -1
  256. package/build/component.styles-CmEFZfA5.js.map +0 -1
  257. package/build/component.styles-DHIw8p8e.cjs +0 -158
  258. package/build/component.styles-DHIw8p8e.cjs.map +0 -1
  259. package/build/component.styles-DOPCUXcr.js.map +0 -1
  260. package/build/component.styles-Dj3h7jd9.cjs +0 -165
  261. package/build/component.styles-Dj3h7jd9.cjs.map +0 -1
  262. package/build/component.styles-Do1NYZEO.js.map +0 -1
  263. package/build/component.styles-DpkFoWEh.cjs +0 -81
  264. package/build/component.styles-DpkFoWEh.cjs.map +0 -1
  265. package/build/component.styles-DqsBDAEo.js +0 -202
  266. package/build/component.styles-DqsBDAEo.js.map +0 -1
  267. package/build/component.styles-Du2y0R4W.js +0 -177
  268. package/build/component.styles-Du2y0R4W.js.map +0 -1
  269. package/build/component.styles-RkQwTlwG.js.map +0 -1
  270. package/build/component.styles-ZtwHuL4x.cjs.map +0 -1
  271. package/build/style-CEGJOjRW.js.map +0 -1
  272. package/build/style-Dm74EPGE.cjs.map +0 -1
@@ -2,11 +2,12 @@ import { AddDollarSign } from '../..';
2
2
  import { CSSObject } from 'styled-components';
3
3
  import { DefaultTheme } from 'styled-components';
4
4
  import { DetailedHTMLProps } from 'react';
5
- import { FocusEventHandler } from 'react';
5
+ import { FocusEvent as FocusEvent_2 } from 'react';
6
6
  import { HTMLAttributes } from 'react';
7
7
  import { IStyledComponentBase } from 'styled-components/dist/types';
8
8
  import { JSX } from 'react/jsx-runtime';
9
9
  import { KeyboardEventHandler } from 'react';
10
+ import { RefObject } from 'react';
10
11
  import { RuleSet } from 'styled-components';
11
12
  import { Substitute } from 'styled-components/dist/types';
12
13
  import { TextareaHTMLAttributes } from 'react';
@@ -24,6 +25,49 @@ declare interface addSXProps {
24
25
  sx?: SXProps;
25
26
  }
26
27
 
28
+ export declare const addTextArea: RuleSet<AddDollarSign<Pick<TextAreaProps_2, "size" | "isDisabled" | "error" | "genre" | "isLoading" | "isBold" | "isResize" | "isInputEffect"> & {
29
+ lineHeight: number;
30
+ }>>;
31
+
32
+ declare type AutoHeightTextAreaProps = BaseTextAreaProps & {
33
+ isAutoHeight: true;
34
+ maxRows: number;
35
+ isResize?: false | undefined;
36
+ };
37
+
38
+ declare type BaseTextAreaProps = CommonTextAreaProps & (ControlledValue | UncontrolledValue);
39
+
40
+ declare type CommonTextAreaProps = addErrorProps & addSXProps & {
41
+ name?: string;
42
+ autoComplete?: string;
43
+ id?: string;
44
+ ref?: RefObject<HTMLTextAreaElement | null>;
45
+ className?: string;
46
+ genre: TextAreaGenre;
47
+ minRows: number;
48
+ size: IThemeSize;
49
+ placeholder?: string;
50
+ maxLength?: number;
51
+ minLength?: number;
52
+ isDisabled?: boolean;
53
+ isResize?: boolean;
54
+ isLoading?: boolean;
55
+ isReadOnly?: boolean;
56
+ isInputEffect?: boolean;
57
+ isRequired?: boolean;
58
+ isNoSpaces?: boolean;
59
+ isBold?: boolean;
60
+ onFocus?: (event?: FocusEvent_2<HTMLTextAreaElement>) => void;
61
+ onBlur?: (event?: FocusEvent_2<HTMLTextAreaElement>) => void;
62
+ onChange?: (value: string) => void;
63
+ onKeyDown?: KeyboardEventHandler<HTMLTextAreaElement>;
64
+ };
65
+
66
+ declare type ControlledValue = {
67
+ value: string | null | undefined;
68
+ defaultValue?: never;
69
+ };
70
+
27
71
  declare type ErrorMessageProps = {
28
72
  errorMessage?: string;
29
73
  isError?: boolean;
@@ -32,6 +76,12 @@ declare type ErrorMessageProps = {
32
76
  sx?: addSXProps['sx'];
33
77
  };
34
78
 
79
+ declare type FixedTextAreaProps = BaseTextAreaProps & {
80
+ isResize?: false | undefined;
81
+ isAutoHeight?: false | undefined;
82
+ maxRows?: never;
83
+ };
84
+
35
85
  declare type IThemeDevice = 'default' | 'tablet' | 'mobile';
36
86
 
37
87
  declare type IThemeGenreName = 'gray' | 'grayBorder' | 'black' | 'blackBorder' | 'product' | 'productBorder' | 'white' | 'greenTransparent' | 'redTransparent' | 'yellowTransparent' | 'realebail-product' | 'realebail-gray' | 'realebail-white';
@@ -56,25 +106,19 @@ declare interface IThemeGenreTypeDefault {
56
106
 
57
107
  declare type IThemeSize = 'large' | 'largeMedium' | 'medium' | 'mediumSmall' | 'small';
58
108
 
59
- declare interface IThemeSizePropertyDefault {
60
- font: number;
61
- height: number;
62
- heightIcon: number;
63
- padding: number;
64
- radius: number;
65
- }
66
-
67
- export declare const StyledTextArea: IStyledComponentBase<"web", Substitute<DetailedHTMLProps<TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement>, AddDollarSign<Pick<TextAreaProps_2, "size" | "isDisabled" | "error" | "genre" | "isLoading" | "isBold" | "isTextAreaEffect" | "isResize">>>> & string;
68
-
69
- /****************************************** Default *************************************************/
70
- export declare const StyledTextAreaCSS: RuleSet<AddDollarSign<Pick<TextAreaProps_2, "size" | "isDisabled" | "error" | "genre" | "isLoading" | "isBold" | "isTextAreaEffect" | "isResize">>>;
71
-
72
- export declare type StyledTextAreaProps = AddDollarSign_2<Pick<TextAreaProps, 'genre' | 'size' | 'error' | 'isLoading' | 'isTextAreaEffect' | 'isDisabled' | 'isBold' | 'isResize'>>;
109
+ declare type ResizableTextAreaProps = BaseTextAreaProps & {
110
+ isResize: true;
111
+ isAutoHeight?: false | undefined;
112
+ maxRows?: never;
113
+ };
73
114
 
74
- /****************************************** Wrapper *************************************************/
75
- export declare const StyledTextAreaWrapper: IStyledComponentBase<"web", Substitute<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, AddDollarSign<Pick<TextAreaProps_2, "sx" | "isDisabled" | "isTextAreaEffect">>>> & string;
115
+ export declare const StyledTextArea: IStyledComponentBase<"web", Substitute<DetailedHTMLProps<TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement>, AddDollarSign<Pick<TextAreaProps_2, "size" | "isDisabled" | "error" | "genre" | "isLoading" | "isBold" | "isResize" | "isInputEffect"> & {
116
+ lineHeight: number;
117
+ }>>> & string;
76
118
 
77
- export declare type StyledTextAreaWrapperProps = AddDollarSign_2<Pick<TextAreaProps, 'isDisabled' | 'isTextAreaEffect' | 'sx'>>;
119
+ export declare type StyledTextAreaProps = AddDollarSign_2<Pick<TextAreaProps, 'genre' | 'size' | 'error' | 'isLoading' | 'isInputEffect' | 'isDisabled' | 'isBold' | 'isResize'> & {
120
+ lineHeight: number;
121
+ }>;
78
122
 
79
123
  declare type SXProps = ({
80
124
  default: CSSObject;
@@ -88,44 +132,21 @@ declare type SXProps = ({
88
132
 
89
133
  export declare const TextArea: (props: TextAreaProps) => JSX.Element;
90
134
 
91
- /****************************************** is PlaystationEffect *************************************************/
92
- export declare const TextAreaIsTextAreaEffect: RuleSet<Pick<AddDollarSign<Pick<TextAreaProps_2, "size" | "isDisabled" | "error" | "genre" | "isLoading" | "isBold" | "isTextAreaEffect" | "isResize">>, "$isTextAreaEffect">>;
135
+ export declare type TextAreaGenre = keyof IThemeGenreTextArea;
93
136
 
94
- /****************************************** Placeholder *************************************************/
95
- export declare const TextAreaPlaceholder: RuleSet<AddDollarSign<Pick<TextAreaProps_2, "size" | "isDisabled" | "error" | "genre" | "isLoading" | "isBold" | "isTextAreaEffect" | "isResize">>>;
137
+ export declare type TextAreaProps = AutoHeightTextAreaProps | ResizableTextAreaProps | FixedTextAreaProps;
96
138
 
97
- export declare type TextAreaProps = addErrorProps & addSXProps & {
98
- name?: string;
99
- id?: string;
100
- className?: string;
101
- defaultValue?: string;
102
- isAllowEmptyFormatting?: boolean;
103
- genre: TTextAreaGenre;
104
- height?: number;
105
- maxRows?: number;
106
- size: IThemeSize;
107
- isDisabled?: boolean;
108
- isResize?: boolean;
109
- isAutoHeight?: boolean;
110
- isLoading?: boolean;
111
- isReadOnly?: boolean;
112
- isTextAreaEffect?: boolean;
113
- isRequired?: boolean;
114
- isNoSpaces?: boolean;
115
- onBlur?: FocusEventHandler<HTMLTextAreaElement>;
116
- onChange?: (value: string) => void;
117
- onFocus?: FocusEventHandler<HTMLTextAreaElement>;
118
- onKeyDown?: KeyboardEventHandler<HTMLTextAreaElement>;
119
- placeholder?: string;
120
- isBold?: boolean;
121
- value?: string | null;
122
- };
139
+ export declare const TextAreaWrapper: IStyledComponentBase<"web", Substitute<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, AddDollarSign<Pick<TextAreaProps_2, "size" | "sx" | "isDisabled" | "genre" | "isReadOnly" | "isInputEffect"> & {
140
+ lineHeight: number;
141
+ }>>> & string;
123
142
 
124
- /****************************************** Size *************************************************/
125
- export declare const TextAreaSize: RuleSet<AddDollarSign<Pick<TextAreaProps_2, "size" | "isDisabled" | "error" | "genre" | "isLoading" | "isBold" | "isTextAreaEffect" | "isResize">>>;
143
+ export declare type TextAreaWrapperProps = AddDollarSign_2<Pick<TextAreaProps, 'isDisabled' | 'isInputEffect' | 'sx' | 'size' | 'genre' | 'isReadOnly'> & {
144
+ lineHeight: number;
145
+ }>;
126
146
 
127
- export declare const TextAreaSizeConstructor: (props: IThemeSizePropertyDefault) => RuleSet<object>;
128
-
129
- export declare type TTextAreaGenre = keyof IThemeGenreTextArea;
147
+ declare type UncontrolledValue = {
148
+ value?: never;
149
+ defaultValue: string;
150
+ };
130
151
 
131
152
  export { }
@@ -1,12 +1,8 @@
1
- import { f, e, S, T, d, a, b, c } from "./component.styles-DqsBDAEo.js";
1
+ import { S, T, a, b } from "./component.styles-DhI3n-dL.js";
2
2
  export {
3
- f as StyledTextArea,
4
- e as StyledTextAreaCSS,
5
- S as StyledTextAreaWrapper,
3
+ S as StyledTextArea,
6
4
  T as TextArea,
7
- d as TextAreaIsTextAreaEffect,
8
- a as TextAreaPlaceholder,
9
- b as TextAreaSize,
10
- c as TextAreaSizeConstructor
5
+ a as TextAreaWrapper,
6
+ b as addTextArea
11
7
  };
12
8
  //# sourceMappingURL=component-textarea.es.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./component.styles-CPsxMKVK.cjs");exports.Toggle=e.Toggle,exports.ToggleCenter=e.ToggleCenter,exports.ToggleWrapper=e.ToggleWrapper;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./component.styles-vcNQJK0U.cjs");exports.Toggle=e.Toggle,exports.ToggleCenter=e.ToggleCenter,exports.ToggleWrapper=e.ToggleWrapper;
2
2
  //# sourceMappingURL=component-toggle.cjs.js.map
@@ -1,4 +1,4 @@
1
- import { T, b, a } from "./component.styles-CmEFZfA5.js";
1
+ import { T, b, a } from "./component.styles-CccZrbSA.js";
2
2
  export {
3
3
  T as Toggle,
4
4
  b as ToggleCenter,
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./component-C52VCES6.cjs");exports.DEFAULT_TOOLTIP_OFFSET_FALLBACK=o.DEFAULT_TOOLTIP_OFFSET_FALLBACK,exports.DEFAULT_TOOLTIP_PLACEMENT_FALLBACK=o.DEFAULT_TOOLTIP_PLACEMENT_FALLBACK,exports.Tooltip=o.Tooltip,exports.TooltipBox=o.TooltipBox,exports.TooltipContainer=o.TooltipContainer,exports.TooltipContent=o.TooltipContent,exports.addTooltipBoxSize=o.addTooltipBoxSize,exports.addTooltipBoxSizeConstructor=o.addTooltipBoxSizeConstructor;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./component-BnYw0FvH.cjs");exports.DEFAULT_TOOLTIP_OFFSET_FALLBACK=o.DEFAULT_TOOLTIP_OFFSET_FALLBACK,exports.DEFAULT_TOOLTIP_PLACEMENT_FALLBACK=o.DEFAULT_TOOLTIP_PLACEMENT_FALLBACK,exports.Tooltip=o.Tooltip,exports.TooltipBox=o.TooltipBox,exports.TooltipContainer=o.TooltipContainer,exports.TooltipContent=o.TooltipContent,exports.addTooltipBoxSize=o.addTooltipBoxSize,exports.addTooltipBoxSizeConstructor=o.addTooltipBoxSizeConstructor;
2
2
  //# sourceMappingURL=component-tooltip.cjs.js.map
@@ -77,6 +77,7 @@ declare type PopoverProps = PropsWithChildren & {
77
77
  maxWidth?: string;
78
78
  maxHeight?: string;
79
79
  isOpen: boolean;
80
+ isShowAlwaysOutline?: boolean;
80
81
  floatingStyles: CSSProperties;
81
82
  onClose?: () => void;
82
83
  ref?: Ref<HTMLElement | null>;
@@ -106,6 +107,7 @@ className?: string;
106
107
  maxWidth?: string;
107
108
  maxHeight?: string;
108
109
  isOpen: boolean;
110
+ isShowAlwaysOutline?: boolean;
109
111
  floatingStyles: CSSProperties;
110
112
  onClose?: () => void;
111
113
  ref?: Ref<HTMLElement | null>;
@@ -135,7 +137,7 @@ declare type TypographyDefaultProps = {
135
137
  decoration?: CSSProperties['textDecoration'];
136
138
  family?: IThemeFontFamily;
137
139
  flex?: string;
138
- height?: number;
140
+ height?: number | string;
139
141
  isHoverUnderlining?: boolean;
140
142
  letterSpacing?: CSSProperties['letterSpacing'];
141
143
  line?: number;
@@ -144,6 +146,7 @@ declare type TypographyDefaultProps = {
144
146
  transform?: CSSProperties['textTransform'];
145
147
  weight?: IThemeTypographyWeight;
146
148
  wrap?: CSSProperties['textWrap'];
149
+ isNoUserSelect?: boolean;
147
150
  };
148
151
 
149
152
  declare type TypographySXProps = {
@@ -160,11 +163,15 @@ declare type UsePopoverProps = {
160
163
  hoverCloseDelay?: number;
161
164
  hoverOffset?: number;
162
165
  isClickOutside?: boolean;
166
+ isDisabled?: boolean;
163
167
  isFloatingHover?: boolean;
164
168
  isWidthAsContent?: boolean;
165
- mode?: 'click' | 'hover' | 'clickOpen';
169
+ mode?: 'click' | 'hover' | 'clickOpen' | 'independence';
166
170
  offset?: number;
167
171
  placement: Placement;
172
+ refsExcludeClickOutside?: Ref<HTMLElement | null>[];
173
+ onFocus?: () => void;
174
+ onBlur?: () => void;
168
175
  };
169
176
 
170
177
  export { }
@@ -1,4 +1,4 @@
1
- import { f, D, d, c, T, e, a, b } from "./component-C2JFFh-k.js";
1
+ import { f, D, d, c, T, e, a, b } from "./component--cOriuv7.js";
2
2
  export {
3
3
  f as DEFAULT_TOOLTIP_OFFSET_FALLBACK,
4
4
  D as DEFAULT_TOOLTIP_PLACEMENT_FALLBACK,
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./component-C52VCES6.cjs");exports.Title=o.Title,exports.Typography=o.Typography,exports.TypographyLink=o.TypographyLink,exports.TypographyTooltip=o.TypographyTooltip,exports.addSXTypography=o.addSXTypography,exports.getFontSizeStyles=o.getFontSizeStyles;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./component-BnYw0FvH.cjs");exports.Title=o.Title,exports.Typography=o.Typography,exports.TypographyLink=o.TypographyLink,exports.TypographyTooltip=o.TypographyTooltip,exports.addSXTypography=o.addSXTypography,exports.getFontSizeStyles=o.getFontSizeStyles;
2
2
  //# sourceMappingURL=component-typography.cjs.js.map
@@ -74,6 +74,7 @@ declare type PopoverProps = PropsWithChildren & {
74
74
  maxWidth?: string;
75
75
  maxHeight?: string;
76
76
  isOpen: boolean;
77
+ isShowAlwaysOutline?: boolean;
77
78
  floatingStyles: CSSProperties;
78
79
  onClose?: () => void;
79
80
  ref?: Ref<HTMLElement | null>;
@@ -123,7 +124,7 @@ declare type TypographyDefaultProps = {
123
124
  decoration?: CSSProperties['textDecoration'];
124
125
  family?: IThemeFontFamily;
125
126
  flex?: string;
126
- height?: number;
127
+ height?: number | string;
127
128
  isHoverUnderlining?: boolean;
128
129
  letterSpacing?: CSSProperties['letterSpacing'];
129
130
  line?: number;
@@ -132,6 +133,7 @@ declare type TypographyDefaultProps = {
132
133
  transform?: CSSProperties['textTransform'];
133
134
  weight?: IThemeTypographyWeight;
134
135
  wrap?: CSSProperties['textWrap'];
136
+ isNoUserSelect?: boolean;
135
137
  };
136
138
 
137
139
  export declare const TypographyLink: LinkComponent< {
@@ -173,11 +175,15 @@ declare type UsePopoverProps = {
173
175
  hoverCloseDelay?: number;
174
176
  hoverOffset?: number;
175
177
  isClickOutside?: boolean;
178
+ isDisabled?: boolean;
176
179
  isFloatingHover?: boolean;
177
180
  isWidthAsContent?: boolean;
178
- mode?: 'click' | 'hover' | 'clickOpen';
181
+ mode?: 'click' | 'hover' | 'clickOpen' | 'independence';
179
182
  offset?: number;
180
183
  placement: Placement;
184
+ refsExcludeClickOutside?: Ref<HTMLElement | null>[];
185
+ onFocus?: () => void;
186
+ onBlur?: () => void;
181
187
  };
182
188
 
183
189
  export { }
@@ -1,4 +1,4 @@
1
- import { i, j, k, l, h, g } from "./component-C2JFFh-k.js";
1
+ import { i, j, k, l, h, g } from "./component--cOriuv7.js";
2
2
  export {
3
3
  i as Title,
4
4
  j as Typography,
@@ -55,11 +55,11 @@ const Ripple = (props) => {
55
55
  height: ripple.size
56
56
  }
57
57
  },
58
- "span" + index
58
+ `span-${index}`
59
59
  );
60
60
  }) });
61
61
  };
62
62
  export {
63
63
  Ripple as R
64
64
  };
65
- //# sourceMappingURL=component-ByY_9Ryc.js.map
65
+ //# sourceMappingURL=component-vpCWcIhC.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"component-ByY_9Ryc.js","sources":["../src/components/ripple/component.tsx"],"sourcesContent":["import React, { FC, useCallback, useLayoutEffect, useMemo, useState } from 'react'\n\nimport {\n DEFAULT_RIPPLE_DURATION,\n DEFAULT_RIPPLE_ID,\n RippleArrayElement,\n RippleContainer,\n RippleProps,\n RippleSpan\n} from '.'\n\nconst useDebouncedRippleCleanUp = (rippleCount: number, duration: number, cleanUpFunction: () => void) => {\n useLayoutEffect(() => {\n // eslint-disable-next-line no-undef\n let bounce: NodeJS.Timeout | null = null\n if (rippleCount > 0) {\n if (bounce) {\n clearTimeout(bounce)\n }\n\n bounce = setTimeout(() => {\n cleanUpFunction()\n if (bounce) {\n clearTimeout(bounce)\n }\n }, duration * 4)\n }\n\n return () => {\n if (bounce) {\n clearTimeout(bounce)\n }\n }\n }, [rippleCount, duration, cleanUpFunction])\n}\n\nexport const Ripple: FC<RippleProps> = props => {\n const color = useMemo(() => props.color ?? 'unset', [props.color])\n const duration = useMemo(() => props.duration ?? DEFAULT_RIPPLE_DURATION, [props.duration])\n\n const [rippleArray, setRippleArray] = useState<RippleArrayElement[]>([])\n\n useDebouncedRippleCleanUp(rippleArray.length, duration ?? DEFAULT_RIPPLE_DURATION, () => {\n setRippleArray([])\n })\n\n const onMouseDown = useCallback((event: React.MouseEvent<HTMLDivElement>) => {\n if (!event.isTrusted) return\n const rippleContainer = event.currentTarget.getBoundingClientRect()\n const size = rippleContainer.width > rippleContainer.height ? rippleContainer.width : rippleContainer.height\n const x = event.pageX - rippleContainer.x - size / 2\n const y = event.pageY - rippleContainer.y - size / 2\n const newRipple = { x, y, size }\n setRippleArray([])\n setTimeout(() => {\n setRippleArray([newRipple])\n }, 0)\n }, [])\n\n if (props.isDisabled || props.isHidden) return null\n return (\n <RippleContainer id={DEFAULT_RIPPLE_ID} $duration={duration} $color={color} onMouseDown={onMouseDown}>\n {rippleArray.length > 0 &&\n rippleArray.map((ripple, index) => {\n return (\n <RippleSpan\n $duration={duration}\n $color={color}\n key={'span' + index}\n style={{\n top: ripple.y,\n left: ripple.x,\n width: ripple.size,\n height: ripple.size\n }}\n />\n )\n })}\n </RippleContainer>\n )\n}\n"],"names":["jsx"],"mappings":";;;AAWA,MAAM,4BAA4B,CAAC,aAAqB,UAAkB,oBAAgC;AACxG,kBAAgB,MAAM;AAEpB,QAAI,SAAgC;AACpC,QAAI,cAAc,GAAG;AACnB,UAAI,QAAQ;AACV,qBAAa,MAAM;AAAA,MAAA;AAGrB,eAAS,WAAW,MAAM;AACxB,wBAAA;AACA,YAAI,QAAQ;AACV,uBAAa,MAAM;AAAA,QAAA;AAAA,MACrB,GACC,WAAW,CAAC;AAAA,IAAA;AAGjB,WAAO,MAAM;AACX,UAAI,QAA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Q,OAAO;AAAA,QAAA;AAAA,MACjB;AAAA,MANK,SAAS;AAAA,IAAA;AAAA,EAOhB,CAEH,GACL;AAEJ;"}
1
+ {"version":3,"file":"component-vpCWcIhC.js","sources":["../src/components/ripple/component.tsx"],"sourcesContent":["import React, { FC, useCallback, useLayoutEffect, useMemo, useState } from 'react'\n\nimport {\n DEFAULT_RIPPLE_DURATION,\n DEFAULT_RIPPLE_ID,\n RippleArrayElement,\n RippleContainer,\n RippleProps,\n RippleSpan\n} from '.'\n\nconst useDebouncedRippleCleanUp = (rippleCount: number, duration: number, cleanUpFunction: () => void) => {\n useLayoutEffect(() => {\n // eslint-disable-next-line no-undef\n let bounce: NodeJS.Timeout | null = null\n if (rippleCount > 0) {\n if (bounce) {\n clearTimeout(bounce)\n }\n\n bounce = setTimeout(() => {\n cleanUpFunction()\n if (bounce) {\n clearTimeout(bounce)\n }\n }, duration * 4)\n }\n\n return () => {\n if (bounce) {\n clearTimeout(bounce)\n }\n }\n }, [rippleCount, duration, cleanUpFunction])\n}\n\nexport const Ripple: FC<RippleProps> = props => {\n const color = useMemo(() => props.color ?? 'unset', [props.color])\n const duration = useMemo(() => props.duration ?? DEFAULT_RIPPLE_DURATION, [props.duration])\n\n const [rippleArray, setRippleArray] = useState<RippleArrayElement[]>([])\n\n useDebouncedRippleCleanUp(rippleArray.length, duration ?? DEFAULT_RIPPLE_DURATION, () => {\n setRippleArray([])\n })\n\n const onMouseDown = useCallback((event: React.MouseEvent<HTMLDivElement>) => {\n if (!event.isTrusted) return\n const rippleContainer = event.currentTarget.getBoundingClientRect()\n const size = rippleContainer.width > rippleContainer.height ? rippleContainer.width : rippleContainer.height\n const x = event.pageX - rippleContainer.x - size / 2\n const y = event.pageY - rippleContainer.y - size / 2\n const newRipple = { x, y, size }\n setRippleArray([])\n setTimeout(() => {\n setRippleArray([newRipple])\n }, 0)\n }, [])\n\n if (props.isDisabled || props.isHidden) return null\n return (\n <RippleContainer id={DEFAULT_RIPPLE_ID} $duration={duration} $color={color} onMouseDown={onMouseDown}>\n {rippleArray.length > 0 &&\n rippleArray.map((ripple, index) => {\n return (\n <RippleSpan\n $duration={duration}\n $color={color}\n key={`span-${index}`}\n style={{\n top: ripple.y,\n left: ripple.x,\n width: ripple.size,\n height: ripple.size\n }}\n />\n )\n })}\n </RippleContainer>\n )\n}\n"],"names":["jsx"],"mappings":";;;AAWA,MAAM,4BAA4B,CAAC,aAAqB,UAAkB,oBAAgC;AACxG,kBAAgB,MAAM;AAEpB,QAAI,SAAgC;AACpC,QAAI,cAAc,GAAG;AACnB,UAAI,QAAQ;AACV,qBAAa,MAAM;AAAA,MAAA;AAGrB,eAAS,WAAW,MAAM;AACxB,wBAAA;AACA,YAAI,QAAQ;AACV,uBAAa,MAAM;AAAA,QAAA;AAAA,MACrB,GACC,WAAW,CAAC;AAAA,IAAA;AAGjB,WAAO,MAAM;AACX,UAAI,QAAQ;AACV,qBAAa,MAAM;AAAA,MAAA;AAAA,IACrB;AAAA,EACF,GACC,CAAC,aAAa,UAAU,eAAe,CAAC;AAC7C;AAEO,MAAM,SAA0B,CAAA,UAAS;AAC9C,QAAM,QAAQ,QAAQ,MAAM,MAAM,SAAS,SAAS,CAAC,MAAM,KAAK,CAAC;AACjE,QAAM,WAAW,QAAQ,MAAM,MAAM,YAAY,yBAAyB,CAAC,MAAM,QAAQ,CAAC;AAE1F,QAAM,CAAC,aAAa,cAAc,IAAI,SAA+B,CAAA,CAAE;AAEvE,4BAA0B,YAAY,QAAQ,YAAY,yBAAyB,MAAM;AACvF,mBAAe,CAAA,CAAE;AAAA,EAAA,CAClB;AAED,QAAM,cAAc,YAAY,CAAC,UAA4C;AAC3E,QAAI,CAAC,MAAM,UAAW;AACtB,UAAM,kBAAkB,MAAM,cAAc,sBAAA;AAC5C,UAAM,OAAO,gBAAgB,QAAQ,gBAAgB,SAAS,gBAAgB,QAAQ,gBAAgB;AACtG,UAAM,IAAI,MAAM,QAAQ,gBAAgB,IAAI,OAAO;AACnD,UAAM,IAAI,MAAM,QAAQ,gBAAgB,IAAI,OAAO;AACnD,UAAM,YAAY,EAAE,GAAG,GAAG,KAAA;AAC1B,mBAAe,CAAA,CAAE;AACjB,eAAW,MAAM;AACf,qBAAe,CAAC,SAAS,CAAC;AAAA,IAAA,GACzB,CAAC;AAAA,EAAA,GACH,EAAE;AAEL,MAAI,MAAM,cAAc,MAAM,SAAU,QAAO;AAC/C,+CACG,iBAAA,EAAgB,IAAI,mBAAmB,WAAW,UAAU,QAAQ,OAAO,aACzE,UAAA,YAAY,SAAS,KACpB,YAAY,IAAI,CAAC,QAAQ,UAAU;AACjC,WACEA,kCAAAA;AAAAA,MAAC;AAAA,MAAA;AAAA,QACC,WAAW;AAAA,QACX,QAAQ;AAAA,QAER,OAAO;AAAA,UACL,KAAK,OAAO;AAAA,UACZ,MAAM,OAAO;AAAA,UACb,OAAO,OAAO;AAAA,UACd,QAAQ,OAAO;AAAA,QAAA;AAAA,MACjB;AAAA,MANK,QAAQ,KAAK;AAAA,IAAA;AAAA,EAOpB,CAEH,GACL;AAEJ;"}
@@ -1,4 +1,4 @@
1
- "use strict";const e=require("./jsx-runtime-BcGej2Kr.cjs"),t=require("react"),n=require("react-leaflet");require("leaflet.markercluster");const o=require("react-leaflet-markercluster"),s=require("./component-D1NPhRuV.cjs"),i=require("styled-components");require("./theme.global-D6XU05Et.cjs"),require("./component.styles-BfvB83xM.cjs"),require("./component.styles-Dpg-__rn.cjs");const r=require("leaflet"),C=require("./use-C1l0O0Qo.cjs"),l=require("./consts.cjs.js"),p=[-8.409518,115.188919],a=l.MapThemeList.find(e=>"OpenStreetMap"===e.name)||l.MapThemeList[0],u=t=>e.jsxRuntimeExports.jsx(e.jsxRuntimeExports.Fragment,{children:e.jsxRuntimeExports.jsx(o,{iconCreateFunction:e=>m(e,t.getCustomClusterLabel),chunkedLoading:!0,showCoverageOnHover:!1,spiderfyOnMaxZoom:!1,children:t.markers.map(o=>{var s;return e.jsxRuntimeExports.jsx(n.Marker,{position:o.position,icon:x((null==(s=null==t?void 0:t.getCustomClusterLabel)?void 0:s.call(t,o.options?[o.options]:[]))??""),options:o.options,children:e.jsxRuntimeExports.jsx(n.Popup,{...o.popupProps,children:o.popupContent})},o.id)})})}),c=i.div`
1
+ "use strict";const e=require("./jsx-runtime-BcGej2Kr.cjs"),t=require("react"),n=require("react-leaflet");require("leaflet.markercluster");const o=require("react-leaflet-markercluster"),s=require("./component-X4e7zEKk.cjs");require("./theme.global-BdZkriPJ.cjs"),require("./component.styles-B-ZAk_1C.cjs"),require("./component.styles-Dpg-__rn.cjs");const i=require("styled-components"),r=require("leaflet"),C=require("./use-C1l0O0Qo.cjs"),l=require("./consts.cjs.js"),p=[-8.409518,115.188919],a=l.MapThemeList.find(e=>"OpenStreetMap"===e.name)||l.MapThemeList[0],u=t=>e.jsxRuntimeExports.jsx(e.jsxRuntimeExports.Fragment,{children:e.jsxRuntimeExports.jsx(o,{iconCreateFunction:e=>m(e,t.getCustomClusterLabel),chunkedLoading:!0,showCoverageOnHover:!1,spiderfyOnMaxZoom:!1,children:t.markers.map(o=>{var s;return e.jsxRuntimeExports.jsx(n.Marker,{position:o.position,icon:x((null==(s=null==t?void 0:t.getCustomClusterLabel)?void 0:s.call(t,o.options?[o.options]:[]))??""),options:o.options,children:e.jsxRuntimeExports.jsx(n.Popup,{...o.popupProps,children:o.popupContent})},o.id)})})}),c=i.div`
2
2
  display: contents;
3
3
  .leaflet-popup-content-wrapper {
4
4
  ${e=>{var t;return(null==(t=e.style)?void 0:t.popupWrapper)&&i.css(e.style.popupWrapper)}}
@@ -13,4 +13,4 @@
13
13
  border: none;
14
14
  }
15
15
  `,m=(e,t)=>{const n=e.getChildCount(),o=e.getAllChildMarkers(),s=null==t?void 0:t(o.map(e=>e.options.options));return new r.DivIcon({html:`\n <div style="position: relative; width: 100%; height: 100%; display: flex; justify-content: center;">\n <svg width="42" height="42" viewBox="0 0 42 42" fill="none" xmlns="http://www.w3.org/2000/svg">\n <path fill="#2A77EE" d="M34.125 18.375C34.125 30.8735 21 38.0625 21 38.0625C21 38.0625 7.875 30.8735 7.875 18.375C7.875 14.894 9.25781 11.5556 11.7192 9.09422C14.1806 6.63281 17.519 5.25 21 5.25C24.481 5.25 27.8194 6.63281 30.2808 9.09422C32.7422 11.5556 34.125 14.894 34.125 18.375ZM21.0003 6.33599C17.8074 6.33599 14.7453 7.60436 12.4876 9.86207C10.2298 12.1198 8.96148 15.1819 8.96148 18.3748C8.96148 24.2256 12.0337 28.8895 15.2148 32.1465C16.7986 33.768 18.3854 35.0153 19.5762 35.8565C20.1675 36.2743 20.6588 36.5902 21.0003 36.8006C21.3417 36.5902 21.833 36.2743 22.4243 35.8565C23.6152 35.0153 25.202 33.768 26.7857 32.1465C29.9668 28.8895 33.0391 24.2256 33.0391 18.3748C33.0391 15.1819 31.7707 12.1198 29.513 9.86207C27.2553 7.60436 24.1932 6.33599 21.0003 6.33599ZM21.0003 38.0623C20.4785 39.0149 20.4781 39.0147 20.4776 39.0145L20.4765 39.0139L20.4733 39.0121L20.4634 39.0066L20.4297 38.9877C20.401 38.9716 20.3603 38.9485 20.3083 38.9183C20.2042 38.858 20.0549 38.7697 19.8668 38.6539C19.4907 38.4223 18.9587 38.0801 18.3228 37.6309C17.0527 36.7336 15.3582 35.4025 13.6607 33.6644C10.2793 30.2024 6.78906 25.0224 6.78906 18.3748C6.78906 14.6057 8.28631 10.9911 10.9514 8.32594C13.6165 5.66082 17.2312 4.16357 21.0003 4.16357C24.7693 4.16357 28.384 5.66082 31.0491 8.32594C33.7142 10.9911 35.2115 14.6057 35.2115 18.3748C35.2115 25.0224 31.7212 30.2024 28.3398 33.6644C26.6423 35.4025 24.9479 36.7336 23.6778 37.6309C23.0418 38.0801 22.5099 38.4223 22.1338 38.6539C21.9456 38.7697 21.7963 38.858 21.6923 38.9183C21.6402 38.9485 21.5995 38.9716 21.5709 38.9877L21.5371 39.0066L21.5272 39.0121L21.524 39.0139L21.5229 39.0145C21.5225 39.0147 21.5221 39.0149 21.0003 38.0623ZM21.0003 38.0623L21.5221 39.0149C21.197 39.193 20.8035 39.193 20.4785 39.0149L21.0003 38.0623Z"/>\n <path fill="#F7FAFF" d="M26.25 18.375C26.25 19.7674 25.6969 21.1027 24.7123 22.0873C23.7277 23.0719 22.3924 23.625 21 23.625C19.6076 23.625 18.2723 23.0719 17.2877 22.0873C16.3031 21.1027 15.75 19.7674 15.75 18.375C15.75 16.9826 16.3031 15.6473 17.2877 14.6627C18.2723 13.6781 19.6076 13.125 21 13.125C22.3924 13.125 23.7277 13.6781 24.7123 14.6627C25.6969 15.6473 26.25 16.9826 26.25 18.375Z"/>\n <path fill="#2A77EE" d="M21.0003 14.211C19.896 14.211 18.8369 14.6497 18.056 15.4305C17.2752 16.2114 16.8365 17.2705 16.8365 18.3748C16.8365 19.4791 17.2752 20.5382 18.056 21.319C18.8369 22.0999 19.896 22.5386 21.0003 22.5386C22.1046 22.5386 23.1637 22.0999 23.9445 21.319C24.7254 20.5382 25.1641 19.4791 25.1641 18.3748C25.1641 17.2705 24.7254 16.2114 23.9445 15.4305C23.1637 14.6497 22.1046 14.211 21.0003 14.211ZM16.5199 13.8944C17.7082 12.7061 19.3198 12.0386 21.0003 12.0386C22.6807 12.0386 24.2924 12.7061 25.4806 13.8944C26.6689 15.0827 27.3365 16.6943 27.3365 18.3748C27.3365 20.0552 26.6689 21.6669 25.4806 22.8552C24.2924 24.0434 22.6807 24.711 21.0003 24.711C19.3198 24.711 17.7082 24.0434 16.5199 22.8552C15.3316 21.6669 14.6641 20.0552 14.6641 18.3748C14.6641 16.6943 15.3316 15.0827 16.5199 13.8944Z"/>\n </svg>\n <div \n style="\n position: absolute;\n top: -30px;\n background-color: #2A77EE;\n padding: 0px 10px;\n border-radius: 10px;\n display: flex;\n align-items: center;\n justify-content: center;\n font-family: 'Roboto';\n font-style: normal;\n font-weight: 500;\n font-size: 20px;\n line-height: 150%;\n letter-spacing: -0.03em;\n color: #F7FAFF;\n white-space: nowrap;\n "\n >\n ${n} | ${s}\n </div>\n </div>\n `,iconSize:new r.Point(42,42),iconAnchor:[21,42]})},x=e=>new r.DivIcon({html:`\n <div style="position: relative; width: 100%; height: 100%; display: flex; justify-content: center;">\n <svg width="42" height="42" viewBox="0 0 42 42" fill="none" xmlns="http://www.w3.org/2000/svg">\n <path fill="#2A77EE" d="M34.125 18.375C34.125 30.8735 21 38.0625 21 38.0625C21 38.0625 7.875 30.8735 7.875 18.375C7.875 14.894 9.25781 11.5556 11.7192 9.09422C14.1806 6.63281 17.519 5.25 21 5.25C24.481 5.25 27.8194 6.63281 30.2808 9.09422C32.7422 11.5556 34.125 14.894 34.125 18.375ZM21.0003 6.33599C17.8074 6.33599 14.7453 7.60436 12.4876 9.86207C10.2298 12.1198 8.96148 15.1819 8.96148 18.3748C8.96148 24.2256 12.0337 28.8895 15.2148 32.1465C16.7986 33.768 18.3854 35.0153 19.5762 35.8565C20.1675 36.2743 20.6588 36.5902 21.0003 36.8006C21.3417 36.5902 21.833 36.2743 22.4243 35.8565C23.6152 35.0153 25.202 33.768 26.7857 32.1465C29.9668 28.8895 33.0391 24.2256 33.0391 18.3748C33.0391 15.1819 31.7707 12.1198 29.513 9.86207C27.2553 7.60436 24.1932 6.33599 21.0003 6.33599ZM21.0003 38.0623C20.4785 39.0149 20.4781 39.0147 20.4776 39.0145L20.4765 39.0139L20.4733 39.0121L20.4634 39.0066L20.4297 38.9877C20.401 38.9716 20.3603 38.9485 20.3083 38.9183C20.2042 38.858 20.0549 38.7697 19.8668 38.6539C19.4907 38.4223 18.9587 38.0801 18.3228 37.6309C17.0527 36.7336 15.3582 35.4025 13.6607 33.6644C10.2793 30.2024 6.78906 25.0224 6.78906 18.3748C6.78906 14.6057 8.28631 10.9911 10.9514 8.32594C13.6165 5.66082 17.2312 4.16357 21.0003 4.16357C24.7693 4.16357 28.384 5.66082 31.0491 8.32594C33.7142 10.9911 35.2115 14.6057 35.2115 18.3748C35.2115 25.0224 31.7212 30.2024 28.3398 33.6644C26.6423 35.4025 24.9479 36.7336 23.6778 37.6309C23.0418 38.0801 22.5099 38.4223 22.1338 38.6539C21.9456 38.7697 21.7963 38.858 21.6923 38.9183C21.6402 38.9485 21.5995 38.9716 21.5709 38.9877L21.5371 39.0066L21.5272 39.0121L21.524 39.0139L21.5229 39.0145C21.5225 39.0147 21.5221 39.0149 21.0003 38.0623ZM21.0003 38.0623L21.5221 39.0149C21.197 39.193 20.8035 39.193 20.4785 39.0149L21.0003 38.0623Z"/>\n <path fill="#F7FAFF" d="M26.25 18.375C26.25 19.7674 25.6969 21.1027 24.7123 22.0873C23.7277 23.0719 22.3924 23.625 21 23.625C19.6076 23.625 18.2723 23.0719 17.2877 22.0873C16.3031 21.1027 15.75 19.7674 15.75 18.375C15.75 16.9826 16.3031 15.6473 17.2877 14.6627C18.2723 13.6781 19.6076 13.125 21 13.125C22.3924 13.125 23.7277 13.6781 24.7123 14.6627C25.6969 15.6473 26.25 16.9826 26.25 18.375Z"/>\n <path fill="#2A77EE" d="M21.0003 14.211C19.896 14.211 18.8369 14.6497 18.056 15.4305C17.2752 16.2114 16.8365 17.2705 16.8365 18.3748C16.8365 19.4791 17.2752 20.5382 18.056 21.319C18.8369 22.0999 19.896 22.5386 21.0003 22.5386C22.1046 22.5386 23.1637 22.0999 23.9445 21.319C24.7254 20.5382 25.1641 19.4791 25.1641 18.3748C25.1641 17.2705 24.7254 16.2114 23.9445 15.4305C23.1637 14.6497 22.1046 14.211 21.0003 14.211ZM16.5199 13.8944C17.7082 12.7061 19.3198 12.0386 21.0003 12.0386C22.6807 12.0386 24.2924 12.7061 25.4806 13.8944C26.6689 15.0827 27.3365 16.6943 27.3365 18.3748C27.3365 20.0552 26.6689 21.6669 25.4806 22.8552C24.2924 24.0434 22.6807 24.711 21.0003 24.711C19.3198 24.711 17.7082 24.0434 16.5199 22.8552C15.3316 21.6669 14.6641 20.0552 14.6641 18.3748C14.6641 16.6943 15.3316 15.0827 16.5199 13.8944Z"/>\n </svg>\n <div \n style="\n position: absolute;\n top: -30px;\n background-color: #2A77EE;\n padding: 0px 10px;\n border-radius: 10px;\n display: flex;\n align-items: center;\n justify-content: center;\n font-family: 'Roboto';\n font-style: normal;\n font-weight: 500;\n font-size: 20px;\n line-height: 150%;\n letter-spacing: -0.03em;\n color: #F7FAFF;\n white-space: nowrap;\n "\n >\n ${e}\n </div>\n </div>\n `,iconSize:new r.Point(42,42),iconAnchor:[21,42],popupAnchor:[0,-36]}),d=()=>new r.DivIcon({html:'\n <div style="position: relative; width: 100%; height: 100%; display: flex; justify-content: center;">\n <svg width="42" height="42" viewBox="0 0 42 42" fill="none" xmlns="http://www.w3.org/2000/svg">\n <path fill="#2A77EE" d="M34.125 18.375C34.125 30.8735 21 38.0625 21 38.0625C21 38.0625 7.875 30.8735 7.875 18.375C7.875 14.894 9.25781 11.5556 11.7192 9.09422C14.1806 6.63281 17.519 5.25 21 5.25C24.481 5.25 27.8194 6.63281 30.2808 9.09422C32.7422 11.5556 34.125 14.894 34.125 18.375ZM21.0003 6.33599C17.8074 6.33599 14.7453 7.60436 12.4876 9.86207C10.2298 12.1198 8.96148 15.1819 8.96148 18.3748C8.96148 24.2256 12.0337 28.8895 15.2148 32.1465C16.7986 33.768 18.3854 35.0153 19.5762 35.8565C20.1675 36.2743 20.6588 36.5902 21.0003 36.8006C21.3417 36.5902 21.833 36.2743 22.4243 35.8565C23.6152 35.0153 25.202 33.768 26.7857 32.1465C29.9668 28.8895 33.0391 24.2256 33.0391 18.3748C33.0391 15.1819 31.7707 12.1198 29.513 9.86207C27.2553 7.60436 24.1932 6.33599 21.0003 6.33599ZM21.0003 38.0623C20.4785 39.0149 20.4781 39.0147 20.4776 39.0145L20.4765 39.0139L20.4733 39.0121L20.4634 39.0066L20.4297 38.9877C20.401 38.9716 20.3603 38.9485 20.3083 38.9183C20.2042 38.858 20.0549 38.7697 19.8668 38.6539C19.4907 38.4223 18.9587 38.0801 18.3228 37.6309C17.0527 36.7336 15.3582 35.4025 13.6607 33.6644C10.2793 30.2024 6.78906 25.0224 6.78906 18.3748C6.78906 14.6057 8.28631 10.9911 10.9514 8.32594C13.6165 5.66082 17.2312 4.16357 21.0003 4.16357C24.7693 4.16357 28.384 5.66082 31.0491 8.32594C33.7142 10.9911 35.2115 14.6057 35.2115 18.3748C35.2115 25.0224 31.7212 30.2024 28.3398 33.6644C26.6423 35.4025 24.9479 36.7336 23.6778 37.6309C23.0418 38.0801 22.5099 38.4223 22.1338 38.6539C21.9456 38.7697 21.7963 38.858 21.6923 38.9183C21.6402 38.9485 21.5995 38.9716 21.5709 38.9877L21.5371 39.0066L21.5272 39.0121L21.524 39.0139L21.5229 39.0145C21.5225 39.0147 21.5221 39.0149 21.0003 38.0623ZM21.0003 38.0623L21.5221 39.0149C21.197 39.193 20.8035 39.193 20.4785 39.0149L21.0003 38.0623Z"/>\n <path fill="#F7FAFF" d="M26.25 18.375C26.25 19.7674 25.6969 21.1027 24.7123 22.0873C23.7277 23.0719 22.3924 23.625 21 23.625C19.6076 23.625 18.2723 23.0719 17.2877 22.0873C16.3031 21.1027 15.75 19.7674 15.75 18.375C15.75 16.9826 16.3031 15.6473 17.2877 14.6627C18.2723 13.6781 19.6076 13.125 21 13.125C22.3924 13.125 23.7277 13.6781 24.7123 14.6627C25.6969 15.6473 26.25 16.9826 26.25 18.375Z"/>\n <path fill="#2A77EE" d="M21.0003 14.211C19.896 14.211 18.8369 14.6497 18.056 15.4305C17.2752 16.2114 16.8365 17.2705 16.8365 18.3748C16.8365 19.4791 17.2752 20.5382 18.056 21.319C18.8369 22.0999 19.896 22.5386 21.0003 22.5386C22.1046 22.5386 23.1637 22.0999 23.9445 21.319C24.7254 20.5382 25.1641 19.4791 25.1641 18.3748C25.1641 17.2705 24.7254 16.2114 23.9445 15.4305C23.1637 14.6497 22.1046 14.211 21.0003 14.211ZM16.5199 13.8944C17.7082 12.7061 19.3198 12.0386 21.0003 12.0386C22.6807 12.0386 24.2924 12.7061 25.4806 13.8944C26.6689 15.0827 27.3365 16.6943 27.3365 18.3748C27.3365 20.0552 26.6689 21.6669 25.4806 22.8552C24.2924 24.0434 22.6807 24.711 21.0003 24.711C19.3198 24.711 17.7082 24.0434 16.5199 22.8552C15.3316 21.6669 14.6641 20.0552 14.6641 18.3748C14.6641 16.6943 15.3316 15.0827 16.5199 13.8944Z"/>\n </svg>\n </div>\n ',iconSize:new r.Point(42,42),iconAnchor:[21,42],popupAnchor:[0,-36]});function h(e){const o=n.useMap(),s=C.useDeepCompareMemoize(e);return t.useEffect(()=>{s.center&&s.maxBounds&&s.zoom?(o.setMaxBounds(s.maxBounds),o.setView(s.center,s.zoom)):s.center&&o.setView(s.center,s.zoom)},[o,s]),null}function f(){const o=n.useMap(),i=t.useCallback(()=>o.zoomOut(),[o]),r=t.useCallback(()=>o.zoomIn(),[o]),[C,l]=t.useState(!0),[p,a]=t.useState(!0);return t.useEffect(()=>{const e=()=>{l(o.getZoom()<o.getMaxZoom()),a(o.getZoom()>o.getMinZoom())};return o.on("zoomend",e),e(),()=>{o.off("zoomend",e)}},[o]),e.jsxRuntimeExports.jsxs("div",{style:{position:"absolute",top:"50%",right:"20px",transform:"translateY(-50%)",zIndex:400,display:"flex",flexDirection:"column",gap:"10px",pointerEvents:"none"},onClick:e=>{e.preventDefault(),e.stopPropagation()},onMouseDown:e=>{e.preventDefault(),e.stopPropagation()},children:[e.jsxRuntimeExports.jsx(s.Button,{isHiddenBorder:!0,genre:"realebail-product",isWidthAsHeight:!0,isHidden:!C,isDisabled:!C,size:"small",icons:[{name:"Plus",type:"id",size:"medium"}],sx:{default:{pointerEvents:"all"}},onClick:r}),e.jsxRuntimeExports.jsx(s.Button,{isHiddenBorder:!0,genre:"realebail-product",isHidden:!p,isDisabled:!p,isWidthAsHeight:!0,size:"small",icons:[{name:"Minus",type:"id",size:"medium"}],sx:{default:{pointerEvents:"all"}},onClick:i})]})}exports.CustomZoomControl=f,exports.DEFAULT_MAP_CENTER=p,exports.DEFAULT_MAP_MAX_ZOOM=18,exports.DEFAULT_MAP_MIN_ZOOM=2,exports.DEFAULT_MAP_THEME=a,exports.DEFAULT_MAP_ZOOM=13,exports.Map=o=>{const[s,i]=t.useState(o.theme??p),[r,C]=t.useState(o.center);return t.useEffect(()=>{i(o.theme)},[o.theme]),t.useEffect(()=>{o.center&&C(o.center)},[o.center]),r&&s&&e.jsxRuntimeExports.jsx(c,{style:o.style,children:e.jsxRuntimeExports.jsxs(n.MapContainer,{zoom:o.zoom??13,minZoom:o.minZoom??2,maxZoom:o.maxZoom??18,attributionControl:!1,zoomControl:!1,style:{height:"100%",width:"100%"},children:[e.jsxRuntimeExports.jsx(f,{}),e.jsxRuntimeExports.jsx(n.TileLayer,{url:s.url,attribution:s.attribution}),e.jsxRuntimeExports.jsx(u,{getCustomClusterLabel:o.getCustomClusterLabel,markers:o.markers}),e.jsxRuntimeExports.jsx(h,{center:r,maxBounds:o.maxBounds,zoom:o.zoom})]})})},exports.MapDot=o=>{const[s,i]=t.useState(o.coords??null),[r,C]=t.useState(o.theme??a),[l,p]=t.useState(o.center);t.useEffect(()=>{C(o.theme)},[o.theme]),t.useEffect(()=>{o.center&&p(o.center)},[o.center]);const u=()=>(n.useMapEvents({click(e){if(e.originalEvent.target.classList.contains("leaflet-container")){const t=[e.latlng.lat,e.latlng.lng];i(t),o.onSelect(t)}}}),null);return t.useEffect(()=>{o.coords&&i(o.coords)},[o.coords]),l&&e.jsxRuntimeExports.jsx(c,{children:e.jsxRuntimeExports.jsxs(n.MapContainer,{zoom:o.zoom??13,minZoom:o.minZoom??2,maxZoom:o.maxZoom??18,zoomControl:!1,attributionControl:!1,style:{height:"100%",width:"100%"},children:[e.jsxRuntimeExports.jsx(n.TileLayer,{url:(null==r?void 0:r.url)??"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",attribution:null==r?void 0:r.attribution}),e.jsxRuntimeExports.jsx(f,{}),e.jsxRuntimeExports.jsx(h,{center:l,maxBounds:o.maxBounds,zoom:o.zoom}),e.jsxRuntimeExports.jsx(u,{}),s&&e.jsxRuntimeExports.jsx(n.Marker,{position:s,icon:d()})]})})},exports.MapWrapper=c,exports.MarkerCluster=u,exports.UpdateMapSettings=h,exports.createClusterIcon=m,exports.customDefaultIcon=d,exports.customTextIcon=x;
16
- //# sourceMappingURL=component.components-CaR5gfQW.cjs.map
16
+ //# sourceMappingURL=component.components-1kRDD3KO.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"component.components-CaR5gfQW.cjs","sources":["../src/components/map/component.constants.tsx","../src/components/map/component.cluster.tsx","../src/components/map/component.styles.ts","../src/components/map/component.functions.tsx","../src/components/map/component.components.tsx","../src/components/map/component.map-cluster.tsx","../src/components/map/component.map-dot.tsx"],"sourcesContent":["import { MapThemeList } from '@local/consts'\n\nimport { MapTheme } from '.'\n\nexport const DEFAULT_MAP_MAX_ZOOM = 18\nexport const DEFAULT_MAP_MIN_ZOOM = 2\nexport const DEFAULT_MAP_ZOOM = 13\nexport const DEFAULT_MAP_CENTER: [number, number] = [-8.409518, 115.188919]\nexport const DEFAULT_MAP_THEME: MapTheme = MapThemeList.find(e => e.name === 'OpenStreetMap') || MapThemeList[0]\n","import leaflet from 'leaflet'\nimport 'leaflet.markercluster'\nimport { Marker, Popup } from 'react-leaflet'\nimport MarkerClusterGroup from 'react-leaflet-markercluster'\n\nimport { MarkerClusterProps, createClusterIcon, customTextIcon } from '.'\n\nexport const MarkerCluster = <T extends object>(props: MarkerClusterProps<T>) => {\n return (\n <>\n <MarkerClusterGroup\n iconCreateFunction={(cluster: leaflet.MarkerCluster) => createClusterIcon(cluster, props.getCustomClusterLabel)}\n chunkedLoading\n showCoverageOnHover={false}\n spiderfyOnMaxZoom={false}\n >\n {props.markers.map(marker => (\n <Marker\n key={marker.id}\n position={marker.position}\n icon={customTextIcon(props?.getCustomClusterLabel?.(marker.options ? [marker.options] : []) ?? '')}\n {...({\n options: marker.options\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n } as any)}\n >\n <Popup {...marker.popupProps}>{marker.popupContent}</Popup>\n </Marker>\n ))}\n </MarkerClusterGroup>\n </>\n )\n}\n","import styled, { css } from 'styled-components'\n\nimport { MapProps } from '.'\n\nexport const MapWrapper = styled.div<{ style?: MapProps<object>['style'] }>`\n display: contents;\n .leaflet-popup-content-wrapper {\n ${props => props.style?.popupWrapper && css(props.style.popupWrapper)}\n }\n .leaflet-popup-content {\n max-width: fit-content;\n width: 100%;\n ${props => props.style?.popupContent && css(props.style.popupContent)}\n }\n .leaflet-div-icon {\n background: none;\n border: none;\n }\n`\n","import leaflet from 'leaflet'\n\nexport const createClusterIcon = <T extends object>(\n cluster: leaflet.MarkerCluster,\n getCustomClusterLabel?: (markers: T[]) => string\n) => {\n const markersCount = cluster.getChildCount()\n const markers = cluster.getAllChildMarkers()\n const customLabel = getCustomClusterLabel?.(markers.map(m => (m.options as { options: T }).options))\n\n return new leaflet.DivIcon({\n html: `\n <div style=\"position: relative; width: 100%; height: 100%; display: flex; justify-content: center;\">\n <svg width=\"42\" height=\"42\" viewBox=\"0 0 42 42\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path fill=\"#2A77EE\" d=\"M34.125 18.375C34.125 30.8735 21 38.0625 21 38.0625C21 38.0625 7.875 30.8735 7.875 18.375C7.875 14.894 9.25781 11.5556 11.7192 9.09422C14.1806 6.63281 17.519 5.25 21 5.25C24.481 5.25 27.8194 6.63281 30.2808 9.09422C32.7422 11.5556 34.125 14.894 34.125 18.375ZM21.0003 6.33599C17.8074 6.33599 14.7453 7.60436 12.4876 9.86207C10.2298 12.1198 8.96148 15.1819 8.96148 18.3748C8.96148 24.2256 12.0337 28.8895 15.2148 32.1465C16.7986 33.768 18.3854 35.0153 19.5762 35.8565C20.1675 36.2743 20.6588 36.5902 21.0003 36.8006C21.3417 36.5902 21.833 36.2743 22.4243 35.8565C23.6152 35.0153 25.202 33.768 26.7857 32.1465C29.9668 28.8895 33.0391 24.2256 33.0391 18.3748C33.0391 15.1819 31.7707 12.1198 29.513 9.86207C27.2553 7.60436 24.1932 6.33599 21.0003 6.33599ZM21.0003 38.0623C20.4785 39.0149 20.4781 39.0147 20.4776 39.0145L20.4765 39.0139L20.4733 39.0121L20.4634 39.0066L20.4297 38.9877C20.401 38.9716 20.3603 38.9485 20.3083 38.9183C20.2042 38.858 20.0549 38.7697 19.8668 38.6539C19.4907 38.4223 18.9587 38.0801 18.3228 37.6309C17.0527 36.7336 15.3582 35.4025 13.6607 33.6644C10.2793 30.2024 6.78906 25.0224 6.78906 18.3748C6.78906 14.6057 8.28631 10.9911 10.9514 8.32594C13.6165 5.66082 17.2312 4.16357 21.0003 4.16357C24.7693 4.16357 28.384 5.66082 31.0491 8.32594C33.7142 10.9911 35.2115 14.6057 35.2115 18.3748C35.2115 25.0224 31.7212 30.2024 28.3398 33.6644C26.6423 35.4025 24.9479 36.7336 23.6778 37.6309C23.0418 38.0801 22.5099 38.4223 22.1338 38.6539C21.9456 38.7697 21.7963 38.858 21.6923 38.9183C21.6402 38.9485 21.5995 38.9716 21.5709 38.9877L21.5371 39.0066L21.5272 39.0121L21.524 39.0139L21.5229 39.0145C21.5225 39.0147 21.5221 39.0149 21.0003 38.0623ZM21.0003 38.0623L21.5221 39.0149C21.197 39.193 20.8035 39.193 20.4785 39.0149L21.0003 38.0623Z\"/>\n <path fill=\"#F7FAFF\" d=\"M26.25 18.375C26.25 19.7674 25.6969 21.1027 24.7123 22.0873C23.7277 23.0719 22.3924 23.625 21 23.625C19.6076 23.625 18.2723 23.0719 17.2877 22.0873C16.3031 21.1027 15.75 19.7674 15.75 18.375C15.75 16.9826 16.3031 15.6473 17.2877 14.6627C18.2723 13.6781 19.6076 13.125 21 13.125C22.3924 13.125 23.7277 13.6781 24.7123 14.6627C25.6969 15.6473 26.25 16.9826 26.25 18.375Z\"/>\n <path fill=\"#2A77EE\" d=\"M21.0003 14.211C19.896 14.211 18.8369 14.6497 18.056 15.4305C17.2752 16.2114 16.8365 17.2705 16.8365 18.3748C16.8365 19.4791 17.2752 20.5382 18.056 21.319C18.8369 22.0999 19.896 22.5386 21.0003 22.5386C22.1046 22.5386 23.1637 22.0999 23.9445 21.319C24.7254 20.5382 25.1641 19.4791 25.1641 18.3748C25.1641 17.2705 24.7254 16.2114 23.9445 15.4305C23.1637 14.6497 22.1046 14.211 21.0003 14.211ZM16.5199 13.8944C17.7082 12.7061 19.3198 12.0386 21.0003 12.0386C22.6807 12.0386 24.2924 12.7061 25.4806 13.8944C26.6689 15.0827 27.3365 16.6943 27.3365 18.3748C27.3365 20.0552 26.6689 21.6669 25.4806 22.8552C24.2924 24.0434 22.6807 24.711 21.0003 24.711C19.3198 24.711 17.7082 24.0434 16.5199 22.8552C15.3316 21.6669 14.6641 20.0552 14.6641 18.3748C14.6641 16.6943 15.3316 15.0827 16.5199 13.8944Z\"/>\n </svg>\n <div \n style=\"\n position: absolute;\n top: -30px;\n background-color: #2A77EE;\n padding: 0px 10px;\n border-radius: 10px;\n display: flex;\n align-items: center;\n justify-content: center;\n font-family: 'Roboto';\n font-style: normal;\n font-weight: 500;\n font-size: 20px;\n line-height: 150%;\n letter-spacing: -0.03em;\n color: #F7FAFF;\n white-space: nowrap;\n \"\n >\n ${markersCount} | ${customLabel}\n </div>\n </div>\n `,\n iconSize: new leaflet.Point(42, 42),\n iconAnchor: [21, 42]\n })\n}\n\nexport const customTextIcon = (text: string) =>\n new leaflet.DivIcon({\n html: `\n <div style=\"position: relative; width: 100%; height: 100%; display: flex; justify-content: center;\">\n <svg width=\"42\" height=\"42\" viewBox=\"0 0 42 42\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path fill=\"#2A77EE\" d=\"M34.125 18.375C34.125 30.8735 21 38.0625 21 38.0625C21 38.0625 7.875 30.8735 7.875 18.375C7.875 14.894 9.25781 11.5556 11.7192 9.09422C14.1806 6.63281 17.519 5.25 21 5.25C24.481 5.25 27.8194 6.63281 30.2808 9.09422C32.7422 11.5556 34.125 14.894 34.125 18.375ZM21.0003 6.33599C17.8074 6.33599 14.7453 7.60436 12.4876 9.86207C10.2298 12.1198 8.96148 15.1819 8.96148 18.3748C8.96148 24.2256 12.0337 28.8895 15.2148 32.1465C16.7986 33.768 18.3854 35.0153 19.5762 35.8565C20.1675 36.2743 20.6588 36.5902 21.0003 36.8006C21.3417 36.5902 21.833 36.2743 22.4243 35.8565C23.6152 35.0153 25.202 33.768 26.7857 32.1465C29.9668 28.8895 33.0391 24.2256 33.0391 18.3748C33.0391 15.1819 31.7707 12.1198 29.513 9.86207C27.2553 7.60436 24.1932 6.33599 21.0003 6.33599ZM21.0003 38.0623C20.4785 39.0149 20.4781 39.0147 20.4776 39.0145L20.4765 39.0139L20.4733 39.0121L20.4634 39.0066L20.4297 38.9877C20.401 38.9716 20.3603 38.9485 20.3083 38.9183C20.2042 38.858 20.0549 38.7697 19.8668 38.6539C19.4907 38.4223 18.9587 38.0801 18.3228 37.6309C17.0527 36.7336 15.3582 35.4025 13.6607 33.6644C10.2793 30.2024 6.78906 25.0224 6.78906 18.3748C6.78906 14.6057 8.28631 10.9911 10.9514 8.32594C13.6165 5.66082 17.2312 4.16357 21.0003 4.16357C24.7693 4.16357 28.384 5.66082 31.0491 8.32594C33.7142 10.9911 35.2115 14.6057 35.2115 18.3748C35.2115 25.0224 31.7212 30.2024 28.3398 33.6644C26.6423 35.4025 24.9479 36.7336 23.6778 37.6309C23.0418 38.0801 22.5099 38.4223 22.1338 38.6539C21.9456 38.7697 21.7963 38.858 21.6923 38.9183C21.6402 38.9485 21.5995 38.9716 21.5709 38.9877L21.5371 39.0066L21.5272 39.0121L21.524 39.0139L21.5229 39.0145C21.5225 39.0147 21.5221 39.0149 21.0003 38.0623ZM21.0003 38.0623L21.5221 39.0149C21.197 39.193 20.8035 39.193 20.4785 39.0149L21.0003 38.0623Z\"/>\n <path fill=\"#F7FAFF\" d=\"M26.25 18.375C26.25 19.7674 25.6969 21.1027 24.7123 22.0873C23.7277 23.0719 22.3924 23.625 21 23.625C19.6076 23.625 18.2723 23.0719 17.2877 22.0873C16.3031 21.1027 15.75 19.7674 15.75 18.375C15.75 16.9826 16.3031 15.6473 17.2877 14.6627C18.2723 13.6781 19.6076 13.125 21 13.125C22.3924 13.125 23.7277 13.6781 24.7123 14.6627C25.6969 15.6473 26.25 16.9826 26.25 18.375Z\"/>\n <path fill=\"#2A77EE\" d=\"M21.0003 14.211C19.896 14.211 18.8369 14.6497 18.056 15.4305C17.2752 16.2114 16.8365 17.2705 16.8365 18.3748C16.8365 19.4791 17.2752 20.5382 18.056 21.319C18.8369 22.0999 19.896 22.5386 21.0003 22.5386C22.1046 22.5386 23.1637 22.0999 23.9445 21.319C24.7254 20.5382 25.1641 19.4791 25.1641 18.3748C25.1641 17.2705 24.7254 16.2114 23.9445 15.4305C23.1637 14.6497 22.1046 14.211 21.0003 14.211ZM16.5199 13.8944C17.7082 12.7061 19.3198 12.0386 21.0003 12.0386C22.6807 12.0386 24.2924 12.7061 25.4806 13.8944C26.6689 15.0827 27.3365 16.6943 27.3365 18.3748C27.3365 20.0552 26.6689 21.6669 25.4806 22.8552C24.2924 24.0434 22.6807 24.711 21.0003 24.711C19.3198 24.711 17.7082 24.0434 16.5199 22.8552C15.3316 21.6669 14.6641 20.0552 14.6641 18.3748C14.6641 16.6943 15.3316 15.0827 16.5199 13.8944Z\"/>\n </svg>\n <div \n style=\"\n position: absolute;\n top: -30px;\n background-color: #2A77EE;\n padding: 0px 10px;\n border-radius: 10px;\n display: flex;\n align-items: center;\n justify-content: center;\n font-family: 'Roboto';\n font-style: normal;\n font-weight: 500;\n font-size: 20px;\n line-height: 150%;\n letter-spacing: -0.03em;\n color: #F7FAFF;\n white-space: nowrap;\n \"\n >\n ${text}\n </div>\n </div>\n `,\n iconSize: new leaflet.Point(42, 42),\n iconAnchor: [21, 42],\n popupAnchor: [0, -36]\n })\n\nexport const customDefaultIcon = () =>\n new leaflet.DivIcon({\n html: `\n <div style=\"position: relative; width: 100%; height: 100%; display: flex; justify-content: center;\">\n <svg width=\"42\" height=\"42\" viewBox=\"0 0 42 42\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path fill=\"#2A77EE\" d=\"M34.125 18.375C34.125 30.8735 21 38.0625 21 38.0625C21 38.0625 7.875 30.8735 7.875 18.375C7.875 14.894 9.25781 11.5556 11.7192 9.09422C14.1806 6.63281 17.519 5.25 21 5.25C24.481 5.25 27.8194 6.63281 30.2808 9.09422C32.7422 11.5556 34.125 14.894 34.125 18.375ZM21.0003 6.33599C17.8074 6.33599 14.7453 7.60436 12.4876 9.86207C10.2298 12.1198 8.96148 15.1819 8.96148 18.3748C8.96148 24.2256 12.0337 28.8895 15.2148 32.1465C16.7986 33.768 18.3854 35.0153 19.5762 35.8565C20.1675 36.2743 20.6588 36.5902 21.0003 36.8006C21.3417 36.5902 21.833 36.2743 22.4243 35.8565C23.6152 35.0153 25.202 33.768 26.7857 32.1465C29.9668 28.8895 33.0391 24.2256 33.0391 18.3748C33.0391 15.1819 31.7707 12.1198 29.513 9.86207C27.2553 7.60436 24.1932 6.33599 21.0003 6.33599ZM21.0003 38.0623C20.4785 39.0149 20.4781 39.0147 20.4776 39.0145L20.4765 39.0139L20.4733 39.0121L20.4634 39.0066L20.4297 38.9877C20.401 38.9716 20.3603 38.9485 20.3083 38.9183C20.2042 38.858 20.0549 38.7697 19.8668 38.6539C19.4907 38.4223 18.9587 38.0801 18.3228 37.6309C17.0527 36.7336 15.3582 35.4025 13.6607 33.6644C10.2793 30.2024 6.78906 25.0224 6.78906 18.3748C6.78906 14.6057 8.28631 10.9911 10.9514 8.32594C13.6165 5.66082 17.2312 4.16357 21.0003 4.16357C24.7693 4.16357 28.384 5.66082 31.0491 8.32594C33.7142 10.9911 35.2115 14.6057 35.2115 18.3748C35.2115 25.0224 31.7212 30.2024 28.3398 33.6644C26.6423 35.4025 24.9479 36.7336 23.6778 37.6309C23.0418 38.0801 22.5099 38.4223 22.1338 38.6539C21.9456 38.7697 21.7963 38.858 21.6923 38.9183C21.6402 38.9485 21.5995 38.9716 21.5709 38.9877L21.5371 39.0066L21.5272 39.0121L21.524 39.0139L21.5229 39.0145C21.5225 39.0147 21.5221 39.0149 21.0003 38.0623ZM21.0003 38.0623L21.5221 39.0149C21.197 39.193 20.8035 39.193 20.4785 39.0149L21.0003 38.0623Z\"/>\n <path fill=\"#F7FAFF\" d=\"M26.25 18.375C26.25 19.7674 25.6969 21.1027 24.7123 22.0873C23.7277 23.0719 22.3924 23.625 21 23.625C19.6076 23.625 18.2723 23.0719 17.2877 22.0873C16.3031 21.1027 15.75 19.7674 15.75 18.375C15.75 16.9826 16.3031 15.6473 17.2877 14.6627C18.2723 13.6781 19.6076 13.125 21 13.125C22.3924 13.125 23.7277 13.6781 24.7123 14.6627C25.6969 15.6473 26.25 16.9826 26.25 18.375Z\"/>\n <path fill=\"#2A77EE\" d=\"M21.0003 14.211C19.896 14.211 18.8369 14.6497 18.056 15.4305C17.2752 16.2114 16.8365 17.2705 16.8365 18.3748C16.8365 19.4791 17.2752 20.5382 18.056 21.319C18.8369 22.0999 19.896 22.5386 21.0003 22.5386C22.1046 22.5386 23.1637 22.0999 23.9445 21.319C24.7254 20.5382 25.1641 19.4791 25.1641 18.3748C25.1641 17.2705 24.7254 16.2114 23.9445 15.4305C23.1637 14.6497 22.1046 14.211 21.0003 14.211ZM16.5199 13.8944C17.7082 12.7061 19.3198 12.0386 21.0003 12.0386C22.6807 12.0386 24.2924 12.7061 25.4806 13.8944C26.6689 15.0827 27.3365 16.6943 27.3365 18.3748C27.3365 20.0552 26.6689 21.6669 25.4806 22.8552C24.2924 24.0434 22.6807 24.711 21.0003 24.711C19.3198 24.711 17.7082 24.0434 16.5199 22.8552C15.3316 21.6669 14.6641 20.0552 14.6641 18.3748C14.6641 16.6943 15.3316 15.0827 16.5199 13.8944Z\"/>\n </svg>\n </div>\n `,\n iconSize: new leaflet.Point(42, 42),\n iconAnchor: [21, 42],\n popupAnchor: [0, -36]\n })\n","import { useCallback, useEffect, useState } from 'react'\nimport { useMap } from 'react-leaflet'\n\nimport { useDeepCompareMemoize } from '@local/hooks/use-deep-compare-memoize'\n\nimport { UpdateMapSettingsProps } from '.'\nimport { Button } from '../button'\n\nexport function UpdateMapSettings(props: UpdateMapSettingsProps) {\n const map = useMap()\n const propsMemo = useDeepCompareMemoize(props)\n\n useEffect(() => {\n if (propsMemo.center && propsMemo.maxBounds && propsMemo.zoom) {\n map.setMaxBounds(propsMemo.maxBounds)\n map.setView(propsMemo.center, propsMemo.zoom)\n } else {\n if (propsMemo.center) {\n map.setView(propsMemo.center, propsMemo.zoom)\n }\n }\n }, [map, propsMemo])\n\n return null\n}\n\nexport function CustomZoomControl() {\n const map = useMap()\n\n const handleZoomOut = useCallback(() => map.zoomOut(), [map])\n const handleZoomIn = useCallback(() => map.zoomIn(), [map])\n const [canZoomIn, setCanZoomIn] = useState(true)\n const [canZoomOut, setCanZoomOut] = useState(true)\n\n useEffect(() => {\n const updateZoomStatus = () => {\n setCanZoomIn(map.getZoom() < map.getMaxZoom())\n setCanZoomOut(map.getZoom() > map.getMinZoom())\n }\n\n map.on('zoomend', updateZoomStatus)\n updateZoomStatus()\n\n return () => {\n map.off('zoomend', updateZoomStatus)\n }\n }, [map])\n return (\n <div\n style={{\n position: 'absolute',\n top: '50%',\n right: '20px',\n transform: 'translateY(-50%)',\n zIndex: 400,\n display: 'flex',\n flexDirection: 'column',\n gap: '10px',\n pointerEvents: 'none'\n }}\n onClick={e => {\n e.preventDefault()\n e.stopPropagation()\n }}\n // onClickCapture={e => {\n // e.preventDefault()\n // e.stopPropagation()\n // }}\n onMouseDown={e => {\n e.preventDefault()\n e.stopPropagation()\n }}\n >\n <Button\n isHiddenBorder\n genre=\"realebail-product\"\n isWidthAsHeight\n isHidden={!canZoomIn}\n isDisabled={!canZoomIn}\n size=\"small\"\n icons={[\n {\n name: 'Plus',\n type: 'id',\n size: 'medium'\n }\n ]}\n sx={{\n default: {\n pointerEvents: 'all'\n }\n }}\n onClick={handleZoomIn}\n />\n <Button\n isHiddenBorder\n genre=\"realebail-product\"\n isHidden={!canZoomOut}\n isDisabled={!canZoomOut}\n isWidthAsHeight\n size=\"small\"\n icons={[\n {\n name: 'Minus',\n type: 'id',\n size: 'medium'\n }\n ]}\n sx={{\n default: {\n pointerEvents: 'all'\n }\n }}\n onClick={handleZoomOut}\n />\n </div>\n )\n}\n","import { useEffect, useState } from 'react'\nimport { MapContainer, TileLayer } from 'react-leaflet'\nimport 'react-leaflet-markercluster/styles'\n\nimport {\n CustomZoomControl,\n DEFAULT_MAP_CENTER,\n DEFAULT_MAP_MAX_ZOOM,\n DEFAULT_MAP_MIN_ZOOM,\n DEFAULT_MAP_ZOOM,\n MapProps,\n MapWrapper,\n MarkerCluster,\n UpdateMapSettings\n} from '.'\n\nimport 'leaflet.markercluster/dist/MarkerCluster.Default.css'\nimport 'leaflet.markercluster/dist/MarkerCluster.css'\nimport 'leaflet/dist/leaflet.css'\n\nexport const Map = <T extends object>(props: MapProps<T>) => {\n const [theme, setTheme] = useState(props.theme ?? DEFAULT_MAP_CENTER)\n const [center, setCenter] = useState(props.center)\n\n useEffect(() => {\n setTheme(props.theme)\n }, [props.theme])\n\n useEffect(() => {\n if (props.center) {\n setCenter(props.center)\n }\n }, [props.center])\n\n return (\n center &&\n theme && (\n <MapWrapper style={props.style}>\n <MapContainer\n zoom={props.zoom ?? DEFAULT_MAP_ZOOM}\n minZoom={props.minZoom ?? DEFAULT_MAP_MIN_ZOOM}\n maxZoom={props.maxZoom ?? DEFAULT_MAP_MAX_ZOOM}\n attributionControl={false}\n zoomControl={false}\n style={{ height: '100%', width: '100%' }}\n >\n <CustomZoomControl />\n <TileLayer url={theme.url} attribution={theme.attribution} />\n <MarkerCluster getCustomClusterLabel={props.getCustomClusterLabel} markers={props.markers} />\n <UpdateMapSettings center={center} maxBounds={props.maxBounds} zoom={props.zoom} />\n </MapContainer>\n </MapWrapper>\n )\n )\n}\n","import { useEffect, useState } from 'react'\nimport { MapContainer, Marker, TileLayer, useMapEvents } from 'react-leaflet'\nimport 'react-leaflet-markercluster/styles'\n\nimport {\n CustomZoomControl,\n DEFAULT_MAP_MAX_ZOOM,\n DEFAULT_MAP_MIN_ZOOM,\n DEFAULT_MAP_THEME,\n DEFAULT_MAP_ZOOM,\n MapDotProps,\n MapWrapper,\n UpdateMapSettings,\n customDefaultIcon\n} from '.'\n\nimport 'leaflet.markercluster/dist/MarkerCluster.Default.css'\nimport 'leaflet.markercluster/dist/MarkerCluster.css'\nimport 'leaflet/dist/leaflet.css'\n\nexport const MapDot = (props: MapDotProps) => {\n const [position, setPosition] = useState<[number, number] | null>(props.coords ?? null)\n const [theme, setTheme] = useState(props.theme ?? DEFAULT_MAP_THEME)\n const [center, setCenter] = useState(props.center)\n\n useEffect(() => {\n setTheme(props.theme)\n }, [props.theme])\n\n useEffect(() => {\n if (props.center) {\n setCenter(props.center)\n }\n }, [props.center])\n\n const MapClickHandler = () => {\n useMapEvents({\n click(e) {\n if ((e.originalEvent.target as HTMLElement).classList.contains('leaflet-container')) {\n const coords: [number, number] = [e.latlng.lat, e.latlng.lng]\n setPosition(coords)\n props.onSelect(coords)\n }\n }\n })\n return null\n }\n\n useEffect(() => {\n if (props.coords) {\n setPosition(props.coords)\n }\n }, [props.coords])\n return (\n center && (\n <MapWrapper>\n <MapContainer\n zoom={props.zoom ?? DEFAULT_MAP_ZOOM}\n minZoom={props.minZoom ?? DEFAULT_MAP_MIN_ZOOM}\n maxZoom={props.maxZoom ?? DEFAULT_MAP_MAX_ZOOM}\n zoomControl={false}\n attributionControl={false}\n style={{ height: '100%', width: '100%' }}\n >\n <TileLayer\n url={theme?.url ?? 'https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png'}\n attribution={theme?.attribution}\n />\n <CustomZoomControl />\n <UpdateMapSettings center={center} maxBounds={props.maxBounds} zoom={props.zoom} />\n <MapClickHandler />\n {position && <Marker position={position} icon={customDefaultIcon()} />}\n </MapContainer>\n </MapWrapper>\n )\n )\n}\n"],"names":["DEFAULT_MAP_CENTER","DEFAULT_MAP_THEME","MapThemeList","find","e","name","MarkerCluster","props","jsx","Fragment","children","MarkerClusterGroup","iconCreateFunction","cluster","createClusterIcon","getCustomClusterLabel","chunkedLoading","showCoverageOnHover","spiderfyOnMaxZoom","markers","map","marker","Marker","position","icon","customTextIcon","_a","call","options","Popup","popupProps","popupContent","id","MapWrapper","styled","div","style","popupWrapper","css","markersCount","getChildCount","getAllChildMarkers","customLabel","m","leaflet","DivIcon","html","iconSize","Point","iconAnchor","text","popupAnchor","customDefaultIcon","UpdateMapSettings","useMap","propsMemo","useDeepCompareMemoize","useEffect","center","maxBounds","zoom","setMaxBounds","setView","CustomZoomControl","handleZoomOut","useCallback","zoomOut","handleZoomIn","zoomIn","canZoomIn","setCanZoomIn","useState","canZoomOut","setCanZoomOut","updateZoomStatus","getZoom","getMaxZoom","getMinZoom","on","off","jsxs","top","right","transform","zIndex","display","flexDirection","gap","pointerEvents","onClick","preventDefault","stopPropagation","onMouseDown","Button","isHiddenBorder","genre","isWidthAsHeight","isHidden","isDisabled","size","icons","type","sx","default","theme","setTheme","setCenter","MapContainer","minZoom","maxZoom","attributionControl","zoomControl","height","width","TileLayer","url","attribution","setPosition","coords","MapClickHandler","useMapEvents","click","originalEvent","target","classList","contains","latlng","lat","lng","onSelect"],"mappings":"mdAOaA,EAAuC,EAAC,SAAW,YACnDC,EAA8BC,EAAAA,aAAaC,KAAKC,GAAgB,kBAAXA,EAAEC,OAA6BH,EAAAA,aAAa,GCDjGI,EAAmCC,GAE5CC,wBAAAC,EAAAA,kBAAAA,SAAA,CACEC,SAAAF,EAAAA,kBAAAA,IAACG,EAAA,CACCC,mBAAqBC,GAAmCC,EAAkBD,EAASN,EAAMQ,uBACzFC,gBAAc,EACdC,qBAAqB,EACrBC,mBAAmB,EAElBR,SAAAH,EAAMY,QAAQC,IAAIC,UACjBb,OAAAA,EAAAA,kBAAAA,IAACc,EAAAA,OAAA,CAECC,SAAUF,EAAOE,SACjBC,KAAMC,GAAe,OAAAC,EAAA,MA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G,EAAMmD,SAEjB,CAACnD,EAAMmD,SAEV,MAAM6D,EAAkB,KACtBC,eAAa,CACX,KAAAC,CAAMrH,GACJ,GAAKA,EAAEsH,cAAcC,OAAuBC,UAAUC,SAAS,qBAAsB,CACnF,MAAMP,EAA2B,CAAClH,EAAE0H,OAAOC,IAAK3H,EAAE0H,OAAOE,KACzDX,EAAYC,GACZ/G,EAAM0H,SAASX,EAAM,CACvB,IAGG,MAQT,OALA7D,EAAAA,UAAU,KACJlD,EAAM+G,QACRD,EAAY9G,EAAM+G,SAEnB,CAAC/G,EAAM+G,SAER5D,2BACGzB,EAAA,CACCvB,WAAAsE,kBAAAA,KAAC2B,EAAAA,aAAA,CACC/C,KAAMrD,EAAMqD,MNnDU,GMoDtBgD,QAASrG,EAAMqG,SNrDW,EMsD1BC,QAAStG,EAAMsG,SNvDW,GMwD1BE,aAAa,EACbD,oBAAoB,EACpB1E,MAAO,CAAE4E,OAAQ,OAAQC,MAAO,QAEhCvG,SAAA,GAAAF,kBAAAA,IAAC0G,EAAAA,UAAA,CACCC,WAAKX,WAAOW,MAAO,qDACnBC,YAAa,MAAAZ,OAAA,EAAAA,EAAOY,sCAErBrD,EAAA,IACDvD,wBAAC6C,GAAkBK,SAAgBC,UAAWpD,EAAMoD,UAAWC,KAAMrD,EAAMqD,+BAC1E2D,EAAA,IACAhG,GAAYf,EAAAA,kBAAAA,IAACc,EAAAA,OAAA,CAAOC,WAAoBC,KAAM4B"}
1
+ {"version":3,"file":"component.components-1kRDD3KO.cjs","sources":["../src/components/map/component.constants.tsx","../src/components/map/component.cluster.tsx","../src/components/map/component.styles.ts","../src/components/map/component.functions.tsx","../src/components/map/component.components.tsx","../src/components/map/component.map-cluster.tsx","../src/components/map/component.map-dot.tsx"],"sourcesContent":["import { MapThemeList } from '@local/consts'\n\nimport { MapTheme } from '.'\n\nexport const DEFAULT_MAP_MAX_ZOOM = 18\nexport const DEFAULT_MAP_MIN_ZOOM = 2\nexport const DEFAULT_MAP_ZOOM = 13\nexport const DEFAULT_MAP_CENTER: [number, number] = [-8.409518, 115.188919]\nexport const DEFAULT_MAP_THEME: MapTheme = MapThemeList.find(e => e.name === 'OpenStreetMap') || MapThemeList[0]\n","import leaflet from 'leaflet'\nimport 'leaflet.markercluster'\nimport { Marker, Popup } from 'react-leaflet'\nimport MarkerClusterGroup from 'react-leaflet-markercluster'\n\nimport { MarkerClusterProps, createClusterIcon, customTextIcon } from '.'\n\nexport const MarkerCluster = <T extends object>(props: MarkerClusterProps<T>) => {\n return (\n <>\n <MarkerClusterGroup\n iconCreateFunction={(cluster: leaflet.MarkerCluster) => createClusterIcon(cluster, props.getCustomClusterLabel)}\n chunkedLoading\n showCoverageOnHover={false}\n spiderfyOnMaxZoom={false}\n >\n {props.markers.map(marker => (\n <Marker\n key={marker.id}\n position={marker.position}\n icon={customTextIcon(props?.getCustomClusterLabel?.(marker.options ? [marker.options] : []) ?? '')}\n {...({\n options: marker.options\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n } as any)}\n >\n <Popup {...marker.popupProps}>{marker.popupContent}</Popup>\n </Marker>\n ))}\n </MarkerClusterGroup>\n </>\n )\n}\n","import styled, { css } from 'styled-components'\n\nimport { MapProps } from '.'\n\nexport const MapWrapper = styled.div<{ style?: MapProps<object>['style'] }>`\n display: contents;\n .leaflet-popup-content-wrapper {\n ${props => props.style?.popupWrapper && css(props.style.popupWrapper)}\n }\n .leaflet-popup-content {\n max-width: fit-content;\n width: 100%;\n ${props => props.style?.popupContent && css(props.style.popupContent)}\n }\n .leaflet-div-icon {\n background: none;\n border: none;\n }\n`\n","import leaflet from 'leaflet'\n\nexport const createClusterIcon = <T extends object>(\n cluster: leaflet.MarkerCluster,\n getCustomClusterLabel?: (markers: T[]) => string\n) => {\n const markersCount = cluster.getChildCount()\n const markers = cluster.getAllChildMarkers()\n const customLabel = getCustomClusterLabel?.(markers.map(m => (m.options as { options: T }).options))\n\n return new leaflet.DivIcon({\n html: `\n <div style=\"position: relative; width: 100%; height: 100%; display: flex; justify-content: center;\">\n <svg width=\"42\" height=\"42\" viewBox=\"0 0 42 42\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path fill=\"#2A77EE\" d=\"M34.125 18.375C34.125 30.8735 21 38.0625 21 38.0625C21 38.0625 7.875 30.8735 7.875 18.375C7.875 14.894 9.25781 11.5556 11.7192 9.09422C14.1806 6.63281 17.519 5.25 21 5.25C24.481 5.25 27.8194 6.63281 30.2808 9.09422C32.7422 11.5556 34.125 14.894 34.125 18.375ZM21.0003 6.33599C17.8074 6.33599 14.7453 7.60436 12.4876 9.86207C10.2298 12.1198 8.96148 15.1819 8.96148 18.3748C8.96148 24.2256 12.0337 28.8895 15.2148 32.1465C16.7986 33.768 18.3854 35.0153 19.5762 35.8565C20.1675 36.2743 20.6588 36.5902 21.0003 36.8006C21.3417 36.5902 21.833 36.2743 22.4243 35.8565C23.6152 35.0153 25.202 33.768 26.7857 32.1465C29.9668 28.8895 33.0391 24.2256 33.0391 18.3748C33.0391 15.1819 31.7707 12.1198 29.513 9.86207C27.2553 7.60436 24.1932 6.33599 21.0003 6.33599ZM21.0003 38.0623C20.4785 39.0149 20.4781 39.0147 20.4776 39.0145L20.4765 39.0139L20.4733 39.0121L20.4634 39.0066L20.4297 38.9877C20.401 38.9716 20.3603 38.9485 20.3083 38.9183C20.2042 38.858 20.0549 38.7697 19.8668 38.6539C19.4907 38.4223 18.9587 38.0801 18.3228 37.6309C17.0527 36.7336 15.3582 35.4025 13.6607 33.6644C10.2793 30.2024 6.78906 25.0224 6.78906 18.3748C6.78906 14.6057 8.28631 10.9911 10.9514 8.32594C13.6165 5.66082 17.2312 4.16357 21.0003 4.16357C24.7693 4.16357 28.384 5.66082 31.0491 8.32594C33.7142 10.9911 35.2115 14.6057 35.2115 18.3748C35.2115 25.0224 31.7212 30.2024 28.3398 33.6644C26.6423 35.4025 24.9479 36.7336 23.6778 37.6309C23.0418 38.0801 22.5099 38.4223 22.1338 38.6539C21.9456 38.7697 21.7963 38.858 21.6923 38.9183C21.6402 38.9485 21.5995 38.9716 21.5709 38.9877L21.5371 39.0066L21.5272 39.0121L21.524 39.0139L21.5229 39.0145C21.5225 39.0147 21.5221 39.0149 21.0003 38.0623ZM21.0003 38.0623L21.5221 39.0149C21.197 39.193 20.8035 39.193 20.4785 39.0149L21.0003 38.0623Z\"/>\n <path fill=\"#F7FAFF\" d=\"M26.25 18.375C26.25 19.7674 25.6969 21.1027 24.7123 22.0873C23.7277 23.0719 22.3924 23.625 21 23.625C19.6076 23.625 18.2723 23.0719 17.2877 22.0873C16.3031 21.1027 15.75 19.7674 15.75 18.375C15.75 16.9826 16.3031 15.6473 17.2877 14.6627C18.2723 13.6781 19.6076 13.125 21 13.125C22.3924 13.125 23.7277 13.6781 24.7123 14.6627C25.6969 15.6473 26.25 16.9826 26.25 18.375Z\"/>\n <path fill=\"#2A77EE\" d=\"M21.0003 14.211C19.896 14.211 18.8369 14.6497 18.056 15.4305C17.2752 16.2114 16.8365 17.2705 16.8365 18.3748C16.8365 19.4791 17.2752 20.5382 18.056 21.319C18.8369 22.0999 19.896 22.5386 21.0003 22.5386C22.1046 22.5386 23.1637 22.0999 23.9445 21.319C24.7254 20.5382 25.1641 19.4791 25.1641 18.3748C25.1641 17.2705 24.7254 16.2114 23.9445 15.4305C23.1637 14.6497 22.1046 14.211 21.0003 14.211ZM16.5199 13.8944C17.7082 12.7061 19.3198 12.0386 21.0003 12.0386C22.6807 12.0386 24.2924 12.7061 25.4806 13.8944C26.6689 15.0827 27.3365 16.6943 27.3365 18.3748C27.3365 20.0552 26.6689 21.6669 25.4806 22.8552C24.2924 24.0434 22.6807 24.711 21.0003 24.711C19.3198 24.711 17.7082 24.0434 16.5199 22.8552C15.3316 21.6669 14.6641 20.0552 14.6641 18.3748C14.6641 16.6943 15.3316 15.0827 16.5199 13.8944Z\"/>\n </svg>\n <div \n style=\"\n position: absolute;\n top: -30px;\n background-color: #2A77EE;\n padding: 0px 10px;\n border-radius: 10px;\n display: flex;\n align-items: center;\n justify-content: center;\n font-family: 'Roboto';\n font-style: normal;\n font-weight: 500;\n font-size: 20px;\n line-height: 150%;\n letter-spacing: -0.03em;\n color: #F7FAFF;\n white-space: nowrap;\n \"\n >\n ${markersCount} | ${customLabel}\n </div>\n </div>\n `,\n iconSize: new leaflet.Point(42, 42),\n iconAnchor: [21, 42]\n })\n}\n\nexport const customTextIcon = (text: string) =>\n new leaflet.DivIcon({\n html: `\n <div style=\"position: relative; width: 100%; height: 100%; display: flex; justify-content: center;\">\n <svg width=\"42\" height=\"42\" viewBox=\"0 0 42 42\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path fill=\"#2A77EE\" d=\"M34.125 18.375C34.125 30.8735 21 38.0625 21 38.0625C21 38.0625 7.875 30.8735 7.875 18.375C7.875 14.894 9.25781 11.5556 11.7192 9.09422C14.1806 6.63281 17.519 5.25 21 5.25C24.481 5.25 27.8194 6.63281 30.2808 9.09422C32.7422 11.5556 34.125 14.894 34.125 18.375ZM21.0003 6.33599C17.8074 6.33599 14.7453 7.60436 12.4876 9.86207C10.2298 12.1198 8.96148 15.1819 8.96148 18.3748C8.96148 24.2256 12.0337 28.8895 15.2148 32.1465C16.7986 33.768 18.3854 35.0153 19.5762 35.8565C20.1675 36.2743 20.6588 36.5902 21.0003 36.8006C21.3417 36.5902 21.833 36.2743 22.4243 35.8565C23.6152 35.0153 25.202 33.768 26.7857 32.1465C29.9668 28.8895 33.0391 24.2256 33.0391 18.3748C33.0391 15.1819 31.7707 12.1198 29.513 9.86207C27.2553 7.60436 24.1932 6.33599 21.0003 6.33599ZM21.0003 38.0623C20.4785 39.0149 20.4781 39.0147 20.4776 39.0145L20.4765 39.0139L20.4733 39.0121L20.4634 39.0066L20.4297 38.9877C20.401 38.9716 20.3603 38.9485 20.3083 38.9183C20.2042 38.858 20.0549 38.7697 19.8668 38.6539C19.4907 38.4223 18.9587 38.0801 18.3228 37.6309C17.0527 36.7336 15.3582 35.4025 13.6607 33.6644C10.2793 30.2024 6.78906 25.0224 6.78906 18.3748C6.78906 14.6057 8.28631 10.9911 10.9514 8.32594C13.6165 5.66082 17.2312 4.16357 21.0003 4.16357C24.7693 4.16357 28.384 5.66082 31.0491 8.32594C33.7142 10.9911 35.2115 14.6057 35.2115 18.3748C35.2115 25.0224 31.7212 30.2024 28.3398 33.6644C26.6423 35.4025 24.9479 36.7336 23.6778 37.6309C23.0418 38.0801 22.5099 38.4223 22.1338 38.6539C21.9456 38.7697 21.7963 38.858 21.6923 38.9183C21.6402 38.9485 21.5995 38.9716 21.5709 38.9877L21.5371 39.0066L21.5272 39.0121L21.524 39.0139L21.5229 39.0145C21.5225 39.0147 21.5221 39.0149 21.0003 38.0623ZM21.0003 38.0623L21.5221 39.0149C21.197 39.193 20.8035 39.193 20.4785 39.0149L21.0003 38.0623Z\"/>\n <path fill=\"#F7FAFF\" d=\"M26.25 18.375C26.25 19.7674 25.6969 21.1027 24.7123 22.0873C23.7277 23.0719 22.3924 23.625 21 23.625C19.6076 23.625 18.2723 23.0719 17.2877 22.0873C16.3031 21.1027 15.75 19.7674 15.75 18.375C15.75 16.9826 16.3031 15.6473 17.2877 14.6627C18.2723 13.6781 19.6076 13.125 21 13.125C22.3924 13.125 23.7277 13.6781 24.7123 14.6627C25.6969 15.6473 26.25 16.9826 26.25 18.375Z\"/>\n <path fill=\"#2A77EE\" d=\"M21.0003 14.211C19.896 14.211 18.8369 14.6497 18.056 15.4305C17.2752 16.2114 16.8365 17.2705 16.8365 18.3748C16.8365 19.4791 17.2752 20.5382 18.056 21.319C18.8369 22.0999 19.896 22.5386 21.0003 22.5386C22.1046 22.5386 23.1637 22.0999 23.9445 21.319C24.7254 20.5382 25.1641 19.4791 25.1641 18.3748C25.1641 17.2705 24.7254 16.2114 23.9445 15.4305C23.1637 14.6497 22.1046 14.211 21.0003 14.211ZM16.5199 13.8944C17.7082 12.7061 19.3198 12.0386 21.0003 12.0386C22.6807 12.0386 24.2924 12.7061 25.4806 13.8944C26.6689 15.0827 27.3365 16.6943 27.3365 18.3748C27.3365 20.0552 26.6689 21.6669 25.4806 22.8552C24.2924 24.0434 22.6807 24.711 21.0003 24.711C19.3198 24.711 17.7082 24.0434 16.5199 22.8552C15.3316 21.6669 14.6641 20.0552 14.6641 18.3748C14.6641 16.6943 15.3316 15.0827 16.5199 13.8944Z\"/>\n </svg>\n <div \n style=\"\n position: absolute;\n top: -30px;\n background-color: #2A77EE;\n padding: 0px 10px;\n border-radius: 10px;\n display: flex;\n align-items: center;\n justify-content: center;\n font-family: 'Roboto';\n font-style: normal;\n font-weight: 500;\n font-size: 20px;\n line-height: 150%;\n letter-spacing: -0.03em;\n color: #F7FAFF;\n white-space: nowrap;\n \"\n >\n ${text}\n </div>\n </div>\n `,\n iconSize: new leaflet.Point(42, 42),\n iconAnchor: [21, 42],\n popupAnchor: [0, -36]\n })\n\nexport const customDefaultIcon = () =>\n new leaflet.DivIcon({\n html: `\n <div style=\"position: relative; width: 100%; height: 100%; display: flex; justify-content: center;\">\n <svg width=\"42\" height=\"42\" viewBox=\"0 0 42 42\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path fill=\"#2A77EE\" d=\"M34.125 18.375C34.125 30.8735 21 38.0625 21 38.0625C21 38.0625 7.875 30.8735 7.875 18.375C7.875 14.894 9.25781 11.5556 11.7192 9.09422C14.1806 6.63281 17.519 5.25 21 5.25C24.481 5.25 27.8194 6.63281 30.2808 9.09422C32.7422 11.5556 34.125 14.894 34.125 18.375ZM21.0003 6.33599C17.8074 6.33599 14.7453 7.60436 12.4876 9.86207C10.2298 12.1198 8.96148 15.1819 8.96148 18.3748C8.96148 24.2256 12.0337 28.8895 15.2148 32.1465C16.7986 33.768 18.3854 35.0153 19.5762 35.8565C20.1675 36.2743 20.6588 36.5902 21.0003 36.8006C21.3417 36.5902 21.833 36.2743 22.4243 35.8565C23.6152 35.0153 25.202 33.768 26.7857 32.1465C29.9668 28.8895 33.0391 24.2256 33.0391 18.3748C33.0391 15.1819 31.7707 12.1198 29.513 9.86207C27.2553 7.60436 24.1932 6.33599 21.0003 6.33599ZM21.0003 38.0623C20.4785 39.0149 20.4781 39.0147 20.4776 39.0145L20.4765 39.0139L20.4733 39.0121L20.4634 39.0066L20.4297 38.9877C20.401 38.9716 20.3603 38.9485 20.3083 38.9183C20.2042 38.858 20.0549 38.7697 19.8668 38.6539C19.4907 38.4223 18.9587 38.0801 18.3228 37.6309C17.0527 36.7336 15.3582 35.4025 13.6607 33.6644C10.2793 30.2024 6.78906 25.0224 6.78906 18.3748C6.78906 14.6057 8.28631 10.9911 10.9514 8.32594C13.6165 5.66082 17.2312 4.16357 21.0003 4.16357C24.7693 4.16357 28.384 5.66082 31.0491 8.32594C33.7142 10.9911 35.2115 14.6057 35.2115 18.3748C35.2115 25.0224 31.7212 30.2024 28.3398 33.6644C26.6423 35.4025 24.9479 36.7336 23.6778 37.6309C23.0418 38.0801 22.5099 38.4223 22.1338 38.6539C21.9456 38.7697 21.7963 38.858 21.6923 38.9183C21.6402 38.9485 21.5995 38.9716 21.5709 38.9877L21.5371 39.0066L21.5272 39.0121L21.524 39.0139L21.5229 39.0145C21.5225 39.0147 21.5221 39.0149 21.0003 38.0623ZM21.0003 38.0623L21.5221 39.0149C21.197 39.193 20.8035 39.193 20.4785 39.0149L21.0003 38.0623Z\"/>\n <path fill=\"#F7FAFF\" d=\"M26.25 18.375C26.25 19.7674 25.6969 21.1027 24.7123 22.0873C23.7277 23.0719 22.3924 23.625 21 23.625C19.6076 23.625 18.2723 23.0719 17.2877 22.0873C16.3031 21.1027 15.75 19.7674 15.75 18.375C15.75 16.9826 16.3031 15.6473 17.2877 14.6627C18.2723 13.6781 19.6076 13.125 21 13.125C22.3924 13.125 23.7277 13.6781 24.7123 14.6627C25.6969 15.6473 26.25 16.9826 26.25 18.375Z\"/>\n <path fill=\"#2A77EE\" d=\"M21.0003 14.211C19.896 14.211 18.8369 14.6497 18.056 15.4305C17.2752 16.2114 16.8365 17.2705 16.8365 18.3748C16.8365 19.4791 17.2752 20.5382 18.056 21.319C18.8369 22.0999 19.896 22.5386 21.0003 22.5386C22.1046 22.5386 23.1637 22.0999 23.9445 21.319C24.7254 20.5382 25.1641 19.4791 25.1641 18.3748C25.1641 17.2705 24.7254 16.2114 23.9445 15.4305C23.1637 14.6497 22.1046 14.211 21.0003 14.211ZM16.5199 13.8944C17.7082 12.7061 19.3198 12.0386 21.0003 12.0386C22.6807 12.0386 24.2924 12.7061 25.4806 13.8944C26.6689 15.0827 27.3365 16.6943 27.3365 18.3748C27.3365 20.0552 26.6689 21.6669 25.4806 22.8552C24.2924 24.0434 22.6807 24.711 21.0003 24.711C19.3198 24.711 17.7082 24.0434 16.5199 22.8552C15.3316 21.6669 14.6641 20.0552 14.6641 18.3748C14.6641 16.6943 15.3316 15.0827 16.5199 13.8944Z\"/>\n </svg>\n </div>\n `,\n iconSize: new leaflet.Point(42, 42),\n iconAnchor: [21, 42],\n popupAnchor: [0, -36]\n })\n","import { useCallback, useEffect, useState } from 'react'\nimport { useMap } from 'react-leaflet'\n\nimport { useDeepCompareMemoize } from '@local/hooks/use-deep-compare-memoize'\n\nimport { UpdateMapSettingsProps } from '.'\nimport { Button } from '../button'\n\nexport function UpdateMapSettings(props: UpdateMapSettingsProps) {\n const map = useMap()\n const propsMemo = useDeepCompareMemoize(props)\n\n useEffect(() => {\n if (propsMemo.center && propsMemo.maxBounds && propsMemo.zoom) {\n map.setMaxBounds(propsMemo.maxBounds)\n map.setView(propsMemo.center, propsMemo.zoom)\n } else {\n if (propsMemo.center) {\n map.setView(propsMemo.center, propsMemo.zoom)\n }\n }\n }, [map, propsMemo])\n\n return null\n}\n\nexport function CustomZoomControl() {\n const map = useMap()\n\n const handleZoomOut = useCallback(() => map.zoomOut(), [map])\n const handleZoomIn = useCallback(() => map.zoomIn(), [map])\n const [canZoomIn, setCanZoomIn] = useState(true)\n const [canZoomOut, setCanZoomOut] = useState(true)\n\n useEffect(() => {\n const updateZoomStatus = () => {\n setCanZoomIn(map.getZoom() < map.getMaxZoom())\n setCanZoomOut(map.getZoom() > map.getMinZoom())\n }\n\n map.on('zoomend', updateZoomStatus)\n updateZoomStatus()\n\n return () => {\n map.off('zoomend', updateZoomStatus)\n }\n }, [map])\n return (\n <div\n style={{\n position: 'absolute',\n top: '50%',\n right: '20px',\n transform: 'translateY(-50%)',\n zIndex: 400,\n display: 'flex',\n flexDirection: 'column',\n gap: '10px',\n pointerEvents: 'none'\n }}\n onClick={e => {\n e.preventDefault()\n e.stopPropagation()\n }}\n // onClickCapture={e => {\n // e.preventDefault()\n // e.stopPropagation()\n // }}\n onMouseDown={e => {\n e.preventDefault()\n e.stopPropagation()\n }}\n >\n <Button\n isHiddenBorder\n genre=\"realebail-product\"\n isWidthAsHeight\n isHidden={!canZoomIn}\n isDisabled={!canZoomIn}\n size=\"small\"\n icons={[\n {\n name: 'Plus',\n type: 'id',\n size: 'medium'\n }\n ]}\n sx={{\n default: {\n pointerEvents: 'all'\n }\n }}\n onClick={handleZoomIn}\n />\n <Button\n isHiddenBorder\n genre=\"realebail-product\"\n isHidden={!canZoomOut}\n isDisabled={!canZoomOut}\n isWidthAsHeight\n size=\"small\"\n icons={[\n {\n name: 'Minus',\n type: 'id',\n size: 'medium'\n }\n ]}\n sx={{\n default: {\n pointerEvents: 'all'\n }\n }}\n onClick={handleZoomOut}\n />\n </div>\n )\n}\n","import { useEffect, useState } from 'react'\nimport { MapContainer, TileLayer } from 'react-leaflet'\nimport 'react-leaflet-markercluster/styles'\n\nimport {\n CustomZoomControl,\n DEFAULT_MAP_CENTER,\n DEFAULT_MAP_MAX_ZOOM,\n DEFAULT_MAP_MIN_ZOOM,\n DEFAULT_MAP_ZOOM,\n MapProps,\n MapWrapper,\n MarkerCluster,\n UpdateMapSettings\n} from '.'\n\nimport 'leaflet.markercluster/dist/MarkerCluster.Default.css'\nimport 'leaflet.markercluster/dist/MarkerCluster.css'\nimport 'leaflet/dist/leaflet.css'\n\nexport const Map = <T extends object>(props: MapProps<T>) => {\n const [theme, setTheme] = useState(props.theme ?? DEFAULT_MAP_CENTER)\n const [center, setCenter] = useState(props.center)\n\n useEffect(() => {\n setTheme(props.theme)\n }, [props.theme])\n\n useEffect(() => {\n if (props.center) {\n setCenter(props.center)\n }\n }, [props.center])\n\n return (\n center &&\n theme && (\n <MapWrapper style={props.style}>\n <MapContainer\n zoom={props.zoom ?? DEFAULT_MAP_ZOOM}\n minZoom={props.minZoom ?? DEFAULT_MAP_MIN_ZOOM}\n maxZoom={props.maxZoom ?? DEFAULT_MAP_MAX_ZOOM}\n attributionControl={false}\n zoomControl={false}\n style={{ height: '100%', width: '100%' }}\n >\n <CustomZoomControl />\n <TileLayer url={theme.url} attribution={theme.attribution} />\n <MarkerCluster getCustomClusterLabel={props.getCustomClusterLabel} markers={props.markers} />\n <UpdateMapSettings center={center} maxBounds={props.maxBounds} zoom={props.zoom} />\n </MapContainer>\n </MapWrapper>\n )\n )\n}\n","import { useEffect, useState } from 'react'\nimport { MapContainer, Marker, TileLayer, useMapEvents } from 'react-leaflet'\nimport 'react-leaflet-markercluster/styles'\n\nimport {\n CustomZoomControl,\n DEFAULT_MAP_MAX_ZOOM,\n DEFAULT_MAP_MIN_ZOOM,\n DEFAULT_MAP_THEME,\n DEFAULT_MAP_ZOOM,\n MapDotProps,\n MapWrapper,\n UpdateMapSettings,\n customDefaultIcon\n} from '.'\n\nimport 'leaflet.markercluster/dist/MarkerCluster.Default.css'\nimport 'leaflet.markercluster/dist/MarkerCluster.css'\nimport 'leaflet/dist/leaflet.css'\n\nexport const MapDot = (props: MapDotProps) => {\n const [position, setPosition] = useState<[number, number] | null>(props.coords ?? null)\n const [theme, setTheme] = useState(props.theme ?? DEFAULT_MAP_THEME)\n const [center, setCenter] = useState(props.center)\n\n useEffect(() => {\n setTheme(props.theme)\n }, [props.theme])\n\n useEffect(() => {\n if (props.center) {\n setCenter(props.center)\n }\n }, [props.center])\n\n const MapClickHandler = () => {\n useMapEvents({\n click(e) {\n if ((e.originalEvent.target as HTMLElement).classList.contains('leaflet-container')) {\n const coords: [number, number] = [e.latlng.lat, e.latlng.lng]\n setPosition(coords)\n props.onSelect(coords)\n }\n }\n })\n return null\n }\n\n useEffect(() => {\n if (props.coords) {\n setPosition(props.coords)\n }\n }, [props.coords])\n return (\n center && (\n <MapWrapper>\n <MapContainer\n zoom={props.zoom ?? DEFAULT_MAP_ZOOM}\n minZoom={props.minZoom ?? DEFAULT_MAP_MIN_ZOOM}\n maxZoom={props.maxZoom ?? DEFAULT_MAP_MAX_ZOOM}\n zoomControl={false}\n attributionControl={false}\n style={{ height: '100%', width: '100%' }}\n >\n <TileLayer\n url={theme?.url ?? 'https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png'}\n attribution={theme?.attribution}\n />\n <CustomZoomControl />\n <UpdateMapSettings center={center} maxBounds={props.maxBounds} zoom={props.zoom} />\n <MapClickHandler />\n {position && <Marker position={position} icon={customDefaultIcon()} />}\n </MapContainer>\n </MapWrapper>\n )\n )\n}\n"],"names":["DEFAULT_MAP_CENTER","DEFAULT_MAP_THEME","MapThemeList","find","e","name","MarkerCluster","props","jsx","Fragment","children","MarkerClusterGroup","iconCreateFunction","cluster","createClusterIcon","getCustomClusterLabel","chunkedLoading","showCoverageOnHover","spiderfyOnMaxZoom","markers","map","marker","Marker","position","icon","customTextIcon","_a","call","options","Popup","popupProps","popupContent","id","MapWrapper","styled","div","style","popupWrapper","css","markersCount","getChildCount","getAllChildMarkers","customLabel","m","leaflet","DivIcon","html","iconSize","Point","iconAnchor","text","popupAnchor","customDefaultIcon","UpdateMapSettings","useMap","propsMemo","useDeepCompareMemoize","useEffect","center","maxBounds","zoom","setMaxBounds","setView","CustomZoomControl","handleZoomOut","useCallback","zoomOut","handleZoomIn","zoomIn","canZoomIn","setCanZoomIn","useState","canZoomOut","setCanZoomOut","updateZoomStatus","getZoom","getMaxZoom","getMinZoom","on","off","jsxs","top","right","transform","zIndex","display","flexDirection","gap","pointerEvents","onClick","preventDefault","stopPropagation","onMouseDown","Button","isHiddenBorder","genre","isWidthAsHeight","isHidden","isDisabled","size","icons","type","sx","default","theme","setTheme","setCenter","MapContainer","minZoom","maxZoom","attributionControl","zoomControl","height","width","TileLayer","url","attribution","setPosition","coords","MapClickHandler","useMapEvents","click","originalEvent","target","classList","contains","latlng","lat","lng","onSelect"],"mappings":"mdAOaA,EAAuC,EAAC,SAAW,YACnDC,EAA8BC,EAAAA,aAAaC,KAAKC,GAAgB,kBAAXA,EAAEC,OAA6BH,EAAAA,aAAa,GCDjGI,EAAmCC,GAE5CC,wBAAAC,EAAAA,kBAAAA,SAAA,CACEC,SAAAF,EAAAA,kBAAAA,IAACG,EAAA,CACCC,mBAAqBC,GAAmCC,EAAkBD,EAASN,EAAMQ,uBACzFC,gBAAc,EACdC,qBAAqB,EACrBC,mBAAmB,EAElBR,SAAAH,EAAMY,QAAQC,IAAIC,UACjBb,OAAAA,EAAAA,kBAAAA,IAACc,EAAAA,OAAA,CAECC,SAAUF,EAAOE,SACjBC,KAAMC,GAAe,OAAAC,EAAA,MAAAnB,OAAA,EAAAA,EAAOQ,4BAAP,EAAAW,EAAAC,KAAApB,EAA+Bc,EAAOO,QAAU,CAACP,EAAOO,SAAW,MAAO,IAE7FA,QAASP,EAAOO,QAIlBlB,iCAACmB,EAAAA,MAAA,IAAUR,EAAOS,WAAapB,WAAOqB,gBARjCV,EAAOW,UCdXC,EAAaC,EAAOC,GAAA;;;MAG3B5B,UAAS,OAAA,OAAAmB,EAAAnB,EAAM6B,YAAN,EAAAV,EAAaW,eAAgBC,MAAI/B,EAAM6B,MAAMC;;;;;MAKtD9B,UAAS,OAAA,OAAAmB,EAAAnB,EAAM6B,YAAN,EAAAV,EAAaK,eAAgBO,MAAI/B,EAAM6B,MAAML;;;;;;ECV/CjB,EAAoB,CAC/BD,EACAE,KAEA,MAAMwB,EAAe1B,EAAQ2B,gBACvBrB,EAAUN,EAAQ4B,qBAClBC,QAAc3B,WAAwBI,EAAQC,OAAUuB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E4E,OAAQ,OAAQC,MAAO,QAEhCvG,SAAA,GAAAF,kBAAAA,IAAC0G,EAAAA,UAAA,CACCC,WAAKX,WAAOW,MAAO,qDACnBC,YAAa,MAAAZ,OAAA,EAAAA,EAAOY,sCAErBrD,EAAA,IACDvD,wBAAC6C,GAAkBK,SAAgBC,UAAWpD,EAAMoD,UAAWC,KAAMrD,EAAMqD,+BAC1E2D,EAAA,IACAhG,GAAYf,EAAAA,kBAAAA,IAACc,EAAAA,OAAA,CAAOC,WAAoBC,KAAM4B"}
@@ -3,11 +3,11 @@ import { useState, useEffect, useCallback } from "react";
3
3
  import { MapContainer, TileLayer, Marker, useMapEvents, Popup, useMap } from "react-leaflet";
4
4
  import "leaflet.markercluster";
5
5
  import MarkerClusterGroup from "react-leaflet-markercluster";
6
- import { c as Button } from "./component-DZxbW_Jz.js";
7
- import styled, { css } from "styled-components";
8
- import "./theme.global-bN9HlSWE.js";
9
- import "./component.styles-BapdQNhL.js";
6
+ import { c as Button } from "./component-CbPhVNw5.js";
7
+ import "./theme.global-B46v_8eu.js";
8
+ import "./component.styles-CiGPOpxk.js";
10
9
  import "./component.styles-B0L4jbOO.js";
10
+ import styled, { css } from "styled-components";
11
11
  import leaflet from "leaflet";
12
12
  import { u as useDeepCompareMemoize } from "./use-DT0XgvJT.js";
13
13
  import { MapThemeList } from "./consts.es.js";
@@ -360,4 +360,4 @@ export {
360
360
  customTextIcon as i,
361
361
  customDefaultIcon as j
362
362
  };
363
- //# sourceMappingURL=component.components-BAAT5GTH.js.map
363
+ //# sourceMappingURL=component.components-CQ3LLnFl.js.map