@arcgis/map-components 5.0.0-next.5 → 5.0.0-next.7
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/{H3JJOTON.js → 27OLXDSF.js} +2 -2
- package/dist/cdn/{WVWW5FTO.js → 2DI73YIB.js} +2 -2
- package/dist/cdn/{LPV53QOR.js → 2F2NXYKC.js} +2 -2
- package/dist/cdn/{6TR3C4W7.js → 2HMB76Z5.js} +2 -2
- package/dist/cdn/{VSZ6MWHR.js → 2RQATXIO.js} +2 -2
- package/dist/cdn/{Y5ECN5RN.js → 2WWNPYIH.js} +2 -2
- package/dist/cdn/{TRGKRUEY.js → 32AM3PJ5.js} +2 -2
- package/dist/cdn/{HQRMKPHR.js → 3LIPNJER.js} +2 -2
- package/dist/cdn/{PTBGNUJM.js → 3PHUVNMO.js} +2 -2
- package/dist/cdn/{5RONE6G5.js → 3U4KMEXD.js} +2 -2
- package/dist/cdn/{TUU22AO6.js → 3YHA662Y.js} +2 -2
- package/dist/cdn/{PDTW4YVA.js → 3YNGI2TD.js} +2 -2
- package/dist/cdn/{QJQTAHNS.js → 44D2CQXK.js} +2 -2
- package/dist/cdn/{GRCPMP5I.js → 44LY3QB2.js} +2 -2
- package/dist/cdn/{5K7B7ZV3.js → 4HLE3NFA.js} +2 -2
- package/dist/cdn/{PIAPT753.js → 4RZ2KUNN.js} +2 -2
- package/dist/cdn/{6OBLJBSZ.js → 54WB3EST.js} +2 -2
- package/dist/cdn/{MIILDVMA.js → 576GJQTN.js} +2 -2
- package/dist/cdn/{ZQLSVPWL.js → 5T5JJGIY.js} +2 -2
- package/dist/cdn/5VJNY7VQ.js +4 -0
- package/dist/cdn/5WLA2JTM.js +4 -0
- package/dist/cdn/{IT3LUX3O.js → 62ACF4GK.js} +2 -2
- package/dist/cdn/{I52NZLXX.js → 6A5UTVGJ.js} +2 -2
- package/dist/cdn/{BXK33PBZ.js → 6DWBG7BD.js} +1 -1
- package/dist/cdn/{WPILMPPG.js → 6LADRP6U.js} +2 -2
- package/dist/cdn/{AT7HVKEZ.js → 6UMHGQQQ.js} +2 -2
- package/dist/cdn/{FRWCQ2AN.js → 75OXQ2H2.js} +1 -1
- package/dist/cdn/7AMVYS4J.js +4 -0
- package/dist/cdn/{2QQXT6S3.js → 7DDS4PSE.js} +2 -2
- package/dist/cdn/{VD6BHESH.js → 7MSVBRFX.js} +2 -2
- package/dist/cdn/7OFHFYVY.js +4 -0
- package/dist/cdn/{5AFYPDDT.js → 7ONVHE43.js} +2 -2
- package/dist/cdn/{PIH3NRT7.js → 7P4IZ3TJ.js} +2 -2
- package/dist/cdn/{I6QIB7JC.js → 7RMBEOAT.js} +2 -2
- package/dist/cdn/{RRTNNJPP.js → 7T3OMP3P.js} +2 -2
- package/dist/cdn/{SVWGIDDU.js → 7X66YHTY.js} +2 -2
- package/dist/cdn/{C7DCQBPT.js → 7ZTK5RNR.js} +2 -2
- package/dist/cdn/{EEVS67WB.js → A4XLJBOQ.js} +2 -2
- package/dist/cdn/{RQIUPQN4.js → AHWDCV4N.js} +2 -2
- package/dist/cdn/{RESW7W5U.js → AJTP62TS.js} +2 -2
- package/dist/cdn/{YWUALWAR.js → AMBRZDBB.js} +2 -2
- package/dist/cdn/{HYTYRGG4.js → AMFMXMYU.js} +2 -2
- package/dist/cdn/{4LHPWTSQ.js → AMG4CQWO.js} +2 -2
- package/dist/cdn/{LDR7F5EQ.js → API4DWYS.js} +2 -2
- package/dist/cdn/{D332NHX4.js → ARBQIEOZ.js} +2 -2
- package/dist/cdn/{RGWLLT5R.js → AVCXAEKW.js} +2 -2
- package/dist/cdn/{STEBIRS4.js → AZ2OINQZ.js} +2 -2
- package/dist/cdn/BAYBJSRA.js +4 -0
- package/dist/cdn/{X3ERGEZW.js → BHLLVXY4.js} +2 -2
- package/dist/cdn/{B3BDZMK4.js → BIW7LQAB.js} +2 -2
- package/dist/cdn/{REQDDBVN.js → BJLLWEDQ.js} +1 -1
- package/dist/cdn/{SNL2OTTM.js → BMHY3L6P.js} +2 -2
- package/dist/cdn/{WQTDRNT3.js → BR4XEJ4B.js} +2 -2
- package/dist/cdn/{TELHVYR4.js → BS72LKTC.js} +2 -2
- package/dist/cdn/{G54Y3XZX.js → BUQLVGX2.js} +2 -2
- package/dist/cdn/{ADXVD42H.js → BW3BKF7S.js} +2 -2
- package/dist/cdn/{UNORCWD2.js → BWTML5G2.js} +2 -2
- package/dist/cdn/{JY63CMAB.js → BZC6X3RM.js} +2 -2
- package/dist/cdn/{3LTZOKPZ.js → C2236CBZ.js} +1 -1
- package/dist/cdn/{RR5AN2LO.js → CF5WWETS.js} +2 -2
- package/dist/cdn/{RRFZLG2A.js → CKKEUYVF.js} +2 -2
- package/dist/cdn/{PQELEFJN.js → CRLVMPT6.js} +2 -2
- package/dist/cdn/{L5R3WRXO.js → CV67UIOI.js} +2 -2
- package/dist/cdn/{RRSFGBWH.js → DDDCENIA.js} +2 -2
- package/dist/cdn/{4J7UXW4V.js → DF6FT47K.js} +2 -2
- package/dist/cdn/{6V2MNKRP.js → DFGIY6KN.js} +2 -2
- package/dist/cdn/{4TPCMFWZ.js → DFXD6UAY.js} +2 -2
- package/dist/cdn/{VX7UD4NL.js → DOQSCVJD.js} +1 -1
- package/dist/cdn/{LJGUZAHH.js → DPL4VHPW.js} +2 -2
- package/dist/cdn/{7OXV6AQA.js → DTW55COI.js} +2 -2
- package/dist/cdn/{7BBQPJCM.js → DXMYVDTD.js} +2 -2
- package/dist/cdn/{JQ5GUQ7P.js → E5R6OKXP.js} +2 -2
- package/dist/cdn/{6DTQPNPV.js → E7UOBFTE.js} +2 -2
- package/dist/cdn/{UEGRTPH3.js → EAW4FQUJ.js} +2 -2
- package/dist/cdn/EHFI4NFD.js +4 -0
- package/dist/cdn/EHMZR5TR.js +4 -0
- package/dist/cdn/{MJTBUONI.js → EJG47NJ4.js} +2 -2
- package/dist/cdn/{YKC76WL2.js → EKGSDQRG.js} +2 -2
- package/dist/cdn/{HYQZEUBU.js → EO3JN6RG.js} +2 -2
- package/dist/cdn/{R47O2BDP.js → EOCT6FGC.js} +2 -2
- package/dist/cdn/{SWZPUBX6.js → EQBVGZUT.js} +2 -2
- package/dist/cdn/{JQMPF5IV.js → EQDSFFHS.js} +2 -2
- package/dist/cdn/{34OUIPI6.js → ES26WJJB.js} +2 -2
- package/dist/cdn/EU5DIWMP.js +4 -0
- package/dist/cdn/{NSWHZFRT.js → EVNKT7CS.js} +2 -2
- package/dist/cdn/{4LG44MCV.js → EZXIWACW.js} +2 -2
- package/dist/cdn/{LHRDTGQY.js → F7YID2WS.js} +2 -2
- package/dist/cdn/{AFQCY6M5.js → FBKD2FUV.js} +2 -2
- package/dist/cdn/{6P4FNYFK.js → FMOTQNWT.js} +2 -2
- package/dist/cdn/{7M3YBBT4.js → FO5HN26Z.js} +2 -2
- package/dist/cdn/{ZXFC3OPO.js → FPDZK5KF.js} +2 -2
- package/dist/cdn/{B3TRMHSU.js → FRJJS6WF.js} +2 -2
- package/dist/cdn/{LUIM6R3C.js → FYCB5LC4.js} +2 -2
- package/dist/cdn/{WK5SF3NM.js → G4FVGNVY.js} +2 -2
- package/dist/cdn/{O7W3JZFF.js → G5PMGVU4.js} +2 -2
- package/dist/cdn/{Y363VSHL.js → G7AINTVJ.js} +2 -2
- package/dist/cdn/{A7EK4YU5.js → GANTC2JR.js} +2 -2
- package/dist/cdn/{PTVDQWLH.js → GCLPCPGB.js} +2 -2
- package/dist/cdn/{XI2OTXXN.js → GFZEN7IR.js} +2 -2
- package/dist/cdn/{LHZIRPAB.js → GQTIMLNH.js} +2 -2
- package/dist/cdn/{IDDFJ4DV.js → GWSNNZXP.js} +2 -2
- package/dist/cdn/{H3LWJIDF.js → HDNA5F6G.js} +2 -2
- package/dist/cdn/{OKDOTHSU.js → HQVB755E.js} +2 -2
- package/dist/cdn/{66XP7ISP.js → HUMIV3VH.js} +2 -2
- package/dist/cdn/{PLSSYDMD.js → I3FHEM2H.js} +2 -2
- package/dist/cdn/IB4GIMGM.js +4 -0
- package/dist/cdn/{V27L2ZBV.js → IFZJKELT.js} +2 -2
- package/dist/cdn/{VFF44TJ6.js → IPFACLKD.js} +2 -2
- package/dist/cdn/{EHSC3ELP.js → IVS6B4TK.js} +2 -2
- package/dist/cdn/IWZMOW4V.js +4 -0
- package/dist/cdn/{PQFM7YFO.js → J4VS6ZIF.js} +2 -2
- package/dist/cdn/{IUY6HYRA.js → JCHQDIR6.js} +2 -2
- package/dist/cdn/{EBLK7WAD.js → JE4BSPXI.js} +2 -2
- package/dist/cdn/{CI7PXTLU.js → JLMYKOTB.js} +2 -2
- package/dist/cdn/{7HIVI5W6.js → JU3SPL5S.js} +2 -2
- package/dist/cdn/{752MVXWG.js → K2F7CBO6.js} +2 -2
- package/dist/cdn/{RYP3YAQU.js → KCGCGEF7.js} +2 -2
- package/dist/cdn/{3QEGCSXN.js → KD57RLBJ.js} +2 -2
- package/dist/cdn/{R52GAK7D.js → KGX5BMVF.js} +2 -2
- package/dist/cdn/{GFOOUTML.js → KSXL7KZW.js} +2 -2
- package/dist/cdn/{F67NPTF5.js → KUJNPIQB.js} +2 -2
- package/dist/cdn/{SAUW35NW.js → KYJ6ODES.js} +2 -2
- package/dist/cdn/{B4YSX2BI.js → LFERT3PE.js} +1 -1
- package/dist/cdn/{UODLYZYS.js → LHPNHGL5.js} +2 -2
- package/dist/cdn/LOD2SN53.js +4 -0
- package/dist/cdn/{BU6LB2N4.js → LU2ZEFNK.js} +2 -2
- package/dist/cdn/{IURKMZB2.js → M4TTKFBW.js} +2 -2
- package/dist/cdn/{F26G26OG.js → MD5JUHBL.js} +2 -2
- package/dist/cdn/{3LFISTCL.js → MFNCONT5.js} +2 -2
- package/dist/cdn/{HNRGCE2E.js → MI6G3PVS.js} +2 -2
- package/dist/cdn/{AN73DPMU.js → MIZIJT77.js} +1 -1
- package/dist/cdn/{WAQVWOOL.js → MK6DQGSF.js} +2 -2
- package/dist/cdn/{OM64AHWG.js → MLMK5DYB.js} +2 -2
- package/dist/cdn/MNQPVVH3.js +4 -0
- package/dist/cdn/{466INVOH.js → MQL4RPHT.js} +2 -2
- package/dist/cdn/{GLOIWZ3O.js → MQL72DKL.js} +2 -2
- package/dist/cdn/{7LENP7UQ.js → MSZQYK2V.js} +2 -2
- package/dist/cdn/{WFURIXQT.js → MUQAKAUR.js} +2 -2
- package/dist/cdn/{M57KTCMF.js → NIX62YJ5.js} +2 -2
- package/dist/cdn/{7IIYFAL2.js → NK4JJJ3J.js} +1 -1
- package/dist/cdn/{A7BICR4O.js → O3BCMGPN.js} +2 -2
- package/dist/cdn/O65PIWHP.js +4 -0
- package/dist/cdn/{HBH2NXCY.js → OI7L5JYC.js} +2 -2
- package/dist/cdn/{FFQ5PPQJ.js → OMYEERQN.js} +2 -2
- package/dist/cdn/{NCDGWPV7.js → OO7IZEBI.js} +2 -2
- package/dist/cdn/OXUZ35GH.js +5 -0
- package/dist/cdn/{FVILGVFZ.js → P34SUK6J.js} +2 -2
- package/dist/cdn/{X54JTEIS.js → PC45POAO.js} +2 -2
- package/dist/cdn/{OR5HVPGI.js → PG4JSSVK.js} +2 -2
- package/dist/cdn/{A2W2SQO4.js → PG4Z6IM6.js} +2 -2
- package/dist/cdn/PGKZ2HPF.js +4 -0
- package/dist/cdn/{M5TG4CFU.js → PM4SNJDH.js} +2 -2
- package/dist/cdn/PMSGGWUW.js +4 -0
- package/dist/cdn/{VS3WT3CK.js → Q6DSCXON.js} +2 -2
- package/dist/cdn/{CP2HQZUP.js → QMC3TY3W.js} +2 -2
- package/dist/cdn/QP3MAEDM.js +4 -0
- package/dist/cdn/{FON2DRNE.js → QWRWNIDQ.js} +2 -2
- package/dist/cdn/{CP23UGPK.js → QWW3MHGA.js} +2 -2
- package/dist/cdn/{Q6JTY2DJ.js → R2S3OK5G.js} +1 -1
- package/dist/cdn/{ILRNOAV4.js → R4DMYEQC.js} +2 -2
- package/dist/cdn/{GIBKNUFW.js → R5W7EQYL.js} +2 -2
- package/dist/cdn/{LUGLNVKJ.js → R67Q3OIO.js} +2 -2
- package/dist/cdn/{3TXEUTMX.js → R7CXX3HM.js} +2 -2
- package/dist/cdn/{RVLHZ2VH.js → RGNZOLUW.js} +2 -2
- package/dist/cdn/{QQ7NXCBU.js → RHKQGAZU.js} +2 -2
- package/dist/cdn/{XGEGIP2X.js → RJ2F4ZE6.js} +2 -2
- package/dist/cdn/{C63TPNGG.js → RJPMPWQK.js} +2 -2
- package/dist/cdn/RQX5L4VL.js +4 -0
- package/dist/cdn/{Q3ICPLQZ.js → RXFIRFZE.js} +2 -2
- package/dist/cdn/{RZEP2TRT.js → S2R2RQ6R.js} +2 -2
- package/dist/cdn/SDICLWFI.js +4 -0
- package/dist/cdn/{PD2HATHB.js → SEDGRHB7.js} +2 -2
- package/dist/cdn/SGARZDQH.js +4 -0
- package/dist/cdn/{6UIGZRW5.js → SIPZMYB4.js} +2 -2
- package/dist/cdn/{NAUZASE4.js → SNWM3QNT.js} +2 -2
- package/dist/cdn/{LYR5T5U2.js → STOVGTPC.js} +2 -2
- package/dist/cdn/{FESFNS34.js → U2SXGKX4.js} +2 -2
- package/dist/cdn/{AEQ2EA5V.js → UB43YIRC.js} +2 -2
- package/dist/cdn/{E734O7ZN.js → UBAX43ZI.js} +2 -2
- package/dist/cdn/UDXVD5XZ.js +4 -0
- package/dist/cdn/{UL7MLQKU.js → UEGTZRQO.js} +2 -2
- package/dist/cdn/{3BKVP63O.js → UFJJSQPL.js} +2 -2
- package/dist/cdn/UGGH2ZYL.js +4 -0
- package/dist/cdn/{SXGMPEP3.js → UP6V7HAC.js} +2 -2
- package/dist/cdn/{C3PGIIHL.js → UUBRHGGR.js} +2 -2
- package/dist/cdn/{HK3XAWSI.js → UVKUXDIO.js} +2 -2
- package/dist/cdn/VAE46PTT.js +4 -0
- package/dist/cdn/{NKFSCGG6.js → VCWGFFLB.js} +2 -2
- package/dist/cdn/{PV45DKP7.js → VF5ZEZIA.js} +2 -2
- package/dist/cdn/{W75DFBEN.js → VGOXORF3.js} +2 -2
- package/dist/cdn/{J6KG2Z45.js → VHLNK34F.js} +2 -2
- package/dist/cdn/VVFA7BGW.js +4 -0
- package/dist/cdn/{X2P2BANB.js → W2ENKEBL.js} +2 -2
- package/dist/cdn/{EBH3NORE.js → W5T3D66S.js} +2 -2
- package/dist/cdn/{ZCOROTYT.js → WDLQOKMF.js} +2 -2
- package/dist/cdn/WHXM4RSM.js +4 -0
- package/dist/cdn/{ZXUX6MFW.js → WI5OAAU5.js} +2 -2
- package/dist/cdn/{52TIW2GW.js → WPSYRM5U.js} +2 -2
- package/dist/cdn/WQX34SJR.js +4 -0
- package/dist/cdn/{O6ETD4MH.js → WSROCQLI.js} +2 -2
- package/dist/cdn/{MBMBYUJM.js → WYSUU2YF.js} +2 -2
- package/dist/cdn/{X262DH36.js → X2HGZACW.js} +2 -2
- package/dist/cdn/{DK6N3VRZ.js → X73IB46P.js} +2 -2
- package/dist/cdn/{XSRIC2UT.js → XAAWUQP3.js} +2 -2
- package/dist/cdn/{5PSO47CO.js → XITYDU6J.js} +2 -2
- package/dist/cdn/XPV6WDON.js +4 -0
- package/dist/cdn/{QL45S7N3.js → XUUYGDDT.js} +2 -2
- package/dist/cdn/{UTKHOHKS.js → Y3OSDFR4.js} +2 -2
- package/dist/cdn/{S6KB7IUN.js → YGHWVOXY.js} +2 -2
- package/dist/cdn/YIIAEYM6.js +4 -0
- package/dist/cdn/{ZG5YI3R5.js → YXSNZP3J.js} +2 -2
- package/dist/cdn/{U3KXM6JN.js → YY62WYQK.js} +1 -1
- package/dist/cdn/{V3W3XWBZ.js → Z3AW5R2E.js} +2 -2
- package/dist/cdn/Z3OUKTDA.js +4 -0
- package/dist/cdn/{DHEMTNFY.js → Z3P3YHQ6.js} +2 -2
- package/dist/cdn/{YA5LAKIG.js → ZEHTSMNI.js} +2 -2
- package/dist/cdn/{2NGYP2TU.js → ZEKB6D5C.js} +2 -2
- package/dist/cdn/{PHS7UW45.js → ZIIGODZS.js} +2 -2
- package/dist/cdn/{SSWX5ZC5.js → ZY3XCOUK.js} +2 -2
- package/dist/cdn/{KRGNBQ5Z.js → ZYM4PPCW.js} +2 -2
- package/dist/cdn/{ZJXPCSTB.js → ZZ7RT7QM.js} +2 -2
- package/dist/cdn/{4ELLMRLV.js → ZZRSXHDL.js} +2 -2
- package/dist/cdn/assets/feature/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/utility-network-trace-location/t9n/messages.en.json +1 -0
- package/dist/cdn/index.js +2 -2
- package/dist/cdn/main.css +1 -1
- package/dist/chunks/AnalysisViewModel.js +1 -1
- package/dist/chunks/action-utils.js +1 -1
- package/dist/chunks/async-utils.js +1 -1
- package/dist/chunks/basemap-gallery-resources.js +1 -1
- package/dist/chunks/chart-utils.js +1 -1
- package/dist/chunks/chartCommon.js +1 -1
- package/dist/chunks/component-utils.js +1 -1
- package/dist/chunks/createCloseEvent.js +1 -1
- package/dist/chunks/esri-main.js +2 -2
- package/dist/chunks/feature-utils.js +152 -107
- package/dist/chunks/globalCss.js +1 -1
- package/dist/chunks/heading.js +1 -1
- package/dist/chunks/layer-list.js +1 -1
- package/dist/chunks/legacyIcon.js +1 -1
- package/dist/chunks/maybe.js +1 -1
- package/dist/chunks/measurementUtils.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/screenLocation.js +1 -1
- package/dist/chunks/slots.js +1 -1
- package/dist/chunks/svgUtils.js +1 -1
- package/dist/chunks/univariateUtils.js +1 -1
- package/dist/chunks/useArcgisViewReadyError.js +86 -0
- package/dist/chunks/useHandles.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/chunks/useView.js +1 -1
- package/dist/chunks/useViewModel.js +1 -1
- package/dist/chunks/useWidget.js +1 -1
- package/dist/chunks/utils.js +11 -16
- package/dist/chunks/utils2.js +1 -1
- package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +2 -2
- package/dist/components/arcgis-area-measurement-2d/customElement.js +1 -1
- package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +1 -1
- package/dist/components/arcgis-area-measurement-3d/customElement.js +1 -1
- package/dist/components/arcgis-attachments/customElement.d.ts +4 -4
- package/dist/components/arcgis-attachments/customElement.js +1 -1
- package/dist/components/arcgis-basemap-gallery/customElement.js +1 -1
- package/dist/components/arcgis-basemap-gallery-item/customElement.js +1 -1
- package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +1 -1
- package/dist/components/arcgis-basemap-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-basemap-toggle/customElement.js +1 -1
- package/dist/components/arcgis-bookmarks/customElement.js +1 -1
- package/dist/components/arcgis-building-explorer/customElement.d.ts +1 -1
- package/dist/components/arcgis-building-explorer/customElement.js +1 -1
- package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +1 -1
- package/dist/components/arcgis-catalog-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-compass/customElement.js +1 -1
- package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +2 -2
- package/dist/components/arcgis-coordinate-conversion/customElement.js +80 -71
- package/dist/components/arcgis-daylight/customElement.js +1 -1
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +1 -1
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +1 -1
- package/dist/components/arcgis-directional-pad/customElement.js +1 -1
- package/dist/components/arcgis-directions/customElement.d.ts +1 -1
- package/dist/components/arcgis-directions/customElement.js +1 -1
- package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +2 -2
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +1 -1
- package/dist/components/arcgis-editor/customElement.d.ts +1 -1
- package/dist/components/arcgis-editor/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile/customElement.d.ts +4 -4
- package/dist/components/arcgis-elevation-profile/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile-legend/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile-legend-item/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile-next/customElement.d.ts +3 -3
- package/dist/components/arcgis-elevation-profile-next/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile-settings/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile-statistics/customElement.js +1 -1
- package/dist/components/arcgis-expand/customElement.js +1 -1
- package/dist/components/arcgis-feature/customElement.d.ts +5 -4
- package/dist/components/arcgis-feature/customElement.js +88 -75
- package/dist/components/arcgis-feature/index.d.ts +1 -0
- package/dist/components/arcgis-feature/index.js +1 -0
- package/dist/components/arcgis-feature-attachments/customElement.js +1 -1
- package/dist/components/arcgis-feature-content/customElement.js +2 -2
- package/dist/components/arcgis-feature-element-info/customElement.js +1 -1
- package/dist/components/arcgis-feature-expression/customElement.js +1 -1
- package/dist/components/arcgis-feature-fields/customElement.d.ts +5 -0
- package/dist/components/arcgis-feature-fields/customElement.js +38 -34
- package/dist/components/arcgis-feature-form/customElement.d.ts +3 -3
- package/dist/components/arcgis-feature-form/customElement.js +1 -1
- package/dist/components/arcgis-feature-media/customElement.js +177 -176
- package/dist/components/arcgis-feature-relationship/customElement.js +1 -1
- package/dist/components/arcgis-feature-table/customElement.d.ts +3 -3
- package/dist/components/arcgis-feature-table/customElement.js +1 -1
- package/dist/components/arcgis-feature-templates/customElement.d.ts +1 -1
- package/dist/components/arcgis-feature-templates/customElement.js +1 -1
- package/dist/components/arcgis-feature-utility-network-association-list/customElement.d.ts +23 -0
- package/dist/components/arcgis-feature-utility-network-association-list/customElement.js +123 -0
- package/dist/components/arcgis-feature-utility-network-association-list/index.d.ts +8 -0
- package/dist/components/arcgis-feature-utility-network-association-list/index.js +8 -0
- package/dist/components/arcgis-feature-utility-network-associations/customElement.d.ts +73 -0
- package/dist/components/arcgis-feature-utility-network-associations/customElement.js +506 -0
- package/dist/components/arcgis-feature-utility-network-associations/index.d.ts +8 -0
- package/dist/components/arcgis-feature-utility-network-associations/index.js +8 -0
- package/dist/components/arcgis-features/customElement.d.ts +3 -4
- package/dist/components/arcgis-features/customElement.js +3 -3
- package/dist/components/arcgis-floor-filter/customElement.d.ts +1 -1
- package/dist/components/arcgis-floor-filter/customElement.js +1 -1
- package/dist/components/arcgis-fullscreen/customElement.js +1 -1
- package/dist/components/arcgis-grid-controls/customElement.js +1 -1
- package/dist/components/arcgis-histogram-range-slider/customElement.d.ts +2 -2
- package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-home/customElement.d.ts +1 -1
- package/dist/components/arcgis-home/customElement.js +1 -1
- package/dist/components/arcgis-labeled-switch/customElement.js +1 -1
- package/dist/components/arcgis-layer-list/customElement.d.ts +1 -1
- package/dist/components/arcgis-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-layer-list-item/customElement.js +1 -1
- package/dist/components/arcgis-legend/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-color-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-element/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-size-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-univariate-above-and-below-ramp/customElement.js +12 -12
- package/dist/components/arcgis-legend-card-univariate-color-size-ramp/customElement.js +9 -9
- package/dist/components/arcgis-legend-card-view/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-color-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-element/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-size-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-univariate-above-and-below-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-univariate-color-size-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-view/customElement.js +1 -1
- package/dist/components/arcgis-legend-relationship-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-spike-ramp/customElement.js +1 -1
- package/dist/components/arcgis-line-of-sight/customElement.js +1 -1
- package/dist/components/arcgis-link-chart/customElement.d.ts +29 -3
- package/dist/components/arcgis-link-chart/customElement.js +11 -11
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +1 -1
- package/dist/components/arcgis-locate/customElement.js +1 -1
- package/dist/components/arcgis-map/customElement.d.ts +67 -36
- package/dist/components/arcgis-map/customElement.js +20 -20
- package/dist/components/arcgis-measurement/customElement.d.ts +4 -4
- package/dist/components/arcgis-measurement/customElement.js +1 -1
- package/dist/components/arcgis-measurement-content/customElement.js +1 -1
- package/dist/components/arcgis-navigation-toggle/customElement.js +1 -1
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +2 -2
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +1 -1
- package/dist/components/arcgis-placement/customElement.js +1 -1
- package/dist/components/arcgis-popup/customElement.d.ts +3 -4
- package/dist/components/arcgis-popup/customElement.js +1 -1
- package/dist/components/arcgis-print/customElement.js +1 -1
- package/dist/components/arcgis-print/utils.d.ts +1 -1
- package/dist/components/arcgis-print-custom-text-elements/customElement.js +1 -1
- package/dist/components/arcgis-print-dpi-input/customElement.js +1 -1
- package/dist/components/arcgis-print-export-button/customElement.js +1 -1
- package/dist/components/arcgis-print-exported-link/customElement.js +38 -48
- package/dist/components/arcgis-print-exports-panel/customElement.js +4 -4
- package/dist/components/arcgis-print-format-select/customElement.js +1 -1
- package/dist/components/arcgis-print-layout-advanced-options/customElement.js +1 -1
- package/dist/components/arcgis-print-layout-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-main-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +1 -1
- package/dist/components/arcgis-print-map-only-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +1 -1
- package/dist/components/arcgis-print-preview-input/customElement.js +1 -1
- package/dist/components/arcgis-print-scale-section/customElement.js +1 -1
- package/dist/components/arcgis-print-template-select/customElement.js +17 -15
- package/dist/components/arcgis-print-template-selector/customElement.js +1 -1
- package/dist/components/arcgis-scale-bar/customElement.js +1 -1
- package/dist/components/arcgis-scale-range-slider/customElement.d.ts +1 -1
- package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-scene/customElement.d.ts +31 -5
- package/dist/components/arcgis-scene/customElement.js +16 -16
- package/dist/components/arcgis-search/customElement.d.ts +1 -1
- package/dist/components/arcgis-search/customElement.js +1 -1
- package/dist/components/arcgis-search-result-renderer/customElement.d.ts +2 -0
- package/dist/components/arcgis-search-result-renderer/customElement.js +1 -1
- package/dist/components/arcgis-shadow-cast/customElement.d.ts +2 -2
- package/dist/components/arcgis-shadow-cast/customElement.js +2 -2
- package/dist/components/arcgis-sketch/customElement.d.ts +3 -3
- package/dist/components/arcgis-sketch/customElement.js +1 -1
- package/dist/components/arcgis-slice/customElement.js +1 -1
- package/dist/components/arcgis-spinner/customElement.js +1 -1
- package/dist/components/arcgis-swipe/customElement.js +1 -1
- package/dist/components/arcgis-table-list/customElement.d.ts +2 -2
- package/dist/components/arcgis-table-list/customElement.js +1 -1
- package/dist/components/arcgis-time-slider/customElement.d.ts +2 -2
- package/dist/components/arcgis-time-slider/customElement.js +1 -1
- package/dist/components/arcgis-time-zone-label/customElement.js +1 -1
- package/dist/components/arcgis-track/customElement.js +1 -1
- package/dist/components/arcgis-unit-select/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-association-list/customElement.d.ts +27 -0
- package/dist/components/arcgis-utility-network-association-list/customElement.js +110 -0
- package/dist/components/arcgis-utility-network-association-list/index.d.ts +4 -0
- package/dist/components/arcgis-utility-network-association-list/index.js +4 -0
- package/dist/components/arcgis-utility-network-association-list/types.d.ts +2 -0
- package/dist/components/arcgis-utility-network-associations/customElement.d.ts +1 -1
- package/dist/components/arcgis-utility-network-associations/customElement.js +2 -2
- package/dist/components/arcgis-utility-network-result-feature-list/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace/customElement.d.ts +1 -1
- package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +13 -34
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.d.ts +4 -2
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +149 -35
- package/dist/components/arcgis-utility-network-trace-inputs/index.d.ts +6 -2
- package/dist/components/arcgis-utility-network-trace-inputs/index.js +6 -2
- package/dist/components/arcgis-utility-network-trace-location/customElement.d.ts +44 -0
- package/dist/components/arcgis-utility-network-trace-location/customElement.js +194 -0
- package/dist/components/arcgis-utility-network-trace-location/index.d.ts +3 -0
- package/dist/components/arcgis-utility-network-trace-location/index.js +3 -0
- package/dist/components/arcgis-utility-network-trace-results/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-validate-topology/customElement.d.ts +1 -1
- package/dist/components/arcgis-utility-network-validate-topology/customElement.js +2 -2
- package/dist/components/arcgis-value-picker/customElement.d.ts +2 -2
- package/dist/components/arcgis-value-picker/customElement.js +1 -1
- package/dist/components/arcgis-version-management/customElement.js +2 -2
- package/dist/components/arcgis-version-management-service-item/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-list/customElement.js +42 -27
- package/dist/components/arcgis-version-management-version-list/index.d.ts +2 -1
- package/dist/components/arcgis-version-management-version-list/index.js +2 -1
- package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
- package/dist/components/arcgis-video/customElement.d.ts +2 -2
- package/dist/components/arcgis-video/customElement.js +1 -1
- package/dist/components/arcgis-video-player/customElement.d.ts +1 -1
- package/dist/components/arcgis-video-player/customElement.js +1 -1
- package/dist/components/arcgis-video-player-action-bar/customElement.js +1 -1
- package/dist/components/arcgis-video-player-actions-group/customElement.js +1 -1
- package/dist/components/arcgis-video-player-controls-group/customElement.js +1 -1
- package/dist/components/arcgis-video-player-metadata/customElement.js +1 -1
- package/dist/components/arcgis-video-player-settings/customElement.js +1 -1
- package/dist/components/arcgis-video-player-slider/customElement.js +1 -1
- package/dist/components/arcgis-weather/customElement.js +1 -1
- package/dist/components/arcgis-zoom/customElement.js +1 -1
- package/dist/controllers/useArcgisLoadError.d.ts +27 -0
- package/dist/controllers/useArcgisViewReadyError.d.ts +17 -0
- package/dist/docs/api.json +674 -56
- package/dist/docs/docs.json +707 -78
- package/dist/docs/vscode.html-custom-data.json +39 -9
- package/dist/docs/web-types.json +200 -43
- package/dist/index.d.ts +27 -0
- package/dist/index.js +1 -1
- package/dist/loader.js +12 -9
- package/dist/support/measurementUtils.d.ts +2 -2
- package/dist/types/lumina.d.ts +17 -3
- package/dist/types/preact.d.ts +18 -3
- package/dist/types/preact10.d.ts +19 -3
- package/dist/types/react.d.ts +19 -3
- package/dist/types/stencil.d.ts +17 -3
- package/dist/utils/feature-utils.d.ts +16 -1
- package/dist/utils/layer-utils.d.ts +4 -0
- package/package.json +3 -3
- package/dist/cdn/26MREIVX.js +0 -4
- package/dist/cdn/2HCAQJDA.js +0 -4
- package/dist/cdn/2OPKEDRF.js +0 -4
- package/dist/cdn/2U56XZA5.js +0 -4
- package/dist/cdn/6WKL7XXK.js +0 -4
- package/dist/cdn/AWI3K6XR.js +0 -4
- package/dist/cdn/DELN7ZGL.js +0 -5
- package/dist/cdn/FENOD7H6.js +0 -4
- package/dist/cdn/FHIPTY2Q.js +0 -4
- package/dist/cdn/FSHOPPLQ.js +0 -4
- package/dist/cdn/FSU3E6AQ.js +0 -4
- package/dist/cdn/G4H5D4DJ.js +0 -4
- package/dist/cdn/H7YNL2TB.js +0 -4
- package/dist/cdn/HJU6AZMW.js +0 -4
- package/dist/cdn/HQCVE2GO.js +0 -4
- package/dist/cdn/HVWVEPEF.js +0 -4
- package/dist/cdn/IC6SSSQO.js +0 -4
- package/dist/cdn/IN4RK6U7.js +0 -4
- package/dist/cdn/KRM4ZBQX.js +0 -4
- package/dist/cdn/MDSY3NEJ.js +0 -4
- package/dist/cdn/MROG6VEE.js +0 -4
- package/dist/cdn/N4IL4AAP.js +0 -4
- package/dist/cdn/UKIS5KFN.js +0 -4
- package/dist/cdn/WVIM6FIJ.js +0 -4
- package/dist/chunks/uiController.js +0 -50
- package/dist/components/arcgis-version-management-version-item/customElement.d.ts +0 -22
- package/dist/components/arcgis-version-management-version-item/customElement.js +0 -30
- package/dist/components/arcgis-version-management-version-item/index.d.ts +0 -5
- package/dist/components/arcgis-version-management-version-item/index.js +0 -5
|
@@ -1,39 +1,120 @@
|
|
|
1
|
-
import { c } from "../../chunks/runtime.js";
|
|
2
|
-
import { repeat as
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import {
|
|
1
|
+
import { c as f } from "../../chunks/runtime.js";
|
|
2
|
+
import { repeat as d } from "lit/directives/repeat.js";
|
|
3
|
+
import o from "@arcgis/core/core/Collection.js";
|
|
4
|
+
import k from "@arcgis/core/layers/GraphicsLayer.js";
|
|
5
|
+
import { LitElement as m, createEvent as h, safeClassMap as g } from "@arcgis/lumina";
|
|
6
|
+
import { css as _, html as c } from "lit";
|
|
7
|
+
import { u as L } from "../../chunks/useT9n.js";
|
|
8
|
+
import l from "@arcgis/core/views/interactive/snapping/FeatureSnappingLayerSource.js";
|
|
9
|
+
import $ from "@arcgis/core/widgets/Sketch/SketchViewModel.js";
|
|
6
10
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
7
11
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
8
|
-
v5.0.0-next.
|
|
9
|
-
const
|
|
10
|
-
|
|
12
|
+
v5.0.0-next.7 */
|
|
13
|
+
const b = _`:host{min-width:300px}.arcgis-utility-network-trace-inputs calcite-block{--calcite-block-content-space: 0;--calcite-block-border-color: transparent;margin:0}.arcgis-utility-network-trace-inputs calcite-block-group{margin-bottom:var(--calcite-spacing-md);background-color:var(--calcite-color-foreground-1)}.arcgis-utility-network-trace-inputs calcite-block calcite-select{padding:0 var(--calcite-spacing-md)}.arcgis-utility-network-trace-inputs calcite-block calcite-label:last-child{--calcite-label-margin-bottom: 0}.arcgis-utility-network-trace-inputs calcite-notice{padding:var(--calcite-spacing-xs)}.arcgis-utility-network-trace-inputs__add-spatial-mode{display:flex;padding:var(--calcite-spacing-xxl) var(--calcite-spacing-sm);flex-direction:column;justify-content:center;align-items:center;gap:var(--calcite-spacing-md);align-self:stretch}`, u = "arcgis-utility-network-trace-inputs", p = {
|
|
14
|
+
// popup renderer
|
|
15
|
+
base: u,
|
|
16
|
+
// containers and content
|
|
17
|
+
addSpatialMode: `${u}__add-spatial-mode`
|
|
18
|
+
}, s = "map-components:utility-network-trace-inputs", y = `utility-network-trace-inputs-sketch-${Date.now()}`, n = `utility-network-trace-inputs-flags-${Date.now()}`;
|
|
19
|
+
class T extends m {
|
|
11
20
|
constructor() {
|
|
12
|
-
super(...arguments), this.messages =
|
|
21
|
+
super(...arguments), this.messages = L({ blocking: !0 }), this.startingPoints = new o(), this.barriers = new o(), this.stoppingPoints = new o(), this.traceConfigurations = [], this._state = "ready", this._mode = "default", this.arcgisTraceInputsChange = h(), this.arcgisUtilityNetworkChange = h();
|
|
13
22
|
}
|
|
14
23
|
static {
|
|
15
|
-
this.properties = { traceConfigurations: 16, utilityNetworks: 16, _state: 16, view: 0, selectedUtilityNetwork: 0, selectedTraceConfiguration: 0, referenceElement: 1 };
|
|
24
|
+
this.properties = { traceConfigurations: 16, utilityNetworks: 16, _state: 16, _mode: 16, _activeTraceLocationType: 16, view: 0, selectedUtilityNetwork: 0, selectedTraceConfiguration: 0, referenceElement: 1, traceLocations: 32 };
|
|
16
25
|
}
|
|
17
26
|
static {
|
|
18
|
-
this.styles =
|
|
27
|
+
this.styles = b;
|
|
28
|
+
}
|
|
29
|
+
get _allLayers() {
|
|
30
|
+
const { view: t } = this;
|
|
31
|
+
return t?.map ? t.map.allLayers.toArray().concat(t.map.allTables.toArray()) : [];
|
|
32
|
+
}
|
|
33
|
+
get traceLocations() {
|
|
34
|
+
const t = this.startingPoints.toArray().map((a) => a.traceLocation), e = this.barriers.toArray().map((a) => a.traceLocation), i = this.stoppingPoints.toArray().map((a) => a.traceLocation);
|
|
35
|
+
return [...t, ...e, ...i];
|
|
19
36
|
}
|
|
20
37
|
load() {
|
|
21
|
-
this._setupUtilityNetwork();
|
|
38
|
+
this._setupUtilityNetwork(), this._setupSketchViewModel();
|
|
22
39
|
}
|
|
23
40
|
willUpdate(t) {
|
|
24
41
|
const { utilityNetworks: e, selectedUtilityNetwork: i } = this;
|
|
25
|
-
(t.has("utilityNetworks") || !e || e.length === 0 || !i || !e?.includes(i)) && this._handleUtilityNetworksChange(), t.has("selectedUtilityNetwork") && (this.arcgisUtilityNetworkChange.emit(), this.
|
|
42
|
+
(t.has("utilityNetworks") || !e || e.length === 0 || !i || !e?.includes(i)) && this._handleUtilityNetworksChange(), t.has("selectedUtilityNetwork") && (this.arcgisUtilityNetworkChange.emit(), this._handleSelectedUtilityNetworkChange()), t.has("selectedTraceConfiguration") && (this.arcgisTraceInputsChange.emit(), this._handleTraceConfigChange());
|
|
43
|
+
}
|
|
44
|
+
_clearTraceLocations() {
|
|
45
|
+
const { startingPoints: t, barriers: e, stoppingPoints: i } = this;
|
|
46
|
+
this._getGraphicLayer(n)?.removeAll(), t.removeAll(), e.removeAll(), i.removeAll();
|
|
47
|
+
}
|
|
48
|
+
_addUniqueLayer(t, e, i) {
|
|
49
|
+
if (!e || !t?.map)
|
|
50
|
+
return;
|
|
51
|
+
const { map: a } = t, r = a.layers.find((w) => w === e);
|
|
52
|
+
r || a.add(e, i), r && i != null && a.layers.reorder(r, i);
|
|
53
|
+
}
|
|
54
|
+
_createGraphicLayer(t) {
|
|
55
|
+
const { map: e } = this.view;
|
|
56
|
+
if (!e?.findLayerById(t)) {
|
|
57
|
+
const a = new k({
|
|
58
|
+
id: t,
|
|
59
|
+
listMode: "hide",
|
|
60
|
+
title: t
|
|
61
|
+
});
|
|
62
|
+
this._addUniqueLayer(this.view, a);
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
_getGraphicLayer(t) {
|
|
66
|
+
const { map: e } = this.view;
|
|
67
|
+
if (e) {
|
|
68
|
+
const i = e.findLayerById(t);
|
|
69
|
+
if (i && i.type === "graphics")
|
|
70
|
+
return i;
|
|
71
|
+
}
|
|
72
|
+
return null;
|
|
73
|
+
}
|
|
74
|
+
_setSnappingOption() {
|
|
75
|
+
const { _sketchViewModel: t, _unLayers: e } = this;
|
|
76
|
+
if (t && e && e.length > 0) {
|
|
77
|
+
const i = new o();
|
|
78
|
+
e.forEach((a) => {
|
|
79
|
+
a.type === "subtype-group" ? a.sublayers.forEach((r) => {
|
|
80
|
+
i.add(new l({
|
|
81
|
+
layer: r,
|
|
82
|
+
enabled: !0
|
|
83
|
+
}));
|
|
84
|
+
}) : i.add(new l({
|
|
85
|
+
layer: a,
|
|
86
|
+
enabled: !0
|
|
87
|
+
}));
|
|
88
|
+
}), t.snappingOptions = {
|
|
89
|
+
enabled: !0,
|
|
90
|
+
featureEnabled: !0,
|
|
91
|
+
featureSources: i
|
|
92
|
+
};
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
_initializeSketchViewModel() {
|
|
96
|
+
const { view: t, _unLayers: e } = this, i = this._getGraphicLayer(y), a = new o();
|
|
97
|
+
return e?.forEach((r) => a.add(new l({
|
|
98
|
+
layer: r,
|
|
99
|
+
enabled: !0
|
|
100
|
+
}))), new $({
|
|
101
|
+
layer: i,
|
|
102
|
+
view: t
|
|
103
|
+
});
|
|
104
|
+
}
|
|
105
|
+
_setupSketchViewModel() {
|
|
106
|
+
this._createGraphicLayer(y), this._createGraphicLayer(n), this._sketchViewModel = this._initializeSketchViewModel();
|
|
26
107
|
}
|
|
27
108
|
_handleSubnetworkTraceConfigChange(t) {
|
|
28
109
|
if (!t.traceConfiguration) {
|
|
29
|
-
console.error(`${
|
|
110
|
+
console.error(`${s} - Trace configuration not found`);
|
|
30
111
|
return;
|
|
31
112
|
}
|
|
32
113
|
}
|
|
33
114
|
_selectTraceConfigurationByGuid(t) {
|
|
34
115
|
const e = this.selectedUtilityNetwork?.sharedNamedTraceConfigurations.find((i) => i.globalId === t);
|
|
35
116
|
if (!e) {
|
|
36
|
-
console.error(`${
|
|
117
|
+
console.error(`${s} - Trace configuration not found`);
|
|
37
118
|
return;
|
|
38
119
|
}
|
|
39
120
|
this.selectedTraceConfiguration = e;
|
|
@@ -46,16 +127,23 @@ class w extends u {
|
|
|
46
127
|
this._handleSubnetworkTraceConfigChange(t);
|
|
47
128
|
break;
|
|
48
129
|
default:
|
|
49
|
-
console.error(`${
|
|
130
|
+
console.error(`${s} - Unknown trace configuration type`);
|
|
50
131
|
}
|
|
51
132
|
}
|
|
52
|
-
async
|
|
53
|
-
await this.selectedUtilityNetwork?.load(), this.
|
|
133
|
+
async _handleSelectedUtilityNetworkChange() {
|
|
134
|
+
await this.selectedUtilityNetwork?.load(), this._setupTraceConfigurations(), this._filterUnLayers(), this._clearTraceLocations();
|
|
135
|
+
}
|
|
136
|
+
_setupTraceConfigurations() {
|
|
137
|
+
this.traceConfigurations = this.selectedUtilityNetwork?.sharedNamedTraceConfigurations || [], this.selectedTraceConfiguration = this.traceConfigurations.at(0);
|
|
138
|
+
}
|
|
139
|
+
_filterUnLayers() {
|
|
140
|
+
const { selectedUtilityNetwork: t } = this;
|
|
141
|
+
this._unLayers = new o(this._allLayers.filter((e) => t?.isUtilityLayer(e))), this._setSnappingOption();
|
|
54
142
|
}
|
|
55
143
|
_handleUtilityNetworksChange() {
|
|
56
144
|
const { utilityNetworks: t } = this;
|
|
57
145
|
if (!t || t.length === 0) {
|
|
58
|
-
this._state = "error", console.error(`${
|
|
146
|
+
this._state = "error", console.error(`${s} - No utility networks found in the map`);
|
|
59
147
|
return;
|
|
60
148
|
}
|
|
61
149
|
(!this.selectedUtilityNetwork || !t.includes(this.selectedUtilityNetwork)) && (this.selectedUtilityNetwork = t.at(0));
|
|
@@ -65,39 +153,65 @@ class w extends u {
|
|
|
65
153
|
const t = this.view.map;
|
|
66
154
|
await t.load(), this.utilityNetworks = t.utilityNetworks || void 0;
|
|
67
155
|
} else
|
|
68
|
-
this._state = "disabled", console.error(`${
|
|
156
|
+
this._state = "disabled", console.error(`${s} - No view or map available to load utility networks`);
|
|
157
|
+
}
|
|
158
|
+
_handleTraceLocationSelectStart(t) {
|
|
159
|
+
this._activeTraceLocationType = t?.target?.traceLocationType, this._mode = "add-spatial";
|
|
160
|
+
}
|
|
161
|
+
_handleTraceLocationSelectEnd() {
|
|
162
|
+
this._activeTraceLocationType = void 0, this._mode = "default";
|
|
163
|
+
}
|
|
164
|
+
_handleFlowItemBack() {
|
|
165
|
+
this._mode = "default", this._activeTraceLocationType = void 0, this._sketchViewModel?.cancel();
|
|
69
166
|
}
|
|
70
167
|
renderError(t, e = !1) {
|
|
71
|
-
return
|
|
168
|
+
return c`<calcite-notice .closable=${e} kind=danger open scale=s width=full><div slot=message>${t}</div></calcite-notice>`;
|
|
72
169
|
}
|
|
73
170
|
renderLoader() {
|
|
74
|
-
return
|
|
171
|
+
return c`<calcite-loader label=loading></calcite-loader>`;
|
|
75
172
|
}
|
|
76
173
|
renderTraceSelection() {
|
|
77
174
|
const { messages: t, traceConfigurations: e } = this, i = t.labels.traceConfiguration;
|
|
78
175
|
if (e.length === 0)
|
|
79
176
|
return this.renderError(t.errors.noTraceConfigurationError, !0);
|
|
80
|
-
const
|
|
81
|
-
return
|
|
82
|
-
this._selectTraceConfigurationByGuid(
|
|
83
|
-
}}>${
|
|
177
|
+
const a = d(e, (r) => r.globalId, (r) => c`<calcite-option .value=${r.globalId}>${r.title}</calcite-option>`);
|
|
178
|
+
return c`<calcite-block .heading=${i} .label=${i} expanded><calcite-select .label=${i} .value=${this.selectedTraceConfiguration?.globalId || void 0} @calciteSelectChange=${(r) => {
|
|
179
|
+
this._selectTraceConfigurationByGuid(r.target.value);
|
|
180
|
+
}}>${a}</calcite-select></calcite-block>`;
|
|
84
181
|
}
|
|
85
182
|
renderUtilityNetworkSelection() {
|
|
86
|
-
const { messages: t } = this, e = t.labels.utilityNetwork, i =
|
|
87
|
-
return
|
|
88
|
-
this.selectedUtilityNetwork?.id !==
|
|
89
|
-
}}>${i}</calcite-select></calcite-
|
|
183
|
+
const { messages: t } = this, e = t.labels.utilityNetwork, i = d(this.utilityNetworks, (a) => a.id, (a) => c`<calcite-option .value=${a.id}>${a.title}</calcite-option>`);
|
|
184
|
+
return c`<calcite-block .heading=${e} .label=${e} expanded><calcite-select .label=${e} .value=${this.selectedUtilityNetwork?.id} @calciteSelectChange=${(a) => {
|
|
185
|
+
this.selectedUtilityNetwork?.id !== a.target.value && (this.selectedUtilityNetwork = this.utilityNetworks?.find((r) => r.id === a.target.value));
|
|
186
|
+
}}>${i}</calcite-select></calcite-block>`;
|
|
187
|
+
}
|
|
188
|
+
renderDefaultMode() {
|
|
189
|
+
const { messages: t, _state: e, _mode: i } = this;
|
|
190
|
+
return c`<calcite-flow-item .selected=${i === "default"}><calcite-block-group .label=${t.labels.traceInputs}>${e === "disabled" ? this.renderError(t.errors.noMapError) : this.renderContent()}</calcite-block-group></calcite-flow-item>`;
|
|
191
|
+
}
|
|
192
|
+
renderAddSpatialMode() {
|
|
193
|
+
const { messages: t, _activeTraceLocationType: e } = this, i = e === "starting-point" ? t.labels.addSpatial.startingPoint : e === "barrier" ? t.labels.addSpatial.barrier : t.labels.addSpatial.stoppingPoint;
|
|
194
|
+
return c`<calcite-flow-item selected .heading=${i} @calciteFlowItemBack=${() => this._handleFlowItemBack()}><div class=${g(p.addSpatialMode)}><calcite-icon icon=pin-plus scale=l></calcite-icon>${t.instructions.addSpatial}</div></calcite-flow-item>`;
|
|
195
|
+
}
|
|
196
|
+
renderStartingPointSelection() {
|
|
197
|
+
return c`<arcgis-utility-network-trace-location .view=${this.view} trace-location-type=starting-point @arcgisTraceLocationSelectStart=${(t) => this._handleTraceLocationSelectStart(t)} @arcgisTraceLocationSelectEnd=${() => this._handleTraceLocationSelectEnd()} @arcgisTraceLocationChange=${() => this.arcgisTraceInputsChange.emit()} .sketchViewModel=${this._sketchViewModel} .utilityNetwork=${this.selectedUtilityNetwork} .filterLayers=${this._unLayers} .flagLayer=${this._getGraphicLayer(n)} .traceLocations=${this.startingPoints}></arcgis-utility-network-trace-location>`;
|
|
198
|
+
}
|
|
199
|
+
renderStoppingPointSelection() {
|
|
200
|
+
return c`<arcgis-utility-network-trace-location .view=${this.view} trace-location-type=stopping-point @arcgisTraceLocationSelectStart=${(t) => this._handleTraceLocationSelectStart(t)} @arcgisTraceLocationSelectEnd=${() => this._handleTraceLocationSelectEnd()} @arcgisTraceLocationChange=${() => this.arcgisTraceInputsChange.emit()} .sketchViewModel=${this._sketchViewModel} .utilityNetwork=${this.selectedUtilityNetwork} .filterLayers=${this._unLayers} .flagLayer=${this._getGraphicLayer(n)} .traceLocations=${this.stoppingPoints}></arcgis-utility-network-trace-location>`;
|
|
201
|
+
}
|
|
202
|
+
renderBarrierSelection() {
|
|
203
|
+
return c`<arcgis-utility-network-trace-location .view=${this.view} trace-location-type=barrier @arcgisTraceLocationSelectStart=${(t) => this._handleTraceLocationSelectStart(t)} @arcgisTraceLocationSelectEnd=${() => this._handleTraceLocationSelectEnd()} @arcgisTraceLocationChange=${() => this.arcgisTraceInputsChange.emit()} .sketchViewModel=${this._sketchViewModel} .utilityNetwork=${this.selectedUtilityNetwork} .filterLayers=${this._unLayers} .flagLayer=${this._getGraphicLayer(n)} .traceLocations=${this.barriers}></arcgis-utility-network-trace-location>`;
|
|
90
204
|
}
|
|
91
205
|
renderContent() {
|
|
92
206
|
const { messages: t, utilityNetworks: e } = this;
|
|
93
|
-
return !e || e.length === 0 ? this.renderError(t.errors.noUtilityNetworkError) :
|
|
207
|
+
return !e || e.length === 0 ? this.renderError(t.errors.noUtilityNetworkError) : c`<calcite-block-group .label=${t.labels.traceInputs}>${e.length > 1 ? this.renderUtilityNetworkSelection() : null}${this.selectedUtilityNetwork?.loaded ? this.renderTraceSelection() : this.renderLoader()}${this.selectedTraceConfiguration ? this.renderStartingPointSelection() : null}${this.selectedTraceConfiguration ? this.renderStoppingPointSelection() : null}${this.selectedTraceConfiguration ? this.renderBarrierSelection() : null}</calcite-block-group>`;
|
|
94
208
|
}
|
|
95
209
|
render() {
|
|
96
|
-
const {
|
|
97
|
-
return
|
|
210
|
+
const { _mode: t } = this;
|
|
211
|
+
return c`<div class=${g(p.base)}><calcite-flow>${this.renderDefaultMode()}${t === "add-spatial" ? this.renderAddSpatialMode() : null}</calcite-flow></div>`;
|
|
98
212
|
}
|
|
99
213
|
}
|
|
100
|
-
|
|
214
|
+
f("arcgis-utility-network-trace-inputs", T);
|
|
101
215
|
export {
|
|
102
|
-
|
|
216
|
+
T as ArcgisUtilityNetworkTraceInputs
|
|
103
217
|
};
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
import "@esri/calcite-components/components/calcite-notice";
|
|
2
2
|
import "@esri/calcite-components/components/calcite-loader";
|
|
3
3
|
import "@esri/calcite-components/components/calcite-option";
|
|
4
|
-
import "@esri/calcite-components/components/calcite-label";
|
|
5
|
-
import "@esri/calcite-components/components/calcite-select";
|
|
6
4
|
import "@esri/calcite-components/components/calcite-block";
|
|
5
|
+
import "@esri/calcite-components/components/calcite-select";
|
|
6
|
+
import "@esri/calcite-components/components/calcite-flow-item";
|
|
7
|
+
import "@esri/calcite-components/components/calcite-block-group";
|
|
8
|
+
import "@esri/calcite-components/components/calcite-icon";
|
|
9
|
+
import "../arcgis-utility-network-trace-location/index.js";
|
|
10
|
+
import "@esri/calcite-components/components/calcite-flow";
|
|
7
11
|
export * from "./customElement.js";
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
import "@esri/calcite-components/components/calcite-notice";
|
|
2
2
|
import "@esri/calcite-components/components/calcite-loader";
|
|
3
3
|
import "@esri/calcite-components/components/calcite-option";
|
|
4
|
-
import "@esri/calcite-components/components/calcite-label";
|
|
5
|
-
import "@esri/calcite-components/components/calcite-select";
|
|
6
4
|
import "@esri/calcite-components/components/calcite-block";
|
|
5
|
+
import "@esri/calcite-components/components/calcite-select";
|
|
6
|
+
import "@esri/calcite-components/components/calcite-flow-item";
|
|
7
|
+
import "@esri/calcite-components/components/calcite-block-group";
|
|
8
|
+
import "@esri/calcite-components/components/calcite-icon";
|
|
9
|
+
import "../arcgis-utility-network-trace-location/index.js";
|
|
10
|
+
import "@esri/calcite-components/components/calcite-flow";
|
|
7
11
|
export * from "./customElement.js";
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/// <reference path="../../index.d.ts" />
|
|
2
|
+
import { default as Collection } from '@arcgis/core/core/Collection.js';
|
|
3
|
+
import { default as GraphicsLayer } from '@arcgis/core/layers/GraphicsLayer.js';
|
|
4
|
+
import { default as Layer } from '@arcgis/core/layers/Layer.js';
|
|
5
|
+
import { default as MapView } from '@arcgis/core/views/MapView.js';
|
|
6
|
+
import { default as SketchViewModel } from '@arcgis/core/widgets/Sketch/SketchViewModel.js';
|
|
7
|
+
import { PublicLitElement as LitElement, TargetedEvent, JsxNode } from '@arcgis/lumina';
|
|
8
|
+
import { default as UtilityNetwork } from '@arcgis/core/networks/UtilityNetwork.js';
|
|
9
|
+
import { default as TraceLocation } from '@arcgis/core/rest/networks/support/TraceLocation.js';
|
|
10
|
+
import { default as Point } from '@arcgis/core/geometry/Point.js';
|
|
11
|
+
import { default as Graphic } from '@arcgis/core/Graphic.js';
|
|
12
|
+
export interface FlagProperty {
|
|
13
|
+
traceLocation: TraceLocation;
|
|
14
|
+
mapPoint?: Point | null;
|
|
15
|
+
mapGraphic?: Graphic | null;
|
|
16
|
+
details?: Graphic | null;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* This is a sub-component used by the **ArcgisUtilityNetworkTraceAnalysis** component.
|
|
21
|
+
*
|
|
22
|
+
* This sub-component takes a map view as an input.
|
|
23
|
+
* It allows users to select locations on the map to use as trace inputs.
|
|
24
|
+
*
|
|
25
|
+
* [Read more...](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-utility-network-trace-location/)
|
|
26
|
+
*
|
|
27
|
+
* @since 4.34
|
|
28
|
+
* @internal
|
|
29
|
+
*/
|
|
30
|
+
export declare class ArcgisUtilityNetworkTraceLocation extends LitElement {
|
|
31
|
+
/** @required */
|
|
32
|
+
view?: MapView;
|
|
33
|
+
/** @default "starting-point" */
|
|
34
|
+
traceLocationType: "barrier" | "starting-point" | "stopping-point";
|
|
35
|
+
traceLocations?: Collection<FlagProperty>;
|
|
36
|
+
filterLayers?: Collection<Layer>;
|
|
37
|
+
sketchViewModel?: SketchViewModel;
|
|
38
|
+
flagLayer?: GraphicsLayer;
|
|
39
|
+
/** @required The utility network to perform the trace on. */
|
|
40
|
+
utilityNetwork?: UtilityNetwork;
|
|
41
|
+
readonly arcgisTraceLocationChange: TargetedEvent<this, void>;
|
|
42
|
+
readonly arcgisTraceLocationSelectEnd: TargetedEvent<this, void>;
|
|
43
|
+
readonly arcgisTraceLocationSelectStart: TargetedEvent<this, void>;
|
|
44
|
+
}
|
|
@@ -0,0 +1,194 @@
|
|
|
1
|
+
import { c as $ } from "../../chunks/runtime.js";
|
|
2
|
+
import { css as T, html as b } from "lit";
|
|
3
|
+
import v from "@arcgis/core/geometry/Polyline.js";
|
|
4
|
+
import x from "@arcgis/core/geometry/SpatialReference.js";
|
|
5
|
+
import { LitElement as C, createEvent as w, safeClassMap as y } from "@arcgis/lumina";
|
|
6
|
+
import { u as A } from "../../chunks/useT9n.js";
|
|
7
|
+
import _ from "@arcgis/core/rest/networks/support/TraceLocation.js";
|
|
8
|
+
import F from "@arcgis/core/Graphic.js";
|
|
9
|
+
import { SimpleMarkerSymbol as S } from "@arcgis/core/symbols.js";
|
|
10
|
+
import * as k from "@arcgis/core/geometry/operators/projectOperator.js";
|
|
11
|
+
import * as N from "@arcgis/core/geometry/operators/cutOperator.js";
|
|
12
|
+
import * as L from "@arcgis/core/geometry/operators/lengthOperator.js";
|
|
13
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
14
|
+
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
15
|
+
v5.0.0-next.7 */
|
|
16
|
+
const R = T`.arcgis-utility-network-trace-location calcite-block{--calcite-block-content-space: 0;--calcite-block-border-color: transparent;margin:0}.arcgis-utility-network-trace-location calcite-notice{padding:var(--calcite-spacing-xs)}.arcgis-utility-network-trace-location__add-location-button{--calcite-button-border-color: var(--calcite-color-border-1);--calcite-button-icon-color: var(--calcite-color-text-1);--calcite-button-text-color: var(--calcite-color-text-1)}.arcgis-utility-network-trace-location__button-container{justify-content:center;display:grid}.arcgis-utility-network-trace-location__clear-button{--calcite-button-border-color: transparent}`, g = "arcgis-utility-network-trace-location", f = {
|
|
17
|
+
// popup renderer
|
|
18
|
+
base: g,
|
|
19
|
+
// containers and content
|
|
20
|
+
buttonContainer: `${g}__button-container`,
|
|
21
|
+
clearButton: `${g}__clear-button`,
|
|
22
|
+
addLocationButton: `${g}__add-location-button`
|
|
23
|
+
}, n = "map-components:utility-network-trace-location";
|
|
24
|
+
class B extends C {
|
|
25
|
+
constructor() {
|
|
26
|
+
super(...arguments), this.messages = A({ blocking: !0 }), this.traceLocationType = "starting-point", this.arcgisTraceLocationChange = w(), this.arcgisTraceLocationSelectEnd = w(), this.arcgisTraceLocationSelectStart = w();
|
|
27
|
+
}
|
|
28
|
+
static {
|
|
29
|
+
this.properties = { view: 0, traceLocationType: 1, traceLocations: 0, filterLayers: 0, sketchViewModel: 0, flagLayer: 0, utilityNetwork: 0 };
|
|
30
|
+
}
|
|
31
|
+
static {
|
|
32
|
+
this.styles = R;
|
|
33
|
+
}
|
|
34
|
+
async load() {
|
|
35
|
+
k.isLoaded() || await k.load();
|
|
36
|
+
}
|
|
37
|
+
_createPolyline(t, e) {
|
|
38
|
+
return new v({
|
|
39
|
+
hasZ: !1,
|
|
40
|
+
hasM: !0,
|
|
41
|
+
paths: t,
|
|
42
|
+
spatialReference: new x({ wkid: e })
|
|
43
|
+
});
|
|
44
|
+
}
|
|
45
|
+
_calculatePercentAlong(t, e) {
|
|
46
|
+
const o = t.spatialReference, r = this._createPolyline(t.paths, o.wkid), a = e.x - 0.5, s = e.x + 0.5, i = e.y - 0.5, c = e.y + 0.5, l = [
|
|
47
|
+
[
|
|
48
|
+
[a, i],
|
|
49
|
+
[s, c]
|
|
50
|
+
]
|
|
51
|
+
], p = this._createPolyline(l, e.spatialReference.wkid), d = k.execute(p, o);
|
|
52
|
+
if (!d)
|
|
53
|
+
return console.error(`${n} - Unable to project flag geometry to source geometry spatial reference.`), 0.5;
|
|
54
|
+
const u = N.execute(r, d);
|
|
55
|
+
if (u.length > 0) {
|
|
56
|
+
const h = L.execute(r, { unit: "feet" });
|
|
57
|
+
let m;
|
|
58
|
+
return u[0].paths[0][0][0] === r.paths[0][0][0] ? m = L.execute(u[0], { unit: "feet" }) : m = L.execute(u[1], { unit: "feet" }), m / h;
|
|
59
|
+
}
|
|
60
|
+
return console.warn(`${n} - Unable to cut the source geometry with the flag geometry.`), 0.5;
|
|
61
|
+
}
|
|
62
|
+
async _ensureNecessaryAttributes(t) {
|
|
63
|
+
const e = (t.layer?.type === "feature", t.layer), o = e.fieldsIndex?.get("assetgroup") ?? !1, r = e.fieldsIndex?.get("assetgroup")?.name ?? "assetgroup", a = e.fieldsIndex?.get("assettype") ?? !1, s = e.fieldsIndex?.get("assettype")?.name ?? "assettype", i = t.getGlobalId(), c = t.getObjectId(), l = o ? !!t.getAttribute(r) : !0, p = a ? !!t.getAttribute(s) : !0;
|
|
64
|
+
if (i && c && l && p)
|
|
65
|
+
return t;
|
|
66
|
+
const d = e.createQuery();
|
|
67
|
+
return d.objectIds = [c], (await e.queryFeatures(d))?.features[0] || null;
|
|
68
|
+
}
|
|
69
|
+
async _ensureNecessaryAttributesAndGenerateTraceLocation(t, e) {
|
|
70
|
+
const { view: o } = this;
|
|
71
|
+
if (!o || t.length === 0) {
|
|
72
|
+
console.log(`${n} - No view or results to process.`);
|
|
73
|
+
return;
|
|
74
|
+
}
|
|
75
|
+
const a = t[0].graphic, s = await this._ensureNecessaryAttributes(a);
|
|
76
|
+
if (!s) {
|
|
77
|
+
console.error(`${n} - Unable to get necessary attributes for trace location.`);
|
|
78
|
+
return;
|
|
79
|
+
}
|
|
80
|
+
this._generateTraceLocation(s, e);
|
|
81
|
+
}
|
|
82
|
+
_addFlagGraphic(t, e, o) {
|
|
83
|
+
const { flagLayer: r, view: a, traceLocationType: s } = this;
|
|
84
|
+
if (!r || !a)
|
|
85
|
+
return console.error(`${n} - Flag layer or view is not available.`), null;
|
|
86
|
+
const i = e.geometry?.type;
|
|
87
|
+
if (this.traceLocations?.some((h) => h.traceLocation.globalId === t) && i !== "polyline")
|
|
88
|
+
return console.warn(`${n} - A flag with the same globalId already exists.`), null;
|
|
89
|
+
const p = s === "starting-point" ? [21, 244, 21, 0.6] : [227, 27, 21, 0.6], d = new S({
|
|
90
|
+
color: p,
|
|
91
|
+
size: 12,
|
|
92
|
+
outline: {
|
|
93
|
+
color: p,
|
|
94
|
+
width: 0
|
|
95
|
+
}
|
|
96
|
+
}), u = new F({
|
|
97
|
+
geometry: o,
|
|
98
|
+
symbol: d,
|
|
99
|
+
attributes: e.attributes
|
|
100
|
+
});
|
|
101
|
+
return r.add(u), u;
|
|
102
|
+
}
|
|
103
|
+
_generateTraceLocation(t, e) {
|
|
104
|
+
const { traceLocationType: o, traceLocations: r, utilityNetwork: a } = this, s = t.getGlobalId() ?? "", i = t.geometry?.type, c = this._addFlagGraphic(s, t, e);
|
|
105
|
+
if (!c) {
|
|
106
|
+
console.warn(`${n} - Unable to add flag graphic.`);
|
|
107
|
+
return;
|
|
108
|
+
}
|
|
109
|
+
if (i === "point" || i === "polygon") {
|
|
110
|
+
const l = a?.getTerminalConfiguration(t);
|
|
111
|
+
r?.add({
|
|
112
|
+
traceLocation: new _({
|
|
113
|
+
type: o,
|
|
114
|
+
isFilterBarrier: !1,
|
|
115
|
+
globalId: s,
|
|
116
|
+
terminalId: l ? l.terminals[0].id || void 0 : 1
|
|
117
|
+
}),
|
|
118
|
+
mapPoint: e,
|
|
119
|
+
details: t,
|
|
120
|
+
mapGraphic: c
|
|
121
|
+
});
|
|
122
|
+
} else if (i === "polyline") {
|
|
123
|
+
const l = this._calculatePercentAlong(t.geometry, e);
|
|
124
|
+
r?.add({
|
|
125
|
+
traceLocation: new _({
|
|
126
|
+
type: o,
|
|
127
|
+
isFilterBarrier: !1,
|
|
128
|
+
globalId: s,
|
|
129
|
+
percentAlong: l
|
|
130
|
+
}),
|
|
131
|
+
mapPoint: e,
|
|
132
|
+
details: t,
|
|
133
|
+
mapGraphic: c
|
|
134
|
+
});
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
async _hitTest(t) {
|
|
138
|
+
const { view: e, utilityNetwork: o } = this;
|
|
139
|
+
if (!e || !o) {
|
|
140
|
+
console.error(`${n} - View or utility network is not available for hit test.`);
|
|
141
|
+
return;
|
|
142
|
+
}
|
|
143
|
+
const r = t.graphic?.geometry, a = this.view?.toScreen(r);
|
|
144
|
+
if (!a) {
|
|
145
|
+
console.warn(`${n} - No screen point available for hit test.`);
|
|
146
|
+
return;
|
|
147
|
+
}
|
|
148
|
+
const i = (await e.hitTest(a, {
|
|
149
|
+
include: this.filterLayers
|
|
150
|
+
})).results.filter((c) => c.type === "graphic" && c?.layer && c.graphic);
|
|
151
|
+
if (i.length === 0) {
|
|
152
|
+
console.log(`${n} - No usable hit test results found.`);
|
|
153
|
+
return;
|
|
154
|
+
}
|
|
155
|
+
this._ensureNecessaryAttributesAndGenerateTraceLocation(i, r);
|
|
156
|
+
}
|
|
157
|
+
_resetAfterSketch() {
|
|
158
|
+
const { view: t } = this;
|
|
159
|
+
if (!t) {
|
|
160
|
+
console.error(`${n} - View is not available to reset after sketch.`);
|
|
161
|
+
return;
|
|
162
|
+
}
|
|
163
|
+
this._clickHandler?.remove(), this._clickHandler = void 0, "acquireCursor" in t && t.acquireCursor("default"), this.arcgisTraceLocationSelectEnd.emit();
|
|
164
|
+
}
|
|
165
|
+
_handleSketchComplete(t) {
|
|
166
|
+
const { sketchViewModel: e, view: o } = this;
|
|
167
|
+
if (!e || !o) {
|
|
168
|
+
console.error(`${n} - SketchViewModel or view is not available on sketch complete.`);
|
|
169
|
+
return;
|
|
170
|
+
}
|
|
171
|
+
t.state === "complete" && t.graphic && (e.layer.remove(t.graphic), this._hitTest(t)), (t.state === "cancel" || t.state === "complete") && this._resetAfterSketch();
|
|
172
|
+
}
|
|
173
|
+
_handleAddButtonClick() {
|
|
174
|
+
const { view: t, sketchViewModel: e } = this;
|
|
175
|
+
t && e && (this._clickHandler?.remove(), this._clickHandler = e.on("create", this._handleSketchComplete.bind(this)), "acquireCursor" in t && t.acquireCursor("crosshair"), this.sketchViewModel?.create("point"), this.arcgisTraceLocationSelectStart.emit());
|
|
176
|
+
}
|
|
177
|
+
_handleClearButtonClick() {
|
|
178
|
+
const { flagLayer: t, traceLocations: e } = this;
|
|
179
|
+
e?.forEach((o) => {
|
|
180
|
+
o.mapGraphic && t && t.remove(o.mapGraphic);
|
|
181
|
+
}), e?.removeAll();
|
|
182
|
+
}
|
|
183
|
+
renderAddLocationBlock() {
|
|
184
|
+
const { traceLocationType: t, messages: e, traceLocations: o } = this, r = t === "starting-point" ? e.types.startingPoint : t === "barrier" ? e.types.barrier : e.types.stoppingPoint, a = r.heading, s = r.description, i = r.buttonText;
|
|
185
|
+
return b`<calcite-block .heading=${a} .label=${a} expanded .description=${s}>${o?.length ? b`<calcite-button class=${y(f.clearButton)} slot=actions-end appearance=transparent .label=${e.buttons.clear} @click=${() => this._handleClearButtonClick()}>${e.buttons.clear}</calcite-button>` : null}<div class=${y(f.buttonContainer)}><calcite-button class=${y(f.addLocationButton)} icon-start=select appearance=outline .label=${i} @click=${() => this._handleAddButtonClick()}>${i}</calcite-button></div></calcite-block>`;
|
|
186
|
+
}
|
|
187
|
+
render() {
|
|
188
|
+
return b`<div class=${y(f.base)}>${this.renderAddLocationBlock()}</div>`;
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
$("arcgis-utility-network-trace-location", B);
|
|
192
|
+
export {
|
|
193
|
+
B as ArcgisUtilityNetworkTraceLocation
|
|
194
|
+
};
|
|
@@ -5,7 +5,7 @@ import { createRef as u, ref as d } from "lit/directives/ref.js";
|
|
|
5
5
|
import { u as g } from "../../chunks/useT9n.js";
|
|
6
6
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
7
7
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
8
|
-
v5.0.0-next.
|
|
8
|
+
v5.0.0-next.7 */
|
|
9
9
|
const h = o`:host{min-height:300px}.results-heading{display:flex;flex-direction:column;padding:var(--calcite-spacing-md);gap:var(--calcite-spacing-xs)}.results-heading .results-heading-title{font-weight:var(--calcite-font-weight-medium);font-size:var(--calcite-font-size-1)}.results-heading .results-heading-subtitle{font-size:var(--calcite-font-size--1);color:var(--calcite-color-text-3)}.no-results-landing{display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:var(--calcite-spacing-xl);gap:var(--calcite-spacing-md)}.no-results-landing calcite-icon{margin-bottom:var(--calcite-spacing-sm);--calcite-icon-color: var(--calcite-color-text-3)}.no-results-landing .no-results-heading{font-size:var(--calcite-font-size-2)}.no-results-landing .no-results-description{color:var(--calcite-color-text-3)}`;
|
|
10
10
|
class m extends a {
|
|
11
11
|
constructor() {
|
|
@@ -7,7 +7,7 @@ import { ArcgisReferenceElement } from '../../utils/component-utils';
|
|
|
7
7
|
|
|
8
8
|
declare const useUtilityNetworkValidateTopologyWidget: (component: LitElement & Pick<UtilityNetworkValidateTopology & {
|
|
9
9
|
viewModel: __esri.Accessor;
|
|
10
|
-
}, "
|
|
10
|
+
}, "label" | "viewModel" | "icon" | "utilityNetwork" | "extentToValidate"> & {
|
|
11
11
|
state?: unknown;
|
|
12
12
|
viewModel?: (__esri.UtilityNetworkValidateTopologyViewModel & __esri.Accessor) | undefined;
|
|
13
13
|
closed?: boolean;
|
|
@@ -7,8 +7,8 @@ import { m as s } from "../../chunks/useWidget.js";
|
|
|
7
7
|
import { css as l } from "lit";
|
|
8
8
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
9
9
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
10
|
-
v5.0.0-next.
|
|
11
|
-
const c = l`@keyframes esri-basemap-slide{0%{opacity:0;margin-top:0;margin-left:0}75%{opacity:0;margin-top:0;margin-left:0}to{opacity:1;margin-top:5px;margin-left:5px}}@keyframes esri-docking-animation{0%{opacity:0}25%{opacity:0}to{opacity:1}}@keyframes popup-intro-animation-down{0%{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translate(0)}}@keyframes popup-intro-animation-up{0%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translate(0)}}@supports (-ms-ime-align: auto){.esri-slider__anchor:focus{outline:1px dotted #000}}@keyframes esri-spinner--start-animation{0%{opacity:0;transform:scale(0)}to{opacity:1;transform:scale(1)}}@keyframes esri-spinner--finish-animation{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(0)}}@keyframes esri-spinner--rotate-animation{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@media (prefers-reduced-motion){.esri-utility-network-trace__reset-prompt{animation:none!important}}@media (prefers-reduced-motion){.esri-popup--aligned-top-center,.esri-popup--aligned-top-left,.esri-popup--aligned-top-right,.esri-popup--aligned-bottom-center,.esri-popup--aligned-bottom-left,.esri-popup--aligned-bottom-right,.esri-popup--is-docked{animation:none!important}}@media (prefers-reduced-motion: reduce){.esri-fov-overlay{animation:none!important}}@keyframes esri-fade-in-down{0%{opacity:0;transform:translateY(-5px)}25%{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translate(0)}}@keyframes esri-fade-in-up{0%{opacity:0;transform:translateY(5px)}25%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translate(0)}}@keyframes esri-fade-in{0%{opacity:0}25%{opacity:0}to{opacity:1}}@keyframes esri-fade-in-scale{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}@keyframes looping-progresss-bar-ani{0%{width:0;left:0}20%{width:20%;left:0}80%{width:20%;left:80%}to{width:0;left:100%}}@keyframes esri-rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes panel-advance{0%{opacity:0;transform:translate(50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes panel-retreat{0%{opacity:0;transform:translate(-50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes panel-advance--rtl{0%{opacity:0;transform:translate(-50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes panel-retreat--rtl{0%{opacity:0;transform:translate(50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{--esri-widget-padding-x: 15px;--esri-widget-padding-y: var(--calcite-spacing-md);--esri-widget-padding: var(--esri-widget-padding-y) var(--esri-widget-padding-x);box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-hidden{display:none!important}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}.esri-un-validate-topology__container{width:330px}.esri-un-validate-topology__content{border-bottom:none;margin:0}.esri-un-validate-topology__controls-container{gap:.5rem;display:grid}.esri-un-validate-topology__status-icon-container{width:48px;height:48px}.esri-un-validate-topology__status-icon-error{--calcite-color-icon-color: var(--calcite-color-status-warning);padding-top:var(--calcite-spacing-xl);padding-left:var(--calcite-spacing-xl)}.esri-un-validate-topology__status-icon-success{--calcite-color-icon-color: var(--calcite-color-status-success);padding-top:var(--calcite-spacing-xl);padding-left:var(--calcite-spacing-xl)}`, d = s(
|
|
10
|
+
v5.0.0-next.7 */
|
|
11
|
+
const c = l`@keyframes esri-basemap-slide{0%{opacity:0;margin-top:0;margin-left:0}75%{opacity:0;margin-top:0;margin-left:0}to{opacity:1;margin-top:5px;margin-left:5px}}@keyframes esri-docking-animation{0%{opacity:0}25%{opacity:0}to{opacity:1}}@keyframes popup-intro-animation-down{0%{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translate(0)}}@keyframes popup-intro-animation-up{0%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translate(0)}}@supports (-ms-ime-align: auto){.esri-slider__anchor:focus{outline:1px dotted #000}}@keyframes esri-spinner--start-animation{0%{opacity:0;transform:scale(0)}to{opacity:1;transform:scale(1)}}@keyframes esri-spinner--finish-animation{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(0)}}@keyframes esri-spinner--rotate-animation{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@media (prefers-reduced-motion){.esri-utility-network-trace__reset-prompt{animation:none!important}}@media (prefers-reduced-motion){.esri-popup--aligned-top-center,.esri-popup--aligned-top-left,.esri-popup--aligned-top-right,.esri-popup--aligned-bottom-center,.esri-popup--aligned-bottom-left,.esri-popup--aligned-bottom-right,.esri-popup--is-docked{animation:none!important}}@media (prefers-reduced-motion: reduce){.esri-fov-overlay{animation:none!important}}@keyframes esri-fade-in-down{0%{opacity:0;transform:translateY(-5px)}25%{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translate(0)}}@keyframes esri-fade-in-up{0%{opacity:0;transform:translateY(5px)}25%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translate(0)}}@keyframes esri-fade-in{0%{opacity:0}25%{opacity:0}to{opacity:1}}@keyframes esri-fade-in-scale{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}@keyframes looping-progresss-bar-ani{0%{width:0;left:0}20%{width:20%;left:0}80%{width:20%;left:80%}to{width:0;left:100%}}@keyframes esri-rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes panel-advance{0%{opacity:0;transform:translate(50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes panel-retreat{0%{opacity:0;transform:translate(-50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes panel-advance--rtl{0%{opacity:0;transform:translate(-50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes panel-retreat--rtl{0%{opacity:0;transform:translate(50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{--esri-widget-padding-x: 15px;--esri-widget-padding-y: var(--calcite-spacing-md);--esri-widget-padding: var(--esri-widget-padding-y) var(--esri-widget-padding-x);box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-hidden{display:none!important}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}:host{max-width:fit-content}.esri-un-validate-topology__container{width:350px}.esri-un-validate-topology__content{border-bottom:none;margin:0}.esri-un-validate-topology__controls-container{gap:.5rem;display:grid}.esri-un-validate-topology__status-icon-container{width:48px;height:48px}.esri-un-validate-topology__status-icon-error{--calcite-color-icon-color: var(--calcite-color-status-warning);padding-top:var(--calcite-spacing-xl);padding-left:var(--calcite-spacing-xl)}.esri-un-validate-topology__status-icon-success{--calcite-color-icon-color: var(--calcite-color-status-success);padding-top:var(--calcite-spacing-xl);padding-left:var(--calcite-spacing-xl)}`, d = s(
|
|
12
12
|
// Workaround for https://devtopia.esri.com/WebGIS/arcgis-js-api/issues/69562
|
|
13
13
|
o
|
|
14
14
|
);
|
|
@@ -5,7 +5,7 @@ import { default as ValuePicker } from '@arcgis/core/widgets/ValuePicker.js';
|
|
|
5
5
|
import { PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
6
6
|
import { ArcgisReferenceElement } from '../../utils/component-utils';
|
|
7
7
|
|
|
8
|
-
declare const useValuePickerWidget: (component: LitElement & Pick<ValuePicker, "
|
|
8
|
+
declare const useValuePickerWidget: (component: LitElement & Pick<ValuePicker, "caption" | "label" | "icon" | "component" | "values" | "layout" | "canPlay" | "loop" | "playRate" | "canNext" | "canPrevious"> & {
|
|
9
9
|
state?: unknown;
|
|
10
10
|
viewModel?: unknown;
|
|
11
11
|
closed?: boolean;
|
|
@@ -131,7 +131,7 @@ export declare class ArcgisValuePicker extends LitElement {
|
|
|
131
131
|
*
|
|
132
132
|
* @default null
|
|
133
133
|
*/
|
|
134
|
-
values: any[] |
|
|
134
|
+
values: any[] | number[] | nullish | string[];
|
|
135
135
|
/** Permanently destroy the component. */
|
|
136
136
|
destroy(): Promise<void>;
|
|
137
137
|
next(): Promise<void>;
|