@arcgis/map-components 4.32.0-next.85 → 4.32.0-next.87
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/2XHX4GRY.js +4 -0
- package/dist/arcgis-map-components/32X3ZYOM.js +4 -0
- package/dist/arcgis-map-components/35DMTE4K.js +4 -0
- package/dist/arcgis-map-components/3JTGHVNB.js +4 -0
- package/dist/arcgis-map-components/3ZDFYLLA.js +4 -0
- package/dist/arcgis-map-components/4CKEV5R3.js +4 -0
- package/dist/arcgis-map-components/4J4AUJFF.js +4 -0
- package/dist/arcgis-map-components/{HW7Z4CZB.js → 4ZIFQORV.js} +1 -1
- package/dist/arcgis-map-components/6LUZOY5O.js +4 -0
- package/dist/arcgis-map-components/7BT4GAVM.js +4 -0
- package/dist/arcgis-map-components/{DBPKJOYW.js → 7JPD33PS.js} +1 -1
- package/dist/arcgis-map-components/7WR7N6T3.js +4 -0
- package/dist/arcgis-map-components/{564KMD2H.js → A6QXV7MU.js} +2 -2
- package/dist/arcgis-map-components/AFIGXVQ3.js +4 -0
- package/dist/arcgis-map-components/{VHE6RZA2.js → AGWGNRMW.js} +2 -2
- package/dist/arcgis-map-components/AOZPIV4A.js +4 -0
- package/dist/arcgis-map-components/AVGUWUIP.js +4 -0
- package/dist/arcgis-map-components/AXIJBJKN.js +4 -0
- package/dist/arcgis-map-components/B5NOO6HX.js +4 -0
- package/dist/arcgis-map-components/CE62RYPI.js +4 -0
- package/dist/arcgis-map-components/CEIGROJD.js +4 -0
- package/dist/arcgis-map-components/CLH7HQDS.js +4 -0
- package/dist/arcgis-map-components/DAXKVFKC.js +4 -0
- package/dist/arcgis-map-components/DBWEC62Z.js +4 -0
- package/dist/arcgis-map-components/E2S64U4Z.js +4 -0
- package/dist/arcgis-map-components/E3RBXZMD.js +4 -0
- package/dist/arcgis-map-components/{MDHKEFLL.js → ETORB2CW.js} +4 -4
- package/dist/arcgis-map-components/G2AUFB2V.js +4 -0
- package/dist/arcgis-map-components/GFFY2SOD.js +4 -0
- package/dist/arcgis-map-components/GGRINU7O.js +4 -0
- package/dist/arcgis-map-components/HFOLCVHE.js +4 -0
- package/dist/arcgis-map-components/HN2B2WVM.js +4 -0
- package/dist/arcgis-map-components/HYBGAIIH.js +4 -0
- package/dist/arcgis-map-components/IJ4I2C2Q.js +4 -0
- package/dist/arcgis-map-components/ILVOJPYP.js +4 -0
- package/dist/arcgis-map-components/IUSB5KZR.js +4 -0
- package/dist/arcgis-map-components/{ERS4HX5J.js → KES7H4RV.js} +1 -1
- package/dist/arcgis-map-components/KFWRSEL5.js +4 -0
- package/dist/arcgis-map-components/KTPXF7QU.js +4 -0
- package/dist/arcgis-map-components/LXNOWS2N.js +4 -0
- package/dist/arcgis-map-components/MAZ73QH3.js +4 -0
- package/dist/arcgis-map-components/MKBRZJPK.js +4 -0
- package/dist/arcgis-map-components/{Z6JJJVA2.js → MNAEUWGF.js} +2 -2
- package/dist/arcgis-map-components/NFID37OS.js +4 -0
- package/dist/arcgis-map-components/NH2PJWZN.js +4 -0
- package/dist/arcgis-map-components/NINSVERY.js +4 -0
- package/dist/arcgis-map-components/OWAZAAPU.js +4 -0
- package/dist/arcgis-map-components/{FHOJWHL5.js → OXPBMLUL.js} +2 -2
- package/dist/arcgis-map-components/OXZIRB5Z.js +4 -0
- package/dist/arcgis-map-components/P254GL27.js +4 -0
- package/dist/arcgis-map-components/P2PVJ4AF.js +4 -0
- package/dist/arcgis-map-components/QAIK42DS.js +4 -0
- package/dist/arcgis-map-components/QHZ2NQDS.js +4 -0
- package/dist/arcgis-map-components/RIESOZ3J.js +4 -0
- package/dist/arcgis-map-components/RN7HCA5M.js +4 -0
- package/dist/arcgis-map-components/S732TQFW.js +4 -0
- package/dist/arcgis-map-components/SWD2W5AQ.js +4 -0
- package/dist/arcgis-map-components/T2IZZQA6.js +4 -0
- package/dist/arcgis-map-components/TYHESC7C.js +4 -0
- package/dist/arcgis-map-components/TYLB5V7D.js +4 -0
- package/dist/arcgis-map-components/U3JMNMD5.js +4 -0
- package/dist/arcgis-map-components/U5BKFVZA.js +4 -0
- package/dist/arcgis-map-components/{LMOFB4IY.js → VOAP25R5.js} +2 -2
- package/dist/arcgis-map-components/{4GMWGCYP.js → VPAITV6T.js} +2 -2
- package/dist/arcgis-map-components/VPDLR5PZ.js +4 -0
- package/dist/arcgis-map-components/VYAG6QFL.js +4 -0
- package/dist/arcgis-map-components/WRLAAWYP.js +4 -0
- package/dist/arcgis-map-components/XGMH4FTN.js +4 -0
- package/dist/arcgis-map-components/{WZV3Y366.js → XXMI6R5H.js} +2 -2
- package/dist/arcgis-map-components/YN7363HF.js +4 -0
- package/dist/arcgis-map-components/YWCFGHSS.js +4 -0
- package/dist/arcgis-map-components/ZZWXJ7BT.js +4 -0
- 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/useViewModel.js +1 -1
- package/dist/chunks/useWidget.js +1 -1
- package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +4 -3
- package/dist/components/arcgis-area-measurement-2d/customElement.js +10 -10
- package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +5 -4
- package/dist/components/arcgis-area-measurement-3d/customElement.js +10 -10
- package/dist/components/arcgis-attachments/customElement.d.ts +5 -4
- package/dist/components/arcgis-attachments/customElement.js +9 -9
- package/dist/components/arcgis-basemap-gallery/components/basemap-gallery-item/customElement.js +1 -1
- package/dist/components/arcgis-basemap-gallery/customElement.d.ts +4 -3
- package/dist/components/arcgis-basemap-gallery/customElement.js +37 -36
- package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +5 -4
- package/dist/components/arcgis-basemap-layer-list/customElement.js +6 -6
- package/dist/components/arcgis-basemap-toggle/customElement.d.ts +7 -6
- package/dist/components/arcgis-basemap-toggle/customElement.js +18 -17
- package/dist/components/arcgis-bookmarks/customElement.d.ts +5 -4
- package/dist/components/arcgis-bookmarks/customElement.js +9 -9
- package/dist/components/arcgis-building-explorer/customElement.d.ts +5 -4
- package/dist/components/arcgis-building-explorer/customElement.js +9 -9
- package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +5 -4
- package/dist/components/arcgis-catalog-layer-list/customElement.js +6 -6
- package/dist/components/arcgis-compass/customElement.d.ts +4 -3
- package/dist/components/arcgis-compass/customElement.js +10 -10
- package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +6 -5
- package/dist/components/arcgis-coordinate-conversion/customElement.js +9 -9
- package/dist/components/arcgis-daylight/customElement.d.ts +5 -4
- package/dist/components/arcgis-daylight/customElement.js +8 -8
- package/dist/components/arcgis-directional-pad/customElement.d.ts +28 -5
- package/dist/components/arcgis-directional-pad/customElement.js +37 -36
- package/dist/components/arcgis-directions/customElement.d.ts +7 -5
- package/dist/components/arcgis-directions/customElement.js +28 -31
- package/dist/components/arcgis-directline-measurement-3d/customElement.d.ts +5 -4
- package/dist/components/arcgis-directline-measurement-3d/customElement.js +9 -9
- package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +5 -4
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +9 -9
- package/dist/components/arcgis-editor/customElement.d.ts +5 -4
- package/dist/components/arcgis-editor/customElement.js +9 -9
- package/dist/components/arcgis-elevation-profile/customElement.d.ts +6 -11
- package/dist/components/arcgis-elevation-profile/customElement.js +9 -9
- package/dist/components/arcgis-expand/customElement.d.ts +5 -4
- package/dist/components/arcgis-expand/customElement.js +9 -9
- package/dist/components/arcgis-feature/customElement.d.ts +7 -14
- package/dist/components/arcgis-feature/customElement.js +8 -8
- package/dist/components/arcgis-feature-form/customElement.d.ts +6 -5
- package/dist/components/arcgis-feature-form/customElement.js +9 -9
- package/dist/components/arcgis-feature-table/customElement.d.ts +10 -9
- package/dist/components/arcgis-feature-table/customElement.js +17 -16
- package/dist/components/arcgis-feature-templates/customElement.d.ts +5 -4
- package/dist/components/arcgis-feature-templates/customElement.js +10 -10
- package/dist/components/arcgis-features/customElement.d.ts +5 -4
- package/dist/components/arcgis-features/customElement.js +6 -6
- package/dist/components/arcgis-floor-filter/customElement.d.ts +5 -4
- package/dist/components/arcgis-floor-filter/customElement.js +10 -10
- package/dist/components/arcgis-fullscreen/customElement.d.ts +4 -3
- package/dist/components/arcgis-fullscreen/customElement.js +11 -11
- package/dist/components/arcgis-histogram/customElement.d.ts +5 -4
- package/dist/components/arcgis-histogram/customElement.js +9 -9
- package/dist/components/arcgis-histogram-range-slider/customElement.d.ts +5 -4
- package/dist/components/arcgis-histogram-range-slider/customElement.js +9 -9
- package/dist/components/arcgis-home/customElement.d.ts +6 -5
- package/dist/components/arcgis-home/customElement.js +12 -12
- package/dist/components/arcgis-layer-list/customElement.d.ts +5 -4
- package/dist/components/arcgis-layer-list/customElement.js +10 -10
- package/dist/components/arcgis-legend/customElement.d.ts +5 -4
- package/dist/components/arcgis-legend/customElement.js +9 -9
- package/dist/components/arcgis-line-of-sight/customElement.d.ts +5 -4
- package/dist/components/arcgis-line-of-sight/customElement.js +9 -9
- package/dist/components/arcgis-link-chart/customElement.d.ts +11 -9
- package/dist/components/arcgis-link-chart/customElement.js +27 -27
- package/dist/components/arcgis-locate/customElement.d.ts +5 -4
- package/dist/components/arcgis-locate/customElement.js +15 -15
- package/dist/components/arcgis-map/customElement.d.ts +10 -8
- package/dist/components/arcgis-map/customElement.js +27 -27
- package/dist/components/arcgis-measurement/customElement.d.ts +5 -4
- package/dist/components/arcgis-measurement/customElement.js +9 -9
- package/dist/components/arcgis-navigation-toggle/customElement.d.ts +5 -4
- package/dist/components/arcgis-navigation-toggle/customElement.js +9 -9
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +7 -6
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +16 -17
- package/dist/components/arcgis-placement/customElement.js +1 -1
- package/dist/components/arcgis-print/customElement.d.ts +5 -4
- package/dist/components/arcgis-print/customElement.js +9 -9
- package/dist/components/arcgis-scale-bar/customElement.d.ts +6 -5
- package/dist/components/arcgis-scale-bar/customElement.js +39 -38
- package/dist/components/arcgis-scale-range-slider/customElement.d.ts +5 -4
- package/dist/components/arcgis-scale-range-slider/customElement.js +12 -12
- package/dist/components/arcgis-scene/customElement.d.ts +10 -8
- package/dist/components/arcgis-scene/customElement.js +25 -25
- package/dist/components/arcgis-search/customElement.d.ts +5 -4
- package/dist/components/arcgis-search/customElement.js +8 -8
- package/dist/components/arcgis-shadow-cast/customElement.d.ts +5 -4
- package/dist/components/arcgis-shadow-cast/customElement.js +12 -12
- package/dist/components/arcgis-sketch/customElement.d.ts +7 -5
- package/dist/components/arcgis-sketch/customElement.js +11 -12
- package/dist/components/arcgis-slice/customElement.d.ts +5 -4
- package/dist/components/arcgis-slice/customElement.js +9 -9
- package/dist/components/arcgis-slider/customElement.d.ts +5 -4
- package/dist/components/arcgis-slider/customElement.js +9 -9
- package/dist/components/arcgis-swipe/customElement.d.ts +5 -4
- package/dist/components/arcgis-swipe/customElement.js +17 -17
- package/dist/components/arcgis-table-list/customElement.d.ts +15 -12
- package/dist/components/arcgis-table-list/customElement.js +6 -6
- package/dist/components/arcgis-time-slider/customElement.d.ts +5 -4
- package/dist/components/arcgis-time-slider/customElement.js +9 -9
- package/dist/components/arcgis-track/customElement.d.ts +5 -4
- package/dist/components/arcgis-track/customElement.js +15 -15
- package/dist/components/arcgis-utility-network-associations/customElement.d.ts +6 -6
- package/dist/components/arcgis-utility-network-associations/customElement.js +2 -2
- package/dist/components/arcgis-utility-network-trace/customElement.d.ts +1 -1
- package/dist/components/arcgis-utility-network-trace/customElement.js +7 -7
- package/dist/components/arcgis-utility-network-validate-topology/customElement.d.ts +1 -1
- package/dist/components/arcgis-utility-network-validate-topology/customElement.js +8 -8
- package/dist/components/arcgis-value-picker/customElement.d.ts +5 -4
- package/dist/components/arcgis-value-picker/customElement.js +9 -9
- package/dist/components/arcgis-version-management/customElement.d.ts +1 -1
- package/dist/components/arcgis-version-management/customElement.js +96 -97
- 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.d.ts +5 -4
- package/dist/components/arcgis-weather/customElement.js +9 -9
- package/dist/components/arcgis-zoom/customElement.d.ts +4 -3
- package/dist/components/arcgis-zoom/customElement.js +8 -8
- package/dist/controllers/useViewModel.d.ts +1 -1
- package/dist/controllers/useWidget.d.ts +2 -2
- package/dist/docs/api.json +304 -305
- package/dist/docs/docs.json +172 -172
- package/dist/docs/vscode.html-custom-data.json +133 -133
- package/dist/docs/web-types.json +303 -304
- package/dist/index.js +1 -1
- package/dist/loader.js +1 -1
- package/package.json +4 -5
- package/dist/arcgis-map-components/2TNEAZAF.js +0 -4
- package/dist/arcgis-map-components/32WNMGSE.js +0 -4
- package/dist/arcgis-map-components/35HPYV25.js +0 -4
- package/dist/arcgis-map-components/3LZI4V7A.js +0 -4
- package/dist/arcgis-map-components/44SXKBON.js +0 -4
- package/dist/arcgis-map-components/4OPF2YIS.js +0 -4
- package/dist/arcgis-map-components/5TMK2FY7.js +0 -4
- package/dist/arcgis-map-components/6ADYLVHO.js +0 -4
- package/dist/arcgis-map-components/6IUOO2CX.js +0 -4
- package/dist/arcgis-map-components/7XE2PHMN.js +0 -4
- package/dist/arcgis-map-components/AHJ77DDX.js +0 -4
- package/dist/arcgis-map-components/BO53EV22.js +0 -4
- package/dist/arcgis-map-components/CCYD3GJL.js +0 -4
- package/dist/arcgis-map-components/CF5DOP3R.js +0 -4
- package/dist/arcgis-map-components/CSHTSK3A.js +0 -4
- package/dist/arcgis-map-components/CZMG37KX.js +0 -4
- package/dist/arcgis-map-components/D727YOOX.js +0 -4
- package/dist/arcgis-map-components/DLEN4ORI.js +0 -4
- package/dist/arcgis-map-components/DWMEEDHE.js +0 -4
- package/dist/arcgis-map-components/DZF434YD.js +0 -4
- package/dist/arcgis-map-components/ELYTB4XJ.js +0 -4
- package/dist/arcgis-map-components/FRIJ3FSA.js +0 -4
- package/dist/arcgis-map-components/GAAOXAL6.js +0 -4
- package/dist/arcgis-map-components/HG2VALA3.js +0 -4
- package/dist/arcgis-map-components/HZNRXF47.js +0 -4
- package/dist/arcgis-map-components/IKGSM2C2.js +0 -4
- package/dist/arcgis-map-components/ITFN6HQK.js +0 -4
- package/dist/arcgis-map-components/IUDW2ZVM.js +0 -4
- package/dist/arcgis-map-components/IW775SZ3.js +0 -4
- package/dist/arcgis-map-components/IXPHHN4Z.js +0 -4
- package/dist/arcgis-map-components/J7HGN3TZ.js +0 -4
- package/dist/arcgis-map-components/JAQQBKX6.js +0 -4
- package/dist/arcgis-map-components/K6PW23T7.js +0 -4
- package/dist/arcgis-map-components/K77QPLOY.js +0 -4
- package/dist/arcgis-map-components/M6O6GD4O.js +0 -4
- package/dist/arcgis-map-components/MAMFUB2L.js +0 -4
- package/dist/arcgis-map-components/MP3QQQKU.js +0 -4
- package/dist/arcgis-map-components/MSOBY6NR.js +0 -4
- package/dist/arcgis-map-components/NCWZPEUO.js +0 -4
- package/dist/arcgis-map-components/NVIX6GNC.js +0 -4
- package/dist/arcgis-map-components/NYN35UXK.js +0 -4
- package/dist/arcgis-map-components/OMIYZ5A3.js +0 -4
- package/dist/arcgis-map-components/OYUYZKN2.js +0 -4
- package/dist/arcgis-map-components/PFRBRWGY.js +0 -4
- package/dist/arcgis-map-components/QBCARJYO.js +0 -4
- package/dist/arcgis-map-components/QCYDFQGT.js +0 -4
- package/dist/arcgis-map-components/QVOQDJ5B.js +0 -4
- package/dist/arcgis-map-components/R3AVBSDU.js +0 -4
- package/dist/arcgis-map-components/RBXK5JR3.js +0 -4
- package/dist/arcgis-map-components/S3H7IQQP.js +0 -4
- package/dist/arcgis-map-components/S76V3WVV.js +0 -4
- package/dist/arcgis-map-components/SI357SRE.js +0 -4
- package/dist/arcgis-map-components/SPVD3PYB.js +0 -4
- package/dist/arcgis-map-components/U6C4ZCMS.js +0 -4
- package/dist/arcgis-map-components/VIUD4NSE.js +0 -4
- package/dist/arcgis-map-components/VIVRU3Y4.js +0 -4
- package/dist/arcgis-map-components/VWEH2LWN.js +0 -4
- package/dist/arcgis-map-components/X7EWPPQH.js +0 -4
- package/dist/arcgis-map-components/YHASKKJ6.js +0 -4
- package/dist/arcgis-map-components/YK5CBUJC.js +0 -4
- package/dist/arcgis-map-components/YXSRE3F6.js +0 -4
- package/dist/arcgis-map-components/ZVNCPLXY.js +0 -4
|
@@ -1,15 +1,16 @@
|
|
|
1
|
-
import { c
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import { LitElement as
|
|
7
|
-
import {
|
|
1
|
+
import { c } from "../../chunks/runtime.js";
|
|
2
|
+
import { makeAccessorController as r, reEmitEvent as e, accessorSupport as p } from "@arcgis/components-controllers/accessor";
|
|
3
|
+
import { watch as s } from "@arcgis/core/core/reactiveUtils.js";
|
|
4
|
+
import v from "@arcgis/core/views/MapView.js";
|
|
5
|
+
import d from "@arcgis/core/WebMap.js";
|
|
6
|
+
import { LitElement as l, createEvent as a, noShadowRoot as m } from "@arcgis/lumina";
|
|
7
|
+
import { e as h, i as g } from "../../chunks/component-utils.js";
|
|
8
|
+
import { css as y } from "@lit/reactive-element/css-tag.js";
|
|
8
9
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
9
10
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
10
|
-
v4.32.0-next.
|
|
11
|
-
const
|
|
12
|
-
|
|
11
|
+
v4.32.0-next.87 */
|
|
12
|
+
const u = y`.arcgis-map{padding:0;margin:0;height:100%;width:100%}`, f = r(
|
|
13
|
+
d,
|
|
13
14
|
/**
|
|
14
15
|
* Since omitProps is only needed for typing, not runtime, `{} as { ... }` is
|
|
15
16
|
* a hack to remove them from the runtime code. This argument is not used at
|
|
@@ -19,19 +20,19 @@ const f = u`.arcgis-map{padding:0;margin:0;height:100%;width:100%}`, V = h(
|
|
|
19
20
|
* in an externalized package.
|
|
20
21
|
*/
|
|
21
22
|
{}
|
|
22
|
-
), b =
|
|
23
|
-
class
|
|
23
|
+
), b = r(v, {});
|
|
24
|
+
class V extends l {
|
|
24
25
|
constructor() {
|
|
25
|
-
super(...arguments), this._map =
|
|
26
|
+
super(...arguments), this._map = f(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.floors = this.view.floors, this.graphics = this.view.graphics, this.ground = this._map.ground, this.highlights = this.view.highlights, this.highlightOptions = this.view.highlightOptions, 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.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 = 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, "layer-view-create"), this.arcgisViewLayerviewCreateError = e(() => this.view, "layer-view-create-error"), this.arcgisViewLayerviewDestroy = e(() => this.view, "layer-view-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();
|
|
26
27
|
}
|
|
27
28
|
static {
|
|
28
29
|
this.properties = { view: 32, allLayerViews: 0, autoDestroyDisabled: 5, background: 0, basemap: 1, basemapView: 0, center: 1, constraints: 0, displayFilterDisabled: 5, extent: 0, fatalError: 0, floors: 0, gamepad: 32, graphics: 0, ground: 1, highlights: 0, highlightOptions: 0, interacting: 32, ipsInfo: 0, 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 };
|
|
29
30
|
}
|
|
30
31
|
static {
|
|
31
|
-
this.shadowRootOptions =
|
|
32
|
+
this.shadowRootOptions = m;
|
|
32
33
|
}
|
|
33
34
|
static {
|
|
34
|
-
this.styles =
|
|
35
|
+
this.styles = u;
|
|
35
36
|
}
|
|
36
37
|
/**
|
|
37
38
|
* Represents the view's center point; when setting the center, you may pass a
|
|
@@ -44,7 +45,7 @@ class _ extends g {
|
|
|
44
45
|
return this.view.center ?? this._center;
|
|
45
46
|
}
|
|
46
47
|
set center(i) {
|
|
47
|
-
const t =
|
|
48
|
+
const t = h(i, this.ready ? this.view : void 0);
|
|
48
49
|
t && (this.ready && (this.view.center = t), this._center = t);
|
|
49
50
|
}
|
|
50
51
|
/**
|
|
@@ -106,7 +107,7 @@ class _ extends g {
|
|
|
106
107
|
return this.view.viewpoint ?? this._viewpoint;
|
|
107
108
|
}
|
|
108
109
|
set viewpoint(i) {
|
|
109
|
-
|
|
110
|
+
g(this.viewpoint, i) && (this.ready && (this.view.viewpoint = i), this._viewpoint = i);
|
|
110
111
|
}
|
|
111
112
|
/**
|
|
112
113
|
* Represents the level of detail (LOD) at the center of the view.
|
|
@@ -182,32 +183,31 @@ class _ extends g {
|
|
|
182
183
|
this.el.childElem = document.createElement("div"), this.el.childElem.classList.add("arcgis-map"), this.el.append(this.el.childElem), this.view.container ??= this.el.childElem;
|
|
183
184
|
}
|
|
184
185
|
loaded() {
|
|
185
|
-
const { watch: i } = this.reactiveUtils;
|
|
186
186
|
this.manager.onLifecycle(() => [
|
|
187
|
-
|
|
187
|
+
s(() => this.view.stationary, () => {
|
|
188
188
|
this.arcgisViewChange.emit();
|
|
189
189
|
}, { initial: !0 }),
|
|
190
|
-
|
|
190
|
+
s(() => this.view.ready, () => this.arcgisViewReadyChange.emit(), { initial: this.view.ready })
|
|
191
191
|
]);
|
|
192
192
|
}
|
|
193
193
|
// #endregion
|
|
194
194
|
// #region Private Methods
|
|
195
195
|
_editMapProperties(i) {
|
|
196
196
|
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";
|
|
197
|
-
const { basemap: t, ...
|
|
198
|
-
t || (i =
|
|
199
|
-
const { ground:
|
|
200
|
-
return
|
|
197
|
+
const { basemap: t, ...o } = i;
|
|
198
|
+
t || (i = o);
|
|
199
|
+
const { ground: n, ...w } = i;
|
|
200
|
+
return n || (i = w), i;
|
|
201
201
|
}
|
|
202
202
|
async _editViewProperties(i) {
|
|
203
203
|
await this.manager.use(this._map), this.view.ui || (i.ui = {
|
|
204
204
|
components: ["attribution"]
|
|
205
205
|
}), i.map ??= this._map;
|
|
206
|
-
const t =
|
|
206
|
+
const t = h(this.center, void 0);
|
|
207
207
|
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;
|
|
208
208
|
}
|
|
209
209
|
}
|
|
210
|
-
|
|
210
|
+
c("arcgis-map", V);
|
|
211
211
|
export {
|
|
212
|
-
|
|
212
|
+
V as ArcgisMap
|
|
213
213
|
};
|
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
2
2
|
/// <reference types="../../index.d.ts" />
|
|
3
|
-
import { ArcgisReferenceElement } from '../../utils/component-utils';
|
|
4
3
|
import { Use } from '@arcgis/components-controllers';
|
|
5
4
|
import { Nil } from '@arcgis/components-utils';
|
|
5
|
+
import { default as Measurement } from '@arcgis/core/widgets/Measurement.js';
|
|
6
6
|
import { PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
7
|
+
import { ArcgisReferenceElement } from '../../utils/component-utils';
|
|
7
8
|
|
|
8
9
|
declare const useMeasurementWidget: (component: import('@arcgis/components-controllers').StencilLifecycles & {
|
|
9
10
|
manager: import('@arcgis/components-controllers').ControllerManager;
|
|
10
11
|
el: HTMLElement;
|
|
11
12
|
autoDestroyDisabled?: boolean;
|
|
12
13
|
destroy?: () => Promise<void>;
|
|
13
|
-
} & Pick<
|
|
14
|
+
} & Pick<Measurement, never> & {
|
|
14
15
|
reactiveUtils?: typeof __esri.reactiveUtils;
|
|
15
16
|
state?: unknown;
|
|
16
17
|
viewModel?: __esri.MeasurementViewModel | undefined;
|
|
@@ -31,8 +32,8 @@ declare const useMeasurementWidget: (component: import('@arcgis/components-contr
|
|
|
31
32
|
autoDestroyDisabled: boolean;
|
|
32
33
|
destroy: () => Promise<void>;
|
|
33
34
|
}, options?: {
|
|
34
|
-
editConstructorProperties(props: __esri.MeasurementProperties): __esri.MeasurementProperties | Promise<__esri.MeasurementProperties
|
|
35
|
-
} | undefined) =>
|
|
35
|
+
editConstructorProperties(props: __esri.MeasurementProperties | undefined): __esri.MeasurementProperties | Promise<__esri.MeasurementProperties | undefined> | undefined;
|
|
36
|
+
} | undefined) => Measurement;
|
|
36
37
|
/**
|
|
37
38
|
* @internal
|
|
38
39
|
*/
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { c as t } from "../../chunks/runtime.js";
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
2
|
+
import { usePropertyChange as e } from "@arcgis/components-controllers";
|
|
3
|
+
import i from "@arcgis/core/widgets/Measurement.js";
|
|
4
|
+
import { LitElement as s, createEvent as a, noShadowRoot as o } from "@arcgis/lumina";
|
|
5
|
+
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.32/esri/copyright.txt for details.
|
|
9
|
-
v4.32.0-next.
|
|
10
|
-
const c = n`arcgis-measurement{display:block}`, h =
|
|
11
|
-
class l extends
|
|
9
|
+
v4.32.0-next.87 */
|
|
10
|
+
const c = n`arcgis-measurement{display:block}`, h = r(i);
|
|
11
|
+
class l extends s {
|
|
12
12
|
constructor() {
|
|
13
|
-
super(...arguments), this.widget = h(this), this.viewModel = this.widget.viewModel, this.activeTool = this.widget.activeTool, this.activeWidget = this.widget.activeWidget, this.areaUnit = this.widget.areaUnit, this.autoDestroyDisabled = !1, this.icon = this.widget.icon, this.label = this.widget.label, this.linearUnit = this.widget.linearUnit, this.position = "bottom-left", this.state = this.viewModel.state, this.arcgisPropertyChange =
|
|
13
|
+
super(...arguments), this.widget = h(this), this.viewModel = this.widget.viewModel, this.activeTool = this.widget.activeTool, this.activeWidget = this.widget.activeWidget, this.areaUnit = this.widget.areaUnit, this.autoDestroyDisabled = !1, this.icon = this.widget.icon, this.label = this.widget.label, this.linearUnit = this.widget.linearUnit, this.position = "bottom-left", this.state = this.viewModel.state, this.arcgisPropertyChange = e()("activeTool", "state"), this.arcgisReady = a();
|
|
14
14
|
}
|
|
15
15
|
static {
|
|
16
16
|
this.properties = { activeTool: 1, activeWidget: 0, areaUnit: 1, autoDestroyDisabled: 5, icon: 1, label: 1, linearUnit: 1, position: 1, referenceElement: 1, state: 3 };
|
|
17
17
|
}
|
|
18
18
|
static {
|
|
19
|
-
this.shadowRootOptions =
|
|
19
|
+
this.shadowRootOptions = o;
|
|
20
20
|
}
|
|
21
21
|
static {
|
|
22
22
|
this.styles = c;
|
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
2
2
|
/// <reference types="../../index.d.ts" />
|
|
3
|
-
import { ArcgisReferenceElement } from '../../utils/component-utils';
|
|
4
3
|
import { Use } from '@arcgis/components-controllers';
|
|
5
4
|
import { Nil } from '@arcgis/components-utils';
|
|
5
|
+
import { default as NavigationToggle } from '@arcgis/core/widgets/NavigationToggle.js';
|
|
6
6
|
import { PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
7
|
+
import { ArcgisReferenceElement } from '../../utils/component-utils';
|
|
7
8
|
|
|
8
9
|
declare const useNavigationToggleWidget: (component: import('@arcgis/components-controllers').StencilLifecycles & {
|
|
9
10
|
manager: import('@arcgis/components-controllers').ControllerManager;
|
|
10
11
|
el: HTMLElement;
|
|
11
12
|
autoDestroyDisabled?: boolean;
|
|
12
13
|
destroy?: () => Promise<void>;
|
|
13
|
-
} & Pick<
|
|
14
|
+
} & Pick<NavigationToggle, never> & {
|
|
14
15
|
reactiveUtils?: typeof __esri.reactiveUtils;
|
|
15
16
|
state?: unknown;
|
|
16
17
|
viewModel?: __esri.NavigationToggleViewModel | undefined;
|
|
@@ -31,8 +32,8 @@ declare const useNavigationToggleWidget: (component: import('@arcgis/components-
|
|
|
31
32
|
autoDestroyDisabled: boolean;
|
|
32
33
|
destroy: () => Promise<void>;
|
|
33
34
|
}, options?: {
|
|
34
|
-
editConstructorProperties(props: __esri.NavigationToggleProperties): __esri.NavigationToggleProperties | Promise<__esri.NavigationToggleProperties
|
|
35
|
-
} | undefined) =>
|
|
35
|
+
editConstructorProperties(props: __esri.NavigationToggleProperties | undefined): __esri.NavigationToggleProperties | Promise<__esri.NavigationToggleProperties | undefined> | undefined;
|
|
36
|
+
} | undefined) => NavigationToggle;
|
|
36
37
|
/** The [NavigationToggle](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-NavigationToggle.html) two simple buttons for toggling the [navigation mode](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-NavigationToggle-NavigationToggleViewModel.html#navigationMode) of a [SceneView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html).
|
|
37
38
|
*/
|
|
38
39
|
export declare class ArcgisNavigationToggle extends LitElement {
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { c as t } from "../../chunks/runtime.js";
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
2
|
+
import { usePropertyChange as i } from "@arcgis/components-controllers";
|
|
3
|
+
import e from "@arcgis/core/widgets/NavigationToggle.js";
|
|
4
|
+
import { LitElement as o, createEvent as s, noShadowRoot as a } from "@arcgis/lumina";
|
|
5
|
+
import { m as g } 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.32/esri/copyright.txt for details.
|
|
9
|
-
v4.32.0-next.
|
|
10
|
-
const n = r`arcgis-navigation-toggle{display:block}`, l =
|
|
11
|
-
class h extends
|
|
9
|
+
v4.32.0-next.87 */
|
|
10
|
+
const n = r`arcgis-navigation-toggle{display:block}`, l = g(e);
|
|
11
|
+
class h extends o {
|
|
12
12
|
constructor() {
|
|
13
|
-
super(...arguments), this.widget = l(this), this.viewModel = this.widget.viewModel, this.autoDestroyDisabled = !1, this.icon = this.widget.icon, this.label = this.widget.label, this.layout = this.widget.layout, this.position = "bottom-left", this.state = this.viewModel.state, this.navigationMode = this.viewModel.navigationMode, this.arcgisPropertyChange =
|
|
13
|
+
super(...arguments), this.widget = l(this), this.viewModel = this.widget.viewModel, this.autoDestroyDisabled = !1, this.icon = this.widget.icon, this.label = this.widget.label, this.layout = this.widget.layout, this.position = "bottom-left", this.state = this.viewModel.state, this.navigationMode = this.viewModel.navigationMode, this.arcgisPropertyChange = i()("layout", "state"), this.arcgisReady = s();
|
|
14
14
|
}
|
|
15
15
|
static {
|
|
16
16
|
this.properties = { autoDestroyDisabled: 5, icon: 1, label: 1, layout: 3, position: 1, referenceElement: 1, state: 3, navigationMode: 3 };
|
|
17
17
|
}
|
|
18
18
|
static {
|
|
19
|
-
this.shadowRootOptions =
|
|
19
|
+
this.shadowRootOptions = a;
|
|
20
20
|
}
|
|
21
21
|
static {
|
|
22
22
|
this.styles = n;
|
|
@@ -2,10 +2,11 @@
|
|
|
2
2
|
/// <reference types="../../index.d.ts" />
|
|
3
3
|
import { Use } from '@arcgis/components-controllers';
|
|
4
4
|
import { Nil } from '@arcgis/components-utils';
|
|
5
|
-
import { default as
|
|
5
|
+
import { default as OrientedImageryLayer } from '@arcgis/core/layers/OrientedImageryLayer.js';
|
|
6
|
+
import { default as OrientedImageryViewer } from '@arcgis/core/widgets/OrientedImageryViewer.js';
|
|
6
7
|
import { PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
7
|
-
import { ArcgisReferenceElement } from '../../utils/component-utils';
|
|
8
8
|
import { PropertyValues } from 'lit';
|
|
9
|
+
import { ArcgisReferenceElement } from '../../utils/component-utils';
|
|
9
10
|
|
|
10
11
|
export type OrientedImageryViewerWidget = InstanceType<typeof OrientedImageryViewer>;
|
|
11
12
|
declare const useOrientedImageryViewerWidget: (component: import('@arcgis/components-controllers').StencilLifecycles & {
|
|
@@ -13,7 +14,7 @@ declare const useOrientedImageryViewerWidget: (component: import('@arcgis/compon
|
|
|
13
14
|
el: HTMLElement;
|
|
14
15
|
autoDestroyDisabled?: boolean;
|
|
15
16
|
destroy?: () => Promise<void>;
|
|
16
|
-
} & Pick<OrientedImageryViewer,
|
|
17
|
+
} & Pick<OrientedImageryViewer, never> & {
|
|
17
18
|
reactiveUtils?: typeof __esri.reactiveUtils;
|
|
18
19
|
state?: unknown;
|
|
19
20
|
viewModel?: __esri.OrientedImageryViewerViewModel | undefined;
|
|
@@ -34,7 +35,7 @@ declare const useOrientedImageryViewerWidget: (component: import('@arcgis/compon
|
|
|
34
35
|
autoDestroyDisabled: boolean;
|
|
35
36
|
destroy: () => Promise<void>;
|
|
36
37
|
}, options?: {
|
|
37
|
-
editConstructorProperties(props: __esri.OrientedImageryViewerProperties): __esri.OrientedImageryViewerProperties | Promise<__esri.OrientedImageryViewerProperties
|
|
38
|
+
editConstructorProperties(props: __esri.OrientedImageryViewerProperties | undefined): __esri.OrientedImageryViewerProperties | Promise<__esri.OrientedImageryViewerProperties | undefined> | undefined;
|
|
38
39
|
} | undefined) => OrientedImageryViewer;
|
|
39
40
|
/** The [OrientedImageryViewer](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-OrientedImageryViewer.html) allows the user to explore and use their oriented images.
|
|
40
41
|
*/
|
|
@@ -62,13 +63,13 @@ export declare class ArcgisOrientedImageryViewer extends LitElement {
|
|
|
62
63
|
isAdditionalPointSourcesVisible: boolean;
|
|
63
64
|
/** The component's default label. */
|
|
64
65
|
label: string | nullish;
|
|
65
|
-
layer:
|
|
66
|
+
layer: OrientedImageryLayer | nullish;
|
|
66
67
|
mapImageConversionToolState: boolean;
|
|
67
68
|
navigationToolActive: boolean;
|
|
68
69
|
orientedImageryLayerItemId?: string;
|
|
69
70
|
position: __esri.UIPosition;
|
|
70
71
|
referenceElement: ArcgisReferenceElement | Nil | string;
|
|
71
|
-
readonly referencePoint:
|
|
72
|
+
readonly referencePoint: __esri.Point | nullish;
|
|
72
73
|
/** Permanently destroy the component */
|
|
73
74
|
destroy(): Promise<void>;
|
|
74
75
|
readonly arcgisPropertyChange: TargetedEvent<this, {
|
|
@@ -1,25 +1,26 @@
|
|
|
1
|
-
import { c as
|
|
1
|
+
import { c as t } from "../../chunks/runtime.js";
|
|
2
2
|
import { usePropertyChange as a } from "@arcgis/components-controllers";
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import { LitElement as
|
|
6
|
-
import {
|
|
3
|
+
import s from "@arcgis/core/layers/OrientedImageryLayer.js";
|
|
4
|
+
import r from "@arcgis/core/widgets/OrientedImageryViewer.js";
|
|
5
|
+
import { LitElement as o, createEvent as d, noShadowRoot as n } from "@arcgis/lumina";
|
|
6
|
+
import { m as l } from "../../chunks/useWidget.js";
|
|
7
|
+
import { css as g } from "@lit/reactive-element/css-tag.js";
|
|
7
8
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
8
9
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
9
|
-
v4.32.0-next.
|
|
10
|
-
const
|
|
11
|
-
class
|
|
10
|
+
v4.32.0-next.87 */
|
|
11
|
+
const h = g`arcgis-oriented-imagery-viewer{display:block}`, m = l(r);
|
|
12
|
+
class y extends o {
|
|
12
13
|
constructor() {
|
|
13
|
-
super(...arguments), this.widget =
|
|
14
|
+
super(...arguments), this.widget = m(this), this._hasOrientedImageryLayerToAdd = !1, this.viewModel = this.widget.viewModel, this.autoDestroyDisabled = !1, this.currentCoverageVisible = this.widget.currentCoverageVisible, this.disabled = this.widget.disabled, this.galleryOpened = this.widget.galleryOpened, this.icon = this.widget.icon, this.imageEnhancementToolActive = this.widget.imageEnhancementToolActive, this.imageGalleryEnabled = this.widget.imageGalleryEnabled, this.isAdditionalCoverageVisible = this.widget.isAdditionalCoverageVisible, this.isAdditionalPointSourcesVisible = this.widget.isAdditionalPointSourcesVisible, this.label = this.widget.label, this.layer = this.widget.layer, this.mapImageConversionToolState = this.widget.mapImageConversionToolState, this.navigationToolActive = this.widget.navigationToolActive, this.position = "bottom-left", this.referencePoint = this.widget.referencePoint, this.arcgisPropertyChange = a()("imageGalleryEnabled", "layer"), this.arcgisReady = d();
|
|
14
15
|
}
|
|
15
16
|
static {
|
|
16
17
|
this.properties = { autoDestroyDisabled: 5, currentCoverageVisible: 5, disabled: 5, galleryOpened: 5, icon: 1, imageEnhancementToolActive: 5, imageGalleryEnabled: 4, isAdditionalCoverageVisible: 5, isAdditionalPointSourcesVisible: 5, label: 1, layer: 0, mapImageConversionToolState: 5, navigationToolActive: 5, orientedImageryLayerItemId: 1, position: 1, referenceElement: 1, referencePoint: 0 };
|
|
17
18
|
}
|
|
18
19
|
static {
|
|
19
|
-
this.shadowRootOptions =
|
|
20
|
+
this.shadowRootOptions = n;
|
|
20
21
|
}
|
|
21
22
|
static {
|
|
22
|
-
this.styles =
|
|
23
|
+
this.styles = h;
|
|
23
24
|
}
|
|
24
25
|
//#endregion
|
|
25
26
|
//#region Public Methods
|
|
@@ -32,13 +33,11 @@ class c extends n {
|
|
|
32
33
|
willUpdate(e) {
|
|
33
34
|
if (e.has("orientedImageryLayerItemId")) {
|
|
34
35
|
const i = this.orientedImageryLayerItemId;
|
|
35
|
-
i && this.widget &&
|
|
36
|
+
i && this.widget && (this.layer = new s({
|
|
36
37
|
portalItem: {
|
|
37
38
|
id: i
|
|
38
39
|
}
|
|
39
|
-
}).
|
|
40
|
-
this.layer = t, this.widget.view ? this.widget.view.map.add(this.layer) : this._hasOrientedImageryLayerToAdd = !0;
|
|
41
|
-
}).catch(console.error);
|
|
40
|
+
}), this.widget.view ? this.widget.view.map.add(this.layer) : this._hasOrientedImageryLayerToAdd = !0);
|
|
42
41
|
}
|
|
43
42
|
}
|
|
44
43
|
loaded() {
|
|
@@ -53,7 +52,7 @@ class c extends n {
|
|
|
53
52
|
e && (this.widget.view?.map.add(e), this._hasOrientedImageryLayerToAdd = !1);
|
|
54
53
|
}
|
|
55
54
|
}
|
|
56
|
-
|
|
55
|
+
t("arcgis-oriented-imagery-viewer", y);
|
|
57
56
|
export {
|
|
58
|
-
|
|
57
|
+
y as ArcgisOrientedImageryViewer
|
|
59
58
|
};
|
|
@@ -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.32/esri/copyright.txt for details.
|
|
7
|
-
v4.32.0-next.
|
|
7
|
+
v4.32.0-next.87 */
|
|
8
8
|
const h = c`arcgis-placement{display:flex;pointer-events:auto;box-shadow:none}.arcgis-placement__container{display:block}`;
|
|
9
9
|
class a extends r {
|
|
10
10
|
//#endregion
|
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
2
2
|
/// <reference types="../../index.d.ts" />
|
|
3
|
-
import { ArcgisReferenceElement } from '../../utils/component-utils';
|
|
4
3
|
import { Use } from '@arcgis/components-controllers';
|
|
5
4
|
import { Nil } from '@arcgis/components-utils';
|
|
5
|
+
import { default as Print } from '@arcgis/core/widgets/Print.js';
|
|
6
6
|
import { PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
7
|
+
import { ArcgisReferenceElement } from '../../utils/component-utils';
|
|
7
8
|
|
|
8
9
|
declare const usePrintWidget: (component: import('@arcgis/components-controllers').StencilLifecycles & {
|
|
9
10
|
manager: import('@arcgis/components-controllers').ControllerManager;
|
|
10
11
|
el: HTMLElement;
|
|
11
12
|
autoDestroyDisabled?: boolean;
|
|
12
13
|
destroy?: () => Promise<void>;
|
|
13
|
-
} & Pick<
|
|
14
|
+
} & Pick<Print, never> & {
|
|
14
15
|
reactiveUtils?: typeof __esri.reactiveUtils;
|
|
15
16
|
state?: unknown;
|
|
16
17
|
viewModel?: __esri.PrintViewModel | undefined;
|
|
@@ -31,8 +32,8 @@ declare const usePrintWidget: (component: import('@arcgis/components-controllers
|
|
|
31
32
|
autoDestroyDisabled: boolean;
|
|
32
33
|
destroy: () => Promise<void>;
|
|
33
34
|
}, options?: {
|
|
34
|
-
editConstructorProperties(props: __esri.PrintProperties): __esri.PrintProperties | Promise<__esri.PrintProperties
|
|
35
|
-
} | undefined) =>
|
|
35
|
+
editConstructorProperties(props: __esri.PrintProperties | undefined): __esri.PrintProperties | Promise<__esri.PrintProperties | undefined> | undefined;
|
|
36
|
+
} | undefined) => Print;
|
|
36
37
|
/** [Print](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Print.html) connects your application with a [printing service](https://enterprise.arcgis.com/en/portal/latest/administer/windows/configure-the-portal-to-print-maps.htm) to allow the map to be printed.
|
|
37
38
|
*/
|
|
38
39
|
export declare class ArcgisPrint extends LitElement {
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { c as i } from "../../chunks/runtime.js";
|
|
2
|
-
import {
|
|
3
|
-
import { usePropertyChange as r } from "@arcgis/components-controllers";
|
|
4
|
-
import { m as o } from "../../chunks/useWidget.js";
|
|
5
|
-
import { LitElement as a, createEvent as l, noShadowRoot as n } from "@arcgis/lumina";
|
|
2
|
+
import { usePropertyChange as s } from "@arcgis/components-controllers";
|
|
6
3
|
import { reEmitEvent as e } from "@arcgis/components-controllers/accessor";
|
|
4
|
+
import r from "@arcgis/core/widgets/Print.js";
|
|
5
|
+
import { LitElement as o, createEvent as a, noShadowRoot as l } from "@arcgis/lumina";
|
|
6
|
+
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.32/esri/copyright.txt for details.
|
|
10
|
-
v4.32.0-next.
|
|
11
|
-
const d = h`arcgis-print{display:block}`, m =
|
|
12
|
-
class p extends
|
|
10
|
+
v4.32.0-next.87 */
|
|
11
|
+
const d = h`arcgis-print{display:block}`, m = n(r);
|
|
12
|
+
class p extends o {
|
|
13
13
|
constructor() {
|
|
14
|
-
super(...arguments), this.widget = m(this), this.viewModel = this.widget.viewModel, this.allowedFormats = this.widget.allowedFormats, this.allowedLayouts = this.widget.allowedLayouts, this.autoDestroyDisabled = !1, this.exportedLinks = this.widget.exportedLinks, this.extraParameters = this.widget.extraParameters, this.headingLevel = this.widget.headingLevel, this.icon = this.widget.icon, this.includeDefaultTemplatesDisabled = this.widget.includeDefaultTemplates, this.label = this.widget.label, this.portal = this.widget.portal, this.position = "bottom-left", this.printServiceUrl = this.widget.printServiceUrl, this.showPrintAreaEnabled = this.widget.showPrintAreaEnabled, this.state = this.viewModel.state, this.templateCustomTextElements = this.widget.templateCustomTextElements, this.templateOptions = this.widget.templateOptions, this.arcgisComplete = e(() => this.widget, "complete"), this.arcgisPropertyChange =
|
|
14
|
+
super(...arguments), this.widget = m(this), this.viewModel = this.widget.viewModel, this.allowedFormats = this.widget.allowedFormats, this.allowedLayouts = this.widget.allowedLayouts, this.autoDestroyDisabled = !1, this.exportedLinks = this.widget.exportedLinks, this.extraParameters = this.widget.extraParameters, this.headingLevel = this.widget.headingLevel, this.icon = this.widget.icon, this.includeDefaultTemplatesDisabled = this.widget.includeDefaultTemplates, this.label = this.widget.label, this.portal = this.widget.portal, this.position = "bottom-left", this.printServiceUrl = this.widget.printServiceUrl, this.showPrintAreaEnabled = this.widget.showPrintAreaEnabled, this.state = this.viewModel.state, this.templateCustomTextElements = this.widget.templateCustomTextElements, this.templateOptions = this.widget.templateOptions, this.arcgisComplete = e(() => this.widget, "complete"), this.arcgisPropertyChange = s()("state"), this.arcgisReady = a(), this.arcgisSubmit = e(() => this.widget, "submit");
|
|
15
15
|
}
|
|
16
16
|
static {
|
|
17
17
|
this.properties = { allowedFormats: [1, { converter: (t) => typeof t == "string" && t !== "all" ? t.split(",") : t }], allowedLayouts: [1, { converter: (t) => typeof t == "string" && t !== "all" ? t.split(",") : t }], autoDestroyDisabled: 5, exportedLinks: 0, extraParameters: 1, headingLevel: 9, icon: 1, includeDefaultTemplatesDisabled: 5, label: 1, portal: 0, position: 1, printServiceUrl: 1, referenceElement: 1, showPrintAreaEnabled: 7, state: 3, templateCustomTextElements: 0, templateOptions: 0 };
|
|
18
18
|
}
|
|
19
19
|
static {
|
|
20
|
-
this.shadowRootOptions =
|
|
20
|
+
this.shadowRootOptions = l;
|
|
21
21
|
}
|
|
22
22
|
static {
|
|
23
23
|
this.styles = d;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
2
2
|
/// <reference types="../../index.d.ts" />
|
|
3
|
-
import { ArcgisReferenceElement } from '../../utils/component-utils';
|
|
4
|
-
import { Nil } from '@arcgis/components-utils';
|
|
5
3
|
import { Use } from '@arcgis/components-controllers';
|
|
6
|
-
import {
|
|
4
|
+
import { Nil } from '@arcgis/components-utils';
|
|
5
|
+
import { default as ScaleBarViewModel } from '@arcgis/core/widgets/ScaleBar/ScaleBarViewModel.js';
|
|
7
6
|
import { JsxNode, PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
7
|
+
import { ArcgisReferenceElement } from '../../utils/component-utils';
|
|
8
|
+
import { MeasurementSystem } from '../types';
|
|
8
9
|
|
|
9
10
|
type ScaleBarStyle = "line" | "ruler";
|
|
10
11
|
type ScaleBarUnit = MeasurementSystem | "dual";
|
|
@@ -13,7 +14,7 @@ declare const useScaleBarViewModel: (component: import('@arcgis/components-contr
|
|
|
13
14
|
el: HTMLElement;
|
|
14
15
|
autoDestroyDisabled?: boolean;
|
|
15
16
|
destroy?: () => Promise<void>;
|
|
16
|
-
} & Pick<
|
|
17
|
+
} & Pick<ScaleBarViewModel, never> & {
|
|
17
18
|
reactiveUtils?: typeof __esri.reactiveUtils;
|
|
18
19
|
state?: "ready" | "disabled" | undefined;
|
|
19
20
|
icon: Nil | string;
|
|
@@ -34,7 +35,7 @@ declare const useScaleBarViewModel: (component: import('@arcgis/components-contr
|
|
|
34
35
|
destroy: () => Promise<void>;
|
|
35
36
|
}, options?: {
|
|
36
37
|
editConstructorProperties(props: unknown): unknown;
|
|
37
|
-
} | undefined) =>
|
|
38
|
+
} | undefined) => ScaleBarViewModel;
|
|
38
39
|
/** The [ScaleBar](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-ScaleBar.html) displays a scale bar on the map or in a specified HTML node.
|
|
39
40
|
*/
|
|
40
41
|
export declare class ArcgisScaleBar extends LitElement {
|
|
@@ -1,15 +1,20 @@
|
|
|
1
|
-
import { c as
|
|
2
|
-
import { ref as
|
|
1
|
+
import { c as C } from "../../chunks/runtime.js";
|
|
2
|
+
import { ref as g } from "lit-html/directives/ref.js";
|
|
3
3
|
import { html as u } from "lit-html";
|
|
4
|
-
import { g as v } from "../../chunks/globalCss.js";
|
|
5
|
-
import { u as y, m as S } from "../../chunks/useViewModel.js";
|
|
6
4
|
import { classes as d } from "@arcgis/components-utils";
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
5
|
+
import { getDefaultUnitForView as w } from "@arcgis/core/applications/Components/getDefaultUnits.js";
|
|
6
|
+
import { watch as y } from "@arcgis/core/core/reactiveUtils.js";
|
|
7
|
+
import { formatNumber as S } from "@arcgis/core/intl.js";
|
|
8
|
+
import L from "@arcgis/core/widgets/ScaleBar/ScaleBarViewModel.js";
|
|
9
|
+
import { LitElement as B, createEvent as M, noShadowRoot as R, safeClassMap as a, safeStyleMap as f } from "@arcgis/lumina";
|
|
10
|
+
import { u as x, m as D } from "../../chunks/useViewModel.js";
|
|
11
|
+
import { g as v } from "../../chunks/globalCss.js";
|
|
10
12
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
11
13
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
12
|
-
v4.32.0-next.
|
|
14
|
+
v4.32.0-next.87 */
|
|
15
|
+
function $(_ = 0, e = 0) {
|
|
16
|
+
return { x: _, y: e };
|
|
17
|
+
}
|
|
13
18
|
const r = "esri-scale-bar", t = {
|
|
14
19
|
base: r,
|
|
15
20
|
labelContainer: `${r}__label-container`,
|
|
@@ -26,20 +31,16 @@ const r = "esri-scale-bar", t = {
|
|
|
26
31
|
barContainer: `${r}__bar-container`,
|
|
27
32
|
rulerBarContainer: `${r}__bar-container--ruler`,
|
|
28
33
|
lineBarContainer: `${r}__bar-container--line`
|
|
29
|
-
};
|
|
30
|
-
|
|
31
|
-
return { x: f, y: e };
|
|
32
|
-
}
|
|
33
|
-
const k = S(M);
|
|
34
|
-
class O extends R {
|
|
34
|
+
}, U = D(L);
|
|
35
|
+
class k extends B {
|
|
35
36
|
constructor() {
|
|
36
|
-
super(...arguments), this._defaultUnit = "metric", this.
|
|
37
|
+
super(...arguments), this._defaultUnit = "metric", this.messages = x(), this._scaleComputedFrom = $(), this.viewModel = U(this), this.autoDestroyDisabled = !1, this.barStyle = "line", this.icon = "actual-size", this.position = "top-left", this.arcgisReady = M();
|
|
37
38
|
}
|
|
38
39
|
static {
|
|
39
40
|
this.properties = { autoDestroyDisabled: 5, barStyle: 1, icon: 3, label: 1, messageOverrides: 0, position: 3, referenceElement: 1, unit: 1 };
|
|
40
41
|
}
|
|
41
42
|
static {
|
|
42
|
-
this.shadowRootOptions =
|
|
43
|
+
this.shadowRootOptions = R;
|
|
43
44
|
}
|
|
44
45
|
/**
|
|
45
46
|
* Units to use for the scale bar.
|
|
@@ -65,10 +66,10 @@ class O extends R {
|
|
|
65
66
|
this._handleRootCreateOrUpdate();
|
|
66
67
|
}
|
|
67
68
|
loaded() {
|
|
68
|
-
this.manager.onLifecycle(() =>
|
|
69
|
+
this.manager.onLifecycle(() => y(() => {
|
|
69
70
|
const e = this.viewModel.view;
|
|
70
71
|
return {
|
|
71
|
-
defaultUnit: e ?
|
|
72
|
+
defaultUnit: e ? w(e) : void 0,
|
|
72
73
|
stationary: e?.stationary,
|
|
73
74
|
center: e?.center,
|
|
74
75
|
scale: e?.scale,
|
|
@@ -86,11 +87,11 @@ class O extends R {
|
|
|
86
87
|
_handleRootCreateOrUpdate() {
|
|
87
88
|
if (!this.viewModel)
|
|
88
89
|
return;
|
|
89
|
-
const e = this._scaleComputedFrom, i = this.el.getBoundingClientRect(),
|
|
90
|
-
(
|
|
90
|
+
const e = this._scaleComputedFrom, i = this.el.getBoundingClientRect(), o = i.left + window.pageXOffset, l = i.top + window.pageYOffset, n = $(o, l);
|
|
91
|
+
(n.x !== e.x || n.y !== e.y) && (this._scaleComputedFrom = n);
|
|
91
92
|
}
|
|
92
93
|
_formatDistance(e, i) {
|
|
93
|
-
return
|
|
94
|
+
return S(e, {
|
|
94
95
|
style: "unit",
|
|
95
96
|
unit: i,
|
|
96
97
|
unitDisplay: "short"
|
|
@@ -102,36 +103,36 @@ class O extends R {
|
|
|
102
103
|
const e = this.viewModel.state === "disabled", i = {
|
|
103
104
|
[v.disabled]: e
|
|
104
105
|
};
|
|
105
|
-
let
|
|
106
|
+
let o, l;
|
|
106
107
|
if (!e) {
|
|
107
|
-
const { unit:
|
|
108
|
-
if (p) {
|
|
109
|
-
const n = this.viewModel.getScaleBarProperties(m, "imperial");
|
|
110
|
-
n && (o = h === "ruler" ? this._renderRuler(n) : this._renderLine(n, "bottom"));
|
|
111
|
-
}
|
|
108
|
+
const { unit: n, barStyle: c } = this, b = n === "imperial" || n === "dual", p = n === "metric" || n === "dual", m = 100, h = n === "dual" ? "line" : c;
|
|
112
109
|
if (b) {
|
|
113
|
-
const
|
|
114
|
-
|
|
110
|
+
const s = this.viewModel.getScaleBarProperties(m, "imperial");
|
|
111
|
+
s && (l = h === "ruler" ? this._renderRuler(s) : this._renderLine(s, "bottom"));
|
|
112
|
+
}
|
|
113
|
+
if (p) {
|
|
114
|
+
const s = this.viewModel.getScaleBarProperties(m, "metric");
|
|
115
|
+
s && (o = h === "ruler" ? this._renderRuler(s) : this._renderLine(s, "top"));
|
|
115
116
|
}
|
|
116
117
|
}
|
|
117
|
-
return u`<div class=${a(d(t.base, v.widget, i))} ${
|
|
118
|
+
return u`<div class=${a(d(t.base, v.widget, i))} ${g(this._handleContainerRef)}>${o}${l}</div>`;
|
|
118
119
|
}
|
|
119
120
|
_renderRuler(e) {
|
|
120
|
-
const { length: i, unit:
|
|
121
|
-
return u`<div class=${a(d(t.barContainer, t.rulerBarContainer))}><div class=${a(t.ruler)} style=${
|
|
121
|
+
const { length: i, unit: o, value: l } = e, n = Math.round(i), c = this._formatDistance(l, o);
|
|
122
|
+
return u`<div class=${a(d(t.barContainer, t.rulerBarContainer))}><div class=${a(t.ruler)} style=${f({ width: `${n}px` })}><div class=${a(t.rulerBlock)}></div><div class=${a(t.rulerBlock)}></div><div class=${a(t.rulerBlock)}></div><div class=${a(t.rulerBlock)}></div></div><div class=${a(d(t.labelContainer, t.rulerLabelContainer))}><div class=${a(t.label)}>0</div><div class=${a(t.label)}>${c}</div></div></div>`;
|
|
122
123
|
}
|
|
123
124
|
_renderLine(e, i) {
|
|
124
|
-
const { length:
|
|
125
|
+
const { length: o, unit: l, value: n } = e, c = Math.round(o), b = this._formatDistance(n, l), p = {
|
|
125
126
|
[t.topLabelContainer]: i === "top",
|
|
126
127
|
[t.bottomLabelContainer]: i === "bottom"
|
|
127
|
-
}, m = u`<div class=${a(d(t.labelContainer, t.lineLabelContainer,
|
|
128
|
+
}, m = u`<div class=${a(d(t.labelContainer, t.lineLabelContainer, p))}><div class=${a(t.label)}>${b}</div></div>`, h = {
|
|
128
129
|
[t.topLine]: i === "top",
|
|
129
130
|
[t.bottomLine]: i === "bottom"
|
|
130
|
-
},
|
|
131
|
-
return u`<div class=${a(d(t.barContainer, t.lineBarContainer))}>${[
|
|
131
|
+
}, s = u`<div class=${a(d(t.line, h))} style=${f({ width: `${c}px` })}></div>`;
|
|
132
|
+
return u`<div class=${a(d(t.barContainer, t.lineBarContainer))}>${[s, m]}</div>`;
|
|
132
133
|
}
|
|
133
134
|
}
|
|
134
|
-
|
|
135
|
+
C("arcgis-scale-bar", k);
|
|
135
136
|
export {
|
|
136
|
-
|
|
137
|
+
k as ArcgisScaleBar
|
|
137
138
|
};
|