@arcgis/map-components 5.2.0-next.121 → 5.2.0-next.122
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cdn/{Q6LQ5BUX.js → 34E7N7GU.js} +1 -1
- package/dist/cdn/{WC2DVIUW.js → 3E36QFXG.js} +2 -2
- package/dist/cdn/3FRV7BIJ.js +2 -0
- package/dist/cdn/{Z4FIADPO.js → 3TR7QOHP.js} +1 -1
- package/dist/cdn/464EB67Q.js +2 -0
- package/dist/cdn/{W5B2F2LI.js → 4DENNWA5.js} +1 -1
- package/dist/cdn/{24SNB22W.js → 5IFQI7ML.js} +1 -1
- package/dist/cdn/{JMWMN4DG.js → 5SLLYIWJ.js} +1 -1
- package/dist/cdn/{7QH5PIWM.js → 6EQW3YHG.js} +1 -1
- package/dist/cdn/{ALEBI75Z.js → AXFCL6D2.js} +1 -1
- package/dist/cdn/{FR7ARNMJ.js → B4QA6HTE.js} +1 -1
- package/dist/cdn/CCFGYVBQ.js +2 -0
- package/dist/cdn/{LM6RYRCS.js → CNYKQYK2.js} +1 -1
- package/dist/cdn/E4JAHCCG.js +2 -0
- package/dist/cdn/{JD562WMM.js → EDMWGUZ2.js} +1 -1
- package/dist/cdn/{HGCKG3CA.js → EEHSPW4M.js} +1 -1
- package/dist/cdn/{FAFDJABP.js → ESAIFZ6N.js} +1 -1
- package/dist/cdn/{GPIHHNP7.js → F46CTQWP.js} +1 -1
- package/dist/cdn/F5LP5CU2.js +2 -0
- package/dist/cdn/FKCRBOFP.js +2 -0
- package/dist/cdn/{DAPKG4DY.js → G3KYGRHM.js} +1 -1
- package/dist/cdn/{Y3Y3AB5L.js → G4HKU5PR.js} +1 -1
- package/dist/cdn/{Y5Q3Q4GW.js → GIOUZTHM.js} +1 -1
- package/dist/cdn/{4DWURRQB.js → GLH5GJZC.js} +1 -1
- package/dist/cdn/{3VBI4PPT.js → H3CCHIXN.js} +1 -1
- package/dist/cdn/{ACIG6774.js → HH5GEJCC.js} +1 -1
- package/dist/cdn/{VFSWB7LJ.js → IWOKTFPQ.js} +1 -1
- package/dist/cdn/{UA5FRNJG.js → J4BQSA3J.js} +1 -1
- package/dist/cdn/{5E2DZJWK.js → JBGNMAZ7.js} +1 -1
- package/dist/cdn/{OPLR5W7O.js → JSYLRK26.js} +1 -1
- package/dist/cdn/{5FBX5V2M.js → KHHVCV55.js} +1 -1
- package/dist/cdn/{LBJMKYT2.js → KM2GXXBO.js} +1 -1
- package/dist/cdn/{ESISPXFF.js → KRYDKCJG.js} +1 -1
- package/dist/cdn/{46ZZWK6X.js → KY3ND2AY.js} +1 -1
- package/dist/cdn/KYWVUIH5.js +2 -0
- package/dist/cdn/{7KWX2CED.js → LAY2RKKS.js} +1 -1
- package/dist/cdn/LV5KLLVW.js +2 -0
- package/dist/cdn/{QNHJY7QE.js → M3EXGLNJ.js} +1 -1
- package/dist/cdn/{TOBWMRET.js → M3EZM5X5.js} +1 -1
- package/dist/cdn/{2JMMBI2U.js → MV2EKVMR.js} +1 -1
- package/dist/cdn/{3EYHGXI5.js → PLTLRYBF.js} +1 -1
- package/dist/cdn/PR6OAZWA.js +2 -0
- package/dist/cdn/{UNP7N3DO.js → PUYZDQHZ.js} +1 -1
- package/dist/cdn/{BFVEHL3M.js → PYP3U5W5.js} +1 -1
- package/dist/cdn/{JOOXDIS7.js → Q4AJYCNY.js} +1 -1
- package/dist/cdn/{HH4T6PVP.js → QMQV37ML.js} +1 -1
- package/dist/cdn/QXVHT3RD.js +5 -0
- package/dist/cdn/{UXUG6DBJ.js → R7E5VLXC.js} +1 -1
- package/dist/cdn/{IZ7UWAQP.js → RJSFDOIW.js} +1 -1
- package/dist/cdn/{VSJ3MYSY.js → RKAZH2LM.js} +1 -1
- package/dist/cdn/{5IQQ6P2J.js → RU7PGLLB.js} +1 -1
- package/dist/cdn/{4W6PAHFY.js → S62FQUEJ.js} +1 -1
- package/dist/cdn/S7T2NPCW.js +2 -0
- package/dist/cdn/{NK74ZCP7.js → SXQRPAPL.js} +1 -1
- package/dist/cdn/{MU54WQG6.js → TILA2OKK.js} +1 -1
- package/dist/cdn/TJDMX7ZL.js +2 -0
- package/dist/cdn/TMJX7DFH.js +2 -0
- package/dist/cdn/TZHXSIXK.js +2 -0
- package/dist/cdn/US6PRR7S.js +2 -0
- package/dist/cdn/VSH4WLRS.js +2 -0
- package/dist/cdn/X6EQMX6U.js +2 -0
- package/dist/cdn/{XP4IZ2KQ.js → YRZRKOE3.js} +1 -1
- package/dist/cdn/YZ55QJUM.js +2 -0
- package/dist/cdn/ZUAZUUTW.js +2 -0
- package/dist/cdn/assets/feature-form-next/t9n/messages.ar.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.bg.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.ca.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.cs.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.da.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.el.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.es.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.fi.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.fr.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.hr.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.hu.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.id.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.it.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.ko.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.lt.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.lv.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.nl.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.no.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.pl.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.pt-BR.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.pt-PT.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.ro.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.ru.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.sk.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.sl.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.sr.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.sv.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.th.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.tr.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.uk.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.vi.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.zh-CN.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.zh-TW.json +1 -1
- package/dist/cdn/assets/selection-list/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/selection-toolbar/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/utility-network-trace-results/t9n/messages.en.json +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/chunks/layer-utils.js +48 -44
- package/dist/chunks/slots.js +1 -1
- package/dist/components/arcgis-expand/customElement.d.ts +9 -0
- package/dist/components/arcgis-expand/customElement.js +27 -27
- package/dist/components/arcgis-exploratory-analysis/customElement.js +46 -46
- package/dist/components/arcgis-feature-form-utility-network-association-list/customElement.js +1 -1
- package/dist/components/arcgis-feature-templates/customElement.js +1 -1
- package/dist/components/arcgis-fullscreen/customElement.js +9 -10
- package/dist/components/arcgis-legend-card-element/customElement.js +26 -26
- package/dist/components/arcgis-link-chart/customElement.d.ts +9 -0
- package/dist/components/arcgis-link-chart/customElement.js +11 -11
- package/dist/components/arcgis-map/customElement.d.ts +9 -0
- package/dist/components/arcgis-map/customElement.js +2 -2
- package/dist/components/arcgis-paste/customElement.js +1 -1
- package/dist/components/arcgis-scale-bar/customElement.js +8 -8
- package/dist/components/arcgis-scene/customElement.d.ts +9 -0
- package/dist/components/arcgis-scene/customElement.js +6 -6
- package/dist/components/arcgis-selection-list/customElement.d.ts +33 -12
- package/dist/components/arcgis-selection-list/customElement.js +79 -63
- package/dist/components/arcgis-selection-toolbar/customElement.d.ts +42 -2
- package/dist/components/arcgis-selection-toolbar/customElement.js +60 -37
- package/dist/components/arcgis-utility-network-trace-aggregated-geometry-result-item/customElement.d.ts +18 -3
- package/dist/components/arcgis-utility-network-trace-aggregated-geometry-result-item/customElement.js +63 -53
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.d.ts +11 -3
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +107 -53
- package/dist/components/arcgis-utility-network-trace-analysis/index.js +1 -0
- package/dist/components/arcgis-utility-network-trace-analysis/types.d.ts +5 -1
- package/dist/components/arcgis-utility-network-trace-elements-result-item/customElement.d.ts +19 -11
- package/dist/components/arcgis-utility-network-trace-elements-result-item/customElement.js +124 -110
- package/dist/components/arcgis-utility-network-trace-functions-result-item/customElement.d.ts +29 -0
- package/dist/components/arcgis-utility-network-trace-functions-result-item/customElement.js +31 -17
- package/dist/components/arcgis-utility-network-trace-locations/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace-results/customElement.d.ts +63 -14
- package/dist/components/arcgis-utility-network-trace-results/customElement.js +245 -55
- package/dist/components/arcgis-utility-network-trace-results/index.js +1 -2
- package/dist/components/arcgis-utility-network-trace-results-pane/customElement.js +7 -7
- package/dist/components/arcgis-utility-network-validate-network-topology/customElement.js +1 -1
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/index.d.ts +6 -0
- package/dist/loader.js +10 -10
- package/dist/types/lumina.d.ts +14 -9
- package/dist/types/preact.d.ts +14 -9
- package/dist/types/react.d.ts +14 -9
- package/dist/types/stencil.d.ts +14 -9
- package/package.json +7 -7
- package/dist/cdn/4FADGEJD.js +0 -2
- package/dist/cdn/A2FK4TED.js +0 -2
- package/dist/cdn/BOEHQXPR.js +0 -2
- package/dist/cdn/C2HB2U6P.js +0 -2
- package/dist/cdn/CRWARUC7.js +0 -2
- package/dist/cdn/GC4D3K6B.js +0 -2
- package/dist/cdn/GJZCVU6G.js +0 -5
- package/dist/cdn/GYTTYWIC.js +0 -2
- package/dist/cdn/JGHPNDIO.js +0 -2
- package/dist/cdn/JRFQGFRL.js +0 -2
- package/dist/cdn/MRC7R44N.js +0 -2
- package/dist/cdn/MT6BTCFR.js +0 -2
- package/dist/cdn/OYD6YL32.js +0 -2
- package/dist/cdn/QD7ELNLS.js +0 -2
- package/dist/cdn/RVJTWRVG.js +0 -2
- package/dist/cdn/TBSKBHHL.js +0 -2
- package/dist/cdn/TIDNGXMD.js +0 -2
- package/dist/cdn/Z44GSKHZ.js +0 -2
- package/dist/cdn/ZB6W452H.js +0 -2
- /package/dist/cdn/{ZU6D3YMF.js → 27MP6TEF.js} +0 -0
- /package/dist/cdn/{3XRSSDOC.js → 3JCF73F4.js} +0 -0
- /package/dist/cdn/{RLTZHJ26.js → 3XEPXV4Q.js} +0 -0
- /package/dist/cdn/{IMINWWQN.js → 43IOCYG5.js} +0 -0
- /package/dist/cdn/{HMZDI4HQ.js → 45JO7F4Y.js} +0 -0
- /package/dist/cdn/{232VF5GS.js → 4W35GLNO.js} +0 -0
- /package/dist/cdn/{7HQJTIYO.js → 5CER2N5T.js} +0 -0
- /package/dist/cdn/{33AEAI5T.js → 5M56ZA46.js} +0 -0
- /package/dist/cdn/{W6X34YBZ.js → 6NWR2Z4F.js} +0 -0
- /package/dist/cdn/{KMODOE6H.js → 7FVXPOAG.js} +0 -0
- /package/dist/cdn/{2PRRRGTC.js → AYJQLWX4.js} +0 -0
- /package/dist/cdn/{HJP2DQC3.js → AZ73DBU3.js} +0 -0
- /package/dist/cdn/{CQW2542N.js → B4CANXID.js} +0 -0
- /package/dist/cdn/{HLHFT3VN.js → BEFZSVBT.js} +0 -0
- /package/dist/cdn/{55Q2U4HS.js → BIWQEPK4.js} +0 -0
- /package/dist/cdn/{N5NLF7RI.js → BLYJE76S.js} +0 -0
- /package/dist/cdn/{2Q7J34UP.js → CESFJ6AD.js} +0 -0
- /package/dist/cdn/{5ZZ7JN5X.js → COKGOKO2.js} +0 -0
- /package/dist/cdn/{7Y65HW7Z.js → D3LYSFXK.js} +0 -0
- /package/dist/cdn/{FZATLDJD.js → EAM45WZP.js} +0 -0
- /package/dist/cdn/{6VBFCBUV.js → EDTGV4YF.js} +0 -0
- /package/dist/cdn/{62XRQDSI.js → FMBY3L4S.js} +0 -0
- /package/dist/cdn/{TKC3X6S6.js → GQ6SYNZS.js} +0 -0
- /package/dist/cdn/{YUZAZ3CJ.js → H4FH2RBM.js} +0 -0
- /package/dist/cdn/{P3MLJ7YL.js → I5ZESLWO.js} +0 -0
- /package/dist/cdn/{MM6LPGBW.js → KO7RD6SS.js} +0 -0
- /package/dist/cdn/{2LEEKX4J.js → LQ76PRWK.js} +0 -0
- /package/dist/cdn/{CTHAODQE.js → MUWOF7W4.js} +0 -0
- /package/dist/cdn/{G5DB24SO.js → OCLOCCB6.js} +0 -0
- /package/dist/cdn/{2UG26OVP.js → OJXNUBIA.js} +0 -0
- /package/dist/cdn/{ANRJPTRX.js → OUXE3CSQ.js} +0 -0
- /package/dist/cdn/{AKKV6RKF.js → PXAY7IM4.js} +0 -0
- /package/dist/cdn/{4PMOT2RS.js → QMYL4UM7.js} +0 -0
- /package/dist/cdn/{UCFBAQVW.js → QPFX5XH3.js} +0 -0
- /package/dist/cdn/{EGN54PEX.js → RFSBZHJD.js} +0 -0
- /package/dist/cdn/{4TZLBS5N.js → RYYBMDGS.js} +0 -0
- /package/dist/cdn/{CDGKQKVU.js → T2DT5I33.js} +0 -0
- /package/dist/cdn/{EJ5KLAEE.js → UINNR6FV.js} +0 -0
- /package/dist/cdn/{KWL3F4UP.js → UPZVIKOH.js} +0 -0
- /package/dist/cdn/{KXCLNNE5.js → VCRVQMYT.js} +0 -0
- /package/dist/cdn/{COSLSZXO.js → VWN2LORT.js} +0 -0
- /package/dist/cdn/{3NKJ4HFO.js → XAMLHDWZ.js} +0 -0
- /package/dist/cdn/{N43ZQ4C7.js → ZWN6DXNO.js} +0 -0
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import { c as
|
|
2
|
+
import { c as x } from "../../chunks/runtime.js";
|
|
3
3
|
import { css as k, html as t } from "lit";
|
|
4
4
|
import y from "@arcgis/core/Color.js";
|
|
5
|
-
import { LitElement as L, safeClassMap as
|
|
6
|
-
import { classes as
|
|
5
|
+
import { LitElement as L, safeClassMap as n, safeStyleMap as u, nothing as b } from "@arcgis/lumina";
|
|
6
|
+
import { classes as c } from "@arcgis/toolkit/dom";
|
|
7
7
|
import { H as w } from "../../chunks/heading.js";
|
|
8
8
|
import { g as f } from "../../chunks/globalCss.js";
|
|
9
9
|
import { a as _, g as v } from "../../chunks/titleUtils.js";
|
|
10
|
-
import { s as $, i as C, g as
|
|
10
|
+
import { s as $, i as C, g as E } from "../../chunks/utils3.js";
|
|
11
11
|
const z = k`.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.section{word-break:break-word;word-wrap:break-word;padding:var(--calcite-space-sm) var(--calcite-space-md);min-width:250px;max-width:500px;overflow:auto;font-size:var(--calcite-font-size-sm)}.carousel-title-container{margin-bottom:var(--calcite-space-sm)}.carousel-title{margin:0}.section-title{font-weight:var(--calcite-font-weight-regular)}.layer-caption{padding:var(--calcite-space-2xs) 0;margin:0;font-weight:var(--calcite-font-weight-regular)}.imagery-layer-stretched-image{display:block;margin-bottom:-2px}.image-label{padding-inline-start:var(--calcite-space-xs)}.label-element{margin:.1em;padding:.5em 1em;min-width:2em;min-height:1em;text-align:center;display:flex;align-items:center;justify-content:center;flex:1}.layer-row{display:flex;align-items:center}.symbol{display:block;margin:auto}.pie-chart-ramp-preview{display:flex;justify-content:center}.relationship-container{display:flex;flex-direction:column}.relationship-container .layer-row{padding-bottom:.5em}.relationship-container .layer-row:last-child{padding-bottom:0}.container{display:flex;gap:var(--calcite-space-sm);flex-wrap:wrap}.background-styles-container{display:flex;flex-wrap:wrap}:host([stacked]) .container{display:table}:host([stacked]) .symbol-row{display:table-row;width:100%}:host([stacked]) .symbol-row:not(:last-child) .label-cell,:host([stacked]) .symbol-row:not(:last-child) .symbol-cell{padding-bottom:var(--calcite-space-xs)}:host([stacked]) .label-cell{display:table-cell;vertical-align:middle}:host([stacked]) .symbol-cell{display:table-cell;vertical-align:middle;text-align:center}:host([stacked]) .symbol-cell div{display:flex;align-items:center;justify-content:center}`;
|
|
12
12
|
function F(m) {
|
|
13
13
|
return m ? m.r * 0.299 + m.g * 0.587 + m.b * 0.114 >= 127 : void 0;
|
|
@@ -23,21 +23,21 @@ class S extends L {
|
|
|
23
23
|
this.styles = z;
|
|
24
24
|
}
|
|
25
25
|
_getBackgroundStyles(e) {
|
|
26
|
-
const
|
|
26
|
+
const i = e.symbol, s = i.color, r = !!s?.a, l = "outline" in i ? i.outline : null, a = !!l?.color?.a, o = r && s ? new y([s.r, s.g, s.b, s.a * this.layer.opacity]) : new y([255, 255, 255, 0]), d = a && l.color ? new y([l.color.r, l.color.g, l.color.b, l.color.a * this.layer.opacity]) : new y([255, 255, 255, 0]), g = F(e.symbol.color) ?? !0, h = g ? "black" : "white", p = g ? "rgba(255, 255, 255, .6)" : "rgba(0, 0, 0, .6)";
|
|
27
27
|
return {
|
|
28
|
-
background:
|
|
28
|
+
background: r ? o.toCss(!0) : "none",
|
|
29
29
|
color: h,
|
|
30
30
|
textShadow: `-1px -1px 0 ${p},
|
|
31
31
|
1px -1px 0 ${p},
|
|
32
32
|
-1px 1px 0 ${p},
|
|
33
33
|
1px 1px 0 ${p}`,
|
|
34
|
-
border:
|
|
34
|
+
border: a ? `1px solid ${d.toCss(!0)}` : "none",
|
|
35
35
|
filter: this.cssEffectFilter ?? ""
|
|
36
36
|
};
|
|
37
37
|
}
|
|
38
38
|
render() {
|
|
39
|
-
const e = this._renderLegendElement(),
|
|
40
|
-
return t`<section class="section" role=tabpanel tabindex=0>${
|
|
39
|
+
const e = this._renderLegendElement(), i = this.activeLayerInfo.legendElements.includes(this.legendElement), s = _(this.legendElement, this.messages), r = this.stacked && i ? t`<div class="carousel-title-container">${w({ class: c("carousel-title", f.heading), level: this.headingLevel, children: this.activeLayerInfo.title })}${s ? t`<p class="layer-caption">${s}</p>` : null}</div>` : s ? w({ class: c("section-title", f.heading), level: this.headingLevel, children: s }) : null;
|
|
40
|
+
return t`<section class="section" role=tabpanel tabindex=0>${r}${e}</section>`;
|
|
41
41
|
}
|
|
42
42
|
_renderLegendElement() {
|
|
43
43
|
switch (this.legendElement.type) {
|
|
@@ -65,24 +65,24 @@ class S extends L {
|
|
|
65
65
|
}
|
|
66
66
|
}
|
|
67
67
|
_renderSymbolTable(e) {
|
|
68
|
-
const
|
|
69
|
-
if (!
|
|
68
|
+
const i = e.infos.map((a) => this._renderElementInfo(a, e.legendType)).filter(Boolean);
|
|
69
|
+
if (!i.length)
|
|
70
70
|
return null;
|
|
71
|
-
const s = e.infos.some((
|
|
72
|
-
return t`<div class=${
|
|
71
|
+
const s = e.infos.some((a) => "symbol" in a && a.symbol?.type.includes("simple-fill")), l = this.activeLayerInfo.legendElements.some(({ type: a }) => a === "relationship-ramp") ? "relationship-container" : s ? "background-styles-container" : "container";
|
|
72
|
+
return t`<div class=${n(l)}>${i}</div>`;
|
|
73
73
|
}
|
|
74
|
-
_renderElementInfo(e,
|
|
75
|
-
const { layer: s } = this,
|
|
74
|
+
_renderElementInfo(e, i) {
|
|
75
|
+
const { layer: s } = this, r = "label" in e ? e.label : null;
|
|
76
76
|
if ("type" in e && e.type)
|
|
77
|
-
return t`<arcgis-legend-card-element .activeLayerInfo=${this.activeLayerInfo} .cssEffectFilter=${this.cssEffectFilter} .
|
|
77
|
+
return t`<arcgis-legend-card-element .activeLayerInfo=${this.activeLayerInfo} .cssEffectFilter=${this.cssEffectFilter} .headingLevel=${this.headingLevel} .layer=${s} .legendElement=${e} .messages=${this.messages} .stacked=${this.stacked}></arcgis-legend-card-element>`;
|
|
78
78
|
if (!("preview" in e && e.preview) && !("src" in e && e.src))
|
|
79
79
|
return null;
|
|
80
|
-
const l = C(s,
|
|
80
|
+
const l = C(s, i), a = v(this.messages, r, !1) || "";
|
|
81
81
|
if ("src" in e && e.src) {
|
|
82
82
|
const o = {
|
|
83
83
|
"symbol-cell": this.stacked
|
|
84
84
|
};
|
|
85
|
-
return t`<div class=${c(
|
|
85
|
+
return t`<div class=${n(c("layer-row", { "symbol-row": this.stacked }))}><div class=${n(c(o))}>${this._renderImage(e, s, l)}</div><div class=${n(c("image-label", { "label-cell": this.stacked }))}>${a}</div></div>`;
|
|
86
86
|
}
|
|
87
87
|
if ("symbol" in e && e.preview) {
|
|
88
88
|
if (!e.symbol?.type.includes("simple-fill")) {
|
|
@@ -91,23 +91,23 @@ class S extends L {
|
|
|
91
91
|
const o = {
|
|
92
92
|
"symbol-cell": this.stacked
|
|
93
93
|
}, { preview: d } = e, g = "previewAriaLabel" in e ? e.previewAriaLabel : null, h = "label" in e ? v(this.messages, e.label, !1) : null;
|
|
94
|
-
return $(d,
|
|
94
|
+
return $(d, E(this.messages, g || h)), t`<div class=${n(c("layer-row", { "symbol-row": this.stacked }))}><div class=${n(c(o))}>${d}</div><div class=${n(c("image-label", { "label-cell": this.stacked }))}>${a}</div></div>`;
|
|
95
95
|
}
|
|
96
|
-
return t`<div class="layer-row"><div class="label-element" style=${u(this._getBackgroundStyles(e))}>${
|
|
96
|
+
return t`<div class="layer-row"><div class="label-element" style=${u(this._getBackgroundStyles(e))}>${a}</div></div>`;
|
|
97
97
|
}
|
|
98
98
|
return null;
|
|
99
99
|
}
|
|
100
|
-
_renderImage(e,
|
|
101
|
-
const { previewAriaLabel:
|
|
100
|
+
_renderImage(e, i, s) {
|
|
101
|
+
const { previewAriaLabel: r, src: l, opacity: a } = e, o = v(this.messages, e.label, !1), d = {
|
|
102
102
|
"imagery-layer-stretched-image": s,
|
|
103
103
|
symbol: !s
|
|
104
104
|
}, g = {
|
|
105
|
-
opacity: `${
|
|
106
|
-
}, h =
|
|
107
|
-
return t`<img alt=${h ?? b} .ariaLabel=${h} class=${c(
|
|
105
|
+
opacity: `${a ?? i.opacity}`
|
|
106
|
+
}, h = E(this.messages, r || o);
|
|
107
|
+
return t`<img alt=${h ?? b} .ariaLabel=${h} class=${n(c(d))} height=${e.height ?? void 0 ?? b} src=${l ?? b} style=${u(g)} width=${e.width ?? void 0 ?? b}>`;
|
|
108
108
|
}
|
|
109
109
|
}
|
|
110
|
-
|
|
110
|
+
x("arcgis-legend-card-element", S);
|
|
111
111
|
export {
|
|
112
112
|
S as ArcgisLegendCardElement
|
|
113
113
|
};
|
|
@@ -16,6 +16,7 @@ import type Error from "@arcgis/core/core/Error.js";
|
|
|
16
16
|
import type HighlightOptions from "@arcgis/core/views/support/HighlightOptions.js";
|
|
17
17
|
import type Magnifier from "@arcgis/core/views/Magnifier.js";
|
|
18
18
|
import type Navigation from "@arcgis/core/views/navigation/Navigation.js";
|
|
19
|
+
import type ViewOptions from "@arcgis/core/views/interactive/options/ViewOptions.js";
|
|
19
20
|
import type Popup from "@arcgis/core/widgets/Popup.js";
|
|
20
21
|
import type SelectionManager from "@arcgis/core/views/SelectionManager.js";
|
|
21
22
|
import type SpatialReference from "@arcgis/core/geometry/SpatialReference.js";
|
|
@@ -443,6 +444,14 @@ export abstract class ArcgisLinkChart extends LitElement {
|
|
|
443
444
|
* });
|
|
444
445
|
*/
|
|
445
446
|
accessor navigation: Navigation;
|
|
447
|
+
/**
|
|
448
|
+
* Configures snapping, tooltips, and measurement units for supported components and analyses configured to inherit these options from the view.
|
|
449
|
+
* See [ViewOptions](https://developers.arcgis.com/javascript/latest/references/core/views/interactive/options/ViewOptions/) for details.
|
|
450
|
+
*
|
|
451
|
+
* @since 5.2
|
|
452
|
+
* @beta
|
|
453
|
+
*/
|
|
454
|
+
accessor options: ViewOptions;
|
|
446
455
|
/**
|
|
447
456
|
* Use the padding property to make the [center](https://developers.arcgis.com/javascript/latest/references/core/views/LinkChartView/#center),
|
|
448
457
|
* and [extent](https://developers.arcgis.com/javascript/latest/references/core/views/LinkChartView/#extent), etc. work off a
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
2
|
import { c as C } from "../../chunks/runtime.js";
|
|
3
|
-
import { watch as
|
|
3
|
+
import { watch as h } from "@arcgis/core/core/reactiveUtils.js";
|
|
4
4
|
import _ from "@arcgis/core/views/LinkChartView.js";
|
|
5
5
|
import b from "@arcgis/core/WebLinkChart.js";
|
|
6
6
|
import { LitElement as V, createEvent as c, safeClassMap as w } from "@arcgis/lumina";
|
|
@@ -32,12 +32,12 @@ const F = f(
|
|
|
32
32
|
), G = f(_, {});
|
|
33
33
|
class S extends V {
|
|
34
34
|
constructor() {
|
|
35
|
-
super(), this._attributionMode = null, this._containerRef = m(), this._mapRef = m(), this._uiController = new U(this), this._activeLoadAbortController = null, this.arcgisLoadError = D(this), this.arcgisViewReadyError = x(this), this._map = F(this), this._baseCypherQuery = "", this._serviceUrl = "", this._propItemId = "", this.view = G(this), this.animationsDisabled = this.view.animationsEnabled, this.allLayerViews = this.view.allLayerViews, this.analyses = this.view.analyses, this.autoDestroyDisabled = !1, this.background = this.view.background, this.basemap = this._map.basemap, this.basemapView = this.view.basemapView, this.canZoomIn = this.view.canZoomIn, this.canZoomOut = this.view.canZoomOut, this.constraints = this.view.constraints, this.displayFilterDisabled = this.view.displayFilterEnabled, this.fatalError = this.view.fatalError, this.graphics = this.view.graphics, this.highlights = this.view.highlights, this.layerViews = this.view.layerViews, this.magnifier = this.view.magnifier, this.map = this.view.map, this.navigation = this.view.navigation, this.padding = this.view.padding, this.popup = this.view.popup, this.popupDisabled = this.view.popupEnabled, this.popupComponentEnabled = !1, this.ready = this.view.ready, this.resizeAlign = this.view.resizeAlign, this.resolution = this.view.resolution, this.rotation = this.view.rotation, this.selectionManager = this.view.selectionManager, this.slotGroupRefs = this._uiController.slotGroupRefs, this.spatialReference = this.view.spatialReference, this.suspended = this.view.suspended, this.theme = this.view.theme, this.timeExtent = this.view.timeExtent, this.timeZone = this.view.timeZone, this.arcgisViewAnalysisViewCreate = e(() => this.view, "analysis-view-create"), this.arcgisViewAnalysisViewCreateError = e(() => this.view, "analysis-view-create-error"), this.arcgisViewAnalysisViewDestroy = e(() => this.view, "analysis-view-destroy"), this.arcgisViewChange = c(), this.arcgisViewClick = e(() => this.view, "click"), this.arcgisViewDoubleClick = e(() => this.view, "double-click"), this.arcgisViewDoubleTapDrag = e(() => this.view, "double-tap-drag"), this.arcgisViewDrag = e(() => this.view, "drag"), this.arcgisViewHold = e(() => this.view, "hold"), this.arcgisViewImmediateClick = e(() => this.view, "immediate-click"), this.arcgisViewImmediateDoubleClick = e(() => this.view, "immediate-double-click"), this.arcgisViewKeyDown = e(() => this.view, "key-down"), this.arcgisViewKeyUp = e(() => this.view, "key-up"), this.arcgisViewLayerviewCreate = e(() => this.view, "layerview-create"), this.arcgisViewLayerviewCreateError = e(() => this.view, "layerview-create-error"), this.arcgisViewLayerviewDestroy = e(() => this.view, "layerview-destroy"), this.arcgisViewMouseWheel = e(() => this.view, "mouse-wheel"), this.arcgisViewPointerDown = e(() => this.view, "pointer-down"), this.arcgisViewPointerEnter = e(() => this.view, "pointer-enter"), this.arcgisViewPointerLeave = e(() => this.view, "pointer-leave"), this.arcgisViewPointerMove = e(() => this.view, "pointer-move"), this.arcgisViewPointerUp = e(() => this.view, "pointer-up"), this.arcgisViewReadyChange = c(), this.arcgisViewVerticalTwoFingerDrag = e(() => this.view, "vertical-two-finger-drag"), Q(this), this.view.ui = {
|
|
35
|
+
super(), this._attributionMode = null, this._containerRef = m(), this._mapRef = m(), this._uiController = new U(this), this._activeLoadAbortController = null, this.arcgisLoadError = D(this), this.arcgisViewReadyError = x(this), this._map = F(this), this._baseCypherQuery = "", this._serviceUrl = "", this._propItemId = "", this.view = G(this), this.animationsDisabled = this.view.animationsEnabled, this.allLayerViews = this.view.allLayerViews, this.analyses = this.view.analyses, this.autoDestroyDisabled = !1, this.background = this.view.background, this.basemap = this._map.basemap, this.basemapView = this.view.basemapView, this.canZoomIn = this.view.canZoomIn, this.canZoomOut = this.view.canZoomOut, this.constraints = this.view.constraints, this.displayFilterDisabled = this.view.displayFilterEnabled, this.fatalError = this.view.fatalError, this.graphics = this.view.graphics, this.highlights = this.view.highlights, this.layerViews = this.view.layerViews, this.magnifier = this.view.magnifier, this.map = this.view.map, this.navigation = this.view.navigation, this.options = this.view.options, this.padding = this.view.padding, this.popup = this.view.popup, this.popupDisabled = this.view.popupEnabled, this.popupComponentEnabled = !1, this.ready = this.view.ready, this.resizeAlign = this.view.resizeAlign, this.resolution = this.view.resolution, this.rotation = this.view.rotation, this.selectionManager = this.view.selectionManager, this.slotGroupRefs = this._uiController.slotGroupRefs, this.spatialReference = this.view.spatialReference, this.suspended = this.view.suspended, this.theme = this.view.theme, this.timeExtent = this.view.timeExtent, this.timeZone = this.view.timeZone, this.arcgisViewAnalysisViewCreate = e(() => this.view, "analysis-view-create"), this.arcgisViewAnalysisViewCreateError = e(() => this.view, "analysis-view-create-error"), this.arcgisViewAnalysisViewDestroy = e(() => this.view, "analysis-view-destroy"), this.arcgisViewChange = c(), this.arcgisViewClick = e(() => this.view, "click"), this.arcgisViewDoubleClick = e(() => this.view, "double-click"), this.arcgisViewDoubleTapDrag = e(() => this.view, "double-tap-drag"), this.arcgisViewDrag = e(() => this.view, "drag"), this.arcgisViewHold = e(() => this.view, "hold"), this.arcgisViewImmediateClick = e(() => this.view, "immediate-click"), this.arcgisViewImmediateDoubleClick = e(() => this.view, "immediate-double-click"), this.arcgisViewKeyDown = e(() => this.view, "key-down"), this.arcgisViewKeyUp = e(() => this.view, "key-up"), this.arcgisViewLayerviewCreate = e(() => this.view, "layerview-create"), this.arcgisViewLayerviewCreateError = e(() => this.view, "layerview-create-error"), this.arcgisViewLayerviewDestroy = e(() => this.view, "layerview-destroy"), this.arcgisViewMouseWheel = e(() => this.view, "mouse-wheel"), this.arcgisViewPointerDown = e(() => this.view, "pointer-down"), this.arcgisViewPointerEnter = e(() => this.view, "pointer-enter"), this.arcgisViewPointerLeave = e(() => this.view, "pointer-leave"), this.arcgisViewPointerMove = e(() => this.view, "pointer-move"), this.arcgisViewPointerUp = e(() => this.view, "pointer-up"), this.arcgisViewReadyChange = c(), this.arcgisViewVerticalTwoFingerDrag = e(() => this.view, "vertical-two-finger-drag"), Q(this), this.view.ui = {
|
|
36
36
|
components: []
|
|
37
37
|
};
|
|
38
38
|
}
|
|
39
39
|
static {
|
|
40
|
-
this.properties = { _map: 16, _baseCypherQuery: 16, _serviceUrl: 16, _propItemId: 16, view: 32, animationsDisabled: 5, aria: 0, allLayerViews: 32, analyses: 0, attributionItems: 32, attributionMode: 1, autoDestroyDisabled: 5, background: 0, basemap: 1, basemapView: 0, canZoomIn: 36, canZoomOut: 36, center: 1, constraints: 0, displayFilterDisabled: 5, extent: 0, fatalError: 0, focusAreas: 0, graphics: 0, hideAttribution: 5, highlights: 0, interacting: 32, itemId: 3, baseCypherQuery: 3, serviceUrl: 3, layerViews: 32, magnifier: 32, map: 0, navigating: 32, navigation: 0, padding: 0, popup: 0, popupElement: 32, popupDisabled: 5, popupComponentEnabled: 5, ready: 36, resizeAlign: 1, resolution: 40, rotation: 9, selectionManager: 32, scale: 9, slotGroupRefs: 32, spatialReference: 0, stationary: 32, suspended: 39, theme: 0, timeExtent: 0, timeZone: 1, updating: 32, viewpoint: 0, zoom: 9, loadErrorSources: 0 };
|
|
40
|
+
this.properties = { _map: 16, _baseCypherQuery: 16, _serviceUrl: 16, _propItemId: 16, view: 32, animationsDisabled: 5, aria: 0, allLayerViews: 32, analyses: 0, attributionItems: 32, attributionMode: 1, autoDestroyDisabled: 5, background: 0, basemap: 1, basemapView: 0, canZoomIn: 36, canZoomOut: 36, center: 1, constraints: 0, displayFilterDisabled: 5, extent: 0, fatalError: 0, focusAreas: 0, graphics: 0, hideAttribution: 5, highlights: 0, interacting: 32, itemId: 3, baseCypherQuery: 3, serviceUrl: 3, layerViews: 32, magnifier: 32, map: 0, navigating: 32, navigation: 0, options: 0, padding: 0, popup: 0, popupElement: 32, popupDisabled: 5, popupComponentEnabled: 5, ready: 36, resizeAlign: 1, resolution: 40, rotation: 9, selectionManager: 32, scale: 9, slotGroupRefs: 32, spatialReference: 0, stationary: 32, suspended: 39, theme: 0, timeExtent: 0, timeZone: 1, updating: 32, viewpoint: 0, zoom: 9, loadErrorSources: 0 };
|
|
41
41
|
}
|
|
42
42
|
static {
|
|
43
43
|
this.styles = [I, E];
|
|
@@ -191,14 +191,14 @@ class S extends V {
|
|
|
191
191
|
if (this._serviceUrl && !this._baseCypherQuery) {
|
|
192
192
|
const a = t();
|
|
193
193
|
s.fetchKnowledgeGraph(this._serviceUrl).then((l) => {
|
|
194
|
-
const
|
|
194
|
+
const n = new s.WebLinkChart(), o = new s.LinkChartLayer({
|
|
195
195
|
url: l.url
|
|
196
196
|
});
|
|
197
197
|
o.load({
|
|
198
198
|
signal: a?.signal
|
|
199
199
|
});
|
|
200
200
|
try {
|
|
201
|
-
d(a.signal),
|
|
201
|
+
d(a.signal), n.add(o), this._setLinkChartAndZoom(n);
|
|
202
202
|
} catch (p) {
|
|
203
203
|
if (!g(p))
|
|
204
204
|
throw p;
|
|
@@ -211,9 +211,9 @@ class S extends V {
|
|
|
211
211
|
openCypherQuery: this._baseCypherQuery
|
|
212
212
|
}), void 0, {
|
|
213
213
|
signal: a?.signal
|
|
214
|
-
}).then(async (
|
|
214
|
+
}).then(async (n) => {
|
|
215
215
|
try {
|
|
216
|
-
d(a.signal), this._setLinkChartAndZoom(
|
|
216
|
+
d(a.signal), this._setLinkChartAndZoom(n);
|
|
217
217
|
} catch (o) {
|
|
218
218
|
if (!g(o))
|
|
219
219
|
throw o;
|
|
@@ -226,12 +226,12 @@ class S extends V {
|
|
|
226
226
|
loaded() {
|
|
227
227
|
const i = this;
|
|
228
228
|
i.el.childElem = this._mapRef.value, this.view.container ??= i.el.childElem, s.setLocalPublicMap(this, this._map), this.manager.onLifecycle(() => [
|
|
229
|
-
|
|
229
|
+
h(() => this.map, (t) => {
|
|
230
230
|
t && s.setLocalPrivateMap(this, t);
|
|
231
231
|
}, { initial: !0, sync: !0 }),
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
232
|
+
h(() => this.view.stationary, () => this.arcgisViewChange.emit(), { initial: !0 }),
|
|
233
|
+
h(() => this.view.ready, () => this.arcgisViewReadyChange.emit(), { initial: this.view.ready }),
|
|
234
|
+
h(() => this.view.attributionHeight, (t) => {
|
|
235
235
|
this._uiController.handleAttributionHeightChange(t);
|
|
236
236
|
}, { initial: !0 })
|
|
237
237
|
]);
|
|
@@ -19,6 +19,7 @@ import type HighlightOptions from "@arcgis/core/views/support/HighlightOptions.j
|
|
|
19
19
|
import type IPSInfo from "@arcgis/core/webdoc/IPSInfo.js";
|
|
20
20
|
import type Magnifier from "@arcgis/core/views/Magnifier.js";
|
|
21
21
|
import type Navigation from "@arcgis/core/views/navigation/Navigation.js";
|
|
22
|
+
import type ViewOptions from "@arcgis/core/views/interactive/options/ViewOptions.js";
|
|
22
23
|
import type Popup from "@arcgis/core/widgets/Popup.js";
|
|
23
24
|
import type SelectionManager from "@arcgis/core/views/SelectionManager.js";
|
|
24
25
|
import type SpatialReference from "@arcgis/core/geometry/SpatialReference.js";
|
|
@@ -658,6 +659,14 @@ export abstract class ArcgisMap extends LitElement {
|
|
|
658
659
|
* ```
|
|
659
660
|
*/
|
|
660
661
|
accessor navigation: Navigation;
|
|
662
|
+
/**
|
|
663
|
+
* Configures snapping, tooltips, and measurement units for supported components and analyses configured to inherit these options from the view.
|
|
664
|
+
* See [ViewOptions](https://developers.arcgis.com/javascript/latest/references/core/views/interactive/options/ViewOptions/) for details.
|
|
665
|
+
*
|
|
666
|
+
* @since 5.2
|
|
667
|
+
* @beta
|
|
668
|
+
*/
|
|
669
|
+
accessor options: ViewOptions;
|
|
661
670
|
/**
|
|
662
671
|
* Padding to make the map's center and extent work off a
|
|
663
672
|
* subsection of the full map. This is particularly useful when layering UI
|
|
@@ -28,12 +28,12 @@ const M = p(
|
|
|
28
28
|
), D = p(l, {});
|
|
29
29
|
class k extends m {
|
|
30
30
|
constructor() {
|
|
31
|
-
super(), this._attributionMode = null, this._containerRef = n(), this._mapRef = n(), this._uiController = new g(this), this.extraContent = new R(), this.arcgisLoadError = d(this), this.arcgisViewReadyError = y(this), this._map = M(this), this.view = D(this), this.animationsDisabled = this.view.animationsEnabled, this.allLayerViews = this.view.allLayerViews, this.analyses = this.view.analyses, this.autoDestroyDisabled = !1, this.background = this.view.background, this.basemap = this._map.basemap, this.basemapView = this.view.basemapView, this.canZoomIn = this.view.canZoomIn, this.canZoomOut = this.view.canZoomOut, this.constraints = this.view.constraints, this.displayFilterDisabled = this.view.displayFilterEnabled, this.fatalError = this.view.fatalError, this.floors = this.view.floors, this.graphics = this.view.graphics, this.ground = this._map.ground, this.highlights = this.view.highlights, this.ipsInfo = this._map.ipsInfo, this.layerViews = this.view.layerViews, this.magnifier = this.view.magnifier, this.map = this.view.map, this.navigation = this.view.navigation, this.padding = this.view.padding, this.popup = this.view.popup, this.popupDisabled = this.view.popupEnabled, this.popupComponentEnabled = !1, this.ready = this.view.ready, this.resizeAlign = this.view.resizeAlign, this.resolution = this.view.resolution, this.rotation = this.view.rotation, this.selectionManager = this.view.selectionManager, this.slotGroupRefs = this._uiController.slotGroupRefs, this.spatialReference = this.view.spatialReference, this.spatialReferenceLocked = this.view.spatialReferenceLocked, this.suspended = this.view.suspended, this.theme = this.view.theme, this.timeExtent = this.view.timeExtent, this.timeZone = this.view.timeZone, this.visibleArea = this.view.visibleArea, this.arcgisViewAnalysisViewCreate = e(() => this.view, "analysis-view-create"), this.arcgisViewAnalysisViewCreateError = e(() => this.view, "analysis-view-create-error"), this.arcgisViewAnalysisViewDestroy = e(() => this.view, "analysis-view-destroy"), this.arcgisViewChange = a(), this.arcgisViewClick = e(() => this.view, "click"), this.arcgisViewDoubleClick = e(() => this.view, "double-click"), this.arcgisViewDoubleTapDrag = e(() => this.view, "double-tap-drag"), this.arcgisViewDrag = e(() => this.view, "drag"), this.arcgisViewHold = e(() => this.view, "hold"), this.arcgisViewImmediateClick = e(() => this.view, "immediate-click"), this.arcgisViewImmediateDoubleClick = e(() => this.view, "immediate-double-click"), this.arcgisViewKeyDown = e(() => this.view, "key-down"), this.arcgisViewKeyUp = e(() => this.view, "key-up"), this.arcgisViewLayerviewCreate = e(() => this.view, "layerview-create"), this.arcgisViewLayerviewCreateError = e(() => this.view, "layerview-create-error"), this.arcgisViewLayerviewDestroy = e(() => this.view, "layerview-destroy"), this.arcgisViewMouseWheel = e(() => this.view, "mouse-wheel"), this.arcgisViewPointerDown = e(() => this.view, "pointer-down"), this.arcgisViewPointerEnter = e(() => this.view, "pointer-enter"), this.arcgisViewPointerLeave = e(() => this.view, "pointer-leave"), this.arcgisViewPointerMove = e(() => this.view, "pointer-move"), this.arcgisViewPointerUp = e(() => this.view, "pointer-up"), this.arcgisViewReadyChange = a(), this.arcgisViewVerticalTwoFingerDrag = e(() => this.view, "vertical-two-finger-drag"), f(this), this.view.ui = {
|
|
31
|
+
super(), this._attributionMode = null, this._containerRef = n(), this._mapRef = n(), this._uiController = new g(this), this.extraContent = new R(), this.arcgisLoadError = d(this), this.arcgisViewReadyError = y(this), this._map = M(this), this.view = D(this), this.animationsDisabled = this.view.animationsEnabled, this.allLayerViews = this.view.allLayerViews, this.analyses = this.view.analyses, this.autoDestroyDisabled = !1, this.background = this.view.background, this.basemap = this._map.basemap, this.basemapView = this.view.basemapView, this.canZoomIn = this.view.canZoomIn, this.canZoomOut = this.view.canZoomOut, this.constraints = this.view.constraints, this.displayFilterDisabled = this.view.displayFilterEnabled, this.fatalError = this.view.fatalError, this.floors = this.view.floors, this.graphics = this.view.graphics, this.ground = this._map.ground, this.highlights = this.view.highlights, this.ipsInfo = this._map.ipsInfo, this.layerViews = this.view.layerViews, this.magnifier = this.view.magnifier, this.map = this.view.map, this.navigation = this.view.navigation, this.options = this.view.options, this.padding = this.view.padding, this.popup = this.view.popup, this.popupDisabled = this.view.popupEnabled, this.popupComponentEnabled = !1, this.ready = this.view.ready, this.resizeAlign = this.view.resizeAlign, this.resolution = this.view.resolution, this.rotation = this.view.rotation, this.selectionManager = this.view.selectionManager, this.slotGroupRefs = this._uiController.slotGroupRefs, this.spatialReference = this.view.spatialReference, this.spatialReferenceLocked = this.view.spatialReferenceLocked, this.suspended = this.view.suspended, this.theme = this.view.theme, this.timeExtent = this.view.timeExtent, this.timeZone = this.view.timeZone, this.visibleArea = this.view.visibleArea, this.arcgisViewAnalysisViewCreate = e(() => this.view, "analysis-view-create"), this.arcgisViewAnalysisViewCreateError = e(() => this.view, "analysis-view-create-error"), this.arcgisViewAnalysisViewDestroy = e(() => this.view, "analysis-view-destroy"), this.arcgisViewChange = a(), this.arcgisViewClick = e(() => this.view, "click"), this.arcgisViewDoubleClick = e(() => this.view, "double-click"), this.arcgisViewDoubleTapDrag = e(() => this.view, "double-tap-drag"), this.arcgisViewDrag = e(() => this.view, "drag"), this.arcgisViewHold = e(() => this.view, "hold"), this.arcgisViewImmediateClick = e(() => this.view, "immediate-click"), this.arcgisViewImmediateDoubleClick = e(() => this.view, "immediate-double-click"), this.arcgisViewKeyDown = e(() => this.view, "key-down"), this.arcgisViewKeyUp = e(() => this.view, "key-up"), this.arcgisViewLayerviewCreate = e(() => this.view, "layerview-create"), this.arcgisViewLayerviewCreateError = e(() => this.view, "layerview-create-error"), this.arcgisViewLayerviewDestroy = e(() => this.view, "layerview-destroy"), this.arcgisViewMouseWheel = e(() => this.view, "mouse-wheel"), this.arcgisViewPointerDown = e(() => this.view, "pointer-down"), this.arcgisViewPointerEnter = e(() => this.view, "pointer-enter"), this.arcgisViewPointerLeave = e(() => this.view, "pointer-leave"), this.arcgisViewPointerMove = e(() => this.view, "pointer-move"), this.arcgisViewPointerUp = e(() => this.view, "pointer-up"), this.arcgisViewReadyChange = a(), this.arcgisViewVerticalTwoFingerDrag = e(() => this.view, "vertical-two-finger-drag"), f(this), this.view.ui = {
|
|
32
32
|
components: []
|
|
33
33
|
};
|
|
34
34
|
}
|
|
35
35
|
static {
|
|
36
|
-
this.properties = { _map: 16, view: 32, animationsDisabled: 5, aria: 0, allLayerViews: 32, analyses: 0, attributionItems: 32, attributionMode: 1, autoDestroyDisabled: 5, background: 0, basemap: 1, basemapView: 0, canZoomIn: 36, canZoomOut: 36, center: 1, constraints: 0, displayFilterDisabled: 5, extent: 0, fatalError: 0, floors: 0, focusAreas: 0, gamepad: 32, graphics: 0, ground: 1, hideAttribution: 5, highlights: 0, interacting: 32, ipsInfo: 0, itemId: 3, layerViews: 32, magnifier: 32, map: 0, navigating: 32, navigation: 0, padding: 0, popup: 0, popupElement: 32, popupDisabled: 5, popupComponentEnabled: 5, ready: 36, resizeAlign: 1, resolution: 40, rotation: 9, scale: 9, selectionManager: 32, slotGroupRefs: 32, spatialReference: 0, spatialReferenceLocked: 5, stationary: 32, suspended: 39, theme: 0, timeExtent: 0, timeZone: 1, updating: 32, viewpoint: 0, visibleArea: 32, zoom: 9, loadErrorSources: 0 };
|
|
36
|
+
this.properties = { _map: 16, view: 32, animationsDisabled: 5, aria: 0, allLayerViews: 32, analyses: 0, attributionItems: 32, attributionMode: 1, autoDestroyDisabled: 5, background: 0, basemap: 1, basemapView: 0, canZoomIn: 36, canZoomOut: 36, center: 1, constraints: 0, displayFilterDisabled: 5, extent: 0, fatalError: 0, floors: 0, focusAreas: 0, gamepad: 32, graphics: 0, ground: 1, hideAttribution: 5, highlights: 0, interacting: 32, ipsInfo: 0, itemId: 3, layerViews: 32, magnifier: 32, map: 0, navigating: 32, navigation: 0, options: 0, padding: 0, popup: 0, popupElement: 32, popupDisabled: 5, popupComponentEnabled: 5, ready: 36, resizeAlign: 1, resolution: 40, rotation: 9, scale: 9, selectionManager: 32, slotGroupRefs: 32, spatialReference: 0, spatialReferenceLocked: 5, stationary: 32, suspended: 39, theme: 0, timeExtent: 0, timeZone: 1, updating: 32, viewpoint: 0, visibleArea: 32, zoom: 9, loadErrorSources: 0 };
|
|
37
37
|
}
|
|
38
38
|
static {
|
|
39
39
|
this.styles = [b, V];
|
|
@@ -17,7 +17,7 @@ import { createApplySetModifyItem as W, createApplySet as q, createFeatureStateP
|
|
|
17
17
|
import { whenOnce as ae, watch as N } from "@arcgis/core/core/reactiveUtils.js";
|
|
18
18
|
import { getRendererFields as Y, getFeatureEditFields as _e } from "@arcgis/core/layers/support/fieldUtils.js";
|
|
19
19
|
import xe from "@arcgis/core/widgets/BatchAttributeForm/BatchAttributeFormViewModel.js";
|
|
20
|
-
import {
|
|
20
|
+
import { d as Pe, h as ee } from "../../chunks/layer-utils.js";
|
|
21
21
|
import { g as se } from "../../chunks/async-utils.js";
|
|
22
22
|
import { substitute as b } from "@arcgis/core/intl.js";
|
|
23
23
|
import { usePropertyChange as $e } from "@arcgis/lumina/controllers";
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
2
|
import { c as m } from "../../chunks/runtime.js";
|
|
3
3
|
import { ref as v } from "lit/directives/ref.js";
|
|
4
|
-
import { css as _, html as
|
|
4
|
+
import { css as _, html as s } from "lit";
|
|
5
5
|
import { getDefaultUnitForView as w } from "@arcgis/core/applications/Components/getDefaultUnits.js";
|
|
6
6
|
import { watch as x } from "@arcgis/core/core/reactiveUtils.js";
|
|
7
7
|
import { formatNumber as y } from "@arcgis/core/intl.js";
|
|
8
8
|
import k from "@arcgis/core/widgets/ScaleBar/ScaleBarViewModel.js";
|
|
9
9
|
import { LitElement as z, createEvent as C, safeClassMap as l, safeStyleMap as f } from "@arcgis/lumina";
|
|
10
|
-
import { classes as
|
|
10
|
+
import { classes as c } from "@arcgis/toolkit/dom";
|
|
11
11
|
import { u as M } from "../../chunks/useT9n.js";
|
|
12
12
|
import { m as S } from "../../chunks/useViewModel.js";
|
|
13
13
|
import { g as b } from "../../chunks/globalCss.js";
|
|
14
14
|
function $(h = 0, e = 0) {
|
|
15
15
|
return { x: h, y: e };
|
|
16
16
|
}
|
|
17
|
-
const D = _`.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__heading{word-break:break-word}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-hidden{display:none!important}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}.root{box-shadow:none!important;background:0 0}.root.esri-widget{box-shadow:none;background:0 0}.bar-container{align-items:flex-end;font-size:var(--calcite-font-size-sm);transition:width .25s ease-in-out;display:flex;position:relative}.bar-container-ruler{flex-direction:column}.ruler{--color-ruler-background: var(--calcite-color-inverse);--color-ruler-foreground: var(--calcite-color-foreground-1);height:var(--calcite-spacing-xs);box-shadow:0 0 0 1px var(--calcite-color-text-1),0 1px 2px var(--calcite-color-foreground-1)}.ruler:before,.ruler:after{content:"";display:block;height:50%;background-image:linear-gradient(to right,var(--color-ruler-foreground) 0%,var(--color-ruler-foreground) 25%,var(--color-ruler-background) 25%,var(--color-ruler-background) 50%,var(--color-ruler-foreground) 50%,var(--color-ruler-foreground) 75%,var(--color-ruler-background) 75%,var(--color-ruler-background) 100%)}.ruler:after{transform:scaleX(-1)}.bar-container-line:last-child{align-items:flex-start}.line{--line-thickness: 2px;--tic-height: 1.5em;--border-style: var(--line-thickness) solid var(--calcite-color-text-1);background-color:color-mix(in srgb,var(--calcite-color-foreground-1) 50%,transparent);height:var(--tic-height);position:relative;left:0}.line-top{border-bottom:var(--border-style)}.line-bottom{border-top:var(--border-style);top:calc(-1 * var(--line-thickness))}.line-top:before,.line-top:after,.line-bottom:before,.line-bottom:after{content:"";background-color:color-mix(in srgb,var(--calcite-color-foreground-1) 50%,transparent);border-right:var(--border-style);width:1px;height:var(--tic-height);display:block;position:absolute}.line-top:before{bottom:calc(-1 * var(--line-thickness));left:0}.line-top:after{bottom:calc(-1 * var(--line-thickness));right:0}.line-bottom:before{top:calc(-1 * var(--line-thickness));left:0}.line-bottom:after{height:var(--tic-height);top:calc(-1 * var(--line-thickness));right:0}.label-container-line{position:absolute;left:0}.label-container-ruler{justify-content:space-between;width:100%;display:flex;position:relative}.label-container-ruler .label{text-shadow:1px 0 var(--calcite-color-foreground-1),0 1px var(--calcite-color-foreground-1),1px 1px var(--calcite-color-foreground-1),-1px 0 var(--calcite-color-foreground-1),0 -1px var(--calcite-color-foreground-1),-1px -1px var(--calcite-color-foreground-1);padding:6px 0 0}.label-container-top{bottom:0}.label-container-bottom{top:1px}.label{white-space:nowrap;color:var(--calcite-color-text-1);font-size:inherit;padding:0 7px;font-weight:var(--calcite-font-weight-semibold)}:dir(rtl) .ruler{margin:0 .5ch 0 2ch}:dir(rtl) .label-container-line{left:auto;right:0}`, R = S(k);
|
|
17
|
+
const D = _`.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__heading{word-break:break-word}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-hidden{display:none!important}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}.root{box-shadow:none!important;background:0 0}.root.esri-widget{box-shadow:none;background:0 0}.bar-container{align-items:flex-end;font-size:var(--calcite-font-size-sm);transition:width .25s ease-in-out;display:flex;position:relative}.bar-container-ruler{flex-direction:column}.ruler{--color-ruler-background: var(--calcite-color-inverse);--color-ruler-foreground: var(--calcite-color-foreground-1);height:var(--calcite-spacing-xs);box-shadow:0 0 0 1px var(--calcite-color-text-1),0 1px 2px var(--calcite-color-foreground-1)}.ruler:before,.ruler:after{content:"";display:block;height:50%;background-image:linear-gradient(to right,var(--color-ruler-foreground) 0%,var(--color-ruler-foreground) 25%,var(--color-ruler-background) 25%,var(--color-ruler-background) 50%,var(--color-ruler-foreground) 50%,var(--color-ruler-foreground) 75%,var(--color-ruler-background) 75%,var(--color-ruler-background) 100%)}.ruler:after{transform:scaleX(-1)}.bar-container-line:last-child{align-items:flex-start}.line{--line-thickness: var(--calcite-border-width-md);--tic-height: 1.5em;--border-style: var(--line-thickness) solid var(--calcite-color-text-1);background-color:color-mix(in srgb,var(--calcite-color-foreground-1) 50%,transparent);height:var(--tic-height);position:relative;left:0}.line-top{border-bottom:var(--border-style)}.line-bottom{border-top:var(--border-style);top:calc(-1 * var(--line-thickness))}.line-top:before,.line-top:after,.line-bottom:before,.line-bottom:after{content:"";background-color:color-mix(in srgb,var(--calcite-color-foreground-1) 50%,transparent);border-right:var(--border-style);width:1px;height:var(--tic-height);display:block;position:absolute}.line-top:before{bottom:calc(-1 * var(--line-thickness));left:0}.line-top:after{bottom:calc(-1 * var(--line-thickness));right:0}.line-bottom:before{top:calc(-1 * var(--line-thickness));left:0}.line-bottom:after{height:var(--tic-height);top:calc(-1 * var(--line-thickness));right:0}.label-container-line{position:absolute;left:0}.label-container-ruler{justify-content:space-between;width:100%;display:flex;position:relative}.label-container-ruler .label{text-shadow:1px 0 var(--calcite-color-foreground-1),0 1px var(--calcite-color-foreground-1),1px 1px var(--calcite-color-foreground-1),-1px 0 var(--calcite-color-foreground-1),0 -1px var(--calcite-color-foreground-1),-1px -1px var(--calcite-color-foreground-1);padding:6px 0 0}.label-container-top{bottom:0}.label-container-bottom{top:1px}.label{white-space:nowrap;color:var(--calcite-color-text-1);font-size:inherit;padding:0 7px;font-weight:var(--calcite-font-weight-semibold)}:dir(rtl) .ruler{margin:0 .5ch 0 2ch}:dir(rtl) .label-container-line{left:auto;right:0}`, R = S(k);
|
|
18
18
|
class B extends z {
|
|
19
19
|
constructor() {
|
|
20
20
|
super(...arguments), this._defaultUnit = "metric", this.messages = M(), this.viewModel = R(this), this.view = this.viewModel.view, this.autoDestroyDisabled = !1, this.barStyle = "line", this.icon = "actual-size", this.arcgisReady = C();
|
|
@@ -84,21 +84,21 @@ class B extends z {
|
|
|
84
84
|
a && (r = p === "ruler" ? this._renderRuler(a) : this._renderLine(a, "top"));
|
|
85
85
|
}
|
|
86
86
|
}
|
|
87
|
-
return
|
|
87
|
+
return s`<div class=${l(c("root", b.widget, i))} ${v(this._handleContainerRef)}>${r}${n}</div>`;
|
|
88
88
|
}
|
|
89
89
|
_renderRuler(e) {
|
|
90
90
|
const { length: i, unit: r, value: n } = e, t = Math.round(i), o = this._formatDistance(n, r);
|
|
91
|
-
return
|
|
91
|
+
return s`<div class=${l(c("bar-container", "bar-container-ruler"))}><div class="ruler" style=${f({ width: `${t}px` })}></div><div class=${l(c("label-container", "label-container-ruler"))}><div class="label">0</div><div class="label">${o}</div></div></div>`;
|
|
92
92
|
}
|
|
93
93
|
_renderLine(e, i) {
|
|
94
|
-
const { length: r, unit: n, value: t } = e, o = Math.round(r), d = this._formatDistance(t, n), g =
|
|
94
|
+
const { length: r, unit: n, value: t } = e, o = Math.round(r), d = this._formatDistance(t, n), g = s`<div class=${l(c("label-container", "label-container-line", {
|
|
95
95
|
"label-container-top": i === "top",
|
|
96
96
|
"label-container-bottom": i === "bottom"
|
|
97
|
-
}))}><div class="label">${d}</div></div>`, a =
|
|
97
|
+
}))}><div class="label">${d}</div></div>`, a = s`<div class=${l(c("line", {
|
|
98
98
|
"line-top": i === "top",
|
|
99
99
|
"line-bottom": i === "bottom"
|
|
100
100
|
}))} style=${f({ width: `${o}px` })}></div>`;
|
|
101
|
-
return
|
|
101
|
+
return s`<div class=${l(c("bar-container", "bar-container-line"))}>${[a, g]}</div>`;
|
|
102
102
|
}
|
|
103
103
|
}
|
|
104
104
|
m("arcgis-scale-bar", B);
|
|
@@ -23,6 +23,7 @@ import type GroundView from "@arcgis/core/views/GroundView.js";
|
|
|
23
23
|
import type HighlightOptions from "@arcgis/core/views/support/HighlightOptions.js";
|
|
24
24
|
import type Magnifier from "@arcgis/core/views/Magnifier.js";
|
|
25
25
|
import type Navigation from "@arcgis/core/views/navigation/Navigation.js";
|
|
26
|
+
import type ViewOptions from "@arcgis/core/views/interactive/options/ViewOptions.js";
|
|
26
27
|
import type Popup from "@arcgis/core/widgets/Popup.js";
|
|
27
28
|
import type SelectionManager from "@arcgis/core/views/SelectionManager.js";
|
|
28
29
|
import type SpatialReference from "@arcgis/core/geometry/SpatialReference.js";
|
|
@@ -647,6 +648,14 @@ export abstract class ArcgisScene extends LitElement {
|
|
|
647
648
|
* });
|
|
648
649
|
*/
|
|
649
650
|
accessor navigation: Navigation;
|
|
651
|
+
/**
|
|
652
|
+
* Configures snapping, tooltips, and measurement units for supported components and analyses configured to inherit these options from the view.
|
|
653
|
+
* See [ViewOptions](https://developers.arcgis.com/javascript/latest/references/core/views/interactive/options/ViewOptions/) for details.
|
|
654
|
+
*
|
|
655
|
+
* @since 5.2
|
|
656
|
+
* @beta
|
|
657
|
+
*/
|
|
658
|
+
accessor options: ViewOptions;
|
|
650
659
|
/**
|
|
651
660
|
* Use the padding property to make the [center](https://developers.arcgis.com/javascript/latest/references/core/views/SceneView/#center),
|
|
652
661
|
* and [extent](https://developers.arcgis.com/javascript/latest/references/core/views/SceneView/#extent),
|
|
@@ -6,10 +6,10 @@ import { watch as s } from "@arcgis/core/core/reactiveUtils.js";
|
|
|
6
6
|
import v from "@arcgis/core/geometry/Point.js";
|
|
7
7
|
import u from "@arcgis/core/views/SceneView.js";
|
|
8
8
|
import g from "@arcgis/core/WebScene.js";
|
|
9
|
-
import { LitElement as d, createEvent as r, safeClassMap as
|
|
9
|
+
import { LitElement as d, createEvent as r, safeClassMap as o } from "@arcgis/lumina";
|
|
10
10
|
import { reEmitEvent as t } from "@arcgis/lumina-toolkit/reEmitEvent";
|
|
11
11
|
import { makeAccessorController as w, reCreateAccessor as y } from "@arcgis/lumina-toolkit/useAccessor";
|
|
12
|
-
import { createRef as
|
|
12
|
+
import { createRef as n, ref as h } from "lit/directives/ref.js";
|
|
13
13
|
import { U as f, u as b, a as V, b as C } from "../../chunks/useArcgisViewReadyError.js";
|
|
14
14
|
import { s as _ } from "../../chunks/esri-main.js";
|
|
15
15
|
import { s as E } from "../../chunks/slots.js";
|
|
@@ -18,12 +18,12 @@ import { d as P, e as A, b as M, c as R, p as D, i as I } from "../../chunks/com
|
|
|
18
18
|
const k = w(g, {}), L = w(u, {});
|
|
19
19
|
class S extends d {
|
|
20
20
|
constructor() {
|
|
21
|
-
super(), this._attributionMode = null, this._containerRef =
|
|
21
|
+
super(), this._attributionMode = null, this._containerRef = n(), this._mapRef = n(), this._uiController = new f(this), this._cameraProperties = {}, this.arcgisLoadError = b(this), this.arcgisViewReadyError = V(this), this._map = k(this), this.view = L(this), this.allLayerViews = this.view.allLayerViews, this.alphaCompositingEnabled = this.view.alphaCompositingEnabled, this.analyses = this.view.analyses, this.animationsDisabled = this.view.animationsEnabled, this.autoDestroyDisabled = !1, this.basemap = this._map.basemap, this.basemapView = this.view.basemapView, this.canZoomIn = this.view.canZoomIn, this.canZoomOut = this.view.canZoomOut, this.clippingArea = this.view.clippingArea, this.constraints = this.view.constraints, this.displayFilterDisabled = this.view.displayFilterEnabled, this.environment = this.view.environment, this.fatalError = this.view.fatalError, this.floors = this.view.floors, this.graphics = this.view.graphics, this.ground = this._map.ground, this.groundView = this.view.groundView, this.highlights = this.view.highlights, this.layerViews = this.view.layerViews, this.magnifier = this.view.magnifier, this.map = this.view.map, this.navigation = this.view.navigation, this.options = this.view.options, this.padding = this.view.padding, this.popup = this.view.popup, this.popupDisabled = this.view.popupEnabled, this.popupComponentEnabled = !1, this.qualityProfile = this.view.qualityProfile, this.ready = this.view.ready, this.selectionManager = this.view.selectionManager, this.slotGroupRefs = this._uiController.slotGroupRefs, this.spatialReference = this.view.spatialReference, this.suspended = this.view.suspended, this.theme = this.view.theme, this.timeExtent = this.view.timeExtent, this.timeZone = this.view.timeZone, this.viewingMode = this.view.viewingMode, this.visibleArea = this.view.visibleArea, this.arcgisViewAnalysisViewCreate = t(() => this.view, "analysis-view-create"), this.arcgisViewAnalysisViewCreateError = t(() => this.view, "analysis-view-create-error"), this.arcgisViewAnalysisViewDestroy = t(() => this.view, "analysis-view-destroy"), this.arcgisViewChange = r(), this.arcgisViewClick = t(() => this.view, "click"), this.arcgisViewDoubleClick = t(() => this.view, "double-click"), this.arcgisViewDoubleTapDrag = t(() => this.view, "double-tap-drag"), this.arcgisViewDrag = t(() => this.view, "drag"), this.arcgisViewHold = t(() => this.view, "hold"), this.arcgisViewImmediateClick = t(() => this.view, "immediate-click"), this.arcgisViewImmediateDoubleClick = t(() => this.view, "immediate-double-click"), this.arcgisViewKeyDown = t(() => this.view, "key-down"), this.arcgisViewKeyUp = t(() => this.view, "key-up"), this.arcgisViewLayerviewCreate = t(() => this.view, "layerview-create"), this.arcgisViewLayerviewCreateError = t(() => this.view, "layerview-create-error"), this.arcgisViewLayerviewDestroy = t(() => this.view, "layerview-destroy"), this.arcgisViewMouseWheel = t(() => this.view, "mouse-wheel"), this.arcgisViewPointerDown = t(() => this.view, "pointer-down"), this.arcgisViewPointerEnter = t(() => this.view, "pointer-enter"), this.arcgisViewPointerLeave = t(() => this.view, "pointer-leave"), this.arcgisViewPointerMove = t(() => this.view, "pointer-move"), this.arcgisViewPointerUp = t(() => this.view, "pointer-up"), this.arcgisViewReadyChange = r(), this.arcgisViewVerticalTwoFingerDrag = t(() => this.view, "vertical-two-finger-drag"), C(this), this.view.ui = {
|
|
22
22
|
components: []
|
|
23
23
|
};
|
|
24
24
|
}
|
|
25
25
|
static {
|
|
26
|
-
this.properties = { _map: 16, aria: 0, view: 32, allLayerViews: 32, alphaCompositingEnabled: 5, analyses: 0, animationsDisabled: 5, attributionItems: 32, attributionMode: 1, autoDestroyDisabled: 5, basemap: 1, basemapView: 0, camera: 0, cameraFov: 9, cameraHeading: 9, cameraPosition: 1, cameraTilt: 9, canZoomIn: 36, canZoomOut: 36, center: 1, clippingArea: 0, constraints: 0, displayFilterDisabled: 5, environment: 0, extent: 0, fatalError: 0, floors: 0, focusAreas: 0, gamepad: 32, graphics: 0, ground: 1, groundView: 32, hideAttribution: 5, highlights: 0, interacting: 32, itemId: 3, layerViews: 32, magnifier: 32, map: 0, navigating: 32, navigation: 0, padding: 0, performanceInfo: 32, popup: 0, popupElement: 32, popupDisabled: 5, popupComponentEnabled: 5, qualityProfile: 1, ready: 36, resolution: 32, selectionManager: 32, scale: 9, slotGroupRefs: 32, spatialReference: 0, stationary: 32, suspended: 39, theme: 0, timeExtent: 0, timeZone: 1, updating: 32, viewingMode: 1, viewpoint: 0, visibleArea: 32, zoom: 9, loadErrorSources: 0 };
|
|
26
|
+
this.properties = { _map: 16, aria: 0, view: 32, allLayerViews: 32, alphaCompositingEnabled: 5, analyses: 0, animationsDisabled: 5, attributionItems: 32, attributionMode: 1, autoDestroyDisabled: 5, basemap: 1, basemapView: 0, camera: 0, cameraFov: 9, cameraHeading: 9, cameraPosition: 1, cameraTilt: 9, canZoomIn: 36, canZoomOut: 36, center: 1, clippingArea: 0, constraints: 0, displayFilterDisabled: 5, environment: 0, extent: 0, fatalError: 0, floors: 0, focusAreas: 0, gamepad: 32, graphics: 0, ground: 1, groundView: 32, hideAttribution: 5, highlights: 0, interacting: 32, itemId: 3, layerViews: 32, magnifier: 32, map: 0, navigating: 32, navigation: 0, options: 0, padding: 0, performanceInfo: 32, popup: 0, popupElement: 32, popupDisabled: 5, popupComponentEnabled: 5, qualityProfile: 1, ready: 36, resolution: 32, selectionManager: 32, scale: 9, slotGroupRefs: 32, spatialReference: 0, stationary: 32, suspended: 39, theme: 0, timeExtent: 0, timeZone: 1, updating: 32, viewingMode: 1, viewpoint: 0, visibleArea: 32, zoom: 9, loadErrorSources: 0 };
|
|
27
27
|
}
|
|
28
28
|
static {
|
|
29
29
|
this.styles = [_, E];
|
|
@@ -237,10 +237,10 @@ class S extends d {
|
|
|
237
237
|
i(e), this.camera = e;
|
|
238
238
|
}
|
|
239
239
|
renderMain() {
|
|
240
|
-
return a`<div class=${
|
|
240
|
+
return a`<div class=${o(c.base)} ${h(this._mapRef)}></div>`;
|
|
241
241
|
}
|
|
242
242
|
render() {
|
|
243
|
-
return a`${this.renderMain()}<section class=${
|
|
243
|
+
return a`${this.renderMain()}<section class=${o(c.containerUI)} ${h(this._containerRef)}>${this._uiController.render()}</section>`;
|
|
244
244
|
}
|
|
245
245
|
}
|
|
246
246
|
p("arcgis-scene", S);
|
|
@@ -88,6 +88,22 @@ export abstract class ArcgisSelectionList extends LitElement {
|
|
|
88
88
|
* @since 5.2
|
|
89
89
|
*/
|
|
90
90
|
accessor filterText: string | undefined;
|
|
91
|
+
/**
|
|
92
|
+
* Indicates whether the selection count chip should be hidden. The chip shows the total
|
|
93
|
+
* count of selected features and a `close` button for clearing the selection.
|
|
94
|
+
*
|
|
95
|
+
* @default false
|
|
96
|
+
* @since 5.2
|
|
97
|
+
*/
|
|
98
|
+
accessor hideChip: boolean;
|
|
99
|
+
/**
|
|
100
|
+
* Indicates whether the 'close' button on the selection count chip should be hidden.
|
|
101
|
+
* The 'close' button allows users to clear the current selection.
|
|
102
|
+
*
|
|
103
|
+
* @default false
|
|
104
|
+
* @since 5.2
|
|
105
|
+
*/
|
|
106
|
+
accessor hideChipCloseButton: boolean;
|
|
91
107
|
/**
|
|
92
108
|
* Indicates that the filter should be hidden.
|
|
93
109
|
*
|
|
@@ -151,13 +167,6 @@ export abstract class ArcgisSelectionList extends LitElement {
|
|
|
151
167
|
* @since 5.2
|
|
152
168
|
*/
|
|
153
169
|
accessor hideMenu: boolean;
|
|
154
|
-
/**
|
|
155
|
-
* Indicates that the total count should be hidden.
|
|
156
|
-
*
|
|
157
|
-
* @default false
|
|
158
|
-
* @since 5.2
|
|
159
|
-
*/
|
|
160
|
-
accessor hideTotalCount: boolean;
|
|
161
170
|
/**
|
|
162
171
|
* Indicates that the 'zoom to' button should be hidden.
|
|
163
172
|
*
|
|
@@ -237,6 +246,7 @@ export abstract class ArcgisSelectionList extends LitElement {
|
|
|
237
246
|
componentLabel: string;
|
|
238
247
|
allLayersCount: string;
|
|
239
248
|
clear: string;
|
|
249
|
+
clearSelectionCount: string;
|
|
240
250
|
collapseAll: string;
|
|
241
251
|
deselectFeature: string;
|
|
242
252
|
deselectGroup: string;
|
|
@@ -262,6 +272,7 @@ export abstract class ArcgisSelectionList extends LitElement {
|
|
|
262
272
|
componentLabel: string;
|
|
263
273
|
allLayersCount: string;
|
|
264
274
|
clear: string;
|
|
275
|
+
clearSelectionCount: string;
|
|
265
276
|
collapseAll: string;
|
|
266
277
|
deselectFeature: string;
|
|
267
278
|
deselectGroup: string;
|
|
@@ -348,7 +359,7 @@ export abstract class ArcgisSelectionList extends LitElement {
|
|
|
348
359
|
/**
|
|
349
360
|
* Utility method to deselect any group, layer or feature item.
|
|
350
361
|
*
|
|
351
|
-
* @param item
|
|
362
|
+
* @param item - The list item to deselect.
|
|
352
363
|
* @since 5.2
|
|
353
364
|
*/
|
|
354
365
|
deselectItem(item: ListItem): Promise<void>;
|
|
@@ -379,14 +390,14 @@ export abstract class ArcgisSelectionList extends LitElement {
|
|
|
379
390
|
/**
|
|
380
391
|
* Repositions the view to center based on the chosen item.
|
|
381
392
|
*
|
|
382
|
-
* @param item
|
|
393
|
+
* @param item - The list item for which to reposition the view.
|
|
383
394
|
* @since 5.2
|
|
384
395
|
*/
|
|
385
396
|
goToItem(item: ListItem): Promise<void>;
|
|
386
397
|
/**
|
|
387
398
|
* Removes specific features from the selection, based on the provided layer and object IDs.
|
|
388
399
|
*
|
|
389
|
-
* @param params
|
|
400
|
+
* @param params - An object containing the layer and selection to remove.
|
|
390
401
|
* @since 5.2
|
|
391
402
|
*/
|
|
392
403
|
removeFromSelection(params: {
|
|
@@ -396,7 +407,7 @@ export abstract class ArcgisSelectionList extends LitElement {
|
|
|
396
407
|
/**
|
|
397
408
|
* Replaces an active selection, based on the provided layer and object IDs.
|
|
398
409
|
*
|
|
399
|
-
* @param params
|
|
410
|
+
* @param params - An object containing the layer and selection to replace.
|
|
400
411
|
* @since 5.2
|
|
401
412
|
*/
|
|
402
413
|
replace(params: {
|
|
@@ -406,15 +417,25 @@ export abstract class ArcgisSelectionList extends LitElement {
|
|
|
406
417
|
/**
|
|
407
418
|
* Selects all features contextual to a given item. Deselects all other features.
|
|
408
419
|
*
|
|
409
|
-
* @param item
|
|
420
|
+
* @param item - The list item for which to select all features.
|
|
410
421
|
* @since 5.2
|
|
411
422
|
*/
|
|
412
423
|
selectItem(item: ListItem): Promise<void>;
|
|
424
|
+
/**
|
|
425
|
+
* Fires when the active selection is cleared via the close button on the selection count chip.
|
|
426
|
+
* This event does not fire when the selection is cleared programmatically, or when the selection is
|
|
427
|
+
* cleared by a different component. For more information about selection changes, use the
|
|
428
|
+
* [selection-change](https://developers.arcgis.com/javascript/latest/references/core/views/SelectionManager/#event-selection-change) event emitted by the associated [selection manager](https://developers.arcgis.com/javascript/latest/references/core/views/SelectionManager/).
|
|
429
|
+
*
|
|
430
|
+
* @since 5.2
|
|
431
|
+
*/
|
|
432
|
+
readonly arcgisClear: import("@arcgis/lumina").TargetedEvent<this, void>;
|
|
413
433
|
/** Emitted when the value of a property is changed. Use this to listen to changes to properties. */
|
|
414
434
|
readonly arcgisPropertyChange: import("@arcgis/lumina").TargetedEvent<this, { name: "state"; }>;
|
|
415
435
|
/** Emitted when the component associated with a map or scene view is ready for user interaction. */
|
|
416
436
|
readonly arcgisReady: import("@arcgis/lumina").TargetedEvent<this, void>;
|
|
417
437
|
readonly "@eventTypes": {
|
|
438
|
+
arcgisClear: ArcgisSelectionList["arcgisClear"]["detail"];
|
|
418
439
|
arcgisPropertyChange: ArcgisSelectionList["arcgisPropertyChange"]["detail"];
|
|
419
440
|
arcgisReady: ArcgisSelectionList["arcgisReady"]["detail"];
|
|
420
441
|
};
|