@arcgis/map-components 4.32.0-next.16 → 4.32.0-next.17
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/arcgis-map-components/{3AZ6NFON.js → 25V6UTQJ.js} +2 -2
- package/dist/arcgis-map-components/{VWQCN3O2.js → 2VJZJ5WQ.js} +2 -2
- package/dist/arcgis-map-components/{UBU2U6CM.js → 3MFNVGBL.js} +2 -2
- package/dist/arcgis-map-components/{UPGFD5BC.js → 3RONGNRS.js} +2 -2
- package/dist/arcgis-map-components/{2ZHISQJN.js → 4NVLQSVJ.js} +1 -1
- package/dist/arcgis-map-components/{SV55VUUT.js → 4VBK4SWX.js} +2 -2
- package/dist/arcgis-map-components/{REA5VY4P.js → 4YXV4VNH.js} +2 -2
- package/dist/arcgis-map-components/{KKNFQCWI.js → 5DEJASG4.js} +2 -2
- package/dist/arcgis-map-components/{PBWEJMHW.js → 6A22MGYY.js} +2 -2
- package/dist/arcgis-map-components/{WWMFX5BO.js → 6HV5JKRC.js} +2 -2
- package/dist/arcgis-map-components/{ZJD6HG35.js → 7L7IE75K.js} +1 -1
- package/dist/arcgis-map-components/{6WXLVJT5.js → AIH5725O.js} +2 -2
- package/dist/arcgis-map-components/{XFM6PCVT.js → AMD4AVOM.js} +2 -2
- package/dist/arcgis-map-components/{XNBJ7NNW.js → AODMZX3U.js} +2 -2
- package/dist/arcgis-map-components/{PSJGBVMQ.js → CA27NNYW.js} +2 -2
- package/dist/arcgis-map-components/{WKFO5HNK.js → CN5DWAUR.js} +2 -2
- package/dist/arcgis-map-components/{WNP23KL4.js → CQF3KSWN.js} +2 -2
- package/dist/arcgis-map-components/{BHCHZGF7.js → CWZWRQNK.js} +2 -2
- package/dist/arcgis-map-components/{BKQDQDEF.js → DDDRITYA.js} +2 -2
- package/dist/arcgis-map-components/{XXPIG53C.js → DZV54DGM.js} +2 -2
- package/dist/arcgis-map-components/{5M63L7YY.js → E4GLRGON.js} +2 -2
- package/dist/arcgis-map-components/{XQSXJYHQ.js → EVGAWY7L.js} +2 -2
- package/dist/arcgis-map-components/{4HMYOX7P.js → FCQHRD6S.js} +2 -2
- package/dist/arcgis-map-components/{AVJZ3NJX.js → FIUOOJH3.js} +2 -2
- package/dist/arcgis-map-components/{I7X7PQ5B.js → GK7T3EXK.js} +2 -2
- package/dist/arcgis-map-components/{MISEJFJ7.js → GQHP7ZRP.js} +1 -1
- package/dist/arcgis-map-components/{6G3EBE53.js → I2HAPRN6.js} +2 -2
- package/dist/arcgis-map-components/{L7QM54ST.js → J66W2Q5G.js} +2 -2
- package/dist/arcgis-map-components/{HKG357IZ.js → K74W7E4N.js} +2 -2
- package/dist/arcgis-map-components/{TDMFAMWP.js → KPO5O5DC.js} +2 -2
- package/dist/arcgis-map-components/{QUSBQ4OK.js → KVGUCHOG.js} +2 -2
- package/dist/arcgis-map-components/{WWUQ5FWW.js → L45SOIFK.js} +2 -2
- package/dist/arcgis-map-components/{N36JFLPY.js → MJF3SIIC.js} +2 -2
- package/dist/arcgis-map-components/{5MU44G7R.js → MPQBGDVZ.js} +2 -2
- package/dist/arcgis-map-components/{XDAHKJZ7.js → MQ7MCQ4G.js} +2 -2
- package/dist/arcgis-map-components/{35P4ZVFR.js → MV54VPXE.js} +2 -2
- package/dist/arcgis-map-components/{VWG4BPAP.js → N4VM4LRK.js} +2 -2
- package/dist/arcgis-map-components/{WBWZXLRU.js → NC5G6FHE.js} +2 -2
- package/dist/arcgis-map-components/{43V7URIL.js → NDS4EMFM.js} +2 -2
- package/dist/arcgis-map-components/{BU7UFQQB.js → OEBOOAS6.js} +1 -1
- package/dist/arcgis-map-components/{D36GFJS5.js → ORCM5ZPQ.js} +2 -2
- package/dist/arcgis-map-components/{45BEOPC6.js → P7XHBGJQ.js} +2 -2
- package/dist/arcgis-map-components/{4C3FYHS4.js → PNG6FYCV.js} +2 -2
- package/dist/arcgis-map-components/{TLEY3SYK.js → PVU34ATK.js} +2 -2
- package/dist/arcgis-map-components/{CZAWBXTJ.js → QDPKDC4S.js} +2 -2
- package/dist/arcgis-map-components/{7PC7FXI3.js → QGQ6XHOM.js} +2 -2
- package/dist/arcgis-map-components/{U5Y2JTBY.js → QJYA2ABX.js} +2 -2
- package/dist/arcgis-map-components/{2YR6M353.js → QLVVKENF.js} +2 -2
- package/dist/arcgis-map-components/{A4RLVC2A.js → R76EUCLX.js} +2 -2
- package/dist/arcgis-map-components/{RAFPWR72.js → R7SMLFH3.js} +2 -2
- package/dist/arcgis-map-components/{X5ZIU6WP.js → RXDYUT7Y.js} +2 -2
- package/dist/arcgis-map-components/{IGATJWOV.js → S3DH2HRI.js} +2 -2
- package/dist/arcgis-map-components/{SUMXURKO.js → SA3POLPQ.js} +2 -2
- package/dist/arcgis-map-components/{W7BWBTPD.js → SVISMHOU.js} +2 -2
- package/dist/arcgis-map-components/{MP5E6DEV.js → T3OSN5E2.js} +2 -2
- package/dist/arcgis-map-components/{UYZ7ALKH.js → TLJWI7N2.js} +2 -2
- package/dist/arcgis-map-components/{4XOD7QC3.js → TSDUK5BN.js} +2 -2
- package/dist/arcgis-map-components/{6EQFGE6N.js → TTXSW5PG.js} +2 -2
- package/dist/arcgis-map-components/{EYPM5JFM.js → TYXXKHYH.js} +2 -2
- package/dist/arcgis-map-components/{B7H7WD4G.js → VKLAKB6P.js} +2 -2
- package/dist/arcgis-map-components/{NILBBRM5.js → VLRCSWMX.js} +2 -2
- package/dist/arcgis-map-components/{DYXQQCAT.js → VY53I3CJ.js} +2 -2
- package/dist/arcgis-map-components/{NHABUMLT.js → XKIAQ77I.js} +2 -2
- package/dist/arcgis-map-components/{O646RL65.js → XM5Y7PL2.js} +2 -2
- package/dist/arcgis-map-components/{TOBLLYA5.js → Y333JIBC.js} +2 -2
- package/dist/arcgis-map-components/{CI45AMD2.js → YMVS4RQD.js} +2 -2
- package/dist/arcgis-map-components/{HE276VDN.js → YPANBVS2.js} +2 -2
- package/dist/arcgis-map-components/{3ZAO6TTP.js → Z3N5HRFP.js} +2 -2
- package/dist/arcgis-map-components/{GAO4PBLB.js → ZHORPZAY.js} +2 -2
- package/dist/arcgis-map-components/{EXDFC7VV.js → ZL74XVER.js} +2 -2
- package/dist/arcgis-map-components/{BJFVHRWQ.js → ZXEIMLHU.js} +2 -2
- package/dist/arcgis-map-components/arcgis-map-components.esm.js +2 -2
- package/dist/chunks/component-utils.js +1 -1
- package/dist/chunks/disconnected.js +1 -1
- package/dist/chunks/globalCss.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.js +1 -1
- package/dist/components/arcgis-basemap-gallery/customElement.js +1 -1
- package/dist/components/arcgis-basemap-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-basemap-toggle/customElement.js +1 -1
- 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.js +1 -1
- package/dist/components/arcgis-compass/customElement.js +1 -1
- 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.js +1 -1
- 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.js +1 -1
- package/dist/components/arcgis-elevation-profile/customElement.js +1 -1
- package/dist/components/arcgis-expand/customElement.js +1 -1
- package/dist/components/arcgis-feature/customElement.js +1 -1
- package/dist/components/arcgis-feature-form/customElement.js +1 -1
- package/dist/components/arcgis-feature-table/customElement.js +1 -1
- package/dist/components/arcgis-feature-templates/customElement.js +1 -1
- package/dist/components/arcgis-features/customElement.js +1 -1
- package/dist/components/arcgis-floor-filter/customElement.js +1 -1
- package/dist/components/arcgis-fullscreen/customElement.js +1 -1
- package/dist/components/arcgis-histogram/customElement.js +1 -1
- package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-home/customElement.js +1 -1
- 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-locate/customElement.js +1 -1
- package/dist/components/arcgis-map/customElement.js +1 -1
- package/dist/components/arcgis-measurement/customElement.js +1 -1
- package/dist/components/arcgis-navigation-toggle/customElement.js +1 -1
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +1 -1
- package/dist/components/arcgis-placement/customElement.js +1 -1
- package/dist/components/arcgis-print/customElement.js +1 -1
- package/dist/components/arcgis-scale-bar/customElement.js +1 -1
- package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-scene/customElement.js +1 -1
- package/dist/components/arcgis-search/customElement.js +1 -1
- package/dist/components/arcgis-shadow-cast/customElement.js +1 -1
- package/dist/components/arcgis-sketch/customElement.js +1 -1
- package/dist/components/arcgis-slice/customElement.js +1 -1
- package/dist/components/arcgis-slider/customElement.js +1 -1
- package/dist/components/arcgis-swipe/customElement.js +1 -1
- package/dist/components/arcgis-table-list/customElement.js +1 -1
- package/dist/components/arcgis-time-slider/customElement.js +1 -1
- package/dist/components/arcgis-track/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -1
- package/dist/components/arcgis-value-picker/customElement.js +1 -1
- package/dist/components/arcgis-version-management/customElement.js +1 -1
- 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.js +1 -1
- package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
- package/dist/components/arcgis-weather/customElement.js +1 -1
- package/dist/components/arcgis-zoom/customElement.js +1 -1
- package/dist/docs/api.json +2 -2
- package/dist/docs/docs.json +2 -2
- package/dist/docs/web-types.json +1 -1
- package/dist/index.js +1 -1
- package/dist/loader.js +1 -1
- package/package.json +5 -5
@@ -1,6 +1,6 @@
|
|
1
1
|
/*!
|
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.17
|
5
5
|
*/
|
6
|
-
import{a as l}from"./
|
6
|
+
import{a as l}from"./VKLAKB6P.js";import"./Y333JIBC.js";import{z as r}from"./GQHP7ZRP.js";import"./7L7IE75K.js";import{B as h,G as n,o as i,p as e,y as s,z as o}from"./OEBOOAS6.js";var a=e`arcgis-elevation-profile{display:block}`,d=l(r),t=class extends h{constructor(){super(...arguments),this.widget=d(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.effectiveUnits=this.viewModel.effectiveUnits,this.hideChart=this.widget.visibleElements.chart,this.hideClearButton=this.widget.visibleElements.clearButton,this.hideLegend=this.widget.visibleElements.legend,this.hideSelectButton=this.widget.visibleElements.selectButton,this.hideSettingsButton=this.widget.visibleElements.settingsButton,this.hideSketchButton=this.widget.visibleElements.sketchButton,this.hideUniformChartScalingToggle=this.widget.visibleElements.uniformChartScalingToggle,this.hideUnitSelector=this.widget.visibleElements.unitSelector,this.highlightEnabled=this.viewModel.highlightEnabled,this.hoveredChartPosition=this.viewModel.hoveredChartPosition,this.icon=this.widget.icon,this.input=this.widget.input,this.label=this.widget.label,this.position="bottom-left",this.profiles=this.widget.profiles,this.progress=this.viewModel.progress,this.state=this.viewModel.state,this.uniformChartScaling=this.viewModel.uniformChartScaling,this.unit=this.widget.unit,this.unitOptions=this.widget.unitOptions,this.arcgisPropertyChange=i()("input","effectiveUnits","progress","state"),this.arcgisReady=s()}static{this.properties={autoDestroyDisabled:5,effectiveUnits:0,hideChart:5,hideClearButton:5,hideLegend:5,hideSelectButton:5,hideSettingsButton:5,hideSketchButton:5,hideUniformChartScalingToggle:5,hideUnitSelector:5,highlightEnabled:5,hoveredChartPosition:9,icon:1,input:0,label:1,position:1,profiles:0,progress:8,referenceElement:1,state:3,uniformChartScaling:5,unit:1,unitOptions:0}}static{this.shadowRootOptions=o}static{this.styles=a}async destroy(){await this.manager.destroy()}async start(){this.widget.viewModel.start()}async stop(){this.widget.viewModel.stop()}};n("arcgis-elevation-profile",t);export{t as ArcgisElevationProfile};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/*!
|
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.17
|
5
5
|
*/
|
6
|
-
import{a as r}from"./
|
6
|
+
import{a as r}from"./VKLAKB6P.js";import"./Y333JIBC.js";import{G as l}from"./GQHP7ZRP.js";import"./7L7IE75K.js";import{B as o,G as a,p as i,y as e,z as s}from"./OEBOOAS6.js";var n=i`arcgis-floor-filter{display:block}`,c=r(l),t=class extends o{constructor(){super(...arguments),this.widget=c(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.facility=this.widget.facility,this.headingLevel=this.widget.headingLevel,this.icon=this.widget.icon,this.label=this.widget.label,this.level=this.widget.level,this.longNames=this.widget.longNames,this.position="bottom-left",this.site=this.widget.site,this.arcgisReady=e()}static{this.properties={autoDestroyDisabled:5,facility:3,headingLevel:9,icon:1,label:1,level:3,longNames:5,position:1,referenceElement:1,site:3}}static{this.shadowRootOptions=s}static{this.styles=n}async destroy(){await this.manager.destroy()}async updateWebDocument(h){this.widget?.updateWebDocument(h)}};a("arcgis-floor-filter",t);export{t as ArcgisFloorFilter};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/*!
|
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.17
|
5
5
|
*/
|
6
|
-
import{a as h}from"./
|
6
|
+
import{a as h}from"./VKLAKB6P.js";import"./Y333JIBC.js";import{R as l,c as n}from"./GQHP7ZRP.js";import"./7L7IE75K.js";import{B as o,G as d,o as t,p as a,y as s,z as r}from"./OEBOOAS6.js";var y=a`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=t()("imageGalleryEnabled","layer"),this.arcgisReady=s()}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=r}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,6 +1,6 @@
|
|
1
1
|
/*!
|
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.17
|
5
5
|
*/
|
6
|
-
import{a as r,c as y,d as t}from"./
|
6
|
+
import{a as r,c as y,d as t}from"./Y333JIBC.js";import{f as d,h as g,ja as u}from"./GQHP7ZRP.js";import{e as h,f as _,g as n,h as o}from"./7L7IE75K.js";import{B as v,G as l,m,p as w,y as a,z as p}from"./OEBOOAS6.js";var V=w`.arcgis-scene{padding:0;margin:0;height:100%;width:100%}`,f=r(g,{}),b=r(d,{}),c=class extends v{constructor(){super(...arguments),this._map=f(this,{editConstructorProperties:this._editMapProperties}),this.reactiveUtils=m(u),this.view=b(this,{editConstructorProperties:this._editViewProperties}),this.allLayerViews=this.view.allLayerViews,this.alphaCompositingEnabled=this.view.alphaCompositingEnabled,this.analyses=this.view.analyses,this.autoDestroyDisabled=!1,this.basemap=this._map.basemap,this.basemapView=this.view.basemapView,this.clippingArea=this.view.clippingArea,this.constraints=this.view.constraints,this.environment=this.view.environment,this.fatalError=this.view.fatalError,this.floors=this.view.floors,this.graphics=this.view.graphics,this.ground=this._map.ground,this.groundView=this.view.groundView,this.highlightOptions=this.view.highlightOptions,this.layerViews=this.view.layerViews,this.magnifier=this.view.magnifier,this.map=this.view.map,this.navigation=this.view.navigation,this.padding=this.view.padding,this.popup=this.view.popup,this.popupDisabled=this.view.popupEnabled,this.qualityProfile=this.view.qualityProfile,this.ready=this.view.ready,this.spatialReference=this.view.spatialReference,this.suspended=this.view.suspended,this.theme=this.view.theme,this.timeExtent=this.view.timeExtent,this.updating=this.view.updating,this.viewingMode=this.view.viewingMode,this.arcgisViewChange=a(),this.arcgisViewClick=t(()=>this.view,"click"),this.arcgisViewDoubleClick=t(()=>this.view,"double-click"),this.arcgisViewDrag=t(()=>this.view,"drag"),this.arcgisViewHold=t(()=>this.view,"hold"),this.arcgisViewImmediateClick=t(()=>this.view,"immediate-click"),this.arcgisViewImmediateDoubleClick=t(()=>this.view,"immediate-double-click"),this.arcgisViewKeyDown=t(()=>this.view,"key-down"),this.arcgisViewKeyUp=t(()=>this.view,"key-up"),this.arcgisViewLayerviewCreate=t(()=>this.view,"layer-view-create"),this.arcgisViewLayerviewCreateError=t(()=>this.view,"layer-view-create-error"),this.arcgisViewLayerviewDestroy=t(()=>this.view,"layer-view-destroy"),this.arcgisViewMouseWheel=t(()=>this.view,"mouse-wheel"),this.arcgisViewPointerDown=t(()=>this.view,"pointer-down"),this.arcgisViewPointerEnter=t(()=>this.view,"pointer-enter"),this.arcgisViewPointerLeave=t(()=>this.view,"pointer-leave"),this.arcgisViewPointerMove=t(()=>this.view,"pointer-move"),this.arcgisViewPointerUp=t(()=>this.view,"pointer-up"),this.arcgisViewReadyChange=a()}static{this.properties={view:32,allLayerViews:0,alphaCompositingEnabled:5,analyses:0,autoDestroyDisabled:5,basemap:1,basemapView:0,camera:0,cameraFov:9,cameraHeading:9,cameraPosition:1,cameraTilt:9,center:1,clippingArea:0,constraints:0,environment:0,extent:0,fatalError:0,floors:0,gamepad:32,graphics:0,ground:0,groundView:0,highlightOptions:0,interacting:32,itemId:3,layerViews:0,magnifier:0,map:0,navigating:32,navigation:0,padding:0,performanceInfo:32,popup:0,popupDisabled:5,qualityProfile:1,ready:0,resolution:32,scale:9,spatialReference:0,stationary:32,suspended:7,theme:0,timeExtent:0,updating:7,viewingMode:1,viewpoint:0,zoom:9}}static{this.shadowRootOptions=p}static{this.styles=V}get camera(){return this.view.camera??this._camera}set camera(e){this._camera=e,this.ready&&!h(this.camera,e)&&(this.view.camera=e)}get cameraFov(){return this.view.camera?.fov??this._cameraFov}set cameraFov(e){this.ready?e!=null&&this._mutateCamera(i=>{i.fov=e}):this._cameraFov=e}get cameraHeading(){return this.view.camera?.heading??this._cameraHeading}set cameraHeading(e){this.ready?e!=null&&this._mutateCamera(i=>{i.heading=e}):this._cameraFov=e}get cameraPosition(){return this.view.camera?.position??this._cameraPosition}set cameraPosition(e){if(this.ready){let i=o(this.view.camera?.position,e);i&&this._mutateCamera(s=>{s.position=i})}else this._cameraPosition=e}get cameraTilt(){return this.view.camera?.tilt??this._cameraTilt}set cameraTilt(e){if(this.ready)e!=null&&this._mutateCamera(i=>{i.tilt=e});else{this._cameraTilt=e;return}}get center(){return this.view.center??this._center}set center(e){let i=n(e,this.ready?this.view:void 0);i&&(this.ready&&(this.view.center=i),this._center=i)}get extent(){return this.view.extent??this._extent}set extent(e){this.view.ready||(this._extent=e),e&&!this.extent?.equals(e)&&(this.view.extent=e)}get gamepad(){return this.ready?this.view.input.gamepad:void 0}get interacting(){return this.view.interacting}get itemId(){return this._map.portalItem?.id??this._itemId}set itemId(e){this._itemId=e,this.ready&&y.reCreate(this._map,this).then(()=>{this.view.map=this._map}).catch(console.error)}get navigating(){return this.view.navigating}get performanceInfo(){return this.view.performanceInfo}get resolution(){return this.view.resolution}get scale(){return this.view.scale??this._scale}set scale(e){this.ready&&(this.view.scale=e),this._scale=e}get stationary(){return this.view.stationary}get viewpoint(){return this.view.viewpoint??this._viewpoint}set viewpoint(e){_(this.viewpoint,e)&&(this.ready&&(this.view.viewpoint=e),this._viewpoint=e)}get zoom(){return this.view.zoom??this._zoom}set zoom(e){this.ready&&(this.view.zoom=e),this._zoom=e}async addLayer(e,i){this.map?.add(e,i)}async addLayers(e,i){this.map?.addMany(e,i)}async closePopup(){this.view?.closePopup()}async destroy(){await this.manager.destroy()}async goTo(e,i){return await this.view?.goTo(e,i)}async hitTest(e,i){return await this.view?.hitTest(e,i)}async openPopup(e){await this.view?.openPopup(e)}async takeScreenshot(e){return await this.view?.takeScreenshot(e)}toMap(e,i){return this.view.toMap(e,i)}toScreen(e){return this.view.toScreen(e)}async tryFatalErrorRecovery(){this.view?.tryFatalErrorRecovery()}async whenAnalysisView(e){return await this.view?.whenAnalysisView(e)}async whenLayerView(e){return await this.view?.whenLayerView(e)}load(){this.el.childElem=document.createElement("div"),this.el.childElem.classList.add("arcgis-scene"),this.el.append(this.el.childElem),this.view.container??=this.el.childElem}loaded(){let{watch:e}=this.reactiveUtils;this.manager.onLifecycle(()=>[e(()=>this.view.stationary,()=>{this.arcgisViewChange.emit()},{initial:!0}),e(()=>this.view.ready,()=>this.arcgisViewReadyChange.emit(),{initial:this.view.ready})])}_editMapProperties(e){this.map&&(this._map=this.map),this.itemId?e.portalItem={id:this.itemId}:this.basemap?this.basemap==="none"&&(e.basemap=void 0,this.basemap=null):e.basemap="topo-vector";let{basemap:i,...s}=e;return i||(e=s),e}async _editViewProperties(e){await this.manager.use(this._map),this.view.ui||(e.ui={components:["attribution"]}),e.map??=this._map;let i=n(this.center,void 0);i&&(e.center=i),this.viewpoint&&(e.viewpoint=this.viewpoint),this.scale!==void 0&&(e.scale=this.scale),this.extent&&(e.extent=this.extent),this.camera&&(e.camera=this.camera);let s=o(void 0,this.cameraPosition);return s&&(e.camera??={},e.camera.position=s),this.cameraHeading!=null&&(e.camera??={},e.camera.heading=this.cameraHeading),this.cameraTilt!=null&&(e.camera??={},e.camera.tilt=this.cameraTilt),this.cameraFov!=null&&(e.camera??={},e.camera.fov=this.cameraFov),this.zoom!==void 0&&(e.zoom=this.zoom),e}_mutateCamera(e){let i=this.view.camera.clone();e(i),h(this.view.camera,i)||(this.view.camera=i)}};l("arcgis-scene",c);export{c as ArcgisScene};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/*!
|
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.17
|
5
5
|
*/
|
6
|
-
import{a as h}from"./
|
6
|
+
import{a as h}from"./VKLAKB6P.js";import"./Y333JIBC.js";import{M as n}from"./GQHP7ZRP.js";import"./7L7IE75K.js";import{B as r,G as o,o as i,p as t,y as s,z as a}from"./OEBOOAS6.js";var d=t`arcgis-legend{display:block}`,l=h(n),e=class extends r{constructor(){super(...arguments),this.widget=l(this),this.viewModel=this.widget.viewModel,this.activeLayerInfos=this.widget.activeLayerInfos,this.autoDestroyDisabled=!1,this.basemapLegendVisible=this.widget.basemapLegendVisible,this.headingLevel=this.widget.headingLevel,this.hideLayersNotInCurrentView=this.widget.hideLayersNotInCurrentView,this.icon=this.widget.icon,this.label=this.widget.label,this.layerInfos=this.widget.layerInfos,this.legendStyle=this.widget.style,this.position="bottom-left",this.respectLayerDefinitionExpression=this.widget.respectLayerDefinitionExpression,this.respectLayerVisibilityDisabled=this.widget.respectLayerVisibility,this.state=this.viewModel.state,this.arcgisPropertyChange=i()("state"),this.arcgisReady=s()}static{this.properties={activeLayerInfos:0,autoDestroyDisabled:5,basemapLegendVisible:5,headingLevel:9,hideLayersNotInCurrentView:5,icon:1,label:1,layerInfos:0,legendStyle:1,position:1,referenceElement:1,respectLayerDefinitionExpression:5,respectLayerVisibilityDisabled:5,state:3}}static{this.shadowRootOptions=a}static{this.styles=d}async destroy(){await this.manager.destroy()}};o("arcgis-legend",e);export{e as ArcgisLegend};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/*!
|
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.17
|
5
5
|
*/
|
6
|
-
import{a as r}from"./
|
6
|
+
import{a as r}from"./4NVLQSVJ.js";import{a as M,b as k}from"./R7SMLFH3.js";import{d as o}from"./Y333JIBC.js";import{ba as f}from"./GQHP7ZRP.js";import"./7L7IE75K.js";import{B as v,C as s,E as w,G as u,a as d,o as h,p as g,q as e,y as p,z as m}from"./OEBOOAS6.js";var $=g`arcgis-track{display:block}`,O={base:"esri-track"},D=k(f),a=class extends v{constructor(){super(...arguments),this.messages=M(),this.viewModel=D(this),this.autoDestroyDisabled=!1,this.error=this.viewModel.error,this.geolocationOptions=this.viewModel.geolocationOptions,this.goToOverride=this.viewModel.goToOverride,this.goToLocationDisabled=this.viewModel.goToLocationEnabled,this.graphic=this.viewModel.graphic,this.icon="compass-north-circle",this.position="top-left",this.positionFilterFunction=this.viewModel.positionFilterFunction,this.scale=this.viewModel.scale,this.state=this.viewModel.state,this.tracking=this.viewModel.tracking,this.arcgisComplete=o(()=>this.viewModel,"track"),this.arcgisError=o(()=>this.viewModel,"track-error"),this.arcgisPropertyChange=h()("state"),this.arcgisReady=p()}static{this.properties={autoDestroyDisabled:5,error:1,geolocationOptions:1,goToOverride:0,goToLocationDisabled:7,graphic:0,icon:3,label:1,messageOverrides:0,position:3,positionFilterFunction:0,referenceElement:1,scale:9,state:0,tracking:4}}static{this.shadowRootOptions=m}static{this.styles=$}async destroy(){await this.manager.destroy()}async start(){this.viewModel.start()}async stop(){this.viewModel.stop()}_localizeError(i){if(i instanceof GeolocationPositionError)return i.code===GeolocationPositionError.PERMISSION_DENIED?this.messages?.permissionError:i.code===GeolocationPositionError.TIMEOUT?this.messages?.timeoutError:this.messages?.positionUnavailable;if(i instanceof Error)return i.message}_toggleTracking(){if(!this.viewModel)return;let{state:i}=this.viewModel;if(!(i==="feature-unsupported"||i==="disabled")){if(i==="tracking"||i==="waiting"){this.viewModel.stop();return}this.viewModel.start()}}render(){let{viewModel:i,messages:n,icon:E}=this,t=i?.state,b=t==="tracking",c=this._localizeError(this.viewModel?.error),l=(b?n?.stopTracking:n?.startTracking)??"",T=t==="feature-unsupported",y=(t==="tracking"?"pause":void 0)??E??void 0;return e`<div class=${s(d(O.base,r.widget))}>${!T&&e`<calcite-button class=${s(r.widgetButton)} .disabled=${t==="disabled"} .iconStart=${y} kind=neutral .label=${l} .loading=${t==="waiting"} @click=${this._toggleTracking} title=${l??w}></calcite-button>`||""}${c?e`<calcite-tooltip open overlay-positioning=fixed .referenceElement=${this.el}>${c}</calcite-tooltip>`:null}</div>`}};u("arcgis-track",a);export{a as ArcgisTrack};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/*!
|
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.17
|
5
5
|
*/
|
6
|
-
import{a as u,b as v}from"./
|
6
|
+
import{a as u,b as v}from"./MQ7MCQ4G.js";import{B as g,G as V,q as l,y as d,z as b}from"./OEBOOAS6.js";var _=class extends g{constructor(){super(...arguments),this._switchToVersion=!0,this._switchToVersionCheckboxElement=u(),this._versionNameInputElement=u(),this.arcgisAlterVersion=d(),this.arcgisCreateVersion=d(),this.arcgisFlowItemBack=d(),this.arcgisFlowItemClose=d()}static{this.properties={versionPropertiesElementProps:0}}static{this.shadowRootOptions=b}load(){let{versionPropertiesElementProps:{versionInfo:e}}=this;e?(this._mode="edit",this._fullVersionName=e.versionIdentifier.name,this._ownerName=this._fullVersionName.substring(0,this._fullVersionName.lastIndexOf(".")),this._versionName=this._fullVersionName.substring(this._fullVersionName.lastIndexOf(".")+1)):this._mode="create"}updated(){this._mode==="create"&&this._versionNameInputElement.value?.setFocus()}_handleCancel(){this.arcgisFlowItemBack.emit()}_handleChange(e){let{_mode:i,_ownerName:h,_versionName:m,versionPropertiesElementProps:{currentUser:t,isVersionAdministrator:o,serviceUrl:s,versionInfo:p}}=this,{_alterVersionParameters:c,_createVersionParameters:a}=this;switch(i==="create"&&(a||(a={access:"public",description:"",featureServerUrl:s,ownerName:t,versionName:""})),i==="edit"&&(c||(c={featureServerUrl:s,versionIdentifier:p.versionIdentifier,ownerName:h,versionName:m,access:p.access,description:p.description})),e.type){case"calciteChipGroupSelect":{let r=e.target.label,n=e.target.selectedItems[0].value;i==="create"&&(a={...a,[r]:n}),i==="edit"&&(c={...c,[r]:n});break}case"calciteInputTextInput":{let r=e.target.name,n=e.target.value;i==="create"&&(a={...a,[r]:n}),i==="edit"&&(c={...c,[r]:n});break}case"calciteTextAreaInput":{let r=e.target.name,n=e.target.value;i==="create"&&(a={...a,[r]:n}),i==="edit"&&(c={...c,[r]:n});break}}i==="create"&&(a.access!=="public"&&t.toUpperCase()!==a.ownerName?.toUpperCase()&&!o?(this._switchToVersionCheckboxElement.value.checked=!1,this._switchToVersionCheckboxElement.value.disabled=!0,this._switchToVersion=!1):this._switchToVersionCheckboxElement.value.disabled=!1,this._createVersionParameters=a),i==="edit"&&(this._alterVersionParameters=c)}_handleClose(){this.arcgisFlowItemClose.emit()}_handleSave(){let{_alterVersionParameters:e,_createVersionParameters:i,_mode:h,_switchToVersion:m}=this;h==="create"&&this.arcgisCreateVersion.emit({createVersionParameters:i,switchToVersion:m}),h==="edit"&&this.arcgisAlterVersion.emit({alterVersionParameters:e})}_handleSwitchToVersionChange(e){this._switchToVersion=e.target.checked}render(){let{versionPropertiesElementProps:{closable:e,currentUser:i,hasAdvEditingUte:h,state:m,strings:t,versionInfo:o},_mode:s,_ownerName:p,_versionName:c}=this,a=l`<div><calcite-button appearance=outline slot=footer width=half @click=${this._handleCancel}>${t.actions.cancelSave}</calcite-button><calcite-button slot=footer width=half @click=${this._handleSave}>${t.actions.saveVersion}</calcite-button></div>`,r=l`<calcite-label>${t.input.versionAccess}<calcite-chip-group label=access @calciteChipGroupSelect=${this._handleChange} selection-mode=single-persist><calcite-chip .selected=${s==="edit"&&o.access==="public"||s==="create"} value=public>${t.accessLevels.public}</calcite-chip><calcite-chip .selected=${s==="edit"&&o.access==="protected"} value=protected>${t.accessLevels.protected}</calcite-chip><calcite-chip .selected=${s==="edit"&&o.access==="private"} value=private>${t.accessLevels.private}</calcite-chip></calcite-chip-group></calcite-label>`,n=l`<calcite-label>${t.input.versionDescription}<calcite-text-area name=description @calciteTextAreaInput=${this._handleChange} resize=vertical .value=${s==="edit"?o.description:""}></calcite-text-area></calcite-label>`,w=l`<calcite-label>${t.input.versionName}<calcite-input-text name=versionName @calciteInputTextInput=${this._handleChange} max-length=62 .value=${s==="edit"?c:""} ${v(this._versionNameInputElement)}></calcite-input-text></calcite-label>`,$=l`<calcite-label>${t.input.versionOwner}<calcite-input-text name=ownerName @calciteInputTextInput=${this._handleChange} .disabled=${!h} .value=${s==="edit"?p:i}></calcite-input-text></calcite-label>`,f=s==="create"?l`<calcite-label layout=inline><calcite-checkbox checked name=switchToVersion @calciteCheckboxChange=${this._handleSwitchToVersionChange} ${v(this._switchToVersionCheckboxElement)}></calcite-checkbox>${t.actions.switchToVersion}</calcite-label>`:void 0;return l`<calcite-flow-item .closable=${e} .description=${o?o.versionIdentifier.name:""} .heading=${o?t.actions.editVersion:t.actions.newVersion} @calciteFlowItemClose=${this._handleClose}><calcite-panel .loading=${m==="executing"}><calcite-block heading open>${w}${n}${r}${$}${f}${a}</calcite-block></calcite-panel></calcite-flow-item>`}};V("arcgis-version-management-version-properties",_);export{_ as ArcgisVersionManagementVersionProperties};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/*!
|
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.17
|
5
5
|
*/
|
6
|
-
import{a as y}from"./
|
6
|
+
import{a as y}from"./VKLAKB6P.js";import"./Y333JIBC.js";import{d as s,v as w}from"./GQHP7ZRP.js";import{d as c}from"./7L7IE75K.js";import{B as n,G as l,o,p as r,y as h,z as d}from"./OEBOOAS6.js";var m=r`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=o()("lastRoute","state"),this.arcgisReady=h()}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=d}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,6 +1,6 @@
|
|
1
1
|
/*!
|
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.17
|
5
5
|
*/
|
6
|
-
import{b as y,c as a}from"./
|
6
|
+
import{b as y,c as a}from"./Y333JIBC.js";import{b as r}from"./7L7IE75K.js";import{g as h,h as w,l as _}from"./OEBOOAS6.js";var P=(d,s)=>(i,e)=>v(i,d,e),p=class extends y{constructor(s,i,e){super(s,i,e),this._watchedViewModelProperties=new Map,this._watchedVisibleElementsProperties={},this._isBindingViewModel={value:!0},Object.defineProperty(this.exports,"viewModel",{value:a.makeGetterProxy(s,this._watchedViewModelProperties,this._isBindingViewModel)}),Object.defineProperty(this.exports,"visibleElements",{value:this._makeVisibleElementsBinder()})}hostConnected(){super.hostConnected(),this._isBindingViewModel.value=!1,this.component.manager.loadedCalled&&r(this.component)}async hostLoad(){if(this._watchedProperties.delete("viewModel"),await super.hostLoad(),this.component.manager.destroyed)return;this._watchMetaProperties(),this.onLifecycle(()=>this.reactiveUtils.watch(()=>this._instance.viewModel,e=>{this.component.viewModel=e},{initial:!0}));let s=this._instance.viewModel;typeof s=="object"&&(a.watchComponentUpdates(this,s,this._watchedViewModelProperties),a.watchAccessorUpdates(this,s,this._watchedViewModelProperties));let i=Object.entries(this._watchedVisibleElementsProperties);i.length>0&&this.onLifecycle(()=>i.map(([e,t])=>{let o=this._instance.visibleElements??{},n;for(let c of t.slice(0,-1))if(typeof o[c]=="object"&&o[c]!==null)o=o[c];else{n=!!o[c];break}n===void 0&&(n=!!(o[t.slice(-1)[0]]??!0)),e.startsWith("hide");let m=e.startsWith("hide")||e.startsWith("show")?e.startsWith("hide"):n,l=this.component;return typeof l[e]=="boolean"?this._updateWidgetVisibleElement(t,l[e],m):l[e]=!1,h(this.component,e,c=>this._updateWidgetVisibleElement(t,c,m))}))}_updateWidgetVisibleElement(s,i,e){let t=this._instance.visibleElements??{};for(let n of s.slice(0,-1))(typeof t[n]!="object"||t[n]===null)&&(t[n]={}),t=t[n];let o=!!(e?!i:i);t[s.at(-1)]=o}hostLoaded(){let{el:s}=this.component;s.childElem??=document.createElement("div"),this._instance.container=s.childElem;let i=!1,e=this.component.el.view;Object.defineProperty(this.component.el,"view",{get:()=>this._instance.view??this._instance.viewModel?.view,set:t=>{!("view"in this._instance)&&typeof this._instance.viewModel=="object"?this._instance.viewModel.view=t:this._instance.view=t,!("map"in this._instance)&&typeof this._instance.viewModel=="object"?this._instance.viewModel.map=t.map:this._instance.map=t.map,this._watchViewDestroy(),t&&!i&&(i=!0,this.component.arcgisReady.emit())},configurable:!0,enumerable:!0}),e&&(this._instance.view=e),this.component.el.isConnected&&(r(this.component),this._watchViewDestroy())}hostDisconnected(){typeof this.component.el.childElem=="object"&&this.component.el.view?.ui?.remove(this.component.el.childElem)}hostDestroy(){super.hostDestroy(),this._watchViewDestroyHandle?.remove()}_watchMetaProperties(){h(this.component,"position",s=>{this.component.el.childElem!=null&&typeof s=="string"&&r(this.component)}),h(this.component,"referenceElement",()=>r(this.component))}_makeVisibleElementsBinder(){return new Proxy({},{has:(s,i)=>typeof i=="string"||Reflect.has(s,i),get:(s,i)=>{if(typeof i=="symbol"||i in Promise.prototype)return Reflect.get(s,i);let e=[i],t=this._makeRecursiveProxy(e);return w(this.component,o=>{let n=o;this.component[n]=!1,this._watchedVisibleElementsProperties[n]=e},t)}})}_makeRecursiveProxy(s){let i=new Proxy({},{get:(e,t)=>{let o=Reflect.get(e,t);return typeof t=="symbol"||t in Promise.prototype?o:(s.push(t),i)}});return i}_watchViewDestroy(){this._watchViewDestroyHandle?.remove(),this._watchViewDestroyHandle=this.reactiveUtils.when(()=>this.component.el.view?.destroyed===!0,()=>void this.component.destroy().catch(console.error),{sync:!0})}},v=_(p);export{P as a};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/*!
|
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.17
|
5
5
|
*/
|
6
|
-
import{a as u}from"./
|
6
|
+
import{a as u}from"./VKLAKB6P.js";import{d as i}from"./Y333JIBC.js";import{E as c,b as n}from"./GQHP7ZRP.js";import{d as m}from"./7L7IE75K.js";import{B as r,G as g,o as h,p as d,y as l,z as a}from"./OEBOOAS6.js";var w=d`arcgis-feature-table{display:block}.arcgis-feature-table{width:100%;height:100%}`,b=u(c),o=class extends r{constructor(){super(...arguments),this.widget=b(this),this.viewModel=this.widget.viewModel,this.attributeTableTemplate=this.widget.attributeTableTemplate,this.actionColumnConfig=this.widget.actionColumnConfig,this.activeFilters=this.widget.activeFilters,this.activeSortOrders=this.widget.activeSortOrders,this.allRelatedTablesVisible=this.widget.allRelatedTablesVisible,this.attachmentsEnabled=this.widget.attachmentsEnabled,this.autoDestroyDisabled=!1,this.autoRefreshDisabled=this.widget.autoRefreshEnabled,this.columnReorderingDisabled=this.widget.columnReorderingEnabled,this.columns=this.widget.columns,this.description=this.widget.description,this.editingEnabled=this.widget.editingEnabled,this.effectiveSize=this.widget.effectiveSize,this.filterBySelectionEnabled=this.widget.filterBySelectionEnabled,this.filterGeometry=this.widget.filterGeometry,this.hideColumnDescriptions=this.widget.visibleElements.columnDescriptions,this.hiddenFields=this.widget.hiddenFields,this.hideColumnMenuItemsSortAscending=this.widget.visibleElements.columnMenuItems.sortAscending,this.hideColumnMenuItemsSortDescending=this.widget.visibleElements.columnMenuItems.sortDescending,this.hideColumnMenus=this.widget.visibleElements.columnMenus,this.hideHeader=this.widget.visibleElements.header,this.hideMenu=this.widget.visibleElements.menu,this.hideMenuItemsClearSelection=this.widget.visibleElements.menuItems.clearSelection,this.hideMenuItemsDeleteSelection=this.widget.visibleElements.menuItems.deleteSelection,this.hideMenuItemsExportSelectionToCsv=this.widget.visibleElements.menuItems.exportSelectionToCSV,this.hideMenuItemsRefreshData=this.widget.visibleElements.menuItems.refreshData,this.hideMenuItemsSelectedRecordsShowAllToggle=this.widget.visibleElements.menuItems.selectedRecordsShowAllToggle,this.hideMenuItemsSelectedRecordsShowSelectedToggle=this.widget.visibleElements.menuItems.selectedRecordsShowSelectedToggle,this.hideMenuItemsToggleColumns=this.widget.visibleElements.menuItems.toggleColumns,this.hideMenuItemsZoomToSelection=this.widget.visibleElements.menuItems.zoomToSelection,this.hideProgress=this.widget.visibleElements.progress,this.hideSelectionColumn=this.widget.visibleElements.selectionColumn,this.hideTooltips=this.widget.visibleElements.tooltips,this.highlightDisabled=this.widget.highlightEnabled,this.highlightIds=this.widget.highlightIds,this.initialSize=this.widget.initialSize,this.icon=this.widget.icon,this.isQueryingOrSyncing=this.widget.isQueryingOrSyncing,this.label=this.widget.label,this.layer=this.widget.layer,this.layerView=this.widget.layerView,this.layers=this.widget.layers,this.maxSize=this.widget.maxSize,this.menuConfig=this.widget.menuConfig,this.multipleSelectionDisabled=this.widget.multipleSelectionEnabled,this.multipleSortEnabled=this.widget.multiSortEnabled,this.objectIds=this.widget.objectIds,this.outFields=this.widget.outFields,this.pageCount=this.widget.pageCount,this.pageIndex=this.widget.pageIndex,this.pageSize=this.widget.pageSize,this.paginationEnabled=this.widget.paginationEnabled,this.position="manual",this.relatedRecordsEnabled=this.widget.relatedRecordsEnabled,this.relatedTable=this.widget.relatedTable,this.relatedTables=this.widget.relatedTables,this.returnGeometryEnabled=this.widget.returnGeometryEnabled,this.returnMEnabled=this.widget.returnMEnabled,this.returnZEnabled=this.widget.returnZEnabled,this.rowHighlightIds=this.widget.rowHighlightIds,this.size=this.widget.size,this.showLayerDropdown=this.widget.visibleElements.layerDropdown,this.state=this.widget.state,this.tableController=this.widget.tableController,this.tableDisabled=this.widget.disabled,this.tableParent=this.widget.tableParent,this.tableTemplate=this.widget.tableTemplate,this.timeExtent=this.widget.timeExtent,this.timeZone=this.widget.timeZone,this.arcgisCellClick=i(()=>this.widget,"cell-click"),this.arcgisCellKeydown=i(()=>this.widget,"cell-keydown"),this.arcgisCellPointerout=i(()=>this.widget,"cell-pointerout"),this.arcgisCellPointerover=i(()=>this.widget,"cell-pointerover"),this.arcgisColumnReorder=i(()=>this.widget,"column-reorder"),this.arcgisPropertyChange=h()("effectiveSize","isQueryingOrSyncing","layerView","size","state"),this.arcgisReady=l(),this.arcgisSelectionChange=l()}static{this.properties={attributeTableTemplate:0,actionColumnConfig:0,activeFilters:0,activeSortOrders:0,allRelatedTablesVisible:0,attachmentsEnabled:5,autoDestroyDisabled:5,autoRefreshDisabled:5,columnReorderingDisabled:5,columns:0,description:1,editingEnabled:5,effectiveSize:0,filterBySelectionEnabled:5,filterGeometry:0,hideColumnDescriptions:5,hiddenFields:0,hideColumnMenuItemsSortAscending:5,hideColumnMenuItemsSortDescending:5,hideColumnMenus:5,hideHeader:5,hideMenu:5,hideMenuItemsClearSelection:5,hideMenuItemsDeleteSelection:5,hideMenuItemsExportSelectionToCsv:5,hideMenuItemsRefreshData:5,hideMenuItemsSelectedRecordsShowAllToggle:5,hideMenuItemsSelectedRecordsShowSelectedToggle:5,hideMenuItemsToggleColumns:5,hideMenuItemsZoomToSelection:5,hideProgress:5,hideSelectionColumn:5,hideTooltips:5,highlightDisabled:5,highlightIds:0,initialSize:9,icon:1,isQueryingOrSyncing:0,label:1,layer:0,layerItemId:1,layerUrl:1,layerView:0,layers:0,maxSize:9,menuConfig:0,multipleSelectionDisabled:5,multipleSortEnabled:5,objectIds:0,outFields:0,pageCount:8,pageIndex:9,pageSize:9,paginationEnabled:5,position:1,referenceElement:1,relatedRecordsEnabled:5,relatedTable:0,relatedTables:0,returnGeometryEnabled:5,returnMEnabled:5,returnZEnabled:5,rowHighlightIds:0,size:0,showLayerDropdown:5,state:3,tableController:0,tableDisabled:5,tableParent:0,tableTemplate:0,timeExtent:0,timeZone:1}}static{this.shadowRootOptions=a}static{this.styles=w}async deleteSelection(e){await this.widget?.deleteSelection(e)}async destroy(){await this.manager.destroy()}async exportSelectionToCSV(e){await this.widget?.exportSelectionToCSV(e)}async findColumn(e){return this.widget?.findColumn(e)}async goToPage(e){this.widget.goToPage(e)}async hideColumn(e){this.widget?.hideColumn(e)}async nextPage(){this.widget.nextPage()}async previousPage(){this.widget.previousPage()}async refresh(){await this.widget?.refresh()}async scrollToBottom(){this.widget.scrollToBottom()}async scrollToIndex(e){this.widget?.scrollToIndex(e)}async scrollToLeft(){this.widget.scrollLeft()}async scrollToRow(e){this.widget?.scrollToRow(e)}async scrollToTop(){this.widget.scrollToTop()}async showAllColumns(){this.widget?.showAllColumns()}async showColumn(e){this.widget?.showColumn(e)}async sortColumn(e,t){this.widget?.sortColumn(e,t)}async zoomToSelection(){this.widget?.zoomToSelection()}load(){this.manager.onLifecycle(()=>this.widget.highlightIds.on("change",this.arcgisSelectionChange.emit))}willUpdate(e){if(e.has("layerItemId")&&(m(this.layerItemId)?this.layer=null:this.layerItemId&&n().then(async t=>await t.fromPortalItem({portalItem:{id:this.layerItemId}})).then(t=>{this.layer=t}).catch(console.error)),e.has("layerUrl")){let t=this.layerUrl;t?n().then(s=>s.fromArcGISServerUrl({url:t})).then(s=>{this.layer=s}).catch(console.error):this.layer=null}}loaded(){this.el.childElem?.classList.add("arcgis-feature-table")}};g("arcgis-feature-table",o);export{o as ArcgisFeatureTable};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/*!
|
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.17
|
5
5
|
*/
|
6
|
-
import{a,c as l,d as t}from"./
|
6
|
+
import{a,c as l,d as t}from"./Y333JIBC.js";import{e as v,g as m,ja as d}from"./GQHP7ZRP.js";import{f as g,g as r}from"./7L7IE75K.js";import{B as p,G as c,m as o,p as n,y as s,z as w}from"./OEBOOAS6.js";var b=n`.arcgis-map{padding:0;margin:0;height:100%;width:100%}`,_=a(m,{}),f=a(v,{}),h=class extends p{constructor(){super(...arguments),this._map=_(this,{editConstructorProperties:this._editMapProperties}),this.reactiveUtils=o(d),this.view=f(this,{editConstructorProperties:this._editViewProperties}),this.allLayerViews=this.view.allLayerViews,this.autoDestroyDisabled=!1,this.background=this.view.background,this.basemap=this._map.basemap,this.basemapView=this.view.basemapView,this.constraints=this.view.constraints,this.fatalError=this.view.fatalError,this.floors=this.view.floors,this.graphics=this.view.graphics,this.ground=this._map.ground,this.highlightOptions=this.view.highlightOptions,this.ipsInfo=this._map.ipsInfo,this.layerViews=this.view.layerViews,this.magnifier=this.view.magnifier,this.map=this.view.map,this.navigation=this.view.navigation,this.padding=this.view.padding,this.popup=this.view.popup,this.popupDisabled=this.view.popupEnabled,this.ready=this.view.ready,this.resizeAlign=this.view.resizeAlign,this.resolution=this.view.resolution,this.rotation=this.view.rotation,this.spatialReference=this.view.spatialReference,this.suspended=this.view.suspended,this.theme=this.view.theme,this.timeExtent=this.view.timeExtent,this.timeZone=this.view.timeZone,this.updating=this.view.updating,this.arcgisViewChange=s(),this.arcgisViewClick=t(()=>this.view,"click"),this.arcgisViewDoubleClick=t(()=>this.view,"double-click"),this.arcgisViewDrag=t(()=>this.view,"drag"),this.arcgisViewHold=t(()=>this.view,"hold"),this.arcgisViewImmediateClick=t(()=>this.view,"immediate-click"),this.arcgisViewImmediateDoubleClick=t(()=>this.view,"immediate-double-click"),this.arcgisViewKeyDown=t(()=>this.view,"key-down"),this.arcgisViewKeyUp=t(()=>this.view,"key-up"),this.arcgisViewLayerviewCreate=t(()=>this.view,"layer-view-create"),this.arcgisViewLayerviewCreateError=t(()=>this.view,"layer-view-create-error"),this.arcgisViewLayerviewDestroy=t(()=>this.view,"layer-view-destroy"),this.arcgisViewMouseWheel=t(()=>this.view,"mouse-wheel"),this.arcgisViewPointerDown=t(()=>this.view,"pointer-down"),this.arcgisViewPointerEnter=t(()=>this.view,"pointer-enter"),this.arcgisViewPointerLeave=t(()=>this.view,"pointer-leave"),this.arcgisViewPointerMove=t(()=>this.view,"pointer-move"),this.arcgisViewPointerUp=t(()=>this.view,"pointer-up"),this.arcgisViewReadyChange=s()}static{this.properties={view:32,allLayerViews:0,autoDestroyDisabled:5,background:0,basemap:1,basemapView:0,center:1,constraints:0,extent:0,fatalError:0,floors:0,gamepad:32,graphics:0,ground:1,highlightOptions:0,interacting:32,ipsInfo:0,itemId:3,layerViews:0,magnifier:0,map:0,navigating:32,navigation:0,padding:0,popup:0,popupDisabled:5,ready:0,resizeAlign:1,resolution:8,rotation:9,scale:9,spatialReference:0,stationary:32,suspended:7,theme:0,timeExtent:0,timeZone:1,updating:7,viewpoint:0,zoom:9}}static{this.shadowRootOptions=w}static{this.styles=b}get center(){return this.view.center??this._center}set center(i){let e=r(i,this.ready?this.view:void 0);e&&(this.ready&&(this.view.center=e),this._center=e)}get extent(){return this.view.extent??this._extent}set extent(i){this.view.ready||(this._extent=i),i&&!this.extent?.equals(i)&&(this.view.extent=i)}get gamepad(){return this.ready?this.view.input.gamepad:void 0}get interacting(){return this.view.interacting}get itemId(){return this._map.portalItem?.id??this._itemId}set itemId(i){this._itemId=i,this.ready&&l.reCreate(this._map,this).then(()=>{this.view.map=this._map}).catch(console.error)}get navigating(){return this.view.navigating}get scale(){return this.view.scale??this._scale}set scale(i){this.ready&&(this.view.scale=i),this._scale=i}get stationary(){return this.view.stationary}get viewpoint(){return this.view.viewpoint??this._viewpoint}set viewpoint(i){g(this.viewpoint,i)&&(this.ready&&(this.view.viewpoint=i),this._viewpoint=i)}get zoom(){return this.view.zoom??this._zoom}set zoom(i){this.ready&&(this.view.zoom=i),this._zoom=i}async addLayer(i,e){this.map?.add(i,e)}async addLayers(i,e){this.map?.addMany(i,e)}async closePopup(){this.view?.closePopup()}async destroy(){await this.manager.destroy()}async goTo(i,e){return await this.view?.goTo(i,e)}async hitTest(i,e){return await this.view?.hitTest(i,e)}async openPopup(i){await this.view?.openPopup(i)}async takeScreenshot(i){return await this.view?.takeScreenshot(i)}toMap(i){return this.view.toMap(i)}toScreen(i,e){return this.view.toScreen(i,e)}async tryFatalErrorRecovery(){this.view?.tryFatalErrorRecovery()}async whenLayerView(i){return await this.view?.whenLayerView(i)}load(){this.el.childElem=document.createElement("div"),this.el.childElem.classList.add("arcgis-map"),this.el.append(this.el.childElem),this.view.container??=this.el.childElem}loaded(){let{watch:i}=this.reactiveUtils;this.manager.onLifecycle(()=>[i(()=>this.view.stationary,()=>{this.arcgisViewChange.emit()},{initial:!0}),i(()=>this.view.ready,()=>this.arcgisViewReadyChange.emit(),{initial:this.view.ready})])}_editMapProperties(i){this.map&&(this._map=this.map),this.itemId?i.portalItem={id:this.itemId}:this.basemap?this.basemap==="none"&&(i.basemap=void 0,this.basemap=null):i.basemap="topo-vector";let{basemap:e,...u}=i;e||(i=u);let{ground:y,...V}=i;return y||(i=V),i}async _editViewProperties(i){await this.manager.use(this._map),this.view.ui||(i.ui={components:["attribution"]}),i.map??=this._map;let e=r(this.center,void 0);return e&&(i.center=e),this.viewpoint&&(i.viewpoint=this.viewpoint),this.scale!==void 0&&(i.scale=this.scale),this.extent&&(i.extent=this.extent),this.zoom!==void 0&&(i.zoom=this.zoom),i}};c("arcgis-map",h);export{h as ArcgisMap};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/*!
|
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.17
|
5
5
|
*/
|
6
|
-
import{a as d}from"./
|
6
|
+
import{a as d}from"./VKLAKB6P.js";import{d as h}from"./Y333JIBC.js";import{q as r}from"./GQHP7ZRP.js";import"./7L7IE75K.js";import{B as a,G as l,o as e,p as i,y as s,z as o}from"./OEBOOAS6.js";var n=i`arcgis-catalog-layer-list{display:block}`,c=d(r),t=class extends a{constructor(){super(...arguments),this.widget=c(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.catalogLayer=this.widget.catalogLayer,this.collapsed=this.widget.collapsed,this.filterPlaceholder=this.widget.filterPlaceholder,this.filterText=this.widget.filterText,this.headingLevel=this.widget.headingLevel,this.hideFlow=this.widget.visibleElements.flow,this.hideStatusIndicators=this.widget.visibleElements.statusIndicators,this.icon=this.widget.icon,this.label=this.widget.label,this.listItemCreatedFunction=this.widget.listItemCreatedFunction,this.minFilterItems=this.widget.minFilterItems,this.position="bottom-left",this.selectedItems=this.widget.selectedItems,this.selectionMode=this.widget.selectionMode,this.showCloseButton=this.widget.visibleElements.closeButton,this.showCollapseButton=this.widget.visibleElements.collapseButton,this.showErrors=this.widget.visibleElements.errors,this.showFilter=this.widget.visibleElements.filter,this.showHeading=this.widget.visibleElements.heading,this.showTemporaryLayerIndicators=this.widget.visibleElements.temporaryLayerIndicators,this.state=this.viewModel.state,this.visibilityAppearance=this.widget.visibilityAppearance,this.arcgisPropertyChange=e()("state"),this.arcgisReady=s(),this.arcgisTriggerAction=h(()=>this.widget,"trigger-action")}static{this.properties={autoDestroyDisabled:5,catalogItems:32,catalogLayer:0,collapsed:7,filterPlaceholder:1,filterText:1,headingLevel:9,hideFlow:5,hideStatusIndicators:5,icon:1,label:1,listItemCreatedFunction:0,minFilterItems:9,position:1,referenceElement:1,selectedItems:0,selectionMode:1,showCloseButton:5,showCollapseButton:5,showErrors:5,showFilter:5,showHeading:5,showTemporaryLayerIndicators:5,state:3,visibilityAppearance:1}}static{this.shadowRootOptions=o}static{this.styles=n}get catalogItems(){return this.widget.catalogItems}async destroy(){await this.manager.destroy()}};l("arcgis-catalog-layer-list",t);export{t as ArcgisCatalogLayerList};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/*!
|
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.17
|
5
5
|
*/
|
6
|
-
import{b as x}from"./
|
6
|
+
import{b as x}from"./MQ7MCQ4G.js";import{a as $}from"./4NVLQSVJ.js";import{a as D,b as S}from"./R7SMLFH3.js";import"./Y333JIBC.js";import{T as B,ja as U,ka as M,ma as R}from"./GQHP7ZRP.js";import"./7L7IE75K.js";import{B as y,C as a,D as v,G as L,a as d,m as p,q as c,y as w,z as g}from"./OEBOOAS6.js";var r="esri-scale-bar",t={base:r,labelContainer:`${r}__label-container`,rulerLabelContainer:`${r}__label-container--ruler`,lineLabelContainer:`${r}__label-container--line`,topLabelContainer:`${r}__label-container--top`,bottomLabelContainer:`${r}__label-container--bottom`,label:`${r}__label`,line:`${r}__line`,topLine:`${r}__line--top`,bottomLine:`${r}__line--bottom`,ruler:`${r}__ruler`,rulerBlock:`${r}__ruler-block`,barContainer:`${r}__bar-container`,rulerBarContainer:`${r}__bar-container--ruler`,lineBarContainer:`${r}__bar-container--line`};function k(C=0,e=0){return{x:C,y:e}}var O=S(B),f=class extends y{constructor(){super(...arguments),this.intlUtils=p(M),this.messages=D(),this.reactiveUtils=p(U),this._scaleComputedFrom=k(),this.unitUtils=p(R),this.viewModel=O(this),this.autoDestroyDisabled=!1,this.barStyle="line",this.icon="actual-size",this.position="top-left",this.arcgisReady=w()}static{this.properties={autoDestroyDisabled:5,barStyle:1,icon:3,label:1,messageOverrides:0,position:3,referenceElement:1,unit:1}}static{this.shadowRootOptions=g}get unit(){return this._unit??this._defaultUnit}set unit(e){this._unit=e}async destroy(){await this.manager.destroy()}updated(){this._handleRootCreateOrUpdate()}loaded(){this._defaultUnit=this.unitUtils.getDefaultUnitForView(this.viewModel.view),this.manager.onLifecycle(()=>this.reactiveUtils.watch(()=>{let e=this.viewModel.view;return[e?.stationary,e?.center,e?.scale,e?.zoom]},([e])=>{e&&this.requestUpdate()}))}_handleRootCreateOrUpdate(){if(!this.viewModel)return;let e=this._scaleComputedFrom,s=this.el.getBoundingClientRect(),o=s.left+window.pageXOffset,n=s.top+window.pageYOffset,i=k(o,n);(i.x!==e.x||i.y!==e.y)&&(this._scaleComputedFrom=i)}_formatDistance(e,s){return this.intlUtils.formatNumber(e,{style:"unit",unit:s,unitDisplay:"short"})}render(){let e=this.viewModel.state==="disabled",s={[$.disabled]:e},o,n;if(!e){let{unit:i,barStyle:u}=this,b=i==="imperial"||i==="dual",_=i==="metric"||i==="dual",h=100,m=i==="dual"?"line":u;if(b){let l=this.viewModel.getScaleBarProperties(h,"imperial");l&&(n=m==="ruler"?this._renderRuler(l):this._renderLine(l,"bottom"))}if(_){let l=this.viewModel.getScaleBarProperties(h,"metric");l&&(o=m==="ruler"?this._renderRuler(l):this._renderLine(l,"top"))}}return c`<div class=${a(d(t.base,$.widget,s))} ${x(i=>i?this._handleRootCreateOrUpdate():void 0)}>${o}${n}</div>`}_renderRuler(e){let{length:s,unit:o,value:n}=e,i=Math.round(s),u=this._formatDistance(n,o);return c`<div class=${a(d(t.barContainer,t.rulerBarContainer))}><div class=${a(t.ruler)} style=${v({width:`${i}px`})}><div class=${a(t.rulerBlock)}></div><div class=${a(t.rulerBlock)}></div><div class=${a(t.rulerBlock)}></div><div class=${a(t.rulerBlock)}></div></div><div class=${a(d(t.labelContainer,t.rulerLabelContainer))}><div class=${a(t.label)}>0</div><div class=${a(t.label)}>${u}</div></div></div>`}_renderLine(e,s){let{length:o,unit:n,value:i}=e,u=Math.round(o),b=this._formatDistance(i,n),_={[t.topLabelContainer]:s==="top",[t.bottomLabelContainer]:s==="bottom"},h=c`<div class=${a(d(t.labelContainer,t.lineLabelContainer,_))}><div class=${a(t.label)}>${b}</div></div>`,m={[t.topLine]:s==="top",[t.bottomLine]:s==="bottom"},l=c`<div class=${a(d(t.line,m))} style=${v({width:`${u}px`})}></div>`;return c`<div class=${a(d(t.barContainer,t.lineBarContainer))}>${[l,h]}</div>`}};L("arcgis-scale-bar",f);export{f as ArcgisScaleBar};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/*!
|
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.17
|
5
5
|
*/
|
6
|
-
import{ja as L}from"./
|
6
|
+
import{ja as L}from"./GQHP7ZRP.js";import{b as v,d as y,e as w,f as E,h as _,i as g,j as P,k as C,l as b}from"./OEBOOAS6.js";var m;async function N(){return m??(m=L()),await m}var W=(e,o)=>(t,n)=>D(t,e,n),A=class extends E{constructor(e,o,t){super(e),this._loadAccessor=o,this._options=t,this._watchedProperties=new Map,this._isBinding={value:!0},this.setProvisionalExports(f.makeGetterProxy(e,this._watchedProperties,this._isBinding,this.constructor.allowedPropNameMismatches)),_(e,n=>{n&&(this._instancePropName=n)},this.exports)}hostConnected(){this._isBinding.value=!1}async hostLoad(){this.reactiveUtils=await N();let e=this.component,o=this._gatherParameters(),t=this._options?.editConstructorProperties?.call(e,o)??o,n=t instanceof Promise?await t:t,l=e,r=typeof this._instancePropName=="string"?l[this._instancePropName]:void 0;r!=null&&r!==this.exports?(this._instance=r,r.set(n)):this._instance=await this._createInstance(n),!e.manager.destroyed&&(f.watchComponentUpdates(this,this._instance,this._watchedProperties),f.watchAccessorUpdates(this,this._instance,this._watchedProperties),this.exports=this._instance)}_gatherParameters(){return Object.fromEntries(Array.from(this._watchedProperties,([t,n])=>[n,this.component[t]]).filter(([,t])=>t!==void 0))}async _createInstance(e){return this._isAccessorConstructor(this._loadAccessor)?new this._loadAccessor(e):await this._loadAccessor(e)}_isAccessorConstructor(e){return"prototype"in e&&"declaredClass"in e.prototype}hostDestroy(){this._instance&&this._instance.destroy()}async reCreate(){this.hostDestroy(),await this.hostLoad()}},D=b(A),f={makeGetterProxy:(e,o,t,n)=>new Proxy({},{has:(l,r)=>typeof r=="string"||r in l,get:(l,r)=>{let p=Reflect.get(l,r);if(typeof r=="symbol"||r in Promise.prototype)return p;let c=r in l,s=t?.value??!0;return c||!s?p:g(e,i=>{i!==void 0&&o.set(i.key,r)},p)}}),watchComponentUpdates(e,o,t){function n(c,s){let i=t.get(s),a=o[i];return typeof a=="boolean"&&i!==s&&s.toLowerCase().includes("disable")?!a:a}let l=(c,s,i)=>{let a=t.get(i),d=o[a],h=typeof d=="boolean"&&a!==i&&i.toLowerCase().includes("disable");if((h?!d:r.manager.isLit?d??void 0:d)===c)return c;o[a]=h?!c:c;let u=o[a];return h?!u:u},r=e.component,p=r.manager.internals;t.forEach((c,s)=>{p.accessorGetter[s]=n,p.accessorSetter[s]=l})},watchAccessorUpdates(e,o,t){let{component:n}=e,l=n,r=o,p=V(o);C(()=>t.forEach((c,s)=>{if(p.has(c))return;let i=l[s],a=r[c];n.manager.isLit&&(a??(a=void 0));let h=typeof i=="boolean"&&c!==s&&s.toLowerCase().includes("disable")?!i:i;h!=null&&a!==h&&(r[c]=h)})),e.onLifecycle(()=>{if(!o.destroyed)return Array.from(t,([c,s])=>e.reactiveUtils.watch(()=>r[s],()=>{let i=r[s],d=typeof i=="boolean"&&s!==c&&c.toLowerCase().includes("disable")?!i:i;P(()=>{l[c]=d})},{initial:!0}))})},reEmitAccessorEvents(e,o,t,n){if(!("on"in o&&typeof o.on=="function"))return;let r=Object.entries(e.component).map(([s,i])=>{let a=i;if(!s.startsWith(n)||s===n||typeof a!="object"||a===null||!("emit"in a)||typeof a.emit!="function")return;let d=a.emit,h=s.slice(n.length);return[v(h).toLowerCase(),d]}).filter(y);if(r.length===0)return;let p=o,c=()=>p;e.onLifecycle(()=>{if(!o.destroyed)return r.map(([s,i])=>t.on(c,s,i))})},async reCreate(e,o){let t=o.manager.useRefSync(e);t!==void 0&&await t.reCreate()}};function V(e){let t=Object.entries(e.__accessor__?.metadata??{});return new Set(t.filter(([n,l])=>l?.readOnly===!0).map(([n])=>n))}function R(e,o){let t=w(),n=t.manager,l=N();n.onLoaded(()=>{l.then(p=>n.onLifecycle(()=>p.on(e,o,r.emit)))});let r=t.constructor.$createEvent();return r}export{W as a,A as b,f as c,R as d};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/*!
|
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.17
|
5
5
|
*/
|
6
|
-
import{a as h}from"./
|
6
|
+
import{a as h}from"./VKLAKB6P.js";import"./Y333JIBC.js";import{j as n}from"./GQHP7ZRP.js";import"./7L7IE75K.js";import{B as o,G as r,o as s,p as i,y as e,z as a}from"./OEBOOAS6.js";var d=i`arcgis-area-measurement-3d{display:block}`,l=h(n),t=class extends o{constructor(){super(...arguments),this.widget=l(this),this.viewModel=this.widget.viewModel,this.analysis=this.widget.analysis,this.autoDestroyDisabled=!1,this.icon=this.widget.icon,this.label=this.widget.label,this.position="bottom-left",this.state=this.viewModel.state,this.unit=this.widget.unit,this.unitOptions=this.widget.unitOptions,this.arcgisPropertyChange=s()("analysis","state"),this.arcgisReady=e()}static{this.properties={analysis:0,autoDestroyDisabled:5,icon:1,label:1,position:1,referenceElement:1,state:3,unit:1,unitOptions:0}}static{this.shadowRootOptions=a}static{this.styles=d}async clear(){this.widget?.viewModel.clear()}async destroy(){await this.manager.destroy()}async start(){this.widget?.viewModel.start()}};r("arcgis-area-measurement-3d",t);export{t as ArcgisAreaMeasurement3d};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/*!
|
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.17
|
5
5
|
*/
|
6
|
-
import{a as c}from"./
|
6
|
+
import{a as c}from"./VKLAKB6P.js";import"./Y333JIBC.js";import{w as n}from"./GQHP7ZRP.js";import"./7L7IE75K.js";import{B as o,G as r,o as s,p as i,y as e,z as a}from"./OEBOOAS6.js";var h=i`arcgis-directline-measurement-3d{display:block}`,l=c(n),t=class extends o{constructor(){super(...arguments),this.widget=l(this),this.viewModel=this.widget.viewModel,this.analysis=this.widget.analysis,this.autoDestroyDisabled=!1,this.icon=this.widget.icon,this.label=this.widget.label,this.position="bottom-left",this.state=this.viewModel.state,this.unit=this.widget.unit,this.unitOptions=this.widget.unitOptions,this.arcgisPropertyChange=s()("analysis","state"),this.arcgisReady=e()}static{this.properties={analysis:0,autoDestroyDisabled:5,icon:1,label:1,position:1,referenceElement:1,state:3,unit:1,unitOptions:0}}static{this.shadowRootOptions=a}static{this.styles=h}async clear(){this.widget?.viewModel.clear()}async destroy(){await this.manager.destroy()}async start(){this.widget?.viewModel.start()}};r("arcgis-directline-measurement-3d",t);export{t as ArcgisDirectLineMeasurement3d};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/*!
|
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.17
|
5
5
|
*/
|
6
|
-
import{a as p}from"./
|
6
|
+
import{a as p}from"./VKLAKB6P.js";import{d as t}from"./Y333JIBC.js";import{X as g,a as r}from"./GQHP7ZRP.js";import"./7L7IE75K.js";import{B as d,G as h,o,p as l,y as a,z as n}from"./OEBOOAS6.js";var c=l`arcgis-sketch{display:block}`,m=p(g),s=class extends d{constructor(){super(),this.widget=m(this,{editConstructorProperties:this._editConstructorProperties}),this.viewModel=this.widget.viewModel,this.activeTool=this.widget.activeTool,this.autoDestroyDisabled=!1,this.availableCreateTools=this.widget.availableCreateTools,this.createGraphic=this.widget.createGraphic,this.creationMode=this.widget.creationMode,this.defaultCreateOptions=this.widget.defaultCreateOptions,this.defaultGraphicsLayerDisabled=!1,this.defaultUpdateOptions=this.widget.defaultUpdateOptions,this.hideCreateToolsCircle=this.widget.visibleElements.createTools.circle,this.hideCreateToolsPoint=this.widget.visibleElements.createTools.point,this.hideCreateToolsPolygon=this.widget.visibleElements.createTools.polygon,this.hideCreateToolsPolyline=this.widget.visibleElements.createTools.polyline,this.hideCreateToolsRectangle=this.widget.visibleElements.createTools.rectangle,this.hideDuplicateButton=this.widget.visibleElements.duplicateButton,this.hideLabelsToggle=this.widget.visibleElements.labelsToggle,this.hideSelectionToolsLassoSelection=this.widget.visibleElements.selectionTools["lasso-selection"],this.hideSelectionToolsRectangleSelection=this.widget.visibleElements.selectionTools["rectangle-selection"],this.hideSettingsMenu=this.widget.visibleElements.settingsMenu,this.hideSnappingControls=this.widget.visibleElements.snappingControls,this.hideSnappingControlsElementsEnabledToggle=this.widget.visibleElements.snappingControlsElements.enabledToggle,this.hideSnappingControlsElementsFeatureEnabledToggle=this.widget.visibleElements.snappingControlsElements.featureEnabledToggle,this.hideSnappingControlsElementsLayerList=this.widget.visibleElements.snappingControlsElements.layerList,this.hideSnappingControlsElementsSelfEnabledToggle=this.widget.visibleElements.snappingControlsElements.selfEnabledToggle,this.hideTooltipsToggle=this.widget.visibleElements.tooltipsToggle,this.hideUndoRedoMenu=this.widget.visibleElements.undoRedoMenu,this.icon=this.widget.icon,this.label=this.widget.label,this.labelOptions=this.widget.labelOptions,this.layer=this.widget.layer,this.layout=this.widget.layout,this.pointSymbol=this.viewModel.pointSymbol,this.polygonSymbol=this.viewModel.polygonSymbol,this.polylineSymbol=this.viewModel.polylineSymbol,this.position="bottom-left",this.showSnappingControlsElementsHeader=this.widget.visibleElements.snappingControlsElements.header,this.snappingOptions=this.widget.snappingOptions,this.state=this.widget.state,this.tooltipOptions=this.widget.tooltipOptions,this.updateGraphics=this.widget.updateGraphics,this.arcgisCreate=t(()=>this.widget,"create"),this.arcgisDelete=t(()=>this.widget,"delete"),this.arcgisPropertyChange=o()("state"),this.arcgisReady=a(),this.arcgisRedo=t(()=>this.widget,"redo"),this.arcgisUndo=t(()=>this.widget,"undo"),this.arcgisUpdate=t(()=>this.widget,"update"),this.listen("arcgisReady",this._arcgisReadyHandler)}static{this.properties={activeTool:3,autoDestroyDisabled:5,availableCreateTools:0,createGraphic:0,creationMode:1,defaultCreateOptions:0,defaultGraphicsLayerDisabled:5,defaultUpdateOptions:0,hideCreateToolsCircle:5,hideCreateToolsPoint:5,hideCreateToolsPolygon:5,hideCreateToolsPolyline:5,hideCreateToolsRectangle:5,hideDuplicateButton:5,hideLabelsToggle:5,hideSelectionToolsLassoSelection:5,hideSelectionToolsRectangleSelection:5,hideSettingsMenu:5,hideSnappingControls:5,hideSnappingControlsElementsEnabledToggle:5,hideSnappingControlsElementsFeatureEnabledToggle:5,hideSnappingControlsElementsLayerList:5,hideSnappingControlsElementsSelfEnabledToggle:5,hideTooltipsToggle:5,hideUndoRedoMenu:5,icon:1,label:1,labelOptions:0,layer:0,layout:1,pointSymbol:0,polygonSymbol:0,polylineSymbol:0,position:1,referenceElement:1,showSnappingControlsElementsHeader:5,snappingOptions:0,state:3,tooltipOptions:0,updateGraphics:0}}static{this.shadowRootOptions=n}static{this.styles=c}async cancel(){this.widget?.cancel()}async complete(){this.widget?.complete()}async create(e,i){await this.widget?.create(e,i)}async delete(){this.widget?.delete()}async destroy(){await this.manager.destroy()}async duplicate(){this.widget?.duplicate()}async redo(){this.widget?.redo()}async triggerUpdate(e,i){return void this.widget?.update(e,i)}async undo(){this.widget?.undo()}_arcgisReadyHandler(){this.defaultGraphicsLayerDisabled||this.el.view?.map.add(this.widget.layer)}async _editConstructorProperties(e){return this.defaultGraphicsLayerDisabled||(e.layer??=await r({title:"Sketch Layer"})),e}};h("arcgis-sketch",s);export{s as ArcgisSketch};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/*!
|
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.17
|
5
5
|
*/
|
6
|
-
import{a as g}from"./
|
6
|
+
import{a as g}from"./VKLAKB6P.js";import{d as t}from"./Y333JIBC.js";import{V as o}from"./GQHP7ZRP.js";import"./7L7IE75K.js";import{B as l,G as c,o as i,p as a,y as r,z as h}from"./OEBOOAS6.js";var d=a`arcgis-search{display:block}`,u=g(o),e=class extends l{constructor(){super(...arguments),this.widget=u(this),this.viewModel=this.widget.viewModel,this.activeMenu=this.widget.activeMenu,this.activeSource=this.widget.activeSource,this.activeSourceIndex=this.widget.activeSourceIndex,this.allPlaceholder=this.widget.allPlaceholder,this.allSources=this.widget.allSources,this.autoDestroyDisabled=!1,this.autoSelectDisabled=this.widget.autoSelect,this.defaultSources=this.widget.defaultSources,this.disabled=this.widget.disabled,this.icon=this.widget.icon,this.includeDefaultSourcesDisabled=this.widget.includeDefaultSources,this.label=this.widget.label,this.locationDisabled=this.widget.locationEnabled,this.maxResults=this.widget.maxResults,this.maxSuggestions=this.widget.maxSuggestions,this.minSuggestCharacters=this.widget.minSuggestCharacters,this.popupDisabled=this.widget.popupEnabled,this.popupTemplate=this.widget.popupTemplate,this.portal=this.widget.portal,this.position="top-right",this.resultGraphic=this.widget.resultGraphic,this.resultGraphicDisabled=this.widget.resultGraphicEnabled,this.results=this.widget.results,this.searchAllDisabled=this.widget.searchAllEnabled,this.searchTerm=this.widget.searchTerm,this.selectedResult=this.widget.selectedResult,this.sources=this.widget.sources,this.state=this.viewModel.state,this.suggestions=this.widget.suggestions,this.suggestionsDisabled=this.widget.suggestionsEnabled,this.arcgisBlur=t(()=>this.widget,"search-blur"),this.arcgisClear=t(()=>this.widget,"search-clear"),this.arcgisComplete=t(()=>this.widget,"search-complete"),this.arcgisFocus=t(()=>this.widget,"search-focus"),this.arcgisPropertyChange=i()("state"),this.arcgisReady=r(),this.arcgisSelectResult=t(()=>this.widget,"select-result"),this.arcgisStart=t(()=>this.widget,"search-start"),this.arcgisSuggestComplete=t(()=>this.widget,"suggest-complete"),this.arcgisSuggestStart=t(()=>this.widget,"suggest-start")}static{this.properties={activeMenu:1,activeSource:0,activeSourceIndex:9,allPlaceholder:1,allSources:0,autoDestroyDisabled:5,autoSelectDisabled:5,defaultSources:0,disabled:7,icon:1,includeDefaultSourcesDisabled:5,label:1,locationDisabled:5,maxResults:9,maxSuggestions:9,minSuggestCharacters:9,popupDisabled:5,popupTemplate:0,portal:0,position:1,referenceElement:1,resultGraphic:0,resultGraphicDisabled:5,results:0,searchAllDisabled:5,searchTerm:1,selectedResult:0,sources:0,state:3,suggestions:0,suggestionsDisabled:5}}static{this.shadowRootOptions=h}static{this.styles=d}async blurSearch(){this.widget?.blur()}async clearSearch(){this.widget?.clear()}async destroy(){await this.manager.destroy()}async focusSearch(){this.widget?.focus()}async search(s){return await this.widget?.search(s)}async suggest(s){return await this.widget?.suggest(s)}};c("arcgis-search",e);export{e as ArcgisSearch};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/*!
|
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.17
|
5
5
|
*/
|
6
|
-
import{B as p,E as v,G as h,q as o,y as m,z as g}from"./
|
6
|
+
import{B as p,E as v,G as h,q as o,y as m,z as g}from"./OEBOOAS6.js";var c=class extends p{constructor(){super(...arguments),this.arcgisManageVersion=m()}static{this.properties={versionItemElementProps:0}}static{this.shadowRootOptions=g}render(){let{versionItemElementProps:{currentUser:$,currentVersionIdentifier:V,hasAdvEditingUte:f,isVersionAdministrator:b,isVersioningApiAvailable:u,serviceUrl:t,strings:{actions:n},versionInfo:e}}=this,s=e.versionIdentifier.name,I=s.substring(s.lastIndexOf(".")+1),r=s.substring(0,s.lastIndexOf(".")),l=e.versionIdentifier.guid,d=`actionSwitchToVersion_${l}`,a=r.toUpperCase()===$.toUpperCase()&&u&&f||b,i=V.guid===e.versionIdentifier.guid,x=o`<calcite-action .disabled=${i} id=${d??v} icon=code-branch text @click=${()=>{this.arcgisManageVersion.emit({actionType:"changeVersion",serviceUrl:t,versionInfo:e})}} slot=actions-start></calcite-action>`,U=i?void 0:o`<calcite-tooltip overlay-positioning=fixed .referenceElement=${d}><span>${n.switchToVersion}</span></calcite-tooltip>`;return o`<calcite-list-item .description=${r} .label=${I} .value=${l}>${x}${U}<calcite-action-menu overlay-positioning=fixed slot=actions-end label><calcite-action .disabled=${i} icon=code-branch @click=${()=>{this.arcgisManageVersion.emit({actionType:"changeVersion",serviceUrl:t,versionInfo:e})}} scale=s .text=${n.switchToVersion} text-enabled></calcite-action><calcite-action .disabled=${!a||i} icon=code-branch-edit @click=${()=>{this.arcgisManageVersion.emit({actionType:"editVersion",serviceUrl:t,versionInfo:e})}} scale=s .text=${n.editVersion} text-enabled></calcite-action><calcite-action .disabled=${!a||a&&i} icon=trash @click=${()=>{this.arcgisManageVersion.emit({actionType:"deleteVersion",serviceUrl:t,versionInfo:e})}} scale=s .text=${n.deleteVersion} text-enabled></calcite-action></calcite-action-menu></calcite-list-item>`}};h("arcgis-version-management-version-item",c);export{c as ArcgisVersionManagementVersionItem};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/*!
|
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.17
|
5
5
|
*/
|
6
|
-
import{a as c}from"./
|
6
|
+
import{a as c}from"./VKLAKB6P.js";import"./Y333JIBC.js";import{A as n}from"./GQHP7ZRP.js";import"./7L7IE75K.js";import{B as o,G as a,p as e,y as i,z as s}from"./OEBOOAS6.js";var d=e`arcgis-expand{display:flex;pointer-events:auto}arcgis-expand>.esri-expand__content--expanded{background-color:var(--calcite-color-background)}`,p=c(n),t=class extends o{constructor(){super(),this.widget=p(this),this.viewModel=this.widget.viewModel,this.autoCollapse=this.widget.autoCollapse,this.autoDestroyDisabled=!1,this.closeOnEsc=this.widget.closeOnEsc,this.collapseIcon=this.widget.collapseIcon,this.collapseTooltip=this.widget.collapseTooltip,this.content=this.widget.content,this.expandIcon=this.widget.expandIcon,this.expandTooltip=this.widget.expandTooltip,this.expanded=this.widget.expanded,this.group=this.widget.group,this.icon=this.widget.icon,this.iconNumber=this.widget.iconNumber,this.label=this.widget.label,this.mode=this.widget.mode,this.placement=this.widget.placement,this.position="top-right",this.arcgisReady=i(),this.content??=document.createElement("div")}static{this.properties={autoCollapse:5,autoDestroyDisabled:5,closeOnEsc:5,collapseIcon:1,collapseTooltip:1,content:1,expandIcon:1,expandTooltip:1,expanded:7,group:1,icon:1,iconNumber:9,label:1,mode:1,placement:1,position:1,referenceElement:1}}static{this.shadowRootOptions=s}static{this.styles=d}async collapse(){this.widget?.collapse()}async destroy(){await this.manager.destroy()}async expand(){this.widget?.expand()}async toggle(){this.expanded?await this.collapse():await this.expand()}};a("arcgis-expand",t);export{t as ArcgisExpand};
|