@arcgis/map-components 5.0.0-next.65 → 5.0.0-next.68
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/{2VSEV6MM.js → 2HLJMXLQ.js} +1 -1
- package/dist/cdn/{O7GA4XVL.js → 2JLBCMDO.js} +2 -2
- package/dist/cdn/{4EKNIIEL.js → 2MZEFP3E.js} +2 -2
- package/dist/cdn/{UQYYPM3W.js → 2RG7K5KP.js} +2 -2
- package/dist/cdn/{BJHEP4XP.js → 322NGK2Y.js} +2 -2
- package/dist/cdn/{5VA4AXPP.js → 3AVSIXKA.js} +2 -2
- package/dist/cdn/3MFJZN6U.js +4 -0
- package/dist/cdn/{XDFS4H76.js → 3P6HZCXT.js} +2 -2
- package/dist/cdn/{O4YDJ4CR.js → 3PAFVO2P.js} +1 -1
- package/dist/cdn/{R5ZME4FZ.js → 3U4FC46H.js} +2 -2
- package/dist/cdn/{Q57GDWNL.js → 3UFX2OVS.js} +2 -2
- package/dist/cdn/{VWT2ZVPA.js → 3VLLZXCY.js} +2 -2
- package/dist/cdn/{UYA7EJAG.js → 46AQ22UU.js} +2 -2
- package/dist/cdn/{OTMOXCM2.js → 4BUH76LD.js} +2 -2
- package/dist/cdn/{YVMGT4OF.js → 4EVD7WXE.js} +2 -2
- package/dist/cdn/{AWPRUMSC.js → 4QG2MAD3.js} +2 -2
- package/dist/cdn/{53KLRKNE.js → 4SXK66OO.js} +2 -2
- package/dist/cdn/4TDMCM6C.js +4 -0
- package/dist/cdn/{QNVLFIM6.js → 4TNU7RPR.js} +2 -2
- package/dist/cdn/{KF4LI52J.js → 5JIUCPKQ.js} +2 -2
- package/dist/cdn/{DQCAMOIF.js → 5ML6XMEX.js} +2 -2
- package/dist/cdn/{AYFDVED6.js → 5TUDMKUT.js} +2 -2
- package/dist/cdn/{QHXH52SD.js → 5TZGO7WB.js} +2 -2
- package/dist/cdn/{OEMIU6NB.js → 5UYICXS6.js} +2 -2
- package/dist/cdn/{RIHSDHAT.js → 64FYY65X.js} +2 -2
- package/dist/cdn/6IZ6TO2E.js +4 -0
- package/dist/cdn/{4KWASTF5.js → 6M47KPWX.js} +2 -2
- package/dist/cdn/{7GASA4FN.js → 6N2LES65.js} +2 -2
- package/dist/cdn/{FIG2JMUZ.js → 6P2TDMLT.js} +2 -2
- package/dist/cdn/{X7WRJNWU.js → 6SYF2QCN.js} +2 -2
- package/dist/cdn/{U5VJC7XL.js → 72BLC3W6.js} +2 -2
- package/dist/cdn/{DEWXFVA2.js → 76PZNS75.js} +2 -2
- package/dist/cdn/{B2PT54EK.js → 7CFJQOWX.js} +2 -2
- package/dist/cdn/{CWWB2IAP.js → 7CXBCQT7.js} +2 -2
- package/dist/cdn/{X54RL5BW.js → 7N7FCI47.js} +2 -2
- package/dist/cdn/{5STBO2TF.js → 7RBWABGV.js} +2 -2
- package/dist/cdn/{ORXTE5WT.js → 7THJRNNA.js} +2 -2
- package/dist/cdn/{HH765JZC.js → AJUVQYTI.js} +2 -2
- package/dist/cdn/{35NY4ARB.js → AOMXCIKF.js} +2 -2
- package/dist/cdn/{2KND3F45.js → ATIZKQJZ.js} +2 -2
- package/dist/cdn/{LEFUBLHD.js → AUTKLXLI.js} +2 -2
- package/dist/cdn/{LNMQCN2Y.js → AV65UHWA.js} +2 -2
- package/dist/cdn/{6QD2NADI.js → AWTTVCBD.js} +2 -2
- package/dist/cdn/{7JN5KXNK.js → B5PAEUFP.js} +2 -2
- package/dist/cdn/B7QCB6AP.js +4 -0
- package/dist/cdn/{ROXHM4KC.js → BCEYSEDT.js} +2 -2
- package/dist/cdn/{NWT3MS2P.js → BCTVJX7K.js} +2 -2
- package/dist/cdn/{3L5UI3AI.js → BDNMJU55.js} +2 -2
- package/dist/cdn/{UZJCNUFV.js → BKFTU5VF.js} +1 -1
- package/dist/cdn/{G4LG5CHE.js → BNXTHNRO.js} +2 -2
- package/dist/cdn/{REZNHBLL.js → BPVNGB2X.js} +2 -2
- package/dist/cdn/{HN3W7FJ7.js → BV7VK7Z2.js} +2 -2
- package/dist/cdn/{C2EZM4TZ.js → BWTOFVKS.js} +2 -2
- package/dist/cdn/{H4H62MBN.js → BYKE5YX3.js} +2 -2
- package/dist/cdn/{WIAVRJTD.js → C4DOQQBX.js} +2 -2
- package/dist/cdn/C4KAFYUG.js +4 -0
- package/dist/cdn/{ATT6DCCW.js → C6FLGZJF.js} +2 -2
- package/dist/cdn/{XNSYK37O.js → CAXCS2OQ.js} +2 -2
- package/dist/cdn/{QV5N4DWP.js → CBYVBT5R.js} +2 -2
- package/dist/cdn/{DPCRZFAW.js → CDI5DWQ4.js} +1 -1
- package/dist/cdn/{Z3NNJDTM.js → CGPV5UVE.js} +2 -2
- package/dist/cdn/{VUDJZHBN.js → CJV3O3Q6.js} +2 -2
- package/dist/cdn/{TKCWTYOZ.js → CKBJGASJ.js} +2 -2
- package/dist/cdn/{GAAV43RP.js → CN2A3YJV.js} +2 -2
- package/dist/cdn/{BOPLHEVC.js → CQ65C33T.js} +2 -2
- package/dist/cdn/{BZ6JECFC.js → CZ2UPTTC.js} +2 -2
- package/dist/cdn/{WAP72TTX.js → DCJBUKKJ.js} +2 -2
- package/dist/cdn/{SV5NIZIA.js → DK3CJTUZ.js} +2 -2
- package/dist/cdn/{AVDPYQ7E.js → DOBLM4F4.js} +2 -2
- package/dist/cdn/{TBPNX6RN.js → DQ7DRUBW.js} +1 -1
- package/dist/cdn/{EDMGJ53Y.js → E4XZPPIH.js} +2 -2
- package/dist/cdn/{UXP7P2OA.js → E53DDMCI.js} +2 -2
- package/dist/cdn/{ESIY2O5P.js → E5B75PBK.js} +2 -2
- package/dist/cdn/{LYAWLMJQ.js → E7M4HQYY.js} +2 -2
- package/dist/cdn/{S5XJEGFM.js → EDPPRK3Z.js} +2 -2
- package/dist/cdn/{JXLQWHSV.js → EHMJSTHA.js} +2 -2
- package/dist/cdn/{HHSEJYOP.js → ELHSHGPU.js} +2 -2
- package/dist/cdn/{JNWAAADJ.js → ESDRQCTO.js} +2 -2
- package/dist/cdn/{AX4VYIJJ.js → ESUYU2US.js} +1 -1
- package/dist/cdn/EXOKRVMC.js +4 -0
- package/dist/cdn/{5RY4EI4X.js → FAT6SMQZ.js} +2 -2
- package/dist/cdn/{ZQBWVNZU.js → FE56XRLQ.js} +2 -2
- package/dist/cdn/{TFA2DQO3.js → FL2XF54G.js} +2 -2
- package/dist/cdn/{FRJ5L26H.js → FOZRNAPA.js} +2 -2
- package/dist/cdn/{WLUTTI5Q.js → FY22JBHU.js} +2 -2
- package/dist/cdn/{NIPRLTKS.js → GFG2ELLP.js} +2 -2
- package/dist/cdn/{BUM43HIE.js → GJNGB3NS.js} +2 -2
- package/dist/cdn/{TNDFGQEW.js → GKZ3PYWY.js} +2 -2
- package/dist/cdn/{4LS6A43E.js → GQ3QCVTF.js} +2 -2
- package/dist/cdn/{N7ANNJIC.js → GQSA6F4U.js} +2 -2
- package/dist/cdn/{7PE5UD44.js → GVF3CKDT.js} +2 -2
- package/dist/cdn/{ZOHOTLJQ.js → GWQAHRXZ.js} +2 -2
- package/dist/cdn/{G2WCBJCC.js → GWYKEZ3U.js} +2 -2
- package/dist/cdn/{WNUC527M.js → GYP7ISPY.js} +2 -2
- package/dist/cdn/{IAU2D2SB.js → H6NWC7J2.js} +2 -2
- package/dist/cdn/{6LRKZVG3.js → HCSGNNBK.js} +2 -2
- package/dist/cdn/{TIPROZGG.js → HCYIHI3P.js} +2 -2
- package/dist/cdn/{GCOTAHXV.js → HELTBG3M.js} +2 -2
- package/dist/cdn/{Q6N4X2MW.js → HEU57XRL.js} +1 -1
- package/dist/cdn/{K47L6NOF.js → HHYNGTVZ.js} +2 -2
- package/dist/cdn/{AG7JSJKM.js → HNQ2DIAG.js} +2 -2
- package/dist/cdn/{FPXZTXZ2.js → HTDDNBMA.js} +2 -2
- package/dist/cdn/{M7AQFRSL.js → HX5ET4YG.js} +2 -2
- package/dist/cdn/{OLKD773Z.js → IF4ITKDV.js} +4 -4
- package/dist/cdn/{CWWQ5DVQ.js → IHPTD6DF.js} +1 -1
- package/dist/cdn/{JINP6ERS.js → IIRNACEM.js} +2 -2
- package/dist/cdn/{LE6L63G4.js → IL5GWNDR.js} +2 -2
- package/dist/cdn/{LWXDT3YK.js → IUEZ7EDD.js} +2 -2
- package/dist/cdn/{DYX5JHIZ.js → JA45DCWA.js} +2 -2
- package/dist/cdn/{NTWYBKV5.js → JAM5XAHY.js} +2 -2
- package/dist/cdn/{E2PNBNYE.js → JDNP5ZFQ.js} +2 -2
- package/dist/cdn/{G5YF56K3.js → JE6MR2JC.js} +2 -2
- package/dist/cdn/{3HKFIINT.js → JHDFEFCD.js} +2 -2
- package/dist/cdn/{HWRCE4FY.js → JM37PTWC.js} +2 -2
- package/dist/cdn/{GBKSMVC7.js → JU2VQFWT.js} +2 -2
- package/dist/cdn/{VDDVPZ3G.js → JXRQR5RV.js} +2 -2
- package/dist/cdn/{B56EYQBQ.js → K3IS4VCS.js} +2 -2
- package/dist/cdn/{GNHM6SBQ.js → K6JYM7OB.js} +2 -2
- package/dist/cdn/{BR3THC3H.js → KFWXSFYT.js} +2 -2
- package/dist/cdn/{RVWQIUF5.js → KJNYH4GC.js} +2 -2
- package/dist/cdn/{Y3EAIJT2.js → KYJABW35.js} +2 -2
- package/dist/cdn/{IBSZVEO4.js → KZPQLTXH.js} +2 -2
- package/dist/cdn/{5QBG5EOQ.js → LIKWCXHG.js} +1 -1
- package/dist/cdn/{NUBSWNIX.js → LNIO7BKW.js} +2 -2
- package/dist/cdn/{IJU3SRGI.js → LOMZVOS7.js} +2 -2
- package/dist/cdn/{NHIE2466.js → LS32FY7Z.js} +2 -2
- package/dist/cdn/{KWMSY74E.js → LUL4P2NW.js} +2 -2
- package/dist/cdn/{EUIFOFK5.js → LUWG64FX.js} +2 -2
- package/dist/cdn/{5PIAYUVO.js → LXPCDBP5.js} +2 -2
- package/dist/cdn/{7JDNJOKW.js → METAMBH4.js} +2 -2
- package/dist/cdn/{EUIOCCG7.js → MFLUSZ2G.js} +2 -2
- package/dist/cdn/{CJVUGN55.js → MJZBGK42.js} +2 -2
- package/dist/cdn/{VHOKP7SF.js → MKDJM3HH.js} +2 -2
- package/dist/cdn/{JFJVWP3U.js → MN6TUKWC.js} +1 -1
- package/dist/cdn/{OGHVJWW3.js → MOGGSSWY.js} +2 -2
- package/dist/cdn/{A6ZDKGQC.js → MY2MQYNW.js} +2 -2
- package/dist/cdn/{NEMIRQXR.js → N7U3WZG3.js} +2 -2
- package/dist/cdn/{UCFUVVL7.js → NC3UTMCL.js} +2 -2
- package/dist/cdn/NC6BOZ2E.js +4 -0
- package/dist/cdn/{UVKLKBFZ.js → NG3WFDKV.js} +2 -2
- package/dist/cdn/{3KDM6YY5.js → NHPS2TJG.js} +2 -2
- package/dist/cdn/{KSFFCU5K.js → NJVPBEJK.js} +2 -2
- package/dist/cdn/{JFJWPCQW.js → NLO5A3I7.js} +2 -2
- package/dist/cdn/{V5NCCPE6.js → NO7UOKXC.js} +2 -2
- package/dist/cdn/{5NMAXRTF.js → NPITL4MA.js} +2 -2
- package/dist/cdn/{TXOG4Z6N.js → NST77VCU.js} +1 -1
- package/dist/cdn/{T3S6F2QX.js → NW73BDKC.js} +2 -2
- package/dist/cdn/{7TGU7KD4.js → NZYO3QP7.js} +2 -2
- package/dist/cdn/{PMPAGMK6.js → O2WRKUHD.js} +2 -2
- package/dist/cdn/{ATHJBHFY.js → O4K6SV2J.js} +2 -2
- package/dist/cdn/{UKP5D6BA.js → O6QAQW5W.js} +2 -2
- package/dist/cdn/{3RWUCAU3.js → OME7B6MJ.js} +2 -2
- package/dist/cdn/{T2FTDJIZ.js → OMWYS4OS.js} +1 -1
- package/dist/cdn/{3JCXYH7S.js → OQQFVEYH.js} +2 -2
- package/dist/cdn/{Y5OSSEKH.js → PCDTODHB.js} +1 -1
- package/dist/cdn/{IOFNEOYJ.js → PITO6KJO.js} +2 -2
- package/dist/cdn/{JX5RDQFQ.js → PY37VGZO.js} +2 -2
- package/dist/cdn/{PV7SKQCM.js → Q22FCR55.js} +2 -2
- package/dist/cdn/{4NRF5SG7.js → QDD4GAWG.js} +1 -1
- package/dist/cdn/{L7PM5PWT.js → QGZ5IRFP.js} +2 -2
- package/dist/cdn/{2QRKVAPO.js → QQIYXSDA.js} +2 -2
- package/dist/cdn/QYLHVNUE.js +4 -0
- package/dist/cdn/{7LEGPRNL.js → QZ3QMV7R.js} +2 -2
- package/dist/cdn/{JFGRGVPS.js → QZ3SQBFR.js} +2 -2
- package/dist/cdn/{RYM5AUKL.js → R6NUJ6GN.js} +2 -2
- package/dist/cdn/{NY47EWBH.js → R7NGTPFW.js} +2 -2
- package/dist/cdn/RI2YLP73.js +4 -0
- package/dist/cdn/{UCJDUGAR.js → RLF7EAFG.js} +2 -2
- package/dist/cdn/{Y6SYTDCJ.js → RMYAIOYK.js} +2 -2
- package/dist/cdn/{J5SLQL4V.js → ROKK4MKI.js} +2 -2
- package/dist/cdn/{C6U6JARU.js → RPKMYZNV.js} +2 -2
- package/dist/cdn/{3UVK2EE7.js → RRXDRPGO.js} +2 -2
- package/dist/cdn/{Q425F5UE.js → RYMDLMYK.js} +2 -2
- package/dist/cdn/{GFD5SGUU.js → S243YZKA.js} +2 -2
- package/dist/cdn/{AX2T37U6.js → S6DP4HMH.js} +1 -1
- package/dist/cdn/{DMPFR2VI.js → SABTP6PE.js} +2 -2
- package/dist/cdn/{EJK4WZEP.js → SCWKZFPE.js} +2 -2
- package/dist/cdn/{B5LMEWVN.js → SGSDG664.js} +2 -2
- package/dist/cdn/{SIBAVBYH.js → SILKALJX.js} +2 -2
- package/dist/cdn/{YJ7OYO7Z.js → SJ4QSCHJ.js} +2 -2
- package/dist/cdn/{XCTFOALH.js → SSX5FXGQ.js} +2 -2
- package/dist/cdn/{IZRU6BKU.js → SWONZ2Z4.js} +2 -2
- package/dist/cdn/{BM7KL6XM.js → SYLTN4BS.js} +2 -2
- package/dist/cdn/{5B2DGI4Z.js → T2GUEBWR.js} +2 -2
- package/dist/cdn/{BCSJYGKD.js → T64TJIF2.js} +2 -2
- package/dist/cdn/{E74OSTOG.js → TAFEN2ZG.js} +2 -2
- package/dist/cdn/{I5GCV6SR.js → TVVEEHQS.js} +2 -2
- package/dist/cdn/{Z5G7XQPZ.js → U2AINV4L.js} +2 -2
- package/dist/cdn/U2DF7OJN.js +4 -0
- package/dist/cdn/{KRRD73M7.js → U624U4IL.js} +2 -2
- package/dist/cdn/{RT65YYLB.js → U7YWM42V.js} +2 -2
- package/dist/cdn/{YEULH7GB.js → UPERJBLA.js} +2 -2
- package/dist/cdn/{345GKQYL.js → URHM4U45.js} +2 -2
- package/dist/cdn/{N345D7JI.js → V36U2ULR.js} +2 -2
- package/dist/cdn/{JT4BL4MI.js → VLYVDARX.js} +2 -2
- package/dist/cdn/{BDTKLJNM.js → VV73NZ4T.js} +3 -3
- package/dist/cdn/{4KZV2BWE.js → VX26LJLY.js} +2 -2
- package/dist/cdn/{D3JV4VL4.js → W2HCWMWI.js} +1 -1
- package/dist/cdn/{N624XXEY.js → W4JAMVO7.js} +2 -2
- package/dist/cdn/{L53LKL2S.js → W57WNLIZ.js} +2 -2
- package/dist/cdn/{TG2MCMXO.js → W7KHCFPK.js} +2 -2
- package/dist/cdn/{UBP6DPGX.js → WHPZM2PE.js} +2 -2
- package/dist/cdn/{275CRYH6.js → WQVEEDTF.js} +2 -2
- package/dist/cdn/{KAUAQB5Y.js → WRDGFFLO.js} +2 -2
- package/dist/cdn/{ZOZ4YUTK.js → WVKSUSIB.js} +2 -2
- package/dist/cdn/{RRKT3GP4.js → WWCHGGBH.js} +2 -2
- package/dist/cdn/{6ZMIDMXE.js → WYI23DVP.js} +2 -2
- package/dist/cdn/{IXXU3CSS.js → X3LLSMBX.js} +2 -2
- package/dist/cdn/{QDBIQPQO.js → XAFUYMI6.js} +2 -2
- package/dist/cdn/{OZ3JGZBP.js → XBN34AAX.js} +2 -2
- package/dist/cdn/{R2U35PLT.js → XCUL5JQN.js} +2 -2
- package/dist/cdn/{EUR7C455.js → XE3Y7T4K.js} +2 -2
- package/dist/cdn/{GLAFC4GB.js → XOQUGOAX.js} +2 -2
- package/dist/cdn/{TA7FJ7HL.js → XOVWX6Y6.js} +2 -2
- package/dist/cdn/{Y24EAP3X.js → XTNJYRXY.js} +2 -2
- package/dist/cdn/{NP42P62U.js → Y24FT2QB.js} +2 -2
- package/dist/cdn/{TG4MX7AM.js → Y5WJU6B7.js} +2 -2
- package/dist/cdn/{IHKT5L2N.js → Y7LUH4UJ.js} +2 -2
- package/dist/cdn/{ONUUXE7I.js → Y7RGJWVB.js} +2 -2
- package/dist/cdn/{HCNDFLNG.js → YAG27GZI.js} +2 -2
- package/dist/cdn/{VPUFBN4H.js → YBUPG54V.js} +2 -2
- package/dist/cdn/{VEQT2S7L.js → YDX7HBHU.js} +2 -2
- package/dist/cdn/{OGXGWEYC.js → YIPQRTV3.js} +2 -2
- package/dist/cdn/{YE55BS2Q.js → YKBUS5TN.js} +2 -2
- package/dist/cdn/{JOUP23O2.js → YUETP22G.js} +2 -2
- package/dist/cdn/{HTEMUI7T.js → YV25UKL2.js} +2 -2
- package/dist/cdn/{LD7SNY7V.js → Z7X6W65J.js} +2 -2
- package/dist/cdn/{RALXK5F3.js → ZAWZYF4M.js} +2 -2
- package/dist/cdn/ZCL6TEXE.js +4 -0
- package/dist/cdn/{PK4J333D.js → ZJIV6M2C.js} +2 -2
- package/dist/cdn/{LKGUWQCT.js → ZUD27WJ4.js} +2 -2
- package/dist/cdn/{RRB4SWD2.js → ZUI5UDC7.js} +2 -2
- package/dist/cdn/{E2B4A7JI.js → ZX6THSFK.js} +2 -2
- package/dist/cdn/assets/presentation/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/utility-network-trace-results/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/volume-measurement/t9n/messages.en.json +1 -1
- 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/constants.js +1 -1
- package/dist/chunks/createCloseEvent.js +1 -1
- package/dist/chunks/esri-main.js +1 -1
- package/dist/chunks/feature-utils.js +16 -16
- package/dist/chunks/globalCss.js +1 -1
- package/dist/chunks/handle.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 +2 -2
- package/dist/chunks/svgUtils.js +1 -1
- package/dist/chunks/time-utils.js +1 -1
- package/dist/chunks/univariateUtils.js +1 -1
- package/dist/chunks/useArcgisViewReadyError.js +1 -1
- 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 +1 -1
- package/dist/chunks/utils2.js +1 -1
- package/dist/chunks/visible-element.js +1 -1
- package/dist/components/arcgis-area-measurement-2d/customElement.js +1 -1
- package/dist/components/arcgis-area-measurement-3d/customElement.js +1 -1
- 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.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-color-select/customElement.js +1 -1
- package/dist/components/arcgis-compass/customElement.js +1 -1
- package/dist/components/arcgis-coordinate-conversion/customElement.js +1 -1
- package/dist/components/arcgis-daylight/customElement.js +3 -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.js +1 -1
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +1 -1
- package/dist/components/arcgis-editor/customElement.js +1 -1
- 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-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.js +2 -2
- 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.js +15 -15
- package/dist/components/arcgis-feature-form/customElement.js +1 -1
- package/dist/components/arcgis-feature-media/customElement.js +2 -2
- package/dist/components/arcgis-feature-relationship/customElement.js +51 -50
- package/dist/components/arcgis-feature-table/customElement.js +1 -1
- package/dist/components/arcgis-feature-templates/customElement.js +1 -1
- package/dist/components/arcgis-feature-utility-network-association-list/customElement.js +1 -1
- package/dist/components/arcgis-feature-utility-network-associations/customElement.js +3 -2
- package/dist/components/arcgis-features/customElement.js +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.js +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 +1 -1
- package/dist/components/arcgis-legend-card-univariate-color-size-ramp/customElement.js +1 -1
- 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.js +2 -1
- 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.js +2 -1
- 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.js +1 -1
- package/dist/components/arcgis-placement/customElement.js +1 -1
- package/dist/components/arcgis-popup/customElement.js +1 -1
- package/dist/components/arcgis-presentation/PresentationViewModel.d.ts +27 -0
- package/dist/components/arcgis-presentation/customElement.d.ts +34 -2
- package/dist/components/arcgis-presentation/customElement.js +127 -14
- package/dist/components/arcgis-presentation/index.d.ts +1 -0
- package/dist/components/arcgis-presentation/index.js +1 -0
- package/dist/components/arcgis-print/customElement.js +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-exports-panel/customElement.js +1 -1
- 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 +1 -1
- 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.js +1 -1
- package/dist/components/arcgis-scene/customElement.js +2 -1
- package/dist/components/arcgis-search/customElement.js +1 -1
- package/dist/components/arcgis-search-result-renderer/customElement.js +1 -1
- package/dist/components/arcgis-shadow-cast/customElement.js +1 -1
- package/dist/components/arcgis-shadow-cast-discrete-config/customElement.js +1 -1
- package/dist/components/arcgis-shadow-cast-duration-config/customElement.js +1 -1
- package/dist/components/arcgis-shadow-cast-threshold-config/customElement.js +1 -1
- 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.js +1 -1
- 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.js +1 -1
- package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-subnetwork-info/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +20 -21
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +2 -2
- package/dist/components/arcgis-utility-network-trace-location/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace-location-list/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace-results/customElement.d.ts +22 -5
- package/dist/components/arcgis-utility-network-trace-results/customElement.js +134 -31
- package/dist/components/arcgis-utility-network-trace-results/index.d.ts +2 -2
- package/dist/components/arcgis-utility-network-trace-results/index.js +2 -2
- package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -1
- package/dist/components/arcgis-value-picker/customElement.js +1 -1
- package/dist/components/arcgis-version-management/customElement.js +1 -1
- package/dist/components/arcgis-version-management-service-item/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-list/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
- package/dist/components/arcgis-video/customElement.js +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-volume-measurement/customElement.js +53 -44
- package/dist/components/arcgis-volume-measurement/index.d.ts +1 -0
- package/dist/components/arcgis-volume-measurement/index.js +1 -0
- package/dist/components/arcgis-weather/customElement.js +1 -1
- package/dist/components/arcgis-zoom/customElement.js +1 -1
- package/dist/docs/api.json +349 -303
- package/dist/docs/docs.json +321 -323
- package/dist/docs/vscode.html-custom-data.json +50 -26
- package/dist/docs/web-types.json +107 -66
- package/dist/index.d.ts +74 -92
- package/dist/index.js +1 -1
- package/dist/loader.d.ts +1 -1
- package/dist/loader.js +3 -4
- package/dist/types/components.d.ts +1 -1
- package/dist/types/lumina.d.ts +76 -81
- package/dist/types/preact.d.ts +76 -82
- package/dist/types/preact10.d.ts +76 -83
- package/dist/types/react.d.ts +76 -83
- package/dist/types/stencil.d.ts +76 -81
- package/package.json +3 -3
- package/dist/cdn/7MFIX2DN.js +0 -4
- package/dist/cdn/DBR6LHAF.js +0 -4
- package/dist/cdn/DCDHF7LW.js +0 -4
- package/dist/cdn/EWOOGZOU.js +0 -4
- package/dist/cdn/K2GUDPS7.js +0 -4
- package/dist/cdn/LEUPDLKZ.js +0 -4
- package/dist/cdn/NP6VAK5C.js +0 -4
- package/dist/cdn/RQDXBXI3.js +0 -4
- package/dist/cdn/SZQVEVWP.js +0 -4
- package/dist/cdn/VQ2TCARY.js +0 -4
- package/dist/cdn/XXZ5OIOO.js +0 -4
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.ar.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.bg.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.bs.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.ca.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.cs.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.da.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.de.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.el.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.en.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.es.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.et.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.fi.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.fr.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.he.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.hr.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.hu.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.id.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.it.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.ja.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.ko.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.lt.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.lv.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.nl.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.no.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.pl.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.pt-BR.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.pt-PT.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.ro.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.ru.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.sk.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.sl.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.sr.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.sv.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.th.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.tr.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.uk.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.vi.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.zh-CN.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.zh-HK.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.zh-TW.json +0 -1
- package/dist/components/arcgis-utility-network-result-feature-list/customElement.d.ts +0 -43
- package/dist/components/arcgis-utility-network-result-feature-list/customElement.js +0 -124
- package/dist/components/arcgis-utility-network-result-feature-list/index.d.ts +0 -5
- package/dist/components/arcgis-utility-network-result-feature-list/index.js +0 -5
package/dist/types/stencil.d.ts
CHANGED
|
@@ -1,78 +1,77 @@
|
|
|
1
1
|
/// <reference types="../index.d.ts" />
|
|
2
|
-
import type { ArcgisAreaMeasurement2d } from "../components/arcgis-area-measurement-2d";
|
|
3
|
-
import type { ArcgisAreaMeasurement3d } from "../components/arcgis-area-measurement-3d";
|
|
4
|
-
import type { ArcgisAttachments } from "../components/arcgis-attachments";
|
|
5
|
-
import type { ArcgisBasemapGallery } from "../components/arcgis-basemap-gallery";
|
|
6
|
-
import type { ArcgisBasemapLayerList } from "../components/arcgis-basemap-layer-list";
|
|
7
|
-
import type { ArcgisBasemapToggle } from "../components/arcgis-basemap-toggle";
|
|
8
|
-
import type { ArcgisBookmarks } from "../components/arcgis-bookmarks";
|
|
9
|
-
import type { ArcgisBuildingExplorer } from "../components/arcgis-building-explorer";
|
|
10
|
-
import type { ArcgisCatalogLayerList } from "../components/arcgis-catalog-layer-list";
|
|
11
|
-
import type { ArcgisCompass } from "../components/arcgis-compass";
|
|
12
|
-
import type { ArcgisCoordinateConversion } from "../components/arcgis-coordinate-conversion";
|
|
13
|
-
import type { ArcgisDaylight } from "../components/arcgis-daylight";
|
|
14
|
-
import type { ArcgisDirectionalPad } from "../components/arcgis-directional-pad";
|
|
15
|
-
import type { ArcgisDirections } from "../components/arcgis-directions";
|
|
16
|
-
import type { ArcgisDirectLineMeasurement3d } from "../components/arcgis-direct-line-measurement-3d";
|
|
17
|
-
import type { ArcgisDistanceMeasurement2d } from "../components/arcgis-distance-measurement-2d";
|
|
18
|
-
import type { ArcgisEditor } from "../components/arcgis-editor";
|
|
19
|
-
import type { ArcgisElevationProfile } from "../components/arcgis-elevation-profile";
|
|
20
|
-
import type { ArcgisExpand } from "../components/arcgis-expand";
|
|
21
|
-
import type { ArcgisFeature } from "../components/arcgis-feature";
|
|
22
|
-
import type { ArcgisFeatureForm } from "../components/arcgis-feature-form";
|
|
23
|
-
import type { ArcgisFeatureTable } from "../components/arcgis-feature-table";
|
|
24
|
-
import type { ArcgisFeatureTemplates } from "../components/arcgis-feature-templates";
|
|
25
|
-
import type { ArcgisFeatures } from "../components/arcgis-features";
|
|
26
|
-
import type { ArcgisFloorFilter } from "../components/arcgis-floor-filter";
|
|
27
|
-
import type { ArcgisFullscreen } from "../components/arcgis-fullscreen";
|
|
28
|
-
import type { ArcgisGridControls } from "../components/arcgis-grid-controls";
|
|
29
|
-
import type { ArcgisHistogramRangeSlider } from "../components/arcgis-histogram-range-slider";
|
|
30
|
-
import type { ArcgisHome } from "../components/arcgis-home";
|
|
31
|
-
import type { ArcgisLayerList } from "../components/arcgis-layer-list";
|
|
32
|
-
import type { ArcgisLegend } from "../components/arcgis-legend";
|
|
33
|
-
import type { ArcgisLineOfSight } from "../components/arcgis-line-of-sight";
|
|
34
|
-
import type { ArcgisLinkChart } from "../components/arcgis-link-chart";
|
|
35
|
-
import type { ArcgisLinkChartLayoutSwitcher } from "../components/arcgis-link-chart-layout-switcher";
|
|
36
|
-
import type { ArcgisLocate } from "../components/arcgis-locate";
|
|
37
|
-
import type { ArcgisMap } from "../components/arcgis-map";
|
|
38
|
-
import type { ArcgisMeasurement } from "../components/arcgis-measurement";
|
|
39
|
-
import type { ArcgisNavigationToggle } from "../components/arcgis-navigation-toggle";
|
|
40
|
-
import type { ArcgisOrientedImageryViewer } from "../components/arcgis-oriented-imagery-viewer";
|
|
41
|
-
import type { ArcgisPlacement } from "../components/arcgis-placement";
|
|
42
|
-
import type { ArcgisPopup } from "../components/arcgis-popup";
|
|
43
|
-
import type { ArcgisPresentation } from "../components/arcgis-presentation";
|
|
44
|
-
import type { ArcgisPrint } from "../components/arcgis-print";
|
|
45
|
-
import type { ArcgisScaleBar } from "../components/arcgis-scale-bar";
|
|
46
|
-
import type { ArcgisScaleRangeSlider } from "../components/arcgis-scale-range-slider";
|
|
47
|
-
import type { ArcgisScene } from "../components/arcgis-scene";
|
|
48
|
-
import type { ArcgisSearch } from "../components/arcgis-search";
|
|
49
|
-
import type { ArcgisSearchResultRenderer } from "../components/arcgis-search-result-renderer";
|
|
50
|
-
import type { ArcgisShadowCast } from "../components/arcgis-shadow-cast";
|
|
51
|
-
import type { ArcgisSketch } from "../components/arcgis-sketch";
|
|
52
|
-
import type { ArcgisSlice } from "../components/arcgis-slice";
|
|
53
|
-
import type { ArcgisColorSelect } from "../components/arcgis-color-select";
|
|
54
|
-
import type { ArcgisSwipe } from "../components/arcgis-swipe";
|
|
55
|
-
import type { ArcgisTableList } from "../components/arcgis-table-list";
|
|
56
|
-
import type { ArcgisTimeSlider } from "../components/arcgis-time-slider";
|
|
57
|
-
import type { ArcgisTimeZoneLabel } from "../components/arcgis-time-zone-label";
|
|
58
|
-
import type { ArcgisTrack } from "../components/arcgis-track";
|
|
59
|
-
import type { ArcgisUtilityNetworkAssociations } from "../components/arcgis-utility-network-associations";
|
|
60
|
-
import type { ArcgisUtilityNetworkTrace } from "../components/arcgis-utility-network-trace";
|
|
61
|
-
import type { ArcgisUtilityNetworkTraceAnalysis } from "../components/arcgis-utility-network-trace-analysis";
|
|
62
|
-
import type {
|
|
63
|
-
import type {
|
|
64
|
-
import type {
|
|
65
|
-
import type {
|
|
66
|
-
import type {
|
|
67
|
-
import type {
|
|
68
|
-
import type {
|
|
69
|
-
import type {
|
|
70
|
-
import type {
|
|
71
|
-
import type {
|
|
72
|
-
import type {
|
|
73
|
-
import type {
|
|
74
|
-
import type {
|
|
75
|
-
import type { ArcgisZoom } from "../components/arcgis-zoom";
|
|
2
|
+
import type { ArcgisAreaMeasurement2d } from "../components/arcgis-area-measurement-2d/index.js";
|
|
3
|
+
import type { ArcgisAreaMeasurement3d } from "../components/arcgis-area-measurement-3d/index.js";
|
|
4
|
+
import type { ArcgisAttachments } from "../components/arcgis-attachments/index.js";
|
|
5
|
+
import type { ArcgisBasemapGallery } from "../components/arcgis-basemap-gallery/index.js";
|
|
6
|
+
import type { ArcgisBasemapLayerList } from "../components/arcgis-basemap-layer-list/index.js";
|
|
7
|
+
import type { ArcgisBasemapToggle } from "../components/arcgis-basemap-toggle/index.js";
|
|
8
|
+
import type { ArcgisBookmarks } from "../components/arcgis-bookmarks/index.js";
|
|
9
|
+
import type { ArcgisBuildingExplorer } from "../components/arcgis-building-explorer/index.js";
|
|
10
|
+
import type { ArcgisCatalogLayerList } from "../components/arcgis-catalog-layer-list/index.js";
|
|
11
|
+
import type { ArcgisCompass } from "../components/arcgis-compass/index.js";
|
|
12
|
+
import type { ArcgisCoordinateConversion } from "../components/arcgis-coordinate-conversion/index.js";
|
|
13
|
+
import type { ArcgisDaylight } from "../components/arcgis-daylight/index.js";
|
|
14
|
+
import type { ArcgisDirectionalPad } from "../components/arcgis-directional-pad/index.js";
|
|
15
|
+
import type { ArcgisDirections } from "../components/arcgis-directions/index.js";
|
|
16
|
+
import type { ArcgisDirectLineMeasurement3d } from "../components/arcgis-direct-line-measurement-3d/index.js";
|
|
17
|
+
import type { ArcgisDistanceMeasurement2d } from "../components/arcgis-distance-measurement-2d/index.js";
|
|
18
|
+
import type { ArcgisEditor } from "../components/arcgis-editor/index.js";
|
|
19
|
+
import type { ArcgisElevationProfile } from "../components/arcgis-elevation-profile/index.js";
|
|
20
|
+
import type { ArcgisExpand } from "../components/arcgis-expand/index.js";
|
|
21
|
+
import type { ArcgisFeature } from "../components/arcgis-feature/index.js";
|
|
22
|
+
import type { ArcgisFeatureForm } from "../components/arcgis-feature-form/index.js";
|
|
23
|
+
import type { ArcgisFeatureTable } from "../components/arcgis-feature-table/index.js";
|
|
24
|
+
import type { ArcgisFeatureTemplates } from "../components/arcgis-feature-templates/index.js";
|
|
25
|
+
import type { ArcgisFeatures } from "../components/arcgis-features/index.js";
|
|
26
|
+
import type { ArcgisFloorFilter } from "../components/arcgis-floor-filter/index.js";
|
|
27
|
+
import type { ArcgisFullscreen } from "../components/arcgis-fullscreen/index.js";
|
|
28
|
+
import type { ArcgisGridControls } from "../components/arcgis-grid-controls/index.js";
|
|
29
|
+
import type { ArcgisHistogramRangeSlider } from "../components/arcgis-histogram-range-slider/index.js";
|
|
30
|
+
import type { ArcgisHome } from "../components/arcgis-home/index.js";
|
|
31
|
+
import type { ArcgisLayerList } from "../components/arcgis-layer-list/index.js";
|
|
32
|
+
import type { ArcgisLegend } from "../components/arcgis-legend/index.js";
|
|
33
|
+
import type { ArcgisLineOfSight } from "../components/arcgis-line-of-sight/index.js";
|
|
34
|
+
import type { ArcgisLinkChart } from "../components/arcgis-link-chart/index.js";
|
|
35
|
+
import type { ArcgisLinkChartLayoutSwitcher } from "../components/arcgis-link-chart-layout-switcher/index.js";
|
|
36
|
+
import type { ArcgisLocate } from "../components/arcgis-locate/index.js";
|
|
37
|
+
import type { ArcgisMap } from "../components/arcgis-map/index.js";
|
|
38
|
+
import type { ArcgisMeasurement } from "../components/arcgis-measurement/index.js";
|
|
39
|
+
import type { ArcgisNavigationToggle } from "../components/arcgis-navigation-toggle/index.js";
|
|
40
|
+
import type { ArcgisOrientedImageryViewer } from "../components/arcgis-oriented-imagery-viewer/index.js";
|
|
41
|
+
import type { ArcgisPlacement } from "../components/arcgis-placement/index.js";
|
|
42
|
+
import type { ArcgisPopup } from "../components/arcgis-popup/index.js";
|
|
43
|
+
import type { ArcgisPresentation } from "../components/arcgis-presentation/index.js";
|
|
44
|
+
import type { ArcgisPrint } from "../components/arcgis-print/index.js";
|
|
45
|
+
import type { ArcgisScaleBar } from "../components/arcgis-scale-bar/index.js";
|
|
46
|
+
import type { ArcgisScaleRangeSlider } from "../components/arcgis-scale-range-slider/index.js";
|
|
47
|
+
import type { ArcgisScene } from "../components/arcgis-scene/index.js";
|
|
48
|
+
import type { ArcgisSearch } from "../components/arcgis-search/index.js";
|
|
49
|
+
import type { ArcgisSearchResultRenderer } from "../components/arcgis-search-result-renderer/index.js";
|
|
50
|
+
import type { ArcgisShadowCast } from "../components/arcgis-shadow-cast/index.js";
|
|
51
|
+
import type { ArcgisSketch } from "../components/arcgis-sketch/index.js";
|
|
52
|
+
import type { ArcgisSlice } from "../components/arcgis-slice/index.js";
|
|
53
|
+
import type { ArcgisColorSelect } from "../components/arcgis-color-select/index.js";
|
|
54
|
+
import type { ArcgisSwipe } from "../components/arcgis-swipe/index.js";
|
|
55
|
+
import type { ArcgisTableList } from "../components/arcgis-table-list/index.js";
|
|
56
|
+
import type { ArcgisTimeSlider } from "../components/arcgis-time-slider/index.js";
|
|
57
|
+
import type { ArcgisTimeZoneLabel } from "../components/arcgis-time-zone-label/index.js";
|
|
58
|
+
import type { ArcgisTrack } from "../components/arcgis-track/index.js";
|
|
59
|
+
import type { ArcgisUtilityNetworkAssociations } from "../components/arcgis-utility-network-associations/index.js";
|
|
60
|
+
import type { ArcgisUtilityNetworkTrace } from "../components/arcgis-utility-network-trace/index.js";
|
|
61
|
+
import type { ArcgisUtilityNetworkTraceAnalysis } from "../components/arcgis-utility-network-trace-analysis/index.js";
|
|
62
|
+
import type { ArcgisUtilityNetworkSubnetworkInfo } from "../components/arcgis-utility-network-subnetwork-info/index.js";
|
|
63
|
+
import type { ArcgisUtilityNetworkTraceInputs } from "../components/arcgis-utility-network-trace-inputs/index.js";
|
|
64
|
+
import type { ArcgisUtilityNetworkTraceLocation } from "../components/arcgis-utility-network-trace-location/index.js";
|
|
65
|
+
import type { ArcgisUtilityNetworkTraceLocationList } from "../components/arcgis-utility-network-trace-location-list/index.js";
|
|
66
|
+
import type { ArcgisUtilityNetworkTraceResults } from "../components/arcgis-utility-network-trace-results/index.js";
|
|
67
|
+
import type { ArcgisUtilityNetworkValidateTopology } from "../components/arcgis-utility-network-validate-topology/index.js";
|
|
68
|
+
import type { ArcgisValuePicker } from "../components/arcgis-value-picker/index.js";
|
|
69
|
+
import type { ArcgisVersionManagement } from "../components/arcgis-version-management/index.js";
|
|
70
|
+
import type { ArcgisVideo } from "../components/arcgis-video/index.js";
|
|
71
|
+
import type { ArcgisVideoPlayer } from "../components/arcgis-video-player/index.js";
|
|
72
|
+
import type { ArcgisVolumeMeasurement } from "../components/arcgis-volume-measurement/index.js";
|
|
73
|
+
import type { ArcgisWeather } from "../components/arcgis-weather/index.js";
|
|
74
|
+
import type { ArcgisZoom } from "../components/arcgis-zoom/index.js";
|
|
76
75
|
import { JSXBase as StencilJsx } from "@stencil/core/internal";
|
|
77
76
|
import type { EventHandler } from "@arcgis/lumina";
|
|
78
77
|
|
|
@@ -358,7 +357,7 @@ interface StencilArcgisPopup extends Partial<Pick<ArcgisPopup, 'actions' | 'alig
|
|
|
358
357
|
onArcgisTriggerAction?: EventHandler<HTMLArcgisPopupElement["arcgisTriggerAction"]>;
|
|
359
358
|
}
|
|
360
359
|
|
|
361
|
-
interface StencilArcgisPresentation extends Partial<Pick<ArcgisPresentation, 'view'>>, StencilJsx.HTMLAttributes<HTMLArcgisPresentationElement> {
|
|
360
|
+
interface StencilArcgisPresentation extends Partial<Pick<ArcgisPresentation, 'autoDestroyDisabled' | 'keyboardNavigationEnabled' | 'scale' | 'slideId' | 'view'>>, StencilJsx.HTMLAttributes<HTMLArcgisPresentationElement> {
|
|
362
361
|
onArcgisReady?: EventHandler<HTMLArcgisPresentationElement["arcgisReady"]>;
|
|
363
362
|
}
|
|
364
363
|
|
|
@@ -501,10 +500,6 @@ interface StencilArcgisUtilityNetworkTraceAnalysis extends Partial<Pick<ArcgisUt
|
|
|
501
500
|
onArcgisReady?: EventHandler<HTMLArcgisUtilityNetworkTraceAnalysisElement["arcgisReady"]>;
|
|
502
501
|
}
|
|
503
502
|
|
|
504
|
-
interface StencilArcgisUtilityNetworkResultFeatureList extends Required<Pick<ArcgisUtilityNetworkResultFeatureList, 'elements' | 'layers' | 'utilityNetwork'>>, Partial<Pick<ArcgisUtilityNetworkResultFeatureList, 'messageOverrides' | 'selectedLayer' | 'state'>>, StencilJsx.HTMLAttributes<HTMLArcgisUtilityNetworkResultFeatureListElement> {
|
|
505
|
-
onArcgisSelectedLayerChange?: EventHandler<HTMLArcgisUtilityNetworkResultFeatureListElement["arcgisSelectedLayerChange"]>;
|
|
506
|
-
}
|
|
507
|
-
|
|
508
503
|
interface StencilArcgisUtilityNetworkSubnetworkInfo extends Required<Pick<ArcgisUtilityNetworkSubnetworkInfo, 'namedTraceConfig'>>, StencilJsx.HTMLAttributes<HTMLArcgisUtilityNetworkSubnetworkInfoElement> {
|
|
509
504
|
}
|
|
510
505
|
|
|
@@ -523,7 +518,8 @@ interface StencilArcgisUtilityNetworkTraceLocation extends Required<Pick<ArcgisU
|
|
|
523
518
|
interface StencilArcgisUtilityNetworkTraceLocationList extends Required<Pick<ArcgisUtilityNetworkTraceLocationList, 'traceLocations'>>, Partial<Pick<ArcgisUtilityNetworkTraceLocationList, 'traceLocationType'>>, StencilJsx.HTMLAttributes<HTMLArcgisUtilityNetworkTraceLocationListElement> {
|
|
524
519
|
}
|
|
525
520
|
|
|
526
|
-
interface StencilArcgisUtilityNetworkTraceResults extends
|
|
521
|
+
interface StencilArcgisUtilityNetworkTraceResults extends Partial<Pick<ArcgisUtilityNetworkTraceResults, 'featuresFromSelectedLayer' | 'isElementsSelected' | 'layers' | 'messageOverrides' | 'referenceElement' | 'selectedFeature' | 'selectedLayer' | 'state' | 'traceConfigTitle' | 'traceResult' | 'utilityNetwork' | 'view'>>, StencilJsx.HTMLAttributes<HTMLArcgisUtilityNetworkTraceResultsElement> {
|
|
522
|
+
onArcgisSelectedLayerChange?: EventHandler<HTMLArcgisUtilityNetworkTraceResultsElement["arcgisSelectedLayerChange"]>;
|
|
527
523
|
onArcgisSelectedResultTypeChange?: EventHandler<HTMLArcgisUtilityNetworkTraceResultsElement["arcgisSelectedResultTypeChange"]>;
|
|
528
524
|
}
|
|
529
525
|
|
|
@@ -633,7 +629,6 @@ interface ExposedElements {
|
|
|
633
629
|
"arcgis-utility-network-associations": StencilArcgisUtilityNetworkAssociations;
|
|
634
630
|
"arcgis-utility-network-trace": StencilArcgisUtilityNetworkTrace;
|
|
635
631
|
"arcgis-utility-network-trace-analysis": StencilArcgisUtilityNetworkTraceAnalysis;
|
|
636
|
-
"arcgis-utility-network-result-feature-list": StencilArcgisUtilityNetworkResultFeatureList;
|
|
637
632
|
"arcgis-utility-network-subnetwork-info": StencilArcgisUtilityNetworkSubnetworkInfo;
|
|
638
633
|
"arcgis-utility-network-trace-inputs": StencilArcgisUtilityNetworkTraceInputs;
|
|
639
634
|
"arcgis-utility-network-trace-location": StencilArcgisUtilityNetworkTraceLocation;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arcgis/map-components",
|
|
3
|
-
"version": "5.0.0-next.
|
|
3
|
+
"version": "5.0.0-next.68",
|
|
4
4
|
"description": "ArcGIS Map Components",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ArcGIS",
|
|
@@ -43,8 +43,8 @@
|
|
|
43
43
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
44
44
|
"dependencies": {
|
|
45
45
|
"@amcharts/amcharts5": "~5.14.4",
|
|
46
|
-
"@arcgis/lumina": "5.0.0-next.
|
|
47
|
-
"@arcgis/toolkit": "5.0.0-next.
|
|
46
|
+
"@arcgis/lumina": "5.0.0-next.68",
|
|
47
|
+
"@arcgis/toolkit": "5.0.0-next.68",
|
|
48
48
|
"lit": "^3.3.0",
|
|
49
49
|
"tslib": "^2.8.1"
|
|
50
50
|
},
|
package/dist/cdn/7MFIX2DN.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
3
|
-
v5.0.0-next.65 */
|
|
4
|
-
import{a as F}from"./AX2T37U6.js";import{a as A}from"./IOFNEOYJ.js";import{I as T,M as q,O as S,a as v,b as p}from"./OLKD773Z.js";import"./JFJVWP3U.js";export default $arcgis.t(([{createReactiveMap:I,findUtilityNetwork:U,queryAllJSON:V,getOrCreateMapValue:D},{stripHTML:L},b,{ignoreAbortErrors:N},{watch:C},M,Q,B,P,x,G])=>{var O=v`.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}`,E=100,$={assetGroup:"assetgroup",assetType:"assettype"},j="{00000000-0000-0000-0000-000000000000}",k=class extends T{constructor(){super(...arguments),this._addFlowItem=t=>{t&&this.flowItems?.push(t)},this._attachmentAssociations=new b,this._attachmentFeatureCount=0,this._cancelQuery=()=>{let{_queryAbortController:t}=this;t&&t.abort(),this._queryAbortController=null},this._cancelQueryFeatureCount=()=>{let{_queryFeatureCountAbortController:t}=this;t&&t.abort(),this._queryFeatureCountAbortController=null},this._connectivityAssociations=new b,this._connectivityFeatureCount=0,this._containerAssociations=new b,this._containerFeatureCount=0,this._contentAssociations=new b,this._contentFeatureCount=0,this._networkSourceIdsInUse=new Set,this._query=async t=>{if(!t)return;await this._loadUtiltyNetworks();let{_queryAbortController:e}=this;this._destroyAssociatedFeatureViewModels(),this._clearFeatures(),this._featureCount&&await this._queryAssociatedFeatures(t,{signal:e?.signal})},this._queryController=async t=>{this._cancelQuery();let e=new AbortController;this._queryAbortController=e,await N(this._query(t)),this._queryAbortController===e&&(this._queryAbortController=null)},this._queryFeatureCountController=async()=>{this._loaded=!1,this._cancelQueryFeatureCount();let t=new AbortController;this._queryFeatureCountAbortController=t,await N(this._queryFeatureCount()),this._queryFeatureCountAbortController===t&&(this._queryFeatureCountAbortController=null),this._loaded=!0},this._queryDebounced=F(this._queryController,E),this._queryFeatureCountDebounced=F(this._queryFeatureCountController,E),this._structureAssociations=new b,this._structureFeatureCount=0,this._queryAssociationType=async()=>{this._activeAssociationType&&this._queryDebounced(this._activeAssociationType)},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"}static{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}}static{this.styles=O}get _globalId(){return(this._globalIdField&&this.graphic?.attributes?.[this._globalIdField])??null}get _globalIdField(){return this.layer?.globalIdField}get _objectId(){return(this._objectIdField&&this.graphic?.attributes?.[this._objectIdField])??null}get _objectIdField(){return this.layer?.objectIdField}get _supportsCacheHint(){return!!this.layer?.capabilities?.queryRelated?.supportsCacheHint}get _utilityNetwork(){let{layer:t,map:e}=this;if(!t?.loaded||!e)return null;let s=this._isSubtypeSublayer(t)?t.parent:t;return U(e,s)}get _canLoad(){return!!this.map}get _canQuery(){return!!this.layer?.capabilities?.query?.supportsPagination}get _state(){let{_canLoad:t,_canQuery:e,_featureCount:s,_loaded:a,_queryAbortController:i,_queryFeatureCountAbortController:o,_queryPageAbortController:c,associationTypes:l}=this;return o||t&&!a?"loading":i||c?"querying":!this._globalId||!l||!e||!s?"disabled":"ready"}get heading(){return this._heading}set heading(t){this._heading=t}async destroy(){await this.manager.destroy()}loaded(){this.manager.onLifecycle(()=>[C(()=>[this.graphic,this.layer,this.map,this.associationTypes,this._canQuery,this._objectId,this._globalId],()=>{this._queryFeatureCountDebounced(),this._queryAssociationType()},{initial:!0}),C(()=>this._activeAssociationType,t=>{this._queryDebounced(t)}),C(()=>this._associationFeatures.values(),()=>{this._setUpUtilityNetworkAssociationsViewModels()})]),this.manager.onDestroy(()=>{this._cancelQuery(),this._cancelQueryFeatureCount()})}_addAssociationTypeFlowItem(t){this._addFlowItem(q(p`<arcgis-feature-utility-network-association-list .associationViewModels=${this._associationViewModels} .description=${this.parentFeatureViewModel?.title} .flowItems=${this.flowItems} .flowType=${this.flowType} .heading=${this._getAssociationTypeTitle(t)} .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>`))}_clearAssociations(){this._attachmentAssociations.removeAll(),this._connectivityAssociations.removeAll(),this._containerAssociations.removeAll(),this._contentAssociations.removeAll(),this._structureAssociations.removeAll()}_clearFeatures(){this._associationFeatures.forEach(t=>t.removeAll()),this._associationFeatures.clear()}_compareByFeatureTitle(t,e){return t.title.localeCompare(e.title,void 0,{numeric:!0})}async _countAssociatedFeatureCount(t,e,s,a,i){let o=this._getFeatureQueryWhereClause(t,e,s,a);return await t.queryFeatureCount({where:o,outFields:["*"],returnGeometry:!1},{signal:i?.signal})}async _countAssociatedFeatures(t,e,s,a,i){if(!e.length)return 0;let o=await this._findLayersBySourceId(t);await this._loadLayers(o);let c=o.map(l=>this._countAssociatedFeatureCount(l,e,s,a,i));return(await Promise.all(c)).reduce((l,r)=>l+r,0)}async _createAssociationFeatureObjects(t,e,s,a,i){if(!t.length)return[];let o=new Map,c=Array.from(e.entries()).map(async([r,d])=>{let u=await this._findLayersBySourceId(r);await this._loadLayers(u);let h=u.map(m=>this._queryLayer(m,d,s,a,i));(await Promise.all(h)).forEach(m=>{m.forEach(n=>{if(this.source==="popup"?n.sourceLayer&&n.getEffectivePopupTemplate():n.sourceLayer){let _=n.layer.globalIdField??"",y=n.attributes[_],w=o.get(y)??[];w.push(n),o.set(y,w)}})})});await Promise.all(c);let l=[];return await Promise.all(t.toArray().map(async r=>{let{fromNetworkElement:d,toNetworkElement:u}=r,h=d.globalId===this._globalId?u:d,m=o.get(h.globalId)??[];await Promise.all(m.map(async n=>{let _=this._utilityNetwork?.getTerminalById(h?.terminalId)?.name,y=await n.sourceLayer.getFeatureTitle(n)||this._getFeatureTitle(n);l.push({title:y,feature:n,association:r,terminalName:_})}))})),l}_destroyAssociatedFeatureViewModels(){this._associationViewModels.forEach(t=>t.destroyAll())}_equals(t,e){if(t.globalId===j&&e.globalId===j){let s=function(d,u){return d.networkSourceId===u.networkSourceId&&d.globalId===u.globalId&&d.terminalId===u.terminalId&&d.firstUnit===u.firstUnit&&d.numUnits===u.numUnits},a=t.fromNetworkElement,i=t.toNetworkElement,o=e.fromNetworkElement,c=e.toNetworkElement,l=s(a,o),r=s(i,c);return l&&r&&t.associationType===e.associationType}return t.globalId!=null&&e.globalId!=null&&t.globalId===e.globalId}async _findLayersBySourceId(t){let{_utilityNetwork:e,map:s}=this;e?.loaded||await e?.load();let a=e.getLayerIdBySourceId(t),i=s.allLayers.filter(c=>!!e?.isUtilityLayer(c)&&c.layerId===a),o=s.allTables.filter(c=>!!e?.isUtilityLayer(c)&&c.layerId===a);return i.concat(o).toArray()}_getAssociationsByType(t){switch(t){case"attachment":return this._attachmentAssociations;case"structure":return this._structureAssociations;case"connectivity":return this._connectivityAssociations;case"container":return this._containerAssociations;case"content":return this._contentAssociations}}_getAssociationTypeTitle(t){let{messages:e}=this;if(t.title)return t.title;switch(t.type){case"attachment":return e?.associationsAttachments??this.messages?.noTitle??"";case"connectivity":return e?.associationsConnectivity??this.messages?.noTitle??"";case"structure":return e?.associationsStructure??this.messages?.noTitle??"";case"content":return e?.associationsContents??this.messages?.noTitle??"";case"container":return e?.associationsContainer??this.messages?.noTitle??""}}_getFeatureCountForAssociationType(t){switch(t){case"attachment":return this._attachmentFeatureCount;case"structure":return this._structureFeatureCount;case"content":return this._contentFeatureCount;case"container":return this._containerFeatureCount;case"connectivity":return this._connectivityFeatureCount}}_getFeatureQueryWhereClause(t,e,s,a){let i=t.globalIdField,o=t.fieldsIndex.get($.assetGroup),c=t.fieldsIndex.get($.assetType),l=s!=null,r=a!=null,d=i?M.sqlIn(i,e):null,u=l?`(${o?.name} = ${s})`:null,h=l&&r?`(${c?.name} = ${a})`:null;return[d,u,h].filter(Boolean).join(" AND ")}_getFeatureTitle(t){let e=t.attributes,s=t.sourceLayer;if(!e||!s)return"";let a="displayField"in s?s.displayField:null,i=a!=null?e[a.toString()]:null,o=i!=null?i.toString():null,c=t.getObjectId()?.toString();return o||c||""}_isSubtypeGroupLayer(t){return t!=null&&typeof t=="object"&&"type"in t&&t.type==="subtype-group"&&"sublayers"in t}_isSubtypeSublayer(t){return t?.type==="subtype-sublayer"}async _loadUtiltyNetworks(){let t=this.map;if(!t)return;await Promise.allSettled(t.utilityNetworks?.map(s=>s.load())??[]);let e=this._utilityNetwork;if(e){let s=a=>{if("layerId"in a&&e.isUtilityLayer(a)){let i=a.layerId!=null?e.getSourceIdByLayerId(a.layerId):null;i!=null&&this._networkSourceIdsInUse.add(i)}};this._networkSourceIdsInUse=new Set,t.allLayers.forEach(s),t.allTables.forEach(s)}}async _loadLayers(t){let e=t.filter(s=>!s.loaded).map(s=>s.load());e.length&&await Promise.allSettled(e)}_matchesGlobalFeature(t,e){return this._equals(t.association,e.association)}async _queryAssociatedFeatures(t,e){let{layer:s,_globalId:a,associationTypes:i,_utilityNetwork:o,_canQuery:c,_associationFeatures:l}=this;if(await Promise.allSettled([s?.load(),o?.load()]),!c||!s||!i||!o)return;let r=this._getAssociationsByType(t.type),{associatedAssetGroup:d,associatedAssetType:u}=t,h=new Map;r.forEach(n=>{let{fromNetworkElement:_,toNetworkElement:y}=n,{networkSourceId:w,elementGlobalId:f}=_.globalId===a?{networkSourceId:y.networkSourceId,elementGlobalId:y.globalId}:{networkSourceId:_.networkSourceId,elementGlobalId:_.globalId},g=h.get(w)||[];g.push(f),h.set(w,g)});let m=await this._createAssociationFeatureObjects(r,h,d,u,e);this._parseFeatureObjects(m,l)}async _queryAssociations(t){let{layer:e,_globalId:s,associationTypes:a,_utilityNetwork:i,_canQuery:o}=this;if(await Promise.allSettled([e?.load(),i?.load()]),this._clearAssociations(),!o||!e||!a||!i||!s)return;let c=this._isSubtypeSublayer(e)?e.parent:e,l=new Q({globalId:s,networkSourceId:i.getSourceIdByLayerId(c.layerId)}),r=new Set;a.forEach(n=>{switch(n.type){case"attachment":case"structure":r.add("attachment");break;case"container":case"content":r.add("containment");break;case"connectivity":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");break}});let d=await i?.queryAssociations(new B({elements:[l],types:Array.from(r)}),{signal:t?.signal}),u=new Map,h=new Map;a.forEach(n=>{h.set(n.type,n),u.set(n.type,[])}),d.forEach(n=>{let{toNetworkElement:_,fromNetworkElement:y}=n;switch(n.associationType){case"attachment":if(y?.globalId===s){if(this._shouldDiscardNetworkElement(_,"attachment",h))break;u.get("attachment")?.push(_.globalId),this._attachmentAssociations.add(n)}else{if(this._shouldDiscardNetworkElement(y,"structure",h))break;u.get("structure")?.push(y.globalId),this._structureAssociations.add(n)}break;case"connectivity":case"junction-edge-from-connectivity":case"junction-edge-midspan-connectivity":case"junction-edge-to-connectivity":case"junction-junction-connectivity":if(y?.globalId===s){if(this._shouldDiscardNetworkElement(_,"connectivity",h))break;u.get("connectivity")?.push(_.globalId)}else{if(this._shouldDiscardNetworkElement(y,"connectivity",h))break;u.get("connectivity")?.push(y.globalId)}this._connectivityAssociations.add(n);break;case"containment":if(y?.globalId===s){if(this._shouldDiscardNetworkElement(_,"content",h))break;u.get("content")?.push(_.globalId),this._contentAssociations.add(n)}else{if(this._shouldDiscardNetworkElement(y,"container",h))break;u.get("container")?.push(y.globalId),this._containerAssociations.add(n)}break}});let m=a.map(async n=>{let{associatedNetworkSourceId:_,associatedAssetGroup:y,associatedAssetType:w}=n,f=u.get(n.type),g=y!=null?await this._countAssociatedFeatures(_,f,y,w,t):f.length;switch(n.type){case"attachment":this._attachmentFeatureCount=g;break;case"connectivity":this._connectivityFeatureCount=g;break;case"container":this._containerFeatureCount=g;break;case"content":this._contentFeatureCount=g;break;case"structure":this._structureFeatureCount=g;break}});await Promise.allSettled(m)}async _queryFeatureCount(){await this._loadUtiltyNetworks();let{_queryFeatureCountAbortController:t,_canQuery:e}=this;if(!e){this._featureCount=0;return}await this._queryAssociations(t),this._featureCount=this._attachmentFeatureCount+this._connectivityFeatureCount+this._containerFeatureCount+this._contentFeatureCount+this._structureFeatureCount}async _queryLayer(t,e,s,a,i){let o=this._getFeatureQueryWhereClause(t,e,s,a),c=new x({where:o,outFields:["*"],cacheHint:this._supportsCacheHint}),l=P.fromJSON(await V(t,c,i));return l.features.forEach(r=>{let d=this._isSubtypeGroupLayer(t);r.layer=d?t.findSublayerForFeature(r):t,r.sourceLayer=d?t.findSublayerForFeature(r):t}),l.features}_parseFeatureObjects(t,e){let s=I();t.forEach(a=>{let i=(a?.feature).sourceLayer;D(s,i,()=>new b).add(a)});for(let[a,i]of s)this._sortFeatureObjectsByTitle(i),e.set(a,i)}_selectAssociationType(t){let{flowItems:e}=this;e&&(this._activeAssociationType=t,this._setUpUtilityNetworkAssociationsViewModels(),this._addAssociationTypeFlowItem(t))}_setUpUtilityNetworkAssociationsViewModels(){this._associationViewModels.forEach((i,o)=>{let c=this._associationFeatures.get(o);c?i.forEach(l=>{c.find(r=>this._matchesGlobalFeature(l,r))||(i.remove(l),i.length||this._associationViewModels.delete(o))}):(i.removeAll(),this._associationViewModels.delete(o))});let{map:t,view:e,spatialReference:s,timeZone:a}=this;this._associationFeatures.forEach((i,o)=>{let c=this._associationViewModels.get(o)||new b;i?.filter(Boolean).forEach((l,r)=>{if(!c.some(d=>this._matchesGlobalFeature(d,l))){let{association:d,feature:u,terminalName:h,title:m}=l;c.add({title:m,association:d,featureViewModel:new G({abilities:{utilityNetworkAssociationsContent:!1},map:t,view:e,spatialReference:s,timeZone:a,graphic:u}),terminalName:h},r)}}),this._associationViewModels.set(o,c)})}_shouldDiscardNetworkElement(t,e,s){if(!t)return!1;let{networkSourceId:a}=t,i=s.get(e)?.associatedNetworkSourceId,o=this._networkSourceIdsInUse.has(a);return i!=null&&i!==a||!o}_sortFeatureObjectsByTitle(t){t.sort(this._compareByFeatureTitle)}render(){let{_state:t}=this;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>`}_renderAssociationNotFound(){return p`<calcite-notice icon=information kind=info open scale=s width=full><div slot=message>${this.messages?.noAssociations}</div></calcite-notice>`}_renderAssociationTypeList(t){return this._getFeatureCountForAssociationType(t.type)>0?this._renderAssociationTypeListItem(t):null}_renderAssociationTypeListItem(t){let e=this._getAssociationTypeTitle(t);return A(`association-type-${t.type}`,p`<calcite-list-item .description=${L(t.description)} .label=${L(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>`)}_renderContent(){let{_state:t,associationTypes:e,messages:s}=this,a=s?.associationsList??s?.noTitle??"";return A("list-container",p`<div class="list-container">${t==="ready"?p`<div><calcite-list display-mode=flat .label=${a}>${e.map(i=>this._renderAssociationTypeList(i))}</calcite-list></div>`:null}${this._renderStickyLoading()}</div>`)}_renderLoading(){return p`<div class="loading-container">${this._renderLoadingIcon()}${this._renderStickyLoading()}</div>`}_renderLoadingIcon(){return p`<calcite-loader inline label></calcite-loader>`}_renderStickyLoading(){return this._state==="querying"?p`<div class="sticky-loading-container">${this._renderLoadingIcon()}</div>`:null}};S("arcgis-feature-utility-network-associations",k);return k},"applications/Components/featureUtils","applications/Components/stringUtils","core/Collection","core/promiseUtils","core/reactiveUtils","core/sql","rest/networks/support/NetworkElement","rest/networks/support/QueryAssociationsParameters","rest/support/FeatureSet","rest/support/Query","widgets/Feature/FeatureViewModel")
|
package/dist/cdn/DBR6LHAF.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
3
|
-
v5.0.0-next.65 */
|
|
4
|
-
import{J as i,a as s,b as c}from"./OLKD773Z.js";var a="arcgis-map",e={base:a,containerUI:`${a}-container-ui`,containerElement:`${a}-container-ui__element`,containerElementDefaultSlot:`${a}-container-ui__element-default`,containerElementPopupSlot:`${a}-container-ui__element-popup`,containerTopLeftColumn:`${a}-container-ui__top-left-column`,containerTopRightColumn:`${a}-container-ui__top-right-column`,containerBottomLeftRow:`${a}-container-ui__bottom-left-row`,containerBottomRightRow:`${a}-container-ui__bottom-right-row`,containerElementTopLeft:`${a}-container-ui__element-top-left`,containerElementTopRight:`${a}-container-ui__element-top-right`,containerElementBottomLeft:`${a}-container-ui__element-bottom-left`,containerElementBottomRight:`${a}-container-ui__element-bottom-right`,containerElementTopStart:`${a}-container-ui__element-top-start`,containerElementTopEnd:`${a}-container-ui__element-top-end`,containerElementBottomStart:`${a}-container-ui__element-bottom-start`,containerElementBottomEnd:`${a}-container-ui__element-bottom-end`},t={topLeft:"top-left",topRight:"top-right",bottomLeft:"bottom-left",bottomRight:"bottom-right",topStart:"top-start",topEnd:"top-end",bottomStart:"bottom-start",bottomEnd:"bottom-end",popup:"popup"};function d(r,n,l){return c`<div class=${i({[e.containerElementPopupSlot]:!0})}><slot name=${t.popup} @slotchange=${n}></slot></div><div class=${i({[e.containerElementDefaultSlot]:!0})}>${l}<slot></slot></div><div class=${i({[e.containerTopLeftColumn]:!0})}><div class=${i({[e.containerElement]:!0,[e.containerElementTopLeft]:!0})}><slot name=${t.topLeft}></slot></div><div class=${i({[e.containerElement]:!0,[e.containerElementTopStart]:!0})}><slot name=${r==="ltr"?t.topStart:t.topEnd}></slot></div></div><div class=${i({[e.containerTopRightColumn]:!0})}><div class=${i({[e.containerElement]:!0,[e.containerElementTopRight]:!0})}><slot name=${t.topRight}></slot></div><div class=${i({[e.containerElement]:!0,[e.containerElementTopEnd]:!0})}><slot name=${r==="ltr"?t.topEnd:t.topStart}></slot></div></div><div class=${i({[e.containerBottomLeftRow]:!0})}><div class=${i({[e.containerElement]:!0,[e.containerElementBottomLeft]:!0})}><slot name=${t.bottomLeft}></slot></div><div class=${i({[e.containerElement]:!0,[e.containerElementBottomStart]:!0})}><slot name=${r==="ltr"?t.bottomStart:t.bottomEnd}></slot></div></div><div class=${i({[e.containerBottomRightRow]:!0})}><div class=${i({[e.containerElement]:!0,[e.containerElementBottomRight]:!0})}><slot name=${t.bottomRight}></slot></div><div class=${i({[e.containerElement]:!0,[e.containerElementBottomEnd]:!0})}><slot name=${r==="ltr"?t.bottomEnd:t.bottomStart}></slot></div></div>`}var m=s`:host{--arcgis-internal-color-black-30: color-mix(in srgb, #000000 30.2%, transparent);--arcgis-internal-box-shadow: var(--calcite-spacing-none) var(--calcite-spacing-px) var(--calcite-spacing-base) var(--arcgis-internal-color-black-30);--arcgis-internal-top-max-width: calc(min(100cqw, 100vw) - var(--calcite-spacing-xxxl));--arcgis-internal-panel-width: 300px;--arcgis-internal-panel-height: 100%;--arcgis-internal-panel-height-sm: 240px;--arcgis-internal-panel-height-md: 420px;--arcgis-internal-panel-height-lg: 540px;--arcgis-internal-panel-height-xl: 680px;--arcgis-internal-basemap-gallery-width-lg: 450px;--arcgis-expand-max-height: var(--calcite-spacing-xxxl);--arcgis-collapse-icon-flip: scaleX(1);--arcgis-row-direction: row;--arcgis-legend-internal-width: 300px;--arcgis-layout-overlay-space-top: 0px;--arcgis-layout-overlay-space-bottom: 0px;--arcgis-layout-overlay-space-left: 0px;--arcgis-layout-overlay-space-right: 0px;--arcgis-internal-sketch-justify-content: flex-start}:host{display:block;position:relative;height:100%;width:100%;padding:var(--calcite-spacing-none);margin:var(--calcite-spacing-none);container:arcgis-map-container/size;contain:layout}::slotted(:is([closed],[closed="true"])){display:none}:dir(rtl) ::slotted(:not(arcgis-swipe)){direction:rtl}::slotted(:is(arcgis-area-measurement-2d,arcgis-area-measurement-3d,arcgis-attachments,arcgis-basemap-gallery,arcgis-basemap-layer-list,arcgis-bookmarks,arcgis-building-explorer,arcgis-catalog-layer-list,arcgis-coordinate-conversion,arcgis-daylight,arcgis-directions,arcgis-direct-line-measurement-3d,arcgis-distance-measurement-2d,arcgis-editor,arcgis-elevation-profile,arcgis-expand,arcgis-feature-form,arcgis-features,arcgis-feature-table,arcgis-fullscreen,arcgis-grid-controls,arcgis-home,arcgis-layer-list,arcgis-legend,arcgis-line-of-sight,arcgis-link-chart-layout-switcher,arcgis-locate,arcgis-measurement,arcgis-navigation-toggle,arcgis-oriented-imagery-viewer,arcgis-print,arcgis-search,arcgis-shadow-cast,arcgis-slice,arcgis-table-list,arcgis-time-slider,arcgis-time-zone-label,arcgis-track,arcgis-utility-network-associations,arcgis-utility-network-trace,arcgis-utility-network-validate-topology,arcgis-version-management,arcgis-video-player,arcgis-weather,arcgis-zoom)){box-shadow:var(--arcgis-internal-box-shadow)}::slotted(:is(arcgis-area-measurement-2d,arcgis-area-measurement-3d,arcgis-basemap-gallery,arcgis-basemap-layer-list,arcgis-bookmarks,arcgis-building-explorer,arcgis-catalog-layer-list,arcgis-directions,arcgis-direct-line-measurement-3d,arcgis-distance-measurement-2d,arcgis-editor,arcgis-feature-form,arcgis-features,arcgis-layer-list,arcgis-line-of-sight,arcgis-print,arcgis-shadow-cast,arcgis-slice,arcgis-table-list,arcgis-utility-network-trace,arcgis-grid-controls)){width:var(--arcgis-internal-panel-width);min-width:var(--calcite-spacing-xxxl);min-height:var(--calcite-spacing-xxxl);transition:max-height .25s ease-in-out;overflow-y:auto}.arcgis-map-container-ui{position:absolute;inset:var(--calcite-spacing-none);padding:var(--calcite-spacing-none);z-index:var(--calcite-z-index);pointer-events:none;background:none}.arcgis-map-container-ui__element{display:flex;flex-direction:column;pointer-events:none;width:max-content;max-width:100%}.arcgis-map-container-ui__element .esri-widget--panel{min-width:var(--arcgis-internal-panel-width)}.arcgis-map-container-ui__element-popup,.arcgis-map-container-ui__element-default{pointer-events:none;max-width:100%;position:absolute;display:block;inset:var(--calcite-spacing-none);width:100%;::slotted(:not(arcgis-swipe)){pointer-events:auto}}.arcgis-map-container-ui__top-left-column{position:absolute;top:var(--calcite-spacing-none);left:var(--calcite-spacing-none);display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;margin-top:var(--calcite-spacing-lg);margin-left:var(--calcite-spacing-lg);padding-top:var(--arcgis-layout-overlay-space-top);padding-left:var(--arcgis-layout-overlay-space-left);::slotted(*){max-width:var(--arcgis-internal-top-max-width)}::slotted(arcgis-sketch[layout="vertical"]){--sketch-pad-flex-flow: column wrap}}.arcgis-map-container-ui__top-left-column:dir(rtl){align-items:flex-end;::slotted(arcgis-floor-filter){--arcgis-row-direction: row-reverse}}.arcgis-map-container-ui__top-right-column{position:absolute;top:var(--calcite-spacing-none);right:var(--calcite-spacing-none);display:flex;flex-direction:column;align-items:flex-end;margin-top:var(--calcite-spacing-lg);margin-right:var(--calcite-spacing-lg);padding-top:var(--arcgis-layout-overlay-space-top);padding-right:var(--arcgis-layout-overlay-space-right);::slotted(*){max-width:var(--arcgis-internal-top-max-width)}::slotted(arcgis-expand){--arcgis-internal-sketch-justify-content: flex-end}}.arcgis-map-container-ui__top-right-column:dir(rtl){align-items:flex-start;::slotted(arcgis-floor-filter){--arcgis-row-direction: row}}.arcgis-map-container-ui__element-top-left{top:var(--calcite-spacing-none);left:var(--calcite-spacing-none);display:flex;justify-content:flex-start;align-items:flex-start;::slotted(arcgis-expand){--arcgis-expand-icon-number-left: none;--arcgis-expand-icon-number-right: calc(-1 * var(--calcite-spacing-xs))}::slotted(:is(arcgis-floor-filter,arcgis-expand)){--arcgis-collapse-icon-flip: scaleX(-1)}::slotted(arcgis-sketch){--sketch-pad-flex-flow: wrap}::slotted(*){margin-bottom:var(--calcite-spacing-sm-plus)}}.arcgis-map-container-ui__element-top-left:dir(rtl){align-items:flex-end}.arcgis-map-container-ui__element-top-right{position:relative;justify-content:flex-start;align-items:flex-end;margin-left:auto;::slotted(arcgis-expand){--arcgis-expand-icon-number-left: calc(-1 * var(--calcite-spacing-xs));--arcgis-expand-icon-number-right: none}::slotted(arcgis-floor-filter){--arcgis-row-direction: row-reverse}::slotted(arcgis-sketch){--sketch-pad-flex-flow: row-reverse wrap}::slotted(arcgis-sketch[layout="vertical"]){--sketch-pad-flex-flow: column wrap-reverse}::slotted(*){margin-bottom:var(--calcite-spacing-sm-plus)}}.arcgis-map-container-ui__element-top-right:dir(rtl){align-items:flex-start}.arcgis-map-container-ui__element-top-start{position:relative;justify-content:flex-start;align-items:flex-start;::slotted(arcgis-expand){--arcgis-expand-icon-number-left: none;--arcgis-expand-icon-number-right: calc(-1 * var(--calcite-spacing-xs))}::slotted(arcgis-sketch[layout="vertical"]){--sketch-pad-flex-flow: column wrap}::slotted(:is(arcgis-floor-filter,arcgis-expand)){--arcgis-collapse-icon-flip: scaleX(-1)}::slotted(*){margin-bottom:var(--calcite-spacing-sm-plus)}}.arcgis-map-container-ui__element-top-start:dir(rtl){align-items:flex-end;--arcgis-internal-sketch-justify-content: flex-start;::slotted(arcgis-sketch){--sketch-pad-flex-flow: row-reverse wrap-reverse}}.arcgis-map-container-ui__element-top-end{position:relative;justify-content:flex-start;align-items:flex-end;::slotted(arcgis-expand){--arcgis-expand-icon-number-left: calc(-1 * var(--calcite-spacing-xs));--arcgis-expand-icon-number-right: none}::slotted(arcgis-floor-filter){--arcgis-row-direction: row-reverse}::slotted(arcgis-sketch){--sketch-pad-flex-flow: row-reverse wrap}::slotted(arcgis-sketch[layout="vertical"]){--sketch-pad-flex-flow: column wrap-reverse}::slotted(*){margin-bottom:var(--calcite-spacing-sm-plus)}}.arcgis-map-container-ui__element-top-end:dir(rtl){align-items:flex-start;--arcgis-internal-sketch-justify-content: flex-end}.arcgis-map-container-ui__bottom-left-row{position:absolute;bottom:var(--calcite-spacing-none);left:var(--calcite-spacing-none);display:flex;flex-direction:row;align-items:flex-end;max-width:100%;margin-left:var(--calcite-spacing-lg);margin-bottom:var(--calcite-spacing-xxxl);padding-left:var(--arcgis-layout-overlay-space-left);padding-bottom:var(--arcgis-layout-overlay-space-bottom);::slotted(:last-child){margin-right:var(--calcite-spacing-xxl)}::slotted(arcgis-floor-filter){--arcgis-internal-floor-filter-column-direction: column-reverse;--arcgis-internal-floor-filter-button-border-width: 0 0 1px}::slotted(*){max-width:var(--arcgis-internal-top-max-width)}}.arcgis-map-container-ui__bottom-left-row:dir(rtl){flex-direction:row-reverse;::slotted(arcgis-floor-filter){--arcgis-row-direction: row-reverse}}.arcgis-map-container-ui__bottom-right-row{position:absolute;bottom:var(--calcite-spacing-none);right:var(--calcite-spacing-none);display:flex;flex-direction:row-reverse;align-items:flex-end;max-width:100%;margin-right:var(--calcite-spacing-lg);margin-bottom:var(--calcite-spacing-xxxl);padding-right:var(--arcgis-layout-overlay-space-right);padding-bottom:var(--arcgis-layout-overlay-space-bottom);::slotted(:last-child){margin-left:var(--calcite-spacing-xxl)}::slotted(arcgis-floor-filter){--arcgis-internal-floor-filter-column-direction: column-reverse;--arcgis-internal-floor-filter-button-border-width: 0 0 1px}::slotted(*){max-width:var(--arcgis-internal-top-max-width)}::slotted(arcgis-expand){--arcgis-internal-sketch-justify-content: flex-end}::slotted(arcgis-sketch[layout="vertical"]){--sketch-pad-flex-flow: column-reverse wrap-reverse}}.arcgis-map-container-ui__bottom-right-row:dir(rtl){flex-direction:row;::slotted(arcgis-floor-filter){--arcgis-row-direction: row}}.arcgis-map-container-ui__element-bottom-left{bottom:var(--calcite-spacing-none);left:var(--calcite-spacing-none);display:flex;flex-direction:column;align-items:flex-end;justify-content:flex-end;flex-flow:row;::slotted(arcgis-coordinate-conversion){--arcgis-coordinate-conversion-flex-direction: column-reverse}::slotted(arcgis-expand){--arcgis-expand-icon-number-left: none;--arcgis-expand-icon-number-right: calc(-1 * var(--calcite-spacing-xs))}::slotted(:is(arcgis-floor-filter,arcgis-expand)){--arcgis-collapse-icon-flip: scaleX(-1)}::slotted(arcgis-sketch){--sketch-pad-flex-flow: wrap-reverse}::slotted(arcgis-sketch[layout="vertical"]){--sketch-pad-flex-flow: column-reverse wrap}::slotted(arcgis-floor-filter){--arcgis-floor-filter-align-items: flex-end}::slotted(*){margin-right:var(--calcite-spacing-sm-plus)}}.arcgis-map-container-ui__element-bottom-right{bottom:var(--calcite-spacing-none);right:var(--calcite-spacing-none);align-items:flex-end;justify-content:flex-end;margin-left:auto;flex-flow:row-reverse;::slotted(arcgis-coordinate-conversion){--arcgis-coordinate-conversion-flex-direction: column-reverse}::slotted(arcgis-expand){--arcgis-expand-icon-number-left: calc(-1 * var(--calcite-spacing-xs));--arcgis-expand-icon-number-right: none}::slotted(arcgis-sketch){--sketch-pad-flex-flow: row-reverse wrap-reverse}::slotted(arcgis-sketch[layout="vertical"]){--sketch-pad-flex-flow: column-reverse wrap-reverse}::slotted(arcgis-floor-filter){--arcgis-floor-filter-align-items: flex-end;--arcgis-row-direction: row-reverse}::slotted(*){margin-left:var(--calcite-spacing-sm-plus)}}.arcgis-map-container-ui__element-bottom-start{bottom:var(--calcite-spacing-none);left:var(--calcite-spacing-none);display:flex;flex-direction:column;align-items:flex-end;justify-content:flex-end;flex-flow:row;::slotted(arcgis-coordinate-conversion){--arcgis-coordinate-conversion-flex-direction: column-reverse}::slotted(arcgis-expand){--arcgis-expand-icon-number-left: none;--arcgis-expand-icon-number-right: calc(-1 * var(--calcite-spacing-xs))}::slotted(:is(arcgis-floor-filter,arcgis-expand)){--arcgis-collapse-icon-flip: scaleX(-1)}::slotted(arcgis-sketch){--sketch-pad-flex-flow: wrap-reverse}::slotted(arcgis-sketch[layout="vertical"]){--sketch-pad-flex-flow: column-reverse wrap}::slotted(arcgis-floor-filter){--arcgis-floor-filter-align-items: flex-end}::slotted(*){margin-right:var(--calcite-spacing-sm-plus)}::slotted(:dir(rtl)){margin-right:var(--calcite-spacing-none);--arcgis-internal-sketch-justify-content: flex-start}}.arcgis-map-container-ui__element-bottom-end{bottom:var(--calcite-spacing-none);right:var(--calcite-spacing-none);align-items:flex-end;justify-content:flex-end;margin-left:auto;flex-flow:row-reverse;::slotted(arcgis-coordinate-conversion){--arcgis-coordinate-conversion-flex-direction: column-reverse}::slotted(arcgis-expand){--arcgis-expand-icon-number-left: calc(-1 * var(--calcite-spacing-xs));--arcgis-expand-icon-number-right: none}::slotted(arcgis-sketch){--sketch-pad-flex-flow: row-reverse wrap-reverse}::slotted(arcgis-sketch[layout="vertical"]){--sketch-pad-flex-flow: column-reverse wrap-reverse}::slotted(arcgis-floor-filter){--arcgis-floor-filter-align-items: flex-end;--arcgis-row-direction: row-reverse}::slotted(*){margin-left:var(--calcite-spacing-sm-plus)}::slotted(:dir(rtl)){margin-left:var(--calcite-spacing-none);--arcgis-internal-sketch-justify-content: flex-end}}.arcgis-map-container-ui__element>*{pointer-events:auto}@container arcgis-map-container (height >= 0){::slotted(arcgis-sketch){--responsive-toolbar-vert-width: var(--calcite-spacing-none);--responsive-toolbar-vert-height: min(100vh - 120px, 100cqh - 120px);--responsive-toolbar-horiz-width: min(100vw - 60px, 100cqw - 60px);--responsive-toolbar-horiz-height: var(--calcite-spacing-none)}}@container arcgis-map-container (max-height: 544px) or (max-width: 544px){::slotted(:is(arcgis-floor-filter)){--arcgis-internal-floor-filter-button-display: none;--arcgis-internal-floor-filter-menu-width: 225px}}@container arcgis-map-container (max-height: 499.99px){.arcgis-map-container-ui__element>*{--arcgis-expand-max-height: var(--arcgis-internal-panel-height-sm);--arcgis-internal-panel-height: var(--arcgis-internal-panel-height-sm)}::slotted(:is(arcgis-area-measurement-2d,arcgis-area-measurement-3d,arcgis-basemap-gallery,arcgis-basemap-layer-list,arcgis-bookmarks,arcgis-building-explorer,arcgis-catalog-layer-list,arcgis-directions,arcgis-direct-line-measurement-3d,arcgis-distance-measurement-2d,arcgis-editor,arcgis-feature-form,arcgis-features,arcgis-layer-list,arcgis-legend,arcgis-line-of-sight,arcgis-print,arcgis-shadow-cast,arcgis-slice,arcgis-table-list,arcgis-utility-network-trace,arcgis-grid-controls)){max-height:var(--arcgis-internal-panel-height-sm)}}@container arcgis-map-container (min-height: 500px){.arcgis-map-container-ui__element>*{--arcgis-expand-max-height: var(--arcgis-internal-panel-height-md);--arcgis-internal-panel-height: var(--arcgis-internal-panel-height-md)}::slotted(:is(arcgis-area-measurement-2d,arcgis-area-measurement-3d,arcgis-basemap-gallery,arcgis-basemap-layer-list,arcgis-bookmarks,arcgis-building-explorer,arcgis-catalog-layer-list,arcgis-directions,arcgis-direct-line-measurement-3d,arcgis-distance-measurement-2d,arcgis-editor,arcgis-feature-form,arcgis-features,arcgis-layer-list,arcgis-legend,arcgis-line-of-sight,arcgis-print,arcgis-shadow-cast,arcgis-slice,arcgis-table-list,arcgis-utility-network-trace,arcgis-grid-controls)){max-height:var(--arcgis-internal-panel-height-md)}::slotted(:is(arcgis-floor-filter)){--arcgis-internal-floor-filter-menu-max-height: 320px;--arcgis-internal-floor-filter-levels-max-height: 320px}}@container arcgis-map-container (min-height: 768px){.arcgis-map-container-ui__element>*{--arcgis-expand-max-height: var(--arcgis-internal-panel-height-lg);--arcgis-internal-panel-height: var(--arcgis-internal-panel-height-lg)}::slotted(:is(arcgis-area-measurement-2d,arcgis-area-measurement-3d,arcgis-basemap-gallery,arcgis-basemap-layer-list,arcgis-bookmarks,arcgis-building-explorer,arcgis-catalog-layer-list,arcgis-directions,arcgis-direct-line-measurement-3d,arcgis-distance-measurement-2d,arcgis-editor,arcgis-feature-form,arcgis-features,arcgis-layer-list,arcgis-legend,arcgis-line-of-sight,arcgis-print,arcgis-shadow-cast,arcgis-slice,arcgis-table-list,arcgis-utility-network-trace,arcgis-grid-controls)){max-height:var(--arcgis-internal-panel-height-lg)}::slotted(:is(arcgis-floor-filter)){--arcgis-internal-floor-filter-menu-max-height: 420px;--arcgis-internal-floor-filter-levels-max-height: 420px}}@container arcgis-map-container (min-height: 992px){.arcgis-map-container-ui__element>*{--arcgis-expand-max-height: var(--arcgis-internal-panel-height-lg);--arcgis-internal-panel-height: var(--arcgis-internal-panel-height-lg)}::slotted(:is(arcgis-area-measurement-2d,arcgis-area-measurement-3d,arcgis-basemap-gallery,arcgis-basemap-layer-list,arcgis-bookmarks,arcgis-building-explorer,arcgis-catalog-layer-list,arcgis-directions,arcgis-direct-line-measurement-3d,arcgis-distance-measurement-2d,arcgis-editor,arcgis-feature-form,arcgis-features,arcgis-layer-list,arcgis-legend,arcgis-line-of-sight,arcgis-print,arcgis-shadow-cast,arcgis-slice,arcgis-table-list,arcgis-utility-network-trace,arcgis-grid-controls)){max-height:var(--arcgis-internal-panel-height-lg)}}@container arcgis-map-container (min-height: 1200px){.arcgis-map-container-ui__element>*{--arcgis-expand-max-height: var(--arcgis-internal-panel-height-xl);--arcgis-internal-panel-height: var(--arcgis-internal-panel-height-xl)}::slotted(:is(arcgis-area-measurement-2d,arcgis-area-measurement-3d,arcgis-basemap-gallery,arcgis-basemap-layer-list,arcgis-bookmarks,arcgis-building-explorer,arcgis-catalog-layer-list,arcgis-directions,arcgis-direct-line-measurement-3d,arcgis-distance-measurement-2d,arcgis-editor,arcgis-feature-form,arcgis-features,arcgis-layer-list,arcgis-legend,arcgis-line-of-sight,arcgis-print,arcgis-shadow-cast,arcgis-slice,arcgis-table-list,arcgis-utility-network-trace,arcgis-grid-controls)){max-height:var(--arcgis-internal-panel-height-xl)}}@container arcgis-map-container (min-width: 544px){::slotted(:is(arcgis-area-measurement-2d,arcgis-area-measurement-3d,arcgis-basemap-gallery,arcgis-basemap-layer-list,arcgis-bookmarks,arcgis-building-explorer,arcgis-catalog-layer-list,arcgis-directions,arcgis-direct-line-measurement-3d,arcgis-distance-measurement-2d,arcgis-editor,arcgis-feature-form,arcgis-features,arcgis-layer-list,arcgis-line-of-sight,arcgis-print,arcgis-shadow-cast,arcgis-slice,arcgis-table-list,arcgis-utility-network-trace,arcgis-grid-controls)){width:var(--arcgis-internal-panel-width)}}@container arcgis-map-container (min-width: 768px){::slotted(:is(arcgis-legend[card-style-layout="auto"])){--arcgis-legend-internal-width: auto}::slotted(:is(arcgis-area-measurement-2d,arcgis-area-measurement-3d,arcgis-basemap-gallery,arcgis-basemap-layer-list,arcgis-bookmarks,arcgis-building-explorer,arcgis-catalog-layer-list,arcgis-directions,arcgis-direct-line-measurement-3d,arcgis-distance-measurement-2d,arcgis-editor,arcgis-feature-form,arcgis-features,arcgis-layer-list,arcgis-line-of-sight,arcgis-print,arcgis-shadow-cast,arcgis-slice,arcgis-table-list,arcgis-utility-network-trace,arcgis-grid-controls)){width:var(--arcgis-internal-panel-width)}}@container arcgis-map-container (min-width: 992px){::slotted(:is(arcgis-area-measurement-2d,arcgis-area-measurement-3d,arcgis-basemap-gallery,arcgis-basemap-layer-list,arcgis-bookmarks,arcgis-building-explorer,arcgis-catalog-layer-list,arcgis-directions,arcgis-direct-line-measurement-3d,arcgis-distance-measurement-2d,arcgis-editor,arcgis-feature-form,arcgis-features,arcgis-layer-list,arcgis-line-of-sight,arcgis-print,arcgis-shadow-cast,arcgis-slice,arcgis-table-list,arcgis-utility-network-trace,arcgis-grid-controls)){width:var(--arcgis-internal-panel-width)}}@container arcgis-map-container (min-width: 1200px){::slotted(:is(arcgis-basemap-gallery)){width:var(--arcgis-internal-basemap-gallery-width-lg)}::slotted(:is(arcgis-area-measurement-2d,arcgis-area-measurement-3d,arcgis-basemap-layer-list,arcgis-bookmarks,arcgis-building-explorer,arcgis-catalog-layer-list,arcgis-directions,arcgis-direct-line-measurement-3d,arcgis-distance-measurement-2d,arcgis-editor,arcgis-feature-form,arcgis-features,arcgis-layer-list,arcgis-line-of-sight,arcgis-print,arcgis-shadow-cast,arcgis-slice,arcgis-table-list,arcgis-utility-network-trace,arcgis-grid-controls)){width:var(--arcgis-internal-panel-width)}}`;export{e as a,d as b,m as c};
|
package/dist/cdn/DCDHF7LW.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
3
|
-
v5.0.0-next.65 */
|
|
4
|
-
import a from"./VDDVPZ3G.js";import"./IOFNEOYJ.js";import"./T2FTDJIZ.js";import"./Y5OSSEKH.js";import"./OLKD773Z.js";import"./JFJVWP3U.js";export default $arcgis.t(([a])=>{return a},a)
|
package/dist/cdn/EWOOGZOU.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
3
|
-
v5.0.0-next.65 */
|
|
4
|
-
import{j as m}from"./R5ZME4FZ.js";import"./EJK4WZEP.js";import"./UBP6DPGX.js";import{t as p}from"./5VA4AXPP.js";import"./VUDJZHBN.js";import"./CWWQ5DVQ.js";import"./GBKSMVC7.js";import"./JFJVWP3U.js";export default $arcgis.t(([{getLocale:a,getLocaleLanguage:n}])=>{p("AM5C241025748");var e="en-US",o=new Map([["ar",()=>import("./TG2MCMXO.js")],["bg-BG",()=>import("./6QD2NADI.js")],["bs-BA",()=>import("./RYM5AUKL.js")],["ca-ES",()=>import("./NP42P62U.js")],["cs-CZ",()=>import("./UCFUVVL7.js")],["da-DK",()=>import("./3KDM6YY5.js")],["de-DE",()=>import("./K47L6NOF.js")],["de-CH",()=>import("./Q425F5UE.js")],["el-GR",()=>import("./FRJ5L26H.js")],["en-US",()=>import("./AVDPYQ7E.js")],["en-CA",()=>import("./EDMGJ53Y.js")],["es-ES",()=>import("./FPXZTXZ2.js")],["et-EE",()=>import("./HH765JZC.js")],["fi-FI",()=>import("./3JCXYH7S.js")],["fr-FR",()=>import("./QNVLFIM6.js")],["he-IL",()=>import("./ORXTE5WT.js")],["hr-HR",()=>import("./LNMQCN2Y.js")],["hu-HU",()=>import("./OZ3JGZBP.js")],["id-ID",()=>import("./AYFDVED6.js")],["it-IT",()=>import("./TKCWTYOZ.js")],["ja-JP",()=>import("./WLUTTI5Q.js")],["ko-KR",()=>import("./X54RL5BW.js")],["lt-LT",()=>import("./UYA7EJAG.js")],["lv-LV",()=>import("./B56EYQBQ.js")],["no-NO",()=>import("./C2EZM4TZ.js")],["nb-NO",()=>import("./C2EZM4TZ.js")],["nl-NL",()=>import("./5PIAYUVO.js")],["pl-PL",()=>import("./CJVUGN55.js")],["pt-BR",()=>import("./JX5RDQFQ.js")],["pt-PT",()=>import("./LD7SNY7V.js")],["ro-RO",()=>import("./O7GA4XVL.js")],["ru-RU",()=>import("./U5VJC7XL.js")],["sk-SK",()=>import("./JT4BL4MI.js")],["sl-SL",()=>import("./5STBO2TF.js")],["sr-RS",()=>import("./KSFFCU5K.js")],["sv-SE",()=>import("./AWPRUMSC.js")],["th-TH",()=>import("./VWT2ZVPA.js")],["tr-TR",()=>import("./4LS6A43E.js")],["uk-UA",()=>import("./Q57GDWNL.js")],["vi-VN",()=>import("./DMPFR2VI.js")],["zh-CN",()=>import("./G2WCBJCC.js")],["zh-HK",()=>import("./2QRKVAPO.js")],["zh-TW",()=>import("./2QRKVAPO.js")]]);function s(t){if(!t)return e;if(o.has(t))return t;let r=n();return r&&o.has(r)?r:e}async function l(t,r=a()){let i=m.new(t);return i.locale=(await o.get(s(r))()).default,i}return l},"intl")
|
package/dist/cdn/K2GUDPS7.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
3
|
-
v5.0.0-next.65 */
|
|
4
|
-
import e from"./DPCRZFAW.js";import d from"./GFD5SGUU.js";import{a as F}from"./IHKT5L2N.js";import c from"./VEQT2S7L.js";import a from"./3HKFIINT.js";import{g as L}from"./XDFS4H76.js";import"./6LRKZVG3.js";import"./5QBG5EOQ.js";import{b as E}from"./Y5OSSEKH.js";import{H as M,I as x,J as l,L as _,O as b,a as y,b as o,s as I}from"./OLKD773Z.js";import"./JFJVWP3U.js";export default $arcgis.t(([H,{substitute:B},Z,{watch:P},{stripHTML:U},,,T,{b:A,c:V,d:R,e:k,f:D,j:N,q:h}])=>{var z=y`:host{display:flex;flex:1 1 auto;background-color:var(--calcite-color-foreground-1);--calcite-color-background: var(--calcite-color-foreground-1)}.arcgis-feature{flex:1 1 auto}.arcgis-feature calcite-icon{box-sizing:content-box}.arcgis-feature__loading-container{display:flex;justify-content:center;padding:var(--calcite-spacing-md) 0;width:100%}.arcgis-feature__content-element{margin-bottom:var(--calcite-spacing-lg);padding:0 var(--calcite-spacing-sm);display:flex;flex-direction:column}.arcgis-feature__content-element:only-child,.arcgis-feature__content-element:last-child{margin-bottom:var(--calcite-spacing-xxs)}.arcgis-feature__last-edited-info{padding-top:var(--calcite-spacing-xs);font-size:var(--calcite-font-size-sm)}`,f="arcgis-feature",d={base:f,container:`${f}__size-container`,main:`${f}__main-container`,contentElement:`${f}__content-element`,lastEditedInfo:`${f}__last-edited-info`,loadingSpinnerContainer:`${f}__loading-container`},S=T(H),C=class extends x{constructor(){super(...arguments),this.messages=F(),this._rootFlowNode=null,this.flowType="feature",this.internalFlowItems=new Z,this.viewModel=S(this),this.view=this.viewModel.view,this.icon="icon",this.isFeatureFromTable=this.viewModel.isFeatureFromTable,this.graphic=this.viewModel.graphic,this.defaultPopupTemplateEnabled=this.viewModel.defaultPopupTemplateEnabled,this.headingLevel=2,this.spatialReference=this.viewModel.spatialReference,this.timeZone=this.viewModel.timeZone,this.heading=this.viewModel.title,this.map=this.viewModel.map,this.chartAnimationDisabled=this.viewModel.abilities.chartAnimation,this.hideHeading=!1,this.hideContent=!1,this.hideAttachmentsContent=!1,this.hideCustomContent=!1,this.hideExpressionContent=!1,this.hideFieldsContent=!1,this.hideMediaContent=!1,this.showRelationshipContent=!1,this.hideTextContent=!1,this.showUtilityNetworkContent=!1,this.hideLastEditedInfo=!1,this.autoDestroyDisabled=!1,this.location=this.viewModel.location,this.state=this.viewModel.state,this.arcgisPropertyChange=L()("flowItems","state"),this.arcgisReady=I()}static{this.properties={flowType:16,popupTemplate:16,sourceLayer:16,fieldInfoMap:16,values:16,globalValues:16,internalFlowItems:16,viewModel:0,view:0,flowItems:0,referenceElement:1,position:3,icon:1,isFeatureFromTable:4,graphic:0,defaultPopupTemplateEnabled:5,headingLevel:9,spatialReference:0,timeZone:1,heading:0,map:0,chartAnimationDisabled:5,hideHeading:5,hideTitle:5,hideContent:5,hideAttachmentsContent:5,hideContentAttachments:5,hideCustomContent:5,hideExpressionContent:5,hideContentExpression:5,hideFieldsContent:5,hideContentFields:5,hideMediaContent:5,hideContentMedia:5,showRelationshipContent:5,hideTextContent:5,hideContentText:5,showUtilityNetworkContent:5,hideLastEditedInfo:5,hideLastEditInfo:5,autoDestroyDisabled:5,messageOverrides:0,label:1,location:0,state:3}}static{this.styles=z}get popupTemplate(){return R(this.graphic,this.defaultPopupTemplateEnabled)??void 0}get sourceLayer(){return k(this.graphic)}get fieldInfoMap(){return A(V(this.popupTemplate),this.sourceLayer)}get values(){return this.graphic?.attributes??{}}get globalValues(){return this.viewModel.formattedAttributes?.global??{}}get hideTitle(){return this.hideHeading}set hideTitle(e){this.hideHeading=e}get hideContentAttachments(){return this.hideAttachmentsContent}set hideContentAttachments(e){this.hideAttachmentsContent=e}get hideContentExpression(){return this.hideExpressionContent}set hideContentExpression(e){this.hideExpressionContent=e}get hideContentFields(){return this.hideFieldsContent}set hideContentFields(e){this.hideFieldsContent=e}get hideContentMedia(){return this.hideMediaContent}set hideContentMedia(e){this.hideMediaContent=e}get hideContentText(){return this.hideTextContent}set hideContentText(e){this.hideTextContent=e}get hideLastEditInfo(){return this.hideLastEditedInfo}set hideLastEditInfo(e){this.hideLastEditedInfo=e}async destroy(){await this.manager.destroy()}async nextMedia(e){return this.viewModel.nextMedia(e)}async previousMedia(e){return this.viewModel.previousMedia(e)}async setActiveMedia(e,t){return this.viewModel.setActiveMedia(e,t)}async updateGeometry(){return await this.viewModel.updateGeometry()}loaded(){this.manager.onLifecycle(()=>[P(()=>[this.internalFlowItems?.length],()=>this._setFocus())])}_removeFlowItems(){this.internalFlowItems?.removeAll()}_storeRootFlowNode(e){this._rootFlowNode=e}_setFocus(){this._rootFlowNode?.setFocus()}_handleDrillInBackClick(){this.internalFlowItems?.pop()}render(){let{state:e}=this.viewModel,t=o`<div class=${l(d.container)}>${e==="error"?this._renderError():e==="loading"?this._renderLoading():this._renderContentContainer()}</div>`;return o`<div class=${l(d.base)}>${t}</div>`}_renderError(){let{messages:e,hideHeading:t}=this;return o`<calcite-notice icon=exclamation-mark-circle kind=danger open scale=s>${t?null:o`<div slot=title>${e.error}</div>`}<div slot=message>${e.loadingError}</div></calcite-notice>`}_renderLoading(){return o`<div class=${l(d.loadingSpinnerContainer)}><calcite-loader inline label></calcite-loader></div>`}_renderAttachments(e){let{values:t,fieldInfoMap:i,sourceLayer:n,globalValues:a}=this,s=h({values:t,fieldInfoMap:i,globalValues:a,layer:n,text:e.title}),r=h({values:t,fieldInfoMap:i,globalValues:a,layer:n,text:e.description});return o`<arcgis-feature-attachments .headingLevel=${this.headingLevel} .heading=${s} .displayType=${e.displayType} .attachmentKeywords=${e.attachmentKeywords??void 0} .attachmentTypes=${e.attachmentTypes??void 0} .graphic=${this.graphic??void 0} .description=${r} .messages=${this.messages}></arcgis-feature-attachments>`}_renderCustom(e){return o`<arcgis-feature-content .creator=${e.creator} .destroyer=${e.destroyer??void 0} .graphic=${this.graphic??void 0} class=${l(d.contentElement)}></arcgis-feature-content>`}_renderFields(e,t){let i=this.viewModel.formattedAttributes,{values:n,fieldInfoMap:a,sourceLayer:s,popupTemplate:r,globalValues:c,graphic:p}=this,u=!!e?.fieldInfos,m=(e.fieldInfos??r?.fieldInfos??[])?.filter(({fieldName:g})=>!!g&&(N(g)||D(g)||g in n)),v=r?.expressionInfos,$=h({values:n,fieldInfoMap:a,globalValues:c,layer:s,text:e.title}),w=h({values:n,fieldInfoMap:a,globalValues:c,layer:s,text:e.description});return o`<arcgis-feature-fields .headingLevel=${this.headingLevel} .heading=${$} class=${l(d.contentElement)} .messages=${this.messages} .graphic=${p??void 0} .isContentFieldInfos=${u} .layer=${s} .description=${w} .values=${{...i?.global,...i?.content?.[t]}} .fieldInfos=${m} .expressionInfos=${v??void 0}></arcgis-feature-fields>`}_renderMedia(e,t){let{values:i,graphic:n,fieldInfoMap:a,sourceLayer:s,popupTemplate:r,globalValues:c}=this,{formattedAttributes:p,relatedInfos:u}=this.viewModel,m={...p?.global,...p?.content?.[t]},v=h({values:i,fieldInfoMap:a,globalValues:c,layer:s,text:e.title}),$=h({values:i,fieldInfoMap:a,globalValues:c,layer:s,text:e.description});return o`<arcgis-feature-media .activeMediaInfoIndex=${e.activeMediaInfoIndex??0} .chartAnimationDisabled=${this.chartAnimationDisabled} .headingLevel=${this.headingLevel} .heading=${v} class=${l(d.contentElement)} .description=${$} .values=${i} .layer=${s} .graphic=${n??void 0} .messages=${this.messages} .fieldInfoMap=${a} .mediaInfos=${e.mediaInfos??[]} .popupTemplate=${r??void 0} .relatedInfos=${u} .formattedValues=${m}></arcgis-feature-media>`}_renderText(e){let{values:t,fieldInfoMap:i,sourceLayer:n,globalValues:a}=this,s=h({values:t,fieldInfoMap:i,globalValues:a,layer:n,text:e.text});return o`<arcgis-feature-content .creator=${s} .graphic=${this.graphic??void 0} class=${l(d.contentElement)}></arcgis-feature-content>`}_renderExpression(e,t){let i=this.viewModel.formattedAttributes,{fieldInfoMap:n}=this;return o`<arcgis-feature-expression .expressionInfo=${e.expressionInfo} .map=${this.map??void 0} .spatialReference=${this.spatialReference??void 0} .view=${this.viewModel.view??void 0} .graphic=${this.graphic??void 0} .location=${this.location??void 0} .headingLevel=${this.headingLevel} class=${l(d.contentElement)} .interceptor=${this.viewModel.interceptor} .messages=${this.messages} .fieldInfoMap=${n} .values=${{...i?.global,...i?.content?.[t]}}></arcgis-feature-expression>`}_renderRelationship(e,t){let{values:i,graphic:n,fieldInfoMap:a,sourceLayer:s,globalValues:r}=this,{displayCount:c,orderByFields:p,relationshipId:u}=e,{formattedAttributes:m,view:v}=this.viewModel,$={...m?.global,...m?.content?.[t]},w=h({values:i,fieldInfoMap:a,globalValues:r,layer:s,text:e.title}),g=h({values:i,fieldInfoMap:a,globalValues:r,layer:s,text:e.description});return o`<arcgis-feature-relationship class=${l(d.contentElement)} .flowItems=${this.flowItems??this.internalFlowItems} .description=${g} .layer=${s} .map=${this.map??void 0} .displayCount=${c} .graphic=${n??void 0} .heading=${w} .headingLevel=${this.headingLevel} .messages=${this.messages} .orderByFields=${p??void 0} .relationshipId=${u??void 0} .spatialReference=${this.spatialReference??void 0} .timeZone=${this.timeZone??void 0} .values=${$} .view=${v??void 0}></arcgis-feature-relationship>`}_renderAssociation(e){let{fieldInfoMap:t,globalValues:i,graphic:n,messages:a,sourceLayer:s,values:r}=this,c=h({values:r,fieldInfoMap:t,globalValues:i,layer:s,text:e.title}),p=h({values:r,fieldInfoMap:t,globalValues:i,layer:s,text:e.description});return o`<arcgis-feature-utility-network-associations .associationTypes=${e.associationTypes} class=${l(d.contentElement)} .description=${p} .flowItems=${this.flowItems??this.internalFlowItems} .graphic=${n??void 0} .heading=${c} .headingLevel=${this.headingLevel} .layer=${s} .map=${this.map??void 0} .messages=${a} .parentFeatureViewModel=${this.viewModel} .spatialReference=${this.spatialReference??void 0} .timeZone=${this.timeZone??void 0} .view=${this.viewModel.view??void 0}></arcgis-feature-utility-network-associations>`}_renderContentElement(e,t){switch(e.type){case"attachments":return this.hideAttachmentsContent?null:this._renderAttachments(e);case"custom":return this.hideCustomContent?null:this._renderCustom(e);case"fields":return this.hideFieldsContent?null:this._renderFields(e,t);case"media":return this.hideMediaContent?null:this._renderMedia(e,t);case"text":return this.hideTextContent?null:this._renderText(e);case"expression":return this.hideExpressionContent?null:this._renderExpression(e,t);case"relationship":return this.showRelationshipContent?this._renderRelationship(e,t):null;case"utility-network-associations":return this.showUtilityNetworkContent?this._renderAssociation(e):null;default:return null}}_renderContent(){let{content:e,graphic:t}=this.viewModel;return e?Array.isArray(e)&&e.length?e.length?e.map(this._renderContentElement,this):null:typeof e=="string"?o`<arcgis-feature-content .creator=${e} .graphic=${t??void 0} class=${l(d.contentElement)}></arcgis-feature-content>`:e instanceof HTMLElement?e:null:null}_renderContentContainer(){let{hideContent:e,internalFlowItems:t,headingLevel:i,state:n,messages:a}=this;if(e)return null;let s=o`<div class=${l(d.main)}>${[this._renderContent(),this._renderLastEditInfo()]}</div>`,r=a.returnToInitialFeature??"";return this.flowItems?s:o`<calcite-flow ${M(this._storeRootFlowNode)}><calcite-flow-item .loading=${n==="loading"} .headingLevel=${i} .heading=${this.hideHeading?void 0:U(this.heading)} .selected=${!t.length}>${s}</calcite-flow-item>${t.toArray().map((c,p)=>o`<calcite-flow-item @calciteFlowItemBack=${u=>{u.preventDefault(),this._handleDrillInBackClick()}} .loading=${n==="loading"} .headingLevel=${i} .selected=${p===t.length-1}><calcite-action appearance=transparent icon=move-up @click=${this._removeFlowItems} slot=header-actions-start .text=${r} title=${r??_}></calcite-action>${c}</calcite-flow-item>`)}</calcite-flow>`}_renderLastEditInfo(){let{hideLastEditedInfo:e,messages:t}=this,{lastEditInfo:i}=this.viewModel;if(!i||e)return null;let{date:n,user:a}=i,s=i.type==="edit"?a?t.lastEditedByUser:t.lastEdited:a?t.lastCreatedByUser:t.lastCreated,r=B(s??"",{date:n,user:a});return o`<div class=${l(E(d.lastEditedInfo,d.contentElement))}>${r}</div>`}};b("arcgis-feature",C);return C},"widgets/Feature/FeatureViewModel","intl","core/Collection","core/reactiveUtils","applications/Components/stringUtils",a,c,d,e)
|
package/dist/cdn/LEUPDLKZ.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
3
|
-
v5.0.0-next.65 */
|
|
4
|
-
import{a as f}from"./AX2T37U6.js";import a from"./DPCRZFAW.js";import{a as M}from"./IOFNEOYJ.js";import{b as E}from"./Y5OSSEKH.js";import{G as Q,H as j,I as k,J as h,M as R,O as B,a as D,b as o}from"./OLKD773Z.js";import"./JFJVWP3U.js";export default $arcgis.t(([{templateHasKey:H,stripHTML:K},{isRelatableFeatureSupportedLayer:U,findRelatedLayer:X},{substitute:Y,formatNumber:T},{watch:F,on:ee},Z,W,{ignoreAbortErrors:N},te,{h:V}])=>{var re=D`:host{position:relative;flex:1 1 auto}.arcgis-feature-relationship__list{min-height:var(--calcite-spacing-xxxl)}.arcgis-feature-relationship__list-item--hidden{display:none}.arcgis-feature-relationship__feature-observer{position:relative;bottom:var(--calcite-spacing-xxl);z-index:2;text-align:center}.arcgis-feature-relationship__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}`,ie=_=>{let e=[];if(_.formTemplate){let{description:t,title:r}=_.formTemplate;_.fields?.forEach(i=>{let s=r&&H(r,i.name),a=t&&H(t,i.name);(s||a)&&e.push(i.name)})}return e},O=100,se="arcgis-feature",c=`${se}-relationship`,u={base:c,listContainer:`${c}__list`,listItem:`${c}__list-item`,listItemHidden:`${c}__list-item--hidden`,listContainerQuerying:`${c}__list--querying`,featureObserver:`${c}__feature-observer`,stickySpinnerContainer:`${c}__sticky-loading-container`,loadingSpinnerContainer:`${c}__loading-container`},x=class extends k{constructor(){super(...arguments),this._increaseFeaturePage=()=>{let{state:e,showAllEnabled:t,relatedFeatures:r,featuresPerPage:i,featurePage:s}=this;e==="ready"&&t&&r.length>=i*s&&this.featurePage++},this._relatedFeatureIntersectionObserver=new IntersectionObserver(([e])=>{e?.isIntersecting&&this._increaseFeaturePage()},{root:window.document}),this._featurePage=1,this._cancelQuery=()=>{let{_queryAbortController:e}=this;e&&e.abort(),this._queryAbortController=null},this._cancelQueryFeatureCount=()=>{let{_queryFeatureCountAbortController:e}=this;e&&e.abort(),this._queryFeatureCountAbortController=null},this._cancelQueryPage=()=>{let{_queryPageAbortController:e}=this;e&&e.abort(),this._queryPageAbortController=null},this._queryController=async()=>{this._cancelQuery();let e=new AbortController;this._queryAbortController=e,await N(this._query()),this._queryAbortController===e&&(this._queryAbortController=null)},this._queryFeatureCountController=async()=>{this._loaded=!1,this._cancelQueryFeatureCount();let e=new AbortController;this._queryFeatureCountAbortController=e,await N(this._queryFeatureCount()),this._queryFeatureCountAbortController===e&&(this._queryFeatureCountAbortController=null),this._loaded=!0},this._queryPageController=async()=>{let e=new AbortController;this._queryPageAbortController=e,await N(this._queryPage()),this._queryPageAbortController===e&&(this._queryPageAbortController=null)},this._queryDebounced=f(this._queryController,O),this._queryFeatureCountDebounced=f(this._queryFeatureCountController,O),this._queryPageDebounced=f(this._queryPageController,O),this._query=async()=>{let{_queryAbortController:e,relatedFeatures:t}=this;!this.featureCount||this.relatedLayer?.type==="subtype-group"&&!this.activeCategory||(this.relatedFeatureViewModels.destroyAll(),this.featurePage=1,t.destroyAll(),t.addMany(this._sliceFeatures(await this._queryRelatedFeatures({signal:e?.signal}))))},this._addFlowItem=e=>{e&&this.flowItems?.push(e)},this._relatedFeatureIntersectionObserverNode=Q(),this.relatedFeatures=new Z,this._queryAbortController=null,this._queryPageAbortController=null,this._queryFeatureCountAbortController=null,this.featureCount=0,this._loaded=!1,this.relatedFeatureViewModels=new Z,this.autoDestroyDisabled=!1,this.featuresPerPage=10,this.flowType="feature-relationship",this.headingLevel=2,this.hideHeading=!1,this.hideDescription=!1,this.showAllEnabled=!1}static{this.properties={allCategories:16,_queryAbortController:16,_queryPageAbortController:16,_queryFeatureCountAbortController:16,featureCount:16,_loaded:16,canLoad:16,canQuery:16,displayShowAllButton:16,displayListItems:16,categories:16,itemDescriptionFieldName:16,relatedFeatureViewModels:16,state:16,autoDestroyDisabled:5,allItemsDescription:32,featurePage:9,featuresPerPage:9,flowItems:0,flowType:1,headingLevel:9,messages:0,heading:1,description:1,values:0,activeCategory:0,hideHeading:5,hideDescription:5,displayCount:9,graphic:0,layer:0,map:0,view:0,spatialReference:0,timeZone:1,orderByFields:0,relationshipId:9,showAllEnabled:5,label:3}}static{this.styles=re}get orderByFieldsFixedCasing(){let{orderByFields:e,relatedLayer:t}=this;return e&&t?.loaded?e.map(r=>{let i=r.clone();return i.field=V(r.field,t),i}):e??[]}get supportsCacheHint(){return!!this.layer?.capabilities?.queryRelated?.supportsCacheHint}get allCategoriesCount(){return this.allCategories?.length??0}get objectId(){return(this.objectIdField&&this.graphic?.attributes?.[this.objectIdField])??null}get objectIdField(){return this.layer?.objectIdField||null}get relatedLayer(){let{layer:e,map:t,relationship:r}=this;if(!e?.loaded||!t||!r)return null;let i=e.type==="subtype-sublayer"&&e.parent&&U(e.parent)?e.parent:e;return X(t,i,r)??null}get relatedLayerKeyField(){let{relatedLayer:e,relationshipId:t}=this;return e?.loaded&&t!=null?e.relationships?.find(r=>r.id===t)?.keyField:null}get relatedLayerKeyFields(){let{relatedLayer:e}=this;return e?.loaded?e.relationships?.map(t=>t.keyField).filter(t=>t!=null)??[]:[]}get relationship(){let{relationshipId:e,layer:t}=this;return e!=null&&t?.loaded?t.relationships?.find(({id:r})=>r===e)??null:null}get relationshipKey(){let{relationshipKeyField:e}=this;return(e&&this.graphic?.attributes?.[e])??null}get relationshipKeyField(){return this.relationship?.keyField||null}get canLoad(){return!!this.map&&this.relationshipId!=null&&typeof this.objectId=="number"}get canQuery(){let e=this.layer?.capabilities?.queryRelated;return!!this.relatedLayer&&!!this.relationship&&this.relationshipId!=null&&this.objectId!=null&&!!e?.supportsCount&&e?.supportsPagination}get displayShowAllButton(){let{showAllEnabled:e,featureCount:t,displayCount:r,state:i,allCategoriesCount:s}=this,a=!!s&&(s>r||r===0),n=!!t&&(t>r||r===0);return!e&&i==="ready"&&(a||n)}get displayListItems(){let{relatedFeatures:e,allCategoriesCount:t}=this;return this.displayShowAllButton||!!e.length||!!t}get categories(){let{allCategories:e}=this;return this.showAllEnabled?e:e?.slice(0,this.displayCount)??null}get itemDescriptionFieldName(){return this.orderByFieldsFixedCasing[0]?.field||null}get state(){let{_queryAbortController:e,_queryFeatureCountAbortController:t,_queryPageAbortController:r,canQuery:i,_loaded:s,canLoad:a}=this;return t||a&&!s?"loading":e||r?"querying":i?"ready":"disabled"}get allItemsDescription(){let{messages:e,featureCount:t,allCategories:r,allCategoriesCount:i}=this;return Y(e?.numberRecords??"",{number:T(r?i:t)})}get featurePage(){return this._featurePage}set featurePage(e){let{featuresPerPage:t,featureCount:r}=this,i=1,s=Math.ceil(r/t)||1;this._featurePage=Math.min(Math.max(e,i),s)}get heading(){let{activeCategory:e}=this;return this._heading??e?.name}set heading(e){this._heading=e}get displayCount(){return this._displayCount??3}set displayCount(e){this._displayCount=Math.min(Math.max(e??3,0),10)}async destroy(){await this.manager.destroy()}loaded(){this.manager.onLifecycle(()=>[F(()=>[this.displayCount,this.graphic,this.layer,this.layer?.loaded,this.map,this.orderByFields,this.relationshipId,this.featuresPerPage,this.showAllEnabled,this.canQuery,this.featureCount,this.activeCategory],()=>this._queryDebounced(),{initial:!0}),F(()=>[this.featurePage,this.showAllEnabled],()=>this._queryPageDebounced()),F(()=>[this.layer,this.relationshipId,this.objectId,this.canQuery,this.activeCategory],()=>this._queryFeatureCountDebounced(),{initial:!0}),F(()=>[this.state,this.showAllEnabled,this._relatedFeatureIntersectionObserverNode],()=>this._handleRelatedFeatureObserverChange()),ee(()=>this.relatedFeatures,"change",()=>this._setRelatedFeaturesViewModels())]),this.manager.onDestroy(()=>{this.relatedFeatureViewModels.destroyAll(),this.relatedFeatures.destroyAll(),this._cancelQuery(),this._cancelQueryFeatureCount(),this._cancelQueryPage(),this._unobserveRelatedFeatureObserver()})}async _queryFeatureCount(){let{layer:e,relatedLayer:t}=this;await e?.load(),await t?.load();let{_queryFeatureCountAbortController:r,activeCategory:i,canQuery:s,objectId:a,relatedLayerKeyField:n,relationshipId:l,relationshipKey:g,supportsCacheHint:v}=this;if(!s||!e||!t||a==null){this.featureCount=0,this.allCategories=void 0;return}if(t?.type==="subtype-group"&&!i){if(this.featureCount=0,this.relatedFeatureViewModels.destroyAll(),this.featurePage=1,this.relatedFeatures.destroyAll(),n&&g!=null){let{default:$}=await $arcgis.t(m=>m[0],"smartMapping/statistics/uniqueValues"),{uniqueValueInfos:A}=await $({layer:t,sqlWhere:`${n} = '${g}'`,field:t.subtypeField??void 0,signal:r?.signal}),q=A.map(({count:y,value:m})=>{let C=t.subtypes?.find(L=>L.code===m)?.name;return m!=null&&C?{count:y,value:m,name:C}:void 0}).filter(y=>y!=null);this.allCategories=q}return}let{historicMoment:b,gdbVersion:w}=e,I=new W({cacheHint:v,gdbVersion:w,historicMoment:b,relationshipId:l,returnGeometry:!1,objectIds:[a],where:this._getRelationshipWhereClause(t)}),p=await e.queryRelatedFeaturesCount(I,{signal:r?.signal});this.allCategories=void 0,this.featureCount=p[a]||0}_getRelationshipWhereClause(e){let{activeCategory:t}=this,r=e.createQuery(),i="subtypeField"in e?e.subtypeField:void 0,s=t&&i?`${i} = ${t.value}`:void 0,a=r.where;return a&&s?`(${a}) AND (${s})`:a??s}_sliceFeatures(e){let{showAllEnabled:t,displayCount:r}=this;return t?e:r?e.slice(0,r):[]}async _queryPage(){let{relatedFeatures:e,featurePage:t,showAllEnabled:r,_queryPageAbortController:i,featureCount:s}=this;!r||t<2||!s||this.relatedLayer?.type==="subtype-group"&&!this.activeCategory||e.addMany(await this._queryRelatedFeatures({signal:i?.signal}))}async _queryRelatedFeatures(e){let{displayCount:t,featureCount:r,featurePage:i,featuresPerPage:s,layer:a,orderByFieldsFixedCasing:n,relatedLayer:l,relatedLayerKeyFields:g,relationshipId:v,showAllEnabled:b,supportsCacheHint:w}=this,{canQuery:I,objectId:p}=this;if(!I||!a||!l||p==null)return[];let $=b?((i-1)*s+r)%r:0,A=b?s:t,q=l.objectIdField,y="subtypeField"in l?l.subtypeField:void 0,m=[...n.map(d=>d.field),...ie(l),...g,q,y].filter(d=>d!=null),C=n.map(d=>`${d.field} ${d.order}`),{historicMoment:L,gdbVersion:z}=a,G=new W({orderByFields:C,start:$,num:A,outFields:m,cacheHint:w,historicMoment:L,gdbVersion:z,relationshipId:v,returnGeometry:!1,objectIds:[p],where:this._getRelationshipWhereClause(l)}),P=(await a.queryRelatedFeatures(G,{signal:e?.signal}))[p]?.features||[];return l.type==="subtype-group"&&y?P.forEach(d=>{let J=d.attributes[y],S=l.findSublayerForSubtypeCode?.(J);d.sourceLayer=S,d.layer=S}):P.forEach(d=>{d.sourceLayer=l,d.layer=l}),P}_selectCategory(e){let{flowItems:t}=this;t&&this._addRelationshipFlowItem({showAllEnabled:!0,activeCategory:e})}_selectRecord(e){let{flowItems:t}=this;t&&this._addFlowItem(R(M(e,o`<arcgis-feature .flowItems=${t} .flowType=${this.flowType} .graphic=${e.graphic} .map=${this.map} show-relationship-content .spatialReference=${this.spatialReference} .timeZone=${this.timeZone} .view=${this.view}></arcgis-feature>`)))}_addRelationshipFlowItem({showAllEnabled:e=!1,activeCategory:t}){this._addFlowItem(R(M(t,o`<arcgis-feature-relationship .messages=${this.messages} .activeCategory=${t} .displayCount=${this.displayCount} .flowItems=${this.flowItems} .flowType=${this.flowType} .graphic=${this.graphic} .heading=${this.heading} hide-description .showAllEnabled=${e} hide-heading .layer=${this.layer} .map=${this.map} .orderByFields=${this.orderByFields} .relationshipId=${this.relationshipId} .spatialReference=${this.spatialReference} .values=${this.values} .view=${this.view}></arcgis-feature-relationship>`)))}_showAllRecords(){let{flowItems:e}=this;e&&this._addRelationshipFlowItem({showAllEnabled:!0})}_handleRelatedFeatureObserverChange(){this._unobserveRelatedFeatureObserver();let{state:e,showAllEnabled:t}=this;this._relatedFeatureIntersectionObserverNode.value&&e==="ready"&&t&&this._relatedFeatureIntersectionObserver.observe(this._relatedFeatureIntersectionObserverNode.value)}_unobserveRelatedFeatureObserver(){this._relatedFeatureIntersectionObserverNode.value&&this._relatedFeatureIntersectionObserver.unobserve(this._relatedFeatureIntersectionObserverNode.value)}_matchesFeature(e,t){let r=e?.graphic?.getObjectId(),i=t?.getObjectId();return r!=null&&i!=null&&r===i}_setRelatedFeaturesViewModels(){let{relatedFeatures:e,relatedFeatureViewModels:t,map:r,view:i,spatialReference:s,timeZone:a}=this;e?.filter(Boolean).forEach(n=>{t.some(l=>this._matchesFeature(l,n))||t.add(new te({abilities:{relationshipContent:!1},map:r,view:i,spatialReference:s,timeZone:a,graphic:n}))}),t.forEach(n=>{e?.find(l=>this._matchesFeature(n,l))||t.remove(n)})}render(){let{state:e}=this;return o`<div class=${h(u.base)}><arcgis-feature-element-info .heading=${this.heading} .headingLevel=${this.headingLevel} .description=${this.description}></arcgis-feature-element-info>${e==="loading"?this._renderLoading():e==="disabled"?this._renderRelationshipNotFound():this._renderRelatedFeatures()}</div>`}_renderStickyLoading(){return this.state==="querying"?o`<div class=${h(u.stickySpinnerContainer)}>${this._renderLoadingIcon()}</div>`:null}_renderLoadingIcon(){return o`<calcite-loader inline label></calcite-loader>`}_renderLoading(){return o`<div class=${h(u.loadingSpinnerContainer)}>${this._renderLoadingIcon()}</div>`}_renderShowAllIconNode(){return o`<calcite-icon icon=list scale=s slot=content-end></calcite-icon>`}_renderChevronIconNode(){return o`<calcite-icon flip-rtl icon=chevron-right scale=s slot=content-end></calcite-icon>`}_renderCategory(e){let{count:t,name:r}=e,i=T(t);return o`<calcite-list-item class=${h(u.listItem)} .disabled=${!t} .label=${r} @calciteListItemSelect=${()=>this._selectCategory(e)}><calcite-chip .label=${i} scale=s slot=content-end>${i}</calcite-chip>${this._renderChevronIconNode()}</calcite-list-item>`}_renderRelatedFeature(e){let{itemDescriptionFieldName:t,values:r}=this,{formattedAttributes:i,state:s,title:a}=e,n={...i?.global,...r},l=(t&&n?.[t])??"",g=s==="loading";return o`<calcite-list-item class=${h(E(u.listItem,{[u.listItemHidden]:g}))} .description=${K(l.toString())} .label=${K(a)} @calciteListItemSelect=${()=>this._selectRecord(e)}>${this._renderChevronIconNode()}</calcite-list-item>`}_renderShowAllListItem(){return this.displayShowAllButton?o`<calcite-list-item .description=${this.allItemsDescription} .label=${this.messages?.showAll} @calciteListItemSelect=${()=>this._showAllRecords()}>${this._renderShowAllIconNode()}</calcite-list-item>`:null}_renderNoRelatedFeaturesMessage(){return o`<calcite-notice icon=information kind=brand open scale=s width=full><div slot=message>${this.messages?.noRelatedFeatures}</div></calcite-notice>`}_renderFeatureObserver(){return o`<div class=${h(u.featureObserver)} ${j(this._relatedFeatureIntersectionObserverNode)}></div>`}_renderList(){let{relatedFeatureViewModels:e,categories:t}=this;return o`<calcite-list display-mode=flat .label=${this.messages?.relatedFeaturesList??""}>${t?.map(r=>this._renderCategory(r))??e.toArray().map(r=>this._renderRelatedFeature(r))}${this._renderShowAllListItem()}</calcite-list>`}_renderRelatedFeatures(){let{displayListItems:e}=this,{state:t}=this;return o`<div class=${h(E(u.listContainer,{[u.listContainerQuerying]:t==="querying"}))}>${e?this._renderList():t==="ready"?this._renderNoRelatedFeaturesMessage():null}${this._renderStickyLoading()}${this._renderFeatureObserver()}</div>`}_renderRelationshipNotFound(){return o`<calcite-notice icon=exclamation-mark-triangle kind=danger open scale=s width=full><div slot=message>${this.messages?.relationshipNotFound}</div></calcite-notice>`}};B("arcgis-feature-relationship",x);return x},"applications/Components/stringUtils","applications/Components/featureUtils","intl","core/reactiveUtils","core/Collection","rest/support/RelationshipQuery","core/promiseUtils","widgets/Feature/FeatureViewModel",a)
|
package/dist/cdn/NP6VAK5C.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
3
|
-
v5.0.0-next.65 */
|
|
4
|
-
import{a as h}from"./IXXU3CSS.js";import{a as b}from"./IHKT5L2N.js";import{g as y}from"./XDFS4H76.js";import"./6LRKZVG3.js";import"./Y5OSSEKH.js";import{I as k,J as u,O as m,a as w,b as r,s as d}from"./OLKD773Z.js";import"./JFJVWP3U.js";export default $arcgis.t(([{queryAllJSON:$},s,C,L,v,U,g,E])=>{var M=w`:host{width:100%}.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{padding-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-md)}.arcgis-utility-network-trace-inputs .inline-loader{--calcite-loader-spacing: var(--calcite-spacing-md)}.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}.arcgis-utility-network-trace-inputs .subnetwork-info-block{padding-top:var(--calcite-spacing-md);padding-left:var(--calcite-spacing-md);padding-right:var(--calcite-spacing-md)}`,f="arcgis-utility-network-trace-inputs",_={base:f,addSpatialMode:`${f}__add-spatial-mode`},c="map-components:utility-network-trace-inputs",T=`utility-network-trace-inputs-sketch-${Date.now()}`,l=`utility-network-trace-inputs-flags-${Date.now()}`,p=class extends k{constructor(){super(...arguments),this._messages=b({blocking:!0}),this._startingPoints=new s,this._barriers=new s,this._stoppingPoints=new s,this._subnetworkTraceTypes=new Set(["subnetwork","subnetwork-controller","upstream","downstream","isolation"]),this._removeDuplicateSubnetworkNames=(e,t,i)=>t===0||e.getAttribute("SUBNETWORKNAME")!==i[t-1].getAttribute("SUBNETWORKNAME"),this.compatibleSubnetworkNames=[],this.traceConfigurations=[],this._state="ready",this.mode="default",this.arcgisTraceInputsChange=d(),this.arcgisUtilityNetworkChange=d(),this.arcgisPropertyChange=y()("mode")}static{this.properties={compatibleSubnetworkNames:16,selectedSubnetworkName:16,subnetworksTable:16,traceConfigurations:16,utilityNetworks:16,_unTraceConfiguration:16,_state:16,_activeTraceLocationType:16,view:0,selectedUtilityNetwork:0,selectedNamedTraceConfiguration:0,unTraceConfiguration:32,referenceElement:1,mode:1,traceLocations:32}}static{this.styles=M}get _allLayers(){let{view:e}=this;return e?.map?e.map.allLayers.toArray().concat(e.map.allTables.toArray()):[]}get selectedSubnetworkName(){return this._unTraceConfiguration?.subnetworkName??void 0}set selectedSubnetworkName(e){this._unTraceConfiguration&&(this._unTraceConfiguration.subnetworkName=e)}get unTraceConfiguration(){return this._unTraceConfiguration}get traceLocations(){let e=[],t=i=>{i.flagProperties.terminalConfiguration&&i.flagProperties.selectedTerminals?i.flagProperties.selectedTerminals.forEach(a=>{e.push(new v({type:i.traceLocation.type,isFilterBarrier:i.traceLocation.isFilterBarrier,globalId:i.traceLocation.globalId,percentAlong:i.traceLocation.percentAlong,terminalId:a}))}):e.push(i.traceLocation)};return this._startingPoints.forEach(i=>t(i)),this._barriers.forEach(i=>t(i)),this._stoppingPoints.forEach(i=>t(i)),e}load(){this._setupUtilityNetwork(),this._setupSketchViewModel()}willUpdate(e){let{utilityNetworks:t,selectedUtilityNetwork:i}=this;(e.has("utilityNetworks")||!t||t.length===0||!i||!t?.includes(i))&&this._handleUtilityNetworksChange(),e.has("selectedUtilityNetwork")&&(this.arcgisUtilityNetworkChange.emit(),this._handleSelectedUtilityNetworkChange()),e.has("selectedNamedTraceConfiguration")&&(this.arcgisTraceInputsChange.emit(),this._handleTraceConfigChange()),e.has("selectedSubnetworkName")&&this.arcgisTraceInputsChange.emit()}_clearTraceLocations(){this._getGraphicLayer(l)?.removeAll(),this._startingPoints.removeAll(),this._barriers.removeAll(),this._stoppingPoints.removeAll()}_addUniqueLayer(e,t){if(!t||!e?.map)return;let{map:i}=e;i.layers.find(a=>a===t)||i.add(t),i.reorder(t,i.layers.length-1)}_createGraphicLayer(e){let{map:t}=this.view;if(!t?.findLayerById(e)){let i=new C({id:e,listMode:"hide",title:e});this._addUniqueLayer(this.view,i)}}_getGraphicLayer(e){let{map:t}=this.view;if(t){let i=t.findLayerById(e);if(i&&i.type==="graphics")return t.reorder(i,t.layers.length-1),i}return null}_setSnappingOption(){let{_sketchViewModel:e,_unLayers:t}=this;if(e&&t&&t.length>0){let i=new s;t.forEach(a=>{a.type==="subtype-group"?a.sublayers.forEach(o=>{i.add(new g({layer:o,enabled:!0}))}):i.add(new g({layer:a,enabled:!0}))}),e.snappingOptions={enabled:!0,featureEnabled:!0,featureSources:i}}}_initializeSketchViewModel(){let{view:e,_unLayers:t}=this,i=this._getGraphicLayer(T),a=new s;return t?.forEach(o=>a.add(new g({layer:o,enabled:!0}))),new E({layer:i,view:e})}_setupSketchViewModel(){this._createGraphicLayer(T),this._createGraphicLayer(l),this._sketchViewModel=this._initializeSketchViewModel()}_clearSubnetworks(){this.selectedSubnetworkName=void 0,this.subnetworksTable=void 0,this.compatibleSubnetworkNames=[]}async _loadSubnetworksTable(){this.subnetworksTable||(this.subnetworksTable=await this.selectedUtilityNetwork?.loadSubnetworksTable())}async _querySubnetworks(){let{subnetworksTable:e}=this;if(!e)return;let t=e.createQuery();t.gdbVersion=this.selectedUtilityNetwork?.gdbVersion,t.where=this._getSubnetworkQueryWhereClause(),t.outFields=["SUBNETWORKNAME"],t.orderByFields=["SUBNETWORKNAME"];let i=U.fromJSON(await $(e,t));this.compatibleSubnetworkNames=i.features.filter(this._removeDuplicateSubnetworkNames).map(a=>a.getAttribute("SUBNETWORKNAME"))}_getSubnetworkQueryWhereClause(){let e=this._unTraceConfiguration,t=`DOMAINNETWORKNAME = '${e.domainNetworkName}'`,i=`TIERNAME = '${e.tierName}'`;return[t,i].join(" AND ")}async _handleSubnetworkTraceConfigChange(e){await this._loadSubnetworksTable(),await this._querySubnetworks();let{compatibleSubnetworkNames:t}=this;e.subnetworkName&&!t.some(i=>i===e.subnetworkName)&&(this.selectedSubnetworkName=t.at(0))}_selectTraceConfigurationByGuid(e){let t=this.selectedUtilityNetwork?.sharedNamedTraceConfigurations.find(i=>i.globalId===e);if(!t){console.error(`${c} - Trace configuration not found`);return}this.selectedNamedTraceConfiguration=t}_handleTraceConfigChange(){let{selectedNamedTraceConfiguration:e}=this;if(!(e?.traceConfiguration instanceof L)){console.error(`${c} - Trace configuration not found`),this._unTraceConfiguration=void 0;return}switch(this._unTraceConfiguration=e.traceConfiguration.clone(),e.traceType){case"subnetwork":this._state="loading",this._handleSubnetworkTraceConfigChange(this._unTraceConfiguration).finally(()=>this._state="ready");break;default:console.error(`${c} - Unknown trace configuration type`)}}async _handleSelectedUtilityNetworkChange(){await this.selectedUtilityNetwork?.load(),this._clearSubnetworks(),this._setupTraceConfigurations(),this._filterUnLayers(),this._clearTraceLocations()}_setupTraceConfigurations(){this._unTraceConfiguration=void 0,this.traceConfigurations=this.selectedUtilityNetwork?.sharedNamedTraceConfigurations.filter(e=>e.traceType!=="path"&&e.traceType!=="circuit")||[],this.selectedNamedTraceConfiguration=this.traceConfigurations.at(0)}_filterUnLayers(){let{selectedUtilityNetwork:e}=this;this._unLayers=new s(this._allLayers.filter(t=>e?.isUtilityLayer(t))),this._setSnappingOption()}_handleUtilityNetworksChange(){let{utilityNetworks:e}=this;if(!e||e.length===0){this._state="error",console.error(`${c} - No utility networks found in the map`);return}(!this.selectedUtilityNetwork||!e.includes(this.selectedUtilityNetwork))&&(this.selectedUtilityNetwork=e.at(0))}async _setupUtilityNetwork(){if(this.view?.map){let e=this.view.map;await e.load(),this.utilityNetworks=e.utilityNetworks||void 0}else this._state="disabled",console.error(`${c} - No view or map available to load utility networks`)}_handleTraceLocationSelectStart(e){this._activeTraceLocationType=e?.target?.traceLocationType,this.mode="add-spatial"}_handleTraceLocationSelectEnd(){this._activeTraceLocationType=void 0,this.mode="default"}_handleFlowItemBack(){this.mode="default",this._activeTraceLocationType=void 0,this._sketchViewModel?.cancel()}renderError(e,t=!1,i){return r`<calcite-notice .closable=${t} kind=danger open scale=s width=auto .icon=${i}><div slot=message>${e}</div></calcite-notice>`}renderLoader(){return r`<calcite-loader label=loading></calcite-loader>`}renderTraceSelection(){let{_messages:e,traceConfigurations:t}=this,i=e.labels.traceConfiguration;if(t.length===0)return this.renderError(e.errors.noTraceConfigurationError,!0);let a=h(t,o=>o.globalId,o=>r`<calcite-option .value=${o.globalId}>${o.title}</calcite-option>`);return r`<calcite-block .heading=${i} .label=${i} expanded><calcite-select .label=${i} .value=${this.selectedNamedTraceConfiguration?.globalId||void 0} @calciteSelectChange=${o=>{this._selectTraceConfigurationByGuid(o.target.value)}}>${a}</calcite-select></calcite-block>`}renderUtilityNetworkSelection(){let{_messages:e}=this,t=e.labels.utilityNetwork,i=h(this.utilityNetworks,a=>a.id,a=>r`<calcite-option .value=${a.id}>${a.title}</calcite-option>`).toArray();return r`<calcite-block .heading=${t} .label=${t} expanded><calcite-select .label=${t} .value=${this.selectedUtilityNetwork?.id} @calciteSelectChange=${a=>{this.selectedUtilityNetwork?.id!==a.target.value&&(this.selectedUtilityNetwork=this.utilityNetworks?.find(o=>o.id===a.target.value))}}>${i}</calcite-select></calcite-block>`}renderDefaultMode(){let{_messages:e,_state:t,mode:i}=this;return r`<calcite-flow-item .selected=${i==="default"}>${t==="disabled"?this.renderError(e.errors.noMapError):this.renderContent()}</calcite-flow-item>`}renderAddSpatialMode(){let{_messages:e,_activeTraceLocationType:t}=this,i=t==="starting-point"?e.labels.addSpatial.startingPoint:t==="barrier"?e.labels.addSpatial.barrier:e.labels.addSpatial.stoppingPoint;return r`<calcite-flow-item selected .heading=${i} @calciteFlowItemBack=${()=>this._handleFlowItemBack()}><div class=${u(_.addSpatialMode)}><calcite-icon icon=pin-plus scale=l></calcite-icon>${e.instructions.addSpatial}</div></calcite-flow-item>`}renderStartingPointSelection(){return r`<arcgis-utility-network-trace-location .view=${this.view} trace-location-type=starting-point @arcgisTraceLocationSelectStart=${e=>this._handleTraceLocationSelectStart(e)} @arcgisTraceLocationSelectEnd=${()=>this._handleTraceLocationSelectEnd()} @arcgisTraceLocationChange=${()=>this.arcgisTraceInputsChange.emit()} .sketchViewModel=${this._sketchViewModel} .utilityNetwork=${this.selectedUtilityNetwork} .filterLayers=${this._unLayers} .flagLayer=${this._getGraphicLayer(l)} .traceLocations=${this._startingPoints}></arcgis-utility-network-trace-location>`}renderStoppingPointSelection(){return r`<arcgis-utility-network-trace-location .view=${this.view} trace-location-type=stopping-point @arcgisTraceLocationSelectStart=${e=>this._handleTraceLocationSelectStart(e)} @arcgisTraceLocationSelectEnd=${()=>this._handleTraceLocationSelectEnd()} @arcgisTraceLocationChange=${()=>this.arcgisTraceInputsChange.emit()} .sketchViewModel=${this._sketchViewModel} .utilityNetwork=${this.selectedUtilityNetwork} .filterLayers=${this._unLayers} .flagLayer=${this._getGraphicLayer(l)} .traceLocations=${this._stoppingPoints}></arcgis-utility-network-trace-location>`}renderBarrierSelection(){return r`<arcgis-utility-network-trace-location .view=${this.view} trace-location-type=barrier @arcgisTraceLocationSelectStart=${e=>this._handleTraceLocationSelectStart(e)} @arcgisTraceLocationSelectEnd=${()=>this._handleTraceLocationSelectEnd()} @arcgisTraceLocationChange=${()=>this.arcgisTraceInputsChange.emit()} .sketchViewModel=${this._sketchViewModel} .utilityNetwork=${this.selectedUtilityNetwork} .filterLayers=${this._unLayers} .flagLayer=${this._getGraphicLayer(l)} .traceLocations=${this._barriers}></arcgis-utility-network-trace-location>`}renderSubnetworkSelectList(){let{compatibleSubnetworkNames:e,selectedSubnetworkName:t,_messages:i}=this,a=i.labels.subnetworkName,o=e.map(n=>r`<calcite-option .value=${n}>${n}</calcite-option>`);return r`<calcite-block .heading=${a} .label=${a} expanded><calcite-select .label=${a} .value=${t} @calciteSelectChange=${n=>this.selectedSubnetworkName=n.target.value}>${o}</calcite-select></calcite-block>`}renderSubnetworkSelection(){let{compatibleSubnetworkNames:e,_messages:t,selectedNamedTraceConfiguration:i,_unTraceConfiguration:a}=this;return i?.traceType==="subnetwork"&&a?.subnetworkName?this._state==="loading"?r`<calcite-loader class="inline-loader" label=loading scale=s></calcite-loader>`:e.length?this.renderSubnetworkSelectList():this.renderError(t.errors.noCompatibleSubnetworks,!1,"exclamation-mark-triangle"):null}renderSubnetworkInfo(){let{_messages:e,selectedNamedTraceConfiguration:t,_unTraceConfiguration:i}=this;return i&&t?.traceType&&this._subnetworkTraceTypes.has(t.traceType)?r`<calcite-block class="subnetwork-info-block" expanded .label=${e.labels.subnetworkInfo}><arcgis-utility-network-subnetwork-info .namedTraceConfig=${t}></arcgis-utility-network-subnetwork-info></calcite-block>`:null}renderContent(){let{_messages:e,utilityNetworks:t,_unTraceConfiguration:i}=this;if(!t||t.length===0)return this.renderError(e.errors.noUtilityNetworkError);let a=r`${this.renderTraceSelection()}${this.renderSubnetworkInfo()}${this.renderSubnetworkSelection()}`,o=this.selectedNamedTraceConfiguration?.traceType,n=!(i?.subnetworkName&&o==="subnetwork"),S=o==="path"||o==="circuit",N=r`${n?this.renderStartingPointSelection():null}${S?this.renderStoppingPointSelection():null}${this.renderBarrierSelection()}`;return r`<calcite-block-group .label=${e.labels.traceInputs}>${t.length>1?this.renderUtilityNetworkSelection():null}${this.selectedUtilityNetwork?.loaded?a:this.renderLoader()}${i?N:null}</calcite-block-group>`}render(){let{mode:e}=this;return r`<div class=${u(_.base)}><calcite-flow>${this.renderDefaultMode()}${e==="add-spatial"?this.renderAddSpatialMode():null}</calcite-flow></div>`}};m("arcgis-utility-network-trace-inputs",p);return p},"applications/Components/featureUtils","core/Collection","layers/GraphicsLayer","networks/support/UNTraceConfiguration","rest/networks/support/TraceLocation","rest/support/FeatureSet","views/interactive/snapping/FeatureSnappingLayerSource","widgets/Sketch/SketchViewModel")
|
package/dist/cdn/RQDXBXI3.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
3
|
-
v5.0.0-next.65 */
|
|
4
|
-
import{a as _}from"./IHKT5L2N.js";import"./XDFS4H76.js";import"./6LRKZVG3.js";import"./Y5OSSEKH.js";import{I as m,O as p,a as d,b as u,s as h}from"./OLKD773Z.js";import"./JFJVWP3U.js";export default $arcgis.t(([{queryAllJSON:g},L])=>{var w=d`:host{min-height:300px}`,o="map-components:arcgis-utility-network-result-feature-list",y=class extends m{constructor(){super(...arguments),this._messages=_({blocking:!0}),this._layerIdToFeatures=new Map,this._layerIdToLayer=new Map,this._subtypeCodeToFeatures=new Map,this._sourceIdToElements=new Map,this._unLayers=[],this._compareByLayerTitle=([,e],[,r])=>{let s=e[0].feature.layer,t=r[0].feature.layer,a=s?.title??"",l=t?.title??"";return a.localeCompare(l,void 0,{numeric:!0})},this._queryFeaturesOnLayer=async([e,r])=>{let s=this.utilityNetwork?.getLayerIdBySourceId(e),t=this._getLayerByLayerId(s);if(s==null||!t)return;let a=t.createQuery();a.gdbVersion=this.utilityNetwork?.gdbVersion,a.objectIds=r.map(i=>i.objectId),a.outFields=["*"];let{features:l}=L.fromJSON(await g(t,a)),c=await Promise.all(l.map(async i=>{i.layer=t.type==="subtype-group"?t.findSublayerForFeature(i):t;let n=i.layer;if(n&&"getFeatureTitle"in n){let f=await n.getFeatureTitle(i)||this._getFeatureTitle(i);return{feature:i,label:f}}return{feature:i,label:this._getFeatureTitle(i)}}));t.type==="subtype-group"?c.forEach(i=>this._addOrCreateMapValue(this._subtypeCodeToFeatures,i.feature.layer.subtypeCode,i)):this._layerIdToFeatures.set(s,c)},this._featuresFromSelectedLayer=[],this.elements=[],this.layers=[],this.state="ready",this.arcgisSelectedLayerChange=h(),this._renderLayerListItem=([,e])=>{let{_messages:r}=this;if(!e.length)return null;let s=e[0].feature.layer,t=s?.title||r.unknown;return u`<calcite-list-item .label=${t} @calciteListItemSelect=${()=>this._setSelectedLayerAndFeatures(s)}><calcite-chip .label=${r.labels.numberOfElements} slot=content-end>${e.length}</calcite-chip><calcite-icon icon=chevron-right slot=content-end></calcite-icon></calcite-list-item>`}}static{this.properties={_featuresFromSelectedLayer:16,elements:0,featuresFromSelectedLayer:32,layers:0,messageOverrides:0,selectedLayer:0,state:1,utilityNetwork:0}}static{this.styles=w}get featuresFromSelectedLayer(){return this._featuresFromSelectedLayer}load(){this._setSourceIdToElements(),this._loadDependencies().then(()=>this._queryTraceResultsFeatures()).finally(()=>this.state="ready")}willUpdate(e){e.has("selectedLayer")&&this.arcgisSelectedLayerChange.emit(),(e.has("layers")||e.has("utilityNetwork"))&&this._loadDependencies()}loaded(){this.elements.length===0&&console.warn(`${o} was rendered without any elements set for the \`elements\` property.`),this.utilityNetwork||console.warn(`${o} was rendered without the required \`utilityNetwork\` property.`),this.layers.length===0&&console.warn(`${o} was rendered without any layers set for the \`layers\` property.`)}_addOrCreateMapValue(e,r,s){let t=e.get(r);t==null?e.set(r,[s]):t.push(s)}_getFeatureTitle(e){let r=e.attributes,s=e.layer;if(!r||!s)return"";let t="displayField"in s?s.displayField:null,a=t!=null?r[t]:null,l=e.getObjectId()?.toString();return a?.toString()||l||this._messages.unknown}_getLayerByLayerId(e){if(e==null)return;let{_layerIdToLayer:r,_unLayers:s}=this;if(r.get(e))return r.get(e);let t=s.find(a=>"layerId"in a&&a.layerId===e);return t&&r.set(e,t),t}async _loadDependencies(){let{layers:e,utilityNetwork:r}=this;if(!r)return;r.loaded||(this.state="loading",await r.load()),this._unLayers=e.filter(t=>r.isUtilityLayer(t));let s=this._unLayers.filter(t=>!t.loaded).map(t=>t.load());s.length>0&&(this.state="loading",await Promise.allSettled(s))}_setSelectedLayerAndFeatures(e){if(!e)this._featuresFromSelectedLayer=[];else if(e.type==="subtype-sublayer"){let{subtypeCode:r}=e;this._featuresFromSelectedLayer=this._subtypeCodeToFeatures.get(r)??[]}else{let{layerId:r}=e;this._featuresFromSelectedLayer=this._layerIdToFeatures.get(r)??[]}this.selectedLayer=e}_setSourceIdToElements(){this.elements.forEach(e=>this._addOrCreateMapValue(this._sourceIdToElements,e.networkSourceId,e))}async _queryTraceResultsFeatures(){let e=Array.from(this._sourceIdToElements.entries());e.length>0&&(this.state="loading");let r=e.map(this._queryFeaturesOnLayer);(await Promise.allSettled(r)).forEach((s,t)=>{if(s.status==="rejected"){let[a]=e[t];console.error(`${o}: Failed to query features for source ${a}:`,s.reason)}})}render(){if(this.utilityNetwork)return this._renderLayerList()}_renderLayerList(){let{_messages:e}=this,r=Array.from(this._layerIdToFeatures.entries()),s=Array.from(this._subtypeCodeToFeatures.entries()),t=r.concat(s).sort(this._compareByLayerTitle).map(this._renderLayerListItem);return u`<calcite-list .label=${e.labels.traceResultElementsByLayer} .loading=${this.state==="loading"}>${t}</calcite-list>`}};p("arcgis-utility-network-result-feature-list",y);return y},"applications/Components/featureUtils","rest/support/FeatureSet")
|
package/dist/cdn/SZQVEVWP.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
3
|
-
v5.0.0-next.65 */
|
|
4
|
-
import{a as n}from"./IHKT5L2N.js";import b from"./3HKFIINT.js";import"./XDFS4H76.js";import"./6LRKZVG3.js";import"./5QBG5EOQ.js";import"./Y5OSSEKH.js";import{I as r,L as a,O as o,a as t,b as e,s as i}from"./OLKD773Z.js";import"./JFJVWP3U.js";export default $arcgis.t(([{a:m}])=>{var h=t`:host{width:100%;height:100%}`,s=class extends r{constructor(){super(...arguments),this._messages=n(),this.view=m(this),this.arcgisReady=i()}static{this.properties={view:0}}static{this.styles=h}render(){return e`<div aria-label=${this._messages.componentLabel??a}>Presentation ${this.view?.type}</div>`}};o("arcgis-presentation",s);return s},b)
|
package/dist/cdn/VQ2TCARY.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
3
|
-
v5.0.0-next.65 */
|
|
4
|
-
import a from"./GCOTAHXV.js";import"./IOFNEOYJ.js";import"./OLKD773Z.js";import"./JFJVWP3U.js";export default $arcgis.t(([a])=>{return a},a)
|
package/dist/cdn/XXZ5OIOO.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
3
|
-
v5.0.0-next.65 */
|
|
4
|
-
import{a as g}from"./IHKT5L2N.js";import"./XDFS4H76.js";import"./6LRKZVG3.js";import"./Y5OSSEKH.js";import{G as l,H as a,I as u,O as h,a as o,b as t,s as d}from"./OLKD773Z.js";import"./JFJVWP3U.js";var m=o`:host{max-height:calc(100vh - 150px);min-height:300px}#results-list,#features-list{min-height:300px}arcgis-features{max-height:480px}.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)}`,c=class extends u{constructor(){super(...arguments),this._featuresComponentRef=l(),this._resultFeatureListRef=l(),this._featuresFromSelectedLayer=[],this._messages=g({blocking:!0}),this.isElementsSelected=!1,this.layers=[],this.arcgisSelectedResultTypeChange=d(),this._renderFeatureListItem=e=>{let{feature:s,label:i}=e;return t`<calcite-list-item .label=${i} @calciteListItemSelect=${()=>this._selectedFeature=s}><calcite-icon icon=chevron-right slot=content-end></calcite-icon></calcite-list-item>`},this._renderElementsListItem=e=>{let{_messages:s}=this,{elements:i}=e;return t`<calcite-list-item .label=${s.headings.features} @calciteListItemSelect=${()=>this.isElementsSelected=!0}><calcite-chip .label=${s.labels.numFeatures} scale=s slot=content-end>${i.length}</calcite-chip><calcite-icon icon=chevron-right slot=content-end></calcite-icon></calcite-list-item>`}}static{this.properties={_selectedFeature:16,_selectedLayer:16,isElementsSelected:5,layers:0,messageOverrides:0,traceConfigTitle:1,traceResult:0,utilityNetwork:0,view:0}}static{this.styles=m}willUpdate(e){e.has("isElementsSelected")&&this.arcgisSelectedResultTypeChange.emit(),e.has("traceResult")&&(this.isElementsSelected=!1)}render(){let{_messages:e,traceResult:s}=this;if(s){if(!s.elements?.length&&!s.globalFunctionResults?.length)return t`<div>${this._renderTraceResultsHeading()}${this._renderNoResultsLanding()}</div>`}else return t`<div>${this._renderTraceResultsHeading()}${this._renderNoTraceLanding()}</div>`;let{elements:i,globalFunctionResults:r}=s,n=i&&i.length>0&&(!r||r.length===0);return this._selectedFeature?t`<arcgis-features .features=${[this._selectedFeature]} .view=${this.view} visible @arcgisClose=${()=>this._selectedFeature=void 0} ${a(this._featuresComponentRef)}></arcgis-features>`:t`<calcite-flow>${n?null:t`<calcite-flow-item .selected=${!this.isElementsSelected} .loading=${this._resultFeatureListRef.value?.state==="loading"}>${this._renderTraceResultsHeading()}<calcite-list id=results-list .label=${e.headings.traceResultsGeneric}>${this._renderElementsListItem(s)}</calcite-list></calcite-flow-item>`}<calcite-flow-item .heading=${e.headings.features} .description=${e.headings.totalFeatures.replace("{number}",i.length.toString())} .selected=${(n||this.isElementsSelected)&&!this._selectedLayer} .loading=${this._resultFeatureListRef.value?.state==="loading"} @calciteFlowItemBack=${()=>this.isElementsSelected=!1}><arcgis-utility-network-result-feature-list .elements=${i} .layers=${this.layers} .utilityNetwork=${this.utilityNetwork} @arcgisSelectedLayerChange=${()=>{this._featuresFromSelectedLayer=this._resultFeatureListRef.value?.featuresFromSelectedLayer??[],this._selectedLayer=this._resultFeatureListRef.value?.selectedLayer}} ${a(this._resultFeatureListRef)}></arcgis-utility-network-result-feature-list></calcite-flow-item><calcite-flow-item .heading=${this._selectedLayer?.title??void 0} .description=${e.headings.totalFeatures.replace("{number}",this._featuresFromSelectedLayer.length.toString())} .selected=${!!this._selectedLayer} .loading=${this._resultFeatureListRef.value?.state==="loading"} @calciteFlowItemBack=${()=>this._selectedLayer=void 0}><calcite-list id=features-list .label=${e.headings.traceResultsGeneric}>${this._featuresFromSelectedLayer.map(this._renderFeatureListItem)}</calcite-list></calcite-flow-item></calcite-flow>`}_renderTraceResultsHeading(){return t`<div class="results-heading"><div class="results-heading-title">${this._messages.headings.traceResultsGeneric}</div>${this.traceConfigTitle?t`<div class="results-heading-subtitle">${this.traceConfigTitle}</div>`:null}</div>`}_renderNoResultsLanding(){return t`<div class="no-results-landing"><calcite-icon icon=exclamation-mark-triangle scale=l></calcite-icon><div class="no-results-heading">${this._messages.noResultsHeading}</div><div class="no-results-description">${this._messages.noResultsDescription}</div></div>`}_renderNoTraceLanding(){return t`<div class="no-results-landing"><calcite-icon icon=utility-network-trace scale=l></calcite-icon><div class="no-results-heading">${this._messages.noTraceConfigHeading}</div><div class="no-results-description">${this._messages.noTraceConfigDescription}</div></div>`}};h("arcgis-utility-network-trace-results",c);export{c as ArcgisUtilityNetworkTraceResults};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"labels":{"numberOfElements":"بيت_Number of elements___________________لاحقة","traceResultElementsByLayer":"بيت_Trace result elements by layer_______________________________لاحقة"},"unknown":"بيت_Unknown_______________لاحقة"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"labels":{"numberOfElements":"й_Number of elements___________________й","traceResultElementsByLayer":"й_Trace result elements by layer_______________________________й"},"unknown":"й_Unknown_______________й"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"labels":{"numberOfElements":"Č_Number of elements___________________ž","traceResultElementsByLayer":"Č_Trace result elements by layer_______________________________ž"},"unknown":"Č_Unknown_______________ž"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"labels":{"numberOfElements":"ó_Number of elements___________________à","traceResultElementsByLayer":"ó_Trace result elements by layer_______________________________à"},"unknown":"ó_Unknown_______________à"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"labels":{"numberOfElements":"Ř_Number of elements___________________ů","traceResultElementsByLayer":"Ř_Trace result elements by layer_______________________________ů"},"unknown":"Ř_Unknown_______________ů"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"labels":{"numberOfElements":"ø_Number of elements___________________å","traceResultElementsByLayer":"ø_Trace result elements by layer_______________________________å"},"unknown":"ø_Unknown_______________å"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"labels":{"numberOfElements":"ä_Number of elements___________________Ü","traceResultElementsByLayer":"ä_Trace result elements by layer_______________________________Ü"},"unknown":"ä_Unknown_______________Ü"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"labels":{"numberOfElements":"π_Number of elements___________________Ω","traceResultElementsByLayer":"π_Trace result elements by layer_______________________________Ω"},"unknown":"π_Unknown_______________Ω"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"labels":{"numberOfElements":"Number of elements","traceResultElementsByLayer":"Trace result elements by layer"},"unknown":"Unknown"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"labels":{"numberOfElements":"á_Number of elements___________________Ó","traceResultElementsByLayer":"á_Trace result elements by layer_______________________________Ó"},"unknown":"á_Unknown_______________Ó"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"labels":{"numberOfElements":"Š_Number of elements___________________ä","traceResultElementsByLayer":"Š_Trace result elements by layer_______________________________ä"},"unknown":"Š_Unknown_______________ä"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"labels":{"numberOfElements":"Å_Number of elements___________________ö","traceResultElementsByLayer":"Å_Trace result elements by layer_______________________________ö"},"unknown":"Å_Unknown_______________ö"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"labels":{"numberOfElements":"æ_Number of elements___________________Â","traceResultElementsByLayer":"æ_Trace result elements by layer_______________________________Â"},"unknown":"æ_Unknown_______________Â"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"labels":{"numberOfElements":"כן_Number of elements___________________ש","traceResultElementsByLayer":"כן_Trace result elements by layer_______________________________ש"},"unknown":"כן_Unknown_______________ש"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"labels":{"numberOfElements":"Č_Number of elements___________________ž","traceResultElementsByLayer":"Č_Trace result elements by layer_______________________________ž"},"unknown":"Č_Unknown_______________ž"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"labels":{"numberOfElements":"í_Number of elements___________________ő","traceResultElementsByLayer":"í_Trace result elements by layer_______________________________ő"},"unknown":"í_Unknown_______________ő"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"labels":{"numberOfElements":"ng_Number of elements___________________ny","traceResultElementsByLayer":"ng_Trace result elements by layer_______________________________ny"},"unknown":"ng_Unknown_______________ny"}
|