@arcgis/map-components 5.1.0-next.102 → 5.1.0-next.104
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/37PU5RQF.js +2 -0
- package/dist/cdn/{3EF4MN6L.js → 42YT33SI.js} +1 -1
- package/dist/cdn/{FBVHVWJP.js → 4BUXOQ5X.js} +1 -1
- package/dist/cdn/{J3MFZHTJ.js → 4P5SOHAK.js} +1 -1
- package/dist/cdn/{SFXP3DOP.js → 5CVCIDET.js} +1 -1
- package/dist/cdn/{H43ZBRJO.js → 5F4QQFMV.js} +1 -1
- package/dist/cdn/{IQHG6OT4.js → 5FHYTVXJ.js} +1 -1
- package/dist/cdn/{SEJ6JCXN.js → 6SLFSRO3.js} +1 -1
- package/dist/cdn/{5AY6FU6R.js → 6U7WM64M.js} +1 -1
- package/dist/cdn/{MFXNJZSL.js → 7MG2HVHJ.js} +1 -1
- package/dist/cdn/7YEXZHW3.js +2 -0
- package/dist/cdn/{7UZP3RBC.js → AWQHNAWY.js} +1 -1
- package/dist/cdn/{TZKT637Q.js → C5RCUSYN.js} +1 -1
- package/dist/cdn/CXPIQET3.js +2 -0
- package/dist/cdn/{GHISRID5.js → D4ATYXZL.js} +1 -1
- package/dist/cdn/{5FEFHUMM.js → DWWDCRDK.js} +1 -1
- package/dist/cdn/{6QTNDMTM.js → EE4OHTHH.js} +1 -1
- package/dist/cdn/{ZYG4YNMK.js → GAWULXAQ.js} +1 -1
- package/dist/cdn/{CY5MXN4Q.js → GBHDATFS.js} +1 -1
- package/dist/cdn/GFXNIWNG.js +2 -0
- package/dist/cdn/{MGLV5EEI.js → HVKDLP74.js} +1 -1
- package/dist/cdn/{K6JERTMI.js → I7HKS77T.js} +1 -1
- package/dist/cdn/ICIX7OQK.js +2 -0
- package/dist/cdn/JW6K33EY.js +2 -0
- package/dist/cdn/LFFZNI4J.js +2 -0
- package/dist/cdn/{P27CM5PI.js → LTUURA6B.js} +1 -1
- package/dist/cdn/{T5YUD4HI.js → MLD4FBFB.js} +1 -1
- package/dist/cdn/MXXKVA3L.js +2 -0
- package/dist/cdn/{SBWTPIZH.js → NWLO4YJB.js} +1 -1
- package/dist/cdn/{KEKKHAC3.js → OGV2KLWY.js} +1 -1
- package/dist/cdn/{RQQW45SO.js → P36R3KMU.js} +1 -1
- package/dist/cdn/{7KIORSA4.js → PO4N3MEU.js} +1 -1
- package/dist/cdn/{6HRKATQQ.js → S36YQI7W.js} +1 -1
- package/dist/cdn/{KGWDZNHG.js → SKRNQKVO.js} +1 -1
- package/dist/cdn/{DU33A6QD.js → T2RNAPRO.js} +1 -1
- package/dist/cdn/{2M7OVKOX.js → UCPJMQPU.js} +1 -1
- package/dist/cdn/{YNGHIC64.js → UNFS72TS.js} +1 -1
- package/dist/cdn/{HYNB4OPZ.js → VDSKVXIQ.js} +1 -1
- package/dist/cdn/{PWCOBDBK.js → VSZ3LZA2.js} +1 -1
- package/dist/cdn/{CUJU6FOW.js → YGYGCNWI.js} +1 -1
- package/dist/cdn/{ZVTZRBDZ.js → Z5RIW77H.js} +1 -1
- package/dist/cdn/ZDOE5UWP.js +2 -0
- package/dist/cdn/assets/search/t9n/messages.ar.json +1 -1
- package/dist/cdn/assets/search/t9n/messages.bg.json +1 -1
- package/dist/cdn/assets/search/t9n/messages.bs.json +1 -1
- package/dist/cdn/assets/search/t9n/messages.ca.json +1 -1
- package/dist/cdn/assets/search/t9n/messages.cs.json +1 -1
- package/dist/cdn/assets/search/t9n/messages.da.json +1 -1
- package/dist/cdn/assets/search/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/search/t9n/messages.el.json +1 -1
- package/dist/cdn/assets/search/t9n/messages.es.json +1 -1
- package/dist/cdn/assets/search/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/search/t9n/messages.fi.json +1 -1
- package/dist/cdn/assets/search/t9n/messages.fr.json +1 -1
- package/dist/cdn/assets/search/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/search/t9n/messages.hr.json +1 -1
- package/dist/cdn/assets/search/t9n/messages.hu.json +1 -1
- package/dist/cdn/assets/search/t9n/messages.id.json +1 -1
- package/dist/cdn/assets/search/t9n/messages.it.json +1 -1
- package/dist/cdn/assets/search/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/search/t9n/messages.ko.json +1 -1
- package/dist/cdn/assets/search/t9n/messages.lt.json +1 -1
- package/dist/cdn/assets/search/t9n/messages.lv.json +1 -1
- package/dist/cdn/assets/search/t9n/messages.nl.json +1 -1
- package/dist/cdn/assets/search/t9n/messages.no.json +1 -1
- package/dist/cdn/assets/search/t9n/messages.pl.json +1 -1
- package/dist/cdn/assets/search/t9n/messages.pt-BR.json +1 -1
- package/dist/cdn/assets/search/t9n/messages.pt-PT.json +1 -1
- package/dist/cdn/assets/search/t9n/messages.ro.json +1 -1
- package/dist/cdn/assets/search/t9n/messages.ru.json +1 -1
- package/dist/cdn/assets/search/t9n/messages.sk.json +1 -1
- package/dist/cdn/assets/search/t9n/messages.sl.json +1 -1
- package/dist/cdn/assets/search/t9n/messages.sr.json +1 -1
- package/dist/cdn/assets/search/t9n/messages.sv.json +1 -1
- package/dist/cdn/assets/search/t9n/messages.th.json +1 -1
- package/dist/cdn/assets/search/t9n/messages.tr.json +1 -1
- package/dist/cdn/assets/search/t9n/messages.uk.json +1 -1
- package/dist/cdn/assets/search/t9n/messages.vi.json +1 -1
- package/dist/cdn/assets/search/t9n/messages.zh-CN.json +1 -1
- package/dist/cdn/assets/search/t9n/messages.zh-HK.json +1 -1
- package/dist/cdn/assets/search/t9n/messages.zh-TW.json +1 -1
- package/dist/cdn/assets/slider-time/t9n/messages.ar.json +1 -0
- package/dist/cdn/assets/slider-time/t9n/messages.bg.json +1 -0
- package/dist/cdn/assets/slider-time/t9n/messages.bs.json +1 -0
- package/dist/cdn/assets/slider-time/t9n/messages.ca.json +1 -0
- package/dist/cdn/assets/slider-time/t9n/messages.cs.json +1 -0
- package/dist/cdn/assets/slider-time/t9n/messages.da.json +1 -0
- package/dist/cdn/assets/slider-time/t9n/messages.de.json +1 -0
- package/dist/cdn/assets/slider-time/t9n/messages.el.json +1 -0
- package/dist/cdn/assets/slider-time/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/slider-time/t9n/messages.es.json +1 -0
- package/dist/cdn/assets/slider-time/t9n/messages.et.json +1 -0
- package/dist/cdn/assets/slider-time/t9n/messages.fi.json +1 -0
- package/dist/cdn/assets/slider-time/t9n/messages.fr.json +1 -0
- package/dist/cdn/assets/slider-time/t9n/messages.he.json +1 -0
- package/dist/cdn/assets/slider-time/t9n/messages.hr.json +1 -0
- package/dist/cdn/assets/slider-time/t9n/messages.hu.json +1 -0
- package/dist/cdn/assets/slider-time/t9n/messages.id.json +1 -0
- package/dist/cdn/assets/slider-time/t9n/messages.it.json +1 -0
- package/dist/cdn/assets/slider-time/t9n/messages.ja.json +1 -0
- package/dist/cdn/assets/slider-time/t9n/messages.ko.json +1 -0
- package/dist/cdn/assets/slider-time/t9n/messages.lt.json +1 -0
- package/dist/cdn/assets/slider-time/t9n/messages.lv.json +1 -0
- package/dist/cdn/assets/slider-time/t9n/messages.nl.json +1 -0
- package/dist/cdn/assets/slider-time/t9n/messages.no.json +1 -0
- package/dist/cdn/assets/slider-time/t9n/messages.pl.json +1 -0
- package/dist/cdn/assets/slider-time/t9n/messages.pt-BR.json +1 -0
- package/dist/cdn/assets/slider-time/t9n/messages.pt-PT.json +1 -0
- package/dist/cdn/assets/slider-time/t9n/messages.ro.json +1 -0
- package/dist/cdn/assets/slider-time/t9n/messages.ru.json +1 -0
- package/dist/cdn/assets/slider-time/t9n/messages.sk.json +1 -0
- package/dist/cdn/assets/slider-time/t9n/messages.sl.json +1 -0
- package/dist/cdn/assets/slider-time/t9n/messages.sr.json +1 -0
- package/dist/cdn/assets/slider-time/t9n/messages.sv.json +1 -0
- package/dist/cdn/assets/slider-time/t9n/messages.th.json +1 -0
- package/dist/cdn/assets/slider-time/t9n/messages.tr.json +1 -0
- package/dist/cdn/assets/slider-time/t9n/messages.uk.json +1 -0
- package/dist/cdn/assets/slider-time/t9n/messages.vi.json +1 -0
- package/dist/cdn/assets/slider-time/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/slider-time/t9n/messages.zh-HK.json +1 -0
- package/dist/cdn/assets/slider-time/t9n/messages.zh-TW.json +1 -0
- package/dist/cdn/assets/unit-select/t9n/messages.ar.json +1 -1
- package/dist/cdn/assets/unit-select/t9n/messages.bg.json +1 -1
- package/dist/cdn/assets/unit-select/t9n/messages.bs.json +1 -1
- package/dist/cdn/assets/unit-select/t9n/messages.ca.json +1 -1
- package/dist/cdn/assets/unit-select/t9n/messages.cs.json +1 -1
- package/dist/cdn/assets/unit-select/t9n/messages.da.json +1 -1
- package/dist/cdn/assets/unit-select/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/unit-select/t9n/messages.el.json +1 -1
- package/dist/cdn/assets/unit-select/t9n/messages.es.json +1 -1
- package/dist/cdn/assets/unit-select/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/unit-select/t9n/messages.fi.json +1 -1
- package/dist/cdn/assets/unit-select/t9n/messages.fr.json +1 -1
- package/dist/cdn/assets/unit-select/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/unit-select/t9n/messages.hr.json +1 -1
- package/dist/cdn/assets/unit-select/t9n/messages.hu.json +1 -1
- package/dist/cdn/assets/unit-select/t9n/messages.id.json +1 -1
- package/dist/cdn/assets/unit-select/t9n/messages.it.json +1 -1
- package/dist/cdn/assets/unit-select/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/unit-select/t9n/messages.ko.json +1 -1
- package/dist/cdn/assets/unit-select/t9n/messages.lt.json +1 -1
- package/dist/cdn/assets/unit-select/t9n/messages.lv.json +1 -1
- package/dist/cdn/assets/unit-select/t9n/messages.nl.json +1 -1
- package/dist/cdn/assets/unit-select/t9n/messages.no.json +1 -1
- package/dist/cdn/assets/unit-select/t9n/messages.pl.json +1 -1
- package/dist/cdn/assets/unit-select/t9n/messages.pt-BR.json +1 -1
- package/dist/cdn/assets/unit-select/t9n/messages.pt-PT.json +1 -1
- package/dist/cdn/assets/unit-select/t9n/messages.ro.json +1 -1
- package/dist/cdn/assets/unit-select/t9n/messages.ru.json +1 -1
- package/dist/cdn/assets/unit-select/t9n/messages.sk.json +1 -1
- package/dist/cdn/assets/unit-select/t9n/messages.sl.json +1 -1
- package/dist/cdn/assets/unit-select/t9n/messages.sr.json +1 -1
- package/dist/cdn/assets/unit-select/t9n/messages.sv.json +1 -1
- package/dist/cdn/assets/unit-select/t9n/messages.th.json +1 -1
- package/dist/cdn/assets/unit-select/t9n/messages.tr.json +1 -1
- package/dist/cdn/assets/unit-select/t9n/messages.uk.json +1 -1
- package/dist/cdn/assets/unit-select/t9n/messages.vi.json +1 -1
- package/dist/cdn/assets/unit-select/t9n/messages.zh-CN.json +1 -1
- package/dist/cdn/assets/unit-select/t9n/messages.zh-HK.json +1 -1
- package/dist/cdn/assets/unit-select/t9n/messages.zh-TW.json +1 -1
- package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/utility-network-trace-results/t9n/messages.ar.json +1 -1
- package/dist/cdn/assets/utility-network-trace-results/t9n/messages.bg.json +1 -1
- package/dist/cdn/assets/utility-network-trace-results/t9n/messages.bs.json +1 -1
- package/dist/cdn/assets/utility-network-trace-results/t9n/messages.ca.json +1 -1
- package/dist/cdn/assets/utility-network-trace-results/t9n/messages.cs.json +1 -1
- package/dist/cdn/assets/utility-network-trace-results/t9n/messages.da.json +1 -1
- package/dist/cdn/assets/utility-network-trace-results/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/utility-network-trace-results/t9n/messages.el.json +1 -1
- package/dist/cdn/assets/utility-network-trace-results/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/utility-network-trace-results/t9n/messages.es.json +1 -1
- package/dist/cdn/assets/utility-network-trace-results/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/utility-network-trace-results/t9n/messages.fi.json +1 -1
- package/dist/cdn/assets/utility-network-trace-results/t9n/messages.fr.json +1 -1
- package/dist/cdn/assets/utility-network-trace-results/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/utility-network-trace-results/t9n/messages.hr.json +1 -1
- package/dist/cdn/assets/utility-network-trace-results/t9n/messages.hu.json +1 -1
- package/dist/cdn/assets/utility-network-trace-results/t9n/messages.id.json +1 -1
- package/dist/cdn/assets/utility-network-trace-results/t9n/messages.it.json +1 -1
- package/dist/cdn/assets/utility-network-trace-results/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/utility-network-trace-results/t9n/messages.ko.json +1 -1
- package/dist/cdn/assets/utility-network-trace-results/t9n/messages.lt.json +1 -1
- package/dist/cdn/assets/utility-network-trace-results/t9n/messages.lv.json +1 -1
- package/dist/cdn/assets/utility-network-trace-results/t9n/messages.nl.json +1 -1
- package/dist/cdn/assets/utility-network-trace-results/t9n/messages.no.json +1 -1
- package/dist/cdn/assets/utility-network-trace-results/t9n/messages.pl.json +1 -1
- package/dist/cdn/assets/utility-network-trace-results/t9n/messages.pt-BR.json +1 -1
- package/dist/cdn/assets/utility-network-trace-results/t9n/messages.pt-PT.json +1 -1
- package/dist/cdn/assets/utility-network-trace-results/t9n/messages.ro.json +1 -1
- package/dist/cdn/assets/utility-network-trace-results/t9n/messages.ru.json +1 -1
- package/dist/cdn/assets/utility-network-trace-results/t9n/messages.sk.json +1 -1
- package/dist/cdn/assets/utility-network-trace-results/t9n/messages.sl.json +1 -1
- package/dist/cdn/assets/utility-network-trace-results/t9n/messages.sr.json +1 -1
- package/dist/cdn/assets/utility-network-trace-results/t9n/messages.sv.json +1 -1
- package/dist/cdn/assets/utility-network-trace-results/t9n/messages.th.json +1 -1
- package/dist/cdn/assets/utility-network-trace-results/t9n/messages.tr.json +1 -1
- package/dist/cdn/assets/utility-network-trace-results/t9n/messages.uk.json +1 -1
- package/dist/cdn/assets/utility-network-trace-results/t9n/messages.vi.json +1 -1
- package/dist/cdn/assets/utility-network-trace-results/t9n/messages.zh-CN.json +1 -1
- package/dist/cdn/assets/utility-network-trace-results/t9n/messages.zh-HK.json +1 -1
- package/dist/cdn/assets/utility-network-trace-results/t9n/messages.zh-TW.json +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/cdn/main.css +1 -1
- package/dist/chunks/async-utils.js +63 -51
- package/dist/chunks/time-utils.js +27 -15
- package/dist/chunks/useArcgisViewReadyError.js +115 -56
- package/dist/components/arcgis-bookmarks/customElement.d.ts +3 -0
- package/dist/components/arcgis-coordinate-conversion/customElement.js +6 -6
- package/dist/components/arcgis-daylight/customElement.js +1 -1
- package/dist/components/arcgis-directions/customElement.js +4 -4
- package/dist/components/arcgis-link-chart/customElement.d.ts +1 -0
- package/dist/components/arcgis-link-chart/customElement.js +13 -10
- package/dist/components/arcgis-map/customElement.d.ts +1 -0
- package/dist/components/arcgis-map/customElement.js +13 -10
- package/dist/components/arcgis-scene/customElement.d.ts +1 -0
- package/dist/components/arcgis-scene/customElement.js +23 -20
- package/dist/components/arcgis-search/customElement.d.ts +3 -0
- package/dist/components/arcgis-search/customElement.js +6 -6
- package/dist/components/arcgis-slider-time/customElement.d.ts +868 -0
- package/dist/components/arcgis-slider-time/customElement.js +740 -0
- package/dist/components/arcgis-slider-time/index.d.ts +1 -0
- package/dist/components/arcgis-slider-time/index.js +8 -0
- package/dist/components/arcgis-slider-time/types.d.ts +147 -0
- package/dist/components/arcgis-time-slider/customElement.d.ts +2 -1
- package/dist/components/arcgis-time-slider/customElement.js +2 -2
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.d.ts +18 -6
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +21 -21
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.d.ts +4 -4
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +16 -16
- package/dist/components/arcgis-utility-network-trace-results/customElement.d.ts +3 -0
- package/dist/components/arcgis-utility-network-trace-results/customElement.js +13 -9
- package/dist/components/arcgis-utility-network-validate-network-topology/customElement.d.ts +161 -35
- package/dist/components/arcgis-utility-network-validate-topology/customElement.d.ts +5 -1
- package/dist/components/arcgis-volume-measurement/customElement.d.ts +1 -3
- 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 +5 -4
- package/dist/types/lumina.d.ts +10 -2
- package/dist/types/preact.d.ts +11 -2
- package/dist/types/react.d.ts +12 -2
- package/dist/types/stencil.d.ts +10 -2
- package/package.json +4 -4
- package/dist/cdn/6E3T7FRP.js +0 -2
- package/dist/cdn/HIYCE253.js +0 -2
- package/dist/cdn/HW3D7A2P.js +0 -2
- package/dist/cdn/IQPGSWSL.js +0 -2
- package/dist/cdn/IU2X5JKR.js +0 -2
- package/dist/cdn/L7LTDZU6.js +0 -2
- package/dist/cdn/OSRU2RUW.js +0 -2
- package/dist/cdn/X6BCGFB3.js +0 -2
|
@@ -4,17 +4,18 @@ import y from "@arcgis/core/Color.js";
|
|
|
4
4
|
import "@arcgis/core/core/Error.js";
|
|
5
5
|
import "@arcgis/core/Graphic.js";
|
|
6
6
|
import { LitElement as f, createEvent as o } from "@arcgis/lumina";
|
|
7
|
-
import { log as d, composeMissingPropertyMessage as
|
|
7
|
+
import { log as d, composeMissingPropertyMessage as h, composeEmptyPropertyMessage as _ } from "@arcgis/toolkit/log";
|
|
8
8
|
import { css as v, html as l } from "lit";
|
|
9
9
|
import { createRef as b, ref as u } from "lit/directives/ref.js";
|
|
10
10
|
import { u as R } from "../../chunks/useT9n.js";
|
|
11
11
|
import { q as C, c as w } from "../../chunks/layer-utils.js";
|
|
12
12
|
import { l as $ } from "../../chunks/async-utils.js";
|
|
13
|
-
const E = v`:host{min-height:var(--arcgis-internal-panel-height-sm, 240px);height:100%}arcgis-features{height:100%}calcite-table{--calcite-table-border-color: none}calcite-table-row{--calcite-table-row-border-color: var(--calcite-color-border-3)}.white-panel-background{--calcite-panel-background-color: var(--calcite-color-foreground-1)}.aggregated-geometry-container{display:flex;justify-content:space-between;padding:0 var(--calcite-spacing-md) var(--calcite-spacing-md) var(--calcite-spacing-md)}#elements-list-item{border:solid 1px var(--calcite-color-border-3);border-radius:var(--calcite-corner-radius-sm);margin:0 var(--calcite-spacing-sm)}.no-selectable-results{padding:0 var(--calcite-spacing-md);color:var(--calcite-color-text-3);font-size:var(--calcite-font-size)}.results-heading{display:flex;flex-direction:column;margin:var(--calcite-spacing-md);gap:var(--calcite-spacing-xs)}.results-heading .results-heading-title{font-weight:var(--calcite-font-weight-medium);font-size:var(--calcite-font-size);color:var(--calcite-color-text-1)}.results-heading .results-heading-subtitle{font-size:var(--calcite-font-size--1);color:var(--calcite-color-text-3)}.functions-heading{padding:var(--calcite-spacing-md) var(--calcite-spacing-md) var(--calcite-spacing-xxs) var(--calcite-spacing-md);font-weight:var(--calcite-font-weight-medium);font-size:var(--calcite-font-size);color:var(--calcite-color-text-1)}.no-results-landing{display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;margin:var(--calcite-spacing-sm) var(--calcite-spacing-xl) var(--calcite-spacing-xl) var(--calcite-spacing-xl);gap:var(--calcite-spacing-md)}.no-results-landing calcite-icon{margin-bottom:var(--calcite-spacing-sm);--calcite-icon-color: var(--calcite-color-text-3)}.no-results-landing .no-results-heading{font-size:var(--calcite-font-size-2)}.no-results-landing .no-results-description{color:var(--calcite-color-text-3)}`,
|
|
13
|
+
const E = v`:host{min-height:var(--arcgis-internal-panel-height-sm, 240px);height:100%}arcgis-features{height:100%}calcite-table{--calcite-table-border-color: none}calcite-table-row{--calcite-table-row-border-color: var(--calcite-color-border-3)}.white-panel-background{--calcite-panel-background-color: var(--calcite-color-foreground-1)}.aggregated-geometry-container{display:flex;justify-content:space-between;padding:0 var(--calcite-spacing-md) var(--calcite-spacing-md) var(--calcite-spacing-md)}#elements-list-item{border:solid 1px var(--calcite-color-border-3);border-radius:var(--calcite-corner-radius-sm);margin:0 var(--calcite-spacing-sm)}.no-selectable-results{padding:0 var(--calcite-spacing-md);color:var(--calcite-color-text-3);font-size:var(--calcite-font-size)}.results-heading{display:flex;flex-direction:column;margin:var(--calcite-spacing-md);gap:var(--calcite-spacing-xs)}.results-heading .results-heading-title{font-weight:var(--calcite-font-weight-medium);font-size:var(--calcite-font-size);color:var(--calcite-color-text-1)}.results-heading .results-heading-subtitle{font-size:var(--calcite-font-size--1);color:var(--calcite-color-text-3)}.functions-heading{padding:var(--calcite-spacing-md) var(--calcite-spacing-md) var(--calcite-spacing-xxs) var(--calcite-spacing-md);font-weight:var(--calcite-font-weight-medium);font-size:var(--calcite-font-size);color:var(--calcite-color-text-1)}.no-results-landing{display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;margin:var(--calcite-spacing-sm) var(--calcite-spacing-xl) var(--calcite-spacing-xl) var(--calcite-spacing-xl);gap:var(--calcite-spacing-md)}.no-results-landing calcite-icon{margin-bottom:var(--calcite-spacing-sm);--calcite-icon-color: var(--calcite-color-text-3)}.no-results-landing .no-results-heading{font-size:var(--calcite-font-size-2)}.no-results-landing .no-results-description{color:var(--calcite-color-text-3)}`, g = {
|
|
14
14
|
dirtyAreasDiscovered: -2147208511,
|
|
15
|
-
noValidControllers: -2147208935
|
|
15
|
+
noValidControllers: -2147208935,
|
|
16
|
+
pathNotFound: -2147208444
|
|
16
17
|
};
|
|
17
|
-
class
|
|
18
|
+
class F extends f {
|
|
18
19
|
constructor() {
|
|
19
20
|
super(...arguments), this._defaultPopupTemplateEnabled = !0, this._messages = R({ blocking: !0 }), this._elementsWithoutLayer = [], this._popoverRef = b(), this._layerIdToFeatures = /* @__PURE__ */ new Map(), this._layerIdToLayer = /* @__PURE__ */ new Map(), this._subtypeCodeToFeatures = /* @__PURE__ */ new Map(), this._sourceIdToElements = /* @__PURE__ */ new Map(), this._unLayers = [], this._queryFeaturesOnLayer = async ([e, t]) => {
|
|
20
21
|
const a = this.utilityNetwork?.getLayerIdBySourceId(e), s = this._getLayerByLayerId(a), r = this._getElementsUniqueByGlobalId(t);
|
|
@@ -59,7 +60,7 @@ class T extends f {
|
|
|
59
60
|
e.has("isElementsSelected") && this.arcgisSelectedResultTypeChange.emit(), e.has("selectedLayer") && this.arcgisSelectedLayerChange.emit(), e.has("traceResult") && (this.isElementsSelected = !1, this.traceResult || (this.traceResultFeatures = [], this._elementsWithoutLayer = [])), (e.has("layers") || e.has("utilityNetwork")) && this._loadDependencies();
|
|
60
61
|
}
|
|
61
62
|
loaded() {
|
|
62
|
-
this.utilityNetwork || d("warn", this,
|
|
63
|
+
this.utilityNetwork || d("warn", this, h("utilityNetwork")), this.layers.length === 0 && d("warn", this, _("layers")), this.view || d("warn", this, h("view"));
|
|
63
64
|
}
|
|
64
65
|
disconnectedCallback() {
|
|
65
66
|
super.disconnectedCallback(), this._layerIdToLayer.clear();
|
|
@@ -161,12 +162,15 @@ class T extends f {
|
|
|
161
162
|
_renderErrorLanding(e) {
|
|
162
163
|
let t = e.message;
|
|
163
164
|
switch (e.details?.raw?.extendedCode) {
|
|
164
|
-
case
|
|
165
|
+
case g.dirtyAreasDiscovered:
|
|
165
166
|
t = this._messages.traceErrors.dirtyAreasDiscovered;
|
|
166
167
|
break;
|
|
167
|
-
case
|
|
168
|
+
case g.noValidControllers:
|
|
168
169
|
t = this._messages.traceErrors.noValidControllers;
|
|
169
170
|
break;
|
|
171
|
+
case g.pathNotFound:
|
|
172
|
+
t = this._messages.traceErrors.pathNotFound;
|
|
173
|
+
break;
|
|
170
174
|
}
|
|
171
175
|
return l`<calcite-panel class="white-panel-background">${this._renderTraceResultsHeading()}<div class="no-results-landing"><calcite-icon icon=exclamation-mark-triangle scale=l></calcite-icon><div class="no-results-heading">${this._messages.traceFailedHeading}</div><div class="no-results-description">${this._messages.traceFailedDescription}</div><div class="no-results-description">${t}</div></div></calcite-panel>`;
|
|
172
176
|
}
|
|
@@ -177,7 +181,7 @@ class T extends f {
|
|
|
177
181
|
return l`<calcite-panel class="white-panel-background">${this._renderTraceResultsHeading()}<div class="no-results-landing"><calcite-icon icon=utility-network-trace scale=l></calcite-icon><div class="no-results-heading">${this._messages.noTraceConfigHeading}</div><div class="no-results-description">${this._messages.noTraceConfigDescription}</div></div></calcite-panel>`;
|
|
178
182
|
}
|
|
179
183
|
}
|
|
180
|
-
p("arcgis-utility-network-trace-results",
|
|
184
|
+
p("arcgis-utility-network-trace-results", F);
|
|
181
185
|
export {
|
|
182
|
-
|
|
186
|
+
F as ArcgisUtilityNetworkTraceResults
|
|
183
187
|
};
|
|
@@ -6,6 +6,101 @@ import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
|
6
6
|
import type { ArcgisReferenceElement } from "../types.js";
|
|
7
7
|
import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
8
8
|
|
|
9
|
+
/** Component state when validation is unavailable because the component cannot run. */
|
|
10
|
+
export interface Disabled {
|
|
11
|
+
type: "disabled";
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
/** Component state while utility network topology validation is currently running. */
|
|
15
|
+
export interface Executing {
|
|
16
|
+
type: "executing";
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
/** Component state while component dependencies are loading. */
|
|
20
|
+
export interface Loading {
|
|
21
|
+
type: "loading";
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
/** Component state when component dependencies are loaded and validation can execute. */
|
|
25
|
+
export interface Ready {
|
|
26
|
+
type: "ready";
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
/** Component state after validation completes successfully. */
|
|
30
|
+
export interface Success {
|
|
31
|
+
type: "success";
|
|
32
|
+
message: string;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
/** Component state when validation or setup encounters an error. */
|
|
36
|
+
export interface ValidateNetworkTopologyError {
|
|
37
|
+
/**
|
|
38
|
+
* The type of error the component has encountered:
|
|
39
|
+
*
|
|
40
|
+
* - `error-disable-component`: The component is disabled because the component could not find a utility network in the map.
|
|
41
|
+
* - `error-disable-execute`: The component cannot run validation because the user lacks permissions or the dirty areas layer is missing from the map.
|
|
42
|
+
* - `error-info`: Some other error occurred while running validation. The error is displayed in the component.
|
|
43
|
+
*/
|
|
44
|
+
type: "error-disable-component" | "error-disable-execute" | "error-info";
|
|
45
|
+
/** Additional information about the error the component has encountered. */
|
|
46
|
+
message: string;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
/** The extent options for network topology validation. */
|
|
50
|
+
export type ExtentOption = "current" | "entire";
|
|
51
|
+
|
|
52
|
+
/** The current component workflow state. */
|
|
53
|
+
export type State = Disabled | Executing | Loading | Ready | Success | ValidateNetworkTopologyError;
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* ## Overview
|
|
57
|
+
*
|
|
58
|
+
* The Utility Network Validate Network Topology component validates dirty areas in a utility network after edits have been made.
|
|
59
|
+
* It provides an interface to choose a utility network (if applicable), choose the [extent](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-validate-network-topology/#extentToValidate) to validate, and perform validation.
|
|
60
|
+
* If successful, the result of the validation is available as [result](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-validate-network-topology/#result).
|
|
61
|
+
*
|
|
62
|
+
* ## Validation requirements
|
|
63
|
+
*
|
|
64
|
+
* - The component only supports a 2D [MapView](https://developers.arcgis.com/javascript/latest/references/core/views/MapView/).
|
|
65
|
+
* - The utility network must be [stored in the map](https://developers.arcgis.com/javascript/latest/references/core/WebMap/#utilityNetworks) and the network topology must be enabled.
|
|
66
|
+
* - The active portal user must have the required user type extension to validate a network topology.
|
|
67
|
+
* - Validation fails in cases such as: no dirty areas in the target extent, inability to acquire a version lock, or insufficient permissions on the version.
|
|
68
|
+
*
|
|
69
|
+
* > [!WARNING]
|
|
70
|
+
* >
|
|
71
|
+
* > The Utility Network Validate Network Topology component does not support proxied feature services or feature services that utilize stored credentials.
|
|
72
|
+
*
|
|
73
|
+
* ## Examples
|
|
74
|
+
*
|
|
75
|
+
* This component can be used slotted into an [arcgis-map](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/):
|
|
76
|
+
*
|
|
77
|
+
* ```html
|
|
78
|
+
* <arcgis-map item-id="471eb0bf37074b1fbb972b1da70fb310">
|
|
79
|
+
* <arcgis-utility-network-validate-network-topology slot="top-right"></arcgis-utility-network-validate-network-topology>
|
|
80
|
+
* </arcgis-map>
|
|
81
|
+
* ```
|
|
82
|
+
*
|
|
83
|
+
* Alternatively, this component can be used outside of a map by providing a [referenceElement](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-validate-network-topology/#referenceElement):
|
|
84
|
+
*
|
|
85
|
+
* ```html
|
|
86
|
+
* <calcite-shell>
|
|
87
|
+
* <calcite-shell-panel slot="panel-start" position="start" width-scale="l">
|
|
88
|
+
* <arcgis-utility-network-validate-network-topology reference-element="#map-element"></arcgis-utility-network-validate-network-topology>
|
|
89
|
+
* </calcite-shell-panel>
|
|
90
|
+
* <arcgis-map id="map-element" item-id="471eb0bf37074b1fbb972b1da70fb310"></arcgis-map>
|
|
91
|
+
* </calcite-shell>
|
|
92
|
+
* ```
|
|
93
|
+
*
|
|
94
|
+
* <video>
|
|
95
|
+
* <source src="https://developers.arcgis.com/javascript/latest/assets/references/core/components/utility-network-validate-network-topology/validate-topology-example.webm" autoplay loop muted playsinline type="video/webm">
|
|
96
|
+
* Your browser does not support the video tag.
|
|
97
|
+
* </video>
|
|
98
|
+
*
|
|
99
|
+
* @since 5.1
|
|
100
|
+
* @see [Network topology](https://pro.arcgis.com/en/pro-app/latest/help/data/utility-network/about-network-topology.htm)
|
|
101
|
+
* @see [Validate a network topology](https://pro.arcgis.com/en/pro-app/latest/help/data/utility-network/validate-a-network-topology.htm)
|
|
102
|
+
* @see [Dirty areas](https://pro.arcgis.com/en/pro-app/latest/help/data/utility-network/dirty-areas-in-a-utility-network.htm)
|
|
103
|
+
*/
|
|
9
104
|
export abstract class ArcgisUtilityNetworkValidateNetworkTopology extends LitElement {
|
|
10
105
|
/** @internal */
|
|
11
106
|
protected _messages: {
|
|
@@ -72,16 +167,41 @@ export abstract class ArcgisUtilityNetworkValidateNetworkTopology extends LitEle
|
|
|
72
167
|
};
|
|
73
168
|
}>;
|
|
74
169
|
/**
|
|
75
|
-
* A function to run before
|
|
170
|
+
* A function to run before utility network topology validation starts.
|
|
171
|
+
*
|
|
172
|
+
* The function is awaited before the [@arcgisValidateNetworkTopologyStart](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-validate-network-topology/#event-arcgisValidateNetworkTopologyStart)
|
|
173
|
+
* event is emitted and before the validation request is sent.
|
|
174
|
+
* If the function rejects its Promise, validation does not start and the component displays an error. If the Promise was rejected with an [Error](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error), the component displays the error.
|
|
76
175
|
*
|
|
77
176
|
* @internal
|
|
177
|
+
* @example
|
|
178
|
+
* ```js
|
|
179
|
+
* const validateNetworkTopologyElement = document.querySelector("arcgis-utility-network-validate-network-topology");
|
|
180
|
+
* validateNetworkTopologyElement.beforeValidateNetworkTopologyStart = async () => await doAsyncWork();
|
|
181
|
+
* ```
|
|
78
182
|
*/
|
|
79
183
|
accessor beforeValidateNetworkTopologyStart: (() => Promise<void>) | undefined;
|
|
80
|
-
/**
|
|
184
|
+
/**
|
|
185
|
+
* When true, the component is visually withdrawn and cannot receive user interaction.
|
|
186
|
+
*
|
|
187
|
+
* @default false
|
|
188
|
+
*/
|
|
81
189
|
accessor disabled: boolean;
|
|
82
|
-
/**
|
|
190
|
+
/**
|
|
191
|
+
* Specifies the area to validate.
|
|
192
|
+
*
|
|
193
|
+
* Use `"current"` to validate the current view extent. Use `"entire"` to validate the utility network's full extent.
|
|
194
|
+
*
|
|
195
|
+
* @default "current"
|
|
196
|
+
*/
|
|
83
197
|
accessor extentToValidate: ExtentOption;
|
|
84
|
-
/**
|
|
198
|
+
/**
|
|
199
|
+
* When true, hides the utility network selector.
|
|
200
|
+
*
|
|
201
|
+
* The selector is also hidden when the map has one utility network.
|
|
202
|
+
*
|
|
203
|
+
* @default false
|
|
204
|
+
*/
|
|
85
205
|
accessor hideUtilityNetworkSelect: boolean;
|
|
86
206
|
/** The component's default label. */
|
|
87
207
|
accessor label: string | undefined;
|
|
@@ -128,46 +248,52 @@ export abstract class ArcgisUtilityNetworkValidateNetworkTopology extends LitEle
|
|
|
128
248
|
* @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)
|
|
129
249
|
*/
|
|
130
250
|
accessor referenceElement: ArcgisReferenceElement | string | undefined;
|
|
251
|
+
/**
|
|
252
|
+
* The result returned from the most recent successful utility network topology validation.
|
|
253
|
+
* This value is cleared when clicking the "Validate" action.
|
|
254
|
+
*/
|
|
131
255
|
accessor result: ValidateNetworkTopologyResult | undefined;
|
|
132
|
-
|
|
256
|
+
/** The current component state. */
|
|
257
|
+
get state(): State;
|
|
258
|
+
/**
|
|
259
|
+
* The utility network to validate.
|
|
260
|
+
*
|
|
261
|
+
* If not provided, the component uses the first utility network stored in the map. When the map contains multiple
|
|
262
|
+
* utility networks and the selector is visible, the user can change this value from the component UI.
|
|
263
|
+
*/
|
|
133
264
|
accessor utilityNetwork: UtilityNetwork | undefined;
|
|
265
|
+
/**
|
|
266
|
+
* The target [MapView](https://developers.arcgis.com/javascript/latest/references/core/views/MapView/).
|
|
267
|
+
*
|
|
268
|
+
* The component only supports 2D map views.
|
|
269
|
+
*/
|
|
134
270
|
accessor view: MapView | undefined;
|
|
271
|
+
/** Emitted when the component associated with a map or scene view is ready to be interacted with. */
|
|
135
272
|
readonly arcgisReady: import("@arcgis/lumina").TargetedEvent<this, void>;
|
|
273
|
+
/**
|
|
274
|
+
* Fires after a validation workflow ends.
|
|
275
|
+
*
|
|
276
|
+
* This event fires after validation succeeds, fails, or is canceled by preventing the
|
|
277
|
+
* [@arcgisValidateNetworkTopologyStart](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-validate-network-topology/#event-arcgisValidateNetworkTopologyStart) event.
|
|
278
|
+
*/
|
|
136
279
|
readonly arcgisValidateNetworkTopologyEnd: import("@arcgis/lumina").TargetedEvent<this, void>;
|
|
280
|
+
/**
|
|
281
|
+
* Fires before the validation request is sent.
|
|
282
|
+
*
|
|
283
|
+
* This event can be prevented with `event.preventDefault()` to cancel validation.
|
|
284
|
+
*
|
|
285
|
+
* @example
|
|
286
|
+
* ```js
|
|
287
|
+
* const validateNetworkTopologyElement = document.querySelector("arcgis-utility-network-validate-network-topology");
|
|
288
|
+
* validateNetworkTopologyElement.addEventListener("arcgisValidateNetworkTopologyStart", (event) => {
|
|
289
|
+
* event.preventDefault();
|
|
290
|
+
* });
|
|
291
|
+
* ```
|
|
292
|
+
*/
|
|
137
293
|
readonly arcgisValidateNetworkTopologyStart: import("@arcgis/lumina").TargetedEvent<this, void>;
|
|
138
294
|
readonly "@eventTypes": {
|
|
139
295
|
arcgisReady: ArcgisUtilityNetworkValidateNetworkTopology["arcgisReady"]["detail"];
|
|
140
296
|
arcgisValidateNetworkTopologyEnd: ArcgisUtilityNetworkValidateNetworkTopology["arcgisValidateNetworkTopologyEnd"]["detail"];
|
|
141
297
|
arcgisValidateNetworkTopologyStart: ArcgisUtilityNetworkValidateNetworkTopology["arcgisValidateNetworkTopologyStart"]["detail"];
|
|
142
298
|
};
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
export type ExtentOption = "current" | "entire";
|
|
146
|
-
|
|
147
|
-
export type State = Disabled | Executing | Loading | Ready | Success | ValidateNetworkTopologyError;
|
|
148
|
-
|
|
149
|
-
export interface Disabled {
|
|
150
|
-
type: "disabled";
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
export interface Executing {
|
|
154
|
-
type: "executing";
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
export interface Loading {
|
|
158
|
-
type: "loading";
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
export interface Ready {
|
|
162
|
-
type: "ready";
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
export interface Success {
|
|
166
|
-
type: "success";
|
|
167
|
-
message: string;
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
export interface ValidateNetworkTopologyError {
|
|
171
|
-
type: "error-disable-component" | "error-disable-execute" | "error-info";
|
|
172
|
-
message: string;
|
|
173
299
|
}
|
|
@@ -8,9 +8,13 @@ import type { Icon } from "@esri/calcite-components/components/calcite-icon";
|
|
|
8
8
|
import type { UtilityNetworkValidateTopologyViewModelState } from "@arcgis/core/widgets/UtilityNetworkValidateTopology/UtilityNetworkValidateTopologyViewModel.js";
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
|
-
*
|
|
11
|
+
* > This component is **deprecated**. [arcgis-utility-network-validate-network-topology](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-validate-network-topology/) is the preferred component for validating utility network topology and should be used for all new development.
|
|
12
|
+
*
|
|
13
|
+
* The UtilityNetworkValidateTopology component simplifies the process of validating a DirtyArea within a utility network. It offers an intuitive user interface.
|
|
12
14
|
*
|
|
13
15
|
* > The UtilityNetworkValidateTopology Component does not support proxied feature services or feature services that utilize stored credentials.
|
|
16
|
+
*
|
|
17
|
+
* @deprecated since 5.1, use [arcgis-utility-network-validate-network-topology](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-validate-network-topology/) instead.
|
|
14
18
|
*/
|
|
15
19
|
export abstract class ArcgisUtilityNetworkValidateTopology extends LitElement {
|
|
16
20
|
/**
|
|
@@ -10,8 +10,7 @@ import type { Icon as Icon } from "@esri/calcite-components/components/calcite-i
|
|
|
10
10
|
import type { SystemOrVolumeUnit, SystemOrLengthUnit, LengthUnit, SystemOrAreaUnit } from "@arcgis/core/core/units.js";
|
|
11
11
|
|
|
12
12
|
/**
|
|
13
|
-
*
|
|
14
|
-
* > To learn about features in beta, see the [Frequently Asked Questions](https://developers.arcgis.com/javascript/latest/faq/#what-does-the-beta-tag-mean)
|
|
13
|
+
* The Volume Measurement component is currently [in preview](https://support.esri.com/en-us/knowledge-base/faq-what-is-preview-000036425).
|
|
15
14
|
*
|
|
16
15
|
* The Volume Measurement component can be added to a
|
|
17
16
|
* [arcgis-scene](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/) to
|
|
@@ -75,7 +74,6 @@ import type { SystemOrVolumeUnit, SystemOrLengthUnit, LengthUnit, SystemOrAreaUn
|
|
|
75
74
|
* - [Sample - Volume measurement analysis object](https://developers.arcgis.com/javascript/latest/sample-code/analysis-volume-measurement/)
|
|
76
75
|
*
|
|
77
76
|
* @since 5.0
|
|
78
|
-
* @beta
|
|
79
77
|
*/
|
|
80
78
|
export abstract class ArcgisVolumeMeasurement extends LitElement {
|
|
81
79
|
/**
|