@arcgis/map-components 4.32.0-next.14 → 4.32.0-next.15
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/arcgis-map-components/{KEMTGRMZ.js → 2E3HTPUD.js} +2 -2
- package/dist/arcgis-map-components/{DI776FTA.js → 2PEXTY6O.js} +2 -2
- package/dist/arcgis-map-components/{PY2TH6SS.js → 2ZHBTXXN.js} +2 -2
- package/dist/arcgis-map-components/{N5XHLIHN.js → 37LAX4UC.js} +2 -2
- package/dist/arcgis-map-components/{LTT6KTIG.js → 4O3GPPBI.js} +2 -2
- package/dist/arcgis-map-components/{ZOOCSHYY.js → 5HZW3QN2.js} +2 -2
- package/dist/arcgis-map-components/{OWM623XN.js → 5LVKDYUV.js} +2 -2
- package/dist/arcgis-map-components/{LLWLDAZP.js → 5TH742JK.js} +2 -2
- package/dist/arcgis-map-components/{O2GCIRTE.js → 5TO23PN5.js} +2 -2
- package/dist/arcgis-map-components/{IZ2E2XWW.js → 7B4ABPSZ.js} +2 -2
- package/dist/arcgis-map-components/{NWRIFYZ4.js → ARE6PONS.js} +2 -2
- package/dist/arcgis-map-components/{5N6B7DYP.js → B3HBUFVK.js} +2 -2
- package/dist/arcgis-map-components/{5EDTRI5V.js → B52FTWII.js} +2 -2
- package/dist/arcgis-map-components/{I5KCVIZ4.js → BGXW2FJG.js} +2 -2
- package/dist/arcgis-map-components/{VWKVJ4OQ.js → BH56HZLF.js} +2 -2
- package/dist/arcgis-map-components/{MHIKQHTW.js → BOYAJ6VE.js} +2 -2
- package/dist/arcgis-map-components/{M7WEMEDM.js → BRNGVNA2.js} +2 -2
- package/dist/arcgis-map-components/{OKAQKZHU.js → CANQL7TP.js} +2 -2
- package/dist/arcgis-map-components/{YEB2BQM7.js → CHAF4UED.js} +2 -2
- package/dist/arcgis-map-components/{VH55WKNQ.js → CSTWYMED.js} +2 -2
- package/dist/arcgis-map-components/{XQRP6DXT.js → CWZYZDY4.js} +2 -2
- package/dist/arcgis-map-components/{A6VQ4YOC.js → DE2377HN.js} +2 -2
- package/dist/arcgis-map-components/{3GPFAABF.js → DFBZF24G.js} +1 -1
- package/dist/arcgis-map-components/{OHBS3LK2.js → DHV3MVWR.js} +2 -2
- package/dist/arcgis-map-components/{S4UALEQ5.js → DNH2BB3B.js} +2 -2
- package/dist/arcgis-map-components/{TCK7Q6Y2.js → FFL26GED.js} +2 -2
- package/dist/arcgis-map-components/{LIFSFXTV.js → FKDBXAPU.js} +2 -2
- package/dist/arcgis-map-components/{5WQGJNDT.js → FMCAHNPQ.js} +2 -2
- package/dist/arcgis-map-components/{6OSVA2YY.js → GCXRGVMR.js} +2 -2
- package/dist/arcgis-map-components/{XDTVYLAW.js → GQPVNDRU.js} +2 -2
- package/dist/arcgis-map-components/{Z4D4BLFF.js → HTAD7O3T.js} +2 -2
- package/dist/arcgis-map-components/{4WHP6QD7.js → HXS5SJ2U.js} +1 -1
- package/dist/arcgis-map-components/{RQUX33PM.js → JDYJVJCS.js} +2 -2
- package/dist/arcgis-map-components/{6OV5DH3T.js → JVERGKXO.js} +2 -2
- package/dist/arcgis-map-components/{TDNY2SBM.js → KCDZ36GI.js} +2 -2
- package/dist/arcgis-map-components/{R76KLGP3.js → KFKYZESD.js} +2 -2
- package/dist/arcgis-map-components/{O7NQU6FN.js → LI6CZIYO.js} +2 -2
- package/dist/arcgis-map-components/{AKOAU55B.js → LJBYN4O5.js} +2 -2
- package/dist/arcgis-map-components/{KINDICH6.js → LKRQT225.js} +2 -2
- package/dist/arcgis-map-components/{VZPSOL4V.js → MR2DNCB6.js} +2 -2
- package/dist/arcgis-map-components/{HM7OXS4F.js → N3NQIFK2.js} +2 -2
- package/dist/arcgis-map-components/{26H2WBKS.js → NDU2EHCJ.js} +2 -2
- package/dist/arcgis-map-components/{N3D2MVLT.js → NKYWZ3P5.js} +2 -2
- package/dist/arcgis-map-components/{DM7Y7ZLY.js → NPD6WM5H.js} +2 -2
- package/dist/arcgis-map-components/{AERJZNGA.js → NTQNZS4D.js} +2 -2
- package/dist/arcgis-map-components/{MJFMGQU2.js → P54QZUUD.js} +2 -2
- package/dist/arcgis-map-components/{DDAB6RIC.js → PJIR4ZVN.js} +2 -2
- package/dist/arcgis-map-components/{Y32M7IWE.js → PK3KHH4T.js} +2 -2
- package/dist/arcgis-map-components/{SFD6SKUN.js → R6QBRQ6Z.js} +2 -2
- package/dist/arcgis-map-components/{PDPUGTCC.js → RCYO3V5U.js} +2 -2
- package/dist/arcgis-map-components/{HYM43FRM.js → RL67VMJK.js} +2 -2
- package/dist/arcgis-map-components/{47QILRXV.js → ROA4IE63.js} +2 -2
- package/dist/arcgis-map-components/{COB5Q2JY.js → RZG2MFPJ.js} +2 -2
- package/dist/arcgis-map-components/{ILR7WD6N.js → S74CPYI3.js} +2 -2
- package/dist/arcgis-map-components/{PUAHM2VO.js → TAIBDKTC.js} +2 -2
- package/dist/arcgis-map-components/{YNGH7RUL.js → TC4H6F4Z.js} +2 -2
- package/dist/arcgis-map-components/{KXWUXKJ6.js → TGFFGUJI.js} +2 -2
- package/dist/arcgis-map-components/{ZFQJTNHB.js → U37UDLWM.js} +1 -1
- package/dist/arcgis-map-components/{M34MUM2O.js → UAAXJ35Y.js} +2 -2
- package/dist/arcgis-map-components/{4VL2BBKX.js → UV42DIUS.js} +2 -2
- package/dist/arcgis-map-components/{IQ3VCIL3.js → UWWLUAMU.js} +2 -2
- package/dist/arcgis-map-components/{3PLZHOFW.js → WUJOORRK.js} +2 -2
- package/dist/arcgis-map-components/{GQWSAYCG.js → WVWCCXT7.js} +2 -2
- package/dist/arcgis-map-components/{SOGWSAB7.js → XS5ZVM5P.js} +1 -1
- package/dist/arcgis-map-components/{ROYWTPFI.js → Y5NX3TK7.js} +2 -2
- package/dist/arcgis-map-components/{3Q45KK47.js → YF4ITTHT.js} +2 -2
- package/dist/arcgis-map-components/{TMBBQMIF.js → YOQXD7S2.js} +2 -2
- package/dist/arcgis-map-components/{DAR6APGA.js → YPX3R5LB.js} +2 -2
- package/dist/arcgis-map-components/{IR7SJMYF.js → YUUC3BR5.js} +2 -2
- package/dist/arcgis-map-components/{TUKMEKKO.js → ZMONZWS7.js} +2 -2
- package/dist/arcgis-map-components/{FMGXDKQ6.js → ZTR6V2EX.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.15
|
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"./5TO23PN5.js";import{f as d,h as g,ja as u}from"./U37UDLWM.js";import{e as h,f as _,g as n,h as o}from"./XS5ZVM5P.js";import{B as v,G as l,m,p as w,y as a,z as p}from"./HXS5SJ2U.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.15
|
5
5
|
*/
|
6
|
-
import{a as c}from"./
|
6
|
+
import{a as c}from"./TGFFGUJI.js";import"./5TO23PN5.js";import{x as n}from"./U37UDLWM.js";import"./XS5ZVM5P.js";import{B as o,G as r,o as s,p as i,y as e,z as a}from"./HXS5SJ2U.js";var h=i`arcgis-distance-measurement-2d{display:block}`,m=c(n),t=class extends o{constructor(){super(...arguments),this.widget=m(this),this.viewModel=this.widget.viewModel,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()("state"),this.arcgisReady=e()}static{this.properties={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 destroy(){await this.manager.destroy()}};r("arcgis-distance-measurement-2d",t);export{t as ArcgisDistanceMeasurement2d};
|
@@ -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.15
|
5
5
|
*/
|
6
|
-
import{a as n}from"./
|
6
|
+
import{a as n}from"./TGFFGUJI.js";import{d as h}from"./5TO23PN5.js";import{L as l}from"./U37UDLWM.js";import"./XS5ZVM5P.js";import{B as o,G as r,o as e,p as i,y as s,z as a}from"./HXS5SJ2U.js";var c=i`arcgis-layer-list{display:block}`,w=n(l),t=class extends o{constructor(){super(...arguments),this.widget=w(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.catalogOptions=this.widget.catalogOptions,this.collapsed=this.widget.collapsed,this.dragEnabled=this.widget.dragEnabled,this.filterPlaceholder=this.widget.filterPlaceholder,this.filterText=this.widget.filterText,this.headingLevel=this.widget.headingLevel,this.hideCatalogLayerList=this.widget.visibleElements.catalogLayerList,this.hideFlow=this.widget.visibleElements.flow,this.hideStatusIndicators=this.widget.visibleElements.statusIndicators,this.icon=this.widget.icon,this.knowledgeGraphOptions=this.widget.knowledgeGraphOptions,this.label=this.widget.label,this.listItemCreatedFunction=this.widget.listItemCreatedFunction,this.minDragEnabledItems=this.widget.minDragEnabledItems,this.minFilterItems=this.widget.minFilterItems,this.openedLayers=this.widget.openedLayers,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,catalogLayerList:32,catalogOptions:0,collapsed:7,dragEnabled:5,filterPlaceholder:1,filterText:1,headingLevel:9,hideCatalogLayerList:5,hideFlow:5,hideStatusIndicators:5,icon:1,knowledgeGraphOptions:0,label:1,listItemCreatedFunction:0,minDragEnabledItems:9,minFilterItems:9,openedLayers:0,operationalItems:32,position:1,referenceElement:1,selectedItems:0,selectionMode:1,showCloseButton:5,showCollapseButton:5,showErrors:5,showFilter:5,showHeading:5,showTemporaryLayerIndicators:5,state:3,tableList:32,visibilityAppearance:1}}static{this.shadowRootOptions=a}static{this.styles=c}get catalogLayerList(){return this.widget.catalogLayerList}get operationalItems(){return this.widget.operationalItems}get tableList(){return this.widget.tableList}async destroy(){await this.manager.destroy()}async triggerAction(d,g){this.widget?.triggerAction(d,g)}};r("arcgis-layer-list",t);export{t as ArcgisLayerList};
|
@@ -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.15
|
5
5
|
*/
|
6
|
-
import{a as c}from"./
|
6
|
+
import{a as c}from"./TGFFGUJI.js";import"./5TO23PN5.js";import{U as o}from"./U37UDLWM.js";import"./XS5ZVM5P.js";import{B as l,G as n,o as i,p as t,y as s,z as a}from"./HXS5SJ2U.js";var r=t`arcgis-scale-range-slider{display:block}`,h=c(o),e=class extends l{constructor(){super(...arguments),this.widget=h(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.disabled=this.widget.disabled,this.hidePreview=this.widget.visibleElements.preview,this.hideScaleMenusMaxScaleMenu=this.widget.visibleElements.scaleMenus.maxScaleMenu,this.hideScaleMenusMinScaleMenu=this.widget.visibleElements.scaleMenus.minScaleMenu,this.icon=this.widget.icon,this.label=this.widget.label,this.layer=this.widget.layer,this.maxScale=this.widget.maxScale,this.maxScaleLimit=this.widget.maxScaleLimit,this.minScale=this.widget.minScale,this.minScaleLimit=this.widget.minScaleLimit,this.mode=this.widget.mode,this.position="bottom-left",this.region=this.widget.region,this.state=this.viewModel.state,this.arcgisPropertyChange=i()("state","minScale","maxScale"),this.arcgisReady=s()}static{this.properties={autoDestroyDisabled:5,disabled:7,hidePreview:5,hideScaleMenusMaxScaleMenu:5,hideScaleMenusMinScaleMenu:5,icon:1,label:1,layer:0,maxScale:9,maxScaleLimit:9,minScale:9,minScaleLimit:9,mode:1,position:1,referenceElement:1,region:1,state:3}}static{this.shadowRootOptions=a}static{this.styles=r}async destroy(){await this.manager.destroy()}};n("arcgis-scale-range-slider",e);export{e as ArcgisScaleRangeSlider};
|
@@ -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.15
|
5
5
|
*/
|
6
|
-
import{a as m}from"./
|
6
|
+
import{a as m}from"./TGFFGUJI.js";import{d as n}from"./5TO23PN5.js";import{$ as r}from"./U37UDLWM.js";import"./XS5ZVM5P.js";import{B as a,G as o,o as e,p as i,y as s,z as l}from"./HXS5SJ2U.js";var d=i`arcgis-table-list{display:block}`,h=m(r),t=class extends a{constructor(){super(...arguments),this.widget=h(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.collapsed=this.widget.collapsed,this.dragEnabled=this.widget.dragEnabled,this.filterPlaceholder=this.widget.filterPlaceholder,this.filterText=this.widget.filterText,this.icon=this.widget.icon,this.label=this.widget.label,this.listItemCreatedFunction=this.widget.listItemCreatedFunction,this.minDragEnabledItems=this.widget.minDragEnabledItems,this.minFilterItems=this.widget.minFilterItems,this.position="bottom-left",this.selectedItems=this.widget.selectedItems,this.selectionMode=this.widget.selectionMode,this.state=this.viewModel.state,this.visibleElementsCloseButton=!1,this.visibleElementsCollapseButton=!1,this.visibleElementsErrors=!1,this.visibleElementsFilter=!1,this.visibleElementsFlow=!0,this.visibleElementsHeading=!1,this.visibleElementsStatusIndicators=!0,this.visibleElementsTemporaryTableIndicators=!1,this.arcgisPropertyChange=e()("state"),this.arcgisReady=s(),this.arcgisTriggerAction=n(()=>this.widget,"trigger-action")}static{this.properties={autoDestroyDisabled:5,collapsed:7,dragEnabled:5,filterPlaceholder:1,filterText:1,icon:1,label:1,listItemCreatedFunction:0,minDragEnabledItems:9,minFilterItems:9,position:1,referenceElement:1,selectedItems:0,selectionMode:1,state:3,tableItems:32,visibleElementsCloseButton:5,visibleElementsCollapseButton:5,visibleElementsErrors:5,visibleElementsFilter:5,visibleElementsFlow:5,visibleElementsHeading:5,visibleElementsStatusIndicators:5,visibleElementsTemporaryTableIndicators:5}}static{this.shadowRootOptions=l}static{this.styles=d}get tableItems(){return this.widget.tableItems}async destroy(){await this.manager.destroy()}};o("arcgis-table-list",t);export{t as ArcgisTableList};
|
@@ -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.15
|
5
5
|
*/
|
6
|
-
import{a as u,b as v}from"./
|
6
|
+
import{a as u,b as v}from"./P54QZUUD.js";import{B as g,G as V,q as l,y as d,z as b}from"./HXS5SJ2U.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.15
|
5
5
|
*/
|
6
|
-
import{b as y,c as a}from"./
|
6
|
+
import{b as y,c as a}from"./5TO23PN5.js";import{b as r}from"./XS5ZVM5P.js";import{g as h,h as w,l as _}from"./HXS5SJ2U.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.15
|
5
5
|
*/
|
6
6
|
var e=typeof window<"u"&&"$arcgis"in window&&typeof window.$arcgis=="object"&&"import"in window.$arcgis&&!("forceESM"in window.$arcgis);function n(t){return t.default!==void 0}async function i(){if(e)return await window.$arcgis.import("esri/layers/GraphicsLayer");let t=await import("@arcgis/core/layers/GraphicsLayer.js");return n(t)?t.default:t}async function mt(t){let r=await i();return new r(t)}async function dt(){if(e)return await window.$arcgis.import("esri/layers/Layer");let t=await import("@arcgis/core/layers/Layer.js");return n(t)?t.default:t}async function o(){if(e)return await window.$arcgis.import("esri/layers/OrientedImageryLayer");let t=await import("@arcgis/core/layers/OrientedImageryLayer.js");return n(t)?t.default:t}async function lt(t){let r=await o();return new r(t)}async function a(){if(e)return await window.$arcgis.import("esri/layers/RouteLayer");let t=await import("@arcgis/core/layers/RouteLayer.js");return n(t)?t.default:t}async function ft(t){let r=await a();return new r(t)}async function s(){if(e)return await window.$arcgis.import("esri/views/MapView");let t=await import("@arcgis/core/views/MapView.js");return n(t)?t.default:t}async function yt(t){let r=await s();return new r(t)}async function u(){if(e)return await window.$arcgis.import("esri/views/SceneView");let t=await import("@arcgis/core/views/SceneView.js");return n(t)?t.default:t}async function gt(t){let r=await u();return new r(t)}async function c(){if(e)return await window.$arcgis.import("esri/WebMap");let t=await import("@arcgis/core/WebMap.js");return n(t)?t.default:t}async function St(t){let r=await c();return new r(t)}async function w(){if(e)return await window.$arcgis.import("esri/WebScene");let t=await import("@arcgis/core/WebScene.js");return n(t)?t.default:t}async function Mt(t){let r=await w();return new r(t)}async function p(){if(e)return await window.$arcgis.import("esri/widgets/AreaMeasurement2D");let t=await import("@arcgis/core/widgets/AreaMeasurement2D.js");return n(t)?t.default:t}async function Ct(t){let r=await p();return new r(t)}async function m(){if(e)return await window.$arcgis.import("esri/widgets/AreaMeasurement3D");let t=await import("@arcgis/core/widgets/AreaMeasurement3D.js");return n(t)?t.default:t}async function $t(t){let r=await m();return new r(t)}async function d(){if(e)return await window.$arcgis.import("esri/widgets/Attachments");let t=await import("@arcgis/core/widgets/Attachments.js");return n(t)?t.default:t}async function Lt(t){let r=await d();return new r(t)}async function l(){if(e)return await window.$arcgis.import("esri/widgets/BasemapGallery");let t=await import("@arcgis/core/widgets/BasemapGallery.js");return n(t)?t.default:t}async function Rt(t){let r=await l();return new r(t)}async function f(){if(e)return await window.$arcgis.import("esri/widgets/BasemapLayerList");let t=await import("@arcgis/core/widgets/BasemapLayerList.js");return n(t)?t.default:t}async function Vt(t){let r=await f();return new r(t)}async function y(){if(e)return await window.$arcgis.import("esri/widgets/BasemapToggle/BasemapToggleViewModel");let t=await import("@arcgis/core/widgets/BasemapToggle/BasemapToggleViewModel.js");return n(t)?t.default:t}async function bt(t){let r=await y();return new r(t)}async function g(){if(e)return await window.$arcgis.import("esri/widgets/Bookmarks");let t=await import("@arcgis/core/widgets/Bookmarks.js");return n(t)?t.default:t}async function Pt(t){let r=await g();return new r(t)}async function S(){if(e)return await window.$arcgis.import("esri/widgets/BuildingExplorer");let t=await import("@arcgis/core/widgets/BuildingExplorer.js");return n(t)?t.default:t}async function ht(t){let r=await S();return new r(t)}async function M(){if(e)return await window.$arcgis.import("esri/widgets/CatalogLayerList");let t=await import("@arcgis/core/widgets/CatalogLayerList.js");return n(t)?t.default:t}async function It(t){let r=await M();return new r(t)}async function C(){if(e)return await window.$arcgis.import("esri/widgets/Compass/CompassViewModel");let t=await import("@arcgis/core/widgets/Compass/CompassViewModel.js");return n(t)?t.default:t}async function Wt(t){let r=await C();return new r(t)}async function $(){if(e)return await window.$arcgis.import("esri/widgets/CoordinateConversion");let t=await import("@arcgis/core/widgets/CoordinateConversion.js");return n(t)?t.default:t}async function Ft(t){let r=await $();return new r(t)}async function L(){if(e)return await window.$arcgis.import("esri/widgets/Daylight");let t=await import("@arcgis/core/widgets/Daylight.js");return n(t)?t.default:t}async function Gt(t){let r=await L();return new r(t)}async function R(){if(e)return await window.$arcgis.import("esri/widgets/DirectionalPad");let t=await import("@arcgis/core/widgets/DirectionalPad.js");return n(t)?t.default:t}async function Tt(t){let r=await R();return new r(t)}async function V(){if(e)return await window.$arcgis.import("esri/widgets/Directions");let t=await import("@arcgis/core/widgets/Directions.js");return n(t)?t.default:t}async function At(t){let r=await V();return new r(t)}async function b(){if(e)return await window.$arcgis.import("esri/widgets/DirectLineMeasurement3D");let t=await import("@arcgis/core/widgets/DirectLineMeasurement3D.js");return n(t)?t.default:t}async function Dt(t){let r=await b();return new r(t)}async function P(){if(e)return await window.$arcgis.import("esri/widgets/DistanceMeasurement2D");let t=await import("@arcgis/core/widgets/DistanceMeasurement2D.js");return n(t)?t.default:t}async function kt(t){let r=await P();return new r(t)}async function h(){if(e)return await window.$arcgis.import("esri/widgets/Editor");let t=await import("@arcgis/core/widgets/Editor.js");return n(t)?t.default:t}async function Et(t){let r=await h();return new r(t)}async function I(){if(e)return await window.$arcgis.import("esri/widgets/ElevationProfile");let t=await import("@arcgis/core/widgets/ElevationProfile.js");return n(t)?t.default:t}async function vt(t){let r=await I();return new r(t)}async function W(){if(e)return await window.$arcgis.import("esri/widgets/Expand");let t=await import("@arcgis/core/widgets/Expand.js");return n(t)?t.default:t}async function Bt(t){let r=await W();return new r(t)}async function F(){if(e)return await window.$arcgis.import("esri/widgets/Feature");let t=await import("@arcgis/core/widgets/Feature.js");return n(t)?t.default:t}async function Ot(t){let r=await F();return new r(t)}async function G(){if(e)return await window.$arcgis.import("esri/widgets/FeatureForm");let t=await import("@arcgis/core/widgets/FeatureForm.js");return n(t)?t.default:t}async function Ut(t){let r=await G();return new r(t)}async function T(){if(e)return await window.$arcgis.import("esri/widgets/Features");let t=await import("@arcgis/core/widgets/Features.js");return n(t)?t.default:t}async function xt(t){let r=await T();return new r(t)}async function A(){if(e)return await window.$arcgis.import("esri/widgets/FeatureTable");let t=await import("@arcgis/core/widgets/FeatureTable.js");return n(t)?t.default:t}async function Nt(t){let r=await A();return new r(t)}async function D(){if(e)return await window.$arcgis.import("esri/widgets/FeatureTemplates");let t=await import("@arcgis/core/widgets/FeatureTemplates.js");return n(t)?t.default:t}async function zt(t){let r=await D();return new r(t)}async function k(){if(e)return await window.$arcgis.import("esri/widgets/FloorFilter");let t=await import("@arcgis/core/widgets/FloorFilter.js");return n(t)?t.default:t}async function Ht(t){let r=await k();return new r(t)}async function E(){if(e)return await window.$arcgis.import("esri/widgets/Fullscreen/FullscreenViewModel");let t=await import("@arcgis/core/widgets/Fullscreen/FullscreenViewModel.js");return n(t)?t.default:t}async function Kt(t){let r=await E();return new r(t)}async function v(){if(e)return await window.$arcgis.import("esri/widgets/Histogram");let t=await import("@arcgis/core/widgets/Histogram.js");return n(t)?t.default:t}async function Qt(t){let r=await v();return new r(t)}async function B(){if(e)return await window.$arcgis.import("esri/widgets/HistogramRangeSlider");let t=await import("@arcgis/core/widgets/HistogramRangeSlider.js");return n(t)?t.default:t}async function qt(t){let r=await B();return new r(t)}async function O(){if(e)return await window.$arcgis.import("esri/widgets/Home/HomeViewModel");let t=await import("@arcgis/core/widgets/Home/HomeViewModel.js");return n(t)?t.default:t}async function jt(t){let r=await O();return new r(t)}async function U(){if(e)return await window.$arcgis.import("esri/widgets/LayerList");let t=await import("@arcgis/core/widgets/LayerList.js");return n(t)?t.default:t}async function Jt(t){let r=await U();return new r(t)}async function x(){if(e)return await window.$arcgis.import("esri/widgets/Legend");let t=await import("@arcgis/core/widgets/Legend.js");return n(t)?t.default:t}async function Zt(t){let r=await x();return new r(t)}async function N(){if(e)return await window.$arcgis.import("esri/widgets/LineOfSight");let t=await import("@arcgis/core/widgets/LineOfSight.js");return n(t)?t.default:t}async function Xt(t){let r=await N();return new r(t)}async function z(){if(e)return await window.$arcgis.import("esri/widgets/Locate/LocateViewModel");let t=await import("@arcgis/core/widgets/Locate/LocateViewModel.js");return n(t)?t.default:t}async function Yt(t){let r=await z();return new r(t)}async function H(){if(e)return await window.$arcgis.import("esri/widgets/Measurement");let t=await import("@arcgis/core/widgets/Measurement.js");return n(t)?t.default:t}async function _t(t){let r=await H();return new r(t)}async function K(){if(e)return await window.$arcgis.import("esri/widgets/NavigationToggle");let t=await import("@arcgis/core/widgets/NavigationToggle.js");return n(t)?t.default:t}async function tr(t){let r=await K();return new r(t)}async function Q(){if(e)return await window.$arcgis.import("esri/widgets/OrientedImageryViewer");let t=await import("@arcgis/core/widgets/OrientedImageryViewer.js");return n(t)?t.default:t}async function rr(t){let r=await Q();return new r(t)}async function q(){if(e)return await window.$arcgis.import("esri/widgets/Print");let t=await import("@arcgis/core/widgets/Print.js");return n(t)?t.default:t}async function er(t){let r=await q();return new r(t)}async function j(){if(e)return await window.$arcgis.import("esri/widgets/ScaleBar/ScaleBarViewModel");let t=await import("@arcgis/core/widgets/ScaleBar/ScaleBarViewModel.js");return n(t)?t.default:t}async function nr(t){let r=await j();return new r(t)}async function J(){if(e)return await window.$arcgis.import("esri/widgets/ScaleRangeSlider");let t=await import("@arcgis/core/widgets/ScaleRangeSlider.js");return n(t)?t.default:t}async function ir(t){let r=await J();return new r(t)}async function Z(){if(e)return await window.$arcgis.import("esri/widgets/Search");let t=await import("@arcgis/core/widgets/Search.js");return n(t)?t.default:t}async function or(t){let r=await Z();return new r(t)}async function X(){if(e)return await window.$arcgis.import("esri/widgets/ShadowCast");let t=await import("@arcgis/core/widgets/ShadowCast.js");return n(t)?t.default:t}async function ar(t){let r=await X();return new r(t)}async function Y(){if(e)return await window.$arcgis.import("esri/widgets/Sketch");let t=await import("@arcgis/core/widgets/Sketch.js");return n(t)?t.default:t}async function sr(t){let r=await Y();return new r(t)}async function _(){if(e)return await window.$arcgis.import("esri/widgets/Slice");let t=await import("@arcgis/core/widgets/Slice.js");return n(t)?t.default:t}async function ur(t){let r=await _();return new r(t)}async function tt(){if(e)return await window.$arcgis.import("esri/widgets/Slider");let t=await import("@arcgis/core/widgets/Slider.js");return n(t)?t.default:t}async function cr(t){let r=await tt();return new r(t)}async function rt(){if(e)return await window.$arcgis.import("esri/widgets/Swipe");let t=await import("@arcgis/core/widgets/Swipe.js");return n(t)?t.default:t}async function wr(t){let r=await rt();return new r(t)}async function et(){if(e)return await window.$arcgis.import("esri/widgets/TableList");let t=await import("@arcgis/core/widgets/TableList.js");return n(t)?t.default:t}async function pr(t){let r=await et();return new r(t)}async function nt(){if(e)return await window.$arcgis.import("esri/widgets/TimeSlider");let t=await import("@arcgis/core/widgets/TimeSlider.js");return n(t)?t.default:t}async function mr(t){let r=await nt();return new r(t)}async function it(){if(e)return await window.$arcgis.import("esri/widgets/Track/TrackViewModel");let t=await import("@arcgis/core/widgets/Track/TrackViewModel.js");return n(t)?t.default:t}async function dr(t){let r=await it();return new r(t)}async function ot(){if(e)return await window.$arcgis.import("esri/widgets/UtilityNetworkAssociations");let t=await import("@arcgis/core/widgets/UtilityNetworkAssociations.js");return n(t)?t.default:t}async function lr(t){let r=await ot();return new r(t)}async function at(){if(e)return await window.$arcgis.import("esri/widgets/UtilityNetworkTrace");let t=await import("@arcgis/core/widgets/UtilityNetworkTrace.js");return n(t)?t.default:t}async function fr(t){let r=await at();return new r(t)}async function st(){if(e)return await window.$arcgis.import("esri/widgets/UtilityNetworkValidateTopology");let t=await import("@arcgis/core/widgets/UtilityNetworkValidateTopology.js");return n(t)?t.default:t}async function yr(t){let r=await st();return new r(t)}async function ut(){if(e)return await window.$arcgis.import("esri/widgets/ValuePicker");let t=await import("@arcgis/core/widgets/ValuePicker.js");return n(t)?t.default:t}async function gr(t){let r=await ut();return new r(t)}async function ct(){if(e)return await window.$arcgis.import("esri/widgets/VersionManagement/VersionManagementViewModel");let t=await import("@arcgis/core/widgets/VersionManagement/VersionManagementViewModel.js");return n(t)?t.default:t}async function Sr(t){let r=await ct();return new r(t)}async function wt(){if(e)return await window.$arcgis.import("esri/widgets/Weather");let t=await import("@arcgis/core/widgets/Weather.js");return n(t)?t.default:t}async function Mr(t){let r=await wt();return new r(t)}async function pt(){if(e)return await window.$arcgis.import("esri/widgets/Zoom/ZoomViewModel");let t=await import("@arcgis/core/widgets/Zoom/ZoomViewModel.js");return n(t)?t.default:t}async function Cr(t){let r=await pt();return new r(t)}async function $r(){if(e)return await window.$arcgis.import("esri/core/reactiveUtils");let t=await import("@arcgis/core/core/reactiveUtils.js");return n(t)?t.default:t}async function Lr(){if(e)return await window.$arcgis.import("esri/intl");let t=await import("@arcgis/core/intl.js");return n(t)?t.default:t}async function Rr(){if(e)return await window.$arcgis.import("esri/applications/Components/basemapUtils");let t=await import("@arcgis/core/applications/Components/basemapUtils.js");return n(t)?t.default:t}async function Vr(){if(e)return await window.$arcgis.import("esri/applications/Components/getDefaultUnits");let t=await import("@arcgis/core/applications/Components/getDefaultUnits.js");return n(t)?t.default:t}export{mt as a,dt as b,lt as c,ft as d,yt as e,gt as f,St as g,Mt as h,Ct as i,$t as j,Lt as k,Rt as l,Vt as m,bt as n,Pt as o,ht as p,It as q,Wt as r,Ft as s,Gt as t,Tt as u,At as v,Dt as w,kt as x,Et as y,vt as z,Bt as A,Ot as B,Ut as C,xt as D,Nt as E,zt as F,Ht as G,Kt as H,Qt as I,qt as J,jt as K,Jt as L,Zt as M,Xt as N,Yt as O,_t as P,tr as Q,rr as R,er as S,nr as T,ir as U,or as V,ar as W,sr as X,ur as Y,cr as Z,wr as _,pr as $,mr as aa,dr as ba,lr as ca,fr as da,yr as ea,gr as fa,Sr as ga,Mr as ha,Cr as ia,$r as ja,Lr as ka,Rr as la,Vr as ma};
|
@@ -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.15
|
5
5
|
*/
|
6
|
-
import{a as n}from"./
|
6
|
+
import{a as n}from"./TGFFGUJI.js";import{d as h}from"./5TO23PN5.js";import{F as l}from"./U37UDLWM.js";import"./XS5ZVM5P.js";import{B as r,G as a,o as e,p as i,y as s,z as o}from"./HXS5SJ2U.js";var d=i`arcgis-feature-templates{display:block}`,c=n(l),t=class extends r{constructor(){super(...arguments),this.widget=c(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.enableListScroll=this.widget.enableListScroll,this.filterFunction=this.widget.filterFunction,this.filterText=this.widget.filterText,this.groupBy=this.widget.groupBy,this.headingLevel=this.widget.headingLevel,this.hideFilter=this.widget.visibleElements.filter,this.icon=this.widget.icon,this.label=this.widget.label,this.layers=this.widget.layers,this.position="bottom-left",this.selectionMode=this.widget.selectionMode,this.state=this.viewModel.state,this.arcgisPropertyChange=e()("state"),this.arcgisReady=s(),this.arcgisSelect=h(()=>this.widget,"select")}static{this.properties={autoDestroyDisabled:5,enableListScroll:5,filterFunction:0,filterText:1,groupBy:1,headingLevel:9,hideFilter:5,icon:1,label:1,layers:0,position:1,referenceElement:1,selectionMode:1,state:3}}static{this.shadowRootOptions=o}static{this.styles=d}async destroy(){await this.manager.destroy()}};a("arcgis-feature-templates",t);export{t as ArcgisFeatureTemplates};
|
@@ -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.15
|
5
5
|
*/
|
6
|
-
import{a as b}from"./
|
6
|
+
import{a as b}from"./JVERGKXO.js";import{b as w}from"./P54QZUUD.js";import{da as o,ja as d}from"./U37UDLWM.js";import{a as c,b as n,c as g,i as p}from"./XS5ZVM5P.js";import{B as h,G as l,q as a,y as t,z as r}from"./HXS5SJ2U.js";var i=class extends h{constructor(){super(...arguments),this._watchHandles=[],this.defaultGraphicColor={color:[255,255,0,.6],haloOpacity:.9,fillOpacity:.2,hex:"#FFFF00"},this.disabled=!1,this.enableResultArea=!1,this.flags=[],this.gdbVersion="sde.DEFAULT",this.inputSettings=[],this.position="bottom-left",this.selectOnCompleteDisabled=!1,this.selectedTraces=[],this.showGraphicsOnCompleteDisabled=!1,this.showSelectionAttributesDisabled=!1,this.arcgisAddFlag=t(),this.arcgisAddFlagComplete=t(),this.arcgisAddFlagError=t(),this.arcgisAddResultArea=t(),this.arcgisReady=t(),this.arcgisRemoveResultArea=t()}static{this.properties={defaultGraphicColor:0,disabled:7,enableResultArea:5,flags:0,gdbVersion:1,inputSettings:0,position:1,referenceElement:1,resultAreaProperties:0,selectOnCompleteDisabled:5,selectedTraces:0,showGraphicsOnCompleteDisabled:5,showSelectionAttributesDisabled:5,view:0,widget:0}}static{this.shadowRootOptions=r}async checkCanTrace(){await this.widget?.checkCanTrace()}async confirmReset(){this.widget?.confirmReset()}willUpdate(e){e.has("referenceElement")&&this.referenceElementWatcher(this.referenceElement),e.has("enableResultArea")&&this.enableResultAreaWatcher(this.enableResultArea),e.has("defaultGraphicColor")&&this.defaultGraphicColorWatcher(this.defaultGraphicColor),e.has("disabled")&&this.disabledWatcher(this.disabled,e.get("disabled")),e.has("flags")&&this.flagsWatcher(this.flags),e.has("gdbVersion")&&this.gdbVersionWatcher(this.gdbVersion),e.has("inputSettings")&&this.inputSettingsWatcher(this.inputSettings),e.has("resultAreaProperties")&&this.resultAreaProperties&&this.resultAreaPropertiesWatcher(this.resultAreaProperties),e.has("selectedTraces")&&this.selectedTracesWatcher(this.selectedTraces),e.has("selectOnCompleteDisabled")&&this.selectOnCompleteDisabledWatcher(this.selectOnCompleteDisabled),e.has("showGraphicsOnCompleteDisabled")&&this.showGraphicsOnCompleteDisabledWatcher(this.showGraphicsOnCompleteDisabled),e.has("showSelectionAttributesDisabled")&&this.showSelectionAttributesDisabledWatcher(this.showSelectionAttributesDisabled),e.has("position")&&this.positionWatcher(this.position),e.has("view")&&this.viewWatcher(this.view)}async loaded(){let e=this._createParams(),s=await o(e);this.widget=s,await this._addWatchers(),this._proxyEvents(),this._addContainer(),g(this),n(this)}disconnectedCallback(){super.disconnectedCallback(),b(this)}referenceElementWatcher(e){p(this,e)}enableResultAreaWatcher(e){this.widget&&(this.widget.enableResultArea=e)}defaultGraphicColorWatcher(e){this.widget&&(this.widget.defaultGraphicColor=e)}disabledWatcher(e,s){this.widget&&e!==s&&(this.widget.disabled=e)}flagsWatcher(e){this.widget&&(this.widget.flags=e)}gdbVersionWatcher(e){this.widget&&(this.widget.gdbVersion=e)}inputSettingsWatcher(e){this.widget&&(this.widget.inputSettings=e)}resultAreaPropertiesWatcher(e){this.widget&&(this.widget.resultAreaProperties=e)}selectedTracesWatcher(e){this.widget&&(this.widget.selectedTraces=e)}selectOnCompleteDisabledWatcher(e){e!==void 0&&this.widget&&(this.widget.selectOnComplete=!e)}showGraphicsOnCompleteDisabledWatcher(e){e!==void 0&&this.widget&&(this.widget.showGraphicsOnComplete=!e)}showSelectionAttributesDisabledWatcher(e){e!==void 0&&this.widget&&(this.widget.showSelectionAttributes=!e)}positionWatcher(e){e!==void 0&&this.widget&&this.el.childElem&&this.view.ui.move(this.el.childElem,e)}viewWatcher(e){e!==void 0&&this.widget&&(this.widget.view=e)}_addContainer(){this.widget.container=this.el.childElem}async _addWatchers(){let{watch:e}=await d();c(this,e(()=>this.widget.disabled,s=>this.disabled=s))}_createParams(){let e={};return this.defaultGraphicColor&&(e.defaultGraphicColor=this.defaultGraphicColor),this.enableResultArea!==void 0&&(e.enableResultArea=this.enableResultArea),this.flags&&(e.flags=this.flags),this.gdbVersion&&(e.gdbVersion=this.gdbVersion),this.inputSettings&&(e.inputSettings=this.inputSettings),this.resultAreaProperties&&(e.resultAreaProperties=this.resultAreaProperties),this.selectedTraces&&(e.selectedTraces=this.selectedTraces),this.selectOnCompleteDisabled!==void 0&&(e.selectOnComplete=!this.selectOnCompleteDisabled),this.showGraphicsOnCompleteDisabled!==void 0&&(e.showGraphicsOnComplete=!this.showGraphicsOnCompleteDisabled),this.showSelectionAttributesDisabled!==void 0&&(e.showSelectionAttributes=!this.showSelectionAttributesDisabled),this.view&&(e.view=this.view),e}_proxyEvents(){this.widget.on("add-flag",e=>this.arcgisAddFlag.emit(e)),this.widget.on("add-flag-complete",e=>this.arcgisAddFlagComplete.emit(e)),this.widget.on("add-flag-error",e=>this.arcgisAddFlagError.emit(e)),this.widget.on("add-result-area",e=>this.arcgisAddResultArea.emit(e)),this.widget.on("remove-result-area",e=>this.arcgisRemoveResultArea.emit(e))}render(){return a`<div ${w(e=>this.el.childElem=e)}></div>`}};l("arcgis-utility-network-trace",i);export{i as ArcgisUtilityNetworkTrace};
|
@@ -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.15
|
5
5
|
*/
|
6
|
-
import{b as x}from"./
|
6
|
+
import{b as x}from"./P54QZUUD.js";import{a as $}from"./DFBZF24G.js";import{a as D,b as S}from"./HTAD7O3T.js";import"./5TO23PN5.js";import{T as B,ja as U,ka as M,ma as R}from"./U37UDLWM.js";import"./XS5ZVM5P.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"./HXS5SJ2U.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.15
|
5
5
|
*/
|
6
|
-
import{a as r}from"./
|
6
|
+
import{a as r}from"./TGFFGUJI.js";import"./5TO23PN5.js";import{W as d}from"./U37UDLWM.js";import"./XS5ZVM5P.js";import{B as a,G as h,o as t,p as e,y as s,z as o}from"./HXS5SJ2U.js";var l=e`arcgis-shadow-cast{display:block}`,c=r(d),i=class extends a{constructor(){super(...arguments),this.widget=c(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.discreteOptions=this.viewModel.discreteOptions,this.durationOptions=this.viewModel.durationOptions,this.endTimeOfDay=this.viewModel.endTimeOfDay,this.headingLevel=this.widget.headingLevel,this.hideColorPicker=this.widget.visibleElements.colorPicker,this.hideDatePicker=this.widget.visibleElements.datePicker,this.hideTimeRangeSlider=this.widget.visibleElements.timeRangeSlider,this.hideTimezone=this.widget.visibleElements.timezone,this.hideTooltip=this.widget.visibleElements.tooltip,this.hideVisualizationOptions=this.widget.visibleElements.visualizationOptions,this.icon=this.widget.icon,this.label=this.widget.label,this.position="bottom-left",this.startTimeOfDay=this.viewModel.startTimeOfDay,this.state=this.viewModel.state,this.thresholdOptions=this.viewModel.thresholdOptions,this.utcOffset=this.viewModel.utcOffset,this.visualizationType=this.viewModel.visualizationType,this.arcgisPropertyChange=t()("state"),this.arcgisReady=s()}static{this.properties={autoDestroyDisabled:5,discreteOptions:0,durationOptions:0,endTimeOfDay:9,headingLevel:9,hideColorPicker:5,hideDatePicker:5,hideTimeRangeSlider:5,hideTimezone:5,hideTooltip:5,hideVisualizationOptions:5,icon:1,label:1,position:1,referenceElement:1,startTimeOfDay:9,state:3,thresholdOptions:0,utcOffset:9,visualizationType:1}}static{this.shadowRootOptions=o}static{this.styles=l}async destroy(){await this.manager.destroy()}async getDuration(n){return this.widget?.viewModel.getDuration(n)}async start(){this.widget?.viewModel.start()}async stop(){this.widget?.viewModel.stop()}};h("arcgis-shadow-cast",i);export{i as ArcgisShadowCast};
|
@@ -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.15
|
5
5
|
*/
|
6
|
-
import{B as p,C as L,G as E,q as t,y as n,z as V}from"./
|
6
|
+
import{B as p,C as L,G as E,q as t,y as n,z as V}from"./HXS5SJ2U.js";var g=class extends p{constructor(){super(...arguments),this._arcgisGetVersions=e=>{this.arcgisGetVersions.emit(e.detail)},this._arcgisManageVersion=e=>{this.arcgisManageVersion.emit(e.detail)},this._arcgisNewVersion=e=>{this.arcgisNewVersion.emit(e.detail)},this._versionListEventListeners=new Map,this.arcgisFlowItemBack=n(),this.arcgisFlowItemClose=n(),this.arcgisGetVersions=n(),this.arcgisManageVersion=n(),this.arcgisNewVersion=n()}static{this.properties={serviceItemElementProps:0}}static{this.shadowRootOptions=V}disconnectedCallback(){super.disconnectedCallback(),this._versionList&&this._removeVersionListEventListeners(this._versionList)}_addVersionListEventListeners(e){e.addEventListener("arcgisGetVersions",this._arcgisGetVersions),this._versionListEventListeners.set("arcgisGetVersions",this._arcgisGetVersions),e.addEventListener("arcgisManageVersion",this._arcgisManageVersion),this._versionListEventListeners.set("arcgisManageVersion",this._arcgisManageVersion),e.addEventListener("arcgisNewVersion",this._arcgisNewVersion),this._versionListEventListeners.set("arcgisNewVersion",this._arcgisNewVersion)}_removeVersionListEventListeners(e){for(let[o,c]of this._versionListEventListeners)e.removeEventListener(o,c)}render(){let{serviceItemElementProps:{allowEditing:e,closable:o,currentUser:c,executionError:b,currentVersionIdentifier:l,flowElement:_,hasAdvEditingUte:f,heading:u,isVersionAdministrator:I,isVersioningApiAvailable:w,mode:$,pageSize:x,serviceName:r,serviceUrl:m,state:M,strings:d,versionInfos:a}}=this,{_versionList:s}=this,N=t`<calcite-combobox clear-disabled .label=${r} max-items=5 overlay-positioning=fixed selection-mode=single-persist @calciteComboboxChange=${i=>{let k=i.target,A=a.find(C=>C.versionIdentifier.guid===k.value);this.arcgisManageVersion.emit({actionType:"changeVersion",serviceUrl:m,versionInfo:A})}}>${a?a.map(i=>t`<calcite-combobox-item class=${L($==="dialog"?"":"calcite-combobox-item")} .selected=${l.guid===i.versionIdentifier.guid&&l.name===i.versionIdentifier.name} .textLabel=${i.versionIdentifier.name} .value=${i.versionIdentifier.guid}></calcite-combobox-item>`):void 0}</calcite-combobox>`,v,h;return e&&(v=t`<calcite-action .id=${`actionManageVersions_${r}`} icon=list scale=s slot=control text @click=${async()=>{s=document.createElement("arcgis-version-management-version-list"),s.versionListElementProps={closable:o,currentUser:c,currentVersionIdentifier:l,executionError:b,hasAdvEditingUte:f,heading:u,isVersionAdministrator:I,isVersioningApiAvailable:w,pageSize:x,serviceName:r,serviceUrl:m,state:M,strings:d,versionInfos:a},s.addEventListener("calciteFlowItemBack",i=>{i.preventDefault(),this.arcgisFlowItemBack.emit()}),s.addEventListener("calciteFlowItemClose",()=>{this.arcgisFlowItemClose.emit()}),this._addVersionListEventListeners(s),_?.append(s)}}></calcite-action>`,h=t`<calcite-tooltip overlay-positioning=fixed .referenceElement=${`actionManageVersions_${r}`}><span>${d.headers.manageVersions}</span></calcite-tooltip>`),t`<calcite-block open .heading=${r}>${N}${v}${h}</calcite-block>`}};E("arcgis-version-management-service-item",g);export{g as ArcgisVersionManagementServiceItem};
|
@@ -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.15
|
5
5
|
*/
|
6
6
|
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-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,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.15
|
5
5
|
*/
|
6
|
-
import{a as n}from"./
|
6
|
+
import{a as n}from"./TGFFGUJI.js";import"./5TO23PN5.js";import{_ as r}from"./U37UDLWM.js";import"./XS5ZVM5P.js";import{B as a,G as o,o as t,y as s,z as e}from"./HXS5SJ2U.js";var h=n(r),i=class extends a{constructor(){super(...arguments),this.widget=h(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.direction=this.widget.direction,this.dragLabel=this.widget.dragLabel,this.icon=this.widget.icon,this.label=this.widget.label,this.leadingLayers=this.widget.leadingLayers,this.position="manual",this.state=this.viewModel.state,this.swipePosition=this.widget.position,this.trailingLayers=this.widget.trailingLayers,this.arcgisPropertyChange=t()("state"),this.arcgisReady=s()}static{this.properties={autoDestroyDisabled:5,direction:1,dragLabel:1,icon:1,label:1,leadingLayers:0,position:1,referenceElement:1,state:3,swipePosition:9,trailingLayers:0}}static{this.shadowRootOptions=e}async destroy(){await this.manager.destroy()}};o("arcgis-swipe",i);export{i as ArcgisSwipe};
|
@@ -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.15
|
5
5
|
*/
|
6
|
-
import{a as v,b as m}from"./
|
6
|
+
import{a as v,b as m}from"./P54QZUUD.js";import{B as p,G as f,q as n,y as o}from"./HXS5SJ2U.js";var l=class extends p{constructor(){super(...arguments),this._filterInputElement=v(),this.currentPage=1,this.arcgisGetVersions=o(),this.arcgisManageVersion=o(),this.arcgisNewVersion=o()}static{this.properties={_filteredVersionInfos:16,currentPage:11,versionListElementProps:0}}load(){this._filteredVersionInfos=this.versionListElementProps.versionInfos}willUpdate(e){if(e.has("versionListElementProps")){let i=e.get("versionListElementProps"),t=this.versionListElementProps;i?.versionInfos!==t.versionInfos&&(this._filteredVersionInfos=t.versionInfos,this._filterInputElement.value&&this._handleFilterChange())}}updated(){this._filterInputElement.value?.setFocus()}_handleFilterChange(){let{versionListElementProps:{versionInfos:e}}=this,i=this._filterInputElement.value.value.toUpperCase();this._filteredVersionInfos=i===""?e:e.filter(t=>t.versionIdentifier.name.toUpperCase().includes(i)||t.versionIdentifier.guid.toUpperCase().includes(i)),this._filteredVersionInfos.length&&(this.currentPage=1)}_handleNoticeClosed(){this.versionListElementProps={...this.versionListElementProps,executionError:void 0}}_handlePaginationChange(e){this.currentPage=e.target.startItem}_getExecutionError(e){let{versionListElementProps:{strings:{executionErrors:i}}}=this;switch(e){case"no-advanced-editing-user-type-extension":return i.noAdvancedEditingUserTypeExtension;case"no-feature-service-found":return i.noFeatureServiceFound;case"no-valid-enterprise-version":return i.notValidEnterpriseVersion;case"no-valid-version-name":return i.invalidVersionName;default:return e}}_paginate(e,i,t){return e.slice((t-1)*i,t*i)}render(){let{currentPage:e,versionListElementProps:{closable:i,currentUser:t,currentVersionIdentifier:c,executionError:h,hasAdvEditingUte:d,heading:u,isVersionAdministrator:V,isVersioningApiAvailable:g,pageSize:s,serviceName:I,serviceUrl:a,state:_,strings:{headers:E},strings:r,versionInfos:$}}=this,P=n`<calcite-block .heading=${E.currentVersion} .description=${c.name} overlay-positioning=fixed></calcite-block>`,x=n`<calcite-action id=actionRefreshVersions icon=refresh text @click=${()=>{this.arcgisGetVersions.emit({serviceUrl:a})}} slot=header-actions-end><calcite-tooltip overlay-positioning=fixed reference-element=actionRefreshVersions><span>${r.actions.refreshVersions}</span></calcite-tooltip></calcite-action>`;this._paginatedVersionInfos=this._filteredVersionInfos.length>s?this._paginate(this._filteredVersionInfos,s,e):this._filteredVersionInfos;let b=this._filteredVersionInfos.length>s?n`<calcite-pagination @calcitePaginationChange=${this._handlePaginationChange} page-size=1 .startItem=${e} .totalItems=${Math.ceil(this._filteredVersionInfos.length/s)}></calcite-pagination>`:void 0,C=this._paginate(this._paginatedVersionInfos,s,1).map(k=>n`<arcgis-version-management-version-item .versionItemElementProps=${{currentUser:t,currentVersionIdentifier:c,isCurrentVersionCard:!1,hasAdvEditingUte:d,isVersionAdministrator:V,isVersioningApiAvailable:g,serviceUrl:a,strings:r,versionInfo:k}}></arcgis-version-management-version-item>`),U=$.length>s?n`<calcite-block heading open><calcite-input-text clearable icon=search @calciteInputTextInput=${this._handleFilterChange} .placeholder=${r.actions.searchVersions} ${m(this._filterInputElement)}></calcite-input-text></calcite-block>`:void 0,L=n`<calcite-list>${C}</calcite-list>`,w=g&&d?n`<calcite-fab appearance=outline-fill slot=fab text-enabled .text=${r.actions.newVersion} @click=${()=>{this.arcgisNewVersion.emit({serviceUrl:a})}}></calcite-fab>`:void 0,A=h?n`<calcite-notice @calciteNoticeClose=${this._handleNoticeClosed} class="notice" closable kind=warning open scale=s slot=footer width=full><div slot=message>${this._getExecutionError(h)}</div></calcite-notice>`:void 0;return n`<calcite-flow-item .closable=${i} .description=${I} .heading=${u}><calcite-panel .loading=${_==="executing"}>${P}<calcite-panel .heading=${this._filteredVersionInfos.length?`${r.headers.manageVersions} (${this._filteredVersionInfos.length})`:r.headers.manageVersions}>${x}${U}${L}${w}</calcite-panel>${b}${A}</calcite-panel></calcite-flow-item>`}};f("arcgis-version-management-version-list",l);export{l as ArcgisVersionManagementVersionList};
|
@@ -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.15
|
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"./HXS5SJ2U.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.15
|
5
5
|
*/
|
6
|
-
import{a as l}from"./
|
6
|
+
import{a as l}from"./TGFFGUJI.js";import"./5TO23PN5.js";import{B as d}from"./U37UDLWM.js";import"./XS5ZVM5P.js";import{B as o,G as h,o as i,p as s,y as a,z as n}from"./HXS5SJ2U.js";var c=s`arcgis-feature{display:block}`,p=l(d),e=class extends o{constructor(){super(...arguments),this.widget=p(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.defaultPopupTemplateEnabled=this.widget.defaultPopupTemplateEnabled,this.graphic=this.widget.graphic,this.headingLevel=this.widget.headingLevel,this.hideContentAttachments=this.widget.visibleElements.content.attachments,this.hideContentExpression=this.widget.visibleElements.content.expression,this.hideContentFields=this.widget.visibleElements.content.fields,this.hideContentMedia=this.widget.visibleElements.content.media,this.hideContentText=this.widget.visibleElements.content.text,this.hideLastEditInfo=this.widget.visibleElements.lastEditedInfo,this.hideTitle=this.widget.visibleElements.title,this.icon=this.widget.icon,this.label=this.widget.label,this.location=this.viewModel.location,this.map=this.widget.map,this.position="bottom-left",this.spatialReference=this.widget.spatialReference,this.state=this.viewModel.state,this.arcgisPropertyChange=i()("state"),this.arcgisReady=a()}static{this.properties={autoDestroyDisabled:5,defaultPopupTemplateEnabled:5,graphic:0,headingLevel:9,hideContentAttachments:5,hideContentExpression:5,hideContentFields:5,hideContentMedia:5,hideContentText:5,hideLastEditInfo:5,hideTitle:5,icon:1,label:1,location:0,map:0,position:1,referenceElement:1,spatialReference:0,state:3}}static{this.shadowRootOptions=n}static{this.styles=c}async destroy(){await this.manager.destroy()}async nextMedia(t){this.widget?.nextMedia(t)}async previousMedia(t){this.widget?.previousMedia(t)}async setActiveMedia(t,r){this.widget?.setActiveMedia(t,r)}};h("arcgis-feature",e);export{e as ArcgisFeature};
|
@@ -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.15
|
5
5
|
*/
|
6
|
-
import{a as d}from"./
|
6
|
+
import{a as d}from"./TGFFGUJI.js";import"./5TO23PN5.js";import{ha as h}from"./U37UDLWM.js";import"./XS5ZVM5P.js";import{B as o,G as r,o as e,p as s,y as i,z as a}from"./HXS5SJ2U.js";var l=s`arcgis-weather{display:block}`,n=d(h),t=class extends o{constructor(){super(...arguments),this.widget=n(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.headingLevel=this.widget.headingLevel,this.hideHeader=this.widget.visibleElements.header,this.icon=this.widget.icon,this.label=this.widget.label,this.position="bottom-left",this.state=this.viewModel.state,this.arcgisPropertyChange=e()("state"),this.arcgisReady=i()}static{this.properties={autoDestroyDisabled:5,headingLevel:9,hideHeader:5,icon:1,label:1,position:1,referenceElement:1,state:3}}static{this.shadowRootOptions=a}static{this.styles=l}async destroy(){await this.manager.destroy()}};r("arcgis-weather",t);export{t as ArcgisWeather};
|
@@ -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.15
|
5
5
|
*/
|
6
|
-
import{a as c}from"./
|
6
|
+
import{a as c}from"./TGFFGUJI.js";import"./5TO23PN5.js";import{A as n}from"./U37UDLWM.js";import"./XS5ZVM5P.js";import{B as o,G as a,p as e,y as i,z as s}from"./HXS5SJ2U.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};
|
@@ -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.15
|
5
5
|
*/
|
6
|
-
import{a as c}from"./
|
6
|
+
import{a as c}from"./TGFFGUJI.js";import{d as t}from"./5TO23PN5.js";import{Z as m}from"./U37UDLWM.js";import"./XS5ZVM5P.js";import{B as l,G as g,o as s,p as a,y as n,z as h}from"./HXS5SJ2U.js";var r=a`arcgis-slider{min-width:200px;min-height:25px}`,d=c(m),i=class extends l{constructor(){super(...arguments),this.widget=d(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.draggableSegmentsEnabled=this.widget.draggableSegmentsEnabled,this.effectiveMax=this.widget.effectiveMax,this.effectiveMin=this.widget.effectiveMin,this.effectiveSegmentElements=this.widget.effectiveSegmentElements,this.icon=this.widget.icon,this.label=this.widget.label,this.labelElements=this.widget.labelElements,this.labelInputsEnabled=this.widget.labelInputsEnabled,this.labels=this.widget.labels,this.layout=this.widget.layout,this.max=this.widget.max,this.maxLabelElement=this.widget.maxLabelElement,this.min=this.widget.min,this.minLabelElement=this.widget.minLabelElement,this.position="bottom-left",this.precision=this.widget.precision,this.rangeLabelInputsEnabled=this.widget.rangeLabelInputsEnabled,this.segmentElements=this.widget.segmentElements,this.snapOnClickEnabled=this.widget.snapOnClickEnabled,this.state=this.widget.state,this.steps=this.widget.steps,this.syncedSegmentsEnabled=this.widget.syncedSegmentsEnabled,this.thumbElements=this.widget.thumbElements,this.thumbsConstrained=this.widget.thumbsConstrained,this.tickConfigs=this.widget.tickConfigs,this.tickElements=this.widget.tickElements,this.trackElement=this.widget.trackElement,this.values=this.widget.values,this.arcgisMaxChange=t(()=>this.widget,"max-change"),this.arcgisMaxClick=t(()=>this.widget,"max-click"),this.arcgisMinChange=t(()=>this.widget,"min-change"),this.arcgisMinClick=t(()=>this.widget,"min-click"),this.arcgisPropertyChange=s()("state"),this.arcgisReady=n(),this.arcgisSegmentClick=t(()=>this.widget,"segment-click"),this.arcgisSegmentDrag=t(()=>this.widget,"segment-drag"),this.arcgisThumbChange=t(()=>this.widget,"thumb-change"),this.arcgisThumbClick=t(()=>this.widget,"thumb-click"),this.arcgisThumbDrag=t(()=>this.widget,"thumb-drag"),this.arcgisTickClick=t(()=>this.widget,"tick-click"),this.arcgisTrackClick=t(()=>this.widget,"track-click")}static{this.properties={autoDestroyDisabled:5,draggableSegmentsEnabled:5,effectiveMax:9,effectiveMin:9,effectiveSegmentElements:0,icon:1,label:1,labelElements:0,labelInputsEnabled:5,labels:0,layout:1,max:9,maxLabelElement:0,min:9,minLabelElement:0,position:1,precision:9,rangeLabelInputsEnabled:5,referenceElement:1,segmentElements:0,snapOnClickEnabled:5,state:3,steps:[9,{converter:e=>typeof e=="string"?e.split(",").map(Number):e}],syncedSegmentsEnabled:5,thumbElements:0,thumbsConstrained:5,tickConfigs:0,tickElements:0,trackElement:0,values:[1,{converter:e=>typeof e=="string"?e.split(",").map(Number):e}]}}static{this.shadowRootOptions=h}static{this.styles=r}async destroy(){await this.manager.destroy()}};g("arcgis-slider",i);export{i as ArcgisSlider};
|