@arcgis/map-components 4.33.0-next.15 → 4.33.0-next.16
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/{ZTDFOA42.js → 2YJF7PDZ.js} +2 -2
- package/dist/arcgis-map-components/{A2GC3CCP.js → 363WKLGO.js} +2 -2
- package/dist/arcgis-map-components/{5CMQRFXP.js → 3PPL25QE.js} +2 -2
- package/dist/arcgis-map-components/{FT6TA6DA.js → 3WVXD52J.js} +1 -1
- package/dist/arcgis-map-components/{D2K7VOC4.js → 4FS5C2R7.js} +2 -2
- package/dist/arcgis-map-components/{LOX55A4O.js → 4I5WIYLE.js} +2 -2
- package/dist/arcgis-map-components/{KTD3HJPW.js → 4W4ITN4K.js} +2 -2
- package/dist/arcgis-map-components/{2RJSGK7T.js → 57KH7QDA.js} +2 -2
- package/dist/arcgis-map-components/{CPLWMBSC.js → 6HVDZCLZ.js} +2 -2
- package/dist/arcgis-map-components/{NSK3EAKQ.js → 6RS2L3FO.js} +2 -2
- package/dist/arcgis-map-components/{GWKFWBYP.js → 7G2QNFLG.js} +2 -2
- package/dist/arcgis-map-components/{S5BKQTYZ.js → A3JE3AUT.js} +2 -2
- package/dist/arcgis-map-components/A5DKONXQ.js +4 -0
- package/dist/arcgis-map-components/{XLVSHKS7.js → AI7KJJD7.js} +2 -2
- package/dist/arcgis-map-components/{YI3P7ZJO.js → AVI23HXK.js} +1 -1
- package/dist/arcgis-map-components/{6UP4DJIR.js → BFIM4YMQ.js} +2 -2
- package/dist/arcgis-map-components/{BIPOUEJ3.js → BRL7AU65.js} +2 -2
- package/dist/arcgis-map-components/{6L33M4AF.js → BY6UNN6B.js} +2 -2
- package/dist/arcgis-map-components/{WH64EAOS.js → CID7TQB4.js} +2 -2
- package/dist/arcgis-map-components/{GM2NMSYU.js → CZJFF6H5.js} +2 -2
- package/dist/arcgis-map-components/{7JRWLS5C.js → DAFG2P6M.js} +2 -2
- package/dist/arcgis-map-components/{OHCF4OFA.js → DFWJGDPS.js} +2 -2
- package/dist/arcgis-map-components/{MBTGLTFN.js → DLBDX7DU.js} +2 -2
- package/dist/arcgis-map-components/{BT5KTVXL.js → DLDKKQMR.js} +2 -2
- package/dist/arcgis-map-components/{A2W6JA5S.js → DVQDC46L.js} +2 -2
- package/dist/arcgis-map-components/{H6LV2JS5.js → F4NUEXAI.js} +2 -2
- package/dist/arcgis-map-components/{K7MJ7XGM.js → FPGUHYJY.js} +2 -2
- package/dist/arcgis-map-components/{SPXZUDEC.js → FQRVC36S.js} +2 -2
- package/dist/arcgis-map-components/{3QEKTX43.js → FRRTP4OK.js} +2 -2
- package/dist/arcgis-map-components/{K6JIZP2U.js → GQSNUWID.js} +2 -2
- package/dist/arcgis-map-components/{4F5H5KTT.js → H5DKNALF.js} +2 -2
- package/dist/arcgis-map-components/{DVFGCMHE.js → HCBNU6AO.js} +2 -2
- package/dist/arcgis-map-components/{SBBHHN4Q.js → HSRIJVRR.js} +2 -2
- package/dist/arcgis-map-components/{5KAOKAIR.js → I2FU5L5R.js} +2 -2
- package/dist/arcgis-map-components/{4SB2VWSC.js → JU64QHRZ.js} +2 -2
- package/dist/arcgis-map-components/{AR5J537Y.js → JY77SEOO.js} +2 -2
- package/dist/arcgis-map-components/{IGZQE6U6.js → KFDA4LXO.js} +2 -2
- package/dist/arcgis-map-components/{FURMNUYA.js → LB6X5BCV.js} +2 -2
- package/dist/arcgis-map-components/{KDLS4TZX.js → LMZ6VCJZ.js} +2 -2
- package/dist/arcgis-map-components/{ZQUNJS4A.js → LZYHJTQC.js} +2 -2
- package/dist/arcgis-map-components/{I66OUWS7.js → MLKLXGTB.js} +2 -2
- package/dist/arcgis-map-components/{N6QETKEO.js → MPWLL3FW.js} +2 -2
- package/dist/arcgis-map-components/{IWSEIOZ3.js → NBCLFI6N.js} +2 -2
- package/dist/arcgis-map-components/{KXF2WQQK.js → NQZDBF4D.js} +2 -2
- package/dist/arcgis-map-components/{NW7MD5NJ.js → NSWD3KSP.js} +2 -2
- package/dist/arcgis-map-components/{NZBULDUB.js → NWJ5SIF5.js} +2 -2
- package/dist/arcgis-map-components/{V3KRHGGQ.js → OEM5GGG7.js} +2 -2
- package/dist/arcgis-map-components/{XUW6MQKF.js → OGT6FE2M.js} +2 -2
- package/dist/arcgis-map-components/{EMTMF6UC.js → PAUVE4TE.js} +2 -2
- package/dist/arcgis-map-components/{BUZPJQIM.js → PJ5MNKHU.js} +2 -2
- package/dist/arcgis-map-components/{VC2R2442.js → PQRHQ2AZ.js} +2 -2
- package/dist/arcgis-map-components/{NFORIGWW.js → QELNCDGX.js} +1 -1
- package/dist/arcgis-map-components/{5T75GKKG.js → QOBE54VJ.js} +2 -2
- package/dist/arcgis-map-components/{YDISJCCS.js → QOHVDGUQ.js} +2 -2
- package/dist/arcgis-map-components/{G23P3TAB.js → QRRKX37P.js} +2 -2
- package/dist/arcgis-map-components/{QQGCZMWN.js → QYWJSNWA.js} +2 -2
- package/dist/arcgis-map-components/{LKID5BZP.js → R6XYH6IC.js} +2 -2
- package/dist/arcgis-map-components/{HJ6TDPKZ.js → RNLAHSGP.js} +2 -2
- package/dist/arcgis-map-components/{MKGSYY3E.js → S4GJYM25.js} +2 -2
- package/dist/arcgis-map-components/{6RAZNZ5S.js → SARTOVHZ.js} +2 -2
- package/dist/arcgis-map-components/{IVFVU5Q3.js → T2VBNR4Z.js} +2 -2
- package/dist/arcgis-map-components/{PSKZNW64.js → TOCROZVG.js} +2 -2
- package/dist/arcgis-map-components/{UMUQCHUB.js → U47RWM34.js} +2 -2
- package/dist/arcgis-map-components/{UT7MNWQI.js → VHPYJKIB.js} +1 -1
- package/dist/arcgis-map-components/{WNLSEUO7.js → VJU6FJXA.js} +2 -2
- package/dist/arcgis-map-components/{XE3TXS26.js → WIZQOCOB.js} +2 -2
- package/dist/arcgis-map-components/{3Y6QBUB4.js → WK5CVX5J.js} +2 -2
- package/dist/arcgis-map-components/{5KYK2OFQ.js → XDBA33RQ.js} +2 -2
- package/dist/arcgis-map-components/{OKYPLXBK.js → Y6QZ4UPV.js} +2 -2
- package/dist/arcgis-map-components/{YGW7NHGF.js → YAG3WEGG.js} +2 -2
- package/dist/arcgis-map-components/{ZX35R3NY.js → Z2EFIYJ4.js} +2 -2
- package/dist/arcgis-map-components/{D2PVEWQB.js → Z7XLW4F5.js} +2 -2
- package/dist/arcgis-map-components/{RW6X4HYG.js → ZASMR5RQ.js} +2 -2
- package/dist/arcgis-map-components/{WOQ5O7CQ.js → ZOMVZLMC.js} +2 -2
- package/dist/arcgis-map-components/arcgis-map-components.esm.js +2 -2
- 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 +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/useView.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-link-chart/customElement.js +12 -12
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +1 -1
- package/dist/components/arcgis-locate/customElement.js +1 -1
- 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.js +1 -1
- 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 +2 -2
- package/dist/docs/docs.json +2 -2
- package/dist/docs/web-types.json +1 -1
- package/dist/index.js +1 -1
- package/dist/loader.js +1 -1
- package/package.json +5 -5
- package/dist/arcgis-map-components/66ESYV2M.js +0 -4
|
@@ -8,8 +8,8 @@ import { e as h, i as g } from "../../chunks/component-utils.js";
|
|
|
8
8
|
import { css as y } from "@lit/reactive-element/css-tag.js";
|
|
9
9
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
10
10
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
11
|
-
v4.33.0-next.
|
|
12
|
-
const u = y`@layer{
|
|
11
|
+
v4.33.0-next.16 */
|
|
12
|
+
const u = y`@layer{arcgis-link-chart{display:block;height:100%;.esri-view{height:100%;width:100%}}}`, f = r(
|
|
13
13
|
l,
|
|
14
14
|
/**
|
|
15
15
|
* Since omitProps is only needed for typing, not runtime, `{} as { ... }` is
|
|
@@ -20,12 +20,12 @@ const u = y`@layer{.arcgis-link-chart{padding:0;margin:0;height:100%;width:100%}
|
|
|
20
20
|
* in an externalized package.
|
|
21
21
|
*/
|
|
22
22
|
{}
|
|
23
|
-
),
|
|
24
|
-
class
|
|
23
|
+
), b = r(d, {});
|
|
24
|
+
class V extends p {
|
|
25
25
|
constructor() {
|
|
26
26
|
super(...arguments), this._center = void 0, this._extent = void 0, this._itemId = void 0, this._scale = void 0, this._viewpoint = void 0, this._zoom = void 0, this._map = f(this, {
|
|
27
27
|
editConstructorProperties: this._editMapProperties
|
|
28
|
-
}), this.view =
|
|
28
|
+
}), this.view = b(this, { editConstructorProperties: this._editViewProperties }), this.allLayerViews = this.view.allLayerViews, this.autoDestroyDisabled = !1, this.background = this.view.background, this.basemap = this._map.basemap, this.basemapView = this.view.basemapView, 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.ready = this.view.ready, this.resizeAlign = this.view.resizeAlign, this.resolution = this.view.resolution, this.rotation = this.view.rotation, 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.updating = this.view.updating, this.arcgisViewChange = a(), this.arcgisViewClick = t(() => this.view, "click"), this.arcgisViewDoubleClick = t(() => this.view, "double-click"), 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 = a();
|
|
29
29
|
}
|
|
30
30
|
static {
|
|
31
31
|
this.properties = { _map: 16, view: 32, allLayerViews: 0, autoDestroyDisabled: 5, background: 0, basemap: 1, basemapView: 0, center: 1, constraints: 0, displayFilterDisabled: 5, extent: 0, fatalError: 0, graphics: 0, highlights: 0, interacting: 32, itemId: 3, layerViews: 0, magnifier: 0, map: 0, navigating: 32, navigation: 0, padding: 0, popup: 0, popupDisabled: 5, ready: 4, resizeAlign: 1, resolution: 8, rotation: 9, scale: 9, spatialReference: 0, stationary: 32, suspended: 7, theme: 0, timeExtent: 0, timeZone: 1, updating: 7, viewpoint: 0, zoom: 9 };
|
|
@@ -171,7 +171,7 @@ class _ extends p {
|
|
|
171
171
|
//#endregion
|
|
172
172
|
//#region Lifecycle
|
|
173
173
|
load() {
|
|
174
|
-
this.el.childElem = document.createElement("div"), this.el.
|
|
174
|
+
this.el.childElem = document.createElement("div"), this.el.append(this.el.childElem), this.view.container ??= this.el.childElem;
|
|
175
175
|
}
|
|
176
176
|
loaded() {
|
|
177
177
|
this.manager.onLifecycle(() => [
|
|
@@ -187,10 +187,10 @@ class _ extends p {
|
|
|
187
187
|
//#region Private Methods
|
|
188
188
|
_editMapProperties(i) {
|
|
189
189
|
this.map && (this._map = this.map), this.itemId ? i.portalItem = { id: this.itemId } : this.basemap ? this.basemap === "none" && (i.basemap = void 0, this.basemap = null) : i.basemap = "topo-vector";
|
|
190
|
-
const { basemap: e, ...
|
|
191
|
-
e || (i =
|
|
192
|
-
const { ground:
|
|
193
|
-
return
|
|
190
|
+
const { basemap: e, ...o } = i;
|
|
191
|
+
e || (i = o);
|
|
192
|
+
const { ground: n, ...w } = i;
|
|
193
|
+
return n || (i = w), i;
|
|
194
194
|
}
|
|
195
195
|
async _editViewProperties(i) {
|
|
196
196
|
await this.manager.use(this._map), this.view.ui || (i.ui = {
|
|
@@ -200,7 +200,7 @@ class _ extends p {
|
|
|
200
200
|
return e && (i.center = e), this.viewpoint && (i.viewpoint = this.viewpoint), this.scale !== void 0 && (i.scale = this.scale), this.extent && (i.extent = this.extent), this.zoom !== void 0 && (i.zoom = this.zoom), i;
|
|
201
201
|
}
|
|
202
202
|
}
|
|
203
|
-
c("arcgis-link-chart",
|
|
203
|
+
c("arcgis-link-chart", V);
|
|
204
204
|
export {
|
|
205
|
-
|
|
205
|
+
V as ArcgisLinkChart
|
|
206
206
|
};
|
|
@@ -11,7 +11,7 @@ import { LitElement as p, createEvent as y, noShadowRoot as w, safeClassMap as a
|
|
|
11
11
|
import { css as f } from "@lit/reactive-element/css-tag.js";
|
|
12
12
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
13
13
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
14
|
-
v4.33.0-next.
|
|
14
|
+
v4.33.0-next.16 */
|
|
15
15
|
const b = f`@layer{arcgis-link-chart-layout-switcher{display:block}}`, k = {
|
|
16
16
|
basicLayoutCategory: [
|
|
17
17
|
"basic-grid"
|
|
@@ -12,7 +12,7 @@ import { l as $ } from "../../chunks/legacyIcon.js";
|
|
|
12
12
|
import { css as L } from "@lit/reactive-element/css-tag.js";
|
|
13
13
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
14
14
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
15
|
-
v4.33.0-next.
|
|
15
|
+
v4.33.0-next.16 */
|
|
16
16
|
const D = L`@layer{arcgis-locate{display:block}}`, O = {
|
|
17
17
|
base: "esri-locate"
|
|
18
18
|
}, n = "gps-off", T = y(f);
|
|
@@ -8,7 +8,7 @@ import { e as h, i as g } from "../../chunks/component-utils.js";
|
|
|
8
8
|
import { css as y } from "@lit/reactive-element/css-tag.js";
|
|
9
9
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
10
10
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
11
|
-
v4.33.0-next.
|
|
11
|
+
v4.33.0-next.16 */
|
|
12
12
|
const u = y`@layer{arcgis-map{display:block;height:100%;.esri-view{height:100%;width:100%}}}`, f = r(
|
|
13
13
|
v,
|
|
14
14
|
/**
|
|
@@ -6,7 +6,7 @@ import { m as r } from "../../chunks/useWidget.js";
|
|
|
6
6
|
import { css as n } from "@lit/reactive-element/css-tag.js";
|
|
7
7
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
8
8
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
9
|
-
v4.33.0-next.
|
|
9
|
+
v4.33.0-next.16 */
|
|
10
10
|
const c = n`@layer{arcgis-measurement{display:block}}`, l = r(i);
|
|
11
11
|
class h extends s {
|
|
12
12
|
constructor() {
|
|
@@ -8,7 +8,7 @@ import { g as M } from "../../chunks/globalCss.js";
|
|
|
8
8
|
import { css as f } from "@lit/reactive-element/css-tag.js";
|
|
9
9
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
10
10
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
11
|
-
v4.33.0-next.
|
|
11
|
+
v4.33.0-next.16 */
|
|
12
12
|
const $ = "arcgis-navigation-toggle", w = {
|
|
13
13
|
base: $
|
|
14
14
|
}, _ = f`@layer{.arcgis-navigation-toggle{display:flex}}`, e = {
|
|
@@ -7,7 +7,7 @@ import { m as l } from "../../chunks/useWidget.js";
|
|
|
7
7
|
import { css as g } from "@lit/reactive-element/css-tag.js";
|
|
8
8
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
9
9
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
10
|
-
v4.33.0-next.
|
|
10
|
+
v4.33.0-next.16 */
|
|
11
11
|
const h = g`@layer{arcgis-oriented-imagery-viewer{display:block}}`, m = l(r);
|
|
12
12
|
class y extends o {
|
|
13
13
|
constructor() {
|
|
@@ -4,7 +4,7 @@ import { LitElement as r, createEvent as o, noShadowRoot as n } from "@arcgis/lu
|
|
|
4
4
|
import { css as c } from "@lit/reactive-element/css-tag.js";
|
|
5
5
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
6
6
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
7
|
-
v4.33.0-next.
|
|
7
|
+
v4.33.0-next.16 */
|
|
8
8
|
const h = c`@layer{arcgis-placement{display:flex;pointer-events:auto;box-shadow:none}.arcgis-placement__container{display:block}}`;
|
|
9
9
|
class a extends r {
|
|
10
10
|
//#endregion
|
|
@@ -7,7 +7,7 @@ import { m as n } from "../../chunks/useWidget.js";
|
|
|
7
7
|
import { css as h } from "@lit/reactive-element/css-tag.js";
|
|
8
8
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
9
9
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
10
|
-
v4.33.0-next.
|
|
10
|
+
v4.33.0-next.16 */
|
|
11
11
|
const d = h`@layer{arcgis-print{display:block}}`, m = n(r);
|
|
12
12
|
class p extends o {
|
|
13
13
|
constructor() {
|
|
@@ -12,7 +12,7 @@ import { m as D } from "../../chunks/useViewModel.js";
|
|
|
12
12
|
import { g as v } from "../../chunks/globalCss.js";
|
|
13
13
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
14
14
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
15
|
-
v4.33.0-next.
|
|
15
|
+
v4.33.0-next.16 */
|
|
16
16
|
function $(f = 0, e = 0) {
|
|
17
17
|
return { x: f, y: e };
|
|
18
18
|
}
|
|
@@ -6,7 +6,7 @@ import { m as o } from "../../chunks/useWidget.js";
|
|
|
6
6
|
import { css as n } from "@lit/reactive-element/css-tag.js";
|
|
7
7
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
8
8
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
9
|
-
v4.33.0-next.
|
|
9
|
+
v4.33.0-next.16 */
|
|
10
10
|
const r = n`@layer{arcgis-scale-range-slider{display:block}}`, c = o(t);
|
|
11
11
|
class h extends s {
|
|
12
12
|
constructor() {
|
|
@@ -8,7 +8,7 @@ import { c as h, p as n, e as o, i as g } from "../../chunks/component-utils.js"
|
|
|
8
8
|
import { css as y } from "@lit/reactive-element/css-tag.js";
|
|
9
9
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
10
10
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
11
|
-
v4.33.0-next.
|
|
11
|
+
v4.33.0-next.16 */
|
|
12
12
|
const u = y`@layer{arcgis-scene{display:block;height:100%;.esri-view{height:100%;width:100%}}}`, f = c(d, {}), _ = c(w, {});
|
|
13
13
|
class b extends l {
|
|
14
14
|
constructor() {
|
|
@@ -7,7 +7,7 @@ import { m as c } from "../../chunks/useWidget.js";
|
|
|
7
7
|
import { css as o } from "@lit/reactive-element/css-tag.js";
|
|
8
8
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
9
9
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
10
|
-
v4.33.0-next.
|
|
10
|
+
v4.33.0-next.16 */
|
|
11
11
|
const g = o`@layer{arcgis-search{display:block}}`, d = c(a);
|
|
12
12
|
class u extends r {
|
|
13
13
|
constructor() {
|
|
@@ -6,7 +6,7 @@ import { m as d } from "../../chunks/useWidget.js";
|
|
|
6
6
|
import { css as r } from "@lit/reactive-element/css-tag.js";
|
|
7
7
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
8
8
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
9
|
-
v4.33.0-next.
|
|
9
|
+
v4.33.0-next.16 */
|
|
10
10
|
const l = r`@layer{arcgis-shadow-cast{display:block}}`, n = d(s);
|
|
11
11
|
class c extends o {
|
|
12
12
|
constructor() {
|
|
@@ -8,7 +8,7 @@ import { m as r } from "../../chunks/useWidget.js";
|
|
|
8
8
|
import { css as g } from "@lit/reactive-element/css-tag.js";
|
|
9
9
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
10
10
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
11
|
-
v4.33.0-next.
|
|
11
|
+
v4.33.0-next.16 */
|
|
12
12
|
const p = g`@layer{arcgis-sketch{display:block}}`, c = r(n);
|
|
13
13
|
class m extends a {
|
|
14
14
|
// #endregion
|
|
@@ -6,7 +6,7 @@ import { m as l } from "../../chunks/useWidget.js";
|
|
|
6
6
|
import { css as r } from "@lit/reactive-element/css-tag.js";
|
|
7
7
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
8
8
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
9
|
-
v4.33.0-next.
|
|
9
|
+
v4.33.0-next.16 */
|
|
10
10
|
const d = r`@layer{arcgis-slice{display:block}}`, h = l(s);
|
|
11
11
|
class c extends i {
|
|
12
12
|
constructor() {
|
|
@@ -7,7 +7,7 @@ import { m as g } from "../../chunks/useWidget.js";
|
|
|
7
7
|
import { css as m } from "@lit/reactive-element/css-tag.js";
|
|
8
8
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
9
9
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
10
|
-
v4.33.0-next.
|
|
10
|
+
v4.33.0-next.16 */
|
|
11
11
|
const c = m`@layer{arcgis-slider{min-width:200px;min-height:25px}}`, r = g(n);
|
|
12
12
|
class d extends a {
|
|
13
13
|
constructor() {
|
|
@@ -11,7 +11,7 @@ import { l as b } from "../../chunks/legacyIcon.js";
|
|
|
11
11
|
import { css as A } from "@lit/reactive-element/css-tag.js";
|
|
12
12
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
13
13
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
14
|
-
v4.33.0-next.
|
|
14
|
+
v4.33.0-next.16 */
|
|
15
15
|
const H = A`@layer{arcgis-swipe,.arcgis-swipe{position:absolute;margin:0;background:transparent!important;padding:0;width:100%;height:100%;overflow:hidden;user-select:none}.arcgis-swipe,.arcgis-ui .arcgis-swipe{pointer-events:none!important}.arcgis-swipe__container{position:absolute;z-index:1;margin:0;outline:0;border:0;padding:0;overflow:hidden;pointer-events:auto;touch-action:none;outline-color:transparent}.arcgis-swipe--horizontal .arcgis-swipe__container{margin-left:calc(var(--calcite-spacing-xxxl) / 2 * -1);cursor:col-resize;height:100%}.arcgis-swipe--vertical .arcgis-swipe__container{margin-top:calc(var(--calcite-spacing-xxxl) / 2 * -1);cursor:row-resize;width:100%}.arcgis-swipe--disabled .arcgis-swipe__container{cursor:default;pointer-events:none}.arcgis-swipe__divider{position:absolute;background-color:var(--calcite-color-background)}.arcgis-swipe--horizontal .arcgis-swipe__divider{top:0;left:calc(var(--calcite-spacing-xxxl) / 2);margin-left:calc(var(--calcite-border-width-lg) * .5 * -1);border-right:var(--calcite-border-width-sm) solid var(--calcite-color-border-1);border-left:var(--calcite-border-width-sm) solid var(--calcite-color-border-1);width:var(--calcite-border-width-lg);height:100%}.arcgis-swipe--vertical .arcgis-swipe__divider{top:calc(var(--calcite-spacing-xxxl) / 2);left:0;margin-top:calc(var(--calcite-border-width-lg) * .5 * -1);border-top:var(--calcite-border-width-sm) solid var(--calcite-color-border-1);border-bottom:var(--calcite-border-width-sm) solid var(--calcite-color-border-1);width:100%;height:var(--calcite-border-width-lg)}.arcgis-swipe__handle{display:flex;position:relative;align-items:center;justify-content:center;border:var(--calcite-border-width-sm) solid var(--calcite-color-border-1);border-radius:var(--calcite-corner-radius-round);background-color:var(--calcite-color-background);width:var(--calcite-spacing-xxxl);height:var(--calcite-spacing-xxxl);color:var(--calcite-color-border-input)}.arcgis-swipe__handle--hidden{visibility:hidden}.arcgis-swipe--vertical .arcgis-swipe__handle{rotate:90deg}.arcgis-swipe__handle-icon{position:relative;z-index:2}.arcgis-swipe--horizontal .arcgis-swipe__handle{top:calc(50% - calc(var(--calcite-spacing-xxxl) / 2))}.arcgis-swipe--vertical .arcgis-swipe__handle{left:calc(50% - calc(var(--calcite-spacing-xxxl) / 2))}.arcgis-swipe__container:focus .arcgis-swipe__handle,.arcgis-swipe__container:focus .arcgis-swipe__divider{outline:inset 2px var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)))}.arcgis-swipe__container:focus .arcgis-swipe__handle{outline-offset:calc(-2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}}`, l = "arcgis-swipe", n = {
|
|
16
16
|
base: l,
|
|
17
17
|
baseDisabled: `${l}--disabled`,
|
|
@@ -7,7 +7,7 @@ import { m as a } from "../../chunks/useWidget.js";
|
|
|
7
7
|
import { css as h } from "@lit/reactive-element/css-tag.js";
|
|
8
8
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
9
9
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
10
|
-
v4.33.0-next.
|
|
10
|
+
v4.33.0-next.16 */
|
|
11
11
|
const d = h`@layer{arcgis-table-list{display:block}}`, n = a(s);
|
|
12
12
|
class m extends o {
|
|
13
13
|
constructor() {
|
|
@@ -7,7 +7,7 @@ import { m as r } from "../../chunks/useWidget.js";
|
|
|
7
7
|
import { css as d } from "@lit/reactive-element/css-tag.js";
|
|
8
8
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
9
9
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
10
|
-
v4.33.0-next.
|
|
10
|
+
v4.33.0-next.16 */
|
|
11
11
|
const n = d`@layer{arcgis-time-slider{display:block}}`, m = r(o);
|
|
12
12
|
class c extends a {
|
|
13
13
|
constructor() {
|
|
@@ -11,7 +11,7 @@ import { g as c } from "../../chunks/globalCss.js";
|
|
|
11
11
|
import { css as T } from "@lit/reactive-element/css-tag.js";
|
|
12
12
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
13
13
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
14
|
-
v4.33.0-next.
|
|
14
|
+
v4.33.0-next.16 */
|
|
15
15
|
const y = T`@layer{arcgis-track{display:block}}`, $ = {
|
|
16
16
|
base: "esri-track"
|
|
17
17
|
}, O = b(v);
|
|
@@ -4,7 +4,7 @@ import { LitElement as c, createEvent as r, noShadowRoot as h } from "@arcgis/lu
|
|
|
4
4
|
import { m as A } from "../../chunks/useWidget.js";
|
|
5
5
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
6
6
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
7
|
-
v4.33.0-next.
|
|
7
|
+
v4.33.0-next.16 */
|
|
8
8
|
const S = A(a);
|
|
9
9
|
class g extends c {
|
|
10
10
|
constructor() {
|
|
@@ -8,7 +8,7 @@ import { html as p } from "lit";
|
|
|
8
8
|
import { LitElement as f, createEvent as t, noShadowRoot as w } from "@arcgis/lumina";
|
|
9
9
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
10
10
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
11
|
-
v4.33.0-next.
|
|
11
|
+
v4.33.0-next.16 */
|
|
12
12
|
class g extends f {
|
|
13
13
|
constructor() {
|
|
14
14
|
super(...arguments), this._watchHandles = [], this.defaultGraphicColor = {
|
|
@@ -7,7 +7,7 @@ import { html as d } from "lit";
|
|
|
7
7
|
import { LitElement as n, createEvent as c, noShadowRoot as w } from "@arcgis/lumina";
|
|
8
8
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
9
9
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
10
|
-
v4.33.0-next.
|
|
10
|
+
v4.33.0-next.16 */
|
|
11
11
|
class m extends n {
|
|
12
12
|
constructor() {
|
|
13
13
|
super(...arguments), this._watchHandles = [], this.extentToValidate = "current", this.position = "bottom-left", this.arcgisReady = c();
|
|
@@ -7,7 +7,7 @@ import { m as h } from "../../chunks/useWidget.js";
|
|
|
7
7
|
import { css as r } from "@lit/reactive-element/css-tag.js";
|
|
8
8
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
9
9
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
10
|
-
v4.33.0-next.
|
|
10
|
+
v4.33.0-next.16 */
|
|
11
11
|
const l = r`@layer{arcgis-value-picker{display:block}}`, c = h(s);
|
|
12
12
|
class u extends a {
|
|
13
13
|
constructor() {
|
|
@@ -9,7 +9,7 @@ import { m as $ } from "../../chunks/useViewModel.js";
|
|
|
9
9
|
import { css as A } from "@lit/reactive-element/css-tag.js";
|
|
10
10
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
11
11
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
12
|
-
v4.33.0-next.
|
|
12
|
+
v4.33.0-next.16 */
|
|
13
13
|
const T = A`@layer{.initial-version-invalid-block{margin-bottom:1rem}.calcite-combobox-item{width:330px}.calcite-flow-widget{width:350px}calcite-block{margin:0}calcite-pagination{justify-content:center}}`, x = $(P), u = "map-components:version-management";
|
|
14
14
|
class D extends F {
|
|
15
15
|
constructor() {
|
|
@@ -3,7 +3,7 @@ import { html as t } from "lit-html";
|
|
|
3
3
|
import { LitElement as C, createEvent as n, noShadowRoot as G, safeClassMap as F } from "@arcgis/lumina";
|
|
4
4
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
5
5
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
6
|
-
v4.33.0-next.
|
|
6
|
+
v4.33.0-next.16 */
|
|
7
7
|
class y extends C {
|
|
8
8
|
constructor() {
|
|
9
9
|
super(...arguments), this._arcgisGetVersions = (e) => {
|
|
@@ -3,7 +3,7 @@ import { html as c } from "lit-html";
|
|
|
3
3
|
import { LitElement as b, createEvent as f, noShadowRoot as x, nothing as I } from "@arcgis/lumina";
|
|
4
4
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
5
5
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
6
|
-
v4.33.0-next.
|
|
6
|
+
v4.33.0-next.16 */
|
|
7
7
|
class E extends b {
|
|
8
8
|
constructor() {
|
|
9
9
|
super(...arguments), this.arcgisManageVersion = f();
|
|
@@ -5,7 +5,7 @@ import { LitElement as F, createEvent as a } from "@arcgis/lumina";
|
|
|
5
5
|
import { css as U } from "@lit/reactive-element/css-tag.js";
|
|
6
6
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
7
7
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
8
|
-
v4.33.0-next.
|
|
8
|
+
v4.33.0-next.16 */
|
|
9
9
|
const A = U`:host{display:none;background:#bdf2c4}:host([selected]){display:flex}calcite-block{margin-block:0}calcite-pagination{justify-content:center}`;
|
|
10
10
|
class N extends F {
|
|
11
11
|
constructor() {
|
|
@@ -5,7 +5,7 @@ import { LitElement as V, createEvent as p, noShadowRoot as I } from "@arcgis/lu
|
|
|
5
5
|
import { css as x } from "@lit/reactive-element/css-tag.js";
|
|
6
6
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
7
7
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
8
|
-
v4.33.0-next.
|
|
8
|
+
v4.33.0-next.16 */
|
|
9
9
|
const C = x`@layer{:host{display:none;background:#bdf2c4}:host([selected]){display:flex}.properties-buttons{display:flex}}`;
|
|
10
10
|
class k extends V {
|
|
11
11
|
constructor() {
|
|
@@ -6,7 +6,7 @@ import { m as r } from "../../chunks/useWidget.js";
|
|
|
6
6
|
import { css as h } from "@lit/reactive-element/css-tag.js";
|
|
7
7
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
8
8
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
9
|
-
v4.33.0-next.
|
|
9
|
+
v4.33.0-next.16 */
|
|
10
10
|
const l = h`@layer{arcgis-weather{display:block}}`, d = r(s);
|
|
11
11
|
class n extends i {
|
|
12
12
|
constructor() {
|
|
@@ -9,7 +9,7 @@ import { m as b } from "../../chunks/useViewModel.js";
|
|
|
9
9
|
import { css as y } from "@lit/reactive-element/css-tag.js";
|
|
10
10
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
11
11
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
12
|
-
v4.33.0-next.
|
|
12
|
+
v4.33.0-next.16 */
|
|
13
13
|
const o = {
|
|
14
14
|
base: "arcgis-zoom",
|
|
15
15
|
horizontalLayout: "arcgis-zoom--horizontal",
|
package/dist/docs/api.json
CHANGED
package/dist/docs/docs.json
CHANGED
package/dist/docs/web-types.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
|
|
3
3
|
"name": "@arcgis/map-components",
|
|
4
|
-
"version": "4.33.0-next.
|
|
4
|
+
"version": "4.33.0-next.16",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { s, g as t } from "./chunks/runtime.js";
|
|
2
2
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
4
|
-
v4.33.0-next.
|
|
4
|
+
v4.33.0-next.16 */
|
|
5
5
|
const a = s, A = t;
|
|
6
6
|
export {
|
|
7
7
|
A as getArcgisAssetPath,
|
package/dist/loader.js
CHANGED
|
@@ -2,7 +2,7 @@ import { r as e } from "./chunks/runtime.js";
|
|
|
2
2
|
import { makeDefineCustomElements as t } from "@arcgis/lumina";
|
|
3
3
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
4
4
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
5
|
-
v4.33.0-next.
|
|
5
|
+
v4.33.0-next.16 */
|
|
6
6
|
const a = t(e, {
|
|
7
7
|
"arcgis-area-measurement-2d": [() => import("./components/arcgis-area-measurement-2d/customElement.js"), "autoDestroyDisabled,icon,label,position,referenceElement,snappingOptions:,state,unit,unitOptions:;destroy"],
|
|
8
8
|
"arcgis-area-measurement-3d": [() => import("./components/arcgis-area-measurement-3d/customElement.js"), "analysis:,autoDestroyDisabled,icon,label,position,referenceElement,state,unit,unitOptions:;clear,destroy,start"],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arcgis/map-components",
|
|
3
|
-
"version": "4.33.0-next.
|
|
3
|
+
"version": "4.33.0-next.16",
|
|
4
4
|
"description": "ArcGIS Map Components",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ArcGIS",
|
|
@@ -41,10 +41,10 @@
|
|
|
41
41
|
],
|
|
42
42
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@arcgis/components-controllers": "4.33.0-next.
|
|
45
|
-
"@arcgis/components-utils": "4.33.0-next.
|
|
46
|
-
"@arcgis/core-adapter": "4.33.0-next.
|
|
47
|
-
"@arcgis/lumina": "4.33.0-next.
|
|
44
|
+
"@arcgis/components-controllers": "4.33.0-next.16",
|
|
45
|
+
"@arcgis/components-utils": "4.33.0-next.16",
|
|
46
|
+
"@arcgis/core-adapter": "4.33.0-next.16",
|
|
47
|
+
"@arcgis/lumina": "4.33.0-next.16",
|
|
48
48
|
"tslib": "^2.7.0"
|
|
49
49
|
},
|
|
50
50
|
"peerDependencies": {
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.15 */
|
|
4
|
-
import{a,c,d as e}from"./2RJSGK7T.js";import{f as v,g as r}from"./YI3P7ZJO.js";import{A as s,B as w,G as p,g as o,r as n}from"./NFORIGWW.js";var[{watch:d},y,u]=await $arcgis.l(["core/reactiveUtils","views/LinkChartView","WebLinkChart"]);var V=n`@layer{.arcgis-link-chart{padding:0;margin:0;height:100%;width:100%}}`,_=a(u,{}),b=a(y,{}),h=class extends w{constructor(){super(...arguments),this._center=void 0,this._extent=void 0,this._itemId=void 0,this._scale=void 0,this._viewpoint=void 0,this._zoom=void 0,this._map=_(this,{editConstructorProperties:this._editMapProperties}),this.view=b(this,{editConstructorProperties:this._editViewProperties}),this.allLayerViews=this.view.allLayerViews,this.autoDestroyDisabled=!1,this.background=this.view.background,this.basemap=this._map.basemap,this.basemapView=this.view.basemapView,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.ready=this.view.ready,this.resizeAlign=this.view.resizeAlign,this.resolution=this.view.resolution,this.rotation=this.view.rotation,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.updating=this.view.updating,this.arcgisViewChange=s(),this.arcgisViewClick=e(()=>this.view,"click"),this.arcgisViewDoubleClick=e(()=>this.view,"double-click"),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=s()}static{this.properties={_map:16,view:32,allLayerViews:0,autoDestroyDisabled:5,background:0,basemap:1,basemapView:0,center:1,constraints:0,displayFilterDisabled:5,extent:0,fatalError:0,graphics:0,highlights:0,interacting:32,itemId:3,layerViews:0,magnifier:0,map:0,navigating:32,navigation:0,padding:0,popup:0,popupDisabled:5,ready:4,resizeAlign:1,resolution:8,rotation:9,scale:9,spatialReference:0,stationary:32,suspended:7,theme:0,timeExtent:0,timeZone:1,updating:7,viewpoint:0,zoom:9}}static{this.shadowRootOptions=o}static{this.styles=V}get center(){return this.view.center??this._center}set center(i){let t=r(i,this.ready?this.view:void 0);t&&(this.ready&&(this.view.center=t),this._center=t)}get extent(){return this.view.extent??this._extent}set extent(i){this.view.ready&&!this.extent?.equals(i)&&(this.view.extent=i),this._extent=i}get interacting(){return this.view.interacting}get itemId(){return this._map.portalItem?.id??this._itemId}set itemId(i){this._itemId=i,this.ready&&c.reCreate(this._map,this).then(()=>{this.view.map=this._map}).catch(console.error)}get navigating(){return this.view.navigating}get scale(){return this.view.scale??this._scale}set scale(i){this.ready&&(this.view.scale=i),this._scale=i}get stationary(){return this.view.stationary}get viewpoint(){return this.view.viewpoint??this._viewpoint}set viewpoint(i){this.ready&&v(this.viewpoint,i)&&(this.view.viewpoint=i),this._viewpoint=i}get zoom(){return this.view.zoom??this._zoom}set zoom(i){this.ready&&(this.view.zoom=i),this._zoom=i}async addLayer(i,t){this.map?.add(i,t)}async addLayers(i,t){this.map?.addMany(i,t)}async closePopup(){this.view?.closePopup()}async destroy(){await this.manager.destroy()}async goTo(i,t){return await this.view?.goTo(i,t)}async openPopup(i){await this.view?.openPopup(i)}toMap(i){return this.view.toMap(i)}toScreen(i,t){return this.view.toScreen(i,t)}async tryFatalErrorRecovery(){this.view?.tryFatalErrorRecovery()}async whenLayerView(i){return await this.view?.whenLayerView(i)}load(){this.el.childElem=document.createElement("div"),this.el.childElem.classList.add("arcgis-link-chart"),this.el.append(this.el.childElem),this.view.container??=this.el.childElem}loaded(){this.manager.onLifecycle(()=>[d(()=>this.view.stationary,()=>{this.arcgisViewChange.emit()},{initial:!0}),d(()=>this.view.ready,()=>{this.arcgisViewReadyChange.emit()},{initial:this.view.ready})])}_editMapProperties(i){this.map&&(this._map=this.map),this.itemId?i.portalItem={id:this.itemId}:this.basemap?this.basemap==="none"&&(i.basemap=void 0,this.basemap=null):i.basemap="topo-vector";let{basemap:t,...l}=i;t||(i=l);let{ground:m,...g}=i;return m||(i=g),i}async _editViewProperties(i){await this.manager.use(this._map),this.view.ui||(i.ui={components:["attribution"]}),i.map??=this._map;let t=r(this.center,void 0);return t&&(i.center=t),this.viewpoint&&(i.viewpoint=this.viewpoint),this.scale!==void 0&&(i.scale=this.scale),this.extent&&(i.extent=this.extent),this.zoom!==void 0&&(i.zoom=this.zoom),i}};p("arcgis-link-chart",h);export{h as ArcgisLinkChart};
|