@arcgis/map-components 5.2.0-next.126 → 5.2.0-next.128
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/2OMNJPFV.js +2 -0
- 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/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/{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/7IB5M3LS.js +2 -0
- 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/{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/{SGA5LQW4.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/FIZLWHMR.js +2 -0
- package/dist/cdn/{2CHRFLK4.js → FLFOMU5V.js} +1 -1
- package/dist/cdn/FX2T6AOI.js +2 -0
- package/dist/cdn/G5YUYYQA.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/{DDZKBKTV.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/{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/{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/Q4NUPFEB.js +2 -0
- 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/QRK6FDLW.js +2 -0
- 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/{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/SNNLU3TM.js +2 -0
- 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/{K4DCZOCW.js → UIWQMNVA.js} +1 -1
- 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/{DYDFKP44.js → Y3SFKTBJ.js} +1 -1
- package/dist/cdn/{EHXNLGTZ.js → Y4AWD5AV.js} +1 -1
- package/dist/cdn/{44NU63UA.js → Y4Z4GN66.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/{BLCZLLCG.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/{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/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-3d/customElement.js +1 -1
- 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-expand/customElement.js +12 -12
- 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 +8 -0
- package/dist/components/arcgis-feature-table/customElement.js +28 -26
- package/dist/components/arcgis-features-next/customElement.d.ts +1 -1
- 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 +22 -25
- package/dist/components/arcgis-popup/customElement.js +8 -8
- package/dist/components/arcgis-popup/types.d.ts +15 -6
- 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-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 +5 -4
- package/dist/types/lumina.d.ts +8 -2
- package/dist/types/preact.d.ts +9 -2
- package/dist/types/react.d.ts +10 -2
- package/dist/types/stencil.d.ts +8 -2
- 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/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/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/TE7CGN73.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
|
};
|
|
@@ -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>`;
|
|
@@ -7,7 +7,7 @@ import { usePropertyChange as p } from "@arcgis/lumina/controllers";
|
|
|
7
7
|
import { getSlotAssignedElements as g } from "@arcgis/toolkit/dom/slots";
|
|
8
8
|
import { u as f } from "../../chunks/useT9n.js";
|
|
9
9
|
import { r as d } from "../../chunks/maybe.js";
|
|
10
|
-
const A = u`:host{--arcgis-internal-exploratory-analysis-width: fit-content;display:flex;justify-content:flex-end;width:var(--arcgis-internal-exploratory-analysis-width)}:host(:is([data-content-open],[show-heading])){--arcgis-internal-exploratory-analysis-width: var(--arcgis-internal-panel-width, 300px);calcite-panel{min-width:var(--arcgis-internal-panel-width, 300px)}calcite-action-bar{width:100%}}calcite-panel{flex:none
|
|
10
|
+
const A = u`:host{--arcgis-internal-exploratory-analysis-width: fit-content;display:flex;justify-content:flex-end;width:var(--arcgis-internal-exploratory-analysis-width)}:host(:is([data-content-open],[show-heading])){--arcgis-internal-exploratory-analysis-width: var(--arcgis-internal-panel-width, 300px);calcite-panel{min-width:var(--arcgis-internal-panel-width, 300px)}calcite-action-bar{width:100%}}calcite-panel{flex:none}calcite-action-bar{width:fit-content}.selection-notice-container{padding:var(--calcite-spacing-md)}.selection-notice-list{margin-block:0;padding-inline-start:var(--calcite-spacing-lg)}.measurement-content{--arcgis-internal-padding: var(--calcite-space-md) var(--calcite-space-none);margin-block-end:var(--calcite-space-none)}.measurement-content,slot::slotted(*){width:100%}.footer{display:grid;grid-template-columns:1fr 2fr;gap:var(--calcite-spacing-md);width:100%}`, b = [
|
|
11
11
|
"arcgis-area-measurement-2d",
|
|
12
12
|
"arcgis-area-measurement-3d",
|
|
13
13
|
"arcgis-direct-line-measurement-3d",
|
|
@@ -8,15 +8,22 @@ export abstract class ArcgisFeatureFormField extends LitElement {
|
|
|
8
8
|
/** @internal */
|
|
9
9
|
protected _messages: Partial<{
|
|
10
10
|
componentLabel: string;
|
|
11
|
-
components: { attachments: {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
11
|
+
components: { attachments: {
|
|
12
|
+
"attachment-validation-view": { validations: {
|
|
13
|
+
errorFileUnsupported: string;
|
|
14
|
+
maximumAudioLength: string;
|
|
15
|
+
maximumImageSize: string;
|
|
16
|
+
maximumFileSize: string;
|
|
17
|
+
maximumNumberOfFiles: string;
|
|
18
|
+
maximumVideoLength: string;
|
|
19
|
+
minimumNumberOfFiles: string;
|
|
20
|
+
}; };
|
|
21
|
+
"add-attachment-view": {
|
|
22
|
+
captureMethodNotSupported: string;
|
|
23
|
+
fileToBeReplaced: string;
|
|
24
|
+
heading: string;
|
|
25
|
+
};
|
|
26
|
+
}; };
|
|
20
27
|
units: { bytes: {
|
|
21
28
|
B: string;
|
|
22
29
|
kB: string;
|
|
@@ -28,15 +35,22 @@ export abstract class ArcgisFeatureFormField extends LitElement {
|
|
|
28
35
|
empty: string;
|
|
29
36
|
}> & T9nMeta<{
|
|
30
37
|
componentLabel: string;
|
|
31
|
-
components: { attachments: {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
38
|
+
components: { attachments: {
|
|
39
|
+
"attachment-validation-view": { validations: {
|
|
40
|
+
errorFileUnsupported: string;
|
|
41
|
+
maximumAudioLength: string;
|
|
42
|
+
maximumImageSize: string;
|
|
43
|
+
maximumFileSize: string;
|
|
44
|
+
maximumNumberOfFiles: string;
|
|
45
|
+
maximumVideoLength: string;
|
|
46
|
+
minimumNumberOfFiles: string;
|
|
47
|
+
}; };
|
|
48
|
+
"add-attachment-view": {
|
|
49
|
+
captureMethodNotSupported: string;
|
|
50
|
+
fileToBeReplaced: string;
|
|
51
|
+
heading: string;
|
|
52
|
+
};
|
|
53
|
+
}; };
|
|
40
54
|
units: { bytes: {
|
|
41
55
|
B: string;
|
|
42
56
|
kB: string;
|
|
@@ -57,15 +71,22 @@ export abstract class ArcgisFeatureFormField extends LitElement {
|
|
|
57
71
|
accessor input: FieldInput | undefined;
|
|
58
72
|
accessor messageOverrides: {
|
|
59
73
|
componentLabel?: string | undefined;
|
|
60
|
-
components?: { attachments?: {
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
74
|
+
components?: { attachments?: {
|
|
75
|
+
"attachment-validation-view"?: { validations?: {
|
|
76
|
+
errorFileUnsupported?: string | undefined;
|
|
77
|
+
maximumAudioLength?: string | undefined;
|
|
78
|
+
maximumImageSize?: string | undefined;
|
|
79
|
+
maximumFileSize?: string | undefined;
|
|
80
|
+
maximumNumberOfFiles?: string | undefined;
|
|
81
|
+
maximumVideoLength?: string | undefined;
|
|
82
|
+
minimumNumberOfFiles?: string | undefined;
|
|
83
|
+
} | undefined; } | undefined;
|
|
84
|
+
"add-attachment-view"?: {
|
|
85
|
+
captureMethodNotSupported?: string | undefined;
|
|
86
|
+
fileToBeReplaced?: string | undefined;
|
|
87
|
+
heading?: string | undefined;
|
|
88
|
+
} | undefined;
|
|
89
|
+
} | undefined; } | undefined;
|
|
69
90
|
units?: { bytes?: {
|
|
70
91
|
B?: string | undefined;
|
|
71
92
|
kB?: string | undefined;
|
|
@@ -1001,6 +1001,14 @@ export abstract class ArcgisFeatureTable extends LitElement {
|
|
|
1001
1001
|
* @default false
|
|
1002
1002
|
*/
|
|
1003
1003
|
accessor tableDisabled: boolean;
|
|
1004
|
+
/**
|
|
1005
|
+
* The table ID of a layer in the service.
|
|
1006
|
+
* Use with `layer-item-id` when the service contains multiple layers and tables, and you want to specify which table to use.
|
|
1007
|
+
*
|
|
1008
|
+
* @since 5.2
|
|
1009
|
+
* @internal
|
|
1010
|
+
*/
|
|
1011
|
+
accessor tableId: number | undefined;
|
|
1004
1012
|
/**
|
|
1005
1013
|
* Reference to a table instance that this table is directly related to.
|
|
1006
1014
|
*
|