@arcgis/map-components 5.2.0-next.127 → 5.2.0-next.129
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/{GE74I75T.js → 22FG37EV.js} +1 -1
- package/dist/cdn/{NIPK7YYJ.js → 2AGPRFMG.js} +1 -1
- package/dist/cdn/2BMYUPDQ.js +2 -0
- package/dist/cdn/{2ZIKXQT2.js → 2CLE72G4.js} +1 -1
- package/dist/cdn/{XW2MWO3R.js → 2DHCFLH6.js} +1 -1
- package/dist/cdn/{SIHH6LT5.js → 2DJC25HT.js} +1 -1
- package/dist/cdn/{EWX4XQBI.js → 2FXJBJQN.js} +1 -1
- package/dist/cdn/{AFUNYL57.js → 2H37ZCDJ.js} +1 -1
- package/dist/cdn/{UXPYCE3L.js → 2RYNWWMR.js} +1 -1
- package/dist/cdn/{UP52QGP6.js → 2X677DFU.js} +1 -1
- package/dist/cdn/{UWHSAI3L.js → 2ZC5OSXY.js} +1 -1
- package/dist/cdn/{EVB3QOJS.js → 35M4DQZK.js} +1 -1
- package/dist/cdn/{6KU3XBCB.js → 3AHZESDA.js} +1 -1
- package/dist/cdn/{Z5BFIWLI.js → 3DRCMLE6.js} +1 -1
- package/dist/cdn/{ATRMFLKS.js → 3FO2I44H.js} +1 -1
- package/dist/cdn/{QHGEM66H.js → 3NNYNR4J.js} +1 -1
- package/dist/cdn/{U4A4FLPH.js → 3NUE2TJM.js} +1 -1
- package/dist/cdn/{4QP6ILUV.js → 3OSRTFM7.js} +1 -1
- package/dist/cdn/{23HSSJKV.js → 3QZFSJJZ.js} +1 -1
- package/dist/cdn/{YTCVSC5P.js → 3SU3DIGX.js} +1 -1
- package/dist/cdn/{HFM5NPZZ.js → 4RUPG7KN.js} +1 -1
- package/dist/cdn/{2OJYLBNC.js → 4TV72DOP.js} +1 -1
- package/dist/cdn/{V7FCORTC.js → 4UYEQJ5Q.js} +1 -1
- package/dist/cdn/{4JEXOOCU.js → 526WYJC7.js} +1 -1
- package/dist/cdn/{LOYVJTVI.js → 55MKAVVI.js} +1 -1
- package/dist/cdn/{UYY3HJ3C.js → 5JJW2F4I.js} +1 -1
- package/dist/cdn/{3N3WXEBV.js → 5S3AIVW2.js} +1 -1
- package/dist/cdn/{BTAWFZYA.js → 5YQC25ID.js} +1 -1
- package/dist/cdn/{XADV6ULF.js → 65BUPBAJ.js} +1 -1
- package/dist/cdn/{EEWGG5MJ.js → 6B7OAZCR.js} +1 -1
- package/dist/cdn/{IPGN7TJM.js → 6G2OC6X3.js} +1 -1
- package/dist/cdn/{L7P3VGFU.js → 6JQ33U5S.js} +1 -1
- package/dist/cdn/{TYE57RYK.js → 6PE3IB3H.js} +1 -1
- package/dist/cdn/{E23I3LNK.js → 6R4JCD5X.js} +1 -1
- package/dist/cdn/{VZ5UIYRZ.js → 6XE3DEYV.js} +1 -1
- package/dist/cdn/{SMNGRZOR.js → 75DQILK2.js} +1 -1
- package/dist/cdn/{YSWNUR6Q.js → 75OH7AOP.js} +1 -1
- package/dist/cdn/{O44K3BST.js → 7AM3AAIM.js} +1 -1
- package/dist/cdn/{RFL4MCSE.js → 7EFRZOFD.js} +1 -1
- package/dist/cdn/{XO3BXDJB.js → 7HYL6HZM.js} +1 -1
- package/dist/cdn/{PWHBULWL.js → 7MTVNJT6.js} +1 -1
- package/dist/cdn/{OOGJQ5G4.js → 7O4U5KJX.js} +1 -1
- package/dist/cdn/7QUUVOSA.js +2 -0
- package/dist/cdn/{AE33MJQH.js → 7SV2YDBW.js} +1 -1
- package/dist/cdn/{HVOH2A6M.js → 7WPN2Q4H.js} +1 -1
- package/dist/cdn/{D7FCBWGA.js → 7XCYURYF.js} +1 -1
- package/dist/cdn/{Y4AWD5AV.js → 7YB4E7JF.js} +1 -1
- package/dist/cdn/{GLRUAFW4.js → AETC4BXC.js} +1 -1
- package/dist/cdn/{JBXXHEEI.js → AN5VDLBT.js} +1 -1
- package/dist/cdn/{EHCQ6UAZ.js → ANSONAT3.js} +1 -1
- package/dist/cdn/{IFPX2SVE.js → AYFIXEVM.js} +1 -1
- package/dist/cdn/{TAZZC5OO.js → B62BAX3X.js} +1 -1
- package/dist/cdn/{BWWWPF3D.js → BDZ5LS7M.js} +1 -1
- package/dist/cdn/{5TZGXGC2.js → CBB2T3RI.js} +1 -1
- package/dist/cdn/{PJI2EVW4.js → CM7JI36S.js} +1 -1
- package/dist/cdn/{QRXQ5LVY.js → CODEI67F.js} +1 -1
- package/dist/cdn/{3E2WFQLJ.js → CPKZEXWU.js} +1 -1
- package/dist/cdn/CV6Q2BL5.js +2 -0
- package/dist/cdn/CZPZHMHT.js +2 -0
- package/dist/cdn/{Y3SFKTBJ.js → DC4IVPQR.js} +1 -1
- package/dist/cdn/{U2XEJHYW.js → DFPVC4EG.js} +1 -1
- package/dist/cdn/{K2WDAQU5.js → DN5C7ZD7.js} +1 -1
- package/dist/cdn/{WINEAW5E.js → DOURJ47L.js} +1 -1
- package/dist/cdn/DRRHERCS.js +2 -0
- package/dist/cdn/{SZ6IV47J.js → DVWF3ZI2.js} +1 -1
- package/dist/cdn/{IHTRKYAF.js → EBF7F6FV.js} +1 -1
- package/dist/cdn/{7CO5HNJZ.js → EK7HMUVN.js} +1 -1
- package/dist/cdn/{QDSTQOU2.js → EQ4D5HAS.js} +1 -1
- package/dist/cdn/{EDJYAXEB.js → EWCRUGKH.js} +1 -1
- package/dist/cdn/{AJFAPBMM.js → F47MOBA6.js} +1 -1
- package/dist/cdn/{NDX25YWH.js → FDDVTJUT.js} +1 -1
- package/dist/cdn/{GXXJVFXO.js → FEEOQGVI.js} +1 -1
- package/dist/cdn/{3HVJLNKZ.js → FJREYXK7.js} +1 -1
- package/dist/cdn/{3BUFS5YM.js → FRY2TWP6.js} +1 -1
- package/dist/cdn/{AQTSDDVK.js → FUQUIU52.js} +1 -1
- package/dist/cdn/FZBSTBH3.js +2 -0
- package/dist/cdn/G37JKMBJ.js +2 -0
- package/dist/cdn/{VKURE3J2.js → G4EYCW4W.js} +1 -1
- package/dist/cdn/{BVIAOB5O.js → G5YUYYQA.js} +1 -1
- package/dist/cdn/{4NZEJ5EQ.js → GHJBVA4W.js} +1 -1
- package/dist/cdn/{ANBUBGMA.js → GK6NLJ6Q.js} +1 -1
- package/dist/cdn/{KNVCQJ7O.js → GQJMWPC4.js} +1 -1
- package/dist/cdn/{QAKYDAE3.js → GU3VA72I.js} +1 -1
- package/dist/cdn/{YB3JVI5U.js → H5W2Z2ZP.js} +1 -1
- package/dist/cdn/{VOFY2VSJ.js → HOBKD5P4.js} +1 -1
- package/dist/cdn/{LSVNXTPW.js → I2BUUAYU.js} +1 -1
- package/dist/cdn/{PV3L726K.js → I6R62DOM.js} +1 -1
- package/dist/cdn/{JMZCAMJX.js → I7NHERZ6.js} +1 -1
- package/dist/cdn/{GKXR454H.js → IKSUH4JU.js} +1 -1
- package/dist/cdn/{EVN3T57B.js → ILQQNZAY.js} +1 -1
- package/dist/cdn/{LP74HAQI.js → ILRRVKYV.js} +1 -1
- package/dist/cdn/{VBC4PE53.js → INSKARCW.js} +1 -1
- package/dist/cdn/{RM34SONU.js → IZMOYSTQ.js} +1 -1
- package/dist/cdn/{PRNUVGMO.js → J6W4SY52.js} +1 -1
- package/dist/cdn/{T2JQCREB.js → JNB3AQXF.js} +1 -1
- package/dist/cdn/{VGHKU6QN.js → JQUJV7QG.js} +1 -1
- package/dist/cdn/{SZYG5GVN.js → JSQUWI3N.js} +1 -1
- package/dist/cdn/{KVEB7KH4.js → JXODHIWF.js} +1 -1
- package/dist/cdn/{GXVJ5XIS.js → K3KO5IH4.js} +1 -1
- package/dist/cdn/{BOGLYQ5O.js → KCSLK5X4.js} +1 -1
- package/dist/cdn/{GOQX6N76.js → KDF33PNA.js} +1 -1
- package/dist/cdn/{Z37YCCSM.js → KEMBLOSU.js} +1 -1
- package/dist/cdn/{S7G7JDQC.js → KHOIXBJX.js} +1 -1
- package/dist/cdn/{BUKAHDDH.js → L4IWJ5HD.js} +1 -1
- package/dist/cdn/{TL6AWIIE.js → L5FBV74B.js} +1 -1
- package/dist/cdn/{YECX3B43.js → LA2B6YUW.js} +1 -1
- package/dist/cdn/{JQ3R3XMY.js → LDUBRVF7.js} +1 -1
- package/dist/cdn/{26MF7QKM.js → LWH2GP6K.js} +1 -1
- package/dist/cdn/{KM5NXHAK.js → LY5JI6RG.js} +1 -1
- package/dist/cdn/{W4CJTN6T.js → M5K25M52.js} +1 -1
- package/dist/cdn/{KKLGABRK.js → MN5HTWFG.js} +1 -1
- package/dist/cdn/{BVFW23P2.js → MOEKO7EN.js} +1 -1
- package/dist/cdn/{ZGH76U52.js → MRLCJSMH.js} +1 -1
- package/dist/cdn/{YXAD73CE.js → MVBMO6GU.js} +1 -1
- package/dist/cdn/{ORUBXAAU.js → MVML6D4K.js} +1 -1
- package/dist/cdn/{IYHXTJJV.js → N7DY2QVI.js} +1 -1
- package/dist/cdn/{JBRKK3VF.js → NCIDWMPT.js} +1 -1
- package/dist/cdn/{77D3OZDV.js → NDZTQ5ZP.js} +1 -1
- package/dist/cdn/{KUFCT3WP.js → NEK27Q3B.js} +1 -1
- package/dist/cdn/{NCCYPWND.js → NGOHAYP2.js} +1 -1
- package/dist/cdn/{5ARWD7RU.js → NUOVRUNM.js} +1 -1
- package/dist/cdn/{SNX6IENY.js → O27JZBBD.js} +1 -1
- package/dist/cdn/{3VQ5MXTS.js → OC7FE4UI.js} +1 -1
- package/dist/cdn/{O3V63YCY.js → OHCCNZCY.js} +1 -1
- package/dist/cdn/{BOX3BB5W.js → OT6BZEVU.js} +1 -1
- package/dist/cdn/{2K4IAUMP.js → OWJM7UDS.js} +1 -1
- package/dist/cdn/{7REHGHYL.js → PISCWAG5.js} +1 -1
- package/dist/cdn/{UIWQMNVA.js → PIVEKSAG.js} +1 -1
- package/dist/cdn/{EOVJXYU2.js → PX2NWKEU.js} +1 -1
- package/dist/cdn/{E6WLDHQE.js → Q2MFXSAM.js} +1 -1
- package/dist/cdn/{NBELHVZV.js → Q4EDWHEQ.js} +1 -1
- package/dist/cdn/{YQKMTVF7.js → Q6QM5JFF.js} +1 -1
- package/dist/cdn/{STVCYQD6.js → QHVMGF72.js} +1 -1
- package/dist/cdn/QPIPHZCB.js +2 -0
- package/dist/cdn/{EHN5OCRK.js → QR64BMEG.js} +1 -1
- package/dist/cdn/R26ZJOWO.js +2 -0
- package/dist/cdn/{PME66FRM.js → R2XADTZ4.js} +1 -1
- package/dist/cdn/{6WVMBRDZ.js → RMPRKXH6.js} +1 -1
- package/dist/cdn/RVVE37BK.js +2 -0
- package/dist/cdn/{ICBWYP63.js → RWGOXXTN.js} +1 -1
- package/dist/cdn/RWOP6R3I.js +2 -0
- package/dist/cdn/{OIXG64HP.js → S5NMZQ7S.js} +1 -1
- package/dist/cdn/{IQOYWZKB.js → SI275RZJ.js} +1 -1
- package/dist/cdn/{45WHYU33.js → SJ5GQWFA.js} +1 -1
- package/dist/cdn/{LT7UCTKO.js → SLLE4XAR.js} +1 -1
- package/dist/cdn/{IIFPXXLV.js → SNMWKAFO.js} +1 -1
- package/dist/cdn/{NB4UV3WZ.js → TNCMYQSA.js} +1 -1
- package/dist/cdn/{U2K2GM2A.js → TW3HJT3L.js} +1 -1
- package/dist/cdn/{QKHSI35C.js → TWCK5GSX.js} +1 -1
- package/dist/cdn/{TP5CAC5F.js → TWR7AJTM.js} +1 -1
- package/dist/cdn/{YYKHJHRL.js → U4HYLVBE.js} +1 -1
- package/dist/cdn/{5MY72QW3.js → UBRGB2BM.js} +1 -1
- package/dist/cdn/{BTHXY33A.js → UMQLYM36.js} +1 -1
- package/dist/cdn/{TT6LZYXE.js → VIMZLJRR.js} +1 -1
- package/dist/cdn/{X5EYPVUR.js → VLDII7DK.js} +1 -1
- package/dist/cdn/{BO6UZ45F.js → VM22FCS7.js} +1 -1
- package/dist/cdn/{EIZNZKHN.js → VSUOUORA.js} +1 -1
- package/dist/cdn/{L7OO7DJU.js → VZE75HIS.js} +1 -1
- package/dist/cdn/{PVNF2Z2E.js → W7QOIJAF.js} +1 -1
- package/dist/cdn/{3FYZUJFR.js → WIAVK47T.js} +1 -1
- package/dist/cdn/WPPNDZKA.js +2 -0
- package/dist/cdn/{5BQMWW5Q.js → WQQBKYQP.js} +1 -1
- package/dist/cdn/{3PCBVCV5.js → WWASAY4M.js} +1 -1
- package/dist/cdn/{IPFOE73J.js → WZZBK6H2.js} +1 -1
- package/dist/cdn/{TSCXUJ3H.js → X633YHFG.js} +1 -1
- package/dist/cdn/{4GBWZ6JK.js → X6RIAT6T.js} +1 -1
- package/dist/cdn/{MVYTDX7B.js → XEPOSXGI.js} +1 -1
- package/dist/cdn/{F7KDBJ53.js → XFD7GEAG.js} +1 -1
- package/dist/cdn/{TO2AHJ2D.js → XHF3WRCS.js} +1 -1
- package/dist/cdn/{FLFOMU5V.js → XIU3BXC4.js} +1 -1
- package/dist/cdn/{TRKMGYRA.js → XMP3WRQ6.js} +1 -1
- package/dist/cdn/{PIMY2US4.js → XPIYOTEC.js} +1 -1
- package/dist/cdn/{ABCAVCJS.js → XUMOMEIU.js} +1 -1
- package/dist/cdn/{5Q2HHIWU.js → Y4W2M6DK.js} +1 -1
- package/dist/cdn/{7V3LUKTZ.js → Y76FKVQF.js} +1 -1
- package/dist/cdn/{YNPZGFD5.js → YEDKH6UB.js} +1 -1
- package/dist/cdn/{RW4H2SVK.js → YFCVMQTJ.js} +1 -1
- package/dist/cdn/{NOCI7PVC.js → YFDOLBYH.js} +1 -1
- package/dist/cdn/{LGVPQ23I.js → YGLXTN2F.js} +1 -1
- package/dist/cdn/{FCWHIX6Q.js → YL32ZRHM.js} +1 -1
- package/dist/cdn/{EOG6YHUA.js → YVNN7BY7.js} +1 -1
- package/dist/cdn/{ESLHUFYQ.js → YXFHYEU3.js} +1 -1
- package/dist/cdn/{NOKB7FXX.js → ZB2IZQYA.js} +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.ar.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.bg.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.ca.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.cs.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.da.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.el.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.es.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.fi.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.fr.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.hr.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.hu.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.id.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.it.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.ko.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.lt.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.lv.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.nl.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.no.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.pl.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.pt-BR.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.pt-PT.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.ro.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.ru.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.sk.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.sl.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.sr.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.sv.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.th.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.tr.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.uk.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.vi.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.zh-CN.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.zh-TW.json +1 -1
- package/dist/cdn/assets/time-bar/t9n/messages.ar.json +1 -1
- package/dist/cdn/assets/time-bar/t9n/messages.bg.json +1 -1
- package/dist/cdn/assets/time-bar/t9n/messages.bs.json +1 -1
- package/dist/cdn/assets/time-bar/t9n/messages.ca.json +1 -1
- package/dist/cdn/assets/time-bar/t9n/messages.cs.json +1 -1
- package/dist/cdn/assets/time-bar/t9n/messages.da.json +1 -1
- package/dist/cdn/assets/time-bar/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/time-bar/t9n/messages.el.json +1 -1
- package/dist/cdn/assets/time-bar/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/time-bar/t9n/messages.es.json +1 -1
- package/dist/cdn/assets/time-bar/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/time-bar/t9n/messages.fi.json +1 -1
- package/dist/cdn/assets/time-bar/t9n/messages.fr.json +1 -1
- package/dist/cdn/assets/time-bar/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/time-bar/t9n/messages.hr.json +1 -1
- package/dist/cdn/assets/time-bar/t9n/messages.hu.json +1 -1
- package/dist/cdn/assets/time-bar/t9n/messages.id.json +1 -1
- package/dist/cdn/assets/time-bar/t9n/messages.it.json +1 -1
- package/dist/cdn/assets/time-bar/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/time-bar/t9n/messages.ko.json +1 -1
- package/dist/cdn/assets/time-bar/t9n/messages.lt.json +1 -1
- package/dist/cdn/assets/time-bar/t9n/messages.lv.json +1 -1
- package/dist/cdn/assets/time-bar/t9n/messages.nl.json +1 -1
- package/dist/cdn/assets/time-bar/t9n/messages.no.json +1 -1
- package/dist/cdn/assets/time-bar/t9n/messages.pl.json +1 -1
- package/dist/cdn/assets/time-bar/t9n/messages.pt-BR.json +1 -1
- package/dist/cdn/assets/time-bar/t9n/messages.pt-PT.json +1 -1
- package/dist/cdn/assets/time-bar/t9n/messages.ro.json +1 -1
- package/dist/cdn/assets/time-bar/t9n/messages.ru.json +1 -1
- package/dist/cdn/assets/time-bar/t9n/messages.sk.json +1 -1
- package/dist/cdn/assets/time-bar/t9n/messages.sl.json +1 -1
- package/dist/cdn/assets/time-bar/t9n/messages.sr.json +1 -1
- package/dist/cdn/assets/time-bar/t9n/messages.sv.json +1 -1
- package/dist/cdn/assets/time-bar/t9n/messages.th.json +1 -1
- package/dist/cdn/assets/time-bar/t9n/messages.tr.json +1 -1
- package/dist/cdn/assets/time-bar/t9n/messages.uk.json +1 -1
- package/dist/cdn/assets/time-bar/t9n/messages.vi.json +1 -1
- package/dist/cdn/assets/time-bar/t9n/messages.zh-CN.json +1 -1
- package/dist/cdn/assets/time-bar/t9n/messages.zh-HK.json +1 -1
- package/dist/cdn/assets/time-bar/t9n/messages.zh-TW.json +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/chunks/action-utils.js +10 -10
- package/dist/chunks/esri-main.js +1 -1
- package/dist/chunks/feature-utils.js +128 -114
- package/dist/chunks/useArcgisViewReadyError.js +38 -30
- package/dist/components/arcgis-aggregated-features/customElement.js +4 -4
- package/dist/components/arcgis-area-measurement-3d/customElement.js +1 -1
- package/dist/components/arcgis-expand/customElement.js +12 -12
- package/dist/components/arcgis-feature/customElement.js +1 -1
- package/dist/components/arcgis-feature-attachments/customElement.js +4 -4
- package/dist/components/arcgis-feature-fields/customElement.js +1 -1
- package/dist/components/arcgis-feature-media/customElement.js +7 -7
- package/dist/components/arcgis-feature-next/customElement.js +4 -4
- package/dist/components/arcgis-feature-relationship/customElement.js +1 -1
- package/dist/components/arcgis-features/customElement.js +1 -1
- package/dist/components/arcgis-features-next/customElement.js +12 -11
- package/dist/components/arcgis-link-chart/customElement.d.ts +46 -3
- package/dist/components/arcgis-map/customElement.d.ts +46 -3
- package/dist/components/arcgis-scene/customElement.d.ts +46 -3
- package/dist/components/arcgis-time-bar/customElement.d.ts +6 -0
- package/dist/components/arcgis-time-bar-slider/customElement.d.ts +17 -0
- package/dist/components/arcgis-time-bar-slider/customElement.js +44 -34
- package/dist/components/arcgis-time-bar-slider/index.js +1 -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/loader.js +1 -1
- package/dist/types/lumina.d.ts +1 -1
- package/dist/types/preact.d.ts +1 -1
- package/dist/types/react.d.ts +1 -1
- package/dist/types/stencil.d.ts +1 -1
- package/package.json +6 -6
- package/dist/cdn/3TPXSBZ2.js +0 -2
- package/dist/cdn/77ULNULN.js +0 -2
- package/dist/cdn/EPSTVLDH.js +0 -2
- package/dist/cdn/GDHBKT7X.js +0 -2
- package/dist/cdn/HZWFDJFV.js +0 -2
- package/dist/cdn/IPAUI5MK.js +0 -2
- package/dist/cdn/QERRLNHI.js +0 -2
- package/dist/cdn/QGB7AGII.js +0 -2
- package/dist/cdn/QIMQEVTV.js +0 -2
- package/dist/cdn/VFHKHLM6.js +0 -2
- package/dist/cdn/WT5SGWE4.js +0 -2
- package/dist/cdn/Z2NU3RGI.js +0 -2
|
@@ -1,212 +1,226 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
2
|
import { replace as a } from "@arcgis/core/applications/Components/stringUtils.js";
|
|
3
|
-
import { fieldFormatFromFieldInfo as
|
|
4
|
-
import { g
|
|
5
|
-
import { log as
|
|
6
|
-
const u = /^\s*expression\//iu,
|
|
7
|
-
function
|
|
8
|
-
const
|
|
3
|
+
import { fieldFormatFromFieldInfo as m } from "@arcgis/core/applications/Components/fieldFormatUtils.js";
|
|
4
|
+
import { g } from "./layer-utils.js";
|
|
5
|
+
import { log as F } from "@arcgis/toolkit/log";
|
|
6
|
+
const u = /^\s*expression\//iu, y = /href=(""|'')/giu, C = /(\{([^{\r\n]+)\})/gu, h = /href\s*=\s*(?:"([^"]+)"|'([^']+)')/giu, L = /'/gu, N = "relationships/", b = /^(?:mailto:|tel:)/u;
|
|
7
|
+
function j(e, n) {
|
|
8
|
+
const t = /* @__PURE__ */ new Map();
|
|
9
9
|
if (!e)
|
|
10
|
-
return
|
|
10
|
+
return t;
|
|
11
11
|
for (const r of e) {
|
|
12
12
|
if (!r.fieldName)
|
|
13
13
|
continue;
|
|
14
|
-
const i = f(r.fieldName,
|
|
15
|
-
r.fieldName = i,
|
|
14
|
+
const i = f(r.fieldName, n);
|
|
15
|
+
r.fieldName = i, t.set(i.toLowerCase(), r);
|
|
16
16
|
}
|
|
17
|
-
return
|
|
17
|
+
return t;
|
|
18
18
|
}
|
|
19
|
-
function
|
|
20
|
-
const
|
|
19
|
+
function U(e) {
|
|
20
|
+
const n = [];
|
|
21
21
|
if (!e)
|
|
22
|
-
return
|
|
23
|
-
const { fieldInfos:
|
|
24
|
-
return
|
|
22
|
+
return n;
|
|
23
|
+
const { fieldInfos: t, content: r } = e;
|
|
24
|
+
return t && n.push(...t), !r || !Array.isArray(r) || r.forEach((i) => {
|
|
25
25
|
if (i.type === "fields") {
|
|
26
26
|
const o = i?.fieldInfos;
|
|
27
|
-
o &&
|
|
27
|
+
o && n.push(...o);
|
|
28
28
|
}
|
|
29
|
-
}),
|
|
29
|
+
}), n;
|
|
30
30
|
}
|
|
31
|
-
function
|
|
32
|
-
return e?.getEffectivePopupTemplate(
|
|
31
|
+
function W(e, n) {
|
|
32
|
+
return e?.getEffectivePopupTemplate(n) ?? void 0;
|
|
33
33
|
}
|
|
34
|
-
function
|
|
34
|
+
function q(e) {
|
|
35
35
|
if (e != null)
|
|
36
36
|
return "sourceLayer" in e && e.sourceLayer ? e.sourceLayer : e.layer ?? void 0;
|
|
37
37
|
}
|
|
38
|
-
|
|
38
|
+
const w = /* @__PURE__ */ new Set([
|
|
39
|
+
"building",
|
|
40
|
+
"knowledge-graph",
|
|
41
|
+
"link-chart",
|
|
42
|
+
"map-image",
|
|
43
|
+
"map-notes",
|
|
44
|
+
"subtype-group",
|
|
45
|
+
"tile"
|
|
46
|
+
]);
|
|
47
|
+
function _(e) {
|
|
48
|
+
const n = e?.origin;
|
|
49
|
+
return (n == null ? void 0 : w.has(n.type ?? "") ? n.sublayer : n.layer) ?? e?.layer;
|
|
50
|
+
}
|
|
51
|
+
function A(e = "") {
|
|
39
52
|
return e ? e.includes(N) : !1;
|
|
40
53
|
}
|
|
41
|
-
function
|
|
54
|
+
function B(e = "") {
|
|
42
55
|
if (e)
|
|
43
56
|
return !b.test(e.trim().toLowerCase());
|
|
44
57
|
}
|
|
45
|
-
function f(e,
|
|
46
|
-
const
|
|
47
|
-
return
|
|
58
|
+
function f(e, n) {
|
|
59
|
+
const t = p(n, e);
|
|
60
|
+
return t ? t.name : e;
|
|
48
61
|
}
|
|
49
|
-
function
|
|
50
|
-
return e?.map((
|
|
62
|
+
function D(e, n) {
|
|
63
|
+
return e?.map((t) => f(t, n));
|
|
51
64
|
}
|
|
52
65
|
function c(e) {
|
|
53
66
|
return e ? u.test(e) : !1;
|
|
54
67
|
}
|
|
55
|
-
function
|
|
56
|
-
if (!
|
|
68
|
+
function I(e, n) {
|
|
69
|
+
if (!n || !c(n) || !e)
|
|
57
70
|
return;
|
|
58
|
-
const
|
|
59
|
-
return e.find(({ name: r }) => r.toLowerCase() ===
|
|
71
|
+
const t = n.replace(u, "").toLowerCase();
|
|
72
|
+
return e.find(({ name: r }) => r.toLowerCase() === t);
|
|
60
73
|
}
|
|
61
|
-
function
|
|
62
|
-
if (!(!e?.length || !
|
|
63
|
-
return e.find((
|
|
74
|
+
function G(e, n) {
|
|
75
|
+
if (!(!e?.length || !n))
|
|
76
|
+
return e.find((t) => t.fieldName?.toLowerCase() === n.toLowerCase());
|
|
64
77
|
}
|
|
65
|
-
function
|
|
66
|
-
const { fieldInfo:
|
|
67
|
-
return
|
|
78
|
+
function T(e) {
|
|
79
|
+
const { fieldInfo: n, graphic: t, layer: r } = e;
|
|
80
|
+
return k({ fieldInfo: n, graphic: t }) ? g(r, { graphic: t }) : null;
|
|
68
81
|
}
|
|
69
|
-
function
|
|
70
|
-
return !!e?.fieldName && !c(e.fieldName) && !
|
|
82
|
+
function k({ fieldInfo: e, graphic: n }) {
|
|
83
|
+
return !!e?.fieldName && !c(e.fieldName) && !A(e.fieldName) && !n?.popupTemplate;
|
|
71
84
|
}
|
|
72
|
-
function
|
|
85
|
+
function J({
|
|
73
86
|
expressionInfos: e,
|
|
74
|
-
fieldInfo:
|
|
75
|
-
graphic:
|
|
87
|
+
fieldInfo: n,
|
|
88
|
+
graphic: t,
|
|
76
89
|
isContentFieldInfos: r,
|
|
77
90
|
layer: i
|
|
78
91
|
}) {
|
|
79
|
-
if (!
|
|
92
|
+
if (!n?.fieldName)
|
|
80
93
|
return null;
|
|
81
|
-
const o =
|
|
94
|
+
const o = I(e, n?.fieldName);
|
|
82
95
|
if (o)
|
|
83
96
|
return o.title || null;
|
|
84
|
-
const s =
|
|
97
|
+
const s = T({ fieldInfo: n, graphic: t, layer: i });
|
|
85
98
|
if (s) {
|
|
86
|
-
const l = s.getFieldAlias(
|
|
87
|
-
return r ?
|
|
99
|
+
const l = s.getFieldAlias(n.fieldName);
|
|
100
|
+
return r ? n.label || l || n.fieldName : l || n.fieldName;
|
|
88
101
|
}
|
|
89
|
-
return
|
|
102
|
+
return n.label || n.fieldName;
|
|
90
103
|
}
|
|
91
|
-
function
|
|
92
|
-
const { configurableFieldsContainer:
|
|
93
|
-
if (!
|
|
104
|
+
function K(e) {
|
|
105
|
+
const { configurableFieldsContainer: n, fieldInfo: t, isContentFieldInfos: r } = e;
|
|
106
|
+
if (!t?.fieldName)
|
|
94
107
|
return null;
|
|
95
|
-
const i = !
|
|
96
|
-
return r &&
|
|
108
|
+
const i = !n.popupTemplate && !n.fieldConfigurations ? m(t, n.getField(t.fieldName)) : n.getFieldConfiguration(t.fieldName)?.fieldFormat;
|
|
109
|
+
return r && t.fieldFormat || i;
|
|
97
110
|
}
|
|
98
111
|
function d(e) {
|
|
99
112
|
return e.trim();
|
|
100
113
|
}
|
|
101
|
-
function
|
|
102
|
-
return e.replaceAll(
|
|
114
|
+
function x(e) {
|
|
115
|
+
return e.replaceAll(y, "");
|
|
103
116
|
}
|
|
104
|
-
function R(e,
|
|
105
|
-
return `{${
|
|
117
|
+
function R(e, n) {
|
|
118
|
+
return `{${n.get(e.toLowerCase())?.fieldName || e}}`;
|
|
106
119
|
}
|
|
107
|
-
function
|
|
120
|
+
function E({
|
|
108
121
|
formattedValues: e,
|
|
109
|
-
template:
|
|
110
|
-
fieldInfoMap:
|
|
122
|
+
template: n,
|
|
123
|
+
fieldInfoMap: t
|
|
111
124
|
}) {
|
|
112
125
|
return d(
|
|
113
|
-
|
|
126
|
+
x(
|
|
114
127
|
a(
|
|
115
|
-
a(
|
|
128
|
+
a(n, (r) => R(r, t)),
|
|
116
129
|
e
|
|
117
130
|
)
|
|
118
131
|
)
|
|
119
132
|
);
|
|
120
133
|
}
|
|
121
|
-
function
|
|
122
|
-
return !(e && "getField" in e && typeof e.getField == "function") || !
|
|
134
|
+
function p(e, n) {
|
|
135
|
+
return !(e && "getField" in e && typeof e.getField == "function") || !n ? null : e.getField(n) ?? null;
|
|
123
136
|
}
|
|
124
|
-
function
|
|
125
|
-
return e.replaceAll(
|
|
126
|
-
const o =
|
|
137
|
+
function v(e, n) {
|
|
138
|
+
return e.replaceAll(C, (t, r, i) => {
|
|
139
|
+
const o = p(n, i);
|
|
127
140
|
return o ? `{${o.name}}` : r;
|
|
128
141
|
});
|
|
129
142
|
}
|
|
130
|
-
function V(e,
|
|
131
|
-
const r =
|
|
143
|
+
function V(e, n, t = !1) {
|
|
144
|
+
const r = n[e];
|
|
132
145
|
if (typeof r == "string") {
|
|
133
|
-
const o = (
|
|
134
|
-
|
|
146
|
+
const o = (t ? encodeURIComponent(r) : r).replaceAll(
|
|
147
|
+
L,
|
|
135
148
|
"%27"
|
|
136
149
|
);
|
|
137
|
-
|
|
150
|
+
n[e] = o;
|
|
138
151
|
}
|
|
139
152
|
}
|
|
140
|
-
function
|
|
141
|
-
const
|
|
142
|
-
return Object.keys(
|
|
153
|
+
function O(e, n = !1) {
|
|
154
|
+
const t = { ...e };
|
|
155
|
+
return Object.keys(t).forEach((r) => V(r, t, n)), t;
|
|
143
156
|
}
|
|
144
|
-
function
|
|
145
|
-
|
|
146
|
-
const r =
|
|
147
|
-
return a(e,
|
|
157
|
+
function P(e, n, t) {
|
|
158
|
+
n = d(n);
|
|
159
|
+
const r = n && !n.startsWith("{");
|
|
160
|
+
return a(e, O(t, r || !1));
|
|
148
161
|
}
|
|
149
|
-
function
|
|
150
|
-
const r =
|
|
162
|
+
function S(e, n, t) {
|
|
163
|
+
const r = v(e, t);
|
|
151
164
|
return r && r.replaceAll(
|
|
152
|
-
|
|
153
|
-
(i, o, s) =>
|
|
165
|
+
h,
|
|
166
|
+
(i, o, s) => P(i, o || s, n)
|
|
154
167
|
);
|
|
155
168
|
}
|
|
156
|
-
function
|
|
169
|
+
function Q({
|
|
157
170
|
values: e,
|
|
158
|
-
globalValues:
|
|
159
|
-
layer:
|
|
171
|
+
globalValues: n,
|
|
172
|
+
layer: t,
|
|
160
173
|
text: r,
|
|
161
174
|
fieldInfoMap: i
|
|
162
175
|
}) {
|
|
163
|
-
return r ?
|
|
164
|
-
formattedValues:
|
|
165
|
-
template:
|
|
176
|
+
return r ? E({
|
|
177
|
+
formattedValues: n,
|
|
178
|
+
template: S(
|
|
166
179
|
r,
|
|
167
180
|
{
|
|
168
|
-
...
|
|
181
|
+
...n,
|
|
169
182
|
...e
|
|
170
183
|
},
|
|
171
|
-
|
|
184
|
+
t
|
|
172
185
|
),
|
|
173
186
|
fieldInfoMap: i
|
|
174
187
|
}) : "";
|
|
175
188
|
}
|
|
176
|
-
async function
|
|
189
|
+
async function X({
|
|
177
190
|
type: e,
|
|
178
|
-
value:
|
|
179
|
-
event:
|
|
191
|
+
value: n,
|
|
192
|
+
event: t
|
|
180
193
|
}) {
|
|
181
194
|
try {
|
|
182
|
-
return typeof
|
|
195
|
+
return typeof n == "function" ? n(t) : await n;
|
|
183
196
|
} catch (r) {
|
|
184
|
-
|
|
197
|
+
F("error", "arcgis-feature", `An error occurred when calling the "${e}" function`, {
|
|
185
198
|
detail: {
|
|
186
199
|
error: r,
|
|
187
|
-
graphic:
|
|
188
|
-
value:
|
|
200
|
+
graphic: t.graphic,
|
|
201
|
+
value: n
|
|
189
202
|
}
|
|
190
203
|
});
|
|
191
204
|
return;
|
|
192
205
|
}
|
|
193
206
|
}
|
|
194
207
|
export {
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
208
|
+
X as a,
|
|
209
|
+
Q as b,
|
|
210
|
+
W as c,
|
|
211
|
+
j as d,
|
|
212
|
+
U as e,
|
|
213
|
+
A as f,
|
|
214
|
+
_ as g,
|
|
215
|
+
q as h,
|
|
203
216
|
c as i,
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
217
|
+
J as j,
|
|
218
|
+
T as k,
|
|
219
|
+
K as l,
|
|
220
|
+
v as m,
|
|
221
|
+
E as n,
|
|
222
|
+
D as o,
|
|
223
|
+
f as p,
|
|
224
|
+
G as q,
|
|
225
|
+
B as s
|
|
212
226
|
};
|
|
@@ -1,26 +1,27 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
2
|
import { html as b } from "lit";
|
|
3
3
|
import { initializeProjection as w } from "@arcgis/core/applications/Components/featureUtils.js";
|
|
4
|
-
import {
|
|
4
|
+
import { signal as g } from "@arcgis/core/applications/Components/reactiveUtils.js";
|
|
5
|
+
import { when as v, watch as s } from "@arcgis/core/core/reactiveUtils.js";
|
|
5
6
|
import m from "@arcgis/core/geometry/Point.js";
|
|
6
7
|
import P from "@arcgis/core/Graphic.js";
|
|
7
|
-
import { GenericController as
|
|
8
|
-
import { getSlotAssignedElements as
|
|
9
|
-
import { whenOrAbort as
|
|
10
|
-
import { createRef as
|
|
11
|
-
import { c as
|
|
12
|
-
import { observeAncestorsMutation as
|
|
8
|
+
import { GenericController as y, useDirection as _, makeController as S, makeGenericController as f } from "@arcgis/lumina/controllers";
|
|
9
|
+
import { getSlotAssignedElements as C } from "@arcgis/toolkit/dom/slots";
|
|
10
|
+
import { whenOrAbort as R } from "@arcgis/toolkit/promise";
|
|
11
|
+
import { createRef as A } from "lit/directives/ref.js";
|
|
12
|
+
import { c as L, S as F } from "./slots.js";
|
|
13
|
+
import { observeAncestorsMutation as G, unsafeGetCalciteModeName as O } from "@arcgis/toolkit/dom";
|
|
13
14
|
import { createEvent as d } from "@arcgis/lumina";
|
|
14
|
-
async function*
|
|
15
|
+
async function* M(n, o) {
|
|
15
16
|
for (const e of n) {
|
|
16
|
-
const t = await
|
|
17
|
+
const t = await R(e, o).catch(() => {
|
|
17
18
|
});
|
|
18
19
|
if (o.aborted)
|
|
19
20
|
return;
|
|
20
21
|
yield* Array.isArray(t) ? t.filter((i) => i instanceof P) : [];
|
|
21
22
|
}
|
|
22
23
|
}
|
|
23
|
-
async function*
|
|
24
|
+
async function* V(n, o, e, t) {
|
|
24
25
|
let i;
|
|
25
26
|
e instanceof m ? (await w(e.spatialReference, n.spatialReference), i = n.toScreen(e)) : i = e;
|
|
26
27
|
const p = i ? n.fetchPopupFeatures(i, {
|
|
@@ -35,22 +36,22 @@ function u(n, o) {
|
|
|
35
36
|
const e = "width" in o ? { x: o.x + o.width / 2, y: o.y + o.height / 2 } : o;
|
|
36
37
|
return n.toMap(e) ?? void 0;
|
|
37
38
|
}
|
|
38
|
-
function
|
|
39
|
+
function D(n, o, e, t) {
|
|
39
40
|
const i = {};
|
|
40
41
|
return {
|
|
41
42
|
diagnostics: i,
|
|
42
|
-
featureStream:
|
|
43
|
+
featureStream: V(n, o, e, {
|
|
43
44
|
diagnostics: i,
|
|
44
45
|
signal: t
|
|
45
46
|
}),
|
|
46
47
|
location: u(n, e)
|
|
47
48
|
};
|
|
48
49
|
}
|
|
49
|
-
class
|
|
50
|
+
class J extends y {
|
|
50
51
|
//#endregion
|
|
51
52
|
//#region Lifecycle
|
|
52
53
|
constructor(o) {
|
|
53
|
-
super(o), this.direction =
|
|
54
|
+
super(o), this.direction = _(), this.popupRef = A(), this._popupElement = g(void 0), this._popupAbortController = null, this.slotGroupRefs = L(), this.attributionHeight = 0, this._uiContainer = null, this.component.listenOn(globalThis, "unhandledrejection", (e) => {
|
|
54
55
|
const t = e.reason;
|
|
55
56
|
if (t?.name === "webgl:required") {
|
|
56
57
|
const { name: i } = t;
|
|
@@ -58,19 +59,26 @@ class B extends v {
|
|
|
58
59
|
}
|
|
59
60
|
});
|
|
60
61
|
}
|
|
62
|
+
get popupElement() {
|
|
63
|
+
return this._popupElement.value;
|
|
64
|
+
}
|
|
65
|
+
set popupElement(o) {
|
|
66
|
+
this._popupElement.value = o;
|
|
67
|
+
}
|
|
61
68
|
//#endregion
|
|
62
69
|
//#region Private Methods
|
|
63
70
|
hostLifecycle() {
|
|
64
71
|
return [
|
|
65
|
-
|
|
72
|
+
v(() => this.component.view.ready, () => {
|
|
66
73
|
this._assignDefaultPopup();
|
|
67
74
|
}),
|
|
68
75
|
s(() => this.component.view.popup?.visible, (e, t) => {
|
|
69
76
|
(e || t) && this._cancelPopupOperation(), e && this.popupElement?.open && (this.popupElement.open = !1);
|
|
70
77
|
}, { initial: !0 }),
|
|
78
|
+
// Cancel the closing operation before openPopup() installs its replacement.
|
|
71
79
|
s(() => this.component.popupElement?.open, (e, t) => {
|
|
72
80
|
t && !e && this._cancelPopupOperation();
|
|
73
|
-
}, { initial: !0 }),
|
|
81
|
+
}, { initial: !0, sync: !0 }),
|
|
74
82
|
this.component.view.on("focus-region-select", (e) => this._handleFocusRegionSelect(e)),
|
|
75
83
|
this.component.view.on(
|
|
76
84
|
"click",
|
|
@@ -95,9 +103,9 @@ class B extends v {
|
|
|
95
103
|
return;
|
|
96
104
|
const { fetchFeatures: t, shouldFocus: i, title: p, featureStream: l, promises: h, location: r, ...E } = o, a = r ? u(this.component.view, r) : void 0, c = r ?? this.popupElement.location;
|
|
97
105
|
Object.assign(this.popupElement, E), p !== void 0 && (this.popupElement.heading = p), l ? await this.popupElement.openFeatureStream({ featureStream: l, location: a }) : h?.length ? await this.popupElement.openFeatureStream({
|
|
98
|
-
featureStream:
|
|
106
|
+
featureStream: M(h, e.signal),
|
|
99
107
|
location: a
|
|
100
|
-
}) : t && c ? await this.popupElement.openFeatureStream(
|
|
108
|
+
}) : t && c ? await this.popupElement.openFeatureStream(D(this.component.view, this.popupElement, c, e.signal)) : (this.popupElement.featureStream = null, r !== void 0 && (this.popupElement.location = a), this.popupElement.open = !0), i && !e.signal.aborted && await this.popupElement.setFocus();
|
|
101
109
|
} else {
|
|
102
110
|
const { location: t, ...i } = o;
|
|
103
111
|
await this.component.view.openPopup({
|
|
@@ -150,7 +158,7 @@ class B extends v {
|
|
|
150
158
|
});
|
|
151
159
|
}
|
|
152
160
|
_handlePopupSlotChange(o) {
|
|
153
|
-
const e =
|
|
161
|
+
const e = C(o.target, "arcgis-popup");
|
|
154
162
|
!this.popupElement && e.length ? this.popupElement = e[0] : e.length || (this.popupElement = void 0);
|
|
155
163
|
}
|
|
156
164
|
_webGLErrorAlert() {
|
|
@@ -159,23 +167,23 @@ class B extends v {
|
|
|
159
167
|
//#endregion
|
|
160
168
|
//#region Rendering
|
|
161
169
|
render() {
|
|
162
|
-
return
|
|
170
|
+
return F({ direction: this.direction, popupComponentEnabled: this.component.popupComponentEnabled, slotGroupRefs: this.slotGroupRefs, handlePopupSlotChange: (o) => this._handlePopupSlotChange(o), webGLErrorElement: this._webGLErrorAlert(), popupElement: this.popupRef });
|
|
163
171
|
}
|
|
164
172
|
}
|
|
165
|
-
function
|
|
166
|
-
|
|
173
|
+
function Q(n) {
|
|
174
|
+
S((o, e) => {
|
|
167
175
|
const t = () => {
|
|
168
176
|
if (n.attributionMode !== "auto")
|
|
169
177
|
return;
|
|
170
|
-
const i =
|
|
178
|
+
const i = O(n.el);
|
|
171
179
|
n.view.attributionMode !== i && (n.view.attributionMode = i);
|
|
172
180
|
};
|
|
173
|
-
e.onLifecycle(() => (t(),
|
|
181
|
+
e.onLifecycle(() => (t(), G(n.el, ["class"], t))), e.onUpdate((i) => {
|
|
174
182
|
i.has("attributionMode") && n.attributionMode === "auto" && t();
|
|
175
183
|
});
|
|
176
184
|
});
|
|
177
185
|
}
|
|
178
|
-
const
|
|
186
|
+
const W = f((n, o) => {
|
|
179
187
|
const e = d();
|
|
180
188
|
return o.onLifecycle(
|
|
181
189
|
() => s(
|
|
@@ -193,7 +201,7 @@ const J = f((n, o) => {
|
|
|
193
201
|
}
|
|
194
202
|
)
|
|
195
203
|
), e;
|
|
196
|
-
}),
|
|
204
|
+
}), X = f(
|
|
197
205
|
(n, o) => {
|
|
198
206
|
const e = d();
|
|
199
207
|
return o.onLifecycle(
|
|
@@ -207,8 +215,8 @@ const J = f((n, o) => {
|
|
|
207
215
|
}
|
|
208
216
|
);
|
|
209
217
|
export {
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
218
|
+
J as U,
|
|
219
|
+
X as a,
|
|
220
|
+
Q as b,
|
|
221
|
+
W as u
|
|
214
222
|
};
|
|
@@ -8,8 +8,8 @@ import { LitElement as _, renderElement as A } from "@arcgis/lumina";
|
|
|
8
8
|
import { a as f } from "../../chunks/maybe.js";
|
|
9
9
|
import { usePropertyChange as w, bypassReadOnly as d } from "@arcgis/lumina/controllers";
|
|
10
10
|
import { getDisplayedSymbol as C } from "@arcgis/core/symbols/support/symbolUtils.js";
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
11
|
+
import { i as I } from "../../chunks/async-utils.js";
|
|
12
|
+
import { g as v } from "../../chunks/feature-utils.js";
|
|
13
13
|
import { stripHTML as b } from "@arcgis/core/applications/Components/stringUtils.js";
|
|
14
14
|
import { watch as h } from "@arcgis/core/core/reactiveUtils.js";
|
|
15
15
|
const x = m`calcite-notice{padding:var(--calcite-space-lg)}`;
|
|
@@ -108,7 +108,7 @@ class $ extends _ {
|
|
|
108
108
|
a !== t && this._removeBoundaryGraphicFromView(a), this.selectedAggregateBoundaryFeature.geometry = e, this._boundaryGraphicView = t, t.graphics.includes(this.selectedAggregateBoundaryFeature) || t.graphics.add(this.selectedAggregateBoundaryFeature);
|
|
109
109
|
}
|
|
110
110
|
async _getLayerViewAndQuery(e) {
|
|
111
|
-
const { view: t } = this, a =
|
|
111
|
+
const { view: t } = this, a = v(e);
|
|
112
112
|
if (!t || !a)
|
|
113
113
|
return null;
|
|
114
114
|
const r = await t.whenLayerView(a);
|
|
@@ -142,7 +142,7 @@ class $ extends _ {
|
|
|
142
142
|
const n = i.features ?? [];
|
|
143
143
|
this._setAggregatedFeaturesState(n), g.extent ? this._updateAggregateBoundaryFeature(g.extent) : this._removeAggregateBoundaryFeature();
|
|
144
144
|
} catch (i) {
|
|
145
|
-
if (this._abortController !== r || (this._abortController = null, this._setLoading(!1),
|
|
145
|
+
if (this._abortController !== r || (this._abortController = null, this._setLoading(!1), I(i)))
|
|
146
146
|
return;
|
|
147
147
|
this._resetAggregatedFeaturesState();
|
|
148
148
|
}
|
|
@@ -125,7 +125,7 @@ class R extends f {
|
|
|
125
125
|
return c`<div aria-label=${e.componentLabel ?? v} class=${x({
|
|
126
126
|
[g.widget]: !0,
|
|
127
127
|
[g.panel]: !0
|
|
128
|
-
})} role=
|
|
128
|
+
})} role=region><arcgis-measurement-content .state=${i.displayState} .hintLabel=${e.hint} .unsupportedLabel=${e.unsupported} .items=${[
|
|
129
129
|
{
|
|
130
130
|
title: e.area,
|
|
131
131
|
measurement: s.area
|
|
@@ -8,12 +8,12 @@ import { createRef as g, ref as h } from "lit/directives/ref.js";
|
|
|
8
8
|
import C from "@arcgis/core/core/Accessor.js";
|
|
9
9
|
import { property as d, subclass as E } from "@arcgis/core/core/accessorSupport/decorators.js";
|
|
10
10
|
import { usePropertyChange as k } from "@arcgis/lumina/controllers";
|
|
11
|
-
import { m as
|
|
12
|
-
import { LitElement as
|
|
11
|
+
import { m as T } from "../../chunks/useViewModel.js";
|
|
12
|
+
import { LitElement as I, createEvent as H, safeClassMap as u, nothing as M } from "@arcgis/lumina";
|
|
13
13
|
import { classes as m } from "@arcgis/toolkit/dom";
|
|
14
14
|
var P = Object.defineProperty, O = Object.getOwnPropertyDescriptor, c = (i, e, t, a) => {
|
|
15
|
-
for (var n = a > 1 ? void 0 : a ? O(e, t) : e,
|
|
16
|
-
(
|
|
15
|
+
for (var n = a > 1 ? void 0 : a ? O(e, t) : e, s = i.length - 1, o; s >= 0; s--)
|
|
16
|
+
(o = i[s]) && (n = (a ? o(e, t, n) : o(n)) || n);
|
|
17
17
|
return a && n && P(e, t, n), n;
|
|
18
18
|
};
|
|
19
19
|
const v = new EventTarget();
|
|
@@ -21,8 +21,8 @@ function S(i, e, t) {
|
|
|
21
21
|
let a = !1;
|
|
22
22
|
const n = w(
|
|
23
23
|
i,
|
|
24
|
-
(
|
|
25
|
-
a || e(
|
|
24
|
+
(s, o) => {
|
|
25
|
+
a || e(s, o);
|
|
26
26
|
},
|
|
27
27
|
t
|
|
28
28
|
);
|
|
@@ -117,8 +117,8 @@ c([
|
|
|
117
117
|
r = c([
|
|
118
118
|
E("map-components.expand.ExpandViewModel")
|
|
119
119
|
], r);
|
|
120
|
-
const L = y`:host{display:flex;pointer-events:auto;--arcgis-internal-expand-icon-number-spacing-left: none;--arcgis-internal-expand-icon-number-spacing-right: none;--arcgis-internal-expand-action-background-color: var( --calcite-action-background-color, var(--calcite-color-foreground-1) );--arcgis-internal-expand-action-background-color-hover: var( --calcite-action-background-color-hover, var(--calcite-color-foreground-2) );--arcgis-internal-expand-action-background-color-press: var( --calcite-action-background-color-press, var(--calcite-color-foreground-3) )}arcgis-expand>.content-expanded{background-color:var(--calcite-color-background)}.root{--esri-widget-panel-max-height: 95svh;--calcite-sheet-max-height: var(--esri-widget-panel-max-height);--calcite-sheet-height: auto;--calcite-action-corner-radius: 0}.action{--calcite-action-background-color: var(--arcgis-internal-expand-action-background-color);--calcite-action-background-color-hover: var(--arcgis-internal-expand-action-background-color-hover);--calcite-action-background-color-press: var(--arcgis-internal-expand-action-background-color-press);cursor:pointer;text-align:center;color:var(--calcite-color-text-2);justify-content:center;align-items:center;margin:0;padding:0;font-size:var(--calcite-font-size);transition:background-color .125s ease-in-out;display:flex;flex-direction:column;overflow:hidden}.toggle{position:relative}.popover-content{flex-direction:column;display:flex;max-height:var(--arcgis-internal-expand-max-height, 95svh);::slotted(*){max-height:var(--arcgis-internal-expand-max-height, 95svh);overflow-y:auto}::slotted(arcgis-sketch){--arcgis-internal-sketch-gap: var(--calcite-spacing-none)}::slotted(:is(arcgis-area-measurement-2d,arcgis-area-measurement-3d,arcgis-basemap-gallery,arcgis-basemap-layer-list,arcgis-basemap-layer-list-next,arcgis-bookmarks,arcgis-building-explorer,arcgis-catalog-layer-list,arcgis-catalog-layer-list-next,arcgis-directions,arcgis-direct-line-measurement-3d,arcgis-distance-measurement-2d,arcgis-editor,arcgis-feature-form,arcgis-features,arcgis-layer-list,arcgis-layer-list-next,arcgis-legend,arcgis-line-of-sight,arcgis-print,arcgis-shadow-cast,arcgis-slice,arcgis-table-list,arcgis-table-list-next,arcgis-utility-network-trace,arcgis-grid-controls)){width:var(--arcgis-internal-panel-width);min-width:var(--calcite-spacing-xxxl);min-height:var(--calcite-spacing-xxxl);transition:max-height .25s ease-in-out}::slotted(arcgis-exploratory-analysis){width:var(--arcgis-internal-exploratory-analysis-width, fit-content);min-height:var(--calcite-spacing-xxxl);transition:max-height .25s ease-in-out}}.popover-content .esri-widget--panel{width:300px}.panel{max-height:var(--esri-widget-panel-max-height)}.panel-content{::slotted(*){width:100%}::slotted(:is(arcgis-area-measurement-2d,arcgis-area-measurement-3d,arcgis-basemap-gallery,arcgis-basemap-layer-list,arcgis-basemap-layer-list-next,arcgis-bookmarks,arcgis-building-explorer,arcgis-catalog-layer-list,arcgis-catalog-layer-list-next,arcgis-directions,arcgis-direct-line-measurement-3d,arcgis-distance-measurement-2d,arcgis-editor,arcgis-feature-form,arcgis-features,arcgis-layer-list,arcgis-layer-list-next,arcgis-legend,arcgis-line-of-sight,arcgis-print,arcgis-shadow-cast,arcgis-slice,arcgis-table-list,arcgis-table-list-next,arcgis-utility-network-trace,arcgis-grid-controls)){overflow-y:auto}}.panel-content .esri-widget{width:auto}.panel-content .esri-widget--panel{flex:auto}.arcgis-map-container-ui__element .popover-content .esri-widget,.arcgis-map-container-ui__element .popover-content .esri-widget.esri-component,.arcgis-map-container-ui__element .panel-content .esri-widget,.arcgis-map-container-ui__element .panel-content .esri-widget.esri-component,.popover-content .esri-widget,.popover-content .esri-widget.esri-component,.panel-content .esri-widget,.panel-content .esri-widget.esri-component{box-sizing:border-box;box-shadow:none;margin-bottom:0}.panel-content,.content-container{background-color:var(--calcite-color-foreground-1);flex-direction:column;flex:auto;justify-content:stretch;display:flex}.sheet .panel-content,.sheet .content-container{overflow:hidden}.panel-icon-number{align-self:center}.icon{display:flex}calcite-button:not(:hover) .icon:not(calcite-icon){color:var(--calcite-color-text-3)}.icon-flip{transform:var(--arcgis-internal-collapse-icon-flip)}.icon-number{transform-origin:50%;color:var(--calcite-color-text-inverse);pointer-events:none;background-color:var(--calcite-color-text-3);border-radius:var(--calcite-spacing-xl);justify-content:center;align-items:center;height:var(--calcite-spacing-lg);padding:.125em .333em;font-size:var(--calcite-font-size-sm);line-height:1em;display:flex;position:absolute;top:-6px;left:var(--arcgis-internal-expand-icon-number-spacing-left);right:var(--arcgis-internal-expand-icon-number-spacing-right)}`, f = "chevrons-left", x = "chevrons-right", V =
|
|
121
|
-
class z extends
|
|
120
|
+
const L = y`:host{display:flex;pointer-events:auto;--arcgis-internal-expand-icon-number-spacing-left: none;--arcgis-internal-expand-icon-number-spacing-right: none;--arcgis-internal-expand-action-background-color: var( --calcite-action-background-color, var(--calcite-color-foreground-1) );--arcgis-internal-expand-action-background-color-hover: var( --calcite-action-background-color-hover, var(--calcite-color-foreground-2) );--arcgis-internal-expand-action-background-color-press: var( --calcite-action-background-color-press, var(--calcite-color-foreground-3) )}arcgis-expand>.content-expanded{background-color:var(--calcite-color-background)}.root{--esri-widget-panel-max-height: 95svh;--calcite-sheet-max-height: var(--esri-widget-panel-max-height);--calcite-sheet-height: auto;--calcite-action-corner-radius: 0}.action{--calcite-action-background-color: var(--arcgis-internal-expand-action-background-color);--calcite-action-background-color-hover: var(--arcgis-internal-expand-action-background-color-hover);--calcite-action-background-color-press: var(--arcgis-internal-expand-action-background-color-press);cursor:pointer;text-align:center;color:var(--calcite-color-text-2);justify-content:center;align-items:center;margin:0;padding:0;font-size:var(--calcite-font-size);transition:background-color .125s ease-in-out;display:flex;flex-direction:column;overflow:hidden}.toggle{position:relative}.popover-content{flex-direction:column;display:flex;max-height:var(--arcgis-internal-expand-max-height, 95svh);::slotted(*){max-height:var(--arcgis-internal-expand-max-height, 95svh);overflow-y:auto}::slotted(arcgis-sketch){--arcgis-internal-sketch-gap: var(--calcite-spacing-none)}::slotted(:is(arcgis-area-measurement-2d,arcgis-area-measurement-3d,arcgis-basemap-gallery,arcgis-basemap-layer-list,arcgis-basemap-layer-list-next,arcgis-bookmarks,arcgis-building-explorer,arcgis-catalog-layer-list,arcgis-catalog-layer-list-next,arcgis-directions,arcgis-direct-line-measurement-3d,arcgis-distance-measurement-2d,arcgis-editor,arcgis-feature-form,arcgis-features,arcgis-layer-list,arcgis-layer-list-next,arcgis-legend,arcgis-line-of-sight,arcgis-print,arcgis-shadow-cast,arcgis-slice,arcgis-table-list,arcgis-table-list-next,arcgis-utility-network-trace,arcgis-grid-controls)){width:var(--arcgis-internal-panel-width);min-width:var(--calcite-spacing-xxxl);min-height:var(--calcite-spacing-xxxl);transition:max-height .25s ease-in-out}::slotted(arcgis-exploratory-analysis){width:var(--arcgis-internal-exploratory-analysis-width, fit-content);min-height:var(--calcite-spacing-xxxl);transition:max-height .25s ease-in-out}}.popover-content .esri-widget--panel{width:300px}.panel{max-height:var(--esri-widget-panel-max-height)}.panel-content{::slotted(*){width:100%}::slotted(:is(arcgis-area-measurement-2d,arcgis-area-measurement-3d,arcgis-basemap-gallery,arcgis-basemap-layer-list,arcgis-basemap-layer-list-next,arcgis-bookmarks,arcgis-building-explorer,arcgis-catalog-layer-list,arcgis-catalog-layer-list-next,arcgis-directions,arcgis-direct-line-measurement-3d,arcgis-distance-measurement-2d,arcgis-editor,arcgis-feature-form,arcgis-features,arcgis-layer-list,arcgis-layer-list-next,arcgis-legend,arcgis-line-of-sight,arcgis-print,arcgis-shadow-cast,arcgis-slice,arcgis-table-list,arcgis-table-list-next,arcgis-utility-network-trace,arcgis-grid-controls)){overflow-y:auto}}.panel-content .esri-widget{width:auto}.panel-content .esri-widget--panel{flex:auto}.arcgis-map-container-ui__element .popover-content .esri-widget,.arcgis-map-container-ui__element .popover-content .esri-widget.esri-component,.arcgis-map-container-ui__element .panel-content .esri-widget,.arcgis-map-container-ui__element .panel-content .esri-widget.esri-component,.popover-content .esri-widget,.popover-content .esri-widget.esri-component,.panel-content .esri-widget,.panel-content .esri-widget.esri-component{box-sizing:border-box;box-shadow:none;margin-bottom:0}.panel-content,.content-container{background-color:var(--calcite-color-foreground-1);flex-direction:column;flex:auto;justify-content:stretch;display:flex}.sheet .panel-content,.sheet .content-container{overflow:hidden}.panel-icon-number{align-self:center}.icon{display:flex}calcite-button:not(:hover) .icon:not(calcite-icon){color:var(--calcite-color-text-3)}.icon-flip{transform:var(--arcgis-internal-collapse-icon-flip)}.icon-number{transform-origin:50%;color:var(--calcite-color-text-inverse);pointer-events:none;background-color:var(--calcite-color-text-3);border-radius:var(--calcite-spacing-xl);justify-content:center;align-items:center;height:var(--calcite-spacing-lg);padding:.125em .333em;font-size:var(--calcite-font-size-sm);line-height:1em;display:flex;position:absolute;top:-6px;left:var(--arcgis-internal-expand-icon-number-spacing-left);right:var(--arcgis-internal-expand-icon-number-spacing-right)}`, f = "chevrons-left", x = "chevrons-right", V = T(r);
|
|
121
|
+
class z extends I {
|
|
122
122
|
constructor() {
|
|
123
123
|
super(...arguments), this.popoverEl = g(), this.messages = D({}), this.viewModel = V(this), this.toggleActionEl = g(), this.view = this.viewModel.view, this.state = this.viewModel.state, this.autoDestroyDisabled = !1, this.autoCollapse = this.viewModel.autoCollapse, this.closeOnEscDisabled = !1, this.content = "", this.expanded = this.viewModel.expanded, this.expandTooltip = "", this.collapseTooltip = "", this.focusTrapDisabled = !1, this.group = this.viewModel.group, this.iconNumber = 0, this.mode = "auto", this.topLayerDisabled = !1, this.modalDisabled = !1, this.visualScale = "m", this.arcgisPropertyChange = k()("expanded"), this.arcgisReady = H();
|
|
124
124
|
}
|
|
@@ -213,16 +213,16 @@ class z extends T {
|
|
|
213
213
|
this._slottedIcon = t?.icon;
|
|
214
214
|
}
|
|
215
215
|
render() {
|
|
216
|
-
const { _displaySheet: e, toggleActionEl: t, expanded: a, label: n, modalDisabled:
|
|
217
|
-
return l`<div class=${u(m("root", $.widget))}>${this._renderToggle()}${e ? l`<calcite-sheet class="sheet" height=l .label=${n ?? ""} .modalDisabled=${
|
|
216
|
+
const { _displaySheet: e, toggleActionEl: t, expanded: a, label: n, modalDisabled: s, topLayerDisabled: o } = this;
|
|
217
|
+
return l`<div class=${u(m("root", $.widget))}>${this._renderToggle()}${e ? l`<calcite-sheet class="sheet" .focusTrapDisabled=${this.focusTrapDisabled} height=l .label=${n ?? ""} .modalDisabled=${s} .topLayerDisabled=${o} @keydown=${this._handleKeyDown} .open=${a} position=block-end @calciteSheetClose=${this.collapse}><calcite-panel class="panel" closable .closed=${!a} .heading=${n} @keydown=${this._handleKeyDown} @calcitePanelClose=${this.collapse}><div class="panel-content">${this._renderContent()}</div></calcite-panel></calcite-sheet>` : t.value ? l`<calcite-popover .focusTrapDisabled=${this.focusTrapDisabled} .label=${n ?? ""} @keydown=${this._handleKeyDown} trigger-disabled .open=${a} overlay-positioning=fixed .placement=${this.getPopoverPlacement()} .referenceElement=${t.value} .topLayerDisabled=${o} @calcitePopoverClose=${this._handlePopoverClose} ${h(this.popoverEl)}><div class="popover-content">${this._renderContent()}</div></calcite-popover>` : null}</div>`;
|
|
218
218
|
}
|
|
219
219
|
_renderBadgeNumber() {
|
|
220
220
|
const { expanded: e, iconNumber: t } = this;
|
|
221
221
|
return t && !e ? l`<span class="icon-number">${t}</span>` : null;
|
|
222
222
|
}
|
|
223
223
|
_renderToggleButton() {
|
|
224
|
-
const { expanded: e, expandTitle: t, expandIcon: a, collapseIcon: n } = this,
|
|
225
|
-
return l`<calcite-action class=${u(m("action", "icon", { "icon-flip":
|
|
224
|
+
const { expanded: e, expandTitle: t, expandIcon: a, collapseIcon: n } = this, s = e ? n : a;
|
|
225
|
+
return l`<calcite-action class=${u(m("action", "icon", { "icon-flip": s === f || s === x }))} @click=${this.toggle} .text=${t} title=${t ?? M} .icon=${s} .scale=${this.visualScale} ${h(this.toggleActionEl)}></calcite-action>`;
|
|
226
226
|
}
|
|
227
227
|
_renderToggle() {
|
|
228
228
|
return l`<div class="toggle">${this._renderToggleButton()}${this._renderBadgeNumber()}</div>`;
|
|
@@ -9,7 +9,7 @@ import { m as x } from "../../chunks/useViewModel.js";
|
|
|
9
9
|
import { LitElement as F, createEvent as b, nothing as _, safeClassMap as L } from "@arcgis/lumina";
|
|
10
10
|
import { substitute as T } from "@arcgis/core/intl.js";
|
|
11
11
|
import { renderingSanitizer as A } from "@arcgis/core/applications/Components/sanitizerUtils.js";
|
|
12
|
-
import { c as D,
|
|
12
|
+
import { c as D, h as k, d as R, e as V, b as c, i as B, f as H } from "../../chunks/feature-utils.js";
|
|
13
13
|
import N from "@arcgis/core/core/Collection.js";
|
|
14
14
|
import { watch as P } from "@arcgis/core/core/reactiveUtils.js";
|
|
15
15
|
import { stripHTML as Z } from "@arcgis/core/applications/Components/stringUtils.js";
|