@arcgis/map-components 4.32.0-next.72 → 4.32.0-next.73
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/arcgis-map-components/{NXXJHGFE.js → 24GS76HY.js} +2 -2
- package/dist/arcgis-map-components/{WRAS653O.js → 2JBW4BOI.js} +2 -2
- package/dist/arcgis-map-components/{DG2LPUCT.js → 3E2TDX2O.js} +2 -2
- package/dist/arcgis-map-components/{ZETWY2C7.js → 45KI6NDO.js} +2 -2
- package/dist/arcgis-map-components/{UEHESKMW.js → 46ND5HT6.js} +2 -2
- package/dist/arcgis-map-components/{4PACQKDR.js → 4FRRFFHX.js} +2 -2
- package/dist/arcgis-map-components/{UON2DM3A.js → 4IF6ZFZQ.js} +2 -2
- package/dist/arcgis-map-components/{BSLQG4EZ.js → 57F6FKWE.js} +2 -2
- package/dist/arcgis-map-components/{MTPKZ7GY.js → 5FY7XVHG.js} +2 -2
- package/dist/arcgis-map-components/{D3QTZ5CF.js → 5OUFTSJ2.js} +2 -2
- package/dist/arcgis-map-components/{5UOI2DSM.js → 6NOH6HWU.js} +2 -2
- package/dist/arcgis-map-components/{WBNAJXDJ.js → 7MTJ667P.js} +2 -2
- package/dist/arcgis-map-components/{RIIE5C3J.js → AIO6J67Y.js} +2 -2
- package/dist/arcgis-map-components/{CIYU247Y.js → B7KQYPLN.js} +2 -2
- package/dist/arcgis-map-components/{FKWGGSIW.js → BGJNLAZ5.js} +2 -2
- package/dist/arcgis-map-components/{CI32TE4K.js → BQCC4MP3.js} +2 -2
- package/dist/arcgis-map-components/{CKEU2ZPG.js → CJGN2I5U.js} +2 -2
- package/dist/arcgis-map-components/{FOJKXQJT.js → DCILFCER.js} +1 -1
- package/dist/arcgis-map-components/{ZMDRT6CE.js → DLRFNNKK.js} +2 -2
- package/dist/arcgis-map-components/{EI4TH3NO.js → DPLQLBIH.js} +2 -2
- package/dist/arcgis-map-components/{CFYLXL3F.js → DU4PZ477.js} +2 -2
- package/dist/arcgis-map-components/{XA5GDPGZ.js → DUNFZDKI.js} +2 -2
- package/dist/arcgis-map-components/{I22LLFLF.js → EI262WRA.js} +2 -2
- package/dist/arcgis-map-components/{DDXIFOPQ.js → EIOSYAPN.js} +2 -2
- package/dist/arcgis-map-components/{XNFWGSKM.js → EMXIMQUA.js} +1 -1
- package/dist/arcgis-map-components/{J2KG3EBM.js → F3NWYBOH.js} +2 -2
- package/dist/arcgis-map-components/{HNRFZNW2.js → FC5UZ7WC.js} +2 -2
- package/dist/arcgis-map-components/{WXXAJVZB.js → GKAKA6KM.js} +1 -1
- package/dist/arcgis-map-components/{E2SCXVR3.js → GRPQ4OZZ.js} +2 -2
- package/dist/arcgis-map-components/{J7SVJ2VH.js → GSHHBG2Y.js} +2 -2
- package/dist/arcgis-map-components/{56GEPRZQ.js → HBUEEVSO.js} +2 -2
- package/dist/arcgis-map-components/{3XKAC4Z4.js → IKZMO6ZV.js} +2 -2
- package/dist/arcgis-map-components/{6XO4NJZU.js → JNG4ETFC.js} +2 -2
- package/dist/arcgis-map-components/{7TRCQXRH.js → JQWYLUZ3.js} +2 -2
- package/dist/arcgis-map-components/{5GW62ORO.js → KFIN65DU.js} +2 -2
- package/dist/arcgis-map-components/{KIBNUF6E.js → KTGEMVJF.js} +2 -2
- package/dist/arcgis-map-components/{X36TQXR3.js → N7TNR4PV.js} +2 -2
- package/dist/arcgis-map-components/{FCWTY4Z3.js → O3CENDHJ.js} +2 -2
- package/dist/arcgis-map-components/{HHNDH33M.js → OGTJBLM7.js} +2 -2
- package/dist/arcgis-map-components/{VZIVRCJ7.js → ON7MB424.js} +2 -2
- package/dist/arcgis-map-components/{6QEVDG2E.js → P4KSWU3P.js} +2 -2
- package/dist/arcgis-map-components/{ZK6KRAAD.js → PFDUHW6R.js} +2 -2
- package/dist/arcgis-map-components/{IUH7LWTE.js → Q2S4KDQP.js} +2 -2
- package/dist/arcgis-map-components/{4RTTWWWN.js → QWSQXNUG.js} +2 -2
- package/dist/arcgis-map-components/{RZU52KIA.js → R5ONXRGH.js} +2 -2
- package/dist/arcgis-map-components/{Z4D3722X.js → RFYPLRKW.js} +2 -2
- package/dist/arcgis-map-components/{GCR5WLLQ.js → RN6XAHME.js} +2 -2
- package/dist/arcgis-map-components/{OKEUOW3F.js → RRCXNW5T.js} +2 -2
- package/dist/arcgis-map-components/{J7HIMDDZ.js → RZFHNFQG.js} +2 -2
- package/dist/arcgis-map-components/{S74YSYI7.js → SJR7K33D.js} +2 -2
- package/dist/arcgis-map-components/{763SS3HH.js → SLUA5U7G.js} +2 -2
- package/dist/arcgis-map-components/{H4AHDUOJ.js → SMYLZF3X.js} +2 -2
- package/dist/arcgis-map-components/{BBL6CNHN.js → SN66EUX2.js} +2 -2
- package/dist/arcgis-map-components/{OQXPJUID.js → SSBRPB2L.js} +2 -2
- package/dist/arcgis-map-components/{YL7XLLT3.js → T2PR6S6N.js} +2 -2
- package/dist/arcgis-map-components/{2K5OA77E.js → TEAKKNJZ.js} +2 -2
- package/dist/arcgis-map-components/{U2Y6DLNS.js → TWUS2BUI.js} +2 -2
- package/dist/arcgis-map-components/{KWICMIEZ.js → UAFN6RG5.js} +2 -2
- package/dist/arcgis-map-components/{QNBRFBVK.js → UFLXRM7M.js} +2 -2
- package/dist/arcgis-map-components/{OU6N7RZK.js → UMY4XCNK.js} +1 -1
- package/dist/arcgis-map-components/{IEKDWWVK.js → URISU6GT.js} +1 -1
- package/dist/arcgis-map-components/{MOQB7VSM.js → V6ICONRJ.js} +2 -2
- package/dist/arcgis-map-components/{2ZECWDRP.js → VGP5JDE4.js} +2 -2
- package/dist/arcgis-map-components/{35V3IXAP.js → W5BODCLI.js} +2 -2
- package/dist/arcgis-map-components/{BEKSZHTN.js → W5FZIAYV.js} +2 -2
- package/dist/arcgis-map-components/{V6O5YERG.js → XCPTC4GK.js} +2 -2
- package/dist/arcgis-map-components/{PSWMGRUS.js → Y3TBTGHA.js} +2 -2
- package/dist/arcgis-map-components/{65EDERUK.js → YJAL57TD.js} +2 -2
- package/dist/arcgis-map-components/{SNZQALRL.js → YR2WSN7X.js} +2 -2
- package/dist/arcgis-map-components/{CCQFADNJ.js → Z2RBBHJE.js} +2 -2
- package/dist/arcgis-map-components/{ITTPZHYD.js → ZVIU4YDB.js} +2 -2
- package/dist/arcgis-map-components/{FOUIV36S.js → ZXXRSOM3.js} +2 -2
- package/dist/arcgis-map-components/arcgis-map-components.esm.js +2 -2
- package/dist/chunks/basemap-gallery-item.js +1 -1
- package/dist/chunks/component-utils.js +1 -1
- package/dist/chunks/disconnected.js +1 -1
- package/dist/chunks/globalCss.js +1 -1
- package/dist/chunks/legacyIcon.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/useViewModel.js +1 -1
- package/dist/chunks/useWidget.js +1 -1
- package/dist/components/arcgis-area-measurement-2d/customElement.js +1 -1
- package/dist/components/arcgis-area-measurement-3d/customElement.js +1 -1
- package/dist/components/arcgis-attachments/customElement.js +1 -1
- package/dist/components/arcgis-basemap-gallery/components/basemap-gallery-item/customElement.js +1 -1
- package/dist/components/arcgis-basemap-gallery/customElement.js +1 -1
- package/dist/components/arcgis-basemap-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-basemap-toggle/customElement.js +1 -1
- package/dist/components/arcgis-bookmarks/customElement.js +1 -1
- package/dist/components/arcgis-building-explorer/customElement.js +1 -1
- package/dist/components/arcgis-catalog-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-compass/customElement.js +1 -1
- package/dist/components/arcgis-coordinate-conversion/customElement.js +1 -1
- package/dist/components/arcgis-daylight/customElement.js +1 -1
- package/dist/components/arcgis-directional-pad/customElement.js +1 -1
- package/dist/components/arcgis-directions/customElement.js +1 -1
- package/dist/components/arcgis-directline-measurement-3d/customElement.js +1 -1
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +1 -1
- package/dist/components/arcgis-editor/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile/customElement.js +1 -1
- package/dist/components/arcgis-expand/customElement.js +1 -1
- package/dist/components/arcgis-feature/customElement.js +1 -1
- package/dist/components/arcgis-feature-form/customElement.js +1 -1
- package/dist/components/arcgis-feature-table/customElement.js +1 -1
- package/dist/components/arcgis-feature-templates/customElement.js +1 -1
- package/dist/components/arcgis-features/customElement.js +1 -1
- package/dist/components/arcgis-floor-filter/customElement.js +1 -1
- package/dist/components/arcgis-fullscreen/customElement.js +1 -1
- package/dist/components/arcgis-histogram/customElement.js +1 -1
- package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-home/customElement.js +1 -1
- package/dist/components/arcgis-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-legend/customElement.js +1 -1
- package/dist/components/arcgis-line-of-sight/customElement.js +1 -1
- package/dist/components/arcgis-locate/customElement.js +1 -1
- package/dist/components/arcgis-map/customElement.js +1 -1
- package/dist/components/arcgis-measurement/customElement.js +1 -1
- package/dist/components/arcgis-navigation-toggle/customElement.js +1 -1
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +1 -1
- package/dist/components/arcgis-placement/customElement.js +1 -1
- package/dist/components/arcgis-print/customElement.js +1 -1
- package/dist/components/arcgis-scale-bar/customElement.js +1 -1
- package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-scene/customElement.js +1 -1
- package/dist/components/arcgis-search/customElement.js +1 -1
- package/dist/components/arcgis-shadow-cast/customElement.js +1 -1
- package/dist/components/arcgis-sketch/customElement.js +1 -1
- package/dist/components/arcgis-slice/customElement.js +1 -1
- package/dist/components/arcgis-slider/customElement.js +1 -1
- package/dist/components/arcgis-swipe/customElement.js +1 -1
- package/dist/components/arcgis-table-list/customElement.js +1 -1
- package/dist/components/arcgis-time-slider/customElement.js +1 -1
- package/dist/components/arcgis-track/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -1
- package/dist/components/arcgis-value-picker/customElement.js +1 -1
- package/dist/components/arcgis-version-management/customElement.js +1 -1
- package/dist/components/arcgis-version-management-service-item/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-item/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-list/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
- package/dist/components/arcgis-weather/customElement.js +1 -1
- package/dist/components/arcgis-zoom/customElement.js +1 -1
- package/dist/docs/api.json +2 -2
- package/dist/docs/docs.json +2 -2
- package/dist/docs/web-types.json +1 -1
- package/dist/index.js +1 -1
- package/dist/loader.js +1 -1
- package/package.json +5 -5
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
4
|
-
* v4.32.0-next.
|
|
4
|
+
* v4.32.0-next.73
|
|
5
5
|
*/
|
|
6
|
-
import{a as g,b as p}from"./
|
|
6
|
+
import{a as g,b as p}from"./FC5UZ7WC.js";import"./T2PR6S6N.js";import{ia as z}from"./UMY4XCNK.js";import"./URISU6GT.js";import{A as h,B as d,C as o,E as s,G as u,a as r,f as n,q as l,r as c,s as m}from"./DCILFCER.js";var t={base:"arcgis-zoom",horizontalLayout:"arcgis-zoom--horizontal",zoomIn:"arcgis-zoom__zoom-in",zoomOut:"arcgis-zoom__zoom-out"},w=c`arcgis-zoom,.arcgis-zoom{display:flex;flex-flow:column nowrap}.arcgis-zoom__zoom-out{border-block-start:solid 1px var(--calcite-color-border-1)}.arcgis-zoom--horizontal{flex-flow:row-reverse nowrap}.arcgis-zoom--horizontal .arcgis-zoom__zoom-out{border-block-start:none;border-inline-end:solid 1px var(--calcite-color-border-1)}`,v=p(z),a=class extends d{constructor(){super(...arguments),this.messages=g({}),this.viewModel=v(this),this.canZoomIn=this.viewModel.canZoomIn,this.canZoomOut=this.viewModel.canZoomOut,this.autoDestroyDisabled=!1,this.icon="magnifying-glass-plus",this.layout="vertical",this.position="top-left",this.state=this.viewModel.state,this.arcgisPropertyChange=l()("state"),this.arcgisReady=h()}static{this.properties={canZoomIn:16,canZoomOut:16,autoDestroyDisabled:5,icon:3,label:1,layout:3,messageOverrides:0,position:1,referenceElement:1,state:3}}static{this.shadowRootOptions=n}static{this.styles=w}async destroy(){await this.manager.destroy()}async zoomIn(){this.viewModel.zoomIn()}async zoomOut(){this.viewModel.zoomOut()}render(){let b={[t.horizontalLayout]:this.layout==="horizontal"},{canZoomIn:y,canZoomOut:f}=this.viewModel,{zoomIn:i,zoomOut:e}=this.messages;return m`<div class=${o(r(t.base,b))}><calcite-button class=${o(t.zoomIn)} .disabled=${!y} icon-start=plus kind=neutral .label=${i} @click=${this.zoomIn} title=${i??s}></calcite-button><calcite-button class=${o(t.zoomOut)} .disabled=${!f} icon-start=minus kind=neutral .label=${e} @click=${this.zoomOut} title=${e??s}></calcite-button></div>`}};u("arcgis-zoom",a);export{a as ArcgisZoom};
|
|
@@ -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.73
|
|
5
5
|
*/
|
|
6
|
-
import{a as y}from"./
|
|
6
|
+
import{a as y}from"./IKZMO6ZV.js";import"./T2PR6S6N.js";import{d as s,v as w}from"./UMY4XCNK.js";import{d as c}from"./URISU6GT.js";import{A as d,B as n,G as l,f as o,q as r,r as h}from"./DCILFCER.js";var m=h`arcgis-directions{display:block}`,g=y(w),i="map-components:arcgis-directions",a=class extends n{constructor(){super(...arguments),this.widget=g(this),this.viewModel=this.widget.viewModel,this.apiKey=this.widget.apiKey,this.autoDestroyDisabled=!1,this.headingLevel=this.widget.headingLevel,this.hideLayerDetails=this.widget.visibleElements.layerDetails,this.hideSaveAsButton=this.widget.visibleElements.saveAsButton,this.hideSaveButton=this.widget.visibleElements.saveButton,this.icon=this.widget.icon,this.label=this.widget.label,this.lastRoute=this.widget.lastRoute,this.layer=this.widget.layer,this.maxStops=this.widget.maxStops,this.position="bottom-left",this.searchProperties=this.widget.searchProperties,this.state=this.viewModel.state,this.unit=this.widget.unit,this.useDefaultRouteLayer=!1,this.arcgisPropertyChange=r()("lastRoute","state"),this.arcgisReady=d()}static{this.properties={apiKey:1,autoDestroyDisabled:5,headingLevel:9,hideLayerDetails:5,hideSaveAsButton:5,hideSaveButton:5,icon:1,label:1,lastRoute:0,layer:0,maxStops:9,position:1,referenceElement:1,routeLayerItemId:1,searchProperties:0,state:0,unit:1,useDefaultRouteLayer:5}}static{this.shadowRootOptions=o}static{this.styles=m}async destroy(){await this.manager.destroy()}async getDirections(){if(this.widget?.viewModel?.state!=="ready")throw new Error(`${i} - component not ready to get directions`);return await this.widget?.getDirections()}async save(){if(this.widget?.viewModel?.state!=="ready")throw new Error(`${i} - component not ready to save directions`);return await this.widget?.save()}async saveAs(t,e){if(this.widget?.viewModel?.state!=="ready")throw new Error(`${i} - component not ready to save directions as a Portal Item`);return await this.widget?.saveAs(t,e)}async zoomToRoute(){if(this.widget?.viewModel?.state!=="ready")throw new Error(`${i} - component not ready to zoom to route`);this.widget?.zoomToRoute()}willUpdate(t){if(t.has("routeLayerItemId")){let e=this.routeLayerItemId;c(e)&&!this.useDefaultRouteLayer?(this.widget.view?.map.remove(this.layer),this._setDefaultLayer()):e&&this.widget&&s({portalItem:{id:e}}).then(u=>{this.layer=u,this.widget.view?.map.add(this.layer)}).catch(console.error)}t.has("useDefaultRouteLayer")&&this._setDefaultLayer()}_setDefaultLayer(){this.useDefaultRouteLayer&&!this.routeLayerItemId&&s({}).then(t=>{this.layer=t,this.widget.view?.map.add(this.layer)}).catch(console.error)}};l("arcgis-directions",a);export{a as ArcgisDirections};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
4
|
-
* v4.32.0-next.
|
|
4
|
+
* v4.32.0-next.73
|
|
5
5
|
*/
|
|
6
|
-
import{a as l}from"./
|
|
6
|
+
import{a as l}from"./IKZMO6ZV.js";import"./T2PR6S6N.js";import{B as d}from"./UMY4XCNK.js";import"./URISU6GT.js";import{A as n,B as o,G as h,f as i,q as s,r as a}from"./DCILFCER.js";var c=a`arcgis-feature{display:block}`,p=l(d),e=class extends o{constructor(){super(...arguments),this.widget=p(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.defaultPopupTemplateEnabled=this.widget.defaultPopupTemplateEnabled,this.graphic=this.widget.graphic,this.headingLevel=this.widget.headingLevel,this.hideContentAttachments=this.widget.visibleElements.content.attachments,this.hideContentExpression=this.widget.visibleElements.content.expression,this.hideContentFields=this.widget.visibleElements.content.fields,this.hideContentMedia=this.widget.visibleElements.content.media,this.hideContentText=this.widget.visibleElements.content.text,this.hideLastEditInfo=this.widget.visibleElements.lastEditedInfo,this.hideTitle=this.widget.visibleElements.title,this.icon=this.widget.icon,this.label=this.widget.label,this.location=this.viewModel.location,this.map=this.widget.map,this.position="bottom-left",this.spatialReference=this.widget.spatialReference,this.state=this.viewModel.state,this.arcgisPropertyChange=s()("state"),this.arcgisReady=n()}static{this.properties={autoDestroyDisabled:5,defaultPopupTemplateEnabled:5,graphic:0,headingLevel:9,hideContentAttachments:5,hideContentExpression:5,hideContentFields:5,hideContentMedia:5,hideContentText:5,hideLastEditInfo:5,hideTitle:5,icon:1,label:1,location:0,map:0,position:1,referenceElement:1,spatialReference:0,state:3}}static{this.shadowRootOptions=i}static{this.styles=c}async destroy(){await this.manager.destroy()}async nextMedia(t){this.widget?.nextMedia(t)}async previousMedia(t){this.widget?.previousMedia(t)}async setActiveMedia(t,r){this.widget?.setActiveMedia(t,r)}};h("arcgis-feature",e);export{e as ArcgisFeature};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
4
|
-
* v4.32.0-next.
|
|
4
|
+
* v4.32.0-next.73
|
|
5
5
|
*/
|
|
6
|
-
import{ja as L}from"./
|
|
6
|
+
import{ja as L}from"./UMY4XCNK.js";import{b as v,d as y,g as E,h as w,j as _,k as g,l as b,m as P,n as C}from"./DCILFCER.js";var u;async function N(){return u??(u=L()),await u}var $=(e,o)=>(t,n)=>I(t,e,n),A=class extends w{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()}},I=C(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 m=o[a];return h?!m:m},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=j(o);P(()=>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;b(()=>{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 j(e){let t=Object.entries(e.__accessor__?.metadata??{});return new Set(t.filter(([n,l])=>l?.readOnly===!0).map(([n])=>n))}function W(e,o){let t=E(),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{$ as a,A as b,f as c,W as d};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
4
|
-
* v4.32.0-next.
|
|
4
|
+
* v4.32.0-next.73
|
|
5
5
|
*/
|
|
6
|
-
import{a as b,b as y}from"./
|
|
6
|
+
import{a as b,b as y}from"./Y3TBTGHA.js";import{a as s}from"./EMXIMQUA.js";import{a as w,b as f}from"./FC5UZ7WC.js";import{d as u}from"./T2PR6S6N.js";import{K as v}from"./UMY4XCNK.js";import"./URISU6GT.js";import{A as m,B as d,C as i,E as g,G as p,a as r,f as c,q as n,r as l,s as h}from"./DCILFCER.js";var $=l`arcgis-home{display:block}`,_={base:"esri-home"},B=f(v),o=class extends d{constructor(){super(...arguments),this.messages=w(),this.viewModel=B(this),this._calciteButton=b(),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=u(()=>this.viewModel,"go"),this.arcgisPropertyChange=n()("state"),this.arcgisReady=m()}static{this.properties={autoDestroyDisabled:5,goToOverride:0,icon:3,label:1,messageOverrides:0,position:3,referenceElement:1,state:3,viewpoint:0}}static{this.shadowRootOptions=c}static{this.styles=$}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 e=document.createElement("calcite-loader");e.inline=!0,e.label="",this._calciteButton.value.append(e)}}else this._calciteButton.value.children[0]?.remove()}_go(){let{viewModel:e}=this;e.state==="going-home"?e.cancelGo():e.go()}render(){let{messages:e,icon:M}=this,t=this.viewModel?.state,a=t==="going-home";return h`<div class=${i(r(_.base,s.widget))}><calcite-button class=${i(s.widgetButton)} .disabled=${t==="disabled"} .iconStart=${a?void 0:M??void 0} kind=neutral .label=${e.componentLabel} @click=${this._go} .scale=${a?"s":"m"} title=${(t==="going-home"?e.cancel:e.title)??g} ${y(this._calciteButton)}></calcite-button></div>`}};p("arcgis-home",o);export{o as ArcgisHome};
|
|
@@ -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.73
|
|
5
5
|
*/
|
|
6
|
-
import{a as h}from"./
|
|
6
|
+
import{a as h}from"./IKZMO6ZV.js";import"./T2PR6S6N.js";import{j as n}from"./UMY4XCNK.js";import"./URISU6GT.js";import{A as a,B as o,G as r,f as s,q as i,r as e}from"./DCILFCER.js";var d=e`arcgis-area-measurement-3d{display:block}`,l=h(n),t=class extends o{constructor(){super(...arguments),this.widget=l(this),this.viewModel=this.widget.viewModel,this.analysis=this.widget.analysis,this.autoDestroyDisabled=!1,this.icon=this.widget.icon,this.label=this.widget.label,this.position="bottom-left",this.state=this.viewModel.state,this.unit=this.widget.unit,this.unitOptions=this.widget.unitOptions,this.arcgisPropertyChange=i()("analysis","state"),this.arcgisReady=a()}static{this.properties={analysis:0,autoDestroyDisabled:5,icon:1,label:1,position:1,referenceElement:1,state:3,unit:1,unitOptions:0}}static{this.shadowRootOptions=s}static{this.styles=d}async clear(){this.widget?.viewModel.clear()}async destroy(){await this.manager.destroy()}async start(){this.widget?.viewModel.start()}};r("arcgis-area-measurement-3d",t);export{t as ArcgisAreaMeasurement3d};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
4
|
-
* v4.32.0-next.
|
|
4
|
+
* v4.32.0-next.73
|
|
5
5
|
*/
|
|
6
|
-
import{a as S}from"./FOUIV36S.js";import{b as m}from"./PSWMGRUS.js";import{ca as c}from"./OU6N7RZK.js";import{b as r,c as h,i as A}from"./IEKDWWVK.js";import{A as n,B as l,G as a,f as e,s as o}from"./FOJKXQJT.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.visibleElementsStructuralAttachmentAssociationsSettingsColorPicker=!0,this.visibleElementsStructuralAttachmentAssociationsSettingsStylePicker=!0,this.visibleElementsStructuralAttachmentAssociationsSettingsWidthInput=!0,this.arcgisReady=n()}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,visibleElementsStructuralAttachmentAssociationsSettingsColorPicker:5,visibleElementsStructuralAttachmentAssociationsSettingsStylePicker:5,visibleElementsStructuralAttachmentAssociationsSettingsWidthInput:5,widget:0}}static{this.shadowRootOptions=e}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,colorPicker:this.visibleElementsStructuralAttachmentAssociationsSettingsColorPicker,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}}_setChildElement(t){this.el.childElem=t}render(){return o`<div ${m(this._setChildElement)}></div>`}};a("arcgis-utility-network-associations",s);export{s as ArcgisUtilityNetworkAssociations};
|
|
6
|
+
import{a as S}from"./ZXXRSOM3.js";import{b as m}from"./Y3TBTGHA.js";import{ca as c}from"./UMY4XCNK.js";import{b as r,c as h,i as A}from"./URISU6GT.js";import{A as n,B as l,G as a,f as e,s as o}from"./DCILFCER.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.visibleElementsStructuralAttachmentAssociationsSettingsColorPicker=!0,this.visibleElementsStructuralAttachmentAssociationsSettingsStylePicker=!0,this.visibleElementsStructuralAttachmentAssociationsSettingsWidthInput=!0,this.arcgisReady=n()}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,visibleElementsStructuralAttachmentAssociationsSettingsColorPicker:5,visibleElementsStructuralAttachmentAssociationsSettingsStylePicker:5,visibleElementsStructuralAttachmentAssociationsSettingsWidthInput:5,widget:0}}static{this.shadowRootOptions=e}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,colorPicker:this.visibleElementsStructuralAttachmentAssociationsSettingsColorPicker,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}}_setChildElement(t){this.el.childElem=t}render(){return o`<div ${m(this._setChildElement)}></div>`}};a("arcgis-utility-network-associations",s);export{s as ArcgisUtilityNetworkAssociations};
|
|
@@ -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.73
|
|
5
5
|
*/
|
|
6
|
-
import{A as n,B as p,C as L,G as E,f as V,s as t}from"./
|
|
6
|
+
import{A as n,B as p,C as L,G as E,f as V,s as t}from"./DCILFCER.js";var v=class extends p{constructor(){super(...arguments),this._arcgisGetVersions=e=>{this.arcgisGetVersions.emit(e.detail)},this._arcgisManageVersion=e=>{this.arcgisManageVersion.emit(e.detail)},this._arcgisNewVersion=e=>{this.arcgisNewVersion.emit(e.detail)},this._versionListEventListeners=new Map,this._showInvalidVersionNotice=!0,this.arcgisFlowItemBack=n(),this.arcgisFlowItemClose=n(),this.arcgisGetVersions=n(),this.arcgisManageVersion=n(),this.arcgisNewVersion=n(),this.arcgisCreateVersionList=n()}static{this.properties={_showInvalidVersionNotice:16,serviceItemElementProps:0}}static{this.shadowRootOptions=V}disconnectedCallback(){super.disconnectedCallback(),this._versionList&&this._removeVersionListEventListeners(this._versionList)}_addVersionListEventListeners(e){e.addEventListener("arcgisGetVersions",this._arcgisGetVersions),this._versionListEventListeners.set("arcgisGetVersions",this._arcgisGetVersions),e.addEventListener("arcgisManageVersion",this._arcgisManageVersion),this._versionListEventListeners.set("arcgisManageVersion",this._arcgisManageVersion),e.addEventListener("arcgisNewVersion",this._arcgisNewVersion),this._versionListEventListeners.set("arcgisNewVersion",this._arcgisNewVersion)}_removeVersionListEventListeners(e){for(let[c,l]of this._versionListEventListeners)e.removeEventListener(c,l)}render(){let{serviceItemElementProps:{allowEditing:e,closable:c,currentUser:l,executionError:I,currentVersionIdentifier:d,flowElement:_,hasAdvEditingUte:b,heading:w,isInitialVersionInvalid:f,isVersionAdministrator:u,isVersioningApiAvailable:$,mode:x,pageSize:M,serviceName:r,serviceUrl:g,state:N,strings:o,versionInfos:a}}=this,{_versionList:i}=this,k=f.get(g)&&this._showInvalidVersionNotice?t`<calcite-notice class="initial-version-invalid-block" closable kind=warning open scale=s width=full icon @calciteNoticeClose=${()=>this._showInvalidVersionNotice=!1}><div slot=title>${o.headers.invalidInitialVersion}</div><div slot=message>${o.loadErrors.invalidInitialVersion}</div></calcite-notice>`:void 0,C=t`<calcite-combobox clear-disabled .label=${r} max-items=5 overlay-positioning=fixed selection-mode=single-persist @calciteComboboxChange=${s=>{let A=s.target,G=a.find(F=>F.versionIdentifier.guid===A.value);this.arcgisManageVersion.emit({actionType:"changeVersion",serviceUrl:g,versionInfo:G})}}>${a?a.map(s=>t`<calcite-combobox-item class=${L(x==="dialog"?"":"calcite-combobox-item")} .selected=${d.guid===s.versionIdentifier.guid&&d.name===s.versionIdentifier.name} .textLabel=${s.versionIdentifier.name} .value=${s.versionIdentifier.guid}></calcite-combobox-item>`):void 0}</calcite-combobox>`,m,h;return e&&(m=t`<calcite-action .id=${`actionManageVersions_${r}`} icon=list scale=s slot=control text @click=${async()=>{i=document.createElement("arcgis-version-management-version-list"),i.versionListElementProps={closable:c,currentUser:l,currentVersionIdentifier:d,executionError:I,hasAdvEditingUte:b,heading:w,isVersionAdministrator:u,isVersioningApiAvailable:$,pageSize:M,serviceName:r,serviceUrl:g,state:N,strings:o,versionInfos:a},i.selected=!0,i.showBackButton=!0,i.addEventListener("calciteFlowItemBack",s=>{s.preventDefault(),this.arcgisFlowItemBack.emit()}),i.addEventListener("calciteFlowItemClose",()=>{this.arcgisFlowItemClose.emit()}),this._addVersionListEventListeners(i),_?.append(i),this.arcgisCreateVersionList.emit(i)}}></calcite-action>`,h=t`<calcite-tooltip overlay-positioning=fixed .referenceElement=${`actionManageVersions_${r}`}><span>${o.headers.manageVersions}</span></calcite-tooltip>`),t`<calcite-block open .heading=${r}>${k}${C}${m}${h}</calcite-block>`}};E("arcgis-version-management-service-item",v);export{v as ArcgisVersionManagementServiceItem};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
4
|
-
* v4.32.0-next.
|
|
4
|
+
* v4.32.0-next.73
|
|
5
5
|
*/
|
|
6
6
|
var e=typeof window<"u"&&"$arcgis"in window&&typeof window.$arcgis=="object"&&"import"in window.$arcgis&&!("forceESM"in window.$arcgis);function n(t){return t.default!==void 0}async function i(){if(e)return await window.$arcgis.import("esri/layers/GraphicsLayer");let t=await import("@arcgis/core/layers/GraphicsLayer.js");return n(t)?t.default:t}async function mt(t){let r=await i();return new r(t)}async function dt(){if(e)return await window.$arcgis.import("esri/layers/Layer");let t=await import("@arcgis/core/layers/Layer.js");return n(t)?t.default:t}async function o(){if(e)return await window.$arcgis.import("esri/layers/OrientedImageryLayer");let t=await import("@arcgis/core/layers/OrientedImageryLayer.js");return n(t)?t.default:t}async function lt(t){let r=await o();return new r(t)}async function a(){if(e)return await window.$arcgis.import("esri/layers/RouteLayer");let t=await import("@arcgis/core/layers/RouteLayer.js");return n(t)?t.default:t}async function ft(t){let r=await a();return new r(t)}async function s(){if(e)return await window.$arcgis.import("esri/views/MapView");let t=await import("@arcgis/core/views/MapView.js");return n(t)?t.default:t}async function yt(t){let r=await s();return new r(t)}async function u(){if(e)return await window.$arcgis.import("esri/views/SceneView");let t=await import("@arcgis/core/views/SceneView.js");return n(t)?t.default:t}async function gt(t){let r=await u();return new r(t)}async function c(){if(e)return await window.$arcgis.import("esri/WebMap");let t=await import("@arcgis/core/WebMap.js");return n(t)?t.default:t}async function St(t){let r=await c();return new r(t)}async function w(){if(e)return await window.$arcgis.import("esri/WebScene");let t=await import("@arcgis/core/WebScene.js");return n(t)?t.default:t}async function Mt(t){let r=await w();return new r(t)}async function p(){if(e)return await window.$arcgis.import("esri/widgets/AreaMeasurement2D");let t=await import("@arcgis/core/widgets/AreaMeasurement2D.js");return n(t)?t.default:t}async function Ct(t){let r=await p();return new r(t)}async function m(){if(e)return await window.$arcgis.import("esri/widgets/AreaMeasurement3D");let t=await import("@arcgis/core/widgets/AreaMeasurement3D.js");return n(t)?t.default:t}async function $t(t){let r=await m();return new r(t)}async function d(){if(e)return await window.$arcgis.import("esri/widgets/Attachments");let t=await import("@arcgis/core/widgets/Attachments.js");return n(t)?t.default:t}async function Lt(t){let r=await d();return new r(t)}async function l(){if(e)return await window.$arcgis.import("esri/widgets/BasemapGallery/BasemapGalleryViewModel");let t=await import("@arcgis/core/widgets/BasemapGallery/BasemapGalleryViewModel.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 ht(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 Pt(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 Tt(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 Gt(t){let r=await R();return new r(t)}async function V(){if(e)return await window.$arcgis.import("esri/widgets/Directions");let t=await import("@arcgis/core/widgets/Directions.js");return n(t)?t.default:t}async function At(t){let r=await V();return new r(t)}async function b(){if(e)return await window.$arcgis.import("esri/widgets/DirectLineMeasurement3D");let t=await import("@arcgis/core/widgets/DirectLineMeasurement3D.js");return n(t)?t.default:t}async function Dt(t){let r=await b();return new r(t)}async function h(){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 h();return new r(t)}async function P(){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 vt(t){let r=await P();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 Et(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 T(){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 T();return new r(t)}async function G(){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 G();return new r(t)}async function A(){if(e)return await window.$arcgis.import("esri/widgets/FeatureTable");let t=await import("@arcgis/core/widgets/FeatureTable.js");return n(t)?t.default:t}async function Nt(t){let r=await A();return new r(t)}async function D(){if(e)return await window.$arcgis.import("esri/widgets/FeatureTemplates");let t=await import("@arcgis/core/widgets/FeatureTemplates.js");return n(t)?t.default:t}async function Ht(t){let r=await D();return new r(t)}async function k(){if(e)return await window.$arcgis.import("esri/widgets/FloorFilter");let t=await import("@arcgis/core/widgets/FloorFilter.js");return n(t)?t.default:t}async function Kt(t){let r=await k();return new r(t)}async function v(){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 zt(t){let r=await v();return new r(t)}async function E(){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 E();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 H(){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 H();return new r(t)}async function K(){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 K();return new r(t)}async function z(){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 z();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/SwipeViewModel");let t=await import("@arcgis/core/widgets/Swipe/SwipeViewModel.js");return n(t)?t.default:t}async function wr(t){let r=await rt();return new r(t)}async function et(){if(e)return await window.$arcgis.import("esri/widgets/TableList");let t=await import("@arcgis/core/widgets/TableList.js");return n(t)?t.default:t}async function pr(t){let r=await et();return new r(t)}async function nt(){if(e)return await window.$arcgis.import("esri/widgets/TimeSlider");let t=await import("@arcgis/core/widgets/TimeSlider.js");return n(t)?t.default:t}async function mr(t){let r=await nt();return new r(t)}async function it(){if(e)return await window.$arcgis.import("esri/widgets/Track/TrackViewModel");let t=await import("@arcgis/core/widgets/Track/TrackViewModel.js");return n(t)?t.default:t}async function dr(t){let r=await it();return new r(t)}async function ot(){if(e)return await window.$arcgis.import("esri/widgets/UtilityNetworkAssociations");let t=await import("@arcgis/core/widgets/UtilityNetworkAssociations.js");return n(t)?t.default:t}async function lr(t){let r=await ot();return new r(t)}async function at(){if(e)return await window.$arcgis.import("esri/widgets/UtilityNetworkTrace");let t=await import("@arcgis/core/widgets/UtilityNetworkTrace.js");return n(t)?t.default:t}async function fr(t){let r=await at();return new r(t)}async function st(){if(e)return await window.$arcgis.import("esri/widgets/UtilityNetworkValidateTopology");let t=await import("@arcgis/core/widgets/UtilityNetworkValidateTopology.js");return n(t)?t.default:t}async function yr(t){let r=await st();return new r(t)}async function ut(){if(e)return await window.$arcgis.import("esri/widgets/ValuePicker");let t=await import("@arcgis/core/widgets/ValuePicker.js");return n(t)?t.default:t}async function gr(t){let r=await ut();return new r(t)}async function ct(){if(e)return await window.$arcgis.import("esri/widgets/VersionManagement/VersionManagementViewModel");let t=await import("@arcgis/core/widgets/VersionManagement/VersionManagementViewModel.js");return n(t)?t.default:t}async function Sr(t){let r=await ct();return new r(t)}async function wt(){if(e)return await window.$arcgis.import("esri/widgets/Weather");let t=await import("@arcgis/core/widgets/Weather.js");return n(t)?t.default:t}async function Mr(t){let r=await wt();return new r(t)}async function pt(){if(e)return await window.$arcgis.import("esri/widgets/Zoom/ZoomViewModel");let t=await import("@arcgis/core/widgets/Zoom/ZoomViewModel.js");return n(t)?t.default:t}async function Cr(t){let r=await pt();return new r(t)}async function $r(){if(e)return await window.$arcgis.import("esri/core/reactiveUtils");let t=await import("@arcgis/core/core/reactiveUtils.js");return n(t)?t.default:t}async function Lr(){if(e)return await window.$arcgis.import("esri/intl");let t=await import("@arcgis/core/intl.js");return n(t)?t.default:t}async function Rr(){if(e)return await window.$arcgis.import("esri/applications/Components/basemapUtils");let t=await import("@arcgis/core/applications/Components/basemapUtils.js");return n(t)?t.default:t}async function Vr(){if(e)return await window.$arcgis.import("esri/applications/Components/getDefaultUnits");let t=await import("@arcgis/core/applications/Components/getDefaultUnits.js");return n(t)?t.default:t}export{mt as a,dt as b,lt as c,ft as d,yt as e,gt as f,St as g,Mt as h,Ct as i,$t as j,Lt as k,Rt as l,Vt as m,bt as n,ht as o,Pt as p,It as q,Wt as r,Ft as s,Tt as t,Gt as u,At as v,Dt as w,kt as x,vt as y,Et as z,Bt as A,Ot as B,Ut as C,xt as D,Nt as E,Ht as F,Kt as G,zt as H,Qt as I,qt as J,jt as K,Jt as L,Zt as M,Xt as N,Yt as O,_t as P,tr as Q,rr as R,er as S,nr as T,ir as U,or as V,ar as W,sr as X,ur as Y,cr as Z,wr as _,pr as $,mr as aa,dr as ba,lr as ca,fr as da,yr as ea,gr as fa,Sr as ga,Mr as ha,Cr as ia,$r as ja,Lr as ka,Rr as la,Vr as ma};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
4
|
-
* v4.32.0-next.
|
|
4
|
+
* v4.32.0-next.73
|
|
5
5
|
*/
|
|
6
6
|
function E(e,n){Array.isArray(n)?e._watchHandles=[...e._watchHandles,...n]:e._watchHandles.push(n)}function b(e){e.el.childElem&&(e.el.childElem.ownedBy=e.el);let n=w(e);if(!n){let t=p(e.referenceElement);if(!t){f(e);return}return d(t,e,!0),t}return g(n,e.el.parent)||(e.el.parent=n,n.tagName.toLowerCase()==="arcgis-expand"?m(n,e):n.tagName.toLowerCase()==="arcgis-placement"?v(n,e):d(n,e,!1)),n}function w({el:e}){for(let n=e.parentElement;n;n=n?.parentElement??null){if(s.has(n.tagName.toLowerCase()))return n;if("ownedBy"in n&&n.ownedBy instanceof HTMLElement&&s.has(n.ownedBy.tagName.toLowerCase()))return n.ownedBy}}var s=new Set(["arcgis-map","arcgis-scene","arcgis-expand","arcgis-placement"]);function g(e,n){if(e!==n)return!1;let t=e.tagName.toLowerCase();return t==="arcgis-expand"||t==="arcgis-placement"}function i(e,n,t="arcgisReady"){let r=e;if(typeof r.view?.ready=="boolean")n(r.view);else{let o=function(l){l.target===e&&(i(e,n,t),e.removeEventListener(t,o))};e.addEventListener(t,o)}}var m=(e,n)=>i(e,t=>{n.el.childElem&&e.content!=null&&e.content.append(n.el.childElem),e.expandIcon=n.icon||n.widget?.icon||e.expandIcon,n.position=e.position,n.el.view=t}),v=(e,n)=>i(e,t=>{n.el.childElem&&n.el.append(n.el.childElem),n.position=e.position,n.el.view=t}),d=(e,n,t)=>i(e,r=>{t?f(n):n.el.childElem&&y(e,n),n.el.view=r},"arcgisViewReadyChange");function y(e,n){let t=n.el.childElem??n.el,r=[...e.children],o={};for(let a of r){let c=a.getAttribute("position")??"manual";o[c]??=[],o[c].push({child:a,position:c,index:r.indexOf(a)})}let l=o[n.position??"manual"]?.findIndex(({child:a})=>a===n.el);e.view.ui.remove(t),e.view.ui.add(t,{position:n.position,index:l})}function x(e){let n=!1,t=e.el.view,r=Object.getOwnPropertyDescriptor(Object.getPrototypeOf(e.el),"view")??{get:()=>t,set:o=>t=o};Object.defineProperty(e.el,"view",{get:r.get.bind(e.el),set:o=>{r.set.call(e.el,o),o&&!n&&(n=!0,e.arcgisReady.emit())},configurable:!0,enumerable:!0}),t&&(e.el.view=t)}function L(e){return e==null||e===""}function C(e,n){return n!=null&&e?.position===n.position&&e?.heading===n.heading&&e?.tilt===n.tilt&&e?.fov===n.fov}function N(e,n){return n===void 0||e?.targetGeometry!==n?.targetGeometry||e?.rotation!==n?.rotation||e?.scale!==n?.scale}function O(e,n){return u(n?.center,e)}function u(e,n){if(typeof n=="string")return u(e,n.split(",").map(Number));if(!e)return n;if(Array.isArray(n)){let t=n[0],r=n[1],o=n.length>2?n[2]:void 0;if(t!==e.longitude||r!==e.latitude||o!==e.z)return n}else if(n&&!e?.equals(n))return n}async function A(e,n){n!=null&&(typeof n=="string"?e.el.view=await h(n):e.widget&&(e.el.view=n.view))}async function h(e){let n=p(e);return await new Promise(t=>{typeof n?.view?.ready=="boolean"?t(n.view):n&&n.addEventListener("arcgisViewReadyChange",()=>t(n.view),{once:!0})})}function f(e){e.el.childElem&&(e.el.shadowRoot??e.el).append(e.el.childElem)}function p(e){return typeof e!="string"?e??void 0:(e.includes("#")||e.includes(".")||e.includes("[")?void 0:document.querySelector(`#${e}`))??document.querySelector(e)??void 0}export{E as a,b,x as c,L as d,C as e,N as f,O as g,u as h,A as i};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
4
|
-
* v4.32.0-next.
|
|
4
|
+
* v4.32.0-next.73
|
|
5
5
|
*/
|
|
6
|
-
import{a as p}from"./
|
|
6
|
+
import{a as p}from"./IKZMO6ZV.js";import{d as t}from"./T2PR6S6N.js";import{X as g,a as r}from"./UMY4XCNK.js";import"./URISU6GT.js";import{A as n,B as h,G as d,f as o,q as l,r as a}from"./DCILFCER.js";var c=a`arcgis-sketch{display:block}`,m=p(g),s=class extends h{constructor(){super(),this.widget=m(this,{editConstructorProperties:this._editConstructorProperties}),this.viewModel=this.widget.viewModel,this.activeTool=this.widget.activeTool,this.autoDestroyDisabled=!1,this.availableCreateTools=this.widget.availableCreateTools,this.createGraphic=this.widget.createGraphic,this.creationMode=this.widget.creationMode,this.defaultCreateOptions=this.widget.defaultCreateOptions,this.defaultGraphicsLayerDisabled=!1,this.defaultUpdateOptions=this.widget.defaultUpdateOptions,this.hideCreateToolsCircle=this.widget.visibleElements.createTools.circle,this.hideCreateToolsPoint=this.widget.visibleElements.createTools.point,this.hideCreateToolsPolygon=this.widget.visibleElements.createTools.polygon,this.hideCreateToolsPolyline=this.widget.visibleElements.createTools.polyline,this.hideCreateToolsRectangle=this.widget.visibleElements.createTools.rectangle,this.hideDuplicateButton=this.widget.visibleElements.duplicateButton,this.hideLabelsToggle=this.widget.visibleElements.labelsToggle,this.hideSelectionToolsLassoSelection=this.widget.visibleElements.selectionTools["lasso-selection"],this.hideSelectionToolsRectangleSelection=this.widget.visibleElements.selectionTools["rectangle-selection"],this.hideSettingsMenu=this.widget.visibleElements.settingsMenu,this.hideSnappingControls=this.widget.visibleElements.snappingControls,this.hideSnappingControlsElementsEnabledToggle=this.widget.visibleElements.snappingControlsElements.enabledToggle,this.hideSnappingControlsElementsFeatureEnabledToggle=this.widget.visibleElements.snappingControlsElements.featureEnabledToggle,this.hideSnappingControlsElementsLayerList=this.widget.visibleElements.snappingControlsElements.layerList,this.hideSnappingControlsElementsSelfEnabledToggle=this.widget.visibleElements.snappingControlsElements.selfEnabledToggle,this.hideTooltipsToggle=this.widget.visibleElements.tooltipsToggle,this.hideUndoRedoMenu=this.widget.visibleElements.undoRedoMenu,this.icon=this.widget.icon,this.label=this.widget.label,this.labelOptions=this.widget.labelOptions,this.layer=this.widget.layer,this.layout=this.widget.layout,this.pointSymbol=this.viewModel.pointSymbol,this.polygonSymbol=this.viewModel.polygonSymbol,this.polylineSymbol=this.viewModel.polylineSymbol,this.position="bottom-left",this.scale=this.widget.scale,this.selectionManagementStyle=this.widget.selectionManagementStyle,this.showSnappingControlsElementsHeader=this.widget.visibleElements.snappingControlsElements.header,this.snappingOptions=this.widget.snappingOptions,this.state=this.widget.state,this.tooltipOptions=this.widget.tooltipOptions,this.updateGraphics=this.widget.updateGraphics,this.arcgisCreate=t(()=>this.widget,"create"),this.arcgisDelete=t(()=>this.widget,"delete"),this.arcgisPropertyChange=l()("state"),this.arcgisReady=n(),this.arcgisRedo=t(()=>this.widget,"redo"),this.arcgisUndo=t(()=>this.widget,"undo"),this.arcgisUpdate=t(()=>this.widget,"update"),this.listen("arcgisReady",this._arcgisReadyHandler)}static{this.properties={activeTool:3,autoDestroyDisabled:5,availableCreateTools:0,createGraphic:0,creationMode:1,defaultCreateOptions:0,defaultGraphicsLayerDisabled:5,defaultUpdateOptions:0,hideCreateToolsCircle:5,hideCreateToolsPoint:5,hideCreateToolsPolygon:5,hideCreateToolsPolyline:5,hideCreateToolsRectangle:5,hideDuplicateButton:5,hideLabelsToggle:5,hideSelectionToolsLassoSelection:5,hideSelectionToolsRectangleSelection:5,hideSettingsMenu:5,hideSnappingControls:5,hideSnappingControlsElementsEnabledToggle:5,hideSnappingControlsElementsFeatureEnabledToggle:5,hideSnappingControlsElementsLayerList:5,hideSnappingControlsElementsSelfEnabledToggle:5,hideTooltipsToggle:5,hideUndoRedoMenu:5,icon:1,label:1,labelOptions:0,layer:0,layout:1,pointSymbol:0,polygonSymbol:0,polylineSymbol:0,position:1,referenceElement:1,scale:1,selectionManagementStyle:1,showSnappingControlsElementsHeader:5,snappingOptions:0,state:3,tooltipOptions:0,updateGraphics:0}}static{this.shadowRootOptions=o}static{this.styles=c}async cancel(){this.widget?.cancel()}async complete(){this.widget?.complete()}async create(e,i){await this.widget?.create(e,i)}async delete(){this.widget?.delete()}async destroy(){await this.manager.destroy()}async duplicate(){this.widget?.duplicate()}async redo(){this.widget?.redo()}async triggerUpdate(e,i){this.widget?.update(e,i)}async undo(){this.widget?.undo()}_arcgisReadyHandler(){this.defaultGraphicsLayerDisabled||this.el.view?.map.add(this.widget.layer)}async _editConstructorProperties(e){return this.defaultGraphicsLayerDisabled||(e.layer??=await r({title:"Sketch Layer"})),e}};d("arcgis-sketch",s);export{s as ArcgisSketch};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
4
|
-
* v4.32.0-next.
|
|
4
|
+
* v4.32.0-next.73
|
|
5
5
|
*/
|
|
6
|
-
import{a as h}from"./
|
|
6
|
+
import{a as h}from"./IKZMO6ZV.js";import"./T2PR6S6N.js";import{s as r}from"./UMY4XCNK.js";import"./URISU6GT.js";import{A as o,B as n,G as a,f as i,q as e,r as s}from"./DCILFCER.js";var c=s`arcgis-coordinate-conversion{display:block}`,g=h(r),t=class extends n{constructor(){super(...arguments),this.widget=g(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.conversions=this.widget.conversions,this.currentLocation=this.widget.currentLocation,this.formats=this.widget.formats,this.headingLevel=this.widget.headingLevel,this.hideCaptureButton=this.widget.visibleElements.captureButton,this.hideEditButton=this.widget.visibleElements.editButton,this.hideExpandButton=this.widget.visibleElements.expandButton,this.hideSettingsButton=this.widget.visibleElements.settingsButton,this.icon=this.widget.icon,this.label=this.widget.label,this.locationSymbol=this.widget.locationSymbol,this.mode=this.widget.mode,this.multipleConversionsDisabled=this.widget.multipleConversions,this.orientation=this.widget.orientation,this.position="bottom-left",this.state=this.viewModel.state,this.storageDisabled=this.widget.storageEnabled,this.storageType=this.widget.storageType,this.arcgisPropertyChange=e()("currentLocation","state"),this.arcgisReady=o()}static{this.properties={autoDestroyDisabled:5,conversions:0,currentLocation:0,formats:0,headingLevel:9,hideCaptureButton:5,hideEditButton:5,hideExpandButton:5,hideSettingsButton:5,icon:1,label:1,locationSymbol:0,mode:1,multipleConversionsDisabled:5,orientation:1,position:1,referenceElement:1,state:3,storageDisabled:5,storageType:1}}static{this.shadowRootOptions=i}static{this.styles=c}async destroy(){await this.manager.destroy()}async reverseConvert(d,l){return await this.widget?.reverseConvert(d,l)}};a("arcgis-coordinate-conversion",t);export{t as ArcgisCoordinateConversion};
|
|
@@ -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.73
|
|
5
5
|
*/
|
|
6
|
-
import{a as c}from"./
|
|
6
|
+
import{a as c}from"./IKZMO6ZV.js";import{d as t}from"./T2PR6S6N.js";import{fa as r}from"./UMY4XCNK.js";import"./URISU6GT.js";import{A as o,B as h,G as n,f as s,q as e,r as a}from"./DCILFCER.js";var l=a`arcgis-value-picker{display:block}`,p=c(r),i=class extends h{constructor(){super(...arguments),this.widget=p(this),this.autoDestroyDisabled=!1,this.canNext=this.widget.canNext,this.canPlay=this.widget.canPlay,this.canPrevious=this.widget.canPrevious,this.caption=this.widget.caption,this.component=this.widget.component,this.hideNextButton=this.widget.visibleElements.nextButton,this.hidePlayButton=this.widget.visibleElements.playButton,this.hidePreviousButton=this.widget.visibleElements.previousButton,this.icon=this.widget.icon,this.label=this.widget.label,this.layout=this.widget.layout,this.loop=this.widget.loop,this.playRate=this.widget.playRate,this.position="bottom-left",this.values=this.widget.values,this.arcgisAnimate=t(()=>this.widget,"animate"),this.arcgisNext=t(()=>this.widget,"next"),this.arcgisPause=t(()=>this.widget,"pause"),this.arcgisPlay=t(()=>this.widget,"play"),this.arcgisPrevious=t(()=>this.widget,"previous"),this.arcgisPropertyChange=e()("values"),this.arcgisReady=o()}static{this.properties={autoDestroyDisabled:5,canNext:7,canPlay:7,canPrevious:7,caption:1,component:0,hideNextButton:5,hidePlayButton:5,hidePreviousButton:5,icon:1,label:1,layout:1,loop:5,playRate:9,position:1,referenceElement:1,values:0}}static{this.shadowRootOptions=s}static{this.styles=l}async destroy(){await this.manager.destroy()}async next(){this.widget?.next()}async pause(){this.widget?.pause()}async play(){this.widget?.play()}async previous(){this.widget?.previous()}};n("arcgis-value-picker",i);export{i as ArcgisValuePicker};
|
|
@@ -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.73
|
|
5
5
|
*/
|
|
6
|
-
import{a as h}from"./
|
|
6
|
+
import{a as h}from"./IKZMO6ZV.js";import"./T2PR6S6N.js";import{I as n}from"./UMY4XCNK.js";import"./URISU6GT.js";import{A as a,B as o,G as r,f as i,q as s,r as e}from"./DCILFCER.js";var d=e`arcgis-histogram{display:block}`,g=h(n),t=class extends o{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.icon=this.widget.icon,this.label=this.widget.label,this.labelFormatFunction=this.widget.labelFormatFunction,this.layout=this.widget.layout,this.max=this.widget.max,this.min=this.widget.min,this.position="bottom-left",this.state=this.widget.state,this.arcgisPropertyChange=s()("state"),this.arcgisReady=a()}static{this.properties={autoDestroyDisabled:5,average:9,barCreatedFunction:0,bins:0,dataLineCreatedFunction:0,dataLines:0,icon:1,label:1,labelFormatFunction:0,layout:1,max:9,min:9,position:1,referenceElement:1,state:3}}static{this.shadowRootOptions=i}static{this.styles=d}async destroy(){await this.manager.destroy()}};r("arcgis-histogram",t);export{t as ArcgisHistogram};
|
|
@@ -1,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.73
|
|
5
5
|
*/
|
|
6
|
-
import{a as h}from"./
|
|
6
|
+
import{a as h}from"./IKZMO6ZV.js";import"./T2PR6S6N.js";import{N as n}from"./UMY4XCNK.js";import"./URISU6GT.js";import{A as a,B as o,G as r,f as s,q as i,r as e}from"./DCILFCER.js";var l=e`arcgis-line-of-sight{display:block}`,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=i()("analysis","state"),this.arcgisReady=a()}static{this.properties={analysis:0,autoDestroyDisabled:5,icon:1,label:1,position:1,referenceElement:1,state:3}}static{this.shadowRootOptions=s}static{this.styles=l}async clear(){this.widget?.viewModel.clear()}async continue(){this.widget?.viewModel.continue()}async destroy(){await this.manager.destroy()}async start(){this.widget?.viewModel.start()}async stop(){this.widget?.viewModel.stop()}};r("arcgis-line-of-sight",t);export{t as ArcgisLineOfSight};
|
|
@@ -1,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.73
|
|
5
5
|
*/
|
|
6
|
-
import{v as c,w as A,x as d,y as _,z as v}from"./
|
|
6
|
+
import{v as c,w as A,x as d,y as _,z as v}from"./DCILFCER.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};
|
|
@@ -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.73
|
|
5
5
|
*/
|
|
6
|
-
import{a as C,b}from"./
|
|
6
|
+
import{a as C,b}from"./Y3TBTGHA.js";import{a as F,b as k}from"./FC5UZ7WC.js";import"./T2PR6S6N.js";import{ga as y,ja as P}from"./UMY4XCNK.js";import"./URISU6GT.js";import{A as w,B as L,C as S,G as _,f as u,o as V,r as E,s as h}from"./DCILFCER.js";var T=E`.initial-version-invalid-block{margin-bottom:1rem}.calcite-combobox-item{width:330px}.calcite-flow-widget{width:350px}calcite-block{margin:0}calcite-pagination{justify-content:center}`,x=k(y),M="map-components:version-management",I=class extends L{constructor(){super(...arguments),this.flowElement=C(),this.messages=F({blocking:!0}),this.reactiveUtils=V(P),this.viewModel=x(this),this._isInitialVersionInvalid=new Map,this._initialVersionInfos=[],this._showInvalidFeatureServiceNotice=!1,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={versionList:16,_showInvalidFeatureServiceNotice:16,allowEditingDisabled:5,autoDestroyDisabled:5,closable:7,initialVersionInfos:0,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=T}set initialVersionInfos(e){this._initialVersionInfos=e.map(t=>({...t,url:this._removeTrailingSlash(t.url)}))}get initialVersionInfos(){return this._initialVersionInfos}async destroy(){await this.manager.destroy()}async load(){let{once:e,watch:t}=this.reactiveUtils;e(()=>this.viewModel.state==="ready").then(()=>{this.initialVersionInfos.forEach(o=>{try{this._changeToInitialVersion(o)}catch(s){console.error(s)}})}),this.manager.onLifecycle(()=>[t(()=>this.viewModel.state,o=>{let{flowElement:{value:s},versionList:i}=this,n=s?.getElementsByTagName("arcgis-version-management-version-properties")[0];if(o==="disabled"&&s){n&&this._removeVersionPropertiesFlowItem(s),i&&this._removeVersionListFlowItem(s);return}i&&(i.versionListElementProps={...i.versionListElementProps,executionError:this.viewModel.executionError},i.versionListElementProps={...i.versionListElementProps,state:o}),n&&(n.versionPropertiesElementProps={...n.versionPropertiesElementProps,state:o})})])}_removeTrailingSlash(e){return e.replace(/\/+$/u,"")}_createVersionPropertiesFlowItem(e,t){let{closable:o,flowElement:{value:s},viewModel:i,viewModel:{state:n}}=this,r=document.createElement("arcgis-version-management-version-properties");return r.versionPropertiesElementProps={closable:o,currentUser:i.userLookup.get(e),hasAdvEditingUte:i.advancedEditingUserTypeExtensionLookup.get(e),isVersionAdministrator:i.versionAdministratorLookup.get(e),serviceUrl:e,state:n,strings:this.messages,versionInfo:t},r.selected=!0,r.showBackButton=!0,r.addEventListener("arcgisCreateVersion",a=>{let{createVersionParameters:v,switchToVersion:d}=a.detail;i.createVersion(v).then(async l=>{l&&this.arcgisVersioningStateChanged.emit({type:"version-created",versionIdentifier:l.versionIdentifier,versioningState:i.versioningStateLookup.get(e)}),d&&await this.viewModel.changeVersion(e,l.versionIdentifier.name,l.versionIdentifier.guid).then(g=>{g&&this.arcgisVersioningStateChanged.emit({type:"version-switched",versionIdentifier:l.versionIdentifier,versioningState:i.versioningStateLookup.get(e)})}),await this._refreshVersionList(e)}).finally(()=>{s&&this._removeVersionPropertiesFlowItem(s)})}),r.addEventListener("arcgisAlterVersion",async a=>{let{flowElement:{value:v}}=this,{alterVersionParameters:d}=a.detail;await i.alterVersion(d).then(async l=>{l&&this.arcgisVersioningStateChanged.emit({type:"version-changed",versionIdentifier:d.versionIdentifier,versioningState:i.versioningStateLookup.get(e)}),await this._refreshVersionList(e)}).finally(()=>{v&&this._removeVersionPropertiesFlowItem(v)})}),r.addEventListener("arcgisFlowItemBack",()=>{this._removeVersionPropertiesFlowItem(this.flowElement.value)}),r.addEventListener("calciteFlowItemBack",a=>{a.preventDefault(),this._removeVersionPropertiesFlowItem(this.flowElement.value),this.versionList&&(this.versionList.selected=!0)}),r.addEventListener("calciteFlowItemClose",()=>{this._handleFlowItemClose()}),r}_getLoadError(e){let{messages:t}=this;switch(e){case"no-feature-services":return t.loadErrors.noFeatureServices;case"no-view-property":return t.loadErrors.noViewProperty;default:return e}}_changeToInitialVersion(e){let{_isInitialVersionInvalid:t,viewModel:o}=this,{url:s,name:i}=e,n=o.versioningStateLookup.get(s);if(!n)throw this._showInvalidFeatureServiceNotice=!0,new Error(`${M} - no versioning state found for feature service ${s}`);let r=n?.versionInfos.find(d=>d.versionIdentifier.name===i);if(!r)throw t.set(s,!0),new Error(`${M} - version ${i} not found in the versioning state for feature service ${s}`);let a=r.versionIdentifier,v=n?.currentVersionInfo.versionIdentifier;a.guid!==v?.guid&&o.changeVersion(s,a.name,a.guid)}_handleFlowItemClose(){let e=document.querySelector("arcgis-version-management");e.parentElement?.removeChild(e)}async _handleNewVersionAction(e){let t=this._createVersionPropertiesFlowItem(e.detail.serviceUrl,void 0);this.flowElement.value?.appendChild(t),this.versionList&&(this.versionList.selected=!1)}async _handleManageVersionAction(e){let{actionType:t,serviceUrl:o,versionInfo:s}=e.detail,{viewModel:i,flowElement:n}=this;switch(t){case"changeVersion":{i.changeVersion(o,s.versionIdentifier.name,s.versionIdentifier.guid).then(r=>{r&&this.arcgisVersioningStateChanged.emit({type:"version-switched",versionIdentifier:s.versionIdentifier,versioningState:i.versioningStateLookup.get(o)});let{versionList:a}=this;a&&(a.versionListElementProps={...a.versionListElementProps,currentVersionIdentifier:i.versioningStateLookup.get(o).currentVersionInfo.versionIdentifier})});break}case"deleteVersion":{i.deleteVersion(o,s.versionIdentifier.name,s.versionIdentifier.guid).then(async r=>{r&&this.arcgisVersioningStateChanged.emit({type:"version-deleted",versionIdentifier:s.versionIdentifier,versioningState:i.versioningStateLookup.get(o)}),await this._refreshVersionList(o)});break}case"editVersion":{let r=this._createVersionPropertiesFlowItem(o,s);n.value?.appendChild(r),this.versionList&&(this.versionList.selected=!1);break}}}async _refreshVersionList(e){let{flowElement:{value:t},versionList:o,viewModel:s}=this;if(t){let i=await s.getVersionInfos(e),n=t.getElementsByTagName("arcgis-version-management-service-item");for(let r of n)r.serviceItemElementProps.serviceUrl===e&&(r.serviceItemElementProps={...r.serviceItemElementProps,versionInfos:i});o&&(o.versionListElementProps={...o.versionListElementProps,currentVersionIdentifier:s.versioningStateLookup.get(e).currentVersionInfo.versionIdentifier,versionInfos:i})}}_removeVersionListFlowItem(e){for(let t of e.childNodes)t.nodeName.toUpperCase()==="ARCGIS-VERSION-MANAGEMENT-VERSION-LIST"&&(e.removeChild(t),this.versionList=void 0),t.nodeName.toUpperCase()==="CALCITE-FLOW-ITEM"&&(t.hidden=!1)}_removeVersionPropertiesFlowItem(e){for(let t of e.childNodes)t.nodeName.toUpperCase()==="ARCGIS-VERSION-MANAGEMENT-VERSION-PROPERTIES"&&e.removeChild(t)}render(){let{allowEditingDisabled:e,closable:t,flowElement:{value:o},initialVersionInfos:s,_isInitialVersionInvalid:i,label:n,messages:r,mode:a,pageSize:v,versionList:d,viewModel:l,viewModel:{loadError:g,state:m}}=this,$=Array.from(l.serviceNameLookup,([c,f])=>({url:c,name:f})),N=m!=="disabled"?$.map(c=>{let f={allowEditing:!e,closable:t,currentUser:l.userLookup.get(c.url),currentVersionIdentifier:l.versioningStateLookup.get(c.url).currentVersionInfo.versionIdentifier,executionError:void 0,flowElement:o,hasAdvEditingUte:l.advancedEditingUserTypeExtensionLookup.get(c.url),heading:n,initialVersionInfos:s,isInitialVersionInvalid:i,isVersionAdministrator:l.versionAdministratorLookup.get(c.url),isVersioningApiAvailable:(l.serverVersionLookup.get(c.url)??0)>=11.2,mode:a,pageSize:v,serviceName:c.name,state:m,serviceUrl:c.url,strings:r,versionInfos:l.versioningStateLookup.get(c.url)?.versionInfos??[]};return h`<arcgis-version-management-service-item .serviceItemElementProps=${f} @arcgisGetVersions=${async p=>{await this._refreshVersionList(p.detail.serviceUrl)}} @arcgisFlowItemBack=${()=>{o&&(this._removeVersionListFlowItem(o),this.versionList=void 0)}} @arcgisFlowItemClose=${()=>{this._handleFlowItemClose()}} @arcgisManageVersion=${this._handleManageVersionAction} @arcgisNewVersion=${this._handleNewVersionAction} @arcgisCreateVersionList=${p=>{this.versionList=p.detail}}></arcgis-version-management-service-item>`}):void 0,A=m==="disabled"?h`<calcite-notice class="notice" kind=warning open scale=s slot=footer width=full><div slot=message>${this._getLoadError(g)}</div></calcite-notice>`:void 0,U=this._showInvalidFeatureServiceNotice?h`<calcite-notice closable kind=warning open scale=s slot=content-top width=full icon @calciteNoticeClose=${()=>this._showInvalidFeatureServiceNotice=!1}><div slot=title>${r.headers.invalidInitialFeatureService}</div><div slot=message>${r.loadErrors.invalidInitialFeatureService}</div></calcite-notice>`:void 0;return h`<calcite-flow custom-item-selectors="arcgis-version-management-version-list, arcgis-version-management-version-properties" class=${S(this.mode==="dialog"?"":"calcite-flow-widget")} ${b(this.flowElement)}><calcite-flow-item .closable=${this.closable} .heading=${n??void 0} @calciteFlowItemClose=${()=>{this._handleFlowItemClose()}} .selected=${!d}>${U}<calcite-panel .loading=${m==="loading"||m==="executing"}>${N}${A}</calcite-panel></calcite-flow-item></calcite-flow>`}};_("arcgis-version-management",I);export{I as ArcgisVersionManagement};
|
|
@@ -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.73
|
|
5
5
|
*/
|
|
6
|
-
import{a as n}from"./
|
|
6
|
+
import{a as n}from"./IKZMO6ZV.js";import"./T2PR6S6N.js";import{k as h}from"./UMY4XCNK.js";import"./URISU6GT.js";import{A as a,B as d,G as o,f as i,q as e,r as s}from"./DCILFCER.js";var r=s`arcgis-attachments{display:block}`,l=n(h),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=e()("submitting","state"),this.arcgisReady=a()}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=i}static{this.styles=r}async destroy(){await this.manager.destroy()}};o("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.73
|
|
5
5
|
*/
|
|
6
|
-
import{b as x}from"./
|
|
6
|
+
import{b as x}from"./Y3TBTGHA.js";import{a as $}from"./EMXIMQUA.js";import{a as D,b as S}from"./FC5UZ7WC.js";import"./T2PR6S6N.js";import{T as B,ja as U,ka as R,ma as M}from"./UMY4XCNK.js";import"./URISU6GT.js";import{A as g,B as y,C as i,D as v,G as L,a as d,f as w,o as p,s as c}from"./DCILFCER.js";var a="esri-scale-bar",t={base:a,labelContainer:`${a}__label-container`,rulerLabelContainer:`${a}__label-container--ruler`,lineLabelContainer:`${a}__label-container--line`,topLabelContainer:`${a}__label-container--top`,bottomLabelContainer:`${a}__label-container--bottom`,label:`${a}__label`,line:`${a}__line`,topLine:`${a}__line--top`,bottomLine:`${a}__line--bottom`,ruler:`${a}__ruler`,rulerBlock:`${a}__ruler-block`,barContainer:`${a}__bar-container`,rulerBarContainer:`${a}__bar-container--ruler`,lineBarContainer:`${a}__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(R),this.messages=D(),this.reactiveUtils=p(U),this._scaleComputedFrom=k(),this.unitUtils=p(M),this.viewModel=O(this),this.autoDestroyDisabled=!1,this.barStyle="line",this.icon="actual-size",this.position="top-left",this.arcgisReady=g()}static{this.properties={autoDestroyDisabled:5,barStyle:1,icon:3,label:1,messageOverrides:0,position:3,referenceElement:1,unit:1}}static{this.shadowRootOptions=w}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()}))}_handleContainerRef(e){e!==void 0&&this._handleRootCreateOrUpdate()}_handleRootCreateOrUpdate(){if(!this.viewModel)return;let e=this._scaleComputedFrom,r=this.el.getBoundingClientRect(),o=r.left+window.pageXOffset,n=r.top+window.pageYOffset,s=k(o,n);(s.x!==e.x||s.y!==e.y)&&(this._scaleComputedFrom=s)}_formatDistance(e,r){return this.intlUtils.formatNumber(e,{style:"unit",unit:r,unitDisplay:"short"})}render(){let e=this.viewModel.state==="disabled",r={[$.disabled]:e},o,n;if(!e){let{unit:s,barStyle:u}=this,b=s==="imperial"||s==="dual",_=s==="metric"||s==="dual",h=100,m=s==="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=${i(d(t.base,$.widget,r))} ${x(this._handleContainerRef)}>${o}${n}</div>`}_renderRuler(e){let{length:r,unit:o,value:n}=e,s=Math.round(r),u=this._formatDistance(n,o);return c`<div class=${i(d(t.barContainer,t.rulerBarContainer))}><div class=${i(t.ruler)} style=${v({width:`${s}px`})}><div class=${i(t.rulerBlock)}></div><div class=${i(t.rulerBlock)}></div><div class=${i(t.rulerBlock)}></div><div class=${i(t.rulerBlock)}></div></div><div class=${i(d(t.labelContainer,t.rulerLabelContainer))}><div class=${i(t.label)}>0</div><div class=${i(t.label)}>${u}</div></div></div>`}_renderLine(e,r){let{length:o,unit:n,value:s}=e,u=Math.round(o),b=this._formatDistance(s,n),_={[t.topLabelContainer]:r==="top",[t.bottomLabelContainer]:r==="bottom"},h=c`<div class=${i(d(t.labelContainer,t.lineLabelContainer,_))}><div class=${i(t.label)}>${b}</div></div>`,m={[t.topLine]:r==="top",[t.bottomLine]:r==="bottom"},l=c`<div class=${i(d(t.line,m))} style=${v({width:`${u}px`})}></div>`;return c`<div class=${i(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.73
|
|
5
5
|
*/
|
|
6
|
-
import{a as o}from"./
|
|
6
|
+
import{a as o}from"./EMXIMQUA.js";import{a as p,b as f}from"./FC5UZ7WC.js";import"./T2PR6S6N.js";import{H as g}from"./UMY4XCNK.js";import"./URISU6GT.js";import{A as d,B as m,C as i,E as h,G as u,a as r,f as l,q as n,r as c,s}from"./DCILFCER.js";var v=c`arcgis-fullscreen{display:block}`,M={base:"esri-fullscreen"},$=f(g),a=class extends m{constructor(){super(...arguments),this.messages=p(),this.viewModel=$(this),this.autoDestroyDisabled=!1,this.element=this.viewModel.element,this.icon="zoom-out-fixed",this.position="top-left",this.state=this.viewModel.state,this.arcgisPropertyChange=n()("state"),this.arcgisReady=d()}static{this.properties={autoDestroyDisabled:5,element:0,icon:3,label:1,messageOverrides:0,position:3,referenceElement:1,state:3}}static{this.shadowRootOptions=l}static{this.styles=v}get fullscreenTitle(){let e=this.viewModel?.state;return e==="active"?this.messages.exit:e==="ready"?this.messages.enter:""}async destroy(){await this.manager.destroy()}_toggle(){this.viewModel.toggle()}render(){let{fullscreenTitle:e,icon:w}=this,t=this.viewModel?.state,b=t==="feature-unsupported",y=t==="ready"||t==="disabled"||t==="feature-unsupported"?"zoom-out-fixed":"zoom-in-fixed";return s`<div class=${i(r(M.base,o.widget))}>${!b&&s`<calcite-button class=${i(o.widgetButton)} .disabled=${t==="disabled"} .iconStart=${w??y} kind=neutral .label=${e} @click=${this._toggle} title=${e??h}></calcite-button>`||""}</div>`}};u("arcgis-fullscreen",a);export{a as ArcgisFullscreen};
|
|
@@ -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.73
|
|
5
5
|
*/
|
|
6
|
-
import{c as w}from"./
|
|
6
|
+
import{c as w}from"./DCILFCER.js";function o(e){e.el.childElem?e.el.isConnected||(e.view?.ui?e.view.ui.remove(e.el.childElem):e.widget?.view&&e.widget.view.ui.remove(e.el.childElem),e._watchHandles&&e._watchHandles.forEach(d=>{d.remove()}),e._watchHandles=[],e.widget?.destroy()):w(()=>{e.el.isConnected||(e.view?.ui?e.view.ui.remove(e.el):e.widget?.view&&e.widget.view.ui.remove(e.el),e._watchHandles&&e._watchHandles.forEach(d=>{d.remove()}),e._watchHandles=[],e.widget?.destroy())},1e3)}export{o as a};
|