@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
|
@@ -1,60 +1,59 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import { c as
|
|
3
|
-
import { css as
|
|
4
|
-
import { ref as
|
|
5
|
-
import { keyed as
|
|
6
|
-
import
|
|
7
|
-
import { when as
|
|
8
|
-
import
|
|
9
|
-
import { LitElement as
|
|
10
|
-
import { log as
|
|
11
|
-
import { u as
|
|
12
|
-
import { m as
|
|
13
|
-
import { l as
|
|
14
|
-
const
|
|
15
|
-
class
|
|
2
|
+
import { c as u } from "../../chunks/runtime.js";
|
|
3
|
+
import { css as d, html as i } from "lit";
|
|
4
|
+
import { ref as c } from "lit/directives/ref.js";
|
|
5
|
+
import { keyed as l } from "lit/directives/keyed.js";
|
|
6
|
+
import p from "@arcgis/core/Color.js";
|
|
7
|
+
import { when as m } from "@arcgis/core/core/reactiveUtils.js";
|
|
8
|
+
import f from "@arcgis/core/networks/UtilityNetworkTraceAnalysis.js";
|
|
9
|
+
import { LitElement as y, createEvent as r } from "@arcgis/lumina";
|
|
10
|
+
import { log as b } from "@arcgis/toolkit/log";
|
|
11
|
+
import { u as w } from "../../chunks/useT9n.js";
|
|
12
|
+
import { m as v } from "../../chunks/useViewModel.js";
|
|
13
|
+
import { l as T } from "../../chunks/async-utils.js";
|
|
14
|
+
const $ = d`:host{--arcgis-internal-color-black-30: color-mix(in srgb, #000000 30.2%, transparent);--arcgis-internal-box-shadow: var(--calcite-spacing-none) var(--calcite-spacing-px) var(--calcite-spacing-base) var(--arcgis-internal-color-black-30);--arcgis-internal-top-max-width: calc(min(100cqw, 100vw) - var(--calcite-spacing-xxxl));--arcgis-internal-panel-width: 300px;--arcgis-internal-panel-height: 100%;--arcgis-internal-panel-height-sm: 240px;--arcgis-internal-panel-height-md: 420px;--arcgis-internal-panel-height-lg: 540px;--arcgis-internal-panel-height-xl: 680px;--arcgis-internal-panel-gap: var(--calcite-spacing-lg);--arcgis-internal-panel-actions-gap: var(--calcite-spacing-sm);--arcgis-internal-basemap-gallery-width-lg: 450px;--arcgis-internal-collapse-icon-flip: scaleX(1);--arcgis-internal-row-direction: row;--arcgis-internal-legend-width: 300px;--arcgis-internal-layout-overlay-space-top: var(--arcgis-layout-overlay-space-top, 0px);--arcgis-internal-layout-overlay-space-bottom: var(--arcgis-layout-overlay-space-bottom, 0px);--arcgis-internal-layout-overlay-space-left: var(--arcgis-layout-overlay-space-left, 0px);--arcgis-internal-layout-overlay-space-right: var(--arcgis-layout-overlay-space-right, 0px);--arcgis-internal-view-color-focus: var(--arcgis-view-color-focus, var(--calcite-color-brand));--arcgis-internal-attribution-space-bottom: var(--arcgis-internal-layout-overlay-space-bottom);--arcgis-internal-attribution-space-left: var(--arcgis-internal-layout-overlay-space-left);--arcgis-internal-attribution-space-right: var(--arcgis-internal-layout-overlay-space-right);--arcgis-internal-attribution-font-size: var(--calcite-font-size-sm);--arcgis-internal-attribution-font-size-sm: var(--calcite-font-size-xs);--arcgis-internal-sketch-justify-content: flex-start}:host{display:flex;flex-direction:column;height:var(--arcgis-internal-panel-height, 100%)}arcgis-utility-network-trace-inputs-next[mode=default]{height:auto}calcite-tabs{display:flex;flex-direction:column;height:100%}calcite-tab{--calcite-tab-content-space-y: 0;min-height:var(--arcgis-internal-panel-height-sm, 240px)}calcite-tab:not([selected]){flex:0}calcite-panel{--calcite-panel-background-color: var(--calcite-color-foreground-1)}calcite-notice{margin:var(--calcite-spacing-md)}.inputs-tab-container{display:flex;flex-direction:column;height:100%}.trace-inputs-warning{flex:none;height:fit-content;calcite-notice{margin:var(--calcite-spacing-md) var(--calcite-spacing-md) 0}}`, _ = v(f);
|
|
15
|
+
class R extends y {
|
|
16
16
|
constructor() {
|
|
17
|
-
super(...arguments), this._messages =
|
|
17
|
+
super(...arguments), this._messages = w({ blocking: !0 }), this.#e = _(this), this._activeTab = "input", this._showMissingTerminalWarning = !1, this._showNoStartingPointsWarning = !1, this._mode = "default", this.autoDestroyDisabled = !1, this.aggregatedGeometryGraphicsColor = new p([255, 255, 0, 0.6]), this.disableHighlightFeatureResults = !1, this.hideActionBar = !1, this.hidePlaceholder = !1, this.hideFeatureResults = !1, this.includeDefaultActionsDisabled = !1, this.state = this.#e.state, this.view = this.#e.view, this.arcgisHideGraphicsChange = r(), this.arcgisReady = r(), this.arcgisTriggerAction = r(), this.arcgisTraceLocationSelectEnd = r(), this.arcgisTraceLocationSelectStart = r(), this.arcgisTraceResultClear = r(), this.arcgisTraceResultFeaturesReady = r();
|
|
18
18
|
}
|
|
19
19
|
static {
|
|
20
|
-
this.properties = { _activeTab: 16, _traceError: 16, _traceResult: 16, _showMissingTerminalWarning: 16, _showNoStartingPointsWarning: 16, _mode: 16, autoDestroyDisabled: 5, beforeTraceLocationSelectStart: 0, aggregatedGeometryGraphicsColor: 0, disableHighlightFeatureResults: 5, hideActionBar: 5, hideFeatureResults: 5, label: 3, messageOverrides: 0, traceResultFeatures: 32, referenceElement: 1, state: 32, view: 0 };
|
|
20
|
+
this.properties = { _activeTab: 16, _traceError: 16, _traceResult: 16, _showMissingTerminalWarning: 16, _showNoStartingPointsWarning: 16, _mode: 16, actions: 0, autoDestroyDisabled: 5, beforeTraceLocationSelectStart: 0, aggregatedGeometryGraphicsColor: 0, disableHighlightFeatureResults: 5, hideActionBar: 5, hidePlaceholder: 5, hideFeatureResults: 5, includeDefaultActionsDisabled: 5, label: 3, messageOverrides: 0, traceResultFeatures: 32, referenceElement: 1, state: 32, view: 0 };
|
|
21
21
|
}
|
|
22
22
|
static {
|
|
23
|
-
this.styles =
|
|
23
|
+
this.styles = $;
|
|
24
24
|
}
|
|
25
|
-
#t;
|
|
26
25
|
#e;
|
|
26
|
+
#t;
|
|
27
27
|
#i;
|
|
28
|
-
get #
|
|
28
|
+
get #r() {
|
|
29
29
|
const { view: t } = this;
|
|
30
30
|
return t?.map ? t.map.allLayers.toArray().concat(t.map.allTables.toArray()) : [];
|
|
31
31
|
}
|
|
32
|
-
#
|
|
33
|
-
#s;
|
|
32
|
+
#n;
|
|
34
33
|
get traceResultFeatures() {
|
|
35
34
|
return this.#i?.traceResultFeatures ?? [];
|
|
36
35
|
}
|
|
37
36
|
async destroy() {
|
|
38
|
-
|
|
37
|
+
await this.#i?.destroy(), await this.#t?.destroy(), await this.manager.destroy();
|
|
39
38
|
}
|
|
40
39
|
load() {
|
|
41
40
|
this.manager.onLifecycle(() => [
|
|
42
|
-
|
|
41
|
+
m(() => !this.#e.utilityNetwork, () => this.#a("input"))
|
|
43
42
|
]);
|
|
44
43
|
}
|
|
45
|
-
#
|
|
46
|
-
this._traceResult = void 0, this.#
|
|
44
|
+
#s() {
|
|
45
|
+
this._traceResult = void 0, this.#i?.clearResults();
|
|
47
46
|
}
|
|
48
|
-
#
|
|
49
|
-
if (!this.#
|
|
47
|
+
#o() {
|
|
48
|
+
if (!this.#t)
|
|
50
49
|
return;
|
|
51
|
-
const { traceLocations: t, traceLocationFlagInfos: e, traceConfiguration:
|
|
52
|
-
this._traceError = void 0, this._showNoStartingPointsWarning = !
|
|
50
|
+
const { traceLocations: t, traceLocationFlagInfos: e, traceConfiguration: n, isSubnetworkNameTraceSelected: a } = this.#t, s = !!n?.subnetworkName, h = t?.some((o) => o.type === "starting-point"), g = e?.some((o) => !!o.flagProperties.terminalConfiguration && !o.flagProperties.selectedTerminals?.size) ?? !1;
|
|
51
|
+
this._traceError = void 0, this._showNoStartingPointsWarning = !a && !h || a && !s, this._showMissingTerminalWarning = g;
|
|
53
52
|
}
|
|
54
53
|
#a(t) {
|
|
55
54
|
this._activeTab = t;
|
|
56
55
|
}
|
|
57
|
-
#
|
|
56
|
+
#c(t) {
|
|
58
57
|
const { _messages: e } = this;
|
|
59
58
|
switch (t) {
|
|
60
59
|
case "no-user-type-extension":
|
|
@@ -69,117 +68,95 @@ class C extends w {
|
|
|
69
68
|
return t;
|
|
70
69
|
}
|
|
71
70
|
}
|
|
72
|
-
#
|
|
73
|
-
|
|
74
|
-
}
|
|
75
|
-
#g() {
|
|
76
|
-
this.#i?.clearAggregatedGeometryGraphics();
|
|
77
|
-
}
|
|
78
|
-
#u() {
|
|
79
|
-
const { _traceResult: t, view: e } = this, r = this.#t.utilityNetwork;
|
|
80
|
-
if (!r || !t?.elements || !e)
|
|
81
|
-
return;
|
|
82
|
-
r.getObjectIdsFromElements(t.elements).forEach((i) => {
|
|
83
|
-
const c = e.allLayerViews.find((n) => {
|
|
84
|
-
const h = n.layer;
|
|
85
|
-
if (r.isUtilityLayer(h)) {
|
|
86
|
-
const d = Number(i.layerUrl.split("/").pop());
|
|
87
|
-
return h.layerId === d;
|
|
88
|
-
}
|
|
89
|
-
return !1;
|
|
90
|
-
});
|
|
91
|
-
if (!c)
|
|
92
|
-
return;
|
|
93
|
-
const l = c.highlight(i.objectIds);
|
|
94
|
-
this.#s.push(l);
|
|
95
|
-
});
|
|
96
|
-
}
|
|
97
|
-
async #d() {
|
|
98
|
-
const t = this.#e?.selectedNamedTraceConfiguration, e = this.#e?.traceConfiguration;
|
|
71
|
+
async #l() {
|
|
72
|
+
const t = this.#t?.selectedNamedTraceConfiguration, e = this.#t?.traceConfiguration;
|
|
99
73
|
if (!(t?.traceType && e)) {
|
|
100
|
-
|
|
74
|
+
b("error", this, "Trace configuration not found");
|
|
101
75
|
return;
|
|
102
76
|
}
|
|
103
|
-
const
|
|
77
|
+
const n = this.#t?.traceLocations;
|
|
104
78
|
try {
|
|
105
|
-
this._traceResult = await this.#
|
|
79
|
+
this._traceResult = await this.#e.executeTraceConfiguration({
|
|
106
80
|
traceType: t.traceType,
|
|
107
81
|
traceConfiguration: e,
|
|
108
|
-
traceLocations:
|
|
82
|
+
traceLocations: n ?? [],
|
|
109
83
|
resultTypes: t.resultTypes,
|
|
110
84
|
outSpatialReference: this.view?.spatialReference
|
|
111
|
-
})
|
|
112
|
-
} catch (
|
|
113
|
-
|
|
85
|
+
});
|
|
86
|
+
} catch (a) {
|
|
87
|
+
T(a, this, "Error while running trace"), this._traceError = a, this._traceResult = void 0;
|
|
114
88
|
}
|
|
115
89
|
}
|
|
116
|
-
#
|
|
117
|
-
this.#
|
|
90
|
+
#h() {
|
|
91
|
+
this.#o(), !(this._showNoStartingPointsWarning || this._showMissingTerminalWarning) && (this._showNoStartingPointsWarning = !1, this._showMissingTerminalWarning = !1, this.#s(), this.#a("results"), this.#l());
|
|
118
92
|
}
|
|
119
|
-
#
|
|
120
|
-
t && (this.#
|
|
93
|
+
#g(t) {
|
|
94
|
+
t && (this.#t = t);
|
|
121
95
|
}
|
|
122
|
-
#
|
|
96
|
+
#u(t) {
|
|
123
97
|
t && (this.#i = t);
|
|
124
98
|
}
|
|
125
|
-
#
|
|
99
|
+
#d(t) {
|
|
126
100
|
t.stopPropagation(), this.arcgisHideGraphicsChange.emit(t.detail);
|
|
127
101
|
}
|
|
128
|
-
#
|
|
102
|
+
#p(t) {
|
|
129
103
|
t.stopPropagation(), this.arcgisTraceLocationSelectStart.emit(t.detail).defaultPrevented && t.preventDefault();
|
|
130
104
|
}
|
|
131
|
-
#
|
|
105
|
+
#m(t) {
|
|
132
106
|
t.stopPropagation(), this.arcgisTraceLocationSelectEnd.emit();
|
|
133
107
|
}
|
|
134
|
-
#
|
|
108
|
+
#f(t) {
|
|
135
109
|
t.stopPropagation(), this.arcgisTraceResultFeaturesReady.emit();
|
|
136
110
|
}
|
|
137
|
-
#
|
|
111
|
+
#y(t) {
|
|
112
|
+
t.stopPropagation(), this.arcgisTriggerAction.emit(t.detail);
|
|
113
|
+
}
|
|
114
|
+
#b(t) {
|
|
138
115
|
const e = t.detail;
|
|
139
116
|
this.aggregatedGeometryGraphicsColor = e;
|
|
140
117
|
}
|
|
141
|
-
|
|
118
|
+
#w() {
|
|
142
119
|
this._showNoStartingPointsWarning = !1, this._showMissingTerminalWarning = !1;
|
|
143
120
|
}
|
|
144
|
-
#
|
|
145
|
-
this.#
|
|
121
|
+
#v() {
|
|
122
|
+
this.#e.utilityNetwork = this.#t?.selectedUtilityNetwork;
|
|
146
123
|
}
|
|
147
|
-
#
|
|
124
|
+
#T() {
|
|
148
125
|
const { _messages: t } = this;
|
|
149
|
-
return
|
|
126
|
+
return i`<calcite-panel class="trace-inputs-warning"><calcite-notice open icon=exclamation-mark-triangle closable kind=danger scale=s @calciteNoticeClose=${() => this._showMissingTerminalWarning = !1}><div slot=title>${t.errors.missingTerminalTitle}</div><div slot=message>${t.errors.missingTerminalBody}</div></calcite-notice></calcite-panel>`;
|
|
150
127
|
}
|
|
151
|
-
|
|
128
|
+
#$() {
|
|
152
129
|
const { _messages: t } = this;
|
|
153
|
-
return
|
|
130
|
+
return i`<calcite-panel class="trace-inputs-warning"><calcite-notice open icon=exclamation-mark-triangle closable kind=danger scale=s @calciteNoticeClose=${() => this._showNoStartingPointsWarning = !1}><div slot=title>${t.errors.noStartingPointsTitle}</div><div slot=message>${t.errors.noStartingPointsBody}</div></calcite-notice></calcite-panel>`;
|
|
154
131
|
}
|
|
155
|
-
#
|
|
156
|
-
return
|
|
132
|
+
#_() {
|
|
133
|
+
return l(`${this.el.id}__results-tab-item`, i`<calcite-tab .selected=${this._activeTab === "results"}>${this.state === "executing" ? i`<calcite-panel><calcite-loader .label=${this._messages.runningTrace} .text=${this._messages.runningTrace}></calcite-loader></calcite-panel>` : i`<arcgis-utility-network-trace-results-next .actions=${this.actions} .autoDestroyDisabled=${this.autoDestroyDisabled} .aggregatedGeometryGraphicsColor=${this.aggregatedGeometryGraphicsColor} .disableHighlightFeatureResults=${this.disableHighlightFeatureResults} .hideActionBar=${this.hideActionBar} .hideFeatureResults=${this.hideFeatureResults} .hidePlaceholder=${this.hidePlaceholder} .includeDefaultActionsDisabled=${this.includeDefaultActionsDisabled} .layers=${this.#r} .messageOverrides=${this.messageOverrides} .referenceElement=${this.referenceElement} .heading=${this.#n?.title} .traceError=${this._traceError} .traceResult=${this._traceResult} .utilityNetwork=${this.#e.utilityNetwork ?? void 0} .view=${this.view ?? void 0} @arcgisAggregatedGeometryGraphicsColorChange=${this.#b} @arcgisHideGraphicsChange=${this.#d} @arcgisTraceResultFeaturesReady=${this.#f} @arcgisTriggerAction=${this.#y} ${c(this.#u)}></arcgis-utility-network-trace-results-next>`}</calcite-tab>`);
|
|
157
134
|
}
|
|
158
|
-
#
|
|
159
|
-
const { _messages: t, _traceResult: e } = this,
|
|
160
|
-
return
|
|
161
|
-
this.#a("input"), this.#
|
|
162
|
-
}} .disabled=${!
|
|
135
|
+
#R() {
|
|
136
|
+
const { _messages: t, _traceResult: e } = this, a = !!(e?.elements.length || e?.globalFunctionResults.length || e?.aggregatedGeometry) && this.#i?.state === "ready", s = this.#i?.numFeatureResults ?? 0;
|
|
137
|
+
return i`<calcite-button appearance=outline width=full @click=${() => {
|
|
138
|
+
this.#a("input"), this.#s(), this.arcgisTraceResultClear.emit();
|
|
139
|
+
}} .disabled=${!a} slot=footer>${s > 0 && !this.hideFeatureResults && this.state !== "executing" ? t.buttons.clearResultsCustom.replace("{number}", s.toString()) : t.buttons.clearResultsGeneric}</calcite-button>`;
|
|
163
140
|
}
|
|
164
|
-
#
|
|
165
|
-
const { _mode: t } = this, { loadError: e } = this.#
|
|
166
|
-
|
|
167
|
-
}} @arcgisSelectedNamedTraceConfigurationChange=${this
|
|
168
|
-
return
|
|
141
|
+
#x() {
|
|
142
|
+
const { _mode: t } = this, { loadError: e } = this.#e, a = (e === "no-user-type-extension" || e === "sceneView-not-supported" ? i`<calcite-notice kind=danger open scale=s slot=content-top width=auto><div slot=message>${this.#c(e)}</div></calcite-notice>` : void 0) ?? i`${this._showNoStartingPointsWarning && t === "default" && this.#$() || ""}${this._showMissingTerminalWarning && t === "default" && this.#T() || ""}<arcgis-utility-network-trace-inputs-next .autoDestroyDisabled=${this.autoDestroyDisabled} .hideActionBar=${this.hideActionBar} .referenceElement=${this.referenceElement} .view=${this.view ?? void 0} .beforeTraceLocationSelectStart=${this.beforeTraceLocationSelectStart} @arcgisPropertyChange=${(s) => {
|
|
143
|
+
s.stopPropagation(), s.detail.name === "mode" && (this._mode = s.target.mode);
|
|
144
|
+
}} @arcgisSelectedNamedTraceConfigurationChange=${this.#w} @arcgisTraceLocationSelectEnd=${this.#m} @arcgisTraceLocationSelectStart=${this.#p} @arcgisUtilityNetworkChange=${this.#v} ${c(this.#g)}></arcgis-utility-network-trace-inputs-next>`;
|
|
145
|
+
return l(`${this.el.id}__inputs-tab-item`, i`<calcite-tab .selected=${this._activeTab === "input"}><div class="inputs-tab-container">${a}</div></calcite-tab>`);
|
|
169
146
|
}
|
|
170
|
-
#
|
|
147
|
+
#C() {
|
|
171
148
|
const { state: t } = this;
|
|
172
149
|
if (this._mode !== "default")
|
|
173
150
|
return null;
|
|
174
|
-
const e = t === "disabled" || t === "loading" || !this.#
|
|
175
|
-
return
|
|
151
|
+
const e = t === "disabled" || t === "loading" || !this.#t?.traceConfiguration;
|
|
152
|
+
return i`<calcite-button appearance=solid width=full @click=${this.#h} slot=footer .disabled=${e}>${this._messages.buttons.getResults}</calcite-button>`;
|
|
176
153
|
}
|
|
177
154
|
render() {
|
|
178
155
|
const { _activeTab: t, state: e } = this;
|
|
179
|
-
return
|
|
156
|
+
return i`<calcite-panel><calcite-tabs layout=center position=top><calcite-tab-nav slot=title-group><calcite-tab-title @click=${() => this.#a("input")} .selected=${t === "input"}>${this._messages.tabs.inputTab}</calcite-tab-title><calcite-tab-title @click=${() => this.#a("results")} .selected=${t === "results"} .disabled=${e === "disabled" || e === "loading"}>${this._messages.tabs.resultsTab}</calcite-tab-title></calcite-tab-nav>${this.#x()}${this.#_()}</calcite-tabs>${t === "input" ? this.#C() : null}${t === "results" ? this.#R() : null}</calcite-panel>`;
|
|
180
157
|
}
|
|
181
158
|
}
|
|
182
|
-
|
|
159
|
+
u("arcgis-utility-network-trace-analysis-next", R);
|
|
183
160
|
export {
|
|
184
|
-
|
|
161
|
+
R as ArcgisUtilityNetworkTraceAnalysisNext
|
|
185
162
|
};
|
|
@@ -14,7 +14,7 @@ import { css as T, html as s } from "lit";
|
|
|
14
14
|
import { u as $ } from "../../chunks/useT9n.js";
|
|
15
15
|
import { l as S } from "../../chunks/async-utils.js";
|
|
16
16
|
import { a as C, i as p, c as v, q as N, b as _ } from "../../chunks/layer-utils.js";
|
|
17
|
-
const P = T`:host{height:100%;flex-grow:1}calcite-flow{min-height:var(--arcgis-internal-panel-height-sm, 240px)}calcite-block-group{flex-grow:1;padding-bottom:var(--calcite-spacing-md);background-color:var(--calcite-color-foreground-1)}calcite-block{--calcite-block-content-space: 0;--calcite-block-border-color: transparent;margin:0}calcite-block calcite-combobox,calcite-block calcite-input{margin:0 var(--calcite-spacing-md)}calcite-block calcite-input-message{padding:var(--calcite-spacing-sm) var(--calcite-spacing-md) 0}calcite-notice{margin:var(--calcite-spacing-md)}
|
|
17
|
+
const P = T`:host{height:100%;flex-grow:1}calcite-flow{min-height:var(--arcgis-internal-panel-height-sm, 240px)}calcite-block-group{flex-grow:1;padding-bottom:var(--calcite-spacing-md);background-color:var(--calcite-color-foreground-1)}calcite-block{--calcite-block-content-space: 0;--calcite-block-border-color: transparent;margin:0}calcite-block calcite-combobox,calcite-block calcite-input{margin:0 var(--calcite-spacing-md)}calcite-block calcite-input-message{padding:var(--calcite-spacing-sm) var(--calcite-spacing-md) 0}calcite-notice{margin:var(--calcite-spacing-md)}.subnetwork-info-block{margin:var(--calcite-spacing-md) var(--calcite-spacing-md) 0}.results-limited-message{padding:var(--calcite-spacing-sm)}.inline-loader{--calcite-loader-spacing: var(--calcite-spacing-md)}.add-spatial-mode{display:flex;flex-direction:column;gap:var(--calcite-spacing-md);margin:var(--calcite-spacing-md)}.heading{color:var(--calcite-color-text-1);margin:0 0 var(--calcite-spacing-md);font-size:var(--calcite-font-size);font-weight:var(--calcite-font-weight-medium)}`, h = `utility-network-trace-inputs-sketch-${Date.now()}`;
|
|
18
18
|
class F extends k {
|
|
19
19
|
constructor() {
|
|
20
20
|
super(...arguments), this._messages = $({ blocking: !0 }), this.#l = !0, this.#d = /* @__PURE__ */ new Map(), this.#a = new c(), this.#r = new c(), this.#s = new c(), this.#t = null, this.#c = 20, this._candidateFeatures = [], this._compatibleSubnetworkNames = [], this._namedTraceConfigurations = [], this._subnetworkNamesState = "ready", this._exceedDisplayLimit = !1, this.autoDestroyDisabled = !1, this.hideActionBar = !1, this.mode = "default", this.arcgisPropertyChange = L()("mode"), this.arcgisSelectedNamedTraceConfigurationChange = n(), this.arcgisTraceInputsChange = n(), this.arcgisTraceLocationSelectEnd = n(), this.arcgisTraceLocationSelectStart = n(), this.arcgisUtilityNetworkChange = n();
|
|
@@ -289,7 +289,7 @@ class F extends k {
|
|
|
289
289
|
const { mode: e, _messages: t, _selectedFeature: i, selectedUtilityNetwork: a } = this, r = e === "add-spatial-feature" && this._exceedDisplayLimit && !i, o = f(t.warnings.exceededDisplayLimit, {
|
|
290
290
|
limit: this.#c.toString()
|
|
291
291
|
}), l = i ? !(a?.isUtilityLayer(i.layer) ?? !0) : !0;
|
|
292
|
-
return s`${r && s`<calcite-input-message
|
|
292
|
+
return s`${r && s`<calcite-input-message class="results-limited-message" icon=exclamation-mark-circle status=idle>${o}</calcite-input-message>` || ""}<calcite-button appearance=outline width=full @click=${() => this.#n()} slot=footer>${t.buttons.cancel}</calcite-button>${e === "add-spatial-feature" && s`<calcite-button width=full slot=footer appearance=solid @click=${() => this.#j()} .disabled=${l}>${t.buttons.add}</calcite-button>` || ""}`;
|
|
293
293
|
}
|
|
294
294
|
#K() {
|
|
295
295
|
return s`<arcgis-utility-network-trace-location-next .view=${this.view} trace-location-type=starting-point .beforeTraceLocationSelectStart=${this.beforeTraceLocationSelectStart} @arcgisTraceLocationSelectStart=${this.#u} @arcgisTraceLocationSelectEnd=${this.#g} @arcgisTraceLocationChange=${() => this.arcgisTraceInputsChange.emit()} .sketchViewModel=${this.#e} .utilityNetwork=${this.selectedUtilityNetwork} .filterLayers=${this.#i} .traceLocations=${this.#a} .afterHitTest=${this.#p.bind(this)} .autoDestroyDisabled=${this.autoDestroyDisabled} ${d(this.#N)}></arcgis-utility-network-trace-location-next>`;
|
|
@@ -6,6 +6,7 @@ import type Layer from "@arcgis/core/layers/Layer.js";
|
|
|
6
6
|
import type UtilityNetwork from "@arcgis/core/networks/UtilityNetwork.js";
|
|
7
7
|
import type TraceResult from "@arcgis/core/rest/networks/support/TraceResult.js";
|
|
8
8
|
import type MapView from "@arcgis/core/views/MapView.js";
|
|
9
|
+
import type { ActionEvent } from "@arcgis/core/widgets/Popup/types.js";
|
|
9
10
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
10
11
|
import type { ArcgisFeaturesNext } from "../arcgis-features-next/customElement.js";
|
|
11
12
|
import type { ArcgisReferenceElement } from "../types.js";
|
|
@@ -71,6 +72,16 @@ export abstract class ArcgisUtilityNetworkTraceResultsNext extends LitElement {
|
|
|
71
72
|
traceFailedDescription: string;
|
|
72
73
|
traceFailedHeading: string;
|
|
73
74
|
}>;
|
|
75
|
+
/**
|
|
76
|
+
* 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.
|
|
77
|
+
* 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-results-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/).
|
|
78
|
+
*
|
|
79
|
+
* 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-results-next/#event-arcgisTriggerAction) event fires each time an action is clicked.
|
|
80
|
+
*
|
|
81
|
+
* @see [@arcgisTriggerAction](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-trace-results-next/#event-arcgisTriggerAction)
|
|
82
|
+
* @see [Popup actions sample](https://developers.arcgis.com/javascript/latest/sample-code/popup-actions/)
|
|
83
|
+
*/
|
|
84
|
+
accessor actions: ArcgisFeaturesNext["actions"] | undefined;
|
|
74
85
|
accessor aggregatedGeometryGraphicsColor: Color;
|
|
75
86
|
/**
|
|
76
87
|
* If true, the component will not be destroyed automatically when it is
|
|
@@ -91,6 +102,14 @@ export abstract class ArcgisUtilityNetworkTraceResultsNext extends LitElement {
|
|
|
91
102
|
*
|
|
92
103
|
*/
|
|
93
104
|
accessor autoDestroyDisabled: boolean;
|
|
105
|
+
/**
|
|
106
|
+
* Whether to disable highlighting trace result features on the map.
|
|
107
|
+
* If true, the features returned by a trace will not be highlighted on the map.
|
|
108
|
+
*
|
|
109
|
+
* @default false
|
|
110
|
+
*/
|
|
111
|
+
accessor disableHighlightFeatureResults: boolean;
|
|
112
|
+
accessor heading: string | undefined;
|
|
94
113
|
/**
|
|
95
114
|
* @default false
|
|
96
115
|
* @internal
|
|
@@ -98,15 +117,30 @@ export abstract class ArcgisUtilityNetworkTraceResultsNext extends LitElement {
|
|
|
98
117
|
accessor hideActionBar: boolean;
|
|
99
118
|
/** @default false */
|
|
100
119
|
accessor hideFeatureResults: boolean;
|
|
101
|
-
/**
|
|
102
|
-
|
|
120
|
+
/**
|
|
121
|
+
* Whether to hide the placeholder string when feature results are hidden.
|
|
122
|
+
*
|
|
123
|
+
* When this property and [hideFeatureResults](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-trace-results-next/#hideFeatureResults) are both set to `true`,
|
|
124
|
+
* nothing is rendered for trace result elements. However, features are still queried and are available through
|
|
125
|
+
* [traceResultFeatures](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-trace-results-next/#traceResultFeatures).
|
|
126
|
+
*
|
|
127
|
+
* @default false
|
|
128
|
+
*/
|
|
129
|
+
accessor hidePlaceholder: boolean;
|
|
130
|
+
/**
|
|
131
|
+
* Indicates whether default actions are disabled (hidden) when viewing trace result features.
|
|
132
|
+
* This property must be set to `true` to disable default actions.
|
|
133
|
+
*
|
|
134
|
+
* @default false
|
|
135
|
+
*/
|
|
136
|
+
accessor includeDefaultActionsDisabled: boolean;
|
|
103
137
|
accessor layers: Layer[];
|
|
104
138
|
/**
|
|
105
139
|
* Replace localized message strings with your own strings.
|
|
106
140
|
*
|
|
107
141
|
* _**Note**: Individual message keys may change between releases._
|
|
108
142
|
*/
|
|
109
|
-
accessor messageOverrides:
|
|
143
|
+
accessor messageOverrides: {
|
|
110
144
|
gettingResults?: string | undefined;
|
|
111
145
|
headings?: {
|
|
112
146
|
aggregatedGeometry?: string | undefined;
|
|
@@ -132,37 +166,44 @@ export abstract class ArcgisUtilityNetworkTraceResultsNext extends LitElement {
|
|
|
132
166
|
traceFailedDescription?: string | undefined;
|
|
133
167
|
traceFailedHeading?: string | undefined;
|
|
134
168
|
};
|
|
135
|
-
|
|
169
|
+
/**
|
|
170
|
+
* The number of unique network element results,
|
|
171
|
+
* including elements that did not match any layer in the map.
|
|
172
|
+
*
|
|
173
|
+
* TODO: We can remove this after we allow the result items to be rendered declaratively
|
|
174
|
+
* as children of the trace results component.
|
|
175
|
+
*/
|
|
176
|
+
get numFeatureResults(): number;
|
|
136
177
|
/**
|
|
137
178
|
* 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.
|
|
138
179
|
*
|
|
139
180
|
* @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)
|
|
140
181
|
*/
|
|
141
182
|
accessor referenceElement: ArcgisReferenceElement | string | undefined;
|
|
142
|
-
/** @default "
|
|
183
|
+
/** @default "loading" */
|
|
143
184
|
accessor state: State;
|
|
144
|
-
accessor traceConfigTitle: string | undefined;
|
|
145
185
|
accessor traceError: EsriError<TraceErrorDetails> | undefined;
|
|
146
186
|
accessor traceResult: TraceResult | undefined;
|
|
147
|
-
|
|
187
|
+
get traceResultFeatures(): Graphic[];
|
|
148
188
|
accessor utilityNetwork: UtilityNetwork | undefined;
|
|
149
189
|
/**
|
|
150
190
|
* The view associated with the component.
|
|
151
191
|
* > **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-trace-results-next component will be associated with a map or scene component rather than using the `view` property.
|
|
152
192
|
*/
|
|
153
193
|
accessor view: MapView | undefined;
|
|
154
|
-
|
|
194
|
+
clearResults(): void;
|
|
155
195
|
/** Permanently destroy the component. */
|
|
156
196
|
destroy(): Promise<void>;
|
|
157
197
|
readonly arcgisAggregatedGeometryGraphicsColorChange: import("@arcgis/lumina").TargetedEvent<this, Color>;
|
|
158
198
|
readonly arcgisHideGraphicsChange: import("@arcgis/lumina").TargetedEvent<this, boolean>;
|
|
159
|
-
readonly arcgisSelectedResultTypeChange: import("@arcgis/lumina").TargetedEvent<this, void>;
|
|
160
199
|
readonly arcgisTraceResultFeaturesReady: import("@arcgis/lumina").TargetedEvent<this, void>;
|
|
200
|
+
/** Emitted when an action is triggered on the component. */
|
|
201
|
+
readonly arcgisTriggerAction: import("@arcgis/lumina").TargetedEvent<this, ActionEvent>;
|
|
161
202
|
readonly "@eventTypes": {
|
|
162
203
|
arcgisAggregatedGeometryGraphicsColorChange: ArcgisUtilityNetworkTraceResultsNext["arcgisAggregatedGeometryGraphicsColorChange"]["detail"];
|
|
163
204
|
arcgisHideGraphicsChange: ArcgisUtilityNetworkTraceResultsNext["arcgisHideGraphicsChange"]["detail"];
|
|
164
|
-
arcgisSelectedResultTypeChange: ArcgisUtilityNetworkTraceResultsNext["arcgisSelectedResultTypeChange"]["detail"];
|
|
165
205
|
arcgisTraceResultFeaturesReady: ArcgisUtilityNetworkTraceResultsNext["arcgisTraceResultFeaturesReady"]["detail"];
|
|
206
|
+
arcgisTriggerAction: ArcgisUtilityNetworkTraceResultsNext["arcgisTriggerAction"]["detail"];
|
|
166
207
|
};
|
|
167
208
|
}
|
|
168
209
|
|