@arcgis/map-components 5.2.0-next.160 → 5.2.0-next.162
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/{HCN3UC4W.js → 24P3B56P.js} +1 -1
- package/dist/cdn/{QX33OCXB.js → 2DTNZ5ZM.js} +1 -1
- package/dist/cdn/{DSDPDMLP.js → 2H2YCUTD.js} +1 -1
- package/dist/cdn/{3L2J4JFP.js → 2IAD3DI5.js} +1 -1
- package/dist/cdn/2MVAMDNS.js +2 -0
- package/dist/cdn/{RZQNEEP6.js → 2TXVUKFK.js} +1 -1
- package/dist/cdn/{UWKXYCO3.js → 2V3NZCGY.js} +1 -1
- package/dist/cdn/{HLGU3U73.js → 32AID6SI.js} +1 -1
- package/dist/cdn/{JPKB745U.js → 3QTRWVXW.js} +1 -1
- package/dist/cdn/{EESGZV4K.js → 3SFLR6O5.js} +1 -1
- package/dist/cdn/{YHKTMUY7.js → 3U73LNOL.js} +1 -1
- package/dist/cdn/{CQQM24VF.js → 3VWROBRU.js} +1 -1
- package/dist/cdn/{5V2DO6ZW.js → 425K6TZP.js} +1 -1
- package/dist/cdn/{RAOEF6YV.js → 4JUQKQVX.js} +1 -1
- package/dist/cdn/{XPGC5GAG.js → 4KEMJ2WV.js} +1 -1
- package/dist/cdn/{T4V5O3FK.js → 4LYPP56N.js} +1 -1
- package/dist/cdn/{4WAV5GOL.js → 4MORGCH6.js} +1 -1
- package/dist/cdn/{DMYMCGHJ.js → 4NZ7IXTN.js} +1 -1
- package/dist/cdn/{PRTHX6OC.js → 4OPDS2IX.js} +1 -1
- package/dist/cdn/{7DAQGPGD.js → 4RH7KXGJ.js} +1 -1
- package/dist/cdn/{B476G3EX.js → 4TTVR7UK.js} +1 -1
- package/dist/cdn/{WRJNCIEP.js → 4X4YC73A.js} +1 -1
- package/dist/cdn/{S6M66TIN.js → 53ZSDYUK.js} +1 -1
- package/dist/cdn/{YOUMOTN3.js → 54QHGR6M.js} +1 -1
- package/dist/cdn/55FMVRQF.js +2 -0
- package/dist/cdn/{VWFQCWGB.js → 5DSWKRMF.js} +1 -1
- package/dist/cdn/{IRZGEFF5.js → 5GMH7WO5.js} +1 -1
- package/dist/cdn/{27GJE7OY.js → 5J3TRMV4.js} +1 -1
- package/dist/cdn/{EOTKZ4F3.js → 5NOOFVO3.js} +1 -1
- package/dist/cdn/{XCWZZUSV.js → 5P3YDA2J.js} +1 -1
- package/dist/cdn/{OHLJ6POC.js → 5SPGDKNU.js} +1 -1
- package/dist/cdn/{FFJCCMDZ.js → 5SQOFA55.js} +1 -1
- package/dist/cdn/{7EQZKGJN.js → 5WVYY3F2.js} +1 -1
- package/dist/cdn/{CUF7GCDT.js → 67V3RORD.js} +1 -1
- package/dist/cdn/{5UOXHOVU.js → 6C5HYJTX.js} +1 -1
- package/dist/cdn/{MEZHGYCH.js → 6HBNUMMM.js} +1 -1
- package/dist/cdn/{ZW2ZBNX2.js → 6I4O4OP6.js} +1 -1
- package/dist/cdn/{J6MU74RO.js → 6PMF2LH7.js} +1 -1
- package/dist/cdn/{YKSVOTDV.js → 6QHFD6GE.js} +1 -1
- package/dist/cdn/{CF4OY56S.js → 6SRNQFHU.js} +1 -1
- package/dist/cdn/{3YXCLF3K.js → 7H7DAOEA.js} +1 -1
- package/dist/cdn/{7DDCU3NB.js → 7HL355FC.js} +1 -1
- package/dist/cdn/{OGAUCGGG.js → 7HZWKW7P.js} +1 -1
- package/dist/cdn/{MPKC74OS.js → 7KWAYOVZ.js} +1 -1
- package/dist/cdn/{BSTO7TGD.js → 7LHMQDVA.js} +1 -1
- package/dist/cdn/{AW3C3DKA.js → 7O24MNAQ.js} +1 -1
- package/dist/cdn/7PMSUAOO.js +2 -0
- package/dist/cdn/{3E56Q4ZY.js → 7QWDALXI.js} +1 -1
- package/dist/cdn/{N6VSP7BU.js → 7XHT5OZW.js} +1 -1
- package/dist/cdn/{VABVK3ZN.js → AAMMLBR5.js} +1 -1
- package/dist/cdn/{YAEJKOYY.js → ABISOC5K.js} +1 -1
- package/dist/cdn/{O57LOC52.js → AHTSFISJ.js} +1 -1
- package/dist/cdn/{XAD4PUBU.js → ALYYYAT6.js} +1 -1
- package/dist/cdn/{U6VZT3HC.js → ANACVHHA.js} +1 -1
- package/dist/cdn/{FZWFKZLW.js → ANTO53P2.js} +1 -1
- package/dist/cdn/{VTCM7AV2.js → B6T5J7AE.js} +1 -1
- package/dist/cdn/{54CLZESW.js → BBP7HJ56.js} +1 -1
- package/dist/cdn/BFMIWUQN.js +2 -0
- package/dist/cdn/{VCSX4G2U.js → BJ55UYFS.js} +1 -1
- package/dist/cdn/{GF7RZ4IH.js → BKUFQNUO.js} +1 -1
- package/dist/cdn/{FMIWBKT4.js → BL77QP2X.js} +1 -1
- package/dist/cdn/{JBR3FYAN.js → BQBZX2LN.js} +1 -1
- package/dist/cdn/{CX45KI3X.js → BRJV5N3H.js} +1 -1
- package/dist/cdn/{GV3IXBBT.js → BSB356TD.js} +1 -1
- package/dist/cdn/{R3IITUG6.js → BZF63OMM.js} +1 -1
- package/dist/cdn/{GVZKVOM7.js → C6T7AQOJ.js} +1 -1
- package/dist/cdn/{V2GMDCVJ.js → CBAVPTEE.js} +1 -1
- package/dist/cdn/{ZUAR3LO3.js → CJX7JGJD.js} +1 -1
- package/dist/cdn/{J23DTKII.js → CL4XDG6Z.js} +1 -1
- package/dist/cdn/{K6D2JHC4.js → CL5JQN4B.js} +1 -1
- package/dist/cdn/{7VVOJSSE.js → CO7SJMPF.js} +1 -1
- package/dist/cdn/{RQLMXLJC.js → CTWXAKDR.js} +1 -1
- package/dist/cdn/{DOEKV7G3.js → D33FNOVH.js} +1 -1
- package/dist/cdn/{QTDJVI5F.js → D7CBD7BC.js} +1 -1
- package/dist/cdn/{E53ARLWV.js → D7DOUWMR.js} +1 -1
- package/dist/cdn/{IXWGGAVX.js → DA7OOJVG.js} +1 -1
- package/dist/cdn/{XYNRLVTU.js → DHZABM2L.js} +1 -1
- package/dist/cdn/{LIN3GOTG.js → DQIPN7ZF.js} +1 -1
- package/dist/cdn/{3MQPSWL6.js → DQOQZ4MX.js} +1 -1
- package/dist/cdn/{X3DQNCTZ.js → DUVDBJYK.js} +1 -1
- package/dist/cdn/{HZX7MSQG.js → E6PKGP4K.js} +1 -1
- package/dist/cdn/{VJE33ARY.js → EAUQSXQK.js} +1 -1
- package/dist/cdn/{3O4SVNIK.js → EBXA4NR3.js} +1 -1
- package/dist/cdn/{RGBIJQV3.js → ECV3ABD6.js} +1 -1
- package/dist/cdn/{RHNZWKZV.js → EK2KOHA5.js} +1 -1
- package/dist/cdn/{WEAGLY7B.js → EMF6EVCU.js} +1 -1
- package/dist/cdn/{347XA2AR.js → EMGHJBT3.js} +1 -1
- package/dist/cdn/{Y2UYA3OR.js → EOLJLXXY.js} +1 -1
- package/dist/cdn/{IU22RA7Z.js → EQX7MHI6.js} +1 -1
- package/dist/cdn/{SBIOND5K.js → ERO6VEJC.js} +1 -1
- package/dist/cdn/{6BLFYSDN.js → EV2CPCXL.js} +1 -1
- package/dist/cdn/{OFGB5CLF.js → EZNPL6KC.js} +1 -1
- package/dist/cdn/{JCR7S6RP.js → F3JX74XA.js} +1 -1
- package/dist/cdn/{XTPRVANS.js → F47DLSXP.js} +1 -1
- package/dist/cdn/{GXRPNW37.js → F7O7VE64.js} +1 -1
- package/dist/cdn/{4F2ZWXO2.js → F7WGGRNJ.js} +1 -1
- package/dist/cdn/FDO6DYPA.js +2 -0
- package/dist/cdn/{CL2NYK7A.js → FDWA3SMO.js} +1 -1
- package/dist/cdn/{WVRJQQKH.js → FEOBPFWA.js} +1 -1
- package/dist/cdn/{4TTVVGYW.js → FHWZXMIK.js} +1 -1
- package/dist/cdn/{ZPH7M75T.js → FLECY5WX.js} +1 -1
- package/dist/cdn/{AAUN23S6.js → FRX7QU7D.js} +1 -1
- package/dist/cdn/{UCTJVPYB.js → FSS7JPXF.js} +1 -1
- package/dist/cdn/{I23AZWQL.js → FYPAQE4Y.js} +1 -1
- package/dist/cdn/G3DWZLJP.js +2 -0
- package/dist/cdn/{Z4WS2RBO.js → G62IMIVE.js} +1 -1
- package/dist/cdn/{H77SMV46.js → GARRMRRS.js} +1 -1
- package/dist/cdn/{CZOM5NWO.js → GAYVHR65.js} +1 -1
- package/dist/cdn/{B5GJ5JEW.js → GKNQZXPX.js} +1 -1
- package/dist/cdn/{J657IBDC.js → GOIKMQPW.js} +1 -1
- package/dist/cdn/{4JCUCTND.js → GQ7PSV5J.js} +1 -1
- package/dist/cdn/{SQYMNL75.js → GQWR6ITY.js} +1 -1
- package/dist/cdn/{CPIWLONX.js → GSUQ5AKK.js} +1 -1
- package/dist/cdn/{KVK6QLPV.js → GU37FSM6.js} +1 -1
- package/dist/cdn/{GCFCZZQX.js → GVI4ITFC.js} +1 -1
- package/dist/cdn/{N2BLQYTT.js → H6QQGYZN.js} +1 -1
- package/dist/cdn/{JAZGNQRP.js → HDDHFB4N.js} +1 -1
- package/dist/cdn/{HX4CDWS4.js → HSAD2CSX.js} +1 -1
- package/dist/cdn/{CROCDACG.js → HWLF3MJH.js} +1 -1
- package/dist/cdn/HYBKUYZ5.js +2 -0
- package/dist/cdn/{DMYAI77Y.js → HZ3DJS4Z.js} +1 -1
- package/dist/cdn/{AYNGSZAL.js → IBIZBZYQ.js} +1 -1
- package/dist/cdn/{ISIH65JW.js → IHCXEP2I.js} +1 -1
- package/dist/cdn/{I2A6UYGZ.js → IQ7JAUEM.js} +1 -1
- package/dist/cdn/{ITRD7ZY4.js → IVF3QBCM.js} +1 -1
- package/dist/cdn/{NBHZZ4E6.js → IY7PE5CE.js} +1 -1
- package/dist/cdn/{FGCIX2XQ.js → IZM3R6IJ.js} +1 -1
- package/dist/cdn/{SP73K22L.js → IZW2DVPQ.js} +1 -1
- package/dist/cdn/{XURL7UVF.js → J23NMWP3.js} +1 -1
- package/dist/cdn/{N2HG34QB.js → J3SYIHDA.js} +1 -1
- package/dist/cdn/{26LWK3XB.js → J56MRLAB.js} +1 -1
- package/dist/cdn/{JBHRVHGS.js → J6FGJ5GL.js} +1 -1
- package/dist/cdn/{GT6FFZHJ.js → J7ZUTV66.js} +1 -1
- package/dist/cdn/{TB4YNDRB.js → JFPYMOGN.js} +1 -1
- package/dist/cdn/{EKR2SAT2.js → JG5OBAGE.js} +2 -2
- package/dist/cdn/{3PVLBFNC.js → JQL6EOCO.js} +1 -1
- package/dist/cdn/{HX4CSRAB.js → JZEZ3NUX.js} +1 -1
- package/dist/cdn/{H5AYEQ6D.js → K4XQS23R.js} +1 -1
- package/dist/cdn/{V6RSLRWE.js → K664I5PA.js} +1 -1
- package/dist/cdn/{PBLEDNYS.js → K7OJO77W.js} +1 -1
- package/dist/cdn/{XJ6DZ6AN.js → KO5AS6VW.js} +1 -1
- package/dist/cdn/{UMHGXP3S.js → KUSJI634.js} +1 -1
- package/dist/cdn/{3HS3DM5B.js → KXZFSNU7.js} +1 -1
- package/dist/cdn/{3DUIQTNG.js → KZM4VCVX.js} +1 -1
- package/dist/cdn/{XPIX7Z2Q.js → KZNIQR4I.js} +1 -1
- package/dist/cdn/{4PGC5LTJ.js → LAJR3HCR.js} +1 -1
- package/dist/cdn/{3A7S62FX.js → LFYJSBDP.js} +1 -1
- package/dist/cdn/{OX55WUIT.js → LH26HXV7.js} +1 -1
- package/dist/cdn/{UVSORYXI.js → LNXDL2NJ.js} +1 -1
- package/dist/cdn/{CORNSRXU.js → LOKVW7BI.js} +1 -1
- package/dist/cdn/{E5JCJOB3.js → LSPD67GR.js} +1 -1
- package/dist/cdn/{5SL2HI4G.js → MDGBXXHA.js} +1 -1
- package/dist/cdn/{RQG75Q2X.js → MHV5G6SE.js} +1 -1
- package/dist/cdn/{74SNPIFY.js → MISUZ26F.js} +1 -1
- package/dist/cdn/{Z5C6UBYP.js → MLB4A6K7.js} +1 -1
- package/dist/cdn/{BQKVSKYK.js → MMCTIVCI.js} +1 -1
- package/dist/cdn/{F6BKCG5R.js → MQ6XEY2R.js} +1 -1
- package/dist/cdn/{W3ENDJ6U.js → MXSRK7K5.js} +1 -1
- package/dist/cdn/{X3DYJCL3.js → MZ47CPKO.js} +1 -1
- package/dist/cdn/{PLVTYVUG.js → N3R4MICW.js} +1 -1
- package/dist/cdn/{Y5LZUAMK.js → N5ISIJH5.js} +1 -1
- package/dist/cdn/{F5WKI5HZ.js → NII3CQS5.js} +1 -1
- package/dist/cdn/{SFFTE3TG.js → NNX5QNWQ.js} +1 -1
- package/dist/cdn/{TD5NCGK6.js → NUHQPZL4.js} +1 -1
- package/dist/cdn/{QTTIUOSW.js → NV6GXURX.js} +1 -1
- package/dist/cdn/{IMPFB7YV.js → NY6QZ4MA.js} +1 -1
- package/dist/cdn/{WBI4RS3V.js → NZLJG4BL.js} +1 -1
- package/dist/cdn/{WQMZ7BDQ.js → NZROZFUD.js} +1 -1
- package/dist/cdn/{DPPZZO5W.js → O5Y24FRM.js} +1 -1
- package/dist/cdn/{YWS5RHVM.js → O67NWBOY.js} +1 -1
- package/dist/cdn/{FWXRRSBS.js → OEDRJOWH.js} +1 -1
- package/dist/cdn/{ALROLX35.js → OEL57WQN.js} +1 -1
- package/dist/cdn/{ECNRW3D5.js → OLB6I4UK.js} +1 -1
- package/dist/cdn/{KT7MEZHJ.js → OP3MZHXU.js} +1 -1
- package/dist/cdn/{TC6HL72N.js → OQPX2UPC.js} +1 -1
- package/dist/cdn/{YPNJ5V4R.js → OVPNI75B.js} +1 -1
- package/dist/cdn/{E4NTQBM3.js → PGA77WC5.js} +1 -1
- package/dist/cdn/{IFMBHZHX.js → PIMHCTPI.js} +1 -1
- package/dist/cdn/{3A3DGDW5.js → PJCNEOQF.js} +1 -1
- package/dist/cdn/{F4O7DFPZ.js → PUAHNTEG.js} +1 -1
- package/dist/cdn/{N4MW5VBL.js → Q65F6MWR.js} +1 -1
- package/dist/cdn/{2GDB3C5I.js → QHAQOS2G.js} +1 -1
- package/dist/cdn/{A4U2PDJP.js → QJ5KZEMN.js} +1 -1
- package/dist/cdn/{Z42QB2QP.js → QNAOKY55.js} +1 -1
- package/dist/cdn/{HGMLU4M2.js → QXWPPVRF.js} +1 -1
- package/dist/cdn/{YYBNA7EL.js → QZPSM252.js} +1 -1
- package/dist/cdn/{PEH4U3YV.js → RBXGMK4A.js} +1 -1
- package/dist/cdn/{4WXSFT6G.js → RFNA2JVW.js} +1 -1
- package/dist/cdn/{KBHLE7HT.js → RIOVVINY.js} +1 -1
- package/dist/cdn/{IJLCJVC4.js → RISGMK3U.js} +1 -1
- package/dist/cdn/{R2IBOCMY.js → RRI5FB6J.js} +1 -1
- package/dist/cdn/{CJ4KIA26.js → RUEKYGP5.js} +1 -1
- package/dist/cdn/{TNFZHEWD.js → RYAAG272.js} +1 -1
- package/dist/cdn/{ZOTONI4L.js → RZ73VWA5.js} +1 -1
- package/dist/cdn/{ELYDZHP5.js → S3LQLHD6.js} +1 -1
- package/dist/cdn/{2DKTF2EL.js → SJ3PDY6L.js} +1 -1
- package/dist/cdn/{FNSGB45I.js → SVREDYVS.js} +1 -1
- package/dist/cdn/SYRJ7DOA.js +2 -0
- package/dist/cdn/{7MOL5GJB.js → T45S5TFC.js} +1 -1
- package/dist/cdn/{CGN2BQTU.js → T4UAJPSY.js} +1 -1
- package/dist/cdn/{6J55YK5V.js → TDM7GIQ3.js} +1 -1
- package/dist/cdn/{5XVK5ZBK.js → TE6BOLKS.js} +1 -1
- package/dist/cdn/THPKHOLK.js +2 -0
- package/dist/cdn/{Q22KIHFH.js → TJSRSIUW.js} +1 -1
- package/dist/cdn/{AWQXKVLZ.js → TVMAPTLG.js} +1 -1
- package/dist/cdn/TZAGTA3R.js +2 -0
- package/dist/cdn/{AAMRTS35.js → U3WVHX7O.js} +1 -1
- package/dist/cdn/{55AW5TTI.js → U6DC2MQH.js} +1 -1
- package/dist/cdn/{VSDQVSOV.js → UAUGYXU6.js} +1 -1
- package/dist/cdn/{TU6ZG6ZI.js → UIKE7YYX.js} +1 -1
- package/dist/cdn/{4T2A7PAO.js → UL22S2IY.js} +1 -1
- package/dist/cdn/{CIUI5B52.js → US5ULFSA.js} +1 -1
- package/dist/cdn/{LHFB44QW.js → VF23MMWZ.js} +1 -1
- package/dist/cdn/{VEAJ52RN.js → VHEW6B4T.js} +1 -1
- package/dist/cdn/{SFSWQGLY.js → VHM26W3Y.js} +1 -1
- package/dist/cdn/{QJWFZYU4.js → VNAQ67E4.js} +1 -1
- package/dist/cdn/{TNRY4WWO.js → VNJX65J7.js} +1 -1
- package/dist/cdn/{ZVZVHZYX.js → VRGWZTR7.js} +1 -1
- package/dist/cdn/{7V7IKYJG.js → VULIDWWD.js} +1 -1
- package/dist/cdn/{4WP4DUBT.js → VZH34OGM.js} +1 -1
- package/dist/cdn/{2KP3MSHV.js → W3F5JSCP.js} +1 -1
- package/dist/cdn/{LL7R6ETJ.js → WBGDEHVN.js} +1 -1
- package/dist/cdn/{5763ZV75.js → WBL4UUCC.js} +1 -1
- package/dist/cdn/{6IVEAPNI.js → WC6DROK5.js} +1 -1
- package/dist/cdn/{XAADUJ74.js → WHUUMSXM.js} +1 -1
- package/dist/cdn/{RPHJDEZH.js → WMF2MPES.js} +1 -1
- package/dist/cdn/{PPKJKXSQ.js → WQA6TRAU.js} +1 -1
- package/dist/cdn/{6GFUBVBL.js → WQDAN4E5.js} +1 -1
- package/dist/cdn/{OBMM7WJD.js → WR4FT2W6.js} +1 -1
- package/dist/cdn/{JIQ4P34C.js → WTJKJDQI.js} +1 -1
- package/dist/cdn/WWE4AYSF.js +2 -0
- package/dist/cdn/{2CWTV6TC.js → X4OCMVNC.js} +1 -1
- package/dist/cdn/{MKCJXRXB.js → X5PDNDLF.js} +1 -1
- package/dist/cdn/{SREWXCMU.js → XUTYBAR3.js} +1 -1
- package/dist/cdn/{3NL42TBJ.js → XVIU2QPW.js} +1 -1
- package/dist/cdn/{GQXUCZYM.js → XZDFPYIT.js} +1 -1
- package/dist/cdn/{NRJ6LV6O.js → Y5RUICI6.js} +1 -1
- package/dist/cdn/{YPNGSV66.js → YAVGZJYT.js} +1 -1
- package/dist/cdn/{YLC4L2QV.js → YFUWLCCU.js} +1 -1
- package/dist/cdn/{4RMVG2NH.js → YKDKGRAW.js} +1 -1
- package/dist/cdn/{Y2LELW5Y.js → YTZT4H7K.js} +1 -1
- package/dist/cdn/{BKVCAAPF.js → YUWVZYZY.js} +1 -1
- package/dist/cdn/{TZ2LE7KS.js → YWH5JCGP.js} +1 -1
- package/dist/cdn/ZOFSFHBV.js +2 -0
- package/dist/cdn/{3SG4AC5C.js → ZQELYLR7.js} +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/components/arcgis-coordinate-conversion-next/customElement.js +29 -29
- package/dist/components/arcgis-elevation-profile/customElement.js +14 -20
- package/dist/components/arcgis-features-next/customElement.d.ts +2 -2
- package/dist/components/arcgis-features-next/customElement.js +27 -20
- package/dist/components/arcgis-floor-filter/customElement.d.ts +3 -0
- package/dist/components/arcgis-floor-filter/customElement.js +3 -3
- package/dist/components/arcgis-floor-filter/interfaces.d.ts +72 -0
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +5 -5
- package/dist/components/arcgis-search/customElement.d.ts +1 -2
- package/dist/components/arcgis-selection-list/customElement.js +1 -1
- package/dist/components/arcgis-sketch/customElement.js +394 -204
- package/dist/components/arcgis-sketch/toolbar-sizing-controller.d.ts +96 -0
- package/dist/components/arcgis-time-bar-slider/customElement.d.ts +8 -0
- package/dist/components/arcgis-time-bar-slider/customElement.js +35 -35
- package/dist/components/arcgis-utility-network-trace-aggregated-geometry-result-item/customElement.d.ts +100 -20
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.d.ts +0 -1
- package/dist/components/arcgis-utility-network-trace-elements-result-item/customElement.d.ts +117 -29
- package/dist/components/arcgis-utility-network-trace-elements-result-item/customElement.js +10 -10
- package/dist/components/arcgis-utility-network-trace-functions-result-item/customElement.d.ts +56 -9
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.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 +6 -0
- package/dist/loader.js +1 -1
- package/dist/types/lumina.d.ts +3 -1
- package/dist/types/preact.d.ts +3 -1
- package/dist/types/react.d.ts +3 -1
- package/dist/types/stencil.d.ts +3 -1
- package/package.json +6 -6
- package/dist/cdn/5K54VOLZ.js +0 -2
- package/dist/cdn/6JYHS4C3.js +0 -2
- package/dist/cdn/6YP2FZDY.js +0 -2
- package/dist/cdn/AN3BGKZP.js +0 -2
- package/dist/cdn/EZCNI254.js +0 -2
- package/dist/cdn/PT7IKQT5.js +0 -2
- package/dist/cdn/QQECON7F.js +0 -2
- package/dist/cdn/UN7EG7PC.js +0 -2
- package/dist/cdn/WYNLO2MH.js +0 -2
- package/dist/cdn/XKHGN6LQ.js +0 -2
- package/dist/cdn/YDB2XJRU.js +0 -2
- package/dist/cdn/YY45XUPP.js +0 -2
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { c as y } from "../../chunks/runtime.js";
|
|
3
3
|
import { keyed as k } from "lit/directives/keyed.js";
|
|
4
4
|
import { repeat as C } from "lit/directives/repeat.js";
|
|
5
|
-
import { css as P, nothing as
|
|
5
|
+
import { css as P, nothing as s, html as n } from "lit";
|
|
6
6
|
import { createRef as b, ref as p } from "lit/directives/ref.js";
|
|
7
7
|
import { LitElement as S, createEvent as m, safeClassMap as z } from "@arcgis/lumina";
|
|
8
8
|
import { usePropertyChange as M } from "@arcgis/lumina/controllers";
|
|
@@ -54,7 +54,7 @@ class B extends S {
|
|
|
54
54
|
open: !1
|
|
55
55
|
}, this.elevationPopoverOpen = !1, this.formatsPopoverOpen = !1, this.invalidInput = !1, this.view = this.viewModel.view, this.autoDestroyDisabled = !1, this.conversions = this.viewModel.conversions, this.currentLocation = this.viewModel.currentLocation, this.formats = this.viewModel.formats, this.goToOverride = this.viewModel.goToOverride, this.headingLevel = 4, this.hideCaptureSection = !1, this.hideInputSection = !1, this.hideSettingsButton = !1, this.icon = "coordinate-system", this.label = this.messages.componentLabel, this.locationSymbol = this.viewModel.locationSymbol, this.mode = this.viewModel.mode, this.removeLeadingZeros = this.viewModel.removeLeadingZeros, this.visualScale = "s", this.showElevation = !1, this.state = this.viewModel.state, this.storageType = this.viewModel.storageType, this.arcgisConversionChange = m(), this.arcgisPropertyChange = M()("currentLocation", "state", "mode", "verticalUnit"), this.arcgisReady = m(), this.renderConversionView = (e, o) => {
|
|
56
56
|
const { messages: i } = this, { format: t } = e, r = t?.label ?? "", a = o === 0 && !e.displayCoordinate ? i.noLocation : e.displayCoordinate, d = this._renderConversionActions(e, a);
|
|
57
|
-
return k(e?.format?.name, n`<calcite-list-item class="conversion-list-item" .description=${r.toUpperCase()} .label=${this.getDisplayCoordinate(a)} .scale=${this.visualScale} title=${a ?? void 0 ??
|
|
57
|
+
return k(e?.format?.name, n`<calcite-list-item class="conversion-list-item" .description=${r.toUpperCase()} .label=${this.getDisplayCoordinate(a)} .scale=${this.visualScale} title=${a ?? void 0 ?? s}>${d}</calcite-list-item>`);
|
|
58
58
|
}, this.renderLiveModeSection = () => {
|
|
59
59
|
const { messages: e } = this, o = this.mode === "idle" ? this.viewModel.mode : this.mode;
|
|
60
60
|
return n`<calcite-block class="live-mode-block" .disabled=${this.disabled} expanded .headingLevel=${this.headingLevel} .label=${e.captureMode} .scale=${this.visualScale}><calcite-label alignment=end class="live-mode-label" layout=inline .scale=${this.visualScale}>${e.captureMode}<calcite-switch .checked=${o === "capture"} @calciteSwitchChange=${this.toggleMode}></calcite-switch></calcite-label></calcite-block>`;
|
|
@@ -164,8 +164,8 @@ class B extends S {
|
|
|
164
164
|
try {
|
|
165
165
|
const r = await this._reverseConvert(e, o);
|
|
166
166
|
if (r)
|
|
167
|
-
i && t.goToLocation(r).catch((
|
|
168
|
-
w(this)(
|
|
167
|
+
i && t.goToLocation(r).catch((c) => {
|
|
168
|
+
w(this)(c), this.showAlertMessage(null, this.messages.locationOffBasemap, "warning");
|
|
169
169
|
});
|
|
170
170
|
else
|
|
171
171
|
throw new Error("failed to process user input");
|
|
@@ -263,48 +263,48 @@ class B extends S {
|
|
|
263
263
|
return n`<calcite-alert class="alert" .kind=${r} .label=${e.alertLabel} @calciteAlertClose=${this.clearAlertTimeout} .open=${o} placement=top .scale=${this.visualScale} slot=alerts>${t ? n`<div slot=title>${t}</div>` : null}${i ? n`<div slot=message>${i}</div>` : null}</calcite-alert>`;
|
|
264
264
|
}
|
|
265
265
|
_renderConversionActions(e, o) {
|
|
266
|
-
const { messages: i } = this, t = this.getConversionPopoverState(e), r = i.settingsTitleWithFormat.replace("{formatName}", e.format?.name?.toUpperCase() ?? ""),
|
|
267
|
-
return n`<calcite-action-group layout=horizontal .scale=${this.visualScale} slot=actions-end>${
|
|
266
|
+
const { messages: i } = this, t = this.getConversionPopoverState(e), r = i.settingsTitleWithFormat.replace("{formatName}", e.format?.name?.toUpperCase() ?? ""), c = e.displayCoordinate && this.mode !== "live";
|
|
267
|
+
return n`<calcite-action-group layout=horizontal .scale=${this.visualScale} slot=actions-end>${c ? n`<calcite-action .icon=${l.copy} .label=${i.copyLabel} @click=${() => this.copyToClipboard(o)} .scale=${this.visualScale} .text=${i.copyLabel} title=${i.copyLabel ?? s}></calcite-action>` : null}${this.hideSettingsButton ? null : n`<calcite-action data-format=${e.format?.name ?? s} .icon=${l.gear} .label=${r} @click=${(a) => this.openConversionSettings(e, a)} .scale=${this.visualScale} .text=${r} title=${r ?? s} ${p(t.triggerRef)}></calcite-action>`}</calcite-action-group>`;
|
|
268
268
|
}
|
|
269
269
|
renderConversionOptions(e, o) {
|
|
270
270
|
return e.map((i) => n`<calcite-option .label=${i.label.toUpperCase()} .selected=${i === o} .value=${i}>${i.label}</calcite-option>`);
|
|
271
271
|
}
|
|
272
272
|
renderConversionPopover() {
|
|
273
|
-
const { activeConversion: e, messages: o } = this;
|
|
274
|
-
if (!
|
|
273
|
+
const { activeConversion: e, messages: o } = this, i = e ?? this.conversions?.at(0);
|
|
274
|
+
if (!i)
|
|
275
275
|
return null;
|
|
276
|
-
const
|
|
276
|
+
const t = this.getConversionPopoverState(i), r = o.settingsTitleWithFormat.replace("{formatName}", i.format?.name?.toUpperCase() ?? "");
|
|
277
277
|
return this.renderPopover({
|
|
278
278
|
class: "conversion-popover",
|
|
279
279
|
content: this.renderSettingsView(),
|
|
280
|
-
getPopoverOpenProperty: () =>
|
|
281
|
-
heading:
|
|
280
|
+
getPopoverOpenProperty: () => t.open,
|
|
281
|
+
heading: r,
|
|
282
282
|
includeFooter: !0,
|
|
283
|
-
label:
|
|
284
|
-
setPopoverOpenProperty: (
|
|
285
|
-
|
|
283
|
+
label: r,
|
|
284
|
+
setPopoverOpenProperty: (c) => {
|
|
285
|
+
t.open = c, c || (this._conversionPopoverTrigger = void 0, this.activeConversion = void 0), this.requestUpdate();
|
|
286
286
|
},
|
|
287
287
|
trigger: null,
|
|
288
|
-
triggerElement:
|
|
288
|
+
triggerElement: t.triggerRef.value ?? this._conversionPopoverTrigger ?? void 0
|
|
289
289
|
});
|
|
290
290
|
}
|
|
291
291
|
renderConversionsView() {
|
|
292
292
|
if (!this.conversions)
|
|
293
293
|
return;
|
|
294
|
-
const { messages: e, multipleConversionsDisabled: o } = this, t = (o ? this.conversions.slice(0, 1) : this.conversions).map(this.renderConversionView).reverse(), r = this.showElevation ? this.renderElevation() : null,
|
|
295
|
-
return n`${
|
|
294
|
+
const { messages: e, multipleConversionsDisabled: o } = this, t = (o ? this.conversions.slice(0, 1) : this.conversions).map(this.renderConversionView).reverse(), r = this.showElevation ? this.renderElevation() : null, c = this.hideCaptureSection ? null : this.renderLiveModeSection(), a = this.hideInputSection ? null : this.renderCoordinateInputView(), d = this.multipleConversionsDisabled ? null : this.renderFormatDropdown(), v = this.disabled ? n`<calcite-notice .icon=${l.lightbulb} .open=${this.disabled} width=full><div class="font-size-small" slot=message>${e.noBasemap}</div></calcite-notice>` : null;
|
|
295
|
+
return n`${c}${v}${a}<calcite-block class="conversions-block" .disabled=${this.disabled} expanded .heading=${e.coordinates} .headingLevel=${this.headingLevel} .scale=${this.visualScale}><calcite-list interaction-mode=static .label=${e.coordinates} .scale=${this.visualScale}>${t}</calcite-list>${d}</calcite-block>${r}`;
|
|
296
296
|
}
|
|
297
297
|
renderCoordinateInputView() {
|
|
298
|
-
const { messages: e } = this, o = this.inputFormat ?? this.conversions.at(0)?.format, i = this.getId("coordinate-input"), t = this.renderConversionOptions(this.formats, o ?? void 0), r = n`<calcite-action .icon=${l.goTo} .label=${e.convertAndGoTo} @click=${() => this.processUserMouseInput(!0)} .scale=${this.visualScale} .text=${e.convertAndGoTo} title=${e.convertAndGoTo ??
|
|
299
|
-
return n`<calcite-block expandable data-testid=input-block .disabled=${this.disabled} .heading=${e.input} .headingLevel=${this.headingLevel} .scale=${this.visualScale}><div class="input-form-group"><calcite-label .scale=${this.visualScale}>${e.inputFormat}<calcite-select aria-controls=${i ??
|
|
298
|
+
const { messages: e } = this, o = this.inputFormat ?? this.conversions.at(0)?.format, i = this.getId("coordinate-input"), t = this.renderConversionOptions(this.formats, o ?? void 0), r = n`<calcite-action .icon=${l.goTo} .label=${e.convertAndGoTo} @click=${() => this.processUserMouseInput(!0)} .scale=${this.visualScale} .text=${e.convertAndGoTo} title=${e.convertAndGoTo ?? s}></calcite-action>`;
|
|
299
|
+
return n`<calcite-block expandable data-testid=input-block .disabled=${this.disabled} .heading=${e.input} .headingLevel=${this.headingLevel} .scale=${this.visualScale}><div class="input-form-group"><calcite-label .scale=${this.visualScale}>${e.inputFormat}<calcite-select aria-controls=${i ?? s} class="input-select" .label=${e.inputFormat} @calciteSelectChange=${this.setInputFormat} .scale=${this.visualScale}>${t}</calcite-select></calcite-label><calcite-label .scale=${this.visualScale}>${e.inputCoordTitle}<div class="go-to-input-holder"><calcite-input class="coordinate-input" data-format=${o ?? s} data-testid=coordinate-input id=${i ?? s} @keydown=${this.processUserKeyboardInput} .placeholder=${e.inputCoordTitle} required .scale=${this.visualScale} .status=${this.invalidInput ? "invalid" : "idle"} ${p(this._coordinateInput)}></calcite-input>${r}</div></calcite-label><calcite-button appearance=outline data-testid=convert-button kind=neutral @click=${() => this.processUserMouseInput(!1)} type=button .scale=${this.visualScale} width=auto>${e.convert}</calcite-button></div></calcite-block>`;
|
|
300
300
|
}
|
|
301
301
|
renderElevation() {
|
|
302
302
|
const { messages: e } = this, o = this.displayedElevation ?? e.noElevation, i = this.renderElevationActions(), t = this.hideSettingsButton ? null : this.renderElevationSettingsDropdown();
|
|
303
|
-
return n`<calcite-block .disabled=${this.disabled} expanded .heading=${e.elevation} .headingLevel=${this.headingLevel} .scale=${this.visualScale}><calcite-list interaction-mode=static .label=${e.elevation} .scale=${this.visualScale}><calcite-list-item class="elevation-list-item" .label=${o} .scale=${this.visualScale} title=${o ??
|
|
303
|
+
return n`<calcite-block .disabled=${this.disabled} expanded .heading=${e.elevation} .headingLevel=${this.headingLevel} .scale=${this.visualScale}><calcite-list interaction-mode=static .label=${e.elevation} .scale=${this.visualScale}><calcite-list-item class="elevation-list-item" .label=${o} .scale=${this.visualScale} title=${o ?? s}>${i}</calcite-list-item></calcite-list>${t}</calcite-block>`;
|
|
304
304
|
}
|
|
305
305
|
renderElevationActions() {
|
|
306
306
|
const { messages: e } = this, o = this.currentLocation?.z !== void 0 && this.mode !== "live", i = this.displayedElevation ?? e.noElevation;
|
|
307
|
-
return n`<calcite-action-group layout=horizontal .scale=${this.visualScale} slot=actions-end>${o ? n`<calcite-action .icon=${l.copy} .label=${e.copyElevationLabel} @click=${() => o && this.copyToClipboard(i)} .scale=${this.visualScale} .text=${e.copyElevationLabel} title=${e.copyElevationLabel ??
|
|
307
|
+
return n`<calcite-action-group layout=horizontal .scale=${this.visualScale} slot=actions-end>${o ? n`<calcite-action .icon=${l.copy} .label=${e.copyElevationLabel} @click=${() => o && this.copyToClipboard(i)} .scale=${this.visualScale} .text=${e.copyElevationLabel} title=${e.copyElevationLabel ?? s}></calcite-action>` : null}${this.hideSettingsButton ? null : n`<calcite-action .icon=${l.gear} .label=${e.selectElevationUnit} .scale=${this.visualScale} .text=${e.selectElevationUnit} title=${e.selectElevationUnit ?? s} ${p(this.onElevationPopoverTriggerMount)}></calcite-action>`}</calcite-action-group>`;
|
|
308
308
|
}
|
|
309
309
|
renderElevationSettingsDropdown() {
|
|
310
310
|
const { messages: e } = this, o = n`<arcgis-unit-radio-button-group @arcgisUnitSelectChange=${(i) => this.verticalUnit = i.detail} .options=${U} .name=${e.selectElevationUnit} .scale=${this.visualScale} .value=${this.verticalUnit}></arcgis-unit-radio-button-group>`;
|
|
@@ -321,8 +321,8 @@ class B extends S {
|
|
|
321
321
|
}
|
|
322
322
|
renderFormatDropdown() {
|
|
323
323
|
const { messages: e } = this, o = n`<calcite-list .label=${e.addConversion} .scale=${this.visualScale} selection-mode=multiple>${C(this.formats, (t) => t, (t) => {
|
|
324
|
-
const r = !!this.conversions.find((a) => a.format === t),
|
|
325
|
-
return n`<calcite-list-item data-format=${t.name ??
|
|
324
|
+
const r = !!this.conversions.find((a) => a.format === t), c = this.getFormatDescription(t);
|
|
325
|
+
return n`<calcite-list-item data-format=${t.name ?? s} .description=${c} .disabled=${r && this.conversions.length === 1} .label=${t.label.toUpperCase()} @calciteListItemSelect=${this.toggleConversion} .selected=${r}></calcite-list-item>`;
|
|
326
326
|
})}</calcite-list>`, i = n`<calcite-button appearance=outline class="add-conversion-trigger" .iconStart=${l.plus} kind=neutral .label=${e.selectFormats} round .scale=${this.visualScale} ${p(this.onFormatPopoverTriggerMount)}>${e.selectFormats}</calcite-button>`;
|
|
327
327
|
return this.renderPopover({
|
|
328
328
|
content: o,
|
|
@@ -334,7 +334,7 @@ class B extends S {
|
|
|
334
334
|
triggerElement: this._formatsPopoverTrigger
|
|
335
335
|
});
|
|
336
336
|
}
|
|
337
|
-
renderPopover({ content: e, class: o, closeOnEnter: i, heading: t, getPopoverOpenProperty: r, includeFooter:
|
|
337
|
+
renderPopover({ content: e, class: o, closeOnEnter: i, heading: t, getPopoverOpenProperty: r, includeFooter: c, label: a, setPopoverOpenProperty: d, slot: v, trigger: x, triggerDisabled: $, triggerElement: f }) {
|
|
338
338
|
const { messages: _ } = this;
|
|
339
339
|
return n`${x}${f ? n`<calcite-popover auto-close class=${z(o)} .heading=${t} .headingLevel=${this.headingLevel} .label=${a} @calcitePopoverBeforeOpen=${() => {
|
|
340
340
|
d(!0);
|
|
@@ -342,14 +342,14 @@ class B extends S {
|
|
|
342
342
|
d(!1), h.stopPropagation();
|
|
343
343
|
}} @keydown=${(h) => {
|
|
344
344
|
i && (h.key === "Enter" || h.key === " ") && d(!1);
|
|
345
|
-
}} .open=${r()} .referenceElement=${f} .scale=${this.visualScale} slot=${v ??
|
|
345
|
+
}} .open=${r()} .referenceElement=${f} .scale=${this.visualScale} slot=${v ?? s} .triggerDisabled=${$}>${e}${c ? n`<div class="popover-footer"><calcite-button appearance=solid class="popover-done-button" kind=brand @click=${() => d(!1)} .scale=${this.visualScale} width=full>${_.done}</calcite-button></div>` : null}</calcite-popover>` : null}`;
|
|
346
346
|
}
|
|
347
347
|
renderSettingsView() {
|
|
348
|
-
const { messages: e } = this, o = this.findSettingsFormat(), i = this.getId("pattern-input"), t = this.getId("preview-coordinate"), r = o?.currentPattern,
|
|
348
|
+
const { messages: e } = this, o = this.findSettingsFormat(), i = this.getId("pattern-input"), t = this.getId("preview-coordinate"), r = o?.currentPattern, c = this.multipleConversionsDisabled ? this.renderSingleFormatDropdown() : null;
|
|
349
349
|
if (!o || !g(o))
|
|
350
|
-
return n`<div class="settings"><calcite-label .scale=${this.visualScale}>${e.format}${
|
|
351
|
-
const a = n`<calcite-action .icon=${l.refresh} .label=${e.defaultPattern} @click=${this.setDefaultPattern} .scale=${this.visualScale} .text=${e.defaultPattern} title=${e.defaultPattern ??
|
|
352
|
-
return n`<div class="settings"><calcite-label .scale=${this.visualScale}>${e.format}${
|
|
350
|
+
return n`<div class="settings"><calcite-label .scale=${this.visualScale}>${e.format}${c ?? n`<calcite-notice class="no-display-properties-notice" .icon=${l.warning} open .scale=${this.visualScale}><div class="font-size-small" slot=message>${e.noDisplayProperties}</div></calcite-notice>`}</calcite-label></div>`;
|
|
351
|
+
const a = n`<calcite-action .icon=${l.refresh} .label=${e.defaultPattern} @click=${this.setDefaultPattern} .scale=${this.visualScale} .text=${e.defaultPattern} title=${e.defaultPattern ?? s}></calcite-action>`;
|
|
352
|
+
return n`<div class="settings"><calcite-label .scale=${this.visualScale}>${e.format}${c}</calcite-label><calcite-label .for=${i} .scale=${this.visualScale}>${e.display}<div class="settings-form-group-horizontal"><calcite-input aria-controls=${t ?? s} class="pattern-input" id=${i ?? s} @calciteInputInput=${this.updateCurrentPattern} .scale=${this.visualScale} type=text .value=${r}></calcite-input>${a}</div></calcite-label><calcite-label .scale=${this.visualScale}>${e.preview}<calcite-input read-only .scale=${this.visualScale} type=text .value=${this.previewConversion?.displayCoordinate ?? void 0}></calcite-input></calcite-label></div>`;
|
|
353
353
|
}
|
|
354
354
|
renderSingleFormatDropdown() {
|
|
355
355
|
const { messages: e } = this;
|
|
@@ -10,8 +10,8 @@ import { LitElement as B, createEvent as O, nothing as u, safeClassMap as m } fr
|
|
|
10
10
|
import { usePropertyChange as D } from "@arcgis/lumina/controllers";
|
|
11
11
|
import { slotChangeHasContent as _ } from "@arcgis/toolkit/dom/slots";
|
|
12
12
|
import { u as $ } from "../../chunks/useT9n.js";
|
|
13
|
-
import { m as
|
|
14
|
-
import { t as
|
|
13
|
+
import { m as V } from "../../chunks/useViewModel.js";
|
|
14
|
+
import { t as E, c as x } from "../../chunks/async-utils.js";
|
|
15
15
|
import { g as f } from "../../chunks/globalCss.js";
|
|
16
16
|
import P from "@arcgis/core/analysis/ElevationProfileAnalysis.js";
|
|
17
17
|
import { property as a, subclass as z } from "@arcgis/core/core/accessorSupport/decorators.js";
|
|
@@ -22,7 +22,7 @@ import { m as L } from "../../chunks/handle.js";
|
|
|
22
22
|
const I = S`.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__heading{word-break:break-word}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-hidden{display:none!important}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}.esri-widget--panel{min-width:300px;min-height:32px;padding:var(--arcgis-internal-padding);transition:max-height .25s ease-in-out;overflow-y:auto}:host{--internal-chart-height: 180px;--internal-gap: var(--calcite-spacing-sm-plus);width:550px;isolation:isolate;position:relative;container-type:inline-size}.root{display:flex;flex-direction:column;width:100%;min-width:0;gap:var(--internal-gap)}.header{display:flex;flex-direction:row;align-items:center;justify-content:flex-end;margin-bottom:calc(var(--internal-gap) * -1)}.actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:var(--calcite-spacing-xs)}.action-button{width:auto;min-height:32px}.main-container{display:flex;position:relative;flex-flow:column;width:100%;height:var(--internal-chart-height)}.chart-container{position:relative;width:100%;height:100%}.prompt-container{box-sizing:border-box;display:grid;place-content:center;padding-inline:var(--calcite-spacing-md);height:100%;text-align:center}.prompt-message{margin:0;width:100%}.spinner{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transition:opacity .15s ease-in-out;transition-delay:0;opacity:0;&.visible{transition-delay:50ms;opacity:1}&.small{inset-inline-start:0;inset-block-start:-24px;left:unset;transform:none;color:var(--calcite-color-brand)}}@container (max-width: 400px){.esri-widget--panel{height:auto}.actions{flex-direction:column}.action-button{align-self:stretch}}`;
|
|
23
23
|
async function R(t, e, i) {
|
|
24
24
|
const s = await T(t, e);
|
|
25
|
-
return
|
|
25
|
+
return E(i), H(s) ? s.highlight(e) : L();
|
|
26
26
|
}
|
|
27
27
|
async function T(t, e) {
|
|
28
28
|
const i = e?.layer;
|
|
@@ -41,13 +41,10 @@ function j({ geometry: t }) {
|
|
|
41
41
|
function G(t) {
|
|
42
42
|
return t?.samples?.some((e) => e.z != null) ?? !1;
|
|
43
43
|
}
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
}
|
|
47
|
-
var N = Object.defineProperty, J = Object.getOwnPropertyDescriptor, o = (t, e, i, s) => {
|
|
48
|
-
for (var n = s > 1 ? void 0 : s ? J(e, i) : e, l = t.length - 1, c; l >= 0; l--)
|
|
44
|
+
var q = Object.defineProperty, N = Object.getOwnPropertyDescriptor, o = (t, e, i, s) => {
|
|
45
|
+
for (var n = s > 1 ? void 0 : s ? N(e, i) : e, l = t.length - 1, c; l >= 0; l--)
|
|
49
46
|
(c = t[l]) && (n = (s ? c(e, i, n) : c(n)) || n);
|
|
50
|
-
return s && n &&
|
|
47
|
+
return s && n && q(e, i, n), n;
|
|
51
48
|
};
|
|
52
49
|
let r = class extends A {
|
|
53
50
|
constructor() {
|
|
@@ -60,10 +57,7 @@ let r = class extends A {
|
|
|
60
57
|
);
|
|
61
58
|
}
|
|
62
59
|
get doneButtonAvailable() {
|
|
63
|
-
|
|
64
|
-
return !1;
|
|
65
|
-
const { geometry: t } = this.analysis;
|
|
66
|
-
return q(t) && t.paths.length > 0 && t.paths[0].length > 2;
|
|
60
|
+
return this.featureIsSelected ? !1 : this.analysisView?.canStopPlacing ?? !1;
|
|
67
61
|
}
|
|
68
62
|
get effectiveDisplayUnits() {
|
|
69
63
|
return this.analysisView?.effectiveDisplayUnits;
|
|
@@ -366,10 +360,10 @@ function b(t) {
|
|
|
366
360
|
const e = t?.filter((i) => w.includes(i));
|
|
367
361
|
return e && e.length > 0 ? e : w.slice();
|
|
368
362
|
}
|
|
369
|
-
const
|
|
370
|
-
class
|
|
363
|
+
const J = V(r);
|
|
364
|
+
class K extends B {
|
|
371
365
|
constructor() {
|
|
372
|
-
super(...arguments), this.viewModel =
|
|
366
|
+
super(...arguments), this.viewModel = J(this), this._chartInitializationTask = M(void 0), this._messages = $(), this._hideZoomOutButton = !0, this._hasSettingsStartContent = !1, this._hasSettingsEndContent = !1, this.analysis = this.viewModel.analysis, this.view = this.viewModel.view, this.autoDestroyDisabled = !1, this.effectiveDisplayUnits = this.viewModel.effectiveDisplayUnits, this.feature = this.viewModel.feature, this.hideChart = !1, this.hideChartGridLines = !1, this.hideChartAxisLabels = !1, this.hideClearButton = !1, this.hideLegend = !1, this.hideSelectButton = !1, this.hideSettingsButton = !1, this.hideResetUnitsButton = !1, this.hideStartButton = !1, this.hideUniformChartScalingToggle = !1, this.hideDistanceDisplayUnitSelect = !1, this.hideElevationDisplayUnitSelect = !1, this.hideVisualization = this.viewModel.hideVisualization, this.highlightDisabled = this.viewModel.highlightDisabled, this.icon = "altitude", this.indicatorRelativePosition = this.viewModel.indicatorRelativePosition, this.interactionDisabled = this.viewModel.interactionDisabled, this.geometry = this.viewModel.geometry, this.elevationInfo = this.viewModel.elevationInfo, this.profiles = this.viewModel.profiles, this.progress = this.viewModel.progress, this.state = this.viewModel.state, this.uniformChartScaling = this.viewModel.uniformChartScaling, this.distanceUnit = this.viewModel.distanceUnit, this.distanceUnitOptions = this.viewModel.distanceUnitOptions, this.elevationUnit = this.viewModel.elevationUnit, this.elevationUnitOptions = this.viewModel.elevationUnitOptions, this.arcgisPropertyChange = D()("analysis", "effectiveDisplayUnits", "elevationInfo", "feature", "geometry", "indicatorRelativePosition", "interactionDisabled", "progress", "state"), this.arcgisReady = O();
|
|
373
367
|
}
|
|
374
368
|
static {
|
|
375
369
|
this.properties = { _messages: 16, _hideZoomOutButton: 16, _chartContainer: 16, _hasSettingsStartContent: 16, _hasSettingsEndContent: 16, analysis: 0, view: 0, autoDestroyDisabled: 5, effectiveDisplayUnits: 32, feature: 0, hideChart: 5, hideChartGridLines: 5, hideChartAxisLabels: 5, hideClearButton: 5, hideLegend: 5, hideSelectButton: 5, hideSettingsButton: 5, hideResetUnitsButton: 5, hideStartButton: 5, hideUniformChartScalingToggle: 5, hideDistanceDisplayUnitSelect: 5, hideElevationDisplayUnitSelect: 5, hideVisualization: 5, highlightDisabled: 5, icon: 3, indicatorRelativePosition: 40, interactionDisabled: 5, geometry: 0, elevationInfo: 0, label: 1, messageOverrides: 0, referenceElement: 1, profiles: 0, progress: 40, state: 32, uniformChartScaling: 5, distanceUnit: 1, distanceUnitOptions: 0, elevationUnit: 1, elevationUnitOptions: 0 };
|
|
@@ -446,7 +440,7 @@ class Q extends B {
|
|
|
446
440
|
this.viewModel.stop();
|
|
447
441
|
}
|
|
448
442
|
_getErrorMessage() {
|
|
449
|
-
const e =
|
|
443
|
+
const e = Q[this.viewModel.errorState];
|
|
450
444
|
return e ? this._messages?.errors?.[e] : void 0;
|
|
451
445
|
}
|
|
452
446
|
_onClearButtonClick() {
|
|
@@ -623,14 +617,14 @@ class Q extends B {
|
|
|
623
617
|
function h(t) {
|
|
624
618
|
return t.hidden ? void 0 : t.children;
|
|
625
619
|
}
|
|
626
|
-
const g = [{ type: "select" }, { type: "sketch" }],
|
|
620
|
+
const g = [{ type: "select" }, { type: "sketch" }], Q = {
|
|
627
621
|
none: void 0,
|
|
628
622
|
"no-valid-input": "noProfile",
|
|
629
623
|
"no-available-profiles": "noProfile",
|
|
630
624
|
"too-complex": "tooComplex",
|
|
631
625
|
unknown: "unknown"
|
|
632
626
|
};
|
|
633
|
-
C("arcgis-elevation-profile",
|
|
627
|
+
C("arcgis-elevation-profile", K);
|
|
634
628
|
export {
|
|
635
|
-
|
|
629
|
+
K as ArcgisElevationProfile
|
|
636
630
|
};
|
|
@@ -41,11 +41,11 @@ import type { MapViewOrSceneView } from "@arcgis/core/views/MapViewOrSceneView.j
|
|
|
41
41
|
* @slot
|
|
42
42
|
* [actions-start] - _Since 5.2._ Slot for adding Calcite [actions](https://developers.arcgis.com/calcite-design-system/components/action/) or [action groups](https://developers.arcgis.com/calcite-design-system/components/action-group/) to the start of the action bar. Multiple actions or action groups can be placed in this slot. Slotted actions remain at the start of the action bar and are not automatically grouped if they exceed the available width. To group actions, place them in a Calcite action group. Actions in this slot remain separate from other actions, including default actions (such as "Zoom to" and "Browse features"), [PopupTemplate actions](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/#actions), and [actions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features-next/#actions).
|
|
43
43
|
*
|
|
44
|
-
*
|
|
44
|
+
* Action text is enabled automatically and follows the action bar's responsive state.
|
|
45
45
|
* @slot
|
|
46
46
|
* [actions-end] - _Since 5.2._ Slot for adding Calcite [actions](https://developers.arcgis.com/calcite-design-system/components/action/) or [action groups](https://developers.arcgis.com/calcite-design-system/components/action-group/) to the end of the action bar. Multiple actions or action groups can be placed in this slot. Slotted actions remain at the end of the action bar and are not automatically grouped if they exceed the available width. To group actions, place them in a Calcite action group. Actions in this slot remain separate from other actions, including default actions (such as "Zoom to" and "Browse features"), [PopupTemplate actions](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/#actions), and [actions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features-next/#actions).
|
|
47
47
|
*
|
|
48
|
-
*
|
|
48
|
+
* Action text is enabled automatically and follows the action bar's responsive state.
|
|
49
49
|
* @see [PopupTemplate](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/)
|
|
50
50
|
* @see [arcgis-feature-next](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-feature-next/)
|
|
51
51
|
* @see [arcgis-popup](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/)
|
|
@@ -6,16 +6,16 @@ import H from "@arcgis/core/support/actions/ActionButton.js";
|
|
|
6
6
|
import T from "@arcgis/core/core/Collection.js";
|
|
7
7
|
import z from "@arcgis/core/popup/FeaturesModel.js";
|
|
8
8
|
import { LitElement as V, createEvent as y, renderElement as Z, nothing as g, safeClassMap as x } from "@arcgis/lumina";
|
|
9
|
-
import { useDirection as U, usePropertyChange as
|
|
9
|
+
import { useDirection as U, usePropertyChange as q, bypassReadOnly as D } from "@arcgis/lumina/controllers";
|
|
10
10
|
import { classes as I } from "@arcgis/toolkit/dom";
|
|
11
11
|
import { slotChangeHasContent as L } from "@arcgis/toolkit/dom/slots";
|
|
12
12
|
import { createRef as _, ref as m } from "lit/directives/ref.js";
|
|
13
|
-
import { initializeProjection as
|
|
14
|
-
import { t as
|
|
13
|
+
import { initializeProjection as K } from "@arcgis/core/applications/Components/featureUtils.js";
|
|
14
|
+
import { t as j } from "../../chunks/action-utils.js";
|
|
15
15
|
import { m as G } from "../../chunks/useViewModel.js";
|
|
16
16
|
import { renderingSanitizer as w } from "@arcgis/core/applications/Components/sanitizerUtils.js";
|
|
17
17
|
import { stripHTML as M } from "@arcgis/core/applications/Components/stringUtils.js";
|
|
18
|
-
import { substitute as u, formatNumber as
|
|
18
|
+
import { substitute as u, formatNumber as C } from "@arcgis/core/intl.js";
|
|
19
19
|
import { u as W } from "../../chunks/useT9n.js";
|
|
20
20
|
import { when as X, watch as h } from "@arcgis/core/core/reactiveUtils.js";
|
|
21
21
|
import { getGraphicOriginTitle as J } from "@arcgis/core/graphic/getGraphicOriginTitle.js";
|
|
@@ -44,10 +44,10 @@ class oe extends V {
|
|
|
44
44
|
root: window.document
|
|
45
45
|
}), this._featureMenuIntersectionObserverNode = null, this._setFocusAnimationFrameId = null, this._setFocusAnimationFrameResolve = null, this._rootFlowItemNode = _(), this._featureMenuViewportNode = _(), this._actionBarMenuNode = _(), this._flowContainerNode = _(), this._aggregatedFeaturesComponent = _(), this.messages = W(), this._selectedFeatureComponent = _(), this._actionFlowItems = /* @__PURE__ */ new WeakSet(), this._direction = U(), this._cancelOpenRelatedFeature = () => {
|
|
46
46
|
this._openRelatedFeatureAbortController = S(this._openRelatedFeatureAbortController);
|
|
47
|
-
}, this._spinnerVisible = !1, this._openRelatedFeatureAbortController = null, this.flowItems = new T(), this._aggregatedFeatureCount = 0, this._selectedAggregatedFeatureIndex = -1, this._aggregatedFeaturesLoading = !1, this._hasActionsStartSlotContent = !1, this._hasActionsEndSlotContent = !1, this._selectedFeatureLoading = !1, this.
|
|
47
|
+
}, this._spinnerVisible = !1, this._openRelatedFeatureAbortController = null, this.flowItems = new T(), this._aggregatedFeatureCount = 0, this._selectedAggregatedFeatureIndex = -1, this._aggregatedFeaturesLoading = !1, this._hasActionsStartSlotContent = !1, this._hasActionsEndSlotContent = !1, this._selectedFeatureLoading = !1, this._lastSettledHeading = "", this.viewModel = ae(this), this.actions = this.viewModel.actions, this.active = this.viewModel.active, this.autoDestroyDisabled = !1, this.focusTrapEnabled = !1, this.collapsed = !1, this.content = this.viewModel.content, this.diagnostics = this.viewModel.diagnostics, this.defaultPopupTemplateEnabled = this.viewModel.defaultPopupTemplateEnabled, this.effectiveHeading = this.viewModel.effectiveHeading, this.featureCount = this.viewModel.featureCount, this.featureMenuOpen = !1, this.featureNavigationTop = !1, this.features = this.viewModel.features, this.featuresPerPage = this.viewModel.featuresPerPage, this.featureItemAbilities = this.viewModel.featureItemAbilities, this.goToOverride = this.viewModel.goToOverride, this.headerActions = new T(), this.heading = this.viewModel.heading, this.headingLevel = 2, this.hideActionBar = !1, this.hideCloseButton = !1, this.hideFeatureMenuHeading = !1, this.hideFeatureNavigation = !1, this.hideFeatureListLayerTitle = !1, this.hideHeading = !1, this.hideSelectFeature = !1, this.hideSpinner = !1, this.hideContent = !1, this.chartAnimationDisabled = this.viewModel.featureItemAbilities?.chartAnimation, this.hideAttachmentsContent = this.viewModel.featureItemAbilities?.attachmentsContent, this.hideEmptyRelationshipContent = !1, this.hideCustomContent = this.viewModel.featureItemAbilities?.customContent, this.hideExpressionContent = !1, this.hideFieldsContent = this.viewModel.featureItemAbilities?.fieldsContent, this.hideMediaContent = this.viewModel.featureItemAbilities?.mediaContent, this.hideRelationshipContent = this.viewModel.featureItemAbilities?.relationshipContent, this.hideTextContent = this.viewModel.featureItemAbilities?.textContent, this.hideUtilityNetworkContent = this.viewModel.featureItemAbilities?.utilityNetworkAssociationsContent, this.hideLastEditedInfo = !1, this.highlightDisabled = this.viewModel.highlightEnabled, this.includeDefaultActionsDisabled = this.viewModel.includeDefaultActions, this.initialDisplayMode = this.viewModel.initialDisplayMode, this.location = this.viewModel.location, this.map = this.viewModel.map, this.open = this.viewModel.open, this.responsiveActionsEnabled = !1, this.selectedFeature = this.viewModel.selectedFeature, this.selectedFeatureIndex = this.viewModel.selectedFeatureIndex, this.showCollapseButton = !1, this.spatialReference = this.viewModel.spatialReference, this.state = this.viewModel.state, this.timeZone = this.viewModel.timeZone, this.updateLocationEnabled = this.viewModel.updateLocationEnabled, this.view = this.viewModel.view, this.arcgisClose = y(), this.arcgisPropertyChange = q()("active", "collapsed", "effectiveHeading", "featureCount", "featureMenuOpen", "features", "selectedDrillInFeature", "selectedFeature", "selectedFeatureComponent", "selectedFeatureIndex", "state", "open"), this.arcgisReady = y(), this.arcgisTriggerAction = y();
|
|
48
48
|
}
|
|
49
49
|
static {
|
|
50
|
-
this.properties = { _openRelatedFeatureAbortController: 16, flowItems: 16, _aggregatedFeatureCount: 16, _selectedAggregatedFeatureIndex: 16, _aggregatedFeaturesLoading: 16, _hasActionsStartSlotContent: 16, _hasActionsEndSlotContent: 16, _selectedFeatureLoading: 16,
|
|
50
|
+
this.properties = { _openRelatedFeatureAbortController: 16, flowItems: 16, _aggregatedFeatureCount: 16, _selectedAggregatedFeatureIndex: 16, _aggregatedFeaturesLoading: 16, _hasActionsStartSlotContent: 16, _hasActionsEndSlotContent: 16, _selectedFeatureLoading: 16, _lastSettledHeading: 16, _selectedFeatureViewModel: 16, _hideActionText: 16, _featureNavigationVisible: 16, _isCollapsed: 16, _collapseEnabled: 16, _selectedFeatureHeading: 16, _headingLabel: 16, _backLabel: 16, _selectedFeatureContent: 16, _selectedFeaturePending: 16, _featureFlowItemSelected: 16, viewModel: 0, actions: 0, active: 0, autoDestroyDisabled: 5, focusTrapEnabled: 5, collapseDirection: 1, collapsed: 5, content: 1, diagnostics: 0, defaultPopupTemplateEnabled: 5, effectiveHeading: 32, featureCount: 9, featureMenuOpen: 5, featureMenuTitle: 1, featureNavigationTop: 5, features: 0, featuresPerPage: 9, featureItemAbilities: 0, goToOverride: 0, headerActions: 0, heading: 1, headingLevel: 9, hideActionBar: 5, hideCloseButton: 5, hideFeatureMenuHeading: 5, hideFeatureNavigation: 5, hideFeatureListLayerTitle: 5, hideHeading: 5, hideSelectFeature: 5, hideSpinner: 5, hideContent: 5, chartAnimationDisabled: 5, hideAttachmentsContent: 5, hideEmptyRelationshipContent: 5, hideCustomContent: 5, hideExpressionContent: 5, hideFieldsContent: 5, hideMediaContent: 5, hideRelationshipContent: 5, hideTextContent: 5, hideUtilityNetworkContent: 5, hideLastEditedInfo: 5, highlightDisabled: 5, icon: 1, includeDefaultActionsDisabled: 5, initialDisplayMode: 1, label: 1, location: 0, map: 0, messageOverrides: 0, open: 5, referenceElement: 1, responsiveActionsEnabled: 5, selectedDrillInFeature: 32, selectedFeature: 0, selectedFeatureComponent: 32, selectedFeatureIndex: 9, showCollapseButton: 5, spatialReference: 0, state: 32, timeZone: 1, updateLocationEnabled: 5, view: 0 };
|
|
51
51
|
}
|
|
52
52
|
static {
|
|
53
53
|
this.styles = te;
|
|
@@ -65,7 +65,8 @@ class oe extends V {
|
|
|
65
65
|
return this._collapseEnabled && this.collapsed;
|
|
66
66
|
}
|
|
67
67
|
get _collapseEnabled() {
|
|
68
|
-
|
|
68
|
+
const { selectedFeatureItem: e } = this.viewModel, t = this.heading || this._selectedFeatureHeading, i = this.content || this._selectedFeatureContent, s = e?.state === "error" || this._selectedFeatureViewModel?.state === "error";
|
|
69
|
+
return this.showCollapseButton && (this.initialDisplayMode === "list" || this._selectedFeaturePending || !s && !t && i == null && e?.formattedAttributes == null || !!t && !!i);
|
|
69
70
|
}
|
|
70
71
|
get _selectedFeatureHeading() {
|
|
71
72
|
return this.viewModel.selectedFeatureItem?.heading;
|
|
@@ -103,7 +104,7 @@ class oe extends V {
|
|
|
103
104
|
async fetchFeatures(e, t) {
|
|
104
105
|
this._cancelFetchingFeatures();
|
|
105
106
|
const { signal: i } = t ?? {}, s = new AbortController(), { signal: a } = s, o = i ? AbortSignal.any([a, i]) : a;
|
|
106
|
-
this._fetchFeaturesController = s, !e && this.view && this.location && (await
|
|
107
|
+
this._fetchFeaturesController = s, !e && this.view && this.location && (await K(this.location.spatialReference, this.view.spatialReference, null, {
|
|
107
108
|
signal: o
|
|
108
109
|
}), e = this.view.toScreen(this.location) ?? void 0), e && await this.viewModel.fetchFeatures(e, {
|
|
109
110
|
...t,
|
|
@@ -135,7 +136,7 @@ class oe extends V {
|
|
|
135
136
|
}
|
|
136
137
|
willUpdate() {
|
|
137
138
|
const e = this._selectedFeaturePending, { effectiveHeading: t } = this.viewModel;
|
|
138
|
-
|
|
139
|
+
(t || !e) && (this._lastSettledHeading = t ?? "");
|
|
139
140
|
}
|
|
140
141
|
updated() {
|
|
141
142
|
const e = this._selectedFeatureComponent.value ?? void 0;
|
|
@@ -313,7 +314,7 @@ class oe extends V {
|
|
|
313
314
|
return;
|
|
314
315
|
e?.type === "toggle" && (e.value = !e.value);
|
|
315
316
|
const i = t && "allActions" in t ? t.viewModel : void 0;
|
|
316
|
-
|
|
317
|
+
j(e, this.viewModel, i), this.arcgisTriggerAction.emit({ action: e });
|
|
317
318
|
}
|
|
318
319
|
_viewScaleChange() {
|
|
319
320
|
const { selectedFeature: e } = this, t = R(e);
|
|
@@ -364,10 +365,16 @@ class oe extends V {
|
|
|
364
365
|
return e || !this._selectedFeaturePending ? e ?? "" : this._lastSettledHeading || (this._selectedFeatureLoading ? this.messages.loading ?? "" : "");
|
|
365
366
|
}
|
|
366
367
|
_handleActionsStartSlotChange(e) {
|
|
367
|
-
this._hasActionsStartSlotContent = L(e);
|
|
368
|
+
this._hasActionsStartSlotContent = L(e), this._updateSlottedActionTextEnabled(e.currentTarget);
|
|
368
369
|
}
|
|
369
370
|
_handleActionsEndSlotChange(e) {
|
|
370
|
-
this._hasActionsEndSlotContent = L(e);
|
|
371
|
+
this._hasActionsEndSlotContent = L(e), this._updateSlottedActionTextEnabled(e.currentTarget);
|
|
372
|
+
}
|
|
373
|
+
_updateSlottedActionTextEnabled(e) {
|
|
374
|
+
const t = !this._hideActionText;
|
|
375
|
+
e.assignedElements({ flatten: !0 }).forEach((i) => {
|
|
376
|
+
(i.matches("calcite-action") ? [i] : i.querySelectorAll("calcite-action")).forEach((a) => a.textEnabled = t);
|
|
377
|
+
});
|
|
371
378
|
}
|
|
372
379
|
_removeSpinner(e) {
|
|
373
380
|
e?.manager?.component?.extraContent?.remove(this._spinnerEl), this._spinnerEl = void 0;
|
|
@@ -401,15 +408,15 @@ class oe extends V {
|
|
|
401
408
|
_renderFeaturePaginationText(e, t) {
|
|
402
409
|
const { messages: i } = this;
|
|
403
410
|
return n`<div class="pagination-text">${u(i.pageText ?? "", {
|
|
404
|
-
index:
|
|
405
|
-
total:
|
|
411
|
+
index: C(t + 1),
|
|
412
|
+
total: C(e)
|
|
406
413
|
})}</div>`;
|
|
407
414
|
}
|
|
408
415
|
_renderFeatureMenuButton() {
|
|
409
416
|
const { messages: e, viewModel: t } = this, { featureCount: i, streamingFeatures: s, selectedFeatureIndex: a } = t;
|
|
410
417
|
return n`<calcite-action class="pagination-menu-button" icon=list .label=${e.showAllFeatures ?? ""} .loading=${s} @click=${this._handlePaginationMenuButton} .text=${u(e.pageText ?? "", {
|
|
411
|
-
index:
|
|
412
|
-
total:
|
|
418
|
+
index: C(a + 1),
|
|
419
|
+
total: C(i)
|
|
413
420
|
})} text-enabled title=${e.showAllFeatures ?? "" ?? g}></calcite-action>`;
|
|
414
421
|
}
|
|
415
422
|
_renderPagination(e, t) {
|
|
@@ -435,10 +442,10 @@ class oe extends V {
|
|
|
435
442
|
return this.headerActions.map((e) => this._renderHeaderAction(e)).toArray();
|
|
436
443
|
}
|
|
437
444
|
_renderContentFeature(e) {
|
|
438
|
-
const { headingLevel: t, hideCloseButton: i, _isCollapsed: s, _collapseEnabled: a, featureNavigationTop: o, initialDisplayMode: r, selectedFeature: l, hideHeading: d } = this, { active: c, selectedFeatureItem: f, content:
|
|
445
|
+
const { headingLevel: t, hideCloseButton: i, _isCollapsed: s, _collapseEnabled: a, featureNavigationTop: o, initialDisplayMode: r, selectedFeature: l, hideHeading: d } = this, { active: c, selectedFeatureItem: f, content: b } = this.viewModel, p = this._getHeading();
|
|
439
446
|
if (r === "list" && !l)
|
|
440
447
|
return null;
|
|
441
|
-
const F = !this._selectedFeaturePending && (f ? !f.content : !
|
|
448
|
+
const F = !this._selectedFeaturePending && (f ? !f.content : !b);
|
|
442
449
|
return n`<calcite-flow-item .focusTrapEnabled=${this.focusTrapEnabled} class=${x(I({
|
|
443
450
|
"content-feature": !0,
|
|
444
451
|
"flow-item-collapsed": s
|
|
@@ -463,13 +470,13 @@ class oe extends V {
|
|
|
463
470
|
return i?.size ? n`<calcite-notice class="diagnostics-notice" open kind=info scale=s><span slot=title>${e.maxRecordCountHeading}</span><div slot=message>${i.size <= ne ? this._renderDiagnosticsList(i) : this._renderDiagnosticsMultipleLayers()}</div></calcite-notice>` : null;
|
|
464
471
|
}
|
|
465
472
|
_renderFeatureMenuContainer() {
|
|
466
|
-
const { viewModel: e, hideCloseButton: t, featureMenuTitle: i, messages: s, initialDisplayMode: a, featureMenuOpen: o, _featureFlowItemSelected: r, _collapseEnabled: l, _isCollapsed: d, featureNavigationTop: c, headingLevel: f } = this, { active:
|
|
473
|
+
const { viewModel: e, hideCloseButton: t, featureMenuTitle: i, messages: s, initialDisplayMode: a, featureMenuOpen: o, _featureFlowItemSelected: r, _collapseEnabled: l, _isCollapsed: d, featureNavigationTop: c, headingLevel: f } = this, { active: b, features: p, streamingFeatures: F } = e, $ = i ?? s.selectFeature, A = this._backLabel;
|
|
467
474
|
if (a === "feature" && !o)
|
|
468
475
|
return null;
|
|
469
476
|
const O = !r;
|
|
470
477
|
return n`<calcite-flow-item .focusTrapEnabled=${this.focusTrapEnabled} class=${x(I({
|
|
471
478
|
"flow-item-collapsed": d
|
|
472
|
-
}))} .closable=${!t} .closed=${!
|
|
479
|
+
}))} .closable=${!t} .closed=${!b} .collapsed=${a === "list" && d} .collapseDirection=${this.collapseDirection ?? (c ? "down" : "up")} .collapsible=${a === "list" && l} .messageOverrides=${{ collapse: this.messages.collapse, expand: this.messages.expand, back: A }} .description=${this.hideFeatureMenuHeading ? void 0 : u(s.total ?? "", {
|
|
473
480
|
total: p.length
|
|
474
481
|
})} .heading=${this.hideFeatureMenuHeading ? void 0 : $} .headingLevel=${f} .loading=${e.waitingForResult} .selected=${O} @calciteFlowItemBack=${(N) => {
|
|
475
482
|
N.preventDefault(), this._handleFeatureMenuBack();
|
|
@@ -3,6 +3,7 @@ import type WebMap from "@arcgis/core/WebMap.js";
|
|
|
3
3
|
import type WebScene from "@arcgis/core/WebScene.js";
|
|
4
4
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
5
5
|
import type { ArcgisReferenceElement, IconName, HeadingLevel } from "../types.js";
|
|
6
|
+
import type { IFloorFilterViewModel } from "./interfaces.js";
|
|
6
7
|
import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
7
8
|
import type { MapViewOrSceneView } from "@arcgis/core/views/MapViewOrSceneView.js";
|
|
8
9
|
import type { GoToOverride } from "@arcgis/core/widgets/support/types.js";
|
|
@@ -204,6 +205,8 @@ export abstract class ArcgisFloorFilter extends LitElement {
|
|
|
204
205
|
* > **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-floor-filter component will be associated with a map or scene component rather than using the `view` property.
|
|
205
206
|
*/
|
|
206
207
|
accessor view: MapViewOrSceneView | null | undefined;
|
|
208
|
+
/** @internal */
|
|
209
|
+
accessor viewModel: IFloorFilterViewModel;
|
|
207
210
|
/** Permanently destroy the component. */
|
|
208
211
|
destroy(): Promise<void>;
|
|
209
212
|
/** @param webMap */
|
|
@@ -53,13 +53,13 @@ const h = "floor-filter", v = `${h}__filter-menu`, o = {
|
|
|
53
53
|
}, H = $`.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__heading{word-break:break-word}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-hidden{display:none!important}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}.esri-button{box-sizing:border-box;cursor:pointer;white-space:normal;word-break:normal;color:var(--calcite-color-text-1);background-color:var(--calcite-color-status-info);border:var(--calcite-spacing-px) solid var(--calcite-color-status-info);justify-content:center;align-items:center;width:100%;min-height:var(--calcite-spacing-xxxl);padding:6px 7px;font-family:inherit;font-size:var(--calcite-font-size);transition:background-color .125s ease-in-out,border .125s ease-in-out;display:flex;overflow:hidden;&:hover{color:var(--calcite-color-text-1);background-color:var(--calcite-color-status-info-hover);border:var(--calcite-spacing-px) solid var(--calcite-color-status-info-hover)}}.esri-button:hover{color:var(--calcite-color-text-1);background-color:var(--calcite-color-text-2);border:1px solid var(--calcite-color-text-2)}.esri-button.esri-button--small{min-height:var(--calcite-spacing-xl);font-size:var(--calcite-font-size-sm)}.esri-button.esri-button--half{width:50%;display:inline-block}.esri-button.esri-button--third{width:33%;display:inline-block}.esri-button--secondary{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-button--tertiary{color:var(--calcite-color-brand);background-color:var(--calcite-color-transparent);border-color:var(--calcite-color-transparent)}.esri-button--tertiary:hover{color:var(--calcite-color-brand-hover);background-color:var(--calcite-color-foreground-2);border-color:var(--calcite-color-transparent)}.esri-button--disabled{opacity:.4;pointer-events:none}.esri-button--drill-in{outline-offset:-4px;cursor:pointer;text-align:unset;background-color:var(--calcite-color-foreground-1);border:none;border-radius:2px;justify-content:space-between;align-items:center;margin:var(--calcite-spacing-md) 7px;padding:var(--calcite-spacing-md) 7px;text-decoration:none;transition:background-color .125s ease-in-out;display:flex;box-shadow:0 0 0 1px #adadad4d}.esri-button--drill-in:hover,.esri-button--drill-in:focus{background-color:var(--calcite-color-foreground-2)}.esri-button--drill-in__title{font-size:var(--calcite-font-size)}.esri-button--drill-in [class^=esri-icon-],.esri-button--drill-in [class*=" esri-icon-"]{padding:0 7px}.esri-widget--button{cursor:pointer;text-align:center;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);flex-flow:row;justify-content:center;align-items:center;width:var(--calcite-spacing-xxxl);height:var(--calcite-spacing-xxxl);margin:0;padding:0;font-size:var(--calcite-font-size);transition:background-color .125s ease-in-out;display:flex;overflow:hidden}.esri-widget--button:is(calcite-button):not(:hover){--calcite-icon-color: var(--calcite-color-text-3)}.esri-widget--button:not([appearance]),.esri-widget--button[appearance=solid]{--calcite-color-foreground-3: var(--calcite-color-foreground-1)}.esri-widget--button:is(calcite-button){--calcite-offset-invert-focus: 1}.esri-widget--button calcite-loader[inline]{margin:auto}.esri-button--secondary{color:var(--calcite-color-brand);background-color:var(--calcite-color-foreground-1);&:hover{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-status-info);border:1px solid var(--calcite-color-status-info)}}:host{display:flex;--arcgis-internal-floor-filter-align-items: flex-start;--arcgis-internal-floor-filter-column-direction: column;--arcgis-internal-floor-filter-button-border-width: 1px 0 0;--arcgis-internal-floor-filter-button-display: flex;--arcgis-internal-floor-filter-menu-width: 300px;--arcgis-internal-floor-filter-menu-max-height: 240px;--arcgis-internal-floor-filter-levels-max-height: 156px}.floor-filter{background:0 0;border:none;flex-direction:var(--arcgis-internal-row-direction);display:flex;box-shadow:none!important}.esri-widget--button{cursor:pointer;text-align:center;color:var(--calcite-color-text-3);background:var(--calcite-color-foreground-1);flex-flow:row;justify-content:center;align-items:center;width:32px;height:32px;margin:0;padding:0;font-size:var(--calcite-font-size);transition:background-color .125s ease-in-out;display:flex;overflow:hidden}.esri-widget--button-active{color:var(--calcite-color-text-highlight)!important;background:var(--calcite-color-foreground-current)!important}.floor-filter__icon-flip{transform:var(--arcgis-internal-collapse-icon-flip)}.floor-filter__position{align-items:var(--arcgis-internal-floor-filter-align-items)}.floor-filter__position .floor-filter__levels-container,.floor-filter__position .floor-filter__close-levels-button,.floor-filter__position .floor-filter__zoom-button,.floor-filter__position .floor-filter__zoom-button--levels,.floor-filter__position .floor-filter__minimize-toggle-button{border-width:var(--arcgis-internal-floor-filter-button-border-width)}.floor-filter__button-container{display:flex;flex-direction:var(--arcgis-internal-floor-filter-column-direction)}.floor-filter__layout--collapsed .floor-filter__button-container{max-width:48px}.floor-filter__layout--expanded .floor-filter__button-container{max-width:300px}.floor-filter__layout--collapsed .floor-filter__button-container .floor-filter__browse-button{border:none;width:48px;height:48px;padding:12px}.floor-filter__layout--collapsed .floor-filter__button-container .floor-filter__zoom-button{border-style:solid;border-color:var(--calcite-color-border-1);width:48px;height:48px;padding:12px}.floor-filter__layout--collapsed .floor-filter__button-container .floor-filter__zoom-button--levels{border-style:solid;border-color:var(--calcite-color-border-1);width:48px;height:32px;padding:8px 12px}.floor-filter__layout--collapsed .floor-filter__button-container .floor-filter__minimize-toggle-button{border-style:solid;border-color:var(--calcite-color-border-1);width:48px;height:32px;padding:4px 12px}.floor-filter__layout--expanded .floor-filter__button-container .floor-filter__button-info{inline-size:100%}.floor-filter__layout--expanded .floor-filter__button-container .floor-filter__browse-button{border:none;width:auto;height:48px;padding:12px}.floor-filter__layout--expanded .floor-filter__button-container .floor-filter__level-button{text-align:start;justify-content:flex-start;padding:16px}.floor-filter__layout--expanded .floor-filter__button-container .floor-filter__zoom-button{border-style:solid;border-color:var(--calcite-color-border-1);width:auto;height:48px;padding:12px}.floor-filter__layout--expanded .floor-filter__button-container .floor-filter__zoom-button--levels{border-style:solid;border-color:var(--calcite-color-border-1);width:auto;height:32px;padding:8px 12px}.floor-filter__layout--expanded .floor-filter__button-container .floor-filter__minimize-toggle-button{border-style:solid;border-color:var(--calcite-color-border-1);width:auto;height:32px;padding:4px 12px}.floor-filter__layout--expanded .floor-filter__button-info{gap:var(--calcite-spacing-sm)}.floor-filter__button-container .floor-filter__button-info{display:flex;align-items:center}.floor-filter__level-button{border:none;width:100%;height:48px}.floor-filter__levels-container{margin:unset;padding:unset;scrollbar-width:thin;border-style:solid;border-color:var(--calcite-color-border-1);width:100%;max-height:var(--arcgis-internal-floor-filter-levels-max-height);list-style-type:none;overflow:auto}.floor-filter__levels-container .esri-widget--button-active{font-weight:var(--calcite-font-weight-semibold)}.floor-filter__levels-container::-webkit-scrollbar{width:6px}.floor-filter__levels-container::-webkit-scrollbar-track{background:var(--calcite-color-text-1)}.floor-filter__levels-container::-webkit-scrollbar-thumb{background-color:var(--calcite-color-transparent-tint);border:3px solid var(--calcite-color-transparent-tint);border-radius:20px}.floor-filter__button-container{box-shadow:0 1px 2px #0000004d}.floor-filter__filter-menu{background:var(--calcite-color-foreground-1);flex-direction:column;align-items:stretch;width:var(--arcgis-internal-floor-filter-menu-width);max-height:var(--arcgis-internal-floor-filter-menu-max-height);display:flex;box-shadow:0 1px 2px #0000004d}.floor-filter__filter-menu .floor-filter__filter-menu-header{color:var(--calcite-color-text-2);flex-direction:row;align-items:stretch;height:auto;line-height:var(--calcite-font-line-height-relative-tight);display:flex;box-shadow:0 .5px var(--calcite-color-foreground-3)}.floor-filter__filter-menu-header .floor-filter__icon-close{color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;align-items:center;padding:20px 10px}.floor-filter__filter-menu .floor-filter__filter-menu-header-back{margin:unset;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;border-inline-end:1px solid var(--calcite-color-border-1);justify-content:center;align-items:center;min-width:28px;padding:20px 0;display:flex}.floor-filter__filter-menu .floor-filter__filter-menu-header-text-group{flex-direction:column;justify-content:center;padding:12px;display:flex;flex:1}.floor-filter__filter-menu .floor-filter__filter-menu-header-text{margin:unset;text-overflow:ellipsis;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;font-size:var(--calcite-font-size-md);font-style:normal;font-weight:var(--calcite-font-weight-semibold);display:-webkit-box;overflow:hidden}.floor-filter__filter-menu .floor-filter__filter-menu-header-subtext{text-overflow:ellipsis;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;margin:4px 0 0;font-size:var(--calcite-font-size);font-style:normal;font-weight:var(--calcite-font-weight-normal);display:-webkit-box;overflow:hidden}.floor-filter__filter-menu .floor-filter__icon-close:hover{cursor:pointer;color:var(--calcite-color-text-1);background:var(--calcite-color-foreground-2)}.floor-filter__filter-menu .floor-filter__filter-menu-search{background:var(--calcite-color-foreground-2);align-items:center;margin-top:.5px;margin-bottom:1px;padding:10px;display:flex;gap:6px;box-shadow:0 .5px var(--calcite-color-foreground-3)}.floor-filter__filter-menu-search-input{color:var(--calcite-color-text-2);background:0 0;border:none;outline:none;width:100%;font-size:var(--calcite-font-size)}.floor-filter__filter-menu .floor-filter__filter-menu-items{margin:unset;padding:unset;color:var(--calcite-color-text-2);width:100%;max-height:300px;list-style-type:none;overflow-y:auto}.floor-filter__filter-menu-site:hover,.floor-filter__filter-menu-site:focus,.floor-filter__filter-menu-facility:hover,.floor-filter__filter-menu-facility:focus,.floor-filter__level-button:focus,.floor-filter__level-button:hover,.esri-widget--button:hover,.floor-filter__filter-menu-header-back:hover{cursor:pointer;background:var(--calcite-color-foreground-2)}.floor-filter__filter-menu-site:active,.floor-filter__filter-menu-facility:active{color:var(--calcite-color-text-highlight);background-color:var(--calcite-color-foreground-current)}.floor-filter__filter-menu-site,.floor-filter__filter-menu-facility{color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1);border:none;flex-direction:row;align-items:center;gap:10px;inline-size:100%;line-height:var(--calcite-font-line-height-relative-tight);padding:18px;display:flex}.floor-filter__filter-menu-site .floor-filter__icon-left{transform:rotate(180deg)}.floor-filter__filter-menu-item-name{font-size:var(--calcite-font-size)}.floor-filter__filter-menu-item-name--selected{color:var(--calcite-color-text-2);font-size:var(--calcite-font-size);font-weight:var(--calcite-font-weight-bold)}.floor-filter__filter-menu-item-name,.floor-filter__filter-menu-item-name--selected{text-align:start;flex:1}.floor-filter__selected-item-circle{background:var(--calcite-color-brand-hover);border-radius:50%;width:4px;height:4px;margin-inline-start:-10px}.floor-filter__separator{box-shadow:none;background:0 0;border:none;width:10px}.esri-expand__content{width:max-content}.floor-filter__zoom-button,.floor-filter__zoom-button--levels,.floor-filter__minimize-toggle-button{display:var(--arcgis-internal-floor-filter-button-display)}.floor-filter__close-levels-button{background:var(--calcite-color-foreground-2);border-style:solid;border-color:var(--calcite-color-border-1);width:48px;height:48px;padding:12px}`, O = /* @__PURE__ */ new Set(["ArrowUp", "ArrowDown", "End", "Home"]), j = 50, D = S(L);
|
|
54
54
|
class R extends T {
|
|
55
55
|
constructor() {
|
|
56
|
-
super(...arguments), this._direction = B(), this.messages = N({}), this.store = E({ search: void 0 }), this.
|
|
56
|
+
super(...arguments), this._direction = B(), this.messages = N({}), this.store = E({ search: void 0 }), this._activeMenu = null, this._activeMenuIndex = {
|
|
57
57
|
levels: -1,
|
|
58
58
|
menuItems: -1
|
|
59
|
-
}, this._facilitiesListNode = x(), this._levelsListNode = x(), this._sitesListNode = x(), this.view = this.viewModel.view, this.autoDestroyDisabled = !1, this.facility = this.viewModel.facility, this.headingLevel = 2, this.icon = "urban-model", this.level = this.viewModel.level, this.longNames = this.viewModel.longNames, this.goToOverride = this.viewModel.goToOverride, this.site = this.viewModel.site, this.arcgisReady = F();
|
|
59
|
+
}, this._facilitiesListNode = x(), this._levelsListNode = x(), this._sitesListNode = x(), this.viewModel = D(this), this.view = this.viewModel.view, this.autoDestroyDisabled = !1, this.facility = this.viewModel.facility, this.headingLevel = 2, this.icon = "urban-model", this.level = this.viewModel.level, this.longNames = this.viewModel.longNames, this.goToOverride = this.viewModel.goToOverride, this.site = this.viewModel.site, this.arcgisReady = F();
|
|
60
60
|
}
|
|
61
61
|
static {
|
|
62
|
-
this.properties = { view: 0, autoDestroyDisabled: 5, facility: 3, headingLevel: 11, icon: 1, label: 1, level: 3, longNames: 7, messageOverrides: 0, goToOverride: 0, referenceElement: 1, site: 3 };
|
|
62
|
+
this.properties = { viewModel: 0, view: 0, autoDestroyDisabled: 5, facility: 3, headingLevel: 11, icon: 1, label: 1, level: 3, longNames: 7, messageOverrides: 0, goToOverride: 0, referenceElement: 1, site: 3 };
|
|
63
63
|
}
|
|
64
64
|
static {
|
|
65
65
|
this.styles = H;
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import type Geometry from "@arcgis/core/geometry/Geometry.js";
|
|
2
|
+
import type FloorFilterViewModel from "@arcgis/core/widgets/FloorFilter/FloorFilterViewModel.js";
|
|
3
|
+
import type WebMap from "@arcgis/core/WebMap.js";
|
|
4
|
+
import type WebScene from "@arcgis/core/WebScene.js";
|
|
5
|
+
|
|
6
|
+
export interface IFloorFilterViewModel extends FloorFilterViewModel {
|
|
7
|
+
filterFacilities: (facilities: Facility[]) => Facility[];
|
|
8
|
+
filterFeatures: FilterFeatures;
|
|
9
|
+
filterMenuOpen: boolean;
|
|
10
|
+
filterMenuType: FilterMenuType;
|
|
11
|
+
filterMode: FilterMode;
|
|
12
|
+
filterSites: (sites: Site[]) => Site[];
|
|
13
|
+
getBaseLevel?: (facility: Facility | null | undefined) => Level | null;
|
|
14
|
+
getFacility?: (facilityId: null | undefined | string) => Facility | null;
|
|
15
|
+
getFacilityLevels: (facilityId: null | undefined | string) => Level[];
|
|
16
|
+
getLevel?: (levelId: null | undefined | string) => Level | null;
|
|
17
|
+
getSite: (siteId: null | undefined | string) => null | undefined | Site;
|
|
18
|
+
goTo: (feature: Facility | null | undefined | Site) => void;
|
|
19
|
+
hasMultipleSites: boolean;
|
|
20
|
+
isNormalMode: boolean;
|
|
21
|
+
levelsExpanded: boolean;
|
|
22
|
+
searchTerm: null | undefined | string;
|
|
23
|
+
setFloors: (level: Level | null | undefined) => void;
|
|
24
|
+
state: FloorFilterState;
|
|
25
|
+
updateWebDocument: (document: WebMap | WebScene) => void;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
export type FilterMenuType = "facility" | "site";
|
|
29
|
+
|
|
30
|
+
export type FilterMode = "base-floors" | "single-floor";
|
|
31
|
+
|
|
32
|
+
export type FloorFilterState = "disabled" | "loading" | "ready";
|
|
33
|
+
|
|
34
|
+
export interface FilterFeatures {
|
|
35
|
+
sites: Sites;
|
|
36
|
+
facilities: Facilities;
|
|
37
|
+
levels: Levels;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
export interface Sites {
|
|
41
|
+
sitesInfo: Site[];
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
export interface Facilities {
|
|
45
|
+
facilitiesInfo: Facility[];
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
export interface Levels {
|
|
49
|
+
levelsInfo: Level[];
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export interface Site {
|
|
53
|
+
id: string;
|
|
54
|
+
name: string;
|
|
55
|
+
geometry: Geometry;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
export interface Facility {
|
|
59
|
+
id: string;
|
|
60
|
+
siteId: null | undefined | string;
|
|
61
|
+
name: string;
|
|
62
|
+
geometry: Geometry;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
export interface Level {
|
|
66
|
+
id: string;
|
|
67
|
+
facilityId: string;
|
|
68
|
+
longName: null | undefined | string;
|
|
69
|
+
shortName: null | undefined | string;
|
|
70
|
+
levelNumber: null | undefined | number;
|
|
71
|
+
verticalOrder: null | undefined | number;
|
|
72
|
+
}
|