@arcgis/map-components 5.2.0-next.121 → 5.2.0-next.123
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/{XJGJMS7L.js → 2CE24IDF.js} +1 -1
- package/dist/cdn/{K3J3WDMO.js → 2FR4GN2W.js} +1 -1
- package/dist/cdn/{QLJEWRH3.js → 2N2VGYUB.js} +1 -1
- package/dist/cdn/{Q6LQ5BUX.js → 34E7N7GU.js} +1 -1
- package/dist/cdn/{WC2DVIUW.js → 3E36QFXG.js} +2 -2
- package/dist/cdn/3FRV7BIJ.js +2 -0
- package/dist/cdn/{GLOUXFQV.js → 3IPZE7AH.js} +1 -1
- package/dist/cdn/{H5FV4C72.js → 3KIT2HLC.js} +1 -1
- package/dist/cdn/{3KTHEK76.js → 3T274BES.js} +1 -1
- package/dist/cdn/{Z4FIADPO.js → 3TR7QOHP.js} +1 -1
- package/dist/cdn/{OTPKIKAJ.js → 3XZSI7I3.js} +1 -1
- package/dist/cdn/464EB67Q.js +2 -0
- package/dist/cdn/{I2IBXGQM.js → 5AV2IOLR.js} +1 -1
- package/dist/cdn/{JMWMN4DG.js → 5SLLYIWJ.js} +1 -1
- package/dist/cdn/{TH6TT77M.js → 5XQHTWAB.js} +1 -1
- package/dist/cdn/{XCARHZUP.js → 5YJQOF7B.js} +1 -1
- package/dist/cdn/{BAV6JF4F.js → 5Z4QFELH.js} +1 -1
- package/dist/cdn/5ZRBWOVW.js +2 -0
- package/dist/cdn/{7QH5PIWM.js → 6EQW3YHG.js} +1 -1
- package/dist/cdn/{6ZKGF6SQ.js → 6HN7AAG3.js} +1 -1
- package/dist/cdn/6LL2ILG2.js +2 -0
- package/dist/cdn/{FTTOI66H.js → 6UGAJNGV.js} +1 -1
- package/dist/cdn/{KRSOL3FL.js → 7K2PSLD3.js} +1 -1
- package/dist/cdn/{ALEBI75Z.js → AXFCL6D2.js} +1 -1
- package/dist/cdn/{FR7ARNMJ.js → B4QA6HTE.js} +1 -1
- package/dist/cdn/CCFGYVBQ.js +2 -0
- package/dist/cdn/{GYCEMWMN.js → CNXCJR63.js} +1 -1
- package/dist/cdn/{LM6RYRCS.js → CNYKQYK2.js} +1 -1
- package/dist/cdn/{UNUMT2DZ.js → D36LYGSR.js} +1 -1
- package/dist/cdn/{B67VAZX4.js → DJSH4JQR.js} +1 -1
- package/dist/cdn/{CPBFA25A.js → DLFRE6XN.js} +1 -1
- package/dist/cdn/{F6BRM6HX.js → DLW55IF2.js} +1 -1
- package/dist/cdn/{JD562WMM.js → EDMWGUZ2.js} +1 -1
- package/dist/cdn/{KKDWRLQ4.js → ESUJ7IS2.js} +1 -1
- package/dist/cdn/{FAFDJABP.js → EWPICNWR.js} +1 -1
- package/dist/cdn/{KIHX5LRN.js → EZFBF4SK.js} +1 -1
- package/dist/cdn/{GPIHHNP7.js → F46CTQWP.js} +1 -1
- package/dist/cdn/FDTUX3BC.js +2 -0
- package/dist/cdn/{QIEX43LK.js → FVI77DR5.js} +1 -1
- package/dist/cdn/{DAPKG4DY.js → G3KYGRHM.js} +1 -1
- package/dist/cdn/{Y3Y3AB5L.js → G4HKU5PR.js} +1 -1
- package/dist/cdn/{TVZZB4KV.js → G6ZEXGBJ.js} +1 -1
- package/dist/cdn/{56PUZWIU.js → G75EAA46.js} +1 -1
- package/dist/cdn/{Y5Q3Q4GW.js → GIOUZTHM.js} +1 -1
- package/dist/cdn/{4DWURRQB.js → GLH5GJZC.js} +1 -1
- package/dist/cdn/{3VBI4PPT.js → H3CCHIXN.js} +1 -1
- package/dist/cdn/{ACIG6774.js → HH5GEJCC.js} +1 -1
- package/dist/cdn/{MXA65YBP.js → HTQSLNPO.js} +1 -1
- package/dist/cdn/I7PSZ2EP.js +2 -0
- package/dist/cdn/ISK7BEJR.js +2 -0
- package/dist/cdn/{VFSWB7LJ.js → IWOKTFPQ.js} +1 -1
- package/dist/cdn/{OPLR5W7O.js → JSYLRK26.js} +1 -1
- package/dist/cdn/{WJ3JWM5S.js → JZITIN62.js} +1 -1
- package/dist/cdn/{5FBX5V2M.js → KHHVCV55.js} +1 -1
- package/dist/cdn/{LBJMKYT2.js → KM2GXXBO.js} +1 -1
- package/dist/cdn/{46ZZWK6X.js → KY3ND2AY.js} +1 -1
- package/dist/cdn/KYWVUIH5.js +2 -0
- package/dist/cdn/{7KWX2CED.js → LAY2RKKS.js} +1 -1
- package/dist/cdn/{TCYOOMSU.js → LCB5NFAN.js} +1 -1
- package/dist/cdn/{DOR5MVML.js → LTTYKRLO.js} +1 -1
- package/dist/cdn/{QNHJY7QE.js → M3EXGLNJ.js} +1 -1
- package/dist/cdn/{KQ3E54MW.js → M4JE53PK.js} +1 -1
- package/dist/cdn/MPYSRYIP.js +2 -0
- package/dist/cdn/{LP2PF2VT.js → NGCMS3XY.js} +1 -1
- package/dist/cdn/{6VR7MKOM.js → NVAZ2KQI.js} +1 -1
- package/dist/cdn/{KFE2444H.js → OQKO2TQ6.js} +1 -1
- package/dist/cdn/{VSJ3MYSY.js → P2YZCB7M.js} +1 -1
- package/dist/cdn/{6XJFRQ75.js → P7GH36VO.js} +1 -1
- package/dist/cdn/{BB66E2IZ.js → PCB2C5PV.js} +1 -1
- package/dist/cdn/{3EYHGXI5.js → PLTLRYBF.js} +1 -1
- package/dist/cdn/PR6OAZWA.js +2 -0
- package/dist/cdn/{LWW6FUI2.js → PT5PXWSP.js} +1 -1
- package/dist/cdn/{UNP7N3DO.js → PUYZDQHZ.js} +1 -1
- package/dist/cdn/{WLVBYYQ7.js → PYIO65MV.js} +1 -1
- package/dist/cdn/{JB46R4PC.js → Q2DV5IF7.js} +1 -1
- package/dist/cdn/{JOOXDIS7.js → Q4AJYCNY.js} +1 -1
- package/dist/cdn/{GG3LRZHU.js → QARN2LHH.js} +1 -1
- package/dist/cdn/{HH4T6PVP.js → QMQV37ML.js} +1 -1
- package/dist/cdn/{24SNB22W.js → QMSOVSAE.js} +1 -1
- package/dist/cdn/QXVHT3RD.js +5 -0
- package/dist/cdn/{EUV2XFUO.js → R73HRX3M.js} +1 -1
- package/dist/cdn/{UXUG6DBJ.js → R7E5VLXC.js} +1 -1
- package/dist/cdn/{7VLIHMQS.js → ROP6JGKX.js} +1 -1
- package/dist/cdn/{4YDQKGDY.js → RPVAC6LC.js} +1 -1
- package/dist/cdn/{5IQQ6P2J.js → RU7PGLLB.js} +1 -1
- package/dist/cdn/RVFDK6O7.js +2 -0
- package/dist/cdn/{4W6PAHFY.js → S62FQUEJ.js} +1 -1
- package/dist/cdn/S7T2NPCW.js +2 -0
- package/dist/cdn/{ILBDNJQP.js → SJOO6JRD.js} +1 -1
- package/dist/cdn/{NK74ZCP7.js → SXQRPAPL.js} +1 -1
- package/dist/cdn/{HGCKG3CA.js → SXRL4VDZ.js} +1 -1
- package/dist/cdn/{AA5T4ECA.js → T7IZYFCL.js} +1 -1
- package/dist/cdn/{MU54WQG6.js → TILA2OKK.js} +1 -1
- package/dist/cdn/{5E2DZJWK.js → TM2C2UJ2.js} +1 -1
- package/dist/cdn/TMJX7DFH.js +2 -0
- package/dist/cdn/{BFVEHL3M.js → TOM7OOAW.js} +1 -1
- package/dist/cdn/{UA5FRNJG.js → TSVBA2RT.js} +1 -1
- package/dist/cdn/{W5B2F2LI.js → TTF3OFS7.js} +1 -1
- package/dist/cdn/TZHXSIXK.js +2 -0
- package/dist/cdn/{XGZ36AOT.js → U65VFGZD.js} +1 -1
- package/dist/cdn/{V7BQUMJL.js → U7XNKUUX.js} +1 -1
- package/dist/cdn/UELKEVHS.js +2 -0
- package/dist/cdn/US6PRR7S.js +2 -0
- package/dist/cdn/{2JMMBI2U.js → UUZB2BTT.js} +1 -1
- package/dist/cdn/{JZKIH22R.js → UVVQOKEQ.js} +1 -1
- package/dist/cdn/{VHQAII6W.js → VHXR7S7C.js} +1 -1
- package/dist/cdn/VSH4WLRS.js +2 -0
- package/dist/cdn/{LGLKLXNY.js → W4KEAKF6.js} +1 -1
- package/dist/cdn/{QSZJFQJC.js → W7STZRDX.js} +1 -1
- package/dist/cdn/{IZ7UWAQP.js → WSQEOUFE.js} +1 -1
- package/dist/cdn/{W5YXSHEP.js → WVSZE7NB.js} +1 -1
- package/dist/cdn/{MFBQRTJ3.js → XHGWAHOF.js} +1 -1
- package/dist/cdn/XTYPZLPL.js +2 -0
- package/dist/cdn/{ESISPXFF.js → Y462FZAE.js} +1 -1
- package/dist/cdn/{EGFWED7R.js → YAUITFVH.js} +1 -1
- package/dist/cdn/{SR3XJAI3.js → YCK3FBCL.js} +1 -1
- package/dist/cdn/{55AZTWOF.js → YHN67JH4.js} +1 -1
- package/dist/cdn/{TOBWMRET.js → YHZFK4FD.js} +1 -1
- package/dist/cdn/{TB3M7LUD.js → YR2AO44W.js} +1 -1
- package/dist/cdn/{XP4IZ2KQ.js → YRZRKOE3.js} +1 -1
- package/dist/cdn/{MJK57OXC.js → YTNVFW4X.js} +1 -1
- package/dist/cdn/{BTQUD5J4.js → YYSME7RS.js} +1 -1
- package/dist/cdn/{5LLUEI66.js → ZHKAXGX4.js} +1 -1
- package/dist/cdn/ZUAZUUTW.js +2 -0
- package/dist/cdn/{NZSCPBS7.js → ZZ465HDX.js} +1 -1
- package/dist/cdn/{2DZOKMWP.js → ZZJWG3GK.js} +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.ar.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.bg.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.ca.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.cs.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.da.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.el.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.es.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.fi.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.fr.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.hr.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.hu.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.id.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.it.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.ko.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.lt.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.lv.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.nl.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.no.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.pl.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.pt-BR.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.pt-PT.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.ro.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.ru.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.sk.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.sl.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.sr.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.sv.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.th.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.tr.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.uk.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.vi.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.zh-CN.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.zh-TW.json +1 -1
- package/dist/cdn/assets/selection-list/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/selection-toolbar/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/utility-network-trace-results/t9n/messages.en.json +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/chunks/layer-utils.js +48 -44
- package/dist/chunks/slots.js +1 -1
- package/dist/components/arcgis-expand/customElement.d.ts +9 -0
- package/dist/components/arcgis-expand/customElement.js +27 -27
- package/dist/components/arcgis-exploratory-analysis/customElement.js +46 -46
- package/dist/components/arcgis-feature-form-utility-network-association-list/customElement.js +1 -1
- package/dist/components/arcgis-feature-templates/customElement.js +1 -1
- package/dist/components/arcgis-fullscreen/customElement.js +9 -10
- package/dist/components/arcgis-legend-card-element/customElement.js +26 -26
- package/dist/components/arcgis-link-chart/customElement.d.ts +9 -0
- package/dist/components/arcgis-link-chart/customElement.js +11 -11
- package/dist/components/arcgis-map/customElement.d.ts +9 -0
- package/dist/components/arcgis-map/customElement.js +2 -2
- package/dist/components/arcgis-paste/customElement.js +1 -1
- package/dist/components/arcgis-scale-bar/customElement.js +8 -8
- package/dist/components/arcgis-scene/customElement.d.ts +9 -0
- package/dist/components/arcgis-scene/customElement.js +6 -6
- package/dist/components/arcgis-selection-list/customElement.d.ts +33 -12
- package/dist/components/arcgis-selection-list/customElement.js +79 -63
- package/dist/components/arcgis-selection-toolbar/customElement.d.ts +42 -2
- package/dist/components/arcgis-selection-toolbar/customElement.js +60 -37
- package/dist/components/arcgis-utility-network-trace-aggregated-geometry-result-item/customElement.d.ts +18 -3
- package/dist/components/arcgis-utility-network-trace-aggregated-geometry-result-item/customElement.js +63 -53
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.d.ts +11 -3
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +107 -53
- package/dist/components/arcgis-utility-network-trace-analysis/index.js +1 -0
- package/dist/components/arcgis-utility-network-trace-analysis/types.d.ts +5 -1
- package/dist/components/arcgis-utility-network-trace-elements-result-item/customElement.d.ts +19 -11
- package/dist/components/arcgis-utility-network-trace-elements-result-item/customElement.js +124 -110
- package/dist/components/arcgis-utility-network-trace-functions-result-item/customElement.d.ts +29 -0
- package/dist/components/arcgis-utility-network-trace-functions-result-item/customElement.js +31 -17
- package/dist/components/arcgis-utility-network-trace-locations/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace-results/customElement.d.ts +63 -14
- package/dist/components/arcgis-utility-network-trace-results/customElement.js +245 -55
- package/dist/components/arcgis-utility-network-trace-results/index.js +1 -2
- package/dist/components/arcgis-utility-network-trace-results-pane/customElement.js +7 -7
- package/dist/components/arcgis-utility-network-validate-network-topology/customElement.js +1 -1
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/index.d.ts +6 -0
- package/dist/loader.js +10 -10
- package/dist/types/lumina.d.ts +14 -9
- package/dist/types/preact.d.ts +14 -9
- package/dist/types/react.d.ts +14 -9
- package/dist/types/stencil.d.ts +14 -9
- package/package.json +7 -7
- package/dist/cdn/4FADGEJD.js +0 -2
- package/dist/cdn/4FBTH6YD.js +0 -2
- package/dist/cdn/4SLCQ6RS.js +0 -2
- package/dist/cdn/A2FK4TED.js +0 -2
- package/dist/cdn/BOEHQXPR.js +0 -2
- package/dist/cdn/C2HB2U6P.js +0 -2
- package/dist/cdn/CRWARUC7.js +0 -2
- package/dist/cdn/GC4D3K6B.js +0 -2
- package/dist/cdn/GJZCVU6G.js +0 -5
- package/dist/cdn/GYTTYWIC.js +0 -2
- package/dist/cdn/JGHPNDIO.js +0 -2
- package/dist/cdn/JRFQGFRL.js +0 -2
- package/dist/cdn/MRC7R44N.js +0 -2
- package/dist/cdn/MT6BTCFR.js +0 -2
- package/dist/cdn/OYD6YL32.js +0 -2
- package/dist/cdn/QD7ELNLS.js +0 -2
- package/dist/cdn/RVJTWRVG.js +0 -2
- package/dist/cdn/TBSKBHHL.js +0 -2
- package/dist/cdn/TIDNGXMD.js +0 -2
- package/dist/cdn/Z44GSKHZ.js +0 -2
- package/dist/cdn/ZB6W452H.js +0 -2
- /package/dist/cdn/{ZU6D3YMF.js → 27MP6TEF.js} +0 -0
- /package/dist/cdn/{3XRSSDOC.js → 3JCF73F4.js} +0 -0
- /package/dist/cdn/{RLTZHJ26.js → 3XEPXV4Q.js} +0 -0
- /package/dist/cdn/{IMINWWQN.js → 43IOCYG5.js} +0 -0
- /package/dist/cdn/{HMZDI4HQ.js → 45JO7F4Y.js} +0 -0
- /package/dist/cdn/{232VF5GS.js → 4W35GLNO.js} +0 -0
- /package/dist/cdn/{7HQJTIYO.js → 5CER2N5T.js} +0 -0
- /package/dist/cdn/{33AEAI5T.js → 5M56ZA46.js} +0 -0
- /package/dist/cdn/{W6X34YBZ.js → 6NWR2Z4F.js} +0 -0
- /package/dist/cdn/{KMODOE6H.js → 7FVXPOAG.js} +0 -0
- /package/dist/cdn/{2PRRRGTC.js → AYJQLWX4.js} +0 -0
- /package/dist/cdn/{HJP2DQC3.js → AZ73DBU3.js} +0 -0
- /package/dist/cdn/{CQW2542N.js → B4CANXID.js} +0 -0
- /package/dist/cdn/{HLHFT3VN.js → BEFZSVBT.js} +0 -0
- /package/dist/cdn/{55Q2U4HS.js → BIWQEPK4.js} +0 -0
- /package/dist/cdn/{N5NLF7RI.js → BLYJE76S.js} +0 -0
- /package/dist/cdn/{2Q7J34UP.js → CESFJ6AD.js} +0 -0
- /package/dist/cdn/{5ZZ7JN5X.js → COKGOKO2.js} +0 -0
- /package/dist/cdn/{7Y65HW7Z.js → D3LYSFXK.js} +0 -0
- /package/dist/cdn/{FZATLDJD.js → EAM45WZP.js} +0 -0
- /package/dist/cdn/{6VBFCBUV.js → EDTGV4YF.js} +0 -0
- /package/dist/cdn/{62XRQDSI.js → FMBY3L4S.js} +0 -0
- /package/dist/cdn/{TKC3X6S6.js → GQ6SYNZS.js} +0 -0
- /package/dist/cdn/{YUZAZ3CJ.js → H4FH2RBM.js} +0 -0
- /package/dist/cdn/{P3MLJ7YL.js → I5ZESLWO.js} +0 -0
- /package/dist/cdn/{MM6LPGBW.js → KO7RD6SS.js} +0 -0
- /package/dist/cdn/{2LEEKX4J.js → LQ76PRWK.js} +0 -0
- /package/dist/cdn/{CTHAODQE.js → MUWOF7W4.js} +0 -0
- /package/dist/cdn/{G5DB24SO.js → OCLOCCB6.js} +0 -0
- /package/dist/cdn/{2UG26OVP.js → OJXNUBIA.js} +0 -0
- /package/dist/cdn/{ANRJPTRX.js → OUXE3CSQ.js} +0 -0
- /package/dist/cdn/{AKKV6RKF.js → PXAY7IM4.js} +0 -0
- /package/dist/cdn/{4PMOT2RS.js → QMYL4UM7.js} +0 -0
- /package/dist/cdn/{UCFBAQVW.js → QPFX5XH3.js} +0 -0
- /package/dist/cdn/{EGN54PEX.js → RFSBZHJD.js} +0 -0
- /package/dist/cdn/{4TZLBS5N.js → RYYBMDGS.js} +0 -0
- /package/dist/cdn/{CDGKQKVU.js → T2DT5I33.js} +0 -0
- /package/dist/cdn/{EJ5KLAEE.js → UINNR6FV.js} +0 -0
- /package/dist/cdn/{KWL3F4UP.js → UPZVIKOH.js} +0 -0
- /package/dist/cdn/{KXCLNNE5.js → VCRVQMYT.js} +0 -0
- /package/dist/cdn/{COSLSZXO.js → VWN2LORT.js} +0 -0
- /package/dist/cdn/{3NKJ4HFO.js → XAMLHDWZ.js} +0 -0
- /package/dist/cdn/{N43ZQ4C7.js → ZWN6DXNO.js} +0 -0
package/dist/components/arcgis-utility-network-trace-elements-result-item/customElement.d.ts
CHANGED
|
@@ -8,6 +8,7 @@ import type { ActionEvent } from "@arcgis/core/widgets/Popup/types.js";
|
|
|
8
8
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
9
9
|
import type { ArcgisFeaturesNext } from "../arcgis-features-next/customElement.js";
|
|
10
10
|
import type { ArcgisReferenceElement } from "../types.js";
|
|
11
|
+
import type { UtilityNetworkTraceResultItemState } from "../arcgis-utility-network-trace-analysis/types.js";
|
|
11
12
|
import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
12
13
|
|
|
13
14
|
/**
|
|
@@ -63,7 +64,14 @@ export abstract class ArcgisUtilityNetworkTraceElementsResultItem extends LitEle
|
|
|
63
64
|
*
|
|
64
65
|
* @default false
|
|
65
66
|
*/
|
|
66
|
-
accessor
|
|
67
|
+
accessor disableHighlight: boolean;
|
|
68
|
+
/**
|
|
69
|
+
* Whether the component emits event [@arcgisResultReady](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-trace-elements-result-item/#event-arcgisResultReady).
|
|
70
|
+
* This property is always `true` for [arcgis-utility-network-trace-elements-result-item](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-trace-elements-result-item/).
|
|
71
|
+
*
|
|
72
|
+
* @default false
|
|
73
|
+
*/
|
|
74
|
+
get emitsArcgisResultReady(): true;
|
|
67
75
|
/** The features corresponding to the trace result elements. */
|
|
68
76
|
get features(): Graphic[];
|
|
69
77
|
/** The heading of the result item. */
|
|
@@ -115,10 +123,10 @@ export abstract class ArcgisUtilityNetworkTraceElementsResultItem extends LitEle
|
|
|
115
123
|
*/
|
|
116
124
|
get isFeaturesListShown(): boolean;
|
|
117
125
|
/**
|
|
118
|
-
* The
|
|
126
|
+
* The utility network layers used to query trace result features.
|
|
119
127
|
*
|
|
120
|
-
*
|
|
121
|
-
*
|
|
128
|
+
* If none are provided, the component uses all layers in the map belonging to
|
|
129
|
+
* the specified [utilityNetwork](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-trace-elements-result-item/#utilityNetwork).
|
|
122
130
|
*/
|
|
123
131
|
accessor layers: Layer[];
|
|
124
132
|
/**
|
|
@@ -153,9 +161,9 @@ export abstract class ArcgisUtilityNetworkTraceElementsResultItem extends LitEle
|
|
|
153
161
|
/**
|
|
154
162
|
* Whether the component has finished querying trace result features.
|
|
155
163
|
*
|
|
156
|
-
* @default "
|
|
164
|
+
* @default "ready"
|
|
157
165
|
*/
|
|
158
|
-
|
|
166
|
+
get state(): UtilityNetworkTraceResultItemState;
|
|
159
167
|
/**
|
|
160
168
|
* The trace result containing the element results to render features for.
|
|
161
169
|
*
|
|
@@ -173,7 +181,10 @@ export abstract class ArcgisUtilityNetworkTraceElementsResultItem extends LitEle
|
|
|
173
181
|
* > **Note:** The recommended approach is to fully migrate applications to use map and scene components and avoid using MapView and SceneView directly. However, if you are migrating a large application from widgets to components, you might prefer a more gradual transition. To support this use case, the SDK includes this `view` property which connects a component to a MapView or SceneView. Ultimately, once migration is complete, the arcgis-utility-network-trace-elements-result-item component will be associated with a map or scene component rather than using the `view` property.
|
|
174
182
|
*/
|
|
175
183
|
accessor view: MapView | undefined;
|
|
176
|
-
/**
|
|
184
|
+
/**
|
|
185
|
+
* Cancels any feature queries in progress, removes feature highlights from the map,
|
|
186
|
+
* and clears [features](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-trace-elements-result-item/#features).
|
|
187
|
+
*/
|
|
177
188
|
clearResult(): void;
|
|
178
189
|
/** Permanently destroy the component. */
|
|
179
190
|
destroy(): Promise<void>;
|
|
@@ -187,7 +198,4 @@ export abstract class ArcgisUtilityNetworkTraceElementsResultItem extends LitEle
|
|
|
187
198
|
arcgisResultReady: ArcgisUtilityNetworkTraceElementsResultItem["arcgisResultReady"]["detail"];
|
|
188
199
|
arcgisTriggerAction: ArcgisUtilityNetworkTraceElementsResultItem["arcgisTriggerAction"]["detail"];
|
|
189
200
|
};
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
/** @internal */
|
|
193
|
-
export type State = "loading" | "ready";
|
|
201
|
+
}
|
|
@@ -1,175 +1,189 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import { c as
|
|
3
|
-
import { ref as
|
|
4
|
-
import { getOrCreateMapValue as
|
|
5
|
-
import { LitElement as
|
|
6
|
-
import { usePropertyChange as
|
|
7
|
-
import { log as
|
|
8
|
-
import { css as
|
|
9
|
-
import { u as
|
|
10
|
-
import { l as I } from "../../chunks/async-utils.js";
|
|
11
|
-
import { q as S,
|
|
12
|
-
const
|
|
13
|
-
class
|
|
2
|
+
import { c as R } from "../../chunks/runtime.js";
|
|
3
|
+
import { ref as b } from "lit/directives/ref.js";
|
|
4
|
+
import { getOrCreateMapValue as E } from "@arcgis/core/applications/Components/featureUtils.js";
|
|
5
|
+
import { LitElement as L, createEvent as m } from "@arcgis/lumina";
|
|
6
|
+
import { usePropertyChange as T, bypassReadOnly as h } from "@arcgis/lumina/controllers";
|
|
7
|
+
import { log as d, composeMissingPropertyMessage as g } from "@arcgis/toolkit/log";
|
|
8
|
+
import { css as v, html as y } from "lit";
|
|
9
|
+
import { u as A } from "../../chunks/useT9n.js";
|
|
10
|
+
import { i as p, l as w, t as u, c as I } from "../../chunks/async-utils.js";
|
|
11
|
+
import { c as $, q as S, d as F, e as P } from "../../chunks/layer-utils.js";
|
|
12
|
+
const D = v`arcgis-features-next{height:100%}.elements-list-item{border:solid 1px var(--calcite-color-border-3);border-radius:var(--calcite-corner-radius-sm)}.features-hidden{color:var(--calcite-color-text-3);font-size:var(--calcite-font-size);overflow-wrap:anywhere}`;
|
|
13
|
+
class k extends L {
|
|
14
14
|
constructor() {
|
|
15
|
-
super(...arguments), this._messages =
|
|
15
|
+
super(...arguments), this._messages = A({ blocking: !0 }), this.#n = !0, this.#s = [], this.#i = [], this.#r = /* @__PURE__ */ new Map(), this.#a = /* @__PURE__ */ new Map(), this.#l = /* @__PURE__ */ new Map(), this.#o = /* @__PURE__ */ new Map(), this.#e = [], this._isFeaturesSelected = !1, this.autoDestroyDisabled = !1, this.disableHighlight = !1, this.emitsArcgisResultReady = !0, this.features = [], this.hideActionBar = !1, this.hideFeatureResults = !1, this.hidePlaceholder = !1, this.includeDefaultActionsDisabled = !1, this.layers = [], this.state = "ready", this.arcgisPropertyChange = T()("isFeaturesListShown", "selectedResultFeature", "state"), this.arcgisTriggerAction = m(), this.arcgisResultReady = m();
|
|
16
16
|
}
|
|
17
17
|
static {
|
|
18
|
-
this.properties = { _featuresComponentElement: 16, _isFeaturesSelected: 16, actions: 0, autoDestroyDisabled: 5,
|
|
18
|
+
this.properties = { _featuresComponentElement: 16, _isFeaturesSelected: 16, actions: 0, autoDestroyDisabled: 5, disableHighlight: 5, emitsArcgisResultReady: 32, features: 32, heading: 1, hideActionBar: 5, hideFeatureResults: 5, hidePlaceholder: 5, includeDefaultActionsDisabled: 5, isFeaturesListShown: 32, layers: 0, messageOverrides: 0, numResults: 32, referenceElement: 1, selectedResultFeature: 32, state: 32, traceResult: 0, utilityNetwork: 0, view: 0 };
|
|
19
19
|
}
|
|
20
20
|
static {
|
|
21
|
-
this.styles =
|
|
21
|
+
this.styles = D;
|
|
22
22
|
}
|
|
23
|
-
#
|
|
24
|
-
#
|
|
25
|
-
get #
|
|
23
|
+
#n;
|
|
24
|
+
#s;
|
|
25
|
+
get #h() {
|
|
26
26
|
if (!this.traceResult)
|
|
27
27
|
return !1;
|
|
28
|
-
const { elements: e, globalFunctionResults: t, aggregatedGeometry:
|
|
29
|
-
return e.length > 0 && !t.length && !
|
|
28
|
+
const { elements: e, globalFunctionResults: t, aggregatedGeometry: s } = this.traceResult;
|
|
29
|
+
return e.length > 0 && !t.length && !s;
|
|
30
30
|
}
|
|
31
|
-
#t;
|
|
32
|
-
#s;
|
|
33
|
-
#n;
|
|
34
31
|
#i;
|
|
35
32
|
#r;
|
|
36
33
|
#a;
|
|
34
|
+
#t;
|
|
35
|
+
#l;
|
|
36
|
+
#o;
|
|
37
|
+
#e;
|
|
37
38
|
get isFeaturesListShown() {
|
|
38
|
-
return (this._isFeaturesSelected || this.#
|
|
39
|
+
return (this._isFeaturesSelected || this.#h) && !this.hideFeatureResults;
|
|
39
40
|
}
|
|
40
41
|
get numResults() {
|
|
41
|
-
return this.features.length + this.#
|
|
42
|
+
return this.features.length + this.#s.length;
|
|
42
43
|
}
|
|
43
44
|
get selectedResultFeature() {
|
|
44
45
|
return this._featuresComponentElement?.selectedDrillInFeature ?? this._featuresComponentElement?.selectedFeature ?? void 0;
|
|
45
46
|
}
|
|
46
47
|
clearResult() {
|
|
47
|
-
this.
|
|
48
|
+
this._isFeaturesSelected = !1, this.#t?.abort(), this.#c(), h(() => this.features = []), this.#e = [], this.#s = [], this.#r.clear(), this.#a.clear(), this.#l.clear(), this.#o.clear(), h(() => this.state = "ready");
|
|
48
49
|
}
|
|
49
50
|
async destroy() {
|
|
50
|
-
this.clearResult(), await this.manager.destroy();
|
|
51
|
+
this.clearResult(), this._featuresComponentElement?.destroy(), await this.manager.destroy();
|
|
51
52
|
}
|
|
52
53
|
load() {
|
|
53
|
-
|
|
54
|
-
this.arcgisResultReady.emit(), this.state = "ready";
|
|
55
|
-
};
|
|
56
|
-
if (!e?.length) {
|
|
57
|
-
t();
|
|
58
|
-
return;
|
|
59
|
-
}
|
|
60
|
-
this.#p(e), this.#f().then(() => this.#g()).then(() => {
|
|
61
|
-
this.disableHighlightFeatureResults || this.#m();
|
|
62
|
-
}).finally(t);
|
|
63
|
-
}
|
|
64
|
-
loaded() {
|
|
65
|
-
this.traceResult ? this.traceResult.elements || n("error", this, c("traceResult.elements")) : n("error", this, c("traceResult")), this.utilityNetwork || n("error", this, c("utilityNetwork"));
|
|
54
|
+
this.traceResult && this.#u();
|
|
66
55
|
}
|
|
67
56
|
willUpdate(e) {
|
|
68
|
-
e.has("_isFeaturesSelected") && (this.#
|
|
57
|
+
e.has("traceResult") && this.#u(), e.has("_isFeaturesSelected") && (this.#h || (e.get("_isFeaturesSelected") ?? !1)) !== this.isFeaturesListShown && this.arcgisPropertyChange.emit({ name: "isFeaturesListShown" });
|
|
69
58
|
}
|
|
70
|
-
|
|
71
|
-
this
|
|
59
|
+
loaded() {
|
|
60
|
+
this.traceResult && (this.traceResult.elements || d("error", this, g("traceResult.elements")), this.utilityNetwork || d("error", this, g("utilityNetwork")));
|
|
72
61
|
}
|
|
73
|
-
#
|
|
62
|
+
#c() {
|
|
63
|
+
this.#i.forEach((e) => e.remove()), this.#i = [];
|
|
64
|
+
}
|
|
65
|
+
#d(e) {
|
|
74
66
|
e && (this._featuresComponentElement = e);
|
|
75
67
|
}
|
|
76
|
-
#
|
|
68
|
+
#f(e) {
|
|
77
69
|
return Array.from(new Map(e.map((t) => [t.globalId, t])).values());
|
|
78
70
|
}
|
|
79
|
-
#
|
|
80
|
-
if (e == null)
|
|
81
|
-
return;
|
|
82
|
-
const t = this.#n, r = this.#a, a = t.get(e);
|
|
83
|
-
if (a)
|
|
84
|
-
return a;
|
|
85
|
-
if (!r)
|
|
71
|
+
#y(e) {
|
|
72
|
+
if (e == null || !this.#e.length)
|
|
86
73
|
return;
|
|
87
|
-
const
|
|
88
|
-
|
|
74
|
+
const t = this.#a.get(e);
|
|
75
|
+
if (t)
|
|
76
|
+
return t;
|
|
77
|
+
const s = this.#e.find((r) => "layerId" in r && r.layerId === e);
|
|
78
|
+
return s && this.#a.set(e, s), s;
|
|
89
79
|
}
|
|
90
80
|
#m() {
|
|
91
|
-
const { traceResult: e, utilityNetwork: t, view:
|
|
92
|
-
if (!t || !e?.elements?.length || !
|
|
81
|
+
const { traceResult: e, utilityNetwork: t, view: s } = this;
|
|
82
|
+
if (!t || !e?.elements?.length || !s)
|
|
93
83
|
return;
|
|
94
|
-
const
|
|
95
|
-
|
|
96
|
-
const
|
|
97
|
-
if (
|
|
98
|
-
const
|
|
99
|
-
this.#
|
|
84
|
+
const r = (i) => (P(i.layer) || F(i.layer)) && t.isUtilityLayer(i.layer), o = t.getObjectIdsFromElements(e.elements), n = s.allLayerViews.filter(r);
|
|
85
|
+
o.forEach(({ layerUrl: i, objectIds: l }) => {
|
|
86
|
+
const a = Number(i.split("/").pop()), c = n.find(({ layer: f }) => f.layerId === a);
|
|
87
|
+
if (c) {
|
|
88
|
+
const f = c.highlight(l);
|
|
89
|
+
this.#i.push(f);
|
|
100
90
|
}
|
|
101
91
|
});
|
|
102
92
|
}
|
|
103
|
-
async #
|
|
104
|
-
const { layers:
|
|
105
|
-
if (!
|
|
93
|
+
async #g(e) {
|
|
94
|
+
const { layers: t, utilityNetwork: s, view: r } = this;
|
|
95
|
+
if (!r || !s)
|
|
106
96
|
return;
|
|
107
97
|
try {
|
|
108
|
-
|
|
98
|
+
s.loaded || await s.load({ signal: e });
|
|
99
|
+
} catch (i) {
|
|
100
|
+
if (p(i))
|
|
101
|
+
throw i;
|
|
102
|
+
w(i, this, "Error while loading the selected utility network");
|
|
103
|
+
}
|
|
104
|
+
u(e), this.#e = t.length ? t.filter((i) => s.isUtilityLayer(i)) : $(r, s);
|
|
105
|
+
const n = this.#e.filter((i) => !i.loaded).map((i) => i.load({ signal: e }));
|
|
106
|
+
if (n.length > 0) {
|
|
107
|
+
const i = await Promise.allSettled(n);
|
|
108
|
+
u(e), i.forEach((l) => {
|
|
109
|
+
l.status === "rejected" && d("error", this, `Failed to load layer. Reason: ${l.reason}`);
|
|
110
|
+
});
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
async #u() {
|
|
114
|
+
this.clearResult();
|
|
115
|
+
const e = () => {
|
|
116
|
+
h(() => this.state = "ready"), this.arcgisResultReady.emit();
|
|
117
|
+
}, t = I(async (s) => {
|
|
118
|
+
const r = this.traceResult?.elements;
|
|
119
|
+
if (!r?.length) {
|
|
120
|
+
e();
|
|
121
|
+
return;
|
|
122
|
+
}
|
|
123
|
+
h(() => this.state = "loading"), this.#F(r), await this.#g(s), await this.#w(s), u(s), this.disableHighlight || this.#m(), e();
|
|
124
|
+
});
|
|
125
|
+
this.#t = t;
|
|
126
|
+
try {
|
|
127
|
+
await t.promise;
|
|
109
128
|
} catch (s) {
|
|
110
|
-
|
|
129
|
+
p(s) || (w(s, this, "Error while loading trace result"), this.#t === t && e());
|
|
130
|
+
} finally {
|
|
131
|
+
this.#t === t && (this.#t = void 0, h(() => this.state = "ready"));
|
|
111
132
|
}
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
async #y([e, t]) {
|
|
119
|
-
const r = this.utilityNetwork?.getLayerIdBySourceId(e), a = this.#d(r), s = this.#c(t);
|
|
120
|
-
if (r == null || !a) {
|
|
121
|
-
this.#e.push(...s);
|
|
133
|
+
}
|
|
134
|
+
async #p([e, t], s) {
|
|
135
|
+
u(s);
|
|
136
|
+
const r = this.utilityNetwork?.getLayerIdBySourceId(e), o = this.#y(r), n = this.#f(t);
|
|
137
|
+
if (r == null || !o) {
|
|
138
|
+
this.#s.push(...n);
|
|
122
139
|
return;
|
|
123
140
|
}
|
|
124
|
-
const i =
|
|
125
|
-
i.gdbVersion = this.utilityNetwork?.gdbVersion, i.objectIds =
|
|
126
|
-
const { features:
|
|
127
|
-
|
|
128
|
-
const
|
|
129
|
-
|
|
130
|
-
}),
|
|
131
|
-
|
|
132
|
-
}) : this.#
|
|
133
|
-
}
|
|
134
|
-
async #
|
|
135
|
-
const
|
|
136
|
-
if (!
|
|
141
|
+
const i = o.createQuery();
|
|
142
|
+
i.gdbVersion = this.utilityNetwork?.gdbVersion, i.objectIds = n.map((a) => a.objectId), i.outFields = ["*"];
|
|
143
|
+
const { features: l } = await S(o, i, { signal: s });
|
|
144
|
+
u(s), l.forEach((a) => {
|
|
145
|
+
const c = a.layer;
|
|
146
|
+
a.getEffectivePopupTemplate(this.#n) || (a.popupTemplate = c.createPopupTemplate());
|
|
147
|
+
}), F(o) ? l.forEach((a) => {
|
|
148
|
+
E(this.#l, a.layer.subtypeCode, () => []).push(a);
|
|
149
|
+
}) : this.#r.set(r, l);
|
|
150
|
+
}
|
|
151
|
+
async #w(e) {
|
|
152
|
+
const t = Array.from(this.#o.entries());
|
|
153
|
+
if (!t.length)
|
|
137
154
|
return;
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
(await Promise.allSettled(t)).forEach((i, o) => {
|
|
155
|
+
const s = t.map((i) => this.#p(i, e)), r = await Promise.allSettled(s);
|
|
156
|
+
u(e), r.forEach((i, l) => {
|
|
141
157
|
if (i.status === "rejected") {
|
|
142
|
-
const [
|
|
143
|
-
|
|
158
|
+
const [a] = t[l];
|
|
159
|
+
d("error", this, `Failed to query features for source ${a}. Reason: ${i.reason}`);
|
|
144
160
|
}
|
|
145
161
|
});
|
|
146
|
-
const
|
|
147
|
-
|
|
148
|
-
}
|
|
149
|
-
#p(e) {
|
|
150
|
-
e.forEach((t) => {
|
|
151
|
-
f(this.#r, t.networkSourceId, () => []).push(t);
|
|
152
|
-
});
|
|
162
|
+
const o = Array.from(this.#r.values()), n = Array.from(this.#l.values());
|
|
163
|
+
h(() => this.features = o.concat(n).flat());
|
|
153
164
|
}
|
|
154
165
|
#F(e) {
|
|
166
|
+
this.#o = Map.groupBy(e, ({ networkSourceId: t }) => t);
|
|
167
|
+
}
|
|
168
|
+
#R(e) {
|
|
155
169
|
const { detail: t } = e;
|
|
156
170
|
(t.name === "selectedDrillInFeature" || t.name === "selectedFeature") && (e.stopPropagation(), this.arcgisPropertyChange.emit({ name: "selectedResultFeature" }));
|
|
157
171
|
}
|
|
158
|
-
#
|
|
172
|
+
#b(e) {
|
|
159
173
|
e.stopPropagation(), this.arcgisTriggerAction.emit(e.detail);
|
|
160
174
|
}
|
|
161
|
-
#
|
|
162
|
-
return
|
|
175
|
+
#E() {
|
|
176
|
+
return y`<div class="features-hidden">${this._messages.resultFeaturesAreHidden}</div>`;
|
|
163
177
|
}
|
|
164
|
-
#
|
|
178
|
+
#L() {
|
|
165
179
|
const { heading: e, _messages: t } = this;
|
|
166
|
-
return
|
|
180
|
+
return y`<calcite-list .label=${t.headings.features}><calcite-list-item class="elements-list-item" .label=${e || t.headings.features} @calciteListItemSelect=${() => this._isFeaturesSelected = !0}><calcite-chip .label=${t.labels.numFeatures} scale=s slot=content-end>${this.numResults}</calcite-chip><calcite-icon icon=chevron-right slot=content-end></calcite-icon></calcite-list-item></calcite-list>`;
|
|
167
181
|
}
|
|
168
182
|
render() {
|
|
169
|
-
return this.
|
|
183
|
+
return !this.traceResult?.elements.length || this.manager.destroyed ? null : this.hideFeatureResults ? this.hidePlaceholder ? null : this.#E() : this.isFeaturesListShown ? y`<arcgis-features-next .actions=${this.actions} .autoDestroyDisabled=${this.autoDestroyDisabled} .defaultPopupTemplateEnabled=${this.#n} .features=${this.features} .hideActionBar=${this.hideActionBar} .hideCloseButton=${this.#h} hide-select-feature .includeDefaultActionsDisabled=${this.includeDefaultActionsDisabled} initial-display-mode=list .messageOverrides=${this.messageOverrides} open .referenceElement=${this.referenceElement} .view=${this.view} @arcgisClose=${() => this._isFeaturesSelected = !1} @arcgisPropertyChange=${this.#R} @arcgisTriggerAction=${this.#b} ${b(this.#d)}></arcgis-features-next>` : this.#L();
|
|
170
184
|
}
|
|
171
185
|
}
|
|
172
|
-
|
|
186
|
+
R("arcgis-utility-network-trace-elements-result-item", k);
|
|
173
187
|
export {
|
|
174
|
-
|
|
188
|
+
k as ArcgisUtilityNetworkTraceElementsResultItem
|
|
175
189
|
};
|
package/dist/components/arcgis-utility-network-trace-functions-result-item/customElement.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
2
|
import type TraceResult from "@arcgis/core/rest/networks/support/TraceResult.js";
|
|
3
3
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
4
|
+
import type { UtilityNetworkTraceResultItemState } from "../arcgis-utility-network-trace-analysis/types.js";
|
|
4
5
|
import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
5
6
|
|
|
6
7
|
/**
|
|
@@ -19,12 +20,40 @@ export abstract class ArcgisUtilityNetworkTraceFunctionsResultItem extends LitEl
|
|
|
19
20
|
componentLabel: string;
|
|
20
21
|
labels: { functionResults: string; };
|
|
21
22
|
}>;
|
|
23
|
+
/**
|
|
24
|
+
* Whether the component emits event [@arcgisResultReady](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-trace-functions-result-item/#event-arcgisResultReady).
|
|
25
|
+
* This property is always `true` for [arcgis-utility-network-trace-functions-result-item](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-trace-functions-result-item/).
|
|
26
|
+
*
|
|
27
|
+
* @default false
|
|
28
|
+
*/
|
|
29
|
+
get emitsArcgisResultReady(): true;
|
|
22
30
|
/** The heading displayed above the result item. */
|
|
23
31
|
accessor heading: string | undefined;
|
|
32
|
+
/**
|
|
33
|
+
* @default "ready"
|
|
34
|
+
* @internal
|
|
35
|
+
*/
|
|
36
|
+
get state(): UtilityNetworkTraceResultItemState;
|
|
24
37
|
/**
|
|
25
38
|
* The trace result containing the function results to render.
|
|
26
39
|
*
|
|
27
40
|
* @required
|
|
28
41
|
*/
|
|
29
42
|
accessor traceResult: TraceResult | undefined;
|
|
43
|
+
/**
|
|
44
|
+
* Clears the result item.
|
|
45
|
+
* This result item has no side effects to clear.
|
|
46
|
+
*
|
|
47
|
+
* @internal
|
|
48
|
+
*/
|
|
49
|
+
clearResult(): void;
|
|
50
|
+
/** Permanently destroy the component. */
|
|
51
|
+
destroy(): Promise<void>;
|
|
52
|
+
readonly arcgisPropertyChange: import("@arcgis/lumina").TargetedEvent<this, { name: "state"; }>;
|
|
53
|
+
/** Fires when the component is finished rendering its results. */
|
|
54
|
+
readonly arcgisResultReady: import("@arcgis/lumina").TargetedEvent<this, void>;
|
|
55
|
+
readonly "@eventTypes": {
|
|
56
|
+
arcgisPropertyChange: ArcgisUtilityNetworkTraceFunctionsResultItem["arcgisPropertyChange"]["detail"];
|
|
57
|
+
arcgisResultReady: ArcgisUtilityNetworkTraceFunctionsResultItem["arcgisResultReady"]["detail"];
|
|
58
|
+
};
|
|
30
59
|
}
|
|
@@ -1,34 +1,48 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import { c as
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { log as
|
|
6
|
-
import {
|
|
7
|
-
|
|
8
|
-
|
|
2
|
+
import { c as u } from "../../chunks/runtime.js";
|
|
3
|
+
import { LitElement as m, createEvent as h } from "@arcgis/lumina";
|
|
4
|
+
import { usePropertyChange as g, bypassReadOnly as d } from "@arcgis/lumina/controllers";
|
|
5
|
+
import { log as b, composeEmptyPropertyMessage as R } from "@arcgis/toolkit/log";
|
|
6
|
+
import { css as f, html as s } from "lit";
|
|
7
|
+
import { u as p } from "../../chunks/useT9n.js";
|
|
8
|
+
const y = f`calcite-table{--calcite-table-border-color: none}calcite-table-row{--calcite-table-row-border-color: var(--calcite-color-border-3)}.functions-heading{margin:0 0 var(--calcite-spacing-xxs);font-weight:var(--calcite-font-weight-medium);font-size:var(--calcite-font-size);color:var(--calcite-color-text-1)}`;
|
|
9
|
+
class w extends m {
|
|
9
10
|
constructor() {
|
|
10
|
-
super(...arguments), this._messages =
|
|
11
|
+
super(...arguments), this._messages = p({ blocking: !0 }), this.emitsArcgisResultReady = !0, this.state = "ready", this.arcgisPropertyChange = g()("state"), this.arcgisResultReady = h();
|
|
11
12
|
}
|
|
12
13
|
static {
|
|
13
|
-
this.properties = { heading: 1, traceResult: 0 };
|
|
14
|
+
this.properties = { emitsArcgisResultReady: 32, heading: 1, state: 32, traceResult: 0 };
|
|
14
15
|
}
|
|
15
16
|
static {
|
|
16
|
-
this.styles =
|
|
17
|
+
this.styles = y;
|
|
18
|
+
}
|
|
19
|
+
clearResult() {
|
|
20
|
+
}
|
|
21
|
+
async destroy() {
|
|
22
|
+
}
|
|
23
|
+
load() {
|
|
24
|
+
this.traceResult && this.#t();
|
|
25
|
+
}
|
|
26
|
+
willUpdate(e) {
|
|
27
|
+
e.has("traceResult") && this.#t();
|
|
17
28
|
}
|
|
18
29
|
loaded() {
|
|
19
|
-
this.traceResult
|
|
30
|
+
this.traceResult && !this.traceResult.globalFunctionResults.length && b("warn", this, R("traceResult.globalFunctionResults"));
|
|
31
|
+
}
|
|
32
|
+
#t() {
|
|
33
|
+
d(() => this.state = "ready"), this.arcgisResultReady.emit();
|
|
20
34
|
}
|
|
21
35
|
render() {
|
|
22
36
|
if (!this.traceResult?.globalFunctionResults.length)
|
|
23
|
-
return;
|
|
24
|
-
const { heading:
|
|
25
|
-
return
|
|
26
|
-
const { functionName:
|
|
27
|
-
return
|
|
37
|
+
return null;
|
|
38
|
+
const { heading: e, _messages: l } = this, { globalFunctionResults: a } = this.traceResult;
|
|
39
|
+
return s`${e && s`<div class="functions-heading">${e}</div>` || ""}<calcite-table .caption=${l.labels.functionResults}>${a.filter((t) => t.networkAttributeName != null && t.result != null && t.functionType != null).map((t) => {
|
|
40
|
+
const { functionName: i, networkAttributeName: c, functionType: r, result: o } = t, n = i || `${c} ${r}`;
|
|
41
|
+
return s`<calcite-table-row><calcite-table-cell>${n}</calcite-table-cell><calcite-table-cell>${o}</calcite-table-cell></calcite-table-row>`;
|
|
28
42
|
})}</calcite-table>`;
|
|
29
43
|
}
|
|
30
44
|
}
|
|
31
|
-
|
|
45
|
+
u("arcgis-utility-network-trace-functions-result-item", w);
|
|
32
46
|
export {
|
|
33
47
|
w as ArcgisUtilityNetworkTraceFunctionsResultItem
|
|
34
48
|
};
|
|
@@ -14,7 +14,7 @@ import B from "@arcgis/core/widgets/Sketch/SketchViewModel.js";
|
|
|
14
14
|
import { LitElement as N, createEvent as S } from "@arcgis/lumina";
|
|
15
15
|
import { log as u, composeMissingPropertyMessage as b } from "@arcgis/toolkit/log";
|
|
16
16
|
import { u as q } from "../../chunks/useT9n.js";
|
|
17
|
-
import { a as D,
|
|
17
|
+
import { a as D, d as j, e as G, i as H } from "../../chunks/layer-utils.js";
|
|
18
18
|
import { css as O, html as p } from "lit";
|
|
19
19
|
import v from "@arcgis/core/views/interactive/snapping/FeatureSnappingLayerSource.js";
|
|
20
20
|
import { substitute as U } from "@arcgis/core/intl.js";
|