@arcgis/map-components 4.32.0-next.85 → 4.32.0-next.88
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/3577APUZ.js +4 -0
- package/dist/arcgis-map-components/3DL27QZW.js +4 -0
- package/dist/arcgis-map-components/3MEU7B7Y.js +4 -0
- package/dist/arcgis-map-components/3X5AYNOM.js +4 -0
- package/dist/arcgis-map-components/4L7FLT2D.js +4 -0
- package/dist/arcgis-map-components/4TXYBQNO.js +4 -0
- package/dist/arcgis-map-components/52PI4GNZ.js +4 -0
- package/dist/arcgis-map-components/5CLL3KLZ.js +4 -0
- package/dist/arcgis-map-components/5MDOFYJ5.js +4 -0
- package/dist/arcgis-map-components/5ME5UGYB.js +4 -0
- package/dist/arcgis-map-components/634RHQXB.js +4 -0
- package/dist/arcgis-map-components/6LUJE54O.js +4 -0
- package/dist/arcgis-map-components/{HW7Z4CZB.js → 6QYZTRCR.js} +1 -1
- package/dist/arcgis-map-components/75JC4FOA.js +4 -0
- package/dist/arcgis-map-components/7DIZ4ZQF.js +4 -0
- package/dist/arcgis-map-components/7JH5N2Z4.js +4 -0
- package/dist/arcgis-map-components/AKAZWNFN.js +4 -0
- package/dist/arcgis-map-components/ANMDMRT6.js +4 -0
- package/dist/arcgis-map-components/ARAAAHQV.js +4 -0
- package/dist/arcgis-map-components/{DBPKJOYW.js → ARYREPG3.js} +1 -1
- package/dist/arcgis-map-components/{VHE6RZA2.js → AZIVIOUI.js} +2 -2
- package/dist/arcgis-map-components/B2YPOJTB.js +4 -0
- package/dist/arcgis-map-components/BQJNTFP2.js +4 -0
- package/dist/arcgis-map-components/C2U3XZFG.js +4 -0
- package/dist/arcgis-map-components/D7EQNFBC.js +4 -0
- package/dist/arcgis-map-components/DTFTBCRQ.js +4 -0
- package/dist/arcgis-map-components/ESAK72A6.js +4 -0
- package/dist/arcgis-map-components/F6JMRH7D.js +4 -0
- package/dist/arcgis-map-components/FDUTHDCI.js +4 -0
- package/dist/arcgis-map-components/HTT4KQQN.js +4 -0
- package/dist/arcgis-map-components/HWIWVCAD.js +4 -0
- package/dist/arcgis-map-components/HWQZOTBV.js +4 -0
- package/dist/arcgis-map-components/IKR6XIOI.js +4 -0
- package/dist/arcgis-map-components/J4HMJHED.js +4 -0
- package/dist/arcgis-map-components/JKA5ICCI.js +4 -0
- package/dist/arcgis-map-components/KCUKOSJ4.js +4 -0
- package/dist/arcgis-map-components/KD6RA2AT.js +4 -0
- package/dist/arcgis-map-components/LLDA6O2O.js +4 -0
- package/dist/arcgis-map-components/MH6F3GX3.js +4 -0
- package/dist/arcgis-map-components/{ERS4HX5J.js → MIWOTQVJ.js} +1 -1
- package/dist/arcgis-map-components/{MDHKEFLL.js → MRK3TYGR.js} +4 -4
- package/dist/arcgis-map-components/MRZIS6VP.js +4 -0
- package/dist/arcgis-map-components/MYSTZ72O.js +4 -0
- package/dist/arcgis-map-components/NBEYX2WQ.js +4 -0
- package/dist/arcgis-map-components/{WZV3Y366.js → NOSLMKCR.js} +2 -2
- package/dist/arcgis-map-components/NS7AFHW7.js +4 -0
- package/dist/arcgis-map-components/{564KMD2H.js → NSIEQOMU.js} +2 -2
- package/dist/arcgis-map-components/{FHOJWHL5.js → NVAEPG23.js} +2 -2
- package/dist/arcgis-map-components/OLPXZA6L.js +4 -0
- package/dist/arcgis-map-components/OVZUD7TM.js +4 -0
- package/dist/arcgis-map-components/{LMOFB4IY.js → P44CMUQU.js} +2 -2
- package/dist/arcgis-map-components/QB7LWCYY.js +4 -0
- package/dist/arcgis-map-components/QQPIYHFQ.js +4 -0
- package/dist/arcgis-map-components/QV6KVTEC.js +4 -0
- package/dist/arcgis-map-components/RGZX5TZG.js +4 -0
- package/dist/arcgis-map-components/{Z6JJJVA2.js → RM37L5XX.js} +2 -2
- package/dist/arcgis-map-components/RO37UZGN.js +4 -0
- package/dist/arcgis-map-components/SEGZL4JX.js +4 -0
- package/dist/arcgis-map-components/SVQZHKIH.js +4 -0
- package/dist/arcgis-map-components/TGU4DNKS.js +4 -0
- package/dist/arcgis-map-components/TX5S76AE.js +4 -0
- package/dist/arcgis-map-components/UAC5G3QY.js +4 -0
- package/dist/arcgis-map-components/UHGOOASX.js +4 -0
- package/dist/arcgis-map-components/URSAFWHZ.js +4 -0
- package/dist/arcgis-map-components/VKEL67GU.js +4 -0
- package/dist/arcgis-map-components/W2XVFUNW.js +4 -0
- package/dist/arcgis-map-components/WVDHWJMU.js +4 -0
- package/dist/arcgis-map-components/X6EW4NUK.js +4 -0
- package/dist/arcgis-map-components/YV5MVH6W.js +4 -0
- package/dist/arcgis-map-components/YYZTWFQX.js +4 -0
- package/dist/arcgis-map-components/{4GMWGCYP.js → ZVH6KCO6.js} +2 -2
- package/dist/arcgis-map-components/ZZL7HBWM.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,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.88 */
|
|
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.88 */
|
|
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.88 */
|
|
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.88 */
|
|
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.88 */
|
|
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
|
};
|
|
@@ -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 ScaleRangeSlider } from '@arcgis/core/widgets/ScaleRangeSlider.js';
|
|
6
6
|
import { PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
7
|
+
import { ArcgisReferenceElement } from '../../utils/component-utils';
|
|
7
8
|
|
|
8
9
|
declare const useScaleRangeSliderWidget: (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<ScaleRangeSlider, never> & {
|
|
14
15
|
reactiveUtils?: typeof __esri.reactiveUtils;
|
|
15
16
|
state?: unknown;
|
|
16
17
|
viewModel?: __esri.ScaleRangeSliderViewModel | undefined;
|
|
@@ -31,8 +32,8 @@ declare const useScaleRangeSliderWidget: (component: import('@arcgis/components-
|
|
|
31
32
|
autoDestroyDisabled: boolean;
|
|
32
33
|
destroy: () => Promise<void>;
|
|
33
34
|
}, options?: {
|
|
34
|
-
editConstructorProperties(props: __esri.ScaleRangeSliderProperties): __esri.ScaleRangeSliderProperties | Promise<__esri.ScaleRangeSliderProperties
|
|
35
|
-
} | undefined) =>
|
|
35
|
+
editConstructorProperties(props: __esri.ScaleRangeSliderProperties | undefined): __esri.ScaleRangeSliderProperties | Promise<__esri.ScaleRangeSliderProperties | undefined> | undefined;
|
|
36
|
+
} | undefined) => ScaleRangeSlider;
|
|
36
37
|
/** The [ScaleRangeSlider](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-ScaleRangeSlider.html) allows the user to set a minimum and maximum scale based on named scale ranges.
|
|
37
38
|
*/
|
|
38
39
|
export declare class ArcgisScaleRangeSlider extends LitElement {
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { c as e } from "../../chunks/runtime.js";
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { css as
|
|
2
|
+
import { usePropertyChange as i } from "@arcgis/components-controllers";
|
|
3
|
+
import t from "@arcgis/core/widgets/ScaleRangeSlider.js";
|
|
4
|
+
import { LitElement as s, createEvent as a, noShadowRoot as l } from "@arcgis/lumina";
|
|
5
|
+
import { m as o } from "../../chunks/useWidget.js";
|
|
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 =
|
|
11
|
-
class
|
|
9
|
+
v4.32.0-next.88 */
|
|
10
|
+
const c = n`arcgis-scale-range-slider{display:block}`, r = o(t);
|
|
11
|
+
class h extends s {
|
|
12
12
|
constructor() {
|
|
13
|
-
super(...arguments), this.widget = r(this), this.viewModel = this.widget.viewModel, this.autoDestroyDisabled = !1, this.disabled = this.widget.disabled, this.hidePreview = this.widget.visibleElements.preview, this.hideScaleMenusMaxScaleMenu = this.widget.visibleElements.scaleMenus.maxScaleMenu, this.hideScaleMenusMinScaleMenu = this.widget.visibleElements.scaleMenus.minScaleMenu, this.icon = this.widget.icon, this.label = this.widget.label, this.layer = this.widget.layer, this.maxScale = this.widget.maxScale, this.maxScaleLimit = this.widget.maxScaleLimit, this.minScale = this.widget.minScale, this.minScaleLimit = this.widget.minScaleLimit, this.mode = this.widget.mode, this.position = "bottom-left", this.region = this.widget.region, this.state = this.viewModel.state, this.arcgisPropertyChange =
|
|
13
|
+
super(...arguments), this.widget = r(this), this.viewModel = this.widget.viewModel, this.autoDestroyDisabled = !1, this.disabled = this.widget.disabled, this.hidePreview = this.widget.visibleElements.preview, this.hideScaleMenusMaxScaleMenu = this.widget.visibleElements.scaleMenus.maxScaleMenu, this.hideScaleMenusMinScaleMenu = this.widget.visibleElements.scaleMenus.minScaleMenu, this.icon = this.widget.icon, this.label = this.widget.label, this.layer = this.widget.layer, this.maxScale = this.widget.maxScale, this.maxScaleLimit = this.widget.maxScaleLimit, this.minScale = this.widget.minScale, this.minScaleLimit = this.widget.minScaleLimit, this.mode = this.widget.mode, this.position = "bottom-left", this.region = this.widget.region, this.state = this.viewModel.state, this.arcgisPropertyChange = i()("state", "minScale", "maxScale"), this.arcgisReady = a();
|
|
14
14
|
}
|
|
15
15
|
static {
|
|
16
16
|
this.properties = { autoDestroyDisabled: 5, disabled: 7, hidePreview: 5, hideScaleMenusMaxScaleMenu: 5, hideScaleMenusMinScaleMenu: 5, icon: 1, label: 1, layer: 0, maxScale: 9, maxScaleLimit: 9, minScale: 9, minScaleLimit: 9, mode: 1, position: 1, referenceElement: 1, region: 0, state: 3 };
|
|
17
17
|
}
|
|
18
18
|
static {
|
|
19
|
-
this.shadowRootOptions =
|
|
19
|
+
this.shadowRootOptions = l;
|
|
20
20
|
}
|
|
21
21
|
static {
|
|
22
22
|
this.styles = c;
|
|
@@ -28,7 +28,7 @@ class d extends a {
|
|
|
28
28
|
await this.manager.destroy();
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
|
-
e("arcgis-scale-range-slider",
|
|
31
|
+
e("arcgis-scale-range-slider", h);
|
|
32
32
|
export {
|
|
33
|
-
|
|
33
|
+
h as ArcgisScaleRangeSlider
|
|
34
34
|
};
|
|
@@ -2,6 +2,8 @@
|
|
|
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 SceneView } from '@arcgis/core/views/SceneView.js';
|
|
6
|
+
import { default as WebScene } from '@arcgis/core/WebScene.js';
|
|
5
7
|
import { PublicLitElement as LitElement, ToElement, TargetedEvent } from '@arcgis/lumina';
|
|
6
8
|
|
|
7
9
|
declare const useWebScene: (component: import('@arcgis/components-controllers').StencilLifecycles & {
|
|
@@ -9,30 +11,30 @@ declare const useWebScene: (component: import('@arcgis/components-controllers').
|
|
|
9
11
|
el: HTMLElement;
|
|
10
12
|
autoDestroyDisabled?: boolean;
|
|
11
13
|
destroy?: () => Promise<void>;
|
|
12
|
-
} & Pick<
|
|
14
|
+
} & Pick<WebScene, never> & {
|
|
13
15
|
reactiveUtils?: typeof __esri.reactiveUtils;
|
|
14
16
|
autoDestroyDisabled: boolean;
|
|
15
17
|
destroy: () => Promise<void>;
|
|
16
18
|
}, options?: {
|
|
17
|
-
editConstructorProperties(props: __esri.WebSceneProperties): __esri.WebSceneProperties | Promise<__esri.WebSceneProperties
|
|
18
|
-
} | undefined) =>
|
|
19
|
+
editConstructorProperties(props: __esri.WebSceneProperties | undefined): __esri.WebSceneProperties | Promise<__esri.WebSceneProperties | undefined> | undefined;
|
|
20
|
+
} | undefined) => WebScene;
|
|
19
21
|
declare const useSceneView: (component: import('@arcgis/components-controllers').StencilLifecycles & {
|
|
20
22
|
manager: import('@arcgis/components-controllers').ControllerManager;
|
|
21
23
|
el: HTMLElement;
|
|
22
24
|
autoDestroyDisabled?: boolean;
|
|
23
25
|
destroy?: () => Promise<void>;
|
|
24
|
-
} & Pick<
|
|
26
|
+
} & Pick<SceneView, never> & {
|
|
25
27
|
reactiveUtils?: typeof __esri.reactiveUtils;
|
|
26
28
|
autoDestroyDisabled: boolean;
|
|
27
29
|
destroy: () => Promise<void>;
|
|
28
30
|
}, options?: {
|
|
29
|
-
editConstructorProperties(props: __esri.SceneViewProperties): __esri.SceneViewProperties | Promise<__esri.SceneViewProperties
|
|
30
|
-
} | undefined) =>
|
|
31
|
+
editConstructorProperties(props: __esri.SceneViewProperties | undefined): __esri.SceneViewProperties | Promise<__esri.SceneViewProperties | undefined> | undefined;
|
|
32
|
+
} | undefined) => SceneView;
|
|
31
33
|
/** The web [scene](https://developers.arcgis.com/javascript/latest/api-reference/esri-WebScene.html) is the core element of 3D mapping across ArcGIS. It defines the content, style, environment, and slides of your scene and it can be shared across multiple ArcGIS web and desktop applications.
|
|
32
34
|
*/
|
|
33
35
|
export declare class ArcgisScene extends LitElement {
|
|
34
36
|
/** Internal view of the component. */
|
|
35
|
-
readonly view:
|
|
37
|
+
readonly view: SceneView;
|
|
36
38
|
/**
|
|
37
39
|
* Collection containing a flat list of all the created LayerViews
|
|
38
40
|
* related to the basemap, operational layers, and group layers in this view.
|
|
@@ -105,7 +107,7 @@ export declare class ArcgisScene extends LitElement {
|
|
|
105
107
|
*/
|
|
106
108
|
get center(): __esri.SceneView["center"];
|
|
107
109
|
set center(newValue: __esri.SceneView["center"] | Nil | number[] | string);
|
|
108
|
-
clippingArea:
|
|
110
|
+
clippingArea: __esri.Extent | nullish;
|
|
109
111
|
/** Specifies constraints to scale, zoom, and rotation that may be applied to the MapView. */
|
|
110
112
|
constraints: __esri.SceneViewConstraints;
|
|
111
113
|
/**
|