@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,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.87 */
|
|
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
|
/**
|
|
@@ -1,32 +1,33 @@
|
|
|
1
|
-
import { c } from "../../chunks/runtime.js";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import { LitElement as
|
|
7
|
-
import {
|
|
1
|
+
import { c as m } from "../../chunks/runtime.js";
|
|
2
|
+
import { makeAccessorController as c, reEmitEvent as t, accessorSupport as w } from "@arcgis/components-controllers/accessor";
|
|
3
|
+
import { watch as a } from "@arcgis/core/core/reactiveUtils.js";
|
|
4
|
+
import v from "@arcgis/core/views/SceneView.js";
|
|
5
|
+
import l from "@arcgis/core/WebScene.js";
|
|
6
|
+
import { LitElement as d, createEvent as r, noShadowRoot as g } from "@arcgis/lumina";
|
|
7
|
+
import { c as h, p as n, e as o, i as p } 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
|
-
class
|
|
11
|
+
v4.32.0-next.87 */
|
|
12
|
+
const u = y`.arcgis-scene{padding:0;margin:0;height:100%;width:100%}`, f = c(l, {}), _ = c(v, {});
|
|
13
|
+
class b extends d {
|
|
13
14
|
constructor() {
|
|
14
|
-
super(...arguments), this._map =
|
|
15
|
+
super(...arguments), this._map = f(this, { editConstructorProperties: this._editMapProperties }), this.view = _(this, { editConstructorProperties: this._editViewProperties }), this.allLayerViews = this.view.allLayerViews, this.alphaCompositingEnabled = this.view.alphaCompositingEnabled, this.analyses = this.view.analyses, this.autoDestroyDisabled = !1, this.basemap = this._map.basemap, this.basemapView = this.view.basemapView, this.clippingArea = this.view.clippingArea, this.constraints = this.view.constraints, this.displayFilterDisabled = this.view.displayFilterEnabled, this.environment = this.view.environment, this.fatalError = this.view.fatalError, this.floors = this.view.floors, this.graphics = this.view.graphics, this.ground = this._map.ground, this.groundView = this.view.groundView, this.highlights = this.view.highlights, this.highlightOptions = this.view.highlightOptions, 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.qualityProfile = this.view.qualityProfile, this.ready = this.view.ready, this.spatialReference = this.view.spatialReference, this.suspended = this.view.suspended, this.theme = this.view.theme, this.timeExtent = this.view.timeExtent, this.updating = this.view.updating, this.viewingMode = this.view.viewingMode, this.arcgisViewChange = r(), this.arcgisViewClick = t(() => this.view, "click"), this.arcgisViewDoubleClick = t(() => this.view, "double-click"), this.arcgisViewDrag = t(() => this.view, "drag"), this.arcgisViewHold = t(() => this.view, "hold"), this.arcgisViewImmediateClick = t(() => this.view, "immediate-click"), this.arcgisViewImmediateDoubleClick = t(() => this.view, "immediate-double-click"), this.arcgisViewKeyDown = t(() => this.view, "key-down"), this.arcgisViewKeyUp = t(() => this.view, "key-up"), this.arcgisViewLayerviewCreate = t(() => this.view, "layer-view-create"), this.arcgisViewLayerviewCreateError = t(() => this.view, "layer-view-create-error"), this.arcgisViewLayerviewDestroy = t(() => this.view, "layer-view-destroy"), this.arcgisViewMouseWheel = t(() => this.view, "mouse-wheel"), this.arcgisViewPointerDown = t(() => this.view, "pointer-down"), this.arcgisViewPointerEnter = t(() => this.view, "pointer-enter"), this.arcgisViewPointerLeave = t(() => this.view, "pointer-leave"), this.arcgisViewPointerMove = t(() => this.view, "pointer-move"), this.arcgisViewPointerUp = t(() => this.view, "pointer-up"), this.arcgisViewReadyChange = r();
|
|
15
16
|
}
|
|
16
17
|
static {
|
|
17
18
|
this.properties = { view: 32, allLayerViews: 0, alphaCompositingEnabled: 5, analyses: 0, autoDestroyDisabled: 5, basemap: 1, basemapView: 0, camera: 0, cameraFov: 9, cameraHeading: 9, cameraPosition: 1, cameraTilt: 9, center: 1, clippingArea: 0, constraints: 0, displayFilterDisabled: 5, environment: 0, extent: 0, fatalError: 0, floors: 0, gamepad: 32, graphics: 0, ground: 0, groundView: 0, highlights: 0, highlightOptions: 0, interacting: 32, itemId: 3, layerViews: 0, magnifier: 0, map: 0, navigating: 32, navigation: 0, padding: 0, performanceInfo: 32, popup: 0, popupDisabled: 5, qualityProfile: 1, ready: 4, resolution: 32, scale: 9, spatialReference: 0, stationary: 32, suspended: 7, theme: 0, timeExtent: 0, updating: 7, viewingMode: 1, viewpoint: 0, zoom: 9 };
|
|
18
19
|
}
|
|
19
20
|
static {
|
|
20
|
-
this.shadowRootOptions =
|
|
21
|
+
this.shadowRootOptions = g;
|
|
21
22
|
}
|
|
22
23
|
static {
|
|
23
|
-
this.styles =
|
|
24
|
+
this.styles = u;
|
|
24
25
|
}
|
|
25
26
|
get camera() {
|
|
26
27
|
return this.view.camera ?? this._camera;
|
|
27
28
|
}
|
|
28
29
|
set camera(i) {
|
|
29
|
-
this._camera = i, this.ready && !
|
|
30
|
+
this._camera = i, this.ready && !h(this.camera, i) && (this.view.camera = i);
|
|
30
31
|
}
|
|
31
32
|
/**
|
|
32
33
|
* The diagonal field of view (fov) angle for the camera. The range of angles must be between 1 and 170 degrees.
|
|
@@ -72,7 +73,7 @@ class V extends p {
|
|
|
72
73
|
}
|
|
73
74
|
set cameraPosition(i) {
|
|
74
75
|
if (this.ready) {
|
|
75
|
-
const e =
|
|
76
|
+
const e = n(this.view.camera?.position, i);
|
|
76
77
|
e && this._mutateCamera((s) => {
|
|
77
78
|
s.position = e;
|
|
78
79
|
});
|
|
@@ -105,7 +106,7 @@ class V extends p {
|
|
|
105
106
|
return this.view.center ?? this._center;
|
|
106
107
|
}
|
|
107
108
|
set center(i) {
|
|
108
|
-
const e =
|
|
109
|
+
const e = o(i, this.ready ? this.view : void 0);
|
|
109
110
|
e && (this.ready && (this.view.center = e), this._center = e);
|
|
110
111
|
}
|
|
111
112
|
/**
|
|
@@ -183,7 +184,7 @@ class V extends p {
|
|
|
183
184
|
return this.view.viewpoint ?? this._viewpoint;
|
|
184
185
|
}
|
|
185
186
|
set viewpoint(i) {
|
|
186
|
-
|
|
187
|
+
p(this.viewpoint, i) && (this.ready && (this.view.viewpoint = i), this._viewpoint = i);
|
|
187
188
|
}
|
|
188
189
|
/**
|
|
189
190
|
* Represents the level of detail (LOD) at the center of the view.
|
|
@@ -262,12 +263,11 @@ class V extends p {
|
|
|
262
263
|
this.el.childElem = document.createElement("div"), this.el.childElem.classList.add("arcgis-scene"), this.el.append(this.el.childElem), this.view.container ??= this.el.childElem;
|
|
263
264
|
}
|
|
264
265
|
loaded() {
|
|
265
|
-
const { watch: i } = this.reactiveUtils;
|
|
266
266
|
this.manager.onLifecycle(() => [
|
|
267
|
-
|
|
267
|
+
a(() => this.view.stationary, () => {
|
|
268
268
|
this.arcgisViewChange.emit();
|
|
269
269
|
}, { initial: !0 }),
|
|
270
|
-
|
|
270
|
+
a(() => this.view.ready, () => this.arcgisViewReadyChange.emit(), { initial: this.view.ready })
|
|
271
271
|
]);
|
|
272
272
|
}
|
|
273
273
|
// #endregion
|
|
@@ -281,17 +281,17 @@ class V extends p {
|
|
|
281
281
|
await this.manager.use(this._map), this.view.ui || (i.ui = {
|
|
282
282
|
components: ["attribution"]
|
|
283
283
|
}), i.map ??= this._map;
|
|
284
|
-
const e =
|
|
284
|
+
const e = o(this.center, void 0);
|
|
285
285
|
e && (i.center = e), this.viewpoint && (i.viewpoint = this.viewpoint), this.scale !== void 0 && (i.scale = this.scale), this.extent && (i.extent = this.extent), this.camera && (i.camera = this.camera);
|
|
286
|
-
const s =
|
|
286
|
+
const s = n(void 0, this.cameraPosition);
|
|
287
287
|
return s && (i.camera ??= {}, i.camera.position = s), this.cameraHeading != null && (i.camera ??= {}, i.camera.heading = this.cameraHeading), this.cameraTilt != null && (i.camera ??= {}, i.camera.tilt = this.cameraTilt), this.cameraFov != null && (i.camera ??= {}, i.camera.fov = this.cameraFov), this.zoom !== void 0 && (i.zoom = this.zoom), i;
|
|
288
288
|
}
|
|
289
289
|
_mutateCamera(i) {
|
|
290
290
|
const e = this.view.camera.clone();
|
|
291
|
-
i(e),
|
|
291
|
+
i(e), h(this.view.camera, e) || (this.view.camera = e);
|
|
292
292
|
}
|
|
293
293
|
}
|
|
294
|
-
|
|
294
|
+
m("arcgis-scene", b);
|
|
295
295
|
export {
|
|
296
|
-
|
|
296
|
+
b as ArcgisScene
|
|
297
297
|
};
|
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
2
2
|
/// <reference types="../../index.d.ts" />
|
|
3
3
|
import { Use } from '@arcgis/components-controllers';
|
|
4
|
-
import { ArcgisReferenceElement } from '../../utils/component-utils';
|
|
5
4
|
import { Nil } from '@arcgis/components-utils';
|
|
5
|
+
import { default as Search } from '@arcgis/core/widgets/Search.js';
|
|
6
6
|
import { PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
7
|
+
import { ArcgisReferenceElement } from '../../utils/component-utils';
|
|
7
8
|
|
|
8
9
|
declare const useSearchWidget: (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<Search, never> & {
|
|
14
15
|
reactiveUtils?: typeof __esri.reactiveUtils;
|
|
15
16
|
state?: unknown;
|
|
16
17
|
viewModel?: __esri.SearchViewModel | undefined;
|
|
@@ -31,8 +32,8 @@ declare const useSearchWidget: (component: import('@arcgis/components-controller
|
|
|
31
32
|
autoDestroyDisabled: boolean;
|
|
32
33
|
destroy: () => Promise<void>;
|
|
33
34
|
}, options?: {
|
|
34
|
-
editConstructorProperties(props: __esri.widgetsSearchProperties): __esri.widgetsSearchProperties | Promise<__esri.widgetsSearchProperties
|
|
35
|
-
} | undefined) =>
|
|
35
|
+
editConstructorProperties(props: __esri.widgetsSearchProperties | undefined): __esri.widgetsSearchProperties | Promise<__esri.widgetsSearchProperties | undefined> | undefined;
|
|
36
|
+
} | undefined) => Search;
|
|
36
37
|
/** [Search](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Search.html) provides a way to perform search operations
|
|
37
38
|
*/
|
|
38
39
|
export declare class ArcgisSearch extends LitElement {
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { c as s } from "../../chunks/runtime.js";
|
|
2
2
|
import { usePropertyChange as i } from "@arcgis/components-controllers";
|
|
3
|
-
import { newWidgetsSearch as a } from "@arcgis/core-adapter";
|
|
4
|
-
import { m as r } from "../../chunks/useWidget.js";
|
|
5
|
-
import { LitElement as h, createEvent as l, noShadowRoot as c } from "@arcgis/lumina";
|
|
6
3
|
import { reEmitEvent as t } from "@arcgis/components-controllers/accessor";
|
|
4
|
+
import a from "@arcgis/core/widgets/Search.js";
|
|
5
|
+
import { LitElement as r, createEvent as h, noShadowRoot as l } from "@arcgis/lumina";
|
|
6
|
+
import { m as c } from "../../chunks/useWidget.js";
|
|
7
7
|
import { css as o } from "@lit/reactive-element/css-tag.js";
|
|
8
8
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
9
9
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
10
|
-
v4.32.0-next.
|
|
11
|
-
const g = o`arcgis-search{display:block}`, d =
|
|
12
|
-
class u extends
|
|
10
|
+
v4.32.0-next.87 */
|
|
11
|
+
const g = o`arcgis-search{display:block}`, d = c(a);
|
|
12
|
+
class u extends r {
|
|
13
13
|
constructor() {
|
|
14
|
-
super(...arguments), this.widget = d(this), this.viewModel = this.widget.viewModel, this.activeMenu = this.widget.activeMenu, this.activeSource = this.widget.activeSource, this.activeSourceIndex = this.widget.activeSourceIndex, this.allPlaceholder = this.widget.allPlaceholder, this.allSources = this.widget.allSources, this.autoDestroyDisabled = !1, this.autoSelectDisabled = this.widget.autoSelect, this.defaultSources = this.widget.defaultSources, this.disabled = this.widget.disabled, this.icon = this.widget.icon, this.includeDefaultSourcesDisabled = this.widget.includeDefaultSources, this.label = this.widget.label, this.locationDisabled = this.widget.locationEnabled, this.maxResults = this.widget.maxResults, this.maxSuggestions = this.widget.maxSuggestions, this.minSuggestCharacters = this.widget.minSuggestCharacters, this.popupDisabled = this.widget.popupEnabled, this.popupTemplate = this.widget.popupTemplate, this.portal = this.widget.portal, this.position = "top-right", this.resultGraphic = this.widget.resultGraphic, this.resultGraphicDisabled = this.widget.resultGraphicEnabled, this.results = this.widget.results, this.searchAllDisabled = this.widget.searchAllEnabled, this.searchTerm = this.widget.searchTerm, this.selectedResult = this.widget.selectedResult, this.sources = this.widget.sources, this.state = this.viewModel.state, this.suggestions = this.widget.suggestions, this.suggestionsDisabled = this.widget.suggestionsEnabled, this.arcgisBlur = t(() => this.widget, "search-blur"), this.arcgisClear = t(() => this.widget, "search-clear"), this.arcgisComplete = t(() => this.widget, "search-complete"), this.arcgisFocus = t(() => this.widget, "search-focus"), this.arcgisPropertyChange = i()("state"), this.arcgisReady =
|
|
14
|
+
super(...arguments), this.widget = d(this), this.viewModel = this.widget.viewModel, this.activeMenu = this.widget.activeMenu, this.activeSource = this.widget.activeSource, this.activeSourceIndex = this.widget.activeSourceIndex, this.allPlaceholder = this.widget.allPlaceholder, this.allSources = this.widget.allSources, this.autoDestroyDisabled = !1, this.autoSelectDisabled = this.widget.autoSelect, this.defaultSources = this.widget.defaultSources, this.disabled = this.widget.disabled, this.icon = this.widget.icon, this.includeDefaultSourcesDisabled = this.widget.includeDefaultSources, this.label = this.widget.label, this.locationDisabled = this.widget.locationEnabled, this.maxResults = this.widget.maxResults, this.maxSuggestions = this.widget.maxSuggestions, this.minSuggestCharacters = this.widget.minSuggestCharacters, this.popupDisabled = this.widget.popupEnabled, this.popupTemplate = this.widget.popupTemplate, this.portal = this.widget.portal, this.position = "top-right", this.resultGraphic = this.widget.resultGraphic, this.resultGraphicDisabled = this.widget.resultGraphicEnabled, this.results = this.widget.results, this.searchAllDisabled = this.widget.searchAllEnabled, this.searchTerm = this.widget.searchTerm, this.selectedResult = this.widget.selectedResult, this.sources = this.widget.sources, this.state = this.viewModel.state, this.suggestions = this.widget.suggestions, this.suggestionsDisabled = this.widget.suggestionsEnabled, this.arcgisBlur = t(() => this.widget, "search-blur"), this.arcgisClear = t(() => this.widget, "search-clear"), this.arcgisComplete = t(() => this.widget, "search-complete"), this.arcgisFocus = t(() => this.widget, "search-focus"), this.arcgisPropertyChange = i()("state"), this.arcgisReady = h(), this.arcgisSelectResult = t(() => this.widget, "select-result"), this.arcgisStart = t(() => this.widget, "search-start"), this.arcgisSuggestComplete = t(() => this.widget, "suggest-complete"), this.arcgisSuggestStart = t(() => this.widget, "suggest-start");
|
|
15
15
|
}
|
|
16
16
|
static {
|
|
17
17
|
this.properties = { activeMenu: 1, activeSource: 0, activeSourceIndex: 9, allPlaceholder: 1, allSources: 0, autoDestroyDisabled: 5, autoSelectDisabled: 5, defaultSources: 0, disabled: 7, icon: 1, includeDefaultSourcesDisabled: 5, label: 1, locationDisabled: 5, maxResults: 9, maxSuggestions: 9, minSuggestCharacters: 9, popupDisabled: 5, popupTemplate: 0, portal: 0, position: 1, referenceElement: 1, resultGraphic: 0, resultGraphicDisabled: 5, results: 0, searchAllDisabled: 5, searchTerm: 1, selectedResult: 0, sources: 0, state: 3, suggestions: 0, suggestionsDisabled: 5 };
|
|
18
18
|
}
|
|
19
19
|
static {
|
|
20
|
-
this.shadowRootOptions =
|
|
20
|
+
this.shadowRootOptions = l;
|
|
21
21
|
}
|
|
22
22
|
static {
|
|
23
23
|
this.styles = g;
|
|
@@ -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 ShadowCast } from '@arcgis/core/widgets/ShadowCast.js';
|
|
6
6
|
import { PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
7
|
+
import { ArcgisReferenceElement } from '../../utils/component-utils';
|
|
7
8
|
|
|
8
9
|
declare const useShadowCastWidget: (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<ShadowCast, never> & {
|
|
14
15
|
reactiveUtils?: typeof __esri.reactiveUtils;
|
|
15
16
|
state?: unknown;
|
|
16
17
|
viewModel?: __esri.ShadowCastViewModel | undefined;
|
|
@@ -31,8 +32,8 @@ declare const useShadowCastWidget: (component: import('@arcgis/components-contro
|
|
|
31
32
|
autoDestroyDisabled: boolean;
|
|
32
33
|
destroy: () => Promise<void>;
|
|
33
34
|
}, options?: {
|
|
34
|
-
editConstructorProperties(props: __esri.ShadowCastProperties): __esri.ShadowCastProperties | Promise<__esri.ShadowCastProperties
|
|
35
|
-
} | undefined) =>
|
|
35
|
+
editConstructorProperties(props: __esri.ShadowCastProperties | undefined): __esri.ShadowCastProperties | Promise<__esri.ShadowCastProperties | undefined> | undefined;
|
|
36
|
+
} | undefined) => ShadowCast;
|
|
36
37
|
/** [ShadowCast](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-ShadowCast.html) displays the cumulative shadows of 3D features in a [SceneView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html).
|
|
37
38
|
*/
|
|
38
39
|
export declare class ArcgisShadowCast extends LitElement {
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import { c as t } from "../../chunks/runtime.js";
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { css as
|
|
2
|
+
import { usePropertyChange as e } from "@arcgis/components-controllers";
|
|
3
|
+
import s from "@arcgis/core/widgets/ShadowCast.js";
|
|
4
|
+
import { LitElement as o, createEvent as a, noShadowRoot as h } from "@arcgis/lumina";
|
|
5
|
+
import { m as d } from "../../chunks/useWidget.js";
|
|
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
|
|
11
|
-
class c extends
|
|
9
|
+
v4.32.0-next.87 */
|
|
10
|
+
const n = r`arcgis-shadow-cast{display:block}`, l = d(s);
|
|
11
|
+
class c extends o {
|
|
12
12
|
constructor() {
|
|
13
|
-
super(...arguments), this.widget = l(this), this.viewModel = this.widget.viewModel, this.autoDestroyDisabled = !1, this.discreteOptions = this.viewModel.discreteOptions, this.durationOptions = this.viewModel.durationOptions, this.endTimeOfDay = this.viewModel.endTimeOfDay, this.headingLevel = this.widget.headingLevel, this.hideColorPicker = this.widget.visibleElements.colorPicker, this.hideDatePicker = this.widget.visibleElements.datePicker, this.hideTimeRangeSlider = this.widget.visibleElements.timeRangeSlider, this.hideTimezone = this.widget.visibleElements.timezone, this.hideTooltip = this.widget.visibleElements.tooltip, this.hideVisualizationOptions = this.widget.visibleElements.visualizationOptions, this.icon = this.widget.icon, this.label = this.widget.label, this.position = "bottom-left", this.startTimeOfDay = this.viewModel.startTimeOfDay, this.state = this.viewModel.state, this.thresholdOptions = this.viewModel.thresholdOptions, this.utcOffset = this.viewModel.utcOffset, this.visualizationType = this.viewModel.visualizationType, this.arcgisPropertyChange =
|
|
13
|
+
super(...arguments), this.widget = l(this), this.viewModel = this.widget.viewModel, this.autoDestroyDisabled = !1, this.discreteOptions = this.viewModel.discreteOptions, this.durationOptions = this.viewModel.durationOptions, this.endTimeOfDay = this.viewModel.endTimeOfDay, this.headingLevel = this.widget.headingLevel, this.hideColorPicker = this.widget.visibleElements.colorPicker, this.hideDatePicker = this.widget.visibleElements.datePicker, this.hideTimeRangeSlider = this.widget.visibleElements.timeRangeSlider, this.hideTimezone = this.widget.visibleElements.timezone, this.hideTooltip = this.widget.visibleElements.tooltip, this.hideVisualizationOptions = this.widget.visibleElements.visualizationOptions, this.icon = this.widget.icon, this.label = this.widget.label, this.position = "bottom-left", this.startTimeOfDay = this.viewModel.startTimeOfDay, this.state = this.viewModel.state, this.thresholdOptions = this.viewModel.thresholdOptions, this.utcOffset = this.viewModel.utcOffset, this.visualizationType = this.viewModel.visualizationType, this.arcgisPropertyChange = e()("state"), this.arcgisReady = a();
|
|
14
14
|
}
|
|
15
15
|
static {
|
|
16
16
|
this.properties = { autoDestroyDisabled: 5, discreteOptions: 0, durationOptions: 0, endTimeOfDay: 9, headingLevel: 9, hideColorPicker: 5, hideDatePicker: 5, hideTimeRangeSlider: 5, hideTimezone: 5, hideTooltip: 5, hideVisualizationOptions: 5, icon: 1, label: 1, position: 1, referenceElement: 1, startTimeOfDay: 9, state: 3, thresholdOptions: 0, utcOffset: 9, visualizationType: 1 };
|
|
17
17
|
}
|
|
18
18
|
static {
|
|
19
|
-
this.shadowRootOptions =
|
|
19
|
+
this.shadowRootOptions = h;
|
|
20
20
|
}
|
|
21
21
|
static {
|
|
22
|
-
this.styles =
|
|
22
|
+
this.styles = n;
|
|
23
23
|
}
|
|
24
24
|
// #endregion
|
|
25
25
|
// #region Public Methods
|
|
@@ -28,7 +28,7 @@ class c extends a {
|
|
|
28
28
|
await this.manager.destroy();
|
|
29
29
|
}
|
|
30
30
|
async getDuration(i) {
|
|
31
|
-
return this.widget?.viewModel.getDuration(i);
|
|
31
|
+
return await this.widget?.viewModel.getDuration(i);
|
|
32
32
|
}
|
|
33
33
|
async start() {
|
|
34
34
|
this.widget?.viewModel.start();
|
|
@@ -1,16 +1,18 @@
|
|
|
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 GraphicsLayer } from '@arcgis/core/layers/GraphicsLayer.js';
|
|
6
|
+
import { default as Sketch } from '@arcgis/core/widgets/Sketch.js';
|
|
6
7
|
import { PublicLitElement as LitElement, ToElement, TargetedEvent } from '@arcgis/lumina';
|
|
8
|
+
import { ArcgisReferenceElement } from '../../utils/component-utils';
|
|
7
9
|
|
|
8
10
|
declare const useSketchWidget: (component: import('@arcgis/components-controllers').StencilLifecycles & {
|
|
9
11
|
manager: import('@arcgis/components-controllers').ControllerManager;
|
|
10
12
|
el: HTMLElement;
|
|
11
13
|
autoDestroyDisabled?: boolean;
|
|
12
14
|
destroy?: () => Promise<void>;
|
|
13
|
-
} & Pick<
|
|
15
|
+
} & Pick<Sketch, never> & {
|
|
14
16
|
reactiveUtils?: typeof __esri.reactiveUtils;
|
|
15
17
|
state?: "ready" | "disabled" | "active" | undefined;
|
|
16
18
|
viewModel?: __esri.SketchViewModel | undefined;
|
|
@@ -31,8 +33,8 @@ declare const useSketchWidget: (component: import('@arcgis/components-controller
|
|
|
31
33
|
autoDestroyDisabled: boolean;
|
|
32
34
|
destroy: () => Promise<void>;
|
|
33
35
|
}, options?: {
|
|
34
|
-
editConstructorProperties(props: __esri.SketchProperties): __esri.SketchProperties | Promise<__esri.SketchProperties
|
|
35
|
-
} | undefined) =>
|
|
36
|
+
editConstructorProperties(props: __esri.SketchProperties | undefined): __esri.SketchProperties | Promise<__esri.SketchProperties | undefined> | undefined;
|
|
37
|
+
} | undefined) => Sketch;
|
|
36
38
|
/** [Sketch](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Sketch.html) provides a simple UI for creating and updating graphics on a [MapView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html) or a [SceneView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html).
|
|
37
39
|
*/
|
|
38
40
|
export declare class ArcgisSketch extends LitElement {
|
|
@@ -81,7 +83,7 @@ export declare class ArcgisSketch extends LitElement {
|
|
|
81
83
|
/** The component's default label. */
|
|
82
84
|
label: string;
|
|
83
85
|
labelOptions: __esri.SketchLabelOptions;
|
|
84
|
-
layer:
|
|
86
|
+
layer: GraphicsLayer;
|
|
85
87
|
layout: "vertical" | "horizontal";
|
|
86
88
|
pointSymbol: __esri.SimpleMarkerSymbol | __esri.PictureMarkerSymbol | __esri.PointSymbol3D | __esri.TextSymbol | __esri.CIMSymbol | __esri.WebStyleSymbol;
|
|
87
89
|
polygonSymbol: __esri.CIMSymbol | __esri.SimpleFillSymbol | __esri.PolygonSymbol3D;
|
|
@@ -1,25 +1,26 @@
|
|
|
1
1
|
import { c as s } from "../../chunks/runtime.js";
|
|
2
|
-
import {
|
|
3
|
-
import { usePropertyChange as a } from "@arcgis/components-controllers";
|
|
4
|
-
import { m as n } from "../../chunks/useWidget.js";
|
|
5
|
-
import { LitElement as h, createEvent as d, noShadowRoot as r } from "@arcgis/lumina";
|
|
2
|
+
import { usePropertyChange as o } from "@arcgis/components-controllers";
|
|
6
3
|
import { reEmitEvent as t } from "@arcgis/components-controllers/accessor";
|
|
4
|
+
import l from "@arcgis/core/layers/GraphicsLayer.js";
|
|
5
|
+
import n from "@arcgis/core/widgets/Sketch.js";
|
|
6
|
+
import { LitElement as a, createEvent as h, noShadowRoot as d } from "@arcgis/lumina";
|
|
7
|
+
import { m as r } from "../../chunks/useWidget.js";
|
|
7
8
|
import { css as g } 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 p = g`arcgis-sketch{display:block}`, c = n
|
|
12
|
-
class m extends
|
|
11
|
+
v4.32.0-next.87 */
|
|
12
|
+
const p = g`arcgis-sketch{display:block}`, c = r(n);
|
|
13
|
+
class m extends a {
|
|
13
14
|
// #endregion
|
|
14
15
|
// #region Lifecycle
|
|
15
16
|
constructor() {
|
|
16
|
-
super(), this.widget = c(this, { editConstructorProperties: this._editConstructorProperties }), this.viewModel = this.widget.viewModel, this.activeTool = this.widget.activeTool, this.autoDestroyDisabled = !1, this.availableCreateTools = this.widget.availableCreateTools, this.createGraphic = this.widget.createGraphic, this.creationMode = this.widget.creationMode, this.defaultCreateOptions = this.widget.defaultCreateOptions, this.defaultGraphicsLayerDisabled = !1, this.defaultUpdateOptions = this.widget.defaultUpdateOptions, this.hideCreateToolsCircle = this.widget.visibleElements.createTools.circle, this.hideCreateToolsPoint = this.widget.visibleElements.createTools.point, this.hideCreateToolsPolygon = this.widget.visibleElements.createTools.polygon, this.hideCreateToolsPolyline = this.widget.visibleElements.createTools.polyline, this.hideCreateToolsRectangle = this.widget.visibleElements.createTools.rectangle, this.hideDuplicateButton = this.widget.visibleElements.duplicateButton, this.hideLabelsToggle = this.widget.visibleElements.labelsToggle, this.hideSelectionToolsLassoSelection = this.widget.visibleElements.selectionTools["lasso-selection"], this.hideSelectionToolsRectangleSelection = this.widget.visibleElements.selectionTools["rectangle-selection"], this.hideSettingsMenu = this.widget.visibleElements.settingsMenu, this.hideSnappingControls = this.widget.visibleElements.snappingControls, this.hideSnappingControlsElementsEnabledToggle = this.widget.visibleElements.snappingControlsElements.enabledToggle, this.hideSnappingControlsElementsFeatureEnabledToggle = this.widget.visibleElements.snappingControlsElements.featureEnabledToggle, this.hideSnappingControlsElementsLayerList = this.widget.visibleElements.snappingControlsElements.layerList, this.hideSnappingControlsElementsSelfEnabledToggle = this.widget.visibleElements.snappingControlsElements.selfEnabledToggle, this.hideTooltipsToggle = this.widget.visibleElements.tooltipsToggle, this.hideUndoRedoMenu = this.widget.visibleElements.undoRedoMenu, this.icon = this.widget.icon, this.label = this.widget.label, this.labelOptions = this.widget.labelOptions, this.layer = this.widget.layer, this.layout = this.widget.layout, this.pointSymbol = this.viewModel.pointSymbol, this.polygonSymbol = this.viewModel.polygonSymbol, this.polylineSymbol = this.viewModel.polylineSymbol, this.position = "bottom-left", this.scale = this.widget.scale, this.selectionManagementStyle = this.widget.selectionManagementStyle, this.showSnappingControlsElementsHeader = this.widget.visibleElements.snappingControlsElements.header, this.snappingOptions = this.widget.snappingOptions, this.state = this.widget.state, this.tooltipOptions = this.widget.tooltipOptions, this.updateGraphics = this.widget.updateGraphics, this.arcgisCreate = t(() => this.widget, "create"), this.arcgisDelete = t(() => this.widget, "delete"), this.arcgisPropertyChange =
|
|
17
|
+
super(), this.widget = c(this, { editConstructorProperties: this._editConstructorProperties }), this.viewModel = this.widget.viewModel, this.activeTool = this.widget.activeTool, this.autoDestroyDisabled = !1, this.availableCreateTools = this.widget.availableCreateTools, this.createGraphic = this.widget.createGraphic, this.creationMode = this.widget.creationMode, this.defaultCreateOptions = this.widget.defaultCreateOptions, this.defaultGraphicsLayerDisabled = !1, this.defaultUpdateOptions = this.widget.defaultUpdateOptions, this.hideCreateToolsCircle = this.widget.visibleElements.createTools.circle, this.hideCreateToolsPoint = this.widget.visibleElements.createTools.point, this.hideCreateToolsPolygon = this.widget.visibleElements.createTools.polygon, this.hideCreateToolsPolyline = this.widget.visibleElements.createTools.polyline, this.hideCreateToolsRectangle = this.widget.visibleElements.createTools.rectangle, this.hideDuplicateButton = this.widget.visibleElements.duplicateButton, this.hideLabelsToggle = this.widget.visibleElements.labelsToggle, this.hideSelectionToolsLassoSelection = this.widget.visibleElements.selectionTools["lasso-selection"], this.hideSelectionToolsRectangleSelection = this.widget.visibleElements.selectionTools["rectangle-selection"], this.hideSettingsMenu = this.widget.visibleElements.settingsMenu, this.hideSnappingControls = this.widget.visibleElements.snappingControls, this.hideSnappingControlsElementsEnabledToggle = this.widget.visibleElements.snappingControlsElements.enabledToggle, this.hideSnappingControlsElementsFeatureEnabledToggle = this.widget.visibleElements.snappingControlsElements.featureEnabledToggle, this.hideSnappingControlsElementsLayerList = this.widget.visibleElements.snappingControlsElements.layerList, this.hideSnappingControlsElementsSelfEnabledToggle = this.widget.visibleElements.snappingControlsElements.selfEnabledToggle, this.hideTooltipsToggle = this.widget.visibleElements.tooltipsToggle, this.hideUndoRedoMenu = this.widget.visibleElements.undoRedoMenu, this.icon = this.widget.icon, this.label = this.widget.label, this.labelOptions = this.widget.labelOptions, this.layer = this.widget.layer, this.layout = this.widget.layout, this.pointSymbol = this.viewModel.pointSymbol, this.polygonSymbol = this.viewModel.polygonSymbol, this.polylineSymbol = this.viewModel.polylineSymbol, this.position = "bottom-left", this.scale = this.widget.scale, this.selectionManagementStyle = this.widget.selectionManagementStyle, this.showSnappingControlsElementsHeader = this.widget.visibleElements.snappingControlsElements.header, this.snappingOptions = this.widget.snappingOptions, this.state = this.widget.state, this.tooltipOptions = this.widget.tooltipOptions, this.updateGraphics = this.widget.updateGraphics, this.arcgisCreate = t(() => this.widget, "create"), this.arcgisDelete = t(() => this.widget, "delete"), this.arcgisPropertyChange = o()("state"), this.arcgisReady = h(), this.arcgisRedo = t(() => this.widget, "redo"), this.arcgisUndo = t(() => this.widget, "undo"), this.arcgisUpdate = t(() => this.widget, "update"), this.listen("arcgisReady", this._arcgisReadyHandler);
|
|
17
18
|
}
|
|
18
19
|
static {
|
|
19
20
|
this.properties = { activeTool: 3, autoDestroyDisabled: 5, availableCreateTools: 0, createGraphic: 0, creationMode: 1, defaultCreateOptions: 0, defaultGraphicsLayerDisabled: 5, defaultUpdateOptions: 0, hideCreateToolsCircle: 5, hideCreateToolsPoint: 5, hideCreateToolsPolygon: 5, hideCreateToolsPolyline: 5, hideCreateToolsRectangle: 5, hideDuplicateButton: 5, hideLabelsToggle: 5, hideSelectionToolsLassoSelection: 5, hideSelectionToolsRectangleSelection: 5, hideSettingsMenu: 5, hideSnappingControls: 5, hideSnappingControlsElementsEnabledToggle: 5, hideSnappingControlsElementsFeatureEnabledToggle: 5, hideSnappingControlsElementsLayerList: 5, hideSnappingControlsElementsSelfEnabledToggle: 5, hideTooltipsToggle: 5, hideUndoRedoMenu: 5, icon: 1, label: 1, labelOptions: 0, layer: 0, layout: 1, pointSymbol: 0, polygonSymbol: 0, polylineSymbol: 0, position: 1, referenceElement: 1, scale: 1, selectionManagementStyle: 1, showSnappingControlsElementsHeader: 5, snappingOptions: 0, state: 3, tooltipOptions: 0, updateGraphics: 0 };
|
|
20
21
|
}
|
|
21
22
|
static {
|
|
22
|
-
this.shadowRootOptions =
|
|
23
|
+
this.shadowRootOptions = d;
|
|
23
24
|
}
|
|
24
25
|
static {
|
|
25
26
|
this.styles = p;
|
|
@@ -60,9 +61,7 @@ class m extends h {
|
|
|
60
61
|
this.defaultGraphicsLayerDisabled || this.el.view?.map.add(this.widget.layer);
|
|
61
62
|
}
|
|
62
63
|
async _editConstructorProperties(e) {
|
|
63
|
-
return this.defaultGraphicsLayerDisabled || (e.layer ??=
|
|
64
|
-
title: "Sketch Layer"
|
|
65
|
-
})), e;
|
|
64
|
+
return this.defaultGraphicsLayerDisabled || (e.layer ??= new l({ title: "Sketch Layer" })), e;
|
|
66
65
|
}
|
|
67
66
|
}
|
|
68
67
|
s("arcgis-sketch", m);
|
|
@@ -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 Slice } from '@arcgis/core/widgets/Slice.js';
|
|
6
6
|
import { PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
7
|
+
import { ArcgisReferenceElement } from '../../utils/component-utils';
|
|
7
8
|
|
|
8
9
|
declare const useSliceWidget: (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<Slice, never> & {
|
|
14
15
|
reactiveUtils?: typeof __esri.reactiveUtils;
|
|
15
16
|
state?: unknown;
|
|
16
17
|
viewModel?: __esri.SliceViewModel | undefined;
|
|
@@ -31,8 +32,8 @@ declare const useSliceWidget: (component: import('@arcgis/components-controllers
|
|
|
31
32
|
autoDestroyDisabled: boolean;
|
|
32
33
|
destroy: () => Promise<void>;
|
|
33
34
|
}, options?: {
|
|
34
|
-
editConstructorProperties(props: __esri.SliceProperties): __esri.SliceProperties | Promise<__esri.SliceProperties
|
|
35
|
-
} | undefined) =>
|
|
35
|
+
editConstructorProperties(props: __esri.SliceProperties | undefined): __esri.SliceProperties | Promise<__esri.SliceProperties | undefined> | undefined;
|
|
36
|
+
} | undefined) => Slice;
|
|
36
37
|
/** [Slice](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Slice.html) is a 3D analysis tool that can be used to reveal occluded content in a [SceneView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html).
|
|
37
38
|
*/
|
|
38
39
|
export declare class ArcgisSlice extends LitElement {
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { c as e } from "../../chunks/runtime.js";
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
2
|
+
import { usePropertyChange as t } from "@arcgis/components-controllers";
|
|
3
|
+
import s from "@arcgis/core/widgets/Slice.js";
|
|
4
|
+
import { LitElement as i, createEvent as a, noShadowRoot as o } from "@arcgis/lumina";
|
|
5
|
+
import { m as l } from "../../chunks/useWidget.js";
|
|
6
6
|
import { css as r } from "@lit/reactive-element/css-tag.js";
|
|
7
7
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
8
8
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
9
|
-
v4.32.0-next.
|
|
10
|
-
const d = r`arcgis-slice{display:block}`, h =
|
|
11
|
-
class c extends
|
|
9
|
+
v4.32.0-next.87 */
|
|
10
|
+
const d = r`arcgis-slice{display:block}`, h = l(s);
|
|
11
|
+
class c extends i {
|
|
12
12
|
constructor() {
|
|
13
|
-
super(...arguments), this.widget = h(this), this.viewModel = this.widget.viewModel, this.analysis = this.widget.analysis, this.autoDestroyDisabled = !1, this.excludeGroundSurface = this.viewModel.excludeGroundSurface, this.excludedLayers = this.viewModel.excludedLayers, this.headingLevel = this.widget.headingLevel, this.icon = this.widget.icon, this.label = this.widget.label, this.position = "bottom-left", this.shape = this.viewModel.shape, this.state = this.viewModel.state, this.tiltEnabled = this.viewModel.tiltEnabled, this.arcgisPropertyChange =
|
|
13
|
+
super(...arguments), this.widget = h(this), this.viewModel = this.widget.viewModel, this.analysis = this.widget.analysis, this.autoDestroyDisabled = !1, this.excludeGroundSurface = this.viewModel.excludeGroundSurface, this.excludedLayers = this.viewModel.excludedLayers, this.headingLevel = this.widget.headingLevel, this.icon = this.widget.icon, this.label = this.widget.label, this.position = "bottom-left", this.shape = this.viewModel.shape, this.state = this.viewModel.state, this.tiltEnabled = this.viewModel.tiltEnabled, this.arcgisPropertyChange = t()("analysis", "state"), this.arcgisReady = a();
|
|
14
14
|
}
|
|
15
15
|
static {
|
|
16
16
|
this.properties = { analysis: 0, autoDestroyDisabled: 5, excludeGroundSurface: 5, excludedLayers: 0, headingLevel: 9, icon: 1, label: 1, position: 1, referenceElement: 1, shape: 0, state: 3, tiltEnabled: 5 };
|
|
17
17
|
}
|
|
18
18
|
static {
|
|
19
|
-
this.shadowRootOptions =
|
|
19
|
+
this.shadowRootOptions = o;
|
|
20
20
|
}
|
|
21
21
|
static {
|
|
22
22
|
this.styles = d;
|
|
@@ -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 Slider } from '@arcgis/core/widgets/Slider.js';
|
|
6
6
|
import { PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
7
|
+
import { ArcgisReferenceElement } from '../../utils/component-utils';
|
|
7
8
|
|
|
8
9
|
declare const useSliderWidget: (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<Slider, never> & {
|
|
14
15
|
reactiveUtils?: typeof __esri.reactiveUtils;
|
|
15
16
|
state?: "ready" | "disabled" | "editing" | "dragging" | undefined;
|
|
16
17
|
viewModel?: __esri.SliderViewModel | undefined;
|
|
@@ -31,8 +32,8 @@ declare const useSliderWidget: (component: import('@arcgis/components-controller
|
|
|
31
32
|
autoDestroyDisabled: boolean;
|
|
32
33
|
destroy: () => Promise<void>;
|
|
33
34
|
}, options?: {
|
|
34
|
-
editConstructorProperties(props: __esri.SliderProperties): __esri.SliderProperties | Promise<__esri.SliderProperties
|
|
35
|
-
} | undefined) =>
|
|
35
|
+
editConstructorProperties(props: __esri.SliderProperties | undefined): __esri.SliderProperties | Promise<__esri.SliderProperties | undefined> | undefined;
|
|
36
|
+
} | undefined) => Slider;
|
|
36
37
|
/**
|
|
37
38
|
* @internal
|
|
38
39
|
*/
|