@apollion-dsi/core 4.2.0 → 4.3.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.
- package/CHANGELOG.md +1357 -0
- package/lib/chunks/{chunk-IRNKRTAS.esm.js → chunk-2KJKXHNI.esm.js} +1 -1
- package/lib/chunks/chunk-2SHYFDQJ.esm.js +1 -0
- package/lib/chunks/chunk-2SPVSCZD.esm.js +1 -0
- package/lib/chunks/chunk-2UZJN6MC.esm.js +1 -0
- package/lib/chunks/chunk-2XDK6NU7.esm.js +1 -0
- package/lib/chunks/chunk-2YY7A36W.esm.js +7 -0
- package/lib/chunks/chunk-36DSWGPF.esm.js +1 -0
- package/lib/chunks/{chunk-647HGDL2.esm.js → chunk-3DBECAG6.esm.js} +1 -1
- package/lib/chunks/chunk-3EOSES4S.esm.js +1 -0
- package/lib/chunks/chunk-3GNAZ6RE.esm.js +1 -0
- package/lib/chunks/chunk-3MTWHDSL.esm.js +1 -0
- package/lib/chunks/chunk-3XA4AMQO.esm.js +1 -0
- package/lib/chunks/chunk-3XYKHZQ7.esm.js +1 -0
- package/lib/chunks/chunk-45A4O6KJ.esm.js +1 -0
- package/lib/chunks/chunk-4CULNDXB.esm.js +1 -0
- package/lib/chunks/chunk-4KIBOLH7.esm.js +1 -0
- package/lib/chunks/chunk-4QTXOCPV.esm.js +1 -0
- package/lib/chunks/chunk-4U3WQPBJ.esm.js +1 -0
- package/lib/chunks/chunk-4YCPDIRM.esm.js +1 -0
- package/lib/chunks/chunk-54QUAVTF.esm.js +1 -0
- package/lib/chunks/chunk-54SSYOYD.esm.js +3 -0
- package/lib/chunks/chunk-5JVXGQDO.esm.js +1 -0
- package/lib/chunks/chunk-5LDDQB4W.esm.js +39 -0
- package/lib/chunks/chunk-5MYNYSMN.esm.js +1 -0
- package/lib/chunks/chunk-5NJB5W4I.esm.js +5 -0
- package/lib/chunks/chunk-5REIPBPG.esm.js +1 -0
- package/lib/chunks/chunk-64KQOQC4.esm.js +1 -0
- package/lib/chunks/chunk-6G72BOTI.esm.js +1 -0
- package/lib/chunks/chunk-6JRXJ7MG.esm.js +1 -0
- package/lib/chunks/chunk-6NL46PCZ.esm.js +1 -0
- package/lib/chunks/chunk-6R7YWF2Z.esm.js +1 -0
- package/lib/chunks/chunk-6RPTXDUB.esm.js +1 -0
- package/lib/chunks/chunk-6SZWWC4Q.esm.js +1 -0
- package/lib/chunks/chunk-6TWTLAW6.esm.js +1 -0
- package/lib/chunks/chunk-7LP5XKKC.esm.js +1 -0
- package/lib/chunks/chunk-7OVK4XCS.esm.js +1 -0
- package/lib/chunks/chunk-7UZDT7GB.esm.js +1 -0
- package/lib/chunks/{chunk-UV4JLDXM.esm.js → chunk-7XEMCDIL.esm.js} +1 -1
- package/lib/chunks/{chunk-ML7UT5D4.esm.js → chunk-A2YKZFIC.esm.js} +1 -1
- package/lib/chunks/chunk-A7O6RO5P.esm.js +1 -0
- package/lib/chunks/chunk-AAZAZG7P.esm.js +1 -0
- package/lib/chunks/{chunk-HZ2SC3K5.esm.js → chunk-AEQRNR7W.esm.js} +1 -1
- package/lib/chunks/chunk-AN3NCXEO.esm.js +1 -0
- package/lib/chunks/{chunk-WOAHMAHX.esm.js → chunk-AUYB77M7.esm.js} +1 -1
- package/lib/chunks/chunk-AVZENFPL.esm.js +1 -0
- package/lib/chunks/chunk-AZBWA3B4.esm.js +1 -0
- package/lib/chunks/chunk-B7OYYZKE.esm.js +1 -0
- package/lib/chunks/chunk-BHNSYSNP.esm.js +1 -0
- package/lib/chunks/chunk-BRASYKXY.esm.js +1 -0
- package/lib/chunks/chunk-BT6SPTZZ.esm.js +1 -0
- package/lib/chunks/chunk-BVDH4EAW.esm.js +1 -0
- package/lib/chunks/chunk-C3Q2NI5Y.esm.js +1 -0
- package/lib/chunks/chunk-CI3LQ5Z4.esm.js +1 -0
- package/lib/chunks/chunk-CK44WPHP.esm.js +1 -0
- package/lib/chunks/chunk-COECHEDM.esm.js +1 -0
- package/lib/chunks/chunk-CVGYBYMT.esm.js +1 -0
- package/lib/chunks/chunk-CYURSPLT.esm.js +1 -0
- package/lib/chunks/chunk-DHT35FQI.esm.js +1 -0
- package/lib/chunks/chunk-DLSSYVEF.esm.js +1 -0
- package/lib/chunks/chunk-DNHRB3DD.esm.js +1 -0
- package/lib/chunks/chunk-DOTMXDHA.esm.js +1 -0
- package/lib/chunks/chunk-DX5SUG7X.esm.js +1 -0
- package/lib/chunks/chunk-E7BQGRVC.esm.js +1 -0
- package/lib/chunks/chunk-ECG53OTX.esm.js +1 -0
- package/lib/chunks/chunk-EET35TCO.esm.js +1 -0
- package/lib/chunks/chunk-F4EQMQVX.esm.js +1 -0
- package/lib/chunks/{chunk-U52YU5MJ.esm.js → chunk-F4W6VVDR.esm.js} +1 -1
- package/lib/chunks/chunk-F6G4T4BC.esm.js +1 -0
- package/lib/chunks/chunk-FJYSLGUG.esm.js +1 -0
- package/lib/chunks/chunk-FU2BNX4H.esm.js +1 -0
- package/lib/chunks/chunk-GFWFGNY2.esm.js +1 -0
- package/lib/chunks/chunk-GHDTMBCC.esm.js +1 -0
- package/lib/chunks/chunk-GU2BMTY3.esm.js +1 -0
- package/lib/chunks/chunk-H3I27KWU.esm.js +1 -0
- package/lib/chunks/chunk-H6SPQGDR.esm.js +1 -0
- package/lib/chunks/chunk-H7A2HNAK.esm.js +1 -0
- package/lib/chunks/chunk-HALV3U5Q.esm.js +1 -0
- package/lib/chunks/chunk-HBNFXZF6.esm.js +1 -0
- package/lib/chunks/chunk-HGISQ7M2.esm.js +1 -0
- package/lib/chunks/chunk-HMF62LQQ.esm.js +34 -0
- package/lib/chunks/chunk-HVWC77NL.esm.js +1 -0
- package/lib/chunks/chunk-HYYPCRHW.esm.js +1 -0
- package/lib/chunks/chunk-HZN744T5.esm.js +11 -0
- package/lib/chunks/chunk-I3GVQWLB.esm.js +1 -0
- package/lib/chunks/chunk-I4U5XMHR.esm.js +34 -0
- package/lib/chunks/chunk-I7ZFKBFU.esm.js +1 -0
- package/lib/chunks/chunk-IKTV35RB.esm.js +1 -0
- package/lib/chunks/chunk-IWA4TZOX.esm.js +1 -0
- package/lib/chunks/chunk-JA3DGZX4.esm.js +1 -0
- package/lib/chunks/chunk-JCTTBIBO.esm.js +3 -0
- package/lib/chunks/chunk-JFUYVECK.esm.js +1 -0
- package/lib/chunks/chunk-JH5RXKZ2.esm.js +1 -0
- package/lib/chunks/chunk-JHHNSZJ4.esm.js +1 -0
- package/lib/chunks/chunk-JI7MAUMF.esm.js +1 -0
- package/lib/chunks/chunk-JQBQ6X4L.esm.js +1 -0
- package/lib/chunks/chunk-JR7YIS3H.esm.js +1 -0
- package/lib/chunks/chunk-JSUB6SAI.esm.js +1 -0
- package/lib/chunks/chunk-JXUDEW5J.esm.js +1 -0
- package/lib/chunks/chunk-JYC747DK.esm.js +1 -0
- package/lib/chunks/chunk-JYJB3XFZ.esm.js +1 -0
- package/lib/chunks/chunk-JZ2GRYKU.esm.js +1 -0
- package/lib/chunks/chunk-K4OTLUX6.esm.js +1 -0
- package/lib/chunks/chunk-K7LQ6B4H.esm.js +1 -0
- package/lib/chunks/chunk-KBGPPCMN.esm.js +1 -0
- package/lib/chunks/chunk-KFZOV7RP.esm.js +1 -0
- package/lib/chunks/chunk-KLZX757F.esm.js +1 -0
- package/lib/chunks/chunk-KRF3FMDH.esm.js +1 -0
- package/lib/chunks/chunk-KUDPW647.esm.js +1 -0
- package/lib/chunks/chunk-KVDN4KYZ.esm.js +1 -0
- package/lib/chunks/chunk-KVKG7TA6.esm.js +1 -0
- package/lib/chunks/{chunk-KZAT23YY.esm.js → chunk-KWNMOR3V.esm.js} +1 -1
- package/lib/chunks/chunk-KY47BE3L.esm.js +11 -0
- package/lib/chunks/chunk-L5HTMWK3.esm.js +34 -0
- package/lib/chunks/chunk-LF7E7QNQ.esm.js +39 -0
- package/lib/chunks/chunk-LJB6XGSJ.esm.js +1 -0
- package/lib/chunks/chunk-LJBLVEW3.esm.js +1 -0
- package/lib/chunks/chunk-LL6B4Q4R.esm.js +1 -0
- package/lib/chunks/chunk-LNZUAANS.esm.js +1 -0
- package/lib/chunks/chunk-LQLFJFW5.esm.js +1 -0
- package/lib/chunks/chunk-LVZPZN7J.esm.js +1 -0
- package/lib/chunks/chunk-M3FW2CUQ.esm.js +1 -0
- package/lib/chunks/chunk-M42E74U7.esm.js +7 -0
- package/lib/chunks/chunk-M4RSCRNV.esm.js +1 -0
- package/lib/chunks/chunk-MELVMDJS.esm.js +1 -0
- package/lib/chunks/chunk-MOVHB5R6.esm.js +1 -0
- package/lib/chunks/chunk-MQ6O5OZV.esm.js +1 -0
- package/lib/chunks/chunk-MRYAZXVW.esm.js +1 -0
- package/lib/chunks/chunk-MSYUZESJ.esm.js +1 -0
- package/lib/chunks/chunk-MWA2LY4C.esm.js +1 -0
- package/lib/chunks/chunk-NCDS76KS.esm.js +34 -0
- package/lib/chunks/chunk-NEZEK6DI.esm.js +1 -0
- package/lib/chunks/chunk-NFH2KYS6.esm.js +39 -0
- package/lib/chunks/chunk-NKAD33SH.esm.js +7 -0
- package/lib/chunks/chunk-NNMANTYE.esm.js +1 -0
- package/lib/chunks/chunk-NRVKDR2H.esm.js +1 -0
- package/lib/chunks/chunk-NVFKTKHY.esm.js +1 -0
- package/lib/chunks/chunk-NWFODMOU.esm.js +1 -0
- package/lib/chunks/chunk-NZ7IRFNC.esm.js +3 -0
- package/lib/chunks/chunk-NZXX3OP5.esm.js +1 -0
- package/lib/chunks/chunk-O4SSOOVR.esm.js +1 -0
- package/lib/chunks/chunk-ODLNO4ZY.esm.js +1 -0
- package/lib/chunks/chunk-OFRYNRTE.esm.js +1 -0
- package/lib/chunks/chunk-OJ57H6MJ.esm.js +1 -0
- package/lib/chunks/chunk-OLURMBK7.esm.js +1 -0
- package/lib/chunks/chunk-OT6DKXSK.esm.js +1 -0
- package/lib/chunks/chunk-OURRSDSK.esm.js +1 -0
- package/lib/chunks/chunk-P2GR72UO.esm.js +3 -0
- package/lib/chunks/chunk-PBY237H5.esm.js +1 -0
- package/lib/chunks/chunk-PDLC7ADP.esm.js +1 -0
- package/lib/chunks/chunk-PLD34GGH.esm.js +1 -0
- package/lib/chunks/chunk-PLNB3X4T.esm.js +1 -0
- package/lib/chunks/chunk-PU64MH2S.esm.js +1 -0
- package/lib/chunks/chunk-QERJQEN4.esm.js +1 -0
- package/lib/chunks/chunk-QHTVTYNN.esm.js +1 -0
- package/lib/chunks/chunk-QNM5SXM3.esm.js +1 -0
- package/lib/chunks/chunk-QNPYZUVO.esm.js +1 -0
- package/lib/chunks/chunk-QS6Q6GHV.esm.js +11 -0
- package/lib/chunks/chunk-R2GYRTGM.esm.js +1 -0
- package/lib/chunks/chunk-R4QAAHWP.esm.js +26 -0
- package/lib/chunks/chunk-R5SPL4S3.esm.js +1 -0
- package/lib/chunks/chunk-RHUIIG22.esm.js +1 -0
- package/lib/chunks/chunk-RKDE2LI7.esm.js +1 -0
- package/lib/chunks/chunk-RPBY7HBP.esm.js +1 -0
- package/lib/chunks/chunk-RY7RJOZL.esm.js +1 -0
- package/lib/chunks/chunk-S2U4FRYY.esm.js +1 -0
- package/lib/chunks/chunk-SB25H273.esm.js +1 -0
- package/lib/chunks/chunk-SBYW6WBS.esm.js +1 -0
- package/lib/chunks/chunk-SK2A2ORL.esm.js +1 -0
- package/lib/chunks/chunk-SKGADW2H.esm.js +1 -0
- package/lib/chunks/chunk-SWQTC4EJ.esm.js +1 -0
- package/lib/chunks/chunk-T3WYK7NJ.esm.js +1 -0
- package/lib/chunks/chunk-T5V5Q4OQ.esm.js +1 -0
- package/lib/chunks/chunk-T72PRHJO.esm.js +5 -0
- package/lib/chunks/chunk-TLVEHSRT.esm.js +1 -0
- package/lib/chunks/chunk-TXM2WOJQ.esm.js +11 -0
- package/lib/chunks/{chunk-YDNT43PU.esm.js → chunk-UCG2YEOT.esm.js} +1 -1
- package/lib/chunks/chunk-UZ7XKTKF.esm.js +26 -0
- package/lib/chunks/chunk-V3ULKCWJ.esm.js +1 -0
- package/lib/chunks/chunk-VASGJ75E.esm.js +5 -0
- package/lib/chunks/chunk-VCZTIJKQ.esm.js +1 -0
- package/lib/chunks/chunk-VM7X3PSR.esm.js +1 -0
- package/lib/chunks/chunk-VU67Q7IC.esm.js +1 -0
- package/lib/chunks/chunk-VUNN4DHK.esm.js +1 -0
- package/lib/chunks/chunk-VV4MXKUA.esm.js +1 -0
- package/lib/chunks/chunk-W7YMNIET.esm.js +1 -0
- package/lib/chunks/chunk-WAQEMQ3B.esm.js +1 -0
- package/lib/chunks/{chunk-2SJJL3C4.esm.js → chunk-WBATNNAP.esm.js} +1 -1
- package/lib/chunks/chunk-WHBPGXIC.esm.js +1 -0
- package/lib/chunks/chunk-WM2CMDXP.esm.js +1 -0
- package/lib/chunks/chunk-WOALLU3S.esm.js +39 -0
- package/lib/chunks/chunk-WOU7QPMN.esm.js +1 -0
- package/lib/chunks/chunk-WOZVCKNG.esm.js +1 -0
- package/lib/chunks/chunk-WU7I2JQ5.esm.js +1 -0
- package/lib/chunks/chunk-WWQY2YDB.esm.js +1 -0
- package/lib/chunks/chunk-WWZ35IZM.esm.js +1 -0
- package/lib/chunks/chunk-X2LHYMPI.esm.js +1 -0
- package/lib/chunks/chunk-X3NMNOPQ.esm.js +1 -0
- package/lib/chunks/chunk-XEUQ2ZZ7.esm.js +1 -0
- package/lib/chunks/chunk-XMBJFIWC.esm.js +1 -0
- package/lib/chunks/chunk-XNGGM6D6.esm.js +1 -0
- package/lib/chunks/chunk-XQFKZ32H.esm.js +5 -0
- package/lib/chunks/chunk-XSVOUWBC.esm.js +1 -0
- package/lib/chunks/chunk-Y23HEGMY.esm.js +1 -0
- package/lib/chunks/chunk-Y36YHL7V.esm.js +1 -0
- package/lib/chunks/chunk-YD3Z2NRS.esm.js +1 -0
- package/lib/chunks/chunk-YHC57GR4.esm.js +1 -0
- package/lib/chunks/chunk-YHU6QYT4.esm.js +1 -0
- package/lib/chunks/chunk-YLANWXT5.esm.js +1 -0
- package/lib/chunks/chunk-YRGWNW2J.esm.js +1 -0
- package/lib/chunks/chunk-YYXB4LM2.esm.js +1 -0
- package/lib/chunks/chunk-ZMINZ3YX.esm.js +1 -0
- package/lib/chunks/chunk-ZOKGGTX5.esm.js +1 -0
- package/lib/chunks/chunk-ZQDA6U5L.esm.js +1 -0
- package/lib/chunks/chunk-ZWHJNG4B.esm.js +26 -0
- package/lib/containers/Base/index.esm.js +1 -1
- package/lib/containers/Card/index.esm.js +1 -1
- package/lib/containers/Content/index.esm.js +1 -1
- package/lib/containers/Flex/index.esm.js +1 -1
- package/lib/containers/Grid/index.esm.js +1 -1
- package/lib/containers/Notification/index.esm.js +1 -1
- package/lib/containers/Paper/index.esm.js +1 -1
- package/lib/containers/Scroll/index.esm.js +1 -1
- package/lib/containers/index.esm.js +1 -1
- package/lib/dataDisplay/DataTable/index.esm.js +1 -1
- package/lib/dataDisplay/DescriptionList/index.esm.js +1 -1
- package/lib/dataDisplay/Table/Table/index.esm.js +1 -1
- package/lib/dataDisplay/Table/TableBody/index.esm.js +1 -1
- package/lib/dataDisplay/Table/TableCell/index.esm.js +1 -1
- package/lib/dataDisplay/Table/TableCheckboxCell/index.esm.js +1 -1
- package/lib/dataDisplay/Table/TableEmpty/index.esm.js +1 -1
- package/lib/dataDisplay/Table/TableFooter/index.esm.js +1 -1
- package/lib/dataDisplay/Table/TableHeader/index.esm.js +1 -1
- package/lib/dataDisplay/Table/TableHeaderCell/index.esm.js +1 -1
- package/lib/dataDisplay/Table/TableHeaderCheckboxCell/index.esm.js +1 -1
- package/lib/dataDisplay/Table/TablePagination/index.esm.js +1 -1
- package/lib/dataDisplay/Table/TableRow/index.esm.js +1 -1
- package/lib/dataDisplay/Table/index.esm.js +1 -1
- package/lib/dataDisplay/Tabs/index.esm.js +1 -1
- package/lib/dataDisplay/index.esm.js +1 -1
- package/lib/elements/Avatar/index.esm.js +1 -1
- package/lib/elements/Button/index.esm.js +1 -1
- package/lib/elements/Calendar/index.esm.js +1 -1
- package/lib/elements/Dropdown/index.esm.js +1 -1
- package/lib/elements/Icon/index.esm.js +1 -1
- package/lib/elements/IconButton/index.esm.js +1 -1
- package/lib/elements/Image/index.esm.js +1 -1
- package/lib/elements/Label/index.esm.js +1 -1
- package/lib/elements/Link/index.esm.js +1 -1
- package/lib/elements/List/index.esm.js +1 -1
- package/lib/elements/Modal/index.esm.js +1 -1
- package/lib/elements/Popover/index.esm.js +1 -1
- package/lib/elements/ProgressBar/index.esm.js +1 -1
- package/lib/elements/Spinner/index.esm.js +1 -1
- package/lib/elements/Svg/index.esm.js +1 -1
- package/lib/elements/Text/index.esm.js +1 -1
- package/lib/elements/Tooltip/index.esm.js +1 -1
- package/lib/elements/index.esm.js +1 -1
- package/lib/factory/DeepFactory/index.esm.js +1 -1
- package/lib/factory/ResponsiveFactory/index.esm.js +1 -1
- package/lib/factory/System/index.esm.js +1 -1
- package/lib/factory/index.esm.js +1 -1
- package/lib/form/Checkbox/index.esm.js +1 -1
- package/lib/form/Field/index.esm.js +1 -1
- package/lib/form/FieldGroup/index.esm.js +1 -1
- package/lib/form/Form/index.esm.js +1 -1
- package/lib/form/Input/index.esm.js +1 -1
- package/lib/form/InputCurrency/index.esm.js +1 -1
- package/lib/form/InputDate/index.esm.js +1 -1
- package/lib/form/InputMask/index.esm.js +1 -1
- package/lib/form/InputRange/index.esm.js +1 -1
- package/lib/form/Radio/index.esm.js +1 -1
- package/lib/form/TextArea/index.esm.js +1 -1
- package/lib/form/UploadCard/index.esm.js +1 -1
- package/lib/form/index.esm.js +1 -1
- package/lib/layouts/DefaultLayout/index.esm.js +1 -1
- package/lib/layouts/SideBarLayout/index.esm.js +1 -1
- package/lib/layouts/index.esm.js +1 -1
- package/lib/scenario/CircleComponent/index.esm.js +1 -1
- package/lib/scenario/RectComponent/index.esm.js +1 -1
- package/lib/scenario/index.esm.js +1 -1
- package/lib/skeleton/ComposedSkeleton/index.esm.js +1 -1
- package/lib/skeleton/TextPreset/index.esm.js +1 -1
- package/lib/skeleton/index.esm.js +1 -1
- package/lib/themes/Colors/Colors.helpers.d.ts +25 -0
- package/lib/themes/Colors/index.esm.js +1 -1
- package/lib/themes/Deep/index.esm.js +1 -1
- package/lib/themes/Foundation/Foundation.interface.d.ts +9 -2
- package/lib/themes/Foundation/index.esm.js +1 -1
- package/lib/themes/GlobalStyle/index.esm.js +1 -1
- package/lib/themes/Semantic/Semantic.helpers.d.ts +3 -2
- package/lib/themes/Semantic/index.esm.js +1 -1
- package/lib/themes/Surface/index.esm.js +1 -1
- package/lib/themes/ThemeProvider/index.esm.js +1 -1
- package/lib/themes/index.esm.js +1 -1
- package/package.json +8 -5
- package/lib/chunks/chunk-34F43UAI.esm.js +0 -4
- package/lib/chunks/chunk-3G44UWJ3.esm.js +0 -14
- package/lib/chunks/chunk-5CDHJUBN.esm.js +0 -142
- package/lib/chunks/chunk-7SSQAIVJ.esm.js +0 -5
- package/lib/chunks/chunk-AQWUWDYL.esm.js +0 -6
- package/lib/chunks/chunk-BYMHL227.esm.js +0 -31
- package/lib/chunks/chunk-CRO25GIC.esm.js +0 -38
- package/lib/chunks/chunk-DOPF46NH.esm.js +0 -4
- package/lib/chunks/chunk-EEBGH4FW.esm.js +0 -23
- package/lib/chunks/chunk-EFCEA4WI.esm.js +0 -15
- package/lib/chunks/chunk-FB72RHNJ.esm.js +0 -1
- package/lib/chunks/chunk-FFOBJZ76.esm.js +0 -1
- package/lib/chunks/chunk-FY5FWJIU.esm.js +0 -1
- package/lib/chunks/chunk-GHXWAD3W.esm.js +0 -178
- package/lib/chunks/chunk-H4YFLKIO.esm.js +0 -30
- package/lib/chunks/chunk-HF6HXLPY.esm.js +0 -15
- package/lib/chunks/chunk-HUARPPTU.esm.js +0 -1
- package/lib/chunks/chunk-IEWJDYK3.esm.js +0 -5
- package/lib/chunks/chunk-IPCIH4BX.esm.js +0 -1
- package/lib/chunks/chunk-ISSNH3TI.esm.js +0 -1
- package/lib/chunks/chunk-JSSNVE3F.esm.js +0 -6
- package/lib/chunks/chunk-KB2USQJE.esm.js +0 -1
- package/lib/chunks/chunk-MJ7ZMPLR.esm.js +0 -6
- package/lib/chunks/chunk-MVAPKABV.esm.js +0 -67
- package/lib/chunks/chunk-NXMXRM34.esm.js +0 -72
- package/lib/chunks/chunk-PEGONLQF.esm.js +0 -61
- package/lib/chunks/chunk-Q6KSPMLW.esm.js +0 -1
- package/lib/chunks/chunk-QMKN6U3H.esm.js +0 -7
- package/lib/chunks/chunk-SYDKD6ZW.esm.js +0 -126
- package/lib/chunks/chunk-TYA6JUO6.esm.js +0 -1
- package/lib/chunks/chunk-UCVUWBX3.esm.js +0 -40
- package/lib/chunks/chunk-VEX7WGRY.esm.js +0 -85
- package/lib/chunks/chunk-VNJ4PLQC.esm.js +0 -3
- package/lib/chunks/chunk-WCJ6LD6J.esm.js +0 -81
- package/lib/chunks/chunk-WM5234H7.esm.js +0 -104
- package/lib/chunks/chunk-XD7WY5I4.esm.js +0 -7
- package/lib/chunks/chunk-XQJ3HDFC.esm.js +0 -130
- package/lib/chunks/chunk-YHXA7QVE.esm.js +0 -9
- package/lib/chunks/chunk-ZFHA5XO4.esm.js +0 -4
- package/lib/chunks/chunk-ZVKUIDOM.esm.js +0 -94
- package/lib/chunks/chunk-ZYU4YFQL.esm.js +0 -5
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{e as a}from"./chunk-JHHNSZJ4.esm.js";import{a as ye}from"./chunk-GZONWSRB.esm.js";function Ie(Ce){var n,t,s,o,i,c,m,b,p,f,k,l,d,g,S,D,x,u,y,C,I,O,h,T,w,F,B,L,z,P,j,q,v,A,E,G,H,J,K,M,N,Q,R,U,V,W,X,Y,Z,_,$,ee,ae,re,ne,te,se,oe,ie,ce,me,be,pe,fe,ke,le,de,ge,Se,De,xe,ue;let{colors:e,spacing:r}=Ce;return{color:{feedback:{success:{bg:(s=(t=(n=e.success)==null?void 0:n.base)!=null?t:e.baseDark)!=null?s:"#000",txtOn:a((c=(i=(o=e.success)==null?void 0:o.base)!=null?i:e.baseDark)!=null?c:"#000"),border:(p=(b=(m=e.success)==null?void 0:m.dark)!=null?b:e.baseDark)!=null?p:"#000"},danger:{bg:(l=(k=(f=e.danger)==null?void 0:f.base)!=null?k:e.baseDark)!=null?l:"#000",txtOn:a((S=(g=(d=e.danger)==null?void 0:d.base)!=null?g:e.baseDark)!=null?S:"#000"),border:(u=(x=(D=e.danger)==null?void 0:D.dark)!=null?x:e.baseDark)!=null?u:"#000"},warning:{bg:(I=(C=(y=e.warning)==null?void 0:y.base)!=null?C:e.baseDark)!=null?I:"#000",txtOn:a((T=(h=(O=e.warning)==null?void 0:O.base)!=null?h:e.baseDark)!=null?T:"#000"),border:(B=(F=(w=e.warning)==null?void 0:w.dark)!=null?F:e.baseDark)!=null?B:"#000"},information:{bg:(P=(z=(L=e.information)==null?void 0:L.base)!=null?z:e.baseDark)!=null?P:"#000",txtOn:a((v=(q=(j=e.information)==null?void 0:j.base)!=null?q:e.baseDark)!=null?v:"#000"),border:(G=(E=(A=e.information)==null?void 0:A.dark)!=null?E:e.baseDark)!=null?G:"#000"}},interface:{function:{primary:{normal:{bg:(K=(J=(H=e.primary)==null?void 0:H.base)!=null?J:e.baseDark)!=null?K:"#000",txtOn:a((Q=(N=(M=e.primary)==null?void 0:M.base)!=null?N:e.baseDark)!=null?Q:"#000")}},secondary:{normal:{bg:(V=(U=(R=e.secondary)==null?void 0:R.base)!=null?U:e.baseDark)!=null?V:"#000",txtOn:a((Y=(X=(W=e.secondary)==null?void 0:W.base)!=null?X:e.baseDark)!=null?Y:"#000")}},tertiary:{normal:{bg:($=(_=(Z=e.tertiary)==null?void 0:Z.base)!=null?_:e.baseDark)!=null?$:"#000",txtOn:a((re=(ae=(ee=e.tertiary)==null?void 0:ee.base)!=null?ae:e.baseDark)!=null?re:"#000")}}}},brand:{first:{default:{surface:(se=(te=(ne=e.main)==null?void 0:ne.base)!=null?te:e.baseDark)!=null?se:"#000",txtOn:a((ce=(ie=(oe=e.main)==null?void 0:oe.base)!=null?ie:e.baseDark)!=null?ce:"#000")}},second:{default:{surface:(pe=(be=(me=e.opposite)==null?void 0:me.base)!=null?be:e.baseDark)!=null?pe:"#000",txtOn:a((le=(ke=(fe=e.opposite)==null?void 0:fe.base)!=null?ke:e.baseDark)!=null?le:"#000")}},third:{default:{surface:(Se=(ge=(de=e.complementary)==null?void 0:de.base)!=null?ge:e.baseDark)!=null?Se:"#000",txtOn:a((ue=(xe=(De=e.complementary)==null?void 0:De.base)!=null?xe:e.baseDark)!=null?ue:"#000")}}}},dimension:{spacing:{zero:r("zero"),micro:r("micro"),xs:r("xs"),small:r("small"),medium:r("medium"),large:r("large"),xl:r("xl"),xxl:r("xxl"),giant:r("giant")}}}}ye(Ie,"createSemantic");export{Ie as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{d as c}from"./chunk-YRGWNW2J.esm.js";import{a as u}from"./chunk-IWMEDT6U.esm.js";import{a as d}from"./chunk-JSUB6SAI.esm.js";import{a as e}from"./chunk-BT6SPTZZ.esm.js";import{d as p}from"./chunk-LL6B4Q4R.esm.js";import{g as f}from"./chunk-APD22JEO.esm.js";import{a as s}from"./chunk-GZONWSRB.esm.js";import i,{forwardRef as g,useMemo as k}from"react";var T=f(e).withConfig({displayName:"Tabsstyle__TabsHeaderStyle",componentId:"sc-1hkckjr-0"})(["border-bottom:1px solid ",";& > ","{transform:translateY(1px);}","{> ","{overflow-x:scroll;overflow-y:hidden;&::-webkit-scrollbar{display:none;}}}"],({theme:t})=>t.colors.grayscale[30],e,({theme:t})=>t.breakpoints.down("sm"),e),x=f(c).attrs(t=>{var o,r;return{borderRadius:(o=t.borderRadius)!=null?o:"straight",borderWidth:(r=t.borderWidth)!=null?r:"none"}}).withConfig({displayName:"Tabsstyle__TabButtonStyle",componentId:"sc-1hkckjr-1"})(["flex-shrink:0;position:relative;z-index:1;touch-action:manipulation;border-bottom:2px solid ",";&:focus,&:active,&:hover{box-shadow:none;text-decoration:none;}"],({isActive:t,theme:o,color:r})=>t?p(o.colors[r],"base"):"transparent");function H({isActive:t,tabTitle:o,color:r="primary",buttonProps:m}){return i.createElement(x,{as:"button",variant:"linked",isActive:t,color:r,...m},i.createElement(d,{fontWeight:"bold",lineHeight:"tight"},o))}s(H,"TabButton");var F=g(({selectedIndex:t=0,onChange:o,tabs:r,tabHeaderProps:m,tabContentProps:y,...B},w)=>{let b=k(()=>r.map(n=>({...n,id:u()})),[r]),v=s(n=>t===n,"isCurrentIndex");return i.createElement(e,{...B,ref:w},i.createElement(T,{...m},i.createElement(e,{flexDirection:"row",width:"100%",gap:"medium",container:!0,position:"relative",alignItems:"end",as:"section"},b.map(({id:n,buttonProps:h,handleClick:l,...S},a)=>i.createElement(H,{key:n,isActive:v(a),...S,buttonProps:{...h,onClick:s(I=>{a!==t&&(l==null||l(a,I),o==null||o(a))},"onClick")}})))),i.createElement(e,{flex:"fluid",as:"section",container:!0,width:"100%",...y},b[t].content))});F.displayName="Tabs";export{T as a,x as b,H as c,F as d};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{c as H}from"./chunk-7UZDT7GB.esm.js";import{b as D,c as F,d as R,e as b,f as y,g as v,h as E,i as x,j as C,k as M,m as T,n as h,o as N}from"./chunk-5H2LWL6K.esm.js";import{a as P}from"./chunk-BE2JDTVA.esm.js";import{a as w}from"./chunk-HALV3U5Q.esm.js";import{e as d}from"./chunk-XJ7EBVG3.esm.js";import{a as r}from"./chunk-GZONWSRB.esm.js";import o,{useEffect as q,useState as G}from"react";var J={left:"bottom-start",right:"bottom-end",center:"bottom"},L=r(({children:a,options:n,content:s,hoverable:A=!1,position:I="left",width:i,full:c})=>{if(!n&&!s)throw new Error('Dropdown deve receber "content" ou "options" props');let m=d(a),O=n?"menu":"dialog",[S,W]=G(),{active:l,enable:f,disable:g,toggle:k}=P(!1),{refs:u,floatingStyles:z,context:t,elements:p}=M({open:l,onOpenChange:r(e=>e?f():g(),"onOpenChange"),placement:J[I],middleware:[y(4),F(),E({padding:8})],whileElementsMounted:D}),{getReferenceProps:B,getFloatingProps:K}=h([x(t,{enabled:!m}),T(t,{enabled:A,move:!1,handleClose:v()}),C(t,{outsidePress:!0,escapeKey:!0}),N(t,{role:O})]);q(()=>{if(c&&p.reference){let e=p.reference.getBoundingClientRect();W(e.width)}},[c,p.reference]);let U=r(()=>{let e=m?a({isOpen:l,open:f,toggle:k}):a;return o.cloneElement(e,{ref:u.setReference,...B()})},"renderTrigger"),j=r(()=>{let e=s;return Array.isArray(n)&&(e=o.createElement(H,{gap:"zero",color:"primary.action",content:n})),d(s)&&(e=s({close:g})),o.createElement(w,{p:"xs",borderRadius:"xs",deep:2,width:i!=null?i:S},e)},"renderDropdownContent");return o.createElement(o.Fragment,null,U(),l&&o.createElement(b,null,o.createElement(R,{context:t,modal:!1,initialFocus:-1},o.createElement("div",{ref:u.setFloating,style:z,...K()},j()))))},"DropdownComponent");L.displayName="Dropdown";export{L as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{n as c,p as f}from"./chunk-HZN744T5.esm.js";import{d as m}from"./chunk-OT6DKXSK.esm.js";import{a as p}from"./chunk-RHUIIG22.esm.js";import{g}from"./chunk-APD22JEO.esm.js";import{a}from"./chunk-GZONWSRB.esm.js";import s from"react";function h(t){return t==="extraLarge"?"xl":t==="giant"?"xxl":t}a(h,"getIconSize");function u({theme:t,size:n,label:e}){let{fontSize:o}=t.font,i=(e==null?void 0:e.length)||0;switch(n){case"small":{let r=t.spacing("medium");return{width:r,height:r,fontSize:o.micro}}case"large":{let r=t.spacing("xl");return{width:r,height:r,fontSize:i===1?o.xxl:o.large}}case"extraLarge":{let r=t.spacing("xxl");return{width:r,height:r,fontSize:i===1?o.gargantua:o.giant}}case"giant":{let r=t.spacing("giant");return{width:r,height:r,fontSize:o.gargantua}}default:{let r=t.spacing("large");return{width:r,height:r,fontSize:i===1?o.medium:o.xs}}}}a(u,"getSizes");var l=g(p).withConfig({displayName:"Avatarstyle__AvatarContainer",componentId:"sc-k7r87e-0"})(u);function d({imgSrc:t,icon:n,size:e,label:o}){return t?s.createElement(c,{width:"100%",height:"100%",src:t,"data-testid":"avatar-image"}):n?s.createElement(f,{name:n,size:h(e),"data-testid":"avatar-icon"}):s.createElement(m,{textTransform:"uppercase"},o)}a(d,"getContent");var x=a(({size:t,icon:n,imgSrc:e,label:o,...i})=>s.createElement(l,{alignItems:"center",justifyContent:"center",overflow:"hidden",borderRadius:"circular",bgColor:"grayscale.5",color:"primary.base",label:o,size:t,...i},d({size:t,icon:n,imgSrc:e,label:o})),"Avatar");x.displayName="Avatar";export{x as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{b as s,c as n,d as m,f as p,g as c,h as g,i as l,j as i}from"./chunk-WAQEMQ3B.esm.js";import{o as t,p as a}from"./chunk-XJ7EBVG3.esm.js";import{a as o}from"./chunk-GZONWSRB.esm.js";var h={baseDark:"#26292E",baseLight:"#FCFCFC",transparent:"transparent",deepDark:"#000",deepLight:"#FFF",main:"#003750",opposite:s("#003750"),complementary:"#F6BA20",information:"#3399FF",success:"#2CB567",danger:"#E12712",warning:"#FFBB00",primary:"#32AFDC",secondary:"#2D81AA",tertiary:"#2CE571"};function b(e){let r={baseDark:e.baseDark,baseLight:e.baseLight,deepDark:e.deepDark,deepLight:e.deepLight,transparent:e.transparent,neutral:c(e),grayscale:p(e),...g(e),...l(e),...i(e)},C=a(t);return Object.assign(F=>C(F,r,"base"),r,{getColor:n,getContrastColor:m})}o(b,"createColors");export{h as a,b};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as b,b as C,c as P,e as k,f as v,h as E,j as R,k as F,l as S,m as I,n as z,o as N}from"./chunk-5H2LWL6K.esm.js";import{a as h}from"./chunk-OT6DKXSK.esm.js";import{c}from"./chunk-BMUHQ5OQ.esm.js";import{g as s}from"./chunk-APD22JEO.esm.js";import{a as n}from"./chunk-GZONWSRB.esm.js";import o from"react";function j({inverted:t,theme:e}){return t?{"--background":e.colors.grayscale[0],"--color":e.colors.neutral[170]}:{"--background":e.colors.grayscale[80],"--color":e.colors.grayscale[0]}}n(j,"getContainerStyle");var r=s(c).withConfig({displayName:"Tooltipstyle__Arrow",componentId:"sc-10yilai-0"})(["position:absolute;width:8px;height:8px;z-index:-1;&::before{content:'';transform:rotate(45deg);background:var(--background);position:absolute;width:8px;height:8px;z-index:-1;}"]),_=s(c).withConfig({displayName:"Tooltipstyle__TooltipContainer",componentId:"sc-10yilai-1"})([""," color:var(--color);background-color:var(--background);line-height:1;&[data-placement^='top'] > ","{bottom:-3px;}&[data-placement^='bottom'] > ","{top:-3px;}&[data-placement^='left'] > ","{right:-4px;}&[data-placement^='right'] > ","{left:-4px;}"],j,r,r,r,r);var A=n((t,e)=>typeof t=="string"?o.createElement(h,{...e},t):t,"getElement"),B=n(({children:t,position:e="top",content:H,inverted:M,noArrow:O,onDismiss:l,visible:i})=>{var y,T;if(i!==void 0&&typeof l=="undefined")throw new Error('Voc\xEA deve fornecer a fun\xE7\xE3o "onDismiss" quando utilizar a prop "visible"');let f=o.useRef(null),[U,$]=o.useState(!1),p=i!==void 0,d=p?!!i:U,q=o.useCallback(w=>{p?!w&&l&&l():$(w)},[p,l]),{refs:m,floatingStyles:D,context:a,placement:K,middlewareData:u}=F({open:d,onOpenChange:q,placement:e,middleware:[v(8),P(),E({padding:4}),b({element:f})],whileElementsMounted:C}),{getReferenceProps:L,getFloatingProps:V}=z([I(a,{move:!1,restMs:40}),S(a),R(a,{outsidePress:!0,escapeKey:!0}),N(a,{role:"tooltip"})]),g=(y=u.arrow)==null?void 0:y.x,x=(T=u.arrow)==null?void 0:T.y,X=A(t),Y=o.cloneElement(X,{ref:m.setReference,...L()});return o.createElement(o.Fragment,null,Y,d&&o.createElement(k,null,o.createElement(_,{ref:m.setFloating,inverted:M,deep:2,p:"xs",borderRadius:"xs","data-placement":K,style:D,...V()},A(H,{fontSize:"micro",lineHeight:"regular"}),!O&&o.createElement(r,{ref:f,style:{left:g!=null?`${g}px`:"",top:x!=null?`${x}px`:""}}))))},"TooltipComponent");B.displayName="Tooltip";export{r as a,_ as b,B as c};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as s}from"./chunk-OT6DKXSK.esm.js";import{c}from"./chunk-BMUHQ5OQ.esm.js";import{b as d,g as n}from"./chunk-APD22JEO.esm.js";import{a}from"./chunk-GZONWSRB.esm.js";var t=n.input.withConfig({displayName:"Radiostyle__RadioInputStyle",componentId:"sc-truao3-0"})(["position:absolute;left:0;top:0;margin:0;z-index:1;opacity:0;"]);t.displayName="input";var i=n(c).attrs(o=>({borderRadius:"md",borderWidth:"regular",borderStyle:"solid",borderColor:"information",deep:-1,...o})).withConfig({displayName:"Radiostyle__RadioStyle",componentId:"sc-truao3-1"})(["--size:20px;--checked-size:calc(var(--size) * 0.5);width:var(--size);height:var(--size);flex-shrink:0;margin-right:",";&::before{content:'';border-radius:50%;display:inline-block;width:var(--checked-size);height:var(--checked-size);position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);opacity:0;}"],({theme:o})=>o.spacing("small"));function b({variant:o,theme:e}){let r=e.colors.information;return o==="success"&&(r=e.colors.success),o==="error"&&(r=e.colors.danger),d(["color:",";& > ","{border:2px solid ",";&::before{background:",";}}&:hover > ",",&:focus > ","{border-color:",";}& > ",":checked ~ ","{border-color:",";box-shadow:",";}"],r.dark,i,r.dark,r.base,i,i,r.action,t,i,r.base,e.depth("level-zero"))}a(b,"inputVariantStyle");function g(o){return d(["color:",";& > ",":disabled{cursor:default;& ~ ","{background-color:",";border-color:",";&::before{background:",";}}}"],o.colors.neutral[50],t,i,o.colors.neutral[10],o.colors.neutral[10],o.colors.neutral[50])}a(g,"getDisabledStyle");var p=n(s).withConfig({displayName:"Radiostyle__RadioContainerStyle",componentId:"sc-truao3-2"})(["cursor:pointer;position:relative;display:inline-flex;flex-direction:row;align-items:center;gap:",";margin:",";"," "," & ",":checked ~ ","::before{opacity:1;}"],({theme:o})=>o.spacing("xs"),({theme:o})=>o.spacing(0,"xs","xs",0),b,({theme:o,disabled:e})=>e&&g(o),t,i);import l from"react";var f=a(({id:o,disabled:e,label:r=null,labelProps:m,variant:u="default",...y})=>l.createElement(p,{as:"label",htmlFor:o,variant:u,disabled:e},l.createElement(t,{...y,type:"radio",id:o,disabled:e}),l.createElement(i,null),typeof r=="string"?l.createElement(s,{fontSize:"small",color:"neutral.180",...m},r):r),"RadioComponent");f.displayName="Radio";export{t as a,i as b,p as c,f as d};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{d as c}from"./chunk-HMF62LQQ.esm.js";import{a as r}from"./chunk-OJ57H6MJ.esm.js";import{a as b}from"./chunk-CDRLVSLF.esm.js";import{a as n}from"./chunk-O4SSOOVR.esm.js";import{g as C}from"./chunk-APD22JEO.esm.js";import{a as l}from"./chunk-GZONWSRB.esm.js";import t from"react";var a=C(r).withConfig({displayName:"TableCheckboxCellstyle__TableCheckboxCellStyle",componentId:"sc-g7895e-0"})([""]);var o=l(m=>{let{getSelected:x}=t.useContext(b),h=l(e=>[...e.parentNode.children].indexOf(e),"getNodeIndex"),p=l(e=>{let T=h(e.target.closest("tr"));x(T,e.target.checked)},"handleChecked");return t.createElement(a,null,t.createElement(n,null,t.createElement(c,{label:m.children,onChange:p})))},"TableCheckboxCellComponent");o.displayName="TableCheckboxCell";export{a,o as b};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as b,b as C,c as P,e as k,f as v,h as E,j as R,k as F,l as S,m as I,n as z,o as N}from"./chunk-5H2LWL6K.esm.js";import{a as h}from"./chunk-DX5SUG7X.esm.js";import{c}from"./chunk-3MTWHDSL.esm.js";import{g as s}from"./chunk-APD22JEO.esm.js";import{a as n}from"./chunk-GZONWSRB.esm.js";import o from"react";function j({inverted:t,theme:e}){return t?{"--background":e.colors.grayscale[0],"--color":e.colors.neutral[170]}:{"--background":e.colors.grayscale[80],"--color":e.colors.grayscale[0]}}n(j,"getContainerStyle");var r=s(c).withConfig({displayName:"Tooltipstyle__Arrow",componentId:"sc-10yilai-0"})(["position:absolute;width:8px;height:8px;z-index:-1;&::before{content:'';transform:rotate(45deg);background:var(--background);position:absolute;width:8px;height:8px;z-index:-1;}"]),_=s(c).withConfig({displayName:"Tooltipstyle__TooltipContainer",componentId:"sc-10yilai-1"})([""," color:var(--color);background-color:var(--background);line-height:1;&[data-placement^='top'] > ","{bottom:-3px;}&[data-placement^='bottom'] > ","{top:-3px;}&[data-placement^='left'] > ","{right:-4px;}&[data-placement^='right'] > ","{left:-4px;}"],j,r,r,r,r);var A=n((t,e)=>typeof t=="string"?o.createElement(h,{...e},t):t,"getElement"),B=n(({children:t,position:e="top",content:H,inverted:M,noArrow:O,onDismiss:l,visible:i})=>{var y,T;if(i!==void 0&&typeof l=="undefined")throw new Error('Voc\xEA deve fornecer a fun\xE7\xE3o "onDismiss" quando utilizar a prop "visible"');let f=o.useRef(null),[U,$]=o.useState(!1),p=i!==void 0,d=p?!!i:U,q=o.useCallback(w=>{p?!w&&l&&l():$(w)},[p,l]),{refs:m,floatingStyles:D,context:a,placement:K,middlewareData:u}=F({open:d,onOpenChange:q,placement:e,middleware:[v(8),P(),E({padding:4}),b({element:f})],whileElementsMounted:C}),{getReferenceProps:L,getFloatingProps:V}=z([I(a,{move:!1,restMs:40}),S(a),R(a,{outsidePress:!0,escapeKey:!0}),N(a,{role:"tooltip"})]),g=(y=u.arrow)==null?void 0:y.x,x=(T=u.arrow)==null?void 0:T.y,X=A(t),Y=o.cloneElement(X,{ref:m.setReference,...L()});return o.createElement(o.Fragment,null,Y,d&&o.createElement(k,null,o.createElement(_,{ref:m.setFloating,inverted:M,deep:2,p:"xs",borderRadius:"xs","data-placement":K,style:D,...V()},A(H,{fontSize:"micro",lineHeight:"regular"}),!O&&o.createElement(r,{ref:f,style:{left:g!=null?`${g}px`:"",top:x!=null?`${x}px`:""}}))))},"TooltipComponent");B.displayName="Tooltip";export{r as a,_ as b,B as c};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import{a as wo}from"./chunk-4KIBOLH7.esm.js";import{a as Lo,b as To}from"./chunk-TG5BCBO4.esm.js";import{a as Eo}from"./chunk-OFRYNRTE.esm.js";import{b as yo,c as So}from"./chunk-KT6QQ3UJ.esm.js";import{a as No}from"./chunk-ZOKGGTX5.esm.js";import{b as vo}from"./chunk-IT4J7I6H.esm.js";import{b as ko}from"./chunk-JOKVE3IX.esm.js";import{a as Po}from"./chunk-Z5OQHLDW.esm.js";import{a as bo}from"./chunk-3EOSES4S.esm.js";import{a as Io}from"./chunk-NQBO2D7L.esm.js";import{a as ho}from"./chunk-3DUB5C4Z.esm.js";import{a as Co}from"./chunk-TDVKGVGD.esm.js";import{c as _o}from"./chunk-XNGGM6D6.esm.js";import{d as Bo}from"./chunk-M42E74U7.esm.js";import{a as Fo,b as Mo}from"./chunk-I3GVQWLB.esm.js";import{a as xo}from"./chunk-UI6CJPP3.esm.js";import{e as $}from"./chunk-7UIH7PNC.esm.js";import{b as Ao}from"./chunk-GK6CPN6F.esm.js";import{a as Ro}from"./chunk-IWMEDT6U.esm.js";import{a as uo,d as Y}from"./chunk-JSUB6SAI.esm.js";import{a as go}from"./chunk-EET35TCO.esm.js";import{a as F}from"./chunk-BT6SPTZZ.esm.js";import{a as A,c as w,d as B}from"./chunk-Y36YHL7V.esm.js";import{a as ao,b as po}from"./chunk-4CULNDXB.esm.js";import{a as no,b as io}from"./chunk-ZQDA6U5L.esm.js";import{d as S}from"./chunk-LL6B4Q4R.esm.js";import{a as oo,c as eo,k as to,l as ro}from"./chunk-XJ7EBVG3.esm.js";import{b as V,c as y}from"./chunk-G5Z7USXC.esm.js";import{b as mo,c as co,d as so,e as lo,f as fo,g as u}from"./chunk-APD22JEO.esm.js";import{a as r}from"./chunk-GZONWSRB.esm.js";import p from"react";import Do from"deepmerge";var z=Do;function O(o={}){let{colors:e,breakpoints:t,spacing:n,border:a,font:i,dimension:m}=z({colors:no,spacing:Lo,font:Po,border:ho,breakpoints:yo,dimension:ko},o),c=io(e),s=To(n,m),f=wo({colors:c,spacing:s});return{font:i,border:a,animation:Io,colors:c,breakpoints:So(t),spacing:s,depth:vo(c),deep:No(c),semantic:f,foundation:bo(f)}}r(O,"createTheme");import l,{useEffect as xe,useState as Ie}from"react";import{createPortal as he}from"react-dom";var L=u(w).withConfig({displayName:"Iconstyle__IconStyle",componentId:"sc-l15crp-0"})(({theme:o,size:e})=>({fontSize:e?o.spacing(e):"inherit",display:"inline-block",lineHeight:0,"& svg":{stroke:"currentColor",fill:"currentColor",strokeWidth:0,"& g":{fill:"currentColor"}}}));import k,{forwardRef as q,useEffect as fe,useState as pe}from"react";function Wo(o,e){if(typeof window!="undefined")try{window.fetch(o).then(t=>t.text()).then(t=>to(t,"svg")).then(ro).then(e)}catch(t){oo.warn(`[ICON] Failed to load icon from: ${o}`)}}r(Wo,"getIconFromUrl");var oe=r(({cover:o,height:e,width:t})=>o&&{width:t!=null?t:"100%",height:e!=null?e:"100%",objectFit:"cover"},"imageCover"),Vo=r(o=>o?eo(o):"fit-content","getSizeValue"),Yo=po("img")`
|
|
2
|
+
display: block;
|
|
3
|
+
width: ${({full:o,width:e})=>o?"100%":Vo(e)};
|
|
4
|
+
height: ${({height:o})=>Vo(o)};
|
|
5
|
+
${oe};
|
|
6
|
+
|
|
7
|
+
&[src=''] {
|
|
8
|
+
visibility: hidden;
|
|
9
|
+
position: absolute;
|
|
10
|
+
}
|
|
11
|
+
`;import x,{forwardRef as me,useState as ce}from"react";var $o=u.rect.withConfig({displayName:"RectComponentstyle__RectStyle",componentId:"sc-ofzrwt-0"})(["stroke:",";fill:",";"],({theme:o})=>S(o.colors.neutral[20]),({theme:o})=>S(o.colors.neutral[5]));import ee from"react";function N(o){return ee.createElement($o,{...o})}r(N,"RectComponent");N.displayName="Rect";import te from"react";import zo,{BulletList as G,Code as H,Facebook as j,List as U}from"react-content-loader";var Q=zo;function v({children:o,...e}){let{colors:t}=fo();return te.createElement(Q,{...e,viewBox:`0 0 ${e.width} ${e.height}`,backgroundColor:S(e.backgroundColor||t.neutral[10]),foregroundColor:S(e.foregroundColor||t.neutral[30])},o)}r(v,"ComposedSkeletonComponent");v.displayName="Skeleton";var re=U,ne=G,ie=H,ae=j;import Oo from"react";function K({width:o,height:e=13}){return Oo.createElement(v,{width:o,height:e},Oo.createElement(N,{x:0,y:0,width:o,height:e}))}r(K,"TextPresetComponent");K.displayName="TextPreset";var M=me(({src:o,...e},t)=>x.createElement(Yo,{src:o,ref:t,...e})),se=r(({width:o=60,height:e=60})=>x.createElement(v,{height:e,width:o},x.createElement(N,{width:o,height:e})),"ImageDefaultContentLoader");function le(o){return new Promise((e,t)=>{let n=new Image;n.onload=e,n.onerror=t,n.src=o})}r(le,"loadImage");var Go=r(({src:o,fallback:e,threshold:t,...n})=>{let[a,i]=ce(),[m]=xo({threshold:t},()=>{le(o).then(()=>i(o)).catch(()=>console.warn(`[Failed]: error on loading image: ${o}`))}),c=typeof a=="undefined";return x.createElement(x.Fragment,null,c?e||x.createElement(se,{...n}):null,x.createElement(M,{src:a||"",ref:m,...n}))},"ImageLazy");Go.displayName="ImageLazy";var _=r((o,e)=>k.cloneElement(o,e),"createIcon"),de=q(({icon:o,name:e,iconProps:t,svgProps:n,children:a,...i},m)=>{let c=r(()=>{let s=null;return a?s=_(a,n):e?s=_(Co[e],n):o?s=_(o,n):t&&(s=Bo(n)),s},"getIcon");return k.createElement(L,{...i,ref:m},c())}),ue=q(({title:o,src:e,svgProps:t,...n},a)=>{let[i,m]=pe(()=>k.createElement(M,{height:"1em",width:"1em",alt:o}));return fe(()=>{Wo(e,c=>{m(_(c,t))})},[e]),k.createElement(L,{...n,ref:a},i)}),R=q(({title:o,...e},t)=>{let n={...e.iconProps||{},title:o,stroke:"currentColor",fill:"currentColor",strokeWidth:"0",height:"1em",width:"1em"};return e.src?k.createElement(ue,{...e,svgProps:n,ref:t}):k.createElement(de,{...e,svgProps:n,ref:t})});R.displayName="Icon";var ge=co(["0%{width:0;}100%{width:100%;}"]),J=u(F).withConfig({displayName:"Notificationstyle__NotificationProgress",componentId:"sc-6lckl1-0"})(["--time:15;width:0;height:0.25rem;background-color:var(--baseColor);animation:"," calc(var(--time,15) * 1s) normal forwards;"],ge),Ho=u(F).withConfig({displayName:"Notificationstyle__ProgressContainer",componentId:"sc-6lckl1-1"})(["position:absolute;top:0.25rem;left:0.5rem;right:0.5rem;"]);function Ce({variant:o,theme:e}){let t=e.colors[o];return mo(["--baseColor:",";--lightColor:",";--darkColor:",";--activeColor:",";--actionColor:",";position:relative;background-color:var(--lightColor);border-color:var(--baseColor);","{color:var(--darkColor);}& ","{width:intrinsic;color:var(--darkColor);&:hover{background:var(--activeColor);}&:active ","{color:var(--actionColor);}}&:hover ","{animation-play-state:paused;}"],t.base,t.light,t.dark,t.active,t.action,uo,Fo,L,J)}r(Ce,"getWrapperStyle");var X=u(B).withConfig({displayName:"Notificationstyle__WrapperNotificationStyle",componentId:"sc-6lckl1-2"})(Ce);X.displayName="div";var jo=u(F).withConfig({displayName:"Notificationstyle__NotificationIconStyle",componentId:"sc-6lckl1-3"})(["color:var(--darkColor);svg{width:2rem;height:2rem;}"]);var Uo=r(({type:o="block",variant:e="primary",visible:t=!0,closable:n=!0,autoClose:a=null,message:i=null,action:m=null,icon:c=null,link:s,onDismiss:f,...P})=>{let{isMobile:I}=$(),d=r(()=>{let h=m;return typeof m=="function"&&(h=m({close:f})),h?l.cloneElement(h,{color:e,alignSelf:"center",justifySelf:"center"}):null},"renderActionButton"),T=r(()=>typeof i=="function"?i({close:f}):typeof i=="string"?l.createElement(Y,{text:i,variant:"p",fontSize:"xs"}):i,"renderMessage");return t?l.createElement(X,{p:"medium",pr:9,round:I?0:"xs",borderWidth:I?"none":"thin",borderStyle:"solid",variant:e,"data-testid":`notification-${o}`,...P},a&&l.createElement(Ho,null,l.createElement(J,{round:"micro",style:{"--time":a},onAnimationEnd:f})),l.createElement(go,{contentGap:"medium",opener:c&&l.createElement(jo,{pt:"xs",alignSelf:"start"},c),closer:d()},P.title&&l.createElement(Y,{text:P.title,variant:"h3",fontSize:"small",fontWeight:"stronger",type:"mobile"}),T(),s&&l.createElement(_o,{...s,target:"_blank"})),n&&l.createElement(Mo,{p:"xs",borderWidth:"none",icon:l.createElement(R,{size:"small",name:"times"}),variant:"linked",onClick:f,alignSelf:"start",position:"absolute",right:"0.5rem",top:"0.5rem"})):null},"BaseNotification"),ye=r(o=>{let{isMobile:e}=$(),[t,n]=Ie(!1);xe(()=>{n(!0)},[]);let a=o.pagePosition==="top"?{top:0}:{bottom:0};if(!t||!y)return null;let i=o.visible!==!1;return he(l.createElement(A,null,i?l.createElement(Uo,{...o,initial:{y:"-100%",opacity:0},animate:{y:0,opacity:1},exit:{y:"-100%",opacity:0},style:{...a,zIndex:1e3,margin:e?0:"1rem",position:"fixed",right:0,left:0}}):null),y)},"PageNotification"),D=r(o=>o.type==="page"?l.createElement(ye,{...o}):l.createElement(Uo,{...o}),"NotificationComponent");D.displayName="Notification";import g,{createContext as Se,useContext as Ne,useEffect as ve,useReducer as ke,useState as Pe}from"react";import{createPortal as be}from"react-dom";var Qo=Se({});function we(o,{type:e,payload:t}){switch(e){case"ADD":return[t,...o];case"REMOVE":return o.filter(n=>n.id!==t.id);default:return o}}r(we,"NotificationReducer");var Ko=r(o=>{let[e,t]=ke(we,[]),n=r(i=>{t({type:"REMOVE",payload:{id:i}})},"removeNotification"),a=r(i=>{if(t({type:"ADD",payload:{id:Ro(),...i}}),e.length>=3){let[m]=e.slice(-1);setTimeout(()=>n(m.id),0)}},"showNotification");return g.createElement(Qo.Provider,{value:{notifications:e,removeNotification:n,showNotification:a}},g.createElement(g.Fragment,null,o.children,g.createElement(Te,null)))},"NotificationsProvider");function Le(){let o=Ne(Qo);if(o===void 0)throw new Error("cant use useNotification hook outside of <NotificationsProvider />");return o}r(Le,"useNotification");var Te=r(()=>{let{notifications:o,removeNotification:e}=Le(),[t,n]=Pe(!1);return ve(()=>{n(!0)},[]),!t||!y?null:be(g.createElement(w,{style:{position:"fixed",bottom:"1rem",right:"1rem"}},g.createElement(A,null,o.map(({id:a,...i})=>g.createElement(B,{key:a,initial:{x:"100%",opacity:0},animate:{x:0,opacity:1},exit:{scale:0,opacity:0,height:0},style:{minWidth:300,maxWidth:"30vw",zIndex:100}},g.createElement(w,{style:{margin:"0.5rem"}},g.createElement(D,{...i,visible:!0,closable:!0,onDismiss:()=>e(a)})))))),y)},"NotificationGroup");function Ee(o,e){return typeof e=="string"?ao(o):!0}r(Ee,"shouldForwardProp");var qo="(prefers-color-scheme: dark)";function Ae(){var o,e;return!!((e=(o=V)==null?void 0:o.matchMedia)!=null&&e.call(o,qo).matches)}r(Ae,"prefersDarkScheme");var Jo=p.createContext(null);function Be(){let o=p.useContext(Jo);if(o===null)throw new Error("useApollionTheme deve ser usado dentro de um <ApollionProvider>.");return o}r(Be,"useApollionTheme");var Fe=r(({children:o,theme:e,lightTheme:t,darkTheme:n,useSystemPreference:a=!1,themeMode:i,onThemeModeChange:m,surface:c="positive",dimension:s})=>{let f=i!==void 0,[P,I]=p.useState(()=>a&&Ae()?"dark":"light"),d=f?i:P;p.useEffect(()=>{var E,Z;if(f||!a)return;let C=(Z=(E=V)==null?void 0:E.matchMedia)==null?void 0:Z.call(E,qo);if(!C)return;I(C.matches?"dark":"light");let b=r(Zo=>{I(Zo.matches?"dark":"light")},"handleChange");return C.addEventListener("change",b),()=>C.removeEventListener("change",b)},[f,a]);let T=p.useCallback(C=>{let b=C!=null?C:d==="dark"?"light":"dark";f||I(b),m==null||m(b)},[d,f,m]),h=p.useMemo(()=>t&&n?d==="dark"?n:t:t||n||(e!=null?e:O(s!==void 0?{dimension:s}:void 0)),[t,n,e,s,d]),W=p.useMemo(()=>Eo(h,c,d),[h,c,d]),Xo=p.useMemo(()=>({theme:W,themeMode:d,toggleTheme:T}),[W,d,T]);return p.createElement(so,{shouldForwardProp:Ee},p.createElement(Jo.Provider,{value:Xo},p.createElement(lo,{theme:W},p.createElement(Ao,null,p.createElement(Ko,null,o)))))},"ApollionProvider");export{L as a,Yo as b,O as c,Be as d,Fe as e,$o as f,N as g,v as h,re as i,ne as j,ie as k,ae as l,K as m,M as n,Go as o,R as p,J as q,Ho as r,X as s,jo as t,D as u,Ko as v,Le as w,Te as x};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as C}from"./chunk-WM2CMDXP.esm.js";import{d as m}from"./chunk-JSUB6SAI.esm.js";import{a as n}from"./chunk-EET35TCO.esm.js";import{b as t}from"./chunk-A6Z2M2XU.esm.js";import{g as a}from"./chunk-APD22JEO.esm.js";import{a as o}from"./chunk-GZONWSRB.esm.js";import r from"react";var d=a.th.withConfig({displayName:"TableHeaderCellstyle__TableHeaderCellStyle",componentId:"sc-1ft9505-0"})([""," ",""],C,t);var e=o(l=>r.createElement(d,{...l,bgColor:l.bgColor||void 0},r.createElement(n,null,r.createElement(m,{color:"neutral.170",fontWeight:"stronger"},l.children))),"TableHeaderCellComponent");e.displayName="TableHeaderCell";export{d as a,e as b};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import{a as x,b as y,c as T,f as h}from"./chunk-S2U4FRYY.esm.js";import{a as c}from"./chunk-54QUAVTF.esm.js";import{b as o}from"./chunk-DOTMXDHA.esm.js";import{b as f}from"./chunk-752Z7BQF.esm.js";import{b as d}from"./chunk-4MBWRDIJ.esm.js";import{b as p}from"./chunk-A6Z2M2XU.esm.js";import{d as u}from"./chunk-U27SLYIV.esm.js";import{a as s}from"./chunk-GZONWSRB.esm.js";var S=o("textarea")`
|
|
2
|
+
-webkit-appearance: none;
|
|
3
|
+
width: 100%;
|
|
4
|
+
outline: none;
|
|
5
|
+
display: block;
|
|
6
|
+
transition: ${({theme:e})=>e.animation.transitions.short};
|
|
7
|
+
|
|
8
|
+
${x}
|
|
9
|
+
|
|
10
|
+
${T}
|
|
11
|
+
|
|
12
|
+
${y}
|
|
13
|
+
|
|
14
|
+
${u({borderRadius:"xs",borderWidth:"thin",borderStyle:"solid"})}
|
|
15
|
+
${f({fontFamily:"main"})}
|
|
16
|
+
${d({p:"small"})}
|
|
17
|
+
${p({bgColor:"grayscale.0"})}
|
|
18
|
+
`,A=o(c)`
|
|
19
|
+
position: absolute;
|
|
20
|
+
right: 0;
|
|
21
|
+
bottom: 0;
|
|
22
|
+
line-height: 1.2rem;
|
|
23
|
+
font-size: 0.6875rem;
|
|
24
|
+
transform: translateY(100%);
|
|
25
|
+
color: ${({theme:e})=>e.colors.neutral[170]};
|
|
26
|
+
`;import a,{forwardRef as k,useState as V}from"react";var D={expansive:{fontSize:"medium",py:"medium"},medium:{fontSize:"medium",py:"small"},compact:{fontSize:"medium",py:"xs"},micro:{py:"micro",fontSize:"small",borderRadius:"micro"}},g=k(({value:e,defaultValue:b,onChange:n,maxLengthHint:C="characters left",variant:i="default",resize:I=!1,size:z="medium",...r},F)=>{let t=e!==void 0,[l,$]=V(b||""),P=t?e:l;return a.createElement(h,{variant:i},a.createElement(S,{value:t?e:l,defaultValue:void 0,variant:i,onChange:s(m=>{t||$(m.target.value),n&&n(m)},"handleChange"),...D[z],...r,ref:F,style:{resize:I?"both":"none"}}),r.maxLength&&a.createElement(A,null,Number(r.maxLength)-(P||"").length," ",C))});g.displayName="TextArea";export{S as a,A as b,g as c};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as c}from"./chunk-43YSWDK6.esm.js";import{g as l}from"./chunk-MELVMDJS.esm.js";import{r as p}from"./chunk-XJ7EBVG3.esm.js";import{a as t}from"./chunk-GZONWSRB.esm.js";import v,{useMemo as f,useState as C}from"react";function i(k){let{mask:a,value:n,onChange:e,...I}=k,o=f(()=>p(a),[a]),[M,s]=C(()=>n?o(n):""),r=f(()=>c(e!=null?e:(()=>{}),250),[e]);return v.createElement(l,{...I,reset:t(()=>{s(""),r("")},"resetValues"),value:M,onChange:t((d,V)=>{var m;let u=o((m=d.target.value)!=null?m:"");s(u),r(u)},"handleChange")})}t(i,"InputMaskComponent");i.displayName="InputMask";export{i as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{b as t,c as o}from"./chunk-BMUHQ5OQ.esm.js";import{g as e}from"./chunk-APD22JEO.esm.js";var l=e(o).withConfig({displayName:"Flexstyle__DefaultFlexStyle",componentId:"sc-atg43m-0"})(["display:flex;"]),m=t.create(l);export{l as a,m as b};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as C}from"./chunk-WM2CMDXP.esm.js";import{d as m}from"./chunk-DX5SUG7X.esm.js";import{a as n}from"./chunk-LVZPZN7J.esm.js";import{b as t}from"./chunk-A6Z2M2XU.esm.js";import{g as a}from"./chunk-APD22JEO.esm.js";import{a as o}from"./chunk-GZONWSRB.esm.js";import r from"react";var d=a.th.withConfig({displayName:"TableHeaderCellstyle__TableHeaderCellStyle",componentId:"sc-1ft9505-0"})([""," ",""],C,t);var e=o(l=>r.createElement(d,{...l,bgColor:l.bgColor||void 0},r.createElement(n,null,r.createElement(m,{color:"neutral.170",fontWeight:"stronger"},l.children))),"TableHeaderCellComponent");e.displayName="TableHeaderCell";export{d as a,e as b};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{c as m}from"./chunk-QNPYZUVO.esm.js";import{d as r}from"./chunk-DX5SUG7X.esm.js";import{a as t}from"./chunk-LJB6XGSJ.esm.js";import{c as i}from"./chunk-3MTWHDSL.esm.js";import{a as n}from"./chunk-GZONWSRB.esm.js";import o from"react";var f=n(({children:p,icon:l,title:a,description:x,...e})=>{let c=e.inverted?"neutral.170":"grayscale.0";return o.createElement(m,{content:o.createElement(i,{p:"xs"},o.createElement(t,{gap:"medium",maxWidth:400,color:c},o.createElement(t,{flexDirection:"row",alignItems:"center",gap:"medium"},l,o.createElement(r,{variant:"h4",text:a,color:null})),o.createElement(r,{variant:"p",text:x,color:null}))),...e},p)},"Popover");f.displayName="Popover";export{f as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{n as c,p as f}from"./chunk-QS6Q6GHV.esm.js";import{d as m}from"./chunk-JSUB6SAI.esm.js";import{a as p}from"./chunk-BT6SPTZZ.esm.js";import{g}from"./chunk-APD22JEO.esm.js";import{a}from"./chunk-GZONWSRB.esm.js";import s from"react";function h(t){return t==="extraLarge"?"xl":t==="giant"?"xxl":t}a(h,"getIconSize");function u({theme:t,size:n,label:e}){let{fontSize:o}=t.font,i=(e==null?void 0:e.length)||0;switch(n){case"small":{let r=t.spacing("medium");return{width:r,height:r,fontSize:o.micro}}case"large":{let r=t.spacing("xl");return{width:r,height:r,fontSize:i===1?o.xxl:o.large}}case"extraLarge":{let r=t.spacing("xxl");return{width:r,height:r,fontSize:i===1?o.gargantua:o.giant}}case"giant":{let r=t.spacing("giant");return{width:r,height:r,fontSize:o.gargantua}}default:{let r=t.spacing("large");return{width:r,height:r,fontSize:i===1?o.medium:o.xs}}}}a(u,"getSizes");var l=g(p).withConfig({displayName:"Avatarstyle__AvatarContainer",componentId:"sc-k7r87e-0"})(u);function d({imgSrc:t,icon:n,size:e,label:o}){return t?s.createElement(c,{width:"100%",height:"100%",src:t,"data-testid":"avatar-image"}):n?s.createElement(f,{name:n,size:h(e),"data-testid":"avatar-icon"}):s.createElement(m,{textTransform:"uppercase"},o)}a(d,"getContent");var x=a(({size:t,icon:n,imgSrc:e,label:o,...i})=>s.createElement(l,{alignItems:"center",justifyContent:"center",overflow:"hidden",borderRadius:"circular",bgColor:"grayscale.5",color:"primary.base",label:o,size:t,...i},d({size:t,icon:n,imgSrc:e,label:o})),"Avatar");x.displayName="Avatar";export{x as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as p,p as c}from"./chunk-KY47BE3L.esm.js";import{a,b as h}from"./chunk-V3ULKCWJ.esm.js";import{a as g}from"./chunk-54QUAVTF.esm.js";import{c as I}from"./chunk-DOTMXDHA.esm.js";import{b as m}from"./chunk-A6Z2M2XU.esm.js";import{b as s}from"./chunk-VUNN4DHK.esm.js";import{b as i,g as f}from"./chunk-APD22JEO.esm.js";import{a as l}from"./chunk-GZONWSRB.esm.js";function W(){return i(["color:var(--dark-color);border-color:var(--border-color);"," &:focus,&:hover{","}&:focus + ","{color:var(--base-color);}"],s({deep:-1}),s({deep:0}),p)}l(W,"inputVariantStyle");var F=i(["&::placeholder{color:",";}&:disabled{&::placeholder{color:var(--disabled-color);}}"],({theme:o})=>o.colors.neutral[70]),N=i(["&:disabled,&:read-only{border:1px solid var(--disabled-bg);background-color:var(--disabled-bg);color:var(--disabled-color);}&:read-only{","}"],s({deep:0}));function _({iconPosition:o}){return o==="left"?i(["& + ",",& + ","{left:1em;right:unset;}"],a,p):null}l(_,"invertIconPosition");var A=i(["&:disabled + ","{color:var(--disabled-color);}&:disabled + ","{pointer-events:none;","}& + ","{width:intrinsic;","}& + ",",& + ","{color:var(--icon-color);z-index:100;position:absolute;align-self:center;right:1em;& > g{fill:var(--icon-color);}}"],p,a,m(()=>({bgColor:"grayscale.10"})),a,m(()=>({bgColor:"grayscale.40"})),a,p),x=f(I.input).attrs(o=>({fontFamily:"main",lineHeight:"tight",bgColor:"grayscale.0",borderWidth:"thin",borderStyle:"solid",px:"small",...o})).withConfig({displayName:"Inputstyle__InputStyle",componentId:"sc-8elel8-0"})(["-webkit-appearance:none;display:block;width:100%;outline:none;transition:",";"," ",";",";",";",";&[type='date']::-webkit-calendar-picker-indicator{position:absolute;top:0;left:0;right:0;bottom:0;width:auto;height:auto;opacity:0;}&[type='number']::-webkit-outer-spin-button,&[type='number']::-webkit-inner-spin-button{-webkit-appearance:none;margin:0;}&[type='number']{-moz-appearance:textfield;}"],({theme:o})=>o.animation.transitions.short,W,A,_,N,F),b=f(g).withConfig({displayName:"Inputstyle__WrapperInputStyle",componentId:"sc-8elel8-1"})(({theme:o,variant:r})=>{let t=o.colors.primary;r==="error"?t=o.colors.danger:r==="success"&&(t=o.colors.success);let{base:e,dark:n}=t;return{display:"flex",position:"relative","--base-color":e,"--dark-color":n,"--disabled-bg":o.colors.neutral[10],"--disabled-color":o.colors.neutral[50],"--icon-color":r==="default"?o.colors.neutral[100]:e,"--border-color":r==="default"?o.colors.neutral[40]:e}});b.displayName="input";import w,{forwardRef as B}from"react";import d from"react";var k={expansive:{py:"medium",fontSize:"small",borderRadius:"xs",height:54},medium:{py:"small",fontSize:"small",borderRadius:"xs",height:46},compact:{py:"xs",fontSize:"small",borderRadius:"xs",height:38},micro:{py:"micro",fontSize:"micro",borderRadius:"micro",height:26}};function S({icon:o,variant:r,clearable:t,reset:e,value:n,readOnly:u}){return t&&e&&n&&!u?d.createElement(h,{p:"micro",type:"button",borderWidth:"none",variant:"linked",onClick:e,"data-testid":"input-reset-button",icon:d.createElement(c,{size:"small",color:"grayscale.0",name:"times"})}):o||(r==="error"?d.createElement(c,{name:"times","data-testid":"input-icon-error"}):r==="success"?d.createElement(c,{name:"check","data-testid":"input-icon-success"}):null)}l(S,"getIconComponent");var P=B(({value:o,variant:r="default",iconPosition:t="right",size:e="medium",...n},u)=>{let{disabled:v,width:C,style:D,...z}=n,y=S({...n,value:o,variant:r,size:e,iconPosition:t}),T={...k[e],...y&&{[t==="right"?"pr":"pl"]:"xl"}};return w.createElement(b,{variant:r,width:C,flexDirection:"row"},w.createElement(x,{iconPosition:t,disabled:v,variant:r,...T,...z,...o!==void 0&&{value:o},ref:u}),y)});P.displayName="Input";export{W as a,F as b,N as c,_ as d,x as e,b as f,P as g};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{b as h}from"./chunk-3V3ZEGHO.esm.js";import{a as F}from"./chunk-BE2JDTVA.esm.js";import{a as G}from"./chunk-JSUB6SAI.esm.js";import{c as l}from"./chunk-Y36YHL7V.esm.js";import{b as u}from"./chunk-G5Z7USXC.esm.js";import{b as C,g as s}from"./chunk-APD22JEO.esm.js";import{a as p}from"./chunk-GZONWSRB.esm.js";var ae=C(["--railColor:",";--trackColor:",";--thumbColor:",";--markColor:",";"],({theme:e})=>e.colors.primary.light,({theme:e})=>e.colors.primary.base,({theme:e})=>e.colors.primary.action,({theme:e})=>e.colors.primary.active),ie=C(["pointer-events:none;--railColor:",";--trackColor:",";--thumbColor:",";--markColor:transparent;"],({theme:e})=>e.colors.neutral[10],({theme:e})=>e.colors.neutral[30],({theme:e})=>e.colors.neutral[30]),X=s(l).withConfig({displayName:"InputRangestyle__SliderContainer",componentId:"sc-18639os-0"})(["--height:6px;",";cursor:pointer;box-sizing:content-box;height:var(--height);padding:1.5rem 0 2rem;width:100%;"],({disabled:e})=>e?ie:ae),D=s(l).withConfig({displayName:"InputRangestyle__SliderRail",componentId:"sc-18639os-1"})(["width:100%;height:var(--height);background:var(--railColor);position:absolute;border-radius:calc(var(--height) / 2);box-shadow:0px 0px 0px 1px var(--railColor);"]),$=s(l).withConfig({displayName:"InputRangestyle__SliderTrack",componentId:"sc-18639os-2"})(["height:var(--height);box-shadow:0px 0px 0px 1px var(--trackColor);background:var(--trackColor);border-radius:calc(var(--height) / 2);position:absolute;left:0;"]),j=s(l).withConfig({displayName:"InputRangestyle__SliderTrackGradient",componentId:"sc-18639os-3"})(["height:var(--height);background-image:linear-gradient(to right,#e12712,#ffbb00,#2cb567);background-repeat:no-repeat;border-radius:calc(var(--height) / 2);position:absolute;width:100%;left:0;"]),A=s(l).withConfig({displayName:"InputRangestyle__SliderGradient",componentId:"sc-18639os-4"})(["height:var(--height);background-color:var(--railColor);background-repeat:no-repeat;position:absolute;right:0;"]),T=s(l).attrs(e=>({bgColor:"baseLight",color:"primary.dark",borderRadius:"xs",borderWidth:"thin",p:"micro",...e})).withConfig({displayName:"InputRangestyle__SliderLabel",componentId:"sc-18639os-5"})(["--borderColor:",";opacity:0;transition:all 200ms linear;text-align:center;position:absolute;bottom:",";left:50%;transform:translateX(-50%);font-size:12px;white-space:nowrap;border-color:var(--borderColor);&:before{content:'';position:absolute;width:0;height:0;border-top:10px solid var(--borderColor);border-left:5px solid transparent;border-right:5px solid transparent;top:100%;left:50%;margin-left:-5px;margin-top:-1px;}"],({theme:e})=>e.colors.neutral[40],({theme:e})=>e.spacing("large")),se=C(["box-shadow:0px 0px 0px 9px #00000033 !important;& ","{opacity:1;}"],T),H=s(l).withConfig({displayName:"InputRangestyle__SliderThumb",componentId:"sc-18639os-6"})(["--size:calc(var(--height) * 2.4);display:flex;justify-content:center;width:var(--size);height:var(--size);margin-top:calc((var(--size) * -1 / 2) + var(--height) / 2);margin-left:calc(var(--size) * -1 / 2);position:absolute;background:var(--thumbColor);transition:box-shadow 150ms cubic-bezier(0.4,0,0.2,1) 0ms;&:hover{box-shadow:0px 0px 0px 6px #00000033;","{opacity:1;}}",""],T,({active:e})=>e&&se),W=s(l).attrs(e=>({borderRadius:"circular",...e})).withConfig({displayName:"InputRangestyle__SliderMark",componentId:"sc-18639os-7"})(["--size:calc(var(--height) * 0.8);position:absolute;margin:calc(var(--height) * 0.1);width:var(--size);height:var(--size);padding:2px;margin-left:",";background:",";"],({active:e})=>e?"unset":"calc(var(--size) * -1)",({active:e})=>e?"var(--thumbColor)":"var(--markColor)"),q=s(l).withConfig({displayName:"InputRangestyle__SliderMarkLabel",componentId:"sc-18639os-8"})(["position:absolute;margin-top:1rem;transform:translateX(-50%);white-space:nowrap;font-size:0.75rem;color:",";"],({theme:e})=>e.colors.main.base);import n,{useCallback as le,useEffect as ce,useMemo as de,useRef as O,useState as ue}from"react";function M(e,t,o){return(e-t)*100/(o-t)}p(M,"valueToPercent");function J(e,t,o){return(o-t)*e+t}p(J,"percentToValue");function I(e,t,o){let m=Math.round((e-o)/t)*t+o;return Number(m.toFixed(t))}p(I,"roundValueToStep");function K(e){return e>=1?1:e<=0?0:e}p(K,"clamp");function _(e,t,o,m){return Number.isFinite(e)&&e>=o&&e<=t?m?I(e,m,o):e:Math.min(Math.max(o,e),t)}p(_,"normalizeValue");function Q({gradient:e,disabled:t,getLabelValue:o,markLabel:m,onChange:b,value:k=50,max:c=100,min:a=0,step:d=1,mark:z}){let[g,L]=ue(()=>_(k,c,a,d));ce(()=>{L(r=>{let i=_(k,c,a,d);return i!==r?i:r})},[k,c,a,d]);let{active:U,enable:N,disable:Y}=F(),R=O(null),Z=de(()=>{if(!(z===!0&&d))return[];let r=Math.floor((c-a)/d)+1;return!Number.isFinite(r)||r<=0||r>1e4?[]:[...Array(r)].map((i,E)=>{let x=a+d*E;return{value:x,...o&&m&&{label:o(x)}}})},[z,o,m,d,a,c]),V=O(0),w=le(r=>{let i=0;try{if(r.type==="touchmove"){let[y]=r.changedTouches;i=y==null?void 0:y.clientX}else i=r.clientX}catch(y){i=r.clientX}let{width:E,left:x}=R.current.getBoundingClientRect(),ne=K((i-x)/E),S=J(ne,a,c);S=I(S,d,a),L(S),b&&(clearTimeout(V.current),V.current=setTimeout(()=>{b(S)},100))},[a,c,d,b]),v=h(r=>{w(r)}),f=h(()=>{Y(),u.document.removeEventListener("mousemove",v),u.document.removeEventListener("mouseup",f),u.document.removeEventListener("touchmove",v),u.document.removeEventListener("touchend",f)}),ee=h(r=>{r.preventDefault(),w(r),N(),u.document.addEventListener("mousemove",v,{passive:!1}),u.document.addEventListener("mouseup",f,{passive:!1})}),re=h(r=>{r.stopPropagation(),w(r),N(),u.document.addEventListener("touchmove",v,{passive:!1}),u.document.addEventListener("touchend",f,{passive:!1})}),oe=o?o(g):String(g),B=`${M(g,a,c)}%`,te={width:B},P={left:B};return n.createElement(X,{ref:R,onMouseDown:ee,onTouchStart:re,disabled:t},n.createElement(D,null),e?n.createElement(j,null,n.createElement(A,{style:P})):n.createElement($,{style:te}),Z.map(r=>{let i={left:`${M(r.value,a,c)}%`};return n.createElement(n.Fragment,{key:r.value},n.createElement(W,{active:r.value<=g,style:i}),r.label&&n.createElement(q,{style:i},r.label))}),n.createElement(H,{borderRadius:"circular",deep:1,active:U,style:P,"data-testid":"input-range-thumb"},!t&&n.createElement(T,null,n.createElement(G,null,oe))))}p(Q,"Slider");Q.displayName="Slider";export{X as a,D as b,$ as c,j as d,A as e,T as f,H as g,W as h,q as i,Q as j};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{b as h}from"./chunk-3V3ZEGHO.esm.js";import{a as F}from"./chunk-BE2JDTVA.esm.js";import{a as G}from"./chunk-OT6DKXSK.esm.js";import{c as l}from"./chunk-BMUHQ5OQ.esm.js";import{b as u}from"./chunk-G5Z7USXC.esm.js";import{b as C,g as s}from"./chunk-APD22JEO.esm.js";import{a as p}from"./chunk-GZONWSRB.esm.js";var ae=C(["--railColor:",";--trackColor:",";--thumbColor:",";--markColor:",";"],({theme:e})=>e.colors.primary.light,({theme:e})=>e.colors.primary.base,({theme:e})=>e.colors.primary.action,({theme:e})=>e.colors.primary.active),ie=C(["pointer-events:none;--railColor:",";--trackColor:",";--thumbColor:",";--markColor:transparent;"],({theme:e})=>e.colors.neutral[10],({theme:e})=>e.colors.neutral[30],({theme:e})=>e.colors.neutral[30]),X=s(l).withConfig({displayName:"InputRangestyle__SliderContainer",componentId:"sc-18639os-0"})(["--height:6px;",";cursor:pointer;box-sizing:content-box;height:var(--height);padding:1.5rem 0 2rem;width:100%;"],({disabled:e})=>e?ie:ae),D=s(l).withConfig({displayName:"InputRangestyle__SliderRail",componentId:"sc-18639os-1"})(["width:100%;height:var(--height);background:var(--railColor);position:absolute;border-radius:calc(var(--height) / 2);box-shadow:0px 0px 0px 1px var(--railColor);"]),$=s(l).withConfig({displayName:"InputRangestyle__SliderTrack",componentId:"sc-18639os-2"})(["height:var(--height);box-shadow:0px 0px 0px 1px var(--trackColor);background:var(--trackColor);border-radius:calc(var(--height) / 2);position:absolute;left:0;"]),j=s(l).withConfig({displayName:"InputRangestyle__SliderTrackGradient",componentId:"sc-18639os-3"})(["height:var(--height);background-image:linear-gradient(to right,#e12712,#ffbb00,#2cb567);background-repeat:no-repeat;border-radius:calc(var(--height) / 2);position:absolute;width:100%;left:0;"]),A=s(l).withConfig({displayName:"InputRangestyle__SliderGradient",componentId:"sc-18639os-4"})(["height:var(--height);background-color:var(--railColor);background-repeat:no-repeat;position:absolute;right:0;"]),T=s(l).attrs(e=>({bgColor:"baseLight",color:"primary.dark",borderRadius:"xs",borderWidth:"thin",p:"micro",...e})).withConfig({displayName:"InputRangestyle__SliderLabel",componentId:"sc-18639os-5"})(["--borderColor:",";opacity:0;transition:all 200ms linear;text-align:center;position:absolute;bottom:",";left:50%;transform:translateX(-50%);font-size:12px;white-space:nowrap;border-color:var(--borderColor);&:before{content:'';position:absolute;width:0;height:0;border-top:10px solid var(--borderColor);border-left:5px solid transparent;border-right:5px solid transparent;top:100%;left:50%;margin-left:-5px;margin-top:-1px;}"],({theme:e})=>e.colors.neutral[40],({theme:e})=>e.spacing("large")),se=C(["box-shadow:0px 0px 0px 9px #00000033 !important;& ","{opacity:1;}"],T),H=s(l).withConfig({displayName:"InputRangestyle__SliderThumb",componentId:"sc-18639os-6"})(["--size:calc(var(--height) * 2.4);display:flex;justify-content:center;width:var(--size);height:var(--size);margin-top:calc((var(--size) * -1 / 2) + var(--height) / 2);margin-left:calc(var(--size) * -1 / 2);position:absolute;background:var(--thumbColor);transition:box-shadow 150ms cubic-bezier(0.4,0,0.2,1) 0ms;&:hover{box-shadow:0px 0px 0px 6px #00000033;","{opacity:1;}}",""],T,({active:e})=>e&&se),W=s(l).attrs(e=>({borderRadius:"circular",...e})).withConfig({displayName:"InputRangestyle__SliderMark",componentId:"sc-18639os-7"})(["--size:calc(var(--height) * 0.8);position:absolute;margin:calc(var(--height) * 0.1);width:var(--size);height:var(--size);padding:2px;margin-left:",";background:",";"],({active:e})=>e?"unset":"calc(var(--size) * -1)",({active:e})=>e?"var(--thumbColor)":"var(--markColor)"),q=s(l).withConfig({displayName:"InputRangestyle__SliderMarkLabel",componentId:"sc-18639os-8"})(["position:absolute;margin-top:1rem;transform:translateX(-50%);white-space:nowrap;font-size:0.75rem;color:",";"],({theme:e})=>e.colors.main.base);import n,{useCallback as le,useEffect as ce,useMemo as de,useRef as O,useState as ue}from"react";function M(e,t,o){return(e-t)*100/(o-t)}p(M,"valueToPercent");function J(e,t,o){return(o-t)*e+t}p(J,"percentToValue");function I(e,t,o){let m=Math.round((e-o)/t)*t+o;return Number(m.toFixed(t))}p(I,"roundValueToStep");function K(e){return e>=1?1:e<=0?0:e}p(K,"clamp");function _(e,t,o,m){return Number.isFinite(e)&&e>=o&&e<=t?m?I(e,m,o):e:Math.min(Math.max(o,e),t)}p(_,"normalizeValue");function Q({gradient:e,disabled:t,getLabelValue:o,markLabel:m,onChange:b,value:k=50,max:c=100,min:a=0,step:d=1,mark:z}){let[g,L]=ue(()=>_(k,c,a,d));ce(()=>{L(r=>{let i=_(k,c,a,d);return i!==r?i:r})},[k,c,a,d]);let{active:U,enable:N,disable:Y}=F(),R=O(null),Z=de(()=>{if(!(z===!0&&d))return[];let r=Math.floor((c-a)/d)+1;return!Number.isFinite(r)||r<=0||r>1e4?[]:[...Array(r)].map((i,E)=>{let x=a+d*E;return{value:x,...o&&m&&{label:o(x)}}})},[z,o,m,d,a,c]),V=O(0),w=le(r=>{let i=0;try{if(r.type==="touchmove"){let[y]=r.changedTouches;i=y==null?void 0:y.clientX}else i=r.clientX}catch(y){i=r.clientX}let{width:E,left:x}=R.current.getBoundingClientRect(),ne=K((i-x)/E),S=J(ne,a,c);S=I(S,d,a),L(S),b&&(clearTimeout(V.current),V.current=setTimeout(()=>{b(S)},100))},[a,c,d,b]),v=h(r=>{w(r)}),f=h(()=>{Y(),u.document.removeEventListener("mousemove",v),u.document.removeEventListener("mouseup",f),u.document.removeEventListener("touchmove",v),u.document.removeEventListener("touchend",f)}),ee=h(r=>{r.preventDefault(),w(r),N(),u.document.addEventListener("mousemove",v,{passive:!1}),u.document.addEventListener("mouseup",f,{passive:!1})}),re=h(r=>{r.stopPropagation(),w(r),N(),u.document.addEventListener("touchmove",v,{passive:!1}),u.document.addEventListener("touchend",f,{passive:!1})}),oe=o?o(g):String(g),B=`${M(g,a,c)}%`,te={width:B},P={left:B};return n.createElement(X,{ref:R,onMouseDown:ee,onTouchStart:re,disabled:t},n.createElement(D,null),e?n.createElement(j,null,n.createElement(A,{style:P})):n.createElement($,{style:te}),Z.map(r=>{let i={left:`${M(r.value,a,c)}%`};return n.createElement(n.Fragment,{key:r.value},n.createElement(W,{active:r.value<=g,style:i}),r.label&&n.createElement(q,{style:i},r.label))}),n.createElement(H,{borderRadius:"circular",deep:1,active:U,style:P,"data-testid":"input-range-thumb"},!t&&n.createElement(T,null,n.createElement(G,null,oe))))}p(Q,"Slider");Q.displayName="Slider";export{X as a,D as b,$ as c,j as d,A as e,T as f,H as g,W as h,q as i,Q as j};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{p as m}from"./chunk-HZN744T5.esm.js";import{d as r}from"./chunk-OT6DKXSK.esm.js";import{a as o}from"./chunk-RHUIIG22.esm.js";import{g as n}from"./chunk-APD22JEO.esm.js";import{a}from"./chunk-GZONWSRB.esm.js";import e from"react";var p=n(o).attrs(t=>({bgColor:"neutral.5",...t})).withConfig({displayName:"TableEmptystyle__TableEmptyStyle",componentId:"sc-1rhi83a-0"})([""]);var i=a(t=>e.createElement(p,{width:"100%",justifyContent:"center",alignItems:"center",gap:2,p:"xl",...t},t.iconPropsEmpty?e.createElement(m,{...t.iconPropsEmpty}):e.createElement(m,{name:"pictures",size:"xl",color:"primary.dark"}),e.createElement(o,{width:"50%"},e.createElement(r,{variant:"h5",color:"primary",textAlign:"center"},t.titleEmpty?t.titleEmpty:"Nada foi encontrado"),e.createElement(r,{variant:"p",color:"primary",textAlign:"center"},t.subtitleEmpty?t.subtitleEmpty:"Tente ajustar os par\xE2metros dos filtros ou tente um novo termo para a busca."))),"TableEmptyComponent");export{p as a,i as b};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{d as c}from"./chunk-L5HTMWK3.esm.js";import{a as r}from"./chunk-M4RSCRNV.esm.js";import{a as b}from"./chunk-CDRLVSLF.esm.js";import{a as n}from"./chunk-EET35TCO.esm.js";import{g as C}from"./chunk-APD22JEO.esm.js";import{a as l}from"./chunk-GZONWSRB.esm.js";import t from"react";var a=C(r).withConfig({displayName:"TableCheckboxCellstyle__TableCheckboxCellStyle",componentId:"sc-g7895e-0"})([""]);var o=l(m=>{let{getSelected:x}=t.useContext(b),h=l(e=>[...e.parentNode.children].indexOf(e),"getNodeIndex"),p=l(e=>{let T=h(e.target.closest("tr"));x(T,e.target.checked)},"handleChecked");return t.createElement(a,null,t.createElement(n,null,t.createElement(c,{label:m.children,onChange:p})))},"TableCheckboxCellComponent");o.displayName="TableCheckboxCell";export{a,o as b};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{p as u}from"./chunk-QS6Q6GHV.esm.js";import{c as g}from"./chunk-XNGGM6D6.esm.js";import{a as x}from"./chunk-IWMEDT6U.esm.js";import{d as S}from"./chunk-JSUB6SAI.esm.js";import{a as m}from"./chunk-BT6SPTZZ.esm.js";import{b as f}from"./chunk-A6Z2M2XU.esm.js";import{g as p}from"./chunk-APD22JEO.esm.js";import{a as l}from"./chunk-GZONWSRB.esm.js";import o,{forwardRef as N,useState as E}from"react";var h=p(m).withConfig({displayName:"Liststyle__ListStyle",componentId:"sc-1bknes7-0"})(["list-style:none;padding:0;margin:0;"]),w=p(m).withConfig({displayName:"Liststyle__ListItemStyle",componentId:"sc-1bknes7-1"})(["padding:8px 12px;cursor:pointer;&:hover{","}",""],f(({isSelected:t})=>!t&&{bgColor:"neutral.10"}),f(({isSelected:t})=>t&&{bgColor:"neutral.40"}));var F=l(({item:t,showCheckIcon:a,action:d})=>{var c;if(!t.title)throw new Error("You need to pass a title to you object inside the list");let i=a&&t.isSelected&&!t.to,r=l(()=>!t.to&&d(),"onClickItem"),n=o.createElement(w,{as:"li",gap:"xs",width:"100%",flexDirection:"row",alignItems:"center",borderRadius:"micro",isSelected:t.isSelected,onClick:r},(c=t.icon)!=null?c:i&&o.createElement(u,{name:"check",color:"main"}),o.createElement(S,{whiteSpace:"nowrap"},t.title));return t.to?o.createElement(g,{href:t.to},n):n},"ListItem"),j=N(({content:t,multiple:a,showCheckIcon:d,onSelectItems:i,onItemClick:r,...n},c)=>{let[L,b]=E(()=>t.map(e=>({id:x(5),isSelected:!1,...e}))),k=l(e=>()=>{var I;let C=e.id,T=!e.isSelected,y=L.map(s=>s.id===C?{...s,isSelected:T}:{...s,isSelected:a?s.isSelected:!1});if(b(y),i==null||i(y),r==null||r(e),e.action){let{action:s,icon:v,..._}=e;(I=e.action)==null||I.call(e,_)}},"toggleItem");return o.createElement(h,{as:"ul",gap:"micro",...n,ref:c},L.map(e=>o.createElement(F,{item:e,key:e.id,showCheckIcon:d,action:k(e)})))});j.displayName="List";export{h as a,w as b,j as c};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as f}from"./chunk-OT6DKXSK.esm.js";import{b as n}from"./chunk-752Z7BQF.esm.js";import{b as m}from"./chunk-4MBWRDIJ.esm.js";import{d as l}from"./chunk-U27SLYIV.esm.js";import{g as p}from"./chunk-APD22JEO.esm.js";import{a as t}from"./chunk-GZONWSRB.esm.js";import b from"react";function c(o){return o==="default"?"primary":o==="info"?"information":o}t(c,"getColorVariant");function y(o,r){var a,i;let e=c(r);return{backgroundColor:(a=o.colors[e])==null?void 0:a.light,color:(i=o.colors[e])==null?void 0:i.action}}t(y,"getColor");var s=p(f).withConfig({displayName:"Labelstyle__LabelStyle",componentId:"sc-dznqj7-0"})(["display:inline;align-self:flex-start;"," "," "," ",""],n({fontSize:"micro",lineHeight:"close"}),m({px:"small",py:"xs"}),l({borderRadius:"micro"}),({theme:o,variant:r})=>y(o,r));function d(o){let{variant:r="default",text:e,children:a}=o;return b.createElement(s,{variant:r},a||e)}t(d,"Label");d.displayName="Label";export{s as a,d as b};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as f,b as i}from"./chunk-3XYKHZQ7.esm.js";import{b as n}from"./chunk-M4RSCRNV.esm.js";import{a as b}from"./chunk-CDRLVSLF.esm.js";import{d as a}from"./chunk-JSUB6SAI.esm.js";import{g as T}from"./chunk-APD22JEO.esm.js";import{a as m}from"./chunk-GZONWSRB.esm.js";import o from"react";var p=T.tfoot.withConfig({displayName:"TableFooterstyle__TableFooterStyle",componentId:"sc-lefdns-0"})(["width:100%;& > ","{background-color:",";}"],f,({theme:r})=>r.colors.getColor(r.colors.neutral[20]));var l=m(r=>{let{columnSum:e}=o.useContext(b),s=e.index!==void 0?o.createElement(i,null,Array.from({length:e.index+1},(d,t)=>e.index===t?o.createElement(n,{key:t},o.createElement(a,{variant:"h6"},e.sum)):e.index-1===t?o.createElement(n,{key:t},o.createElement(a,{variant:"h6"},"Total:")):o.createElement(n,{key:t},"\xA0"))):r.children;return o.createElement(p,{isSum:e.index!==void 0,...r},s)},"TableFooterComponent");l.displayName="TableFooter";export{p as a,l as b};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import{b as a}from"./chunk-4YCPDIRM.esm.js";import{e as m}from"./chunk-7UIH7PNC.esm.js";import{a as d}from"./chunk-RHUIIG22.esm.js";import{g as i}from"./chunk-APD22JEO.esm.js";import{a as o}from"./chunk-GZONWSRB.esm.js";import e from"react";var n={xs:{columns:"1fr",rows:"100%",areas:`
|
|
2
|
+
"content"
|
|
3
|
+
`},md:{columns:"200px 1fr",rows:"100%",areas:`
|
|
4
|
+
"sidebar content"
|
|
5
|
+
`}};var s=i(a).attrs({medias:n}).withConfig({displayName:"SideBarLayoutstyle__StyledGrid",componentId:"sc-191lt0b-0"})(["height:100%;"]);function f({layoutComponents:r}){let{isMobile:t}=m();return e.createElement(s,null,!t&&r.sidebar&&e.createElement(r.sidebar,null),e.createElement(d,{area:"content",width:"100%",justifyContent:t?"center":void 0},r.content&&e.createElement(r.content,null)))}o(f,"SideBarLayout");f.displayName="SideBarLayout";export{n as a,s as b,f as c};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as ue}from"./chunk-3EOSES4S.esm.js";import{e as r}from"./chunk-JHHNSZJ4.esm.js";import{e as pe}from"./chunk-APD22JEO.esm.js";import{a as t}from"./chunk-GZONWSRB.esm.js";function n(a,o,i){var c,m,d,f,b,k,p,u,g,S,v,D,h,F,x,P,l,y,T,O,L,M,w,C,R,N,j,q,z,A,B,E,G,H,I,J,K,Q,U,V,W,X,Y,Z,_,$,ee,re,ae,te,oe,ie,ne,se,ce,me,de,fe,be,ke;if(o==="positive")return a;let{colors:e}=a,s={color:{feedback:{success:{bg:(d=(m=(c=e.success)==null?void 0:c.dark)!=null?m:e.baseDark)!=null?d:"#000",txtOn:r((k=(b=(f=e.success)==null?void 0:f.dark)!=null?b:e.baseDark)!=null?k:"#000"),border:(g=(u=(p=e.success)==null?void 0:p.base)!=null?u:e.baseLight)!=null?g:"#FFF"},danger:{bg:(D=(v=(S=e.danger)==null?void 0:S.dark)!=null?v:e.baseDark)!=null?D:"#000",txtOn:r((x=(F=(h=e.danger)==null?void 0:h.dark)!=null?F:e.baseDark)!=null?x:"#000"),border:(y=(l=(P=e.danger)==null?void 0:P.base)!=null?l:e.baseLight)!=null?y:"#FFF"},warning:{bg:(L=(O=(T=e.warning)==null?void 0:T.dark)!=null?O:e.baseDark)!=null?L:"#000",txtOn:r((C=(w=(M=e.warning)==null?void 0:M.dark)!=null?w:e.baseDark)!=null?C:"#000"),border:(j=(N=(R=e.warning)==null?void 0:R.base)!=null?N:e.baseLight)!=null?j:"#FFF"},information:{bg:(A=(z=(q=e.information)==null?void 0:q.dark)!=null?z:e.baseDark)!=null?A:"#000",txtOn:r((G=(E=(B=e.information)==null?void 0:B.dark)!=null?E:e.baseDark)!=null?G:"#000"),border:(J=(I=(H=e.information)==null?void 0:H.base)!=null?I:e.baseLight)!=null?J:"#FFF"}},interface:{function:{primary:{normal:{bg:(K=e.baseDark)!=null?K:"#000",txtOn:r((Q=e.baseDark)!=null?Q:"#000")}},secondary:{normal:{bg:(U=e.baseDark)!=null?U:"#000",txtOn:r((V=e.baseDark)!=null?V:"#000")}},tertiary:{normal:{bg:(W=e.baseDark)!=null?W:"#000",txtOn:r((X=e.baseDark)!=null?X:"#000")}}}},brand:{first:{default:{surface:(_=(Z=(Y=e.main)==null?void 0:Y.dark)!=null?Z:e.baseDark)!=null?_:"#000",txtOn:r((re=(ee=($=e.main)==null?void 0:$.dark)!=null?ee:e.baseDark)!=null?re:"#000")}},second:{default:{surface:(oe=(te=(ae=e.opposite)==null?void 0:ae.dark)!=null?te:e.baseDark)!=null?oe:"#000",txtOn:r((se=(ne=(ie=e.opposite)==null?void 0:ie.dark)!=null?ne:e.baseDark)!=null?se:"#000")}},third:{default:{surface:(de=(me=(ce=e.complementary)==null?void 0:ce.dark)!=null?me:e.baseDark)!=null?de:"#000",txtOn:r((ke=(be=(fe=e.complementary)==null?void 0:fe.dark)!=null?be:e.baseDark)!=null?ke:"#000")}}}},dimension:a.semantic.dimension};return{...a,semantic:s,foundation:ue(s)}}t(n,"invertForSurface");import ge from"react";var Se=t(({surface:a="positive",children:o})=>{let i=ge.useCallback(e=>n(e,a),[a]);return ge.createElement(pe,{theme:i},o)},"SurfaceProvider");export{n as a,Se as b};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import{a as wo}from"./chunk-PBY237H5.esm.js";import{a as Lo,b as To}from"./chunk-TG5BCBO4.esm.js";import{a as Eo}from"./chunk-TLVEHSRT.esm.js";import{b as yo,c as So}from"./chunk-KT6QQ3UJ.esm.js";import{a as No}from"./chunk-6G72BOTI.esm.js";import{b as vo}from"./chunk-IT4J7I6H.esm.js";import{b as ko}from"./chunk-JOKVE3IX.esm.js";import{a as Po}from"./chunk-Z5OQHLDW.esm.js";import{a as bo}from"./chunk-3EOSES4S.esm.js";import{a as Io}from"./chunk-NQBO2D7L.esm.js";import{a as ho}from"./chunk-3DUB5C4Z.esm.js";import{a as Co}from"./chunk-TDVKGVGD.esm.js";import{c as _o}from"./chunk-XSVOUWBC.esm.js";import{d as Bo}from"./chunk-2YY7A36W.esm.js";import{a as Fo,b as Mo}from"./chunk-CYURSPLT.esm.js";import{a as xo}from"./chunk-UI6CJPP3.esm.js";import{e as $}from"./chunk-7UIH7PNC.esm.js";import{b as Ao}from"./chunk-GK6CPN6F.esm.js";import{a as Ro}from"./chunk-IWMEDT6U.esm.js";import{a as uo,d as Y}from"./chunk-DX5SUG7X.esm.js";import{a as go}from"./chunk-LVZPZN7J.esm.js";import{a as F}from"./chunk-LJB6XGSJ.esm.js";import{a as A,c as w,d as B}from"./chunk-3MTWHDSL.esm.js";import{a as ao,b as po}from"./chunk-2SPVSCZD.esm.js";import{a as no,b as io}from"./chunk-JXUDEW5J.esm.js";import{d as S}from"./chunk-JHHNSZJ4.esm.js";import{a as oo,c as eo,k as to,l as ro}from"./chunk-XJ7EBVG3.esm.js";import{b as V,c as y}from"./chunk-G5Z7USXC.esm.js";import{b as mo,c as co,d as so,e as lo,f as fo,g as u}from"./chunk-APD22JEO.esm.js";import{a as r}from"./chunk-GZONWSRB.esm.js";import p from"react";import Do from"deepmerge";var z=Do;function O(o={}){let{colors:e,breakpoints:t,spacing:n,border:a,font:i,dimension:m}=z({colors:no,spacing:Lo,font:Po,border:ho,breakpoints:yo,dimension:ko},o),c=io(e),s=To(n,m),f=wo({colors:c,spacing:s});return{font:i,border:a,animation:Io,colors:c,breakpoints:So(t),spacing:s,depth:vo(c),deep:No(c),semantic:f,foundation:bo(f)}}r(O,"createTheme");import l,{useEffect as xe,useState as Ie}from"react";import{createPortal as he}from"react-dom";var L=u(w).withConfig({displayName:"Iconstyle__IconStyle",componentId:"sc-l15crp-0"})(({theme:o,size:e})=>({fontSize:e?o.spacing(e):"inherit",display:"inline-block",lineHeight:0,"& svg":{stroke:"currentColor",fill:"currentColor",strokeWidth:0,"& g":{fill:"currentColor"}}}));import k,{forwardRef as q,useEffect as fe,useState as pe}from"react";function Wo(o,e){if(typeof window!="undefined")try{window.fetch(o).then(t=>t.text()).then(t=>to(t,"svg")).then(ro).then(e)}catch(t){oo.warn(`[ICON] Failed to load icon from: ${o}`)}}r(Wo,"getIconFromUrl");var oe=r(({cover:o,height:e,width:t})=>o&&{width:t!=null?t:"100%",height:e!=null?e:"100%",objectFit:"cover"},"imageCover"),Vo=r(o=>o?eo(o):"fit-content","getSizeValue"),Yo=po("img")`
|
|
2
|
+
display: block;
|
|
3
|
+
width: ${({full:o,width:e})=>o?"100%":Vo(e)};
|
|
4
|
+
height: ${({height:o})=>Vo(o)};
|
|
5
|
+
${oe};
|
|
6
|
+
|
|
7
|
+
&[src=''] {
|
|
8
|
+
visibility: hidden;
|
|
9
|
+
position: absolute;
|
|
10
|
+
}
|
|
11
|
+
`;import x,{forwardRef as me,useState as ce}from"react";var $o=u.rect.withConfig({displayName:"RectComponentstyle__RectStyle",componentId:"sc-ofzrwt-0"})(["stroke:",";fill:",";"],({theme:o})=>S(o.colors.neutral[20]),({theme:o})=>S(o.colors.neutral[5]));import ee from"react";function N(o){return ee.createElement($o,{...o})}r(N,"RectComponent");N.displayName="Rect";import te from"react";import zo,{BulletList as G,Code as H,Facebook as j,List as U}from"react-content-loader";var Q=zo;function v({children:o,...e}){let{colors:t}=fo();return te.createElement(Q,{...e,viewBox:`0 0 ${e.width} ${e.height}`,backgroundColor:S(e.backgroundColor||t.neutral[10]),foregroundColor:S(e.foregroundColor||t.neutral[30])},o)}r(v,"ComposedSkeletonComponent");v.displayName="Skeleton";var re=U,ne=G,ie=H,ae=j;import Oo from"react";function K({width:o,height:e=13}){return Oo.createElement(v,{width:o,height:e},Oo.createElement(N,{x:0,y:0,width:o,height:e}))}r(K,"TextPresetComponent");K.displayName="TextPreset";var M=me(({src:o,...e},t)=>x.createElement(Yo,{src:o,ref:t,...e})),se=r(({width:o=60,height:e=60})=>x.createElement(v,{height:e,width:o},x.createElement(N,{width:o,height:e})),"ImageDefaultContentLoader");function le(o){return new Promise((e,t)=>{let n=new Image;n.onload=e,n.onerror=t,n.src=o})}r(le,"loadImage");var Go=r(({src:o,fallback:e,threshold:t,...n})=>{let[a,i]=ce(),[m]=xo({threshold:t},()=>{le(o).then(()=>i(o)).catch(()=>console.warn(`[Failed]: error on loading image: ${o}`))}),c=typeof a=="undefined";return x.createElement(x.Fragment,null,c?e||x.createElement(se,{...n}):null,x.createElement(M,{src:a||"",ref:m,...n}))},"ImageLazy");Go.displayName="ImageLazy";var _=r((o,e)=>k.cloneElement(o,e),"createIcon"),de=q(({icon:o,name:e,iconProps:t,svgProps:n,children:a,...i},m)=>{let c=r(()=>{let s=null;return a?s=_(a,n):e?s=_(Co[e],n):o?s=_(o,n):t&&(s=Bo(n)),s},"getIcon");return k.createElement(L,{...i,ref:m},c())}),ue=q(({title:o,src:e,svgProps:t,...n},a)=>{let[i,m]=pe(()=>k.createElement(M,{height:"1em",width:"1em",alt:o}));return fe(()=>{Wo(e,c=>{m(_(c,t))})},[e]),k.createElement(L,{...n,ref:a},i)}),R=q(({title:o,...e},t)=>{let n={...e.iconProps||{},title:o,stroke:"currentColor",fill:"currentColor",strokeWidth:"0",height:"1em",width:"1em"};return e.src?k.createElement(ue,{...e,svgProps:n,ref:t}):k.createElement(de,{...e,svgProps:n,ref:t})});R.displayName="Icon";var ge=co(["0%{width:0;}100%{width:100%;}"]),J=u(F).withConfig({displayName:"Notificationstyle__NotificationProgress",componentId:"sc-6lckl1-0"})(["--time:15;width:0;height:0.25rem;background-color:var(--baseColor);animation:"," calc(var(--time,15) * 1s) normal forwards;"],ge),Ho=u(F).withConfig({displayName:"Notificationstyle__ProgressContainer",componentId:"sc-6lckl1-1"})(["position:absolute;top:0.25rem;left:0.5rem;right:0.5rem;"]);function Ce({variant:o,theme:e}){let t=e.colors[o];return mo(["--baseColor:",";--lightColor:",";--darkColor:",";--activeColor:",";--actionColor:",";position:relative;background-color:var(--lightColor);border-color:var(--baseColor);","{color:var(--darkColor);}& ","{width:intrinsic;color:var(--darkColor);&:hover{background:var(--activeColor);}&:active ","{color:var(--actionColor);}}&:hover ","{animation-play-state:paused;}"],t.base,t.light,t.dark,t.active,t.action,uo,Fo,L,J)}r(Ce,"getWrapperStyle");var X=u(B).withConfig({displayName:"Notificationstyle__WrapperNotificationStyle",componentId:"sc-6lckl1-2"})(Ce);X.displayName="div";var jo=u(F).withConfig({displayName:"Notificationstyle__NotificationIconStyle",componentId:"sc-6lckl1-3"})(["color:var(--darkColor);svg{width:2rem;height:2rem;}"]);var Uo=r(({type:o="block",variant:e="primary",visible:t=!0,closable:n=!0,autoClose:a=null,message:i=null,action:m=null,icon:c=null,link:s,onDismiss:f,...P})=>{let{isMobile:I}=$(),d=r(()=>{let h=m;return typeof m=="function"&&(h=m({close:f})),h?l.cloneElement(h,{color:e,alignSelf:"center",justifySelf:"center"}):null},"renderActionButton"),T=r(()=>typeof i=="function"?i({close:f}):typeof i=="string"?l.createElement(Y,{text:i,variant:"p",fontSize:"xs"}):i,"renderMessage");return t?l.createElement(X,{p:"medium",pr:9,round:I?0:"xs",borderWidth:I?"none":"thin",borderStyle:"solid",variant:e,"data-testid":`notification-${o}`,...P},a&&l.createElement(Ho,null,l.createElement(J,{round:"micro",style:{"--time":a},onAnimationEnd:f})),l.createElement(go,{contentGap:"medium",opener:c&&l.createElement(jo,{pt:"xs",alignSelf:"start"},c),closer:d()},P.title&&l.createElement(Y,{text:P.title,variant:"h3",fontSize:"small",fontWeight:"stronger",type:"mobile"}),T(),s&&l.createElement(_o,{...s,target:"_blank"})),n&&l.createElement(Mo,{p:"xs",borderWidth:"none",icon:l.createElement(R,{size:"small",name:"times"}),variant:"linked",onClick:f,alignSelf:"start",position:"absolute",right:"0.5rem",top:"0.5rem"})):null},"BaseNotification"),ye=r(o=>{let{isMobile:e}=$(),[t,n]=Ie(!1);xe(()=>{n(!0)},[]);let a=o.pagePosition==="top"?{top:0}:{bottom:0};if(!t||!y)return null;let i=o.visible!==!1;return he(l.createElement(A,null,i?l.createElement(Uo,{...o,initial:{y:"-100%",opacity:0},animate:{y:0,opacity:1},exit:{y:"-100%",opacity:0},style:{...a,zIndex:1e3,margin:e?0:"1rem",position:"fixed",right:0,left:0}}):null),y)},"PageNotification"),D=r(o=>o.type==="page"?l.createElement(ye,{...o}):l.createElement(Uo,{...o}),"NotificationComponent");D.displayName="Notification";import g,{createContext as Se,useContext as Ne,useEffect as ve,useReducer as ke,useState as Pe}from"react";import{createPortal as be}from"react-dom";var Qo=Se({});function we(o,{type:e,payload:t}){switch(e){case"ADD":return[t,...o];case"REMOVE":return o.filter(n=>n.id!==t.id);default:return o}}r(we,"NotificationReducer");var Ko=r(o=>{let[e,t]=ke(we,[]),n=r(i=>{t({type:"REMOVE",payload:{id:i}})},"removeNotification"),a=r(i=>{if(t({type:"ADD",payload:{id:Ro(),...i}}),e.length>=3){let[m]=e.slice(-1);setTimeout(()=>n(m.id),0)}},"showNotification");return g.createElement(Qo.Provider,{value:{notifications:e,removeNotification:n,showNotification:a}},g.createElement(g.Fragment,null,o.children,g.createElement(Te,null)))},"NotificationsProvider");function Le(){let o=Ne(Qo);if(o===void 0)throw new Error("cant use useNotification hook outside of <NotificationsProvider />");return o}r(Le,"useNotification");var Te=r(()=>{let{notifications:o,removeNotification:e}=Le(),[t,n]=Pe(!1);return ve(()=>{n(!0)},[]),!t||!y?null:be(g.createElement(w,{style:{position:"fixed",bottom:"1rem",right:"1rem"}},g.createElement(A,null,o.map(({id:a,...i})=>g.createElement(B,{key:a,initial:{x:"100%",opacity:0},animate:{x:0,opacity:1},exit:{scale:0,opacity:0,height:0},style:{minWidth:300,maxWidth:"30vw",zIndex:100}},g.createElement(w,{style:{margin:"0.5rem"}},g.createElement(D,{...i,visible:!0,closable:!0,onDismiss:()=>e(a)})))))),y)},"NotificationGroup");function Ee(o,e){return typeof e=="string"?ao(o):!0}r(Ee,"shouldForwardProp");var qo="(prefers-color-scheme: dark)";function Ae(){var o,e;return!!((e=(o=V)==null?void 0:o.matchMedia)!=null&&e.call(o,qo).matches)}r(Ae,"prefersDarkScheme");var Jo=p.createContext(null);function Be(){let o=p.useContext(Jo);if(o===null)throw new Error("useApollionTheme deve ser usado dentro de um <ApollionProvider>.");return o}r(Be,"useApollionTheme");var Fe=r(({children:o,theme:e,lightTheme:t,darkTheme:n,useSystemPreference:a=!1,themeMode:i,onThemeModeChange:m,surface:c="positive",dimension:s})=>{let f=i!==void 0,[P,I]=p.useState(()=>a&&Ae()?"dark":"light"),d=f?i:P;p.useEffect(()=>{var E,Z;if(f||!a)return;let C=(Z=(E=V)==null?void 0:E.matchMedia)==null?void 0:Z.call(E,qo);if(!C)return;I(C.matches?"dark":"light");let b=r(Zo=>{I(Zo.matches?"dark":"light")},"handleChange");return C.addEventListener("change",b),()=>C.removeEventListener("change",b)},[f,a]);let T=p.useCallback(C=>{let b=C!=null?C:d==="dark"?"light":"dark";f||I(b),m==null||m(b)},[d,f,m]),h=p.useMemo(()=>t&&n?d==="dark"?n:t:t||n||(e!=null?e:O(s!==void 0?{dimension:s}:void 0)),[t,n,e,s,d]),W=p.useMemo(()=>Eo(h,c,d),[h,c,d]),Xo=p.useMemo(()=>({theme:W,themeMode:d,toggleTheme:T}),[W,d,T]);return p.createElement(so,{shouldForwardProp:Ee},p.createElement(Jo.Provider,{value:Xo},p.createElement(lo,{theme:W},p.createElement(Ao,null,p.createElement(Ko,null,o)))))},"ApollionProvider");export{L as a,Yo as b,O as c,Be as d,Fe as e,$o as f,N as g,v as h,re as i,ne as j,ie as k,ae as l,K as m,M as n,Go as o,R as p,J as q,Ho as r,X as s,jo as t,D as u,Ko as v,Le as w,Te as x};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as m}from"./chunk-
|
|
1
|
+
import{c as m}from"./chunk-QERJQEN4.esm.js";import{d as r}from"./chunk-OT6DKXSK.esm.js";import{a as t}from"./chunk-RHUIIG22.esm.js";import{c as i}from"./chunk-BMUHQ5OQ.esm.js";import{a as n}from"./chunk-GZONWSRB.esm.js";import o from"react";var f=n(({children:p,icon:l,title:a,description:x,...e})=>{let c=e.inverted?"neutral.170":"grayscale.0";return o.createElement(m,{content:o.createElement(i,{p:"xs"},o.createElement(t,{gap:"medium",maxWidth:400,color:c},o.createElement(t,{flexDirection:"row",alignItems:"center",gap:"medium"},l,o.createElement(r,{variant:"h4",text:a,color:null})),o.createElement(r,{variant:"p",text:x,color:null}))),...e},p)},"Popover");f.displayName="Popover";export{f as a};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import{a as x,b as y,c as T,f as h}from"./chunk-MELVMDJS.esm.js";import{a as c}from"./chunk-BT6SPTZZ.esm.js";import{b as o}from"./chunk-4CULNDXB.esm.js";import{b as f}from"./chunk-752Z7BQF.esm.js";import{b as d}from"./chunk-4MBWRDIJ.esm.js";import{b as p}from"./chunk-A6Z2M2XU.esm.js";import{d as u}from"./chunk-U27SLYIV.esm.js";import{a as s}from"./chunk-GZONWSRB.esm.js";var S=o("textarea")`
|
|
2
|
+
-webkit-appearance: none;
|
|
3
|
+
width: 100%;
|
|
4
|
+
outline: none;
|
|
5
|
+
display: block;
|
|
6
|
+
transition: ${({theme:e})=>e.animation.transitions.short};
|
|
7
|
+
|
|
8
|
+
${x}
|
|
9
|
+
|
|
10
|
+
${T}
|
|
11
|
+
|
|
12
|
+
${y}
|
|
13
|
+
|
|
14
|
+
${u({borderRadius:"xs",borderWidth:"thin",borderStyle:"solid"})}
|
|
15
|
+
${f({fontFamily:"main"})}
|
|
16
|
+
${d({p:"small"})}
|
|
17
|
+
${p({bgColor:"grayscale.0"})}
|
|
18
|
+
`,A=o(c)`
|
|
19
|
+
position: absolute;
|
|
20
|
+
right: 0;
|
|
21
|
+
bottom: 0;
|
|
22
|
+
line-height: 1.2rem;
|
|
23
|
+
font-size: 0.6875rem;
|
|
24
|
+
transform: translateY(100%);
|
|
25
|
+
color: ${({theme:e})=>e.colors.neutral[170]};
|
|
26
|
+
`;import a,{forwardRef as k,useState as V}from"react";var D={expansive:{fontSize:"medium",py:"medium"},medium:{fontSize:"medium",py:"small"},compact:{fontSize:"medium",py:"xs"},micro:{py:"micro",fontSize:"small",borderRadius:"micro"}},g=k(({value:e,defaultValue:b,onChange:n,maxLengthHint:C="characters left",variant:i="default",resize:I=!1,size:z="medium",...r},F)=>{let t=e!==void 0,[l,$]=V(b||""),P=t?e:l;return a.createElement(h,{variant:i},a.createElement(S,{value:t?e:l,defaultValue:void 0,variant:i,onChange:s(m=>{t||$(m.target.value),n&&n(m)},"handleChange"),...D[z],...r,ref:F,style:{resize:I?"both":"none"}}),r.maxLength&&a.createElement(A,null,Number(r.maxLength)-(P||"").length," ",C))});g.displayName="TextArea";export{S as a,A as b,g as c};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{d as u}from"./chunk-CI3LQ5Z4.esm.js";import{c as a}from"./chunk-6SZWWC4Q.esm.js";import{b as o}from"./chunk-752Z7BQF.esm.js";import{b as r}from"./chunk-4MBWRDIJ.esm.js";import{d as t}from"./chunk-U27SLYIV.esm.js";import{g as m}from"./chunk-APD22JEO.esm.js";import{a as i}from"./chunk-GZONWSRB.esm.js";import s,{forwardRef as x}from"react";function S({size:n}){switch(n){case"extraSmall":return[r({p:"micro"}),t({borderRadius:"micro"}),o({fontSize:"micro"})];case"small":return[r({p:"xs"}),t({borderRadius:"circular"}),o({fontSize:"xs"})];case"large":return[r({p:"medium"}),t({borderRadius:"circular"}),o({fontSize:"medium"})];default:return[r({p:"small"}),t({borderRadius:"circular"}),o({fontSize:"small"})]}}i(S,"iconButtonSize");var f=m(u).withConfig({displayName:"IconButtonstyle__IconButtonStyle",componentId:"sc-1uzpf1p-0"})(S);var l=x(({color:n="primary",size:p="medium",variant:d="contained",icon:I=null,...c},B)=>{let{isLoading:y,loadingComponent:e}=c;return s.createElement(f,{...c,color:n,size:p,variant:d,as:"button",ref:B},y?e!=null?e:s.createElement(a,{"data-testid":"icon-spinner"}):I)});l.displayName="IconButton";export{f as a,l as b};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import{b as a}from"./chunk-LJBLVEW3.esm.js";import{e as m}from"./chunk-7UIH7PNC.esm.js";import{a as d}from"./chunk-LJB6XGSJ.esm.js";import{g as i}from"./chunk-APD22JEO.esm.js";import{a as o}from"./chunk-GZONWSRB.esm.js";import e from"react";var n={xs:{columns:"1fr",rows:"100%",areas:`
|
|
2
|
+
"content"
|
|
3
|
+
`},md:{columns:"200px 1fr",rows:"100%",areas:`
|
|
4
|
+
"sidebar content"
|
|
5
|
+
`}};var s=i(a).attrs({medias:n}).withConfig({displayName:"SideBarLayoutstyle__StyledGrid",componentId:"sc-191lt0b-0"})(["height:100%;"]);function f({layoutComponents:r}){let{isMobile:t}=m();return e.createElement(s,null,!t&&r.sidebar&&e.createElement(r.sidebar,null),e.createElement(d,{area:"content",width:"100%",justifyContent:t?"center":void 0},r.content&&e.createElement(r.content,null)))}o(f,"SideBarLayout");f.displayName="SideBarLayout";export{n as a,s as b,f as c};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a}from"./chunk-OT6DKXSK.esm.js";import{a as r}from"./chunk-RHUIIG22.esm.js";import{a as i}from"./chunk-GZONWSRB.esm.js";import e from"react";var d=i(({media:t,title:o,description:l,actionComponent:n,children:m,...f})=>{let x=typeof o=="string"?e.createElement(a,{as:"h4",fontSize:"small",fontWeight:"bold",lineHeight:"regular",color:"neutral.180"},o):o,s=typeof l=="string"?e.createElement(a,{as:"p",fontSize:"micro",lineHeight:"wild",color:"neutral.180"},l):l;return e.createElement(r,{display:"inline-flex",borderRadius:"md",borderWidth:"thin",borderColor:"neutral.30",overflow:"hidden",...f},t&&e.createElement(r,{area:"media"},t),e.createElement(r,{p:"large",gap:"large"},e.createElement(r,{area:"content",gap:"xs"},e.createElement(r,{area:"title"},x),e.createElement(r,{area:"subtitle"},s,m)),n&&e.createElement(r,{area:"action",flex:"fluid",mt:"large"},n)))},"CardComponent");d.displayName="Card";export{d as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{b as h}from"./chunk-3V3ZEGHO.esm.js";import{a as F}from"./chunk-BE2JDTVA.esm.js";import{a as G}from"./chunk-DX5SUG7X.esm.js";import{c as l}from"./chunk-3MTWHDSL.esm.js";import{b as u}from"./chunk-G5Z7USXC.esm.js";import{b as C,g as s}from"./chunk-APD22JEO.esm.js";import{a as p}from"./chunk-GZONWSRB.esm.js";var ae=C(["--railColor:",";--trackColor:",";--thumbColor:",";--markColor:",";"],({theme:e})=>e.colors.primary.light,({theme:e})=>e.colors.primary.base,({theme:e})=>e.colors.primary.action,({theme:e})=>e.colors.primary.active),ie=C(["pointer-events:none;--railColor:",";--trackColor:",";--thumbColor:",";--markColor:transparent;"],({theme:e})=>e.colors.neutral[10],({theme:e})=>e.colors.neutral[30],({theme:e})=>e.colors.neutral[30]),X=s(l).withConfig({displayName:"InputRangestyle__SliderContainer",componentId:"sc-18639os-0"})(["--height:6px;",";cursor:pointer;box-sizing:content-box;height:var(--height);padding:1.5rem 0 2rem;width:100%;"],({disabled:e})=>e?ie:ae),D=s(l).withConfig({displayName:"InputRangestyle__SliderRail",componentId:"sc-18639os-1"})(["width:100%;height:var(--height);background:var(--railColor);position:absolute;border-radius:calc(var(--height) / 2);box-shadow:0px 0px 0px 1px var(--railColor);"]),$=s(l).withConfig({displayName:"InputRangestyle__SliderTrack",componentId:"sc-18639os-2"})(["height:var(--height);box-shadow:0px 0px 0px 1px var(--trackColor);background:var(--trackColor);border-radius:calc(var(--height) / 2);position:absolute;left:0;"]),j=s(l).withConfig({displayName:"InputRangestyle__SliderTrackGradient",componentId:"sc-18639os-3"})(["height:var(--height);background-image:linear-gradient(to right,#e12712,#ffbb00,#2cb567);background-repeat:no-repeat;border-radius:calc(var(--height) / 2);position:absolute;width:100%;left:0;"]),A=s(l).withConfig({displayName:"InputRangestyle__SliderGradient",componentId:"sc-18639os-4"})(["height:var(--height);background-color:var(--railColor);background-repeat:no-repeat;position:absolute;right:0;"]),T=s(l).attrs(e=>({bgColor:"baseLight",color:"primary.dark",borderRadius:"xs",borderWidth:"thin",p:"micro",...e})).withConfig({displayName:"InputRangestyle__SliderLabel",componentId:"sc-18639os-5"})(["--borderColor:",";opacity:0;transition:all 200ms linear;text-align:center;position:absolute;bottom:",";left:50%;transform:translateX(-50%);font-size:12px;white-space:nowrap;border-color:var(--borderColor);&:before{content:'';position:absolute;width:0;height:0;border-top:10px solid var(--borderColor);border-left:5px solid transparent;border-right:5px solid transparent;top:100%;left:50%;margin-left:-5px;margin-top:-1px;}"],({theme:e})=>e.colors.neutral[40],({theme:e})=>e.spacing("large")),se=C(["box-shadow:0px 0px 0px 9px #00000033 !important;& ","{opacity:1;}"],T),H=s(l).withConfig({displayName:"InputRangestyle__SliderThumb",componentId:"sc-18639os-6"})(["--size:calc(var(--height) * 2.4);display:flex;justify-content:center;width:var(--size);height:var(--size);margin-top:calc((var(--size) * -1 / 2) + var(--height) / 2);margin-left:calc(var(--size) * -1 / 2);position:absolute;background:var(--thumbColor);transition:box-shadow 150ms cubic-bezier(0.4,0,0.2,1) 0ms;&:hover{box-shadow:0px 0px 0px 6px #00000033;","{opacity:1;}}",""],T,({active:e})=>e&&se),W=s(l).attrs(e=>({borderRadius:"circular",...e})).withConfig({displayName:"InputRangestyle__SliderMark",componentId:"sc-18639os-7"})(["--size:calc(var(--height) * 0.8);position:absolute;margin:calc(var(--height) * 0.1);width:var(--size);height:var(--size);padding:2px;margin-left:",";background:",";"],({active:e})=>e?"unset":"calc(var(--size) * -1)",({active:e})=>e?"var(--thumbColor)":"var(--markColor)"),q=s(l).withConfig({displayName:"InputRangestyle__SliderMarkLabel",componentId:"sc-18639os-8"})(["position:absolute;margin-top:1rem;transform:translateX(-50%);white-space:nowrap;font-size:0.75rem;color:",";"],({theme:e})=>e.colors.main.base);import n,{useCallback as le,useEffect as ce,useMemo as de,useRef as O,useState as ue}from"react";function M(e,t,o){return(e-t)*100/(o-t)}p(M,"valueToPercent");function J(e,t,o){return(o-t)*e+t}p(J,"percentToValue");function I(e,t,o){let m=Math.round((e-o)/t)*t+o;return Number(m.toFixed(t))}p(I,"roundValueToStep");function K(e){return e>=1?1:e<=0?0:e}p(K,"clamp");function _(e,t,o,m){return Number.isFinite(e)&&e>=o&&e<=t?m?I(e,m,o):e:Math.min(Math.max(o,e),t)}p(_,"normalizeValue");function Q({gradient:e,disabled:t,getLabelValue:o,markLabel:m,onChange:b,value:k=50,max:c=100,min:a=0,step:d=1,mark:z}){let[g,L]=ue(()=>_(k,c,a,d));ce(()=>{L(r=>{let i=_(k,c,a,d);return i!==r?i:r})},[k,c,a,d]);let{active:U,enable:N,disable:Y}=F(),R=O(null),Z=de(()=>{if(!(z===!0&&d))return[];let r=Math.floor((c-a)/d)+1;return!Number.isFinite(r)||r<=0||r>1e4?[]:[...Array(r)].map((i,E)=>{let x=a+d*E;return{value:x,...o&&m&&{label:o(x)}}})},[z,o,m,d,a,c]),V=O(0),w=le(r=>{let i=0;try{if(r.type==="touchmove"){let[y]=r.changedTouches;i=y==null?void 0:y.clientX}else i=r.clientX}catch(y){i=r.clientX}let{width:E,left:x}=R.current.getBoundingClientRect(),ne=K((i-x)/E),S=J(ne,a,c);S=I(S,d,a),L(S),b&&(clearTimeout(V.current),V.current=setTimeout(()=>{b(S)},100))},[a,c,d,b]),v=h(r=>{w(r)}),f=h(()=>{Y(),u.document.removeEventListener("mousemove",v),u.document.removeEventListener("mouseup",f),u.document.removeEventListener("touchmove",v),u.document.removeEventListener("touchend",f)}),ee=h(r=>{r.preventDefault(),w(r),N(),u.document.addEventListener("mousemove",v,{passive:!1}),u.document.addEventListener("mouseup",f,{passive:!1})}),re=h(r=>{r.stopPropagation(),w(r),N(),u.document.addEventListener("touchmove",v,{passive:!1}),u.document.addEventListener("touchend",f,{passive:!1})}),oe=o?o(g):String(g),B=`${M(g,a,c)}%`,te={width:B},P={left:B};return n.createElement(X,{ref:R,onMouseDown:ee,onTouchStart:re,disabled:t},n.createElement(D,null),e?n.createElement(j,null,n.createElement(A,{style:P})):n.createElement($,{style:te}),Z.map(r=>{let i={left:`${M(r.value,a,c)}%`};return n.createElement(n.Fragment,{key:r.value},n.createElement(W,{active:r.value<=g,style:i}),r.label&&n.createElement(q,{style:i},r.label))}),n.createElement(H,{borderRadius:"circular",deep:1,active:U,style:P,"data-testid":"input-range-thumb"},!t&&n.createElement(T,null,n.createElement(G,null,oe))))}p(Q,"Slider");Q.displayName="Slider";export{X as a,D as b,$ as c,j as d,A as e,T as f,H as g,W as h,q as i,Q as j};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{c as m}from"./chunk-GFWFGNY2.esm.js";import{d as r}from"./chunk-H7A2HNAK.esm.js";import{a as t}from"./chunk-54QUAVTF.esm.js";import{c as i}from"./chunk-BVDH4EAW.esm.js";import{a as n}from"./chunk-GZONWSRB.esm.js";import o from"react";var f=n(({children:p,icon:l,title:a,description:x,...e})=>{let c=e.inverted?"neutral.170":"grayscale.0";return o.createElement(m,{content:o.createElement(i,{p:"xs"},o.createElement(t,{gap:"medium",maxWidth:400,color:c},o.createElement(t,{flexDirection:"row",alignItems:"center",gap:"medium"},l,o.createElement(r,{variant:"h4",text:a,color:null})),o.createElement(r,{variant:"p",text:x,color:null}))),...e},p)},"Popover");f.displayName="Popover";export{f as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as d}from"./chunk-WAQEMQ3B.esm.js";import{a}from"./chunk-GZONWSRB.esm.js";var l=["deep","deepColor","noShadow"];function o({position:n="",distance:s=0,proximity:i=0,color:r="",intensity:p=0}){return{boxShadow:`${n} 0px 0px ${s}px ${i}px rgba(${r}, ${p})`.trim()}}a(o,"getBoxShadow");var u=a(n=>s=>{let{theme:i,deep:r,deepColor:p,noShadow:y}={...n,...s};if(r===void 0||y)return null;let{deep:e}=i,c=e.color.regular;if(p){let m=i.colors(p);c=typeof m=="string"?d(m):c}let t={color:c,position:e.position.outter,distance:e.distance.flat,proximity:e.proximity.flat,intensity:e.intensity.medium};switch(r){case-1:return o({...t,position:e.position.internal,distance:e.distance.micro,proximity:e.proximity.flat,intensity:e.intensity.high});case 1:return o({...t,proximity:e.proximity.flat,distance:e.distance.micro});case 2:return o({...t,proximity:e.proximity.close,distance:e.distance.xs});case 3:return o({...t,distance:e.distance.sm,proximity:e.proximity.medium});case 4:return o({...t,distance:e.distance.md,proximity:e.proximity.close});case 5:return o({...t,distance:e.distance.lg,proximity:e.proximity.close});case 6:return o({...t,distance:e.distance.xl,proximity:e.proximity.close});default:return o(t)}},"DeepFactory");export{l as a,u as b};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{d as c}from"./chunk-NCDS76KS.esm.js";import{a as r}from"./chunk-3XA4AMQO.esm.js";import{a as b}from"./chunk-CDRLVSLF.esm.js";import{a as n}from"./chunk-AUYB77M7.esm.js";import{g as C}from"./chunk-APD22JEO.esm.js";import{a as l}from"./chunk-GZONWSRB.esm.js";import t from"react";var a=C(r).withConfig({displayName:"TableCheckboxCellstyle__TableCheckboxCellStyle",componentId:"sc-g7895e-0"})([""]);var o=l(m=>{let{getSelected:x}=t.useContext(b),h=l(e=>[...e.parentNode.children].indexOf(e),"getNodeIndex"),p=l(e=>{let T=h(e.target.closest("tr"));x(T,e.target.checked)},"handleChecked");return t.createElement(a,null,t.createElement(n,null,t.createElement(c,{label:m.children,onChange:p})))},"TableCheckboxCellComponent");o.displayName="TableCheckboxCell";export{a,o as b};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as s}from"./chunk-JSUB6SAI.esm.js";import{c}from"./chunk-Y36YHL7V.esm.js";import{b as d,g as n}from"./chunk-APD22JEO.esm.js";import{a}from"./chunk-GZONWSRB.esm.js";var t=n.input.withConfig({displayName:"Radiostyle__RadioInputStyle",componentId:"sc-truao3-0"})(["position:absolute;left:0;top:0;margin:0;z-index:1;opacity:0;"]);t.displayName="input";var i=n(c).attrs(o=>({borderRadius:"md",borderWidth:"regular",borderStyle:"solid",borderColor:"information",deep:-1,...o})).withConfig({displayName:"Radiostyle__RadioStyle",componentId:"sc-truao3-1"})(["--size:20px;--checked-size:calc(var(--size) * 0.5);width:var(--size);height:var(--size);flex-shrink:0;margin-right:",";&::before{content:'';border-radius:50%;display:inline-block;width:var(--checked-size);height:var(--checked-size);position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);opacity:0;}"],({theme:o})=>o.spacing("small"));function b({variant:o,theme:e}){let r=e.colors.information;return o==="success"&&(r=e.colors.success),o==="error"&&(r=e.colors.danger),d(["color:",";& > ","{border:2px solid ",";&::before{background:",";}}&:hover > ",",&:focus > ","{border-color:",";}& > ",":checked ~ ","{border-color:",";box-shadow:",";}"],r.dark,i,r.dark,r.base,i,i,r.action,t,i,r.base,e.depth("level-zero"))}a(b,"inputVariantStyle");function g(o){return d(["color:",";& > ",":disabled{cursor:default;& ~ ","{background-color:",";border-color:",";&::before{background:",";}}}"],o.colors.neutral[50],t,i,o.colors.neutral[10],o.colors.neutral[10],o.colors.neutral[50])}a(g,"getDisabledStyle");var p=n(s).withConfig({displayName:"Radiostyle__RadioContainerStyle",componentId:"sc-truao3-2"})(["cursor:pointer;position:relative;display:inline-flex;flex-direction:row;align-items:center;gap:",";margin:",";"," "," & ",":checked ~ ","::before{opacity:1;}"],({theme:o})=>o.spacing("xs"),({theme:o})=>o.spacing(0,"xs","xs",0),b,({theme:o,disabled:e})=>e&&g(o),t,i);import l from"react";var f=a(({id:o,disabled:e,label:r=null,labelProps:m,variant:u="default",...y})=>l.createElement(p,{as:"label",htmlFor:o,variant:u,disabled:e},l.createElement(t,{...y,type:"radio",id:o,disabled:e}),l.createElement(i,null),typeof r=="string"?l.createElement(s,{fontSize:"small",color:"neutral.180",...m},r):r),"RadioComponent");f.displayName="Radio";export{t as a,i as b,p as c,f as d};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as g,b as f,c as d,d as l,e as h,f as x}from"./chunk-7WVLGVVA.esm.js";import{p as C}from"./chunk-XJ7EBVG3.esm.js";import{a}from"./chunk-GZONWSRB.esm.js";var I=g("oklch"),A=g("rgb");function n(t,r,s){var u;let i=l(t),e=l(r);if(!i||!e)return t;let o=d([i,e],"oklch");return(u=f(o(s)))!=null?u:t}a(n,"mixOklch");function b(t){return t?typeof t=="string"?t:t.base:"#000"}a(b,"coerceToHex");var B=C(t=>{var o,u,p;let r=A(l(t));if(!r)return"0,0,0";let s=Math.round(((o=r.r)!=null?o:0)*255),i=Math.round(((u=r.g)!=null?u:0)*255),e=Math.round(((p=r.b)!=null?p:0)*255);return`${s},${i},${e}`});function M(t){var e,o;let r=b(t),s=I(l(r));if(!s)return r;let i={...s,h:(((e=s.h)!=null?e:0)+180)%360};return(o=f(i))!=null?o:r}a(M,"getOppositeColor");function F(t,r){return t?typeof t=="string"?t:t[r||"base"]:"black"}a(F,"getColor");var R=C((t,r)=>{let s=F(t),i=4.5,e=.45,o=s,u=r||"#FFFFFF",p=n(o,"#000",.6),m=l(o),y=l(p);if(!m||!y)return p;let k=x(m),T=h(y,m)>=i;return k<e?T?p:u:p});function c(t,r){let s=b(t),i=r.deepDark,e=r.deepLight;return{base:s,dark:n(s,i,.6),action:n(s,i,.2),active:n(s,e,.6),light:n(s,e,.9)}}a(c,"mountSingleColor");function v(t){let r=t.deepLight,s=t.deepDark;return{0:r,5:n(r,s,.05),10:n(r,s,.1),20:n(r,s,.2),30:n(r,s,.3),40:n(r,s,.4),50:n(r,s,.5),60:n(r,s,.6),70:n(r,s,.7),80:n(r,s,.8),90:n(r,s,.9),100:n(r,s,1)}}a(v,"mountGreyscaleColors");function D(t){let r=t.deepLight,s=t.deepDark,i=t.primary,e=a(u=>1/17*(u-1),"interpolation"),o=n(i,s,.5);return{0:n(o,r,e(18)),5:n(o,r,e(17.5)),10:n(o,r,e(17)),20:n(o,r,e(16)),30:n(o,r,e(15)),40:n(o,r,e(14)),50:n(o,r,e(13)),60:n(o,r,e(12)),70:n(o,r,e(11)),80:n(o,r,e(10)),90:n(o,r,e(9)),100:n(o,r,e(8)),110:n(o,r,e(7)),120:n(o,r,e(6)),130:n(o,r,e(5)),140:n(o,r,e(4)),150:n(o,r,e(3)),160:n(o,r,e(2)),170:o,180:n(o,s,.25)}}a(D,"mountNeutralColors");function G(t){return{main:c(t.main,t),opposite:c(t.opposite,t),complementary:c(t.complementary,t)}}a(G,"mountBaseColors");function N(t){return{danger:c(t.danger,t),information:c(t.information,t),success:c(t.success,t),warning:c(t.warning,t)}}a(N,"mountActionColors");function O(t){return{primary:c(t.primary,t),secondary:c(t.secondary,t),tertiary:c(t.tertiary,t)}}a(O,"mountMainColors");export{B as a,M as b,F as c,R as d,c as e,v as f,D as g,G as h,N as i,O as j};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as x,b as y,c as T,f as h}from"./chunk-
|
|
1
|
+
import{a as x,b as y,c as T,f as h}from"./chunk-NWFODMOU.esm.js";import{a as c}from"./chunk-RHUIIG22.esm.js";import{b as o}from"./chunk-U5ZZXNQW.esm.js";import{b as f}from"./chunk-752Z7BQF.esm.js";import{b as d}from"./chunk-4MBWRDIJ.esm.js";import{b as p}from"./chunk-A6Z2M2XU.esm.js";import{d as u}from"./chunk-U27SLYIV.esm.js";import{a as s}from"./chunk-GZONWSRB.esm.js";var S=o("textarea")`
|
|
2
2
|
-webkit-appearance: none;
|
|
3
3
|
width: 100%;
|
|
4
4
|
outline: none;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a}from"./chunk-DX5SUG7X.esm.js";import{a as r}from"./chunk-LJB6XGSJ.esm.js";import{a as i}from"./chunk-GZONWSRB.esm.js";import e from"react";var d=i(({media:t,title:o,description:l,actionComponent:n,children:m,...f})=>{let x=typeof o=="string"?e.createElement(a,{as:"h4",fontSize:"small",fontWeight:"bold",lineHeight:"regular",color:"neutral.180"},o):o,s=typeof l=="string"?e.createElement(a,{as:"p",fontSize:"micro",lineHeight:"wild",color:"neutral.180"},l):l;return e.createElement(r,{display:"inline-flex",borderRadius:"md",borderWidth:"thin",borderColor:"neutral.30",overflow:"hidden",...f},t&&e.createElement(r,{area:"media"},t),e.createElement(r,{p:"large",gap:"large"},e.createElement(r,{area:"content",gap:"xs"},e.createElement(r,{area:"title"},x),e.createElement(r,{area:"subtitle"},s,m)),n&&e.createElement(r,{area:"action",flex:"fluid",mt:"large"},n)))},"CardComponent");d.displayName="Card";export{d as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{b as e}from"./chunk-APD22JEO.esm.js";import{a as r}from"./chunk-GZONWSRB.esm.js";var d=r(({theme:o})=>e(["border-top:1px solid ",";border-bottom:1px solid ",";border-right:none;border-left:none;"],o.colors.neutral[10],o.colors.neutral[10]),"getBorder");export{d as a};
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import{a as d}from"./chunk-RKDE2LI7.esm.js";import{a as I}from"./chunk-DHT35FQI.esm.js";import{a as p}from"./chunk-3XYKHZQ7.esm.js";import{g as z}from"./chunk-YYXB4LM2.esm.js";import{a as P}from"./chunk-KFZOV7RP.esm.js";import{a as F}from"./chunk-OLURMBK7.esm.js";import{a as c}from"./chunk-6RPTXDUB.esm.js";import{a as s}from"./chunk-KVKG7TA6.esm.js";import{a as L}from"./chunk-CDRLVSLF.esm.js";import{b as B}from"./chunk-NVFKTKHY.esm.js";import{p as g}from"./chunk-TXM2WOJQ.esm.js";import{a as H,d as v}from"./chunk-DX5SUG7X.esm.js";import{a as m}from"./chunk-LJB6XGSJ.esm.js";import{b as S}from"./chunk-A6Z2M2XU.esm.js";import{d as D}from"./chunk-U27SLYIV.esm.js";import{b as a,g as k}from"./chunk-APD22JEO.esm.js";import{a as r}from"./chunk-GZONWSRB.esm.js";import t,{useEffect as ie,useState as w}from"react";function Q(e){switch(e){case"Compact":return a(["& ","{padding:",";}& ",",","{padding:",";}"],d,({theme:n})=>n.spacing("micro"),s,c,({theme:n})=>n.spacing("micro"));case"Expansive":return a(["& ","{padding:",";}& ",",","{padding:",";}"],d,({theme:n})=>n.spacing("large"),s,c,({theme:n})=>n.spacing("large"));default:return a(["& ","{padding:",";}& ",",","{padding:",";}"],d,({theme:n})=>n.spacing("medium"),s,c,({theme:n})=>n.spacing("medium"))}}r(Q,"getSizeStyle");function $(e){switch(e){case"left":return"flex-start";case"right":return"flex-end";default:return"center"}}r($,"getAlignDirection");function U(e){if(typeof e=="object"){let n=e.reduce((u,o)=>{let b=`
|
|
2
|
+
& ${s}, ${c}, ${d} {
|
|
3
|
+
&:nth-child(${o.target}) {
|
|
4
|
+
${m} {
|
|
5
|
+
text-align: ${o.direction};
|
|
6
|
+
align-items: ${$(o.direction)}
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
`;return`${u} ${b}`},"");return a(["& ",",",",","{","{text-align:center;align-items:",";}}",""],s,c,d,m,$("center"),n)}return e!==void 0?a(["& ",",",",","{","{text-align:",";align-items:",";}}"],s,c,d,m,e,$(e)):a(["& ",",",",","{","{text-align:center;align-items:center;}}"],s,c,d,m)}r(U,"getAlignStyle");function X(e){if(e===void 0)return a([""]);let n=e.map((u,o)=>u&&(u.type===void 0?`
|
|
11
|
+
&:nth-child(${o+1}) {
|
|
12
|
+
width: ${u.width}px;
|
|
13
|
+
}
|
|
14
|
+
`:`
|
|
15
|
+
&:nth-child(${o+1}) {
|
|
16
|
+
${u.type}-width: ${u.width}px;
|
|
17
|
+
}
|
|
18
|
+
`));return a(["& ",",",",","{","}"],s,c,d,n)}r(X,"getColumnSizeStyle");function Z(){return a(["& ",",",",","{& ","{width:100px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}}"],s,c,d,H)}r(Z,"getEllipsisStyle");function R(e){return e.map(n=>a(["& ","{&:nth-child(","){",";}}"],p,n+1,S({bgColor:"neutral.10"})))}r(R,"getSelectedStyle");var ee=`
|
|
19
|
+
& ${d} {
|
|
20
|
+
position: sticky;
|
|
21
|
+
top: 0;
|
|
22
|
+
}
|
|
23
|
+
`,te=a(["","{& ","{&:nth-child(odd){",";}}& ",",","{",";}}& ","{z-index:10;}"],F,p,S({bgColor:"neutral.5"}),s,c,D({borderWidth:"none"}),d),ne=r(e=>`
|
|
24
|
+
& ${p}{
|
|
25
|
+
&:hover{
|
|
26
|
+
& ${s}, ${c}{
|
|
27
|
+
/* box-shadow inset em vez de border evita layout shift no hover
|
|
28
|
+
(rows ficavam +1px maiores ao passar o mouse, gerando drift
|
|
29
|
+
vis\xEDvel). Visual id\xEAntico ao border-1px cl\xE1ssico. */
|
|
30
|
+
box-shadow: inset 0 -1px 0 ${e.colors.getColor(e.colors.neutral[40])};
|
|
31
|
+
&:first-child{
|
|
32
|
+
box-shadow:
|
|
33
|
+
inset 1px 0 0 ${e.colors.getColor(e.colors.primary,"base")},
|
|
34
|
+
inset 0 -1px 0 ${e.colors.getColor(e.colors.neutral[40])};
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
`,"getHoverableProps"),j=k.table.withConfig({displayName:"Tablestyle__TableStyle",componentId:"sc-u1ldbs-0"})(["position:relative;border-collapse:collapse;display:table;width:",";"," "," ",";"," "," "," "," "," ","{overflow-x:scroll;}"],({width:e})=>e||"100%",({stickyHeader:e})=>e&&ee,({striped:e})=>e&&te,({hoverable:e,theme:n})=>e&&ne(n),({selected:e})=>R(e),({ellipsis:e})=>e?Z():"",({columnSize:e})=>X(e),({align:e})=>U(e),({rowSize:e})=>Q(e),({theme:e})=>e.breakpoints.down("sm"));var M=r(e=>{let[n,u]=w(""),[o,b]=w([]),[E,y]=w([]),[O,C]=w("Default"),x=t.createRef();ie(()=>{if(!x.current)return;let i=Array.from(x.current.children);b(i)},[]);let q=t.Children.toArray(e.children).length>1?1:0,K=t.Children.map(e.children,(i,f)=>f===q?t.cloneElement(i,{ref:x}):i),W=r(i=>{if(i.key==="Enter"){let f=o.map((l,h)=>{let T=x.current.children[h];return n===""&&(T.style.display=""),l.innerText.toLowerCase().includes(n.toLowerCase())||(T.style.display="none"),l});b(f)}},"getFilterData"),_=o.length>0&&o.every(i=>i.style.display==="none"),N=o.length,V=r((i,f)=>{f&&y(l=>[...l,i]),f||y(E.filter(l=>l!==i))},"getSelected"),Y=r(i=>(o.forEach((f,l)=>{let h=f.children[0].querySelectorAll("input")[0];return i&&(h.checked=!0,y(T=>[...T,l])),i||(h.checked=!1,y([])),null}),i),"getAllSelected"),G=r(i=>o.map(l=>parseInt(l.children[i].innerText,10)).reduce((l,h)=>l+h,0),"getAddLines"),J=e.initialPagination&&e.finalPagination&&e.totalPagination&&e.linesPerPage;function A(i){switch(i){case"normal":if(N<=1)return"visible";if(e.stickyHeader||e.columnSize)return"scroll";break;case"y":if(e.columnSize&&!e.stickyHeader)return"hidden";break;default:return"visible"}return"visible"}return r(A,"getOverflow"),t.createElement(m,{overflow:A("normal"),overflowY:A("y"),gap:4},t.createElement(m,{flexDirection:"row",justifyContent:"between",alignItems:"center"},e.title&&t.createElement(v,{color:"primary",variant:"h5","aria-hidden":"true"},e.title),t.createElement(m,{flexDirection:"row",justifyContent:"end",alignItems:"end",gap:2},e.searching&&t.createElement(m,{width:"230px"},t.createElement(z,{placeholder:"Pesquisar",type:"text",value:n,name:"search",onChange:i=>u(i.target.value),onKeyDown:i=>W(i),width:"230",icon:t.createElement(g,{name:"edit"}),role:"search"})),e.rowTypes&&t.createElement(P,{options:[{icon:t.createElement(g,{name:"menuBars"}),title:"Layout Condensado",action:r(()=>C("Compact"),"action")},{icon:t.createElement(g,{name:"menuBars"}),title:"Layout Padr\xE3o",action:r(()=>C("Expansive"),"action")},{icon:t.createElement(g,{name:"menuBars"}),title:"Layout Expandido",action:r(()=>C("Default"),"action")}]},t.createElement(g,{name:"menuBars",color:"primary"})),e.share&&t.createElement(P,{options:[{icon:t.createElement(g,{name:"envelope"}),title:"Enviar por email",action:e.share.email},{icon:t.createElement(g,{name:"shareAlt"}),title:"Compartilhar",action:e.share.social}]},t.createElement(g,{name:"ellipsisH",color:"primary"})))),J&&t.createElement(I,{initialPagination:e.initialPagination,finalPagination:e.finalPagination,totalPagination:e.totalPagination,linesPerPage:e.linesPerPage}),t.createElement(j,{stickyHeader:e.stickyHeader,striped:e.striped,rowSize:O||e.rowSize,align:e.align,columnSize:e.columnSize,width:e.width,ellipsis:e.ellipsis,hoverable:e.hoverable,selected:E,...e},t.createElement(v,{as:"caption","aria-hidden":"false",hidden:!0},e.title),t.createElement(L.Provider,{value:{ellipsis:e.ellipsis,getSelected:V,getAllSelected:Y,columnSum:e.columnSum!==void 0?{index:e.columnSum,sum:G(e.columnSum)}:{index:void 0,sum:void 0}}},K)),_&&t.createElement(B,null))},"TableComponent");export{j as a,M as b};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as f}from"./chunk-H7A2HNAK.esm.js";import{b as n}from"./chunk-752Z7BQF.esm.js";import{b as m}from"./chunk-4MBWRDIJ.esm.js";import{d as l}from"./chunk-U27SLYIV.esm.js";import{g as p}from"./chunk-APD22JEO.esm.js";import{a as t}from"./chunk-GZONWSRB.esm.js";import b from"react";function c(o){return o==="default"?"primary":o==="info"?"information":o}t(c,"getColorVariant");function y(o,r){var a,i;let e=c(r);return{backgroundColor:(a=o.colors[e])==null?void 0:a.light,color:(i=o.colors[e])==null?void 0:i.action}}t(y,"getColor");var s=p(f).withConfig({displayName:"Labelstyle__LabelStyle",componentId:"sc-dznqj7-0"})(["display:inline;align-self:flex-start;"," "," "," ",""],n({fontSize:"micro",lineHeight:"close"}),m({px:"small",py:"xs"}),l({borderRadius:"micro"}),({theme:o,variant:r})=>y(o,r));function d(o){let{variant:r="default",text:e,children:a}=o;return b.createElement(s,{variant:r},a||e)}t(d,"Label");d.displayName="Label";export{s as a,d as b};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{p as k}from"./chunk-KY47BE3L.esm.js";import{a as g,b as D}from"./chunk-V3ULKCWJ.esm.js";import{e as b}from"./chunk-CI3LQ5Z4.esm.js";import{e as O}from"./chunk-7UIH7PNC.esm.js";import{a as N}from"./chunk-BE2JDTVA.esm.js";import{a as _,d as S}from"./chunk-H7A2HNAK.esm.js";import{a as E}from"./chunk-O4SSOOVR.esm.js";import{a as p}from"./chunk-54QUAVTF.esm.js";import{a as T}from"./chunk-AVZENFPL.esm.js";import{a as I,c as w,d as v}from"./chunk-BVDH4EAW.esm.js";import{a as j}from"./chunk-XJ7EBVG3.esm.js";import{c as x}from"./chunk-G5Z7USXC.esm.js";import{b as c,g as i}from"./chunk-APD22JEO.esm.js";import{a as r}from"./chunk-GZONWSRB.esm.js";var K=c(["max-width:30rem;min-width:20rem;"]),U=c(["max-width:40rem;min-width:20rem;"]),X=c(["max-width:55rem;min-width:40rem;"]),Z=c(["max-width:75rem;min-width:40rem;"]),R=c(["width:95%;"]);function oo({size:t}){switch(t){case"small":return K;case"medium":return X;case"large":return Z;default:return U}}r(oo,"modalSize");function eo({variant:t,theme:e}){let n=e.colors[t];return c(["--baseColor:",";--lightColor:",";--actionColor:",";"],n.base,n.light,n.action)}r(eo,"modalVariantColor");var F=i(v).attrs({p:"large",borderRadius:"md",bgColor:"neutral.0"}).withConfig({displayName:"Modalstyle__ModalDialogStyle",componentId:"sc-8jjm43-0"})(["",";",";","{",";}"],R,eo,({theme:t})=>t.breakpoints.up("sm"),oo),z=i(p).withConfig({displayName:"Modalstyle__ModalContentStyle",componentId:"sc-8jjm43-1"})(["max-height:84vh;overflow:hidden;"]),H=i(p).withConfig({displayName:"Modalstyle__ModalHeader",componentId:"sc-8jjm43-2"})(["& ","{flex:1;}& ","{padding:0.3rem;color:var(--baseColor);&:only-child{margin-left:auto;}}& ",":active{color:var(--actionColor);background-color:var(--lightColor);}& ",":hover{background-color:var(--lightColor);}"],_,g,g,g),V=i(w).withConfig({displayName:"Modalstyle__ModalBody",componentId:"sc-8jjm43-3"})(["flex:1;display:flex;overscroll-behavior:none;overflow:hidden;"]),G=i(p).attrs({borderRadius:"circular"}).withConfig({displayName:"Modalstyle__ModalIconStyle",componentId:"sc-8jjm43-4"})(["background-color:var(--lightColor);& svg{color:var(--baseColor);width:1.25rem;height:1.25rem;g{fill:var(--baseColor);}}"]),L=i(w).withConfig({displayName:"Modalstyle__ModalContainer",componentId:"sc-8jjm43-5"})(["z-index:9999;display:flex;justify-content:center;align-items:center;position:fixed;top:0;left:0;right:0;bottom:0;"]),W=i(v).withConfig({displayName:"Modalstyle__ModalOverlayStyle",componentId:"sc-8jjm43-6"})(["will-change:opacity;"]);import o,{cloneElement as to,isValidElement as ro,useEffect as no,useState as lo}from"react";import{createPortal as ao}from"react-dom";var Q=r(({isOpen:t,onDismiss:e,...n})=>{if(!t&&!e)throw new Error('You must provide "isOpen" and "onDismiss" if not using "trigger" prop.');let[d,m]=lo(!1);return no(()=>{m(!0)},[]),!d||!x?null:ao(o.createElement(I,null,t?o.createElement(L,{"data-testid":"modal-container"},o.createElement(W,{absoluteFill:!0,bgColor:"neutral.180","data-testid":"modal-overlay",onClick:e,initial:{opacity:0},animate:{opacity:.8},exit:{opacity:0}}),o.createElement(mo,{onDismiss:e,...n})):null),x)},"ModalBaseComponent"),io=r(({defaultOpen:t,trigger:e,isOpen:n,onDismiss:d,onModalOpen:m,...s})=>{let{active:l,disable:u,enable:M,toggle:y}=N(t,{onActive:m});return(n||d)&&j.warn('"isOpen" and "onDismiss" has no effect while using "trigger" prop'),o.createElement(o.Fragment,null,r(()=>{let a=null;if(typeof e=="function"&&(a=e({isOpen:l,open:M})),ro(e)&&(a=to(e,{onClick:y})),a===null)throw new Error('"trigger" prop is not a valid element');return a},"renderTrigger")(),o.createElement(Q,{isOpen:l,onDismiss:u,...s}))},"ModalTriggerVariant"),mo=r(({noCloseButton:t,primaryButton:e,secondaryButton:n,primaryText:d,secondaryText:m,onDismiss:s,primaryAction:l,secondaryAction:u,children:M,tagline:y,variant:C,footer:a,title:P,size:$,icon:B})=>{let{isMobile:h}=O(),q=r(()=>{l({close:s})},"handlePrimary"),A=r(()=>{u({close:s})},"handleSecondary"),J=r(()=>{let f={onClick:q,fullWidth:a==="full"||h,"data-testid":"modal-confirm-button"};return e?o.cloneElement(e,f):o.createElement(b,{color:C,...f},d)},"renderPrimaryButton");return o.createElement(F,{size:$,variant:C,initial:{y:"100%",opacity:0},animate:{y:0,opacity:1},exit:{y:"200%",opacity:0}},o.createElement(z,{gap:"medium"},o.createElement(H,{gap:"xs"},o.createElement(E,{opener:B&&o.createElement(G,{justifyContent:"center",alignItems:"center",p:"micro"},B),closer:!t&&o.createElement(D,{onClick:s,"data-testid":"modal-close-button",icon:o.createElement(k,{name:"times"}),variant:"linked",color:"secondary",size:"large",alignSelf:"start"})},P&&o.createElement(S,{variant:"h4",area:"title",color:"neutral.170",text:P})),y&&o.createElement(S,{variant:"meta",color:"secondary.dark",area:"tagline"},y)),o.createElement(V,{py:"medium"},o.createElement(T,null,M)),(l||u)&&o.createElement(p,{flexDirection:h?"column-reverse":"row",justifyContent:a==="expanded"?"between":"end",gap:"medium"},u&&r(()=>{if(a==="full")return null;let f={onClick:A,fullWidth:h,"data-testid":"modal-cancel-button"};return n?o.cloneElement(n,f):o.createElement(b,{variant:"outlined",color:"secondary",...f},m)},"renderSecondaryButton")(),l&&J())))},"ModalDialog"),Y=r(({noCloseButton:t=!1,secondaryText:e="Cancelar",primaryText:n="Confirmar",variant:d="primary",footer:m="right",...s})=>{let l={noCloseButton:t,secondaryText:e,primaryText:n,variant:d,footer:m,...s};return l!=null&&l.trigger?o.createElement(io,{...l}):o.createElement(Q,{...l})},"ModalComponent");Y.displayName="Modal";export{F as a,z as b,H as c,V as d,G as e,L as f,W as g,Y as h};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as c}from"./chunk-43YSWDK6.esm.js";import{g as l}from"./chunk-NWFODMOU.esm.js";import{r as p}from"./chunk-XJ7EBVG3.esm.js";import{a as t}from"./chunk-GZONWSRB.esm.js";import v,{useMemo as f,useState as C}from"react";function i(k){let{mask:a,value:n,onChange:e,...I}=k,o=f(()=>p(a),[a]),[M,s]=C(()=>n?o(n):""),r=f(()=>c(e!=null?e:(()=>{}),250),[e]);return v.createElement(l,{...I,reset:t(()=>{s(""),r("")},"resetValues"),value:M,onChange:t((d,V)=>{var m;let u=o((m=d.target.value)!=null?m:"");s(u),r(u)},"handleChange")})}t(i,"InputMaskComponent");i.displayName="InputMask";export{i as a};
|