@arcgis/map-components 5.2.0-next.94 → 5.2.0-next.95
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/{VNX2AHM5.js → 25ELW5DP.js} +1 -1
- package/dist/cdn/{43XQKUF6.js → 26OEUDIF.js} +1 -1
- package/dist/cdn/{UTOVD7WO.js → 26WVOAIW.js} +1 -1
- package/dist/cdn/{HRC67J4X.js → 2D6JTL4E.js} +1 -1
- package/dist/cdn/2F6NRCC5.js +2 -0
- package/dist/cdn/{GRVXZRHO.js → 2GDWXNYN.js} +1 -1
- package/dist/cdn/{SJJ7QEQX.js → 2HYRTMJ6.js} +1 -1
- package/dist/cdn/376WTHOL.js +2 -0
- package/dist/cdn/3TTIKHXP.js +2 -0
- package/dist/cdn/{36TZJXHA.js → 44ELZBSR.js} +1 -1
- package/dist/cdn/{3VE3XLKT.js → 4LJO7QFG.js} +1 -1
- package/dist/cdn/{LVUQ55Y3.js → 4P2WLM6E.js} +1 -1
- package/dist/cdn/4QGIFHEA.js +2 -0
- package/dist/cdn/{V2UDGBN4.js → 4SOK3D4T.js} +1 -1
- package/dist/cdn/{7HRK777D.js → 4U3UYYQ5.js} +1 -1
- package/dist/cdn/{IBHSU6LP.js → 4WKKBT3F.js} +1 -1
- package/dist/cdn/4YFREAQ2.js +2 -0
- package/dist/cdn/{IGFJHWQN.js → 54HCOOFG.js} +1 -1
- package/dist/cdn/{MJ2CLOUC.js → 54M2I4JP.js} +1 -1
- package/dist/cdn/{4FZ5GGDI.js → 55HFRR2W.js} +1 -1
- package/dist/cdn/{ENCUTG4J.js → 564IIZBI.js} +1 -1
- package/dist/cdn/{XZVWADEG.js → 57GMYMVT.js} +1 -1
- package/dist/cdn/{QWZOLPCK.js → 5CKRSEWZ.js} +1 -1
- package/dist/cdn/{PFX6VX2N.js → 5H4I5K6T.js} +1 -1
- package/dist/cdn/{TDGUCMON.js → 5LGT6I7Y.js} +1 -1
- package/dist/cdn/{NQ5OGG4I.js → 5MMZAQYH.js} +1 -1
- package/dist/cdn/{UTAQGRV3.js → 5SVULVBJ.js} +1 -1
- package/dist/cdn/{QX7CIDD3.js → 5TX463UL.js} +1 -1
- package/dist/cdn/{WVGSH2QD.js → 5UVZPECS.js} +1 -1
- package/dist/cdn/{3SCF2TGT.js → 5YUG57HI.js} +1 -1
- package/dist/cdn/{EEVHASMU.js → 6A365EUI.js} +1 -1
- package/dist/cdn/{5DI7RMZ6.js → 6ERK6Z6K.js} +1 -1
- package/dist/cdn/{LIK2D5WG.js → 6F3A7GUW.js} +1 -1
- package/dist/cdn/{B2HPLGXB.js → 6G2T2G3Q.js} +1 -1
- package/dist/cdn/{K66ZH3DH.js → 6LUL555P.js} +1 -1
- package/dist/cdn/{K4HD2F6W.js → 6NRNLMJK.js} +1 -1
- package/dist/cdn/{LBYKVAQ2.js → 6S3ODLME.js} +1 -1
- package/dist/cdn/{4H6N4JTU.js → 6T5SVWDF.js} +1 -1
- package/dist/cdn/{4TUA2QEW.js → 6YNNDY3K.js} +1 -1
- package/dist/cdn/{UVD3M6B5.js → 777PJUNL.js} +1 -1
- package/dist/cdn/{J6TT6SMU.js → 7EKSEHUY.js} +1 -1
- package/dist/cdn/{LINQYJP4.js → 7HZIEA5X.js} +1 -1
- package/dist/cdn/{VAOBL5U2.js → 7LR4MDUB.js} +1 -1
- package/dist/cdn/{HTDQ3T52.js → 7TKEMQVG.js} +1 -1
- package/dist/cdn/{VNT4QL2K.js → 7TTSWTGP.js} +1 -1
- package/dist/cdn/{5A6MVUCS.js → 7ZZWKH2U.js} +1 -1
- package/dist/cdn/{HAUHWMHN.js → A3DPBGUE.js} +1 -1
- package/dist/cdn/{EVKOQOVV.js → A6Z7H75I.js} +1 -1
- package/dist/cdn/{TY7RUZSW.js → ADSOI3MN.js} +1 -1
- package/dist/cdn/{RCGLBAHP.js → AEGRRGUN.js} +1 -1
- package/dist/cdn/{W2HQAUUA.js → AKNAVXKD.js} +1 -1
- package/dist/cdn/{6I6P36ZC.js → AUTF57U5.js} +1 -1
- package/dist/cdn/{YXKHHGAI.js → AXEVIUBZ.js} +1 -1
- package/dist/cdn/{JZHBJAXX.js → AY2PVEY5.js} +1 -1
- package/dist/cdn/{PLQVU2Q5.js → B4DLIKAN.js} +1 -1
- package/dist/cdn/{D3G3JFB6.js → B4JHLZUL.js} +1 -1
- package/dist/cdn/{B35PDXSH.js → BAI3SYHE.js} +1 -1
- package/dist/cdn/{IWVSKFSS.js → BJL2DTRG.js} +1 -1
- package/dist/cdn/{3VFBYBX4.js → BNZQH6YD.js} +1 -1
- package/dist/cdn/{I22IJPSN.js → BQJHJ74K.js} +1 -1
- package/dist/cdn/{2Z6FVTKT.js → BR6D5EO4.js} +1 -1
- package/dist/cdn/{TTDOV3LD.js → BRWY53GW.js} +1 -1
- package/dist/cdn/BV3Q2Y7F.js +2 -0
- package/dist/cdn/{TVV525SY.js → BVVR27JR.js} +1 -1
- package/dist/cdn/{ZJEYDRKM.js → C23PR4ZX.js} +1 -1
- package/dist/cdn/{7BOYQGKF.js → C2PS2HSE.js} +1 -1
- package/dist/cdn/{IFWRNEPD.js → CA5LXWO6.js} +1 -1
- package/dist/cdn/{MAPYP35W.js → CB564G7T.js} +1 -1
- package/dist/cdn/{UEBDFBOK.js → CDMVB72W.js} +1 -1
- package/dist/cdn/CDWU62VR.js +2 -0
- package/dist/cdn/{AF65YZXZ.js → CEMBX25Q.js} +1 -1
- package/dist/cdn/{3TAYDIE5.js → CEQXB7WX.js} +1 -1
- package/dist/cdn/CEW4IP7H.js +2 -0
- package/dist/cdn/{RJZ424ZP.js → CIPZN7LE.js} +1 -1
- package/dist/cdn/{V2ZCE7D4.js → CJ536VHT.js} +1 -1
- package/dist/cdn/{NMQLILVV.js → CX3OZJEH.js} +1 -1
- package/dist/cdn/{XRTSGX32.js → D5TJRWW3.js} +1 -1
- package/dist/cdn/{L2LZHMH7.js → D6BWGR3Z.js} +1 -1
- package/dist/cdn/{5IXZDVTF.js → DATBQXOK.js} +1 -1
- package/dist/cdn/{QB7T5YZ4.js → DBLLBQTY.js} +1 -1
- package/dist/cdn/{5IEGTCFV.js → DCCWOMAC.js} +1 -1
- package/dist/cdn/{APQ2XNV7.js → DFKHGL3E.js} +1 -1
- package/dist/cdn/{HW3TRZY4.js → DSROAKFP.js} +1 -1
- package/dist/cdn/{56KR4KYO.js → E3ILZB5S.js} +1 -1
- package/dist/cdn/{YTRY74ZP.js → E5TRFG7X.js} +1 -1
- package/dist/cdn/{ARJHGUGG.js → EFOY5CY5.js} +1 -1
- package/dist/cdn/{MIHS4UUO.js → EHMCN2NS.js} +1 -1
- package/dist/cdn/{DNOSWCRM.js → ETXQKL6T.js} +1 -1
- package/dist/cdn/{QVFP6VNW.js → EVXKGM66.js} +1 -1
- package/dist/cdn/{NUPOLDDX.js → EYHS3JDR.js} +1 -1
- package/dist/cdn/{7PCTYMRK.js → F2ZADKF4.js} +1 -1
- package/dist/cdn/{NXBXO7PE.js → F3JDX4A7.js} +1 -1
- package/dist/cdn/{UREENOOH.js → F5G3VJU7.js} +1 -1
- package/dist/cdn/{LOTMKNUM.js → FECA7CTQ.js} +1 -1
- package/dist/cdn/{VIHVSV4P.js → FFAM2LIE.js} +1 -1
- package/dist/cdn/FIIA3N5X.js +2 -0
- package/dist/cdn/{4LKGHKBM.js → FJT32TIN.js} +1 -1
- package/dist/cdn/{IXS5O6G4.js → FRAZUJ7K.js} +1 -1
- package/dist/cdn/{XM2OSRTS.js → FRSROWP4.js} +1 -1
- package/dist/cdn/{2GM4O42V.js → FY6IGGPV.js} +1 -1
- package/dist/cdn/{Z3GGFI6Z.js → FZDURX2Y.js} +1 -1
- package/dist/cdn/{F3G626XT.js → G2BLA5NQ.js} +1 -1
- package/dist/cdn/{2AKHVAG7.js → G7HOUS4O.js} +1 -1
- package/dist/cdn/{MIRKEWHI.js → GG7KEBIO.js} +1 -1
- package/dist/cdn/{DKP73IZU.js → GH2RPE3P.js} +1 -1
- package/dist/cdn/{ZZHPGKBQ.js → GIQDIWW4.js} +1 -1
- package/dist/cdn/{PSX4TLHP.js → GMSIYMNC.js} +1 -1
- package/dist/cdn/{VRC5MLVY.js → GVALHSMR.js} +1 -1
- package/dist/cdn/HF3GCBAI.js +2 -0
- package/dist/cdn/{S7OFSONY.js → HIG6CVQX.js} +1 -1
- package/dist/cdn/{DEH55KP3.js → HISWL3K3.js} +1 -1
- package/dist/cdn/{EV2EASMH.js → HOKDRJ4R.js} +1 -1
- package/dist/cdn/{FQBZ4RIZ.js → HPISDMLX.js} +1 -1
- package/dist/cdn/{QVM6UFNB.js → HVHQMAZ4.js} +1 -1
- package/dist/cdn/{NCYBFT2Y.js → HYRFW7KG.js} +1 -1
- package/dist/cdn/I3VQ46FA.js +2 -0
- package/dist/cdn/{BQUWJGGL.js → I4KA3CNC.js} +1 -1
- package/dist/cdn/{WXX3WGFE.js → IBNFHSSF.js} +1 -1
- package/dist/cdn/{AZYY5BTK.js → IE7XJM27.js} +1 -1
- package/dist/cdn/{3TRAIJXM.js → J3KQKQSU.js} +1 -1
- package/dist/cdn/{L2FVENA7.js → JBJNQGGE.js} +1 -1
- package/dist/cdn/{K4TLP5XG.js → JFVNGZNJ.js} +1 -1
- package/dist/cdn/{4GE4A5ZF.js → JHWTX3YJ.js} +1 -1
- package/dist/cdn/{WTTWWX57.js → JKB6V2RD.js} +1 -1
- package/dist/cdn/{NHU5Q4AZ.js → JKOIMKKL.js} +1 -1
- package/dist/cdn/{76XDS6TG.js → JOPAUFUX.js} +1 -1
- package/dist/cdn/{A5ZHWVI3.js → JOUNNARF.js} +1 -1
- package/dist/cdn/JVC76RB3.js +2 -0
- package/dist/cdn/K2FKS4AS.js +2 -0
- package/dist/cdn/{5POTZZ3V.js → KFL7RYUP.js} +1 -1
- package/dist/cdn/{4MUCONAD.js → KGFMFLEB.js} +1 -1
- package/dist/cdn/{UKJYTLTV.js → KGJLTL75.js} +1 -1
- package/dist/cdn/{3N2HSTRS.js → KJTWHP5I.js} +1 -1
- package/dist/cdn/{LGAYYLQL.js → KMV445BK.js} +1 -1
- package/dist/cdn/{RT4SQ4PV.js → KR4EB5AC.js} +1 -1
- package/dist/cdn/{IITMDFOP.js → KZPPV365.js} +1 -1
- package/dist/cdn/{SVXVFWF5.js → L3YJAQBN.js} +1 -1
- package/dist/cdn/{I5EJ7LOJ.js → LKCX5SXM.js} +1 -1
- package/dist/cdn/{KPOJXBNC.js → LMNH2RHA.js} +1 -1
- package/dist/cdn/{6BRAQ2VJ.js → LPB2JMJ5.js} +1 -1
- package/dist/cdn/{CQ7HNSA2.js → M4BXOW2Q.js} +1 -1
- package/dist/cdn/{Q7SMGP5R.js → M6LV7VM5.js} +1 -1
- package/dist/cdn/{RIBE2H6U.js → M7KQOIH2.js} +1 -1
- package/dist/cdn/{73N362E5.js → MH324PA6.js} +1 -1
- package/dist/cdn/{BKC42MLS.js → MIIHAXAZ.js} +1 -1
- package/dist/cdn/{O3G7XPDI.js → MLXWIPK2.js} +1 -1
- package/dist/cdn/{NN4RJSCH.js → MPHO6N5K.js} +1 -1
- package/dist/cdn/{KENF5DVZ.js → MSQKXANF.js} +1 -1
- package/dist/cdn/{2U6EB7BN.js → MXYWUI34.js} +1 -1
- package/dist/cdn/{NOVBQIN5.js → NAEALB6J.js} +1 -1
- package/dist/cdn/{WUPMOIP3.js → NIGSZZQA.js} +1 -1
- package/dist/cdn/{JVP63EMR.js → NPIJLONQ.js} +1 -1
- package/dist/cdn/O6CGTOAO.js +2 -0
- package/dist/cdn/{I5SI3FWI.js → OCHBUJAT.js} +1 -1
- package/dist/cdn/{CH6EWFKV.js → OD3BO6AL.js} +1 -1
- package/dist/cdn/{PODV4OTG.js → ONZ7UTQO.js} +1 -1
- package/dist/cdn/{NIFDFP4Q.js → OVXR64PW.js} +1 -1
- package/dist/cdn/{IE5OHRX5.js → P63WHRTI.js} +1 -1
- package/dist/cdn/{MDICIYVG.js → P7DYWBMK.js} +1 -1
- package/dist/cdn/{TYEPGXJH.js → PAZBKL7R.js} +1 -1
- package/dist/cdn/{U2ZQWROE.js → PCRSL2XJ.js} +1 -1
- package/dist/cdn/{UYFMNOGK.js → PFP7KVAD.js} +1 -1
- package/dist/cdn/{JCSG35A7.js → PI55I5L7.js} +1 -1
- package/dist/cdn/{EQGGVVNX.js → PTKUNH6D.js} +1 -1
- package/dist/cdn/{5GN3PNTI.js → PWY44JI6.js} +1 -1
- package/dist/cdn/{O45XRDXJ.js → PXSNOIDS.js} +1 -1
- package/dist/cdn/{B5WHS7ER.js → Q446NT7X.js} +1 -1
- package/dist/cdn/{5HNZ27R4.js → QD3GVN2C.js} +1 -1
- package/dist/cdn/{UP7UPFAE.js → QGJBQDLI.js} +1 -1
- package/dist/cdn/{RTFIAQWR.js → QMJTMBWB.js} +1 -1
- package/dist/cdn/{MU6AVJOK.js → QTGJ2TIJ.js} +1 -1
- package/dist/cdn/{CGDMP7IH.js → QVAISNQE.js} +1 -1
- package/dist/cdn/{KJSNL3R6.js → QY2MHZO6.js} +1 -1
- package/dist/cdn/{M3TJQPJ3.js → R54BWOJL.js} +1 -1
- package/dist/cdn/{H32EDCZG.js → RBQLAUGL.js} +1 -1
- package/dist/cdn/{FAQNHEA4.js → RC2T53I5.js} +1 -1
- package/dist/cdn/{FAS3CA6C.js → REOCH4MZ.js} +1 -1
- package/dist/cdn/{2QADMC6K.js → REUYYFCX.js} +1 -1
- package/dist/cdn/{32DXZW7Z.js → RIVFCEGS.js} +1 -1
- package/dist/cdn/{WTBRS6C4.js → RM4OPQBM.js} +3 -3
- package/dist/cdn/{X5M3AEQM.js → S3QMZKDY.js} +1 -1
- package/dist/cdn/{VLKHH2Y6.js → S5XIZ2L4.js} +1 -1
- package/dist/cdn/{B2FQHBTX.js → SB3WKE5H.js} +1 -1
- package/dist/cdn/{3WUSU6XP.js → SHMHGYVB.js} +1 -1
- package/dist/cdn/{QE6XRKDY.js → SLS6H5OI.js} +1 -1
- package/dist/cdn/SO3OASNI.js +2 -0
- package/dist/cdn/{EGJRBN3G.js → SOUZEOKR.js} +1 -1
- package/dist/cdn/{STWRT3F7.js → SQQKMKRG.js} +1 -1
- package/dist/cdn/{DDGXUCQU.js → SSJBKHEN.js} +1 -1
- package/dist/cdn/{VK2AQNZW.js → SSNWCNXP.js} +1 -1
- package/dist/cdn/{CYWMBY4Y.js → SSWT6Y3N.js} +1 -1
- package/dist/cdn/{JFHEHJOQ.js → T6NUABZU.js} +1 -1
- package/dist/cdn/{MR3VAM44.js → T7WPIWCX.js} +1 -1
- package/dist/cdn/{3BBEFRTR.js → TDUAPWT6.js} +1 -1
- package/dist/cdn/{LL7FJHEJ.js → TVMNE62W.js} +1 -1
- package/dist/cdn/{5W4MBIKY.js → TZ23FBZ7.js} +1 -1
- package/dist/cdn/{VNZUXNWJ.js → U4L3Z5QH.js} +1 -1
- package/dist/cdn/{W3M6NBVO.js → UAGCCYQB.js} +1 -1
- package/dist/cdn/{DSLMWFTR.js → UC26JN7I.js} +1 -1
- package/dist/cdn/{3RMUQ4SS.js → UDUPHECB.js} +1 -1
- package/dist/cdn/{XWHCPDF5.js → UKFAXZIW.js} +1 -1
- package/dist/cdn/{RFJWLEKY.js → UMYF32YV.js} +1 -1
- package/dist/cdn/{QV5ZPD7H.js → UUPYWQ7D.js} +1 -1
- package/dist/cdn/{2VLRQ46L.js → UXSGOUNZ.js} +1 -1
- package/dist/cdn/{ZFQLBEGC.js → V42KBFW7.js} +1 -1
- package/dist/cdn/{AL52T6VH.js → VC4YUXRW.js} +1 -1
- package/dist/cdn/{KNUETGYG.js → VHHRBGXN.js} +1 -1
- package/dist/cdn/{TBJOTUJP.js → VHMDAMVX.js} +1 -1
- package/dist/cdn/{KIDAEQ5W.js → VWV6XWSU.js} +1 -1
- package/dist/cdn/{2M33G6FR.js → W3NK36SU.js} +1 -1
- package/dist/cdn/W5LZWE6R.js +2 -0
- package/dist/cdn/{5OQPTYP5.js → WCQUCDIY.js} +1 -1
- package/dist/cdn/{ANSNQBZW.js → WFPR2VUW.js} +1 -1
- package/dist/cdn/{SSHNAKNA.js → WIW3AOTK.js} +1 -1
- package/dist/cdn/{24XXJOOX.js → WNJOIQDJ.js} +1 -1
- package/dist/cdn/{L72D4UTS.js → WNLMIARH.js} +1 -1
- package/dist/cdn/{OF6BYN4Z.js → XAZNEI2W.js} +1 -1
- package/dist/cdn/{5QVEXW3X.js → XFA3SAYB.js} +1 -1
- package/dist/cdn/{Q2GU7GDS.js → XKRMD24I.js} +1 -1
- package/dist/cdn/{3MZKVY6A.js → XQH6U57U.js} +1 -1
- package/dist/cdn/{3J7PCUNV.js → XS3Z2WXL.js} +1 -1
- package/dist/cdn/{H4FPSA53.js → XWWXBWU2.js} +1 -1
- package/dist/cdn/{KPX2JCBN.js → XZ2BN6X5.js} +1 -1
- package/dist/cdn/{B23TN7FG.js → XZGU6TR6.js} +1 -1
- package/dist/cdn/{AOVBGBGS.js → YB3YZ6U5.js} +1 -1
- package/dist/cdn/{ISX6CEA3.js → YDP5A3EP.js} +1 -1
- package/dist/cdn/{YNC35BAZ.js → YELCBIGX.js} +1 -1
- package/dist/cdn/{H2MG6U2T.js → YHNCQVNV.js} +1 -1
- package/dist/cdn/{UNOCR34T.js → YIAGW5MM.js} +1 -1
- package/dist/cdn/{XXA7VSON.js → YOIVWFJK.js} +1 -1
- package/dist/cdn/{KNMX3FG5.js → YQMGSWPQ.js} +1 -1
- package/dist/cdn/{L6B6VGZX.js → Z3UPOVNZ.js} +1 -1
- package/dist/cdn/{ZKW6OUEO.js → ZGGQQPWY.js} +1 -1
- package/dist/cdn/{SNO5W2NO.js → ZJP2RY4T.js} +1 -1
- package/dist/cdn/{X4RJMWSU.js → ZOZSYLAP.js} +1 -1
- package/dist/cdn/{3FEDJ3XZ.js → ZSDNX326.js} +1 -1
- package/dist/cdn/{GC65JYR2.js → ZTLILWC7.js} +1 -1
- package/dist/cdn/assets/time-bar/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/time-zone-chip/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/time-zone-selector/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/utility-network-elements-result-item/t9n/messages.en.json +1 -0
- package/dist/cdn/index.js +1 -1
- package/dist/cdn/main.css +1 -1
- package/dist/chunks/component-utils.js +75 -63
- package/dist/chunks/dateUtils.js +41 -58
- package/dist/components/arcgis-daylight/customElement.d.ts +6 -0
- package/dist/components/arcgis-daylight/customElement.js +429 -304
- package/dist/components/arcgis-daylight/index.js +1 -0
- package/dist/components/arcgis-directions/customElement.js +1 -1
- package/dist/components/arcgis-feature-table/customElement.js +1 -1
- package/dist/components/arcgis-link-chart/customElement.js +23 -20
- package/dist/components/arcgis-map/customElement.js +15 -12
- package/dist/components/arcgis-scene/customElement.js +15 -12
- package/dist/components/arcgis-time-bar/TimeBarViewModel.d.ts +1 -1
- package/dist/components/arcgis-time-bar/customElement.d.ts +3 -15
- package/dist/components/arcgis-time-bar-settings/customElement.js +63 -88
- package/dist/components/arcgis-time-bar-settings/index.js +1 -0
- package/dist/components/arcgis-time-zone-chip/customElement.d.ts +36 -0
- package/dist/components/arcgis-time-zone-chip/customElement.js +36 -0
- package/dist/components/arcgis-time-zone-chip/index.d.ts +1 -0
- package/dist/components/arcgis-time-zone-chip/index.js +4 -0
- package/dist/components/arcgis-time-zone-selector/customElement.js +56 -0
- package/dist/components/arcgis-time-zone-selector/index.js +6 -0
- package/dist/components/arcgis-utility-network-aggregated-geometry-result-item/customElement.d.ts +1 -1
- package/dist/components/arcgis-utility-network-aggregated-geometry-result-item/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-elements-result-item/customElement.d.ts +193 -0
- package/dist/components/arcgis-utility-network-elements-result-item/customElement.js +175 -0
- package/dist/components/arcgis-utility-network-elements-result-item/index.d.ts +1 -0
- package/dist/components/arcgis-utility-network-elements-result-item/index.js +6 -0
- package/dist/components/arcgis-utility-network-trace-analysis-next/customElement.d.ts +43 -0
- package/dist/components/arcgis-utility-network-trace-analysis-next/customElement.js +76 -99
- package/dist/components/arcgis-utility-network-trace-inputs-next/customElement.js +2 -2
- package/dist/components/arcgis-utility-network-trace-results-next/customElement.d.ts +51 -10
- package/dist/components/arcgis-utility-network-trace-results-next/customElement.js +67 -148
- package/dist/components/arcgis-utility-network-trace-results-next/index.js +1 -4
- package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/index.d.ts +20 -0
- package/dist/loader.js +6 -3
- package/dist/types/lumina.d.ts +19 -4
- package/dist/types/preact.d.ts +21 -4
- package/dist/types/react.d.ts +23 -4
- package/dist/types/stencil.d.ts +19 -4
- package/package.json +5 -5
- package/dist/cdn/2S3PMUG2.js +0 -2
- package/dist/cdn/323SSBOJ.js +0 -2
- package/dist/cdn/34CXVCB3.js +0 -2
- package/dist/cdn/3ZRONF3M.js +0 -2
- package/dist/cdn/ECXFGOCB.js +0 -2
- package/dist/cdn/FR3EHEIV.js +0 -2
- package/dist/cdn/MSNVY4PH.js +0 -2
- package/dist/cdn/Q6TYHAOA.js +0 -2
- package/dist/cdn/SYDGAFU5.js +0 -2
- package/dist/cdn/VURES5AT.js +0 -2
- package/dist/cdn/VY2FRIAX.js +0 -2
- package/dist/cdn/ZGEJX5IU.js +0 -2
- package/dist/cdn/ZTRUEI25.js +0 -2
- package/dist/support/time-utils.d.ts +0 -7
|
@@ -0,0 +1,193 @@
|
|
|
1
|
+
/// <reference path="../../index.d.ts" />
|
|
2
|
+
import type Graphic from "@arcgis/core/Graphic.js";
|
|
3
|
+
import type Layer from "@arcgis/core/layers/Layer.js";
|
|
4
|
+
import type UtilityNetwork from "@arcgis/core/networks/UtilityNetwork.js";
|
|
5
|
+
import type TraceResult from "@arcgis/core/rest/networks/support/TraceResult.js";
|
|
6
|
+
import type MapView from "@arcgis/core/views/MapView.js";
|
|
7
|
+
import type { ActionEvent } from "@arcgis/core/widgets/Popup/types.js";
|
|
8
|
+
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
9
|
+
import type { ArcgisFeaturesNext } from "../arcgis-features-next/customElement.js";
|
|
10
|
+
import type { ArcgisReferenceElement } from "../types.js";
|
|
11
|
+
import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* Trace result item for displaying [element](https://developers.arcgis.com/javascript/latest/references/core/rest/networks/support/TraceResult/#elements) results from a trace.
|
|
15
|
+
*
|
|
16
|
+
* @internal
|
|
17
|
+
* @since 5.2
|
|
18
|
+
* @see [Result types](https://doc.esri.com/en/arcgis-pro/latest/help/data/utility-network/configure-a-trace.html#DA5)
|
|
19
|
+
*/
|
|
20
|
+
export abstract class ArcgisUtilityNetworkElementsResultItem extends LitElement {
|
|
21
|
+
/** @internal */
|
|
22
|
+
protected _messages: {
|
|
23
|
+
headings: { features: string; };
|
|
24
|
+
labels: { numFeatures: string; };
|
|
25
|
+
resultFeaturesAreHidden: string;
|
|
26
|
+
} & T9nMeta<{
|
|
27
|
+
headings: { features: string; };
|
|
28
|
+
labels: { numFeatures: string; };
|
|
29
|
+
resultFeaturesAreHidden: string;
|
|
30
|
+
}>;
|
|
31
|
+
/**
|
|
32
|
+
* A [collection](https://developers.arcgis.com/javascript/latest/references/core/core/Collection/) of [action button](https://developers.arcgis.com/javascript/latest/references/core/support/actions/ActionButton/) or [action toggle](https://developers.arcgis.com/javascript/latest/references/core/support/actions/ActionToggle/) objects. Each action may be executed by clicking the icon or image symbolizing them.
|
|
33
|
+
* There is a default `Zoom To` action styled with a magnifying glass icon to zoom in four LODs and center the map on the selected feature. This default action can be removed by setting [includeDefaultActionsDisabled](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-elements-result-item/#includeDefaultActionsDisabled) to `true`, or by setting the [`overwriteActions`](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/#overwriteActions) property to `true` in a [PopupTemplate](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/).
|
|
34
|
+
*
|
|
35
|
+
* The order of each action is the order in which they appear in the actions [Collection](https://developers.arcgis.com/javascript/latest/references/core/core/Collection/). The [@arcgisTriggerAction](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-elements-result-item/#event-arcgisTriggerAction) event fires each time an action is clicked.
|
|
36
|
+
*
|
|
37
|
+
* @see [@arcgisTriggerAction](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-elements-result-item/#event-arcgisTriggerAction)
|
|
38
|
+
* @see [Popup actions sample](https://developers.arcgis.com/javascript/latest/sample-code/popup-actions/)
|
|
39
|
+
*/
|
|
40
|
+
accessor actions: ArcgisFeaturesNext["actions"] | undefined;
|
|
41
|
+
/**
|
|
42
|
+
* If true, the component will not be destroyed automatically when it is
|
|
43
|
+
* disconnected from the document. This is useful when you want to move the
|
|
44
|
+
* component to a different place on the page, or temporarily hide it. If this
|
|
45
|
+
* is set, make sure to call the [destroy()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-elements-result-item/#destroy) method when you are done to
|
|
46
|
+
* prevent memory leaks.
|
|
47
|
+
*
|
|
48
|
+
* @default false
|
|
49
|
+
* @example
|
|
50
|
+
* ```html
|
|
51
|
+
* <arcgis-utility-network-elements-result-item auto-destroy-disabled></arcgis-utility-network-elements-result-item>
|
|
52
|
+
* ```
|
|
53
|
+
*
|
|
54
|
+
* ```js
|
|
55
|
+
* utilityNetworkElementsResultItemElement.autoDestroyDisabled = true;
|
|
56
|
+
* ```
|
|
57
|
+
*
|
|
58
|
+
*/
|
|
59
|
+
accessor autoDestroyDisabled: boolean;
|
|
60
|
+
/**
|
|
61
|
+
* Whether to disable highlighting trace result features on the map.
|
|
62
|
+
* If true, the features returned by a trace will not be highlighted on the map.
|
|
63
|
+
*
|
|
64
|
+
* @default false
|
|
65
|
+
*/
|
|
66
|
+
accessor disableHighlightFeatureResults: boolean;
|
|
67
|
+
/** The features corresponding to the trace result elements. */
|
|
68
|
+
get features(): Graphic[];
|
|
69
|
+
/** The heading of the result item. */
|
|
70
|
+
accessor heading: string | undefined;
|
|
71
|
+
/**
|
|
72
|
+
* Indicates whether to hide the action bar that holds the feature's
|
|
73
|
+
* [actions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/#actions)
|
|
74
|
+
* when selecting trace locations and viewing trace result features.
|
|
75
|
+
*
|
|
76
|
+
* @default false
|
|
77
|
+
*/
|
|
78
|
+
accessor hideActionBar: boolean;
|
|
79
|
+
/**
|
|
80
|
+
* Whether to hide feature results.
|
|
81
|
+
* If true, the component renders a placeholder string instead of a button to view features.
|
|
82
|
+
* When true, features are still queried and are available through [features](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-elements-result-item/#features).
|
|
83
|
+
*
|
|
84
|
+
* @default false
|
|
85
|
+
*/
|
|
86
|
+
accessor hideFeatureResults: boolean;
|
|
87
|
+
/**
|
|
88
|
+
* Whether to hide the placeholder string when feature results are hidden.
|
|
89
|
+
*
|
|
90
|
+
* When this property and [hideFeatureResults](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-elements-result-item/#hideFeatureResults) are both set to `true`,
|
|
91
|
+
* nothing is rendered for trace result elements. However, features are still queried and are available through
|
|
92
|
+
* [features](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-elements-result-item/#features).
|
|
93
|
+
*
|
|
94
|
+
* @default false
|
|
95
|
+
*/
|
|
96
|
+
accessor hidePlaceholder: boolean;
|
|
97
|
+
/**
|
|
98
|
+
* Indicates whether default actions are disabled (hidden) when viewing trace result features.
|
|
99
|
+
* This property must be set to `true` to disable default actions.
|
|
100
|
+
*
|
|
101
|
+
* @default false
|
|
102
|
+
*/
|
|
103
|
+
accessor includeDefaultActionsDisabled: boolean;
|
|
104
|
+
/**
|
|
105
|
+
* Whether the list of feature results is being viewed.
|
|
106
|
+
* When true, the component renders the trace result features as a list in the [arcgis-features-next](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features-next/) component.
|
|
107
|
+
*
|
|
108
|
+
* This property is always false when [hideFeatureResults](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-elements-result-item/#hideFeatureResults) is true.
|
|
109
|
+
*
|
|
110
|
+
* If [hideFeatureResults](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-elements-result-item/#hideFeatureResults) is not set, then this property is true when
|
|
111
|
+
* the trace result only includes [elements](https://developers.arcgis.com/javascript/latest/references/core/rest/networks/support/TraceResult/#elements)
|
|
112
|
+
* or when the user has chosen to view Feature results in the trace component results tab.
|
|
113
|
+
*
|
|
114
|
+
* @default false
|
|
115
|
+
*/
|
|
116
|
+
get isFeaturesListShown(): boolean;
|
|
117
|
+
/**
|
|
118
|
+
* The map layers to derive utility network layers from.
|
|
119
|
+
*
|
|
120
|
+
* These layers are filtered by those belonging to the specified utility network.
|
|
121
|
+
* The utility network layers are used for querying the trace result features.
|
|
122
|
+
*/
|
|
123
|
+
accessor layers: Layer[];
|
|
124
|
+
/**
|
|
125
|
+
* Replace localized message strings with your own strings.
|
|
126
|
+
*
|
|
127
|
+
* _**Note**: Individual message keys may change between releases._
|
|
128
|
+
*/
|
|
129
|
+
accessor messageOverrides: NonNullable<ArcgisFeaturesNext["messageOverrides"]> & {
|
|
130
|
+
headings?: { features?: string | undefined; } | undefined;
|
|
131
|
+
labels?: { numFeatures?: string | undefined; } | undefined;
|
|
132
|
+
resultFeaturesAreHidden?: string | undefined;
|
|
133
|
+
};
|
|
134
|
+
/**
|
|
135
|
+
* The number of unique network element results,
|
|
136
|
+
* including elements that did not match any layer in the map.
|
|
137
|
+
*/
|
|
138
|
+
get numResults(): number;
|
|
139
|
+
/**
|
|
140
|
+
* 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.
|
|
141
|
+
*
|
|
142
|
+
* @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)
|
|
143
|
+
*/
|
|
144
|
+
accessor referenceElement: ArcgisReferenceElement | string | undefined;
|
|
145
|
+
/**
|
|
146
|
+
* The currently selected trace result feature.
|
|
147
|
+
*
|
|
148
|
+
* This property also returns associated features that have been selected via
|
|
149
|
+
* [association content](https://developers.arcgis.com/javascript/latest/references/core/popup/content/UtilityNetworkAssociationsContent/)
|
|
150
|
+
* in a [PopupTemplate](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/).
|
|
151
|
+
*/
|
|
152
|
+
get selectedResultFeature(): Graphic | undefined;
|
|
153
|
+
/**
|
|
154
|
+
* Whether the component has finished querying trace result features.
|
|
155
|
+
*
|
|
156
|
+
* @default "loading"
|
|
157
|
+
*/
|
|
158
|
+
accessor state: State;
|
|
159
|
+
/**
|
|
160
|
+
* The trace result containing the element results to render features for.
|
|
161
|
+
*
|
|
162
|
+
* @required
|
|
163
|
+
*/
|
|
164
|
+
accessor traceResult: TraceResult | undefined;
|
|
165
|
+
/**
|
|
166
|
+
* The utility network used to query the trace result features.
|
|
167
|
+
*
|
|
168
|
+
* @required
|
|
169
|
+
*/
|
|
170
|
+
accessor utilityNetwork: UtilityNetwork | undefined;
|
|
171
|
+
/**
|
|
172
|
+
* The view associated with the component.
|
|
173
|
+
* > **Note:** The recommended approach is to fully migrate applications to use map and scene components and avoid using MapView and SceneView directly. However, if you are migrating a large application from widgets to components, you might prefer a more gradual transition. To support this use case, the SDK includes this `view` property which connects a component to a MapView or SceneView. Ultimately, once migration is complete, the arcgis-utility-network-elements-result-item component will be associated with a map or scene component rather than using the `view` property.
|
|
174
|
+
*/
|
|
175
|
+
accessor view: MapView | undefined;
|
|
176
|
+
/** Destroys the `arcgis-features-next` component used to render the trace result features. */
|
|
177
|
+
clearResult(): void;
|
|
178
|
+
/** Permanently destroy the component. */
|
|
179
|
+
destroy(): Promise<void>;
|
|
180
|
+
readonly arcgisPropertyChange: import("@arcgis/lumina").TargetedEvent<this, { name: "isFeaturesListShown" | "selectedResultFeature"; }>;
|
|
181
|
+
/** Fires when the component finishes querying all features for the trace result elements. */
|
|
182
|
+
readonly arcgisResultReady: import("@arcgis/lumina").TargetedEvent<this, void>;
|
|
183
|
+
/** Emitted when an action is triggered on the component. */
|
|
184
|
+
readonly arcgisTriggerAction: import("@arcgis/lumina").TargetedEvent<this, ActionEvent>;
|
|
185
|
+
readonly "@eventTypes": {
|
|
186
|
+
arcgisPropertyChange: ArcgisUtilityNetworkElementsResultItem["arcgisPropertyChange"]["detail"];
|
|
187
|
+
arcgisResultReady: ArcgisUtilityNetworkElementsResultItem["arcgisResultReady"]["detail"];
|
|
188
|
+
arcgisTriggerAction: ArcgisUtilityNetworkElementsResultItem["arcgisTriggerAction"]["detail"];
|
|
189
|
+
};
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
/** @internal */
|
|
193
|
+
export type State = "loading" | "ready";
|
|
@@ -0,0 +1,175 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
+
import { c as F } from "../../chunks/runtime.js";
|
|
3
|
+
import { ref as w } from "lit/directives/ref.js";
|
|
4
|
+
import { getOrCreateMapValue as f } from "@arcgis/core/applications/Components/featureUtils.js";
|
|
5
|
+
import { LitElement as R, createEvent as y } from "@arcgis/lumina";
|
|
6
|
+
import { usePropertyChange as b, bypassReadOnly as g } from "@arcgis/lumina/controllers";
|
|
7
|
+
import { log as n, composeMissingPropertyMessage as c } from "@arcgis/toolkit/log";
|
|
8
|
+
import { css as E, html as d } from "lit";
|
|
9
|
+
import { u as L } from "../../chunks/useT9n.js";
|
|
10
|
+
import { l as I } from "../../chunks/async-utils.js";
|
|
11
|
+
import { q as S, c as p, d as v } from "../../chunks/layer-utils.js";
|
|
12
|
+
const $ = E`arcgis-features-next{height:100%}.elements-list-item{border:solid 1px var(--calcite-color-border-3);border-radius:var(--calcite-corner-radius-sm);margin:0 var(--calcite-spacing-sm)}.features-hidden{margin:var(--calcite-spacing-md);color:var(--calcite-color-text-3);font-size:var(--calcite-font-size)}`;
|
|
13
|
+
class A extends R {
|
|
14
|
+
constructor() {
|
|
15
|
+
super(...arguments), this._messages = L({ blocking: !0 }), this.#l = !0, this.#e = [], this.#t = [], this.#s = /* @__PURE__ */ new Map(), this.#n = /* @__PURE__ */ new Map(), this.#i = /* @__PURE__ */ new Map(), this.#r = /* @__PURE__ */ new Map(), this.#a = [], this._isFeaturesSelected = !1, this.autoDestroyDisabled = !1, this.disableHighlightFeatureResults = !1, this.features = [], this.hideActionBar = !1, this.hideFeatureResults = !1, this.hidePlaceholder = !1, this.includeDefaultActionsDisabled = !1, this.layers = [], this.state = "loading", this.arcgisPropertyChange = b()("isFeaturesListShown", "selectedResultFeature"), this.arcgisTriggerAction = y(), this.arcgisResultReady = y();
|
|
16
|
+
}
|
|
17
|
+
static {
|
|
18
|
+
this.properties = { _featuresComponentElement: 16, _isFeaturesSelected: 16, actions: 0, autoDestroyDisabled: 5, disableHighlightFeatureResults: 5, features: 32, heading: 1, hideActionBar: 5, hideFeatureResults: 5, hidePlaceholder: 5, includeDefaultActionsDisabled: 5, isFeaturesListShown: 32, layers: 0, messageOverrides: 0, numResults: 32, referenceElement: 1, selectedResultFeature: 32, state: 1, traceResult: 0, utilityNetwork: 0, view: 0 };
|
|
19
|
+
}
|
|
20
|
+
static {
|
|
21
|
+
this.styles = $;
|
|
22
|
+
}
|
|
23
|
+
#l;
|
|
24
|
+
#e;
|
|
25
|
+
get #o() {
|
|
26
|
+
if (!this.traceResult)
|
|
27
|
+
return !1;
|
|
28
|
+
const { elements: e, globalFunctionResults: t, aggregatedGeometry: r } = this.traceResult;
|
|
29
|
+
return e.length > 0 && !t.length && !r;
|
|
30
|
+
}
|
|
31
|
+
#t;
|
|
32
|
+
#s;
|
|
33
|
+
#n;
|
|
34
|
+
#i;
|
|
35
|
+
#r;
|
|
36
|
+
#a;
|
|
37
|
+
get isFeaturesListShown() {
|
|
38
|
+
return (this._isFeaturesSelected || this.#o) && !this.hideFeatureResults && !this._featuresComponentElement?.manager.destroyed;
|
|
39
|
+
}
|
|
40
|
+
get numResults() {
|
|
41
|
+
return this.features.length + this.#e.length;
|
|
42
|
+
}
|
|
43
|
+
get selectedResultFeature() {
|
|
44
|
+
return this._featuresComponentElement?.selectedDrillInFeature ?? this._featuresComponentElement?.selectedFeature ?? void 0;
|
|
45
|
+
}
|
|
46
|
+
clearResult() {
|
|
47
|
+
this._featuresComponentElement?.destroy(), this.#u(), g(() => this.features = []), this.#e = [], this.#s.clear(), this.#n.clear(), this.#i.clear(), this.#r.clear();
|
|
48
|
+
}
|
|
49
|
+
async destroy() {
|
|
50
|
+
this.clearResult(), await this.manager.destroy();
|
|
51
|
+
}
|
|
52
|
+
load() {
|
|
53
|
+
const e = this.traceResult?.elements, t = () => {
|
|
54
|
+
this.arcgisResultReady.emit(), this.state = "ready";
|
|
55
|
+
};
|
|
56
|
+
if (!e?.length) {
|
|
57
|
+
t();
|
|
58
|
+
return;
|
|
59
|
+
}
|
|
60
|
+
this.#p(e), this.#f().then(() => this.#g()).then(() => {
|
|
61
|
+
this.disableHighlightFeatureResults || this.#m();
|
|
62
|
+
}).finally(t);
|
|
63
|
+
}
|
|
64
|
+
loaded() {
|
|
65
|
+
this.traceResult ? this.traceResult.elements || n("error", this, c("traceResult.elements")) : n("error", this, c("traceResult")), this.utilityNetwork || n("error", this, c("utilityNetwork"));
|
|
66
|
+
}
|
|
67
|
+
willUpdate(e) {
|
|
68
|
+
e.has("_isFeaturesSelected") && (this.#o || (e.get("_isFeaturesSelected") ?? !1)) !== this.isFeaturesListShown && this.arcgisPropertyChange.emit({ name: "isFeaturesListShown" });
|
|
69
|
+
}
|
|
70
|
+
#u() {
|
|
71
|
+
this.#t.forEach((e) => e.remove()), this.#t = [];
|
|
72
|
+
}
|
|
73
|
+
#h(e) {
|
|
74
|
+
e && (this._featuresComponentElement = e);
|
|
75
|
+
}
|
|
76
|
+
#c(e) {
|
|
77
|
+
return Array.from(new Map(e.map((t) => [t.globalId, t])).values());
|
|
78
|
+
}
|
|
79
|
+
#d(e) {
|
|
80
|
+
if (e == null)
|
|
81
|
+
return;
|
|
82
|
+
const t = this.#n, r = this.#a, a = t.get(e);
|
|
83
|
+
if (a)
|
|
84
|
+
return a;
|
|
85
|
+
if (!r)
|
|
86
|
+
return;
|
|
87
|
+
const s = r.find((i) => "layerId" in i && i.layerId === e);
|
|
88
|
+
return s && t.set(e, s), s;
|
|
89
|
+
}
|
|
90
|
+
#m() {
|
|
91
|
+
const { traceResult: e, utilityNetwork: t, view: r } = this;
|
|
92
|
+
if (!t || !e?.elements?.length || !r)
|
|
93
|
+
return;
|
|
94
|
+
const a = (o) => (v(o.layer) || p(o.layer)) && t.isUtilityLayer(o.layer), s = t.getObjectIdsFromElements(e.elements), i = r.allLayerViews.filter(a);
|
|
95
|
+
s.forEach(({ layerUrl: o, objectIds: l }) => {
|
|
96
|
+
const u = Number(o.split("/").pop()), m = i.find(({ layer: h }) => h.layerId === u);
|
|
97
|
+
if (m) {
|
|
98
|
+
const h = m.highlight(l);
|
|
99
|
+
this.#t.push(h);
|
|
100
|
+
}
|
|
101
|
+
});
|
|
102
|
+
}
|
|
103
|
+
async #f() {
|
|
104
|
+
const { layers: e, utilityNetwork: t } = this;
|
|
105
|
+
if (!t)
|
|
106
|
+
return;
|
|
107
|
+
try {
|
|
108
|
+
t.loaded || (this.state = "loading", await t.load());
|
|
109
|
+
} catch (s) {
|
|
110
|
+
I(s, this, "Error while loading the selected utility network");
|
|
111
|
+
}
|
|
112
|
+
this.#a = e.filter((s) => t.isUtilityLayer(s));
|
|
113
|
+
const a = this.#a.filter((s) => !s.loaded).map((s) => s.load());
|
|
114
|
+
a.length > 0 && (this.state = "loading", (await Promise.allSettled(a)).forEach((i) => {
|
|
115
|
+
i.status === "rejected" && n("error", this, `Failed to load layer. Reason: ${i.reason}`);
|
|
116
|
+
}));
|
|
117
|
+
}
|
|
118
|
+
async #y([e, t]) {
|
|
119
|
+
const r = this.utilityNetwork?.getLayerIdBySourceId(e), a = this.#d(r), s = this.#c(t);
|
|
120
|
+
if (r == null || !a) {
|
|
121
|
+
this.#e.push(...s);
|
|
122
|
+
return;
|
|
123
|
+
}
|
|
124
|
+
const i = a.createQuery();
|
|
125
|
+
i.gdbVersion = this.utilityNetwork?.gdbVersion, i.objectIds = s.map((l) => l.objectId), i.outFields = ["*"];
|
|
126
|
+
const { features: o } = await S(a, i);
|
|
127
|
+
o.forEach((l) => {
|
|
128
|
+
const u = l.layer;
|
|
129
|
+
l.getEffectivePopupTemplate(this.#l) || (l.popupTemplate = u.createPopupTemplate());
|
|
130
|
+
}), p(a) ? o.forEach((l) => {
|
|
131
|
+
f(this.#i, l.layer.subtypeCode, () => []).push(l);
|
|
132
|
+
}) : this.#s.set(r, o);
|
|
133
|
+
}
|
|
134
|
+
async #g() {
|
|
135
|
+
const e = Array.from(this.#r.entries());
|
|
136
|
+
if (!e.length)
|
|
137
|
+
return;
|
|
138
|
+
this.state = "loading";
|
|
139
|
+
const t = e.map((i) => this.#y(i));
|
|
140
|
+
(await Promise.allSettled(t)).forEach((i, o) => {
|
|
141
|
+
if (i.status === "rejected") {
|
|
142
|
+
const [l] = e[o];
|
|
143
|
+
n("error", this, `Failed to query features for source ${l}. Reason: ${i.reason}`);
|
|
144
|
+
}
|
|
145
|
+
});
|
|
146
|
+
const a = Array.from(this.#s.values()), s = Array.from(this.#i.values());
|
|
147
|
+
g(() => this.features = a.concat(s).flat());
|
|
148
|
+
}
|
|
149
|
+
#p(e) {
|
|
150
|
+
e.forEach((t) => {
|
|
151
|
+
f(this.#r, t.networkSourceId, () => []).push(t);
|
|
152
|
+
});
|
|
153
|
+
}
|
|
154
|
+
#F(e) {
|
|
155
|
+
const { detail: t } = e;
|
|
156
|
+
(t.name === "selectedDrillInFeature" || t.name === "selectedFeature") && (e.stopPropagation(), this.arcgisPropertyChange.emit({ name: "selectedResultFeature" }));
|
|
157
|
+
}
|
|
158
|
+
#w(e) {
|
|
159
|
+
e.stopPropagation(), this.arcgisTriggerAction.emit(e.detail);
|
|
160
|
+
}
|
|
161
|
+
#R() {
|
|
162
|
+
return d`<div class="features-hidden">${this._messages.resultFeaturesAreHidden}</div>`;
|
|
163
|
+
}
|
|
164
|
+
#b() {
|
|
165
|
+
const { heading: e, _messages: t } = this;
|
|
166
|
+
return d`<calcite-list .label=${t.headings.features}><calcite-list-item class="elements-list-item" .label=${e || t.headings.features} @calciteListItemSelect=${() => this._isFeaturesSelected = !0}><calcite-chip .label=${t.labels.numFeatures} scale=s slot=content-end>${this.numResults}</calcite-chip><calcite-icon icon=chevron-right slot=content-end></calcite-icon></calcite-list-item></calcite-list>`;
|
|
167
|
+
}
|
|
168
|
+
render() {
|
|
169
|
+
return this.state === "loading" ? null : this.hideFeatureResults ? this.hidePlaceholder ? null : this.#R() : this.isFeaturesListShown ? d`<arcgis-features-next .actions=${this.actions} .autoDestroyDisabled=${this.autoDestroyDisabled} .defaultPopupTemplateEnabled=${this.#l} .features=${this.features} .hideActionBar=${this.hideActionBar} .hideCloseButton=${this.#o} hide-select-feature .includeDefaultActionsDisabled=${this.includeDefaultActionsDisabled} initial-display-mode=list .messageOverrides=${this.messageOverrides} open .referenceElement=${this.referenceElement} .view=${this.view} @arcgisClose=${() => this._isFeaturesSelected = !1} @arcgisPropertyChange=${this.#F} @arcgisTriggerAction=${this.#w} ${w(this.#h)}></arcgis-features-next>` : this.#b();
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
F("arcgis-utility-network-elements-result-item", A);
|
|
173
|
+
export {
|
|
174
|
+
A as ArcgisUtilityNetworkElementsResultItem
|
|
175
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./customElement.js";
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import "@esri/calcite-components/components/calcite-list";
|
|
2
|
+
import "@esri/calcite-components/components/calcite-list-item";
|
|
3
|
+
import "@esri/calcite-components/components/calcite-chip";
|
|
4
|
+
import "@esri/calcite-components/components/calcite-icon";
|
|
5
|
+
import "../arcgis-features-next/index.js";
|
|
6
|
+
export * from "./customElement.js";
|
|
@@ -2,7 +2,9 @@
|
|
|
2
2
|
import type Color from "@arcgis/core/Color.js";
|
|
3
3
|
import type Graphic from "@arcgis/core/Graphic.js";
|
|
4
4
|
import type MapView from "@arcgis/core/views/MapView.js";
|
|
5
|
+
import type { ActionEvent } from "@arcgis/core/widgets/Popup/types.js";
|
|
5
6
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
7
|
+
import type { ArcgisFeaturesNext } from "../arcgis-features-next/customElement.js";
|
|
6
8
|
import type { ArcgisReferenceElement } from "../types.js";
|
|
7
9
|
import type { SelectStartPayload } from "../arcgis-utility-network-trace-location-next/customElement.js";
|
|
8
10
|
import type { ArcgisUtilityNetworkTraceResultsNext } from "../arcgis-utility-network-trace-results-next/customElement.js";
|
|
@@ -147,6 +149,16 @@ export abstract class ArcgisUtilityNetworkTraceAnalysisNext extends LitElement {
|
|
|
147
149
|
resultsTab: string;
|
|
148
150
|
};
|
|
149
151
|
}>;
|
|
152
|
+
/**
|
|
153
|
+
* A [collection](https://developers.arcgis.com/javascript/latest/references/core/core/Collection/) of [action button](https://developers.arcgis.com/javascript/latest/references/core/support/actions/ActionButton/) or [action toggle](https://developers.arcgis.com/javascript/latest/references/core/support/actions/ActionToggle/) objects. Each action may be executed by clicking the icon or image symbolizing them.
|
|
154
|
+
* There is a default `Zoom To` action styled with a magnifying glass icon to zoom in four LODs and center the map on the selected feature. This default action can be removed by setting [includeDefaultActionsDisabled](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-trace-analysis-next/#includeDefaultActionsDisabled) to `true`, or by setting the [`overwriteActions`](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/#overwriteActions) property to `true` in a [PopupTemplate](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/).
|
|
155
|
+
*
|
|
156
|
+
* The order of each action is the order in which they appear in the actions [Collection](https://developers.arcgis.com/javascript/latest/references/core/core/Collection/). The [@arcgisTriggerAction](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-trace-analysis-next/#event-arcgisTriggerAction) event fires each time an action is clicked.
|
|
157
|
+
*
|
|
158
|
+
* @see [@arcgisTriggerAction](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-trace-analysis-next/#event-arcgisTriggerAction)
|
|
159
|
+
* @see [Popup actions sample](https://developers.arcgis.com/javascript/latest/sample-code/popup-actions/)
|
|
160
|
+
*/
|
|
161
|
+
accessor actions: ArcgisFeaturesNext["actions"] | undefined;
|
|
150
162
|
/**
|
|
151
163
|
* The color used to render graphics for aggregated geometries in trace results, specified as a
|
|
152
164
|
* [Color](https://developers.arcgis.com/javascript/latest/references/core/Color/) object.
|
|
@@ -243,6 +255,34 @@ export abstract class ArcgisUtilityNetworkTraceAnalysisNext extends LitElement {
|
|
|
243
255
|
* ```
|
|
244
256
|
*/
|
|
245
257
|
accessor hideFeatureResults: boolean;
|
|
258
|
+
/**
|
|
259
|
+
* Whether to hide the placeholder string when feature results are hidden in the results tab.
|
|
260
|
+
*
|
|
261
|
+
* When this property and [hideFeatureResults](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-trace-analysis-next/#hideFeatureResults) are both set to `true`,
|
|
262
|
+
* nothing is rendered for trace result elements. However, features are still queried and are available through
|
|
263
|
+
* [traceResultFeatures](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-trace-analysis-next/#traceResultFeatures).
|
|
264
|
+
*
|
|
265
|
+
* @default false
|
|
266
|
+
* @example
|
|
267
|
+
* Hide the placeholder when feature results are hidden.
|
|
268
|
+
* ```html
|
|
269
|
+
* <arcgis-map item-id="471eb0bf37074b1fbb972b1da70fb310">
|
|
270
|
+
* <arcgis-utility-network-trace-analysis-next
|
|
271
|
+
* hide-feature-results
|
|
272
|
+
* hide-placeholder
|
|
273
|
+
* slot="top-right"
|
|
274
|
+
* ></arcgis-utility-network-trace-analysis-next>
|
|
275
|
+
* </arcgis-map>
|
|
276
|
+
* ```
|
|
277
|
+
*/
|
|
278
|
+
accessor hidePlaceholder: boolean;
|
|
279
|
+
/**
|
|
280
|
+
* Indicates whether default actions are disabled (hidden) when viewing trace result features.
|
|
281
|
+
* This property must be set to `true` to disable default actions.
|
|
282
|
+
*
|
|
283
|
+
* @default false
|
|
284
|
+
*/
|
|
285
|
+
accessor includeDefaultActionsDisabled: boolean;
|
|
246
286
|
/** The component's default label. */
|
|
247
287
|
accessor label: string | undefined;
|
|
248
288
|
/**
|
|
@@ -387,6 +427,8 @@ export abstract class ArcgisUtilityNetworkTraceAnalysisNext extends LitElement {
|
|
|
387
427
|
* ```
|
|
388
428
|
*/
|
|
389
429
|
readonly arcgisTraceResultFeaturesReady: import("@arcgis/lumina").TargetedEvent<this, void>;
|
|
430
|
+
/** Emitted when an action is triggered on the component. */
|
|
431
|
+
readonly arcgisTriggerAction: import("@arcgis/lumina").TargetedEvent<this, ActionEvent>;
|
|
390
432
|
readonly "@eventTypes": {
|
|
391
433
|
arcgisHideGraphicsChange: ArcgisUtilityNetworkTraceAnalysisNext["arcgisHideGraphicsChange"]["detail"];
|
|
392
434
|
arcgisReady: ArcgisUtilityNetworkTraceAnalysisNext["arcgisReady"]["detail"];
|
|
@@ -394,5 +436,6 @@ export abstract class ArcgisUtilityNetworkTraceAnalysisNext extends LitElement {
|
|
|
394
436
|
arcgisTraceLocationSelectStart: ArcgisUtilityNetworkTraceAnalysisNext["arcgisTraceLocationSelectStart"]["detail"];
|
|
395
437
|
arcgisTraceResultClear: ArcgisUtilityNetworkTraceAnalysisNext["arcgisTraceResultClear"]["detail"];
|
|
396
438
|
arcgisTraceResultFeaturesReady: ArcgisUtilityNetworkTraceAnalysisNext["arcgisTraceResultFeaturesReady"]["detail"];
|
|
439
|
+
arcgisTriggerAction: ArcgisUtilityNetworkTraceAnalysisNext["arcgisTriggerAction"]["detail"];
|
|
397
440
|
};
|
|
398
441
|
}
|