@arcgis/map-components 5.2.0-next.125 → 5.2.0-next.127
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/cdn/23HSSJKV.js +2 -0
- package/dist/cdn/{DDMND66A.js → 26MF7QKM.js} +1 -1
- package/dist/cdn/{4M472CAO.js → 2DB2WQZ2.js} +1 -1
- package/dist/cdn/{YPARUN26.js → 2K4IAUMP.js} +1 -1
- package/dist/cdn/{PE7FKM4Y.js → 2KVWP7C2.js} +1 -1
- package/dist/cdn/{FAOYV6UX.js → 2OJYLBNC.js} +1 -1
- package/dist/cdn/{3GJ5ZU2P.js → 2ZIKXQT2.js} +1 -1
- package/dist/cdn/3BUFS5YM.js +2 -0
- package/dist/cdn/{LQRBB54H.js → 3E2WFQLJ.js} +1 -1
- package/dist/cdn/{JFZDHIFY.js → 3FYZUJFR.js} +1 -1
- package/dist/cdn/{VBTTL5IO.js → 3HVJLNKZ.js} +1 -1
- package/dist/cdn/{PM2ZNRTW.js → 3N3WXEBV.js} +1 -1
- package/dist/cdn/{XBMO67RQ.js → 3PCBVCV5.js} +1 -1
- package/dist/cdn/{AEAPNMXM.js → 3SJHCSFU.js} +1 -1
- package/dist/cdn/3TPXSBZ2.js +2 -0
- package/dist/cdn/{NG2QZJEO.js → 3VQ5MXTS.js} +1 -1
- package/dist/cdn/45WHYU33.js +2 -0
- package/dist/cdn/4GBWZ6JK.js +2 -0
- package/dist/cdn/{ZSISB5M6.js → 4JEXOOCU.js} +1 -1
- package/dist/cdn/4NZEJ5EQ.js +2 -0
- package/dist/cdn/{EITQWPOD.js → 4Q5CHT35.js} +1 -1
- package/dist/cdn/{WTYAO7OQ.js → 4QP6ILUV.js} +1 -1
- package/dist/cdn/{QCQHFZNJ.js → 5ARWD7RU.js} +1 -1
- package/dist/cdn/{5D6MVSNC.js → 5BQMWW5Q.js} +1 -1
- package/dist/cdn/{2TKV72AS.js → 5MY72QW3.js} +1 -1
- package/dist/cdn/{G6XGWHOU.js → 5Q2HHIWU.js} +1 -1
- package/dist/cdn/{TQMJ6PQF.js → 5TZGXGC2.js} +1 -1
- package/dist/cdn/{5ELKTESG.js → 5X5STRNV.js} +1 -1
- package/dist/cdn/6KU3XBCB.js +2 -0
- package/dist/cdn/6WVMBRDZ.js +2 -0
- package/dist/cdn/{IZH2VVII.js → 77D3OZDV.js} +1 -1
- package/dist/cdn/77ULNULN.js +2 -0
- package/dist/cdn/{BUHX56TS.js → 7CO5HNJZ.js} +1 -1
- package/dist/cdn/{J272CPYG.js → 7JCDDJEO.js} +1 -1
- package/dist/cdn/7REHGHYL.js +2 -0
- package/dist/cdn/{WDGUD3AW.js → 7V3LUKTZ.js} +1 -1
- package/dist/cdn/{JVBTLEYY.js → 7XKNWVD4.js} +1 -1
- package/dist/cdn/{4QD7Q5RL.js → A76WBNBW.js} +1 -1
- package/dist/cdn/{XFXGNOUK.js → ABCAVCJS.js} +1 -1
- package/dist/cdn/{BLV3FC2L.js → AE33MJQH.js} +1 -1
- package/dist/cdn/{P2T7TMD7.js → AFUNYL57.js} +1 -1
- package/dist/cdn/{CDHRGVNI.js → AJFAPBMM.js} +1 -1
- package/dist/cdn/{LXPKUWCG.js → AMWU2257.js} +1 -1
- package/dist/cdn/{XB5WB5TW.js → ANBUBGMA.js} +1 -1
- package/dist/cdn/{SSJRVJ4B.js → AQTSDDVK.js} +1 -1
- package/dist/cdn/{PO5XZ4VC.js → ATRMFLKS.js} +1 -1
- package/dist/cdn/{IRTMUSJ5.js → BO6UZ45F.js} +1 -1
- package/dist/cdn/{H4UAU7VY.js → BOGLYQ5O.js} +1 -1
- package/dist/cdn/{ICYRLAW6.js → BOX3BB5W.js} +1 -1
- package/dist/cdn/{I7ESTJQK.js → BTAWFZYA.js} +1 -1
- package/dist/cdn/{VYL2WRAH.js → BTC4LBE2.js} +1 -1
- package/dist/cdn/{VCTUZXOT.js → BTHXY33A.js} +1 -1
- package/dist/cdn/{FIKOSKHE.js → BUKAHDDH.js} +1 -1
- package/dist/cdn/{VUFQZZUS.js → BVFW23P2.js} +1 -1
- package/dist/cdn/BVIAOB5O.js +2 -0
- package/dist/cdn/{U7A72ZYI.js → BWWWPF3D.js} +1 -1
- package/dist/cdn/CG5EOZ5E.js +2 -0
- package/dist/cdn/{63FA46BR.js → D2ILHVVB.js} +1 -1
- package/dist/cdn/{TM4YVKG6.js → D2TVY2FV.js} +1 -1
- package/dist/cdn/{TBBD3K7K.js → D7FCBWGA.js} +1 -1
- package/dist/cdn/{TBVQDBHB.js → DM7LIJDU.js} +1 -1
- package/dist/cdn/{LNZXSHWQ.js → E23I3LNK.js} +1 -1
- package/dist/cdn/{NML7LK6C.js → E6WLDHQE.js} +1 -1
- package/dist/cdn/{7INLGELH.js → EDJYAXEB.js} +1 -1
- package/dist/cdn/{MEWTGMFY.js → EEWGG5MJ.js} +1 -1
- package/dist/cdn/EFTRT3PC.js +2 -0
- package/dist/cdn/{3MQXFKC2.js → EHCQ6UAZ.js} +1 -1
- package/dist/cdn/{UV43LA4E.js → EHN5OCRK.js} +1 -1
- package/dist/cdn/{RWLJF4S5.js → EIZNZKHN.js} +1 -1
- package/dist/cdn/EKRYB356.js +2 -0
- package/dist/cdn/{LWZKP5AT.js → EOG6YHUA.js} +1 -1
- package/dist/cdn/EOVJXYU2.js +2 -0
- package/dist/cdn/EPSTVLDH.js +2 -0
- package/dist/cdn/{6RYFNL57.js → ESLHUFYQ.js} +1 -1
- package/dist/cdn/{LVQNIROC.js → EVB3QOJS.js} +1 -1
- package/dist/cdn/{72VMDAFS.js → EVN3T57B.js} +1 -1
- package/dist/cdn/{HTYR6B7T.js → EWX4XQBI.js} +1 -1
- package/dist/cdn/{XIUOCWDO.js → EZMCUVKV.js} +1 -1
- package/dist/cdn/{C7UXNJ5I.js → F6WCDCVZ.js} +1 -1
- package/dist/cdn/{LRHP4H7N.js → F7KDBJ53.js} +1 -1
- package/dist/cdn/{FSX775VS.js → FCWHIX6Q.js} +1 -1
- package/dist/cdn/{2CHRFLK4.js → FLFOMU5V.js} +1 -1
- package/dist/cdn/FX2T6AOI.js +2 -0
- package/dist/cdn/GDHBKT7X.js +2 -0
- package/dist/cdn/{YZVGMCOM.js → GE5OI5A7.js} +1 -1
- package/dist/cdn/{44LLPVTI.js → GE74I75T.js} +1 -1
- package/dist/cdn/{REP2Y3FL.js → GKXR454H.js} +1 -1
- package/dist/cdn/{LPO2FQ5N.js → GLRUAFW4.js} +1 -1
- package/dist/cdn/GOQX6N76.js +2 -0
- package/dist/cdn/{UQS6LSO5.js → GXVJ5XIS.js} +1 -1
- package/dist/cdn/{G7APUHRE.js → GXXJVFXO.js} +1 -1
- package/dist/cdn/{2LHQ525N.js → H5IDCIGU.js} +1 -1
- package/dist/cdn/HFM5NPZZ.js +2 -0
- package/dist/cdn/{NWEM5AZ6.js → HGGXNI56.js} +1 -1
- package/dist/cdn/HVOH2A6M.js +2 -0
- package/dist/cdn/HZWFDJFV.js +2 -0
- package/dist/cdn/I2BIPOZQ.js +4 -0
- package/dist/cdn/{DQZCUGYA.js → ICBWYP63.js} +1 -1
- package/dist/cdn/{LCWLE76U.js → IFPX2SVE.js} +1 -1
- package/dist/cdn/{36EM3NTZ.js → IHTRKYAF.js} +1 -1
- package/dist/cdn/IIFPXXLV.js +2 -0
- package/dist/cdn/{Y7N4OQQO.js → IL5HIKPU.js} +1 -1
- package/dist/cdn/IPAUI5MK.js +2 -0
- package/dist/cdn/IPFOE73J.js +2 -0
- package/dist/cdn/{42KEDKJA.js → IPGN7TJM.js} +1 -1
- package/dist/cdn/{FD7GEMDU.js → IQOYWZKB.js} +1 -1
- package/dist/cdn/IROZR6HA.js +2 -0
- package/dist/cdn/{56EBWQ2X.js → IYHXTJJV.js} +1 -1
- package/dist/cdn/{O7CUBBAI.js → IZBEIVBQ.js} +1 -1
- package/dist/cdn/{PMFWQLEU.js → JALZMYVE.js} +1 -1
- package/dist/cdn/{KVTZQ34H.js → JBRKK3VF.js} +1 -1
- package/dist/cdn/{ODAZZCP2.js → JBXXHEEI.js} +1 -1
- package/dist/cdn/JE6NC2E6.js +2 -0
- package/dist/cdn/{IGROXELE.js → JEOUMVSL.js} +1 -1
- package/dist/cdn/JF4LCL3J.js +2 -0
- package/dist/cdn/{C4N4FQFP.js → JFA3BQNT.js} +1 -1
- package/dist/cdn/{XD4O4M7R.js → JMZCAMJX.js} +1 -1
- package/dist/cdn/{DQIMHFDG.js → JNQEJQFS.js} +1 -1
- package/dist/cdn/{4SB4TP3X.js → JQ3R3XMY.js} +1 -1
- package/dist/cdn/{K2H5FBFZ.js → K2WDAQU5.js} +1 -1
- package/dist/cdn/{HIFQHVGL.js → KKLGABRK.js} +1 -1
- package/dist/cdn/KM5NXHAK.js +2 -0
- package/dist/cdn/{P4ZKTLC3.js → KNVCQJ7O.js} +1 -1
- package/dist/cdn/{ZCI2M6MA.js → KS2KPSVW.js} +1 -1
- package/dist/cdn/KUFCT3WP.js +2 -0
- package/dist/cdn/{2B5ENAVA.js → KVEB7KH4.js} +1 -1
- package/dist/cdn/{MBUHYX5N.js → KYJLH5NA.js} +1 -1
- package/dist/cdn/{O5MUETR5.js → L7OO7DJU.js} +1 -1
- package/dist/cdn/{VV5F3KJG.js → L7P3VGFU.js} +1 -1
- package/dist/cdn/{LQCTYUNV.js → LGVPQ23I.js} +1 -1
- package/dist/cdn/{KENAA6EX.js → LK3YGRVI.js} +1 -1
- package/dist/cdn/LOYVJTVI.js +2 -0
- package/dist/cdn/{ZW2LETAA.js → LP74HAQI.js} +1 -1
- package/dist/cdn/{TDPA4AAV.js → LSVNXTPW.js} +1 -1
- package/dist/cdn/{WEBLSYMP.js → LT7UCTKO.js} +1 -1
- package/dist/cdn/{HMYR7BQD.js → ML3CEDNN.js} +1 -1
- package/dist/cdn/{5NKLQGFI.js → MQIR4CZ4.js} +1 -1
- package/dist/cdn/{EA6BYP6T.js → MRFX6GG4.js} +1 -1
- package/dist/cdn/{2Z4QCH6U.js → MVYTDX7B.js} +1 -1
- package/dist/cdn/{Q63KXTZF.js → NB4UV3WZ.js} +1 -1
- package/dist/cdn/{HE3GFH3Y.js → NBELHVZV.js} +1 -1
- package/dist/cdn/{DDWWAWOY.js → NCCYPWND.js} +1 -1
- package/dist/cdn/{UPVXM4VW.js → NDX25YWH.js} +1 -1
- package/dist/cdn/{3XCESEFU.js → NIPK7YYJ.js} +1 -1
- package/dist/cdn/{IRKGDPQT.js → NOCI7PVC.js} +1 -1
- package/dist/cdn/{CTWITXBV.js → NOKB7FXX.js} +1 -1
- package/dist/cdn/{2LUBBAJK.js → NS22DZHN.js} +1 -1
- package/dist/cdn/{PB3LAPN6.js → O3V63YCY.js} +1 -1
- package/dist/cdn/O44K3BST.js +2 -0
- package/dist/cdn/{3OB36MB3.js → O6Q5GNQ5.js} +1 -1
- package/dist/cdn/{TDNKW7DO.js → OIXG64HP.js} +1 -1
- package/dist/cdn/{BUQUHDCE.js → OOGJQ5G4.js} +1 -1
- package/dist/cdn/{UAK6BANU.js → ORUBXAAU.js} +1 -1
- package/dist/cdn/{JULO3D2H.js → PIMY2US4.js} +1 -1
- package/dist/cdn/{EA66TPSM.js → PJI2EVW4.js} +1 -1
- package/dist/cdn/PME66FRM.js +2 -0
- package/dist/cdn/PRNUVGMO.js +2 -0
- package/dist/cdn/{DKYYSLNK.js → PSTY67SN.js} +1 -1
- package/dist/cdn/{N2NR2FG5.js → PV3L726K.js} +1 -1
- package/dist/cdn/PVNF2Z2E.js +2 -0
- package/dist/cdn/{7MACTSPL.js → PWHBULWL.js} +1 -1
- package/dist/cdn/{V3GNUYUT.js → QAKYDAE3.js} +1 -1
- package/dist/cdn/{UQND4HWF.js → QDSTQOU2.js} +1 -1
- package/dist/cdn/QERRLNHI.js +2 -0
- package/dist/cdn/{AMCLAGVN.js → QGB7AGII.js} +1 -1
- package/dist/cdn/QHGEM66H.js +2 -0
- package/dist/cdn/QIMQEVTV.js +2 -0
- package/dist/cdn/{HJ4HFO7D.js → QKHSI35C.js} +1 -1
- package/dist/cdn/{DGHSJCA2.js → QRXQ5LVY.js} +1 -1
- package/dist/cdn/{SVEKICHA.js → QZ5LJH35.js} +1 -1
- package/dist/cdn/RA5SRNJJ.js +2 -0
- package/dist/cdn/RFL4MCSE.js +2 -0
- package/dist/cdn/{WJ7JJP72.js → RGYBVXLH.js} +1 -1
- package/dist/cdn/{AM4FJ6LD.js → RH5K6YB3.js} +1 -1
- package/dist/cdn/{LDNEFZBQ.js → RL5WBJH2.js} +1 -1
- package/dist/cdn/{ISCYIJ46.js → RM34SONU.js} +1 -1
- package/dist/cdn/{PGQZ2K6F.js → RW4H2SVK.js} +1 -1
- package/dist/cdn/{NIE5PNXD.js → S7G7JDQC.js} +1 -1
- package/dist/cdn/{MF236WBI.js → SIHH6LT5.js} +1 -1
- package/dist/cdn/{W656SZ7U.js → SMNGRZOR.js} +1 -1
- package/dist/cdn/SNX6IENY.js +2 -0
- package/dist/cdn/{4FPCGK34.js → SSNCB7LI.js} +1 -1
- package/dist/cdn/{4C233AOO.js → STVCYQD6.js} +1 -1
- package/dist/cdn/SZ6IV47J.js +2 -0
- package/dist/cdn/{OVMBMFG3.js → SZYG5GVN.js} +1 -1
- package/dist/cdn/{W6MSEHSY.js → T2JQCREB.js} +1 -1
- package/dist/cdn/{HEJ5UVJZ.js → TAZZC5OO.js} +1 -1
- package/dist/cdn/{AAWDYBYK.js → TL6AWIIE.js} +1 -1
- package/dist/cdn/{HB4DZC74.js → TO2AHJ2D.js} +1 -1
- package/dist/cdn/TP5CAC5F.js +2 -0
- package/dist/cdn/{ZPZFZGBT.js → TRKMGYRA.js} +1 -1
- package/dist/cdn/{RR3TUS2D.js → TSCXUJ3H.js} +1 -1
- package/dist/cdn/{NWENDZZY.js → TT6LZYXE.js} +1 -1
- package/dist/cdn/{6J5QXNJX.js → TXYWZMGM.js} +1 -1
- package/dist/cdn/{5CEWGYZX.js → TYE57RYK.js} +1 -1
- package/dist/cdn/{ZYPMEZDF.js → U2K2GM2A.js} +1 -1
- package/dist/cdn/{N7AFJJVW.js → U2XEJHYW.js} +1 -1
- package/dist/cdn/{APKAK7WN.js → U4A4FLPH.js} +1 -1
- package/dist/cdn/{AEE3ITTX.js → UCX6CLDZ.js} +1 -1
- package/dist/cdn/UIWQMNVA.js +2 -0
- package/dist/cdn/{Y5QZ3L7W.js → UP52QGP6.js} +1 -1
- package/dist/cdn/{3VBXXNTN.js → URWPOPI7.js} +1 -1
- package/dist/cdn/UWHSAI3L.js +2 -0
- package/dist/cdn/{RI4CMB5D.js → UXPYCE3L.js} +1 -1
- package/dist/cdn/{OJBUMUSV.js → UYY3HJ3C.js} +1 -1
- package/dist/cdn/V7FCORTC.js +2 -0
- package/dist/cdn/{5EE4D5NU.js → VBC4PE53.js} +1 -1
- package/dist/cdn/VFHKHLM6.js +2 -0
- package/dist/cdn/VGHKU6QN.js +2 -0
- package/dist/cdn/{6IKFGCI7.js → VKURE3J2.js} +1 -1
- package/dist/cdn/{RY2V62OL.js → VOFY2VSJ.js} +1 -1
- package/dist/cdn/VZ5UIYRZ.js +2 -0
- package/dist/cdn/{Y53XVNMM.js → W4CJTN6T.js} +1 -1
- package/dist/cdn/{DCF5NPMS.js → WINEAW5E.js} +1 -1
- package/dist/cdn/{6OYFC4VZ.js → WIVG25HH.js} +1 -1
- package/dist/cdn/WMARZKLI.js +2 -0
- package/dist/cdn/{25LV3KCP.js → WT5SGWE4.js} +1 -1
- package/dist/cdn/{QKLKHDU7.js → X5EYPVUR.js} +1 -1
- package/dist/cdn/XADV6ULF.js +2 -0
- package/dist/cdn/{OFFTNNCA.js → XJJQGFWN.js} +1 -1
- package/dist/cdn/{K6TPVS6T.js → XO3BXDJB.js} +1 -1
- package/dist/cdn/{OCGCWC3P.js → XUSJST2P.js} +1 -1
- package/dist/cdn/{44NU63UA.js → XW2MWO3R.js} +1 -1
- package/dist/cdn/{DYDFKP44.js → Y3SFKTBJ.js} +1 -1
- package/dist/cdn/{EHXNLGTZ.js → Y4AWD5AV.js} +1 -1
- package/dist/cdn/{YJOQGUU3.js → Y7LCZTZN.js} +1 -1
- package/dist/cdn/{BMRMUP5N.js → YB3JVI5U.js} +1 -1
- package/dist/cdn/{MRVGFB7R.js → YECX3B43.js} +1 -1
- package/dist/cdn/{ZLSKMKZJ.js → YMRXKAOB.js} +1 -1
- package/dist/cdn/{KHWWBO2D.js → YNPZGFD5.js} +1 -1
- package/dist/cdn/{P4OEIRUK.js → YPW4CF4Y.js} +1 -1
- package/dist/cdn/YQKMTVF7.js +2 -0
- package/dist/cdn/YSWNUR6Q.js +2 -0
- package/dist/cdn/{UAVFDEON.js → YTCVSC5P.js} +1 -1
- package/dist/cdn/{GLGQUUCZ.js → YXAD73CE.js} +1 -1
- package/dist/cdn/{OLZBK6DV.js → YYKHJHRL.js} +1 -1
- package/dist/cdn/{NJ5RRMLJ.js → Z2NU3RGI.js} +1 -1
- package/dist/cdn/{R7GRZX4T.js → Z37YCCSM.js} +1 -1
- package/dist/cdn/{E6Q5SBWB.js → Z5BFIWLI.js} +1 -1
- package/dist/cdn/ZGH76U52.js +2 -0
- package/dist/cdn/{LSWPK2J3.js → ZNFXHSNB.js} +1 -1
- package/dist/cdn/{A6JSTNH5.js → ZVIW6QGG.js} +1 -1
- package/dist/cdn/{MBANEOYT.js → ZYFORDEE.js} +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/features-next/t9n/messages.ar.json +1 -1
- package/dist/cdn/assets/features-next/t9n/messages.bg.json +1 -1
- package/dist/cdn/assets/features-next/t9n/messages.bs.json +1 -1
- package/dist/cdn/assets/features-next/t9n/messages.ca.json +1 -1
- package/dist/cdn/assets/features-next/t9n/messages.cs.json +1 -1
- package/dist/cdn/assets/features-next/t9n/messages.da.json +1 -1
- package/dist/cdn/assets/features-next/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/features-next/t9n/messages.el.json +1 -1
- package/dist/cdn/assets/features-next/t9n/messages.es.json +1 -1
- package/dist/cdn/assets/features-next/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/features-next/t9n/messages.fi.json +1 -1
- package/dist/cdn/assets/features-next/t9n/messages.fr.json +1 -1
- package/dist/cdn/assets/features-next/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/features-next/t9n/messages.hr.json +1 -1
- package/dist/cdn/assets/features-next/t9n/messages.hu.json +1 -1
- package/dist/cdn/assets/features-next/t9n/messages.id.json +1 -1
- package/dist/cdn/assets/features-next/t9n/messages.it.json +1 -1
- package/dist/cdn/assets/features-next/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/features-next/t9n/messages.ko.json +1 -1
- package/dist/cdn/assets/features-next/t9n/messages.lt.json +1 -1
- package/dist/cdn/assets/features-next/t9n/messages.lv.json +1 -1
- package/dist/cdn/assets/features-next/t9n/messages.nl.json +1 -1
- package/dist/cdn/assets/features-next/t9n/messages.no.json +1 -1
- package/dist/cdn/assets/features-next/t9n/messages.pl.json +1 -1
- package/dist/cdn/assets/features-next/t9n/messages.pt-BR.json +1 -1
- package/dist/cdn/assets/features-next/t9n/messages.pt-PT.json +1 -1
- package/dist/cdn/assets/features-next/t9n/messages.ro.json +1 -1
- package/dist/cdn/assets/features-next/t9n/messages.ru.json +1 -1
- package/dist/cdn/assets/features-next/t9n/messages.sk.json +1 -1
- package/dist/cdn/assets/features-next/t9n/messages.sl.json +1 -1
- package/dist/cdn/assets/features-next/t9n/messages.sr.json +1 -1
- package/dist/cdn/assets/features-next/t9n/messages.sv.json +1 -1
- package/dist/cdn/assets/features-next/t9n/messages.th.json +1 -1
- package/dist/cdn/assets/features-next/t9n/messages.tr.json +1 -1
- package/dist/cdn/assets/features-next/t9n/messages.uk.json +1 -1
- package/dist/cdn/assets/features-next/t9n/messages.vi.json +1 -1
- package/dist/cdn/assets/features-next/t9n/messages.zh-CN.json +1 -1
- package/dist/cdn/assets/features-next/t9n/messages.zh-HK.json +1 -1
- package/dist/cdn/assets/features-next/t9n/messages.zh-TW.json +1 -1
- package/dist/cdn/assets/time-bar/t9n/messages.en.json +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/cdn/main.css +1 -1
- package/dist/chunks/esri-main.js +1 -1
- package/dist/chunks/formattingUtils.js +19 -0
- package/dist/chunks/slots.js +1 -1
- package/dist/chunks/useArcgisViewReadyError.js +214 -0
- package/dist/components/arcgis-add-attachment-view/customElement.d.ts +116 -0
- package/dist/components/arcgis-add-attachment-view/customElement.js +43 -0
- package/dist/components/arcgis-add-attachment-view/index.d.ts +1 -0
- package/dist/components/arcgis-add-attachment-view/index.js +6 -0
- package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +6 -0
- package/dist/components/arcgis-attachment-validation-view/customElement.d.ts +48 -27
- package/dist/components/arcgis-attachment-validation-view/customElement.js +36 -46
- package/dist/components/arcgis-basemap-toggle/BasemapToggleViewModel.d.ts +25 -0
- package/dist/components/arcgis-basemap-toggle/customElement.d.ts +3 -3
- package/dist/components/arcgis-basemap-toggle/customElement.js +124 -30
- package/dist/components/arcgis-building-discipline-tree/customElement.js +57 -57
- package/dist/components/arcgis-building-explorer/customElement.d.ts +16 -0
- package/dist/components/arcgis-building-explorer/customElement.js +11 -11
- package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +6 -0
- package/dist/components/arcgis-exploratory-analysis/customElement.js +1 -1
- package/dist/components/arcgis-feature-form-field/customElement.d.ts +48 -27
- package/dist/components/arcgis-feature-table/customElement.d.ts +22 -0
- package/dist/components/arcgis-feature-table/customElement.js +37 -29
- package/dist/components/arcgis-features-next/customElement.d.ts +2 -3
- package/dist/components/arcgis-features-next/customElement.js +92 -92
- package/dist/components/arcgis-file-picker/customElement.d.ts +1 -1
- package/dist/components/arcgis-line-of-sight/customElement.js +1 -1
- package/dist/components/arcgis-link-chart/customElement.d.ts +2 -0
- package/dist/components/arcgis-link-chart/customElement.js +12 -12
- package/dist/components/arcgis-map/customElement.d.ts +2 -0
- package/dist/components/arcgis-map/customElement.js +20 -20
- package/dist/components/arcgis-measurement-content/customElement.js +6 -6
- package/dist/components/arcgis-popup/customElement.d.ts +23 -27
- package/dist/components/arcgis-popup/customElement.js +8 -8
- package/dist/components/arcgis-popup/types.d.ts +15 -6
- package/dist/components/arcgis-presentation/customElement.js +1 -1
- package/dist/components/arcgis-scene/customElement.d.ts +2 -0
- package/dist/components/arcgis-scene/customElement.js +21 -21
- package/dist/components/arcgis-slice/customElement.js +22 -22
- package/dist/components/arcgis-slider-scale-range/customElement.js +1 -1
- package/dist/components/arcgis-spinner/customElement.js +20 -20
- package/dist/components/arcgis-time-bar/customElement.d.ts +12 -0
- package/dist/components/arcgis-time-bar/customElement.js +9 -9
- package/dist/components/arcgis-time-bar-date/customElement.js +6 -8
- package/dist/components/arcgis-time-bar-extent/customElement.js +15 -13
- package/dist/components/arcgis-time-bar-settings/customElement.js +117 -105
- package/dist/components/arcgis-time-bar-slider/customElement.d.ts +4 -0
- package/dist/components/arcgis-time-bar-slider/customElement.js +50 -50
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-validate-network-topology/customElement.js +1 -1
- package/dist/components/arcgis-version-management/customElement.js +37 -37
- package/dist/components/arcgis-volume-measurement/customElement.js +1 -1
- package/dist/controllers/uiController.d.ts +8 -0
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/vscode.css-custom-data.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/index.d.ts +10 -0
- package/dist/loader.js +6 -5
- package/dist/types/lumina.d.ts +9 -3
- package/dist/types/preact.d.ts +10 -3
- package/dist/types/react.d.ts +11 -3
- package/dist/types/stencil.d.ts +9 -3
- package/package.json +6 -6
- package/dist/cdn/2RGTCUK2.js +0 -2
- package/dist/cdn/2ZJLXDK6.js +0 -2
- package/dist/cdn/3FS6K67C.js +0 -2
- package/dist/cdn/3IWADUPH.js +0 -2
- package/dist/cdn/3RTZFOIB.js +0 -2
- package/dist/cdn/4JLRRQSP.js +0 -2
- package/dist/cdn/5NF3EDT4.js +0 -2
- package/dist/cdn/5UFMDCCR.js +0 -2
- package/dist/cdn/73THNCDA.js +0 -2
- package/dist/cdn/73WLPDL3.js +0 -2
- package/dist/cdn/7AYPQVX6.js +0 -2
- package/dist/cdn/AFRAHGIQ.js +0 -2
- package/dist/cdn/B5JTT6EG.js +0 -2
- package/dist/cdn/BIH6F2CW.js +0 -2
- package/dist/cdn/BYIK3JAT.js +0 -2
- package/dist/cdn/BYZS3H4S.js +0 -2
- package/dist/cdn/CG6XJ6N3.js +0 -2
- package/dist/cdn/CIVENBYG.js +0 -2
- package/dist/cdn/EL2BQ6LY.js +0 -2
- package/dist/cdn/EZUPM4AL.js +0 -2
- package/dist/cdn/F4JJJCUL.js +0 -2
- package/dist/cdn/FJDRDYFD.js +0 -2
- package/dist/cdn/GJLGRECD.js +0 -2
- package/dist/cdn/GU4VFJE5.js +0 -2
- package/dist/cdn/H524VRJK.js +0 -2
- package/dist/cdn/HXRWRNXL.js +0 -2
- package/dist/cdn/IOSDZQ4I.js +0 -2
- package/dist/cdn/J3EEBCEJ.js +0 -2
- package/dist/cdn/JSI4XVCM.js +0 -2
- package/dist/cdn/JWINHP35.js +0 -2
- package/dist/cdn/LDSWU43M.js +0 -2
- package/dist/cdn/LENLLEZE.js +0 -2
- package/dist/cdn/LFTP2KFZ.js +0 -2
- package/dist/cdn/MNS5VY6U.js +0 -4
- package/dist/cdn/NO77DEL2.js +0 -2
- package/dist/cdn/NYXY6QWR.js +0 -2
- package/dist/cdn/O5FA44PS.js +0 -2
- package/dist/cdn/OAGAKIW2.js +0 -2
- package/dist/cdn/OIYSCYT3.js +0 -2
- package/dist/cdn/OPFQOLLP.js +0 -2
- package/dist/cdn/PGQ4RVAW.js +0 -2
- package/dist/cdn/QSKIX6RM.js +0 -2
- package/dist/cdn/S5UJIOCL.js +0 -2
- package/dist/cdn/SGWDQIQ6.js +0 -2
- package/dist/cdn/SHX7I64J.js +0 -2
- package/dist/cdn/T2NYS5QU.js +0 -2
- package/dist/cdn/TM4MANUR.js +0 -2
- package/dist/cdn/TQXBEQIV.js +0 -2
- package/dist/cdn/UTCTJCII.js +0 -2
- package/dist/cdn/VGAHWEBP.js +0 -2
- package/dist/cdn/XVGFEWIA.js +0 -2
- package/dist/cdn/XZ7CRL7A.js +0 -2
- package/dist/cdn/Z24KU6OH.js +0 -2
- package/dist/cdn/ZPMJES3R.js +0 -2
- package/dist/chunks/messages.en.js +0 -46
- package/dist/chunks/selectionOverlayPopupController.js +0 -207
- /package/dist/cdn/{PR6OAZWA.js → MIGBO54V.js} +0 -0
|
@@ -5,7 +5,7 @@ import type { ArcgisReferenceElement } from "../types.js";
|
|
|
5
5
|
import type { BasemapProperties } from "@arcgis/core/Basemap.js";
|
|
6
6
|
import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
7
7
|
import type { MapViewOrSceneView } from "@arcgis/core/views/MapViewOrSceneView.js";
|
|
8
|
-
import type { BasemapToggleViewModelState } from "
|
|
8
|
+
import type { BasemapToggleViewModelState } from "./BasemapToggleViewModel.js";
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
11
|
* The Basemap Toggle component allows an end-user to switch between two basemaps.
|
|
@@ -19,7 +19,7 @@ import type { BasemapToggleViewModelState } from "@arcgis/core/widgets/BasemapTo
|
|
|
19
19
|
*/
|
|
20
20
|
export abstract class ArcgisBasemapToggle extends LitElement {
|
|
21
21
|
/** The map's current [basemap](https://developers.arcgis.com/javascript/latest/references/core/Map/#basemap). */
|
|
22
|
-
get activeBasemap():
|
|
22
|
+
get activeBasemap(): null | undefined | Basemap;
|
|
23
23
|
/**
|
|
24
24
|
* If true, the component will not be destroyed automatically when it is
|
|
25
25
|
* disconnected from the document. This is useful when you want to move the
|
|
@@ -93,7 +93,7 @@ export abstract class ArcgisBasemapToggle extends LitElement {
|
|
|
93
93
|
* The view associated with the component.
|
|
94
94
|
* > **Note:** The recommended approach is to fully migrate applications to use map and scene components and avoid using MapView and SceneView directly. However, if you are migrating a large application from widgets to components, you might prefer a more gradual transition. To support this use case, the SDK includes this `view` property which connects a component to a MapView or SceneView. Ultimately, once migration is complete, the arcgis-basemap-toggle component will be associated with a map or scene component rather than using the `view` property.
|
|
95
95
|
*/
|
|
96
|
-
accessor view: MapViewOrSceneView |
|
|
96
|
+
accessor view: MapViewOrSceneView | undefined;
|
|
97
97
|
/** Permanently destroy the component. */
|
|
98
98
|
destroy(): Promise<void>;
|
|
99
99
|
/** Toggles to the [nextBasemap](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-basemap-toggle/#nextBasemap). */
|
|
@@ -1,26 +1,120 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import { c as
|
|
3
|
-
import { css as
|
|
4
|
-
import { usePropertyChange as
|
|
5
|
-
import { classes as
|
|
6
|
-
import { watch as
|
|
7
|
-
import { getBasemapThumbnailUrl as
|
|
8
|
-
import
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
const C = x`.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__heading{word-break:break-word}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-hidden{display:none!important}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}.root{box-shadow:none;background-color:var(--calcite-color-transparent)}.root calcite-button{flex-direction:row;justify-content:center;align-items:center;width:69px;height:69px;display:flex;position:relative;overflow:visible}.container,.image{width:64px;height:64px;position:absolute;top:0;left:0;overflow:hidden}.container{box-shadow:0 1px 2px #0000004d}.image{background-color:var(--calcite-color-foreground-1);background-image:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2064%2064'%3e%3cpath%20fill='%236E6E6E'%20d='M16%2016v32h32V16H16zm17.028%2011.947l.022.106c.175.863.272%201.67-.46%202.066-.52.28-.792.764-1.014%201.155-.28.497-.414.684-.715.684-.158%200-.283-.085-.486-.24-.25-.192-.558-.426-1.03-.426-.692%200-1.255.606-1.255%201.35%200%20.475-.422%201.353-1.022%201.353-.49%200-.652-.172-.763-.37-.296-.53-.665-1.193-1.51-1.193-.85%200-1.542.735-1.542%201.635%200%20.286.06.508.11.702.044.165.083.31.083.478%200%20.244-.102.428-.23.666-.152.278-.34.62-.34%201.09%200%20.613.563%201.113%201.255%201.113.393%200%20.654-.104.865-.186.195-.078.332-.125.56-.103.103.01.21.3.21.5%200%20.323-.274.598-.59.914-.514.512-1.22%201.212-.638%202.368.22.444.758.57%201.277.69.24.057.416.095.56.132%200%200%20.254.34.318.536a.616.616%200%2000.013.23.92.92%200%2001-.17.506c-.253.382-.548.597-.862.825-.623.458-1.14.536-1.156%201.47H18V18h21.48c.03.578-.903%201.22-.903%201.22l-.98.58c-1.054.672-2.254%201.703-2.254%202.56%200%20.377.15.646.27.86.1.177.157.283.157.417%200%20.19-.126.316-.41.56-.25.215-.534.453-.663.84a1.27%201.27%200%2000-.064.4c0%20.138.03.307.063.488.028.153.09.472.042.547%200%200-.054.04-.258.04l-.174-.006c-.37%200-.75.303-.98.582-.172.206-.363.528-.298.86zM46%2046h-9.23c-.207-1.22-1.35-1.258-2.168-1.556-.288-.107-.585-.213-.858-.353-.354-.184-.35-.585-.296-.89%200%200%20.102-.303.09-.37l.003-.002c-.006-.036-.013-.067-.013-.11%200-.23.213-.34.7-.574.507-.25%201.2-.577%201.2-1.39%200-.293-.13-.488-.216-.62-.053-.08-.07-.11-.07-.132%200-.172.068-.286.332-.524.283-.253.628-.6.628-1.19v-.93c0-.092.27-.195.605-.03.165.078.41.188.715.188.672%200%201.04-.494%201.3-.853.24-.332.33-.516.565-.48.235.042.15.05.324.41.12.25.26.538.52.763.454.397.98.528%201.506.57a6.126%206.126%200%20001.996.005l.168-.027a4.14%204.14%200%2001.98-.067s.09.022.14.006c.39.044.717.177.98.458l.1.248c.003.005-.003.01%200%20.015V46z'/%3e%3cpath%20clip-rule='evenodd'%20fill='none'%20d='M16%2016h32v32H16z'/%3e%3cpath%20fill='none'%20d='M0%200h64v64H0z'/%3e%3c/svg%3e");background-position:50%;background-repeat:no-repeat;background-size:cover}.image-loading{background-image:unset;justify-content:center;align-items:center;display:flex}.image-secondary{margin-top:5px;margin-left:5px;animation:2s ease-in-out esri-basemap-slide;box-shadow:0 1px 2px #0000004d}.overlay-scrim{--calcite-scrim-background: #00000080;color:var(--calcite-color-text-inverse)}.overlay{background-color:var(--calcite-color-transparent);justify-content:center;align-items:flex-end;width:100%;height:100%;transition:background-color .125s ease-in-out;display:flex;position:absolute}.overlay .root:hover{background-color:var(--calcite-color-background)}.title{text-align:center;background-color:var(--calcite-color-transparent-tint);flex:1 0 100%;height:auto;padding:.5em;font-size:var(--calcite-font-size-xs);font-weight:var(--calcite-font-weight-medium);line-height:var(--calcite-font-line-height-relative-tight)}.title-wrap{text-wrap:wrap}`, j = E($);
|
|
15
|
-
|
|
2
|
+
import { c as R } from "../../chunks/runtime.js";
|
|
3
|
+
import { css as $, html as d } from "lit";
|
|
4
|
+
import { usePropertyChange as M } from "@arcgis/lumina/controllers";
|
|
5
|
+
import { classes as g } from "@arcgis/toolkit/dom";
|
|
6
|
+
import { watch as y, whenOnce as T } from "@arcgis/core/core/reactiveUtils.js";
|
|
7
|
+
import { getBasemapThumbnailUrl as k } from "@arcgis/core/applications/Components/basemapUtils.js";
|
|
8
|
+
import { LitElement as E, createEvent as j, nothing as m, safeClassMap as p, safeStyleMap as w } from "@arcgis/lumina";
|
|
9
|
+
import { u as L } from "../../chunks/useT9n.js";
|
|
10
|
+
import { m as P } from "../../chunks/useViewModel.js";
|
|
11
|
+
import { g as x } from "../../chunks/globalCss.js";
|
|
12
|
+
import { s as O } from "../../chunks/sr.js";
|
|
13
|
+
import { basemapEnsureType as u, findSpatialReference as C, isProjectionEngineLoaded as V, projectionEngineCanBeSkipped as D, loadProjectionEngine as A } from "@arcgis/core/applications/Components/basemapToggleUtils.js";
|
|
14
|
+
import H from "@arcgis/core/core/Accessor.js";
|
|
15
|
+
import { property as c, subclass as I } from "@arcgis/core/core/accessorSupport/decorators.js";
|
|
16
|
+
const q = $`.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__heading{word-break:break-word}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-hidden{display:none!important}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}.root{box-shadow:none;background-color:var(--calcite-color-transparent)}.root calcite-button{flex-direction:row;justify-content:center;align-items:center;width:69px;height:69px;display:flex;position:relative;overflow:visible}.container,.image{width:64px;height:64px;position:absolute;top:0;left:0;overflow:hidden}.container{box-shadow:0 1px 2px #0000004d}.image{background-color:var(--calcite-color-foreground-1);background-image:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2064%2064'%3e%3cpath%20fill='%236E6E6E'%20d='M16%2016v32h32V16H16zm17.028%2011.947l.022.106c.175.863.272%201.67-.46%202.066-.52.28-.792.764-1.014%201.155-.28.497-.414.684-.715.684-.158%200-.283-.085-.486-.24-.25-.192-.558-.426-1.03-.426-.692%200-1.255.606-1.255%201.35%200%20.475-.422%201.353-1.022%201.353-.49%200-.652-.172-.763-.37-.296-.53-.665-1.193-1.51-1.193-.85%200-1.542.735-1.542%201.635%200%20.286.06.508.11.702.044.165.083.31.083.478%200%20.244-.102.428-.23.666-.152.278-.34.62-.34%201.09%200%20.613.563%201.113%201.255%201.113.393%200%20.654-.104.865-.186.195-.078.332-.125.56-.103.103.01.21.3.21.5%200%20.323-.274.598-.59.914-.514.512-1.22%201.212-.638%202.368.22.444.758.57%201.277.69.24.057.416.095.56.132%200%200%20.254.34.318.536a.616.616%200%2000.013.23.92.92%200%2001-.17.506c-.253.382-.548.597-.862.825-.623.458-1.14.536-1.156%201.47H18V18h21.48c.03.578-.903%201.22-.903%201.22l-.98.58c-1.054.672-2.254%201.703-2.254%202.56%200%20.377.15.646.27.86.1.177.157.283.157.417%200%20.19-.126.316-.41.56-.25.215-.534.453-.663.84a1.27%201.27%200%2000-.064.4c0%20.138.03.307.063.488.028.153.09.472.042.547%200%200-.054.04-.258.04l-.174-.006c-.37%200-.75.303-.98.582-.172.206-.363.528-.298.86zM46%2046h-9.23c-.207-1.22-1.35-1.258-2.168-1.556-.288-.107-.585-.213-.858-.353-.354-.184-.35-.585-.296-.89%200%200%20.102-.303.09-.37l.003-.002c-.006-.036-.013-.067-.013-.11%200-.23.213-.34.7-.574.507-.25%201.2-.577%201.2-1.39%200-.293-.13-.488-.216-.62-.053-.08-.07-.11-.07-.132%200-.172.068-.286.332-.524.283-.253.628-.6.628-1.19v-.93c0-.092.27-.195.605-.03.165.078.41.188.715.188.672%200%201.04-.494%201.3-.853.24-.332.33-.516.565-.48.235.042.15.05.324.41.12.25.26.538.52.763.454.397.98.528%201.506.57a6.126%206.126%200%20001.996.005l.168-.027a4.14%204.14%200%2001.98-.067s.09.022.14.006c.39.044.717.177.98.458l.1.248c.003.005-.003.01%200%20.015V46z'/%3e%3cpath%20clip-rule='evenodd'%20fill='none'%20d='M16%2016h32v32H16z'/%3e%3cpath%20fill='none'%20d='M0%200h64v64H0z'/%3e%3c/svg%3e");background-position:50%;background-repeat:no-repeat;background-size:cover}.image-loading{background-image:unset;justify-content:center;align-items:center;display:flex}.image-secondary{margin-top:5px;margin-left:5px;animation:2s ease-in-out esri-basemap-slide;box-shadow:0 1px 2px #0000004d}.overlay-scrim{--calcite-scrim-background: #00000080;color:var(--calcite-color-text-inverse)}.overlay{background-color:var(--calcite-color-transparent);justify-content:center;align-items:flex-end;width:100%;height:100%;transition:background-color .125s ease-in-out;display:flex;position:absolute}.overlay .root:hover{background-color:var(--calcite-color-background)}.title{text-align:center;background-color:var(--calcite-color-transparent-tint);flex:1 0 100%;height:auto;padding:.5em;font-size:var(--calcite-font-size-xs);font-weight:var(--calcite-font-weight-medium);line-height:var(--calcite-font-line-height-relative-tight)}.title-wrap{text-wrap:wrap}`;
|
|
17
|
+
var U = Object.defineProperty, N = Object.getOwnPropertyDescriptor, l = (e, t, a, i) => {
|
|
18
|
+
for (var r = i > 1 ? void 0 : i ? N(t, a) : t, n = e.length - 1, o; n >= 0; n--)
|
|
19
|
+
(o = e[n]) && (r = (i ? o(t, a, r) : o(r)) || r);
|
|
20
|
+
return i && r && U(t, a, r), r;
|
|
21
|
+
};
|
|
22
|
+
let s = class extends H {
|
|
23
|
+
constructor(e) {
|
|
24
|
+
super(e), this._loadingProjectionEngine = !1, this.nextBasemap = u("hybrid");
|
|
25
|
+
}
|
|
26
|
+
initialize() {
|
|
27
|
+
y(
|
|
28
|
+
() => this.nextBasemap,
|
|
29
|
+
(e) => {
|
|
30
|
+
e && !e.loaded && e.load().catch(() => {
|
|
31
|
+
});
|
|
32
|
+
},
|
|
33
|
+
{ initial: !0 }
|
|
34
|
+
);
|
|
35
|
+
}
|
|
36
|
+
destroy() {
|
|
37
|
+
this.view = void 0;
|
|
38
|
+
}
|
|
39
|
+
get _nextBasemapSpatialReferenceTask() {
|
|
40
|
+
return C(this.view, this.nextBasemap);
|
|
41
|
+
}
|
|
42
|
+
get _viewSpatialReferenceLocked() {
|
|
43
|
+
const { view: e } = this;
|
|
44
|
+
return e && "spatialReferenceLocked" in e ? e.spatialReferenceLocked : !0;
|
|
45
|
+
}
|
|
46
|
+
get activeBasemap() {
|
|
47
|
+
return u(this.view?.map?.basemap ?? "topo-vector");
|
|
48
|
+
}
|
|
49
|
+
get nextBasemap() {
|
|
50
|
+
return this._get("nextBasemap");
|
|
51
|
+
}
|
|
52
|
+
set nextBasemap(e) {
|
|
53
|
+
this._set("nextBasemap", u(e));
|
|
54
|
+
}
|
|
55
|
+
get state() {
|
|
56
|
+
const { view: e } = this;
|
|
57
|
+
if (!e?.ready || this._nextBasemapSpatialReferenceTask.updating)
|
|
58
|
+
return "disabled";
|
|
59
|
+
const { spatialReference: t } = this._nextBasemapSpatialReferenceTask;
|
|
60
|
+
return this._viewSpatialReferenceLocked && t != null && !e.spatialReference.equals(t) ? "incompatible-next-basemap" : this._loadingProjectionEngine ? "loading" : "ready";
|
|
61
|
+
}
|
|
62
|
+
async toggle() {
|
|
63
|
+
const { activeBasemap: e, nextBasemap: t, state: a, view: i } = this;
|
|
64
|
+
if (!i || a === "disabled" || a === "incompatible-next-basemap")
|
|
65
|
+
return;
|
|
66
|
+
const r = this._viewSpatialReferenceLocked;
|
|
67
|
+
if (!r) {
|
|
68
|
+
if (await T(() => !this._nextBasemapSpatialReferenceTask.updating), t !== this.nextBasemap || e !== this.activeBasemap)
|
|
69
|
+
return;
|
|
70
|
+
const { spatialReference: o } = this._nextBasemapSpatialReferenceTask;
|
|
71
|
+
if (o != null && !i.spatialReference.equals(o) && !V() && !D(i.spatialReference, o) && (this._loadingProjectionEngine = !0, await A(), this._loadingProjectionEngine = !1), t !== this.nextBasemap || e !== this.activeBasemap)
|
|
72
|
+
return;
|
|
73
|
+
}
|
|
74
|
+
const { map: n } = i;
|
|
75
|
+
n && (n.basemap = t, !r && this._nextBasemapSpatialReferenceTask.spatialReference != null && !i.spatialReference.equals(this._nextBasemapSpatialReferenceTask.spatialReference) && (i.spatialReference = this._nextBasemapSpatialReferenceTask.spatialReference), this.nextBasemap = e);
|
|
76
|
+
}
|
|
77
|
+
static getThumbnailUrl(e) {
|
|
78
|
+
return k(e);
|
|
79
|
+
}
|
|
80
|
+
};
|
|
81
|
+
l([
|
|
82
|
+
c()
|
|
83
|
+
], s.prototype, "_loadingProjectionEngine", 2);
|
|
84
|
+
l([
|
|
85
|
+
c({ readOnly: !0 })
|
|
86
|
+
], s.prototype, "_nextBasemapSpatialReferenceTask", 1);
|
|
87
|
+
l([
|
|
88
|
+
c({ readOnly: !0 })
|
|
89
|
+
], s.prototype, "_viewSpatialReferenceLocked", 1);
|
|
90
|
+
l([
|
|
91
|
+
c({ readOnly: !0 })
|
|
92
|
+
], s.prototype, "activeBasemap", 1);
|
|
93
|
+
l([
|
|
94
|
+
c()
|
|
95
|
+
], s.prototype, "nextBasemap", 1);
|
|
96
|
+
l([
|
|
97
|
+
c({ readOnly: !0 })
|
|
98
|
+
], s.prototype, "state", 1);
|
|
99
|
+
l([
|
|
100
|
+
c()
|
|
101
|
+
], s.prototype, "view", 2);
|
|
102
|
+
l([
|
|
103
|
+
c()
|
|
104
|
+
], s.prototype, "toggle", 1);
|
|
105
|
+
s = l([
|
|
106
|
+
I("components.basemap-toggle.BasemapToggleViewModel")
|
|
107
|
+
], s);
|
|
108
|
+
const Z = P(s);
|
|
109
|
+
class F extends E {
|
|
16
110
|
constructor() {
|
|
17
|
-
super(...arguments), this.messages =
|
|
111
|
+
super(...arguments), this.messages = L(), this.viewModel = Z(this), this.view = this.viewModel.view, this.activeBasemap = this.viewModel.activeBasemap, this.autoDestroyDisabled = !1, this.icon = "layer-basemap", this.nextBasemap = this.viewModel.nextBasemap, this.showTitle = !1, this.state = this.viewModel.state, this.arcgisPropertyChange = M()("activeBasemap", "nextBasemap", "state"), this.arcgisReady = j();
|
|
18
112
|
}
|
|
19
113
|
static {
|
|
20
114
|
this.properties = { _basemapSelectedMessage: 16, view: 0, activeBasemap: 32, autoDestroyDisabled: 5, icon: 1, label: 1, messageOverrides: 0, nextBasemap: 1, referenceElement: 1, showTitle: 5, state: 32 };
|
|
21
115
|
}
|
|
22
116
|
static {
|
|
23
|
-
this.styles = [
|
|
117
|
+
this.styles = [q, O];
|
|
24
118
|
}
|
|
25
119
|
async destroy() {
|
|
26
120
|
await this.manager.destroy();
|
|
@@ -30,27 +124,27 @@ class V extends M {
|
|
|
30
124
|
}
|
|
31
125
|
loaded() {
|
|
32
126
|
this.manager.onLifecycle(() => [
|
|
33
|
-
|
|
34
|
-
!
|
|
127
|
+
y(() => this.activeBasemap?.title, (t, a) => {
|
|
128
|
+
!t || !a || (this._basemapSelectedMessage = t ? this.messages.basemapSelected?.replace("{activeBasemap.title}", t) : void 0);
|
|
35
129
|
})
|
|
36
130
|
]);
|
|
37
131
|
}
|
|
38
|
-
_getThumbnailStyles(
|
|
39
|
-
const
|
|
40
|
-
return
|
|
132
|
+
_getThumbnailStyles(t) {
|
|
133
|
+
const a = k(t);
|
|
134
|
+
return a ? { backgroundImage: `url(${a})` } : { backgroundImage: "" };
|
|
41
135
|
}
|
|
42
136
|
render() {
|
|
43
|
-
const
|
|
44
|
-
let
|
|
45
|
-
const
|
|
46
|
-
|
|
47
|
-
const
|
|
48
|
-
return
|
|
137
|
+
const t = this.viewModel, a = t.state === "disabled" ? null : t.activeBasemap, i = t.state === "disabled" ? null : t.nextBasemap, r = t.state === "loading", n = t.state === "incompatible-next-basemap", o = i?.title ?? "", f = i && i.loadStatus !== "loaded";
|
|
138
|
+
let v;
|
|
139
|
+
const b = this.showTitle && o, _ = n, B = b || _, z = this._getThumbnailStyles(a), S = this._getThumbnailStyles(i);
|
|
140
|
+
B && (v = d`<div class="overlay">${b ? d`<span class=${p(g("title", "title-wrap"))} title=${o ?? m}>${o}</span>` : null}${_ ? d`<calcite-scrim class="overlay-scrim" title=${this.messages.incompatibleSpatialReference ?? m}><calcite-icon icon=exclamation-mark-triangle></calcite-icon></calcite-scrim>` : null}</div>`);
|
|
141
|
+
const h = this.label ?? this.messages.componentLabel;
|
|
142
|
+
return d`<div class=${p(g("root", x.widget))}>${this._basemapSelectedMessage ? d`<div class="sr-only" aria-live=polite>${this._basemapSelectedMessage}</div>` : null}<calcite-button appearance=transparent data-basemap-id=${(i ? i.id : "") ?? m} .disabled=${n} kind=neutral .label=${h} @click=${() => {
|
|
49
143
|
this.toggle();
|
|
50
|
-
}} title=${
|
|
144
|
+
}} title=${h ?? m}><span class="sr-only">${h}</span><div class=${p(g("container", "image-secondary"))}><div class="image" style=${w(z)}></div></div><div class="container"><div class=${p(g("image", f ? "image-loading" : null))} style=${w(S)}>${f || r ? d`<calcite-scrim><span aria-hidden=true class=${p(x.loaderAnimation)} role=presentation></span></calcite-scrim>` : null}</div>${v}</div></calcite-button></div>`;
|
|
51
145
|
}
|
|
52
146
|
}
|
|
53
|
-
|
|
147
|
+
R("arcgis-basemap-toggle", F);
|
|
54
148
|
export {
|
|
55
|
-
|
|
149
|
+
F as ArcgisBasemapToggle
|
|
56
150
|
};
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
2
|
import { c as C } from "../../chunks/runtime.js";
|
|
3
|
-
import { css as
|
|
4
|
-
import { LitElement as
|
|
3
|
+
import { css as S, html as p } from "lit";
|
|
4
|
+
import { LitElement as V, nothing as L } from "@arcgis/lumina";
|
|
5
5
|
import y from "@arcgis/core/core/Collection.js";
|
|
6
6
|
import m from "@arcgis/core/core/Accessor.js";
|
|
7
7
|
import { property as a, subclass as v } from "@arcgis/core/core/accessorSupport/decorators.js";
|
|
8
8
|
import { c as O, f as $ } from "../../chunks/layer-utils2.js";
|
|
9
9
|
import { watch as b, on as E } from "@arcgis/core/core/reactiveUtils.js";
|
|
10
10
|
import { i as A } from "../../chunks/async-utils.js";
|
|
11
|
-
var D = Object.defineProperty, M = Object.getOwnPropertyDescriptor, d = (e,
|
|
12
|
-
for (var s = l > 1 ? void 0 : l ? M(
|
|
13
|
-
(o = e[r]) && (s = (l ? o(
|
|
14
|
-
return l && s && D(
|
|
11
|
+
var D = Object.defineProperty, M = Object.getOwnPropertyDescriptor, d = (e, i, t, l) => {
|
|
12
|
+
for (var s = l > 1 ? void 0 : l ? M(i, t) : i, r = e.length - 1, o; r >= 0; r--)
|
|
13
|
+
(o = e[r]) && (s = (l ? o(i, t, s) : o(s)) || s);
|
|
14
|
+
return l && s && D(i, t, s), s;
|
|
15
15
|
};
|
|
16
16
|
let n = class extends m {
|
|
17
17
|
constructor(e) {
|
|
@@ -72,10 +72,10 @@ let n = class extends m {
|
|
|
72
72
|
* The value to which the `visible` property of each layer is to be set.
|
|
73
73
|
*/
|
|
74
74
|
toggleVisibility(e) {
|
|
75
|
-
const
|
|
76
|
-
this.layers.forEach((
|
|
77
|
-
|
|
78
|
-
}),
|
|
75
|
+
const i = e === void 0 ? !this.visible : e;
|
|
76
|
+
this.layers.forEach((t) => {
|
|
77
|
+
t.visible = i;
|
|
78
|
+
}), i && this.parent != null && this.parent.toggleVisibility(!0);
|
|
79
79
|
}
|
|
80
80
|
/**
|
|
81
81
|
* Toggles the visibility of all the layers controlled by this node,
|
|
@@ -85,8 +85,8 @@ let n = class extends m {
|
|
|
85
85
|
* The value to which the `visible` property of each layer and siblings is to be set.
|
|
86
86
|
*/
|
|
87
87
|
toggleAllSiblingsVisibility(e) {
|
|
88
|
-
const
|
|
89
|
-
this.toggleVisibility(
|
|
88
|
+
const i = e === void 0 ? !this.visible : e;
|
|
89
|
+
this.toggleVisibility(i), this.parent != null && (this.parent.toggleVisibility(i), this.parent.children.forEach((t) => t.toggleVisibility(i)));
|
|
90
90
|
}
|
|
91
91
|
};
|
|
92
92
|
d([
|
|
@@ -119,23 +119,23 @@ d([
|
|
|
119
119
|
n = d([
|
|
120
120
|
v("esri.widgets.BuildingExplorer.support.LayerTreeNode")
|
|
121
121
|
], n);
|
|
122
|
-
function f(e,
|
|
123
|
-
let
|
|
122
|
+
function f(e, i) {
|
|
123
|
+
let t = null;
|
|
124
124
|
for (const l of e) {
|
|
125
|
-
const s =
|
|
126
|
-
if (
|
|
125
|
+
const s = i(l);
|
|
126
|
+
if (t != null && t !== s)
|
|
127
127
|
return null;
|
|
128
|
-
|
|
128
|
+
t = s;
|
|
129
129
|
}
|
|
130
|
-
return
|
|
130
|
+
return t;
|
|
131
131
|
}
|
|
132
|
-
var N = Object.defineProperty,
|
|
132
|
+
var N = Object.defineProperty, P = Object.getOwnPropertyDescriptor, _ = (e) => {
|
|
133
133
|
throw TypeError(e);
|
|
134
|
-
},
|
|
135
|
-
for (var s = l > 1 ? void 0 : l ?
|
|
136
|
-
(o = e[r]) && (s = (l ? o(
|
|
137
|
-
return l && s && N(
|
|
138
|
-
},
|
|
134
|
+
}, g = (e, i, t, l) => {
|
|
135
|
+
for (var s = l > 1 ? void 0 : l ? P(i, t) : i, r = e.length - 1, o; r >= 0; r--)
|
|
136
|
+
(o = e[r]) && (s = (l ? o(i, t, s) : o(s)) || s);
|
|
137
|
+
return l && s && N(i, t, s), s;
|
|
138
|
+
}, x = (e, i, t) => i.has(e) || _("Cannot " + t), u = (e, i, t) => (x(e, i, "read from private field"), t ? t.call(e) : i.get(e)), F = (e, i, t) => i.has(e) ? _("Cannot add the same private member more than once") : i instanceof WeakSet ? i.add(e) : i.set(e, t), c;
|
|
139
139
|
let h = class extends m {
|
|
140
140
|
constructor(e) {
|
|
141
141
|
super(e), this.root = new n(), F(this, c, new y()), this.state = "disabled", this.loadLayers = O();
|
|
@@ -163,10 +163,10 @@ let h = class extends m {
|
|
|
163
163
|
this._set("state", "disabled"), this.root.destroy();
|
|
164
164
|
}
|
|
165
165
|
get layers() {
|
|
166
|
-
return
|
|
166
|
+
return u(this, c);
|
|
167
167
|
}
|
|
168
168
|
set layers(e) {
|
|
169
|
-
|
|
169
|
+
u(this, c).removeAll(), u(this, c).addMany(e);
|
|
170
170
|
}
|
|
171
171
|
/**
|
|
172
172
|
* Initializes our internal tree with all the categories and disciplines from
|
|
@@ -174,10 +174,10 @@ let h = class extends m {
|
|
|
174
174
|
*/
|
|
175
175
|
updateLayerTree() {
|
|
176
176
|
this.root.destroy(), this._set("root", new n());
|
|
177
|
-
const e = /* @__PURE__ */ new Map(),
|
|
178
|
-
return this.layers.forEach((
|
|
179
|
-
const l = $(
|
|
180
|
-
this.addNodesForSublayers(l ??
|
|
177
|
+
const e = /* @__PURE__ */ new Map(), i = this.layers.length > 1 ? "modelName" : "id";
|
|
178
|
+
return this.layers.forEach((t) => {
|
|
179
|
+
const l = $(t);
|
|
180
|
+
this.addNodesForSublayers(l ?? t, this.root, e, i);
|
|
181
181
|
}), this;
|
|
182
182
|
}
|
|
183
183
|
/**
|
|
@@ -194,13 +194,13 @@ let h = class extends m {
|
|
|
194
194
|
* @param matchBy
|
|
195
195
|
* The sublayer property used to deduplicate sublayers.
|
|
196
196
|
*/
|
|
197
|
-
addNodeForLayer(e,
|
|
197
|
+
addNodeForLayer(e, i, t, l) {
|
|
198
198
|
const s = String(e[l]).toLowerCase();
|
|
199
199
|
if (s == null || e.isEmpty)
|
|
200
200
|
return;
|
|
201
|
-
const r = `${
|
|
202
|
-
let o =
|
|
203
|
-
o || (o = new n({ id: s, level:
|
|
201
|
+
const r = `${i.id}/${s}`;
|
|
202
|
+
let o = t.get(r);
|
|
203
|
+
o || (o = new n({ id: s, level: i.level + 1 }), t.set(r, o)), o.layers.push(e), i.children.push(o), this.addNodesForSublayers(e, o, t, l);
|
|
204
204
|
}
|
|
205
205
|
/**
|
|
206
206
|
* Adds nodes for all the sublayers of the specified layer.
|
|
@@ -214,8 +214,8 @@ let h = class extends m {
|
|
|
214
214
|
* @param matchBy
|
|
215
215
|
* The sublayer property used to deduplicate sublayers.
|
|
216
216
|
*/
|
|
217
|
-
addNodesForSublayers(e,
|
|
218
|
-
(e.type === "building-scene" || e.type === "building-group" && !e.isEmpty) && e.sublayers.forEach((s) => this.addNodeForLayer(s,
|
|
217
|
+
addNodesForSublayers(e, i, t, l) {
|
|
218
|
+
(e.type === "building-scene" || e.type === "building-group" && !e.isEmpty) && e.sublayers.forEach((s) => this.addNodeForLayer(s, i, t, l));
|
|
219
219
|
}
|
|
220
220
|
/**
|
|
221
221
|
* Called when the layers are changed.
|
|
@@ -230,20 +230,20 @@ let h = class extends m {
|
|
|
230
230
|
}
|
|
231
231
|
};
|
|
232
232
|
c = /* @__PURE__ */ new WeakMap();
|
|
233
|
-
|
|
233
|
+
g([
|
|
234
234
|
a()
|
|
235
235
|
], h.prototype, "root", 2);
|
|
236
|
-
|
|
236
|
+
g([
|
|
237
237
|
a()
|
|
238
238
|
], h.prototype, "layers", 1);
|
|
239
|
-
|
|
239
|
+
g([
|
|
240
240
|
a()
|
|
241
241
|
], h.prototype, "state", 2);
|
|
242
|
-
h =
|
|
242
|
+
h = g([
|
|
243
243
|
v("esri.components.BuildingExplorer.BuildingDisciplinesViewModel")
|
|
244
244
|
], h);
|
|
245
|
-
const
|
|
246
|
-
class
|
|
245
|
+
const I = S`.label{--calcite-label-margin-bottom: 0}`;
|
|
246
|
+
class T extends V {
|
|
247
247
|
constructor() {
|
|
248
248
|
super(...arguments), this.#e = new h(), this.toggleSiblingsVisibility = !1;
|
|
249
249
|
}
|
|
@@ -251,32 +251,32 @@ class B extends S {
|
|
|
251
251
|
this.properties = { layers: 0, messages: 0, toggleSiblingsVisibility: 5 };
|
|
252
252
|
}
|
|
253
253
|
static {
|
|
254
|
-
this.styles =
|
|
254
|
+
this.styles = I;
|
|
255
255
|
}
|
|
256
256
|
#e;
|
|
257
257
|
get layers() {
|
|
258
258
|
return this.#e.layers.toArray();
|
|
259
259
|
}
|
|
260
|
-
set layers(
|
|
261
|
-
this.#e.layers = new y(
|
|
260
|
+
set layers(i) {
|
|
261
|
+
this.#e.layers = new y(i);
|
|
262
262
|
}
|
|
263
263
|
render() {
|
|
264
|
-
const
|
|
265
|
-
return
|
|
264
|
+
const i = this.messages, t = this.#e;
|
|
265
|
+
return i == null ? null : p`<calcite-tree lines selection-mode=none>${w({ node: t.root, messages: i, toggleSiblingsVisibility: this.toggleSiblingsVisibility })}</calcite-tree>`;
|
|
266
266
|
}
|
|
267
267
|
}
|
|
268
|
-
function
|
|
269
|
-
const
|
|
270
|
-
return p`<calcite-tree-item><calcite-label class="label" layout=inline><calcite-checkbox .checked=${
|
|
271
|
-
r.stopPropagation(), (r.metaKey || r.ctrlKey) && e.toggleSiblingsVisibility && (
|
|
272
|
-
}} title=${s ??
|
|
273
|
-
|
|
274
|
-
}}></calcite-checkbox>${e.node.title}</calcite-label>${e.node.hasChildren ? p`<calcite-tree lines selection-mode=none slot=children>${w({ node: e.node, messages: e.messages })}</calcite-tree>` : null}</calcite-tree-item>`;
|
|
268
|
+
function B(e) {
|
|
269
|
+
const i = e.node, t = i.visible === !0, l = i.visible === null, s = t ? e.messages.hideSublayer : e.messages.showSublayer;
|
|
270
|
+
return p`<calcite-tree-item><calcite-label class="label" layout=inline><calcite-checkbox .checked=${t} .indeterminate=${l} .label=${s} @click=${(r) => {
|
|
271
|
+
r.stopPropagation(), (r.metaKey || r.ctrlKey) && e.toggleSiblingsVisibility && (r.stopImmediatePropagation(), i.toggleAllSiblingsVisibility());
|
|
272
|
+
}} title=${s ?? L} @calciteCheckboxChange=${(r) => {
|
|
273
|
+
i.toggleVisibility(r.currentTarget.checked);
|
|
274
|
+
}}></calcite-checkbox>${e.node.title}</calcite-label>${e.node.hasChildren ? p`<calcite-tree lines selection-mode=none slot=children>${w({ node: e.node, messages: e.messages, toggleSiblingsVisibility: e.toggleSiblingsVisibility })}</calcite-tree>` : null}</calcite-tree-item>`;
|
|
275
275
|
}
|
|
276
276
|
function w(e) {
|
|
277
|
-
return e.node.children.toArray().reverse().map((
|
|
277
|
+
return e.node.children.toArray().reverse().map((t) => B({ node: t, messages: e.messages, toggleSiblingsVisibility: e.toggleSiblingsVisibility }));
|
|
278
278
|
}
|
|
279
|
-
C("arcgis-building-discipline-tree",
|
|
279
|
+
C("arcgis-building-discipline-tree", T);
|
|
280
280
|
export {
|
|
281
|
-
|
|
281
|
+
T as BuildingDisciplineTree
|
|
282
282
|
};
|
|
@@ -68,6 +68,14 @@ export abstract class ArcgisBuildingExplorer extends LitElement {
|
|
|
68
68
|
* @since 5.0
|
|
69
69
|
*/
|
|
70
70
|
accessor hideDisciplines: boolean;
|
|
71
|
+
/**
|
|
72
|
+
* If true, the Level heading will be hidden without hiding the levels filter.
|
|
73
|
+
* To hide the entire filter, use [hideLevels](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-building-explorer/#hideLevels).
|
|
74
|
+
*
|
|
75
|
+
* @default false
|
|
76
|
+
* @since 5.2
|
|
77
|
+
*/
|
|
78
|
+
accessor hideLevelHeading: boolean;
|
|
71
79
|
/**
|
|
72
80
|
* If true, the levels filter will be hidden.
|
|
73
81
|
* The filter is also hidden when fewer than two levels are available.
|
|
@@ -207,6 +215,14 @@ export abstract class ArcgisBuildingExplorer extends LitElement {
|
|
|
207
215
|
* @see [Associate components with a Map or Scene component](https://developers.arcgis.com/javascript/latest/programming-patterns/#associate-components-with-a-map-or-scene-component)
|
|
208
216
|
*/
|
|
209
217
|
accessor referenceElement: ArcgisReferenceElement | string | undefined;
|
|
218
|
+
/**
|
|
219
|
+
* If true, Ctrl-clicking or Command-clicking a discipline or category checkbox
|
|
220
|
+
* also toggles its siblings, matching the BuildingExplorer widget.
|
|
221
|
+
*
|
|
222
|
+
* @default false
|
|
223
|
+
* @internal
|
|
224
|
+
*/
|
|
225
|
+
accessor toggleSiblingsVisibility: boolean;
|
|
210
226
|
/**
|
|
211
227
|
* The view associated with the component.
|
|
212
228
|
* > **Note:** The recommended approach is to fully migrate applications to use map and scene components and avoid using MapView and SceneView directly. However, if you are migrating a large application from widgets to components, you might prefer a more gradual transition. To support this use case, the SDK includes this `view` property which connects a component to a MapView or SceneView. Ultimately, once migration is complete, the arcgis-building-explorer component will be associated with a map or scene component rather than using the `view` property.
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import { c as
|
|
3
|
-
import { css as
|
|
4
|
-
import { LitElement as J, createEvent as
|
|
2
|
+
import { c as U } from "../../chunks/runtime.js";
|
|
3
|
+
import { css as j, html as h } from "lit";
|
|
4
|
+
import { LitElement as J, createEvent as L } from "@arcgis/lumina";
|
|
5
5
|
import { u as T } from "../../chunks/useView.js";
|
|
6
|
-
import { H as
|
|
6
|
+
import { H as B } from "../../chunks/heading.js";
|
|
7
7
|
import p from "@arcgis/core/core/Collection.js";
|
|
8
8
|
import { u as G } from "../../chunks/useT9n.js";
|
|
9
9
|
import { watch as M } from "@arcgis/core/core/reactiveUtils.js";
|
|
@@ -15,7 +15,7 @@ import { isAbortError as Z } from "@arcgis/core/core/promiseUtils.js";
|
|
|
15
15
|
import q from "@arcgis/core/layers/support/BuildingFilter.js";
|
|
16
16
|
import { V as F } from "../../chunks/visible-element.js";
|
|
17
17
|
import { C as K } from "../../chunks/component-wrapper.js";
|
|
18
|
-
const Q =
|
|
18
|
+
const Q = j`.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__heading{word-break:break-word}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-hidden{display:none!important}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}.esri-widget--panel{min-width:300px;min-height:32px;padding:var(--arcgis-internal-padding);transition:max-height .25s ease-in-out;overflow-y:auto}:host{transition:max-height .25s ease-in-out;overflow-y:auto}.root{position:relative;display:flex;flex-direction:column;gap:var(--calcite-spacing-xxxl)}.esri-widget__heading{font-weight:var(--calcite-font-weight-normal)}calcite-scrim{--calcite-scrim-background: var(--calcite-color-foreground-1)}.disabled{color:var(--calcite-color-status-danger)}.esri-widget--panel{min-width:unset}`, D = "__BUILDING_EXPLORER_FILTER__";
|
|
19
19
|
function Y() {
|
|
20
20
|
return `${crypto.randomUUID()}${D}`;
|
|
21
21
|
}
|
|
@@ -318,13 +318,13 @@ d([
|
|
|
318
318
|
n = d([
|
|
319
319
|
$("esri.components.BuildingExplorer.BuildingNumericFilterViewModel")
|
|
320
320
|
], n);
|
|
321
|
-
var ne = Object.defineProperty, de = Object.getOwnPropertyDescriptor,
|
|
321
|
+
var ne = Object.defineProperty, de = Object.getOwnPropertyDescriptor, H = (t) => {
|
|
322
322
|
throw TypeError(t);
|
|
323
323
|
}, P = (t, e, i, s) => {
|
|
324
324
|
for (var r = s > 1 ? void 0 : s ? de(e, i) : e, l = t.length - 1, a; l >= 0; l--)
|
|
325
325
|
(a = t[l]) && (r = (s ? a(e, i, r) : a(r)) || r);
|
|
326
326
|
return s && r && ne(e, i, r), r;
|
|
327
|
-
}, ce = (t, e, i) => e.has(t) ||
|
|
327
|
+
}, ce = (t, e, i) => e.has(t) || H("Cannot " + i), he = (t, e, i) => (ce(t, e, "read from private field"), i ? i.call(t) : e.get(t)), ue = (t, e, i) => e.has(t) ? H("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(t) : e.set(t, i), k;
|
|
328
328
|
const pe = "bldglevel";
|
|
329
329
|
let f = class extends n {
|
|
330
330
|
constructor(t) {
|
|
@@ -489,10 +489,10 @@ u = v([
|
|
|
489
489
|
], u);
|
|
490
490
|
class we extends J {
|
|
491
491
|
constructor() {
|
|
492
|
-
super(...arguments), this.messages = G({ blocking: !0 }), this.#i = new p(), this.#r = new u(), this.view = T(this), this.autoDestroyDisabled = !1, this.headingLevel = 3, this.hideDisciplines = !1, this.hideLevels = !1, this.hidePhases = !1, this.icon = "organization", this.arcgisBuildingLevelChange =
|
|
492
|
+
super(...arguments), this.messages = G({ blocking: !0 }), this.#i = new p(), this.#r = new u(), this.view = T(this), this.autoDestroyDisabled = !1, this.headingLevel = 3, this.hideDisciplines = !1, this.hideLevelHeading = !1, this.hideLevels = !1, this.hidePhases = !1, this.icon = "organization", this.toggleSiblingsVisibility = !1, this.arcgisBuildingLevelChange = L({ bubbles: !0, composed: !0 }), this.arcgisBuildingPhaseChange = L({ bubbles: !0, composed: !0 }), this.arcgisReady = L();
|
|
493
493
|
}
|
|
494
494
|
static {
|
|
495
|
-
this.properties = { view: 0, autoDestroyDisabled: 5, headingLevel: 9, hideDisciplines: 5, hideLevels: 5, hidePhases: 5, icon: 1, label: 1, layers: 0, level: 9, phase: 9, levels: 0, phases: 0, levelDisabled: 32, phaseDisabled: 32, referenceElement: 1 };
|
|
495
|
+
this.properties = { view: 0, autoDestroyDisabled: 5, headingLevel: 9, hideDisciplines: 5, hideLevelHeading: 5, hideLevels: 5, hidePhases: 5, icon: 1, label: 1, layers: 0, level: 9, phase: 9, levels: 0, phases: 0, levelDisabled: 32, phaseDisabled: 32, referenceElement: 1, toggleSiblingsVisibility: 5 };
|
|
496
496
|
}
|
|
497
497
|
static {
|
|
498
498
|
this.styles = Q;
|
|
@@ -583,13 +583,13 @@ class we extends J {
|
|
|
583
583
|
if (this.#e.state === "failed" || this.#t.state === "failed")
|
|
584
584
|
return x({ label: e.componentLabel, children: h`<p class="disabled">${e.failed}</p>` });
|
|
585
585
|
const i = this.hideLevels || this.#e.allowedValues.length < 2, s = this.hidePhases || this.#t.allowedValues.length < 2, r = this.#e.state !== "ready" || this.#t.state !== "ready";
|
|
586
|
-
return x({ label: e.componentLabel, loading: r, children: h`${F({ hidden: i, children: h`<div>${
|
|
586
|
+
return x({ label: e.componentLabel, loading: r, children: h`${F({ hidden: i, children: h`<div>${this.hideLevelHeading ? null : B({ level: this.headingLevel, children: this.messages.level.title })}<arcgis-building-level-picker .messages=${e.level} .level=${this.#e}></arcgis-building-level-picker></div>` })}${F({ hidden: s, children: h`<div>${B({ level: this.headingLevel, children: this.messages.phase.title })}<arcgis-building-phase-picker .messages=${e.phase} .phase=${this.#t}></arcgis-building-phase-picker></div>` })}${F({ hidden: this.hideDisciplines, children: h`<div>${B({ level: this.headingLevel, children: this.messages.disciplines.title })}<arcgis-building-discipline-tree .layers=${this.layers} .messages=${this.messages.disciplines} .toggleSiblingsVisibility=${this.toggleSiblingsVisibility}></arcgis-building-discipline-tree></div>` })}` });
|
|
587
587
|
}
|
|
588
588
|
}
|
|
589
589
|
function x(t) {
|
|
590
590
|
return K({ class: "root", hideHeader: !0, label: t.label, children: h`${t.children}${t.loading ? h`<calcite-scrim .loading=${t.loading}></calcite-scrim>` : null}` });
|
|
591
591
|
}
|
|
592
|
-
|
|
592
|
+
U("arcgis-building-explorer", we);
|
|
593
593
|
export {
|
|
594
594
|
we as ArcgisBuildingExplorer
|
|
595
595
|
};
|