@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
|
@@ -0,0 +1,506 @@
|
|
|
1
|
+
import { c as T } from "../../chunks/runtime.js";
|
|
2
|
+
import { css as N, html as p } from "lit";
|
|
3
|
+
import { keyed as C } from "lit/directives/keyed.js";
|
|
4
|
+
import { createReactiveMap as I, findUtilityNetwork as M, queryAllJSON as $, getOrCreateMapValue as j } from "@arcgis/core/applications/Components/featureUtils.js";
|
|
5
|
+
import { stripHTML as k } from "@arcgis/core/applications/Components/stringUtils.js";
|
|
6
|
+
import w from "@arcgis/core/core/Collection.js";
|
|
7
|
+
import { ignoreAbortErrors as v } from "@arcgis/core/core/promiseUtils.js";
|
|
8
|
+
import { watch as A } from "@arcgis/core/core/reactiveUtils.js";
|
|
9
|
+
import * as U from "@arcgis/core/core/sql.js";
|
|
10
|
+
import V from "@arcgis/core/rest/networks/support/NetworkElement.js";
|
|
11
|
+
import x from "@arcgis/core/rest/networks/support/QueryAssociationsParameters.js";
|
|
12
|
+
import D from "@arcgis/core/rest/support/FeatureSet.js";
|
|
13
|
+
import P from "@arcgis/core/rest/support/Query.js";
|
|
14
|
+
import G from "@arcgis/core/widgets/Feature/FeatureViewModel.js";
|
|
15
|
+
import { LitElement as Q, renderElement as B } from "@arcgis/lumina";
|
|
16
|
+
import { debounce as L } from "@arcgis/toolkit/function";
|
|
17
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
18
|
+
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
19
|
+
v5.0.0-next.7 */
|
|
20
|
+
const O = N`.list-container{min-height:var(--calcite-spacing-xxxl)}.loading-container{display:flex;justify-content:center;padding:var(--calcite-spacing-md) 0;width:100%}.sticky-loading-container{display:flex;position:sticky;bottom:var(--calcite-spacing-sm);align-items:center;justify-content:center;z-index:2;margin:0;padding:0;height:var(--calcite-spacing-xxxl);pointer-events:none;height:500px}`, q = 100, E = {
|
|
21
|
+
assetGroup: "assetgroup",
|
|
22
|
+
assetType: "assettype"
|
|
23
|
+
}, S = "{00000000-0000-0000-0000-000000000000}";
|
|
24
|
+
class R extends Q {
|
|
25
|
+
constructor() {
|
|
26
|
+
super(...arguments), this._addFlowItem = (t) => {
|
|
27
|
+
t && this.flowItems?.push(t);
|
|
28
|
+
}, this._attachmentAssociations = new w(), this._attachmentFeatureCount = 0, this._cancelQuery = () => {
|
|
29
|
+
const { _queryAbortController: t } = this;
|
|
30
|
+
t && t.abort(), this._queryAbortController = null;
|
|
31
|
+
}, this._cancelQueryFeatureCount = () => {
|
|
32
|
+
const { _queryFeatureCountAbortController: t } = this;
|
|
33
|
+
t && t.abort(), this._queryFeatureCountAbortController = null;
|
|
34
|
+
}, this._connectivityAssociations = new w(), this._connectivityFeatureCount = 0, this._containerAssociations = new w(), this._containerFeatureCount = 0, this._contentAssociations = new w(), this._contentFeatureCount = 0, this._networkSourceIdsInUse = /* @__PURE__ */ new Set(), this._query = async (t) => {
|
|
35
|
+
if (!t)
|
|
36
|
+
return;
|
|
37
|
+
await this._loadUtiltyNetworks();
|
|
38
|
+
const { _queryAbortController: e } = this;
|
|
39
|
+
this._destroyAssociatedFeatureViewModels(), this._clearFeatures(), this._featureCount && await this._queryAssociatedFeatures(t, { signal: e?.signal });
|
|
40
|
+
}, this._queryController = async (t) => {
|
|
41
|
+
this._cancelQuery();
|
|
42
|
+
const e = new AbortController();
|
|
43
|
+
this._queryAbortController = e, await v(this._query(t)), this._queryAbortController === e && (this._queryAbortController = null);
|
|
44
|
+
}, this._queryFeatureCountController = async () => {
|
|
45
|
+
this._loaded = !1, this._cancelQueryFeatureCount();
|
|
46
|
+
const t = new AbortController();
|
|
47
|
+
this._queryFeatureCountAbortController = t, await v(this._queryFeatureCount()), this._queryFeatureCountAbortController === t && (this._queryFeatureCountAbortController = null), this._loaded = !0;
|
|
48
|
+
}, this._queryDebounced = L(this._queryController, q), this._queryFeatureCountDebounced = L(this._queryFeatureCountController, q), this._structureAssociations = new w(), this._structureFeatureCount = 0, this._queryAssociationType = async () => {
|
|
49
|
+
this._activeAssociationType && this._queryDebounced(this._activeAssociationType);
|
|
50
|
+
}, this._associationFeatures = I(), this._associationViewModels = I(), this._featureCount = 0, this._loaded = !1, this._queryAbortController = null, this._queryFeatureCountAbortController = null, this._queryPageAbortController = null, this.associationTypes = null, this.autoDestroyDisabled = !1, this.flowType = "feature-utility-network-associations", this.headingLevel = 2, this.source = "popup";
|
|
51
|
+
}
|
|
52
|
+
static {
|
|
53
|
+
this.properties = { _activeAssociationType: 16, _associationFeatures: 16, _associationViewModels: 16, _canLoad: 16, _canQuery: 16, _featureCount: 16, _loaded: 16, _queryAbortController: 16, _queryFeatureCountAbortController: 16, _queryPageAbortController: 16, _state: 16, associationTypes: 0, autoDestroyDisabled: 5, description: 1, flowItems: 0, flowType: 1, graphic: 0, heading: 1, headingLevel: 9, layer: 0, map: 0, messages: 0, parentFeatureViewModel: 0, source: 1, spatialReference: 0, timeZone: 1, view: 0 };
|
|
54
|
+
}
|
|
55
|
+
static {
|
|
56
|
+
this.styles = O;
|
|
57
|
+
}
|
|
58
|
+
get _globalId() {
|
|
59
|
+
return (this._globalIdField && this.graphic?.attributes?.[this._globalIdField]) ?? null;
|
|
60
|
+
}
|
|
61
|
+
get _globalIdField() {
|
|
62
|
+
return this.layer?.globalIdField;
|
|
63
|
+
}
|
|
64
|
+
get _objectId() {
|
|
65
|
+
return (this._objectIdField && this.graphic?.attributes?.[this._objectIdField]) ?? null;
|
|
66
|
+
}
|
|
67
|
+
get _objectIdField() {
|
|
68
|
+
return this.layer?.objectIdField;
|
|
69
|
+
}
|
|
70
|
+
get _supportsCacheHint() {
|
|
71
|
+
return !!this.layer?.capabilities?.queryRelated?.supportsCacheHint;
|
|
72
|
+
}
|
|
73
|
+
get _utilityNetwork() {
|
|
74
|
+
const { layer: t, map: e } = this;
|
|
75
|
+
if (!t?.loaded || !e)
|
|
76
|
+
return null;
|
|
77
|
+
const s = this._isSubtypeSublayer(t) ? t.parent : t;
|
|
78
|
+
return M(e, s);
|
|
79
|
+
}
|
|
80
|
+
get _canLoad() {
|
|
81
|
+
return !!this.map;
|
|
82
|
+
}
|
|
83
|
+
get _canQuery() {
|
|
84
|
+
return !!this.layer?.capabilities?.query?.supportsPagination;
|
|
85
|
+
}
|
|
86
|
+
get _state() {
|
|
87
|
+
const { _canLoad: t, _canQuery: e, _featureCount: s, _loaded: o, _queryAbortController: i, _queryFeatureCountAbortController: a, _queryPageAbortController: u, associationTypes: c } = this;
|
|
88
|
+
return a || t && !o ? "loading" : i || u ? "querying" : !this._globalId || !c || !e || !s ? "disabled" : "ready";
|
|
89
|
+
}
|
|
90
|
+
get heading() {
|
|
91
|
+
return this._heading;
|
|
92
|
+
}
|
|
93
|
+
set heading(t) {
|
|
94
|
+
this._heading = t;
|
|
95
|
+
}
|
|
96
|
+
async destroy() {
|
|
97
|
+
await this.manager.destroy();
|
|
98
|
+
}
|
|
99
|
+
loaded() {
|
|
100
|
+
this.manager.onLifecycle(() => [
|
|
101
|
+
A(() => [
|
|
102
|
+
this.graphic,
|
|
103
|
+
this.layer,
|
|
104
|
+
this.map,
|
|
105
|
+
this.associationTypes,
|
|
106
|
+
this._canQuery,
|
|
107
|
+
this._objectId,
|
|
108
|
+
this._globalId
|
|
109
|
+
], () => {
|
|
110
|
+
this._queryFeatureCountDebounced(), this._queryAssociationType();
|
|
111
|
+
}, { initial: !0 }),
|
|
112
|
+
A(() => this._activeAssociationType, (t) => {
|
|
113
|
+
this._queryDebounced(t);
|
|
114
|
+
}),
|
|
115
|
+
A(() => this._associationFeatures.values(), () => {
|
|
116
|
+
this._setUpUtilityNetworkAssociationsViewModels();
|
|
117
|
+
})
|
|
118
|
+
]), this.manager.onDestroy(() => {
|
|
119
|
+
this._cancelQuery(), this._cancelQueryFeatureCount();
|
|
120
|
+
});
|
|
121
|
+
}
|
|
122
|
+
_addAssociationTypeFlowItem() {
|
|
123
|
+
this._addFlowItem(B(p`<arcgis-feature-utility-network-association-list .associationViewModels=${this._associationViewModels} .flowItems=${this.flowItems} .flowType=${this.flowType} .messages=${this.messages} .map=${this.map} .parentFeatureViewModel=${this.parentFeatureViewModel} .state=${this._state} .spatialReference=${this.spatialReference} .timeZone=${this.timeZone} .view=${this.view}></arcgis-feature-utility-network-association-list>`));
|
|
124
|
+
}
|
|
125
|
+
_clearAssociations() {
|
|
126
|
+
this._attachmentAssociations.removeAll(), this._connectivityAssociations.removeAll(), this._containerAssociations.removeAll(), this._contentAssociations.removeAll(), this._structureAssociations.removeAll();
|
|
127
|
+
}
|
|
128
|
+
_clearFeatures() {
|
|
129
|
+
this._associationFeatures.forEach((t) => t.removeAll()), this._associationFeatures.clear();
|
|
130
|
+
}
|
|
131
|
+
_compareByFeatureTitle(t, e) {
|
|
132
|
+
return t.title.localeCompare(e.title, void 0, {
|
|
133
|
+
numeric: !0
|
|
134
|
+
});
|
|
135
|
+
}
|
|
136
|
+
async _countAssociatedFeatureCount(t, e, s, o, i) {
|
|
137
|
+
const a = this._getFeatureQueryWhereClause(t, e, s, o);
|
|
138
|
+
return await t.queryFeatureCount({
|
|
139
|
+
where: a,
|
|
140
|
+
outFields: ["*"],
|
|
141
|
+
returnGeometry: !1
|
|
142
|
+
}, {
|
|
143
|
+
signal: i?.signal
|
|
144
|
+
});
|
|
145
|
+
}
|
|
146
|
+
async _countAssociatedFeatures(t, e, s, o, i) {
|
|
147
|
+
if (!e.length)
|
|
148
|
+
return 0;
|
|
149
|
+
const a = await this._findLayersBySourceId(t);
|
|
150
|
+
await this._loadLayers(a);
|
|
151
|
+
const u = a.map((r) => this._countAssociatedFeatureCount(r, e, s, o, i));
|
|
152
|
+
return (await Promise.all(u)).reduce((r, d) => r + d, 0);
|
|
153
|
+
}
|
|
154
|
+
async _createAssociationFeatureObjects(t, e, s, o, i) {
|
|
155
|
+
if (!t.length)
|
|
156
|
+
return [];
|
|
157
|
+
const a = /* @__PURE__ */ new Map(), u = Array.from(e.entries()).map(async ([r, d]) => {
|
|
158
|
+
const l = await this._findLayersBySourceId(r);
|
|
159
|
+
await this._loadLayers(l);
|
|
160
|
+
const y = l.map((n) => this._queryLayer(n, d, s, o, i));
|
|
161
|
+
(await Promise.all(y)).forEach((n) => {
|
|
162
|
+
n.forEach((h) => {
|
|
163
|
+
if (this.source === "popup" ? h.sourceLayer && h.getEffectivePopupTemplate() : !!h.sourceLayer) {
|
|
164
|
+
const f = h.layer.globalIdField ?? "", g = h.attributes[f], b = a.get(g) ?? [];
|
|
165
|
+
b.push(h), a.set(g, b);
|
|
166
|
+
}
|
|
167
|
+
});
|
|
168
|
+
});
|
|
169
|
+
});
|
|
170
|
+
await Promise.all(u);
|
|
171
|
+
const c = [];
|
|
172
|
+
return await Promise.all(t.toArray().map(async (r) => {
|
|
173
|
+
const { fromNetworkElement: d, toNetworkElement: l } = r, y = d.globalId === this._globalId ? l : d, m = a.get(y.globalId) ?? [];
|
|
174
|
+
await Promise.all(m.map(async (n) => {
|
|
175
|
+
const h = this._utilityNetwork?.getTerminalById(y?.terminalId)?.name, _ = await n.sourceLayer.getFeatureTitle(n) || this._getFeatureTitle(n);
|
|
176
|
+
c.push({
|
|
177
|
+
title: _,
|
|
178
|
+
feature: n,
|
|
179
|
+
association: r,
|
|
180
|
+
terminalName: h
|
|
181
|
+
});
|
|
182
|
+
}));
|
|
183
|
+
})), c;
|
|
184
|
+
}
|
|
185
|
+
_destroyAssociatedFeatureViewModels() {
|
|
186
|
+
this._associationViewModels.forEach((t) => t.destroyAll());
|
|
187
|
+
}
|
|
188
|
+
_equals(t, e) {
|
|
189
|
+
if (t.globalId === S && e.globalId === S) {
|
|
190
|
+
let s = function(d, l) {
|
|
191
|
+
return d.networkSourceId === l.networkSourceId && d.globalId === l.globalId && d.terminalId === l.terminalId && d.firstUnit === l.firstUnit && d.numUnits === l.numUnits;
|
|
192
|
+
};
|
|
193
|
+
const o = t.fromNetworkElement, i = t.toNetworkElement, a = e.fromNetworkElement, u = e.toNetworkElement, c = s(o, a), r = s(i, u);
|
|
194
|
+
return c && r && t.associationType === e.associationType;
|
|
195
|
+
}
|
|
196
|
+
return t.globalId != null && e.globalId != null && t.globalId === e.globalId;
|
|
197
|
+
}
|
|
198
|
+
async _findLayersBySourceId(t) {
|
|
199
|
+
const { _utilityNetwork: e, map: s } = this;
|
|
200
|
+
e?.loaded || await e?.load();
|
|
201
|
+
const o = e.getLayerIdBySourceId(t), i = s.allLayers.filter((c) => !!e?.isUtilityLayer(c) && c.layerId === o), a = s.allTables.filter((c) => !!e?.isUtilityLayer(c) && c.layerId === o);
|
|
202
|
+
return i.concat(a).toArray();
|
|
203
|
+
}
|
|
204
|
+
_getAssociationsByType(t) {
|
|
205
|
+
switch (t) {
|
|
206
|
+
case "attachment":
|
|
207
|
+
return this._attachmentAssociations;
|
|
208
|
+
case "structure":
|
|
209
|
+
return this._structureAssociations;
|
|
210
|
+
case "connectivity":
|
|
211
|
+
return this._connectivityAssociations;
|
|
212
|
+
case "container":
|
|
213
|
+
return this._containerAssociations;
|
|
214
|
+
case "content":
|
|
215
|
+
return this._contentAssociations;
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
_getAssociationTypeTitle(t) {
|
|
219
|
+
const { messages: e } = this;
|
|
220
|
+
if (t.title)
|
|
221
|
+
return t.title;
|
|
222
|
+
switch (t.type) {
|
|
223
|
+
case "attachment":
|
|
224
|
+
return e?.associationsAttachments ?? this.messages?.noTitle ?? "";
|
|
225
|
+
case "connectivity":
|
|
226
|
+
return e?.associationsConnectivity ?? this.messages?.noTitle ?? "";
|
|
227
|
+
case "structure":
|
|
228
|
+
return e?.associationsStructure ?? this.messages?.noTitle ?? "";
|
|
229
|
+
case "content":
|
|
230
|
+
return e?.associationsContents ?? this.messages?.noTitle ?? "";
|
|
231
|
+
case "container":
|
|
232
|
+
return e?.associationsContainer ?? this.messages?.noTitle ?? "";
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
_getFeatureCountForAssociationType(t) {
|
|
236
|
+
switch (t) {
|
|
237
|
+
case "attachment":
|
|
238
|
+
return this._attachmentFeatureCount;
|
|
239
|
+
case "structure":
|
|
240
|
+
return this._structureFeatureCount;
|
|
241
|
+
case "content":
|
|
242
|
+
return this._contentFeatureCount;
|
|
243
|
+
case "container":
|
|
244
|
+
return this._containerFeatureCount;
|
|
245
|
+
case "connectivity":
|
|
246
|
+
return this._connectivityFeatureCount;
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
_getFeatureQueryWhereClause(t, e, s, o) {
|
|
250
|
+
const i = t.globalIdField, a = t.fieldsIndex.get(E.assetGroup), u = t.fieldsIndex.get(E.assetType), c = s != null, r = o != null, d = i ? U.sqlIn(i, e) : null, l = c ? `(${a?.name} = ${s})` : null, y = c && r ? `(${u?.name} = ${o})` : null;
|
|
251
|
+
return [d, l, y].filter(Boolean).join(" AND ");
|
|
252
|
+
}
|
|
253
|
+
_getFeatureTitle(t) {
|
|
254
|
+
const e = t.attributes, s = t.sourceLayer;
|
|
255
|
+
if (!e || !s)
|
|
256
|
+
return "";
|
|
257
|
+
const o = "displayField" in s ? s.displayField : null, i = o != null ? e[o.toString()] : null, a = i != null ? i.toString() : null, u = t.getObjectId()?.toString();
|
|
258
|
+
return a || u || "";
|
|
259
|
+
}
|
|
260
|
+
_isSubtypeGroupLayer(t) {
|
|
261
|
+
return t != null && typeof t == "object" && "type" in t && t.type === "subtype-group" && "sublayers" in t;
|
|
262
|
+
}
|
|
263
|
+
_isSubtypeSublayer(t) {
|
|
264
|
+
return t?.type === "subtype-sublayer";
|
|
265
|
+
}
|
|
266
|
+
async _loadUtiltyNetworks() {
|
|
267
|
+
const t = this.map;
|
|
268
|
+
if (!t)
|
|
269
|
+
return;
|
|
270
|
+
await Promise.allSettled(t.utilityNetworks?.map((s) => s.load()) ?? []);
|
|
271
|
+
const e = this._utilityNetwork;
|
|
272
|
+
if (e) {
|
|
273
|
+
const s = (o) => {
|
|
274
|
+
if ("layerId" in o && e.isUtilityLayer(o)) {
|
|
275
|
+
const i = o.layerId != null ? e.getSourceIdByLayerId(o.layerId) : null;
|
|
276
|
+
i != null && this._networkSourceIdsInUse.add(i);
|
|
277
|
+
}
|
|
278
|
+
};
|
|
279
|
+
this._networkSourceIdsInUse = /* @__PURE__ */ new Set(), t.allLayers.forEach(s), t.allTables.forEach(s);
|
|
280
|
+
}
|
|
281
|
+
}
|
|
282
|
+
async _loadLayers(t) {
|
|
283
|
+
const e = t.filter((s) => !s.loaded).map((s) => s.load());
|
|
284
|
+
e.length && await Promise.allSettled(e);
|
|
285
|
+
}
|
|
286
|
+
_matchesGlobalFeature(t, e) {
|
|
287
|
+
return this._equals(t.association, e.association);
|
|
288
|
+
}
|
|
289
|
+
async _queryAssociatedFeatures(t, e) {
|
|
290
|
+
const { layer: s, _globalId: o, associationTypes: i, _utilityNetwork: a, _canQuery: u, _associationFeatures: c } = this;
|
|
291
|
+
if (await Promise.allSettled([s?.load(), a?.load()]), !u || !s || !i || !a)
|
|
292
|
+
return;
|
|
293
|
+
const r = this._getAssociationsByType(t.type), { associatedAssetGroup: d, associatedAssetType: l } = t, y = /* @__PURE__ */ new Map();
|
|
294
|
+
r.forEach((n) => {
|
|
295
|
+
const { fromNetworkElement: h, toNetworkElement: _ } = n, { networkSourceId: f, elementGlobalId: g } = h.globalId === o ? {
|
|
296
|
+
networkSourceId: _.networkSourceId,
|
|
297
|
+
elementGlobalId: _.globalId
|
|
298
|
+
} : {
|
|
299
|
+
networkSourceId: h.networkSourceId,
|
|
300
|
+
elementGlobalId: h.globalId
|
|
301
|
+
}, b = y.get(f) || [];
|
|
302
|
+
b.push(g), y.set(f, b);
|
|
303
|
+
});
|
|
304
|
+
const m = await this._createAssociationFeatureObjects(r, y, d, l, e);
|
|
305
|
+
this._parseFeatureObjects(m, c);
|
|
306
|
+
}
|
|
307
|
+
async _queryAssociations(t) {
|
|
308
|
+
const { layer: e, _globalId: s, associationTypes: o, _utilityNetwork: i, _canQuery: a } = this;
|
|
309
|
+
if (await Promise.allSettled([e?.load(), i?.load()]), this._clearAssociations(), !a || !e || !o || !i || !s)
|
|
310
|
+
return;
|
|
311
|
+
const u = this._isSubtypeSublayer(e) ? e.parent : e, c = new V({
|
|
312
|
+
globalId: s,
|
|
313
|
+
networkSourceId: i.getSourceIdByLayerId(u.layerId)
|
|
314
|
+
}), r = /* @__PURE__ */ new Set();
|
|
315
|
+
o.forEach((n) => {
|
|
316
|
+
switch (n.type) {
|
|
317
|
+
case "attachment":
|
|
318
|
+
case "structure":
|
|
319
|
+
r.add("attachment");
|
|
320
|
+
break;
|
|
321
|
+
case "container":
|
|
322
|
+
case "content":
|
|
323
|
+
r.add("containment");
|
|
324
|
+
break;
|
|
325
|
+
case "connectivity":
|
|
326
|
+
r.add("connectivity"), r.add("junction-junction-connectivity"), r.add("junction-edge-from-connectivity"), r.add("junction-edge-midspan-connectivity"), r.add("junction-edge-to-connectivity");
|
|
327
|
+
break;
|
|
328
|
+
}
|
|
329
|
+
});
|
|
330
|
+
const d = await i?.queryAssociations(new x({
|
|
331
|
+
elements: [c],
|
|
332
|
+
types: Array.from(r)
|
|
333
|
+
}), {
|
|
334
|
+
signal: t?.signal
|
|
335
|
+
}), l = /* @__PURE__ */ new Map(), y = /* @__PURE__ */ new Map();
|
|
336
|
+
o.forEach((n) => {
|
|
337
|
+
y.set(n.type, n), l.set(n.type, []);
|
|
338
|
+
}), d.forEach((n) => {
|
|
339
|
+
const { toNetworkElement: h, fromNetworkElement: _ } = n;
|
|
340
|
+
switch (n.associationType) {
|
|
341
|
+
case "attachment":
|
|
342
|
+
if (_?.globalId === s) {
|
|
343
|
+
if (this._shouldDiscardNetworkElement(h, "attachment", y))
|
|
344
|
+
break;
|
|
345
|
+
l.get("attachment")?.push(h.globalId), this._attachmentAssociations.add(n);
|
|
346
|
+
} else {
|
|
347
|
+
if (this._shouldDiscardNetworkElement(_, "structure", y))
|
|
348
|
+
break;
|
|
349
|
+
l.get("structure")?.push(_.globalId), this._structureAssociations.add(n);
|
|
350
|
+
}
|
|
351
|
+
break;
|
|
352
|
+
case "connectivity":
|
|
353
|
+
case "junction-edge-from-connectivity":
|
|
354
|
+
case "junction-edge-midspan-connectivity":
|
|
355
|
+
case "junction-edge-to-connectivity":
|
|
356
|
+
case "junction-junction-connectivity":
|
|
357
|
+
if (_?.globalId === s) {
|
|
358
|
+
if (this._shouldDiscardNetworkElement(h, "connectivity", y))
|
|
359
|
+
break;
|
|
360
|
+
l.get("connectivity")?.push(h.globalId);
|
|
361
|
+
} else {
|
|
362
|
+
if (this._shouldDiscardNetworkElement(_, "connectivity", y))
|
|
363
|
+
break;
|
|
364
|
+
l.get("connectivity")?.push(_.globalId);
|
|
365
|
+
}
|
|
366
|
+
this._connectivityAssociations.add(n);
|
|
367
|
+
break;
|
|
368
|
+
case "containment":
|
|
369
|
+
if (_?.globalId === s) {
|
|
370
|
+
if (this._shouldDiscardNetworkElement(h, "content", y))
|
|
371
|
+
break;
|
|
372
|
+
l.get("content")?.push(h.globalId), this._contentAssociations.add(n);
|
|
373
|
+
} else {
|
|
374
|
+
if (this._shouldDiscardNetworkElement(_, "container", y))
|
|
375
|
+
break;
|
|
376
|
+
l.get("container")?.push(_.globalId), this._containerAssociations.add(n);
|
|
377
|
+
}
|
|
378
|
+
break;
|
|
379
|
+
}
|
|
380
|
+
});
|
|
381
|
+
const m = o.map(async (n) => {
|
|
382
|
+
const { associatedNetworkSourceId: h, associatedAssetGroup: _, associatedAssetType: f } = n, g = l.get(n.type), F = _ != null ? await this._countAssociatedFeatures(h, g, _, f, t) : g.length;
|
|
383
|
+
switch (n.type) {
|
|
384
|
+
case "attachment":
|
|
385
|
+
this._attachmentFeatureCount = F;
|
|
386
|
+
break;
|
|
387
|
+
case "connectivity":
|
|
388
|
+
this._connectivityFeatureCount = F;
|
|
389
|
+
break;
|
|
390
|
+
case "container":
|
|
391
|
+
this._containerFeatureCount = F;
|
|
392
|
+
break;
|
|
393
|
+
case "content":
|
|
394
|
+
this._contentFeatureCount = F;
|
|
395
|
+
break;
|
|
396
|
+
case "structure":
|
|
397
|
+
this._structureFeatureCount = F;
|
|
398
|
+
break;
|
|
399
|
+
}
|
|
400
|
+
});
|
|
401
|
+
await Promise.allSettled(m);
|
|
402
|
+
}
|
|
403
|
+
async _queryFeatureCount() {
|
|
404
|
+
await this._loadUtiltyNetworks();
|
|
405
|
+
const { _queryFeatureCountAbortController: t, _canQuery: e } = this;
|
|
406
|
+
if (!e) {
|
|
407
|
+
this._featureCount = 0;
|
|
408
|
+
return;
|
|
409
|
+
}
|
|
410
|
+
await this._queryAssociations(t), this._featureCount = this._attachmentFeatureCount + this._connectivityFeatureCount + this._containerFeatureCount + this._contentFeatureCount + this._structureFeatureCount;
|
|
411
|
+
}
|
|
412
|
+
async _queryLayer(t, e, s, o, i) {
|
|
413
|
+
const a = this._getFeatureQueryWhereClause(t, e, s, o), u = new P({
|
|
414
|
+
where: a,
|
|
415
|
+
outFields: ["*"],
|
|
416
|
+
cacheHint: this._supportsCacheHint
|
|
417
|
+
}), c = D.fromJSON(await $(t, u, i));
|
|
418
|
+
return c.features.forEach((r) => {
|
|
419
|
+
const d = this._isSubtypeGroupLayer(t);
|
|
420
|
+
r.layer = d ? t.findSublayerForFeature(r) : t, r.sourceLayer = d ? t.findSublayerForFeature(r) : t;
|
|
421
|
+
}), c.features;
|
|
422
|
+
}
|
|
423
|
+
_parseFeatureObjects(t, e) {
|
|
424
|
+
const s = I();
|
|
425
|
+
t.forEach((o) => {
|
|
426
|
+
const a = (o?.feature).sourceLayer;
|
|
427
|
+
j(s, a, () => new w()).add(o);
|
|
428
|
+
});
|
|
429
|
+
for (const [o, i] of s)
|
|
430
|
+
this._sortFeatureObjectsByTitle(i), e.set(o, i);
|
|
431
|
+
}
|
|
432
|
+
_selectAssociationType(t) {
|
|
433
|
+
const { flowItems: e } = this;
|
|
434
|
+
e && (this._activeAssociationType = t, this._setUpUtilityNetworkAssociationsViewModels(), this._addAssociationTypeFlowItem());
|
|
435
|
+
}
|
|
436
|
+
_setUpUtilityNetworkAssociationsViewModels() {
|
|
437
|
+
this._associationViewModels.forEach((i, a) => {
|
|
438
|
+
const u = this._associationFeatures.get(a);
|
|
439
|
+
u ? i.forEach((c) => {
|
|
440
|
+
u.find((d) => this._matchesGlobalFeature(c, d)) || (i.remove(c), i.length || this._associationViewModels.delete(a));
|
|
441
|
+
}) : (i.removeAll(), this._associationViewModels.delete(a));
|
|
442
|
+
});
|
|
443
|
+
const { map: t, view: e, spatialReference: s, timeZone: o } = this;
|
|
444
|
+
this._associationFeatures.forEach((i, a) => {
|
|
445
|
+
const u = this._associationViewModels.get(a) || new w();
|
|
446
|
+
i?.filter(Boolean).forEach((c, r) => {
|
|
447
|
+
if (!u.some((l) => this._matchesGlobalFeature(l, c))) {
|
|
448
|
+
const { association: l, feature: y, terminalName: m, title: n } = c;
|
|
449
|
+
u.add({
|
|
450
|
+
title: n,
|
|
451
|
+
association: l,
|
|
452
|
+
featureViewModel: new G({
|
|
453
|
+
abilities: { utilityNetworkAssociationsContent: !1 },
|
|
454
|
+
map: t,
|
|
455
|
+
view: e,
|
|
456
|
+
spatialReference: s,
|
|
457
|
+
timeZone: o,
|
|
458
|
+
graphic: y
|
|
459
|
+
}),
|
|
460
|
+
terminalName: m
|
|
461
|
+
}, r);
|
|
462
|
+
}
|
|
463
|
+
}), this._associationViewModels.set(a, u);
|
|
464
|
+
});
|
|
465
|
+
}
|
|
466
|
+
_shouldDiscardNetworkElement(t, e, s) {
|
|
467
|
+
if (!t)
|
|
468
|
+
return !1;
|
|
469
|
+
const { networkSourceId: o } = t, i = s.get(e)?.associatedNetworkSourceId, a = this._networkSourceIdsInUse.has(o);
|
|
470
|
+
return i != null && i !== o || !a;
|
|
471
|
+
}
|
|
472
|
+
_sortFeatureObjectsByTitle(t) {
|
|
473
|
+
t.sort(this._compareByFeatureTitle);
|
|
474
|
+
}
|
|
475
|
+
render() {
|
|
476
|
+
const { _state: t } = this;
|
|
477
|
+
return p`<div><arcgis-feature-element-info .heading=${this.heading} .headingLevel=${this.headingLevel} .description=${this.description}></arcgis-feature-element-info>${t === "loading" ? this._renderLoading() : t === "disabled" ? this._renderAssociationNotFound() : this._renderContent()}</div>`;
|
|
478
|
+
}
|
|
479
|
+
_renderAssociationNotFound() {
|
|
480
|
+
return p`<calcite-notice icon=information kind=info open scale=s width=full><div slot=message>${this.messages?.noAssociations}</div></calcite-notice>`;
|
|
481
|
+
}
|
|
482
|
+
_renderAssociationTypeList(t) {
|
|
483
|
+
return this._getFeatureCountForAssociationType(t.type) > 0 ? this._renderAssociationTypeListItem(t) : null;
|
|
484
|
+
}
|
|
485
|
+
_renderAssociationTypeListItem(t) {
|
|
486
|
+
const e = this._getAssociationTypeTitle(t);
|
|
487
|
+
return C(`association-type-${t.type}`, p`<calcite-list-item .description=${k(t.description)} .label=${k(e)} .value=${t.type} @calciteListItemSelect=${() => this._selectAssociationType(t)}><calcite-icon flip-rtl icon=chevron-right scale=s slot=content-end></calcite-icon></calcite-list-item>`);
|
|
488
|
+
}
|
|
489
|
+
_renderContent() {
|
|
490
|
+
const { _state: t, associationTypes: e, messages: s } = this, o = s?.associationsList ?? s?.noTitle ?? "";
|
|
491
|
+
return C("list-container", p`<div class="list-container">${t === "ready" ? p`<div><calcite-list display-mode=flat .label=${o}>${e.map((i) => this._renderAssociationTypeList(i))}</calcite-list></div>` : null}${this._renderStickyLoading()}</div>`);
|
|
492
|
+
}
|
|
493
|
+
_renderLoading() {
|
|
494
|
+
return p`<div class="loading-container">${this._renderLoadingIcon()}${this._renderStickyLoading()}</div>`;
|
|
495
|
+
}
|
|
496
|
+
_renderLoadingIcon() {
|
|
497
|
+
return p`<calcite-loader inline label></calcite-loader>`;
|
|
498
|
+
}
|
|
499
|
+
_renderStickyLoading() {
|
|
500
|
+
return this._state === "querying" ? p`<div class="sticky-loading-container">${this._renderLoadingIcon()}</div>` : null;
|
|
501
|
+
}
|
|
502
|
+
}
|
|
503
|
+
T("arcgis-feature-utility-network-associations", R);
|
|
504
|
+
export {
|
|
505
|
+
R as ArcgisFeatureUtilityNetworkAssociations
|
|
506
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import "../arcgis-feature-utility-network-association-list/index.js";
|
|
2
|
+
import "../arcgis-feature-element-info/index.js";
|
|
3
|
+
import "@esri/calcite-components/components/calcite-notice";
|
|
4
|
+
import "@esri/calcite-components/components/calcite-list-item";
|
|
5
|
+
import "@esri/calcite-components/components/calcite-icon";
|
|
6
|
+
import "@esri/calcite-components/components/calcite-list";
|
|
7
|
+
import "@esri/calcite-components/components/calcite-loader";
|
|
8
|
+
export * from "./customElement.js";
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import "../arcgis-feature-utility-network-association-list/index.js";
|
|
2
|
+
import "../arcgis-feature-element-info/index.js";
|
|
3
|
+
import "@esri/calcite-components/components/calcite-notice";
|
|
4
|
+
import "@esri/calcite-components/components/calcite-list-item";
|
|
5
|
+
import "@esri/calcite-components/components/calcite-icon";
|
|
6
|
+
import "@esri/calcite-components/components/calcite-list";
|
|
7
|
+
import "@esri/calcite-components/components/calcite-loader";
|
|
8
|
+
export * from "./customElement.js";
|
|
@@ -33,8 +33,7 @@ declare const useFeaturesViewModel: (component: LitElement & Pick<FeaturesViewMo
|
|
|
33
33
|
*
|
|
34
34
|
* [Read more...](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-features/)
|
|
35
35
|
*
|
|
36
|
-
* @see
|
|
37
|
-
* @see [Guide - Esri Icon Font](../esri-icon-font/)
|
|
36
|
+
* @see [PopupTemplate](https://developers.arcgis.com/javascript/latest/api-reference/esri-PopupTemplate.html)
|
|
38
37
|
* @since 4.28
|
|
39
38
|
*/
|
|
40
39
|
export declare class ArcgisFeatures extends LitElement {
|
|
@@ -329,7 +328,7 @@ export declare class ArcgisFeatures extends LitElement {
|
|
|
329
328
|
* ```
|
|
330
329
|
* @default null
|
|
331
330
|
*/
|
|
332
|
-
map: __esri.Map
|
|
331
|
+
map: nullish | __esri.Map;
|
|
333
332
|
/**
|
|
334
333
|
* Replace localized message strings with your own strings.
|
|
335
334
|
*
|
|
@@ -362,7 +361,7 @@ export declare class ArcgisFeatures extends LitElement {
|
|
|
362
361
|
* The selected feature accessed by the Features component. The content displayed in the component is
|
|
363
362
|
* determined based on the [PopupTemplate](https://developers.arcgis.com/javascript/latest/api-reference/esri-PopupTemplate.html) assigned to this feature.
|
|
364
363
|
*/
|
|
365
|
-
readonly selectedFeature:
|
|
364
|
+
readonly selectedFeature: __esri.Graphic | nullish;
|
|
366
365
|
/**
|
|
367
366
|
* Returns a reference to the current [arcgis-feature](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-feature/) component.
|
|
368
367
|
* This is useful if needing to get a reference to the Feature component in order to make any changes to it.
|
|
@@ -17,7 +17,7 @@ import { renderingSanitizer as T } from "@arcgis/core/applications/Components/sa
|
|
|
17
17
|
import { createRef as M, ref as w } from "lit-html/directives/ref.js";
|
|
18
18
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
19
19
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
20
|
-
v5.0.0-next.
|
|
20
|
+
v5.0.0-next.7 */
|
|
21
21
|
const d = "arcgis-features", o = {
|
|
22
22
|
// Features
|
|
23
23
|
base: d,
|
|
@@ -272,7 +272,7 @@ class J extends S {
|
|
|
272
272
|
return i && !e ? i?.state === "error" ? this.messages?.errorMessage ?? "" : i?.title || "" : !e && t ? t : "";
|
|
273
273
|
}
|
|
274
274
|
async _destroySpinner(e) {
|
|
275
|
-
e?.manager?.component?.extraContent?.remove(this._spinnerEl)
|
|
275
|
+
e?.manager?.component?.extraContent?.remove(this._spinnerEl);
|
|
276
276
|
}
|
|
277
277
|
async _createSpinner() {
|
|
278
278
|
const e = this.referenceElement;
|
|
@@ -373,7 +373,7 @@ class J extends S {
|
|
|
373
373
|
}
|
|
374
374
|
_renderContent() {
|
|
375
375
|
const { content: e, selectedFeatureViewModel: t } = this.viewModel;
|
|
376
|
-
return t ? C(t, n`<arcgis-feature .flowItems=${this.flowItems} .graphic=${t.graphic} .headingLevel=${this.headingLevel + 1} hide-heading .map=${this.map} .referenceElement=${this.referenceElement} show-relationship-content .spatialReference=${this.spatialReference} .timeZone=${this.timeZone} ${w(this._selectedFeatureComponent)}></arcgis-feature>`) : typeof e == "string" ? C(e, n`<div .innerHTML=${T.sanitize(e) ?? ""}></div>`) : e ?? null;
|
|
376
|
+
return t ? C(t, n`<arcgis-feature .flowItems=${this.flowItems} .graphic=${t.graphic} .headingLevel=${this.headingLevel + 1} hide-heading .map=${this.map} .referenceElement=${this.referenceElement} show-relationship-content show-utility-network-content .spatialReference=${this.spatialReference} .timeZone=${this.timeZone} ${w(this._selectedFeatureComponent)}></arcgis-feature>`) : typeof e == "string" ? C(e, n`<div .innerHTML=${T.sanitize(e) ?? ""}></div>`) : e ?? null;
|
|
377
377
|
}
|
|
378
378
|
}
|
|
379
379
|
E("arcgis-features", J);
|
|
@@ -5,7 +5,7 @@ import { default as FloorFilter } from '@arcgis/core/widgets/FloorFilter.js';
|
|
|
5
5
|
import { PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
6
6
|
import { ArcgisReferenceElement } from '../../utils/component-utils';
|
|
7
7
|
|
|
8
|
-
declare const useFloorFilterWidget: (component: LitElement & Pick<FloorFilter, "
|
|
8
|
+
declare const useFloorFilterWidget: (component: LitElement & Pick<FloorFilter, "label" | "viewModel" | "icon" | "headingLevel" | "level" | "facility" | "longNames" | "site"> & {
|
|
9
9
|
state?: unknown;
|
|
10
10
|
viewModel?: __esri.FloorFilterViewModel | undefined;
|
|
11
11
|
closed?: boolean;
|
|
@@ -5,7 +5,7 @@ import { m as l } from "../../chunks/useWidget.js";
|
|
|
5
5
|
import { css as n } from "lit";
|
|
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 a = n`.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-button{box-sizing:border-box;cursor:pointer;white-space:normal;word-break:normal;color:var(--calcite-color-text-1);background-color:var(--calcite-color-status-info);border:var(--calcite-spacing-px) solid var(--calcite-color-status-info);justify-content:center;align-items:center;width:100%;min-height:var(--calcite-spacing-xxxl);padding:6px 7px;font-family:inherit;font-size:var(--calcite-font-size);transition:background-color .125s ease-in-out,border .125s ease-in-out;display:flex;overflow:hidden;&:hover{color:var(--calcite-color-text-1);background-color:var(--calcite-color-status-info-hover);border:var(--calcite-spacing-px) solid var(--calcite-color-status-info-hover)}}.esri-button:hover{color:var(--calcite-color-text-1);background-color:var(--calcite-color-text-2);border:1px solid var(--calcite-color-text-2)}.esri-button.esri-button--small{min-height:var(--calcite-spacing-xl);font-size:var(--calcite-font-size-sm)}.esri-button.esri-button--half{width:50%;display:inline-block}.esri-button.esri-button--third{width:33%;display:inline-block}.esri-button--secondary{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-button--tertiary{color:var(--calcite-color-brand);background-color:var(--calcite-color-transparent);border-color:var(--calcite-color-transparent)}.esri-button--tertiary:hover{color:var(--calcite-color-brand-hover);background-color:var(--calcite-color-foreground-2);border-color:var(--calcite-color-transparent)}.esri-button--disabled{opacity:.4;pointer-events:none}.esri-button--drill-in{outline-offset:-4px;cursor:pointer;text-align:unset;background-color:var(--calcite-color-foreground-1);border:none;border-radius:2px;justify-content:space-between;align-items:center;margin:var(--calcite-spacing-md) 7px;padding:var(--calcite-spacing-md) 7px;text-decoration:none;transition:background-color .125s ease-in-out;display:flex;box-shadow:0 0 0 1px #adadad4d}.esri-button--drill-in:hover,.esri-button--drill-in:focus{background-color:var(--calcite-color-foreground-2)}.esri-button--drill-in__title{font-size:var(--calcite-font-size)}.esri-button--drill-in [class^=esri-icon-],.esri-button--drill-in [class*=" esri-icon-"]{padding:0 7px}.esri-widget--button{cursor:pointer;text-align:center;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);flex-flow:row;justify-content:center;align-items:center;width:var(--calcite-spacing-xxxl);height:var(--calcite-spacing-xxxl);margin:0;padding:0;font-size:var(--calcite-font-size);transition:background-color .125s ease-in-out;display:flex;overflow:hidden}.esri-widget--button:is(calcite-button):not(:hover){--calcite-ui-icon-color: var(--calcite-color-text-3)}.esri-widget--button:not([appearance]),.esri-widget--button[appearance=solid]{--calcite-color-foreground-3: var(--calcite-color-foreground-1)}.esri-widget--button:is(calcite-button){--calcite-offset-invert-focus: 1}.esri-widget--button calcite-loader[inline]{margin:auto}.esri-button--secondary{color:var(--calcite-color-brand);background-color:var(--calcite-color-foreground-1);&:hover{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-status-info);border:1px solid var(--calcite-color-status-info)}}:host{display:flex;--arcgis-floor-filter-align-items: flex-start}.esri-floor-filter{background:0 0;border:none;flex-direction:var(--arcgis-row-direction);display:flex;box-shadow:none!important}.esri-widget--button{cursor:pointer;text-align:center;color:var(--calcite-color-text-1);background:var(--calcite-color-foreground-1);flex-flow:row;justify-content:center;align-items:center;width:32px;height:32px;margin:0;padding:0;font-size:var(--calcite-font-size);transition:background-color .125s ease-in-out;display:flex;overflow:hidden}.esri-widget--button-active{color:var(--calcite-color-text-highlight)!important;background:var(--calcite-color-foreground-current)!important}.esri-floor-filter__icon-flip{transform:var(--arcgis-collapse-icon-flip)}.esri-floor-filter__position--top{align-items:var(--arcgis-floor-filter-align-items)}.esri-floor-filter__position--top .esri-floor-filter__levels-container,.esri-floor-filter__position--top .esri-floor-filter__close-levels-button,.esri-floor-filter__position--top .esri-floor-filter__zoom-button,.esri-floor-filter__position--top .esri-floor-filter__zoom-button--levels,.esri-floor-filter__position--top .esri-floor-filter__minimize-toggle-button{border-width:1px 0 0}.esri-floor-filter__position--bottom{align-items:var(--arcgis-floor-filter-align-items)}.esri-floor-filter__position--bottom .esri-floor-filter__levels-container,.esri-floor-filter__position--bottom .esri-floor-filter__close-levels-button,.esri-floor-filter__position--bottom .esri-floor-filter__zoom-button,.esri-floor-filter__position--bottom .esri-floor-filter__zoom-button--levels,.esri-floor-filter__position--bottom .esri-floor-filter__minimize-toggle-button{border-width:0 0 1px}.esri-floor-filter__layout--collapsed .esri-floor-filter__button-container{flex-direction:column-reverse;max-width:48px;display:flex}.esri-floor-filter__layout--collapsed .esri-floor-filter__button-container .esri-icon{position:relative;top:var(--calcite-spacing-px)}.esri-floor-filter__layout--collapsed .esri-floor-filter__button-container .esri-floor-filter__browse-button{border:none;width:48px;height:48px;padding:12px}.esri-floor-filter__layout--collapsed .esri-floor-filter__button-container .esri-floor-filter__zoom-button{border-style:solid;border-color:var(--calcite-color-border-1);width:48px;height:48px;padding:12px}.esri-floor-filter__layout--collapsed .esri-floor-filter__button-container .esri-floor-filter__zoom-button--levels{border-style:solid;border-color:var(--calcite-color-border-1);width:48px;height:32px;padding:8px 12px}.esri-floor-filter__layout--collapsed .esri-floor-filter__button-container .esri-floor-filter__minimize-toggle-button{border-style:solid;border-color:var(--calcite-color-border-1);width:48px;height:32px;padding:4px 12px}.esri-floor-filter__layout--expanded .esri-floor-filter__button-container{flex-direction:column-reverse;max-width:300px;display:flex}.esri-floor-filter__layout--expanded .esri-floor-filter__button-container .esri-icon{position:relative;top:2px}.esri-floor-filter__layout--expanded .esri-floor-filter__button-container .esri-floor-filter__button-info{margin-right:auto}.esri-floor-filter__layout--expanded .esri-floor-filter__button-container .esri-floor-filter__browse-button{border:none;width:auto;height:48px;padding:12px}.esri-floor-filter__layout--expanded .esri-floor-filter__button-container .esri-floor-filter__level-button{text-align:left;justify-content:flex-start;padding:16px}.esri-floor-filter__layout--expanded .esri-floor-filter__button-container .esri-floor-filter__zoom-button{border-style:solid;border-color:var(--calcite-color-border-1);width:auto;height:48px;padding:12px}.esri-floor-filter__layout--expanded .esri-floor-filter__button-container .esri-floor-filter__zoom-button--levels{border-style:solid;border-color:var(--calcite-color-border-1);width:auto;height:32px;padding:8px 12px}.esri-floor-filter__layout--expanded .esri-floor-filter__button-container .esri-floor-filter__minimize-toggle-button{border-style:solid;border-color:var(--calcite-color-border-1);width:auto;height:32px;padding:4px 12px}.esri-floor-filter__layout--expanded .esri-floor-filter__button-container .esri-floor-filter__button-label{margin-left:8px}.esri-floor-filter__level-button{border:none;width:100%;height:48px}.esri-floor-filter__level-button:focus{background-color:var(--calcite-color-foreground-2)}.esri-floor-filter__level-button.esri-widget--button-active:focus{background-color:var(--calcite-color-foreground-1)}.esri-floor-filter__levels-container{margin:unset;padding:unset;scrollbar-width:thin;border-style:solid;border-color:var(--calcite-color-border-1);width:100%;max-height:420px;list-style-type:none;overflow:auto}.esri-floor-filter__levels-container .esri-widget--button-active{font-weight:var(--calcite-font-weight-semibold)}.esri-floor-filter__levels-container::-webkit-scrollbar{width:6px}.esri-floor-filter__levels-container::-webkit-scrollbar-track{background:var(--calcite-color-text-1)}.esri-floor-filter__levels-container::-webkit-scrollbar-thumb{background-color:var(--calcite-color-transparent-tint);border:3px solid var(--calcite-color-transparent-tint);border-radius:20px}.esri-floor-filter__button-container{box-shadow:0 1px 2px #0000004d}.esri-floor-filter__filter-menu{background:var(--calcite-color-foreground-1);flex-direction:column;align-items:stretch;width:300px;max-height:420px;display:flex;box-shadow:0 1px 2px #0000004d}.esri-floor-filter__filter-menu .esri-floor-filter__filter-menu-header{color:var(--calcite-color-text-2);flex-direction:row;align-items:stretch;height:auto;line-height:var(--calcite-font-line-height-relative-tight);display:flex;box-shadow:0 .5px var(--calcite-color-text-2)}.esri-floor-filter__icon-close{color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;align-items:center;margin:0 0 0 auto;padding:26px 12px;display:flex}.esri-floor-filter__filter-menu .esri-floor-filter__filter-menu-header-back{margin:unset;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;border-right:1px solid var(--calcite-color-border-1);justify-content:center;align-items:center;min-width:28px;padding:26px 0;display:flex}.esri-floor-filter__filter-menu .esri-floor-filter__filter-menu-header-back:hover{cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1)}.esri-floor-filter__filter-menu .esri-floor-filter__filter-menu-header-text-group{flex-direction:column;justify-content:center;max-width:232px;padding:12px;display:flex}.esri-floor-filter__filter-menu .esri-floor-filter__filter-menu-header-text{margin:unset;text-overflow:ellipsis;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;font-size:var(--calcite-font-size-md);font-style:normal;font-weight:var(--calcite-font-weight-semibold);display:-webkit-box;overflow:hidden}.esri-floor-filter__filter-menu .esri-floor-filter__filter-menu-header-subtext{text-overflow:ellipsis;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;margin:4px 0 0;font-size:var(--calcite-font-size);font-style:normal;font-weight:var(--calcite-font-weight-normal);display:-webkit-box;overflow:hidden}.esri-floor-filter__filter-menu .esri-icon-close:hover{cursor:pointer;color:var(--calcite-color-text-1);background:var(--calcite-color-foreground-1)}.esri-floor-filter__filter-menu .esri-floor-filter__filter-menu-search{background:var(--calcite-color-foreground-2);align-items:center;margin-top:.5px;margin-bottom:1px;padding:10px;display:flex;box-shadow:0 .5px var(--calcite-color-text-1)}.esri-floor-filter__filter-menu-search-input{color:var(--calcite-color-text-2);background:0 0;border:none;outline:none;width:100%;margin-left:6px;font-size:var(--calcite-font-size)}.esri-floor-filter__filter-menu .esri-floor-filter__filter-menu-search .esri-icon-close{margin-inline-end:2px}.esri-floor-filter__filter-menu .esri-floor-filter__filter-menu-items{margin:unset;padding:unset;color:var(--calcite-color-text-2);width:100%;max-height:300px;list-style-type:none;overflow-y:auto}.esri-floor-filter__filter-menu-site:hover,.esri-floor-filter__filter-menu-site:focus,.esri-floor-filter__filter-menu-facility:hover,.esri-floor-filter__filter-menu-facility:focus{cursor:pointer;background:var(--calcite-color-foreground-1)}.esri-floor-filter__filter-menu-site:active,.esri-floor-filter__filter-menu-facility:active{color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1)}.esri-floor-filter__filter-menu-site,.esri-floor-filter__filter-menu-facility{color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1);border:none;flex-direction:row;align-items:center;width:100%;padding:18px;display:flex}.esri-floor-filter__filter-menu-item-name{font-size:var(--calcite-font-size)}.esri-floor-filter__filter-menu-item-name--selected{color:var(--calcite-color-text-2);font-size:var(--calcite-font-size);font-weight:var(--calcite-font-weight-bold)}.esri-floor-filter__filter-menu-item-name,.esri-floor-filter__filter-menu-item-name--selected{text-align:left;max-width:220px;margin-right:10px}.esri-icon-right{margin-left:auto}.esri-floor-filter__selected-item-circle{background:var(--calcite-color-brand-hover);border-radius:50%;width:4px;height:4px;margin-left:-10px;margin-right:6px}.esri-floor-filter__separator{box-shadow:none;background:0 0;border:none;width:10px}.esri-expand__content{width:max-content}.esri-view-height-less-than-small .esri-floor-filter__zoom-button,.esri-view-height-less-than-small .esri-floor-filter__zoom-button--levels,.esri-view-width-less-than-small .esri-floor-filter__zoom-button,.esri-view-width-less-than-small .esri-floor-filter__zoom-button--levels,.esri-view-height-less-than-small .esri-floor-filter__minimize-toggle-button,.esri-view-width-less-than-small .esri-floor-filter__minimize-toggle-button{display:none}.esri-view-height-less-than-small .esri-floor-filter__filter-menu,.esri-view-width-less-than-small .esri-floor-filter__filter-menu{width:225px}.esri-view-height-less-than-small .esri-floor-filter__close-levels-button,.esri-view-width-less-than-small .esri-floor-filter__close-levels-button{background:var(--calcite-color-text-1);border-style:solid;border-color:var(--calcite-color-border-1);width:48px;height:48px;padding:12px}.esri-view-height-less-than-small .esri-floor-filter__filter-menu-header-text-group,.esri-view-width-less-than-small .esri-floor-filter__filter-menu-header-text-group{max-width:157px}.esri-view-height-less-than-small .esri-floor-filter__filter-menu-item-name,.esri-view-height-less-than-small .esri-floor-filter__filter-menu-item-name--selected,.esri-view-width-less-than-small .esri-floor-filter__filter-menu-item-name,.esri-view-width-less-than-small .esri-floor-filter__filter-menu-item-name--selected{max-width:165px!important}.esri-view-height-small .esri-floor-filter__levels-container,.esri-view-height-small .esri-floor-filter__filter-menu{max-height:320px}.esri-view-height-xsmall .esri-floor-filter__levels-container{max-height:156px}.esri-view-height-xsmall .esri-floor-filter__filter-menu{max-height:240px}:dir(rtl) .esri-floor-filter__layout--expanded .esri-floor-filter__button-info{margin-right:unset;margin-left:auto}:dir(rtl) .esri-floor-filter__layout--expanded .esri-floor-filter__button-label{margin-right:8px;margin-left:unset}:dir(rtl) .esri-icon-close{margin:0 auto 0 0}:dir(rtl) .esri-floor-filter__filter-menu .esri-floor-filter__filter-menu-header-back{border-left:1px solid var(--calcite-color-border-1);border-right:none}:dir(rtl) .esri-floor-filter__filter-menu-search .esri-floor-filter__filter-menu-search-input{margin-right:6px;margin-left:unset}:dir(rtl) .esri-floor-filter__filter-menu-items .esri-floor-filter__filter-menu-site .esri-icon-left,:dir(rtl) .esri-floor-filter .esri-floor-filter__filter-menu-items .esri-floor-filter__filter-menu-facility .esri-icon-left{margin-right:auto}:dir(rtl) .esri-floor-filter__filter-menu-items .esri-floor-filter__filter-menu-item-name,:dir(rtl) .esri-floor-filter__filter-menu-items .esri-floor-filter__filter-menu-item-name--selected{margin-right:unset!important;text-align:right!important;margin-left:10px!important}:dir(rtl) .esri-floor-filter__filter-menu-items .esri-floor-filter__selected-item-circle{margin-left:6px;margin-right:-10px}`, s = l(i);
|
|
10
10
|
class c extends t {
|
|
11
11
|
constructor() {
|
|
@@ -7,7 +7,7 @@ import { u as p } from "../../chunks/useT9n.js";
|
|
|
7
7
|
import { u as x } from "../../chunks/useView.js";
|
|
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.
|
|
10
|
+
v5.0.0-next.7 */
|
|
11
11
|
const v = r`.arcgis-button{--calcite-ui-icon-color: var(--calcite-color-text-3);--calcite-button-background-color: var(--calcite-color-foreground-1);color:var(--calcite-color-text-3);line-height:var(--calcite-font-line-height-relative-tight);display:flex;flex-flow:column;cursor:pointer;background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);:hover{--calcite-ui-icon-color: var(--calcite-color-text-1);--calcite-button-background-color: var(--calcite-color-transparent-hover)}calcite-button{width:var(--calcite-spacing-xxxl);height:var(--calcite-spacing-xxxl)}}:host{width:var(--calcite-spacing-xxxl);height:var(--calcite-spacing-xxxl)}`, c = {
|
|
12
12
|
base: "fullscreen",
|
|
13
13
|
button: "arcgis-button"
|