@esri/solutions-components 0.11.28 → 0.11.29
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/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/solution-item-accordion.cjs.entry.js +10 -1
- package/dist/cjs/solutions-components.cjs.js +1 -1
- package/dist/collection/components/solution-item-accordion/solution-item-accordion.js +27 -1
- package/dist/collection/vendor/calcite-components/22RQB3WE.js +4 -0
- package/dist/collection/vendor/calcite-components/24SER2VV.js +4 -0
- package/dist/collection/vendor/calcite-components/2BGMAPSV.js +4 -0
- package/dist/collection/vendor/calcite-components/2JKKAEPM.js +4 -0
- package/dist/collection/vendor/calcite-components/2M4WCGKG.js +4 -0
- package/dist/collection/vendor/calcite-components/2YAXZHP2.js +4 -0
- package/dist/collection/vendor/calcite-components/345Q4UHX.js +4 -0
- package/dist/collection/vendor/calcite-components/36DMRAV2.js +4 -0
- package/dist/collection/vendor/calcite-components/3DGJ6ZQI.js +4 -0
- package/dist/collection/vendor/calcite-components/3GICXOBQ.js +4 -0
- package/dist/collection/vendor/calcite-components/3IV6JSC2.js +4 -0
- package/dist/collection/vendor/calcite-components/3TOVZEQB.js +4 -0
- package/dist/collection/vendor/calcite-components/45GA6INB.js +4 -0
- package/dist/collection/vendor/calcite-components/46U4MKUU.js +4 -0
- package/dist/collection/vendor/calcite-components/4BSCJ722.js +4 -0
- package/dist/collection/vendor/calcite-components/4SEPDFCP.js +5 -0
- package/dist/collection/vendor/calcite-components/4TQLSUKH.js +4 -0
- package/dist/collection/vendor/calcite-components/4YZ27QWL.js +4 -0
- package/dist/collection/vendor/calcite-components/4Z7JRTON.js +4 -0
- package/dist/collection/vendor/calcite-components/5AVZLE2Q.js +4 -0
- package/dist/collection/vendor/calcite-components/5EPP4MG3.js +4 -0
- package/dist/collection/vendor/calcite-components/66B2H27W.js +4 -0
- package/dist/collection/vendor/calcite-components/6LW27BEV.js +4 -0
- package/dist/collection/vendor/calcite-components/6OZRZ36X.js +4 -0
- package/dist/collection/vendor/calcite-components/6X2SD2PW.js +4 -0
- package/dist/collection/vendor/calcite-components/6XTYGXNG.js +4 -0
- package/dist/collection/vendor/calcite-components/6ZTWHW63.js +4 -0
- package/dist/collection/vendor/calcite-components/7D3VEEUX.js +4 -0
- package/dist/collection/vendor/calcite-components/7E342YOK.js +4 -0
- package/dist/collection/vendor/calcite-components/7KSGVDSR.js +4 -0
- package/dist/collection/vendor/calcite-components/7PWETOIU.js +4 -0
- package/dist/collection/vendor/calcite-components/7QHUEK5R.js +4 -0
- package/dist/collection/vendor/calcite-components/7SX3RD7P.js +4 -0
- package/dist/collection/vendor/calcite-components/7U7FF3Y4.js +4 -0
- package/dist/collection/vendor/calcite-components/7WG5I3MP.js +4 -0
- package/dist/collection/vendor/calcite-components/A5GGYTUQ.js +4 -0
- package/dist/collection/vendor/calcite-components/AI3R3SU6.js +28 -0
- package/dist/collection/vendor/calcite-components/ARHYATTG.js +4 -0
- package/dist/collection/vendor/calcite-components/ATHBUWBY.js +4 -0
- package/dist/collection/vendor/calcite-components/AXXJNFKZ.js +4 -0
- package/dist/collection/vendor/calcite-components/AYZ73RWQ.js +4 -0
- package/dist/collection/vendor/calcite-components/BAHIPAHM.js +4 -0
- package/dist/collection/vendor/calcite-components/BRTDMTZ3.js +4 -0
- package/dist/collection/vendor/calcite-components/BRTESQOJ.js +4 -0
- package/dist/collection/vendor/calcite-components/BSRMWMHQ.js +4 -0
- package/dist/collection/vendor/calcite-components/BZKF5ZXQ.js +4 -0
- package/dist/collection/vendor/calcite-components/C46JYVUP.js +4 -0
- package/dist/collection/vendor/calcite-components/C54C5E23.js +4 -0
- package/dist/collection/vendor/calcite-components/CBSMKHOY.js +4 -0
- package/dist/collection/vendor/calcite-components/CFRBQXK4.js +4 -0
- package/dist/collection/vendor/calcite-components/CIV3PH3Z.js +4 -0
- package/dist/collection/vendor/calcite-components/CJYTY62F.js +4 -0
- package/dist/collection/vendor/calcite-components/CK6HQQX6.js +4 -0
- package/dist/collection/vendor/calcite-components/CMO3X257.js +4 -0
- package/dist/collection/vendor/calcite-components/CNO6NFH5.js +4 -0
- package/dist/collection/vendor/calcite-components/CWPRBG3T.js +4 -0
- package/dist/collection/vendor/calcite-components/CY6C2FDZ.js +4 -0
- package/dist/collection/vendor/calcite-components/D2HDFE7S.js +22 -0
- package/dist/collection/vendor/calcite-components/D36VWSDW.js +4 -0
- package/dist/collection/vendor/calcite-components/DBVNMM6Q.js +4 -0
- package/dist/collection/vendor/calcite-components/DDJ75RTI.js +4 -0
- package/dist/collection/vendor/calcite-components/DH4ISGHV.js +4 -0
- package/dist/collection/vendor/calcite-components/DNYBIAUI.js +4 -0
- package/dist/collection/vendor/calcite-components/DT67ZFPX.js +4 -0
- package/dist/collection/vendor/calcite-components/DTL2LM6T.js +4 -0
- package/dist/collection/vendor/calcite-components/E3R5SMVW.js +4 -0
- package/dist/collection/vendor/calcite-components/E4NMFIKN.js +4 -0
- package/dist/collection/vendor/calcite-components/EAML4EDI.js +5 -0
- package/dist/collection/vendor/calcite-components/ECEZ4R6E.js +4 -0
- package/dist/collection/vendor/calcite-components/EFI2G5WL.js +4 -0
- package/dist/collection/vendor/calcite-components/EHZCT5YZ.js +4 -0
- package/dist/collection/vendor/calcite-components/EOHVH6PN.js +4 -0
- package/dist/collection/vendor/calcite-components/ESBOJTBS.js +4 -0
- package/dist/collection/vendor/calcite-components/F6EGRKXW.js +4 -0
- package/dist/collection/vendor/calcite-components/FCN5RMLA.js +4 -0
- package/dist/collection/vendor/calcite-components/FDIM6DYL.js +4 -0
- package/dist/collection/vendor/calcite-components/FE3A3YUN.js +4 -0
- package/dist/collection/vendor/calcite-components/FHBFGCTR.js +4 -0
- package/dist/collection/vendor/calcite-components/FNFWOOMR.js +4 -0
- package/dist/collection/vendor/calcite-components/FNM4DZZH.js +4 -0
- package/dist/collection/vendor/calcite-components/G2KHDAZD.js +4 -0
- package/dist/collection/vendor/calcite-components/G3LH75CQ.js +4 -0
- package/dist/collection/vendor/calcite-components/G3ZJ2KQT.js +4 -0
- package/dist/collection/vendor/calcite-components/G7WFYVUC.js +5 -0
- package/dist/collection/vendor/calcite-components/GAAXSGWK.js +4 -0
- package/dist/collection/vendor/calcite-components/GE63ETFI.js +4 -0
- package/dist/collection/vendor/calcite-components/GFC7NS6P.js +4 -0
- package/dist/collection/vendor/calcite-components/GGO5TMB4.js +4 -0
- package/dist/collection/vendor/calcite-components/GKKCWEZX.js +4 -0
- package/dist/collection/vendor/calcite-components/GN5CPLSJ.js +4 -0
- package/dist/collection/vendor/calcite-components/GNUSLZWJ.js +4 -0
- package/dist/collection/vendor/calcite-components/GOOHYN3D.js +4 -0
- package/dist/collection/vendor/calcite-components/GPUFLCIT.js +4 -0
- package/dist/collection/vendor/calcite-components/GSXEMGSW.js +4 -0
- package/dist/collection/vendor/calcite-components/GYQTRH4V.js +4 -0
- package/dist/collection/vendor/calcite-components/HFIRIAQA.js +4 -0
- package/dist/collection/vendor/calcite-components/HGTV36FX.js +4 -0
- package/dist/collection/vendor/calcite-components/HKHPJJ34.js +4 -0
- package/dist/collection/vendor/calcite-components/HMVKZP47.js +4 -0
- package/dist/collection/vendor/calcite-components/I2OIH73C.js +4 -0
- package/dist/collection/vendor/calcite-components/I32TMNTO.js +4 -0
- package/dist/collection/vendor/calcite-components/I62DUDHI.js +4 -0
- package/dist/collection/vendor/calcite-components/IH4RXHJJ.js +4 -0
- package/dist/collection/vendor/calcite-components/IJCTXZQB.js +4 -0
- package/dist/collection/vendor/calcite-components/IXRMDUEL.js +4 -0
- package/dist/collection/vendor/calcite-components/IYDN67SF.js +4 -0
- package/dist/collection/vendor/calcite-components/JCWM5Z43.js +4 -0
- package/dist/collection/vendor/calcite-components/JEX42CPR.js +4 -0
- package/dist/collection/vendor/calcite-components/JFYDLHH7.js +4 -0
- package/dist/collection/vendor/calcite-components/JLZYAYOL.js +4 -0
- package/dist/collection/vendor/calcite-components/JUNCR7R2.js +4 -0
- package/dist/collection/vendor/calcite-components/JVNEJ36Z.js +4 -0
- package/dist/collection/vendor/calcite-components/K3ZBW4GY.js +4 -0
- package/dist/collection/vendor/calcite-components/KBDXI6DJ.js +4 -0
- package/dist/collection/vendor/calcite-components/KBNS3CCT.js +4 -0
- package/dist/collection/vendor/calcite-components/KI2NOBMU.js +4 -0
- package/dist/collection/vendor/calcite-components/KSNEQFZX.js +4 -0
- package/dist/collection/vendor/calcite-components/KSVYAIHK.js +4 -0
- package/dist/collection/vendor/calcite-components/KULDQOV2.js +4 -0
- package/dist/collection/vendor/calcite-components/KVSCG5E3.js +6 -0
- package/dist/collection/vendor/calcite-components/KW57BHXD.js +4 -0
- package/dist/collection/vendor/calcite-components/KWOOGTG2.js +4 -0
- package/dist/collection/vendor/calcite-components/L5FDXQMT.js +4 -0
- package/dist/collection/vendor/calcite-components/LB5ATL5Q.js +4 -0
- package/dist/collection/vendor/calcite-components/LH7KSBQC.js +4 -0
- package/dist/collection/vendor/calcite-components/LHSAAMYQ.js +4 -0
- package/dist/collection/vendor/calcite-components/LILDCWFX.js +4 -0
- package/dist/collection/vendor/calcite-components/LLSB73WA.js +4 -0
- package/dist/collection/vendor/calcite-components/LOZEGKG2.js +4 -0
- package/dist/collection/vendor/calcite-components/MBQZPRQ5.js +4 -0
- package/dist/collection/vendor/calcite-components/MCSX2S5T.js +4 -0
- package/dist/collection/vendor/calcite-components/MIKGJ3NM.js +4 -0
- package/dist/collection/vendor/calcite-components/MPAVJ7UH.js +4 -0
- package/dist/collection/vendor/calcite-components/MPX2M2VX.js +4 -0
- package/dist/collection/vendor/calcite-components/MQYH4ONZ.js +4 -0
- package/dist/collection/vendor/calcite-components/MUWK32IE.js +4 -0
- package/dist/collection/vendor/calcite-components/MZRO54UT.js +4 -0
- package/dist/collection/vendor/calcite-components/N2BVYYYP.js +4 -0
- package/dist/collection/vendor/calcite-components/N4MN6VQ7.js +4 -0
- package/dist/collection/vendor/calcite-components/N55N67N5.js +4 -0
- package/dist/collection/vendor/calcite-components/NODC2JA6.js +4 -0
- package/dist/collection/vendor/calcite-components/NVBNX55L.js +4 -0
- package/dist/collection/vendor/calcite-components/NWVCPRVB.js +4 -0
- package/dist/collection/vendor/calcite-components/O4O3TSE5.js +4 -0
- package/dist/collection/vendor/calcite-components/OE2AH2NC.js +4 -0
- package/dist/collection/vendor/calcite-components/OGED6PPP.js +4 -0
- package/dist/collection/vendor/calcite-components/OHOS32IT.js +4 -0
- package/dist/collection/vendor/calcite-components/OLMX7G3J.js +4 -0
- package/dist/collection/vendor/calcite-components/OOSULFCY.js +4 -0
- package/dist/collection/vendor/calcite-components/OPBQNK7J.js +4 -0
- package/dist/collection/vendor/calcite-components/OTHVFLNW.js +4 -0
- package/dist/collection/vendor/calcite-components/OTUG3NVT.js +4 -0
- package/dist/collection/vendor/calcite-components/PNHR5K2L.js +4 -0
- package/dist/collection/vendor/calcite-components/PT2XMADA.js +4 -0
- package/dist/collection/vendor/calcite-components/PZLVQQMT.js +4 -0
- package/dist/collection/vendor/calcite-components/QAYSDI3M.js +5 -0
- package/dist/collection/vendor/calcite-components/QCGLMLKW.js +4 -0
- package/dist/collection/vendor/calcite-components/QHASLHZN.js +4 -0
- package/dist/collection/vendor/calcite-components/QK2H5T7J.js +4 -0
- package/dist/collection/vendor/calcite-components/QLKHJI4P.js +4 -0
- package/dist/collection/vendor/calcite-components/QQ67AVDV.js +4 -0
- package/dist/collection/vendor/calcite-components/QU33PBBI.js +4 -0
- package/dist/collection/vendor/calcite-components/QYGED6CL.js +4 -0
- package/dist/collection/vendor/calcite-components/R3HMG2D6.js +4 -0
- package/dist/collection/vendor/calcite-components/R4RMVIKH.js +4 -0
- package/dist/collection/vendor/calcite-components/R6GNPMSV.js +4 -0
- package/dist/collection/vendor/calcite-components/RAFCSOOQ.js +4 -0
- package/dist/collection/vendor/calcite-components/RAQWKUOJ.js +4 -0
- package/dist/collection/vendor/calcite-components/RESHLE2Y.js +4 -0
- package/dist/collection/vendor/calcite-components/RJLKHCRB.js +4 -0
- package/dist/collection/vendor/calcite-components/RLSQLIV6.js +4 -0
- package/dist/collection/vendor/calcite-components/RMGYRZXR.js +4 -0
- package/dist/collection/vendor/calcite-components/RSAEDAEX.js +4 -0
- package/dist/collection/vendor/calcite-components/RUTUU2EH.js +4 -0
- package/dist/collection/vendor/calcite-components/RVMVJW6K.js +4 -0
- package/dist/collection/vendor/calcite-components/RVQMJBNS.js +4 -0
- package/dist/collection/vendor/calcite-components/S76CXQTI.js +4 -0
- package/dist/collection/vendor/calcite-components/SBZ6VJ75.js +4 -0
- package/dist/collection/vendor/calcite-components/SJKTCGW6.js +4 -0
- package/dist/collection/vendor/calcite-components/SKDMJE3X.js +4 -0
- package/dist/collection/vendor/calcite-components/SMUXJLDL.js +4 -0
- package/dist/collection/vendor/calcite-components/SYEQSDHG.js +4 -0
- package/dist/collection/vendor/calcite-components/T3NRBBZP.js +4 -0
- package/dist/collection/vendor/calcite-components/T5UPGHU3.js +4 -0
- package/dist/collection/vendor/calcite-components/T6HODD4B.js +4 -0
- package/dist/collection/vendor/calcite-components/TNR5VZG2.js +4 -0
- package/dist/collection/vendor/calcite-components/TQIVV2F7.js +4 -0
- package/dist/collection/vendor/calcite-components/TQTAM3XB.js +4 -0
- package/dist/collection/vendor/calcite-components/TSJJLMPA.js +4 -0
- package/dist/collection/vendor/calcite-components/TVDZM7WT.js +4 -0
- package/dist/collection/vendor/calcite-components/U3WK4DZT.js +4 -0
- package/dist/collection/vendor/calcite-components/U725E4ID.js +4 -0
- package/dist/collection/vendor/calcite-components/UELGJSYH.js +4 -0
- package/dist/collection/vendor/calcite-components/UJL3BWDH.js +4 -0
- package/dist/collection/vendor/calcite-components/URM3R65T.js +4 -0
- package/dist/collection/vendor/calcite-components/US3PQV6O.js +4 -0
- package/dist/collection/vendor/calcite-components/V4JZRN7T.js +4 -0
- package/dist/collection/vendor/calcite-components/VCSXFNPO.js +4 -0
- package/dist/collection/vendor/calcite-components/VG7BJBFG.js +4 -0
- package/dist/collection/vendor/calcite-components/VJD4CRQ3.js +4 -0
- package/dist/collection/vendor/calcite-components/VMRLYKNI.js +4 -0
- package/dist/collection/vendor/calcite-components/VNQNKQ2J.js +4 -0
- package/dist/collection/vendor/calcite-components/VST65PDC.js +4 -0
- package/dist/collection/vendor/calcite-components/WKTGTKRJ.js +4 -0
- package/dist/collection/vendor/calcite-components/WPAMFFBY.js +4 -0
- package/dist/collection/vendor/calcite-components/WSGL37LB.js +4 -0
- package/dist/collection/vendor/calcite-components/WWUBU6N5.js +4 -0
- package/dist/collection/vendor/calcite-components/X2UHFJHG.js +4 -0
- package/dist/collection/vendor/calcite-components/XBZLGRRI.js +4 -0
- package/dist/collection/vendor/calcite-components/XOVG6UH3.js +4 -0
- package/dist/collection/vendor/calcite-components/XT32TCZG.js +4 -0
- package/dist/collection/vendor/calcite-components/XXZIOSXQ.js +4 -0
- package/dist/collection/vendor/calcite-components/Y6VF7HSM.js +4 -0
- package/dist/collection/vendor/calcite-components/YA5A7PJR.js +4 -0
- package/dist/collection/vendor/calcite-components/YMRTHS5X.js +4 -0
- package/dist/collection/vendor/calcite-components/YTRT5XZT.js +4 -0
- package/dist/collection/vendor/calcite-components/YXLQFMOA.js +4 -0
- package/dist/collection/vendor/calcite-components/YYJSHQR3.js +4 -0
- package/dist/collection/vendor/calcite-components/Z6GA347Y.js +4 -0
- package/dist/collection/vendor/calcite-components/Z7VNUC77.js +4 -0
- package/dist/collection/vendor/calcite-components/ZA76CHET.js +4 -0
- package/dist/collection/vendor/calcite-components/ZGXTLCGJ.js +4 -0
- package/dist/collection/vendor/calcite-components/ZQO6E4FO.js +4 -0
- package/dist/collection/vendor/calcite-components/ZV442E6X.js +4 -0
- package/dist/collection/vendor/calcite-components/assets/icon/dualImageArea16.json +1 -0
- package/dist/collection/vendor/calcite-components/assets/icon/dualImageArea24.json +1 -0
- package/dist/collection/vendor/calcite-components/assets/icon/dualImageArea32.json +1 -0
- package/dist/collection/vendor/calcite-components/assets/icon/dualImageDistance16.json +1 -0
- package/dist/collection/vendor/calcite-components/assets/icon/dualImageDistance24.json +1 -0
- package/dist/collection/vendor/calcite-components/assets/icon/dualImageDistance32.json +1 -0
- package/dist/collection/vendor/calcite-components/assets/icon/dualImageLocation16.json +1 -0
- package/dist/collection/vendor/calcite-components/assets/icon/dualImageLocation24.json +1 -0
- package/dist/collection/vendor/calcite-components/assets/icon/dualImageLocation32.json +1 -0
- package/dist/collection/vendor/calcite-components/calcite.css +1 -1
- package/dist/collection/vendor/calcite-components/calcite.esm.js +2 -2
- package/dist/components/solution-item-accordion.js +11 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/solution-item-accordion.entry.js +10 -1
- package/dist/esm/solutions-components.js +1 -1
- package/dist/solutions-components/p-a961421c.entry.js +6 -0
- package/dist/solutions-components/solutions-components.esm.js +1 -1
- package/dist/solutions-components/vendor/calcite-components/22RQB3WE.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/24SER2VV.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/2BGMAPSV.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/2JKKAEPM.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/2M4WCGKG.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/2YAXZHP2.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/345Q4UHX.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/36DMRAV2.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/3DGJ6ZQI.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/3GICXOBQ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/3IV6JSC2.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/3TOVZEQB.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/45GA6INB.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/46U4MKUU.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/4BSCJ722.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/4SEPDFCP.js +5 -0
- package/dist/solutions-components/vendor/calcite-components/4TQLSUKH.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/4YZ27QWL.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/4Z7JRTON.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/5AVZLE2Q.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/5EPP4MG3.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/66B2H27W.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/6LW27BEV.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/6OZRZ36X.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/6X2SD2PW.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/6XTYGXNG.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/6ZTWHW63.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/7D3VEEUX.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/7E342YOK.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/7KSGVDSR.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/7PWETOIU.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/7QHUEK5R.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/7SX3RD7P.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/7U7FF3Y4.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/7WG5I3MP.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/A5GGYTUQ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/AI3R3SU6.js +28 -0
- package/dist/solutions-components/vendor/calcite-components/ARHYATTG.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/ATHBUWBY.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/AXXJNFKZ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/AYZ73RWQ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/BAHIPAHM.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/BRTDMTZ3.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/BRTESQOJ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/BSRMWMHQ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/BZKF5ZXQ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/C46JYVUP.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/C54C5E23.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/CBSMKHOY.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/CFRBQXK4.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/CIV3PH3Z.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/CJYTY62F.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/CK6HQQX6.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/CMO3X257.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/CNO6NFH5.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/CWPRBG3T.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/CY6C2FDZ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/D2HDFE7S.js +22 -0
- package/dist/solutions-components/vendor/calcite-components/D36VWSDW.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/DBVNMM6Q.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/DDJ75RTI.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/DH4ISGHV.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/DNYBIAUI.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/DT67ZFPX.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/DTL2LM6T.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/E3R5SMVW.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/E4NMFIKN.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/EAML4EDI.js +5 -0
- package/dist/solutions-components/vendor/calcite-components/ECEZ4R6E.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/EFI2G5WL.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/EHZCT5YZ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/EOHVH6PN.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/ESBOJTBS.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/F6EGRKXW.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/FCN5RMLA.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/FDIM6DYL.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/FE3A3YUN.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/FHBFGCTR.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/FNFWOOMR.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/FNM4DZZH.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/G2KHDAZD.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/G3LH75CQ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/G3ZJ2KQT.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/G7WFYVUC.js +5 -0
- package/dist/solutions-components/vendor/calcite-components/GAAXSGWK.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/GE63ETFI.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/GFC7NS6P.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/GGO5TMB4.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/GKKCWEZX.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/GN5CPLSJ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/GNUSLZWJ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/GOOHYN3D.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/GPUFLCIT.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/GSXEMGSW.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/GYQTRH4V.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/HFIRIAQA.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/HGTV36FX.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/HKHPJJ34.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/HMVKZP47.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/I2OIH73C.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/I32TMNTO.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/I62DUDHI.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/IH4RXHJJ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/IJCTXZQB.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/IXRMDUEL.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/IYDN67SF.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/JCWM5Z43.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/JEX42CPR.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/JFYDLHH7.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/JLZYAYOL.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/JUNCR7R2.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/JVNEJ36Z.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/K3ZBW4GY.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/KBDXI6DJ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/KBNS3CCT.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/KI2NOBMU.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/KSNEQFZX.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/KSVYAIHK.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/KULDQOV2.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/KVSCG5E3.js +6 -0
- package/dist/solutions-components/vendor/calcite-components/KW57BHXD.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/KWOOGTG2.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/L5FDXQMT.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/LB5ATL5Q.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/LH7KSBQC.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/LHSAAMYQ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/LILDCWFX.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/LLSB73WA.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/LOZEGKG2.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/MBQZPRQ5.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/MCSX2S5T.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/MIKGJ3NM.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/MPAVJ7UH.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/MPX2M2VX.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/MQYH4ONZ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/MUWK32IE.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/MZRO54UT.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/N2BVYYYP.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/N4MN6VQ7.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/N55N67N5.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/NODC2JA6.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/NVBNX55L.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/NWVCPRVB.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/O4O3TSE5.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/OE2AH2NC.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/OGED6PPP.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/OHOS32IT.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/OLMX7G3J.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/OOSULFCY.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/OPBQNK7J.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/OTHVFLNW.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/OTUG3NVT.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/PNHR5K2L.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/PT2XMADA.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/PZLVQQMT.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/QAYSDI3M.js +5 -0
- package/dist/solutions-components/vendor/calcite-components/QCGLMLKW.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/QHASLHZN.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/QK2H5T7J.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/QLKHJI4P.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/QQ67AVDV.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/QU33PBBI.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/QYGED6CL.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/R3HMG2D6.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/R4RMVIKH.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/R6GNPMSV.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/RAFCSOOQ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/RAQWKUOJ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/RESHLE2Y.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/RJLKHCRB.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/RLSQLIV6.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/RMGYRZXR.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/RSAEDAEX.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/RUTUU2EH.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/RVMVJW6K.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/RVQMJBNS.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/S76CXQTI.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/SBZ6VJ75.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/SJKTCGW6.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/SKDMJE3X.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/SMUXJLDL.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/SYEQSDHG.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/T3NRBBZP.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/T5UPGHU3.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/T6HODD4B.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/TNR5VZG2.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/TQIVV2F7.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/TQTAM3XB.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/TSJJLMPA.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/TVDZM7WT.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/U3WK4DZT.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/U725E4ID.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/UELGJSYH.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/UJL3BWDH.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/URM3R65T.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/US3PQV6O.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/V4JZRN7T.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/VCSXFNPO.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/VG7BJBFG.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/VJD4CRQ3.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/VMRLYKNI.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/VNQNKQ2J.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/VST65PDC.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/WKTGTKRJ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/WPAMFFBY.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/WSGL37LB.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/WWUBU6N5.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/X2UHFJHG.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/XBZLGRRI.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/XOVG6UH3.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/XT32TCZG.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/XXZIOSXQ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/Y6VF7HSM.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/YA5A7PJR.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/YMRTHS5X.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/YTRT5XZT.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/YXLQFMOA.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/YYJSHQR3.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/Z6GA347Y.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/Z7VNUC77.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/ZA76CHET.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/ZGXTLCGJ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/ZQO6E4FO.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/ZV442E6X.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/assets/icon/dualImageArea16.json +1 -0
- package/dist/solutions-components/vendor/calcite-components/assets/icon/dualImageArea24.json +1 -0
- package/dist/solutions-components/vendor/calcite-components/assets/icon/dualImageArea32.json +1 -0
- package/dist/solutions-components/vendor/calcite-components/assets/icon/dualImageDistance16.json +1 -0
- package/dist/solutions-components/vendor/calcite-components/assets/icon/dualImageDistance24.json +1 -0
- package/dist/solutions-components/vendor/calcite-components/assets/icon/dualImageDistance32.json +1 -0
- package/dist/solutions-components/vendor/calcite-components/assets/icon/dualImageLocation16.json +1 -0
- package/dist/solutions-components/vendor/calcite-components/assets/icon/dualImageLocation24.json +1 -0
- package/dist/solutions-components/vendor/calcite-components/assets/icon/dualImageLocation32.json +1 -0
- package/dist/solutions-components/vendor/calcite-components/calcite.css +1 -1
- package/dist/solutions-components/vendor/calcite-components/calcite.esm.js +2 -2
- package/dist/solutions-components_commit.txt +6 -6
- package/dist/types/components/solution-item-accordion/solution-item-accordion.d.ts +4 -0
- package/dist/types/components.d.ts +4 -0
- package/package.json +3 -3
- package/dist/collection/vendor/calcite-components/24XPU7PW.js +0 -4
- package/dist/collection/vendor/calcite-components/26HZKUXD.js +0 -4
- package/dist/collection/vendor/calcite-components/2DZDH5PW.js +0 -4
- package/dist/collection/vendor/calcite-components/2E4H4XCR.js +0 -5
- package/dist/collection/vendor/calcite-components/2FEK4CRN.js +0 -4
- package/dist/collection/vendor/calcite-components/2JG564MO.js +0 -4
- package/dist/collection/vendor/calcite-components/2Q4UEB7G.js +0 -4
- package/dist/collection/vendor/calcite-components/2RPVHRRK.js +0 -4
- package/dist/collection/vendor/calcite-components/2UCHSNWA.js +0 -4
- package/dist/collection/vendor/calcite-components/36XNABTH.js +0 -5
- package/dist/collection/vendor/calcite-components/3AQ2GZOJ.js +0 -4
- package/dist/collection/vendor/calcite-components/3BLAL4BM.js +0 -4
- package/dist/collection/vendor/calcite-components/3FMVZYYJ.js +0 -4
- package/dist/collection/vendor/calcite-components/3H4RHBLC.js +0 -4
- package/dist/collection/vendor/calcite-components/3HPRXYKG.js +0 -4
- package/dist/collection/vendor/calcite-components/3NQ3MF4Y.js +0 -4
- package/dist/collection/vendor/calcite-components/3QYPPYKC.js +0 -4
- package/dist/collection/vendor/calcite-components/3SN4BPNU.js +0 -4
- package/dist/collection/vendor/calcite-components/3TSDVYMK.js +0 -4
- package/dist/collection/vendor/calcite-components/44IELQRN.js +0 -4
- package/dist/collection/vendor/calcite-components/4EXGV2JM.js +0 -4
- package/dist/collection/vendor/calcite-components/4FFNZW2T.js +0 -4
- package/dist/collection/vendor/calcite-components/4IAN6EPQ.js +0 -4
- package/dist/collection/vendor/calcite-components/4LP6XZGU.js +0 -4
- package/dist/collection/vendor/calcite-components/5F57XCO4.js +0 -4
- package/dist/collection/vendor/calcite-components/5GKGAQME.js +0 -4
- package/dist/collection/vendor/calcite-components/5IDYJYNO.js +0 -4
- package/dist/collection/vendor/calcite-components/5NCQFUYM.js +0 -4
- package/dist/collection/vendor/calcite-components/5URVZAO7.js +0 -4
- package/dist/collection/vendor/calcite-components/5VK4UUOT.js +0 -4
- package/dist/collection/vendor/calcite-components/675BA2OJ.js +0 -4
- package/dist/collection/vendor/calcite-components/6BYBFB5X.js +0 -4
- package/dist/collection/vendor/calcite-components/6GYLT3HR.js +0 -4
- package/dist/collection/vendor/calcite-components/6HR6FZG5.js +0 -4
- package/dist/collection/vendor/calcite-components/6MXVP647.js +0 -4
- package/dist/collection/vendor/calcite-components/6ZVC3UDX.js +0 -4
- package/dist/collection/vendor/calcite-components/7DCX244D.js +0 -4
- package/dist/collection/vendor/calcite-components/7IVGC34Z.js +0 -4
- package/dist/collection/vendor/calcite-components/7MWKFHAB.js +0 -4
- package/dist/collection/vendor/calcite-components/7XHO3OGL.js +0 -4
- package/dist/collection/vendor/calcite-components/7ZKEYSIK.js +0 -4
- package/dist/collection/vendor/calcite-components/A55GXE4D.js +0 -4
- package/dist/collection/vendor/calcite-components/ANPPDEZT.js +0 -4
- package/dist/collection/vendor/calcite-components/AQU64FML.js +0 -4
- package/dist/collection/vendor/calcite-components/BWIN7F7V.js +0 -4
- package/dist/collection/vendor/calcite-components/CMPWL5OR.js +0 -4
- package/dist/collection/vendor/calcite-components/D2RJ2NDD.js +0 -4
- package/dist/collection/vendor/calcite-components/D7XRLD6B.js +0 -4
- package/dist/collection/vendor/calcite-components/DARUTTL6.js +0 -4
- package/dist/collection/vendor/calcite-components/DQUWVHQ4.js +0 -4
- package/dist/collection/vendor/calcite-components/DS66T4UB.js +0 -4
- package/dist/collection/vendor/calcite-components/DTEXOHOC.js +0 -4
- package/dist/collection/vendor/calcite-components/DWP35FP5.js +0 -4
- package/dist/collection/vendor/calcite-components/E4V4WLG3.js +0 -4
- package/dist/collection/vendor/calcite-components/E7BZN4HI.js +0 -4
- package/dist/collection/vendor/calcite-components/E7L45EZX.js +0 -4
- package/dist/collection/vendor/calcite-components/EAA5CDC7.js +0 -4
- package/dist/collection/vendor/calcite-components/EBQYZOJE.js +0 -4
- package/dist/collection/vendor/calcite-components/EEY7KS7V.js +0 -4
- package/dist/collection/vendor/calcite-components/EF4LF7JA.js +0 -4
- package/dist/collection/vendor/calcite-components/EG3KFCKT.js +0 -4
- package/dist/collection/vendor/calcite-components/EIKWAET5.js +0 -4
- package/dist/collection/vendor/calcite-components/ELQHGUUQ.js +0 -4
- package/dist/collection/vendor/calcite-components/ERSOIATK.js +0 -4
- package/dist/collection/vendor/calcite-components/EV222TOH.js +0 -4
- package/dist/collection/vendor/calcite-components/FBYOJ4XP.js +0 -4
- package/dist/collection/vendor/calcite-components/FD23ZJ5M.js +0 -4
- package/dist/collection/vendor/calcite-components/FKRFYIK4.js +0 -4
- package/dist/collection/vendor/calcite-components/FMQW5CPG.js +0 -4
- package/dist/collection/vendor/calcite-components/FO5IP7GC.js +0 -4
- package/dist/collection/vendor/calcite-components/FT75A5FT.js +0 -4
- package/dist/collection/vendor/calcite-components/FXQZQREX.js +0 -4
- package/dist/collection/vendor/calcite-components/FYRRB4YU.js +0 -4
- package/dist/collection/vendor/calcite-components/G4WSCO7F.js +0 -4
- package/dist/collection/vendor/calcite-components/G5LIFWLC.js +0 -4
- package/dist/collection/vendor/calcite-components/GCYW34DH.js +0 -4
- package/dist/collection/vendor/calcite-components/GD4KAPIS.js +0 -4
- package/dist/collection/vendor/calcite-components/GM2DDQTV.js +0 -4
- package/dist/collection/vendor/calcite-components/GO2WSYWK.js +0 -4
- package/dist/collection/vendor/calcite-components/GPCQIKHB.js +0 -4
- package/dist/collection/vendor/calcite-components/GWFN65PG.js +0 -4
- package/dist/collection/vendor/calcite-components/GYIYX666.js +0 -4
- package/dist/collection/vendor/calcite-components/H373LLT7.js +0 -4
- package/dist/collection/vendor/calcite-components/HANIGQEU.js +0 -4
- package/dist/collection/vendor/calcite-components/HBWBBKTZ.js +0 -4
- package/dist/collection/vendor/calcite-components/HPQH2IQI.js +0 -4
- package/dist/collection/vendor/calcite-components/HVFHWDZS.js +0 -4
- package/dist/collection/vendor/calcite-components/HZ2CJF4H.js +0 -4
- package/dist/collection/vendor/calcite-components/ICQDC5MP.js +0 -4
- package/dist/collection/vendor/calcite-components/IUPHPQ5W.js +0 -4
- package/dist/collection/vendor/calcite-components/JDC4CCNQ.js +0 -4
- package/dist/collection/vendor/calcite-components/JG5U4L3H.js +0 -4
- package/dist/collection/vendor/calcite-components/JIZ3ZUNT.js +0 -4
- package/dist/collection/vendor/calcite-components/JLOMSYFQ.js +0 -4
- package/dist/collection/vendor/calcite-components/JLTNOBGF.js +0 -4
- package/dist/collection/vendor/calcite-components/JN54BWVD.js +0 -4
- package/dist/collection/vendor/calcite-components/JN6GQD32.js +0 -4
- package/dist/collection/vendor/calcite-components/JPISN7UU.js +0 -4
- package/dist/collection/vendor/calcite-components/JUAKRLPE.js +0 -4
- package/dist/collection/vendor/calcite-components/JWG3XWKS.js +0 -4
- package/dist/collection/vendor/calcite-components/JXO6Q6PC.js +0 -4
- package/dist/collection/vendor/calcite-components/JZGJVQKB.js +0 -4
- package/dist/collection/vendor/calcite-components/K6ALYIOD.js +0 -4
- package/dist/collection/vendor/calcite-components/KDJM5H4R.js +0 -4
- package/dist/collection/vendor/calcite-components/KHJ3WR7G.js +0 -4
- package/dist/collection/vendor/calcite-components/KKIWAHJ5.js +0 -4
- package/dist/collection/vendor/calcite-components/KTBWW64D.js +0 -4
- package/dist/collection/vendor/calcite-components/KU2O6B36.js +0 -4
- package/dist/collection/vendor/calcite-components/KVUPM4TA.js +0 -4
- package/dist/collection/vendor/calcite-components/KX7ZCSRX.js +0 -4
- package/dist/collection/vendor/calcite-components/L23DZQI6.js +0 -4
- package/dist/collection/vendor/calcite-components/L2A3CRIP.js +0 -4
- package/dist/collection/vendor/calcite-components/L37A2ISQ.js +0 -4
- package/dist/collection/vendor/calcite-components/LAVRP2RO.js +0 -4
- package/dist/collection/vendor/calcite-components/LKSA6W5F.js +0 -4
- package/dist/collection/vendor/calcite-components/LL7Q6H5L.js +0 -4
- package/dist/collection/vendor/calcite-components/LM2XVEJC.js +0 -4
- package/dist/collection/vendor/calcite-components/LRGSGD6G.js +0 -4
- package/dist/collection/vendor/calcite-components/LSIQC7QO.js +0 -4
- package/dist/collection/vendor/calcite-components/LX3BNN2R.js +0 -4
- package/dist/collection/vendor/calcite-components/M25GARCS.js +0 -4
- package/dist/collection/vendor/calcite-components/M4GN65AZ.js +0 -4
- package/dist/collection/vendor/calcite-components/MDFZXOFP.js +0 -5
- package/dist/collection/vendor/calcite-components/MIBXI2CI.js +0 -4
- package/dist/collection/vendor/calcite-components/MRFLH6RW.js +0 -4
- package/dist/collection/vendor/calcite-components/MUSZ6RWB.js +0 -4
- package/dist/collection/vendor/calcite-components/MX5EJ4DJ.js +0 -4
- package/dist/collection/vendor/calcite-components/MX7YVZ2Z.js +0 -4
- package/dist/collection/vendor/calcite-components/MYZF2YXM.js +0 -4
- package/dist/collection/vendor/calcite-components/N65J4BH6.js +0 -4
- package/dist/collection/vendor/calcite-components/N7POKTYM.js +0 -4
- package/dist/collection/vendor/calcite-components/NGWZQ4DF.js +0 -4
- package/dist/collection/vendor/calcite-components/NH5KER32.js +0 -4
- package/dist/collection/vendor/calcite-components/NIUCAKLC.js +0 -4
- package/dist/collection/vendor/calcite-components/NJILTUYU.js +0 -4
- package/dist/collection/vendor/calcite-components/NNB7RMSP.js +0 -4
- package/dist/collection/vendor/calcite-components/NP5LTTOS.js +0 -4
- package/dist/collection/vendor/calcite-components/NU3PWREF.js +0 -4
- package/dist/collection/vendor/calcite-components/NZDSRTUF.js +0 -4
- package/dist/collection/vendor/calcite-components/O4LXC5MV.js +0 -4
- package/dist/collection/vendor/calcite-components/OJGLTFDQ.js +0 -4
- package/dist/collection/vendor/calcite-components/OM2SDJA4.js +0 -4
- package/dist/collection/vendor/calcite-components/OY3RU7OI.js +0 -4
- package/dist/collection/vendor/calcite-components/P7LZIGH7.js +0 -4
- package/dist/collection/vendor/calcite-components/PF4XEEY5.js +0 -4
- package/dist/collection/vendor/calcite-components/PODUJS2H.js +0 -4
- package/dist/collection/vendor/calcite-components/PTGDUPKQ.js +0 -4
- package/dist/collection/vendor/calcite-components/PULE4IG4.js +0 -4
- package/dist/collection/vendor/calcite-components/PYAEZBTT.js +0 -4
- package/dist/collection/vendor/calcite-components/Q4DBJLCB.js +0 -4
- package/dist/collection/vendor/calcite-components/Q5CP47UX.js +0 -4
- package/dist/collection/vendor/calcite-components/QBKTBLGQ.js +0 -4
- package/dist/collection/vendor/calcite-components/QBQA4E7G.js +0 -4
- package/dist/collection/vendor/calcite-components/QETLRCQW.js +0 -4
- package/dist/collection/vendor/calcite-components/QQDFER4A.js +0 -4
- package/dist/collection/vendor/calcite-components/QUUN5YJ3.js +0 -4
- package/dist/collection/vendor/calcite-components/RAGSXTXM.js +0 -4
- package/dist/collection/vendor/calcite-components/RCSWE64T.js +0 -4
- package/dist/collection/vendor/calcite-components/REFBGNGF.js +0 -4
- package/dist/collection/vendor/calcite-components/RJMOC4XG.js +0 -4
- package/dist/collection/vendor/calcite-components/RLL47KJQ.js +0 -4
- package/dist/collection/vendor/calcite-components/RNT7J5MG.js +0 -4
- package/dist/collection/vendor/calcite-components/RPYN5IF2.js +0 -4
- package/dist/collection/vendor/calcite-components/RRML3L24.js +0 -4
- package/dist/collection/vendor/calcite-components/RRVJ5QUL.js +0 -4
- package/dist/collection/vendor/calcite-components/RZO7PXBY.js +0 -4
- package/dist/collection/vendor/calcite-components/SHIRLQTM.js +0 -4
- package/dist/collection/vendor/calcite-components/SKNFNI3G.js +0 -4
- package/dist/collection/vendor/calcite-components/SYRJFWC5.js +0 -4
- package/dist/collection/vendor/calcite-components/T3GBBB3W.js +0 -4
- package/dist/collection/vendor/calcite-components/TQ427GJX.js +0 -6
- package/dist/collection/vendor/calcite-components/TRWHGTOM.js +0 -4
- package/dist/collection/vendor/calcite-components/TTYJV2AA.js +0 -4
- package/dist/collection/vendor/calcite-components/TWJJYAQX.js +0 -4
- package/dist/collection/vendor/calcite-components/U34FMDPO.js +0 -4
- package/dist/collection/vendor/calcite-components/UEMF24J4.js +0 -4
- package/dist/collection/vendor/calcite-components/UIX5KJAH.js +0 -4
- package/dist/collection/vendor/calcite-components/UK4MHTX3.js +0 -4
- package/dist/collection/vendor/calcite-components/UMC66FPD.js +0 -4
- package/dist/collection/vendor/calcite-components/UOWQEKZ5.js +0 -4
- package/dist/collection/vendor/calcite-components/UTQXVQSW.js +0 -4
- package/dist/collection/vendor/calcite-components/UZXKQDX5.js +0 -4
- package/dist/collection/vendor/calcite-components/VB5TESRK.js +0 -4
- package/dist/collection/vendor/calcite-components/VHJ3N6C3.js +0 -4
- package/dist/collection/vendor/calcite-components/VY7WVWHH.js +0 -4
- package/dist/collection/vendor/calcite-components/W34LH35I.js +0 -4
- package/dist/collection/vendor/calcite-components/W5SJYIG6.js +0 -4
- package/dist/collection/vendor/calcite-components/W7LKQZLC.js +0 -4
- package/dist/collection/vendor/calcite-components/WA5XUN7A.js +0 -4
- package/dist/collection/vendor/calcite-components/WEMPP7QH.js +0 -4
- package/dist/collection/vendor/calcite-components/WK57IMVA.js +0 -4
- package/dist/collection/vendor/calcite-components/WUO5GRAC.js +0 -5
- package/dist/collection/vendor/calcite-components/WVYNOISK.js +0 -4
- package/dist/collection/vendor/calcite-components/X3DSV2RP.js +0 -4
- package/dist/collection/vendor/calcite-components/X533PSPQ.js +0 -4
- package/dist/collection/vendor/calcite-components/XCP7OFYG.js +0 -4
- package/dist/collection/vendor/calcite-components/XHSJC65M.js +0 -22
- package/dist/collection/vendor/calcite-components/XNYI7YNV.js +0 -4
- package/dist/collection/vendor/calcite-components/XOXXCOFR.js +0 -4
- package/dist/collection/vendor/calcite-components/XWL453TD.js +0 -4
- package/dist/collection/vendor/calcite-components/XZCNA3MO.js +0 -4
- package/dist/collection/vendor/calcite-components/XZIEBVH3.js +0 -4
- package/dist/collection/vendor/calcite-components/Y2RMF5RD.js +0 -4
- package/dist/collection/vendor/calcite-components/Y5K6MWVI.js +0 -4
- package/dist/collection/vendor/calcite-components/Y73JSF6U.js +0 -4
- package/dist/collection/vendor/calcite-components/YDHV53C4.js +0 -4
- package/dist/collection/vendor/calcite-components/YFD73VVO.js +0 -4
- package/dist/collection/vendor/calcite-components/YGSOHLPD.js +0 -4
- package/dist/collection/vendor/calcite-components/YLRKAY6P.js +0 -4
- package/dist/collection/vendor/calcite-components/YMGAVFBF.js +0 -4
- package/dist/collection/vendor/calcite-components/YORUNTUJ.js +0 -4
- package/dist/collection/vendor/calcite-components/YQW2HZIZ.js +0 -4
- package/dist/collection/vendor/calcite-components/YU4QMLUK.js +0 -4
- package/dist/collection/vendor/calcite-components/Z5W27AI4.js +0 -4
- package/dist/collection/vendor/calcite-components/ZB7BTUGE.js +0 -4
- package/dist/collection/vendor/calcite-components/ZBMTRW4F.js +0 -4
- package/dist/collection/vendor/calcite-components/ZGKKQBVA.js +0 -4
- package/dist/collection/vendor/calcite-components/ZH3CXIUL.js +0 -4
- package/dist/collection/vendor/calcite-components/ZIFGJROL.js +0 -4
- package/dist/collection/vendor/calcite-components/ZL7RFBBU.js +0 -28
- package/dist/collection/vendor/calcite-components/ZLP5NNFX.js +0 -4
- package/dist/collection/vendor/calcite-components/ZQRVWYDH.js +0 -4
- package/dist/solutions-components/p-83f0dd3b.entry.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/24XPU7PW.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/26HZKUXD.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/2DZDH5PW.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/2E4H4XCR.js +0 -5
- package/dist/solutions-components/vendor/calcite-components/2FEK4CRN.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/2JG564MO.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/2Q4UEB7G.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/2RPVHRRK.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/2UCHSNWA.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/36XNABTH.js +0 -5
- package/dist/solutions-components/vendor/calcite-components/3AQ2GZOJ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/3BLAL4BM.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/3FMVZYYJ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/3H4RHBLC.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/3HPRXYKG.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/3NQ3MF4Y.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/3QYPPYKC.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/3SN4BPNU.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/3TSDVYMK.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/44IELQRN.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/4EXGV2JM.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/4FFNZW2T.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/4IAN6EPQ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/4LP6XZGU.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/5F57XCO4.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/5GKGAQME.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/5IDYJYNO.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/5NCQFUYM.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/5URVZAO7.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/5VK4UUOT.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/675BA2OJ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/6BYBFB5X.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/6GYLT3HR.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/6HR6FZG5.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/6MXVP647.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/6ZVC3UDX.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/7DCX244D.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/7IVGC34Z.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/7MWKFHAB.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/7XHO3OGL.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/7ZKEYSIK.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/A55GXE4D.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/ANPPDEZT.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/AQU64FML.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/BWIN7F7V.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/CMPWL5OR.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/D2RJ2NDD.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/D7XRLD6B.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/DARUTTL6.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/DQUWVHQ4.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/DS66T4UB.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/DTEXOHOC.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/DWP35FP5.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/E4V4WLG3.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/E7BZN4HI.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/E7L45EZX.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/EAA5CDC7.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/EBQYZOJE.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/EEY7KS7V.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/EF4LF7JA.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/EG3KFCKT.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/EIKWAET5.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/ELQHGUUQ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/ERSOIATK.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/EV222TOH.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/FBYOJ4XP.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/FD23ZJ5M.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/FKRFYIK4.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/FMQW5CPG.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/FO5IP7GC.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/FT75A5FT.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/FXQZQREX.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/FYRRB4YU.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/G4WSCO7F.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/G5LIFWLC.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/GCYW34DH.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/GD4KAPIS.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/GM2DDQTV.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/GO2WSYWK.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/GPCQIKHB.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/GWFN65PG.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/GYIYX666.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/H373LLT7.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/HANIGQEU.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/HBWBBKTZ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/HPQH2IQI.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/HVFHWDZS.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/HZ2CJF4H.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/ICQDC5MP.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/IUPHPQ5W.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/JDC4CCNQ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/JG5U4L3H.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/JIZ3ZUNT.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/JLOMSYFQ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/JLTNOBGF.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/JN54BWVD.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/JN6GQD32.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/JPISN7UU.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/JUAKRLPE.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/JWG3XWKS.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/JXO6Q6PC.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/JZGJVQKB.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/K6ALYIOD.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/KDJM5H4R.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/KHJ3WR7G.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/KKIWAHJ5.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/KTBWW64D.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/KU2O6B36.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/KVUPM4TA.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/KX7ZCSRX.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/L23DZQI6.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/L2A3CRIP.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/L37A2ISQ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/LAVRP2RO.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/LKSA6W5F.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/LL7Q6H5L.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/LM2XVEJC.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/LRGSGD6G.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/LSIQC7QO.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/LX3BNN2R.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/M25GARCS.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/M4GN65AZ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/MDFZXOFP.js +0 -5
- package/dist/solutions-components/vendor/calcite-components/MIBXI2CI.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/MRFLH6RW.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/MUSZ6RWB.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/MX5EJ4DJ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/MX7YVZ2Z.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/MYZF2YXM.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/N65J4BH6.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/N7POKTYM.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/NGWZQ4DF.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/NH5KER32.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/NIUCAKLC.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/NJILTUYU.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/NNB7RMSP.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/NP5LTTOS.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/NU3PWREF.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/NZDSRTUF.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/O4LXC5MV.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/OJGLTFDQ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/OM2SDJA4.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/OY3RU7OI.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/P7LZIGH7.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/PF4XEEY5.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/PODUJS2H.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/PTGDUPKQ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/PULE4IG4.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/PYAEZBTT.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/Q4DBJLCB.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/Q5CP47UX.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/QBKTBLGQ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/QBQA4E7G.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/QETLRCQW.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/QQDFER4A.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/QUUN5YJ3.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/RAGSXTXM.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/RCSWE64T.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/REFBGNGF.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/RJMOC4XG.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/RLL47KJQ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/RNT7J5MG.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/RPYN5IF2.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/RRML3L24.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/RRVJ5QUL.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/RZO7PXBY.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/SHIRLQTM.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/SKNFNI3G.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/SYRJFWC5.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/T3GBBB3W.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/TQ427GJX.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/TRWHGTOM.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/TTYJV2AA.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/TWJJYAQX.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/U34FMDPO.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/UEMF24J4.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/UIX5KJAH.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/UK4MHTX3.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/UMC66FPD.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/UOWQEKZ5.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/UTQXVQSW.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/UZXKQDX5.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/VB5TESRK.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/VHJ3N6C3.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/VY7WVWHH.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/W34LH35I.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/W5SJYIG6.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/W7LKQZLC.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/WA5XUN7A.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/WEMPP7QH.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/WK57IMVA.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/WUO5GRAC.js +0 -5
- package/dist/solutions-components/vendor/calcite-components/WVYNOISK.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/X3DSV2RP.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/X533PSPQ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/XCP7OFYG.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/XHSJC65M.js +0 -22
- package/dist/solutions-components/vendor/calcite-components/XNYI7YNV.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/XOXXCOFR.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/XWL453TD.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/XZCNA3MO.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/XZIEBVH3.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/Y2RMF5RD.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/Y5K6MWVI.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/Y73JSF6U.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/YDHV53C4.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/YFD73VVO.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/YGSOHLPD.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/YLRKAY6P.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/YMGAVFBF.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/YORUNTUJ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/YQW2HZIZ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/YU4QMLUK.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/Z5W27AI4.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/ZB7BTUGE.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/ZBMTRW4F.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/ZGKKQBVA.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/ZH3CXIUL.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/ZIFGJROL.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/ZL7RFBBU.js +0 -28
- package/dist/solutions-components/vendor/calcite-components/ZLP5NNFX.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/ZQRVWYDH.js +0 -4
@@ -0,0 +1,4 @@
|
|
1
|
+
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
2
|
+
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
3
|
+
v3.0.0 */
|
4
|
+
import{b as P}from"./OTHVFLNW.js";import"./G7WFYVUC.js";import{b as O}from"./V4JZRN7T.js";import"./PT2XMADA.js";import{a as E}from"./SMUXJLDL.js";import{a as y,b as B}from"./LOZEGKG2.js";import{a as H}from"./KW57BHXD.js";import{a as s}from"./CIV3PH3Z.js";import"./NWVCPRVB.js";import{a as w}from"./ARHYATTG.js";import{b as x}from"./QU33PBBI.js";import{n as S,u as d}from"./CMO3X257.js";import{b as C}from"./GN5CPLSJ.js";import"./I2OIH73C.js";import{J as k,e as f,f as a,j as u,v as l,w as $,x as i}from"./KVSCG5E3.js";var c={content:"content",toggle:"toggle",header:"header"},t={actionsEnd:"actions-end",container:"container",content:"content",contentStart:"content-start",controlContainer:"control-container",description:"description",header:"header",headerContainer:"header-container",headerHasText:"header--has-text",heading:"heading",icon:"icon",iconStart:"icon--start",iconEnd:"icon--end",iconEndContainer:"icon-end-container",invalid:"invalid",statusIcon:"status-icon",title:"title",toggle:"toggle",toggleIcon:"toggle-icon",valid:"valid"},h={actionsEnd:"actions-end",contentStart:"content-start",control:"control",headerMenuActions:"header-menu-actions",icon:"icon"},b={opened:"chevron-up",closed:"chevron-down",valid:"check-circle",invalid:"exclamation-mark-triangle"},U=f`:host{box-sizing:border-box;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:host{--calcite-icon-size: 1rem;--calcite-spacing-eighth: .125rem;--calcite-spacing-quarter: .25rem;--calcite-spacing-half: .5rem;--calcite-spacing-three-quarters: .75rem;--calcite-spacing: 1rem;--calcite-spacing-plus-quarter: 1.25rem;--calcite-spacing-plus-half: 1.5rem;--calcite-spacing-double: 2rem;--calcite-menu-min-width: 10rem;--calcite-header-min-height: 3rem;--calcite-footer-min-height: 3rem}:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:flex;flex-shrink:0;flex-grow:0;flex-direction:column;border-width:0px;border-block-end-width:1px;border-style:solid;padding:0;transition-property:margin;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s;transition-timing-function:cubic-bezier(.215,.44,.42,.88);flex-basis:auto;transition-duration:var(--calcite-animation-timing);border-color:var(--calcite-block-border-color, var(--calcite-color-border-3))}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}.header{margin:0;display:flex;align-content:space-between;align-items:center;fill:var(--calcite-color-text-2);color:var(--calcite-color-text-2)}.heading{margin:0;padding:0;font-weight:var(--calcite-font-weight-medium)}.header .heading{flex:1 1 auto;padding:.5rem}.header{justify-content:flex-start}.header--has-text{padding:var(--calcite-spacing-md)}.header,.toggle{grid-area:header}.header-container{display:grid;align-items:stretch;grid-template:auto/auto 1fr auto auto;grid-template-areas:"handle header control menu actions-end";grid-column:header-start/actions-end;grid-row:1/2}.content-start,.icon,.icon--start,.icon--end{margin-inline-end:var(--calcite-spacing-md)}.icon calcite-loader{margin-inline-end:var(--calcite-spacing-xxxs)}.icon--start,.icon--end{color:var(--calcite-block-text-color, var(--calcite-color-text-3))}.actions-end{grid-area:actions-end}.toggle{margin:0;display:flex;cursor:pointer;flex-wrap:nowrap;align-items:center;justify-content:space-between;border-style:none;padding:0;font-family:var(--calcite-font-family);outline-color:transparent;text-align:initial;background-color:var(--calcite-block-header-background-color, transparent)}.toggle:hover{background-color:var(--calcite-block-header-background-color-hover, var(--calcite-color-foreground-2))}.toggle:focus{outline:2px solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(-2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}calcite-loader[inline]{grid-area:control;align-self:center}calcite-handle{grid-area:handle}.title{margin:0}.header .title .heading{padding:0;font-size:var(--calcite-font-size--1);font-weight:var(--calcite-font-weight-medium);line-height:1.25;transition-property:color;transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1);word-wrap:break-word;word-break:break-word;color:var(--calcite-block-heading-text-color, var(--calcite-color-text-2))}.description{margin-block-start:.125rem;padding:0;font-size:var(--calcite-font-size--2);line-height:1.375;word-wrap:break-word;word-break:break-word;color:var(--calcite-block-text-color, var(--calcite-color-text-3))}.icon{display:flex}.status-icon.valid{color:var(--calcite-color-status-success)}.status-icon.invalid{color:var(--calcite-color-status-danger)}@keyframes spin{0%{transform:rotate(0)}50%{transform:rotate(180deg)}to{transform:rotate(360deg)}}.icon-end-container{display:flex;align-items:center;margin-inline-start:auto}.toggle-icon{align-self:center;justify-self:end;transition-property:color;transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1);margin-inline-end:var(--calcite-spacing-md);color:var(--calcite-block-text-color, var(--calcite-color-text-3))}.toggle:hover .toggle-icon{color:var(--calcite-block-heading-text-color-press, var(--calcite-color-text-1))}.container{position:relative;display:flex;block-size:100%;flex-direction:column}.content{position:relative;min-block-size:0px;flex:1 1 0%}@keyframes in{0%{opacity:0}to{opacity:1}}.content{animation:in var(--calcite-internal-animation-timing-slow) ease-in-out;padding-block:var(--calcite-block-padding, var(--calcite-spacing-sm));padding-inline:var(--calcite-block-padding, var(--calcite-spacing-md))}.content-start{display:flex;align-items:center;color:var(--calcite-block-text-color, var(--calcite-color-text-3))}.control-container{margin:0;display:flex;grid-area:control}calcite-action-menu{grid-area:menu}.actions-end{display:flex;align-items:stretch}:host([open]){margin-block:.5rem}:host([open]) .header .title .heading{color:var(--calcite-block-heading-text-color-press, var(--calcite-color-text-1))}:host([hidden]){display:none}[hidden]{display:none}`,v=class extends ${constructor(){super(...arguments),this.transitionProp="margin-top",this.hasContentStart=!1,this.hasControl=!1,this.hasEndActions=!1,this.hasIcon=!1,this.hasMenuActions=!1,this.collapsible=!1,this.disabled=!1,this.dragDisabled=!1,this.dragHandle=!1,this.loading=!1,this.menuPlacement=O,this.messages=w(),this.moveToItems=[],this.open=!1,this.overlayPositioning="absolute",this.setPosition=null,this.setSize=null,this.sortHandleOpen=!1,this.calciteBlockBeforeClose=l({cancelable:!1}),this.calciteBlockBeforeOpen=l({cancelable:!1}),this.calciteBlockClose=l({cancelable:!1}),this.calciteBlockOpen=l({cancelable:!1}),this.calciteBlockSortHandleBeforeClose=l({cancelable:!1}),this.calciteBlockSortHandleBeforeOpen=l({cancelable:!1}),this.calciteBlockSortHandleClose=l({cancelable:!1}),this.calciteBlockSortHandleOpen=l({cancelable:!1}),this.calciteBlockToggle=l({cancelable:!1})}static{this.properties={hasContentStart:16,hasControl:16,hasEndActions:16,hasIcon:16,hasMenuActions:16,collapsible:7,description:1,disabled:7,dragDisabled:7,dragHandle:7,heading:1,headingLevel:11,iconEnd:3,iconFlipRtl:3,iconStart:3,loading:7,label:1,menuFlipPlacements:0,menuPlacement:3,messageOverrides:0,moveToItems:0,open:7,overlayPositioning:3,setPosition:9,setSize:9,sortHandleOpen:7,status:3}}static{this.styles=U}async setFocus(){await C(this),S(this.el)}connectedCallback(){super.connectedCallback(),this.transitionEl=this.el}load(){!this.heading&&!this.label&&H.warn(`${this.el.tagName} is missing both heading & label. Please provide a heading or label for the component to be accessible.`)}willUpdate(e){e.has("open")&&(this.hasUpdated||this.open!==!1)&&E(this),e.has("sortHandleOpen")&&(this.hasUpdated||this.sortHandleOpen!==!1)&&this.sortHandleOpenHandler()}updated(){y(this)}loaded(){}onBeforeOpen(){this.calciteBlockBeforeOpen.emit()}onOpen(){this.calciteBlockOpen.emit()}onBeforeClose(){this.calciteBlockBeforeClose.emit()}onClose(){this.calciteBlockClose.emit()}sortHandleOpenHandler(){this.sortHandleEl&&(this.sortHandleEl.open=this.sortHandleOpen)}setSortHandleEl(e){this.sortHandleEl=e,this.sortHandleOpenHandler()}handleSortHandleBeforeOpen(e){e.stopPropagation(),this.calciteBlockSortHandleBeforeOpen.emit()}handleSortHandleBeforeClose(e){e.stopPropagation(),this.calciteBlockSortHandleBeforeClose.emit()}handleSortHandleClose(e){e.stopPropagation(),this.sortHandleOpen=!1,this.calciteBlockSortHandleClose.emit()}handleSortHandleOpen(e){e.stopPropagation(),this.sortHandleOpen=!0,this.calciteBlockSortHandleOpen.emit()}onHeaderClick(){this.open=!this.open,this.calciteBlockToggle.emit()}controlSlotChangeHandler(e){this.hasControl=d(e)}menuActionsSlotChangeHandler(e){this.hasMenuActions=d(e)}iconSlotChangeHandler(e){this.hasIcon=d(e)}actionsEndSlotChangeHandler(e){this.hasEndActions=d(e)}handleContentStartSlotChange(e){this.hasContentStart=d(e)}renderScrim(){let{loading:e}=this,o=a`<slot></slot>`;return[e?a`<calcite-scrim .loading=${e}></calcite-scrim>`:null,o]}renderLoaderStatusIcon(){let{loading:e,messages:o,status:n}=this;return e?s("loader",a`<div class=${i(t.icon)}><calcite-loader inline .label=${o.loading}></calcite-loader></div>`):n?s("status-icon",a`<div class=${i(t.icon)}><calcite-icon class=${i({[t.statusIcon]:!0,[t.valid]:n=="valid",[t.invalid]:n=="invalid"})} .icon=${b[n]} scale=s></calcite-icon></div>`):s("icon-slot",a`<div class=${i(t.icon)} .hidden=${!this.hasIcon}>${s("icon-slot",a`<slot name=${h.icon} @slotchange=${this.iconSlotChangeHandler}></slot>`)}</div>`)}renderActionsEnd(){return a`<div class=${i(t.actionsEnd)} .hidden=${!this.hasEndActions}><slot name=${h.actionsEnd} @slotchange=${this.actionsEndSlotChangeHandler}></slot></div>`}renderContentStart(){return a`<div class=${i(t.contentStart)} .hidden=${!this.hasContentStart}><slot name=${h.contentStart} @slotchange=${this.handleContentStartSlotChange}></slot></div>`}renderTitle(){let{heading:e,headingLevel:o,description:n}=this;return e||n?a`<div class=${i(t.title)}>${P({class:t.heading,level:o,children:e})}${n?a`<div class=${i(t.description)}>${n}</div>`:null}</div>`:null}renderIcon(e){let{iconFlipRtl:o}=this,n=o==="both"||e==="start"?o==="start":o==="end",r=e==="start"?this.iconStart:this.iconEnd,g=e==="start"?t.iconStart:t.iconEnd;if(r)return s(r,a`<calcite-icon class=${i(g)} .flipRtl=${n} .icon=${r} scale=s></calcite-icon>`)}render(){let{collapsible:e,loading:o,open:n,label:r,heading:g,messages:p,description:z,menuFlipPlacements:I,menuPlacement:A,moveToItems:T,setPosition:M,setSize:F,dragDisabled:L}=this,j=n?p.collapse:p.expand,m=a`<header class=${i({[t.header]:!0,[t.headerHasText]:!!(g||z)})} id=${c.header}>${this.renderIcon("start")}${this.renderContentStart()}${this.renderLoaderStatusIcon()}${this.renderTitle()}</header>`,D=n?b.opened:b.closed,R=a`<div class=${i(t.headerContainer)}>${this.dragHandle?a`<calcite-sort-handle .disabled=${L} .label=${g||r} .moveToItems=${T} @calciteSortHandleBeforeClose=${this.handleSortHandleBeforeClose} @calciteSortHandleBeforeOpen=${this.handleSortHandleBeforeOpen} @calciteSortHandleClose=${this.handleSortHandleClose} @calciteSortHandleOpen=${this.handleSortHandleOpen} overlay-positioning=fixed .setPosition=${M} .setSize=${F} ${x(this.setSortHandleEl)}></calcite-sort-handle>`:null}${e?a`<button aria-controls=${c.content} aria-describedby=${c.header} .ariaExpanded=${e?n:null} class=${i(t.toggle)} id=${c.toggle} @click=${this.onHeaderClick} title=${j??u}>${m}<div class=${i(t.iconEndContainer)}>${this.renderIcon("end")}<calcite-icon class=${i(t.toggleIcon)} .icon=${D} scale=s></calcite-icon></div></button>`:this.iconEnd?a`<div>${m}<div class=${i(t.iconEndContainer)}>${this.renderIcon("end")}</div></div>`:m}<div aria-labelledby=${c.header} class=${i(t.controlContainer)} .hidden=${!this.hasControl}><slot name=${h.control} @slotchange=${this.controlSlotChangeHandler}></slot></div><calcite-action-menu .flipPlacements=${I??["top","bottom"]} .hidden=${!this.hasMenuActions} .label=${p.options} .overlayPositioning=${this.overlayPositioning} .placement=${A}><slot name=${h.headerMenuActions} @slotchange=${this.menuActionsSlotChangeHandler}></slot></calcite-action-menu>${this.renderActionsEnd()}</div>`;return B({disabled:this.disabled,children:a`<article aria-label=${r??u} .ariaBusy=${o} class=${i({[t.container]:!0})}>${R}<section aria-labelledby=${c.toggle} class=${i(t.content)} .hidden=${!n} id=${c.content}>${this.renderScrim()}</section></article>`})}};k("calcite-block",v);export{v as Block};
|
@@ -0,0 +1,4 @@
|
|
1
|
+
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
2
|
+
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
3
|
+
v3.0.0 */
|
4
|
+
import{G as i}from"./KVSCG5E3.js";var l="calcite-list",o="calcite-list-item-group",n="calcite-list-item";function r(e){let t=e.parentElement?.closest(n);t&&(t.open=!0,r(t))}function f(e){let t=e.assignedElements({flatten:!0}),s=t.filter(a=>a?.matches(o)).map(a=>Array.from(a.querySelectorAll(n))).flat(),c=t.filter(a=>a?.matches(n));return{lists:t.filter(a=>a?.matches(l)),items:s.concat(c)}}function u(e){let t=e.assignedElements({flatten:!0}).filter(s=>s.matches(n));t.forEach(s=>{s.setPosition=t.indexOf(s)+1,s.setSize=t.length})}function h(e,t=!1){if(!i())return 0;let s=t?"ancestor::calcite-list-item | ancestor::calcite-list-item-group":"ancestor::calcite-list-item";return document.evaluate(s,e,null,XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE,null).snapshotLength}function E(e){return e.tagName==="CALCITE-LIST-ITEM"}export{l as a,o as b,n as c,r as d,f as e,u as f,h as g,E as h};
|
@@ -0,0 +1,4 @@
|
|
1
|
+
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
2
|
+
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
3
|
+
v3.0.0 */
|
4
|
+
import{a as b,b as f}from"./LOZEGKG2.js";import{a as h,b as p}from"./QU33PBBI.js";import{l as m,z as a}from"./CMO3X257.js";import{a as u}from"./GN5CPLSJ.js";import"./I2OIH73C.js";import{J as n,e as d,f as c,v as o,w as r}from"./KVSCG5E3.js";var g=d`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:block}.container{display:flex;flex-wrap:wrap;gap:var(--calcite-card-group-space, var(--calcite-card-group-gap, var(--calcite-spacing-base)))}:host([hidden]){display:none}[hidden]{display:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}`,l=class extends r{constructor(){super(),this.items=[],this.slotRefEl=h(),this.disabled=!1,this.selectedItems=[],this.selectionMode="none",this.calciteCardGroupSelect=o({cancelable:!1}),this.listen("calciteInternalCardKeyEvent",this.calciteInternalCardKeyEventListener),this.listen("calciteCardSelect",this.calciteCardSelectListener)}static{this.properties={disabled:7,label:1,selectedItems:0,selectionMode:3}}static{this.styles=g}async setFocus(){await u(this),this.disabled||m(this.items[0])}load(){}willUpdate(e){e.has("selectionMode")&&this.hasUpdated&&this.updateItemsOnSelectionModeChange()}updated(){b(this)}loaded(){this.updateSelectedItems()}calciteInternalCardKeyEventListener(e){if(e.composedPath().includes(this.el)){let s=this.items.filter(t=>!t.disabled);switch(e.detail.key){case"ArrowRight":a(s,e.target,"next");break;case"ArrowLeft":a(s,e.target,"previous");break;case"Home":a(s,e.target,"first");break;case"End":a(s,e.target,"last");break}}}calciteCardSelectListener(e){e.composedPath().includes(this.el)&&!e.target.selectable&&this.setSelectedItems(!0,e.target)}updateItemsOnSelectionModeChange(){this.updateSlottedItems(this.slotRefEl.value),this.updateSelectedItems()}updateItemsOnSlotChange(e){this.updateSlottedItems(e.target),this.updateSelectedItems()}updateSlottedItems(e){this.items=e.assignedElements({flatten:!0}).filter(s=>s?.matches("calcite-card"))}updateSelectedItems(){this.items.forEach(e=>{e.selectionMode=this.selectionMode}),this.setSelectedItems(!1)}setSelectedItems(e,s){s&&this.items.forEach(t=>{let i=s===t;switch(this.selectionMode){case"multiple":i&&(t.selected=!t.selected);break;case"single":t.selected=i?!t.selected:!1;break;case"single-persist":t.selected=!!i;break}}),this.selectedItems=this.items.filter(t=>t.selected),e&&this.selectionMode!=="none"&&!this.disabled&&this.calciteCardGroupSelect.emit()}render(){let e=this.selectionMode==="none"||this.selectionMode==="multiple"?"group":"radiogroup";return f({disabled:this.disabled,children:c`<div .ariaLabel=${this.label} class="container" .role=${e}><slot @slotchange=${this.updateItemsOnSlotChange} ${p(this.slotRefEl)}></slot></div>`})}};n("calcite-card-group",l);export{l as CardGroup};
|
@@ -0,0 +1,5 @@
|
|
1
|
+
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
2
|
+
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
3
|
+
v3.0.0 */
|
4
|
+
import{a as re,l as ne}from"./CMO3X257.js";import{E as ae}from"./KVSCG5E3.js";var ue=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],B=ue.join(","),oe=typeof Element>"u",D=oe?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,K=!oe&&Element.prototype.getRootNode?function(a){var e;return a==null||(e=a.getRootNode)===null||e===void 0?void 0:e.call(a)}:function(a){return a?.ownerDocument},j=function a(e,t){var r;t===void 0&&(t=!0);var o=e==null||(r=e.getAttribute)===null||r===void 0?void 0:r.call(e,"inert"),s=o===""||o==="true",i=s||t&&e&&a(e.parentNode);return i},Te=function(e){var t,r=e==null||(t=e.getAttribute)===null||t===void 0?void 0:t.call(e,"contenteditable");return r===""||r==="true"},se=function(e,t,r){if(j(e))return[];var o=Array.prototype.slice.apply(e.querySelectorAll(B));return t&&D.call(e,B)&&o.unshift(e),o=o.filter(r),o},ce=function a(e,t,r){for(var o=[],s=Array.from(e);s.length;){var i=s.shift();if(!j(i,!1))if(i.tagName==="SLOT"){var b=i.assignedElements(),v=b.length?b:i.children,y=a(v,!0,r);r.flatten?o.push.apply(o,y):o.push({scopeParent:i,candidates:y})}else{var T=D.call(i,B);T&&r.filter(i)&&(t||!e.includes(i))&&o.push(i);var w=i.shadowRoot||typeof r.getShadowRoot=="function"&&r.getShadowRoot(i),S=!j(w,!1)&&(!r.shadowRootFilter||r.shadowRootFilter(i));if(w&&S){var I=a(w===!0?i.children:w.children,!0,r);r.flatten?o.push.apply(o,I):o.push({scopeParent:i,candidates:I})}else s.unshift.apply(s,i.children)}}return o},le=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},E=function(e){if(!e)throw new Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||Te(e))&&!le(e)?0:e.tabIndex},Ne=function(e,t){var r=E(e);return r<0&&t&&!le(e)?0:r},Fe=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},fe=function(e){return e.tagName==="INPUT"},Ee=function(e){return fe(e)&&e.type==="hidden"},Se=function(e){var t=e.tagName==="DETAILS"&&Array.prototype.slice.apply(e.children).some(function(r){return r.tagName==="SUMMARY"});return t},ke=function(e,t){for(var r=0;r<e.length;r++)if(e[r].checked&&e[r].form===t)return e[r]},De=function(e){if(!e.name)return!0;var t=e.form||K(e),r=function(b){return t.querySelectorAll('input[type="radio"][name="'+b+'"]')},o;if(typeof window<"u"&&typeof window.CSS<"u"&&typeof window.CSS.escape=="function")o=r(window.CSS.escape(e.name));else try{o=r(e.name)}catch(i){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",i.message),!1}var s=ke(o,e.form);return!s||s===e},Re=function(e){return fe(e)&&e.type==="radio"},Ie=function(e){return Re(e)&&!De(e)},Oe=function(e){var t,r=e&&K(e),o=(t=r)===null||t===void 0?void 0:t.host,s=!1;if(r&&r!==e){var i,b,v;for(s=!!((i=o)!==null&&i!==void 0&&(b=i.ownerDocument)!==null&&b!==void 0&&b.contains(o)||e!=null&&(v=e.ownerDocument)!==null&&v!==void 0&&v.contains(e));!s&&o;){var y,T,w;r=K(o),o=(y=r)===null||y===void 0?void 0:y.host,s=!!((T=o)!==null&&T!==void 0&&(w=T.ownerDocument)!==null&&w!==void 0&&w.contains(o))}}return s},ie=function(e){var t=e.getBoundingClientRect(),r=t.width,o=t.height;return r===0&&o===0},Ae=function(e,t){var r=t.displayCheck,o=t.getShadowRoot;if(getComputedStyle(e).visibility==="hidden")return!0;var s=D.call(e,"details>summary:first-of-type"),i=s?e.parentElement:e;if(D.call(i,"details:not([open]) *"))return!0;if(!r||r==="full"||r==="legacy-full"){if(typeof o=="function"){for(var b=e;e;){var v=e.parentElement,y=K(e);if(v&&!v.shadowRoot&&o(v)===!0)return ie(e);e.assignedSlot?e=e.assignedSlot:!v&&y!==e.ownerDocument?e=y.host:e=v}e=b}if(Oe(e))return!e.getClientRects().length;if(r!=="legacy-full")return!0}else if(r==="non-zero-area")return ie(e);return!1},Pe=function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if(t.tagName==="FIELDSET"&&t.disabled){for(var r=0;r<t.children.length;r++){var o=t.children.item(r);if(o.tagName==="LEGEND")return D.call(t,"fieldset[disabled] *")?!0:!o.contains(e)}return!0}t=t.parentElement}return!1},M=function(e,t){return!(t.disabled||j(t)||Ee(t)||Ae(t,e)||Se(t)||Pe(t))},U=function(e,t){return!(Ie(t)||E(t)<0||!M(e,t))},Ce=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return!!(isNaN(t)||t>=0)},xe=function a(e){var t=[],r=[];return e.forEach(function(o,s){var i=!!o.scopeParent,b=i?o.scopeParent:o,v=Ne(b,i),y=i?a(o.candidates):b;v===0?i?t.push.apply(t,y):t.push(b):r.push({documentOrder:s,tabIndex:v,item:o,isScope:i,content:y})}),r.sort(Fe).reduce(function(o,s){return s.isScope?o.push.apply(o,s.content):o.push(s.content),o},[]).concat(t)},de=function(e,t){t=t||{};var r;return t.getShadowRoot?r=ce([e],t.includeContainer,{filter:U.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:Ce}):r=se(e,t.includeContainer,U.bind(null,t)),xe(r)},ve=function(e,t){t=t||{};var r;return t.getShadowRoot?r=ce([e],t.includeContainer,{filter:M.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):r=se(e,t.includeContainer,M.bind(null,t)),r},R=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return D.call(e,B)===!1?!1:U(t,e)},Le=ue.concat("iframe").join(","),G=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return D.call(e,Le)===!1?!1:M(t,e)};function W(a,e){(e==null||e>a.length)&&(e=a.length);for(var t=0,r=Array(e);t<e;t++)r[t]=a[t];return r}function Be(a){if(Array.isArray(a))return W(a)}function Ke(a,e,t){return(e=Ve(e))in a?Object.defineProperty(a,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):a[e]=t,a}function je(a){if(typeof Symbol<"u"&&a[Symbol.iterator]!=null||a["@@iterator"]!=null)return Array.from(a)}function Me(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
5
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function be(a,e){var t=Object.keys(a);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(a);e&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(a,o).enumerable})),t.push.apply(t,r)}return t}function he(a){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?be(Object(t),!0).forEach(function(r){Ke(a,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(a,Object.getOwnPropertyDescriptors(t)):be(Object(t)).forEach(function(r){Object.defineProperty(a,r,Object.getOwnPropertyDescriptor(t,r))})}return a}function Ge(a){return Be(a)||je(a)||_e(a)||Me()}function qe(a,e){if(typeof a!="object"||!a)return a;var t=a[Symbol.toPrimitive];if(t!==void 0){var r=t.call(a,e||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(a)}function Ve(a){var e=qe(a,"string");return typeof e=="symbol"?e:e+""}function _e(a,e){if(a){if(typeof a=="string")return W(a,e);var t={}.toString.call(a).slice(8,-1);return t==="Object"&&a.constructor&&(t=a.constructor.name),t==="Map"||t==="Set"?Array.from(a):t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?W(a,e):void 0}}var pe={activateTrap:function(e,t){if(e.length>0){var r=e[e.length-1];r!==t&&r._setPausedState(!0)}var o=e.indexOf(t);o===-1||e.splice(o,1),e.push(t)},deactivateTrap:function(e,t){var r=e.indexOf(t);r!==-1&&e.splice(r,1),e.length>0&&!e[e.length-1]._isManuallyPaused()&&e[e.length-1]._setPausedState(!1)}},$e=function(e){return e.tagName&&e.tagName.toLowerCase()==="input"&&typeof e.select=="function"},Ue=function(e){return e?.key==="Escape"||e?.key==="Esc"||e?.keyCode===27},x=function(e){return e?.key==="Tab"||e?.keyCode===9},We=function(e){return x(e)&&!e.shiftKey},Ye=function(e){return x(e)&&e.shiftKey},ye=function(e){return setTimeout(e,0)},C=function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),o=1;o<t;o++)r[o-1]=arguments[o];return typeof e=="function"?e.apply(void 0,r):e},q=function(e){return e.target.shadowRoot&&typeof e.composedPath=="function"?e.composedPath()[0]:e.target},Ze=[],me=function(e,t){var r=t?.document||document,o=t?.trapStack||Ze,s=he({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isKeyForward:We,isKeyBackward:Ye},t),i={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,manuallyPaused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0},b,v=function(n,u,c){return n&&n[u]!==void 0?n[u]:s[c||u]},y=function(n,u){var c=typeof u?.composedPath=="function"?u.composedPath():void 0;return i.containerGroups.findIndex(function(f){var d=f.container,p=f.tabbableNodes;return d.contains(n)||c?.includes(d)||p.find(function(l){return l===n})})},T=function(n){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},c=u.hasFallback,f=c===void 0?!1:c,d=u.params,p=d===void 0?[]:d,l=s[n];if(typeof l=="function"&&(l=l.apply(void 0,Ge(p))),l===!0&&(l=void 0),!l){if(l===void 0||l===!1)return l;throw new Error("`".concat(n,"` was specified but was not a node, or did not return a node"))}var m=l;if(typeof l=="string"){try{m=r.querySelector(l)}catch(g){throw new Error("`".concat(n,'` appears to be an invalid selector; error="').concat(g.message,'"'))}if(!m&&!f)throw new Error("`".concat(n,"` as selector refers to no known node"))}return m},w=function(){var n=T("initialFocus",{hasFallback:!0});if(n===!1)return!1;if(n===void 0||n&&!G(n,s.tabbableOptions))if(y(r.activeElement)>=0)n=r.activeElement;else{var u=i.tabbableGroups[0],c=u&&u.firstTabbableNode;n=c||T("fallbackFocus")}else n===null&&(n=T("fallbackFocus"));if(!n)throw new Error("Your focus-trap needs to have at least one focusable element");return n},S=function(){if(i.containerGroups=i.containers.map(function(n){var u=de(n,s.tabbableOptions),c=ve(n,s.tabbableOptions),f=u.length>0?u[0]:void 0,d=u.length>0?u[u.length-1]:void 0,p=c.find(function(g){return R(g)}),l=c.slice().reverse().find(function(g){return R(g)}),m=!!u.find(function(g){return E(g)>0});return{container:n,tabbableNodes:u,focusableNodes:c,posTabIndexesFound:m,firstTabbableNode:f,lastTabbableNode:d,firstDomTabbableNode:p,lastDomTabbableNode:l,nextTabbableNode:function(k){var A=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,F=u.indexOf(k);return F<0?A?c.slice(c.indexOf(k)+1).find(function(P){return R(P)}):c.slice(0,c.indexOf(k)).reverse().find(function(P){return R(P)}):u[F+(A?1:-1)]}}}),i.tabbableGroups=i.containerGroups.filter(function(n){return n.tabbableNodes.length>0}),i.tabbableGroups.length<=0&&!T("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(i.containerGroups.find(function(n){return n.posTabIndexesFound})&&i.containerGroups.length>1)throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},I=function(n){var u=n.activeElement;if(u)return u.shadowRoot&&u.shadowRoot.activeElement!==null?I(u.shadowRoot):u},N=function(n){if(n!==!1&&n!==I(document)){if(!n||!n.focus){N(w());return}n.focus({preventScroll:!!s.preventScroll}),i.mostRecentlyFocusedNode=n,$e(n)&&n.select()}},Y=function(n){var u=T("setReturnFocus",{params:[n]});return u||(u===!1?!1:n)},Z=function(n){var u=n.target,c=n.event,f=n.isBackward,d=f===void 0?!1:f;u=u||q(c),S();var p=null;if(i.tabbableGroups.length>0){var l=y(u,c),m=l>=0?i.containerGroups[l]:void 0;if(l<0)d?p=i.tabbableGroups[i.tabbableGroups.length-1].lastTabbableNode:p=i.tabbableGroups[0].firstTabbableNode;else if(d){var g=i.tabbableGroups.findIndex(function(_){var $=_.firstTabbableNode;return u===$});if(g<0&&(m.container===u||G(u,s.tabbableOptions)&&!R(u,s.tabbableOptions)&&!m.nextTabbableNode(u,!1))&&(g=l),g>=0){var k=g===0?i.tabbableGroups.length-1:g-1,A=i.tabbableGroups[k];p=E(u)>=0?A.lastTabbableNode:A.lastDomTabbableNode}else x(c)||(p=m.nextTabbableNode(u,!1))}else{var F=i.tabbableGroups.findIndex(function(_){var $=_.lastTabbableNode;return u===$});if(F<0&&(m.container===u||G(u,s.tabbableOptions)&&!R(u,s.tabbableOptions)&&!m.nextTabbableNode(u))&&(F=l),F>=0){var P=F===i.tabbableGroups.length-1?0:F+1,te=i.tabbableGroups[P];p=E(u)>=0?te.firstTabbableNode:te.firstDomTabbableNode}else x(c)||(p=m.nextTabbableNode(u))}}else p=T("fallbackFocus");return p},L=function(n){var u=q(n);if(!(y(u,n)>=0)){if(C(s.clickOutsideDeactivates,n)){b.deactivate({returnFocus:s.returnFocusOnDeactivate});return}C(s.allowOutsideClick,n)||n.preventDefault()}},z=function(n){var u=q(n),c=y(u,n)>=0;if(c||u instanceof Document)c&&(i.mostRecentlyFocusedNode=u);else{n.stopImmediatePropagation();var f,d=!0;if(i.mostRecentlyFocusedNode)if(E(i.mostRecentlyFocusedNode)>0){var p=y(i.mostRecentlyFocusedNode),l=i.containerGroups[p].tabbableNodes;if(l.length>0){var m=l.findIndex(function(g){return g===i.mostRecentlyFocusedNode});m>=0&&(s.isKeyForward(i.recentNavEvent)?m+1<l.length&&(f=l[m+1],d=!1):m-1>=0&&(f=l[m-1],d=!1))}}else i.containerGroups.some(function(g){return g.tabbableNodes.some(function(k){return E(k)>0})})||(d=!1);else d=!1;d&&(f=Z({target:i.mostRecentlyFocusedNode,isBackward:s.isKeyBackward(i.recentNavEvent)})),N(f||i.mostRecentlyFocusedNode||w())}i.recentNavEvent=void 0},ge=function(n){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;i.recentNavEvent=n;var c=Z({event:n,isBackward:u});c&&(x(n)&&n.preventDefault(),N(c))},X=function(n){(s.isKeyForward(n)||s.isKeyBackward(n))&&ge(n,s.isKeyBackward(n))},H=function(n){Ue(n)&&C(s.escapeDeactivates,n)!==!1&&(n.preventDefault(),b.deactivate())},J=function(n){var u=q(n);y(u,n)>=0||C(s.clickOutsideDeactivates,n)||C(s.allowOutsideClick,n)||(n.preventDefault(),n.stopImmediatePropagation())},Q=function(){if(i.active)return pe.activateTrap(o,b),i.delayInitialFocusTimer=s.delayInitialFocus?ye(function(){N(w())}):N(w()),r.addEventListener("focusin",z,!0),r.addEventListener("mousedown",L,{capture:!0,passive:!1}),r.addEventListener("touchstart",L,{capture:!0,passive:!1}),r.addEventListener("click",J,{capture:!0,passive:!1}),r.addEventListener("keydown",X,{capture:!0,passive:!1}),r.addEventListener("keydown",H),b},ee=function(){if(i.active)return r.removeEventListener("focusin",z,!0),r.removeEventListener("mousedown",L,!0),r.removeEventListener("touchstart",L,!0),r.removeEventListener("click",J,!0),r.removeEventListener("keydown",X,!0),r.removeEventListener("keydown",H),b},we=function(n){var u=n.some(function(c){var f=Array.from(c.removedNodes);return f.some(function(d){return d===i.mostRecentlyFocusedNode})});u&&N(w())},V=typeof window<"u"&&"MutationObserver"in window?new MutationObserver(we):void 0,O=function(){V&&(V.disconnect(),i.active&&!i.paused&&i.containers.map(function(n){V.observe(n,{subtree:!0,childList:!0})}))};return b={get active(){return i.active},get paused(){return i.paused},activate:function(n){if(i.active)return this;var u=v(n,"onActivate"),c=v(n,"onPostActivate"),f=v(n,"checkCanFocusTrap");f||S(),i.active=!0,i.paused=!1,i.nodeFocusedBeforeActivation=r.activeElement,u?.();var d=function(){f&&S(),Q(),O(),c?.()};return f?(f(i.containers.concat()).then(d,d),this):(d(),this)},deactivate:function(n){if(!i.active)return this;var u=he({onDeactivate:s.onDeactivate,onPostDeactivate:s.onPostDeactivate,checkCanReturnFocus:s.checkCanReturnFocus},n);clearTimeout(i.delayInitialFocusTimer),i.delayInitialFocusTimer=void 0,ee(),i.active=!1,i.paused=!1,O(),pe.deactivateTrap(o,b);var c=v(u,"onDeactivate"),f=v(u,"onPostDeactivate"),d=v(u,"checkCanReturnFocus"),p=v(u,"returnFocus","returnFocusOnDeactivate");c?.();var l=function(){ye(function(){p&&N(Y(i.nodeFocusedBeforeActivation)),f?.()})};return p&&d?(d(Y(i.nodeFocusedBeforeActivation)).then(l,l),this):(l(),this)},pause:function(n){return i.active?(i.manuallyPaused=!0,this._setPausedState(!0,n)):this},unpause:function(n){return i.active?(i.manuallyPaused=!1,o[o.length-1]!==this?this:this._setPausedState(!1,n)):this},updateContainerElements:function(n){var u=[].concat(n).filter(Boolean);return i.containers=u.map(function(c){return typeof c=="string"?r.querySelector(c):c}),i.active&&S(),O(),this}},Object.defineProperties(b,{_isManuallyPaused:{value:function(){return i.manuallyPaused}},_setPausedState:{value:function(n,u){if(i.paused===n)return this;if(i.paused=n,n){var c=v(u,"onPause"),f=v(u,"onPostPause");c?.(),ee(),O(),f?.()}else{var d=v(u,"onUnpause"),p=v(u,"onPostUnpause");d?.(),S(),Q(),O(),p?.()}return this}}}),b.updateContainerElements(e),b};function at(a,e){let{el:t}=a,r=e?.focusTrapEl||t;r&&(a.focusTrap=me(r,ze(t,e?.focusTrapOptions)))}function ze(a,e){return{clickOutsideDeactivates:!0,fallbackFocus:e?.fallbackFocus||a,setReturnFocus:t=>(ne(t),!1),...e,document:a.ownerDocument,tabbableOptions:re,trapStack:ae}}function rt(a,e){(a.focusTrapDisabledOverride?!a.focusTrapDisabledOverride():!a.focusTrapDisabled)&&a.focusTrap?.activate(e)}function nt(a,e){a.focusTrap?.deactivate(e)}export{me as a,at as b,ze as c,rt as d,nt as e};
|
@@ -0,0 +1,4 @@
|
|
1
|
+
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
2
|
+
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
3
|
+
v3.0.0 */
|
4
|
+
function ce(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,o)}return n}function L(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?ce(Object(n),!0).forEach(function(o){Xe(e,o,n[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ce(Object(n)).forEach(function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(n,o))})}return e}function Mt(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Mt=function(t){return typeof t}:Mt=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Mt(e)}function Xe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function $(){return $=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},$.apply(this,arguments)}function Ye(e,t){if(e==null)return{};var n={},o=Object.keys(e),i,r;for(r=0;r<o.length;r++)i=o[r],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}function Be(e,t){if(e==null)return{};var n=Ye(e,t),o,i;if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(i=0;i<r.length;i++)o=r[i],!(t.indexOf(o)>=0)&&Object.prototype.propertyIsEnumerable.call(e,o)&&(n[o]=e[o])}return n}var Ge="1.15.6";function U(e){if(typeof window<"u"&&window.navigator)return!!navigator.userAgent.match(e)}var q=U(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),It=U(/Edge/i),fe=U(/firefox/i),yt=U(/safari/i)&&!U(/chrome/i)&&!U(/android/i),ie=U(/iP(ad|od|hone)/i),Ee=U(/chrome/i)&&U(/android/i),we={capture:!1,passive:!1};function v(e,t,n){e.addEventListener(t,n,!q&&we)}function m(e,t,n){e.removeEventListener(t,n,!q&&we)}function Yt(e,t){if(t){if(t[0]===">"&&(t=t.substring(1)),e)try{if(e.matches)return e.matches(t);if(e.msMatchesSelector)return e.msMatchesSelector(t);if(e.webkitMatchesSelector)return e.webkitMatchesSelector(t)}catch{return!1}return!1}}function ye(e){return e.host&&e!==document&&e.host.nodeType?e.host:e.parentNode}function H(e,t,n,o){if(e){n=n||document;do{if(t!=null&&(t[0]===">"?e.parentNode===n&&Yt(e,t):Yt(e,t))||o&&e===n)return e;if(e===n)break}while(e=ye(e))}return null}var de=/\s+/g;function R(e,t,n){if(e&&t)if(e.classList)e.classList[n?"add":"remove"](t);else{var o=(" "+e.className+" ").replace(de," ").replace(" "+t+" "," ");e.className=(o+(n?" "+t:"")).replace(de," ")}}function h(e,t,n){var o=e&&e.style;if(o){if(n===void 0)return document.defaultView&&document.defaultView.getComputedStyle?n=document.defaultView.getComputedStyle(e,""):e.currentStyle&&(n=e.currentStyle),t===void 0?n:n[t];!(t in o)&&t.indexOf("webkit")===-1&&(t="-webkit-"+t),o[t]=n+(typeof n=="string"?"":"px")}}function ft(e,t){var n="";if(typeof e=="string")n=e;else do{var o=h(e,"transform");o&&o!=="none"&&(n=o+" "+n)}while(!t&&(e=e.parentNode));var i=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return i&&new i(n)}function De(e,t,n){if(e){var o=e.getElementsByTagName(t),i=0,r=o.length;if(n)for(;i<r;i++)n(o[i],i);return o}return[]}function K(){var e=document.scrollingElement;return e||document.documentElement}function I(e,t,n,o,i){if(!(!e.getBoundingClientRect&&e!==window)){var r,a,l,s,u,d,f;if(e!==window&&e.parentNode&&e!==K()?(r=e.getBoundingClientRect(),a=r.top,l=r.left,s=r.bottom,u=r.right,d=r.height,f=r.width):(a=0,l=0,s=window.innerHeight,u=window.innerWidth,d=window.innerHeight,f=window.innerWidth),(t||n)&&e!==window&&(i=i||e.parentNode,!q))do if(i&&i.getBoundingClientRect&&(h(i,"transform")!=="none"||n&&h(i,"position")!=="static")){var b=i.getBoundingClientRect();a-=b.top+parseInt(h(i,"border-top-width")),l-=b.left+parseInt(h(i,"border-left-width")),s=a+r.height,u=l+r.width;break}while(i=i.parentNode);if(o&&e!==window){var y=ft(i||e),E=y&&y.a,w=y&&y.d;y&&(a/=w,l/=E,f/=E,d/=w,s=a+d,u=l+f)}return{top:a,left:l,bottom:s,right:u,width:f,height:d}}}function he(e,t,n){for(var o=tt(e,!0),i=I(e)[t];o;){var r=I(o)[n],a=void 0;if(n==="top"||n==="left"?a=i>=r:a=i<=r,!a)return o;if(o===K())break;o=tt(o,!1)}return!1}function dt(e,t,n,o){for(var i=0,r=0,a=e.children;r<a.length;){if(a[r].style.display!=="none"&&a[r]!==p.ghost&&(o||a[r]!==p.dragged)&&H(a[r],n.draggable,e,!1)){if(i===t)return a[r];i++}r++}return null}function re(e,t){for(var n=e.lastElementChild;n&&(n===p.ghost||h(n,"display")==="none"||t&&!Yt(n,t));)n=n.previousElementSibling;return n||null}function X(e,t){var n=0;if(!e||!e.parentNode)return-1;for(;e=e.previousElementSibling;)e.nodeName.toUpperCase()!=="TEMPLATE"&&e!==p.clone&&(!t||Yt(e,t))&&n++;return n}function pe(e){var t=0,n=0,o=K();if(e)do{var i=ft(e),r=i.a,a=i.d;t+=e.scrollLeft*r,n+=e.scrollTop*a}while(e!==o&&(e=e.parentNode));return[t,n]}function He(e,t){for(var n in e)if(e.hasOwnProperty(n)){for(var o in t)if(t.hasOwnProperty(o)&&t[o]===e[n][o])return Number(n)}return-1}function tt(e,t){if(!e||!e.getBoundingClientRect)return K();var n=e,o=!1;do if(n.clientWidth<n.scrollWidth||n.clientHeight<n.scrollHeight){var i=h(n);if(n.clientWidth<n.scrollWidth&&(i.overflowX=="auto"||i.overflowX=="scroll")||n.clientHeight<n.scrollHeight&&(i.overflowY=="auto"||i.overflowY=="scroll")){if(!n.getBoundingClientRect||n===document.body)return K();if(o||t)return n;o=!0}}while(n=n.parentNode);return K()}function We(e,t){if(e&&t)for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}function jt(e,t){return Math.round(e.top)===Math.round(t.top)&&Math.round(e.left)===Math.round(t.left)&&Math.round(e.height)===Math.round(t.height)&&Math.round(e.width)===Math.round(t.width)}var Dt;function Se(e,t){return function(){if(!Dt){var n=arguments,o=this;n.length===1?e.call(o,n[0]):e.apply(o,n),Dt=setTimeout(function(){Dt=void 0},t)}}}function Ke(){clearTimeout(Dt),Dt=void 0}function _e(e,t,n){e.scrollLeft+=t,e.scrollTop+=n}function Ce(e){var t=window.Polymer,n=window.jQuery||window.Zepto;return t&&t.dom?t.dom(e).cloneNode(!0):n?n(e).clone(!0)[0]:e.cloneNode(!0)}function Ie(e,t,n){var o={};return Array.from(e.children).forEach(function(i){var r,a,l,s;if(!(!H(i,t.draggable,e,!1)||i.animated||i===n)){var u=I(i);o.left=Math.min((r=o.left)!==null&&r!==void 0?r:1/0,u.left),o.top=Math.min((a=o.top)!==null&&a!==void 0?a:1/0,u.top),o.right=Math.max((l=o.right)!==null&&l!==void 0?l:-1/0,u.right),o.bottom=Math.max((s=o.bottom)!==null&&s!==void 0?s:-1/0,u.bottom)}}),o.width=o.right-o.left,o.height=o.bottom-o.top,o.x=o.left,o.y=o.top,o}var P="Sortable"+new Date().getTime();function Le(){var e=[],t;return{captureAnimationState:function(){if(e=[],!!this.options.animation){var o=[].slice.call(this.el.children);o.forEach(function(i){if(!(h(i,"display")==="none"||i===p.ghost)){e.push({target:i,rect:I(i)});var r=L({},e[e.length-1].rect);if(i.thisAnimationDuration){var a=ft(i,!0);a&&(r.top-=a.f,r.left-=a.e)}i.fromRect=r}})}},addAnimationState:function(o){e.push(o)},removeAnimationState:function(o){e.splice(He(e,{target:o}),1)},animateAll:function(o){var i=this;if(!this.options.animation){clearTimeout(t),typeof o=="function"&&o();return}var r=!1,a=0;e.forEach(function(l){var s=0,u=l.target,d=u.fromRect,f=I(u),b=u.prevFromRect,y=u.prevToRect,E=l.rect,w=ft(u,!0);w&&(f.top-=w.f,f.left-=w.e),u.toRect=f,u.thisAnimationDuration&&jt(b,f)&&!jt(d,f)&&(E.top-f.top)/(E.left-f.left)===(d.top-f.top)/(d.left-f.left)&&(s=ze(E,b,y,i.options)),jt(f,d)||(u.prevFromRect=d,u.prevToRect=f,s||(s=i.options.animation),i.animate(u,E,f,s)),s&&(r=!0,a=Math.max(a,s),clearTimeout(u.animationResetTimer),u.animationResetTimer=setTimeout(function(){u.animationTime=0,u.prevFromRect=null,u.fromRect=null,u.prevToRect=null,u.thisAnimationDuration=null},s),u.thisAnimationDuration=s)}),clearTimeout(t),r?t=setTimeout(function(){typeof o=="function"&&o()},a):typeof o=="function"&&o(),e=[]},animate:function(o,i,r,a){if(a){h(o,"transition",""),h(o,"transform","");var l=ft(this.el),s=l&&l.a,u=l&&l.d,d=(i.left-r.left)/(s||1),f=(i.top-r.top)/(u||1);o.animatingX=!!d,o.animatingY=!!f,h(o,"transform","translate3d("+d+"px,"+f+"px,0)"),this.forRepaintDummy=je(o),h(o,"transition","transform "+a+"ms"+(this.options.easing?" "+this.options.easing:"")),h(o,"transform","translate3d(0,0,0)"),typeof o.animated=="number"&&clearTimeout(o.animated),o.animated=setTimeout(function(){h(o,"transition",""),h(o,"transform",""),o.animated=!1,o.animatingX=!1,o.animatingY=!1},a)}}}}function je(e){return e.offsetWidth}function ze(e,t,n,o){return Math.sqrt(Math.pow(t.top-e.top,2)+Math.pow(t.left-e.left,2))/Math.sqrt(Math.pow(t.top-n.top,2)+Math.pow(t.left-n.left,2))*o.animation}var lt=[],zt={initializeByDefault:!0},Ot={mount:function(t){for(var n in zt)zt.hasOwnProperty(n)&&!(n in t)&&(t[n]=zt[n]);lt.forEach(function(o){if(o.pluginName===t.pluginName)throw"Sortable: Cannot mount plugin ".concat(t.pluginName," more than once")}),lt.push(t)},pluginEvent:function(t,n,o){var i=this;this.eventCanceled=!1,o.cancel=function(){i.eventCanceled=!0};var r=t+"Global";lt.forEach(function(a){n[a.pluginName]&&(n[a.pluginName][r]&&n[a.pluginName][r](L({sortable:n},o)),n.options[a.pluginName]&&n[a.pluginName][t]&&n[a.pluginName][t](L({sortable:n},o)))})},initializePlugins:function(t,n,o,i){lt.forEach(function(l){var s=l.pluginName;if(!(!t.options[s]&&!l.initializeByDefault)){var u=new l(t,n,t.options);u.sortable=t,u.options=t.options,t[s]=u,$(o,u.defaults)}});for(var r in t.options)if(t.options.hasOwnProperty(r)){var a=this.modifyOption(t,r,t.options[r]);typeof a<"u"&&(t.options[r]=a)}},getEventProperties:function(t,n){var o={};return lt.forEach(function(i){typeof i.eventProperties=="function"&&$(o,i.eventProperties.call(n[i.pluginName],t))}),o},modifyOption:function(t,n,o){var i;return lt.forEach(function(r){t[r.pluginName]&&r.optionListeners&&typeof r.optionListeners[n]=="function"&&(i=r.optionListeners[n].call(t[r.pluginName],o))}),i}};function Ue(e){var t=e.sortable,n=e.rootEl,o=e.name,i=e.targetEl,r=e.cloneEl,a=e.toEl,l=e.fromEl,s=e.oldIndex,u=e.newIndex,d=e.oldDraggableIndex,f=e.newDraggableIndex,b=e.originalEvent,y=e.putSortable,E=e.extraEventProperties;if(t=t||n&&n[P],!!t){var w,Y=t.options,j="on"+o.charAt(0).toUpperCase()+o.substr(1);window.CustomEvent&&!q&&!It?w=new CustomEvent(o,{bubbles:!0,cancelable:!0}):(w=document.createEvent("Event"),w.initEvent(o,!0,!0)),w.to=a||n,w.from=l||n,w.item=i||n,w.clone=r,w.oldIndex=s,w.newIndex=u,w.oldDraggableIndex=d,w.newDraggableIndex=f,w.originalEvent=b,w.pullMode=y?y.lastPutMode:void 0;var A=L(L({},E),Ot.getEventProperties(o,t));for(var B in A)w[B]=A[B];n&&n.dispatchEvent(w),Y[j]&&Y[j].call(t,w)}}var $e=["evt"],N=function(t,n){var o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i=o.evt,r=Be(o,$e);Ot.pluginEvent.bind(p)(t,n,L({dragEl:c,parentEl:_,ghostEl:g,rootEl:D,nextEl:at,lastDownEl:Ft,cloneEl:S,cloneHidden:J,dragStarted:bt,putSortable:O,activeSortable:p.active,originalEvent:i,oldIndex:ct,oldDraggableIndex:St,newIndex:k,newDraggableIndex:Q,hideGhostForTarget:xe,unhideGhostForTarget:Ne,cloneNowHidden:function(){J=!0},cloneNowShown:function(){J=!1},dispatchSortableEvent:function(l){x({sortable:n,name:l,originalEvent:i})}},r))};function x(e){Ue(L({putSortable:O,cloneEl:S,targetEl:c,rootEl:D,oldIndex:ct,oldDraggableIndex:St,newIndex:k,newDraggableIndex:Q},e))}var c,_,g,D,at,Ft,S,J,ct,k,St,Q,At,O,ut=!1,Bt=!1,Gt=[],it,G,Ut,$t,ge,me,bt,st,_t,Ct=!1,xt=!1,Rt,T,qt=[],te=!1,Ht=[],Kt=typeof document<"u",Nt=ie,ve=It||q?"cssFloat":"float",qe=Kt&&!Ee&&!ie&&"draggable"in document.createElement("div"),Oe=function(){if(Kt){if(q)return!1;var e=document.createElement("x");return e.style.cssText="pointer-events:auto",e.style.pointerEvents==="auto"}}(),Te=function(t,n){var o=h(t),i=parseInt(o.width)-parseInt(o.paddingLeft)-parseInt(o.paddingRight)-parseInt(o.borderLeftWidth)-parseInt(o.borderRightWidth),r=dt(t,0,n),a=dt(t,1,n),l=r&&h(r),s=a&&h(a),u=l&&parseInt(l.marginLeft)+parseInt(l.marginRight)+I(r).width,d=s&&parseInt(s.marginLeft)+parseInt(s.marginRight)+I(a).width;if(o.display==="flex")return o.flexDirection==="column"||o.flexDirection==="column-reverse"?"vertical":"horizontal";if(o.display==="grid")return o.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(r&&l.float&&l.float!=="none"){var f=l.float==="left"?"left":"right";return a&&(s.clear==="both"||s.clear===f)?"vertical":"horizontal"}return r&&(l.display==="block"||l.display==="flex"||l.display==="table"||l.display==="grid"||u>=i&&o[ve]==="none"||a&&o[ve]==="none"&&u+d>i)?"vertical":"horizontal"},Ve=function(t,n,o){var i=o?t.left:t.top,r=o?t.right:t.bottom,a=o?t.width:t.height,l=o?n.left:n.top,s=o?n.right:n.bottom,u=o?n.width:n.height;return i===l||r===s||i+a/2===l+u/2},Ze=function(t,n){var o;return Gt.some(function(i){var r=i[P].options.emptyInsertThreshold;if(!(!r||re(i))){var a=I(i),l=t>=a.left-r&&t<=a.right+r,s=n>=a.top-r&&n<=a.bottom+r;if(l&&s)return o=i}}),o},Ae=function(t){function n(r,a){return function(l,s,u,d){var f=l.options.group.name&&s.options.group.name&&l.options.group.name===s.options.group.name;if(r==null&&(a||f))return!0;if(r==null||r===!1)return!1;if(a&&r==="clone")return r;if(typeof r=="function")return n(r(l,s,u,d),a)(l,s,u,d);var b=(a?l:s).options.group.name;return r===!0||typeof r=="string"&&r===b||r.join&&r.indexOf(b)>-1}}var o={},i=t.group;(!i||Mt(i)!="object")&&(i={name:i}),o.name=i.name,o.checkPull=n(i.pull,!0),o.checkPut=n(i.put),o.revertClone=i.revertClone,t.group=o},xe=function(){!Oe&&g&&h(g,"display","none")},Ne=function(){!Oe&&g&&h(g,"display","")};Kt&&!Ee&&document.addEventListener("click",function(e){if(Bt)return e.preventDefault(),e.stopPropagation&&e.stopPropagation(),e.stopImmediatePropagation&&e.stopImmediatePropagation(),Bt=!1,!1},!0);var rt=function(t){if(c){t=t.touches?t.touches[0]:t;var n=Ze(t.clientX,t.clientY);if(n){var o={};for(var i in t)t.hasOwnProperty(i)&&(o[i]=t[i]);o.target=o.rootEl=n,o.preventDefault=void 0,o.stopPropagation=void 0,n[P]._onDragOver(o)}}},Qe=function(t){c&&c.parentNode[P]._isOutsideThisEl(t.target)};function p(e,t){if(!(e&&e.nodeType&&e.nodeType===1))throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(e));this.el=e,this.options=t=$({},t),e[P]=this;var n={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(e.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return Te(e,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(a,l){a.setData("Text",l.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:p.supportPointer!==!1&&"PointerEvent"in window&&(!yt||ie),emptyInsertThreshold:5};Ot.initializePlugins(this,e,n);for(var o in n)!(o in t)&&(t[o]=n[o]);Ae(t);for(var i in this)i.charAt(0)==="_"&&typeof this[i]=="function"&&(this[i]=this[i].bind(this));this.nativeDraggable=t.forceFallback?!1:qe,this.nativeDraggable&&(this.options.touchStartThreshold=1),t.supportPointer?v(e,"pointerdown",this._onTapStart):(v(e,"mousedown",this._onTapStart),v(e,"touchstart",this._onTapStart)),this.nativeDraggable&&(v(e,"dragover",this),v(e,"dragenter",this)),Gt.push(this.el),t.store&&t.store.get&&this.sort(t.store.get(this)||[]),$(this,Le())}p.prototype={constructor:p,_isOutsideThisEl:function(t){!this.el.contains(t)&&t!==this.el&&(st=null)},_getDirection:function(t,n){return typeof this.options.direction=="function"?this.options.direction.call(this,t,n,c):this.options.direction},_onTapStart:function(t){if(t.cancelable){var n=this,o=this.el,i=this.options,r=i.preventOnFilter,a=t.type,l=t.touches&&t.touches[0]||t.pointerType&&t.pointerType==="touch"&&t,s=(l||t).target,u=t.target.shadowRoot&&(t.path&&t.path[0]||t.composedPath&&t.composedPath()[0])||s,d=i.filter;if(ln(o),!c&&!(/mousedown|pointerdown/.test(a)&&t.button!==0||i.disabled)&&!u.isContentEditable&&!(!this.nativeDraggable&&yt&&s&&s.tagName.toUpperCase()==="SELECT")&&(s=H(s,i.draggable,o,!1),!(s&&s.animated)&&Ft!==s)){if(ct=X(s),St=X(s,i.draggable),typeof d=="function"){if(d.call(this,t,s,this)){x({sortable:n,rootEl:u,name:"filter",targetEl:s,toEl:o,fromEl:o}),N("filter",n,{evt:t}),r&&t.preventDefault();return}}else if(d&&(d=d.split(",").some(function(f){if(f=H(u,f.trim(),o,!1),f)return x({sortable:n,rootEl:f,name:"filter",targetEl:s,fromEl:o,toEl:o}),N("filter",n,{evt:t}),!0}),d)){r&&t.preventDefault();return}i.handle&&!H(u,i.handle,o,!1)||this._prepareDragStart(t,l,s)}}},_prepareDragStart:function(t,n,o){var i=this,r=i.el,a=i.options,l=r.ownerDocument,s;if(o&&!c&&o.parentNode===r){var u=I(o);if(D=r,c=o,_=c.parentNode,at=c.nextSibling,Ft=o,At=a.group,p.dragged=c,it={target:c,clientX:(n||t).clientX,clientY:(n||t).clientY},ge=it.clientX-u.left,me=it.clientY-u.top,this._lastX=(n||t).clientX,this._lastY=(n||t).clientY,c.style["will-change"]="all",s=function(){if(N("delayEnded",i,{evt:t}),p.eventCanceled){i._onDrop();return}i._disableDelayedDragEvents(),!fe&&i.nativeDraggable&&(c.draggable=!0),i._triggerDragStart(t,n),x({sortable:i,name:"choose",originalEvent:t}),R(c,a.chosenClass,!0)},a.ignore.split(",").forEach(function(d){De(c,d.trim(),Vt)}),v(l,"dragover",rt),v(l,"mousemove",rt),v(l,"touchmove",rt),a.supportPointer?(v(l,"pointerup",i._onDrop),!this.nativeDraggable&&v(l,"pointercancel",i._onDrop)):(v(l,"mouseup",i._onDrop),v(l,"touchend",i._onDrop),v(l,"touchcancel",i._onDrop)),fe&&this.nativeDraggable&&(this.options.touchStartThreshold=4,c.draggable=!0),N("delayStart",this,{evt:t}),a.delay&&(!a.delayOnTouchOnly||n)&&(!this.nativeDraggable||!(It||q))){if(p.eventCanceled){this._onDrop();return}a.supportPointer?(v(l,"pointerup",i._disableDelayedDrag),v(l,"pointercancel",i._disableDelayedDrag)):(v(l,"mouseup",i._disableDelayedDrag),v(l,"touchend",i._disableDelayedDrag),v(l,"touchcancel",i._disableDelayedDrag)),v(l,"mousemove",i._delayedDragTouchMoveHandler),v(l,"touchmove",i._delayedDragTouchMoveHandler),a.supportPointer&&v(l,"pointermove",i._delayedDragTouchMoveHandler),i._dragStartTimer=setTimeout(s,a.delay)}else s()}},_delayedDragTouchMoveHandler:function(t){var n=t.touches?t.touches[0]:t;Math.max(Math.abs(n.clientX-this._lastX),Math.abs(n.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){c&&Vt(c),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var t=this.el.ownerDocument;m(t,"mouseup",this._disableDelayedDrag),m(t,"touchend",this._disableDelayedDrag),m(t,"touchcancel",this._disableDelayedDrag),m(t,"pointerup",this._disableDelayedDrag),m(t,"pointercancel",this._disableDelayedDrag),m(t,"mousemove",this._delayedDragTouchMoveHandler),m(t,"touchmove",this._delayedDragTouchMoveHandler),m(t,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(t,n){n=n||t.pointerType=="touch"&&t,!this.nativeDraggable||n?this.options.supportPointer?v(document,"pointermove",this._onTouchMove):n?v(document,"touchmove",this._onTouchMove):v(document,"mousemove",this._onTouchMove):(v(c,"dragend",this),v(D,"dragstart",this._onDragStart));try{document.selection?kt(function(){document.selection.empty()}):window.getSelection().removeAllRanges()}catch{}},_dragStarted:function(t,n){if(ut=!1,D&&c){N("dragStarted",this,{evt:n}),this.nativeDraggable&&v(document,"dragover",Qe);var o=this.options;!t&&R(c,o.dragClass,!1),R(c,o.ghostClass,!0),p.active=this,t&&this._appendGhost(),x({sortable:this,name:"start",originalEvent:n})}else this._nulling()},_emulateDragOver:function(){if(G){this._lastX=G.clientX,this._lastY=G.clientY,xe();for(var t=document.elementFromPoint(G.clientX,G.clientY),n=t;t&&t.shadowRoot&&(t=t.shadowRoot.elementFromPoint(G.clientX,G.clientY),t!==n);)n=t;if(c.parentNode[P]._isOutsideThisEl(t),n)do{if(n[P]){var o=void 0;if(o=n[P]._onDragOver({clientX:G.clientX,clientY:G.clientY,target:t,rootEl:n}),o&&!this.options.dragoverBubble)break}t=n}while(n=ye(n));Ne()}},_onTouchMove:function(t){if(it){var n=this.options,o=n.fallbackTolerance,i=n.fallbackOffset,r=t.touches?t.touches[0]:t,a=g&&ft(g,!0),l=g&&a&&a.a,s=g&&a&&a.d,u=Nt&&T&&pe(T),d=(r.clientX-it.clientX+i.x)/(l||1)+(u?u[0]-qt[0]:0)/(l||1),f=(r.clientY-it.clientY+i.y)/(s||1)+(u?u[1]-qt[1]:0)/(s||1);if(!p.active&&!ut){if(o&&Math.max(Math.abs(r.clientX-this._lastX),Math.abs(r.clientY-this._lastY))<o)return;this._onDragStart(t,!0)}if(g){a?(a.e+=d-(Ut||0),a.f+=f-($t||0)):a={a:1,b:0,c:0,d:1,e:d,f};var b="matrix(".concat(a.a,",").concat(a.b,",").concat(a.c,",").concat(a.d,",").concat(a.e,",").concat(a.f,")");h(g,"webkitTransform",b),h(g,"mozTransform",b),h(g,"msTransform",b),h(g,"transform",b),Ut=d,$t=f,G=r}t.cancelable&&t.preventDefault()}},_appendGhost:function(){if(!g){var t=this.options.fallbackOnBody?document.body:D,n=I(c,!0,Nt,!0,t),o=this.options;if(Nt){for(T=t;h(T,"position")==="static"&&h(T,"transform")==="none"&&T!==document;)T=T.parentNode;T!==document.body&&T!==document.documentElement?(T===document&&(T=K()),n.top+=T.scrollTop,n.left+=T.scrollLeft):T=K(),qt=pe(T)}g=c.cloneNode(!0),R(g,o.ghostClass,!1),R(g,o.fallbackClass,!0),R(g,o.dragClass,!0),h(g,"transition",""),h(g,"transform",""),h(g,"box-sizing","border-box"),h(g,"margin",0),h(g,"top",n.top),h(g,"left",n.left),h(g,"width",n.width),h(g,"height",n.height),h(g,"opacity","0.8"),h(g,"position",Nt?"absolute":"fixed"),h(g,"zIndex","100000"),h(g,"pointerEvents","none"),p.ghost=g,t.appendChild(g),h(g,"transform-origin",ge/parseInt(g.style.width)*100+"% "+me/parseInt(g.style.height)*100+"%")}},_onDragStart:function(t,n){var o=this,i=t.dataTransfer,r=o.options;if(N("dragStart",this,{evt:t}),p.eventCanceled){this._onDrop();return}N("setupClone",this),p.eventCanceled||(S=Ce(c),S.removeAttribute("id"),S.draggable=!1,S.style["will-change"]="",this._hideClone(),R(S,this.options.chosenClass,!1),p.clone=S),o.cloneId=kt(function(){N("clone",o),!p.eventCanceled&&(o.options.removeCloneOnHide||D.insertBefore(S,c),o._hideClone(),x({sortable:o,name:"clone"}))}),!n&&R(c,r.dragClass,!0),n?(Bt=!0,o._loopId=setInterval(o._emulateDragOver,50)):(m(document,"mouseup",o._onDrop),m(document,"touchend",o._onDrop),m(document,"touchcancel",o._onDrop),i&&(i.effectAllowed="move",r.setData&&r.setData.call(o,i,c)),v(document,"drop",o),h(c,"transform","translateZ(0)")),ut=!0,o._dragStartId=kt(o._dragStarted.bind(o,n,t)),v(document,"selectstart",o),bt=!0,window.getSelection().removeAllRanges(),yt&&h(document.body,"user-select","none")},_onDragOver:function(t){var n=this.el,o=t.target,i,r,a,l=this.options,s=l.group,u=p.active,d=At===s,f=l.sort,b=O||u,y,E=this,w=!1;if(te)return;function Y(vt,Re){N(vt,E,L({evt:t,isOwner:d,axis:y?"vertical":"horizontal",revert:a,dragRect:i,targetRect:r,canSort:f,fromSortable:b,target:o,completed:A,onMove:function(ue,ke){return Pt(D,n,c,i,ue,I(ue),t,ke)},changed:B},Re))}function j(){Y("dragOverAnimationCapture"),E.captureAnimationState(),E!==b&&b.captureAnimationState()}function A(vt){return Y("dragOverCompleted",{insertion:vt}),vt&&(d?u._hideClone():u._showClone(E),E!==b&&(R(c,O?O.options.ghostClass:u.options.ghostClass,!1),R(c,l.ghostClass,!0)),O!==E&&E!==p.active?O=E:E===p.active&&O&&(O=null),b===E&&(E._ignoreWhileAnimating=o),E.animateAll(function(){Y("dragOverAnimationComplete"),E._ignoreWhileAnimating=null}),E!==b&&(b.animateAll(),b._ignoreWhileAnimating=null)),(o===c&&!c.animated||o===n&&!o.animated)&&(st=null),!l.dragoverBubble&&!t.rootEl&&o!==document&&(c.parentNode[P]._isOutsideThisEl(t.target),!vt&&rt(t)),!l.dragoverBubble&&t.stopPropagation&&t.stopPropagation(),w=!0}function B(){k=X(c),Q=X(c,l.draggable),x({sortable:E,name:"change",toEl:n,newIndex:k,newDraggableIndex:Q,originalEvent:t})}if(t.preventDefault!==void 0&&t.cancelable&&t.preventDefault(),o=H(o,l.draggable,n,!0),Y("dragOver"),p.eventCanceled)return w;if(c.contains(t.target)||o.animated&&o.animatingX&&o.animatingY||E._ignoreWhileAnimating===o)return A(!1);if(Bt=!1,u&&!l.disabled&&(d?f||(a=_!==D):O===this||(this.lastPutMode=At.checkPull(this,u,c,t))&&s.checkPut(this,u,c,t))){if(y=this._getDirection(t,o)==="vertical",i=I(c),Y("dragOverValid"),p.eventCanceled)return w;if(a)return _=D,j(),this._hideClone(),Y("revert"),p.eventCanceled||(at?D.insertBefore(c,at):D.appendChild(c)),A(!0);var M=re(n,l.draggable);if(!M||nn(t,y,this)&&!M.animated){if(M===c)return A(!1);if(M&&n===t.target&&(o=M),o&&(r=I(o)),Pt(D,n,c,i,o,r,t,!!o)!==!1)return j(),M&&M.nextSibling?n.insertBefore(c,M.nextSibling):n.appendChild(c),_=n,B(),A(!0)}else if(M&&en(t,y,this)){var et=dt(n,0,l,!0);if(et===c)return A(!1);if(o=et,r=I(o),Pt(D,n,c,i,o,r,t,!1)!==!1)return j(),n.insertBefore(c,et),_=n,B(),A(!0)}else if(o.parentNode===n){r=I(o);var W=0,nt,ht=c.parentNode!==n,F=!Ve(c.animated&&c.toRect||i,o.animated&&o.toRect||r,y),pt=y?"top":"left",V=he(o,"top","top")||he(c,"top","top"),gt=V?V.scrollTop:void 0;st!==o&&(nt=r[pt],Ct=!1,xt=!F&&l.invertSwap||ht),W=on(t,o,r,y,F?1:l.swapThreshold,l.invertedSwapThreshold==null?l.swapThreshold:l.invertedSwapThreshold,xt,st===o);var z;if(W!==0){var ot=X(c);do ot-=W,z=_.children[ot];while(z&&(h(z,"display")==="none"||z===g))}if(W===0||z===o)return A(!1);st=o,_t=W;var mt=o.nextElementSibling,Z=!1;Z=W===1;var Tt=Pt(D,n,c,i,o,r,t,Z);if(Tt!==!1)return(Tt===1||Tt===-1)&&(Z=Tt===1),te=!0,setTimeout(tn,30),j(),Z&&!mt?n.appendChild(c):o.parentNode.insertBefore(c,Z?mt:o),V&&_e(V,0,gt-V.scrollTop),_=c.parentNode,nt!==void 0&&!xt&&(Rt=Math.abs(nt-I(o)[pt])),B(),A(!0)}if(n.contains(c))return A(!1)}return!1},_ignoreWhileAnimating:null,_offMoveEvents:function(){m(document,"mousemove",this._onTouchMove),m(document,"touchmove",this._onTouchMove),m(document,"pointermove",this._onTouchMove),m(document,"dragover",rt),m(document,"mousemove",rt),m(document,"touchmove",rt)},_offUpEvents:function(){var t=this.el.ownerDocument;m(t,"mouseup",this._onDrop),m(t,"touchend",this._onDrop),m(t,"pointerup",this._onDrop),m(t,"pointercancel",this._onDrop),m(t,"touchcancel",this._onDrop),m(document,"selectstart",this)},_onDrop:function(t){var n=this.el,o=this.options;if(k=X(c),Q=X(c,o.draggable),N("drop",this,{evt:t}),_=c&&c.parentNode,k=X(c),Q=X(c,o.draggable),p.eventCanceled){this._nulling();return}ut=!1,xt=!1,Ct=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),ee(this.cloneId),ee(this._dragStartId),this.nativeDraggable&&(m(document,"drop",this),m(n,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),yt&&h(document.body,"user-select",""),h(c,"transform",""),t&&(bt&&(t.cancelable&&t.preventDefault(),!o.dropBubble&&t.stopPropagation()),g&&g.parentNode&&g.parentNode.removeChild(g),(D===_||O&&O.lastPutMode!=="clone")&&S&&S.parentNode&&S.parentNode.removeChild(S),c&&(this.nativeDraggable&&m(c,"dragend",this),Vt(c),c.style["will-change"]="",bt&&!ut&&R(c,O?O.options.ghostClass:this.options.ghostClass,!1),R(c,this.options.chosenClass,!1),x({sortable:this,name:"unchoose",toEl:_,newIndex:null,newDraggableIndex:null,originalEvent:t}),D!==_?(k>=0&&(x({rootEl:_,name:"add",toEl:_,fromEl:D,originalEvent:t}),x({sortable:this,name:"remove",toEl:_,originalEvent:t}),x({rootEl:_,name:"sort",toEl:_,fromEl:D,originalEvent:t}),x({sortable:this,name:"sort",toEl:_,originalEvent:t})),O&&O.save()):k!==ct&&k>=0&&(x({sortable:this,name:"update",toEl:_,originalEvent:t}),x({sortable:this,name:"sort",toEl:_,originalEvent:t})),p.active&&((k==null||k===-1)&&(k=ct,Q=St),x({sortable:this,name:"end",toEl:_,originalEvent:t}),this.save()))),this._nulling()},_nulling:function(){N("nulling",this),D=c=_=g=at=S=Ft=J=it=G=bt=k=Q=ct=St=st=_t=O=At=p.dragged=p.ghost=p.clone=p.active=null,Ht.forEach(function(t){t.checked=!0}),Ht.length=Ut=$t=0},handleEvent:function(t){switch(t.type){case"drop":case"dragend":this._onDrop(t);break;case"dragenter":case"dragover":c&&(this._onDragOver(t),Je(t));break;case"selectstart":t.preventDefault();break}},toArray:function(){for(var t=[],n,o=this.el.children,i=0,r=o.length,a=this.options;i<r;i++)n=o[i],H(n,a.draggable,this.el,!1)&&t.push(n.getAttribute(a.dataIdAttr)||an(n));return t},sort:function(t,n){var o={},i=this.el;this.toArray().forEach(function(r,a){var l=i.children[a];H(l,this.options.draggable,i,!1)&&(o[r]=l)},this),n&&this.captureAnimationState(),t.forEach(function(r){o[r]&&(i.removeChild(o[r]),i.appendChild(o[r]))}),n&&this.animateAll()},save:function(){var t=this.options.store;t&&t.set&&t.set(this)},closest:function(t,n){return H(t,n||this.options.draggable,this.el,!1)},option:function(t,n){var o=this.options;if(n===void 0)return o[t];var i=Ot.modifyOption(this,t,n);typeof i<"u"?o[t]=i:o[t]=n,t==="group"&&Ae(o)},destroy:function(){N("destroy",this);var t=this.el;t[P]=null,m(t,"mousedown",this._onTapStart),m(t,"touchstart",this._onTapStart),m(t,"pointerdown",this._onTapStart),this.nativeDraggable&&(m(t,"dragover",this),m(t,"dragenter",this)),Array.prototype.forEach.call(t.querySelectorAll("[draggable]"),function(n){n.removeAttribute("draggable")}),this._onDrop(),this._disableDelayedDragEvents(),Gt.splice(Gt.indexOf(this.el),1),this.el=t=null},_hideClone:function(){if(!J){if(N("hideClone",this),p.eventCanceled)return;h(S,"display","none"),this.options.removeCloneOnHide&&S.parentNode&&S.parentNode.removeChild(S),J=!0}},_showClone:function(t){if(t.lastPutMode!=="clone"){this._hideClone();return}if(J){if(N("showClone",this),p.eventCanceled)return;c.parentNode==D&&!this.options.group.revertClone?D.insertBefore(S,c):at?D.insertBefore(S,at):D.appendChild(S),this.options.group.revertClone&&this.animate(c,S),h(S,"display",""),J=!1}}};function Je(e){e.dataTransfer&&(e.dataTransfer.dropEffect="move"),e.cancelable&&e.preventDefault()}function Pt(e,t,n,o,i,r,a,l){var s,u=e[P],d=u.options.onMove,f;return window.CustomEvent&&!q&&!It?s=new CustomEvent("move",{bubbles:!0,cancelable:!0}):(s=document.createEvent("Event"),s.initEvent("move",!0,!0)),s.to=t,s.from=e,s.dragged=n,s.draggedRect=o,s.related=i||t,s.relatedRect=r||I(t),s.willInsertAfter=l,s.originalEvent=a,e.dispatchEvent(s),d&&(f=d.call(u,s,a)),f}function Vt(e){e.draggable=!1}function tn(){te=!1}function en(e,t,n){var o=I(dt(n.el,0,n.options,!0)),i=Ie(n.el,n.options,g),r=10;return t?e.clientX<i.left-r||e.clientY<o.top&&e.clientX<o.right:e.clientY<i.top-r||e.clientY<o.bottom&&e.clientX<o.left}function nn(e,t,n){var o=I(re(n.el,n.options.draggable)),i=Ie(n.el,n.options,g),r=10;return t?e.clientX>i.right+r||e.clientY>o.bottom&&e.clientX>o.left:e.clientY>i.bottom+r||e.clientX>o.right&&e.clientY>o.top}function on(e,t,n,o,i,r,a,l){var s=o?e.clientY:e.clientX,u=o?n.height:n.width,d=o?n.top:n.left,f=o?n.bottom:n.right,b=!1;if(!a){if(l&&Rt<u*i){if(!Ct&&(_t===1?s>d+u*r/2:s<f-u*r/2)&&(Ct=!0),Ct)b=!0;else if(_t===1?s<d+Rt:s>f-Rt)return-_t}else if(s>d+u*(1-i)/2&&s<f-u*(1-i)/2)return rn(t)}return b=b||a,b&&(s<d+u*r/2||s>f-u*r/2)?s>d+u/2?1:-1:0}function rn(e){return X(c)<X(e)?1:-1}function an(e){for(var t=e.tagName+e.className+e.src+e.href+e.textContent,n=t.length,o=0;n--;)o+=t.charCodeAt(n);return o.toString(36)}function ln(e){Ht.length=0;for(var t=e.getElementsByTagName("input"),n=t.length;n--;){var o=t[n];o.checked&&Ht.push(o)}}function kt(e){return setTimeout(e,0)}function ee(e){return clearTimeout(e)}Kt&&v(document,"touchmove",function(e){(p.active||ut)&&e.cancelable&&e.preventDefault()});p.utils={on:v,off:m,css:h,find:De,is:function(t,n){return!!H(t,n,t,!1)},extend:We,throttle:Se,closest:H,toggleClass:R,clone:Ce,index:X,nextTick:kt,cancelNextTick:ee,detectDirection:Te,getChild:dt,expando:P};p.get=function(e){return e[P]};p.mount=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];t[0].constructor===Array&&(t=t[0]),t.forEach(function(o){if(!o.prototype||!o.prototype.constructor)throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(o));o.utils&&(p.utils=L(L({},p.utils),o.utils)),Ot.mount(o)})};p.create=function(e,t){return new p(e,t)};p.version=Ge;var C=[],Et,ne,oe=!1,Zt,Qt,Wt,wt;function sn(){function e(){this.defaults={scroll:!0,forceAutoScrollFallback:!1,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0};for(var t in this)t.charAt(0)==="_"&&typeof this[t]=="function"&&(this[t]=this[t].bind(this))}return e.prototype={dragStarted:function(n){var o=n.originalEvent;this.sortable.nativeDraggable?v(document,"dragover",this._handleAutoScroll):this.options.supportPointer?v(document,"pointermove",this._handleFallbackAutoScroll):o.touches?v(document,"touchmove",this._handleFallbackAutoScroll):v(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(n){var o=n.originalEvent;!this.options.dragOverBubble&&!o.rootEl&&this._handleAutoScroll(o)},drop:function(){this.sortable.nativeDraggable?m(document,"dragover",this._handleAutoScroll):(m(document,"pointermove",this._handleFallbackAutoScroll),m(document,"touchmove",this._handleFallbackAutoScroll),m(document,"mousemove",this._handleFallbackAutoScroll)),be(),Xt(),Ke()},nulling:function(){Wt=ne=Et=oe=wt=Zt=Qt=null,C.length=0},_handleFallbackAutoScroll:function(n){this._handleAutoScroll(n,!0)},_handleAutoScroll:function(n,o){var i=this,r=(n.touches?n.touches[0]:n).clientX,a=(n.touches?n.touches[0]:n).clientY,l=document.elementFromPoint(r,a);if(Wt=n,o||this.options.forceAutoScrollFallback||It||q||yt){Jt(n,this.options,l,o);var s=tt(l,!0);oe&&(!wt||r!==Zt||a!==Qt)&&(wt&&be(),wt=setInterval(function(){var u=tt(document.elementFromPoint(r,a),!0);u!==s&&(s=u,Xt()),Jt(n,i.options,u,o)},10),Zt=r,Qt=a)}else{if(!this.options.bubbleScroll||tt(l,!0)===K()){Xt();return}Jt(n,this.options,tt(l,!1),!1)}}},$(e,{pluginName:"scroll",initializeByDefault:!0})}function Xt(){C.forEach(function(e){clearInterval(e.pid)}),C=[]}function be(){clearInterval(wt)}var Jt=Se(function(e,t,n,o){if(t.scroll){var i=(e.touches?e.touches[0]:e).clientX,r=(e.touches?e.touches[0]:e).clientY,a=t.scrollSensitivity,l=t.scrollSpeed,s=K(),u=!1,d;ne!==n&&(ne=n,Xt(),Et=t.scroll,d=t.scrollFn,Et===!0&&(Et=tt(n,!0)));var f=0,b=Et;do{var y=b,E=I(y),w=E.top,Y=E.bottom,j=E.left,A=E.right,B=E.width,M=E.height,et=void 0,W=void 0,nt=y.scrollWidth,ht=y.scrollHeight,F=h(y),pt=y.scrollLeft,V=y.scrollTop;y===s?(et=B<nt&&(F.overflowX==="auto"||F.overflowX==="scroll"||F.overflowX==="visible"),W=M<ht&&(F.overflowY==="auto"||F.overflowY==="scroll"||F.overflowY==="visible")):(et=B<nt&&(F.overflowX==="auto"||F.overflowX==="scroll"),W=M<ht&&(F.overflowY==="auto"||F.overflowY==="scroll"));var gt=et&&(Math.abs(A-i)<=a&&pt+B<nt)-(Math.abs(j-i)<=a&&!!pt),z=W&&(Math.abs(Y-r)<=a&&V+M<ht)-(Math.abs(w-r)<=a&&!!V);if(!C[f])for(var ot=0;ot<=f;ot++)C[ot]||(C[ot]={});(C[f].vx!=gt||C[f].vy!=z||C[f].el!==y)&&(C[f].el=y,C[f].vx=gt,C[f].vy=z,clearInterval(C[f].pid),(gt!=0||z!=0)&&(u=!0,C[f].pid=setInterval(function(){o&&this.layer===0&&p.active._onTouchMove(Wt);var mt=C[this.layer].vy?C[this.layer].vy*l:0,Z=C[this.layer].vx?C[this.layer].vx*l:0;typeof d=="function"&&d.call(p.dragged.parentNode[P],Z,mt,e,Wt,C[this.layer].el)!=="continue"||_e(C[this.layer].el,Z,mt)}.bind({layer:f}),24))),f++}while(t.bubbleScroll&&b!==s&&(b=tt(b,!1)));oe=u}},30),Pe=function(t){var n=t.originalEvent,o=t.putSortable,i=t.dragEl,r=t.activeSortable,a=t.dispatchSortableEvent,l=t.hideGhostForTarget,s=t.unhideGhostForTarget;if(n){var u=o||r;l();var d=n.changedTouches&&n.changedTouches.length?n.changedTouches[0]:n,f=document.elementFromPoint(d.clientX,d.clientY);s(),u&&!u.el.contains(f)&&(a("spill"),this.onSpill({dragEl:i,putSortable:o}))}};function ae(){}ae.prototype={startIndex:null,dragStart:function(t){var n=t.oldDraggableIndex;this.startIndex=n},onSpill:function(t){var n=t.dragEl,o=t.putSortable;this.sortable.captureAnimationState(),o&&o.captureAnimationState();var i=dt(this.sortable.el,this.startIndex,this.options);i?this.sortable.el.insertBefore(n,i):this.sortable.el.appendChild(n),this.sortable.animateAll(),o&&o.animateAll()},drop:Pe};$(ae,{pluginName:"revertOnSpill"});function le(){}le.prototype={onSpill:function(t){var n=t.dragEl,o=t.putSortable,i=o||this.sortable;i.captureAnimationState(),n.parentNode&&n.parentNode.removeChild(n),i.animateAll()},drop:Pe};$(le,{pluginName:"removeOnSpill"});p.mount(new sn);p.mount(le,ae);var Me=p;var Lt=new Set,un={ghostClass:"calcite-sortable--ghost",chosenClass:"calcite-sortable--chosen",dragClass:"calcite-sortable--drag",fallbackClass:"calcite-sortable--fallback"};function mn(e){if(Fe(e))return;cn(e),Lt.add(e);let t="id",{group:n,handleSelector:o,dragSelector:i}=e;e.sortable=Me.create(e.el,{dataIdAttr:t,...un,...!!i&&{draggable:i},...!!n&&{group:{name:n,...!!e.canPull&&{pull:(r,a,l,{newDraggableIndex:s,oldDraggableIndex:u})=>e.canPull({toEl:r.el,fromEl:a.el,dragEl:l,newIndex:s,oldIndex:u})},...!!e.canPut&&{put:(r,a,l,{newDraggableIndex:s,oldDraggableIndex:u})=>e.canPut({toEl:r.el,fromEl:a.el,dragEl:l,newIndex:s,oldIndex:u})}}},onMove:({from:r,dragged:a,to:l,related:s})=>{e.onDragMove&&e.onDragMove({fromEl:r,dragEl:a,toEl:l,relatedEl:s})},handle:o,filter:`${o}[disabled]`,onStart:({from:r,item:a,to:l,newDraggableIndex:s,oldDraggableIndex:u})=>{se.active=!0,fn(),e.onDragStart({fromEl:r,dragEl:a,toEl:l,newIndex:s,oldIndex:u})},onEnd:({from:r,item:a,to:l,newDraggableIndex:s,oldDraggableIndex:u})=>{se.active=!1,dn(),e.onDragEnd({fromEl:r,dragEl:a,toEl:l,newIndex:s,oldIndex:u})},onSort:({from:r,item:a,to:l,newDraggableIndex:s,oldDraggableIndex:u})=>{e.onDragSort({fromEl:r,dragEl:a,toEl:l,newIndex:s,oldIndex:u})}})}function cn(e){Fe(e)||(Lt.delete(e),e.sortable?.destroy(),e.sortable=null)}var se={active:!1};function Fe(e){return e.dragEnabled&&se.active}function fn(){Array.from(Lt).forEach(e=>e.onGlobalDragStart())}function dn(){Array.from(Lt).forEach(e=>e.onGlobalDragEnd())}export{mn as a,cn as b};
|
@@ -0,0 +1,4 @@
|
|
1
|
+
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
2
|
+
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
3
|
+
v3.0.0 */
|
4
|
+
import{J as o,e,f as i,v as a,w as l}from"./KVSCG5E3.js";var n=e`:host{display:block}:host([hidden]){display:none}[hidden]{display:none}`,t=class extends l{constructor(){super(...arguments),this.disabled=!1,this.calciteInternalOptionGroupChange=a({cancelable:!1})}static{this.properties={disabled:7,label:1}}static{this.styles=n}willUpdate(s){(s.has("disabled")&&(this.hasUpdated||this.disabled!==!1)||s.has("label"))&&this.calciteInternalOptionGroupChange.emit()}render(){return i`<div>${this.label}</div><slot></slot>`}};o("calcite-option-group",t);export{t as OptionGroup};
|
@@ -0,0 +1,4 @@
|
|
1
|
+
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
2
|
+
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
3
|
+
v3.0.0 */
|
4
|
+
import{a as T,b as q}from"./LOZEGKG2.js";import{a as r}from"./3IV6JSC2.js";import"./KW57BHXD.js";import{a as m}from"./CIV3PH3Z.js";import{a as E,b as M}from"./QU33PBBI.js";import{e as I,o as z,r as p,u as A,v as w}from"./CMO3X257.js";import"./I2OIH73C.js";import{A as $,C as s,J as S,e as g,f as c,j as x,v as C,w as y,x as i}from"./KVSCG5E3.js";var n={actionsEnd:"actions-end",bulletPointIcon:"bullet-point",checkbox:"checkbox",checkboxContainer:"checkbox-container",checkboxLabel:"checkbox-label",checkmarkIcon:"checkmark",chevron:"chevron",childrenContainer:"children-container",iconStart:"icon-start",itemExpanded:"item--expanded",nodeAndActionsContainer:"node-actions-container",nodeContainer:"node-container"},R={actionsEnd:"actions-end",children:"children"},a={blank:"blank",bulletPoint:"bullet-point",checkmark:"check",checkSquareF:"check-square-f",chevronRight:"chevron-right",minusSquareF:"minus-square-f",square:"square"},V=g`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host([scale=s]){--calcite-internal-tree-item-spacing-unit: .25rem;--calcite-internal-tree-item-padding-block: .25rem;--calcite-internal-tree-item-children-container-padding: 1.25rem;--calcite-internal-tree-item-line-left-position: .75rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=m]){--calcite-internal-tree-item-spacing-unit: .5rem;--calcite-internal-tree-item-padding-block: .5rem;--calcite-internal-tree-item-children-container-padding: 1.5rem;--calcite-internal-tree-item-line-left-position: 1rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]){--calcite-internal-tree-item-spacing-unit: .75rem;--calcite-internal-tree-item-padding-block: .625rem;--calcite-internal-tree-item-children-container-padding: 2.25rem;--calcite-internal-tree-item-line-left-position: 1.5rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host{display:block;max-inline-size:100%;cursor:pointer;color:var(--calcite-color-text-3)}:host .children-container ::slotted(*){padding-inline-start:var(--calcite-internal-tree-item-children-container-padding)}.node-actions-container{display:flex}.node-actions-container .node-container,.node-actions-container .checkbox-container{gap:var(--calcite-internal-tree-item-spacing-unit)}.node-actions-container .node-container{padding-inline:var(--calcite-internal-tree-item-spacing-unit);padding-block:var(--calcite-internal-tree-item-padding-block)}:host([calcite-hydrated-hidden]){visibility:hidden!important;pointer-events:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([lines]) .children-container:after{position:absolute;inset-block-start:0px;z-index:var(--calcite-z-index);inline-size:1px;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s;transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out;block-size:100%;inset-inline-start:var(--calcite-internal-tree-item-line-left-position);content:"";background-color:var(--calcite-color-border-2)}:host(:not([lines])) .node-container:after{display:none}::slotted(*){min-inline-size:0px;max-inline-size:100%;overflow-wrap:break-word;color:inherit;text-decoration:none!important}::slotted(*):hover{text-decoration:none!important}::slotted(a){inline-size:100%;text-decoration-line:none}:host{outline:2px solid transparent;outline-offset:2px}:host .node-container{outline-color:transparent}:host:focus .node-container,:host:active .node-container{outline:2px solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(-2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}:host(:focus:not([disabled])) .node-container{outline:2px solid transparent;outline-offset:2px;outline:2px solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(-2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}:host(:focus:not([disabled])) .checkbox{outline:2px solid transparent;outline-offset:2px}.actions-end{display:flex;flex-direction:row;align-items:center;align-self:stretch}.checkbox-container{display:flex;align-items:center}.checkbox{line-height:0;color:var(--calcite-color-border-input)}.checkbox-label{pointer-events:none;display:flex;align-items:center}.children-container{position:relative;block-size:0px;transform-origin:top;overflow:hidden;opacity:0;transform:scaleY(0);transition:var(--calcite-animation-timing) cubic-bezier(.215,.44,.42,.88),opacity var(--calcite-animation-timing) cubic-bezier(.215,.44,.42,.88),all var(--calcite-animation-timing) ease-in-out}.item--expanded>.children-container{overflow:visible;opacity:1;transform:none;block-size:auto}.node-container{position:relative;display:flex;min-inline-size:0px;flex-grow:1;align-items:center}.node-container .checkmark,.node-container .bullet-point{opacity:0;transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out;color:var(--calcite-color-border-1)}.node-container:hover .checkmark,.node-container:hover .bullet-point,:host([selected]) .node-container:hover .checkmark,:host([selected]) .node-container:hover .bullet-point,:host(:focus:not([disabled])) .node-container .checkmark,:host(:focus:not([disabled])) .node-container .bullet-point{opacity:1}:host([selected]) .node-container,:host([selected]) .node-container:hover{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-1)}:host([selected]) .node-container .bullet-point,:host([selected]) .node-container .checkmark,:host([selected]) .node-container:hover .bullet-point,:host([selected]) .node-container:hover .checkmark{opacity:1;color:var(--calcite-color-brand)}:host([has-children]) .node-container .bullet-point,:host([has-children]) .node-container .checkmark{display:none}.chevron{position:relative;align-self:center;color:var(--calcite-color-text-3);transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out;flex:0 0 auto;transform:rotate(0)}.calcite--rtl .chevron{transform:rotate(180deg)}.item--expanded .node-container>.chevron{transform:rotate(90deg)}:host([selected]) .checkmark,:host([selected]) .bullet-point{color:var(--calcite-color-brand)}:host([selected]) .checkbox{color:var(--calcite-color-brand)}:host([has-children][indeterminate]) .checkbox{color:var(--calcite-color-brand)}:host([hidden]){display:none}[hidden]{display:none}`,u=class extends y{constructor(){super(),this.actionSlotWrapper=E(),this.userChangedValue=!1,this.hasEndActions=!1,this.updateAfterInitialRender=!1,this.depth=-1,this.disabled=!1,this.expanded=!1,this.indeterminate=!1,this.parentExpanded=!1,this.selected=!1,this.calciteInternalTreeItemSelect=C({cancelable:!1}),this.listen("click",this.onClick),this.listen("keydown",this.keyDownHandler)}static{this.properties={hasEndActions:16,updateAfterInitialRender:16,depth:11,disabled:7,expanded:7,hasChildren:39,iconFlipRtl:3,iconStart:3,indeterminate:7,label:1,lines:7,parentExpanded:5,scale:3,selected:7,selectionMode:3}}static{this.styles=V}get hasChildren(){return!!this.childTree}connectedCallback(){super.connectedCallback(),this.parentTreeItem=this.el.parentElement?.closest("calcite-tree-item")}load(){requestAnimationFrame(()=>this.updateAfterInitialRender=!0)}willUpdate(e){this.preWillUpdate(),e.has("expanded")&&(this.hasUpdated||this.expanded!==!1)&&this.updateChildTree(),e.has("selected")&&(this.hasUpdated||this.selected!==!1)&&this.handleSelectedChange(this.selected),e.has("selectionMode")&&this.getSelectionMode()}updated(){T(this)}loaded(){this.updateAncestorTree()}handleSelectedChange(e){this.selectionMode==="ancestors"&&!this.userChangedValue&&(e&&(this.indeterminate=!1),this.calciteInternalTreeItemSelect.emit({modifyCurrentSelection:!0,updateItem:!1}))}getSelectionMode(){this.isSelectionMultiLike=this.selectionMode==="multiple"||this.selectionMode==="multichildren"}onClick(e){if(this.disabled||this.isActionEndEvent(e))return;let[t]=z(this.el,"a");if(t&&e.composedPath()[0].tagName.toLowerCase()!=="a"){let o=t.target===""?"_self":t.target;window.open(t.href,o)}this.calciteInternalTreeItemSelect.emit({modifyCurrentSelection:this.selectionMode==="ancestors"||this.isSelectionMultiLike,updateItem:!0}),this.userChangedValue=!0}iconClickHandler(e){e.stopPropagation(),this.expanded=!this.expanded}childrenClickHandler(e){e.stopPropagation()}keyDownHandler(e){if(!(this.isActionEndEvent(e)||e.defaultPrevented))switch(e.key){case" ":this.userChangedValue=!0,this.calciteInternalTreeItemSelect.emit({modifyCurrentSelection:this.isSelectionMultiLike,updateItem:!0}),e.preventDefault();break;case"Enter":{let t=Array.from(this.el.children).find(o=>o.matches("a"));this.userChangedValue=!0,t?(t.click(),this.selected=!0):this.calciteInternalTreeItemSelect.emit({modifyCurrentSelection:this.isSelectionMultiLike,updateItem:!0}),e.preventDefault()}}}updateChildTree(){let{childTree:e}=this;e&&(e.parentExpanded=this.expanded)}handleChildrenSlotChange(e){let t=w(e).filter(o=>o.matches("calcite-tree"))[0];this.childTree=t,this.requestUpdate("hasChildren"),this.updateChildTree()}isActionEndEvent(e){return e.composedPath().includes(this.actionSlotWrapper.value)}updateAncestorTree(){let e=this.parentTreeItem;if(!(this.selectionMode!=="ancestors"||!e)){if(this.selected){let t=this.el.parentElement,o=Array.from(t?.children),d=o.filter(l=>l.selected);o.length===d.length?(e.selected=!0,e.indeterminate=!1):d.length>0&&(e.indeterminate=!0),Array.from(this.el.querySelectorAll("calcite-tree-item:not([disabled])")).forEach(l=>{l.selected=!0,l.indeterminate=!1})}else if(this.indeterminate){let t=this.parentTreeItem;t.indeterminate=!0}}}actionsEndSlotChangeHandler(e){this.hasEndActions=A(e)}preWillUpdate(){this.depth=0;let e=this.el.closest("calcite-tree");if(!e)return;this.selectionMode=e.selectionMode,this.scale=e.scale||"m",this.lines=e.lines;let t;for(;e&&(t=e.parentElement?.closest("calcite-tree"),t!==e);)e=t,this.depth=this.depth+1}render(){let e=I(this.el)==="rtl",t=this.selectionMode==="single"||this.selectionMode==="children"||this.selectionMode==="single-persist",o=this.selectionMode==="multiple"||this.selectionMode==="multichildren",d=this.selectionMode==="none"&&!this.hasChildren,l=this.hasChildren&&this.indeterminate,P=this.hasChildren||this.selectionMode==="ancestors"?c`<calcite-icon class=${i({[n.chevron]:!0,[s.rtl]:e})} data-test-id=icon .icon=${this.hasChildren?a.chevronRight:a.blank} @click=${this.iconClickHandler} .scale=${r(this.scale)}></calcite-icon>`:null,b=m("default-slot",c`<slot></slot>`),f=this.selectionMode==="ancestors"?c`<div class=${i(n.checkboxContainer)}><calcite-icon class=${i(n.checkbox)} .icon=${this.selected?a.checkSquareF:l?a.minusSquareF:a.square} .scale=${r(this.scale)}></calcite-icon></div>`:null,h=t?a.bulletPoint:o?a.checkmark:d?a.blank:null,L=h?c`<calcite-icon class=${i({[n.bulletPointIcon]:h===a.bulletPoint,[n.checkmarkIcon]:h===a.checkmark,[s.rtl]:e})} .icon=${h} .scale=${r(this.scale)}></calcite-icon>`:null,k=!(this.parentExpanded||this.depth===1),v=this.updateAfterInitialRender&&this.expanded,{hasEndActions:F}=this,H=m("actionsEndSlot",c`<slot name=${R.actionsEnd} @slotchange=${this.actionsEndSlotChangeHandler}></slot>`),U=c`<calcite-icon class=${i(n.iconStart)} .flipRtl=${this.iconFlipRtl==="start"||this.iconFlipRtl==="both"} .icon=${this.iconStart} .scale=${r(this.scale)}></calcite-icon>`;return this.el.ariaChecked=this.selectionMode==="multiple"||this.selectionMode==="multichildren"||this.selectionMode==="ancestors"?p(this.selected):void 0,this.el.ariaExpanded=this.hasChildren?p(v):void 0,this.el.inert=k,this.el.ariaLive="polite",this.el.ariaSelected=this.selectionMode==="single"||this.selectionMode==="children"||this.selectionMode==="single-persist"?p(this.selected):void 0,this.el.toggleAttribute("calcite-hydrated-hidden",k),this.el.role="treeitem",$(this.el,"tabIndex",this.disabled?-1:0),q({disabled:this.disabled,children:c`<div class=${i({[n.itemExpanded]:v})}><div class=${i(n.nodeAndActionsContainer)}><div class=${i({[n.nodeContainer]:!0,[s.rtl]:e})} data-selection-mode=${this.selectionMode??x}>${P}${L}${f||null}${this.iconStart?U:null}${f?c`<label class=${i(n.checkboxLabel)}>${b}</label>`:b}</div><div class=${i(n.actionsEnd)} .hidden=${!F} ${M(this.actionSlotWrapper)}>${H}</div></div><div class=${i({[n.childrenContainer]:!0,[s.rtl]:e})} data-test-id=calcite-tree-children @click=${this.childrenClickHandler} .role=${this.hasChildren?"group":void 0}><slot name=${R.children} @slotchange=${this.handleChildrenSlotChange}></slot></div></div>`})}};S("calcite-tree-item",u);export{u as TreeItem};
|
@@ -0,0 +1,4 @@
|
|
1
|
+
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
2
|
+
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
3
|
+
v3.0.0 */
|
4
|
+
import{a as c}from"./CIV3PH3Z.js";import{a as I}from"./ARHYATTG.js";import{a as m,b as p}from"./QU33PBBI.js";import{e as x,v as $}from"./CMO3X257.js";import{b as k}from"./GN5CPLSJ.js";import"./I2OIH73C.js";import{C as y,J as w,e as f,f as o,v as h,w as g,x as r,z as d}from"./KVSCG5E3.js";var t={container:"container",content:"content",dropdownVertical:"dropdown--vertical",dropdownMenuItems:"dropdown-menu-items",dropdownAction:"dropdown-action",layoutVertical:"layout--vertical",hoverHrefIcon:"hover-href-icon",icon:"icon",iconBreadcrumb:"icon--breadcrumb",iconDropdown:"icon--dropdown",iconEnd:"icon--end",iconStart:"icon--start",isParentVertical:"parent--vertical",itemContent:"item-content",open:"open",nested:"nested",textContainer:"text-container"},L=f`:host{position:relative;box-sizing:border-box;display:flex;align-items:center;flex-shrink:0}:host .container,:host .item-content,:host .content{min-block-size:3rem}:host([layout=vertical]){inline-size:100%}:host(:not([layout=vertical])){block-size:100%}.container,.item-content{display:flex;block-size:100%;inline-size:100%;flex-direction:row;align-items:stretch}.content{position:relative;box-sizing:border-box;display:flex;block-size:100%;inline-size:100%;cursor:pointer;align-items:center;justify-content:center;padding-inline:1rem;font-size:var(--calcite-font-size-0);outline:2px solid transparent;outline-offset:2px;text-decoration:none;padding-block-start:.125rem;border-block-end:.125rem solid var(--calcite-color-transparent);background-color:var(--calcite-menu-background-color, var(--calcite-internal-menu-background-color, var(--calcite-color-foreground-1)));color:var(--calcite-menu-text-color, var(--calcite-internal-menu-text-color, var(--calcite-color-text-2)))}.content:hover{border-block-end-color:var(--calcite-menu-item-accent-color, var(--calcite-color-border-2))}.content:focus{border-block-end-width:4px;outline:2px solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(-2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))));padding-block-start:.25rem;border-block-end-width:.25rem}.content:active{--calcite-internal-menu-background-color: var(--calcite-color-foreground-3);--calcite-internal-menu-text-color: var(--calcite-color-text-1)}.content span{display:inline-flex}.content.layout--vertical{display:flex;inline-size:100%;justify-content:flex-start;padding-block:1rem;border-block-end:0;border-inline-end:.25rem solid var(--calcite-color-transparent)}:host([layout=vertical]) .content{padding-inline:.75rem}:host([active]) .content{--calcite-internal-menu-text-color: var(--calcite-color-text-1);border-color:var(--calcite-menu-item-accent-color, var(--calcite-color-brand))}:host([active]) .icon{--calcite-internal-menu-item-icon-color: var(--calcite-color-brand)}.icon{color:var(--calcite-menu-text-color, var(--calcite-icon-color, var(--calcite-internal-menu-item-icon-color, var(--calcite-color-text-3))))}.icon--start{margin-inline-end:.75rem}.icon--end{margin-inline-start:.75rem}:host([layout=vertical]) .icon--end{margin-inline-start:auto;padding-inline-start:.75rem}.icon--dropdown{position:relative;margin-inline-start:auto;margin-inline-end:0px;padding-inline-start:.5rem}:host([layout=vertical]) .icon--end~.icon--dropdown{margin-inline-start:.75rem}:host([layout=vertical]) .hover-href-icon{padding-inline-start:.5rem}:host([layout=vertical]) .hover-href-icon~.icon--end{margin-inline-start:.5rem}:host([layout=vertical]) .hover-href-icon~.icon--breadcrumb{margin-inline-start:.75rem}.icon--breadcrumb{margin-inline-end:0px;padding-inline-start:.5rem}:host([layout=vertical]) .icon--breadcrumb{margin-inline-start:auto}:host([layout=vertical]) .icon--breadcrumb~.icon--dropdown{margin-inline-start:.5rem}:host([layout=vertical]) .icon--end~.icon--breadcrumb{margin-inline-start:.5rem}:host([breadcrumb]) .content{padding-inline-end:.75rem}calcite-action{position:relative;block-size:auto;border-inline-start:1px solid var(--calcite-color-foreground-1);--calcite-action-background-color: var(--calcite-menu-background-color);--calcite-action-text-color: var(--calcite-menu-text-color)}calcite-action:after{position:absolute;inset-inline-start:-1px;display:block;inline-size:1px;content:"";inset-block:.75rem;background-color:var(--calcite-color-border-3)}calcite-action:hover:after{block-size:100%;inset-block:0}calcite-action:active{--calcite-action-background-color-press: var(--calcite-menu-background-color)}.content:focus~calcite-action,.content:hover~calcite-action{--calcite-action-text-color: var(--calcite-menu-text-color, var(--calcite-color-text-1))}.content:focus~calcite-action:after,.content:hover~calcite-action:after{block-size:100%;inset-block:0}.dropdown-menu-items{position:absolute;display:none;block-size:auto;min-inline-size:100%;flex-direction:column;overflow:visible;border:1px solid var(--calcite-menu-item-sub-menu-border-color, var(--calcite-color-border-3));border-radius:var(--calcite-menu-item-sub-menu-corner-radius, var(--calcite-corner-radius));inset-block-start:100%;z-index:var(--calcite-z-index-dropdown)}.dropdown-menu-items.open{display:block}.dropdown-menu-items.nested{position:absolute;inset-block-start:-1px;transform:translate(calc(100% - 2px))}.parent--vertical{flex-direction:column}.dropdown--vertical.dropdown-menu-items{position:relative;box-shadow:none;inset-block-start:0;transform:none}.dropdown--vertical.dropdown-menu-items:last-of-type{border-inline:0}:host([layout=vertical]:last-of-type) .dropdown-menu-items{border-block-end:0}:host([slot=submenu-item]) .parent--vertical{padding-inline-start:1.5rem}.dropdown-menu-items.nested.calcite--rtl{transform:translate(calc(-100% + 2px))}.dropdown--vertical.dropdown-menu-items.nested.calcite--rtl{transform:none}.hover-href-icon{position:relative;inset-inline-end:.25rem;margin-inline-start:auto;opacity:0;transition:all var(--calcite-internal-animation-timing-medium) ease-in-out}.content:focus .hover-href-icon,.content:hover .hover-href-icon{inset-inline-end:-.25rem;opacity:1}:host([hidden]){display:none}[hidden]{display:none}`,v=class extends g{constructor(){super(),this.anchorEl=m(),this.dropdownActionEl=m(),this.hasSubmenu=!1,this.isTopLevelItem=!1,this.messages=I(),this.open=!1,this.calciteInternalMenuItemKeyEvent=h(),this.calciteMenuItemSelect=h(),this.listenOn(window,"click",this.handleClickOut),this.listen("focusout",this.handleFocusOut),this.listen("blur",this.blurHandler),this.listen("focus",this.focusHandler)}static{this.properties={hasSubmenu:16,submenuItems:16,active:7,breadcrumb:7,href:1,iconEnd:3,iconFlipRtl:3,iconStart:3,isTopLevelItem:5,label:1,layout:3,messageOverrides:0,open:7,rel:3,target:3,text:1,topLevelMenuLayout:1}}static{this.styles=L}async setFocus(){await k(this),this.anchorEl.value.focus()}async load(){}loaded(){}handleClickOut(e){this.topLevelMenuLayout!=="vertical"&&this.hasSubmenu&&this.open&&!e.composedPath().includes(this.el)&&(this.open=!1)}handleFocusOut(e){this.topLevelMenuLayout!=="vertical"&&!this.el.contains(e.relatedTarget)&&(this.open=!1)}blurHandler(){this.isFocused=!1}clickHandler(e){(this.href&&e.target===this.dropdownActionEl.value||!this.href&&this.hasSubmenu)&&(this.open=!this.open),this.selectMenuItem(e)}focusHandler(e){let n=e.target;this.isFocused=!0,n.open&&!this.open&&(n.open=!1)}handleMenuItemSlotChange(e){this.submenuItems=$(e),this.submenuItems.forEach(n=>{n.topLevelMenuLayout||(n.topLevelMenuLayout=this.topLevelMenuLayout)}),this.hasSubmenu=this.submenuItems.length>0}async keyDownHandler(e){let{hasSubmenu:n,href:a,layout:b,open:l,submenuItems:u}=this,i=e.key,s=e.target===this.dropdownActionEl.value;if(!e.defaultPrevented){if(i===" "||i==="Enter")n&&(!a||a&&s)&&(this.open=!l),!(a&&s)&&i!=="Enter"&&this.selectMenuItem(e),(i===" "||a&&s)&&e.preventDefault();else if(i==="Escape"){if(l){this.open=!1;return}this.calciteInternalMenuItemKeyEvent.emit({event:e}),e.preventDefault()}else if(i==="ArrowDown"||i==="ArrowUp"){if(e.preventDefault(),(s||!a)&&n&&!l&&b==="horizontal"){this.open=!0;return}this.calciteInternalMenuItemKeyEvent.emit({event:e,children:u,isSubmenuOpen:l&&n})}else if(i==="ArrowLeft")e.preventDefault(),this.calciteInternalMenuItemKeyEvent.emit({event:e,children:u,isSubmenuOpen:!0});else if(i==="ArrowRight"){if(e.preventDefault(),(s||!a)&&n&&!l&&b==="vertical"){this.open=!0;return}this.calciteInternalMenuItemKeyEvent.emit({event:e,children:u,isSubmenuOpen:l&&n})}}}selectMenuItem(e){e.target!==this.dropdownActionEl.value&&this.calciteMenuItemSelect.emit()}renderIconStart(){return c(t.iconStart,o`<calcite-icon class=${`${t.icon} ${t.iconStart}`} .flipRtl=${this.iconFlipRtl==="start"||this.iconFlipRtl==="both"} .icon=${this.iconStart} scale=s></calcite-icon>`)}renderIconEnd(){return c(t.iconEnd,o`<calcite-icon class=${`${t.icon} ${t.iconEnd}`} .flipRtl=${this.iconFlipRtl==="end"||this.iconFlipRtl==="both"} .icon=${this.iconEnd} scale=s></calcite-icon>`)}renderBreadcrumbIcon(e){return c(t.iconBreadcrumb,o`<calcite-icon class=${`${t.icon} ${t.iconBreadcrumb}`} .icon=${e==="rtl"?"chevron-left":"chevron-right"} scale=s></calcite-icon>`)}renderDropdownIcon(e){let n=e==="rtl"?"chevron-left":"chevron-right";return c(t.iconDropdown,o`<calcite-icon class=${`${t.icon} ${t.iconDropdown}`} .icon=${this.topLevelMenuLayout==="vertical"||this.isTopLevelItem?this.open?"chevron-up":"chevron-down":n} scale=s></calcite-icon>`)}renderDropdownAction(e){let n=e==="rtl"?"chevron-left":"chevron-right";return c(t.dropdownAction,o`<calcite-action class=${r(t.dropdownAction)} .icon=${this.topLevelMenuLayout==="vertical"||this.isTopLevelItem?this.open?"chevron-up":"chevron-down":n} @click=${this.clickHandler} @keydown=${this.keyDownHandler} .text=${this.messages.open} ${p(this.dropdownActionEl)}></calcite-action>`)}renderSubmenuItems(e){return o`<calcite-menu class=${r({[t.dropdownMenuItems]:!0,[t.open]:this.open,[t.nested]:!this.isTopLevelItem,[y.rtl]:e==="rtl",[t.dropdownVertical]:this.topLevelMenuLayout==="vertical"})} .label=${this.messages.submenu} layout=vertical role=menu><slot name=submenu-item @slotchange=${this.handleMenuItemSlotChange}></slot></calcite-menu>`}renderHrefIcon(e){return c(t.hoverHrefIcon,o`<calcite-icon class=${r(t.hoverHrefIcon)} .icon=${e==="rtl"?"arrow-left":"arrow-right"} scale=s></calcite-icon>`)}renderItemContent(e){let n=this.href&&(this.topLevelMenuLayout==="vertical"||!this.isTopLevelItem);return o`${this.iconStart&&this.renderIconStart()||""}<div class=${r(t.textContainer)}><span>${this.text}</span></div>${n&&this.renderHrefIcon(e)||""}${this.iconEnd&&this.renderIconEnd()||""}${this.breadcrumb?this.renderBreadcrumbIcon(e):null}${!this.href&&this.hasSubmenu?this.renderDropdownIcon(e):null}`}render(){let e=x(this.el);return o`<li class=${r({[t.container]:!0,[t.isParentVertical]:this.topLevelMenuLayout==="vertical"})} role=none><div class=${r(t.itemContent)}><a .ariaCurrent=${this.isFocused?"page":!1} .ariaExpanded=${this.open} .ariaHasPopup=${this.hasSubmenu} .ariaLabel=${this.label} class=${r({[t.layoutVertical]:this.layout==="vertical",[t.content]:!0})} href=${this.href??d} @click=${this.clickHandler} @keydown=${this.keyDownHandler} rel=${this.rel??d} role=menuitem .tabIndex=${this.isTopLevelItem?0:-1} target=${this.target??d} ${p(this.anchorEl)}>${this.renderItemContent(e)}</a>${this.href&&this.hasSubmenu?this.renderDropdownAction(e):null}</div>${this.renderSubmenuItems(e)}</li>`}};w("calcite-menu-item",v);export{v as MenuItem};
|
@@ -0,0 +1,4 @@
|
|
1
|
+
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
2
|
+
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
3
|
+
v3.0.0 */
|
4
|
+
import{b as _}from"./VJD4CRQ3.js";import"./YYJSHQR3.js";var d={name:"hi",weekdays:"\u0930\u0935\u093F\u0935\u093E\u0930_\u0938\u094B\u092E\u0935\u093E\u0930_\u092E\u0902\u0917\u0932\u0935\u093E\u0930_\u092C\u0941\u0927\u0935\u093E\u0930_\u0917\u0941\u0930\u0942\u0935\u093E\u0930_\u0936\u0941\u0915\u094D\u0930\u0935\u093E\u0930_\u0936\u0928\u093F\u0935\u093E\u0930".split("_"),months:"\u091C\u0928\u0935\u0930\u0940_\u092B\u093C\u0930\u0935\u0930\u0940_\u092E\u093E\u0930\u094D\u091A_\u0905\u092A\u094D\u0930\u0948\u0932_\u092E\u0908_\u091C\u0942\u0928_\u091C\u0941\u0932\u093E\u0908_\u0905\u0917\u0938\u094D\u0924_\u0938\u093F\u0924\u092E\u094D\u092C\u0930_\u0905\u0915\u094D\u091F\u0942\u092C\u0930_\u0928\u0935\u092E\u094D\u092C\u0930_\u0926\u093F\u0938\u092E\u094D\u092C\u0930".split("_"),weekdaysShort:"\u0930\u0935\u093F_\u0938\u094B\u092E_\u092E\u0902\u0917\u0932_\u092C\u0941\u0927_\u0917\u0941\u0930\u0942_\u0936\u0941\u0915\u094D\u0930_\u0936\u0928\u093F".split("_"),monthsShort:"\u091C\u0928._\u092B\u093C\u0930._\u092E\u093E\u0930\u094D\u091A_\u0905\u092A\u094D\u0930\u0948._\u092E\u0908_\u091C\u0942\u0928_\u091C\u0941\u0932._\u0905\u0917._\u0938\u093F\u0924._\u0905\u0915\u094D\u091F\u0942._\u0928\u0935._\u0926\u093F\u0938.".split("_"),weekdaysMin:"\u0930_\u0938\u094B_\u092E\u0902_\u092C\u0941_\u0917\u0941_\u0936\u0941_\u0936".split("_"),ordinal:function(t){return t},formats:{LT:"A h:mm \u092C\u091C\u0947",LTS:"A h:mm:ss \u092C\u091C\u0947",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u092C\u091C\u0947",LLLL:"dddd, D MMMM YYYY, A h:mm \u092C\u091C\u0947"},relativeTime:{future:"%s \u092E\u0947\u0902",past:"%s \u092A\u0939\u0932\u0947",s:"\u0915\u0941\u091B \u0939\u0940 \u0915\u094D\u0937\u0923",m:"\u090F\u0915 \u092E\u093F\u0928\u091F",mm:"%d \u092E\u093F\u0928\u091F",h:"\u090F\u0915 \u0918\u0902\u091F\u093E",hh:"%d \u0918\u0902\u091F\u0947",d:"\u090F\u0915 \u0926\u093F\u0928",dd:"%d \u0926\u093F\u0928",M:"\u090F\u0915 \u092E\u0939\u0940\u0928\u0947",MM:"%d \u092E\u0939\u0940\u0928\u0947",y:"\u090F\u0915 \u0935\u0930\u094D\u0937",yy:"%d \u0935\u0930\u094D\u0937"}};_.locale(d,null,!0);var M=d;export{M as default};
|
@@ -0,0 +1,4 @@
|
|
1
|
+
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
2
|
+
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
3
|
+
v3.0.0 */
|
4
|
+
import{a as r,b as a}from"./QAYSDI3M.js";var s={CET:"Europe/Brussels",CST6CDT:"America/Chicago",EET:"Europe/Athens",EST:"America/Panama",EST5EDT:"America/New_York",HST:"Pacific/Honolulu",MET:"Europe/Brussels",MST:"America/Phoenix",MST7MDT:"America/Denver",PST8PDT:"America/Los_Angeles",WET:"Europe/Lisbon"},t=(()=>{let e=Object.keys(s);return Object.keys(r()).filter(o=>!e.includes(o))})();function c(e){let o=s[e];return o||(a(e)?.aliasOf??e)}export{t as a,c as b};
|
@@ -0,0 +1,4 @@
|
|
1
|
+
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
2
|
+
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
3
|
+
v3.0.0 */
|
4
|
+
import{a as f,b as m,j as h,m as F,n as I,q as k}from"./7SX3RD7P.js";import"./KBDXI6DJ.js";import{a as H}from"./CIV3PH3Z.js";import"./UELGJSYH.js";import{b as R}from"./QU33PBBI.js";import{J as x,e as $,f as v,v as p,w as M,x as g}from"./KVSCG5E3.js";var l={calendar:"calendar",calendarContainer:"calendar-container",calendarStart:"calendar--start",currentDay:"current-day",dayContainer:"day-container",insideRangeHover:"inside-range--hover",month:"month",noncurrent:"noncurrent",outsideRangeHover:"outside-range--hover",weekDays:"week-days",weekHeader:"week-header",weekHeaderContainer:"week-header-container"},A=$`:host([hidden]){display:none}[hidden]{display:none}.calendar-container{display:flex;inline-size:100%}:host([range][layout=vertical]) .calendar-container{flex-direction:column}.calendar{inline-size:100%}.week-header-container{display:flex;block-size:16px;padding-inline:var(--calcite-spacing-sm);padding-block:var(--calcite-spacing-md)}.week-header{display:flex;align-items:center;justify-content:center;text-align:center;font-size:var(--calcite-font-size--2);line-height:1rem;font-weight:var(--calcite-font-weight-bold);inline-size:14.2857142857%;color:var(--calcite-date-picker-week-header-text-color, var(--calcite-color-text-3))}.day-container{display:flex;inline-size:100%;min-inline-size:0px;justify-content:center}.day-container calcite-date-picker-day{inline-size:100%}.week-days{display:grid;grid-template-columns:repeat(7,1fr);grid-auto-rows:1fr;padding-inline:var(--calcite-spacing-sm);padding-block-end:var(--calcite-spacing-sm)}.month-header{display:flex;inline-size:100%;justify-content:space-between}.month{display:flex;inline-size:100%;flex-direction:column;justify-content:space-between}.day{font-size:var(--calcite-font-size)}:host([scale=s]) .week-days{padding-inline:var(--calcite-spacing-xs);padding-block-end:var(--calcite-spacing-xs)}:host([scale=s]) .week-header-container{padding-inline:var(--calcite-spacing-xs);padding-block:var(--calcite-spacing-sm)}:host([scale=s]) .day{font-size:var(--calcite-font-size-sm)}:host([scale=l]) .week-header{font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]) .week-days{padding-inline:var(--calcite-spacing-md);padding-block-end:var(--calcite-spacing-md)}:host([scale=l]) .week-header-container{padding-inline:var(--calcite-spacing-md);padding-block:var(--calcite-spacing-md-plus)}:host([scale=l]) .day{font-size:var(--calcite-font-size-md)}.calendar--start{border-width:0px;border-style:solid;border-color:var(--calcite-date-picker-range-calendar-divider-color, var(--calcite-color-border-1))}:host([range][layout=horizontal]) .calendar--start{border-inline-end-width:var(--calcite-border-width-sm)}:host([range][layout=vertical]) .calendar--start{border-block-end-width:var(--calcite-border-width-sm)}.noncurrent{pointer-events:none;opacity:0}`,y=7,w=6,b=class extends M{constructor(){super(),this.activeDate=new Date,this.range=!1,this.calciteInternalDatePickerDayHover=p({cancelable:!1}),this.calciteInternalDatePickerDaySelect=p({cancelable:!1}),this.calciteInternalDatePickerMonthActiveDateChange=p({cancelable:!1}),this.calciteInternalDatePickerMonthChange=p({cancelable:!1}),this.calciteInternalDatePickerMonthMouseOut=p({cancelable:!1}),this.listen("pointerout",this.pointerOutHandler),this.listen("focusout",this.disableActiveFocus)}static{this.properties={focusedDate:16,activeDate:0,dateTimeFormat:0,endDate:0,headingLevel:11,hoverRange:0,layout:3,localeData:0,max:0,messages:0,min:0,monthStyle:1,range:7,scale:3,selectedDate:0,startDate:0}}static{this.styles=A}load(){this.focusedDate=this.selectedDate||this.activeDate}willUpdate(e){e.has("activeDate")&&this.updateFocusedDateWithActive(this.activeDate),e.has("selectedDate")&&(this.focusedDate=this.selectedDate)}updateFocusedDateWithActive(e){this.selectedDate||(this.focusedDate=f(e,this.min,this.max)?e:m(e,this.min,this.max))}keyDownHandler(e){if(e.defaultPrevented)return;let a=this.el.dir==="rtl",t=e.target.value;switch(e.key){case"ArrowUp":e.preventDefault(),this.addDays(-7,t);break;case"ArrowRight":e.preventDefault(),this.addDays(a?-1:1,t);break;case"ArrowDown":e.preventDefault(),this.addDays(7,t);break;case"ArrowLeft":e.preventDefault(),this.addDays(a?1:-1,t);break;case"PageUp":e.preventDefault(),this.addMonths(-1,t);break;case"PageDown":e.preventDefault(),this.addMonths(1,t);break;case"Home":e.preventDefault(),this.activeDate.setDate(1),this.addDays(0,t);break;case"End":e.preventDefault(),this.activeDate.setDate(new Date(this.activeDate.getFullYear(),this.activeDate.getMonth()+1,0).getDate()),this.addDays(0,t);break;case"Enter":case" ":e.preventDefault();break;case"Tab":this.activeFocus=!1}}disableActiveFocus(){this.activeFocus=!1}pointerOutHandler(){this.calciteInternalDatePickerMonthMouseOut.emit()}addMonths(e,a){let t=new Date(a);t.setMonth(a.getMonth()+e),this.calciteInternalDatePickerMonthActiveDateChange.emit(m(t,this.min,this.max)),this.focusedDate=m(t,this.min,this.max),this.activeFocus=!0,this.calciteInternalDatePickerDayHover.emit(t)}addDays(e=0,a){let t=new Date(a);t.setDate(a.getDate()+e),this.calciteInternalDatePickerMonthActiveDateChange.emit(m(t,this.min,this.max)),this.focusedDate=m(t,this.min,this.max),this.activeFocus=!0,this.calciteInternalDatePickerDayHover.emit(t)}getPreviousMonthDays(e,a,t){let i=new Date(a,e,0),s=i.getDate(),n=i.getDay(),r=[];if(n===(t+w)%y)return r;if(n===t)return[s];for(let c=(y+n-t)%y;c>=0;c--)r.push(s-c);return r}getCurrentMonthDays(e,a){let t=new Date(a,e+1,0).getDate(),i=[];for(let s=0;s<t;s++)i.push(s+1);return i}getNextMonthDays(e,a,t){let i=new Date(a,e+1,0).getDay(),s=[];if(i===(t+w)%y)return s;for(let n=0;n<(w-(i-t))%y;n++)s.push(n+1);return s}betweenSelectedRange(e){return!!(this.startDate&&this.endDate&&e>this.startDate&&e<this.endDate&&!this.isRangeHover(e))}isSelected(e){return!!(h(e,this.selectedDate)||this.startDate&&h(e,this.startDate)||this.endDate&&h(e,this.endDate))}isStartOfRange(e){return!!(this.startDate&&!h(this.startDate,this.endDate)&&h(this.startDate,e)&&!this.isEndOfRange(e))}isEndOfRange(e){return!!(this.endDate&&!h(this.startDate,this.endDate)&&h(this.endDate,e)||!this.endDate&&this.hoverRange&&h(this.startDate,this.hoverRange.end)&&h(e,this.hoverRange.end))}dayHover(e){let a=e.target;a.disabled?this.calciteInternalDatePickerMonthMouseOut.emit():this.calciteInternalDatePickerDayHover.emit(a.value),e.stopPropagation()}daySelect(e){let a=e.target;this.activeFocus=!1,this.calciteInternalDatePickerDaySelect.emit(a.value),e.stopPropagation()}isFocusedOnStart(){return this.hoverRange?.focused==="start"}isHoverInRange(){if(!this.hoverRange||!this.startDate)return!1;let{start:e,end:a}=this.hoverRange,t=this.isFocusedOnStart(),i=this.startDate&&a>this.startDate,s=this.endDate&&a<this.endDate,n=this.startDate&&e>this.startDate,r=this.endDate&&e<this.endDate,c=!t&&this.startDate&&i&&(!this.endDate||s),o=t&&this.startDate&&n&&r;return c||o}isRangeHover(e){if(!this.hoverRange)return!1;let{start:a,end:t}=this.hoverRange,i=this.isFocusedOnStart(),s=this.isHoverInRange(),n=e>a&&e<this.startDate,r=e<t&&e>this.endDate,c=e>t&&e<this.endDate,o=e<a&&e>this.startDate,d=e<t&&e>this.startDate,D=e>a&&e<this.endDate,u=this.startDate&&this.endDate;if(s){if(u)return i?e<this.endDate&&(o||n):c||r;if(this.startDate&&!this.endDate)return i?n:d;if(!this.startDate&&this.endDate)return i?D:r}else if(u)return i?n:r}getDays(e,a,t,i="start"){let s=this.activeDate.getMonth(),n=s+1;s=i==="end"?n:s;let r=0,c=()=>r++%7,o=this.activeDate.getFullYear();return[...e.map(d=>({active:!1,day:d,dayInWeek:c(),date:new Date(o,s-1,d)})),...a.map(d=>{let D=new Date(o,s,d),u=h(D,new Date);return{active:this.focusedDate&&this.focusedDate!==this.startDate&&this.focusedDate!==this.endDate?h(D,this.focusedDate):h(D,this.startDate)||h(D,this.endDate),currentMonth:!0,currentDay:u,day:d,dayInWeek:c(),date:D,ref:!0}}),...t.map(d=>({active:!1,day:d,dayInWeek:c(),date:new Date(o,n,d)}))]}monthHeaderSelectChange(e){let a=new Date(e.detail),t=e.target;this.updateFocusableDate(a),e.stopPropagation(),this.calciteInternalDatePickerMonthChange.emit({date:a,position:t.position})}updateFocusableDate(e){!this.selectedDate||!this.range?this.focusedDate=this.getFirstValidDateOfMonth(e):this.selectedDate&&this.range&&(!k(this.startDate,e)||!k(this.endDate,e))&&(this.focusedDate=this.getFirstValidDateOfMonth(e))}getFirstValidDateOfMonth(e){return e.getDate()===1?e:F(e,this.min,this.max)}render(){let e=this.activeDate.getMonth(),a=this.activeDate.getFullYear(),t=this.localeData.weekStart%7,{abbreviated:i,short:s,narrow:n}=this.localeData.days,r=this.scale==="s"?n||s||i:s||i||n,c=[...r.slice(t,7),...r.slice(0,t)],o=this.getCurrentMonthDays(e,a),d=this.getPreviousMonthDays(e,a,t),D=this.getNextMonthDays(e,a,t),u=e+1,P=this.getPreviousMonthDays(u,a,t),C=this.getCurrentMonthDays(u,a),S=this.getNextMonthDays(u,a,t),z=this.getDays(d,o,D),O=this.getDays(P,C,S,"end");return v`<div class=${g({[l.calendarContainer]:!0})} role=grid>${this.renderCalendar(c,z)}${this.range&&this.renderCalendar(c,O,!0)||""}</div>`}renderDateDay({active:e,currentMonth:a,currentDay:t,date:i,day:s,dayInWeek:n,ref:r},c){let o=f(i,this.min,this.max);return H(c,v`<div class=${g({[l.dayContainer]:!0})} role=gridcell><calcite-date-picker-day .active=${e} class=${g({[l.currentDay]:t,[l.insideRangeHover]:this.isHoverInRange(),[l.outsideRangeHover]:!this.isHoverInRange(),[l.noncurrent]:this.range&&!a})} .currentMonth=${a} .dateTimeFormat=${this.dateTimeFormat} .day=${s} .disabled=${!o} .endOfRange=${this.isEndOfRange(i)} .highlighted=${this.betweenSelectedRange(i)} @calciteInternalDayHover=${this.dayHover} @calciteInternalDaySelect=${this.daySelect} .range=${!!this.startDate&&!!this.endDate&&!h(this.startDate,this.endDate)} .rangeEdge=${n===0?"start":n===6?"end":void 0} .rangeHover=${o&&this.isRangeHover(i)} .scale=${this.scale} .selected=${this.isSelected(i)} .startOfRange=${this.isStartOfRange(i)} .value=${i} ${R(d=>{r&&e&&this.activeFocus&&d?.setFocus()})}></calcite-date-picker-day></div>`)}renderCalendar(e,a,t=!1){return v`<div class=${g({[l.calendar]:!0,[l.calendarStart]:!t})}><calcite-date-picker-month-header .activeDate=${t?I(this.activeDate):this.activeDate} data-test-calendar=${t?"end":"start"} .headingLevel=${this.headingLevel} .localeData=${this.localeData} .max=${this.max} .messages=${this.messages} .min=${this.min} .monthStyle=${this.monthStyle} @calciteInternalDatePickerMonthHeaderSelectChange=${this.monthHeaderSelectChange} .position=${t?"end":this.range?"start":null} .scale=${this.scale} .selectedDate=${this.selectedDate}></calcite-date-picker-month-header>${this.renderMonthCalendar(e,a,t)}</div>`}renderMonthCalendar(e,a,t=!1){return v`<div class=${g({[l.month]:!0})} @keydown=${this.keyDownHandler}><div class=${g({[l.weekHeaderContainer]:!0})} role=row>${e.map(i=>v`<span class=${g({[l.weekHeader]:!0})} role=columnheader>${i}</span>`)}</div><div class=${g({[l.weekDays]:!0})} role=row>${a.map((i,s)=>this.renderDateDay(i,t?50+s:s))}</div></div>`}};x("calcite-date-picker-month",b);export{b as DatePickerMonth};
|
@@ -0,0 +1,4 @@
|
|
1
|
+
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
2
|
+
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
3
|
+
v3.0.0 */
|
4
|
+
import{a as x,b as u}from"./LOZEGKG2.js";import{a as l}from"./3IV6JSC2.js";import"./KW57BHXD.js";import{a as f}from"./UELGJSYH.js";import{a as b}from"./ARHYATTG.js";import{a as s,b as o}from"./QU33PBBI.js";import{u as m}from"./CMO3X257.js";import{b as g}from"./GN5CPLSJ.js";import"./I2OIH73C.js";import{G as d,J as v,e as p,f as i,v as a,w as h,x as t}from"./KVSCG5E3.js";var c={title:"title",close:"close",imageContainer:"image-container",chipIcon:"chip-icon",textSlotted:"text--slotted",container:"container",imageSlotted:"image--slotted",closable:"closable",multiple:"multiple",single:"single",selectable:"selectable",selectIcon:"select-icon",selectIconActive:"select-icon--active",nonInteractive:"non-interactive",isCircle:"is-circle",selected:"selected"},y={image:"image"},n={close:"x",checkedSingle:"circle-f",uncheckedMultiple:"square",checkedMultiple:"check-square-f"},C=p`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:inline-flex;cursor:default;border-radius:var(--calcite-chip-corner-radius, 9999px)}:host([closed]){display:none}:host([appearance=outline]) .container,:host([appearance=outline-fill]) .container{color:var(--calcite-chip-text-color, var(--calcite-color-text-1))}:host([appearance=outline]) .close,:host([appearance=outline-fill]) .close{color:var(--calcite-chip-close-icon-color, var(--calcite-close-icon-color, var(--calcite-color-text-3)))}:host([appearance=outline]):host([kind=brand]) .container,:host([appearance=outline-fill]):host([kind=brand]) .container{border-color:var(--calcite-chip-border-color, var(--calcite-color-brand))}:host([appearance=outline]):host([kind=inverse]) .container,:host([appearance=outline-fill]):host([kind=inverse]) .container{border-color:var(--calcite-chip-border-color, var(--calcite-color-border-inverse))}:host([appearance=outline]):host([kind=neutral]) .container,:host([appearance=outline-fill]):host([kind=neutral]) .container{border-color:var(--calcite-chip-border-color, var(--calcite-color-border-1))}:host([appearance=outline]) .container{background-color:transparent}:host([appearance=outline-fill]) .container{background-color:var(--calcite-chip-background-color, var(--calcite-color-foreground-1))}:host([appearance=solid]) .container{border-color:transparent}:host([appearance=solid]):host([kind=brand]) .container,:host([appearance=solid]):host([kind=inverse]) .container{color:var(--calcite-chip-text-color, var(--calcite-color-text-inverse))}:host([appearance=solid]):host([kind=brand]) .close,:host([appearance=solid]):host([kind=inverse]) .close{outline-color:var(--calcite-color-text-inverse)}:host([appearance=solid]):host([kind=brand]) .container{background-color:var(--calcite-chip-background-color, var(--calcite-color-brand))}:host([appearance=solid]):host([kind=inverse]) .container{background-color:var(--calcite-chip-background-color, var(--calcite-color-inverse))}:host([appearance=solid]):host([kind=inverse]) .close:hover{background-color:var(--calcite-color-inverse-hover)}:host([appearance=solid]):host([kind=inverse]) .close:active{background-color:var(--calcite-color-inverse-press)}:host([appearance=solid]):host([kind=neutral]) .container{background-color:var(--calcite-chip-background-color, var(--calcite-color-foreground-2))}:host([kind=neutral]) .container{color:var(--calcite-chip-text-color, var(--calcite-color-text-1))}:host([kind=neutral]) .close{color:var(--calcite-chip-close-icon-color, var(--calcite-close-icon-color, var(--calcite-color-text-3)))}:host([selected]) .select-icon{opacity:1}:host([scale=s]) .container{--calcite-internal-chip-block-size: var(--calcite-size-sm, 1.5rem) ;--calcite-internal-chip-container-space-x-end: var(--calcite-spacing-xxs, .25rem) ;--calcite-internal-chip-container-space-x-start: var(--calcite-spacing-xxs, .25rem) ;--calcite-internal-chip-font-size: var(--calcite-font-size--2);--calcite-internal-chip-icon-size: var(--calcite-size-xs, 1rem) ;--calcite-internal-chip-icon-space: var(--calcite-spacing-xxs, .25rem) ;--calcite-internal-chip-image-size: var(--calcite-spacing-xl, 1.25rem) ;--calcite-internal-chip-title-space: var(--calcite-spacing-xxs, .25rem) ;--calcite-internal-close-size: var(--calcite-size-xs, 1rem) }:host([scale=s]) .container:not(.closable).is-circle{--calcite-internal-chip-container-space-x-start: var(--calcite-spacing-px);--calcite-internal-chip-container-space-x-end: var(--calcite-spacing-px)}:host([scale=s]) .container.image--slotted:has(.chip-icon),:host([scale=s]) .container.image--slotted.text--slotted,:host([scale=s]) .container.image--slotted.closable{--calcite-internal-chip-image-space-x-end: var(--calcite-spacing-xxs, .25rem) }:host([scale=s]) .container.image--slotted:not(.text--slotted,:has(.chip-icon)),:host([scale=s]) .container.image--slotted:not(.selectable){--calcite-internal-chip-container-space-x-start: var(--calcite-spacing-px)}:host([scale=s]) .container.selectable.single:not(.is-circle).image--slotted{--calcite-internal-chip-container-space-x-start: var(--calcite-spacing-px)}:host([scale=s]) .container.selectable.single:not(.is-circle).selected{--calcite-internal-chip-select-space-x-end: var(--calcite-spacing-xs, .375rem) ;--calcite-internal-chip-select-space-x-start: var(--calcite-spacing-none, 0)}:host([scale=s]) .container.selectable.single:not(.is-circle).selected.image--slotted{--calcite-internal-chip-select-space-x-end: .5rem ;--calcite-internal-chip-select-space-x-start: .125rem }:host([scale=s]) .container.multiple:not(.is-circle){--calcite-internal-chip-container-space-x-start: var(--calcite-spacing-xxs, .25rem) ;--calcite-internal-chip-select-space-x-end: var(--calcite-spacing-xxs, .25rem) ;--calcite-internal-chip-select-space-x-start: var(--calcite-spacing-xxs, .25rem) }:host([scale=s]) .container.multiple:not(.is-circle).image--slotted{--calcite-internal-chip-select-space-x-end: .5rem ;--calcite-internal-chip-select-space-x-start: var(--calcite-spacing-xs, .375rem) ;--calcite-internal-chip-container-space-x-start: var(--calcite-spacing-px)}:host([scale=s]) .container.multiple:not(.is-circle).image--slotted:not(.text--slotted){--calcite-internal-chip-select-space-x-start: var(--calcite-spacing-xs, .375rem) }:host([scale=m]) .container{--calcite-internal-chip-block-size: var(--calcite-size-md, 2rem) ;--calcite-internal-chip-container-space-x-end: var(--calcite-spacing-xs, .375rem) ;--calcite-internal-chip-container-space-x-start: var(--calcite-spacing-xs, .375rem) ;--calcite-internal-chip-font-size: var(--calcite-font-size--1);--calcite-internal-chip-icon-size: var(--calcite-size-sm, 1.5rem) ;--calcite-internal-chip-icon-space: var(--calcite-spacing-xs, .375rem) ;--calcite-internal-chip-image-size: var(--calcite-size-sm, 1.5rem) ;--calcite-internal-chip-title-space: var(--calcite-spacing-xs, .375rem) ;--calcite-internal-close-size: var(--calcite-size-sm, 1.5rem) }:host([scale=m]) .container:not(.closable).is-circle{--calcite-internal-chip-container-space-x-end: var(--calcite-spacing-px);--calcite-internal-chip-container-space-x-start: var(--calcite-spacing-px)}:host([scale=m]) .container.image--slotted:not(.is-circle){--calcite-internal-chip-container-space-x-start: var(--calcite-spacing-xxs, .25rem) }:host([scale=m]) .container.image--slotted:has(.chip-icon),:host([scale=m]) .container.image--slotted.text--slotted,:host([scale=m]) .container.image--slotted.closable{--calcite-internal-chip-image-space-x-end: var(--calcite-spacing-xs, .375rem) }:host([scale=m]) .container.selectable.single:not(.is-circle).image--slotted{--calcite-internal-chip-container-space-x-start: var(--calcite-spacing-xxs, .25rem) }:host([scale=m]) .container.selectable.single:not(.is-circle).selected{--calcite-internal-chip-select-space-x-end: var(--calcite-spacing-px);--calcite-internal-chip-select-space-x-start: var(--calcite-spacing-none, 0)}:host([scale=m]) .container.selectable.single:not(.is-circle).selected.image--slotted{--calcite-internal-chip-select-space-x-end: var(--calcite-spacing-xxs, .25rem) ;--calcite-internal-chip-select-space-x-start: var(--calcite-spacing-xs, .375rem) }:host([scale=m]) .container.multiple:not(.is-circle){--calcite-internal-chip-select-space-x-end: .125rem ;--calcite-internal-chip-select-space-x-start: .125rem }:host([scale=m]) .container.multiple:not(.is-circle).image--slotted{--calcite-internal-chip-select-space-x-end: .5rem ;--calcite-internal-chip-select-space-x-start: var(--calcite-spacing-xxs, .25rem) }:host([scale=m]) .container.closable:not(.is-circle){--calcite-internal-chip-container-space-x-end: var(--calcite-spacing-xxs, .25rem) }:host([scale=l]) .container{--calcite-internal-chip-block-size: 2.75rem ;--calcite-internal-chip-container-space-x-end: .5rem ;--calcite-internal-chip-container-space-x-start: .5rem ;--calcite-internal-chip-font-size: var(--calcite-font-size-0);--calcite-internal-chip-icon-size: var(--calcite-size-md, 2rem) ;--calcite-internal-chip-icon-space: .5rem ;--calcite-internal-chip-image-size: var(--calcite-size-md, 2rem) ;--calcite-internal-chip-title-space: .5rem ;--calcite-internal-close-size: var(--calcite-size-md, 2rem) }:host([scale=l]) .container:not(.closable).is-circle{--calcite-internal-chip-container-space-x-end: var(--calcite-spacing-xxs, .25rem) ;--calcite-internal-chip-container-space-x-start: var(--calcite-spacing-xxs, .25rem) }:host([scale=l]) .container.image--slotted:not(.is-circle){--calcite-internal-chip-container-space-x-start: var(--calcite-spacing-xs, .375rem) }:host([scale=l]) .container.image--slotted:has(.chip-icon),:host([scale=l]) .container.image--slotted.text--slotted,:host([scale=l]) .container.image--slotted.closable{--calcite-internal-chip-image-space-x-end: .5rem }:host([scale=l]) .container.selectable.single:not(.is-circle).image--slotted{--calcite-internal-chip-container-space-x-start: var(--calcite-spacing-xs, .375rem) }:host([scale=l]) .container.selectable.single:not(.is-circle).selected{--calcite-internal-chip-select-space-x-end: var(--calcite-spacing-xxs, .25rem) ;--calcite-internal-chip-select-space-x-start: var(--calcite-spacing-none, 0)}:host([scale=l]) .container.selectable.single:not(.is-circle).selected.image--slotted{--calcite-internal-chip-select-space-x-end: var(--calcite-spacing-xs, .375rem) ;--calcite-internal-chip-select-space-x-start: .5rem }:host([scale=l]) .container.multiple:not(.is-circle){--calcite-internal-chip-container-space-x-start: .5rem ;--calcite-internal-chip-select-space-x-end: var(--calcite-spacing-xxs, .25rem) ;--calcite-internal-chip-select-space-x-start: var(--calcite-spacing-xxs, .25rem) }:host([scale=l]) .container.multiple:not(.is-circle).image--slotted{--calcite-internal-chip-select-space-x-end: .75rem }:host([scale=l]) .container.closable:not(.is-circle){--calcite-internal-chip-container-space-x-end: var(--calcite-spacing-xs, .375rem) }.container{box-sizing:border-box;display:inline-flex;block-size:100%;max-inline-size:100%;align-items:center;justify-content:center;font-weight:var(--calcite-font-weight-medium);outline-color:transparent;border-radius:var(--calcite-chip-corner-radius, 9999px);border-width:var(--calcite-border-width-sm);border-style:solid;font-size:var(--calcite-internal-chip-font-size, var(--calcite-font-size));padding-inline-start:var(--calcite-internal-chip-container-space-x-start);padding-inline-end:var(--calcite-internal-chip-container-space-x-end);block-size:var(--calcite-internal-chip-block-size, auto);inline-size:var(--calcite-internal-chip-inline-size, auto);min-inline-size:var(--calcite-internal-chip-block-size, auto)}.container:hover .select-icon--active{opacity:var(--calcite-opacity-full, 1)}.container.selectable{cursor:pointer}.container:not(.non-interactive):focus{outline:2px solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}.container.text--slotted .title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.container:not(.text--slotted) .title,.container:not(.image--slotted) .image-container{display:none}.container.is-circle .chip-icon,.container.is-circle .image-container{padding:var(--calcite-spacing-none, 0)}.title{padding-inline:var(--calcite-internal-chip-title-space)}.image-container{display:inline-flex;overflow:hidden;align-items:center;justify-content:center;pointer-events:none;block-size:var(--calcite-internal-chip-image-size, var(--calcite-spacing-xxl, 1.5rem));inline-size:var(--calcite-internal-chip-image-size, var(--calcite-spacing-xxl, 1.5rem));padding-inline-start:var(--calcite-spacing-none, 0);padding-inline-end:var(--calcite-internal-chip-image-space-x-end, 0)}.chip-icon{position:relative;margin-block:0px;display:inline-flex;transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1);color:var(--calcite-chip-icon-color, var(--calcite-chip-text-color, var(--calcite-icon-color, currentColor)));padding-inline:var(--calcite-internal-chip-icon-space, var(--calcite-spacing-xs, .375rem))}.select-icon{align-self:center;justify-content:center;align-items:center;display:flex;inset-block-start:-1px;position:absolute;visibility:hidden;inline-size:auto;opacity:0;transition:opacity .15s ease-in-out,inline-size .15s ease-in-out;color:var(--calcite-chip-select-icon-color, currentColor)}.select-icon.select-icon--active{position:relative;visibility:visible;opacity:var(--calcite-opacity-half, .5);color:var(--calcite-chip-select-icon-color-pressed, var(--calcite-chip-select-icon-color, currentColor))}.multiple .select-icon{display:flex;align-items:center;justify-content:center}.multiple .select-icon,.single .select-icon--active{padding-inline-start:var(--calcite-internal-chip-select-space-x-start);padding-inline-end:var(--calcite-internal-chip-select-space-x-end);block-size:var(--calcite-internal-chip-icon-size, var(--calcite-spacing-xxl, 1.5rem));inline-size:var(--calcite-internal-chip-icon-size, var(--calcite-spacing-xxl, 1.5rem))}slot[name=image]::slotted(*){display:flex;block-size:100%;inline-size:100%;overflow:hidden;border-radius:50%}.close{margin:0;cursor:pointer;align-items:center;border-radius:50%;border-style:none;outline-color:transparent;transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out;background-color:var(--calcite-close-background-color, var(--calcite-color-transparent));-webkit-appearance:none;display:flex;align-content:center;justify-content:center;color:var(--calcite-chip-close-icon-color, var(--calcite-close-icon-color, currentColor));block-size:var(--calcite-internal-close-size, var(--calcite-spacing-xxl, 1.5rem));inline-size:var(--calcite-internal-close-size, var(--calcite-spacing-xxl, 1.5rem));padding:0}.close:hover,.close:focus{background-color:var(--calcite-close-background-color-hover, var(--calcite-color-transparent-hover))}.close:focus{outline:2px solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(-2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}.close:active{background-color:var(--calcite-close-background-color-press, var(--calcite-color-transparent-press))}.close calcite-icon{color:inherit}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([hidden]){display:none}[hidden]{display:none}`,r=class extends h{constructor(){super(),this.closeButtonEl=s(),this.containerEl=s(),this.hasImage=!1,this.hasText=!1,this.appearance="solid",this.closable=!1,this.closed=!1,this.closeOnDelete=!1,this.disabled=!1,this.iconFlipRtl=!1,this.interactive=!1,this.kind="neutral",this.messages=b(),this.scale="m",this.selected=!1,this.selectionMode="none",this.calciteChipClose=a({cancelable:!1}),this.calciteChipSelect=a({cancelable:!1}),this.calciteInternalChipKeyEvent=a({cancelable:!1}),this.calciteInternalChipSelect=a({cancelable:!1}),this.calciteInternalSyncSelectedChips=a({cancelable:!1}),this.listen("keydown",this.keyDownHandler),this.listen("click",this.clickHandler)}static{this.properties={hasImage:16,hasText:16,appearance:3,closable:7,closed:7,closeOnDelete:7,disabled:7,icon:3,iconFlipRtl:7,interactive:5,kind:3,label:1,messageOverrides:0,parentChipGroup:0,scale:3,selected:7,selectionMode:1,value:1}}static{this.styles=C}async setFocus(){await g(this),!this.disabled&&this.interactive?this.containerEl.value?.focus():!this.disabled&&this.closable&&this.closeButtonEl.value?.focus()}async load(){d()&&this.updateHasText()}willUpdate(e){e.has("selected")&&this.hasUpdated&&this.watchSelected(this.selected)}updated(){x(this)}loaded(){this.selectionMode!=="none"&&this.interactive&&this.selected&&this.handleSelectionPropertyChange(this.selected)}watchSelected(e){this.selectionMode!=="none"&&this.handleSelectionPropertyChange(e)}keyDownHandler(e){if(e.target===this.el)switch(e.key){case" ":case"Enter":this.handleEmittingEvent(),e.preventDefault();break;case"Backspace":case"Delete":this.closable&&!this.closed&&this.closeOnDelete&&(e.preventDefault(),this.close());break;case"ArrowRight":case"ArrowLeft":case"Home":case"End":this.calciteInternalChipKeyEvent.emit(e),e.preventDefault();break}}clickHandler(){!this.interactive&&this.closable&&this.closeButtonEl.value.focus()}handleDefaultSlotChange(){this.updateHasText()}close(){this.calciteChipClose.emit(),this.selected=!1,this.closed=!0}closeButtonKeyDownHandler(e){f(e.key)&&(e.preventDefault(),this.close())}updateHasText(){this.hasText=this.el.textContent.trim().length>0}handleSlotImageChange(e){this.hasImage=m(e)}handleEmittingEvent(){this.interactive&&this.calciteChipSelect.emit()}handleSelectionPropertyChange(e){this.selectionMode==="single"&&this.calciteInternalSyncSelectedChips.emit(),!this.parentChipGroup.selectedItems.includes(this.el)&&e&&this.selectionMode!=="multiple"&&this.calciteInternalChipSelect.emit(),this.selectionMode!=="single"&&this.calciteInternalSyncSelectedChips.emit()}renderChipImage(){return i`<div class=${t(c.imageContainer)}><slot name=${y.image} @slotchange=${this.handleSlotImageChange}></slot></div>`}renderSelectionIcon(){let e=this.selectionMode==="multiple"?this.selected?n.checkedMultiple:n.uncheckedMultiple:this.selected?n.checkedSingle:void 0;return i`<div class=${t({[c.selectIcon]:!0,[c.selectIconActive]:this.selectionMode==="multiple"||this.selected})}>${e?i`<calcite-icon .icon=${e} .scale=${l(this.scale)}></calcite-icon>`:null}</div>`}renderCloseButton(){return i`<button .ariaLabel=${this.messages.dismissLabel} class=${t(c.close)} @click=${this.close} @keydown=${this.closeButtonKeyDownHandler} .tabIndex=${this.disabled?-1:0} ${o(this.closeButtonEl)}><calcite-icon .icon=${n.close} .scale=${l(this.scale)}></calcite-icon></button>`}renderIcon(){return i`<calcite-icon class=${t(c.chipIcon)} .flipRtl=${this.iconFlipRtl} .icon=${this.icon} .scale=${l(this.scale)}></calcite-icon>`}render(){let{disabled:e}=this,k=e||!e&&!this.interactive,z=this.selectionMode==="multiple"&&this.interactive?"checkbox":this.selectionMode!=="none"&&this.interactive?"radio":this.interactive?"button":"img";return u({disabled:e,children:i`<div .ariaChecked=${this.selectionMode!=="none"&&this.interactive?this.selected:void 0} .ariaLabel=${this.label} class=${t({[c.container]:!0,[c.textSlotted]:this.hasText,[c.imageSlotted]:this.hasImage,[c.selectable]:this.selectionMode!=="none",[c.multiple]:this.selectionMode==="multiple",[c.single]:this.selectionMode==="single"||this.selectionMode==="single-persist",[c.selected]:this.selected,[c.closable]:this.closable,[c.nonInteractive]:!this.interactive,[c.isCircle]:!this.closable&&!this.hasText&&(!this.icon||!this.hasImage)&&(this.selectionMode==="none"||!!this.selectionMode&&this.selectionMode!=="multiple"&&!this.selected)})} @click=${this.handleEmittingEvent} .role=${z} .tabIndex=${k?-1:0} ${o(this.containerEl)}>${this.selectionMode!=="none"&&this.renderSelectionIcon()||""}${this.renderChipImage()}${this.icon&&this.renderIcon()||""}<span class=${t(c.title)}><slot @slotchange=${this.handleDefaultSlotChange}></slot></span>${this.closable&&this.renderCloseButton()||""}</div>`})}};v("calcite-chip",r);export{r as Chip};
|
@@ -0,0 +1,4 @@
|
|
1
|
+
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
2
|
+
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
3
|
+
v3.0.0 */
|
4
|
+
import{a as x,h as v,k as B,l as f,m as $,n as p,o as m,p as y,q as o,r as c,s as T}from"./GNUSLZWJ.js";import"./OLMX7G3J.js";import"./L5FDXQMT.js";import{a as k}from"./CIV3PH3Z.js";import{b as d}from"./QU33PBBI.js";import{l as D}from"./CMO3X257.js";import{b as E}from"./GN5CPLSJ.js";import"./I2OIH73C.js";import{J as V,e as F,f as C,v as O,w as S,x as I}from"./KVSCG5E3.js";var g={container:"container",hexInput:"hex-input",opacityInput:"opacity-input"},U=F`:host{display:block}.container{display:flex;inline-size:100%;flex-wrap:nowrap;align-items:center}.hex-input{flex-grow:1;text-transform:uppercase}.opacity-input{inline-size:100px;margin-inline-start:-1px}:host([hidden]){display:none}[hidden]{display:none}`,b=x(),N=class extends S{constructor(){super(...arguments),this.internalColor=b,this.alphaChannel=!1,this.allowEmpty=!1,this.hexLabel="Hex",this.scale="m",this.value=o(c(b,this.alphaChannel),this.alphaChannel,!0),this.calciteColorPickerHexInputChange=O({cancelable:!1})}static{this.properties={internalColor:16,alphaChannel:5,allowEmpty:5,hexLabel:1,messages:0,numberingSystem:1,scale:3,value:3}}static{this.styles=U}async setFocus(){return await E(this),D(this.hexInputNode)}connectedCallback(){super.connectedCallback(),this.previousNonNullValue=this.value;let{allowEmpty:t,alphaChannel:e,value:a}=this;if(a){let n=o(a,e);p(n,e)&&this.internalSetValue(n,n,!1);return}t&&this.internalSetValue(void 0,void 0,!1)}load(){}willUpdate(t){t.has("value")&&(this.hasUpdated||this.value!==o(c(b,this.alphaChannel),this.alphaChannel,!0))&&this.internalSetValue(this.value,t.get("value"),!1)}loaded(){}onHexInputBlur(){let t=this.hexInputNode,e=t.value,a=`#${e}`,{allowEmpty:n,internalColor:i}=this,s=n&&!e,l=y(a);(m(a,!0)||m(a,!1))&&this.onHexInputChange(),!(s||p(a)&&l)&&(t.value=n&&!i?"":this.formatHexForInternalInput(T(i.object())))}onOpacityInputBlur(){let t=this.opacityInputNode,e=t.value,{allowEmpty:a,internalColor:n}=this;a&&!e||(t.value=a&&!n?"":this.formatOpacityForInternalInput(n))}onOpacityInputInput(){this.onOpacityInputChange()}onHexInputChange(){let t=this.hexInputNode.value;if(t){let e=o(t,!1);if(p(e)&&this.alphaChannel&&this.internalColor){let a=o(this.internalColor.hexa(),!0).slice(-2);t=`${e+a}`}}this.internalSetValue(t,this.value)}onOpacityInputChange(){let t=this.opacityInputNode,e;if(!t.value)e=t.value;else{let a=$(Number(t.value));e=this.internalColor?.alpha(a).hexa()}this.internalSetValue(e,this.value)}onInputFocus(t){t.type==="calciteInternalInputTextFocus"?this.hexInputNode.selectText():this.opacityInputNode.selectText()}onHexInputInput(){let t=`#${this.hexInputNode.value}`,e=this.value;p(t,this.alphaChannel)&&y(t,this.alphaChannel)&&this.internalSetValue(t,e)}onInputKeyDown(t){let{altKey:e,ctrlKey:a,metaKey:n,shiftKey:i}=t,{alphaChannel:s,hexInputNode:l,internalColor:r,value:u}=this,{key:h}=t,w=t.composedPath();if(h==="Tab"&&m(u,this.alphaChannel)||h==="Enter"){w.includes(l)?this.onHexInputChange():this.onOpacityInputChange(),h==="Enter"&&t.preventDefault();return}let K=h==="ArrowDown"||h==="ArrowUp",H=this.value;if(K){if(!u){this.internalSetValue(this.previousNonNullValue,H),t.preventDefault();return}let A=h==="ArrowUp"?1:-1,z=i?10:1;this.internalSetValue(c(this.nudgeRGBChannels(r,z*A,w.includes(l)?"rgb":"a"),s),H),t.preventDefault();return}let P=e||a||n,R=h.length===1,L=B.test(h);R&&!P&&!L&&t.preventDefault()}onHexInputPaste(t){let e=t.clipboardData.getData("text");p(e,this.alphaChannel)&&y(e,this.alphaChannel)&&(t.preventDefault(),this.hexInputNode.value=e.slice(1),this.internalSetValue(e,this.value))}internalSetValue(t,e,a=!0){if(t){let{alphaChannel:n}=this,i=o(t,n,n);if(p(i,n)){let{internalColor:s}=this,l=x(i),r=o(c(l,n),n),u=!s||r!==o(c(s,n),n);this.internalColor=l,this.previousNonNullValue=r,this.value=r,u&&a&&this.calciteColorPickerHexInputChange.emit();return}}else if(this.allowEmpty){this.internalColor=void 0,this.value=void 0,a&&this.calciteColorPickerHexInputChange.emit();return}this.value=e}storeHexInputRef(t){this.hexInputNode=t}storeOpacityInputRef(t){this.opacityInputNode=t}formatHexForInternalInput(t){return t?t.replace("#","").slice(0,6):""}formatOpacityForInternalInput(t){return t?`${f(t.alpha())}`:""}nudgeRGBChannels(t,e,a){let n,i=t.array(),s=i.slice(0,3);if(a==="rgb")n=[...s.map(l=>l+e),this.alphaChannel?i[3]:void 0];else{let l=$(f(t.alpha())+e);n=[...s,l]}return x(n)}render(){let{alphaChannel:t,hexLabel:e,internalColor:a,messages:n,scale:i,value:s}=this,l=this.formatHexForInternalInput(s),r=this.formatOpacityForInternalInput(a),u=i==="l"?"m":"s";return C`<div class=${I(g.container)}><calcite-input-text class=${I(g.hexInput)} .label=${n?.hex||e} .maxLength=${this.alphaChannel?8:6} @keydown=${this.onInputKeyDown} @paste=${this.onHexInputPaste} @calciteInputTextChange=${this.onHexInputChange} @calciteInputTextInput=${this.onHexInputInput} @calciteInternalInputTextBlur=${this.onHexInputBlur} @calciteInternalInputTextFocus=${this.onInputFocus} prefix-text=# .scale=${u} .value=${l} ${d(this.storeHexInputRef)}></calcite-input-text>${t?k("opacity-input",C`<calcite-input-number class=${I(g.opacityInput)} .label=${n?.opacity} .max=${v.max} max-length=3 .min=${v.min} number-button-type=none .numberingSystem=${this.numberingSystem} @keydown=${this.onInputKeyDown} @calciteInputNumberInput=${this.onOpacityInputInput} @calciteInternalInputNumberBlur=${this.onOpacityInputBlur} @calciteInternalInputNumberFocus=${this.onInputFocus} .scale=${u} suffix-text=% .value=${r} ${d(this.storeOpacityInputRef)}></calcite-input-number>`):null}</div>`}};V("calcite-color-picker-hex-input",N);export{N as ColorPickerHexInput};
|
@@ -0,0 +1,4 @@
|
|
1
|
+
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
2
|
+
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
3
|
+
v3.0.0 */
|
4
|
+
import{b as d}from"./VJD4CRQ3.js";import"./YYJSHQR3.js";function a(n){return n>1&&n<5&&~~(n/10)!==1}function _(n,e,m,r){var s=n+" ";switch(m){case"s":return e||r?"p\xE1r sekund":"p\xE1r sekundami";case"m":return e?"minuta":r?"minutu":"minutou";case"mm":return e||r?s+(a(n)?"minuty":"minut"):s+"minutami";case"h":return e?"hodina":r?"hodinu":"hodinou";case"hh":return e||r?s+(a(n)?"hodiny":"hodin"):s+"hodinami";case"d":return e||r?"den":"dnem";case"dd":return e||r?s+(a(n)?"dny":"dn\xED"):s+"dny";case"M":return e||r?"m\u011Bs\xEDc":"m\u011Bs\xEDcem";case"MM":return e||r?s+(a(n)?"m\u011Bs\xEDce":"m\u011Bs\xEDc\u016F"):s+"m\u011Bs\xEDci";case"y":return e||r?"rok":"rokem";case"yy":return e||r?s+(a(n)?"roky":"let"):s+"lety"}}var t={name:"cs",weekdays:"ned\u011Ble_pond\u011Bl\xED_\xFAter\xFD_st\u0159eda_\u010Dtvrtek_p\xE1tek_sobota".split("_"),weekdaysShort:"ne_po_\xFAt_st_\u010Dt_p\xE1_so".split("_"),weekdaysMin:"ne_po_\xFAt_st_\u010Dt_p\xE1_so".split("_"),months:"leden_\xFAnor_b\u0159ezen_duben_kv\u011Bten_\u010Derven_\u010Dervenec_srpen_z\xE1\u0159\xED_\u0159\xEDjen_listopad_prosinec".split("_"),monthsShort:"led_\xFAno_b\u0159e_dub_kv\u011B_\u010Dvn_\u010Dvc_srp_z\xE1\u0159_\u0159\xEDj_lis_pro".split("_"),weekStart:1,yearStart:4,ordinal:function(e){return e+"."},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},relativeTime:{future:"za %s",past:"p\u0159ed %s",s:_,m:_,mm:_,h:_,hh:_,d:_,dd:_,M:_,MM:_,y:_,yy:_}};d.locale(t,null,!0);var o=t;export{o as default};
|
@@ -0,0 +1,4 @@
|
|
1
|
+
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
2
|
+
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
3
|
+
v3.0.0 */
|
4
|
+
import{a as de,d as j,e as pe}from"./TSJJLMPA.js";import{a as le}from"./VG7BJBFG.js";import{A as re,B as N,C as ce,D as he,a as b,b as s,c as m,d as F,e as $,f as p,g as L,h as S,i as k,j as U,l as O,m as H,q as P,r as y,t as ne,u as se,w as K,x as E,y as W,z as D}from"./GNUSLZWJ.js";import"./OLMX7G3J.js";import"./L5FDXQMT.js";import{a as te,b as ie}from"./LOZEGKG2.js";import{a as A}from"./CIV3PH3Z.js";import{d as M}from"./NWVCPRVB.js";import{a as oe}from"./UELGJSYH.js";import{a as Y}from"./CNO6NFH5.js";import{a as ae}from"./ARHYATTG.js";import{b as f}from"./QU33PBBI.js";import{e as Q,n as Z,x as R}from"./CMO3X257.js";import{b as ee}from"./GN5CPLSJ.js";import"./I2OIH73C.js";import{J,e as X,f as C,j as w,v as z,w as G,x as c,y as x}from"./KVSCG5E3.js";var ke=X`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:inline-block;font-size:var(--calcite-font-size--2);line-height:1rem;font-weight:var(--calcite-font-weight-normal);inline-size:var(--calcite-internal-color-picker-min-width);min-inline-size:var(--calcite-internal-color-picker-min-width)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([scale=s]){--calcite-internal-color-picker-min-width: 200px;--calcite-color-picker-spacing: 8px}:host([scale=s]) .saved-colors{gap:.25rem;grid-template-columns:repeat(auto-fill,20px)}:host([scale=m]){--calcite-internal-color-picker-min-width: 240px;--calcite-color-picker-spacing: 12px}:host([scale=l]){--calcite-internal-color-picker-min-width: 304px;--calcite-color-picker-spacing: 16px;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]) .section:first-of-type{padding-block-start:var(--calcite-color-picker-spacing)}:host([scale=l]) .saved-colors{grid-template-columns:repeat(auto-fill,32px)}:host([scale=l]) .control-section{display:flex;flex-direction:column;flex-wrap:wrap;align-items:baseline}:host([scale=l]) .color-hex-options{inline-size:100%;display:flex;flex-shrink:1;flex-direction:column;justify-content:space-around}:host([scale=l]) .color-mode-container{flex-shrink:3}.container{background-color:var(--calcite-color-foreground-1);display:flex;flex-direction:column;block-size:min-content;border:1px solid var(--calcite-color-border-1)}.control-and-scope{position:relative;display:flex;cursor:pointer;touch-action:none}.color-field,.control-and-scope{-webkit-user-select:none;user-select:none}.scope{pointer-events:none;position:absolute;z-index:var(--calcite-z-index);block-size:1px;inline-size:1px;border-radius:9999px;background-color:transparent;font-size:var(--calcite-font-size--1);outline-color:transparent}.scope:focus{outline:2px solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))));outline-offset:6px}.hex-and-channels-group{display:flex;inline-size:100%;flex-direction:column;flex-wrap:wrap}.section{padding-block:0 var(--calcite-color-picker-spacing);padding-inline:var(--calcite-color-picker-spacing)}.section:first-of-type{padding-block-start:var(--calcite-color-picker-spacing)}.sliders{display:flex;flex-direction:column;justify-content:space-between;margin-inline-start:var(--calcite-color-picker-spacing);gap:var(--calcite-spacing-xxs)}.preview-and-sliders{display:flex;align-items:center;padding:var(--calcite-color-picker-spacing)}.color-hex-options,.section--split{flex-grow:1}.header{display:flex;align-items:center;justify-content:space-between;color:var(--calcite-color-text-1)}.color-mode-container{padding-block-start:var(--calcite-color-picker-spacing)}.channels{display:flex}.channel{flex-grow:1}.channel[data-channel-index="3"]{margin-inline-start:-1px;min-inline-size:81px}:host([scale=s]) .channel[data-channel-index="3"]{min-inline-size:68px}:host([scale=l]) .channel[data-channel-index="3"]{min-inline-size:88px}.saved-colors{display:grid;gap:.5rem;padding-block-start:var(--calcite-color-picker-spacing);grid-template-columns:repeat(auto-fill,24px)}.saved-colors-buttons{display:flex}.saved-color{outline-offset:0;outline-color:transparent;cursor:pointer}.saved-color:focus{outline:2px solid var(--calcite-color-brand);outline-offset:2px}.saved-color:hover{transition:outline-color var(--calcite-internal-animation-timing-fast) ease-in-out;outline:2px solid var(--calcite-color-border-2);outline-offset:2px}:host([hidden]){display:none}[hidden]{display:none}`,ue=16,V=class extends G{constructor(){super(),this._color=m,this.internalColorUpdateContext=null,this.isActiveChannelInputEmpty=!1,this.mode=K.HEX,this.resizeObserver=Y("resize",e=>this.resizeCanvas(e)),this.shiftKeyChannelAdjustment=0,this.upOrDownArrowKeyTracker=null,this._valueWasSet=!1,this.channelMode="rgb",this.channels=this.toChannels(m),this.staticDimensions=k.m,this.savedColors=[],this.allowEmpty=!1,this.alphaChannel=!1,this.channelsDisabled=!1,this.clearable=!1,this.disabled=!1,this.format="auto",this.hexDisabled=!1,this.messages=ae({blocking:!0}),this.savedDisabled=!1,this.scale="m",this.calciteColorPickerChange=z({cancelable:!1}),this.calciteColorPickerInput=z({cancelable:!1}),this.captureColorFieldColor=(e,t,i=!0)=>{let{width:a,height:o}=this.dynamicDimensions.colorField,l=Math.round(p.s/a*e),n=Math.round(p.v/o*(o-t));this.internalColorSet(this.baseColorFieldColor.hsv().saturationv(l).value(n),i)},this.drawColorControls=M((e="all")=>{(e==="all"||e==="color-field")&&this.colorFieldRenderingContext&&this.drawColorField(),(e==="all"||e==="hue-slider")&&this.hueSliderRenderingContext&&this.drawHueSlider(),this.alphaChannel&&(e==="all"||e==="opacity-slider")&&this.opacitySliderRenderingContext&&this.drawOpacitySlider()},ue),this.globalPointerMoveHandler=e=>{let{activeCanvasInfo:t,el:i}=this;if(!i.isConnected||!t)return;let{context:a,bounds:o}=t,l,n,{clientX:r,clientY:h}=e;a.canvas.matches(":hover")?(l=r-o.x,n=h-o.y):(r<o.x+o.width&&r>o.x?l=r-o.x:r<o.x?l=0:l=o.width,h<o.y+o.height&&h>o.y?n=h-o.y:h<o.y?n=0:n=o.height),a===this.colorFieldRenderingContext?this.captureColorFieldColor(l,n,!1):a===this.hueSliderRenderingContext?this.captureHueSliderColor(l):a===this.opacitySliderRenderingContext&&this.captureOpacitySliderValue(l)},this.globalPointerUpHandler=e=>{if(!R(e))return;let t=this.activeCanvasInfo;this.activeCanvasInfo=null,this.drawColorControls(),t&&this.calciteColorPickerChange.emit()},this.resizeCanvas=M(e=>{if(!this.hasUpdated)return;let[t]=e,i=Math.floor(t.contentBoxSize[0].inlineSize);this.dynamicDimensions.colorField.width!==i&&(this.updateDynamicDimensions(i),this.updateCanvasSize(),this.drawColorControls())},ue),this.updateDynamicDimensions=e=>{let t={width:ce(e,this.staticDimensions,this.alphaChannel),height:this.staticDimensions.slider.height};this.dynamicDimensions={colorField:he(e),slider:t}},this.listen("keydown",this.handleChannelKeyUpOrDown,{capture:!0}),this.listen("keyup",this.handleChannelKeyUpOrDown,{capture:!0})}static{this.properties={channelMode:16,channels:16,colorFieldScopeLeft:16,colorFieldScopeTop:16,staticDimensions:16,hueScopeLeft:16,opacityScopeLeft:16,savedColors:16,scopeOrientation:16,allowEmpty:7,alphaChannel:5,channelsDisabled:5,clearable:7,color:0,disabled:7,format:3,hexDisabled:5,messageOverrides:0,numberingSystem:3,savedDisabled:7,scale:3,storageId:3,value:1}}static{this.styles=ke}get baseColorFieldColor(){return this.color||this.previousColor||m}get effectiveSliderWidth(){return this.dynamicDimensions.slider.width}get color(){return this._color}set color(e){let t=this._color;this._color=e,this.handleColorChange(e,t)}get value(){return this._value}set value(e){let t=this._value;this._value=e,this.handleValueChange(e,t),this._valueWasSet=!0}async setFocus(){await ee(this),Z(this.el)}connectedCallback(){super.connectedCallback(),this.observeResize()}async load(){this._valueWasSet||(this._value??=P(y(m,this.alphaChannel))),this.handleAllowEmptyOrClearableChange();let{isClearable:e,color:t,format:i,value:a}=this,o=e&&!a,l=E(a),n=o||i==="auto"&&l||i===l,r=o?null:n?b(a):t;n||this.showIncompatibleColorWarning(a,i),this.setMode(i,!1),this.internalColorSet(r,!1,"initial"),this.updateStaticDimensions(this.scale),this.updateDynamicDimensions(k[this.scale].minWidth);let h=`${F}${this.storageId}`;this.storageId&&localStorage.getItem(h)&&(this.savedColors=JSON.parse(localStorage.getItem(h)))}willUpdate(e){(e.has("allowEmpty")&&(this.hasUpdated||this.allowEmpty!==!1)||e.has("clearable")&&(this.hasUpdated||this.clearable!==!1))&&this.handleAllowEmptyOrClearableChange(),e.has("alphaChannel")&&(this.hasUpdated||this.alphaChannel!==!1)&&this.handleAlphaChannelChange(this.alphaChannel),this.hasUpdated&&(e.has("alphaChannel")&&this.alphaChannel!==!1||e.has("staticDimensions")&&this.staticDimensions!==k.m)&&this.handleAlphaChannelDimensionsChange(),(e.has("alphaChannel")&&(this.hasUpdated||this.alphaChannel!==!1)||e.has("format")&&(this.hasUpdated||this.format!=="auto"))&&this.handleFormatOrAlphaChannelChange(),e.has("scale")&&(this.hasUpdated||this.scale!=="m")&&this.handleScaleChange(this.scale)}updated(){te(this)}loaded(){this.handleAlphaChannelDimensionsChange()}disconnectedCallback(){super.disconnectedCallback(),window.removeEventListener("pointermove",this.globalPointerMoveHandler),window.removeEventListener("pointerup",this.globalPointerUpHandler),this.resizeObserver?.disconnect()}observeResize(){this.resizeObserver?.observe(this.el)}handleAllowEmptyOrClearableChange(){this.isClearable=this.clearable||this.allowEmpty}handleAlphaChannelChange(e){let{format:t}=this;e&&t!=="auto"&&!D(t)&&(console.warn(`ignoring alphaChannel as the current format (${t}) does not support alpha`),this.alphaChannel=!1)}handleAlphaChannelDimensionsChange(){this.drawColorControls()}handleColorChange(e,t){this.drawColorControls(),this.updateChannelsFromColor(e),this.previousColor=t}handleFormatOrAlphaChannelChange(){this.setMode(this.format),this.internalColorSet(this.color,!1,"internal")}handleScaleChange(e="m"){this.updateStaticDimensions(e),this.updateCanvasSize(),this.drawColorControls()}handleValueChange(e,t){let{isClearable:i,format:a}=this,o=!i||e,l=!1;if(o){let d=E(e);if(!d||a!=="auto"&&d!==a){this.showIncompatibleColorWarning(e,a),this._value=t;return}l=this.mode!==d,this.setMode(d,this.internalColorUpdateContext===null)}let n=this.activeCanvasInfo;if(this.internalColorUpdateContext==="initial")return;if(this.internalColorUpdateContext==="user-interaction"){this.calciteColorPickerInput.emit(),n||this.calciteColorPickerChange.emit();return}let r=i&&!e?null:b(e!=null&&typeof e=="object"&&D(this.mode)?se(e):e),h=!W(r,this.color);(l||h)&&this.internalColorSet(r,this.alphaChannel&&!(this.mode.endsWith("a")||this.mode.endsWith("a-css"))||this.internalColorUpdateContext==="internal","internal")}handleTabActivate(e){this.channelMode=e.currentTarget.getAttribute("data-color-mode"),this.updateChannelsFromColor(this.color)}handleColorFieldScopeKeyDown(e){let{key:t}=e,i={ArrowUp:{x:0,y:-10},ArrowRight:{x:10,y:0},ArrowDown:{x:0,y:10},ArrowLeft:{x:-10,y:0}};i[t]&&(e.preventDefault(),this.scopeOrientation=t==="ArrowDown"||t==="ArrowUp"?"vertical":"horizontal",this.captureColorFieldColor(this.colorFieldScopeLeft+i[t].x||0,this.colorFieldScopeTop+i[t].y||0,!1))}handleHueScopeKeyDown(e){let t=e.shiftKey?10:1,{key:i}=e,a={ArrowUp:1,ArrowRight:1,ArrowDown:-1,ArrowLeft:-1};if(a[i]){e.preventDefault();let o=a[i]*t,l=this.baseColorFieldColor.hue(),n=this.baseColorFieldColor.hue(l+o);this.internalColorSet(n,!1)}}handleHexInputChange(e){e.stopPropagation();let{isClearable:t,color:i}=this,a=e.target.value;if(t&&!a){this.internalColorSet(null);return}let o=i&&P(y(i,D(this.mode)));a!==o&&this.internalColorSet(b(a))}handleSavedColorSelect(e){let t=e.currentTarget;this.internalColorSet(b(t.color))}handleChannelInput(e){let t=e.currentTarget,i=Number(t.getAttribute("data-channel-index")),a=i===3?S.max:this.channelMode==="rgb"?$[Object.keys($)[i]]:p[Object.keys(p)[i]],o;if(!t.value)o="",this.isActiveChannelInputEmpty=!0,this.upOrDownArrowKeyTracker=null;else{let l=Number(t.value)+this.shiftKeyChannelAdjustment;o=de(l,0,a).toString()}t.value=o,o!==""&&this.shiftKeyChannelAdjustment!==0?this.handleChannelChange(e):o!==""&&this.handleChannelChange(e)}handleChannelBlur(e){let t=e.currentTarget,i=Number(t.getAttribute("data-channel-index")),a=[...this.channels];!t.value&&!this.isClearable&&(t.value=a[i]?.toString())}handleChannelFocus(e){e.currentTarget.selectText()}handleChannelKeyUpOrDown(e){this.shiftKeyChannelAdjustment=0;let{key:t}=e;if(t!=="ArrowUp"&&t!=="ArrowDown"||!e.composedPath().some(o=>o.classList?.contains(s.channel)))return;let{shiftKey:i}=e;if(e.preventDefault(),!this.color){this.internalColorSet(this.previousColor),e.stopPropagation();return}let a=9;this.shiftKeyChannelAdjustment=t==="ArrowUp"&&i?a:t==="ArrowDown"&&i?-9:0,t==="ArrowUp"&&(this.upOrDownArrowKeyTracker="up"),t==="ArrowDown"&&(this.upOrDownArrowKeyTracker="down")}getChannelInputLimit(e){return this.channelMode==="rgb"?$[Object.keys($)[e]]:p[Object.keys(p)[e]]}handleChannelChange(e){let t=e.currentTarget,i=Number(t.getAttribute("data-channel-index")),a=[...this.channels];if(this.isClearable&&!t.value){this.channels=[null,null,null,null],this.internalColorSet(null);return}let o=i===3;this.isActiveChannelInputEmpty&&this.upOrDownArrowKeyTracker&&(t.value=this.upOrDownArrowKeyTracker==="up"?(a[i]+1<=this.getChannelInputLimit(i)?a[i]+1:this.getChannelInputLimit(i)).toString():(a[i]-1>=0?a[i]-1:0).toString(),this.isActiveChannelInputEmpty=!1,this.upOrDownArrowKeyTracker=null);let l=t.value?Number(t.value):a[i];a[i]=o?H(l):l,this.updateColorFromChannels(a)}handleSavedColorKeyDown(e){oe(e.key)&&(e.preventDefault(),this.handleSavedColorSelect(e))}handleColorFieldPointerDown(e){this.handleCanvasControlPointerDown(e,this.colorFieldRenderingContext,this.captureColorFieldColor,this.colorFieldScopeNode)}focusScope(e){requestAnimationFrame(()=>{e.focus()})}handleHueSliderPointerDown(e){this.handleCanvasControlPointerDown(e,this.hueSliderRenderingContext,this.captureHueSliderColor,this.hueScopeNode)}handleOpacitySliderPointerDown(e){this.handleCanvasControlPointerDown(e,this.opacitySliderRenderingContext,this.captureOpacitySliderValue,this.opacityScopeNode)}handleCanvasControlPointerDown(e,t,i,a){R(e)&&(window.addEventListener("pointermove",this.globalPointerMoveHandler),window.addEventListener("pointerup",this.globalPointerUpHandler,{once:!0}),this.activeCanvasInfo={context:t,bounds:t.canvas.getBoundingClientRect()},i.call(this,e.offsetX,e.offsetY),this.focusScope(a))}storeColorFieldScope(e){this.colorFieldScopeNode=e}storeHueScope(e){this.hueScopeNode=e}handleKeyDown(e){e.key==="Enter"&&e.preventDefault()}showIncompatibleColorWarning(e,t){console.warn(`ignoring color value (${e}) as it is not compatible with the current format (${t})`)}setMode(e,t=!0){let i=e==="auto"?this.mode:e;this.mode=this.ensureCompatibleMode(i,t)}ensureCompatibleMode(e,t){let{alphaChannel:i}=this,a=D(e);if(i&&!a){let o=re(e);return t&&console.warn(`setting format to (${o}) as the provided one (${e}) does not support alpha`),o}if(!i&&a){let o=N(e);return t&&console.warn(`setting format to (${o}) as the provided one (${e}) does not support alpha`),o}return e}captureHueSliderColor(e){let t=L/this.effectiveSliderWidth*e;this.internalColorSet(this.baseColorFieldColor.hue(t),!1)}captureOpacitySliderValue(e){let t=H(S.max/this.effectiveSliderWidth*e);this.internalColorSet(this.baseColorFieldColor.alpha(t),!1)}internalColorSet(e,t=!0,i="user-interaction"){t&&W(e,this.color)||(this.internalColorUpdateContext=i,this.color=e,this.value=this.toValue(e),this.internalColorUpdateContext=null)}toValue(e,t=this.mode){if(!e)return null;if(t.includes("hex")){let a=t===K.HEXA;return P(y(e.round(),a),a)}if(t.includes("-css")){let a=e[t.replace("-css","").replace("a","")]().round().string();if((t.endsWith("a")||t.endsWith("a-css"))&&e.alpha()===1){let o=a.slice(0,3),l=a.slice(4,-1);return`${o}a(${l}, ${e.alpha()})`}return a}let i=e[N(t)]().round().object();return t.endsWith("a")?ne(i):i}getSliderCapSpacing(){let{staticDimensions:{slider:{height:e},thumb:{radius:t}}}=this;return t*2-e}updateStaticDimensions(e="m"){this.staticDimensions=k[e]}deleteColor(){let e=y(this.color,this.alphaChannel);if(!(this.savedColors.indexOf(e)>-1))return;let t=this.savedColors.filter(a=>a!==e);this.savedColors=t;let i=`${F}${this.storageId}`;this.storageId&&localStorage.setItem(i,JSON.stringify(t))}saveColor(){let e=y(this.color,this.alphaChannel);if(this.savedColors.indexOf(e)>-1)return;let t=[...this.savedColors,e];this.savedColors=t;let i=`${F}${this.storageId}`;this.storageId&&localStorage.setItem(i,JSON.stringify(t))}drawColorField(){let e=this.colorFieldRenderingContext,{width:t,height:i}=this.dynamicDimensions.colorField;e.fillStyle=this.baseColorFieldColor.hsv().saturationv(100).value(100).alpha(1).string(),e.fillRect(0,0,t,i);let a=e.createLinearGradient(0,0,t,0);a.addColorStop(0,"rgba(255,255,255,1)"),a.addColorStop(1,"rgba(255,255,255,0)"),e.fillStyle=a,e.fillRect(0,0,t,i);let o=e.createLinearGradient(0,0,0,i);o.addColorStop(0,"rgba(0,0,0,0)"),o.addColorStop(1,"rgba(0,0,0,1)"),e.fillStyle=o,e.fillRect(0,0,t,i),this.drawActiveColorFieldColor()}setCanvasContextSize(e,{height:t,width:i}){if(!e)return;let a=window.devicePixelRatio||1;e.width=i*a,e.height=t*a,e.style.height=`${t}px`,e.style.width=`${i}px`,e.getContext("2d").scale(a,a)}initColorField(e){e&&(this.colorFieldRenderingContext=e.getContext("2d"),this.updateCanvasSize("color-field"),this.drawColorControls())}initHueSlider(e){e&&(this.hueSliderRenderingContext=e.getContext("2d"),this.updateCanvasSize("hue-slider"),this.drawHueSlider())}initOpacitySlider(e){e&&(this.opacitySliderRenderingContext=e.getContext("2d"),this.updateCanvasSize("opacity-slider"),this.drawOpacitySlider())}updateCanvasSize(e="all"){let{dynamicDimensions:t,staticDimensions:i}=this;(e==="all"||e==="color-field")&&this.setCanvasContextSize(this.colorFieldRenderingContext?.canvas,t.colorField);let a={width:this.effectiveSliderWidth,height:i.slider.height+(i.thumb.radius-t.slider.height/2)*2};(e==="all"||e==="hue-slider")&&this.setCanvasContextSize(this.hueSliderRenderingContext?.canvas,a),(e==="all"||e==="opacity-slider")&&this.setCanvasContextSize(this.opacitySliderRenderingContext?.canvas,a)}drawActiveColorFieldColor(){let{color:e}=this;if(!e)return;let t=e.hsv(),{staticDimensions:{thumb:{radius:i}}}=this,{width:a,height:o}=this.dynamicDimensions.colorField,l=t.saturationv()/(p.s/a),n=o-t.value()/(p.v/o);requestAnimationFrame(()=>{this.colorFieldScopeLeft=l,this.colorFieldScopeTop=n}),this.drawThumb(this.colorFieldRenderingContext,i,l,n,t,!1)}drawThumb(e,t,i,a,o,l){let n=2*Math.PI,r=1;if(e.beginPath(),e.arc(i,a,t,0,n),e.fillStyle="#fff",e.fill(),e.strokeStyle="rgba(0,0,0,0.3)",e.lineWidth=r,e.stroke(),l&&o.alpha()<1){let d=e.createPattern(this.getCheckeredBackgroundPattern(),"repeat");e.beginPath(),e.arc(i,a,t-3,0,n),e.fillStyle=d,e.fill()}e.globalCompositeOperation="source-atop",e.beginPath(),e.arc(i,a,t-3,0,n);let h=l?o.alpha():1;e.fillStyle=o.rgb().alpha(h).string(),e.fill(),e.globalCompositeOperation="source-over"}drawActiveHueSliderColor(){let{color:e}=this;if(!e)return;let t=e.hsv().saturationv(100).value(100),{staticDimensions:{thumb:{radius:i}}}=this,a=this.effectiveSliderWidth,o=t.hue()/(L/a),l=i,n=this.getSliderBoundX(o,a,i);requestAnimationFrame(()=>{this.hueScopeLeft=n}),this.drawThumb(this.hueSliderRenderingContext,i,n,l,t,!1)}drawHueSlider(){let e=this.hueSliderRenderingContext,{staticDimensions:{slider:{height:t},thumb:{radius:i}}}=this,a=0,o=i-t/2,l=this.effectiveSliderWidth,n=e.createLinearGradient(0,0,l,0),r=["red","yellow","lime","cyan","blue","magenta","#ff0004"],h=1/(r.length-1),d=0;r.forEach(u=>{n.addColorStop(d,b(u).string()),d+=h}),e.clearRect(0,0,l,t+this.getSliderCapSpacing()*2),this.drawSliderPath(e,t,l,a,o),e.fillStyle=n,e.fill(),e.strokeStyle="rgba(0,0,0,0.3)",e.lineWidth=1,e.stroke(),this.drawActiveHueSliderColor()}drawOpacitySlider(){let e=this.opacitySliderRenderingContext,{baseColorFieldColor:t,staticDimensions:{slider:{height:i},thumb:{radius:a}}}=this,o=0,l=a-i/2,n=this.effectiveSliderWidth;e.clearRect(0,0,n,i+this.getSliderCapSpacing()*2);let r=e.createLinearGradient(0,l,n,0),h=t.rgb().alpha(0),d=t.rgb().alpha(.5),u=t.rgb().alpha(1);r.addColorStop(0,h.string()),r.addColorStop(.5,d.string()),r.addColorStop(1,u.string()),this.drawSliderPath(e,i,n,o,l);let g=e.createPattern(this.getCheckeredBackgroundPattern(),"repeat");e.fillStyle=g,e.fill(),e.fillStyle=r,e.fill(),e.strokeStyle="rgba(0,0,0,0.3)",e.lineWidth=1,e.stroke(),this.drawActiveOpacitySliderColor()}drawSliderPath(e,t,i,a,o){let l=t/2+1;e.beginPath(),e.moveTo(a+l,o),e.lineTo(a+i-l,o),e.quadraticCurveTo(a+i,o,a+i,o+l),e.lineTo(a+i,o+t-l),e.quadraticCurveTo(a+i,o+t,a+i-l,o+t),e.lineTo(a+l,o+t),e.quadraticCurveTo(a,o+t,a,o+t-l),e.lineTo(a,o+l),e.quadraticCurveTo(a,o,a+l,o),e.closePath()}getCheckeredBackgroundPattern(){if(this.checkerPattern)return this.checkerPattern;let e=document.createElement("canvas");e.width=10,e.height=10;let t=e.getContext("2d");return t.fillStyle="#ccc",t.fillRect(0,0,10,10),t.fillStyle="#fff",t.fillRect(0,0,5,5),t.fillRect(5,5,5,5),this.checkerPattern=e,e}drawActiveOpacitySliderColor(){let{color:e}=this;if(!e)return;let t=e,{staticDimensions:{thumb:{radius:i}}}=this,a=this.effectiveSliderWidth,o=O(t.alpha())/(S.max/a),l=i,n=this.getSliderBoundX(o,a,i);requestAnimationFrame(()=>{this.opacityScopeLeft=n}),this.drawThumb(this.opacitySliderRenderingContext,i,n,l,t,!0)}getSliderBoundX(e,t,i){let a=pe(e,t,i);return a===0?e:a===-1?j(e,0,t,i,i*2):j(e,0,t,t-i*2,t-i)}storeOpacityScope(e){this.opacityScopeNode=e}handleOpacityScopeKeyDown(e){let t=e.shiftKey?10:1,{key:i}=e,a={ArrowUp:.01,ArrowRight:.01,ArrowDown:-.01,ArrowLeft:-.01};if(a[i]){e.preventDefault();let o=a[i]*t,l=this.baseColorFieldColor.alpha(),n=this.baseColorFieldColor.alpha(l+o);this.internalColorSet(n,!1)}}updateColorFromChannels(e){this.internalColorSet(b(e,this.channelMode))}updateChannelsFromColor(e){this.channels=e?this.toChannels(e):[null,null,null,null]}toChannels(e){let{channelMode:t}=this,i=e[t]().array().map((a,o)=>o===3?a:Math.floor(a));return i.length===3&&i.push(1),i}getAdjustedScopePosition(e,t){return[e-U/2,t-U/2]}render(){let{channelsDisabled:e,color:t,colorFieldScopeLeft:i,colorFieldScopeTop:a,staticDimensions:{thumb:{radius:o}},hexDisabled:l,hueScopeLeft:n,messages:r,alphaChannel:h,opacityScopeLeft:d,savedColors:u,savedDisabled:g,scale:v,scopeOrientation:Ce}=this,_=this.effectiveSliderWidth,B=t?y(t,h):null,me=o,ve=n??_*m.hue()/p.h,ge=o,fe=d??_*O(m.alpha())/S.max,q=t===void 0,T=Ce==="vertical",[be,Se]=this.getAdjustedScopePosition(i,a),[ye,we]=this.getAdjustedScopePosition(ve,me),[xe,$e]=this.getAdjustedScopePosition(fe,ge);return ie({disabled:this.disabled,children:C`<div class=${c(s.container)}><div class=${c(s.controlAndScope)}><canvas class=${c(s.colorField)} @pointerdown=${this.handleColorFieldPointerDown} ${f(this.initColorField)}></canvas><div .ariaLabel=${T?r.value:r.saturation} .ariaValueMax=${T?p.v:p.s} aria-valuemin=0 .ariaValueNow=${(T?t?.saturationv():t?.value())||"0"} class=${c({[s.scope]:!0,[s.colorFieldScope]:!0})} @keydown=${this.handleColorFieldScopeKeyDown} role=slider style=${x({top:`${Se||0}px`,left:`${be||0}px`})} tabindex=0 ${f(this.storeColorFieldScope)}></div></div><div class=${c(s.previewAndSliders)}><calcite-color-picker-swatch class=${c(s.preview)} .color=${B} .scale=${this.alphaChannel?"l":this.scale}></calcite-color-picker-swatch><div class=${c(s.sliders)}><div class=${c(s.controlAndScope)}><canvas class=${c({[s.slider]:!0,[s.hueSlider]:!0})} @pointerdown=${this.handleHueSliderPointerDown} ${f(this.initHueSlider)}></canvas><div .ariaLabel=${r.hue} .ariaValueMax=${p.h} aria-valuemin=0 .ariaValueNow=${t?.round().hue()||m.round().hue()} class=${c({[s.scope]:!0,[s.hueScope]:!0})} @keydown=${this.handleHueScopeKeyDown} role=slider style=${x({top:`${we}px`,left:`${ye}px`})} tabindex=0 ${f(this.storeHueScope)}></div></div>${h?C`<div class=${c(s.controlAndScope)}><canvas class=${c({[s.slider]:!0,[s.opacitySlider]:!0})} @pointerdown=${this.handleOpacitySliderPointerDown} ${f(this.initOpacitySlider)}></canvas><div .ariaLabel=${r.opacity} .ariaValueMax=${S.max} .ariaValueMin=${S.min} .ariaValueNow=${(t||m).round().alpha()} class=${c({[s.scope]:!0,[s.opacityScope]:!0})} @keydown=${this.handleOpacityScopeKeyDown} role=slider style=${x({top:`${$e}px`,left:`${xe}px`})} tabindex=0 ${f(this.storeOpacityScope)}></div></div>`:null}</div></div>${l&&e?null:C`<div class=${c({[s.controlSection]:!0,[s.section]:!0})}><div class=${c(s.hexAndChannelsGroup)}>${l?null:C`<div class=${c(s.hexOptions)}><calcite-color-picker-hex-input .allowEmpty=${this.isClearable} .alphaChannel=${h} class=${c(s.control)} .messages=${r} .numberingSystem=${this.numberingSystem} @calciteColorPickerHexInputChange=${this.handleHexInputChange} .scale=${v} .value=${B}></calcite-color-picker-hex-input></div>`}${e?null:C`<calcite-tabs class=${c({[s.colorModeContainer]:!0,[s.splitSection]:!0})} .scale=${v==="l"?"m":"s"}><calcite-tab-nav slot=title-group>${this.renderChannelsTabTitle("rgb")}${this.renderChannelsTabTitle("hsv")}</calcite-tab-nav>${this.renderChannelsTab("rgb")}${this.renderChannelsTab("hsv")}</calcite-tabs>`}</div></div>`}${g?null:C`<div class=${c({[s.savedColorsSection]:!0,[s.section]:!0})}><div class=${c(s.header)}><label>${r.saved}</label><div class=${c(s.savedColorsButtons)}><calcite-button appearance=transparent class=${c(s.deleteColor)} .disabled=${q} icon-start=minus kind=neutral .label=${r.deleteColor} @click=${this.deleteColor} .scale=${v} type=button></calcite-button><calcite-button appearance=transparent class=${c(s.saveColor)} .disabled=${q} icon-start=plus kind=neutral .label=${r.saveColor} @click=${this.saveColor} .scale=${v} type=button></calcite-button></div></div>${u.length>0?C`<div class=${c(s.savedColors)}>${le(u,I=>I,I=>C`<calcite-color-picker-swatch class=${c(s.savedColor)} .color=${I} @click=${this.handleSavedColorSelect} @keydown=${this.handleSavedColorKeyDown} .scale=${v} tabindex=0></calcite-color-picker-swatch>`)}</div>`:null}</div>`}</div>`})}renderChannelsTabTitle(e){let{channelMode:t,messages:i}=this,a=e===t,o=e==="rgb"?i.rgb:i.hsv;return A(e,C`<calcite-tab-title class=${c(s.colorMode)} data-color-mode=${e??w} @calciteTabsActivate=${this.handleTabActivate} .selected=${a}>${o}</calcite-tab-title>`)}renderChannelsTab(e){let{isClearable:t,channelMode:i,channels:a,messages:o,alphaChannel:l}=this,n=e===i,r=e==="rgb"?[o.red,o.green,o.blue]:[o.hue,o.saturation,o.value],h=Q(this.el),d=l?a:a.slice(0,3);return A(e,C`<calcite-tab class=${c(s.control)} .selected=${n}><div class=${c(s.channels)} dir=ltr>${d.map((u,g)=>{let v=g===3;return v&&(u=t&&!u?u:O(u)),this.renderChannel(u,g,r[g],h,v?"%":"")})}</div></calcite-tab>`)}renderChannel(e,t,i,a,o){return A(t,C`<calcite-input-number class=${c(s.channel)} data-channel-index=${t??w} dir=${a??w} .label=${i} lang=${this.messages._lang??w} number-button-type=none .numberingSystem=${this.numberingSystem} @keydown=${this.handleKeyDown} @calciteInputNumberChange=${this.handleChannelChange} @calciteInputNumberInput=${this.handleChannelInput} @calciteInternalInputNumberBlur=${this.handleChannelBlur} @calciteInternalInputNumberFocus=${this.handleChannelFocus} .scale=${this.scale==="l"?"m":"s"} style=${x({marginLeft:t>0&&!(this.scale==="s"&&this.alphaChannel&&t===3)?"-1px":""})} .suffixText=${o} .value=${e?.toString()}></calcite-input-number>`)}};J("calcite-color-picker",V);export{V as ColorPicker};
|
@@ -0,0 +1,4 @@
|
|
1
|
+
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
2
|
+
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
3
|
+
v3.0.0 */
|
4
|
+
import{b as t}from"./VJD4CRQ3.js";import"./YYJSHQR3.js";var M={s:"ein paar Sekunden",m:["eine Minute","einer Minute"],mm:"%d Minuten",h:["eine Stunde","einer Stunde"],hh:"%d Stunden",d:["ein Tag","einem Tag"],dd:["%d Tage","%d Tagen"],M:["ein Monat","einem Monat"],MM:["%d Monate","%d Monaten"],y:["ein Jahr","einem Jahr"],yy:["%d Jahre","%d Jahren"]};function e(r,a,_){var n=M[_];return Array.isArray(n)&&(n=n[a?0:1]),n.replace("%d",r)}var i={name:"de-ch",weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),months:"Januar_Februar_M\xE4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xE4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),ordinal:function(a){return a+"."},weekStart:1,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},relativeTime:{future:"in %s",past:"vor %s",s:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e}};t.locale(i,null,!0);var d=i;export{d as default};
|
@@ -0,0 +1,4 @@
|
|
1
|
+
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
2
|
+
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
3
|
+
v3.0.0 */
|
4
|
+
import{a as R}from"./N2BVYYYP.js";import{a as D}from"./VG7BJBFG.js";import{a as H,c as M,e as S,f as L,h as U}from"./DTL2LM6T.js";import{c as B,d as F}from"./G3LH75CQ.js";import{a as v,c as b,e as P,g as p,h as V}from"./V4JZRN7T.js";import"./PT2XMADA.js";import{a as z}from"./SMUXJLDL.js";import{a as A,b as E}from"./LOZEGKG2.js";import{a as T,b as O}from"./NWVCPRVB.js";import{a as g}from"./CNO6NFH5.js";import{a as w}from"./ARHYATTG.js";import{b as d}from"./QU33PBBI.js";import{u as f}from"./CMO3X257.js";import{a as k}from"./I2OIH73C.js";import{B as m,J as C,c as I,e as $,f as u,j as o,v as c,w as y,x as r}from"./KVSCG5E3.js";var q=$`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{position:relative;display:block}.input-container{position:relative;display:flex;flex:1 1 auto;flex-wrap:nowrap}.input{width:100%;--calcite-input-prefix-size: var(--calcite-autocomplete-input-prefix-size);--calcite-input-suffix-size: var(--calcite-autocomplete-input-suffix-size);--calcite-input-background-color: var(--calcite-autocomplete-input-background-color);--calcite-input-border-color: var(--calcite-autocomplete-input-border-color);--calcite-input-corner-radius: var(--calcite-autocomplete-input-corner-radius);--calcite-input-shadow: var(--calcite-autocomplete-input-shadow);--calcite-input-icon-color: var(--calcite-autocomplete-input-icon-color);--calcite-input-text-color: var(--calcite-autocomplete-input-text-color);--calcite-input-placeholder-text-color: var(--calcite-autocomplete-input-placeholder-text-color);--calcite-input-actions-background-color: var(--calcite-autocomplete-input-actions-background-color);--calcite-input-actions-background-color-hover: var(--calcite-autocomplete-input-actions-background-color-hover);--calcite-input-actions-background-color-press: var(--calcite-autocomplete-input-actions-background-color-press);--calcite-input-actions-icon-color: var(--calcite-autocomplete-input-actions-icon-color);--calcite-input-actions-icon-color-hover: var(--calcite-autocomplete-input-actions-icon-color-hover);--calcite-input-actions-icon-color-press: var(--calcite-autocomplete-input-actions-icon-color-press);--calcite-input-loading-background-color: var(--calcite-autocomplete-input-loading-background-color);--calcite-input-loading-fill-color: var(--calcite-autocomplete-input-loading-fill-color);--calcite-input-prefix-background-color: var(--calcite-autocomplete-input-prefix-background-color);--calcite-input-prefix-text-color: var(--calcite-autocomplete-input-prefix-text-color);--calcite-input-suffix-background-color: var(--calcite-autocomplete-input-suffix-background-color);--calcite-input-suffix-text-color: var(--calcite-autocomplete-input-suffix-text-color)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}.content-container{box-sizing:border-box;width:100%}.floating-ui-container{--calcite-floating-ui-z-index: var(--calcite-z-index-dropdown);inline-size:max-content;display:none;inset-block-start:0;left:0;z-index:var(--calcite-floating-ui-z-index)}.floating-ui-container .calcite-floating-ui-anim{position:relative;transition:var(--calcite-floating-ui-transition);transition-property:inset,left,opacity;opacity:0;box-shadow:0 0 16px #00000029;z-index:var(--calcite-z-index);border-radius:.25rem}.floating-ui-container[data-placement^=bottom] .calcite-floating-ui-anim{inset-block-start:-5px}.floating-ui-container[data-placement^=top] .calcite-floating-ui-anim{inset-block-start:5px}.floating-ui-container[data-placement^=left] .calcite-floating-ui-anim{left:5px}.floating-ui-container[data-placement^=right] .calcite-floating-ui-anim{left:-5px}.floating-ui-container[data-placement] .calcite-floating-ui-anim--active{opacity:1;inset-block-start:0;left:0}.content-container .calcite-floating-ui-anim{max-height:45vh;width:100%;overflow-y:auto;color:var(--calcite-autocomplete-text-color, var(--calcite-color-text-1));background-color:var(--calcite-autocomplete-background-color, var(--calcite-color-foreground-1));border-radius:var(--calcite-autocomplete-corner-radius, var(--calcite-corner-radius-round))}.content--hidden{display:none}@media (forced-colors: active){.floating-ui-container--active{border:1px solid canvasText}}.screen-readers-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.validation-container{display:flex;flex-direction:column;align-items:flex-start;align-self:stretch}:host([scale=m]) .validation-container,:host([scale=l]) .validation-container{padding-block-start:.5rem}:host([scale=s]) .validation-container{padding-block-start:.25rem}::slotted(input[slot=hidden-form-input]){margin:0!important;opacity:0!important;outline:none!important;padding:0!important;position:absolute!important;inset:0!important;transform:none!important;-webkit-appearance:none!important;z-index:-1!important}:host([hidden]){display:none}[hidden]{display:none}`,G={contentBottom:"content-bottom",contentTop:"content-top"},l={inputContainer:"input-container",input:"input",contentContainer:"content-container",contentAnimation:"content-animation",content:"content",contentHidden:"content--hidden",floatingUIContainer:"floating-ui-container",floatingUIContainerActive:"floating-ui-container--active",screenReadersOnly:"screen-readers-only"},W={validationMessage:"autocompleteValidationMessage"},K="calcite-autocomplete-item-group",J="calcite-autocomplete-item",x=class extends y{constructor(){super(),this.guid=k(),this.attributeWatch=I(["autofocus","enterkeyhint","inputmode"],this.handleGlobalAttributesChanged),this.inputId=`autocomplete-input-${this.guid}`,this.listId=`autocomplete-list-${this.guid}`,this.messages=w(),this.transitionProp="opacity",this.activeDescendant="",this.activeIndex=-1,this.hasContentBottom=!1,this.hasContentTop=!1,this.items=[],this.groups=[],this.alignment="start",this.disabled=!1,this.iconFlipRtl=!1,this.loading=!1,this.open=!1,this.overlayPositioning="absolute",this.placement=v,this.readOnly=!1,this.required=!1,this.scale="m",this.status="idle",this.validity={valid:!1,badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1},this.value="",this.calciteAutocompleteBeforeClose=c({cancelable:!1}),this.calciteAutocompleteBeforeOpen=c({cancelable:!1}),this.calciteAutocompleteChange=c({cancelable:!1}),this.calciteAutocompleteClose=c({cancelable:!1}),this.calciteAutocompleteOpen=c({cancelable:!1}),this.calciteAutocompleteTextChange=c({cancelable:!1}),this.calciteAutocompleteTextInput=c({cancelable:!1}),this.mutationObserver=g("mutation",()=>this.getAllItemsDebounced()),this.resizeObserver=g("resize",()=>{this.setFloatingElSize()}),this.getAllItemsDebounced=T(this.getAllItems,0),this.listenOn(document,"click",this.documentClickHandler),this.listen("calciteInternalAutocompleteItemSelect",this.handleInternalAutocompleteItemSelect)}static{this.properties={activeDescendant:16,activeIndex:16,hasContentBottom:16,hasContentTop:16,items:16,groups:16,isOpen:16,enabledItems:16,alignment:3,autocomplete:0,disabled:7,flipPlacements:0,form:3,icon:[3,{converter:m}],iconFlipRtl:7,inputValue:1,label:1,loading:7,maxLength:11,messageOverrides:0,minLength:11,name:3,open:7,overlayPositioning:3,pattern:1,placeholder:1,placement:3,prefixText:1,readOnly:7,required:7,scale:3,status:3,suffixText:1,validationIcon:[3,{converter:m}],validationMessage:1,validity:0,value:1}}static{this.styles=q}get isOpen(){return this.open&&(this.hasContentTop||this.hasContentBottom||this.items.length>0)}get enabledItems(){return this.items.filter(t=>!t.disabled)}async reposition(t=!1){let{floatingEl:e,referenceEl:s,placement:i,overlayPositioning:n,flipPlacements:a}=this;return P(this,{floatingEl:e,referenceEl:s,overlayPositioning:n,placement:i,flipPlacements:a,type:"menu"},t)}async scrollContentTo(t){this.transitionEl?.scrollTo(t)}async selectText(){return this.referenceEl.selectText()}async setFocus(){return this.referenceEl.setFocus()}connectedCallback(){super.connectedCallback(),this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0}),B(this),M(this),this.defaultInputValue=this.inputValue||"",this.getAllItemsDebounced(),p(this)}async load(){this.getAllItemsDebounced()}willUpdate(t){t.has("disabled")&&(this.hasUpdated||this.disabled!==!1)&&this.handleDisabledChange(this.disabled),t.has("flipPlacements")&&this.reposition(!0),t.has("open")&&(this.hasUpdated||this.open!==!1)&&this.openHandler(),t.has("overlayPositioning")&&(this.hasUpdated||this.overlayPositioning!=="absolute")&&this.reposition(!0),t.has("placement")&&(this.hasUpdated||this.placement!==v)&&this.reposition(!0);let e=!1;t.has("inputValue")&&(this.hasUpdated||this.inputValue)&&(this.inputValueMatchPattern=this.inputValue&&new RegExp(`(${O(this.inputValue)})`,"i"),this.updateItems(),this.updateGroups(),e=!0),!e&&t.has("scale")&&(this.hasUpdated||this.scale!=="m")&&(this.updateItems(),this.updateGroups(),e=!0),!e&&t.has("activeIndex")&&(this.hasUpdated||this.activeIndex!==-1)&&this.updateItems()}updated(){A(this)}loaded(){L(this,this.value||""),this.defaultInputValue=this.inputValue||"",p(this)}disconnectedCallback(){super.disconnectedCallback(),this.mutationObserver?.disconnect(),this.resizeObserver?.disconnect(),F(this),S(this),V(this)}setFloatingElSize(){let{referenceEl:t,floatingEl:e}=this;!t||!e||(e.style.inlineSize=`${t.clientWidth}px`)}handleGlobalAttributesChanged(){this.requestUpdate()}handleDisabledChange(t){t||(this.open=!1)}openHandler(){if(z(this),this.open||(this.activeIndex=-1),this.disabled){this.open=!1;return}this.setFloatingElSize(),this.reposition(!0)}async documentClickHandler(t){this.disabled||t.composedPath().includes(this.el)||(this.open=!1)}async handleInternalAutocompleteItemSelect(t){this.value=t.target.value,t.stopPropagation(),this.emitChange(),await this.setFocus(),this.open=!1}onLabelClick(){this.setFocus()}onFormReset(){this.inputValue=this.defaultInputValue}onBeforeOpen(){this.calciteAutocompleteBeforeOpen.emit()}onOpen(){this.calciteAutocompleteOpen.emit()}onBeforeClose(){this.calciteAutocompleteBeforeClose.emit()}onClose(){this.calciteAutocompleteClose.emit()}emitChange(){this.calciteAutocompleteChange.emit()}updateGroups(){this.groups.forEach((t,e,s)=>{t.scale=this.scale,e===0&&(t.disableSpacing=!0);let i=s[e+1];i&&(i.disableSpacing=t.children.length===0)})}updateItems(){let t=null;this.items.forEach(e=>{e.scale=this.scale,e.inputValueMatchPattern=this.inputValueMatchPattern}),this.enabledItems.forEach((e,s)=>{let i=s===this.activeIndex;i&&(t=e.guid),e.active=i}),this.activeDescendant=t}handleInputFocus(){this.open=!0}handleContentTopSlotChange(t){this.hasContentTop=f(t)}handleContentBottomSlotChange(t){this.hasContentBottom=f(t)}getAllItems(){let{el:t}=this;this.groups=Array.from(t.querySelectorAll(K)),this.items=Array.from(t.querySelectorAll(J)),this.updateItems(),this.updateGroups()}setReferenceEl(t){this.referenceEl=t,t&&(this.resizeObserver?.observe(t),p(this))}keyDownHandler(t){let{defaultPrevented:e,key:s}=t;if(e)return;let{open:i,activeIndex:n,enabledItems:a}=this,h=a.length&&n>-1?a[n]:null;switch(s){case"Escape":i&&(this.open=!1,t.preventDefault());break;case"Tab":this.open=!1;break;case"Enter":i&&h?(this.value=h.value,this.emitChange(),this.open=!1,t.preventDefault()):t.defaultPrevented||H(this)&&t.preventDefault();break;case"ArrowDown":a.length&&(this.open=!0,this.activeIndex=n!==-1?Math.min(n+1,a.length-1):0,this.scrollToActiveItem(),t.preventDefault());break;case"ArrowUp":a.length&&(this.open=!0,this.activeIndex=n!==-1?Math.max(n-1,0):a.length-1,this.scrollToActiveItem(),t.preventDefault());break;case"Home":a.length&&(this.open=!0,this.activeIndex=0,this.scrollToActiveItem(),t.preventDefault());break;case"End":a.length&&(this.open=!0,this.activeIndex=a.length-1,this.scrollToActiveItem(),t.preventDefault());break}}scrollToActiveItem(){this.enabledItems[this.activeIndex]?.scrollIntoView({block:"nearest"})}changeHandler(t){t.stopPropagation(),this.inputValue=t.target.value,this.calciteAutocompleteTextChange.emit()}inputClickHandler(t){t.defaultPrevented||(this.open=!0)}inputHandler(t){t.stopPropagation(),this.inputValue=t.target.value,this.calciteAutocompleteTextInput.emit()}setFloatingEl(t){this.floatingEl=t,p(this)}setTransitionEl(t){this.transitionEl=t}render(){let{disabled:t,listId:e,inputId:s,isOpen:i}=this,n=this.el.autofocus,a=this.el.enterKeyHint,h=this.el.inputMode;return E({disabled:t,children:u`<div class=${r(l.inputContainer)}><calcite-input .alignment=${this.alignment} aria-activedescendant=${this.activeDescendant??o} aria-controls=${e??o} aria-owns=${e??o} aria-autocomplete=list .ariaExpanded=${i} aria-haspopup=listbox .autocomplete=${this.autocomplete} .autofocus=${n} class=${r(l.input)} clearable .disabled=${t} enterkeyhint=${a??o} .form=${this.form} .icon=${this.icon??!0} .iconFlipRtl=${this.iconFlipRtl} id=${s??o} inputmode=${h??o} .label=${this.label} .loading=${this.loading} .maxLength=${this.maxLength} .messageOverrides=${this.messages} .minLength=${this.minLength} .name=${this.name} @click=${this.inputClickHandler} @keydown=${this.keyDownHandler} @calciteInputChange=${this.changeHandler} @calciteInputInput=${this.inputHandler} @calciteInternalInputFocus=${this.handleInputFocus} .pattern=${this.pattern} .placeholder=${this.placeholder} .prefixText=${this.prefixText} .readOnly=${this.readOnly} role=combobox .scale=${this.scale} .status=${this.status} .suffixText=${this.suffixText} type=search .value=${this.inputValue} ${d(this.setReferenceEl)}></calcite-input>${this.renderListBox()}<div class=${r({[l.contentContainer]:!0,[l.floatingUIContainer]:!0,[l.floatingUIContainerActive]:i})} ${d(this.setFloatingEl)}><div class=${r({[l.contentAnimation]:!0,[b.animation]:!0,[b.animationActive]:i})} ${d(this.setTransitionEl)}><div class=${r({[l.content]:!0,[l.contentHidden]:!i})}><slot name=${G.contentTop} @slotchange=${this.handleContentTopSlotChange}></slot><slot aria-hidden=true></slot><slot name=${G.contentBottom} @slotchange=${this.handleContentBottomSlotChange}></slot></div></div></div></div>${U({component:this})}${this.validationMessage&&this.status==="invalid"?R({icon:this.validationIcon,id:W.validationMessage,message:this.validationMessage,scale:this.scale,status:this.status}):null}`})}renderListBox(){return u`<ul aria-labelledby=${this.inputId??o} class=${r(l.screenReadersOnly)} id=${this.listId??o} role=listbox tabindex=-1>${this.renderListBoxOptions()}</ul>`}renderListBoxOptions(){return D(this.items.filter(t=>!!(t.label||t.heading)),t=>t.guid,t=>u`<li .ariaDisabled=${t.disabled} .ariaLabel=${t.label} id=${t.guid??o} role=option tabindex=-1>${t.heading}${t.description}</li>`)}};C("calcite-autocomplete",x);export{x as Autocomplete};
|
@@ -0,0 +1,4 @@
|
|
1
|
+
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
2
|
+
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
3
|
+
v3.0.0 */
|
4
|
+
import{b as s}from"./VJD4CRQ3.js";import"./YYJSHQR3.js";function m(r){return r>1&&r<5&&~~(r/10)!==1}function n(r,e,t,a){var _=r+" ";switch(t){case"s":return e||a?"p\xE1r sek\xFAnd":"p\xE1r sekundami";case"m":return e?"min\xFAta":a?"min\xFAtu":"min\xFAtou";case"mm":return e||a?_+(m(r)?"min\xFAty":"min\xFAt"):_+"min\xFAtami";case"h":return e?"hodina":a?"hodinu":"hodinou";case"hh":return e||a?_+(m(r)?"hodiny":"hod\xEDn"):_+"hodinami";case"d":return e||a?"de\u0148":"d\u0148om";case"dd":return e||a?_+(m(r)?"dni":"dn\xED"):_+"d\u0148ami";case"M":return e||a?"mesiac":"mesiacom";case"MM":return e||a?_+(m(r)?"mesiace":"mesiacov"):_+"mesiacmi";case"y":return e||a?"rok":"rokom";case"yy":return e||a?_+(m(r)?"roky":"rokov"):_+"rokmi"}}var o={name:"sk",weekdays:"nede\u013Ea_pondelok_utorok_streda_\u0161tvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_\u0161t_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_\u0161t_pi_so".split("_"),months:"janu\xE1r_febru\xE1r_marec_apr\xEDl_m\xE1j_j\xFAn_j\xFAl_august_september_okt\xF3ber_november_december".split("_"),monthsShort:"jan_feb_mar_apr_m\xE1j_j\xFAn_j\xFAl_aug_sep_okt_nov_dec".split("_"),weekStart:1,yearStart:4,ordinal:function(e){return e+"."},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},relativeTime:{future:"za %s",past:"pred %s",s:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n}};s.locale(o,null,!0);var c=o;export{c as default};
|