@arcgis/map-components 4.32.0-next.24 → 4.32.0-next.26
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/arcgis-map-components/{OWJANPVV.js → 23KDJYH7.js} +2 -2
- package/dist/arcgis-map-components/{2L6BFJCV.js → 27IHTV6E.js} +2 -2
- package/dist/arcgis-map-components/2EIJN2TL.js +6 -0
- package/dist/arcgis-map-components/{TTFHVBKJ.js → 2V3VVV5S.js} +2 -2
- package/dist/arcgis-map-components/{ANX6HA2W.js → 3DEIGEKN.js} +2 -2
- package/dist/arcgis-map-components/{M7EMJZKP.js → 3I2HCT2R.js} +2 -2
- package/dist/arcgis-map-components/{3Q2O3SKF.js → 3UT3XPXA.js} +2 -2
- package/dist/arcgis-map-components/{4QLOUXWR.js → 452FMJTO.js} +2 -2
- package/dist/arcgis-map-components/{2WO4N4ZF.js → 4ET7CTH7.js} +2 -2
- package/dist/arcgis-map-components/{B27ZOTKU.js → 4THQSOIR.js} +2 -2
- package/dist/arcgis-map-components/{3HZ55Q6R.js → 4YZTTEGW.js} +2 -2
- package/dist/arcgis-map-components/{D2W2OCKG.js → 5BQ466A7.js} +2 -2
- package/dist/arcgis-map-components/{J36IDVXY.js → 6AE3GT6Y.js} +2 -2
- package/dist/arcgis-map-components/{PFHS6QWD.js → 6HQLNWPI.js} +2 -2
- package/dist/arcgis-map-components/{GLR6EY3B.js → 6YVL26CG.js} +2 -2
- package/dist/arcgis-map-components/{FIEUUBMQ.js → 7VTHS4BA.js} +2 -2
- package/dist/arcgis-map-components/{RHM27UG7.js → AUVRERPA.js} +2 -2
- package/dist/arcgis-map-components/{D7Q2UEN2.js → BUC7M5YI.js} +2 -2
- package/dist/arcgis-map-components/{EC6WDPSQ.js → C3VXP4L2.js} +2 -2
- package/dist/arcgis-map-components/{AO3GR2N7.js → CFVKRSEJ.js} +2 -2
- package/dist/arcgis-map-components/{UL5NQOYB.js → CQHRFV6E.js} +2 -2
- package/dist/arcgis-map-components/{L6DN3YTM.js → DAIPNW3O.js} +1 -1
- package/dist/arcgis-map-components/{IDSFNKDO.js → DKMY2P2E.js} +2 -2
- package/dist/arcgis-map-components/{USMD2GOX.js → DMENYTNV.js} +2 -2
- package/dist/arcgis-map-components/{YUDSXC6A.js → DSEZSWHN.js} +1 -1
- package/dist/arcgis-map-components/{Y5S7GSFI.js → EMVSDDTM.js} +2 -2
- package/dist/arcgis-map-components/{DNC4SUVP.js → F6HNVTGI.js} +2 -2
- package/dist/arcgis-map-components/{FKFOF4NY.js → FD6BIE6M.js} +2 -2
- package/dist/arcgis-map-components/{RFGD5JHN.js → FQKWZSNN.js} +2 -2
- package/dist/arcgis-map-components/{FNAU225Z.js → FUCKEVD3.js} +2 -2
- package/dist/arcgis-map-components/{UEIYIBHW.js → FV56RNPI.js} +2 -2
- package/dist/arcgis-map-components/GNZE2DGU.js +6 -0
- package/dist/arcgis-map-components/{M3Q5Z7WY.js → H2TZY2VV.js} +2 -2
- package/dist/arcgis-map-components/{N3KPMAYI.js → HW4QWHBR.js} +1 -1
- package/dist/arcgis-map-components/{E4NRYVTI.js → IJDBU3S7.js} +2 -2
- package/dist/arcgis-map-components/{FPLCZLCE.js → JV4SE5OM.js} +2 -2
- package/dist/arcgis-map-components/{BSPAO6AD.js → LAGP5JGL.js} +2 -2
- package/dist/arcgis-map-components/{7GCG342D.js → LBY7XQC7.js} +2 -2
- package/dist/arcgis-map-components/{XQWKSS5C.js → LUHTHARI.js} +2 -2
- package/dist/arcgis-map-components/{FKRGXSGS.js → M4R43KTP.js} +2 -2
- package/dist/arcgis-map-components/{NYO5FHDX.js → MJ3IJZOE.js} +2 -2
- package/dist/arcgis-map-components/{JP2BLDGZ.js → MQOE4KAB.js} +2 -2
- package/dist/arcgis-map-components/{S3OT5UG7.js → O5S6SREX.js} +2 -2
- package/dist/arcgis-map-components/{TMHI4TXZ.js → OEDVM5Y5.js} +2 -2
- package/dist/arcgis-map-components/{WG3FSOO2.js → OK3KRFZE.js} +2 -2
- package/dist/arcgis-map-components/{L6C64KWI.js → OMKMDQVU.js} +2 -2
- package/dist/arcgis-map-components/{ONRRQDMM.js → OZMLTLCI.js} +2 -2
- package/dist/arcgis-map-components/{GNMHWBPG.js → P2DCI2IQ.js} +2 -2
- package/dist/arcgis-map-components/{66ZWGMGE.js → PGTBTDJB.js} +2 -2
- package/dist/arcgis-map-components/{O56APZFZ.js → PWSWFDX4.js} +2 -2
- package/dist/arcgis-map-components/{XQ5KG2NG.js → Q3J5HGOD.js} +2 -2
- package/dist/arcgis-map-components/{4QJLHNBS.js → QADIZOI6.js} +2 -2
- package/dist/arcgis-map-components/{NFE2UN4H.js → QUT53BI7.js} +2 -2
- package/dist/arcgis-map-components/{YZZMKHT7.js → QVR3HORJ.js} +2 -2
- package/dist/arcgis-map-components/{5WDCAVG4.js → RLLMG72A.js} +2 -2
- package/dist/arcgis-map-components/{6JSNTH6Y.js → SHDRFNK4.js} +2 -2
- package/dist/arcgis-map-components/{EK24BNZL.js → TAYNCOWH.js} +2 -2
- package/dist/arcgis-map-components/{UORIWMKY.js → TSXS3YV4.js} +2 -2
- package/dist/arcgis-map-components/{L4GRG5ZF.js → UE73XSE6.js} +2 -2
- package/dist/arcgis-map-components/{SIYXNYKW.js → UF55CRBP.js} +2 -2
- package/dist/arcgis-map-components/{IJOEY6EG.js → ULGOCLN5.js} +2 -2
- package/dist/arcgis-map-components/{THKVFDHM.js → VIF3P5DU.js} +2 -2
- package/dist/arcgis-map-components/{WTUJ6GYT.js → VMTZMQXQ.js} +2 -2
- package/dist/arcgis-map-components/{T4ENZBQZ.js → WKZY2E5U.js} +2 -2
- package/dist/arcgis-map-components/{JETEERKO.js → X665NUFT.js} +2 -2
- package/dist/arcgis-map-components/{PSVU65TR.js → XPJ4TUTS.js} +2 -2
- package/dist/arcgis-map-components/{PAJYGKRV.js → XX6GKTHC.js} +2 -2
- package/dist/arcgis-map-components/{EUAZ2OPO.js → Y4YFRAWA.js} +2 -2
- package/dist/arcgis-map-components/{NIRMKP6A.js → YWEXTOTP.js} +2 -2
- package/dist/arcgis-map-components/{CSHOPRBT.js → Z7MV4YGG.js} +2 -2
- package/dist/arcgis-map-components/{VTW53PLJ.js → ZD6RCDUN.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/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.d.ts +19 -0
- 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.d.ts +6 -1
- package/dist/components/arcgis-map/customElement.js +8 -8
- 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.d.ts +8 -1
- package/dist/components/arcgis-scene/customElement.js +7 -7
- 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 +107 -66
- package/dist/docs/docs.json +55 -10
- package/dist/docs/vscode.html-custom-data.json +4 -1
- package/dist/docs/web-types.json +23 -7
- package/dist/index.d.ts +61 -3
- package/dist/index.js +1 -1
- package/dist/loader.js +3 -3
- package/dist/types/lumina.d.ts +6 -5
- package/dist/types/preact.d.ts +5 -5
- package/dist/types/react.d.ts +6 -6
- package/dist/types/stencil.d.ts +5 -4
- package/package.json +5 -5
- package/dist/arcgis-map-components/ECYNZYQG.js +0 -6
- package/dist/arcgis-map-components/HPI43ZI6.js +0 -6
@@ -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.26
|
5
5
|
*/
|
6
|
-
import{a as c}from"./
|
6
|
+
import{a as c}from"./MQOE4KAB.js";import"./O5S6SREX.js";import{U as o}from"./7VTHS4BA.js";import"./DSEZSWHN.js";import{A as a,B as l,G as n,f as i,q as t,r as s}from"./DAIPNW3O.js";var r=s`arcgis-scale-range-slider{display:block}`,h=c(o),e=class extends l{constructor(){super(...arguments),this.widget=h(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.disabled=this.widget.disabled,this.hidePreview=this.widget.visibleElements.preview,this.hideScaleMenusMaxScaleMenu=this.widget.visibleElements.scaleMenus.maxScaleMenu,this.hideScaleMenusMinScaleMenu=this.widget.visibleElements.scaleMenus.minScaleMenu,this.icon=this.widget.icon,this.label=this.widget.label,this.layer=this.widget.layer,this.maxScale=this.widget.maxScale,this.maxScaleLimit=this.widget.maxScaleLimit,this.minScale=this.widget.minScale,this.minScaleLimit=this.widget.minScaleLimit,this.mode=this.widget.mode,this.position="bottom-left",this.region=this.widget.region,this.state=this.viewModel.state,this.arcgisPropertyChange=t()("state","minScale","maxScale"),this.arcgisReady=a()}static{this.properties={autoDestroyDisabled:5,disabled:7,hidePreview:5,hideScaleMenusMaxScaleMenu:5,hideScaleMenusMinScaleMenu:5,icon:1,label:1,layer:0,maxScale:9,maxScaleLimit:9,minScale:9,minScaleLimit:9,mode:1,position:1,referenceElement:1,region:1,state:3}}static{this.shadowRootOptions=i}static{this.styles=r}async destroy(){await this.manager.destroy()}};n("arcgis-scale-range-slider",e);export{e as ArcgisScaleRangeSlider};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/*!
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
3
3
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
4
|
-
* v4.32.0-next.
|
4
|
+
* v4.32.0-next.26
|
5
5
|
*/
|
6
|
-
import{a as r}from"./
|
6
|
+
import{a as r}from"./MQOE4KAB.js";import"./O5S6SREX.js";import{G as l}from"./7VTHS4BA.js";import"./DSEZSWHN.js";import{A as s,B as o,G as a,f as i,r as e}from"./DAIPNW3O.js";var n=e`arcgis-floor-filter{display:block}`,c=r(l),t=class extends o{constructor(){super(...arguments),this.widget=c(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.facility=this.widget.facility,this.headingLevel=this.widget.headingLevel,this.icon=this.widget.icon,this.label=this.widget.label,this.level=this.widget.level,this.longNames=this.widget.longNames,this.position="bottom-left",this.site=this.widget.site,this.arcgisReady=s()}static{this.properties={autoDestroyDisabled:5,facility:3,headingLevel:9,icon:1,label:1,level:3,longNames:5,position:1,referenceElement:1,site:3}}static{this.shadowRootOptions=i}static{this.styles=n}async destroy(){await this.manager.destroy()}async updateWebDocument(h){this.widget?.updateWebDocument(h)}};a("arcgis-floor-filter",t);export{t as ArcgisFloorFilter};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/*!
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
3
3
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
4
|
-
* v4.32.0-next.
|
4
|
+
* v4.32.0-next.26
|
5
5
|
*/
|
6
|
-
import{a as u}from"./
|
6
|
+
import{a as u}from"./HW4QWHBR.js";import{a as G,b as K}from"./FD6BIE6M.js";import"./O5S6SREX.js";import{ja as k,l as E,la as T}from"./7VTHS4BA.js";import"./DSEZSWHN.js";import{A as L,B as R,C as m,D,E as h,G as U,H as A,a as b,f as B,o as w,q as S,r as x,s as n,t as C,u as I}from"./DAIPNW3O.js";var P=Symbol.for(""),F=t=>{if(t?.r===P)return t?._$litStatic$},V=t=>({_$litStatic$:t,r:P});var O=new Map,y=t=>(e,...a)=>{let s=a.length,i,r,o=[],$=[],p,d=0,v=!1;for(;d<s;){for(p=e[d];d<s&&(r=a[d],(i=F(r))!==void 0);)p+=i+e[++d],v=!0;d!==s&&$.push(r),o.push(p),d++}if(d===s&&o.push(e[s]),v){let g=o.join("$$lit$$");(e=O.get(g))===void 0&&(o.raw=o,O.set(g,e=o)),a=$}return t(e,...a)},W=y(n),ie=y(C),re=y(I);var c="esri-basemap-gallery",l={base:c,sourceLoading:`${c}--source-loading`,layoutGrid:`${c}--grid`,narrowItems:`${c}--narrow-items`,loader:`${c}__loader`,item:`${c}__item`,itemContainer:`${c}__item-container`,itemContent:`${c}__item-content`,itemTitle:`${c}__item-title`,itemTagsContainer:`${c}__item-tags-container`,itemThumbnail:`${c}__item-thumbnail`,selectedItem:`${c}__item--selected`,itemError:`${c}__item--error`};function J(t){return t.portalItem?.type==="Web Scene"||t.referenceLayers.some(e=>e.type==="scene")}function N(t){return!!t?.portalItem?.tags?.some(e=>e.toLowerCase()==="beta")}function j({disabled:t,item:e,itemIndex:a,viewModel:s,messages:i,state:r}){let o=e.basemap.thumbnailUrl||A("assets/basemap-gallery/images/basemap-toggle-64.svg"),$=e.basemap.title,p=e.basemap.portalItem?.snippet,d=e.error?.message||p||$,{activeBasemapIndex:v}=s,g=v===a,q=g||v===-1&&a===0?0:-1,z={[l.selectedItem]:g,[l.itemError]:e.state==="error"},M=`basemapgallery-item-${e.uid}`;return n`<div .ariaChecked=${g} .ariaDisabled=${t} aria-labelledby=${M??h} class=${m(b(l.item,z))} data-item=${e??h} data-basemap=${e.basemap.id??h} role=radio tabindex=${q??h} title=${d??h} @click=${()=>{e.state==="ready"&&(s.activeBasemap=e.basemap)}}><img alt class=${m(l.itemThumbnail)} src=${o??h}><div class=${m(l.itemContent)}><div class=${m(l.itemTitle)}><span id=${M??h}>${$}</span></div>${J(e.basemap)?Q(e.basemap,i):null}</div>${r==="ready"?null:n`<calcite-scrim><span aria-hidden=true class=${m(u.loaderAnimation)} role=presentation></span></calcite-scrim>`}</div>`}function Q(t,e){return n`<div class=${m(l.itemTagsContainer)}>${X(e)}${N(t)?Y(e):null}</div>`}function X(t){return n`<calcite-chip scale=s .value=${t.tag3D}>${t.tag3D}</calcite-chip>`}function Y(t){return n`<calcite-chip appearance=outline-fill scale=s .value=${t.tagBeta}>${t.tagBeta}</calcite-chip>`}function Z({level:t,class:e,children:a}){let s=ee(t),i=`h${s}`,r=V(i);return W`<${r} .ariaLevel=${String(s)} class=${m(b(u.heading,e))} role=heading>${a}</${r}>`}function H(t,e,a){return Math.min(Math.max(t,e),a)}function ee(t){return H(Math.ceil(t),1,6)}var te=x`arcgis-basemap-gallery{display:block}`,ae=K(E),f={small:200,default:280,wide:420},_=class extends R{constructor(){super(...arguments),this.messages=G({}),this.viewModel=ae(this),this.basemapUtils=w(T),this.reactiveUtils=w(k),this.activeBasemap=this.viewModel.activeBasemap,this.autoDestroyDisabled=!1,this.disabled=!1,this.headingLevel=2,this.icon="basemap",this.label="",this.position="bottom-left",this.source=this.viewModel.source,this.state=this.viewModel.state,this._width=0,this._state="",this._itemsState="",this.arcgisPropertyChange=S()("activeBasemap","state"),this.arcgisReady=L()}static{this.properties={activeBasemap:0,autoDestroyDisabled:5,disabled:7,headingLevel:9,icon:1,label:1,position:1,referenceElement:1,source:0,state:3,_width:16,_state:16,_itemsState:16}}static{this.shadowRootOptions=B}static{this.styles=te}async destroy(){await this.manager.destroy()}loaded(){this.manager.onLifecycle(()=>[this.reactiveUtils.when(()=>this.source,()=>{this.viewModel.loadSource()},{sync:!0,initial:!0}),this.reactiveUtils.watch(()=>this.source.state,()=>{this._state=this.source.state},{sync:!0}),this.reactiveUtils.watch(()=>this.viewModel.items.filter(s=>s.state!=="ready").length,s=>{this._itemsState=s>0?"loading":"ready"},{sync:!0}),this.reactiveUtils.watch(()=>this.viewModel.activeBasemap,()=>{this.el.childElem?.querySelector(`[data-basemap="${this.viewModel.activeBasemap.id}"]`)?.focus()},{sync:!0})]);let e=new ResizeObserver(s=>{for(let i of s)this._width=i.contentRect.width}),a=this.el.childElem;a&&e.observe(a)}render(){let e=this.source.state==="loading",a=this.disabled||this.state==="disabled",s=this.viewModel.items,i={[l.sourceLoading]:e,[u.disabled]:a,"esri-component":!0},r=this._width;r<=f.small||r>=f.wide?i[l.layoutGrid]=!0:r<f.default&&(i[l.narrowItems]=!0);let o=e?n`<div class=${m(l.loader)}></div>`:null,$=e?null:s.length>0?n`<div aria-disabled=${this.disabled??h} aria-label=${this.label??h} class=${m(l.itemContainer)} @keydown=${this._handleKeyDown} role=radiogroup>${s.map((p,d)=>j({disabled:a,item:p,itemIndex:d,viewModel:this.viewModel,messages:this.messages,state:p.state}))}</div>`:n`<div class=${m(u.empty)}>${Z({level:this.headingLevel,children:this.messages.noBasemaps})}</div>`;return n`<div class=${m(b(l.base,u.widget,u.panel,i))} style=${D({"--esri-basemap-gallery-small":`${f.small}px`})}>${[o,$]}</div>`}_getRoundRobinIndex(e,a){return(e+a)%a}_handleKeyDown(e){let{key:a}=e;if(!["ArrowUp","ArrowDown","ArrowRight","ArrowLeft"].includes(a))return;e.preventDefault();let{items:s,activeBasemapIndex:i}=this.viewModel,r=a==="ArrowUp"||a==="ArrowLeft"?this._getRoundRobinIndex(Math.max(i-1,-1),s.length):this._getRoundRobinIndex(i+1,s.length),o=s.at(r);o?.state==="ready"&&(this.viewModel.activeBasemap=o.basemap)}};U("arcgis-basemap-gallery",_);export{_ as ArcgisBasemapGallery};
|
@@ -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.26
|
5
5
|
*/
|
6
|
-
import{a as m}from"./
|
6
|
+
import{a as m}from"./MQOE4KAB.js";import{d as n}from"./O5S6SREX.js";import{$ as r}from"./7VTHS4BA.js";import"./DSEZSWHN.js";import{A as l,B as a,G as o,f as e,q as i,r as s}from"./DAIPNW3O.js";var d=s`arcgis-table-list{display:block}`,h=m(r),t=class extends a{constructor(){super(...arguments),this.widget=h(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.collapsed=this.widget.collapsed,this.dragEnabled=this.widget.dragEnabled,this.filterPlaceholder=this.widget.filterPlaceholder,this.filterText=this.widget.filterText,this.icon=this.widget.icon,this.label=this.widget.label,this.listItemCreatedFunction=this.widget.listItemCreatedFunction,this.minDragEnabledItems=this.widget.minDragEnabledItems,this.minFilterItems=this.widget.minFilterItems,this.position="bottom-left",this.selectedItems=this.widget.selectedItems,this.selectionMode=this.widget.selectionMode,this.state=this.viewModel.state,this.visibleElementsCloseButton=!1,this.visibleElementsCollapseButton=!1,this.visibleElementsErrors=!1,this.visibleElementsFilter=!1,this.visibleElementsFlow=!0,this.visibleElementsHeading=!1,this.visibleElementsStatusIndicators=!0,this.visibleElementsTemporaryTableIndicators=!1,this.arcgisPropertyChange=i()("state"),this.arcgisReady=l(),this.arcgisTriggerAction=n(()=>this.widget,"trigger-action")}static{this.properties={autoDestroyDisabled:5,collapsed:7,dragEnabled:5,filterPlaceholder:1,filterText:1,icon:1,label:1,listItemCreatedFunction:0,minDragEnabledItems:9,minFilterItems:9,position:1,referenceElement:1,selectedItems:0,selectionMode:1,state:3,tableItems:32,visibleElementsCloseButton:5,visibleElementsCollapseButton:5,visibleElementsErrors:5,visibleElementsFilter:5,visibleElementsFlow:5,visibleElementsHeading:5,visibleElementsStatusIndicators:5,visibleElementsTemporaryTableIndicators:5}}static{this.shadowRootOptions=e}static{this.styles=d}get tableItems(){return this.widget.tableItems}async destroy(){await this.manager.destroy()}};o("arcgis-table-list",t);export{t as ArcgisTableList};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/*!
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
3
3
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
4
|
-
* v4.32.0-next.
|
4
|
+
* v4.32.0-next.26
|
5
5
|
*/
|
6
|
-
import{a as u}from"./
|
6
|
+
import{a as u}from"./MQOE4KAB.js";import{d as i}from"./O5S6SREX.js";import{E as c,b as n}from"./7VTHS4BA.js";import{d as m}from"./DSEZSWHN.js";import{A as l,B as r,G as g,f as h,q as d,r as a}from"./DAIPNW3O.js";var w=a`arcgis-feature-table{display:block}.arcgis-feature-table{width:100%;height:100%}`,b=u(c),o=class extends r{constructor(){super(...arguments),this.widget=b(this),this.viewModel=this.widget.viewModel,this.attributeTableTemplate=this.widget.attributeTableTemplate,this.actionColumnConfig=this.widget.actionColumnConfig,this.activeFilters=this.widget.activeFilters,this.activeSortOrders=this.widget.activeSortOrders,this.allRelatedTablesVisible=this.widget.allRelatedTablesVisible,this.attachmentsEnabled=this.widget.attachmentsEnabled,this.autoDestroyDisabled=!1,this.autoRefreshDisabled=this.widget.autoRefreshEnabled,this.columnReorderingDisabled=this.widget.columnReorderingEnabled,this.columns=this.widget.columns,this.description=this.widget.description,this.editingEnabled=this.widget.editingEnabled,this.effectiveSize=this.widget.effectiveSize,this.filterBySelectionEnabled=this.widget.filterBySelectionEnabled,this.filterGeometry=this.widget.filterGeometry,this.hideColumnDescriptions=this.widget.visibleElements.columnDescriptions,this.hiddenFields=this.widget.hiddenFields,this.hideColumnMenuItemsSortAscending=this.widget.visibleElements.columnMenuItems.sortAscending,this.hideColumnMenuItemsSortDescending=this.widget.visibleElements.columnMenuItems.sortDescending,this.hideColumnMenus=this.widget.visibleElements.columnMenus,this.hideHeader=this.widget.visibleElements.header,this.hideMenu=this.widget.visibleElements.menu,this.hideMenuItemsClearSelection=this.widget.visibleElements.menuItems.clearSelection,this.hideMenuItemsDeleteSelection=this.widget.visibleElements.menuItems.deleteSelection,this.hideMenuItemsExportSelectionToCsv=this.widget.visibleElements.menuItems.exportSelectionToCSV,this.hideMenuItemsRefreshData=this.widget.visibleElements.menuItems.refreshData,this.hideMenuItemsSelectedRecordsShowAllToggle=this.widget.visibleElements.menuItems.selectedRecordsShowAllToggle,this.hideMenuItemsSelectedRecordsShowSelectedToggle=this.widget.visibleElements.menuItems.selectedRecordsShowSelectedToggle,this.hideMenuItemsToggleColumns=this.widget.visibleElements.menuItems.toggleColumns,this.hideMenuItemsZoomToSelection=this.widget.visibleElements.menuItems.zoomToSelection,this.hideProgress=this.widget.visibleElements.progress,this.hideSelectionColumn=this.widget.visibleElements.selectionColumn,this.hideTooltips=this.widget.visibleElements.tooltips,this.highlightDisabled=this.widget.highlightEnabled,this.highlightIds=this.widget.highlightIds,this.initialSize=this.widget.initialSize,this.icon=this.widget.icon,this.isQueryingOrSyncing=this.widget.isQueryingOrSyncing,this.label=this.widget.label,this.layer=this.widget.layer,this.layerView=this.widget.layerView,this.layers=this.widget.layers,this.maxSize=this.widget.maxSize,this.menuConfig=this.widget.menuConfig,this.multipleSelectionDisabled=this.widget.multipleSelectionEnabled,this.multipleSortEnabled=this.widget.multiSortEnabled,this.objectIds=this.widget.objectIds,this.outFields=this.widget.outFields,this.pageCount=this.widget.pageCount,this.pageIndex=this.widget.pageIndex,this.pageSize=this.widget.pageSize,this.paginationEnabled=this.widget.paginationEnabled,this.position="manual",this.relatedRecordsEnabled=this.widget.relatedRecordsEnabled,this.relatedTable=this.widget.relatedTable,this.relatedTables=this.widget.relatedTables,this.returnGeometryEnabled=this.widget.returnGeometryEnabled,this.returnMEnabled=this.widget.returnMEnabled,this.returnZEnabled=this.widget.returnZEnabled,this.rowHighlightIds=this.widget.rowHighlightIds,this.size=this.widget.size,this.showLayerDropdown=this.widget.visibleElements.layerDropdown,this.state=this.widget.state,this.tableController=this.widget.tableController,this.tableDisabled=this.widget.disabled,this.tableParent=this.widget.tableParent,this.tableTemplate=this.widget.tableTemplate,this.timeExtent=this.widget.timeExtent,this.timeZone=this.widget.timeZone,this.arcgisCellClick=i(()=>this.widget,"cell-click"),this.arcgisCellKeydown=i(()=>this.widget,"cell-keydown"),this.arcgisCellPointerout=i(()=>this.widget,"cell-pointerout"),this.arcgisCellPointerover=i(()=>this.widget,"cell-pointerover"),this.arcgisColumnReorder=i(()=>this.widget,"column-reorder"),this.arcgisPropertyChange=d()("effectiveSize","isQueryingOrSyncing","layerView","size","state"),this.arcgisReady=l(),this.arcgisSelectionChange=l()}static{this.properties={attributeTableTemplate:0,actionColumnConfig:0,activeFilters:0,activeSortOrders:0,allRelatedTablesVisible:0,attachmentsEnabled:5,autoDestroyDisabled:5,autoRefreshDisabled:5,columnReorderingDisabled:5,columns:0,description:1,editingEnabled:5,effectiveSize:0,filterBySelectionEnabled:5,filterGeometry:0,hideColumnDescriptions:5,hiddenFields:0,hideColumnMenuItemsSortAscending:5,hideColumnMenuItemsSortDescending:5,hideColumnMenus:5,hideHeader:5,hideMenu:5,hideMenuItemsClearSelection:5,hideMenuItemsDeleteSelection:5,hideMenuItemsExportSelectionToCsv:5,hideMenuItemsRefreshData:5,hideMenuItemsSelectedRecordsShowAllToggle:5,hideMenuItemsSelectedRecordsShowSelectedToggle:5,hideMenuItemsToggleColumns:5,hideMenuItemsZoomToSelection:5,hideProgress:5,hideSelectionColumn:5,hideTooltips:5,highlightDisabled:5,highlightIds:0,initialSize:9,icon:1,isQueryingOrSyncing:0,label:1,layer:0,layerItemId:1,layerUrl:1,layerView:0,layers:0,maxSize:9,menuConfig:0,multipleSelectionDisabled:5,multipleSortEnabled:5,objectIds:0,outFields:0,pageCount:8,pageIndex:9,pageSize:9,paginationEnabled:5,position:1,referenceElement:1,relatedRecordsEnabled:5,relatedTable:0,relatedTables:0,returnGeometryEnabled:5,returnMEnabled:5,returnZEnabled:5,rowHighlightIds:0,size:0,showLayerDropdown:5,state:3,tableController:0,tableDisabled:5,tableParent:0,tableTemplate:0,timeExtent:0,timeZone:1}}static{this.shadowRootOptions=h}static{this.styles=w}async deleteSelection(e){await this.widget?.deleteSelection(e)}async destroy(){await this.manager.destroy()}async exportSelectionToCSV(e){await this.widget?.exportSelectionToCSV(e)}async findColumn(e){return this.widget?.findColumn(e)}async goToPage(e){this.widget.goToPage(e)}async hideColumn(e){this.widget?.hideColumn(e)}async nextPage(){this.widget.nextPage()}async previousPage(){this.widget.previousPage()}async refresh(){await this.widget?.refresh()}async scrollToBottom(){this.widget.scrollToBottom()}async scrollToIndex(e){this.widget?.scrollToIndex(e)}async scrollToLeft(){this.widget.scrollLeft()}async scrollToRow(e){this.widget?.scrollToRow(e)}async scrollToTop(){this.widget.scrollToTop()}async showAllColumns(){this.widget?.showAllColumns()}async showColumn(e){this.widget?.showColumn(e)}async sortColumn(e,t){this.widget?.sortColumn(e,t)}async zoomToSelection(){this.widget?.zoomToSelection()}load(){this.manager.onLifecycle(()=>this.widget.highlightIds.on("change",this.arcgisSelectionChange.emit))}willUpdate(e){if(e.has("layerItemId")&&(m(this.layerItemId)?this.layer=null:this.layerItemId&&n().then(async t=>await t.fromPortalItem({portalItem:{id:this.layerItemId}})).then(t=>{this.layer=t}).catch(console.error)),e.has("layerUrl")){let t=this.layerUrl;t?n().then(s=>s.fromArcGISServerUrl({url:t})).then(s=>{this.layer=s}).catch(console.error):this.layer=null}}loaded(){this.el.childElem?.classList.add("arcgis-feature-table")}};g("arcgis-feature-table",o);export{o as ArcgisFeatureTable};
|
@@ -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.26
|
5
5
|
*/
|
6
|
-
import{a as b,b as y}from"./
|
6
|
+
import{a as b,b as y}from"./YWEXTOTP.js";import{a as s}from"./HW4QWHBR.js";import{a as w,b as f}from"./FD6BIE6M.js";import{d as u}from"./O5S6SREX.js";import{K as v}from"./7VTHS4BA.js";import"./DSEZSWHN.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"./DAIPNW3O.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.26
|
5
5
|
*/
|
6
|
-
import{a as p}from"./
|
6
|
+
import{a as p}from"./MQOE4KAB.js";import{d as t}from"./O5S6SREX.js";import{X as g,a as r}from"./7VTHS4BA.js";import"./DSEZSWHN.js";import{A as n,B as d,G as h,f as o,q as l,r as a}from"./DAIPNW3O.js";var c=a`arcgis-sketch{display:block}`,m=p(g),s=class extends d{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.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,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){return void 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}};h("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.26
|
5
5
|
*/
|
6
|
-
import{a as u,b as v}from"./
|
6
|
+
import{a as u,b as v}from"./YWEXTOTP.js";import{A as d,B as g,G as V,f as b,s as l}from"./DAIPNW3O.js";var _=class extends g{constructor(){super(...arguments),this._switchToVersion=!0,this._switchToVersionCheckboxElement=u(),this._versionNameInputElement=u(),this.arcgisAlterVersion=d(),this.arcgisCreateVersion=d(),this.arcgisFlowItemBack=d(),this.arcgisFlowItemClose=d()}static{this.properties={versionPropertiesElementProps:0}}static{this.shadowRootOptions=b}load(){let{versionPropertiesElementProps:{versionInfo:e}}=this;e?(this._mode="edit",this._fullVersionName=e.versionIdentifier.name,this._ownerName=this._fullVersionName.substring(0,this._fullVersionName.lastIndexOf(".")),this._versionName=this._fullVersionName.substring(this._fullVersionName.lastIndexOf(".")+1)):this._mode="create"}updated(){this._mode==="create"&&this._versionNameInputElement.value?.setFocus()}_handleCancel(){this.arcgisFlowItemBack.emit()}_handleChange(e){let{_mode:i,_ownerName:h,_versionName:m,versionPropertiesElementProps:{currentUser:t,isVersionAdministrator:o,serviceUrl:s,versionInfo:p}}=this,{_alterVersionParameters:c,_createVersionParameters:a}=this;switch(i==="create"&&(a||(a={access:"public",description:"",featureServerUrl:s,ownerName:t,versionName:""})),i==="edit"&&(c||(c={featureServerUrl:s,versionIdentifier:p.versionIdentifier,ownerName:h,versionName:m,access:p.access,description:p.description})),e.type){case"calciteChipGroupSelect":{let r=e.target.label,n=e.target.selectedItems[0].value;i==="create"&&(a={...a,[r]:n}),i==="edit"&&(c={...c,[r]:n});break}case"calciteInputTextInput":{let r=e.target.name,n=e.target.value;i==="create"&&(a={...a,[r]:n}),i==="edit"&&(c={...c,[r]:n});break}case"calciteTextAreaInput":{let r=e.target.name,n=e.target.value;i==="create"&&(a={...a,[r]:n}),i==="edit"&&(c={...c,[r]:n});break}}i==="create"&&(a.access!=="public"&&t.toUpperCase()!==a.ownerName?.toUpperCase()&&!o?(this._switchToVersionCheckboxElement.value.checked=!1,this._switchToVersionCheckboxElement.value.disabled=!0,this._switchToVersion=!1):this._switchToVersionCheckboxElement.value.disabled=!1,this._createVersionParameters=a),i==="edit"&&(this._alterVersionParameters=c)}_handleClose(){this.arcgisFlowItemClose.emit()}_handleSave(){let{_alterVersionParameters:e,_createVersionParameters:i,_mode:h,_switchToVersion:m}=this;h==="create"&&this.arcgisCreateVersion.emit({createVersionParameters:i,switchToVersion:m}),h==="edit"&&this.arcgisAlterVersion.emit({alterVersionParameters:e})}_handleSwitchToVersionChange(e){this._switchToVersion=e.target.checked}render(){let{versionPropertiesElementProps:{closable:e,currentUser:i,hasAdvEditingUte:h,state:m,strings:t,versionInfo:o},_mode:s,_ownerName:p,_versionName:c}=this,a=l`<div><calcite-button appearance=outline slot=footer width=half @click=${this._handleCancel}>${t.actions.cancelSave}</calcite-button><calcite-button slot=footer width=half @click=${this._handleSave}>${t.actions.saveVersion}</calcite-button></div>`,r=l`<calcite-label>${t.input.versionAccess}<calcite-chip-group label=access @calciteChipGroupSelect=${this._handleChange} selection-mode=single-persist><calcite-chip .selected=${s==="edit"&&o.access==="public"||s==="create"} value=public>${t.accessLevels.public}</calcite-chip><calcite-chip .selected=${s==="edit"&&o.access==="protected"} value=protected>${t.accessLevels.protected}</calcite-chip><calcite-chip .selected=${s==="edit"&&o.access==="private"} value=private>${t.accessLevels.private}</calcite-chip></calcite-chip-group></calcite-label>`,n=l`<calcite-label>${t.input.versionDescription}<calcite-text-area name=description @calciteTextAreaInput=${this._handleChange} resize=vertical .value=${s==="edit"?o.description:""}></calcite-text-area></calcite-label>`,w=l`<calcite-label>${t.input.versionName}<calcite-input-text name=versionName @calciteInputTextInput=${this._handleChange} max-length=62 .value=${s==="edit"?c:""} ${v(this._versionNameInputElement)}></calcite-input-text></calcite-label>`,$=l`<calcite-label>${t.input.versionOwner}<calcite-input-text name=ownerName @calciteInputTextInput=${this._handleChange} .disabled=${!h} .value=${s==="edit"?p:i}></calcite-input-text></calcite-label>`,f=s==="create"?l`<calcite-label layout=inline><calcite-checkbox checked name=switchToVersion @calciteCheckboxChange=${this._handleSwitchToVersionChange} ${v(this._switchToVersionCheckboxElement)}></calcite-checkbox>${t.actions.switchToVersion}</calcite-label>`:void 0;return l`<calcite-flow-item .closable=${e} .description=${o?o.versionIdentifier.name:""} .heading=${o?t.actions.editVersion:t.actions.newVersion} @calciteFlowItemClose=${this._handleClose}><calcite-panel .loading=${m==="executing"}><calcite-block heading open>${w}${n}${r}${$}${f}${a}</calcite-block></calcite-panel></calcite-flow-item>`}};V("arcgis-version-management-version-properties",_);export{_ as ArcgisVersionManagementVersionProperties};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/*!
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
3
3
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
4
|
-
* v4.32.0-next.
|
4
|
+
* v4.32.0-next.26
|
5
5
|
*/
|
6
|
-
import{a as d}from"./
|
6
|
+
import{a as d}from"./MQOE4KAB.js";import"./O5S6SREX.js";import{Y as r}from"./7VTHS4BA.js";import"./DSEZSWHN.js";import{A as a,B as o,G as l,f as t,q as s,r as i}from"./DAIPNW3O.js";var h=i`arcgis-slice{display:block}`,c=d(r),e=class extends o{constructor(){super(...arguments),this.widget=c(this),this.viewModel=this.widget.viewModel,this.analysis=this.widget.analysis,this.autoDestroyDisabled=!1,this.excludeGroundSurface=this.viewModel.excludeGroundSurface,this.excludedLayers=this.viewModel.excludedLayers,this.headingLevel=this.widget.headingLevel,this.icon=this.widget.icon,this.label=this.widget.label,this.position="bottom-left",this.shape=this.viewModel.shape,this.state=this.viewModel.state,this.tiltEnabled=this.viewModel.tiltEnabled,this.arcgisPropertyChange=s()("analysis","state"),this.arcgisReady=a()}static{this.properties={analysis:0,autoDestroyDisabled:5,excludeGroundSurface:5,excludedLayers:0,headingLevel:9,icon:1,label:1,position:1,referenceElement:1,shape:0,state:3,tiltEnabled:5}}static{this.shadowRootOptions=t}static{this.styles=h}async clear(){this.widget?.viewModel.clear()}async destroy(){await this.manager.destroy()}async start(){this.widget?.viewModel.start()}};l("arcgis-slice",e);export{e as ArcgisSlice};
|
@@ -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.26
|
5
5
|
*/
|
6
|
-
import{a as r}from"./
|
6
|
+
import{a as r}from"./MQOE4KAB.js";import"./O5S6SREX.js";import{W as d}from"./7VTHS4BA.js";import"./DSEZSWHN.js";import{A as o,B as a,G as h,f as t,q as e,r as s}from"./DAIPNW3O.js";var l=s`arcgis-shadow-cast{display:block}`,c=r(d),i=class extends a{constructor(){super(...arguments),this.widget=c(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.discreteOptions=this.viewModel.discreteOptions,this.durationOptions=this.viewModel.durationOptions,this.endTimeOfDay=this.viewModel.endTimeOfDay,this.headingLevel=this.widget.headingLevel,this.hideColorPicker=this.widget.visibleElements.colorPicker,this.hideDatePicker=this.widget.visibleElements.datePicker,this.hideTimeRangeSlider=this.widget.visibleElements.timeRangeSlider,this.hideTimezone=this.widget.visibleElements.timezone,this.hideTooltip=this.widget.visibleElements.tooltip,this.hideVisualizationOptions=this.widget.visibleElements.visualizationOptions,this.icon=this.widget.icon,this.label=this.widget.label,this.position="bottom-left",this.startTimeOfDay=this.viewModel.startTimeOfDay,this.state=this.viewModel.state,this.thresholdOptions=this.viewModel.thresholdOptions,this.utcOffset=this.viewModel.utcOffset,this.visualizationType=this.viewModel.visualizationType,this.arcgisPropertyChange=e()("state"),this.arcgisReady=o()}static{this.properties={autoDestroyDisabled:5,discreteOptions:0,durationOptions:0,endTimeOfDay:9,headingLevel:9,hideColorPicker:5,hideDatePicker:5,hideTimeRangeSlider:5,hideTimezone:5,hideTooltip:5,hideVisualizationOptions:5,icon:1,label:1,position:1,referenceElement:1,startTimeOfDay:9,state:3,thresholdOptions:0,utcOffset:9,visualizationType:1}}static{this.shadowRootOptions=t}static{this.styles=l}async destroy(){await this.manager.destroy()}async getDuration(n){return this.widget?.viewModel.getDuration(n)}async start(){this.widget?.viewModel.start()}async stop(){this.widget?.viewModel.stop()}};h("arcgis-shadow-cast",i);export{i as ArcgisShadowCast};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/*!
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
3
3
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
4
|
-
* v4.32.0-next.
|
4
|
+
* v4.32.0-next.26
|
5
5
|
*/
|
6
|
-
import{a as y}from"./
|
6
|
+
import{a as y}from"./MQOE4KAB.js";import"./O5S6SREX.js";import{d as s,v as w}from"./7VTHS4BA.js";import{d as c}from"./DSEZSWHN.js";import{A as d,B as n,G as l,f as o,q as r,r as h}from"./DAIPNW3O.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.26
|
5
5
|
*/
|
6
|
-
import{a as h}from"./
|
6
|
+
import{a as h}from"./MQOE4KAB.js";import"./O5S6SREX.js";import{i as n}from"./7VTHS4BA.js";import"./DSEZSWHN.js";import{A as a,B as o,G as r,f as s,q as e,r as i}from"./DAIPNW3O.js";var m=i`arcgis-area-measurement-2d{display:block}`,c=h(n),t=class extends o{constructor(){super(...arguments),this.widget=c(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.icon=this.widget.icon,this.label=this.widget.label,this.position="bottom-left",this.state=this.viewModel.state,this.unit=this.widget.unit,this.unitOptions=this.widget.unitOptions,this.arcgisPropertyChange=e()("state"),this.arcgisReady=a()}static{this.properties={autoDestroyDisabled:5,icon:1,label:1,position:1,referenceElement:1,state:3,unit:1,unitOptions:0}}static{this.shadowRootOptions=s}static{this.styles=m}async destroy(){await this.manager.destroy()}};r("arcgis-area-measurement-2d",t);export{t as ArcgisAreaMeasurement2d};
|
@@ -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.26
|
5
5
|
*/
|
6
|
-
import{a as S}from"./NYO5FHDX.js";import{b as m}from"./NIRMKP6A.js";import{ca as c}from"./FIEUUBMQ.js";import{b as r,c as h,i as A}from"./YUDSXC6A.js";import{A as n,B as l,G as a,f as e,s as o}from"./L6DN3YTM.js";var s=class extends l{constructor(){super(...arguments),this._watchHandles=[],this.autoRefreshAssociationsDisabled=!1,this.includeConnectivityAssociationsDisabled=!1,this.includeStructuralAttachmentAssociationsDisabled=!1,this.maxAllowableAssociations=250,this.position="bottom-left",this.showArrowsConnectivity=!1,this.showArrowsStructuralAttachment=!1,this.showAssociationsEnabled=!1,this.visibleElementsConnectivityAssociationsSettingsArrowsToggle=!0,this.visibleElementsConnectivityAssociationsSettingsCapSelect=!0,this.visibleElementsConnectivityAssociationsSettingsColorPicker=!0,this.visibleElementsConnectivityAssociationsSettingsStylePicker=!0,this.visibleElementsConnectivityAssociationsSettingsWidthInput=!0,this.visibleElementsMaxAllowableAssociationsSlider=!0,this.visibleElementsStructuralAttachmentAssociationsSettingsArrowsToggle=!0,this.visibleElementsStructuralAttachmentAssociationsSettingsCapSelect=!0,this.visibleElementsStructuralAttachmentAssociationsSettingsStylePicker=!0,this.visibleElementsStructuralAttachmentAssociationsSettingsWidthInput=!0,this.arcgisReady=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,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,stylePicker:this.visibleElementsStructuralAttachmentAssociationsSettingsStylePicker,widthInput:this.visibleElementsStructuralAttachmentAssociationsSettingsWidthInput}},this.autoRefreshAssociationsDisabled!==void 0&&(t.autoRefreshAssociations=!this.autoRefreshAssociationsDisabled),this.connectivityAssociationsLineSymbol!==void 0&&(t.connectivityAssociationsLineSymbol=this.connectivityAssociationsLineSymbol),this.includeConnectivityAssociationsDisabled!==void 0&&(t.includeConnectivityAssociations=!this.includeConnectivityAssociationsDisabled),this.includeStructuralAttachmentAssociationsDisabled!==void 0&&(t.includeStructuralAttachmentAssociations=!this.includeStructuralAttachmentAssociationsDisabled),this.maxAllowableAssociations!==void 0&&(t.maxAllowableAssociations=this.maxAllowableAssociations),this.maxAllowableAssociationsSliderMax!==void 0&&(t.maxAllowableAssociationsSliderMax=this.maxAllowableAssociationsSliderMax),this.maxAllowableAssociationsSliderMin!==void 0&&(t.maxAllowableAssociationsSliderMin=this.maxAllowableAssociationsSliderMin),this.maxAllowableAssociationsSliderStep!==void 0&&(t.maxAllowableAssociationsSliderStep=this.maxAllowableAssociationsSliderStep),this.showArrowsConnectivity!==void 0&&(t.showArrowsConnectivity=this.showArrowsConnectivity),this.showArrowsStructuralAttachment!==void 0&&(t.showArrowsStructuralAttachment=this.showArrowsStructuralAttachment),this.showAssociationsEnabled!==void 0&&(t.showAssociationsEnabled=this.showAssociationsEnabled),this.structuralAttachmentAssociationsLineSymbol!==void 0&&(t.structuralAttachmentAssociationsLineSymbol=this.structuralAttachmentAssociationsLineSymbol),this.utilityNetwork!==void 0&&(t.utilityNetwork=this.utilityNetwork),t}async _loadUtilityNetwork(){if(this.view?.map&&this.view.map.portalItem){await this.view.map.load();let t=this.view.map.utilityNetworks.getItemAt(0);await t.load(),this.utilityNetwork=t}}render(){return o`<div ${m(t=>this.el.childElem=t)}></div>`}};a("arcgis-utility-network-associations",s);export{s as ArcgisUtilityNetworkAssociations};
|
6
|
+
import{a as S}from"./MJ3IJZOE.js";import{b as m}from"./YWEXTOTP.js";import{ca as c}from"./7VTHS4BA.js";import{b as r,c as h,i as A}from"./DSEZSWHN.js";import{A as n,B as l,G as a,f as e,s as o}from"./DAIPNW3O.js";var s=class extends l{constructor(){super(...arguments),this._watchHandles=[],this.autoRefreshAssociationsDisabled=!1,this.includeConnectivityAssociationsDisabled=!1,this.includeStructuralAttachmentAssociationsDisabled=!1,this.maxAllowableAssociations=250,this.position="bottom-left",this.showArrowsConnectivity=!1,this.showArrowsStructuralAttachment=!1,this.showAssociationsEnabled=!1,this.visibleElementsConnectivityAssociationsSettingsArrowsToggle=!0,this.visibleElementsConnectivityAssociationsSettingsCapSelect=!0,this.visibleElementsConnectivityAssociationsSettingsColorPicker=!0,this.visibleElementsConnectivityAssociationsSettingsStylePicker=!0,this.visibleElementsConnectivityAssociationsSettingsWidthInput=!0,this.visibleElementsMaxAllowableAssociationsSlider=!0,this.visibleElementsStructuralAttachmentAssociationsSettingsArrowsToggle=!0,this.visibleElementsStructuralAttachmentAssociationsSettingsCapSelect=!0,this.visibleElementsStructuralAttachmentAssociationsSettingsStylePicker=!0,this.visibleElementsStructuralAttachmentAssociationsSettingsWidthInput=!0,this.arcgisReady=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,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,stylePicker:this.visibleElementsStructuralAttachmentAssociationsSettingsStylePicker,widthInput:this.visibleElementsStructuralAttachmentAssociationsSettingsWidthInput}},this.autoRefreshAssociationsDisabled!==void 0&&(t.autoRefreshAssociations=!this.autoRefreshAssociationsDisabled),this.connectivityAssociationsLineSymbol!==void 0&&(t.connectivityAssociationsLineSymbol=this.connectivityAssociationsLineSymbol),this.includeConnectivityAssociationsDisabled!==void 0&&(t.includeConnectivityAssociations=!this.includeConnectivityAssociationsDisabled),this.includeStructuralAttachmentAssociationsDisabled!==void 0&&(t.includeStructuralAttachmentAssociations=!this.includeStructuralAttachmentAssociationsDisabled),this.maxAllowableAssociations!==void 0&&(t.maxAllowableAssociations=this.maxAllowableAssociations),this.maxAllowableAssociationsSliderMax!==void 0&&(t.maxAllowableAssociationsSliderMax=this.maxAllowableAssociationsSliderMax),this.maxAllowableAssociationsSliderMin!==void 0&&(t.maxAllowableAssociationsSliderMin=this.maxAllowableAssociationsSliderMin),this.maxAllowableAssociationsSliderStep!==void 0&&(t.maxAllowableAssociationsSliderStep=this.maxAllowableAssociationsSliderStep),this.showArrowsConnectivity!==void 0&&(t.showArrowsConnectivity=this.showArrowsConnectivity),this.showArrowsStructuralAttachment!==void 0&&(t.showArrowsStructuralAttachment=this.showArrowsStructuralAttachment),this.showAssociationsEnabled!==void 0&&(t.showAssociationsEnabled=this.showAssociationsEnabled),this.structuralAttachmentAssociationsLineSymbol!==void 0&&(t.structuralAttachmentAssociationsLineSymbol=this.structuralAttachmentAssociationsLineSymbol),this.utilityNetwork!==void 0&&(t.utilityNetwork=this.utilityNetwork),t}async _loadUtilityNetwork(){if(this.view?.map&&this.view.map.portalItem){await this.view.map.load();let t=this.view.map.utilityNetworks.getItemAt(0);await t.load(),this.utilityNetwork=t}}render(){return o`<div ${m(t=>this.el.childElem=t)}></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.26
|
5
5
|
*/
|
6
|
-
import{a as l}from"./
|
6
|
+
import{a as l}from"./MQOE4KAB.js";import"./O5S6SREX.js";import{u as d}from"./7VTHS4BA.js";import"./DSEZSWHN.js";import{A as a,B as o,G as r,f as s,q as i,r as e}from"./DAIPNW3O.js";var c=e`arcgis-directional-pad{display:block}`,h=l(d),t=class extends o{constructor(){super(...arguments),this.widget=h(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.disabled=this.widget.disabled,this.icon=this.widget.icon,this.label=this.widget.label,this.position="bottom-left",this.state=this.viewModel.state,this.visualScale=this.widget.visualScale,this.arcgisPropertyChange=i()("state"),this.arcgisReady=a()}static{this.properties={autoDestroyDisabled:5,disabled:5,icon:1,label:1,position:1,referenceElement:1,state:3,visualScale:1}}static{this.shadowRootOptions=s}static{this.styles=c}async destroy(){await this.manager.destroy()}};r("arcgis-directional-pad",t);export{t as ArcgisDirectionalPad};
|
@@ -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.26
|
5
5
|
*/
|
6
|
-
import{a as r}from"./
|
6
|
+
import{a as r}from"./HW4QWHBR.js";import{a as M,b as k}from"./FD6BIE6M.js";import{d as o}from"./O5S6SREX.js";import{ba as f}from"./7VTHS4BA.js";import"./DSEZSWHN.js";import{A as m,B as v,C as s,E as w,G as u,a as d,f as h,q as g,r as p,s as e}from"./DAIPNW3O.js";var $=p`arcgis-track{display:block}`,O={base:"esri-track"},D=k(f),a=class extends v{constructor(){super(...arguments),this.messages=M(),this.viewModel=D(this),this.autoDestroyDisabled=!1,this.error=this.viewModel.error,this.geolocationOptions=this.viewModel.geolocationOptions,this.goToOverride=this.viewModel.goToOverride,this.goToLocationDisabled=this.viewModel.goToLocationEnabled,this.graphic=this.viewModel.graphic,this.icon="compass-north-circle",this.position="top-left",this.positionFilterFunction=this.viewModel.positionFilterFunction,this.scale=this.viewModel.scale,this.state=this.viewModel.state,this.tracking=this.viewModel.tracking,this.arcgisComplete=o(()=>this.viewModel,"track"),this.arcgisError=o(()=>this.viewModel,"track-error"),this.arcgisPropertyChange=g()("state"),this.arcgisReady=m()}static{this.properties={autoDestroyDisabled:5,error:1,geolocationOptions:1,goToOverride:0,goToLocationDisabled:7,graphic:0,icon:3,label:1,messageOverrides:0,position:3,positionFilterFunction:0,referenceElement:1,scale:9,state:0,tracking:4}}static{this.shadowRootOptions=h}static{this.styles=$}async destroy(){await this.manager.destroy()}async start(){this.viewModel.start()}async stop(){this.viewModel.stop()}_localizeError(i){if(i instanceof GeolocationPositionError)return i.code===GeolocationPositionError.PERMISSION_DENIED?this.messages?.permissionError:i.code===GeolocationPositionError.TIMEOUT?this.messages?.timeoutError:this.messages?.positionUnavailable;if(i instanceof Error)return i.message}_toggleTracking(){if(!this.viewModel)return;let{state:i}=this.viewModel;if(!(i==="feature-unsupported"||i==="disabled")){if(i==="tracking"||i==="waiting"){this.viewModel.stop();return}this.viewModel.start()}}render(){let{viewModel:i,messages:n,icon:E}=this,t=i?.state,b=t==="tracking",c=this._localizeError(this.viewModel?.error),l=(b?n?.stopTracking:n?.startTracking)??"",T=t==="feature-unsupported",y=(t==="tracking"?"pause":void 0)??E??void 0;return e`<div class=${s(d(O.base,r.widget))}>${!T&&e`<calcite-button class=${s(r.widgetButton)} .disabled=${t==="disabled"} .iconStart=${y} kind=neutral .label=${l} .loading=${t==="waiting"} @click=${this._toggleTracking} title=${l??w}></calcite-button>`||""}${c?e`<calcite-tooltip open overlay-positioning=fixed .referenceElement=${this.el}>${c}</calcite-tooltip>`:null}</div>`}};u("arcgis-track",a);export{a as ArcgisTrack};
|
@@ -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.26
|
5
5
|
*/
|
6
|
-
import{a as h}from"./
|
6
|
+
import{a as h}from"./MQOE4KAB.js";import"./O5S6SREX.js";import{I as n}from"./7VTHS4BA.js";import"./DSEZSWHN.js";import{A as a,B as o,G as r,f as i,q as s,r as e}from"./DAIPNW3O.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.26
|
5
5
|
*/
|
6
|
-
import{a as t}from"./
|
6
|
+
import{a as t}from"./HW4QWHBR.js";import{a as p,b}from"./FD6BIE6M.js";import"./O5S6SREX.js";import{ia as z}from"./7VTHS4BA.js";import"./DSEZSWHN.js";import{A as d,B as h,C as o,E as i,G as u,a,f as l,q as n,r as m,s as c}from"./DAIPNW3O.js";var g={base:"esri-zoom",horizontalLayout:"esri-zoom--horizontal"},v=m`arcgis-zoom{display:block}.esri-zoom{display:flex;flex-flow:column nowrap}.esri-zoom .esri-widget--button{box-shadow:none}.esri-zoom .esri-widget--button:first-child{margin-bottom:0}.esri-zoom .esri-widget--button:last-child{border-top:solid 1px var(--calcite-color-border-1)}.esri-zoom.esri-zoom--horizontal{flex-flow:row-reverse nowrap}.esri-zoom.esri-zoom--horizontal .esri-widget--button:last-child{border-top:none}.esri-zoom.esri-zoom--horizontal .esri-widget--button:first-child{border-left:solid 1px var(--calcite-color-border-1)}[dir=rtl] .esri-zoom.esri-zoom--horizontal .esri-widget--button:first-child{border-top:none}[dir=rtl] .esri-zoom.esri-zoom--horizontal .esri-widget--button:last-child{border-left:solid 1px var(--calcite-color-border-1)}`,$=b(z),s=class extends h{constructor(){super(...arguments),this.messages=p({}),this.viewModel=$(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=n()("state"),this.arcgisReady=d()}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=l}static{this.styles=v}async destroy(){await this.manager.destroy()}async zoomIn(){this.viewModel.zoomIn()}async zoomOut(){this.viewModel.zoomOut()}render(){let w={[g.horizontalLayout]:this.layout==="horizontal"},{canZoomIn:f,canZoomOut:y}=this.viewModel,{zoomIn:e,zoomOut:r}=this.messages;return c`<div class=${o(a(g.base,t.widget,w))}><calcite-button class=${o(t.widgetButton)} .disabled=${!f} icon-start=plus kind=neutral .label=${e} @click=${this.zoomIn} title=${e??i}></calcite-button><calcite-button class=${o(t.widgetButton)} .disabled=${!y} icon-start=minus kind=neutral .label=${r} @click=${this.zoomOut} title=${r??i}></calcite-button></div>`}};u("arcgis-zoom",s);export{s 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.26
|
5
5
|
*/
|
6
|
-
import{a as r}from"./
|
6
|
+
import{a as r}from"./MQOE4KAB.js";import"./O5S6SREX.js";import{p as o}from"./7VTHS4BA.js";import"./DSEZSWHN.js";import{A as l,B as a,G as h,f as i,q as s,r as t}from"./DAIPNW3O.js";var d=t`arcgis-building-explorer{display:block}`,n=r(o),e=class extends a{constructor(){super(...arguments),this.widget=n(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.headingLevel=this.widget.headingLevel,this.hideDisciplines=this.widget.visibleElements.disciplines,this.hideLevels=this.widget.visibleElements.levels,this.hidePhases=this.widget.visibleElements.phases,this.icon=this.widget.icon,this.label=this.widget.label,this.layers=this.widget.layers,this.level=this.viewModel.level,this.phase=this.viewModel.phase,this.position="bottom-left",this.state=this.viewModel.state,this.arcgisPropertyChange=s()("level","phase","state"),this.arcgisReady=l()}static{this.properties={autoDestroyDisabled:5,headingLevel:9,hideDisciplines:5,hideLevels:5,hidePhases:5,icon:1,label:1,layers:0,level:0,phase:0,position:1,referenceElement:1,state:3}}static{this.shadowRootOptions=i}static{this.styles=d}async destroy(){await this.manager.destroy()}};h("arcgis-building-explorer",e);export{e as ArcgisBuildingExplorer};
|
@@ -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.26
|
5
5
|
*/
|
6
|
-
import{b as n,c as a,i as c}from"./
|
6
|
+
import{b as n,c as a,i as c}from"./DSEZSWHN.js";import{A as l,B as o,G as r,f as i,r as s}from"./DAIPNW3O.js";var h=s`arcgis-placement{display:flex;pointer-events:auto;box-shadow:none}.arcgis-placement__container{display:block}`,t=class extends o{constructor(){super(),this._observer=void 0,this.position="bottom-left",this.arcgisReady=l(),this._moveChildren=()=>{if(this.el.childElem.parentElement!==this.el)for(let e=this.el.firstElementChild;e!==null;e=this.el.firstElementChild)this.el.childElem.append(e)},this.el.childElem=document.createElement("div"),this.el.childElem.classList.add("arcgis-placement__container"),this.listen("arcgisReady",this._startObserving,{once:!0})}static{this.properties={position:1,referenceElement:1}}static{this.shadowRootOptions=i}static{this.styles=h}connectedCallback(){super.connectedCallback(),this.el.view&&this._startObserving()}willUpdate(e){e.has("referenceElement")&&c(this,this.referenceElement),e.has("position")&&this.el.childElem&&this.position!==void 0&&this.el.view?.ui.move(this.el.childElem,this.position)}loaded(){a(this),n(this)}disconnectedCallback(){super.disconnectedCallback(),this.el.childElem&&this.el.view?.ui?.remove(this.el.childElem),this._observer?.disconnect()}_startObserving(){this._moveChildren(),this._observer=new MutationObserver(this._moveChildren),this._observer.observe(this.el,{childList:!0})}};r("arcgis-placement",t);export{t as ArcgisPlacement};
|
@@ -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.26
|
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"./DAIPNW3O.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.26
|
5
5
|
*/
|
6
|
-
import{a as d}from"./
|
6
|
+
import{a as d}from"./MQOE4KAB.js";import"./O5S6SREX.js";import{y as r}from"./7VTHS4BA.js";import"./DSEZSWHN.js";import{A as a,B as l,G as n,f as i,q as s,r as o}from"./DAIPNW3O.js";var g=o`arcgis-editor{display:block}`,h=d(r),t=class extends l{constructor(){super(...arguments),this.widget=h(this),this.viewModel=this.widget.viewModel,this.activeWorkflow=this.widget.activeWorkflow,this.allowedWorkflows=this.widget.allowedWorkflows,this.autoDestroyDisabled=!1,this.headingLevel=this.widget.headingLevel,this.hideCreateFeaturesSection=this.widget.visibleElements.createFeaturesSection,this.hideEditFeaturesSection=this.widget.visibleElements.editFeaturesSection,this.hideLabelsToggle=this.widget.visibleElements.labelsToggle,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.icon=this.widget.icon,this.label=this.widget.label,this.labelOptions=this.widget.labelOptions,this.layerInfos=this.widget.layerInfos,this.position="bottom-left",this.showSnappingControlsElementsHeader=this.widget.visibleElements.snappingControlsElements.header,this.snappingOptions=this.widget.snappingOptions,this.state=this.viewModel.state,this.supportingWidgetDefaults=this.widget.supportingWidgetDefaults,this.tooltipOptions=this.widget.tooltipOptions,this.arcgisPropertyChange=s()("activeWorkflow","state"),this.arcgisReady=a()}static{this.properties={activeWorkflow:0,allowedWorkflows:1,autoDestroyDisabled:5,headingLevel:9,hideCreateFeaturesSection:5,hideEditFeaturesSection:5,hideLabelsToggle:5,hideSnappingControlsElementsEnabledToggle:5,hideSnappingControlsElementsFeatureEnabledToggle:5,hideSnappingControlsElementsLayerList:5,hideSnappingControlsElementsSelfEnabledToggle:5,hideTooltipsToggle:5,icon:1,label:1,labelOptions:0,layerInfos:0,position:1,referenceElement:1,showSnappingControlsElementsHeader:5,snappingOptions:0,state:3,supportingWidgetDefaults:0,tooltipOptions:0}}static{this.shadowRootOptions=i}static{this.styles=g}async cancelWorkflow(){await this.widget?.cancelWorkflow()}async deleteFeatureFromWorkflow(){await this.widget?.deleteFeatureFromWorkflow()}async destroy(){await this.manager.destroy()}async startCreateFeaturesWorkflowAtFeatureCreation(e){await this.widget?.startCreateFeaturesWorkflowAtFeatureCreation(e)}async startCreateFeaturesWorkflowAtFeatureTypeSelection(){await this.widget?.startCreateFeaturesWorkflowAtFeatureTypeSelection()}async startUpdateWorkflowAtFeatureEdit(e){await this.widget?.startUpdateWorkflowAtFeatureEdit(e)}async startUpdateWorkflowAtFeatureSelection(){await this.widget?.startUpdateWorkflowAtFeatureSelection()}async startUpdateWorkflowAtMultipleFeatureSelection(e){await this.widget?.startUpdateWorkflowAtMultipleFeatureSelection(e)}};n("arcgis-editor",t);export{t as ArcgisEditor};
|
@@ -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.26
|
5
5
|
*/
|
6
|
-
import{a as d}from"./
|
6
|
+
import{a as d}from"./MQOE4KAB.js";import"./O5S6SREX.js";import{J as n}from"./7VTHS4BA.js";import"./DSEZSWHN.js";import{A as a,B as r,G as o,f as i,q as e,r as s}from"./DAIPNW3O.js";var l=s`arcgis-histogram-range-slider{display:block}`,g=d(n),t=class extends r{constructor(){super(...arguments),this.widget=g(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.average=this.widget.average,this.barCreatedFunction=this.widget.barCreatedFunction,this.bins=this.widget.bins,this.dataLineCreatedFunction=this.widget.dataLineCreatedFunction,this.dataLines=this.widget.dataLines,this.excludedBarColor=this.widget.excludedBarColor,this.icon=this.widget.icon,this.includedBarColor=this.widget.includedBarColor,this.label=this.widget.label,this.labelFormatFunction=this.widget.labelFormatFunction,this.max=this.widget.max,this.min=this.widget.min,this.position="bottom-left",this.precision=this.widget.precision,this.rangeType=this.widget.rangeType,this.standardDeviation=this.widget.standardDeviation,this.standardDeviationCount=this.widget.standardDeviationCount,this.state=this.viewModel.state,this.values=this.widget.values,this.arcgisPropertyChange=e()("state"),this.arcgisReady=a()}static{this.properties={autoDestroyDisabled:5,average:9,barCreatedFunction:0,bins:0,dataLineCreatedFunction:0,dataLines:0,excludedBarColor:0,icon:1,includedBarColor:0,label:1,labelFormatFunction:0,max:9,min:9,position:1,precision:9,rangeType:1,referenceElement:1,standardDeviation:9,standardDeviationCount:9,state:3,values:0}}static{this.shadowRootOptions=i}static{this.styles=l}async destroy(){await this.manager.destroy()}async generateWhereClause(h){return this.widget.generateWhereClause(h)}};o("arcgis-histogram-range-slider",t);export{t as ArcgisHistogramRangeSlider};
|