@arcgis/map-components 4.33.0-next.20 → 4.33.0-next.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/arcgis-map-components/{4D444JP2.js → 2ZYSSQPU.js} +2 -2
- package/dist/arcgis-map-components/{25HKJ7G5.js → 3B7S3A3T.js} +2 -2
- package/dist/arcgis-map-components/{L4RIWNBW.js → 3XUJY5LN.js} +2 -2
- package/dist/arcgis-map-components/{4XH4LUP6.js → 3ZCKVBYY.js} +2 -2
- package/dist/arcgis-map-components/{FFWTSNRJ.js → 4GMBMMB6.js} +2 -2
- package/dist/arcgis-map-components/{WYZSFCOU.js → 4U7AHGNX.js} +2 -2
- package/dist/arcgis-map-components/{FNDT3RL6.js → 4US3LGDD.js} +2 -2
- package/dist/arcgis-map-components/{EUL6KVEH.js → 5DXMXSQA.js} +2 -2
- package/dist/arcgis-map-components/{7YMXAFKD.js → 5H6I5J5K.js} +2 -2
- package/dist/arcgis-map-components/{QPVMIH5Q.js → 5I575NM5.js} +2 -2
- package/dist/arcgis-map-components/{6FEFU5AW.js → 6DW36IHU.js} +2 -2
- package/dist/arcgis-map-components/{6AIL6TTZ.js → 6L3EAMLF.js} +2 -2
- package/dist/arcgis-map-components/{NUVCRJGN.js → 6YHLI5BQ.js} +2 -2
- package/dist/arcgis-map-components/{KC2NJNXK.js → 7ST634F3.js} +2 -2
- package/dist/arcgis-map-components/{MKTGSF42.js → A53PTAT3.js} +2 -2
- package/dist/arcgis-map-components/{HRNTEQQR.js → AK7YPI53.js} +2 -2
- package/dist/arcgis-map-components/{E6XGY64O.js → ATJVKOCH.js} +2 -2
- package/dist/arcgis-map-components/{XY3WWRRD.js → BTU6NGHK.js} +2 -2
- package/dist/arcgis-map-components/{J36WLA2T.js → BXHLHYHZ.js} +2 -2
- package/dist/arcgis-map-components/{DQUYPI5D.js → CK46PPNS.js} +2 -2
- package/dist/arcgis-map-components/{UQWZVMWU.js → CMXHVDLU.js} +2 -2
- package/dist/arcgis-map-components/{NAZNOQR7.js → CZVTJFGM.js} +2 -2
- package/dist/arcgis-map-components/{DJ7SRSVK.js → DYQK4E74.js} +2 -2
- package/dist/arcgis-map-components/{SR425VRE.js → DZ3J2RHM.js} +2 -2
- package/dist/arcgis-map-components/{AOXBM7WU.js → E6XWTILM.js} +2 -2
- package/dist/arcgis-map-components/{MXTMFJSR.js → EB6CML5U.js} +2 -2
- package/dist/arcgis-map-components/{U525ZR4R.js → EB7KYHWF.js} +2 -2
- package/dist/arcgis-map-components/{5NJRTGW7.js → EKOQLGTL.js} +2 -2
- package/dist/arcgis-map-components/{BS7JSSDE.js → EN2XQ7RN.js} +2 -2
- package/dist/arcgis-map-components/{TGHA4PKD.js → FLPU6RNE.js} +2 -2
- package/dist/arcgis-map-components/{3ZMUV653.js → FOBNRWZS.js} +2 -2
- package/dist/arcgis-map-components/{KVTTYGON.js → FRJLIYBH.js} +2 -2
- package/dist/arcgis-map-components/{U7LCDL4O.js → G5V2XYQE.js} +2 -2
- package/dist/arcgis-map-components/{C2HPI2YA.js → G6CGVGXG.js} +2 -2
- package/dist/arcgis-map-components/{SDZK6C4W.js → GADW2L73.js} +2 -2
- package/dist/arcgis-map-components/{ZCXZ7R4Z.js → HB75XBYV.js} +2 -2
- package/dist/arcgis-map-components/{MIBIYEOJ.js → HI7MIT4J.js} +2 -2
- package/dist/arcgis-map-components/{F4W5VAO3.js → I45U6ELM.js} +2 -2
- package/dist/arcgis-map-components/{IECSQDB7.js → JCEHRVEA.js} +2 -2
- package/dist/arcgis-map-components/{WNFHHIGR.js → JM464NHJ.js} +2 -2
- package/dist/arcgis-map-components/{OOQO2UKN.js → JN54XSAB.js} +2 -2
- package/dist/arcgis-map-components/{EOZWIBOU.js → K7IDPYK5.js} +2 -2
- package/dist/arcgis-map-components/{BYYBUXEZ.js → KD43VN77.js} +2 -2
- package/dist/arcgis-map-components/{B2FEF2LH.js → LACPFEXG.js} +2 -2
- package/dist/arcgis-map-components/{ZZBULJVT.js → LKLKFSG5.js} +1 -1
- package/dist/arcgis-map-components/{Q6XYVCCQ.js → LPT6CDYF.js} +2 -2
- package/dist/arcgis-map-components/{JVYLS36J.js → LQLME3NQ.js} +1 -1
- package/dist/arcgis-map-components/{XABSSCHM.js → MGRSV6P5.js} +2 -2
- package/dist/arcgis-map-components/{STRYNKZN.js → MIRRCVJ6.js} +1 -1
- package/dist/arcgis-map-components/{LVLNOQIG.js → N7T24K5G.js} +2 -2
- package/dist/arcgis-map-components/{BCFJ2KAH.js → NHNM64BW.js} +2 -2
- package/dist/arcgis-map-components/{XKRFMQ5Q.js → OEY36JB6.js} +2 -2
- package/dist/arcgis-map-components/{ZOEMDVFF.js → OH2QZKQA.js} +2 -2
- package/dist/arcgis-map-components/{V7JESENX.js → OPBH2EPL.js} +2 -2
- package/dist/arcgis-map-components/{744BB7YR.js → PTCUIFAF.js} +2 -2
- package/dist/arcgis-map-components/{T2G7Z3WZ.js → SMJVCE3V.js} +2 -2
- package/dist/arcgis-map-components/{C7SO4GRX.js → SRLRYRW5.js} +2 -2
- package/dist/arcgis-map-components/{KTN3B4FR.js → SRNHQ34Y.js} +2 -2
- package/dist/arcgis-map-components/{D4I5XSTC.js → STSORLOJ.js} +2 -2
- package/dist/arcgis-map-components/{F5LK2727.js → SXZH45WV.js} +2 -2
- package/dist/arcgis-map-components/{BPS5YUZ3.js → TQM6IZCE.js} +2 -2
- package/dist/arcgis-map-components/{EYIHDAVZ.js → U3U6KY7Q.js} +2 -2
- package/dist/arcgis-map-components/{7CTWJVAX.js → UAEU5BVV.js} +2 -2
- package/dist/arcgis-map-components/{UT632IX2.js → UJFVOLRU.js} +2 -2
- package/dist/arcgis-map-components/{QA433F67.js → UOML4XNC.js} +2 -2
- package/dist/arcgis-map-components/{T2K4CDH5.js → UZIXG5PB.js} +1 -1
- package/dist/arcgis-map-components/{HHTB3A25.js → VO47GHKQ.js} +2 -2
- package/dist/arcgis-map-components/{SVIROSYS.js → VWPQFSRX.js} +2 -2
- package/dist/arcgis-map-components/{3MWXBWWJ.js → W2TGNSPV.js} +2 -2
- package/dist/arcgis-map-components/{3O573OUP.js → WSWOZYVY.js} +2 -2
- package/dist/arcgis-map-components/{D3M6AUHX.js → WZZ3QJPP.js} +2 -2
- package/dist/arcgis-map-components/{SI3LEWV4.js → XZ3S2U5W.js} +2 -2
- package/dist/arcgis-map-components/{WZTMUDVI.js → ZNQIHP6C.js} +2 -2
- package/dist/arcgis-map-components/{HP5QHUB6.js → ZP7EQPQR.js} +2 -2
- package/dist/arcgis-map-components/arcgis-map-components.esm.js +2 -2
- package/dist/chunks/basemap-gallery-item.js +1 -1
- package/dist/chunks/component-utils.js +1 -1
- package/dist/chunks/disconnected.js +1 -1
- package/dist/chunks/globalCss.js +1 -1
- package/dist/chunks/legacyIcon.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/useView.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/components/basemap-gallery-item/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-link-chart/customElement.js +1 -1
- package/dist/components/arcgis-link-chart-layout-switcher/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,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.
|
|
4
|
-
import{a as d}from"./
|
|
3
|
+
v4.33.0-next.21 */
|
|
4
|
+
import{a as d}from"./EB7KYHWF.js";import{d as t}from"./NHNM64BW.js";import"./LQLME3NQ.js";import{A as a,B as h,G as l,g as e,q as s,r as o}from"./MIRRCVJ6.js";var r=await $arcgis.l("widgets/Bookmarks");var n=o`@layer{arcgis-bookmarks{display:block}}`,m=d(r),i=class extends h{constructor(){super(...arguments),this.widget=m(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.bookmarks=this.widget.bookmarks,this.defaultCreateOptions=this.widget.defaultCreateOptions,this.defaultEditOptions=this.widget.defaultEditOptions,this.disabled=this.widget.disabled,this.dragEnabled=this.widget.dragEnabled,this.filterPlaceholder=this.widget.filterPlaceholder,this.filterText=this.widget.filterText,this.hideFlow=this.widget.visibleElements.flow,this.hideThumbnail=this.widget.visibleElements.thumbnail,this.hideTime=this.widget.visibleElements.time,this.icon=this.widget.icon,this.label=this.widget.label,this.position="bottom-left",this.showAddBookmarkButton=this.widget.visibleElements.addBookmarkButton,this.showCloseButton=this.widget.visibleElements.closeButton,this.showCollapseButton=this.widget.visibleElements.collapseButton,this.showEditBookmarkButton=this.widget.visibleElements.editBookmarkButton,this.showFilter=this.widget.visibleElements.filter,this.showHeading=this.widget.visibleElements.heading,this.state=this.viewModel.state,this.arcgisEdit=t(()=>this.widget,"bookmark-edit"),this.arcgisPropertyChange=s()("state"),this.arcgisReady=a(),this.arcgisSelect=t(()=>this.widget,"bookmark-select")}static{this.properties={autoDestroyDisabled:5,bookmarks:0,defaultCreateOptions:0,defaultEditOptions:0,disabled:7,dragEnabled:5,filterPlaceholder:1,filterText:1,hideFlow:5,hideThumbnail:5,hideTime:5,icon:1,label:1,position:1,referenceElement:1,showAddBookmarkButton:5,showCloseButton:5,showCollapseButton:5,showEditBookmarkButton:5,showFilter:5,showHeading:5,state:3}}static{this.shadowRootOptions=e}static{this.styles=n}async destroy(){await this.manager.destroy()}};l("arcgis-bookmarks",i);export{i as ArcgisBookmarks};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.
|
|
4
|
-
import{b as y,c as a}from"./
|
|
3
|
+
v4.33.0-next.21 */
|
|
4
|
+
import{b as y,c as a}from"./NHNM64BW.js";import{b as r}from"./LQLME3NQ.js";import{j as h,k as w,o as _}from"./MIRRCVJ6.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,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.
|
|
4
|
-
import{a,c,d as t}from"./
|
|
3
|
+
v4.33.0-next.21 */
|
|
4
|
+
import{a,c,d as t}from"./NHNM64BW.js";import{f as v,g as r}from"./LQLME3NQ.js";import{A as s,B as w,G as p,g as o,r as n}from"./MIRRCVJ6.js";var[{watch:d},y,u]=await $arcgis.l(["core/reactiveUtils","views/MapView","WebMap"]);var b=n`@layer{arcgis-map{display:block;height:100%;.esri-view{height:100%;width:100%}}}`,V=a(u,{}),_=a(y,{}),h=class extends w{constructor(){super(...arguments),this._center=void 0,this._extent=void 0,this._itemId=void 0,this._scale=void 0,this._viewpoint=void 0,this._zoom=void 0,this._map=V(this,{editConstructorProperties:this._editMapProperties}),this.view=_(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.displayFilterDisabled=this.view.displayFilterEnabled,this.fatalError=this.view.fatalError,this.floors=this.view.floors,this.graphics=this.view.graphics,this.ground=this._map.ground,this.highlights=this.view.highlights,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,"layerview-create"),this.arcgisViewLayerviewCreateError=t(()=>this.view,"layerview-create-error"),this.arcgisViewLayerviewDestroy=t(()=>this.view,"layerview-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={_map:16,view:32,allLayerViews:0,autoDestroyDisabled:5,background:0,basemap:1,basemapView:0,center:1,constraints:0,displayFilterDisabled:5,extent:0,fatalError:0,floors:0,gamepad:32,graphics:0,ground:1,highlights:0,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:4,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=o}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&&c.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){this.ready&&v(this.viewpoint,i)&&(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 addTable(i){this.map?.tables.add(i)}async addTables(i,e){this.map?.tables.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.append(this.el.childElem),this.view.container??=this.el.childElem}loaded(){this.manager.onLifecycle(()=>[d(()=>this.view.stationary,()=>{this.arcgisViewChange.emit()},{initial:!0}),d(()=>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,...l}=i;e||(i=l);let{ground:m,...g}=i;return m||(i=g),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}};p("arcgis-map",h);export{h as ArcgisMap};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.
|
|
4
|
-
import{a as n}from"./
|
|
3
|
+
v4.33.0-next.21 */
|
|
4
|
+
import{a as n}from"./EB7KYHWF.js";import"./NHNM64BW.js";import"./LQLME3NQ.js";import{A as a,B as o,G as r,g as s,q as i,r as e}from"./MIRRCVJ6.js";var h=await $arcgis.l("widgets/AreaMeasurement2D");var p=e`@layer{arcgis-area-measurement-2d{display:block}}`,m=n(h),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.snappingOptions=this.widget.snappingOptions,this.state=this.viewModel.state,this.unit=this.widget.unit,this.unitOptions=this.widget.unitOptions,this.arcgisPropertyChange=i()("state"),this.arcgisReady=a()}static{this.properties={autoDestroyDisabled:5,icon:1,label:1,position:1,referenceElement:1,snappingOptions:0,state:3,unit:1,unitOptions:0}}static{this.shadowRootOptions=s}static{this.styles=p}async destroy(){await this.manager.destroy()}};r("arcgis-area-measurement-2d",t);export{t as ArcgisAreaMeasurement2d};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.
|
|
4
|
-
import{b as R}from"./
|
|
3
|
+
v4.33.0-next.21 */
|
|
4
|
+
import{b as R}from"./ZNQIHP6C.js";import{a as w}from"./LPT6CDYF.js";import{a as d}from"./LKLKFSG5.js";import{a as f}from"./FOBNRWZS.js";import"./NHNM64BW.js";import"./LQLME3NQ.js";import{A as b,B as v,C as a,D as _,E as c,G as $,b as u,g as p,q as m,r as g,s as o}from"./MIRRCVJ6.js";var[{watch:x},y]=await $arcgis.l(["core/reactiveUtils","widgets/DirectionalPad/DirectionalPadViewModel"]);var C=[-45,0,45,-90,90,-135,180,135],M={0:{label:"north",iconName:"chevron-up"},45:{label:"northEast",iconName:"chevron-up-right"},90:{label:"east",iconName:"chevron-right"},135:{label:"southEast",iconName:"chevron-down-right"},180:{label:"south",iconName:"chevron-down"},"-135":{label:"southWest",iconName:"chevron-down-left"},"-90":{label:"west",iconName:"chevron-left"},"-45":{label:"northWest",iconName:"chevron-up-left"}},n="arcgis-directional-pad",s={base:n,buttonsContainer:`${n}__buttons-container`,button:`${n}__button`,compassButton:`${n}__compass`,rotationContainer:`${n}__rotation-container`,rotationSliderContainer:`${n}__rotation-slider-container`,rotationReset:`${n}__rotation-reset-button`,error:`${n}__error`},S=g`@layer{.arcgis-directional-pad{display:flex;flex-direction:column;gap:var(--calcite-spacing-sm);outline:none;box-shadow:none!important;background:transparent;user-select:none;calcite-action-pad{display:contents}calcite-action-group{touch-action:none}calcite-action{aspect-ratio:1}}.arcgis-directional-pad__buttons-container{--calcite-color-background: transparent;--calcite-action-group-gap: 0;--calcite-action-group-padding: 0;calcite-action{--calcite-color-focus: var(--calcite-color-foreground-3)}calcite-action:not([active]){--calcite-action-background-color-press: var(--calcite-color-foreground-1)}calcite-action[active]{--calcite-action-background-color: var(--calcite-color-foreground-3)}calcite-icon{transform:var(--rotation, unset)}@media (hover: none){calcite-action{--calcite-action-background-color-hover: var(--calcite-color-foreground-1);--calcite-action-text-color-press: var(--calcite-color-text-3)}}}.arcgis-directional-pad__rotation-container{display:block;width:100%;calcite-action{flex:.3}}.arcgis-directional-pad__rotation-slider-container{display:flex;flex:1;align-items:center;calcite-slider{flex:1;padding-inline:var(--calcite-spacing-xxs)}}}`;function B(r){let{x:t,y:e,width:i,height:l}=r.getBoundingClientRect();return{x:t+i/2,y:e+l/2}}function E(r){return r?.spatialReference?.isWebMercator||r?.spatialReference?.isGeographic||!1}var k=w(y),h=class extends v{constructor(){super(...arguments),this.messages=f({}),this._onContextMenu=t=>t.preventDefault(),this._buttons={},this.viewModel=k(this),this.angle=this.viewModel.angle,this.rotation=this.viewModel.rotation,this.autoDestroyDisabled=!1,this.disabled=this.viewModel.disabled,this.hideDirectionalButtons=!1,this.icon="move",this.position="bottom-left",this.showRotationResetButton=!1,this.showRotationSlider=!1,this.state=this.viewModel.state,this.visualScale="s",this.arcgisPropertyChange=m()("state"),this.arcgisReady=b()}static{this.properties={_rotationEnabled:16,angle:16,rotation:16,autoDestroyDisabled:5,disabled:5,hideDirectionalButtons:5,icon:3,label:1,messageOverrides:0,position:3,referenceElement:1,showRotationResetButton:5,showRotationSlider:5,state:3,visualScale:1}}static{this.shadowRootOptions=p}static{this.styles=S}get _rotationEnabled(){return this.view?.ready?this.view.constraints.rotationEnabled??!1:!0}async destroy(){await this.manager.destroy()}loaded(){this.manager.onLifecycle(()=>[x(()=>this.viewModel.angle,()=>{this._buttonsContainer?.contains(document.activeElement)&&(this.viewModel.angle==null?this.el.childElem?.focus():u(this._buttons[this.viewModel.angle]))})])}_rotateIcon(t){return{"--rotation":`rotate(${t}deg)`}}_setButtonContainerRef(t){t!==void 0?(this._buttonsContainer=t,queueMicrotask(()=>{this._buttons=Object.fromEntries(Array.from(t.children,e=>[Number.parseInt(e.getAttribute("data-angle")??""),e]))})):(this._buttonsContainer=void 0,this._buttons={})}_onButtonPointerDown(t){if(this._buttonsContainer===void 0)return;t.composedPath().find(i=>i.hasPointerCapture?.(t.pointerId))?.releasePointerCapture(t.pointerId);let e=B(this._buttonsContainer);this.viewModel.beginFollowingPointer(t,e)}_onSliderInput({currentTarget:t}){typeof t.value=="number"&&(this.viewModel.rotation=t.value)}_onRotationReset(){this.viewModel.rotation=0}_onClick(t){this.viewModel.moveOnce(t)}render(){let{label:t,disabled:e}=this,i=this.view==null||this.view.type==="2d";return o`<div .ariaLabel=${t??void 0} class=${a({[s.base]:!0,[d.widget]:!0,[d.disabled]:e})} tabindex=-1>${i?this._renderContent():this._renderUnsupportedMessage()}</div>`}_renderUnsupportedMessage(){return o`<section class=${a(s.error)}><p>${this.messages.unsupported}</p></section>`}_renderContent(){return[this.hideDirectionalButtons?void 0:this._renderDirectionalButtons(),this.showRotationSlider?this._renderRotation():void 0]}_renderDirectionalButtons(){return o`<calcite-action-pad expand-disabled layout=grid><calcite-action-group class=${a(s.buttonsContainer)} dir=ltr @contextmenu=${{handleEvent:this._onContextMenu,capture:!0}} ${R(this._setButtonContainerRef)}>${C.slice(0,4).map(this._renderButton,this)}${this._renderCompass()}${C.slice(4).map(this._renderButton,this)}</calcite-action-group></calcite-action-pad>`}_renderButton(t){let{label:e,iconName:i}=M[t],l=this.messages[e];return o`<calcite-action .active=${this.angle===t} alignment=center class=${a(s.button)} data-angle=${t??c} .disabled=${this.disabled} @click=${this._onClick.bind(this,t)} @pointerdown=${this._onButtonPointerDown} .scale=${this.visualScale} .text=${l??""} title=${l??c}><calcite-icon .icon=${i} .scale=${this.visualScale}></calcite-icon></calcite-action>`}_renderCompass(){let t=this.disabled||E(this.view)?"compass-needle":"arrow-up",e=this.rotation===0,i=this.messages.resetHeading;return o`<calcite-action alignment=center class=${a(s.compassButton)} .disabled=${this.disabled||!this._rotationEnabled||e} @click=${this._onRotationReset} .scale=${this.visualScale} style=${_(this._rotateIcon(this.rotation))} .text=${i??""} title=${i??c}>${!e&&o`<calcite-icon .icon=${t} .scale=${this.visualScale}></calcite-icon>`||""}</calcite-action>`}_renderRotation(){return o`<calcite-action-pad expand-disabled layout=horizontal><calcite-action-group class=${a(s.rotationContainer)}>${this.showRotationResetButton?this._renderRotationResetButton():null}${this._renderRotationSlider()}</calcite-action-group></calcite-action-pad>`}_renderRotationResetButton(){let t=this.messages.resetHeading;return o`<calcite-action alignment=center class=${a(s.rotationReset)} .disabled=${this.disabled||!this._rotationEnabled} @click=${this._onRotationReset} .scale=${this.visualScale} .text=${t??""} title=${t??c}><calcite-icon flip-rtl icon=rotate .scale=${this.visualScale}></calcite-icon></calcite-action>`}_renderRotationSlider(){return o`<div class=${a(s.rotationSliderContainer)}><calcite-slider .ariaLabel=${this.messages.heading} .disabled=${this.disabled||!this._rotationEnabled} label-handles max=360 min=0 required .scale=${this.visualScale} .value=${Math.round(this.rotation)} @calciteSliderInput=${this._onSliderInput}></calcite-slider></div>`}};$("arcgis-directional-pad",h);export{h as ArcgisDirectionalPad};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.
|
|
4
|
-
import{b as i}from"./
|
|
3
|
+
v4.33.0-next.21 */
|
|
4
|
+
import{b as i}from"./LQLME3NQ.js";import{H as m,i as c,j as s,o as h,p as l}from"./MIRRCVJ6.js";var[{signal:v},d]=await $arcgis.l(["applications/Components/reactiveUtils","core/reactiveUtils"]);var _=l(m),g=r=>w(r),n=class extends c{constructor(e){super(e),this._view$=v(void 0),this._viewDestroyHandle=void 0,this._arcgisReadyEmitted=!1;let{el:t}=e,a=t.view;this.setProvisionalExports(void 0),Object.defineProperty(t,"view",{get:()=>this._view$.value,set:o=>{if(this.exports===o)return;let p=t.view;this._view$.value=o,this.exports=o,this.component.requestUpdate("view",p),!this._arcgisReadyEmitted&&o!=null&&(this._arcgisReadyEmitted=!0,this.component.arcgisReady.emit())},configurable:!0,enumerable:!0}),e!==t&&Object.defineProperty(e,"view",{get:()=>t.view,set:o=>{t.view=o}}),queueMicrotask(()=>{a&&(t.view=a)})}hostConnected(){this._viewDestroyHandle??=d.when(()=>this._view$.value?.destroyed,()=>void this.component.destroy?.().catch(console.error),{sync:!0}),this.component.manager.loadedCalled&&i(this.component)}hostLoad(){this.component.manager.destroyed||this._watchMetaProperties()}hostLoaded(){let{el:e}=this.component,t=e.shadowRoot?.firstElementChild??e.firstElementChild??void 0;e.childElem=t??e.childElem,e.isConnected&&i(this.component)}hostDisconnected(){typeof this.component.el.childElem=="object"&&this._view$.value?.ui?.remove(this.component.el.childElem)}hostDestroy(){this._viewDestroyHandle?.remove()}_watchMetaProperties(){s(this.component,"position",e=>{this.component.el.childElem!=null&&typeof e=="string"&&i(this.component)}),s(this.component,"referenceElement",()=>i(this.component))}},w=h(n);export{_ as a,g as b,n as c};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.
|
|
4
|
-
import{a as y}from"./
|
|
3
|
+
v4.33.0-next.21 */
|
|
4
|
+
import{a as y}from"./EB7KYHWF.js";import"./NHNM64BW.js";import{d as w}from"./LQLME3NQ.js";import{A as d,B as n,G as l,g as o,q as r,r as h}from"./MIRRCVJ6.js";var[m,u]=await $arcgis.l(["layers/RouteLayer","widgets/Directions"]);var c=h`@layer{arcgis-directions{display:block}}`,g=y(u),i="map-components:arcgis-directions",s=class extends n{constructor(){super(...arguments),this.widget=g(this),this.viewModel=this.widget.viewModel,this.apiKey=this.widget.apiKey,this.autoDestroyDisabled=!1,this.headingLevel=this.widget.headingLevel,this.hideLayerDetails=this.widget.visibleElements.layerDetails,this.hideSaveAsButton=this.widget.visibleElements.saveAsButton,this.hideSaveButton=this.widget.visibleElements.saveButton,this.icon=this.widget.icon,this.label=this.widget.label,this.lastRoute=this.widget.lastRoute,this.layer=this.widget.layer,this.maxStops=this.widget.maxStops,this.position="bottom-left",this.searchProperties=this.widget.searchProperties,this.state=this.viewModel.state,this.unit=this.widget.unit,this.useDefaultRouteLayer=!1,this.arcgisPropertyChange=r()("lastRoute","state"),this.arcgisReady=d()}static{this.properties={apiKey:1,autoDestroyDisabled:5,headingLevel:9,hideLayerDetails:5,hideSaveAsButton:5,hideSaveButton:5,icon:1,label:1,lastRoute:0,layer:0,maxStops:9,position:1,referenceElement:1,routeLayerItemId:1,searchProperties:0,state:0,unit:1,useDefaultRouteLayer:5}}static{this.shadowRootOptions=o}static{this.styles=c}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(e,t){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(e,t)}async zoomToRoute(){if(this.widget?.viewModel?.state!=="ready")throw new Error(`${i} - component not ready to zoom to route`);this.widget?.zoomToRoute()}willUpdate(e){if(e.has("routeLayerItemId")){let t=this.routeLayerItemId;if(w(t)&&!this.useDefaultRouteLayer){let{layer:a}=this;a&&this.widget.view?.map.remove(a),this._setDefaultLayer()}else t&&this.widget&&(this.layer=new m({portalItem:{id:t}}),this.widget.view?.map.add(this.layer))}e.has("useDefaultRouteLayer")&&this._setDefaultLayer()}_setDefaultLayer(){this.useDefaultRouteLayer&&!this.routeLayerItemId&&(this.layer=new m,this.widget.view?.map.add(this.layer))}};l("arcgis-directions",s);export{s as ArcgisDirections};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.
|
|
4
|
-
import{a as l}from"./
|
|
3
|
+
v4.33.0-next.21 */
|
|
4
|
+
import{a as l}from"./EB7KYHWF.js";import"./NHNM64BW.js";import"./LQLME3NQ.js";import{A as s,B as a,G as h,g as i,r as t}from"./MIRRCVJ6.js";var o=await $arcgis.l("widgets/Daylight");var d=t`@layer{arcgis-daylight{display:block}}`,r=l(o),e=class extends a{constructor(){super(...arguments),this.widget=r(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.currentSeason=this.viewModel.currentSeason,this.dateOrSeason=this.widget.dateOrSeason,this.dayPlaying=this.viewModel.dayPlaying,this.headingLevel=this.widget.headingLevel,this.hideDatePicker=this.widget.visibleElements.datePicker,this.hideHeader=this.widget.visibleElements.header,this.hidePlayButtons=this.widget.visibleElements.playButtons,this.hideShadowsToggle=this.widget.visibleElements.shadowsToggle,this.hideSunLightingToggle=this.widget.visibleElements.sunLightingToggle,this.hideTimezone=this.widget.visibleElements.timezone,this.icon=this.widget.icon,this.label=this.widget.label,this.playSpeedMultiplier=this.widget.playSpeedMultiplier,this.position="bottom-left",this.timeSliderSteps=this.widget.timeSliderSteps,this.yearPlaying=this.viewModel.yearPlaying,this.arcgisReady=s()}static{this.properties={autoDestroyDisabled:5,currentSeason:1,dateOrSeason:1,dayPlaying:5,headingLevel:9,hideDatePicker:5,hideHeader:5,hidePlayButtons:5,hideShadowsToggle:5,hideSunLightingToggle:5,hideTimezone:5,icon:1,label:1,playSpeedMultiplier:9,position:1,referenceElement:1,timeSliderSteps:9,yearPlaying:5}}static{this.shadowRootOptions=i}static{this.styles=d}async destroy(){await this.manager.destroy()}};h("arcgis-daylight",e);export{e as ArcgisDaylight};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.
|
|
4
|
-
import{a as b}from"./
|
|
3
|
+
v4.33.0-next.21 */
|
|
4
|
+
import{a as b}from"./UZIXG5PB.js";import{a as E}from"./LPT6CDYF.js";import{a as r}from"./LKLKFSG5.js";import{a as w}from"./FOBNRWZS.js";import{d as a}from"./NHNM64BW.js";import"./LQLME3NQ.js";import{A as g,B as v,C as s,E as u,G as f,a as d,g as h,q as p,r as m,s as t}from"./MIRRCVJ6.js";var O=await $arcgis.l("widgets/Locate/LocateViewModel");var L=m`@layer{arcgis-locate{display:block}}`,T={base:"esri-locate"},M="gps-off",P=E(O),l=class extends v{constructor(){super(...arguments),this.messages=w(),this.viewModel=P(this),this.autoDestroyDisabled=!1,this.geolocationOptions=this.viewModel.geolocationOptions,this.goToLocationDisabled=this.viewModel.goToLocationEnabled,this.goToOverride=this.viewModel.goToOverride,this.graphic=this.viewModel.graphic,this.icon=M,this.popupDisabled=this.viewModel.popupEnabled,this.position="top-left",this.scale=this.viewModel.scale,this.state=this.viewModel.state,this.arcgisError=a(()=>this.viewModel,"locate-error"),this.arcgisPropertyChange=p()("state"),this.arcgisReady=g(),this.arcgisSuccess=a(()=>this.viewModel,"locate")}static{this.properties={autoDestroyDisabled:5,geolocationOptions:1,goToLocationDisabled:7,goToOverride:0,graphic:0,icon:3,label:1,messageOverrides:0,popupDisabled:5,position:3,referenceElement:1,scale:9,state:3}}static{this.shadowRootOptions=h}static{this.styles=L}async cancelLocate(){this.viewModel.cancelLocate()}async destroy(){await this.manager.destroy()}async locate(){return await this.viewModel.locate()}_localizeError(e){if(e instanceof GeolocationPositionError)return e.code===GeolocationPositionError.PERMISSION_DENIED?this.messages?.permissionError:e.code===GeolocationPositionError.TIMEOUT?this.messages?.timeoutError:this.messages?.positionUnavailable;if(e instanceof Error)return e.message}_locate(){let{viewModel:e}=this;e.state==="locating"?e.cancelLocate():e.locate().catch(()=>{})}render(){let{viewModel:e,icon:y}=this,{state:o}=e,i=o==="locating",c=i?this.messages.cancel:this.messages.title,$=o==="feature-unsupported",D=b===void 0?M:void 0,n=this._localizeError(this.viewModel?.error);return t`<div class=${s(d(T.base,r.widget))}>${!$&&t`<calcite-button class=${s(r.widgetButton)} .disabled=${o==="disabled"} .iconStart=${i?void 0:y??D} kind=neutral .label=${c} @click=${this._locate} title=${c??u}>${i?t`<calcite-loader inline label></calcite-loader>`:null}</calcite-button>`||""}${n?t`<calcite-tooltip open overlay-positioning=fixed .referenceElement=${this.el}>${n}</calcite-tooltip>`:null}</div>`}};f("arcgis-locate",l);export{l as ArcgisLocate};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.
|
|
4
|
-
import{a as n}from"./
|
|
3
|
+
v4.33.0-next.21 */
|
|
4
|
+
import{a as n}from"./EB7KYHWF.js";import"./NHNM64BW.js";import"./LQLME3NQ.js";import{A as a,B as o,G as r,g as i,q as s,r as e}from"./MIRRCVJ6.js";var h=await $arcgis.l("widgets/Histogram");var d=e`@layer{arcgis-histogram{display:block}}`,c=n(h),t=class extends o{constructor(){super(...arguments),this.widget=c(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.average=this.widget.average,this.barCreatedFunction=this.widget.barCreatedFunction,this.bins=this.widget.bins,this.dataLineCreatedFunction=this.widget.dataLineCreatedFunction,this.dataLines=this.widget.dataLines,this.icon=this.widget.icon,this.label=this.widget.label,this.labelFormatFunction=this.widget.labelFormatFunction,this.layout=this.widget.layout,this.max=this.widget.max,this.min=this.widget.min,this.position="bottom-left",this.state=this.widget.state,this.arcgisPropertyChange=s()("state"),this.arcgisReady=a()}static{this.properties={autoDestroyDisabled:5,average:9,barCreatedFunction:0,bins:0,dataLineCreatedFunction:0,dataLines:0,icon:1,label:1,labelFormatFunction:0,layout:1,max:9,min:9,position:1,referenceElement:1,state:3}}static{this.shadowRootOptions=i}static{this.styles=d}async destroy(){await this.manager.destroy()}};r("arcgis-histogram",t);export{t as ArcgisHistogram};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.
|
|
4
|
-
import{a as n}from"./
|
|
3
|
+
v4.33.0-next.21 */
|
|
4
|
+
import{a as n}from"./EB7KYHWF.js";import"./NHNM64BW.js";import"./LQLME3NQ.js";import{A as s,B as o,G as a,g as e,r as i}from"./MIRRCVJ6.js";var c=await $arcgis.l("widgets/Expand");var d=i`@layer{arcgis-expand{display:flex;pointer-events:auto}arcgis-expand>.esri-expand__content--expanded{background-color:var(--calcite-color-background)}}`,p=n(c),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.focusTrapEnabled=this.widget.focusTrapDisabled,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=s(),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,focusTrapEnabled:5,group:1,icon:1,iconNumber:9,label:1,mode:1,placement:1,position:1,referenceElement:1}}static{this.shadowRootOptions=e}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,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.
|
|
4
|
-
import{a as h}from"./
|
|
3
|
+
v4.33.0-next.21 */
|
|
4
|
+
import{a as h}from"./EB7KYHWF.js";import{d as l}from"./NHNM64BW.js";import"./LQLME3NQ.js";import{A as o,B as r,G as a,g as e,q as i,r as s}from"./MIRRCVJ6.js";var n=await $arcgis.l("widgets/FeatureTemplates");var c=s`@layer{arcgis-feature-templates{display:block}}`,d=h(n),t=class extends r{constructor(){super(...arguments),this.widget=d(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=i()("state"),this.arcgisReady=o(),this.arcgisSelect=l(()=>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=e}static{this.styles=c}async destroy(){await this.manager.destroy()}};a("arcgis-feature-templates",t);export{t as ArcgisFeatureTemplates};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.
|
|
4
|
-
import{a as h}from"./
|
|
3
|
+
v4.33.0-next.21 */
|
|
4
|
+
import{a as h}from"./EB7KYHWF.js";import"./NHNM64BW.js";import"./LQLME3NQ.js";import{A as a,B as o,G as r,g as e,q as s,r as i}from"./MIRRCVJ6.js";var d=await $arcgis.l("widgets/Weather");var l=i`@layer{arcgis-weather{display:block}}`,n=h(d),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=s()("state"),this.arcgisReady=a()}static{this.properties={autoDestroyDisabled:5,headingLevel:9,hideHeader:5,icon:1,label:1,position:1,referenceElement:1,state:3}}static{this.shadowRootOptions=e}static{this.styles=l}async destroy(){await this.manager.destroy()}};r("arcgis-weather",t);export{t as ArcgisWeather};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.
|
|
4
|
-
import{a as n}from"./
|
|
3
|
+
v4.33.0-next.21 */
|
|
4
|
+
import{a as n}from"./EB7KYHWF.js";import"./NHNM64BW.js";import"./LQLME3NQ.js";import{A as a,B as r,G as o,g as i,q as e,r as s}from"./MIRRCVJ6.js";var h=await $arcgis.l("widgets/HistogramRangeSlider");var l=s`@layer{arcgis-histogram-range-slider{display:block}}`,g=n(h),t=class extends r{constructor(){super(...arguments),this.widget=g(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.average=this.widget.average,this.barCreatedFunction=this.widget.barCreatedFunction,this.bins=this.widget.bins,this.dataLineCreatedFunction=this.widget.dataLineCreatedFunction,this.dataLines=this.widget.dataLines,this.excludedBarColor=this.widget.excludedBarColor,this.icon=this.widget.icon,this.includedBarColor=this.widget.includedBarColor,this.label=this.widget.label,this.labelFormatFunction=this.widget.labelFormatFunction,this.max=this.widget.max,this.min=this.widget.min,this.position="bottom-left",this.precision=this.widget.precision,this.rangeType=this.widget.rangeType,this.standardDeviation=this.widget.standardDeviation,this.standardDeviationCount=this.widget.standardDeviationCount,this.state=this.viewModel.state,this.values=this.widget.values,this.arcgisPropertyChange=e()("state"),this.arcgisReady=a()}static{this.properties={autoDestroyDisabled:5,average:9,barCreatedFunction:0,bins:0,dataLineCreatedFunction:0,dataLines:0,excludedBarColor:0,icon:1,includedBarColor:0,label:1,labelFormatFunction:0,max:9,min:9,position:1,precision:9,rangeType:1,referenceElement:1,standardDeviation:9,standardDeviationCount:9,state:3,values:0}}static{this.shadowRootOptions=i}static{this.styles=l}async destroy(){await this.manager.destroy()}async generateWhereClause(d){return this.widget.generateWhereClause(d)}};o("arcgis-histogram-range-slider",t);export{t as ArcgisHistogramRangeSlider};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.
|
|
4
|
-
import{a as l}from"./
|
|
3
|
+
v4.33.0-next.21 */
|
|
4
|
+
import{a as l}from"./EB7KYHWF.js";import"./NHNM64BW.js";import"./LQLME3NQ.js";import{A as a,B as o,G as r,g as t,q as s,r as i}from"./MIRRCVJ6.js";var d=await $arcgis.l("widgets/Slice");var h=i`@layer{arcgis-slice{display:block}}`,c=l(d),e=class extends o{constructor(){super(...arguments),this.widget=c(this),this.viewModel=this.widget.viewModel,this.analysis=this.widget.analysis,this.autoDestroyDisabled=!1,this.excludeGroundSurface=this.viewModel.excludeGroundSurface,this.excludedLayers=this.viewModel.excludedLayers,this.headingLevel=this.widget.headingLevel,this.icon=this.widget.icon,this.label=this.widget.label,this.position="bottom-left",this.shape=this.viewModel.shape,this.state=this.viewModel.state,this.tiltEnabled=this.viewModel.tiltEnabled,this.arcgisPropertyChange=s()("analysis","state"),this.arcgisReady=a()}static{this.properties={analysis:0,autoDestroyDisabled:5,excludeGroundSurface:5,excludedLayers:0,headingLevel:9,icon:1,label:1,position:1,referenceElement:1,shape:0,state:3,tiltEnabled:5}}static{this.shadowRootOptions=t}static{this.styles=h}async clear(){this.widget?.viewModel.clear()}async destroy(){await this.manager.destroy()}async start(){this.widget?.viewModel.start()}};r("arcgis-slice",e);export{e as ArcgisSlice};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.
|
|
4
|
-
import{a as g}from"./
|
|
3
|
+
v4.33.0-next.21 */
|
|
4
|
+
import{a as g}from"./LPT6CDYF.js";import{a as o}from"./LKLKFSG5.js";import{a as p}from"./FOBNRWZS.js";import"./NHNM64BW.js";import"./LQLME3NQ.js";import{A as m,B as d,C as i,E as h,G as u,a as r,g as l,q as n,r as c,s}from"./MIRRCVJ6.js";var v=await $arcgis.l("widgets/Fullscreen/FullscreenViewModel");var w=c`@layer{arcgis-fullscreen{display:block}}`,M={base:"esri-fullscreen"},$=g(v),a=class extends d{constructor(){super(...arguments),this.messages=p(),this.viewModel=$(this),this.autoDestroyDisabled=!1,this.element=this.viewModel.element,this.icon="zoom-out-fixed",this.position="top-left",this.state=this.viewModel.state,this.arcgisPropertyChange=n()("state"),this.arcgisReady=m()}static{this.properties={autoDestroyDisabled:5,element:0,icon:3,label:1,messageOverrides:0,position:3,referenceElement:1,state:3}}static{this.shadowRootOptions=l}static{this.styles=w}get fullscreenTitle(){let e=this.viewModel?.state;return e==="active"?this.messages.exit:e==="ready"?this.messages.enter:""}async destroy(){await this.manager.destroy()}_toggle(){this.viewModel.toggle()}render(){let{fullscreenTitle:e,icon:f}=this,t=this.viewModel?.state,y=t==="feature-unsupported",b=t==="ready"||t==="disabled"||t==="feature-unsupported"?"zoom-out-fixed":"zoom-in-fixed";return s`<div class=${i(r(M.base,o.widget))}>${!y&&s`<calcite-button class=${i(o.widgetButton)} .disabled=${t==="disabled"} .iconStart=${f??b} kind=neutral .label=${e} @click=${this._toggle} title=${e??h}></calcite-button>`||""}</div>`}};u("arcgis-fullscreen",a);export{a as ArcgisFullscreen};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.
|
|
4
|
-
import{d as w}from"./
|
|
3
|
+
v4.33.0-next.21 */
|
|
4
|
+
import{d as w}from"./MIRRCVJ6.js";function o(e){e.el.childElem?e.el.isConnected||(e.view?.ui?e.view.ui.remove(e.el.childElem):e.widget?.view&&e.widget.view.ui.remove(e.el.childElem),e._watchHandles&&e._watchHandles.forEach(d=>{d.remove()}),e._watchHandles=[],e.widget?.destroy()):w(()=>{e.el.isConnected||(e.view?.ui?e.view.ui.remove(e.el):e.widget?.view&&e.widget.view.ui.remove(e.el),e._watchHandles&&e._watchHandles.forEach(d=>{d.remove()}),e._watchHandles=[],e.widget?.destroy())},1e3)}export{o as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.
|
|
4
|
-
import{a as o}from"./
|
|
3
|
+
v4.33.0-next.21 */
|
|
4
|
+
import{a as o}from"./EB7KYHWF.js";import{d as t}from"./NHNM64BW.js";import"./LQLME3NQ.js";import{A as h,B as l,G as c,g as i,q as a,r}from"./MIRRCVJ6.js";var g=await $arcgis.l("widgets/Search");var d=r`@layer{arcgis-search{display:block}}`,u=o(g),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=a()("state"),this.arcgisReady=h(),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=i}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,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.
|
|
4
|
-
import{a as h}from"./
|
|
3
|
+
v4.33.0-next.21 */
|
|
4
|
+
import{a as h}from"./EB7KYHWF.js";import{d as l}from"./NHNM64BW.js";import"./LQLME3NQ.js";import{A as o,B as a,G as r,g as e,q as i,r as s}from"./MIRRCVJ6.js";var d=await $arcgis.l("widgets/CatalogLayerList");var n=s`@layer{arcgis-catalog-layer-list{display:block}}`,c=h(d),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.filterPredicate=this.widget.filterPredicate,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=i()("state"),this.arcgisReady=o(),this.arcgisTriggerAction=l(()=>this.widget,"trigger-action")}static{this.properties={autoDestroyDisabled:5,catalogItems:32,catalogLayer:0,collapsed:7,filterPlaceholder:1,filterPredicate:0,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=e}static{this.styles=n}get catalogItems(){return this.widget.catalogItems}async destroy(){await this.manager.destroy()}};r("arcgis-catalog-layer-list",t);export{t as ArcgisCatalogLayerList};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.
|
|
3
|
+
v4.33.0-next.21 */
|
|
4
4
|
var e={anchor:"esri-widget__anchor",anchorDisabled:"esri-widget__anchor--disabled",button:"esri-button",buttonDisabled:"esri-button--disabled",buttonHalf:"esri-button--half",buttonSecondary:"esri-button--secondary",buttonSmall:"esri-button--small",buttonTertiary:"esri-button--tertiary",buttonThird:"esri-button--third",disabled:"esri-disabled",disabledElement:"esri-disabled-element",empty:"esri-widget__content--empty",emptyIllustration:"esri-widget__content-illustration--empty",heading:"esri-widget__heading",hidden:"esri-hidden",input:"esri-input",interactive:"esri-interactive",loader:"esri-widget__loader",loaderAnimation:"esri-widget__loader-animation",loaderText:"esri-widget__loader-text",menu:"esri-menu",menuHeader:"esri-menu__header",menuItem:"esri-menu__list-item",menuItemActive:"esri-menu__list-item--active",menuItemFocus:"esri-menu__list-item--focus",menuList:"esri-menu__list",noBookmarksIcon:"esri-widget__no-bookmark-icon",panel:"esri-widget--panel",panelHeightOnly:"esri-widget--panel-height-only",primaryTick:"primary-tick",primaryTickAmPm:"primary-tick__ampm",primaryTickLabel:"primary-tick__label",rotating:"esri-rotating",secondaryTick:"secondary-tick",select:"esri-select",table:"esri-widget__table",ui:"esri-component",widget:"esri-widget esri-component",widgetButton:"esri-widget--button",widgetButtonActive:"esri-widget--button-active",widgetDisabled:"esri-widget--disabled"};export{e as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.
|
|
4
|
-
import{c as r}from"./
|
|
3
|
+
v4.33.0-next.21 */
|
|
4
|
+
import{c as r}from"./FOBNRWZS.js";import{b as i}from"./NHNM64BW.js";import{o as e}from"./MIRRCVJ6.js";var l=(o,t)=>(n,a)=>c(n,o,a),s=class extends i{constructor(){super(...arguments),this.viewController=new r(this.component),this._viewWatchHandle=void 0}async hostLoad(){await super.hostLoad(),this._viewWatchHandle=this.reactiveUtils.watch(()=>this.component.el.view,t=>{this._instance.view=t,this._instance.map=t?.map},{sync:!0,initial:!0})}hostDestroy(){this._viewWatchHandle?.remove(),super.hostDestroy()}},c=e(s);export{l as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.
|
|
3
|
+
v4.33.0-next.21 */
|
|
4
4
|
function b(n,e){Array.isArray(e)?n._watchHandles=[...n._watchHandles,...e]:n._watchHandles.push(e)}function x(n){n.el.childElem&&(n.el.childElem.ownedBy=n.el);let e=w(n);if(!e){let t=g(n.referenceElement);if(!t){p(n);return}return u(t,n,!0),t}return m(e,n.el.parent)||(n.el.parent=e,e.tagName.toLowerCase()==="arcgis-expand"?y(e,n):e.tagName.toLowerCase()==="arcgis-placement"?v(e,n):u(e,n,!1)),e}function w({el:n}){for(let e=n.parentElement;e;e=e?.parentElement??null){if(d.has(e.tagName.toLowerCase()))return e;if("ownedBy"in e&&e.ownedBy instanceof HTMLElement&&d.has(e.ownedBy.tagName.toLowerCase()))return e.ownedBy}}var d=new Set(["arcgis-map","arcgis-scene","arcgis-link-chart","arcgis-expand","arcgis-placement"]);function m(n,e){if(n!==e)return!1;let t=n.tagName.toLowerCase();return t==="arcgis-expand"||t==="arcgis-placement"}function i(n,e,t="arcgisReady"){let r=n;if(typeof r.view?.ready=="boolean")e(r.view);else{let o=function(l){l.target===n&&(i(n,e,t),n.removeEventListener(t,o))};n.addEventListener(t,o)}}var y=(n,e)=>i(n,t=>{e.el.childElem&&n.content!=null&&n.content.append(e.el.childElem),n.expandIcon=e.icon||e.widget?.icon||n.expandIcon,e.position=n.position,e.el.view=t}),v=(n,e)=>i(n,t=>{e.el.childElem&&e.el.append(e.el.childElem),e.position=n.position,e.el.view=t}),u=(n,e,t)=>i(n,r=>{t?p(e):e.el.childElem&&h(n,e),e.el.view=r},"arcgisViewReadyChange");function h(n,e){let t=e.el.childElem??e.el,r=[...n.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[e.position??"manual"]?.findIndex(({child:a})=>a===e.el),s=n.view.ui;s.remove(t),s.add(t,{position:e.position,index:l})}function L(n){let e=!1,t=n.el.view,r=Object.getOwnPropertyDescriptor(Object.getPrototypeOf(n.el),"view")??{get:()=>t,set:o=>t=o};Object.defineProperty(n.el,"view",{get:r.get.bind(n.el),set:o=>{r.set.call(n.el,o),o&&!e&&(e=!0,n.arcgisReady.emit())},configurable:!0,enumerable:!0}),t&&(n.el.view=t)}function C(n){return n==null||n===""}function N(n,e){return e!=null&&n?.position===e.position&&n?.heading===e.heading&&n?.tilt===e.tilt&&n?.fov===e.fov}function O(n,e){return e===void 0||n?.targetGeometry!==e?.targetGeometry||n?.rotation!==e?.rotation||n?.scale!==e?.scale}function A(n,e){return f(e?.center,n)}function f(n,e){if(typeof e=="string")return f(n,e.split(",").map(Number));if(!n)return e;if(Array.isArray(e)){let t=e[0],r=e[1],o=e.length>2?e[2]:void 0;if(t!==n.longitude||r!==n.latitude||o!==n.z)return e}else if(e&&!n?.equals(e))return e}async function B(n,e){e!=null&&(typeof e=="string"?n.el.view=await E(e):n.widget&&(n.el.view=e.view))}async function E(n){let e=g(n);return await new Promise(t=>{typeof e?.view?.ready=="boolean"?t(e.view):e&&e.addEventListener("arcgisViewReadyChange",()=>t(e.view),{once:!0})})}function p(n){n.el.childElem&&(n.el.shadowRoot??n.el).append(n.el.childElem)}function g(n){return typeof n!="string"?n??void 0:(n.includes("#")||n.includes(".")||n.includes("[")?void 0:document.querySelector(`#${n}`))??document.querySelector(n)??void 0}export{b as a,x as b,L as c,C as d,N as e,O as f,A as g,f as h,B as i};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.
|
|
4
|
-
import{a as u}from"./
|
|
3
|
+
v4.33.0-next.21 */
|
|
4
|
+
import{a as u}from"./UZIXG5PB.js";import{a as M}from"./LPT6CDYF.js";import{a as _}from"./LKLKFSG5.js";import{a as C}from"./FOBNRWZS.js";import"./NHNM64BW.js";import"./LQLME3NQ.js";import{A as $,B as y,C as p,D as w,E as D,G as P,a as v,g as f,q as b,r as x,s as g}from"./MIRRCVJ6.js";var L=await $arcgis.l("widgets/Swipe/SwipeViewModel");var H=x`@layer{arcgis-swipe,.arcgis-swipe{position:absolute;margin:0;background:transparent!important;padding:0;width:100%;height:100%;overflow:hidden;user-select:none}.arcgis-swipe,.arcgis-ui .arcgis-swipe{pointer-events:none!important}.arcgis-swipe__container{position:absolute;z-index:1;margin:0;outline:0;border:0;padding:0;overflow:hidden;pointer-events:auto;touch-action:none;outline-color:transparent}.arcgis-swipe--horizontal .arcgis-swipe__container{margin-left:calc(var(--calcite-spacing-xxxl) / 2 * -1);cursor:col-resize;height:100%}.arcgis-swipe--vertical .arcgis-swipe__container{margin-top:calc(var(--calcite-spacing-xxxl) / 2 * -1);cursor:row-resize;width:100%}.arcgis-swipe--disabled .arcgis-swipe__container{cursor:default;pointer-events:none}.arcgis-swipe__divider{position:absolute;background-color:var(--calcite-color-background)}.arcgis-swipe--horizontal .arcgis-swipe__divider{top:0;left:calc(var(--calcite-spacing-xxxl) / 2);margin-left:calc(var(--calcite-border-width-lg) * .5 * -1);border-right:var(--calcite-border-width-sm) solid var(--calcite-color-border-1);border-left:var(--calcite-border-width-sm) solid var(--calcite-color-border-1);width:var(--calcite-border-width-lg);height:100%}.arcgis-swipe--vertical .arcgis-swipe__divider{top:calc(var(--calcite-spacing-xxxl) / 2);left:0;margin-top:calc(var(--calcite-border-width-lg) * .5 * -1);border-top:var(--calcite-border-width-sm) solid var(--calcite-color-border-1);border-bottom:var(--calcite-border-width-sm) solid var(--calcite-color-border-1);width:100%;height:var(--calcite-border-width-lg)}.arcgis-swipe__handle{display:flex;position:relative;align-items:center;justify-content:center;border:var(--calcite-border-width-sm) solid var(--calcite-color-border-1);border-radius:var(--calcite-corner-radius-round);background-color:var(--calcite-color-background);width:var(--calcite-spacing-xxxl);height:var(--calcite-spacing-xxxl);color:var(--calcite-color-border-input)}.arcgis-swipe__handle--hidden{visibility:hidden}.arcgis-swipe--vertical .arcgis-swipe__handle{rotate:90deg}.arcgis-swipe__handle-icon{position:relative;z-index:2}.arcgis-swipe--horizontal .arcgis-swipe__handle{top:calc(50% - calc(var(--calcite-spacing-xxxl) / 2))}.arcgis-swipe--vertical .arcgis-swipe__handle{left:calc(50% - calc(var(--calcite-spacing-xxxl) / 2))}.arcgis-swipe__container:focus .arcgis-swipe__handle,.arcgis-swipe__container:focus .arcgis-swipe__divider{outline:inset 2px var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)))}.arcgis-swipe__container:focus .arcgis-swipe__handle{outline-offset:calc(-2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}}`,l="arcgis-swipe",n={base:l,baseDisabled:`${l}--disabled`,vertical:`${l}--vertical`,horizontal:`${l}--horizontal`,container:`${l}__container`,divider:`${l}__divider`,handle:`${l}__handle`,handleHidden:`${l}__handle--hidden`,handleIcon:`${l}__handle-icon`},O=M(L),m=class extends y{constructor(){super(...arguments),this._container=null,this._swiping=!1,this.messages=C({}),this._pointerOffset=0,this.viewModel=O(this),this._onContainerPointerDown=e=>{e.preventDefault();let{_container:i}=this;i&&document.activeElement!==this.el&&i.focus(),this._swiping=!0,this._calculatePointerOffset(e)},this.autoDestroyDisabled=!1,this.direction=this.viewModel.direction,this.disabled=!1,this.hideDivider=!1,this.hideHandle=!1,this.icon="compare",this.label=this.messages.componentLabel,this.leadingLayers=this.viewModel.leadingLayers,this.position="manual",this.swipePosition=this.viewModel.position,this.state=this.viewModel.state,this.trailingLayers=this.viewModel.trailingLayers,this.arcgisPropertyChange=b()("state"),this.arcgisReady=$()}static{this.properties={autoDestroyDisabled:5,direction:3,disabled:7,hideDivider:7,hideHandle:7,icon:3,label:1,leadingLayers:0,messageOverrides:0,position:3,swipePosition:9,referenceElement:1,state:3,trailingLayers:0}}static{this.shadowRootOptions=f}static{this.styles=H}async destroy(){await this.manager.destroy()}loaded(){this.listenOn(document,"pointermove",this._onContainerPointerMove),this.listenOn(document,"pointerup",this._onContainerPointerUp)}_calculatePointerOffset(e){let{direction:i}=this,t=e.target,r=(i==="vertical"?t.clientHeight:t.clientWidth)/2,a=t.getBoundingClientRect(),o=e.clientX-a.left,d=e.clientY-a.top;this._pointerOffset=i==="vertical"?d-r:o-r}_onContainerPointerUp(e){this._swiping&&(e.preventDefault(),this._swiping=!1)}_onContainerPointerMove(e){if(!this._swiping)return;e.preventDefault();let{_pointerOffset:i,el:t,direction:r}=this,{clientX:a,clientY:o}=e,{top:d,left:s,width:c,height:h}=t.getBoundingClientRect(),z=r==="vertical"?h:c,A=(r==="vertical"?o-d-i:a-s-i)/z*100;this.swipePosition=A}_getKeyPosition(e){let{key:i}=e,{swipePosition:t}=this,{max:r,min:a,step:o,stepMultiplier:d,direction:s}=this.viewModel,c=o*d;if(["ArrowUp","ArrowDown","ArrowLeft","ArrowRight","Home","End","PageUp","PageDown"].includes(i)&&(e.preventDefault(),e.stopPropagation()),s==="vertical"?i==="ArrowDown"||i==="ArrowRight":i==="ArrowUp"||i==="ArrowRight"){let h=e.shiftKey?c:o;return t+h}if(s==="vertical"?i==="ArrowUp"||i==="ArrowLeft":i==="ArrowDown"||i==="ArrowLeft"){let h=e.shiftKey?c:o;return t-h}return i==="Home"?a:i==="End"?r:(s==="vertical"?i==="PageDown":i==="PageUp")?t+c:(s==="vertical"?i==="PageUp":i==="PageDown")?t-c:null}_onContainerKeyDown(e){let i=this._getKeyPosition(e);typeof i=="number"&&(this.swipePosition=i)}render(){let{state:e,direction:i}=this.viewModel,t=e==="disabled"||this.disabled,r={[_.disabled]:t,[n.baseDisabled]:t,[n.vertical]:i==="vertical",[n.horizontal]:i==="horizontal"};return g`<div class=${p(v(n.base,_.widget,r))}>${e==="disabled"?null:this._renderContainer()}</div>`}_renderHandle(){let{direction:e}=this.viewModel,{hideHandle:i}=this,t={[u.dragHorizontal]:e==="vertical",[u.dragVertical]:e==="horizontal"},r=v(n.handle,!!i&&n.handleHidden);return g`<div class=${p(r)} role=presentation><span aria-hidden=true class=${p(v(n.handleIcon,t))}></span></div>`}_renderDivider(){return this.hideDivider?null:g`<div class=${p(n.divider)} role=presentation></div>`}_renderContent(){return[this._renderDivider(),this._renderHandle()]}_renderContainer(){let{disabled:e,viewModel:i}=this,{max:t,min:r,direction:a,position:o}=i,d=this.label??this.messages.dragLabel??"",s=`${o}%`,c={top:a==="vertical"?s:void 0,left:a==="vertical"?void 0:s},h=this._renderContent();return e?g`<div class=${p(n.container)} role=presentation style=${w(c)}>${h}</div>`:g`<div @pointerdown=${this._onContainerPointerDown} .ariaLabel=${d} .ariaOrientation=${a} .ariaValueMax=${`${t}`} .ariaValueMin=${`${r}`} .ariaValueNow=${`${o}`} .ariaValueText=${s} class=${p(n.container)} @keydown=${this._onContainerKeyDown} role=slider style=${w(c)} tabindex=0 title=${d??D} touch-action=none>${h}</div>`}};P("arcgis-swipe",m);export{m as ArcgisSwipe};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.
|
|
3
|
+
v4.33.0-next.21 */
|
|
4
4
|
function Go(...e){let t=[];for(let s=0;s<e.length;s++){let n=e[s];if(typeof n=="string")t.push(n);else if(Array.isArray(n))t.push.apply(t,n);else if(typeof n=="object")for(let r in n)n[r]&&t.push(r)}let o=t.join(" ");return t.length=0,o}var E=class{resolve(e){}reject(e){}constructor(){this.promise=new Promise((e,t)=>{this.resolve=e,this.reject=t})}};function Me(e,t){let o=e;for(;o;){if(o===t)return!0;if(!o.parentNode)return!1;o.parentNode instanceof ShadowRoot?o=o.parentNode.host:o=o.parentNode}return!1}function je(e,t,o){let{subscribe:s}=Ve(t);return s(n=>{n.some(i=>Me(e,i.target))&&o()})}var gt={};function Ve(e){let t=e.join(","),o=gt[t];if(o!==void 0)return o;let s=new Set,n=new MutationObserver(i=>s.forEach(c=>c(i)));globalThis.document&&n.observe(document.documentElement,{attributes:!0,attributeFilter:e,subtree:!0});let r={subscribe(i){return s.add(i),()=>{s.delete(i),s.size===0&&(n.disconnect(),gt[t]=void 0)}}};return gt[t]=r,r}function ze(e,t){let o=e;for(;o;){let s=o.closest?.(t);if(s)return s;let n=o.getRootNode?.();if(n===globalThis.document)return null;o=n.host}return null}function He(e,t,o){return ze(e,`[${t}]`)?.getAttribute(t)??o}function We(e){return typeof e.setFocus=="function"}async function Ko(e){e!=null&&(We(e)?await e.setFocus():e.focus())}function p(e,t,...o){try{return e?.call(t,...o)}catch(s){console.error(s,e)}}async function W(e,t,...o){try{let s=e?.call(t,...o);return s instanceof Promise?await s:s}catch(s){console.error(s,e)}}var qe=["ar","bg","bs","ca","cs","da","de","el","en","es","et","fi","fr","he","hr","hu","id","it","ja","ko","lt","lv","nl","nb","no","pl","pt-BR","pt-PT","ro","ru","sk","sl","sr","sv","th","tr","uk","vi","zh-CN","zh-HK","zh-TW"],Be=new Set(qe),tt="en",Fe={pt:"pt-PT",nb:"no",zh:"zh-CN"};async function Ge(e,t,o=""){let s=`${t}/${o}`,n=`${s}${e}.json`;return Et[n]??(Et[n]=zt(e,s)),await Et[n]}var Et={};async function zt(e,t){let o=`${t}${e}.json`;try{let s=await fetch(o);if(s.ok)return await s.json()}catch(s){return console.error(s),{}}return e===tt?{}:await zt(tt,t)}function bt(e){let t=He(e,"lang",globalThis.navigator?.language||tt);return{lang:t,t9nLocale:Ht(t)}}function Ht(e){let[t,o]=e.split("-"),s=t.toLowerCase(),n=s;return o&&(n=`${s}-${o.toUpperCase()}`),n=Fe[n]??n,Be.has(n)?n:o?Ht(s):tt}function Wt(e,t,o,s){let n,r=()=>void Ke(e,t(),s).then(i=>{(n?.lang!==i.lang||n.t9nLocale!==i.t9nLocale||n.t9nStrings!==i.t9nStrings)&&o(i),n=i}).catch(console.error);return queueMicrotask(r),je(e,["lang"],r)}async function Ke(e,t,o=e.tagName.toLowerCase().split("-").slice(1).join("-")){let{lang:s,t9nLocale:n}=bt(e),r=`${t}/${o}/t9n`,c=o===null?{}:await Ge(n,r,"messages.");return{lang:s,t9nLocale:n,t9nStrings:c}}var et=e=>e.replace(Je,(t,o)=>`${o===0?"":"-"}${t.toLowerCase()}`),Je=/[A-Z]+(?![a-z])|[A-Z]/gu;function qt(e,t){let o=t>Ye?Qe:t/Ze,s=0,n=setInterval(()=>{s+=o,s>=t&&(clearInterval(n),e())},o);return n}var Ye=4e3,Qe=2e3,Ze=4;function Bt(e){return e!==void 0}var Ft=";",ot=",",Gt=":";function _t(e){let t=e;for(;t=t.parentNode??t.host;)if(t?.constructor?.lumina){let o=t;return o.manager?.loadedCalled||o._offspring.push(e),o._postLoad.promise}return!1}var Xe=(e,t)=>function(s,n){if(!globalThis.customElements)return;let i=(n??s??{}).resourcesUrl;i&&e.setAssetPath(i),Object.entries(t).forEach(to)};function to([e,[t,o=""]]){if(customElements.get(e))return;let[s,n,r]=o.split(Ft),i=s?s?.split(ot).map(Kt):void 0,c=i?.map(([l])=>l),a=class extends oo{static{this.observedAttributes=i?.map(([,l])=>l).filter(l=>l!=="")}static{this._properties=c}static{this._asyncMethods=n?n?.split(ot):void 0}static{this._syncMethods=r?.split(ot)}static{this._name=e}constructor(){!a._loadPromise&&(a._loadPromise=t(),a._initializePrototype()),super()}};customElements.define(e,a)}var st=Object.defineProperty;function Kt(e){let t=e.split(Gt);return t.length===1?[t[0],et(t[0])]:t}var eo=globalThis.HTMLElement??Kt,oo=class extends eo{constructor(){super(),this._store={},this._pendingAttributes=[],this._postLoad=new E,this._postLoaded=new E,this._offspring=[],this._saveInstanceProperties();let e=this.constructor;e._LitConstructor?this._initializeComponent({a:e._LitConstructor}):e._loadPromise.then(this._initializeComponent.bind(this)).catch(t=>{this._postLoaded.reject(t),setTimeout(()=>{throw t})})}static{this.lumina=!0}static _initializePrototype(){this._properties?.forEach(this._bindProp,this),this._asyncMethods?.forEach(this._bindAsync,this),this._syncMethods?.forEach(this._bindSync,this)}static _bindProp(e){st(this.prototype,e,{configurable:!0,enumerable:!0,get(){return this._store[e]},set(t){this._store[e]=t}})}static _bindAsync(e){st(this.prototype,e,{async value(...t){return this._litElement||await this._postLoaded.promise,await this._litElement[e](...t)},configurable:!0})}static _bindSync(e){st(this.prototype,e,{value(...t){return this._litElement[e](...t)},configurable:!0})}get manager(){return this._litElement?.manager}_saveInstanceProperties(){let e=this.constructor,t=this;e._properties?.forEach(o=>{Object.hasOwn(this,o)&&(this._store[o]=t[o],delete t[o])})}attributeChangedCallback(e,t,o){this._litElement?.attributeChangedCallback(e,t,o),this._litElement||this._pendingAttributes.push(e)}connectedCallback(){this._litElement?this._litElement.connectedCallback?.():queueMicrotask(()=>{this._ancestorLoad=_t(this)})}disconnectedCallback(){this._litElement?.disconnectedCallback?.()}async componentOnReady(){return await this._postLoaded.promise,this}_initializeComponent(e){let t=this.constructor,o=t._name,s=this._store,n=Object.values(e).find(d=>d.tagName===o),r=`${o}--lazy`,i=n;for(;i&&!Object.hasOwn(i,"lumina");)i=Object.getPrototypeOf(i);no(i),!t._LitConstructor&&(t._LitConstructor=n,customElements.define(r,n)),n.lazy=this;let a=document.createElement(r);n.lazy=void 0,this._litElement=a,this._store=a,this._pendingAttributes.forEach(d=>{let h=this.getAttribute(d);a.attributeChangedCallback(d,null,h)}),Object.entries(s).forEach(so,a);let l=this.isConnected;(l||this._ancestorLoad)&&(a.connectedCallback?.(),l||a.disconnectedCallback())}addController(){}requestUpdate(){this._litElement?.requestUpdate()}};function so([e,t]){this[e]=t}function no(e){let t=e.prototype,o=Element.prototype;Object.hasOwn(t,"isConnected")||(t.setAttribute=function(n,r){o.setAttribute.call(this.el,n,r)},t.removeAttribute=function(n){o.removeAttribute.call(this.el,n)},st(t,"isConnected",{get(){return Reflect.get(o,"isConnected",this.el)}}))}var Ct={};function Jt(e,t){if(t){let o=e.constructor.elementProperties;e.manager.internals.members=Object.fromEntries(Array.from(o,([s,n])=>n.noAccessor?void 0:[s,[(n.readOnly?2048:0)|(n.state?32:16)]]).filter(Bt))}else{let o=e.constructor,s=o.__registerControllers?.(e)??void 0;if(o.__registerControllers=void 0,typeof s!="object")throw new Error("Failed to retrieve component meta");e.manager.internals.members=Object.fromEntries(Object.entries(s).filter(([n,[r]])=>(r&63)!==0))}}function Yt(e,t=8){return e==null||typeof e=="object"||typeof e=="function"?e:t&4?e==="false"?!1:e===""||!!e:t&2?Number.parseFloat(e):t&1?String(e):e}var Qt=(e,t)=>e.manager.internals.members?.[t]?.[0];var rt=Symbol.for("controller");var te=e=>typeof e=="object"&&e!==null&&(rt in e||"hostConnected"in e||"hostDisconnected"in e||"hostUpdate"in e||"hostUpdated"in e);var q;function N(e){q!==e&&(q=e,queueMicrotask(()=>{q===e&&(q=void 0)}))}function O(e){return q}var S=[];function xt(e){if(e===void 0){S=[];return}let t=S.indexOf(e);S=t===-1?[...S,e]:S.slice(0,t+1),queueMicrotask(()=>{S=[]})}function At(){return S}var V;function ro(e){V!==e&&(V=e,queueMicrotask(()=>{V===e&&(V=void 0)}))}function io(){let e=V;return V=void 0,e}var ao=async(e,t)=>{let o=Lt(e);if(o===void 0)return e;if(await o.ready,typeof t=="function"){let s=o.watchExports(n=>t(n,s))}return o.exports},co=async e=>{let t=Lt(e);return await t.ready,t},Lt=e=>{let o=O().manager.internals.resolveExports(e);if(o!==void 0)return o;if(te(e))return e;let s=io();if(s!==void 0)return s},$={setter:!1,getter:!1,readOnly:!1},B=new WeakMap,ee;ee=rt;var Ot=class{constructor(e){this._callbacks={hostConnected:[],hostDisconnected:[],hostLoad:[],hostLoaded:[],hostUpdate:[],hostUpdated:[],hostDestroy:[],hostLifecycle:[]},this._ready=new E,this._lifecycleCleanups=[],this.connectedCalled=!1,this._loadCalled=!1,this.loadedCalled=!1,this[ee]=!0,this.ready=this._ready.promise,this._exports=Xt(this),this._exportWatchers=new Set;let t=e??O(new.target.name);this.component=t,this.component.addController(this),this.component.manager===void 0||(xt(this),queueMicrotask(()=>this.catchUpLifecycle()))}catchUpLifecycle(){let{manager:e}=this.component;e.connectedCalled&&!this.connectedCalled&&this.triggerConnected(),e._loadCalled&&this.triggerLoad().then(()=>{e.loadedCalled&&this.triggerLoaded()}).catch(console.error)}get exports(){return this._exports}set exports(e){let t=this._exports;t!==e&&(this._exports=e,this._exportWatchers.forEach(p),this.connectedCalled&&this.assignedProperty!==!1&&this.component.requestUpdate(this.assignedProperty,t)),this._ready.resolve(e)}setProvisionalExports(e,t=!0){this._exports=t?Xt(e):e,this._exportWatchers.forEach(p)}watchExports(e){let t=()=>e(this._exports);return this._exportWatchers.add(t),()=>void this._exportWatchers.delete(t)}get use(){return N(this.component),ao}get useRef(){return N(this.component),co}get useRefSync(){return N(this.component),Lt}controllerRemoved(){this.component.el.isConnected&&this.triggerDisconnected(),this.triggerDestroy()}onConnected(e){this._callbacks.hostConnected.push(e)}onDisconnected(e){this._callbacks.hostDisconnected.push(e)}onLoad(e){this._callbacks.hostLoad.push(e)}onLoaded(e){this._callbacks.hostLoaded.push(e)}onUpdate(e){this._callbacks.hostUpdate.push(e)}onUpdated(e){this._callbacks.hostUpdated.push(e)}onDestroy(e){this._callbacks.hostDestroy.push(e)}onLifecycle(e){this._callbacks.hostLifecycle.push(e),this.connectedCalled&&this.component.el.isConnected&&this._callLifecycle(e)}triggerConnected(){let e=this;e.hostConnected&&p(e.hostConnected,e),this._callbacks.hostConnected.forEach(p),this.triggerLifecycle(),this.connectedCalled=!0}triggerDisconnected(){let e=this;e.hostDisconnected&&p(e.hostDisconnected,e),this._callbacks.hostDisconnected.forEach(p),this._lifecycleCleanups.forEach(p),this._lifecycleCleanups=[]}async triggerLoad(){if(this._loadCalled)return;this._loadCalled=!0;let e=this;e.hostLoad&&await W(e.hostLoad,e),this._callbacks.hostLoad.length>0&&await Promise.allSettled(this._callbacks.hostLoad.map(W)),this._ready.resolve(this._exports)}triggerLoaded(){if(this.loadedCalled)return;let e=this;e.hostLoaded&&p(e.hostLoaded,e),this._callbacks.hostLoaded.forEach(p),this.loadedCalled=!0}triggerUpdate(e){let t=this;t.hostUpdate&&p(t.hostUpdate,t,e),this._callbacks.hostUpdate.forEach(Zt,e)}triggerUpdated(e){let t=this;t.hostUpdated&&p(t.hostUpdated,t,e),this._callbacks.hostUpdated.forEach(Zt,e)}triggerDestroy(){let e=this;e.hostDestroy&&p(e.hostDestroy,e),this._callbacks.hostDestroy.forEach(p)}triggerLifecycle(){let e=this;e.hostLifecycle&&this._callLifecycle(()=>e.hostLifecycle()),this._callbacks.hostLifecycle.forEach(this._callLifecycle,this)}_callLifecycle(e){N(this.component);let t=p(e);(Array.isArray(t)?t:[t]).forEach(s=>{typeof s=="function"?this._lifecycleCleanups.push(s):typeof s=="object"&&typeof s.remove=="function"&&this._lifecycleCleanups.push(s.remove)})}};function Zt(e){p(e,void 0,this)}var oe=Ot;function Xt(e){if(typeof e!="object"&&typeof e!="function"||e===null)return e;let t=new Proxy(e,{get(o,s,n){if(!(lo.has(s)&&s in o&&o[s]===t)&&(s in o||s in Promise.prototype||typeof s=="symbol"))return typeof o=="function"?o[s]:Reflect.get(o,s,n)},set:(o,s,n,r)=>Reflect.set(o,s,n,r)});return t}var lo=new Set(["exports","_exports"]);function se(e,t,o){let s=Object.keys(e),n=s.length;T===void 0&&queueMicrotask(F),T??(T=new Map);let r=T.get(e);return r===void 0&&(r={callbacks:[],keyCount:n},T.set(e,r)),r.keyCount!==n&&(r.callbacks.forEach(i=>i(s)),r.callbacks=[],r.keyCount=n),r.callbacks.push(i=>{let c=l=>p(t,null,l),a=i[n];a===void 0?c(void 0):e[a]===o?c(a):c(void 0)}),o}var T=void 0;function F(){Array.from(T?.entries()??[]).forEach(([e,{callbacks:t}])=>{let o=Object.keys(e);t.forEach(s=>s(o))}),T=void 0}function G(e,t,o){var s;let n=t,r=e.manager.internals;(s=r.allWatchers)[n]??(s[n]=[]);let i=r.allWatchers[n],c=o,a=(l,d,h)=>p(c,null,l,d,h);return i.push(a),()=>{let l=i.indexOf(a);l!==-1&&i.splice(l,1)}}var ne=class{constructor(e){this.enabledWatchers={},this.allWatchers={},this.enableReadonly=()=>{if(this.enableReadonly=void 0,!this.component.manager.isLit)return;let t=this.component.manager.internals;Object.entries(t.members).forEach(([o,[s]])=>{var n;s&2048&&((n=t.setters)[o]??(n[o]=[]),t.setters[o].push(t.readonlySetter))})},this.trackedValue=$t,this.keyTrackers=[],this.getters={},this.setters={},this.accessorGetter={},this.accessorSetter={},this._exports=new WeakMap,this.readonlySetter=(t,o,s)=>{if($.readOnly)return t;throw new Error(`Cannot assign to read-only property "${s}" of ${this.component.el.tagName.toLowerCase()}. Trying to assign "${String(t)}"`)},this.component=e}firePropTrackers(e,t){let o=this.keyTrackers;this.trackedValue=$t,this.keyTrackers=[],o.forEach(s=>s(e,t))}getSetProxy(e){let t=this.component,o=t.constructor.prototype;if(this._getSetProxy(o,e,"class"),t.manager.isLit)return;let s=t.el.constructor.prototype;o!==s&&this._getSetProxy(s,e,"html")}_getSetProxy(e,t,o){let s=this.component,n=Qt(s,t),r;do r=Object.getOwnPropertyDescriptor(e,t);while(!r&&(e=Object.getPrototypeOf(e)));if(!r)return;let i=r.get,c=r.set,a=nt in i,l=nt in c;if(a&&l)return;let d=!a,h=!l,m=d?function(){let g=i.call(this),C=B.get(this);if($.getter||C===void 0)return g;let j=C.manager.internals;g=j.accessorGetter[t](g,t);let v=j.getters[t]??wt;for(let w=0;w<v.length;w++)g=v[w](g,t);return g}:i,y=h?function(g){let C=i.call(this),j=B.get(this);if(j===void 0){c.call(this,g);return}let v=j.manager.isLit?g??void 0:Yt(g,n),w=j.manager.internals;if(v===C)c.call(this,v);else{let Vt=$.setter?wt:w.setters[t]??wt;for(let H=0;H<Vt.length&&(v=Vt[H](v,C,t),v!==C);H++);v=w.accessorSetter[t](v,C,t),c.call(this,v),v!==C&&w.enabledWatchers[t]?.forEach(H=>H(v,C,t))}w.keyTrackers.length>0&&w?.firePropTrackers(t,g)}:c;d&&(m[nt]=!0),h&&(y[nt]=!0),Object.defineProperty(e,t,{...r,get:m,set:y})}markExports(e,t){(typeof t=="object"&&t!==null||typeof t=="function")&&this._exports.set(t,e)}resolveExports(e){if(typeof e=="object"&&e!==null||typeof e=="function")return this._exports.get(e)}},wt=[],nt=Symbol(),$t=Symbol();function re(e,t,o){let s=e.manager.internals;return s.trackedValue!==$t&&s.trackedValue!==o&&s.firePropTrackers(void 0,void 0),s.keyTrackers.length===0&&queueMicrotask(()=>s.firePropTrackers(void 0,void 0)),s.trackedValue=o,s.keyTrackers.push((n,r)=>p(t,void 0,o===r?n:void 0)),o}function it(e=[O(),...At()],t,o){let s=Array.isArray(e)?e:[e],n=s.length+1,r=c=>{n-=1,c!==void 0&&(n=Math.min(n,0)),n===0&&t(c)};s.forEach(c=>se(c,a=>r(a===void 0?void 0:{key:a,host:c,isReactive:!1}),o));let i=s.find(c=>"manager"in c&&typeof c.manager=="object"&&c.manager.component===c);return i&&re(i,c=>r(c===void 0?void 0:{key:c,host:i,isReactive:!0}),o),o}function ho(e){$.setter=!0;try{return e()}finally{$.setter=!1}}function po(e){$.getter=!0;try{return e()}finally{$.getter=!1}}function ie(e){$.readOnly=!0;try{return e()}finally{$.readOnly=!1}}var ae=e=>(...t)=>{let o=At(),s=new e(...t),n=s.exports;xt(o.at(-1));let r=s.component.manager.internals;r.markExports(s,n),s.watchExports(c=>r.markExports(s,c)),ro(s);let i=[s.component,...o].reverse();return it(i,c=>c===void 0?void 0:uo(s,c,n),n)};function uo(e,{host:t,key:o,isReactive:s},n){let r=t,i=r[o]!==e.exports,c=r[o]!==n,a=n!==e.exports;if(i&&!c&&a&&(r[o]=e.exports),t===e.component){if(s){let d=e.component.manager.internals;c&&d.markExports(e,r[o]),G(e.component,o,h=>{h!==e.exports&&d.markExports(e,h)})}e.assignedProperty=s?void 0:o}e.watchExports(()=>{if(r[o]===e.exports)return;let d=e.component.manager;d.internals.setters[o]?.includes(d.internals.readonlySetter)?ie(()=>{r[o]=e.exports}):r[o]=e.exports})}var he=(e,t)=>new fo(e,t),fo=class extends oe{constructor(e,t){let o="addController"in e,s=new Set;function n(a){s.add(a),!(rt in a)&&e.renderRoot&&e.el.isConnected&&a.hostConnected?.()}function r(a){s.delete(a),a.controllerRemoved?.()}let i=e;if(i.addController=n,i.removeController=r,!o){let a=t??e.constructor.__forceUpdate;i.requestUpdate=()=>a(e)}super(e),this.internals=new ne(this.component),this.destroyed=!1,this._updatePromise=new E,this._originalLifecycles={},this.isLit=o,this.component.manager=this,Jt(e,o),this._controllers=s,this.exports=void 0,this.hasDestroy=Pt in this.component&&typeof this.component.destroy=="function",this._bindLifecycleMethods();let c=this.internals;Object.keys(c.members).forEach(a=>{c.accessorGetter[a]=ce,c.accessorSetter[a]=ce,c.getSetProxy(a)}),o?this.internals.enabledWatchers=this.internals.allWatchers:Object.defineProperty(e,"updateComplete",{get:async()=>await this._updatePromise.promise}),queueMicrotask(c.enableReadonly),N(e),B.set(e.el,e),B.set(e,e)}_bindLifecycleMethods(){let e=this.component,t=this.isLit,o=e.el===e;this._originalLifecycles={_connectedCallback:t||o?void 0:e.connectedCallback,_disconnectedCallback:t||o?void 0:e.disconnectedCallback,_load:t?e.load:e.componentWillLoad,_loaded:t?e.loaded:e.componentDidLoad,_willUpdate:t?void 0:e.componentWillUpdate,_updated:t?void 0:e.componentDidUpdate,_destroy:e.destroy};let s=this._connectedCallback.bind(this),n=this._disconnectedCallback.bind(this),r=this._update.bind(this),i=this._updated.bind(this);t?e.constructor.prototype.addController.call(e,{hostConnected:s,hostDisconnected:n,hostUpdate:r,hostUpdated:i}):(e.connectedCallback=s,e.disconnectedCallback=n,e.componentWillLoad=this._load.bind(this),e.componentDidLoad=this._loaded.bind(this),e.componentWillUpdate=r,e.componentDidUpdate=i),this.hasDestroy&&(e.destroy=this.destroy.bind(this))}_connectedCallback(){if(this.destroyed){let t=this.component.el.tagName.toLowerCase();throw this.component.el.remove(),new Error(`The ${t} component has already been destroyed. It cannot be used again. If you meant to disconnect and reconnect a component without automatic destroy, set the ${Pt} prop.`)}this._autoDestroyTimeout!==void 0&&clearTimeout(this._autoDestroyTimeout);let e=this.internals;e.enabledWatchers=e.allWatchers,F(),e.enableReadonly?.(),this._controllers.forEach(vo),this._originalLifecycles._connectedCallback?.call(this.component)}_disconnectedCallback(){this.destroyed||(this._controllers.forEach(yo),this._originalLifecycles._disconnectedCallback?.call(this.component),this.hasDestroy&&this._setAutoDestroyTimeout())}async _load(){await Promise.allSettled(Array.from(this._controllers,go)),await this._originalLifecycles._load?.call(this.component),this.hasDestroy&&G(this.component,Pt,()=>this._setAutoDestroyTimeout())}_loaded(){this._controllers.forEach(Eo),this._originalLifecycles._loaded?.call(this.component)}_update(){let e=this.component;return this._controllers.forEach(bo,e.$changes),this._originalLifecycles._willUpdate?.call(this.component)}_updated(){let e=this.component;if(this._controllers.forEach(_o,e.$changes),this._originalLifecycles._updated?.call(this.component),this.isLit)e.$changes=new Map;else{let t=this._updatePromise;this._updatePromise=new E,t.resolve(!0)}}async destroy(){if(!this.destroyed){if(this.component.el.isConnected){this.hasDestroy=!1;try{this.component.el.remove()}finally{this.hasDestroy=!0}}this._autoDestroyTimeout=void 0,this.destroyed=!0,this._controllers.forEach(Co),this._controllers.clear(),await this._originalLifecycles._destroy?.call(this.component)}}_setAutoDestroyTimeout(){if(this._autoDestroyTimeout!==void 0&&clearTimeout(this._autoDestroyTimeout),!this.component.el.isConnected&&!this.component.autoDestroyDisabled){let e=()=>void this.destroy().catch(console.error);this._autoDestroyTimeout=qt(e,mo)}}},Pt="autoDestroyDisabled",mo=1e3;var ce=e=>e;function vo(e){"triggerConnected"in e?e.triggerConnected():p(e.hostConnected,e)}function yo(e){"triggerDisconnected"in e?e.triggerDisconnected():p(e.hostDisconnected,e)}async function go(e){"triggerLoad"in e?await e.triggerLoad():await W(e.hostLoad,e)}function Eo(e){"triggerLoaded"in e?e.triggerLoaded():p(e.hostLoaded,e)}function bo(e){"triggerUpdate"in e?e.triggerUpdate(this):p(e.hostUpdate,e,this)}function _o(e){"triggerUpdated"in e?e.triggerUpdated(this):p(e.hostUpdated,e,this)}function Co(e){"triggerDestroy"in e?e.triggerDestroy():p(e.hostDestroy,e)}var wo=e=>xo(void 0,e);var $o=class extends Ot{constructor(e,t){super(e);let o=this.exports;try{N(this.component);let s=t(this.component,this),n=this.exports!==o;if(s instanceof Promise){n||this.setProvisionalExports(s);let r=s.then(i=>{this.exports=i,super.catchUpLifecycle()}).catch(i=>{this._ready.reject(i),console.error(i)});this.onLoad(async()=>await r)}else(!n||s!==void 0)&&(this.exports=s),queueMicrotask(()=>super.catchUpLifecycle())}catch(s){this._ready.reject(s),console.error(s)}}catchUpLifecycle(){}},xo=ae($o);var Ls=e=>(t={})=>wo((o,s)=>{let n=bt(o.el),r={_lang:n.lang,_t9nLocale:n.t9nLocale,_loading:!0},i=o;s.onLifecycle(()=>Wt(o.el,()=>e("./assets"),({t9nLocale:a,t9nStrings:l,lang:d})=>{let h={...l,_lang:d,_t9nLocale:a,_loading:!1};s.exports=h;let m=l.componentLabel;typeof m=="string"&&"label"in o&&o.label==null&&(o.label??(o.label=m)),c(i.messageOverrides)},t.name));function c(a){let l=s.exports,d=l._original??l,h=de(d,a);a&&(h._original=d),s.exports=h}return"messageOverrides"in i&&s.onLifecycle(()=>G(i,"messageOverrides",c)),t.blocking?(s.setProvisionalExports(r,!1),s.ready):r});function de(e,t){if(!t)return e;let o={...e};return Object.entries(t).forEach(([s,n])=>{typeof n=="object"?o[s]=de(e[s],n):o[s]=n??e[s]}),o}var Os=e=>Ao,le="arcgisPropertyChange";function Ao(...e){let t=O(),s=t[le];return t.manager.isLit&&(s=t.constructor.$createEvent(le,void 0,t)),t.manager.onLoad(()=>t.manager.onLifecycle(()=>e.map(n=>G(t,n,()=>s.emit({name:n}))))),s}var at=globalThis,ct=at.ShadowRoot&&(at.ShadyCSS===void 0||at.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,St=Symbol(),pe=new WeakMap,K=class{constructor(t,o,s){if(this._$cssResult$=!0,s!==St)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=o}get styleSheet(){let t=this.o,o=this.t;if(ct&&t===void 0){let s=o!==void 0&&o.length===1;s&&(t=pe.get(o)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),s&&pe.set(o,t))}return t}toString(){return this.cssText}},ue=e=>new K(typeof e=="string"?e:e+"",void 0,St),Lo=(e,...t)=>{let o=e.length===1?e[0]:t.reduce((s,n,r)=>s+(i=>{if(i._$cssResult$===!0)return i.cssText;if(typeof i=="number")return i;throw Error("Value passed to 'css' function must be a 'css' function result: "+i+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(n)+e[r+1],e[0]);return new K(o,e,St)},Tt=(e,t)=>{if(ct)e.adoptedStyleSheets=t.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet);else for(let o of t){let s=document.createElement("style"),n=at.litNonce;n!==void 0&&s.setAttribute("nonce",n),s.textContent=o.cssText,e.appendChild(s)}},lt=ct?e=>e:e=>e instanceof CSSStyleSheet?(t=>{let o="";for(let s of t.cssRules)o+=s.cssText;return ue(o)})(e):e;var kt=globalThis,ht=kt.trustedTypes,fe=ht?ht.createPolicy("lit-html",{createHTML:e=>e}):void 0,Dt="$lit$",x=`lit$${Math.random().toFixed(9).slice(2)}$`,Rt="?"+x,Oo=`<${Rt}>`,R=document,Y=()=>R.createComment(""),Q=e=>e===null||typeof e!="object"&&typeof e!="function",Ut=Array.isArray,be=e=>Ut(e)||typeof e?.[Symbol.iterator]=="function",Nt=`[
|
|
5
5
|
\f\r]`,J=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,me=/-->/g,ve=/>/g,k=RegExp(`>|${Nt}(?:([^\\s"'>=/]+)(${Nt}*=${Nt}*(?:[^
|
|
6
6
|
\f\r"'\`<>=]|("|')|))|$)`,"g"),ye=/'/g,ge=/"/g,_e=/^(?:script|style|textarea|title)$/i,It=e=>(t,...o)=>({_$litType$:e,strings:t,values:o}),ks=It(1),Ds=It(2),Rs=It(3),f=Symbol.for("lit-noChange"),u=Symbol.for("lit-nothing"),Ee=new WeakMap,D=R.createTreeWalker(R,129);function Ce(e,t){if(!Ut(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return fe!==void 0?fe.createHTML(t):t}var we=(e,t)=>{let o=e.length-1,s=[],n,r=t===2?"<svg>":t===3?"<math>":"",i=J;for(let c=0;c<o;c++){let a=e[c],l,d,h=-1,m=0;for(;m<a.length&&(i.lastIndex=m,d=i.exec(a),d!==null);)m=i.lastIndex,i===J?d[1]==="!--"?i=me:d[1]!==void 0?i=ve:d[2]!==void 0?(_e.test(d[2])&&(n=RegExp("</"+d[2],"g")),i=k):d[3]!==void 0&&(i=k):i===k?d[0]===">"?(i=n??J,h=-1):d[1]===void 0?h=-2:(h=i.lastIndex-d[2].length,l=d[1],i=d[3]===void 0?k:d[3]==='"'?ge:ye):i===ge||i===ye?i=k:i===me||i===ve?i=J:(i=k,n=void 0);let y=i===k&&e[c+1].startsWith("/>")?" ":"";r+=i===J?a+Oo:h>=0?(s.push(l),a.slice(0,h)+Dt+a.slice(h)+x+y):a+x+(h===-2?c:y)}return[Ce(e,r+(e[o]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),s]},Z=class e{constructor({strings:t,_$litType$:o},s){let n;this.parts=[];let r=0,i=0,c=t.length-1,a=this.parts,[l,d]=we(t,o);if(this.el=e.createElement(l,s),D.currentNode=this.el.content,o===2||o===3){let h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(n=D.nextNode())!==null&&a.length<c;){if(n.nodeType===1){if(n.hasAttributes())for(let h of n.getAttributeNames())if(h.endsWith(Dt)){let m=d[i++],y=n.getAttribute(h).split(x),_=/([.?@])?(.*)/.exec(m);a.push({type:1,index:r,name:_[2],strings:y,ctor:_[1]==="."?pt:_[1]==="?"?ut:_[1]==="@"?ft:I}),n.removeAttribute(h)}else h.startsWith(x)&&(a.push({type:6,index:r}),n.removeAttribute(h));if(_e.test(n.tagName)){let h=n.textContent.split(x),m=h.length-1;if(m>0){n.textContent=ht?ht.emptyScript:"";for(let y=0;y<m;y++)n.append(h[y],Y()),D.nextNode(),a.push({type:2,index:++r});n.append(h[m],Y())}}}else if(n.nodeType===8)if(n.data===Rt)a.push({type:2,index:r});else{let h=-1;for(;(h=n.data.indexOf(x,h+1))!==-1;)a.push({type:7,index:r}),h+=x.length-1}r++}}static createElement(t,o){let s=R.createElement("template");return s.innerHTML=t,s}};function U(e,t,o=e,s){if(t===f)return t;let n=s!==void 0?o.o?.[s]:o.l,r=Q(t)?void 0:t._$litDirective$;return n?.constructor!==r&&(n?._$AO?.(!1),r===void 0?n=void 0:(n=new r(e),n._$AT(e,o,s)),s!==void 0?(o.o??=[])[s]=n:o.l=n),n!==void 0&&(t=U(e,n._$AS(e,t.values),n,s)),t}var dt=class{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:o},parts:s}=this._$AD,n=(t?.creationScope??R).importNode(o,!0);D.currentNode=n;let r=D.nextNode(),i=0,c=0,a=s[0];for(;a!==void 0;){if(i===a.index){let l;a.type===2?l=new z(r,r.nextSibling,this,t):a.type===1?l=new a.ctor(r,a.name,a.strings,this,t):a.type===6&&(l=new mt(r,this,t)),this._$AV.push(l),a=s[++c]}i!==a?.index&&(r=D.nextNode(),i++)}return D.currentNode=R,n}p(t){let o=0;for(let s of this._$AV)s!==void 0&&(s.strings!==void 0?(s._$AI(t,s,o),o+=s.strings.length-2):s._$AI(t[o])),o++}},z=class e{get _$AU(){return this._$AM?._$AU??this.v}constructor(t,o,s,n){this.type=2,this._$AH=u,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=s,this.options=n,this.v=n?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,o=this._$AM;return o!==void 0&&t?.nodeType===11&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=U(this,t,o),Q(t)?t===u||t==null||t===""?(this._$AH!==u&&this._$AR(),this._$AH=u):t!==this._$AH&&t!==f&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):be(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==u&&Q(this._$AH)?this._$AA.nextSibling.data=t:this.T(R.createTextNode(t)),this._$AH=t}$(t){let{values:o,_$litType$:s}=t,n=typeof s=="number"?this._$AC(t):(s.el===void 0&&(s.el=Z.createElement(Ce(s.h,s.h[0]),this.options)),s);if(this._$AH?._$AD===n)this._$AH.p(o);else{let r=new dt(n,this),i=r.u(this.options);r.p(o),this.T(i),this._$AH=r}}_$AC(t){let o=Ee.get(t.strings);return o===void 0&&Ee.set(t.strings,o=new Z(t)),o}k(t){Ut(this._$AH)||(this._$AH=[],this._$AR());let o=this._$AH,s,n=0;for(let r of t)n===o.length?o.push(s=new e(this.O(Y()),this.O(Y()),this,this.options)):s=o[n],s._$AI(r),n++;n<o.length&&(this._$AR(s&&s._$AB.nextSibling,n),o.length=n)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){let s=t.nextSibling;t.remove(),t=s}}setConnected(t){this._$AM===void 0&&(this.v=t,this._$AP?.(t))}},I=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,s,n,r){this.type=1,this._$AH=u,this._$AN=void 0,this.element=t,this.name=o,this._$AM=n,this.options=r,s.length>2||s[0]!==""||s[1]!==""?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=u}_$AI(t,o=this,s,n){let r=this.strings,i=!1;if(r===void 0)t=U(this,t,o,0),i=!Q(t)||t!==this._$AH&&t!==f,i&&(this._$AH=t);else{let c=t,a,l;for(t=r[0],a=0;a<r.length-1;a++)l=U(this,c[s+a],o,a),l===f&&(l=this._$AH[a]),i||=!Q(l)||l!==this._$AH[a],l===u?t=u:t!==u&&(t+=(l??"")+r[a+1]),this._$AH[a]=l}i&&!n&&this.j(t)}j(t){t===u?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},pt=class extends I{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===u?void 0:t}},ut=class extends I{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==u)}},ft=class extends I{constructor(t,o,s,n,r){super(t,o,s,n,r),this.type=5}_$AI(t,o=this){if((t=U(this,t,o,0)??u)===f)return;let s=this._$AH,n=t===u&&s!==u||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,r=t!==u&&(s===u||n);n&&this.element.removeEventListener(this.name,this,s),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},mt=class{constructor(t,o,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=s}get _$AU(){return this._$AM._$AU}_$AI(t){U(this,t)}},$e={M:Dt,P:x,A:Rt,C:1,L:we,R:dt,D:be,V:U,I:z,H:I,N:ut,U:ft,B:pt,F:mt},Po=kt.litHtmlPolyfillSupport;Po?.(Z,z),(kt.litHtmlVersions??=[]).push("3.2.0");var xe=(e,t,o)=>{let s=o?.renderBefore??t,n=s._$litPart$;if(n===void 0){let r=o?.renderBefore??null;s._$litPart$=n=new z(t.insertBefore(Y(),r),r,void 0,o??{})}return n._$AI(e),n};var{is:So,defineProperty:To,getOwnPropertyDescriptor:No,getOwnPropertyNames:ko,getOwnPropertySymbols:Do,getPrototypeOf:Ro}=Object,yt=globalThis,Ae=yt.trustedTypes,Uo=Ae?Ae.emptyScript:"",Io=yt.reactiveElementPolyfillSupport,X=(e,t)=>e,vt={toAttribute(e,t){switch(t){case Boolean:e=e?Uo:null;break;case Object:case Array:e=e==null?e:JSON.stringify(e)}return e},fromAttribute(e,t){let o=e;switch(t){case Boolean:o=e!==null;break;case Number:o=e===null?null:Number(e);break;case Object:case Array:try{o=JSON.parse(e)}catch{o=null}}return o}},Mt=(e,t)=>!So(e,t),Le={attribute:!0,type:String,converter:vt,reflect:!1,hasChanged:Mt};Symbol.metadata??=Symbol("metadata"),yt.litPropertyMetadata??=new WeakMap;var A=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,o=Le){if(o.state&&(o.attribute=!1),this._$Ei(),this.elementProperties.set(t,o),!o.noAccessor){let s=Symbol(),n=this.getPropertyDescriptor(t,s,o);n!==void 0&&To(this.prototype,t,n)}}static getPropertyDescriptor(t,o,s){let{get:n,set:r}=No(this.prototype,t)??{get(){return this[o]},set(i){this[o]=i}};return{get(){return n?.call(this)},set(i){let c=n?.call(this);r.call(this,i),this.requestUpdate(t,c,s)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??Le}static _$Ei(){if(this.hasOwnProperty(X("elementProperties")))return;let t=Ro(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(X("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(X("properties"))){let o=this.properties,s=[...ko(o),...Do(o)];for(let n of s)this.createProperty(n,o[n])}let t=this[Symbol.metadata];if(t!==null){let o=litPropertyMetadata.get(t);if(o!==void 0)for(let[s,n]of o)this.elementProperties.set(s,n)}this._$Eh=new Map;for(let[o,s]of this.elementProperties){let n=this._$Eu(o,s);n!==void 0&&this._$Eh.set(n,o)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){let o=[];if(Array.isArray(t)){let s=new Set(t.flat(1/0).reverse());for(let n of s)o.unshift(lt(n))}else t!==void 0&&o.push(lt(t));return o}static _$Eu(t,o){let s=o.attribute;return s===!1?void 0:typeof s=="string"?s:typeof t=="string"?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise(t=>this.enableUpdating=t),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach(t=>t(this))}addController(t){(this._$EO??=new Set).add(t),this.renderRoot!==void 0&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$EO?.delete(t)}_$E_(){let t=new Map,o=this.constructor.elementProperties;for(let s of o.keys())this.hasOwnProperty(s)&&(t.set(s,this[s]),delete this[s]);t.size>0&&(this._$Ep=t)}createRenderRoot(){let t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return Tt(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach(t=>t.hostConnected?.())}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach(t=>t.hostDisconnected?.())}attributeChangedCallback(t,o,s){this._$AK(t,s)}_$EC(t,o){let s=this.constructor.elementProperties.get(t),n=this.constructor._$Eu(t,s);if(n!==void 0&&s.reflect===!0){let r=(s.converter?.toAttribute!==void 0?s.converter:vt).toAttribute(o,s.type);this._$Em=t,r==null?this.removeAttribute(n):this.setAttribute(n,r),this._$Em=null}}_$AK(t,o){let s=this.constructor,n=s._$Eh.get(t);if(n!==void 0&&this._$Em!==n){let r=s.getPropertyOptions(n),i=typeof r.converter=="function"?{fromAttribute:r.converter}:r.converter?.fromAttribute!==void 0?r.converter:vt;this._$Em=n,this[n]=i.fromAttribute(o,r.type),this._$Em=null}}requestUpdate(t,o,s){if(t!==void 0){if(s??=this.constructor.getPropertyOptions(t),!(s.hasChanged??Mt)(this[t],o))return;this.P(t,o,s)}this.isUpdatePending===!1&&(this._$ES=this._$ET())}P(t,o,s){this._$AL.has(t)||this._$AL.set(t,o),s.reflect===!0&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$ET(){this.isUpdatePending=!0;try{await this._$ES}catch(o){Promise.reject(o)}let t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[n,r]of this._$Ep)this[n]=r;this._$Ep=void 0}let s=this.constructor.elementProperties;if(s.size>0)for(let[n,r]of s)r.wrapped!==!0||this._$AL.has(n)||this[n]===void 0||this.P(n,this[n],r)}let t=!1,o=this._$AL;try{t=this.shouldUpdate(o),t?(this.willUpdate(o),this._$EO?.forEach(s=>s.hostUpdate?.()),this.update(o)):this._$EU()}catch(s){throw t=!1,this._$EU(),s}t&&this._$AE(o)}willUpdate(t){}_$AE(t){this._$EO?.forEach(o=>o.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach(o=>this._$EC(o,this[o])),this._$EU()}updated(t){}firstUpdated(t){}};A.elementStyles=[],A.shadowRootOptions={mode:"open"},A[X("elementProperties")]=new Map,A[X("finalized")]=new Map,Io?.({ReactiveElement:A}),(yt.reactiveElementVersions??=[]).push("2.0.4");var L=class extends A{constructor(){super(...arguments),this.renderOptions={host:this},this.o=void 0}createRenderRoot(){let t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){let o=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this.o=xe(o,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this.o?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this.o?.setConnected(!1)}render(){return f}};L._$litElement$=!0,L.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:L});var Mo=globalThis.litElementPolyfillSupport;Mo?.({LitElement:L});(globalThis.litElementVersions??=[]).push("4.1.0");var b={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},M=e=>(...t)=>({_$litDirective$:e,values:t}),P=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,o,s){this.t=t,this._$AM=o,this.i=s}_$AS(t,o){return this.update(t,o)}update(t,o){return this.render(...o)}};var Se=M(class extends P{constructor(e){if(super(e),e.type!==b.ATTRIBUTE||e.name!=="class"||e.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(e){return" "+Object.keys(e).filter(t=>e[t]).join(" ")+" "}update(e,[t]){if(this.st===void 0){this.st=new Set,e.strings!==void 0&&(this.nt=new Set(e.strings.join(" ").split(/\s/).filter(s=>s!=="")));for(let s in t)t[s]&&!this.nt?.has(s)&&this.st.add(s);return this.render(t)}let o=e.element.classList;for(let s of this.st)s in t||(o.remove(s),this.st.delete(s));for(let s in t){let n=!!t[s];n===this.st.has(s)||this.nt?.has(s)||(n?(o.add(s),this.st.add(s)):(o.remove(s),this.st.delete(s)))}return f}});var Te="important",Vo=" !"+Te,Ne=M(class extends P{constructor(e){if(super(e),e.type!==b.ATTRIBUTE||e.name!=="style"||e.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(e){return Object.keys(e).reduce((t,o)=>{let s=e[o];return s==null?t:t+`${o=o.includes("-")?o:o.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${s};`},"")}update(e,[t]){let{style:o}=e.element;if(this.ft===void 0)return this.ft=new Set(Object.keys(t)),this.render(t);for(let s of this.ft)t[s]==null&&(this.ft.delete(s),s.includes("-")?o.removeProperty(s):o[s]=null);for(let s in t){let n=t[s];if(n!=null){this.ft.add(s);let r=typeof n=="string"&&n.endsWith(Vo);s.includes("-")||r?o.setProperty(s,r?n.slice(0,-11):n,r?Te:""):o[s]=n}}return f}});var{I:zn}=$e;var ke=e=>e.strings===void 0;var zo={},De=(e,t=zo)=>e._$AH=t;var Ho=M(class extends P{constructor(e){if(super(e),e.type!==b.PROPERTY&&e.type!==b.ATTRIBUTE&&e.type!==b.BOOLEAN_ATTRIBUTE)throw Error("The `live` directive is not allowed on child or event bindings");if(!ke(e))throw Error("`live` bindings can only contain a single expression")}render(e){return e}update(e,[t]){if(t===f||t===u)return t;let o=e.element,s=e.name;if(e.type===b.PROPERTY){if(t===o[s])return f}else if(e.type===b.BOOLEAN_ATTRIBUTE){if(!!t===o.hasAttribute(s))return f}else if(e.type===b.ATTRIBUTE&&o.getAttribute(s)===t+"")return f;return De(e),t}});var Re=(e="",t={},o=O())=>{let s={emit:n=>{e===""&&F();let r=new CustomEvent(e,{detail:n,cancelable:!0,bubbles:!0,composed:!0,...t});return o.el.dispatchEvent(r),r}};return e===""&&it(void 0,n=>{e=n.key},s),s},tr=Re.bind(null,"");var qo=()=>{},Bo=class Ue extends L{constructor(){super(),this.el=this.constructor.lazy??this,this.manager=he(this),this._postLoad=this.constructor.lazy?._postLoad??new E,this._offspring=this.constructor.lazy?._offspring??[],this._postLoaded=this.constructor.lazy?._postLoaded??new E,this._enableUpdating=this.enableUpdating,this.enableUpdating=qo;let t=Ue.prototype.shouldUpdate;this.shouldUpdate!==t&&(this._originalShouldUpdate=this.shouldUpdate,this.shouldUpdate=t),!1}static finalizeStyles(t){let o=super.finalizeStyles(t),s=this.shadowRootOptions===Ct;return this.runtime?.commonStyles===void 0||s?o:[this.runtime.commonStyles,...o]}static createProperty(t,o){let s=typeof o=="number"?o:Array.isArray(o)?o[0]:0,n=Array.isArray(o)?o[1]:void 0;super.createProperty(t,{attribute:s&1&&typeof t=="string"?et(t):!1,reflect:!!(s&2),type:s&4?Boolean:s&8?Number:void 0,state:!!(s&16),readOnly:!!(s&32),noAccessor:!!(s&64),...n})}static{this.lumina=!0}connectedCallback(){if(this.el.hasAttribute("defer-hydration"))return;let t=!this.manager.connectedCalled;super.connectedCallback(),t&&queueMicrotask(()=>this._load().catch(o=>{this._postLoaded.reject(o),setTimeout(()=>{throw o})}))}createRenderRoot(){let t=this.el.shadowRoot,o=this.constructor,s=o.shadowRootOptions,r=t??(s===Ct?this.el:this.el.attachShadow(s));if(Object.defineProperty(this,"shadowRoot",{value:r}),t)return L.prototype.createRenderRoot.call(this),t;if(this.isConnected){let i=r.getRootNode();i.adoptedStyleSheets=[...i.adoptedStyleSheets,...o.elementStyles.map(c=>"styleSheet"in c?c.styleSheet:c)]}return r}async _load(){let t=this.el._ancestorLoad??_t(this.el);t&&await t,await this.manager._load(),this._enableUpdating(!0),this.performUpdate(),this._postLoad.resolve(),await Promise.resolve();let o=this._offspring.filter(s=>!s.manager?.loadedCalled);o.length&&await Promise.allSettled(o.map(async s=>await s.componentOnReady())),this._offspring.length=0,this.el.setAttribute(this.constructor.runtime.hydratedAttribute,""),this.manager._loaded(),this._postLoaded.resolve()}shouldUpdate(t){return this.$changes=t,this._originalShouldUpdate?.(t)??!0}listen(t,o,s){let n=o?.bind(this)??o;this.manager.onLifecycle(()=>(this.el.addEventListener(t,n,s),()=>this.el.removeEventListener(t,n,s)))}listenOn(t,o,s,n){let r=s?.bind(this)??s;this.manager.onLifecycle(()=>(t.addEventListener(o,r,n),()=>t.removeEventListener(o,r,n)))}async componentOnReady(){return await this._postLoaded.promise,this}};Bo.$createEvent=Re;function Ie(e){let t,o=n=>{t=new URL(n,globalThis.location?.href||void 0).href},s={...e,getAssetPath(n){let r=new URL(n,t);return r.origin!==globalThis.location?.origin?r.href:r.pathname},setAssetPath:o,customElement(n,r){r.runtime=s,r.tagName=n,customElements.get(n)||customElements.define(n,r)}};return o(e.defaultAssetPath),s}var dr=e=>typeof e=="object"&&e!=null?Se(e):e,pr=e=>typeof e=="object"&&e!=null?Ne(e):e;var fr=u;var Fo=Ie({defaultAssetPath:"https://jsdev.arcgis.com/map-components/next/",hydratedAttribute:"hydrated"}),{customElement:yr,getAssetPath:gr,setAssetPath:Er}=Fo;export{Go as a,Ko as b,et as c,qt as d,Bt as e,Xe as f,Ct as g,O as h,oe as i,G as j,re as k,it as l,ho as m,po as n,ae as o,Ls as p,Os as q,Lo as r,ks as s,Ds as t,Rs as u,u as v,b as w,M as x,P as y,ke as z,tr as A,Bo as B,dr as C,pr as D,fr as E,Fo as F,yr as G,gr as H};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.
|
|
4
|
-
import{a as c}from"./
|
|
3
|
+
v4.33.0-next.21 */
|
|
4
|
+
import{a as c}from"./K7IDPYK5.js";import{b as d}from"./ZNQIHP6C.js";import{b as h,c as l,i as n}from"./LQLME3NQ.js";import{A as a,B as o,G as r,g as i,s}from"./MIRRCVJ6.js";var m=await $arcgis.l("widgets/UtilityNetworkValidateTopology");var e=class extends o{constructor(){super(...arguments),this._watchHandles=[],this.extentToValidate="current",this.position="bottom-left",this.arcgisReady=a()}static{this.properties={extentToValidate:1,position:1,referenceElement:1,utilityNetwork:0,view:0,widget:0}}static{this.shadowRootOptions=i}willUpdate(t){t.has("referenceElement")&&this.referenceElementWatcher(this.referenceElement),t.has("extentToValidate")&&this.extentToValidateWatcher(this.extentToValidate),t.has("utilityNetwork")&&this.utilityNetworkWatcher(this.utilityNetwork),t.has("position")&&this.positionWatcher(this.position),t.has("view")&&this.viewWatcher(this.view)}async loaded(){let t=this._createParams(),w=new m(t);this.widget=w,this._addContainer(),l(this),h(this)}disconnectedCallback(){super.disconnectedCallback(),c(this)}referenceElementWatcher(t){n(this,t)}extentToValidateWatcher(t){this.widget&&(this.widget.extentToValidate=t)}utilityNetworkWatcher(t){this.widget&&t&&(this.widget.utilityNetwork=t)}positionWatcher(t){t!==void 0&&this.widget&&this.el.childElem&&this.view.ui?.move(this.el.childElem,t)}viewWatcher(t){t!==void 0&&this.widget&&(this.widget.view=t,this._loadUtilityNetwork())}_addContainer(){this.widget.container=this.el.childElem}_createParams(){let t={};return this.extentToValidate!==void 0&&(t.extentToValidate=this.extentToValidate),this.utilityNetwork!==void 0&&(t.utilityNetwork=this.utilityNetwork),t}async _loadUtilityNetwork(){if(this.view?.map&&this.view.map.portalItem){await this.view.map.load();let t=this.view.map.utilityNetworks?.getItemAt(0);await t?.load(),this.utilityNetwork=t}}_setChildElement(t){this.el.childElem=t}render(){return s`<div ${d(this._setChildElement)}></div>`}};r("arcgis-utility-network-validate-topology",e);export{e as ArcgisUtilityNetworkValidateTopology};
|