@esri/calcite-components 3.0.2 → 3.0.3
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/calcite/{ALESK5G3.js → 2ADYSLPZ.js} +2 -2
- package/dist/calcite/{T4ULXMD7.js → 2BYCWVAC.js} +2 -2
- package/dist/calcite/{METSX5PL.js → 2DJLQG4A.js} +2 -2
- package/dist/calcite/{Q66CF4W3.js → 2KN7VFV3.js} +2 -2
- package/dist/calcite/{ORNJ2SHJ.js → 2QQE6RBG.js} +2 -2
- package/dist/calcite/{JAS5LR3V.js → 2W46C5IT.js} +2 -2
- package/dist/calcite/{KN2DHQQX.js → 2WEHZC4R.js} +2 -2
- package/dist/calcite/{44T76NU4.js → 2YD4Z56B.js} +2 -2
- package/dist/calcite/{IF2VTG4O.js → 2YU4JUQK.js} +2 -2
- package/dist/calcite/{5K7VN4KA.js → 323UDHL6.js} +2 -2
- package/dist/calcite/{DUIF4UOJ.js → 35N5CZK3.js} +2 -2
- package/dist/calcite/{RBZYH2DB.js → 3GWF5ELI.js} +2 -2
- package/dist/calcite/{P7NGK5HU.js → 3JWBMHMV.js} +2 -2
- package/dist/calcite/{2FISXH45.js → 3NUUOJEI.js} +1 -1
- package/dist/calcite/{HYAVXYZ2.js → 3O4S27LQ.js} +2 -2
- package/dist/calcite/{4GA4WC4S.js → 3O5VK4VN.js} +2 -2
- package/dist/calcite/{GMSVWV3D.js → 3OFHBVGT.js} +2 -2
- package/dist/calcite/{XIWNJBFP.js → 3XJDMBMJ.js} +1 -1
- package/dist/calcite/{OPD7D4JP.js → 3YYHU67H.js} +1 -1
- package/dist/calcite/{ME6Z2YOO.js → 44ZIVGS7.js} +2 -2
- package/dist/calcite/{36RFUWOV.js → 4BEUN427.js} +2 -2
- package/dist/calcite/{2PENUS6W.js → 4G4MW34F.js} +2 -2
- package/dist/calcite/{QVCY4WGU.js → 4GGWE4M3.js} +2 -2
- package/dist/calcite/{KFCQM5TQ.js → 4HF2MH3F.js} +2 -2
- package/dist/calcite/{E3P6UTBX.js → 4KGTT6I3.js} +2 -2
- package/dist/calcite/{YYW4OM7V.js → 4QHW2KCC.js} +2 -2
- package/dist/calcite/{CUGMAH5O.js → 52AGH4NW.js} +2 -2
- package/dist/calcite/{NMX7JENH.js → 5A4SCMTT.js} +2 -2
- package/dist/calcite/{FPK4FZB7.js → 5B6WX2DL.js} +2 -2
- package/dist/calcite/{AWUASB3T.js → 5BW6OEX4.js} +2 -2
- package/dist/calcite/{C4UTTCWS.js → 5FDKP64C.js} +2 -2
- package/dist/calcite/{ARIDWTR6.js → 5MAYMOZA.js} +1 -1
- package/dist/calcite/{TNF7E2RJ.js → 5UXZD2PW.js} +2 -2
- package/dist/calcite/{KUKMISYB.js → 5WEHUHTX.js} +2 -2
- package/dist/calcite/{GRW4JOP4.js → 5ZOOOTHO.js} +2 -2
- package/dist/calcite/{O4ROBHBS.js → 6C6KOC25.js} +2 -2
- package/dist/calcite/{PYX2DOAY.js → 6DU5XIRS.js} +2 -2
- package/dist/calcite/{IVQXEPWH.js → 6IRQP6SO.js} +2 -2
- package/dist/calcite/{AGSPOKJL.js → 6M4MQUQE.js} +2 -2
- package/dist/calcite/{E4L6NZNF.js → 6MCHN6SO.js} +2 -2
- package/dist/calcite/{4BJW4WBP.js → 6NCXFBVI.js} +2 -2
- package/dist/calcite/{WRT5VFG2.js → 6NJ2XB5D.js} +2 -2
- package/dist/calcite/{R7DNUMFW.js → 6NPZR4ED.js} +2 -2
- package/dist/calcite/{63TOND25.js → 74XIV7EB.js} +2 -2
- package/dist/calcite/{BPAXWMOU.js → 77RD52T4.js} +2 -2
- package/dist/calcite/{VTO75NHN.js → 7BOAE3LM.js} +2 -2
- package/dist/calcite/{MNEWDDI2.js → 7DY27BCZ.js} +2 -2
- package/dist/calcite/{26HCN763.js → 7EIGV5FV.js} +2 -2
- package/dist/calcite/{AQIH4QSU.js → 7MV5X5YY.js} +2 -2
- package/dist/calcite/{2MRVC7VA.js → 7SAECUZA.js} +2 -2
- package/dist/calcite/{3BBEWJXF.js → 7SFM2X2V.js} +2 -2
- package/dist/calcite/{3ZXS7UKF.js → 7SQTVACB.js} +2 -2
- package/dist/calcite/{SSS44B5K.js → 7U3ECTM6.js} +2 -2
- package/dist/calcite/{VI3KXLGC.js → 7WRGOM4T.js} +1 -1
- package/dist/calcite/{ZYEB6OOM.js → 7XDJ54GY.js} +2 -2
- package/dist/calcite/{DXHVTM3H.js → ABXKDQDM.js} +2 -2
- package/dist/calcite/{HZD74WIH.js → AN6BRRC4.js} +2 -2
- package/dist/calcite/{JD225EOA.js → AS3OWJAM.js} +2 -2
- package/dist/calcite/{2YAKETFF.js → AUQ7MLX2.js} +2 -2
- package/dist/calcite/{MBDY7HC3.js → AWXNBIWS.js} +2 -2
- package/dist/calcite/{EZG5QKN6.js → AZOHNXOH.js} +2 -2
- package/dist/calcite/{KJOYBAI5.js → B45JROQX.js} +2 -2
- package/dist/calcite/{P7S34RN4.js → B4YIOD3M.js} +1 -1
- package/dist/calcite/{WK6BSIWL.js → B7HWVLZ4.js} +2 -2
- package/dist/calcite/{BNGQWGBI.js → B7IG4G6I.js} +2 -2
- package/dist/calcite/{DP7DCTHA.js → B7MQCVNK.js} +2 -2
- package/dist/calcite/{4ZU47CQ3.js → BFDAS53F.js} +1 -1
- package/dist/calcite/{E3LQGBTP.js → BHTF7FU6.js} +2 -2
- package/dist/calcite/{MFSJ7P6E.js → BKNRSH5I.js} +2 -2
- package/dist/calcite/{JIYWCS5W.js → BTOGKDPW.js} +2 -2
- package/dist/calcite/{BFYE5CCU.js → BZAVOPTZ.js} +2 -2
- package/dist/calcite/{TY7PAOH3.js → CATJWSUR.js} +2 -2
- package/dist/calcite/{K5VIMCTR.js → CY5CVEEO.js} +2 -2
- package/dist/calcite/{LVN6GKGM.js → D4CU2ELJ.js} +2 -2
- package/dist/calcite/{R4WJ47LZ.js → DFFLO6RQ.js} +1 -1
- package/dist/calcite/{LVPZFTT7.js → DIIIRTRD.js} +2 -2
- package/dist/calcite/{O6S6VY32.js → DJ65IGAJ.js} +2 -2
- package/dist/calcite/{4FEHFKFZ.js → DR6TNPNP.js} +2 -2
- package/dist/calcite/{KYF26PQD.js → DSV6O5SN.js} +2 -2
- package/dist/calcite/{2XQRDBOF.js → DWSKOILM.js} +2 -2
- package/dist/calcite/{D5BK72IU.js → E2K7V264.js} +2 -2
- package/dist/calcite/{QTFP7OUN.js → E5276FGO.js} +2 -2
- package/dist/calcite/{G57AKIT2.js → EJZAAUYU.js} +1 -1
- package/dist/calcite/{4PUNUHJG.js → EO6WGEPM.js} +2 -2
- package/dist/calcite/{OTFP3MJD.js → EOTHRH2D.js} +2 -2
- package/dist/calcite/{J67XRVOQ.js → F3XJA6O4.js} +2 -2
- package/dist/calcite/{6LEJ3UPZ.js → F4EMKIHK.js} +2 -2
- package/dist/calcite/{YJATTLI4.js → FA3NO5EU.js} +2 -2
- package/dist/calcite/FA3WMFEB.js +22 -0
- package/dist/calcite/{S5F5TPCL.js → FKBMHLD3.js} +2 -2
- package/dist/calcite/{XJFKL6PV.js → FP7FM2VM.js} +2 -2
- package/dist/calcite/{EUZ5QYKG.js → FP7S2M3E.js} +2 -2
- package/dist/calcite/{3LLV2AEE.js → FTPC7ETT.js} +2 -2
- package/dist/calcite/{EPC6PV3A.js → FWYDKVOD.js} +2 -2
- package/dist/calcite/{4S7WQOEH.js → G3CCZ6XE.js} +2 -2
- package/dist/calcite/{LEM2HQED.js → G5S7W2IC.js} +1 -1
- package/dist/calcite/{HVSGKI4U.js → GEURCF7X.js} +2 -2
- package/dist/calcite/{KP54C3JZ.js → GFAN7OST.js} +2 -2
- package/dist/calcite/{4ZGOTZVH.js → GGSSFQEY.js} +2 -2
- package/dist/calcite/{FXELZL3D.js → GIAPPW2B.js} +2 -2
- package/dist/calcite/{Z4EVTJCF.js → GQAZQ3S4.js} +2 -2
- package/dist/calcite/{DABOIYSX.js → GQUIDXCJ.js} +2 -2
- package/dist/calcite/GUUZ7ZDV.js +4 -0
- package/dist/calcite/{3INVFQIX.js → H3XVYGU3.js} +2 -2
- package/dist/calcite/{PBIOUIAG.js → H6E5FODU.js} +2 -2
- package/dist/calcite/{VRXSW66C.js → HBMJPX74.js} +2 -2
- package/dist/calcite/{KTIU4AW5.js → HEHWLTET.js} +2 -2
- package/dist/calcite/{SMJSXUYT.js → HHWADIGN.js} +2 -2
- package/dist/calcite/{S2LJOUMB.js → HJBKJ56M.js} +2 -2
- package/dist/calcite/{2D346WWC.js → HMAFQQAN.js} +2 -2
- package/dist/calcite/{AR5Q6UVU.js → HMNR3FGX.js} +2 -2
- package/dist/calcite/{BZD7GFVI.js → HO6YJDQ6.js} +2 -2
- package/dist/calcite/{D3M3HCEU.js → HXRFWMNM.js} +2 -2
- package/dist/calcite/{G44GIY32.js → HZNGZAMK.js} +2 -2
- package/dist/calcite/{5VWHRVSC.js → HZSC2XKV.js} +1 -1
- package/dist/calcite/{PXNVLWHJ.js → I7NALNEM.js} +2 -2
- package/dist/calcite/{VANSKT7E.js → I7S2F2P2.js} +2 -2
- package/dist/calcite/{M7C4BL3W.js → J22MUGVD.js} +2 -2
- package/dist/calcite/{OYFIV5DV.js → J2XEN4PC.js} +2 -2
- package/dist/calcite/{RJ2QSN7Y.js → JHSTZGJJ.js} +2 -2
- package/dist/calcite/{XLECMXIQ.js → JNK6UYNK.js} +2 -2
- package/dist/calcite/{UIY3ZOUS.js → JR5RWSNX.js} +2 -2
- package/dist/calcite/{CHIM52AT.js → JSHY6EAI.js} +2 -2
- package/dist/calcite/{5COCTVTL.js → JZB5GBZP.js} +2 -2
- package/dist/calcite/{4JFNYHYI.js → JZBTEL4E.js} +2 -2
- package/dist/calcite/{NQ2LK6DD.js → KE362XQL.js} +2 -2
- package/dist/calcite/{URZNSXZT.js → KGBDVMSN.js} +2 -2
- package/dist/calcite/{57I55JUX.js → KHFQ3CWL.js} +2 -2
- package/dist/calcite/{CI3KGKPX.js → KJ5QSHIV.js} +2 -2
- package/dist/calcite/{5LT4TL2A.js → KK2GYQJN.js} +1 -1
- package/dist/calcite/{YJBOOAYG.js → KPOLTNRY.js} +2 -2
- package/dist/calcite/{XNX35ZFQ.js → KUJZNT2T.js} +2 -2
- package/dist/calcite/{ZDGZDBPE.js → KW5SSXI2.js} +2 -2
- package/dist/calcite/{XCHOTUWL.js → KZLGID44.js} +2 -2
- package/dist/calcite/{6VYYMBFV.js → L64PNSJ7.js} +2 -2
- package/dist/calcite/{GE7AW6D3.js → LBEGPJNS.js} +2 -2
- package/dist/calcite/{LALBDZYZ.js → LDPDJTKP.js} +2 -2
- package/dist/calcite/{XMMC32IR.js → LHPTWBKI.js} +2 -2
- package/dist/calcite/{N7VBZNZD.js → LPMWWCXO.js} +2 -2
- package/dist/calcite/M2Z3Q7XS.js +4 -0
- package/dist/calcite/{KDOZHNH6.js → MADH6ZCD.js} +2 -2
- package/dist/calcite/{BPPH3LON.js → MED7DXL5.js} +2 -2
- package/dist/calcite/{BS4H6VSM.js → MN6JS3SO.js} +2 -2
- package/dist/calcite/{BYPR2JSH.js → MNQ67HJJ.js} +2 -2
- package/dist/calcite/{77BUHP3U.js → MOOKY73S.js} +2 -2
- package/dist/calcite/{MKITX7PO.js → N3RCOT5M.js} +2 -2
- package/dist/calcite/{2QHD4PJ3.js → N6SVU4LG.js} +2 -2
- package/dist/calcite/{B3PECEJL.js → NE3OUQ5Q.js} +2 -2
- package/dist/calcite/{DF4DAIZE.js → NFHTQLBP.js} +2 -2
- package/dist/calcite/{532AODLB.js → NHLJM63F.js} +2 -2
- package/dist/calcite/{5V5PZFPV.js → NLWFZFB3.js} +1 -1
- package/dist/calcite/{KXMBACE6.js → NSBYYOY2.js} +2 -2
- package/dist/calcite/{B4RFHTW2.js → NSHGJK73.js} +1 -1
- package/dist/calcite/{T2NQWILT.js → NUDAXIBZ.js} +1 -1
- package/dist/calcite/{AFAENHVJ.js → O5SN3SJX.js} +2 -2
- package/dist/calcite/{R4XN3TM5.js → OEWDESOU.js} +2 -2
- package/dist/calcite/{3TLSGE35.js → OTB6UDF3.js} +2 -2
- package/dist/calcite/{VPBKQWRV.js → OXCCRWE7.js} +2 -2
- package/dist/calcite/{NUOSJ2QU.js → PG3U4QAJ.js} +2 -2
- package/dist/calcite/{U52CBUNR.js → PMUHOU3H.js} +2 -2
- package/dist/calcite/{JNT67J3Z.js → PRPWC5NA.js} +2 -2
- package/dist/calcite/{YX5TRVRY.js → PSOUNIL7.js} +2 -2
- package/dist/calcite/{6MF5C5ST.js → Q6VXEGD5.js} +2 -2
- package/dist/calcite/{4V2CYZGJ.js → Q752TMWW.js} +2 -2
- package/dist/calcite/{OSDCA5Z5.js → QMGTBEVK.js} +2 -2
- package/dist/calcite/{Z6VFYDJB.js → QNL5HVWX.js} +2 -2
- package/dist/calcite/{UG4VX2WO.js → QQ2QONXU.js} +2 -2
- package/dist/calcite/{FTW2LAIW.js → QQCFFW4X.js} +2 -2
- package/dist/calcite/{HAWP5JEV.js → QSRM5BPK.js} +2 -2
- package/dist/calcite/{H7Q3GS6I.js → QXDDQX5X.js} +2 -2
- package/dist/calcite/{AW6AIWFX.js → R4TXKGB3.js} +2 -2
- package/dist/calcite/{CVRPAZHG.js → R546VITU.js} +1 -1
- package/dist/calcite/{UEYGVMY4.js → RGOMC52G.js} +2 -2
- package/dist/calcite/{NWMFN6P5.js → RIMAR2EG.js} +2 -2
- package/dist/calcite/{IUEFQJD6.js → RJV2JRQS.js} +2 -2
- package/dist/calcite/{QNMIJ4WK.js → RLVRPIQB.js} +2 -2
- package/dist/calcite/{MBW4RJGP.js → RR6NYECR.js} +2 -2
- package/dist/calcite/{7D6PTDQC.js → RVEN4NOD.js} +1 -1
- package/dist/calcite/{HPIVWV3W.js → RXONMM2F.js} +2 -2
- package/dist/calcite/{KBLPZCLN.js → RYOCULDB.js} +2 -2
- package/dist/calcite/{2J535H74.js → SCKKZTVU.js} +1 -1
- package/dist/calcite/{UD7QUO4R.js → SKGKFH23.js} +2 -2
- package/dist/calcite/{E77UFCG7.js → SUCAF23Q.js} +1 -1
- package/dist/calcite/{AG3OBGY5.js → SWZ5F3MV.js} +2 -2
- package/dist/calcite/{MKVVU5LK.js → SX5X4EI7.js} +2 -2
- package/dist/calcite/{GO4QOK2G.js → SXYTJEOC.js} +2 -2
- package/dist/calcite/{GYGPER4P.js → SY3OC64V.js} +2 -2
- package/dist/calcite/{42EYBCUV.js → SYD5OQF5.js} +1 -1
- package/dist/calcite/{FC7N6LLB.js → SZONZQBZ.js} +2 -2
- package/dist/calcite/{R4SFKVAB.js → TEDXU7XB.js} +2 -2
- package/dist/calcite/{MMMDZXO3.js → TL6JRD7M.js} +2 -2
- package/dist/calcite/{CFI5FI64.js → TOC7BSNI.js} +2 -2
- package/dist/calcite/{IMPJNHBW.js → TYTRJYZL.js} +2 -2
- package/dist/calcite/{IIZHIWV2.js → U3FS2FCE.js} +2 -2
- package/dist/calcite/{2JYAKUAI.js → UIWDOEUD.js} +2 -2
- package/dist/calcite/{SGGVWBUG.js → URGYWK4W.js} +2 -2
- package/dist/calcite/{QCYLDKPD.js → V5LFQL3E.js} +2 -2
- package/dist/calcite/{KKGMEX34.js → VGEM6KFP.js} +1 -1
- package/dist/calcite/{BYC3WNCO.js → VH2EYQHG.js} +2 -2
- package/dist/calcite/{762X4JRQ.js → VHAES5IP.js} +2 -2
- package/dist/calcite/{TYHCHYHH.js → VJ5DDNTG.js} +2 -2
- package/dist/calcite/{PXWJSYPX.js → VTUEWQVZ.js} +2 -2
- package/dist/calcite/{FBT37OEB.js → VXIKRCVR.js} +2 -2
- package/dist/calcite/{LQPVMOYJ.js → W4BKGWAR.js} +2 -2
- package/dist/calcite/{SXNM7HTI.js → WB6MZBXE.js} +2 -2
- package/dist/calcite/{IZ4UM67D.js → WBAUVVNW.js} +2 -2
- package/dist/calcite/{JORKWQP7.js → WCZACGMB.js} +2 -2
- package/dist/calcite/{6EPLB3BH.js → WEHMJO3D.js} +2 -2
- package/dist/calcite/{3RVGBVFJ.js → WGTFNY3J.js} +2 -2
- package/dist/calcite/{ADQG5III.js → WHHZYHGQ.js} +2 -2
- package/dist/calcite/{GUGZXV6L.js → WOM5JCSF.js} +1 -1
- package/dist/calcite/{SPUWEZWR.js → X37LIRIJ.js} +2 -2
- package/dist/calcite/{7BNRX2TA.js → XVCE2OUE.js} +2 -2
- package/dist/calcite/{PGMKTKRG.js → XVQRC56A.js} +2 -2
- package/dist/calcite/{ERSVI3SQ.js → XYA7Z3GN.js} +2 -2
- package/dist/calcite/{KEZYP6US.js → YED3P76Q.js} +2 -2
- package/dist/calcite/{T64NHTR5.js → YJZ2YI4N.js} +2 -2
- package/dist/calcite/{NXAQ3ZNZ.js → YW6WV5X7.js} +2 -2
- package/dist/calcite/{PDYG4KDD.js → Z3IB3JHI.js} +2 -2
- package/dist/calcite/{BYLYAZTZ.js → Z64MBKLN.js} +2 -2
- package/dist/calcite/{LX6AOLTA.js → Z762LC4M.js} +2 -2
- package/dist/calcite/{IFPCUCS6.js → ZHYECVB4.js} +2 -2
- package/dist/calcite/{3IDVHKGJ.js → ZQALJZYZ.js} +2 -2
- package/dist/calcite/{HHGO6V2F.js → ZXJF7S7L.js} +2 -2
- package/dist/calcite/calcite.esm.js +2 -2
- package/dist/chunks/ExpandToggle.js +1 -1
- package/dist/chunks/FloatingArrow.js +1 -1
- package/dist/chunks/Heading.js +1 -1
- package/dist/chunks/Validation.js +1 -1
- package/dist/chunks/_commonjsHelpers.js +1 -1
- package/dist/chunks/array.js +1 -1
- package/dist/chunks/component.js +1 -1
- package/dist/chunks/core.js +1 -1
- package/dist/chunks/date.js +1 -1
- package/dist/chunks/dom.js +1 -1
- package/dist/chunks/dynamicClasses.js +1 -1
- package/dist/chunks/filter.js +1 -1
- package/dist/chunks/floating-ui.js +1 -1
- package/dist/chunks/focusTrapComponent.js +1 -1
- package/dist/chunks/form.js +1 -1
- package/dist/chunks/global.js +1 -1
- package/dist/chunks/guid.js +1 -1
- package/dist/chunks/input.js +1 -1
- package/dist/chunks/interact.min.js +1 -1
- package/dist/chunks/interactive.js +1 -1
- package/dist/chunks/key.js +1 -1
- package/dist/chunks/label.js +1 -1
- package/dist/chunks/loadable.js +1 -1
- package/dist/chunks/locale.js +1 -1
- package/dist/chunks/logger.js +1 -1
- package/dist/chunks/math.js +1 -1
- package/dist/chunks/observers.js +1 -1
- package/dist/chunks/openCloseComponent.js +1 -1
- package/dist/chunks/resources.js +1 -1
- package/dist/chunks/resources2.js +1 -1
- package/dist/chunks/resources3.js +1 -1
- package/dist/chunks/resources4.js +1 -1
- package/dist/chunks/resources5.js +1 -1
- package/dist/chunks/resources6.js +1 -1
- package/dist/chunks/resources7.js +1 -1
- package/dist/chunks/responsive.js +1 -1
- package/dist/chunks/runtime.js +3 -3
- package/dist/chunks/sortableComponent.js +1 -1
- package/dist/chunks/text.js +1 -1
- package/dist/chunks/time.js +1 -1
- package/dist/chunks/useFocusTrap.js +29 -25
- package/dist/chunks/useT9n.js +1 -1
- package/dist/chunks/utils.js +1 -1
- package/dist/chunks/utils2.js +1 -1
- package/dist/chunks/utils3.js +1 -1
- package/dist/chunks/utils4.js +1 -1
- package/dist/components/calcite-accordion/customElement.js +1 -1
- package/dist/components/calcite-accordion-item/customElement.js +1 -1
- package/dist/components/calcite-action/customElement.js +1 -1
- package/dist/components/calcite-action-bar/customElement.js +1 -1
- package/dist/components/calcite-action-group/customElement.js +1 -1
- package/dist/components/calcite-action-menu/customElement.js +1 -1
- package/dist/components/calcite-action-pad/customElement.js +1 -1
- package/dist/components/calcite-alert/customElement.js +1 -1
- package/dist/components/calcite-autocomplete/customElement.js +1 -1
- package/dist/components/calcite-autocomplete-item/customElement.js +1 -1
- package/dist/components/calcite-autocomplete-item-group/customElement.js +1 -1
- package/dist/components/calcite-avatar/customElement.js +1 -1
- package/dist/components/calcite-block/customElement.js +1 -1
- package/dist/components/calcite-block-group/customElement.js +1 -1
- package/dist/components/calcite-block-section/customElement.js +1 -1
- package/dist/components/calcite-button/customElement.js +1 -1
- package/dist/components/calcite-card/customElement.js +1 -1
- package/dist/components/calcite-card-group/customElement.js +1 -1
- package/dist/components/calcite-carousel/customElement.js +1 -1
- package/dist/components/calcite-carousel-item/customElement.js +1 -1
- package/dist/components/calcite-checkbox/customElement.js +1 -1
- package/dist/components/calcite-chip/customElement.js +1 -1
- package/dist/components/calcite-chip-group/customElement.js +1 -1
- package/dist/components/calcite-color-picker/customElement.js +1 -1
- package/dist/components/calcite-color-picker-hex-input/customElement.js +1 -1
- package/dist/components/calcite-color-picker-swatch/customElement.js +1 -1
- package/dist/components/calcite-combobox/customElement.js +1 -1
- package/dist/components/calcite-combobox-item/customElement.js +1 -1
- package/dist/components/calcite-combobox-item-group/customElement.js +1 -1
- package/dist/components/calcite-date-picker/customElement.js +1 -1
- package/dist/components/calcite-date-picker-day/customElement.js +1 -1
- package/dist/components/calcite-date-picker-month/customElement.js +1 -1
- package/dist/components/calcite-date-picker-month-header/customElement.js +34 -28
- package/dist/components/calcite-dialog/customElement.js +1 -1
- package/dist/components/calcite-dropdown/customElement.js +1 -1
- package/dist/components/calcite-dropdown-group/customElement.js +1 -1
- package/dist/components/calcite-dropdown-item/customElement.js +1 -1
- package/dist/components/calcite-fab/customElement.js +1 -1
- package/dist/components/calcite-filter/customElement.js +1 -1
- package/dist/components/calcite-flow/customElement.js +1 -1
- package/dist/components/calcite-flow-item/customElement.js +1 -1
- package/dist/components/calcite-graph/customElement.js +18 -18
- package/dist/components/calcite-handle/customElement.js +1 -1
- package/dist/components/calcite-icon/customElement.js +1 -1
- package/dist/components/calcite-inline-editable/customElement.js +1 -1
- package/dist/components/calcite-input/customElement.js +1 -1
- package/dist/components/calcite-input-date-picker/customElement.js +1 -1
- package/dist/components/calcite-input-message/customElement.js +1 -1
- package/dist/components/calcite-input-number/customElement.js +1 -1
- package/dist/components/calcite-input-text/customElement.js +1 -1
- package/dist/components/calcite-input-time-picker/customElement.js +1 -1
- package/dist/components/calcite-input-time-zone/customElement.js +1 -1
- package/dist/components/calcite-label/customElement.js +1 -1
- package/dist/components/calcite-link/customElement.js +1 -1
- package/dist/components/calcite-list/customElement.d.ts +1 -1
- package/dist/components/calcite-list/customElement.js +1 -1
- package/dist/components/calcite-list-item/customElement.js +1 -1
- package/dist/components/calcite-list-item-group/customElement.js +1 -1
- package/dist/components/calcite-loader/customElement.js +1 -1
- package/dist/components/calcite-menu/customElement.js +1 -1
- package/dist/components/calcite-menu-item/customElement.js +1 -1
- package/dist/components/calcite-meter/customElement.js +1 -1
- package/dist/components/calcite-modal/customElement.js +1 -1
- package/dist/components/calcite-navigation/customElement.js +1 -1
- package/dist/components/calcite-navigation-logo/customElement.js +1 -1
- package/dist/components/calcite-navigation-user/customElement.js +1 -1
- package/dist/components/calcite-notice/customElement.js +1 -1
- package/dist/components/calcite-option/customElement.js +1 -1
- package/dist/components/calcite-option-group/customElement.js +1 -1
- package/dist/components/calcite-pagination/customElement.js +1 -1
- package/dist/components/calcite-panel/customElement.js +1 -1
- package/dist/components/calcite-popover/customElement.js +1 -1
- package/dist/components/calcite-progress/customElement.js +1 -1
- package/dist/components/calcite-radio-button/customElement.js +1 -1
- package/dist/components/calcite-radio-button-group/customElement.js +1 -1
- package/dist/components/calcite-rating/customElement.js +1 -1
- package/dist/components/calcite-scrim/customElement.js +1 -1
- package/dist/components/calcite-segmented-control/customElement.js +1 -1
- package/dist/components/calcite-segmented-control-item/customElement.js +1 -1
- package/dist/components/calcite-select/customElement.js +1 -1
- package/dist/components/calcite-sheet/customElement.js +1 -1
- package/dist/components/calcite-shell/customElement.js +1 -1
- package/dist/components/calcite-shell-center-row/customElement.js +1 -1
- package/dist/components/calcite-shell-panel/customElement.js +1 -1
- package/dist/components/calcite-slider/customElement.js +1 -1
- package/dist/components/calcite-sort-handle/customElement.js +1 -1
- package/dist/components/calcite-sortable-list/customElement.d.ts +1 -1
- package/dist/components/calcite-sortable-list/customElement.js +1 -1
- package/dist/components/calcite-split-button/customElement.js +1 -1
- package/dist/components/calcite-stack/customElement.js +1 -1
- package/dist/components/calcite-stepper/customElement.js +1 -1
- package/dist/components/calcite-stepper-item/customElement.js +1 -1
- package/dist/components/calcite-switch/customElement.js +1 -1
- package/dist/components/calcite-tab/customElement.js +1 -1
- package/dist/components/calcite-tab-nav/customElement.js +1 -1
- package/dist/components/calcite-tab-title/customElement.js +1 -1
- package/dist/components/calcite-table/customElement.js +1 -1
- package/dist/components/calcite-table-cell/customElement.js +1 -1
- package/dist/components/calcite-table-header/customElement.js +1 -1
- package/dist/components/calcite-table-row/customElement.js +1 -1
- package/dist/components/calcite-tabs/customElement.js +1 -1
- package/dist/components/calcite-text-area/customElement.js +1 -1
- package/dist/components/calcite-tile/customElement.js +1 -1
- package/dist/components/calcite-tile-group/customElement.js +1 -1
- package/dist/components/calcite-tile-select/customElement.js +1 -1
- package/dist/components/calcite-tile-select-group/customElement.js +1 -1
- package/dist/components/calcite-time-picker/customElement.js +1 -1
- package/dist/components/calcite-tip/customElement.js +1 -1
- package/dist/components/calcite-tip-group/customElement.js +1 -1
- package/dist/components/calcite-tip-manager/customElement.js +1 -1
- package/dist/components/calcite-tooltip/customElement.js +4 -2
- package/dist/components/calcite-tree/customElement.js +1 -1
- package/dist/components/calcite-tree-item/customElement.js +1 -1
- package/dist/controllers/useFocusTrap.d.ts +2 -6
- package/dist/docs/api.json +3 -3
- package/dist/docs/docs.json +3 -3
- package/dist/docs/web-types.json +3 -3
- package/dist/index.js +1 -1
- package/dist/loader.js +1 -1
- package/package.json +2 -2
- package/readme.md +9 -37
- package/dist/calcite/2Q43JR4R.js +0 -22
- package/dist/calcite/3MDXQNOS.js +0 -4
- package/dist/calcite/6CCGJZNF.js +0 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v3.0.
|
|
4
|
-
import{a as x,b as C}from"./
|
|
3
|
+
v3.0.3 */
|
|
4
|
+
import{a as x,b as C}from"./3YYHU67H.js";import{a as O,b as S}from"./6NJ2XB5D.js";import{a as y}from"./6NCXFBVI.js";import{a as f}from"./MOOKY73S.js";import{l as v}from"./SXYTJEOC.js";import"./B4YIOD3M.js";import{J as u,e as h,f as m,v as b,w as p,x as g}from"./74XIV7EB.js";var l={container:"container",containerHorizontal:"container--horizontal",containerVertical:"container--vertical"},E=h`: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}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}.container{display:flex;flex:1 1 auto}.container--vertical{flex-direction:column}.container--horizontal{flex-direction:row}:host([hidden]){display:none}[hidden]{display:none}`,d=class extends p{constructor(){super(),this.dragEnabled=!0,this.items=[],this.mutationObserver=f("mutation",()=>{this.setUpSorting()}),this.disabled=!1,this.handleSelector="calcite-handle",this.layout="vertical",this.loading=!1,this.calciteListOrderChange=b({cancelable:!1}),this.listen("calciteHandleNudge",this.calciteHandleNudgeNextHandler)}static{this.properties={canPull:0,canPut:0,disabled:7,dragSelector:3,group:3,handleSelector:3,layout:3,loading:7}}static{this.styles=E}connectedCallback(){super.connectedCallback(),this.setUpSorting(),this.beginObserving()}load(){y.deprecated("component",{name:"sortable-list",removalVersion:4,suggested:"block-group"})}updated(){O(this)}disconnectedCallback(){super.disconnectedCallback(),C(this),this.endObserving()}calciteHandleNudgeNextHandler(e){this.handleNudgeEvent(e)}onGlobalDragStart(){this.endObserving()}onGlobalDragEnd(){this.beginObserving()}onDragEnd(){}onDragStart(){}onDragSort(){this.items=Array.from(this.el.children),this.calciteListOrderChange.emit()}handleNudgeEvent(e){let{direction:r}=e.detail,t=e.composedPath().find(a=>a.matches(this.handleSelector)),i=this.items.find(a=>a.contains(t)||e.composedPath().includes(a)),c=this.items.length-1,s=this.items.indexOf(i),o=!1,n;r==="up"?s===0?o=!0:n=s-1:s===c?n=0:s===c-1?o=!0:n=s+2,this.endObserving(),o?i.parentElement.appendChild(i):i.parentElement.insertBefore(i,this.items[n]),this.items=Array.from(this.el.children),this.beginObserving(),requestAnimationFrame(()=>v(t)),"selected"in t&&(t.selected=!0)}setUpSorting(){this.items=Array.from(this.el.children),x(this)}beginObserving(){this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0})}endObserving(){this.mutationObserver?.disconnect()}render(){let{disabled:e,layout:r}=this,t=r==="horizontal"||!1;return S({disabled:e,children:m`<div class=${g({[l.container]:!0,[l.containerVertical]:!t,[l.containerHorizontal]:t})}><slot></slot></div>`})}};u("calcite-sortable-list",d);export{d as SortableList};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v3.0.
|
|
3
|
+
v3.0.3 */
|
|
4
4
|
function we(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var n=we;var We=typeof global=="object"&&global&&global.Object===Object&&global,A=We;var Re=typeof self=="object"&&self&&self.Object===Object&&self,Le=A||Re||Function("return this")(),g=Le;var ke=function(){return g.Date.now()},O=ke;var Fe=/\s/;function Pe(e){for(var t=e.length;t--&&Fe.test(e.charAt(t)););return t}var D=Pe;var Me=/^\s+/;function Ne(e){return e&&e.slice(0,D(e)+1).replace(Me,"")}var q=Ne;var Ce=g.Symbol,i=Ce;var G=Object.prototype,Ue=G.hasOwnProperty,De=G.toString,T=i?i.toStringTag:void 0;function qe(e){var t=Ue.call(e,T),r=e[T];try{e[T]=void 0;var o=!0}catch{}var f=De.call(e);return o&&(t?e[T]=r:delete e[T]),f}var z=qe;var Ge=Object.prototype,ze=Ge.toString;function Ke(e){return ze.call(e)}var K=Ke;var _e="[object Null]",$e="[object Undefined]",_=i?i.toStringTag:void 0;function Ve(e){return e==null?e===void 0?$e:_e:_&&_ in Object(e)?z(e):K(e)}var c=Ve;function Xe(e){return e!=null&&typeof e=="object"}var y=Xe;var He="[object Symbol]";function Je(e){return typeof e=="symbol"||y(e)&&c(e)==He}var v=Je;var $=NaN,Ye=/^[-+]0x[0-9a-f]+$/i,Qe=/^0b[01]+$/i,Ze=/^0o[0-7]+$/i,et=parseInt;function tt(e){if(typeof e=="number")return e;if(v(e))return $;if(n(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=n(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=q(e);var r=Qe.test(e);return r||Ze.test(e)?et(e.slice(2),r?2:8):Ye.test(e)?$:+e}var R=tt;var rt="Expected a function",ot=Math.max,at=Math.min;function ft(e,t,r){var o,f,d,m,s,l,u=0,M=!1,b=!1,B=!0;if(typeof e!="function")throw new TypeError(rt);t=R(t)||0,n(r)&&(M=!!r.leading,b="maxWait"in r,d=b?ot(R(r.maxWait)||0,t):d,B="trailing"in r?!!r.trailing:B);function w(p){var x=o,h=f;return o=f=void 0,u=p,m=e.apply(h,x),m}function ve(p){return u=p,s=setTimeout(I,t),M?w(p):m}function Se(p){var x=p-l,h=p-u,U=t-x;return b?at(U,d-h):U}function N(p){var x=p-l,h=p-u;return l===void 0||x>=t||x<0||b&&h>=d}function I(){var p=O();if(N(p))return C(p);s=setTimeout(I,Se(p))}function C(p){return s=void 0,B&&o?w(p):(o=f=void 0,m)}function Ee(){s!==void 0&&clearTimeout(s),u=0,o=l=f=s=void 0}function Be(){return s===void 0?m:C(O())}function W(){var p=O(),x=N(p);if(o=arguments,f=this,l=p,x){if(s===void 0)return ve(l);if(b)return clearTimeout(s),s=setTimeout(I,t),w(l)}return s===void 0&&(s=setTimeout(I,t)),m}return W.cancel=Ee,W.flush=Be,W}var L=ft;function st(e,t){for(var r=-1,o=e==null?0:e.length,f=Array(o);++r<o;)f[r]=t(e[r],r,e);return f}var V=st;var pt=Array.isArray,S=pt;var ut=1/0,X=i?i.prototype:void 0,H=X?X.toString:void 0;function J(e){if(typeof e=="string")return e;if(S(e))return V(e,J)+"";if(v(e))return H?H.call(e):"";var t=e+"";return t=="0"&&1/e==-ut?"-0":t}var Y=J;function mt(e){return e==null?"":Y(e)}var Q=mt;var Z=/[\\^$.*+?()[\]{}|]/g,lt=RegExp(Z.source);function dt(e){return e=Q(e),e&<.test(e)?e.replace(Z,"\\$&"):e}var nt=dt;var it="Expected a function";function xt(e,t,r){var o=!0,f=!0;if(typeof e!="function")throw new TypeError(it);return n(r)&&(o="leading"in r?!!r.leading:o,f="trailing"in r?!!r.trailing:f),L(e,t,{leading:o,maxWait:t,trailing:f})}var ct=xt;function yt(e){return e}var ee=yt;var gt="[object AsyncFunction]",bt="[object Function]",ht="[object GeneratorFunction]",Tt="[object Proxy]";function jt(e){if(!n(e))return!1;var t=c(e);return t==bt||t==ht||t==gt||t==Tt}var te=jt;var It=9007199254740991,At=/^(?:0|[1-9]\d*)$/;function Ot(e,t){var r=typeof e;return t=t??It,!!t&&(r=="number"||r!="symbol"&&At.test(e))&&e>-1&&e%1==0&&e<t}var re=Ot;var vt=9007199254740991;function St(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=vt}var E=St;function Et(e){return e!=null&&E(e.length)&&!te(e)}var oe=Et;var Bt=Object.prototype;function wt(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||Bt;return e===r}var ae=wt;function Wt(e,t){for(var r=-1,o=Array(e);++r<e;)o[r]=t(r);return o}var fe=Wt;var Rt="[object Arguments]";function Lt(e){return y(e)&&c(e)==Rt}var k=Lt;var se=Object.prototype,kt=se.hasOwnProperty,Ft=se.propertyIsEnumerable,Pt=k(function(){return arguments}())?k:function(e){return y(e)&&kt.call(e,"callee")&&!Ft.call(e,"callee")},pe=Pt;function Mt(){return!1}var ue=Mt;var de=typeof exports=="object"&&exports&&!exports.nodeType&&exports,me=de&&typeof module=="object"&&module&&!module.nodeType&&module,Nt=me&&me.exports===de,le=Nt?g.Buffer:void 0,Ct=le?le.isBuffer:void 0,Ut=Ct||ue,ne=Ut;var Dt="[object Arguments]",qt="[object Array]",Gt="[object Boolean]",zt="[object Date]",Kt="[object Error]",_t="[object Function]",$t="[object Map]",Vt="[object Number]",Xt="[object Object]",Ht="[object RegExp]",Jt="[object Set]",Yt="[object String]",Qt="[object WeakMap]",Zt="[object ArrayBuffer]",er="[object DataView]",tr="[object Float32Array]",rr="[object Float64Array]",or="[object Int8Array]",ar="[object Int16Array]",fr="[object Int32Array]",sr="[object Uint8Array]",pr="[object Uint8ClampedArray]",ur="[object Uint16Array]",mr="[object Uint32Array]",a={};a[tr]=a[rr]=a[or]=a[ar]=a[fr]=a[sr]=a[pr]=a[ur]=a[mr]=!0;a[Dt]=a[qt]=a[Zt]=a[Gt]=a[er]=a[zt]=a[Kt]=a[_t]=a[$t]=a[Vt]=a[Xt]=a[Ht]=a[Jt]=a[Yt]=a[Qt]=!1;function lr(e){return y(e)&&E(e.length)&&!!a[c(e)]}var ie=lr;function dr(e){return function(t){return e(t)}}var xe=dr;var ce=typeof exports=="object"&&exports&&!exports.nodeType&&exports,j=ce&&typeof module=="object"&&module&&!module.nodeType&&module,nr=j&&j.exports===ce,F=nr&&A.process,ir=function(){try{var e=j&&j.require&&j.require("util").types;return e||F&&F.binding&&F.binding("util")}catch{}}(),P=ir;var ye=P&&P.isTypedArray,xr=ye?xe(ye):ie,ge=xr;var cr=Object.prototype,yr=cr.hasOwnProperty;function gr(e,t){var r=S(e),o=!r&&pe(e),f=!r&&!o&&ne(e),d=!r&&!o&&!f&&ge(e),m=r||o||f||d,s=m?fe(e.length,String):[],l=s.length;for(var u in e)(t||yr.call(e,u))&&!(m&&(u=="length"||f&&(u=="offset"||u=="parent")||d&&(u=="buffer"||u=="byteLength"||u=="byteOffset")||re(u,l)))&&s.push(u);return s}var be=gr;function br(e){var t=[];if(e!=null)for(var r in Object(e))t.push(r);return t}var he=br;var hr=Object.prototype,Tr=hr.hasOwnProperty;function jr(e){if(!n(e))return he(e);var t=ae(e),r=[];for(var o in e)o=="constructor"&&(t||!Tr.call(e,o))||r.push(o);return r}var Te=jr;function Ir(e){return oe(e)?be(e,!0):Te(e)}var je=Ir;function Ar(e){return function(t,r,o){for(var f=-1,d=Object(t),m=o(t),s=m.length;s--;){var l=m[e?s:++f];if(r(d[l],l,d)===!1)break}return t}}var Ie=Ar;var Or=Ie(),Ae=Or;function vr(e){return typeof e=="function"?e:ee}var Oe=vr;function Sr(e,t){return e==null?e:Ae(e,Oe(t),je)}var Er=Sr;export{L as a,nt as b,Er as c,ct as d};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v3.0.
|
|
4
|
-
import{j as c,l as $,m as d,n as f,o as A}from"./
|
|
3
|
+
v3.0.3 */
|
|
4
|
+
import{j as c,l as $,m as d,n as f,o as A}from"./74XIV7EB.js";var o=(t,e)=>{let s=t._$AN;if(s===void 0)return!1;for(let i of s)i._$AO?.(e,!1),o(i,e);return!0},n=t=>{let e,s;do{if((e=t._$AM)===void 0)break;s=e._$AN,s.delete(t),t=e}while(s?.size===0)},v=t=>{for(let e;e=t._$AM;t=e){let s=e._$AN;if(s===void 0)e._$AN=s=new Set;else if(s.has(t))break;s.add(t),m(e)}};function p(t){this._$AN!==void 0?(n(this),this._$AM=t,v(this)):this._$AM=t}function u(t,e=!1,s=0){let i=this._$AH,_=this._$AN;if(_!==void 0&&_.size!==0)if(e)if(Array.isArray(i))for(let h=s;h<i.length;h++)o(i[h],!1),n(i[h]);else i!=null&&(o(i,!1),n(i));else o(this,t)}var m=t=>{t.type==$.CHILD&&(t._$AP??=u,t._$AQ??=p)},r=class extends f{constructor(){super(...arguments),this._$AN=void 0}_$AT(e,s,i){super._$AT(e,s,i),v(this),this.isConnected=e._$AU}_$AO(e,s=!0){e!==this.isConnected&&(this.isConnected=e,e?this.reconnected?.():this.disconnected?.()),s&&(o(this,e),n(this))}setValue(e){if(A(this._$Ct))this._$Ct._$AI(e,this);else{let s=[...this._$Ct._$AH];s[this._$Ci]=e,this._$Ct._$AI(s,this,0)}}disconnected(){}reconnected(){}};var T=()=>new l,l=class{},a=new WeakMap,w=d(class extends r{render(t){return c}update(t,[e]){let s=e!==this.Y;return s&&this.Y!==void 0&&this.rt(void 0),(s||this.lt!==this.ct)&&(this.Y=e,this.ht=t.options?.host,this.rt(this.ct=t.element)),c}rt(t){if(this.isConnected||(t=void 0),typeof this.Y=="function"){let e=this.ht??globalThis,s=a.get(e);s===void 0&&(s=new WeakMap,a.set(e,s)),s.get(this.Y)!==void 0&&this.Y.call(this.ht,void 0),s.set(this.Y,t),t!==void 0&&this.Y.call(this.ht,t)}else this.Y.value=t}get lt(){return typeof this.Y=="function"?a.get(this.ht??globalThis)?.get(this.Y):this.Y?.value}disconnected(){this.lt===this.ct&&this.rt(void 0)}reconnected(){this.rt(this.ct)}});export{T as a,w as b};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v3.0.
|
|
4
|
-
import{b as $}from"./
|
|
3
|
+
v3.0.3 */
|
|
4
|
+
import{b as $}from"./KK2GYQJN.js";import{b as p,f as b,g as x,k as S,l as D}from"./DWSKOILM.js";var L=5;function d({locale:e,numberingSystem:n,includeSeconds:r=!0,fractionalSecondDigits:t,hour12:o}){let i={hour:"2-digit",minute:"2-digit",timeZone:"UTC",numberingSystem:x(n)};return typeof o=="boolean"&&(i.hour12=o),r&&(i.second="2-digit",t&&(i.fractionalSecondDigits=t)),D(e,i)}function h(e,n){if(e==null)return;let r=e.toString(),t=$(e);if(e<1&&t>0&&t<4){let o=r.replace("0.","");return!n||o.length===n?o:o.length<n?o.padEnd(n,"0"):o}if(e>=0&&e<10)return r.padStart(2,"0");if(e>=10)return r}function k(e){if(!g(e))return null;let{hour:n,minute:r,second:t,fractionalSecond:o}=y(e),i=`${h(parseInt(n))}:${h(parseInt(r))}`;return t&&(i+=`:${h(parseInt(t))}`,o&&(i+=`.${o}`)),i}function z(e){return parseInt((parseFloat(`0.${e}`)/.001).toFixed(3))}function A(e){let n={locale:e};e==="mk"?n.hour12=!1:e.toLowerCase()==="es-mx"&&(n.hour12=!0);let r=d(n).formatToParts(new Date(Date.UTC(0,0,0,0,0,0)));return s("meridiem",r)?"12":"24"}function v(e){return A(e)==="24"?"12":"24"}function M(e,n,r="latn"){let t=d({hour12:!0,locale:e,numberingSystem:r}),o=6,i=18,l=new Date(Date.UTC(0,0,0,n==="AM"?o:i,0)),c=t.formatToParts(l);return s("meridiem",c)}function T(e,n){return S.numberFormatOptions={locale:e,numberingSystem:n},S.localize("1.1").split("")[1]}function H(e,n,r="latn"){let t=d({locale:n,numberingSystem:r}).formatToParts(new Date(Date.UTC(0,0,0,0,0,0)));return s(`${e}Suffix`,t)}function s(e,n){if(!e||!n)return null;if(e==="hourSuffix"){let r=n.indexOf(n.find(({type:i})=>i==="hour")),t=n.indexOf(n.find(({type:i})=>i==="minute")),o=n[r+1];return o&&o.type==="literal"&&t-r===2&&o.value?.trim()||null}if(e==="minuteSuffix"){let r=n.indexOf(n.find(({type:i})=>i==="minute")),t=n.indexOf(n.find(({type:i})=>i==="second")),o=n[r+1];return o&&o.type==="literal"&&t-r===2&&o.value?.trim()||null}if(e==="secondSuffix"){let r=n.indexOf(n.find(({type:o})=>o==="second")),t=n[r+1];return t&&t.type==="literal"&&t.value?.trim()||null}return n.find(({type:r})=>e=="meridiem"?r==="dayPeriod":r===e)?.value||null}function E(e){if(!p(e))return null;let n=parseInt(e);return n>=0&&n<=11?"AM":"PM"}function W(e){let n=M(e,"AM"),r=M(e,"PM"),t=w(e),o=P({hour12:!0,value:"00:00:00",locale:e,numberingSystem:"latn"}),i=o[t===0?1:t-1].type==="hour"||o[t-1]?.type==="second"?"":" ";return e!=="no"&&n===n.toLocaleLowerCase(e)&&r===r.toLocaleLowerCase(e)?t===0?`a${i}`:`${i}a`:t===0?`A${i}`:`${i}A`}function w(e){return P({hour12:!0,value:"00:00:00",locale:e,numberingSystem:"latn"}).findIndex(n=>n.type==="dayPeriod")}function j(e,n){return e===v(n)}function g(e){if(!e||e.startsWith(":")||e.endsWith(":"))return!1;let n=e.split(":");if(!(n.length>1&&n.length<4))return!1;let[r,t,o]=n,i=parseInt(n[0]),l=parseInt(n[1]),c=parseInt(n[2]),f=p(r)&&i>=0&&i<24,u=p(t)&&l>=0&&l<60,m=p(o)&&c>=0&&c<60;if(f&&u&&!o||f&&u&&m)return!0}function C(e,n){if(n==="meridiem")return e==="AM"||e==="PM";if(!p(e))return!1;let r=Number(e);return n==="hour"?r>=0&&r<24:r>=0&&r<60}function O({value:e,part:n,locale:r,numberingSystem:t="latn",hour12:o}){if(n==="fractionalSecond"){let f=T(r,t),u=null;if(e){S.numberFormatOptions={locale:r,numberingSystem:t};let m=S.localize("0");parseInt(e)===0?u="".padStart(e.length,m):(u=S.localize(`0.${e}`).replace(`${m}${f}`,""),u.length<e.length&&(u=u.padEnd(e.length,m)))}return u}if(!C(e,n))return;let i=parseInt(e),l=new Date(Date.UTC(0,0,0,n==="hour"?i:n==="meridiem"?e==="AM"?0:12:0,n==="minute"?i:0,n==="second"?i:0));if(!l)return;let c=d({hour12:o,locale:r,numberingSystem:t}).formatToParts(l);return s(n,c)}function Z({value:e,locale:n,numberingSystem:r="latn",includeSeconds:t=!0,fractionalSecondDigits:o,hour12:i}){if(!g(e))return null;let{hour:l,minute:c,second:f="0",fractionalSecond:u}=y(e),m=new Date(Date.UTC(0,0,0,parseInt(l),parseInt(c),parseInt(f),u&&z(u))),a=d({locale:n,numberingSystem:r,includeSeconds:t,fractionalSecondDigits:o,hour12:i}).format(m)||null;if(a&&n==="bg"&&a.includes(" \u0447.")&&(a=a.replaceAll(" \u0447.","")),n==="bs"||n==="mk"){let I=b.get(n);a.includes("AM")?a=a.replaceAll("AM",I.am):a.includes("PM")&&(a=a.replaceAll("PM",I.pm)),a.indexOf(".")!==a.length-1&&(a=a.replace(".",","))}return a}function q({value:e,locale:n,numberingSystem:r="latn",hour12:t}){if(!g(e))return null;let{hour:o,minute:i,second:l="0",fractionalSecond:c}=y(e),f=new Date(Date.UTC(0,0,0,parseInt(o),parseInt(i),parseInt(l)));if(f){let u=d({locale:n,numberingSystem:r,hour12:t}).formatToParts(f),m=s("meridiem",u);if(t&&(n==="bs"||n==="mk")){let a=b.get(n);m=f.getHours()>11?a.am:a.pm}return{localizedHour:s("hour",u),localizedHourSuffix:s("hourSuffix",u),localizedMinute:s("minute",u),localizedMinuteSuffix:s("minuteSuffix",u),localizedSecond:s("second",u),localizedDecimalSeparator:T(n,r),localizedFractionalSecond:O({value:c,part:"fractionalSecond",locale:n,numberingSystem:r}),localizedSecondSuffix:s("secondSuffix",u),localizedMeridiem:m}}return null}function P({hour12:e,value:n,locale:r,numberingSystem:t}){if(!g(n))return null;let{hour:o,minute:i,second:l="0"}=y(n),c=new Date(Date.UTC(0,0,0,parseInt(o),parseInt(i),parseInt(l)));return c?d({hour12:e,locale:r,numberingSystem:t}).formatToParts(c):null}function y(e){if(g(e)){let[n,r,t]=e.split(":"),o=t,i=null;return t?.includes(".")&&([o,i]=t.split(".")),{fractionalSecond:i,hour:n,minute:r,second:o}}return{fractionalSecond:null,hour:null,minute:null,second:null}}function B(e,n=!0){if(!g(e))return"";let{hour:r,minute:t,second:o,fractionalSecond:i}=y(e),l=`${h(parseInt(r))}:${h(parseInt(t))}`;return n&&(l+=`:${h(parseInt(n&&o||"0"))}`,i&&(l+=`.${i}`)),l}export{L as a,h as b,k as c,A as d,v as e,T as f,H as g,E as h,W as i,w as j,j as k,g as l,O as m,Z as n,q as o,y as p,B as q};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v3.0.
|
|
4
|
-
import{a as re,l as ne}from"./
|
|
3
|
+
v3.0.3 */
|
|
4
|
+
import{a as re,l as ne}from"./SXYTJEOC.js";import{E as ae}from"./74XIV7EB.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
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};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v3.0.
|
|
4
|
-
import{h as g}from"./
|
|
3
|
+
v3.0.3 */
|
|
4
|
+
import{h as g}from"./FWYDKVOD.js";import{k as o}from"./DWSKOILM.js";import{a as p,b as y}from"./6NJ2XB5D.js";import{a as f}from"./DFFLO6RQ.js";import{k as h,r as v}from"./SXYTJEOC.js";import{b as u}from"./H6E5FODU.js";import"./B4YIOD3M.js";import{A as a,J as d,e as l,f as s,v as t,w as n}from"./74XIV7EB.js";var k=l`: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:flex;cursor:pointer;outline:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}.day-wrapper{position:relative;display:flex;inline-size:100%;flex-direction:column;align-items:center;justify-content:center}.day{position:relative;display:flex;inline-size:100%;align-items:center;justify-content:center;font-size:var(--calcite-font-size--2);line-height:1rem;line-height:1;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;line-height:var(--calcite-font-line-height-fixed-base);block-size:var(--calcite-internal-day-size);outline-color:var(--calcite-color-transparent);background-color:var(--calcite-date-picker-day-background-color);color:var(--calcite-date-picker-day-text-color, var(--calcite-color-text-3))}.text{margin-block:1px 0px;margin-inline-start:0px}:host([scale=s]){--calcite-internal-day-size: 32px}:host([scale=s]) .day{font-size:var(--calcite-font-size--2)}:host([scale=m]){--calcite-internal-day-size: 40px}:host([scale=m]) .day{font-size:var(--calcite-font-size--1)}:host([scale=l]){--calcite-internal-day-size: 44px}:host([scale=l]) .day{font-size:var(--calcite-font-size-0)}:host(:not([current-month])) .day{opacity:var(--calcite-opacity-disabled)}:host(:hover:not([disabled]):not([selected])) .day{background-color:var(--calcite-date-picker-day-background-color-hover, var(--calcite-color-foreground-2));color:var(--calcite-date-picker-day-text-color-hover, var(--calcite-color-text-1))}:host(:not([range]):not([selected]).current-day) .day{color:var(--calcite-date-picker-current-day-text-color, var(--calcite-color-text-1));font-weight:var(--calcite-font-weight-medium)}:host(:focus[selected]) .day{z-index:var(--calcite-z-index);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))));box-shadow:0 0 0 2px var(--calcite-color-foreground-1)}:host(:focus:not([disabled]):not([selected])) .day{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(:hover:not([disabled]):not([selected])) .day{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([selected]) .day{font-weight:var(--calcite-font-weight-medium);background-color:var(--calcite-date-picker-day-background-color-selected, var(--calcite-color-brand));color:var(--calcite-date-picker-day-text-color-selected, var(--calcite-color-foreground-1))}:host([range-hover]:not([selected])) .day{background-color:var(--calcite-date-picker-day-outside-range-background-color-hover, var(--calcite-color-foreground-2));color:var(--calcite-date-picker-day-outside-range-text-color-hover, var(--calcite-color-text-1))}:host([highlighted]:not([selected])) .day,:host(:hover[highlighted]:not([selected])) .day{color:var(--calcite-date-picker-day-range-text-color, var(--calcite-color-brand));background-color:var(--calcite-date-picker-day-range-background-color, var(--calcite-color-foreground-current))}@media (forced-colors: active){.day{border-radius:0}:host([selected]){outline:2px solid canvasText}:host(:hover:not([selected])) .day{border-radius:50%}:host([range][selected]) .day,:host([highlighted]) .day,:host([range-hover]:not([selected])) .day{background-color:highlight}:host([range-hover]) .day,:host([range][selected][start-of-range]) .day,:host([range][selected][end-of-range]) .day{background-color:canvas}}:host([hidden]){display:none}[hidden]{display:none}`,i=class extends n{constructor(){super(),this.active=!1,this.currentMonth=!1,this.disabled=!1,this.endOfRange=!1,this.highlighted=!1,this.range=!1,this.rangeHover=!1,this.selected=!1,this.startOfRange=!1,this.calciteInternalDayHover=t({cancelable:!1}),this.calciteInternalDaySelect=t({cancelable:!1}),this.listen("pointerover",this.pointerOverHandler),this.listen("click",this.onClick),this.listen("keydown",this.keyDownHandler)}static{this.properties={active:7,currentMonth:7,dateTimeFormat:0,day:9,disabled:7,endOfRange:7,highlighted:7,range:7,rangeEdge:3,rangeHover:7,scale:3,selected:7,startOfRange:7,value:0}}static{this.styles=k}async setFocus(){await u(this),this.el.focus()}load(){this.parentDatePickerEl=h(this.el,"calcite-date-picker")}updated(){p(this)}loaded(){}onClick(){this.disabled||this.calciteInternalDaySelect.emit()}keyDownHandler(e){f(e.key)&&(this.disabled||this.calciteInternalDaySelect.emit(),e.preventDefault())}pointerOverHandler(){this.disabled||this.calciteInternalDayHover.emit()}render(){let e=g(this.value).replaceAll("-","");if(this.parentDatePickerEl){let{numberingSystem:c,lang:r}=this.parentDatePickerEl;o.numberFormatOptions={useGrouping:!1,...c&&{numberingSystem:c},...r&&{locale:r}}}let b=o.localize(String(this.day)),m=this.dateTimeFormat.format(this.value);return this.el.ariaLabel=m,this.el.ariaSelected=v(this.active),a(this.el,"id",e),this.el.role="button",a(this.el,"tabIndex",this.active&&!this.disabled?0:-1),y({disabled:this.disabled,children:s`<div aria-hidden=true class="day-wrapper"><span class="day"><span class="text">${b}</span></span></div>`})}};d("calcite-date-picker-day",i);export{i as DatePickerDay};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v3.0.
|
|
4
|
-
import{b as a}from"./
|
|
3
|
+
v3.0.3 */
|
|
4
|
+
import{b as a}from"./SWZ5F3MV.js";import"./NSHGJK73.js";var _={name:"nl",weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),ordinal:function(e){return"["+e+(e===1||e===8||e>=20?"ste":"de")+"]"},weekStart:1,yearStart:4,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:"over %s",past:"%s geleden",s:"een paar seconden",m:"een minuut",mm:"%d minuten",h:"een uur",hh:"%d uur",d:"een dag",dd:"%d dagen",M:"een maand",MM:"%d maanden",y:"een jaar",yy:"%d jaar"}};a.locale(_,null,!0);var n=_;export{n as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v3.0.
|
|
4
|
-
import{J as o,e,f as i,v as a,w as l}from"./
|
|
3
|
+
v3.0.3 */
|
|
4
|
+
import{J as o,e,f as i,v as a,w as l}from"./74XIV7EB.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};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v3.0.
|
|
4
|
-
import{a as d,b as g}from"./
|
|
3
|
+
v3.0.3 */
|
|
4
|
+
import{a as d,b as g}from"./SZONZQBZ.js";import{u as n}from"./SXYTJEOC.js";import{b as y}from"./H6E5FODU.js";import"./B4YIOD3M.js";import{J as h,e as l,f as i,v as c,w as m,x as o}from"./74XIV7EB.js";var a={container:"container",containerContent:"container-content",hasProgress:"progress-bar",hide:"hide",primary:"primary",secondary:"secondary",tertiary:"tertiary"},e={logo:"logo",user:"user",progress:"progress",navigationAction:"navigation-action",contentStart:"content-start",contentEnd:"content-end",contentCenter:"content-center",navSecondary:"navigation-secondary",navTertiary:"navigation-tertiary"},S={hamburger:"hamburger"},v=l`:host([hidden]){display:none}[hidden]{display:none}.container{display:flex;inline-size:100%;flex-direction:column;margin-block:0;margin-inline:auto;background-color:var(--calcite-navigation-background-color, var(--calcite-navigation-background, var(--calcite-color-foreground-1)))}.container.primary,.container.secondary,.container.tertiary{border-block-end:1px solid;border-block-end-color:var(--calcite-navigation-border-color, var(--calcite-color-border-3))}.user,.logo{display:flex}.hide{display:none}.primary{block-size:4rem}.secondary,.tertiary{block-size:3rem}.container-content{margin-inline:auto;display:flex;block-size:100%;inline-size:100%;margin-block:0;inline-size:var(--calcite-navigation-width, 100%);max-inline-size:100%}.container-content.progress-bar{margin-block-start:.125rem}slot[name]{display:flex;flex-direction:row}slot[name=navigation-secondary]::slotted(calcite-navigation),slot[name=navigation-tertiary]::slotted(calcite-navigation){inline-size:100%}slot[name=content-start]::slotted(*),slot[name=content-center]::slotted(*),slot[name=content-end]::slotted(*){display:flex;flex-direction:row;align-items:center}slot[name=progress],slot[name=progress] calcite-progress{inset-block-start:0;inset-inline:0}slot[name=content-end]{margin-inline-start:auto}slot[name=content-start]{margin-inline-end:auto}slot[name=content-end],slot[name=logo]~slot[name=user],slot[name=user]:only-child{margin-inline-start:auto}slot[name=content-center]{margin-inline-start:auto;margin-inline-end:auto}slot[name=content-start]~slot[name=content-center]{margin-inline-start:0px}slot[name=content-start]~slot[name=content-end],slot[name=content-center]~slot[name=content-end],slot[name=content-center]~slot[name=user],slot[name=content-end]~slot[name=user]{margin:0}`,s=class extends m{constructor(){super(...arguments),this.navigationActionEl=d(),this.navigationAction=!1,this.calciteNavigationActionSelect=c({cancelable:!1})}static{this.properties={logoSlotHasElements:16,navigationActionSlotHasElements:16,primaryContentCenterSlotHasElements:16,primaryContentEndSlotHasElements:16,primaryContentStartSlotHasElements:16,progressSlotHasElement:16,secondarySlotHasElements:16,tertiarySlotHasElements:16,userSlotHasElements:16,label:1,navigationAction:7}}static{this.styles=v}async setFocus(){return await y(this),this.navigationActionEl.value?.setFocus()}load(){}loaded(){}actionClickHandler(){this.calciteNavigationActionSelect.emit()}handleUserSlotChange(t){this.isPrimaryLevel()&&(this.userSlotHasElements=n(t))}handleLogoSlotChange(t){this.isPrimaryLevel()&&(this.logoSlotHasElements=n(t))}handleContentStartSlotChange(t){this.isPrimaryLevel()&&(this.primaryContentStartSlotHasElements=n(t))}handleContentEndSlotChange(t){this.isPrimaryLevel()&&(this.primaryContentEndSlotHasElements=n(t))}handleContentCenterSlotChange(t){this.isPrimaryLevel()&&(this.primaryContentCenterSlotHasElements=n(t))}handleSecondarySlotChange(t){this.secondarySlotHasElements=n(t)}handleTertiarySlotChange(t){this.tertiarySlotHasElements=n(t)}handleMenuActionSlotChange(t){this.isPrimaryLevel()&&(this.navigationActionSlotHasElements=n(t),this.navigationActionSlotHasElements&&(this.navigationAction=!1))}handleProgressSlotChange(t){this.isPrimaryLevel()&&(this.progressSlotHasElement=n(t))}isPrimaryLevel(){return this.el.slot!==e.navSecondary&&this.el.slot!==e.navTertiary}renderMenuAction(){return i`<slot name=${e.navigationAction} @slotchange=${this.handleMenuActionSlotChange}>${this.navigationAction&&i`<calcite-action .icon=${S.hamburger} @click=${this.actionClickHandler} .text=${this.label} ${g(this.navigationActionEl)}></calcite-action>`||""}</slot>`}render(){let t=this.logoSlotHasElements||this.userSlotHasElements||this.navigationActionSlotHasElements||this.primaryContentCenterSlotHasElements||this.primaryContentEndSlotHasElements||this.primaryContentStartSlotHasElements||this.navigationAction,r=this.el.slot;return i`<div class=${o({[a.container]:!0,[a.secondary]:r===e.navSecondary,[a.tertiary]:r===e.navTertiary,[a.primary]:t})}><div class=${o({[a.hide]:!this.progressSlotHasElement,[e.progress]:!0})}><slot name=${e.progress} @slotchange=${this.handleProgressSlotChange}></slot></div><div class=${o({[a.containerContent]:!0,[a.hasProgress]:this.progressSlotHasElement})}>${this.renderMenuAction()}<div class=${o({[a.hide]:!this.logoSlotHasElements,[e.logo]:!0})}><slot name=${e.logo} @slotchange=${this.handleLogoSlotChange}></slot></div><slot name=${e.contentStart} @slotchange=${this.handleContentStartSlotChange}></slot><slot name=${e.contentCenter} @slotchange=${this.handleContentCenterSlotChange}></slot><slot name=${e.contentEnd} @slotchange=${this.handleContentEndSlotChange}></slot><div class=${o({[a.hide]:!this.userSlotHasElements,[e.user]:!0})}><slot name=${e.user} @slotchange=${this.handleUserSlotChange}></slot></div></div></div><slot name=${e.navSecondary} @slotchange=${this.handleSecondarySlotChange}></slot><slot name=${e.navTertiary} @slotchange=${this.handleTertiarySlotChange}></slot>`}};h("calcite-navigation",s);export{s as Navigation};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v3.0.
|
|
4
|
-
import{a as v,b as f}from"./WRT5VFG2.js";import{a as k}from"./R4WJ47LZ.js";import{a as x}from"./SMJSXUYT.js";import{a as g,b as u}from"./FC7N6LLB.js";import{u as o}from"./GO4QOK2G.js";import{b as m}from"./PBIOUIAG.js";import"./P7S34RN4.js";import{J as b,e as h,f as i,v as s,w as p,x as t}from"./63TOND25.js";var a={container:"container",contentWrapper:"content-wrapper",header:"header",footer:"footer",checkboxWrapper:"checkbox-wrapper",checkboxWrapperDeprecated:"checkbox-wrapper-deprecated",thumbnailWrapper:"thumbnail-wrapper",headerTextContainer:"header-text-container",cardContent:"card-content",hasSlottedContent:"has-slotted-content"},c={thumbnail:"thumbnail",heading:"heading",description:"description",footerStart:"footer-start",footerEnd:"footer-end",title:"title",subtitle:"subtitle"},r={selected:"check-square-f",unselected:"square",selectedSingle:"circle-f",unselectedSingle:"circle"},w=h`: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;max-inline-size:100%}.content-wrapper{position:relative;display:flex;block-size:100%;flex-direction:column;justify-content:space-between;overflow:hidden;border:var(--calcite-border-width-sm) solid var(--calcite-card-border-color, var(--calcite-color-border-3));border-radius:var(--calcite-card-corner-radius, var(--calcite-corner-radius-sharp));background-color:var(--calcite-card-background-color, var(--calcite-color-foreground-1));box-shadow:var(--calcite-card-shadow, var(--calcite-shadow-none));pointer-events:none}::slotted(*){pointer-events:auto}:host(:not([selectable])) .content-wrapper:not(.non-interactive){outline-color:transparent}:host(:not([selectable])) .content-wrapper: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{position:relative;display:flex;flex:1 1 auto;flex-direction:column}:host([loading]) .content-wrapper *:not(calcite-loader):not(.calcite-card-loader-container){pointer-events:none;opacity:0}:host([loading]) .calcite-card-loader-container{position:absolute;inset:0;display:flex;align-items:center}.header{display:flex;flex-direction:row;align-items:flex-start}.footer{margin-block-start:auto;display:flex;flex-direction:row;align-content:space-between;justify-content:space-between;padding-inline:var(--calcite-spacing-md);padding-block-start:var(--calcite-spacing-xxs);padding-block-end:var(--calcite-spacing-md)}.header-text-container{display:flex;inline-size:100%;flex-direction:column;justify-content:center;padding-inline:.75rem;padding-block:.5rem}.header-text-container:not(:only-child){padding-inline-end:.125rem}.footer{margin-block-start:auto;flex-direction:row;align-content:space-between;justify-content:space-between;padding-inline:.75rem;padding-block:.25rem .75rem}.card-content{block-size:auto;font-size:var(--calcite-font-size--2);line-height:1.375}.has-slotted-content{padding:.75rem}:host([selected]) .content-wrapper{box-shadow:inset 0 -4px 0 0 var(--calcite-card-accent-color-selected, var(--calcite-color-brand))}:host([selectable]) .header{padding-inline-end:var(--calcite-spacing-xxxl)}slot[name=title]::slotted(*),*::slotted([slot=title]){margin:0;font-size:var(--calcite-font-size--1);line-height:1.375;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-1)}slot[name=subtitle]::slotted(*),*::slotted([slot=subtitle]){margin:0;margin-block-start:.125rem;font-size:var(--calcite-font-size--2);line-height:1.375;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-color-text-2)}slot[name=heading]::slotted(*),*::slotted([slot=heading]){margin:0;font-size:var(--calcite-font-size--1);line-height:1.375;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-1)}slot[name=description]::slotted(*),*::slotted([slot=description]){margin:0;margin-block-start:.125rem;font-size:var(--calcite-font-size--2);line-height:1.375;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-color-text-2)}slot[name=thumbnail]::slotted(img),img::slotted([slot=thumbnail]){min-inline-size:100%;max-inline-size:100%}slot[name=footer-start]::slotted(*),*::slotted([slot=footer-start]){align-self:center;font-size:var(--calcite-font-size--2);line-height:1.375;margin-inline-end:auto}slot[name=footer-end]::slotted(*),*::slotted([slot=footer-end]){align-self:center;font-size:var(--calcite-font-size--2);line-height:1.375}.checkbox-wrapper-deprecated{pointer-events:auto;position:absolute;inset-block-start:var(--calcite-spacing-sm);inset-inline-end:var(--calcite-spacing-sm);margin:0;padding:0;color:var(--calcite-card-selection-color, var(--calcite-color-text-3))}.checkbox-wrapper-deprecated:hover{background-color:var(--calcite-card-selection-background-color-hover, var(--calcite-color-foreground-2));color:var(--calcite-card-selection-color-hover, var(--calcite-card-selection-icon-color-hover, var(--calcite-color-text-2)))}.checkbox-wrapper-deprecated:active{background-color:var(--calcite-card-selection-background-color-press, var(--calcite-color-transparent-press))}.checkbox-wrapper{pointer-events:auto;margin:.5rem;cursor:pointer;padding:.5rem;outline-color:transparent;display:flex;align-items:center;justify-items:center;color:var(--calcite-card-selection-color, var(--calcite-color-text-3))}.checkbox-wrapper:hover{background-color:var(--calcite-card-selection-background-color-hover, var(--calcite-color-foreground-2));color:var(--calcite-card-selection-color-hover, var(--calcite-card-selection-icon-color-hover, var(--calcite-color-text-2)))}.checkbox-wrapper:active{background-color:var(--calcite-card-selection-background-color-press, var(--calcite-color-transparent-press))}.checkbox-wrapper calcite-icon{pointer-events:none}:host([selected]) .checkbox-wrapper-deprecated,:host([selected]) .checkbox-wrapper{color:var(--calcite-card-accent-color-selected, var(--calcite-card-selection-icon-color-selected, var(--calcite-color-brand)))}:host(:not([selectable])) .content-wrapper:not(.non-interactive):focus .checkbox-wrapper-deprecated,:host(:not([selectable])) .content-wrapper:not(.non-interactive):focus .checkbox-wrapper{background-color:var(--calcite-card-selection-background-color-hover, var(--calcite-color-foreground-2));color:var(--calcite-card-selection-color-hover, var(--calcite-card-selection-icon-color-hover, var(--calcite-color-text-2)))}:host([selected]:not([selectable])) .content-wrapper:not(.non-interactive):focus .checkbox-wrapper-deprecated,:host([selected]:not([selectable])) .content-wrapper:not(.non-interactive):focus .checkbox-wrapper{background-color:var(--calcite-card-selection-background-color-press, var(--calcite-color-transparent-press));color:var(--calcite-card-accent-color-selected, var(--calcite-card-selection-icon-color-selected, var(--calcite-color-brand)))}.thumbnail-wrapper{display:flex}.content-wrapper.inline{flex-direction:row}.content-wrapper.inline>.container{inline-size:60%}.content-wrapper.inline>.thumbnail-wrapper{inline-size:40%;align-items:flex-start}.content-wrapper.inline slot[name=thumbnail]::slotted(img),.content-wrapper.inline img::slotted([slot=thumbnail]){inline-size:100%}slot[name=footer-start]::slotted(*),slot[name=footer-end]::slotted(*){display:flex;gap:.25rem}:host([hidden]){display:none}[hidden]{display:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}`,d=class extends p{constructor(){super(...arguments),this.containerEl=g(),this.hasContent=!1,this.hasDescription=!1,this.hasFooterEnd=!1,this.hasFooterStart=!1,this.hasHeading=!1,this.hasSubtitle=!1,this.hasThumbnail=!1,this.hasTitle=!1,this.disabled=!1,this.loading=!1,this.messages=x(),this.selectable=!1,this.selected=!1,this.selectionMode="none",this.thumbnailPosition="block-start",this.calciteCardSelect=s({cancelable:!1}),this.calciteInternalCardKeyEvent=s({cancelable:!1})}static{this.properties={hasContent:16,hasDescription:16,hasFooterEnd:16,hasFooterStart:16,hasHeading:16,hasSubtitle:16,hasThumbnail:16,hasTitle:16,disabled:7,label:1,loading:7,messageOverrides:0,selectable:7,selected:7,selectionMode:1,thumbnailPosition:3}}static{this.styles=w}async setFocus(){await m(this),this.disabled||this.containerEl.value?.focus()}async load(){}updated(){v(this)}loaded(){}handleThumbnailSlotChange(e){this.hasThumbnail=o(e)}handleHeadingSlotChange(e){this.hasHeading=o(e)}handleDescriptionSlotChange(e){this.hasDescription=o(e)}handleTitleSlotChange(e){this.hasTitle=o(e)}handleSubtitleSlotChange(e){this.hasSubtitle=o(e)}handleFooterStartSlotChange(e){this.hasFooterStart=o(e)}handleFooterEndSlotChange(e){this.hasFooterEnd=o(e)}handleDefaultSlotChange(e){this.hasContent=o(e)}keyDownHandler(e){if(e.target===this.containerEl.value&&!this.selectable&&!this.disabled)if(k(e.key)&&this.selectionMode!=="none")this.calciteCardSelect.emit(),e.preventDefault();else switch(e.key){case"ArrowRight":case"ArrowLeft":case"Home":case"End":this.calciteInternalCardKeyEvent.emit(e),e.preventDefault();break}}cardBodyClickHandler(e){e.target===this.containerEl.value&&!this.selectable&&!this.disabled&&this.selectionMode!=="none"&&this.calciteCardSelect.emit()}selectCardDeprecated(e){this.selected=e.currentTarget.checked,this.calciteCardSelect.emit()}cardSelectClick(e){this.disabled||(e.preventDefault(),this.calciteCardSelect.emit(),this.setFocus())}renderCheckboxDeprecated(){return i`<calcite-label class=${t(a.checkboxWrapperDeprecated)}><calcite-checkbox .checked=${this.selected} .label=${this.messages.select} @calciteCheckboxChange=${this.selectCardDeprecated}></calcite-checkbox></calcite-label>`}renderThumbnail(){return i`<section class=${t(a.thumbnailWrapper)} .hidden=${!this.hasThumbnail}><slot name=${c.thumbnail} @slotchange=${this.handleThumbnailSlotChange}></slot></section>`}renderSelectionIcon(){let e=this.selectionMode==="multiple"&&this.selected?r.selected:this.selectionMode==="multiple"?r.unselected:this.selected?r.selectedSingle:r.unselectedSingle;return i`<div class=${t(a.checkboxWrapper)} @pointerdown=${this.cardSelectClick} tabindex=-1><calcite-icon .icon=${e} scale=s></calcite-icon></div>`}renderHeader(){let e=this.hasHeading||this.hasDescription,n=this.hasSubtitle||this.hasTitle,l=e||n;return i`<header class=${t(a.header)} .hidden=${!l}>${this.selectable?this.renderCheckboxDeprecated():null}<div class=${t(a.headerTextContainer)}><slot name=${c.heading} @slotchange=${this.handleHeadingSlotChange}></slot><slot name=${c.description} @slotchange=${this.handleDescriptionSlotChange}></slot><slot name=${c.title} @slotchange=${this.handleTitleSlotChange}></slot><slot name=${c.subtitle} @slotchange=${this.handleSubtitleSlotChange}></slot></div>${this.selectionMode!=="none"&&this.renderSelectionIcon()||""}</header>`}renderFooter(){let e=this.hasFooterStart||this.hasFooterEnd;return i`<footer class=${t(a.footer)} .hidden=${!e}><slot name=${c.footerStart} @slotchange=${this.handleFooterStartSlotChange}></slot><slot name=${c.footerEnd} @slotchange=${this.handleFooterEndSlotChange}></slot></footer>`}render(){let e=this.thumbnailPosition.startsWith("inline"),n=this.thumbnailPosition.endsWith("start"),l=this.selectionMode==="multiple"?"checkbox":this.selectionMode!=="none"?"radio":void 0;return f({disabled:this.disabled,children:i`<div .ariaChecked=${this.selectionMode!=="none"?this.selected:void 0} .ariaLabel=${this.label} class=${t({[a.contentWrapper]:!0,inline:e})} @click=${this.cardBodyClickHandler} @keydown=${this.keyDownHandler} .role=${l} .tabIndex=${!this.selectable||this.disabled?0:-1} ${u(this.containerEl)}>${this.loading?i`<div aria-live=polite class="calcite-card-loader-container"><calcite-loader .label=${this.messages.loading}></calcite-loader></div>`:null}${n&&this.renderThumbnail()||""}<section .ariaBusy=${this.loading} class=${t({[a.container]:!0})}>${this.renderHeader()}<div class=${t({[a.cardContent]:!0,[a.hasSlottedContent]:this.hasContent})}><slot @slotchange=${this.handleDefaultSlotChange}></slot></div>${this.renderFooter()}</section>${!n&&this.renderThumbnail()||""}</div>`})}};b("calcite-card",d);export{d as Card};
|
|
3
|
+
v3.0.3 */
|
|
4
|
+
import{a as v,b as f}from"./6NJ2XB5D.js";import{a as k}from"./DFFLO6RQ.js";import{a as x}from"./HHWADIGN.js";import{a as g,b as u}from"./SZONZQBZ.js";import{u as o}from"./SXYTJEOC.js";import{b as m}from"./H6E5FODU.js";import"./B4YIOD3M.js";import{J as b,e as h,f as i,v as s,w as p,x as t}from"./74XIV7EB.js";var a={container:"container",contentWrapper:"content-wrapper",header:"header",footer:"footer",checkboxWrapper:"checkbox-wrapper",checkboxWrapperDeprecated:"checkbox-wrapper-deprecated",thumbnailWrapper:"thumbnail-wrapper",headerTextContainer:"header-text-container",cardContent:"card-content",hasSlottedContent:"has-slotted-content"},c={thumbnail:"thumbnail",heading:"heading",description:"description",footerStart:"footer-start",footerEnd:"footer-end",title:"title",subtitle:"subtitle"},r={selected:"check-square-f",unselected:"square",selectedSingle:"circle-f",unselectedSingle:"circle"},w=h`: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;max-inline-size:100%}.content-wrapper{position:relative;display:flex;block-size:100%;flex-direction:column;justify-content:space-between;overflow:hidden;border:var(--calcite-border-width-sm) solid var(--calcite-card-border-color, var(--calcite-color-border-3));border-radius:var(--calcite-card-corner-radius, var(--calcite-corner-radius-sharp));background-color:var(--calcite-card-background-color, var(--calcite-color-foreground-1));box-shadow:var(--calcite-card-shadow, var(--calcite-shadow-none));pointer-events:none}::slotted(*){pointer-events:auto}:host(:not([selectable])) .content-wrapper:not(.non-interactive){outline-color:transparent}:host(:not([selectable])) .content-wrapper: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{position:relative;display:flex;flex:1 1 auto;flex-direction:column}:host([loading]) .content-wrapper *:not(calcite-loader):not(.calcite-card-loader-container){pointer-events:none;opacity:0}:host([loading]) .calcite-card-loader-container{position:absolute;inset:0;display:flex;align-items:center}.header{display:flex;flex-direction:row;align-items:flex-start}.footer{margin-block-start:auto;display:flex;flex-direction:row;align-content:space-between;justify-content:space-between;padding-inline:var(--calcite-spacing-md);padding-block-start:var(--calcite-spacing-xxs);padding-block-end:var(--calcite-spacing-md)}.header-text-container{display:flex;inline-size:100%;flex-direction:column;justify-content:center;padding-inline:.75rem;padding-block:.5rem}.header-text-container:not(:only-child){padding-inline-end:.125rem}.footer{margin-block-start:auto;flex-direction:row;align-content:space-between;justify-content:space-between;padding-inline:.75rem;padding-block:.25rem .75rem}.card-content{block-size:auto;font-size:var(--calcite-font-size--2);line-height:1.375}.has-slotted-content{padding:.75rem}:host([selected]) .content-wrapper{box-shadow:inset 0 -4px 0 0 var(--calcite-card-accent-color-selected, var(--calcite-color-brand))}:host([selectable]) .header{padding-inline-end:var(--calcite-spacing-xxxl)}slot[name=title]::slotted(*),*::slotted([slot=title]){margin:0;font-size:var(--calcite-font-size--1);line-height:1.375;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-1)}slot[name=subtitle]::slotted(*),*::slotted([slot=subtitle]){margin:0;margin-block-start:.125rem;font-size:var(--calcite-font-size--2);line-height:1.375;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-color-text-2)}slot[name=heading]::slotted(*),*::slotted([slot=heading]){margin:0;font-size:var(--calcite-font-size--1);line-height:1.375;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-1)}slot[name=description]::slotted(*),*::slotted([slot=description]){margin:0;margin-block-start:.125rem;font-size:var(--calcite-font-size--2);line-height:1.375;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-color-text-2)}slot[name=thumbnail]::slotted(img),img::slotted([slot=thumbnail]){min-inline-size:100%;max-inline-size:100%}slot[name=footer-start]::slotted(*),*::slotted([slot=footer-start]){align-self:center;font-size:var(--calcite-font-size--2);line-height:1.375;margin-inline-end:auto}slot[name=footer-end]::slotted(*),*::slotted([slot=footer-end]){align-self:center;font-size:var(--calcite-font-size--2);line-height:1.375}.checkbox-wrapper-deprecated{pointer-events:auto;position:absolute;inset-block-start:var(--calcite-spacing-sm);inset-inline-end:var(--calcite-spacing-sm);margin:0;padding:0;color:var(--calcite-card-selection-color, var(--calcite-color-text-3))}.checkbox-wrapper-deprecated:hover{background-color:var(--calcite-card-selection-background-color-hover, var(--calcite-color-foreground-2));color:var(--calcite-card-selection-color-hover, var(--calcite-card-selection-icon-color-hover, var(--calcite-color-text-2)))}.checkbox-wrapper-deprecated:active{background-color:var(--calcite-card-selection-background-color-press, var(--calcite-color-transparent-press))}.checkbox-wrapper{pointer-events:auto;margin:.5rem;cursor:pointer;padding:.5rem;outline-color:transparent;display:flex;align-items:center;justify-items:center;color:var(--calcite-card-selection-color, var(--calcite-color-text-3))}.checkbox-wrapper:hover{background-color:var(--calcite-card-selection-background-color-hover, var(--calcite-color-foreground-2));color:var(--calcite-card-selection-color-hover, var(--calcite-card-selection-icon-color-hover, var(--calcite-color-text-2)))}.checkbox-wrapper:active{background-color:var(--calcite-card-selection-background-color-press, var(--calcite-color-transparent-press))}.checkbox-wrapper calcite-icon{pointer-events:none}:host([selected]) .checkbox-wrapper-deprecated,:host([selected]) .checkbox-wrapper{color:var(--calcite-card-accent-color-selected, var(--calcite-card-selection-icon-color-selected, var(--calcite-color-brand)))}:host(:not([selectable])) .content-wrapper:not(.non-interactive):focus .checkbox-wrapper-deprecated,:host(:not([selectable])) .content-wrapper:not(.non-interactive):focus .checkbox-wrapper{background-color:var(--calcite-card-selection-background-color-hover, var(--calcite-color-foreground-2));color:var(--calcite-card-selection-color-hover, var(--calcite-card-selection-icon-color-hover, var(--calcite-color-text-2)))}:host([selected]:not([selectable])) .content-wrapper:not(.non-interactive):focus .checkbox-wrapper-deprecated,:host([selected]:not([selectable])) .content-wrapper:not(.non-interactive):focus .checkbox-wrapper{background-color:var(--calcite-card-selection-background-color-press, var(--calcite-color-transparent-press));color:var(--calcite-card-accent-color-selected, var(--calcite-card-selection-icon-color-selected, var(--calcite-color-brand)))}.thumbnail-wrapper{display:flex}.content-wrapper.inline{flex-direction:row}.content-wrapper.inline>.container{inline-size:60%}.content-wrapper.inline>.thumbnail-wrapper{inline-size:40%;align-items:flex-start}.content-wrapper.inline slot[name=thumbnail]::slotted(img),.content-wrapper.inline img::slotted([slot=thumbnail]){inline-size:100%}slot[name=footer-start]::slotted(*),slot[name=footer-end]::slotted(*){display:flex;gap:.25rem}:host([hidden]){display:none}[hidden]{display:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}`,d=class extends p{constructor(){super(...arguments),this.containerEl=g(),this.hasContent=!1,this.hasDescription=!1,this.hasFooterEnd=!1,this.hasFooterStart=!1,this.hasHeading=!1,this.hasSubtitle=!1,this.hasThumbnail=!1,this.hasTitle=!1,this.disabled=!1,this.loading=!1,this.messages=x(),this.selectable=!1,this.selected=!1,this.selectionMode="none",this.thumbnailPosition="block-start",this.calciteCardSelect=s({cancelable:!1}),this.calciteInternalCardKeyEvent=s({cancelable:!1})}static{this.properties={hasContent:16,hasDescription:16,hasFooterEnd:16,hasFooterStart:16,hasHeading:16,hasSubtitle:16,hasThumbnail:16,hasTitle:16,disabled:7,label:1,loading:7,messageOverrides:0,selectable:7,selected:7,selectionMode:1,thumbnailPosition:3}}static{this.styles=w}async setFocus(){await m(this),this.disabled||this.containerEl.value?.focus()}async load(){}updated(){v(this)}loaded(){}handleThumbnailSlotChange(e){this.hasThumbnail=o(e)}handleHeadingSlotChange(e){this.hasHeading=o(e)}handleDescriptionSlotChange(e){this.hasDescription=o(e)}handleTitleSlotChange(e){this.hasTitle=o(e)}handleSubtitleSlotChange(e){this.hasSubtitle=o(e)}handleFooterStartSlotChange(e){this.hasFooterStart=o(e)}handleFooterEndSlotChange(e){this.hasFooterEnd=o(e)}handleDefaultSlotChange(e){this.hasContent=o(e)}keyDownHandler(e){if(e.target===this.containerEl.value&&!this.selectable&&!this.disabled)if(k(e.key)&&this.selectionMode!=="none")this.calciteCardSelect.emit(),e.preventDefault();else switch(e.key){case"ArrowRight":case"ArrowLeft":case"Home":case"End":this.calciteInternalCardKeyEvent.emit(e),e.preventDefault();break}}cardBodyClickHandler(e){e.target===this.containerEl.value&&!this.selectable&&!this.disabled&&this.selectionMode!=="none"&&this.calciteCardSelect.emit()}selectCardDeprecated(e){this.selected=e.currentTarget.checked,this.calciteCardSelect.emit()}cardSelectClick(e){this.disabled||(e.preventDefault(),this.calciteCardSelect.emit(),this.setFocus())}renderCheckboxDeprecated(){return i`<calcite-label class=${t(a.checkboxWrapperDeprecated)}><calcite-checkbox .checked=${this.selected} .label=${this.messages.select} @calciteCheckboxChange=${this.selectCardDeprecated}></calcite-checkbox></calcite-label>`}renderThumbnail(){return i`<section class=${t(a.thumbnailWrapper)} .hidden=${!this.hasThumbnail}><slot name=${c.thumbnail} @slotchange=${this.handleThumbnailSlotChange}></slot></section>`}renderSelectionIcon(){let e=this.selectionMode==="multiple"&&this.selected?r.selected:this.selectionMode==="multiple"?r.unselected:this.selected?r.selectedSingle:r.unselectedSingle;return i`<div class=${t(a.checkboxWrapper)} @pointerdown=${this.cardSelectClick} tabindex=-1><calcite-icon .icon=${e} scale=s></calcite-icon></div>`}renderHeader(){let e=this.hasHeading||this.hasDescription,n=this.hasSubtitle||this.hasTitle,l=e||n;return i`<header class=${t(a.header)} .hidden=${!l}>${this.selectable?this.renderCheckboxDeprecated():null}<div class=${t(a.headerTextContainer)}><slot name=${c.heading} @slotchange=${this.handleHeadingSlotChange}></slot><slot name=${c.description} @slotchange=${this.handleDescriptionSlotChange}></slot><slot name=${c.title} @slotchange=${this.handleTitleSlotChange}></slot><slot name=${c.subtitle} @slotchange=${this.handleSubtitleSlotChange}></slot></div>${this.selectionMode!=="none"&&this.renderSelectionIcon()||""}</header>`}renderFooter(){let e=this.hasFooterStart||this.hasFooterEnd;return i`<footer class=${t(a.footer)} .hidden=${!e}><slot name=${c.footerStart} @slotchange=${this.handleFooterStartSlotChange}></slot><slot name=${c.footerEnd} @slotchange=${this.handleFooterEndSlotChange}></slot></footer>`}render(){let e=this.thumbnailPosition.startsWith("inline"),n=this.thumbnailPosition.endsWith("start"),l=this.selectionMode==="multiple"?"checkbox":this.selectionMode!=="none"?"radio":void 0;return f({disabled:this.disabled,children:i`<div .ariaChecked=${this.selectionMode!=="none"?this.selected:void 0} .ariaLabel=${this.label} class=${t({[a.contentWrapper]:!0,inline:e})} @click=${this.cardBodyClickHandler} @keydown=${this.keyDownHandler} .role=${l} .tabIndex=${!this.selectable||this.disabled?0:-1} ${u(this.containerEl)}>${this.loading?i`<div aria-live=polite class="calcite-card-loader-container"><calcite-loader .label=${this.messages.loading}></calcite-loader></div>`:null}${n&&this.renderThumbnail()||""}<section .ariaBusy=${this.loading} class=${t({[a.container]:!0})}>${this.renderHeader()}<div class=${t({[a.cardContent]:!0,[a.hasSlottedContent]:this.hasContent})}><slot @slotchange=${this.handleDefaultSlotChange}></slot></div>${this.renderFooter()}</section>${!n&&this.renderThumbnail()||""}</div>`})}};b("calcite-card",d);export{d as Card};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v3.0.
|
|
4
|
-
import{a as y}from"./
|
|
3
|
+
v3.0.3 */
|
|
4
|
+
import{a as y}from"./HHWADIGN.js";import{a as x}from"./B4YIOD3M.js";import{A as u,J as k,e as g,f as r,g as h,j as p,w as z,x as l,y as f}from"./74XIV7EB.js";var t={percentage:"percentage",progressRing:"ring--progress",ring:"ring",rings:"rings",text:"text",trackRing:"ring--track"},$=g`:host{position:relative;margin-inline:auto;display:flex;align-items:center;justify-content:center;opacity:1;flex-direction:column;min-block-size:var(--calcite-loader-size);font-size:var(--calcite-loader-font-size);stroke-width:var(--calcite-internal-stroke-width);fill:none;transform:scale(1);padding-block:var(--calcite-loader-spacing, 4rem)}:host([scale=s]){--calcite-internal-stroke-width: 3;--calcite-internal-text-offset: var(--calcite-spacing-xxs);--calcite-internal-loader-font-size: var(--calcite-font-size--3);--calcite-internal-loader-size: 2rem;--calcite-internal-loader-size-inline: .75rem;--calcite-internal-loader-value-line-height: .625rem}:host([scale=m]){--calcite-internal-stroke-width: 6;--calcite-internal-text-offset: var(--calcite-spacing-sm);--calcite-internal-loader-font-size: var(--calcite-font-size-0);--calcite-internal-loader-size: 4rem;--calcite-internal-loader-size-inline: 1rem;--calcite-internal-loader-value-line-height: 1.375rem}:host([scale=l]){--calcite-internal-stroke-width: 8;--calcite-internal-text-offset: var(--calcite-spacing-md);--calcite-internal-loader-font-size: var(--calcite-font-size-2);--calcite-internal-loader-size: 6rem;--calcite-internal-loader-size-inline: 1.5rem;--calcite-internal-loader-value-line-height: 1.71875rem}.text{display:block;text-align:center;font-size:var(--calcite-font-size--2);line-height:1rem;margin-block-start:var(--calcite-loader-text-spacing, var(--calcite-internal-text-offset));font-weight:var(--calcite-loader-text-weight, var(--calcite-font-weight-normal));color:var(--calcite-loader-text-color, var(--calcite-color-text-1))}.percentage{display:block;text-align:center;font-size:var(--calcite-loader-font-size);inline-size:var(--calcite-loader-size, var(--calcite-internal-loader-size));line-height:var(--calcite-internal-loader-value-line-height);align-self:center;color:var(--calcite-loader-text-color, var(--calcite-color-text-1))}.rings{position:relative;display:flex;overflow:visible;opacity:1;inline-size:var(--calcite-loader-size, var(--calcite-internal-loader-size));block-size:var(--calcite-loader-size, var(--calcite-internal-loader-size))}.ring{position:absolute;inset-block-start:0px;transform-origin:center;overflow:visible;inset-inline-start:0;inline-size:var(--calcite-loader-size, var(--calcite-internal-loader-size));block-size:var(--calcite-loader-size, var(--calcite-internal-loader-size))}.ring--track{stroke:var(--calcite-loader-track-color, var(--calcite-color-transparent-press))}.ring--progress{stroke:var(--calcite-loader-progress-color, var(--calcite-color-brand));transform:rotate(-90deg);transition:all var(--calcite-internal-animation-timing-fast) linear}:host([type=indeterminate]) .ring--progress{animation:loader-clockwise calc(var(--calcite-internal-animation-timing-slow) / var(--calcite-internal-duration-factor) * 2 / var(--calcite-internal-duration-factor)) linear infinite}:host([inline]){--calcite-internal-stroke-width: 2;position:relative;margin:0;stroke:currentColor;stroke-width:2;padding-block:0px;block-size:var(--calcite-loader-size, var(--calcite-loader-size-inline, var(--calcite-internal-loader-size-inline)));min-block-size:var(--calcite-loader-size, var(--calcite-loader-size-inline, var(--calcite-internal-loader-size-inline)));inline-size:var(--calcite-loader-size, var(--calcite-loader-size-inline, var(--calcite-internal-loader-size-inline)));vertical-align:calc(var(--calcite-loader-size, var(--calcite-loader-size-inline, var(--calcite-internal-loader-size-inline))) * -1 * .2)}:host([inline]) .rings{inset-block-start:0px;margin:0;inset-inline-start:0;inline-size:var(--calcite-loader-size, var(--calcite-loader-size-inline, var(--calcite-internal-loader-size-inline)));block-size:var(--calcite-loader-size, var(--calcite-loader-size-inline, var(--calcite-internal-loader-size-inline)))}:host([inline]) .ring{inline-size:var(--calcite-loader-size, var(--calcite-loader-size-inline, var(--calcite-internal-loader-size-inline)));block-size:var(--calcite-loader-size, var(--calcite-loader-size-inline, var(--calcite-internal-loader-size-inline)))}:host([inline]) .ring--progress{stroke:var(--calcite-loader-progress-color-inline, currentColor)}:host([complete]){opacity:0;transform:scale(.75);transform-origin:center;transition:opacity var(--calcite-internal-animation-timing-medium) linear 1s,transform var(--calcite-internal-animation-timing-medium) linear 1s}:host([complete]) .rings{opacity:0;transform:scale(.75);transform-origin:center;transition:opacity calc(.18s * var(--calcite-internal-duration-factor)) linear .8s,transform calc(.18s * var(--calcite-internal-duration-factor)) linear .8s}:host([complete]) .percentage{color:var(--calcite-color-brand);transform:scale(1.05);transform-origin:center;transition:color var(--calcite-internal-animation-timing-medium) linear,transform var(--calcite-internal-animation-timing-medium) linear}@keyframes loader-clockwise{0%{transform:rotate(0)}to{transform:rotate(360deg)}}:host([hidden]){display:none}[hidden]{display:none}`,m=class extends z{constructor(){super(...arguments),this.messages=y({name:null}),this.complete=!1,this.inline=!1,this.scale="m",this.text="",this.type="indeterminate",this.value=0}static{this.properties={complete:7,inline:7,label:1,scale:3,text:1,type:3,value:9}}static{this.styles=$}connectedCallback(){super.connectedCallback(),this.updateFormatter()}load(){requestAnimationFrame(()=>this.valueChangeHandler())}willUpdate(e){e.has("value")&&(this.hasUpdated||this.value!==0)&&this.valueChangeHandler(),(e.has("type")&&(this.hasUpdated||this.type!=="indeterminate")||e.has("messages"))&&this.updateFormatter()}valueChangeHandler(){this.complete=this.type.startsWith("determinate")&&this.value===100}formatValue(){return this.type!=="determinate-value"?`${this.value}`:this.formatter.format(this.value/100)}getSize(e){return{s:32,m:64,l:96}[e]}getInlineSize(e){return{s:12,m:16,l:24}[e]}updateFormatter(){this.type!=="determinate-value"||this.formatter?.resolvedOptions().locale===this.messages._lang||(this.formatter=new Intl.NumberFormat(this.messages._lang,{style:"percent"}))}render(){let{el:e,inline:n,label:s,text:c,type:i,value:o}=this,d=e.id||x(),a=i!=="indeterminate",v=Math.floor(o);return this.el.ariaLabel=s,this.el.ariaValueMax=a?"100":void 0,this.el.ariaValueMin=a?"0":void 0,this.el.ariaValueNow=a?v.toString():void 0,u(this.el,"id",d),this.el.role="progressbar",r`<div class=${l(t.rings)}>${this.renderRing("track")}${this.renderRing("progress")}${!n&&a&&r`<div class=${l(t.percentage)}>${this.formatValue()}</div>`||""}</div>${!n&&c&&r`<div class=${l(t.text)}>${c}</div>`||""}`}renderRing(e){let{inline:n,scale:s,value:c}=this,i=n?this.getInlineSize(s):this.getSize(s),o=i*.45,d;if(e==="progress"){let a=2*o*Math.PI,v=(this.type.startsWith("determinate")?c:24)/100*a,b=a-v;d={"stroke-dasharray":`${v} ${b}`}}return r`<svg aria-hidden=true class=${l({[t.ring]:!0,[t.trackRing]:e==="track",[t.progressRing]:e==="progress"})} style=${f(d)} viewBox=${`0 0 ${i} ${i}`}>${h`<circle cx=${i/2} cy=${i/2} r=${o??p} />`}</svg>`}};k("calcite-loader",m);export{m as Loader};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v3.0.
|
|
4
|
-
import{b as _}from"./
|
|
3
|
+
v3.0.3 */
|
|
4
|
+
import{b as _}from"./SWZ5F3MV.js";import"./NSHGJK73.js";var l={name:"ca",weekdays:"Diumenge_Dilluns_Dimarts_Dimecres_Dijous_Divendres_Dissabte".split("_"),weekdaysShort:"Dg._Dl._Dt._Dc._Dj._Dv._Ds.".split("_"),weekdaysMin:"Dg_Dl_Dt_Dc_Dj_Dv_Ds".split("_"),months:"Gener_Febrer_Mar\xE7_Abril_Maig_Juny_Juliol_Agost_Setembre_Octubre_Novembre_Desembre".split("_"),monthsShort:"Gen._Febr._Mar\xE7_Abr._Maig_Juny_Jul._Ag._Set._Oct._Nov._Des.".split("_"),weekStart:1,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",LLL:"D MMMM [de] YYYY [a les] H:mm",LLLL:"dddd D MMMM [de] YYYY [a les] H:mm",ll:"D MMM YYYY",lll:"D MMM YYYY, H:mm",llll:"ddd D MMM YYYY, H:mm"},relativeTime:{future:"d'aqu\xED %s",past:"fa %s",s:"uns segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},ordinal:function(e){var s;return e===1||e===3?s="r":e===2?s="n":e===4?s="t":s="\xE8",""+e+s}};_.locale(l,null,!0);var a=l;export{a as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v3.0.
|
|
4
|
-
import{b as e}from"./
|
|
3
|
+
v3.0.3 */
|
|
4
|
+
import{b as e}from"./SWZ5F3MV.js";import"./NSHGJK73.js";var _={name:"it-ch",weekdays:"domenica_luned\xEC_marted\xEC_mercoled\xEC_gioved\xEC_venerd\xEC_sabato".split("_"),months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),weekStart:1,weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),ordinal:function(o){return o},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:"tra %s",past:"%s fa",s:"alcuni secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"}};e.locale(_,null,!0);var i=_;export{i as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v3.0.
|
|
4
|
-
import{a}from"./
|
|
3
|
+
v3.0.3 */
|
|
4
|
+
import{a}from"./NSHGJK73.js";export{a as default};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v3.0.
|
|
4
|
-
import{b as l,c}from"./
|
|
3
|
+
v3.0.3 */
|
|
4
|
+
import{b as l,c}from"./SYD5OQF5.js";var b=(n,f,i)=>{let u=l(f),p=new RegExp(u,"i");n.length===0&&console.warn(`No data was passed to the filter function.
|
|
5
5
|
The data argument should be an array of objects`);let o=(r,a,s)=>{if(r?.constant||r?.filterDisabled)return!0;let e=!1;return c(r,(t,d)=>{typeof t=="function"||t==null||s&&!s.includes(d)||(Array.isArray(t)||typeof t=="object"&&t!==null?o(t,a)&&(e=!0):a.test(t)&&(e=!0))}),e};return n.filter(r=>o(r,p,i))};export{b as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v3.0.
|
|
4
|
-
import{b as n,c as v}from"./
|
|
3
|
+
v3.0.3 */
|
|
4
|
+
import{b as n,c as v}from"./7DY27BCZ.js";import{a as k,b as g}from"./6NJ2XB5D.js";import{b as u}from"./SZONZQBZ.js";import{e as b,l as m}from"./SXYTJEOC.js";import{b as f}from"./H6E5FODU.js";import"./B4YIOD3M.js";import{B as d,C as h,J as p,e as l,f as o,w as r,x as c,z as e}from"./74XIV7EB.js";var R=l`: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}:host a,:host span{position:relative;display:flex;cursor:pointer;align-items:center;justify-content:center;border-radius:0;border-style:none;font-family:inherit;text-decoration:none;line-height:inherit;font-size:inherit;-webkit-appearance:none;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,background-size;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out}:host a:hover,:host span:hover{text-decoration:none}:host a,:host span{outline-color:transparent}:host a:focus,:host span: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-icon{inline-size:1em;block-size:1em;min-inline-size:unset;min-block-size:unset}.calcite-link--icon{vertical-align:middle;margin-block-start:-.25em}:host .calcite-link--icon.icon-start{margin-inline-end:.5rem}:host .calcite-link--icon.icon-end{margin-inline-start:.5rem}:host span,:host a{position:relative;display:inline;border-style:none;background-color:transparent;padding:0;color:var(--calcite-link-text-color, var(--calcite-color-text-link));line-height:inherit;white-space:initial;background-image:linear-gradient(currentColor,currentColor),linear-gradient(var(--calcite-color-brand-underline),var(--calcite-color-brand-underline));background-position-x:0%,100%;background-position-y:min(1.5em,100%);background-repeat:no-repeat,no-repeat;background-size:0% 1px,100% 1px}:host span:hover,:host span:focus,:host a:hover,:host a:focus{background-size:100% 1px,100% 1px}:host span:active,:host a:active{background-size:100% 2px,100% 2px}:host span.calcite--rtl,:host a.calcite--rtl{background-position:100% 100%,100% 100%}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([hidden]){display:none}[hidden]{display:none}`,a=class extends r{constructor(){super(),this.disabled=!1,this.download=!1,this.listen("click",this.clickHandler)}static{this.properties={disabled:7,download:[3,{converter:d}],href:3,iconEnd:3,iconFlipRtl:3,iconStart:3,rel:1,target:1}}static{this.styles=R}async setFocus(){await f(this),m(this.childEl)}load(){}updated(){k(this)}loaded(){}clickHandler(i){this.disabled||i.isTrusted||this.childEl.click()}childElClickHandler(i){i.isTrusted||i.stopPropagation()}storeTagRef(i){this.childEl=i}render(){let{download:i,el:y}=this,x=b(y),t=this.href?"a":"span",$=o`<calcite-icon class="calcite-link--icon icon-start" .flipRtl=${this.iconFlipRtl==="start"||this.iconFlipRtl==="both"} .icon=${this.iconStart} scale=s></calcite-icon>`,z=o`<calcite-icon class="calcite-link--icon icon-end" .flipRtl=${this.iconFlipRtl==="end"||this.iconFlipRtl==="both"} .icon=${this.iconEnd} scale=s></calcite-icon>`,s=t==="span"?n`span`:n`a`,w=t==="span"?"link":null,E=t==="span"?0:null;return this.el.role="presentation",g({disabled:this.disabled,children:v`<${s} class=${c({[h.rtl]:x==="rtl"})} download=${(t==="a"?i===!0||i===""?"":i||null:null)??e} href=${(t==="a"&&this.href)??e} @click=${this.childElClickHandler} rel=${(t==="a"&&this.rel)??e} .role=${w} tabindex=${E??e} target=${(t==="a"&&this.target)??e} ${u(this.storeTagRef)}>${o`${this.iconStart?$:null}<slot></slot>${this.iconEnd?z:null}`}</${s}>`})}};p("calcite-link",a);export{a as Link};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v3.0.
|
|
4
|
-
import{a as f}from"./
|
|
3
|
+
v3.0.3 */
|
|
4
|
+
import{a as f}from"./RIMAR2EG.js";import{b as l}from"./SZONZQBZ.js";import{f as n,g as e,j as i,x as s}from"./74XIV7EB.js";var w={arrow:"calcite-floating-ui-arrow",arrowStroke:"calcite-floating-ui-arrow__stroke"},c={width:12,height:6,strokeWidth:1},y=({floatingLayout:d,key:g,ref:m})=>{let{width:t,height:r,strokeWidth:o}=c,a=t/2,$=d==="vertical",h=`M0,0 H${t} L${t-a},${r} Q${a},${r} ${a},${r} Z`;return f(g,n`<svg aria-hidden=true class=${s(w.arrow)} height=${t} viewBox=${`0 0 ${t} ${t+($?0:o)}`} width=${t+($?o:0)} ${l(m)}>${e`${e`<path class=${s(w.arrowStroke)} d=${h??i} fill=none stroke-width=${o+1} />`||""}<path d=${h??i} stroke=none />`}</svg>`)};export{y as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v3.0.
|
|
4
|
-
import{d as t}from"./
|
|
3
|
+
v3.0.3 */
|
|
4
|
+
import{d as t}from"./G5S7W2IC.js";import{a as v,b as B}from"./6NJ2XB5D.js";import{a as $}from"./RIMAR2EG.js";import{a as x}from"./HHWADIGN.js";import{b as h}from"./SZONZQBZ.js";import{e as k}from"./SXYTJEOC.js";import{b as w}from"./H6E5FODU.js";import"./B4YIOD3M.js";import{J as u,e as b,f as d,j as f,v as l,w as m,x as g}from"./74XIV7EB.js";var T={backButton:"back-button"},y={backLeft:"chevron-left",backRight:"chevron-right"},o={actionBar:"action-bar",alerts:"alerts",contentTop:"content-top",contentBottom:"content-bottom",headerActionsStart:"header-actions-start",headerActionsEnd:"header-actions-end",headerMenuActions:"header-menu-actions",headerContent:"header-content",fab:"fab",footer:"footer",footerActions:"footer-actions",footerEnd:"footer-end",footerStart:"footer-start"},L=b`: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([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:none;inline-size:100%;flex:1 1 auto;overflow:hidden}:host([selected]){display:flex}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}.back-button{border-width:0px;border-style:solid;border-inline-end-width:1px;border-color:var(--calcite-flow-border-color, var(--calcite-color-border-3))}calcite-panel{--calcite-panel-background-color: var(--calcite-flow-background-color);--calcite-panel-border-color: var(--calcite-flow-border-color, var(--calcite-flow-item-header-border-block-end));--calcite-panel-corner-radius: var(--calcite-flow-corner-radius);--calcite-panel-description-text-color: var(--calcite-flow-description-text-color);--calcite-panel-footer-background-color: var(--calcite-flow-footer-background-color);--calcite-panel-footer-space: var(--calcite-flow-footer-space, var(--calcite-flow-item-footer-padding));--calcite-panel-header-action-background-color-hover: var(--calcite-flow-header-action-background-color-hover);--calcite-panel-header-action-background-color-press: var(--calcite-flow-header-action-background-color-press);--calcite-panel-header-action-background-color: var(--calcite-flow-header-action-background-color);--calcite-panel-header-action-indicator-color: var(--calcite-flow-header-action-indicator-color);--calcite-panel-header-action-text-color-press: var(--calcite-flow-header-action-text-color-press);--calcite-panel-header-action-text-color: var(--calcite-flow-header-action-text-color);--calcite-panel-header-background-color: var(--calcite-flow-header-background-color);--calcite-panel-header-content-space: var(--calcite-flow-header-content-space);--calcite-panel-heading-text-color: var(--calcite-flow-heading-text-color);--calcite-panel-space: var(--calcite-flow-space)}:host([hidden]){display:none}[hidden]{display:none}`,p=class extends m{constructor(){super(...arguments),this.closable=!1,this.closed=!1,this.collapseDirection="down",this.collapsed=!1,this.collapsible=!1,this.disabled=!1,this.loading=!1,this.menuOpen=!1,this.messages=x(),this.overlayPositioning="absolute",this.scale="m",this.selected=!1,this.showBackButton=!1,this.calciteFlowItemBack=l(),this.calciteFlowItemClose=l({cancelable:!1}),this.calciteFlowItemScroll=l({cancelable:!1}),this.calciteFlowItemToggle=l({cancelable:!1}),this.calciteInternalFlowItemChange=l({cancelable:!1})}static{this.properties={beforeBack:0,beforeClose:0,closable:7,closed:7,collapseDirection:1,collapsed:7,collapsible:7,description:1,disabled:7,heading:1,headingLevel:11,loading:7,menuOpen:7,messageOverrides:0,overlayPositioning:3,scale:3,selected:7,showBackButton:5}}static{this.styles=L}async scrollContentTo(e){await this.containerEl?.scrollContentTo(e)}async setFocus(){await w(this);let{backButtonEl:e,containerEl:a}=this;if(e)return e.setFocus();if(a)return a.setFocus()}async load(){}willUpdate(e){e.has("selected")&&(this.hasUpdated||this.selected!==!1)&&this.calciteInternalFlowItemChange.emit()}updated(){v(this)}loaded(){}handleInternalPanelScroll(e){e.target===this.containerEl&&(e.stopPropagation(),this.calciteFlowItemScroll.emit())}handleInternalPanelClose(e){e.target===this.containerEl&&(e.stopPropagation(),this.closed=!0,this.calciteFlowItemClose.emit())}handleInternalPanelToggle(e){e.target===this.containerEl&&(e.stopPropagation(),this.collapsed=e.target.collapsed,this.calciteFlowItemToggle.emit())}backButtonClick(){this.calciteFlowItemBack.emit()}setBackRef(e){this.backButtonEl=e}setContainerRef(e){this.containerEl=e}renderBackButton(){let{el:e}=this,a=k(e)==="rtl",{showBackButton:n,backButtonClick:i,messages:r}=this,c=r.back,s=a?y.backRight:y.backLeft;return n?$("flow-back-button",d`<calcite-action .ariaLabel=${c} class=${g(T.backButton)} .icon=${s} @click=${i} scale=s slot=header-actions-start .text=${c} title=${c??f} ${h(this.setBackRef)}></calcite-action>`):null}render(){let{collapsed:e,collapseDirection:a,collapsible:n,closable:i,closed:r,description:c,disabled:s,heading:C,headingLevel:I,loading:E,menuOpen:P,messages:F,overlayPositioning:A,beforeClose:S}=this;return B({disabled:s,children:d`<calcite-panel .beforeClose=${S} .closable=${i} .closed=${r} .collapseDirection=${a} .collapsed=${e} .collapsible=${n} .description=${c} .disabled=${s} .heading=${C} .headingLevel=${I} .loading=${E} .menuOpen=${P} .messageOverrides=${F} @calcitePanelClose=${this.handleInternalPanelClose} @calcitePanelScroll=${this.handleInternalPanelScroll} @calcitePanelToggle=${this.handleInternalPanelToggle} .overlayPositioning=${A} .scale=${this.scale} ${h(this.setContainerRef)}>${this.renderBackButton()}<slot name=${o.actionBar} slot=${t.actionBar}></slot><slot name=${o.alerts} slot=${t.alerts}></slot><slot name=${o.headerActionsStart} slot=${t.headerActionsStart}></slot><slot name=${o.headerActionsEnd} slot=${t.headerActionsEnd}></slot><slot name=${o.headerContent} slot=${t.headerContent}></slot><slot name=${o.headerMenuActions} slot=${t.headerMenuActions}></slot><slot name=${o.fab} slot=${t.fab}></slot><slot name=${o.contentTop} slot=${t.contentTop}></slot><slot name=${o.contentBottom} slot=${t.contentBottom}></slot><slot name=${o.footerStart} slot=${t.footerStart}></slot><slot name=${o.footer} slot=${t.footer}></slot><slot name=${o.footerEnd} slot=${t.footerEnd}></slot><slot name=${o.footerActions} slot=${t.footerActions}></slot><slot></slot></calcite-panel>`})}};u("calcite-flow-item",p);export{p as FlowItem};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v3.0.
|
|
4
|
-
import{a as f,b as u}from"./
|
|
3
|
+
v3.0.3 */
|
|
4
|
+
import{a as f,b as u}from"./B7MQCVNK.js";import"./7DY27BCZ.js";import{a as g}from"./6NCXFBVI.js";import{a as h}from"./RIMAR2EG.js";import{a as p}from"./HHWADIGN.js";import{u as m}from"./SXYTJEOC.js";import"./B4YIOD3M.js";import{J as d,e as r,f as i,v as l,w as c,x as a}from"./74XIV7EB.js";var e={container:"container",header:"header",heading:"heading",close:"close",imageFrame:"image-frame",content:"content",info:"info",infoNoThumbnail:"info--no-thumbnail"},$={close:"x"},T={thumbnail:"thumbnail"},z=r`:host{position:relative;margin:1rem;box-sizing:border-box;display:flex;flex-direction:row;border-width:1px;border-style:solid;border-color:var(--calcite-color-border-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-color-text-2)}:host *{box-sizing:border-box}.container{inline-size:100%;padding:1rem}:host([closed]),:host([closed]) .container{display:none}:host([selected]) .container{margin:0;border-style:none;padding:0}.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{margin-block-end:.5rem}.header .heading{padding:0;font-size:var(--calcite-font-size-0);line-height:1.25rem;color:var(--calcite-color-text-1)}.container[hidden]{display:none}.content{display:flex}.info{padding-block:0px;padding-inline:1rem;inline-size:70%}.info--no-thumbnail{inline-size:100%;padding-inline:0px}::slotted(p){margin-block-start:0px}::slotted(a){outline-color:transparent;color:var(--calcite-color-brand)}::slotted(a: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))))}.image-frame{inline-size:25%}.image-frame img{max-inline-size:100%}::slotted(img){max-inline-size:100%}:host([hidden]){display:none}[hidden]{display:none}`,o=class extends c{constructor(){super(...arguments),this.hasThumbnail=!1,this.closeDisabled=!1,this.closed=!1,this.messages=p(),this.selected=!1,this.calciteTipDismiss=l({cancelable:!1})}static{this.properties={hasThumbnail:16,closeDisabled:7,closed:7,heading:1,headingLevel:11,messageOverrides:0,selected:7}}static{this.styles=z}async load(){g.deprecated("component",{name:"tip",removalVersion:4,suggested:["card","notice","panel","tile"]})}hideTip(){this.closed=!0,this.calciteTipDismiss.emit()}handleThumbnailSlotChange(n){this.hasThumbnail=m(n)}renderHeader(){let{heading:n,headingLevel:t,el:b}=this,s=b.closest("calcite-tip-manager")?.headingLevel,v=s?f(s+1):null,x=t||v;return n?i`<header class=${a(e.header)}>${u({class:e.heading,level:x,children:n})}</header>`:null}renderDismissButton(){let{closeDisabled:n,hideTip:t}=this;return n?null:i`<calcite-action class=${a(e.close)} .icon=${$.close} @click=${t} scale=l .text=${this.messages.close}></calcite-action>`}renderImageFrame(){return h("thumbnail",i`<div class=${a(e.imageFrame)} .hidden=${!this.hasThumbnail}><slot name=${T.thumbnail} @slotchange=${this.handleThumbnailSlotChange}></slot></div>`)}renderInfoNode(){return i`<div class=${a({[e.info]:!0,[e.infoNoThumbnail]:!this.hasThumbnail})}><slot></slot></div>`}renderContent(){return i`<div class=${a(e.content)}>${this.renderImageFrame()}${this.renderInfoNode()}</div>`}render(){return i`<article class=${a(e.container)}>${this.renderHeader()}${this.renderContent()}</article>${this.renderDismissButton()}`}};d("calcite-tip",o);export{o as Tip};
|