@arcgis/map-components 5.1.0-next.82 → 5.1.0-next.84
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/2NY3SFXY.js +2 -0
- package/dist/cdn/{W5HIRRIH.js → 3ILSWQHC.js} +1 -1
- package/dist/cdn/66YJK5TN.js +2 -0
- package/dist/cdn/{KMLZW2K6.js → 6V7YOGR4.js} +1 -1
- package/dist/cdn/{HBEEL7IW.js → 6VJBGE5W.js} +1 -1
- package/dist/cdn/{J3EVRJDN.js → 7EBEAMCO.js} +1 -1
- package/dist/cdn/{LDCRZTCS.js → 7VOC4SRD.js} +1 -1
- package/dist/cdn/{254JE3ZB.js → A6P7RDWG.js} +1 -1
- package/dist/cdn/AFAQWPXY.js +2 -0
- package/dist/cdn/{LZEEYR7V.js → AQ77FNME.js} +2 -2
- package/dist/cdn/AU2CHOT7.js +2 -0
- package/dist/cdn/{UYQLS6YT.js → AW7QBRKJ.js} +1 -1
- package/dist/cdn/CLGZBSF4.js +2 -0
- package/dist/cdn/{2HUI7DKS.js → CZKMCZP6.js} +1 -1
- package/dist/cdn/{OZFNTMYH.js → E33LBHQA.js} +1 -1
- package/dist/cdn/{7TRV2EOI.js → ELGQ2B5Q.js} +1 -1
- package/dist/cdn/{3ST3R6TY.js → FMTWGY6C.js} +1 -1
- package/dist/cdn/{TF7MXQLD.js → FPT2UAZM.js} +1 -1
- package/dist/cdn/{MVULTZL6.js → FQY55PPT.js} +1 -1
- package/dist/cdn/{W3OI3KIT.js → GCFIJLPC.js} +1 -1
- package/dist/cdn/{YKQI2WN5.js → GVYS3KF5.js} +1 -1
- package/dist/cdn/{K2RCQ3S4.js → HTNECFCQ.js} +1 -1
- package/dist/cdn/{GDHU6FB7.js → HU4V2LGL.js} +1 -1
- package/dist/cdn/IFMQCWXY.js +2 -0
- package/dist/cdn/{FDR2SJBL.js → IMENOON5.js} +1 -1
- package/dist/cdn/IYYLPWB4.js +2 -0
- package/dist/cdn/{7F7JJMKX.js → K6DM6L64.js} +1 -1
- package/dist/cdn/{ZECK2VWO.js → K7IUUDPU.js} +1 -1
- package/dist/cdn/{FJ56R364.js → KKQWYK3S.js} +1 -1
- package/dist/cdn/{W42FYJ5N.js → LLRYOV3A.js} +1 -1
- package/dist/cdn/{WRSMGKLR.js → MV6B2G3T.js} +1 -1
- package/dist/cdn/{WCUAC5AB.js → NOIIORU5.js} +1 -1
- package/dist/cdn/{CVNE57KC.js → NUXHWUHW.js} +1 -1
- package/dist/cdn/O5ZWXMTJ.js +2 -0
- package/dist/cdn/{VO26UGWY.js → OSKVGOGF.js} +1 -1
- package/dist/cdn/{2AQAVHMV.js → OYSW2K2B.js} +1 -1
- package/dist/cdn/{LZPNTVQS.js → PLVNROBW.js} +1 -1
- package/dist/cdn/{4LQLSE44.js → QCWXVSVT.js} +1 -1
- package/dist/cdn/{EFTBQLWG.js → R643Q3PN.js} +1 -1
- package/dist/cdn/{JYOARMEB.js → RHK3OQ5J.js} +1 -1
- package/dist/cdn/{NVRFQSZB.js → ST5DXIZ6.js} +1 -1
- package/dist/cdn/{EFPJ2MPR.js → TEDPQX2I.js} +1 -1
- package/dist/cdn/{4XFY3WOK.js → U5G4PHA4.js} +1 -1
- package/dist/cdn/{DU2RY2NR.js → V6F3SIA2.js} +1 -1
- package/dist/cdn/{HAABWT7S.js → VEVJEIFK.js} +1 -1
- package/dist/cdn/{VAJP7Z3Y.js → VFIPW22C.js} +1 -1
- package/dist/cdn/{SRBNKXRD.js → X5PGXXNB.js} +1 -1
- package/dist/cdn/XQ5BV7DL.js +2 -0
- package/dist/cdn/{GXOC3E43.js → XWYXHSGO.js} +1 -1
- package/dist/cdn/{IJ4FLOVC.js → YACNPFYK.js} +1 -1
- package/dist/cdn/YHD6DZQT.js +2 -0
- package/dist/cdn/{NNMPXVST.js → ZO7ZJ52E.js} +1 -1
- package/dist/cdn/{7NFLP5PG.js → ZPSJEBD6.js} +1 -1
- package/dist/cdn/{TU7J33HU.js → ZYKCW3VZ.js} +1 -1
- 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/time-slider/t9n/messages.ar.json +1 -0
- package/dist/cdn/assets/time-slider/t9n/messages.bg.json +1 -0
- package/dist/cdn/assets/time-slider/t9n/messages.bs.json +1 -0
- package/dist/cdn/assets/time-slider/t9n/messages.ca.json +1 -0
- package/dist/cdn/assets/time-slider/t9n/messages.cs.json +1 -0
- package/dist/cdn/assets/time-slider/t9n/messages.da.json +1 -0
- package/dist/cdn/assets/time-slider/t9n/messages.de.json +1 -0
- package/dist/cdn/assets/time-slider/t9n/messages.el.json +1 -0
- package/dist/cdn/assets/time-slider/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/time-slider/t9n/messages.es.json +1 -0
- package/dist/cdn/assets/time-slider/t9n/messages.et.json +1 -0
- package/dist/cdn/assets/time-slider/t9n/messages.fi.json +1 -0
- package/dist/cdn/assets/time-slider/t9n/messages.fr.json +1 -0
- package/dist/cdn/assets/time-slider/t9n/messages.he.json +1 -0
- package/dist/cdn/assets/time-slider/t9n/messages.hr.json +1 -0
- package/dist/cdn/assets/time-slider/t9n/messages.hu.json +1 -0
- package/dist/cdn/assets/time-slider/t9n/messages.id.json +1 -0
- package/dist/cdn/assets/time-slider/t9n/messages.it.json +1 -0
- package/dist/cdn/assets/time-slider/t9n/messages.ja.json +1 -0
- package/dist/cdn/assets/time-slider/t9n/messages.ko.json +1 -0
- package/dist/cdn/assets/time-slider/t9n/messages.lt.json +1 -0
- package/dist/cdn/assets/time-slider/t9n/messages.lv.json +1 -0
- package/dist/cdn/assets/time-slider/t9n/messages.nl.json +1 -0
- package/dist/cdn/assets/time-slider/t9n/messages.no.json +1 -0
- package/dist/cdn/assets/time-slider/t9n/messages.pl.json +1 -0
- package/dist/cdn/assets/time-slider/t9n/messages.pt-BR.json +1 -0
- package/dist/cdn/assets/time-slider/t9n/messages.pt-PT.json +1 -0
- package/dist/cdn/assets/time-slider/t9n/messages.ro.json +1 -0
- package/dist/cdn/assets/time-slider/t9n/messages.ru.json +1 -0
- package/dist/cdn/assets/time-slider/t9n/messages.sk.json +1 -0
- package/dist/cdn/assets/time-slider/t9n/messages.sl.json +1 -0
- package/dist/cdn/assets/time-slider/t9n/messages.sr.json +1 -0
- package/dist/cdn/assets/time-slider/t9n/messages.sv.json +1 -0
- package/dist/cdn/assets/time-slider/t9n/messages.th.json +1 -0
- package/dist/cdn/assets/time-slider/t9n/messages.tr.json +1 -0
- package/dist/cdn/assets/time-slider/t9n/messages.uk.json +1 -0
- package/dist/cdn/assets/time-slider/t9n/messages.vi.json +1 -0
- package/dist/cdn/assets/time-slider/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/time-slider/t9n/messages.zh-HK.json +1 -0
- package/dist/cdn/assets/time-slider/t9n/messages.zh-TW.json +1 -0
- package/dist/cdn/assets/utility-network-validate-network-topology/t9n/messages.ar.json +1 -0
- package/dist/cdn/assets/utility-network-validate-network-topology/t9n/messages.bg.json +1 -0
- package/dist/cdn/assets/utility-network-validate-network-topology/t9n/messages.bs.json +1 -0
- package/dist/cdn/assets/utility-network-validate-network-topology/t9n/messages.ca.json +1 -0
- package/dist/cdn/assets/utility-network-validate-network-topology/t9n/messages.cs.json +1 -0
- package/dist/cdn/assets/utility-network-validate-network-topology/t9n/messages.da.json +1 -0
- package/dist/cdn/assets/utility-network-validate-network-topology/t9n/messages.de.json +1 -0
- package/dist/cdn/assets/utility-network-validate-network-topology/t9n/messages.el.json +1 -0
- package/dist/cdn/assets/utility-network-validate-network-topology/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/utility-network-validate-network-topology/t9n/messages.es.json +1 -0
- package/dist/cdn/assets/utility-network-validate-network-topology/t9n/messages.et.json +1 -0
- package/dist/cdn/assets/utility-network-validate-network-topology/t9n/messages.fi.json +1 -0
- package/dist/cdn/assets/utility-network-validate-network-topology/t9n/messages.fr.json +1 -0
- package/dist/cdn/assets/utility-network-validate-network-topology/t9n/messages.he.json +1 -0
- package/dist/cdn/assets/utility-network-validate-network-topology/t9n/messages.hr.json +1 -0
- package/dist/cdn/assets/utility-network-validate-network-topology/t9n/messages.hu.json +1 -0
- package/dist/cdn/assets/utility-network-validate-network-topology/t9n/messages.id.json +1 -0
- package/dist/cdn/assets/utility-network-validate-network-topology/t9n/messages.it.json +1 -0
- package/dist/cdn/assets/utility-network-validate-network-topology/t9n/messages.ja.json +1 -0
- package/dist/cdn/assets/utility-network-validate-network-topology/t9n/messages.ko.json +1 -0
- package/dist/cdn/assets/utility-network-validate-network-topology/t9n/messages.lt.json +1 -0
- package/dist/cdn/assets/utility-network-validate-network-topology/t9n/messages.lv.json +1 -0
- package/dist/cdn/assets/utility-network-validate-network-topology/t9n/messages.nl.json +1 -0
- package/dist/cdn/assets/utility-network-validate-network-topology/t9n/messages.no.json +1 -0
- package/dist/cdn/assets/utility-network-validate-network-topology/t9n/messages.pl.json +1 -0
- package/dist/cdn/assets/utility-network-validate-network-topology/t9n/messages.pt-BR.json +1 -0
- package/dist/cdn/assets/utility-network-validate-network-topology/t9n/messages.pt-PT.json +1 -0
- package/dist/cdn/assets/utility-network-validate-network-topology/t9n/messages.ro.json +1 -0
- package/dist/cdn/assets/utility-network-validate-network-topology/t9n/messages.ru.json +1 -0
- package/dist/cdn/assets/utility-network-validate-network-topology/t9n/messages.sk.json +1 -0
- package/dist/cdn/assets/utility-network-validate-network-topology/t9n/messages.sl.json +1 -0
- package/dist/cdn/assets/utility-network-validate-network-topology/t9n/messages.sr.json +1 -0
- package/dist/cdn/assets/utility-network-validate-network-topology/t9n/messages.sv.json +1 -0
- package/dist/cdn/assets/utility-network-validate-network-topology/t9n/messages.th.json +1 -0
- package/dist/cdn/assets/utility-network-validate-network-topology/t9n/messages.tr.json +1 -0
- package/dist/cdn/assets/utility-network-validate-network-topology/t9n/messages.uk.json +1 -0
- package/dist/cdn/assets/utility-network-validate-network-topology/t9n/messages.vi.json +1 -0
- package/dist/cdn/assets/utility-network-validate-network-topology/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/utility-network-validate-network-topology/t9n/messages.zh-HK.json +1 -0
- package/dist/cdn/assets/utility-network-validate-network-topology/t9n/messages.zh-TW.json +1 -0
- package/dist/cdn/index.js +1 -1
- package/dist/cdn/main.css +1 -1
- package/dist/chunks/action-utils.js +53 -78
- package/dist/chunks/async-utils.js +63 -51
- package/dist/chunks/feature-utils.js +3 -6
- package/dist/chunks/slots.js +1 -1
- package/dist/components/arcgis-aggregated-features/customElement.js +144 -0
- package/dist/components/arcgis-aggregated-features/index.js +6 -0
- package/dist/components/arcgis-daylight/customElement.js +1 -1
- package/dist/components/arcgis-directions/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile/customElement.d.ts +2 -3
- package/dist/components/arcgis-elevation-profile/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile-legend/customElement.js +20 -14
- package/dist/components/arcgis-feature/customElement.js +1 -1
- package/dist/components/arcgis-feature-attachments/customElement.js +8 -8
- package/dist/components/arcgis-feature-table/customElement.d.ts +1 -1
- package/dist/components/arcgis-feature-table/customElement.js +1 -1
- package/dist/components/arcgis-features/customElement.d.ts +17 -8
- package/dist/components/arcgis-features/customElement.js +125 -108
- package/dist/components/arcgis-features/index.js +1 -0
- package/dist/components/arcgis-home/customElement.js +4 -4
- package/dist/components/arcgis-layer-list-new/layer-list-item/customElement.js +1 -1
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +24 -1
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +13 -10
- package/dist/components/arcgis-time-slider/customElement.d.ts +687 -352
- package/dist/components/arcgis-time-slider/customElement.js +678 -26
- package/dist/components/arcgis-time-slider/index.js +7 -0
- package/dist/components/arcgis-time-slider/types.d.ts +147 -0
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +24 -24
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-validate-network-topology/customElement.d.ts +173 -0
- package/dist/components/arcgis-utility-network-validate-network-topology/customElement.js +208 -0
- package/dist/components/arcgis-utility-network-validate-network-topology/index.d.ts +1 -0
- package/dist/components/arcgis-utility-network-validate-network-topology/index.js +9 -0
- package/dist/components/arcgis-zoom/customElement.js +27 -33
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/index.d.ts +10 -0
- package/dist/loader.js +5 -3
- package/dist/types/lumina.d.ts +10 -3
- package/dist/types/preact.d.ts +11 -3
- package/dist/types/react.d.ts +12 -3
- package/dist/types/stencil.d.ts +10 -3
- package/dist/utils/async-utils.d.ts +3 -0
- package/package.json +5 -5
- package/dist/cdn/MT4BQEER.js +0 -2
- package/dist/cdn/OZZ7CYLP.js +0 -2
- package/dist/cdn/R6AZRDBD.js +0 -2
- package/dist/cdn/SE77TIOS.js +0 -2
- package/dist/cdn/UZIVX6VP.js +0 -2
- package/dist/cdn/V4RMKJUW.js +0 -2
- package/dist/cdn/VWL5JQZ4.js +0 -2
- package/dist/cdn/XUYGLABO.js +0 -2
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
+
import { c as d } from "../../chunks/runtime.js";
|
|
3
|
+
import { html as g } from "lit";
|
|
4
|
+
import { keyed as c } from "lit/directives/keyed.js";
|
|
5
|
+
import "@arcgis/core/core/Collection.js";
|
|
6
|
+
import h from "@arcgis/core/popup/Feature.js";
|
|
7
|
+
import m from "@arcgis/core/Graphic.js";
|
|
8
|
+
import y from "@arcgis/core/symbols/SimpleFillSymbol.js";
|
|
9
|
+
import { LitElement as F, renderElement as _ } from "@arcgis/lumina";
|
|
10
|
+
import { a as p } from "../../chunks/maybe.js";
|
|
11
|
+
import { usePropertyChange as f, bypassReadOnly as n } from "@arcgis/lumina/controllers";
|
|
12
|
+
import { g as A } from "../../chunks/feature-utils.js";
|
|
13
|
+
import { i as w } from "../../chunks/async-utils.js";
|
|
14
|
+
import { stripHTML as b } from "@arcgis/core/applications/Components/stringUtils.js";
|
|
15
|
+
import { watch as l } from "@arcgis/core/core/reactiveUtils.js";
|
|
16
|
+
class v extends F {
|
|
17
|
+
constructor() {
|
|
18
|
+
super(...arguments), this.aggregatedFeatureCount = 0, this.aggregatedFeatureItems = [], this.aggregatedFeatures = [], this.autoDestroyDisabled = !1, this.loading = !1, this.selectedAggregateBoundaryFeature = new m({
|
|
19
|
+
symbol: new y({
|
|
20
|
+
outline: {
|
|
21
|
+
width: 1.5,
|
|
22
|
+
color: "cyan"
|
|
23
|
+
},
|
|
24
|
+
style: "none"
|
|
25
|
+
})
|
|
26
|
+
}), this.arcgisPropertyChange = f()("aggregatedFeatureCount", "aggregatedFeatureItems", "aggregatedFeatures", "loading");
|
|
27
|
+
}
|
|
28
|
+
static {
|
|
29
|
+
this.properties = { _abortController: 16, aggregatedFeatureCount: 32, aggregatedFeatureItems: 32, aggregatedFeatures: 32, autoDestroyDisabled: 5, feature: 0, flowItems: 0, loading: 32, map: 0, messages: 0, selectedAggregateBoundaryFeature: 32, spatialReference: 0, timeZone: 1, view: 0 };
|
|
30
|
+
}
|
|
31
|
+
async destroy() {
|
|
32
|
+
await this.manager.destroy(), this._cancelQuery(), this._clearAggregatedFeatureItems(), this._removeAggregateBoundaryFeature();
|
|
33
|
+
}
|
|
34
|
+
loaded() {
|
|
35
|
+
this.manager.onLifecycle(() => [
|
|
36
|
+
l(() => [this.feature, this.view], () => {
|
|
37
|
+
this._updateAggregatedFeatures();
|
|
38
|
+
}, { initial: !0 }),
|
|
39
|
+
l(() => this.aggregatedFeatureItems.map((e) => e.heading ?? "").join("|"), () => this.requestUpdate())
|
|
40
|
+
]);
|
|
41
|
+
}
|
|
42
|
+
disconnectedCallback() {
|
|
43
|
+
super.disconnectedCallback(), this._cancelQuery(), this._clearAggregatedFeatureItems(), this._removeAggregateBoundaryFeature();
|
|
44
|
+
}
|
|
45
|
+
_setAggregatedFeatureCount(e) {
|
|
46
|
+
n(() => this.aggregatedFeatureCount = e);
|
|
47
|
+
}
|
|
48
|
+
_setAggregatedFeatureItemsReadOnly(e) {
|
|
49
|
+
n(() => this.aggregatedFeatureItems = e);
|
|
50
|
+
}
|
|
51
|
+
_setAggregatedFeatures(e) {
|
|
52
|
+
n(() => this.aggregatedFeatures = e);
|
|
53
|
+
}
|
|
54
|
+
_setLoading(e) {
|
|
55
|
+
n(() => this.loading = e);
|
|
56
|
+
}
|
|
57
|
+
_cancelQuery() {
|
|
58
|
+
this._abortController = p(this._abortController), this._setLoading(!1);
|
|
59
|
+
}
|
|
60
|
+
_removeBoundaryGraphicFromView(e) {
|
|
61
|
+
e?.graphics.remove(this.selectedAggregateBoundaryFeature);
|
|
62
|
+
}
|
|
63
|
+
_clearAggregatedFeatureItems() {
|
|
64
|
+
this._setAggregatedFeatureItemsReadOnly([]);
|
|
65
|
+
}
|
|
66
|
+
_resetAggregatedFeaturesState() {
|
|
67
|
+
this._setAggregatedFeatures([]), this._clearAggregatedFeatureItems(), this._setAggregatedFeatureCount(0), this._removeAggregateBoundaryFeature();
|
|
68
|
+
}
|
|
69
|
+
_setAggregatedFeatureItems(e) {
|
|
70
|
+
this._setAggregatedFeatureItemsReadOnly(e.map((t) => new h({ graphic: t })));
|
|
71
|
+
}
|
|
72
|
+
_setAggregatedFeaturesState(e) {
|
|
73
|
+
this._setAggregatedFeatures(e), this._setAggregatedFeatureItems(e), this._setAggregatedFeatureCount(e.length);
|
|
74
|
+
}
|
|
75
|
+
_removeAggregateBoundaryFeature() {
|
|
76
|
+
this._removeBoundaryGraphicFromView(this._boundaryGraphicView), this.selectedAggregateBoundaryFeature.geometry = null, this._boundaryGraphicView = void 0;
|
|
77
|
+
}
|
|
78
|
+
_updateAggregateBoundaryFeature(e) {
|
|
79
|
+
const { view: t } = this, a = this._boundaryGraphicView;
|
|
80
|
+
if (!t) {
|
|
81
|
+
this._removeAggregateBoundaryFeature();
|
|
82
|
+
return;
|
|
83
|
+
}
|
|
84
|
+
a !== t && this._removeBoundaryGraphicFromView(a), this.selectedAggregateBoundaryFeature.geometry = e, this._boundaryGraphicView = t, t.graphics.includes(this.selectedAggregateBoundaryFeature) || t.graphics.add(this.selectedAggregateBoundaryFeature);
|
|
85
|
+
}
|
|
86
|
+
async _getLayerViewAndQuery(e) {
|
|
87
|
+
const { view: t } = this, a = A(e);
|
|
88
|
+
if (!t || !a)
|
|
89
|
+
return null;
|
|
90
|
+
const r = await t.whenLayerView(a);
|
|
91
|
+
if (!r?.createQuery || !r?.queryFeatures || !r?.queryExtent)
|
|
92
|
+
return null;
|
|
93
|
+
const s = r.createQuery(), i = e.getObjectId();
|
|
94
|
+
return s.aggregateIds = i != null ? [i] : [], [r, s];
|
|
95
|
+
}
|
|
96
|
+
async _updateAggregatedFeatures() {
|
|
97
|
+
this._cancelQuery();
|
|
98
|
+
const { feature: e } = this;
|
|
99
|
+
if (!e?.isAggregate) {
|
|
100
|
+
this._resetAggregatedFeaturesState();
|
|
101
|
+
return;
|
|
102
|
+
}
|
|
103
|
+
const t = await this._getLayerViewAndQuery(e);
|
|
104
|
+
if (!t) {
|
|
105
|
+
this._resetAggregatedFeaturesState();
|
|
106
|
+
return;
|
|
107
|
+
}
|
|
108
|
+
const [a, o] = t, r = new AbortController();
|
|
109
|
+
this._abortController = r, this._setLoading(!0);
|
|
110
|
+
try {
|
|
111
|
+
const [s, i] = await Promise.all([
|
|
112
|
+
a.queryFeatures(o, { signal: r.signal }),
|
|
113
|
+
a.queryExtent(o, { signal: r.signal })
|
|
114
|
+
]);
|
|
115
|
+
if (this._abortController !== r || r.signal.aborted)
|
|
116
|
+
return;
|
|
117
|
+
this._abortController = null, this._setLoading(!1);
|
|
118
|
+
const u = s.features ?? [];
|
|
119
|
+
this._setAggregatedFeaturesState(u), i.extent ? this._updateAggregateBoundaryFeature(i.extent) : this._removeAggregateBoundaryFeature();
|
|
120
|
+
} catch (s) {
|
|
121
|
+
if (this._abortController !== r || (this._abortController = null, this._setLoading(!1), w(s)))
|
|
122
|
+
return;
|
|
123
|
+
this._resetAggregatedFeaturesState();
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
_addFlowItem(e) {
|
|
127
|
+
e && this.flowItems?.push(e);
|
|
128
|
+
}
|
|
129
|
+
_selectFeature(e) {
|
|
130
|
+
const { flowItems: t, view: a } = this;
|
|
131
|
+
t && this._addFlowItem(_(c(e, g`<arcgis-feature .autoDestroyDisabled=${this.autoDestroyDisabled} .flowItems=${t} .graphic=${e.graphic} .map=${this.map} .spatialReference=${this.spatialReference} .timeZone=${this.timeZone} .view=${a ?? void 0}></arcgis-feature>`)));
|
|
132
|
+
}
|
|
133
|
+
_renderChevronIconNode() {
|
|
134
|
+
return g`<calcite-icon flip-rtl icon=chevron-right scale=s slot=content-end></calcite-icon>`;
|
|
135
|
+
}
|
|
136
|
+
render() {
|
|
137
|
+
const { aggregatedFeatureItems: e } = this, { loading: t } = this, a = e.filter((r) => r.graphic);
|
|
138
|
+
return t || a.length > 0 ? g`<calcite-list .loading=${t} display-mode=flat .filterEnabled=${a.length > 10} .filterPlaceholder=${this.messages?.aggregatedFeaturesPlaceholder ?? ""} .label=${this.messages?.aggregatedFeatures ?? ""} selection-mode=none>${a.map((r) => g`<calcite-list-item .label=${b(r.heading) ?? ""} @calciteListItemSelect=${() => this._selectFeature(r)}>${this._renderChevronIconNode()}</calcite-list-item>`)}</calcite-list>` : g`<calcite-notice icon=information kind=brand open scale=s width=full><div slot=message>${this.messages?.noAggregatedFeatures}</div></calcite-notice>`;
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
d("arcgis-aggregated-features", v);
|
|
142
|
+
export {
|
|
143
|
+
v as ArcgisAggregatedFeatures
|
|
144
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import "../arcgis-feature/index.js";
|
|
2
|
+
import "@esri/calcite-components/components/calcite-icon";
|
|
3
|
+
import "@esri/calcite-components/components/calcite-list";
|
|
4
|
+
import "@esri/calcite-components/components/calcite-list-item";
|
|
5
|
+
import "@esri/calcite-components/components/calcite-notice";
|
|
6
|
+
export * from "./customElement.js";
|
|
@@ -11,7 +11,7 @@ import { u as be } from "../../chunks/useT9n.js";
|
|
|
11
11
|
import { u as ve } from "../../chunks/useView.js";
|
|
12
12
|
import { m as J } from "../../chunks/handle.js";
|
|
13
13
|
import { o as $, i as p, b as A, d as k, g as we } from "../../chunks/time-utils.js";
|
|
14
|
-
import { r as ye, b as xe,
|
|
14
|
+
import { r as ye, b as xe, e as Se } from "../../chunks/async-utils.js";
|
|
15
15
|
import { createTrackingTarget as De, runTracked as W, signal as Te } from "@arcgis/core/applications/Components/reactiveUtils.js";
|
|
16
16
|
import { C as K } from "../../chunks/component-wrapper.js";
|
|
17
17
|
import { V as D } from "../../chunks/visible-element.js";
|
|
@@ -13,7 +13,7 @@ const f = h`.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .
|
|
|
13
13
|
class v extends l {
|
|
14
14
|
constructor() {
|
|
15
15
|
super(...arguments), this.widget = u(this), this.viewModel = this.widget.viewModel, this.view = this.widget.view, this.apiKey = this.widget.apiKey, this.autoDestroyDisabled = !1, this.goToOverride = this.widget.goToOverride, this.headingLevel = this.widget.headingLevel, this.hideLayerDetails = this.widget.visibleElements.layerDetails, this.hidePrintButton = this.widget.visibleElements.printButton, this.hideSaveAsButton = this.widget.visibleElements.saveAsButton, this.hideSaveButton = this.widget.visibleElements.saveButton, this.icon = this.widget.icon, this.label = this.widget.label, this.lastRoute = this.widget.lastRoute, this.layer = this.widget.layer, this.layerId = m(this, (i) => {
|
|
16
|
-
i && (this.layer =
|
|
16
|
+
i ? this.layer = i : this.layer === void 0 && (this.layer = null);
|
|
17
17
|
}), this.maxStops = this.widget.maxStops, this.searchProperties = this.widget.searchProperties, this.state = this.viewModel.state, this.unit = this.widget.unit, this.useDefaultRouteLayer = !1, this.arcgisPropertyChange = s()("lastRoute", "state"), this.arcgisReady = d();
|
|
18
18
|
}
|
|
19
19
|
static {
|
|
@@ -437,9 +437,8 @@ export abstract class ArcgisElevationProfile extends LitElement {
|
|
|
437
437
|
zoomOut?: string | undefined;
|
|
438
438
|
};
|
|
439
439
|
/**
|
|
440
|
-
* The collection of
|
|
441
|
-
*
|
|
442
|
-
* content), and includes settings for how the resulting line will appear in the component chart and in the view.
|
|
440
|
+
* The collection of profiles to compute and display. Top-level entries can be either individual profile lines or
|
|
441
|
+
* groups that organize multiple lines under a shared title in the legend.
|
|
443
442
|
*
|
|
444
443
|
* [Read more](https://developers.arcgis.com/javascript/latest/references/core/analysis/ElevationProfileAnalysis/#profiles)
|
|
445
444
|
*/
|
|
@@ -522,7 +522,7 @@ class J extends k {
|
|
|
522
522
|
return c`<calcite-action icon=trash @click=${this._onClearButtonClick} .text=${e} title=${e ?? u}></calcite-action>`;
|
|
523
523
|
}
|
|
524
524
|
_renderLegend() {
|
|
525
|
-
return c`<arcgis-elevation-profile-legend .effectiveDisplayUnits=${this.viewModel.effectiveDisplayUnits} .featureSelected=${this.viewModel.featureIsSelected} .messages=${this._messages} .results=${this.viewModel.results}></arcgis-elevation-profile-legend>`;
|
|
525
|
+
return c`<arcgis-elevation-profile-legend .effectiveDisplayUnits=${this.viewModel.effectiveDisplayUnits} .featureSelected=${this.viewModel.featureIsSelected} .messages=${this._messages} .profiles=${this.profiles} .results=${this.viewModel.results}></arcgis-elevation-profile-legend>`;
|
|
526
526
|
}
|
|
527
527
|
_renderSettingsButton() {
|
|
528
528
|
return c`<arcgis-elevation-profile-settings .viewModel=${this.viewModel} .hideUniformChartScalingToggle=${this.hideUniformChartScalingToggle} .hideDistanceDisplayUnitSelect=${this.hideDistanceDisplayUnitSelect} .hideElevationDisplayUnitSelect=${this.hideElevationDisplayUnitSelect} .messages=${this._messages} .uniformChartScaling=${this.viewModel.uniformChartScaling} .unitOptionsDistance=${this.viewModel.distanceUnitOptions} .unitOptionsElevation=${this.viewModel.elevationUnitOptions} @arcgisElevationProfileSettingsUniformChartScalingChange=${(e) => {
|
|
@@ -1,31 +1,37 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import { c as
|
|
3
|
-
import { css as
|
|
4
|
-
import { LitElement as
|
|
5
|
-
const
|
|
6
|
-
class
|
|
2
|
+
import { c as a } from "../../chunks/runtime.js";
|
|
3
|
+
import { css as n, html as s } from "lit";
|
|
4
|
+
import { LitElement as l } from "@arcgis/lumina";
|
|
5
|
+
const o = n`:host{--arcgis-internal-legend-gap: var(--calcite-spacing-xxs);--arcgis-internal-legend-group-gap: var(--calcite-spacing-md);display:flex;flex-direction:column;gap:var(--arcgis-internal-legend-gap)}.group{display:flex;flex-direction:column;gap:var(--arcgis-internal-legend-gap)}.group+.group,.group+arcgis-elevation-profile-legend-item,arcgis-elevation-profile-legend-item+.group{margin-block-start:calc(var(--arcgis-internal-legend-group-gap) - var(--arcgis-internal-legend-gap))}.group-title{color:var(--calcite-color-text-2);font-size:var(--calcite-font-size--2);font-weight:var(--calcite-font-weight-medium);text-align:start}`;
|
|
6
|
+
class g extends l {
|
|
7
7
|
constructor() {
|
|
8
8
|
super(...arguments), this._expandedLine = void 0, this.featureSelected = !1;
|
|
9
9
|
}
|
|
10
10
|
static {
|
|
11
|
-
this.properties = { _expandedLine: 16, effectiveDisplayUnits: 0, featureSelected: 5, messages: 0, results: 0 };
|
|
11
|
+
this.properties = { _expandedLine: 16, effectiveDisplayUnits: 0, featureSelected: 5, messages: 0, profiles: 0, results: 0 };
|
|
12
12
|
}
|
|
13
13
|
static {
|
|
14
|
-
this.styles =
|
|
14
|
+
this.styles = o;
|
|
15
15
|
}
|
|
16
16
|
async destroy() {
|
|
17
17
|
await this.manager.destroy();
|
|
18
18
|
}
|
|
19
|
-
_onToggleExpand(
|
|
20
|
-
const
|
|
21
|
-
this._expandedLine =
|
|
19
|
+
_onToggleExpand(e) {
|
|
20
|
+
const t = e.detail;
|
|
21
|
+
this._expandedLine = t === this._expandedLine ? void 0 : t;
|
|
22
22
|
}
|
|
23
23
|
render() {
|
|
24
|
-
const
|
|
25
|
-
return s
|
|
24
|
+
const e = this.profiles?.toArray() ?? [], t = this.results ?? [], r = new Map(t.map((i) => [i.profile.id, i]));
|
|
25
|
+
return r.size === 0 ? s`<div></div>` : e?.map((i) => i.type === "group" ? this._renderGroup(i, r) : this._renderProfile(i, r));
|
|
26
|
+
}
|
|
27
|
+
_renderGroup(e, t) {
|
|
28
|
+
return s`<div class="group">${e.title ? s`<div class="group-title">${e.title}</div>` : void 0}${e.profiles.toArray().map((r) => this._renderProfile(r, t))}</div>`;
|
|
29
|
+
}
|
|
30
|
+
_renderProfile(e, t) {
|
|
31
|
+
return s`<arcgis-elevation-profile-legend-item .effectiveDisplayUnits=${this.effectiveDisplayUnits} .expanded=${e === this._expandedLine} .featureSelected=${this.featureSelected} .hideCheckbox=${(this.results?.length ?? 0) <= 1} .messages=${this.messages} @arcgisExpandedToggle=${this._onToggleExpand} .result=${t.get(e.id)}></arcgis-elevation-profile-legend-item>`;
|
|
26
32
|
}
|
|
27
33
|
}
|
|
28
|
-
|
|
34
|
+
a("arcgis-elevation-profile-legend", g);
|
|
29
35
|
export {
|
|
30
|
-
|
|
36
|
+
g as ArcgisElevationProfileLegend
|
|
31
37
|
};
|
|
@@ -9,7 +9,7 @@ import { m as x } from "../../chunks/useViewModel.js";
|
|
|
9
9
|
import { LitElement as b, createEvent as F, nothing as _, safeClassMap as L } from "@arcgis/lumina";
|
|
10
10
|
import { substitute as T } from "@arcgis/core/intl.js";
|
|
11
11
|
import { renderingSanitizer as A } from "@arcgis/core/applications/Components/sanitizerUtils.js";
|
|
12
|
-
import {
|
|
12
|
+
import { a as R, g as D, c as V, b as k, s as d, i as E, d as B } from "../../chunks/feature-utils.js";
|
|
13
13
|
import H from "@arcgis/core/core/Collection.js";
|
|
14
14
|
import { watch as N } from "@arcgis/core/core/reactiveUtils.js";
|
|
15
15
|
import { stripHTML as P } from "@arcgis/core/applications/Components/stringUtils.js";
|
|
@@ -7,7 +7,7 @@ import I from "@arcgis/core/core/Collection.js";
|
|
|
7
7
|
import b from "@arcgis/core/core/Error.js";
|
|
8
8
|
import { LitElement as _, nothing as p, safeClassMap as w, safeStyleMap as $ } from "@arcgis/lumina";
|
|
9
9
|
import { classes as A } from "@arcgis/toolkit/dom";
|
|
10
|
-
import {
|
|
10
|
+
import { g as u } from "../../chunks/feature-utils.js";
|
|
11
11
|
import { watch as C } from "@arcgis/core/core/reactiveUtils.js";
|
|
12
12
|
function v(i) {
|
|
13
13
|
const e = i.toLowerCase();
|
|
@@ -51,19 +51,19 @@ class R extends _ {
|
|
|
51
51
|
]);
|
|
52
52
|
}
|
|
53
53
|
async getAttachments() {
|
|
54
|
-
const { _attachmentLayer: e, _attachmentInfos: t, orderByFields: l, attachmentTypes: r, attachmentKeywords: s, _supportsTypeWildcard:
|
|
54
|
+
const { _attachmentLayer: e, _attachmentInfos: t, orderByFields: l, attachmentTypes: r, attachmentKeywords: s, _supportsTypeWildcard: g } = this;
|
|
55
55
|
if (!e || typeof e.queryAttachments != "function")
|
|
56
56
|
throw new b("invalid-layer", "getAttachments(): A valid layer is required.");
|
|
57
57
|
const o = this.graphic?.getObjectId();
|
|
58
58
|
if (typeof o != "number")
|
|
59
59
|
throw new b("invalid-object-id", "getAttachments(): Numeric object id is required");
|
|
60
|
-
const m = l?.map((c) => `${c.field} ${c.order === "descending" ? "DESC" : "ASC"}`),
|
|
60
|
+
const m = l?.map((c) => `${c.field} ${c.order === "descending" ? "DESC" : "ASC"}`), f = new S({
|
|
61
61
|
objectIds: [o],
|
|
62
62
|
returnMetadata: !0,
|
|
63
63
|
orderByFields: m,
|
|
64
|
-
attachmentTypes:
|
|
64
|
+
attachmentTypes: g ? r?.filter(Boolean).map((c) => `${c}/*`) : void 0,
|
|
65
65
|
keywords: s
|
|
66
|
-
}), n = [], h = e.queryAttachments(
|
|
66
|
+
}), n = [], h = e.queryAttachments(f).then((c) => c[o] || n).catch(() => n);
|
|
67
67
|
this.getAttachmentsPromise = h;
|
|
68
68
|
const d = await h;
|
|
69
69
|
t.destroyAll(), d.length && t.addMany(d), this.getAttachmentsPromise = null;
|
|
@@ -96,13 +96,13 @@ class R extends _ {
|
|
|
96
96
|
return e === "preview" ? this.renderAttachmentsPreview(t) : this.renderAttachmentsList(t);
|
|
97
97
|
}
|
|
98
98
|
renderAttachmentListItem(e) {
|
|
99
|
-
const { supportsResizeAttachments: t } = this, { contentType: l, name: r, url: s, size:
|
|
99
|
+
const { supportsResizeAttachments: t } = this, { contentType: l, name: r, url: s, size: g } = e, o = 64, m = r || this.messages?.noTitle, f = x(l), n = this.getCSSTransform(e), h = n ? { transform: n, "image-orientation": "none" } : {}, d = t && v(l), c = a`<a class=${w(A("item-link", "item-link--list", {
|
|
100
100
|
"item-link--list-icon": !d
|
|
101
|
-
}))} slot=content-start href=${s ?? void 0 ?? p} rel=noreferrer target=_blank>${d ? a`<img alt=${r ?? p} src=${`${s}${s?.includes("?") ? "&" : "?"}w=${o}&s=${
|
|
101
|
+
}))} slot=content-start href=${s ?? void 0 ?? p} rel=noreferrer target=_blank>${d ? a`<img alt=${r ?? p} src=${`${s}${s?.includes("?") ? "&" : "?"}w=${o}&s=${g}`} style=${$(h)} title=${r ?? p}>` : a`<calcite-icon .icon=${f}></calcite-icon>`}</a>`, y = a`<calcite-link slot=content .href=${s ?? void 0} rel=noreferrer target=_blank>${m}</calcite-link>`;
|
|
102
102
|
return a`<calcite-list-item .label=${m}>${c}${y}</calcite-list-item>`;
|
|
103
103
|
}
|
|
104
104
|
renderAttachmentPreviewItem(e) {
|
|
105
|
-
const { supportsResizeAttachments: t } = this, { contentType: l, name: r, url: s, size:
|
|
105
|
+
const { supportsResizeAttachments: t } = this, { contentType: l, name: r, url: s, size: g } = e, o = 225, m = r || this.messages?.noTitle, f = x(l), n = this.getCSSTransform(e), h = n ? { transform: n, "image-orientation": "none" } : {}, d = a`<a class=${w(A("item-link", "item-link--preview"))} slot=thumbnail href=${s ?? void 0 ?? p} rel=noreferrer target=_blank>${t && v(l) ? a`<img alt=${r ?? p} src=${`${s}${s?.includes("?") ? "&" : "?"}w=${o}&s=${g}`} style=${$(h)} title=${r ?? p}>` : a`<calcite-icon scale=l .icon=${f}></calcite-icon>`}</a>`;
|
|
106
106
|
return a`<calcite-card .label=${m}>${d}<span class="item-description" slot=description>${m}</span></calcite-card>`;
|
|
107
107
|
}
|
|
108
108
|
}
|
|
@@ -538,7 +538,7 @@ export abstract class ArcgisFeatureTable extends LitElement {
|
|
|
538
538
|
*/
|
|
539
539
|
accessor layer: FeatureTableSupportedLayer | null | undefined;
|
|
540
540
|
/**
|
|
541
|
-
* Layer Id of layer in the associated map. You can set `layer`, `layerId` or `
|
|
541
|
+
* Layer Id of layer in the associated map. You can set `layer`, `layerId` or `layerItemId`,
|
|
542
542
|
* but not more than one.
|
|
543
543
|
*
|
|
544
544
|
* @since 5.1
|
|
@@ -16,7 +16,7 @@ const w = _`.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .
|
|
|
16
16
|
class v extends d {
|
|
17
17
|
constructor() {
|
|
18
18
|
super(...arguments), this.widget = f(this), this.viewModel = this.widget.viewModel, this.view = this.widget.view, this.attachmentsColumns = this.widget.attachmentsColumns, this.attributeTableTemplate = this.widget.attributeTableTemplate, this.actionColumn = this.widget.actionColumn, this.actionColumnConfig = this.widget.actionColumnConfig, this.activeFilters = this.widget.activeFilters, this.activeSortOrders = this.widget.activeSortOrders, this.allColumns = this.widget.allColumns, this.allRelatedTablesVisible = this.widget.allRelatedTablesVisible, this.allVisibleColumns = this.widget.allVisibleColumns, this.attachmentsEnabled = this.widget.attachmentsEnabled, this.attachmentsViewOptions = this.widget.attachmentsViewOptions, this.autoDestroyDisabled = !1, this.autoRefreshDisabled = this.widget.autoRefreshEnabled, this.autoSaveDisabled = this.widget.autoSaveEnabled, this.canAddRelatedFeature = this.widget.canAddRelatedFeature, this.columnPerformanceModeDisabled = this.widget.columnPerformanceModeEnabled, this.columnReorderingDisabled = this.widget.columnReorderingEnabled, this.columns = this.widget.columns, this.definitionExpression = this.widget.definitionExpression, this.description = this.widget.description, this.disabled = this.widget.disabled, this.editingEnabled = this.widget.editingEnabled, this.effectiveSize = this.widget.effectiveSize, this.fieldColumns = this.widget.fieldColumns, this.filterBySelectionEnabled = this.widget.filterBySelectionEnabled, this.filterByViewExtent = this.widget.filterByViewExtent, this.filterGeometry = this.widget.filterGeometry, this.groupColumns = this.widget.groupColumns, this.hasContingentValues = this.widget.hasContingentValues, this.hasInvalidPendingEdits = this.widget.hasInvalidPendingEdits, this.hasPendingEdits = this.widget.hasPendingEdits, this.hiddenFields = this.widget.hiddenFields, this.hideColumnDescriptions = this.widget.visibleElements.columnDescriptions, this.hideColumnMenuItemsSortAscending = this.widget.visibleElements.columnMenuItems.sortAscending, this.hideColumnMenuItemsSortDescending = this.widget.visibleElements.columnMenuItems.sortDescending, this.hideColumnMenus = this.widget.visibleElements.columnMenus, this.hideHeader = this.widget.visibleElements.header, this.hideLayerDropdownIcons = this.widget.visibleElements.layerDropdownIcons, this.hideMenu = this.widget.visibleElements.menu, this.hideMenuItemsClearSelection = this.widget.visibleElements.menuItems.clearSelection, this.hideMenuItemsDeleteSelection = this.widget.visibleElements.menuItems.deleteSelection, this.hideMenuItemsExportSelectionToCsv = this.widget.visibleElements.menuItems.exportSelectionToCSV, this.hideMenuItemsRefreshData = this.widget.visibleElements.menuItems.refreshData, this.hideMenuItemsSelectedRecordsShowAllToggle = this.widget.visibleElements.menuItems.selectedRecordsShowAllToggle, this.hideMenuItemsSelectedRecordsShowSelectedToggle = this.widget.visibleElements.menuItems.selectedRecordsShowSelectedToggle, this.hideMenuItemsToggleColumns = this.widget.visibleElements.menuItems.toggleColumns, this.hideMenuItemsZoomToSelection = this.widget.visibleElements.menuItems.zoomToSelection, this.hideProgress = this.widget.visibleElements.progress, this.hideSelectionColumn = this.widget.visibleElements.selectionColumn, this.hideTooltips = this.widget.visibleElements.tooltips, this.highlightDisabled = this.widget.highlightEnabled, this.highlightIds = this.widget.highlightIds, this.initialSize = this.widget.initialSize, this.icon = this.widget.icon, this.isQueryingOrSyncing = this.widget.isQueryingOrSyncing, this.isSyncingAttachments = this.widget.isSyncingAttachments, this.label = this.widget.label, this.layer = this.widget.layer, this.layerId = b(this, (e) => {
|
|
19
|
-
|
|
19
|
+
this.layer = e;
|
|
20
20
|
}), this.layerView = this.widget.layerView, this.layers = this.widget.layers, this.maxSize = this.widget.maxSize, this.menuConfig = this.widget.menuConfig, this.multipleSelectionDisabled = this.widget.multipleSelectionEnabled, this.multipleSortEnabled = this.widget.multiSortEnabled, this.multipleSortPriority = this.widget.multipleSortPriority, this.navigationScale = this.widget.navigationScale, this.noDataMessage = this.widget.noDataMessage, this.objectIds = this.widget.objectIds, this.outFields = this.widget.outFields, this.pageCount = this.widget.pageCount, this.pageIndex = this.widget.pageIndex, this.pageSize = this.widget.pageSize, this.paginationEnabled = this.widget.paginationEnabled, this.relatedRecordsEnabled = this.widget.relatedRecordsEnabled, this.relatedTable = this.widget.relatedTable, this.relatedTables = this.widget.relatedTables, this.relationship = this.widget.relationship, this.relationshipColumns = this.widget.relationshipColumns, this.returnGeometryEnabled = this.widget.returnGeometryEnabled, this.returnMEnabled = this.widget.returnMEnabled, this.returnZEnabled = this.widget.returnZEnabled, this.rowHighlightIds = this.widget.rowHighlightIds, this.selectionManager = this.widget.selectionManager, this.size = this.widget.size, this.showLayerDropdown = this.widget.visibleElements.layerDropdown, this.state = this.widget.state, this.supportsAddAttachments = this.widget.supportsAddAttachments, this.supportsAttachments = this.widget.supportsAttachments, this.supportsDeleteAttachments = this.widget.supportsDeleteAttachments, this.supportsResizeAttachments = this.widget.supportsResizeAttachments, this.supportsUpdateAttachments = this.widget.supportsUpdateAttachments, this.syncTemplateOnChangesDisabled = this.widget.syncTemplateOnChangesEnabled, this.syncViewSelection = this.widget.syncViewSelection, this.tableController = this.widget.tableController, this.tableParent = this.widget.tableParent, this.tableTemplate = this.widget.tableTemplate, this.tableTitle = this.widget.title, this.timeExtent = this.widget.timeExtent, this.timeZone = this.widget.timeZone, this.visibleColumns = this.widget.visibleColumns, this.arcgisCellClick = t(() => this.widget, "cell-click"), this.arcgisCellKeydown = t(() => this.widget, "cell-keydown"), this.arcgisCellPointerout = t(() => this.widget, "cell-pointerout"), this.arcgisCellPointerover = t(() => this.widget, "cell-pointerover"), this.arcgisColumnReorder = t(() => this.widget, "column-reorder"), this.arcgisPropertyChange = h()("effectiveSize", "isQueryingOrSyncing", "layerView", "size", "state"), this.arcgisReady = a(), this.arcgisSelectionChange = a();
|
|
21
21
|
}
|
|
22
22
|
static {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
|
-
import type Features from "@arcgis/core/popup/Features.js";
|
|
3
|
-
import type Collection from "@arcgis/core/core/Collection.js";
|
|
4
2
|
import type ActionButton from "@arcgis/core/support/actions/ActionButton.js";
|
|
3
|
+
import type Collection from "@arcgis/core/core/Collection.js";
|
|
4
|
+
import type Features from "@arcgis/core/popup/Features.js";
|
|
5
5
|
import type ActionToggle from "@arcgis/core/support/actions/ActionToggle.js";
|
|
6
6
|
import type Graphic from "@arcgis/core/Graphic.js";
|
|
7
7
|
import type FeatureAbilities from "@arcgis/core/popup/support/FeatureAbilities.js";
|
|
8
8
|
import type Map from "@arcgis/core/Map.js";
|
|
9
9
|
import type SpatialReference from "@arcgis/core/geometry/SpatialReference.js";
|
|
10
|
-
import type { ArcgisReferenceElement, IconName, HeadingLevel } from "../types.js";
|
|
11
|
-
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
12
|
-
import type { ArcgisFeature } from "../arcgis-feature/customElement.js";
|
|
13
10
|
import type { ActionEvent, FetchFeaturesOptions } from "@arcgis/core/widgets/Popup/types.js";
|
|
11
|
+
import type { ArcgisFeature } from "../arcgis-feature/customElement.js";
|
|
12
|
+
import type { ArcgisReferenceElement, IconName, HeadingLevel } from "../types.js";
|
|
14
13
|
import type { ScreenPoint } from "@arcgis/core/core/types.js";
|
|
14
|
+
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
15
15
|
import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
16
16
|
import type { PopupAction, InitialDisplayOptions, State } from "@arcgis/core/popup/types.js";
|
|
17
17
|
import type { GoToOverride } from "@arcgis/core/widgets/support/types.js";
|
|
@@ -379,7 +379,10 @@ export abstract class ArcgisFeatures extends LitElement {
|
|
|
379
379
|
accessor messageOverrides: {
|
|
380
380
|
componentLabel?: string | undefined;
|
|
381
381
|
zoom?: string | undefined;
|
|
382
|
-
|
|
382
|
+
browseAggregatedFeatures?: string | undefined;
|
|
383
|
+
aggregatedFeatures?: string | undefined;
|
|
384
|
+
aggregatedFeaturesPlaceholder?: string | undefined;
|
|
385
|
+
noAggregatedFeatures?: string | undefined;
|
|
383
386
|
featuresList?: string | undefined;
|
|
384
387
|
total?: string | undefined;
|
|
385
388
|
pageText?: string | undefined;
|
|
@@ -401,7 +404,10 @@ export abstract class ArcgisFeatures extends LitElement {
|
|
|
401
404
|
protected messages: Partial<{
|
|
402
405
|
componentLabel: string;
|
|
403
406
|
zoom: string;
|
|
404
|
-
|
|
407
|
+
browseAggregatedFeatures: string;
|
|
408
|
+
aggregatedFeatures: string;
|
|
409
|
+
aggregatedFeaturesPlaceholder: string;
|
|
410
|
+
noAggregatedFeatures: string;
|
|
405
411
|
featuresList: string;
|
|
406
412
|
total: string;
|
|
407
413
|
pageText: string;
|
|
@@ -421,7 +427,10 @@ export abstract class ArcgisFeatures extends LitElement {
|
|
|
421
427
|
}> & T9nMeta<{
|
|
422
428
|
componentLabel: string;
|
|
423
429
|
zoom: string;
|
|
424
|
-
|
|
430
|
+
browseAggregatedFeatures: string;
|
|
431
|
+
aggregatedFeatures: string;
|
|
432
|
+
aggregatedFeaturesPlaceholder: string;
|
|
433
|
+
noAggregatedFeatures: string;
|
|
425
434
|
featuresList: string;
|
|
426
435
|
total: string;
|
|
427
436
|
pageText: string;
|