@jenesei-software/jenesei-kit-react 1.3.9 → 1.3.11
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.
- package/build/{area-BC64nSGj.js → area-BWxBop5m.js} +2 -2
- package/build/area-BWxBop5m.js.map +1 -0
- package/build/{area-DRqAofd0.js → area-CD8KKIM0.js} +2 -2
- package/build/area-CD8KKIM0.js.map +1 -0
- package/build/{area-Dnq78ow6.js → area-CT83tDk-.js} +10 -8
- package/build/area-CT83tDk-.js.map +1 -0
- package/build/{area-C6QOr2Kd.cjs → area-CmCMHnRA.cjs} +2 -2
- package/build/area-CmCMHnRA.cjs.map +1 -0
- package/build/{area-C3wR_pPr.cjs → area-DRsIULcw.cjs} +2 -2
- package/build/{area-C3wR_pPr.cjs.map → area-DRsIULcw.cjs.map} +1 -1
- package/build/{area-D7906bXA.cjs → area-Dup_lUb9.cjs} +2 -2
- package/build/area-Dup_lUb9.cjs.map +1 -0
- package/build/area-outside.cjs.js +1 -1
- package/build/area-outside.es.js +1 -1
- package/build/area-preview.cjs.js +1 -1
- package/build/area-preview.es.js +1 -1
- package/build/{area-CFZW3T1g.js → area-sDVSuS3G.js} +3 -3
- package/build/{area-CFZW3T1g.js.map → area-sDVSuS3G.js.map} +1 -1
- package/build/area-scroll.cjs.js +1 -1
- package/build/area-scroll.d.ts +1 -1
- package/build/area-scroll.es.js +1 -1
- package/build/area-skeleton.cjs.js +1 -1
- package/build/area-skeleton.d.ts +1 -1
- package/build/area-skeleton.es.js +1 -1
- package/build/area-smooth.cjs.js +1 -1
- package/build/area-smooth.d.ts +1 -1
- package/build/area-smooth.es.js +1 -1
- package/build/area-t259bohc.cjs +2 -0
- package/build/area-t259bohc.cjs.map +1 -0
- package/build/area.hooks-Bk04M7mk.js.map +1 -1
- package/build/area.hooks-C_UKZzcb.cjs.map +1 -1
- package/build/build-info.txt +3 -3
- package/build/component--jGdo2yq.cjs +2 -0
- package/build/component--jGdo2yq.cjs.map +1 -0
- package/build/{component--Oo5_3xq.cjs → component-8NOxwZJO.cjs} +2 -2
- package/build/component-8NOxwZJO.cjs.map +1 -0
- package/build/component-BVnHSTJd.cjs +245 -0
- package/build/component-BVnHSTJd.cjs.map +1 -0
- package/build/{component-DHq4T6Ku.cjs → component-BhPckvLk.cjs} +2 -2
- package/build/component-BhPckvLk.cjs.map +1 -0
- package/build/component-CLqcB5mM.cjs.map +1 -1
- package/build/{component-C4ULY0c6.js → component-CN6att4f.js} +20 -9
- package/build/component-CN6att4f.js.map +1 -0
- package/build/component-DHM9pbab.js.map +1 -1
- package/build/{component-Bzw_uobM.js → component-DaXKDHnc.js} +48 -7
- package/build/component-DaXKDHnc.js.map +1 -0
- package/build/component-DnJo66DS.cjs +90 -0
- package/build/component-DnJo66DS.cjs.map +1 -0
- package/build/{component-BcHiCCC9.js → component-DpVp9dB1.js} +2 -2
- package/build/component-DpVp9dB1.js.map +1 -0
- package/build/{component-DfxlJBGv.js → component-G5QqAuDV.js} +3 -3
- package/build/component-G5QqAuDV.js.map +1 -0
- package/build/component-GKvpOWlO.cjs +28 -0
- package/build/component-GKvpOWlO.cjs.map +1 -0
- package/build/component-GtWqnaqk.js +710 -0
- package/build/component-GtWqnaqk.js.map +1 -0
- package/build/component-accordion.cjs.js +1 -1
- package/build/component-accordion.d.ts +1 -1
- package/build/component-accordion.es.js +1 -1
- package/build/component-button-group.cjs.js +1 -1
- package/build/component-button-group.d.ts +18 -1
- package/build/component-button-group.es.js +1 -1
- package/build/component-button.cjs.js +1 -1
- package/build/component-button.d.ts +21 -2
- package/build/component-button.es.js +1 -1
- package/build/{component-BiNPQpCQ.cjs → component-cRmWWDr_.cjs} +2 -2
- package/build/component-cRmWWDr_.cjs.map +1 -0
- package/build/component-checkbox-group.cjs.js +1 -1
- package/build/component-checkbox-group.d.ts +20 -3
- package/build/component-checkbox-group.es.js +1 -1
- package/build/component-checkbox.cjs.js +1 -1
- package/build/component-checkbox.d.ts +21 -2
- package/build/component-checkbox.es.js +1 -1
- package/build/component-date-picker.cjs.js +1 -1
- package/build/component-date-picker.d.ts +35 -37
- package/build/component-date-picker.es.js +1 -1
- package/build/{component-CQ8fy2gK.js → component-feWPgACX.js} +2 -2
- package/build/component-feWPgACX.js.map +1 -0
- package/build/component-icon.cjs.js +1 -1
- package/build/component-icon.es.js +1 -1
- package/build/component-image-button.cjs.js +1 -1
- package/build/component-image-button.d.ts +18 -1
- package/build/component-image-button.es.js +1 -1
- package/build/component-image-select.cjs.js +1 -1
- package/build/component-image-select.d.ts +18 -1
- package/build/component-image-select.es.js +1 -1
- package/build/component-image-slider.cjs.js +1 -1
- package/build/component-image-slider.d.ts +1 -1
- package/build/component-image-slider.es.js +1 -1
- package/build/component-image.cjs.js +1 -1
- package/build/component-image.es.js +1 -1
- package/build/component-input-otp.cjs.js +1 -1
- package/build/component-input-otp.d.ts +51 -5
- package/build/component-input-otp.es.js +1 -1
- package/build/component-input.cjs.js +1 -1
- package/build/component-input.d.ts +62 -14
- package/build/component-input.es.js +2 -2
- package/build/component-map.cjs.js +1 -1
- package/build/component-map.es.js +1 -1
- package/build/{component-jPZYT5iL.js → component-mzzOCXSx.js} +12 -12
- package/build/component-mzzOCXSx.js.map +1 -0
- package/build/component-pagination.cjs.js +1 -1
- package/build/component-pagination.d.ts +18 -1
- package/build/component-pagination.es.js +1 -1
- package/build/component-range.cjs.js +1 -1
- package/build/component-range.d.ts +50 -4
- package/build/component-range.es.js +1 -1
- package/build/component-select.cjs.js +1 -1
- package/build/component-select.d.ts +48 -7
- package/build/component-select.es.js +1 -1
- package/build/component-stack.cjs.js +1 -1
- package/build/component-stack.d.ts +5 -7
- package/build/component-stack.es.js +1 -1
- package/build/component-textarea.cjs.js +1 -1
- package/build/component-textarea.d.ts +50 -7
- package/build/component-textarea.es.js +1 -1
- package/build/component-toggle.cjs.js +1 -1
- package/build/component-toggle.d.ts +51 -2
- package/build/component-toggle.es.js +1 -1
- package/build/component-tooltip.cjs.js +1 -1
- package/build/component-tooltip.d.ts +14 -2
- package/build/component-tooltip.es.js +1 -1
- package/build/component-typography.cjs.js +1 -1
- package/build/component-typography.d.ts +27 -13
- package/build/component-typography.es.js +7 -6
- package/build/component-typography.es.js.map +1 -1
- package/build/{component.components-DX0DVix5.js → component.components-C-EEYFsd.js} +4 -4
- package/build/{component.components-DX0DVix5.js.map → component.components-C-EEYFsd.js.map} +1 -1
- package/build/{component.components-H_qAeBHw.cjs → component.components-CC3IeZon.cjs} +2 -2
- package/build/{component.components-H_qAeBHw.cjs.map → component.components-CC3IeZon.cjs.map} +1 -1
- package/build/{component.constants-DjYLZpyY.js → component.constants-34RZJIiQ.js} +3 -3
- package/build/component.constants-34RZJIiQ.js.map +1 -0
- package/build/{component.constants-C7DGbAC8.js → component.constants-BxnfHAYp.js} +8 -8
- package/build/component.constants-BxnfHAYp.js.map +1 -0
- package/build/{component.constants-DwRduxMm.cjs → component.constants-CpRgeAIu.cjs} +3 -3
- package/build/component.constants-CpRgeAIu.cjs.map +1 -0
- package/build/{component.constants-veAUxKBd.cjs → component.constants-D6AJ1xmO.cjs} +2 -2
- package/build/component.constants-D6AJ1xmO.cjs.map +1 -0
- package/build/component.functions-D9ffjEok.cjs +8 -0
- package/build/component.functions-D9ffjEok.cjs.map +1 -0
- package/build/component.functions-DNW6h8kk.js +12 -0
- package/build/component.functions-DNW6h8kk.js.map +1 -0
- package/build/{component.styles--Ug3PJQ6.cjs → component.styles-4ycgapiT.cjs} +7 -7
- package/build/component.styles-4ycgapiT.cjs.map +1 -0
- package/build/{component.styles-DLU0S0KI.cjs → component.styles-B-bndnRM.cjs} +2 -2
- package/build/component.styles-B-bndnRM.cjs.map +1 -0
- package/build/{component.styles-C3hYZJGh.js → component.styles-B0FFHGeN.js} +26 -20
- package/build/component.styles-B0FFHGeN.js.map +1 -0
- package/build/component.styles-B0L4jbOO.js.map +1 -1
- package/build/{component.styles-C1p3V7H6.js → component.styles-BDKsgd6y.js} +32 -19
- package/build/component.styles-BDKsgd6y.js.map +1 -0
- package/build/{component.styles-Cje8zTpf.cjs → component.styles-BELwxHxh.cjs} +7 -7
- package/build/component.styles-BELwxHxh.cjs.map +1 -0
- package/build/{component.styles-BirbSbuD.js → component.styles-BEaqQuF_.js} +4 -4
- package/build/{component.styles-BirbSbuD.js.map → component.styles-BEaqQuF_.js.map} +1 -1
- package/build/{component.styles-DpgkACgI.js → component.styles-BGYbrzvh.js} +2 -2
- package/build/component.styles-BGYbrzvh.js.map +1 -0
- package/build/{component.styles-DSle6iuF.cjs → component.styles-BKnUDWqO.cjs} +2 -2
- package/build/component.styles-BKnUDWqO.cjs.map +1 -0
- package/build/component.styles-Bb7_KygZ.cjs +73 -0
- package/build/component.styles-Bb7_KygZ.cjs.map +1 -0
- package/build/{component.styles-DYS_AJ9F.js → component.styles-BbwS_Ekx.js} +9 -10
- package/build/{component.styles-DYS_AJ9F.js.map → component.styles-BbwS_Ekx.js.map} +1 -1
- package/build/component.styles-BeRVOt5T.cjs +137 -0
- package/build/{component.styles-Crx4pACx.cjs.map → component.styles-BeRVOt5T.cjs.map} +1 -1
- package/build/{component.styles-DX_3POUD.js → component.styles-CJC0h3Ed.js} +4 -4
- package/build/component.styles-CJC0h3Ed.js.map +1 -0
- package/build/{component.styles-CggIUAVx.js → component.styles-CZyAhUtW.js} +21 -10
- package/build/component.styles-CZyAhUtW.js.map +1 -0
- package/build/component.styles-CsB9986a.cjs +99 -0
- package/build/component.styles-CsB9986a.cjs.map +1 -0
- package/build/{component.styles-Bm3Ec-Kd.js → component.styles-DS0ofW1Y.js} +3 -3
- package/build/{component.styles-Bm3Ec-Kd.js.map → component.styles-DS0ofW1Y.js.map} +1 -1
- package/build/component.styles-DTnknwt_.js +94 -0
- package/build/component.styles-DTnknwt_.js.map +1 -0
- package/build/{component.styles-5Xz_H-fR.js → component.styles-DWS6xT-y.js} +32 -11
- package/build/component.styles-DWS6xT-y.js.map +1 -0
- package/build/component.styles-DbWj2stq.cjs +21 -0
- package/build/component.styles-DbWj2stq.cjs.map +1 -0
- package/build/component.styles-Dpg-__rn.cjs.map +1 -1
- package/build/component.styles-PNgt36ZD.cjs +225 -0
- package/build/component.styles-PNgt36ZD.cjs.map +1 -0
- package/build/{component.styles-Bfhg18CX.cjs → component.styles-Py-IeQ2q.cjs} +2 -2
- package/build/component.styles-Py-IeQ2q.cjs.map +1 -0
- package/build/{component.styles-v0YYECwW.js → component.styles-VrNFgg1_.js} +32 -12
- package/build/component.styles-VrNFgg1_.js.map +1 -0
- package/build/{component.styles-DhAMCZ71.cjs → component.styles-ZU_GyVub.cjs} +2 -2
- package/build/component.styles-ZU_GyVub.cjs.map +1 -0
- package/build/component.styles-gZHy-64x.cjs +13 -0
- package/build/component.styles-gZHy-64x.cjs.map +1 -0
- package/build/{component.styles-5CVyEjEh.js → component.styles-mcm1LgEr.js} +51 -23
- package/build/component.styles-mcm1LgEr.js.map +1 -0
- package/build/component.types-BBQ18Npa.js.map +1 -1
- package/build/{component.types-BzBjcohg.js → component.types-BhmQrqBu.js} +95 -68
- package/build/component.types-BhmQrqBu.js.map +1 -0
- package/build/component.types-CfR3RBsV.cjs +171 -0
- package/build/component.types-CfR3RBsV.cjs.map +1 -0
- package/build/component.types-DraGq1j_.cjs.map +1 -1
- package/build/context-app.cjs.js +1 -1
- package/build/context-app.es.js +1 -1
- package/build/context-dialog.cjs.js +1 -1
- package/build/context-dialog.d.ts +11 -4
- package/build/context-dialog.es.js +1 -1
- package/build/context-permission.d.ts +4 -4
- package/build/context-sonner.cjs.js +1 -1
- package/build/context-sonner.d.ts +42 -7
- package/build/context-sonner.es.js +1 -1
- package/build/{context.constants-B9Yk6CGe.js → context.constants-BCpaUfFz.js} +9 -6
- package/build/context.constants-BCpaUfFz.js.map +1 -0
- package/build/context.constants-BLQ_1jZI.cjs +32 -0
- package/build/context.constants-BLQ_1jZI.cjs.map +1 -0
- package/build/{context.constants-Bz_5itIx.js → context.constants-DOMoMUoD.js} +26 -9
- package/build/context.constants-DOMoMUoD.js.map +1 -0
- package/build/context.constants-cm50ZUiS.cjs +98 -0
- package/build/context.constants-cm50ZUiS.cjs.map +1 -0
- package/build/context.functions-80N-5MqM.cjs.map +1 -1
- package/build/context.functions-B8FDl7nJ.js.map +1 -1
- package/build/context.functions-BD15C8_y.js.map +1 -1
- package/build/context.functions-CQ9GerPb.js.map +1 -1
- package/build/context.functions-ar41xFVo.cjs.map +1 -1
- package/build/context.functions-ohI9H54j.cjs.map +1 -1
- package/build/context.hooks-7ydA7mGj.js.map +1 -1
- package/build/context.hooks-BIsapq-0.cjs.map +1 -1
- package/build/context.hooks-BmwyZ1p3.js.map +1 -1
- package/build/context.hooks-BzMTkJNv.js.map +1 -1
- package/build/{context.hooks-DTdppyho.js → context.hooks-CI5aQmpr.js} +4 -4
- package/build/context.hooks-CI5aQmpr.js.map +1 -0
- package/build/{context.hooks-BDEwJHqB.cjs → context.hooks-Ci37RyLf.cjs} +3 -3
- package/build/context.hooks-Ci37RyLf.cjs.map +1 -0
- package/build/context.hooks-D13tbrva.cjs.map +1 -1
- package/build/context.hooks-u408Pxw8.cjs.map +1 -1
- package/build/floating-ui.react--v70Xky9.cjs +2 -0
- package/build/floating-ui.react--v70Xky9.cjs.map +1 -0
- package/build/{component-BoHvC24Q.js → floating-ui.react-Byi6bLb1.js} +17 -704
- package/build/floating-ui.react-Byi6bLb1.js.map +1 -0
- package/build/index.cjs.js +1 -1
- package/build/index.d.ts +92 -100
- package/build/index.es.js +59 -57
- package/build/index.es.js.map +1 -1
- package/build/motion-CIQfrLky.js.map +1 -1
- package/build/motion-DgB7M2Hn.cjs.map +1 -1
- package/build/style-D3Lbn1EL.cjs +32 -0
- package/build/style-D3Lbn1EL.cjs.map +1 -0
- package/build/{style-mc2ST5fY.cjs → style-Df37KnoJ.cjs} +47 -18
- package/build/style-Df37KnoJ.cjs.map +1 -0
- package/build/{style-BgcnmVAY.js → style-RL73t3JD.js} +63 -20
- package/build/style-RL73t3JD.js.map +1 -0
- package/build/style-add.cjs.js +1 -1
- package/build/style-add.d.ts +57 -5
- package/build/style-add.es.js +11 -10
- package/build/style-error.cjs.js +1 -1
- package/build/style-error.d.ts +48 -7
- package/build/style-error.es.js +1 -1
- package/build/style-fRZ6xrVp.cjs.map +1 -1
- package/build/style-plT9Ah7t.js.map +1 -1
- package/build/style-theme.cjs.js +1 -1
- package/build/style-theme.d.ts +2 -2
- package/build/style-theme.es.js +1 -1
- package/build/{style-BQ653xOS.js → style-uVTmdhsH.js} +14 -5
- package/build/style-uVTmdhsH.js.map +1 -0
- package/build/{theme.global-CFUz5Asg.js → theme.global-BgERDJ4e.js} +36 -1
- package/build/theme.global-BgERDJ4e.js.map +1 -0
- package/build/{theme.global-B9t2Fi10.cjs → theme.global-CcoD5bPP.cjs} +2 -2
- package/build/theme.global-CcoD5bPP.cjs.map +1 -0
- package/build/{use-DTZ8c8_g.js → use-Bp4KNVye.js} +7 -7
- package/build/{use-DTZ8c8_g.js.map → use-Bp4KNVye.js.map} +1 -1
- package/build/use-Bp8UVw4Y.js.map +1 -1
- package/build/use-C1l0O0Qo.cjs.map +1 -1
- package/build/{use-D7IsSb34.cjs → use-DQDxWjzu.cjs} +2 -2
- package/build/{use-D7IsSb34.cjs.map → use-DQDxWjzu.cjs.map} +1 -1
- package/build/use-DT0XgvJT.js.map +1 -1
- package/build/use-IhzeVumv.cjs.map +1 -1
- package/package.json +4 -3
- package/build/area-BC64nSGj.js.map +0 -1
- package/build/area-C6QOr2Kd.cjs.map +0 -1
- package/build/area-D7906bXA.cjs.map +0 -1
- package/build/area-DRqAofd0.js.map +0 -1
- package/build/area-DnAf310m.cjs +0 -2
- package/build/area-DnAf310m.cjs.map +0 -1
- package/build/area-Dnq78ow6.js.map +0 -1
- package/build/component--Oo5_3xq.cjs.map +0 -1
- package/build/component-BV_7tGiu.cjs +0 -28
- package/build/component-BV_7tGiu.cjs.map +0 -1
- package/build/component-BcHiCCC9.js.map +0 -1
- package/build/component-BiNPQpCQ.cjs.map +0 -1
- package/build/component-BoHvC24Q.js.map +0 -1
- package/build/component-Bzw_uobM.js.map +0 -1
- package/build/component-C4ULY0c6.js.map +0 -1
- package/build/component-CACoGUK9.cjs +0 -251
- package/build/component-CACoGUK9.cjs.map +0 -1
- package/build/component-CQ8fy2gK.js.map +0 -1
- package/build/component-DHq4T6Ku.cjs.map +0 -1
- package/build/component-DfxlJBGv.js.map +0 -1
- package/build/component-Dn-VRY7-.cjs +0 -2
- package/build/component-Dn-VRY7-.cjs.map +0 -1
- package/build/component-jPZYT5iL.js.map +0 -1
- package/build/component-u_42PteJ.cjs +0 -90
- package/build/component-u_42PteJ.cjs.map +0 -1
- package/build/component.constants-C7DGbAC8.js.map +0 -1
- package/build/component.constants-DjYLZpyY.js.map +0 -1
- package/build/component.constants-DwRduxMm.cjs.map +0 -1
- package/build/component.constants-veAUxKBd.cjs.map +0 -1
- package/build/component.styles--Ug3PJQ6.cjs.map +0 -1
- package/build/component.styles-5CVyEjEh.js.map +0 -1
- package/build/component.styles-5Xz_H-fR.js.map +0 -1
- package/build/component.styles-8tkaznu_.cjs +0 -21
- package/build/component.styles-8tkaznu_.cjs.map +0 -1
- package/build/component.styles-Bfhg18CX.cjs.map +0 -1
- package/build/component.styles-BuzZQhqS.cjs +0 -73
- package/build/component.styles-BuzZQhqS.cjs.map +0 -1
- package/build/component.styles-C1p3V7H6.js.map +0 -1
- package/build/component.styles-C3hYZJGh.js.map +0 -1
- package/build/component.styles-CISd4naT.cjs +0 -13
- package/build/component.styles-CISd4naT.cjs.map +0 -1
- package/build/component.styles-CggIUAVx.js.map +0 -1
- package/build/component.styles-Cje8zTpf.cjs.map +0 -1
- package/build/component.styles-CpFA5YrM.js +0 -71
- package/build/component.styles-CpFA5YrM.js.map +0 -1
- package/build/component.styles-Crx4pACx.cjs +0 -137
- package/build/component.styles-DLU0S0KI.cjs.map +0 -1
- package/build/component.styles-DSle6iuF.cjs.map +0 -1
- package/build/component.styles-DX_3POUD.js.map +0 -1
- package/build/component.styles-Db3HLiuV.cjs +0 -99
- package/build/component.styles-Db3HLiuV.cjs.map +0 -1
- package/build/component.styles-DhAMCZ71.cjs.map +0 -1
- package/build/component.styles-DpgkACgI.js.map +0 -1
- package/build/component.styles-o7GmI4Ap.cjs +0 -225
- package/build/component.styles-o7GmI4Ap.cjs.map +0 -1
- package/build/component.styles-v0YYECwW.js.map +0 -1
- package/build/component.types-BzBjcohg.js.map +0 -1
- package/build/component.types-ydMLhabS.cjs +0 -174
- package/build/component.types-ydMLhabS.cjs.map +0 -1
- package/build/context.constants-B9Yk6CGe.js.map +0 -1
- package/build/context.constants-Bz_5itIx.js.map +0 -1
- package/build/context.constants-CTfUKury.cjs +0 -32
- package/build/context.constants-CTfUKury.cjs.map +0 -1
- package/build/context.constants-CV8ycctl.cjs +0 -100
- package/build/context.constants-CV8ycctl.cjs.map +0 -1
- package/build/context.hooks-BDEwJHqB.cjs.map +0 -1
- package/build/context.hooks-DTdppyho.js.map +0 -1
- package/build/style-B5u4pW5G.cjs +0 -32
- package/build/style-B5u4pW5G.cjs.map +0 -1
- package/build/style-BQ653xOS.js.map +0 -1
- package/build/style-BgcnmVAY.js.map +0 -1
- package/build/style-mc2ST5fY.cjs.map +0 -1
- package/build/theme.global-B9t2Fi10.cjs.map +0 -1
- package/build/theme.global-CFUz5Asg.js.map +0 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./component.styles-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./component.styles-CsB9986a.cjs");exports.StyledTextArea=e.StyledTextArea,exports.TextArea=e.TextArea,exports.TextAreaWrapper=e.TextAreaWrapper,exports.addTextArea=e.addTextArea;
|
|
2
2
|
//# sourceMappingURL=component-textarea.cjs.js.map
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { AddDollarSign } from '../..';
|
|
2
2
|
import { CSSObject } from 'styled-components';
|
|
3
|
+
import { CSSProperties } from 'react';
|
|
3
4
|
import { DefaultTheme } from 'styled-components';
|
|
4
5
|
import { DetailedHTMLProps } from 'react';
|
|
5
6
|
import { FocusEvent as FocusEvent_2 } from 'react';
|
|
@@ -21,11 +22,15 @@ declare interface addErrorProps {
|
|
|
21
22
|
error?: ErrorMessageProps;
|
|
22
23
|
}
|
|
23
24
|
|
|
25
|
+
declare type addFontProps = {
|
|
26
|
+
font?: FontSizeStylesProps;
|
|
27
|
+
};
|
|
28
|
+
|
|
24
29
|
declare interface addSXProps {
|
|
25
30
|
sx?: SXProps;
|
|
26
31
|
}
|
|
27
32
|
|
|
28
|
-
export declare const addTextArea: RuleSet<AddDollarSign<Pick<TextAreaProps_2, "size" | "isDisabled" | "error" | "genre" | "isLoading" | "isBold" | "isResize" | "isInputEffect"> & {
|
|
33
|
+
export declare const addTextArea: RuleSet<AddDollarSign<Pick<TextAreaProps_2, "size" | "font" | "isDisabled" | "error" | "genre" | "isLoading" | "isBold" | "isResize" | "isInputEffect"> & {
|
|
29
34
|
lineHeight: number;
|
|
30
35
|
}>>;
|
|
31
36
|
|
|
@@ -37,7 +42,7 @@ declare type AutoHeightTextAreaProps = BaseTextAreaProps & {
|
|
|
37
42
|
|
|
38
43
|
declare type BaseTextAreaProps = CommonTextAreaProps & (ControlledValue | UncontrolledValue);
|
|
39
44
|
|
|
40
|
-
declare type CommonTextAreaProps = addErrorProps & addSXProps & {
|
|
45
|
+
declare type CommonTextAreaProps = addErrorProps & addFontProps & addSXProps & {
|
|
41
46
|
name?: string;
|
|
42
47
|
autoComplete?: string;
|
|
43
48
|
id?: string;
|
|
@@ -50,6 +55,8 @@ declare type CommonTextAreaProps = addErrorProps & addSXProps & {
|
|
|
50
55
|
maxLength?: number;
|
|
51
56
|
minLength?: number;
|
|
52
57
|
isDisabled?: boolean;
|
|
58
|
+
isDisabledOutline?: boolean;
|
|
59
|
+
isOutlineBoxShadow?: boolean;
|
|
53
60
|
isResize?: boolean;
|
|
54
61
|
isLoading?: boolean;
|
|
55
62
|
isReadOnly?: boolean;
|
|
@@ -74,7 +81,7 @@ declare type ErrorMessageProps = {
|
|
|
74
81
|
isErrorAbsolute?: boolean;
|
|
75
82
|
size?: IThemeSize;
|
|
76
83
|
sx?: addSXProps['sx'];
|
|
77
|
-
};
|
|
84
|
+
} & addFontProps;
|
|
78
85
|
|
|
79
86
|
declare type FixedTextAreaProps = BaseTextAreaProps & {
|
|
80
87
|
isResize?: false | undefined;
|
|
@@ -82,8 +89,17 @@ declare type FixedTextAreaProps = BaseTextAreaProps & {
|
|
|
82
89
|
maxRows?: never;
|
|
83
90
|
};
|
|
84
91
|
|
|
92
|
+
declare type FontSizeStylesProps = {
|
|
93
|
+
size?: TypographyDataProps['size'];
|
|
94
|
+
weight?: TypographyDataProps['weight'];
|
|
95
|
+
family?: TypographyDataProps['family'];
|
|
96
|
+
height?: TypographyDataProps['height'];
|
|
97
|
+
};
|
|
98
|
+
|
|
85
99
|
declare type IThemeDevice = 'default' | 'tablet' | 'mobile';
|
|
86
100
|
|
|
101
|
+
declare type IThemeFontFamily = 'Inter' | 'Roboto' | 'Work Sans' | 'Roboto Mono' | 'Manrope';
|
|
102
|
+
|
|
87
103
|
declare type IThemeGenreName = 'gray' | 'grayBorder' | 'black' | 'blackBorder' | 'product' | 'productBorder' | 'white' | 'greenTransparent' | 'redTransparent' | 'yellowTransparent' | 'realebail-product' | 'realebail-gray' | 'realebail-white' | 'bustmarket-gray-violet' | 'bustmarket-gray' | 'bustmarket-violet' | 'bustmarket-white-violet';
|
|
88
104
|
|
|
89
105
|
declare type IThemeGenreTextArea = Record<Extract<IThemeGenreName, 'gray' | 'grayBorder' | 'blackBorder' | 'realebail-white'>, IThemeGenreTypeDefault>;
|
|
@@ -104,19 +120,23 @@ declare interface IThemeGenreTypeDefault {
|
|
|
104
120
|
};
|
|
105
121
|
}
|
|
106
122
|
|
|
123
|
+
declare type IThemePaletteKeys = 'transparent' | 'black100' | 'black80' | 'black60' | 'black50' | 'black40' | 'black10' | 'black05' | 'black04' | 'blackHelena' | 'blackJanice' | 'grayJanice' | 'grayKaren' | 'grayMonica' | 'graySandra' | 'grayPatricia' | 'graySarah' | 'grayStassie' | 'grayAdriana' | 'greenGoogle' | 'grayBarbara' | 'grayStephanie' | 'grayFrances' | 'grayTina' | 'green100' | 'green50' | 'green25' | 'green10' | 'green10Background' | 'whiteStandard' | 'whiteJanice' | 'yellowGoogle' | 'yellow100' | 'yellow50' | 'yellow25' | 'yellow10' | 'yellow10Background' | 'redGoogle' | 'red100' | 'red50' | 'red25' | 'red10' | 'red10Background' | 'blueGoogle' | 'blueRest' | 'blueActive' | 'blueHover' | 'blueFocus' | 'blueBr' | 'blueKaren' | 'blueMonica' | 'violetStephanie' | 'violetJanice' | 'amnezia' | 'inherit' | 'currentColor';
|
|
124
|
+
|
|
107
125
|
declare type IThemeSize = 'large' | 'largeMedium' | 'medium' | 'mediumSmall' | 'small';
|
|
108
126
|
|
|
127
|
+
declare type IThemeTypographyWeight = 100 | 300 | 400 | 500 | 700 | 900;
|
|
128
|
+
|
|
109
129
|
declare type ResizableTextAreaProps = BaseTextAreaProps & {
|
|
110
130
|
isResize: true;
|
|
111
131
|
isAutoHeight?: false | undefined;
|
|
112
132
|
maxRows?: never;
|
|
113
133
|
};
|
|
114
134
|
|
|
115
|
-
export declare const StyledTextArea: IStyledComponentBase<"web", Substitute<DetailedHTMLProps<TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement>, AddDollarSign<Pick<TextAreaProps_2, "size" | "isDisabled" | "error" | "genre" | "isLoading" | "isBold" | "isResize" | "isInputEffect"> & {
|
|
135
|
+
export declare const StyledTextArea: IStyledComponentBase<"web", Substitute<DetailedHTMLProps<TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement>, AddDollarSign<Pick<TextAreaProps_2, "size" | "font" | "isDisabled" | "error" | "genre" | "isLoading" | "isBold" | "isResize" | "isInputEffect"> & {
|
|
116
136
|
lineHeight: number;
|
|
117
137
|
}>>> & string;
|
|
118
138
|
|
|
119
|
-
export declare type StyledTextAreaProps = AddDollarSign_2<Pick<TextAreaProps, 'genre' | 'size' | 'error' | 'isLoading' | 'isInputEffect' | 'isDisabled' | 'isBold' | 'isResize'> & {
|
|
139
|
+
export declare type StyledTextAreaProps = AddDollarSign_2<Pick<TextAreaProps, 'genre' | 'size' | 'error' | 'isLoading' | 'isInputEffect' | 'isDisabled' | 'isBold' | 'isResize' | 'font'> & {
|
|
120
140
|
lineHeight: number;
|
|
121
141
|
}>;
|
|
122
142
|
|
|
@@ -136,14 +156,37 @@ export declare type TextAreaGenre = keyof IThemeGenreTextArea;
|
|
|
136
156
|
|
|
137
157
|
export declare type TextAreaProps = AutoHeightTextAreaProps | ResizableTextAreaProps | FixedTextAreaProps;
|
|
138
158
|
|
|
139
|
-
export declare const TextAreaWrapper: IStyledComponentBase<"web", Substitute<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, AddDollarSign<Pick<TextAreaProps_2, "size" | "sx" | "isDisabled" | "
|
|
159
|
+
export declare const TextAreaWrapper: IStyledComponentBase<"web", Substitute<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, AddDollarSign<Pick<TextAreaProps_2, "size" | "sx" | "isDisabled" | "isReadOnly" | "isDisabledOutline" | "isOutlineBoxShadow" | "genre" | "isInputEffect"> & {
|
|
140
160
|
lineHeight: number;
|
|
141
161
|
}>>> & string;
|
|
142
162
|
|
|
143
|
-
export declare type TextAreaWrapperProps = AddDollarSign_2<Pick<TextAreaProps, 'isDisabled' | 'isInputEffect' | 'sx' | 'size' | 'genre' | 'isReadOnly'> & {
|
|
163
|
+
export declare type TextAreaWrapperProps = AddDollarSign_2<Pick<TextAreaProps, 'isDisabled' | 'isInputEffect' | 'sx' | 'size' | 'genre' | 'isReadOnly' | 'isDisabledOutline' | 'isOutlineBoxShadow'> & {
|
|
144
164
|
lineHeight: number;
|
|
145
165
|
}>;
|
|
146
166
|
|
|
167
|
+
declare type TypographyDataProps = TypographyDefaultProps & {
|
|
168
|
+
size?: number;
|
|
169
|
+
};
|
|
170
|
+
|
|
171
|
+
declare type TypographyDefaultProps = {
|
|
172
|
+
align?: CSSProperties['textAlign'];
|
|
173
|
+
color?: IThemePaletteKeys;
|
|
174
|
+
cursor?: CSSProperties['cursor'];
|
|
175
|
+
decoration?: CSSProperties['textDecoration'];
|
|
176
|
+
family?: IThemeFontFamily;
|
|
177
|
+
flex?: string;
|
|
178
|
+
height?: number | string;
|
|
179
|
+
isHoverUnderlining?: boolean;
|
|
180
|
+
letterSpacing?: CSSProperties['letterSpacing'];
|
|
181
|
+
line?: number;
|
|
182
|
+
overflow?: CSSProperties['overflow'];
|
|
183
|
+
shadow?: 'shadowPulse';
|
|
184
|
+
transform?: CSSProperties['textTransform'];
|
|
185
|
+
weight?: IThemeTypographyWeight;
|
|
186
|
+
wrap?: CSSProperties['textWrap'];
|
|
187
|
+
isNoUserSelect?: boolean;
|
|
188
|
+
};
|
|
189
|
+
|
|
147
190
|
declare type UncontrolledValue = {
|
|
148
191
|
value?: never;
|
|
149
192
|
defaultValue: string;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./component.styles-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./component.styles-BELwxHxh.cjs");exports.Toggle=e.Toggle,exports.ToggleCenter=e.ToggleCenter,exports.ToggleWrapper=e.ToggleWrapper;
|
|
2
2
|
//# sourceMappingURL=component-toggle.cjs.js.map
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { Component } from 'react';
|
|
2
2
|
import { CSSObject } from 'styled-components';
|
|
3
|
+
import { CSSProperties } from 'react';
|
|
3
4
|
import { DefaultTheme } from 'styled-components';
|
|
4
5
|
import { ForwardRefComponent } from 'framer-motion';
|
|
5
6
|
import { HTMLMotionProps } from 'framer-motion';
|
|
@@ -18,6 +19,18 @@ declare interface addErrorProps {
|
|
|
18
19
|
|
|
19
20
|
declare type addErrorStylesProps = AddDollarSign<addErrorProps>;
|
|
20
21
|
|
|
22
|
+
declare type addFontProps = {
|
|
23
|
+
font?: FontSizeStylesProps;
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
declare type addOutlineProps = {
|
|
27
|
+
isReadOnly?: boolean;
|
|
28
|
+
isDisabledOutline?: boolean;
|
|
29
|
+
isOutlineBoxShadow?: boolean;
|
|
30
|
+
};
|
|
31
|
+
|
|
32
|
+
declare type addOutlinePropsDollar = AddDollarSign<addOutlineProps>;
|
|
33
|
+
|
|
21
34
|
declare interface addSXProps {
|
|
22
35
|
sx?: SXProps;
|
|
23
36
|
}
|
|
@@ -28,10 +41,19 @@ declare type ErrorMessageProps = {
|
|
|
28
41
|
isErrorAbsolute?: boolean;
|
|
29
42
|
size?: IThemeSize;
|
|
30
43
|
sx?: addSXProps['sx'];
|
|
44
|
+
} & addFontProps;
|
|
45
|
+
|
|
46
|
+
declare type FontSizeStylesProps = {
|
|
47
|
+
size?: TypographyDataProps['size'];
|
|
48
|
+
weight?: TypographyDataProps['weight'];
|
|
49
|
+
family?: TypographyDataProps['family'];
|
|
50
|
+
height?: TypographyDataProps['height'];
|
|
31
51
|
};
|
|
32
52
|
|
|
33
53
|
declare type IThemeDevice = 'default' | 'tablet' | 'mobile';
|
|
34
54
|
|
|
55
|
+
declare type IThemeFontFamily = 'Inter' | 'Roboto' | 'Work Sans' | 'Roboto Mono' | 'Manrope';
|
|
56
|
+
|
|
35
57
|
declare type IThemeGenreName = 'gray' | 'grayBorder' | 'black' | 'blackBorder' | 'product' | 'productBorder' | 'white' | 'greenTransparent' | 'redTransparent' | 'yellowTransparent' | 'realebail-product' | 'realebail-gray' | 'realebail-white' | 'bustmarket-gray-violet' | 'bustmarket-gray' | 'bustmarket-violet' | 'bustmarket-white-violet';
|
|
36
58
|
|
|
37
59
|
declare type IThemeGenreToggle = Record<Extract<IThemeGenreName, 'product'>, IThemeGenreTypeToggle>;
|
|
@@ -67,9 +89,13 @@ declare interface IThemeGenreTypeToggle {
|
|
|
67
89
|
};
|
|
68
90
|
}
|
|
69
91
|
|
|
92
|
+
declare type IThemePaletteKeys = 'transparent' | 'black100' | 'black80' | 'black60' | 'black50' | 'black40' | 'black10' | 'black05' | 'black04' | 'blackHelena' | 'blackJanice' | 'grayJanice' | 'grayKaren' | 'grayMonica' | 'graySandra' | 'grayPatricia' | 'graySarah' | 'grayStassie' | 'grayAdriana' | 'greenGoogle' | 'grayBarbara' | 'grayStephanie' | 'grayFrances' | 'grayTina' | 'green100' | 'green50' | 'green25' | 'green10' | 'green10Background' | 'whiteStandard' | 'whiteJanice' | 'yellowGoogle' | 'yellow100' | 'yellow50' | 'yellow25' | 'yellow10' | 'yellow10Background' | 'redGoogle' | 'red100' | 'red50' | 'red25' | 'red10' | 'red10Background' | 'blueGoogle' | 'blueRest' | 'blueActive' | 'blueHover' | 'blueFocus' | 'blueBr' | 'blueKaren' | 'blueMonica' | 'violetStephanie' | 'violetJanice' | 'amnezia' | 'inherit' | 'currentColor';
|
|
93
|
+
|
|
70
94
|
declare type IThemeSize = 'large' | 'largeMedium' | 'medium' | 'mediumSmall' | 'small';
|
|
71
95
|
|
|
72
|
-
|
|
96
|
+
declare type IThemeTypographyWeight = 100 | 300 | 400 | 500 | 700 | 900;
|
|
97
|
+
|
|
98
|
+
export declare type StyledToggleProps = AddDollarSign<Pick<ToggleProps, 'genre' | 'isDisabled' | 'value' | 'size'>> & addErrorStylesProps & addOutlinePropsDollar;
|
|
73
99
|
|
|
74
100
|
declare type SXProps = ({
|
|
75
101
|
default: CSSObject;
|
|
@@ -91,11 +117,34 @@ export declare type ToggleProps = {
|
|
|
91
117
|
isDisabled?: boolean;
|
|
92
118
|
genre: TToggleGenre;
|
|
93
119
|
size: IThemeSize;
|
|
94
|
-
} & addErrorProps;
|
|
120
|
+
} & addErrorProps & addOutlineProps;
|
|
95
121
|
|
|
96
122
|
/****************************************** Standard *************************************************/
|
|
97
123
|
export declare const ToggleWrapper: IStyledComponentBase<"web", Substitute<Omit<HTMLMotionProps<"div">, "ref"> & RefAttributes<HTMLDivElement>, StyledToggleProps>> & string & Omit<ForwardRefComponent<HTMLDivElement, HTMLMotionProps<"div">>, keyof Component<any, {}, any>>;
|
|
98
124
|
|
|
99
125
|
export declare type TToggleGenre = keyof IThemeGenreToggle;
|
|
100
126
|
|
|
127
|
+
declare type TypographyDataProps = TypographyDefaultProps & {
|
|
128
|
+
size?: number;
|
|
129
|
+
};
|
|
130
|
+
|
|
131
|
+
declare type TypographyDefaultProps = {
|
|
132
|
+
align?: CSSProperties['textAlign'];
|
|
133
|
+
color?: IThemePaletteKeys;
|
|
134
|
+
cursor?: CSSProperties['cursor'];
|
|
135
|
+
decoration?: CSSProperties['textDecoration'];
|
|
136
|
+
family?: IThemeFontFamily;
|
|
137
|
+
flex?: string;
|
|
138
|
+
height?: number | string;
|
|
139
|
+
isHoverUnderlining?: boolean;
|
|
140
|
+
letterSpacing?: CSSProperties['letterSpacing'];
|
|
141
|
+
line?: number;
|
|
142
|
+
overflow?: CSSProperties['overflow'];
|
|
143
|
+
shadow?: 'shadowPulse';
|
|
144
|
+
transform?: CSSProperties['textTransform'];
|
|
145
|
+
weight?: IThemeTypographyWeight;
|
|
146
|
+
wrap?: CSSProperties['textWrap'];
|
|
147
|
+
isNoUserSelect?: boolean;
|
|
148
|
+
};
|
|
149
|
+
|
|
101
150
|
export { }
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./component-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./component-BVnHSTJd.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
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { addFontProps as addFontProps_2 } from '../..';
|
|
1
2
|
import { addSXProps as addSXProps_2 } from '../..';
|
|
2
3
|
import { addSXTypographyProps as addSXTypographyProps_2 } from '../typography';
|
|
3
4
|
import { Component } from 'react';
|
|
@@ -16,6 +17,10 @@ import { RuleSet } from 'styled-components';
|
|
|
16
17
|
import { StackProps } from '../stack';
|
|
17
18
|
import { TButtonGenre as TButtonGenre_2 } from '../button';
|
|
18
19
|
|
|
20
|
+
declare type addFontProps = {
|
|
21
|
+
font?: FontSizeStylesProps;
|
|
22
|
+
};
|
|
23
|
+
|
|
19
24
|
declare interface addSXProps {
|
|
20
25
|
sx?: SXProps;
|
|
21
26
|
}
|
|
@@ -32,6 +37,13 @@ export declare const DEFAULT_TOOLTIP_OFFSET_FALLBACK: number;
|
|
|
32
37
|
|
|
33
38
|
export declare const DEFAULT_TOOLTIP_PLACEMENT_FALLBACK: Placement;
|
|
34
39
|
|
|
40
|
+
declare type FontSizeStylesProps = {
|
|
41
|
+
size?: TypographyDataProps['size'];
|
|
42
|
+
weight?: TypographyDataProps['weight'];
|
|
43
|
+
family?: TypographyDataProps['family'];
|
|
44
|
+
height?: TypographyDataProps['height'];
|
|
45
|
+
};
|
|
46
|
+
|
|
35
47
|
declare type IThemeDevice = 'default' | 'tablet' | 'mobile';
|
|
36
48
|
|
|
37
49
|
declare type IThemeFontFamily = 'Inter' | 'Roboto' | 'Work Sans' | 'Roboto Mono' | 'Manrope';
|
|
@@ -83,7 +95,7 @@ declare type PopoverProps = PropsWithChildren & {
|
|
|
83
95
|
ref?: Ref<HTMLElement | null>;
|
|
84
96
|
size?: IThemeSize;
|
|
85
97
|
genre?: TButtonGenre;
|
|
86
|
-
} & addSXProps & addSXTypographyProps;
|
|
98
|
+
} & addSXProps & addFontProps & addSXTypographyProps;
|
|
87
99
|
|
|
88
100
|
declare type SXProps = ({
|
|
89
101
|
default: CSSObject;
|
|
@@ -113,7 +125,7 @@ onClose?: () => void;
|
|
|
113
125
|
ref?: Ref<HTMLElement | null>;
|
|
114
126
|
size?: IThemeSize_2;
|
|
115
127
|
genre?: TButtonGenre_2;
|
|
116
|
-
} & addSXProps_2 & addSXTypographyProps_2, never>> & string & Omit<FC<PopoverProps>, keyof Component<any, {}, any>>;
|
|
128
|
+
} & addSXProps_2 & addFontProps_2 & addSXTypographyProps_2, never>> & string & Omit<FC<PopoverProps>, keyof Component<any, {}, any>>;
|
|
117
129
|
|
|
118
130
|
export declare const TooltipContainer: IStyledComponentBase<"web", FastOmit<StackProps, never>> & string & Omit<FC<StackProps>, keyof Component<any, {}, any>>;
|
|
119
131
|
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./component-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./component.functions-D9ffjEok.cjs"),e=require("./component-BVnHSTJd.cjs");exports.getFontSizeStyles=o.getFontSizeStyles,exports.Title=e.Title,exports.Typography=e.Typography,exports.TypographyLink=e.TypographyLink,exports.TypographyTooltip=e.TypographyTooltip,exports.addSXTypography=e.addSXTypography;
|
|
2
2
|
//# sourceMappingURL=component-typography.cjs.js.map
|
|
@@ -16,15 +16,25 @@ import { ReactNode } from 'react';
|
|
|
16
16
|
import { Ref } from 'react';
|
|
17
17
|
import { RuleSet } from 'styled-components';
|
|
18
18
|
import { Substitute } from 'styled-components/dist/types';
|
|
19
|
-
import { SXProps } from '../../styles/sx';
|
|
20
|
-
import { TypographySXProps as TypographySXProps_2 } from './component.types';
|
|
21
19
|
|
|
22
20
|
declare type AddDollarSign_2<T> = {
|
|
23
21
|
[K in keyof T as `$${string & K}`]: T[K];
|
|
24
22
|
};
|
|
25
23
|
|
|
24
|
+
declare type addFontProps = {
|
|
25
|
+
font?: FontSizeStylesProps;
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
declare type addOutlineProps = {
|
|
29
|
+
isReadOnly?: boolean;
|
|
30
|
+
isDisabledOutline?: boolean;
|
|
31
|
+
isOutlineBoxShadow?: boolean;
|
|
32
|
+
};
|
|
33
|
+
|
|
34
|
+
declare type addOutlinePropsDollar = AddDollarSign_2<addOutlineProps>;
|
|
35
|
+
|
|
26
36
|
declare interface addSXProps {
|
|
27
|
-
sx?:
|
|
37
|
+
sx?: SXProps;
|
|
28
38
|
}
|
|
29
39
|
|
|
30
40
|
export declare const addSXTypography: RuleSet<AddDollarSign<addSXTypographyProps_2>>;
|
|
@@ -35,6 +45,13 @@ export declare type addSXTypographyProps = {
|
|
|
35
45
|
|
|
36
46
|
export declare type addSXTypographyStyleProps = AddDollarSign_2<addSXTypographyProps>;
|
|
37
47
|
|
|
48
|
+
declare type FontSizeStylesProps = {
|
|
49
|
+
size?: TypographyDataProps['size'];
|
|
50
|
+
weight?: TypographyDataProps['weight'];
|
|
51
|
+
family?: TypographyDataProps['family'];
|
|
52
|
+
height?: TypographyDataProps['height'];
|
|
53
|
+
};
|
|
54
|
+
|
|
38
55
|
export declare const getFontSizeStyles: (size: TypographyDataProps["size"], weight: TypographyDataProps["weight"], family: TypographyDataProps["family"], height?: TypographyDataProps["height"]) => RuleSet<object>;
|
|
39
56
|
|
|
40
57
|
declare type IThemeDevice = 'default' | 'tablet' | 'mobile';
|
|
@@ -80,9 +97,9 @@ declare type PopoverProps = PropsWithChildren & {
|
|
|
80
97
|
ref?: Ref<HTMLElement | null>;
|
|
81
98
|
size?: IThemeSize;
|
|
82
99
|
genre?: TButtonGenre;
|
|
83
|
-
} & addSXProps & addSXTypographyProps;
|
|
100
|
+
} & addSXProps & addFontProps & addSXTypographyProps;
|
|
84
101
|
|
|
85
|
-
declare type
|
|
102
|
+
declare type SXProps = ({
|
|
86
103
|
default: CSSObject;
|
|
87
104
|
} & {
|
|
88
105
|
[K in IThemeDevice]?: CSSObject;
|
|
@@ -94,10 +111,7 @@ declare type SXProps_2 = ({
|
|
|
94
111
|
|
|
95
112
|
declare type TButtonGenre = keyof IThemeGenre;
|
|
96
113
|
|
|
97
|
-
export declare const Title: IStyledComponentBase<"web", Substitute<DetailedHTMLProps<HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>,
|
|
98
|
-
sxTypography: TypographySXProps_2;
|
|
99
|
-
sx?: SXProps;
|
|
100
|
-
}>>> & string;
|
|
114
|
+
export declare const Title: IStyledComponentBase<"web", Substitute<DetailedHTMLProps<HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, TypographyCSSProps>> & string;
|
|
101
115
|
|
|
102
116
|
declare type TooltipProps = PropsWithChildren & Pick<PopoverProps, 'genre' | 'size' | 'maxHeight' | 'maxWidth'> & {
|
|
103
117
|
content: ReactNode;
|
|
@@ -110,8 +124,8 @@ export declare type TypographyAllProps = TypographyDataProps | TypographyVariant
|
|
|
110
124
|
|
|
111
125
|
export declare type TypographyCSSProps = AddDollarSign_2<{
|
|
112
126
|
sxTypography: TypographySXProps;
|
|
113
|
-
sx?:
|
|
114
|
-
}
|
|
127
|
+
sx?: SXProps;
|
|
128
|
+
}> & addOutlinePropsDollar;
|
|
115
129
|
|
|
116
130
|
export declare type TypographyDataProps = TypographyDefaultProps & {
|
|
117
131
|
size?: number;
|
|
@@ -151,8 +165,8 @@ export declare type TypographyProps = PropsWithChildren & {
|
|
|
151
165
|
isSpan?: boolean;
|
|
152
166
|
ref?: Ref<HTMLElement | HTMLHeadingElement | HTMLAnchorElement | null>;
|
|
153
167
|
sx: TypographySXProps;
|
|
154
|
-
sxStandard?:
|
|
155
|
-
};
|
|
168
|
+
sxStandard?: SXProps;
|
|
169
|
+
} & addOutlineProps;
|
|
156
170
|
|
|
157
171
|
export declare type TypographySXProps = {
|
|
158
172
|
default: TypographyAllProps;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { g } from "./component.functions-DNW6h8kk.js";
|
|
2
|
+
import { h, i, j, k, g as g2 } from "./component-GtWqnaqk.js";
|
|
2
3
|
export {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
4
|
+
h as Title,
|
|
5
|
+
i as Typography,
|
|
6
|
+
j as TypographyLink,
|
|
7
|
+
k as TypographyTooltip,
|
|
8
|
+
g2 as addSXTypography,
|
|
8
9
|
g as getFontSizeStyles
|
|
9
10
|
};
|
|
10
11
|
//# sourceMappingURL=component-typography.es.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"component-typography.es.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"component-typography.es.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}
|
|
@@ -3,9 +3,9 @@ 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-
|
|
7
|
-
import "./theme.global-
|
|
8
|
-
import "./component.styles-
|
|
6
|
+
import { c as Button } from "./component-CN6att4f.js";
|
|
7
|
+
import "./theme.global-BgERDJ4e.js";
|
|
8
|
+
import "./component.styles-DS0ofW1Y.js";
|
|
9
9
|
import "./component.styles-B0L4jbOO.js";
|
|
10
10
|
import styled, { css } from "styled-components";
|
|
11
11
|
import leaflet from "leaflet";
|
|
@@ -368,4 +368,4 @@ export {
|
|
|
368
368
|
customTextIcon as i,
|
|
369
369
|
customDefaultIcon as j
|
|
370
370
|
};
|
|
371
|
-
//# sourceMappingURL=component.components-
|
|
371
|
+
//# sourceMappingURL=component.components-C-EEYFsd.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"component.components-DX0DVix5.js","sources":["../src/components/map/component.constants.tsx","../src/components/map/component.map-cluster.tsx","../src/components/map/component.map-dot.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"],"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 { 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 MapCluster = <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 customDefaultIcon,\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} 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","import leaflet from 'leaflet';\nimport 'leaflet.markercluster';\n\nimport { Marker, Popup } from 'react-leaflet';\nimport MarkerClusterGroup from 'react-leaflet-markercluster';\n\nimport { createClusterIcon, customTextIcon, MarkerClusterProps } from '.';\n\nexport const MarkerCluster = <T extends object>(props: MarkerClusterProps<T>) => {\n return (\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","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 { useDeepCompareMemoize } from '@local/hooks/use-deep-compare-memoize';\n\nimport { useCallback, useEffect, useState } from 'react';\nimport { useMap } from 'react-leaflet';\n\nimport { Button } from '../button';\nimport { UpdateMapSettingsProps } from '.';\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 >\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={(e) => {\n e.preventDefault();\n e.stopPropagation();\n handleZoomIn();\n }}\n onMouseDown={(e) => {\n e.preventDefault();\n e.stopPropagation();\n }}\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={(e) => {\n e.preventDefault();\n e.stopPropagation();\n handleZoomOut();\n }}\n onMouseDown={(e) => {\n e.preventDefault();\n e.stopPropagation();\n }}\n />\n </div>\n );\n}\n"],"names":["jsx","jsxs"],"mappings":";;;;;;;;;;;;;AAIO,MAAM,uBAAuB;AAC7B,MAAM,uBAAuB;AAC7B,MAAM,mBAAmB;AACzB,MAAM,qBAAuC,CAAC,WAAW,UAAU;AACnE,MAAM,oBA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A,YAEF,SAAS,CAAC,MAAM;AACd,gBAAE,eAAA;AACF,gBAAE,gBAAA;AACF,2BAAA;AAAA,YAAa;AAAA,YAEf,aAAa,CAAC,MAAM;AAClB,gBAAE,eAAA;AACF,gBAAE,gBAAA;AAAA,YAAgB;AAAA,UACpB;AAAA,QAAA;AAAA,QAEFA,kCAAAA;AAAAA,UAAC;AAAA,UAAA;AAAA,YACC,gBAAc;AAAA,YACd,OAAM;AAAA,YACN,UAAU,CAAC;AAAA,YACX,YAAY,CAAC;AAAA,YACb,iBAAe;AAAA,YACf,MAAK;AAAA,YACL,OAAO;AAAA,cACL;AAAA,gBACE,MAAM;AAAA,gBACN,MAAM;AAAA,gBACN,MAAM;AAAA,cAAA;AAAA,YACR;AAAA,YAEF,IAAI;AAAA,cACF,SAAS;AAAA,gBACP,eAAe;AAAA,cAAA;AAAA,YACjB;AAAA,YAEF,SAAS,CAAC,MAAM;AACd,gBAAE,eAAA;AACF,gBAAE,gBAAA;AACF,4BAAA;AAAA,YAAc;AAAA,YAEhB,aAAa,CAAC,MAAM;AAClB,gBAAE,eAAA;AACF,gBAAE,gBAAA;AAAA,YAAgB;AAAA,UACpB;AAAA,QAAA;AAAA,MACF;AAAA,IAAA;AAAA,EAAA;AAGN;"}
|
|
1
|
+
{"version":3,"file":"component.components-C-EEYFsd.js","sources":["../src/components/map/component.constants.tsx","../src/components/map/component.map-cluster.tsx","../src/components/map/component.map-dot.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"],"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 { 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 MapCluster = <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 customDefaultIcon,\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} 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","import leaflet from 'leaflet';\nimport 'leaflet.markercluster';\n\nimport { Marker, Popup } from 'react-leaflet';\nimport MarkerClusterGroup from 'react-leaflet-markercluster';\n\nimport { createClusterIcon, customTextIcon, MarkerClusterProps } from '.';\n\nexport const MarkerCluster = <T extends object>(props: MarkerClusterProps<T>) => {\n return (\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","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 { useDeepCompareMemoize } from '@local/hooks/use-deep-compare-memoize';\n\nimport { useCallback, useEffect, useState } from 'react';\nimport { useMap } from 'react-leaflet';\n\nimport { Button } from '../button';\nimport { UpdateMapSettingsProps } from '.';\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 >\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={(e) => {\n e.preventDefault();\n e.stopPropagation();\n handleZoomIn();\n }}\n onMouseDown={(e) => {\n e.preventDefault();\n e.stopPropagation();\n }}\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={(e) => {\n e.preventDefault();\n e.stopPropagation();\n handleZoomOut();\n }}\n onMouseDown={(e) => {\n e.preventDefault();\n e.stopPropagation();\n }}\n />\n </div>\n );\n}\n"],"names":["jsx","jsxs"],"mappings":";;;;;;;;;;;;;AAIO,MAAM,uBAAuB;AAC7B,MAAM,uBAAuB;AAC7B,MAAM,mBAAmB;AACzB,MAAM,qBAAuC,CAAC,WAAW,UAAU;AACnE,MAAM,oBAA8B,aAAa,KAAK,CAAC,MAAM,EAAE,SAAS,eAAe,KAAK,aAAa,CAAC;ACY1G,MAAM,aAAa,CAAmB,UAAuB;AAClE,QAAM,CAAC,OAAO,QAAQ,IAAI,SAAS,MAAM,SAAS,kBAAkB;AACpE,QAAM,CAAC,QAAQ,SAAS,IAAI,SAAS,MAAM,MAAM;AAEjD,YAAU,MAAM;AACd,aAAS,MAAM,KAAK;AAAA,EAAA,GACnB,CAAC,MAAM,KAAK,CAAC;AAEhB,YAAU,MAAM;AACd,QAAI,MAAM,QAAQ;AAChB,gBAAU,MAAM,MAAM;AAAA,IAAA;AAAA,EACxB,GACC,CAAC,MAAM,MAAM,CAAC;AAEjB,SACE,UACA,SACEA,kCAAAA,IAAC,YAAA,EAAW,OAAO,MAAM,OACvB,UAAAC,kCAAAA;AAAAA,IA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