@arcgis/map-components 4.32.0-next.84 → 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/4ZIFQORV.js +4 -0
- package/dist/arcgis-map-components/6LUZOY5O.js +4 -0
- package/dist/arcgis-map-components/7BT4GAVM.js +4 -0
- package/dist/arcgis-map-components/{QDTORANP.js → 7JPD33PS.js} +1 -1
- package/dist/arcgis-map-components/7WR7N6T3.js +4 -0
- package/dist/arcgis-map-components/{LABTBYBR.js → A6QXV7MU.js} +2 -2
- package/dist/arcgis-map-components/AFIGXVQ3.js +4 -0
- package/dist/arcgis-map-components/{4HWKFVOD.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/{ALE6KF3F.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/{D5YSPPQY.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/{X3DKJFAI.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/{CTCO63FH.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/{ADHZXMHO.js → VOAP25R5.js} +2 -2
- package/dist/arcgis-map-components/{F2U6NY4G.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/{B2AHBB47.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 +43 -43
- 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 +7 -6
- 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 +38 -37
- package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +23 -22
- 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 +14 -13
- 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 +16 -15
- 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 +8 -7
- 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 +10 -8
- package/dist/components/arcgis-directions/customElement.js +24 -24
- 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 +17 -16
- package/dist/components/arcgis-editor/customElement.js +9 -9
- package/dist/components/arcgis-elevation-profile/customElement.d.ts +16 -21
- package/dist/components/arcgis-elevation-profile/customElement.js +9 -9
- package/dist/components/arcgis-expand/customElement.d.ts +9 -8
- package/dist/components/arcgis-expand/customElement.js +9 -9
- package/dist/components/arcgis-feature/customElement.d.ts +10 -17
- package/dist/components/arcgis-feature/customElement.js +8 -8
- package/dist/components/arcgis-feature-form/customElement.d.ts +8 -7
- package/dist/components/arcgis-feature-form/customElement.js +9 -9
- package/dist/components/arcgis-feature-table/customElement.d.ts +24 -23
- package/dist/components/arcgis-feature-table/customElement.js +17 -16
- package/dist/components/arcgis-feature-templates/customElement.d.ts +8 -7
- package/dist/components/arcgis-feature-templates/customElement.js +10 -10
- package/dist/components/arcgis-features/customElement.d.ts +21 -20
- package/dist/components/arcgis-features/customElement.js +6 -6
- package/dist/components/arcgis-floor-filter/customElement.d.ts +9 -8
- package/dist/components/arcgis-floor-filter/customElement.js +10 -10
- package/dist/components/arcgis-fullscreen/customElement.d.ts +5 -4
- package/dist/components/arcgis-fullscreen/customElement.js +11 -11
- package/dist/components/arcgis-histogram/customElement.d.ts +14 -13
- package/dist/components/arcgis-histogram/customElement.js +9 -9
- package/dist/components/arcgis-histogram-range-slider/customElement.d.ts +15 -14
- package/dist/components/arcgis-histogram-range-slider/customElement.js +9 -9
- package/dist/components/arcgis-home/customElement.d.ts +7 -6
- package/dist/components/arcgis-home/customElement.js +12 -12
- package/dist/components/arcgis-layer-list/customElement.d.ts +21 -20
- 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 +20 -18
- package/dist/components/arcgis-link-chart/customElement.js +27 -27
- package/dist/components/arcgis-locate/customElement.d.ts +7 -6
- package/dist/components/arcgis-locate/customElement.js +15 -15
- package/dist/components/arcgis-map/customElement.d.ts +19 -17
- package/dist/components/arcgis-map/customElement.js +27 -27
- package/dist/components/arcgis-measurement/customElement.d.ts +7 -6
- package/dist/components/arcgis-measurement/customElement.js +9 -9
- package/dist/components/arcgis-navigation-toggle/customElement.d.ts +8 -6
- package/dist/components/arcgis-navigation-toggle/customElement.js +11 -11
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +8 -7
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +33 -28
- package/dist/components/arcgis-placement/customElement.js +2 -2
- package/dist/components/arcgis-print/customElement.d.ts +7 -6
- 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 +70 -63
- package/dist/components/arcgis-scale-range-slider/customElement.d.ts +6 -5
- package/dist/components/arcgis-scale-range-slider/customElement.js +12 -12
- package/dist/components/arcgis-scene/customElement.d.ts +18 -16
- package/dist/components/arcgis-scene/customElement.js +25 -25
- package/dist/components/arcgis-search/customElement.d.ts +15 -14
- package/dist/components/arcgis-search/customElement.js +8 -8
- package/dist/components/arcgis-shadow-cast/customElement.d.ts +11 -10
- package/dist/components/arcgis-shadow-cast/customElement.js +12 -12
- package/dist/components/arcgis-sketch/customElement.d.ts +30 -28
- package/dist/components/arcgis-sketch/customElement.js +11 -12
- package/dist/components/arcgis-slice/customElement.d.ts +6 -5
- package/dist/components/arcgis-slice/customElement.js +9 -9
- package/dist/components/arcgis-slider/customElement.d.ts +15 -14
- package/dist/components/arcgis-slider/customElement.js +9 -9
- package/dist/components/arcgis-swipe/customElement.d.ts +6 -5
- package/dist/components/arcgis-swipe/customElement.js +17 -17
- package/dist/components/arcgis-table-list/customElement.d.ts +25 -22
- package/dist/components/arcgis-table-list/customElement.js +6 -6
- package/dist/components/arcgis-time-slider/customElement.d.ts +10 -9
- package/dist/components/arcgis-time-slider/customElement.js +9 -9
- package/dist/components/arcgis-track/customElement.d.ts +8 -7
- package/dist/components/arcgis-track/customElement.js +15 -15
- package/dist/components/arcgis-utility-network-associations/customElement.d.ts +85 -14
- package/dist/components/arcgis-utility-network-associations/customElement.js +33 -210
- package/dist/components/arcgis-utility-network-trace/customElement.d.ts +1 -1
- package/dist/components/arcgis-utility-network-trace/customElement.js +8 -8
- package/dist/components/arcgis-utility-network-validate-topology/customElement.d.ts +1 -1
- package/dist/components/arcgis-utility-network-validate-topology/customElement.js +11 -11
- package/dist/components/arcgis-value-picker/customElement.d.ts +10 -9
- package/dist/components/arcgis-value-picker/customElement.js +9 -9
- package/dist/components/arcgis-version-management/customElement.d.ts +3 -3
- package/dist/components/arcgis-version-management/customElement.js +99 -100
- 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.d.ts +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 +6 -5
- 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 +2 -2
- package/dist/controllers/useWidget.d.ts +2 -2
- package/dist/docs/api.json +1105 -462
- package/dist/docs/docs.json +823 -345
- package/dist/docs/vscode.html-custom-data.json +229 -137
- package/dist/docs/web-types.json +582 -374
- package/dist/index.js +1 -1
- package/dist/loader.js +3 -3
- package/dist/testing/commonSpatialReferences.d.ts +8 -0
- package/dist/testing/mockServices.d.ts +9 -0
- package/dist/testing/setupFile.d.ts +1 -0
- package/dist/testing/testUtils.d.ts +49 -0
- package/dist/testing/tileInfoUtils.d.ts +10 -0
- package/dist/types/lumina.d.ts +6 -6
- package/dist/types/preact.d.ts +6 -6
- package/dist/types/react.d.ts +6 -6
- package/dist/types/stencil.d.ts +6 -6
- package/dist/utils/component-utils.d.ts +2 -2
- package/package.json +4 -5
- package/dist/arcgis-map-components/2LH365WX.js +0 -4
- package/dist/arcgis-map-components/6JAD4WKP.js +0 -4
- package/dist/arcgis-map-components/7IYUKHGU.js +0 -4
- package/dist/arcgis-map-components/7PRXTQ4Y.js +0 -4
- package/dist/arcgis-map-components/ASLMMNFG.js +0 -4
- package/dist/arcgis-map-components/BCSTA4MD.js +0 -4
- package/dist/arcgis-map-components/BMZIKLJT.js +0 -4
- package/dist/arcgis-map-components/BVS52H6M.js +0 -4
- package/dist/arcgis-map-components/C542LZ3W.js +0 -4
- package/dist/arcgis-map-components/CAQQA5ME.js +0 -4
- package/dist/arcgis-map-components/CCF5WJQL.js +0 -4
- package/dist/arcgis-map-components/CHN4JGNG.js +0 -4
- package/dist/arcgis-map-components/CLW7FHWH.js +0 -4
- package/dist/arcgis-map-components/CSEA27MX.js +0 -4
- package/dist/arcgis-map-components/FTOHM6K7.js +0 -4
- package/dist/arcgis-map-components/G6CP2VYU.js +0 -4
- package/dist/arcgis-map-components/GHPCV4MN.js +0 -4
- package/dist/arcgis-map-components/GP5KXKC6.js +0 -4
- package/dist/arcgis-map-components/GUBVA4HI.js +0 -4
- package/dist/arcgis-map-components/H3QUUUNO.js +0 -4
- package/dist/arcgis-map-components/HNBQDWNV.js +0 -4
- package/dist/arcgis-map-components/IF6ICBVD.js +0 -4
- package/dist/arcgis-map-components/JDYFIYT3.js +0 -4
- package/dist/arcgis-map-components/JG6SSII2.js +0 -4
- package/dist/arcgis-map-components/JPFJWSQT.js +0 -4
- package/dist/arcgis-map-components/JY2BL6QD.js +0 -4
- package/dist/arcgis-map-components/LW4HCA3P.js +0 -4
- package/dist/arcgis-map-components/MCAPSEE3.js +0 -4
- package/dist/arcgis-map-components/MJBNTJRW.js +0 -4
- package/dist/arcgis-map-components/NAN3TPDO.js +0 -4
- package/dist/arcgis-map-components/NUF2ZXJB.js +0 -4
- package/dist/arcgis-map-components/OF62ZZDT.js +0 -4
- package/dist/arcgis-map-components/OODDLGXW.js +0 -4
- package/dist/arcgis-map-components/OUTOCGVP.js +0 -4
- package/dist/arcgis-map-components/PBYUEHJ2.js +0 -4
- package/dist/arcgis-map-components/QWBNGCQZ.js +0 -4
- package/dist/arcgis-map-components/QXH6QBCY.js +0 -4
- package/dist/arcgis-map-components/RLXPUR6U.js +0 -4
- package/dist/arcgis-map-components/S2QUE2PT.js +0 -4
- package/dist/arcgis-map-components/S3HVEU43.js +0 -4
- package/dist/arcgis-map-components/SBFEI7G7.js +0 -4
- package/dist/arcgis-map-components/SDIRYXNN.js +0 -4
- package/dist/arcgis-map-components/SDTEUQJF.js +0 -4
- package/dist/arcgis-map-components/SJ23WYPX.js +0 -4
- package/dist/arcgis-map-components/SM27BTYQ.js +0 -4
- package/dist/arcgis-map-components/SV37GYTZ.js +0 -4
- package/dist/arcgis-map-components/SZI3EYQQ.js +0 -4
- package/dist/arcgis-map-components/TRRQPVCK.js +0 -4
- package/dist/arcgis-map-components/UJJUHEQP.js +0 -4
- package/dist/arcgis-map-components/USOW5GMA.js +0 -4
- package/dist/arcgis-map-components/VCU3GSEE.js +0 -4
- package/dist/arcgis-map-components/VHDI7NKV.js +0 -4
- package/dist/arcgis-map-components/VIEKXUEC.js +0 -4
- package/dist/arcgis-map-components/VQUVK2Z4.js +0 -4
- package/dist/arcgis-map-components/VY2AN4QN.js +0 -4
- package/dist/arcgis-map-components/WCITYN6U.js +0 -4
- package/dist/arcgis-map-components/WOWZWSL5.js +0 -4
- package/dist/arcgis-map-components/WZIB63XY.js +0 -4
- package/dist/arcgis-map-components/XJ5ZDZD5.js +0 -4
- package/dist/arcgis-map-components/XKFVFNRT.js +0 -4
- package/dist/arcgis-map-components/XKY2Q5V6.js +0 -4
- package/dist/arcgis-map-components/ZANDAN6Q.js +0 -4
- package/dist/arcgis-map-components/ZD343J42.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
|
-
import { Nil } from '@arcgis/components-utils';
|
|
5
3
|
import { Use } from '@arcgis/components-controllers';
|
|
4
|
+
import { Nil } from '@arcgis/components-utils';
|
|
5
|
+
import { default as HomeViewModel } from '@arcgis/core/widgets/Home/HomeViewModel.js';
|
|
6
6
|
import { JsxNode, PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
7
|
+
import { ArcgisReferenceElement } from '../../utils/component-utils';
|
|
7
8
|
|
|
8
9
|
declare const useHomeViewModel: (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<HomeViewModel, never> & {
|
|
14
15
|
reactiveUtils?: typeof __esri.reactiveUtils;
|
|
15
16
|
state?: "ready" | "disabled" | "going-home" | undefined;
|
|
16
17
|
icon: Nil | string;
|
|
@@ -31,7 +32,7 @@ declare const useHomeViewModel: (component: import('@arcgis/components-controlle
|
|
|
31
32
|
destroy: () => Promise<void>;
|
|
32
33
|
}, options?: {
|
|
33
34
|
editConstructorProperties(props: unknown): unknown;
|
|
34
|
-
} | undefined) =>
|
|
35
|
+
} | undefined) => HomeViewModel;
|
|
35
36
|
/**
|
|
36
37
|
* Provides a simple widget that switches the esri/views/View to its
|
|
37
38
|
* initial esri/Viewpoint or a previously defined `viewpoint`.
|
|
@@ -50,7 +51,7 @@ export declare class ArcgisHome extends LitElement {
|
|
|
50
51
|
* memory leaks.
|
|
51
52
|
*/
|
|
52
53
|
autoDestroyDisabled: boolean;
|
|
53
|
-
goToOverride: __esri.GoToOverride;
|
|
54
|
+
goToOverride: nullish | __esri.GoToOverride;
|
|
54
55
|
/**
|
|
55
56
|
* Icon displayed in the widget's button.
|
|
56
57
|
*
|
|
@@ -83,7 +84,7 @@ export declare class ArcgisHome extends LitElement {
|
|
|
83
84
|
* // Sets the model's viewpoint to the Viewpoint based on a polygon geometry
|
|
84
85
|
* home.viewpoint = vp;
|
|
85
86
|
*/
|
|
86
|
-
viewpoint: __esri.Viewpoint;
|
|
87
|
+
viewpoint: __esri.Viewpoint | nullish;
|
|
87
88
|
/**
|
|
88
89
|
* This function provides the ability to interrupt and cancel the process
|
|
89
90
|
* of navigating the view back to the view's initial extent.
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import { c as l } from "../../chunks/runtime.js";
|
|
2
2
|
import { html as o } from "lit-html";
|
|
3
|
-
import { g as i } from "../../chunks/globalCss.js";
|
|
4
|
-
import { classes as n } from "@arcgis/components-utils";
|
|
5
3
|
import { usePropertyChange as c } from "@arcgis/components-controllers";
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import
|
|
9
|
-
import {
|
|
4
|
+
import { reEmitEvent as n } from "@arcgis/components-controllers/accessor";
|
|
5
|
+
import { classes as m } from "@arcgis/components-utils";
|
|
6
|
+
import d from "@arcgis/core/widgets/Home/HomeViewModel.js";
|
|
7
|
+
import { LitElement as h, createEvent as g, noShadowRoot as p, safeClassMap as i, nothing as v } from "@arcgis/lumina";
|
|
8
|
+
import { u as w, m as u } from "../../chunks/useViewModel.js";
|
|
9
|
+
import { g as a } from "../../chunks/globalCss.js";
|
|
10
10
|
import { css as f } from "@lit/reactive-element/css-tag.js";
|
|
11
11
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
12
12
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
13
|
-
v4.32.0-next.
|
|
13
|
+
v4.32.0-next.87 */
|
|
14
14
|
const b = f`arcgis-home{display:block}`, y = {
|
|
15
15
|
base: "esri-home"
|
|
16
|
-
}, M =
|
|
17
|
-
class $ extends
|
|
16
|
+
}, M = u(d);
|
|
17
|
+
class $ extends h {
|
|
18
18
|
constructor() {
|
|
19
|
-
super(...arguments), this.messages =
|
|
19
|
+
super(...arguments), this.messages = w(), this.viewModel = M(this), this.autoDestroyDisabled = !1, this.goToOverride = this.viewModel.goToOverride, this.icon = "home", this.position = "top-left", this.state = this.viewModel.state, this.viewpoint = this.viewModel.viewpoint, this.arcgisGo = n(() => this.viewModel, "go"), this.arcgisPropertyChange = c()("state"), this.arcgisReady = g();
|
|
20
20
|
}
|
|
21
21
|
static {
|
|
22
22
|
this.properties = { autoDestroyDisabled: 5, goToOverride: 0, icon: 3, label: 1, messageOverrides: 0, position: 3, referenceElement: 1, state: 3, viewpoint: 0 };
|
|
23
23
|
}
|
|
24
24
|
static {
|
|
25
|
-
this.shadowRootOptions =
|
|
25
|
+
this.shadowRootOptions = p;
|
|
26
26
|
}
|
|
27
27
|
static {
|
|
28
28
|
this.styles = b;
|
|
@@ -59,7 +59,7 @@ class $ extends g {
|
|
|
59
59
|
//#region Rendering
|
|
60
60
|
render() {
|
|
61
61
|
const { messages: e, icon: r } = this, t = this.viewModel?.state, s = t === "going-home";
|
|
62
|
-
return o`<div class=${
|
|
62
|
+
return o`<div class=${i(m(y.base, a.widget))}><calcite-button class=${i(a.widgetButton)} .disabled=${t === "disabled"} .iconStart=${s ? void 0 : r ?? void 0} kind=neutral .label=${e.componentLabel} @click=${this._go} .scale=${s ? "s" : "m"} title=${(t === "going-home" ? e.cancel : e.title) ?? v}>${s ? o`<calcite-loader inline label></calcite-loader>` : null}</calcite-button></div>`;
|
|
63
63
|
}
|
|
64
64
|
}
|
|
65
65
|
l("arcgis-home", $);
|
|
@@ -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 LayerList } from '@arcgis/core/widgets/LayerList.js';
|
|
6
6
|
import { PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
7
|
+
import { ArcgisReferenceElement } from '../../utils/component-utils';
|
|
7
8
|
|
|
8
9
|
declare const useLayerListWidget: (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<LayerList, never> & {
|
|
14
15
|
reactiveUtils?: typeof __esri.reactiveUtils;
|
|
15
16
|
state?: unknown;
|
|
16
17
|
viewModel?: __esri.LayerListViewModel | undefined;
|
|
@@ -31,8 +32,8 @@ declare const useLayerListWidget: (component: import('@arcgis/components-control
|
|
|
31
32
|
autoDestroyDisabled: boolean;
|
|
32
33
|
destroy: () => Promise<void>;
|
|
33
34
|
}, options?: {
|
|
34
|
-
editConstructorProperties(props: __esri.LayerListProperties): __esri.LayerListProperties | Promise<__esri.LayerListProperties
|
|
35
|
-
} | undefined) =>
|
|
35
|
+
editConstructorProperties(props: __esri.LayerListProperties | undefined): __esri.LayerListProperties | Promise<__esri.LayerListProperties | undefined> | undefined;
|
|
36
|
+
} | undefined) => LayerList;
|
|
36
37
|
/** The [LayerList](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-LayerList.html) provides a way to display a list of layers, and switch on/off their visibility.
|
|
37
38
|
*/
|
|
38
39
|
export declare class ArcgisLayerList extends LitElement {
|
|
@@ -45,45 +46,45 @@ export declare class ArcgisLayerList extends LitElement {
|
|
|
45
46
|
*/
|
|
46
47
|
autoDestroyDisabled: boolean;
|
|
47
48
|
/** The CatalogLayerList that displays a catalog layer's dynamic group layer. */
|
|
48
|
-
get catalogLayerList(): __esri.CatalogLayerList;
|
|
49
|
-
catalogOptions: __esri.LayerListCatalogOptions;
|
|
49
|
+
get catalogLayerList(): __esri.CatalogLayerList | nullish;
|
|
50
|
+
catalogOptions: nullish | __esri.LayerListCatalogOptions;
|
|
50
51
|
collapsed: boolean;
|
|
51
52
|
dragEnabled: boolean;
|
|
52
53
|
filterPlaceholder: string;
|
|
53
|
-
filterPredicate: __esri.LayerListFilterPredicate;
|
|
54
|
+
filterPredicate: nullish | __esri.LayerListFilterPredicate;
|
|
54
55
|
filterText: string;
|
|
55
56
|
headingLevel: number;
|
|
56
|
-
hideCatalogLayerList: boolean
|
|
57
|
-
hideFlow: boolean
|
|
58
|
-
hideStatusIndicators: boolean
|
|
57
|
+
hideCatalogLayerList: boolean;
|
|
58
|
+
hideFlow: boolean;
|
|
59
|
+
hideStatusIndicators: boolean;
|
|
59
60
|
/**
|
|
60
61
|
* Icon which represents the component.
|
|
61
62
|
* Typically used when the component is controlled by another component (e.g. by the Expand component).
|
|
62
63
|
* Search [Calcite Icons](https://developers.arcgis.com/calcite-design-system/icons/) for possible values.
|
|
63
64
|
*/
|
|
64
65
|
icon: string;
|
|
65
|
-
knowledgeGraphOptions: __esri.LayerListKnowledgeGraphOptions;
|
|
66
|
+
knowledgeGraphOptions: nullish | __esri.LayerListKnowledgeGraphOptions;
|
|
66
67
|
/** The component's default label. */
|
|
67
68
|
label: string;
|
|
68
|
-
listItemCreatedFunction: __esri.LayerListListItemCreatedHandler;
|
|
69
|
+
listItemCreatedFunction: nullish | __esri.LayerListListItemCreatedHandler;
|
|
69
70
|
minDragEnabledItems: number;
|
|
70
71
|
minFilterItems: number;
|
|
71
|
-
openedLayers: __esri.Collection<__esri.Layer>;
|
|
72
|
+
readonly openedLayers: __esri.Collection<__esri.Layer>;
|
|
72
73
|
/** A collection of ListItems representing operational layers. */
|
|
73
74
|
get operationalItems(): __esri.Collection<__esri.ListItem>;
|
|
74
75
|
position: __esri.UIPosition;
|
|
75
76
|
referenceElement: ArcgisReferenceElement | Nil | string;
|
|
76
77
|
selectedItems: __esri.Collection<__esri.ListItem>;
|
|
77
78
|
selectionMode: "none" | "single" | "multiple" | "single-persist";
|
|
78
|
-
showCloseButton: boolean
|
|
79
|
-
showCollapseButton: boolean
|
|
80
|
-
showErrors: boolean
|
|
81
|
-
showFilter: boolean
|
|
82
|
-
showHeading: boolean
|
|
83
|
-
showTemporaryLayerIndicators: boolean
|
|
79
|
+
showCloseButton: boolean;
|
|
80
|
+
showCollapseButton: boolean;
|
|
81
|
+
showErrors: boolean;
|
|
82
|
+
showFilter: boolean;
|
|
83
|
+
showHeading: boolean;
|
|
84
|
+
showTemporaryLayerIndicators: boolean;
|
|
84
85
|
readonly state: "ready" | "disabled" | "loading";
|
|
85
86
|
/** The TableList that displays the tables associated with a KnowledgeGraphLayer. */
|
|
86
|
-
get tableList(): __esri.TableList;
|
|
87
|
+
get tableList(): __esri.TableList | nullish;
|
|
87
88
|
visibilityAppearance: "default" | "checkbox";
|
|
88
89
|
/** Permanently destroy the component */
|
|
89
90
|
destroy(): Promise<void>;
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { c as i } from "../../chunks/runtime.js";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
2
|
+
import { usePropertyChange as s } from "@arcgis/components-controllers";
|
|
3
|
+
import { reEmitEvent as a } from "@arcgis/components-controllers/accessor";
|
|
4
|
+
import o from "@arcgis/core/widgets/LayerList.js";
|
|
5
5
|
import { LitElement as r, createEvent as l, noShadowRoot as h } from "@arcgis/lumina";
|
|
6
|
-
import {
|
|
6
|
+
import { m as d } from "../../chunks/useWidget.js";
|
|
7
7
|
import { css as n } 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 = n`arcgis-layer-list{display:block}`, c = o
|
|
12
|
-
class
|
|
10
|
+
v4.32.0-next.87 */
|
|
11
|
+
const g = n`arcgis-layer-list{display:block}`, c = d(o);
|
|
12
|
+
class m extends r {
|
|
13
13
|
constructor() {
|
|
14
|
-
super(...arguments), this.widget = c(this), this.viewModel = this.widget.viewModel, this.autoDestroyDisabled = !1, this.catalogOptions = this.widget.catalogOptions, this.collapsed = this.widget.collapsed, this.dragEnabled = this.widget.dragEnabled, this.filterPlaceholder = this.widget.filterPlaceholder, this.filterPredicate = this.widget.filterPredicate, this.filterText = this.widget.filterText, this.headingLevel = this.widget.headingLevel, this.hideCatalogLayerList = this.widget.visibleElements.catalogLayerList, this.hideFlow = this.widget.visibleElements.flow, this.hideStatusIndicators = this.widget.visibleElements.statusIndicators, this.icon = this.widget.icon, this.knowledgeGraphOptions = this.widget.knowledgeGraphOptions, this.label = this.widget.label, this.listItemCreatedFunction = this.widget.listItemCreatedFunction, this.minDragEnabledItems = this.widget.minDragEnabledItems, this.minFilterItems = this.widget.minFilterItems, this.openedLayers = this.widget.openedLayers, this.position = "bottom-left", this.selectedItems = this.widget.selectedItems, this.selectionMode = this.widget.selectionMode, this.showCloseButton = this.widget.visibleElements.closeButton, this.showCollapseButton = this.widget.visibleElements.collapseButton, this.showErrors = this.widget.visibleElements.errors, this.showFilter = this.widget.visibleElements.filter, this.showHeading = this.widget.visibleElements.heading, this.showTemporaryLayerIndicators = this.widget.visibleElements.temporaryLayerIndicators, this.state = this.viewModel.state, this.visibilityAppearance = this.widget.visibilityAppearance, this.arcgisPropertyChange =
|
|
14
|
+
super(...arguments), this.widget = c(this), this.viewModel = this.widget.viewModel, this.autoDestroyDisabled = !1, this.catalogOptions = this.widget.catalogOptions, this.collapsed = this.widget.collapsed, this.dragEnabled = this.widget.dragEnabled, this.filterPlaceholder = this.widget.filterPlaceholder, this.filterPredicate = this.widget.filterPredicate, this.filterText = this.widget.filterText, this.headingLevel = this.widget.headingLevel, this.hideCatalogLayerList = this.widget.visibleElements.catalogLayerList, this.hideFlow = this.widget.visibleElements.flow, this.hideStatusIndicators = this.widget.visibleElements.statusIndicators, this.icon = this.widget.icon, this.knowledgeGraphOptions = this.widget.knowledgeGraphOptions, this.label = this.widget.label, this.listItemCreatedFunction = this.widget.listItemCreatedFunction, this.minDragEnabledItems = this.widget.minDragEnabledItems, this.minFilterItems = this.widget.minFilterItems, this.openedLayers = this.widget.openedLayers, this.position = "bottom-left", this.selectedItems = this.widget.selectedItems, this.selectionMode = this.widget.selectionMode, this.showCloseButton = this.widget.visibleElements.closeButton, this.showCollapseButton = this.widget.visibleElements.collapseButton, this.showErrors = this.widget.visibleElements.errors, this.showFilter = this.widget.visibleElements.filter, this.showHeading = this.widget.visibleElements.heading, this.showTemporaryLayerIndicators = this.widget.visibleElements.temporaryLayerIndicators, this.state = this.viewModel.state, this.visibilityAppearance = this.widget.visibilityAppearance, this.arcgisPropertyChange = s()("state"), this.arcgisReady = l(), this.arcgisTriggerAction = a(() => this.widget, "trigger-action");
|
|
15
15
|
}
|
|
16
16
|
static {
|
|
17
17
|
this.properties = { autoDestroyDisabled: 5, catalogLayerList: 32, catalogOptions: 0, collapsed: 7, dragEnabled: 5, filterPlaceholder: 1, filterPredicate: 0, filterText: 1, headingLevel: 9, hideCatalogLayerList: 5, hideFlow: 5, hideStatusIndicators: 5, icon: 1, knowledgeGraphOptions: 0, label: 1, listItemCreatedFunction: 0, minDragEnabledItems: 9, minFilterItems: 9, openedLayers: 0, operationalItems: 32, position: 1, referenceElement: 1, selectedItems: 0, selectionMode: 1, showCloseButton: 5, showCollapseButton: 5, showErrors: 5, showFilter: 5, showHeading: 5, showTemporaryLayerIndicators: 5, state: 3, tableList: 32, visibilityAppearance: 1 };
|
|
@@ -44,7 +44,7 @@ class w extends r {
|
|
|
44
44
|
this.widget?.triggerAction(t, e);
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
|
-
i("arcgis-layer-list",
|
|
47
|
+
i("arcgis-layer-list", m);
|
|
48
48
|
export {
|
|
49
|
-
|
|
49
|
+
m as ArcgisLayerList
|
|
50
50
|
};
|
|
@@ -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 Legend } from '@arcgis/core/widgets/Legend.js';
|
|
6
6
|
import { PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
7
|
+
import { ArcgisReferenceElement } from '../../utils/component-utils';
|
|
7
8
|
|
|
8
9
|
declare const useLegendWidget: (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<Legend, never> & {
|
|
14
15
|
reactiveUtils?: typeof __esri.reactiveUtils;
|
|
15
16
|
state?: unknown;
|
|
16
17
|
viewModel?: __esri.LegendViewModel | undefined;
|
|
@@ -31,8 +32,8 @@ declare const useLegendWidget: (component: import('@arcgis/components-controller
|
|
|
31
32
|
autoDestroyDisabled: boolean;
|
|
32
33
|
destroy: () => Promise<void>;
|
|
33
34
|
}, options?: {
|
|
34
|
-
editConstructorProperties(props: __esri.LegendProperties): __esri.LegendProperties | Promise<__esri.LegendProperties
|
|
35
|
-
} | undefined) =>
|
|
35
|
+
editConstructorProperties(props: __esri.LegendProperties | undefined): __esri.LegendProperties | Promise<__esri.LegendProperties | undefined> | undefined;
|
|
36
|
+
} | undefined) => Legend;
|
|
36
37
|
/** The [Legend](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Legend.html) describes the symbols used to represent layers in a map.
|
|
37
38
|
*/
|
|
38
39
|
export declare class ArcgisLegend 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 i from "@arcgis/core/widgets/Legend.js";
|
|
4
|
+
import { LitElement as s, createEvent as r, noShadowRoot as a } from "@arcgis/lumina";
|
|
5
|
+
import { m as o } from "../../chunks/useWidget.js";
|
|
6
6
|
import { css as n } from "@lit/reactive-element/css-tag.js";
|
|
7
7
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
8
8
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
9
|
-
v4.32.0-next.
|
|
10
|
-
const d = n`arcgis-legend{display:block}`, h =
|
|
11
|
-
class l extends
|
|
9
|
+
v4.32.0-next.87 */
|
|
10
|
+
const d = n`arcgis-legend{display:block}`, h = o(i);
|
|
11
|
+
class l extends s {
|
|
12
12
|
constructor() {
|
|
13
|
-
super(...arguments), this.widget = h(this), this.viewModel = this.widget.viewModel, this.activeLayerInfos = this.widget.activeLayerInfos, this.autoDestroyDisabled = !1, this.basemapLegendVisible = this.widget.basemapLegendVisible, this.headingLevel = this.widget.headingLevel, this.hideLayersNotInCurrentView = this.widget.hideLayersNotInCurrentView, this.icon = this.widget.icon, this.label = this.widget.label, this.layerInfos = this.widget.layerInfos, this.legendStyle = this.widget.style, this.position = "bottom-left", this.respectLayerDefinitionExpression = this.widget.respectLayerDefinitionExpression, this.respectLayerVisibilityDisabled = this.widget.respectLayerVisibility, this.state = this.viewModel.state, this.arcgisPropertyChange =
|
|
13
|
+
super(...arguments), this.widget = h(this), this.viewModel = this.widget.viewModel, this.activeLayerInfos = this.widget.activeLayerInfos, this.autoDestroyDisabled = !1, this.basemapLegendVisible = this.widget.basemapLegendVisible, this.headingLevel = this.widget.headingLevel, this.hideLayersNotInCurrentView = this.widget.hideLayersNotInCurrentView, this.icon = this.widget.icon, this.label = this.widget.label, this.layerInfos = this.widget.layerInfos, this.legendStyle = this.widget.style, this.position = "bottom-left", this.respectLayerDefinitionExpression = this.widget.respectLayerDefinitionExpression, this.respectLayerVisibilityDisabled = this.widget.respectLayerVisibility, this.state = this.viewModel.state, this.arcgisPropertyChange = t()("state"), this.arcgisReady = r();
|
|
14
14
|
}
|
|
15
15
|
static {
|
|
16
16
|
this.properties = { activeLayerInfos: 0, autoDestroyDisabled: 5, basemapLegendVisible: 5, headingLevel: 9, hideLayersNotInCurrentView: 5, icon: 1, label: 1, layerInfos: 0, legendStyle: 1, position: 1, referenceElement: 1, respectLayerDefinitionExpression: 5, respectLayerVisibilityDisabled: 5, state: 3 };
|
|
17
17
|
}
|
|
18
18
|
static {
|
|
19
|
-
this.shadowRootOptions =
|
|
19
|
+
this.shadowRootOptions = a;
|
|
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 LineOfSight } from '@arcgis/core/widgets/LineOfSight.js';
|
|
6
6
|
import { PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
7
|
+
import { ArcgisReferenceElement } from '../../utils/component-utils';
|
|
7
8
|
|
|
8
9
|
declare const useLineOfSightWidget: (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<LineOfSight, never> & {
|
|
14
15
|
reactiveUtils?: typeof __esri.reactiveUtils;
|
|
15
16
|
state?: unknown;
|
|
16
17
|
viewModel?: __esri.LineOfSightViewModel | undefined;
|
|
@@ -31,8 +32,8 @@ declare const useLineOfSightWidget: (component: import('@arcgis/components-contr
|
|
|
31
32
|
autoDestroyDisabled: boolean;
|
|
32
33
|
destroy: () => Promise<void>;
|
|
33
34
|
}, options?: {
|
|
34
|
-
editConstructorProperties(props: __esri.LineOfSightProperties): __esri.LineOfSightProperties | Promise<__esri.LineOfSightProperties
|
|
35
|
-
} | undefined) =>
|
|
35
|
+
editConstructorProperties(props: __esri.LineOfSightProperties | undefined): __esri.LineOfSightProperties | Promise<__esri.LineOfSightProperties | undefined> | undefined;
|
|
36
|
+
} | undefined) => LineOfSight;
|
|
36
37
|
/** [LineOfSight](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-LineOfSight.html) is a 3D analysis tool that allows you to perform visibility analysis in a [SceneView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html).
|
|
37
38
|
*/
|
|
38
39
|
export declare class ArcgisLineOfSight 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 s } from "@arcgis/components-controllers";
|
|
3
|
+
import i from "@arcgis/core/widgets/LineOfSight.js";
|
|
4
|
+
import { LitElement as e, createEvent as o, noShadowRoot as a } from "@arcgis/lumina";
|
|
5
|
+
import { m as r } from "../../chunks/useWidget.js";
|
|
6
6
|
import { css as n } from "@lit/reactive-element/css-tag.js";
|
|
7
7
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
8
8
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
9
|
-
v4.32.0-next.
|
|
10
|
-
const l = n`arcgis-line-of-sight{display:block}`, h =
|
|
11
|
-
class c extends
|
|
9
|
+
v4.32.0-next.87 */
|
|
10
|
+
const l = n`arcgis-line-of-sight{display:block}`, h = r(i);
|
|
11
|
+
class c extends e {
|
|
12
12
|
constructor() {
|
|
13
|
-
super(...arguments), this.widget = h(this), this.viewModel = this.widget.viewModel, this.analysis = this.widget.analysis, this.autoDestroyDisabled = !1, this.icon = this.widget.icon, this.label = this.widget.label, this.position = "bottom-left", this.state = this.viewModel.state, this.arcgisPropertyChange =
|
|
13
|
+
super(...arguments), this.widget = h(this), this.viewModel = this.widget.viewModel, this.analysis = this.widget.analysis, this.autoDestroyDisabled = !1, this.icon = this.widget.icon, this.label = this.widget.label, this.position = "bottom-left", this.state = this.viewModel.state, this.arcgisPropertyChange = s()("analysis", "state"), this.arcgisReady = o();
|
|
14
14
|
}
|
|
15
15
|
static {
|
|
16
16
|
this.properties = { analysis: 0, autoDestroyDisabled: 5, icon: 1, label: 1, position: 1, referenceElement: 1, state: 3 };
|
|
17
17
|
}
|
|
18
18
|
static {
|
|
19
|
-
this.shadowRootOptions =
|
|
19
|
+
this.shadowRootOptions = a;
|
|
20
20
|
}
|
|
21
21
|
static {
|
|
22
22
|
this.styles = l;
|
|
@@ -1,41 +1,43 @@
|
|
|
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 { ToElement, PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
5
4
|
import { Nil } from '@arcgis/components-utils';
|
|
5
|
+
import { default as LinkChartView } from '@arcgis/core/views/LinkChartView.js';
|
|
6
|
+
import { default as WebLinkChart } from '@arcgis/core/WebLinkChart.js';
|
|
7
|
+
import { ToElement, PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
6
8
|
|
|
7
9
|
declare const useWebLinkChart: (component: import('@arcgis/components-controllers').StencilLifecycles & {
|
|
8
10
|
manager: import('@arcgis/components-controllers').ControllerManager;
|
|
9
11
|
el: HTMLElement;
|
|
10
12
|
autoDestroyDisabled?: boolean;
|
|
11
13
|
destroy?: () => Promise<void>;
|
|
12
|
-
} & Pick<
|
|
14
|
+
} & Pick<WebLinkChart, never> & {
|
|
13
15
|
reactiveUtils?: typeof __esri.reactiveUtils;
|
|
14
16
|
autoDestroyDisabled: boolean;
|
|
15
17
|
destroy: () => Promise<void>;
|
|
16
18
|
}, options?: {
|
|
17
|
-
editConstructorProperties(props: __esri.WebLinkChartProperties): __esri.WebLinkChartProperties | Promise<__esri.WebLinkChartProperties
|
|
18
|
-
} | undefined) =>
|
|
19
|
+
editConstructorProperties(props: __esri.WebLinkChartProperties | undefined): __esri.WebLinkChartProperties | Promise<__esri.WebLinkChartProperties | undefined> | undefined;
|
|
20
|
+
} | undefined) => WebLinkChart;
|
|
19
21
|
declare const useLinkChartView: (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<LinkChartView, never> & {
|
|
25
27
|
reactiveUtils?: typeof __esri.reactiveUtils;
|
|
26
28
|
autoDestroyDisabled: boolean;
|
|
27
29
|
destroy: () => Promise<void>;
|
|
28
30
|
}, options?: {
|
|
29
|
-
editConstructorProperties(props: __esri.LinkChartViewProperties): __esri.LinkChartViewProperties | Promise<__esri.LinkChartViewProperties
|
|
30
|
-
} | undefined) =>
|
|
31
|
+
editConstructorProperties(props: __esri.LinkChartViewProperties | undefined): __esri.LinkChartViewProperties | Promise<__esri.LinkChartViewProperties | undefined> | undefined;
|
|
32
|
+
} | undefined) => LinkChartView;
|
|
31
33
|
export declare class ArcgisLinkChart extends LitElement {
|
|
32
34
|
/** Internal view of the component. */
|
|
33
|
-
readonly view:
|
|
35
|
+
readonly view: LinkChartView;
|
|
34
36
|
/**
|
|
35
37
|
* Collection containing a flat list of all the created LayerViews
|
|
36
38
|
* related to the basemap, operational layers, and group layers in this view.
|
|
37
39
|
*/
|
|
38
|
-
allLayerViews: __esri.Collection<__esri.LayerView>;
|
|
40
|
+
readonly allLayerViews: __esri.Collection<__esri.LayerView>;
|
|
39
41
|
/**
|
|
40
42
|
* If true, the component will not be destroyed automatically when it is
|
|
41
43
|
* disconnected from the document. This is useful when you want to move the
|
|
@@ -48,7 +50,7 @@ export declare class ArcgisLinkChart extends LitElement {
|
|
|
48
50
|
* The background color of the LinkChartView. If the view's link chart changes, the view's `background` is reset to the link chart's background,
|
|
49
51
|
* even if the user set it previously.
|
|
50
52
|
*/
|
|
51
|
-
background: __esri.ColorBackground;
|
|
53
|
+
background: nullish | __esri.ColorBackground;
|
|
52
54
|
/**
|
|
53
55
|
* Specifies a basemap for the link chart. The basemap is only visible when the link
|
|
54
56
|
* chart is set to a geographic layout. See
|
|
@@ -57,7 +59,7 @@ export declare class ArcgisLinkChart extends LitElement {
|
|
|
57
59
|
* geographic context to the LinkChartView and the other operational layers
|
|
58
60
|
* in the link chart.
|
|
59
61
|
*/
|
|
60
|
-
basemap: __esri.Basemap | string;
|
|
62
|
+
basemap: __esri.Basemap | string | null | undefined;
|
|
61
63
|
/** Represents the view for a single basemap after it has been added to the link chart. */
|
|
62
64
|
basemapView: __esri.BasemapView;
|
|
63
65
|
/**
|
|
@@ -81,7 +83,7 @@ export declare class ArcgisLinkChart extends LitElement {
|
|
|
81
83
|
get extent(): __esri.LinkChartView["extent"];
|
|
82
84
|
set extent(newValue: __esri.LinkChartView["extent"]);
|
|
83
85
|
/** A rejected view indicates a fatal error making it unable to display. */
|
|
84
|
-
fatalError: __esri.Error;
|
|
86
|
+
fatalError: nullish | __esri.Error;
|
|
85
87
|
/**
|
|
86
88
|
* Allows for adding graphics directly to the default graphics in the View.
|
|
87
89
|
* Example:
|
|
@@ -100,7 +102,7 @@ export declare class ArcgisLinkChart extends LitElement {
|
|
|
100
102
|
* The highlights property is a collection of HighlightGroup objects that
|
|
101
103
|
* allow you to visually emphasize specific features on the link chart.
|
|
102
104
|
*/
|
|
103
|
-
highlights: __esri.Collection<any>;
|
|
105
|
+
readonly highlights: __esri.Collection<any>;
|
|
104
106
|
/** Indication whether the view is being interacted with (for example when panning or by an interactive tool). */
|
|
105
107
|
get interacting(): boolean;
|
|
106
108
|
/** The ID of a WebLinkChart from an ArcGIS Enterprise portal.
|
|
@@ -119,13 +121,13 @@ export declare class ArcgisLinkChart extends LitElement {
|
|
|
119
121
|
readonly magnifier: __esri.Magnifier;
|
|
120
122
|
/** An instance of a [WebLinkChart](https://developers.arcgis.com/javascript/latest/api-reference/esri-WebLinkChart.html)
|
|
121
123
|
* object to display in the view. */
|
|
122
|
-
map:
|
|
124
|
+
map: WebLinkChart;
|
|
123
125
|
/** Indication whether the view is being navigated (for example when panning). */
|
|
124
126
|
get navigating(): boolean;
|
|
125
127
|
/** Options to configure the navigation behavior of the View. */
|
|
126
128
|
navigation: __esri.Navigation;
|
|
127
129
|
padding: __esri.ViewPadding;
|
|
128
|
-
popup: __esri.Popup;
|
|
130
|
+
popup: nullish | __esri.Popup;
|
|
129
131
|
/** Controls whether the popup opens when users click on the view. */
|
|
130
132
|
popupDisabled: boolean;
|
|
131
133
|
/**
|
|
@@ -173,14 +175,14 @@ export declare class ArcgisLinkChart extends LitElement {
|
|
|
173
175
|
* This property specifies the base colors used by some widgets
|
|
174
176
|
* and components to render graphics and labels.
|
|
175
177
|
*/
|
|
176
|
-
theme: __esri.Theme;
|
|
178
|
+
theme: nullish | __esri.Theme;
|
|
177
179
|
/**
|
|
178
180
|
* The view's time extent. Time-aware layers display their temporal data that falls within
|
|
179
181
|
* the view's time extent. Setting the view's time extent is similar to setting the spatial
|
|
180
182
|
* extent because once the time extent is set, the
|
|
181
183
|
* view updates automatically to conform to the change.
|
|
182
184
|
*/
|
|
183
|
-
timeExtent: __esri.TimeExtent;
|
|
185
|
+
timeExtent: nullish | __esri.TimeExtent;
|
|
184
186
|
/**
|
|
185
187
|
* Defines the time zone of the view.
|
|
186
188
|
* The time zone property determines how dates and times are represented to the user,
|
|
@@ -228,7 +230,7 @@ export declare class ArcgisLinkChart extends LitElement {
|
|
|
228
230
|
*/
|
|
229
231
|
openPopup(options?: __esri.PopupViewOpenPopupOptions): Promise<void>;
|
|
230
232
|
toMap(screenPoint: __esri.MapViewScreenPoint | MouseEvent): __esri.Point;
|
|
231
|
-
toScreen(point: __esri.Point, options?: __esri.ToScreenOptions2D): __esri.MapViewScreenPoint;
|
|
233
|
+
toScreen(point: __esri.Point, options?: __esri.ToScreenOptions2D): __esri.MapViewScreenPoint | nullish;
|
|
232
234
|
/** Call this method to clear any fatal errors resulting from a lost WebGL context. */
|
|
233
235
|
tryFatalErrorRecovery(): Promise<void>;
|
|
234
236
|
/** Gets the LayerView created on the view for the given layer. */
|
|
@@ -1,15 +1,16 @@
|
|
|
1
|
-
import { c
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
5
|
-
import
|
|
1
|
+
import { c } from "../../chunks/runtime.js";
|
|
2
|
+
import { makeAccessorController as h, reEmitEvent as t, accessorSupport as v } from "@arcgis/components-controllers/accessor";
|
|
3
|
+
import { watch as s } from "@arcgis/core/core/reactiveUtils.js";
|
|
4
|
+
import d from "@arcgis/core/views/LinkChartView.js";
|
|
5
|
+
import m from "@arcgis/core/WebLinkChart.js";
|
|
6
|
+
import { LitElement as p, createEvent as a, noShadowRoot as l } from "@arcgis/lumina";
|
|
7
|
+
import { e as r, i as g } from "../../chunks/component-utils.js";
|
|
6
8
|
import { css as y } from "@lit/reactive-element/css-tag.js";
|
|
7
|
-
import { e as a, i as u } from "../../chunks/component-utils.js";
|
|
8
9
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
9
10
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
10
|
-
v4.32.0-next.
|
|
11
|
-
const
|
|
12
|
-
|
|
11
|
+
v4.32.0-next.87 */
|
|
12
|
+
const u = y`.arcgis-link-chart{padding:0;margin:0;height:100%;width:100%}`, f = h(
|
|
13
|
+
m,
|
|
13
14
|
/**
|
|
14
15
|
* Since omitProps is only needed for typing, not runtime, `{} as { ... }` is
|
|
15
16
|
* a hack to remove them from the runtime code. This argument is not used at
|
|
@@ -19,21 +20,21 @@ const f = y`.arcgis-link-chart{padding:0;margin:0;height:100%;width:100%}`, V =
|
|
|
19
20
|
* in an externalized package.
|
|
20
21
|
*/
|
|
21
22
|
{}
|
|
22
|
-
),
|
|
23
|
-
class
|
|
23
|
+
), V = h(d, {});
|
|
24
|
+
class b extends p {
|
|
24
25
|
constructor() {
|
|
25
|
-
super(...arguments), this._map =
|
|
26
|
+
super(...arguments), this._map = f(this, {
|
|
26
27
|
editConstructorProperties: this._editMapProperties
|
|
27
|
-
}), this.
|
|
28
|
+
}), this.view = V(this, { editConstructorProperties: this._editViewProperties }), this.allLayerViews = this.view.allLayerViews, this.autoDestroyDisabled = !1, this.background = this.view.background, this.basemap = this._map.basemap, this.basemapView = this.view.basemapView, this.constraints = this.view.constraints, this.fatalError = this.view.fatalError, this.graphics = this.view.graphics, this.highlights = this.view.highlights, this.layerViews = this.view.layerViews, this.magnifier = this.view.magnifier, this.map = this.view.map, this.navigation = this.view.navigation, this.padding = this.view.padding, this.popup = this.view.popup, this.popupDisabled = this.view.popupEnabled, this.ready = this.view.ready, this.resizeAlign = this.view.resizeAlign, this.resolution = this.view.resolution, this.rotation = this.view.rotation, this.spatialReference = this.view.spatialReference, this.suspended = this.view.suspended, this.theme = this.view.theme, this.timeExtent = this.view.timeExtent, this.timeZone = this.view.timeZone, this.updating = this.view.updating, this.arcgisViewChange = a(), this.arcgisViewClick = t(() => this.view, "click"), this.arcgisViewDoubleClick = t(() => this.view, "double-click"), this.arcgisViewDrag = t(() => this.view, "drag"), this.arcgisViewHold = t(() => this.view, "hold"), this.arcgisViewImmediateClick = t(() => this.view, "immediate-click"), this.arcgisViewImmediateDoubleClick = t(() => this.view, "immediate-double-click"), this.arcgisViewKeyDown = t(() => this.view, "key-down"), this.arcgisViewKeyUp = t(() => this.view, "key-up"), this.arcgisViewLayerviewCreate = t(() => this.view, "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 = a();
|
|
28
29
|
}
|
|
29
30
|
static {
|
|
30
31
|
this.properties = { view: 32, allLayerViews: 0, autoDestroyDisabled: 5, background: 0, basemap: 1, basemapView: 0, center: 1, constraints: 0, extent: 0, fatalError: 0, graphics: 0, highlights: 0, interacting: 32, itemId: 3, layerViews: 0, magnifier: 0, map: 0, navigating: 32, navigation: 0, padding: 0, popup: 0, popupDisabled: 5, ready: 4, resizeAlign: 1, resolution: 8, rotation: 9, scale: 9, spatialReference: 0, stationary: 32, suspended: 7, theme: 0, timeExtent: 0, timeZone: 1, updating: 7, viewpoint: 0, zoom: 9 };
|
|
31
32
|
}
|
|
32
33
|
static {
|
|
33
|
-
this.shadowRootOptions =
|
|
34
|
+
this.shadowRootOptions = l;
|
|
34
35
|
}
|
|
35
36
|
static {
|
|
36
|
-
this.styles =
|
|
37
|
+
this.styles = u;
|
|
37
38
|
}
|
|
38
39
|
/**
|
|
39
40
|
* Represents the view's center point; when setting the center, you may pass a
|
|
@@ -46,7 +47,7 @@ class _ extends m {
|
|
|
46
47
|
return this.view.center ?? this._center;
|
|
47
48
|
}
|
|
48
49
|
set center(i) {
|
|
49
|
-
const e =
|
|
50
|
+
const e = r(i, this.ready ? this.view : void 0);
|
|
50
51
|
e && (this.ready && (this.view.center = e), this._center = e);
|
|
51
52
|
}
|
|
52
53
|
/**
|
|
@@ -105,7 +106,7 @@ class _ extends m {
|
|
|
105
106
|
return this.view.viewpoint ?? this._viewpoint;
|
|
106
107
|
}
|
|
107
108
|
set viewpoint(i) {
|
|
108
|
-
|
|
109
|
+
g(this.viewpoint, i) && (this.ready && (this.view.viewpoint = i), this._viewpoint = i);
|
|
109
110
|
}
|
|
110
111
|
/**
|
|
111
112
|
* Represents the level of detail (LOD) at the center of the view.
|
|
@@ -173,12 +174,11 @@ class _ extends m {
|
|
|
173
174
|
this.el.childElem = document.createElement("div"), this.el.childElem.classList.add("arcgis-link-chart"), this.el.append(this.el.childElem), this.view.container ??= this.el.childElem;
|
|
174
175
|
}
|
|
175
176
|
loaded() {
|
|
176
|
-
const { watch: i } = this.reactiveUtils;
|
|
177
177
|
this.manager.onLifecycle(() => [
|
|
178
|
-
|
|
178
|
+
s(() => this.view.stationary, () => {
|
|
179
179
|
this.arcgisViewChange.emit();
|
|
180
180
|
}, { initial: !0 }),
|
|
181
|
-
|
|
181
|
+
s(() => this.view.ready, () => {
|
|
182
182
|
this.arcgisViewReadyChange.emit();
|
|
183
183
|
}, { initial: this.view.ready })
|
|
184
184
|
]);
|
|
@@ -187,20 +187,20 @@ class _ extends m {
|
|
|
187
187
|
// #region Private Methods
|
|
188
188
|
_editMapProperties(i) {
|
|
189
189
|
this.map && (this._map = this.map), this.itemId ? i.portalItem = { id: this.itemId } : this.basemap ? this.basemap === "none" && (i.basemap = void 0, this.basemap = null) : i.basemap = "topo-vector";
|
|
190
|
-
const { basemap: e, ...
|
|
191
|
-
e || (i =
|
|
192
|
-
const { ground:
|
|
193
|
-
return
|
|
190
|
+
const { basemap: e, ...n } = i;
|
|
191
|
+
e || (i = n);
|
|
192
|
+
const { ground: o, ...w } = i;
|
|
193
|
+
return o || (i = w), i;
|
|
194
194
|
}
|
|
195
195
|
async _editViewProperties(i) {
|
|
196
196
|
await this.manager.use(this._map), this.view.ui || (i.ui = {
|
|
197
197
|
components: ["attribution"]
|
|
198
198
|
}), i.map ??= this._map;
|
|
199
|
-
const e =
|
|
199
|
+
const e = r(this.center, void 0);
|
|
200
200
|
return e && (i.center = e), this.viewpoint && (i.viewpoint = this.viewpoint), this.scale !== void 0 && (i.scale = this.scale), this.extent && (i.extent = this.extent), this.zoom !== void 0 && (i.zoom = this.zoom), i;
|
|
201
201
|
}
|
|
202
202
|
}
|
|
203
|
-
|
|
203
|
+
c("arcgis-link-chart", b);
|
|
204
204
|
export {
|
|
205
|
-
|
|
205
|
+
b as ArcgisLinkChart
|
|
206
206
|
};
|