@arcgis/map-components 4.32.0-next.84 → 4.32.0-next.85
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/{OUTOCGVP.js → 2TNEAZAF.js} +2 -2
- package/dist/arcgis-map-components/{FTOHM6K7.js → 32WNMGSE.js} +2 -2
- package/dist/arcgis-map-components/{JY2BL6QD.js → 35HPYV25.js} +2 -2
- package/dist/arcgis-map-components/{XJ5ZDZD5.js → 3LZI4V7A.js} +2 -2
- package/dist/arcgis-map-components/{SV37GYTZ.js → 44SXKBON.js} +2 -2
- package/dist/arcgis-map-components/{F2U6NY4G.js → 4GMWGCYP.js} +2 -2
- package/dist/arcgis-map-components/{SZI3EYQQ.js → 4OPF2YIS.js} +2 -2
- package/dist/arcgis-map-components/{LABTBYBR.js → 564KMD2H.js} +2 -2
- package/dist/arcgis-map-components/{GHPCV4MN.js → 5TMK2FY7.js} +2 -2
- package/dist/arcgis-map-components/{BVS52H6M.js → 6ADYLVHO.js} +2 -2
- package/dist/arcgis-map-components/{S2QUE2PT.js → 6IUOO2CX.js} +2 -2
- package/dist/arcgis-map-components/{XKY2Q5V6.js → 7XE2PHMN.js} +2 -2
- package/dist/arcgis-map-components/{XKFVFNRT.js → AHJ77DDX.js} +2 -2
- package/dist/arcgis-map-components/BO53EV22.js +4 -0
- package/dist/arcgis-map-components/{WCITYN6U.js → CCYD3GJL.js} +2 -2
- package/dist/arcgis-map-components/{CCF5WJQL.js → CF5DOP3R.js} +2 -2
- package/dist/arcgis-map-components/{6JAD4WKP.js → CSHTSK3A.js} +2 -2
- package/dist/arcgis-map-components/{OODDLGXW.js → CZMG37KX.js} +2 -2
- package/dist/arcgis-map-components/{ASLMMNFG.js → D727YOOX.js} +2 -2
- package/dist/arcgis-map-components/{QDTORANP.js → DBPKJOYW.js} +1 -1
- package/dist/arcgis-map-components/{LW4HCA3P.js → DLEN4ORI.js} +2 -2
- package/dist/arcgis-map-components/{C542LZ3W.js → DWMEEDHE.js} +2 -2
- package/dist/arcgis-map-components/{CAQQA5ME.js → DZF434YD.js} +2 -2
- package/dist/arcgis-map-components/{RLXPUR6U.js → ELYTB4XJ.js} +2 -2
- package/dist/arcgis-map-components/{D5YSPPQY.js → ERS4HX5J.js} +1 -1
- package/dist/arcgis-map-components/{CTCO63FH.js → FHOJWHL5.js} +2 -2
- package/dist/arcgis-map-components/{VHDI7NKV.js → FRIJ3FSA.js} +2 -2
- package/dist/arcgis-map-components/GAAOXAL6.js +4 -0
- package/dist/arcgis-map-components/{WZIB63XY.js → HG2VALA3.js} +2 -2
- package/dist/arcgis-map-components/HW7Z4CZB.js +4 -0
- package/dist/arcgis-map-components/{VY2AN4QN.js → HZNRXF47.js} +2 -2
- package/dist/arcgis-map-components/{VIEKXUEC.js → IKGSM2C2.js} +2 -2
- package/dist/arcgis-map-components/{2LH365WX.js → ITFN6HQK.js} +2 -2
- package/dist/arcgis-map-components/{H3QUUUNO.js → IUDW2ZVM.js} +2 -2
- package/dist/arcgis-map-components/{SJ23WYPX.js → IW775SZ3.js} +2 -2
- package/dist/arcgis-map-components/{TRRQPVCK.js → IXPHHN4Z.js} +2 -2
- package/dist/arcgis-map-components/{WOWZWSL5.js → J7HGN3TZ.js} +2 -2
- package/dist/arcgis-map-components/{NUF2ZXJB.js → JAQQBKX6.js} +2 -2
- package/dist/arcgis-map-components/{7IYUKHGU.js → K6PW23T7.js} +2 -2
- package/dist/arcgis-map-components/{UJJUHEQP.js → K77QPLOY.js} +2 -2
- package/dist/arcgis-map-components/{ADHZXMHO.js → LMOFB4IY.js} +2 -2
- package/dist/arcgis-map-components/{SDIRYXNN.js → M6O6GD4O.js} +2 -2
- package/dist/arcgis-map-components/{IF6ICBVD.js → MAMFUB2L.js} +2 -2
- package/dist/arcgis-map-components/{ALE6KF3F.js → MDHKEFLL.js} +1 -1
- package/dist/arcgis-map-components/{CHN4JGNG.js → MP3QQQKU.js} +2 -2
- package/dist/arcgis-map-components/{ZANDAN6Q.js → MSOBY6NR.js} +2 -2
- package/dist/arcgis-map-components/{CLW7FHWH.js → NCWZPEUO.js} +2 -2
- package/dist/arcgis-map-components/{G6CP2VYU.js → NVIX6GNC.js} +2 -2
- package/dist/arcgis-map-components/{JG6SSII2.js → NYN35UXK.js} +2 -2
- package/dist/arcgis-map-components/{MCAPSEE3.js → OMIYZ5A3.js} +2 -2
- package/dist/arcgis-map-components/{GP5KXKC6.js → OYUYZKN2.js} +2 -2
- package/dist/arcgis-map-components/PFRBRWGY.js +4 -0
- package/dist/arcgis-map-components/{JPFJWSQT.js → QBCARJYO.js} +2 -2
- package/dist/arcgis-map-components/QCYDFQGT.js +4 -0
- package/dist/arcgis-map-components/{SDTEUQJF.js → QVOQDJ5B.js} +2 -2
- package/dist/arcgis-map-components/{USOW5GMA.js → R3AVBSDU.js} +2 -2
- package/dist/arcgis-map-components/{QXH6QBCY.js → RBXK5JR3.js} +2 -2
- package/dist/arcgis-map-components/{HNBQDWNV.js → S3H7IQQP.js} +2 -2
- package/dist/arcgis-map-components/{S3HVEU43.js → S76V3WVV.js} +2 -2
- package/dist/arcgis-map-components/{GUBVA4HI.js → SI357SRE.js} +2 -2
- package/dist/arcgis-map-components/{SBFEI7G7.js → SPVD3PYB.js} +2 -2
- package/dist/arcgis-map-components/{NAN3TPDO.js → U6C4ZCMS.js} +2 -2
- package/dist/arcgis-map-components/{4HWKFVOD.js → VHE6RZA2.js} +2 -2
- package/dist/arcgis-map-components/{BCSTA4MD.js → VIUD4NSE.js} +2 -2
- package/dist/arcgis-map-components/{7PRXTQ4Y.js → VIVRU3Y4.js} +2 -2
- package/dist/arcgis-map-components/{CSEA27MX.js → VWEH2LWN.js} +2 -2
- package/dist/arcgis-map-components/{B2AHBB47.js → WZV3Y366.js} +2 -2
- package/dist/arcgis-map-components/X7EWPPQH.js +4 -0
- package/dist/arcgis-map-components/{OF62ZZDT.js → YHASKKJ6.js} +2 -2
- package/dist/arcgis-map-components/{SM27BTYQ.js → YK5CBUJC.js} +2 -2
- package/dist/arcgis-map-components/YXSRE3F6.js +4 -0
- package/dist/arcgis-map-components/{X3DKJFAI.js → Z6JJJVA2.js} +2 -2
- package/dist/arcgis-map-components/{VCU3GSEE.js → ZVNCPLXY.js} +2 -2
- 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.js +1 -1
- package/dist/components/arcgis-area-measurement-3d/customElement.js +1 -1
- package/dist/components/arcgis-attachments/customElement.d.ts +2 -2
- package/dist/components/arcgis-attachments/customElement.js +1 -1
- package/dist/components/arcgis-basemap-gallery/components/basemap-gallery-item/customElement.js +1 -1
- package/dist/components/arcgis-basemap-gallery/customElement.d.ts +1 -1
- package/dist/components/arcgis-basemap-gallery/customElement.js +2 -2
- package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +18 -18
- package/dist/components/arcgis-basemap-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-basemap-toggle/customElement.d.ts +2 -2
- package/dist/components/arcgis-basemap-toggle/customElement.js +1 -1
- package/dist/components/arcgis-bookmarks/customElement.d.ts +9 -9
- package/dist/components/arcgis-bookmarks/customElement.js +1 -1
- package/dist/components/arcgis-building-explorer/customElement.js +1 -1
- package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +11 -11
- package/dist/components/arcgis-catalog-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-compass/customElement.js +1 -1
- package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +3 -3
- package/dist/components/arcgis-coordinate-conversion/customElement.js +1 -1
- package/dist/components/arcgis-daylight/customElement.js +1 -1
- package/dist/components/arcgis-directional-pad/customElement.js +1 -1
- package/dist/components/arcgis-directions/customElement.d.ts +4 -4
- package/dist/components/arcgis-directions/customElement.js +14 -11
- package/dist/components/arcgis-directline-measurement-3d/customElement.js +1 -1
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +1 -1
- package/dist/components/arcgis-editor/customElement.d.ts +12 -12
- package/dist/components/arcgis-editor/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile/customElement.d.ts +10 -10
- package/dist/components/arcgis-elevation-profile/customElement.js +1 -1
- package/dist/components/arcgis-expand/customElement.d.ts +4 -4
- package/dist/components/arcgis-expand/customElement.js +1 -1
- package/dist/components/arcgis-feature/customElement.d.ts +4 -4
- package/dist/components/arcgis-feature/customElement.js +1 -1
- package/dist/components/arcgis-feature-form/customElement.d.ts +3 -3
- package/dist/components/arcgis-feature-form/customElement.js +1 -1
- package/dist/components/arcgis-feature-table/customElement.d.ts +18 -18
- package/dist/components/arcgis-feature-table/customElement.js +1 -1
- package/dist/components/arcgis-feature-templates/customElement.d.ts +3 -3
- package/dist/components/arcgis-feature-templates/customElement.js +1 -1
- package/dist/components/arcgis-features/customElement.d.ts +16 -16
- package/dist/components/arcgis-features/customElement.js +1 -1
- package/dist/components/arcgis-floor-filter/customElement.d.ts +4 -4
- package/dist/components/arcgis-floor-filter/customElement.js +1 -1
- package/dist/components/arcgis-fullscreen/customElement.d.ts +1 -1
- package/dist/components/arcgis-fullscreen/customElement.js +1 -1
- package/dist/components/arcgis-histogram/customElement.d.ts +9 -9
- package/dist/components/arcgis-histogram/customElement.js +1 -1
- package/dist/components/arcgis-histogram-range-slider/customElement.d.ts +10 -10
- package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-home/customElement.d.ts +2 -2
- package/dist/components/arcgis-home/customElement.js +1 -1
- package/dist/components/arcgis-layer-list/customElement.d.ts +17 -17
- package/dist/components/arcgis-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-legend/customElement.js +1 -1
- package/dist/components/arcgis-line-of-sight/customElement.js +1 -1
- package/dist/components/arcgis-link-chart/customElement.d.ts +10 -10
- package/dist/components/arcgis-link-chart/customElement.js +1 -1
- package/dist/components/arcgis-locate/customElement.d.ts +2 -2
- package/dist/components/arcgis-locate/customElement.js +1 -1
- package/dist/components/arcgis-map/customElement.d.ts +11 -11
- package/dist/components/arcgis-map/customElement.js +1 -1
- package/dist/components/arcgis-measurement/customElement.d.ts +2 -2
- package/dist/components/arcgis-measurement/customElement.js +1 -1
- package/dist/components/arcgis-navigation-toggle/customElement.d.ts +3 -2
- package/dist/components/arcgis-navigation-toggle/customElement.js +10 -10
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +3 -3
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +22 -16
- package/dist/components/arcgis-placement/customElement.js +2 -2
- package/dist/components/arcgis-print/customElement.d.ts +2 -2
- package/dist/components/arcgis-print/customElement.js +1 -1
- package/dist/components/arcgis-scale-bar/customElement.js +53 -47
- package/dist/components/arcgis-scale-range-slider/customElement.d.ts +1 -1
- package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-scene/customElement.d.ts +10 -10
- package/dist/components/arcgis-scene/customElement.js +1 -1
- package/dist/components/arcgis-search/customElement.d.ts +10 -10
- package/dist/components/arcgis-search/customElement.js +1 -1
- package/dist/components/arcgis-shadow-cast/customElement.d.ts +6 -6
- package/dist/components/arcgis-shadow-cast/customElement.js +1 -1
- package/dist/components/arcgis-sketch/customElement.d.ts +23 -23
- package/dist/components/arcgis-sketch/customElement.js +1 -1
- package/dist/components/arcgis-slice/customElement.d.ts +1 -1
- package/dist/components/arcgis-slice/customElement.js +1 -1
- package/dist/components/arcgis-slider/customElement.d.ts +10 -10
- package/dist/components/arcgis-slider/customElement.js +1 -1
- package/dist/components/arcgis-swipe/customElement.d.ts +1 -1
- package/dist/components/arcgis-swipe/customElement.js +1 -1
- package/dist/components/arcgis-table-list/customElement.d.ts +10 -10
- package/dist/components/arcgis-table-list/customElement.js +1 -1
- package/dist/components/arcgis-time-slider/customElement.d.ts +5 -5
- package/dist/components/arcgis-time-slider/customElement.js +1 -1
- package/dist/components/arcgis-track/customElement.d.ts +3 -3
- package/dist/components/arcgis-track/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-associations/customElement.d.ts +84 -13
- package/dist/components/arcgis-utility-network-associations/customElement.js +33 -210
- package/dist/components/arcgis-utility-network-trace/customElement.js +2 -2
- package/dist/components/arcgis-utility-network-validate-topology/customElement.js +4 -4
- package/dist/components/arcgis-value-picker/customElement.d.ts +5 -5
- package/dist/components/arcgis-value-picker/customElement.js +1 -1
- package/dist/components/arcgis-version-management/customElement.d.ts +2 -2
- package/dist/components/arcgis-version-management/customElement.js +9 -9
- 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 +1 -1
- package/dist/components/arcgis-weather/customElement.js +1 -1
- package/dist/components/arcgis-zoom/customElement.js +1 -1
- package/dist/controllers/useViewModel.d.ts +1 -1
- package/dist/docs/api.json +811 -167
- package/dist/docs/docs.json +657 -179
- package/dist/docs/vscode.html-custom-data.json +100 -8
- package/dist/docs/web-types.json +288 -79
- 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 +5 -5
- package/dist/arcgis-map-components/BMZIKLJT.js +0 -4
- package/dist/arcgis-map-components/JDYFIYT3.js +0 -4
- package/dist/arcgis-map-components/MJBNTJRW.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/VQUVK2Z4.js +0 -4
- package/dist/arcgis-map-components/ZD343J42.js +0 -4
|
@@ -58,7 +58,7 @@ export declare class ArcgisSlice extends LitElement {
|
|
|
58
58
|
label: string;
|
|
59
59
|
position: __esri.UIPosition;
|
|
60
60
|
referenceElement: ArcgisReferenceElement | Nil | string;
|
|
61
|
-
shape: __esri.SlicePlane;
|
|
61
|
+
shape: nullish | __esri.SlicePlane;
|
|
62
62
|
readonly state: "ready" | "disabled" | "slicing" | "sliced";
|
|
63
63
|
tiltEnabled: boolean;
|
|
64
64
|
clear(): Promise<void>;
|
|
@@ -6,7 +6,7 @@ import { LitElement as a, createEvent as o, noShadowRoot as l } from "@arcgis/lu
|
|
|
6
6
|
import { css as r } from "@lit/reactive-element/css-tag.js";
|
|
7
7
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
8
8
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
9
|
-
v4.32.0-next.
|
|
9
|
+
v4.32.0-next.85 */
|
|
10
10
|
const d = r`arcgis-slice{display:block}`, h = i(t);
|
|
11
11
|
class c extends a {
|
|
12
12
|
constructor() {
|
|
@@ -46,8 +46,8 @@ export declare class ArcgisSlider extends LitElement {
|
|
|
46
46
|
*/
|
|
47
47
|
autoDestroyDisabled: boolean;
|
|
48
48
|
draggableSegmentsEnabled: boolean;
|
|
49
|
-
effectiveMax: number;
|
|
50
|
-
effectiveMin: number;
|
|
49
|
+
effectiveMax: number | nullish;
|
|
50
|
+
effectiveMin: number | nullish;
|
|
51
51
|
readonly effectiveSegmentElements: __esri.Collection<HTMLElement>;
|
|
52
52
|
/**
|
|
53
53
|
* Icon which represents the component.
|
|
@@ -60,11 +60,11 @@ export declare class ArcgisSlider extends LitElement {
|
|
|
60
60
|
readonly labelElements: __esri.Collection<HTMLElement>;
|
|
61
61
|
labelInputsEnabled: boolean;
|
|
62
62
|
readonly labels: __esri.LabelInfos;
|
|
63
|
-
layout: "
|
|
64
|
-
max: number;
|
|
65
|
-
readonly maxLabelElement: HTMLElement;
|
|
66
|
-
min: number;
|
|
67
|
-
readonly minLabelElement: HTMLElement;
|
|
63
|
+
layout: "vertical" | "horizontal" | "horizontal-reversed" | "vertical-reversed";
|
|
64
|
+
max: number | nullish;
|
|
65
|
+
readonly maxLabelElement: HTMLElement | nullish;
|
|
66
|
+
min: number | nullish;
|
|
67
|
+
readonly minLabelElement: HTMLElement | nullish;
|
|
68
68
|
position: __esri.UIPosition;
|
|
69
69
|
precision: number;
|
|
70
70
|
rangeLabelInputsEnabled: boolean;
|
|
@@ -72,14 +72,14 @@ export declare class ArcgisSlider extends LitElement {
|
|
|
72
72
|
readonly segmentElements: __esri.Collection<HTMLElement>;
|
|
73
73
|
snapOnClickEnabled: boolean;
|
|
74
74
|
readonly state: "ready" | "disabled" | "editing" | "dragging";
|
|
75
|
-
steps: number | number[];
|
|
75
|
+
steps: number | nullish | number[];
|
|
76
76
|
syncedSegmentsEnabled: boolean;
|
|
77
77
|
readonly thumbElements: __esri.Collection<HTMLElement>;
|
|
78
78
|
thumbsConstrained: boolean;
|
|
79
79
|
tickConfigs: __esri.TickConfig[];
|
|
80
80
|
readonly tickElements: __esri.Collection<__esri.Collection<__esri.TickElementGroup>>;
|
|
81
|
-
trackElement: HTMLElement;
|
|
82
|
-
values: number[];
|
|
81
|
+
trackElement: HTMLElement | nullish;
|
|
82
|
+
values: nullish | number[];
|
|
83
83
|
/** Permanently destroy the component */
|
|
84
84
|
destroy(): Promise<void>;
|
|
85
85
|
readonly arcgisMaxChange: TargetedEvent<this, __esri.SliderMaxChangeEvent>;
|
|
@@ -7,7 +7,7 @@ import { reEmitEvent as t } from "@arcgis/components-controllers/accessor";
|
|
|
7
7
|
import { css as m } 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.
|
|
10
|
+
v4.32.0-next.85 */
|
|
11
11
|
const c = m`arcgis-slider{min-width:200px;min-height:25px}`, r = a(s);
|
|
12
12
|
class d extends h {
|
|
13
13
|
constructor() {
|
|
@@ -50,7 +50,7 @@ export declare class ArcgisSwipe extends LitElement {
|
|
|
50
50
|
* If `"horizontal"`, the component will move left and right and
|
|
51
51
|
* if `"vertical"`, the component will move up and down.
|
|
52
52
|
*/
|
|
53
|
-
direction: "
|
|
53
|
+
direction: "vertical" | "horizontal";
|
|
54
54
|
/**
|
|
55
55
|
* When `true`, sets the component to a disabled state so the user cannot interact with it.
|
|
56
56
|
*/
|
|
@@ -10,7 +10,7 @@ import { LitElement as M, createEvent as K, noShadowRoot as z, safeClassMap as h
|
|
|
10
10
|
import { css as A } 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.85 */
|
|
14
14
|
const H = A`arcgis-swipe,.arcgis-swipe{position:absolute;margin:0;background:transparent;padding:0;width:100%;height:100%;overflow:hidden;user-select:none}.arcgis-swipe,.arcgis-ui .arcgis-swipe{pointer-events:none}.arcgis-swipe__container{position:absolute;z-index:1;margin:0;outline:0;border:0;padding:0;overflow:hidden;pointer-events:auto;touch-action:none;outline-color:transparent}.arcgis-swipe--horizontal .arcgis-swipe__container{margin-left:calc(var(--calcite-spacing-xxxl) / 2 * -1);cursor:col-resize;height:100%}.arcgis-swipe--vertical .arcgis-swipe__container{margin-top:calc(var(--calcite-spacing-xxxl) / 2 * -1);cursor:row-resize;width:100%}.arcgis-swipe--disabled .arcgis-swipe__container{cursor:default;pointer-events:none}.arcgis-swipe__divider{position:absolute;background-color:var(--calcite-color-background)}.arcgis-swipe--horizontal .arcgis-swipe__divider{top:0;left:calc(var(--calcite-spacing-xxxl) / 2);margin-left:calc(var(--calcite-border-width-lg) * .5 * -1);border-right:var(--calcite-border-width-sm) solid var(--calcite-color-border-1);border-left:var(--calcite-border-width-sm) solid var(--calcite-color-border-1);width:var(--calcite-border-width-lg);height:100%}.arcgis-swipe--vertical .arcgis-swipe__divider{top:calc(var(--calcite-spacing-xxxl) / 2);left:0;margin-top:calc(var(--calcite-border-width-lg) * .5 * -1);border-top:var(--calcite-border-width-sm) solid var(--calcite-color-border-1);border-bottom:var(--calcite-border-width-sm) solid var(--calcite-color-border-1);width:100%;height:var(--calcite-border-width-lg)}.arcgis-swipe__handle{display:flex;position:relative;align-items:center;justify-content:center;border:var(--calcite-border-width-sm) solid var(--calcite-color-border-1);border-radius:var(--calcite-corner-radius-round);background-color:var(--calcite-color-background);width:var(--calcite-spacing-xxxl);height:var(--calcite-spacing-xxxl);color:var(--calcite-color-border-input)}.arcgis-swipe__handle--hidden{visibility:hidden}.arcgis-swipe--vertical .arcgis-swipe__handle{rotate:90deg}.arcgis-swipe__handle-icon{position:relative;z-index:2}.arcgis-swipe--horizontal .arcgis-swipe__handle{top:calc(50% - calc(var(--calcite-spacing-xxxl) / 2))}.arcgis-swipe--vertical .arcgis-swipe__handle{left:calc(50% - calc(var(--calcite-spacing-xxxl) / 2))}.arcgis-swipe__container:focus .arcgis-swipe__handle,.arcgis-swipe__container:focus .arcgis-swipe__divider{outline:inset 2px var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)))}.arcgis-swipe__container:focus .arcgis-swipe__handle{outline-offset:calc(-2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}`, l = "arcgis-swipe", n = {
|
|
15
15
|
base: l,
|
|
16
16
|
baseDisabled: `${l}--disabled`,
|
|
@@ -53,7 +53,7 @@ export declare class ArcgisTableList extends LitElement {
|
|
|
53
53
|
collapsed: boolean;
|
|
54
54
|
dragEnabled: boolean;
|
|
55
55
|
filterPlaceholder: string;
|
|
56
|
-
filterPredicate: __esri.TableListFilterPredicate;
|
|
56
|
+
filterPredicate: nullish | __esri.TableListFilterPredicate;
|
|
57
57
|
filterText: string;
|
|
58
58
|
/**
|
|
59
59
|
* Icon which represents the component.
|
|
@@ -63,7 +63,7 @@ export declare class ArcgisTableList extends LitElement {
|
|
|
63
63
|
icon: string;
|
|
64
64
|
/** The component's default label. */
|
|
65
65
|
label: string;
|
|
66
|
-
listItemCreatedFunction: __esri.TableListListItemCreatedHandler;
|
|
66
|
+
listItemCreatedFunction: nullish | __esri.TableListListItemCreatedHandler;
|
|
67
67
|
minDragEnabledItems: number;
|
|
68
68
|
minFilterItems: number;
|
|
69
69
|
position: __esri.UIPosition;
|
|
@@ -73,14 +73,14 @@ export declare class ArcgisTableList extends LitElement {
|
|
|
73
73
|
readonly state: "ready" | "disabled" | "loading";
|
|
74
74
|
/** The collection of table ListItems displayed within the component. */
|
|
75
75
|
get tableItems(): __esri.Collection<__esri.TableListListItem>;
|
|
76
|
-
showCloseButton: boolean
|
|
77
|
-
showCollapseButton: boolean
|
|
78
|
-
showErrors: boolean
|
|
79
|
-
showFilter: boolean
|
|
80
|
-
hideFlow: boolean
|
|
81
|
-
showHeading: boolean
|
|
82
|
-
hideStatusIndicators: boolean
|
|
83
|
-
showTemporaryTableIndicators: boolean
|
|
76
|
+
showCloseButton: boolean;
|
|
77
|
+
showCollapseButton: boolean;
|
|
78
|
+
showErrors: boolean;
|
|
79
|
+
showFilter: boolean;
|
|
80
|
+
hideFlow: boolean;
|
|
81
|
+
showHeading: boolean;
|
|
82
|
+
hideStatusIndicators: boolean;
|
|
83
|
+
showTemporaryTableIndicators: boolean;
|
|
84
84
|
/** Permanently destroy the component */
|
|
85
85
|
destroy(): Promise<void>;
|
|
86
86
|
readonly arcgisPropertyChange: TargetedEvent<this, {
|
|
@@ -7,7 +7,7 @@ import { reEmitEvent as a } from "@arcgis/components-controllers/accessor";
|
|
|
7
7
|
import { css as h } from "@lit/reactive-element/css-tag.js";
|
|
8
8
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
9
9
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
10
|
-
v4.32.0-next.
|
|
10
|
+
v4.32.0-next.85 */
|
|
11
11
|
const d = h`arcgis-table-list{display:block}`, n = s(i);
|
|
12
12
|
class m extends o {
|
|
13
13
|
constructor() {
|
|
@@ -46,8 +46,8 @@ export declare class ArcgisTimeSlider extends LitElement {
|
|
|
46
46
|
*/
|
|
47
47
|
autoDestroyDisabled: boolean;
|
|
48
48
|
disabled: boolean;
|
|
49
|
-
readonly effectiveStops: Date[];
|
|
50
|
-
fullTimeExtent: __esri.TimeExtent;
|
|
49
|
+
readonly effectiveStops: nullish | Date[];
|
|
50
|
+
fullTimeExtent: nullish | __esri.TimeExtent;
|
|
51
51
|
/**
|
|
52
52
|
* Icon which represents the component.
|
|
53
53
|
* Typically used when the component is controlled by another component (e.g. by the Expand component).
|
|
@@ -63,9 +63,9 @@ export declare class ArcgisTimeSlider extends LitElement {
|
|
|
63
63
|
position: __esri.UIPosition;
|
|
64
64
|
referenceElement: ArcgisReferenceElement | Nil | string;
|
|
65
65
|
readonly state: "ready" | "disabled" | "playing";
|
|
66
|
-
stops: __esri.StopsByDates | __esri.StopsByCount | __esri.StopsByInterval;
|
|
67
|
-
tickConfigs: __esri.TickConfig[];
|
|
68
|
-
timeExtent: __esri.TimeExtent;
|
|
66
|
+
stops: nullish | __esri.StopsByDates | __esri.StopsByCount | __esri.StopsByInterval;
|
|
67
|
+
tickConfigs: nullish | __esri.TickConfig[];
|
|
68
|
+
timeExtent: nullish | __esri.TimeExtent;
|
|
69
69
|
timeVisible: boolean;
|
|
70
70
|
timeZone: string;
|
|
71
71
|
applyTimeSliderSettings(settings: Pick<__esri.TimeSliderProperties, "fullTimeExtent" | "loop" | "stops">): Promise<void>;
|
|
@@ -7,7 +7,7 @@ import { reEmitEvent as l } from "@arcgis/components-controllers/accessor";
|
|
|
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.
|
|
10
|
+
v4.32.0-next.85 */
|
|
11
11
|
const r = n`arcgis-time-slider{display:block}`, m = o(e);
|
|
12
12
|
class c extends a {
|
|
13
13
|
constructor() {
|
|
@@ -60,7 +60,7 @@ export declare class ArcgisTrack extends LitElement {
|
|
|
60
60
|
autoDestroyDisabled: boolean;
|
|
61
61
|
error: any;
|
|
62
62
|
geolocationOptions: any;
|
|
63
|
-
goToOverride: __esri.GoToOverride;
|
|
63
|
+
goToOverride: nullish | __esri.GoToOverride;
|
|
64
64
|
goToLocationDisabled: boolean;
|
|
65
65
|
graphic: __esri.Graphic;
|
|
66
66
|
icon: Nil | string;
|
|
@@ -68,9 +68,9 @@ export declare class ArcgisTrack extends LitElement {
|
|
|
68
68
|
label: Nil | string;
|
|
69
69
|
messageOverrides?: typeof this.messages._overrides;
|
|
70
70
|
position: __esri.UIPosition;
|
|
71
|
-
positionFilterFunction: Function;
|
|
71
|
+
positionFilterFunction: Function | nullish;
|
|
72
72
|
referenceElement: ArcgisReferenceElement | Nil | string;
|
|
73
|
-
scale: number;
|
|
73
|
+
scale: number | nullish;
|
|
74
74
|
readonly state: "ready" | "disabled" | "error" | "tracking" | "waiting" | "feature-unsupported";
|
|
75
75
|
readonly tracking: boolean;
|
|
76
76
|
/** Permanently destroy the component */
|
|
@@ -10,7 +10,7 @@ import { reEmitEvent as c } from "@arcgis/components-controllers/accessor";
|
|
|
10
10
|
import { css as b } 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.85 */
|
|
14
14
|
const y = b`arcgis-track{display:block}`, $ = {
|
|
15
15
|
base: "esri-track"
|
|
16
16
|
}, O = u(f);
|
|
@@ -1,44 +1,115 @@
|
|
|
1
1
|
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
2
2
|
/// <reference types="../../index.d.ts" />
|
|
3
3
|
import { default as UtilityNetworkAssociations } from '@arcgis/core/widgets/UtilityNetworkAssociations';
|
|
4
|
-
import { ArcgisReferenceElement
|
|
4
|
+
import { ArcgisReferenceElement } from '../../utils/component-utils';
|
|
5
5
|
import { Nil } from '@arcgis/components-utils';
|
|
6
6
|
import { PropertyValues } from 'lit';
|
|
7
|
-
import {
|
|
7
|
+
import { ToElement, PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
8
|
+
import { Use } from '@arcgis/components-controllers';
|
|
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, "label" | "viewModel" | "icon" | "utilityNetwork" | "connectivityAssociationsLineSymbol" | "maxAllowableAssociations" | "maxAllowableAssociationsSliderMax" | "maxAllowableAssociationsSliderMin" | "maxAllowableAssociationsSliderStep" | "showArrowsConnectivity" | "showArrowsStructuralAttachment" | "showAssociationsEnabled" | "structuralAttachmentAssociationsLineSymbol"> & {
|
|
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): __esri.UtilityNetworkAssociationsProperties | Promise<__esri.UtilityNetworkAssociationsProperties>;
|
|
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 { newWidgetsUtilityNetworkAssociations as a } from "@arcgis/core-adapter";
|
|
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.85 */
|
|
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
|
};
|