@arcgis/map-components 5.1.0-next.104 → 5.1.0-next.105
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/3AKJIFJP.js +2 -0
- package/dist/cdn/6IRKJ76J.js +2 -0
- package/dist/cdn/6QJQJ4I7.js +2 -0
- package/dist/cdn/FMT63SES.js +2 -0
- package/dist/cdn/IMSDXTQ5.js +2 -0
- package/dist/cdn/JFWOTBXI.js +2 -0
- package/dist/cdn/JIAEOA2S.js +2 -0
- package/dist/cdn/PKV6NA3M.js +2 -0
- package/dist/cdn/TKQLQE4E.js +2 -0
- package/dist/cdn/TZVSBVJN.js +2 -0
- package/dist/cdn/{KASY64TA.js → UQCQAL4T.js} +1 -1
- package/dist/cdn/{UCPJMQPU.js → VVIDVEKK.js} +1 -1
- package/dist/cdn/{AWQHNAWY.js → XB5I52AG.js} +1 -1
- package/dist/cdn/XIJGC7OK.js +2 -0
- package/dist/cdn/assets/feature-next/t9n/messages.ar.json +1 -0
- package/dist/cdn/assets/feature-next/t9n/messages.bg.json +1 -0
- package/dist/cdn/assets/feature-next/t9n/messages.bs.json +1 -0
- package/dist/cdn/assets/feature-next/t9n/messages.ca.json +1 -0
- package/dist/cdn/assets/feature-next/t9n/messages.cs.json +1 -0
- package/dist/cdn/assets/feature-next/t9n/messages.da.json +1 -0
- package/dist/cdn/assets/feature-next/t9n/messages.de.json +1 -0
- package/dist/cdn/assets/feature-next/t9n/messages.el.json +1 -0
- package/dist/cdn/assets/feature-next/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/feature-next/t9n/messages.es.json +1 -0
- package/dist/cdn/assets/feature-next/t9n/messages.et.json +1 -0
- package/dist/cdn/assets/feature-next/t9n/messages.fi.json +1 -0
- package/dist/cdn/assets/feature-next/t9n/messages.fr.json +1 -0
- package/dist/cdn/assets/feature-next/t9n/messages.he.json +1 -0
- package/dist/cdn/assets/feature-next/t9n/messages.hr.json +1 -0
- package/dist/cdn/assets/feature-next/t9n/messages.hu.json +1 -0
- package/dist/cdn/assets/feature-next/t9n/messages.id.json +1 -0
- package/dist/cdn/assets/feature-next/t9n/messages.it.json +1 -0
- package/dist/cdn/assets/feature-next/t9n/messages.ja.json +1 -0
- package/dist/cdn/assets/feature-next/t9n/messages.ko.json +1 -0
- package/dist/cdn/assets/feature-next/t9n/messages.lt.json +1 -0
- package/dist/cdn/assets/feature-next/t9n/messages.lv.json +1 -0
- package/dist/cdn/assets/feature-next/t9n/messages.nl.json +1 -0
- package/dist/cdn/assets/feature-next/t9n/messages.no.json +1 -0
- package/dist/cdn/assets/feature-next/t9n/messages.pl.json +1 -0
- package/dist/cdn/assets/feature-next/t9n/messages.pt-BR.json +1 -0
- package/dist/cdn/assets/feature-next/t9n/messages.pt-PT.json +1 -0
- package/dist/cdn/assets/feature-next/t9n/messages.ro.json +1 -0
- package/dist/cdn/assets/feature-next/t9n/messages.ru.json +1 -0
- package/dist/cdn/assets/feature-next/t9n/messages.sk.json +1 -0
- package/dist/cdn/assets/feature-next/t9n/messages.sl.json +1 -0
- package/dist/cdn/assets/feature-next/t9n/messages.sr.json +1 -0
- package/dist/cdn/assets/feature-next/t9n/messages.sv.json +1 -0
- package/dist/cdn/assets/feature-next/t9n/messages.th.json +1 -0
- package/dist/cdn/assets/feature-next/t9n/messages.tr.json +1 -0
- package/dist/cdn/assets/feature-next/t9n/messages.uk.json +1 -0
- package/dist/cdn/assets/feature-next/t9n/messages.vi.json +1 -0
- package/dist/cdn/assets/feature-next/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/feature-next/t9n/messages.zh-HK.json +1 -0
- package/dist/cdn/assets/feature-next/t9n/messages.zh-TW.json +1 -0
- package/dist/cdn/assets/features/t9n/messages.ar.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.bg.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.bs.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.ca.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.cs.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.da.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.el.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.es.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.fi.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.fr.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.hr.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.hu.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.id.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.it.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.ko.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.lt.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.lv.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.nl.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.no.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.pl.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.pt-BR.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.pt-PT.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.ro.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.ru.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.sk.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.sl.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.sr.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.sv.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.th.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.tr.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.uk.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.vi.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.zh-CN.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.zh-HK.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.zh-TW.json +1 -1
- package/dist/cdn/assets/features-next/t9n/messages.ar.json +1 -0
- package/dist/cdn/assets/features-next/t9n/messages.bg.json +1 -0
- package/dist/cdn/assets/features-next/t9n/messages.bs.json +1 -0
- package/dist/cdn/assets/features-next/t9n/messages.ca.json +1 -0
- package/dist/cdn/assets/features-next/t9n/messages.cs.json +1 -0
- package/dist/cdn/assets/features-next/t9n/messages.da.json +1 -0
- package/dist/cdn/assets/features-next/t9n/messages.de.json +1 -0
- package/dist/cdn/assets/features-next/t9n/messages.el.json +1 -0
- package/dist/cdn/assets/features-next/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/features-next/t9n/messages.es.json +1 -0
- package/dist/cdn/assets/features-next/t9n/messages.et.json +1 -0
- package/dist/cdn/assets/features-next/t9n/messages.fi.json +1 -0
- package/dist/cdn/assets/features-next/t9n/messages.fr.json +1 -0
- package/dist/cdn/assets/features-next/t9n/messages.he.json +1 -0
- package/dist/cdn/assets/features-next/t9n/messages.hr.json +1 -0
- package/dist/cdn/assets/features-next/t9n/messages.hu.json +1 -0
- package/dist/cdn/assets/features-next/t9n/messages.id.json +1 -0
- package/dist/cdn/assets/features-next/t9n/messages.it.json +1 -0
- package/dist/cdn/assets/features-next/t9n/messages.ja.json +1 -0
- package/dist/cdn/assets/features-next/t9n/messages.ko.json +1 -0
- package/dist/cdn/assets/features-next/t9n/messages.lt.json +1 -0
- package/dist/cdn/assets/features-next/t9n/messages.lv.json +1 -0
- package/dist/cdn/assets/features-next/t9n/messages.nl.json +1 -0
- package/dist/cdn/assets/features-next/t9n/messages.no.json +1 -0
- package/dist/cdn/assets/features-next/t9n/messages.pl.json +1 -0
- package/dist/cdn/assets/features-next/t9n/messages.pt-BR.json +1 -0
- package/dist/cdn/assets/features-next/t9n/messages.pt-PT.json +1 -0
- package/dist/cdn/assets/features-next/t9n/messages.ro.json +1 -0
- package/dist/cdn/assets/features-next/t9n/messages.ru.json +1 -0
- package/dist/cdn/assets/features-next/t9n/messages.sk.json +1 -0
- package/dist/cdn/assets/features-next/t9n/messages.sl.json +1 -0
- package/dist/cdn/assets/features-next/t9n/messages.sr.json +1 -0
- package/dist/cdn/assets/features-next/t9n/messages.sv.json +1 -0
- package/dist/cdn/assets/features-next/t9n/messages.th.json +1 -0
- package/dist/cdn/assets/features-next/t9n/messages.tr.json +1 -0
- package/dist/cdn/assets/features-next/t9n/messages.uk.json +1 -0
- package/dist/cdn/assets/features-next/t9n/messages.vi.json +1 -0
- package/dist/cdn/assets/features-next/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/features-next/t9n/messages.zh-HK.json +1 -0
- package/dist/cdn/assets/features-next/t9n/messages.zh-TW.json +1 -0
- package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.ar.json +1 -1
- package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.bg.json +1 -1
- package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.bs.json +1 -1
- package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.ca.json +1 -1
- package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.cs.json +1 -1
- package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.da.json +1 -1
- package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.el.json +1 -1
- package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.es.json +1 -1
- package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.fi.json +1 -1
- package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.fr.json +1 -1
- package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.hr.json +1 -1
- package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.hu.json +1 -1
- package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.id.json +1 -1
- package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.it.json +1 -1
- package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.ko.json +1 -1
- package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.lt.json +1 -1
- package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.lv.json +1 -1
- package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.nl.json +1 -1
- package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.no.json +1 -1
- package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.pl.json +1 -1
- package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.pt-BR.json +1 -1
- package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.pt-PT.json +1 -1
- package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.ro.json +1 -1
- package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.ru.json +1 -1
- package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.sk.json +1 -1
- package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.sl.json +1 -1
- package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.sr.json +1 -1
- package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.sv.json +1 -1
- package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.th.json +1 -1
- package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.tr.json +1 -1
- package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.uk.json +1 -1
- package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.vi.json +1 -1
- package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.zh-CN.json +1 -1
- package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.zh-HK.json +1 -1
- package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.zh-TW.json +1 -1
- package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.ar.json +1 -1
- package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.bg.json +1 -1
- package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.bs.json +1 -1
- package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.ca.json +1 -1
- package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.cs.json +1 -1
- package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.da.json +1 -1
- package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.el.json +1 -1
- package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.es.json +1 -1
- package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.fi.json +1 -1
- package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.fr.json +1 -1
- package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.hr.json +1 -1
- package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.hu.json +1 -1
- package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.id.json +1 -1
- package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.it.json +1 -1
- package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.ko.json +1 -1
- package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.lt.json +1 -1
- package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.lv.json +1 -1
- package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.nl.json +1 -1
- package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.no.json +1 -1
- package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.pl.json +1 -1
- package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.pt-BR.json +1 -1
- package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.pt-PT.json +1 -1
- package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.ro.json +1 -1
- package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.ru.json +1 -1
- package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.sk.json +1 -1
- package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.sl.json +1 -1
- package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.sr.json +1 -1
- package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.sv.json +1 -1
- package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.th.json +1 -1
- package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.tr.json +1 -1
- package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.uk.json +1 -1
- package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.vi.json +1 -1
- package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.zh-CN.json +1 -1
- package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.zh-HK.json +1 -1
- package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.zh-TW.json +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/cdn/main.css +1 -1
- package/dist/chunks/action-utils.js +37 -23
- package/dist/components/arcgis-aggregated-features/customElement.js +1 -1
- package/dist/components/arcgis-aggregated-features/index.js +1 -1
- package/dist/components/arcgis-bookmarks/customElement.d.ts +1 -1
- package/dist/components/arcgis-feature/customElement.d.ts +4 -4
- package/dist/components/arcgis-feature/customElement.js +69 -111
- package/dist/components/arcgis-feature-next/customElement.d.ts +444 -0
- package/dist/components/arcgis-feature-next/customElement.js +279 -0
- package/dist/components/arcgis-feature-next/index.d.ts +1 -0
- package/dist/components/arcgis-feature-next/index.js +13 -0
- package/dist/components/arcgis-feature-relationship/customElement.js +76 -73
- package/dist/components/arcgis-feature-relationship/index.js +1 -0
- package/dist/components/arcgis-feature-utility-network-association-list/customElement.js +18 -15
- package/dist/components/arcgis-feature-utility-network-association-list/index.js +1 -0
- package/dist/components/arcgis-feature-utility-network-associations/customElement.js +63 -53
- package/dist/components/arcgis-features/customElement.d.ts +28 -52
- package/dist/components/arcgis-features/customElement.js +181 -184
- package/dist/components/arcgis-features/index.js +0 -1
- package/dist/components/arcgis-features-next/customElement.d.ts +678 -0
- package/dist/components/arcgis-features-next/customElement.js +400 -0
- package/dist/components/arcgis-features-next/index.d.ts +1 -0
- package/dist/components/arcgis-features-next/index.js +15 -0
- package/dist/components/arcgis-popup/customElement.d.ts +2 -2
- package/dist/components/arcgis-popup/customElement.js +1 -1
- package/dist/components/arcgis-popup/index.js +1 -1
- package/dist/components/arcgis-search/customElement.d.ts +1 -1
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +32 -33
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.d.ts +5 -0
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +47 -47
- 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 +20 -0
- package/dist/loader.js +7 -5
- package/dist/types/lumina.d.ts +17 -1
- package/dist/types/preact.d.ts +19 -1
- package/dist/types/react.d.ts +21 -1
- package/dist/types/stencil.d.ts +17 -1
- package/package.json +4 -4
- package/dist/cdn/37PU5RQF.js +0 -2
- package/dist/cdn/6U7WM64M.js +0 -2
- package/dist/cdn/AHWGHYPQ.js +0 -2
- package/dist/cdn/FNHPWOUX.js +0 -2
- package/dist/cdn/HVKDLP74.js +0 -2
- package/dist/cdn/LTUURA6B.js +0 -2
- package/dist/cdn/SKRNQKVO.js +0 -2
- package/dist/cdn/W2QDJLIF.js +0 -2
- package/dist/cdn/XIN3BIAA.js +0 -2
package/dist/index.d.ts
CHANGED
|
@@ -45,9 +45,11 @@ import type { ArcgisElevationProfile } from "./components/arcgis-elevation-profi
|
|
|
45
45
|
import type { ArcgisExpand } from "./components/arcgis-expand/customElement.js";
|
|
46
46
|
import type { ArcgisFeature } from "./components/arcgis-feature/customElement.js";
|
|
47
47
|
import type { ArcgisFeatureForm } from "./components/arcgis-feature-form/customElement.js";
|
|
48
|
+
import type { ArcgisFeatureNext } from "./components/arcgis-feature-next/customElement.js";
|
|
48
49
|
import type { ArcgisFeatureTable } from "./components/arcgis-feature-table/customElement.js";
|
|
49
50
|
import type { ArcgisFeatureTemplatesLegacy } from "./components/arcgis-feature-templates-legacy/customElement.js";
|
|
50
51
|
import type { ArcgisFeatures } from "./components/arcgis-features/customElement.js";
|
|
52
|
+
import type { ArcgisFeaturesNext } from "./components/arcgis-features-next/customElement.js";
|
|
51
53
|
import type { ArcgisFloorFilter } from "./components/arcgis-floor-filter/customElement.js";
|
|
52
54
|
import type { ArcgisFullscreen } from "./components/arcgis-fullscreen/customElement.js";
|
|
53
55
|
import type { ArcgisGridControls } from "./components/arcgis-grid-controls/customElement.js";
|
|
@@ -229,6 +231,11 @@ export interface ArcgisFeatureFormCustomEvent<T> extends CustomEvent<T> {
|
|
|
229
231
|
target: ArcgisFeatureForm;
|
|
230
232
|
currentTarget: ArcgisFeatureForm;
|
|
231
233
|
}
|
|
234
|
+
export interface ArcgisFeatureNextCustomEvent<T> extends CustomEvent<T> {
|
|
235
|
+
detail: T;
|
|
236
|
+
target: ArcgisFeatureNext;
|
|
237
|
+
currentTarget: ArcgisFeatureNext;
|
|
238
|
+
}
|
|
232
239
|
export interface ArcgisFeatureTableCustomEvent<T> extends CustomEvent<T> {
|
|
233
240
|
detail: T;
|
|
234
241
|
target: ArcgisFeatureTable;
|
|
@@ -244,6 +251,11 @@ export interface ArcgisFeaturesCustomEvent<T> extends CustomEvent<T> {
|
|
|
244
251
|
target: ArcgisFeatures;
|
|
245
252
|
currentTarget: ArcgisFeatures;
|
|
246
253
|
}
|
|
254
|
+
export interface ArcgisFeaturesNextCustomEvent<T> extends CustomEvent<T> {
|
|
255
|
+
detail: T;
|
|
256
|
+
target: ArcgisFeaturesNext;
|
|
257
|
+
currentTarget: ArcgisFeaturesNext;
|
|
258
|
+
}
|
|
247
259
|
export interface ArcgisFloorFilterCustomEvent<T> extends CustomEvent<T> {
|
|
248
260
|
detail: T;
|
|
249
261
|
target: ArcgisFloorFilter;
|
|
@@ -604,9 +616,11 @@ declare global {
|
|
|
604
616
|
"arcgis-expand": ArcgisExpand;
|
|
605
617
|
"arcgis-feature": ArcgisFeature;
|
|
606
618
|
"arcgis-feature-form": ArcgisFeatureForm;
|
|
619
|
+
"arcgis-feature-next": ArcgisFeatureNext;
|
|
607
620
|
"arcgis-feature-table": ArcgisFeatureTable;
|
|
608
621
|
"arcgis-feature-templates-legacy": ArcgisFeatureTemplatesLegacy;
|
|
609
622
|
"arcgis-features": ArcgisFeatures;
|
|
623
|
+
"arcgis-features-next": ArcgisFeaturesNext;
|
|
610
624
|
"arcgis-floor-filter": ArcgisFloorFilter;
|
|
611
625
|
"arcgis-fullscreen": ArcgisFullscreen;
|
|
612
626
|
"arcgis-grid-controls": ArcgisGridControls;
|
|
@@ -746,6 +760,9 @@ declare global {
|
|
|
746
760
|
type HTMLArcgisFeatureFormElementEventMap = ArcgisFeatureForm["@eventTypes"];
|
|
747
761
|
type HTMLArcgisFeatureFormElement = ArcgisFeatureForm;
|
|
748
762
|
|
|
763
|
+
type HTMLArcgisFeatureNextElementEventMap = ArcgisFeatureNext["@eventTypes"];
|
|
764
|
+
type HTMLArcgisFeatureNextElement = ArcgisFeatureNext;
|
|
765
|
+
|
|
749
766
|
type HTMLArcgisFeatureTableElementEventMap = ArcgisFeatureTable["@eventTypes"];
|
|
750
767
|
type HTMLArcgisFeatureTableElement = ArcgisFeatureTable;
|
|
751
768
|
|
|
@@ -755,6 +772,9 @@ declare global {
|
|
|
755
772
|
type HTMLArcgisFeaturesElementEventMap = ArcgisFeatures["@eventTypes"];
|
|
756
773
|
type HTMLArcgisFeaturesElement = ArcgisFeatures;
|
|
757
774
|
|
|
775
|
+
type HTMLArcgisFeaturesNextElementEventMap = ArcgisFeaturesNext["@eventTypes"];
|
|
776
|
+
type HTMLArcgisFeaturesNextElement = ArcgisFeaturesNext;
|
|
777
|
+
|
|
758
778
|
type HTMLArcgisFloorFilterElementEventMap = ArcgisFloorFilter["@eventTypes"];
|
|
759
779
|
type HTMLArcgisFloorFilterElement = ArcgisFloorFilter;
|
|
760
780
|
|
package/dist/loader.js
CHANGED
|
@@ -39,12 +39,14 @@ const s = t(e, {
|
|
|
39
39
|
"arcgis-feature-fields": [() => import("./components/arcgis-feature-fields/customElement.js"), "description,expressionInfos:,fieldInfos:,graphic:,heading,headingLevel,isContentFieldInfos,layer:,messages:,values:"],
|
|
40
40
|
"arcgis-feature-form": [() => import("./components/arcgis-feature-form/customElement.js"), "autoDestroyDisabled,disabled,editType,feature:,formTemplate:,groupDisplay,headingLevel,hideReadOnlyNotice,icon,label,layer:,map:,referenceElement,state:,timeZone;destroy,getValues,submit"],
|
|
41
41
|
"arcgis-feature-media": [() => import("./components/arcgis-feature-media/customElement.js"), "activeMediaInfo:,activeMediaInfoIndex,chartAnimationDisabled,description,expressionValues:,fieldInfoMap:,formattedMediaInfoCount:,formattedMediaInfos:,formattedValues:,graphic:,heading,headingLevel,layer:,mediaInfos:,messages:,popupTemplate:,relatedInfos:,values:;;next,previous,setActiveMedia"],
|
|
42
|
-
"arcgis-feature-
|
|
42
|
+
"arcgis-feature-next": [() => import("./components/arcgis-feature-next/customElement.js"), "autoDestroyDisabled,chartAnimationDisabled,defaultPopupTemplateEnabled,flowItems:,flowType,graphic:,heading:,headingLevel,hideAttachmentsContent,hideContent,hideCustomContent,hideExpressionContent,hideFieldsContent,hideHeading,hideLastEditedInfo,hideMediaContent,hideTextContent,icon,isFeatureFromTable:,label,location:,map:,messageOverrides:,messages:,referenceElement,showRelationshipContent,showUtilityNetworkContent,spatialReference:,state:,timeZone,view:,viewModel:;destroy,updateGeometry;nextMedia,previousMedia,setActiveMedia"],
|
|
43
|
+
"arcgis-feature-relationship": [() => import("./components/arcgis-feature-relationship/customElement.js"), "activeCategory:,allItemsDescription:,autoDestroyDisabled,description,displayCount,featurePage,featuresPerPage,flowItems:,flowType,graphic:,heading,headingLevel,hideDescription,hideHeading,label,layer:,map:,messages:,orderByFields:,relationshipId,showAllEnabled,spatialReference:,timeZone,useFeatureNextFlowItem,values:,view:;destroy"],
|
|
43
44
|
"arcgis-feature-table": [() => import("./components/arcgis-feature-table/customElement.js"), "actionColumn:,actionColumnConfig:,activeFilters:,activeSortOrders:,allColumns:,allRelatedTablesVisible:,allVisibleColumns:,attachmentsColumns:,attachmentsEnabled,attachmentsViewOptions:,attributeTableTemplate:,autoDestroyDisabled,autoRefreshDisabled,autoSaveDisabled,canAddRelatedFeature:,closed,collapsed,columnPerformanceModeDisabled,columnReorderingDisabled,columns:,definitionExpression,description,disabled,editingEnabled,effectiveSize:,fieldColumns:,filterBySelectionEnabled,filterByViewExtent,filterGeometry:,groupColumns:,hasContingentValues:,hasInvalidPendingEdits:,hasPendingEdits:,hiddenFields:,hideColumnDescriptions,hideColumnMenuItemsSortAscending,hideColumnMenuItemsSortDescending,hideColumnMenus,hideColumnVisibilityMenu,hideColumnVisibilityMenuItemsFilter,hideColumnVisibilityMenuItemsHeader,hideColumnVisibilityMenuItemsToggleAll,hideHeader,hideLayerDropdownIcons,hideMenu,hideMenuItemsClearSelection,hideMenuItemsDeleteSelection,hideMenuItemsExportSelectionToCsv,hideMenuItemsRefreshData,hideMenuItemsSelectedRecordsShowAllToggle,hideMenuItemsSelectedRecordsShowSelectedToggle,hideMenuItemsToggleColumns,hideMenuItemsZoomToSelection,hideProgress,hideSelectionColumn,hideTooltips,highlightDisabled,highlightIds:,icon,initialSize,isQueryingOrSyncing:,isSyncingAttachments:,label,layer:,layerId,layerItemId,layers:,layerUrl,layerView:,maxSize,menuConfig:,multipleSelectionDisabled,multipleSortEnabled,multipleSortPriority,navigationScale,noDataMessage,objectIds:,outFields:,pageCount:,pageIndex,pageSize,paginationEnabled,referenceElement,relatedRecordsEnabled,relatedTable:,relatedTables:,relationship:,relationshipColumns:,returnGeometryEnabled,returnMEnabled,returnZEnabled,rowHighlightIds:,selectionManager:,showClose,showCollapse,showLayerDropdown,size:,state:,supportsAddAttachments:,supportsAttachments:,supportsDeleteAttachments:,supportsResizeAttachments:,supportsUpdateAttachments:,syncTemplateOnChangesDisabled,syncViewSelection,tableController:,tableDisabled,tableParent:,tableTemplate:,tableTitle,timeExtent:,timeZone,view:,visibleColumns:;deleteSelection,destroy,discardPendingEdits,exportSelectionToCSV,findColumn,getFeatureStoreItemByObjectId,goToPage,hideColumn,nextPage,previousPage,refresh,refreshCellContent,savePendingEdits,scrollToBottom,scrollToIndex,scrollToLeft,scrollToRow,scrollToTop,showAllColumns,showColumn,sortColumn,toggleColumnVisibility,zoomToSelection;addPendingEdits"],
|
|
44
45
|
"arcgis-feature-templates-legacy": [() => import("./components/arcgis-feature-templates-legacy/customElement.js"), "autoDestroyDisabled,disabledItemFunction:,enableListScroll,filterFunction:,filterText,groupBy,headingLevel,hideFilter,icon,items:,label,layers:,referenceElement,selectedItem:,selectionMode,state:,view:;destroy;select"],
|
|
45
|
-
"arcgis-feature-utility-network-association-list": [() => import("./components/arcgis-feature-utility-network-association-list/customElement.js"), "associatedFeatureCount:,associationViewModels:,autoDestroyDisabled,currentFeaturePage,description,displayCount,endIndex:,featuresPerPage,flowItems:,flowType,heading,map:,maxFeatureCount,messages:,parentFeatureViewModel:,referenceElement,selectedLayer:,showAllEnabled,spatialReference:,state,timeZone,tooltipReferenceMap:,view:;destroy"],
|
|
46
|
-
"arcgis-feature-utility-network-associations": [() => import("./components/arcgis-feature-utility-network-associations/customElement.js"), "associationTypes:,autoDestroyDisabled,description,flowItems:,flowType,graphic:,heading,headingLevel,layer:,map:,messages:,parentFeatureViewModel:,referenceElement,source,spatialReference:,timeZone,view:;destroy"],
|
|
47
|
-
"arcgis-features": [() => import("./components/arcgis-features/customElement.js"), "actions:,active:,autoDestroyDisabled,chartAnimationDisabled,collapsed,content,defaultPopupTemplateEnabled,
|
|
46
|
+
"arcgis-feature-utility-network-association-list": [() => import("./components/arcgis-feature-utility-network-association-list/customElement.js"), "associatedFeatureCount:,associationViewModels:,autoDestroyDisabled,currentFeaturePage,description,displayCount,endIndex:,featuresPerPage,flowItems:,flowType,heading,map:,maxFeatureCount,messages:,parentFeatureViewModel:,referenceElement,selectedLayer:,showAllEnabled,spatialReference:,state,timeZone,tooltipReferenceMap:,useFeatureNextFlowItem,view:;destroy"],
|
|
47
|
+
"arcgis-feature-utility-network-associations": [() => import("./components/arcgis-feature-utility-network-associations/customElement.js"), "associationTypes:,autoDestroyDisabled,description,flowItems:,flowType,graphic:,heading,headingLevel,layer:,map:,messages:,parentFeatureViewModel:,referenceElement,source,spatialReference:,timeZone,useFeatureNextFlowItem,view:;destroy"],
|
|
48
|
+
"arcgis-features": [() => import("./components/arcgis-features/customElement.js"), "actions:,active:,autoDestroyDisabled,chartAnimationDisabled,collapsed,content,defaultPopupTemplateEnabled,featureCount,featureMenuOpen,featureMenuTitle,featureNavigationTop,features:,featuresPerPage,featureViewModelAbilities:,goToOverride:,headerActions:,heading,headingLevel,hideActionBar,hideAttachmentsContent,hideCloseButton,hideContent,hideCustomContent,hideExpressionContent,hideFeatureListLayerTitle,hideFeatureMenuHeading,hideFeatureNavigation,hideFieldsContent,hideHeading,hideLastEditedInfo,hideMediaContent,hideRelationshipContent,hideSelectFeature,hideSpinner,hideTextContent,hideUtilityNetworkContent,highlightDisabled,icon,includeDefaultActionsDisabled,initialDisplayMode,label,location:,map:,messageOverrides:,messages:,open,promises:,referenceElement,responsiveActionsEnabled,selectedDrillInFeature:,selectedFeature:,selectedFeatureComponent:,selectedFeatureIndex,showCollapseButton,spatialReference:,state:,timeZone,updateLocationEnabled,view:,viewModel:;clear,close,destroy,fetchFeatures,next,previous,setFocus,triggerAction"],
|
|
49
|
+
"arcgis-features-next": [() => import("./components/arcgis-features-next/customElement.js"), "actions:,active:,autoDestroyDisabled,chartAnimationDisabled,collapsed,content,defaultPopupTemplateEnabled,effectiveHeading:,featureCount,featureItemAbilities:,featureMenuOpen,featureMenuTitle,featureNavigationTop,features:,featuresPerPage,goToOverride:,headerActions:,heading,headingLevel,hideActionBar,hideAttachmentsContent,hideCloseButton,hideContent,hideCustomContent,hideExpressionContent,hideFeatureListLayerTitle,hideFeatureMenuHeading,hideFeatureNavigation,hideFieldsContent,hideHeading,hideLastEditedInfo,hideMediaContent,hideRelationshipContent,hideSelectFeature,hideSpinner,hideTextContent,hideUtilityNetworkContent,highlightDisabled,icon,includeDefaultActionsDisabled,initialDisplayMode,label,location:,map:,messageOverrides:,messages:,open,promises:,referenceElement,responsiveActionsEnabled,selectedDrillInFeature:,selectedFeature:,selectedFeatureComponent:,selectedFeatureIndex,showCollapseButton,spatialReference:,state:,timeZone,updateLocationEnabled,view:,viewModel:;destroy,fetchFeatures,setFocus,triggerAction;clear,close,next,previous"],
|
|
48
50
|
"arcgis-floor-filter": [() => import("./components/arcgis-floor-filter/customElement.js"), "autoDestroyDisabled,facility,goToOverride:,headingLevel,icon,label,level,longNames,messageOverrides:,messages:,referenceElement,site,view:;destroy,updateWebDocument"],
|
|
49
51
|
"arcgis-fullscreen": [() => import("./components/arcgis-fullscreen/customElement.js"), "element,label,messageOverrides:,messages:,referenceElement,state,view:,visualScale"],
|
|
50
52
|
"arcgis-grid-controls": [() => import("./components/arcgis-grid-controls/customElement.js"), "_messages:,autoDestroyDisabled,customColor,displayEnabled:,dynamicScaling,effectiveSpacingAfterDynamicScaling,gridColor,gridControlsEnabled:,gridOutOfScale,hideColorSelection,hideDynamicScaleToggle,hideGridEnabledToggle,hideGridSnapEnabledToggle,hideLineIntervalInput,hideNumericInputs,hideOutOfScaleWarning,hidePlacementButtons,hideRotateWithMapToggle,icon,interactivePlacementState,label,majorLineInterval,messageOverrides:,placementDisabled,referenceElement,rotateWithMap,rotation,snappingEnabled,snappingOptions:,spacing,theme,unit,view:;destroy;trySetDisplayEnabled"],
|
|
@@ -146,7 +148,7 @@ const s = t(e, {
|
|
|
146
148
|
"arcgis-utility-network-trace-analysis": [() => import("./components/arcgis-utility-network-trace-analysis/customElement.js"), "_messages:,aggregatedGeometryGraphicsColor:,autoDestroyDisabled,beforeTraceLocationSelectStart:,disableHighlightFeatureResults,hideActionBar,hideFeatureResults,label,messageOverrides:,referenceElement,state:,traceResultFeatures:,view:;destroy"],
|
|
147
149
|
"arcgis-utility-network-aggregated-geometry": [() => import("./components/arcgis-utility-network-aggregated-geometry/customElement.js"), "_messages:,autoDestroyDisabled,geometry:,graphicsColor:,hideGraphics,view:;destroy"],
|
|
148
150
|
"arcgis-utility-network-subnetwork-info": [() => import("./components/arcgis-utility-network-subnetwork-info/customElement.js"), "_messages:,namedTraceConfig:"],
|
|
149
|
-
"arcgis-utility-network-trace-inputs": [() => import("./components/arcgis-utility-network-trace-inputs/customElement.js"), "_messages:,autoDestroyDisabled,beforeTraceLocationSelectStart:,hideActionBar,mode,referenceElement,selectedNamedTraceConfiguration:,selectedUtilityNetwork:,traceLocationFlagInfos:,traceLocations:,unTraceConfiguration:,view:;destroy"],
|
|
151
|
+
"arcgis-utility-network-trace-inputs": [() => import("./components/arcgis-utility-network-trace-inputs/customElement.js"), "_messages:,autoDestroyDisabled,beforeTraceLocationSelectStart:,hideActionBar,isSubnetworkNameTraceSelected:,mode,referenceElement,selectedNamedTraceConfiguration:,selectedUtilityNetwork:,traceLocationFlagInfos:,traceLocations:,unTraceConfiguration:,view:;destroy"],
|
|
150
152
|
"arcgis-utility-network-trace-location": [() => import("./components/arcgis-utility-network-trace-location/customElement.js"), "afterHitTest:,autoDestroyDisabled,beforeTraceLocationSelectStart:,filterLayers:,messages:,sketchViewModel:,spatialTolerance,traceLocations:,traceLocationType,utilityNetwork:,view:;destroy"],
|
|
151
153
|
"arcgis-utility-network-trace-location-list": [() => import("./components/arcgis-utility-network-trace-location-list/customElement.js"), "_messages:,traceLocations:,traceLocationType,view:"],
|
|
152
154
|
"arcgis-utility-network-trace-results": [() => import("./components/arcgis-utility-network-trace-results/customElement.js"), "_messages:,aggregatedGeometryGraphicsColor:,autoDestroyDisabled,featuresFromSelectedLayer:,hideActionBar,hideFeatureResults,isElementsSelected,layers:,messageOverrides:,numResults:,referenceElement,selectedLayer:,state,traceConfigTitle,traceError:,traceResult:,traceResultFeatures:,utilityNetwork:,view:;destroy;clearAggregatedGeometryGraphics"],
|
package/dist/types/lumina.d.ts
CHANGED
|
@@ -20,9 +20,11 @@ import type { ArcgisElevationProfile } from "../components/arcgis-elevation-prof
|
|
|
20
20
|
import type { ArcgisExpand } from "../components/arcgis-expand/customElement.js";
|
|
21
21
|
import type { ArcgisFeature } from "../components/arcgis-feature/customElement.js";
|
|
22
22
|
import type { ArcgisFeatureForm } from "../components/arcgis-feature-form/customElement.js";
|
|
23
|
+
import type { ArcgisFeatureNext } from "../components/arcgis-feature-next/customElement.js";
|
|
23
24
|
import type { ArcgisFeatureTable } from "../components/arcgis-feature-table/customElement.js";
|
|
24
25
|
import type { ArcgisFeatureTemplatesLegacy } from "../components/arcgis-feature-templates-legacy/customElement.js";
|
|
25
26
|
import type { ArcgisFeatures } from "../components/arcgis-features/customElement.js";
|
|
27
|
+
import type { ArcgisFeaturesNext } from "../components/arcgis-features-next/customElement.js";
|
|
26
28
|
import type { ArcgisFloorFilter } from "../components/arcgis-floor-filter/customElement.js";
|
|
27
29
|
import type { ArcgisFullscreen } from "../components/arcgis-fullscreen/customElement.js";
|
|
28
30
|
import type { ArcgisGridControls } from "../components/arcgis-grid-controls/customElement.js";
|
|
@@ -250,6 +252,11 @@ interface LuminaArcgisFeatureForm extends Partial<Pick<ArcgisFeatureForm, "autoD
|
|
|
250
252
|
onarcgisValueChange?: EventHandler<ArcgisFeatureForm["arcgisValueChange"]>;
|
|
251
253
|
}
|
|
252
254
|
|
|
255
|
+
interface LuminaArcgisFeatureNext extends Partial<Pick<ArcgisFeatureNext, "autoDestroyDisabled" | "chartAnimationDisabled" | "defaultPopupTemplateEnabled" | "graphic" | "headingLevel" | "hideAttachmentsContent" | "hideContent" | "hideCustomContent" | "hideExpressionContent" | "hideFieldsContent" | "hideHeading" | "hideLastEditedInfo" | "hideMediaContent" | "hideTextContent" | "icon" | "label" | "location" | "map" | "messageOverrides" | "referenceElement" | "showRelationshipContent" | "showUtilityNetworkContent" | "spatialReference" | "timeZone" | "view" | "viewModel">>, h.JSX.HTMLAttributes<ArcgisFeatureNext> {
|
|
256
|
+
onarcgisPropertyChange?: EventHandler<ArcgisFeatureNext["arcgisPropertyChange"]>;
|
|
257
|
+
onarcgisReady?: EventHandler<ArcgisFeatureNext["arcgisReady"]>;
|
|
258
|
+
}
|
|
259
|
+
|
|
253
260
|
interface LuminaArcgisFeatureTable extends Partial<Pick<ArcgisFeatureTable, "actionColumnConfig" | "attachmentsEnabled" | "attachmentsViewOptions" | "attributeTableTemplate" | "autoDestroyDisabled" | "autoRefreshDisabled" | "autoSaveDisabled" | "closed" | "collapsed" | "columnPerformanceModeDisabled" | "columnReorderingDisabled" | "definitionExpression" | "description" | "disabled" | "editingEnabled" | "filterBySelectionEnabled" | "filterByViewExtent" | "filterGeometry" | "hiddenFields" | "hideColumnDescriptions" | "hideColumnMenuItemsSortAscending" | "hideColumnMenuItemsSortDescending" | "hideColumnMenus" | "hideColumnVisibilityMenu" | "hideColumnVisibilityMenuItemsFilter" | "hideColumnVisibilityMenuItemsHeader" | "hideColumnVisibilityMenuItemsToggleAll" | "hideHeader" | "hideLayerDropdownIcons" | "hideMenu" | "hideMenuItemsClearSelection" | "hideMenuItemsDeleteSelection" | "hideMenuItemsExportSelectionToCsv" | "hideMenuItemsRefreshData" | "hideMenuItemsSelectedRecordsShowAllToggle" | "hideMenuItemsSelectedRecordsShowSelectedToggle" | "hideMenuItemsToggleColumns" | "hideMenuItemsZoomToSelection" | "hideProgress" | "hideSelectionColumn" | "hideTooltips" | "highlightDisabled" | "highlightIds" | "initialSize" | "label" | "layer" | "layerId" | "layerItemId" | "layers" | "layerUrl" | "maxSize" | "menuConfig" | "multipleSelectionDisabled" | "multipleSortEnabled" | "multipleSortPriority" | "navigationScale" | "noDataMessage" | "objectIds" | "outFields" | "pageIndex" | "pageSize" | "paginationEnabled" | "referenceElement" | "relatedRecordsEnabled" | "relatedTables" | "returnGeometryEnabled" | "returnMEnabled" | "returnZEnabled" | "rowHighlightIds" | "selectionManager" | "showClose" | "showCollapse" | "showLayerDropdown" | "syncTemplateOnChangesDisabled" | "syncViewSelection" | "tableDisabled" | "tableTemplate" | "tableTitle" | "timeExtent" | "timeZone" | "view">>, ArcgisFeatureTableSetterTypes, h.JSX.HTMLAttributes<ArcgisFeatureTable> {
|
|
254
261
|
onarcgisCellClick?: EventHandler<ArcgisFeatureTable["arcgisCellClick"]>;
|
|
255
262
|
onarcgisCellKeydown?: EventHandler<ArcgisFeatureTable["arcgisCellKeydown"]>;
|
|
@@ -267,13 +274,20 @@ interface LuminaArcgisFeatureTemplatesLegacy extends Partial<Pick<ArcgisFeatureT
|
|
|
267
274
|
onarcgisSelect?: EventHandler<ArcgisFeatureTemplatesLegacy["arcgisSelect"]>;
|
|
268
275
|
}
|
|
269
276
|
|
|
270
|
-
interface LuminaArcgisFeatures extends Partial<Pick<ArcgisFeatures, "actions" | "autoDestroyDisabled" | "chartAnimationDisabled" | "collapsed" | "content" | "defaultPopupTemplateEnabled" | "featureCount" | "
|
|
277
|
+
interface LuminaArcgisFeatures extends Partial<Pick<ArcgisFeatures, "actions" | "autoDestroyDisabled" | "chartAnimationDisabled" | "collapsed" | "content" | "defaultPopupTemplateEnabled" | "featureCount" | "featureMenuOpen" | "featureMenuTitle" | "featureNavigationTop" | "features" | "featuresPerPage" | "featureViewModelAbilities" | "goToOverride" | "headerActions" | "heading" | "headingLevel" | "hideActionBar" | "hideAttachmentsContent" | "hideCloseButton" | "hideContent" | "hideCustomContent" | "hideExpressionContent" | "hideFeatureListLayerTitle" | "hideFeatureMenuHeading" | "hideFeatureNavigation" | "hideFieldsContent" | "hideHeading" | "hideLastEditedInfo" | "hideMediaContent" | "hideRelationshipContent" | "hideSelectFeature" | "hideSpinner" | "hideTextContent" | "hideUtilityNetworkContent" | "highlightDisabled" | "icon" | "includeDefaultActionsDisabled" | "initialDisplayMode" | "label" | "map" | "messageOverrides" | "open" | "promises" | "referenceElement" | "selectedFeatureIndex" | "showCollapseButton" | "spatialReference" | "timeZone" | "updateLocationEnabled" | "view" | "viewModel">>, h.JSX.HTMLAttributes<ArcgisFeatures> {
|
|
271
278
|
onarcgisClose?: EventHandler<ArcgisFeatures["arcgisClose"]>;
|
|
272
279
|
onarcgisPropertyChange?: EventHandler<ArcgisFeatures["arcgisPropertyChange"]>;
|
|
273
280
|
onarcgisReady?: EventHandler<ArcgisFeatures["arcgisReady"]>;
|
|
274
281
|
onarcgisTriggerAction?: EventHandler<ArcgisFeatures["arcgisTriggerAction"]>;
|
|
275
282
|
}
|
|
276
283
|
|
|
284
|
+
interface LuminaArcgisFeaturesNext extends Partial<Pick<ArcgisFeaturesNext, "actions" | "autoDestroyDisabled" | "chartAnimationDisabled" | "collapsed" | "content" | "defaultPopupTemplateEnabled" | "featureCount" | "featureItemAbilities" | "featureMenuOpen" | "featureMenuTitle" | "featureNavigationTop" | "features" | "featuresPerPage" | "goToOverride" | "headerActions" | "heading" | "headingLevel" | "hideActionBar" | "hideAttachmentsContent" | "hideCloseButton" | "hideContent" | "hideCustomContent" | "hideExpressionContent" | "hideFeatureListLayerTitle" | "hideFeatureMenuHeading" | "hideFeatureNavigation" | "hideFieldsContent" | "hideHeading" | "hideLastEditedInfo" | "hideMediaContent" | "hideRelationshipContent" | "hideSelectFeature" | "hideSpinner" | "hideTextContent" | "hideUtilityNetworkContent" | "highlightDisabled" | "icon" | "includeDefaultActionsDisabled" | "initialDisplayMode" | "label" | "map" | "messageOverrides" | "open" | "promises" | "referenceElement" | "selectedFeatureIndex" | "showCollapseButton" | "spatialReference" | "timeZone" | "updateLocationEnabled" | "view" | "viewModel">>, h.JSX.HTMLAttributes<ArcgisFeaturesNext> {
|
|
285
|
+
onarcgisClose?: EventHandler<ArcgisFeaturesNext["arcgisClose"]>;
|
|
286
|
+
onarcgisPropertyChange?: EventHandler<ArcgisFeaturesNext["arcgisPropertyChange"]>;
|
|
287
|
+
onarcgisReady?: EventHandler<ArcgisFeaturesNext["arcgisReady"]>;
|
|
288
|
+
onarcgisTriggerAction?: EventHandler<ArcgisFeaturesNext["arcgisTriggerAction"]>;
|
|
289
|
+
}
|
|
290
|
+
|
|
277
291
|
interface LuminaArcgisFloorFilter extends Partial<Pick<ArcgisFloorFilter, "autoDestroyDisabled" | "facility" | "goToOverride" | "headingLevel" | "icon" | "label" | "level" | "longNames" | "messageOverrides" | "referenceElement" | "site" | "view">>, h.JSX.HTMLAttributes<ArcgisFloorFilter> {
|
|
278
292
|
onarcgisReady?: EventHandler<ArcgisFloorFilter["arcgisReady"]>;
|
|
279
293
|
}
|
|
@@ -797,9 +811,11 @@ declare module "@arcgis/lumina" {
|
|
|
797
811
|
"arcgis-expand": LuminaArcgisExpand;
|
|
798
812
|
"arcgis-feature": LuminaArcgisFeature;
|
|
799
813
|
"arcgis-feature-form": LuminaArcgisFeatureForm;
|
|
814
|
+
"arcgis-feature-next": LuminaArcgisFeatureNext;
|
|
800
815
|
"arcgis-feature-table": LuminaArcgisFeatureTable;
|
|
801
816
|
"arcgis-feature-templates-legacy": LuminaArcgisFeatureTemplatesLegacy;
|
|
802
817
|
"arcgis-features": LuminaArcgisFeatures;
|
|
818
|
+
"arcgis-features-next": LuminaArcgisFeaturesNext;
|
|
803
819
|
"arcgis-floor-filter": LuminaArcgisFloorFilter;
|
|
804
820
|
"arcgis-fullscreen": LuminaArcgisFullscreen;
|
|
805
821
|
"arcgis-grid-controls": LuminaArcgisGridControls;
|
package/dist/types/preact.d.ts
CHANGED
|
@@ -20,9 +20,11 @@ import type { ArcgisElevationProfile } from "../components/arcgis-elevation-prof
|
|
|
20
20
|
import type { ArcgisExpand } from "../components/arcgis-expand/customElement.js";
|
|
21
21
|
import type { ArcgisFeature } from "../components/arcgis-feature/customElement.js";
|
|
22
22
|
import type { ArcgisFeatureForm } from "../components/arcgis-feature-form/customElement.js";
|
|
23
|
+
import type { ArcgisFeatureNext } from "../components/arcgis-feature-next/customElement.js";
|
|
23
24
|
import type { ArcgisFeatureTable } from "../components/arcgis-feature-table/customElement.js";
|
|
24
25
|
import type { ArcgisFeatureTemplatesLegacy } from "../components/arcgis-feature-templates-legacy/customElement.js";
|
|
25
26
|
import type { ArcgisFeatures } from "../components/arcgis-features/customElement.js";
|
|
27
|
+
import type { ArcgisFeaturesNext } from "../components/arcgis-features-next/customElement.js";
|
|
26
28
|
import type { ArcgisFloorFilter } from "../components/arcgis-floor-filter/customElement.js";
|
|
27
29
|
import type { ArcgisFullscreen } from "../components/arcgis-fullscreen/customElement.js";
|
|
28
30
|
import type { ArcgisGridControls } from "../components/arcgis-grid-controls/customElement.js";
|
|
@@ -251,6 +253,11 @@ interface PreactArcgisFeatureForm extends Partial<Pick<ArcgisFeatureForm, "autoD
|
|
|
251
253
|
onarcgisValueChange?: EventHandler<ArcgisFeatureForm["arcgisValueChange"]>;
|
|
252
254
|
}
|
|
253
255
|
|
|
256
|
+
interface PreactArcgisFeatureNext extends Partial<Pick<ArcgisFeatureNext, "autoDestroyDisabled" | "chartAnimationDisabled" | "defaultPopupTemplateEnabled" | "graphic" | "headingLevel" | "hideAttachmentsContent" | "hideContent" | "hideCustomContent" | "hideExpressionContent" | "hideFieldsContent" | "hideHeading" | "hideLastEditedInfo" | "hideMediaContent" | "hideTextContent" | "icon" | "label" | "location" | "map" | "messageOverrides" | "referenceElement" | "showRelationshipContent" | "showUtilityNetworkContent" | "spatialReference" | "timeZone" | "view" | "viewModel">>, HTMLAttributes<ArcgisFeatureNext> {
|
|
257
|
+
onarcgisPropertyChange?: EventHandler<ArcgisFeatureNext["arcgisPropertyChange"]>;
|
|
258
|
+
onarcgisReady?: EventHandler<ArcgisFeatureNext["arcgisReady"]>;
|
|
259
|
+
}
|
|
260
|
+
|
|
254
261
|
interface PreactArcgisFeatureTable extends Partial<Pick<ArcgisFeatureTable, "actionColumnConfig" | "attachmentsEnabled" | "attachmentsViewOptions" | "attributeTableTemplate" | "autoDestroyDisabled" | "autoRefreshDisabled" | "autoSaveDisabled" | "closed" | "collapsed" | "columnPerformanceModeDisabled" | "columnReorderingDisabled" | "definitionExpression" | "description" | "disabled" | "editingEnabled" | "filterBySelectionEnabled" | "filterByViewExtent" | "filterGeometry" | "hiddenFields" | "hideColumnDescriptions" | "hideColumnMenuItemsSortAscending" | "hideColumnMenuItemsSortDescending" | "hideColumnMenus" | "hideColumnVisibilityMenu" | "hideColumnVisibilityMenuItemsFilter" | "hideColumnVisibilityMenuItemsHeader" | "hideColumnVisibilityMenuItemsToggleAll" | "hideHeader" | "hideLayerDropdownIcons" | "hideMenu" | "hideMenuItemsClearSelection" | "hideMenuItemsDeleteSelection" | "hideMenuItemsExportSelectionToCsv" | "hideMenuItemsRefreshData" | "hideMenuItemsSelectedRecordsShowAllToggle" | "hideMenuItemsSelectedRecordsShowSelectedToggle" | "hideMenuItemsToggleColumns" | "hideMenuItemsZoomToSelection" | "hideProgress" | "hideSelectionColumn" | "hideTooltips" | "highlightDisabled" | "highlightIds" | "initialSize" | "label" | "layer" | "layerId" | "layerItemId" | "layers" | "layerUrl" | "maxSize" | "menuConfig" | "multipleSelectionDisabled" | "multipleSortEnabled" | "multipleSortPriority" | "navigationScale" | "noDataMessage" | "objectIds" | "outFields" | "pageIndex" | "pageSize" | "paginationEnabled" | "referenceElement" | "relatedRecordsEnabled" | "relatedTables" | "returnGeometryEnabled" | "returnMEnabled" | "returnZEnabled" | "rowHighlightIds" | "selectionManager" | "showClose" | "showCollapse" | "showLayerDropdown" | "syncTemplateOnChangesDisabled" | "syncViewSelection" | "tableDisabled" | "tableTemplate" | "tableTitle" | "timeExtent" | "timeZone" | "view">>, ArcgisFeatureTableSetterTypes, HTMLAttributes<ArcgisFeatureTable> {
|
|
255
262
|
onarcgisCellClick?: EventHandler<ArcgisFeatureTable["arcgisCellClick"]>;
|
|
256
263
|
onarcgisCellKeydown?: EventHandler<ArcgisFeatureTable["arcgisCellKeydown"]>;
|
|
@@ -268,13 +275,20 @@ interface PreactArcgisFeatureTemplatesLegacy extends Partial<Pick<ArcgisFeatureT
|
|
|
268
275
|
onarcgisSelect?: EventHandler<ArcgisFeatureTemplatesLegacy["arcgisSelect"]>;
|
|
269
276
|
}
|
|
270
277
|
|
|
271
|
-
interface PreactArcgisFeatures extends Partial<Pick<ArcgisFeatures, "actions" | "autoDestroyDisabled" | "chartAnimationDisabled" | "collapsed" | "content" | "defaultPopupTemplateEnabled" | "featureCount" | "
|
|
278
|
+
interface PreactArcgisFeatures extends Partial<Pick<ArcgisFeatures, "actions" | "autoDestroyDisabled" | "chartAnimationDisabled" | "collapsed" | "content" | "defaultPopupTemplateEnabled" | "featureCount" | "featureMenuOpen" | "featureMenuTitle" | "featureNavigationTop" | "features" | "featuresPerPage" | "featureViewModelAbilities" | "goToOverride" | "headerActions" | "heading" | "headingLevel" | "hideActionBar" | "hideAttachmentsContent" | "hideCloseButton" | "hideContent" | "hideCustomContent" | "hideExpressionContent" | "hideFeatureListLayerTitle" | "hideFeatureMenuHeading" | "hideFeatureNavigation" | "hideFieldsContent" | "hideHeading" | "hideLastEditedInfo" | "hideMediaContent" | "hideRelationshipContent" | "hideSelectFeature" | "hideSpinner" | "hideTextContent" | "hideUtilityNetworkContent" | "highlightDisabled" | "icon" | "includeDefaultActionsDisabled" | "initialDisplayMode" | "label" | "map" | "messageOverrides" | "open" | "promises" | "referenceElement" | "selectedFeatureIndex" | "showCollapseButton" | "spatialReference" | "timeZone" | "updateLocationEnabled" | "view" | "viewModel">>, HTMLAttributes<ArcgisFeatures> {
|
|
272
279
|
onarcgisClose?: EventHandler<ArcgisFeatures["arcgisClose"]>;
|
|
273
280
|
onarcgisPropertyChange?: EventHandler<ArcgisFeatures["arcgisPropertyChange"]>;
|
|
274
281
|
onarcgisReady?: EventHandler<ArcgisFeatures["arcgisReady"]>;
|
|
275
282
|
onarcgisTriggerAction?: EventHandler<ArcgisFeatures["arcgisTriggerAction"]>;
|
|
276
283
|
}
|
|
277
284
|
|
|
285
|
+
interface PreactArcgisFeaturesNext extends Partial<Pick<ArcgisFeaturesNext, "actions" | "autoDestroyDisabled" | "chartAnimationDisabled" | "collapsed" | "content" | "defaultPopupTemplateEnabled" | "featureCount" | "featureItemAbilities" | "featureMenuOpen" | "featureMenuTitle" | "featureNavigationTop" | "features" | "featuresPerPage" | "goToOverride" | "headerActions" | "heading" | "headingLevel" | "hideActionBar" | "hideAttachmentsContent" | "hideCloseButton" | "hideContent" | "hideCustomContent" | "hideExpressionContent" | "hideFeatureListLayerTitle" | "hideFeatureMenuHeading" | "hideFeatureNavigation" | "hideFieldsContent" | "hideHeading" | "hideLastEditedInfo" | "hideMediaContent" | "hideRelationshipContent" | "hideSelectFeature" | "hideSpinner" | "hideTextContent" | "hideUtilityNetworkContent" | "highlightDisabled" | "icon" | "includeDefaultActionsDisabled" | "initialDisplayMode" | "label" | "map" | "messageOverrides" | "open" | "promises" | "referenceElement" | "selectedFeatureIndex" | "showCollapseButton" | "spatialReference" | "timeZone" | "updateLocationEnabled" | "view" | "viewModel">>, HTMLAttributes<ArcgisFeaturesNext> {
|
|
286
|
+
onarcgisClose?: EventHandler<ArcgisFeaturesNext["arcgisClose"]>;
|
|
287
|
+
onarcgisPropertyChange?: EventHandler<ArcgisFeaturesNext["arcgisPropertyChange"]>;
|
|
288
|
+
onarcgisReady?: EventHandler<ArcgisFeaturesNext["arcgisReady"]>;
|
|
289
|
+
onarcgisTriggerAction?: EventHandler<ArcgisFeaturesNext["arcgisTriggerAction"]>;
|
|
290
|
+
}
|
|
291
|
+
|
|
278
292
|
interface PreactArcgisFloorFilter extends Partial<Pick<ArcgisFloorFilter, "autoDestroyDisabled" | "facility" | "goToOverride" | "headingLevel" | "icon" | "label" | "level" | "longNames" | "messageOverrides" | "referenceElement" | "site" | "view">>, HTMLAttributes<ArcgisFloorFilter> {
|
|
279
293
|
onarcgisReady?: EventHandler<ArcgisFloorFilter["arcgisReady"]>;
|
|
280
294
|
}
|
|
@@ -798,9 +812,11 @@ declare module 'preact' {
|
|
|
798
812
|
"arcgis-expand": PreactArcgisExpand;
|
|
799
813
|
"arcgis-feature": PreactArcgisFeature;
|
|
800
814
|
"arcgis-feature-form": PreactArcgisFeatureForm;
|
|
815
|
+
"arcgis-feature-next": PreactArcgisFeatureNext;
|
|
801
816
|
"arcgis-feature-table": PreactArcgisFeatureTable;
|
|
802
817
|
"arcgis-feature-templates-legacy": PreactArcgisFeatureTemplatesLegacy;
|
|
803
818
|
"arcgis-features": PreactArcgisFeatures;
|
|
819
|
+
"arcgis-features-next": PreactArcgisFeaturesNext;
|
|
804
820
|
"arcgis-floor-filter": PreactArcgisFloorFilter;
|
|
805
821
|
"arcgis-fullscreen": PreactArcgisFullscreen;
|
|
806
822
|
"arcgis-grid-controls": PreactArcgisGridControls;
|
|
@@ -899,9 +915,11 @@ declare module 'preact' {
|
|
|
899
915
|
"arcgis-expand": PreactArcgisExpand;
|
|
900
916
|
"arcgis-feature": PreactArcgisFeature;
|
|
901
917
|
"arcgis-feature-form": PreactArcgisFeatureForm;
|
|
918
|
+
"arcgis-feature-next": PreactArcgisFeatureNext;
|
|
902
919
|
"arcgis-feature-table": PreactArcgisFeatureTable;
|
|
903
920
|
"arcgis-feature-templates-legacy": PreactArcgisFeatureTemplatesLegacy;
|
|
904
921
|
"arcgis-features": PreactArcgisFeatures;
|
|
922
|
+
"arcgis-features-next": PreactArcgisFeaturesNext;
|
|
905
923
|
"arcgis-floor-filter": PreactArcgisFloorFilter;
|
|
906
924
|
"arcgis-fullscreen": PreactArcgisFullscreen;
|
|
907
925
|
"arcgis-grid-controls": PreactArcgisGridControls;
|
package/dist/types/react.d.ts
CHANGED
|
@@ -20,9 +20,11 @@ import type { ArcgisElevationProfile } from "../components/arcgis-elevation-prof
|
|
|
20
20
|
import type { ArcgisExpand } from "../components/arcgis-expand/customElement.js";
|
|
21
21
|
import type { ArcgisFeature } from "../components/arcgis-feature/customElement.js";
|
|
22
22
|
import type { ArcgisFeatureForm } from "../components/arcgis-feature-form/customElement.js";
|
|
23
|
+
import type { ArcgisFeatureNext } from "../components/arcgis-feature-next/customElement.js";
|
|
23
24
|
import type { ArcgisFeatureTable } from "../components/arcgis-feature-table/customElement.js";
|
|
24
25
|
import type { ArcgisFeatureTemplatesLegacy } from "../components/arcgis-feature-templates-legacy/customElement.js";
|
|
25
26
|
import type { ArcgisFeatures } from "../components/arcgis-features/customElement.js";
|
|
27
|
+
import type { ArcgisFeaturesNext } from "../components/arcgis-features-next/customElement.js";
|
|
26
28
|
import type { ArcgisFloorFilter } from "../components/arcgis-floor-filter/customElement.js";
|
|
27
29
|
import type { ArcgisFullscreen } from "../components/arcgis-fullscreen/customElement.js";
|
|
28
30
|
import type { ArcgisGridControls } from "../components/arcgis-grid-controls/customElement.js";
|
|
@@ -251,6 +253,11 @@ interface ReactArcgisFeatureForm extends Partial<Pick<ArcgisFeatureForm, "autoDe
|
|
|
251
253
|
onarcgisValueChange?: EventHandler<ArcgisFeatureForm["arcgisValueChange"]>;
|
|
252
254
|
}
|
|
253
255
|
|
|
256
|
+
interface ReactArcgisFeatureNext extends Partial<Pick<ArcgisFeatureNext, "autoDestroyDisabled" | "chartAnimationDisabled" | "defaultPopupTemplateEnabled" | "graphic" | "headingLevel" | "hideAttachmentsContent" | "hideContent" | "hideCustomContent" | "hideExpressionContent" | "hideFieldsContent" | "hideHeading" | "hideLastEditedInfo" | "hideMediaContent" | "hideTextContent" | "icon" | "label" | "location" | "map" | "messageOverrides" | "referenceElement" | "showRelationshipContent" | "showUtilityNetworkContent" | "spatialReference" | "timeZone" | "view" | "viewModel">>, HTMLProps<ArcgisFeatureNext> {
|
|
257
|
+
onarcgisPropertyChange?: EventHandler<ArcgisFeatureNext["arcgisPropertyChange"]>;
|
|
258
|
+
onarcgisReady?: EventHandler<ArcgisFeatureNext["arcgisReady"]>;
|
|
259
|
+
}
|
|
260
|
+
|
|
254
261
|
interface ReactArcgisFeatureTable extends Partial<Pick<ArcgisFeatureTable, "actionColumnConfig" | "attachmentsEnabled" | "attachmentsViewOptions" | "attributeTableTemplate" | "autoDestroyDisabled" | "autoRefreshDisabled" | "autoSaveDisabled" | "closed" | "collapsed" | "columnPerformanceModeDisabled" | "columnReorderingDisabled" | "definitionExpression" | "description" | "disabled" | "editingEnabled" | "filterBySelectionEnabled" | "filterByViewExtent" | "filterGeometry" | "hiddenFields" | "hideColumnDescriptions" | "hideColumnMenuItemsSortAscending" | "hideColumnMenuItemsSortDescending" | "hideColumnMenus" | "hideColumnVisibilityMenu" | "hideColumnVisibilityMenuItemsFilter" | "hideColumnVisibilityMenuItemsHeader" | "hideColumnVisibilityMenuItemsToggleAll" | "hideHeader" | "hideLayerDropdownIcons" | "hideMenu" | "hideMenuItemsClearSelection" | "hideMenuItemsDeleteSelection" | "hideMenuItemsExportSelectionToCsv" | "hideMenuItemsRefreshData" | "hideMenuItemsSelectedRecordsShowAllToggle" | "hideMenuItemsSelectedRecordsShowSelectedToggle" | "hideMenuItemsToggleColumns" | "hideMenuItemsZoomToSelection" | "hideProgress" | "hideSelectionColumn" | "hideTooltips" | "highlightDisabled" | "highlightIds" | "initialSize" | "label" | "layer" | "layerId" | "layerItemId" | "layers" | "layerUrl" | "maxSize" | "menuConfig" | "multipleSelectionDisabled" | "multipleSortEnabled" | "multipleSortPriority" | "navigationScale" | "noDataMessage" | "objectIds" | "outFields" | "pageIndex" | "pageSize" | "paginationEnabled" | "referenceElement" | "relatedRecordsEnabled" | "relatedTables" | "returnGeometryEnabled" | "returnMEnabled" | "returnZEnabled" | "rowHighlightIds" | "selectionManager" | "showClose" | "showCollapse" | "showLayerDropdown" | "syncTemplateOnChangesDisabled" | "syncViewSelection" | "tableDisabled" | "tableTemplate" | "tableTitle" | "timeExtent" | "timeZone" | "view">>, ArcgisFeatureTableSetterTypes, HTMLProps<ArcgisFeatureTable> {
|
|
255
262
|
onarcgisCellClick?: EventHandler<ArcgisFeatureTable["arcgisCellClick"]>;
|
|
256
263
|
onarcgisCellKeydown?: EventHandler<ArcgisFeatureTable["arcgisCellKeydown"]>;
|
|
@@ -268,13 +275,20 @@ interface ReactArcgisFeatureTemplatesLegacy extends Partial<Pick<ArcgisFeatureTe
|
|
|
268
275
|
onarcgisSelect?: EventHandler<ArcgisFeatureTemplatesLegacy["arcgisSelect"]>;
|
|
269
276
|
}
|
|
270
277
|
|
|
271
|
-
interface ReactArcgisFeatures extends Partial<Pick<ArcgisFeatures, "actions" | "autoDestroyDisabled" | "chartAnimationDisabled" | "collapsed" | "content" | "defaultPopupTemplateEnabled" | "featureCount" | "
|
|
278
|
+
interface ReactArcgisFeatures extends Partial<Pick<ArcgisFeatures, "actions" | "autoDestroyDisabled" | "chartAnimationDisabled" | "collapsed" | "content" | "defaultPopupTemplateEnabled" | "featureCount" | "featureMenuOpen" | "featureMenuTitle" | "featureNavigationTop" | "features" | "featuresPerPage" | "featureViewModelAbilities" | "goToOverride" | "headerActions" | "heading" | "headingLevel" | "hideActionBar" | "hideAttachmentsContent" | "hideCloseButton" | "hideContent" | "hideCustomContent" | "hideExpressionContent" | "hideFeatureListLayerTitle" | "hideFeatureMenuHeading" | "hideFeatureNavigation" | "hideFieldsContent" | "hideHeading" | "hideLastEditedInfo" | "hideMediaContent" | "hideRelationshipContent" | "hideSelectFeature" | "hideSpinner" | "hideTextContent" | "hideUtilityNetworkContent" | "highlightDisabled" | "icon" | "includeDefaultActionsDisabled" | "initialDisplayMode" | "label" | "map" | "messageOverrides" | "open" | "promises" | "referenceElement" | "selectedFeatureIndex" | "showCollapseButton" | "spatialReference" | "timeZone" | "updateLocationEnabled" | "view" | "viewModel">>, HTMLProps<ArcgisFeatures> {
|
|
272
279
|
onarcgisClose?: EventHandler<ArcgisFeatures["arcgisClose"]>;
|
|
273
280
|
onarcgisPropertyChange?: EventHandler<ArcgisFeatures["arcgisPropertyChange"]>;
|
|
274
281
|
onarcgisReady?: EventHandler<ArcgisFeatures["arcgisReady"]>;
|
|
275
282
|
onarcgisTriggerAction?: EventHandler<ArcgisFeatures["arcgisTriggerAction"]>;
|
|
276
283
|
}
|
|
277
284
|
|
|
285
|
+
interface ReactArcgisFeaturesNext extends Partial<Pick<ArcgisFeaturesNext, "actions" | "autoDestroyDisabled" | "chartAnimationDisabled" | "collapsed" | "content" | "defaultPopupTemplateEnabled" | "featureCount" | "featureItemAbilities" | "featureMenuOpen" | "featureMenuTitle" | "featureNavigationTop" | "features" | "featuresPerPage" | "goToOverride" | "headerActions" | "heading" | "headingLevel" | "hideActionBar" | "hideAttachmentsContent" | "hideCloseButton" | "hideContent" | "hideCustomContent" | "hideExpressionContent" | "hideFeatureListLayerTitle" | "hideFeatureMenuHeading" | "hideFeatureNavigation" | "hideFieldsContent" | "hideHeading" | "hideLastEditedInfo" | "hideMediaContent" | "hideRelationshipContent" | "hideSelectFeature" | "hideSpinner" | "hideTextContent" | "hideUtilityNetworkContent" | "highlightDisabled" | "icon" | "includeDefaultActionsDisabled" | "initialDisplayMode" | "label" | "map" | "messageOverrides" | "open" | "promises" | "referenceElement" | "selectedFeatureIndex" | "showCollapseButton" | "spatialReference" | "timeZone" | "updateLocationEnabled" | "view" | "viewModel">>, HTMLProps<ArcgisFeaturesNext> {
|
|
286
|
+
onarcgisClose?: EventHandler<ArcgisFeaturesNext["arcgisClose"]>;
|
|
287
|
+
onarcgisPropertyChange?: EventHandler<ArcgisFeaturesNext["arcgisPropertyChange"]>;
|
|
288
|
+
onarcgisReady?: EventHandler<ArcgisFeaturesNext["arcgisReady"]>;
|
|
289
|
+
onarcgisTriggerAction?: EventHandler<ArcgisFeaturesNext["arcgisTriggerAction"]>;
|
|
290
|
+
}
|
|
291
|
+
|
|
278
292
|
interface ReactArcgisFloorFilter extends Partial<Pick<ArcgisFloorFilter, "autoDestroyDisabled" | "facility" | "goToOverride" | "headingLevel" | "icon" | "label" | "level" | "longNames" | "messageOverrides" | "referenceElement" | "site" | "view">>, HTMLProps<ArcgisFloorFilter> {
|
|
279
293
|
onarcgisReady?: EventHandler<ArcgisFloorFilter["arcgisReady"]>;
|
|
280
294
|
}
|
|
@@ -798,9 +812,11 @@ declare module "react" {
|
|
|
798
812
|
"arcgis-expand": ReactArcgisExpand;
|
|
799
813
|
"arcgis-feature": ReactArcgisFeature;
|
|
800
814
|
"arcgis-feature-form": ReactArcgisFeatureForm;
|
|
815
|
+
"arcgis-feature-next": ReactArcgisFeatureNext;
|
|
801
816
|
"arcgis-feature-table": ReactArcgisFeatureTable;
|
|
802
817
|
"arcgis-feature-templates-legacy": ReactArcgisFeatureTemplatesLegacy;
|
|
803
818
|
"arcgis-features": ReactArcgisFeatures;
|
|
819
|
+
"arcgis-features-next": ReactArcgisFeaturesNext;
|
|
804
820
|
"arcgis-floor-filter": ReactArcgisFloorFilter;
|
|
805
821
|
"arcgis-fullscreen": ReactArcgisFullscreen;
|
|
806
822
|
"arcgis-grid-controls": ReactArcgisGridControls;
|
|
@@ -901,9 +917,11 @@ declare module "react/jsx-runtime" {
|
|
|
901
917
|
"arcgis-expand": ReactArcgisExpand;
|
|
902
918
|
"arcgis-feature": ReactArcgisFeature;
|
|
903
919
|
"arcgis-feature-form": ReactArcgisFeatureForm;
|
|
920
|
+
"arcgis-feature-next": ReactArcgisFeatureNext;
|
|
904
921
|
"arcgis-feature-table": ReactArcgisFeatureTable;
|
|
905
922
|
"arcgis-feature-templates-legacy": ReactArcgisFeatureTemplatesLegacy;
|
|
906
923
|
"arcgis-features": ReactArcgisFeatures;
|
|
924
|
+
"arcgis-features-next": ReactArcgisFeaturesNext;
|
|
907
925
|
"arcgis-floor-filter": ReactArcgisFloorFilter;
|
|
908
926
|
"arcgis-fullscreen": ReactArcgisFullscreen;
|
|
909
927
|
"arcgis-grid-controls": ReactArcgisGridControls;
|
|
@@ -1004,9 +1022,11 @@ declare module "react/jsx-dev-runtime" {
|
|
|
1004
1022
|
"arcgis-expand": ReactArcgisExpand;
|
|
1005
1023
|
"arcgis-feature": ReactArcgisFeature;
|
|
1006
1024
|
"arcgis-feature-form": ReactArcgisFeatureForm;
|
|
1025
|
+
"arcgis-feature-next": ReactArcgisFeatureNext;
|
|
1007
1026
|
"arcgis-feature-table": ReactArcgisFeatureTable;
|
|
1008
1027
|
"arcgis-feature-templates-legacy": ReactArcgisFeatureTemplatesLegacy;
|
|
1009
1028
|
"arcgis-features": ReactArcgisFeatures;
|
|
1029
|
+
"arcgis-features-next": ReactArcgisFeaturesNext;
|
|
1010
1030
|
"arcgis-floor-filter": ReactArcgisFloorFilter;
|
|
1011
1031
|
"arcgis-fullscreen": ReactArcgisFullscreen;
|
|
1012
1032
|
"arcgis-grid-controls": ReactArcgisGridControls;
|
package/dist/types/stencil.d.ts
CHANGED
|
@@ -20,9 +20,11 @@ import type { ArcgisElevationProfile } from "../components/arcgis-elevation-prof
|
|
|
20
20
|
import type { ArcgisExpand } from "../components/arcgis-expand/customElement.js";
|
|
21
21
|
import type { ArcgisFeature } from "../components/arcgis-feature/customElement.js";
|
|
22
22
|
import type { ArcgisFeatureForm } from "../components/arcgis-feature-form/customElement.js";
|
|
23
|
+
import type { ArcgisFeatureNext } from "../components/arcgis-feature-next/customElement.js";
|
|
23
24
|
import type { ArcgisFeatureTable } from "../components/arcgis-feature-table/customElement.js";
|
|
24
25
|
import type { ArcgisFeatureTemplatesLegacy } from "../components/arcgis-feature-templates-legacy/customElement.js";
|
|
25
26
|
import type { ArcgisFeatures } from "../components/arcgis-features/customElement.js";
|
|
27
|
+
import type { ArcgisFeaturesNext } from "../components/arcgis-features-next/customElement.js";
|
|
26
28
|
import type { ArcgisFloorFilter } from "../components/arcgis-floor-filter/customElement.js";
|
|
27
29
|
import type { ArcgisFullscreen } from "../components/arcgis-fullscreen/customElement.js";
|
|
28
30
|
import type { ArcgisGridControls } from "../components/arcgis-grid-controls/customElement.js";
|
|
@@ -251,6 +253,11 @@ interface StencilArcgisFeatureForm extends Partial<Pick<ArcgisFeatureForm, "auto
|
|
|
251
253
|
onArcgisValueChange?: EventHandler<ArcgisFeatureForm["arcgisValueChange"]>;
|
|
252
254
|
}
|
|
253
255
|
|
|
256
|
+
interface StencilArcgisFeatureNext extends Partial<Pick<ArcgisFeatureNext, "autoDestroyDisabled" | "chartAnimationDisabled" | "defaultPopupTemplateEnabled" | "graphic" | "headingLevel" | "hideAttachmentsContent" | "hideContent" | "hideCustomContent" | "hideExpressionContent" | "hideFieldsContent" | "hideHeading" | "hideLastEditedInfo" | "hideMediaContent" | "hideTextContent" | "icon" | "label" | "location" | "map" | "messageOverrides" | "referenceElement" | "showRelationshipContent" | "showUtilityNetworkContent" | "spatialReference" | "timeZone" | "view" | "viewModel">>, StencilJsx.HTMLAttributes<ArcgisFeatureNext> {
|
|
257
|
+
onArcgisPropertyChange?: EventHandler<ArcgisFeatureNext["arcgisPropertyChange"]>;
|
|
258
|
+
onArcgisReady?: EventHandler<ArcgisFeatureNext["arcgisReady"]>;
|
|
259
|
+
}
|
|
260
|
+
|
|
254
261
|
interface StencilArcgisFeatureTable extends Partial<Pick<ArcgisFeatureTable, "actionColumnConfig" | "attachmentsEnabled" | "attachmentsViewOptions" | "attributeTableTemplate" | "autoDestroyDisabled" | "autoRefreshDisabled" | "autoSaveDisabled" | "closed" | "collapsed" | "columnPerformanceModeDisabled" | "columnReorderingDisabled" | "definitionExpression" | "description" | "disabled" | "editingEnabled" | "filterBySelectionEnabled" | "filterByViewExtent" | "filterGeometry" | "hiddenFields" | "hideColumnDescriptions" | "hideColumnMenuItemsSortAscending" | "hideColumnMenuItemsSortDescending" | "hideColumnMenus" | "hideColumnVisibilityMenu" | "hideColumnVisibilityMenuItemsFilter" | "hideColumnVisibilityMenuItemsHeader" | "hideColumnVisibilityMenuItemsToggleAll" | "hideHeader" | "hideLayerDropdownIcons" | "hideMenu" | "hideMenuItemsClearSelection" | "hideMenuItemsDeleteSelection" | "hideMenuItemsExportSelectionToCsv" | "hideMenuItemsRefreshData" | "hideMenuItemsSelectedRecordsShowAllToggle" | "hideMenuItemsSelectedRecordsShowSelectedToggle" | "hideMenuItemsToggleColumns" | "hideMenuItemsZoomToSelection" | "hideProgress" | "hideSelectionColumn" | "hideTooltips" | "highlightDisabled" | "highlightIds" | "initialSize" | "label" | "layer" | "layerId" | "layerItemId" | "layers" | "layerUrl" | "maxSize" | "menuConfig" | "multipleSelectionDisabled" | "multipleSortEnabled" | "multipleSortPriority" | "navigationScale" | "noDataMessage" | "objectIds" | "outFields" | "pageIndex" | "pageSize" | "paginationEnabled" | "referenceElement" | "relatedRecordsEnabled" | "relatedTables" | "returnGeometryEnabled" | "returnMEnabled" | "returnZEnabled" | "rowHighlightIds" | "selectionManager" | "showClose" | "showCollapse" | "showLayerDropdown" | "syncTemplateOnChangesDisabled" | "syncViewSelection" | "tableDisabled" | "tableTemplate" | "tableTitle" | "timeExtent" | "timeZone" | "view">>, ArcgisFeatureTableSetterTypes, StencilJsx.HTMLAttributes<ArcgisFeatureTable> {
|
|
255
262
|
onArcgisCellClick?: EventHandler<ArcgisFeatureTable["arcgisCellClick"]>;
|
|
256
263
|
onArcgisCellKeydown?: EventHandler<ArcgisFeatureTable["arcgisCellKeydown"]>;
|
|
@@ -268,13 +275,20 @@ interface StencilArcgisFeatureTemplatesLegacy extends Partial<Pick<ArcgisFeature
|
|
|
268
275
|
onArcgisSelect?: EventHandler<ArcgisFeatureTemplatesLegacy["arcgisSelect"]>;
|
|
269
276
|
}
|
|
270
277
|
|
|
271
|
-
interface StencilArcgisFeatures extends Partial<Pick<ArcgisFeatures, "actions" | "autoDestroyDisabled" | "chartAnimationDisabled" | "collapsed" | "content" | "defaultPopupTemplateEnabled" | "featureCount" | "
|
|
278
|
+
interface StencilArcgisFeatures extends Partial<Pick<ArcgisFeatures, "actions" | "autoDestroyDisabled" | "chartAnimationDisabled" | "collapsed" | "content" | "defaultPopupTemplateEnabled" | "featureCount" | "featureMenuOpen" | "featureMenuTitle" | "featureNavigationTop" | "features" | "featuresPerPage" | "featureViewModelAbilities" | "goToOverride" | "headerActions" | "heading" | "headingLevel" | "hideActionBar" | "hideAttachmentsContent" | "hideCloseButton" | "hideContent" | "hideCustomContent" | "hideExpressionContent" | "hideFeatureListLayerTitle" | "hideFeatureMenuHeading" | "hideFeatureNavigation" | "hideFieldsContent" | "hideHeading" | "hideLastEditedInfo" | "hideMediaContent" | "hideRelationshipContent" | "hideSelectFeature" | "hideSpinner" | "hideTextContent" | "hideUtilityNetworkContent" | "highlightDisabled" | "icon" | "includeDefaultActionsDisabled" | "initialDisplayMode" | "label" | "map" | "messageOverrides" | "open" | "promises" | "referenceElement" | "selectedFeatureIndex" | "showCollapseButton" | "spatialReference" | "timeZone" | "updateLocationEnabled" | "view" | "viewModel">>, StencilJsx.HTMLAttributes<ArcgisFeatures> {
|
|
272
279
|
onArcgisClose?: EventHandler<ArcgisFeatures["arcgisClose"]>;
|
|
273
280
|
onArcgisPropertyChange?: EventHandler<ArcgisFeatures["arcgisPropertyChange"]>;
|
|
274
281
|
onArcgisReady?: EventHandler<ArcgisFeatures["arcgisReady"]>;
|
|
275
282
|
onArcgisTriggerAction?: EventHandler<ArcgisFeatures["arcgisTriggerAction"]>;
|
|
276
283
|
}
|
|
277
284
|
|
|
285
|
+
interface StencilArcgisFeaturesNext extends Partial<Pick<ArcgisFeaturesNext, "actions" | "autoDestroyDisabled" | "chartAnimationDisabled" | "collapsed" | "content" | "defaultPopupTemplateEnabled" | "featureCount" | "featureItemAbilities" | "featureMenuOpen" | "featureMenuTitle" | "featureNavigationTop" | "features" | "featuresPerPage" | "goToOverride" | "headerActions" | "heading" | "headingLevel" | "hideActionBar" | "hideAttachmentsContent" | "hideCloseButton" | "hideContent" | "hideCustomContent" | "hideExpressionContent" | "hideFeatureListLayerTitle" | "hideFeatureMenuHeading" | "hideFeatureNavigation" | "hideFieldsContent" | "hideHeading" | "hideLastEditedInfo" | "hideMediaContent" | "hideRelationshipContent" | "hideSelectFeature" | "hideSpinner" | "hideTextContent" | "hideUtilityNetworkContent" | "highlightDisabled" | "icon" | "includeDefaultActionsDisabled" | "initialDisplayMode" | "label" | "map" | "messageOverrides" | "open" | "promises" | "referenceElement" | "selectedFeatureIndex" | "showCollapseButton" | "spatialReference" | "timeZone" | "updateLocationEnabled" | "view" | "viewModel">>, StencilJsx.HTMLAttributes<ArcgisFeaturesNext> {
|
|
286
|
+
onArcgisClose?: EventHandler<ArcgisFeaturesNext["arcgisClose"]>;
|
|
287
|
+
onArcgisPropertyChange?: EventHandler<ArcgisFeaturesNext["arcgisPropertyChange"]>;
|
|
288
|
+
onArcgisReady?: EventHandler<ArcgisFeaturesNext["arcgisReady"]>;
|
|
289
|
+
onArcgisTriggerAction?: EventHandler<ArcgisFeaturesNext["arcgisTriggerAction"]>;
|
|
290
|
+
}
|
|
291
|
+
|
|
278
292
|
interface StencilArcgisFloorFilter extends Partial<Pick<ArcgisFloorFilter, "autoDestroyDisabled" | "facility" | "goToOverride" | "headingLevel" | "icon" | "label" | "level" | "longNames" | "messageOverrides" | "referenceElement" | "site" | "view">>, StencilJsx.HTMLAttributes<ArcgisFloorFilter> {
|
|
279
293
|
onArcgisReady?: EventHandler<ArcgisFloorFilter["arcgisReady"]>;
|
|
280
294
|
}
|
|
@@ -796,9 +810,11 @@ interface ExposedElements {
|
|
|
796
810
|
"arcgis-expand": StencilArcgisExpand;
|
|
797
811
|
"arcgis-feature": StencilArcgisFeature;
|
|
798
812
|
"arcgis-feature-form": StencilArcgisFeatureForm;
|
|
813
|
+
"arcgis-feature-next": StencilArcgisFeatureNext;
|
|
799
814
|
"arcgis-feature-table": StencilArcgisFeatureTable;
|
|
800
815
|
"arcgis-feature-templates-legacy": StencilArcgisFeatureTemplatesLegacy;
|
|
801
816
|
"arcgis-features": StencilArcgisFeatures;
|
|
817
|
+
"arcgis-features-next": StencilArcgisFeaturesNext;
|
|
802
818
|
"arcgis-floor-filter": StencilArcgisFloorFilter;
|
|
803
819
|
"arcgis-fullscreen": StencilArcgisFullscreen;
|
|
804
820
|
"arcgis-grid-controls": StencilArcgisGridControls;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arcgis/map-components",
|
|
3
|
-
"version": "5.1.0-next.
|
|
3
|
+
"version": "5.1.0-next.105",
|
|
4
4
|
"description": "ArcGIS Map Components",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"2D",
|
|
@@ -46,9 +46,9 @@
|
|
|
46
46
|
"lit": "^3.3.0",
|
|
47
47
|
"lodash-es": "^4.18.1",
|
|
48
48
|
"tslib": "^2.8.1",
|
|
49
|
-
"@arcgis/common-components": "5.1.0-next.
|
|
50
|
-
"@arcgis/toolkit": "5.1.0-next.
|
|
51
|
-
"@arcgis/lumina": "5.1.0-next.
|
|
49
|
+
"@arcgis/common-components": "5.1.0-next.105",
|
|
50
|
+
"@arcgis/toolkit": "5.1.0-next.105",
|
|
51
|
+
"@arcgis/lumina": "5.1.0-next.105"
|
|
52
52
|
},
|
|
53
53
|
"peerDependencies": {
|
|
54
54
|
"@arcgis/core": "^5.1.0-next",
|
package/dist/cdn/37PU5RQF.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import b from"./R3NYK6BO.js";import a from"./ZDOE5UWP.js";import"./PC4PAQXQ.js";import{a as L}from"./TNDRCMN3.js";import{h as S}from"./CIFVM6AU.js";import"./EPO62377.js";import"./TGNR3DAP.js";import{N as h,O as _,U as k,a as w,b as r,p as d,r as f,s as y,x as l}from"./MTKZBIHD.js";import"./3TTFCHAA.js";export default $arcgis.t(([c,{watch:P},{substitute:I},U,F,x,$,A,{a:p},{a:T,b:u,d:g,e:C,f:N}])=>{var M=w`:host{height:100%;flex-grow:1}calcite-flow{min-height:var(--arcgis-internal-panel-height-sm, 240px)}calcite-block-group{flex-grow:1;padding-bottom:var(--calcite-spacing-md);background-color:var(--calcite-color-foreground-1)}calcite-block{--calcite-block-content-space: 0;--calcite-block-border-color: transparent;margin:0}calcite-block calcite-combobox,calcite-block calcite-input{margin:0 var(--calcite-spacing-md)}calcite-block calcite-input-message{padding:var(--calcite-spacing-sm) var(--calcite-spacing-md) 0 var(--calcite-spacing-md)}calcite-notice{margin:var(--calcite-spacing-md)}#subnetwork-info-block{margin:var(--calcite-spacing-md) var(--calcite-spacing-md) 0 var(--calcite-spacing-md)}#results-limited-message{padding:var(--calcite-spacing-sm)}.inline-loader{--calcite-loader-spacing: var(--calcite-spacing-md)}.add-spatial-mode{display:flex;flex-direction:column;gap:var(--calcite-spacing-md);margin:var(--calcite-spacing-md)}.heading{color:var(--calcite-color-text-1);margin:0 0 var(--calcite-spacing-md) 0;font-size:var(--calcite-font-size);font-style:normal;font-weight:var(--calcite-font-weight-medium)}`,m=`utility-network-trace-inputs-sketch-${Date.now()}`,D=20,b=class extends _{constructor(){super(...arguments),this._defaultPopupTemplateEnabled=!0,this._messages=L({blocking:!0}),this._layerIdToLayer=new Map,this._startingPoints=new c,this._barriers=new c,this._stoppingPoints=new c,this._subnetworkTraceTypes=new Set(["subnetwork","subnetwork-controller","upstream","downstream","isolation"]),this._setUpMap=()=>{if(this._error=void 0,!this.view?.map){this._error=this._messages.errors.noView,this.utilityNetworks=void 0;return}let e=this.view.map;this._setupUtilityNetworks(e),this._setupSketchViewModel(e)},this._removeDuplicateSubnetworkNames=(e,t,i)=>t===0||e.getAttribute("SUBNETWORKNAME")!==i[t-1].getAttribute("SUBNETWORKNAME"),this._hitTestPromise=null,this._displayLimit=20,this._traceLocationStartingRefChange=e=>{e&&(this._traceLocationStartingElement=e)},this._traceLocationBarrierRefChange=e=>{e&&(this._traceLocationBarrierElement=e)},this._traceLocationStoppingRefChange=e=>{e&&(this._traceLocationStoppingElement=e)},this._featuresComponentRefChange=e=>{e&&(this._featuresComponentElement=e)},this._handleFeaturesPropertyChange=({detail:e,target:t})=>{(e.name==="selectedDrillInFeature"||e.name==="selectedFeature")&&(this.selectedFeature=t.selectedDrillInFeature??t.selectedFeature??void 0)},this.candidateFeatures=[],this.compatibleSubnetworkNames=[],this.traceConfigurations=[],this._subnetworkNamesState="ready",this._exceedDisplayLimit=!1,this.autoDestroyDisabled=!1,this.hideActionBar=!1,this.mode="default",this.arcgisPropertyChange=S()("mode"),this.arcgisSelectedNamedTraceConfigurationChange=l(),this.arcgisTraceInputsChange=l(),this.arcgisTraceLocationSelectEnd=l(),this.arcgisTraceLocationSelectStart=l(),this.arcgisUtilityNetworkChange=l()}static{this.properties={selectedFeature:16,candidateFeatures:16,compatibleSubnetworkNames:16,subnetworksTable:16,traceConfigurations:16,utilityNetworks:16,_unTraceConfiguration:16,_error:16,_subnetworkNamesState:16,_activeTraceLocationType:16,_exceedDisplayLimit:16,beforeTraceLocationSelectStart:0,view:0,selectedUtilityNetwork:0,selectedNamedTraceConfiguration:0,autoDestroyDisabled:5,hideActionBar:5,unTraceConfiguration:32,referenceElement:1,mode:3,traceLocationFlagInfos:32,traceLocations:32}}static{this.styles=M}get isSubnetworkNameTraceSelected(){return!!this.selectedSubnetworkName&&this.selectedNamedTraceConfiguration?.traceType==="subnetwork"}get selectedSubnetworkName(){return this._unTraceConfiguration?.subnetworkName??void 0}set selectedSubnetworkName(e){this._unTraceConfiguration&&(this._unTraceConfiguration.subnetworkName=e)}get _allLayers(){let{view:e}=this;return e?.map?e.map.allLayers.toArray().concat(e.map.allTables.toArray()):[]}get showStartingPoints(){return!this.isSubnetworkNameTraceSelected}get showStoppingPoints(){let e=this.selectedNamedTraceConfiguration?.traceType;return e==="path"||e==="circuit"}get _subnetworkLayerIds(){let e=this.selectedUtilityNetwork?.dataElement?.domainNetworks;return e?e.map(t=>t.subnetworkLayerId).filter(t=>t!=null&&t>-1):[]}get unTraceConfiguration(){return this._unTraceConfiguration}get traceLocationFlagInfos(){return new c([...this._startingPoints,...this._barriers,...this._stoppingPoints])}get traceLocations(){let e=[];return this.showStartingPoints&&this._startingPoints.forEach(t=>e.push(...this._createTraceLocations(t))),this.showStoppingPoints&&this._stoppingPoints.forEach(t=>e.push(...this._createTraceLocations(t))),this._barriers.forEach(t=>e.push(...this._createTraceLocations(t))),e}async destroy(){this._removeGraphicLayer(m),this._clearTraceLocations(),this._sketchViewModel?.cancel(),this._featuresComponentElement?.destroy(),this._traceLocationStartingElement?.destroy(),this._traceLocationBarrierElement?.destroy(),this._traceLocationStoppingElement?.destroy(),await this.manager.destroy()}load(){this._setUpMap(),this.manager.onLifecycle(()=>[P(()=>this.view?.map,()=>this._setUpMap())])}willUpdate(e){e.has("utilityNetworks")&&this._handleUtilityNetworksChange(),e.has("selectedUtilityNetwork")&&(this.arcgisUtilityNetworkChange.emit(),this._handleSelectedUtilityNetworkChange()),e.has("selectedNamedTraceConfiguration")&&(this.arcgisTraceInputsChange.emit(),this.arcgisSelectedNamedTraceConfigurationChange.emit(),this._handleTraceConfigChange()),e.has("selectedSubnetworkName")&&this.arcgisTraceInputsChange.emit()}disconnectedCallback(){super.disconnectedCallback(),this._layerIdToLayer.clear()}_createTraceLocations(e){let t=e.flagProperties.selectedTerminals;return e.flagProperties.terminalConfiguration&&t?.size?Array.from(t,i=>new x({type:e.traceLocation.type,isFilterBarrier:e.traceLocation.isFilterBarrier,globalId:e.traceLocation.globalId,percentAlong:e.traceLocation.percentAlong,terminalId:i})):[e.traceLocation]}_clearTraceLocations(){this._startingPoints.forEach(e=>{e.spatialProperties.flagGraphic&&this.view?.graphics.remove(e.spatialProperties.flagGraphic)}),this._startingPoints.removeAll(),this._barriers.forEach(e=>{e.spatialProperties.flagGraphic&&this.view?.graphics.remove(e.spatialProperties.flagGraphic)}),this._barriers.removeAll(),this._stoppingPoints.forEach(e=>{e.spatialProperties.flagGraphic&&this.view?.graphics.remove(e.spatialProperties.flagGraphic)}),this._stoppingPoints.removeAll()}_createGraphicLayer(e,t){if(!e.findLayerById(t)){let i=new U({id:t,listMode:"hide",title:t});T(this.view,i)}}_getGraphicLayer(e,t){let i=e.findLayerById(t);return g(i)?(e.reorder(i,e.layers.length-1),i):null}_removeGraphicLayer(e){if(!this.view?.map)return;let{map:t}=this.view,i=t?.findLayerById(e);i&&g(i)&&t?.remove(i)}_setSnappingOption(){let{_sketchViewModel:e,_unLayers:t}=this;if(e&&t&&t.length>0){let i=new c;t.forEach(a=>{C(a)?a.sublayers.forEach(s=>{i.add(new $({layer:s,enabled:!0}))}):i.add(new $({layer:a,enabled:!0}))}),e.snappingOptions={enabled:!0,featureEnabled:!0,featureSources:i}}}_initializeSketchViewModel(e){let{view:t}=this,i=this._getGraphicLayer(e,m);return new A({layer:i,view:t})}_setupSketchViewModel(e){this._createGraphicLayer(e,m),this._sketchViewModel=this._initializeSketchViewModel(e),this._setSnappingOption()}_clearSubnetworks(){this.selectedSubnetworkName=void 0,this.subnetworksTable=void 0,this.compatibleSubnetworkNames=[]}async _loadSubnetworksTable(){this.subnetworksTable||(this.subnetworksTable=await this.selectedUtilityNetwork?.loadSubnetworksTable())}async _querySubnetworks(){let{subnetworksTable:e}=this;if(!e)return;let t=e.createQuery();t.gdbVersion=this.selectedUtilityNetwork?.gdbVersion,t.where=this._getSubnetworkQueryWhereClause(),t.outFields=["SUBNETWORKNAME"],t.orderByFields=["SUBNETWORKNAME"];let{features:i}=await u(e,t,void 0,!1);this.compatibleSubnetworkNames=i.filter(this._removeDuplicateSubnetworkNames).map(a=>a.getAttribute("SUBNETWORKNAME"))}_getSubnetworkQueryWhereClause(){let e=this._unTraceConfiguration,t=`DOMAINNETWORKNAME = '${e.domainNetworkName}'`,i=`TIERNAME = '${e.tierName}'`;return[t,i].join(" AND ")}async _handleSubnetworkTraceConfigChange(e){await this._loadSubnetworksTable(),await this._querySubnetworks();let{compatibleSubnetworkNames:t}=this;e.subnetworkName&&!t.some(i=>i===e.subnetworkName)&&(this.selectedSubnetworkName=t.at(0))}_selectTraceConfigurationByGuid(e){let t=this.selectedUtilityNetwork?.sharedNamedTraceConfigurations.find(i=>i.globalId===e);if(!t){d("error",this,"`traceConfig` not found in `selectedUtilityNetwork.sharedNamedTraceConfigurations`");return}this.selectedNamedTraceConfiguration=t}async _handleTraceConfigChange(){let{selectedNamedTraceConfiguration:e}=this;if(!(e?.traceConfiguration instanceof F)){d("error",this,f("selectedNamedTraceConfiguration.traceConfiguration")),this._unTraceConfiguration=void 0;return}this._unTraceConfiguration=e.traceConfiguration.clone(),e.traceType==="subnetwork"&&(this._subnetworkNamesState="loading",await this._handleSubnetworkTraceConfigChange(this._unTraceConfiguration),this._subnetworkNamesState="ready")}async _handleSelectedUtilityNetworkChange(){let{selectedUtilityNetwork:e}=this;try{e&&!e.loaded&&await e.load()}catch(t){p(t,this,"Error while loading the selected utility network")}this._clearSubnetworks(),this._setupTraceConfigurations(),this._filterUnLayers(),this._clearTraceLocations()}_setupTraceConfigurations(){this._unTraceConfiguration=void 0,this.selectedNamedTraceConfiguration=void 0,this.traceConfigurations=this.selectedUtilityNetwork?.sharedNamedTraceConfigurations.filter(Boolean).filter(e=>e.traceType!=="circuit").sort((e,t)=>e.title.localeCompare(t.title))||[],this.traceConfigurations.length?this.selectedNamedTraceConfiguration=this.traceConfigurations.at(0):d("error",this,"The selected utility network has no compatible named trace configurations.")}_filterUnLayers(){let{selectedUtilityNetwork:e}=this;this._unLayers=new c(this._allLayers.filter(t=>e?.isUtilityLayer(t)&&!this._subnetworkLayerIds.includes(t.layerId))),this._setSnappingOption()}_handleUtilityNetworksChange(){let{utilityNetworks:e,selectedUtilityNetwork:t}=this;e?.length?(!t||!e.includes(t))&&(this.selectedUtilityNetwork=e.at(0)):(d("error",this,y("utilityNetworks")),this.selectedUtilityNetwork=void 0,this._error=this._messages.errors.noUtilityNetwork)}async _setupUtilityNetworks(e){try{e.loaded||await e.load()}catch(t){p(t,this,"Error while loading `view.map`")}finally{this.utilityNetworks=e.utilityNetworks||new c}}_handleTraceLocationSelectStart(e){if(e.stopPropagation(),this.arcgisTraceLocationSelectStart.emit(e.detail).defaultPrevented){e.preventDefault();return}this._activeTraceLocationType=e?.target?.traceLocationType,this.mode="add-spatial-instructions"}_getLayerByLayerId(e){if(e==null)return;let{_layerIdToLayer:t,_unLayers:i}=this;if(t.get(e))return t.get(e);if(!i)return;let a=i.find(s=>"layerId"in s&&s.layerId===e);return a&&t.set(e,a),a}async _queryFeaturesOnLayer(e,t){let i=e.createQuery();i.gdbVersion=this.selectedUtilityNetwork?.gdbVersion,i.objectIds=t.map(s=>s.getObjectId()),i.outFields=["*"];let{features:a}=await u(e,i);return a.forEach(s=>{if(!s.getEffectivePopupTemplate(this._defaultPopupTemplateEnabled)){let o=s.layer;s.popupTemplate=o.createPopupTemplate()}}),a}async _queryFeatures(e){let t=new Map,i=[];return e.forEach(a=>{let s=N(a.layer)?a.layer.parent:a.layer;if(s){let o=this._getLayerByLayerId(s.layerId);if(o){let n=t.get(o)||[];n.push(a),t.set(o,n)}}}),await Promise.all(Array.from(t.keys()).map(async a=>{let s=t.get(a)??[],o=await this._queryFeaturesOnLayer(a,s);i.push(...o)})),i}async _handleHitTestComplete(e){return this._exceedDisplayLimit=e.length>this._displayLimit,this.candidateFeatures=await this._queryFeatures(e.slice(0,this._displayLimit)),this.candidateFeatures.length===0?(this._handleAddSpatialCancelClick(),await Promise.reject(Error("No features found"))):(this.candidateFeatures.length===1&&(this.selectedFeature=this.candidateFeatures.at(0)),this.mode="add-spatial-feature",this._hitTestPromise?.reject(),this._hitTestPromise=Promise.withResolvers(),await this._hitTestPromise.promise)}_handleTraceLocationSelectEnd(e){e.stopPropagation(),this.arcgisTraceLocationSelectEnd.emit(),this._activeTraceLocationType=void 0,this.mode="default",this._handleAddSpatialCancelClick()}_handleAddSpatialCancelClick(e){e?.stopPropagation(),this._featuresComponentElement?.clear(),this._handleFeaturesClose(),this._sketchViewModel?.cancel()}_handleFeaturesClose(){this.mode="default",this.candidateFeatures=[],this.selectedFeature=void 0,this._hitTestPromise?.reject(),this._hitTestPromise=null}_handleAddSpatialAddClick(){let{_hitTestPromise:e,_featuresComponentElement:t,selectedFeature:i}=this;if(e&&t){if(!i)return;e.resolve(i),this._hitTestPromise=null}}renderError(e,t=!1,i){return r`<calcite-notice .closable=${t} kind=danger open scale=s width=auto .icon=${i}><div slot=message>${e}</div></calcite-notice>`}renderLoader(){return r`<calcite-loader label=loading></calcite-loader>`}renderTraceSelection(){let e=this.traceConfigurations.map(i=>r`<calcite-combobox-item .value=${i.globalId} .heading=${i.title} .selected=${i.globalId===this.selectedNamedTraceConfiguration?.globalId}></calcite-combobox-item>`),t=this._messages.labels.traceConfiguration;return r`<calcite-block .heading=${t} .label=${t} expanded><calcite-combobox .label=${t} selection-mode=single-persist @calciteComboboxChange=${({currentTarget:i})=>{this._selectTraceConfigurationByGuid(i.selectedItems[0]?.value)}}>${e}</calcite-combobox></calcite-block>`}renderUtilityNetworkSelection(){let{_messages:e}=this,t=e.labels.utilityNetwork,i=this.utilityNetworks?.map(a=>r`<calcite-combobox-item .value=${a.id} .heading=${a.title||a.id} .selected=${a.id===this.selectedUtilityNetwork?.id}></calcite-combobox-item>`);return r`<calcite-block .heading=${t} .label=${t} expanded><calcite-combobox .label=${t} selection-mode=single-persist @calciteComboboxChange=${({currentTarget:a})=>{let s=a.selectedItems[0]?.value;this.selectedUtilityNetwork?.id!==s&&(this.selectedUtilityNetwork=this.utilityNetworks?.find(o=>o.id===s))}}>${i}</calcite-combobox></calcite-block>`}renderDefaultMode(){let{selectedUtilityNetwork:e}=this,{noView:t,noUtilityNetwork:i}=this._messages.errors,a;return this._error===t||this._error===i?a=this.renderError(this._error,!1,"exclamation-mark-triangle"):!e?.loaded&&!e?.loadError?a=this.renderLoader():a=this.renderContent(),r`<calcite-flow-item .selected=${this.mode==="default"}>${a}</calcite-flow-item>`}renderSpatialSelectInstructions(){let{_messages:e,_activeTraceLocationType:t,mode:i}=this,a=t==="starting-point"?e.labels.addSpatial.startingPoint:t==="barrier"?e.labels.addSpatial.barrier:e.labels.addSpatial.stoppingPoint;return r`<calcite-flow-item .selected=${i==="add-spatial-instructions"} .heading=${a} @calciteFlowItemBack=${s=>this._handleAddSpatialCancelClick(s)}><div class="add-spatial-mode"><div><h5 class="heading">${e.instructions.addSpatial.selectFeature.heading}</h5>${e.instructions.addSpatial.selectFeature.subheading}</div><div><h5 class="heading">${e.instructions.addSpatial.selectAssociatedFeature.heading}</h5>${e.instructions.addSpatial.selectAssociatedFeature.subheading}</div></div></calcite-flow-item>`}renderCandidateFeatures(){let{candidateFeatures:e}=this;if(!e.length)return this.mode="default",null;let t=this._activeTraceLocationType==="starting-point"?this._messages.labels.addSpatial.startingPoint:this._activeTraceLocationType==="barrier"?this._messages.labels.addSpatial.barrier:this._messages.labels.addSpatial.stoppingPoint,i=e.length===1?"feature":"list";return r`<arcgis-features .autoDestroyDisabled=${this.autoDestroyDisabled} .defaultPopupTemplateEnabled=${this._defaultPopupTemplateEnabled} .features=${e} .featureMenuTitle=${t} .hideActionBar=${this.hideActionBar} hide-select-feature .initialDisplayMode=${i} @arcgisClose=${()=>this._handleFeaturesClose()} @arcgisPropertyChange=${this._handleFeaturesPropertyChange} open .referenceElement=${this.referenceElement} .view=${this.view} ${h(this._featuresComponentRefChange)}></arcgis-features>`}renderAddSpatialFooter(){let{mode:e,_messages:t,selectedFeature:i,selectedUtilityNetwork:a}=this,s=e==="add-spatial-feature"&&this._exceedDisplayLimit&&!i,o=I(t.warnings.exceededDisplayLimit,{limit:this._displayLimit.toString()}),n=i?!(a?.isUtilityLayer(i.layer)??!0):!0;return r`${s&&r`<calcite-input-message id=results-limited-message icon=exclamation-mark-circle status=idle>${o}</calcite-input-message>`||""}<calcite-button appearance=outline width=full @click=${()=>this._handleAddSpatialCancelClick()} slot=footer>${t.buttons.cancel}</calcite-button>${e==="add-spatial-feature"&&r`<calcite-button width=full slot=footer appearance=solid @click=${()=>this._handleAddSpatialAddClick()} .disabled=${n}>${t.buttons.add}</calcite-button>`||""}`}renderStartingPointSelection(){return r`<arcgis-utility-network-trace-location .view=${this.view} trace-location-type=starting-point .beforeTraceLocationSelectStart=${this.beforeTraceLocationSelectStart} @arcgisTraceLocationSelectStart=${this._handleTraceLocationSelectStart} @arcgisTraceLocationSelectEnd=${this._handleTraceLocationSelectEnd} @arcgisTraceLocationChange=${()=>this.arcgisTraceInputsChange.emit()} .sketchViewModel=${this._sketchViewModel} .utilityNetwork=${this.selectedUtilityNetwork} .filterLayers=${this._unLayers} .traceLocations=${this._startingPoints} .afterHitTest=${this._handleHitTestComplete.bind(this)} .autoDestroyDisabled=${this.autoDestroyDisabled} ${h(this._traceLocationStartingRefChange)}></arcgis-utility-network-trace-location>`}renderStoppingPointSelection(){return r`<arcgis-utility-network-trace-location .view=${this.view} trace-location-type=stopping-point .beforeTraceLocationSelectStart=${this.beforeTraceLocationSelectStart} @arcgisTraceLocationSelectStart=${this._handleTraceLocationSelectStart} @arcgisTraceLocationSelectEnd=${this._handleTraceLocationSelectEnd} @arcgisTraceLocationChange=${()=>this.arcgisTraceInputsChange.emit()} .sketchViewModel=${this._sketchViewModel} .utilityNetwork=${this.selectedUtilityNetwork} .filterLayers=${this._unLayers} .traceLocations=${this._stoppingPoints} .afterHitTest=${this._handleHitTestComplete.bind(this)} .autoDestroyDisabled=${this.autoDestroyDisabled} ${h(this._traceLocationStoppingRefChange)}></arcgis-utility-network-trace-location>`}renderBarrierSelection(){return r`<arcgis-utility-network-trace-location .view=${this.view} trace-location-type=barrier .beforeTraceLocationSelectStart=${this.beforeTraceLocationSelectStart} @arcgisTraceLocationSelectStart=${this._handleTraceLocationSelectStart} @arcgisTraceLocationSelectEnd=${this._handleTraceLocationSelectEnd} @arcgisTraceLocationChange=${()=>this.arcgisTraceInputsChange.emit()} .sketchViewModel=${this._sketchViewModel} .utilityNetwork=${this.selectedUtilityNetwork} .filterLayers=${this._unLayers} .traceLocations=${this._barriers} .afterHitTest=${this._handleHitTestComplete.bind(this)} .autoDestroyDisabled=${this.autoDestroyDisabled} ${h(this._traceLocationBarrierRefChange)}></arcgis-utility-network-trace-location>`}renderSubnetworkNameInput(){return r`<calcite-input clearable type=text .placeholder=${this._messages.instructions.enterSubnetworkName} max-length=64 .status=${this.selectedSubnetworkName?"valid":"invalid"} .value=${this.selectedSubnetworkName} @calciteInputInput=${e=>this.selectedSubnetworkName=e.target.value}></calcite-input><calcite-input-message icon=exclamation-mark-triangle status=idle>${this._messages.labels.tooManySubnetworks}</calcite-input-message>`}renderSubnetworkSelectList(){return r`<calcite-combobox .label=${this._messages.labels.subnetworkName} selection-mode=single-persist @calciteComboboxChange=${({currentTarget:e})=>{this.selectedSubnetworkName=e.selectedItems[0]?.value}}>${this.compatibleSubnetworkNames.map(e=>r`<calcite-combobox-item .value=${e} .heading=${e} .selected=${e===this.selectedSubnetworkName}></calcite-combobox-item>`)}</calcite-combobox>`}renderSubnetworkSelection(){let{compatibleSubnetworkNames:e}=this,t=this._messages.labels.subnetworkName;return this.isSubnetworkNameTraceSelected?this._subnetworkNamesState==="loading"?r`<calcite-loader class="inline-loader" label=loading scale=s></calcite-loader>`:e.length?r`<calcite-block .heading=${t} .label=${t} expanded>${e.length>D?this.renderSubnetworkNameInput():this.renderSubnetworkSelectList()}</calcite-block>`:this.renderError(this._messages.errors.noCompatibleSubnetworks,!1,"exclamation-mark-triangle"):null}renderSubnetworkInfo(){let{_messages:e,selectedNamedTraceConfiguration:t,_unTraceConfiguration:i}=this;return i&&t?.traceType&&this._subnetworkTraceTypes.has(t.traceType)?r`<calcite-block id=subnetwork-info-block expanded .label=${e.labels.subnetworkInfo}><arcgis-utility-network-subnetwork-info .namedTraceConfig=${t}></arcgis-utility-network-subnetwork-info></calcite-block>`:null}renderContent(){let{utilityNetworks:e,unTraceConfiguration:t}=this,{noTraceConfiguration:i,noNamedTraceConfigurations:a,utilityNetworkLoadFailed:s}=this._messages.errors,o=e&&e.length>1?this.renderUtilityNetworkSelection():null,n;this.selectedUtilityNetwork?.loadError?n=this.renderError(s,!1,"exclamation-mark-triangle"):this.traceConfigurations.length||(n=this.renderError(a,!1,"exclamation-mark-triangle"));let v=r`${this.renderTraceSelection()}${this.renderSubnetworkInfo()}${this.renderSubnetworkSelection()}`,E=t?r`${this.showStartingPoints?this.renderStartingPointSelection():null}${this.showStoppingPoints?this.renderStoppingPointSelection():null}${this.renderBarrierSelection()}`:this.renderError(i,!1,"exclamation-mark-triangle");return r`<calcite-block-group .label=${this._messages.labels.traceInputs}>${o}${n??r`${v}${E}`}</calcite-block-group>`}render(){let{mode:e}=this;return r`<calcite-panel>${e==="add-spatial-feature"?this.renderCandidateFeatures():null}<calcite-flow .hidden=${e==="add-spatial-feature"}>${this.renderDefaultMode()}${this.renderSpatialSelectInstructions()}</calcite-flow>${e!=="default"?this.renderAddSpatialFooter():null}</calcite-panel>`}};k("arcgis-utility-network-trace-inputs",b);return b},"core/Collection","core/reactiveUtils","intl","layers/GraphicsLayer","networks/support/UNTraceConfiguration","rest/networks/support/TraceLocation","views/interactive/snapping/FeatureSnappingLayerSource","widgets/Sketch/SketchViewModel",a,b)
|
package/dist/cdn/6U7WM64M.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import b from"./VCOJNSMR.js";import a from"./ZDOE5UWP.js";export default $arcgis.t(([{isZoomScreenSize:m},{d:u},{d:g}])=>{function F(e){if(e.icon)return e.icon;if(!("image"in e&&e.image)&&!e.className)return"question"}function T(e){return e?{backgroundImage:`url(${e})`}:{}}function h(e){let{selectedFeature:t,location:o,view:a}=e;return a?t??o??null:null}async function v(e,t,o){let{location:a,selectedFeature:r,view:i,zoomFactor:n}=e;await o?.viewModel?.updateGeometry();let c=o?.graphic,d=c?.geometry?c:h(e);if(!i||!d)throw new Error("Cannot zoom to location without a target and view.");let w=i.scale/n,s=c?.geometry??e.selectedFeature?.geometry??a,l=s?.type==="point"&&await m(c??r,i);t.active=!0,t.disabled=!0;try{await e.zoomTo({target:{target:d,scale:l?w:void 0}})}catch(f){if(u(f))return;throw new Error("Could not zoom to the location of the graphic.")}finally{t.active=!1,t.disabled=!1,l&&e.location!==s&&(e.location=s)}}async function p(e,t){let o=await e.whenLayerView(g(t)),a=o.createQuery(),r=t.getObjectId();return a.aggregateIds=r!=null?[r]:[],[o,a]}async function y(e,t){let{selectedFeature:o,view:a}=e;if(a?.type!=="2d")throw new Error("zoomToAggregate:invalid-view: View must be 2d MapView.");if(!o?.isAggregate)throw new Error("zoomToAggregate:invalid-selectedFeature: Selected feature must represent an aggregate graphic.");let[r,i]=await p(a,o);t.active=!0,t.disabled=!0;let{extent:n}=await r.queryExtent(i);n&&await e.zoomTo({target:n}),t.active=!1,t.disabled=!1}var A=async(e,t)=>{if(!e)throw new Error("trigger-action:missing-arguments: Event has no action");let{disabled:o,id:a}=e;if(!a)throw new Error("trigger-action:invalid-action: action.id is missing");if(o)throw new Error("trigger-action:invalid-action: Action is disabled");if(a==="zoom-to-feature")return await v(t,e).catch(r=>{if(!u(r))throw r});if(a==="zoom-to-aggregated-features")return await y(t,e);if(a==="browse-aggregated-features"){t.aggregatedFeaturesEnabled=!t.aggregatedFeaturesEnabled;return}if(a==="remove-selected-feature"){t.open=!1;let{selectedFeature:r}=t;if(!r)throw new Error("trigger-action:missing-selected-feature: Cannot remove selected feature without a selected feature.");let i=g(r);i?i.remove(r):t.view?.graphics.remove(r)}};return{a:F,b:T,c:v,d:A}},"applications/Components/actionUtils",a,b)
|
package/dist/cdn/AHWGHYPQ.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import g from"./VCOJNSMR.js";import f from"./R3NYK6BO.js";import e from"./ZOPB777S.js";import{a as D}from"./TNDRCMN3.js";import d from"./V2RXBLNO.js";import c from"./OCLLMQGL.js";import{h as _}from"./CIFVM6AU.js";import"./EPO62377.js";import a from"./FKLH5Y2K.js";import{d as x}from"./TGNR3DAP.js";import{N as w,O as I,P as M,R as b,U as C,a as $,b as o,x as y}from"./MTKZBIHD.js";import"./3TTFCHAA.js";export default $arcgis.t(([{substitute:k},{renderingSanitizer:B},N,{watch:H},{stripHTML:Z},P,,,,R,,{a:F,b:L,c:E,d:T,e:A,i:V,p:l}])=>{var z=$`:host{display:flex;flex:1 1 auto;background-color:var(--calcite-color-foreground-1);--calcite-color-background: var(--calcite-color-foreground-1)}.root{flex:1 1 auto}.root calcite-icon{box-sizing:content-box}.loading-container{display:flex;justify-content:center;padding:var(--calcite-spacing-md) 0;width:100%}.content-element{margin-bottom:var(--calcite-spacing-lg);padding:0 var(--calcite-spacing-sm);display:flex;flex-direction:column}.content-element:only-child,.content-element:last-child{margin-bottom:var(--calcite-spacing-xxs)}.last-edited-info{padding-top:var(--calcite-spacing-xs);font-size:var(--calcite-font-size-sm)}`,U=R(P),v=class extends I{constructor(){super(...arguments),this.messages=D(),this._rootFlowNode=null,this.internalFlowItems=new N,this.flowType="feature",this.viewModel=U(this),this.view=this.viewModel.view,this.icon="icon",this.isFeatureFromTable=this.viewModel.isFeatureFromTable,this.graphic=this.viewModel.graphic,this.defaultPopupTemplateEnabled=this.viewModel.defaultPopupTemplateEnabled,this.headingLevel=2,this.spatialReference=this.viewModel.spatialReference,this.timeZone=this.viewModel.timeZone,this.heading=this.viewModel.heading,this.map=this.viewModel.map,this.chartAnimationDisabled=this.viewModel.abilities.chartAnimation,this.hideHeading=!1,this.hideContent=!1,this.hideAttachmentsContent=!1,this.hideCustomContent=!1,this.hideExpressionContent=!1,this.hideFieldsContent=!1,this.hideMediaContent=!1,this.showRelationshipContent=!1,this.hideTextContent=!1,this.showUtilityNetworkContent=!1,this.hideLastEditedInfo=!1,this.autoDestroyDisabled=!1,this.location=this.viewModel.location,this.state=this.viewModel.state,this.arcgisPropertyChange=_()("flowItems","state"),this.arcgisReady=y()}static{this.properties={popupTemplate:16,sourceLayer:16,fieldInfoMap:16,values:16,globalValues:16,internalFlowItems:16,flowType:1,viewModel:0,view:0,flowItems:0,referenceElement:1,icon:1,isFeatureFromTable:36,graphic:0,defaultPopupTemplateEnabled:5,headingLevel:9,spatialReference:0,timeZone:1,heading:0,map:0,chartAnimationDisabled:5,hideHeading:5,hideContent:5,hideAttachmentsContent:5,hideCustomContent:5,hideExpressionContent:5,hideFieldsContent:5,hideMediaContent:5,showRelationshipContent:5,hideTextContent:5,showUtilityNetworkContent:5,hideLastEditedInfo:5,autoDestroyDisabled:5,messageOverrides:0,label:1,location:0,state:32}}static{this.styles=z}get popupTemplate(){return E(this.graphic,this.defaultPopupTemplateEnabled)??void 0}get sourceLayer(){return T(this.graphic)}get fieldInfoMap(){return F(L(this.popupTemplate),this.sourceLayer)}get values(){return this.graphic?.attributes??{}}get globalValues(){return this.viewModel.formattedAttributes?.global??{}}async destroy(){this._removeFlowItems(),await this.manager.destroy()}async nextMedia(e){return this._pageContentElementMedia(e,1)}async previousMedia(e){return this._pageContentElementMedia(e,-1)}async setActiveMedia(e,t){let i=this.viewModel.content;if(!Array.isArray(i))return;let s=i[e];if(s?.type!=="media")return;let a=s;return this._setContentElementMedia(a,t)}async updateGeometry(){return await this.viewModel.updateGeometry()}loaded(){this.manager.onLifecycle(()=>[H(()=>[this.internalFlowItems?.length],()=>this._setFocus())])}_setContentElementMedia(e,t){let i=e.mediaInfos?.length??0,s=(t+i)%i;e.activeMediaInfoIndex=s}_pageContentElementMedia(e,t){let i=this.viewModel.content;if(!Array.isArray(i))return;let s=i[e];if(s?.type!=="media")return;let a=s,{activeMediaInfoIndex:n}=a,r=(n??0)+t;this._setContentElementMedia(a,r)}_removeFlowItems(){this.internalFlowItems?.destroyAll()}_storeRootFlowNode(e){this._rootFlowNode=e}_setFocus(){this._rootFlowNode?.setFocus()}_handleDrillInBackClick(){this.internalFlowItems?.pop()?.destroy()}render(){let{state:e}=this.viewModel,t=o`<div class="container">${e==="error"?this._renderError():e==="loading"?this._renderLoading():this._renderContentContainer()}</div>`;return o`<div class="root">${t}</div>`}_renderError(){let{messages:e,hideHeading:t}=this;return o`<calcite-notice icon=exclamation-mark-circle kind=danger open scale=s>${t?null:o`<div slot=title>${e.error}</div>`}<div slot=message>${e.loadingError}</div></calcite-notice>`}_renderLoading(){return o`<div class="loading-container"><calcite-loader inline label></calcite-loader></div>`}_renderAttachments(e){let{values:t,fieldInfoMap:i,sourceLayer:s,globalValues:a}=this,n=l({values:t,fieldInfoMap:i,globalValues:a,layer:s,text:e.title}),r=l({values:t,fieldInfoMap:i,globalValues:a,layer:s,text:e.description});return o`<arcgis-feature-attachments .headingLevel=${this.headingLevel} .heading=${n} class="content-element" .displayType=${e.displayType} .attachmentKeywords=${e.attachmentKeywords??void 0} .attachmentTypes=${e.attachmentTypes??void 0} .orderByFields=${e.orderByFields??void 0} .graphic=${this.graphic??void 0} .description=${r} .messages=${this.messages}></arcgis-feature-attachments>`}_renderCustom(e){return o`<arcgis-feature-content .creator=${e.creator} .destroyer=${e.destroyer??void 0} .graphic=${this.graphic??void 0} class="content-element"></arcgis-feature-content>`}_renderFields(e,t){let i=this.viewModel.formattedAttributes,{values:s,fieldInfoMap:a,sourceLayer:n,popupTemplate:r,globalValues:d,graphic:c}=this,u=!!e?.fieldInfos,h=(e.fieldInfos??r?.fieldInfos??[])?.filter(({fieldName:f})=>!!f&&(V(f)||A(f)||f in s)),p=r?.expressionInfos,m=l({values:s,fieldInfoMap:a,globalValues:d,layer:n,text:e.title}),g=l({values:s,fieldInfoMap:a,globalValues:d,layer:n,text:e.description});return o`<arcgis-feature-fields .headingLevel=${this.headingLevel} .heading=${m} class="content-element" .messages=${this.messages} .graphic=${c??void 0} .isContentFieldInfos=${u} .layer=${n} .description=${g} .values=${{...i?.global,...i?.content?.[t]}} .fieldInfos=${h} .expressionInfos=${p??void 0}></arcgis-feature-fields>`}_renderMedia(e,t){let{values:i,graphic:s,fieldInfoMap:a,sourceLayer:n,popupTemplate:r,globalValues:d}=this,{formattedAttributes:c,relatedInfos:u,expressionAttributes:h}=this.viewModel,p={...c?.global,...c?.content?.[t]},m=l({values:i,fieldInfoMap:a,globalValues:d,layer:n,text:e.title}),g=l({values:i,fieldInfoMap:a,globalValues:d,layer:n,text:e.description});return o`<arcgis-feature-media .activeMediaInfoIndex=${e.activeMediaInfoIndex??0} .chartAnimationDisabled=${this.chartAnimationDisabled} .headingLevel=${this.headingLevel} .heading=${m} class="content-element" .description=${g} .values=${i} .expressionValues=${h} .layer=${n} .graphic=${s??void 0} .messages=${this.messages} .fieldInfoMap=${a} .mediaInfos=${e.mediaInfos??[]} .popupTemplate=${r??void 0} .relatedInfos=${u} .formattedValues=${p}></arcgis-feature-media>`}_renderText(e){let{values:t,fieldInfoMap:i,sourceLayer:s,globalValues:a}=this;return o`<arcgis-feature-content .creator=${l({values:t,fieldInfoMap:i,globalValues:a,layer:s,text:e.text})} .graphic=${this.graphic??void 0} class="content-element"></arcgis-feature-content>`}_renderExpression(e,t){let i=this.viewModel.formattedAttributes,{fieldInfoMap:s}=this;return o`<arcgis-feature-expression .expressionInfo=${e.expressionInfo} .map=${this.map??void 0} .spatialReference=${this.spatialReference??void 0} .view=${this.viewModel.view??void 0} .graphic=${this.graphic??void 0} .location=${this.location??void 0} .headingLevel=${this.headingLevel} class="content-element" .interceptor=${this.viewModel.interceptor} .messages=${this.messages} .fieldInfoMap=${s} .values=${{...i?.global,...i?.content?.[t]}}></arcgis-feature-expression>`}_renderRelationship(e,t){let{values:i,graphic:s,fieldInfoMap:a,sourceLayer:n,globalValues:r}=this,{displayCount:d,orderByFields:c,relationshipId:u}=e,{formattedAttributes:h,view:p}=this.viewModel,m={...h?.global,...h?.content?.[t]},g=l({values:i,fieldInfoMap:a,globalValues:r,layer:n,text:e.title}),f=l({values:i,fieldInfoMap:a,globalValues:r,layer:n,text:e.description});return o`<arcgis-feature-relationship .autoDestroyDisabled=${this.autoDestroyDisabled} class="content-element" .flowItems=${this.flowItems??this.internalFlowItems} .description=${f} .layer=${n} .map=${this.map??void 0} .displayCount=${d} .graphic=${s??void 0} .heading=${g} .headingLevel=${this.headingLevel} .messages=${this.messages} .orderByFields=${c??void 0} .relationshipId=${u??void 0} .spatialReference=${this.spatialReference??void 0} .timeZone=${this.timeZone??void 0} .values=${m} .view=${p??void 0}></arcgis-feature-relationship>`}_renderAssociation(e){let{fieldInfoMap:t,globalValues:i,graphic:s,messages:a,sourceLayer:n,values:r}=this,d=l({values:r,fieldInfoMap:t,globalValues:i,layer:n,text:e.title}),c=l({values:r,fieldInfoMap:t,globalValues:i,layer:n,text:e.description});return o`<arcgis-feature-utility-network-associations .autoDestroyDisabled=${this.autoDestroyDisabled} .associationTypes=${e.associationTypes} class="content-element" .description=${c} .flowItems=${this.flowItems??this.internalFlowItems} .graphic=${s??void 0} .heading=${d} .headingLevel=${this.headingLevel} .layer=${n} .map=${this.map??void 0} .messages=${a} .parentFeatureViewModel=${this.viewModel} .referenceElement=${this.referenceElement} .spatialReference=${this.spatialReference??void 0} .timeZone=${this.timeZone??void 0} .view=${this.viewModel.view??void 0}></arcgis-feature-utility-network-associations>`}_renderContentElement(e,t){switch(e.type){case"attachments":return this.hideAttachmentsContent?null:this._renderAttachments(e);case"custom":return this.hideCustomContent?null:this._renderCustom(e);case"fields":return this.hideFieldsContent?null:this._renderFields(e,t);case"media":return this.hideMediaContent?null:this._renderMedia(e,t);case"text":return this.hideTextContent?null:this._renderText(e);case"expression":return this.hideExpressionContent?null:this._renderExpression(e,t);case"relationship":return this.showRelationshipContent?this._renderRelationship(e,t):null;case"utility-network-associations":return this.showUtilityNetworkContent?this._renderAssociation(e):null;default:return null}}_renderContent(){let{content:e,graphic:t}=this.viewModel;if(!e)return null;if(Array.isArray(e)&&e.length)return e.length?e.map(this._renderContentElement,this):null;if(typeof e=="string"){let{values:i,fieldInfoMap:s,sourceLayer:a,globalValues:n}=this;return o`<arcgis-feature-content .creator=${l({values:i,fieldInfoMap:s,globalValues:n,layer:a,text:e})} .graphic=${t??void 0} class="content-element"></arcgis-feature-content>`}return e instanceof HTMLElement?e:null}_renderContentContainer(){let{hideContent:e,internalFlowItems:t,headingLevel:i,state:s,messages:a,heading:n,hideHeading:r}=this;if(e)return null;let d=o`<div class="main">${[this._renderContent(),this._renderLastEditInfo()]}</div>`,c=a.returnToInitialFeature??"";return this.flowItems?d:o`<calcite-flow ${w(this._storeRootFlowNode)}><calcite-flow-item .loading=${s==="loading"} .headingLevel=${i} .heading=${this.hideHeading?void 0:Z(this.heading)} .selected=${!t.length}>${!r&&n?o`<div slot=heading><div .innerHTML=${B.sanitize(n??"")??""}></div></div>`:null}${d}</calcite-flow-item>${t.toArray().map((u,h)=>o`<calcite-flow-item @calciteFlowItemBack=${p=>{p.preventDefault(),this._handleDrillInBackClick()}} .loading=${s==="loading"} .headingLevel=${i} .selected=${h===t.length-1}><calcite-action icon=move-up @click=${this._removeFlowItems} slot=header-actions-start .text=${c} title=${c??b}></calcite-action>${u}</calcite-flow-item>`)}</calcite-flow>`}_renderLastEditInfo(){let{hideLastEditedInfo:e,messages:t}=this,{lastEditInfo:i}=this.viewModel;if(!i||e)return null;let{date:s,user:a}=i,n=i.type==="edit"?a?t.lastEditedByUser:t.lastEdited:a?t.lastCreatedByUser:t.lastCreated,r=k(n??"",{date:s,user:a});return o`<div class=${M(x("last-edited-info","content-element"))}>${r}</div>`}};C("arcgis-feature",v);return v},"intl","applications/Components/sanitizerUtils","core/Collection","core/reactiveUtils","applications/Components/stringUtils","popup/Feature",a,c,d,e,f,g)
|