@arcgis/map-components 4.34.0-next.126 → 4.34.0-next.128
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cdn/{ET5C5YMY.js → 2ECBWCO2.js} +2 -2
- package/dist/cdn/{5AOHIN4B.js → 2H3XO7CN.js} +2 -2
- package/dist/cdn/{EVTMUQHE.js → 2H6QPPKV.js} +2 -2
- package/dist/cdn/2OUPGH3T.js +4 -0
- package/dist/cdn/{HDT5PZG6.js → 2U23PR2Z.js} +2 -2
- package/dist/cdn/{XMNRYHBV.js → 37SGC6JO.js} +2 -2
- package/dist/cdn/{CJPUFBD2.js → 3H5CGF2W.js} +2 -2
- package/dist/cdn/3TYD7MXA.js +4 -0
- package/dist/cdn/3XJLVWBC.js +4 -0
- package/dist/cdn/3Y6MSDPY.js +4 -0
- package/dist/cdn/{B75V53DG.js → 4EMGEB6M.js} +2 -2
- package/dist/cdn/{J5GNLGGY.js → 4YNGM73K.js} +2 -2
- package/dist/cdn/54WC2T2L.js +4 -0
- package/dist/cdn/{7WVBB25Q.js → 54YUDXEI.js} +2 -2
- package/dist/cdn/{RWFNVRUB.js → 5BH6C35G.js} +2 -2
- package/dist/cdn/5KMO7TRX.js +4 -0
- package/dist/cdn/{G3D6GHQ5.js → 5NDNY4PP.js} +2 -2
- package/dist/cdn/{47R2YESS.js → 5PGYUSRZ.js} +2 -2
- package/dist/cdn/{77RD2G3G.js → 5SKPSGZO.js} +2 -2
- package/dist/cdn/{HOIXT45X.js → 5V37ZOQL.js} +2 -2
- package/dist/cdn/5WO6TN2Z.js +4 -0
- package/dist/cdn/{HZK7BFEU.js → 62EOE6VY.js} +2 -2
- package/dist/cdn/{KOESCJOX.js → 62VYTKLK.js} +2 -2
- package/dist/cdn/{QRHJHPGM.js → 66UDJ2TB.js} +1 -1
- package/dist/cdn/{3FDYCN6J.js → 6C2FFQO2.js} +2 -2
- package/dist/cdn/{2CGCEJBW.js → 6CWVQ6UR.js} +2 -2
- package/dist/cdn/{ROAVA4JA.js → 6LHSMDAL.js} +2 -2
- package/dist/cdn/{55LQBMWX.js → 6LNLTFMY.js} +2 -2
- package/dist/cdn/{5IUQW4SV.js → 6LRAALBX.js} +2 -2
- package/dist/cdn/{PEGWYXKX.js → 6SFA2TBD.js} +2 -2
- package/dist/cdn/6UQYYNES.js +4 -0
- package/dist/cdn/{VZWI77C2.js → 727FOAJC.js} +2 -2
- package/dist/cdn/{Q4S3OBXP.js → 7DB6DUCJ.js} +2 -2
- package/dist/cdn/{RE6RPEK5.js → 7EVEBQOO.js} +1 -1
- package/dist/cdn/{2GU64EYX.js → 7J34FORW.js} +2 -2
- package/dist/cdn/{ZFIZ5ICA.js → 7KGDRCGZ.js} +2 -2
- package/dist/cdn/{VLIGGVPB.js → 7OENE6ZM.js} +2 -2
- package/dist/cdn/{UJIAE77U.js → 7RZWYNDZ.js} +2 -2
- package/dist/cdn/A4ICMR3Y.js +4 -0
- package/dist/cdn/{MGBURBCQ.js → A6FXBFIG.js} +2 -2
- package/dist/cdn/{4EN76RE4.js → AIBMTQIL.js} +2 -2
- package/dist/cdn/ALIRDKZL.js +4 -0
- package/dist/cdn/{SQXD3VUO.js → AXYL6UJQ.js} +2 -2
- package/dist/cdn/AYHLSBH3.js +4 -0
- package/dist/cdn/{3U6FL5CJ.js → BEFAFUTF.js} +2 -2
- package/dist/cdn/{CG7FTUAS.js → BFTQA6P5.js} +2 -2
- package/dist/cdn/{E6ZLK23H.js → BLZ7A4MO.js} +2 -2
- package/dist/cdn/{NNIA4NN4.js → BPX4DFYT.js} +2 -2
- package/dist/cdn/{RIUGYHZR.js → BXL3SOA7.js} +2 -2
- package/dist/cdn/{EF6JLI3D.js → CEH5AMZP.js} +2 -2
- package/dist/cdn/{LLZ4JQRB.js → CGR2JG6D.js} +1 -1
- package/dist/cdn/{F77QW2WG.js → CI5Y2Q6H.js} +2 -2
- package/dist/cdn/{AYOGHDI4.js → CMCJGWKJ.js} +2 -2
- package/dist/cdn/{6KQ5PJGC.js → CRKP4B32.js} +2 -2
- package/dist/cdn/{O5EP6F5A.js → CUHVMMFH.js} +2 -2
- package/dist/cdn/{GPF3LTPZ.js → CW2666RZ.js} +2 -2
- package/dist/cdn/{UTWATVD2.js → DI5YJ3E3.js} +2 -2
- package/dist/cdn/{HNIKYLKR.js → DJ44Q2JM.js} +1 -1
- package/dist/cdn/{T4SEIDZD.js → DMQERREH.js} +2 -2
- package/dist/cdn/{7JI7EN6Y.js → DNC4RW63.js} +2 -2
- package/dist/cdn/DR6PZOO4.js +4 -0
- package/dist/cdn/{MQJONABN.js → DRTV5TKW.js} +1 -1
- package/dist/cdn/{3FL3UVTV.js → DVNN7IFJ.js} +2 -2
- package/dist/cdn/{LCQ56ACM.js → DVT2QMCH.js} +2 -2
- package/dist/cdn/{GDSL5OPE.js → DXLAVJAL.js} +2 -2
- package/dist/cdn/{OPMS4BVQ.js → EDN4E7VX.js} +2 -2
- package/dist/cdn/{AZAVO3S5.js → EDZONWNW.js} +2 -2
- package/dist/cdn/{GMRQ63JW.js → EFJCUY4W.js} +2 -2
- package/dist/cdn/{RGUZMB66.js → ENTL7LUH.js} +2 -2
- package/dist/cdn/{RLVKJR7X.js → EPXWQERC.js} +2 -2
- package/dist/cdn/{XN5NVHQH.js → EZJRKL2Y.js} +2 -2
- package/dist/cdn/FA66GK4V.js +4 -0
- package/dist/cdn/FAJ6AS6Z.js +4 -0
- package/dist/cdn/{YEBVECU4.js → FGRYUWY4.js} +2 -2
- package/dist/cdn/{AP4U4PLQ.js → FNBJH4AX.js} +2 -2
- package/dist/cdn/{UQPLFS36.js → G4BGDKAH.js} +2 -2
- package/dist/cdn/{6JLRXIIU.js → GBZWFRT5.js} +2 -2
- package/dist/cdn/{B4KNVUPW.js → GF7XUPUG.js} +2 -2
- package/dist/cdn/{Y3R4IE5F.js → GHJY55KQ.js} +2 -2
- package/dist/cdn/{KJ3X6V5U.js → GKGDT535.js} +2 -2
- package/dist/cdn/{I6JLX5KC.js → GOLFULXL.js} +2 -2
- package/dist/cdn/{NJLNHW4X.js → GYWPHVHB.js} +2 -2
- package/dist/cdn/{Y7RX3V36.js → H3C7V4NF.js} +2 -2
- package/dist/cdn/{JSSGJ6QA.js → H4P4G25Z.js} +2 -2
- package/dist/cdn/{NOYXCWU2.js → HD6WVRXY.js} +2 -2
- package/dist/cdn/{DYDJ3Q4A.js → HJOWHWPI.js} +1 -1
- package/dist/cdn/{L2STTIN5.js → HLIF2MOX.js} +2 -2
- package/dist/cdn/{PLEDYCCT.js → HNTDZ7QS.js} +2 -2
- package/dist/cdn/{23BQVV5P.js → HQTXLNAM.js} +2 -2
- package/dist/cdn/{BG7GTNI2.js → I4RQS3XS.js} +2 -2
- package/dist/cdn/{6ZX64NK4.js → IFPTT4L5.js} +2 -2
- package/dist/cdn/{CEY2WMFN.js → IINDWWUN.js} +2 -2
- package/dist/cdn/{DEVI26PS.js → IKPHWLL7.js} +2 -2
- package/dist/cdn/{YHGAKCIU.js → IN32G4PC.js} +1 -1
- package/dist/cdn/{SNOMMY7T.js → INZGS6EI.js} +2 -2
- package/dist/cdn/{ZC65MIKC.js → IPQ6R5Z7.js} +2 -2
- package/dist/cdn/{RNZBGMVW.js → IRYI2C5T.js} +2 -2
- package/dist/cdn/{HTUJZ4JI.js → J6TGDZAG.js} +2 -2
- package/dist/cdn/{FWMIDJWL.js → JAU6IZNV.js} +2 -2
- package/dist/cdn/{7WQAAEMD.js → JJTJRWHU.js} +2 -2
- package/dist/cdn/{XIMT6CTV.js → JLNXFQR7.js} +2 -2
- package/dist/cdn/{XNNSC73G.js → JNUQB6QP.js} +2 -2
- package/dist/cdn/{KEXMSNPE.js → JRXBVEW7.js} +2 -2
- package/dist/cdn/{MKAIDDSL.js → K4C5QXH3.js} +2 -2
- package/dist/cdn/KBB4ZI2O.js +4 -0
- package/dist/cdn/{GPAKJWXM.js → KDSVA2B7.js} +2 -2
- package/dist/cdn/KHS3SWXG.js +4 -0
- package/dist/cdn/{NGQWSV2A.js → KNAS2HY5.js} +1 -1
- package/dist/cdn/{3IYQOLWN.js → KRKTWT35.js} +2 -2
- package/dist/cdn/{UYCCGEVR.js → KX7DGN5F.js} +2 -2
- package/dist/cdn/{YPZUH5O2.js → L2JAUAVY.js} +2 -2
- package/dist/cdn/{OQN4MGR3.js → L4OQNX5N.js} +1 -1
- package/dist/cdn/{5XH5ROO7.js → L7UBSVYJ.js} +2 -2
- package/dist/cdn/LAL3LRXS.js +4 -0
- package/dist/cdn/{T34X3YIQ.js → LDWFL552.js} +2 -2
- package/dist/cdn/{LXJSY2MG.js → LOUJDVKG.js} +2 -2
- package/dist/cdn/{MXPES5JI.js → LRD7NK6W.js} +2 -2
- package/dist/cdn/{FGWI3CKE.js → LUCLWH5K.js} +2 -2
- package/dist/cdn/{CGBOZKWZ.js → LYXF5RII.js} +2 -2
- package/dist/cdn/{AKSS4A7A.js → MBHMZBQQ.js} +1 -1
- package/dist/cdn/{YFFTG7AG.js → MGDAIXBC.js} +2 -2
- package/dist/cdn/{PPMKWYXP.js → MKE4XYAJ.js} +2 -2
- package/dist/cdn/{YKESPNAQ.js → MP4DJY5C.js} +2 -2
- package/dist/cdn/{TKHOLMKU.js → MQAAOELP.js} +2 -2
- package/dist/cdn/{EIFMWR4A.js → MWL2W7MK.js} +2 -2
- package/dist/cdn/{2MQGFPDR.js → MYEL4Y44.js} +2 -2
- package/dist/cdn/N4MXMJGO.js +4 -0
- package/dist/cdn/{VF4PKUB3.js → NRKJBQCD.js} +2 -2
- package/dist/cdn/{CAHDNHKE.js → NV23B34I.js} +2 -2
- package/dist/cdn/{UVZCPBXJ.js → NZDLPUF7.js} +2 -2
- package/dist/cdn/{NRFGE4OE.js → O32K44FO.js} +2 -2
- package/dist/cdn/{L4I2TX5J.js → O4MJ4QT5.js} +2 -2
- package/dist/cdn/{QIUGB7VY.js → OB6QBXC6.js} +2 -2
- package/dist/cdn/{IXIGZZPZ.js → OI5H3BL2.js} +2 -2
- package/dist/cdn/{F6W27ADX.js → OQHKBGAG.js} +2 -2
- package/dist/cdn/{3TYLLPJM.js → OS6SSKFR.js} +2 -2
- package/dist/cdn/OTAVYVFZ.js +4 -0
- package/dist/cdn/{QK7MQ3ZG.js → OV7FLXQK.js} +2 -2
- package/dist/cdn/{BMKCXLJG.js → OYCJFRBN.js} +2 -2
- package/dist/cdn/{P3PUOKVX.js → OZCL6R6M.js} +2 -2
- package/dist/cdn/{CG4XV6GU.js → OZL4Y6PI.js} +2 -2
- package/dist/cdn/P7EJRVNJ.js +4 -0
- package/dist/cdn/{7MIUNXKP.js → PPMLSRAL.js} +2 -2
- package/dist/cdn/{FUYBMKIT.js → PV6MXF7P.js} +2 -2
- package/dist/cdn/{N2RX23W6.js → PWWDMTGF.js} +2 -2
- package/dist/cdn/{NDJ4DLLV.js → Q3Q4VDPU.js} +2 -2
- package/dist/cdn/{ZFJ4HX7F.js → Q5JJF7JN.js} +2 -2
- package/dist/cdn/{OQXMPLC5.js → QDF36CXE.js} +2 -2
- package/dist/cdn/{GN3JIGKA.js → QGU4G2LK.js} +2 -2
- package/dist/cdn/{2SMHV525.js → QIYI4QWP.js} +2 -2
- package/dist/cdn/{AM7PEI2P.js → QOVGM25K.js} +2 -2
- package/dist/cdn/QQRBSWTG.js +4 -0
- package/dist/cdn/{DST4YOTP.js → QVOSBNB5.js} +2 -2
- package/dist/cdn/{VJMN4VGZ.js → R2YJ4VKL.js} +2 -2
- package/dist/cdn/{TRD5GIAV.js → R42VWPV7.js} +2 -2
- package/dist/cdn/{AHVQ4H5J.js → RGOWUXWS.js} +2 -2
- package/dist/cdn/{47M5YVES.js → RGZDXD5H.js} +1 -1
- package/dist/cdn/{HWBX65BI.js → RTC37Y5W.js} +2 -2
- package/dist/cdn/{W3CTD2JA.js → RVR3KJDU.js} +2 -2
- package/dist/cdn/{JBMNZ72D.js → RXPZPX4D.js} +2 -2
- package/dist/cdn/S4PMWJSR.js +4 -0
- package/dist/cdn/{FLBPJTU5.js → SAHQV77E.js} +2 -2
- package/dist/cdn/{FAUOLDED.js → SK65SOQI.js} +2 -2
- package/dist/cdn/{BUTNMXZP.js → SMDIWIPV.js} +2 -2
- package/dist/cdn/{F2K7AF6Z.js → SWY2HN6J.js} +2 -2
- package/dist/cdn/{JA5JM23Q.js → T5HWMNIT.js} +2 -2
- package/dist/cdn/{CSVVFUUC.js → THNVOXBQ.js} +2 -2
- package/dist/cdn/THZWI5UZ.js +4 -0
- package/dist/cdn/{Q2WV5SS7.js → TINFHRAM.js} +1 -1
- package/dist/cdn/{QDGMQESG.js → TKB5EQJG.js} +2 -2
- package/dist/cdn/{CHGLN22H.js → TLMJYYUH.js} +2 -2
- package/dist/cdn/{23CPOPYJ.js → TO76MUXW.js} +2 -2
- package/dist/cdn/{OSA6ZGPX.js → TPLNN22C.js} +2 -2
- package/dist/cdn/{2564ALYI.js → TRCE2UD4.js} +2 -2
- package/dist/cdn/{LSQE3IAM.js → TVG544VC.js} +2 -2
- package/dist/cdn/{7WK7MWXY.js → UAYBOFPS.js} +2 -2
- package/dist/cdn/UBPY57H7.js +5 -0
- package/dist/cdn/{4CPB32NP.js → UCTEISBH.js} +2 -2
- package/dist/cdn/{I43WLH4Q.js → UGZTTEAN.js} +2 -2
- package/dist/cdn/{3RCKMIZG.js → UJB6XFFE.js} +2 -2
- package/dist/cdn/{EPGOIJ36.js → V2C7SG42.js} +2 -2
- package/dist/cdn/{XF3IRPXR.js → V3ZZOWOZ.js} +2 -2
- package/dist/cdn/V453Q5SF.js +4 -0
- package/dist/cdn/{YPXIGB3R.js → V635Q4AX.js} +2 -2
- package/dist/cdn/{XBW42KLF.js → VB5UXWAE.js} +2 -2
- package/dist/cdn/{ABY74RTP.js → VC6HWBIL.js} +2 -2
- package/dist/cdn/{A6U7FTEU.js → VNYNALS7.js} +2 -2
- package/dist/cdn/{HDNJM2LD.js → VQMB3CD5.js} +2 -2
- package/dist/cdn/{NU4AD74P.js → VUT6XGHU.js} +2 -2
- package/dist/cdn/{DGHKDLTH.js → VZGNVDRD.js} +2 -2
- package/dist/cdn/{62TLIOD4.js → W5LV6KJQ.js} +2 -2
- package/dist/cdn/{7TTV5PFB.js → W6EGVMM4.js} +2 -2
- package/dist/cdn/{XA3CG5EP.js → WDRSWYAT.js} +2 -2
- package/dist/cdn/{RLW2HWUC.js → WRCKK4JT.js} +2 -2
- package/dist/cdn/{FGJVMKGG.js → WS44MNJS.js} +2 -2
- package/dist/cdn/{T7CO6LBD.js → WYIGBP6C.js} +2 -2
- package/dist/cdn/{T7324YLA.js → X5SAGX4O.js} +2 -2
- package/dist/cdn/X64RV363.js +4 -0
- package/dist/cdn/{Z3PGZKSN.js → X77TSJNR.js} +2 -2
- package/dist/cdn/XCKNQRIC.js +4 -0
- package/dist/cdn/{U456XBFI.js → Y4DGIKUB.js} +2 -2
- package/dist/cdn/{O6LHXWZW.js → YGR6QLX5.js} +2 -2
- package/dist/cdn/YHGSE3BM.js +4 -0
- package/dist/cdn/YTWAF4LD.js +4 -0
- package/dist/cdn/{W6XGDNMY.js → Z534ORPK.js} +2 -2
- package/dist/cdn/{HDHMKQII.js → Z5MROVYA.js} +1 -1
- package/dist/cdn/{WCAX4RU7.js → ZA46SSTL.js} +2 -2
- package/dist/cdn/ZB65AVDQ.js +4 -0
- package/dist/cdn/{AVFUK3B2.js → ZGY5YA4V.js} +2 -2
- package/dist/cdn/{OTELWF7N.js → ZHTQNBPM.js} +2 -2
- package/dist/cdn/{EGNVJKZ5.js → ZNFBOSZA.js} +2 -2
- package/dist/cdn/{IDUBBWVQ.js → ZNOVB4YO.js} +2 -2
- package/dist/cdn/{JG654ASN.js → ZVGMRQCQ.js} +2 -2
- package/dist/cdn/{M73G7Y5Z.js → ZVI6TJKU.js} +2 -2
- package/dist/cdn/assets/popup/t9n/messages.ar.json +1 -0
- package/dist/cdn/assets/popup/t9n/messages.bg.json +1 -0
- package/dist/cdn/assets/popup/t9n/messages.bs.json +1 -0
- package/dist/cdn/assets/popup/t9n/messages.ca.json +1 -0
- package/dist/cdn/assets/popup/t9n/messages.cs.json +1 -0
- package/dist/cdn/assets/popup/t9n/messages.da.json +1 -0
- package/dist/cdn/assets/popup/t9n/messages.de.json +1 -0
- package/dist/cdn/assets/popup/t9n/messages.el.json +1 -0
- package/dist/cdn/assets/popup/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/popup/t9n/messages.es.json +1 -0
- package/dist/cdn/assets/popup/t9n/messages.et.json +1 -0
- package/dist/cdn/assets/popup/t9n/messages.fi.json +1 -0
- package/dist/cdn/assets/popup/t9n/messages.fr.json +1 -0
- package/dist/cdn/assets/popup/t9n/messages.he.json +1 -0
- package/dist/cdn/assets/popup/t9n/messages.hr.json +1 -0
- package/dist/cdn/assets/popup/t9n/messages.hu.json +1 -0
- package/dist/cdn/assets/popup/t9n/messages.id.json +1 -0
- package/dist/cdn/assets/popup/t9n/messages.it.json +1 -0
- package/dist/cdn/assets/popup/t9n/messages.ja.json +1 -0
- package/dist/cdn/assets/popup/t9n/messages.ko.json +1 -0
- package/dist/cdn/assets/popup/t9n/messages.lt.json +1 -0
- package/dist/cdn/assets/popup/t9n/messages.lv.json +1 -0
- package/dist/cdn/assets/popup/t9n/messages.nl.json +1 -0
- package/dist/cdn/assets/popup/t9n/messages.no.json +1 -0
- package/dist/cdn/assets/popup/t9n/messages.pl.json +1 -0
- package/dist/cdn/assets/popup/t9n/messages.pt-BR.json +1 -0
- package/dist/cdn/assets/popup/t9n/messages.pt-PT.json +1 -0
- package/dist/cdn/assets/popup/t9n/messages.ro.json +1 -0
- package/dist/cdn/assets/popup/t9n/messages.ru.json +1 -0
- package/dist/cdn/assets/popup/t9n/messages.sk.json +1 -0
- package/dist/cdn/assets/popup/t9n/messages.sl.json +1 -0
- package/dist/cdn/assets/popup/t9n/messages.sr.json +1 -0
- package/dist/cdn/assets/popup/t9n/messages.sv.json +1 -0
- package/dist/cdn/assets/popup/t9n/messages.th.json +1 -0
- package/dist/cdn/assets/popup/t9n/messages.tr.json +1 -0
- package/dist/cdn/assets/popup/t9n/messages.uk.json +1 -0
- package/dist/cdn/assets/popup/t9n/messages.vi.json +1 -0
- package/dist/cdn/assets/popup/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/popup/t9n/messages.zh-HK.json +1 -0
- package/dist/cdn/assets/popup/t9n/messages.zh-TW.json +1 -0
- package/dist/cdn/index.js +2 -2
- package/dist/cdn/main.css +1 -1
- package/dist/chunks/AnalysisViewModel.js +1 -1
- package/dist/chunks/action-utils.js +1 -1
- package/dist/chunks/async-utils.js +1 -1
- package/dist/chunks/basemap-gallery-resources.js +1 -1
- package/dist/chunks/chart-utils.js +1 -1
- package/dist/chunks/chartCommon.js +1 -1
- package/dist/chunks/component-utils.js +1 -1
- package/dist/chunks/createCloseEvent.js +1 -1
- package/dist/chunks/{slots2.js → esri-main.js} +2 -3
- package/dist/chunks/feature-utils.js +1 -1
- package/dist/chunks/globalCss.js +1 -1
- package/dist/chunks/heading.js +1 -1
- package/dist/chunks/layer-list.js +1 -1
- package/dist/chunks/legacyIcon.js +1 -1
- package/dist/chunks/maybe.js +1 -1
- package/dist/chunks/measurementUtils.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/screenLocation.js +34 -0
- package/dist/chunks/slots.js +27 -25
- package/dist/chunks/svgUtils.js +1 -1
- package/dist/chunks/titleUtils.js +1 -1
- package/dist/chunks/univariateUtils.js +1 -1
- package/dist/chunks/useHandles.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/chunks/useView.js +22 -43
- package/dist/chunks/useViewModel.js +1 -1
- package/dist/chunks/useWidget.js +1 -1
- package/dist/chunks/utils.js +1 -1
- package/dist/chunks/utils2.js +1 -1
- package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +10 -4
- package/dist/components/arcgis-area-measurement-2d/customElement.js +3 -3
- package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +3 -0
- package/dist/components/arcgis-area-measurement-3d/customElement.js +7 -7
- package/dist/components/arcgis-attachments/customElement.d.ts +1 -1
- package/dist/components/arcgis-attachments/customElement.js +1 -1
- package/dist/components/arcgis-basemap-gallery/customElement.d.ts +8 -0
- package/dist/components/arcgis-basemap-gallery/customElement.js +7 -7
- package/dist/components/arcgis-basemap-gallery-item/customElement.js +1 -1
- package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +9 -1
- package/dist/components/arcgis-basemap-layer-list/customElement.js +3 -3
- package/dist/components/arcgis-basemap-toggle/customElement.d.ts +8 -0
- package/dist/components/arcgis-basemap-toggle/customElement.js +3 -3
- package/dist/components/arcgis-bookmarks/customElement.d.ts +6 -0
- package/dist/components/arcgis-bookmarks/customElement.js +3 -3
- package/dist/components/arcgis-building-explorer/customElement.d.ts +9 -1
- package/dist/components/arcgis-building-explorer/customElement.js +3 -3
- package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +11 -1
- package/dist/components/arcgis-catalog-layer-list/customElement.js +3 -3
- package/dist/components/arcgis-compass/customElement.d.ts +10 -1
- package/dist/components/arcgis-compass/customElement.js +6 -6
- package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +10 -2
- package/dist/components/arcgis-coordinate-conversion/customElement.js +3 -3
- package/dist/components/arcgis-daylight/customElement.d.ts +3 -0
- package/dist/components/arcgis-daylight/customElement.js +4 -4
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +3 -0
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +3 -3
- package/dist/components/arcgis-directional-pad/customElement.d.ts +8 -0
- package/dist/components/arcgis-directional-pad/customElement.js +7 -7
- package/dist/components/arcgis-directions/customElement.d.ts +10 -2
- package/dist/components/arcgis-directions/customElement.js +3 -3
- package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +9 -1
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +3 -3
- package/dist/components/arcgis-editor/customElement.d.ts +9 -1
- package/dist/components/arcgis-editor/customElement.js +3 -3
- package/dist/components/arcgis-elevation-profile/customElement.d.ts +9 -1
- package/dist/components/arcgis-elevation-profile/customElement.js +3 -3
- package/dist/components/arcgis-elevation-profile-legend/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile-legend-item/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile-next/customElement.d.ts +1 -0
- package/dist/components/arcgis-elevation-profile-next/customElement.js +9 -9
- package/dist/components/arcgis-elevation-profile-settings/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile-statistics/customElement.js +1 -1
- package/dist/components/arcgis-expand/customElement.d.ts +8 -0
- package/dist/components/arcgis-expand/customElement.js +31 -31
- package/dist/components/arcgis-feature/customElement.d.ts +10 -8
- package/dist/components/arcgis-feature/customElement.js +17 -17
- package/dist/components/arcgis-feature-attachments/customElement.js +1 -1
- package/dist/components/arcgis-feature-content/customElement.js +6 -6
- package/dist/components/arcgis-feature-element-info/customElement.js +10 -10
- package/dist/components/arcgis-feature-expression/customElement.js +1 -1
- package/dist/components/arcgis-feature-fields/customElement.js +10 -10
- package/dist/components/arcgis-feature-form/customElement.d.ts +1 -1
- package/dist/components/arcgis-feature-form/customElement.js +1 -1
- package/dist/components/arcgis-feature-media/customElement.js +45 -49
- package/dist/components/arcgis-feature-relationship/customElement.js +1 -1
- package/dist/components/arcgis-feature-table/customElement.d.ts +9 -1
- package/dist/components/arcgis-feature-table/customElement.js +3 -3
- package/dist/components/arcgis-feature-templates/customElement.d.ts +1 -1
- package/dist/components/arcgis-feature-templates/customElement.js +1 -1
- package/dist/components/arcgis-features/customElement.d.ts +64 -34
- package/dist/components/arcgis-features/customElement.js +79 -79
- package/dist/components/arcgis-floor-filter/customElement.d.ts +10 -4
- package/dist/components/arcgis-floor-filter/customElement.js +3 -3
- package/dist/components/arcgis-fullscreen/customElement.d.ts +4 -1
- package/dist/components/arcgis-fullscreen/customElement.js +6 -6
- package/dist/components/arcgis-grid-controls/customElement.d.ts +6 -0
- package/dist/components/arcgis-grid-controls/customElement.js +3 -3
- package/dist/components/arcgis-histogram-range-slider/customElement.d.ts +1 -1
- package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-home/customElement.d.ts +7 -0
- package/dist/components/arcgis-home/customElement.js +13 -13
- package/dist/components/arcgis-labeled-switch/customElement.js +1 -1
- package/dist/components/arcgis-layer-list/customElement.d.ts +11 -1
- package/dist/components/arcgis-layer-list/customElement.js +3 -3
- package/dist/components/arcgis-layer-list-item/customElement.js +1 -1
- package/dist/components/arcgis-legend/customElement.d.ts +216 -60
- package/dist/components/arcgis-legend/customElement.js +10 -10
- package/dist/components/arcgis-legend-card-color-ramp/customElement.d.ts +1 -1
- package/dist/components/arcgis-legend-card-color-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-element/customElement.d.ts +1 -1
- package/dist/components/arcgis-legend-card-element/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-size-ramp/customElement.d.ts +1 -1
- package/dist/components/arcgis-legend-card-size-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-univariate-above-and-below-ramp/customElement.d.ts +1 -1
- package/dist/components/arcgis-legend-card-univariate-above-and-below-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-univariate-color-size-ramp/customElement.d.ts +1 -1
- package/dist/components/arcgis-legend-card-univariate-color-size-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-view/customElement.d.ts +1 -1
- package/dist/components/arcgis-legend-card-view/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-color-ramp/customElement.d.ts +1 -1
- package/dist/components/arcgis-legend-classic-color-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-element/customElement.d.ts +1 -1
- package/dist/components/arcgis-legend-classic-element/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-size-ramp/customElement.d.ts +1 -1
- package/dist/components/arcgis-legend-classic-size-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-univariate-above-and-below-ramp/customElement.d.ts +1 -1
- package/dist/components/arcgis-legend-classic-univariate-above-and-below-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-univariate-color-size-ramp/customElement.d.ts +1 -1
- package/dist/components/arcgis-legend-classic-univariate-color-size-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-view/customElement.d.ts +1 -1
- package/dist/components/arcgis-legend-classic-view/customElement.js +1 -1
- package/dist/components/arcgis-legend-relationship-ramp/customElement.d.ts +1 -1
- package/dist/components/arcgis-legend-relationship-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-spike-ramp/customElement.d.ts +1 -1
- package/dist/components/arcgis-legend-spike-ramp/customElement.js +1 -1
- package/dist/components/arcgis-line-of-sight/customElement.d.ts +3 -0
- package/dist/components/arcgis-line-of-sight/customElement.js +2 -2
- package/dist/components/arcgis-link-chart/customElement.d.ts +1 -1
- package/dist/components/arcgis-link-chart/customElement.js +8 -8
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.d.ts +8 -1
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +3 -3
- package/dist/components/arcgis-locate/customElement.d.ts +4 -0
- package/dist/components/arcgis-locate/customElement.js +9 -9
- package/dist/components/arcgis-map/customElement.d.ts +3 -2
- package/dist/components/arcgis-map/customElement.js +19 -19
- package/dist/components/arcgis-measurement/customElement.d.ts +8 -4
- package/dist/components/arcgis-measurement/customElement.js +3 -3
- package/dist/components/arcgis-measurement-content/customElement.js +1 -1
- package/dist/components/arcgis-navigation-toggle/customElement.d.ts +3 -0
- package/dist/components/arcgis-navigation-toggle/customElement.js +3 -3
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +9 -1
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +9 -9
- package/dist/components/arcgis-placement/customElement.d.ts +3 -1
- package/dist/components/arcgis-placement/customElement.js +11 -10
- package/dist/components/arcgis-popup/css.d.ts +31 -0
- package/dist/components/arcgis-popup/customElement.d.ts +651 -0
- package/dist/components/arcgis-popup/customElement.js +393 -0
- package/dist/components/arcgis-popup/index.d.ts +2 -0
- package/dist/components/arcgis-popup/index.js +2 -0
- package/dist/components/arcgis-popup/interfaces.d.ts +43 -0
- package/dist/components/arcgis-print/customElement.d.ts +8 -0
- package/dist/components/arcgis-print/customElement.js +3 -3
- package/dist/components/arcgis-print-custom-text-elements/customElement.js +1 -1
- package/dist/components/arcgis-print-dpi-input/customElement.js +1 -1
- package/dist/components/arcgis-print-export-button/customElement.js +1 -1
- package/dist/components/arcgis-print-exported-link/customElement.js +1 -1
- package/dist/components/arcgis-print-exports-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-format-select/customElement.js +1 -1
- package/dist/components/arcgis-print-layout-advanced-options/customElement.js +1 -1
- package/dist/components/arcgis-print-layout-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-main-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +1 -1
- package/dist/components/arcgis-print-map-only-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +1 -1
- package/dist/components/arcgis-print-preview-input/customElement.js +1 -1
- package/dist/components/arcgis-print-scale-section/customElement.js +1 -1
- package/dist/components/arcgis-print-template-select/customElement.js +1 -1
- package/dist/components/arcgis-print-template-selector/customElement.js +1 -1
- package/dist/components/arcgis-result-feature-list/customElement.js +1 -1
- package/dist/components/arcgis-scale-bar/customElement.d.ts +8 -0
- package/dist/components/arcgis-scale-bar/customElement.js +9 -9
- package/dist/components/arcgis-scale-range-slider/customElement.d.ts +9 -1
- package/dist/components/arcgis-scale-range-slider/customElement.js +3 -3
- package/dist/components/arcgis-scene/customElement.d.ts +2 -1
- package/dist/components/arcgis-scene/customElement.js +10 -10
- package/dist/components/arcgis-search/customElement.d.ts +10 -0
- package/dist/components/arcgis-search/customElement.js +3 -3
- package/dist/components/arcgis-search-result-renderer/customElement.js +1 -1
- package/dist/components/arcgis-shadow-cast/customElement.d.ts +9 -1
- package/dist/components/arcgis-shadow-cast/customElement.js +3 -3
- package/dist/components/arcgis-sketch/customElement.d.ts +10 -2
- package/dist/components/arcgis-sketch/customElement.js +3 -3
- package/dist/components/arcgis-slice/customElement.d.ts +2 -0
- package/dist/components/arcgis-slice/customElement.js +7 -7
- package/dist/components/arcgis-spinner/customElement.js +18 -44
- package/dist/components/arcgis-swipe/customElement.d.ts +8 -0
- package/dist/components/arcgis-swipe/customElement.js +3 -3
- package/dist/components/arcgis-table-list/customElement.d.ts +3 -1
- package/dist/components/arcgis-table-list/customElement.js +1 -1
- package/dist/components/arcgis-time-slider/customElement.d.ts +9 -1
- package/dist/components/arcgis-time-slider/customElement.js +3 -3
- package/dist/components/arcgis-time-zone-label/customElement.d.ts +2 -0
- package/dist/components/arcgis-time-zone-label/customElement.js +1 -1
- package/dist/components/arcgis-track/customElement.d.ts +8 -0
- package/dist/components/arcgis-track/customElement.js +10 -10
- package/dist/components/arcgis-unit-select/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-associations/customElement.d.ts +10 -2
- package/dist/components/arcgis-utility-network-associations/customElement.js +3 -3
- package/dist/components/arcgis-utility-network-trace/customElement.d.ts +9 -1
- package/dist/components/arcgis-utility-network-trace/customElement.js +3 -3
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-validate-topology/customElement.d.ts +15 -3
- package/dist/components/arcgis-utility-network-validate-topology/customElement.js +3 -3
- package/dist/components/arcgis-value-picker/customElement.d.ts +1 -1
- package/dist/components/arcgis-value-picker/customElement.js +1 -1
- package/dist/components/arcgis-version-management/customElement.d.ts +2 -0
- package/dist/components/arcgis-version-management/customElement.js +1 -1
- package/dist/components/arcgis-version-management-service-item/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-item/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-list/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
- package/dist/components/arcgis-video/customElement.js +5 -5
- package/dist/components/arcgis-video-player/customElement.js +1 -1
- package/dist/components/arcgis-video-player-action-bar/customElement.js +1 -1
- package/dist/components/arcgis-video-player-actions-group/customElement.js +1 -1
- package/dist/components/arcgis-video-player-controls-group/customElement.js +1 -1
- package/dist/components/arcgis-video-player-metadata/customElement.js +1 -1
- package/dist/components/arcgis-video-player-settings/customElement.js +1 -1
- package/dist/components/arcgis-video-player-slider/customElement.js +1 -1
- package/dist/components/arcgis-weather/customElement.d.ts +3 -0
- package/dist/components/arcgis-weather/customElement.js +49 -49
- package/dist/components/arcgis-zoom/customElement.d.ts +3 -0
- package/dist/components/arcgis-zoom/customElement.js +7 -7
- package/dist/controllers/useWidget.d.ts +1 -1
- package/dist/docs/api.json +8642 -7163
- package/dist/docs/docs.json +7777 -6358
- package/dist/docs/vscode.css-custom-data.json +66 -1
- package/dist/docs/vscode.html-custom-data.json +248 -342
- package/dist/docs/web-types.json +1433 -1172
- package/dist/index.d.ts +23 -70
- package/dist/index.js +1 -1
- package/dist/loader.js +55 -54
- package/dist/types/lumina.d.ts +61 -121
- package/dist/types/preact.d.ts +62 -135
- package/dist/types/react.d.ts +63 -149
- package/dist/types/stencil.d.ts +61 -121
- package/package.json +3 -3
- package/dist/cdn/2OEJGJTN.js +0 -4
- package/dist/cdn/37IXK3LX.js +0 -4
- package/dist/cdn/4ARAQPEK.js +0 -4
- package/dist/cdn/4GPP7ZG2.js +0 -4
- package/dist/cdn/5PGLNF5F.js +0 -4
- package/dist/cdn/66LROTMP.js +0 -5
- package/dist/cdn/6IHB7OVK.js +0 -4
- package/dist/cdn/6VKN7ZIV.js +0 -4
- package/dist/cdn/C7WOKMZX.js +0 -4
- package/dist/cdn/CQLUVA4A.js +0 -4
- package/dist/cdn/E3UPPRG5.js +0 -4
- package/dist/cdn/EVODZEOK.js +0 -4
- package/dist/cdn/FY7YUBGD.js +0 -4
- package/dist/cdn/GWLTZFSG.js +0 -4
- package/dist/cdn/H75OPTHT.js +0 -4
- package/dist/cdn/HHFIZ3CL.js +0 -4
- package/dist/cdn/JF6JKWM6.js +0 -4
- package/dist/cdn/KLYV2SZX.js +0 -4
- package/dist/cdn/KRWQCBAZ.js +0 -4
- package/dist/cdn/KVVUQQUC.js +0 -4
- package/dist/cdn/LDIYHILE.js +0 -4
- package/dist/cdn/NV2NHBFO.js +0 -4
- package/dist/cdn/Q257PG2M.js +0 -4
- package/dist/cdn/RGYQV5XB.js +0 -4
- package/dist/cdn/SG22KYCL.js +0 -4
- package/dist/cdn/T6EQEVD2.js +0 -4
- package/dist/cdn/UI4GQIIT.js +0 -4
- package/dist/cdn/XZOIOZ43.js +0 -4
|
@@ -21,7 +21,7 @@ declare const useFeatureTemplatesWidget: (component: LitElement & Pick<FeatureTe
|
|
|
21
21
|
childElem?: HTMLElement & {
|
|
22
22
|
ownedBy?: HTMLElement;
|
|
23
23
|
};
|
|
24
|
-
view?: __esri.LinkChartView | __esri.MapView | __esri.SceneView;
|
|
24
|
+
view?: __esri.LinkChartView | __esri.MapView | __esri.SceneView | nullish;
|
|
25
25
|
};
|
|
26
26
|
autoDestroyDisabled: boolean;
|
|
27
27
|
destroy: () => Promise<void>;
|
|
@@ -7,7 +7,7 @@ import { m as s } from "../../chunks/useWidget.js";
|
|
|
7
7
|
import { css as n } from "lit";
|
|
8
8
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
9
9
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
10
|
-
v4.34.0-next.
|
|
10
|
+
v4.34.0-next.128 */
|
|
11
11
|
const l = n`.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{--esri-widget-padding-x: 15px;--esri-widget-padding-y: var(--calcite-spacing-md);--esri-widget-padding: var(--esri-widget-padding-y) var(--esri-widget-padding-x);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:1.3em}.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__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:#303030}.esri-menu__list-item:active{background-color:#000}.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:#2493f2}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:1.3em}.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-feature-templates{background:var(--calcite-color-background);width:100%}.esri-feature-templates__list-item-icon{flex:0;justify-content:center;align-items:center;width:48px;min-width:48px;display:flex}.esri-feature-templates__list-item-icon>div{display:flex}.esri-ui .esri-feature-templates{width:300px}.esri-ui .esri-widget .esri-feature-templates{width:100%}`, d = s(r);
|
|
12
12
|
class c extends o {
|
|
13
13
|
constructor() {
|
|
@@ -6,17 +6,18 @@ import { nil } from '@arcgis/toolkit/type';
|
|
|
6
6
|
import { Use } from '@arcgis/lumina/controllers';
|
|
7
7
|
import { JsxNode, PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
8
8
|
import { HeadingLevel } from '../../support/heading';
|
|
9
|
-
import { Action } from '../../utils/action-utils';
|
|
10
9
|
import { default as Collection } from '@arcgis/core/core/Collection.js';
|
|
11
10
|
import { ArcgisFeature } from '../arcgis-feature/customElement.js';
|
|
11
|
+
import { default as ActionButton } from '@arcgis/core/support/actions/ActionButton.js';
|
|
12
|
+
import { default as ActionToggle } from '@arcgis/core/support/actions/ActionToggle.js';
|
|
12
13
|
|
|
13
14
|
declare const useFeaturesViewModel: (component: LitElement & Pick<FeaturesViewModel, never> & import('../../controllers/useViewModel').ViewModelControllerUses<FeaturesViewModel>) => FeaturesViewModel;
|
|
14
15
|
/**
|
|
15
16
|
* The Features component allows users to view a feature's popupTemplate content such as attributes,
|
|
16
|
-
* actions, related records, etc., without having to be tied to a [
|
|
17
|
+
* actions, related records, etc., without having to be tied to a [arcgis-map](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-map/) or [arcgis-scene](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/) component.
|
|
17
18
|
* This component looks and behaves similarly to the [Popup](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Popup.html),
|
|
18
19
|
* however unlike Popup, the Features component can be placed outside of the map or scene component.
|
|
19
|
-
* For example, when features are selected in the [
|
|
20
|
+
* For example, when features are selected in the [arcgis-map](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-map/),
|
|
20
21
|
* the [Popup](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Popup.html) opens within the map whether it is docked
|
|
21
22
|
* or anchored to the selected feature.
|
|
22
23
|
* With the Features component, the same information that Popup provides is shown in a separate container from the map, such as
|
|
@@ -28,25 +29,27 @@ declare const useFeaturesViewModel: (component: LitElement & Pick<FeaturesViewMo
|
|
|
28
29
|
* feature reduction PopupTemplates for [binning](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-FeatureReductionBinning.html#popupTemplate) and [clustering](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-FeatureReductionCluster.html#popupTemplate).
|
|
29
30
|
*
|
|
30
31
|
* The Features component should be used if needing to use the Popup functionality outside of the map or scene component. If wanting to show a single feature's content without
|
|
31
|
-
* actions, related records, clustering configuration, etc., then use the [
|
|
32
|
+
* actions, related records, clustering configuration, etc., then use the [arcgis-feature](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-feature/) component.
|
|
32
33
|
*
|
|
33
34
|
* [Read more...](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-features/)
|
|
34
35
|
*
|
|
35
36
|
* @see module :esri/PopupTemplate
|
|
36
37
|
* @see [Guide - Esri Icon Font](../esri-icon-font/)
|
|
38
|
+
* @since 4.28
|
|
37
39
|
*/
|
|
38
40
|
export declare class ArcgisFeatures extends LitElement {
|
|
41
|
+
viewModel: FeaturesViewModel;
|
|
39
42
|
/**
|
|
40
43
|
* [Collection](https://developers.arcgis.com/javascript/latest/api-reference/esri-core-Collection.html) of [action](https://developers.arcgis.com/javascript/latest/api-reference/esri-support-actions-ActionButton.html) or [action toggle](https://developers.arcgis.com/javascript/latest/api-reference/esri-support-actions-ActionToggle.html) objects displayed in the action bar.
|
|
41
44
|
* Each action may be executed by clicking the icon or image symbolizing them.
|
|
42
45
|
* By default, every component has a `Zoom To` action styled with a magnifying glass icon.
|
|
43
46
|
* When this icon is clicked, the map zooms in four LODs and centers on the selected feature.
|
|
44
|
-
* This default action can be removed by setting [`includeDefaultActions`](#
|
|
47
|
+
* This default action can be removed by setting [`includeDefaultActions`](#includeDefaultActions) to `false`, or by setting the [overwriteActions](https://developers.arcgis.com/javascript/latest/api-reference/esri-PopupTemplate.html#overwriteActions) property to `true` in the [PopupTemplate](https://developers.arcgis.com/javascript/latest/api-reference/esri-PopupTemplate.html).
|
|
45
48
|
* The order of each action is the order in which they appear in the actions [Collection](https://developers.arcgis.com/javascript/latest/api-reference/esri-core-Collection.html).
|
|
46
|
-
* The [`arcgisTriggerAction`](#
|
|
49
|
+
* The [`arcgisTriggerAction`](#arcgisTriggerAction) event fires each time an action is clicked.
|
|
47
50
|
* Actions are defined with the properties listed in the [ActionButton](https://developers.arcgis.com/javascript/latest/api-reference/esri-support-actions-ActionButton.html) or [ActionToggle](https://developers.arcgis.com/javascript/latest/api-reference/esri-support-actions-ActionToggle.html) class.
|
|
48
51
|
*
|
|
49
|
-
* @see [arcgisTriggerAction](#
|
|
52
|
+
* @see [arcgisTriggerAction](#arcgisTriggerAction)
|
|
50
53
|
* @example
|
|
51
54
|
* ```js
|
|
52
55
|
* // Defines an action button to zoom out from the selected feature
|
|
@@ -63,7 +66,7 @@ export declare class ArcgisFeatures extends LitElement {
|
|
|
63
66
|
* featuresComponent.actions.push(zoomOutAction);
|
|
64
67
|
* ```
|
|
65
68
|
*/
|
|
66
|
-
actions: Collection<
|
|
69
|
+
actions: Collection<ActionButton | ActionToggle>;
|
|
67
70
|
/**
|
|
68
71
|
* Indicates if the component is active when it is visible and is not [waiting](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Features-FeaturesViewModel.html#waitingForResult) for results.
|
|
69
72
|
*
|
|
@@ -82,7 +85,7 @@ export declare class ArcgisFeatures extends LitElement {
|
|
|
82
85
|
autoDestroyDisabled: boolean;
|
|
83
86
|
/**
|
|
84
87
|
* Indicates whether the component displays its content. If `true`, only the header displays.
|
|
85
|
-
* This property is only honored if [`showCollapsed`](#
|
|
88
|
+
* This property is only honored if [`showCollapsed`](#showCollapsed) is `true`.
|
|
86
89
|
*
|
|
87
90
|
* @default false
|
|
88
91
|
*/
|
|
@@ -102,10 +105,25 @@ export declare class ArcgisFeatures extends LitElement {
|
|
|
102
105
|
* ```
|
|
103
106
|
*/
|
|
104
107
|
content: string | HTMLElement | nullish | __esri.Widget;
|
|
108
|
+
/**
|
|
109
|
+
* Enables automatic creation of a popup template for layers that have popups enabled but no
|
|
110
|
+
* popupTemplate defined.
|
|
111
|
+
*
|
|
112
|
+
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Features-FeaturesViewModel.html#defaultPopupTemplateEnabled)
|
|
113
|
+
*
|
|
114
|
+
* @default false
|
|
115
|
+
*/
|
|
116
|
+
defaultPopupTemplateEnabled: boolean;
|
|
117
|
+
/**
|
|
118
|
+
* The number of selected [features](#features) available to the popup.
|
|
119
|
+
*
|
|
120
|
+
* @default 0
|
|
121
|
+
*/
|
|
122
|
+
readonly featureCount: number;
|
|
105
123
|
/**
|
|
106
124
|
* This property enables multiple features in the component to display in a list rather than displaying the first selected feature.
|
|
107
125
|
* Setting this to `true` allows the user to scroll through the list of features.
|
|
108
|
-
* This value will only be honored if [`initialDisplayMode`](#
|
|
126
|
+
* This value will only be honored if [`initialDisplayMode`](#initialDisplayMode) is set to "feature".
|
|
109
127
|
*
|
|
110
128
|
* @default false
|
|
111
129
|
*/
|
|
@@ -129,7 +147,7 @@ export declare class ArcgisFeatures extends LitElement {
|
|
|
129
147
|
* [PopupTemplate](https://developers.arcgis.com/javascript/latest/api-reference/esri-PopupTemplate.html).
|
|
130
148
|
*
|
|
131
149
|
* When more than one graphic exists in this array, the current content of the
|
|
132
|
-
* component is set based on the value of the [selected feature](#
|
|
150
|
+
* component is set based on the value of the [selected feature](#selectedFeature).
|
|
133
151
|
*
|
|
134
152
|
* This value is `null` if no features are associated with the component.
|
|
135
153
|
*
|
|
@@ -178,7 +196,7 @@ export declare class ArcgisFeatures extends LitElement {
|
|
|
178
196
|
*
|
|
179
197
|
* @autocast { typedCollection: true }
|
|
180
198
|
*/
|
|
181
|
-
headerActions: Collection<
|
|
199
|
+
headerActions: Collection<ActionButton | ActionToggle>;
|
|
182
200
|
/**
|
|
183
201
|
* The title of the Features component. This can be set to any string value no
|
|
184
202
|
* matter the features that are selected. If the [selected feature](#selectedFeature)
|
|
@@ -195,8 +213,8 @@ export declare class ArcgisFeatures extends LitElement {
|
|
|
195
213
|
*/
|
|
196
214
|
heading: string | nullish;
|
|
197
215
|
/**
|
|
198
|
-
* Indicates the heading level to use for the [
|
|
199
|
-
* By default, the
|
|
216
|
+
* Indicates the heading level to use for the [heading](#heading) of the component.
|
|
217
|
+
* By default, the heading is rendered
|
|
200
218
|
* as a level 2 heading (e.g. `<h2>Popup title</h2>`). Depending on the component's placement
|
|
201
219
|
* in your app, you may need to adjust this heading for proper semantics. This is
|
|
202
220
|
* important for meeting accessibility standards.
|
|
@@ -320,6 +338,12 @@ export declare class ArcgisFeatures extends LitElement {
|
|
|
320
338
|
* are pushed into the [features](#features) array.
|
|
321
339
|
*/
|
|
322
340
|
promises: Promise<__esri.Graphic[]>[];
|
|
341
|
+
/**
|
|
342
|
+
* A reference to the [MapView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html) or [SceneView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html).
|
|
343
|
+
*
|
|
344
|
+
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Features-FeaturesViewModel.html#view)
|
|
345
|
+
*/
|
|
346
|
+
view?: __esri.MapView | __esri.SceneView | nullish;
|
|
323
347
|
/**
|
|
324
348
|
* The feature that the component has drilled into.
|
|
325
349
|
* This feature is either associated with the selected feature in a [relationship](https://developers.arcgis.com/javascript/latest/api-reference/esri-popup-content-RelationshipContent.html) or [utility network](https://developers.arcgis.com/javascript/latest/api-reference/esri-popup-content-UtilityNetworkAssociationsContent.html) element.
|
|
@@ -331,7 +355,7 @@ export declare class ArcgisFeatures extends LitElement {
|
|
|
331
355
|
*/
|
|
332
356
|
readonly selectedFeature: nullish | __esri.Graphic;
|
|
333
357
|
/**
|
|
334
|
-
* Returns a reference to the current [
|
|
358
|
+
* Returns a reference to the current [arcgis-feature](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-feature/) component.
|
|
335
359
|
* This is useful if needing to get a reference to the Feature component in order to make any changes to it.
|
|
336
360
|
*/
|
|
337
361
|
get selectedFeatureComponent(): HTMLArcgisFeatureElement | null;
|
|
@@ -366,31 +390,36 @@ export declare class ArcgisFeatures extends LitElement {
|
|
|
366
390
|
* then the property will fallback to the `system` time zone.
|
|
367
391
|
*
|
|
368
392
|
* **Possible Values**
|
|
369
|
-
*
|
|
370
|
-
*
|
|
371
|
-
*
|
|
372
|
-
* system | Dates and times will be displayed in the timezone of the device or browser.
|
|
373
|
-
* unknown | Dates and time are not adjusted for any timezone.
|
|
374
|
-
* Specified IANA timezone | Dates and times will be displayed in the specified IANA time zone. See [wikipedia - List of tz database time zones](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones).
|
|
393
|
+
* - `system`: Dates and times will be displayed in the timezone of the device or browser.
|
|
394
|
+
* - `unknown`: Dates and time are not adjusted for any timezone.
|
|
395
|
+
* - `Specified IANA timezone`: Dates and times will be displayed in the specified IANA time zone. See [wikipedia - List of tz database time zones](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones).
|
|
375
396
|
*/
|
|
376
397
|
timeZone: string;
|
|
377
398
|
/**
|
|
378
|
-
*
|
|
379
|
-
*
|
|
380
|
-
*
|
|
381
|
-
*
|
|
382
|
-
*
|
|
383
|
-
*
|
|
384
|
-
|
|
385
|
-
|
|
399
|
+
* Highlight the selected feature using one of the [HighlightOptions](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-support-HighlightOptions.html) defined in the view's
|
|
400
|
+
* [highlights](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-View.html#highlights) collection.
|
|
401
|
+
*
|
|
402
|
+
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Features-FeaturesViewModel.html#highlightEnabled)
|
|
403
|
+
*
|
|
404
|
+
* @default true
|
|
405
|
+
*/
|
|
406
|
+
highlightDisabled: boolean;
|
|
407
|
+
/**
|
|
408
|
+
* Indicates whether the popup is visible. This property is `true` when the popup is querying for results, even if it is not open in the view.
|
|
409
|
+
* Use the property to check if the popup is visible and is not
|
|
410
|
+
*
|
|
411
|
+
* @name visible
|
|
412
|
+
* @instance
|
|
413
|
+
* @type {boolean}
|
|
414
|
+
* @default false
|
|
386
415
|
*/
|
|
387
|
-
|
|
416
|
+
visible: boolean;
|
|
388
417
|
/**
|
|
389
418
|
* Removes [promises](#promises), [features](#features), [content](#content), and
|
|
390
419
|
* [heading](#heading) from the Features component.
|
|
391
420
|
*/
|
|
392
421
|
clear(): Promise<void>;
|
|
393
|
-
/**
|
|
422
|
+
/** A convenience method to close the component. */
|
|
394
423
|
close(): Promise<void>;
|
|
395
424
|
/** Permanently destroy the component. */
|
|
396
425
|
destroy(): Promise<void>;
|
|
@@ -483,20 +512,21 @@ export declare class ArcgisFeatures extends LitElement {
|
|
|
483
512
|
/** Use this method to give focus to the Component if the component is able to be focused. */
|
|
484
513
|
setFocus(): Promise<void>;
|
|
485
514
|
/**
|
|
486
|
-
* Triggers the [`arcgisTriggerAction`](#
|
|
515
|
+
* Triggers the [`arcgisTriggerAction`](#arcgisTriggerAction) event and executes the action
|
|
487
516
|
* at the specified index in the [actions](#actions) array.
|
|
488
517
|
*/
|
|
489
518
|
triggerAction(action: __esri.ActionButton | __esri.ActionToggle): Promise<void>;
|
|
490
519
|
/** Emitted when the value of a property is changed. Use this to listen to changes to properties. */
|
|
491
520
|
readonly arcgisPropertyChange: TargetedEvent<this, {
|
|
492
|
-
name: "state" | "selectedFeature" | "selectedFeatureIndex";
|
|
521
|
+
name: "state" | "active" | "collapsed" | "featureCount" | "featureMenuOpen" | "features" | "promises" | "selectedDrillInFeature" | "selectedFeature" | "selectedFeatureComponent" | "selectedFeatureIndex" | "visible";
|
|
493
522
|
}>;
|
|
494
523
|
/** Emitted when the component associated with a map or scene view is ready to be interacted with. */
|
|
495
524
|
readonly arcgisReady: TargetedEvent<this, void>;
|
|
525
|
+
/** Emitted when the component's close button is clicked. */
|
|
526
|
+
readonly arcgisClose: TargetedEvent<this, void>;
|
|
496
527
|
/**
|
|
497
528
|
* Fires after the user clicks on an action in the Features component.
|
|
498
529
|
* This event may be used to define a custom function to execute when particular actions are clicked.
|
|
499
|
-
* See the example below for details of how this works.
|
|
500
530
|
*
|
|
501
531
|
* @see [actions](#actions)
|
|
502
532
|
* @see [PopupTemplate.actions](https://developers.arcgis.com/javascript/latest/api-reference/esri-PopupTemplate.html#actions)
|
|
@@ -1,58 +1,58 @@
|
|
|
1
|
-
import { c as
|
|
2
|
-
import { css as
|
|
3
|
-
import { keyed as
|
|
1
|
+
import { c as E } from "../../chunks/runtime.js";
|
|
2
|
+
import { css as L, html as n } from "lit";
|
|
3
|
+
import { keyed as C } from "lit/directives/keyed.js";
|
|
4
4
|
import R from "@arcgis/core/widgets/Features/FeaturesViewModel.js";
|
|
5
|
-
import { u as
|
|
6
|
-
import { classes as
|
|
7
|
-
import { usePropertyChange as
|
|
5
|
+
import { u as P } from "../../chunks/useT9n.js";
|
|
6
|
+
import { classes as x } from "@arcgis/toolkit/dom";
|
|
7
|
+
import { usePropertyChange as V } from "@arcgis/lumina/controllers";
|
|
8
8
|
import { m as H } from "../../chunks/useViewModel.js";
|
|
9
|
-
import { LitElement as S, createEvent as
|
|
10
|
-
import { substitute as g, formatNumber as
|
|
9
|
+
import { LitElement as S, createEvent as y, renderElement as z, safeClassMap as c, nothing as p } from "@arcgis/lumina";
|
|
10
|
+
import { substitute as g, formatNumber as F } from "@arcgis/core/intl.js";
|
|
11
11
|
import { watch as f } from "@arcgis/core/core/reactiveUtils.js";
|
|
12
12
|
import { t as Z, z as G, b as j } from "../../chunks/action-utils.js";
|
|
13
|
-
import { stripHTML as
|
|
13
|
+
import { stripHTML as A } from "@arcgis/core/applications/Components/stringUtils.js";
|
|
14
14
|
import I from "@arcgis/core/core/Collection.js";
|
|
15
15
|
import { g as K } from "../../chunks/feature-utils.js";
|
|
16
16
|
import { renderingSanitizer as T } from "@arcgis/core/applications/Components/sanitizerUtils.js";
|
|
17
|
-
import { createRef as
|
|
17
|
+
import { createRef as M, ref as w } from "lit-html/directives/ref.js";
|
|
18
18
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
19
19
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
20
|
-
v4.34.0-next.
|
|
21
|
-
const
|
|
20
|
+
v4.34.0-next.128 */
|
|
21
|
+
const d = "arcgis-features", o = {
|
|
22
22
|
// Features
|
|
23
|
-
base:
|
|
24
|
-
container: `${
|
|
25
|
-
contentContainer: `${
|
|
26
|
-
contentFeature: `${
|
|
27
|
-
flowItemCollapsed: `${
|
|
28
|
-
header: `${
|
|
29
|
-
footer: `${
|
|
30
|
-
featureMenuObserver: `${
|
|
31
|
-
actionExit: `${
|
|
32
|
-
loader: `${
|
|
33
|
-
paginationText: `${
|
|
34
|
-
paginationActionBar: `${
|
|
35
|
-
paginationMenuButton: `${
|
|
36
|
-
paginationPrevious: `${
|
|
37
|
-
}, U =
|
|
38
|
-
function W(
|
|
39
|
-
switch (
|
|
23
|
+
base: d,
|
|
24
|
+
container: `${d}__container`,
|
|
25
|
+
contentContainer: `${d}__content-container`,
|
|
26
|
+
contentFeature: `${d}__content-feature`,
|
|
27
|
+
flowItemCollapsed: `${d}__flow-item--collapsed`,
|
|
28
|
+
header: `${d}__header`,
|
|
29
|
+
footer: `${d}__footer`,
|
|
30
|
+
featureMenuObserver: `${d}__feature-menu-observer`,
|
|
31
|
+
actionExit: `${d}__action--exit`,
|
|
32
|
+
loader: `${d}__loader`,
|
|
33
|
+
paginationText: `${d}__pagination-text`,
|
|
34
|
+
paginationActionBar: `${d}__pagination-action-bar`,
|
|
35
|
+
paginationMenuButton: `${d}__pagination-menu-button`,
|
|
36
|
+
paginationPrevious: `${d}__pagination-previous`
|
|
37
|
+
}, U = L`:host{display:flex;overflow:hidden;flex:1 1 auto}.arcgis-features{--calcite-color-background: var(--calcite-color-foreground-1);display:flex;overflow:hidden;flex:1 1 auto;flex-direction:column}.arcgis-features img{image-orientation:from-image}.arcgis-features__flow-item--collapsed{--calcite-flow-item-header-border-block-end: none}.arcgis-features__container{display:flex;flex:1 1 auto;background-color:var(--calcite-color-foreground-1)}.arcgis-features__container calcite-list{width:100%}.arcgis-features__container:not(:empty){padding:var(--calcite-spacing-md)}.arcgis-features .arcgis-feature,.arcgis-features .arcgis-feature-relationship,.arcgis-features .arcgis-feature-utility-network-associations{background-color:transparent}.arcgis-features__heading{word-break:break-word;word-wrap:break-word}.arcgis-features__header,.arcgis-features__footer{display:flex;align-items:center;justify-content:flex-end;background-color:var(--calcite-color-foreground-1)}.arcgis-features__footer{flex:1}.arcgis-features__pagination-text{padding-inline:var(--calcite-spacing-sm);color:var(--calcite-color-text-3);font-size:var(--calcite-font-size-sm)}.arcgis-features__loader{align-self:center;padding-inline:var(--calcite-spacing-lg)}.arcgis-features__pagination-action-bar{flex:1}.arcgis-features__pagination-menu-button{border-inline-start:var(--calcite-border-width-sm) solid var(--calcite-color-border-3)}.arcgis-features__icon{display:inline-block;flex:0 0 var(--calcite-spacing-lg);width:var(--calcite-spacing-lg);height:var(--calcite-spacing-lg)}.arcgis-features__action-image{flex:0 0 var(--calcite-spacing-lg);background-position:50% 50%;background-repeat:no-repeat;background-size:contain;width:var(--calcite-spacing-lg);height:var(--calcite-spacing-lg)}.arcgis-features__header{border-block-end:var(--calcite-border-width-sm) solid var(--calcite-color-border-3)}.arcgis-features__content-feature{--calcite-flow-item-footer-padding: 0}.arcgis-features__feature-menu-observer{position:relative;bottom:var(--calcite-spacing-xxl);z-index:2;text-align:center}.arcgis-features__action--exit{transform:scaleX(-1)}`;
|
|
38
|
+
function W(h) {
|
|
39
|
+
switch (h?.type) {
|
|
40
40
|
case "point":
|
|
41
|
-
return
|
|
41
|
+
return h;
|
|
42
42
|
case "extent":
|
|
43
|
-
return
|
|
43
|
+
return h.center;
|
|
44
44
|
case "polygon":
|
|
45
|
-
return
|
|
45
|
+
return h.centroid;
|
|
46
46
|
case "multipoint":
|
|
47
47
|
case "polyline":
|
|
48
|
-
return
|
|
48
|
+
return h.extent?.center;
|
|
49
49
|
default:
|
|
50
50
|
return null;
|
|
51
51
|
}
|
|
52
52
|
}
|
|
53
|
-
const
|
|
54
|
-
function X(
|
|
55
|
-
return
|
|
53
|
+
const $ = G.clone();
|
|
54
|
+
function X(h) {
|
|
55
|
+
return h?.declaredClass.startsWith("esri.layers.") ?? !1;
|
|
56
56
|
}
|
|
57
57
|
const q = H(R);
|
|
58
58
|
class J extends S {
|
|
@@ -61,13 +61,13 @@ class J extends S {
|
|
|
61
61
|
e?.isIntersecting && this.viewModel.featurePage != null && this.viewModel.featurePage++;
|
|
62
62
|
}, this._featureMenuIntersectionObserver = new IntersectionObserver(this._featureMenuIntersectionObserverCallback, {
|
|
63
63
|
root: window.document
|
|
64
|
-
}), this._featureMenuIntersectionObserverNode = null, this._rootFlowItemNode =
|
|
64
|
+
}), this._featureMenuIntersectionObserverNode = null, this._rootFlowItemNode = M(), this._featureMenuViewportNode = M(), this._actionBarMenuNode = M(), this._flowContainerNode = M(), this.messages = P(), this._selectedFeatureComponent = M(), this._cancelOpenRelatedFeature = () => {
|
|
65
65
|
const { _openRelatedFeatureAbortController: e } = this;
|
|
66
66
|
e && e.abort(), this._openRelatedFeatureAbortController = null;
|
|
67
|
-
}, this._openRelatedFeatureAbortController = null, this.flowItems = new I(), this.actions = this.viewModel.actions, this.active = this.viewModel.active, this.autoDestroyDisabled = !1, this.collapsed = !1, this.content = this.viewModel.content, this.featureMenuOpen = this.viewModel.featureMenuOpen, this.featureMenuTitle = this.viewModel.featureMenuTitle, this.featureNavigationTop = !1, this.features = this.viewModel.features, this.featuresPerPage = this.viewModel.featuresPerPage, this.featureViewModelAbilities = this.viewModel.featureViewModelAbilities, this.goToOverride = this.viewModel.goToOverride, this.headerActions = new I(), this.heading = this.viewModel.title, this.headingLevel = 2, this.hideActionBar = !1, this.hideCloseButton = !1, this.showCollapseButton = !1, this.hideFeatureMenuHeading = !1, this.hideFeatureNavigation = !1, this.hideFeatureListLayerTitle = !1, this.hideFlow = !1, this.hideHeading = !1, this.hideSpinner = !1, this.includeDefaultActions = this.viewModel.includeDefaultActions, this.initialDisplayMode = this.viewModel.initialDisplayMode, this.location = this.viewModel.location, this.map = this.viewModel.map, this.promises = this.viewModel.promises, this.responsiveActionsEnabled = !1, this.selectedFeature = this.viewModel.selectedFeature, this.selectedFeatureIndex = this.viewModel.selectedFeatureIndex, this.spatialReference = this.viewModel.spatialReference, this.state = this.viewModel.state, this.timeZone = this.viewModel.timeZone, this.updateLocationEnabled = this.viewModel.updateLocationEnabled, this.arcgisPropertyChange =
|
|
67
|
+
}, this._openRelatedFeatureAbortController = null, this.flowItems = new I(), this.viewModel = q(this), this.actions = this.viewModel.actions, this.active = this.viewModel.active, this.autoDestroyDisabled = !1, this.collapsed = !1, this.content = this.viewModel.content, this.defaultPopupTemplateEnabled = this.viewModel.defaultPopupTemplateEnabled, this.featureCount = this.viewModel.featureCount, this.featureMenuOpen = this.viewModel.featureMenuOpen, this.featureMenuTitle = this.viewModel.featureMenuTitle, this.featureNavigationTop = !1, this.features = this.viewModel.features, this.featuresPerPage = this.viewModel.featuresPerPage, this.featureViewModelAbilities = this.viewModel.featureViewModelAbilities, this.goToOverride = this.viewModel.goToOverride, this.headerActions = new I(), this.heading = this.viewModel.title, this.headingLevel = 2, this.hideActionBar = !1, this.hideCloseButton = !1, this.showCollapseButton = !1, this.hideFeatureMenuHeading = !1, this.hideFeatureNavigation = !1, this.hideFeatureListLayerTitle = !1, this.hideFlow = !1, this.hideHeading = !1, this.hideSpinner = !1, this.includeDefaultActions = this.viewModel.includeDefaultActions, this.initialDisplayMode = this.viewModel.initialDisplayMode, this.location = this.viewModel.location, this.map = this.viewModel.map, this.promises = this.viewModel.promises, this.view = this.viewModel.view, this.responsiveActionsEnabled = !1, this.selectedFeature = this.viewModel.selectedFeature, this.selectedFeatureIndex = this.viewModel.selectedFeatureIndex, this.spatialReference = this.viewModel.spatialReference, this.state = this.viewModel.state, this.timeZone = this.viewModel.timeZone, this.updateLocationEnabled = this.viewModel.updateLocationEnabled, this.highlightDisabled = this.viewModel.highlightEnabled, this.visible = this.viewModel.visible, this.arcgisPropertyChange = V()("active", "collapsed", "featureCount", "featureMenuOpen", "features", "promises", "selectedDrillInFeature", "selectedFeature", "selectedFeatureComponent", "selectedFeatureIndex", "state", "visible"), this.arcgisReady = y(), this.arcgisClose = y(), this.arcgisTriggerAction = y();
|
|
68
68
|
}
|
|
69
69
|
static {
|
|
70
|
-
this.properties = { _openRelatedFeatureAbortController: 16, flowItems: 16, _hideActionText: 16, _featureNavigationVisible: 16, _isCollapsed: 16, _collapseEnabled: 16, actions: 0, active: 0, autoDestroyDisabled: 5, collapsed: 5, content: 1, featureMenuOpen: 5, featureMenuTitle: 1, featureNavigationTop: 5, features: 0, featuresPerPage: 9, featureViewModelAbilities: 0, goToOverride: 0, headerActions: 0, heading: 1, headingLevel: 9, hideActionBar: 5, hideCloseButton: 5, showCollapseButton: 5, hideFeatureMenuHeading: 5, hideFeatureNavigation: 5, hideFeatureListLayerTitle: 5, hideFlow: 5, hideHeading: 5, hideSpinner: 5, icon: 1, includeDefaultActions: 5, initialDisplayMode: 1, label: 1, location: 0, map: 0, messageOverrides: 0, position: 1, referenceElement: 1, promises: 0, responsiveActionsEnabled: 5, selectedDrillInFeature: 32, selectedFeature: 0, selectedFeatureComponent: 32, selectedFeatureIndex: 9, spatialReference: 0, state: 3, timeZone: 1, updateLocationEnabled: 5,
|
|
70
|
+
this.properties = { _openRelatedFeatureAbortController: 16, flowItems: 16, _hideActionText: 16, _featureNavigationVisible: 16, _isCollapsed: 16, _collapseEnabled: 16, viewModel: 0, actions: 0, active: 0, autoDestroyDisabled: 5, collapsed: 5, content: 1, defaultPopupTemplateEnabled: 5, featureCount: 0, featureMenuOpen: 5, featureMenuTitle: 1, featureNavigationTop: 5, features: 0, featuresPerPage: 9, featureViewModelAbilities: 0, goToOverride: 0, headerActions: 0, heading: 1, headingLevel: 9, hideActionBar: 5, hideCloseButton: 5, showCollapseButton: 5, hideFeatureMenuHeading: 5, hideFeatureNavigation: 5, hideFeatureListLayerTitle: 5, hideFlow: 5, hideHeading: 5, hideSpinner: 5, icon: 1, includeDefaultActions: 5, initialDisplayMode: 1, label: 1, location: 0, map: 0, messageOverrides: 0, position: 1, referenceElement: 1, promises: 0, view: 0, responsiveActionsEnabled: 5, selectedDrillInFeature: 32, selectedFeature: 0, selectedFeatureComponent: 32, selectedFeatureIndex: 9, spatialReference: 0, state: 3, timeZone: 1, updateLocationEnabled: 5, highlightDisabled: 5, visible: 5 };
|
|
71
71
|
}
|
|
72
72
|
static {
|
|
73
73
|
this.styles = U;
|
|
@@ -75,7 +75,7 @@ class J extends S {
|
|
|
75
75
|
get _hideActionText() {
|
|
76
76
|
if (!this.responsiveActionsEnabled)
|
|
77
77
|
return !1;
|
|
78
|
-
const e = this.
|
|
78
|
+
const e = this.viewModel.view?.widthBreakpoint;
|
|
79
79
|
return e === "xsmall" || e === "small" || e === "medium";
|
|
80
80
|
}
|
|
81
81
|
get _featureNavigationVisible() {
|
|
@@ -125,7 +125,7 @@ class J extends S {
|
|
|
125
125
|
loaded() {
|
|
126
126
|
this.manager.onLifecycle(() => [
|
|
127
127
|
f(() => this.viewModel?.selectedFeatureIndex, (e, t) => this._selectedFeatureIndexUpdated(e, t)),
|
|
128
|
-
f(() => this.viewModel?.view, (
|
|
128
|
+
f(() => this.viewModel?.view, () => this._viewChange()),
|
|
129
129
|
f(() => this._spinnerEl?.screenLocation, () => this._closeOpenActionMenu()),
|
|
130
130
|
f(() => this.selectedFeatureComponent?.viewModel, () => this._removeFlowItems()),
|
|
131
131
|
f(() => this.viewModel?.featureViewModels, () => this._featureMenuViewportScrollTop()),
|
|
@@ -144,6 +144,9 @@ class J extends S {
|
|
|
144
144
|
], () => void this._createSpinner(), { initial: !0 })
|
|
145
145
|
]);
|
|
146
146
|
}
|
|
147
|
+
_handleClose() {
|
|
148
|
+
this.close(), this.arcgisClose.emit();
|
|
149
|
+
}
|
|
147
150
|
_groupResultsByLayer() {
|
|
148
151
|
const { featureViewModels: e } = this.viewModel, t = /* @__PURE__ */ new Map();
|
|
149
152
|
return e.forEach((i) => {
|
|
@@ -166,10 +169,7 @@ class J extends S {
|
|
|
166
169
|
return;
|
|
167
170
|
this._removeFlowItems(), await this.viewModel.zoomTo({ target: a });
|
|
168
171
|
const s = W(a);
|
|
169
|
-
await this.
|
|
170
|
-
features: [i],
|
|
171
|
-
location: s ?? void 0
|
|
172
|
-
}), await this.setFocus(), this._openRelatedFeatureAbortController === t && (this._openRelatedFeatureAbortController = null);
|
|
172
|
+
s != null && (this.location = s), this.features = [i], this.visible = !0, await this.setFocus(), this._openRelatedFeatureAbortController === t && (this._openRelatedFeatureAbortController = null);
|
|
173
173
|
}
|
|
174
174
|
_handlePaginationMenuButton() {
|
|
175
175
|
this._updateFeatureMenu();
|
|
@@ -229,8 +229,8 @@ class J extends S {
|
|
|
229
229
|
_triggerAction(e) {
|
|
230
230
|
this.triggerAction(e), this.arcgisTriggerAction.emit({ action: e });
|
|
231
231
|
}
|
|
232
|
-
_viewChange(
|
|
233
|
-
|
|
232
|
+
_viewChange() {
|
|
233
|
+
this.viewModel.clear(), this.viewModel.visible = !1;
|
|
234
234
|
}
|
|
235
235
|
_closeOpenActionMenu() {
|
|
236
236
|
const { _actionBarMenuNode: e } = this;
|
|
@@ -257,7 +257,7 @@ class J extends S {
|
|
|
257
257
|
}
|
|
258
258
|
_getHeading() {
|
|
259
259
|
const { hideHeading: e } = this, { title: t, selectedFeatureViewModel: i } = this.viewModel;
|
|
260
|
-
return i ? i?.state === "error" ? this.messages?.errorMessage ?? "" : i?.title || "" : !e && t ? t : "";
|
|
260
|
+
return i && !e ? i?.state === "error" ? this.messages?.errorMessage ?? "" : i?.title || "" : !e && t ? t : "";
|
|
261
261
|
}
|
|
262
262
|
async _destroySpinner(e) {
|
|
263
263
|
e?.manager?.component?.extraContent?.remove(this._spinnerEl), await this._spinnerEl?.destroy();
|
|
@@ -284,20 +284,20 @@ class J extends S {
|
|
|
284
284
|
_renderFeaturePaginationText() {
|
|
285
285
|
const { messages: e, viewModel: t } = this, { featureCount: i, selectedFeatureIndex: a } = t;
|
|
286
286
|
return n`<div class=${c(o.paginationText)}>${g(e.pageText ?? "", {
|
|
287
|
-
index:
|
|
288
|
-
total:
|
|
287
|
+
index: F(a + 1),
|
|
288
|
+
total: F(i)
|
|
289
289
|
})}</div>`;
|
|
290
290
|
}
|
|
291
291
|
_renderFeatureMenuButton() {
|
|
292
292
|
const { messages: e, viewModel: t } = this, { featureCount: i, selectedFeatureIndex: a, pendingPromisesCount: s } = t;
|
|
293
293
|
return n`<calcite-action appearance=solid class=${c(o.paginationMenuButton)} icon=list .label=${e.selectFeature} .loading=${s > 0} @click=${this._handlePaginationMenuButton} scale=s .text=${g(e.pageText ?? "", {
|
|
294
|
-
index:
|
|
295
|
-
total:
|
|
296
|
-
})} text-enabled title=${e.selectFeature ??
|
|
294
|
+
index: F(a + 1),
|
|
295
|
+
total: F(i)
|
|
296
|
+
})} text-enabled title=${e.selectFeature ?? p}></calcite-action>`;
|
|
297
297
|
}
|
|
298
298
|
_renderPagination() {
|
|
299
299
|
const { previous: e, next: t } = this.messages;
|
|
300
|
-
return n`<calcite-action-bar class=${c(o.paginationActionBar)} expand-disabled layout=horizontal overflow-actions-disabled scale=s><calcite-action-group scale=s><calcite-action appearance=solid class=${c(o.paginationPrevious)} icon=chevron-left icon-flip-rtl .label=${e ?? ""} @click=${this._previousFeature} scale=s .text=${e ?? ""} title=${e ?? "" ??
|
|
300
|
+
return n`<calcite-action-bar class=${c(o.paginationActionBar)} expand-disabled layout=horizontal overflow-actions-disabled scale=s><calcite-action-group scale=s><calcite-action appearance=solid class=${c(o.paginationPrevious)} icon=chevron-left icon-flip-rtl .label=${e ?? ""} @click=${this._previousFeature} scale=s .text=${e ?? ""} title=${e ?? "" ?? p}></calcite-action><calcite-action appearance=solid icon=chevron-right icon-flip-rtl .label=${t ?? ""} @click=${this._nextFeature} scale=s .text=${t ?? ""} title=${t ?? "" ?? p}></calcite-action></calcite-action-group></calcite-action-bar>`;
|
|
301
301
|
}
|
|
302
302
|
_renderFeatureMenuItem(e) {
|
|
303
303
|
const { initialDisplayMode: t } = this, { selectedFeatureViewModel: i, featureViewModels: a } = this.viewModel, s = e === i, r = a.indexOf(e);
|
|
@@ -306,45 +306,45 @@ class J extends S {
|
|
|
306
306
|
_renderFeatureMenu() {
|
|
307
307
|
const { messages: e, viewModel: t } = this, i = this._groupResultsByLayer(), a = this.initialDisplayMode === "list" ? "none" : "single";
|
|
308
308
|
return t.featureViewModels.length ? n`<calcite-list display-mode=flat .label=${e?.featuresList ?? ""} selection-appearance=icon .selectionMode=${a}>${Array.from(i.keys(), (s) => {
|
|
309
|
-
const r = i.get(s)?.map((
|
|
310
|
-
return !this.hideFeatureListLayerTitle && l !== null ?
|
|
309
|
+
const r = i.get(s)?.map((u) => this._renderFeatureMenuItem(u)), l = s ? s.title ?? this.messages.untitled : null;
|
|
310
|
+
return !this.hideFeatureListLayerTitle && l !== null ? C(s ?? "map-graphics", n`<calcite-list-item-group .heading=${l}>${r}</calcite-list-item-group>`) : r;
|
|
311
311
|
})}</calcite-list>` : null;
|
|
312
312
|
}
|
|
313
|
-
_renderHeaderAction(e
|
|
314
|
-
const
|
|
315
|
-
return e.visible ?
|
|
313
|
+
_renderHeaderAction(e) {
|
|
314
|
+
const t = e.title || "";
|
|
315
|
+
return e.visible ? n`<calcite-action .active=${e.type === "toggle" ? e.value : !1} appearance=solid .disabled=${e.disabled} .icon=${e.icon ?? void 0} .indicator=${e.active} .loading=${e.active} @click=${() => this._triggerAction(e)} slot=header-actions-end .text=${t} title=${t ?? p}></calcite-action>` : null;
|
|
316
316
|
}
|
|
317
317
|
_renderHeaderActions() {
|
|
318
|
-
return this.headerActions.map((e
|
|
318
|
+
return this.headerActions.map((e) => this._renderHeaderAction(e)).toArray();
|
|
319
319
|
}
|
|
320
320
|
_renderContentFeature() {
|
|
321
|
-
const { headingLevel: e, hideCloseButton: t, _isCollapsed: i, _collapseEnabled: a, featureNavigationTop: s, flowItems: r, initialDisplayMode: l, selectedFeature:
|
|
322
|
-
if (l === "list" && !
|
|
321
|
+
const { headingLevel: e, hideCloseButton: t, _isCollapsed: i, _collapseEnabled: a, featureNavigationTop: s, flowItems: r, initialDisplayMode: l, selectedFeature: u, featureMenuOpen: v } = this, { active: _ } = this.viewModel, m = this._getHeading();
|
|
322
|
+
if (l === "list" && !u)
|
|
323
323
|
return null;
|
|
324
|
-
const
|
|
325
|
-
return n`<calcite-flow-item class=${c(
|
|
324
|
+
const b = r.length === 0 && (l === "list" ? !!u : !v);
|
|
325
|
+
return n`<calcite-flow-item class=${c(x({
|
|
326
326
|
[o.contentFeature]: !0,
|
|
327
327
|
[o.flowItemCollapsed]: i
|
|
328
|
-
}))} .closable=${!t} .closed=${!_} .collapsed=${i} .collapseDirection=${s ? "down" : "up"} .collapsible=${a} .headingLevel=${e} .selected=${
|
|
328
|
+
}))} .closable=${!t} .closed=${!_} .collapsed=${i} .collapseDirection=${s ? "down" : "up"} .collapsible=${a} .headingLevel=${e} .selected=${b} @calciteFlowItemBack=${this._handleFeatureBack} .loading=${!!this._openRelatedFeatureAbortController} @calciteFlowItemClose=${this.close} @calciteFlowItemToggle=${this._handleCollapseToggle} .heading=${A(m)} ${w(this._rootFlowItemNode)}>${this._renderHeaderActions()}${this._renderActionBar()}<div class=${c(x(o.container, o.contentContainer))}>${this._renderContent()}</div>${this._renderFooter()}</calcite-flow-item>`;
|
|
329
329
|
}
|
|
330
330
|
_renderFeatureMenuContainer() {
|
|
331
|
-
const { viewModel: e, hideCloseButton: t, featureMenuTitle: i, messages: a, initialDisplayMode: s, featureMenuOpen: r, selectedFeature: l, _collapseEnabled:
|
|
331
|
+
const { viewModel: e, hideCloseButton: t, featureMenuTitle: i, messages: a, initialDisplayMode: s, featureMenuOpen: r, selectedFeature: l, _collapseEnabled: u, _isCollapsed: v, featureNavigationTop: _, headingLevel: m } = this, { active: b, featureViewModels: k, pendingPromisesCount: B } = e, O = i ?? a.selectFeature;
|
|
332
332
|
if (s === "feature" && !r)
|
|
333
333
|
return null;
|
|
334
|
-
const
|
|
335
|
-
return n`<calcite-flow-item class=${c(
|
|
334
|
+
const D = s === "list" ? !l : r;
|
|
335
|
+
return n`<calcite-flow-item class=${c(x({
|
|
336
336
|
[o.flowItemCollapsed]: v
|
|
337
|
-
}))} .closable=${s === "list" && !t} .closed=${!
|
|
337
|
+
}))} .closable=${s === "list" && !t} .closed=${!b} .collapsed=${s === "list" && v} .collapseDirection=${_ ? "down" : "up"} .collapsible=${s === "list" && u} .description=${this.hideFeatureMenuHeading ? void 0 : g(a.total ?? "", {
|
|
338
338
|
total: k.length
|
|
339
|
-
})} .heading=${this.hideFeatureMenuHeading ? void 0 : O} .headingLevel=${
|
|
340
|
-
|
|
341
|
-
}} @calciteFlowItemClose=${this.
|
|
339
|
+
})} .heading=${this.hideFeatureMenuHeading ? void 0 : O} .headingLevel=${m} .loading=${e.waitingForContents} .selected=${D} @calciteFlowItemBack=${(N) => {
|
|
340
|
+
N.preventDefault(), this._handleFeatureMenuBack();
|
|
341
|
+
}} @calciteFlowItemClose=${this._handleClose} @calciteFlowItemToggle=${this._handleCollapseToggle} ${w(this._featureMenuViewportNode)}>${s === "list" ? this._renderHeaderActions() : null}${B > 0 ? n`<calcite-loader class=${c(o.loader)} inline .label=${a.loading ?? ""} slot=header-actions-end></calcite-loader>` : null}<div class=${c(o.container)}>${this._renderFeatureMenu()}</div><div class=${c(o.featureMenuObserver)} ${w(this._featureMenuIntersectionObserverCreated)}></div>${s === "feature" ? n`<calcite-button appearance=transparent @click=${this._handleFeatureMenuBack} slot=footer-actions width=full>${a.back}</calcite-button>` : null}</calcite-flow-item>`;
|
|
342
342
|
}
|
|
343
343
|
_renderFlowItem(e, t) {
|
|
344
|
-
const { messages: i, hideCloseButton: a, active: s } = this, r = "graphic" in e && "isFeatureFromTable" in e && !e.isFeatureFromTable, l = e.flowType === "feature-association",
|
|
345
|
-
return n`<calcite-flow-item .closable=${!a} .closed=${!s} .description=${
|
|
346
|
-
|
|
347
|
-
}} .loading=${!!this._openRelatedFeatureAbortController} @calciteFlowItemClose=${this.close}><calcite-action appearance=transparent class=${c(o.actionExit)} icon=move-up @click=${this._removeFlowItems} slot=header-actions-start .text=${
|
|
344
|
+
const { messages: i, hideCloseButton: a, active: s } = this, r = "graphic" in e && "isFeatureFromTable" in e && !e.isFeatureFromTable, l = e.flowType === "feature-association", u = i.returnToInitialFeature ?? "", v = i?.selectFeature, _ = this._getActionTitle($);
|
|
345
|
+
return n`<calcite-flow-item .closable=${!a} .closed=${!s} .description=${A(this._getDrillInFlowItemDescription(e) ?? "")} .heading=${this.hideHeading ? void 0 : A(e.heading ?? "")} .selected=${t} @calciteFlowItemBack=${(m) => {
|
|
346
|
+
m.preventDefault(), this._handleDrillInBackClick();
|
|
347
|
+
}} .loading=${!!this._openRelatedFeatureAbortController} @calciteFlowItemClose=${this.close}><calcite-action appearance=transparent class=${c(o.actionExit)} icon=move-up @click=${this._removeFlowItems} slot=header-actions-start .text=${u ?? ""} title=${u ?? "" ?? p}></calcite-action>${r ? n`<calcite-action appearance=transparent icon=zoom-to-object @click=${() => this._openRelatedFeature(e)} slot=header-actions-end .text=${v ?? ""} title=${v ?? p}></calcite-action>` : null}${l ? n`<calcite-action-bar expand-disabled expanded scale=s slot=action-bar><calcite-action-group overlay-positioning=fixed scale=s><calcite-action appearance=solid .disabled=${$.disabled} .icon=${$.icon ?? void 0} .loading=${$.active} scale=s text-enabled .text=${_} title=${_ ?? p} @click=${() => j(this.viewModel, e)}></calcite-action></calcite-action-group></calcite-action-bar>` : null}<div class=${c(o.container)}>${e}</div></calcite-flow-item>`;
|
|
348
348
|
}
|
|
349
349
|
_renderContentContainer() {
|
|
350
350
|
const e = this.flowItems?.toArray(), t = e?.map((a, s) => this._renderFlowItem(a, this.initialDisplayMode === "list" || !this.featureMenuOpen && s === e.length - 1)), i = this.initialDisplayMode === "list" ? [this._renderFeatureMenuContainer(), this._renderContentFeature(), t] : [this._renderContentFeature(), t, this._renderFeatureMenuContainer()];
|
|
@@ -356,15 +356,15 @@ class J extends S {
|
|
|
356
356
|
_renderActions() {
|
|
357
357
|
return this.viewModel.allActions.toArray().map((e) => {
|
|
358
358
|
const t = this._getActionTitle(e);
|
|
359
|
-
return n`<calcite-action .active=${e.type === "toggle" ? e.value : !1} appearance=solid
|
|
359
|
+
return n`<calcite-action .active=${e.type === "toggle" ? e.value : !1} appearance=solid .disabled=${e.disabled} .icon=${e.icon ?? void 0} .loading=${e.active} scale=s .textEnabled=${!this._hideActionText} .text=${t ?? ""} title=${t ?? p} @click=${() => this._triggerAction(e)}></calcite-action>`;
|
|
360
360
|
});
|
|
361
361
|
}
|
|
362
362
|
_renderContent() {
|
|
363
363
|
const { content: e, selectedFeatureViewModel: t } = this.viewModel;
|
|
364
|
-
return t ?
|
|
364
|
+
return t ? C(t, n`<arcgis-feature .flowItems=${this.flowItems} .graphic=${t.graphic} .headingLevel=${this.headingLevel + 1} hide-heading .map=${this.map} .referenceElement=${this.referenceElement} show-relationship-content .spatialReference=${this.spatialReference} .timeZone=${this.timeZone} ${w(this._selectedFeatureComponent)}></arcgis-feature>`) : typeof e == "string" ? C(e, n`<div .innerHTML=${T.sanitize(e) ?? ""}></div>`) : e ?? null;
|
|
365
365
|
}
|
|
366
366
|
}
|
|
367
|
-
|
|
367
|
+
E("arcgis-features", J);
|
|
368
368
|
export {
|
|
369
369
|
J as ArcgisFeatures
|
|
370
370
|
};
|