@arcgis/map-components 5.2.0-next.120 → 5.2.0-next.122
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/33C5FBRZ.js +2 -0
- package/dist/cdn/{JD46SR26.js → 34E7N7GU.js} +1 -1
- package/dist/cdn/{IR2RGKT4.js → 3E36QFXG.js} +2 -2
- package/dist/cdn/3FRV7BIJ.js +2 -0
- package/dist/cdn/{Z4FIADPO.js → 3TR7QOHP.js} +1 -1
- package/dist/cdn/464EB67Q.js +2 -0
- package/dist/cdn/{W5B2F2LI.js → 4DENNWA5.js} +1 -1
- package/dist/cdn/{POEFPML6.js → 55AZTWOF.js} +1 -1
- package/dist/cdn/{2DDAZ3QO.js → 56PUZWIU.js} +1 -1
- package/dist/cdn/{YZUEPMQZ.js → 5IFQI7ML.js} +1 -1
- package/dist/cdn/{JMWMN4DG.js → 5SLLYIWJ.js} +1 -1
- package/dist/cdn/{7QH5PIWM.js → 6EQW3YHG.js} +1 -1
- package/dist/cdn/{U35IJFNU.js → 6VR7MKOM.js} +1 -1
- package/dist/cdn/6XJFRQ75.js +2 -0
- package/dist/cdn/7WBDTHNZ.js +2 -0
- package/dist/cdn/{RRC7AD75.js → AXFCL6D2.js} +1 -1
- package/dist/cdn/{LBVSFCZG.js → B4QA6HTE.js} +1 -1
- package/dist/cdn/BAV6JF4F.js +2 -0
- package/dist/cdn/{HNMWTX7W.js → BEZWJEYM.js} +1 -1
- package/dist/cdn/{LCNYVSCF.js → BTQUD5J4.js} +1 -1
- package/dist/cdn/CCFGYVBQ.js +2 -0
- package/dist/cdn/{FAN45DMA.js → CNYKQYK2.js} +1 -1
- package/dist/cdn/DOR5MVML.js +2 -0
- package/dist/cdn/E4JAHCCG.js +2 -0
- package/dist/cdn/{JD562WMM.js → EDMWGUZ2.js} +1 -1
- package/dist/cdn/{JKZMOIRA.js → EEHSPW4M.js} +1 -1
- package/dist/cdn/{GN4BH6SY.js → EMJLCAFX.js} +1 -1
- package/dist/cdn/{FAFDJABP.js → ESAIFZ6N.js} +1 -1
- package/dist/cdn/{2L6YCWXJ.js → EUV2XFUO.js} +1 -1
- package/dist/cdn/{GPIHHNP7.js → F46CTQWP.js} +1 -1
- package/dist/cdn/F5LP5CU2.js +2 -0
- package/dist/cdn/FKCRBOFP.js +2 -0
- package/dist/cdn/G3KYGRHM.js +2 -0
- package/dist/cdn/{3VGRIUOZ.js → G4HKU5PR.js} +1 -1
- package/dist/cdn/{Y5Q3Q4GW.js → GIOUZTHM.js} +1 -1
- package/dist/cdn/{4DWURRQB.js → GLH5GJZC.js} +1 -1
- package/dist/cdn/{BFGF2JTH.js → GLOUXFQV.js} +1 -1
- package/dist/cdn/{3VBI4PPT.js → H3CCHIXN.js} +1 -1
- package/dist/cdn/{W5O3OCTG.js → H5FV4C72.js} +1 -1
- package/dist/cdn/{ACIG6774.js → HH5GEJCC.js} +1 -1
- package/dist/cdn/{P2X5UYZB.js → I2IBXGQM.js} +1 -1
- package/dist/cdn/{VFSWB7LJ.js → IWOKTFPQ.js} +1 -1
- package/dist/cdn/{XO3NPMHQ.js → J4BQSA3J.js} +1 -1
- package/dist/cdn/{Z3JADSL3.js → J4TWDZII.js} +1 -1
- package/dist/cdn/{23KFFLAG.js → JBGNMAZ7.js} +1 -1
- package/dist/cdn/{3OQZ3SMG.js → JSYLRK26.js} +1 -1
- package/dist/cdn/{5FBX5V2M.js → KHHVCV55.js} +1 -1
- package/dist/cdn/{ZSQCIUGN.js → KIHX5LRN.js} +1 -1
- package/dist/cdn/{LBJMKYT2.js → KM2GXXBO.js} +1 -1
- package/dist/cdn/{F5EC22X4.js → KRYDKCJG.js} +1 -1
- package/dist/cdn/{46ZZWK6X.js → KY3ND2AY.js} +1 -1
- package/dist/cdn/KYWVUIH5.js +2 -0
- package/dist/cdn/{UJVNCEXT.js → LAY2RKKS.js} +1 -1
- package/dist/cdn/{REDWVTQJ.js → LP2PF2VT.js} +1 -1
- package/dist/cdn/LV5KLLVW.js +2 -0
- package/dist/cdn/{4IB44LRA.js → LWW6FUI2.js} +1 -1
- package/dist/cdn/{B6JX5OWP.js → M3EXGLNJ.js} +1 -1
- package/dist/cdn/{TOBWMRET.js → M3EZM5X5.js} +1 -1
- package/dist/cdn/{LH33ZRF7.js → MFBQRTJ3.js} +1 -1
- package/dist/cdn/{5RBUI62E.js → MLJ5RYY3.js} +1 -1
- package/dist/cdn/{2JMMBI2U.js → MV2EKVMR.js} +1 -1
- package/dist/cdn/{WWGWIJMC.js → NZSCPBS7.js} +1 -1
- package/dist/cdn/{PQTX5YLB.js → OKW62U6T.js} +1 -1
- package/dist/cdn/{3EYHGXI5.js → PLTLRYBF.js} +1 -1
- package/dist/cdn/PR6OAZWA.js +2 -0
- package/dist/cdn/{UNP7N3DO.js → PUYZDQHZ.js} +1 -1
- package/dist/cdn/{KKDZFKGV.js → PYP3U5W5.js} +1 -1
- package/dist/cdn/{OMZESNEM.js → Q4AJYCNY.js} +1 -1
- package/dist/cdn/{HGYJFGKA.js → QGFWUN5S.js} +1 -1
- package/dist/cdn/{X7KSMNND.js → QIEX43LK.js} +1 -1
- package/dist/cdn/{HH4T6PVP.js → QMQV37ML.js} +1 -1
- package/dist/cdn/QXVHT3RD.js +5 -0
- package/dist/cdn/{MZZGKPLV.js → R7E5VLXC.js} +1 -1
- package/dist/cdn/{CWQN57H6.js → RJSFDOIW.js} +1 -1
- package/dist/cdn/{TNY5ERJS.js → RKAZH2LM.js} +1 -1
- package/dist/cdn/{5IQQ6P2J.js → RU7PGLLB.js} +1 -1
- package/dist/cdn/{4W6PAHFY.js → S62FQUEJ.js} +1 -1
- package/dist/cdn/S7T2NPCW.js +2 -0
- package/dist/cdn/{NK74ZCP7.js → SXQRPAPL.js} +1 -1
- package/dist/cdn/{2KN3VFRG.js → TH6TT77M.js} +1 -1
- package/dist/cdn/{MU54WQG6.js → TILA2OKK.js} +1 -1
- package/dist/cdn/TJDMX7ZL.js +2 -0
- package/dist/cdn/TMJX7DFH.js +2 -0
- package/dist/cdn/{6XZKWBWD.js → TVZZB4KV.js} +1 -1
- package/dist/cdn/TZHXSIXK.js +2 -0
- package/dist/cdn/{SEMVPT7E.js → UJUD6U2G.js} +1 -1
- package/dist/cdn/US6PRR7S.js +2 -0
- package/dist/cdn/{TL7OKFLN.js → V7BQUMJL.js} +1 -1
- package/dist/cdn/VSH4WLRS.js +2 -0
- package/dist/cdn/{Q6MJXAPZ.js → WNLOSRMS.js} +1 -1
- package/dist/cdn/X6EQMX6U.js +2 -0
- package/dist/cdn/{6SKPV2U5.js → XGZ36AOT.js} +1 -1
- package/dist/cdn/{D3F6S7NU.js → XQKZNHH7.js} +1 -1
- package/dist/cdn/{CONE7FEI.js → YG4HDEP3.js} +1 -1
- package/dist/cdn/{NEQHSO5U.js → YRZRKOE3.js} +1 -1
- package/dist/cdn/YZ55QJUM.js +2 -0
- package/dist/cdn/{EZVWEV6T.js → ZSVZL6PT.js} +1 -1
- package/dist/cdn/ZUAZUUTW.js +2 -0
- 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.en.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/sketch/t9n/messages.ar.json +1 -1
- package/dist/cdn/assets/sketch/t9n/messages.bg.json +1 -1
- package/dist/cdn/assets/sketch/t9n/messages.bs.json +1 -1
- package/dist/cdn/assets/sketch/t9n/messages.ca.json +1 -1
- package/dist/cdn/assets/sketch/t9n/messages.cs.json +1 -1
- package/dist/cdn/assets/sketch/t9n/messages.da.json +1 -1
- package/dist/cdn/assets/sketch/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/sketch/t9n/messages.el.json +1 -1
- package/dist/cdn/assets/sketch/t9n/messages.es.json +1 -1
- package/dist/cdn/assets/sketch/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/sketch/t9n/messages.fi.json +1 -1
- package/dist/cdn/assets/sketch/t9n/messages.fr.json +1 -1
- package/dist/cdn/assets/sketch/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/sketch/t9n/messages.hr.json +1 -1
- package/dist/cdn/assets/sketch/t9n/messages.hu.json +1 -1
- package/dist/cdn/assets/sketch/t9n/messages.id.json +1 -1
- package/dist/cdn/assets/sketch/t9n/messages.it.json +1 -1
- package/dist/cdn/assets/sketch/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/sketch/t9n/messages.ko.json +1 -1
- package/dist/cdn/assets/sketch/t9n/messages.lt.json +1 -1
- package/dist/cdn/assets/sketch/t9n/messages.lv.json +1 -1
- package/dist/cdn/assets/sketch/t9n/messages.nl.json +1 -1
- package/dist/cdn/assets/sketch/t9n/messages.no.json +1 -1
- package/dist/cdn/assets/sketch/t9n/messages.pl.json +1 -1
- package/dist/cdn/assets/sketch/t9n/messages.pt-BR.json +1 -1
- package/dist/cdn/assets/sketch/t9n/messages.pt-PT.json +1 -1
- package/dist/cdn/assets/sketch/t9n/messages.ro.json +1 -1
- package/dist/cdn/assets/sketch/t9n/messages.ru.json +1 -1
- package/dist/cdn/assets/sketch/t9n/messages.sk.json +1 -1
- package/dist/cdn/assets/sketch/t9n/messages.sl.json +1 -1
- package/dist/cdn/assets/sketch/t9n/messages.sr.json +1 -1
- package/dist/cdn/assets/sketch/t9n/messages.sv.json +1 -1
- package/dist/cdn/assets/sketch/t9n/messages.th.json +1 -1
- package/dist/cdn/assets/sketch/t9n/messages.tr.json +1 -1
- package/dist/cdn/assets/sketch/t9n/messages.uk.json +1 -1
- package/dist/cdn/assets/sketch/t9n/messages.vi.json +1 -1
- package/dist/cdn/assets/sketch/t9n/messages.zh-CN.json +1 -1
- package/dist/cdn/assets/sketch/t9n/messages.zh-HK.json +1 -1
- package/dist/cdn/assets/sketch/t9n/messages.zh-TW.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/cdn/main.css +1 -1
- package/dist/chunks/async-utils.js +3 -3
- package/dist/chunks/layer-utils.js +48 -44
- package/dist/chunks/slots.js +1 -1
- package/dist/components/arcgis-attachment-validation-view/customElement.d.ts +81 -0
- package/dist/components/arcgis-attachment-validation-view/customElement.js +109 -0
- package/dist/components/arcgis-attachment-validation-view/index.d.ts +1 -0
- package/dist/components/arcgis-attachment-validation-view/index.js +2 -0
- package/dist/components/arcgis-basemap-gallery/customElement.d.ts +10 -9
- package/dist/components/arcgis-basemap-gallery/customElement.js +39 -28
- package/dist/components/arcgis-basemap-gallery-item/customElement.js +30 -30
- package/dist/components/arcgis-editor/customElement.d.ts +10 -2
- package/dist/components/arcgis-editor/customElement.js +2 -2
- package/dist/components/arcgis-expand/customElement.d.ts +9 -0
- package/dist/components/arcgis-expand/customElement.js +47 -41
- package/dist/components/arcgis-exploratory-analysis/customElement.d.ts +23 -0
- package/dist/components/arcgis-exploratory-analysis/customElement.js +21 -21
- package/dist/components/arcgis-feature-attachments/customElement.js +17 -17
- package/dist/components/arcgis-feature-form-field/customElement.d.ts +48 -0
- 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/customElement.d.ts +5 -6
- package/dist/components/arcgis-legend/customElement.js +5 -5
- 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 +14 -11
- package/dist/components/arcgis-map/customElement.d.ts +9 -0
- package/dist/components/arcgis-map/customElement.js +9 -6
- package/dist/components/arcgis-paste/customElement.js +1 -1
- package/dist/components/arcgis-presentation/customElement.js +62 -62
- package/dist/components/arcgis-presentation-slide-list/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 +5 -2
- 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-sketch/SketchComponentViewModel.d.ts +84 -0
- package/dist/components/arcgis-sketch/configuration.d.ts +33 -0
- package/dist/components/arcgis-sketch/customElement.d.ts +3 -2
- package/dist/components/arcgis-sketch/customElement.js +25 -21
- 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 +10 -0
- package/dist/loader.js +12 -11
- package/dist/types/lumina.d.ts +20 -10
- package/dist/types/preact.d.ts +21 -10
- package/dist/types/react.d.ts +22 -10
- package/dist/types/stencil.d.ts +20 -10
- package/package.json +8 -8
- package/dist/cdn/2OGEVHBC.js +0 -2
- package/dist/cdn/4FADGEJD.js +0 -2
- package/dist/cdn/5DV4N5DK.js +0 -2
- package/dist/cdn/5PNAHYUT.js +0 -2
- package/dist/cdn/7AKMHKTT.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/CST7D7GR.js +0 -2
- package/dist/cdn/DDSMWDPS.js +0 -2
- package/dist/cdn/DOHO6T7Z.js +0 -2
- package/dist/cdn/GJZCVU6G.js +0 -5
- package/dist/cdn/IDE4IFH7.js +0 -2
- package/dist/cdn/IJTCIWOA.js +0 -2
- package/dist/cdn/IXVJQIMH.js +0 -2
- package/dist/cdn/KGBACXRG.js +0 -2
- package/dist/cdn/KWJAKUM4.js +0 -2
- package/dist/cdn/MRC7R44N.js +0 -2
- package/dist/cdn/MT6BTCFR.js +0 -2
- package/dist/cdn/QD7ELNLS.js +0 -2
- package/dist/cdn/TBSKBHHL.js +0 -2
- package/dist/cdn/WU7R423Z.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
|
@@ -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";
|
|
@@ -10,12 +10,15 @@ import type { ActionEvent } from "@arcgis/core/widgets/Popup/types.js";
|
|
|
10
10
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
11
11
|
import type { ArcgisFeaturesNext } from "../arcgis-features-next/customElement.js";
|
|
12
12
|
import type { ArcgisReferenceElement } from "../types.js";
|
|
13
|
+
import type { UtilityNetworkTraceResultItemState } from "../arcgis-utility-network-trace-analysis/types.js";
|
|
14
|
+
import type { ArcgisUtilityNetworkTraceElementsResultItem } from "../arcgis-utility-network-trace-elements-result-item/customElement.js";
|
|
13
15
|
import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
14
16
|
|
|
15
17
|
/**
|
|
16
18
|
* This is a sub-component used by the **ArcgisUtilityNetworkTraceAnalysis** component.
|
|
17
19
|
* It displays a subset of trace result types.
|
|
18
20
|
*
|
|
21
|
+
* @slot - Default slot for adding trace result items or custom content to the component.
|
|
19
22
|
* @since 4.34
|
|
20
23
|
* @internal
|
|
21
24
|
*/
|
|
@@ -33,6 +36,7 @@ export abstract class ArcgisUtilityNetworkTraceResults extends LitElement {
|
|
|
33
36
|
functionResults: string;
|
|
34
37
|
numFeatures: string;
|
|
35
38
|
};
|
|
39
|
+
noMatchingResultItems: string;
|
|
36
40
|
noResultsDescription: string;
|
|
37
41
|
noResultsHeading: string;
|
|
38
42
|
noSelectableFeatures: string;
|
|
@@ -58,6 +62,7 @@ export abstract class ArcgisUtilityNetworkTraceResults extends LitElement {
|
|
|
58
62
|
functionResults: string;
|
|
59
63
|
numFeatures: string;
|
|
60
64
|
};
|
|
65
|
+
noMatchingResultItems: string;
|
|
61
66
|
noResultsDescription: string;
|
|
62
67
|
noResultsHeading: string;
|
|
63
68
|
noSelectableFeatures: string;
|
|
@@ -82,6 +87,14 @@ export abstract class ArcgisUtilityNetworkTraceResults extends LitElement {
|
|
|
82
87
|
* @see [Popup actions sample](https://developers.arcgis.com/javascript/latest/sample-code/popup-actions/)
|
|
83
88
|
*/
|
|
84
89
|
accessor actions: ArcgisFeaturesNext["actions"] | undefined;
|
|
90
|
+
/**
|
|
91
|
+
* The color used to render graphics for aggregated geometries in trace results, specified as a
|
|
92
|
+
* [Color](https://developers.arcgis.com/javascript/latest/references/core/Color/) object.
|
|
93
|
+
*
|
|
94
|
+
* Aggregated geometry is only rendered if the trace configuration specifies aggregated geometry as a result type.
|
|
95
|
+
*
|
|
96
|
+
* Default color is #FFFF00.
|
|
97
|
+
*/
|
|
85
98
|
accessor aggregatedGeometryGraphicsColor: Color;
|
|
86
99
|
/**
|
|
87
100
|
* If true, the component will not be destroyed automatically when it is
|
|
@@ -109,13 +122,36 @@ export abstract class ArcgisUtilityNetworkTraceResults extends LitElement {
|
|
|
109
122
|
* @default false
|
|
110
123
|
*/
|
|
111
124
|
accessor disableHighlightFeatureResults: boolean;
|
|
125
|
+
/**
|
|
126
|
+
* When `true`, the component can be expanded and collapsed.
|
|
127
|
+
*
|
|
128
|
+
* @default false
|
|
129
|
+
*/
|
|
130
|
+
accessor expandable: boolean;
|
|
131
|
+
/**
|
|
132
|
+
* When `true`, expands the component and its contents.
|
|
133
|
+
*
|
|
134
|
+
* @default false
|
|
135
|
+
*/
|
|
136
|
+
accessor expanded: boolean;
|
|
137
|
+
/** Specifies the component's heading text. */
|
|
112
138
|
accessor heading: string | undefined;
|
|
113
139
|
/**
|
|
140
|
+
* Indicates whether to hide the action bar that holds the feature's
|
|
141
|
+
* [arcgis-features-next.actions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features-next/#actions) when selecting trace locations
|
|
142
|
+
* and viewing trace result features.
|
|
143
|
+
*
|
|
114
144
|
* @default false
|
|
115
|
-
* @internal
|
|
116
145
|
*/
|
|
117
146
|
accessor hideActionBar: boolean;
|
|
118
|
-
/**
|
|
147
|
+
/**
|
|
148
|
+
* Whether to hide feature results.
|
|
149
|
+
*
|
|
150
|
+
* A message will be displayed in its place indicating that features were returned by the trace, but are not visible in the component.
|
|
151
|
+
* This string can be overridden with the [messageOverrides](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-trace-results/#messageOverrides) property.
|
|
152
|
+
*
|
|
153
|
+
* @default false
|
|
154
|
+
*/
|
|
119
155
|
accessor hideFeatureResults: boolean;
|
|
120
156
|
/**
|
|
121
157
|
* Whether to hide the aggregated geometry [graphics](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-trace-aggregated-geometry-result-item/#geometryGraphics)
|
|
@@ -141,13 +177,14 @@ export abstract class ArcgisUtilityNetworkTraceResults extends LitElement {
|
|
|
141
177
|
* @default false
|
|
142
178
|
*/
|
|
143
179
|
accessor includeDefaultActionsDisabled: boolean;
|
|
180
|
+
/** The layers and tables used to query trace result features. */
|
|
144
181
|
accessor layers: Layer[];
|
|
145
182
|
/**
|
|
146
183
|
* Replace localized message strings with your own strings.
|
|
147
184
|
*
|
|
148
185
|
* _**Note**: Individual message keys may change between releases._
|
|
149
186
|
*/
|
|
150
|
-
accessor messageOverrides: {
|
|
187
|
+
accessor messageOverrides: NonNullable<ArcgisUtilityNetworkTraceElementsResultItem["messageOverrides"]> & {
|
|
151
188
|
gettingResults?: string | undefined;
|
|
152
189
|
headings?: {
|
|
153
190
|
aggregatedGeometry?: string | undefined;
|
|
@@ -159,6 +196,7 @@ export abstract class ArcgisUtilityNetworkTraceResults extends LitElement {
|
|
|
159
196
|
functionResults?: string | undefined;
|
|
160
197
|
numFeatures?: string | undefined;
|
|
161
198
|
} | undefined;
|
|
199
|
+
noMatchingResultItems?: string | undefined;
|
|
162
200
|
noResultsDescription?: string | undefined;
|
|
163
201
|
noResultsHeading?: string | undefined;
|
|
164
202
|
noSelectableFeatures?: string | undefined;
|
|
@@ -174,11 +212,11 @@ export abstract class ArcgisUtilityNetworkTraceResults extends LitElement {
|
|
|
174
212
|
traceFailedHeading?: string | undefined;
|
|
175
213
|
};
|
|
176
214
|
/**
|
|
177
|
-
* The number of unique network element results,
|
|
178
|
-
* including elements that did not match any layer in the map.
|
|
215
|
+
* The number of unique network element results, including elements that did not match any layer in the map.
|
|
179
216
|
*
|
|
180
|
-
*
|
|
181
|
-
*
|
|
217
|
+
* If multiple slotted instances [arcgis-utility-network-trace-elements-result-item](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-trace-elements-result-item/) exist,
|
|
218
|
+
* this property returns the [number of feature results](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-trace-elements-result-item/#numResults)
|
|
219
|
+
* for the first instance.
|
|
182
220
|
*/
|
|
183
221
|
get numFeatureResults(): number;
|
|
184
222
|
/**
|
|
@@ -187,11 +225,23 @@ export abstract class ArcgisUtilityNetworkTraceResults extends LitElement {
|
|
|
187
225
|
* @see [Associate components with a Map or Scene component](https://developers.arcgis.com/javascript/latest/programming-patterns/#associate-components-with-a-map-or-scene-component)
|
|
188
226
|
*/
|
|
189
227
|
accessor referenceElement: ArcgisReferenceElement | string | undefined;
|
|
190
|
-
/**
|
|
191
|
-
|
|
228
|
+
/**
|
|
229
|
+
* The current state of the trace results component.
|
|
230
|
+
*
|
|
231
|
+
* @default "ready"
|
|
232
|
+
*/
|
|
233
|
+
get state(): UtilityNetworkTraceResultItemState;
|
|
234
|
+
/** The error returned when the trace could not be completed. */
|
|
192
235
|
accessor traceError: EsriError<TraceErrorDetails> | undefined;
|
|
236
|
+
/** The trace result to display. */
|
|
193
237
|
accessor traceResult: TraceResult | undefined;
|
|
238
|
+
/**
|
|
239
|
+
* The features corresponding to the
|
|
240
|
+
* [https://developers.arcgis.com/javascript/latest/references/core/rest/networks/support/TraceResult/#elements](https://developers.arcgis.com/javascript/latest/references/core/rest/networks/support/TraceResult/#elements)
|
|
241
|
+
* returned by the trace result.
|
|
242
|
+
*/
|
|
194
243
|
get traceResultFeatures(): Graphic[];
|
|
244
|
+
/** The utility network used to query trace result features. */
|
|
195
245
|
accessor utilityNetwork: UtilityNetwork | undefined;
|
|
196
246
|
/**
|
|
197
247
|
* The view associated with the component.
|
|
@@ -203,19 +253,18 @@ export abstract class ArcgisUtilityNetworkTraceResults extends LitElement {
|
|
|
203
253
|
destroy(): Promise<void>;
|
|
204
254
|
/** Emitted when the value of a property is changed. Use this to listen to changes to properties. */
|
|
205
255
|
readonly arcgisPropertyChange: import("@arcgis/lumina").TargetedEvent<this, { name: "aggregatedGeometryGraphicsColor" | "hideGraphics" | "state" | "traceError"; }>;
|
|
206
|
-
readonly
|
|
256
|
+
readonly arcgisResultsReady: import("@arcgis/lumina").TargetedEvent<this, void>;
|
|
257
|
+
readonly arcgisTraceResultClear: import("@arcgis/lumina").TargetedEvent<this, void>;
|
|
207
258
|
/** Emitted when an action is triggered on the component. */
|
|
208
259
|
readonly arcgisTriggerAction: import("@arcgis/lumina").TargetedEvent<this, ActionEvent>;
|
|
209
260
|
readonly "@eventTypes": {
|
|
210
261
|
arcgisPropertyChange: ArcgisUtilityNetworkTraceResults["arcgisPropertyChange"]["detail"];
|
|
211
|
-
|
|
262
|
+
arcgisResultsReady: ArcgisUtilityNetworkTraceResults["arcgisResultsReady"]["detail"];
|
|
263
|
+
arcgisTraceResultClear: ArcgisUtilityNetworkTraceResults["arcgisTraceResultClear"]["detail"];
|
|
212
264
|
arcgisTriggerAction: ArcgisUtilityNetworkTraceResults["arcgisTriggerAction"]["detail"];
|
|
213
265
|
};
|
|
214
266
|
}
|
|
215
267
|
|
|
216
|
-
/** @internal */
|
|
217
|
-
export type State = "loading" | "ready";
|
|
218
|
-
|
|
219
268
|
/** @internal */
|
|
220
269
|
export interface TraceErrorDetails {
|
|
221
270
|
url?: string;
|