@arcgis/map-components 4.32.0-next.83 → 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/{Z2H33RAX.js → 2TNEAZAF.js} +2 -2
- package/dist/arcgis-map-components/{LAGUAHVX.js → 32WNMGSE.js} +2 -2
- package/dist/arcgis-map-components/{HZGL3SLW.js → 35HPYV25.js} +2 -2
- package/dist/arcgis-map-components/{LMQDVVYO.js → 3LZI4V7A.js} +2 -2
- package/dist/arcgis-map-components/{AWFYQPKD.js → 44SXKBON.js} +2 -2
- package/dist/arcgis-map-components/{PMRLGSCG.js → 4GMWGCYP.js} +2 -2
- package/dist/arcgis-map-components/{A6UASEWJ.js → 4OPF2YIS.js} +2 -2
- package/dist/arcgis-map-components/{VNWOPD5J.js → 564KMD2H.js} +2 -2
- package/dist/arcgis-map-components/{V7M5KB7D.js → 5TMK2FY7.js} +2 -2
- package/dist/arcgis-map-components/{SVWOQROO.js → 6ADYLVHO.js} +2 -2
- package/dist/arcgis-map-components/{733DYCVI.js → 6IUOO2CX.js} +2 -2
- package/dist/arcgis-map-components/{VZPTH3WC.js → 7XE2PHMN.js} +2 -2
- package/dist/arcgis-map-components/{QOBPPCP6.js → AHJ77DDX.js} +2 -2
- package/dist/arcgis-map-components/BO53EV22.js +4 -0
- package/dist/arcgis-map-components/{X7KWIITV.js → CCYD3GJL.js} +2 -2
- package/dist/arcgis-map-components/{FATDSUTZ.js → CF5DOP3R.js} +2 -2
- package/dist/arcgis-map-components/{BKTRWHQA.js → CSHTSK3A.js} +2 -2
- package/dist/arcgis-map-components/{UUUSXKHX.js → CZMG37KX.js} +2 -2
- package/dist/arcgis-map-components/{Z27NUIOA.js → D727YOOX.js} +2 -2
- package/dist/arcgis-map-components/{BUDWVBYE.js → DBPKJOYW.js} +1 -1
- package/dist/arcgis-map-components/{MF7RFMSW.js → DLEN4ORI.js} +2 -2
- package/dist/arcgis-map-components/{EORMIB3R.js → DWMEEDHE.js} +2 -2
- package/dist/arcgis-map-components/{NLNFZP4Q.js → DZF434YD.js} +2 -2
- package/dist/arcgis-map-components/{U5UL33ZU.js → ELYTB4XJ.js} +2 -2
- package/dist/arcgis-map-components/{GS66LFP4.js → ERS4HX5J.js} +1 -1
- package/dist/arcgis-map-components/{ONE2UFPZ.js → FHOJWHL5.js} +2 -2
- package/dist/arcgis-map-components/{LTOLVVCM.js → FRIJ3FSA.js} +2 -2
- package/dist/arcgis-map-components/GAAOXAL6.js +4 -0
- package/dist/arcgis-map-components/{B4N3XXMN.js → HG2VALA3.js} +2 -2
- package/dist/arcgis-map-components/HW7Z4CZB.js +4 -0
- package/dist/arcgis-map-components/{V5KVHTTD.js → HZNRXF47.js} +2 -2
- package/dist/arcgis-map-components/{GAVRDI2M.js → IKGSM2C2.js} +2 -2
- package/dist/arcgis-map-components/{JMKTTV47.js → ITFN6HQK.js} +2 -2
- package/dist/arcgis-map-components/{3PBNMPLN.js → IUDW2ZVM.js} +2 -2
- package/dist/arcgis-map-components/{DT43KNRP.js → IW775SZ3.js} +2 -2
- package/dist/arcgis-map-components/{K6JLYC4K.js → IXPHHN4Z.js} +2 -2
- package/dist/arcgis-map-components/{HZXLMWI4.js → J7HGN3TZ.js} +1 -1
- package/dist/arcgis-map-components/{PEYSQ5ZQ.js → JAQQBKX6.js} +2 -2
- package/dist/arcgis-map-components/{YAEO7FHZ.js → K6PW23T7.js} +2 -2
- package/dist/arcgis-map-components/{GARYG4ZV.js → K77QPLOY.js} +2 -2
- package/dist/arcgis-map-components/{W3IEUQ3T.js → LMOFB4IY.js} +2 -2
- package/dist/arcgis-map-components/{UKXESHIF.js → M6O6GD4O.js} +2 -2
- package/dist/arcgis-map-components/{4ZLOFJWK.js → MAMFUB2L.js} +2 -2
- package/dist/arcgis-map-components/{5R7JAA4K.js → MDHKEFLL.js} +1 -1
- package/dist/arcgis-map-components/{3DJSR4KM.js → MP3QQQKU.js} +2 -2
- package/dist/arcgis-map-components/{UG5BOEWQ.js → MSOBY6NR.js} +2 -2
- package/dist/arcgis-map-components/{KVQFHHCG.js → NCWZPEUO.js} +2 -2
- package/dist/arcgis-map-components/{CI3ZCOKX.js → NVIX6GNC.js} +2 -2
- package/dist/arcgis-map-components/{KMGWVWD7.js → NYN35UXK.js} +2 -2
- package/dist/arcgis-map-components/{JQ5QQDDP.js → OMIYZ5A3.js} +2 -2
- package/dist/arcgis-map-components/{RTYGOYIP.js → OYUYZKN2.js} +2 -2
- package/dist/arcgis-map-components/PFRBRWGY.js +4 -0
- package/dist/arcgis-map-components/{3QB2C2MK.js → QBCARJYO.js} +2 -2
- package/dist/arcgis-map-components/QCYDFQGT.js +4 -0
- package/dist/arcgis-map-components/{C62ATYLY.js → QVOQDJ5B.js} +2 -2
- package/dist/arcgis-map-components/{NC64HBQN.js → R3AVBSDU.js} +2 -2
- package/dist/arcgis-map-components/{VEQBFBC6.js → RBXK5JR3.js} +2 -2
- package/dist/arcgis-map-components/{4ZMZRT6C.js → S3H7IQQP.js} +2 -2
- package/dist/arcgis-map-components/{NGYG2LMH.js → S76V3WVV.js} +2 -2
- package/dist/arcgis-map-components/{APRFYSM6.js → SI357SRE.js} +2 -2
- package/dist/arcgis-map-components/{W6ON5IY6.js → SPVD3PYB.js} +2 -2
- package/dist/arcgis-map-components/{IRHZH6RD.js → U6C4ZCMS.js} +2 -2
- package/dist/arcgis-map-components/{OW6VZAYK.js → VHE6RZA2.js} +2 -2
- package/dist/arcgis-map-components/{UJEL34OH.js → VIUD4NSE.js} +2 -2
- package/dist/arcgis-map-components/{3FHA5Q35.js → VIVRU3Y4.js} +2 -2
- package/dist/arcgis-map-components/{ME4MZYGO.js → VWEH2LWN.js} +2 -2
- package/dist/arcgis-map-components/{GIEN743A.js → WZV3Y366.js} +2 -2
- package/dist/arcgis-map-components/X7EWPPQH.js +4 -0
- package/dist/arcgis-map-components/{K4M5MK2I.js → YHASKKJ6.js} +2 -2
- package/dist/arcgis-map-components/{QRMNTHS2.js → YK5CBUJC.js} +2 -2
- package/dist/arcgis-map-components/YXSRE3F6.js +4 -0
- package/dist/arcgis-map-components/{BLLGRMVV.js → Z6JJJVA2.js} +2 -2
- package/dist/arcgis-map-components/{QZBWHUJL.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 +5 -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 +6 -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 +6 -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 +12 -9
- package/dist/components/arcgis-histogram/customElement.js +1 -1
- package/dist/components/arcgis-histogram-range-slider/customElement.d.ts +13 -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 +5 -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 +13 -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 +8 -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 +851 -167
- package/dist/docs/docs.json +681 -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 +233 -232
- 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/3TIH7FJM.js +0 -4
- package/dist/arcgis-map-components/5UCZ2NP2.js +0 -4
- package/dist/arcgis-map-components/5YLNK34L.js +0 -4
- package/dist/arcgis-map-components/D7SX7VI7.js +0 -4
- package/dist/arcgis-map-components/FQKPPNHX.js +0 -4
- package/dist/arcgis-map-components/RU3VPZSZ.js +0 -4
- package/dist/arcgis-map-components/XJPV2XF5.js +0 -4
|
@@ -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
|
};
|
|
@@ -7,7 +7,7 @@ import { html as p } from "lit";
|
|
|
7
7
|
import { LitElement as f, createEvent as t, 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.85 */
|
|
11
11
|
class g extends f {
|
|
12
12
|
constructor() {
|
|
13
13
|
super(...arguments), this._watchHandles = [], this.defaultGraphicColor = {
|
|
@@ -82,7 +82,7 @@ class g extends f {
|
|
|
82
82
|
e !== void 0 && this.widget && (this.widget.showSelectionAttributes = !e);
|
|
83
83
|
}
|
|
84
84
|
positionWatcher(e) {
|
|
85
|
-
e !== void 0 && this.widget && this.el.childElem && this.view.ui
|
|
85
|
+
e !== void 0 && this.widget && this.el.childElem && this.view.ui?.move(this.el.childElem, e);
|
|
86
86
|
}
|
|
87
87
|
viewWatcher(e) {
|
|
88
88
|
e !== void 0 && this.widget && (this.widget.view = e);
|
|
@@ -7,7 +7,7 @@ import { html as d } from "lit";
|
|
|
7
7
|
import { LitElement as n, createEvent as w, noShadowRoot as c } 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.85 */
|
|
11
11
|
class m extends n {
|
|
12
12
|
constructor() {
|
|
13
13
|
super(...arguments), this._watchHandles = [], this.extentToValidate = "current", this.position = "bottom-left", this.arcgisReady = w();
|
|
@@ -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) {
|
|
@@ -33,6 +33,9 @@ declare const useValuePickerWidget: (component: import('@arcgis/components-contr
|
|
|
33
33
|
}, options?: {
|
|
34
34
|
editConstructorProperties(props: __esri.ValuePickerProperties): __esri.ValuePickerProperties | Promise<__esri.ValuePickerProperties>;
|
|
35
35
|
} | undefined) => __esri.ValuePicker;
|
|
36
|
+
/**
|
|
37
|
+
* @internal
|
|
38
|
+
*/
|
|
36
39
|
export declare class ArcgisValuePicker extends LitElement {
|
|
37
40
|
/**
|
|
38
41
|
* If true, the component will not be destroyed automatically when it is
|
|
@@ -45,8 +48,8 @@ export declare class ArcgisValuePicker extends LitElement {
|
|
|
45
48
|
canNext: boolean;
|
|
46
49
|
canPlay: boolean;
|
|
47
50
|
canPrevious: boolean;
|
|
48
|
-
caption: string;
|
|
49
|
-
component: __esri.ValuePickerCollection | __esri.ValuePickerCombobox | __esri.ValuePickerLabel | __esri.ValuePickerSlider;
|
|
51
|
+
caption: string | nullish;
|
|
52
|
+
component: nullish | __esri.ValuePickerCollection | __esri.ValuePickerCombobox | __esri.ValuePickerLabel | __esri.ValuePickerSlider;
|
|
50
53
|
hideNextButton: boolean | undefined;
|
|
51
54
|
hidePlayButton: boolean | undefined;
|
|
52
55
|
hidePreviousButton: boolean | undefined;
|
|
@@ -57,13 +60,13 @@ export declare class ArcgisValuePicker extends LitElement {
|
|
|
57
60
|
*/
|
|
58
61
|
icon: string;
|
|
59
62
|
/** The component's default label. */
|
|
60
|
-
label: string;
|
|
61
|
-
layout: "
|
|
63
|
+
label: string | nullish;
|
|
64
|
+
layout: "vertical" | "horizontal";
|
|
62
65
|
loop: boolean;
|
|
63
66
|
playRate: number;
|
|
64
67
|
position: __esri.UIPosition;
|
|
65
68
|
referenceElement: ArcgisReferenceElement | Nil | string;
|
|
66
|
-
values: any[] | number[] | string[];
|
|
69
|
+
values: any[] | nullish | number[] | string[];
|
|
67
70
|
/** Permanently destroy the component */
|
|
68
71
|
destroy(): Promise<void>;
|
|
69
72
|
next(): Promise<void>;
|
|
@@ -7,7 +7,7 @@ import { reEmitEvent as t } from "@arcgis/components-controllers/accessor";
|
|
|
7
7
|
import { css as r } 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 l = r`arcgis-value-picker{display:block}`, c = s(e);
|
|
12
12
|
class u extends o {
|
|
13
13
|
constructor() {
|
|
@@ -15,7 +15,7 @@ declare const useVersionManagementViewModel: (component: import('@arcgis/compone
|
|
|
15
15
|
destroy?: () => Promise<void>;
|
|
16
16
|
} & Pick<VersionManagementViewModel, never> & {
|
|
17
17
|
reactiveUtils?: typeof __esri.reactiveUtils;
|
|
18
|
-
state?: "ready" | "disabled" | "loading" | "
|
|
18
|
+
state?: "ready" | "disabled" | "loading" | "executing" | "failed" | "success" | undefined;
|
|
19
19
|
icon: Nil | string;
|
|
20
20
|
label: Nil | string;
|
|
21
21
|
referenceElement: ArcgisReferenceElement | Nil | string;
|
|
@@ -169,7 +169,7 @@ export declare class ArcgisVersionManagement extends LitElement {
|
|
|
169
169
|
pageSize: number;
|
|
170
170
|
position: __esri.UIPosition;
|
|
171
171
|
referenceElement: ArcgisReferenceElement | Nil | string;
|
|
172
|
-
readonly state: "ready" | "disabled" | "loading" | "
|
|
172
|
+
readonly state: "ready" | "disabled" | "loading" | "executing" | "failed" | "success";
|
|
173
173
|
/**
|
|
174
174
|
* This class provides functionality for managing versions in a versioned geodatabase.
|
|
175
175
|
* In the event that the Version Management Component is destroyed, the VersioningStates can be utilized to maintain the current state of the Version Management Component.
|