@esri/solutions-components 5.1.0-next.109 → 5.1.0-next.110
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/{ZVHRGKDC.js → 25VAC27I.js} +1 -1
- package/dist/cdn/{PMASTSAY.js → 35JHUNE2.js} +1 -1
- package/dist/cdn/{FIHH22PH.js → 3CDGBSG2.js} +1 -1
- package/dist/cdn/{BBVI22DX.js → 3JVQG3QA.js} +1 -1
- package/dist/cdn/42SCVEP5.js +2 -0
- package/dist/cdn/{WPB3VJUM.js → 4DNXJC4H.js} +1 -1
- package/dist/cdn/{ZTU7ACFT.js → 4LXJECAT.js} +1 -1
- package/dist/cdn/{MVD3VVPZ.js → 4SU2ROO4.js} +1 -1
- package/dist/cdn/{ZGX5BDIO.js → 5TJMXQ6I.js} +1 -1
- package/dist/cdn/{T3NHBHAI.js → 5X73H45I.js} +1 -1
- package/dist/cdn/{6OCDWG7P.js → 74KPJ6CS.js} +1 -1
- package/dist/cdn/{HIV2GYY7.js → 7K2BSAIP.js} +1 -1
- package/dist/cdn/{EZUDAXHT.js → A4RZESK7.js} +1 -1
- package/dist/cdn/{ON4MWXBI.js → A75GYZAK.js} +1 -1
- package/dist/cdn/{E4MLV2FE.js → AC4RMGO6.js} +1 -1
- package/dist/cdn/{XGXFBOJN.js → AN52NHQI.js} +1 -1
- package/dist/cdn/{M5OSUYVD.js → AVRGQSFV.js} +1 -1
- package/dist/cdn/BJDRTFKQ.js +2 -0
- package/dist/cdn/{LG67HAE5.js → BJR4LFTB.js} +1 -1
- package/dist/cdn/{UWOL7IKX.js → BKDURHMM.js} +1 -1
- package/dist/cdn/{GE57TEEE.js → BMF7MU4P.js} +1 -1
- package/dist/cdn/BTGIA7F4.js +2 -0
- package/dist/cdn/{FJAKNWL6.js → BXRB7X5V.js} +25 -25
- package/dist/cdn/{KUFPXZWQ.js → CCUDERJM.js} +1 -1
- package/dist/cdn/CYOAGVBU.js +2 -0
- package/dist/cdn/D4YPSPYU.js +2 -0
- package/dist/cdn/{F5IR4RHL.js → DGUS2OKW.js} +1 -1
- package/dist/cdn/{WVGQGW4R.js → DMAGF5NK.js} +1 -1
- package/dist/cdn/{UEITESQY.js → EKVVDMWB.js} +1 -1
- package/dist/cdn/{52KJS4OG.js → EMYFWPJ5.js} +1 -1
- package/dist/cdn/{PWTAOSL7.js → FJ7ETLF7.js} +1 -1
- package/dist/cdn/{CETY3FEP.js → FKA4WB46.js} +1 -1
- package/dist/cdn/{4H6WLS2C.js → FTVYIREU.js} +1 -1
- package/dist/cdn/{WOVQTNTH.js → G4RZYVWS.js} +1 -1
- package/dist/cdn/GQLCVOIO.js +2 -0
- package/dist/cdn/{N6HPF764.js → GWKYLTEJ.js} +1 -1
- package/dist/cdn/{DPIB437L.js → GWS7GDTT.js} +1 -1
- package/dist/cdn/{ALQ5DBK4.js → HG7ONXRZ.js} +1 -1
- package/dist/cdn/{RAVGZ37K.js → I4N2RPKJ.js} +1 -1
- package/dist/cdn/JDVRT3UI.js +2 -0
- package/dist/cdn/{KRFMW3F6.js → JHEOWKJP.js} +1 -1
- package/dist/cdn/{LGFATGO3.js → KLK6VI3Y.js} +1 -1
- package/dist/cdn/{EX2M356A.js → KRK3HJKJ.js} +1 -1
- package/dist/cdn/LES6DTSC.js +2 -0
- package/dist/cdn/{L3R23ENZ.js → LL62WUTX.js} +1 -1
- package/dist/cdn/LS5WOH7V.js +2 -0
- package/dist/cdn/{YBFRVRRL.js → LUPN4QGH.js} +1 -1
- package/dist/cdn/{MNCCEYE3.js → MBLK4P7W.js} +1 -1
- package/dist/cdn/NUVJH534.js +2 -0
- package/dist/cdn/OJ75PR7L.js +2 -0
- package/dist/cdn/{JCQ3GAY6.js → PD2CPL77.js} +1 -1
- package/dist/cdn/{RTENTU3I.js → PERCQYO6.js} +2 -2
- package/dist/cdn/{GXH52TKB.js → Q2I3FISB.js} +1 -1
- package/dist/cdn/{Y4QO5HTT.js → Q5XUSNQQ.js} +1 -1
- package/dist/cdn/{R6RHNEU5.js → QCXFCAG2.js} +1 -1
- package/dist/cdn/{EZXOFWRE.js → QGAFD25H.js} +1 -1
- package/dist/cdn/{54YUJSPE.js → QK5JWCPU.js} +1 -1
- package/dist/cdn/QOJ6NBZ7.js +2 -0
- package/dist/cdn/{CTGCWSCT.js → R5EBB32O.js} +112 -112
- package/dist/cdn/{AV2VGLDZ.js → RTEEGE26.js} +1 -1
- package/dist/cdn/{7OCLTZG6.js → RYM3WNKW.js} +1 -1
- package/dist/cdn/T5VGITRO.js +2 -0
- package/dist/cdn/{QETCNT3V.js → TCEWQ6AH.js} +1 -1
- package/dist/cdn/{RHYPLQ7P.js → TUB2CVLR.js} +3 -3
- package/dist/cdn/{UZ7C6CMQ.js → UQVDQ3RW.js} +1 -1
- package/dist/cdn/{Z5DIDVKZ.js → VEZDLO5O.js} +1 -1
- package/dist/cdn/{MMSWM6TE.js → VJCNI3S6.js} +1 -1
- package/dist/cdn/{JXLUOBPY.js → VLTIETO7.js} +1 -1
- package/dist/cdn/{CFD3KIYJ.js → VMSV2EDE.js} +1 -1
- package/dist/cdn/WCS5ISFW.js +2 -0
- package/dist/cdn/{AO6CNZVY.js → WNZGZMLN.js} +1 -1
- package/dist/cdn/{2M47YJSF.js → X3AFBSXC.js} +1 -1
- package/dist/cdn/{MEETZUH6.js → XFSGLLBP.js} +1 -1
- package/dist/cdn/YOO4OQMD.js +2 -0
- package/dist/cdn/Z7UB6Y73.js +2 -0
- package/dist/cdn/{DNTFTT5U.js → ZGAP3FGE.js} +1 -1
- package/dist/cdn/ZHIIV7VJ.js +2 -0
- package/dist/cdn/{REGMSP2R.js → ZKWM223Q.js} +1 -1
- package/dist/cdn/assets/buffer-tools/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/buffer-tools/t9n/messages.json +1 -1
- package/dist/cdn/assets/card-manager/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/card-manager/t9n/messages.json +1 -1
- package/dist/cdn/assets/create-related-feature/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/create-related-feature/t9n/messages.json +1 -1
- package/dist/cdn/assets/crowdsource-manager/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/crowdsource-manager/t9n/messages.json +1 -1
- package/dist/cdn/assets/crowdsource-reporter/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/crowdsource-reporter/t9n/messages.json +1 -1
- package/dist/cdn/assets/edit-card/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/edit-card/t9n/messages.json +1 -1
- package/dist/cdn/assets/info-card/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/info-card/t9n/messages.json +1 -1
- package/dist/cdn/assets/map-picker/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/map-picker/t9n/messages.json +1 -1
- package/dist/cdn/assets/solutions-all-shell/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solutions-all-shell/t9n/messages.json +1 -1
- package/dist/cdn/assets/solutions-deployed-list/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solutions-deployed-list/t9n/messages.json +1 -1
- package/dist/cdn/assets/solutions-filter-panel/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solutions-filter-panel/t9n/messages.json +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/chunks/interfaces.js +1 -1
- package/dist/chunks/solution-deploy-dialog.js +2 -2
- package/dist/chunks/solutions-deploy-app-nav.js +1 -1
- package/dist/components/arcgis-solutions-assistant/customElement.js +5312 -5307
- package/dist/components/buffer-tools/customElement.d.ts +2 -0
- package/dist/components/buffer-tools/customElement.js +5 -5
- package/dist/components/card-manager/customElement.d.ts +2 -0
- package/dist/components/card-manager/customElement.js +1 -1
- package/dist/components/create-feature/customElement.js +9 -9
- package/dist/components/create-related-feature/customElement.d.ts +7 -1
- package/dist/components/create-related-feature/customElement.js +6 -6
- package/dist/components/crowdsource-manager/customElement.d.ts +2 -0
- package/dist/components/crowdsource-manager/customElement.js +5 -5
- package/dist/components/crowdsource-reporter/customElement.d.ts +8 -0
- package/dist/components/crowdsource-reporter/customElement.js +7 -7
- package/dist/components/deduct-calculator/customElement.js +5 -5
- package/dist/components/delete-button/customElement.js +1 -1
- package/dist/components/edit-card/customElement.d.ts +7 -1
- package/dist/components/edit-card/customElement.js +1 -1
- package/dist/components/feature-details/customElement.js +2 -2
- package/dist/components/feature-list/customElement.js +1 -1
- package/dist/components/field-selection/customElement.js +75 -67
- package/dist/components/info-card/customElement.d.ts +2 -0
- package/dist/components/info-card/customElement.js +1 -1
- package/dist/components/layer-list/customElement.js +1 -1
- package/dist/components/layer-table/customElement.js +1 -1
- package/dist/components/map-layer-picker/customElement.js +8 -8
- package/dist/components/map-picker/customElement.d.ts +7 -1
- package/dist/components/map-picker/customElement.js +2 -2
- package/dist/components/map-select-tools/customElement.js +3 -3
- package/dist/components/map-tools/customElement.js +1 -1
- package/dist/components/pci-calculator/customElement.js +5 -5
- package/dist/components/pdf-download/customElement.js +1 -1
- package/dist/components/public-notification/customElement.js +3 -3
- package/dist/components/refine-selection/customElement.js +1 -1
- package/dist/components/solution-builder-assistant/customElement.js +56 -56
- package/dist/components/solution-builder-assistant/index.js +1 -1
- package/dist/components/solution-delete-dialog/customElement.js +1 -1
- package/dist/components/solution-deployed-card-panel/customElement.js +9 -9
- package/dist/components/solution-deploying-dialog/customElement.js +8 -8
- package/dist/components/solution-details-card/customElement.js +5 -5
- package/dist/components/solution-item-accordion/customElement.js +1 -1
- package/dist/components/solution-item-diagram/customElement.js +113 -113
- package/dist/components/solution-item-icon/customElement.js +3 -3
- package/dist/components/solution-resource-card/customElement.js +3 -3
- package/dist/components/solution-snapshot-gallery/customElement.js +1 -1
- package/dist/components/solution-social-share/customElement.js +11 -11
- package/dist/components/solutions-all-panel/customElement.js +1 -1
- package/dist/components/solutions-all-shell/customElement.d.ts +2 -0
- package/dist/components/solutions-all-shell/customElement.js +5 -5
- package/dist/components/solutions-deployed-list/customElement.d.ts +7 -1
- package/dist/components/solutions-deployed-list/customElement.js +25 -22
- package/dist/components/solutions-deployed-panel/customElement.js +1 -1
- package/dist/components/solutions-deployed-shell/customElement.js +1 -1
- package/dist/components/solutions-filter-panel/customElement.d.ts +2 -0
- package/dist/components/solutions-filter-panel/customElement.js +1 -1
- package/dist/components/solutions-resources-section/customElement.js +10 -9
- package/dist/components/solutions-resources-shell/customElement.js +3 -3
- package/dist/components/solutions-searchsort-toolbar/customElement.js +11 -11
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/solutions-components_commit.txt +7 -7
- package/package.json +1 -1
- package/dist/cdn/5Q6CJZ7M.js +0 -2
- package/dist/cdn/7O7OFAXY.js +0 -2
- package/dist/cdn/A77WR5MD.js +0 -2
- package/dist/cdn/AKEEHAGV.js +0 -2
- package/dist/cdn/BX4LWPBE.js +0 -2
- package/dist/cdn/F7GWD5GZ.js +0 -2
- package/dist/cdn/I5STLCQ7.js +0 -2
- package/dist/cdn/KXU6CODF.js +0 -2
- package/dist/cdn/MRTCK3MT.js +0 -2
- package/dist/cdn/NGWZKWTA.js +0 -2
- package/dist/cdn/OZGADKJE.js +0 -2
- package/dist/cdn/SE4ZDMV4.js +0 -2
- package/dist/cdn/SHXJ4Z2A.js +0 -2
- package/dist/cdn/TJ7VHVTC.js +0 -2
- package/dist/cdn/WHXJW7ZE.js +0 -2
- package/dist/cdn/Z3NAMBE6.js +0 -2
- package/dist/cdn/ZTVWTQFN.js +0 -2
|
@@ -19,7 +19,7 @@ class C extends T {
|
|
|
19
19
|
this.styles = v;
|
|
20
20
|
}
|
|
21
21
|
render() {
|
|
22
|
-
return y`<calcite-action alignment=center appearance=solid class="height-51 width-51" id=solutions-field-selection .text=${this._translations.fieldVisibility} scale=m @click=${() => this._handleFieldVisibilityClick()} @mouseover=${() => this._addTableTooltip(this._fieldVisibilityActionNode, this._translations.fieldVisibility)} @mouseout=${() => this._removeTableTooltip()} @focus=${() => this._addTableTooltip(this._fieldVisibilityActionNode, this._translations.fieldVisibility)} ${u((e) => this._fieldVisibilityActionNode = e)}><calcite-icon scale=s icon=gear></calcite-icon></calcite-action>`;
|
|
22
|
+
return y`<calcite-action alignment=center appearance=solid class="height-51 width-51" id=solutions-field-selection .text=${this._translations.fieldVisibility} scale=m @click=${() => this._handleFieldVisibilityClick()} @mouseover=${() => this._addTableTooltip(this._fieldVisibilityActionNode, this._translations.fieldVisibility)} @mouseout=${() => this._removeTableTooltip()} @focus=${() => this._addTableTooltip(this._fieldVisibilityActionNode, this._translations.fieldVisibility)} ${u((e) => this._fieldVisibilityActionNode = e)}><calcite-icon aria-hidden=true scale=s icon=gear></calcite-icon></calcite-action>`;
|
|
23
23
|
}
|
|
24
24
|
handleColumnReorder() {
|
|
25
25
|
this._fieldSortOrder = "default", this._fieldVisibilityPopoverNode && (this.removeFieldsPickList(), this._handleFieldVisibilityClick());
|
|
@@ -30,113 +30,121 @@ class C extends T {
|
|
|
30
30
|
const e = this.table?.tableTemplate?.columnTemplates;
|
|
31
31
|
if (this.layer && this.mapView && e && this._fieldVisibilityActionNode) {
|
|
32
32
|
document.removeEventListener("click", this._fieldVisibilityPopoverClickHandler);
|
|
33
|
-
const t = this.table.fieldColumns.map((
|
|
34
|
-
alias:
|
|
35
|
-
description:
|
|
36
|
-
name:
|
|
37
|
-
type:
|
|
33
|
+
const t = this.table.fieldColumns.map((l) => ({
|
|
34
|
+
alias: l.field.alias,
|
|
35
|
+
description: l.field.description,
|
|
36
|
+
name: l.field.name,
|
|
37
|
+
type: l.field.type
|
|
38
38
|
}));
|
|
39
39
|
if (this._hasAttachmentsEnabled(this.layer)) {
|
|
40
|
-
const
|
|
41
|
-
if (this._shouldShowField(
|
|
42
|
-
if (!e.some((
|
|
43
|
-
const
|
|
44
|
-
fieldName:
|
|
40
|
+
const l = "Attachments";
|
|
41
|
+
if (this._shouldShowField(l.toUpperCase(), !1)) {
|
|
42
|
+
if (!e.some((a) => a.fieldName.toUpperCase() === l.toUpperCase())) {
|
|
43
|
+
const a = {
|
|
44
|
+
fieldName: l,
|
|
45
45
|
type: "attachment",
|
|
46
46
|
visible: !0
|
|
47
47
|
};
|
|
48
|
-
e.push(
|
|
48
|
+
e.push(a);
|
|
49
49
|
}
|
|
50
50
|
t.push({
|
|
51
|
-
name:
|
|
51
|
+
name: l,
|
|
52
52
|
alias: "Photos and files",
|
|
53
53
|
type: "none",
|
|
54
|
-
description:
|
|
54
|
+
description: l
|
|
55
55
|
});
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
58
|
if (this.table.relatedRecordsEnabled && this.layer.relationships && this.layer.relationships.length > 0) {
|
|
59
|
-
const
|
|
60
|
-
this.layer.relationships.forEach((
|
|
61
|
-
let
|
|
62
|
-
if (!
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
59
|
+
const l = this.layer.parent;
|
|
60
|
+
this.layer.relationships.forEach((a, p) => {
|
|
61
|
+
let o, n = this._shouldShowField(a.name || "", !0);
|
|
62
|
+
if (!n) {
|
|
63
|
+
const c = [...l?.layers || [], ...l?.tables || []].find((h) => h.layerId === a.relatedTableId), d = c ? c.title : void 0;
|
|
64
|
+
d && this._shouldShowField(d, !0) && (a.name = d, n = !0);
|
|
65
|
+
}
|
|
66
|
+
if (!n) {
|
|
67
|
+
const r = a.keyField || `related_${p}`;
|
|
68
|
+
this._shouldShowField(r, !0) && (a.name = a.name || r, n = !0);
|
|
69
|
+
}
|
|
70
|
+
if (!e.some((r) => r.fieldName.toLowerCase() === a.name?.toLowerCase() ? (o = a.name, !0) : !1))
|
|
71
|
+
if (a.name) {
|
|
72
|
+
o = a.name;
|
|
73
|
+
const r = {
|
|
74
|
+
fieldName: o,
|
|
67
75
|
type: "relationship",
|
|
68
76
|
visible: !0
|
|
69
77
|
};
|
|
70
|
-
|
|
78
|
+
n = this._shouldShowField(o, !0), e.push(r);
|
|
71
79
|
} else {
|
|
72
|
-
const
|
|
73
|
-
let
|
|
74
|
-
if (
|
|
75
|
-
|
|
76
|
-
const
|
|
77
|
-
fieldName:
|
|
80
|
+
const r = [...l?.layers || [], ...l?.tables];
|
|
81
|
+
let c;
|
|
82
|
+
if (r.some((d) => d.layerId === a.relatedTableId ? (c = d, !0) : !1), c) {
|
|
83
|
+
o = c.title, a.name = o;
|
|
84
|
+
const d = {
|
|
85
|
+
fieldName: o,
|
|
78
86
|
type: "relationship",
|
|
79
87
|
visible: !0
|
|
80
88
|
};
|
|
81
|
-
|
|
89
|
+
n = this._shouldShowField(o, !0), e.push(d);
|
|
82
90
|
}
|
|
83
91
|
}
|
|
84
|
-
|
|
85
|
-
name:
|
|
86
|
-
alias: `Related ${
|
|
92
|
+
o && n && t.push({
|
|
93
|
+
name: o,
|
|
94
|
+
alias: `Related ${o}`,
|
|
87
95
|
type: "none",
|
|
88
|
-
description: `related:${
|
|
96
|
+
description: `related:${o}`
|
|
89
97
|
});
|
|
90
98
|
});
|
|
91
99
|
}
|
|
92
100
|
const i = this._fieldVisibilityPopoverNode ? this._fieldVisibilityPopoverNode : document.createElement("arcgis-field-pick-list");
|
|
93
101
|
i.layer = this.layer, i.fields = t, i.showFieldInfo = !0, i.showFieldName = !0, i.showDescription = !1, i.showSelectionAll = !0, i.hideCancel = !0, i.hideSort = !1, i.showFilterLength = 5, i.multiple = !0, i.heading = this._translations.fieldVisibility, i.okBtnText = this._translations.doneWithFieldChanges, i.filterPlaceholderText = this._translations.filterFields, i.sortBy = this._fieldSortOrder ?? "default";
|
|
94
|
-
const
|
|
95
|
-
i.selectedFields = e.reduce((
|
|
102
|
+
const m = this.table?.visibleColumns.map((l) => l.fieldName.startsWith("EsriFeatureTableRelationshipColumn") || l.fieldName.startsWith("EsriFeatureTableAttachmentsColumn") ? l.effectiveLabel : l.fieldName);
|
|
103
|
+
i.selectedFields = e.reduce((l, a) => ((m ? m.indexOf(a.fieldName) > -1 : a.visible) && l.push(a.fieldName), l), []), this._selectedFields = i.selectedFields, i.style.minHeight = "340px", i.popoverProps = {
|
|
96
104
|
refElement: this._fieldVisibilityActionNode,
|
|
97
105
|
popoverWidth: 300,
|
|
98
106
|
placement: "bottom-end",
|
|
99
107
|
offsetDistance: -20,
|
|
100
108
|
triggerDisabled: !1,
|
|
101
109
|
autoClose: !1
|
|
102
|
-
}, i.addEventListener("arcgisChange", (
|
|
103
|
-
|
|
104
|
-
const
|
|
105
|
-
|
|
106
|
-
const c = this.layer?.relationships?.map((
|
|
107
|
-
if (
|
|
108
|
-
const
|
|
109
|
-
|
|
110
|
-
} else c.indexOf(
|
|
111
|
-
|
|
112
|
-
}) : this.table.toggleColumnVisibility(
|
|
113
|
-
}), this._selectedFields =
|
|
114
|
-
}), i.addEventListener("arcgisSortByChange", (
|
|
115
|
-
|
|
110
|
+
}, i.addEventListener("arcgisChange", (l) => {
|
|
111
|
+
l.stopPropagation();
|
|
112
|
+
const a = l.detail.selectedFields, p = this._getDifference(a, this._selectedFields), o = this._getDifference(this._selectedFields, a);
|
|
113
|
+
p.concat(o).forEach((r) => {
|
|
114
|
+
const c = this.layer?.relationships?.map((d) => d.name) || [];
|
|
115
|
+
if (r === "Attachments") {
|
|
116
|
+
const d = this.table.columns.find((h) => "onShowAttachments" in h);
|
|
117
|
+
d.hidden = o.indexOf(r) > -1;
|
|
118
|
+
} else c.indexOf(r) > -1 ? this.table.columns.filter((h) => "relationshipId" in h).forEach((h) => {
|
|
119
|
+
o.indexOf(r) > -1, r == h.effectiveLabel && (h.hidden = o.indexOf(r) > -1);
|
|
120
|
+
}) : this.table.toggleColumnVisibility(r);
|
|
121
|
+
}), this._selectedFields = a, this._updateTable(this.table.tableTemplate);
|
|
122
|
+
}), i.addEventListener("arcgisSortByChange", (l) => {
|
|
123
|
+
l.stopPropagation(), this._fieldSortOrder = l.detail, this._sortFields(l.detail);
|
|
116
124
|
}), i.addEventListener("arcgisClose", () => {
|
|
117
125
|
this._closePopovers(), setTimeout(() => this._fieldVisibilityActionNode.setFocus(), 200);
|
|
118
126
|
}), document.body.appendChild(i), this._fieldVisibilityPopoverNode = i, setTimeout(() => document.addEventListener("click", this._fieldVisibilityPopoverClickHandler), 200);
|
|
119
127
|
}
|
|
120
128
|
}
|
|
121
129
|
_shouldShowField(e, t) {
|
|
122
|
-
return (this.configExtraFields || []).some((
|
|
130
|
+
return (this.configExtraFields || []).some((s) => t ? s.replace("related:", "").toUpperCase() === e.toUpperCase() : s.toUpperCase() === e.toUpperCase());
|
|
123
131
|
}
|
|
124
132
|
removeFieldsPickList() {
|
|
125
133
|
this._fieldVisibilityPopoverNode && (document.body.removeChild(this._fieldVisibilityPopoverNode), this._fieldVisibilityPopoverNode = void 0);
|
|
126
134
|
}
|
|
127
135
|
_sortFields(e) {
|
|
128
|
-
const t = this.table.tableTemplate.columnTemplates,
|
|
129
|
-
const
|
|
130
|
-
return
|
|
131
|
-
}),
|
|
132
|
-
this.tableRef.setColumnOrder([...
|
|
136
|
+
const t = this.table.tableTemplate.columnTemplates, s = this._getSortOrder(e), m = t.filter((a) => a.type !== "attachment" && a.type !== "relationship").sort((a, p) => {
|
|
137
|
+
const o = s.indexOf(a.fieldName), n = s.indexOf(p.fieldName);
|
|
138
|
+
return o === -1 && n !== -1 ? 1 : o !== -1 && n === -1 ? -1 : o === -1 && n === -1 ? 0 : o - n;
|
|
139
|
+
}), l = t.filter((a) => a.type === "attachment" || a.type === "relationship");
|
|
140
|
+
this.tableRef.setColumnOrder([...m, ...l]), this._updateTable(this.table.tableTemplate);
|
|
133
141
|
}
|
|
134
142
|
_getSortOrder(e) {
|
|
135
143
|
const t = [...this.layer.fields];
|
|
136
|
-
return e === "display" ? t.sort((
|
|
144
|
+
return e === "display" ? t.sort((s, i) => s.alias.localeCompare(i.alias)) : e === "field" ? t.sort((s, i) => s.name.localeCompare(i.name)) : e === "type" && t.sort((s, i) => s.type.localeCompare(i.type)), t.map((s) => s.name);
|
|
137
145
|
}
|
|
138
146
|
_getDifference(e, t) {
|
|
139
|
-
return e.filter((
|
|
147
|
+
return e.filter((s) => !t.includes(s));
|
|
140
148
|
}
|
|
141
149
|
_updateTable(e) {
|
|
142
150
|
this.table.tableTemplate = e, this._isStandardView() && this._syncAttributeTableTemplate();
|
|
@@ -144,13 +152,13 @@ class C extends T {
|
|
|
144
152
|
async _syncAttributeTableTemplate() {
|
|
145
153
|
const e = this.table.layer;
|
|
146
154
|
if (e.attributeTableTemplate) {
|
|
147
|
-
const { _modules: t } = this,
|
|
148
|
-
t?.attributeTableTemplateUtils.syncAttributeTableTemplate(this.table,
|
|
155
|
+
const { _modules: t } = this, s = e.attributeTableTemplate.clone();
|
|
156
|
+
t?.attributeTableTemplateUtils.syncAttributeTableTemplate(this.table, s), JSON.stringify(s) !== JSON.stringify(e.attributeTableTemplate) && (e.attributeTableTemplate = s);
|
|
149
157
|
}
|
|
150
158
|
if (e.attributeTableTemplate?.orderByFields?.length > 1) {
|
|
151
|
-
const t = e.attributeTableTemplate.clone(),
|
|
159
|
+
const t = e.attributeTableTemplate.clone(), s = this.table.activeSortOrders[0];
|
|
152
160
|
t.orderByFields = [
|
|
153
|
-
{ field:
|
|
161
|
+
{ field: s.fieldName, order: s.direction }
|
|
154
162
|
], e.attributeTableTemplate = t, this._syncColumnDirectionsWithOrderByFields();
|
|
155
163
|
}
|
|
156
164
|
}
|
|
@@ -169,10 +177,10 @@ class C extends T {
|
|
|
169
177
|
document.removeEventListener("click", this._fieldVisibilityPopoverClickHandler), this._fieldVisibilityPopoverNode && (document.body.removeChild(this._fieldVisibilityPopoverNode), this._fieldVisibilityPopoverNode = void 0);
|
|
170
178
|
}
|
|
171
179
|
_addTableTooltip(e, t) {
|
|
172
|
-
const
|
|
173
|
-
|
|
180
|
+
const s = document.createElement("calcite-tooltip");
|
|
181
|
+
s.className = "table-tooltip", s.referenceElement = e, s.placement = "trailing-start", s.open = !0;
|
|
174
182
|
const i = document.createElement("div");
|
|
175
|
-
i.className = "tooltip", i.innerHTML = t,
|
|
183
|
+
i.className = "tooltip", i.innerHTML = t, s.append(i), document.body.append(s);
|
|
176
184
|
}
|
|
177
185
|
_removeTableTooltip() {
|
|
178
186
|
document.querySelectorAll(".table-tooltip").forEach((e) => e.parentNode?.removeChild(e));
|
|
@@ -188,8 +196,8 @@ class C extends T {
|
|
|
188
196
|
_hasAttachmentsEnabled(e) {
|
|
189
197
|
if (!e?.capabilities)
|
|
190
198
|
return !1;
|
|
191
|
-
const { capabilities: { data: { supportsAttachment: t }, operations: { supportsQueryAttachments:
|
|
192
|
-
return t &&
|
|
199
|
+
const { capabilities: { data: { supportsAttachment: t }, operations: { supportsQueryAttachments: s } } } = e;
|
|
200
|
+
return t && s;
|
|
193
201
|
}
|
|
194
202
|
}
|
|
195
203
|
f("field-selection", C);
|
|
@@ -20,6 +20,7 @@ export abstract class InfoCard extends LitElement {
|
|
|
20
20
|
back: string;
|
|
21
21
|
indexOfTotal: string;
|
|
22
22
|
delete: string;
|
|
23
|
+
toggleListView: string;
|
|
23
24
|
} & T9nMeta<{
|
|
24
25
|
fetchingData: string;
|
|
25
26
|
edit: string;
|
|
@@ -29,6 +30,7 @@ export abstract class InfoCard extends LitElement {
|
|
|
29
30
|
back: string;
|
|
30
31
|
indexOfTotal: string;
|
|
31
32
|
delete: string;
|
|
33
|
+
toggleListView: string;
|
|
32
34
|
}>;
|
|
33
35
|
/**
|
|
34
36
|
* boolean: If true will show edit button
|
|
@@ -85,7 +85,7 @@ class E extends v {
|
|
|
85
85
|
}
|
|
86
86
|
render() {
|
|
87
87
|
const e = this.isLoading ? "" : "display-none", t = this.isLoading || this._editRecordOpen ? "visibility-hidden" : "position-absolute", a = !this.isLoading && this._editRecordOpen ? "position-absolute" : "display-none", n = !this.isLoading && this._editRecordOpen || this._showListView ? "display-none" : "", o = this._features?.features && this._features.features.length < 2 || this._navigatedToRelatedFeature, h = Number(this._features?.selectedFeature?.getObjectId()), p = Number.isNaN(h) ? [] : [h], c = this._layer?.editingEnabled && this._layer?.capabilities?.operations?.supportsDelete, u = this._relatedFeature ? [this._relatedFeature] : this.graphics, _ = this._navigatedToRelatedFeature ? 0 : this._features?.selectedFeatureIndex, l = this.isMobile ? "display-none" : "";
|
|
88
|
-
return s`<calcite-shell class="z-index-1" style=${$({ position: this.position })}>${this._getHeader()}<calcite-loader class=${i(e)} .label=${this._translations.fetchingData}></calcite-loader><div class=${i("esri-widget feature-node " + t)} id=${this._featuresNodeId ?? m}></div><div class=${`${n} width-100`} slot=footer>${this.allowEditing ? s`<div class="display-flex top-border padding-1-2"><calcite-button appearance=solid id=solutions-edit @click=${() => this._openEditRecord()} width=full>${this._translations.edit}</calcite-button>${this.isMobile && c ? s`<delete-button class="padding-inline-start-1 width-100" id=solutions-delete .ids=${p} .layer=${this._layer} @editsComplete=${() => this._closePopup()}></delete-button>` : void 0}<calcite-tooltip class=${i(l)} placement=bottom reference-element=solutions-edit><span>${this._translations.edit}</span></calcite-tooltip>${this.isMobile && c ? s`<calcite-tooltip class=${i(l)} placement=bottom reference-element=solutions-delete><span>${this._translations.delete}</span></calcite-tooltip>` : void 0}</div>` : ""}${this.paginationEnabled && !o && s`<div class=${"display-flex padding-1-2 button-container top-border"}><div><calcite-button appearance=transparent .disabled=${o} icon-flip-rtl=both icon-start=chevron-left id=solutions-back @click=${() => this._back()} width=full></calcite-button><calcite-tooltip class=${i(l)} placement=top reference-element=solutions-back><span>${this._translations.back}</span></calcite-tooltip></div><calcite-action appearance=solid class="pagination-action" icon-flip-rtl @click=${() => this._toggleListView()} scale=s text text-enabled><span class="pagination-count">${this._count}</span></calcite-action><div><calcite-button appearance=transparent .disabled=${o} icon-flip-rtl=both icon-start=chevron-right id=solutions-next @click=${() => this._next()} width=full></calcite-button><calcite-tooltip class=${i(l)} placement=top reference-element=solutions-next><span>${this._translations.next}</span></calcite-tooltip></div></div>` || ""}</div><edit-card .allowMultipleEditing=${this._isMultipleEdits} class=${i(a)} .enableEditGeometry=${this.enableEditGeometry} .enableSnapping=${this.enableSnapping} .graphicIndex=${_} .graphics=${u} .mapView=${this.mapView} .open=${this._editRecordOpen}></edit-card><calcite-alert auto-close icon=layer-broken kind=warning label @calciteAlertClose=${() => this._alertClosed()} .open=${this._alertOpen} placement=top><div slot=title>${this._translations.editDisabled}</div><div slot=message>${this._translations.enableEditing}</div></calcite-alert></calcite-shell>`;
|
|
88
|
+
return s`<calcite-shell class="z-index-1" style=${$({ position: this.position })}>${this._getHeader()}<calcite-loader class=${i(e)} .label=${this._translations.fetchingData}></calcite-loader><div class=${i("esri-widget feature-node " + t)} id=${this._featuresNodeId ?? m}></div><div class=${`${n} width-100`} slot=footer>${this.allowEditing ? s`<div class="display-flex top-border padding-1-2"><calcite-button appearance=solid id=solutions-edit @click=${() => this._openEditRecord()} width=full>${this._translations.edit}</calcite-button>${this.isMobile && c ? s`<delete-button class="padding-inline-start-1 width-100" id=solutions-delete .ids=${p} .layer=${this._layer} @editsComplete=${() => this._closePopup()}></delete-button>` : void 0}<calcite-tooltip class=${i(l)} placement=bottom reference-element=solutions-edit><span>${this._translations.edit}</span></calcite-tooltip>${this.isMobile && c ? s`<calcite-tooltip class=${i(l)} placement=bottom reference-element=solutions-delete><span>${this._translations.delete}</span></calcite-tooltip>` : void 0}</div>` : ""}${this.paginationEnabled && !o && s`<div class=${"display-flex padding-1-2 button-container top-border"}><div><calcite-button appearance=transparent .disabled=${o} icon-flip-rtl=both icon-start=chevron-left id=solutions-back @click=${() => this._back()} width=full></calcite-button><calcite-tooltip class=${i(l)} placement=top reference-element=solutions-back><span>${this._translations.back}</span></calcite-tooltip></div><calcite-action appearance=solid class="pagination-action" icon-flip-rtl @click=${() => this._toggleListView()} scale=s .text=${this._translations.toggleListView} text-enabled><span class="pagination-count">${this._count}</span></calcite-action><div><calcite-button appearance=transparent .disabled=${o} icon-flip-rtl=both icon-start=chevron-right id=solutions-next @click=${() => this._next()} width=full></calcite-button><calcite-tooltip class=${i(l)} placement=top reference-element=solutions-next><span>${this._translations.next}</span></calcite-tooltip></div></div>` || ""}</div><edit-card .allowMultipleEditing=${this._isMultipleEdits} class=${i(a)} .enableEditGeometry=${this.enableEditGeometry} .enableSnapping=${this.enableSnapping} .graphicIndex=${_} .graphics=${u} .mapView=${this.mapView} .open=${this._editRecordOpen}></edit-card><calcite-alert auto-close icon=layer-broken kind=warning label @calciteAlertClose=${() => this._alertClosed()} .open=${this._alertOpen} placement=top><div slot=title>${this._translations.editDisabled}</div><div slot=message>${this._translations.enableEditing}</div></calcite-alert></calcite-shell>`;
|
|
89
89
|
}
|
|
90
90
|
async setGraphics() {
|
|
91
91
|
this._features || await this._initFeaturesWidget(), this.graphics.length > 0 ? (this._layer = this.graphics[0]?.layer, this._editEnabled = !!(this._layer.editingEnabled && this._layer.capabilities?.operations.supportsUpdate), this._mobileTitle = this.mapView?.map && await this._popupUtils?.getPopupTitle(this.graphics[0], this.mapView.map) || "", this._features?.open({
|
|
@@ -108,7 +108,7 @@ class I extends u {
|
|
|
108
108
|
const i = this._layerItemsHash && this._layerItemsHash[t].name, e = this._layerItemsHash && this._layerItemsHash[t].formattedFeatureCount;
|
|
109
109
|
return a`<calcite-list-item @calciteListItemSelect=${() => {
|
|
110
110
|
this.onLayerItemSelected(t);
|
|
111
|
-
}}><div class="layer-name" slot=content-start>${i}</div>${this.showFeatureCount && e !== void 0 && e !== "" && a`<div class="feature-count" slot=content-end>${`(${e})`}</div>` || ""}${this.showNextIcon && a`<calcite-icon flip-rtl icon=chevron-right scale=s slot=content-end></calcite-icon>` || ""}</calcite-list-item>`;
|
|
111
|
+
}}><div class="layer-name" slot=content-start>${i}</div>${this.showFeatureCount && e !== void 0 && e !== "" && a`<div class="feature-count" slot=content-end>${`(${e})`}</div>` || ""}${this.showNextIcon && a`<calcite-icon aria-hidden=true flip-rtl icon=chevron-right scale=s slot=content-end></calcite-icon>` || ""}</calcite-list-item>`;
|
|
112
112
|
}
|
|
113
113
|
getExtentNotice() {
|
|
114
114
|
return a`<calcite-notice class="notice-msg" icon=extent-filter kind=brand open scale=s><div slot=message>${this._translations.extentFilterMsg}</div></calcite-notice>`;
|
|
@@ -428,7 +428,7 @@ class M extends C {
|
|
|
428
428
|
}
|
|
429
429
|
_getDangerAction(e, t, i, s) {
|
|
430
430
|
const a = this._layer === void 0 ? !0 : s;
|
|
431
|
-
return o`<div class="display-flex" id=${this._getId(e) ?? c}>${o`<calcite-action appearance=solid .disabled=${a} .id=${`layer-table-${e}`} @click=${i} text><calcite-icon class="danger-icon-color" .icon=${e} scale=s></calcite-icon><span class="label-override padding-start-1-4 danger-label-color">${t}</span></calcite-action>`}${this._getToolTip("bottom", `layer-table-${e}`, t)}</div>`;
|
|
431
|
+
return o`<div class="display-flex" id=${this._getId(e) ?? c}>${o`<calcite-action appearance=solid .disabled=${a} .id=${`layer-table-${e}`} @click=${i} .text=${t}><calcite-icon aria-hidden=true class="danger-icon-color" .icon=${e} scale=s></calcite-icon><span class="label-override padding-start-1-4 danger-label-color">${t}</span></calcite-action>`}${this._getToolTip("bottom", `layer-table-${e}`, t)}</div>`;
|
|
432
432
|
}
|
|
433
433
|
_getIds() {
|
|
434
434
|
let e = this._relatedFeatureTable ?? this._table;
|
|
@@ -3,17 +3,17 @@ import { c as m } from "../../chunks/runtime.js";
|
|
|
3
3
|
import { g as y, d as b, f } from "../../chunks/mapViewUtils.js";
|
|
4
4
|
import { u as _ } from "../../chunks/useT9n.js";
|
|
5
5
|
import { css as u, html as i, nothing as l } from "lit";
|
|
6
|
-
import { createRef as
|
|
6
|
+
import { createRef as d, ref as o } from "lit-html/directives/ref.js";
|
|
7
7
|
import { LitElement as g, createEvent as n, noShadowRoot as L, safeStyleMap as c, safeClassMap as p } from "@arcgis/lumina";
|
|
8
8
|
import { useContextConsumer as w } from "@arcgis/lumina/context";
|
|
9
9
|
import { p as v } from "../../chunks/publicNotificationContext.js";
|
|
10
10
|
const I = u`@layer{:host{display:block}.map-layer-picker-container{width:100%;align-items:center}.map-layer-picker{position:relative;width:100%;display:inline-block}.padding-bottom-1{padding-bottom:1rem}.layer-picker-dropdown{height:100%;width:100%}.max-width-350{max-width:350px}.height-100{height:100%}.disabled{cursor:default!important;user-select:none;opacity:var(--calcite-opacity-disabled);pointer-events:none}.no-bottom-margin{--calcite-label-margin-bottom: 0px}.layer-picker-label-container{align-items:center;display:inline-flex;height:100%;padding-inline-start:1rem;padding-inline-end:1rem}.padding-start-1{padding-inline-start:1rem}.cursor-default{cursor:default}.popover-list{overflow:auto;width:250px}}`;
|
|
11
11
|
class $ extends g {
|
|
12
12
|
constructor() {
|
|
13
|
-
super(), this.appearance = "transparent", this.configLayerOrderDefined = !1, this.defaultLayerId = "", this.disabled = !1, this.display = "inline-block", this.enabledLayerIds = [], this.isMobile = !1, this.showOnlyUpdatableLayers = !1, this.selectedIds = [], this.scale = "m", this.showTables = !1, this.showTablesDisabled = !1, this.showSingleLayerAsLabel = !1, this.type = "select", this.showLayersListInPopover = !1, this.referenceElement = "", this.force = !1, this._hasMultipleLayers = !0, this._hasValidLayers = !0, this._isDropdownOpen = !1, this.ids = [], this.selectedName = "", this._translations = _({ name: "map-layer-picker", blocking: !0 }), this.defaultLayerHonored = !1, this._layerSelectElement =
|
|
13
|
+
super(), this.appearance = "transparent", this.configLayerOrderDefined = !1, this.defaultLayerId = "", this.disabled = !1, this.display = "inline-block", this.enabledLayerIds = [], this.isMobile = !1, this.showOnlyUpdatableLayers = !1, this.selectedIds = [], this.scale = "m", this.showTables = !1, this.showTablesDisabled = !1, this.showSingleLayerAsLabel = !1, this.type = "select", this.showLayersListInPopover = !1, this.referenceElement = "", this.force = !1, this._hasMultipleLayers = !0, this._hasValidLayers = !0, this._isDropdownOpen = !1, this.ids = [], this.selectedName = "", this._translations = _({ name: "map-layer-picker", blocking: !0 }), this.defaultLayerHonored = !1, this._layerSelectElement = d(), this._layerComboboxElement = d(), this._pnContextConsumer = w({
|
|
14
14
|
context: v,
|
|
15
15
|
subscribe: !0
|
|
16
|
-
}), this._skipEditCheck = !1, this._popover =
|
|
16
|
+
}), this._skipEditCheck = !1, this._popover = d(), this.beforeLayerSelectionChange = n(), this.idsFound = n(), this.noLayersFound = n(), this.layerSelectionChange = n(), this.listenOn(window, "mapChanged", this.mapChanged);
|
|
17
17
|
}
|
|
18
18
|
static {
|
|
19
19
|
this.properties = { appearance: 1, configLayerOrderDefined: 5, defaultLayerId: 1, disabled: 5, display: 1, enabledLayerIds: 0, height: 9, isMobile: 5, mapView: 0, showOnlyUpdatableLayers: 5, placeholderIcon: 1, selectedIds: 0, scale: 1, showTables: 5, showTablesDisabled: 5, showSingleLayerAsLabel: 5, type: 1, showLayersListInPopover: 5, referenceElement: 1, force: 16, _hasMultipleLayers: 16, _hasValidLayers: 16, _isDropdownOpen: 16, ids: 16, selectedName: 16, _translations: 16 };
|
|
@@ -74,26 +74,26 @@ class $ extends g {
|
|
|
74
74
|
}
|
|
75
75
|
_getMapLayerPopOver() {
|
|
76
76
|
const e = this.height && this.height > 0 ? { "max-height": `${this.height.toString()}px` } : {};
|
|
77
|
-
return i`<calcite-popover auto-close focus-trap-disabled .label=${this.referenceElement} placement=left .referenceElement=${this.referenceElement} scale=s ${
|
|
77
|
+
return i`<calcite-popover auto-close focus-trap-disabled .label=${this.referenceElement} placement=left .referenceElement=${this.referenceElement} scale=s ${o(this._popover)}><div class=popover-list style=${c(e)}>${this._getMapLayerOptions()}</div></calcite-popover>`;
|
|
78
78
|
}
|
|
79
79
|
_getInvalidPlaceholder() {
|
|
80
80
|
return i`<div><calcite-notice class="height-100" icon=exclamation-mark-triangle id=no-valid-layers kind=danger open><div slot=message>${this._translations.noLayersFound}</div></calcite-notice><calcite-tooltip .label=${this._translations.enableEditUpdate} placement=bottom reference-element=no-valid-layers><span>${this._translations.enableEditUpdate}</span></calcite-tooltip></div>`;
|
|
81
81
|
}
|
|
82
82
|
_getSingleLayerPlaceholder() {
|
|
83
83
|
const e = this._getItemTypeIcon();
|
|
84
|
-
return i`<div class="layer-picker-label-container cursor-default"><calcite-icon .icon=${e} scale=s></calcite-icon><calcite-label class="no-bottom-margin padding-start-1">${this.selectedName}</calcite-label></div>`;
|
|
84
|
+
return i`<div class="layer-picker-label-container cursor-default"><calcite-icon aria-hidden=true .icon=${e} scale=s></calcite-icon><calcite-label class="no-bottom-margin padding-start-1">${this.selectedName}</calcite-label></div>`;
|
|
85
85
|
}
|
|
86
86
|
_getSelect(e) {
|
|
87
|
-
return i`<calcite-select .disabled=${this.disabled} id=${e ?? l} label @calciteSelectChange=${() => this._layerSelectionChange()} .scale=${this.scale} ${
|
|
87
|
+
return i`<calcite-select .disabled=${this.disabled} id=${e ?? l} label @calciteSelectChange=${() => this._layerSelectionChange()} .scale=${this.scale} ${o(this._layerElement)}>${this._getMapLayerOptions()}</calcite-select>`;
|
|
88
88
|
}
|
|
89
89
|
_getCombobox(e) {
|
|
90
|
-
return i`<calcite-combobox clear-disabled id=${e ?? l} label @calciteComboboxChange=${() => this._layerSelectionChange()} .placeholderIcon=${this.placeholderIcon} .scale=${this.scale} selection-mode=single ${
|
|
90
|
+
return i`<calcite-combobox clear-disabled id=${e ?? l} label @calciteComboboxChange=${() => this._layerSelectionChange()} .placeholderIcon=${this.placeholderIcon} .scale=${this.scale} selection-mode=single ${o(this._layerElement)}>${this._getMapLayerOptions()}</calcite-combobox>`;
|
|
91
91
|
}
|
|
92
92
|
_getDropdown(e) {
|
|
93
93
|
return i`<calcite-dropdown class="layer-picker-dropdown" @calciteDropdownBeforeClose=${() => this._isDropdownOpen = !1} @calciteDropdownBeforeOpen=${() => this._isDropdownOpen = !0}>${this.isMobile ? this._getDropdownButton() : this._getActionDropdownButton(e)}<calcite-dropdown-group selection-mode=single>${this._getMapLayerOptions()}</calcite-dropdown-group></calcite-dropdown>`;
|
|
94
94
|
}
|
|
95
95
|
_getActionDropdownButton(e) {
|
|
96
|
-
return i`<calcite-action id=${e ?? l} slot=trigger text>${this._getDropdownButton()}</calcite-action>`;
|
|
96
|
+
return i`<calcite-action id=${e ?? l} slot=trigger .text=${this.selectedName}>${this._getDropdownButton()}</calcite-action>`;
|
|
97
97
|
}
|
|
98
98
|
_getDropdownButton() {
|
|
99
99
|
const e = this._getItemTypeIcon(), t = this.isMobile ? "" : "max-width-350", s = this.isMobile ? "trigger" : "", a = this._isDropdownOpen ? "chevron-up" : "chevron-down";
|
|
@@ -10,7 +10,13 @@ export abstract class MapPicker extends LitElement {
|
|
|
10
10
|
*
|
|
11
11
|
* @internal
|
|
12
12
|
*/
|
|
13
|
-
protected _translations: {
|
|
13
|
+
protected _translations: {
|
|
14
|
+
switchMap: string;
|
|
15
|
+
mapList: string;
|
|
16
|
+
} & T9nMeta<{
|
|
17
|
+
switchMap: string;
|
|
18
|
+
mapList: string;
|
|
19
|
+
}>;
|
|
14
20
|
/**
|
|
15
21
|
* number: optional fixed height value for the control.
|
|
16
22
|
* Specified as pixel height.
|
|
@@ -73,11 +73,11 @@ class _ extends f {
|
|
|
73
73
|
}
|
|
74
74
|
_getMapNameList(t) {
|
|
75
75
|
const e = this.showMapListInPopover ? "position-relative" : "position-absolute", i = this.isMapLayout ? "max-width-200 min-width-150" : "width-full", a = this.isMapLayout ? "border-bottom-1" : "border-bottom-2", l = t ? `map-list border-solid ${a} adjusted-height ${i} ${e}` : "display-none";
|
|
76
|
-
return s`<div class=${d(l)}><calcite-list id=mapList label selection-appearance=border selection-mode=single-persist ${r(this._list)}>${this.mapInfos.map((o) => s`<calcite-list-item .label=${o.name} @click=${() => this._webMapSelected(o)} .selected=${o.id === this._loadedId} .value=${o.id}></calcite-list-item>`)}</calcite-list></div>`;
|
|
76
|
+
return s`<div class=${d(l)}><calcite-list id=mapList .label=${this._translations.mapList} selection-appearance=border selection-mode=single-persist ${r(this._list)}>${this.mapInfos.map((o) => s`<calcite-list-item .label=${o.name} @click=${() => this._webMapSelected(o)} .selected=${o.id === this._loadedId} .value=${o.id}></calcite-list-item>`)}</calcite-list></div>`;
|
|
77
77
|
}
|
|
78
78
|
_getMapListPopover() {
|
|
79
79
|
const t = this.height && this.height > 0 && this.showMapListInPopover ? { "max-height": `${this.height.toString()}px` } : {};
|
|
80
|
-
return s`<calcite-popover auto-close
|
|
80
|
+
return s`<calcite-popover auto-close .label=${this._translations.mapList} placement=left .referenceElement=${this.referenceElement} ${r(this._popover)}><div style=${b(t)} class=popover-map-list>${this._getMapNameList(!0)}</div></calcite-popover>`;
|
|
81
81
|
}
|
|
82
82
|
_getWebMapInfo() {
|
|
83
83
|
let t = this.mapInfos.find((e) => this.selectedWebMapId === e.id);
|
|
@@ -88,14 +88,14 @@ class U extends I {
|
|
|
88
88
|
_getBufferOptions() {
|
|
89
89
|
this.enableSearchDistanceOnLoad && (this.searchDistanceEnabled = !0, this.enableSearchDistanceOnLoad = !1);
|
|
90
90
|
const e = this.searchDistanceEnabled ? "search-distance" : "div-not-visible", t = typeof this.selectionSet?.distance == "number" ? this.selectionSet.distance : this.defaultBufferDistance;
|
|
91
|
-
return c`<div><div class="padding-top-1 display-flex"><calcite-label class="label-margin-0 w-100" layout=inline-space-between><div class="tooltip-container">${this._translations.searchDistance}<calcite-icon class="padding-start-1-2 icon" .flipRtl=${this._translations._lang?.toLowerCase() !== "he"} icon=question id=search-distance-icon scale=s></calcite-icon></div></calcite-label><calcite-popover closable label overlay-positioning=fixed reference-element=search-distance-icon><span class="tooltip-message">${this._translations.useSearchDistanceTootip}</span></calcite-popover><calcite-switch .checked=${this.searchDistanceEnabled} @calciteSwitchChange=${() => this.searchDistanceEnabled = !this.searchDistanceEnabled}></calcite-switch></div><div class=${f(e)}><buffer-tools .disabled=${!this.searchDistanceEnabled} .distance=${t} .geometries=${this.geometries} @bufferComplete=${(s) => {
|
|
91
|
+
return c`<div><div class="padding-top-1 display-flex"><calcite-label class="label-margin-0 w-100" layout=inline-space-between><div class="tooltip-container">${this._translations.searchDistance}<calcite-icon aria-hidden=true class="padding-start-1-2 icon" .flipRtl=${this._translations._lang?.toLowerCase() !== "he"} icon=question id=search-distance-icon scale=s></calcite-icon></div></calcite-label><calcite-popover closable label overlay-positioning=fixed reference-element=search-distance-icon><span class="tooltip-message">${this._translations.useSearchDistanceTootip}</span></calcite-popover><calcite-switch .checked=${this.searchDistanceEnabled} @calciteSwitchChange=${() => this.searchDistanceEnabled = !this.searchDistanceEnabled}></calcite-switch></div><div class=${f(e)}><buffer-tools .disabled=${!this.searchDistanceEnabled} .distance=${t} .geometries=${this.geometries} @bufferComplete=${(s) => {
|
|
92
92
|
this._bufferComplete(s);
|
|
93
93
|
}} .unit=${this.selectionSet?.unit || this.defaultBufferUnit} ${u(this._bufferTools)}></buffer-tools></div></div>`;
|
|
94
94
|
}
|
|
95
95
|
_getUseLayerFeaturesOptions() {
|
|
96
96
|
this.enableLayerFeaturesOnLoad && (this.useLayerFeaturesEnabled = !0, this.enableLayerFeaturesOnLoad = !1);
|
|
97
97
|
const e = this.useLayerFeaturesEnabled ? "div-visible" : "div-not-visible";
|
|
98
|
-
return c`<div><div class="padding-top-1 display-flex"><calcite-label class="label-margin-0 w-100" layout=inline-space-between><div class="tooltip-container">${this._translations.useLayerFeatures}<calcite-icon class="padding-start-1-2 icon" .flipRtl=${this._translations._lang?.toLowerCase() !== "he"} icon=question id=use-layer-features-icon scale=s></calcite-icon></div></calcite-label><calcite-popover closable label overlay-positioning=fixed reference-element=use-layer-features-icon><span class="tooltip-message">${this._translations.useLayerFeaturesTooltip}</span></calcite-popover><calcite-switch .checked=${this.useLayerFeaturesEnabled} @calciteSwitchChange=${() => {
|
|
98
|
+
return c`<div><div class="padding-top-1 display-flex"><calcite-label class="label-margin-0 w-100" layout=inline-space-between><div class="tooltip-container">${this._translations.useLayerFeatures}<calcite-icon aria-hidden=true class="padding-start-1-2 icon" .flipRtl=${this._translations._lang?.toLowerCase() !== "he"} icon=question id=use-layer-features-icon scale=s></calcite-icon></div></calcite-label><calcite-popover closable label overlay-positioning=fixed reference-element=use-layer-features-icon><span class="tooltip-message">${this._translations.useLayerFeaturesTooltip}</span></calcite-popover><calcite-switch .checked=${this.useLayerFeaturesEnabled} @calciteSwitchChange=${() => {
|
|
99
99
|
this._useLayerFeaturesEnabledChanged();
|
|
100
100
|
}}></calcite-switch></div><div class=${`${e} padding-top-1`}><map-layer-picker .enabledLayerIds=${this.selectionLayerIds} .mapView=${this.mapView} @layerSelectionChange=${(t) => {
|
|
101
101
|
this._layerSelectionChange(t);
|
|
@@ -103,7 +103,7 @@ class U extends I {
|
|
|
103
103
|
}
|
|
104
104
|
_getNumSelected() {
|
|
105
105
|
const e = this._translations._lang === "en" ? `${this._translations.selectionLoading}...` : this._translations.selectionLoading;
|
|
106
|
-
return c`<div class="padding-top-1 padding-bottom-1" style=${O({ "align-items": "end", display: "flex" })}>${this._selectionLoading ? c`<div><calcite-loader class="info-blue padding-end-1-2" inline .label=${e || ""} scale=m type=indeterminate></calcite-loader></div>` : c`<calcite-icon class="info-blue padding-end-1-2" icon=feature-layer scale=s></calcite-icon>`}<calcite-input-message class="info-blue" scale=m>${this._selectionLoading ? e : this.noResultText && this._numSelected === 0 ? this.noResultText : this._translations.selectedFeatures.replace("{{n}}", this._numSelected.toString())}</calcite-input-message></div>`;
|
|
106
|
+
return c`<div class="padding-top-1 padding-bottom-1" style=${O({ "align-items": "end", display: "flex" })}>${this._selectionLoading ? c`<div><calcite-loader class="info-blue padding-end-1-2" inline .label=${e || ""} scale=m type=indeterminate></calcite-loader></div>` : c`<calcite-icon aria-hidden=true class="info-blue padding-end-1-2" icon=feature-layer scale=s></calcite-icon>`}<calcite-input-message class="info-blue" scale=m>${this._selectionLoading ? e : this.noResultText && this._numSelected === 0 ? this.noResultText : this._translations.selectedFeatures.replace("{{n}}", this._numSelected.toString())}</calcite-input-message></div>`;
|
|
107
107
|
}
|
|
108
108
|
_getNameInput() {
|
|
109
109
|
const e = this.customLabelEnabled ? "" : "display-none";
|
|
@@ -170,7 +170,7 @@ class M extends F {
|
|
|
170
170
|
}
|
|
171
171
|
_getActionGroup(s, e, t, o, l, i) {
|
|
172
172
|
const c = this.mapWidgetsSize === "s" ? "square-32" : this.mapWidgetsSize === "m" ? "square-40" : "square-48", d = this.stackTools ? "" : "margin-bottom-1-2", p = this.stackTools ? "" : "box-shadow";
|
|
173
|
-
return r`<div><calcite-action alignment=center appearance=solid .indicator=${i} class=${`map-actions ${c} ${d} border-bottom ${p} ${l ? "danger-icon-color" : ""}`} .disabled=${e} .icon=${s} id=${s ?? f} @click=${o} scale=s text ${h(this._mapTool)}><calcite-icon icon=chevron-up scale=s slot=icon></calcite-icon></calcite-action>${!this.isMobile && t && r`<calcite-tooltip .placement=${this.layout === "vertical" ? "auto" : "bottom"} reference-element=${s ?? f}><span>${t}</span></calcite-tooltip>` || ""}</div>`;
|
|
173
|
+
return r`<div><calcite-action alignment=center appearance=solid .indicator=${i} class=${`map-actions ${c} ${d} border-bottom ${p} ${l ? "danger-icon-color" : ""}`} .disabled=${e} .icon=${s} id=${s ?? f} @click=${o} scale=s .text=${t} ${h(this._mapTool)}><calcite-icon aria-hidden=true icon=chevron-up scale=s slot=icon></calcite-icon></calcite-action>${!this.isMobile && t && r`<calcite-tooltip .placement=${this.layout === "vertical" ? "auto" : "bottom"} reference-element=${s ?? f}><span>${t}</span></calcite-tooltip>` || ""}</div>`;
|
|
174
174
|
}
|
|
175
175
|
_getWidget(s, e, t) {
|
|
176
176
|
if (this._widgets.indexOf(s) < 0 && this.mapView && e) {
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import { c as s } from "../../chunks/runtime.js";
|
|
3
3
|
import { css as d, html as l } from "lit";
|
|
4
4
|
import { b as c } from "../../chunks/pciUtils.js";
|
|
5
|
-
import { createRef as o, ref as
|
|
6
|
-
import { LitElement as
|
|
5
|
+
import { createRef as o, ref as u } from "lit-html/directives/ref.js";
|
|
6
|
+
import { LitElement as n, safeClassMap as a } from "@arcgis/lumina";
|
|
7
7
|
const r = d`:host{display:block;--calcite-label-margin-bottom: 0}.label-display{display:block;padding-bottom:1rem}.display-flex{display:flex}.display-grid{display:grid}.display-none{display:none}.padding-top-1{padding-top:1rem}.main-input{width:300px;padding-inline-end:1rem}.float-end{float:inline-end}.position-relative{position:relative}.position-right{position:absolute;right:0}`;
|
|
8
|
-
class p extends
|
|
8
|
+
class p extends n {
|
|
9
9
|
constructor() {
|
|
10
10
|
super(...arguments), this.showAddDeduct = !1, this._deductValuesElement = o();
|
|
11
11
|
}
|
|
@@ -17,10 +17,10 @@ class p extends u {
|
|
|
17
17
|
}
|
|
18
18
|
render() {
|
|
19
19
|
const e = this.showAddDeduct ? "display-none" : "display-grid", t = this.showAddDeduct ? "position-relative" : "display-none";
|
|
20
|
-
return l`<div class=${a(e)}><div class="label-display"><calcite-label class="label-display">\r\n Enter comma delimited deduct values${this._getDeductValuesInput()}</calcite-label></div><div>${this._getCalculateButton()}</div></div><div class=${a(t)}><div class="position-right"><calcite-action appearance=transparent class="float-end" icon=x @click=${() => this._toggleShowAddDeduct()} scale=s text></calcite-action></div><deduct-calculator class="display-grid padding-top-1" @deductValueComplete=${this._addDeductValue}></deduct-calculator></div>`;
|
|
20
|
+
return l`<div class=${a(e)}><div class="label-display"><calcite-label class="label-display">\r\n Enter comma delimited deduct values${this._getDeductValuesInput()}</calcite-label></div><div>${this._getCalculateButton()}</div></div><div class=${a(t)}><div class="position-right"><calcite-action appearance=transparent class="float-end" icon=x @click=${() => this._toggleShowAddDeduct()} scale=s text=Close></calcite-action></div><deduct-calculator class="display-grid padding-top-1" @deductValueComplete=${this._addDeductValue}></deduct-calculator></div>`;
|
|
21
21
|
}
|
|
22
22
|
_getDeductValuesInput() {
|
|
23
|
-
return l`<div class="display-flex"><calcite-input class="main-input" ${
|
|
23
|
+
return l`<div class="display-flex"><calcite-input class="main-input" ${u(this._deductValuesElement)}></calcite-input><calcite-action appearance=transparent icon=plus-circle @click=${() => this._toggleShowAddDeduct()} scale=s text="Add deduct value"></calcite-action></div>`;
|
|
24
24
|
}
|
|
25
25
|
_getCalculateButton() {
|
|
26
26
|
return this._deductValuesElement.value ? l`<calcite-button @click=${() => this._calculatePCI(this._deductValuesElement?.value?.value || "")}>\r\n Calculate PCI</calcite-button>` : void 0;
|
|
@@ -224,7 +224,7 @@ class y extends P {
|
|
|
224
224
|
return b(a, i, r, e, l, t);
|
|
225
225
|
}
|
|
226
226
|
render() {
|
|
227
|
-
return s`<calcite-select .disabled=${this.disabled} label ${m(this._labelInfoElement)}>${this._renderOptions()}</calcite-select>`;
|
|
227
|
+
return s`<calcite-select .disabled=${this.disabled} label="Label format" ${m(this._labelInfoElement)}>${this._renderOptions()}</calcite-select>`;
|
|
228
228
|
}
|
|
229
229
|
_getLabelSizeText(a) {
|
|
230
230
|
const i = a.descriptionPDF.labelsPerPageDisplay, e = a.descriptionPDF.labelWidthDisplay + " x " + a.descriptionPDF.labelHeightDisplay;
|
|
@@ -134,7 +134,7 @@ class ce extends Y {
|
|
|
134
134
|
const s = this.showRefineSelection ? "w-1-3" : "w-1-2";
|
|
135
135
|
return l`<calcite-action-group class=${x(s)} layout=horizontal><div class="background-override"><calcite-action .active=${this._pageType === t} alignment=center class="width-full height-full" .icon=${e} id=${e ?? k} @click=${() => {
|
|
136
136
|
this._setPageType(t);
|
|
137
|
-
}} style=${Z(this._pageType === t ? "background-color: var(--calcite-color-brand)" : "")} text></calcite-action></div><calcite-tooltip placement=bottom .referenceElement=${e}><span>${i}</span></calcite-tooltip></calcite-action-group>`;
|
|
137
|
+
}} style=${Z(this._pageType === t ? "background-color: var(--calcite-color-brand)" : "")} .text=${i}></calcite-action></div><calcite-tooltip placement=bottom .referenceElement=${e}><span>${i}</span></calcite-tooltip></calcite-action-group>`;
|
|
138
138
|
}
|
|
139
139
|
_setPageType(e) {
|
|
140
140
|
this._pageType = e;
|
|
@@ -164,7 +164,7 @@ class ce extends Y {
|
|
|
164
164
|
}} width=full><span class="font-weight-500">${this._translations.add}</span></calcite-button></div></calcite-panel>`;
|
|
165
165
|
}
|
|
166
166
|
_getOnboardingImage() {
|
|
167
|
-
return l`<div class="display-flex padding-sides-1"><img class="img-container"
|
|
167
|
+
return l`<div class="display-flex padding-sides-1"><img alt aria-hidden=true class="img-container" src=${this._onboardingImageUrl ?? k}></div>`;
|
|
168
168
|
}
|
|
169
169
|
_getSelectionSetList() {
|
|
170
170
|
return l`<div class="padding-bottom-1-2"><calcite-list class="list-border margin-sides-1" label>${this._selectionSets.reduce((e, t, i) => {
|
|
@@ -218,7 +218,7 @@ class ce extends Y {
|
|
|
218
218
|
}
|
|
219
219
|
_getExportPage() {
|
|
220
220
|
const e = this._hasSelections(this.showRefineSelection), t = this._numDuplicates > 0 ? "display-block" : "display-none", i = this.customExport && this.customExportURL && this._layoutTemplates.length;
|
|
221
|
-
return l`<calcite-panel><div>${this._getLabel(this._translations.export, !1, "header-label")}${e ? l`<div>${this._getNotice(this._translations.exportTip, "padding-sides-1")}${this._getLabel(this._translations.exportListsLabel, !1, "")}${this._getExportSelectionLists()}<div class=${`padding-sides-1 ${t}`}><div class="display-flex"><calcite-label layout=inline><calcite-checkbox ${_(this._removeDuplicates)}></calcite-checkbox><div class="display-flex">${this._translations.removeDuplicate}<div class="info-message padding-start-1-2"><calcite-input-message class="info-blue margin-top-0" scale=m>${` ${this._translations.numDuplicates.replace("{{n}}", this._numDuplicates.toString())}`}</calcite-input-message></div></div></calcite-label><calcite-icon class="padding-start-1-2 icon" .flipRtl=${this._translations._lang?.toLowerCase() !== "he"} icon=question id=remove-duplicates-icon scale=s></calcite-icon></div><calcite-popover closable label overlay-positioning=fixed reference-element=remove-duplicates-icon><span class="tooltip-message">${this._translations.duplicatesTip}</span></calcite-popover></div><div class="border-bottom"></div><div class="segmented-controls padding-top-sides-1">${this._getLabel(this._translations.exportOptions, !0, "", "margin-bottom-0-5")}${this._getSegmentedControls()}</div>${i ? this._getCustomPrintOptions() : l`<div class="padding-1 padding-bottom-0">${this._getExportOptions()}</div>`}<div class="padding-1 display-flex"><calcite-button .disabled=${!this._downloadActive || this._fetchingData || !this._addMap && !this._addResults} .loading=${this._fetchingData} @click=${() => this._segmentType === "CUSTOM" ? this._customExport() : void this._standardExport()} width=full><span class="font-weight-500">${this._translations.export}</span></calcite-button></div></div>` : this._getNotice(this._translations.downloadNoLists, "padding-sides-1 padding-bottom-1")}</div></calcite-panel>`;
|
|
221
|
+
return l`<calcite-panel><div>${this._getLabel(this._translations.export, !1, "header-label")}${e ? l`<div>${this._getNotice(this._translations.exportTip, "padding-sides-1")}${this._getLabel(this._translations.exportListsLabel, !1, "")}${this._getExportSelectionLists()}<div class=${`padding-sides-1 ${t}`}><div class="display-flex"><calcite-label layout=inline><calcite-checkbox ${_(this._removeDuplicates)}></calcite-checkbox><div class="display-flex">${this._translations.removeDuplicate}<div class="info-message padding-start-1-2"><calcite-input-message class="info-blue margin-top-0" scale=m>${` ${this._translations.numDuplicates.replace("{{n}}", this._numDuplicates.toString())}`}</calcite-input-message></div></div></calcite-label><calcite-icon aria-hidden=true class="padding-start-1-2 icon" .flipRtl=${this._translations._lang?.toLowerCase() !== "he"} icon=question id=remove-duplicates-icon scale=s></calcite-icon></div><calcite-popover closable label overlay-positioning=fixed reference-element=remove-duplicates-icon><span class="tooltip-message">${this._translations.duplicatesTip}</span></calcite-popover></div><div class="border-bottom"></div><div class="segmented-controls padding-top-sides-1">${this._getLabel(this._translations.exportOptions, !0, "", "margin-bottom-0-5")}${this._getSegmentedControls()}</div>${i ? this._getCustomPrintOptions() : l`<div class="padding-1 padding-bottom-0">${this._getExportOptions()}</div>`}<div class="padding-1 display-flex"><calcite-button .disabled=${!this._downloadActive || this._fetchingData || !this._addMap && !this._addResults} .loading=${this._fetchingData} @click=${() => this._segmentType === "CUSTOM" ? this._customExport() : void this._standardExport()} width=full><span class="font-weight-500">${this._translations.export}</span></calcite-button></div></div>` : this._getNotice(this._translations.downloadNoLists, "padding-sides-1 padding-bottom-1")}</div></calcite-panel>`;
|
|
222
222
|
}
|
|
223
223
|
_customExport() {
|
|
224
224
|
if (!this.mapView)
|
|
@@ -44,7 +44,7 @@ class R extends L {
|
|
|
44
44
|
}
|
|
45
45
|
render() {
|
|
46
46
|
const e = this._enabledLayerIds.length > 1 ? "display-block" : "display-none";
|
|
47
|
-
return h`<div class=${`${e} padding-top-sides-1`}><div class="display-flex"><calcite-label class="font-bold width-full label-margin-0"><div class="display-flex">${this._translations.inputLayer}<calcite-icon class="padding-start-1-2 icon" .flipRtl=${this._translations._lang?.toLowerCase() !== "he"} icon=question id=refine-input-layer scale=s></calcite-icon></div><map-layer-picker .enabledLayerIds=${this._enabledLayerIds} .mapView=${this.mapView} @layerSelectionChange=${(t) => {
|
|
47
|
+
return h`<div class=${`${e} padding-top-sides-1`}><div class="display-flex"><calcite-label class="font-bold width-full label-margin-0"><div class="display-flex">${this._translations.inputLayer}<calcite-icon aria-hidden=true class="padding-start-1-2 icon" .flipRtl=${this._translations._lang?.toLowerCase() !== "he"} icon=question id=refine-input-layer scale=s></calcite-icon></div><map-layer-picker .enabledLayerIds=${this._enabledLayerIds} .mapView=${this.mapView} @layerSelectionChange=${(t) => {
|
|
48
48
|
this._layerSelectionChange(t);
|
|
49
49
|
}} .selectedIds=${this._refineLayer ? [this._refineLayer.layer.id] : []} ${S(this._layerPicker)}></map-layer-picker></calcite-label><calcite-popover closable label overlay-positioning=fixed reference-element=refine-input-layer><span class="tooltip-message">${this._translations.inputLayerTip}</span></calcite-popover></div></div><div class="padding-1"><div class="padding-bottom-1"><calcite-segmented-control class="w-100" width=full><calcite-segmented-control-item .checked=${this._addEnabled} class="w-50 word-wrap-anywhere" .iconStart=${this._selectionMode === "ADD" ? "check" : void 0} @click=${() => this._setSelectionMode("ADD")} value=ADD><span class="font-weight-500">${this._translations.add}</span></calcite-segmented-control-item><calcite-segmented-control-item .checked=${!this._addEnabled} class="w-50 word-wrap-anywhere" .iconStart=${this._selectionMode === "REMOVE" ? "check" : void 0} @click=${() => this._setSelectionMode("REMOVE")} value=REMOVE><span class="font-weight-500">${this._translations.remove}</span></calcite-segmented-control-item></calcite-segmented-control></div><div><map-draw-tools active draw-mode=REFINE .mapView=${this.mapView} @drawRedo=${() => this._redo()} @drawUndo=${() => this._undo()} @sketchGraphicsChange=${this._sketchGraphicsChanged} .pointSymbol=${this.sketchPointSymbol} .polygonSymbol=${this.sketchPolygonSymbol} .polylineSymbol=${this.sketchLineSymbol} .redoEnabled=${this._refineSelectionSet?.redoStack && this._refineSelectionSet.redoStack.length > 0} .undoEnabled=${this._refineSelectionSet?.undoStack && this._refineSelectionSet.undoStack.length > 0} ${S(this._drawTools)}></map-draw-tools></div>${this.enableSearchDistance ? this._getBufferOptions() : void 0}<br>${h`<calcite-list class="list-border" label>${this._getRefineSelectionSetList()}</calcite-list>`}</div>`;
|
|
50
50
|
}
|