@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
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { s, g as t } from "./chunks/runtime.js";
|
|
2
2
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
4
|
-
v4.32.0-next.
|
|
4
|
+
v4.32.0-next.85 */
|
|
5
5
|
const a = s, A = t;
|
|
6
6
|
export {
|
|
7
7
|
A as getArcgisAssetPath,
|
package/dist/loader.js
CHANGED
|
@@ -2,7 +2,7 @@ import { r as e } from "./chunks/runtime.js";
|
|
|
2
2
|
import { makeDefineCustomElements as t } from "@arcgis/lumina";
|
|
3
3
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
4
4
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
5
|
-
v4.32.0-next.
|
|
5
|
+
v4.32.0-next.85 */
|
|
6
6
|
const a = t(e, {
|
|
7
7
|
"arcgis-area-measurement-2d": [() => import("./components/arcgis-area-measurement-2d/customElement.js"), "autoDestroyDisabled,icon,label,position,referenceElement,state,unit,unitOptions:;destroy"],
|
|
8
8
|
"arcgis-area-measurement-3d": [() => import("./components/arcgis-area-measurement-3d/customElement.js"), "analysis:,autoDestroyDisabled,icon,label,position,referenceElement,state,unit,unitOptions:;clear,destroy,start"],
|
|
@@ -40,7 +40,7 @@ const a = t(e, {
|
|
|
40
40
|
"arcgis-locate": [() => import("./components/arcgis-locate/customElement.js"), "autoDestroyDisabled,geolocationOptions,goToLocationDisabled,goToOverride:,graphic:,icon,label,messageOverrides:,popupDisabled,position,referenceElement,scale,state;cancelLocate,destroy,locate"],
|
|
41
41
|
"arcgis-map": [() => import("./components/arcgis-map/customElement.js"), "allLayerViews:,autoDestroyDisabled,background:,basemap,basemapView:,center,constraints:,displayFilterDisabled,extent:,fatalError:,floors:,gamepad:,graphics:,ground,highlightOptions:,highlights:,interacting:,ipsInfo:,itemId,layerViews:,magnifier:,map:,navigating:,navigation:,padding:,popup:,popupDisabled,ready:,resizeAlign,resolution:,rotation,scale,spatialReference:,stationary:,suspended,theme:,timeExtent:,timeZone,updating,view:,viewpoint:,zoom;addLayer,addLayers,closePopup,destroy,goTo,hitTest,openPopup,takeScreenshot,tryFatalErrorRecovery,whenLayerView;toMap,toScreen"],
|
|
42
42
|
"arcgis-measurement": [() => import("./components/arcgis-measurement/customElement.js"), "activeTool,activeWidget:,areaUnit,autoDestroyDisabled,icon,label,linearUnit,position,referenceElement,state;clear,destroy,startMeasurement"],
|
|
43
|
-
"arcgis-navigation-toggle": [() => import("./components/arcgis-navigation-toggle/customElement.js"), "autoDestroyDisabled,icon,label,layout,position,referenceElement,state;destroy,toggle"],
|
|
43
|
+
"arcgis-navigation-toggle": [() => import("./components/arcgis-navigation-toggle/customElement.js"), "autoDestroyDisabled,icon,label,layout,navigationMode,position,referenceElement,state;destroy,toggle"],
|
|
44
44
|
"arcgis-oriented-imagery-viewer": [() => import("./components/arcgis-oriented-imagery-viewer/customElement.js"), "autoDestroyDisabled,currentCoverageVisible,disabled,galleryOpened,icon,imageEnhancementToolActive,imageGalleryEnabled:,isAdditionalCoverageVisible,isAdditionalPointSourcesVisible,label,layer:,mapImageConversionToolState,navigationToolActive,orientedImageryLayerItemId,position,referenceElement,referencePoint:;destroy"],
|
|
45
45
|
"arcgis-placement": [() => import("./components/arcgis-placement/customElement.js"), "position,referenceElement"],
|
|
46
46
|
"arcgis-print": [() => import("./components/arcgis-print/customElement.js"), "allowedFormats,allowedLayouts,autoDestroyDisabled,exportedLinks:,extraParameters,headingLevel,icon,includeDefaultTemplatesDisabled,label,portal:,position,printServiceUrl,referenceElement,showPrintAreaEnabled,state,templateCustomTextElements:,templateOptions:;destroy"],
|
|
@@ -56,7 +56,7 @@ const a = t(e, {
|
|
|
56
56
|
"arcgis-table-list": [() => import("./components/arcgis-table-list/customElement.js"), "autoDestroyDisabled,collapsed,dragEnabled,filterPlaceholder,filterPredicate:,filterText,hideFlow,hideStatusIndicators,icon,label,listItemCreatedFunction:,minDragEnabledItems,minFilterItems,position,referenceElement,selectedItems:,selectionMode,showCloseButton,showCollapseButton,showErrors,showFilter,showHeading,showTemporaryTableIndicators,state,tableItems:;destroy"],
|
|
57
57
|
"arcgis-time-slider": [() => import("./components/arcgis-time-slider/customElement.js"), "actions:,autoDestroyDisabled,disabled,effectiveStops:,fullTimeExtent:,icon,label,layout,loop,mode,playRate,position,referenceElement,state,stops:,tickConfigs:,timeExtent:,timeVisible,timeZone;applyTimeSliderSettings,destroy,next,play,previous,stop,updateWebDocument"],
|
|
58
58
|
"arcgis-track": [() => import("./components/arcgis-track/customElement.js"), "autoDestroyDisabled,error,geolocationOptions,goToLocationDisabled,goToOverride:,graphic:,icon,label,messageOverrides:,position,positionFilterFunction:,referenceElement,scale,state:,tracking:;destroy,start,stop"],
|
|
59
|
-
"arcgis-utility-network-associations": [() => import("./components/arcgis-utility-network-associations/customElement.js"), "autoRefreshAssociationsDisabled,connectivityAssociationsLineSymbol:,includeConnectivityAssociationsDisabled,includeStructuralAttachmentAssociationsDisabled,maxAllowableAssociations,maxAllowableAssociationsSliderMax,maxAllowableAssociationsSliderMin,maxAllowableAssociationsSliderStep,position,referenceElement,showArrowsConnectivity,showArrowsStructuralAttachment,showAssociationsEnabled,structuralAttachmentAssociationsLineSymbol:,utilityNetwork:,
|
|
59
|
+
"arcgis-utility-network-associations": [() => import("./components/arcgis-utility-network-associations/customElement.js"), "autoDestroyDisabled,autoRefreshAssociationsDisabled,connectivityAssociationsLineSymbol:,hideConnectivityAssociationsSettingsColorPicker,hideConnectivityAssociationsSettingsStylePicker,hideConnectivityAssociationsSettingsWidthInput,hideStructuralAttachmentAssociationsSettingsColorPicker,hideStructuralAttachmentAssociationsSettingsStylePicker,hideStructuralAttachmentAssociationsSettingsWidthInput,icon,includeConnectivityAssociationsDisabled,includeStructuralAttachmentAssociationsDisabled,label,maxAllowableAssociations,maxAllowableAssociationsSliderMax,maxAllowableAssociationsSliderMin,maxAllowableAssociationsSliderStep,position,referenceElement,showArrowsConnectivity,showArrowsStructuralAttachment,showAssociationsEnabled,showConnectivityAssociationsSettingsArrowsToggle,showConnectivityAssociationsSettingsCapSelect,showMaxAllowableAssociationsSlider,showStructuralAttachmentAssociationsSettingsArrowsToggle,showStructuralAttachmentAssociationsSettingsCapSelect,structuralAttachmentAssociationsLineSymbol:,utilityNetwork:,visibleElementsConnectivityAssociationsSettingsArrowsToggle,visibleElementsConnectivityAssociationsSettingsCapSelect,visibleElementsConnectivityAssociationsSettingsColorPicker,visibleElementsConnectivityAssociationsSettingsStylePicker,visibleElementsConnectivityAssociationsSettingsWidthInput,visibleElementsMaxAllowableAssociationsSlider,visibleElementsStructuralAttachmentAssociationsSettingsArrowsToggle,visibleElementsStructuralAttachmentAssociationsSettingsCapSelect,visibleElementsStructuralAttachmentAssociationsSettingsColorPicker,visibleElementsStructuralAttachmentAssociationsSettingsStylePicker,visibleElementsStructuralAttachmentAssociationsSettingsWidthInput;destroy"],
|
|
60
60
|
"arcgis-utility-network-trace": [() => import("./components/arcgis-utility-network-trace/customElement.js"), "defaultGraphicColor:,disabled,enableResultArea,flags:,gdbVersion,inputSettings:,position,referenceElement,resultAreaProperties:,selectedTraces:,selectOnCompleteDisabled,showGraphicsOnCompleteDisabled,showSelectionAttributesDisabled,view:,widget:;checkCanTrace,confirmReset"],
|
|
61
61
|
"arcgis-utility-network-validate-topology": [() => import("./components/arcgis-utility-network-validate-topology/customElement.js"), "extentToValidate,position,referenceElement,utilityNetwork:,view:,widget:"],
|
|
62
62
|
"arcgis-value-picker": [() => import("./components/arcgis-value-picker/customElement.js"), "autoDestroyDisabled,canNext,canPlay,canPrevious,caption,component:,hideNextButton,hidePlayButton,hidePreviousButton,icon,label,layout,loop,playRate,position,referenceElement,values:;destroy,next,pause,play,previous"],
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { default as SpatialReference } from '@arcgis/core/geometry/SpatialReference';
|
|
2
|
+
export declare const wgs84: SpatialReference;
|
|
3
|
+
export declare const webMercator: SpatialReference;
|
|
4
|
+
export declare const cgcs2000: SpatialReference;
|
|
5
|
+
export declare const moonSR: SpatialReference;
|
|
6
|
+
export declare const marsSR: SpatialReference;
|
|
7
|
+
export declare const swissLv95: SpatialReference;
|
|
8
|
+
export declare const swissLv03: SpatialReference;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Service } from '@webgis/service-mocks';
|
|
2
|
+
export declare function startServices(services?: Service[]): Promise<void>;
|
|
3
|
+
/**
|
|
4
|
+
* Updates the service mocks library with the provided list of services and event handlers. If
|
|
5
|
+
* the services and event handlers are both empty, the whole service mocks library is stopped.
|
|
6
|
+
*
|
|
7
|
+
* @param services list of services.
|
|
8
|
+
*/
|
|
9
|
+
export declare function updateServices(services?: Service[]): Promise<void>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { default as SpatialReference } from '@arcgis/core/geometry/SpatialReference';
|
|
2
|
+
import { default as Layer } from '@arcgis/core/layers/Layer';
|
|
3
|
+
import { JsxNode, LitElement, ToElement } from '@arcgis/lumina';
|
|
4
|
+
import { RenderResult } from '@arcgis/lumina-compiler/testing';
|
|
5
|
+
import { Service } from '@webgis/service-mocks';
|
|
6
|
+
import { TemplateResult } from 'lit-html';
|
|
7
|
+
import { ArcgisMap } from '../components/arcgis-map/customElement.js';
|
|
8
|
+
import { ArcgisPlacement } from '../components/arcgis-placement/customElement.js';
|
|
9
|
+
import { ArcgisScene } from '../components/arcgis-scene/customElement.js';
|
|
10
|
+
interface CommonOptions {
|
|
11
|
+
services?: Service[];
|
|
12
|
+
placement?: ArcgisPlacement["position"];
|
|
13
|
+
}
|
|
14
|
+
interface MapOptions {
|
|
15
|
+
layers?: Layer[];
|
|
16
|
+
}
|
|
17
|
+
interface MapOptions2D extends MapOptions {
|
|
18
|
+
}
|
|
19
|
+
interface MapOptions3D extends MapOptions {
|
|
20
|
+
}
|
|
21
|
+
interface ViewOptions {
|
|
22
|
+
spatialReference?: SpatialReference;
|
|
23
|
+
width?: number;
|
|
24
|
+
height?: number;
|
|
25
|
+
}
|
|
26
|
+
interface ViewOptions2D extends ViewOptions {
|
|
27
|
+
}
|
|
28
|
+
interface ViewOptions3D extends ViewOptions {
|
|
29
|
+
}
|
|
30
|
+
type DefineOptions<MapOptionsType, ViewOptionsType> = CommonOptions & {
|
|
31
|
+
mapOptions?: MapOptionsType;
|
|
32
|
+
viewOptions?: ViewOptionsType;
|
|
33
|
+
};
|
|
34
|
+
type Options2D = DefineOptions<MapOptions2D, ViewOptions2D>;
|
|
35
|
+
type Options3D = DefineOptions<MapOptions3D, ViewOptions3D>;
|
|
36
|
+
export interface ToRenderResult<ViewComponent extends HTMLElement, Component extends HTMLElement> extends RenderResult<Component> {
|
|
37
|
+
viewEl: ToElement<ViewComponent>;
|
|
38
|
+
}
|
|
39
|
+
type JsxFn = () => JsxNode;
|
|
40
|
+
type MountFunctionSignature<OptionsType extends Options2D | Options3D, ViewComponent extends HTMLElement> = {
|
|
41
|
+
<const TagName extends keyof DeclareElements>(tagName: TagName, options?: OptionsType): Promise<ToRenderResult<ViewComponent, DeclareElements[TagName]>>;
|
|
42
|
+
<Class extends typeof LitElement>(template: Class | JsxFn | TemplateResult, options?: OptionsType): Promise<ToRenderResult<ViewComponent, InstanceType<Class>>>;
|
|
43
|
+
<TagName extends keyof DeclareElements = never>(jsx: JsxFn | TemplateResult, options?: OptionsType): Promise<ToRenderResult<ViewComponent, [TagName] extends [never] ? LitElement : DeclareElements[TagName]>>;
|
|
44
|
+
<Component extends LitElement>(template: JsxFn | TemplateResult | (new () => Component), options?: OptionsType): Promise<ToRenderResult<ViewComponent, Component>>;
|
|
45
|
+
};
|
|
46
|
+
export declare const mountWithMap: MountFunctionSignature<Options2D, ArcgisMap>;
|
|
47
|
+
export declare const mountWithScene: MountFunctionSignature<Options3D, ArcgisScene>;
|
|
48
|
+
export declare function expectToBeSome<T>(value: T | null | undefined): asserts value is NonNullable<T>;
|
|
49
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { TileInfo as TileInfoJSON } from '@webgis/service-mocks/dist/utilities/types';
|
|
2
|
+
export declare const webMercatorTileInfo: TileInfoJSON;
|
|
3
|
+
export declare const wgs84TileInfo: TileInfoJSON;
|
|
4
|
+
export declare const cgcs2000TileInfo: TileInfoJSON;
|
|
5
|
+
export declare const moonTileInfo: TileInfoJSON;
|
|
6
|
+
export declare const marsTileInfo: TileInfoJSON;
|
|
7
|
+
export declare const planarWebMercatorTileInfo: TileInfoJSON;
|
|
8
|
+
export declare const planarWgs84TileInfo: TileInfoJSON;
|
|
9
|
+
export declare const planarSwissLv03TileInfo: TileInfoJSON;
|
|
10
|
+
export declare const planarSwissLv95TileInfo: TileInfoJSON;
|
package/dist/types/lumina.d.ts
CHANGED
|
@@ -217,7 +217,7 @@ interface LuminaArcgisHome extends Partial<Pick<ArcgisHome, 'autoDestroyDisabled
|
|
|
217
217
|
onarcgisReady?: EventHandler<HTMLArcgisHomeElement["arcgisReady"]>;
|
|
218
218
|
}
|
|
219
219
|
|
|
220
|
-
interface LuminaArcgisLayerList extends Partial<Pick<ArcgisLayerList, 'autoDestroyDisabled' | 'catalogOptions' | 'collapsed' | 'dragEnabled' | 'filterPlaceholder' | 'filterPredicate' | 'filterText' | 'headingLevel' | 'hideCatalogLayerList' | 'hideFlow' | 'hideStatusIndicators' | 'icon' | 'knowledgeGraphOptions' | 'label' | 'listItemCreatedFunction' | 'minDragEnabledItems' | 'minFilterItems' | '
|
|
220
|
+
interface LuminaArcgisLayerList extends Partial<Pick<ArcgisLayerList, 'autoDestroyDisabled' | 'catalogOptions' | 'collapsed' | 'dragEnabled' | 'filterPlaceholder' | 'filterPredicate' | 'filterText' | 'headingLevel' | 'hideCatalogLayerList' | 'hideFlow' | 'hideStatusIndicators' | 'icon' | 'knowledgeGraphOptions' | 'label' | 'listItemCreatedFunction' | 'minDragEnabledItems' | 'minFilterItems' | 'position' | 'referenceElement' | 'selectedItems' | 'selectionMode' | 'showCloseButton' | 'showCollapseButton' | 'showErrors' | 'showFilter' | 'showHeading' | 'showTemporaryLayerIndicators' | 'visibilityAppearance'>>, h.JSX.HTMLAttributes<HTMLArcgisLayerListElement> {
|
|
221
221
|
onarcgisPropertyChange?: EventHandler<HTMLArcgisLayerListElement["arcgisPropertyChange"]>;
|
|
222
222
|
onarcgisReady?: EventHandler<HTMLArcgisLayerListElement["arcgisReady"]>;
|
|
223
223
|
onarcgisTriggerAction?: EventHandler<HTMLArcgisLayerListElement["arcgisTriggerAction"]>;
|
|
@@ -233,7 +233,7 @@ interface LuminaArcgisLineOfSight extends Partial<Pick<ArcgisLineOfSight, 'autoD
|
|
|
233
233
|
onarcgisReady?: EventHandler<HTMLArcgisLineOfSightElement["arcgisReady"]>;
|
|
234
234
|
}
|
|
235
235
|
|
|
236
|
-
interface LuminaArcgisLinkChart extends Partial<Pick<ArcgisLinkChart, '
|
|
236
|
+
interface LuminaArcgisLinkChart extends Partial<Pick<ArcgisLinkChart, 'autoDestroyDisabled' | 'background' | 'basemap' | 'basemapView' | 'constraints' | 'extent' | 'fatalError' | 'graphics' | 'itemId' | 'layerViews' | 'map' | 'navigation' | 'padding' | 'popup' | 'popupDisabled' | 'resizeAlign' | 'rotation' | 'scale' | 'spatialReference' | 'theme' | 'timeExtent' | 'timeZone' | 'viewpoint' | 'zoom'>>, ArcgisLinkChartSetterTypes, h.JSX.HTMLAttributes<HTMLArcgisLinkChartElement> {
|
|
237
237
|
onarcgisViewChange?: EventHandler<HTMLArcgisLinkChartElement["arcgisViewChange"]>;
|
|
238
238
|
onarcgisViewClick?: EventHandler<HTMLArcgisLinkChartElement["arcgisViewClick"]>;
|
|
239
239
|
onarcgisViewDoubleClick?: EventHandler<HTMLArcgisLinkChartElement["arcgisViewDoubleClick"]>;
|
|
@@ -263,7 +263,7 @@ interface LuminaArcgisLocate extends Partial<Pick<ArcgisLocate, 'autoDestroyDisa
|
|
|
263
263
|
onarcgisSuccess?: EventHandler<HTMLArcgisLocateElement["arcgisSuccess"]>;
|
|
264
264
|
}
|
|
265
265
|
|
|
266
|
-
interface LuminaArcgisMap extends Partial<Pick<ArcgisMap, '
|
|
266
|
+
interface LuminaArcgisMap extends Partial<Pick<ArcgisMap, 'autoDestroyDisabled' | 'background' | 'basemap' | 'basemapView' | 'constraints' | 'displayFilterDisabled' | 'extent' | 'fatalError' | 'floors' | 'graphics' | 'ground' | 'highlightOptions' | 'ipsInfo' | 'itemId' | 'layerViews' | 'map' | 'navigation' | 'padding' | 'popup' | 'popupDisabled' | 'resizeAlign' | 'rotation' | 'scale' | 'spatialReference' | 'theme' | 'timeExtent' | 'timeZone' | 'viewpoint' | 'zoom'>>, ArcgisMapSetterTypes, h.JSX.HTMLAttributes<HTMLArcgisMapElement> {
|
|
267
267
|
onarcgisViewChange?: EventHandler<HTMLArcgisMapElement["arcgisViewChange"]>;
|
|
268
268
|
onarcgisViewClick?: EventHandler<HTMLArcgisMapElement["arcgisViewClick"]>;
|
|
269
269
|
onarcgisViewDoubleClick?: EventHandler<HTMLArcgisMapElement["arcgisViewDoubleClick"]>;
|
|
@@ -291,7 +291,7 @@ interface LuminaArcgisMeasurement extends Partial<Pick<ArcgisMeasurement, 'activ
|
|
|
291
291
|
onarcgisReady?: EventHandler<HTMLArcgisMeasurementElement["arcgisReady"]>;
|
|
292
292
|
}
|
|
293
293
|
|
|
294
|
-
interface LuminaArcgisNavigationToggle extends Partial<Pick<ArcgisNavigationToggle, 'autoDestroyDisabled' | 'icon' | 'label' | 'layout' | 'position' | 'referenceElement'>>, h.JSX.HTMLAttributes<HTMLArcgisNavigationToggleElement> {
|
|
294
|
+
interface LuminaArcgisNavigationToggle extends Partial<Pick<ArcgisNavigationToggle, 'autoDestroyDisabled' | 'icon' | 'label' | 'layout' | 'navigationMode' | 'position' | 'referenceElement'>>, h.JSX.HTMLAttributes<HTMLArcgisNavigationToggleElement> {
|
|
295
295
|
onarcgisPropertyChange?: EventHandler<HTMLArcgisNavigationToggleElement["arcgisPropertyChange"]>;
|
|
296
296
|
onarcgisReady?: EventHandler<HTMLArcgisNavigationToggleElement["arcgisReady"]>;
|
|
297
297
|
}
|
|
@@ -321,7 +321,7 @@ interface LuminaArcgisScaleRangeSlider extends Partial<Pick<ArcgisScaleRangeSlid
|
|
|
321
321
|
onarcgisReady?: EventHandler<HTMLArcgisScaleRangeSliderElement["arcgisReady"]>;
|
|
322
322
|
}
|
|
323
323
|
|
|
324
|
-
interface LuminaArcgisScene extends Partial<Pick<ArcgisScene, '
|
|
324
|
+
interface LuminaArcgisScene extends Partial<Pick<ArcgisScene, 'alphaCompositingEnabled' | 'analyses' | 'autoDestroyDisabled' | 'basemap' | 'basemapView' | 'camera' | 'cameraFov' | 'cameraHeading' | 'cameraPosition' | 'cameraTilt' | 'clippingArea' | 'constraints' | 'displayFilterDisabled' | 'environment' | 'extent' | 'fatalError' | 'floors' | 'graphics' | 'ground' | 'highlightOptions' | 'itemId' | 'layerViews' | 'map' | 'navigation' | 'padding' | 'popup' | 'popupDisabled' | 'qualityProfile' | 'scale' | 'spatialReference' | 'theme' | 'timeExtent' | 'viewingMode' | 'viewpoint' | 'zoom'>>, ArcgisSceneSetterTypes, h.JSX.HTMLAttributes<HTMLArcgisSceneElement> {
|
|
325
325
|
onarcgisViewChange?: EventHandler<HTMLArcgisSceneElement["arcgisViewChange"]>;
|
|
326
326
|
onarcgisViewClick?: EventHandler<HTMLArcgisSceneElement["arcgisViewClick"]>;
|
|
327
327
|
onarcgisViewDoubleClick?: EventHandler<HTMLArcgisSceneElement["arcgisViewDoubleClick"]>;
|
|
@@ -417,7 +417,7 @@ interface LuminaArcgisTrack extends Partial<Pick<ArcgisTrack, 'autoDestroyDisabl
|
|
|
417
417
|
onarcgisReady?: EventHandler<HTMLArcgisTrackElement["arcgisReady"]>;
|
|
418
418
|
}
|
|
419
419
|
|
|
420
|
-
interface LuminaArcgisUtilityNetworkAssociations extends Partial<Pick<ArcgisUtilityNetworkAssociations, 'autoRefreshAssociationsDisabled' | 'connectivityAssociationsLineSymbol' | 'includeConnectivityAssociationsDisabled' | 'includeStructuralAttachmentAssociationsDisabled' | 'maxAllowableAssociations' | 'maxAllowableAssociationsSliderMax' | 'maxAllowableAssociationsSliderMin' | 'maxAllowableAssociationsSliderStep' | 'position' | 'referenceElement' | 'showArrowsConnectivity' | 'showArrowsStructuralAttachment' | 'showAssociationsEnabled' | 'structuralAttachmentAssociationsLineSymbol' | 'utilityNetwork' | 'visibleElementsConnectivityAssociationsSettingsArrowsToggle' | 'visibleElementsConnectivityAssociationsSettingsCapSelect' | 'visibleElementsConnectivityAssociationsSettingsColorPicker' | 'visibleElementsConnectivityAssociationsSettingsStylePicker' | 'visibleElementsConnectivityAssociationsSettingsWidthInput' | 'visibleElementsMaxAllowableAssociationsSlider' | 'visibleElementsStructuralAttachmentAssociationsSettingsArrowsToggle' | 'visibleElementsStructuralAttachmentAssociationsSettingsCapSelect' | 'visibleElementsStructuralAttachmentAssociationsSettingsColorPicker' | 'visibleElementsStructuralAttachmentAssociationsSettingsStylePicker' | 'visibleElementsStructuralAttachmentAssociationsSettingsWidthInput'>>, h.JSX.HTMLAttributes<HTMLArcgisUtilityNetworkAssociationsElement> {
|
|
420
|
+
interface LuminaArcgisUtilityNetworkAssociations extends Partial<Pick<ArcgisUtilityNetworkAssociations, 'autoDestroyDisabled' | 'autoRefreshAssociationsDisabled' | 'connectivityAssociationsLineSymbol' | 'hideConnectivityAssociationsSettingsColorPicker' | 'hideConnectivityAssociationsSettingsStylePicker' | 'hideConnectivityAssociationsSettingsWidthInput' | 'hideStructuralAttachmentAssociationsSettingsColorPicker' | 'hideStructuralAttachmentAssociationsSettingsStylePicker' | 'hideStructuralAttachmentAssociationsSettingsWidthInput' | 'icon' | 'includeConnectivityAssociationsDisabled' | 'includeStructuralAttachmentAssociationsDisabled' | 'label' | 'maxAllowableAssociations' | 'maxAllowableAssociationsSliderMax' | 'maxAllowableAssociationsSliderMin' | 'maxAllowableAssociationsSliderStep' | 'position' | 'referenceElement' | 'showArrowsConnectivity' | 'showArrowsStructuralAttachment' | 'showAssociationsEnabled' | 'showConnectivityAssociationsSettingsArrowsToggle' | 'showConnectivityAssociationsSettingsCapSelect' | 'showMaxAllowableAssociationsSlider' | 'showStructuralAttachmentAssociationsSettingsArrowsToggle' | 'showStructuralAttachmentAssociationsSettingsCapSelect' | 'structuralAttachmentAssociationsLineSymbol' | 'utilityNetwork' | 'visibleElementsConnectivityAssociationsSettingsArrowsToggle' | 'visibleElementsConnectivityAssociationsSettingsCapSelect' | 'visibleElementsConnectivityAssociationsSettingsColorPicker' | 'visibleElementsConnectivityAssociationsSettingsStylePicker' | 'visibleElementsConnectivityAssociationsSettingsWidthInput' | 'visibleElementsMaxAllowableAssociationsSlider' | 'visibleElementsStructuralAttachmentAssociationsSettingsArrowsToggle' | 'visibleElementsStructuralAttachmentAssociationsSettingsCapSelect' | 'visibleElementsStructuralAttachmentAssociationsSettingsColorPicker' | 'visibleElementsStructuralAttachmentAssociationsSettingsStylePicker' | 'visibleElementsStructuralAttachmentAssociationsSettingsWidthInput'>>, h.JSX.HTMLAttributes<HTMLArcgisUtilityNetworkAssociationsElement> {
|
|
421
421
|
onarcgisReady?: EventHandler<HTMLArcgisUtilityNetworkAssociationsElement["arcgisReady"]>;
|
|
422
422
|
}
|
|
423
423
|
|
package/dist/types/preact.d.ts
CHANGED
|
@@ -218,7 +218,7 @@ interface PreactArcgisHome extends Partial<Pick<ArcgisHome, 'autoDestroyDisabled
|
|
|
218
218
|
onarcgisReady?: EventHandler<HTMLArcgisHomeElement["arcgisReady"]>;
|
|
219
219
|
}
|
|
220
220
|
|
|
221
|
-
interface PreactArcgisLayerList extends Partial<Pick<ArcgisLayerList, 'autoDestroyDisabled' | 'catalogOptions' | 'collapsed' | 'dragEnabled' | 'filterPlaceholder' | 'filterPredicate' | 'filterText' | 'headingLevel' | 'hideCatalogLayerList' | 'hideFlow' | 'hideStatusIndicators' | 'icon' | 'knowledgeGraphOptions' | 'label' | 'listItemCreatedFunction' | 'minDragEnabledItems' | 'minFilterItems' | '
|
|
221
|
+
interface PreactArcgisLayerList extends Partial<Pick<ArcgisLayerList, 'autoDestroyDisabled' | 'catalogOptions' | 'collapsed' | 'dragEnabled' | 'filterPlaceholder' | 'filterPredicate' | 'filterText' | 'headingLevel' | 'hideCatalogLayerList' | 'hideFlow' | 'hideStatusIndicators' | 'icon' | 'knowledgeGraphOptions' | 'label' | 'listItemCreatedFunction' | 'minDragEnabledItems' | 'minFilterItems' | 'position' | 'referenceElement' | 'selectedItems' | 'selectionMode' | 'showCloseButton' | 'showCollapseButton' | 'showErrors' | 'showFilter' | 'showHeading' | 'showTemporaryLayerIndicators' | 'visibilityAppearance'>>, PreactJsx.HTMLAttributes<HTMLArcgisLayerListElement> {
|
|
222
222
|
onarcgisPropertyChange?: EventHandler<HTMLArcgisLayerListElement["arcgisPropertyChange"]>;
|
|
223
223
|
onarcgisReady?: EventHandler<HTMLArcgisLayerListElement["arcgisReady"]>;
|
|
224
224
|
onarcgisTriggerAction?: EventHandler<HTMLArcgisLayerListElement["arcgisTriggerAction"]>;
|
|
@@ -234,7 +234,7 @@ interface PreactArcgisLineOfSight extends Partial<Pick<ArcgisLineOfSight, 'autoD
|
|
|
234
234
|
onarcgisReady?: EventHandler<HTMLArcgisLineOfSightElement["arcgisReady"]>;
|
|
235
235
|
}
|
|
236
236
|
|
|
237
|
-
interface PreactArcgisLinkChart extends Partial<Pick<ArcgisLinkChart, '
|
|
237
|
+
interface PreactArcgisLinkChart extends Partial<Pick<ArcgisLinkChart, 'autoDestroyDisabled' | 'background' | 'basemap' | 'basemapView' | 'constraints' | 'extent' | 'fatalError' | 'graphics' | 'itemId' | 'layerViews' | 'map' | 'navigation' | 'padding' | 'popup' | 'popupDisabled' | 'resizeAlign' | 'rotation' | 'scale' | 'spatialReference' | 'theme' | 'timeExtent' | 'timeZone' | 'viewpoint' | 'zoom'>>, ArcgisLinkChartSetterTypes, PreactJsx.HTMLAttributes<HTMLArcgisLinkChartElement> {
|
|
238
238
|
onarcgisViewChange?: EventHandler<HTMLArcgisLinkChartElement["arcgisViewChange"]>;
|
|
239
239
|
onarcgisViewClick?: EventHandler<HTMLArcgisLinkChartElement["arcgisViewClick"]>;
|
|
240
240
|
onarcgisViewDoubleClick?: EventHandler<HTMLArcgisLinkChartElement["arcgisViewDoubleClick"]>;
|
|
@@ -264,7 +264,7 @@ interface PreactArcgisLocate extends Partial<Pick<ArcgisLocate, 'autoDestroyDisa
|
|
|
264
264
|
onarcgisSuccess?: EventHandler<HTMLArcgisLocateElement["arcgisSuccess"]>;
|
|
265
265
|
}
|
|
266
266
|
|
|
267
|
-
interface PreactArcgisMap extends Partial<Pick<ArcgisMap, '
|
|
267
|
+
interface PreactArcgisMap extends Partial<Pick<ArcgisMap, 'autoDestroyDisabled' | 'background' | 'basemap' | 'basemapView' | 'constraints' | 'displayFilterDisabled' | 'extent' | 'fatalError' | 'floors' | 'graphics' | 'ground' | 'highlightOptions' | 'ipsInfo' | 'itemId' | 'layerViews' | 'map' | 'navigation' | 'padding' | 'popup' | 'popupDisabled' | 'resizeAlign' | 'rotation' | 'scale' | 'spatialReference' | 'theme' | 'timeExtent' | 'timeZone' | 'viewpoint' | 'zoom'>>, ArcgisMapSetterTypes, PreactJsx.HTMLAttributes<HTMLArcgisMapElement> {
|
|
268
268
|
onarcgisViewChange?: EventHandler<HTMLArcgisMapElement["arcgisViewChange"]>;
|
|
269
269
|
onarcgisViewClick?: EventHandler<HTMLArcgisMapElement["arcgisViewClick"]>;
|
|
270
270
|
onarcgisViewDoubleClick?: EventHandler<HTMLArcgisMapElement["arcgisViewDoubleClick"]>;
|
|
@@ -292,7 +292,7 @@ interface PreactArcgisMeasurement extends Partial<Pick<ArcgisMeasurement, 'activ
|
|
|
292
292
|
onarcgisReady?: EventHandler<HTMLArcgisMeasurementElement["arcgisReady"]>;
|
|
293
293
|
}
|
|
294
294
|
|
|
295
|
-
interface PreactArcgisNavigationToggle extends Partial<Pick<ArcgisNavigationToggle, 'autoDestroyDisabled' | 'icon' | 'label' | 'layout' | 'position' | 'referenceElement'>>, PreactJsx.HTMLAttributes<HTMLArcgisNavigationToggleElement> {
|
|
295
|
+
interface PreactArcgisNavigationToggle extends Partial<Pick<ArcgisNavigationToggle, 'autoDestroyDisabled' | 'icon' | 'label' | 'layout' | 'navigationMode' | 'position' | 'referenceElement'>>, PreactJsx.HTMLAttributes<HTMLArcgisNavigationToggleElement> {
|
|
296
296
|
onarcgisPropertyChange?: EventHandler<HTMLArcgisNavigationToggleElement["arcgisPropertyChange"]>;
|
|
297
297
|
onarcgisReady?: EventHandler<HTMLArcgisNavigationToggleElement["arcgisReady"]>;
|
|
298
298
|
}
|
|
@@ -322,7 +322,7 @@ interface PreactArcgisScaleRangeSlider extends Partial<Pick<ArcgisScaleRangeSlid
|
|
|
322
322
|
onarcgisReady?: EventHandler<HTMLArcgisScaleRangeSliderElement["arcgisReady"]>;
|
|
323
323
|
}
|
|
324
324
|
|
|
325
|
-
interface PreactArcgisScene extends Partial<Pick<ArcgisScene, '
|
|
325
|
+
interface PreactArcgisScene extends Partial<Pick<ArcgisScene, 'alphaCompositingEnabled' | 'analyses' | 'autoDestroyDisabled' | 'basemap' | 'basemapView' | 'camera' | 'cameraFov' | 'cameraHeading' | 'cameraPosition' | 'cameraTilt' | 'clippingArea' | 'constraints' | 'displayFilterDisabled' | 'environment' | 'extent' | 'fatalError' | 'floors' | 'graphics' | 'ground' | 'highlightOptions' | 'itemId' | 'layerViews' | 'map' | 'navigation' | 'padding' | 'popup' | 'popupDisabled' | 'qualityProfile' | 'scale' | 'spatialReference' | 'theme' | 'timeExtent' | 'viewingMode' | 'viewpoint' | 'zoom'>>, ArcgisSceneSetterTypes, PreactJsx.HTMLAttributes<HTMLArcgisSceneElement> {
|
|
326
326
|
onarcgisViewChange?: EventHandler<HTMLArcgisSceneElement["arcgisViewChange"]>;
|
|
327
327
|
onarcgisViewClick?: EventHandler<HTMLArcgisSceneElement["arcgisViewClick"]>;
|
|
328
328
|
onarcgisViewDoubleClick?: EventHandler<HTMLArcgisSceneElement["arcgisViewDoubleClick"]>;
|
|
@@ -418,7 +418,7 @@ interface PreactArcgisTrack extends Partial<Pick<ArcgisTrack, 'autoDestroyDisabl
|
|
|
418
418
|
onarcgisReady?: EventHandler<HTMLArcgisTrackElement["arcgisReady"]>;
|
|
419
419
|
}
|
|
420
420
|
|
|
421
|
-
interface PreactArcgisUtilityNetworkAssociations extends Partial<Pick<ArcgisUtilityNetworkAssociations, 'autoRefreshAssociationsDisabled' | 'connectivityAssociationsLineSymbol' | 'includeConnectivityAssociationsDisabled' | 'includeStructuralAttachmentAssociationsDisabled' | 'maxAllowableAssociations' | 'maxAllowableAssociationsSliderMax' | 'maxAllowableAssociationsSliderMin' | 'maxAllowableAssociationsSliderStep' | 'position' | 'referenceElement' | 'showArrowsConnectivity' | 'showArrowsStructuralAttachment' | 'showAssociationsEnabled' | 'structuralAttachmentAssociationsLineSymbol' | 'utilityNetwork' | 'visibleElementsConnectivityAssociationsSettingsArrowsToggle' | 'visibleElementsConnectivityAssociationsSettingsCapSelect' | 'visibleElementsConnectivityAssociationsSettingsColorPicker' | 'visibleElementsConnectivityAssociationsSettingsStylePicker' | 'visibleElementsConnectivityAssociationsSettingsWidthInput' | 'visibleElementsMaxAllowableAssociationsSlider' | 'visibleElementsStructuralAttachmentAssociationsSettingsArrowsToggle' | 'visibleElementsStructuralAttachmentAssociationsSettingsCapSelect' | 'visibleElementsStructuralAttachmentAssociationsSettingsColorPicker' | 'visibleElementsStructuralAttachmentAssociationsSettingsStylePicker' | 'visibleElementsStructuralAttachmentAssociationsSettingsWidthInput'>>, PreactJsx.HTMLAttributes<HTMLArcgisUtilityNetworkAssociationsElement> {
|
|
421
|
+
interface PreactArcgisUtilityNetworkAssociations extends Partial<Pick<ArcgisUtilityNetworkAssociations, 'autoDestroyDisabled' | 'autoRefreshAssociationsDisabled' | 'connectivityAssociationsLineSymbol' | 'hideConnectivityAssociationsSettingsColorPicker' | 'hideConnectivityAssociationsSettingsStylePicker' | 'hideConnectivityAssociationsSettingsWidthInput' | 'hideStructuralAttachmentAssociationsSettingsColorPicker' | 'hideStructuralAttachmentAssociationsSettingsStylePicker' | 'hideStructuralAttachmentAssociationsSettingsWidthInput' | 'icon' | 'includeConnectivityAssociationsDisabled' | 'includeStructuralAttachmentAssociationsDisabled' | 'label' | 'maxAllowableAssociations' | 'maxAllowableAssociationsSliderMax' | 'maxAllowableAssociationsSliderMin' | 'maxAllowableAssociationsSliderStep' | 'position' | 'referenceElement' | 'showArrowsConnectivity' | 'showArrowsStructuralAttachment' | 'showAssociationsEnabled' | 'showConnectivityAssociationsSettingsArrowsToggle' | 'showConnectivityAssociationsSettingsCapSelect' | 'showMaxAllowableAssociationsSlider' | 'showStructuralAttachmentAssociationsSettingsArrowsToggle' | 'showStructuralAttachmentAssociationsSettingsCapSelect' | 'structuralAttachmentAssociationsLineSymbol' | 'utilityNetwork' | 'visibleElementsConnectivityAssociationsSettingsArrowsToggle' | 'visibleElementsConnectivityAssociationsSettingsCapSelect' | 'visibleElementsConnectivityAssociationsSettingsColorPicker' | 'visibleElementsConnectivityAssociationsSettingsStylePicker' | 'visibleElementsConnectivityAssociationsSettingsWidthInput' | 'visibleElementsMaxAllowableAssociationsSlider' | 'visibleElementsStructuralAttachmentAssociationsSettingsArrowsToggle' | 'visibleElementsStructuralAttachmentAssociationsSettingsCapSelect' | 'visibleElementsStructuralAttachmentAssociationsSettingsColorPicker' | 'visibleElementsStructuralAttachmentAssociationsSettingsStylePicker' | 'visibleElementsStructuralAttachmentAssociationsSettingsWidthInput'>>, PreactJsx.HTMLAttributes<HTMLArcgisUtilityNetworkAssociationsElement> {
|
|
422
422
|
onarcgisReady?: EventHandler<HTMLArcgisUtilityNetworkAssociationsElement["arcgisReady"]>;
|
|
423
423
|
}
|
|
424
424
|
|
package/dist/types/react.d.ts
CHANGED
|
@@ -218,7 +218,7 @@ interface ReactArcgisHome extends Partial<Pick<ArcgisHome, 'autoDestroyDisabled'
|
|
|
218
218
|
onarcgisReady?: EventHandler<HTMLArcgisHomeElement["arcgisReady"]>;
|
|
219
219
|
}
|
|
220
220
|
|
|
221
|
-
interface ReactArcgisLayerList extends Partial<Pick<ArcgisLayerList, 'autoDestroyDisabled' | 'catalogOptions' | 'collapsed' | 'dragEnabled' | 'filterPlaceholder' | 'filterPredicate' | 'filterText' | 'headingLevel' | 'hideCatalogLayerList' | 'hideFlow' | 'hideStatusIndicators' | 'icon' | 'knowledgeGraphOptions' | 'label' | 'listItemCreatedFunction' | 'minDragEnabledItems' | 'minFilterItems' | '
|
|
221
|
+
interface ReactArcgisLayerList extends Partial<Pick<ArcgisLayerList, 'autoDestroyDisabled' | 'catalogOptions' | 'collapsed' | 'dragEnabled' | 'filterPlaceholder' | 'filterPredicate' | 'filterText' | 'headingLevel' | 'hideCatalogLayerList' | 'hideFlow' | 'hideStatusIndicators' | 'icon' | 'knowledgeGraphOptions' | 'label' | 'listItemCreatedFunction' | 'minDragEnabledItems' | 'minFilterItems' | 'position' | 'referenceElement' | 'selectedItems' | 'selectionMode' | 'showCloseButton' | 'showCollapseButton' | 'showErrors' | 'showFilter' | 'showHeading' | 'showTemporaryLayerIndicators' | 'visibilityAppearance'>>, HTMLProps<HTMLArcgisLayerListElement> {
|
|
222
222
|
onarcgisPropertyChange?: EventHandler<HTMLArcgisLayerListElement["arcgisPropertyChange"]>;
|
|
223
223
|
onarcgisReady?: EventHandler<HTMLArcgisLayerListElement["arcgisReady"]>;
|
|
224
224
|
onarcgisTriggerAction?: EventHandler<HTMLArcgisLayerListElement["arcgisTriggerAction"]>;
|
|
@@ -234,7 +234,7 @@ interface ReactArcgisLineOfSight extends Partial<Pick<ArcgisLineOfSight, 'autoDe
|
|
|
234
234
|
onarcgisReady?: EventHandler<HTMLArcgisLineOfSightElement["arcgisReady"]>;
|
|
235
235
|
}
|
|
236
236
|
|
|
237
|
-
interface ReactArcgisLinkChart extends Partial<Pick<ArcgisLinkChart, '
|
|
237
|
+
interface ReactArcgisLinkChart extends Partial<Pick<ArcgisLinkChart, 'autoDestroyDisabled' | 'background' | 'basemap' | 'basemapView' | 'constraints' | 'extent' | 'fatalError' | 'graphics' | 'itemId' | 'layerViews' | 'map' | 'navigation' | 'padding' | 'popup' | 'popupDisabled' | 'resizeAlign' | 'rotation' | 'scale' | 'spatialReference' | 'theme' | 'timeExtent' | 'timeZone' | 'viewpoint' | 'zoom'>>, ArcgisLinkChartSetterTypes, HTMLProps<HTMLArcgisLinkChartElement> {
|
|
238
238
|
onarcgisViewChange?: EventHandler<HTMLArcgisLinkChartElement["arcgisViewChange"]>;
|
|
239
239
|
onarcgisViewClick?: EventHandler<HTMLArcgisLinkChartElement["arcgisViewClick"]>;
|
|
240
240
|
onarcgisViewDoubleClick?: EventHandler<HTMLArcgisLinkChartElement["arcgisViewDoubleClick"]>;
|
|
@@ -264,7 +264,7 @@ interface ReactArcgisLocate extends Partial<Pick<ArcgisLocate, 'autoDestroyDisab
|
|
|
264
264
|
onarcgisSuccess?: EventHandler<HTMLArcgisLocateElement["arcgisSuccess"]>;
|
|
265
265
|
}
|
|
266
266
|
|
|
267
|
-
interface ReactArcgisMap extends Partial<Pick<ArcgisMap, '
|
|
267
|
+
interface ReactArcgisMap extends Partial<Pick<ArcgisMap, 'autoDestroyDisabled' | 'background' | 'basemap' | 'basemapView' | 'constraints' | 'displayFilterDisabled' | 'extent' | 'fatalError' | 'floors' | 'graphics' | 'ground' | 'highlightOptions' | 'ipsInfo' | 'itemId' | 'layerViews' | 'map' | 'navigation' | 'padding' | 'popup' | 'popupDisabled' | 'resizeAlign' | 'rotation' | 'scale' | 'spatialReference' | 'theme' | 'timeExtent' | 'timeZone' | 'viewpoint' | 'zoom'>>, ArcgisMapSetterTypes, HTMLProps<HTMLArcgisMapElement> {
|
|
268
268
|
onarcgisViewChange?: EventHandler<HTMLArcgisMapElement["arcgisViewChange"]>;
|
|
269
269
|
onarcgisViewClick?: EventHandler<HTMLArcgisMapElement["arcgisViewClick"]>;
|
|
270
270
|
onarcgisViewDoubleClick?: EventHandler<HTMLArcgisMapElement["arcgisViewDoubleClick"]>;
|
|
@@ -292,7 +292,7 @@ interface ReactArcgisMeasurement extends Partial<Pick<ArcgisMeasurement, 'active
|
|
|
292
292
|
onarcgisReady?: EventHandler<HTMLArcgisMeasurementElement["arcgisReady"]>;
|
|
293
293
|
}
|
|
294
294
|
|
|
295
|
-
interface ReactArcgisNavigationToggle extends Partial<Pick<ArcgisNavigationToggle, 'autoDestroyDisabled' | 'icon' | 'label' | 'layout' | 'position' | 'referenceElement'>>, HTMLProps<HTMLArcgisNavigationToggleElement> {
|
|
295
|
+
interface ReactArcgisNavigationToggle extends Partial<Pick<ArcgisNavigationToggle, 'autoDestroyDisabled' | 'icon' | 'label' | 'layout' | 'navigationMode' | 'position' | 'referenceElement'>>, HTMLProps<HTMLArcgisNavigationToggleElement> {
|
|
296
296
|
onarcgisPropertyChange?: EventHandler<HTMLArcgisNavigationToggleElement["arcgisPropertyChange"]>;
|
|
297
297
|
onarcgisReady?: EventHandler<HTMLArcgisNavigationToggleElement["arcgisReady"]>;
|
|
298
298
|
}
|
|
@@ -322,7 +322,7 @@ interface ReactArcgisScaleRangeSlider extends Partial<Pick<ArcgisScaleRangeSlide
|
|
|
322
322
|
onarcgisReady?: EventHandler<HTMLArcgisScaleRangeSliderElement["arcgisReady"]>;
|
|
323
323
|
}
|
|
324
324
|
|
|
325
|
-
interface ReactArcgisScene extends Partial<Pick<ArcgisScene, '
|
|
325
|
+
interface ReactArcgisScene extends Partial<Pick<ArcgisScene, 'alphaCompositingEnabled' | 'analyses' | 'autoDestroyDisabled' | 'basemap' | 'basemapView' | 'camera' | 'cameraFov' | 'cameraHeading' | 'cameraPosition' | 'cameraTilt' | 'clippingArea' | 'constraints' | 'displayFilterDisabled' | 'environment' | 'extent' | 'fatalError' | 'floors' | 'graphics' | 'ground' | 'highlightOptions' | 'itemId' | 'layerViews' | 'map' | 'navigation' | 'padding' | 'popup' | 'popupDisabled' | 'qualityProfile' | 'scale' | 'spatialReference' | 'theme' | 'timeExtent' | 'viewingMode' | 'viewpoint' | 'zoom'>>, ArcgisSceneSetterTypes, HTMLProps<HTMLArcgisSceneElement> {
|
|
326
326
|
onarcgisViewChange?: EventHandler<HTMLArcgisSceneElement["arcgisViewChange"]>;
|
|
327
327
|
onarcgisViewClick?: EventHandler<HTMLArcgisSceneElement["arcgisViewClick"]>;
|
|
328
328
|
onarcgisViewDoubleClick?: EventHandler<HTMLArcgisSceneElement["arcgisViewDoubleClick"]>;
|
|
@@ -418,7 +418,7 @@ interface ReactArcgisTrack extends Partial<Pick<ArcgisTrack, 'autoDestroyDisable
|
|
|
418
418
|
onarcgisReady?: EventHandler<HTMLArcgisTrackElement["arcgisReady"]>;
|
|
419
419
|
}
|
|
420
420
|
|
|
421
|
-
interface ReactArcgisUtilityNetworkAssociations extends Partial<Pick<ArcgisUtilityNetworkAssociations, 'autoRefreshAssociationsDisabled' | 'connectivityAssociationsLineSymbol' | 'includeConnectivityAssociationsDisabled' | 'includeStructuralAttachmentAssociationsDisabled' | 'maxAllowableAssociations' | 'maxAllowableAssociationsSliderMax' | 'maxAllowableAssociationsSliderMin' | 'maxAllowableAssociationsSliderStep' | 'position' | 'referenceElement' | 'showArrowsConnectivity' | 'showArrowsStructuralAttachment' | 'showAssociationsEnabled' | 'structuralAttachmentAssociationsLineSymbol' | 'utilityNetwork' | 'visibleElementsConnectivityAssociationsSettingsArrowsToggle' | 'visibleElementsConnectivityAssociationsSettingsCapSelect' | 'visibleElementsConnectivityAssociationsSettingsColorPicker' | 'visibleElementsConnectivityAssociationsSettingsStylePicker' | 'visibleElementsConnectivityAssociationsSettingsWidthInput' | 'visibleElementsMaxAllowableAssociationsSlider' | 'visibleElementsStructuralAttachmentAssociationsSettingsArrowsToggle' | 'visibleElementsStructuralAttachmentAssociationsSettingsCapSelect' | 'visibleElementsStructuralAttachmentAssociationsSettingsColorPicker' | 'visibleElementsStructuralAttachmentAssociationsSettingsStylePicker' | 'visibleElementsStructuralAttachmentAssociationsSettingsWidthInput'>>, HTMLProps<HTMLArcgisUtilityNetworkAssociationsElement> {
|
|
421
|
+
interface ReactArcgisUtilityNetworkAssociations extends Partial<Pick<ArcgisUtilityNetworkAssociations, 'autoDestroyDisabled' | 'autoRefreshAssociationsDisabled' | 'connectivityAssociationsLineSymbol' | 'hideConnectivityAssociationsSettingsColorPicker' | 'hideConnectivityAssociationsSettingsStylePicker' | 'hideConnectivityAssociationsSettingsWidthInput' | 'hideStructuralAttachmentAssociationsSettingsColorPicker' | 'hideStructuralAttachmentAssociationsSettingsStylePicker' | 'hideStructuralAttachmentAssociationsSettingsWidthInput' | 'icon' | 'includeConnectivityAssociationsDisabled' | 'includeStructuralAttachmentAssociationsDisabled' | 'label' | 'maxAllowableAssociations' | 'maxAllowableAssociationsSliderMax' | 'maxAllowableAssociationsSliderMin' | 'maxAllowableAssociationsSliderStep' | 'position' | 'referenceElement' | 'showArrowsConnectivity' | 'showArrowsStructuralAttachment' | 'showAssociationsEnabled' | 'showConnectivityAssociationsSettingsArrowsToggle' | 'showConnectivityAssociationsSettingsCapSelect' | 'showMaxAllowableAssociationsSlider' | 'showStructuralAttachmentAssociationsSettingsArrowsToggle' | 'showStructuralAttachmentAssociationsSettingsCapSelect' | 'structuralAttachmentAssociationsLineSymbol' | 'utilityNetwork' | 'visibleElementsConnectivityAssociationsSettingsArrowsToggle' | 'visibleElementsConnectivityAssociationsSettingsCapSelect' | 'visibleElementsConnectivityAssociationsSettingsColorPicker' | 'visibleElementsConnectivityAssociationsSettingsStylePicker' | 'visibleElementsConnectivityAssociationsSettingsWidthInput' | 'visibleElementsMaxAllowableAssociationsSlider' | 'visibleElementsStructuralAttachmentAssociationsSettingsArrowsToggle' | 'visibleElementsStructuralAttachmentAssociationsSettingsCapSelect' | 'visibleElementsStructuralAttachmentAssociationsSettingsColorPicker' | 'visibleElementsStructuralAttachmentAssociationsSettingsStylePicker' | 'visibleElementsStructuralAttachmentAssociationsSettingsWidthInput'>>, HTMLProps<HTMLArcgisUtilityNetworkAssociationsElement> {
|
|
422
422
|
onarcgisReady?: EventHandler<HTMLArcgisUtilityNetworkAssociationsElement["arcgisReady"]>;
|
|
423
423
|
}
|
|
424
424
|
|
package/dist/types/stencil.d.ts
CHANGED
|
@@ -218,7 +218,7 @@ interface StencilArcgisHome extends Partial<Pick<ArcgisHome, 'autoDestroyDisable
|
|
|
218
218
|
onArcgisReady?: EventHandler<HTMLArcgisHomeElement["arcgisReady"]>;
|
|
219
219
|
}
|
|
220
220
|
|
|
221
|
-
interface StencilArcgisLayerList extends Partial<Pick<ArcgisLayerList, 'autoDestroyDisabled' | 'catalogOptions' | 'collapsed' | 'dragEnabled' | 'filterPlaceholder' | 'filterPredicate' | 'filterText' | 'headingLevel' | 'hideCatalogLayerList' | 'hideFlow' | 'hideStatusIndicators' | 'icon' | 'knowledgeGraphOptions' | 'label' | 'listItemCreatedFunction' | 'minDragEnabledItems' | 'minFilterItems' | '
|
|
221
|
+
interface StencilArcgisLayerList extends Partial<Pick<ArcgisLayerList, 'autoDestroyDisabled' | 'catalogOptions' | 'collapsed' | 'dragEnabled' | 'filterPlaceholder' | 'filterPredicate' | 'filterText' | 'headingLevel' | 'hideCatalogLayerList' | 'hideFlow' | 'hideStatusIndicators' | 'icon' | 'knowledgeGraphOptions' | 'label' | 'listItemCreatedFunction' | 'minDragEnabledItems' | 'minFilterItems' | 'position' | 'referenceElement' | 'selectedItems' | 'selectionMode' | 'showCloseButton' | 'showCollapseButton' | 'showErrors' | 'showFilter' | 'showHeading' | 'showTemporaryLayerIndicators' | 'visibilityAppearance'>>, StencilJsx.HTMLAttributes<HTMLArcgisLayerListElement> {
|
|
222
222
|
onArcgisPropertyChange?: EventHandler<HTMLArcgisLayerListElement["arcgisPropertyChange"]>;
|
|
223
223
|
onArcgisReady?: EventHandler<HTMLArcgisLayerListElement["arcgisReady"]>;
|
|
224
224
|
onArcgisTriggerAction?: EventHandler<HTMLArcgisLayerListElement["arcgisTriggerAction"]>;
|
|
@@ -234,7 +234,7 @@ interface StencilArcgisLineOfSight extends Partial<Pick<ArcgisLineOfSight, 'auto
|
|
|
234
234
|
onArcgisReady?: EventHandler<HTMLArcgisLineOfSightElement["arcgisReady"]>;
|
|
235
235
|
}
|
|
236
236
|
|
|
237
|
-
interface StencilArcgisLinkChart extends Partial<Pick<ArcgisLinkChart, '
|
|
237
|
+
interface StencilArcgisLinkChart extends Partial<Pick<ArcgisLinkChart, 'autoDestroyDisabled' | 'background' | 'basemap' | 'basemapView' | 'constraints' | 'extent' | 'fatalError' | 'graphics' | 'itemId' | 'layerViews' | 'map' | 'navigation' | 'padding' | 'popup' | 'popupDisabled' | 'resizeAlign' | 'rotation' | 'scale' | 'spatialReference' | 'theme' | 'timeExtent' | 'timeZone' | 'viewpoint' | 'zoom'>>, ArcgisLinkChartSetterTypes, StencilJsx.HTMLAttributes<HTMLArcgisLinkChartElement> {
|
|
238
238
|
onArcgisViewChange?: EventHandler<HTMLArcgisLinkChartElement["arcgisViewChange"]>;
|
|
239
239
|
onArcgisViewClick?: EventHandler<HTMLArcgisLinkChartElement["arcgisViewClick"]>;
|
|
240
240
|
onArcgisViewDoubleClick?: EventHandler<HTMLArcgisLinkChartElement["arcgisViewDoubleClick"]>;
|
|
@@ -264,7 +264,7 @@ interface StencilArcgisLocate extends Partial<Pick<ArcgisLocate, 'autoDestroyDis
|
|
|
264
264
|
onArcgisSuccess?: EventHandler<HTMLArcgisLocateElement["arcgisSuccess"]>;
|
|
265
265
|
}
|
|
266
266
|
|
|
267
|
-
interface StencilArcgisMap extends Partial<Pick<ArcgisMap, '
|
|
267
|
+
interface StencilArcgisMap extends Partial<Pick<ArcgisMap, 'autoDestroyDisabled' | 'background' | 'basemap' | 'basemapView' | 'constraints' | 'displayFilterDisabled' | 'extent' | 'fatalError' | 'floors' | 'graphics' | 'ground' | 'highlightOptions' | 'ipsInfo' | 'itemId' | 'layerViews' | 'map' | 'navigation' | 'padding' | 'popup' | 'popupDisabled' | 'resizeAlign' | 'rotation' | 'scale' | 'spatialReference' | 'theme' | 'timeExtent' | 'timeZone' | 'viewpoint' | 'zoom'>>, ArcgisMapSetterTypes, StencilJsx.HTMLAttributes<HTMLArcgisMapElement> {
|
|
268
268
|
onArcgisViewChange?: EventHandler<HTMLArcgisMapElement["arcgisViewChange"]>;
|
|
269
269
|
onArcgisViewClick?: EventHandler<HTMLArcgisMapElement["arcgisViewClick"]>;
|
|
270
270
|
onArcgisViewDoubleClick?: EventHandler<HTMLArcgisMapElement["arcgisViewDoubleClick"]>;
|
|
@@ -292,7 +292,7 @@ interface StencilArcgisMeasurement extends Partial<Pick<ArcgisMeasurement, 'acti
|
|
|
292
292
|
onArcgisReady?: EventHandler<HTMLArcgisMeasurementElement["arcgisReady"]>;
|
|
293
293
|
}
|
|
294
294
|
|
|
295
|
-
interface StencilArcgisNavigationToggle extends Partial<Pick<ArcgisNavigationToggle, 'autoDestroyDisabled' | 'icon' | 'label' | 'layout' | 'position' | 'referenceElement'>>, StencilJsx.HTMLAttributes<HTMLArcgisNavigationToggleElement> {
|
|
295
|
+
interface StencilArcgisNavigationToggle extends Partial<Pick<ArcgisNavigationToggle, 'autoDestroyDisabled' | 'icon' | 'label' | 'layout' | 'navigationMode' | 'position' | 'referenceElement'>>, StencilJsx.HTMLAttributes<HTMLArcgisNavigationToggleElement> {
|
|
296
296
|
onArcgisPropertyChange?: EventHandler<HTMLArcgisNavigationToggleElement["arcgisPropertyChange"]>;
|
|
297
297
|
onArcgisReady?: EventHandler<HTMLArcgisNavigationToggleElement["arcgisReady"]>;
|
|
298
298
|
}
|
|
@@ -322,7 +322,7 @@ interface StencilArcgisScaleRangeSlider extends Partial<Pick<ArcgisScaleRangeSli
|
|
|
322
322
|
onArcgisReady?: EventHandler<HTMLArcgisScaleRangeSliderElement["arcgisReady"]>;
|
|
323
323
|
}
|
|
324
324
|
|
|
325
|
-
interface StencilArcgisScene extends Partial<Pick<ArcgisScene, '
|
|
325
|
+
interface StencilArcgisScene extends Partial<Pick<ArcgisScene, 'alphaCompositingEnabled' | 'analyses' | 'autoDestroyDisabled' | 'basemap' | 'basemapView' | 'camera' | 'cameraFov' | 'cameraHeading' | 'cameraPosition' | 'cameraTilt' | 'clippingArea' | 'constraints' | 'displayFilterDisabled' | 'environment' | 'extent' | 'fatalError' | 'floors' | 'graphics' | 'ground' | 'highlightOptions' | 'itemId' | 'layerViews' | 'map' | 'navigation' | 'padding' | 'popup' | 'popupDisabled' | 'qualityProfile' | 'scale' | 'spatialReference' | 'theme' | 'timeExtent' | 'viewingMode' | 'viewpoint' | 'zoom'>>, ArcgisSceneSetterTypes, StencilJsx.HTMLAttributes<HTMLArcgisSceneElement> {
|
|
326
326
|
onArcgisViewChange?: EventHandler<HTMLArcgisSceneElement["arcgisViewChange"]>;
|
|
327
327
|
onArcgisViewClick?: EventHandler<HTMLArcgisSceneElement["arcgisViewClick"]>;
|
|
328
328
|
onArcgisViewDoubleClick?: EventHandler<HTMLArcgisSceneElement["arcgisViewDoubleClick"]>;
|
|
@@ -418,7 +418,7 @@ interface StencilArcgisTrack extends Partial<Pick<ArcgisTrack, 'autoDestroyDisab
|
|
|
418
418
|
onArcgisReady?: EventHandler<HTMLArcgisTrackElement["arcgisReady"]>;
|
|
419
419
|
}
|
|
420
420
|
|
|
421
|
-
interface StencilArcgisUtilityNetworkAssociations extends Partial<Pick<ArcgisUtilityNetworkAssociations, 'autoRefreshAssociationsDisabled' | 'connectivityAssociationsLineSymbol' | 'includeConnectivityAssociationsDisabled' | 'includeStructuralAttachmentAssociationsDisabled' | 'maxAllowableAssociations' | 'maxAllowableAssociationsSliderMax' | 'maxAllowableAssociationsSliderMin' | 'maxAllowableAssociationsSliderStep' | 'position' | 'referenceElement' | 'showArrowsConnectivity' | 'showArrowsStructuralAttachment' | 'showAssociationsEnabled' | 'structuralAttachmentAssociationsLineSymbol' | 'utilityNetwork' | 'visibleElementsConnectivityAssociationsSettingsArrowsToggle' | 'visibleElementsConnectivityAssociationsSettingsCapSelect' | 'visibleElementsConnectivityAssociationsSettingsColorPicker' | 'visibleElementsConnectivityAssociationsSettingsStylePicker' | 'visibleElementsConnectivityAssociationsSettingsWidthInput' | 'visibleElementsMaxAllowableAssociationsSlider' | 'visibleElementsStructuralAttachmentAssociationsSettingsArrowsToggle' | 'visibleElementsStructuralAttachmentAssociationsSettingsCapSelect' | 'visibleElementsStructuralAttachmentAssociationsSettingsColorPicker' | 'visibleElementsStructuralAttachmentAssociationsSettingsStylePicker' | 'visibleElementsStructuralAttachmentAssociationsSettingsWidthInput'>>, StencilJsx.HTMLAttributes<HTMLArcgisUtilityNetworkAssociationsElement> {
|
|
421
|
+
interface StencilArcgisUtilityNetworkAssociations extends Partial<Pick<ArcgisUtilityNetworkAssociations, 'autoDestroyDisabled' | 'autoRefreshAssociationsDisabled' | 'connectivityAssociationsLineSymbol' | 'hideConnectivityAssociationsSettingsColorPicker' | 'hideConnectivityAssociationsSettingsStylePicker' | 'hideConnectivityAssociationsSettingsWidthInput' | 'hideStructuralAttachmentAssociationsSettingsColorPicker' | 'hideStructuralAttachmentAssociationsSettingsStylePicker' | 'hideStructuralAttachmentAssociationsSettingsWidthInput' | 'icon' | 'includeConnectivityAssociationsDisabled' | 'includeStructuralAttachmentAssociationsDisabled' | 'label' | 'maxAllowableAssociations' | 'maxAllowableAssociationsSliderMax' | 'maxAllowableAssociationsSliderMin' | 'maxAllowableAssociationsSliderStep' | 'position' | 'referenceElement' | 'showArrowsConnectivity' | 'showArrowsStructuralAttachment' | 'showAssociationsEnabled' | 'showConnectivityAssociationsSettingsArrowsToggle' | 'showConnectivityAssociationsSettingsCapSelect' | 'showMaxAllowableAssociationsSlider' | 'showStructuralAttachmentAssociationsSettingsArrowsToggle' | 'showStructuralAttachmentAssociationsSettingsCapSelect' | 'structuralAttachmentAssociationsLineSymbol' | 'utilityNetwork' | 'visibleElementsConnectivityAssociationsSettingsArrowsToggle' | 'visibleElementsConnectivityAssociationsSettingsCapSelect' | 'visibleElementsConnectivityAssociationsSettingsColorPicker' | 'visibleElementsConnectivityAssociationsSettingsStylePicker' | 'visibleElementsConnectivityAssociationsSettingsWidthInput' | 'visibleElementsMaxAllowableAssociationsSlider' | 'visibleElementsStructuralAttachmentAssociationsSettingsArrowsToggle' | 'visibleElementsStructuralAttachmentAssociationsSettingsCapSelect' | 'visibleElementsStructuralAttachmentAssociationsSettingsColorPicker' | 'visibleElementsStructuralAttachmentAssociationsSettingsStylePicker' | 'visibleElementsStructuralAttachmentAssociationsSettingsWidthInput'>>, StencilJsx.HTMLAttributes<HTMLArcgisUtilityNetworkAssociationsElement> {
|
|
422
422
|
onArcgisReady?: EventHandler<HTMLArcgisUtilityNetworkAssociationsElement["arcgisReady"]>;
|
|
423
423
|
}
|
|
424
424
|
|
|
@@ -57,8 +57,8 @@ export declare function attachToParent(component: WidgetOrMapComponent): ArcgisP
|
|
|
57
57
|
export declare function defineViewProperty(component: WidgetOrMapComponent & {
|
|
58
58
|
arcgisReady: EventEmitter;
|
|
59
59
|
}): void;
|
|
60
|
-
export declare function isNullOrEmptyString(value:
|
|
61
|
-
export declare function isValidInteger(value:
|
|
60
|
+
export declare function isNullOrEmptyString(value: nullish | string): boolean;
|
|
61
|
+
export declare function isValidInteger(value: nullish | number): boolean;
|
|
62
62
|
export declare function areCamerasEqual(camera: __esri.Camera, camera2: __esri.Camera | Nil): boolean;
|
|
63
63
|
export declare function isNotSameViewpoint(viewpoint?: __esri.Viewpoint, viewpoint2?: __esri.Viewpoint): boolean;
|
|
64
64
|
export declare function parseCenter(newValue: __esri.MapView["center"] | Nil | number[] | string, view?: Pick<__esri.MapView, "center">): __esri.Point | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arcgis/map-components",
|
|
3
|
-
"version": "4.32.0-next.
|
|
3
|
+
"version": "4.32.0-next.85",
|
|
4
4
|
"description": "ArcGIS Map Components",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ArcGIS",
|
|
@@ -40,10 +40,10 @@
|
|
|
40
40
|
],
|
|
41
41
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@arcgis/components-controllers": "4.32.0-next.
|
|
44
|
-
"@arcgis/components-utils": "4.32.0-next.
|
|
45
|
-
"@arcgis/core-adapter": "4.32.0-next.
|
|
46
|
-
"@arcgis/lumina": "4.32.0-next.
|
|
43
|
+
"@arcgis/components-controllers": "4.32.0-next.85",
|
|
44
|
+
"@arcgis/components-utils": "4.32.0-next.85",
|
|
45
|
+
"@arcgis/core-adapter": "4.32.0-next.85",
|
|
46
|
+
"@arcgis/lumina": "4.32.0-next.85",
|
|
47
47
|
"tslib": "^2.7.0"
|
|
48
48
|
},
|
|
49
49
|
"peerDependencies": {
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
3
|
-
v4.32.0-next.84 */
|
|
4
|
-
import{a as C,b}from"./B2AHBB47.js";import{a as F,b as k}from"./4HWKFVOD.js";import"./XKFVFNRT.js";import{ia as y,la as P}from"./WOWZWSL5.js";import"./PBYUEHJ2.js";import{B as w,C as L,D as S,H as _,g as u,p as V,s as E,t as h}from"./ALE6KF3F.js";var T=E`.initial-version-invalid-block{margin-bottom:1rem}.calcite-combobox-item{width:330px}.calcite-flow-widget{width:350px}calcite-block{margin:0}calcite-pagination{justify-content:center}`,x=k(y),M="map-components:version-management",I=class extends L{constructor(){super(...arguments),this.flowElement=C(),this.messages=F({blocking:!0}),this.reactiveUtils=V(P),this.viewModel=x(this),this._isInitialVersionInvalid=new Map,this._initialVersionInfos=[],this._showInvalidFeatureServiceNotice=!1,this.allowEditingDisabled=!1,this.autoDestroyDisabled=!1,this.closable=!1,this.pageSize=5,this.position="top-right",this.state=this.viewModel.state,this.versioningStates=this.viewModel.versioningStates,this.view=this.viewModel.view,this.arcgisReady=w(),this.arcgisVersioningStateChanged=w()}static{this.properties={versionList:16,_showInvalidFeatureServiceNotice:16,allowEditingDisabled:5,autoDestroyDisabled:5,closable:7,initialVersionInfos:0,icon:3,label:3,messageOverrides:0,mode:1,pageSize:9,position:1,referenceElement:1,state:3,versioningStates:0,view:0}}static{this.styles=T}static{this.shadowRootOptions=u}get initialVersionInfos(){return this._initialVersionInfos}set initialVersionInfos(e){this._initialVersionInfos=e.map(t=>({...t,url:this._removeTrailingSlash(t.url)}))}async destroy(){await this.manager.destroy()}async load(){let{once:e,watch:t}=this.reactiveUtils;e(()=>this.viewModel.state==="ready").then(()=>{this.initialVersionInfos.forEach(o=>{try{this._changeToInitialVersion(o)}catch(s){console.error(s)}})}),this.manager.onLifecycle(()=>[t(()=>this.viewModel.state,o=>{let{flowElement:{value:s},versionList:i}=this,n=s?.getElementsByTagName("arcgis-version-management-version-properties")[0];if(o==="disabled"&&s){n&&this._removeVersionPropertiesFlowItem(s),i&&this._removeVersionListFlowItem(s);return}i&&(i.versionListElementProps={...i.versionListElementProps,executionError:this.viewModel.executionError},i.versionListElementProps={...i.versionListElementProps,state:o}),n&&(n.versionPropertiesElementProps={...n.versionPropertiesElementProps,state:o})})])}_removeTrailingSlash(e){return e.replace(/\/+$/u,"")}_createVersionPropertiesFlowItem(e,t){let{closable:o,flowElement:{value:s},viewModel:i,viewModel:{state:n}}=this,r=document.createElement("arcgis-version-management-version-properties");return r.versionPropertiesElementProps={closable:o,currentUser:i.userLookup.get(e),hasAdvEditingUte:i.advancedEditingUserTypeExtensionLookup.get(e),isVersionAdministrator:i.versionAdministratorLookup.get(e),serviceUrl:e,state:n,strings:this.messages,versionInfo:t},r.selected=!0,r.showBackButton=!0,r.addEventListener("arcgisCreateVersion",a=>{let{createVersionParameters:v,switchToVersion:d}=a.detail;i.createVersion(v).then(async l=>{l&&this.arcgisVersioningStateChanged.emit({type:"version-created",versionIdentifier:l.versionIdentifier,versioningState:i.versioningStateLookup.get(e)}),d&&await this.viewModel.changeVersion(e,l.versionIdentifier.name,l.versionIdentifier.guid).then(g=>{g&&this.arcgisVersioningStateChanged.emit({type:"version-switched",versionIdentifier:l.versionIdentifier,versioningState:i.versioningStateLookup.get(e)})}),await this._refreshVersionList(e)}).finally(()=>{s&&this._removeVersionPropertiesFlowItem(s)})}),r.addEventListener("arcgisAlterVersion",async a=>{let{flowElement:{value:v}}=this,{alterVersionParameters:d}=a.detail;await i.alterVersion(d).then(async l=>{l&&this.arcgisVersioningStateChanged.emit({type:"version-changed",versionIdentifier:d.versionIdentifier,versioningState:i.versioningStateLookup.get(e)}),await this._refreshVersionList(e)}).finally(()=>{v&&this._removeVersionPropertiesFlowItem(v)})}),r.addEventListener("arcgisFlowItemBack",()=>{this._removeVersionPropertiesFlowItem(this.flowElement.value)}),r.addEventListener("calciteFlowItemBack",a=>{a.preventDefault(),this._removeVersionPropertiesFlowItem(this.flowElement.value),this.versionList&&(this.versionList.selected=!0)}),r.addEventListener("calciteFlowItemClose",()=>{this._handleFlowItemClose()}),r}_getLoadError(e){let{messages:t}=this;switch(e){case"no-feature-services":return t.loadErrors.noFeatureServices;case"no-view-property":return t.loadErrors.noViewProperty;default:return e}}_changeToInitialVersion(e){let{_isInitialVersionInvalid:t,viewModel:o}=this,{url:s,name:i}=e,n=o.versioningStateLookup.get(s);if(!n)throw this._showInvalidFeatureServiceNotice=!0,new Error(`${M} - no versioning state found for feature service ${s}`);let r=n?.versionInfos.find(d=>d.versionIdentifier.name===i);if(!r)throw t.set(s,!0),new Error(`${M} - version ${i} not found in the versioning state for feature service ${s}`);let a=r.versionIdentifier,v=n?.currentVersionInfo.versionIdentifier;a.guid!==v?.guid&&o.changeVersion(s,a.name,a.guid)}_handleFlowItemClose(){let e=document.querySelector("arcgis-version-management");e.parentElement?.removeChild(e)}async _handleNewVersionAction(e){let t=this._createVersionPropertiesFlowItem(e.detail.serviceUrl,void 0);this.flowElement.value?.appendChild(t),this.versionList&&(this.versionList.selected=!1)}async _handleManageVersionAction(e){let{actionType:t,serviceUrl:o,versionInfo:s}=e.detail,{viewModel:i,flowElement:n}=this;switch(t){case"changeVersion":{i.changeVersion(o,s.versionIdentifier.name,s.versionIdentifier.guid).then(r=>{r&&this.arcgisVersioningStateChanged.emit({type:"version-switched",versionIdentifier:s.versionIdentifier,versioningState:i.versioningStateLookup.get(o)});let{versionList:a}=this;a&&(a.versionListElementProps={...a.versionListElementProps,currentVersionIdentifier:i.versioningStateLookup.get(o).currentVersionInfo.versionIdentifier})});break}case"deleteVersion":{i.deleteVersion(o,s.versionIdentifier.name,s.versionIdentifier.guid).then(async r=>{r&&this.arcgisVersioningStateChanged.emit({type:"version-deleted",versionIdentifier:s.versionIdentifier,versioningState:i.versioningStateLookup.get(o)}),await this._refreshVersionList(o)});break}case"editVersion":{let r=this._createVersionPropertiesFlowItem(o,s);n.value?.appendChild(r),this.versionList&&(this.versionList.selected=!1);break}}}async _refreshVersionList(e){let{flowElement:{value:t},versionList:o,viewModel:s}=this;if(t){let i=await s.getVersionInfos(e),n=t.getElementsByTagName("arcgis-version-management-service-item");for(let r of n)r.serviceItemElementProps.serviceUrl===e&&(r.serviceItemElementProps={...r.serviceItemElementProps,versionInfos:i});o&&(o.versionListElementProps={...o.versionListElementProps,currentVersionIdentifier:s.versioningStateLookup.get(e).currentVersionInfo.versionIdentifier,versionInfos:i})}}_removeVersionListFlowItem(e){for(let t of e.childNodes)t.nodeName.toUpperCase()==="ARCGIS-VERSION-MANAGEMENT-VERSION-LIST"&&(e.removeChild(t),this.versionList=void 0),t.nodeName.toUpperCase()==="CALCITE-FLOW-ITEM"&&(t.hidden=!1)}_removeVersionPropertiesFlowItem(e){for(let t of e.childNodes)t.nodeName.toUpperCase()==="ARCGIS-VERSION-MANAGEMENT-VERSION-PROPERTIES"&&e.removeChild(t)}render(){let{allowEditingDisabled:e,closable:t,flowElement:{value:o},initialVersionInfos:s,_isInitialVersionInvalid:i,label:n,messages:r,mode:a,pageSize:v,versionList:d,viewModel:l,viewModel:{loadError:g,state:m}}=this,$=Array.from(l.serviceNameLookup,([c,f])=>({url:c,name:f})),N=m!=="disabled"?$.map(c=>{let f={allowEditing:!e,closable:t,currentUser:l.userLookup.get(c.url),currentVersionIdentifier:l.versioningStateLookup.get(c.url).currentVersionInfo.versionIdentifier,executionError:void 0,flowElement:o,hasAdvEditingUte:l.advancedEditingUserTypeExtensionLookup.get(c.url),heading:n,initialVersionInfos:s,isInitialVersionInvalid:i,isVersionAdministrator:l.versionAdministratorLookup.get(c.url),isVersioningApiAvailable:(l.serverVersionLookup.get(c.url)??0)>=11.2,mode:a,pageSize:v,serviceName:c.name,state:m,serviceUrl:c.url,strings:r,versionInfos:l.versioningStateLookup.get(c.url)?.versionInfos??[]};return h`<arcgis-version-management-service-item .serviceItemElementProps=${f} @arcgisGetVersions=${async p=>{await this._refreshVersionList(p.detail.serviceUrl)}} @arcgisFlowItemBack=${()=>{o&&(this._removeVersionListFlowItem(o),this.versionList=void 0)}} @arcgisFlowItemClose=${()=>{this._handleFlowItemClose()}} @arcgisManageVersion=${this._handleManageVersionAction} @arcgisNewVersion=${this._handleNewVersionAction} @arcgisCreateVersionList=${p=>{this.versionList=p.detail}}></arcgis-version-management-service-item>`}):void 0,A=m==="disabled"?h`<calcite-notice class="notice" kind=warning open scale=s slot=footer width=full><div slot=message>${this._getLoadError(g)}</div></calcite-notice>`:void 0,U=this._showInvalidFeatureServiceNotice?h`<calcite-notice closable kind=warning open scale=s slot=content-top width=full icon @calciteNoticeClose=${()=>this._showInvalidFeatureServiceNotice=!1}><div slot=title>${r.headers.invalidInitialFeatureService}</div><div slot=message>${r.loadErrors.invalidInitialFeatureService}</div></calcite-notice>`:void 0;return h`<calcite-flow custom-item-selectors="arcgis-version-management-version-list, arcgis-version-management-version-properties" class=${S(this.mode==="dialog"?"":"calcite-flow-widget")} ${b(this.flowElement)}><calcite-flow-item .closable=${this.closable} .heading=${n??void 0} @calciteFlowItemClose=${()=>{this._handleFlowItemClose()}} .selected=${!d}>${U}<calcite-panel .loading=${m==="loading"||m==="executing"}>${N}${A}</calcite-panel></calcite-flow-item></calcite-flow>`}};_("arcgis-version-management",I);export{I as ArcgisVersionManagement};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
3
|
-
v4.32.0-next.84 */
|
|
4
|
-
import{a as l}from"./LABTBYBR.js";import"./XKFVFNRT.js";import{S as g}from"./WOWZWSL5.js";import"./PBYUEHJ2.js";import{B as o,C as a,H as r,g as s,r as i,s as e}from"./ALE6KF3F.js";var n=e`arcgis-navigation-toggle{display:block}`,h=l(g),t=class extends a{constructor(){super(...arguments),this.widget=h(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.icon=this.widget.icon,this.label=this.widget.label,this.layout=this.widget.layout,this.position="bottom-left",this.state=this.viewModel.state,this.arcgisPropertyChange=i()("layout","state"),this.arcgisReady=o()}static{this.properties={autoDestroyDisabled:5,icon:1,label:1,layout:3,position:1,referenceElement:1,state:3}}static{this.shadowRootOptions=s}static{this.styles=n}async destroy(){await this.manager.destroy()}async toggle(){this.widget?.toggle()}};r("arcgis-navigation-toggle",t);export{t as ArcgisNavigationToggle};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
3
|
-
v4.32.0-next.84 */
|
|
4
|
-
import{a as y}from"./LABTBYBR.js";import"./XKFVFNRT.js";import{d as s,x as w}from"./WOWZWSL5.js";import{d as c}from"./PBYUEHJ2.js";import{B as d,C as n,H as l,g as o,r,s as h}from"./ALE6KF3F.js";var m=h`arcgis-directions{display:block}`,g=y(w),i="map-components:arcgis-directions",a=class extends n{constructor(){super(...arguments),this.widget=g(this),this.viewModel=this.widget.viewModel,this.apiKey=this.widget.apiKey,this.autoDestroyDisabled=!1,this.headingLevel=this.widget.headingLevel,this.hideLayerDetails=this.widget.visibleElements.layerDetails,this.hideSaveAsButton=this.widget.visibleElements.saveAsButton,this.hideSaveButton=this.widget.visibleElements.saveButton,this.icon=this.widget.icon,this.label=this.widget.label,this.lastRoute=this.widget.lastRoute,this.layer=this.widget.layer,this.maxStops=this.widget.maxStops,this.position="bottom-left",this.searchProperties=this.widget.searchProperties,this.state=this.viewModel.state,this.unit=this.widget.unit,this.useDefaultRouteLayer=!1,this.arcgisPropertyChange=r()("lastRoute","state"),this.arcgisReady=d()}static{this.properties={apiKey:1,autoDestroyDisabled:5,headingLevel:9,hideLayerDetails:5,hideSaveAsButton:5,hideSaveButton:5,icon:1,label:1,lastRoute:0,layer:0,maxStops:9,position:1,referenceElement:1,routeLayerItemId:1,searchProperties:0,state:0,unit:1,useDefaultRouteLayer:5}}static{this.shadowRootOptions=o}static{this.styles=m}async destroy(){await this.manager.destroy()}async getDirections(){if(this.widget?.viewModel?.state!=="ready")throw new Error(`${i} - component not ready to get directions`);return await this.widget?.getDirections()}async save(){if(this.widget?.viewModel?.state!=="ready")throw new Error(`${i} - component not ready to save directions`);return await this.widget?.save()}async saveAs(t,e){if(this.widget?.viewModel?.state!=="ready")throw new Error(`${i} - component not ready to save directions as a Portal Item`);return await this.widget?.saveAs(t,e)}async zoomToRoute(){if(this.widget?.viewModel?.state!=="ready")throw new Error(`${i} - component not ready to zoom to route`);this.widget?.zoomToRoute()}willUpdate(t){if(t.has("routeLayerItemId")){let e=this.routeLayerItemId;c(e)&&!this.useDefaultRouteLayer?(this.widget.view?.map.remove(this.layer),this._setDefaultLayer()):e&&this.widget&&s({portalItem:{id:e}}).then(u=>{this.layer=u,this.widget.view?.map.add(this.layer)}).catch(console.error)}t.has("useDefaultRouteLayer")&&this._setDefaultLayer()}_setDefaultLayer(){this.useDefaultRouteLayer&&!this.routeLayerItemId&&s({}).then(t=>{this.layer=t,this.widget.view?.map.add(this.layer)}).catch(console.error)}};l("arcgis-directions",a);export{a as ArcgisDirections};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
3
|
-
v4.32.0-next.84 */
|
|
4
|
-
function E(e,n){Array.isArray(n)?e._watchHandles=[...e._watchHandles,...n]:e._watchHandles.push(n)}function b(e){e.el.childElem&&(e.el.childElem.ownedBy=e.el);let n=w(e);if(!n){let t=p(e.referenceElement);if(!t){f(e);return}return d(t,e,!0),t}return g(n,e.el.parent)||(e.el.parent=n,n.tagName.toLowerCase()==="arcgis-expand"?m(n,e):n.tagName.toLowerCase()==="arcgis-placement"?v(n,e):d(n,e,!1)),n}function w({el:e}){for(let n=e.parentElement;n;n=n?.parentElement??null){if(s.has(n.tagName.toLowerCase()))return n;if("ownedBy"in n&&n.ownedBy instanceof HTMLElement&&s.has(n.ownedBy.tagName.toLowerCase()))return n.ownedBy}}var s=new Set(["arcgis-map","arcgis-scene","arcgis-link-chart","arcgis-expand","arcgis-placement"]);function g(e,n){if(e!==n)return!1;let t=e.tagName.toLowerCase();return t==="arcgis-expand"||t==="arcgis-placement"}function i(e,n,t="arcgisReady"){let r=e;if(typeof r.view?.ready=="boolean")n(r.view);else{let o=function(l){l.target===e&&(i(e,n,t),e.removeEventListener(t,o))};e.addEventListener(t,o)}}var m=(e,n)=>i(e,t=>{n.el.childElem&&e.content!=null&&e.content.append(n.el.childElem),e.expandIcon=n.icon||n.widget?.icon||e.expandIcon,n.position=e.position,n.el.view=t}),v=(e,n)=>i(e,t=>{n.el.childElem&&n.el.append(n.el.childElem),n.position=e.position,n.el.view=t}),d=(e,n,t)=>i(e,r=>{t?f(n):n.el.childElem&&y(e,n),n.el.view=r},"arcgisViewReadyChange");function y(e,n){let t=n.el.childElem??n.el,r=[...e.children],o={};for(let a of r){let c=a.getAttribute("position")??"manual";o[c]??=[],o[c].push({child:a,position:c,index:r.indexOf(a)})}let l=o[n.position??"manual"]?.findIndex(({child:a})=>a===n.el);e.view.ui.remove(t),e.view.ui.add(t,{position:n.position,index:l})}function x(e){let n=!1,t=e.el.view,r=Object.getOwnPropertyDescriptor(Object.getPrototypeOf(e.el),"view")??{get:()=>t,set:o=>t=o};Object.defineProperty(e.el,"view",{get:r.get.bind(e.el),set:o=>{r.set.call(e.el,o),o&&!n&&(n=!0,e.arcgisReady.emit())},configurable:!0,enumerable:!0}),t&&(e.el.view=t)}function L(e){return e==null||e===""}function C(e,n){return n!=null&&e?.position===n.position&&e?.heading===n.heading&&e?.tilt===n.tilt&&e?.fov===n.fov}function N(e,n){return n===void 0||e?.targetGeometry!==n?.targetGeometry||e?.rotation!==n?.rotation||e?.scale!==n?.scale}function O(e,n){return u(n?.center,e)}function u(e,n){if(typeof n=="string")return u(e,n.split(",").map(Number));if(!e)return n;if(Array.isArray(n)){let t=n[0],r=n[1],o=n.length>2?n[2]:void 0;if(t!==e.longitude||r!==e.latitude||o!==e.z)return n}else if(n&&!e?.equals(n))return n}async function A(e,n){n!=null&&(typeof n=="string"?e.el.view=await h(n):e.widget&&(e.el.view=n.view))}async function h(e){let n=p(e);return await new Promise(t=>{typeof n?.view?.ready=="boolean"?t(n.view):n&&n.addEventListener("arcgisViewReadyChange",()=>t(n.view),{once:!0})})}function f(e){e.el.childElem&&(e.el.shadowRoot??e.el).append(e.el.childElem)}function p(e){return typeof e!="string"?e??void 0:(e.includes("#")||e.includes(".")||e.includes("[")?void 0:document.querySelector(`#${e}`))??document.querySelector(e)??void 0}export{E as a,b,x as c,L as d,C as e,N as f,O as g,u as h,A as i};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
3
|
-
v4.32.0-next.84 */
|
|
4
|
-
import{a as h}from"./LABTBYBR.js";import"./XKFVFNRT.js";import{T as l,c as n}from"./WOWZWSL5.js";import"./PBYUEHJ2.js";import{B as r,C as o,H as d,g as t,r as a,s}from"./ALE6KF3F.js";var y=s`arcgis-oriented-imagery-viewer{display:block}`,c=h(l),e=class extends o{constructor(){super(...arguments),this.widget=c(this),this._hasOrientedImageryLayerToAdd=!1,this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.currentCoverageVisible=this.widget.currentCoverageVisible,this.disabled=this.widget.disabled,this.galleryOpened=this.widget.galleryOpened,this.icon=this.widget.icon,this.imageEnhancementToolActive=this.widget.imageEnhancementToolActive,this.imageGalleryEnabled=this.widget.imageGalleryEnabled,this.isAdditionalCoverageVisible=this.widget.isAdditionalCoverageVisible,this.isAdditionalPointSourcesVisible=this.widget.isAdditionalPointSourcesVisible,this.label=this.widget.label,this.layer=this.widget.layer,this.mapImageConversionToolState=this.widget.mapImageConversionToolState,this.navigationToolActive=this.widget.navigationToolActive,this.position="bottom-left",this.referencePoint=this.widget.referencePoint,this.arcgisPropertyChange=a()("imageGalleryEnabled","layer"),this.arcgisReady=r()}static{this.properties={autoDestroyDisabled:5,currentCoverageVisible:5,disabled:5,galleryOpened:5,icon:1,imageEnhancementToolActive:5,imageGalleryEnabled:4,isAdditionalCoverageVisible:5,isAdditionalPointSourcesVisible:5,label:1,layer:0,mapImageConversionToolState:5,navigationToolActive:5,orientedImageryLayerItemId:1,position:1,referenceElement:1,referencePoint:0}}static{this.shadowRootOptions=t}static{this.styles=y}async destroy(){await this.manager.destroy()}willUpdate(g){if(g.has("orientedImageryLayerItemId")){let i=this.orientedImageryLayerItemId;i&&this.widget&&n({portalItem:{id:i}}).then(m=>{this.layer=m,this.widget.view?this.widget.view.map.add(this.layer):this._hasOrientedImageryLayerToAdd=!0}).catch(console.error)}}loaded(){this._hasOrientedImageryLayerToAdd&&(this.widget.view?(this.widget.view?.map.add(this.layer),this._hasOrientedImageryLayerToAdd=!1):this.el.addEventListener("arcgisReady",()=>{this.widget.view.map.add(this.layer),this._hasOrientedImageryLayerToAdd=!1},{once:!0}))}};d("arcgis-oriented-imagery-viewer",e);export{e as ArcgisOrientedImageryViewer};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
3
|
-
v4.32.0-next.84 */
|
|
4
|
-
import{a as S}from"./CTCO63FH.js";import{b as m}from"./B2AHBB47.js";import{ea as c}from"./WOWZWSL5.js";import{b as r,c as h,i as A}from"./PBYUEHJ2.js";import{B as n,C as l,H as a,g as e,t as o}from"./ALE6KF3F.js";var s=class extends l{constructor(){super(...arguments),this._watchHandles=[],this.autoRefreshAssociationsDisabled=!1,this.includeConnectivityAssociationsDisabled=!1,this.includeStructuralAttachmentAssociationsDisabled=!1,this.maxAllowableAssociations=250,this.position="bottom-left",this.showArrowsConnectivity=!1,this.showArrowsStructuralAttachment=!1,this.showAssociationsEnabled=!1,this.visibleElementsConnectivityAssociationsSettingsArrowsToggle=!0,this.visibleElementsConnectivityAssociationsSettingsCapSelect=!0,this.visibleElementsConnectivityAssociationsSettingsColorPicker=!0,this.visibleElementsConnectivityAssociationsSettingsStylePicker=!0,this.visibleElementsConnectivityAssociationsSettingsWidthInput=!0,this.visibleElementsMaxAllowableAssociationsSlider=!0,this.visibleElementsStructuralAttachmentAssociationsSettingsArrowsToggle=!0,this.visibleElementsStructuralAttachmentAssociationsSettingsCapSelect=!0,this.visibleElementsStructuralAttachmentAssociationsSettingsColorPicker=!0,this.visibleElementsStructuralAttachmentAssociationsSettingsStylePicker=!0,this.visibleElementsStructuralAttachmentAssociationsSettingsWidthInput=!0,this.arcgisReady=n()}static{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,view:0,visibleElementsConnectivityAssociationsSettingsArrowsToggle:5,visibleElementsConnectivityAssociationsSettingsCapSelect:5,visibleElementsConnectivityAssociationsSettingsColorPicker:5,visibleElementsConnectivityAssociationsSettingsStylePicker:5,visibleElementsConnectivityAssociationsSettingsWidthInput:5,visibleElementsMaxAllowableAssociationsSlider:5,visibleElementsStructuralAttachmentAssociationsSettingsArrowsToggle:5,visibleElementsStructuralAttachmentAssociationsSettingsCapSelect:5,visibleElementsStructuralAttachmentAssociationsSettingsColorPicker:5,visibleElementsStructuralAttachmentAssociationsSettingsStylePicker:5,visibleElementsStructuralAttachmentAssociationsSettingsWidthInput:5,widget:0}}static{this.shadowRootOptions=e}willUpdate(t){if(t.has("referenceElement")&&A(this,this.referenceElement),this.widget){if(t.has("autoRefreshAssociationsDisabled")){let i=this.autoRefreshAssociationsDisabled;i!==void 0&&(this.widget.autoRefreshAssociations=!i)}if(t.has("connectivityAssociationsLineSymbol")){let i=this.connectivityAssociationsLineSymbol;i&&(this.widget.connectivityAssociationsLineSymbol=i)}if(t.has("includeConnectivityAssociationsDisabled")){let i=this.includeConnectivityAssociationsDisabled;i!==void 0&&(this.widget.includeConnectivityAssociations=!i)}if(t.has("includeStructuralAttachmentAssociationsDisabled")){let i=this.includeStructuralAttachmentAssociationsDisabled;i!==void 0&&(this.widget.includeStructuralAttachmentAssociations=!i)}if(t.has("maxAllowableAssociations")){let i=this.maxAllowableAssociations;i!==void 0&&(this.widget.maxAllowableAssociations=i)}if(t.has("maxAllowableAssociationsSliderMax")){let i=this.maxAllowableAssociationsSliderMax;i!==void 0&&(this.widget.maxAllowableAssociationsSliderMax=i)}if(t.has("maxAllowableAssociationsSliderMin")){let i=this.maxAllowableAssociationsSliderMin;i!==void 0&&(this.widget.maxAllowableAssociationsSliderMin=i)}if(t.has("maxAllowableAssociationsSliderStep")){let i=this.maxAllowableAssociationsSliderStep;i!==void 0&&(this.widget.maxAllowableAssociationsSliderStep=i)}if(t.has("showArrowsConnectivity")){let i=this.showArrowsConnectivity;i!==void 0&&(this.widget.showArrowsConnectivity=i)}if(t.has("showArrowsStructuralAttachment")){let i=this.showArrowsStructuralAttachment;i!==void 0&&(this.widget.showArrowsStructuralAttachment=i)}if(t.has("showAssociationsEnabled")){let i=this.showAssociationsEnabled;i!==void 0&&(this.widget.showAssociationsEnabled=i)}if(t.has("structuralAttachmentAssociationsLineSymbol")){let i=this.structuralAttachmentAssociationsLineSymbol;i!==void 0&&(this.widget.structuralAttachmentAssociationsLineSymbol=i)}}if(t.has("utilityNetwork")){let i=this.utilityNetwork;i!==void 0&&(this.widget.utilityNetwork=i)}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)}async loaded(){let t=this._createParams(),i=await c(t);this.widget=i,this._addContainer(),h(this),r(this)}disconnectedCallback(){super.disconnectedCallback(),S(this)}visibleElementsConnectivityAssociationsSettingsArrowsToggleWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,connectivityAssociationsSettings:{...this.widget.visibleElements.connectivityAssociationsSettings,arrowsToggle:t}})}visibleElementsConnectivityAssociationsSettingsCapSelectWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,connectivityAssociationsSettings:{...this.widget.visibleElements.connectivityAssociationsSettings,capSelect:t}})}visibleElementsConnectivityAssociationsSettingsColorPickerWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,connectivityAssociationsSettings:{...this.widget.visibleElements.connectivityAssociationsSettings,colorPicker:t}})}visibleElementsConnectivityAssociationsSettingsStylePickerWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,connectivityAssociationsSettings:{...this.widget.visibleElements.connectivityAssociationsSettings,stylePicker:t}})}visibleElementsConnectivityAssociationsSettingsWidthInputWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,connectivityAssociationsSettings:{...this.widget.visibleElements.connectivityAssociationsSettings,widthInput:t}})}visibleElementsMaxAllowableAssociationsSliderWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,maxAllowableAssociationsSlider:t})}visibleElementsStructuralAttachmentAssociationsSettingsArrowsToggleWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,structuralAttachmentAssociationsSettings:{...this.widget.visibleElements.structuralAttachmentAssociationsSettings,arrowsToggle:t}})}visibleElementsStructuralAttachmentAssociationsSettingsCapSelectWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,structuralAttachmentAssociationsSettings:{...this.widget.visibleElements.structuralAttachmentAssociationsSettings,capSelect:t}})}visibleElementsStructuralAttachmentAssociationsSettingsStylePickerWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,structuralAttachmentAssociationsSettings:{...this.widget.visibleElements.structuralAttachmentAssociationsSettings,stylePicker:t}})}visibleElementsStructuralAttachmentAssociationsSettingsWidthInputWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,structuralAttachmentAssociationsSettings:{...this.widget.visibleElements.structuralAttachmentAssociationsSettings,widthInput:t}})}positionWatcher(t){t!==void 0&&this.widget&&this.el.childElem&&this.view.ui.move(this.el.childElem,t)}viewWatcher(t){t!==void 0&&this.widget&&(this.widget.view=t,this._loadUtilityNetwork())}_addContainer(){this.widget.container=this.el.childElem}_createParams(){let t={};return t.visibleElements={connectivityAssociationsSettings:{arrowsToggle:this.visibleElementsConnectivityAssociationsSettingsArrowsToggle,capSelect:this.visibleElementsConnectivityAssociationsSettingsCapSelect,colorPicker:this.visibleElementsConnectivityAssociationsSettingsColorPicker,stylePicker:this.visibleElementsConnectivityAssociationsSettingsStylePicker,widthInput:this.visibleElementsConnectivityAssociationsSettingsWidthInput},maxAllowableAssociationsSlider:this.visibleElementsMaxAllowableAssociationsSlider,structuralAttachmentAssociationsSettings:{arrowsToggle:this.visibleElementsStructuralAttachmentAssociationsSettingsArrowsToggle,capSelect:this.visibleElementsStructuralAttachmentAssociationsSettingsCapSelect,colorPicker:this.visibleElementsStructuralAttachmentAssociationsSettingsColorPicker,stylePicker:this.visibleElementsStructuralAttachmentAssociationsSettingsStylePicker,widthInput:this.visibleElementsStructuralAttachmentAssociationsSettingsWidthInput}},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}async _loadUtilityNetwork(){if(this.view?.map&&this.view.map.portalItem){await this.view.map.load();let t=this.view.map.utilityNetworks.getItemAt(0);await t.load(),this.utilityNetwork=t}}_setChildElement(t){this.el.childElem=t}render(){return o`<div ${m(this._setChildElement)}></div>`}};a("arcgis-utility-network-associations",s);export{s as ArcgisUtilityNetworkAssociations};
|