@arcgis/map-components 4.32.0-next.60 → 4.32.0-next.62
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/arcgis-map-components/{ORRTDOBQ.js → 27EBIGJH.js} +2 -2
- package/dist/arcgis-map-components/{IVA7F4LG.js → 2FX6CYUX.js} +2 -2
- package/dist/arcgis-map-components/{UI4XFIXF.js → 2RV3SZEE.js} +2 -2
- package/dist/arcgis-map-components/{LWL6WQX3.js → 2VK3LY33.js} +2 -2
- package/dist/arcgis-map-components/{YEB52TUD.js → 32KPCPPX.js} +2 -2
- package/dist/arcgis-map-components/{LWQLBAEZ.js → 3HRPOAVF.js} +2 -2
- package/dist/arcgis-map-components/{WKJ6KVZJ.js → 4MNBBKVT.js} +2 -2
- package/dist/arcgis-map-components/{VKBJZJJH.js → 5NIZDBPD.js} +2 -2
- package/dist/arcgis-map-components/{QRHQHXGD.js → 5TG4ST32.js} +2 -2
- package/dist/arcgis-map-components/{PCPCZ4LJ.js → 5WN73DR5.js} +2 -2
- package/dist/arcgis-map-components/{X3UKPUAC.js → 7GU22GQO.js} +2 -2
- package/dist/arcgis-map-components/{IBHDZM52.js → A5FWO3NX.js} +2 -2
- package/dist/arcgis-map-components/{YZ3MIOPW.js → ARZDMXZK.js} +2 -2
- package/dist/arcgis-map-components/{5ZJUQYAW.js → B4GUBPRC.js} +2 -2
- package/dist/arcgis-map-components/{JRX66GDA.js → C66EPFC7.js} +2 -2
- package/dist/arcgis-map-components/{UJ2GTVNA.js → CH3T2ZCN.js} +1 -1
- package/dist/arcgis-map-components/{F6K6F5IF.js → DPRPPXN2.js} +2 -2
- package/dist/arcgis-map-components/{6ZIK4XAM.js → EX2ZDIH7.js} +2 -2
- package/dist/arcgis-map-components/{A7XXFCBF.js → FAI5QPRI.js} +2 -2
- package/dist/arcgis-map-components/{JQAE745S.js → FBPUVNRJ.js} +2 -2
- package/dist/arcgis-map-components/{YDHD4L2B.js → FEYU5GIU.js} +2 -2
- package/dist/arcgis-map-components/{XPTGJZWX.js → FIVJT2JM.js} +2 -2
- package/dist/arcgis-map-components/FO5EBNQR.js +6 -0
- package/dist/arcgis-map-components/{MP6GWSSU.js → GIIF7VAB.js} +2 -2
- package/dist/arcgis-map-components/{VXFBTDUD.js → GKPAZVEV.js} +2 -2
- package/dist/arcgis-map-components/{ABHIZQHE.js → GZC6IX7L.js} +2 -2
- package/dist/arcgis-map-components/{TMLXI6M2.js → GZDNLOAF.js} +2 -2
- package/dist/arcgis-map-components/{LZ5M5G3Z.js → H7HQCA7D.js} +2 -2
- package/dist/arcgis-map-components/{6S4MW2BB.js → HGRLUWRJ.js} +1 -1
- package/dist/arcgis-map-components/{KJMRT76F.js → HJJALM5N.js} +2 -2
- package/dist/arcgis-map-components/{T2FH7SXH.js → HNYQAAWS.js} +2 -2
- package/dist/arcgis-map-components/{MH3ZSES5.js → HTCCKTRA.js} +2 -2
- package/dist/arcgis-map-components/{PBKBDIWX.js → IQ73555Y.js} +2 -2
- package/dist/arcgis-map-components/{5AD3J3WZ.js → JE6II4MS.js} +2 -2
- package/dist/arcgis-map-components/{6OQZSHTI.js → JEQA22TD.js} +2 -2
- package/dist/arcgis-map-components/{JFV55523.js → KHGYISIQ.js} +2 -2
- package/dist/arcgis-map-components/{VHOXKQKW.js → L3A276PR.js} +2 -2
- package/dist/arcgis-map-components/{ZT3E7CX4.js → L6YZWTGY.js} +2 -2
- package/dist/arcgis-map-components/{L2T5PX6D.js → L7N4HEUN.js} +2 -2
- package/dist/arcgis-map-components/{IRA3A7ER.js → LYHKMXQV.js} +2 -2
- package/dist/arcgis-map-components/{7KM6GUXI.js → M66STM7A.js} +2 -2
- package/dist/arcgis-map-components/{RXO73ZYS.js → MT235K3L.js} +2 -2
- package/dist/arcgis-map-components/{5PES2MYN.js → MYF537YH.js} +2 -2
- package/dist/arcgis-map-components/{K675CHXY.js → NOP46UWO.js} +2 -2
- package/dist/arcgis-map-components/{MWROPLRT.js → NUMGX6XQ.js} +2 -2
- package/dist/arcgis-map-components/{WYUYN4HV.js → NZGOOMP6.js} +2 -2
- package/dist/arcgis-map-components/{O7O6VVS7.js → O7PVZE37.js} +2 -2
- package/dist/arcgis-map-components/{FCW767UN.js → OHEHITWE.js} +2 -2
- package/dist/arcgis-map-components/{MBAOGAZF.js → OUU4WU2Q.js} +2 -2
- package/dist/arcgis-map-components/{OWTZYTZK.js → OYBZLDKW.js} +2 -2
- package/dist/arcgis-map-components/{6F4EFXOR.js → PFDABCK2.js} +2 -2
- package/dist/arcgis-map-components/{FJ5FLW3T.js → Q3NCLS4J.js} +2 -2
- package/dist/arcgis-map-components/{XIBJCSHU.js → QLEGJGOY.js} +2 -2
- package/dist/arcgis-map-components/{RXPAJCC6.js → QLX77FXJ.js} +2 -2
- package/dist/arcgis-map-components/{AKRGSWUP.js → QPT77X5U.js} +2 -2
- package/dist/arcgis-map-components/{YLLLQ5JT.js → S4IIANNF.js} +2 -2
- package/dist/arcgis-map-components/{G7COWM6W.js → SGZBXHEJ.js} +2 -2
- package/dist/arcgis-map-components/{4A6HP6AN.js → SMROOJDK.js} +2 -2
- package/dist/arcgis-map-components/{6CNNXBPW.js → STXCKGYE.js} +2 -2
- package/dist/arcgis-map-components/{UU6MMPXX.js → SXZPIYQO.js} +2 -2
- package/dist/arcgis-map-components/{FIO7NMQ5.js → UDUBE6V4.js} +2 -2
- package/dist/arcgis-map-components/{SUBX3HNX.js → UN46GICX.js} +3 -3
- package/dist/arcgis-map-components/{6SMKANSL.js → V423XGAT.js} +2 -2
- package/dist/arcgis-map-components/{3AOOMSGJ.js → VIOK3D24.js} +2 -2
- package/dist/arcgis-map-components/VSQ2WUSN.js +6 -0
- package/dist/arcgis-map-components/{WIXDXBHJ.js → XXNM2PQY.js} +2 -2
- package/dist/arcgis-map-components/{RR6KRX3G.js → Y2BQJO5P.js} +2 -2
- package/dist/arcgis-map-components/Y6I5I7AJ.js +6 -0
- package/dist/arcgis-map-components/{5ZVQQPLP.js → YIBWFKXX.js} +2 -2
- package/dist/arcgis-map-components/{S2NOEYYJ.js → YJ5NSAVF.js} +2 -2
- package/dist/arcgis-map-components/{CBONLZA2.js → ZPEGTP35.js} +2 -2
- package/dist/arcgis-map-components/{OEFYPCIM.js → ZZ2EIIA6.js} +2 -2
- package/dist/arcgis-map-components/arcgis-map-components.esm.js +2 -2
- package/dist/arcgis-map-components/assets/swipe/t9n/swipe.json +1 -0
- package/dist/arcgis-map-components/assets/swipe/t9n/swipe.t9n.ar.json +1 -0
- package/dist/arcgis-map-components/assets/swipe/t9n/swipe.t9n.bg.json +1 -0
- package/dist/arcgis-map-components/assets/swipe/t9n/swipe.t9n.bs.json +1 -0
- package/dist/arcgis-map-components/assets/swipe/t9n/swipe.t9n.ca.json +1 -0
- package/dist/arcgis-map-components/assets/swipe/t9n/swipe.t9n.cs.json +1 -0
- package/dist/arcgis-map-components/assets/swipe/t9n/swipe.t9n.da.json +1 -0
- package/dist/arcgis-map-components/assets/swipe/t9n/swipe.t9n.de.json +1 -0
- package/dist/arcgis-map-components/assets/swipe/t9n/swipe.t9n.el.json +1 -0
- package/dist/arcgis-map-components/assets/swipe/t9n/swipe.t9n.en.json +1 -0
- package/dist/arcgis-map-components/assets/swipe/t9n/swipe.t9n.es.json +1 -0
- package/dist/arcgis-map-components/assets/swipe/t9n/swipe.t9n.et.json +1 -0
- package/dist/arcgis-map-components/assets/swipe/t9n/swipe.t9n.fi.json +1 -0
- package/dist/arcgis-map-components/assets/swipe/t9n/swipe.t9n.fr.json +1 -0
- package/dist/arcgis-map-components/assets/swipe/t9n/swipe.t9n.he.json +1 -0
- package/dist/arcgis-map-components/assets/swipe/t9n/swipe.t9n.hr.json +1 -0
- package/dist/arcgis-map-components/assets/swipe/t9n/swipe.t9n.hu.json +1 -0
- package/dist/arcgis-map-components/assets/swipe/t9n/swipe.t9n.id.json +1 -0
- package/dist/arcgis-map-components/assets/swipe/t9n/swipe.t9n.it.json +1 -0
- package/dist/arcgis-map-components/assets/swipe/t9n/swipe.t9n.ja.json +1 -0
- package/dist/arcgis-map-components/assets/swipe/t9n/swipe.t9n.ko.json +1 -0
- package/dist/arcgis-map-components/assets/swipe/t9n/swipe.t9n.lt.json +1 -0
- package/dist/arcgis-map-components/assets/swipe/t9n/swipe.t9n.lv.json +1 -0
- package/dist/arcgis-map-components/assets/swipe/t9n/swipe.t9n.nb.json +1 -0
- package/dist/arcgis-map-components/assets/swipe/t9n/swipe.t9n.nl.json +1 -0
- package/dist/arcgis-map-components/assets/swipe/t9n/swipe.t9n.pl.json +1 -0
- package/dist/arcgis-map-components/assets/swipe/t9n/swipe.t9n.pt-BR.json +1 -0
- package/dist/arcgis-map-components/assets/swipe/t9n/swipe.t9n.pt-PT.json +1 -0
- package/dist/arcgis-map-components/assets/swipe/t9n/swipe.t9n.ro.json +1 -0
- package/dist/arcgis-map-components/assets/swipe/t9n/swipe.t9n.ru.json +1 -0
- package/dist/arcgis-map-components/assets/swipe/t9n/swipe.t9n.sk.json +1 -0
- package/dist/arcgis-map-components/assets/swipe/t9n/swipe.t9n.sl.json +1 -0
- package/dist/arcgis-map-components/assets/swipe/t9n/swipe.t9n.sr.json +1 -0
- package/dist/arcgis-map-components/assets/swipe/t9n/swipe.t9n.sv.json +1 -0
- package/dist/arcgis-map-components/assets/swipe/t9n/swipe.t9n.th.json +1 -0
- package/dist/arcgis-map-components/assets/swipe/t9n/swipe.t9n.tr.json +1 -0
- package/dist/arcgis-map-components/assets/swipe/t9n/swipe.t9n.uk.json +1 -0
- package/dist/arcgis-map-components/assets/swipe/t9n/swipe.t9n.vi.json +1 -0
- package/dist/arcgis-map-components/assets/swipe/t9n/swipe.t9n.zh-CN.json +1 -0
- package/dist/arcgis-map-components/assets/swipe/t9n/swipe.t9n.zh-HK.json +1 -0
- package/dist/arcgis-map-components/assets/swipe/t9n/swipe.t9n.zh-TW.json +1 -0
- package/dist/chunks/basemap-gallery-item.js +1 -1
- package/dist/chunks/component-utils.js +1 -1
- package/dist/chunks/disconnected.js +1 -1
- package/dist/chunks/globalCss.js +1 -1
- package/dist/chunks/legacyIcon.js +108 -0
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/useViewModel.js +1 -1
- package/dist/chunks/useWidget.js +1 -1
- package/dist/components/arcgis-area-measurement-2d/customElement.js +1 -1
- package/dist/components/arcgis-area-measurement-3d/customElement.js +1 -1
- package/dist/components/arcgis-attachments/customElement.js +1 -1
- package/dist/components/arcgis-basemap-gallery/components/basemap-gallery-item/customElement.js +1 -1
- package/dist/components/arcgis-basemap-gallery/customElement.js +1 -1
- package/dist/components/arcgis-basemap-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-basemap-toggle/customElement.js +1 -1
- package/dist/components/arcgis-bookmarks/customElement.js +1 -1
- package/dist/components/arcgis-building-explorer/customElement.js +1 -1
- package/dist/components/arcgis-catalog-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-compass/customElement.js +1 -1
- package/dist/components/arcgis-coordinate-conversion/customElement.js +1 -1
- package/dist/components/arcgis-daylight/customElement.js +1 -1
- package/dist/components/arcgis-directional-pad/customElement.js +1 -1
- package/dist/components/arcgis-directions/customElement.js +1 -1
- package/dist/components/arcgis-directline-measurement-3d/customElement.js +1 -1
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +1 -1
- package/dist/components/arcgis-editor/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile/customElement.js +1 -1
- package/dist/components/arcgis-expand/customElement.js +1 -1
- package/dist/components/arcgis-feature/customElement.js +1 -1
- package/dist/components/arcgis-feature-form/customElement.js +1 -1
- package/dist/components/arcgis-feature-table/customElement.js +1 -1
- package/dist/components/arcgis-feature-templates/customElement.js +1 -1
- package/dist/components/arcgis-features/customElement.js +1 -1
- package/dist/components/arcgis-floor-filter/customElement.js +1 -1
- package/dist/components/arcgis-fullscreen/customElement.js +1 -1
- package/dist/components/arcgis-histogram/customElement.js +1 -1
- package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-home/customElement.js +1 -1
- package/dist/components/arcgis-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-legend/customElement.js +1 -1
- package/dist/components/arcgis-line-of-sight/customElement.js +1 -1
- package/dist/components/arcgis-locate/customElement.js +30 -128
- package/dist/components/arcgis-map/customElement.js +1 -1
- package/dist/components/arcgis-measurement/customElement.js +1 -1
- package/dist/components/arcgis-navigation-toggle/customElement.js +1 -1
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +1 -1
- package/dist/components/arcgis-placement/customElement.js +1 -1
- package/dist/components/arcgis-print/customElement.js +1 -1
- package/dist/components/arcgis-scale-bar/customElement.js +1 -1
- package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-scene/customElement.js +1 -1
- package/dist/components/arcgis-search/customElement.js +1 -1
- package/dist/components/arcgis-shadow-cast/customElement.js +1 -1
- package/dist/components/arcgis-sketch/customElement.js +1 -1
- package/dist/components/arcgis-slice/customElement.js +1 -1
- package/dist/components/arcgis-slider/customElement.js +1 -1
- package/dist/components/arcgis-swipe/customElement.d.ts +57 -22
- package/dist/components/arcgis-swipe/customElement.js +103 -13
- package/dist/components/arcgis-table-list/customElement.js +1 -1
- package/dist/components/arcgis-time-slider/customElement.js +1 -1
- package/dist/components/arcgis-track/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -1
- package/dist/components/arcgis-value-picker/customElement.js +1 -1
- package/dist/components/arcgis-version-management/customElement.js +1 -1
- package/dist/components/arcgis-version-management-service-item/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-item/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-list/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
- package/dist/components/arcgis-weather/customElement.js +1 -1
- package/dist/components/arcgis-zoom/customElement.js +1 -1
- package/dist/docs/api.json +272 -25
- package/dist/docs/docs.json +198 -17
- package/dist/docs/vscode.html-custom-data.json +57 -6
- package/dist/docs/web-types.json +94 -18
- package/dist/index.js +1 -1
- package/dist/loader.js +2 -2
- package/dist/types/lumina.d.ts +1 -1
- package/dist/types/preact.d.ts +1 -1
- package/dist/types/react.d.ts +1 -1
- package/dist/types/stencil.d.ts +1 -1
- package/package.json +5 -5
- package/dist/arcgis-map-components/2WJGC4OW.js +0 -6
- package/dist/arcgis-map-components/YEMZQQYO.js +0 -6
package/dist/chunks/runtime.js
CHANGED
|
@@ -2,7 +2,7 @@ import { makeRuntime as t } from "@arcgis/lumina";
|
|
|
2
2
|
/*!
|
|
3
3
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
4
4
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
5
|
-
* v4.32.0-next.
|
|
5
|
+
* v4.32.0-next.62
|
|
6
6
|
*/
|
|
7
7
|
const s = t({ defaultAssetPath: "https://jsdev.arcgis.com/map-components/next/", hydratedAttribute: "hydrated" }), { customElement: a, getAssetPath: m, setAssetPath: o } = s;
|
|
8
8
|
export {
|
|
@@ -5,7 +5,7 @@ import { a as o } from "./component-utils.js";
|
|
|
5
5
|
/*!
|
|
6
6
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
7
7
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
8
|
-
* v4.32.0-next.
|
|
8
|
+
* v4.32.0-next.62
|
|
9
9
|
*/
|
|
10
10
|
const V = l(p), E = (s, e) => (i, t) => y(i, s, t);
|
|
11
11
|
class w extends d {
|
package/dist/chunks/useWidget.js
CHANGED
|
@@ -4,7 +4,7 @@ import { a as l } from "./component-utils.js";
|
|
|
4
4
|
/*!
|
|
5
5
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
6
6
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
7
|
-
* v4.32.0-next.
|
|
7
|
+
* v4.32.0-next.62
|
|
8
8
|
*/
|
|
9
9
|
const P = (d, s) => (i, e) => _(i, d, e);
|
|
10
10
|
class y extends p {
|
|
@@ -7,7 +7,7 @@ import { css as n } from "@lit/reactive-element/css-tag.js";
|
|
|
7
7
|
/*!
|
|
8
8
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
9
9
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
10
|
-
* v4.32.0-next.
|
|
10
|
+
* v4.32.0-next.62
|
|
11
11
|
*/
|
|
12
12
|
const m = n`arcgis-area-measurement-2d{display:block}`, h = i(
|
|
13
13
|
// Workaround for https://devtopia.esri.com/WebGIS/arcgis-js-api/issues/61559
|
|
@@ -7,7 +7,7 @@ import { css as n } from "@lit/reactive-element/css-tag.js";
|
|
|
7
7
|
/*!
|
|
8
8
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
9
9
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
10
|
-
* v4.32.0-next.
|
|
10
|
+
* v4.32.0-next.62
|
|
11
11
|
*/
|
|
12
12
|
const l = n`arcgis-area-measurement-3d{display:block}`, d = i(e);
|
|
13
13
|
class h extends a {
|
|
@@ -7,7 +7,7 @@ import { css as h } from "@lit/reactive-element/css-tag.js";
|
|
|
7
7
|
/*!
|
|
8
8
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
9
9
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
10
|
-
* v4.32.0-next.
|
|
10
|
+
* v4.32.0-next.62
|
|
11
11
|
*/
|
|
12
12
|
const n = h`arcgis-attachments{display:block}`, r = i(e);
|
|
13
13
|
class l extends a {
|
package/dist/components/arcgis-basemap-gallery/components/basemap-gallery-item/customElement.js
CHANGED
|
@@ -7,7 +7,7 @@ import "../../../../chunks/globalCss.js";
|
|
|
7
7
|
/*!
|
|
8
8
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
9
9
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
10
|
-
* v4.32.0-next.
|
|
10
|
+
* v4.32.0-next.62
|
|
11
11
|
*/
|
|
12
12
|
export {
|
|
13
13
|
e as BasemapGalleryItem
|
|
@@ -12,7 +12,7 @@ import { css as D } from "@lit/reactive-element/css-tag.js";
|
|
|
12
12
|
/*!
|
|
13
13
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
14
14
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
15
|
-
* v4.32.0-next.
|
|
15
|
+
* v4.32.0-next.62
|
|
16
16
|
*/
|
|
17
17
|
function S({ level: o, class: t, children: e }) {
|
|
18
18
|
const s = G(o), i = `h${s}`, a = I(i);
|
|
@@ -8,7 +8,7 @@ import { css as h } from "@lit/reactive-element/css-tag.js";
|
|
|
8
8
|
/*!
|
|
9
9
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
10
10
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
11
|
-
* v4.32.0-next.
|
|
11
|
+
* v4.32.0-next.62
|
|
12
12
|
*/
|
|
13
13
|
const n = h`arcgis-basemap-layer-list{display:block}`, d = s(i);
|
|
14
14
|
class c extends r {
|
|
@@ -10,7 +10,7 @@ import { css as L } from "@lit/reactive-element/css-tag.js";
|
|
|
10
10
|
/*!
|
|
11
11
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
12
12
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
13
|
-
* v4.32.0-next.
|
|
13
|
+
* v4.32.0-next.62
|
|
14
14
|
*/
|
|
15
15
|
const s = "esri-basemap-toggle", o = "esri-basemap-thumbnail", e = {
|
|
16
16
|
base: s,
|
|
@@ -8,7 +8,7 @@ import { css as d } from "@lit/reactive-element/css-tag.js";
|
|
|
8
8
|
/*!
|
|
9
9
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
10
10
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
11
|
-
* v4.32.0-next.
|
|
11
|
+
* v4.32.0-next.62
|
|
12
12
|
*/
|
|
13
13
|
const r = d`arcgis-bookmarks{display:block}`, n = o(e);
|
|
14
14
|
class m extends a {
|
|
@@ -7,7 +7,7 @@ import { css as r } from "@lit/reactive-element/css-tag.js";
|
|
|
7
7
|
/*!
|
|
8
8
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
9
9
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
10
|
-
* v4.32.0-next.
|
|
10
|
+
* v4.32.0-next.62
|
|
11
11
|
*/
|
|
12
12
|
const a = r`arcgis-building-explorer{display:block}`, d = s(i);
|
|
13
13
|
class n extends l {
|
|
@@ -8,7 +8,7 @@ import { css as h } from "@lit/reactive-element/css-tag.js";
|
|
|
8
8
|
/*!
|
|
9
9
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
10
10
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
11
|
-
* v4.32.0-next.
|
|
11
|
+
* v4.32.0-next.62
|
|
12
12
|
*/
|
|
13
13
|
const d = h`arcgis-catalog-layer-list{display:block}`, n = s(i);
|
|
14
14
|
class c extends o {
|
|
@@ -10,7 +10,7 @@ import { css as $ } from "@lit/reactive-element/css-tag.js";
|
|
|
10
10
|
/*!
|
|
11
11
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
12
12
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
13
|
-
* v4.32.0-next.
|
|
13
|
+
* v4.32.0-next.62
|
|
14
14
|
*/
|
|
15
15
|
const b = $`arcgis-compass{display:block}`, a = "esri-compass", r = {
|
|
16
16
|
base: a,
|
|
@@ -7,7 +7,7 @@ import { css as h } from "@lit/reactive-element/css-tag.js";
|
|
|
7
7
|
/*!
|
|
8
8
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
9
9
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
10
|
-
* v4.32.0-next.
|
|
10
|
+
* v4.32.0-next.62
|
|
11
11
|
*/
|
|
12
12
|
const l = h`arcgis-coordinate-conversion{display:block}`, c = n(s);
|
|
13
13
|
class g extends r {
|
|
@@ -6,7 +6,7 @@ import { css as h } from "@lit/reactive-element/css-tag.js";
|
|
|
6
6
|
/*!
|
|
7
7
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
8
8
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
9
|
-
* v4.32.0-next.
|
|
9
|
+
* v4.32.0-next.62
|
|
10
10
|
*/
|
|
11
11
|
const o = h`arcgis-daylight{display:block}`, d = t(i);
|
|
12
12
|
class n extends s {
|
|
@@ -7,7 +7,7 @@ import { css as l } from "@lit/reactive-element/css-tag.js";
|
|
|
7
7
|
/*!
|
|
8
8
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
9
9
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
10
|
-
* v4.32.0-next.
|
|
10
|
+
* v4.32.0-next.62
|
|
11
11
|
*/
|
|
12
12
|
const d = l`arcgis-directional-pad{display:block}`, c = s(i);
|
|
13
13
|
class n extends a {
|
|
@@ -8,7 +8,7 @@ import { css as u } from "@lit/reactive-element/css-tag.js";
|
|
|
8
8
|
/*!
|
|
9
9
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
10
10
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
11
|
-
* v4.32.0-next.
|
|
11
|
+
* v4.32.0-next.62
|
|
12
12
|
*/
|
|
13
13
|
const y = u`arcgis-directions{display:block}`, m = d(r), i = "map-components:arcgis-directions";
|
|
14
14
|
class g extends l {
|
|
@@ -7,7 +7,7 @@ import { css as n } from "@lit/reactive-element/css-tag.js";
|
|
|
7
7
|
/*!
|
|
8
8
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
9
9
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
10
|
-
* v4.32.0-next.
|
|
10
|
+
* v4.32.0-next.62
|
|
11
11
|
*/
|
|
12
12
|
const l = n`arcgis-directline-measurement-3d{display:block}`, c = s(e);
|
|
13
13
|
class d extends a {
|
|
@@ -7,7 +7,7 @@ import { css as n } from "@lit/reactive-element/css-tag.js";
|
|
|
7
7
|
/*!
|
|
8
8
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
9
9
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
10
|
-
* v4.32.0-next.
|
|
10
|
+
* v4.32.0-next.62
|
|
11
11
|
*/
|
|
12
12
|
const c = n`arcgis-distance-measurement-2d{display:block}`, m = i(e);
|
|
13
13
|
class d extends o {
|
|
@@ -7,7 +7,7 @@ import { css as r } from "@lit/reactive-element/css-tag.js";
|
|
|
7
7
|
/*!
|
|
8
8
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
9
9
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
10
|
-
* v4.32.0-next.
|
|
10
|
+
* v4.32.0-next.62
|
|
11
11
|
*/
|
|
12
12
|
const d = r`arcgis-editor{display:block}`, g = o(i);
|
|
13
13
|
class h extends l {
|
|
@@ -7,7 +7,7 @@ import { css as l } from "@lit/reactive-element/css-tag.js";
|
|
|
7
7
|
/*!
|
|
8
8
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
9
9
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
10
|
-
* v4.32.0-next.
|
|
10
|
+
* v4.32.0-next.62
|
|
11
11
|
*/
|
|
12
12
|
const r = l`arcgis-elevation-profile{display:block}`, a = s(i);
|
|
13
13
|
class d extends o {
|
|
@@ -6,7 +6,7 @@ import { css as n } from "@lit/reactive-element/css-tag.js";
|
|
|
6
6
|
/*!
|
|
7
7
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
8
8
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
9
|
-
* v4.32.0-next.
|
|
9
|
+
* v4.32.0-next.62
|
|
10
10
|
*/
|
|
11
11
|
const c = n`arcgis-expand{display:flex;pointer-events:auto}arcgis-expand>.esri-expand__content--expanded{background-color:var(--calcite-color-background)}`, d = i(e);
|
|
12
12
|
class l extends s {
|
|
@@ -7,7 +7,7 @@ import { css as l } from "@lit/reactive-element/css-tag.js";
|
|
|
7
7
|
/*!
|
|
8
8
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
9
9
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
10
|
-
* v4.32.0-next.
|
|
10
|
+
* v4.32.0-next.62
|
|
11
11
|
*/
|
|
12
12
|
const r = l`arcgis-feature{display:block}`, c = a(s);
|
|
13
13
|
class p extends o {
|
|
@@ -8,7 +8,7 @@ import { css as m } from "@lit/reactive-element/css-tag.js";
|
|
|
8
8
|
/*!
|
|
9
9
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
10
10
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
11
|
-
* v4.32.0-next.
|
|
11
|
+
* v4.32.0-next.62
|
|
12
12
|
*/
|
|
13
13
|
const l = m`arcgis-feature-form{display:block}`, g = r(i);
|
|
14
14
|
class n extends a {
|
|
@@ -9,7 +9,7 @@ import { css as c } from "@lit/reactive-element/css-tag.js";
|
|
|
9
9
|
/*!
|
|
10
10
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
11
11
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
12
|
-
* v4.32.0-next.
|
|
12
|
+
* v4.32.0-next.62
|
|
13
13
|
*/
|
|
14
14
|
const u = c`arcgis-feature-table{display:block}.arcgis-feature-table{width:100%;height:100%}`, w = a(d);
|
|
15
15
|
class b extends g {
|
|
@@ -8,7 +8,7 @@ import { css as h } from "@lit/reactive-element/css-tag.js";
|
|
|
8
8
|
/*!
|
|
9
9
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
10
10
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
11
|
-
* v4.32.0-next.
|
|
11
|
+
* v4.32.0-next.62
|
|
12
12
|
*/
|
|
13
13
|
const n = h`arcgis-feature-templates{display:block}`, d = s(e);
|
|
14
14
|
class c extends o {
|
|
@@ -8,7 +8,7 @@ import { css as l } from "@lit/reactive-element/css-tag.js";
|
|
|
8
8
|
/*!
|
|
9
9
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
10
10
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
11
|
-
* v4.32.0-next.
|
|
11
|
+
* v4.32.0-next.62
|
|
12
12
|
*/
|
|
13
13
|
const c = l`arcgis-features{display:block}`, g = o(a);
|
|
14
14
|
class u extends r {
|
|
@@ -6,7 +6,7 @@ import { css as r } from "@lit/reactive-element/css-tag.js";
|
|
|
6
6
|
/*!
|
|
7
7
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
8
8
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
9
|
-
* v4.32.0-next.
|
|
9
|
+
* v4.32.0-next.62
|
|
10
10
|
*/
|
|
11
11
|
const h = r`arcgis-floor-filter{display:block}`, n = s(i);
|
|
12
12
|
class d extends o {
|
|
@@ -10,7 +10,7 @@ import { css as b } from "@lit/reactive-element/css-tag.js";
|
|
|
10
10
|
/*!
|
|
11
11
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
12
12
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
13
|
-
* v4.32.0-next.
|
|
13
|
+
* v4.32.0-next.62
|
|
14
14
|
*/
|
|
15
15
|
const y = b`arcgis-fullscreen{display:block}`, v = {
|
|
16
16
|
base: "esri-fullscreen"
|
|
@@ -7,7 +7,7 @@ import { css as n } from "@lit/reactive-element/css-tag.js";
|
|
|
7
7
|
/*!
|
|
8
8
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
9
9
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
10
|
-
* v4.32.0-next.
|
|
10
|
+
* v4.32.0-next.62
|
|
11
11
|
*/
|
|
12
12
|
const h = n`arcgis-histogram{display:block}`, d = e(i);
|
|
13
13
|
class m extends a {
|
|
@@ -7,7 +7,7 @@ import { css as d } from "@lit/reactive-element/css-tag.js";
|
|
|
7
7
|
/*!
|
|
8
8
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
9
9
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
10
|
-
* v4.32.0-next.
|
|
10
|
+
* v4.32.0-next.62
|
|
11
11
|
*/
|
|
12
12
|
const h = d`arcgis-histogram-range-slider{display:block}`, l = a(e);
|
|
13
13
|
class g extends r {
|
|
@@ -12,7 +12,7 @@ import { css as M } from "@lit/reactive-element/css-tag.js";
|
|
|
12
12
|
/*!
|
|
13
13
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
14
14
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
15
|
-
* v4.32.0-next.
|
|
15
|
+
* v4.32.0-next.62
|
|
16
16
|
*/
|
|
17
17
|
const y = M`arcgis-home{display:block}`, $ = {
|
|
18
18
|
base: "esri-home"
|
|
@@ -8,7 +8,7 @@ import { css as d } from "@lit/reactive-element/css-tag.js";
|
|
|
8
8
|
/*!
|
|
9
9
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
10
10
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
11
|
-
* v4.32.0-next.
|
|
11
|
+
* v4.32.0-next.62
|
|
12
12
|
*/
|
|
13
13
|
const g = d`arcgis-layer-list{display:block}`, c = a(s);
|
|
14
14
|
class m extends r {
|
|
@@ -7,7 +7,7 @@ import { css as n } from "@lit/reactive-element/css-tag.js";
|
|
|
7
7
|
/*!
|
|
8
8
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
9
9
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
10
|
-
* v4.32.0-next.
|
|
10
|
+
* v4.32.0-next.62
|
|
11
11
|
*/
|
|
12
12
|
const d = n`arcgis-legend{display:block}`, h = s(t);
|
|
13
13
|
class l extends r {
|
|
@@ -7,7 +7,7 @@ import { css as n } from "@lit/reactive-element/css-tag.js";
|
|
|
7
7
|
/*!
|
|
8
8
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
9
9
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
10
|
-
* v4.32.0-next.
|
|
10
|
+
* v4.32.0-next.62
|
|
11
11
|
*/
|
|
12
12
|
const l = n`arcgis-line-of-sight{display:block}`, h = e(s);
|
|
13
13
|
class c extends o {
|
|
@@ -1,124 +1,26 @@
|
|
|
1
1
|
import { c as m } from "../../chunks/runtime.js";
|
|
2
|
-
import { html as
|
|
3
|
-
import { g as
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
2
|
+
import { html as i } from "lit-html";
|
|
3
|
+
import { g as l } from "../../chunks/globalCss.js";
|
|
4
|
+
import { l as g } from "../../chunks/legacyIcon.js";
|
|
5
|
+
import { u, m as v } from "../../chunks/useViewModel.js";
|
|
6
|
+
import { classes as f } from "@arcgis/components-utils";
|
|
7
|
+
import { usePropertyChange as w } from "@arcgis/components-controllers";
|
|
8
|
+
import { newWidgetsLocateLocateViewModel as E } from "@arcgis/core-adapter";
|
|
9
|
+
import { LitElement as M, createEvent as b, noShadowRoot as y, safeClassMap as r, nothing as L } from "@arcgis/lumina";
|
|
10
|
+
import { reEmitEvent as n } from "@arcgis/components-controllers/accessor";
|
|
11
|
+
import { createRef as $, ref as _ } from "lit-html/directives/ref.js";
|
|
12
|
+
import { css as D } from "@lit/reactive-element/css-tag.js";
|
|
12
13
|
/*!
|
|
13
14
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
14
15
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
15
|
-
* v4.32.0-next.
|
|
16
|
+
* v4.32.0-next.62
|
|
16
17
|
*/
|
|
17
|
-
const
|
|
18
|
-
arrowDown: "esri-icon-arrow-down",
|
|
19
|
-
arrowUp: "esri-icon-arrow-up",
|
|
20
|
-
basemap: "esri-icon-basemap",
|
|
21
|
-
bookmark: "esri-icon-bookmark",
|
|
22
|
-
calendar: "esri-icon-calendar",
|
|
23
|
-
checkMark: "esri-icon-check-mark",
|
|
24
|
-
checkboxUnchecked: "esri-icon-checkbox-unchecked",
|
|
25
|
-
close: "esri-icon-close",
|
|
26
|
-
collapse: "esri-icon-collapse",
|
|
27
|
-
defaultAction: "esri-icon-default-action",
|
|
28
|
-
description: "esri-icon-description",
|
|
29
|
-
directions: "esri-icon-directions",
|
|
30
|
-
dockBottom: "esri-icon-dock-bottom",
|
|
31
|
-
dockLeft: "esri-icon-dock-left",
|
|
32
|
-
dockRight: "esri-icon-dock-right",
|
|
33
|
-
down: "esri-icon-down",
|
|
34
|
-
downArrow: "esri-icon-down-arrow",
|
|
35
|
-
download: "esri-icon-download",
|
|
36
|
-
dragHorizontal: "esri-icon-drag-horizontal",
|
|
37
|
-
dragVertical: "esri-icon-drag-vertical",
|
|
38
|
-
duplicate: "esri-icon-duplicate",
|
|
39
|
-
edit: "esri-icon-edit",
|
|
40
|
-
elevationProfile: "esri-icon-elevation-profile",
|
|
41
|
-
environmentSettings: "esri-icon-environment-settings",
|
|
42
|
-
erase: "esri-icon-erase",
|
|
43
|
-
error: "esri-icon-error",
|
|
44
|
-
expand: "esri-icon-expand",
|
|
45
|
-
fontFallbackText: "esri-icon-font-fallback-text",
|
|
46
|
-
forward: "esri-icon-forward",
|
|
47
|
-
gear: "esri-icon-gear",
|
|
48
|
-
handleHorizontal: "esri-icon-handle-horizontal",
|
|
49
|
-
handleVertical: "esri-icon-handle-vertical",
|
|
50
|
-
home: "esri-icon-home",
|
|
51
|
-
icon: "esri-icon",
|
|
52
|
-
launchLinkExternal: "esri-icon-launch-link-external",
|
|
53
|
-
layerList: "esri-icon-layer-list",
|
|
54
|
-
layers: "esri-icon-layers",
|
|
55
|
-
left: "esri-icon-left",
|
|
56
|
-
leftArrows: "esri-icon-left-arrow",
|
|
57
|
-
leftTriangleArrow: "esri-icon-left-triangle-arrow",
|
|
58
|
-
lineOfSight: "esri-icon-line-of-sight",
|
|
59
|
-
link: "esri-icon-link",
|
|
60
|
-
linkExternal: "esri-icon-link-external",
|
|
61
|
-
linkHorizontal: "esri-icon-link-horizontal",
|
|
62
|
-
loadingIndicator: "esri-icon-loading-indicator",
|
|
63
|
-
locate: "esri-icon-locate",
|
|
64
|
-
locateCircled: "esri-icon-locate-circled",
|
|
65
|
-
locked: "esri-icon-locked",
|
|
66
|
-
mapPin: "esri-icon-map-pin",
|
|
67
|
-
maximize: "esri-icon-maximize",
|
|
68
|
-
measure: "esri-icon-measure",
|
|
69
|
-
measureArea: "esri-icon-measure-area",
|
|
70
|
-
measureBuildingHeightShadow: "esri-icon-measure-building-height-shadow",
|
|
71
|
-
measureLine: "esri-icon-measure-line",
|
|
72
|
-
menu: "esri-icon-menu",
|
|
73
|
-
minimize: "esri-icon-minimize",
|
|
74
|
-
minus: "esri-icon-minus",
|
|
75
|
-
nonVisible: "esri-icon-non-visible",
|
|
76
|
-
northNavigation: "esri-icon-north-navigation",
|
|
77
|
-
noticeTriangle: "esri-icon-notice-triangle",
|
|
78
|
-
organization: "esri-icon-organization",
|
|
79
|
-
pan: "esri-icon-pan",
|
|
80
|
-
pan2: "esri-icon-pan2",
|
|
81
|
-
partlyCloudy: "esri-icon-partly-cloudy",
|
|
82
|
-
pause: "esri-icon-pause",
|
|
83
|
-
play: "esri-icon-play",
|
|
84
|
-
playCircled: "esri-icon-play-circled",
|
|
85
|
-
plus: "esri-icon-plus",
|
|
86
|
-
polyline: "esri-icon-polyline",
|
|
87
|
-
printer: "esri-icon-printer",
|
|
88
|
-
radioChecked: "esri-icon-radio-checked",
|
|
89
|
-
radioUnchecked: "esri-icon-radio-unchecked",
|
|
90
|
-
refresh: "esri-icon-refresh",
|
|
91
|
-
reverse: "esri-icon-reverse",
|
|
92
|
-
right: "esri-icon-right",
|
|
93
|
-
rightArrow: "esri-icon-right-arrow",
|
|
94
|
-
rightTriangleArrow: "esri-icon-right-triangle-arrow",
|
|
95
|
-
rotate: "esri-icon-rotate",
|
|
96
|
-
save: "esri-icon-save",
|
|
97
|
-
search: "esri-icon-search",
|
|
98
|
-
settings2: "esri-icon-settings2",
|
|
99
|
-
slice: "esri-icon-slice",
|
|
100
|
-
swap: "esri-icon-swap",
|
|
101
|
-
table: "esri-icon-table",
|
|
102
|
-
timeClock: "esri-icon-time-clock",
|
|
103
|
-
tracking: "esri-icon-tracking",
|
|
104
|
-
trash: "esri-icon-trash",
|
|
105
|
-
unlockedLinkHorizontal: "esri-icon-unlocked-link-horizontal",
|
|
106
|
-
up: "esri-icon-up",
|
|
107
|
-
upArrow: "esri-icon-up-arrow",
|
|
108
|
-
upDownArrows: "esri-icon-up-down-arrows",
|
|
109
|
-
urbanModel: "esri-icon-urban-model",
|
|
110
|
-
vertexGps: "esri-icon-vertex-gps",
|
|
111
|
-
visible: "esri-icon-visible",
|
|
112
|
-
zoomInFixed: "esri-icon-zoom-in-fixed",
|
|
113
|
-
zoomInMagnifyingGlass: "esri-icon-zoom-in-magnifying-glass",
|
|
114
|
-
zoomOutFixed: "esri-icon-zoom-out-fixed",
|
|
115
|
-
zoomToObject: "esri-icon-zoom-to-object"
|
|
116
|
-
}, T = x`arcgis-locate{display:block}`, O = {
|
|
18
|
+
const O = D`arcgis-locate{display:block}`, T = {
|
|
117
19
|
base: "esri-locate"
|
|
118
|
-
}, d = "gps-off",
|
|
119
|
-
class
|
|
20
|
+
}, d = "gps-off", B = v(E);
|
|
21
|
+
class I extends M {
|
|
120
22
|
constructor() {
|
|
121
|
-
super(...arguments), this.messages =
|
|
23
|
+
super(...arguments), this.messages = u(), this.viewModel = B(this), this._calciteButton = $(), this.autoDestroyDisabled = !1, this.geolocationOptions = this.viewModel.geolocationOptions, this.goToLocationDisabled = this.viewModel.goToLocationEnabled, this.goToOverride = this.viewModel.goToOverride, this.graphic = this.viewModel.graphic, this.icon = d, this.popupDisabled = this.viewModel.popupEnabled, this.position = "top-left", this.scale = this.viewModel.scale, this.state = this.viewModel.state, this.arcgisError = n(() => this.viewModel, "locate-error"), this.arcgisPropertyChange = w()("state"), this.arcgisReady = b(), this.arcgisSuccess = n(() => this.viewModel, "locate");
|
|
122
24
|
}
|
|
123
25
|
static {
|
|
124
26
|
this.properties = { autoDestroyDisabled: 5, geolocationOptions: 1, goToLocationDisabled: 7, goToOverride: 0, graphic: 0, icon: 3, label: 1, messageOverrides: 0, popupDisabled: 5, position: 3, referenceElement: 1, scale: 9, state: 3 };
|
|
@@ -127,7 +29,7 @@ class D extends k {
|
|
|
127
29
|
this.shadowRootOptions = y;
|
|
128
30
|
}
|
|
129
31
|
static {
|
|
130
|
-
this.styles =
|
|
32
|
+
this.styles = O;
|
|
131
33
|
}
|
|
132
34
|
// #endregion
|
|
133
35
|
// #region Public Methods
|
|
@@ -155,33 +57,33 @@ class D extends k {
|
|
|
155
57
|
return;
|
|
156
58
|
if (this.viewModel.state === "locating") {
|
|
157
59
|
if (!this._calciteButton.value.children[0]) {
|
|
158
|
-
const
|
|
159
|
-
|
|
60
|
+
const t = document.createElement("calcite-loader");
|
|
61
|
+
t.inline = !0, t.label = "", this._calciteButton.value.append(t);
|
|
160
62
|
}
|
|
161
63
|
} else
|
|
162
64
|
this._calciteButton.value.children[0]?.remove();
|
|
163
65
|
}
|
|
164
66
|
// #endregion
|
|
165
67
|
// #region Private Methods
|
|
166
|
-
_localizeError(
|
|
167
|
-
if (
|
|
168
|
-
return
|
|
169
|
-
if (
|
|
170
|
-
return
|
|
68
|
+
_localizeError(e) {
|
|
69
|
+
if (e instanceof GeolocationPositionError)
|
|
70
|
+
return e.code === GeolocationPositionError.PERMISSION_DENIED ? this.messages?.permissionError : e.code === GeolocationPositionError.TIMEOUT ? this.messages?.timeoutError : this.messages?.positionUnavailable;
|
|
71
|
+
if (e instanceof Error)
|
|
72
|
+
return e.message;
|
|
171
73
|
}
|
|
172
74
|
_locate() {
|
|
173
|
-
const { viewModel:
|
|
174
|
-
|
|
75
|
+
const { viewModel: e } = this;
|
|
76
|
+
e.state === "locating" ? e.cancelLocate() : e.locate().catch(() => {
|
|
175
77
|
});
|
|
176
78
|
}
|
|
177
79
|
// #endregion
|
|
178
80
|
// #region Rendering
|
|
179
81
|
render() {
|
|
180
|
-
const { viewModel:
|
|
181
|
-
return
|
|
82
|
+
const { viewModel: e, icon: t } = this, { state: o } = e, s = o === "locating", a = s ? this.messages.cancel : this.messages.title, h = o === "feature-unsupported", p = g === void 0 ? d : void 0, c = this._localizeError(this.viewModel?.error);
|
|
83
|
+
return i`<div class=${r(f(T.base, l.widget))}>${!h && i`<calcite-button class=${r(l.widgetButton)} .disabled=${o === "disabled"} .iconStart=${s ? void 0 : t ?? p} kind=neutral .label=${a} @click=${this._locate} title=${a ?? L} ${_(this._calciteButton)}></calcite-button>` || ""}${c ? i`<calcite-tooltip open overlay-positioning=fixed .referenceElement=${this.el}>${c}</calcite-tooltip>` : null}</div>`;
|
|
182
84
|
}
|
|
183
85
|
}
|
|
184
|
-
m("arcgis-locate",
|
|
86
|
+
m("arcgis-locate", I);
|
|
185
87
|
export {
|
|
186
|
-
|
|
88
|
+
I as ArcgisLocate
|
|
187
89
|
};
|
|
@@ -8,7 +8,7 @@ import { css as y } from "@lit/reactive-element/css-tag.js";
|
|
|
8
8
|
/*!
|
|
9
9
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
10
10
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
11
|
-
* v4.32.0-next.
|
|
11
|
+
* v4.32.0-next.62
|
|
12
12
|
*/
|
|
13
13
|
const f = y`.arcgis-map{padding:0;margin:0;height:100%;width:100%}`, V = h(
|
|
14
14
|
v,
|
|
@@ -7,7 +7,7 @@ import { css as n } from "@lit/reactive-element/css-tag.js";
|
|
|
7
7
|
/*!
|
|
8
8
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
9
9
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
10
|
-
* v4.32.0-next.
|
|
10
|
+
* v4.32.0-next.62
|
|
11
11
|
*/
|
|
12
12
|
const c = n`arcgis-measurement{display:block}`, h = s(e);
|
|
13
13
|
class l extends a {
|
|
@@ -7,7 +7,7 @@ import { css as g } from "@lit/reactive-element/css-tag.js";
|
|
|
7
7
|
/*!
|
|
8
8
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
9
9
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
10
|
-
* v4.32.0-next.
|
|
10
|
+
* v4.32.0-next.62
|
|
11
11
|
*/
|
|
12
12
|
const l = g`arcgis-navigation-toggle{display:block}`, n = s(i);
|
|
13
13
|
class h extends o {
|
|
@@ -7,7 +7,7 @@ import { css as h } from "@lit/reactive-element/css-tag.js";
|
|
|
7
7
|
/*!
|
|
8
8
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
9
9
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
10
|
-
* v4.32.0-next.
|
|
10
|
+
* v4.32.0-next.62
|
|
11
11
|
*/
|
|
12
12
|
const m = h`arcgis-oriented-imagery-viewer{display:block}`, y = d(o);
|
|
13
13
|
class c extends n {
|
|
@@ -5,7 +5,7 @@ import { css as c } from "@lit/reactive-element/css-tag.js";
|
|
|
5
5
|
/*!
|
|
6
6
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
7
7
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
8
|
-
* v4.32.0-next.
|
|
8
|
+
* v4.32.0-next.62
|
|
9
9
|
*/
|
|
10
10
|
const h = c`arcgis-placement{display:flex;pointer-events:auto;box-shadow:none}.arcgis-placement__container{display:block}`;
|
|
11
11
|
class a extends r {
|
|
@@ -8,7 +8,7 @@ import { css as h } from "@lit/reactive-element/css-tag.js";
|
|
|
8
8
|
/*!
|
|
9
9
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
10
10
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
11
|
-
* v4.32.0-next.
|
|
11
|
+
* v4.32.0-next.62
|
|
12
12
|
*/
|
|
13
13
|
const d = h`arcgis-print{display:block}`, m = o(s);
|
|
14
14
|
class p extends a {
|