@arcgis/map-components 4.32.0-next.8 → 4.32.0-next.9
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/arcgis-map-components/{GWM5YZJP.js → 26IYLFMW.js} +2 -2
- package/dist/arcgis-map-components/2NLVO2DQ.js +6 -0
- package/dist/arcgis-map-components/4DS67L3N.js +6 -0
- package/dist/arcgis-map-components/4U3MD2IE.js +6 -0
- package/dist/arcgis-map-components/5CG53WVB.js +6 -0
- package/dist/arcgis-map-components/5S45K6QF.js +6 -0
- package/dist/arcgis-map-components/5UPWC6GZ.js +6 -0
- package/dist/arcgis-map-components/5XDQP6JG.js +6 -0
- package/dist/arcgis-map-components/6B5KJD57.js +6 -0
- package/dist/arcgis-map-components/6I7U5UCS.js +6 -0
- package/dist/arcgis-map-components/A2A7Z4ID.js +6 -0
- package/dist/arcgis-map-components/AD7FBQ4W.js +6 -0
- package/dist/arcgis-map-components/AEPYAEVB.js +6 -0
- package/dist/arcgis-map-components/{QR3XASHQ.js → AJBMZJ46.js} +2 -2
- package/dist/arcgis-map-components/{FFBYYHGU.js → ASOVND72.js} +2 -2
- package/dist/arcgis-map-components/BDQRZM2Q.js +6 -0
- package/dist/arcgis-map-components/BW6XFJ64.js +6 -0
- package/dist/arcgis-map-components/BWSISUD3.js +6 -0
- package/dist/arcgis-map-components/CE427RF3.js +6 -0
- package/dist/arcgis-map-components/{IZYKFXP5.js → DR55OESP.js} +1 -1
- package/dist/arcgis-map-components/{43GCCQ4L.js → DZGDTHN3.js} +2 -2
- package/dist/arcgis-map-components/E5NA4STS.js +6 -0
- package/dist/arcgis-map-components/{WYLHKII6.js → ECNITWEN.js} +2 -2
- package/dist/arcgis-map-components/EP2NIALP.js +6 -0
- package/dist/arcgis-map-components/G6A2LTFS.js +6 -0
- package/dist/arcgis-map-components/GHMNH7PB.js +6 -0
- package/dist/arcgis-map-components/GOUTHFFW.js +6 -0
- package/dist/arcgis-map-components/H2SRIRSA.js +6 -0
- package/dist/arcgis-map-components/HHSIOPLT.js +6 -0
- package/dist/arcgis-map-components/I6MLF4MJ.js +6 -0
- package/dist/arcgis-map-components/IGEB3BAW.js +6 -0
- package/dist/arcgis-map-components/IWQWKCKH.js +6 -0
- package/dist/arcgis-map-components/{LNSQ32WQ.js → KJVDJ5OQ.js} +2 -2
- package/dist/arcgis-map-components/LDQ4VWNS.js +6 -0
- package/dist/arcgis-map-components/{5EP74C7X.js → LPX3CLLP.js} +2 -2
- package/dist/arcgis-map-components/LS5OI6R6.js +6 -0
- package/dist/arcgis-map-components/NJA3KSNJ.js +6 -0
- package/dist/arcgis-map-components/NYSPYER3.js +6 -0
- package/dist/arcgis-map-components/{FVFH5V4K.js → O37OVJBX.js} +2 -2
- package/dist/arcgis-map-components/OGAYYWBW.js +6 -0
- package/dist/arcgis-map-components/P3VFC5ZQ.js +6 -0
- package/dist/arcgis-map-components/PIXMMVWC.js +6 -0
- package/dist/arcgis-map-components/{EEZJ56IS.js → PPUMGJ6W.js} +1 -1
- package/dist/arcgis-map-components/PSV23ZT3.js +6 -0
- package/dist/arcgis-map-components/PUWJT4NL.js +6 -0
- package/dist/arcgis-map-components/Q5PZSLA2.js +6 -0
- package/dist/arcgis-map-components/QEXPZ2TP.js +6 -0
- package/dist/arcgis-map-components/{S2O4ZDWX.js → QLIW6OTC.js} +2 -2
- package/dist/arcgis-map-components/RBIF6BPB.js +6 -0
- package/dist/arcgis-map-components/RGW45NMO.js +6 -0
- package/dist/arcgis-map-components/{JNGQNCAL.js → RPGH4LB5.js} +2 -2
- package/dist/arcgis-map-components/{YBB23ALW.js → RW4HTOWG.js} +2 -2
- package/dist/arcgis-map-components/{HRNJIDAS.js → RYYEB6TZ.js} +2 -2
- package/dist/arcgis-map-components/S5FY5R2K.js +6 -0
- package/dist/arcgis-map-components/{Z6LBL5EZ.js → SB7AEVIC.js} +1 -1
- package/dist/arcgis-map-components/TQSVOK7C.js +6 -0
- package/dist/arcgis-map-components/{22TUFTJ3.js → TVJVBCTP.js} +2 -2
- package/dist/arcgis-map-components/UGW6Q5E5.js +6 -0
- package/dist/arcgis-map-components/{QZU4BCAM.js → UNA6PFSU.js} +2 -2
- package/dist/arcgis-map-components/V6CV3CBQ.js +6 -0
- package/dist/arcgis-map-components/{B4HPKENV.js → W2WPL3LZ.js} +2 -2
- package/dist/arcgis-map-components/{NNSDVBO7.js → WIFWKZMZ.js} +2 -2
- package/dist/arcgis-map-components/XDUFXVMY.js +6 -0
- package/dist/arcgis-map-components/{54YVOIIP.js → XQBJES6M.js} +1 -1
- package/dist/arcgis-map-components/XTHTIM4Q.js +6 -0
- package/dist/arcgis-map-components/XWWCB3F4.js +6 -0
- package/dist/arcgis-map-components/XXDM3O3A.js +6 -0
- package/dist/arcgis-map-components/{4XDOSD62.js → YONYTIVG.js} +2 -2
- package/dist/arcgis-map-components/{AJ64ANVX.js → Z4MFCZ54.js} +2 -2
- package/dist/arcgis-map-components/{HGVFIOAY.js → Z6SSMZQE.js} +2 -2
- package/dist/arcgis-map-components/ZLNOA2ME.js +6 -0
- package/dist/arcgis-map-components/arcgis-map-components.esm.js +2 -2
- package/dist/chunks/component-utils.js +1 -1
- package/dist/chunks/disconnected.js +1 -1
- package/dist/chunks/globalCss.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/useViewModel.js +1 -1
- package/dist/chunks/useWidget.js +1 -1
- package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +7 -1
- package/dist/components/arcgis-area-measurement-2d/customElement.js +14 -10
- package/dist/components/arcgis-area-measurement-3d/customElement.js +7 -3
- package/dist/components/arcgis-attachments/customElement.d.ts +7 -0
- package/dist/components/arcgis-attachments/customElement.js +11 -7
- package/dist/components/arcgis-basemap-gallery/customElement.js +10 -6
- package/dist/components/arcgis-basemap-layer-list/customElement.js +10 -6
- package/dist/components/arcgis-basemap-toggle/customElement.js +16 -12
- package/dist/components/arcgis-bookmarks/customElement.js +12 -8
- package/dist/components/arcgis-building-explorer/customElement.js +10 -6
- package/dist/components/arcgis-catalog-layer-list/customElement.js +10 -6
- package/dist/components/arcgis-compass/customElement.js +19 -12
- package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +4 -5
- package/dist/components/arcgis-coordinate-conversion/customElement.js +10 -6
- package/dist/components/arcgis-daylight/customElement.d.ts +7 -0
- package/dist/components/arcgis-daylight/customElement.js +12 -8
- package/dist/components/arcgis-directional-pad/customElement.js +12 -8
- package/dist/components/arcgis-directions/customElement.js +15 -11
- package/dist/components/arcgis-directline-measurement-3d/customElement.d.ts +7 -1
- package/dist/components/arcgis-directline-measurement-3d/customElement.js +10 -6
- package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +0 -7
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +14 -10
- package/dist/components/arcgis-editor/customElement.js +11 -7
- package/dist/components/arcgis-elevation-profile/customElement.js +10 -6
- package/dist/components/arcgis-expand/customElement.js +2 -2
- package/dist/components/arcgis-feature/customElement.js +18 -14
- package/dist/components/arcgis-feature-form/customElement.d.ts +7 -0
- package/dist/components/arcgis-feature-form/customElement.js +10 -6
- package/dist/components/arcgis-feature-table/customElement.js +5 -5
- package/dist/components/arcgis-feature-templates/customElement.d.ts +7 -0
- package/dist/components/arcgis-feature-templates/customElement.js +10 -6
- package/dist/components/arcgis-features/customElement.d.ts +7 -0
- package/dist/components/arcgis-features/customElement.js +10 -6
- package/dist/components/arcgis-floor-filter/customElement.d.ts +7 -0
- package/dist/components/arcgis-floor-filter/customElement.js +10 -6
- package/dist/components/arcgis-fullscreen/customElement.js +15 -11
- package/dist/components/arcgis-histogram/customElement.d.ts +7 -0
- package/dist/components/arcgis-histogram/customElement.js +10 -6
- package/dist/components/arcgis-histogram-range-slider/customElement.js +12 -8
- package/dist/components/arcgis-home/customElement.js +15 -11
- package/dist/components/arcgis-layer-list/customElement.js +10 -6
- package/dist/components/arcgis-legend/customElement.js +10 -6
- package/dist/components/arcgis-line-of-sight/customElement.js +12 -8
- package/dist/components/arcgis-locate/customElement.js +14 -10
- package/dist/components/arcgis-map/customElement.js +1 -1
- package/dist/components/arcgis-measurement/customElement.js +10 -6
- package/dist/components/arcgis-navigation-toggle/customElement.js +12 -8
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +12 -8
- package/dist/components/arcgis-placement/customElement.js +1 -1
- package/dist/components/arcgis-print/customElement.js +10 -6
- package/dist/components/arcgis-scale-bar/customElement.js +1 -1
- package/dist/components/arcgis-scale-range-slider/customElement.js +10 -6
- package/dist/components/arcgis-scene/customElement.d.ts +18 -1
- package/dist/components/arcgis-scene/customElement.js +19 -2
- package/dist/components/arcgis-search/customElement.d.ts +7 -1
- package/dist/components/arcgis-search/customElement.js +10 -6
- package/dist/components/arcgis-shadow-cast/customElement.js +10 -6
- package/dist/components/arcgis-sketch/customElement.d.ts +7 -0
- package/dist/components/arcgis-sketch/customElement.js +12 -8
- package/dist/components/arcgis-slice/customElement.js +12 -8
- 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 +14 -10
- package/dist/components/arcgis-time-slider/customElement.js +13 -9
- package/dist/components/arcgis-track/customElement.d.ts +1 -1
- package/dist/components/arcgis-track/customElement.js +13 -9
- 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.d.ts +0 -7
- package/dist/components/arcgis-value-picker/customElement.js +10 -6
- 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 +12 -8
- package/dist/components/arcgis-zoom/customElement.js +7 -7
- package/dist/docs/docs.json +7 -7
- package/dist/docs/manifest.json +11 -11
- package/dist/docs/vscode.html-custom-data.json +4 -4
- package/dist/docs/web-types.json +9 -9
- package/dist/index.js +1 -1
- package/dist/loader.js +1 -1
- package/dist/types/components.d.ts +1 -5
- package/package.json +6 -6
- package/dist/arcgis-map-components/3QCCXS3H.js +0 -6
- package/dist/arcgis-map-components/3QPRNSBZ.js +0 -6
- package/dist/arcgis-map-components/4QUJJ2II.js +0 -6
- package/dist/arcgis-map-components/4TEHBDRX.js +0 -6
- package/dist/arcgis-map-components/4TQ6LVAO.js +0 -6
- package/dist/arcgis-map-components/57TW6U5N.js +0 -6
- package/dist/arcgis-map-components/74WRREWX.js +0 -6
- package/dist/arcgis-map-components/7ALDBQRZ.js +0 -6
- package/dist/arcgis-map-components/7MAUBIXS.js +0 -6
- package/dist/arcgis-map-components/7XINDKSI.js +0 -6
- package/dist/arcgis-map-components/B3CTFOJQ.js +0 -6
- package/dist/arcgis-map-components/B5BJ3LU3.js +0 -6
- package/dist/arcgis-map-components/BMOY4OXW.js +0 -6
- package/dist/arcgis-map-components/BZKJPHX5.js +0 -6
- package/dist/arcgis-map-components/CAXTP5IW.js +0 -6
- package/dist/arcgis-map-components/DGDEK5J4.js +0 -6
- package/dist/arcgis-map-components/FXYTJEWC.js +0 -6
- package/dist/arcgis-map-components/GAVVNSGK.js +0 -6
- package/dist/arcgis-map-components/GSXJTYIM.js +0 -6
- package/dist/arcgis-map-components/GUZOC3NU.js +0 -6
- package/dist/arcgis-map-components/IKBJQN6B.js +0 -6
- package/dist/arcgis-map-components/IVNTYVV6.js +0 -6
- package/dist/arcgis-map-components/JHJEXFRQ.js +0 -6
- package/dist/arcgis-map-components/JIS66VBD.js +0 -6
- package/dist/arcgis-map-components/KJYMAR7G.js +0 -6
- package/dist/arcgis-map-components/KLW55FLB.js +0 -6
- package/dist/arcgis-map-components/LAWFOVGI.js +0 -6
- package/dist/arcgis-map-components/LIIHMDYD.js +0 -6
- package/dist/arcgis-map-components/LJOXE4BX.js +0 -6
- package/dist/arcgis-map-components/LX3UECVC.js +0 -6
- package/dist/arcgis-map-components/MTJOGTKX.js +0 -6
- package/dist/arcgis-map-components/NAS3YJDX.js +0 -6
- package/dist/arcgis-map-components/NT4AWAXV.js +0 -6
- package/dist/arcgis-map-components/OJZQEYM5.js +0 -6
- package/dist/arcgis-map-components/RMWYYG25.js +0 -6
- package/dist/arcgis-map-components/SHHNWXJN.js +0 -6
- package/dist/arcgis-map-components/SXCBQQPX.js +0 -6
- package/dist/arcgis-map-components/T5Y7WYGJ.js +0 -6
- package/dist/arcgis-map-components/TE6YAHEH.js +0 -6
- package/dist/arcgis-map-components/U4Z5STVP.js +0 -6
- package/dist/arcgis-map-components/VOA22JK2.js +0 -6
- package/dist/arcgis-map-components/WNCBFKHY.js +0 -6
- package/dist/arcgis-map-components/WNUEJGKJ.js +0 -6
- package/dist/arcgis-map-components/YH24QDM4.js +0 -6
- package/dist/arcgis-map-components/ZD7SCHUX.js +0 -6
- package/dist/arcgis-map-components/ZDX7WO6G.js +0 -6
- package/dist/arcgis-map-components/ZG66MOWN.js +0 -6
- package/dist/arcgis-map-components/ZLIL7MJL.js +0 -6
@@ -0,0 +1,6 @@
|
|
1
|
+
/*!
|
2
|
+
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
3
|
+
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
4
|
+
* v4.32.0-next.9
|
5
|
+
*/
|
6
|
+
import{a as g}from"./AJBMZJ46.js";import{d as t}from"./UNA6PFSU.js";import{V as o}from"./SB7AEVIC.js";import"./XQBJES6M.js";import{B as l,G as c,o as i,p as a,y as r,z as h}from"./PPUMGJ6W.js";var d=a`arcgis-search{display:flex}`,u=g(o),e=class extends l{constructor(){super(...arguments),this.widget=u(this),this.viewModel=this.widget.viewModel,this.activeMenu=this.widget.activeMenu,this.activeSource=this.widget.activeSource,this.activeSourceIndex=this.widget.activeSourceIndex,this.allPlaceholder=this.widget.allPlaceholder,this.allSources=this.widget.allSources,this.autoDestroyDisabled=!1,this.autoSelectDisabled=this.widget.autoSelect,this.defaultSources=this.widget.defaultSources,this.disabled=this.widget.disabled,this.icon=this.widget.icon,this.includeDefaultSourcesDisabled=this.widget.includeDefaultSources,this.label=this.widget.label,this.locationDisabled=this.widget.locationEnabled,this.maxResults=this.widget.maxResults,this.maxSuggestions=this.widget.maxSuggestions,this.minSuggestCharacters=this.widget.minSuggestCharacters,this.popupDisabled=this.widget.popupEnabled,this.popupTemplate=this.widget.popupTemplate,this.portal=this.widget.portal,this.position="top-right",this.resultGraphic=this.widget.resultGraphic,this.resultGraphicDisabled=this.widget.resultGraphicEnabled,this.results=this.widget.results,this.searchAllDisabled=this.widget.searchAllEnabled,this.searchTerm=this.widget.searchTerm,this.selectedResult=this.widget.selectedResult,this.sources=this.widget.sources,this.state=this.viewModel.state,this.suggestions=this.widget.suggestions,this.suggestionsDisabled=this.widget.suggestionsEnabled,this.arcgisBlur=t(()=>this.widget,"search-blur"),this.arcgisClear=t(()=>this.widget,"search-clear"),this.arcgisComplete=t(()=>this.widget,"search-complete"),this.arcgisFocus=t(()=>this.widget,"search-focus"),this.arcgisPropertyChange=i()("state"),this.arcgisReady=r(),this.arcgisSelectResult=t(()=>this.widget,"select-result"),this.arcgisStart=t(()=>this.widget,"search-start"),this.arcgisSuggestComplete=t(()=>this.widget,"suggest-complete"),this.arcgisSuggestStart=t(()=>this.widget,"suggest-start")}static{this.properties={activeMenu:1,activeSource:0,activeSourceIndex:9,allPlaceholder:1,allSources:0,autoDestroyDisabled:5,autoSelectDisabled:5,defaultSources:0,disabled:7,icon:1,includeDefaultSourcesDisabled:5,label:1,locationDisabled:5,maxResults:9,maxSuggestions:9,minSuggestCharacters:9,popupDisabled:5,popupTemplate:0,portal:0,position:1,referenceElement:1,resultGraphic:0,resultGraphicDisabled:5,results:0,searchAllDisabled:5,searchTerm:1,selectedResult:0,sources:0,state:3,suggestions:0,suggestionsDisabled:5}}static{this.shadowRootOptions=h}static{this.styles=d}async blurSearch(){this.widget?.blur()}async clearSearch(){this.widget?.clear()}async destroy(){await this.manager.destroy()}async focusSearch(){this.widget?.focus()}async search(s){return await this.widget?.search(s)}async suggest(s){return await this.widget?.suggest(s)}};c("arcgis-search",e);export{e as ArcgisSearch};
|
@@ -0,0 +1,6 @@
|
|
1
|
+
/*!
|
2
|
+
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
3
|
+
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
4
|
+
* v4.32.0-next.9
|
5
|
+
*/
|
6
|
+
import{a as d}from"./DR55OESP.js";import{a as k,b as C}from"./LPX3CLLP.js";import"./UNA6PFSU.js";import{la as S,n as M}from"./SB7AEVIC.js";import"./XQBJES6M.js";import{B as x,C as a,D as p,E as o,G as T,a as m,m as y,o as _,p as w,q as l,y as B,z as f}from"./PPUMGJ6W.js";var t="esri-basemap-toggle",r="esri-basemap-thumbnail",e={base:t,secondaryBasemapImage:`${t}__image--secondary`,container:`${r} ${t}__container`,image:`${r}__image ${t}__image`,imageLoading:`${t}__image--loading`,overlay:`${r}__overlay ${t}__image-overlay`,title:`${r}__title ${t}__title`,overlayScrim:`${r}__overlay-scrim`},L=w`arcgis-basemap-toggle{display:flex}`,R=C(M),g=class extends x{constructor(){super(...arguments),this.basemapUtils=y(S),this.messages=k(),this.viewModel=R(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=B()}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=f}static{this.styles=L}async destroy(){await this.manager.destroy()}async toggle(){return await this.viewModel.toggle()}_getThumbnailStyles(s){let n=this.basemapUtils.getBasemapThumbnailUrl(s);return n?{backgroundImage:`url(${n})`}:{backgroundImage:""}}render(){let s=this.viewModel,n=s.state==="disabled"?null:s.activeBasemap,i=s.state==="disabled"?null:s.nextBasemap,D=s.state==="loading",h=s.state==="incompatible-next-basemap",c=i?.title??"",$=i&&i.loadStatus!=="loaded",v,b=this.showTitle&&c,u=h,I=b||u,U=this._getThumbnailStyles(n),A=this._getThumbnailStyles(i);return I&&(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,d.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=${p(U)}></div></div><div class=${a(e.container)}><div class=${a(m(e.image,$?e.imageLoading:null))} style=${p(A)}>${$||D?l`<calcite-scrim><span aria-hidden=true class=${a(d.loaderAnimation)} role=presentation></span></calcite-scrim>`:null}</div>${v}</div></calcite-button></div>`}};T("arcgis-basemap-toggle",g);export{g as ArcgisBasemapToggle};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/*!
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
3
3
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
4
|
-
* v4.32.0-next.
|
4
|
+
* v4.32.0-next.9
|
5
5
|
*/
|
6
|
-
import{t as c,u as A,v as d,w as _,x as v}from"./
|
6
|
+
import{t as c,u as A,v as d,w as _,x as v}from"./PPUMGJ6W.js";var o=(t,s)=>{let e=t._$AN;if(e===void 0)return!1;for(let i of e)i._$AO?.(s,!1),o(i,s);return!0},n=t=>{let s,e;do{if((s=t._$AM)===void 0)break;e=s._$AN,e.delete(t),t=s}while(e?.size===0)},$=t=>{for(let s;s=t._$AM;t=s){let e=s._$AN;if(e===void 0)s._$AN=e=new Set;else if(e.has(t))break;e.add(t),m(s)}};function p(t){this._$AN!==void 0?(n(this),this._$AM=t,$(this)):this._$AM=t}function u(t,s=!1,e=0){let i=this._$AH,f=this._$AN;if(f!==void 0&&f.size!==0)if(s)if(Array.isArray(i))for(let h=e;h<i.length;h++)o(i[h],!1),n(i[h]);else i!=null&&(o(i,!1),n(i));else o(this,t)}var m=t=>{t.type==A.CHILD&&(t._$AP??=u,t._$AQ??=p)},r=class extends _{constructor(){super(...arguments),this._$AN=void 0}_$AT(s,e,i){super._$AT(s,e,i),$(this),this.isConnected=s._$AU}_$AO(s,e=!0){s!==this.isConnected&&(this.isConnected=s,s?this.reconnected?.():this.disconnected?.()),e&&(o(this,s),n(this))}setValue(s){if(v(this.t))this.t._$AI(s,this);else{let e=[...this.t._$AH];e[this.i]=s,this.t._$AI(e,this,0)}}disconnected(){}reconnected(){}};var M=()=>new l,l=class{},a=new WeakMap,T=d(class extends r{render(t){return c}update(t,[s]){let e=s!==this.Y;return e&&this.Y!==void 0&&this.rt(void 0),(e||this.lt!==this.ct)&&(this.Y=s,this.ht=t.options?.host,this.rt(this.ct=t.element)),c}rt(t){if(this.isConnected||(t=void 0),typeof this.Y=="function"){let s=this.ht??globalThis,e=a.get(s);e===void 0&&(e=new WeakMap,a.set(s,e)),e.get(this.Y)!==void 0&&this.Y.call(this.ht,void 0),e.set(this.Y,t),t!==void 0&&this.Y.call(this.ht,t)}else this.Y.value=t}get lt(){return typeof this.Y=="function"?a.get(this.ht??globalThis)?.get(this.Y):this.Y?.value}disconnected(){this.lt===this.ct&&this.rt(void 0)}reconnected(){this.rt(this.ct)}});export{M as a,T as b};
|
@@ -0,0 +1,6 @@
|
|
1
|
+
/*!
|
2
|
+
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
3
|
+
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
4
|
+
* v4.32.0-next.9
|
5
|
+
*/
|
6
|
+
import{a as h}from"./AJBMZJ46.js";import"./UNA6PFSU.js";import{N as n}from"./SB7AEVIC.js";import"./XQBJES6M.js";import{B as o,G as r,o as s,p as i,y as e,z as a}from"./PPUMGJ6W.js";var l=i`arcgis-line-of-sight{display:flex}`,c=h(n),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=s()("analysis","state"),this.arcgisReady=e()}static{this.properties={analysis:0,autoDestroyDisabled:5,icon:1,label:1,position:1,referenceElement:1,state:3}}static{this.shadowRootOptions=a}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};
|
@@ -0,0 +1,6 @@
|
|
1
|
+
/*!
|
2
|
+
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
3
|
+
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
4
|
+
* v4.32.0-next.9
|
5
|
+
*/
|
6
|
+
import{a as d}from"./AJBMZJ46.js";import{d as h}from"./UNA6PFSU.js";import{q as r}from"./SB7AEVIC.js";import"./XQBJES6M.js";import{B as a,G as l,o as e,p as i,y as s,z as o}from"./PPUMGJ6W.js";var n=i`arcgis-catalog-layer-list{display:flex}`,c=d(r),t=class extends a{constructor(){super(...arguments),this.widget=c(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.catalogLayer=this.widget.catalogLayer,this.collapsed=this.widget.collapsed,this.filterPlaceholder=this.widget.filterPlaceholder,this.filterText=this.widget.filterText,this.headingLevel=this.widget.headingLevel,this.hideFlow=this.widget.visibleElements.flow,this.hideStatusIndicators=this.widget.visibleElements.statusIndicators,this.icon=this.widget.icon,this.label=this.widget.label,this.listItemCreatedFunction=this.widget.listItemCreatedFunction,this.minFilterItems=this.widget.minFilterItems,this.position="bottom-left",this.selectedItems=this.widget.selectedItems,this.selectionMode=this.widget.selectionMode,this.showCloseButton=this.widget.visibleElements.closeButton,this.showCollapseButton=this.widget.visibleElements.collapseButton,this.showErrors=this.widget.visibleElements.errors,this.showFilter=this.widget.visibleElements.filter,this.showHeading=this.widget.visibleElements.heading,this.showTemporaryLayerIndicators=this.widget.visibleElements.temporaryLayerIndicators,this.state=this.viewModel.state,this.visibilityAppearance=this.widget.visibilityAppearance,this.arcgisPropertyChange=e()("state"),this.arcgisReady=s(),this.arcgisTriggerAction=h(()=>this.widget,"trigger-action")}static{this.properties={autoDestroyDisabled:5,catalogItems:32,catalogLayer:0,collapsed:7,filterPlaceholder:1,filterText:1,headingLevel:9,hideFlow:5,hideStatusIndicators:5,icon:1,label:1,listItemCreatedFunction:0,minFilterItems:9,position:1,referenceElement:1,selectedItems:0,selectionMode:1,showCloseButton:5,showCollapseButton:5,showErrors:5,showFilter:5,showHeading:5,showTemporaryLayerIndicators:5,state:3,visibilityAppearance:1}}static{this.shadowRootOptions=o}static{this.styles=n}get catalogItems(){return this.widget.catalogItems}async destroy(){await this.manager.destroy()}};l("arcgis-catalog-layer-list",t);export{t as ArcgisCatalogLayerList};
|
@@ -0,0 +1,6 @@
|
|
1
|
+
/*!
|
2
|
+
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
3
|
+
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
4
|
+
* v4.32.0-next.9
|
5
|
+
*/
|
6
|
+
import{a as d}from"./AJBMZJ46.js";import"./UNA6PFSU.js";import{w as n}from"./SB7AEVIC.js";import"./XQBJES6M.js";import{B as o,G as r,o as s,p as i,y as e,z as a}from"./PPUMGJ6W.js";var h=i`arcgis-directline-measurement-3d{display:flex}`,l=d(n),t=class extends o{constructor(){super(...arguments),this.widget=l(this),this.viewModel=this.widget.viewModel,this.analysis=this.widget.analysis,this.autoDestroyDisabled=!1,this.icon=this.widget.icon,this.label=this.widget.label,this.position="bottom-left",this.state=this.viewModel.state,this.unit=this.widget.unit,this.unitOptions=this.widget.unitOptions,this.arcgisPropertyChange=s()("analysis","state"),this.arcgisReady=e()}static{this.properties={analysis:0,autoDestroyDisabled:5,icon:1,label:1,position:1,referenceElement:1,state:3,unit:1,unitOptions:0}}static{this.shadowRootOptions=a}static{this.styles=h}async clear(){this.widget?.viewModel.clear()}async destroy(){await this.manager.destroy()}async start(){this.widget?.viewModel.start()}};r("arcgis-directline-measurement-3d",t);export{t as ArcgisDirectLineMeasurement3d};
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/*!
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
3
3
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
4
|
-
* v4.32.0-next.
|
4
|
+
* v4.32.0-next.9
|
5
5
|
*/
|
6
6
|
function qo(...e){let t=[];for(let o=0;o<e.length;o++){let s=e[o];if(typeof s=="string")t.push(s);else if(Array.isArray(s))t.push.apply(t,s);else if(typeof s=="object")for(let n in s)s[n]&&t.push(n)}let r=t.join(" ");return t.length=0,r}var b=class{resolve(e){}reject(e){}constructor(){this.promise=new Promise((e,t)=>{this.resolve=e,this.reject=t})}};function ze(e,t){let r=e;for(;r;){if(r===t)return!0;if(!r.parentNode)return!1;r.parentNode instanceof ShadowRoot?r=r.parentNode.host:r=r.parentNode}return!1}function We(e,t,r){let{subscribe:o}=Be(t);return o(s=>{s.some(i=>ze(e,i.target))&&r()})}var _t={};function Be(e){let t=e.join(","),r=_t[t];if(r!==void 0)return r;let o=new Set,s=new MutationObserver(i=>o.forEach(c=>c(i)));globalThis.document&&s.observe(document.documentElement,{attributes:!0,attributeFilter:e,subtree:!0});let n={subscribe(i){return o.add(i),{remove:()=>{o.delete(i),o.size===0&&(s.disconnect(),_t[t]=void 0)}}}};return _t[t]=n,n}function Fe(e,t){let r=e;for(;r;){let o=r.closest?.(t);if(o)return o;let s=r.getRootNode?.();if(s===globalThis.document)return null;r=s.host}return null}function Ge(e,t,r){return Fe(e,`[${t}]`)?.getAttribute(t)??r}function p(e,t,...r){try{return e?.call(t,...r)}catch(o){console.error(o,e)}}async function B(e,t,...r){try{let o=e?.call(t,...r);return o instanceof Promise?await o:o}catch(o){console.error(o,e)}}var Ke=["ar","bg","bs","ca","cs","da","de","el","en","es","et","fi","fr","he","hr","hu","id","it","ja","ko","lt","lv","nl","nb","pl","pt-BR","pt-PT","ro","ru","sk","sl","sr","sv","th","tr","uk","vi","zh-CN","zh-HK","zh-TW"],qe=new Set(Ke),et="en",Je={pt:"pt-PT",no:"nb",zh:"zh-CN"};async function Ye(e,t,r=""){let o=`${t}/${r}`,s=`${o}${e}.json`;return Et[s]??(Et[s]=It(e,o)),await Et[s]}var Et={};async function It(e,t){let r=`${t}${e}.json`;try{let o=await fetch(r);if(o.ok)return await o.json()}catch(o){return console.error(o),{}}return e===et?{}:await It(et,t)}function Ct(e){let t=Ge(e,"lang",globalThis.navigator?.language||et);return{lang:t,t9nLocale:Ht(t)}}function Ht(e){let[t,r]=e.split("-"),o=t.toLowerCase(),s=o;return r&&(s=`${o}-${r.toUpperCase()}`),s=Je[s]??s,qe.has(s)?s:r?Ht(o):et}function zt(e,t,r,o){let s,n=()=>void Qe(e,t,o).then(i=>{(s?.lang!==i.lang||s.t9nLocale!==i.t9nLocale||s.t9nStrings!==i.t9nStrings)&&r(i),s=i}).catch(console.error);return n(),We(e,["lang"],n)}async function Qe(e,t,r=e.tagName.toLowerCase().split("-").slice(1).join("-")){let{lang:o,t9nLocale:s}=Ct(e),n=`${t}/${r}/t9n`,i=`${r}.t9n.`,c=r===null?{}:await Ye(s,n,i);return{lang:o,t9nLocale:s,t9nStrings:c}}var ot=e=>e.replace(Ze,(t,r)=>`${r===0?"":"-"}${t.toLowerCase()}`),Ze=/[A-Z]+(?![a-z])|[A-Z]/gu;function Wt(e,t){let r=t>Xe?to:t/eo,o=0,s=setInterval(()=>{o+=r,o>=t&&(clearInterval(s),e())},r);return s}var Xe=4e3,to=2e3,eo=4;function Bt(e){return e!==void 0}function Ft(e,t){if(t){let r=e.constructor.elementProperties;e.manager.internals.members=Object.fromEntries(Array.from(r,([o,s])=>s.noAccessor?void 0:[o,[(s.readOnly?2048:0)|(s.state?32:16)]]).filter(Bt))}else{let r=e.constructor,o=r.__registerControllers?.(e)??void 0;if(r.__registerControllers=void 0,typeof o!="object")throw new Error("Failed to retrieve component meta");e.manager.internals.members=Object.fromEntries(Object.entries(o).filter(([s,[n]])=>(n&63)!==0))}}function Gt(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 Kt=(e,t)=>e.manager.internals.members?.[t]?.[0];var st=Symbol.for("controller");var Yt=e=>typeof e=="object"&&e!==null&&(st in e||"hostConnected"in e||"hostDisconnected"in e||"hostUpdate"in e||"hostUpdated"in e);var F;function x(e){F!==e&&(F=e,queueMicrotask(()=>{F===e&&(F=void 0)}))}function H(e){return F}var P=[];function nt(e){if(e===void 0){P=[];return}let t=P.indexOf(e);P=t===-1?[...P,e]:P.slice(0,t+1),queueMicrotask(()=>{P=[]})}function Qt(){return P}var I;function oo(e){I!==e&&(I=e,queueMicrotask(()=>{I===e&&(I=void 0)}))}function ro(){let e=I;return I=void 0,e}var so=async(e,t)=>{let r=wt(e);if(r===void 0)return e;if(await r.ready,typeof t=="function"){let o=r.watchExports(s=>t(s,o))}return r.exports},no=async e=>{let t=wt(e);return await t.ready,t},wt=e=>{let t=ro();if(t!==void 0)return t;let o=H().manager.internals.resolveExports(e);if(o!==void 0)return o;if(Yt(e))return e},$={setter:!1,getter:!1,readOnly:!1},G=new WeakMap,Zt;Zt=st;var Lt=class{constructor(e){this._callbacks={hostConnected:[],hostDisconnected:[],hostLoad:[],hostLoaded:[],hostUpdate:[],hostUpdated:[],hostDestroy:[],hostLifecycle:[]},this._ready=new b,this._lifecycleCleanups=[],this.connectedCalled=!1,this._loadCalled=!1,this.loadedCalled=!1,this[Zt]=!0,this.ready=this._ready.promise,this._exports=Jt(this),this._exportWatchers=new Set;let t=e??H(new.target.name);this.component=t,this.component.addController(this),nt(this),this.component.manager===void 0||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?Jt(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 x(this.component),so}get useRef(){return x(this.component),no}get useRefSync(){return x(this.component),wt}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 B(e.hostLoad,e),this._callbacks.hostLoad.length>0&&await Promise.allSettled(this._callbacks.hostLoad.map(B)),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(qt,e)}triggerUpdated(e){let t=this;t.hostUpdated&&p(t.hostUpdated,t,e),this._callbacks.hostUpdated.forEach(qt,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){x(this.component);let t=p(e);(Array.isArray(t)?t:[t]).forEach(o=>{typeof o=="function"?this._lifecycleCleanups.push(o):typeof o=="object"&&typeof o.remove=="function"&&this._lifecycleCleanups.push(o.remove)})}};function qt(e){p(e,void 0,this)}var Xt=Lt;function Jt(e){if(typeof e!="object"&&typeof e!="function"||e===null)return e;let t=new Proxy(e,{get(r,o,s){if(!(io.has(o)&&o in r&&r[o]===t)&&(o in r||o in Promise.prototype||typeof o=="symbol"))return typeof r=="function"?r[o]:Reflect.get(r,o,s)},set:(r,o,s,n)=>Reflect.set(r,o,s,n)});return t}var io=new Set(["exports","_exports"]);function it(e,t,r){let o=Object.keys(e),s=o.length;T===void 0&&queueMicrotask(K),T??(T=new Map);let n=T.get(e);return n===void 0&&(n={callbacks:[],keyCount:s},T.set(e,n)),n.keyCount!==s&&(n.callbacks.forEach(i=>i(o)),n.callbacks=[],n.keyCount=s),n.callbacks.push(i=>{let c=l=>p(t,null,l),a=i[s];a===void 0?c(void 0):e[a]===r?c(a):c(void 0)}),r}var T=void 0;function K(){Array.from(T?.entries()??[]).forEach(([e,{callbacks:t}])=>{let r=Object.keys(e);t.forEach(o=>o(r))}),T=void 0}function q(e,t,r){var o;let s=t,n=e.manager.internals;(o=n.allWatchers)[s]??(o[s]=[]);let i=n.allWatchers[s],c=r,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 te=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(([r,[o]])=>{var s;o&2048&&((s=t.setters)[r]??(s[r]=[]),t.setters[r].push(t.readonlySetter))})},this.trackedValue=At,this.keyTrackers=[],this.getters={},this.setters={},this.accessorGetter={},this.accessorSetter={},this._exports=new WeakMap,this.readonlySetter=(t,r,o)=>{if($.readOnly)return t;throw new Error(`Cannot assign to read-only property "${o}" of ${this.component.el.tagName.toLowerCase()}. Trying to assign "${String(t)}"`)},this.component=e}firePropTrackers(e,t){let r=this.keyTrackers;this.trackedValue=At,this.keyTrackers=[],r.forEach(o=>o(e,t))}getSetProxy(e){let t=this.component,r=t.constructor.prototype;if(this._getSetProxy(r,e,"class"),t.manager.isLit)return;let o=t.el.constructor.prototype;r!==o&&this._getSetProxy(o,e,"html")}_getSetProxy(e,t,r){let o=this.component,s=Kt(o,t),n;do n=Object.getOwnPropertyDescriptor(e,t);while(!n&&(e=Object.getPrototypeOf(e)));if(!n)return;let i=n.get,c=n.set,a=rt in i,l=rt in c;if(a&&l)return;let d=!a,h=!l,f=d?function(){let v=i.call(this),E=G.get(this);if($.getter||E===void 0)return v;let V=E.manager.internals;v=V.accessorGetter[t](v,t);let y=V.getters[t]??$t;for(let C=0;C<y.length;C++)v=y[C](v,t);return v}:i,g=h?function(v){let E=i.call(this),V=G.get(this);if(V===void 0){c.call(this,v);return}let y=V.manager.isLit?v??void 0:Gt(v,s),C=V.manager.internals;if(y===E)c.call(this,y);else{let Vt=$.setter?$t:C.setters[t]??$t;for(let W=0;W<Vt.length&&(y=Vt[W](y,E,t),y!==E);W++);y=C.accessorSetter[t](y,E,t),c.call(this,y),y!==E&&C.enabledWatchers[t]?.forEach(W=>W(y,E,t))}C.keyTrackers.length>0&&C?.firePropTrackers(t,v)}:c;d&&(f[rt]=!0),h&&(g[rt]=!0),Object.defineProperty(e,t,{...n,get:f,set:g})}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)}},$t=[],rt=Symbol(),At=Symbol();function ee(e,t,r){let o=e.manager.internals;return o.trackedValue!==At&&o.trackedValue!==r&&o.firePropTrackers(void 0,void 0),o.keyTrackers.length===0&&queueMicrotask(()=>o.firePropTrackers(void 0,void 0)),o.trackedValue=r,o.keyTrackers.push((s,n)=>p(t,void 0,r===n?s:void 0)),r}function oe(e,t,r){let o=Array.isArray(e)?e:[e],s=o.length+1,n=c=>{s-=1,c!==void 0&&(s=Math.min(s,0)),s===0&&t(c)};o.forEach(c=>it(c,a=>n(a===void 0?void 0:{key:a,host:c,isReactive:!1}),r));let i=o.find(c=>"manager"in c&&typeof c.manager=="object"&&c.manager.component===c);return i&&ee(i,c=>n(c===void 0?void 0:{key:c,host:i,isReactive:!0}),r),r}function ao(e){$.setter=!0;try{return e()}finally{$.setter=!1}}function co(e){$.getter=!0;try{return e()}finally{$.getter=!1}}function re(e){$.readOnly=!0;try{return e()}finally{$.readOnly=!1}}var se=e=>(...t)=>{let r=Qt(),o=new e(...t),s=o.exports;nt(r.at(-1));let n=o.component.manager.internals;n.markExports(o,s),o.watchExports(c=>n.markExports(o,c)),oo(o);let i=[o.component,...r].reverse();return oe(i,c=>c===void 0?void 0:lo(o,c,s),s)};function lo(e,{host:t,key:r,isReactive:o},s){let n=t,i=n[r]!==e.exports,c=n[r]!==s,a=s!==e.exports;if(i&&!c&&a&&(n[r]=e.exports),t===e.component){if(o){let d=e.component.manager.internals;c&&d.markExports(e,n[r]),q(e.component,r,h=>{h!==e.exports&&d.markExports(e,h)})}e.assignedProperty=o?void 0:r}e.watchExports(()=>{if(n[r]===e.exports)return;let d=e.component.manager;d.internals.setters[r]?.includes(d.internals.readonlySetter)?re(()=>{n[r]=e.exports}):n[r]=e.exports})}var ae=(e,t)=>new ho(e,t),ho=class extends Xt{constructor(e,t){let r="addController"in e,o=new Set;function s(a){o.add(a),!(st in a)&&e.renderRoot&&e.el.isConnected&&a.hostConnected?.()}function n(a){o.delete(a),a.controllerRemoved?.()}let i=e;if(i.addController=s,i.removeController=n,!r){let a=t??e.constructor.__forceUpdate;i.requestUpdate=()=>a(e)}super(e),this.internals=new te(this.component),this.destroyed=!1,this._updatePromise=new b,this._originalLifecycles={},this.isLit=r,this.component.manager=this,Ft(e,r),this._controllers=o,this.exports=void 0,this.hasDestroy=Ot in this.component&&typeof this.component.destroy=="function",this._bindLifecycleMethods();let c=this.internals;Object.keys(c.members).forEach(a=>{c.accessorGetter[a]=ne,c.accessorSetter[a]=ne,c.getSetProxy(a)}),r?this.internals.enabledWatchers=this.internals.allWatchers:Object.defineProperty(e,"updateComplete",{get:async()=>await this._updatePromise.promise}),queueMicrotask(c.enableReadonly),nt(void 0),x(e),G.set(e.el,e),G.set(e,e)}_bindLifecycleMethods(){let e=this.component,t=this.isLit,r=e.el===e;this._originalLifecycles={_connectedCallback:t||r?void 0:e.connectedCallback,_disconnectedCallback:t||r?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 o=this._connectedCallback.bind(this),s=this._disconnectedCallback.bind(this),n=this._update.bind(this),i=this._updated.bind(this);t?e.constructor.prototype.addController.call(e,{hostConnected:o,hostDisconnected:s,hostUpdate:n,hostUpdated:i}):(e.connectedCallback=o,e.disconnectedCallback=s,e.componentWillLoad=this._load.bind(this),e.componentDidLoad=this._loaded.bind(this),e.componentWillUpdate=n,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 ${Ot} prop.`)}this._autoDestroyTimeout!==void 0&&clearTimeout(this._autoDestroyTimeout);let e=this.internals;e.enabledWatchers=e.allWatchers,K(),e.enableReadonly?.(),this._controllers.forEach(uo),this._originalLifecycles._connectedCallback?.call(this.component)}_disconnectedCallback(){this.destroyed||(this._controllers.forEach(fo),this._originalLifecycles._disconnectedCallback?.call(this.component),this.hasDestroy&&this._setAutoDestroyTimeout())}async _load(){await Promise.allSettled(Array.from(this._controllers,mo)),await this._originalLifecycles._load?.call(this.component),this.hasDestroy&&q(this.component,Ot,()=>this._setAutoDestroyTimeout())}_loaded(){this._controllers.forEach(yo),this._originalLifecycles._loaded?.call(this.component)}_update(){let e=this.component;this._controllers.forEach(go,e.$changes),this._originalLifecycles._willUpdate?.call(this.component)}_updated(){let e=this.component;if(this._controllers.forEach(vo,e.$changes),this._originalLifecycles._updated?.call(this.component),this.isLit)e.$changes=new Map;else{let t=this._updatePromise;this._updatePromise=new b,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(bo),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=Wt(e,po)}}},Ot="autoDestroyDisabled",po=1e3;var ne=e=>e;function uo(e){"triggerConnected"in e?e.triggerConnected():p(e.hostConnected,e)}function fo(e){"triggerDisconnected"in e?e.triggerDisconnected():p(e.hostDisconnected,e)}async function mo(e){"triggerLoad"in e?await e.triggerLoad():await B(e.hostLoad,e)}function yo(e){"triggerLoaded"in e?e.triggerLoaded():p(e.hostLoaded,e)}function go(e){"triggerUpdate"in e?e.triggerUpdate(this):p(e.hostUpdate,e,this)}function vo(e){"triggerUpdated"in e?e.triggerUpdated(this):p(e.hostUpdated,e,this)}function bo(e){"triggerDestroy"in e?e.triggerDestroy():p(e.hostDestroy,e)}var ce=e=>Eo(void 0,e);var _o=class extends Lt{constructor(e,t){super(e);let r=this.exports;try{x(this.component);let o=t(this.component,this),s=this.exports!==r;if(o instanceof Promise){s||this.setProvisionalExports(o);let n=o.then(i=>{this.exports=i,super.catchUpLifecycle()}).catch(i=>{this._ready.reject(i),console.error(i)});this.onLoad(async()=>await n)}else(!s||o!==void 0)&&(this.exports=o),queueMicrotask(()=>super.catchUpLifecycle())}catch(o){this._ready.reject(o),console.error(o)}}catchUpLifecycle(){}},Eo=se(_o);var mr=ce;var gr=e=>(t={})=>ce((r,o)=>{let s=Ct(r.el),n={_lang:s.lang,_t9nLocale:s.t9nLocale,_loading:!0},i=r;o.onLifecycle(()=>zt(r.el,e("./assets"),({t9nLocale:a,t9nStrings:l,lang:d})=>{let h={...l,_lang:d,_t9nLocale:a,_loading:!1};o.exports=h;let f=l.componentLabel??l.widgetLabel;typeof f=="string"&&"label"in r&&r.label==null&&(r.label??(r.label=f)),c(i.messageOverrides)},t.name));function c(a){let l=o.exports,d=l._original??l,h=le(d,a);a&&(h._original=d),o.exports=h}return"messageOverrides"in i&&o.onLifecycle(()=>q(i,"messageOverrides",c)),t.blocking?(o.setProvisionalExports(n,!1),o.ready):n});function le(e,t){if(!t)return e;let r={...e};return Object.entries(t).forEach(([o,s])=>{typeof s=="object"?r[o]=le(e[o],s):r[o]=s??e[o]}),r}var vr=e=>Co,ie="arcgisPropertyChange";function Co(...e){let t=H(),o=t[ie];return t.manager.isLit&&(o=t.constructor.$createEvent(ie,void 0,t)),t.manager.onLoad(()=>t.manager.onLifecycle(()=>e.map(s=>q(t,s,()=>o.emit({name:s}))))),o}var at=globalThis,ct=at.ShadowRoot&&(at.ShadyCSS===void 0||at.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,St=Symbol(),he=new WeakMap,J=class{constructor(t,r,o){if(this._$cssResult$=!0,o!==St)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=r}get styleSheet(){let t=this.o,r=this.t;if(ct&&t===void 0){let o=r!==void 0&&r.length===1;o&&(t=he.get(r)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),o&&he.set(r,t))}return t}toString(){return this.cssText}},de=e=>new J(typeof e=="string"?e:e+"",void 0,St),$o=(e,...t)=>{let r=e.length===1?e[0]:t.reduce((o,s,n)=>o+(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.")})(s)+e[n+1],e[0]);return new J(r,e,St)},Pt=(e,t)=>{if(ct)e.adoptedStyleSheets=t.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of t){let o=document.createElement("style"),s=at.litNonce;s!==void 0&&o.setAttribute("nonce",s),o.textContent=r.cssText,e.appendChild(o)}},lt=ct?e=>e:e=>e instanceof CSSStyleSheet?(t=>{let r="";for(let o of t.cssRules)r+=o.cssText;return de(r)})(e):e;var xt=globalThis,ht=xt.trustedTypes,pe=ht?ht.createPolicy("lit-html",{createHTML:e=>e}):void 0,Nt="$lit$",A=`lit$${Math.random().toFixed(9).slice(2)}$`,Dt="?"+A,Ao=`<${Dt}>`,k=document,Q=()=>k.createComment(""),Z=e=>e===null||typeof e!="object"&&typeof e!="function",kt=Array.isArray,ve=e=>kt(e)||typeof e?.[Symbol.iterator]=="function",Tt=`[
|
7
7
|
\f\r]`,Y=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,ue=/-->/g,fe=/>/g,N=RegExp(`>|${Tt}(?:([^\\s"'>=/]+)(${Tt}*=${Tt}*(?:[^
|
@@ -0,0 +1,6 @@
|
|
1
|
+
/*!
|
2
|
+
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
3
|
+
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
4
|
+
* v4.32.0-next.9
|
5
|
+
*/
|
6
|
+
import{a as h}from"./AJBMZJ46.js";import"./UNA6PFSU.js";import{j as n}from"./SB7AEVIC.js";import"./XQBJES6M.js";import{B as o,G as r,o as s,p as i,y as e,z as a}from"./PPUMGJ6W.js";var d=i`arcgis-area-measurement-3d{display:flex}`,l=h(n),t=class extends o{constructor(){super(...arguments),this.widget=l(this),this.viewModel=this.widget.viewModel,this.analysis=this.widget.analysis,this.autoDestroyDisabled=!1,this.icon=this.widget.icon,this.label=this.widget.label,this.position="bottom-left",this.state=this.viewModel.state,this.unit=this.widget.unit,this.unitOptions=this.widget.unitOptions,this.arcgisPropertyChange=s()("analysis","state"),this.arcgisReady=e()}static{this.properties={analysis:0,autoDestroyDisabled:5,icon:1,label:1,position:1,referenceElement:1,state:3,unit:1,unitOptions:0}}static{this.shadowRootOptions=a}static{this.styles=d}async clear(){this.widget?.viewModel.clear()}async destroy(){await this.manager.destroy()}async start(){this.widget?.viewModel.start()}};r("arcgis-area-measurement-3d",t);export{t as ArcgisAreaMeasurement3d};
|
@@ -0,0 +1,6 @@
|
|
1
|
+
/*!
|
2
|
+
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
3
|
+
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
4
|
+
* v4.32.0-next.9
|
5
|
+
*/
|
6
|
+
import{a as l}from"./AJBMZJ46.js";import{d as r}from"./UNA6PFSU.js";import{aa as n}from"./SB7AEVIC.js";import"./XQBJES6M.js";import{B as h,G as d,o as e,p as s,y as o,z as a}from"./PPUMGJ6W.js";var m=s`arcgis-time-slider{display:flex}`,c=l(n),i=class extends h{constructor(){super(...arguments),this.widget=c(this),this.viewModel=this.widget.viewModel,this.actions=this.widget.actions,this.autoDestroyDisabled=!1,this.disabled=this.widget.disabled,this.effectiveStops=this.widget.effectiveStops,this.fullTimeExtent=this.widget.fullTimeExtent,this.icon=this.widget.icon,this.label=this.widget.label,this.layout=this.widget.layout,this.loop=this.widget.loop,this.mode=this.widget.mode,this.playRate=this.widget.playRate,this.position="bottom-left",this.state=this.viewModel.state,this.stops=this.widget.stops,this.tickConfigs=this.widget.tickConfigs,this.timeExtent=this.widget.timeExtent,this.timeVisible=this.widget.timeVisible,this.timeZone=this.widget.timeZone,this.arcgisPropertyChange=e()("effectiveStops","fullTimeExtent","timeExtent","state"),this.arcgisReady=o(),this.arcgisTriggerAction=r(()=>this.widget,"trigger-action")}static{this.properties={actions:0,autoDestroyDisabled:5,disabled:7,effectiveStops:0,fullTimeExtent:0,icon:1,label:1,layout:1,loop:5,mode:1,playRate:9,position:1,referenceElement:1,state:3,stops:0,tickConfigs:0,timeExtent:0,timeVisible:5,timeZone:1}}static{this.shadowRootOptions=a}static{this.styles=m}async applyTimeSliderSettings(t){Object.assign(this,t)}async destroy(){await this.manager.destroy()}async next(){this.widget?.next()}async play(){this.widget?.play()}async previous(){this.widget?.previous()}async stop(){this.widget?.stop()}async updateWebDocument(t){this.widget?.updateWebDocument(t)}};d("arcgis-time-slider",i);export{i as ArcgisTimeSlider};
|
@@ -0,0 +1,6 @@
|
|
1
|
+
/*!
|
2
|
+
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
3
|
+
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
4
|
+
* v4.32.0-next.9
|
5
|
+
*/
|
6
|
+
import{a as l}from"./AJBMZJ46.js";import"./UNA6PFSU.js";import{u as d}from"./SB7AEVIC.js";import"./XQBJES6M.js";import{B as o,G as r,o as s,p as i,y as e,z as a}from"./PPUMGJ6W.js";var c=i`arcgis-directional-pad{display:flex}`,h=l(d),t=class extends o{constructor(){super(...arguments),this.widget=h(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.disabled=this.widget.disabled,this.icon=this.widget.icon,this.label=this.widget.label,this.position="bottom-left",this.state=this.viewModel.state,this.visualScale=this.widget.visualScale,this.arcgisPropertyChange=s()("state"),this.arcgisReady=e()}static{this.properties={autoDestroyDisabled:5,disabled:5,icon:1,label:1,position:1,referenceElement:1,state:3,visualScale:1}}static{this.shadowRootOptions=a}static{this.styles=c}async destroy(){await this.manager.destroy()}};r("arcgis-directional-pad",t);export{t as ArcgisDirectionalPad};
|
@@ -0,0 +1,6 @@
|
|
1
|
+
/*!
|
2
|
+
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
3
|
+
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
4
|
+
* v4.32.0-next.9
|
5
|
+
*/
|
6
|
+
import{a as d}from"./AJBMZJ46.js";import"./UNA6PFSU.js";import{J as n}from"./SB7AEVIC.js";import"./XQBJES6M.js";import{B as r,G as o,o as i,p as e,y as s,z as a}from"./PPUMGJ6W.js";var l=e`arcgis-histogram-range-slider{display:flex}`,g=d(n),t=class extends r{constructor(){super(...arguments),this.widget=g(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.average=this.widget.average,this.barCreatedFunction=this.widget.barCreatedFunction,this.bins=this.widget.bins,this.dataLineCreatedFunction=this.widget.dataLineCreatedFunction,this.dataLines=this.widget.dataLines,this.excludedBarColor=this.widget.excludedBarColor,this.icon=this.widget.icon,this.includedBarColor=this.widget.includedBarColor,this.label=this.widget.label,this.labelFormatFunction=this.widget.labelFormatFunction,this.max=this.widget.max,this.min=this.widget.min,this.position="bottom-left",this.precision=this.widget.precision,this.rangeType=this.widget.rangeType,this.standardDeviation=this.widget.standardDeviation,this.standardDeviationCount=this.widget.standardDeviationCount,this.state=this.viewModel.state,this.values=this.widget.values,this.arcgisPropertyChange=i()("state"),this.arcgisReady=s()}static{this.properties={autoDestroyDisabled:5,average:9,barCreatedFunction:0,bins:0,dataLineCreatedFunction:0,dataLines:0,excludedBarColor:0,icon:1,includedBarColor:0,label:1,labelFormatFunction:0,max:9,min:9,position:1,precision:9,rangeType:1,referenceElement:1,standardDeviation:9,standardDeviationCount:9,state:3,values:0}}static{this.shadowRootOptions=a}static{this.styles=l}async destroy(){await this.manager.destroy()}async generateWhereClause(h){return this.widget.generateWhereClause(h)}};o("arcgis-histogram-range-slider",t);export{t as ArcgisHistogramRangeSlider};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/*!
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
3
3
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
4
|
-
* v4.32.0-next.
|
4
|
+
* v4.32.0-next.9
|
5
5
|
*/
|
6
|
-
import{a as w}from"./
|
6
|
+
import{a as w}from"./Z6SSMZQE.js";import{b as c}from"./O37OVJBX.js";import{ea as h}from"./SB7AEVIC.js";import{b as l,c as d,i as n}from"./XQBJES6M.js";import{B as o,G as r,q as e,y as a,z as s}from"./PPUMGJ6W.js";var i=class extends o{constructor(){super(...arguments),this._watchHandles=[],this.extentToValidate="current",this.position="bottom-left",this.arcgisReady=a()}static{this.properties={extentToValidate:1,position:1,referenceElement:1,utilityNetwork:0,view:0,widget:0}}static{this.shadowRootOptions=s}willUpdate(t){t.has("referenceElement")&&this.referenceElementWatcher(this.referenceElement),t.has("extentToValidate")&&this.extentToValidateWatcher(this.extentToValidate),t.has("utilityNetwork")&&this.utilityNetworkWatcher(this.utilityNetwork),t.has("position")&&this.positionWatcher(this.position),t.has("view")&&this.viewWatcher(this.view)}async loaded(){let t=this._createParams(),m=await h(t);this.widget=m,this._addContainer(),d(this),l(this)}disconnectedCallback(){super.disconnectedCallback(),w(this)}referenceElementWatcher(t){n(this,t)}extentToValidateWatcher(t){this.widget&&(this.widget.extentToValidate=t)}utilityNetworkWatcher(t){this.widget&&t&&(this.widget.utilityNetwork=t)}positionWatcher(t){t!==void 0&&this.widget&&this.el.childElem&&this.view.ui.move(this.el.childElem,t)}viewWatcher(t){t!==void 0&&this.widget&&(this.widget.view=t,this._loadUtilityNetwork())}_addContainer(){this.widget.container=this.el.childElem}_createParams(){let t={};return this.extentToValidate!==void 0&&(t.extentToValidate=this.extentToValidate),this.utilityNetwork!==void 0&&(t.utilityNetwork=this.utilityNetwork),t}async _loadUtilityNetwork(){if(this.view?.map&&this.view.map.portalItem){await this.view.map.load();let t=this.view.map.utilityNetworks.getItemAt(0);await t.load(),this.utilityNetwork=t}}render(){return e`<div ${c(t=>this.el.childElem=t)}></div>`}};r("arcgis-utility-network-validate-topology",i);export{i as ArcgisUtilityNetworkValidateTopology};
|
@@ -0,0 +1,6 @@
|
|
1
|
+
/*!
|
2
|
+
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
3
|
+
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
4
|
+
* v4.32.0-next.9
|
5
|
+
*/
|
6
|
+
import{a as g}from"./AJBMZJ46.js";import{d as t}from"./UNA6PFSU.js";import{C as m}from"./SB7AEVIC.js";import"./XQBJES6M.js";import{B as o,G as h,o as i,p as s,y as a,z as r}from"./PPUMGJ6W.js";var l=s`arcgis-feature-form{display:flex}`,n=g(m),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=i()("state"),this.arcgisReady=a(),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=r}static{this.styles=l}async destroy(){await this.manager.destroy()}async getValues(){return this.widget?.getValues()}async submit(){return this.widget?.submit()}};h("arcgis-feature-form",e);export{e as ArcgisFeatureForm};
|
@@ -0,0 +1,6 @@
|
|
1
|
+
/*!
|
2
|
+
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
3
|
+
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
4
|
+
* v4.32.0-next.9
|
5
|
+
*/
|
6
|
+
import{a as l}from"./AJBMZJ46.js";import"./UNA6PFSU.js";import{Q as g}from"./SB7AEVIC.js";import"./XQBJES6M.js";import{B as a,G as r,o as s,p as i,y as e,z as o}from"./PPUMGJ6W.js";var n=i`arcgis-navigation-toggle{display:flex}`,h=l(g),t=class extends a{constructor(){super(...arguments),this.widget=h(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.icon=this.widget.icon,this.label=this.widget.label,this.layout=this.widget.layout,this.position="bottom-left",this.state=this.viewModel.state,this.arcgisPropertyChange=s()("layout","state"),this.arcgisReady=e()}static{this.properties={autoDestroyDisabled:5,icon:1,label:1,layout:3,position:1,referenceElement:1,state:3}}static{this.shadowRootOptions=o}static{this.styles=n}async destroy(){await this.manager.destroy()}async toggle(){this.widget?.toggle()}};r("arcgis-navigation-toggle",t);export{t as ArcgisNavigationToggle};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/*!
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
3
3
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
4
|
-
* v4.32.0-next.
|
4
|
+
* v4.32.0-next.9
|
5
5
|
*/
|
6
|
-
import{a as c}from"./
|
6
|
+
import{a as c}from"./AJBMZJ46.js";import{d as t}from"./UNA6PFSU.js";import{Z as m}from"./SB7AEVIC.js";import"./XQBJES6M.js";import{B as l,G as g,o as s,p as a,y as n,z as h}from"./PPUMGJ6W.js";var r=a`arcgis-slider{min-width:200px;min-height:25px}`,d=c(m),i=class extends l{constructor(){super(...arguments),this.widget=d(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.draggableSegmentsEnabled=this.widget.draggableSegmentsEnabled,this.effectiveMax=this.widget.effectiveMax,this.effectiveMin=this.widget.effectiveMin,this.effectiveSegmentElements=this.widget.effectiveSegmentElements,this.icon=this.widget.icon,this.label=this.widget.label,this.labelElements=this.widget.labelElements,this.labelInputsEnabled=this.widget.labelInputsEnabled,this.labels=this.widget.labels,this.layout=this.widget.layout,this.max=this.widget.max,this.maxLabelElement=this.widget.maxLabelElement,this.min=this.widget.min,this.minLabelElement=this.widget.minLabelElement,this.position="bottom-left",this.precision=this.widget.precision,this.rangeLabelInputsEnabled=this.widget.rangeLabelInputsEnabled,this.segmentElements=this.widget.segmentElements,this.snapOnClickEnabled=this.widget.snapOnClickEnabled,this.state=this.widget.state,this.steps=this.widget.steps,this.syncedSegmentsEnabled=this.widget.syncedSegmentsEnabled,this.thumbElements=this.widget.thumbElements,this.thumbsConstrained=this.widget.thumbsConstrained,this.tickConfigs=this.widget.tickConfigs,this.tickElements=this.widget.tickElements,this.trackElement=this.widget.trackElement,this.values=this.widget.values,this.arcgisMaxChange=t(()=>this.widget,"max-change"),this.arcgisMaxClick=t(()=>this.widget,"max-click"),this.arcgisMinChange=t(()=>this.widget,"min-change"),this.arcgisMinClick=t(()=>this.widget,"min-click"),this.arcgisPropertyChange=s()("state"),this.arcgisReady=n(),this.arcgisSegmentClick=t(()=>this.widget,"segment-click"),this.arcgisSegmentDrag=t(()=>this.widget,"segment-drag"),this.arcgisThumbChange=t(()=>this.widget,"thumb-change"),this.arcgisThumbClick=t(()=>this.widget,"thumb-click"),this.arcgisThumbDrag=t(()=>this.widget,"thumb-drag"),this.arcgisTickClick=t(()=>this.widget,"tick-click"),this.arcgisTrackClick=t(()=>this.widget,"track-click")}static{this.properties={autoDestroyDisabled:5,draggableSegmentsEnabled:5,effectiveMax:9,effectiveMin:9,effectiveSegmentElements:0,icon:1,label:1,labelElements:0,labelInputsEnabled:5,labels:0,layout:1,max:9,maxLabelElement:0,min:9,minLabelElement:0,position:1,precision:9,rangeLabelInputsEnabled:5,referenceElement:1,segmentElements:0,snapOnClickEnabled:5,state:3,steps:[9,{converter:e=>typeof e=="string"?e.split(",").map(Number):e}],syncedSegmentsEnabled:5,thumbElements:0,thumbsConstrained:5,tickConfigs:0,tickElements:0,trackElement:0,values:[1,{converter:e=>typeof e=="string"?e.split(",").map(Number):e}]}}static{this.shadowRootOptions=h}static{this.styles=r}async destroy(){await this.manager.destroy()}};g("arcgis-slider",i);export{i as ArcgisSlider};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/*!
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
3
3
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
4
|
-
* v4.32.0-next.
|
4
|
+
* v4.32.0-next.9
|
5
5
|
*/
|
6
|
-
import{B as p,E as v,G as h,q as o,y as g,z as m}from"./
|
6
|
+
import{B as p,E as v,G as h,q as o,y as g,z as m}from"./PPUMGJ6W.js";var c=class extends p{constructor(){super(...arguments),this.arcgisManageVersion=g()}static{this.properties={versionItemElementProps:0}}static{this.shadowRootOptions=m}render(){let{versionItemElementProps:{currentUser:$,currentVersionIdentifier:V,hasAdvEditingUte:f,isVersioningApiAvailable:b,serviceUrl:t,strings:{actions:n},versionInfo:e}}=this,s=e.versionIdentifier.name,u=s.substring(s.lastIndexOf(".")+1),r=s.substring(0,s.lastIndexOf(".")),l=e.versionIdentifier.guid,d=`actionSwitchToVersion_${l}`,a=r.toUpperCase()===$.toUpperCase()&&b&&f,i=V.guid===e.versionIdentifier.guid,x=o`<calcite-action .disabled=${i} id=${d??v} icon=code-branch text @click=${()=>{this.arcgisManageVersion.emit({actionType:"changeVersion",serviceUrl:t,versionInfo:e})}} slot=actions-start></calcite-action>`,I=i?void 0:o`<calcite-tooltip overlay-positioning=fixed .referenceElement=${d}><span>${n.switchToVersion}</span></calcite-tooltip>`;return o`<calcite-list-item .description=${r} .label=${u} .value=${l}>${x}${I}<calcite-action-menu overlay-positioning=fixed slot=actions-end label><calcite-action .disabled=${i} icon=code-branch @click=${()=>{this.arcgisManageVersion.emit({actionType:"changeVersion",serviceUrl:t,versionInfo:e})}} scale=s .text=${n.switchToVersion} text-enabled></calcite-action><calcite-action .disabled=${!a||i||""} icon=code-branch-edit @click=${()=>{this.arcgisManageVersion.emit({actionType:"editVersion",serviceUrl:t,versionInfo:e})}} scale=s .text=${n.editVersion} text-enabled></calcite-action><calcite-action .disabled=${!a||a&&i||""} icon=trash @click=${()=>{this.arcgisManageVersion.emit({actionType:"deleteVersion",serviceUrl:t,versionInfo:e})}} scale=s .text=${n.deleteVersion} text-enabled></calcite-action></calcite-action-menu></calcite-list-item>`}};h("arcgis-version-management-version-item",c);export{c as ArcgisVersionManagementVersionItem};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/*!
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
3
3
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
4
|
-
* v4.32.0-next.
|
4
|
+
* v4.32.0-next.9
|
5
5
|
*/
|
6
|
-
import{a as S}from"./HGVFIOAY.js";import{b as m}from"./FVFH5V4K.js";import{ca as c}from"./Z6LBL5EZ.js";import{b as r,c as h,i as A}from"./54YVOIIP.js";import{B as l,G as a,q as e,y as o,z as n}from"./EEZJ56IS.js";var s=class extends l{constructor(){super(...arguments),this._watchHandles=[],this.autoRefreshAssociationsDisabled=!1,this.includeConnectivityAssociationsDisabled=!1,this.includeStructuralAttachmentAssociationsDisabled=!1,this.maxAllowableAssociations=250,this.position="bottom-left",this.showArrowsConnectivity=!1,this.showArrowsStructuralAttachment=!1,this.showAssociationsEnabled=!1,this.visibleElementsConnectivityAssociationsSettingsArrowsToggle=!0,this.visibleElementsConnectivityAssociationsSettingsCapSelect=!0,this.visibleElementsConnectivityAssociationsSettingsColorPicker=!0,this.visibleElementsConnectivityAssociationsSettingsStylePicker=!0,this.visibleElementsConnectivityAssociationsSettingsWidthInput=!0,this.visibleElementsMaxAllowableAssociationsSlider=!0,this.visibleElementsStructuralAttachmentAssociationsSettingsArrowsToggle=!0,this.visibleElementsStructuralAttachmentAssociationsSettingsCapSelect=!0,this.visibleElementsStructuralAttachmentAssociationsSettingsStylePicker=!0,this.visibleElementsStructuralAttachmentAssociationsSettingsWidthInput=!0,this.arcgisReady=o()}static{this.properties={autoRefreshAssociationsDisabled:5,connectivityAssociationsLineSymbol:0,includeConnectivityAssociationsDisabled:5,includeStructuralAttachmentAssociationsDisabled:5,maxAllowableAssociations:9,maxAllowableAssociationsSliderMax:9,maxAllowableAssociationsSliderMin:9,maxAllowableAssociationsSliderStep:9,position:1,referenceElement:1,showArrowsConnectivity:5,showArrowsStructuralAttachment:5,showAssociationsEnabled:5,structuralAttachmentAssociationsLineSymbol:0,utilityNetwork:0,view:0,visibleElementsConnectivityAssociationsSettingsArrowsToggle:5,visibleElementsConnectivityAssociationsSettingsCapSelect:5,visibleElementsConnectivityAssociationsSettingsColorPicker:5,visibleElementsConnectivityAssociationsSettingsStylePicker:5,visibleElementsConnectivityAssociationsSettingsWidthInput:5,visibleElementsMaxAllowableAssociationsSlider:5,visibleElementsStructuralAttachmentAssociationsSettingsArrowsToggle:5,visibleElementsStructuralAttachmentAssociationsSettingsCapSelect:5,visibleElementsStructuralAttachmentAssociationsSettingsStylePicker:5,visibleElementsStructuralAttachmentAssociationsSettingsWidthInput:5,widget:0}}static{this.shadowRootOptions=n}willUpdate(t){if(t.has("referenceElement")&&A(this,this.referenceElement),this.widget){if(t.has("autoRefreshAssociationsDisabled")){let i=this.autoRefreshAssociationsDisabled;i!==void 0&&(this.widget.autoRefreshAssociations=!i)}if(t.has("connectivityAssociationsLineSymbol")){let i=this.connectivityAssociationsLineSymbol;i&&(this.widget.connectivityAssociationsLineSymbol=i)}if(t.has("includeConnectivityAssociationsDisabled")){let i=this.includeConnectivityAssociationsDisabled;i!==void 0&&(this.widget.includeConnectivityAssociations=!i)}if(t.has("includeStructuralAttachmentAssociationsDisabled")){let i=this.includeStructuralAttachmentAssociationsDisabled;i!==void 0&&(this.widget.includeStructuralAttachmentAssociations=!i)}if(t.has("maxAllowableAssociations")){let i=this.maxAllowableAssociations;i!==void 0&&(this.widget.maxAllowableAssociations=i)}if(t.has("maxAllowableAssociationsSliderMax")){let i=this.maxAllowableAssociationsSliderMax;i!==void 0&&(this.widget.maxAllowableAssociationsSliderMax=i)}if(t.has("maxAllowableAssociationsSliderMin")){let i=this.maxAllowableAssociationsSliderMin;i!==void 0&&(this.widget.maxAllowableAssociationsSliderMin=i)}if(t.has("maxAllowableAssociationsSliderStep")){let i=this.maxAllowableAssociationsSliderStep;i!==void 0&&(this.widget.maxAllowableAssociationsSliderStep=i)}if(t.has("showArrowsConnectivity")){let i=this.showArrowsConnectivity;i!==void 0&&(this.widget.showArrowsConnectivity=i)}if(t.has("showArrowsStructuralAttachment")){let i=this.showArrowsStructuralAttachment;i!==void 0&&(this.widget.showArrowsStructuralAttachment=i)}if(t.has("showAssociationsEnabled")){let i=this.showAssociationsEnabled;i!==void 0&&(this.widget.showAssociationsEnabled=i)}if(t.has("structuralAttachmentAssociationsLineSymbol")){let i=this.structuralAttachmentAssociationsLineSymbol;i!==void 0&&(this.widget.structuralAttachmentAssociationsLineSymbol=i)}}if(t.has("utilityNetwork")){let i=this.utilityNetwork;i!==void 0&&(this.widget.utilityNetwork=i)}t.has("visibleElementsConnectivityAssociationsSettingsArrowsToggle")&&this.visibleElementsConnectivityAssociationsSettingsArrowsToggleWatcher(this.visibleElementsConnectivityAssociationsSettingsArrowsToggle),t.has("visibleElementsConnectivityAssociationsSettingsCapSelect")&&this.visibleElementsConnectivityAssociationsSettingsCapSelectWatcher(this.visibleElementsConnectivityAssociationsSettingsCapSelect),t.has("visibleElementsConnectivityAssociationsSettingsColorPicker")&&this.visibleElementsConnectivityAssociationsSettingsColorPickerWatcher(this.visibleElementsConnectivityAssociationsSettingsColorPicker),t.has("visibleElementsConnectivityAssociationsSettingsStylePicker")&&this.visibleElementsConnectivityAssociationsSettingsStylePickerWatcher(this.visibleElementsConnectivityAssociationsSettingsStylePicker),t.has("visibleElementsConnectivityAssociationsSettingsWidthInput")&&this.visibleElementsConnectivityAssociationsSettingsWidthInputWatcher(this.visibleElementsConnectivityAssociationsSettingsWidthInput),t.has("visibleElementsMaxAllowableAssociationsSlider")&&this.visibleElementsMaxAllowableAssociationsSliderWatcher(this.visibleElementsMaxAllowableAssociationsSlider),t.has("visibleElementsStructuralAttachmentAssociationsSettingsArrowsToggle")&&this.visibleElementsStructuralAttachmentAssociationsSettingsArrowsToggleWatcher(this.visibleElementsStructuralAttachmentAssociationsSettingsArrowsToggle),t.has("visibleElementsStructuralAttachmentAssociationsSettingsCapSelect")&&this.visibleElementsStructuralAttachmentAssociationsSettingsCapSelectWatcher(this.visibleElementsStructuralAttachmentAssociationsSettingsCapSelect),t.has("visibleElementsStructuralAttachmentAssociationsSettingsStylePicker")&&this.visibleElementsStructuralAttachmentAssociationsSettingsStylePickerWatcher(this.visibleElementsStructuralAttachmentAssociationsSettingsStylePicker),t.has("visibleElementsStructuralAttachmentAssociationsSettingsWidthInput")&&this.visibleElementsStructuralAttachmentAssociationsSettingsWidthInputWatcher(this.visibleElementsStructuralAttachmentAssociationsSettingsWidthInput),t.has("position")&&this.positionWatcher(this.position),t.has("view")&&this.viewWatcher(this.view)}async loaded(){let t=this._createParams(),i=await c(t);this.widget=i,this._addContainer(),h(this),r(this)}disconnectedCallback(){super.disconnectedCallback(),S(this)}visibleElementsConnectivityAssociationsSettingsArrowsToggleWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,connectivityAssociationsSettings:{...this.widget.visibleElements.connectivityAssociationsSettings,arrowsToggle:t}})}visibleElementsConnectivityAssociationsSettingsCapSelectWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,connectivityAssociationsSettings:{...this.widget.visibleElements.connectivityAssociationsSettings,capSelect:t}})}visibleElementsConnectivityAssociationsSettingsColorPickerWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,connectivityAssociationsSettings:{...this.widget.visibleElements.connectivityAssociationsSettings,colorPicker:t}})}visibleElementsConnectivityAssociationsSettingsStylePickerWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,connectivityAssociationsSettings:{...this.widget.visibleElements.connectivityAssociationsSettings,stylePicker:t}})}visibleElementsConnectivityAssociationsSettingsWidthInputWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,connectivityAssociationsSettings:{...this.widget.visibleElements.connectivityAssociationsSettings,widthInput:t}})}visibleElementsMaxAllowableAssociationsSliderWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,maxAllowableAssociationsSlider:t})}visibleElementsStructuralAttachmentAssociationsSettingsArrowsToggleWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,structuralAttachmentAssociationsSettings:{...this.widget.visibleElements.structuralAttachmentAssociationsSettings,arrowsToggle:t}})}visibleElementsStructuralAttachmentAssociationsSettingsCapSelectWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,structuralAttachmentAssociationsSettings:{...this.widget.visibleElements.structuralAttachmentAssociationsSettings,capSelect:t}})}visibleElementsStructuralAttachmentAssociationsSettingsStylePickerWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,structuralAttachmentAssociationsSettings:{...this.widget.visibleElements.structuralAttachmentAssociationsSettings,stylePicker:t}})}visibleElementsStructuralAttachmentAssociationsSettingsWidthInputWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,structuralAttachmentAssociationsSettings:{...this.widget.visibleElements.structuralAttachmentAssociationsSettings,widthInput:t}})}positionWatcher(t){t!==void 0&&this.widget&&this.el.childElem&&this.view.ui.move(this.el.childElem,t)}viewWatcher(t){t!==void 0&&this.widget&&(this.widget.view=t,this._loadUtilityNetwork())}_addContainer(){this.widget.container=this.el.childElem}_createParams(){let t={};return t.visibleElements={connectivityAssociationsSettings:{arrowsToggle:this.visibleElementsConnectivityAssociationsSettingsArrowsToggle,capSelect:this.visibleElementsConnectivityAssociationsSettingsCapSelect,colorPicker:this.visibleElementsConnectivityAssociationsSettingsColorPicker,stylePicker:this.visibleElementsConnectivityAssociationsSettingsStylePicker,widthInput:this.visibleElementsConnectivityAssociationsSettingsWidthInput},maxAllowableAssociationsSlider:this.visibleElementsMaxAllowableAssociationsSlider,structuralAttachmentAssociationsSettings:{arrowsToggle:this.visibleElementsStructuralAttachmentAssociationsSettingsArrowsToggle,capSelect:this.visibleElementsStructuralAttachmentAssociationsSettingsCapSelect,stylePicker:this.visibleElementsStructuralAttachmentAssociationsSettingsStylePicker,widthInput:this.visibleElementsStructuralAttachmentAssociationsSettingsWidthInput}},this.autoRefreshAssociationsDisabled!==void 0&&(t.autoRefreshAssociations=!this.autoRefreshAssociationsDisabled),this.connectivityAssociationsLineSymbol!==void 0&&(t.connectivityAssociationsLineSymbol=this.connectivityAssociationsLineSymbol),this.includeConnectivityAssociationsDisabled!==void 0&&(t.includeConnectivityAssociations=!this.includeConnectivityAssociationsDisabled),this.includeStructuralAttachmentAssociationsDisabled!==void 0&&(t.includeStructuralAttachmentAssociations=!this.includeStructuralAttachmentAssociationsDisabled),this.maxAllowableAssociations!==void 0&&(t.maxAllowableAssociations=this.maxAllowableAssociations),this.maxAllowableAssociationsSliderMax!==void 0&&(t.maxAllowableAssociationsSliderMax=this.maxAllowableAssociationsSliderMax),this.maxAllowableAssociationsSliderMin!==void 0&&(t.maxAllowableAssociationsSliderMin=this.maxAllowableAssociationsSliderMin),this.maxAllowableAssociationsSliderStep!==void 0&&(t.maxAllowableAssociationsSliderStep=this.maxAllowableAssociationsSliderStep),this.showArrowsConnectivity!==void 0&&(t.showArrowsConnectivity=this.showArrowsConnectivity),this.showArrowsStructuralAttachment!==void 0&&(t.showArrowsStructuralAttachment=this.showArrowsStructuralAttachment),this.showAssociationsEnabled!==void 0&&(t.showAssociationsEnabled=this.showAssociationsEnabled),this.structuralAttachmentAssociationsLineSymbol!==void 0&&(t.structuralAttachmentAssociationsLineSymbol=this.structuralAttachmentAssociationsLineSymbol),this.utilityNetwork!==void 0&&(t.utilityNetwork=this.utilityNetwork),t}async _loadUtilityNetwork(){if(this.view?.map&&this.view.map.portalItem){await this.view.map.load();let t=this.view.map.utilityNetworks.getItemAt(0);await t.load(),this.utilityNetwork=t}}render(){return e`<div ${m(t=>this.el.childElem=t)}></div>`}};a("arcgis-utility-network-associations",s);export{s as ArcgisUtilityNetworkAssociations};
|
6
|
+
import{a as S}from"./Z6SSMZQE.js";import{b as m}from"./O37OVJBX.js";import{ca as c}from"./SB7AEVIC.js";import{b as r,c as h,i as A}from"./XQBJES6M.js";import{B as l,G as a,q as e,y as o,z as n}from"./PPUMGJ6W.js";var s=class extends l{constructor(){super(...arguments),this._watchHandles=[],this.autoRefreshAssociationsDisabled=!1,this.includeConnectivityAssociationsDisabled=!1,this.includeStructuralAttachmentAssociationsDisabled=!1,this.maxAllowableAssociations=250,this.position="bottom-left",this.showArrowsConnectivity=!1,this.showArrowsStructuralAttachment=!1,this.showAssociationsEnabled=!1,this.visibleElementsConnectivityAssociationsSettingsArrowsToggle=!0,this.visibleElementsConnectivityAssociationsSettingsCapSelect=!0,this.visibleElementsConnectivityAssociationsSettingsColorPicker=!0,this.visibleElementsConnectivityAssociationsSettingsStylePicker=!0,this.visibleElementsConnectivityAssociationsSettingsWidthInput=!0,this.visibleElementsMaxAllowableAssociationsSlider=!0,this.visibleElementsStructuralAttachmentAssociationsSettingsArrowsToggle=!0,this.visibleElementsStructuralAttachmentAssociationsSettingsCapSelect=!0,this.visibleElementsStructuralAttachmentAssociationsSettingsStylePicker=!0,this.visibleElementsStructuralAttachmentAssociationsSettingsWidthInput=!0,this.arcgisReady=o()}static{this.properties={autoRefreshAssociationsDisabled:5,connectivityAssociationsLineSymbol:0,includeConnectivityAssociationsDisabled:5,includeStructuralAttachmentAssociationsDisabled:5,maxAllowableAssociations:9,maxAllowableAssociationsSliderMax:9,maxAllowableAssociationsSliderMin:9,maxAllowableAssociationsSliderStep:9,position:1,referenceElement:1,showArrowsConnectivity:5,showArrowsStructuralAttachment:5,showAssociationsEnabled:5,structuralAttachmentAssociationsLineSymbol:0,utilityNetwork:0,view:0,visibleElementsConnectivityAssociationsSettingsArrowsToggle:5,visibleElementsConnectivityAssociationsSettingsCapSelect:5,visibleElementsConnectivityAssociationsSettingsColorPicker:5,visibleElementsConnectivityAssociationsSettingsStylePicker:5,visibleElementsConnectivityAssociationsSettingsWidthInput:5,visibleElementsMaxAllowableAssociationsSlider:5,visibleElementsStructuralAttachmentAssociationsSettingsArrowsToggle:5,visibleElementsStructuralAttachmentAssociationsSettingsCapSelect:5,visibleElementsStructuralAttachmentAssociationsSettingsStylePicker:5,visibleElementsStructuralAttachmentAssociationsSettingsWidthInput:5,widget:0}}static{this.shadowRootOptions=n}willUpdate(t){if(t.has("referenceElement")&&A(this,this.referenceElement),this.widget){if(t.has("autoRefreshAssociationsDisabled")){let i=this.autoRefreshAssociationsDisabled;i!==void 0&&(this.widget.autoRefreshAssociations=!i)}if(t.has("connectivityAssociationsLineSymbol")){let i=this.connectivityAssociationsLineSymbol;i&&(this.widget.connectivityAssociationsLineSymbol=i)}if(t.has("includeConnectivityAssociationsDisabled")){let i=this.includeConnectivityAssociationsDisabled;i!==void 0&&(this.widget.includeConnectivityAssociations=!i)}if(t.has("includeStructuralAttachmentAssociationsDisabled")){let i=this.includeStructuralAttachmentAssociationsDisabled;i!==void 0&&(this.widget.includeStructuralAttachmentAssociations=!i)}if(t.has("maxAllowableAssociations")){let i=this.maxAllowableAssociations;i!==void 0&&(this.widget.maxAllowableAssociations=i)}if(t.has("maxAllowableAssociationsSliderMax")){let i=this.maxAllowableAssociationsSliderMax;i!==void 0&&(this.widget.maxAllowableAssociationsSliderMax=i)}if(t.has("maxAllowableAssociationsSliderMin")){let i=this.maxAllowableAssociationsSliderMin;i!==void 0&&(this.widget.maxAllowableAssociationsSliderMin=i)}if(t.has("maxAllowableAssociationsSliderStep")){let i=this.maxAllowableAssociationsSliderStep;i!==void 0&&(this.widget.maxAllowableAssociationsSliderStep=i)}if(t.has("showArrowsConnectivity")){let i=this.showArrowsConnectivity;i!==void 0&&(this.widget.showArrowsConnectivity=i)}if(t.has("showArrowsStructuralAttachment")){let i=this.showArrowsStructuralAttachment;i!==void 0&&(this.widget.showArrowsStructuralAttachment=i)}if(t.has("showAssociationsEnabled")){let i=this.showAssociationsEnabled;i!==void 0&&(this.widget.showAssociationsEnabled=i)}if(t.has("structuralAttachmentAssociationsLineSymbol")){let i=this.structuralAttachmentAssociationsLineSymbol;i!==void 0&&(this.widget.structuralAttachmentAssociationsLineSymbol=i)}}if(t.has("utilityNetwork")){let i=this.utilityNetwork;i!==void 0&&(this.widget.utilityNetwork=i)}t.has("visibleElementsConnectivityAssociationsSettingsArrowsToggle")&&this.visibleElementsConnectivityAssociationsSettingsArrowsToggleWatcher(this.visibleElementsConnectivityAssociationsSettingsArrowsToggle),t.has("visibleElementsConnectivityAssociationsSettingsCapSelect")&&this.visibleElementsConnectivityAssociationsSettingsCapSelectWatcher(this.visibleElementsConnectivityAssociationsSettingsCapSelect),t.has("visibleElementsConnectivityAssociationsSettingsColorPicker")&&this.visibleElementsConnectivityAssociationsSettingsColorPickerWatcher(this.visibleElementsConnectivityAssociationsSettingsColorPicker),t.has("visibleElementsConnectivityAssociationsSettingsStylePicker")&&this.visibleElementsConnectivityAssociationsSettingsStylePickerWatcher(this.visibleElementsConnectivityAssociationsSettingsStylePicker),t.has("visibleElementsConnectivityAssociationsSettingsWidthInput")&&this.visibleElementsConnectivityAssociationsSettingsWidthInputWatcher(this.visibleElementsConnectivityAssociationsSettingsWidthInput),t.has("visibleElementsMaxAllowableAssociationsSlider")&&this.visibleElementsMaxAllowableAssociationsSliderWatcher(this.visibleElementsMaxAllowableAssociationsSlider),t.has("visibleElementsStructuralAttachmentAssociationsSettingsArrowsToggle")&&this.visibleElementsStructuralAttachmentAssociationsSettingsArrowsToggleWatcher(this.visibleElementsStructuralAttachmentAssociationsSettingsArrowsToggle),t.has("visibleElementsStructuralAttachmentAssociationsSettingsCapSelect")&&this.visibleElementsStructuralAttachmentAssociationsSettingsCapSelectWatcher(this.visibleElementsStructuralAttachmentAssociationsSettingsCapSelect),t.has("visibleElementsStructuralAttachmentAssociationsSettingsStylePicker")&&this.visibleElementsStructuralAttachmentAssociationsSettingsStylePickerWatcher(this.visibleElementsStructuralAttachmentAssociationsSettingsStylePicker),t.has("visibleElementsStructuralAttachmentAssociationsSettingsWidthInput")&&this.visibleElementsStructuralAttachmentAssociationsSettingsWidthInputWatcher(this.visibleElementsStructuralAttachmentAssociationsSettingsWidthInput),t.has("position")&&this.positionWatcher(this.position),t.has("view")&&this.viewWatcher(this.view)}async loaded(){let t=this._createParams(),i=await c(t);this.widget=i,this._addContainer(),h(this),r(this)}disconnectedCallback(){super.disconnectedCallback(),S(this)}visibleElementsConnectivityAssociationsSettingsArrowsToggleWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,connectivityAssociationsSettings:{...this.widget.visibleElements.connectivityAssociationsSettings,arrowsToggle:t}})}visibleElementsConnectivityAssociationsSettingsCapSelectWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,connectivityAssociationsSettings:{...this.widget.visibleElements.connectivityAssociationsSettings,capSelect:t}})}visibleElementsConnectivityAssociationsSettingsColorPickerWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,connectivityAssociationsSettings:{...this.widget.visibleElements.connectivityAssociationsSettings,colorPicker:t}})}visibleElementsConnectivityAssociationsSettingsStylePickerWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,connectivityAssociationsSettings:{...this.widget.visibleElements.connectivityAssociationsSettings,stylePicker:t}})}visibleElementsConnectivityAssociationsSettingsWidthInputWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,connectivityAssociationsSettings:{...this.widget.visibleElements.connectivityAssociationsSettings,widthInput:t}})}visibleElementsMaxAllowableAssociationsSliderWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,maxAllowableAssociationsSlider:t})}visibleElementsStructuralAttachmentAssociationsSettingsArrowsToggleWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,structuralAttachmentAssociationsSettings:{...this.widget.visibleElements.structuralAttachmentAssociationsSettings,arrowsToggle:t}})}visibleElementsStructuralAttachmentAssociationsSettingsCapSelectWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,structuralAttachmentAssociationsSettings:{...this.widget.visibleElements.structuralAttachmentAssociationsSettings,capSelect:t}})}visibleElementsStructuralAttachmentAssociationsSettingsStylePickerWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,structuralAttachmentAssociationsSettings:{...this.widget.visibleElements.structuralAttachmentAssociationsSettings,stylePicker:t}})}visibleElementsStructuralAttachmentAssociationsSettingsWidthInputWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,structuralAttachmentAssociationsSettings:{...this.widget.visibleElements.structuralAttachmentAssociationsSettings,widthInput:t}})}positionWatcher(t){t!==void 0&&this.widget&&this.el.childElem&&this.view.ui.move(this.el.childElem,t)}viewWatcher(t){t!==void 0&&this.widget&&(this.widget.view=t,this._loadUtilityNetwork())}_addContainer(){this.widget.container=this.el.childElem}_createParams(){let t={};return t.visibleElements={connectivityAssociationsSettings:{arrowsToggle:this.visibleElementsConnectivityAssociationsSettingsArrowsToggle,capSelect:this.visibleElementsConnectivityAssociationsSettingsCapSelect,colorPicker:this.visibleElementsConnectivityAssociationsSettingsColorPicker,stylePicker:this.visibleElementsConnectivityAssociationsSettingsStylePicker,widthInput:this.visibleElementsConnectivityAssociationsSettingsWidthInput},maxAllowableAssociationsSlider:this.visibleElementsMaxAllowableAssociationsSlider,structuralAttachmentAssociationsSettings:{arrowsToggle:this.visibleElementsStructuralAttachmentAssociationsSettingsArrowsToggle,capSelect:this.visibleElementsStructuralAttachmentAssociationsSettingsCapSelect,stylePicker:this.visibleElementsStructuralAttachmentAssociationsSettingsStylePicker,widthInput:this.visibleElementsStructuralAttachmentAssociationsSettingsWidthInput}},this.autoRefreshAssociationsDisabled!==void 0&&(t.autoRefreshAssociations=!this.autoRefreshAssociationsDisabled),this.connectivityAssociationsLineSymbol!==void 0&&(t.connectivityAssociationsLineSymbol=this.connectivityAssociationsLineSymbol),this.includeConnectivityAssociationsDisabled!==void 0&&(t.includeConnectivityAssociations=!this.includeConnectivityAssociationsDisabled),this.includeStructuralAttachmentAssociationsDisabled!==void 0&&(t.includeStructuralAttachmentAssociations=!this.includeStructuralAttachmentAssociationsDisabled),this.maxAllowableAssociations!==void 0&&(t.maxAllowableAssociations=this.maxAllowableAssociations),this.maxAllowableAssociationsSliderMax!==void 0&&(t.maxAllowableAssociationsSliderMax=this.maxAllowableAssociationsSliderMax),this.maxAllowableAssociationsSliderMin!==void 0&&(t.maxAllowableAssociationsSliderMin=this.maxAllowableAssociationsSliderMin),this.maxAllowableAssociationsSliderStep!==void 0&&(t.maxAllowableAssociationsSliderStep=this.maxAllowableAssociationsSliderStep),this.showArrowsConnectivity!==void 0&&(t.showArrowsConnectivity=this.showArrowsConnectivity),this.showArrowsStructuralAttachment!==void 0&&(t.showArrowsStructuralAttachment=this.showArrowsStructuralAttachment),this.showAssociationsEnabled!==void 0&&(t.showAssociationsEnabled=this.showAssociationsEnabled),this.structuralAttachmentAssociationsLineSymbol!==void 0&&(t.structuralAttachmentAssociationsLineSymbol=this.structuralAttachmentAssociationsLineSymbol),this.utilityNetwork!==void 0&&(t.utilityNetwork=this.utilityNetwork),t}async _loadUtilityNetwork(){if(this.view?.map&&this.view.map.portalItem){await this.view.map.load();let t=this.view.map.utilityNetworks.getItemAt(0);await t.load(),this.utilityNetwork=t}}render(){return e`<div ${m(t=>this.el.childElem=t)}></div>`}};a("arcgis-utility-network-associations",s);export{s as ArcgisUtilityNetworkAssociations};
|
@@ -0,0 +1,6 @@
|
|
1
|
+
/*!
|
2
|
+
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
3
|
+
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
4
|
+
* v4.32.0-next.9
|
5
|
+
*/
|
6
|
+
import{a as c}from"./AJBMZJ46.js";import"./UNA6PFSU.js";import{A as n}from"./SB7AEVIC.js";import"./XQBJES6M.js";import{B as o,G as a,p as e,y as i,z as s}from"./PPUMGJ6W.js";var d=e`arcgis-expand{display:flex;pointer-events:auto}arcgis-expand>.esri-expand__content--expanded{background-color:var(--calcite-color-background)}`,p=c(n),t=class extends o{constructor(){super(),this.widget=p(this),this.viewModel=this.widget.viewModel,this.autoCollapse=this.widget.autoCollapse,this.autoDestroyDisabled=!1,this.closeOnEsc=this.widget.closeOnEsc,this.collapseIcon=this.widget.collapseIcon,this.collapseTooltip=this.widget.collapseTooltip,this.content=this.widget.content,this.expandIcon=this.widget.expandIcon,this.expandTooltip=this.widget.expandTooltip,this.expanded=this.widget.expanded,this.group=this.widget.group,this.icon=this.widget.icon,this.iconNumber=this.widget.iconNumber,this.label=this.widget.label,this.mode=this.widget.mode,this.placement=this.widget.placement,this.position="top-right",this.arcgisReady=i(),this.content??=document.createElement("div")}static{this.properties={autoCollapse:5,autoDestroyDisabled:5,closeOnEsc:5,collapseIcon:1,collapseTooltip:1,content:1,expandIcon:1,expandTooltip:1,expanded:7,group:1,icon:1,iconNumber:9,label:1,mode:1,placement:1,position:1,referenceElement:1}}static{this.shadowRootOptions=s}static{this.styles=d}async collapse(){this.widget?.collapse()}async destroy(){await this.manager.destroy()}async expand(){this.widget?.expand()}async toggle(){this.expanded?await this.collapse():await this.expand()}};a("arcgis-expand",t);export{t as ArcgisExpand};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/*!
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
3
3
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
4
|
-
* v4.32.0-next.
|
4
|
+
* v4.32.0-next.9
|
5
5
|
*/
|
6
6
|
var e=typeof window<"u"&&"$arcgis"in window&&typeof window.$arcgis=="object"&&"import"in window.$arcgis&&!("forceESM"in window.$arcgis);function n(t){return t.default!==void 0}async function i(){if(e)return await window.$arcgis.import("esri/layers/GraphicsLayer");let t=await import("@arcgis/core/layers/GraphicsLayer.js");return n(t)?t.default:t}async function dt(t){let r=await i();return new r(t)}async function mt(){if(e)return await window.$arcgis.import("esri/layers/Layer");let t=await import("@arcgis/core/layers/Layer.js");return n(t)?t.default:t}async function o(){if(e)return await window.$arcgis.import("esri/layers/OrientedImageryLayer");let t=await import("@arcgis/core/layers/OrientedImageryLayer.js");return n(t)?t.default:t}async function lt(t){let r=await o();return new r(t)}async function a(){if(e)return await window.$arcgis.import("esri/layers/RouteLayer");let t=await import("@arcgis/core/layers/RouteLayer.js");return n(t)?t.default:t}async function ft(t){let r=await a();return new r(t)}async function s(){if(e)return await window.$arcgis.import("esri/views/MapView");let t=await import("@arcgis/core/views/MapView.js");return n(t)?t.default:t}async function yt(t){let r=await s();return new r(t)}async function u(){if(e)return await window.$arcgis.import("esri/views/SceneView");let t=await import("@arcgis/core/views/SceneView.js");return n(t)?t.default:t}async function gt(t){let r=await u();return new r(t)}async function c(){if(e)return await window.$arcgis.import("esri/WebMap");let t=await import("@arcgis/core/WebMap.js");return n(t)?t.default:t}async function St(t){let r=await c();return new r(t)}async function w(){if(e)return await window.$arcgis.import("esri/WebScene");let t=await import("@arcgis/core/WebScene.js");return n(t)?t.default:t}async function Mt(t){let r=await w();return new r(t)}async function p(){if(e)return await window.$arcgis.import("esri/widgets/AreaMeasurement2D");let t=await import("@arcgis/core/widgets/AreaMeasurement2D.js");return n(t)?t.default:t}async function Ct(t){let r=await p();return new r(t)}async function d(){if(e)return await window.$arcgis.import("esri/widgets/AreaMeasurement3D");let t=await import("@arcgis/core/widgets/AreaMeasurement3D.js");return n(t)?t.default:t}async function $t(t){let r=await d();return new r(t)}async function m(){if(e)return await window.$arcgis.import("esri/widgets/Attachments");let t=await import("@arcgis/core/widgets/Attachments.js");return n(t)?t.default:t}async function Lt(t){let r=await m();return new r(t)}async function l(){if(e)return await window.$arcgis.import("esri/widgets/BasemapGallery");let t=await import("@arcgis/core/widgets/BasemapGallery.js");return n(t)?t.default:t}async function Rt(t){let r=await l();return new r(t)}async function f(){if(e)return await window.$arcgis.import("esri/widgets/BasemapLayerList");let t=await import("@arcgis/core/widgets/BasemapLayerList.js");return n(t)?t.default:t}async function Vt(t){let r=await f();return new r(t)}async function y(){if(e)return await window.$arcgis.import("esri/widgets/BasemapToggle/BasemapToggleViewModel");let t=await import("@arcgis/core/widgets/BasemapToggle/BasemapToggleViewModel.js");return n(t)?t.default:t}async function bt(t){let r=await y();return new r(t)}async function g(){if(e)return await window.$arcgis.import("esri/widgets/Bookmarks");let t=await import("@arcgis/core/widgets/Bookmarks.js");return n(t)?t.default:t}async function Pt(t){let r=await g();return new r(t)}async function S(){if(e)return await window.$arcgis.import("esri/widgets/BuildingExplorer");let t=await import("@arcgis/core/widgets/BuildingExplorer.js");return n(t)?t.default:t}async function ht(t){let r=await S();return new r(t)}async function M(){if(e)return await window.$arcgis.import("esri/widgets/CatalogLayerList");let t=await import("@arcgis/core/widgets/CatalogLayerList.js");return n(t)?t.default:t}async function It(t){let r=await M();return new r(t)}async function C(){if(e)return await window.$arcgis.import("esri/widgets/Compass/CompassViewModel");let t=await import("@arcgis/core/widgets/Compass/CompassViewModel.js");return n(t)?t.default:t}async function Wt(t){let r=await C();return new r(t)}async function $(){if(e)return await window.$arcgis.import("esri/widgets/CoordinateConversion");let t=await import("@arcgis/core/widgets/CoordinateConversion.js");return n(t)?t.default:t}async function Ft(t){let r=await $();return new r(t)}async function L(){if(e)return await window.$arcgis.import("esri/widgets/Daylight");let t=await import("@arcgis/core/widgets/Daylight.js");return n(t)?t.default:t}async function Gt(t){let r=await L();return new r(t)}async function R(){if(e)return await window.$arcgis.import("esri/widgets/DirectionalPad");let t=await import("@arcgis/core/widgets/DirectionalPad.js");return n(t)?t.default:t}async function Tt(t){let r=await R();return new r(t)}async function V(){if(e)return await window.$arcgis.import("esri/widgets/Directions");let t=await import("@arcgis/core/widgets/Directions.js");return n(t)?t.default:t}async function Dt(t){let r=await V();return new r(t)}async function b(){if(e)return await window.$arcgis.import("esri/widgets/DirectLineMeasurement3D");let t=await import("@arcgis/core/widgets/DirectLineMeasurement3D.js");return n(t)?t.default:t}async function At(t){let r=await b();return new r(t)}async function P(){if(e)return await window.$arcgis.import("esri/widgets/DistanceMeasurement2D");let t=await import("@arcgis/core/widgets/DistanceMeasurement2D.js");return n(t)?t.default:t}async function kt(t){let r=await P();return new r(t)}async function h(){if(e)return await window.$arcgis.import("esri/widgets/Editor");let t=await import("@arcgis/core/widgets/Editor.js");return n(t)?t.default:t}async function Et(t){let r=await h();return new r(t)}async function I(){if(e)return await window.$arcgis.import("esri/widgets/ElevationProfile");let t=await import("@arcgis/core/widgets/ElevationProfile.js");return n(t)?t.default:t}async function vt(t){let r=await I();return new r(t)}async function W(){if(e)return await window.$arcgis.import("esri/widgets/Expand");let t=await import("@arcgis/core/widgets/Expand.js");return n(t)?t.default:t}async function Bt(t){let r=await W();return new r(t)}async function F(){if(e)return await window.$arcgis.import("esri/widgets/Feature");let t=await import("@arcgis/core/widgets/Feature.js");return n(t)?t.default:t}async function Ot(t){let r=await F();return new r(t)}async function G(){if(e)return await window.$arcgis.import("esri/widgets/FeatureForm");let t=await import("@arcgis/core/widgets/FeatureForm.js");return n(t)?t.default:t}async function Ut(t){let r=await G();return new r(t)}async function T(){if(e)return await window.$arcgis.import("esri/widgets/Features");let t=await import("@arcgis/core/widgets/Features.js");return n(t)?t.default:t}async function xt(t){let r=await T();return new r(t)}async function D(){if(e)return await window.$arcgis.import("esri/widgets/FeatureTable");let t=await import("@arcgis/core/widgets/FeatureTable.js");return n(t)?t.default:t}async function Nt(t){let r=await D();return new r(t)}async function A(){if(e)return await window.$arcgis.import("esri/widgets/FeatureTemplates");let t=await import("@arcgis/core/widgets/FeatureTemplates.js");return n(t)?t.default:t}async function zt(t){let r=await A();return new r(t)}async function k(){if(e)return await window.$arcgis.import("esri/widgets/FloorFilter");let t=await import("@arcgis/core/widgets/FloorFilter.js");return n(t)?t.default:t}async function Ht(t){let r=await k();return new r(t)}async function E(){if(e)return await window.$arcgis.import("esri/widgets/Fullscreen/FullscreenViewModel");let t=await import("@arcgis/core/widgets/Fullscreen/FullscreenViewModel.js");return n(t)?t.default:t}async function Kt(t){let r=await E();return new r(t)}async function v(){if(e)return await window.$arcgis.import("esri/widgets/Histogram");let t=await import("@arcgis/core/widgets/Histogram.js");return n(t)?t.default:t}async function Qt(t){let r=await v();return new r(t)}async function B(){if(e)return await window.$arcgis.import("esri/widgets/HistogramRangeSlider");let t=await import("@arcgis/core/widgets/HistogramRangeSlider.js");return n(t)?t.default:t}async function qt(t){let r=await B();return new r(t)}async function O(){if(e)return await window.$arcgis.import("esri/widgets/Home/HomeViewModel");let t=await import("@arcgis/core/widgets/Home/HomeViewModel.js");return n(t)?t.default:t}async function jt(t){let r=await O();return new r(t)}async function U(){if(e)return await window.$arcgis.import("esri/widgets/LayerList");let t=await import("@arcgis/core/widgets/LayerList.js");return n(t)?t.default:t}async function Jt(t){let r=await U();return new r(t)}async function x(){if(e)return await window.$arcgis.import("esri/widgets/Legend");let t=await import("@arcgis/core/widgets/Legend.js");return n(t)?t.default:t}async function Zt(t){let r=await x();return new r(t)}async function N(){if(e)return await window.$arcgis.import("esri/widgets/LineOfSight");let t=await import("@arcgis/core/widgets/LineOfSight.js");return n(t)?t.default:t}async function Xt(t){let r=await N();return new r(t)}async function z(){if(e)return await window.$arcgis.import("esri/widgets/Locate/LocateViewModel");let t=await import("@arcgis/core/widgets/Locate/LocateViewModel.js");return n(t)?t.default:t}async function Yt(t){let r=await z();return new r(t)}async function H(){if(e)return await window.$arcgis.import("esri/widgets/Measurement");let t=await import("@arcgis/core/widgets/Measurement.js");return n(t)?t.default:t}async function _t(t){let r=await H();return new r(t)}async function K(){if(e)return await window.$arcgis.import("esri/widgets/NavigationToggle");let t=await import("@arcgis/core/widgets/NavigationToggle.js");return n(t)?t.default:t}async function tr(t){let r=await K();return new r(t)}async function Q(){if(e)return await window.$arcgis.import("esri/widgets/OrientedImageryViewer");let t=await import("@arcgis/core/widgets/OrientedImageryViewer.js");return n(t)?t.default:t}async function rr(t){let r=await Q();return new r(t)}async function q(){if(e)return await window.$arcgis.import("esri/widgets/Print");let t=await import("@arcgis/core/widgets/Print.js");return n(t)?t.default:t}async function er(t){let r=await q();return new r(t)}async function j(){if(e)return await window.$arcgis.import("esri/widgets/ScaleBar/ScaleBarViewModel");let t=await import("@arcgis/core/widgets/ScaleBar/ScaleBarViewModel.js");return n(t)?t.default:t}async function nr(t){let r=await j();return new r(t)}async function J(){if(e)return await window.$arcgis.import("esri/widgets/ScaleRangeSlider");let t=await import("@arcgis/core/widgets/ScaleRangeSlider.js");return n(t)?t.default:t}async function ir(t){let r=await J();return new r(t)}async function Z(){if(e)return await window.$arcgis.import("esri/widgets/Search");let t=await import("@arcgis/core/widgets/Search.js");return n(t)?t.default:t}async function or(t){let r=await Z();return new r(t)}async function X(){if(e)return await window.$arcgis.import("esri/widgets/ShadowCast");let t=await import("@arcgis/core/widgets/ShadowCast.js");return n(t)?t.default:t}async function ar(t){let r=await X();return new r(t)}async function Y(){if(e)return await window.$arcgis.import("esri/widgets/Sketch");let t=await import("@arcgis/core/widgets/Sketch.js");return n(t)?t.default:t}async function sr(t){let r=await Y();return new r(t)}async function _(){if(e)return await window.$arcgis.import("esri/widgets/Slice");let t=await import("@arcgis/core/widgets/Slice.js");return n(t)?t.default:t}async function ur(t){let r=await _();return new r(t)}async function tt(){if(e)return await window.$arcgis.import("esri/widgets/Slider");let t=await import("@arcgis/core/widgets/Slider.js");return n(t)?t.default:t}async function cr(t){let r=await tt();return new r(t)}async function rt(){if(e)return await window.$arcgis.import("esri/widgets/Swipe");let t=await import("@arcgis/core/widgets/Swipe.js");return n(t)?t.default:t}async function wr(t){let r=await rt();return new r(t)}async function et(){if(e)return await window.$arcgis.import("esri/widgets/TableList");let t=await import("@arcgis/core/widgets/TableList.js");return n(t)?t.default:t}async function pr(t){let r=await et();return new r(t)}async function nt(){if(e)return await window.$arcgis.import("esri/widgets/TimeSlider");let t=await import("@arcgis/core/widgets/TimeSlider.js");return n(t)?t.default:t}async function dr(t){let r=await nt();return new r(t)}async function it(){if(e)return await window.$arcgis.import("esri/widgets/Track/TrackViewModel");let t=await import("@arcgis/core/widgets/Track/TrackViewModel.js");return n(t)?t.default:t}async function mr(t){let r=await it();return new r(t)}async function ot(){if(e)return await window.$arcgis.import("esri/widgets/UtilityNetworkAssociations");let t=await import("@arcgis/core/widgets/UtilityNetworkAssociations.js");return n(t)?t.default:t}async function lr(t){let r=await ot();return new r(t)}async function at(){if(e)return await window.$arcgis.import("esri/widgets/UtilityNetworkTrace");let t=await import("@arcgis/core/widgets/UtilityNetworkTrace.js");return n(t)?t.default:t}async function fr(t){let r=await at();return new r(t)}async function st(){if(e)return await window.$arcgis.import("esri/widgets/UtilityNetworkValidateTopology");let t=await import("@arcgis/core/widgets/UtilityNetworkValidateTopology.js");return n(t)?t.default:t}async function yr(t){let r=await st();return new r(t)}async function ut(){if(e)return await window.$arcgis.import("esri/widgets/ValuePicker");let t=await import("@arcgis/core/widgets/ValuePicker.js");return n(t)?t.default:t}async function gr(t){let r=await ut();return new r(t)}async function ct(){if(e)return await window.$arcgis.import("esri/widgets/VersionManagement/VersionManagementViewModel");let t=await import("@arcgis/core/widgets/VersionManagement/VersionManagementViewModel.js");return n(t)?t.default:t}async function Sr(t){let r=await ct();return new r(t)}async function wt(){if(e)return await window.$arcgis.import("esri/widgets/Weather");let t=await import("@arcgis/core/widgets/Weather.js");return n(t)?t.default:t}async function Mr(t){let r=await wt();return new r(t)}async function pt(){if(e)return await window.$arcgis.import("esri/widgets/Zoom/ZoomViewModel");let t=await import("@arcgis/core/widgets/Zoom/ZoomViewModel.js");return n(t)?t.default:t}async function Cr(t){let r=await pt();return new r(t)}async function $r(){if(e)return await window.$arcgis.import("esri/core/reactiveUtils");let t=await import("@arcgis/core/core/reactiveUtils.js");return n(t)?t.default:t}async function Lr(){if(e)return await window.$arcgis.import("esri/intl");let t=await import("@arcgis/core/intl.js");return n(t)?t.default:t}async function Rr(){if(e)return await window.$arcgis.import("esri/applications/Components/basemapUtils");let t=await import("@arcgis/core/applications/Components/basemapUtils.js");return n(t)?t.default:t}async function Vr(){if(e)return await window.$arcgis.import("esri/applications/Components/getDefaultUnits");let t=await import("@arcgis/core/applications/Components/getDefaultUnits.js");return n(t)?t.default:t}export{dt as a,mt as b,lt as c,ft as d,yt as e,gt as f,St as g,Mt as h,Ct as i,$t as j,Lt as k,Rt as l,Vt as m,bt as n,Pt as o,ht as p,It as q,Wt as r,Ft as s,Gt as t,Tt as u,Dt as v,At as w,kt as x,Et as y,vt as z,Bt as A,Ot as B,Ut as C,xt as D,Nt as E,zt as F,Ht as G,Kt as H,Qt as I,qt as J,jt as K,Jt as L,Zt as M,Xt as N,Yt as O,_t as P,tr as Q,rr as R,er as S,nr as T,ir as U,or as V,ar as W,sr as X,ur as Y,cr as Z,wr as _,pr as $,dr as aa,mr as ba,lr as ca,fr as da,yr as ea,gr as fa,Sr as ga,Mr as ha,Cr as ia,$r as ja,Lr as ka,Rr as la,Vr as ma};
|
@@ -0,0 +1,6 @@
|
|
1
|
+
/*!
|
2
|
+
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
3
|
+
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
4
|
+
* v4.32.0-next.9
|
5
|
+
*/
|
6
|
+
import{a as r}from"./AJBMZJ46.js";import"./UNA6PFSU.js";import{G as l}from"./SB7AEVIC.js";import"./XQBJES6M.js";import{B as o,G as a,p as i,y as e,z as s}from"./PPUMGJ6W.js";var n=i`arcgis-floor-filter{display:flex}`,d=r(l),t=class extends o{constructor(){super(...arguments),this.widget=d(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.facility=this.widget.facility,this.headingLevel=this.widget.headingLevel,this.icon=this.widget.icon,this.label=this.widget.label,this.level=this.widget.level,this.longNames=this.widget.longNames,this.position="bottom-left",this.site=this.widget.site,this.arcgisReady=e()}static{this.properties={autoDestroyDisabled:5,facility:3,headingLevel:9,icon:1,label:1,level:3,longNames:5,position:1,referenceElement:1,site:3}}static{this.shadowRootOptions=s}static{this.styles=n}async destroy(){await this.manager.destroy()}async updateWebDocument(h){this.widget?.updateWebDocument(h)}};a("arcgis-floor-filter",t);export{t as ArcgisFloorFilter};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/*!
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
3
3
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
4
|
-
* v4.32.0-next.
|
4
|
+
* v4.32.0-next.9
|
5
5
|
*/
|
6
|
-
import{a as N,b as _}from"./
|
6
|
+
import{a as N,b as _}from"./O37OVJBX.js";import{a as C,b as M}from"./LPX3CLLP.js";import"./UNA6PFSU.js";import{ga as y,ja as P}from"./SB7AEVIC.js";import"./XQBJES6M.js";import{B as V,C as L,G as S,m as E,p as I,q as v,y as w,z as u}from"./PPUMGJ6W.js";var F=I`.calcite-flow-widget{width:350px}calcite-block{margin:0}calcite-pagination{justify-content:center}`,b=M(y),f=class extends V{constructor(){super(...arguments),this.flowElement=N(),this.messages=C({blocking:!0}),this.reactiveUtils=E(P),this.viewModel=b(this),this.allowEditingDisabled=!1,this.autoDestroyDisabled=!1,this.closable=!1,this.pageSize=5,this.position="top-right",this.state=this.viewModel.state,this.versioningStates=this.viewModel.versioningStates,this.view=this.viewModel.view,this.arcgisReady=w(),this.arcgisVersioningStateChanged=w()}static{this.properties={allowEditingDisabled:5,autoDestroyDisabled:5,closable:7,icon:3,label:3,messageOverrides:0,mode:1,pageSize:9,position:1,referenceElement:1,state:3,versioningStates:0,view:0}}static{this.shadowRootOptions=u}static{this.styles=F}async destroy(){await this.manager.destroy()}load(){let{watch:e}=this.reactiveUtils;this.manager.onLifecycle(()=>[e(()=>this.viewModel.state,i=>{let{flowElement:{value:r}}=this,o=r?.getElementsByTagName("arcgis-version-management-version-properties")[0],t=r?.getElementsByTagName("arcgis-version-management-version-list")[0];if(i==="disabled"){o&&this._removeVersionPropertiesFlowItem(r),t&&this._removeVersionListFlowItem(r);return}t&&(t.versionListElementProps={...t.versionListElementProps,executionError:this.viewModel.executionError},t.versionListElementProps={...t.versionListElementProps,state:i}),o&&(o.versionPropertiesElementProps={...o.versionPropertiesElementProps,state:i})})])}_createVersionPropertiesFlowItem(e,i){let{closable:r,flowElement:{value:o},viewModel:t,viewModel:{state:a}}=this,s=document.createElement("arcgis-version-management-version-properties");return s.versionPropertiesElementProps={closable:r,currentUser:t.userLookup.get(e),hasAdvEditingUte:t.advancedEditingUserTypeExtensionLookup.get(e),serviceUrl:e,state:a,strings:this.messages,versionInfo:i},s.addEventListener("arcgisCreateVersion",n=>{let{createVersionParameters:l,switchToVersion:m}=n.detail;t.createVersion(l).then(async c=>{c&&this.arcgisVersioningStateChanged.emit({type:"version-created",versionIdentifier:c.versionIdentifier,versioningState:t.versioningStateLookup.get(e)}),m&&await this.viewModel.changeVersion(e,c.versionIdentifier.name,c.versionIdentifier.guid).then(g=>{g&&this.arcgisVersioningStateChanged.emit({type:"version-switched",versionIdentifier:c.versionIdentifier,versioningState:t.versioningStateLookup.get(e)})}),await this._refreshVersionList(e)}).finally(()=>{o&&this._removeVersionPropertiesFlowItem(o)})}),s.addEventListener("arcgisAlterVersion",async n=>{let{flowElement:{value:l}}=this,{alterVersionParameters:m}=n.detail;await t.alterVersion(m).then(async c=>{c&&this.arcgisVersioningStateChanged.emit({type:"version-changed",versionIdentifier:m.versionIdentifier,versioningState:t.versioningStateLookup.get(e)}),await this._refreshVersionList(e)}).finally(()=>{l&&this._removeVersionPropertiesFlowItem(l)})}),s.addEventListener("arcgisFlowItemBack",()=>{this._removeVersionPropertiesFlowItem(this.flowElement.value)}),s.addEventListener("calciteFlowItemBack",n=>{n.preventDefault(),this._removeVersionPropertiesFlowItem(this.flowElement.value)}),s.addEventListener("calciteFlowItemClose",()=>{this._handleFlowItemClose()}),s}_getLoadError(e){let{messages:i}=this;switch(e){case"no-feature-services":return i.loadErrors.noFeatureServices;case"no-view-property":return i.loadErrors.noViewProperty;default:return e}}_handleFlowItemClose(){let e=document.querySelector("arcgis-version-management");e.parentElement?.removeChild(e)}async _handleManageVersionAction(e){let{actionType:i,serviceUrl:r,versionInfo:o}=e.detail,{viewModel:t,flowElement:a}=this;switch(i){case"changeVersion":{t.changeVersion(r,o.versionIdentifier.name,o.versionIdentifier.guid).then(s=>{s&&this.arcgisVersioningStateChanged.emit({type:"version-switched",versionIdentifier:o.versionIdentifier,versioningState:t.versioningStateLookup.get(r)});let n=a.value?.getElementsByTagName("arcgis-version-management-version-list")[0];n&&n&&(n.versionListElementProps={...n.versionListElementProps,currentVersionIdentifier:t.versioningStateLookup.get(r).currentVersionInfo.versionIdentifier})});break}case"deleteVersion":{t.deleteVersion(r,o.versionIdentifier.name,o.versionIdentifier.guid).then(async s=>{s&&this.arcgisVersioningStateChanged.emit({type:"version-deleted",versionIdentifier:o.versionIdentifier,versioningState:t.versioningStateLookup.get(r)}),await this._refreshVersionList(r)});break}case"editVersion":{let s=this._createVersionPropertiesFlowItem(r,o);a.value?.appendChild(s);break}}}async _refreshVersionList(e){let{flowElement:{value:i},viewModel:r}=this;if(i){let o=await r.getVersionInfos(e),t=i.getElementsByTagName("arcgis-version-management-service-item");for(let s of t)s.serviceItemElementProps.serviceUrl===e&&(s.serviceItemElementProps={...s.serviceItemElementProps,versionInfos:o});let a=i.getElementsByTagName("arcgis-version-management-version-list")[0];a&&(a.versionListElementProps={...a.versionListElementProps,currentVersionIdentifier:r.versioningStateLookup.get(e).currentVersionInfo.versionIdentifier,versionInfos:o})}}_removeVersionListFlowItem(e){for(let i of e.childNodes)i.nodeName.toUpperCase()==="ARCGIS-VERSION-MANAGEMENT-VERSION-LIST"&&e.removeChild(i),i.nodeName.toUpperCase()==="CALCITE-FLOW-ITEM"&&(i.hidden=!1)}_removeVersionPropertiesFlowItem(e){for(let i of e.childNodes)i.nodeName.toUpperCase()==="ARCGIS-VERSION-MANAGEMENT-VERSION-PROPERTIES"&&e.removeChild(i),i.nodeName.toUpperCase()==="ARCGIS-VERSION-MANAGEMENT-VERSION-LIST"&&(i.getElementsByTagName("calcite-flow-item")[0].hidden=!1)}render(){let{allowEditingDisabled:e,closable:i,flowElement:{value:r},label:o,messages:t,pageSize:a,viewModel:s,viewModel:{loadError:n,state:l}}=this,m=Array.from(s.serviceNameLookup,([d,h])=>({url:d,name:h})),c=l!=="disabled"?m.map(d=>{let h={allowEditing:!e,closable:i,currentUser:s.userLookup.get(d.url),currentVersionIdentifier:s.versioningStateLookup.get(d.url).currentVersionInfo.versionIdentifier,executionError:void 0,flowElement:r,hasAdvEditingUte:s.advancedEditingUserTypeExtensionLookup.get(d.url),heading:o,isVersioningApiAvailable:(s.serverVersionLookup.get(d.url)??0)>=11.2,pageSize:a,serviceName:d.name,state:l,serviceUrl:d.url,strings:t,versionInfos:s.versioningStateLookup.get(d.url)?.versionInfos??[]};return v`<arcgis-version-management-service-item .serviceItemElementProps=${h} @arcgisGetVersions=${async p=>{await this._refreshVersionList(p.detail.serviceUrl)}} @arcgisFlowItemBack=${()=>{r&&this._removeVersionListFlowItem(r)}} @arcgisFlowItemClose=${()=>{this._handleFlowItemClose()}} @arcgisManageVersion=${this._handleManageVersionAction} @arcgisNewVersion=${p=>{let k=this._createVersionPropertiesFlowItem(p.detail.serviceUrl,void 0);r?.appendChild(k)}}></arcgis-version-management-service-item>`}):void 0,g=l==="disabled"?v`<calcite-notice class="notice" kind=warning open scale=s slot=footer width=full><div slot=message>${this._getLoadError(n)}</div></calcite-notice>`:void 0;return v`<calcite-flow class=${L(this.mode==="dialog"?"":"calcite-flow-widget")} ${_(this.flowElement)}><calcite-flow-item .closable=${this.closable} .heading=${(o??void 0)||""} @calciteFlowItemClose=${()=>{this._handleFlowItemClose()}}><calcite-panel .loading=${l==="loading"||l==="executing"||""}>${c}${g}</calcite-panel></calcite-flow-item></calcite-flow>`}};S("arcgis-version-management",f);export{f as ArcgisVersionManagement};
|
@@ -0,0 +1,6 @@
|
|
1
|
+
/*!
|
2
|
+
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
3
|
+
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
4
|
+
* v4.32.0-next.9
|
5
|
+
*/
|
6
|
+
import{a as n}from"./AJBMZJ46.js";import"./UNA6PFSU.js";import{k as o}from"./SB7AEVIC.js";import"./XQBJES6M.js";import{B as d,G as h,o as i,p as e,y as s,z as a}from"./PPUMGJ6W.js";var r=e`arcgis-attachments{display:flex}`,l=n(o),t=class extends d{constructor(){super(...arguments),this.widget=l(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.capabilities=this.widget.capabilities,this.displayType=this.widget.displayType,this.graphic=this.widget.graphic,this.hideAddButton=this.widget.visibleElements.addButton,this.hideAddSubmitButton=this.widget.visibleElements.addSubmitButton,this.hideCancelAddButton=this.widget.visibleElements.cancelAddButton,this.hideCancelUpdateButton=this.widget.visibleElements.cancelUpdateButton,this.hideDeleteButton=this.widget.visibleElements.deleteButton,this.hideErrorMessage=this.widget.visibleElements.errorMessage,this.hideProgressBar=this.widget.visibleElements.progressBar,this.hideUpdateButton=this.widget.visibleElements.updateButton,this.icon=this.widget.icon,this.label=this.widget.label,this.position="bottom-left",this.state=this.viewModel.state,this.submitting=this.widget.submitting,this.arcgisPropertyChange=i()("submitting","state"),this.arcgisReady=s()}static{this.properties={autoDestroyDisabled:5,capabilities:0,displayType:1,graphic:0,hideAddButton:5,hideAddSubmitButton:5,hideCancelAddButton:5,hideCancelUpdateButton:5,hideDeleteButton:5,hideErrorMessage:5,hideProgressBar:5,hideUpdateButton:5,icon:1,label:1,position:1,referenceElement:1,state:3,submitting:4}}static{this.shadowRootOptions=a}static{this.styles=r}async destroy(){await this.manager.destroy()}};h("arcgis-attachments",t);export{t as ArcgisAttachments};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/*!
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
3
3
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
4
|
-
* v4.32.0-next.
|
4
|
+
* v4.32.0-next.9
|
5
5
|
*/
|
6
|
-
import{ja as L}from"./
|
6
|
+
import{ja as L}from"./SB7AEVIC.js";import{b as v,d as y,e as w,f as E,h as _,i as g,j as P,k as C,l as b}from"./PPUMGJ6W.js";var m;async function N(){return m??(m=L()),await m}var W=(e,o)=>(t,n)=>D(t,e,n),A=class extends E{constructor(e,o,t){super(e),this._loadAccessor=o,this._options=t,this._watchedProperties=new Map,this._isBinding={value:!0},this.setProvisionalExports(f.makeGetterProxy(e,this._watchedProperties,this._isBinding,this.constructor.allowedPropNameMismatches)),_(e,n=>{n&&(this._instancePropName=n)},this.exports)}hostConnected(){this._isBinding.value=!1}async hostLoad(){this.reactiveUtils=await N();let e=this.component,o=this._gatherParameters(),t=this._options?.editConstructorProperties?.call(e,o)??o,n=t instanceof Promise?await t:t,l=e,r=typeof this._instancePropName=="string"?l[this._instancePropName]:void 0;r!=null&&r!==this.exports?(this._instance=r,r.set(n)):this._instance=await this._createInstance(n),!e.manager.destroyed&&(f.watchComponentUpdates(this,this._instance,this._watchedProperties),f.watchAccessorUpdates(this,this._instance,this._watchedProperties),this.exports=this._instance)}_gatherParameters(){return Object.fromEntries(Array.from(this._watchedProperties,([t,n])=>[n,this.component[t]]).filter(([,t])=>t!==void 0))}async _createInstance(e){return this._isAccessorConstructor(this._loadAccessor)?new this._loadAccessor(e):await this._loadAccessor(e)}_isAccessorConstructor(e){return"prototype"in e&&"declaredClass"in e.prototype}hostDestroy(){this._instance&&this._instance.destroy()}async reCreate(){this.hostDestroy(),await this.hostLoad()}},D=b(A),f={makeGetterProxy:(e,o,t,n)=>new Proxy({},{has:(l,r)=>typeof r=="string"||r in l,get:(l,r)=>{let p=Reflect.get(l,r);if(typeof r=="symbol"||r in Promise.prototype)return p;let c=r in l,s=t?.value??!0;return c||!s?p:g(e,i=>{i!==void 0&&o.set(i.key,r)},p)}}),watchComponentUpdates(e,o,t){function n(c,s){let i=t.get(s),a=o[i];return typeof a=="boolean"&&i!==s&&s.toLowerCase().includes("disable")?!a:a}let l=(c,s,i)=>{let a=t.get(i),d=o[a],h=typeof d=="boolean"&&a!==i&&i.toLowerCase().includes("disable");if((h?!d:r.manager.isLit?d??void 0:d)===c)return c;o[a]=h?!c:c;let u=o[a];return h?!u:u},r=e.component,p=r.manager.internals;t.forEach((c,s)=>{p.accessorGetter[s]=n,p.accessorSetter[s]=l})},watchAccessorUpdates(e,o,t){let{component:n}=e,l=n,r=o,p=V(o);C(()=>t.forEach((c,s)=>{if(p.has(c))return;let i=l[s],a=r[c];n.manager.isLit&&(a??(a=void 0));let h=typeof i=="boolean"&&c!==s&&s.toLowerCase().includes("disable")?!i:i;h!=null&&a!==h&&(r[c]=h)})),e.onLifecycle(()=>{if(!o.destroyed)return Array.from(t,([c,s])=>e.reactiveUtils.watch(()=>r[s],()=>{let i=r[s],d=typeof i=="boolean"&&s!==c&&c.toLowerCase().includes("disable")?!i:i;P(()=>{l[c]=d})},{initial:!0}))})},reEmitAccessorEvents(e,o,t,n){if(!("on"in o&&typeof o.on=="function"))return;let r=Object.entries(e.component).map(([s,i])=>{let a=i;if(!s.startsWith(n)||s===n||typeof a!="object"||a===null||!("emit"in a)||typeof a.emit!="function")return;let d=a.emit,h=s.slice(n.length);return[v(h).toLowerCase(),d]}).filter(y);if(r.length===0)return;let p=o,c=()=>p;e.onLifecycle(()=>{if(!o.destroyed)return r.map(([s,i])=>t.on(c,s,i))})},async reCreate(e,o){let t=o.manager.useRefSync(e);t!==void 0&&await t.reCreate()}};function V(e){let t=Object.entries(e.__accessor__?.metadata??{});return new Set(t.filter(([n,l])=>l?.readOnly===!0).map(([n])=>n))}function R(e,o){let t=w(),n=t.manager,l=N();n.onLoaded(()=>{l.then(p=>n.onLifecycle(()=>p.on(e,o,r.emit)))});let r=t.constructor.$createEvent();return r}export{W as a,A as b,f as c,R as d};
|
@@ -0,0 +1,6 @@
|
|
1
|
+
/*!
|
2
|
+
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
3
|
+
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
4
|
+
* v4.32.0-next.9
|
5
|
+
*/
|
6
|
+
import{a as h}from"./AJBMZJ46.js";import"./UNA6PFSU.js";import{M as n}from"./SB7AEVIC.js";import"./XQBJES6M.js";import{B as r,G as o,o as i,p as t,y as s,z as a}from"./PPUMGJ6W.js";var d=t`arcgis-legend{display:flex}`,l=h(n),e=class extends r{constructor(){super(...arguments),this.widget=l(this),this.viewModel=this.widget.viewModel,this.activeLayerInfos=this.widget.activeLayerInfos,this.autoDestroyDisabled=!1,this.basemapLegendVisible=this.widget.basemapLegendVisible,this.headingLevel=this.widget.headingLevel,this.hideLayersNotInCurrentView=this.widget.hideLayersNotInCurrentView,this.icon=this.widget.icon,this.label=this.widget.label,this.layerInfos=this.widget.layerInfos,this.legendStyle=this.widget.style,this.position="bottom-left",this.respectLayerDefinitionExpression=this.widget.respectLayerDefinitionExpression,this.respectLayerVisibilityDisabled=this.widget.respectLayerVisibility,this.state=this.viewModel.state,this.arcgisPropertyChange=i()("state"),this.arcgisReady=s()}static{this.properties={activeLayerInfos:0,autoDestroyDisabled:5,basemapLegendVisible:5,headingLevel:9,hideLayersNotInCurrentView:5,icon:1,label:1,layerInfos:0,legendStyle:1,position:1,referenceElement:1,respectLayerDefinitionExpression:5,respectLayerVisibilityDisabled:5,state:3}}static{this.shadowRootOptions=a}static{this.styles=d}async destroy(){await this.manager.destroy()}};o("arcgis-legend",e);export{e as ArcgisLegend};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/*!
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
3
3
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
4
|
-
* v4.32.0-next.
|
4
|
+
* v4.32.0-next.9
|
5
5
|
*/
|
6
|
-
import{b as x}from"./
|
6
|
+
import{b as x}from"./O37OVJBX.js";import{a as $}from"./DR55OESP.js";import{a as D,b as S}from"./LPX3CLLP.js";import"./UNA6PFSU.js";import{T as B,ja as U,ka as M,ma as R}from"./SB7AEVIC.js";import"./XQBJES6M.js";import{B as y,C as a,D as v,G as L,a as d,m as p,q as c,y as w,z as g}from"./PPUMGJ6W.js";var r="esri-scale-bar",t={base:r,labelContainer:`${r}__label-container`,rulerLabelContainer:`${r}__label-container--ruler`,lineLabelContainer:`${r}__label-container--line`,topLabelContainer:`${r}__label-container--top`,bottomLabelContainer:`${r}__label-container--bottom`,label:`${r}__label`,line:`${r}__line`,topLine:`${r}__line--top`,bottomLine:`${r}__line--bottom`,ruler:`${r}__ruler`,rulerBlock:`${r}__ruler-block`,barContainer:`${r}__bar-container`,rulerBarContainer:`${r}__bar-container--ruler`,lineBarContainer:`${r}__bar-container--line`};function k(C=0,e=0){return{x:C,y:e}}var O=S(B),f=class extends y{constructor(){super(...arguments),this.intlUtils=p(M),this.messages=D(),this.reactiveUtils=p(U),this._scaleComputedFrom=k(),this.unitUtils=p(R),this.viewModel=O(this),this.autoDestroyDisabled=!1,this.barStyle="line",this.icon="actual-size",this.position="top-left",this.arcgisReady=w()}static{this.properties={autoDestroyDisabled:5,barStyle:1,icon:3,label:1,messageOverrides:0,position:3,referenceElement:1,unit:1}}static{this.shadowRootOptions=g}get unit(){return this._unit??this._defaultUnit}set unit(e){this._unit=e}async destroy(){await this.manager.destroy()}updated(){this._handleRootCreateOrUpdate()}loaded(){this._defaultUnit=this.unitUtils.getDefaultUnitForView(this.viewModel.view),this.manager.onLifecycle(()=>this.reactiveUtils.watch(()=>{let e=this.viewModel.view;return[e?.stationary,e?.center,e?.scale,e?.zoom]},([e])=>{e&&this.requestUpdate()}))}_handleRootCreateOrUpdate(){if(!this.viewModel)return;let e=this._scaleComputedFrom,s=this.el.getBoundingClientRect(),o=s.left+window.pageXOffset,n=s.top+window.pageYOffset,i=k(o,n);(i.x!==e.x||i.y!==e.y)&&(this._scaleComputedFrom=i)}_formatDistance(e,s){return this.intlUtils.formatNumber(e,{style:"unit",unit:s,unitDisplay:"short"})}render(){let e=this.viewModel.state==="disabled",s={[$.disabled]:e},o,n;if(!e){let{unit:i,barStyle:u}=this,b=i==="imperial"||i==="dual",_=i==="metric"||i==="dual",h=100,m=i==="dual"?"line":u;if(b){let l=this.viewModel.getScaleBarProperties(h,"imperial");l&&(n=m==="ruler"?this._renderRuler(l):this._renderLine(l,"bottom"))}if(_){let l=this.viewModel.getScaleBarProperties(h,"metric");l&&(o=m==="ruler"?this._renderRuler(l):this._renderLine(l,"top"))}}return c`<div class=${a(d(t.base,$.widget,s))} ${x(i=>i?this._handleRootCreateOrUpdate():void 0)}>${o}${n}</div>`}_renderRuler(e){let{length:s,unit:o,value:n}=e,i=Math.round(s),u=this._formatDistance(n,o);return c`<div class=${a(d(t.barContainer,t.rulerBarContainer))}><div class=${a(t.ruler)} style=${v({width:`${i}px`})}><div class=${a(t.rulerBlock)}></div><div class=${a(t.rulerBlock)}></div><div class=${a(t.rulerBlock)}></div><div class=${a(t.rulerBlock)}></div></div><div class=${a(d(t.labelContainer,t.rulerLabelContainer))}><div class=${a(t.label)}>0</div><div class=${a(t.label)}>${u}</div></div></div>`}_renderLine(e,s){let{length:o,unit:n,value:i}=e,u=Math.round(o),b=this._formatDistance(i,n),_={[t.topLabelContainer]:s==="top",[t.bottomLabelContainer]:s==="bottom"},h=c`<div class=${a(d(t.labelContainer,t.lineLabelContainer,_))}><div class=${a(t.label)}>${b}</div></div>`,m={[t.topLine]:s==="top",[t.bottomLine]:s==="bottom"},l=c`<div class=${a(d(t.line,m))} style=${v({width:`${u}px`})}></div>`;return c`<div class=${a(d(t.barContainer,t.lineBarContainer))}>${[l,h]}</div>`}};L("arcgis-scale-bar",f);export{f as ArcgisScaleBar};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/*!
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
3
3
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
4
|
-
* v4.32.0-next.
|
4
|
+
* v4.32.0-next.9
|
5
5
|
*/
|
6
|
-
import{a as n}from"./
|
6
|
+
import{a as n}from"./AJBMZJ46.js";import"./UNA6PFSU.js";import{_ as r}from"./SB7AEVIC.js";import"./XQBJES6M.js";import{B as a,G as o,o as t,y as s,z as e}from"./PPUMGJ6W.js";var h=n(r),i=class extends a{constructor(){super(...arguments),this.widget=h(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.direction=this.widget.direction,this.dragLabel=this.widget.dragLabel,this.icon=this.widget.icon,this.label=this.widget.label,this.leadingLayers=this.widget.leadingLayers,this.position="manual",this.state=this.viewModel.state,this.swipePosition=this.widget.position,this.trailingLayers=this.widget.trailingLayers,this.arcgisPropertyChange=t()("state"),this.arcgisReady=s()}static{this.properties={autoDestroyDisabled:5,direction:1,dragLabel:1,icon:1,label:1,leadingLayers:0,position:1,referenceElement:1,state:3,swipePosition:9,trailingLayers:0}}static{this.shadowRootOptions=e}async destroy(){await this.manager.destroy()}};o("arcgis-swipe",i);export{i as ArcgisSwipe};
|
@@ -0,0 +1,6 @@
|
|
1
|
+
/*!
|
2
|
+
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
3
|
+
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
4
|
+
* v4.32.0-next.9
|
5
|
+
*/
|
6
|
+
import{a as j,b as ce}from"./O37OVJBX.js";import{a as M}from"./DR55OESP.js";import{a as ue,b as se}from"./LPX3CLLP.js";import{d as ie}from"./UNA6PFSU.js";import{K as ae}from"./SB7AEVIC.js";import"./XQBJES6M.js";import{B as re,C as L,E as ne,G as oe,a as K,o as J,p as Z,q as $,r as Q,s as X,y as ee,z as te}from"./PPUMGJ6W.js";var he=Symbol.for(""),ge=p=>{if(p?.r===he)return p?._$litStatic$};var le=new Map,N=p=>(u,...v)=>{let d=v.length,g,_,h=[],O=[],w,m=0,C=!1;for(;m<d;){for(w=u[m];m<d&&(_=v[m],(g=ge(_))!==void 0);)w+=g+u[++m],C=!0;m!==d&&O.push(_),h.push(w),m++}if(m===d&&h.push(u[d]),C){let S=h.join("$$lit$$");(u=le.get(S))===void 0&&(h.raw=h,le.set(S,u=h)),v=O}return p(u,...v)},Ee=N($),ke=N(Q),Re=N(X);var r={};var fe;function be(){if(fe)return r;fe=1;var p=Symbol.for("react.element"),u=Symbol.for("react.portal"),v=Symbol.for("react.fragment"),d=Symbol.for("react.strict_mode"),g=Symbol.for("react.profiler"),_=Symbol.for("react.provider"),h=Symbol.for("react.context"),O=Symbol.for("react.forward_ref"),w=Symbol.for("react.suspense"),m=Symbol.for("react.memo"),C=Symbol.for("react.lazy"),S=Symbol.iterator;function pe(e){return e===null||typeof e!="object"?null:(e=S&&e[S]||e["@@iterator"],typeof e=="function"?e:null)}var F={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},V=Object.assign,U={};function b(e,t,n){this.props=e,this.context=t,this.refs=U,this.updater=n||F}b.prototype.isReactComponent={},b.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},b.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function B(){}B.prototype=b.prototype;function P(e,t,n){this.props=e,this.context=t,this.refs=U,this.updater=n||F}var T=P.prototype=new B;T.constructor=P,V(T,b.prototype),T.isPureReactComponent=!0;var z=Array.isArray,q=Object.prototype.hasOwnProperty,x={current:null},H={key:!0,ref:!0,__self:!0,__source:!0};function Y(e,t,n){var a,o={},s=null,l=null;if(t!=null)for(a in t.ref!==void 0&&(l=t.ref),t.key!==void 0&&(s=""+t.key),t)q.call(t,a)&&!H.hasOwnProperty(a)&&(o[a]=t[a]);var c=arguments.length-2;if(c===1)o.children=n;else if(1<c){for(var i=Array(c),y=0;y<c;y++)i[y]=arguments[y+2];o.children=i}if(e&&e.defaultProps)for(a in c=e.defaultProps,c)o[a]===void 0&&(o[a]=c[a]);return{$$typeof:p,type:e,key:s,ref:l,props:o,_owner:x.current}}function de(e,t){return{$$typeof:p,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function D(e){return typeof e=="object"&&e!==null&&e.$$typeof===p}function ye(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var W=/\/+/g;function I(e,t){return typeof e=="object"&&e!==null&&e.key!=null?ye(""+e.key):t.toString(36)}function E(e,t,n,a,o){var s=typeof e;(s==="undefined"||s==="boolean")&&(e=null);var l=!1;if(e===null)l=!0;else switch(s){case"string":case"number":l=!0;break;case"object":switch(e.$$typeof){case p:case u:l=!0}}if(l)return l=e,o=o(l),e=a===""?"."+I(l,0):a,z(o)?(n="",e!=null&&(n=e.replace(W,"$&/")+"/"),E(o,t,n,"",function(y){return y})):o!=null&&(D(o)&&(o=de(o,n+(!o.key||l&&l.key===o.key?"":(""+o.key).replace(W,"$&/")+"/")+e)),t.push(o)),1;if(l=0,a=a===""?".":a+":",z(e))for(var c=0;c<e.length;c++){s=e[c];var i=a+I(s,c);l+=E(s,t,n,i,o)}else if(i=pe(e),typeof i=="function")for(e=i.call(e),c=0;!(s=e.next()).done;)s=s.value,i=a+I(s,c++),l+=E(s,t,n,i,o);else if(s==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return l}function k(e,t,n){if(e==null)return e;var a=[],o=0;return E(e,a,"","",function(s){return t.call(n,s,o++)}),a}function me(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(n){(e._status===0||e._status===-1)&&(e._status=1,e._result=n)},function(n){(e._status===0||e._status===-1)&&(e._status=2,e._result=n)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var f={current:null},R={transition:null},ve={ReactCurrentDispatcher:f,ReactCurrentBatchConfig:R,ReactCurrentOwner:x};function G(){throw Error("act(...) is not supported in production builds of React.")}return r.Children={map:k,forEach:function(e,t,n){k(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return k(e,function(){t++}),t},toArray:function(e){return k(e,function(t){return t})||[]},only:function(e){if(!D(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},r.Component=b,r.Fragment=v,r.Profiler=g,r.PureComponent=P,r.StrictMode=d,r.Suspense=w,r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=ve,r.act=G,r.cloneElement=function(e,t,n){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var a=V({},e.props),o=e.key,s=e.ref,l=e._owner;if(t!=null){if(t.ref!==void 0&&(s=t.ref,l=x.current),t.key!==void 0&&(o=""+t.key),e.type&&e.type.defaultProps)var c=e.type.defaultProps;for(i in t)q.call(t,i)&&!H.hasOwnProperty(i)&&(a[i]=t[i]===void 0&&c!==void 0?c[i]:t[i])}var i=arguments.length-2;if(i===1)a.children=n;else if(1<i){c=Array(i);for(var y=0;y<i;y++)c[y]=arguments[y+2];a.children=c}return{$$typeof:p,type:e.type,key:o,ref:s,props:a,_owner:l}},r.createContext=function(e){return e={$$typeof:h,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:_,_context:e},e.Consumer=e},r.createElement=Y,r.createFactory=function(e){var t=Y.bind(null,e);return t.type=e,t},r.createRef=function(){return{current:null}},r.forwardRef=function(e){return{$$typeof:O,render:e}},r.isValidElement=D,r.lazy=function(e){return{$$typeof:C,_payload:{_status:-1,_result:e},_init:me}},r.memo=function(e,t){return{$$typeof:m,type:e,compare:t===void 0?null:t}},r.startTransition=function(e){var t=R.transition;R.transition={};try{e()}finally{R.transition=t}},r.unstable_act=G,r.useCallback=function(e,t){return f.current.useCallback(e,t)},r.useContext=function(e){return f.current.useContext(e)},r.useDebugValue=function(){},r.useDeferredValue=function(e){return f.current.useDeferredValue(e)},r.useEffect=function(e,t){return f.current.useEffect(e,t)},r.useId=function(){return f.current.useId()},r.useImperativeHandle=function(e,t,n){return f.current.useImperativeHandle(e,t,n)},r.useInsertionEffect=function(e,t){return f.current.useInsertionEffect(e,t)},r.useLayoutEffect=function(e,t){return f.current.useLayoutEffect(e,t)},r.useMemo=function(e,t){return f.current.useMemo(e,t)},r.useReducer=function(e,t,n){return f.current.useReducer(e,t,n)},r.useRef=function(e){return f.current.useRef(e)},r.useState=function(e){return f.current.useState(e)},r.useSyncExternalStore=function(e,t,n){return f.current.useSyncExternalStore(e,t,n)},r.useTransition=function(){return f.current.useTransition()},r.version="18.3.1",r}var _e={exports:{}};_e.exports;be();j();j();var we=Z`arcgis-home{display:flex}`,Se={base:"esri-home"},Oe=se(ae),A=class extends re{constructor(){super(...arguments),this.messages=ue(),this.viewModel=Oe(this),this._calciteButton=j(),this.autoDestroyDisabled=!1,this.goToOverride=this.viewModel.goToOverride,this.icon="home",this.position="top-left",this.state=this.viewModel.state,this.viewpoint=this.viewModel.viewpoint,this.arcgisGo=ie(()=>this.viewModel,"go"),this.arcgisPropertyChange=J()("state"),this.arcgisReady=ee()}static{this.properties={autoDestroyDisabled:5,goToOverride:0,icon:3,label:1,messageOverrides:0,position:3,referenceElement:1,state:3,viewpoint:0}}static{this.shadowRootOptions=te}static{this.styles=we}async cancelGo(){this.viewModel.cancelGo()}async destroy(){await this.manager.destroy()}async go(){return this.viewModel.go()}updated(){if(this._calciteButton.value)if(this.viewModel?.state==="going-home"){if(!this._calciteButton.value.children[0]){let u=document.createElement("calcite-loader");u.inline=!0,u.label="",this._calciteButton.value.append(u)}}else this._calciteButton.value.children[0]?.remove()}_go(){let{viewModel:u}=this;u.state==="going-home"?u.cancelGo():u.go()}render(){let{messages:u,icon:v}=this,d=this.viewModel?.state,g=d==="going-home";return $`<div class=${L(K(Se.base,M.widget))}><calcite-button class=${L(M.widgetButton)} .disabled=${d==="disabled"} .iconStart=${g?void 0:v??void 0} kind=neutral .label=${u.componentLabel} @click=${this._go} .scale=${g?"s":"m"} title=${(d==="going-home"?u.cancel:u.title)??ne} ${ce(this._calciteButton)}></calcite-button></div>`}};oe("arcgis-home",A);export{A as ArcgisHome};
|