@arcgis/map-components 4.33.0-next.21 → 4.33.0-next.22
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/{EKOQLGTL.js → 2CANY3GG.js} +2 -2
- package/dist/arcgis-map-components/{BXHLHYHZ.js → 2US5NGWW.js} +2 -2
- package/dist/arcgis-map-components/{OH2QZKQA.js → 3ECY4JW5.js} +2 -2
- package/dist/arcgis-map-components/{ATJVKOCH.js → 3WAWJY6B.js} +2 -2
- package/dist/arcgis-map-components/{CZVTJFGM.js → 42XQ26EC.js} +2 -2
- package/dist/arcgis-map-components/{FRJLIYBH.js → 5KDHKJIS.js} +2 -2
- package/dist/arcgis-map-components/{VWPQFSRX.js → 7XEEISGB.js} +2 -2
- package/dist/arcgis-map-components/{CMXHVDLU.js → AQP42PP2.js} +2 -2
- package/dist/arcgis-map-components/{WZZ3QJPP.js → AVZDSLGZ.js} +2 -2
- package/dist/arcgis-map-components/{EN2XQ7RN.js → BBMXKIS7.js} +2 -2
- package/dist/arcgis-map-components/{JM464NHJ.js → BQ4QPOAA.js} +2 -2
- package/dist/arcgis-map-components/{DYQK4E74.js → BRRPE2EV.js} +2 -2
- package/dist/arcgis-map-components/{LACPFEXG.js → CW7V7FU4.js} +2 -2
- package/dist/arcgis-map-components/{A53PTAT3.js → DZFOI7SW.js} +2 -2
- package/dist/arcgis-map-components/{UZIXG5PB.js → EDCZJ46T.js} +1 -1
- package/dist/arcgis-map-components/{MIRRCVJ6.js → EUPMNEWI.js} +1 -1
- package/dist/arcgis-map-components/{4U7AHGNX.js → FK2WUU46.js} +2 -2
- package/dist/arcgis-map-components/{LKLKFSG5.js → GCIHDP6N.js} +1 -1
- package/dist/arcgis-map-components/{HI7MIT4J.js → GLSJI5KG.js} +2 -2
- package/dist/arcgis-map-components/{SRLRYRW5.js → GWQEETRE.js} +2 -2
- package/dist/arcgis-map-components/{4GMBMMB6.js → H3JT6BB7.js} +2 -2
- package/dist/arcgis-map-components/{NHNM64BW.js → H6JCJ7WF.js} +2 -2
- package/dist/arcgis-map-components/{UOML4XNC.js → H7R2XZQJ.js} +2 -2
- package/dist/arcgis-map-components/{SMJVCE3V.js → HLJJXX3U.js} +2 -2
- package/dist/arcgis-map-components/{GADW2L73.js → IGOZK6VT.js} +2 -2
- package/dist/arcgis-map-components/{LPT6CDYF.js → JSQD7YWG.js} +2 -2
- package/dist/arcgis-map-components/{ZNQIHP6C.js → KS35OIMW.js} +2 -2
- package/dist/arcgis-map-components/{UJFVOLRU.js → KWUGZKUG.js} +2 -2
- package/dist/arcgis-map-components/{VO47GHKQ.js → LBZYUBIK.js} +2 -2
- package/dist/arcgis-map-components/{BTU6NGHK.js → MI4SJJFK.js} +2 -2
- package/dist/arcgis-map-components/{STSORLOJ.js → NEJVINI3.js} +2 -2
- package/dist/arcgis-map-components/{FLPU6RNE.js → NUFATRWW.js} +2 -2
- package/dist/arcgis-map-components/{G6CGVGXG.js → NVXFEO7P.js} +2 -2
- package/dist/arcgis-map-components/{7ST634F3.js → NX4U4F3H.js} +2 -2
- package/dist/arcgis-map-components/{I45U6ELM.js → NYHELCZ7.js} +2 -2
- package/dist/arcgis-map-components/{JCEHRVEA.js → O62YXFOR.js} +2 -2
- package/dist/arcgis-map-components/{ZP7EQPQR.js → OBA7FMUC.js} +2 -2
- package/dist/arcgis-map-components/{EB7KYHWF.js → OKAYXC7Y.js} +2 -2
- package/dist/arcgis-map-components/{JN54XSAB.js → OQPFCQX5.js} +2 -2
- package/dist/arcgis-map-components/{N7T24K5G.js → P2AEV3EA.js} +2 -2
- package/dist/arcgis-map-components/{K7IDPYK5.js → P2THLGD4.js} +2 -2
- package/dist/arcgis-map-components/{6YHLI5BQ.js → PHDTVRAJ.js} +2 -2
- package/dist/arcgis-map-components/{KD43VN77.js → PMRY5J3S.js} +2 -2
- package/dist/arcgis-map-components/{FOBNRWZS.js → PRGQIQPX.js} +2 -2
- package/dist/arcgis-map-components/{WSWOZYVY.js → PSOTP7A3.js} +2 -2
- package/dist/arcgis-map-components/{5DXMXSQA.js → PYSK7TSC.js} +2 -2
- package/dist/arcgis-map-components/{5H6I5J5K.js → PYZ35632.js} +2 -2
- package/dist/arcgis-map-components/{SXZH45WV.js → Q72OPSY5.js} +2 -2
- package/dist/arcgis-map-components/{2ZYSSQPU.js → QOTLA6ZH.js} +2 -2
- package/dist/arcgis-map-components/{CK46PPNS.js → QRHGNRLI.js} +2 -2
- package/dist/arcgis-map-components/{E6XWTILM.js → R3CYRK4B.js} +2 -2
- package/dist/arcgis-map-components/{6DW36IHU.js → SCGQVCLY.js} +2 -2
- package/dist/arcgis-map-components/{UAEU5BVV.js → SK7L274K.js} +2 -2
- package/dist/arcgis-map-components/{OPBH2EPL.js → TQPZLLQK.js} +2 -2
- package/dist/arcgis-map-components/{3XUJY5LN.js → UBV64IQA.js} +2 -2
- package/dist/arcgis-map-components/{4US3LGDD.js → ULCSVNP3.js} +2 -2
- package/dist/arcgis-map-components/{6L3EAMLF.js → UNFZPNXR.js} +2 -2
- package/dist/arcgis-map-components/{TQM6IZCE.js → VCIT4MH4.js} +2 -2
- package/dist/arcgis-map-components/{EB6CML5U.js → VENPT6TE.js} +2 -2
- package/dist/arcgis-map-components/{DZ3J2RHM.js → VG7NQJJD.js} +2 -2
- package/dist/arcgis-map-components/{3B7S3A3T.js → VK267XIQ.js} +2 -2
- package/dist/arcgis-map-components/{MGRSV6P5.js → VVWOJMUB.js} +2 -2
- package/dist/arcgis-map-components/{U3U6KY7Q.js → W5F7LAHS.js} +2 -2
- package/dist/arcgis-map-components/{W2TGNSPV.js → W6QJI2NO.js} +2 -2
- package/dist/arcgis-map-components/{3ZCKVBYY.js → WWESTEOV.js} +2 -2
- package/dist/arcgis-map-components/{AK7YPI53.js → X5G2M7AM.js} +2 -2
- package/dist/arcgis-map-components/{XZ3S2U5W.js → XAPK5SCF.js} +2 -2
- package/dist/arcgis-map-components/{LQLME3NQ.js → XDM7VS6Z.js} +1 -1
- package/dist/arcgis-map-components/{5I575NM5.js → XTN2MTMP.js} +2 -2
- package/dist/arcgis-map-components/{SRNHQ34Y.js → YE364IAD.js} +2 -2
- package/dist/arcgis-map-components/{OEY36JB6.js → YEUZ3PID.js} +2 -2
- package/dist/arcgis-map-components/{PTCUIFAF.js → YN3OZQXF.js} +2 -2
- package/dist/arcgis-map-components/{G5V2XYQE.js → ZGB6WBXS.js} +2 -2
- package/dist/arcgis-map-components/{HB75XBYV.js → ZGDFXLWR.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 +6 -6
- package/dist/docs/docs.json +14 -14
- package/dist/docs/web-types.json +5 -5
- 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,c,d as t}from"./
|
|
3
|
+
v4.33.0-next.22 */
|
|
4
|
+
import{a,c,d as t}from"./H6JCJ7WF.js";import{f as v,g as r}from"./XDM7VS6Z.js";import{A as s,B as w,G as p,g as o,r as n}from"./EUPMNEWI.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.22 */
|
|
4
|
+
import{a as n}from"./OKAYXC7Y.js";import"./H6JCJ7WF.js";import"./XDM7VS6Z.js";import{A as o,B as a,G as r,g as s,q as i,r as e}from"./EUPMNEWI.js";var h=await $arcgis.l("widgets/DistanceMeasurement2D");var c=e`@layer{arcgis-distance-measurement-2d{display:block}}`,m=n(h),t=class extends a{constructor(){super(...arguments),this.widget=m(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.icon=this.widget.icon,this.label=this.widget.label,this.position="bottom-left",this.state=this.viewModel.state,this.unit=this.widget.unit,this.unitOptions=this.widget.unitOptions,this.arcgisPropertyChange=i()("state"),this.arcgisReady=o()}static{this.properties={autoDestroyDisabled:5,icon:1,label:1,position:1,referenceElement:1,state:3,unit:1,unitOptions:0}}static{this.shadowRootOptions=s}static{this.styles=c}async destroy(){await this.manager.destroy()}};r("arcgis-distance-measurement-2d",t);export{t as ArcgisDistanceMeasurement2d};
|
|
@@ -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.22 */
|
|
4
|
+
import{a as l}from"./OKAYXC7Y.js";import"./H6JCJ7WF.js";import"./XDM7VS6Z.js";import{A as r,B as d,G as n,g as a,q as s,r as o}from"./EUPMNEWI.js";var[h,g]=await $arcgis.l(["layers/OrientedImageryLayer","widgets/OrientedImageryViewer"]);var m=o`@layer{arcgis-oriented-imagery-viewer{display:block}}`,y=l(g),i=class extends d{constructor(){super(...arguments),this.widget=y(this),this._hasOrientedImageryLayerToAdd=!1,this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.currentCoverageVisible=this.widget.currentCoverageVisible,this.disabled=this.widget.disabled,this.galleryOpened=this.widget.galleryOpened,this.icon=this.widget.icon,this.imageEnhancementToolActive=this.widget.imageEnhancementToolActive,this.imageGalleryEnabled=this.widget.imageGalleryEnabled,this.isAdditionalCoverageVisible=this.widget.isAdditionalCoverageVisible,this.isAdditionalPointSourcesVisible=this.widget.isAdditionalPointSourcesVisible,this.label=this.widget.label,this.layer=this.widget.layer,this.mapImageConversionToolState=this.widget.mapImageConversionToolState,this.navigationToolActive=this.widget.navigationToolActive,this.position="bottom-left",this.referencePoint=this.widget.referencePoint,this.arcgisPropertyChange=s()("imageGalleryEnabled","layer"),this.arcgisReady=r()}static{this.properties={autoDestroyDisabled:5,currentCoverageVisible:5,disabled:5,galleryOpened:5,icon:1,imageEnhancementToolActive:5,imageGalleryEnabled:4,isAdditionalCoverageVisible:5,isAdditionalPointSourcesVisible:5,label:1,layer:0,mapImageConversionToolState:5,navigationToolActive:5,orientedImageryLayerItemId:1,position:1,referenceElement:1,referencePoint:0}}static{this.shadowRootOptions=a}static{this.styles=m}async destroy(){await this.manager.destroy()}willUpdate(e){if(e.has("orientedImageryLayerItemId")){let t=this.orientedImageryLayerItemId;t&&this.widget&&(this.layer=new h({portalItem:{id:t}}),this.widget.view?this.widget.view.map.add(this.layer):this._hasOrientedImageryLayerToAdd=!0)}}loaded(){this._hasOrientedImageryLayerToAdd&&(this.widget.view?this._onReady():this.el.addEventListener("arcgisReady",()=>{this._onReady()},{once:!0}))}_onReady(){let{layer:e}=this;e&&(this.widget.view?.map.add(e),this._hasOrientedImageryLayerToAdd=!1)}};n("arcgis-oriented-imagery-viewer",i);export{i as ArcgisOrientedImageryViewer};
|
|
@@ -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.22 */
|
|
4
|
+
import{a as n}from"./OKAYXC7Y.js";import"./H6JCJ7WF.js";import"./XDM7VS6Z.js";import{A as a,B as o,G as r,g as s,q as i,r as e}from"./EUPMNEWI.js";var h=await $arcgis.l("widgets/AreaMeasurement3D");var l=e`@layer{arcgis-area-measurement-3d{display:block}}`,c=n(h),t=class extends o{constructor(){super(...arguments),this.widget=c(this),this.viewModel=this.widget.viewModel,this.analysis=this.widget.analysis,this.autoDestroyDisabled=!1,this.icon=this.widget.icon,this.label=this.widget.label,this.position="bottom-left",this.state=this.viewModel.state,this.unit=this.widget.unit,this.unitOptions=this.widget.unitOptions,this.arcgisPropertyChange=i()("analysis","state"),this.arcgisReady=a()}static{this.properties={analysis:0,autoDestroyDisabled:5,icon:1,label:1,position:1,referenceElement:1,state:3,unit:1,unitOptions:0}}static{this.shadowRootOptions=s}static{this.styles=l}async clear(){this.widget?.viewModel.clear()}async destroy(){await this.manager.destroy()}async start(){this.widget?.viewModel.start()}};r("arcgis-area-measurement-3d",t);export{t as ArcgisAreaMeasurement3d};
|
|
@@ -1,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.22 */
|
|
4
|
+
import{a as g}from"./OKAYXC7Y.js";import{d as i}from"./H6JCJ7WF.js";import{d as r}from"./XDM7VS6Z.js";import{A as s,B as d,G as a,g as o,q as n,r as h}from"./EUPMNEWI.js";var[m,u]=await $arcgis.l(["layers/Layer","widgets/FeatureTable"]);var w=h`@layer{arcgis-feature-table{display:block}.arcgis-feature-table{width:100%;height:100%}}`,b=g(u),l=class extends d{constructor(){super(...arguments),this.widget=b(this),this.viewModel=this.widget.viewModel,this.attributeTableTemplate=this.widget.attributeTableTemplate,this.actionColumnConfig=this.widget.actionColumnConfig,this.activeFilters=this.widget.activeFilters,this.activeSortOrders=this.widget.activeSortOrders,this.allRelatedTablesVisible=this.widget.allRelatedTablesVisible,this.attachmentsEnabled=this.widget.attachmentsEnabled,this.autoDestroyDisabled=!1,this.autoRefreshDisabled=this.widget.autoRefreshEnabled,this.columnReorderingDisabled=this.widget.columnReorderingEnabled,this.columns=this.widget.columns,this.description=this.widget.description,this.editingEnabled=this.widget.editingEnabled,this.effectiveSize=this.widget.effectiveSize,this.filterBySelectionEnabled=this.widget.filterBySelectionEnabled,this.filterGeometry=this.widget.filterGeometry,this.hideColumnDescriptions=this.widget.visibleElements.columnDescriptions,this.hiddenFields=this.widget.hiddenFields,this.hideColumnMenuItemsSortAscending=this.widget.visibleElements.columnMenuItems.sortAscending,this.hideColumnMenuItemsSortDescending=this.widget.visibleElements.columnMenuItems.sortDescending,this.hideColumnMenus=this.widget.visibleElements.columnMenus,this.hideHeader=this.widget.visibleElements.header,this.hideMenu=this.widget.visibleElements.menu,this.hideMenuItemsClearSelection=this.widget.visibleElements.menuItems.clearSelection,this.hideMenuItemsDeleteSelection=this.widget.visibleElements.menuItems.deleteSelection,this.hideMenuItemsExportSelectionToCsv=this.widget.visibleElements.menuItems.exportSelectionToCSV,this.hideMenuItemsRefreshData=this.widget.visibleElements.menuItems.refreshData,this.hideMenuItemsSelectedRecordsShowAllToggle=this.widget.visibleElements.menuItems.selectedRecordsShowAllToggle,this.hideMenuItemsSelectedRecordsShowSelectedToggle=this.widget.visibleElements.menuItems.selectedRecordsShowSelectedToggle,this.hideMenuItemsToggleColumns=this.widget.visibleElements.menuItems.toggleColumns,this.hideMenuItemsZoomToSelection=this.widget.visibleElements.menuItems.zoomToSelection,this.hideProgress=this.widget.visibleElements.progress,this.hideSelectionColumn=this.widget.visibleElements.selectionColumn,this.hideTooltips=this.widget.visibleElements.tooltips,this.highlightDisabled=this.widget.highlightEnabled,this.highlightIds=this.widget.highlightIds,this.initialSize=this.widget.initialSize,this.icon=this.widget.icon,this.isQueryingOrSyncing=this.widget.isQueryingOrSyncing,this.label=this.widget.label,this.layer=this.widget.layer,this.layerView=this.widget.layerView,this.layers=this.widget.layers,this.maxSize=this.widget.maxSize,this.menuConfig=this.widget.menuConfig,this.multipleSelectionDisabled=this.widget.multipleSelectionEnabled,this.multipleSortEnabled=this.widget.multiSortEnabled,this.objectIds=this.widget.objectIds,this.outFields=this.widget.outFields,this.pageCount=this.widget.pageCount,this.pageIndex=this.widget.pageIndex,this.pageSize=this.widget.pageSize,this.paginationEnabled=this.widget.paginationEnabled,this.position="manual",this.relatedRecordsEnabled=this.widget.relatedRecordsEnabled,this.relatedTable=this.widget.relatedTable,this.relatedTables=this.widget.relatedTables,this.returnGeometryEnabled=this.widget.returnGeometryEnabled,this.returnMEnabled=this.widget.returnMEnabled,this.returnZEnabled=this.widget.returnZEnabled,this.rowHighlightIds=this.widget.rowHighlightIds,this.size=this.widget.size,this.showLayerDropdown=this.widget.visibleElements.layerDropdown,this.state=this.widget.state,this.tableController=this.widget.tableController,this.tableDisabled=this.widget.disabled,this.tableParent=this.widget.tableParent,this.tableTemplate=this.widget.tableTemplate,this.timeExtent=this.widget.timeExtent,this.timeZone=this.widget.timeZone,this.arcgisCellClick=i(()=>this.widget,"cell-click"),this.arcgisCellKeydown=i(()=>this.widget,"cell-keydown"),this.arcgisCellPointerout=i(()=>this.widget,"cell-pointerout"),this.arcgisCellPointerover=i(()=>this.widget,"cell-pointerover"),this.arcgisColumnReorder=i(()=>this.widget,"column-reorder"),this.arcgisPropertyChange=n()("effectiveSize","isQueryingOrSyncing","layerView","size","state"),this.arcgisReady=s(),this.arcgisSelectionChange=s()}static{this.properties={attributeTableTemplate:0,actionColumnConfig:0,activeFilters:0,activeSortOrders:0,allRelatedTablesVisible:4,attachmentsEnabled:5,autoDestroyDisabled:5,autoRefreshDisabled:5,columnReorderingDisabled:5,columns:0,description:1,editingEnabled:5,effectiveSize:8,filterBySelectionEnabled:5,filterGeometry:0,hideColumnDescriptions:5,hiddenFields:0,hideColumnMenuItemsSortAscending:5,hideColumnMenuItemsSortDescending:5,hideColumnMenus:5,hideHeader:5,hideMenu:5,hideMenuItemsClearSelection:5,hideMenuItemsDeleteSelection:5,hideMenuItemsExportSelectionToCsv:5,hideMenuItemsRefreshData:5,hideMenuItemsSelectedRecordsShowAllToggle:5,hideMenuItemsSelectedRecordsShowSelectedToggle:5,hideMenuItemsToggleColumns:5,hideMenuItemsZoomToSelection:5,hideProgress:5,hideSelectionColumn:5,hideTooltips:5,highlightDisabled:5,highlightIds:0,initialSize:9,icon:1,isQueryingOrSyncing:4,label:1,layer:0,layerItemId:1,layerUrl:1,layerView:0,layers:0,maxSize:9,menuConfig:0,multipleSelectionDisabled:5,multipleSortEnabled:5,objectIds:0,outFields:0,pageCount:8,pageIndex:9,pageSize:9,paginationEnabled:5,position:1,referenceElement:1,relatedRecordsEnabled:5,relatedTable:0,relatedTables:0,returnGeometryEnabled:5,returnMEnabled:5,returnZEnabled:5,rowHighlightIds:0,size:8,showLayerDropdown:5,state:3,tableController:0,tableDisabled:5,tableParent:0,tableTemplate:0,timeExtent:0,timeZone:1}}static{this.shadowRootOptions=o}static{this.styles=w}async deleteSelection(e){await this.widget?.deleteSelection(e)}async destroy(){await this.manager.destroy()}async exportSelectionToCSV(e){await this.widget?.exportSelectionToCSV(e)}async findColumn(e){return this.widget?.findColumn(e)}async goToPage(e){this.widget.goToPage(e)}async hideColumn(e){this.widget?.hideColumn(e)}async nextPage(){this.widget.nextPage()}async previousPage(){this.widget.previousPage()}async refresh(){await this.widget?.refresh()}async scrollToBottom(){this.widget.scrollToBottom()}async scrollToIndex(e){this.widget?.scrollToIndex(e)}async scrollToLeft(){this.widget.scrollLeft()}async scrollToRow(e){this.widget?.scrollToRow(e)}async scrollToTop(){this.widget.scrollToTop()}async showAllColumns(){this.widget?.showAllColumns()}async showColumn(e){this.widget?.showColumn(e)}async sortColumn(e,t){this.widget?.sortColumn(e,t)}async zoomToSelection(){this.widget?.zoomToSelection()}load(){this.manager.onLifecycle(()=>this.widget.highlightIds.on("change",this.arcgisSelectionChange.emit))}willUpdate(e){if(e.has("layerItemId")&&(r(this.layerItemId)?this.layer=null:this.layerItemId&&m.fromPortalItem({portalItem:{id:this.layerItemId}}).then(t=>{this.layer=t}).catch(console.error)),e.has("layerUrl")){let t=this.layerUrl;t?m.fromArcGISServerUrl({url:t}).then(c=>{this.layer=c}).catch(console.error):this.layer=null}}loaded(){this.el.childElem?.classList.add("arcgis-feature-table")}};a("arcgis-feature-table",l);export{l as ArcgisFeatureTable};
|
|
@@ -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.22 */
|
|
4
|
+
import{a as y}from"./OKAYXC7Y.js";import"./H6JCJ7WF.js";import{d as w}from"./XDM7VS6Z.js";import{A as d,B as n,G as l,g as o,q as r,r as h}from"./EUPMNEWI.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 m}from"./
|
|
3
|
+
v4.33.0-next.22 */
|
|
4
|
+
import{a as m}from"./OKAYXC7Y.js";import{d as t}from"./H6JCJ7WF.js";import"./XDM7VS6Z.js";import{A as r,B as o,G as h,g as i,q as s,r as a}from"./EUPMNEWI.js";var g=await $arcgis.l("widgets/FeatureForm");var l=a`@layer{arcgis-feature-form{display:block}}`,n=m(g),e=class extends o{constructor(){super(...arguments),this.widget=n(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.feature=this.widget.feature,this.formTemplate=this.widget.formTemplate,this.groupDisplay=this.widget.groupDisplay,this.headingLevel=this.widget.headingLevel,this.icon=this.widget.icon,this.label=this.widget.label,this.layer=this.widget.layer,this.position="bottom-left",this.state=this.viewModel.state,this.timeZone=this.widget.timeZone,this.arcgisPropertyChange=s()("state"),this.arcgisReady=r(),this.arcgisSubmit=t(()=>this.widget,"submit"),this.arcgisValueChange=t(()=>this.widget,"value-change")}static{this.properties={autoDestroyDisabled:5,feature:0,formTemplate:0,groupDisplay:1,headingLevel:9,icon:1,label:1,layer:0,position:1,referenceElement:1,state:3,timeZone:1}}static{this.shadowRootOptions=i}static{this.styles=l}async destroy(){await this.manager.destroy()}async getValues(){return this.widget?.getValues()}async submit(){this.widget?.submit()}};h("arcgis-feature-form",e);export{e as ArcgisFeatureForm};
|
|
@@ -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.22 */
|
|
4
|
+
import{a as d}from"./OKAYXC7Y.js";import{d as n}from"./H6JCJ7WF.js";import"./XDM7VS6Z.js";import{A as o,B as r,G as h,g as i,q as s,r as a}from"./EUPMNEWI.js";var c=await $arcgis.l("widgets/Features");var g=a`@layer{arcgis-features{display:block}}`,u=d(c),t=class extends r{constructor(){super(...arguments),this.widget=u(this),this.viewModel=this.widget.viewModel,this.actions=this.viewModel.actions,this.active=this.widget.active,this.autoDestroyDisabled=!1,this.collapsed=this.widget.collapsed,this.content=this.widget.content,this.featureNavigationTop=this.widget.featureNavigationTop,this.featureViewModelAbilities=this.viewModel.featureViewModelAbilities,this.features=this.widget.features,this.featuresPerPage=this.viewModel.featuresPerPage,this.featuresTitle=this.widget.title,this.goToOverride=this.viewModel.goToOverride,this.headingLevel=this.widget.headingLevel,this.headerActions=this.widget.headerActions,this.hideActionBar=this.widget.visibleElements.actionBar,this.hideCloseButton=this.widget.visibleElements.closeButton,this.hideFeatureMenuHeading=this.widget.visibleElements.featureMenuHeading,this.hideFeatureNavigation=this.widget.visibleElements.featureNavigation,this.hideFlow=this.widget.visibleElements.flow,this.hideHeading=this.widget.visibleElements.heading,this.hideSpinner=this.widget.visibleElements.spinner,this.icon=this.widget.icon,this.includeDefaultActions=this.viewModel.includeDefaultActions,this.initialDisplayMode=this.widget.initialDisplayMode,this.label=this.widget.label,this.map=this.widget.map,this.position="bottom-left",this.promises=this.widget.promises,this.selectedFeature=this.widget.selectedFeature,this.selectedFeatureIndex=this.widget.selectedFeatureIndex,this.showCollapseButton=this.widget.visibleElements.collapseButton,this.spatialReference=this.widget.spatialReference,this.state=this.viewModel.state,this.timeZone=this.widget.timeZone,this.arcgisPropertyChange=s()("selectedFeature","selectedFeatureIndex","state"),this.arcgisReady=o(),this.arcgisTriggerAction=n(()=>this.widget,"trigger-action")}static{this.properties={actions:0,active:7,autoDestroyDisabled:5,collapsed:7,content:1,featureNavigationTop:5,featureViewModelAbilities:0,features:0,featuresPerPage:9,featuresTitle:1,goToOverride:0,headingLevel:9,headerActions:0,hideActionBar:5,hideCloseButton:5,hideFeatureMenuHeading:5,hideFeatureNavigation:5,hideFlow:5,hideHeading:5,hideSpinner:5,icon:1,includeDefaultActions:5,initialDisplayMode:1,label:1,map:0,position:1,promises:0,referenceElement:1,selectedFeature:0,selectedFeatureIndex:9,showCollapseButton:5,spatialReference:0,state:3,timeZone:1}}static{this.shadowRootOptions=i}static{this.styles=g}async clear(){this.widget?.clear()}async close(){this.widget?.close()}async destroy(){await this.manager.destroy()}async fetchFeatures(e,l){return await this.widget?.fetchFeatures(e,l)}async next(){return this.widget?.next()}async open(e){this.widget?.open(e)}async previous(){return this.widget?.previous()}async triggerAction(e){this.widget?.triggerAction(e)}};h("arcgis-features",t);export{t as ArcgisFeatures};
|
|
@@ -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.22 */
|
|
4
|
+
import{a as d}from"./OKAYXC7Y.js";import"./H6JCJ7WF.js";import"./XDM7VS6Z.js";import{A as o,B as a,G as h,g as t,q as e,r as s}from"./EUPMNEWI.js";var n=await $arcgis.l("widgets/ShadowCast");var l=s`@layer{arcgis-shadow-cast{display:block}}`,c=d(n),i=class extends a{constructor(){super(...arguments),this.widget=c(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.discreteOptions=this.viewModel.discreteOptions,this.durationOptions=this.viewModel.durationOptions,this.endTimeOfDay=this.viewModel.endTimeOfDay,this.headingLevel=this.widget.headingLevel,this.hideColorPicker=this.widget.visibleElements.colorPicker,this.hideDatePicker=this.widget.visibleElements.datePicker,this.hideTimeRangeSlider=this.widget.visibleElements.timeRangeSlider,this.hideTimezone=this.widget.visibleElements.timezone,this.hideTooltip=this.widget.visibleElements.tooltip,this.hideVisualizationOptions=this.widget.visibleElements.visualizationOptions,this.icon=this.widget.icon,this.label=this.widget.label,this.position="bottom-left",this.startTimeOfDay=this.viewModel.startTimeOfDay,this.state=this.viewModel.state,this.thresholdOptions=this.viewModel.thresholdOptions,this.utcOffset=this.viewModel.utcOffset,this.visualizationType=this.viewModel.visualizationType,this.arcgisPropertyChange=e()("state"),this.arcgisReady=o()}static{this.properties={autoDestroyDisabled:5,discreteOptions:0,durationOptions:0,endTimeOfDay:9,headingLevel:9,hideColorPicker:5,hideDatePicker:5,hideTimeRangeSlider:5,hideTimezone:5,hideTooltip:5,hideVisualizationOptions:5,icon:1,label:1,position:1,referenceElement:1,startTimeOfDay:9,state:3,thresholdOptions:0,utcOffset:9,visualizationType:1}}static{this.shadowRootOptions=t}static{this.styles=l}async destroy(){await this.manager.destroy()}async getDuration(r){return await this.widget?.viewModel.getDuration(r)}async start(){this.widget?.viewModel.start()}async stop(){this.widget?.viewModel.stop()}};h("arcgis-shadow-cast",i);export{i as ArcgisShadowCast};
|
|
@@ -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.22 */
|
|
4
|
+
import{a as n}from"./OKAYXC7Y.js";import"./H6JCJ7WF.js";import"./XDM7VS6Z.js";import{A as a,B as o,G as r,g as s,q as i,r as e}from"./EUPMNEWI.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{a as l}from"./
|
|
3
|
+
v4.33.0-next.22 */
|
|
4
|
+
import{a as l}from"./OKAYXC7Y.js";import"./H6JCJ7WF.js";import"./XDM7VS6Z.js";import{A as a,B as o,G as r,g as t,q as s,r as i}from"./EUPMNEWI.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 M}from"./
|
|
3
|
+
v4.33.0-next.22 */
|
|
4
|
+
import{a as M}from"./JSQD7YWG.js";import{a as p}from"./GCIHDP6N.js";import{a as S}from"./PRGQIQPX.js";import"./H6JCJ7WF.js";import"./XDM7VS6Z.js";import{A as w,B,C as a,D as d,E as o,G as x,a as m,g as y,q as _,r as f,s as l}from"./EUPMNEWI.js";var[{getBasemapThumbnailUrl:C},L]=await $arcgis.l(["applications/Components/basemapUtils","widgets/BasemapToggle/BasemapToggleViewModel"]);var R=f`@layer{arcgis-basemap-toggle{display:block}}`,s="esri-basemap-toggle",r="esri-basemap-thumbnail",e={base:s,secondaryBasemapImage:`${s}__image--secondary`,container:`${r} ${s}__container`,image:`${r}__image ${s}__image`,imageLoading:`${s}__image--loading`,overlay:`${r}__overlay ${s}__image-overlay`,title:`${r}__title ${s}__title`,overlayScrim:`${r}__overlay-scrim`},A=M(L),g=class extends B{constructor(){super(...arguments),this.messages=S(),this.viewModel=A(this),this.activeBasemap=this.viewModel.activeBasemap,this.autoDestroyDisabled=!1,this.icon="layer-basemap",this.nextBasemap=this.viewModel.nextBasemap,this.position="top-left",this.showTitle=!1,this.state=this.viewModel.state,this.arcgisPropertyChange=_()("nextBasemap","state"),this.arcgisReady=w()}static{this.properties={activeBasemap:0,autoDestroyDisabled:5,icon:3,label:1,messageOverrides:0,nextBasemap:0,position:3,referenceElement:1,showTitle:5,state:3}}static{this.shadowRootOptions=y}static{this.styles=R}async destroy(){await this.manager.destroy()}async toggle(){return await this.viewModel.toggle()}_getThumbnailStyles(t){let n=C(t);return n?{backgroundImage:`url(${n})`}:{backgroundImage:""}}render(){let t=this.viewModel,n=t.state==="disabled"?null:t.activeBasemap,i=t.state==="disabled"?null:t.nextBasemap,T=t.state==="loading",h=t.state==="incompatible-next-basemap",c=i?.title??"",$=i&&i.loadStatus!=="loaded",v,b=this.showTitle&&c,u=h,k=b||u,D=this._getThumbnailStyles(n),I=this._getThumbnailStyles(i);return k&&(v=l`<div class=${a(e.overlay)}>${b?l`<span class=${a(e.title)} title=${c??o}>${c}</span>`:null}${u?l`<calcite-scrim class=${a(e.overlayScrim)} title=${this.messages.incompatibleSpatialReference??o}><calcite-icon icon=exclamation-mark-triangle></calcite-icon></calcite-scrim>`:null}</div>`),l`<div class=${a(m(e.base,p.widget))}><calcite-button appearance=transparent data-basemap-id=${(i?i.id:"")??o} .disabled=${h} kind=neutral .label=${this.label??void 0} @click=${()=>void this.toggle()} title=${this.label??void 0??o}><div class=${a(m(e.container,e.secondaryBasemapImage))}><div class=${a(e.image)} style=${d(D)}></div></div><div class=${a(e.container)}><div class=${a(m(e.image,$?e.imageLoading:null))} style=${d(I)}>${$||T?l`<calcite-scrim><span aria-hidden=true class=${a(p.loaderAnimation)} role=presentation></span></calcite-scrim>`:null}</div>${v}</div></calcite-button></div>`}};x("arcgis-basemap-toggle",g);export{g as ArcgisBasemapToggle};
|
|
@@ -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.22 */
|
|
4
|
+
import{a as h}from"./OKAYXC7Y.js";import{d as l}from"./H6JCJ7WF.js";import"./XDM7VS6Z.js";import{A as o,B as a,G as r,g as e,q as i,r as s}from"./EUPMNEWI.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.
|
|
4
|
-
import{a as n}from"./
|
|
3
|
+
v4.33.0-next.22 */
|
|
4
|
+
import{a as n}from"./OKAYXC7Y.js";import"./H6JCJ7WF.js";import"./XDM7VS6Z.js";import{A as a,B as o,G as r,g as s,q as i,r as e}from"./EUPMNEWI.js";var h=await $arcgis.l("widgets/LineOfSight");var l=e`@layer{arcgis-line-of-sight{display:block}}`,c=n(h),t=class extends o{constructor(){super(...arguments),this.widget=c(this),this.viewModel=this.widget.viewModel,this.analysis=this.widget.analysis,this.autoDestroyDisabled=!1,this.icon=this.widget.icon,this.label=this.widget.label,this.position="bottom-left",this.state=this.viewModel.state,this.arcgisPropertyChange=i()("analysis","state"),this.arcgisReady=a()}static{this.properties={analysis:0,autoDestroyDisabled:5,icon:1,label:1,position:1,referenceElement:1,state:3}}static{this.shadowRootOptions=s}static{this.styles=l}async clear(){this.widget?.viewModel.clear()}async continue(){this.widget?.viewModel.continue()}async destroy(){await this.manager.destroy()}async start(){this.widget?.viewModel.start()}async stop(){this.widget?.viewModel.stop()}};r("arcgis-line-of-sight",t);export{t as ArcgisLineOfSight};
|
|
@@ -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.22 */
|
|
4
4
|
var i={arrowDown:"esri-icon-arrow-down",arrowUp:"esri-icon-arrow-up",basemap:"esri-icon-basemap",bookmark:"esri-icon-bookmark",calendar:"esri-icon-calendar",checkMark:"esri-icon-check-mark",checkboxUnchecked:"esri-icon-checkbox-unchecked",close:"esri-icon-close",collapse:"esri-icon-collapse",defaultAction:"esri-icon-default-action",description:"esri-icon-description",directions:"esri-icon-directions",dockBottom:"esri-icon-dock-bottom",dockLeft:"esri-icon-dock-left",dockRight:"esri-icon-dock-right",down:"esri-icon-down",downArrow:"esri-icon-down-arrow",download:"esri-icon-download",dragHorizontal:"esri-icon-drag-horizontal",dragVertical:"esri-icon-drag-vertical",duplicate:"esri-icon-duplicate",edit:"esri-icon-edit",elevationProfile:"esri-icon-elevation-profile",environmentSettings:"esri-icon-environment-settings",erase:"esri-icon-erase",error:"esri-icon-error",expand:"esri-icon-expand",fontFallbackText:"esri-icon-font-fallback-text",forward:"esri-icon-forward",gear:"esri-icon-gear",handleHorizontal:"esri-icon-handle-horizontal",handleVertical:"esri-icon-handle-vertical",home:"esri-icon-home",icon:"esri-icon",launchLinkExternal:"esri-icon-launch-link-external",layerList:"esri-icon-layer-list",layers:"esri-icon-layers",left:"esri-icon-left",leftArrows:"esri-icon-left-arrow",leftTriangleArrow:"esri-icon-left-triangle-arrow",lineOfSight:"esri-icon-line-of-sight",link:"esri-icon-link",linkExternal:"esri-icon-link-external",linkHorizontal:"esri-icon-link-horizontal",loadingIndicator:"esri-icon-loading-indicator",locate:"esri-icon-locate",locateCircled:"esri-icon-locate-circled",locked:"esri-icon-locked",mapPin:"esri-icon-map-pin",maximize:"esri-icon-maximize",measure:"esri-icon-measure",measureArea:"esri-icon-measure-area",measureBuildingHeightShadow:"esri-icon-measure-building-height-shadow",measureLine:"esri-icon-measure-line",menu:"esri-icon-menu",minimize:"esri-icon-minimize",minus:"esri-icon-minus",nonVisible:"esri-icon-non-visible",northNavigation:"esri-icon-north-navigation",noticeTriangle:"esri-icon-notice-triangle",organization:"esri-icon-organization",pan:"esri-icon-pan",pan2:"esri-icon-pan2",partlyCloudy:"esri-icon-partly-cloudy",pause:"esri-icon-pause",play:"esri-icon-play",playCircled:"esri-icon-play-circled",plus:"esri-icon-plus",polyline:"esri-icon-polyline",printer:"esri-icon-printer",radioChecked:"esri-icon-radio-checked",radioUnchecked:"esri-icon-radio-unchecked",refresh:"esri-icon-refresh",reverse:"esri-icon-reverse",right:"esri-icon-right",rightArrow:"esri-icon-right-arrow",rightTriangleArrow:"esri-icon-right-triangle-arrow",rotate:"esri-icon-rotate",save:"esri-icon-save",search:"esri-icon-search",settings2:"esri-icon-settings2",slice:"esri-icon-slice",swap:"esri-icon-swap",table:"esri-icon-table",timeClock:"esri-icon-time-clock",tracking:"esri-icon-tracking",trash:"esri-icon-trash",unlockedLinkHorizontal:"esri-icon-unlocked-link-horizontal",up:"esri-icon-up",upArrow:"esri-icon-up-arrow",upDownArrows:"esri-icon-up-down-arrows",urbanModel:"esri-icon-urban-model",vertexGps:"esri-icon-vertex-gps",visible:"esri-icon-visible",zoomInFixed:"esri-icon-zoom-in-fixed",zoomInMagnifyingGlass:"esri-icon-zoom-in-magnifying-glass",zoomOutFixed:"esri-icon-zoom-out-fixed",zoomToObject:"esri-icon-zoom-to-object"};export{i as a};
|
|
@@ -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.22 */
|
|
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 p}from"./
|
|
3
|
+
v4.33.0-next.22 */
|
|
4
|
+
import{a as p}from"./JSQD7YWG.js";import{a as z}from"./PRGQIQPX.js";import"./H6JCJ7WF.js";import"./XDM7VS6Z.js";import{A as u,B as h,C as s,E as i,G as d,a as t,g as n,q as l,r as c,s as m}from"./EUPMNEWI.js";var f=await $arcgis.l("widgets/Zoom/ZoomViewModel");var o={base:"arcgis-zoom",horizontalLayout:"arcgis-zoom--horizontal",button:"esri-widget--button",zoomIn:"arcgis-zoom__zoom-in",zoomOut:"arcgis-zoom__zoom-out"},w=c`@layer{arcgis-zoom,.arcgis-zoom{display:flex;flex-flow:column nowrap}.arcgis-zoom__zoom-out{border-block-start:solid 1px var(--calcite-color-border-1)}.arcgis-zoom--horizontal{flex-flow:row-reverse nowrap}.arcgis-zoom--horizontal .arcgis-zoom__zoom-out{border-block-start:none;border-inline-end:solid 1px var(--calcite-color-border-1)}}`,v=p(f),a=class extends h{constructor(){super(...arguments),this.messages=z({}),this.viewModel=v(this),this.canZoomIn=this.viewModel.canZoomIn,this.canZoomOut=this.viewModel.canZoomOut,this.autoDestroyDisabled=!1,this.icon="magnifying-glass-plus",this.layout="vertical",this.position="top-left",this.state=this.viewModel.state,this.arcgisPropertyChange=l()("state"),this.arcgisReady=u()}static{this.properties={canZoomIn:16,canZoomOut:16,autoDestroyDisabled:5,icon:3,label:1,layout:3,messageOverrides:0,position:1,referenceElement:1,state:3}}static{this.shadowRootOptions=n}static{this.styles=w}async destroy(){await this.manager.destroy()}async zoomIn(){this.viewModel.zoomIn()}async zoomOut(){this.viewModel.zoomOut()}render(){let g={[o.horizontalLayout]:this.layout==="horizontal"},{canZoomIn:b,canZoomOut:y}=this.viewModel,{zoomIn:e,zoomOut:r}=this.messages;return m`<div class=${s(t(o.base,g))}><calcite-button class=${s(t(o.button,o.zoomIn))} .disabled=${!b} icon-start=plus kind=neutral .label=${e} @click=${this.zoomIn} title=${e??i}></calcite-button><calcite-button class=${s(t(o.button,o.zoomOut))} .disabled=${!y} icon-start=minus kind=neutral .label=${r} @click=${this.zoomOut} title=${r??i}></calcite-button></div>`}};d("arcgis-zoom",a);export{a as ArcgisZoom};
|
|
@@ -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.22 */
|
|
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{a as h}from"./
|
|
3
|
+
v4.33.0-next.22 */
|
|
4
|
+
import{a as h}from"./OKAYXC7Y.js";import{d as l}from"./H6JCJ7WF.js";import"./XDM7VS6Z.js";import{A as o,B as r,G as a,g as e,q as i,r as s}from"./EUPMNEWI.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 T}from"./
|
|
3
|
+
v4.33.0-next.22 */
|
|
4
|
+
import{a as T}from"./JSQD7YWG.js";import{a as u}from"./GCIHDP6N.js";import{a as k}from"./PRGQIQPX.js";import"./H6JCJ7WF.js";import"./XDM7VS6Z.js";import{A as L,B as D,C as m,D as R,E as h,G as A,H as E,a as v,g as S,q as x,r as B,s as n,t as I,u as C}from"./EUPMNEWI.js";var[{when:Q,watch:y},X]=await $arcgis.l(["core/reactiveUtils","widgets/BasemapGallery/BasemapGalleryViewModel"]);var U=Symbol.for(""),z=t=>{if(t?.r===U)return t?._$litStatic$},K=t=>({_$litStatic$:t,r:U});var G=new Map,w=t=>(e,...a)=>{let s=a.length,i,r,l=[],$=[],p,d=0,f=!1;for(;d<s;){for(p=e[d];d<s&&(r=a[d],(i=z(r))!==void 0);)p+=i+e[++d],f=!0;d!==s&&$.push(r),l.push(p),d++}if(d===s&&l.push(e[s]),f){let g=l.join("$$lit$$");(e=G.get(g))===void 0&&(l.raw=l,G.set(g,e=l)),a=$}return t(e,...a)},O=w(n),se=w(I),ie=w(C);var c="esri-basemap-gallery",o={base:c,sourceLoading:`${c}--source-loading`,layoutGrid:`${c}--grid`,narrowItems:`${c}--narrow-items`,loader:`${c}__loader`,item:`${c}__item`,itemContainer:`${c}__item-container`,itemContent:`${c}__item-content`,itemTitle:`${c}__item-title`,itemTagsContainer:`${c}__item-tags-container`,itemThumbnail:`${c}__item-thumbnail`,selectedItem:`${c}__item--selected`,itemError:`${c}__item--error`};function V(t){return t.portalItem?.type==="Web Scene"||t.referenceLayers.some(e=>e.type==="scene")}function W(t){return!!t?.portalItem?.tags?.some(e=>e.toLowerCase()==="beta")}function P({disabled:t,item:e,itemIndex:a,viewModel:s,messages:i,state:r}){let l=e.basemap.thumbnailUrl||E("assets/basemap-gallery/images/basemap-toggle-64.svg"),$=e.basemap.title,p=e.basemap.portalItem?.snippet,d=e.error?.message||p||$,{activeBasemapIndex:f}=s,g=f===a,j=g||f===-1&&a===0?0:-1,q={[o.selectedItem]:g,[o.itemError]:e.state==="error"},M=`basemapgallery-item-${e.uid}`;return n`<div .ariaChecked=${g} .ariaDisabled=${t} aria-labelledby=${M??h} class=${m(v(o.item,q))} data-item=${e??h} data-basemap=${e.basemap.id??h} role=radio tabindex=${j??h} title=${d??h} @click=${()=>{e.state==="ready"&&(s.activeBasemap=e.basemap)}}><img alt class=${m(o.itemThumbnail)} src=${l??h}><div class=${m(o.itemContent)}><div class=${m(o.itemTitle)}><span id=${M??h}>${$}</span></div>${V(e.basemap)?F(e.basemap,i):null}</div>${r==="ready"?null:n`<calcite-scrim><span aria-hidden=true class=${m(u.loaderAnimation)} role=presentation></span></calcite-scrim>`}</div>`}function F(t,e){return n`<div class=${m(o.itemTagsContainer)}>${J(e)}${W(t)?N(e):null}</div>`}function J(t){return n`<calcite-chip scale=s .label=${t.tag3D}>${t.tag3D}</calcite-chip>`}function N(t){return n`<calcite-chip appearance=outline-fill scale=s .label=${t.tagBeta}>${t.tagBeta}</calcite-chip>`}function Y({level:t,class:e,children:a}){let s=H(t),i=`h${s}`,r=K(i);return O`<${r} .ariaLevel=${String(s)} class=${m(v(u.heading,e))} role=heading>${a}</${r}>`}function Z(t,e,a){return Math.min(Math.max(t,e),a)}function H(t){return Z(Math.ceil(t),1,6)}var ee=B`@layer{arcgis-basemap-gallery{display:block}}`,te=T(X),b={small:200,default:280,wide:420},_=class extends D{constructor(){super(...arguments),this.messages=k({}),this.viewModel=te(this),this._width=0,this._state="",this._itemsState="",this.activeBasemap=this.viewModel.activeBasemap,this.autoDestroyDisabled=!1,this.disabled=!1,this.headingLevel=2,this.icon="basemap",this.label="",this.position="bottom-left",this.source=this.viewModel.source,this.state=this.viewModel.state,this.arcgisPropertyChange=x()("activeBasemap","state"),this.arcgisReady=L()}static{this.properties={_width:16,_state:16,_itemsState:16,activeBasemap:0,autoDestroyDisabled:5,disabled:7,headingLevel:9,icon:1,label:1,position:1,referenceElement:1,source:0,state:3}}static{this.shadowRootOptions=S}static{this.styles=ee}async destroy(){await this.manager.destroy()}loaded(){this.manager.onLifecycle(()=>[Q(()=>this.source,()=>{this.viewModel.loadSource()},{sync:!0,initial:!0}),y(()=>this.source.state,()=>{this._state=this.source.state},{sync:!0}),y(()=>this.viewModel.items.filter(s=>s.state!=="ready").length,s=>{this._itemsState=s>0?"loading":"ready"},{sync:!0}),y(()=>this.viewModel.activeBasemap,()=>{this.el.childElem?.querySelector(`[data-basemap="${this.viewModel.activeBasemap?.id}"]`)?.focus()},{sync:!0})]);let e=new ResizeObserver(s=>{for(let i of s)this._width=i.contentRect.width}),a=this.el.childElem;a&&e.observe(a)}_getRoundRobinIndex(e,a){return(e+a)%a}_handleKeyDown(e){let{key:a}=e;if(!["ArrowUp","ArrowDown","ArrowRight","ArrowLeft"].includes(a))return;e.preventDefault();let{items:s,activeBasemapIndex:i}=this.viewModel,r=a==="ArrowUp"||a==="ArrowLeft"?this._getRoundRobinIndex(Math.max(i-1,-1),s.length):this._getRoundRobinIndex(i+1,s.length),l=s.at(r);l?.state==="ready"&&(this.viewModel.activeBasemap=l.basemap)}render(){let e=this.source.state==="loading",a=this.disabled||this.state==="disabled",s=this.viewModel.items,i={[o.sourceLoading]:e,[u.disabled]:a,"esri-component":!0},r=this._width;r<=b.small||r>=b.wide?i[o.layoutGrid]=!0:r<b.default&&(i[o.narrowItems]=!0);let l=e?n`<div class=${m(o.loader)}></div>`:null,$=e?null:s.length>0?n`<div aria-disabled=${this.disabled??h} aria-label=${this.label??h} class=${m(o.itemContainer)} @keydown=${this._handleKeyDown} role=radiogroup>${s.map((p,d)=>P({disabled:a,item:p,itemIndex:d,viewModel:this.viewModel,messages:this.messages,state:p.state}))}</div>`:n`<div class=${m(u.empty)}>${Y({level:this.headingLevel,children:this.messages.noBasemaps})}</div>`;return n`<div class=${m(v(o.base,u.widget,u.panel,i))} style=${R({"--esri-basemap-gallery-small":`${b.small}px`})}>${[l,$]}</div>`}};A("arcgis-basemap-gallery",_);export{_ as ArcgisBasemapGallery};
|
|
@@ -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 r,c as l,d as t}from"./
|
|
3
|
+
v4.33.0-next.22 */
|
|
4
|
+
import{a as r,c as l,d as t}from"./H6JCJ7WF.js";import{e as h,f as d,g as o,h as n}from"./XDM7VS6Z.js";import{A as s,B as v,G as p,g as m,r as w}from"./EUPMNEWI.js";var[{watch:g},u,y]=await $arcgis.l(["core/reactiveUtils","views/SceneView","WebScene"]);var _=w`@layer{arcgis-scene{display:block;height:100%;.esri-view{height:100%;width:100%}}}`,V=r(y,{}),f=r(u,{}),c=class extends v{constructor(){super(...arguments),this._camera=void 0,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._cameraFov=void 0,this._cameraHeading=void 0,this._cameraPosition=void 0,this._cameraTilt=void 0,this._map=V(this,{editConstructorProperties:this._editMapProperties}),this.view=f(this,{editConstructorProperties:this._editViewProperties}),this.allLayerViews=this.view.allLayerViews,this.alphaCompositingEnabled=this.view.alphaCompositingEnabled,this.analyses=this.view.analyses,this.autoDestroyDisabled=!1,this.basemap=this._map.basemap,this.basemapView=this.view.basemapView,this.clippingArea=this.view.clippingArea,this.constraints=this.view.constraints,this.displayFilterDisabled=this.view.displayFilterEnabled,this.environment=this.view.environment,this.fatalError=this.view.fatalError,this.floors=this.view.floors,this.graphics=this.view.graphics,this.ground=this._map.ground,this.groundView=this.view.groundView,this.highlights=this.view.highlights,this.highlightOptions=this.view.highlightOptions,this.layerViews=this.view.layerViews,this.magnifier=this.view.magnifier,this.map=this.view.map,this.navigation=this.view.navigation,this.padding=this.view.padding,this.popup=this.view.popup,this.popupDisabled=this.view.popupEnabled,this.qualityProfile=this.view.qualityProfile,this.ready=this.view.ready,this.spatialReference=this.view.spatialReference,this.suspended=this.view.suspended,this.theme=this.view.theme,this.timeExtent=this.view.timeExtent,this.updating=this.view.updating,this.viewingMode=this.view.viewingMode,this.arcgisViewChange=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,alphaCompositingEnabled:5,analyses:0,autoDestroyDisabled:5,basemap:1,basemapView:0,camera:0,cameraFov:9,cameraHeading:9,cameraPosition:1,cameraTilt:9,center:1,clippingArea:0,constraints:0,displayFilterDisabled:5,environment:0,extent:0,fatalError:0,floors:0,gamepad:32,graphics:0,ground:1,groundView:0,highlights:0,highlightOptions:0,interacting:32,itemId:3,layerViews:0,magnifier:0,map:0,navigating:32,navigation:0,padding:0,performanceInfo:32,popup:0,popupDisabled:5,qualityProfile:1,ready:4,resolution:32,scale:9,spatialReference:0,stationary:32,suspended:7,theme:0,timeExtent:0,updating:7,viewingMode:1,viewpoint:0,zoom:9}}static{this.shadowRootOptions=m}static{this.styles=_}get camera(){return this.view.camera??this._camera}set camera(i){this._camera=i,this.ready&&!h(this.camera,i)&&(this.view.camera=i)}get cameraFov(){return this.view.camera?.fov??this._cameraFov}set cameraFov(i){this.ready&&i!=null&&this._mutateCamera(e=>{e.fov=i}),this._cameraFov=i}get cameraHeading(){return this.view.camera?.heading??this._cameraHeading}set cameraHeading(i){this.ready&&i!=null&&this._mutateCamera(e=>{e.heading=i}),this._cameraHeading=i}get cameraPosition(){return this.view.camera?.position??this._cameraPosition}set cameraPosition(i){if(this.ready){let e=n(this.view.camera?.position,i);e&&this._mutateCamera(a=>{a.position=e})}else this._cameraPosition=i}get cameraTilt(){return this.view.camera?.tilt??this._cameraTilt}set cameraTilt(i){this.ready&&i!=null&&this._mutateCamera(e=>{e.tilt=i}),this._cameraTilt=i}get center(){return this.view.center??this._center}set center(i){let e=o(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.ready&&i&&!this.extent?.equals(i)&&(this.view.extent=i),this._extent=i}get gamepad(){return this.ready?this.view.input.gamepad:void 0}get interacting(){return this.view.interacting}get itemId(){return this._map.portalItem?.id??this._itemId}set itemId(i){this._itemId=i,this.ready&&l.reCreate(this._map,this).then(()=>{this.view.map=this._map}).catch(console.error)}get navigating(){return this.view.navigating}get performanceInfo(){return this.view.performanceInfo}get resolution(){return this.view.resolution}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&&d(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,e){return this.view.toMap(i,e)}toScreen(i){return this.view.toScreen(i)}async tryFatalErrorRecovery(){this.view?.tryFatalErrorRecovery()}async whenAnalysisView(i){return await this.view?.whenAnalysisView(i)}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(()=>[g(()=>this.view.stationary,()=>{this.arcgisViewChange.emit()},{initial:!0}),g(()=>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,...a}=i;return e||(i=a),i}async _editViewProperties(i){await this.manager.use(this._map),this.view.ui||(i.ui={components:["attribution"]}),i.map??=this._map;let e=o(this.center,void 0);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.camera&&(i.camera=this.camera);let a=n(void 0,this.cameraPosition);return a&&(i.camera??={},i.camera.position=a),this.cameraHeading!=null&&(i.camera??={},i.camera.heading=this.cameraHeading),this.cameraTilt!=null&&(i.camera??={},i.camera.tilt=this.cameraTilt),this.cameraFov!=null&&(i.camera??={},i.camera.fov=this.cameraFov),this.zoom!==void 0&&(i.zoom=this.zoom),i}_mutateCamera(i){let e=this.view.camera.clone();i(e),h(this.view.camera,e)||(this.view.camera=e)}};p("arcgis-scene",c);export{c as ArcgisScene};
|
|
@@ -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 y,e as g,h as S,i as M,k as C,l as $,m as L,n as R,o as h}from"./
|
|
3
|
+
v4.33.0-next.22 */
|
|
4
|
+
import{c as y,e as g,h as S,i as M,k as C,l as $,m as L,n as R,o as h}from"./EUPMNEWI.js";var I=typeof window<"u"&&"$arcgis"in window&&typeof window.$arcgis=="object"&&"import"in window.$arcgis&&!("forceESM"in window.$arcgis);function W(t){return t.default!==void 0}async function V(){if(I)return await window.$arcgis.import("esri/core/reactiveUtils");let t=await $arcgis.l("core/reactiveUtils");return W(t)?t.default:t}var l;async function b(){return l??(l=V()),await l}var x=(t,e)=>(r,i)=>T(r,t,i),F=class extends M{constructor(t,e,r){super(t),this._loadAccessor=e,this._options=r,this._watchedProperties=new Map,this._isBinding={value:!0},this.setProvisionalExports(f.makeGetterProxy(t,this._watchedProperties,this._isBinding,this.constructor.allowedPropNameMismatches)),C(t,i=>{i&&(this._instancePropName=i)},this.exports)}hostConnected(){this._isBinding.value=!1}async hostLoad(){this.reactiveUtils=await b();let t=this.component,e=this._gatherParameters(),r=this._options?.editConstructorProperties?.call(t,e)??e,i=r instanceof Promise?await r:r,c=t,n=typeof this._instancePropName=="string"?c[this._instancePropName]:void 0;n!=null&&n!==this.exports?(this._instance=n,n.set(i)):this._instance=await this._createInstance(i),!t.manager.destroyed&&(f.watchComponentUpdates(this,this._instance,this._watchedProperties),f.watchAccessorUpdates(this,this._instance,this._watchedProperties),this.exports=this._instance)}_gatherParameters(){return Object.fromEntries(Array.from(this._watchedProperties,([r,i])=>[i,this.component[r]]).filter(([,r])=>r!==void 0))}async _createInstance(t){return this._isAccessorConstructor(this._loadAccessor)?new this._loadAccessor(t):await this._loadAccessor(t)}_isAccessorConstructor(t){return"prototype"in t&&"declaredClass"in t.prototype}hostDestroy(){this._instance&&this._instance.destroy()}async reCreate(){this.hostDestroy(),await this.hostLoad()}},T=h(F),f={makeGetterProxy:(t,e,r,i)=>new Proxy({},{has:(c,n)=>typeof n=="string"||n in c,get:(c,n)=>{let w=Reflect.get(c,n);if(typeof n=="symbol"||n in Promise.prototype)return w;let u=n in c,o=r?.value??!0;if(u||!o)return w;if(!e.has(n))return $(t,a=>{a!==void 0&&e.set(a.key,n)},w)}}),watchComponentUpdates(t,e,r){function i(u,o){let a=r.get(o),s=e[a];return typeof s=="boolean"&&a!==o&&o.toLowerCase().includes("disable")?!s:s}let c=(u,o,a)=>{let s=r.get(a),p=e[s],m=typeof p=="boolean"&&s!==a&&a.toLowerCase().includes("disable");if((m?!p:n.manager.isLit?p??void 0:p)===u)return u;e[s]=m?!u:u;let d=e[s];return m?!d:d},n=t.component,w=n.manager.internals;r.forEach((u,o)=>{w.accessorGetter[o]=i,w.accessorSetter[o]=c})},watchAccessorUpdates(t,e,r){let{component:i}=t,c=i,n=e,w=G(e);R(()=>r.forEach((u,o)=>{if(w.has(u))return;let a=c[o],s=n[u];i.manager.isLit&&(s??(s=void 0));let m=typeof a=="boolean"&&u!==o&&o.toLowerCase().includes("disable")?!a:a;m!=null&&s!==m&&(n[u]=m)})),t.onLifecycle(()=>{if(!e.destroyed)return Array.from(r,([u,o])=>t.reactiveUtils.watch(()=>n[o],()=>{let a=n[o],p=typeof a=="boolean"&&o!==u&&u.toLowerCase().includes("disable")?!a:a;L(()=>{c[u]=p})},{initial:!0}))})},reEmitAccessorEvents(t,e,r,i){if(!("on"in e&&typeof e.on=="function"))return;let n=Object.entries(t.component).map(([o,a])=>{let s=a;if(!o.startsWith(i)||o===i||typeof s!="object"||s===null||!("emit"in s)||typeof s.emit!="function")return;let p=s.emit,m=o.slice(i.length);return[y(m).toLowerCase(),p]}).filter(g);if(n.length===0)return;let w=e,u=()=>w;t.onLifecycle(()=>{if(!e.destroyed)return n.map(([o,a])=>r.on(u,o,a))})},async reCreate(t,e){let r=e.manager.useRefSync(t);r!==void 0&&await r.reCreate()}};function G(t){let r=Object.entries(t.__accessor__?.metadata??{});return new Set(r.filter(([i,c])=>c?.readOnly===!0).map(([i])=>i))}function N(t,e){let r=S(),i=r.manager,c=b();i.onLoaded(()=>{c.then(w=>i.onLifecycle(()=>w.on(t,e,n.emit)))});let n=r.constructor.$createEvent();return n}export{x as a,F as b,f as c,N as d};
|