@arcgis/map-components 4.32.0-next.83 → 4.32.0-next.84
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/arcgis-map-components/{JMKTTV47.js → 2LH365WX.js} +2 -2
- package/dist/arcgis-map-components/{OW6VZAYK.js → 4HWKFVOD.js} +2 -2
- package/dist/arcgis-map-components/{BKTRWHQA.js → 6JAD4WKP.js} +2 -2
- package/dist/arcgis-map-components/{YAEO7FHZ.js → 7IYUKHGU.js} +2 -2
- package/dist/arcgis-map-components/{3FHA5Q35.js → 7PRXTQ4Y.js} +2 -2
- package/dist/arcgis-map-components/{W3IEUQ3T.js → ADHZXMHO.js} +2 -2
- package/dist/arcgis-map-components/{5R7JAA4K.js → ALE6KF3F.js} +1 -1
- package/dist/arcgis-map-components/{Z27NUIOA.js → ASLMMNFG.js} +2 -2
- package/dist/arcgis-map-components/{GIEN743A.js → B2AHBB47.js} +2 -2
- package/dist/arcgis-map-components/{UJEL34OH.js → BCSTA4MD.js} +2 -2
- package/dist/arcgis-map-components/{XJPV2XF5.js → BMZIKLJT.js} +2 -2
- package/dist/arcgis-map-components/{SVWOQROO.js → BVS52H6M.js} +2 -2
- package/dist/arcgis-map-components/{EORMIB3R.js → C542LZ3W.js} +2 -2
- package/dist/arcgis-map-components/{NLNFZP4Q.js → CAQQA5ME.js} +2 -2
- package/dist/arcgis-map-components/{FATDSUTZ.js → CCF5WJQL.js} +2 -2
- package/dist/arcgis-map-components/{3DJSR4KM.js → CHN4JGNG.js} +2 -2
- package/dist/arcgis-map-components/{KVQFHHCG.js → CLW7FHWH.js} +2 -2
- package/dist/arcgis-map-components/{ME4MZYGO.js → CSEA27MX.js} +2 -2
- package/dist/arcgis-map-components/{ONE2UFPZ.js → CTCO63FH.js} +2 -2
- package/dist/arcgis-map-components/{GS66LFP4.js → D5YSPPQY.js} +1 -1
- package/dist/arcgis-map-components/{PMRLGSCG.js → F2U6NY4G.js} +2 -2
- package/dist/arcgis-map-components/{LAGUAHVX.js → FTOHM6K7.js} +2 -2
- package/dist/arcgis-map-components/{CI3ZCOKX.js → G6CP2VYU.js} +2 -2
- package/dist/arcgis-map-components/{V7M5KB7D.js → GHPCV4MN.js} +2 -2
- package/dist/arcgis-map-components/{RTYGOYIP.js → GP5KXKC6.js} +2 -2
- package/dist/arcgis-map-components/{APRFYSM6.js → GUBVA4HI.js} +2 -2
- package/dist/arcgis-map-components/{3PBNMPLN.js → H3QUUUNO.js} +2 -2
- package/dist/arcgis-map-components/{4ZMZRT6C.js → HNBQDWNV.js} +2 -2
- package/dist/arcgis-map-components/{4ZLOFJWK.js → IF6ICBVD.js} +2 -2
- package/dist/arcgis-map-components/{D7SX7VI7.js → JDYFIYT3.js} +2 -2
- package/dist/arcgis-map-components/{KMGWVWD7.js → JG6SSII2.js} +2 -2
- package/dist/arcgis-map-components/{3QB2C2MK.js → JPFJWSQT.js} +2 -2
- package/dist/arcgis-map-components/{HZGL3SLW.js → JY2BL6QD.js} +2 -2
- package/dist/arcgis-map-components/{VNWOPD5J.js → LABTBYBR.js} +2 -2
- package/dist/arcgis-map-components/{MF7RFMSW.js → LW4HCA3P.js} +2 -2
- package/dist/arcgis-map-components/{JQ5QQDDP.js → MCAPSEE3.js} +2 -2
- package/dist/arcgis-map-components/{5YLNK34L.js → MJBNTJRW.js} +2 -2
- package/dist/arcgis-map-components/{IRHZH6RD.js → NAN3TPDO.js} +2 -2
- package/dist/arcgis-map-components/{PEYSQ5ZQ.js → NUF2ZXJB.js} +2 -2
- package/dist/arcgis-map-components/{K4M5MK2I.js → OF62ZZDT.js} +2 -2
- package/dist/arcgis-map-components/{UUUSXKHX.js → OODDLGXW.js} +2 -2
- package/dist/arcgis-map-components/{Z2H33RAX.js → OUTOCGVP.js} +2 -2
- package/dist/arcgis-map-components/{3TIH7FJM.js → PBYUEHJ2.js} +1 -1
- package/dist/arcgis-map-components/{BUDWVBYE.js → QDTORANP.js} +1 -1
- package/dist/arcgis-map-components/{RU3VPZSZ.js → QWBNGCQZ.js} +2 -2
- package/dist/arcgis-map-components/{VEQBFBC6.js → QXH6QBCY.js} +2 -2
- package/dist/arcgis-map-components/{U5UL33ZU.js → RLXPUR6U.js} +2 -2
- package/dist/arcgis-map-components/{733DYCVI.js → S2QUE2PT.js} +2 -2
- package/dist/arcgis-map-components/{NGYG2LMH.js → S3HVEU43.js} +2 -2
- package/dist/arcgis-map-components/{W6ON5IY6.js → SBFEI7G7.js} +2 -2
- package/dist/arcgis-map-components/{UKXESHIF.js → SDIRYXNN.js} +2 -2
- package/dist/arcgis-map-components/{C62ATYLY.js → SDTEUQJF.js} +2 -2
- package/dist/arcgis-map-components/{DT43KNRP.js → SJ23WYPX.js} +2 -2
- package/dist/arcgis-map-components/{QRMNTHS2.js → SM27BTYQ.js} +2 -2
- package/dist/arcgis-map-components/{AWFYQPKD.js → SV37GYTZ.js} +2 -2
- package/dist/arcgis-map-components/{A6UASEWJ.js → SZI3EYQQ.js} +2 -2
- package/dist/arcgis-map-components/{K6JLYC4K.js → TRRQPVCK.js} +2 -2
- package/dist/arcgis-map-components/{GARYG4ZV.js → UJJUHEQP.js} +2 -2
- package/dist/arcgis-map-components/{NC64HBQN.js → USOW5GMA.js} +2 -2
- package/dist/arcgis-map-components/{QZBWHUJL.js → VCU3GSEE.js} +2 -2
- package/dist/arcgis-map-components/{LTOLVVCM.js → VHDI7NKV.js} +2 -2
- package/dist/arcgis-map-components/{GAVRDI2M.js → VIEKXUEC.js} +2 -2
- package/dist/arcgis-map-components/{5UCZ2NP2.js → VQUVK2Z4.js} +2 -2
- package/dist/arcgis-map-components/{V5KVHTTD.js → VY2AN4QN.js} +2 -2
- package/dist/arcgis-map-components/{X7KWIITV.js → WCITYN6U.js} +2 -2
- package/dist/arcgis-map-components/{HZXLMWI4.js → WOWZWSL5.js} +2 -2
- package/dist/arcgis-map-components/{B4N3XXMN.js → WZIB63XY.js} +2 -2
- package/dist/arcgis-map-components/{BLLGRMVV.js → X3DKJFAI.js} +2 -2
- package/dist/arcgis-map-components/{LMQDVVYO.js → XJ5ZDZD5.js} +2 -2
- package/dist/arcgis-map-components/{QOBPPCP6.js → XKFVFNRT.js} +2 -2
- package/dist/arcgis-map-components/{VZPTH3WC.js → XKY2Q5V6.js} +2 -2
- package/dist/arcgis-map-components/{UG5BOEWQ.js → ZANDAN6Q.js} +2 -2
- package/dist/arcgis-map-components/{FQKPPNHX.js → ZD343J42.js} +2 -2
- package/dist/arcgis-map-components/arcgis-map-components.esm.js +2 -2
- package/dist/chunks/basemap-gallery-item.js +1 -1
- package/dist/chunks/component-utils.js +1 -1
- package/dist/chunks/disconnected.js +1 -1
- package/dist/chunks/globalCss.js +1 -1
- package/dist/chunks/legacyIcon.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/useViewModel.js +1 -1
- package/dist/chunks/useWidget.js +1 -1
- package/dist/components/arcgis-area-measurement-2d/customElement.js +1 -1
- package/dist/components/arcgis-area-measurement-3d/customElement.js +1 -1
- package/dist/components/arcgis-attachments/customElement.d.ts +3 -0
- package/dist/components/arcgis-attachments/customElement.js +1 -1
- package/dist/components/arcgis-basemap-gallery/components/basemap-gallery-item/customElement.js +1 -1
- package/dist/components/arcgis-basemap-gallery/customElement.js +1 -1
- package/dist/components/arcgis-basemap-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-basemap-toggle/customElement.js +1 -1
- package/dist/components/arcgis-bookmarks/customElement.js +1 -1
- package/dist/components/arcgis-building-explorer/customElement.js +1 -1
- package/dist/components/arcgis-catalog-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-compass/customElement.js +1 -1
- package/dist/components/arcgis-coordinate-conversion/customElement.js +1 -1
- package/dist/components/arcgis-daylight/customElement.js +1 -1
- package/dist/components/arcgis-directional-pad/customElement.js +1 -1
- package/dist/components/arcgis-directions/customElement.js +1 -1
- package/dist/components/arcgis-directline-measurement-3d/customElement.js +1 -1
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +1 -1
- package/dist/components/arcgis-editor/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile/customElement.js +1 -1
- package/dist/components/arcgis-expand/customElement.js +1 -1
- package/dist/components/arcgis-feature/customElement.js +1 -1
- package/dist/components/arcgis-feature-form/customElement.d.ts +3 -0
- 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.d.ts +3 -0
- 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.d.ts +3 -0
- package/dist/components/arcgis-histogram/customElement.js +1 -1
- package/dist/components/arcgis-histogram-range-slider/customElement.d.ts +3 -0
- package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-home/customElement.js +1 -1
- package/dist/components/arcgis-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-legend/customElement.js +1 -1
- package/dist/components/arcgis-line-of-sight/customElement.js +1 -1
- package/dist/components/arcgis-link-chart/customElement.js +1 -1
- package/dist/components/arcgis-locate/customElement.js +1 -1
- package/dist/components/arcgis-map/customElement.js +1 -1
- package/dist/components/arcgis-measurement/customElement.d.ts +3 -0
- package/dist/components/arcgis-measurement/customElement.js +1 -1
- package/dist/components/arcgis-navigation-toggle/customElement.js +1 -1
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +1 -1
- package/dist/components/arcgis-placement/customElement.js +1 -1
- package/dist/components/arcgis-print/customElement.js +1 -1
- package/dist/components/arcgis-scale-bar/customElement.js +1 -1
- package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-scene/customElement.js +1 -1
- package/dist/components/arcgis-search/customElement.js +1 -1
- package/dist/components/arcgis-shadow-cast/customElement.js +1 -1
- package/dist/components/arcgis-sketch/customElement.js +1 -1
- package/dist/components/arcgis-slice/customElement.js +1 -1
- package/dist/components/arcgis-slider/customElement.d.ts +3 -0
- 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.d.ts +3 -0
- 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 +42 -2
- package/dist/docs/docs.json +26 -2
- package/dist/docs/web-types.json +1 -1
- package/dist/index.js +1 -1
- package/dist/loader.js +1 -1
- package/dist/types/react.d.ts +221 -220
- package/package.json +5 -5
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
3
|
-
v4.32.0-next.
|
|
4
|
-
import{a as M}from"./
|
|
3
|
+
v4.32.0-next.84 */
|
|
4
|
+
import{a as M}from"./QDTORANP.js";import{a as r}from"./D5YSPPQY.js";import{a as E,b}from"./4HWKFVOD.js";import{d as a}from"./XKFVFNRT.js";import{Q as w}from"./WOWZWSL5.js";import"./PBYUEHJ2.js";import{B as m,C as v,D as s,F as u,H as f,a as d,g as h,r as p,s as g,t}from"./ALE6KF3F.js";var O=g`arcgis-locate{display:block}`,T={base:"esri-locate"},y="gps-off",P=b(w),l=class extends v{constructor(){super(...arguments),this.messages=E(),this.viewModel=P(this),this.autoDestroyDisabled=!1,this.geolocationOptions=this.viewModel.geolocationOptions,this.goToLocationDisabled=this.viewModel.goToLocationEnabled,this.goToOverride=this.viewModel.goToOverride,this.graphic=this.viewModel.graphic,this.icon=y,this.popupDisabled=this.viewModel.popupEnabled,this.position="top-left",this.scale=this.viewModel.scale,this.state=this.viewModel.state,this.arcgisError=a(()=>this.viewModel,"locate-error"),this.arcgisPropertyChange=p()("state"),this.arcgisReady=m(),this.arcgisSuccess=a(()=>this.viewModel,"locate")}static{this.properties={autoDestroyDisabled:5,geolocationOptions:1,goToLocationDisabled:7,goToOverride:0,graphic:0,icon:3,label:1,messageOverrides:0,popupDisabled:5,position:3,referenceElement:1,scale:9,state:3}}static{this.shadowRootOptions=h}static{this.styles=O}async cancelLocate(){this.viewModel.cancelLocate()}async destroy(){await this.manager.destroy()}async locate(){return await this.viewModel.locate()}_localizeError(e){if(e instanceof GeolocationPositionError)return e.code===GeolocationPositionError.PERMISSION_DENIED?this.messages?.permissionError:e.code===GeolocationPositionError.TIMEOUT?this.messages?.timeoutError:this.messages?.positionUnavailable;if(e instanceof Error)return e.message}_locate(){let{viewModel:e}=this;e.state==="locating"?e.cancelLocate():e.locate().catch(()=>{})}render(){let{viewModel:e,icon:$}=this,{state:o}=e,i=o==="locating",c=i?this.messages.cancel:this.messages.title,D=o==="feature-unsupported",L=M===void 0?y:void 0,n=this._localizeError(this.viewModel?.error);return t`<div class=${s(d(T.base,r.widget))}>${!D&&t`<calcite-button class=${s(r.widgetButton)} .disabled=${o==="disabled"} .iconStart=${i?void 0:$??L} kind=neutral .label=${c} @click=${this._locate} title=${c??u}>${i?t`<calcite-loader inline label></calcite-loader>`:null}</calcite-button>`||""}${n?t`<calcite-tooltip open overlay-positioning=fixed .referenceElement=${this.el}>${n}</calcite-tooltip>`:null}</div>`}};f("arcgis-locate",l);export{l as ArcgisLocate};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
3
|
-
v4.32.0-next.
|
|
4
|
-
import{a as u}from"./
|
|
3
|
+
v4.32.0-next.84 */
|
|
4
|
+
import{a as u}from"./QDTORANP.js";import{a as _}from"./D5YSPPQY.js";import{a as C,b as z}from"./4HWKFVOD.js";import"./XKFVFNRT.js";import{aa as M}from"./WOWZWSL5.js";import"./PBYUEHJ2.js";import{B as $,C as y,D as p,E as v,F as D,H as P,a as w,g as m,r as b,s as x,t as g}from"./ALE6KF3F.js";var H=x`arcgis-swipe,.arcgis-swipe{position:absolute;margin:0;background:transparent;padding:0;width:100%;height:100%;overflow:hidden;user-select:none}.arcgis-swipe,.arcgis-ui .arcgis-swipe{pointer-events:none}.arcgis-swipe__container{position:absolute;z-index:1;margin:0;outline:0;border:0;padding:0;overflow:hidden;pointer-events:auto;touch-action:none;outline-color:transparent}.arcgis-swipe--horizontal .arcgis-swipe__container{margin-left:calc(var(--calcite-spacing-xxxl) / 2 * -1);cursor:col-resize;height:100%}.arcgis-swipe--vertical .arcgis-swipe__container{margin-top:calc(var(--calcite-spacing-xxxl) / 2 * -1);cursor:row-resize;width:100%}.arcgis-swipe--disabled .arcgis-swipe__container{cursor:default;pointer-events:none}.arcgis-swipe__divider{position:absolute;background-color:var(--calcite-color-background)}.arcgis-swipe--horizontal .arcgis-swipe__divider{top:0;left:calc(var(--calcite-spacing-xxxl) / 2);margin-left:calc(var(--calcite-border-width-lg) * .5 * -1);border-right:var(--calcite-border-width-sm) solid var(--calcite-color-border-1);border-left:var(--calcite-border-width-sm) solid var(--calcite-color-border-1);width:var(--calcite-border-width-lg);height:100%}.arcgis-swipe--vertical .arcgis-swipe__divider{top:calc(var(--calcite-spacing-xxxl) / 2);left:0;margin-top:calc(var(--calcite-border-width-lg) * .5 * -1);border-top:var(--calcite-border-width-sm) solid var(--calcite-color-border-1);border-bottom:var(--calcite-border-width-sm) solid var(--calcite-color-border-1);width:100%;height:var(--calcite-border-width-lg)}.arcgis-swipe__handle{display:flex;position:relative;align-items:center;justify-content:center;border:var(--calcite-border-width-sm) solid var(--calcite-color-border-1);border-radius:var(--calcite-corner-radius-round);background-color:var(--calcite-color-background);width:var(--calcite-spacing-xxxl);height:var(--calcite-spacing-xxxl);color:var(--calcite-color-border-input)}.arcgis-swipe__handle--hidden{visibility:hidden}.arcgis-swipe--vertical .arcgis-swipe__handle{rotate:90deg}.arcgis-swipe__handle-icon{position:relative;z-index:2}.arcgis-swipe--horizontal .arcgis-swipe__handle{top:calc(50% - calc(var(--calcite-spacing-xxxl) / 2))}.arcgis-swipe--vertical .arcgis-swipe__handle{left:calc(50% - calc(var(--calcite-spacing-xxxl) / 2))}.arcgis-swipe__container:focus .arcgis-swipe__handle,.arcgis-swipe__container:focus .arcgis-swipe__divider{outline:inset 2px var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)))}.arcgis-swipe__container:focus .arcgis-swipe__handle{outline-offset:calc(-2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}`,l="arcgis-swipe",n={base:l,baseDisabled:`${l}--disabled`,vertical:`${l}--vertical`,horizontal:`${l}--horizontal`,container:`${l}__container`,divider:`${l}__divider`,handle:`${l}__handle`,handleHidden:`${l}__handle--hidden`,handleIcon:`${l}__handle-icon`},O=z(M),f=class extends y{constructor(){super(...arguments),this._container=null,this._swiping=!1,this.messages=C({}),this._pointerOffset=0,this.viewModel=O(this),this._onContainerPointerDown=e=>{e.preventDefault();let{_container:i}=this;i&&document.activeElement!==this.el&&i.focus(),this._swiping=!0,this._calculatePointerOffset(e)},this.autoDestroyDisabled=!1,this.direction=this.viewModel.direction,this.disabled=!1,this.hideDivider=!1,this.hideHandle=!1,this.icon="compare",this.label=this.messages.componentLabel,this.leadingLayers=this.viewModel.leadingLayers,this.position="manual",this.swipePosition=this.viewModel.position,this.state=this.viewModel.state,this.trailingLayers=this.viewModel.trailingLayers,this.arcgisPropertyChange=b()("state"),this.arcgisReady=$()}static{this.properties={autoDestroyDisabled:5,direction:3,disabled:7,hideDivider:7,hideHandle:7,icon:3,label:1,leadingLayers:0,messageOverrides:0,position:3,swipePosition:9,referenceElement:1,state:3,trailingLayers:0}}static{this.shadowRootOptions=m}static{this.styles=H}async destroy(){await this.manager.destroy()}loaded(){this.listenOn(document,"pointermove",this._onContainerPointerMove),this.listenOn(document,"pointerup",this._onContainerPointerUp)}_calculatePointerOffset(e){let{direction:i}=this,t=e.target,r=(i==="vertical"?t.clientHeight:t.clientWidth)/2,a=t.getBoundingClientRect(),o=e.clientX-a.left,d=e.clientY-a.top;this._pointerOffset=i==="vertical"?d-r:o-r}_onContainerPointerUp(e){this._swiping&&(e.preventDefault(),this._swiping=!1)}_onContainerPointerMove(e){if(!this._swiping)return;e.preventDefault();let{_pointerOffset:i,el:t,direction:r}=this,{clientX:a,clientY:o}=e,{top:d,left:s,width:c,height:h}=t.getBoundingClientRect(),A=r==="vertical"?h:c,L=(r==="vertical"?o-d-i:a-s-i)/A*100;this.swipePosition=L}_getKeyPosition(e){let{key:i}=e,{swipePosition:t}=this,{max:r,min:a,step:o,stepMultiplier:d,direction:s}=this.viewModel,c=o*d;if(["ArrowUp","ArrowDown","ArrowLeft","ArrowRight","Home","End","PageUp","PageDown"].includes(i)&&(e.preventDefault(),e.stopPropagation()),s==="vertical"?i==="ArrowDown"||i==="ArrowRight":i==="ArrowUp"||i==="ArrowRight"){let h=e.shiftKey?c:o;return t+h}if(s==="vertical"?i==="ArrowUp"||i==="ArrowLeft":i==="ArrowDown"||i==="ArrowLeft"){let h=e.shiftKey?c:o;return t-h}return i==="Home"?a:i==="End"?r:(s==="vertical"?i==="PageDown":i==="PageUp")?t+c:(s==="vertical"?i==="PageUp":i==="PageDown")?t-c:null}_onContainerKeyDown(e){let i=this._getKeyPosition(e);typeof i=="number"&&(this.swipePosition=i)}render(){let{state:e,direction:i}=this.viewModel,t=e==="disabled"||this.disabled,r={[_.disabled]:t,[n.baseDisabled]:t,[n.vertical]:i==="vertical",[n.horizontal]:i==="horizontal"};return g`<div class=${p(w(n.base,_.widget,r))}>${e==="disabled"?null:this._renderContainer()}</div>`}_renderHandle(){let{direction:e}=this.viewModel,{hideHandle:i}=this,t={[u.dragHorizontal]:e==="vertical",[u.dragVertical]:e==="horizontal"},r=w(n.handle,!!i&&n.handleHidden);return g`<div class=${p(r)} role=presentation><span aria-hidden=true class=${p(w(n.handleIcon,t))}></span></div>`}_renderDivider(){return this.hideDivider?null:g`<div class=${p(n.divider)} role=presentation></div>`}_renderContent(){return[this._renderDivider(),this._renderHandle()]}_renderContainer(){let{disabled:e,viewModel:i}=this,{max:t,min:r,direction:a,position:o}=i,d=this.label??this.messages.dragLabel??"",s=`${o}%`,c={top:a==="vertical"?s:void 0,left:a==="vertical"?void 0:s},h=this._renderContent();return e?g`<div class=${p(n.container)} role=presentation style=${v(c)}>${h}</div>`:g`<div @pointerdown=${this._onContainerPointerDown} .ariaLabel=${d} .ariaOrientation=${a} .ariaValueMax=${`${t}`} .ariaValueMin=${`${r}`} .ariaValueNow=${`${o}`} .ariaValueText=${s} class=${p(n.container)} @keydown=${this._onContainerKeyDown} role=slider style=${v(c)} tabindex=0 title=${d??D} touch-action=none>${h}</div>`}};P("arcgis-swipe",f);export{f as ArcgisSwipe};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
3
|
-
v4.32.0-next.
|
|
4
|
-
import{a as d}from"./
|
|
3
|
+
v4.32.0-next.84 */
|
|
4
|
+
import{a as d}from"./LABTBYBR.js";import"./XKFVFNRT.js";import{v as l}from"./WOWZWSL5.js";import"./PBYUEHJ2.js";import{B as s,C as a,H as h,g as i,s as t}from"./ALE6KF3F.js";var o=t`arcgis-daylight{display:block}`,n=d(l),e=class extends a{constructor(){super(...arguments),this.widget=n(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.currentSeason=this.viewModel.currentSeason,this.dateOrSeason=this.widget.dateOrSeason,this.dayPlaying=this.viewModel.dayPlaying,this.headingLevel=this.widget.headingLevel,this.hideDatePicker=this.widget.visibleElements.datePicker,this.hideHeader=this.widget.visibleElements.header,this.hidePlayButtons=this.widget.visibleElements.playButtons,this.hideShadowsToggle=this.widget.visibleElements.shadowsToggle,this.hideSunLightingToggle=this.widget.visibleElements.sunLightingToggle,this.hideTimezone=this.widget.visibleElements.timezone,this.icon=this.widget.icon,this.label=this.widget.label,this.playSpeedMultiplier=this.widget.playSpeedMultiplier,this.position="bottom-left",this.timeSliderSteps=this.widget.timeSliderSteps,this.yearPlaying=this.viewModel.yearPlaying,this.arcgisReady=s()}static{this.properties={autoDestroyDisabled:5,currentSeason:1,dateOrSeason:1,dayPlaying:5,headingLevel:9,hideDatePicker:5,hideHeader:5,hidePlayButtons:5,hideShadowsToggle:5,hideSunLightingToggle:5,hideTimezone:5,icon:1,label:1,playSpeedMultiplier:9,position:1,referenceElement:1,timeSliderSteps:9,yearPlaying:5}}static{this.shadowRootOptions=i}static{this.styles=o}async destroy(){await this.manager.destroy()}};h("arcgis-daylight",e);export{e as ArcgisDaylight};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
3
|
-
v4.32.0-next.
|
|
4
|
-
import{a as n}from"./
|
|
3
|
+
v4.32.0-next.84 */
|
|
4
|
+
import{a as n}from"./LABTBYBR.js";import{d as h}from"./XKFVFNRT.js";import{H as l}from"./WOWZWSL5.js";import"./PBYUEHJ2.js";import{B as o,C as r,H as a,g as e,r as i,s}from"./ALE6KF3F.js";var d=s`arcgis-feature-templates{display:block}`,c=n(l),t=class extends r{constructor(){super(...arguments),this.widget=c(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.enableListScroll=this.widget.enableListScroll,this.filterFunction=this.widget.filterFunction,this.filterText=this.widget.filterText,this.groupBy=this.widget.groupBy,this.headingLevel=this.widget.headingLevel,this.hideFilter=this.widget.visibleElements.filter,this.icon=this.widget.icon,this.label=this.widget.label,this.layers=this.widget.layers,this.position="bottom-left",this.selectionMode=this.widget.selectionMode,this.state=this.viewModel.state,this.arcgisPropertyChange=i()("state"),this.arcgisReady=o(),this.arcgisSelect=h(()=>this.widget,"select")}static{this.properties={autoDestroyDisabled:5,enableListScroll:5,filterFunction:0,filterText:1,groupBy:1,headingLevel:9,hideFilter:5,icon:1,label:1,layers:0,position:1,referenceElement:1,selectionMode:1,state:3}}static{this.shadowRootOptions=e}static{this.styles=d}async destroy(){await this.manager.destroy()}};a("arcgis-feature-templates",t);export{t as ArcgisFeatureTemplates};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
3
|
-
v4.32.0-next.
|
|
4
|
-
import{a as g,b as p}from"./
|
|
3
|
+
v4.32.0-next.84 */
|
|
4
|
+
import{a as g,b as p}from"./4HWKFVOD.js";import"./XKFVFNRT.js";import{ka as z}from"./WOWZWSL5.js";import"./PBYUEHJ2.js";import{B as u,C as h,D as s,F as i,H as d,a as t,g as n,r as l,s as c,t as m}from"./ALE6KF3F.js";var o={base:"arcgis-zoom",horizontalLayout:"arcgis-zoom--horizontal",button:"esri-widget--button",zoomIn:"arcgis-zoom__zoom-in",zoomOut:"arcgis-zoom__zoom-out"},f=c`arcgis-zoom,.arcgis-zoom{display:flex;flex-flow:column nowrap}.arcgis-zoom__zoom-out{border-block-start:solid 1px var(--calcite-color-border-1)}.arcgis-zoom--horizontal{flex-flow:row-reverse nowrap}.arcgis-zoom--horizontal .arcgis-zoom__zoom-out{border-block-start:none;border-inline-end:solid 1px var(--calcite-color-border-1)}`,v=p(z),a=class extends h{constructor(){super(...arguments),this.messages=g({}),this.viewModel=v(this),this.canZoomIn=this.viewModel.canZoomIn,this.canZoomOut=this.viewModel.canZoomOut,this.autoDestroyDisabled=!1,this.icon="magnifying-glass-plus",this.layout="vertical",this.position="top-left",this.state=this.viewModel.state,this.arcgisPropertyChange=l()("state"),this.arcgisReady=u()}static{this.properties={canZoomIn:16,canZoomOut:16,autoDestroyDisabled:5,icon:3,label:1,layout:3,messageOverrides:0,position:1,referenceElement:1,state:3}}static{this.shadowRootOptions=n}static{this.styles=f}async destroy(){await this.manager.destroy()}async zoomIn(){this.viewModel.zoomIn()}async zoomOut(){this.viewModel.zoomOut()}render(){let b={[o.horizontalLayout]:this.layout==="horizontal"},{canZoomIn:w,canZoomOut:y}=this.viewModel,{zoomIn:e,zoomOut:r}=this.messages;return m`<div class=${s(t(o.base,b))}><calcite-button class=${s(t(o.button,o.zoomIn))} .disabled=${!w} icon-start=plus kind=neutral .label=${e} @click=${this.zoomIn} title=${e??i}></calcite-button><calcite-button class=${s(t(o.button,o.zoomOut))} .disabled=${!y} icon-start=minus kind=neutral .label=${r} @click=${this.zoomOut} title=${r??i}></calcite-button></div>`}};d("arcgis-zoom",a);export{a as ArcgisZoom};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
3
|
-
v4.32.0-next.
|
|
4
|
-
import{a as c}from"./
|
|
3
|
+
v4.32.0-next.84 */
|
|
4
|
+
import{a as c}from"./LABTBYBR.js";import"./XKFVFNRT.js";import{z as n}from"./WOWZWSL5.js";import"./PBYUEHJ2.js";import{B as a,C as o,H as r,g as s,r as i,s as e}from"./ALE6KF3F.js";var h=e`arcgis-distance-measurement-2d{display:block}`,m=c(n),t=class extends o{constructor(){super(...arguments),this.widget=m(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.icon=this.widget.icon,this.label=this.widget.label,this.position="bottom-left",this.state=this.viewModel.state,this.unit=this.widget.unit,this.unitOptions=this.widget.unitOptions,this.arcgisPropertyChange=i()("state"),this.arcgisReady=a()}static{this.properties={autoDestroyDisabled:5,icon:1,label:1,position:1,referenceElement:1,state:3,unit:1,unitOptions:0}}static{this.shadowRootOptions=s}static{this.styles=h}async destroy(){await this.manager.destroy()}};r("arcgis-distance-measurement-2d",t);export{t as ArcgisDistanceMeasurement2d};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
3
|
-
v4.32.0-next.
|
|
4
|
-
import{a as d}from"./
|
|
3
|
+
v4.32.0-next.84 */
|
|
4
|
+
import{a as d}from"./D5YSPPQY.js";import{a as k,b as C}from"./4HWKFVOD.js";import"./XKFVFNRT.js";import{na as S,p as M}from"./WOWZWSL5.js";import"./PBYUEHJ2.js";import{B as f,C as T,D as a,E as p,F as o,H as x,a as m,g as y,p as _,r as w,s as B,t as l}from"./ALE6KF3F.js";var t="esri-basemap-toggle",r="esri-basemap-thumbnail",e={base:t,secondaryBasemapImage:`${t}__image--secondary`,container:`${r} ${t}__container`,image:`${r}__image ${t}__image`,imageLoading:`${t}__image--loading`,overlay:`${r}__overlay ${t}__image-overlay`,title:`${r}__title ${t}__title`,overlayScrim:`${r}__overlay-scrim`},L=B`arcgis-basemap-toggle{display:block}`,R=C(M),g=class extends T{constructor(){super(...arguments),this.basemapUtils=_(S),this.messages=k(),this.viewModel=R(this),this.activeBasemap=this.viewModel.activeBasemap,this.autoDestroyDisabled=!1,this.icon="layer-basemap",this.nextBasemap=this.viewModel.nextBasemap,this.position="top-left",this.showTitle=!1,this.state=this.viewModel.state,this.arcgisPropertyChange=w()("nextBasemap","state"),this.arcgisReady=f()}static{this.properties={activeBasemap:0,autoDestroyDisabled:5,icon:3,label:1,messageOverrides:0,nextBasemap:0,position:3,referenceElement:1,showTitle:5,state:3}}static{this.shadowRootOptions=y}static{this.styles=L}async destroy(){await this.manager.destroy()}async toggle(){return await this.viewModel.toggle()}_getThumbnailStyles(s){let n=this.basemapUtils.getBasemapThumbnailUrl(s);return n?{backgroundImage:`url(${n})`}:{backgroundImage:""}}render(){let s=this.viewModel,n=s.state==="disabled"?null:s.activeBasemap,i=s.state==="disabled"?null:s.nextBasemap,D=s.state==="loading",h=s.state==="incompatible-next-basemap",c=i?.title??"",$=i&&i.loadStatus!=="loaded",v,b=this.showTitle&&c,u=h,I=b||u,U=this._getThumbnailStyles(n),A=this._getThumbnailStyles(i);return I&&(v=l`<div class=${a(e.overlay)}>${b?l`<span class=${a(e.title)} title=${c??o}>${c}</span>`:null}${u?l`<calcite-scrim class=${a(e.overlayScrim)} title=${this.messages.incompatibleSpatialReference??o}><calcite-icon icon=exclamation-mark-triangle></calcite-icon></calcite-scrim>`:null}</div>`),l`<div class=${a(m(e.base,d.widget))}><calcite-button appearance=transparent data-basemap-id=${(i?i.id:"")??o} .disabled=${h} kind=neutral .label=${this.label??void 0} @click=${()=>void this.toggle()} title=${this.label??void 0??o}><div class=${a(m(e.container,e.secondaryBasemapImage))}><div class=${a(e.image)} style=${p(U)}></div></div><div class=${a(e.container)}><div class=${a(m(e.image,$?e.imageLoading:null))} style=${p(A)}>${$||D?l`<calcite-scrim><span aria-hidden=true class=${a(d.loaderAnimation)} role=presentation></span></calcite-scrim>`:null}</div>${v}</div></calcite-button></div>`}};x("arcgis-basemap-toggle",g);export{g as ArcgisBasemapToggle};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
3
|
-
v4.32.0-next.
|
|
4
|
-
import{a as c}from"./
|
|
3
|
+
v4.32.0-next.84 */
|
|
4
|
+
import{a as c}from"./LABTBYBR.js";import{d as t}from"./XKFVFNRT.js";import{$ as m}from"./WOWZWSL5.js";import"./PBYUEHJ2.js";import{B as h,C as l,H as g,g as s,r as a,s as n}from"./ALE6KF3F.js";var r=n`arcgis-slider{min-width:200px;min-height:25px}`,d=c(m),i=class extends l{constructor(){super(...arguments),this.widget=d(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.draggableSegmentsEnabled=this.widget.draggableSegmentsEnabled,this.effectiveMax=this.widget.effectiveMax,this.effectiveMin=this.widget.effectiveMin,this.effectiveSegmentElements=this.widget.effectiveSegmentElements,this.icon=this.widget.icon,this.label=this.widget.label,this.labelElements=this.widget.labelElements,this.labelInputsEnabled=this.widget.labelInputsEnabled,this.labels=this.widget.labels,this.layout=this.widget.layout,this.max=this.widget.max,this.maxLabelElement=this.widget.maxLabelElement,this.min=this.widget.min,this.minLabelElement=this.widget.minLabelElement,this.position="bottom-left",this.precision=this.widget.precision,this.rangeLabelInputsEnabled=this.widget.rangeLabelInputsEnabled,this.segmentElements=this.widget.segmentElements,this.snapOnClickEnabled=this.widget.snapOnClickEnabled,this.state=this.widget.state,this.steps=this.widget.steps,this.syncedSegmentsEnabled=this.widget.syncedSegmentsEnabled,this.thumbElements=this.widget.thumbElements,this.thumbsConstrained=this.widget.thumbsConstrained,this.tickConfigs=this.widget.tickConfigs,this.tickElements=this.widget.tickElements,this.trackElement=this.widget.trackElement,this.values=this.widget.values,this.arcgisMaxChange=t(()=>this.widget,"max-change"),this.arcgisMaxClick=t(()=>this.widget,"max-click"),this.arcgisMinChange=t(()=>this.widget,"min-change"),this.arcgisMinClick=t(()=>this.widget,"min-click"),this.arcgisPropertyChange=a()("state"),this.arcgisReady=h(),this.arcgisSegmentClick=t(()=>this.widget,"segment-click"),this.arcgisSegmentDrag=t(()=>this.widget,"segment-drag"),this.arcgisThumbChange=t(()=>this.widget,"thumb-change"),this.arcgisThumbClick=t(()=>this.widget,"thumb-click"),this.arcgisThumbDrag=t(()=>this.widget,"thumb-drag"),this.arcgisTickClick=t(()=>this.widget,"tick-click"),this.arcgisTrackClick=t(()=>this.widget,"track-click")}static{this.properties={autoDestroyDisabled:5,draggableSegmentsEnabled:5,effectiveMax:9,effectiveMin:9,effectiveSegmentElements:0,icon:1,label:1,labelElements:0,labelInputsEnabled:5,labels:0,layout:1,max:9,maxLabelElement:0,min:9,minLabelElement:0,position:1,precision:9,rangeLabelInputsEnabled:5,referenceElement:1,segmentElements:0,snapOnClickEnabled:5,state:3,steps:[9,{converter:e=>typeof e=="string"?e.split(",").map(Number):e}],syncedSegmentsEnabled:5,thumbElements:0,thumbsConstrained:5,tickConfigs:0,tickElements:0,trackElement:0,values:[1,{converter:e=>typeof e=="string"?e.split(",").map(Number):e}]}}static{this.shadowRootOptions=s}static{this.styles=r}async destroy(){await this.manager.destroy()}};g("arcgis-slider",i);export{i as ArcgisSlider};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
3
|
-
v4.32.0-next.
|
|
4
|
-
import{a as c}from"./
|
|
3
|
+
v4.32.0-next.84 */
|
|
4
|
+
import{a as c}from"./LABTBYBR.js";import"./XKFVFNRT.js";import{W as o}from"./WOWZWSL5.js";import"./PBYUEHJ2.js";import{B as a,C as l,H as n,g as i,r as t,s}from"./ALE6KF3F.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:0,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,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
3
|
-
v4.32.0-next.
|
|
4
|
-
import{a as u}from"./
|
|
3
|
+
v4.32.0-next.84 */
|
|
4
|
+
import{a as u}from"./D5YSPPQY.js";import{a as G,b as K}from"./4HWKFVOD.js";import"./XKFVFNRT.js";import{la as k,n as E,na as T}from"./WOWZWSL5.js";import"./PBYUEHJ2.js";import{B as L,C as R,D as m,E as D,F as h,H as U,I as A,a as b,g as B,p as w,r as S,s as x,t as n,u as C,v as I}from"./ALE6KF3F.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 .label=${t.tag3D}>${t.tag3D}</calcite-chip>`}function Y(t){return n`<calcite-chip appearance=outline-fill scale=s .label=${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._width=0,this._state="",this._itemsState="",this.activeBasemap=this.viewModel.activeBasemap,this.autoDestroyDisabled=!1,this.disabled=!1,this.headingLevel=2,this.icon="basemap",this.label="",this.position="bottom-left",this.source=this.viewModel.source,this.state=this.viewModel.state,this.arcgisPropertyChange=S()("activeBasemap","state"),this.arcgisReady=L()}static{this.properties={_width:16,_state:16,_itemsState:16,activeBasemap:0,autoDestroyDisabled:5,disabled:7,headingLevel:9,icon:1,label:1,position:1,referenceElement:1,source:0,state:3}}static{this.shadowRootOptions=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)}_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)}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>`}};U("arcgis-basemap-gallery",_);export{_ as ArcgisBasemapGallery};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
3
|
-
v4.32.0-next.
|
|
4
|
-
import{a as d}from"./
|
|
3
|
+
v4.32.0-next.84 */
|
|
4
|
+
import{a as d}from"./LABTBYBR.js";import"./XKFVFNRT.js";import{L as n}from"./WOWZWSL5.js";import"./PBYUEHJ2.js";import{B as a,C as r,H as o,g as i,r as e,s}from"./ALE6KF3F.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};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
3
|
-
v4.32.0-next.
|
|
4
|
-
import{a as S}from"./ONE2UFPZ.js";import{b as m}from"./GIEN743A.js";import{ea as c}from"./HZXLMWI4.js";import{b as r,c as h,i as A}from"./3TIH7FJM.js";import{B as n,C as l,H as a,g as e,t as o}from"./5R7JAA4K.js";var s=class extends l{constructor(){super(...arguments),this._watchHandles=[],this.autoRefreshAssociationsDisabled=!1,this.includeConnectivityAssociationsDisabled=!1,this.includeStructuralAttachmentAssociationsDisabled=!1,this.maxAllowableAssociations=250,this.position="bottom-left",this.showArrowsConnectivity=!1,this.showArrowsStructuralAttachment=!1,this.showAssociationsEnabled=!1,this.visibleElementsConnectivityAssociationsSettingsArrowsToggle=!0,this.visibleElementsConnectivityAssociationsSettingsCapSelect=!0,this.visibleElementsConnectivityAssociationsSettingsColorPicker=!0,this.visibleElementsConnectivityAssociationsSettingsStylePicker=!0,this.visibleElementsConnectivityAssociationsSettingsWidthInput=!0,this.visibleElementsMaxAllowableAssociationsSlider=!0,this.visibleElementsStructuralAttachmentAssociationsSettingsArrowsToggle=!0,this.visibleElementsStructuralAttachmentAssociationsSettingsCapSelect=!0,this.visibleElementsStructuralAttachmentAssociationsSettingsColorPicker=!0,this.visibleElementsStructuralAttachmentAssociationsSettingsStylePicker=!0,this.visibleElementsStructuralAttachmentAssociationsSettingsWidthInput=!0,this.arcgisReady=n()}static{this.properties={autoRefreshAssociationsDisabled:5,connectivityAssociationsLineSymbol:0,includeConnectivityAssociationsDisabled:5,includeStructuralAttachmentAssociationsDisabled:5,maxAllowableAssociations:9,maxAllowableAssociationsSliderMax:9,maxAllowableAssociationsSliderMin:9,maxAllowableAssociationsSliderStep:9,position:1,referenceElement:1,showArrowsConnectivity:5,showArrowsStructuralAttachment:5,showAssociationsEnabled:5,structuralAttachmentAssociationsLineSymbol:0,utilityNetwork:0,view:0,visibleElementsConnectivityAssociationsSettingsArrowsToggle:5,visibleElementsConnectivityAssociationsSettingsCapSelect:5,visibleElementsConnectivityAssociationsSettingsColorPicker:5,visibleElementsConnectivityAssociationsSettingsStylePicker:5,visibleElementsConnectivityAssociationsSettingsWidthInput:5,visibleElementsMaxAllowableAssociationsSlider:5,visibleElementsStructuralAttachmentAssociationsSettingsArrowsToggle:5,visibleElementsStructuralAttachmentAssociationsSettingsCapSelect:5,visibleElementsStructuralAttachmentAssociationsSettingsColorPicker:5,visibleElementsStructuralAttachmentAssociationsSettingsStylePicker:5,visibleElementsStructuralAttachmentAssociationsSettingsWidthInput:5,widget:0}}static{this.shadowRootOptions=e}willUpdate(t){if(t.has("referenceElement")&&A(this,this.referenceElement),this.widget){if(t.has("autoRefreshAssociationsDisabled")){let i=this.autoRefreshAssociationsDisabled;i!==void 0&&(this.widget.autoRefreshAssociations=!i)}if(t.has("connectivityAssociationsLineSymbol")){let i=this.connectivityAssociationsLineSymbol;i&&(this.widget.connectivityAssociationsLineSymbol=i)}if(t.has("includeConnectivityAssociationsDisabled")){let i=this.includeConnectivityAssociationsDisabled;i!==void 0&&(this.widget.includeConnectivityAssociations=!i)}if(t.has("includeStructuralAttachmentAssociationsDisabled")){let i=this.includeStructuralAttachmentAssociationsDisabled;i!==void 0&&(this.widget.includeStructuralAttachmentAssociations=!i)}if(t.has("maxAllowableAssociations")){let i=this.maxAllowableAssociations;i!==void 0&&(this.widget.maxAllowableAssociations=i)}if(t.has("maxAllowableAssociationsSliderMax")){let i=this.maxAllowableAssociationsSliderMax;i!==void 0&&(this.widget.maxAllowableAssociationsSliderMax=i)}if(t.has("maxAllowableAssociationsSliderMin")){let i=this.maxAllowableAssociationsSliderMin;i!==void 0&&(this.widget.maxAllowableAssociationsSliderMin=i)}if(t.has("maxAllowableAssociationsSliderStep")){let i=this.maxAllowableAssociationsSliderStep;i!==void 0&&(this.widget.maxAllowableAssociationsSliderStep=i)}if(t.has("showArrowsConnectivity")){let i=this.showArrowsConnectivity;i!==void 0&&(this.widget.showArrowsConnectivity=i)}if(t.has("showArrowsStructuralAttachment")){let i=this.showArrowsStructuralAttachment;i!==void 0&&(this.widget.showArrowsStructuralAttachment=i)}if(t.has("showAssociationsEnabled")){let i=this.showAssociationsEnabled;i!==void 0&&(this.widget.showAssociationsEnabled=i)}if(t.has("structuralAttachmentAssociationsLineSymbol")){let i=this.structuralAttachmentAssociationsLineSymbol;i!==void 0&&(this.widget.structuralAttachmentAssociationsLineSymbol=i)}}if(t.has("utilityNetwork")){let i=this.utilityNetwork;i!==void 0&&(this.widget.utilityNetwork=i)}t.has("visibleElementsConnectivityAssociationsSettingsArrowsToggle")&&this.visibleElementsConnectivityAssociationsSettingsArrowsToggleWatcher(this.visibleElementsConnectivityAssociationsSettingsArrowsToggle),t.has("visibleElementsConnectivityAssociationsSettingsCapSelect")&&this.visibleElementsConnectivityAssociationsSettingsCapSelectWatcher(this.visibleElementsConnectivityAssociationsSettingsCapSelect),t.has("visibleElementsConnectivityAssociationsSettingsColorPicker")&&this.visibleElementsConnectivityAssociationsSettingsColorPickerWatcher(this.visibleElementsConnectivityAssociationsSettingsColorPicker),t.has("visibleElementsConnectivityAssociationsSettingsStylePicker")&&this.visibleElementsConnectivityAssociationsSettingsStylePickerWatcher(this.visibleElementsConnectivityAssociationsSettingsStylePicker),t.has("visibleElementsConnectivityAssociationsSettingsWidthInput")&&this.visibleElementsConnectivityAssociationsSettingsWidthInputWatcher(this.visibleElementsConnectivityAssociationsSettingsWidthInput),t.has("visibleElementsMaxAllowableAssociationsSlider")&&this.visibleElementsMaxAllowableAssociationsSliderWatcher(this.visibleElementsMaxAllowableAssociationsSlider),t.has("visibleElementsStructuralAttachmentAssociationsSettingsArrowsToggle")&&this.visibleElementsStructuralAttachmentAssociationsSettingsArrowsToggleWatcher(this.visibleElementsStructuralAttachmentAssociationsSettingsArrowsToggle),t.has("visibleElementsStructuralAttachmentAssociationsSettingsCapSelect")&&this.visibleElementsStructuralAttachmentAssociationsSettingsCapSelectWatcher(this.visibleElementsStructuralAttachmentAssociationsSettingsCapSelect),t.has("visibleElementsStructuralAttachmentAssociationsSettingsStylePicker")&&this.visibleElementsStructuralAttachmentAssociationsSettingsStylePickerWatcher(this.visibleElementsStructuralAttachmentAssociationsSettingsStylePicker),t.has("visibleElementsStructuralAttachmentAssociationsSettingsWidthInput")&&this.visibleElementsStructuralAttachmentAssociationsSettingsWidthInputWatcher(this.visibleElementsStructuralAttachmentAssociationsSettingsWidthInput),t.has("position")&&this.positionWatcher(this.position),t.has("view")&&this.viewWatcher(this.view)}async loaded(){let t=this._createParams(),i=await c(t);this.widget=i,this._addContainer(),h(this),r(this)}disconnectedCallback(){super.disconnectedCallback(),S(this)}visibleElementsConnectivityAssociationsSettingsArrowsToggleWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,connectivityAssociationsSettings:{...this.widget.visibleElements.connectivityAssociationsSettings,arrowsToggle:t}})}visibleElementsConnectivityAssociationsSettingsCapSelectWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,connectivityAssociationsSettings:{...this.widget.visibleElements.connectivityAssociationsSettings,capSelect:t}})}visibleElementsConnectivityAssociationsSettingsColorPickerWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,connectivityAssociationsSettings:{...this.widget.visibleElements.connectivityAssociationsSettings,colorPicker:t}})}visibleElementsConnectivityAssociationsSettingsStylePickerWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,connectivityAssociationsSettings:{...this.widget.visibleElements.connectivityAssociationsSettings,stylePicker:t}})}visibleElementsConnectivityAssociationsSettingsWidthInputWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,connectivityAssociationsSettings:{...this.widget.visibleElements.connectivityAssociationsSettings,widthInput:t}})}visibleElementsMaxAllowableAssociationsSliderWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,maxAllowableAssociationsSlider:t})}visibleElementsStructuralAttachmentAssociationsSettingsArrowsToggleWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,structuralAttachmentAssociationsSettings:{...this.widget.visibleElements.structuralAttachmentAssociationsSettings,arrowsToggle:t}})}visibleElementsStructuralAttachmentAssociationsSettingsCapSelectWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,structuralAttachmentAssociationsSettings:{...this.widget.visibleElements.structuralAttachmentAssociationsSettings,capSelect:t}})}visibleElementsStructuralAttachmentAssociationsSettingsStylePickerWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,structuralAttachmentAssociationsSettings:{...this.widget.visibleElements.structuralAttachmentAssociationsSettings,stylePicker:t}})}visibleElementsStructuralAttachmentAssociationsSettingsWidthInputWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,structuralAttachmentAssociationsSettings:{...this.widget.visibleElements.structuralAttachmentAssociationsSettings,widthInput:t}})}positionWatcher(t){t!==void 0&&this.widget&&this.el.childElem&&this.view.ui.move(this.el.childElem,t)}viewWatcher(t){t!==void 0&&this.widget&&(this.widget.view=t,this._loadUtilityNetwork())}_addContainer(){this.widget.container=this.el.childElem}_createParams(){let t={};return t.visibleElements={connectivityAssociationsSettings:{arrowsToggle:this.visibleElementsConnectivityAssociationsSettingsArrowsToggle,capSelect:this.visibleElementsConnectivityAssociationsSettingsCapSelect,colorPicker:this.visibleElementsConnectivityAssociationsSettingsColorPicker,stylePicker:this.visibleElementsConnectivityAssociationsSettingsStylePicker,widthInput:this.visibleElementsConnectivityAssociationsSettingsWidthInput},maxAllowableAssociationsSlider:this.visibleElementsMaxAllowableAssociationsSlider,structuralAttachmentAssociationsSettings:{arrowsToggle:this.visibleElementsStructuralAttachmentAssociationsSettingsArrowsToggle,capSelect:this.visibleElementsStructuralAttachmentAssociationsSettingsCapSelect,colorPicker:this.visibleElementsStructuralAttachmentAssociationsSettingsColorPicker,stylePicker:this.visibleElementsStructuralAttachmentAssociationsSettingsStylePicker,widthInput:this.visibleElementsStructuralAttachmentAssociationsSettingsWidthInput}},this.autoRefreshAssociationsDisabled!==void 0&&(t.autoRefreshAssociations=!this.autoRefreshAssociationsDisabled),this.connectivityAssociationsLineSymbol!==void 0&&(t.connectivityAssociationsLineSymbol=this.connectivityAssociationsLineSymbol),this.includeConnectivityAssociationsDisabled!==void 0&&(t.includeConnectivityAssociations=!this.includeConnectivityAssociationsDisabled),this.includeStructuralAttachmentAssociationsDisabled!==void 0&&(t.includeStructuralAttachmentAssociations=!this.includeStructuralAttachmentAssociationsDisabled),this.maxAllowableAssociations!==void 0&&(t.maxAllowableAssociations=this.maxAllowableAssociations),this.maxAllowableAssociationsSliderMax!==void 0&&(t.maxAllowableAssociationsSliderMax=this.maxAllowableAssociationsSliderMax),this.maxAllowableAssociationsSliderMin!==void 0&&(t.maxAllowableAssociationsSliderMin=this.maxAllowableAssociationsSliderMin),this.maxAllowableAssociationsSliderStep!==void 0&&(t.maxAllowableAssociationsSliderStep=this.maxAllowableAssociationsSliderStep),this.showArrowsConnectivity!==void 0&&(t.showArrowsConnectivity=this.showArrowsConnectivity),this.showArrowsStructuralAttachment!==void 0&&(t.showArrowsStructuralAttachment=this.showArrowsStructuralAttachment),this.showAssociationsEnabled!==void 0&&(t.showAssociationsEnabled=this.showAssociationsEnabled),this.structuralAttachmentAssociationsLineSymbol!==void 0&&(t.structuralAttachmentAssociationsLineSymbol=this.structuralAttachmentAssociationsLineSymbol),this.utilityNetwork!==void 0&&(t.utilityNetwork=this.utilityNetwork),t}async _loadUtilityNetwork(){if(this.view?.map&&this.view.map.portalItem){await this.view.map.load();let t=this.view.map.utilityNetworks.getItemAt(0);await t.load(),this.utilityNetwork=t}}_setChildElement(t){this.el.childElem=t}render(){return o`<div ${m(this._setChildElement)}></div>`}};a("arcgis-utility-network-associations",s);export{s as ArcgisUtilityNetworkAssociations};
|
|
3
|
+
v4.32.0-next.84 */
|
|
4
|
+
import{a as S}from"./CTCO63FH.js";import{b as m}from"./B2AHBB47.js";import{ea as c}from"./WOWZWSL5.js";import{b as r,c as h,i as A}from"./PBYUEHJ2.js";import{B as n,C as l,H as a,g as e,t as o}from"./ALE6KF3F.js";var s=class extends l{constructor(){super(...arguments),this._watchHandles=[],this.autoRefreshAssociationsDisabled=!1,this.includeConnectivityAssociationsDisabled=!1,this.includeStructuralAttachmentAssociationsDisabled=!1,this.maxAllowableAssociations=250,this.position="bottom-left",this.showArrowsConnectivity=!1,this.showArrowsStructuralAttachment=!1,this.showAssociationsEnabled=!1,this.visibleElementsConnectivityAssociationsSettingsArrowsToggle=!0,this.visibleElementsConnectivityAssociationsSettingsCapSelect=!0,this.visibleElementsConnectivityAssociationsSettingsColorPicker=!0,this.visibleElementsConnectivityAssociationsSettingsStylePicker=!0,this.visibleElementsConnectivityAssociationsSettingsWidthInput=!0,this.visibleElementsMaxAllowableAssociationsSlider=!0,this.visibleElementsStructuralAttachmentAssociationsSettingsArrowsToggle=!0,this.visibleElementsStructuralAttachmentAssociationsSettingsCapSelect=!0,this.visibleElementsStructuralAttachmentAssociationsSettingsColorPicker=!0,this.visibleElementsStructuralAttachmentAssociationsSettingsStylePicker=!0,this.visibleElementsStructuralAttachmentAssociationsSettingsWidthInput=!0,this.arcgisReady=n()}static{this.properties={autoRefreshAssociationsDisabled:5,connectivityAssociationsLineSymbol:0,includeConnectivityAssociationsDisabled:5,includeStructuralAttachmentAssociationsDisabled:5,maxAllowableAssociations:9,maxAllowableAssociationsSliderMax:9,maxAllowableAssociationsSliderMin:9,maxAllowableAssociationsSliderStep:9,position:1,referenceElement:1,showArrowsConnectivity:5,showArrowsStructuralAttachment:5,showAssociationsEnabled:5,structuralAttachmentAssociationsLineSymbol:0,utilityNetwork:0,view:0,visibleElementsConnectivityAssociationsSettingsArrowsToggle:5,visibleElementsConnectivityAssociationsSettingsCapSelect:5,visibleElementsConnectivityAssociationsSettingsColorPicker:5,visibleElementsConnectivityAssociationsSettingsStylePicker:5,visibleElementsConnectivityAssociationsSettingsWidthInput:5,visibleElementsMaxAllowableAssociationsSlider:5,visibleElementsStructuralAttachmentAssociationsSettingsArrowsToggle:5,visibleElementsStructuralAttachmentAssociationsSettingsCapSelect:5,visibleElementsStructuralAttachmentAssociationsSettingsColorPicker:5,visibleElementsStructuralAttachmentAssociationsSettingsStylePicker:5,visibleElementsStructuralAttachmentAssociationsSettingsWidthInput:5,widget:0}}static{this.shadowRootOptions=e}willUpdate(t){if(t.has("referenceElement")&&A(this,this.referenceElement),this.widget){if(t.has("autoRefreshAssociationsDisabled")){let i=this.autoRefreshAssociationsDisabled;i!==void 0&&(this.widget.autoRefreshAssociations=!i)}if(t.has("connectivityAssociationsLineSymbol")){let i=this.connectivityAssociationsLineSymbol;i&&(this.widget.connectivityAssociationsLineSymbol=i)}if(t.has("includeConnectivityAssociationsDisabled")){let i=this.includeConnectivityAssociationsDisabled;i!==void 0&&(this.widget.includeConnectivityAssociations=!i)}if(t.has("includeStructuralAttachmentAssociationsDisabled")){let i=this.includeStructuralAttachmentAssociationsDisabled;i!==void 0&&(this.widget.includeStructuralAttachmentAssociations=!i)}if(t.has("maxAllowableAssociations")){let i=this.maxAllowableAssociations;i!==void 0&&(this.widget.maxAllowableAssociations=i)}if(t.has("maxAllowableAssociationsSliderMax")){let i=this.maxAllowableAssociationsSliderMax;i!==void 0&&(this.widget.maxAllowableAssociationsSliderMax=i)}if(t.has("maxAllowableAssociationsSliderMin")){let i=this.maxAllowableAssociationsSliderMin;i!==void 0&&(this.widget.maxAllowableAssociationsSliderMin=i)}if(t.has("maxAllowableAssociationsSliderStep")){let i=this.maxAllowableAssociationsSliderStep;i!==void 0&&(this.widget.maxAllowableAssociationsSliderStep=i)}if(t.has("showArrowsConnectivity")){let i=this.showArrowsConnectivity;i!==void 0&&(this.widget.showArrowsConnectivity=i)}if(t.has("showArrowsStructuralAttachment")){let i=this.showArrowsStructuralAttachment;i!==void 0&&(this.widget.showArrowsStructuralAttachment=i)}if(t.has("showAssociationsEnabled")){let i=this.showAssociationsEnabled;i!==void 0&&(this.widget.showAssociationsEnabled=i)}if(t.has("structuralAttachmentAssociationsLineSymbol")){let i=this.structuralAttachmentAssociationsLineSymbol;i!==void 0&&(this.widget.structuralAttachmentAssociationsLineSymbol=i)}}if(t.has("utilityNetwork")){let i=this.utilityNetwork;i!==void 0&&(this.widget.utilityNetwork=i)}t.has("visibleElementsConnectivityAssociationsSettingsArrowsToggle")&&this.visibleElementsConnectivityAssociationsSettingsArrowsToggleWatcher(this.visibleElementsConnectivityAssociationsSettingsArrowsToggle),t.has("visibleElementsConnectivityAssociationsSettingsCapSelect")&&this.visibleElementsConnectivityAssociationsSettingsCapSelectWatcher(this.visibleElementsConnectivityAssociationsSettingsCapSelect),t.has("visibleElementsConnectivityAssociationsSettingsColorPicker")&&this.visibleElementsConnectivityAssociationsSettingsColorPickerWatcher(this.visibleElementsConnectivityAssociationsSettingsColorPicker),t.has("visibleElementsConnectivityAssociationsSettingsStylePicker")&&this.visibleElementsConnectivityAssociationsSettingsStylePickerWatcher(this.visibleElementsConnectivityAssociationsSettingsStylePicker),t.has("visibleElementsConnectivityAssociationsSettingsWidthInput")&&this.visibleElementsConnectivityAssociationsSettingsWidthInputWatcher(this.visibleElementsConnectivityAssociationsSettingsWidthInput),t.has("visibleElementsMaxAllowableAssociationsSlider")&&this.visibleElementsMaxAllowableAssociationsSliderWatcher(this.visibleElementsMaxAllowableAssociationsSlider),t.has("visibleElementsStructuralAttachmentAssociationsSettingsArrowsToggle")&&this.visibleElementsStructuralAttachmentAssociationsSettingsArrowsToggleWatcher(this.visibleElementsStructuralAttachmentAssociationsSettingsArrowsToggle),t.has("visibleElementsStructuralAttachmentAssociationsSettingsCapSelect")&&this.visibleElementsStructuralAttachmentAssociationsSettingsCapSelectWatcher(this.visibleElementsStructuralAttachmentAssociationsSettingsCapSelect),t.has("visibleElementsStructuralAttachmentAssociationsSettingsStylePicker")&&this.visibleElementsStructuralAttachmentAssociationsSettingsStylePickerWatcher(this.visibleElementsStructuralAttachmentAssociationsSettingsStylePicker),t.has("visibleElementsStructuralAttachmentAssociationsSettingsWidthInput")&&this.visibleElementsStructuralAttachmentAssociationsSettingsWidthInputWatcher(this.visibleElementsStructuralAttachmentAssociationsSettingsWidthInput),t.has("position")&&this.positionWatcher(this.position),t.has("view")&&this.viewWatcher(this.view)}async loaded(){let t=this._createParams(),i=await c(t);this.widget=i,this._addContainer(),h(this),r(this)}disconnectedCallback(){super.disconnectedCallback(),S(this)}visibleElementsConnectivityAssociationsSettingsArrowsToggleWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,connectivityAssociationsSettings:{...this.widget.visibleElements.connectivityAssociationsSettings,arrowsToggle:t}})}visibleElementsConnectivityAssociationsSettingsCapSelectWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,connectivityAssociationsSettings:{...this.widget.visibleElements.connectivityAssociationsSettings,capSelect:t}})}visibleElementsConnectivityAssociationsSettingsColorPickerWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,connectivityAssociationsSettings:{...this.widget.visibleElements.connectivityAssociationsSettings,colorPicker:t}})}visibleElementsConnectivityAssociationsSettingsStylePickerWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,connectivityAssociationsSettings:{...this.widget.visibleElements.connectivityAssociationsSettings,stylePicker:t}})}visibleElementsConnectivityAssociationsSettingsWidthInputWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,connectivityAssociationsSettings:{...this.widget.visibleElements.connectivityAssociationsSettings,widthInput:t}})}visibleElementsMaxAllowableAssociationsSliderWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,maxAllowableAssociationsSlider:t})}visibleElementsStructuralAttachmentAssociationsSettingsArrowsToggleWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,structuralAttachmentAssociationsSettings:{...this.widget.visibleElements.structuralAttachmentAssociationsSettings,arrowsToggle:t}})}visibleElementsStructuralAttachmentAssociationsSettingsCapSelectWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,structuralAttachmentAssociationsSettings:{...this.widget.visibleElements.structuralAttachmentAssociationsSettings,capSelect:t}})}visibleElementsStructuralAttachmentAssociationsSettingsStylePickerWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,structuralAttachmentAssociationsSettings:{...this.widget.visibleElements.structuralAttachmentAssociationsSettings,stylePicker:t}})}visibleElementsStructuralAttachmentAssociationsSettingsWidthInputWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,structuralAttachmentAssociationsSettings:{...this.widget.visibleElements.structuralAttachmentAssociationsSettings,widthInput:t}})}positionWatcher(t){t!==void 0&&this.widget&&this.el.childElem&&this.view.ui.move(this.el.childElem,t)}viewWatcher(t){t!==void 0&&this.widget&&(this.widget.view=t,this._loadUtilityNetwork())}_addContainer(){this.widget.container=this.el.childElem}_createParams(){let t={};return t.visibleElements={connectivityAssociationsSettings:{arrowsToggle:this.visibleElementsConnectivityAssociationsSettingsArrowsToggle,capSelect:this.visibleElementsConnectivityAssociationsSettingsCapSelect,colorPicker:this.visibleElementsConnectivityAssociationsSettingsColorPicker,stylePicker:this.visibleElementsConnectivityAssociationsSettingsStylePicker,widthInput:this.visibleElementsConnectivityAssociationsSettingsWidthInput},maxAllowableAssociationsSlider:this.visibleElementsMaxAllowableAssociationsSlider,structuralAttachmentAssociationsSettings:{arrowsToggle:this.visibleElementsStructuralAttachmentAssociationsSettingsArrowsToggle,capSelect:this.visibleElementsStructuralAttachmentAssociationsSettingsCapSelect,colorPicker:this.visibleElementsStructuralAttachmentAssociationsSettingsColorPicker,stylePicker:this.visibleElementsStructuralAttachmentAssociationsSettingsStylePicker,widthInput:this.visibleElementsStructuralAttachmentAssociationsSettingsWidthInput}},this.autoRefreshAssociationsDisabled!==void 0&&(t.autoRefreshAssociations=!this.autoRefreshAssociationsDisabled),this.connectivityAssociationsLineSymbol!==void 0&&(t.connectivityAssociationsLineSymbol=this.connectivityAssociationsLineSymbol),this.includeConnectivityAssociationsDisabled!==void 0&&(t.includeConnectivityAssociations=!this.includeConnectivityAssociationsDisabled),this.includeStructuralAttachmentAssociationsDisabled!==void 0&&(t.includeStructuralAttachmentAssociations=!this.includeStructuralAttachmentAssociationsDisabled),this.maxAllowableAssociations!==void 0&&(t.maxAllowableAssociations=this.maxAllowableAssociations),this.maxAllowableAssociationsSliderMax!==void 0&&(t.maxAllowableAssociationsSliderMax=this.maxAllowableAssociationsSliderMax),this.maxAllowableAssociationsSliderMin!==void 0&&(t.maxAllowableAssociationsSliderMin=this.maxAllowableAssociationsSliderMin),this.maxAllowableAssociationsSliderStep!==void 0&&(t.maxAllowableAssociationsSliderStep=this.maxAllowableAssociationsSliderStep),this.showArrowsConnectivity!==void 0&&(t.showArrowsConnectivity=this.showArrowsConnectivity),this.showArrowsStructuralAttachment!==void 0&&(t.showArrowsStructuralAttachment=this.showArrowsStructuralAttachment),this.showAssociationsEnabled!==void 0&&(t.showAssociationsEnabled=this.showAssociationsEnabled),this.structuralAttachmentAssociationsLineSymbol!==void 0&&(t.structuralAttachmentAssociationsLineSymbol=this.structuralAttachmentAssociationsLineSymbol),this.utilityNetwork!==void 0&&(t.utilityNetwork=this.utilityNetwork),t}async _loadUtilityNetwork(){if(this.view?.map&&this.view.map.portalItem){await this.view.map.load();let t=this.view.map.utilityNetworks.getItemAt(0);await t.load(),this.utilityNetwork=t}}_setChildElement(t){this.el.childElem=t}render(){return o`<div ${m(this._setChildElement)}></div>`}};a("arcgis-utility-network-associations",s);export{s as ArcgisUtilityNetworkAssociations};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
3
|
-
v4.32.0-next.
|
|
4
|
-
import{a as w}from"./
|
|
3
|
+
v4.32.0-next.84 */
|
|
4
|
+
import{a as w}from"./CTCO63FH.js";import{b as c}from"./B2AHBB47.js";import{ga as h}from"./WOWZWSL5.js";import{b as l,c as d,i as n}from"./PBYUEHJ2.js";import{B as s,C as o,H as r,g as i,t as a}from"./ALE6KF3F.js";var e=class extends o{constructor(){super(...arguments),this._watchHandles=[],this.extentToValidate="current",this.position="bottom-left",this.arcgisReady=s()}static{this.properties={extentToValidate:1,position:1,referenceElement:1,utilityNetwork:0,view:0,widget:0}}static{this.shadowRootOptions=i}willUpdate(t){t.has("referenceElement")&&this.referenceElementWatcher(this.referenceElement),t.has("extentToValidate")&&this.extentToValidateWatcher(this.extentToValidate),t.has("utilityNetwork")&&this.utilityNetworkWatcher(this.utilityNetwork),t.has("position")&&this.positionWatcher(this.position),t.has("view")&&this.viewWatcher(this.view)}async loaded(){let t=this._createParams(),m=await h(t);this.widget=m,this._addContainer(),d(this),l(this)}disconnectedCallback(){super.disconnectedCallback(),w(this)}referenceElementWatcher(t){n(this,t)}extentToValidateWatcher(t){this.widget&&(this.widget.extentToValidate=t)}utilityNetworkWatcher(t){this.widget&&t&&(this.widget.utilityNetwork=t)}positionWatcher(t){t!==void 0&&this.widget&&this.el.childElem&&this.view.ui.move(this.el.childElem,t)}viewWatcher(t){t!==void 0&&this.widget&&(this.widget.view=t,this._loadUtilityNetwork())}_addContainer(){this.widget.container=this.el.childElem}_createParams(){let t={};return this.extentToValidate!==void 0&&(t.extentToValidate=this.extentToValidate),this.utilityNetwork!==void 0&&(t.utilityNetwork=this.utilityNetwork),t}async _loadUtilityNetwork(){if(this.view?.map&&this.view.map.portalItem){await this.view.map.load();let t=this.view.map.utilityNetworks.getItemAt(0);await t.load(),this.utilityNetwork=t}}_setChildElement(t){this.el.childElem=t}render(){return a`<div ${c(this._setChildElement)}></div>`}};r("arcgis-utility-network-validate-topology",e);export{e as ArcgisUtilityNetworkValidateTopology};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
3
|
-
v4.32.0-next.
|
|
4
|
-
import{a as l}from"./
|
|
3
|
+
v4.32.0-next.84 */
|
|
4
|
+
import{a as l}from"./LABTBYBR.js";import{d}from"./XKFVFNRT.js";import{F as n}from"./WOWZWSL5.js";import"./PBYUEHJ2.js";import{B as o,C as r,H as h,g as i,r as s,s as a}from"./ALE6KF3F.js";var g=a`arcgis-features{display:block}`,u=l(n),t=class extends r{constructor(){super(...arguments),this.widget=u(this),this.viewModel=this.widget.viewModel,this.actions=this.viewModel.actions,this.active=this.widget.active,this.autoDestroyDisabled=!1,this.collapsed=this.widget.collapsed,this.content=this.widget.content,this.featureNavigationTop=this.widget.featureNavigationTop,this.featureViewModelAbilities=this.viewModel.featureViewModelAbilities,this.features=this.widget.features,this.featuresPerPage=this.viewModel.featuresPerPage,this.featuresTitle=this.widget.title,this.goToOverride=this.viewModel.goToOverride,this.headingLevel=this.widget.headingLevel,this.headerActions=this.widget.headerActions,this.hideActionBar=this.widget.visibleElements.actionBar,this.hideCloseButton=this.widget.visibleElements.closeButton,this.hideFeatureMenuHeading=this.widget.visibleElements.featureMenuHeading,this.hideFeatureNavigation=this.widget.visibleElements.featureNavigation,this.hideFlow=this.widget.visibleElements.flow,this.hideHeading=this.widget.visibleElements.heading,this.hideSpinner=this.widget.visibleElements.spinner,this.icon=this.widget.icon,this.includeDefaultActions=this.viewModel.includeDefaultActions,this.initialDisplayMode=this.widget.initialDisplayMode,this.label=this.widget.label,this.map=this.widget.map,this.position="bottom-left",this.promises=this.widget.promises,this.selectedFeature=this.widget.selectedFeature,this.selectedFeatureIndex=this.widget.selectedFeatureIndex,this.showCollapseButton=this.widget.visibleElements.collapseButton,this.spatialReference=this.widget.spatialReference,this.state=this.viewModel.state,this.timeZone=this.widget.timeZone,this.arcgisPropertyChange=s()("selectedFeature","selectedFeatureIndex","state"),this.arcgisReady=o(),this.arcgisTriggerAction=d(()=>this.widget,"trigger-action")}static{this.properties={actions:0,active:7,autoDestroyDisabled:5,collapsed:7,content:1,featureNavigationTop:5,featureViewModelAbilities:0,features:0,featuresPerPage:9,featuresTitle:1,goToOverride:0,headingLevel:9,headerActions:0,hideActionBar:5,hideCloseButton:5,hideFeatureMenuHeading:5,hideFeatureNavigation:5,hideFlow:5,hideHeading:5,hideSpinner:5,icon:1,includeDefaultActions:5,initialDisplayMode:1,label:1,map:0,position:1,promises:0,referenceElement:1,selectedFeature:0,selectedFeatureIndex:9,showCollapseButton:5,spatialReference:0,state:3,timeZone:1}}static{this.shadowRootOptions=i}static{this.styles=g}async clear(){this.widget?.clear()}async close(){this.widget?.close()}async destroy(){await this.manager.destroy()}async fetchFeatures(e,c){return await this.widget?.fetchFeatures(e,c)}async next(){return this.widget?.next()}async open(e){this.widget?.open(e)}async previous(){return this.widget?.previous()}async triggerAction(e){this.widget?.triggerAction(e)}};h("arcgis-features",t);export{t as ArcgisFeatures};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
3
|
-
v4.32.0-next.
|
|
4
|
-
var e=typeof window<"u"&&"$arcgis"in window&&typeof window.$arcgis=="object"&&"import"in window.$arcgis&&!("forceESM"in window.$arcgis);function n(t){return t.default!==void 0}async function i(){if(e)return await window.$arcgis.import("esri/layers/GraphicsLayer");let t=await $arcgis.l("layers/GraphicsLayer");return n(t)?t.default:t}async function lt(t){let r=await i();return new r(t)}async function ft(){if(e)return await window.$arcgis.import("esri/layers/Layer");let t=await $arcgis.l("layers/Layer");return n(t)?t.default:t}async function o(){if(e)return await window.$arcgis.import("esri/layers/OrientedImageryLayer");let t=await $arcgis.l("layers/OrientedImageryLayer");return n(t)?t.default:t}async function yt(t){let r=await o();return new r(t)}async function a(){if(e)return await window.$arcgis.import("esri/layers/RouteLayer");let t=await $arcgis.l("layers/RouteLayer");return n(t)?t.default:t}async function gt(t){let r=await a();return new r(t)}async function s(){if(e)return await window.$arcgis.import("esri/views/LinkChartView");let t=await $arcgis.l("views/LinkChartView");return n(t)?t.default:t}async function St(t){let r=await s();return new r(t)}async function u(){if(e)return await window.$arcgis.import("esri/views/MapView");let t=await $arcgis.l("views/MapView");return n(t)?t.default:t}async function Mt(t){let r=await u();return new r(t)}async function c(){if(e)return await window.$arcgis.import("esri/views/SceneView");let t=await $arcgis.l("views/SceneView");return n(t)?t.default:t}async function Ct(t){let r=await c();return new r(t)}async function w(){if(e)return await window.$arcgis.import("esri/WebLinkChart");let t=await $arcgis.l("WebLinkChart");return n(t)?t.default:t}async function $t(t){let r=await w();return new r(t)}async function p(){if(e)return await window.$arcgis.import("esri/WebMap");let t=await $arcgis.l("WebMap");return n(t)?t.default:t}async function Lt(t){let r=await p();return new r(t)}async function m(){if(e)return await window.$arcgis.import("esri/WebScene");let t=await $arcgis.l("WebScene");return n(t)?t.default:t}async function Rt(t){let r=await m();return new r(t)}async function d(){if(e)return await window.$arcgis.import("esri/widgets/AreaMeasurement2D");let t=await $arcgis.l("widgets/AreaMeasurement2D");return n(t)?t.default:t}async function Vt(t){let r=await d();return new r(t)}async function l(){if(e)return await window.$arcgis.import("esri/widgets/AreaMeasurement3D");let t=await $arcgis.l("widgets/AreaMeasurement3D");return n(t)?t.default:t}async function bt(t){let r=await l();return new r(t)}async function f(){if(e)return await window.$arcgis.import("esri/widgets/Attachments");let t=await $arcgis.l("widgets/Attachments");return n(t)?t.default:t}async function ht(t){let r=await f();return new r(t)}async function y(){if(e)return await window.$arcgis.import("esri/widgets/BasemapGallery/BasemapGalleryViewModel");let t=await $arcgis.l("widgets/BasemapGallery/BasemapGalleryViewModel");return n(t)?t.default:t}async function Pt(t){let r=await y();return new r(t)}async function g(){if(e)return await window.$arcgis.import("esri/widgets/BasemapLayerList");let t=await $arcgis.l("widgets/BasemapLayerList");return n(t)?t.default:t}async function It(t){let r=await g();return new r(t)}async function S(){if(e)return await window.$arcgis.import("esri/widgets/BasemapToggle/BasemapToggleViewModel");let t=await $arcgis.l("widgets/BasemapToggle/BasemapToggleViewModel");return n(t)?t.default:t}async function Wt(t){let r=await S();return new r(t)}async function M(){if(e)return await window.$arcgis.import("esri/widgets/Bookmarks");let t=await $arcgis.l("widgets/Bookmarks");return n(t)?t.default:t}async function Ft(t){let r=await M();return new r(t)}async function C(){if(e)return await window.$arcgis.import("esri/widgets/BuildingExplorer");let t=await $arcgis.l("widgets/BuildingExplorer");return n(t)?t.default:t}async function Tt(t){let r=await C();return new r(t)}async function $(){if(e)return await window.$arcgis.import("esri/widgets/CatalogLayerList");let t=await $arcgis.l("widgets/CatalogLayerList");return n(t)?t.default:t}async function Gt(t){let r=await $();return new r(t)}async function L(){if(e)return await window.$arcgis.import("esri/widgets/Compass/CompassViewModel");let t=await $arcgis.l("widgets/Compass/CompassViewModel");return n(t)?t.default:t}async function At(t){let r=await L();return new r(t)}async function R(){if(e)return await window.$arcgis.import("esri/widgets/CoordinateConversion");let t=await $arcgis.l("widgets/CoordinateConversion");return n(t)?t.default:t}async function Dt(t){let r=await R();return new r(t)}async function V(){if(e)return await window.$arcgis.import("esri/widgets/Daylight");let t=await $arcgis.l("widgets/Daylight");return n(t)?t.default:t}async function kt(t){let r=await V();return new r(t)}async function b(){if(e)return await window.$arcgis.import("esri/widgets/DirectionalPad/DirectionalPadViewModel");let t=await $arcgis.l("widgets/DirectionalPad/DirectionalPadViewModel");return n(t)?t.default:t}async function vt(t){let r=await b();return new r(t)}async function h(){if(e)return await window.$arcgis.import("esri/widgets/Directions");let t=await $arcgis.l("widgets/Directions");return n(t)?t.default:t}async function Et(t){let r=await h();return new r(t)}async function P(){if(e)return await window.$arcgis.import("esri/widgets/DirectLineMeasurement3D");let t=await $arcgis.l("widgets/DirectLineMeasurement3D");return n(t)?t.default:t}async function Bt(t){let r=await P();return new r(t)}async function I(){if(e)return await window.$arcgis.import("esri/widgets/DistanceMeasurement2D");let t=await $arcgis.l("widgets/DistanceMeasurement2D");return n(t)?t.default:t}async function Ot(t){let r=await I();return new r(t)}async function W(){if(e)return await window.$arcgis.import("esri/widgets/Editor");let t=await $arcgis.l("widgets/Editor");return n(t)?t.default:t}async function Ut(t){let r=await W();return new r(t)}async function F(){if(e)return await window.$arcgis.import("esri/widgets/ElevationProfile");let t=await $arcgis.l("widgets/ElevationProfile");return n(t)?t.default:t}async function xt(t){let r=await F();return new r(t)}async function T(){if(e)return await window.$arcgis.import("esri/widgets/Expand");let t=await $arcgis.l("widgets/Expand");return n(t)?t.default:t}async function Nt(t){let r=await T();return new r(t)}async function G(){if(e)return await window.$arcgis.import("esri/widgets/Feature");let t=await $arcgis.l("widgets/Feature");return n(t)?t.default:t}async function Ht(t){let r=await G();return new r(t)}async function A(){if(e)return await window.$arcgis.import("esri/widgets/FeatureForm");let t=await $arcgis.l("widgets/FeatureForm");return n(t)?t.default:t}async function Kt(t){let r=await A();return new r(t)}async function D(){if(e)return await window.$arcgis.import("esri/widgets/Features");let t=await $arcgis.l("widgets/Features");return n(t)?t.default:t}async function zt(t){let r=await D();return new r(t)}async function k(){if(e)return await window.$arcgis.import("esri/widgets/FeatureTable");let t=await $arcgis.l("widgets/FeatureTable");return n(t)?t.default:t}async function Qt(t){let r=await k();return new r(t)}async function v(){if(e)return await window.$arcgis.import("esri/widgets/FeatureTemplates");let t=await $arcgis.l("widgets/FeatureTemplates");return n(t)?t.default:t}async function qt(t){let r=await v();return new r(t)}async function E(){if(e)return await window.$arcgis.import("esri/widgets/FloorFilter");let t=await $arcgis.l("widgets/FloorFilter");return n(t)?t.default:t}async function jt(t){let r=await E();return new r(t)}async function B(){if(e)return await window.$arcgis.import("esri/widgets/Fullscreen/FullscreenViewModel");let t=await $arcgis.l("widgets/Fullscreen/FullscreenViewModel");return n(t)?t.default:t}async function Jt(t){let r=await B();return new r(t)}async function O(){if(e)return await window.$arcgis.import("esri/widgets/Histogram");let t=await $arcgis.l("widgets/Histogram");return n(t)?t.default:t}async function Zt(t){let r=await O();return new r(t)}async function U(){if(e)return await window.$arcgis.import("esri/widgets/HistogramRangeSlider");let t=await $arcgis.l("widgets/HistogramRangeSlider");return n(t)?t.default:t}async function Xt(t){let r=await U();return new r(t)}async function x(){if(e)return await window.$arcgis.import("esri/widgets/Home/HomeViewModel");let t=await $arcgis.l("widgets/Home/HomeViewModel");return n(t)?t.default:t}async function Yt(t){let r=await x();return new r(t)}async function N(){if(e)return await window.$arcgis.import("esri/widgets/LayerList");let t=await $arcgis.l("widgets/LayerList");return n(t)?t.default:t}async function _t(t){let r=await N();return new r(t)}async function H(){if(e)return await window.$arcgis.import("esri/widgets/Legend");let t=await $arcgis.l("widgets/Legend");return n(t)?t.default:t}async function tr(t){let r=await H();return new r(t)}async function K(){if(e)return await window.$arcgis.import("esri/widgets/LineOfSight");let t=await $arcgis.l("widgets/LineOfSight");return n(t)?t.default:t}async function rr(t){let r=await K();return new r(t)}async function z(){if(e)return await window.$arcgis.import("esri/widgets/Locate/LocateViewModel");let t=await $arcgis.l("widgets/Locate/LocateViewModel");return n(t)?t.default:t}async function er(t){let r=await z();return new r(t)}async function Q(){if(e)return await window.$arcgis.import("esri/widgets/Measurement");let t=await $arcgis.l("widgets/Measurement");return n(t)?t.default:t}async function nr(t){let r=await Q();return new r(t)}async function q(){if(e)return await window.$arcgis.import("esri/widgets/NavigationToggle");let t=await $arcgis.l("widgets/NavigationToggle");return n(t)?t.default:t}async function ir(t){let r=await q();return new r(t)}async function j(){if(e)return await window.$arcgis.import("esri/widgets/OrientedImageryViewer");let t=await $arcgis.l("widgets/OrientedImageryViewer");return n(t)?t.default:t}async function or(t){let r=await j();return new r(t)}async function J(){if(e)return await window.$arcgis.import("esri/widgets/Print");let t=await $arcgis.l("widgets/Print");return n(t)?t.default:t}async function ar(t){let r=await J();return new r(t)}async function Z(){if(e)return await window.$arcgis.import("esri/widgets/ScaleBar/ScaleBarViewModel");let t=await $arcgis.l("widgets/ScaleBar/ScaleBarViewModel");return n(t)?t.default:t}async function sr(t){let r=await Z();return new r(t)}async function X(){if(e)return await window.$arcgis.import("esri/widgets/ScaleRangeSlider");let t=await $arcgis.l("widgets/ScaleRangeSlider");return n(t)?t.default:t}async function ur(t){let r=await X();return new r(t)}async function Y(){if(e)return await window.$arcgis.import("esri/widgets/Search");let t=await $arcgis.l("widgets/Search");return n(t)?t.default:t}async function cr(t){let r=await Y();return new r(t)}async function _(){if(e)return await window.$arcgis.import("esri/widgets/ShadowCast");let t=await $arcgis.l("widgets/ShadowCast");return n(t)?t.default:t}async function wr(t){let r=await _();return new r(t)}async function tt(){if(e)return await window.$arcgis.import("esri/widgets/Sketch");let t=await $arcgis.l("widgets/Sketch");return n(t)?t.default:t}async function pr(t){let r=await tt();return new r(t)}async function rt(){if(e)return await window.$arcgis.import("esri/widgets/Slice");let t=await $arcgis.l("widgets/Slice");return n(t)?t.default:t}async function mr(t){let r=await rt();return new r(t)}async function et(){if(e)return await window.$arcgis.import("esri/widgets/Slider");let t=await $arcgis.l("widgets/Slider");return n(t)?t.default:t}async function dr(t){let r=await et();return new r(t)}async function nt(){if(e)return await window.$arcgis.import("esri/widgets/Swipe/SwipeViewModel");let t=await $arcgis.l("widgets/Swipe/SwipeViewModel");return n(t)?t.default:t}async function lr(t){let r=await nt();return new r(t)}async function it(){if(e)return await window.$arcgis.import("esri/widgets/TableList");let t=await $arcgis.l("widgets/TableList");return n(t)?t.default:t}async function fr(t){let r=await it();return new r(t)}async function ot(){if(e)return await window.$arcgis.import("esri/widgets/TimeSlider");let t=await $arcgis.l("widgets/TimeSlider");return n(t)?t.default:t}async function yr(t){let r=await ot();return new r(t)}async function at(){if(e)return await window.$arcgis.import("esri/widgets/Track/TrackViewModel");let t=await $arcgis.l("widgets/Track/TrackViewModel");return n(t)?t.default:t}async function gr(t){let r=await at();return new r(t)}async function st(){if(e)return await window.$arcgis.import("esri/widgets/UtilityNetworkAssociations");let t=await $arcgis.l("widgets/UtilityNetworkAssociations");return n(t)?t.default:t}async function Sr(t){let r=await st();return new r(t)}async function ut(){if(e)return await window.$arcgis.import("esri/widgets/UtilityNetworkTrace");let t=await $arcgis.l("widgets/UtilityNetworkTrace");return n(t)?t.default:t}async function Mr(t){let r=await ut();return new r(t)}async function ct(){if(e)return await window.$arcgis.import("esri/widgets/UtilityNetworkValidateTopology");let t=await $arcgis.l("widgets/UtilityNetworkValidateTopology");return n(t)?t.default:t}async function Cr(t){let r=await ct();return new r(t)}async function wt(){if(e)return await window.$arcgis.import("esri/widgets/ValuePicker");let t=await $arcgis.l("widgets/ValuePicker");return n(t)?t.default:t}async function $r(t){let r=await wt();return new r(t)}async function pt(){if(e)return await window.$arcgis.import("esri/widgets/VersionManagement/VersionManagementViewModel");let t=await $arcgis.l("widgets/VersionManagement/VersionManagementViewModel");return n(t)?t.default:t}async function Lr(t){let r=await pt();return new r(t)}async function mt(){if(e)return await window.$arcgis.import("esri/widgets/Weather");let t=await $arcgis.l("widgets/Weather");return n(t)?t.default:t}async function Rr(t){let r=await mt();return new r(t)}async function dt(){if(e)return await window.$arcgis.import("esri/widgets/Zoom/ZoomViewModel");let t=await $arcgis.l("widgets/Zoom/ZoomViewModel");return n(t)?t.default:t}async function Vr(t){let r=await dt();return new r(t)}async function br(){if(e)return await window.$arcgis.import("esri/core/reactiveUtils");let t=await $arcgis.l("core/reactiveUtils");return n(t)?t.default:t}async function hr(){if(e)return await window.$arcgis.import("esri/intl");let t=await $arcgis.l("intl");return n(t)?t.default:t}async function Pr(){if(e)return await window.$arcgis.import("esri/applications/Components/basemapUtils");let t=await $arcgis.l("applications/Components/basemapUtils");return n(t)?t.default:t}async function Ir(){if(e)return await window.$arcgis.import("esri/applications/Components/getDefaultUnits");let t=await $arcgis.l("applications/Components/getDefaultUnits");return n(t)?t.default:t}export{lt as a,ft as b,yt as c,gt as d,St as e,Mt as f,Ct as g,$t as h,Lt as i,Rt as j,Vt as k,bt as l,ht as m,Pt as n,It as o,Wt as p,Ft as q,Tt as r,Gt as s,At as t,Dt as u,kt as v,vt as w,Et as x,Bt as y,Ot as z,Ut as A,xt as B,Nt as C,Ht as D,Kt as E,zt as F,Qt as G,qt as H,jt as I,Jt as J,Zt as K,Xt as L,Yt as M,_t as N,tr as O,rr as P,er as Q,nr as R,ir as S,or as T,ar as U,sr as V,ur as W,cr as X,wr as Y,pr as Z,mr as _,dr as $,lr as aa,fr as ba,yr as ca,gr as da,Sr as ea,Mr as fa,Cr as ga,$r as ha,Lr as ia,Rr as ja,Vr as ka,br as la,hr as ma,Pr as na,Ir as oa};
|
|
3
|
+
v4.32.0-next.84 */
|
|
4
|
+
var e=typeof window<"u"&&"$arcgis"in window&&typeof window.$arcgis=="object"&&"import"in window.$arcgis&&!("forceESM"in window.$arcgis);function n(t){return t.default!==void 0}async function i(){if(e)return await window.$arcgis.import("esri/layers/GraphicsLayer");let t=await $arcgis.l("layers/GraphicsLayer");return n(t)?t.default:t}async function lt(t){let r=await i();return new r(t)}async function ft(){if(e)return await window.$arcgis.import("esri/layers/Layer");let t=await $arcgis.l("layers/Layer");return n(t)?t.default:t}async function o(){if(e)return await window.$arcgis.import("esri/layers/OrientedImageryLayer");let t=await $arcgis.l("layers/OrientedImageryLayer");return n(t)?t.default:t}async function yt(t){let r=await o();return new r(t)}async function a(){if(e)return await window.$arcgis.import("esri/layers/RouteLayer");let t=await $arcgis.l("layers/RouteLayer");return n(t)?t.default:t}async function gt(t){let r=await a();return new r(t)}async function s(){if(e)return await window.$arcgis.import("esri/views/LinkChartView");let t=await $arcgis.l("views/LinkChartView");return n(t)?t.default:t}async function St(t){let r=await s();return new r(t)}async function u(){if(e)return await window.$arcgis.import("esri/views/MapView");let t=await $arcgis.l("views/MapView");return n(t)?t.default:t}async function Mt(t){let r=await u();return new r(t)}async function c(){if(e)return await window.$arcgis.import("esri/views/SceneView");let t=await $arcgis.l("views/SceneView");return n(t)?t.default:t}async function Ct(t){let r=await c();return new r(t)}async function w(){if(e)return await window.$arcgis.import("esri/WebLinkChart");let t=await $arcgis.l("WebLinkChart");return n(t)?t.default:t}async function $t(t){let r=await w();return new r(t)}async function p(){if(e)return await window.$arcgis.import("esri/WebMap");let t=await $arcgis.l("WebMap");return n(t)?t.default:t}async function Lt(t){let r=await p();return new r(t)}async function m(){if(e)return await window.$arcgis.import("esri/WebScene");let t=await $arcgis.l("WebScene");return n(t)?t.default:t}async function Rt(t){let r=await m();return new r(t)}async function d(){if(e)return await window.$arcgis.import("esri/widgets/AreaMeasurement2D");let t=await $arcgis.l("widgets/AreaMeasurement2D");return n(t)?t.default:t}async function Vt(t){let r=await d();return new r(t)}async function l(){if(e)return await window.$arcgis.import("esri/widgets/AreaMeasurement3D");let t=await $arcgis.l("widgets/AreaMeasurement3D");return n(t)?t.default:t}async function bt(t){let r=await l();return new r(t)}async function f(){if(e)return await window.$arcgis.import("esri/widgets/Attachments");let t=await $arcgis.l("widgets/Attachments");return n(t)?t.default:t}async function ht(t){let r=await f();return new r(t)}async function y(){if(e)return await window.$arcgis.import("esri/widgets/BasemapGallery/BasemapGalleryViewModel");let t=await $arcgis.l("widgets/BasemapGallery/BasemapGalleryViewModel");return n(t)?t.default:t}async function Pt(t){let r=await y();return new r(t)}async function g(){if(e)return await window.$arcgis.import("esri/widgets/BasemapLayerList");let t=await $arcgis.l("widgets/BasemapLayerList");return n(t)?t.default:t}async function It(t){let r=await g();return new r(t)}async function S(){if(e)return await window.$arcgis.import("esri/widgets/BasemapToggle/BasemapToggleViewModel");let t=await $arcgis.l("widgets/BasemapToggle/BasemapToggleViewModel");return n(t)?t.default:t}async function Wt(t){let r=await S();return new r(t)}async function M(){if(e)return await window.$arcgis.import("esri/widgets/Bookmarks");let t=await $arcgis.l("widgets/Bookmarks");return n(t)?t.default:t}async function Ft(t){let r=await M();return new r(t)}async function C(){if(e)return await window.$arcgis.import("esri/widgets/BuildingExplorer");let t=await $arcgis.l("widgets/BuildingExplorer");return n(t)?t.default:t}async function Gt(t){let r=await C();return new r(t)}async function $(){if(e)return await window.$arcgis.import("esri/widgets/CatalogLayerList");let t=await $arcgis.l("widgets/CatalogLayerList");return n(t)?t.default:t}async function Tt(t){let r=await $();return new r(t)}async function L(){if(e)return await window.$arcgis.import("esri/widgets/Compass/CompassViewModel");let t=await $arcgis.l("widgets/Compass/CompassViewModel");return n(t)?t.default:t}async function At(t){let r=await L();return new r(t)}async function R(){if(e)return await window.$arcgis.import("esri/widgets/CoordinateConversion");let t=await $arcgis.l("widgets/CoordinateConversion");return n(t)?t.default:t}async function Dt(t){let r=await R();return new r(t)}async function V(){if(e)return await window.$arcgis.import("esri/widgets/Daylight");let t=await $arcgis.l("widgets/Daylight");return n(t)?t.default:t}async function kt(t){let r=await V();return new r(t)}async function b(){if(e)return await window.$arcgis.import("esri/widgets/DirectionalPad/DirectionalPadViewModel");let t=await $arcgis.l("widgets/DirectionalPad/DirectionalPadViewModel");return n(t)?t.default:t}async function vt(t){let r=await b();return new r(t)}async function h(){if(e)return await window.$arcgis.import("esri/widgets/Directions");let t=await $arcgis.l("widgets/Directions");return n(t)?t.default:t}async function Et(t){let r=await h();return new r(t)}async function P(){if(e)return await window.$arcgis.import("esri/widgets/DirectLineMeasurement3D");let t=await $arcgis.l("widgets/DirectLineMeasurement3D");return n(t)?t.default:t}async function Bt(t){let r=await P();return new r(t)}async function I(){if(e)return await window.$arcgis.import("esri/widgets/DistanceMeasurement2D");let t=await $arcgis.l("widgets/DistanceMeasurement2D");return n(t)?t.default:t}async function Ot(t){let r=await I();return new r(t)}async function W(){if(e)return await window.$arcgis.import("esri/widgets/Editor");let t=await $arcgis.l("widgets/Editor");return n(t)?t.default:t}async function Ut(t){let r=await W();return new r(t)}async function F(){if(e)return await window.$arcgis.import("esri/widgets/ElevationProfile");let t=await $arcgis.l("widgets/ElevationProfile");return n(t)?t.default:t}async function xt(t){let r=await F();return new r(t)}async function G(){if(e)return await window.$arcgis.import("esri/widgets/Expand");let t=await $arcgis.l("widgets/Expand");return n(t)?t.default:t}async function Nt(t){let r=await G();return new r(t)}async function T(){if(e)return await window.$arcgis.import("esri/widgets/Feature");let t=await $arcgis.l("widgets/Feature");return n(t)?t.default:t}async function Ht(t){let r=await T();return new r(t)}async function A(){if(e)return await window.$arcgis.import("esri/widgets/FeatureForm");let t=await $arcgis.l("widgets/FeatureForm");return n(t)?t.default:t}async function Kt(t){let r=await A();return new r(t)}async function D(){if(e)return await window.$arcgis.import("esri/widgets/Features");let t=await $arcgis.l("widgets/Features");return n(t)?t.default:t}async function zt(t){let r=await D();return new r(t)}async function k(){if(e)return await window.$arcgis.import("esri/widgets/FeatureTable");let t=await $arcgis.l("widgets/FeatureTable");return n(t)?t.default:t}async function Qt(t){let r=await k();return new r(t)}async function v(){if(e)return await window.$arcgis.import("esri/widgets/FeatureTemplates");let t=await $arcgis.l("widgets/FeatureTemplates");return n(t)?t.default:t}async function qt(t){let r=await v();return new r(t)}async function E(){if(e)return await window.$arcgis.import("esri/widgets/FloorFilter");let t=await $arcgis.l("widgets/FloorFilter");return n(t)?t.default:t}async function jt(t){let r=await E();return new r(t)}async function B(){if(e)return await window.$arcgis.import("esri/widgets/Fullscreen/FullscreenViewModel");let t=await $arcgis.l("widgets/Fullscreen/FullscreenViewModel");return n(t)?t.default:t}async function Jt(t){let r=await B();return new r(t)}async function O(){if(e)return await window.$arcgis.import("esri/widgets/Histogram");let t=await $arcgis.l("widgets/Histogram");return n(t)?t.default:t}async function Zt(t){let r=await O();return new r(t)}async function U(){if(e)return await window.$arcgis.import("esri/widgets/HistogramRangeSlider");let t=await $arcgis.l("widgets/HistogramRangeSlider");return n(t)?t.default:t}async function Xt(t){let r=await U();return new r(t)}async function x(){if(e)return await window.$arcgis.import("esri/widgets/Home/HomeViewModel");let t=await $arcgis.l("widgets/Home/HomeViewModel");return n(t)?t.default:t}async function Yt(t){let r=await x();return new r(t)}async function N(){if(e)return await window.$arcgis.import("esri/widgets/LayerList");let t=await $arcgis.l("widgets/LayerList");return n(t)?t.default:t}async function _t(t){let r=await N();return new r(t)}async function H(){if(e)return await window.$arcgis.import("esri/widgets/Legend");let t=await $arcgis.l("widgets/Legend");return n(t)?t.default:t}async function tr(t){let r=await H();return new r(t)}async function K(){if(e)return await window.$arcgis.import("esri/widgets/LineOfSight");let t=await $arcgis.l("widgets/LineOfSight");return n(t)?t.default:t}async function rr(t){let r=await K();return new r(t)}async function z(){if(e)return await window.$arcgis.import("esri/widgets/Locate/LocateViewModel");let t=await $arcgis.l("widgets/Locate/LocateViewModel");return n(t)?t.default:t}async function er(t){let r=await z();return new r(t)}async function Q(){if(e)return await window.$arcgis.import("esri/widgets/Measurement");let t=await $arcgis.l("widgets/Measurement");return n(t)?t.default:t}async function nr(t){let r=await Q();return new r(t)}async function q(){if(e)return await window.$arcgis.import("esri/widgets/NavigationToggle");let t=await $arcgis.l("widgets/NavigationToggle");return n(t)?t.default:t}async function ir(t){let r=await q();return new r(t)}async function j(){if(e)return await window.$arcgis.import("esri/widgets/OrientedImageryViewer");let t=await $arcgis.l("widgets/OrientedImageryViewer");return n(t)?t.default:t}async function or(t){let r=await j();return new r(t)}async function J(){if(e)return await window.$arcgis.import("esri/widgets/Print");let t=await $arcgis.l("widgets/Print");return n(t)?t.default:t}async function ar(t){let r=await J();return new r(t)}async function Z(){if(e)return await window.$arcgis.import("esri/widgets/ScaleBar/ScaleBarViewModel");let t=await $arcgis.l("widgets/ScaleBar/ScaleBarViewModel");return n(t)?t.default:t}async function sr(t){let r=await Z();return new r(t)}async function X(){if(e)return await window.$arcgis.import("esri/widgets/ScaleRangeSlider");let t=await $arcgis.l("widgets/ScaleRangeSlider");return n(t)?t.default:t}async function ur(t){let r=await X();return new r(t)}async function Y(){if(e)return await window.$arcgis.import("esri/widgets/Search");let t=await $arcgis.l("widgets/Search");return n(t)?t.default:t}async function cr(t){let r=await Y();return new r(t)}async function _(){if(e)return await window.$arcgis.import("esri/widgets/ShadowCast");let t=await $arcgis.l("widgets/ShadowCast");return n(t)?t.default:t}async function wr(t){let r=await _();return new r(t)}async function tt(){if(e)return await window.$arcgis.import("esri/widgets/Sketch");let t=await $arcgis.l("widgets/Sketch");return n(t)?t.default:t}async function pr(t){let r=await tt();return new r(t)}async function rt(){if(e)return await window.$arcgis.import("esri/widgets/Slice");let t=await $arcgis.l("widgets/Slice");return n(t)?t.default:t}async function mr(t){let r=await rt();return new r(t)}async function et(){if(e)return await window.$arcgis.import("esri/widgets/Slider");let t=await $arcgis.l("widgets/Slider");return n(t)?t.default:t}async function dr(t){let r=await et();return new r(t)}async function nt(){if(e)return await window.$arcgis.import("esri/widgets/Swipe/SwipeViewModel");let t=await $arcgis.l("widgets/Swipe/SwipeViewModel");return n(t)?t.default:t}async function lr(t){let r=await nt();return new r(t)}async function it(){if(e)return await window.$arcgis.import("esri/widgets/TableList");let t=await $arcgis.l("widgets/TableList");return n(t)?t.default:t}async function fr(t){let r=await it();return new r(t)}async function ot(){if(e)return await window.$arcgis.import("esri/widgets/TimeSlider");let t=await $arcgis.l("widgets/TimeSlider");return n(t)?t.default:t}async function yr(t){let r=await ot();return new r(t)}async function at(){if(e)return await window.$arcgis.import("esri/widgets/Track/TrackViewModel");let t=await $arcgis.l("widgets/Track/TrackViewModel");return n(t)?t.default:t}async function gr(t){let r=await at();return new r(t)}async function st(){if(e)return await window.$arcgis.import("esri/widgets/UtilityNetworkAssociations");let t=await $arcgis.l("widgets/UtilityNetworkAssociations");return n(t)?t.default:t}async function Sr(t){let r=await st();return new r(t)}async function ut(){if(e)return await window.$arcgis.import("esri/widgets/UtilityNetworkTrace");let t=await $arcgis.l("widgets/UtilityNetworkTrace");return n(t)?t.default:t}async function Mr(t){let r=await ut();return new r(t)}async function ct(){if(e)return await window.$arcgis.import("esri/widgets/UtilityNetworkValidateTopology");let t=await $arcgis.l("widgets/UtilityNetworkValidateTopology");return n(t)?t.default:t}async function Cr(t){let r=await ct();return new r(t)}async function wt(){if(e)return await window.$arcgis.import("esri/widgets/ValuePicker");let t=await $arcgis.l("widgets/ValuePicker");return n(t)?t.default:t}async function $r(t){let r=await wt();return new r(t)}async function pt(){if(e)return await window.$arcgis.import("esri/widgets/VersionManagement/VersionManagementViewModel");let t=await $arcgis.l("widgets/VersionManagement/VersionManagementViewModel");return n(t)?t.default:t}async function Lr(t){let r=await pt();return new r(t)}async function mt(){if(e)return await window.$arcgis.import("esri/widgets/Weather");let t=await $arcgis.l("widgets/Weather");return n(t)?t.default:t}async function Rr(t){let r=await mt();return new r(t)}async function dt(){if(e)return await window.$arcgis.import("esri/widgets/Zoom/ZoomViewModel");let t=await $arcgis.l("widgets/Zoom/ZoomViewModel");return n(t)?t.default:t}async function Vr(t){let r=await dt();return new r(t)}async function br(){if(e)return await window.$arcgis.import("esri/core/reactiveUtils");let t=await $arcgis.l("core/reactiveUtils");return n(t)?t.default:t}async function hr(){if(e)return await window.$arcgis.import("esri/intl");let t=await $arcgis.l("intl");return n(t)?t.default:t}async function Pr(){if(e)return await window.$arcgis.import("esri/applications/Components/basemapUtils");let t=await $arcgis.l("applications/Components/basemapUtils");return n(t)?t.default:t}async function Ir(){if(e)return await window.$arcgis.import("esri/applications/Components/getDefaultUnits");let t=await $arcgis.l("applications/Components/getDefaultUnits");return n(t)?t.default:t}export{lt as a,ft as b,yt as c,gt as d,St as e,Mt as f,Ct as g,$t as h,Lt as i,Rt as j,Vt as k,bt as l,ht as m,Pt as n,It as o,Wt as p,Ft as q,Gt as r,Tt as s,At as t,Dt as u,kt as v,vt as w,Et as x,Bt as y,Ot as z,Ut as A,xt as B,Nt as C,Ht as D,Kt as E,zt as F,Qt as G,qt as H,jt as I,Jt as J,Zt as K,Xt as L,Yt as M,_t as N,tr as O,rr as P,er as Q,nr as R,ir as S,or as T,ar as U,sr as V,ur as W,cr as X,wr as Y,pr as Z,mr as _,dr as $,lr as aa,fr as ba,yr as ca,gr as da,Sr as ea,Mr as fa,Cr as ga,$r as ha,Lr as ia,Rr as ja,Vr as ka,br as la,hr as ma,Pr as na,Ir as oa};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
3
|
-
v4.32.0-next.
|
|
4
|
-
import{a as r}from"./
|
|
3
|
+
v4.32.0-next.84 */
|
|
4
|
+
import{a as r}from"./LABTBYBR.js";import"./XKFVFNRT.js";import{Y as d}from"./WOWZWSL5.js";import"./PBYUEHJ2.js";import{B as o,C as a,H as h,g as t,r as e,s}from"./ALE6KF3F.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,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
3
|
-
v4.32.0-next.
|
|
4
|
-
import{a as d,b as u}from"./
|
|
3
|
+
v4.32.0-next.84 */
|
|
4
|
+
import{a as d,b as u}from"./B2AHBB47.js";import{B as m,C as g,H as $,g as b,s as w,t as n}from"./ALE6KF3F.js";var k=w`:host{display:none;background:#bdf2c4}:host([selected]){display:flex}.properties-buttons{display:flex}`,_=class extends g{constructor(){super(...arguments),this._flowItemElement=d(),this._switchToVersion=!0,this._switchToVersionCheckboxElement=d(),this._versionNameInputElement=d(),this.selected=!1,this.showBackButton=!1,this.arcgisAlterVersion=m(),this.arcgisCreateVersion=m(),this.arcgisFlowItemBack=m(),this.arcgisFlowItemClose=m()}static{this.properties={selected:7,showBackButton:7,versionPropertiesElementProps:0}}static{this.shadowRootOptions=b}static{this.styles=k}load(){let{versionPropertiesElementProps:{versionInfo:t}}=this;t?(this._mode="edit",this._fullVersionName=t.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()}async setFocus(){this._flowItemElement.value?.setFocus()}goBack(){}_handleCancel(){this.arcgisFlowItemBack.emit()}_handleChange(t){let{_mode:s,_ownerName:l,_versionName:h,versionPropertiesElementProps:{currentUser:p,isVersionAdministrator:v,serviceUrl:i,versionInfo:c}}=this,{_alterVersionParameters:e,_createVersionParameters:a}=this;switch(s==="create"&&(a||(a={access:"public",description:"",featureServerUrl:i,ownerName:p,versionName:""})),s==="edit"&&(e||(e={featureServerUrl:i,versionIdentifier:c.versionIdentifier,ownerName:l,versionName:h,access:c.access,description:c.description})),t.type){case"calciteChipGroupSelect":{let r=t.target.label,o=t.target.selectedItems[0].value;s==="create"&&(a={...a,[r]:o}),s==="edit"&&(e={...e,[r]:o});break}case"calciteInputTextInput":{let r=t.target.name,o=t.target.value;s==="create"&&(a={...a,[r]:o}),s==="edit"&&(e={...e,[r]:o});break}case"calciteTextAreaInput":{let r=t.target.name,o=t.target.value;s==="create"&&(a={...a,[r]:o}),s==="edit"&&(e={...e,[r]:o});break}}s==="create"&&(a.access!=="public"&&p.toUpperCase()!==a.ownerName?.toUpperCase()&&!v?(this._switchToVersionCheckboxElement.value.checked=!1,this._switchToVersionCheckboxElement.value.disabled=!0,this._switchToVersion=!1):this._switchToVersionCheckboxElement.value.disabled=!1,this._createVersionParameters=a),s==="edit"&&(this._alterVersionParameters=e)}_handleClose(){this.arcgisFlowItemClose.emit()}_handleSave(){let{_alterVersionParameters:t,_createVersionParameters:s,_mode:l,_switchToVersion:h}=this;l==="create"&&this.arcgisCreateVersion.emit({createVersionParameters:s,switchToVersion:h}),l==="edit"&&this.arcgisAlterVersion.emit({alterVersionParameters:t})}_handleSwitchToVersionChange(t){this._switchToVersion=t.target.checked}render(){let{selected:t,showBackButton:s,versionPropertiesElementProps:{closable:l,currentUser:h,hasAdvEditingUte:p,state:v,strings:i,versionInfo:c},_mode:e,_ownerName:a,_versionName:r}=this,o=n`<div class="properties-buttons"><calcite-button appearance=outline width=half @click=${this._handleCancel}>${i.actions.cancelSave}</calcite-button><calcite-button width=half @click=${this._handleSave}>${i.actions.saveVersion}</calcite-button></div>`,V=n`<calcite-label>${i.input.versionAccess}<calcite-chip-group label=access @calciteChipGroupSelect=${this._handleChange} selection-mode=single-persist><calcite-chip .selected=${e==="edit"&&c.access==="public"||e==="create"} label=public>${i.accessLevels.public}</calcite-chip><calcite-chip .selected=${e==="edit"&&c.access==="protected"} label=protected>${i.accessLevels.protected}</calcite-chip><calcite-chip .selected=${e==="edit"&&c.access==="private"} label=private>${i.accessLevels.private}</calcite-chip></calcite-chip-group></calcite-label>`,f=n`<calcite-label>${i.input.versionDescription}<calcite-text-area name=description @calciteTextAreaInput=${this._handleChange} resize=vertical .value=${e==="edit"?c.description:""}></calcite-text-area></calcite-label>`,I=n`<calcite-label>${i.input.versionName}<calcite-input-text name=versionName @calciteInputTextInput=${this._handleChange} max-length=62 .value=${e==="edit"?r:""} ${u(this._versionNameInputElement)}></calcite-input-text></calcite-label>`,x=n`<calcite-label>${i.input.versionOwner}<calcite-input-text name=ownerName @calciteInputTextInput=${this._handleChange} .disabled=${!p} .value=${e==="edit"?a:h}></calcite-input-text></calcite-label>`,C=e==="create"?n`<calcite-label layout=inline><calcite-checkbox checked name=switchToVersion @calciteCheckboxChange=${this._handleSwitchToVersionChange} ${u(this._switchToVersionCheckboxElement)}></calcite-checkbox>${i.actions.switchToVersion}</calcite-label>`:void 0;return n`<calcite-flow-item .closable=${l} .description=${c?c.versionIdentifier.name:""} .heading=${c?i.actions.editVersion:i.actions.newVersion} .selected=${t} .showBackButton=${s} @calciteFlowItemClose=${this._handleClose} ${u(this._flowItemElement)}><calcite-panel .loading=${v==="executing"}><calcite-block .label=${i.headers.versionProperties} open>${I}${f}${V}${x}${C}${o}</calcite-block></calcite-panel></calcite-flow-item>`}};$("arcgis-version-management-version-properties",_);export{_ as ArcgisVersionManagementVersionProperties};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
3
|
-
v4.32.0-next.
|
|
4
|
-
import{a as l}from"./
|
|
3
|
+
v4.32.0-next.84 */
|
|
4
|
+
import{a as l}from"./LABTBYBR.js";import{d as r}from"./XKFVFNRT.js";import{ca as n}from"./WOWZWSL5.js";import"./PBYUEHJ2.js";import{B as a,C as h,H as d,g as e,r as s,s as o}from"./ALE6KF3F.js";var m=o`arcgis-time-slider{display:block}`,g=l(n),i=class extends h{constructor(){super(...arguments),this.widget=g(this),this.viewModel=this.widget.viewModel,this.actions=this.widget.actions,this.autoDestroyDisabled=!1,this.disabled=this.widget.disabled,this.effectiveStops=this.widget.effectiveStops,this.fullTimeExtent=this.widget.fullTimeExtent,this.icon=this.widget.icon,this.label=this.widget.label,this.layout=this.widget.layout,this.loop=this.widget.loop,this.mode=this.widget.mode,this.playRate=this.widget.playRate,this.position="bottom-left",this.state=this.viewModel.state,this.stops=this.widget.stops,this.tickConfigs=this.widget.tickConfigs,this.timeExtent=this.widget.timeExtent,this.timeVisible=this.widget.timeVisible,this.timeZone=this.widget.timeZone,this.arcgisPropertyChange=s()("effectiveStops","fullTimeExtent","timeExtent","state"),this.arcgisReady=a(),this.arcgisTriggerAction=r(()=>this.widget,"trigger-action")}static{this.properties={actions:0,autoDestroyDisabled:5,disabled:7,effectiveStops:0,fullTimeExtent:0,icon:1,label:1,layout:1,loop:5,mode:1,playRate:9,position:1,referenceElement:1,state:3,stops:0,tickConfigs:0,timeExtent:0,timeVisible:5,timeZone:1}}static{this.shadowRootOptions=e}static{this.styles=m}async applyTimeSliderSettings(t){Object.assign(this,t)}async destroy(){await this.manager.destroy()}async next(){this.widget?.next()}async play(){this.widget?.play()}async previous(){this.widget?.previous()}async stop(){this.widget?.stop()}async updateWebDocument(t){this.widget?.updateWebDocument(t)}};d("arcgis-time-slider",i);export{i as ArcgisTimeSlider};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
3
|
-
v4.32.0-next.
|
|
4
|
-
import{la as L}from"./
|
|
3
|
+
v4.32.0-next.84 */
|
|
4
|
+
import{la as L}from"./WOWZWSL5.js";import{c as v,e as y,h as E,i as w,k as _,l as g,m as P,n as C,o as b}from"./ALE6KF3F.js";var u;async function N(){return u??(u=L()),await u}var W=(e,o)=>(t,n)=>I(t,e,n),A=class extends w{constructor(e,o,t){super(e),this._loadAccessor=o,this._options=t,this._watchedProperties=new Map,this._isBinding={value:!0},this.setProvisionalExports(f.makeGetterProxy(e,this._watchedProperties,this._isBinding,this.constructor.allowedPropNameMismatches)),_(e,n=>{n&&(this._instancePropName=n)},this.exports)}hostConnected(){this._isBinding.value=!1}async hostLoad(){this.reactiveUtils=await N();let e=this.component,o=this._gatherParameters(),t=this._options?.editConstructorProperties?.call(e,o)??o,n=t instanceof Promise?await t:t,l=e,r=typeof this._instancePropName=="string"?l[this._instancePropName]:void 0;r!=null&&r!==this.exports?(this._instance=r,r.set(n)):this._instance=await this._createInstance(n),!e.manager.destroyed&&(f.watchComponentUpdates(this,this._instance,this._watchedProperties),f.watchAccessorUpdates(this,this._instance,this._watchedProperties),this.exports=this._instance)}_gatherParameters(){return Object.fromEntries(Array.from(this._watchedProperties,([t,n])=>[n,this.component[t]]).filter(([,t])=>t!==void 0))}async _createInstance(e){return this._isAccessorConstructor(this._loadAccessor)?new this._loadAccessor(e):await this._loadAccessor(e)}_isAccessorConstructor(e){return"prototype"in e&&"declaredClass"in e.prototype}hostDestroy(){this._instance&&this._instance.destroy()}async reCreate(){this.hostDestroy(),await this.hostLoad()}},I=b(A),f={makeGetterProxy:(e,o,t,n)=>new Proxy({},{has:(l,r)=>typeof r=="string"||r in l,get:(l,r)=>{let p=Reflect.get(l,r);if(typeof r=="symbol"||r in Promise.prototype)return p;let c=r in l,s=t?.value??!0;return c||!s?p:g(e,i=>{i!==void 0&&o.set(i.key,r)},p)}}),watchComponentUpdates(e,o,t){function n(c,s){let i=t.get(s),a=o[i];return typeof a=="boolean"&&i!==s&&s.toLowerCase().includes("disable")?!a:a}let l=(c,s,i)=>{let a=t.get(i),d=o[a],h=typeof d=="boolean"&&a!==i&&i.toLowerCase().includes("disable");if((h?!d:r.manager.isLit?d??void 0:d)===c)return c;o[a]=h?!c:c;let m=o[a];return h?!m:m},r=e.component,p=r.manager.internals;t.forEach((c,s)=>{p.accessorGetter[s]=n,p.accessorSetter[s]=l})},watchAccessorUpdates(e,o,t){let{component:n}=e,l=n,r=o,p=D(o);C(()=>t.forEach((c,s)=>{if(p.has(c))return;let i=l[s],a=r[c];n.manager.isLit&&(a??(a=void 0));let h=typeof i=="boolean"&&c!==s&&s.toLowerCase().includes("disable")?!i:i;h!=null&&a!==h&&(r[c]=h)})),e.onLifecycle(()=>{if(!o.destroyed)return Array.from(t,([c,s])=>e.reactiveUtils.watch(()=>r[s],()=>{let i=r[s],d=typeof i=="boolean"&&s!==c&&c.toLowerCase().includes("disable")?!i:i;P(()=>{l[c]=d})},{initial:!0}))})},reEmitAccessorEvents(e,o,t,n){if(!("on"in o&&typeof o.on=="function"))return;let r=Object.entries(e.component).map(([s,i])=>{let a=i;if(!s.startsWith(n)||s===n||typeof a!="object"||a===null||!("emit"in a)||typeof a.emit!="function")return;let d=a.emit,h=s.slice(n.length);return[v(h).toLowerCase(),d]}).filter(y);if(r.length===0)return;let p=o,c=()=>p;e.onLifecycle(()=>{if(!o.destroyed)return r.map(([s,i])=>t.on(c,s,i))})},async reCreate(e,o){let t=o.manager.useRefSync(e);t!==void 0&&await t.reCreate()}};function D(e){let t=Object.entries(e.__accessor__?.metadata??{});return new Set(t.filter(([n,l])=>l?.readOnly===!0).map(([n])=>n))}function R(e,o){let t=E(),n=t.manager,l=N();n.onLoaded(()=>{l.then(p=>n.onLifecycle(()=>p.on(e,o,r.emit)))});let r=t.constructor.$createEvent();return r}export{W as a,A as b,f as c,R as d};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
3
|
-
v4.32.0-next.
|
|
4
|
-
import{a as h}from"./
|
|
3
|
+
v4.32.0-next.84 */
|
|
4
|
+
import{a as h}from"./LABTBYBR.js";import"./XKFVFNRT.js";import{l as n}from"./WOWZWSL5.js";import"./PBYUEHJ2.js";import{B as a,C as o,H as r,g as s,r as i,s as e}from"./ALE6KF3F.js";var d=e`arcgis-area-measurement-3d{display:block}`,l=h(n),t=class extends o{constructor(){super(...arguments),this.widget=l(this),this.viewModel=this.widget.viewModel,this.analysis=this.widget.analysis,this.autoDestroyDisabled=!1,this.icon=this.widget.icon,this.label=this.widget.label,this.position="bottom-left",this.state=this.viewModel.state,this.unit=this.widget.unit,this.unitOptions=this.widget.unitOptions,this.arcgisPropertyChange=i()("analysis","state"),this.arcgisReady=a()}static{this.properties={analysis:0,autoDestroyDisabled:5,icon:1,label:1,position:1,referenceElement:1,state:3,unit:1,unitOptions:0}}static{this.shadowRootOptions=s}static{this.styles=d}async clear(){this.widget?.viewModel.clear()}async destroy(){await this.manager.destroy()}async start(){this.widget?.viewModel.start()}};r("arcgis-area-measurement-3d",t);export{t as ArcgisAreaMeasurement3d};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
3
|
-
v4.32.0-next.
|
|
4
|
-
import{a as d}from"./
|
|
3
|
+
v4.32.0-next.84 */
|
|
4
|
+
import{a as d}from"./LABTBYBR.js";import{d as h}from"./XKFVFNRT.js";import{o}from"./WOWZWSL5.js";import"./PBYUEHJ2.js";import{B as r,C as a,H as l,g as t,r as i,s}from"./ALE6KF3F.js";var n=s`arcgis-basemap-layer-list{display:block}`,c=d(o),e=class extends a{constructor(){super(...arguments),this.widget=c(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.baseFilterPredicate=this.widget.baseFilterPredicate,this.baseFilterText=this.widget.baseFilterText,this.baseListItemCreatedFunction=this.widget.baseListItemCreatedFunction,this.basemapTitle=this.widget.basemapTitle,this.catalogOptions=this.widget.catalogOptions,this.collapsed=this.widget.collapsed,this.dragEnabled=this.widget.dragEnabled,this.editingTitle=this.widget.editingTitle,this.filterPlaceholder=this.widget.filterPlaceholder,this.headingLevel=this.widget.headingLevel,this.hideBaseLayers=this.widget.visibleElements.baseLayers,this.hideFlow=this.widget.visibleElements.flow,this.hideHeading=this.widget.visibleElements.heading,this.hideReferenceLayers=this.widget.visibleElements.referenceLayers,this.hideStatusIndicators=this.widget.visibleElements.statusIndicators,this.icon=this.widget.icon,this.label=this.widget.label,this.minFilterItems=this.widget.minFilterItems,this.position="bottom-left",this.referenceFilterPredicate=this.widget.referenceFilterPredicate,this.referenceFilterText=this.widget.referenceFilterText,this.referenceListItemCreatedFunction=this.widget.referenceListItemCreatedFunction,this.selectedItems=this.widget.selectedItems,this.selectionMode=this.widget.selectionMode,this.showCloseButton=this.widget.visibleElements.closeButton,this.showCollapseButton=this.widget.visibleElements.collapseButton,this.showEditTitleButton=this.widget.visibleElements.editTitleButton,this.showErrors=this.widget.visibleElements.errors,this.showFilter=this.widget.visibleElements.filter,this.showTemporaryLayerIndicators=this.widget.visibleElements.temporaryLayerIndicators,this.state=this.viewModel.state,this.visibilityAppearance=this.widget.visibilityAppearance,this.arcgisPropertyChange=i()("state"),this.arcgisReady=r(),this.arcgisTriggerAction=h(()=>this.widget,"trigger-action")}static{this.properties={autoDestroyDisabled:5,baseFilterPredicate:0,baseFilterText:1,baseItems:32,baseListItemCreatedFunction:0,basemapTitle:1,catalogLayerList:32,catalogOptions:0,collapsed:7,dragEnabled:5,editingTitle:5,filterPlaceholder:1,headingLevel:9,hideBaseLayers:5,hideFlow:5,hideHeading:5,hideReferenceLayers:5,hideStatusIndicators:5,icon:1,label:1,minFilterItems:9,position:1,referenceElement:1,referenceFilterPredicate:0,referenceFilterText:1,referenceItems:32,referenceListItemCreatedFunction:0,selectedItems:0,selectionMode:1,showCloseButton:5,showCollapseButton:5,showEditTitleButton:5,showErrors:5,showFilter:5,showTemporaryLayerIndicators:5,state:3,visibilityAppearance:1}}static{this.shadowRootOptions=t}static{this.styles=n}get baseItems(){return this.widget.baseItems}get catalogLayerList(){return this.widget.catalogLayerList}get referenceItems(){return this.widget.referenceItems}async destroy(){await this.manager.destroy()}};l("arcgis-basemap-layer-list",e);export{e as ArcgisBasemapLayerList};
|