@arcgis/map-components 5.2.0-next.93 → 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/7N4V2IN6.js +2 -0
- package/dist/cdn/{HTDQ3T52.js → 7TKEMQVG.js} +1 -1
- package/dist/cdn/{VNT4QL2K.js → 7TTSWTGP.js} +1 -1
- package/dist/cdn/7ZZWKH2U.js +3 -0
- 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/AY2PVEY5.js +2 -0
- 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/BR6D5EO4.js +2 -0
- 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/GH2RPE3P.js +2 -0
- 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/{BSLVN2NW.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/{DMFYRFSD.js → JKOIMKKL.js} +1 -1
- package/dist/cdn/{KX3XJGXZ.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/MIIHAXAZ.js +2 -0
- package/dist/cdn/MLXWIPK2.js +2 -0
- 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/{35VRWQWE.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/{DCGOOUOL.js → XFA3SAYB.js} +1 -1
- package/dist/cdn/{Q2GU7GDS.js → XKRMD24I.js} +1 -1
- package/dist/cdn/XQH6U57U.js +2 -0
- 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/YDP5A3EP.js +2 -0
- package/dist/cdn/{YNC35BAZ.js → YELCBIGX.js} +1 -1
- package/dist/cdn/{H2MG6U2T.js → YHNCQVNV.js} +1 -1
- package/dist/cdn/{FD7U6V53.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/{DDGANMOY.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/assets/utility-network-trace-configuration-picker/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/chunks/keyboard-utils.js +14 -8
- package/dist/chunks/layer-list-item.js +13 -13
- package/dist/chunks/useArcgisViewReadyError.js +14 -9
- 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-media/customElement.js +47 -47
- package/dist/components/arcgis-feature-table/customElement.js +1 -1
- package/dist/components/arcgis-features/customElement.js +17 -17
- package/dist/components/arcgis-features-next/customElement.js +31 -27
- package/dist/components/arcgis-link-chart/customElement.js +23 -20
- package/dist/components/arcgis-map/customElement.js +15 -12
- package/dist/components/arcgis-navigation-toggle/customElement.js +1 -1
- 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.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.js +6 -0
- package/dist/components/arcgis-utility-network-picker/customElement.js +18 -15
- 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-configuration-picker/customElement.d.ts +89 -0
- package/dist/components/arcgis-utility-network-trace-configuration-picker/customElement.js +137 -0
- package/dist/components/arcgis-utility-network-trace-configuration-picker/index.d.ts +1 -0
- package/dist/components/arcgis-utility-network-trace-configuration-picker/index.js +9 -0
- package/dist/components/arcgis-utility-network-trace-inputs-next/customElement.js +137 -206
- package/dist/components/arcgis-utility-network-trace-inputs-next/index.js +1 -6
- 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/components/arcgis-weather/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 +29 -3
- package/dist/loader.js +7 -4
- package/dist/types/lumina.d.ts +24 -7
- package/dist/types/preact.d.ts +27 -8
- package/dist/types/react.d.ts +30 -9
- package/dist/types/stencil.d.ts +24 -7
- package/package.json +5 -5
- package/dist/cdn/323SSBOJ.js +0 -2
- package/dist/cdn/32XG4IQO.js +0 -2
- package/dist/cdn/34CXVCB3.js +0 -2
- package/dist/cdn/BXDUMWWE.js +0 -2
- package/dist/cdn/ECXFGOCB.js +0 -2
- package/dist/cdn/FLVENMD3.js +0 -2
- package/dist/cdn/FR3EHEIV.js +0 -2
- package/dist/cdn/HEYHZKI2.js +0 -3
- package/dist/cdn/I5DFLVVJ.js +0 -2
- package/dist/cdn/IORWRMMG.js +0 -2
- package/dist/cdn/J3743ZYD.js +0 -2
- package/dist/cdn/KGXZG3YI.js +0 -2
- package/dist/cdn/MSNVY4PH.js +0 -2
- package/dist/cdn/NO6MFBNV.js +0 -2
- package/dist/cdn/NP5NJFWN.js +0 -2
- package/dist/cdn/Q6TYHAOA.js +0 -2
- package/dist/cdn/R6ZUE6GP.js +0 -2
- package/dist/cdn/RJSJ53UD.js +0 -2
- package/dist/cdn/SYDGAFU5.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/cdn/assets/utility-network-subnetwork-info-next/t9n/messages.en.json +0 -1
- package/dist/components/arcgis-utility-network-subnetwork-info-next/customElement.d.ts +0 -29
- package/dist/components/arcgis-utility-network-subnetwork-info-next/customElement.js +0 -35
- package/dist/support/time-utils.d.ts +0 -7
- /package/dist/components/{arcgis-utility-network-subnetwork-info-next → arcgis-time-zone-chip}/index.d.ts +0 -0
- /package/dist/components/{arcgis-utility-network-subnetwork-info-next/index.js → arcgis-utility-network-elements-result-item/index.d.ts} +0 -0
|
@@ -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
|
};
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
/// <reference path="../../index.d.ts" />
|
|
2
|
+
import type NamedTraceConfiguration from "@arcgis/core/networks/support/NamedTraceConfiguration.js";
|
|
3
|
+
import type UNTraceConfiguration from "@arcgis/core/networks/support/UNTraceConfiguration.js";
|
|
4
|
+
import type UtilityNetwork from "@arcgis/core/networks/UtilityNetwork.js";
|
|
5
|
+
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
6
|
+
import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Selects a named trace configuration from a list and displays subnetwork fields from the named trace configuration:
|
|
10
|
+
* Domain network name, tier name, and target tier name.
|
|
11
|
+
*
|
|
12
|
+
* @since 5.2
|
|
13
|
+
* @internal
|
|
14
|
+
*/
|
|
15
|
+
export abstract class ArcgisUtilityNetworkTraceConfigurationPicker extends LitElement {
|
|
16
|
+
/** @internal */
|
|
17
|
+
protected _messages: {
|
|
18
|
+
errors: {
|
|
19
|
+
noCompatibleSubnetworks: string;
|
|
20
|
+
noTraceConfiguration: string;
|
|
21
|
+
traceConfigurationNotFound: string;
|
|
22
|
+
noTraceConfigurations: string;
|
|
23
|
+
};
|
|
24
|
+
headings: {
|
|
25
|
+
domainNetwork: string;
|
|
26
|
+
targetTier: string;
|
|
27
|
+
tier: string;
|
|
28
|
+
};
|
|
29
|
+
instructions: { enterSubnetworkName: string; };
|
|
30
|
+
labels: {
|
|
31
|
+
subnetworkInfo: string;
|
|
32
|
+
subnetworkName: string;
|
|
33
|
+
tooManySubnetworks: string;
|
|
34
|
+
traceConfiguration: string;
|
|
35
|
+
};
|
|
36
|
+
} & T9nMeta<{
|
|
37
|
+
errors: {
|
|
38
|
+
noCompatibleSubnetworks: string;
|
|
39
|
+
noTraceConfiguration: string;
|
|
40
|
+
traceConfigurationNotFound: string;
|
|
41
|
+
noTraceConfigurations: string;
|
|
42
|
+
};
|
|
43
|
+
headings: {
|
|
44
|
+
domainNetwork: string;
|
|
45
|
+
targetTier: string;
|
|
46
|
+
tier: string;
|
|
47
|
+
};
|
|
48
|
+
instructions: { enterSubnetworkName: string; };
|
|
49
|
+
labels: {
|
|
50
|
+
subnetworkInfo: string;
|
|
51
|
+
subnetworkName: string;
|
|
52
|
+
tooManySubnetworks: string;
|
|
53
|
+
traceConfiguration: string;
|
|
54
|
+
};
|
|
55
|
+
}>;
|
|
56
|
+
accessor error: string | undefined;
|
|
57
|
+
accessor heading: string | undefined;
|
|
58
|
+
/** @default false */
|
|
59
|
+
accessor hideErrors: boolean;
|
|
60
|
+
/** @default false */
|
|
61
|
+
accessor hideSubnetworkInfo: boolean;
|
|
62
|
+
/**
|
|
63
|
+
* Whether a the user has selected a named trace configuration that executes a
|
|
64
|
+
* subnetwork trace with a specified subnetwork name.
|
|
65
|
+
*
|
|
66
|
+
* @default false
|
|
67
|
+
* @internal
|
|
68
|
+
*/
|
|
69
|
+
get isSubnetworkNameTraceSelected(): boolean;
|
|
70
|
+
accessor selectedNamedTraceConfiguration: NamedTraceConfiguration | undefined;
|
|
71
|
+
/** @default "ready" */
|
|
72
|
+
accessor state: "error" | "loading" | "ready";
|
|
73
|
+
/**
|
|
74
|
+
* A clone of the utility network trace configuration associated with
|
|
75
|
+
* the selected named trace configuration. Updates on this object are
|
|
76
|
+
* used to reflect the user's changes to the named trace configuration.
|
|
77
|
+
*/
|
|
78
|
+
accessor traceConfiguration: UNTraceConfiguration | undefined;
|
|
79
|
+
/** @required */
|
|
80
|
+
accessor traceConfigurations: NamedTraceConfiguration[];
|
|
81
|
+
/** @required */
|
|
82
|
+
accessor utilityNetwork: UtilityNetwork | undefined;
|
|
83
|
+
readonly arcgisError: import("@arcgis/lumina").TargetedEvent<this, void>;
|
|
84
|
+
readonly arcgisPropertyChange: import("@arcgis/lumina").TargetedEvent<this, { name: "selectedNamedTraceConfiguration" | "traceConfiguration"; }>;
|
|
85
|
+
readonly "@eventTypes": {
|
|
86
|
+
arcgisError: ArcgisUtilityNetworkTraceConfigurationPicker["arcgisError"]["detail"];
|
|
87
|
+
arcgisPropertyChange: ArcgisUtilityNetworkTraceConfigurationPicker["arcgisPropertyChange"]["detail"];
|
|
88
|
+
};
|
|
89
|
+
}
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
+
import { c as u } from "../../chunks/runtime.js";
|
|
3
|
+
import m from "@arcgis/core/networks/support/UNTraceConfiguration.js";
|
|
4
|
+
import { LitElement as d, createEvent as h } from "@arcgis/lumina";
|
|
5
|
+
import { u as b } from "../../chunks/useT9n.js";
|
|
6
|
+
import { css as g, html as r } from "lit";
|
|
7
|
+
import { log as c } from "@arcgis/toolkit/log";
|
|
8
|
+
import { usePropertyChange as f } from "@arcgis/lumina/controllers";
|
|
9
|
+
import { q as k } from "../../chunks/layer-utils.js";
|
|
10
|
+
const w = g`:host{height:100%;flex-grow:1}.subnetwork-details{border-radius:var(--calcite-border-radius);border:solid 1px var(--calcite-color-border-3)}.key-value-pair{padding:var(--calcite-space-sm)}.key-value-pair__key{font-size:var(--calcite-font-size--2);color:var(--calcite-color-text-3)}.key-value-pair__value{font-size:var(--calcite-font-size--1);color:var(--calcite-color-text-1)}calcite-block{--calcite-block-content-space: 0;--calcite-block-border-color: transparent;margin:0}calcite-block :is(calcite-combobox,calcite-input,calcite-label,calcite-notice){margin:0 var(--calcite-space-md) var(--calcite-space-md)}calcite-block>:last-child{margin-bottom:0}calcite-block calcite-input-message{padding:var(--calcite-space-sm) var(--calcite-space-md) 0}calcite-notice{margin:var(--calcite-space-md)}#subnetwork-info-block{margin:var(--calcite-space-md) var(--calcite-space-md) 0}.inline-loader{--calcite-loader-spacing: var(--calcite-space-md)}`, C = 20, p = /* @__PURE__ */ new Set(["subnetwork", "subnetwork-controller", "upstream", "downstream", "isolation"]);
|
|
11
|
+
class N extends d {
|
|
12
|
+
constructor() {
|
|
13
|
+
super(...arguments), this._messages = b({ blocking: !0 }), this._subnetworkNamesState = "ready", this._compatibleSubnetworkNames = [], this.traceConfigurations = [], this.hideSubnetworkInfo = !1, this.hideErrors = !1, this.state = "ready", this.arcgisPropertyChange = f()("selectedNamedTraceConfiguration", "traceConfiguration"), this.arcgisError = h();
|
|
14
|
+
}
|
|
15
|
+
static {
|
|
16
|
+
this.properties = { _subnetworksTable: 16, _subnetworkNamesState: 16, _compatibleSubnetworkNames: 16, selectedNamedTraceConfiguration: 0, traceConfigurations: 0, utilityNetwork: 0, heading: 1, traceConfiguration: 0, isSubnetworkNameTraceSelected: 32, hideSubnetworkInfo: 5, hideErrors: 5, error: 1, state: 1 };
|
|
17
|
+
}
|
|
18
|
+
static {
|
|
19
|
+
this.styles = w;
|
|
20
|
+
}
|
|
21
|
+
get #e() {
|
|
22
|
+
return this.traceConfiguration?.subnetworkName ?? void 0;
|
|
23
|
+
}
|
|
24
|
+
set #e(e) {
|
|
25
|
+
this.traceConfiguration && (this.traceConfiguration.subnetworkName = e);
|
|
26
|
+
}
|
|
27
|
+
get isSubnetworkNameTraceSelected() {
|
|
28
|
+
const { selectedNamedTraceConfiguration: e } = this;
|
|
29
|
+
return !!e?.traceConfiguration?.subnetworkName && e?.traceType === "subnetwork";
|
|
30
|
+
}
|
|
31
|
+
willUpdate(e) {
|
|
32
|
+
e.has("traceConfigurations") && this.#d(), e.has("selectedNamedTraceConfiguration") && this.#o(), e.has("utilityNetwork") && this.#m();
|
|
33
|
+
}
|
|
34
|
+
async #o() {
|
|
35
|
+
const { selectedNamedTraceConfiguration: e, _messages: t } = this;
|
|
36
|
+
if (!(e?.traceConfiguration instanceof m)) {
|
|
37
|
+
this.#t(t.errors.noTraceConfiguration), this.traceConfiguration = void 0, this.arcgisPropertyChange.emit({ name: "traceConfiguration" });
|
|
38
|
+
return;
|
|
39
|
+
}
|
|
40
|
+
this.#i(), this.traceConfiguration = e.traceConfiguration.clone(), this.arcgisPropertyChange.emit({ name: "selectedNamedTraceConfiguration" }), this.arcgisPropertyChange.emit({ name: "traceConfiguration" }), this.isSubnetworkNameTraceSelected && (this._subnetworkNamesState = "loading", this.state = "loading", await this.#s(this.traceConfiguration), this._subnetworkNamesState = "ready", this.state = "ready");
|
|
41
|
+
}
|
|
42
|
+
async #s(e) {
|
|
43
|
+
await this.#n(), await this.#c(), e.subnetworkName && !this._compatibleSubnetworkNames.some((t) => t === e.subnetworkName) && (this.#e = this._compatibleSubnetworkNames.at(0));
|
|
44
|
+
}
|
|
45
|
+
async #n() {
|
|
46
|
+
this._subnetworksTable || (this._subnetworksTable = await this.utilityNetwork?.loadSubnetworksTable());
|
|
47
|
+
}
|
|
48
|
+
async #c() {
|
|
49
|
+
const { _subnetworksTable: e } = this;
|
|
50
|
+
if (!e)
|
|
51
|
+
return;
|
|
52
|
+
const t = e.fieldsIndex.get("SUBNETWORKNAME"), i = (s, n, l) => n === 0 || s.getAttribute(t.name) !== l[n - 1].getAttribute(t.name), a = e.createQuery();
|
|
53
|
+
a.gdbVersion = this.utilityNetwork?.gdbVersion, a.where = this.#l(), a.outFields = [t.name], a.orderByFields = [t.name];
|
|
54
|
+
const { features: o } = await k(e, a, void 0, !1);
|
|
55
|
+
this._compatibleSubnetworkNames = o.filter(i).map((s) => s.getAttribute(t.name));
|
|
56
|
+
}
|
|
57
|
+
#l() {
|
|
58
|
+
const e = this.traceConfiguration, t = `DOMAINNETWORKNAME = '${e.domainNetworkName}'`, i = `TIERNAME = '${e.tierName}'`;
|
|
59
|
+
return [t, i].join(" AND ");
|
|
60
|
+
}
|
|
61
|
+
#u(e) {
|
|
62
|
+
const t = this.traceConfigurations.find((i) => i.globalId === e);
|
|
63
|
+
if (!t) {
|
|
64
|
+
this.#t(this._messages.errors.traceConfigurationNotFound), this.traceConfiguration = void 0, this.selectedNamedTraceConfiguration = void 0;
|
|
65
|
+
return;
|
|
66
|
+
}
|
|
67
|
+
this.#i(), this.selectedNamedTraceConfiguration = t;
|
|
68
|
+
}
|
|
69
|
+
#m() {
|
|
70
|
+
this.#e = void 0, this._subnetworksTable = void 0, this._compatibleSubnetworkNames = [];
|
|
71
|
+
}
|
|
72
|
+
#d() {
|
|
73
|
+
this.traceConfiguration = void 0, this.selectedNamedTraceConfiguration = void 0, this.traceConfigurations.length ? (this.#i(), this.selectedNamedTraceConfiguration = this.traceConfigurations.at(0), this.#o()) : this.#t(this._messages.errors.noTraceConfigurations);
|
|
74
|
+
}
|
|
75
|
+
#t(e) {
|
|
76
|
+
c("error", this, e), this.error = e, this.state = "error", this.arcgisError.emit();
|
|
77
|
+
}
|
|
78
|
+
#i() {
|
|
79
|
+
this.error = void 0, this.state = "ready";
|
|
80
|
+
}
|
|
81
|
+
#a(e, t) {
|
|
82
|
+
return r`<div class="key-value-pair"><div class="key-value-pair__key">${e}</div><div class="key-value-pair__value">${t}</div></div>`;
|
|
83
|
+
}
|
|
84
|
+
#r(e, t = !1, i = "exclamation-mark-triangle") {
|
|
85
|
+
return this.hideErrors ? null : r`<calcite-notice .closable=${t} kind=danger open scale=s width=auto .icon=${i}><div slot=message>${e}</div></calcite-notice>`;
|
|
86
|
+
}
|
|
87
|
+
#h() {
|
|
88
|
+
const { selectedNamedTraceConfiguration: e } = this;
|
|
89
|
+
return r`<calcite-label>${e?.title}</calcite-label>`;
|
|
90
|
+
}
|
|
91
|
+
#b() {
|
|
92
|
+
const e = this.traceConfigurations.map((i) => r`<calcite-combobox-item .value=${i.globalId} .heading=${i.title} .selected=${i.globalId === this.selectedNamedTraceConfiguration?.globalId}></calcite-combobox-item>`), t = this._messages.labels.traceConfiguration;
|
|
93
|
+
return r`<calcite-combobox .label=${t} selection-mode=single-persist @calciteComboboxChange=${({ currentTarget: i }) => {
|
|
94
|
+
const a = i.selectedItems[0]?.value;
|
|
95
|
+
this.#u(a);
|
|
96
|
+
}}>${e}</calcite-combobox>`;
|
|
97
|
+
}
|
|
98
|
+
#g() {
|
|
99
|
+
const { _messages: e } = this;
|
|
100
|
+
if (this.error === e.errors.noTraceConfigurations)
|
|
101
|
+
return this.#r(e.errors.noTraceConfigurations);
|
|
102
|
+
const t = this.error ? this.#r(this.error) : null, i = this.traceConfigurations.length > 1 ? this.#b() : this.#h(), a = this._messages.labels.traceConfiguration, o = this.heading ?? a;
|
|
103
|
+
return r`<calcite-block .heading=${o} .label=${a} expanded>${i}${t}</calcite-block>`;
|
|
104
|
+
}
|
|
105
|
+
#f() {
|
|
106
|
+
if (this.hideSubnetworkInfo)
|
|
107
|
+
return null;
|
|
108
|
+
const { _messages: e, selectedNamedTraceConfiguration: t } = this;
|
|
109
|
+
if (!t?.traceConfiguration)
|
|
110
|
+
return this.traceConfiguration = void 0, this.#t(this._messages.errors.noTraceConfiguration), null;
|
|
111
|
+
this.#i();
|
|
112
|
+
const { domainNetworkName: i, tierName: a, targetTierName: o } = t.traceConfiguration;
|
|
113
|
+
return !i && !a && !o ? (c("warn", this, "`namedTraceConfig.traceConfiguration` has no `domainNetworkName`, `tierName`, or `targetTierName`."), null) : r`<calcite-block id=subnetwork-info-block expanded .label=${this._messages.labels.subnetworkInfo}><div class="subnetwork-details">${i ? this.#a(e.headings.domainNetwork, i) : null}${a ? this.#a(e.headings.tier, a) : null}${o ? this.#a(e.headings.targetTier, o) : null}</div></calcite-block>`;
|
|
114
|
+
}
|
|
115
|
+
#k() {
|
|
116
|
+
const { _messages: e } = this, t = e.labels.subnetworkName;
|
|
117
|
+
return this.isSubnetworkNameTraceSelected ? this._subnetworkNamesState === "loading" ? r`<calcite-loader class="inline-loader" label=loading scale=s></calcite-loader>` : this._compatibleSubnetworkNames.length ? r`<calcite-block .heading=${t} .label=${t} expanded>${this._compatibleSubnetworkNames.length > C ? this.#w() : this.#C()}</calcite-block>` : this.#r(e.errors.noCompatibleSubnetworks) : null;
|
|
118
|
+
}
|
|
119
|
+
#w() {
|
|
120
|
+
const { _messages: e } = this;
|
|
121
|
+
return r`<calcite-input clearable type=text .placeholder=${e.instructions.enterSubnetworkName} max-length=64 .status=${this.#e ? "valid" : "invalid"} .value=${this.#e} @calciteInputInput=${(t) => this.#e = t.target.value}></calcite-input><calcite-input-message icon=exclamation-mark-triangle status=idle>${e.labels.tooManySubnetworks}</calcite-input-message>`;
|
|
122
|
+
}
|
|
123
|
+
#C() {
|
|
124
|
+
return r`<calcite-combobox .label=${this._messages.labels.subnetworkName} selection-mode=single-persist @calciteComboboxChange=${({ currentTarget: e }) => {
|
|
125
|
+
const t = e.selectedItems[0]?.value;
|
|
126
|
+
this.#e = t;
|
|
127
|
+
}}>${this._compatibleSubnetworkNames.map((e) => r`<calcite-combobox-item .value=${e} .heading=${e} .selected=${e === this.#e}></calcite-combobox-item>`)}</calcite-combobox>`;
|
|
128
|
+
}
|
|
129
|
+
render() {
|
|
130
|
+
const { selectedNamedTraceConfiguration: e } = this, i = e?.traceType && p.has(e.traceType) ? r`${this.#f()}${this.#k()}` : null;
|
|
131
|
+
return r`${this.#g()}${i}`;
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
u("arcgis-utility-network-trace-configuration-picker", N);
|
|
135
|
+
export {
|
|
136
|
+
N as ArcgisUtilityNetworkTraceConfigurationPicker
|
|
137
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./customElement.js";
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import "@esri/calcite-components/components/calcite-notice";
|
|
2
|
+
import "@esri/calcite-components/components/calcite-label";
|
|
3
|
+
import "@esri/calcite-components/components/calcite-combobox-item";
|
|
4
|
+
import "@esri/calcite-components/components/calcite-combobox";
|
|
5
|
+
import "@esri/calcite-components/components/calcite-block";
|
|
6
|
+
import "@esri/calcite-components/components/calcite-loader";
|
|
7
|
+
import "@esri/calcite-components/components/calcite-input";
|
|
8
|
+
import "@esri/calcite-components/components/calcite-input-message";
|
|
9
|
+
export * from "./customElement.js";
|