@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,44 +1,115 @@
|
|
|
1
1
|
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
2
2
|
/// <reference types="../../index.d.ts" />
|
|
3
|
-
import {
|
|
4
|
-
import { ArcgisReferenceElement, WidgetElement } from '../../utils/component-utils';
|
|
3
|
+
import { Use } from '@arcgis/components-controllers';
|
|
5
4
|
import { Nil } from '@arcgis/components-utils';
|
|
5
|
+
import { default as UtilityNetworkAssociations } from '@arcgis/core/widgets/UtilityNetworkAssociations.js';
|
|
6
|
+
import { ToElement, PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
6
7
|
import { PropertyValues } from 'lit';
|
|
7
|
-
import {
|
|
8
|
+
import { ArcgisReferenceElement } from '../../utils/component-utils';
|
|
8
9
|
|
|
9
10
|
export type UtilityNetworkAssociationsWidget = InstanceType<typeof UtilityNetworkAssociations>;
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
11
|
+
declare const useUtilityNetworkAssociationsWidget: (component: import('@arcgis/components-controllers').StencilLifecycles & {
|
|
12
|
+
manager: import('@arcgis/components-controllers').ControllerManager;
|
|
13
|
+
el: HTMLElement;
|
|
14
|
+
autoDestroyDisabled?: boolean;
|
|
15
|
+
destroy?: () => Promise<void>;
|
|
16
|
+
} & Pick<UtilityNetworkAssociations, never> & {
|
|
17
|
+
reactiveUtils?: typeof __esri.reactiveUtils;
|
|
18
|
+
state?: unknown;
|
|
19
|
+
viewModel?: __esri.UtilityNetworkAssociationsUtilityNetworkAssociationsViewModel | undefined;
|
|
20
|
+
icon: Nil | string;
|
|
21
|
+
label: Nil | string;
|
|
22
|
+
referenceElement: ArcgisReferenceElement | Nil | string;
|
|
23
|
+
position: __esri.UIPosition;
|
|
24
|
+
arcgisReady: import('@arcgis/components-controllers').EventEmitter;
|
|
25
|
+
arcgisPropertyChange: import('@arcgis/components-controllers').EventEmitter<{
|
|
26
|
+
name: string;
|
|
27
|
+
}> | undefined;
|
|
28
|
+
el: HTMLElement & {
|
|
29
|
+
childElem?: HTMLElement & {
|
|
30
|
+
ownedBy?: HTMLElement;
|
|
31
|
+
};
|
|
32
|
+
view?: __esri.MapView | __esri.SceneView | Nil;
|
|
33
|
+
};
|
|
34
|
+
autoDestroyDisabled: boolean;
|
|
35
|
+
destroy: () => Promise<void>;
|
|
36
|
+
}, options?: {
|
|
37
|
+
editConstructorProperties(props: __esri.UtilityNetworkAssociationsProperties | undefined): __esri.UtilityNetworkAssociationsProperties | Promise<__esri.UtilityNetworkAssociationsProperties | undefined> | undefined;
|
|
38
|
+
} | undefined) => UtilityNetworkAssociations;
|
|
39
|
+
/**
|
|
40
|
+
* The [UtilityNetworkAssociations](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-UtilityNetworkAssociations.html) component offers an intuitive user interface, reducing the complexity of working with utility network associations.
|
|
41
|
+
*
|
|
42
|
+
* > The UtilityNetworkAssociations Component does not support proxied feature services or feature services that utilize stored credentials.
|
|
43
|
+
*
|
|
44
|
+
* Note: Sign in to access the data in this sample, U/P: `viewer01`/`I68VGU^nMurF`
|
|
15
45
|
*/
|
|
16
46
|
export declare class ArcgisUtilityNetworkAssociations extends LitElement {
|
|
47
|
+
/**
|
|
48
|
+
* If true, the component will not be destroyed automatically when it is
|
|
49
|
+
* disconnected from the document. This is useful when you want to move the
|
|
50
|
+
* component to a different place on the page, or temporarily hide it. If this
|
|
51
|
+
* is set, make sure to call the \`destroy\` method when you are done to prevent
|
|
52
|
+
* memory leaks.
|
|
53
|
+
*/
|
|
54
|
+
autoDestroyDisabled: boolean;
|
|
17
55
|
autoRefreshAssociationsDisabled: boolean;
|
|
18
|
-
connectivityAssociationsLineSymbol
|
|
56
|
+
connectivityAssociationsLineSymbol: __esri.SimpleLineSymbol;
|
|
19
57
|
includeConnectivityAssociationsDisabled: boolean;
|
|
20
58
|
includeStructuralAttachmentAssociationsDisabled: boolean;
|
|
21
59
|
maxAllowableAssociations: number;
|
|
22
|
-
maxAllowableAssociationsSliderMax
|
|
23
|
-
maxAllowableAssociationsSliderMin
|
|
24
|
-
maxAllowableAssociationsSliderStep
|
|
60
|
+
maxAllowableAssociationsSliderMax: number;
|
|
61
|
+
maxAllowableAssociationsSliderMin: number;
|
|
62
|
+
maxAllowableAssociationsSliderStep: number;
|
|
25
63
|
position: __esri.UIPosition;
|
|
26
64
|
referenceElement: ArcgisReferenceElement | Nil | string;
|
|
27
65
|
showArrowsConnectivity: boolean;
|
|
28
66
|
showArrowsStructuralAttachment: boolean;
|
|
29
67
|
showAssociationsEnabled: boolean;
|
|
30
|
-
structuralAttachmentAssociationsLineSymbol
|
|
31
|
-
utilityNetwork:
|
|
68
|
+
structuralAttachmentAssociationsLineSymbol: __esri.SimpleLineSymbol;
|
|
69
|
+
utilityNetwork: nullish | __esri.UtilityNetwork;
|
|
70
|
+
showConnectivityAssociationsSettingsArrowsToggle: boolean;
|
|
71
|
+
/** @deprecated Use hideConnectivityAssociationsSettingsArrowsToggle instead */
|
|
32
72
|
visibleElementsConnectivityAssociationsSettingsArrowsToggle: boolean;
|
|
73
|
+
showConnectivityAssociationsSettingsCapSelect: boolean;
|
|
74
|
+
/** @deprecated Use hideConnectivityAssociationsSettingsCapSelect instead */
|
|
33
75
|
visibleElementsConnectivityAssociationsSettingsCapSelect: boolean;
|
|
76
|
+
hideConnectivityAssociationsSettingsColorPicker: boolean;
|
|
77
|
+
/** @deprecated Use hideConnectivityAssociationsSettingsColorPicker instead */
|
|
34
78
|
visibleElementsConnectivityAssociationsSettingsColorPicker: boolean;
|
|
79
|
+
hideConnectivityAssociationsSettingsStylePicker: boolean;
|
|
80
|
+
/** @deprecated Use hideConnectivityAssociationsSettingsStylePicker instead */
|
|
35
81
|
visibleElementsConnectivityAssociationsSettingsStylePicker: boolean;
|
|
82
|
+
hideConnectivityAssociationsSettingsWidthInput: boolean;
|
|
83
|
+
/** @deprecated Use hideConnectivityAssociationsSettingsWidthInput instead */
|
|
36
84
|
visibleElementsConnectivityAssociationsSettingsWidthInput: boolean;
|
|
85
|
+
showMaxAllowableAssociationsSlider: boolean;
|
|
86
|
+
/** @deprecated Use hideMaxAllowableAssociationsSlider instead */
|
|
37
87
|
visibleElementsMaxAllowableAssociationsSlider: boolean;
|
|
88
|
+
showStructuralAttachmentAssociationsSettingsArrowsToggle: boolean;
|
|
89
|
+
/** @deprecated Use hideStructuralAttachmentAssociationsSettingsArrowsToggle instead */
|
|
38
90
|
visibleElementsStructuralAttachmentAssociationsSettingsArrowsToggle: boolean;
|
|
91
|
+
showStructuralAttachmentAssociationsSettingsCapSelect: boolean;
|
|
92
|
+
/** @deprecated Use hideStructuralAttachmentAssociationsSettingsCapSelect instead */
|
|
39
93
|
visibleElementsStructuralAttachmentAssociationsSettingsCapSelect: boolean;
|
|
94
|
+
hideStructuralAttachmentAssociationsSettingsColorPicker: boolean;
|
|
95
|
+
/** @deprecated Use hideStructuralAttachmentAssociationsSettingsColorPicker instead */
|
|
40
96
|
visibleElementsStructuralAttachmentAssociationsSettingsColorPicker: boolean;
|
|
97
|
+
hideStructuralAttachmentAssociationsSettingsStylePicker: boolean;
|
|
98
|
+
/** @deprecated Use hideStructuralAttachmentAssociationsSettingsStylePicker instead */
|
|
41
99
|
visibleElementsStructuralAttachmentAssociationsSettingsStylePicker: boolean;
|
|
100
|
+
hideStructuralAttachmentAssociationsSettingsWidthInput: boolean;
|
|
101
|
+
/** @deprecated Use hideStructuralAttachmentAssociationsSettingsWidthInput instead */
|
|
42
102
|
visibleElementsStructuralAttachmentAssociationsSettingsWidthInput: boolean;
|
|
103
|
+
/**
|
|
104
|
+
* Icon which represents the component.
|
|
105
|
+
* Typically used when the component is controlled by another component (e.g. by the Expand component).
|
|
106
|
+
* Search [Calcite Icons](https://developers.arcgis.com/calcite-design-system/icons/) for possible values.
|
|
107
|
+
*/
|
|
108
|
+
icon: string;
|
|
109
|
+
/** The component's default label. */
|
|
110
|
+
label: string;
|
|
111
|
+
/** Permanently destroy the component */
|
|
112
|
+
destroy(): Promise<void>;
|
|
43
113
|
readonly arcgisReady: TargetedEvent<this, undefined>;
|
|
44
114
|
}
|
|
115
|
+
export {};
|
|
@@ -1,224 +1,47 @@
|
|
|
1
|
-
import { c as
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { o as c } from "../../chunks/disconnected.js";
|
|
6
|
-
import { html as r } from "lit";
|
|
7
|
-
import { LitElement as h, createEvent as A, noShadowRoot as m } from "@arcgis/lumina";
|
|
1
|
+
import { c as l } from "../../chunks/runtime.js";
|
|
2
|
+
import a from "@arcgis/core/widgets/UtilityNetworkAssociations.js";
|
|
3
|
+
import { LitElement as c, createEvent as r, noShadowRoot as h } from "@arcgis/lumina";
|
|
4
|
+
import { m as A } from "../../chunks/useWidget.js";
|
|
8
5
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
9
6
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
10
|
-
v4.32.0-next.
|
|
11
|
-
|
|
7
|
+
v4.32.0-next.87 */
|
|
8
|
+
const S = A(a);
|
|
9
|
+
class g extends c {
|
|
12
10
|
constructor() {
|
|
13
|
-
super(...arguments), this.
|
|
11
|
+
super(...arguments), this.widget = S(this), this.viewModel = this.widget.viewModel, this.autoDestroyDisabled = !1, this.autoRefreshAssociationsDisabled = this.widget.autoRefreshAssociations, this.connectivityAssociationsLineSymbol = this.widget.connectivityAssociationsLineSymbol, this.includeConnectivityAssociationsDisabled = this.widget.includeConnectivityAssociations, this.includeStructuralAttachmentAssociationsDisabled = this.widget.includeStructuralAttachmentAssociations, this.maxAllowableAssociations = this.widget.maxAllowableAssociations, this.maxAllowableAssociationsSliderMax = this.widget.maxAllowableAssociationsSliderMax, this.maxAllowableAssociationsSliderMin = this.widget.maxAllowableAssociationsSliderMin, this.maxAllowableAssociationsSliderStep = this.widget.maxAllowableAssociationsSliderStep, this.position = "bottom-left", this.showArrowsConnectivity = this.widget.showArrowsConnectivity, this.showArrowsStructuralAttachment = this.widget.showArrowsStructuralAttachment, this.showAssociationsEnabled = this.widget.showAssociationsEnabled, this.structuralAttachmentAssociationsLineSymbol = this.widget.structuralAttachmentAssociationsLineSymbol, this.utilityNetwork = this.widget.utilityNetwork, this.showConnectivityAssociationsSettingsArrowsToggle = this.widget.visibleElements.connectivityAssociationsSettings.arrowsToggle, this.visibleElementsConnectivityAssociationsSettingsArrowsToggle = !1, this.showConnectivityAssociationsSettingsCapSelect = this.widget.visibleElements.connectivityAssociationsSettings.capSelect, this.visibleElementsConnectivityAssociationsSettingsCapSelect = !1, this.hideConnectivityAssociationsSettingsColorPicker = this.widget.visibleElements.connectivityAssociationsSettings.colorPicker, this.visibleElementsConnectivityAssociationsSettingsColorPicker = !0, this.hideConnectivityAssociationsSettingsStylePicker = this.widget.visibleElements.connectivityAssociationsSettings.stylePicker, this.visibleElementsConnectivityAssociationsSettingsStylePicker = !0, this.hideConnectivityAssociationsSettingsWidthInput = this.widget.visibleElements.connectivityAssociationsSettings.widthInput, this.visibleElementsConnectivityAssociationsSettingsWidthInput = !0, this.showMaxAllowableAssociationsSlider = this.widget.visibleElements.maxAllowableAssociationsSlider, this.visibleElementsMaxAllowableAssociationsSlider = !1, this.showStructuralAttachmentAssociationsSettingsArrowsToggle = this.widget.visibleElements.structuralAttachmentAssociationsSettings.arrowsToggle, this.visibleElementsStructuralAttachmentAssociationsSettingsArrowsToggle = !1, this.showStructuralAttachmentAssociationsSettingsCapSelect = this.widget.visibleElements.structuralAttachmentAssociationsSettings.capSelect, this.visibleElementsStructuralAttachmentAssociationsSettingsCapSelect = !1, this.hideStructuralAttachmentAssociationsSettingsColorPicker = this.widget.visibleElements.structuralAttachmentAssociationsSettings.colorPicker, this.visibleElementsStructuralAttachmentAssociationsSettingsColorPicker = !0, this.hideStructuralAttachmentAssociationsSettingsStylePicker = this.widget.visibleElements.structuralAttachmentAssociationsSettings.stylePicker, this.visibleElementsStructuralAttachmentAssociationsSettingsStylePicker = !0, this.hideStructuralAttachmentAssociationsSettingsWidthInput = this.widget.visibleElements.structuralAttachmentAssociationsSettings.widthInput, this.visibleElementsStructuralAttachmentAssociationsSettingsWidthInput = !0, this.icon = this.widget.icon, this.label = this.widget.label, this.arcgisReady = r();
|
|
14
12
|
}
|
|
15
13
|
static {
|
|
16
|
-
this.properties = { autoRefreshAssociationsDisabled: 5, connectivityAssociationsLineSymbol: 0, includeConnectivityAssociationsDisabled: 5, includeStructuralAttachmentAssociationsDisabled: 5, maxAllowableAssociations: 9, maxAllowableAssociationsSliderMax: 9, maxAllowableAssociationsSliderMin: 9, maxAllowableAssociationsSliderStep: 9, position: 1, referenceElement: 1, showArrowsConnectivity: 5, showArrowsStructuralAttachment: 5, showAssociationsEnabled: 5, structuralAttachmentAssociationsLineSymbol: 0, utilityNetwork: 0,
|
|
14
|
+
this.properties = { autoDestroyDisabled: 5, autoRefreshAssociationsDisabled: 5, connectivityAssociationsLineSymbol: 0, includeConnectivityAssociationsDisabled: 5, includeStructuralAttachmentAssociationsDisabled: 5, maxAllowableAssociations: 9, maxAllowableAssociationsSliderMax: 9, maxAllowableAssociationsSliderMin: 9, maxAllowableAssociationsSliderStep: 9, position: 1, referenceElement: 1, showArrowsConnectivity: 5, showArrowsStructuralAttachment: 5, showAssociationsEnabled: 5, structuralAttachmentAssociationsLineSymbol: 0, utilityNetwork: 0, showConnectivityAssociationsSettingsArrowsToggle: 5, visibleElementsConnectivityAssociationsSettingsArrowsToggle: 5, showConnectivityAssociationsSettingsCapSelect: 5, visibleElementsConnectivityAssociationsSettingsCapSelect: 5, hideConnectivityAssociationsSettingsColorPicker: 5, visibleElementsConnectivityAssociationsSettingsColorPicker: 5, hideConnectivityAssociationsSettingsStylePicker: 5, visibleElementsConnectivityAssociationsSettingsStylePicker: 5, hideConnectivityAssociationsSettingsWidthInput: 5, visibleElementsConnectivityAssociationsSettingsWidthInput: 5, showMaxAllowableAssociationsSlider: 5, visibleElementsMaxAllowableAssociationsSlider: 5, showStructuralAttachmentAssociationsSettingsArrowsToggle: 5, visibleElementsStructuralAttachmentAssociationsSettingsArrowsToggle: 5, showStructuralAttachmentAssociationsSettingsCapSelect: 5, visibleElementsStructuralAttachmentAssociationsSettingsCapSelect: 5, hideStructuralAttachmentAssociationsSettingsColorPicker: 5, visibleElementsStructuralAttachmentAssociationsSettingsColorPicker: 5, hideStructuralAttachmentAssociationsSettingsStylePicker: 5, visibleElementsStructuralAttachmentAssociationsSettingsStylePicker: 5, hideStructuralAttachmentAssociationsSettingsWidthInput: 5, visibleElementsStructuralAttachmentAssociationsSettingsWidthInput: 5, icon: 1, label: 1 };
|
|
17
15
|
}
|
|
18
16
|
static {
|
|
19
|
-
this.shadowRootOptions =
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
const i = this.includeConnectivityAssociationsDisabled;
|
|
35
|
-
i !== void 0 && (this.widget.includeConnectivityAssociations = !i);
|
|
36
|
-
}
|
|
37
|
-
if (t.has("includeStructuralAttachmentAssociationsDisabled")) {
|
|
38
|
-
const i = this.includeStructuralAttachmentAssociationsDisabled;
|
|
39
|
-
i !== void 0 && (this.widget.includeStructuralAttachmentAssociations = !i);
|
|
40
|
-
}
|
|
41
|
-
if (t.has("maxAllowableAssociations")) {
|
|
42
|
-
const i = this.maxAllowableAssociations;
|
|
43
|
-
i !== void 0 && (this.widget.maxAllowableAssociations = i);
|
|
44
|
-
}
|
|
45
|
-
if (t.has("maxAllowableAssociationsSliderMax")) {
|
|
46
|
-
const i = this.maxAllowableAssociationsSliderMax;
|
|
47
|
-
i !== void 0 && (this.widget.maxAllowableAssociationsSliderMax = i);
|
|
48
|
-
}
|
|
49
|
-
if (t.has("maxAllowableAssociationsSliderMin")) {
|
|
50
|
-
const i = this.maxAllowableAssociationsSliderMin;
|
|
51
|
-
i !== void 0 && (this.widget.maxAllowableAssociationsSliderMin = i);
|
|
52
|
-
}
|
|
53
|
-
if (t.has("maxAllowableAssociationsSliderStep")) {
|
|
54
|
-
const i = this.maxAllowableAssociationsSliderStep;
|
|
55
|
-
i !== void 0 && (this.widget.maxAllowableAssociationsSliderStep = i);
|
|
56
|
-
}
|
|
57
|
-
if (t.has("showArrowsConnectivity")) {
|
|
58
|
-
const i = this.showArrowsConnectivity;
|
|
59
|
-
i !== void 0 && (this.widget.showArrowsConnectivity = i);
|
|
60
|
-
}
|
|
61
|
-
if (t.has("showArrowsStructuralAttachment")) {
|
|
62
|
-
const i = this.showArrowsStructuralAttachment;
|
|
63
|
-
i !== void 0 && (this.widget.showArrowsStructuralAttachment = i);
|
|
64
|
-
}
|
|
65
|
-
if (t.has("showAssociationsEnabled")) {
|
|
66
|
-
const i = this.showAssociationsEnabled;
|
|
67
|
-
i !== void 0 && (this.widget.showAssociationsEnabled = i);
|
|
68
|
-
}
|
|
69
|
-
if (t.has("structuralAttachmentAssociationsLineSymbol")) {
|
|
70
|
-
const i = this.structuralAttachmentAssociationsLineSymbol;
|
|
71
|
-
i !== void 0 && (this.widget.structuralAttachmentAssociationsLineSymbol = i);
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
if (t.has("utilityNetwork")) {
|
|
75
|
-
const i = this.utilityNetwork;
|
|
76
|
-
i !== void 0 && (this.widget.utilityNetwork = i);
|
|
77
|
-
}
|
|
78
|
-
t.has("visibleElementsConnectivityAssociationsSettingsArrowsToggle") && this.visibleElementsConnectivityAssociationsSettingsArrowsToggleWatcher(this.visibleElementsConnectivityAssociationsSettingsArrowsToggle), t.has("visibleElementsConnectivityAssociationsSettingsCapSelect") && this.visibleElementsConnectivityAssociationsSettingsCapSelectWatcher(this.visibleElementsConnectivityAssociationsSettingsCapSelect), t.has("visibleElementsConnectivityAssociationsSettingsColorPicker") && this.visibleElementsConnectivityAssociationsSettingsColorPickerWatcher(this.visibleElementsConnectivityAssociationsSettingsColorPicker), t.has("visibleElementsConnectivityAssociationsSettingsStylePicker") && this.visibleElementsConnectivityAssociationsSettingsStylePickerWatcher(this.visibleElementsConnectivityAssociationsSettingsStylePicker), t.has("visibleElementsConnectivityAssociationsSettingsWidthInput") && this.visibleElementsConnectivityAssociationsSettingsWidthInputWatcher(this.visibleElementsConnectivityAssociationsSettingsWidthInput), t.has("visibleElementsMaxAllowableAssociationsSlider") && this.visibleElementsMaxAllowableAssociationsSliderWatcher(this.visibleElementsMaxAllowableAssociationsSlider), t.has("visibleElementsStructuralAttachmentAssociationsSettingsArrowsToggle") && this.visibleElementsStructuralAttachmentAssociationsSettingsArrowsToggleWatcher(this.visibleElementsStructuralAttachmentAssociationsSettingsArrowsToggle), t.has("visibleElementsStructuralAttachmentAssociationsSettingsCapSelect") && this.visibleElementsStructuralAttachmentAssociationsSettingsCapSelectWatcher(this.visibleElementsStructuralAttachmentAssociationsSettingsCapSelect), t.has("visibleElementsStructuralAttachmentAssociationsSettingsStylePicker") && this.visibleElementsStructuralAttachmentAssociationsSettingsStylePickerWatcher(this.visibleElementsStructuralAttachmentAssociationsSettingsStylePicker), t.has("visibleElementsStructuralAttachmentAssociationsSettingsWidthInput") && this.visibleElementsStructuralAttachmentAssociationsSettingsWidthInputWatcher(this.visibleElementsStructuralAttachmentAssociationsSettingsWidthInput), t.has("position") && this.positionWatcher(this.position), t.has("view") && this.viewWatcher(this.view);
|
|
79
|
-
}
|
|
80
|
-
async loaded() {
|
|
81
|
-
const t = this._createParams(), i = await o(t);
|
|
82
|
-
this.widget = i, this._addContainer(), l(this), a(this);
|
|
83
|
-
}
|
|
84
|
-
disconnectedCallback() {
|
|
85
|
-
super.disconnectedCallback(), c(this);
|
|
86
|
-
}
|
|
87
|
-
// #endregion
|
|
88
|
-
// #region Private Methods
|
|
89
|
-
visibleElementsConnectivityAssociationsSettingsArrowsToggleWatcher(t) {
|
|
90
|
-
this.widget && (this.widget.visibleElements = {
|
|
91
|
-
...this.widget.visibleElements,
|
|
92
|
-
connectivityAssociationsSettings: {
|
|
93
|
-
...this.widget.visibleElements.connectivityAssociationsSettings,
|
|
94
|
-
arrowsToggle: t
|
|
95
|
-
}
|
|
96
|
-
});
|
|
97
|
-
}
|
|
98
|
-
visibleElementsConnectivityAssociationsSettingsCapSelectWatcher(t) {
|
|
99
|
-
this.widget && (this.widget.visibleElements = {
|
|
100
|
-
...this.widget.visibleElements,
|
|
101
|
-
connectivityAssociationsSettings: {
|
|
102
|
-
...this.widget.visibleElements.connectivityAssociationsSettings,
|
|
103
|
-
capSelect: t
|
|
104
|
-
}
|
|
105
|
-
});
|
|
106
|
-
}
|
|
107
|
-
visibleElementsConnectivityAssociationsSettingsColorPickerWatcher(t) {
|
|
108
|
-
this.widget && (this.widget.visibleElements = {
|
|
109
|
-
...this.widget.visibleElements,
|
|
110
|
-
connectivityAssociationsSettings: {
|
|
111
|
-
...this.widget.visibleElements.connectivityAssociationsSettings,
|
|
112
|
-
colorPicker: t
|
|
113
|
-
}
|
|
114
|
-
});
|
|
115
|
-
}
|
|
116
|
-
visibleElementsConnectivityAssociationsSettingsStylePickerWatcher(t) {
|
|
117
|
-
this.widget && (this.widget.visibleElements = {
|
|
118
|
-
...this.widget.visibleElements,
|
|
119
|
-
connectivityAssociationsSettings: {
|
|
120
|
-
...this.widget.visibleElements.connectivityAssociationsSettings,
|
|
121
|
-
stylePicker: t
|
|
122
|
-
}
|
|
123
|
-
});
|
|
124
|
-
}
|
|
125
|
-
visibleElementsConnectivityAssociationsSettingsWidthInputWatcher(t) {
|
|
126
|
-
this.widget && (this.widget.visibleElements = {
|
|
127
|
-
...this.widget.visibleElements,
|
|
128
|
-
connectivityAssociationsSettings: {
|
|
129
|
-
...this.widget.visibleElements.connectivityAssociationsSettings,
|
|
130
|
-
widthInput: t
|
|
131
|
-
}
|
|
132
|
-
});
|
|
133
|
-
}
|
|
134
|
-
visibleElementsMaxAllowableAssociationsSliderWatcher(t) {
|
|
135
|
-
this.widget && (this.widget.visibleElements = {
|
|
136
|
-
...this.widget.visibleElements,
|
|
137
|
-
maxAllowableAssociationsSlider: t
|
|
138
|
-
});
|
|
139
|
-
}
|
|
140
|
-
visibleElementsStructuralAttachmentAssociationsSettingsArrowsToggleWatcher(t) {
|
|
141
|
-
this.widget && (this.widget.visibleElements = {
|
|
142
|
-
...this.widget.visibleElements,
|
|
143
|
-
structuralAttachmentAssociationsSettings: {
|
|
144
|
-
...this.widget.visibleElements.structuralAttachmentAssociationsSettings,
|
|
145
|
-
arrowsToggle: t
|
|
146
|
-
}
|
|
147
|
-
});
|
|
148
|
-
}
|
|
149
|
-
visibleElementsStructuralAttachmentAssociationsSettingsCapSelectWatcher(t) {
|
|
150
|
-
this.widget && (this.widget.visibleElements = {
|
|
151
|
-
...this.widget.visibleElements,
|
|
152
|
-
structuralAttachmentAssociationsSettings: {
|
|
153
|
-
...this.widget.visibleElements.structuralAttachmentAssociationsSettings,
|
|
154
|
-
capSelect: t
|
|
155
|
-
}
|
|
156
|
-
});
|
|
157
|
-
}
|
|
158
|
-
visibleElementsStructuralAttachmentAssociationsSettingsStylePickerWatcher(t) {
|
|
159
|
-
this.widget && (this.widget.visibleElements = {
|
|
160
|
-
...this.widget.visibleElements,
|
|
161
|
-
structuralAttachmentAssociationsSettings: {
|
|
162
|
-
...this.widget.visibleElements.structuralAttachmentAssociationsSettings,
|
|
163
|
-
stylePicker: t
|
|
164
|
-
}
|
|
165
|
-
});
|
|
166
|
-
}
|
|
167
|
-
visibleElementsStructuralAttachmentAssociationsSettingsWidthInputWatcher(t) {
|
|
168
|
-
this.widget && (this.widget.visibleElements = {
|
|
169
|
-
...this.widget.visibleElements,
|
|
170
|
-
structuralAttachmentAssociationsSettings: {
|
|
171
|
-
...this.widget.visibleElements.structuralAttachmentAssociationsSettings,
|
|
172
|
-
widthInput: t
|
|
173
|
-
}
|
|
174
|
-
});
|
|
175
|
-
}
|
|
176
|
-
positionWatcher(t) {
|
|
177
|
-
t !== void 0 && this.widget && this.el.childElem && this.view.ui.move(this.el.childElem, t);
|
|
178
|
-
}
|
|
179
|
-
viewWatcher(t) {
|
|
180
|
-
t !== void 0 && this.widget && (this.widget.view = t, this._loadUtilityNetwork());
|
|
181
|
-
}
|
|
182
|
-
_addContainer() {
|
|
183
|
-
this.widget.container = this.el.childElem;
|
|
184
|
-
}
|
|
185
|
-
_createParams() {
|
|
186
|
-
const t = {};
|
|
187
|
-
return t.visibleElements = {
|
|
188
|
-
connectivityAssociationsSettings: {
|
|
189
|
-
arrowsToggle: this.visibleElementsConnectivityAssociationsSettingsArrowsToggle,
|
|
190
|
-
capSelect: this.visibleElementsConnectivityAssociationsSettingsCapSelect,
|
|
191
|
-
colorPicker: this.visibleElementsConnectivityAssociationsSettingsColorPicker,
|
|
192
|
-
stylePicker: this.visibleElementsConnectivityAssociationsSettingsStylePicker,
|
|
193
|
-
widthInput: this.visibleElementsConnectivityAssociationsSettingsWidthInput
|
|
194
|
-
},
|
|
195
|
-
maxAllowableAssociationsSlider: this.visibleElementsMaxAllowableAssociationsSlider,
|
|
196
|
-
structuralAttachmentAssociationsSettings: {
|
|
197
|
-
arrowsToggle: this.visibleElementsStructuralAttachmentAssociationsSettingsArrowsToggle,
|
|
198
|
-
capSelect: this.visibleElementsStructuralAttachmentAssociationsSettingsCapSelect,
|
|
199
|
-
colorPicker: this.visibleElementsStructuralAttachmentAssociationsSettingsColorPicker,
|
|
200
|
-
stylePicker: this.visibleElementsStructuralAttachmentAssociationsSettingsStylePicker,
|
|
201
|
-
widthInput: this.visibleElementsStructuralAttachmentAssociationsSettingsWidthInput
|
|
202
|
-
}
|
|
203
|
-
}, this.autoRefreshAssociationsDisabled !== void 0 && (t.autoRefreshAssociations = !this.autoRefreshAssociationsDisabled), this.connectivityAssociationsLineSymbol !== void 0 && (t.connectivityAssociationsLineSymbol = this.connectivityAssociationsLineSymbol), this.includeConnectivityAssociationsDisabled !== void 0 && (t.includeConnectivityAssociations = !this.includeConnectivityAssociationsDisabled), this.includeStructuralAttachmentAssociationsDisabled !== void 0 && (t.includeStructuralAttachmentAssociations = !this.includeStructuralAttachmentAssociationsDisabled), this.maxAllowableAssociations !== void 0 && (t.maxAllowableAssociations = this.maxAllowableAssociations), this.maxAllowableAssociationsSliderMax !== void 0 && (t.maxAllowableAssociationsSliderMax = this.maxAllowableAssociationsSliderMax), this.maxAllowableAssociationsSliderMin !== void 0 && (t.maxAllowableAssociationsSliderMin = this.maxAllowableAssociationsSliderMin), this.maxAllowableAssociationsSliderStep !== void 0 && (t.maxAllowableAssociationsSliderStep = this.maxAllowableAssociationsSliderStep), this.showArrowsConnectivity !== void 0 && (t.showArrowsConnectivity = this.showArrowsConnectivity), this.showArrowsStructuralAttachment !== void 0 && (t.showArrowsStructuralAttachment = this.showArrowsStructuralAttachment), this.showAssociationsEnabled !== void 0 && (t.showAssociationsEnabled = this.showAssociationsEnabled), this.structuralAttachmentAssociationsLineSymbol !== void 0 && (t.structuralAttachmentAssociationsLineSymbol = this.structuralAttachmentAssociationsLineSymbol), this.utilityNetwork !== void 0 && (t.utilityNetwork = this.utilityNetwork), t;
|
|
204
|
-
}
|
|
205
|
-
async _loadUtilityNetwork() {
|
|
206
|
-
if (this.view?.map && this.view.map.portalItem) {
|
|
207
|
-
await this.view.map.load();
|
|
208
|
-
const t = this.view.map.utilityNetworks.getItemAt(0);
|
|
209
|
-
await t.load(), this.utilityNetwork = t;
|
|
17
|
+
this.shadowRootOptions = h;
|
|
18
|
+
}
|
|
19
|
+
//#endregion
|
|
20
|
+
//#region Public Methods
|
|
21
|
+
/** Permanently destroy the component */
|
|
22
|
+
async destroy() {
|
|
23
|
+
await this.manager.destroy();
|
|
24
|
+
}
|
|
25
|
+
//#endregion
|
|
26
|
+
//#region Lifecycle
|
|
27
|
+
async load() {
|
|
28
|
+
if (this.el.view?.map && this.el.view.map.portalItem) {
|
|
29
|
+
await this.el.view.map.load();
|
|
30
|
+
const t = this.el.view.map.utilityNetworks?.getItemAt(0);
|
|
31
|
+
await t?.load(), this.utilityNetwork = t;
|
|
210
32
|
}
|
|
211
33
|
}
|
|
212
|
-
|
|
213
|
-
this.
|
|
34
|
+
willUpdate(t) {
|
|
35
|
+
this._handleVisibilityChange(t, "ConnectivityAssociationsSettingsArrowsToggle"), this._handleVisibilityChange(t, "ConnectivityAssociationsSettingsCapSelect"), this._handleVisibilityChange(t, "ConnectivityAssociationsSettingsColorPicker"), this._handleVisibilityChange(t, "ConnectivityAssociationsSettingsStylePicker"), this._handleVisibilityChange(t, "ConnectivityAssociationsSettingsWidthInput"), this._handleVisibilityChange(t, "MaxAllowableAssociationsSlider"), this._handleVisibilityChange(t, "StructuralAttachmentAssociationsSettingsArrowsToggle"), this._handleVisibilityChange(t, "StructuralAttachmentAssociationsSettingsCapSelect"), this._handleVisibilityChange(t, "StructuralAttachmentAssociationsSettingsStylePicker"), this._handleVisibilityChange(t, "StructuralAttachmentAssociationsSettingsWidthInput");
|
|
214
36
|
}
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
37
|
+
//#endregion
|
|
38
|
+
//#region Private Methods
|
|
39
|
+
_handleVisibilityChange(t, n) {
|
|
40
|
+
const s = `show${n}`, o = `hide${n}`, e = `visibleElements${n}`, i = this;
|
|
41
|
+
t.has(s) ? i[e] = !!i[s] : t.has(o) ? i[e] = !i[o] : t.has(e) && (console.warn(`${this.el.tagName.toLowerCase()}: The property ${e} is deprecated. Use ${s in i ? s : o} instead.`), s in i ? i[s] = !!i[e] : o in i && (i[o] = !i[e]));
|
|
219
42
|
}
|
|
220
43
|
}
|
|
221
|
-
|
|
44
|
+
l("arcgis-utility-network-associations", g);
|
|
222
45
|
export {
|
|
223
|
-
|
|
46
|
+
g as ArcgisUtilityNetworkAssociations
|
|
224
47
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
2
2
|
/// <reference types="../../index.d.ts" />
|
|
3
|
-
import { default as UtilityNetworkTrace } from '@arcgis/core/widgets/UtilityNetworkTrace';
|
|
3
|
+
import { default as UtilityNetworkTrace } from '@arcgis/core/widgets/UtilityNetworkTrace.js';
|
|
4
4
|
import { ArcgisReferenceElement, WidgetElement } from '../../utils/component-utils';
|
|
5
5
|
import { Nil } from '@arcgis/components-utils';
|
|
6
6
|
import { PropertyValues } from 'lit';
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import { c as s } from "../../chunks/runtime.js";
|
|
2
|
-
import { ref as
|
|
3
|
-
import {
|
|
2
|
+
import { ref as r } from "lit-html/directives/ref.js";
|
|
3
|
+
import { watch as a } from "@arcgis/core/core/reactiveUtils.js";
|
|
4
|
+
import h from "@arcgis/core/widgets/UtilityNetworkTrace.js";
|
|
4
5
|
import { d as l, a as o, r as d, b as c } from "../../chunks/component-utils.js";
|
|
5
6
|
import { o as n } from "../../chunks/disconnected.js";
|
|
6
7
|
import { html as p } from "lit";
|
|
7
8
|
import { LitElement as f, createEvent as t, noShadowRoot as w } from "@arcgis/lumina";
|
|
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
|
+
v4.32.0-next.87 */
|
|
11
12
|
class g extends f {
|
|
12
13
|
constructor() {
|
|
13
14
|
super(...arguments), this._watchHandles = [], this.defaultGraphicColor = {
|
|
@@ -37,7 +38,7 @@ class g extends f {
|
|
|
37
38
|
e.has("referenceElement") && this.referenceElementWatcher(this.referenceElement), e.has("enableResultArea") && this.enableResultAreaWatcher(this.enableResultArea), e.has("defaultGraphicColor") && this.defaultGraphicColorWatcher(this.defaultGraphicColor), e.has("disabled") && this.disabledWatcher(this.disabled, e.get("disabled")), e.has("flags") && this.flagsWatcher(this.flags), e.has("gdbVersion") && this.gdbVersionWatcher(this.gdbVersion), e.has("inputSettings") && this.inputSettingsWatcher(this.inputSettings), e.has("resultAreaProperties") && this.resultAreaProperties && this.resultAreaPropertiesWatcher(this.resultAreaProperties), e.has("selectedTraces") && this.selectedTracesWatcher(this.selectedTraces), e.has("selectOnCompleteDisabled") && this.selectOnCompleteDisabledWatcher(this.selectOnCompleteDisabled), e.has("showGraphicsOnCompleteDisabled") && this.showGraphicsOnCompleteDisabledWatcher(this.showGraphicsOnCompleteDisabled), e.has("showSelectionAttributesDisabled") && this.showSelectionAttributesDisabledWatcher(this.showSelectionAttributesDisabled), e.has("position") && this.positionWatcher(this.position), e.has("view") && this.viewWatcher(this.view);
|
|
38
39
|
}
|
|
39
40
|
async loaded() {
|
|
40
|
-
const e = this._createParams(), i =
|
|
41
|
+
const e = this._createParams(), i = new h(e);
|
|
41
42
|
this.widget = i, await this._addWatchers(), this._proxyEvents(), this._addContainer(), l(this), o(this);
|
|
42
43
|
}
|
|
43
44
|
disconnectedCallback() {
|
|
@@ -82,7 +83,7 @@ class g extends f {
|
|
|
82
83
|
e !== void 0 && this.widget && (this.widget.showSelectionAttributes = !e);
|
|
83
84
|
}
|
|
84
85
|
positionWatcher(e) {
|
|
85
|
-
e !== void 0 && this.widget && this.el.childElem && this.view.ui
|
|
86
|
+
e !== void 0 && this.widget && this.el.childElem && this.view.ui?.move(this.el.childElem, e);
|
|
86
87
|
}
|
|
87
88
|
viewWatcher(e) {
|
|
88
89
|
e !== void 0 && this.widget && (this.widget.view = e);
|
|
@@ -91,8 +92,7 @@ class g extends f {
|
|
|
91
92
|
this.widget.container = this.el.childElem;
|
|
92
93
|
}
|
|
93
94
|
async _addWatchers() {
|
|
94
|
-
|
|
95
|
-
c(this, e(() => this.widget.disabled, (i) => this.disabled = i));
|
|
95
|
+
c(this, a(() => this.widget.disabled, (e) => this.disabled = e));
|
|
96
96
|
}
|
|
97
97
|
_createParams() {
|
|
98
98
|
const e = {};
|
|
@@ -107,7 +107,7 @@ class g extends f {
|
|
|
107
107
|
// #endregion
|
|
108
108
|
// #region Rendering
|
|
109
109
|
render() {
|
|
110
|
-
return p`<div ${
|
|
110
|
+
return p`<div ${r(this._setChildElement)}></div>`;
|
|
111
111
|
}
|
|
112
112
|
}
|
|
113
113
|
s("arcgis-utility-network-trace", g);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
2
2
|
/// <reference types="../../index.d.ts" />
|
|
3
|
-
import { default as UtilityNetworkValidateTopology } from '@arcgis/core/widgets/UtilityNetworkValidateTopology';
|
|
3
|
+
import { default as UtilityNetworkValidateTopology } from '@arcgis/core/widgets/UtilityNetworkValidateTopology.js';
|
|
4
4
|
import { ArcgisReferenceElement, WidgetElement } from '../../utils/component-utils';
|
|
5
5
|
import { Nil } from '@arcgis/components-utils';
|
|
6
6
|
import { PropertyValues } from 'lit';
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { c as e } from "../../chunks/runtime.js";
|
|
2
2
|
import { ref as o } from "lit-html/directives/ref.js";
|
|
3
|
-
import
|
|
4
|
-
import { d as
|
|
3
|
+
import s from "@arcgis/core/widgets/UtilityNetworkValidateTopology.js";
|
|
4
|
+
import { d as a, a as r, r as l } from "../../chunks/component-utils.js";
|
|
5
5
|
import { o as h } from "../../chunks/disconnected.js";
|
|
6
6
|
import { html as d } from "lit";
|
|
7
|
-
import { LitElement as n, createEvent as
|
|
7
|
+
import { LitElement as n, createEvent as c, noShadowRoot as w } from "@arcgis/lumina";
|
|
8
8
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
9
9
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
10
|
-
v4.32.0-next.
|
|
10
|
+
v4.32.0-next.87 */
|
|
11
11
|
class m extends n {
|
|
12
12
|
constructor() {
|
|
13
|
-
super(...arguments), this._watchHandles = [], this.extentToValidate = "current", this.position = "bottom-left", this.arcgisReady =
|
|
13
|
+
super(...arguments), this._watchHandles = [], this.extentToValidate = "current", this.position = "bottom-left", this.arcgisReady = c();
|
|
14
14
|
}
|
|
15
15
|
static {
|
|
16
16
|
this.properties = { extentToValidate: 1, position: 1, referenceElement: 1, utilityNetwork: 0, view: 0, widget: 0 };
|
|
17
17
|
}
|
|
18
18
|
static {
|
|
19
|
-
this.shadowRootOptions =
|
|
19
|
+
this.shadowRootOptions = w;
|
|
20
20
|
}
|
|
21
21
|
// #endregion
|
|
22
22
|
// #region Lifecycle
|
|
@@ -24,8 +24,8 @@ class m extends n {
|
|
|
24
24
|
t.has("referenceElement") && this.referenceElementWatcher(this.referenceElement), t.has("extentToValidate") && this.extentToValidateWatcher(this.extentToValidate), t.has("utilityNetwork") && this.utilityNetworkWatcher(this.utilityNetwork), t.has("position") && this.positionWatcher(this.position), t.has("view") && this.viewWatcher(this.view);
|
|
25
25
|
}
|
|
26
26
|
async loaded() {
|
|
27
|
-
const t = this._createParams(), i =
|
|
28
|
-
this.widget = i, this._addContainer(),
|
|
27
|
+
const t = this._createParams(), i = new s(t);
|
|
28
|
+
this.widget = i, this._addContainer(), a(this), r(this);
|
|
29
29
|
}
|
|
30
30
|
disconnectedCallback() {
|
|
31
31
|
super.disconnectedCallback(), h(this);
|
|
@@ -42,7 +42,7 @@ class m extends n {
|
|
|
42
42
|
this.widget && t && (this.widget.utilityNetwork = t);
|
|
43
43
|
}
|
|
44
44
|
positionWatcher(t) {
|
|
45
|
-
t !== void 0 && this.widget && this.el.childElem && this.view.ui
|
|
45
|
+
t !== void 0 && this.widget && this.el.childElem && this.view.ui?.move(this.el.childElem, t);
|
|
46
46
|
}
|
|
47
47
|
viewWatcher(t) {
|
|
48
48
|
t !== void 0 && this.widget && (this.widget.view = t, this._loadUtilityNetwork());
|
|
@@ -57,8 +57,8 @@ class m extends n {
|
|
|
57
57
|
async _loadUtilityNetwork() {
|
|
58
58
|
if (this.view?.map && this.view.map.portalItem) {
|
|
59
59
|
await this.view.map.load();
|
|
60
|
-
const t = this.view.map.utilityNetworks
|
|
61
|
-
await t
|
|
60
|
+
const t = this.view.map.utilityNetworks?.getItemAt(0);
|
|
61
|
+
await t?.load(), this.utilityNetwork = t;
|
|
62
62
|
}
|
|
63
63
|
}
|
|
64
64
|
_setChildElement(t) {
|
|
@@ -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 ValuePicker } from '@arcgis/core/widgets/ValuePicker.js';
|
|
6
6
|
import { PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
7
|
+
import { ArcgisReferenceElement } from '../../utils/component-utils';
|
|
7
8
|
|
|
8
9
|
declare const useValuePickerWidget: (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<ValuePicker, never> & {
|
|
14
15
|
reactiveUtils?: typeof __esri.reactiveUtils;
|
|
15
16
|
state?: unknown;
|
|
16
17
|
viewModel?: unknown;
|
|
@@ -31,8 +32,8 @@ declare const useValuePickerWidget: (component: import('@arcgis/components-contr
|
|
|
31
32
|
autoDestroyDisabled: boolean;
|
|
32
33
|
destroy: () => Promise<void>;
|
|
33
34
|
}, options?: {
|
|
34
|
-
editConstructorProperties(props: __esri.ValuePickerProperties): __esri.ValuePickerProperties | Promise<__esri.ValuePickerProperties
|
|
35
|
-
} | undefined) =>
|
|
35
|
+
editConstructorProperties(props: __esri.ValuePickerProperties | undefined): __esri.ValuePickerProperties | Promise<__esri.ValuePickerProperties | undefined> | undefined;
|
|
36
|
+
} | undefined) => ValuePicker;
|
|
36
37
|
/**
|
|
37
38
|
* @internal
|
|
38
39
|
*/
|
|
@@ -48,8 +49,8 @@ export declare class ArcgisValuePicker extends LitElement {
|
|
|
48
49
|
canNext: boolean;
|
|
49
50
|
canPlay: boolean;
|
|
50
51
|
canPrevious: boolean;
|
|
51
|
-
caption: string;
|
|
52
|
-
component: __esri.ValuePickerCollection | __esri.ValuePickerCombobox | __esri.ValuePickerLabel | __esri.ValuePickerSlider;
|
|
52
|
+
caption: string | nullish;
|
|
53
|
+
component: nullish | __esri.ValuePickerCollection | __esri.ValuePickerCombobox | __esri.ValuePickerLabel | __esri.ValuePickerSlider;
|
|
53
54
|
hideNextButton: boolean | undefined;
|
|
54
55
|
hidePlayButton: boolean | undefined;
|
|
55
56
|
hidePreviousButton: boolean | undefined;
|
|
@@ -60,13 +61,13 @@ export declare class ArcgisValuePicker extends LitElement {
|
|
|
60
61
|
*/
|
|
61
62
|
icon: string;
|
|
62
63
|
/** The component's default label. */
|
|
63
|
-
label: string;
|
|
64
|
-
layout: "
|
|
64
|
+
label: string | nullish;
|
|
65
|
+
layout: "vertical" | "horizontal";
|
|
65
66
|
loop: boolean;
|
|
66
67
|
playRate: number;
|
|
67
68
|
position: __esri.UIPosition;
|
|
68
69
|
referenceElement: ArcgisReferenceElement | Nil | string;
|
|
69
|
-
values: any[] | number[] | string[];
|
|
70
|
+
values: any[] | nullish | number[] | string[];
|
|
70
71
|
/** Permanently destroy the component */
|
|
71
72
|
destroy(): Promise<void>;
|
|
72
73
|
next(): Promise<void>;
|