@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,25 +1,23 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import { c as
|
|
2
|
+
import { c as g } from "../../chunks/runtime.js";
|
|
3
3
|
import { ref as d } from "lit/directives/ref.js";
|
|
4
4
|
import c from "@arcgis/core/core/Collection.js";
|
|
5
|
-
import { watch as
|
|
6
|
-
import { substitute as
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
const P = v`: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)}`, m = `utility-network-trace-inputs-sketch-${Date.now()}`, D = 20;
|
|
20
|
-
class U extends C {
|
|
5
|
+
import { watch as m } from "@arcgis/core/core/reactiveUtils.js";
|
|
6
|
+
import { substitute as f } from "@arcgis/core/intl.js";
|
|
7
|
+
import y from "@arcgis/core/layers/GraphicsLayer.js";
|
|
8
|
+
import w from "@arcgis/core/rest/networks/support/TraceLocation.js";
|
|
9
|
+
import u from "@arcgis/core/views/interactive/snapping/FeatureSnappingLayerSource.js";
|
|
10
|
+
import b from "@arcgis/core/widgets/Sketch/SketchViewModel.js";
|
|
11
|
+
import { LitElement as k, createEvent as n } from "@arcgis/lumina";
|
|
12
|
+
import { usePropertyChange as L } from "@arcgis/lumina/controllers";
|
|
13
|
+
import { css as T, html as s } from "lit";
|
|
14
|
+
import { u as $ } from "../../chunks/useT9n.js";
|
|
15
|
+
import { l as S } from "../../chunks/async-utils.js";
|
|
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)}.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
|
+
class F extends k {
|
|
21
19
|
constructor() {
|
|
22
|
-
super(...arguments), this._messages =
|
|
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();
|
|
23
21
|
}
|
|
24
22
|
static {
|
|
25
23
|
this.properties = { _selectedFeature: 16, _candidateFeatures: 16, _compatibleSubnetworkNames: 16, _subnetworksTable: 16, _namedTraceConfigurations: 16, _traceConfiguration: 16, _error: 16, _subnetworkNamesState: 16, _activeTraceLocationType: 16, _exceedDisplayLimit: 16, beforeTraceLocationSelectStart: 0, view: 0, selectedUtilityNetwork: 0, selectedNamedTraceConfiguration: 0, autoDestroyDisabled: 5, hideActionBar: 5, traceConfiguration: 32, isSubnetworkNameTraceSelected: 32, referenceElement: 1, mode: 3, traceLocationFlagInfos: 32, traceLocations: 32 };
|
|
@@ -27,38 +25,31 @@ class U extends C {
|
|
|
27
25
|
static {
|
|
28
26
|
this.styles = P;
|
|
29
27
|
}
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
}
|
|
33
|
-
set #e(e) {
|
|
34
|
-
this._traceConfiguration && (this._traceConfiguration.subnetworkName = e);
|
|
35
|
-
}
|
|
36
|
-
#h;
|
|
37
|
-
get #v() {
|
|
28
|
+
#l;
|
|
29
|
+
get #S() {
|
|
38
30
|
const { view: e } = this;
|
|
39
31
|
return e?.map ? e.map.allLayers.toArray().concat(e.map.allTables.toArray()) : [];
|
|
40
32
|
}
|
|
41
|
-
#
|
|
33
|
+
#e;
|
|
34
|
+
#i;
|
|
35
|
+
#d;
|
|
42
36
|
#a;
|
|
43
|
-
#u;
|
|
44
37
|
#r;
|
|
45
38
|
#s;
|
|
39
|
+
#t;
|
|
46
40
|
#o;
|
|
47
|
-
#
|
|
48
|
-
#
|
|
49
|
-
#n;
|
|
50
|
-
#w;
|
|
41
|
+
#m;
|
|
42
|
+
#f;
|
|
51
43
|
#y;
|
|
52
|
-
#k;
|
|
53
44
|
#c;
|
|
54
|
-
get #
|
|
45
|
+
get #w() {
|
|
55
46
|
return !this.isSubnetworkNameTraceSelected;
|
|
56
47
|
}
|
|
57
|
-
get #
|
|
48
|
+
get #b() {
|
|
58
49
|
const e = this.selectedNamedTraceConfiguration?.traceType;
|
|
59
50
|
return e === "path" || e === "circuit";
|
|
60
51
|
}
|
|
61
|
-
get #
|
|
52
|
+
get #C() {
|
|
62
53
|
const e = this.selectedUtilityNetwork?.dataElement?.domainNetworks;
|
|
63
54
|
return e ? e.map((t) => t.subnetworkLayerId).filter((t) => t != null && t > -1) : [];
|
|
64
55
|
}
|
|
@@ -70,52 +61,52 @@ class U extends C {
|
|
|
70
61
|
return !!e?.traceConfiguration?.subnetworkName && e?.traceType === "subnetwork";
|
|
71
62
|
}
|
|
72
63
|
get traceLocationFlagInfos() {
|
|
73
|
-
return new c([...this.#
|
|
64
|
+
return new c([...this.#a, ...this.#r, ...this.#s]);
|
|
74
65
|
}
|
|
75
66
|
get traceLocations() {
|
|
76
67
|
const e = [];
|
|
77
|
-
return this.#
|
|
68
|
+
return this.#w && this.#a.forEach((t) => e.push(...this.#h(t))), this.#b && this.#s.forEach((t) => e.push(...this.#h(t))), this.#r.forEach((t) => e.push(...this.#h(t))), e;
|
|
78
69
|
}
|
|
79
70
|
async destroy() {
|
|
80
|
-
this.#
|
|
71
|
+
this.#D(h), this.#L(), this.#e?.cancel(), this.#o?.destroy(), this.#m?.destroy(), this.#f?.destroy(), this.#y?.destroy(), await this.manager.destroy();
|
|
81
72
|
}
|
|
82
73
|
load() {
|
|
83
|
-
this
|
|
84
|
-
|
|
74
|
+
this.#k(), this.manager.onLifecycle(() => [
|
|
75
|
+
m(() => this.view?.map, () => this.#k())
|
|
85
76
|
]);
|
|
86
77
|
}
|
|
87
78
|
willUpdate(e) {
|
|
88
|
-
e.has("selectedUtilityNetwork") && (this.arcgisUtilityNetworkChange.emit(), this.#
|
|
79
|
+
e.has("selectedUtilityNetwork") && (this.arcgisUtilityNetworkChange.emit(), this.#A()), e.has("selectedNamedTraceConfiguration") && (this.arcgisTraceInputsChange.emit(), this.arcgisSelectedNamedTraceConfigurationChange.emit());
|
|
89
80
|
}
|
|
90
81
|
disconnectedCallback() {
|
|
91
|
-
super.disconnectedCallback(), this.#
|
|
82
|
+
super.disconnectedCallback(), this.#d.clear();
|
|
92
83
|
}
|
|
93
|
-
#
|
|
84
|
+
#v({ detail: e, target: t }) {
|
|
94
85
|
(e.name === "selectedDrillInFeature" || e.name === "selectedFeature") && (this._selectedFeature = t.selectedDrillInFeature ?? t.selectedFeature ?? void 0);
|
|
95
86
|
}
|
|
96
|
-
|
|
87
|
+
#k() {
|
|
97
88
|
if (this._error = void 0, !this.view?.map) {
|
|
98
89
|
this._error = this._messages.errors.noView;
|
|
99
90
|
return;
|
|
100
91
|
}
|
|
101
92
|
const e = this.view.map;
|
|
102
|
-
this.#
|
|
103
|
-
}
|
|
104
|
-
#I(e) {
|
|
105
|
-
e && (this.#w = e);
|
|
93
|
+
this.#x(e);
|
|
106
94
|
}
|
|
107
|
-
#
|
|
108
|
-
e && (this.#
|
|
95
|
+
#N(e) {
|
|
96
|
+
e && (this.#m = e);
|
|
109
97
|
}
|
|
110
|
-
#
|
|
111
|
-
e && (this.#
|
|
98
|
+
#_(e) {
|
|
99
|
+
e && (this.#f = e);
|
|
112
100
|
}
|
|
113
101
|
#P(e) {
|
|
114
|
-
e && (this.#
|
|
102
|
+
e && (this.#y = e);
|
|
115
103
|
}
|
|
116
|
-
#
|
|
104
|
+
#F(e) {
|
|
105
|
+
e && (this.#o = e);
|
|
106
|
+
}
|
|
107
|
+
#h(e) {
|
|
117
108
|
const t = e.flagProperties.selectedTerminals;
|
|
118
|
-
return e.flagProperties.terminalConfiguration && t?.size ? Array.from(t, (i) => new
|
|
109
|
+
return e.flagProperties.terminalConfiguration && t?.size ? Array.from(t, (i) => new w({
|
|
119
110
|
type: e.traceLocation.type,
|
|
120
111
|
isFilterBarrier: e.traceLocation.isFilterBarrier,
|
|
121
112
|
globalId: e.traceLocation.globalId,
|
|
@@ -123,262 +114,202 @@ class U extends C {
|
|
|
123
114
|
terminalId: i
|
|
124
115
|
})) : [e.traceLocation];
|
|
125
116
|
}
|
|
126
|
-
#
|
|
117
|
+
#L() {
|
|
127
118
|
const { view: e } = this;
|
|
128
|
-
this.#
|
|
119
|
+
this.#a.forEach((t) => {
|
|
129
120
|
t.spatialProperties.flagGraphic && e?.graphics.remove(t.spatialProperties.flagGraphic);
|
|
130
|
-
}), this.#
|
|
121
|
+
}), this.#a.removeAll(), this.#r.forEach((t) => {
|
|
131
122
|
t.spatialProperties.flagGraphic && e?.graphics.remove(t.spatialProperties.flagGraphic);
|
|
132
|
-
}), this.#
|
|
123
|
+
}), this.#r.removeAll(), this.#s.forEach((t) => {
|
|
133
124
|
t.spatialProperties.flagGraphic && e?.graphics.remove(t.spatialProperties.flagGraphic);
|
|
134
|
-
}), this.#
|
|
125
|
+
}), this.#s.removeAll();
|
|
135
126
|
}
|
|
136
|
-
#
|
|
127
|
+
#I(e, t) {
|
|
137
128
|
if (!e.findLayerById(t)) {
|
|
138
|
-
const a = new
|
|
129
|
+
const a = new y({
|
|
139
130
|
id: t,
|
|
140
131
|
listMode: "hide",
|
|
141
132
|
title: t
|
|
142
133
|
});
|
|
143
|
-
|
|
134
|
+
C(this.view, a);
|
|
144
135
|
}
|
|
145
136
|
}
|
|
146
|
-
#
|
|
137
|
+
#E(e, t) {
|
|
147
138
|
const i = e.findLayerById(t);
|
|
148
139
|
return p(i) ? (e.reorder(i, e.layers.length - 1), i) : null;
|
|
149
140
|
}
|
|
150
|
-
#
|
|
141
|
+
#D(e) {
|
|
151
142
|
if (!this.view?.map)
|
|
152
143
|
return;
|
|
153
144
|
const { map: t } = this.view, i = t?.findLayerById(e);
|
|
154
145
|
i && p(i) && t?.remove(i);
|
|
155
146
|
}
|
|
156
|
-
#
|
|
157
|
-
if (!this.#
|
|
147
|
+
#T() {
|
|
148
|
+
if (!this.#e)
|
|
158
149
|
return;
|
|
159
150
|
const e = new c();
|
|
160
|
-
this.#
|
|
161
|
-
|
|
162
|
-
e.add(new
|
|
151
|
+
this.#i?.forEach((t) => {
|
|
152
|
+
v(t) ? t.sublayers.forEach((i) => {
|
|
153
|
+
e.add(new u({
|
|
163
154
|
layer: i,
|
|
164
155
|
enabled: !0
|
|
165
156
|
}));
|
|
166
|
-
}) : e.add(new
|
|
157
|
+
}) : e.add(new u({
|
|
167
158
|
layer: t,
|
|
168
159
|
enabled: !0
|
|
169
160
|
}));
|
|
170
|
-
}), this.#
|
|
161
|
+
}), this.#e.snappingOptions = {
|
|
171
162
|
enabled: !1,
|
|
172
163
|
featureSources: e
|
|
173
164
|
};
|
|
174
165
|
}
|
|
175
|
-
#
|
|
176
|
-
const { view: t } = this, i = this.#
|
|
177
|
-
return new
|
|
166
|
+
#U(e) {
|
|
167
|
+
const { view: t } = this, i = this.#E(e, h);
|
|
168
|
+
return new b({
|
|
178
169
|
layer: i,
|
|
179
170
|
view: t
|
|
180
171
|
});
|
|
181
172
|
}
|
|
182
|
-
#
|
|
183
|
-
this.#
|
|
184
|
-
}
|
|
185
|
-
#G() {
|
|
186
|
-
this.#e = void 0, this._subnetworksTable = void 0, this._compatibleSubnetworkNames = [];
|
|
187
|
-
}
|
|
188
|
-
async #V() {
|
|
189
|
-
this._subnetworksTable || (this._subnetworksTable = await this.selectedUtilityNetwork?.loadSubnetworksTable());
|
|
190
|
-
}
|
|
191
|
-
async #q() {
|
|
192
|
-
const { _subnetworksTable: e } = this;
|
|
193
|
-
if (!e)
|
|
194
|
-
return;
|
|
195
|
-
const t = e.fieldsIndex.get("SUBNETWORKNAME"), i = (o, n, h) => n === 0 || o.getAttribute(t.name) !== h[n - 1].getAttribute(t.name), a = e.createQuery();
|
|
196
|
-
a.gdbVersion = this.selectedUtilityNetwork?.gdbVersion, a.where = this.#O(), a.outFields = [t.name], a.orderByFields = [t.name];
|
|
197
|
-
const { features: s } = await f(e, a, void 0, !1);
|
|
198
|
-
this._compatibleSubnetworkNames = s.filter(i).map((o) => o.getAttribute(t.name));
|
|
199
|
-
}
|
|
200
|
-
#O() {
|
|
201
|
-
const e = this._traceConfiguration, t = `DOMAINNETWORKNAME = '${e.domainNetworkName}'`, i = `TIERNAME = '${e.tierName}'`;
|
|
202
|
-
return [t, i].join(" AND ");
|
|
203
|
-
}
|
|
204
|
-
async #R(e) {
|
|
205
|
-
await this.#V(), await this.#q(), e.subnetworkName && !this._compatibleSubnetworkNames.some((t) => t === e.subnetworkName) && (this.#e = this._compatibleSubnetworkNames.at(0));
|
|
173
|
+
#x(e) {
|
|
174
|
+
this.#I(e, h), this.#e = this.#U(e), this.#T();
|
|
206
175
|
}
|
|
207
|
-
#
|
|
208
|
-
const t = this.selectedUtilityNetwork?.sharedNamedTraceConfigurations.find((i) => i.globalId === e);
|
|
209
|
-
if (!t) {
|
|
210
|
-
u("error", this, "`traceConfig` not found in `selectedUtilityNetwork.sharedNamedTraceConfigurations`");
|
|
211
|
-
return;
|
|
212
|
-
}
|
|
213
|
-
this.selectedNamedTraceConfiguration = t;
|
|
214
|
-
}
|
|
215
|
-
async #z() {
|
|
216
|
-
const { selectedNamedTraceConfiguration: e } = this;
|
|
217
|
-
if (!(e?.traceConfiguration instanceof S)) {
|
|
218
|
-
u("error", this, L("selectedNamedTraceConfiguration.traceConfiguration")), this._traceConfiguration = void 0;
|
|
219
|
-
return;
|
|
220
|
-
}
|
|
221
|
-
this._traceConfiguration = e.traceConfiguration.clone(), this.isSubnetworkNameTraceSelected && (this._subnetworkNamesState = "loading", await this.#R(this._traceConfiguration), this._subnetworkNamesState = "ready");
|
|
222
|
-
}
|
|
223
|
-
async #H() {
|
|
176
|
+
async #A() {
|
|
224
177
|
const { selectedUtilityNetwork: e } = this;
|
|
225
178
|
try {
|
|
226
179
|
e && !e.loaded && await e.load();
|
|
227
180
|
} catch (t) {
|
|
228
|
-
|
|
181
|
+
S(t, this, "Error while loading the selected utility network");
|
|
229
182
|
}
|
|
230
|
-
this.#
|
|
183
|
+
this.#B(), this.#M(), this.#L();
|
|
231
184
|
}
|
|
232
|
-
#
|
|
233
|
-
this._traceConfiguration = void 0, this.selectedNamedTraceConfiguration = void 0, this._namedTraceConfigurations = this.selectedUtilityNetwork?.sharedNamedTraceConfigurations.filter(Boolean).filter((e) => e.traceType !== "circuit").sort((e, t) => e.title.localeCompare(t.title)) || []
|
|
185
|
+
#B() {
|
|
186
|
+
this._traceConfiguration = void 0, this.selectedNamedTraceConfiguration = void 0, this._namedTraceConfigurations = this.selectedUtilityNetwork?.sharedNamedTraceConfigurations.filter(Boolean).filter((e) => e.traceType !== "circuit").sort((e, t) => e.title.localeCompare(t.title)) || [];
|
|
234
187
|
}
|
|
235
|
-
#
|
|
188
|
+
#M() {
|
|
236
189
|
const { selectedUtilityNetwork: e } = this;
|
|
237
|
-
this.#
|
|
190
|
+
this.#i = new c(this.#S.filter((t) => e?.isUtilityLayer(t) && !this.#C.includes(t.layerId))), this.#T();
|
|
238
191
|
}
|
|
239
|
-
#
|
|
192
|
+
#u(e) {
|
|
240
193
|
if (e.stopPropagation(), this.arcgisTraceLocationSelectStart.emit(e.detail).defaultPrevented) {
|
|
241
194
|
e.preventDefault();
|
|
242
195
|
return;
|
|
243
196
|
}
|
|
244
197
|
this._activeTraceLocationType = e?.target?.traceLocationType, this.mode = "add-spatial-instructions";
|
|
245
198
|
}
|
|
246
|
-
#
|
|
199
|
+
#G(e) {
|
|
247
200
|
if (e == null)
|
|
248
201
|
return;
|
|
249
|
-
const t = this.#
|
|
202
|
+
const t = this.#d, i = this.#i, a = t.get(e);
|
|
250
203
|
if (a)
|
|
251
204
|
return a;
|
|
252
205
|
if (!i)
|
|
253
206
|
return;
|
|
254
|
-
const
|
|
255
|
-
return
|
|
207
|
+
const r = i.find((o) => "layerId" in o && o.layerId === e);
|
|
208
|
+
return r && t.set(e, r), r;
|
|
256
209
|
}
|
|
257
|
-
async #
|
|
210
|
+
async #V(e, t) {
|
|
258
211
|
const i = e.createQuery();
|
|
259
|
-
i.gdbVersion = this.selectedUtilityNetwork?.gdbVersion, i.objectIds = t.map((
|
|
260
|
-
const { features: a } = await
|
|
261
|
-
return a.forEach((
|
|
262
|
-
if (!
|
|
263
|
-
const o =
|
|
264
|
-
|
|
212
|
+
i.gdbVersion = this.selectedUtilityNetwork?.gdbVersion, i.objectIds = t.map((r) => r.getObjectId()), i.outFields = ["*"];
|
|
213
|
+
const { features: a } = await N(e, i);
|
|
214
|
+
return a.forEach((r) => {
|
|
215
|
+
if (!r.getEffectivePopupTemplate(this.#l)) {
|
|
216
|
+
const o = r.layer;
|
|
217
|
+
r.popupTemplate = o.createPopupTemplate();
|
|
265
218
|
}
|
|
266
219
|
}), a;
|
|
267
220
|
}
|
|
268
|
-
async #
|
|
221
|
+
async #q(e) {
|
|
269
222
|
const t = /* @__PURE__ */ new Map(), i = [];
|
|
270
223
|
return e.forEach((a) => {
|
|
271
|
-
const
|
|
272
|
-
if (
|
|
273
|
-
const o = this.#
|
|
224
|
+
const r = _(a.layer) ? a.layer.parent : a.layer;
|
|
225
|
+
if (r) {
|
|
226
|
+
const o = this.#G(r.layerId);
|
|
274
227
|
if (o) {
|
|
275
|
-
const
|
|
276
|
-
|
|
228
|
+
const l = t.get(o) || [];
|
|
229
|
+
l.push(a), t.set(o, l);
|
|
277
230
|
}
|
|
278
231
|
}
|
|
279
232
|
}), await Promise.all(Array.from(t.keys()).map(async (a) => {
|
|
280
|
-
const
|
|
233
|
+
const r = t.get(a) ?? [], o = await this.#V(a, r);
|
|
281
234
|
i.push(...o);
|
|
282
235
|
})), i;
|
|
283
236
|
}
|
|
284
237
|
async #p(e) {
|
|
285
|
-
return this._exceedDisplayLimit = e.length > this.#c, this._candidateFeatures = await this.#
|
|
238
|
+
return this._exceedDisplayLimit = e.length > this.#c, this._candidateFeatures = await this.#q(e.slice(0, this.#c)), this._candidateFeatures.length === 0 ? (this.#n(), await Promise.reject(Error("No features found"))) : (this._candidateFeatures.length === 1 && (this._selectedFeature = this._candidateFeatures.at(0)), this.mode = "add-spatial-feature", this.#t?.reject(), this.#t = Promise.withResolvers(), await this.#t.promise);
|
|
286
239
|
}
|
|
287
|
-
#
|
|
288
|
-
e.stopPropagation(), this.arcgisTraceLocationSelectEnd.emit(), this._activeTraceLocationType = void 0, this.mode = "default", this.#
|
|
240
|
+
#g(e) {
|
|
241
|
+
e.stopPropagation(), this.arcgisTraceLocationSelectEnd.emit(), this._activeTraceLocationType = void 0, this.mode = "default", this.#n();
|
|
289
242
|
}
|
|
290
|
-
#
|
|
291
|
-
e?.stopPropagation(), this.#
|
|
243
|
+
#n(e) {
|
|
244
|
+
e?.stopPropagation(), this.#o?.clear(), this.#$(), this.#e?.cancel();
|
|
292
245
|
}
|
|
293
|
-
|
|
294
|
-
this.mode = "default", this._candidateFeatures = [], this._selectedFeature = void 0, this.#
|
|
246
|
+
#$() {
|
|
247
|
+
this.mode = "default", this._candidateFeatures = [], this._selectedFeature = void 0, this.#t?.reject(), this.#t = null;
|
|
295
248
|
}
|
|
296
|
-
#
|
|
297
|
-
const e = this.#
|
|
249
|
+
#j() {
|
|
250
|
+
const e = this.#t, t = this.#o, { _selectedFeature: i } = this;
|
|
298
251
|
if (e && t) {
|
|
299
252
|
if (!i)
|
|
300
253
|
return;
|
|
301
|
-
e.resolve(i), this.#
|
|
254
|
+
e.resolve(i), this.#t = null;
|
|
302
255
|
}
|
|
303
256
|
}
|
|
304
|
-
#
|
|
305
|
-
return
|
|
257
|
+
#R(e, t = !1, i) {
|
|
258
|
+
return s`<calcite-notice .closable=${t} kind=danger open scale=s width=auto .icon=${i}><div slot=message>${e}</div></calcite-notice>`;
|
|
306
259
|
}
|
|
307
|
-
#
|
|
308
|
-
const
|
|
309
|
-
return
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
}}>${e}</calcite-combobox></calcite-block>`;
|
|
260
|
+
#z() {
|
|
261
|
+
const { _namedTraceConfigurations: e, selectedUtilityNetwork: t } = this;
|
|
262
|
+
return s`<arcgis-utility-network-trace-configuration-picker .traceConfigurations=${e} .utilityNetwork=${t} @arcgisPropertyChange=${(i) => {
|
|
263
|
+
i.stopPropagation(), i.detail.name === "selectedNamedTraceConfiguration" && (this.selectedNamedTraceConfiguration = i.target.selectedNamedTraceConfiguration), i.detail.name === "traceConfiguration" && (this._traceConfiguration = i.target.traceConfiguration);
|
|
264
|
+
}}></arcgis-utility-network-trace-configuration-picker>`;
|
|
313
265
|
}
|
|
314
|
-
#
|
|
266
|
+
#H() {
|
|
315
267
|
const { selectedUtilityNetwork: e, view: t } = this;
|
|
316
|
-
return
|
|
268
|
+
return s`<arcgis-utility-network-picker .selectedUtilityNetwork=${e} .view=${t} @arcgisPropertyChange=${(i) => {
|
|
317
269
|
i.detail.name === "selectedUtilityNetwork" && (this.selectedUtilityNetwork = i.target.selectedUtilityNetwork);
|
|
318
270
|
}}></arcgis-utility-network-picker>`;
|
|
319
271
|
}
|
|
320
|
-
#
|
|
272
|
+
#O() {
|
|
321
273
|
const { _error: e } = this, { noView: t } = this._messages.errors;
|
|
322
274
|
let i;
|
|
323
|
-
return e === t ? i = this.#
|
|
275
|
+
return e === t ? i = this.#R(e, !1, "exclamation-mark-triangle") : i = this.#Z(), s`<calcite-flow-item .selected=${this.mode === "default"}>${i}</calcite-flow-item>`;
|
|
324
276
|
}
|
|
325
|
-
#
|
|
277
|
+
#Q() {
|
|
326
278
|
const { _messages: e, mode: t } = this, i = this._activeTraceLocationType === "starting-point" ? e.labels.addSpatial.startingPoint : this._activeTraceLocationType === "barrier" ? e.labels.addSpatial.barrier : e.labels.addSpatial.stoppingPoint;
|
|
327
|
-
return
|
|
279
|
+
return s`<calcite-flow-item .selected=${t === "add-spatial-instructions"} .heading=${i} @calciteFlowItemBack=${(a) => this.#n(a)}><div class="add-spatial-mode"><div><h5 class="heading">${e.instructions.addSpatial.selectFeature.heading}</h5>${e.instructions.addSpatial.selectFeature.subheading}</div><div><h5 class="heading">${e.instructions.addSpatial.selectAssociatedFeature.heading}</h5>${e.instructions.addSpatial.selectAssociatedFeature.subheading}</div></div></calcite-flow-item>`;
|
|
328
280
|
}
|
|
329
|
-
#
|
|
281
|
+
#W() {
|
|
330
282
|
const { _activeTraceLocationType: e, _candidateFeatures: t, _messages: i } = this;
|
|
331
283
|
if (!t.length)
|
|
332
284
|
return this.mode = "default", null;
|
|
333
|
-
const a = e === "starting-point" ? i.labels.addSpatial.startingPoint : e === "barrier" ? i.labels.addSpatial.barrier : i.labels.addSpatial.stoppingPoint,
|
|
334
|
-
return
|
|
285
|
+
const a = e === "starting-point" ? i.labels.addSpatial.startingPoint : e === "barrier" ? i.labels.addSpatial.barrier : i.labels.addSpatial.stoppingPoint, r = t.length === 1 ? "feature" : "list";
|
|
286
|
+
return s`<arcgis-features-next .autoDestroyDisabled=${this.autoDestroyDisabled} .defaultPopupTemplateEnabled=${this.#l} .features=${this._candidateFeatures} .featureMenuTitle=${a} .hideActionBar=${this.hideActionBar} hide-select-feature .initialDisplayMode=${r} @arcgisClose=${() => this.#$()} @arcgisPropertyChange=${this.#v} open .referenceElement=${this.referenceElement} .view=${this.view} ${d(this.#F)}></arcgis-features-next>`;
|
|
335
287
|
}
|
|
336
|
-
#
|
|
337
|
-
const { mode: e, _messages: t, _selectedFeature: i, selectedUtilityNetwork: a } = this,
|
|
288
|
+
#J() {
|
|
289
|
+
const { mode: e, _messages: t, _selectedFeature: i, selectedUtilityNetwork: a } = this, r = e === "add-spatial-feature" && this._exceedDisplayLimit && !i, o = f(t.warnings.exceededDisplayLimit, {
|
|
338
290
|
limit: this.#c.toString()
|
|
339
|
-
}),
|
|
340
|
-
return
|
|
341
|
-
}
|
|
342
|
-
#se() {
|
|
343
|
-
return r`<arcgis-utility-network-trace-location-next .view=${this.view} trace-location-type=starting-point .beforeTraceLocationSelectStart=${this.beforeTraceLocationSelectStart} @arcgisTraceLocationSelectStart=${this.#g} @arcgisTraceLocationSelectEnd=${this.#f} @arcgisTraceLocationChange=${() => this.arcgisTraceInputsChange.emit()} .sketchViewModel=${this.#t} .utilityNetwork=${this.selectedUtilityNetwork} .filterLayers=${this.#a} .traceLocations=${this.#r} .afterHitTest=${this.#p.bind(this)} .autoDestroyDisabled=${this.autoDestroyDisabled} ${d(this.#I)}></arcgis-utility-network-trace-location-next>`;
|
|
291
|
+
}), l = i ? !(a?.isUtilityLayer(i.layer) ?? !0) : !0;
|
|
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>` || ""}`;
|
|
344
293
|
}
|
|
345
|
-
#
|
|
346
|
-
return
|
|
294
|
+
#K() {
|
|
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>`;
|
|
347
296
|
}
|
|
348
|
-
#
|
|
349
|
-
return
|
|
297
|
+
#X() {
|
|
298
|
+
return s`<arcgis-utility-network-trace-location-next .view=${this.view} trace-location-type=stopping-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.#s} .afterHitTest=${this.#p.bind(this)} .autoDestroyDisabled=${this.autoDestroyDisabled} ${d(this.#P)}></arcgis-utility-network-trace-location-next>`;
|
|
350
299
|
}
|
|
351
|
-
#
|
|
352
|
-
|
|
353
|
-
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>`;
|
|
354
|
-
}
|
|
355
|
-
#le() {
|
|
356
|
-
return r`<calcite-combobox .label=${this._messages.labels.subnetworkName} selection-mode=single-persist @calciteComboboxChange=${({ currentTarget: e }) => {
|
|
357
|
-
const t = e.selectedItems[0]?.value;
|
|
358
|
-
this.#e = t;
|
|
359
|
-
}}>${this._compatibleSubnetworkNames.map((e) => r`<calcite-combobox-item .value=${e} .heading=${e} .selected=${e === this.#e}></calcite-combobox-item>`)}</calcite-combobox>`;
|
|
360
|
-
}
|
|
361
|
-
#de() {
|
|
362
|
-
const { _messages: e } = this, t = e.labels.subnetworkName;
|
|
363
|
-
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 > D ? this.#ce() : this.#le()}</calcite-block>` : this.#d(e.errors.noCompatibleSubnetworks, !1, "exclamation-mark-triangle") : null;
|
|
364
|
-
}
|
|
365
|
-
#he() {
|
|
366
|
-
const { selectedNamedTraceConfiguration: e } = this;
|
|
367
|
-
return this._traceConfiguration && e?.traceType && this.#b.has(e.traceType) ? r`<calcite-block id=subnetwork-info-block expanded .label=${this._messages.labels.subnetworkInfo}><arcgis-utility-network-subnetwork-info-next .namedTraceConfiguration=${e}></arcgis-utility-network-subnetwork-info-next></calcite-block>` : null;
|
|
300
|
+
#Y() {
|
|
301
|
+
return s`<arcgis-utility-network-trace-location-next .view=${this.view} trace-location-type=barrier .beforeTraceLocationSelectStart=${this.beforeTraceLocationSelectStart} @arcgisTraceLocationSelectStart=${this.#u} @arcgisTraceLocationSelectEnd=${this.#g} @arcgisTraceLocationChange=${() => this.arcgisTraceInputsChange.emit()} .sketchViewModel=${this.#e} .utilityNetwork=${this.selectedUtilityNetwork} .filterLayers=${this.#i} .traceLocations=${this.#r} .afterHitTest=${this.#p.bind(this)} .autoDestroyDisabled=${this.autoDestroyDisabled} ${d(this.#_)}></arcgis-utility-network-trace-location-next>`;
|
|
368
302
|
}
|
|
369
|
-
#
|
|
370
|
-
const { _messages: e } = this,
|
|
371
|
-
|
|
372
|
-
this._namedTraceConfigurations.length || (s = this.#d(i, !1, "exclamation-mark-triangle"));
|
|
373
|
-
const o = r`${this.#Z()}${this.#he()}${this.#de()}`, n = this.traceConfiguration ? r`${this.#S ? this.#se() : null}${this.#T ? this.#oe() : null}${this.#ne()}` : this.#d(t, !1, "exclamation-mark-triangle"), h = this.selectedUtilityNetwork?.loaded ? s ?? r`${o}${n}` : null;
|
|
374
|
-
return r`<calcite-block-group .label=${e.labels.traceInputs}>${a}${h}</calcite-block-group>`;
|
|
303
|
+
#Z() {
|
|
304
|
+
const { _messages: e } = this, t = this.#H(), i = this.#z(), a = this._namedTraceConfigurations.length && this.traceConfiguration ? s`${this.#w ? this.#K() : null}${this.#b ? this.#X() : null}${this.#Y()}` : null, r = this.selectedUtilityNetwork?.loaded ? s`${i}${a}` : null;
|
|
305
|
+
return s`<calcite-block-group .label=${e.labels.traceInputs}>${t}${r}</calcite-block-group>`;
|
|
375
306
|
}
|
|
376
307
|
render() {
|
|
377
308
|
const { mode: e } = this;
|
|
378
|
-
return
|
|
309
|
+
return s`<calcite-panel>${e === "add-spatial-feature" ? this.#W() : null}<calcite-flow .hidden=${e === "add-spatial-feature"}>${this.#O()}${this.#Q()}</calcite-flow>${e !== "default" ? this.#J() : null}</calcite-panel>`;
|
|
379
310
|
}
|
|
380
311
|
}
|
|
381
|
-
|
|
312
|
+
g("arcgis-utility-network-trace-inputs-next", F);
|
|
382
313
|
export {
|
|
383
|
-
|
|
314
|
+
F as ArcgisUtilityNetworkTraceInputsNext
|
|
384
315
|
};
|
|
@@ -1,16 +1,11 @@
|
|
|
1
1
|
import "@esri/calcite-components/components/calcite-notice";
|
|
2
|
-
import "
|
|
3
|
-
import "@esri/calcite-components/components/calcite-block";
|
|
4
|
-
import "@esri/calcite-components/components/calcite-combobox";
|
|
2
|
+
import "../arcgis-utility-network-trace-configuration-picker/index.js";
|
|
5
3
|
import "../arcgis-utility-network-picker/index.js";
|
|
6
4
|
import "@esri/calcite-components/components/calcite-flow-item";
|
|
7
5
|
import "../arcgis-features-next/index.js";
|
|
8
6
|
import "@esri/calcite-components/components/calcite-input-message";
|
|
9
7
|
import "@esri/calcite-components/components/calcite-button";
|
|
10
8
|
import "../arcgis-utility-network-trace-location-next/index.js";
|
|
11
|
-
import "@esri/calcite-components/components/calcite-input";
|
|
12
|
-
import "@esri/calcite-components/components/calcite-loader";
|
|
13
|
-
import "../arcgis-utility-network-subnetwork-info-next/index.js";
|
|
14
9
|
import "@esri/calcite-components/components/calcite-block-group";
|
|
15
10
|
import "@esri/calcite-components/components/calcite-panel";
|
|
16
11
|
import "@esri/calcite-components/components/calcite-flow";
|