@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,112 +1,302 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import { c as
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import { log as
|
|
9
|
-
import {
|
|
10
|
-
|
|
2
|
+
import { c as v } from "../../chunks/runtime.js";
|
|
3
|
+
import { ref as h } from "lit/directives/ref.js";
|
|
4
|
+
import I from "@arcgis/core/Color.js";
|
|
5
|
+
import { LitElement as w, createEvent as u } from "@arcgis/lumina";
|
|
6
|
+
import { usePropertyChange as $, bypassReadOnly as d } from "@arcgis/lumina/controllers";
|
|
7
|
+
import { slotChangeGetAssignedElements as b } from "@arcgis/toolkit/dom/slots";
|
|
8
|
+
import { log as G, composeMissingPropertyMessage as E } from "@arcgis/toolkit/log";
|
|
9
|
+
import { css as D, html as r } from "lit";
|
|
10
|
+
import { u as C } from "../../chunks/useT9n.js";
|
|
11
|
+
import { l as F } from "../../chunks/async-utils.js";
|
|
12
|
+
const o = [
|
|
13
|
+
"arcgis-utility-network-trace-aggregated-geometry-result-item",
|
|
14
|
+
"arcgis-utility-network-trace-elements-result-item",
|
|
15
|
+
"arcgis-utility-network-trace-functions-result-item"
|
|
16
|
+
], R = o.join(", ");
|
|
17
|
+
function g(a) {
|
|
18
|
+
return a.localName === "arcgis-utility-network-trace-aggregated-geometry-result-item";
|
|
19
|
+
}
|
|
20
|
+
function n(a) {
|
|
21
|
+
return a.localName === "arcgis-utility-network-trace-elements-result-item";
|
|
22
|
+
}
|
|
23
|
+
function m(a) {
|
|
24
|
+
return a.localName === "arcgis-utility-network-trace-functions-result-item";
|
|
25
|
+
}
|
|
26
|
+
const k = D`:host{height:100%}slot:not([hidden]),.default-result-items{display:flex;flex-direction:column;gap:var(--calcite-spacing-md)}.results-block{min-height:100%;margin-top:0;margin-bottom:0}.no-selectable-results{color:var(--calcite-color-text-3);font-size:var(--calcite-font-size)}.no-results-landing{display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;margin:var(--calcite-spacing-md);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)}`, A = [
|
|
27
|
+
"hideGraphics",
|
|
28
|
+
"traceResult",
|
|
29
|
+
"view"
|
|
30
|
+
], P = [
|
|
31
|
+
"actions",
|
|
32
|
+
"autoDestroyDisabled",
|
|
33
|
+
"hideActionBar",
|
|
34
|
+
"hideFeatureResults",
|
|
35
|
+
"hidePlaceholder",
|
|
36
|
+
"includeDefaultActionsDisabled",
|
|
37
|
+
"layers",
|
|
38
|
+
"messageOverrides",
|
|
39
|
+
"referenceElement",
|
|
40
|
+
"traceResult",
|
|
41
|
+
"utilityNetwork",
|
|
42
|
+
"view"
|
|
43
|
+
], _ = [
|
|
44
|
+
"traceResult"
|
|
45
|
+
], f = {
|
|
11
46
|
dirtyAreasDiscovered: -2147208511,
|
|
12
47
|
noValidControllers: -2147208935,
|
|
13
48
|
pathNotFound: -2147208444
|
|
14
49
|
};
|
|
15
|
-
class
|
|
50
|
+
class x extends w {
|
|
16
51
|
constructor() {
|
|
17
|
-
super(...arguments), this._messages =
|
|
52
|
+
super(...arguments), this._messages = C({ blocking: !0 }), this.#t = /* @__PURE__ */ new Set(), this.#s = /* @__PURE__ */ new Map(), this._slottedResultItems = [], this.aggregatedGeometryGraphicsColor = new I([255, 255, 0, 0.6]), this.autoDestroyDisabled = !1, this.disableHighlightFeatureResults = !1, this.expandable = !1, this.expanded = !1, this.hideActionBar = !1, this.hideGraphics = !1, this.hidePlaceholder = !1, this.hideFeatureResults = !1, this.includeDefaultActionsDisabled = !1, this.layers = [], this.state = "ready", this.arcgisPropertyChange = $()("aggregatedGeometryGraphicsColor", "hideGraphics", "state", "traceError"), this.arcgisResultsReady = u(), this.arcgisTraceResultClear = u(), this.arcgisTriggerAction = u();
|
|
18
53
|
}
|
|
19
54
|
static {
|
|
20
|
-
this.properties = { actions: 0, aggregatedGeometryGraphicsColor: 0, autoDestroyDisabled: 5, disableHighlightFeatureResults: 5, heading: 1, hideActionBar: 5, hideGraphics: 5, hidePlaceholder: 5, hideFeatureResults: 5, includeDefaultActionsDisabled: 5, layers: 0, messageOverrides: 0, numFeatureResults: 32, referenceElement: 1, state:
|
|
55
|
+
this.properties = { _slottedResultItems: 16, actions: 0, aggregatedGeometryGraphicsColor: 0, autoDestroyDisabled: 5, disableHighlightFeatureResults: 5, expandable: 5, expanded: 5, heading: 1, hideActionBar: 5, hideGraphics: 5, hidePlaceholder: 5, hideFeatureResults: 5, includeDefaultActionsDisabled: 5, layers: 0, messageOverrides: 0, numFeatureResults: 32, referenceElement: 1, state: 32, traceError: 0, traceResult: 0, traceResultFeatures: 32, utilityNetwork: 0, view: 0 };
|
|
21
56
|
}
|
|
22
57
|
static {
|
|
23
|
-
this.styles =
|
|
58
|
+
this.styles = k;
|
|
24
59
|
}
|
|
25
|
-
#
|
|
60
|
+
#l;
|
|
26
61
|
#e;
|
|
62
|
+
#n;
|
|
63
|
+
#t;
|
|
64
|
+
#s;
|
|
65
|
+
get #o() {
|
|
66
|
+
return Array.from(this.el.childNodes).some((e) => e.nodeType === Node.TEXT_NODE ? !!e.textContent?.trim() : e instanceof Element && !e.slot);
|
|
67
|
+
}
|
|
68
|
+
get #v() {
|
|
69
|
+
return this.traceResult ? this.#o ? this.#F() : this.#C(this.traceResult) : [];
|
|
70
|
+
}
|
|
71
|
+
get #i() {
|
|
72
|
+
return !!this.traceResult && !this.traceError && this.#c;
|
|
73
|
+
}
|
|
74
|
+
get #h() {
|
|
75
|
+
if (!this.traceResult || !this.#c || !this._slottedResultItems.length)
|
|
76
|
+
return !1;
|
|
77
|
+
const { aggregatedGeometry: e, elements: t, globalFunctionResults: s } = this.traceResult;
|
|
78
|
+
return this._slottedResultItems.some((i) => e != null && g(i) || t.length > 0 && n(i) || s.length > 0 && m(i));
|
|
79
|
+
}
|
|
80
|
+
get #c() {
|
|
81
|
+
if (!this.traceResult)
|
|
82
|
+
return !1;
|
|
83
|
+
const { elements: e, globalFunctionResults: t, aggregatedGeometry: s } = this.traceResult;
|
|
84
|
+
return !!(e.length || t.length || s);
|
|
85
|
+
}
|
|
27
86
|
get numFeatureResults() {
|
|
28
|
-
return this.#e?.numResults ?? 0;
|
|
87
|
+
return this.#e ? this.#e.numResults : this._slottedResultItems.find((t) => n(t))?.numResults ?? 0;
|
|
29
88
|
}
|
|
30
89
|
get traceResultFeatures() {
|
|
31
|
-
return this.#e?.features ?? [];
|
|
90
|
+
return this.#e ? this.#e.features : this._slottedResultItems.find((t) => n(t))?.features ?? [];
|
|
32
91
|
}
|
|
33
92
|
clearResults() {
|
|
34
|
-
this.#
|
|
93
|
+
this.#u(), this.arcgisTraceResultClear.emit();
|
|
35
94
|
}
|
|
36
95
|
async destroy() {
|
|
37
|
-
|
|
96
|
+
const e = await Promise.allSettled([
|
|
97
|
+
...this._slottedResultItems.map((t) => t.destroy()),
|
|
98
|
+
this.#l?.destroy(),
|
|
99
|
+
this.#e?.destroy(),
|
|
100
|
+
this.#n?.destroy()
|
|
101
|
+
]);
|
|
102
|
+
for (const t of e)
|
|
103
|
+
t.status === "rejected" && F(t.reason, this, "Error while destroying trace result item");
|
|
104
|
+
await this.manager.destroy();
|
|
38
105
|
}
|
|
39
106
|
load() {
|
|
40
|
-
this.
|
|
107
|
+
this.manager.onLifecycle(() => {
|
|
108
|
+
for (const e of this._slottedResultItems)
|
|
109
|
+
this.#m(e);
|
|
110
|
+
return () => {
|
|
111
|
+
for (const e of this.#s.keys())
|
|
112
|
+
this.#f(e);
|
|
113
|
+
};
|
|
114
|
+
}), this.traceResult && (this.view || G("warn", this, E("view")));
|
|
41
115
|
}
|
|
42
|
-
|
|
43
|
-
e && (this.#
|
|
116
|
+
willUpdate(e) {
|
|
117
|
+
e.has("view") && this.#D(), e.has("traceResult") && (this.#u(), this.#i && this.#g(this.#v)), this.#i && this._slottedResultItems.length && (this.#b(e), this.#G(e), this.#E(e));
|
|
44
118
|
}
|
|
45
|
-
#
|
|
119
|
+
#u() {
|
|
120
|
+
this.#l?.clearResult(), this.#e?.clearResult(), this.#n?.clearResult(), this._slottedResultItems.forEach((e) => e.clearResult()), this.#t.clear(), d(() => this.state = "ready");
|
|
121
|
+
}
|
|
122
|
+
#I(e) {
|
|
123
|
+
e && (this.#l = e);
|
|
124
|
+
}
|
|
125
|
+
#w(e) {
|
|
46
126
|
e && (this.#e = e);
|
|
47
127
|
}
|
|
48
|
-
|
|
128
|
+
#$(e) {
|
|
129
|
+
e && (this.#n = e);
|
|
130
|
+
}
|
|
131
|
+
#b(e) {
|
|
132
|
+
const t = this._slottedResultItems.filter((s) => g(s));
|
|
133
|
+
A.filter((s) => e.has(s)).forEach((s) => {
|
|
134
|
+
t.forEach((i) => this.#y(i, s, this[s]));
|
|
135
|
+
}), e.has("aggregatedGeometryGraphicsColor") && t.forEach((s) => this.#y(s, "graphicsColor", this.aggregatedGeometryGraphicsColor));
|
|
136
|
+
}
|
|
137
|
+
#G(e) {
|
|
138
|
+
const t = this._slottedResultItems.filter((s) => n(s));
|
|
139
|
+
P.filter((s) => e.has(s)).forEach((s) => {
|
|
140
|
+
t.forEach((i) => this.#p(i, s, this[s]));
|
|
141
|
+
}), e.has("disableHighlightFeatureResults") && t.forEach((s) => this.#p(s, "disableHighlight", this.disableHighlightFeatureResults));
|
|
142
|
+
}
|
|
143
|
+
#E(e) {
|
|
144
|
+
const t = this._slottedResultItems.filter((s) => m(s));
|
|
145
|
+
_.filter((s) => e.has(s)).forEach((s) => {
|
|
146
|
+
t.forEach((i) => this.#a(i, s, this[s]));
|
|
147
|
+
}), e.has("heading") && t.forEach((s) => this.#a(s, "heading", this._messages.headings.functions));
|
|
148
|
+
}
|
|
149
|
+
async #D() {
|
|
150
|
+
const { view: e } = this;
|
|
151
|
+
if (e) {
|
|
152
|
+
await e.when();
|
|
153
|
+
for (const t of this._slottedResultItems)
|
|
154
|
+
this.#R(t);
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
#C(e) {
|
|
158
|
+
const { elements: t, globalFunctionResults: s, aggregatedGeometry: i } = e, [l, y, p] = o, c = [];
|
|
159
|
+
return i != null && c.push(l), t != null && c.push(y), s.length > 0 && c.push(p), c;
|
|
160
|
+
}
|
|
161
|
+
#F() {
|
|
162
|
+
return Array.from(this.el.children).filter((e) => e.matches(R));
|
|
163
|
+
}
|
|
164
|
+
#k(e) {
|
|
49
165
|
const { detail: t } = e;
|
|
50
166
|
t.name === "isFeaturesListShown" && this.requestUpdate();
|
|
51
167
|
}
|
|
52
|
-
#
|
|
53
|
-
this.arcgisTraceResultFeaturesReady.emit(), this.state = "ready";
|
|
54
|
-
}
|
|
55
|
-
#n(e) {
|
|
168
|
+
#A(e) {
|
|
56
169
|
e.stopPropagation(), this.arcgisTriggerAction.emit(e.detail);
|
|
57
170
|
}
|
|
58
|
-
#
|
|
171
|
+
#P(e) {
|
|
59
172
|
const { detail: t, target: s } = e;
|
|
60
173
|
t.name === "hideGraphics" ? (e.stopPropagation(), this.hideGraphics = s[t.name]) : t.name === "graphicsColor" && (e.stopPropagation(), this.aggregatedGeometryGraphicsColor = s[t.name]);
|
|
61
174
|
}
|
|
175
|
+
#_() {
|
|
176
|
+
this.#r(o[0]);
|
|
177
|
+
}
|
|
178
|
+
#x() {
|
|
179
|
+
this.#r(o[1]);
|
|
180
|
+
}
|
|
181
|
+
#N() {
|
|
182
|
+
this.#r(o[2]);
|
|
183
|
+
}
|
|
184
|
+
#d() {
|
|
185
|
+
d(() => this.state = "ready"), this.arcgisResultsReady.emit();
|
|
186
|
+
}
|
|
187
|
+
#g(e) {
|
|
188
|
+
this.#t = new Set(e), this.#t.size === 0 ? this.#d() : d(() => this.state = "loading");
|
|
189
|
+
}
|
|
190
|
+
#m(e) {
|
|
191
|
+
if (this.#s.has(e))
|
|
192
|
+
return;
|
|
193
|
+
const t = ({ target: s }) => this.#r(s);
|
|
194
|
+
this.#s.set(e, t), e.addEventListener("arcgisResultReady", t);
|
|
195
|
+
}
|
|
196
|
+
#f(e) {
|
|
197
|
+
const t = this.#s.get(e);
|
|
198
|
+
t && (e.removeEventListener("arcgisResultReady", t), this.#s.delete(e));
|
|
199
|
+
}
|
|
200
|
+
#T(e) {
|
|
201
|
+
const t = b(e, R);
|
|
202
|
+
for (const s of this.#s.keys())
|
|
203
|
+
t.includes(s) || (this.#f(s), this.#t.delete(s));
|
|
204
|
+
this._slottedResultItems = t, this.#i && this.#g(t);
|
|
205
|
+
for (const s of this._slottedResultItems)
|
|
206
|
+
this.#m(s), this.#R(s);
|
|
207
|
+
}
|
|
208
|
+
#r(e) {
|
|
209
|
+
this.#t.delete(e), this.state === "loading" && this.#t.size === 0 && this.#d();
|
|
210
|
+
}
|
|
211
|
+
#R(e) {
|
|
212
|
+
g(e) ? this.#S(e) : n(e) ? this.#H(e) : m(e) && this.#L(e);
|
|
213
|
+
}
|
|
214
|
+
#y(e, t, s) {
|
|
215
|
+
e[t] = s;
|
|
216
|
+
}
|
|
217
|
+
#S(e) {
|
|
218
|
+
const t = {
|
|
219
|
+
autoDestroyDisabled: this.autoDestroyDisabled,
|
|
220
|
+
graphicsColor: this.aggregatedGeometryGraphicsColor,
|
|
221
|
+
hideGraphics: this.hideGraphics,
|
|
222
|
+
traceResult: this.traceResult,
|
|
223
|
+
view: this.view
|
|
224
|
+
};
|
|
225
|
+
Object.assign(e, t);
|
|
226
|
+
}
|
|
227
|
+
#p(e, t, s) {
|
|
228
|
+
e[t] = s;
|
|
229
|
+
}
|
|
230
|
+
#H(e) {
|
|
231
|
+
const t = {
|
|
232
|
+
actions: this.actions,
|
|
233
|
+
autoDestroyDisabled: this.autoDestroyDisabled,
|
|
234
|
+
disableHighlight: this.disableHighlightFeatureResults,
|
|
235
|
+
hideActionBar: this.hideActionBar,
|
|
236
|
+
hideFeatureResults: this.hideFeatureResults,
|
|
237
|
+
hidePlaceholder: this.hidePlaceholder,
|
|
238
|
+
includeDefaultActionsDisabled: this.includeDefaultActionsDisabled,
|
|
239
|
+
layers: this.layers,
|
|
240
|
+
messageOverrides: this.messageOverrides,
|
|
241
|
+
referenceElement: this.referenceElement,
|
|
242
|
+
traceResult: this.traceResult,
|
|
243
|
+
utilityNetwork: this.utilityNetwork,
|
|
244
|
+
view: this.view
|
|
245
|
+
};
|
|
246
|
+
Object.assign(e, t);
|
|
247
|
+
}
|
|
248
|
+
#a(e, t, s) {
|
|
249
|
+
e[t] = s;
|
|
250
|
+
}
|
|
251
|
+
#L(e) {
|
|
252
|
+
const t = {
|
|
253
|
+
heading: this._messages.headings.functions,
|
|
254
|
+
traceResult: this.traceResult
|
|
255
|
+
};
|
|
256
|
+
this.#a(e, "heading", t.heading), this.#a(e, "traceResult", t.traceResult);
|
|
257
|
+
}
|
|
62
258
|
render() {
|
|
63
259
|
const { traceError: e, traceResult: t } = this;
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
return this.#m();
|
|
68
|
-
const { elements: s, globalFunctionResults: a, aggregatedGeometry: r } = t;
|
|
69
|
-
return !s.length && !a.length && !r ? this.#u() : i`<calcite-panel class="white-panel-background">${this.state === "loading" ? this.#o() : null}${this.#d(t)}</calcite-panel>`;
|
|
260
|
+
let s;
|
|
261
|
+
const i = !this.#i || !this.#o || !this.#h, l = r`<slot .hidden=${i} @slotchange=${this.#T}></slot>`;
|
|
262
|
+
return e ? s = this.#z(e) : t ? this.#c ? this.#o ? this.#h || (s = this.#B()) : s = this.#O(t) : s = this.#j() : s = this.#V(), r`<calcite-block class="results-block" .description=${this.heading} .expandable=${this.expandable} .expanded=${this.expanded} .heading=${this._messages.headings.traceResultsGeneric} .label=${this._messages.headings.traceResultsGeneric} .loading=${this.state === "loading"}>${l}${s}</calcite-block>`;
|
|
70
263
|
}
|
|
71
|
-
#
|
|
72
|
-
|
|
264
|
+
#O(e) {
|
|
265
|
+
const t = this.#e?.isFeaturesListShown, { elements: s, globalFunctionResults: i, aggregatedGeometry: l } = e;
|
|
266
|
+
return r`<div class="default-result-items">${l != null ? r`<arcgis-utility-network-trace-aggregated-geometry-result-item auto-destroy-disabled .graphicsColor=${this.aggregatedGeometryGraphicsColor} .hideGraphics=${this.hideGraphics} .hidden=${t} .traceResult=${e} .view=${this.view} @arcgisPropertyChange=${this.#P} @arcgisResultReady=${this.#_} ${h(this.#I)}></arcgis-utility-network-trace-aggregated-geometry-result-item>${!s.length && !t ? this.#M() : null}` : null}${s != null ? r`<arcgis-utility-network-trace-elements-result-item .actions=${this.actions} auto-destroy-disabled .disableHighlight=${this.disableHighlightFeatureResults} .hideActionBar=${this.hideActionBar} .hideFeatureResults=${this.hideFeatureResults} .hidePlaceholder=${this.hidePlaceholder} .hidden=${!s.length} .includeDefaultActionsDisabled=${this.includeDefaultActionsDisabled} .layers=${this.layers} .messageOverrides=${this.messageOverrides} .referenceElement=${this.referenceElement} .traceResult=${e} .utilityNetwork=${this.utilityNetwork} .view=${this.view} @arcgisPropertyChange=${this.#k} @arcgisResultReady=${this.#x} @arcgisTriggerAction=${this.#A} ${h(this.#w)}></arcgis-utility-network-trace-elements-result-item>` : null}${i.length > 0 ? r`<arcgis-utility-network-trace-functions-result-item .heading=${this._messages.headings.functions} .hidden=${t} .traceResult=${e} @arcgisResultReady=${this.#N} ${h(this.#$)}></arcgis-utility-network-trace-functions-result-item>` : null}</div>`;
|
|
73
267
|
}
|
|
74
|
-
#
|
|
75
|
-
|
|
76
|
-
return i`<div .hidden=${this.state === "loading"}>${t ? null : this.#t()}${r != null ? i`<arcgis-utility-network-trace-aggregated-geometry-result-item auto-destroy-disabled .graphicsColor=${this.aggregatedGeometryGraphicsColor} .hideGraphics=${this.hideGraphics} .hidden=${t} .traceResult=${e} .view=${this.view} @arcgisPropertyChange=${this.#c} ${n(this.#i)}></arcgis-utility-network-trace-aggregated-geometry-result-item>${!s.length && !t ? this.#g() : null}` : null}${s != null ? i`<arcgis-utility-network-trace-elements-result-item .actions=${this.actions} auto-destroy-disabled .disableHighlightFeatureResults=${this.disableHighlightFeatureResults} .hideActionBar=${this.hideActionBar} .hideFeatureResults=${this.hideFeatureResults} .hidePlaceholder=${this.hidePlaceholder} .hidden=${!s.length} .includeDefaultActionsDisabled=${this.includeDefaultActionsDisabled} .layers=${this.layers} .messageOverrides=${this.messageOverrides} .referenceElement=${this.referenceElement} .traceResult=${e} .utilityNetwork=${this.utilityNetwork} .view=${this.view} @arcgisPropertyChange=${this.#r} @arcgisResultReady=${this.#l} @arcgisTriggerAction=${this.#n} ${n(this.#a)}></arcgis-utility-network-trace-elements-result-item>` : null}${a.length > 0 ? i`<arcgis-utility-network-trace-functions-result-item .heading=${this._messages.headings.functions} .hidden=${t} .traceResult=${e}></arcgis-utility-network-trace-functions-result-item>` : null}</div>`;
|
|
268
|
+
#B() {
|
|
269
|
+
return r`<div class="no-selectable-results">${this._messages.noMatchingResultItems}</div>`;
|
|
77
270
|
}
|
|
78
|
-
#
|
|
79
|
-
return
|
|
271
|
+
#M() {
|
|
272
|
+
return r`<div class="no-selectable-results">${this._messages.noSelectableFeatures}</div>`;
|
|
80
273
|
}
|
|
81
|
-
#
|
|
82
|
-
return i`<div class="results-heading"><div class="results-heading-title">${this._messages.headings.traceResultsGeneric}</div>${this.heading ? i`<div class="results-heading-subtitle">${this.heading}</div>` : null}</div>`;
|
|
83
|
-
}
|
|
84
|
-
#h(e) {
|
|
274
|
+
#z(e) {
|
|
85
275
|
const { _messages: t } = this;
|
|
86
276
|
let s = e.message;
|
|
87
277
|
switch (e.details?.raw?.extendedCode) {
|
|
88
|
-
case
|
|
278
|
+
case f.dirtyAreasDiscovered:
|
|
89
279
|
s = t.traceErrors.dirtyAreasDiscovered;
|
|
90
280
|
break;
|
|
91
|
-
case
|
|
281
|
+
case f.noValidControllers:
|
|
92
282
|
s = t.traceErrors.noValidControllers;
|
|
93
283
|
break;
|
|
94
|
-
case
|
|
284
|
+
case f.pathNotFound:
|
|
95
285
|
s = t.traceErrors.pathNotFound;
|
|
96
286
|
break;
|
|
97
287
|
}
|
|
98
|
-
return
|
|
288
|
+
return r`<div class="no-results-landing"><calcite-icon icon=exclamation-mark-triangle scale=l></calcite-icon><div class="no-results-heading">${t.traceFailedHeading}</div><div class="no-results-description">${t.traceFailedDescription}</div><div class="no-results-description">${s}</div></div>`;
|
|
99
289
|
}
|
|
100
|
-
#
|
|
290
|
+
#j() {
|
|
101
291
|
const { _messages: e } = this;
|
|
102
|
-
return
|
|
292
|
+
return r`<div class="no-results-landing"><calcite-icon icon=exclamation-mark-triangle scale=l></calcite-icon><div class="no-results-heading">${e.noResultsHeading}</div><div class="no-results-description">${e.noResultsDescription}</div></div>`;
|
|
103
293
|
}
|
|
104
|
-
#
|
|
294
|
+
#V() {
|
|
105
295
|
const { _messages: e } = this;
|
|
106
|
-
return
|
|
296
|
+
return r`<div class="no-results-landing"><calcite-icon icon=utility-network-trace scale=l></calcite-icon><div class="no-results-heading">${e.noTraceConfigHeading}</div><div class="no-results-description">${e.noTraceConfigDescription}</div></div>`;
|
|
107
297
|
}
|
|
108
298
|
}
|
|
109
|
-
|
|
299
|
+
v("arcgis-utility-network-trace-results", x);
|
|
110
300
|
export {
|
|
111
|
-
|
|
301
|
+
x as ArcgisUtilityNetworkTraceResults
|
|
112
302
|
};
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import "@esri/calcite-components/components/calcite-
|
|
2
|
-
import "@esri/calcite-components/components/calcite-loader";
|
|
1
|
+
import "@esri/calcite-components/components/calcite-block";
|
|
3
2
|
import "../arcgis-utility-network-trace-aggregated-geometry-result-item/index.js";
|
|
4
3
|
import "../arcgis-utility-network-trace-elements-result-item/index.js";
|
|
5
4
|
import "../arcgis-utility-network-trace-functions-result-item/index.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
2
|
import { c as i } from "../../chunks/runtime.js";
|
|
3
|
-
import { css as
|
|
4
|
-
import { LitElement as
|
|
5
|
-
import { slotChangeGetAssignedElements as
|
|
3
|
+
import { css as l, html as n } from "lit";
|
|
4
|
+
import { LitElement as a } from "@arcgis/lumina";
|
|
5
|
+
import { slotChangeGetAssignedElements as o } from "@arcgis/toolkit/dom/slots";
|
|
6
6
|
import { log as e } from "@arcgis/toolkit/log";
|
|
7
|
-
const c =
|
|
8
|
-
class h extends
|
|
7
|
+
const c = l`:host{height:100%}calcite-panel{--calcite-panel-space: 0}slot::slotted(arcgis-utility-network-trace-results){block-size:auto}slot::slotted(:not(arcgis-utility-network-trace-results,slot)){display:none}`;
|
|
8
|
+
class h extends a {
|
|
9
9
|
constructor() {
|
|
10
10
|
super(...arguments), this.hideWarnings = !1;
|
|
11
11
|
}
|
|
@@ -18,7 +18,7 @@ class h extends o {
|
|
|
18
18
|
#t(s) {
|
|
19
19
|
if (this.hideWarnings)
|
|
20
20
|
return;
|
|
21
|
-
const t =
|
|
21
|
+
const t = o(s);
|
|
22
22
|
if (!t.length) {
|
|
23
23
|
e("warn", this, "No elements are assigned to the default slot to render.");
|
|
24
24
|
return;
|
|
@@ -26,7 +26,7 @@ class h extends o {
|
|
|
26
26
|
t.filter((r) => r.localName !== "arcgis-utility-network-trace-results").length && e("warn", this, "The trace results pane only renders instances of `arcgis-utility-network-trace-results`.");
|
|
27
27
|
}
|
|
28
28
|
render() {
|
|
29
|
-
return
|
|
29
|
+
return n`<calcite-panel><slot @slotchange=${this.#t}></slot></calcite-panel>`;
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
32
|
i("arcgis-utility-network-trace-results-pane", h);
|
|
@@ -11,7 +11,7 @@ import { generateGuid as I } from "@arcgis/toolkit/string";
|
|
|
11
11
|
import { u as L } from "../../chunks/useT9n.js";
|
|
12
12
|
import { u as S } from "../../chunks/useView.js";
|
|
13
13
|
import { c as C, t as n, i as O, l as D } from "../../chunks/async-utils.js";
|
|
14
|
-
import {
|
|
14
|
+
import { e as q } from "../../chunks/layer-utils.js";
|
|
15
15
|
const P = V`: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-panel-gap: var(--calcite-spacing-lg);--arcgis-internal-panel-actions-gap: var(--calcite-spacing-sm);--arcgis-internal-basemap-gallery-width-lg: 450px;--arcgis-internal-collapse-icon-flip: scaleX(1);--arcgis-internal-row-direction: row;--arcgis-internal-legend-width: 300px;--arcgis-internal-layout-overlay-space-top: var(--arcgis-layout-overlay-space-top, 0px);--arcgis-internal-layout-overlay-space-bottom: var(--arcgis-layout-overlay-space-bottom, 0px);--arcgis-internal-layout-overlay-space-left: var(--arcgis-layout-overlay-space-left, 0px);--arcgis-internal-layout-overlay-space-right: var(--arcgis-layout-overlay-space-right, 0px);--arcgis-internal-view-color-focus: var(--arcgis-view-color-focus, var(--calcite-color-brand));--arcgis-internal-attribution-space-bottom: var(--arcgis-internal-layout-overlay-space-bottom);--arcgis-internal-attribution-space-left: var(--arcgis-internal-layout-overlay-space-left);--arcgis-internal-attribution-space-right: var(--arcgis-internal-layout-overlay-space-right);--arcgis-internal-attribution-font-size: var(--calcite-font-size-sm);--arcgis-internal-attribution-font-size-sm: var(--calcite-font-size-xs);--arcgis-internal-sketch-justify-content: flex-start}:host{display:flex;flex-direction:column;height:var(--arcgis-internal-panel-height, 100%)}calcite-block{margin:0;border-bottom:none}calcite-combobox{margin-bottom:var(--calcite-spacing-sm)}calcite-icon{width:32px}`, d = {
|
|
16
16
|
noDirtyAreasInExtent: -2147208940,
|
|
17
17
|
operationOnlyAllowedByOwner: -2147217144,
|