@arcgis/map-components 4.34.0-next.133 → 4.34.0-next.134
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/{CRDFDB4R.js → 22EFCSSD.js} +1 -1
- package/dist/cdn/{FKJ5GRT2.js → 2FE25NNX.js} +2 -2
- package/dist/cdn/{5B6RPQW5.js → 2LSNEJZ2.js} +2 -2
- package/dist/cdn/{M72S34GW.js → 327KKNL4.js} +2 -2
- package/dist/cdn/{N2GGOJYR.js → 36MSZWZB.js} +2 -2
- package/dist/cdn/{ZIILBGPX.js → 36T2B4QE.js} +2 -2
- package/dist/cdn/{IML6V74T.js → 3DQ4N76V.js} +2 -2
- package/dist/cdn/{2IJEHLYV.js → 3KWJRXUO.js} +2 -2
- package/dist/cdn/{O6VHOOAC.js → 3LOZGPZW.js} +3 -3
- package/dist/cdn/{BFX2CXI3.js → 3ME6SBWH.js} +2 -2
- package/dist/cdn/{Z2IRJXHS.js → 45HN63IS.js} +1 -1
- package/dist/cdn/{V4YHBNOT.js → 4ALK7I2B.js} +2 -2
- package/dist/cdn/4QTHNIWZ.js +4 -0
- package/dist/cdn/{4Y5GUCNJ.js → 4URHM24J.js} +2 -2
- package/dist/cdn/{RR6GB7E5.js → 54MLARHW.js} +2 -2
- package/dist/cdn/{GFTBGEHF.js → 5CSTIRMA.js} +2 -2
- package/dist/cdn/{YXQM3OY4.js → 5DO6WOG5.js} +2 -2
- package/dist/cdn/{BP5IKO2W.js → 5F2VVIG4.js} +2 -2
- package/dist/cdn/{35VOLBPZ.js → 5FGKOY7J.js} +2 -2
- package/dist/cdn/{SZVINOSR.js → 5JSSMSUK.js} +2 -2
- package/dist/cdn/{FCGYD4F2.js → 5KL34Q5B.js} +2 -2
- package/dist/cdn/{2VWA3OG6.js → 5NH4GPGY.js} +2 -2
- package/dist/cdn/{CLCAUVIP.js → 5NJFZZEW.js} +2 -2
- package/dist/cdn/{SZRR3V4F.js → 5WU4B5MM.js} +2 -2
- package/dist/cdn/62PLVYLI.js +4 -0
- package/dist/cdn/{7LHBDH44.js → 6HITIHOY.js} +2 -2
- package/dist/cdn/{FEQGF7DG.js → 6OH77X6Q.js} +2 -2
- package/dist/cdn/{PMI55QLI.js → 722BRSEV.js} +2 -2
- package/dist/cdn/{454X6TWM.js → 7F6MYIJ6.js} +2 -2
- package/dist/cdn/{XFOMKQBM.js → 7G47VMUV.js} +2 -2
- package/dist/cdn/{PPGQ7KJ2.js → 7G7H2OUJ.js} +2 -2
- package/dist/cdn/{GXAGQIF7.js → AC2VB62C.js} +2 -2
- package/dist/cdn/{SEP5SEJA.js → AGZOSJ3A.js} +2 -2
- package/dist/cdn/{K54GN2OA.js → AKHN5OCL.js} +2 -2
- package/dist/cdn/{KVDMXAG7.js → AQ3UJDKT.js} +2 -2
- package/dist/cdn/{7RKIIL6Q.js → AVCMAM3H.js} +2 -2
- package/dist/cdn/{PYL7Z2W7.js → AYB576YX.js} +2 -2
- package/dist/cdn/{LKBBTZBH.js → AYO4BZ3L.js} +2 -2
- package/dist/cdn/{LKBS3726.js → B2IN65Q7.js} +2 -2
- package/dist/cdn/{QYAP7DBK.js → BNOXXX7Q.js} +2 -2
- package/dist/cdn/{OVLRLYZG.js → BNXA45HP.js} +2 -2
- package/dist/cdn/{2W3TJFMA.js → BPWXXZB3.js} +2 -2
- package/dist/cdn/{HDL5KPOZ.js → BQJ2G3T2.js} +2 -2
- package/dist/cdn/{QI5R4SWT.js → BRF7AB4R.js} +2 -2
- package/dist/cdn/{S5HHBRBG.js → C25XCIII.js} +2 -2
- package/dist/cdn/{3L66IRCG.js → C3DZ5YQC.js} +2 -2
- package/dist/cdn/{DHYV7QYP.js → C5DSCCPL.js} +2 -2
- package/dist/cdn/{KD4F5NQR.js → CAEKE3MV.js} +1 -1
- package/dist/cdn/{O4CVKIFA.js → CIM5I4HG.js} +2 -2
- package/dist/cdn/{IDZMCIOS.js → CJOMIXWQ.js} +2 -2
- package/dist/cdn/{Y7TJKEQJ.js → CLCF7EC6.js} +2 -2
- package/dist/cdn/{4XK46X44.js → COKFGMPE.js} +2 -2
- package/dist/cdn/{WP3NQCWY.js → DBJW3EVE.js} +2 -2
- package/dist/cdn/DGTC6637.js +4 -0
- package/dist/cdn/{6NQXSZ4F.js → DMWOWPOJ.js} +2 -2
- package/dist/cdn/{6FDOTFMC.js → DQ7XSVJU.js} +2 -2
- package/dist/cdn/{HZM7E55B.js → DTJL2WXY.js} +2 -2
- package/dist/cdn/{BC3RKC5I.js → DVED5GOP.js} +2 -2
- package/dist/cdn/{5K6FVVGM.js → DWMURSSX.js} +2 -2
- package/dist/cdn/{R73NZWQJ.js → E4SPSWIX.js} +2 -2
- package/dist/cdn/ECZMSGLS.js +4 -0
- package/dist/cdn/{Q3NEG6FB.js → EHZATRNU.js} +2 -2
- package/dist/cdn/{EQLQJ6MB.js → EOGD7KHE.js} +2 -2
- package/dist/cdn/{4TADWPXC.js → EP73D7NC.js} +2 -2
- package/dist/cdn/{5PLFYAP7.js → EVL5CCGU.js} +2 -2
- package/dist/cdn/{YOCFMRO4.js → EXNNOMKQ.js} +2 -2
- package/dist/cdn/{5YV2ME2C.js → F4RISB35.js} +2 -2
- package/dist/cdn/{LGC6RK6O.js → F5TR63WW.js} +1 -1
- package/dist/cdn/{EVZACT2Q.js → FD5C3NON.js} +2 -2
- package/dist/cdn/{ITYUH45Q.js → FKWFWPPQ.js} +2 -2
- package/dist/cdn/{C6Z7X55M.js → FMPZKTVA.js} +2 -2
- package/dist/cdn/{KIUNSHU2.js → FSDQZJUP.js} +2 -2
- package/dist/cdn/{7KK2WCWD.js → FSNKDY5N.js} +2 -2
- package/dist/cdn/{IJ4OXERF.js → FTCBOHFX.js} +2 -2
- package/dist/cdn/{73KR4UUG.js → G3A5UEB4.js} +2 -2
- package/dist/cdn/{QREAX6T4.js → G66J2LJ2.js} +2 -2
- package/dist/cdn/{NW2XB2K6.js → G6EVUMPV.js} +2 -2
- package/dist/cdn/{6MRAWRE5.js → GQRH4DLZ.js} +2 -2
- package/dist/cdn/{JWTWQYMT.js → GWHTRMJM.js} +2 -2
- package/dist/cdn/{5LWU7TBO.js → GXAPMWUN.js} +2 -2
- package/dist/cdn/{ARSQ2M6R.js → HBUWXMAT.js} +2 -2
- package/dist/cdn/{WWX6LKRR.js → HGY4MNJJ.js} +2 -2
- package/dist/cdn/{XGJO7D77.js → HJBWF5OA.js} +2 -2
- package/dist/cdn/{DXCCOUDT.js → HOYFZOPS.js} +2 -2
- package/dist/cdn/HRJUI6MM.js +4 -0
- package/dist/cdn/{RAUV2KQ7.js → HTXOHTSB.js} +2 -2
- package/dist/cdn/{MJBYXK4R.js → HY63LDZG.js} +2 -2
- package/dist/cdn/{GDXUZGJL.js → I2MTYK2R.js} +2 -2
- package/dist/cdn/{2YY2TNL3.js → I33BSJSU.js} +2 -2
- package/dist/cdn/{46ETRS3K.js → I6V4DZ5G.js} +2 -2
- package/dist/cdn/{HNNTLPL3.js → ICECQXTU.js} +2 -2
- package/dist/cdn/{NKJONXTQ.js → ICWQNZHR.js} +2 -2
- package/dist/cdn/{QTQL5KV5.js → IF4BTXQ4.js} +2 -2
- package/dist/cdn/{ESQCPXNG.js → ILR5OQ27.js} +2 -2
- package/dist/cdn/IRZZOTCJ.js +4 -0
- package/dist/cdn/{KN6UIK2Q.js → ISWYNTU4.js} +1 -1
- package/dist/cdn/{OPI2P667.js → ITD6MLK4.js} +2 -2
- package/dist/cdn/IV75Z5D6.js +4 -0
- package/dist/cdn/{I7IE2OIU.js → JA2EZ7JR.js} +2 -2
- package/dist/cdn/{XTAVU3CZ.js → JC5FECSI.js} +2 -2
- package/dist/cdn/{ZG2QLCVN.js → JCRMJZZS.js} +2 -2
- package/dist/cdn/{GTXGX2VL.js → JCV6NA33.js} +2 -2
- package/dist/cdn/{GKMA7IAU.js → JRJ7XAQM.js} +2 -2
- package/dist/cdn/{VPKP2LJT.js → JSXXKMEZ.js} +1 -1
- package/dist/cdn/{KD6CNBIX.js → JVMITHWY.js} +2 -2
- package/dist/cdn/{LOL2IS6N.js → JWMTN423.js} +2 -2
- package/dist/cdn/{KX4K5NCB.js → KCANY5A7.js} +2 -2
- package/dist/cdn/KFCT42O5.js +4 -0
- package/dist/cdn/{DPT27LMS.js → KFJ3F6AU.js} +2 -2
- package/dist/cdn/{M7X6UEEV.js → KGDDNXTL.js} +2 -2
- package/dist/cdn/{FC5KUYKW.js → KHWHU6M3.js} +2 -2
- package/dist/cdn/{RAGSKOED.js → KMNGR3LX.js} +2 -2
- package/dist/cdn/{VRWIVXKN.js → KWXIL65J.js} +2 -2
- package/dist/cdn/KZLZV6IK.js +4 -0
- package/dist/cdn/{BQDX5X62.js → LA3XHTIJ.js} +2 -2
- package/dist/cdn/{U2LQNCA7.js → LCDT4WTA.js} +2 -2
- package/dist/cdn/{TJBW6LMV.js → LEZVALQR.js} +2 -2
- package/dist/cdn/{QCPNRNPU.js → LPGOGQSL.js} +2 -2
- package/dist/cdn/{AX2KA2M6.js → LQ4E2REN.js} +2 -2
- package/dist/cdn/{H7OJ3ADS.js → LSUIN7L5.js} +2 -2
- package/dist/cdn/{XK44F75N.js → LTG4AL7H.js} +2 -2
- package/dist/cdn/{LWQXR2JI.js → LU7KIWX4.js} +2 -2
- package/dist/cdn/{SRKZXRDQ.js → LUVZWVTW.js} +2 -2
- package/dist/cdn/{AJCOE4FW.js → M5CXARRG.js} +2 -2
- package/dist/cdn/{FD7TDTK7.js → M6BDLGUY.js} +2 -2
- package/dist/cdn/{LETMD3L6.js → MI6MD7EC.js} +2 -2
- package/dist/cdn/{TJP4VNIA.js → MOGEVM7H.js} +2 -2
- package/dist/cdn/{CGI4SPUC.js → MONJXBIA.js} +2 -2
- package/dist/cdn/{DKVRCSPL.js → MSAHFPH5.js} +1 -1
- package/dist/cdn/MWFVXB2E.js +4 -0
- package/dist/cdn/{Y4HMSIMF.js → MWV7UIU2.js} +2 -2
- package/dist/cdn/{CEILZGTG.js → MXB5LBNL.js} +2 -2
- package/dist/cdn/{QP5XD7EP.js → N5VVNVGO.js} +1 -1
- package/dist/cdn/{QJRMFXTR.js → NGP67CBQ.js} +2 -2
- package/dist/cdn/{YZ4U4IWO.js → NHM6IZ4D.js} +1 -1
- package/dist/cdn/{FTKUTQFI.js → NJGTA6M2.js} +2 -2
- package/dist/cdn/{H2QBZPWQ.js → NS42CN5H.js} +2 -2
- package/dist/cdn/NZVTMNU5.js +4 -0
- package/dist/cdn/{PRRW75AG.js → O4H72BWM.js} +2 -2
- package/dist/cdn/{UUPK5JKU.js → O4Z2TD3J.js} +2 -2
- package/dist/cdn/{HJJJLIV3.js → OFODJ5TB.js} +2 -2
- package/dist/cdn/{UPT6RSNI.js → OG4OJXG7.js} +2 -2
- package/dist/cdn/{RRFBG5HD.js → OKNRREFK.js} +2 -2
- package/dist/cdn/{27WMEF5S.js → OOFR3YDD.js} +2 -2
- package/dist/cdn/{AIV3S2HK.js → OS6FGPP7.js} +2 -2
- package/dist/cdn/{5XRDVKLQ.js → OS7OK24K.js} +2 -2
- package/dist/cdn/{6RT63RR3.js → OTKVP4N2.js} +2 -2
- package/dist/cdn/{DZCXVCEA.js → OUDN2GI4.js} +1 -1
- package/dist/cdn/{GNLXYSEG.js → P2S5LVEJ.js} +2 -2
- package/dist/cdn/{O4QZN6PX.js → PE7POGGR.js} +2 -2
- package/dist/cdn/{BLO3PH63.js → PGLKEHLS.js} +1 -1
- package/dist/cdn/{IC55LEKW.js → PJZPKNJI.js} +2 -2
- package/dist/cdn/{35RXSHVS.js → PWIANIP6.js} +2 -2
- package/dist/cdn/{YZPYENRQ.js → PXY4VFMX.js} +2 -2
- package/dist/cdn/{C4KSUDG6.js → Q3TSJ5P6.js} +2 -2
- package/dist/cdn/{ZXKVHQCT.js → Q4K3CT7V.js} +2 -2
- package/dist/cdn/{X24VUFUZ.js → QPZ3LMOA.js} +2 -2
- package/dist/cdn/{TRSSX2OL.js → QQDDLH6S.js} +2 -2
- package/dist/cdn/{4QHSR24N.js → QSXRT7VX.js} +2 -2
- package/dist/cdn/{GCD75UHB.js → QUZMLVKP.js} +2 -2
- package/dist/cdn/{VYD63UBY.js → QW7UTJSI.js} +2 -2
- package/dist/cdn/{4W3CFH6E.js → QWMC4PJA.js} +2 -2
- package/dist/cdn/QZWTIQUV.js +4 -0
- package/dist/cdn/{DO6OZIXK.js → RCTZEGUO.js} +2 -2
- package/dist/cdn/{WJMTBFOT.js → RMPW45HN.js} +2 -2
- package/dist/cdn/{LWK56WWB.js → SAWQSLP7.js} +2 -2
- package/dist/cdn/{YKICJUIU.js → SDQVMJHA.js} +2 -2
- package/dist/cdn/{HUF2RSHK.js → SLA3EAPY.js} +2 -2
- package/dist/cdn/{35S344QP.js → SLI2O4IP.js} +2 -2
- package/dist/cdn/{A3O3VXYT.js → SOOCYZVO.js} +2 -2
- package/dist/cdn/{SOAJC5OE.js → SQQ6S4OA.js} +2 -2
- package/dist/cdn/{CER3LIOO.js → SRCC6TOL.js} +2 -2
- package/dist/cdn/{QBYT6BW5.js → T5CFGDQC.js} +2 -2
- package/dist/cdn/{TRHJKH4Y.js → T6PRZN5A.js} +2 -2
- package/dist/cdn/{TNRTOBB7.js → TFAHOPVO.js} +2 -2
- package/dist/cdn/{I7TF7AUF.js → TJ4ORLQN.js} +2 -2
- package/dist/cdn/{7S7BRL2R.js → TWLYT6SK.js} +2 -2
- package/dist/cdn/{SMPFHXUH.js → TX4LAEAJ.js} +2 -2
- package/dist/cdn/{F5L564NB.js → U6KBFEOA.js} +2 -2
- package/dist/cdn/{DRTV25UV.js → UKMJ3ZPM.js} +2 -2
- package/dist/cdn/{OKTJ26YW.js → UUARFPPX.js} +2 -2
- package/dist/cdn/{UBKZ3TB5.js → UXGU6GBT.js} +2 -2
- package/dist/cdn/{NZXTSKAO.js → VFBSKRDQ.js} +2 -2
- package/dist/cdn/{B3SUUTAF.js → VFPAFQWU.js} +2 -2
- package/dist/cdn/VIEQXBWQ.js +4 -0
- package/dist/cdn/{YO5D24AF.js → VWUD3TWO.js} +2 -2
- package/dist/cdn/{72VRO56J.js → VYYE7B6S.js} +2 -2
- package/dist/cdn/{UPZIPW6L.js → W3JMPEMY.js} +2 -2
- package/dist/cdn/{IXAGZ3RI.js → W3XE4XZH.js} +2 -2
- package/dist/cdn/{74SUH53T.js → W7UCSPBE.js} +2 -2
- package/dist/cdn/{CTQFFZJH.js → WAGIEVEF.js} +2 -2
- package/dist/cdn/{ZOYDWFG2.js → WBQ3XF24.js} +2 -2
- package/dist/cdn/WCN7OQML.js +4 -0
- package/dist/cdn/{SXHML6YB.js → WCNGLFV7.js} +2 -2
- package/dist/cdn/{OHQMB32N.js → WEHDS3F4.js} +2 -2
- package/dist/cdn/{YLRX44WW.js → WXWTNEGG.js} +2 -2
- package/dist/cdn/{R7B2MYES.js → WXZJ7SV7.js} +2 -2
- package/dist/cdn/{PU6DA3OE.js → XDVWHCLN.js} +2 -2
- package/dist/cdn/{VSJMGGJE.js → XEYXPXDI.js} +2 -2
- package/dist/cdn/{QUVHG4VI.js → XFDKD5MT.js} +2 -2
- package/dist/cdn/{VNGPOITT.js → XFIIKDF4.js} +2 -2
- package/dist/cdn/{CC6NJOP5.js → XGO73VQC.js} +2 -2
- package/dist/cdn/{FOQSPMMT.js → XMM5QJNY.js} +2 -2
- package/dist/cdn/{H4YVZYJF.js → XWLZT6GW.js} +2 -2
- package/dist/cdn/{O6TE36QE.js → XXJNWIO5.js} +2 -2
- package/dist/cdn/{JYMNGGAN.js → XYFAJOAI.js} +1 -1
- package/dist/cdn/{KYSXOKCO.js → Y7USR2HB.js} +2 -2
- package/dist/cdn/{MV2H5AQC.js → YOOE3OXE.js} +2 -2
- package/dist/cdn/{7TVV3P7P.js → YRBQVWNY.js} +2 -2
- package/dist/cdn/YRP5AGQY.js +4 -0
- package/dist/cdn/{5KY5FNP3.js → YX36NVYE.js} +2 -2
- package/dist/cdn/{KYUKYL7I.js → Z3QV7DHJ.js} +2 -2
- package/dist/cdn/{AFDQOEM2.js → Z6T3HIZD.js} +2 -2
- package/dist/cdn/{6XVYZVBO.js → ZBJC2BPG.js} +2 -2
- package/dist/cdn/{KG3A4QD7.js → ZQJQQLK5.js} +2 -2
- package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.en.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 +45 -38
- 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/esri-main.js +1 -1
- 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 +1 -1
- package/dist/chunks/slots.js +10 -8
- package/dist/chunks/svgUtils.js +1 -1
- package/dist/chunks/uiController.js +45 -0
- 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 +1 -1
- 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 +56 -0
- package/dist/components/arcgis-area-measurement-2d/customElement.js +1 -1
- package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +88 -0
- package/dist/components/arcgis-area-measurement-3d/customElement.js +1 -1
- package/dist/components/arcgis-attachments/customElement.d.ts +70 -0
- package/dist/components/arcgis-attachments/customElement.js +1 -1
- package/dist/components/arcgis-basemap-gallery/customElement.d.ts +57 -0
- package/dist/components/arcgis-basemap-gallery/customElement.js +1 -1
- package/dist/components/arcgis-basemap-gallery-item/customElement.d.ts +1 -0
- package/dist/components/arcgis-basemap-gallery-item/customElement.js +1 -1
- package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +151 -0
- package/dist/components/arcgis-basemap-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-basemap-toggle/customElement.d.ts +48 -0
- package/dist/components/arcgis-basemap-toggle/customElement.js +1 -1
- package/dist/components/arcgis-bookmarks/customElement.d.ts +256 -0
- package/dist/components/arcgis-bookmarks/customElement.js +1 -1
- package/dist/components/arcgis-building-explorer/customElement.d.ts +69 -0
- package/dist/components/arcgis-building-explorer/customElement.js +1 -1
- package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +118 -0
- package/dist/components/arcgis-catalog-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-compass/customElement.d.ts +52 -0
- package/dist/components/arcgis-compass/customElement.js +1 -1
- package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +107 -1
- package/dist/components/arcgis-coordinate-conversion/customElement.js +1 -1
- package/dist/components/arcgis-daylight/animation.d.ts +7 -1
- package/dist/components/arcgis-daylight/customElement.d.ts +125 -8
- package/dist/components/arcgis-daylight/customElement.js +360 -263
- package/dist/components/arcgis-daylight/daylight-time-slider.d.ts +2 -0
- package/dist/components/arcgis-daylight/daylight-utils.d.ts +2 -2
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +88 -0
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +1 -1
- package/dist/components/arcgis-directional-pad/customElement.d.ts +67 -0
- package/dist/components/arcgis-directional-pad/customElement.js +1 -1
- package/dist/components/arcgis-directions/customElement.d.ts +91 -2
- package/dist/components/arcgis-directions/customElement.js +1 -1
- package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +56 -0
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +1 -1
- package/dist/components/arcgis-editor/customElement.d.ts +81 -0
- package/dist/components/arcgis-editor/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile/customElement.d.ts +101 -1
- package/dist/components/arcgis-elevation-profile/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile-legend/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile-legend-item/customElement.d.ts +3 -1
- package/dist/components/arcgis-elevation-profile-legend-item/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile-next/customElement.d.ts +141 -1
- package/dist/components/arcgis-elevation-profile-next/customElement.js +2 -2
- package/dist/components/arcgis-elevation-profile-settings/customElement.d.ts +3 -0
- package/dist/components/arcgis-elevation-profile-settings/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile-statistics/customElement.d.ts +1 -1
- package/dist/components/arcgis-elevation-profile-statistics/customElement.js +1 -1
- package/dist/components/arcgis-expand/customElement.d.ts +151 -0
- package/dist/components/arcgis-expand/customElement.js +1 -1
- package/dist/components/arcgis-feature/customElement.d.ts +303 -0
- package/dist/components/arcgis-feature/customElement.js +104 -62
- package/dist/components/arcgis-feature-attachments/customElement.d.ts +1 -0
- package/dist/components/arcgis-feature-attachments/customElement.js +1 -1
- package/dist/components/arcgis-feature-content/customElement.js +1 -1
- package/dist/components/arcgis-feature-element-info/customElement.d.ts +1 -0
- package/dist/components/arcgis-feature-element-info/customElement.js +1 -1
- package/dist/components/arcgis-feature-expression/customElement.d.ts +1 -0
- package/dist/components/arcgis-feature-expression/customElement.js +1 -1
- package/dist/components/arcgis-feature-fields/customElement.d.ts +1 -0
- package/dist/components/arcgis-feature-fields/customElement.js +1 -1
- package/dist/components/arcgis-feature-form/customElement.d.ts +76 -0
- package/dist/components/arcgis-feature-form/customElement.js +1 -1
- package/dist/components/arcgis-feature-media/customElement.d.ts +4 -0
- package/dist/components/arcgis-feature-media/customElement.js +1 -1
- package/dist/components/arcgis-feature-relationship/customElement.d.ts +25 -0
- package/dist/components/arcgis-feature-relationship/customElement.js +1 -1
- package/dist/components/arcgis-feature-table/customElement.d.ts +470 -2
- package/dist/components/arcgis-feature-table/customElement.js +1 -1
- package/dist/components/arcgis-feature-templates/customElement.d.ts +73 -0
- package/dist/components/arcgis-feature-templates/customElement.js +1 -1
- package/dist/components/arcgis-features/customElement.d.ts +499 -3
- package/dist/components/arcgis-features/customElement.js +15 -3
- package/dist/components/arcgis-floor-filter/customElement.d.ts +60 -0
- package/dist/components/arcgis-floor-filter/customElement.js +1 -1
- package/dist/components/arcgis-fullscreen/customElement.d.ts +15 -0
- package/dist/components/arcgis-fullscreen/customElement.js +1 -1
- package/dist/components/arcgis-grid-controls/customElement.d.ts +179 -0
- package/dist/components/arcgis-grid-controls/customElement.js +1 -1
- package/dist/components/arcgis-histogram-range-slider/customElement.d.ts +102 -0
- package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-home/customElement.d.ts +86 -0
- package/dist/components/arcgis-home/customElement.js +1 -1
- package/dist/components/arcgis-labeled-switch/customElement.d.ts +20 -0
- package/dist/components/arcgis-labeled-switch/customElement.js +1 -1
- package/dist/components/arcgis-layer-list/customElement.d.ts +144 -0
- package/dist/components/arcgis-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-layer-list-item/customElement.d.ts +22 -0
- package/dist/components/arcgis-layer-list-item/customElement.js +1 -1
- package/dist/components/arcgis-legend/customElement.d.ts +241 -0
- package/dist/components/arcgis-legend/customElement.js +10 -10
- package/dist/components/arcgis-legend-card-color-ramp/customElement.d.ts +1 -0
- package/dist/components/arcgis-legend-card-color-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-element/customElement.d.ts +2 -0
- package/dist/components/arcgis-legend-card-element/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-size-ramp/customElement.d.ts +2 -0
- 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 -0
- 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 -0
- package/dist/components/arcgis-legend-card-univariate-color-size-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-view/customElement.d.ts +7 -0
- package/dist/components/arcgis-legend-card-view/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-color-ramp/customElement.d.ts +1 -0
- package/dist/components/arcgis-legend-classic-color-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-element/customElement.js +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 -0
- 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 -0
- package/dist/components/arcgis-legend-classic-univariate-color-size-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-view/customElement.d.ts +2 -0
- package/dist/components/arcgis-legend-classic-view/customElement.js +1 -1
- package/dist/components/arcgis-legend-relationship-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-spike-ramp/customElement.js +1 -1
- package/dist/components/arcgis-line-of-sight/customElement.d.ts +94 -0
- package/dist/components/arcgis-line-of-sight/customElement.js +1 -1
- package/dist/components/arcgis-link-chart/customElement.d.ts +293 -1
- package/dist/components/arcgis-link-chart/customElement.js +29 -21
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.d.ts +77 -0
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +1 -1
- package/dist/components/arcgis-locate/customElement.d.ts +53 -0
- package/dist/components/arcgis-locate/customElement.js +1 -1
- package/dist/components/arcgis-map/customElement.d.ts +410 -0
- package/dist/components/arcgis-map/customElement.js +25 -17
- package/dist/components/arcgis-measurement/customElement.d.ts +61 -0
- package/dist/components/arcgis-measurement/customElement.js +1 -1
- package/dist/components/arcgis-measurement-content/customElement.d.ts +2 -0
- package/dist/components/arcgis-measurement-content/customElement.js +1 -1
- package/dist/components/arcgis-navigation-toggle/customElement.d.ts +38 -0
- package/dist/components/arcgis-navigation-toggle/customElement.js +1 -1
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +103 -0
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +1 -1
- package/dist/components/arcgis-placement/customElement.d.ts +11 -0
- package/dist/components/arcgis-placement/customElement.js +1 -1
- package/dist/components/arcgis-popup/css.d.ts +1 -0
- package/dist/components/arcgis-popup/customElement.d.ts +450 -1
- package/dist/components/arcgis-popup/customElement.js +85 -86
- package/dist/components/arcgis-print/customElement.d.ts +132 -0
- package/dist/components/arcgis-print/customElement.js +1 -1
- 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.d.ts +1 -0
- package/dist/components/arcgis-print-template-selector/customElement.js +1 -1
- package/dist/components/arcgis-result-feature-list/customElement.d.ts +3 -0
- package/dist/components/arcgis-result-feature-list/customElement.js +1 -1
- package/dist/components/arcgis-scale-bar/customElement.d.ts +46 -0
- package/dist/components/arcgis-scale-bar/customElement.js +1 -1
- package/dist/components/arcgis-scale-range-slider/customElement.d.ts +83 -1
- package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-scene/customElement.d.ts +689 -0
- package/dist/components/arcgis-scene/customElement.js +32 -24
- package/dist/components/arcgis-search/customElement.d.ts +274 -0
- package/dist/components/arcgis-search/customElement.js +1 -1
- package/dist/components/arcgis-search-result-renderer/customElement.d.ts +11 -0
- package/dist/components/arcgis-search-result-renderer/customElement.js +1 -1
- package/dist/components/arcgis-shadow-cast/customElement.d.ts +109 -0
- package/dist/components/arcgis-shadow-cast/customElement.js +1 -1
- package/dist/components/arcgis-sketch/customElement.d.ts +151 -3
- package/dist/components/arcgis-sketch/customElement.js +5 -7
- package/dist/components/arcgis-slice/customElement.d.ts +148 -0
- package/dist/components/arcgis-slice/customElement.js +1 -1
- package/dist/components/arcgis-spinner/customElement.d.ts +3 -0
- package/dist/components/arcgis-spinner/customElement.js +1 -1
- package/dist/components/arcgis-swipe/customElement.d.ts +89 -0
- package/dist/components/arcgis-swipe/customElement.js +1 -1
- package/dist/components/arcgis-table-list/customElement.d.ts +118 -0
- package/dist/components/arcgis-table-list/customElement.js +3 -3
- package/dist/components/arcgis-time-slider/customElement.d.ts +108 -0
- package/dist/components/arcgis-time-slider/customElement.js +1 -1
- package/dist/components/arcgis-time-zone-label/customElement.d.ts +37 -0
- package/dist/components/arcgis-time-zone-label/customElement.js +1 -1
- package/dist/components/arcgis-track/customElement.d.ts +110 -0
- package/dist/components/arcgis-track/customElement.js +1 -1
- package/dist/components/arcgis-unit-select/customElement.d.ts +6 -0
- package/dist/components/arcgis-unit-select/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-associations/customElement.d.ts +162 -0
- package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace/customElement.d.ts +119 -0
- package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.d.ts +30 -2
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +41 -61
- package/dist/components/arcgis-utility-network-trace-analysis/index.d.ts +2 -5
- package/dist/components/arcgis-utility-network-trace-analysis/index.js +2 -5
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.d.ts +36 -0
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +103 -0
- package/dist/components/arcgis-utility-network-trace-inputs/index.d.ts +7 -0
- package/dist/components/arcgis-utility-network-trace-inputs/index.js +7 -0
- package/dist/components/arcgis-utility-network-validate-topology/customElement.d.ts +45 -0
- package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -1
- package/dist/components/arcgis-value-picker/customElement.d.ts +85 -1
- package/dist/components/arcgis-value-picker/customElement.js +1 -1
- package/dist/components/arcgis-version-management/customElement.d.ts +45 -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.d.ts +3 -0
- package/dist/components/arcgis-version-management-version-list/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-properties/customElement.d.ts +2 -0
- package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
- package/dist/components/arcgis-video/customElement.d.ts +21 -0
- package/dist/components/arcgis-video/customElement.js +1 -1
- package/dist/components/arcgis-video-player/customElement.d.ts +56 -0
- 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 +55 -0
- package/dist/components/arcgis-weather/customElement.js +1 -1
- package/dist/components/arcgis-zoom/customElement.d.ts +47 -0
- package/dist/components/arcgis-zoom/customElement.js +1 -1
- package/dist/controllers/uiController.d.ts +21 -0
- package/dist/docs/api.json +1050 -239
- package/dist/docs/docs.json +866 -197
- package/dist/docs/vscode.html-custom-data.json +143 -69
- package/dist/docs/web-types.json +408 -195
- package/dist/index.d.ts +20 -0
- package/dist/index.js +1 -1
- package/dist/loader.js +7 -6
- package/dist/support/earth-utils.d.ts +1 -2
- package/dist/support/measurementUtils.d.ts +1 -1
- package/dist/support/resources.d.ts +2 -0
- package/dist/support/slots.d.ts +2 -2
- package/dist/support/time-utils.d.ts +5 -1
- package/dist/types/lumina.d.ts +13 -5
- package/dist/types/preact.d.ts +80 -71
- package/dist/types/preact10.d.ts +755 -0
- package/dist/types/react.d.ts +15 -5
- package/dist/types/stencil.d.ts +13 -5
- package/dist/utils/math-utils.d.ts +6 -0
- package/dist/utils/signal-utils.d.ts +26 -0
- package/package.json +3 -3
- package/dist/cdn/6NZIJ433.js +0 -4
- package/dist/cdn/BOFZNXI7.js +0 -4
- package/dist/cdn/HJ7M6BW2.js +0 -4
- package/dist/cdn/JINI3JGE.js +0 -4
- package/dist/cdn/L7R3YPKP.js +0 -4
- package/dist/cdn/LC4VWZNC.js +0 -4
- package/dist/cdn/NOTSC5KN.js +0 -4
- package/dist/cdn/PY2SF5ID.js +0 -4
- package/dist/cdn/RNFXIHDL.js +0 -4
- package/dist/cdn/RTDCXUDE.js +0 -4
- package/dist/cdn/T7VH64WD.js +0 -4
- package/dist/cdn/TI3S4F6E.js +0 -4
- package/dist/cdn/YAFQZDIF.js +0 -4
|
@@ -39,65 +39,561 @@ declare const useFeaturesViewModel: (component: LitElement & Pick<FeaturesViewMo
|
|
|
39
39
|
*/
|
|
40
40
|
export declare class ArcgisFeatures extends LitElement {
|
|
41
41
|
viewModel: FeaturesViewModel;
|
|
42
|
+
/**
|
|
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.
|
|
44
|
+
* Each action may be executed by clicking the icon or image symbolizing them.
|
|
45
|
+
* By default, every component has a `Zoom To` action styled with a magnifying glass icon.
|
|
46
|
+
* When this icon is clicked, the map zooms in four LODs and centers on the selected feature.
|
|
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).
|
|
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).
|
|
49
|
+
* The [`arcgisTriggerAction`](#arcgisTriggerAction) event fires each time an action is clicked.
|
|
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.
|
|
51
|
+
*
|
|
52
|
+
* @see [arcgisTriggerAction](#arcgisTriggerAction)
|
|
53
|
+
* @example
|
|
54
|
+
* ```js
|
|
55
|
+
* // Defines an action button to zoom out from the selected feature
|
|
56
|
+
* const zoomOutAction = {
|
|
57
|
+
* type: "button",
|
|
58
|
+
* // This text is displayed as a tooltip
|
|
59
|
+
* title: "Zoom out",
|
|
60
|
+
* // The ID by which to reference the action in the event handler
|
|
61
|
+
* id: "zoom-out",
|
|
62
|
+
* // Sets the icon used to style the action button
|
|
63
|
+
* icon: "magnifying-glass-minus"
|
|
64
|
+
* };
|
|
65
|
+
* // Adds the custom action to the Features component's actions collection.
|
|
66
|
+
* featuresComponent.actions.push(zoomOutAction);
|
|
67
|
+
* ```
|
|
68
|
+
*/
|
|
42
69
|
actions: Collection<ActionButton | ActionToggle>;
|
|
70
|
+
/**
|
|
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.
|
|
72
|
+
*
|
|
73
|
+
* @default false
|
|
74
|
+
*/
|
|
43
75
|
readonly active: boolean;
|
|
76
|
+
/**
|
|
77
|
+
* If true, the component will not be destroyed automatically when it is
|
|
78
|
+
* disconnected from the document. This is useful when you want to move the
|
|
79
|
+
* component to a different place on the page, or temporarily hide it. If this
|
|
80
|
+
* is set, make sure to call the [destroy](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-features/#destroy) method when you are done to
|
|
81
|
+
* prevent memory leaks.
|
|
82
|
+
*
|
|
83
|
+
* @default false
|
|
84
|
+
*/
|
|
44
85
|
autoDestroyDisabled: boolean;
|
|
86
|
+
/**
|
|
87
|
+
* Indicates whether the component displays its content. If `true`, only the header displays.
|
|
88
|
+
* This property is only honored if [`showCollapsed`](#showCollapsed) is `true`.
|
|
89
|
+
*
|
|
90
|
+
* @default false
|
|
91
|
+
*/
|
|
45
92
|
collapsed: boolean;
|
|
93
|
+
/**
|
|
94
|
+
* The content of the Features component. When set directly on the component, this content is
|
|
95
|
+
* static and cannot use fields to set content templates. To set a template
|
|
96
|
+
* for the content based on field or attribute names, see
|
|
97
|
+
* [PopupTemplate.content](https://developers.arcgis.com/javascript/latest/api-reference/esri-PopupTemplate.html#content).
|
|
98
|
+
*
|
|
99
|
+
* @noautocast
|
|
100
|
+
* @example
|
|
101
|
+
* ```js
|
|
102
|
+
* // This sets generic instructions in the component that will always be displayed
|
|
103
|
+
* // unless it is overridden by a PopupTemplate.
|
|
104
|
+
* featuresComponent.content = "Click a feature on the map to view its attributes";
|
|
105
|
+
* ```
|
|
106
|
+
*/
|
|
46
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
|
+
*/
|
|
47
116
|
defaultPopupTemplateEnabled: boolean;
|
|
117
|
+
/**
|
|
118
|
+
* The number of selected [features](#features) available to the popup.
|
|
119
|
+
*
|
|
120
|
+
* @since 4.34
|
|
121
|
+
* @default 0
|
|
122
|
+
*/
|
|
48
123
|
readonly featureCount: number;
|
|
124
|
+
/**
|
|
125
|
+
* This property enables multiple features in the component to display in a list rather than displaying the first selected feature.
|
|
126
|
+
* Setting this to `true` allows the user to scroll through the list of features.
|
|
127
|
+
* This value will only be honored if [`initialDisplayMode`](#initialDisplayMode) is set to "feature".
|
|
128
|
+
*
|
|
129
|
+
* @since 4.34
|
|
130
|
+
* @default false
|
|
131
|
+
*/
|
|
49
132
|
featureMenuOpen: boolean;
|
|
133
|
+
/** Sets the title to display on the component while viewing the feature menu. */
|
|
50
134
|
featureMenuTitle: string | nullish;
|
|
135
|
+
/**
|
|
136
|
+
* Indicates whether the feature navigation arrows are displayed at the top of the component.
|
|
137
|
+
* By default, the navigation arrows are displayed at the bottom of the component.
|
|
138
|
+
*
|
|
139
|
+
* @since 4.34
|
|
140
|
+
* @default false
|
|
141
|
+
*/
|
|
51
142
|
featureNavigationTop: boolean;
|
|
143
|
+
/**
|
|
144
|
+
* An array of features associated with the Features component. Each graphic in this array must
|
|
145
|
+
* have a valid [PopupTemplate](https://developers.arcgis.com/javascript/latest/api-reference/esri-PopupTemplate.html) set. They may share the same
|
|
146
|
+
* [PopupTemplate](https://developers.arcgis.com/javascript/latest/api-reference/esri-PopupTemplate.html) or have unique
|
|
147
|
+
* [PopupTemplates](https://developers.arcgis.com/javascript/latest/api-reference/esri-PopupTemplate.html) depending on their attributes.
|
|
148
|
+
* The [content](#content) and [heading](#heading)
|
|
149
|
+
* of the component is set based on the `content` and `title` properties of each graphic's respective
|
|
150
|
+
* [PopupTemplate](https://developers.arcgis.com/javascript/latest/api-reference/esri-PopupTemplate.html).
|
|
151
|
+
*
|
|
152
|
+
* When more than one graphic exists in this array, the current content of the
|
|
153
|
+
* component is set based on the value of the [selected feature](#selectedFeature).
|
|
154
|
+
*
|
|
155
|
+
* This value is `null` if no features are associated with the component.
|
|
156
|
+
*
|
|
157
|
+
* @noautocast
|
|
158
|
+
* @example
|
|
159
|
+
* ```js
|
|
160
|
+
* // When setting the features property, the graphics pushed to this property
|
|
161
|
+
* // must have a PopupTemplate set.
|
|
162
|
+
* let g1 = new Graphic();
|
|
163
|
+
* g1.popupTemplate = new PopupTemplate({
|
|
164
|
+
* title: "Results title",
|
|
165
|
+
* content: "Results: {ATTRIBUTE_NAME}"
|
|
166
|
+
* });
|
|
167
|
+
* // Set the graphics as an array to the Features component instance. The content and title of
|
|
168
|
+
* // the component will be set depending on the PopupTemplate of the graphics.
|
|
169
|
+
* // Each graphic may share the same PopupTemplate or have a unique PopupTemplate
|
|
170
|
+
* let graphics = [g1, g2, g3, g4, g5];
|
|
171
|
+
* featuresComponent.features = graphics;
|
|
172
|
+
* ```
|
|
173
|
+
*/
|
|
52
174
|
features: __esri.Graphic[];
|
|
175
|
+
/**
|
|
176
|
+
* The number of features to fetch at one time.
|
|
177
|
+
*
|
|
178
|
+
* @default 20
|
|
179
|
+
*/
|
|
53
180
|
featuresPerPage: number;
|
|
181
|
+
/** Defines the specific [abilities](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Feature-FeatureViewModel.html#Abilities) that can be used when querying and displaying content. */
|
|
54
182
|
featureViewModelAbilities: nullish | __esri.Abilities;
|
|
183
|
+
/**
|
|
184
|
+
* This function provides the ability to override either the [arcgis-map.goTo](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-map/#goTo) or [arcgis-scene.goTo](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/#goTo) methods.
|
|
185
|
+
*
|
|
186
|
+
* @example
|
|
187
|
+
* ```js
|
|
188
|
+
* features.goToOverride = (map, goToParams)=> {
|
|
189
|
+
* goToParams.options = {
|
|
190
|
+
* duration: updatedDuration
|
|
191
|
+
* };
|
|
192
|
+
* return map.goTo(goToParams.target, goToParams.options);
|
|
193
|
+
* };
|
|
194
|
+
* ```
|
|
195
|
+
*/
|
|
55
196
|
goToOverride: nullish | __esri.GoToOverride;
|
|
197
|
+
/**
|
|
198
|
+
* The actions that are displayed in the header of the component.
|
|
199
|
+
*
|
|
200
|
+
* @autocast { typedCollection: true }
|
|
201
|
+
*/
|
|
56
202
|
headerActions: Collection<ActionButton | ActionToggle>;
|
|
203
|
+
/**
|
|
204
|
+
* The title of the Features component. This can be set to any string value no
|
|
205
|
+
* matter the features that are selected. If the [selected feature](#selectedFeature)
|
|
206
|
+
* has a [PopupTemplate](https://developers.arcgis.com/javascript/latest/api-reference/esri-PopupTemplate.html), then the title set in the
|
|
207
|
+
* corresponding template is used here.
|
|
208
|
+
*
|
|
209
|
+
* @see [headingLevel](#headingLevel)
|
|
210
|
+
* @example
|
|
211
|
+
* ```js
|
|
212
|
+
* // This title will display in the component unless a selected feature's
|
|
213
|
+
* // PopupTemplate overrides it.
|
|
214
|
+
* featuresComponent.title = "Population by zip codes in Southern California";
|
|
215
|
+
* ```
|
|
216
|
+
*/
|
|
57
217
|
heading: string | nullish;
|
|
218
|
+
/**
|
|
219
|
+
* The title of the Features component.
|
|
220
|
+
*
|
|
221
|
+
* @deprecated since 4.34, use [`heading`](#heading) instead.
|
|
222
|
+
*/
|
|
223
|
+
get featuresTitle(): nil | string;
|
|
224
|
+
set featuresTitle(value: nil | string);
|
|
225
|
+
/**
|
|
226
|
+
* Indicates the heading level to use for the [heading](#heading) of the component.
|
|
227
|
+
* By default, the heading is rendered
|
|
228
|
+
* as a level 2 heading (e.g. `<h2>Popup title</h2>`). Depending on the component's placement
|
|
229
|
+
* in your app, you may need to adjust this heading for proper semantics. This is
|
|
230
|
+
* important for meeting accessibility standards.
|
|
231
|
+
*
|
|
232
|
+
* @default 2
|
|
233
|
+
*/
|
|
58
234
|
headingLevel: HeadingLevel;
|
|
235
|
+
/**
|
|
236
|
+
* Indicates whether to hide the action bar that holds the feature's [actions](#actions).
|
|
237
|
+
*
|
|
238
|
+
* @default false
|
|
239
|
+
*/
|
|
59
240
|
hideActionBar: boolean;
|
|
241
|
+
/**
|
|
242
|
+
* Indicates whether to hide the close button in the component.
|
|
243
|
+
*
|
|
244
|
+
* @default false
|
|
245
|
+
*/
|
|
60
246
|
hideCloseButton: boolean;
|
|
61
|
-
|
|
247
|
+
/**
|
|
248
|
+
* Indicates whether to hide the feature menu heading and description in the component's feature menu list.
|
|
249
|
+
*
|
|
250
|
+
* @default false
|
|
251
|
+
*/
|
|
62
252
|
hideFeatureMenuHeading: boolean;
|
|
253
|
+
/**
|
|
254
|
+
* Indicates whether to hide the feature pagination in the component.
|
|
255
|
+
* This allows the user to scroll through various [selected features](#features) using pagination arrows.
|
|
256
|
+
*
|
|
257
|
+
* @default false
|
|
258
|
+
*/
|
|
63
259
|
hideFeatureNavigation: boolean;
|
|
260
|
+
/**
|
|
261
|
+
* Indicates whether to hide the group heading for a list of multiple features.
|
|
262
|
+
*
|
|
263
|
+
* @default false
|
|
264
|
+
*/
|
|
64
265
|
hideFeatureListLayerTitle: boolean;
|
|
266
|
+
/**
|
|
267
|
+
* Determines whether the component should be shown within its built-in [flow component](https://developers.arcgis.com/calcite-design-system/components/flow/) or if the flow component should be excluded.
|
|
268
|
+
* The component will be displayed within its original flow component if set to `false`.
|
|
269
|
+
* The flow component will be omitted from the widget if set to `true`.
|
|
270
|
+
* To place the component into an existing Calcite flow component, set this property to `false`.
|
|
271
|
+
*
|
|
272
|
+
* @default false
|
|
273
|
+
*/
|
|
65
274
|
hideFlow: boolean;
|
|
275
|
+
/**
|
|
276
|
+
* Indicates whether to hide the component's [heading](#heading).
|
|
277
|
+
*
|
|
278
|
+
* @default false
|
|
279
|
+
*/
|
|
66
280
|
hideHeading: boolean;
|
|
281
|
+
/**
|
|
282
|
+
* Indicates whether to hide the component's loading spinner.
|
|
283
|
+
*
|
|
284
|
+
* @default false
|
|
285
|
+
*/
|
|
67
286
|
hideSpinner: boolean;
|
|
287
|
+
/**
|
|
288
|
+
* Indicates whether to highlight the [selected feature](#selectedFeature) in the associated
|
|
289
|
+
* [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.
|
|
290
|
+
*
|
|
291
|
+
* @since 4.34
|
|
292
|
+
* @default false
|
|
293
|
+
*/
|
|
294
|
+
highlightDisabled: boolean;
|
|
295
|
+
/**
|
|
296
|
+
* Icon which represents the component.
|
|
297
|
+
* Typically used when the component is controlled by another component (e.g. by the Expand component).
|
|
298
|
+
*
|
|
299
|
+
* @see [Calcite Icons](https://developers.arcgis.com/calcite-design-system/icons/)
|
|
300
|
+
*/
|
|
68
301
|
icon?: string;
|
|
302
|
+
/**
|
|
303
|
+
* Indicates whether to include the [defaultActions](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Features-FeaturesViewModel.html#includeDefaultActions) in the component.
|
|
304
|
+
*
|
|
305
|
+
* @default true
|
|
306
|
+
*/
|
|
69
307
|
includeDefaultActions: boolean;
|
|
308
|
+
/**
|
|
309
|
+
* Indicates whether to initially display a list of features, or the content for one feature.
|
|
310
|
+
*
|
|
311
|
+
* @default "feature"
|
|
312
|
+
*/
|
|
70
313
|
initialDisplayMode: "list" | "feature";
|
|
314
|
+
/** The component's default label. */
|
|
71
315
|
label?: string;
|
|
316
|
+
/**
|
|
317
|
+
* A map is required when the input [features](#features) have a popupTemplate that contains [Arcade](https://developers.arcgis.com/arcade) expressions in [ExpressionInfo](https://developers.arcgis.com/javascript/latest/api-reference/esri-popup-ExpressionInfo.html) or [ExpressionContent](https://developers.arcgis.com/javascript/latest/api-reference/esri-popup-content-ExpressionContent.html) that may use the `$map` profile variable to access data from layers within a map. Without a map, expressions that use `$map` will throw an error.
|
|
318
|
+
*
|
|
319
|
+
* Alternatively, the [view](#view) property can be used to provide the map instance for this property.
|
|
320
|
+
*
|
|
321
|
+
* @noautocast
|
|
322
|
+
* @see [Type system](https://developers.arcgis.com/arcade/guide/types/#featuresetcollection)
|
|
323
|
+
* @see [Arcade Profiles: Popup](https://developers.arcgis.com/arcade/profiles/popup/)
|
|
324
|
+
* @example
|
|
325
|
+
* ```js
|
|
326
|
+
* // The building footprints represent the buildings that intersect a clicked parcel
|
|
327
|
+
* let buildingFootprints = Intersects($feature, FeatureSetByName($map, "Building Footprints"));
|
|
328
|
+
* ```
|
|
329
|
+
* @default null
|
|
330
|
+
*/
|
|
72
331
|
map: __esri.Map | nullish;
|
|
332
|
+
/**
|
|
333
|
+
* Replace localized message strings with your own strings.
|
|
334
|
+
*
|
|
335
|
+
* _**Note**: Individual message keys may change between releases._
|
|
336
|
+
*/
|
|
73
337
|
messageOverrides?: typeof this.messages._overrides;
|
|
338
|
+
/** @deprecated since 4.34, use [`slot`](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/slot) instead. */
|
|
74
339
|
position?: __esri.UIPosition;
|
|
340
|
+
/**
|
|
341
|
+
* By assigning the `id` attribute of the Map or Scene component to this property, you can position a child component anywhere in the DOM while still maintaining a connection to the Map or Scene.
|
|
342
|
+
*
|
|
343
|
+
* @see [Associate components with a Map or Scene component](https://developers.arcgis.com/javascript/latest/programming-patterns/#associate-components-with-a-map-or-scene-component)
|
|
344
|
+
*/
|
|
75
345
|
referenceElement?: ArcgisReferenceElement | string;
|
|
346
|
+
/**
|
|
347
|
+
* An array of pending Promises that have not yet been fulfilled. If there are
|
|
348
|
+
* no pending promises, the value is `null`. When the pending promises are
|
|
349
|
+
* resolved they are removed from this array and the features they return
|
|
350
|
+
* are pushed into the [features](#features) array.
|
|
351
|
+
*/
|
|
76
352
|
promises: Promise<__esri.Graphic[]>[];
|
|
353
|
+
/**
|
|
354
|
+
* The feature that the component has drilled into.
|
|
355
|
+
* 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.
|
|
356
|
+
*
|
|
357
|
+
* @since 4.34
|
|
358
|
+
*/
|
|
77
359
|
get selectedDrillInFeature(): __esri.Graphic | nil;
|
|
360
|
+
/**
|
|
361
|
+
* The selected feature accessed by the Features component. The content displayed in the component is
|
|
362
|
+
* determined based on the [PopupTemplate](https://developers.arcgis.com/javascript/latest/api-reference/esri-PopupTemplate.html) assigned to this feature.
|
|
363
|
+
*/
|
|
78
364
|
readonly selectedFeature: nullish | __esri.Graphic;
|
|
365
|
+
/**
|
|
366
|
+
* Returns a reference to the current [arcgis-feature](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-feature/) component.
|
|
367
|
+
* This is useful if needing to get a reference to the Feature component in order to make any changes to it.
|
|
368
|
+
*
|
|
369
|
+
* @since 4.34
|
|
370
|
+
*/
|
|
79
371
|
get selectedFeatureComponent(): HTMLArcgisFeatureElement | null;
|
|
372
|
+
/**
|
|
373
|
+
* Index of the feature that is [selected](#selectedFeature). When [features](#features) are set,
|
|
374
|
+
* the first index is automatically selected.
|
|
375
|
+
*/
|
|
80
376
|
selectedFeatureIndex: number;
|
|
377
|
+
/**
|
|
378
|
+
* Indicates whether to show the collapse button in the component.
|
|
379
|
+
*
|
|
380
|
+
* @default false
|
|
381
|
+
*/
|
|
382
|
+
showCollapseButton: boolean;
|
|
383
|
+
/**
|
|
384
|
+
* The spatial reference used for [Arcade](https://developers.arcgis.com/arcade) operations.
|
|
385
|
+
* This property should be set if the Features component executes Arcade expressions that contain [geometry functions](https://developers.arcgis.com/arcade/function-reference/geometry_functions/).
|
|
386
|
+
*
|
|
387
|
+
* Alternatively, the [view](#view) property can be used to provide the spatial reference instance for this property.
|
|
388
|
+
*
|
|
389
|
+
* @autocast
|
|
390
|
+
* @see [Type system](https://developers.arcgis.com/arcade/guide/types/#featuresetcollection)
|
|
391
|
+
* @see [Arcade Profiles: Popup](https://developers.arcgis.com/arcade/profiles/popup/)
|
|
392
|
+
* @default null
|
|
393
|
+
*/
|
|
81
394
|
spatialReference: nullish | __esri.SpatialReference;
|
|
395
|
+
/**
|
|
396
|
+
* The current state of the component.
|
|
397
|
+
*
|
|
398
|
+
* @default "disabled"
|
|
399
|
+
*/
|
|
82
400
|
readonly state: "ready" | "disabled";
|
|
401
|
+
/**
|
|
402
|
+
* Dates and times displayed in the component will be displayed in this time zone. By default this time zone is
|
|
403
|
+
* inherited from [arcgis-map.timeZone](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-map/#timeZone) if the [view](#view) property is set. When a MapView is not associated with the component
|
|
404
|
+
* then the property will fallback to the `system` time zone.
|
|
405
|
+
*
|
|
406
|
+
* **Possible Values**
|
|
407
|
+
* - `system`: Dates and times will be displayed in the timezone of the device or browser.
|
|
408
|
+
* - `unknown`: Dates and time are not adjusted for any timezone.
|
|
409
|
+
* - `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).
|
|
410
|
+
*/
|
|
83
411
|
timeZone: string;
|
|
84
|
-
|
|
412
|
+
/**
|
|
413
|
+
* 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).
|
|
414
|
+
* The Features component requires a `view` to be set if:
|
|
415
|
+
* - The [features](#features) have a popupTemplate containing Arcade expressions in [ExpressionInfo](https://developers.arcgis.com/javascript/latest/api-reference/esri-popup-ExpressionInfo.html) or [ExpressionContent](https://developers.arcgis.com/javascript/latest/api-reference/esri-popup-content-ExpressionContent.html) that may use [geometry functions](https://developers.arcgis.com/arcade/function-reference/geometry_functions/) or reference the `$map` profile variable (i.e. access data from layers within a map). Alternatively, set the [`map`](#map) property.
|
|
416
|
+
* - Content is displayed from the popup template of an [aggregate feature](https://developers.arcgis.com/javascript/latest/api-reference/esri-Graphic.html#isAggregate) (i.e. a [cluster](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-FeatureReductionCluster.html) or [bin](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-FeatureReductionBinning.html)).
|
|
417
|
+
* - Values from `date` and `timestamp-offset` fields should respect the view's [time zone](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-View.html#timeZone).
|
|
418
|
+
* Alternatively, set the [`timeZone`](#timeZone) property.
|
|
419
|
+
* - Using the [fetchFeatures](#fetchFeatures) method or the `fetchFeatures` option in the [`open`](#open) method.
|
|
420
|
+
* - Using the `Zoom to` default action. If the `view` is not specified, set the [includeDefaultActions](#includeDefaultActions) property to `false` to remove this default action.
|
|
421
|
+
*
|
|
422
|
+
* @since 4.34
|
|
423
|
+
*/
|
|
85
424
|
view?: __esri.MapView | __esri.SceneView | nullish;
|
|
425
|
+
/**
|
|
426
|
+
* 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.
|
|
427
|
+
* Use the property to check if the popup is visible and is not
|
|
428
|
+
*
|
|
429
|
+
* @name visible
|
|
430
|
+
* @instance
|
|
431
|
+
* @type {boolean}
|
|
432
|
+
* @since 4.34
|
|
433
|
+
* @default false
|
|
434
|
+
*/
|
|
86
435
|
visible: boolean;
|
|
436
|
+
/**
|
|
437
|
+
* Indicates whether a component is closed. When `true`, the component will be hidden.
|
|
438
|
+
*
|
|
439
|
+
* @deprecated since 4.34, use [`visible`](#visible) instead.
|
|
440
|
+
* @default false
|
|
441
|
+
*/
|
|
442
|
+
get closed(): boolean;
|
|
443
|
+
set closed(value: boolean);
|
|
444
|
+
/**
|
|
445
|
+
* Removes [promises](#promises), [features](#features), [content](#content), and
|
|
446
|
+
* [heading](#heading) from the Features component.
|
|
447
|
+
*/
|
|
87
448
|
clear(): Promise<void>;
|
|
449
|
+
/** A convenience method to close the component. */
|
|
88
450
|
close(): Promise<void>;
|
|
451
|
+
/** Permanently destroy the component. */
|
|
89
452
|
destroy(): Promise<void>;
|
|
453
|
+
/**
|
|
454
|
+
* Use this method to return feature(s) at a given screen location.
|
|
455
|
+
* These features are fetched from all of the [layer](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-layers-LayerView.html)
|
|
456
|
+
* in the [view](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-View.html). In order to use this, a layer must already have an
|
|
457
|
+
* associated [PopupTemplate](https://developers.arcgis.com/javascript/latest/api-reference/esri-PopupTemplate.html). This method allows a developer to
|
|
458
|
+
* control how the input location is handled.
|
|
459
|
+
*
|
|
460
|
+
* @example
|
|
461
|
+
* ```js
|
|
462
|
+
* // Use reactiveUtils to watch the map's click event.
|
|
463
|
+
* reactiveUtils.on(() => map, "arcgisViewClick",
|
|
464
|
+
* (event) => {
|
|
465
|
+
* // Call fetchFeatures and pass in the click event screenPoint
|
|
466
|
+
* featuresComponent.fetchFeatures(event.screenPoint).then((response) => {
|
|
467
|
+
* // Access the response from fetchFeatures
|
|
468
|
+
* response.allGraphicsPromise.then((graphics) => {
|
|
469
|
+
* // If there are no graphics in the click event, then make sure
|
|
470
|
+
* // the Features component is not showing.
|
|
471
|
+
* if(graphics.length === 0){
|
|
472
|
+
* featuresComponent.visible = false;
|
|
473
|
+
* }
|
|
474
|
+
* // If graphics do exist, set the Features component features property to the returned
|
|
475
|
+
* // graphics from fetchFeatures.
|
|
476
|
+
* else{
|
|
477
|
+
* featuresComponent.features = graphics;
|
|
478
|
+
* }
|
|
479
|
+
* });
|
|
480
|
+
* });
|
|
481
|
+
* ```
|
|
482
|
+
*/
|
|
90
483
|
fetchFeatures(screenPoint: __esri.ScreenPoint, options?: __esri.FetchFeaturesOptions): Promise<__esri.FetchPopupFeaturesResult>;
|
|
484
|
+
/**
|
|
485
|
+
* Opens the Features component with content defined either explicitly with `content`
|
|
486
|
+
* or driven from the [PopupTemplate](https://developers.arcgis.com/javascript/latest/api-reference/esri-PopupTemplate.html) of input features.
|
|
487
|
+
*
|
|
488
|
+
* @example
|
|
489
|
+
* ```js
|
|
490
|
+
* // Use reactiveUtils to watch the map component's click event.
|
|
491
|
+
* reactiveUtils.on(() => viewElement, "arcgisViewClick", (event) => {
|
|
492
|
+
* const { mapPoint } = event.detail;
|
|
493
|
+
* featuresComponent.open({
|
|
494
|
+
* // Title and content displayed in the component
|
|
495
|
+
* title: `Click location: (${mapPoint.x},${mapPoint.y})`,
|
|
496
|
+
* content: "This is the default content displayed on click."
|
|
497
|
+
* });
|
|
498
|
+
* });
|
|
499
|
+
* ```
|
|
500
|
+
* @example
|
|
501
|
+
* ```js
|
|
502
|
+
* // The Features component must have a reference element set on the component along with the
|
|
503
|
+
* // location property to fetch features.
|
|
504
|
+
* // Use reactiveUtils to watch the map component's click event.
|
|
505
|
+
* reactiveUtils.on(() => viewElement, "arcgisViewClick", (event) => {
|
|
506
|
+
* const { mapPoint } = event.detail;
|
|
507
|
+
* featuresComponent.open({
|
|
508
|
+
* location: mapPoint,
|
|
509
|
+
* // Display the content for the selected feature(s) if a popupTemplate is defined.
|
|
510
|
+
* fetchFeatures: true
|
|
511
|
+
* });
|
|
512
|
+
* });
|
|
513
|
+
* ```
|
|
514
|
+
* @example
|
|
515
|
+
* ```js
|
|
516
|
+
* // Open the Features component with a specified array of graphics that already
|
|
517
|
+
* // have a PopupTemplate set and display the feature menu when it opens.
|
|
518
|
+
* featuresComponent.open({
|
|
519
|
+
* // array of graphics
|
|
520
|
+
* features: graphics,
|
|
521
|
+
* // selected features initially display in a list
|
|
522
|
+
* featureMenuOpen: true
|
|
523
|
+
* });
|
|
524
|
+
* ```
|
|
525
|
+
*/
|
|
91
526
|
open(options?: __esri.FeaturesViewModelOpenOptions): Promise<void>;
|
|
527
|
+
/**
|
|
528
|
+
* Selects the feature at the next index in relation to the [selected feature](#selectedFeature).
|
|
529
|
+
*
|
|
530
|
+
* @see [selectedFeatureIndex](#selectedFeatureIndex)
|
|
531
|
+
*/
|
|
92
532
|
next(): Promise<FeaturesViewModel>;
|
|
533
|
+
/**
|
|
534
|
+
* Selects the feature at the previous index in relation to the [selected feature](#selectedFeature).
|
|
535
|
+
*
|
|
536
|
+
* @see [selectedFeatureIndex](#selectedFeatureIndex)
|
|
537
|
+
*/
|
|
93
538
|
previous(): Promise<FeaturesViewModel>;
|
|
539
|
+
/** Use this method to give focus to the Component if the component is able to be focused. */
|
|
94
540
|
setFocus(): Promise<void>;
|
|
541
|
+
/**
|
|
542
|
+
* Triggers the [`arcgisTriggerAction`](#arcgisTriggerAction) event and executes the action
|
|
543
|
+
* at the specified index in the [actions](#actions) array.
|
|
544
|
+
*/
|
|
95
545
|
triggerAction(action: __esri.ActionButton | __esri.ActionToggle): Promise<void>;
|
|
546
|
+
/** Emitted when the value of a property is changed. Use this to listen to changes to properties. */
|
|
96
547
|
readonly arcgisPropertyChange: TargetedEvent<this, {
|
|
97
|
-
name: "state" | "active" | "collapsed" | "featureCount" | "
|
|
548
|
+
name: "state" | "active" | "collapsed" | "featureCount" | "visible" | "selectedFeature" | "featureMenuOpen" | "features" | "promises" | "selectedFeatureIndex" | "selectedDrillInFeature" | "selectedFeatureComponent";
|
|
98
549
|
}>;
|
|
550
|
+
/** Emitted when the component associated with a map or scene view is ready to be interacted with. */
|
|
99
551
|
readonly arcgisReady: TargetedEvent<this, void>;
|
|
552
|
+
/** Emitted when the component's close button is clicked. */
|
|
100
553
|
readonly arcgisClose: TargetedEvent<this, void>;
|
|
554
|
+
/**
|
|
555
|
+
* Fires after the user clicks on an action in the Features component.
|
|
556
|
+
* This event may be used to define a custom function to execute when particular actions are clicked.
|
|
557
|
+
*
|
|
558
|
+
* @see [actions](#actions)
|
|
559
|
+
* @see [PopupTemplate.actions](https://developers.arcgis.com/javascript/latest/api-reference/esri-PopupTemplate.html#actions)
|
|
560
|
+
* @see [Features.open()](#open)
|
|
561
|
+
* @example
|
|
562
|
+
* ```js
|
|
563
|
+
* viewElement.addEventListener("arcgisViewClick", (event) => {
|
|
564
|
+
* const { mapPoint } = event.detail;
|
|
565
|
+
* featuresComponent.open({
|
|
566
|
+
* location: mapPoint,
|
|
567
|
+
* fetchFeatures: true,
|
|
568
|
+
* actions: [{
|
|
569
|
+
* // This text is displayed as a tooltip
|
|
570
|
+
* title: "Zoom out",
|
|
571
|
+
* // The ID used to reference this action in the event handler
|
|
572
|
+
* id: "zoom-out",
|
|
573
|
+
* // Sets the icon font used to style the action button
|
|
574
|
+
* icon: "magnifying-glass-minus"
|
|
575
|
+
* },
|
|
576
|
+
* {
|
|
577
|
+
* title: "Delete Feature",
|
|
578
|
+
* id: "delete-feature-action",
|
|
579
|
+
* icon: "trash"
|
|
580
|
+
* }]
|
|
581
|
+
* });
|
|
582
|
+
* });
|
|
583
|
+
*
|
|
584
|
+
* // Fires each time an action is clicked
|
|
585
|
+
* reactiveUtils.on(()=> featuresComponent, "arcgisTriggerAction", (event)=>{
|
|
586
|
+
* // If the zoom-out action is clicked, execute the following code
|
|
587
|
+
* if(event.detail.action.id === "zoom-out"){
|
|
588
|
+
* // Zoom out two levels (LODs)
|
|
589
|
+
* viewElement.goTo({
|
|
590
|
+
* center: viewElement.center,
|
|
591
|
+
* zoom: viewElement.zoom - 2
|
|
592
|
+
* });
|
|
593
|
+
* }
|
|
594
|
+
* });
|
|
595
|
+
* ```
|
|
596
|
+
*/
|
|
101
597
|
readonly arcgisTriggerAction: TargetedEvent<this, __esri.FeaturesViewModelTriggerActionEvent>;
|
|
102
598
|
private messages;
|
|
103
599
|
}
|
|
@@ -17,7 +17,7 @@ import { renderingSanitizer as T } from "@arcgis/core/applications/Components/sa
|
|
|
17
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.
|
|
20
|
+
v4.34.0-next.134 */
|
|
21
21
|
const d = "arcgis-features", o = {
|
|
22
22
|
// Features
|
|
23
23
|
base: d,
|
|
@@ -64,10 +64,10 @@ class J extends S {
|
|
|
64
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.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.
|
|
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.hideFeatureMenuHeading = !1, this.hideFeatureNavigation = !1, this.hideFeatureListLayerTitle = !1, this.hideFlow = !1, this.hideHeading = !1, this.hideSpinner = !1, this.highlightDisabled = this.viewModel.highlightEnabled, 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.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.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, 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,
|
|
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, featuresTitle: 1, headingLevel: 9, hideActionBar: 5, hideCloseButton: 5, hideFeatureMenuHeading: 5, hideFeatureNavigation: 5, hideFeatureListLayerTitle: 5, hideFlow: 5, hideHeading: 5, hideSpinner: 5, highlightDisabled: 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, showCollapseButton: 5, spatialReference: 0, state: 3, timeZone: 1, updateLocationEnabled: 5, view: 0, visible: 5, closed: 5 };
|
|
71
71
|
}
|
|
72
72
|
static {
|
|
73
73
|
this.styles = U;
|
|
@@ -87,6 +87,12 @@ class J extends S {
|
|
|
87
87
|
get _collapseEnabled() {
|
|
88
88
|
return this.showCollapseButton && (this.initialDisplayMode === "list" || !!(this.heading || this.viewModel.selectedFeatureViewModel?.title) && !!(this.content || this.viewModel.selectedFeatureViewModel?.content));
|
|
89
89
|
}
|
|
90
|
+
get featuresTitle() {
|
|
91
|
+
return this.heading;
|
|
92
|
+
}
|
|
93
|
+
set featuresTitle(e) {
|
|
94
|
+
this.heading = e;
|
|
95
|
+
}
|
|
90
96
|
get selectedDrillInFeature() {
|
|
91
97
|
const e = Array.from(this.flowItems).at(-1);
|
|
92
98
|
return e && "graphic" in e ? e.graphic ?? null : null;
|
|
@@ -94,6 +100,12 @@ class J extends S {
|
|
|
94
100
|
get selectedFeatureComponent() {
|
|
95
101
|
return this._selectedFeatureComponent.value ?? null;
|
|
96
102
|
}
|
|
103
|
+
get closed() {
|
|
104
|
+
return !this.visible;
|
|
105
|
+
}
|
|
106
|
+
set closed(e) {
|
|
107
|
+
this.visible = !e;
|
|
108
|
+
}
|
|
97
109
|
async clear() {
|
|
98
110
|
return this.viewModel.clear();
|
|
99
111
|
}
|