@arcgis/map-components 4.32.0-next.7 → 4.32.0-next.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (162) hide show
  1. package/dist/arcgis-map-components/{O5XG46EP.js → 22TUFTJ3.js} +2 -2
  2. package/dist/arcgis-map-components/{ONF42IHH.js → 3QCCXS3H.js} +2 -2
  3. package/dist/arcgis-map-components/{OL46KGZ3.js → 3QPRNSBZ.js} +2 -2
  4. package/dist/arcgis-map-components/{UX4JJY2U.js → 43GCCQ4L.js} +2 -2
  5. package/dist/arcgis-map-components/{2A25TYG6.js → 4QUJJ2II.js} +2 -2
  6. package/dist/arcgis-map-components/{ORBUFGQZ.js → 4TEHBDRX.js} +2 -2
  7. package/dist/arcgis-map-components/{DSXTSZOH.js → 4TQ6LVAO.js} +2 -2
  8. package/dist/arcgis-map-components/{V6UWCX5S.js → 4XDOSD62.js} +2 -2
  9. package/dist/arcgis-map-components/{EF72I5WZ.js → 54YVOIIP.js} +1 -1
  10. package/dist/arcgis-map-components/{XU7RHRB6.js → 57TW6U5N.js} +2 -2
  11. package/dist/arcgis-map-components/{LX73HFSX.js → 5EP74C7X.js} +2 -2
  12. package/dist/arcgis-map-components/74WRREWX.js +6 -0
  13. package/dist/arcgis-map-components/{7BUGSZRT.js → 7ALDBQRZ.js} +2 -2
  14. package/dist/arcgis-map-components/{TPKPZQWV.js → 7MAUBIXS.js} +2 -2
  15. package/dist/arcgis-map-components/{DAKYQPUS.js → 7XINDKSI.js} +2 -2
  16. package/dist/arcgis-map-components/{XOXPFGC5.js → AJ64ANVX.js} +2 -2
  17. package/dist/arcgis-map-components/{E2EPRMSI.js → B3CTFOJQ.js} +2 -2
  18. package/dist/arcgis-map-components/{6SG2OALL.js → B4HPKENV.js} +2 -2
  19. package/dist/arcgis-map-components/{FTOXJ6Y2.js → B5BJ3LU3.js} +2 -2
  20. package/dist/arcgis-map-components/{SC2UR5WA.js → BMOY4OXW.js} +2 -2
  21. package/dist/arcgis-map-components/{QLGVLJYK.js → BZKJPHX5.js} +2 -2
  22. package/dist/arcgis-map-components/{52PFU3FG.js → CAXTP5IW.js} +2 -2
  23. package/dist/arcgis-map-components/{R3IRKDGV.js → DGDEK5J4.js} +2 -2
  24. package/dist/arcgis-map-components/{ZIY4VYAM.js → EEZJ56IS.js} +4 -4
  25. package/dist/arcgis-map-components/FFBYYHGU.js +6 -0
  26. package/dist/arcgis-map-components/{UZQHNANU.js → FVFH5V4K.js} +2 -2
  27. package/dist/arcgis-map-components/{7KTLQHJ5.js → FXYTJEWC.js} +2 -2
  28. package/dist/arcgis-map-components/{B7OXFC7J.js → GAVVNSGK.js} +2 -2
  29. package/dist/arcgis-map-components/{S6IT5W3C.js → GSXJTYIM.js} +2 -2
  30. package/dist/arcgis-map-components/{H6WFGH37.js → GUZOC3NU.js} +2 -2
  31. package/dist/arcgis-map-components/{YAKDNQDU.js → GWM5YZJP.js} +2 -2
  32. package/dist/arcgis-map-components/{WPNJSRZ6.js → HGVFIOAY.js} +2 -2
  33. package/dist/arcgis-map-components/{WVG2XL45.js → HRNJIDAS.js} +2 -2
  34. package/dist/arcgis-map-components/{IBQQAJNR.js → IKBJQN6B.js} +2 -2
  35. package/dist/arcgis-map-components/{P7R7WEZQ.js → IVNTYVV6.js} +2 -2
  36. package/dist/arcgis-map-components/{4ZMBY532.js → IZYKFXP5.js} +1 -1
  37. package/dist/arcgis-map-components/{2N55O26O.js → JHJEXFRQ.js} +2 -2
  38. package/dist/arcgis-map-components/{KFWR3743.js → JIS66VBD.js} +2 -2
  39. package/dist/arcgis-map-components/JNGQNCAL.js +6 -0
  40. package/dist/arcgis-map-components/{MNBV2LVQ.js → KJYMAR7G.js} +2 -2
  41. package/dist/arcgis-map-components/{MRUGEIEN.js → KLW55FLB.js} +2 -2
  42. package/dist/arcgis-map-components/{HVSLLIFX.js → LAWFOVGI.js} +2 -2
  43. package/dist/arcgis-map-components/{F63CZB7R.js → LIIHMDYD.js} +2 -2
  44. package/dist/arcgis-map-components/{J6RZCZEJ.js → LJOXE4BX.js} +2 -2
  45. package/dist/arcgis-map-components/LNSQ32WQ.js +6 -0
  46. package/dist/arcgis-map-components/{Q73GCMNG.js → LX3UECVC.js} +2 -2
  47. package/dist/arcgis-map-components/{AWVMMDFK.js → MTJOGTKX.js} +2 -2
  48. package/dist/arcgis-map-components/{AK3FXQDM.js → NAS3YJDX.js} +2 -2
  49. package/dist/arcgis-map-components/{DR6IOA6M.js → NNSDVBO7.js} +2 -2
  50. package/dist/arcgis-map-components/NT4AWAXV.js +6 -0
  51. package/dist/arcgis-map-components/{RVVU7ACX.js → OJZQEYM5.js} +2 -2
  52. package/dist/arcgis-map-components/{TCHQQ6YP.js → QR3XASHQ.js} +2 -2
  53. package/dist/arcgis-map-components/{ZIVFGNA3.js → QZU4BCAM.js} +2 -2
  54. package/dist/arcgis-map-components/{64YWLPOV.js → RMWYYG25.js} +2 -2
  55. package/dist/arcgis-map-components/{WD4FY5PW.js → S2O4ZDWX.js} +2 -2
  56. package/dist/arcgis-map-components/{ZZDXJBNG.js → SHHNWXJN.js} +2 -2
  57. package/dist/arcgis-map-components/{LNUEJ2YO.js → SXCBQQPX.js} +2 -2
  58. package/dist/arcgis-map-components/{6ATH4SYH.js → T5Y7WYGJ.js} +2 -2
  59. package/dist/arcgis-map-components/{O5F6WGV3.js → TE6YAHEH.js} +2 -2
  60. package/dist/arcgis-map-components/{7JXHFKEX.js → U4Z5STVP.js} +2 -2
  61. package/dist/arcgis-map-components/VOA22JK2.js +6 -0
  62. package/dist/arcgis-map-components/{BRXQ33AJ.js → WNCBFKHY.js} +2 -2
  63. package/dist/arcgis-map-components/{J4YWDWCW.js → WNUEJGKJ.js} +2 -2
  64. package/dist/arcgis-map-components/{JGBTUFPL.js → WYLHKII6.js} +2 -2
  65. package/dist/arcgis-map-components/{JYJ4UHNH.js → YBB23ALW.js} +2 -2
  66. package/dist/arcgis-map-components/{PGZJFOZB.js → YH24QDM4.js} +2 -2
  67. package/dist/arcgis-map-components/{XDSXW32X.js → Z6LBL5EZ.js} +2 -2
  68. package/dist/arcgis-map-components/{WQEUM47V.js → ZD7SCHUX.js} +2 -2
  69. package/dist/arcgis-map-components/{2QSFHBVG.js → ZDX7WO6G.js} +2 -2
  70. package/dist/arcgis-map-components/{5X4OBSHN.js → ZG66MOWN.js} +2 -2
  71. package/dist/arcgis-map-components/{KT7V76Z5.js → ZLIL7MJL.js} +2 -2
  72. package/dist/arcgis-map-components/arcgis-map-components.esm.js +2 -2
  73. package/dist/chunks/component-utils.js +3 -3
  74. package/dist/chunks/disconnected.js +1 -1
  75. package/dist/chunks/globalCss.js +1 -1
  76. package/dist/chunks/runtime.js +1 -1
  77. package/dist/chunks/useViewModel.js +1 -1
  78. package/dist/chunks/useWidget.js +1 -1
  79. package/dist/components/arcgis-area-measurement-2d/customElement.js +1 -1
  80. package/dist/components/arcgis-area-measurement-3d/customElement.js +1 -1
  81. package/dist/components/arcgis-attachments/customElement.js +1 -1
  82. package/dist/components/arcgis-basemap-gallery/customElement.js +1 -1
  83. package/dist/components/arcgis-basemap-layer-list/customElement.js +2 -2
  84. package/dist/components/arcgis-basemap-toggle/customElement.js +1 -1
  85. package/dist/components/arcgis-bookmarks/customElement.js +2 -2
  86. package/dist/components/arcgis-building-explorer/customElement.js +1 -1
  87. package/dist/components/arcgis-catalog-layer-list/customElement.js +2 -2
  88. package/dist/components/arcgis-compass/customElement.js +1 -1
  89. package/dist/components/arcgis-coordinate-conversion/customElement.js +1 -1
  90. package/dist/components/arcgis-daylight/customElement.js +1 -1
  91. package/dist/components/arcgis-directional-pad/customElement.js +1 -1
  92. package/dist/components/arcgis-directions/customElement.js +2 -2
  93. package/dist/components/arcgis-directline-measurement-3d/customElement.js +1 -1
  94. package/dist/components/arcgis-distance-measurement-2d/customElement.js +1 -1
  95. package/dist/components/arcgis-editor/customElement.js +1 -1
  96. package/dist/components/arcgis-elevation-profile/customElement.js +1 -1
  97. package/dist/components/arcgis-expand/customElement.js +1 -1
  98. package/dist/components/arcgis-feature/customElement.js +1 -1
  99. package/dist/components/arcgis-feature-form/customElement.js +2 -2
  100. package/dist/components/arcgis-feature-table/customElement.d.ts +3 -1
  101. package/dist/components/arcgis-feature-table/customElement.js +4 -4
  102. package/dist/components/arcgis-feature-templates/customElement.js +1 -1
  103. package/dist/components/arcgis-features/customElement.js +2 -2
  104. package/dist/components/arcgis-floor-filter/customElement.js +1 -1
  105. package/dist/components/arcgis-fullscreen/customElement.js +1 -1
  106. package/dist/components/arcgis-histogram/customElement.js +1 -1
  107. package/dist/components/arcgis-histogram-range-slider/customElement.d.ts +0 -4
  108. package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
  109. package/dist/components/arcgis-home/customElement.js +1 -1
  110. package/dist/components/arcgis-layer-list/customElement.js +2 -2
  111. package/dist/components/arcgis-legend/customElement.js +1 -1
  112. package/dist/components/arcgis-line-of-sight/customElement.js +1 -1
  113. package/dist/components/arcgis-locate/customElement.js +2 -2
  114. package/dist/components/arcgis-map/customElement.js +32 -32
  115. package/dist/components/arcgis-measurement/customElement.js +1 -1
  116. package/dist/components/arcgis-navigation-toggle/customElement.js +1 -1
  117. package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +1 -1
  118. package/dist/components/arcgis-placement/customElement.js +1 -1
  119. package/dist/components/arcgis-print/customElement.js +1 -1
  120. package/dist/components/arcgis-scale-bar/customElement.js +1 -1
  121. package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
  122. package/dist/components/arcgis-scene/customElement.js +12 -12
  123. package/dist/components/arcgis-search/customElement.js +2 -2
  124. package/dist/components/arcgis-shadow-cast/customElement.js +1 -1
  125. package/dist/components/arcgis-sketch/customElement.js +1 -1
  126. package/dist/components/arcgis-slice/customElement.js +1 -1
  127. package/dist/components/arcgis-slider/customElement.js +7 -7
  128. package/dist/components/arcgis-swipe/customElement.js +1 -1
  129. package/dist/components/arcgis-table-list/customElement.js +5 -5
  130. package/dist/components/arcgis-time-slider/customElement.js +2 -2
  131. package/dist/components/arcgis-track/customElement.js +2 -2
  132. package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
  133. package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
  134. package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -1
  135. package/dist/components/arcgis-value-picker/customElement.js +1 -1
  136. package/dist/components/arcgis-version-management/customElement.js +1 -1
  137. package/dist/components/arcgis-version-management-service-item/customElement.js +1 -1
  138. package/dist/components/arcgis-version-management-version-item/customElement.js +1 -1
  139. package/dist/components/arcgis-version-management-version-list/customElement.js +1 -1
  140. package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
  141. package/dist/components/arcgis-weather/customElement.js +1 -1
  142. package/dist/components/arcgis-zoom/customElement.js +1 -1
  143. package/dist/controllers/useViewModel.d.ts +3 -1
  144. package/dist/controllers/useWidget.d.ts +1 -1
  145. package/dist/docs/docs.json +43 -2
  146. package/dist/docs/manifest.json +50 -2
  147. package/dist/docs/vscode.html-custom-data.json +6 -1
  148. package/dist/docs/web-types.json +22 -2
  149. package/dist/index.d.ts +8 -3
  150. package/dist/index.js +7 -4
  151. package/dist/loader.js +2 -2
  152. package/dist/types/lumina.d.ts +2 -1
  153. package/dist/types/preact.d.ts +2 -1
  154. package/dist/types/react.d.ts +2 -1
  155. package/dist/types/stencil.d.ts +2 -1
  156. package/package.json +7 -7
  157. package/dist/arcgis-map-components/2TOMY7TD.js +0 -6
  158. package/dist/arcgis-map-components/DEGQKFZW.js +0 -6
  159. package/dist/arcgis-map-components/FJB34PJD.js +0 -6
  160. package/dist/arcgis-map-components/FLLDDWNY.js +0 -6
  161. package/dist/arcgis-map-components/LEYT65FJ.js +0 -6
  162. package/dist/arcgis-map-components/QELGYUUG.js +0 -6
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.32/esri/copyright.txt for details.
4
- * v4.32.0-next.7
4
+ * v4.32.0-next.8
5
5
  */
6
- import{a as N,b as _}from"./UZQHNANU.js";import{a as C,b as M}from"./LX73HFSX.js";import"./ZIVFGNA3.js";import{ga as y,ja as P}from"./XDSXW32X.js";import"./EF72I5WZ.js";import{B as V,C as L,G as S,m as E,p as I,q as v,y as w,z as u}from"./ZIY4VYAM.js";var F=I`.calcite-flow-widget{width:350px}calcite-block{margin:0}calcite-pagination{justify-content:center}`,b=M(y),f=class extends V{constructor(){super(...arguments),this.flowElement=N(),this.messages=C({blocking:!0}),this.reactiveUtils=E(P),this.viewModel=b(this),this.allowEditingDisabled=!1,this.autoDestroyDisabled=!1,this.closable=!1,this.pageSize=5,this.position="top-right",this.state=this.viewModel.state,this.versioningStates=this.viewModel.versioningStates,this.view=this.viewModel.view,this.arcgisReady=w(),this.arcgisVersioningStateChanged=w()}static{this.properties={allowEditingDisabled:5,autoDestroyDisabled:5,closable:7,icon:3,label:3,messageOverrides:0,mode:1,pageSize:9,position:1,referenceElement:1,state:3,versioningStates:0,view:0}}static{this.shadowRootOptions=u}static{this.styles=F}async destroy(){await this.manager.destroy()}load(){let{watch:e}=this.reactiveUtils;this.manager.onLifecycle(()=>[e(()=>this.viewModel.state,i=>{let{flowElement:{value:r}}=this,o=r?.getElementsByTagName("arcgis-version-management-version-properties")[0],t=r?.getElementsByTagName("arcgis-version-management-version-list")[0];if(i==="disabled"){o&&this._removeVersionPropertiesFlowItem(r),t&&this._removeVersionListFlowItem(r);return}t&&(t.versionListElementProps={...t.versionListElementProps,executionError:this.viewModel.executionError},t.versionListElementProps={...t.versionListElementProps,state:i}),o&&(o.versionPropertiesElementProps={...o.versionPropertiesElementProps,state:i})})])}_createVersionPropertiesFlowItem(e,i){let{closable:r,flowElement:{value:o},viewModel:t,viewModel:{state:a}}=this,s=document.createElement("arcgis-version-management-version-properties");return s.versionPropertiesElementProps={closable:r,currentUser:t.userLookup.get(e),hasAdvEditingUte:t.advancedEditingUserTypeExtensionLookup.get(e),serviceUrl:e,state:a,strings:this.messages,versionInfo:i},s.addEventListener("arcgisCreateVersion",n=>{let{createVersionParameters:l,switchToVersion:m}=n.detail;t.createVersion(l).then(async c=>{c&&this.arcgisVersioningStateChanged.emit({type:"version-created",versionIdentifier:c.versionIdentifier,versioningState:t.versioningStateLookup.get(e)}),m&&await this.viewModel.changeVersion(e,c.versionIdentifier.name,c.versionIdentifier.guid).then(g=>{g&&this.arcgisVersioningStateChanged.emit({type:"version-switched",versionIdentifier:c.versionIdentifier,versioningState:t.versioningStateLookup.get(e)})}),await this._refreshVersionList(e)}).finally(()=>{o&&this._removeVersionPropertiesFlowItem(o)})}),s.addEventListener("arcgisAlterVersion",async n=>{let{flowElement:{value:l}}=this,{alterVersionParameters:m}=n.detail;await t.alterVersion(m).then(async c=>{c&&this.arcgisVersioningStateChanged.emit({type:"version-changed",versionIdentifier:m.versionIdentifier,versioningState:t.versioningStateLookup.get(e)}),await this._refreshVersionList(e)}).finally(()=>{l&&this._removeVersionPropertiesFlowItem(l)})}),s.addEventListener("arcgisFlowItemBack",()=>{this._removeVersionPropertiesFlowItem(this.flowElement.value)}),s.addEventListener("calciteFlowItemBack",n=>{n.preventDefault(),this._removeVersionPropertiesFlowItem(this.flowElement.value)}),s.addEventListener("calciteFlowItemClose",()=>{this._handleFlowItemClose()}),s}_getLoadError(e){let{messages:i}=this;switch(e){case"no-feature-services":return i.loadErrors.noFeatureServices;case"no-view-property":return i.loadErrors.noViewProperty;default:return e}}_handleFlowItemClose(){let e=document.querySelector("arcgis-version-management");e.parentElement?.removeChild(e)}async _handleManageVersionAction(e){let{actionType:i,serviceUrl:r,versionInfo:o}=e.detail,{viewModel:t,flowElement:a}=this;switch(i){case"changeVersion":{t.changeVersion(r,o.versionIdentifier.name,o.versionIdentifier.guid).then(s=>{s&&this.arcgisVersioningStateChanged.emit({type:"version-switched",versionIdentifier:o.versionIdentifier,versioningState:t.versioningStateLookup.get(r)});let n=a.value?.getElementsByTagName("arcgis-version-management-version-list")[0];n&&n&&(n.versionListElementProps={...n.versionListElementProps,currentVersionIdentifier:t.versioningStateLookup.get(r).currentVersionInfo.versionIdentifier})});break}case"deleteVersion":{t.deleteVersion(r,o.versionIdentifier.name,o.versionIdentifier.guid).then(async s=>{s&&this.arcgisVersioningStateChanged.emit({type:"version-deleted",versionIdentifier:o.versionIdentifier,versioningState:t.versioningStateLookup.get(r)}),await this._refreshVersionList(r)});break}case"editVersion":{let s=this._createVersionPropertiesFlowItem(r,o);a.value?.appendChild(s);break}}}async _refreshVersionList(e){let{flowElement:{value:i},viewModel:r}=this;if(i){let o=await r.getVersionInfos(e),t=i.getElementsByTagName("arcgis-version-management-service-item");for(let s of t)s.serviceItemElementProps.serviceUrl===e&&(s.serviceItemElementProps={...s.serviceItemElementProps,versionInfos:o});let a=i.getElementsByTagName("arcgis-version-management-version-list")[0];a&&(a.versionListElementProps={...a.versionListElementProps,currentVersionIdentifier:r.versioningStateLookup.get(e).currentVersionInfo.versionIdentifier,versionInfos:o})}}_removeVersionListFlowItem(e){for(let i of e.childNodes)i.nodeName.toUpperCase()==="ARCGIS-VERSION-MANAGEMENT-VERSION-LIST"&&e.removeChild(i),i.nodeName.toUpperCase()==="CALCITE-FLOW-ITEM"&&(i.hidden=!1)}_removeVersionPropertiesFlowItem(e){for(let i of e.childNodes)i.nodeName.toUpperCase()==="ARCGIS-VERSION-MANAGEMENT-VERSION-PROPERTIES"&&e.removeChild(i),i.nodeName.toUpperCase()==="ARCGIS-VERSION-MANAGEMENT-VERSION-LIST"&&(i.getElementsByTagName("calcite-flow-item")[0].hidden=!1)}render(){let{allowEditingDisabled:e,closable:i,flowElement:{value:r},label:o,messages:t,pageSize:a,viewModel:s,viewModel:{loadError:n,state:l}}=this,m=Array.from(s.serviceNameLookup,([d,h])=>({url:d,name:h})),c=l!=="disabled"?m.map(d=>{let h={allowEditing:!e,closable:i,currentUser:s.userLookup.get(d.url),currentVersionIdentifier:s.versioningStateLookup.get(d.url).currentVersionInfo.versionIdentifier,executionError:void 0,flowElement:r,hasAdvEditingUte:s.advancedEditingUserTypeExtensionLookup.get(d.url),heading:o,isVersioningApiAvailable:(s.serverVersionLookup.get(d.url)??0)>=11.2,pageSize:a,serviceName:d.name,state:l,serviceUrl:d.url,strings:t,versionInfos:s.versioningStateLookup.get(d.url)?.versionInfos??[]};return v`<arcgis-version-management-service-item .serviceItemElementProps=${h} @arcgisGetVersions=${async p=>{await this._refreshVersionList(p.detail.serviceUrl)}} @arcgisFlowItemBack=${()=>{r&&this._removeVersionListFlowItem(r)}} @arcgisFlowItemClose=${()=>{this._handleFlowItemClose()}} @arcgisManageVersion=${this._handleManageVersionAction} @arcgisNewVersion=${p=>{let k=this._createVersionPropertiesFlowItem(p.detail.serviceUrl,void 0);r?.appendChild(k)}}></arcgis-version-management-service-item>`}):void 0,g=l==="disabled"?v`<calcite-notice class="notice" kind=warning open scale=s slot=footer width=full><div slot=message>${this._getLoadError(n)}</div></calcite-notice>`:void 0;return v`<calcite-flow class=${L(this.mode==="dialog"?"":"calcite-flow-widget")} ${_(this.flowElement)}><calcite-flow-item .closable=${this.closable} .heading=${(o??void 0)||""} @calciteFlowItemClose=${()=>{this._handleFlowItemClose()}}><calcite-panel .loading=${l==="loading"||l==="executing"||""}>${c}${g}</calcite-panel></calcite-flow-item></calcite-flow>`}};S("arcgis-version-management",f);export{f as ArcgisVersionManagement};
6
+ import{a as N,b as _}from"./FVFH5V4K.js";import{a as C,b as M}from"./5EP74C7X.js";import"./QZU4BCAM.js";import{ga as y,ja as P}from"./Z6LBL5EZ.js";import"./54YVOIIP.js";import{B as V,C as L,G as S,m as E,p as I,q as v,y as w,z as u}from"./EEZJ56IS.js";var F=I`.calcite-flow-widget{width:350px}calcite-block{margin:0}calcite-pagination{justify-content:center}`,b=M(y),f=class extends V{constructor(){super(...arguments),this.flowElement=N(),this.messages=C({blocking:!0}),this.reactiveUtils=E(P),this.viewModel=b(this),this.allowEditingDisabled=!1,this.autoDestroyDisabled=!1,this.closable=!1,this.pageSize=5,this.position="top-right",this.state=this.viewModel.state,this.versioningStates=this.viewModel.versioningStates,this.view=this.viewModel.view,this.arcgisReady=w(),this.arcgisVersioningStateChanged=w()}static{this.properties={allowEditingDisabled:5,autoDestroyDisabled:5,closable:7,icon:3,label:3,messageOverrides:0,mode:1,pageSize:9,position:1,referenceElement:1,state:3,versioningStates:0,view:0}}static{this.shadowRootOptions=u}static{this.styles=F}async destroy(){await this.manager.destroy()}load(){let{watch:e}=this.reactiveUtils;this.manager.onLifecycle(()=>[e(()=>this.viewModel.state,i=>{let{flowElement:{value:r}}=this,o=r?.getElementsByTagName("arcgis-version-management-version-properties")[0],t=r?.getElementsByTagName("arcgis-version-management-version-list")[0];if(i==="disabled"){o&&this._removeVersionPropertiesFlowItem(r),t&&this._removeVersionListFlowItem(r);return}t&&(t.versionListElementProps={...t.versionListElementProps,executionError:this.viewModel.executionError},t.versionListElementProps={...t.versionListElementProps,state:i}),o&&(o.versionPropertiesElementProps={...o.versionPropertiesElementProps,state:i})})])}_createVersionPropertiesFlowItem(e,i){let{closable:r,flowElement:{value:o},viewModel:t,viewModel:{state:a}}=this,s=document.createElement("arcgis-version-management-version-properties");return s.versionPropertiesElementProps={closable:r,currentUser:t.userLookup.get(e),hasAdvEditingUte:t.advancedEditingUserTypeExtensionLookup.get(e),serviceUrl:e,state:a,strings:this.messages,versionInfo:i},s.addEventListener("arcgisCreateVersion",n=>{let{createVersionParameters:l,switchToVersion:m}=n.detail;t.createVersion(l).then(async c=>{c&&this.arcgisVersioningStateChanged.emit({type:"version-created",versionIdentifier:c.versionIdentifier,versioningState:t.versioningStateLookup.get(e)}),m&&await this.viewModel.changeVersion(e,c.versionIdentifier.name,c.versionIdentifier.guid).then(g=>{g&&this.arcgisVersioningStateChanged.emit({type:"version-switched",versionIdentifier:c.versionIdentifier,versioningState:t.versioningStateLookup.get(e)})}),await this._refreshVersionList(e)}).finally(()=>{o&&this._removeVersionPropertiesFlowItem(o)})}),s.addEventListener("arcgisAlterVersion",async n=>{let{flowElement:{value:l}}=this,{alterVersionParameters:m}=n.detail;await t.alterVersion(m).then(async c=>{c&&this.arcgisVersioningStateChanged.emit({type:"version-changed",versionIdentifier:m.versionIdentifier,versioningState:t.versioningStateLookup.get(e)}),await this._refreshVersionList(e)}).finally(()=>{l&&this._removeVersionPropertiesFlowItem(l)})}),s.addEventListener("arcgisFlowItemBack",()=>{this._removeVersionPropertiesFlowItem(this.flowElement.value)}),s.addEventListener("calciteFlowItemBack",n=>{n.preventDefault(),this._removeVersionPropertiesFlowItem(this.flowElement.value)}),s.addEventListener("calciteFlowItemClose",()=>{this._handleFlowItemClose()}),s}_getLoadError(e){let{messages:i}=this;switch(e){case"no-feature-services":return i.loadErrors.noFeatureServices;case"no-view-property":return i.loadErrors.noViewProperty;default:return e}}_handleFlowItemClose(){let e=document.querySelector("arcgis-version-management");e.parentElement?.removeChild(e)}async _handleManageVersionAction(e){let{actionType:i,serviceUrl:r,versionInfo:o}=e.detail,{viewModel:t,flowElement:a}=this;switch(i){case"changeVersion":{t.changeVersion(r,o.versionIdentifier.name,o.versionIdentifier.guid).then(s=>{s&&this.arcgisVersioningStateChanged.emit({type:"version-switched",versionIdentifier:o.versionIdentifier,versioningState:t.versioningStateLookup.get(r)});let n=a.value?.getElementsByTagName("arcgis-version-management-version-list")[0];n&&n&&(n.versionListElementProps={...n.versionListElementProps,currentVersionIdentifier:t.versioningStateLookup.get(r).currentVersionInfo.versionIdentifier})});break}case"deleteVersion":{t.deleteVersion(r,o.versionIdentifier.name,o.versionIdentifier.guid).then(async s=>{s&&this.arcgisVersioningStateChanged.emit({type:"version-deleted",versionIdentifier:o.versionIdentifier,versioningState:t.versioningStateLookup.get(r)}),await this._refreshVersionList(r)});break}case"editVersion":{let s=this._createVersionPropertiesFlowItem(r,o);a.value?.appendChild(s);break}}}async _refreshVersionList(e){let{flowElement:{value:i},viewModel:r}=this;if(i){let o=await r.getVersionInfos(e),t=i.getElementsByTagName("arcgis-version-management-service-item");for(let s of t)s.serviceItemElementProps.serviceUrl===e&&(s.serviceItemElementProps={...s.serviceItemElementProps,versionInfos:o});let a=i.getElementsByTagName("arcgis-version-management-version-list")[0];a&&(a.versionListElementProps={...a.versionListElementProps,currentVersionIdentifier:r.versioningStateLookup.get(e).currentVersionInfo.versionIdentifier,versionInfos:o})}}_removeVersionListFlowItem(e){for(let i of e.childNodes)i.nodeName.toUpperCase()==="ARCGIS-VERSION-MANAGEMENT-VERSION-LIST"&&e.removeChild(i),i.nodeName.toUpperCase()==="CALCITE-FLOW-ITEM"&&(i.hidden=!1)}_removeVersionPropertiesFlowItem(e){for(let i of e.childNodes)i.nodeName.toUpperCase()==="ARCGIS-VERSION-MANAGEMENT-VERSION-PROPERTIES"&&e.removeChild(i),i.nodeName.toUpperCase()==="ARCGIS-VERSION-MANAGEMENT-VERSION-LIST"&&(i.getElementsByTagName("calcite-flow-item")[0].hidden=!1)}render(){let{allowEditingDisabled:e,closable:i,flowElement:{value:r},label:o,messages:t,pageSize:a,viewModel:s,viewModel:{loadError:n,state:l}}=this,m=Array.from(s.serviceNameLookup,([d,h])=>({url:d,name:h})),c=l!=="disabled"?m.map(d=>{let h={allowEditing:!e,closable:i,currentUser:s.userLookup.get(d.url),currentVersionIdentifier:s.versioningStateLookup.get(d.url).currentVersionInfo.versionIdentifier,executionError:void 0,flowElement:r,hasAdvEditingUte:s.advancedEditingUserTypeExtensionLookup.get(d.url),heading:o,isVersioningApiAvailable:(s.serverVersionLookup.get(d.url)??0)>=11.2,pageSize:a,serviceName:d.name,state:l,serviceUrl:d.url,strings:t,versionInfos:s.versioningStateLookup.get(d.url)?.versionInfos??[]};return v`<arcgis-version-management-service-item .serviceItemElementProps=${h} @arcgisGetVersions=${async p=>{await this._refreshVersionList(p.detail.serviceUrl)}} @arcgisFlowItemBack=${()=>{r&&this._removeVersionListFlowItem(r)}} @arcgisFlowItemClose=${()=>{this._handleFlowItemClose()}} @arcgisManageVersion=${this._handleManageVersionAction} @arcgisNewVersion=${p=>{let k=this._createVersionPropertiesFlowItem(p.detail.serviceUrl,void 0);r?.appendChild(k)}}></arcgis-version-management-service-item>`}):void 0,g=l==="disabled"?v`<calcite-notice class="notice" kind=warning open scale=s slot=footer width=full><div slot=message>${this._getLoadError(n)}</div></calcite-notice>`:void 0;return v`<calcite-flow class=${L(this.mode==="dialog"?"":"calcite-flow-widget")} ${_(this.flowElement)}><calcite-flow-item .closable=${this.closable} .heading=${(o??void 0)||""} @calciteFlowItemClose=${()=>{this._handleFlowItemClose()}}><calcite-panel .loading=${l==="loading"||l==="executing"||""}>${c}${g}</calcite-panel></calcite-flow-item></calcite-flow>`}};S("arcgis-version-management",f);export{f as ArcgisVersionManagement};
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.32/esri/copyright.txt for details.
4
- * v4.32.0-next.7
4
+ * v4.32.0-next.8
5
5
  */
6
- import{a as n}from"./TCHQQ6YP.js";import"./ZIVFGNA3.js";import{M as o}from"./XDSXW32X.js";import"./EF72I5WZ.js";import{B as a,G as r,o as i,y as t,z as s}from"./ZIY4VYAM.js";var h=n(o),e=class extends a{constructor(){super(...arguments),this.widget=h(this),this.viewModel=this.widget.viewModel,this.activeLayerInfos=this.widget.activeLayerInfos,this.autoDestroyDisabled=!1,this.basemapLegendVisible=this.widget.basemapLegendVisible,this.headingLevel=this.widget.headingLevel,this.hideLayersNotInCurrentView=this.widget.hideLayersNotInCurrentView,this.icon=this.widget.icon,this.label=this.widget.label,this.layerInfos=this.widget.layerInfos,this.legendStyle=this.widget.style,this.position="bottom-left",this.respectLayerDefinitionExpression=this.widget.respectLayerDefinitionExpression,this.respectLayerVisibilityDisabled=this.widget.respectLayerVisibility,this.state=this.viewModel.state,this.arcgisPropertyChange=i()("state"),this.arcgisReady=t()}static{this.properties={activeLayerInfos:0,autoDestroyDisabled:5,basemapLegendVisible:5,headingLevel:9,hideLayersNotInCurrentView:5,icon:1,label:1,layerInfos:0,legendStyle:1,position:1,referenceElement:1,respectLayerDefinitionExpression:5,respectLayerVisibilityDisabled:5,state:3}}static{this.shadowRootOptions=s}async destroy(){await this.manager.destroy()}};r("arcgis-legend",e);export{e as ArcgisLegend};
6
+ import{a as n}from"./QR3XASHQ.js";import"./QZU4BCAM.js";import{M as o}from"./Z6LBL5EZ.js";import"./54YVOIIP.js";import{B as a,G as r,o as i,y as t,z as s}from"./EEZJ56IS.js";var h=n(o),e=class extends a{constructor(){super(...arguments),this.widget=h(this),this.viewModel=this.widget.viewModel,this.activeLayerInfos=this.widget.activeLayerInfos,this.autoDestroyDisabled=!1,this.basemapLegendVisible=this.widget.basemapLegendVisible,this.headingLevel=this.widget.headingLevel,this.hideLayersNotInCurrentView=this.widget.hideLayersNotInCurrentView,this.icon=this.widget.icon,this.label=this.widget.label,this.layerInfos=this.widget.layerInfos,this.legendStyle=this.widget.style,this.position="bottom-left",this.respectLayerDefinitionExpression=this.widget.respectLayerDefinitionExpression,this.respectLayerVisibilityDisabled=this.widget.respectLayerVisibility,this.state=this.viewModel.state,this.arcgisPropertyChange=i()("state"),this.arcgisReady=t()}static{this.properties={activeLayerInfos:0,autoDestroyDisabled:5,basemapLegendVisible:5,headingLevel:9,hideLayersNotInCurrentView:5,icon:1,label:1,layerInfos:0,legendStyle:1,position:1,referenceElement:1,respectLayerDefinitionExpression:5,respectLayerVisibilityDisabled:5,state:3}}static{this.shadowRootOptions=s}async destroy(){await this.manager.destroy()}};r("arcgis-legend",e);export{e as ArcgisLegend};
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.32/esri/copyright.txt for details.
4
- * v4.32.0-next.7
4
+ * v4.32.0-next.8
5
5
  */
6
- import{a as d}from"./TCHQQ6YP.js";import"./ZIVFGNA3.js";import{B as h}from"./XDSXW32X.js";import"./EF72I5WZ.js";import{B as n,G as o,o as i,y as s,z as a}from"./ZIY4VYAM.js";var r=d(h),e=class extends n{constructor(){super(...arguments),this.widget=r(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.defaultPopupTemplateEnabled=this.widget.defaultPopupTemplateEnabled,this.graphic=this.widget.graphic,this.headingLevel=this.widget.headingLevel,this.hideContentAttachments=this.widget.visibleElements.content.attachments,this.hideContentExpression=this.widget.visibleElements.content.expression,this.hideContentFields=this.widget.visibleElements.content.fields,this.hideContentMedia=this.widget.visibleElements.content.media,this.hideContentText=this.widget.visibleElements.content.text,this.hideLastEditInfo=this.widget.visibleElements.lastEditedInfo,this.hideTitle=this.widget.visibleElements.title,this.icon=this.widget.icon,this.label=this.widget.label,this.location=this.viewModel.location,this.map=this.widget.map,this.position="bottom-left",this.spatialReference=this.widget.spatialReference,this.state=this.viewModel.state,this.arcgisPropertyChange=i()("state"),this.arcgisReady=s()}static{this.properties={autoDestroyDisabled:5,defaultPopupTemplateEnabled:5,graphic:0,headingLevel:9,hideContentAttachments:5,hideContentExpression:5,hideContentFields:5,hideContentMedia:5,hideContentText:5,hideLastEditInfo:5,hideTitle:5,icon:1,label:1,location:0,map:0,position:1,referenceElement:1,spatialReference:0,state:3}}static{this.shadowRootOptions=a}async destroy(){await this.manager.destroy()}async nextMedia(t){this.widget?.nextMedia(t)}async previousMedia(t){this.widget?.previousMedia(t)}async setActiveMedia(t,l){this.widget?.setActiveMedia(t,l)}};o("arcgis-feature",e);export{e as ArcgisFeature};
6
+ import{a as d}from"./QR3XASHQ.js";import"./QZU4BCAM.js";import{B as h}from"./Z6LBL5EZ.js";import"./54YVOIIP.js";import{B as n,G as o,o as i,y as s,z as a}from"./EEZJ56IS.js";var r=d(h),e=class extends n{constructor(){super(...arguments),this.widget=r(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.defaultPopupTemplateEnabled=this.widget.defaultPopupTemplateEnabled,this.graphic=this.widget.graphic,this.headingLevel=this.widget.headingLevel,this.hideContentAttachments=this.widget.visibleElements.content.attachments,this.hideContentExpression=this.widget.visibleElements.content.expression,this.hideContentFields=this.widget.visibleElements.content.fields,this.hideContentMedia=this.widget.visibleElements.content.media,this.hideContentText=this.widget.visibleElements.content.text,this.hideLastEditInfo=this.widget.visibleElements.lastEditedInfo,this.hideTitle=this.widget.visibleElements.title,this.icon=this.widget.icon,this.label=this.widget.label,this.location=this.viewModel.location,this.map=this.widget.map,this.position="bottom-left",this.spatialReference=this.widget.spatialReference,this.state=this.viewModel.state,this.arcgisPropertyChange=i()("state"),this.arcgisReady=s()}static{this.properties={autoDestroyDisabled:5,defaultPopupTemplateEnabled:5,graphic:0,headingLevel:9,hideContentAttachments:5,hideContentExpression:5,hideContentFields:5,hideContentMedia:5,hideContentText:5,hideLastEditInfo:5,hideTitle:5,icon:1,label:1,location:0,map:0,position:1,referenceElement:1,spatialReference:0,state:3}}static{this.shadowRootOptions=a}async destroy(){await this.manager.destroy()}async nextMedia(t){this.widget?.nextMedia(t)}async previousMedia(t){this.widget?.previousMedia(t)}async setActiveMedia(t,l){this.widget?.setActiveMedia(t,l)}};o("arcgis-feature",e);export{e as ArcgisFeature};
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.32/esri/copyright.txt for details.
4
- * v4.32.0-next.7
4
+ * v4.32.0-next.8
5
5
  */
6
- import{B as p,G as L,q as t,y as n,z as V}from"./ZIY4VYAM.js";var g=class extends p{constructor(){super(...arguments),this._arcgisGetVersions=e=>{this.arcgisGetVersions.emit(e.detail)},this._arcgisManageVersion=e=>{this.arcgisManageVersion.emit(e.detail)},this._arcgisNewVersion=e=>{this.arcgisNewVersion.emit(e.detail)},this._versionListEventListeners=new Map,this.arcgisFlowItemBack=n(),this.arcgisFlowItemClose=n(),this.arcgisGetVersions=n(),this.arcgisManageVersion=n(),this.arcgisNewVersion=n()}static{this.properties={serviceItemElementProps:0}}static{this.shadowRootOptions=V}disconnectedCallback(){super.disconnectedCallback(),this._versionList&&this._removeVersionListEventListeners(this._versionList)}_addVersionListEventListeners(e){e.addEventListener("arcgisGetVersions",this._arcgisGetVersions),this._versionListEventListeners.set("arcgisGetVersions",this._arcgisGetVersions),e.addEventListener("arcgisManageVersion",this._arcgisManageVersion),this._versionListEventListeners.set("arcgisManageVersion",this._arcgisManageVersion),e.addEventListener("arcgisNewVersion",this._arcgisNewVersion),this._versionListEventListeners.set("arcgisNewVersion",this._arcgisNewVersion)}_removeVersionListEventListeners(e){for(let[o,c]of this._versionListEventListeners)e.removeEventListener(o,c)}render(){let{serviceItemElementProps:{allowEditing:e,closable:o,currentUser:c,executionError:E,currentVersionIdentifier:l,flowElement:_,hasAdvEditingUte:b,heading:f,isVersioningApiAvailable:u,pageSize:I,serviceName:r,serviceUrl:v,state:w,strings:m,versionInfos:a}}=this,{_versionList:s}=this,$=t`<calcite-combobox clear-disabled .label=${r} max-items=5 overlay-positioning=fixed selection-mode=single-persist @calciteComboboxChange=${i=>{let x=i.target,M=a.find(N=>N.versionIdentifier.guid===x.value);this.arcgisManageVersion.emit({actionType:"changeVersion",serviceUrl:v,versionInfo:M})}}>${a?a.map(i=>t`<calcite-combobox-item .selected=${l.guid===i.versionIdentifier.guid&&l.name===i.versionIdentifier.name||""} .textLabel=${i.versionIdentifier.name} .value=${i.versionIdentifier.guid}></calcite-combobox-item>`):void 0}</calcite-combobox>`,d,h;return e&&(d=t`<calcite-action .id=${`actionManageVersions_${r}`} icon=list scale=s slot=control text @click=${async()=>{s=document.createElement("arcgis-version-management-version-list"),s.versionListElementProps={closable:o,currentUser:c,currentVersionIdentifier:l,executionError:E,hasAdvEditingUte:b,heading:f,isVersioningApiAvailable:u,pageSize:I,serviceName:r,serviceUrl:v,state:w,strings:m,versionInfos:a},s.addEventListener("calciteFlowItemBack",i=>{i.preventDefault(),this.arcgisFlowItemBack.emit()}),s.addEventListener("calciteFlowItemClose",()=>{this.arcgisFlowItemClose.emit()}),this._addVersionListEventListeners(s),_?.append(s)}}></calcite-action>`,h=t`<calcite-tooltip overlay-positioning=fixed .referenceElement=${`actionManageVersions_${r}`}><span>${m.headers.manageVersions}</span></calcite-tooltip>`),t`<calcite-block open .heading=${r}>${$}${d}${h}</calcite-block>`}};L("arcgis-version-management-service-item",g);export{g as ArcgisVersionManagementServiceItem};
6
+ import{B as p,G as L,q as t,y as n,z as V}from"./EEZJ56IS.js";var g=class extends p{constructor(){super(...arguments),this._arcgisGetVersions=e=>{this.arcgisGetVersions.emit(e.detail)},this._arcgisManageVersion=e=>{this.arcgisManageVersion.emit(e.detail)},this._arcgisNewVersion=e=>{this.arcgisNewVersion.emit(e.detail)},this._versionListEventListeners=new Map,this.arcgisFlowItemBack=n(),this.arcgisFlowItemClose=n(),this.arcgisGetVersions=n(),this.arcgisManageVersion=n(),this.arcgisNewVersion=n()}static{this.properties={serviceItemElementProps:0}}static{this.shadowRootOptions=V}disconnectedCallback(){super.disconnectedCallback(),this._versionList&&this._removeVersionListEventListeners(this._versionList)}_addVersionListEventListeners(e){e.addEventListener("arcgisGetVersions",this._arcgisGetVersions),this._versionListEventListeners.set("arcgisGetVersions",this._arcgisGetVersions),e.addEventListener("arcgisManageVersion",this._arcgisManageVersion),this._versionListEventListeners.set("arcgisManageVersion",this._arcgisManageVersion),e.addEventListener("arcgisNewVersion",this._arcgisNewVersion),this._versionListEventListeners.set("arcgisNewVersion",this._arcgisNewVersion)}_removeVersionListEventListeners(e){for(let[o,c]of this._versionListEventListeners)e.removeEventListener(o,c)}render(){let{serviceItemElementProps:{allowEditing:e,closable:o,currentUser:c,executionError:E,currentVersionIdentifier:l,flowElement:_,hasAdvEditingUte:b,heading:f,isVersioningApiAvailable:u,pageSize:I,serviceName:r,serviceUrl:v,state:w,strings:m,versionInfos:a}}=this,{_versionList:s}=this,$=t`<calcite-combobox clear-disabled .label=${r} max-items=5 overlay-positioning=fixed selection-mode=single-persist @calciteComboboxChange=${i=>{let x=i.target,M=a.find(N=>N.versionIdentifier.guid===x.value);this.arcgisManageVersion.emit({actionType:"changeVersion",serviceUrl:v,versionInfo:M})}}>${a?a.map(i=>t`<calcite-combobox-item .selected=${l.guid===i.versionIdentifier.guid&&l.name===i.versionIdentifier.name||""} .textLabel=${i.versionIdentifier.name} .value=${i.versionIdentifier.guid}></calcite-combobox-item>`):void 0}</calcite-combobox>`,d,h;return e&&(d=t`<calcite-action .id=${`actionManageVersions_${r}`} icon=list scale=s slot=control text @click=${async()=>{s=document.createElement("arcgis-version-management-version-list"),s.versionListElementProps={closable:o,currentUser:c,currentVersionIdentifier:l,executionError:E,hasAdvEditingUte:b,heading:f,isVersioningApiAvailable:u,pageSize:I,serviceName:r,serviceUrl:v,state:w,strings:m,versionInfos:a},s.addEventListener("calciteFlowItemBack",i=>{i.preventDefault(),this.arcgisFlowItemBack.emit()}),s.addEventListener("calciteFlowItemClose",()=>{this.arcgisFlowItemClose.emit()}),this._addVersionListEventListeners(s),_?.append(s)}}></calcite-action>`,h=t`<calcite-tooltip overlay-positioning=fixed .referenceElement=${`actionManageVersions_${r}`}><span>${m.headers.manageVersions}</span></calcite-tooltip>`),t`<calcite-block open .heading=${r}>${$}${d}${h}</calcite-block>`}};L("arcgis-version-management-service-item",g);export{g as ArcgisVersionManagementServiceItem};
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.32/esri/copyright.txt for details.
4
- * v4.32.0-next.7
4
+ * v4.32.0-next.8
5
5
  */
6
- import{a as r}from"./TCHQQ6YP.js";import{d as t}from"./ZIVFGNA3.js";import{fa as n}from"./XDSXW32X.js";import"./EF72I5WZ.js";import{B as o,G as h,o as e,y as s,z as a}from"./ZIY4VYAM.js";var c=r(n),i=class extends o{constructor(){super(...arguments),this.widget=c(this),this.autoDestroyDisabled=!1,this.canNext=this.widget.canNext,this.canPlay=this.widget.canPlay,this.canPrevious=this.widget.canPrevious,this.caption=this.widget.caption,this.component=this.widget.component,this.hideNextButton=this.widget.visibleElements.nextButton,this.hidePlayButton=this.widget.visibleElements.playButton,this.hidePreviousButton=this.widget.visibleElements.previousButton,this.icon=this.widget.icon,this.label=this.widget.label,this.layout=this.widget.layout,this.loop=this.widget.loop,this.playRate=this.widget.playRate,this.position="bottom-left",this.values=this.widget.values,this.arcgisAnimate=t(()=>this.widget,"animate"),this.arcgisNext=t(()=>this.widget,"next"),this.arcgisPause=t(()=>this.widget,"pause"),this.arcgisPlay=t(()=>this.widget,"play"),this.arcgisPrevious=t(()=>this.widget,"previous"),this.arcgisPropertyChange=e()("values"),this.arcgisReady=s()}static{this.properties={autoDestroyDisabled:5,canNext:7,canPlay:7,canPrevious:7,caption:1,component:0,hideNextButton:5,hidePlayButton:5,hidePreviousButton:5,icon:1,label:1,layout:1,loop:5,playRate:9,position:1,referenceElement:1,values:0}}static{this.shadowRootOptions=a}async destroy(){await this.manager.destroy()}async next(){this.widget?.next()}async pause(){this.widget?.pause()}async play(){this.widget?.play()}async previous(){this.widget?.previous()}};h("arcgis-value-picker",i);export{i as ArcgisValuePicker};
6
+ import{a as r}from"./QR3XASHQ.js";import{d as t}from"./QZU4BCAM.js";import{fa as n}from"./Z6LBL5EZ.js";import"./54YVOIIP.js";import{B as o,G as h,o as e,y as s,z as a}from"./EEZJ56IS.js";var c=r(n),i=class extends o{constructor(){super(...arguments),this.widget=c(this),this.autoDestroyDisabled=!1,this.canNext=this.widget.canNext,this.canPlay=this.widget.canPlay,this.canPrevious=this.widget.canPrevious,this.caption=this.widget.caption,this.component=this.widget.component,this.hideNextButton=this.widget.visibleElements.nextButton,this.hidePlayButton=this.widget.visibleElements.playButton,this.hidePreviousButton=this.widget.visibleElements.previousButton,this.icon=this.widget.icon,this.label=this.widget.label,this.layout=this.widget.layout,this.loop=this.widget.loop,this.playRate=this.widget.playRate,this.position="bottom-left",this.values=this.widget.values,this.arcgisAnimate=t(()=>this.widget,"animate"),this.arcgisNext=t(()=>this.widget,"next"),this.arcgisPause=t(()=>this.widget,"pause"),this.arcgisPlay=t(()=>this.widget,"play"),this.arcgisPrevious=t(()=>this.widget,"previous"),this.arcgisPropertyChange=e()("values"),this.arcgisReady=s()}static{this.properties={autoDestroyDisabled:5,canNext:7,canPlay:7,canPrevious:7,caption:1,component:0,hideNextButton:5,hidePlayButton:5,hidePreviousButton:5,icon:1,label:1,layout:1,loop:5,playRate:9,position:1,referenceElement:1,values:0}}static{this.shadowRootOptions=a}async destroy(){await this.manager.destroy()}async next(){this.widget?.next()}async pause(){this.widget?.pause()}async play(){this.widget?.play()}async previous(){this.widget?.previous()}};h("arcgis-value-picker",i);export{i as ArcgisValuePicker};
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.32/esri/copyright.txt for details.
4
- * v4.32.0-next.7
4
+ * v4.32.0-next.8
5
5
  */
6
- import{a as u}from"./TCHQQ6YP.js";import"./ZIVFGNA3.js";import{d as s,v as l}from"./XDSXW32X.js";import{d as w}from"./EF72I5WZ.js";import{B as n,G as d,o,y as r,z as h}from"./ZIY4VYAM.js";var c=u(l),i="map-components:arcgis-directions",a=class extends n{constructor(){super(...arguments),this.widget=c(this),this.viewModel=this.widget.viewModel,this.apiKey=this.widget.apiKey,this.autoDestroyDisabled=!1,this.headingLevel=this.widget.headingLevel,this.hideLayerDetails=this.widget.visibleElements.layerDetails,this.hideSaveAsButton=this.widget.visibleElements.saveAsButton,this.hideSaveButton=this.widget.visibleElements.saveButton,this.icon=this.widget.icon,this.label=this.widget.label,this.lastRoute=this.widget.lastRoute,this.layer=this.widget.layer,this.maxStops=this.widget.maxStops,this.position="bottom-left",this.searchProperties=this.widget.searchProperties,this.state=this.viewModel.state,this.unit=this.widget.unit,this.useDefaultRouteLayer=!1,this.arcgisPropertyChange=o()("lastRoute","state"),this.arcgisReady=r()}static{this.properties={apiKey:1,autoDestroyDisabled:5,headingLevel:9,hideLayerDetails:5,hideSaveAsButton:5,hideSaveButton:5,icon:1,label:1,lastRoute:0,layer:0,maxStops:9,position:1,referenceElement:1,routeLayerItemId:1,searchProperties:0,state:0,unit:1,useDefaultRouteLayer:5}}static{this.shadowRootOptions=h}async destroy(){await this.manager.destroy()}async getDirections(){if(this.widget?.viewModel?.state!=="ready")throw new Error(`${i} - component not ready to get directions`);return await this.widget?.getDirections()}async save(){if(this.widget?.viewModel?.state!=="ready")throw new Error(`${i} - component not ready to save directions`);return await this.widget?.save()}async saveAs(t,e){if(this.widget?.viewModel?.state!=="ready")throw new Error(`${i} - component not ready to save directions as a Portal Item`);return await this.widget?.saveAs(t,e)}async zoomToRoute(){if(this.widget?.viewModel?.state!=="ready")throw new Error(`${i} - component not ready to zoom to route`);this.widget?.zoomToRoute()}willUpdate(t){if(t.has("routeLayerItemId")){let e=this.routeLayerItemId;w(e)&&!this.useDefaultRouteLayer?(this.widget.view?.map.remove(this.layer),this._setDefaultLayer()):e&&this.widget&&s({portalItem:{id:e}}).then(y=>{this.layer=y,this.widget.view?.map.add(this.layer)}).catch(console.error)}t.has("useDefaultRouteLayer")&&this._setDefaultLayer()}_setDefaultLayer(){this.useDefaultRouteLayer&&!this.routeLayerItemId&&s({}).then(t=>{this.layer=t,this.widget.view?.map.add(this.layer)}).catch(console.error)}};d("arcgis-directions",a);export{a as ArcgisDirections};
6
+ import{a as u}from"./QR3XASHQ.js";import"./QZU4BCAM.js";import{d as s,v as l}from"./Z6LBL5EZ.js";import{d as w}from"./54YVOIIP.js";import{B as n,G as d,o,y as r,z as h}from"./EEZJ56IS.js";var c=u(l),i="map-components:arcgis-directions",a=class extends n{constructor(){super(...arguments),this.widget=c(this),this.viewModel=this.widget.viewModel,this.apiKey=this.widget.apiKey,this.autoDestroyDisabled=!1,this.headingLevel=this.widget.headingLevel,this.hideLayerDetails=this.widget.visibleElements.layerDetails,this.hideSaveAsButton=this.widget.visibleElements.saveAsButton,this.hideSaveButton=this.widget.visibleElements.saveButton,this.icon=this.widget.icon,this.label=this.widget.label,this.lastRoute=this.widget.lastRoute,this.layer=this.widget.layer,this.maxStops=this.widget.maxStops,this.position="bottom-left",this.searchProperties=this.widget.searchProperties,this.state=this.viewModel.state,this.unit=this.widget.unit,this.useDefaultRouteLayer=!1,this.arcgisPropertyChange=o()("lastRoute","state"),this.arcgisReady=r()}static{this.properties={apiKey:1,autoDestroyDisabled:5,headingLevel:9,hideLayerDetails:5,hideSaveAsButton:5,hideSaveButton:5,icon:1,label:1,lastRoute:0,layer:0,maxStops:9,position:1,referenceElement:1,routeLayerItemId:1,searchProperties:0,state:0,unit:1,useDefaultRouteLayer:5}}static{this.shadowRootOptions=h}async destroy(){await this.manager.destroy()}async getDirections(){if(this.widget?.viewModel?.state!=="ready")throw new Error(`${i} - component not ready to get directions`);return await this.widget?.getDirections()}async save(){if(this.widget?.viewModel?.state!=="ready")throw new Error(`${i} - component not ready to save directions`);return await this.widget?.save()}async saveAs(t,e){if(this.widget?.viewModel?.state!=="ready")throw new Error(`${i} - component not ready to save directions as a Portal Item`);return await this.widget?.saveAs(t,e)}async zoomToRoute(){if(this.widget?.viewModel?.state!=="ready")throw new Error(`${i} - component not ready to zoom to route`);this.widget?.zoomToRoute()}willUpdate(t){if(t.has("routeLayerItemId")){let e=this.routeLayerItemId;w(e)&&!this.useDefaultRouteLayer?(this.widget.view?.map.remove(this.layer),this._setDefaultLayer()):e&&this.widget&&s({portalItem:{id:e}}).then(y=>{this.layer=y,this.widget.view?.map.add(this.layer)}).catch(console.error)}t.has("useDefaultRouteLayer")&&this._setDefaultLayer()}_setDefaultLayer(){this.useDefaultRouteLayer&&!this.routeLayerItemId&&s({}).then(t=>{this.layer=t,this.widget.view?.map.add(this.layer)}).catch(console.error)}};d("arcgis-directions",a);export{a as ArcgisDirections};
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.32/esri/copyright.txt for details.
4
- * v4.32.0-next.7
4
+ * v4.32.0-next.8
5
5
  */
6
- import{a as n}from"./TCHQQ6YP.js";import{d as r}from"./ZIVFGNA3.js";import{$ as o}from"./XDSXW32X.js";import"./EF72I5WZ.js";import{B as l,G as a,o as t,y as i,z as s}from"./ZIY4VYAM.js";var d=n(o),e=class extends l{constructor(){super(...arguments),this.widget=d(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.collapsed=this.widget.collapsed,this.dragEnabled=this.widget.dragEnabled,this.filterPlaceholder=this.widget.filterPlaceholder,this.filterText=this.widget.filterText,this.icon=this.widget.icon,this.label=this.widget.label,this.listItemCreatedFunction=this.widget.listItemCreatedFunction,this.minDragEnabledItems=this.widget.minDragEnabledItems,this.minFilterItems=this.widget.minFilterItems,this.position="bottom-left",this.selectedItems=this.widget.selectedItems,this.selectionMode=this.widget.selectionMode,this.state=this.viewModel.state,this.visibleElementsCloseButton=!1,this.visibleElementsCollapseButton=!1,this.visibleElementsErrors=!1,this.visibleElementsFilter=!1,this.visibleElementsFlow=!0,this.visibleElementsHeading=!1,this.visibleElementsStatusIndicators=!0,this.visibleElementsTemporaryTableIndicators=!1,this.arcgisPropertyChange=t()("state"),this.arcgisReady=i(),this.arcgisTriggerAction=r(()=>this.widget,"triggerAction")}static{this.properties={autoDestroyDisabled:5,collapsed:7,dragEnabled:5,filterPlaceholder:1,filterText:1,icon:1,label:1,listItemCreatedFunction:0,minDragEnabledItems:9,minFilterItems:9,position:1,referenceElement:1,selectedItems:0,selectionMode:1,state:3,tableItems:32,visibleElementsCloseButton:5,visibleElementsCollapseButton:5,visibleElementsErrors:5,visibleElementsFilter:5,visibleElementsFlow:5,visibleElementsHeading:5,visibleElementsStatusIndicators:5,visibleElementsTemporaryTableIndicators:5}}static{this.shadowRootOptions=s}get tableItems(){return this.widget.tableItems}async destroy(){await this.manager.destroy()}};a("arcgis-table-list",e);export{e as ArcgisTableList};
6
+ import{a as n}from"./QR3XASHQ.js";import{d as r}from"./QZU4BCAM.js";import{$ as o}from"./Z6LBL5EZ.js";import"./54YVOIIP.js";import{B as l,G as a,o as t,y as i,z as s}from"./EEZJ56IS.js";var d=n(o),e=class extends l{constructor(){super(...arguments),this.widget=d(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.collapsed=this.widget.collapsed,this.dragEnabled=this.widget.dragEnabled,this.filterPlaceholder=this.widget.filterPlaceholder,this.filterText=this.widget.filterText,this.icon=this.widget.icon,this.label=this.widget.label,this.listItemCreatedFunction=this.widget.listItemCreatedFunction,this.minDragEnabledItems=this.widget.minDragEnabledItems,this.minFilterItems=this.widget.minFilterItems,this.position="bottom-left",this.selectedItems=this.widget.selectedItems,this.selectionMode=this.widget.selectionMode,this.state=this.viewModel.state,this.visibleElementsCloseButton=!1,this.visibleElementsCollapseButton=!1,this.visibleElementsErrors=!1,this.visibleElementsFilter=!1,this.visibleElementsFlow=!0,this.visibleElementsHeading=!1,this.visibleElementsStatusIndicators=!0,this.visibleElementsTemporaryTableIndicators=!1,this.arcgisPropertyChange=t()("state"),this.arcgisReady=i(),this.arcgisTriggerAction=r(()=>this.widget,"trigger-action")}static{this.properties={autoDestroyDisabled:5,collapsed:7,dragEnabled:5,filterPlaceholder:1,filterText:1,icon:1,label:1,listItemCreatedFunction:0,minDragEnabledItems:9,minFilterItems:9,position:1,referenceElement:1,selectedItems:0,selectionMode:1,state:3,tableItems:32,visibleElementsCloseButton:5,visibleElementsCollapseButton:5,visibleElementsErrors:5,visibleElementsFilter:5,visibleElementsFlow:5,visibleElementsHeading:5,visibleElementsStatusIndicators:5,visibleElementsTemporaryTableIndicators:5}}static{this.shadowRootOptions=s}get tableItems(){return this.widget.tableItems}async destroy(){await this.manager.destroy()}};a("arcgis-table-list",e);export{e as ArcgisTableList};
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.32/esri/copyright.txt for details.
4
- * v4.32.0-next.7
4
+ * v4.32.0-next.8
5
5
  */
6
- import{b as n,c as a,i as h}from"./EF72I5WZ.js";import{B as o,G as r,p as i,y as s,z as l}from"./ZIY4VYAM.js";var c=i`arcgis-placement{display:flex;pointer-events:auto;box-shadow:none}.arcgis-placement__container{display:flex}`,t=class extends o{constructor(){super(),this._observer=void 0,this.position="bottom-left",this.arcgisReady=s(),this._moveChildren=()=>{if(this.el.childElem.parentElement!==this.el)for(let e=this.el.firstElementChild;e!==null;e=this.el.firstElementChild)this.el.childElem.append(e)},this.el.childElem=document.createElement("div"),this.el.childElem.classList.add("arcgis-placement__container"),this.listen("arcgisReady",this._startObserving,{once:!0})}static{this.properties={position:1,referenceElement:1}}static{this.shadowRootOptions=l}static{this.styles=c}connectedCallback(){super.connectedCallback(),this.el.view&&this._startObserving()}willUpdate(e){e.has("referenceElement")&&h(this,this.referenceElement),e.has("position")&&this.el.childElem&&this.position!==void 0&&this.el.view?.ui.move(this.el.childElem,this.position)}loaded(){a(this),n(this)}disconnectedCallback(){super.disconnectedCallback(),this.el.childElem&&this.el.view?.ui?.remove(this.el.childElem),this._observer?.disconnect()}_startObserving(){this._moveChildren(),this._observer=new MutationObserver(this._moveChildren),this._observer.observe(this.el,{childList:!0})}};r("arcgis-placement",t);export{t as ArcgisPlacement};
6
+ import{b as n,c as a,i as h}from"./54YVOIIP.js";import{B as o,G as r,p as i,y as s,z as l}from"./EEZJ56IS.js";var c=i`arcgis-placement{display:flex;pointer-events:auto;box-shadow:none}.arcgis-placement__container{display:flex}`,t=class extends o{constructor(){super(),this._observer=void 0,this.position="bottom-left",this.arcgisReady=s(),this._moveChildren=()=>{if(this.el.childElem.parentElement!==this.el)for(let e=this.el.firstElementChild;e!==null;e=this.el.firstElementChild)this.el.childElem.append(e)},this.el.childElem=document.createElement("div"),this.el.childElem.classList.add("arcgis-placement__container"),this.listen("arcgisReady",this._startObserving,{once:!0})}static{this.properties={position:1,referenceElement:1}}static{this.shadowRootOptions=l}static{this.styles=c}connectedCallback(){super.connectedCallback(),this.el.view&&this._startObserving()}willUpdate(e){e.has("referenceElement")&&h(this,this.referenceElement),e.has("position")&&this.el.childElem&&this.position!==void 0&&this.el.view?.ui.move(this.el.childElem,this.position)}loaded(){a(this),n(this)}disconnectedCallback(){super.disconnectedCallback(),this.el.childElem&&this.el.view?.ui?.remove(this.el.childElem),this._observer?.disconnect()}_startObserving(){this._moveChildren(),this._observer=new MutationObserver(this._moveChildren),this._observer.observe(this.el,{childList:!0})}};r("arcgis-placement",t);export{t as ArcgisPlacement};
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.32/esri/copyright.txt for details.
4
- * v4.32.0-next.7
4
+ * v4.32.0-next.8
5
5
  */
6
6
  function E(e,n){Array.isArray(n)?e._watchHandles=[...e._watchHandles,...n]:e._watchHandles.push(n)}function b(e){e.el.childElem&&(e.el.childElem.ownedBy=e.el);let n=w(e);if(!n){let t=p(e.referenceElement);if(!t){f(e);return}return d(t,e,!0),t}return g(n,e.el.parent)||(e.el.parent=n,n.tagName.toLowerCase()==="arcgis-expand"?m(n,e):n.tagName.toLowerCase()==="arcgis-placement"?v(n,e):d(n,e,!1)),n}function w({el:e}){for(let n=e.parentElement;n;n=n?.parentElement??null){if(s.has(n.tagName.toLowerCase()))return n;if("ownedBy"in n&&n.ownedBy instanceof HTMLElement&&s.has(n.ownedBy.tagName.toLowerCase()))return n.ownedBy}}var s=new Set(["arcgis-map","arcgis-scene","arcgis-expand","arcgis-placement"]);function g(e,n){if(e!==n)return!1;let t=e.tagName.toLowerCase();return t==="arcgis-expand"||t==="arcgis-placement"}function i(e,n,t="arcgisReady"){let r=e;if(typeof r.view?.ready=="boolean")n(r.view);else{let o=function(l){l.target===e&&(i(e,n,t),e.removeEventListener(t,o))};e.addEventListener(t,o)}}var m=(e,n)=>i(e,t=>{n.el.childElem&&e.content!=null&&e.content.append(n.el.childElem),e.expandIcon=n.icon||n.widget?.icon||e.expandIcon,n.position=e.position,n.el.view=t}),v=(e,n)=>i(e,t=>{n.el.childElem&&n.el.append(n.el.childElem),n.position=e.position,n.el.view=t}),d=(e,n,t)=>i(e,r=>{t?f(n):n.el.childElem&&y(e,n),n.el.view=r},"arcgisViewReadyChange");function y(e,n){let t=n.el.childElem??n.el,r=[...e.children],o={};for(let a of r){let c=a.getAttribute("position")??"manual";o[c]??=[],o[c].push({child:a,position:c,index:r.indexOf(a)})}let l=o[n.position??"manual"]?.findIndex(({child:a})=>a===n.el);e.view.ui.remove(t),e.view.ui.add(t,{position:n.position,index:l})}function x(e){let n=!1,t=e.el.view,r=Object.getOwnPropertyDescriptor(Object.getPrototypeOf(e.el),"view")??{get:()=>t,set:o=>t=o};Object.defineProperty(e.el,"view",{get:r.get.bind(e.el),set:o=>{r.set.call(e.el,o),o&&!n&&(n=!0,e.arcgisReady.emit())},configurable:!0,enumerable:!0}),t&&(e.el.view=t)}function L(e){return e==null||e===""}function C(e,n){return n!=null&&e?.position===n.position&&e?.heading===n.heading&&e?.tilt===n.tilt&&e?.fov===n.fov}function N(e,n){return n===void 0||e?.targetGeometry!==n?.targetGeometry||e?.rotation!==n?.rotation||e?.scale!==n?.scale}function O(e,n){return u(n?.center,e)}function u(e,n){if(typeof n=="string")return u(e,n.split(",").map(Number));if(!e)return n;if(Array.isArray(n)){let t=n[0],r=n[1],o=n.length>2?n[2]:void 0;if(t!==e.longitude||r!==e.latitude||o!==e.z)return n}else if(n&&!e?.equals(n))return n}async function A(e,n){n!=null&&(typeof n=="string"?e.el.view=await h(n):e.widget&&(e.el.view=n.view))}async function h(e){let n=p(e);return await new Promise(t=>{typeof n?.view?.ready=="boolean"?t(n.view):n&&n.addEventListener("arcgisViewReadyChange",()=>t(n.view),{once:!0})})}function f(e){e.el.childElem&&(e.el.shadowRoot??e.el).append(e.el.childElem)}function p(e){return typeof e!="string"?e??void 0:(e.includes("#")||e.includes(".")||e.includes("[")?void 0:document.querySelector(`#${e}`))??document.querySelector(e)??void 0}export{E as a,b,x as c,L as d,C as e,N as f,O as g,u as h,A as i};
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.32/esri/copyright.txt for details.
4
- * v4.32.0-next.7
4
+ * v4.32.0-next.8
5
5
  */
6
- import{a as h}from"./TCHQQ6YP.js";import{d as l}from"./ZIVFGNA3.js";import{q as r}from"./XDSXW32X.js";import"./EF72I5WZ.js";import{B as o,G as a,o as e,y as i,z as s}from"./ZIY4VYAM.js";var d=h(r),t=class extends o{constructor(){super(...arguments),this.widget=d(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.catalogLayer=this.widget.catalogLayer,this.collapsed=this.widget.collapsed,this.filterPlaceholder=this.widget.filterPlaceholder,this.filterText=this.widget.filterText,this.headingLevel=this.widget.headingLevel,this.hideFlow=this.widget.visibleElements.flow,this.hideStatusIndicators=this.widget.visibleElements.statusIndicators,this.icon=this.widget.icon,this.label=this.widget.label,this.listItemCreatedFunction=this.widget.listItemCreatedFunction,this.minFilterItems=this.widget.minFilterItems,this.position="bottom-left",this.selectedItems=this.widget.selectedItems,this.selectionMode=this.widget.selectionMode,this.showCloseButton=this.widget.visibleElements.closeButton,this.showCollapseButton=this.widget.visibleElements.collapseButton,this.showErrors=this.widget.visibleElements.errors,this.showFilter=this.widget.visibleElements.filter,this.showHeading=this.widget.visibleElements.heading,this.showTemporaryLayerIndicators=this.widget.visibleElements.temporaryLayerIndicators,this.state=this.viewModel.state,this.visibilityAppearance=this.widget.visibilityAppearance,this.arcgisPropertyChange=e()("state"),this.arcgisReady=i(),this.arcgisTriggerAction=l(()=>this.widget,"triggerAction")}static{this.properties={autoDestroyDisabled:5,catalogItems:32,catalogLayer:0,collapsed:7,filterPlaceholder:1,filterText:1,headingLevel:9,hideFlow:5,hideStatusIndicators:5,icon:1,label:1,listItemCreatedFunction:0,minFilterItems:9,position:1,referenceElement:1,selectedItems:0,selectionMode:1,showCloseButton:5,showCollapseButton:5,showErrors:5,showFilter:5,showHeading:5,showTemporaryLayerIndicators:5,state:3,visibilityAppearance:1}}static{this.shadowRootOptions=s}get catalogItems(){return this.widget.catalogItems}async destroy(){await this.manager.destroy()}};a("arcgis-catalog-layer-list",t);export{t as ArcgisCatalogLayerList};
6
+ import{a as h}from"./QR3XASHQ.js";import{d as l}from"./QZU4BCAM.js";import{q as r}from"./Z6LBL5EZ.js";import"./54YVOIIP.js";import{B as o,G as a,o as e,y as i,z as s}from"./EEZJ56IS.js";var d=h(r),t=class extends o{constructor(){super(...arguments),this.widget=d(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.catalogLayer=this.widget.catalogLayer,this.collapsed=this.widget.collapsed,this.filterPlaceholder=this.widget.filterPlaceholder,this.filterText=this.widget.filterText,this.headingLevel=this.widget.headingLevel,this.hideFlow=this.widget.visibleElements.flow,this.hideStatusIndicators=this.widget.visibleElements.statusIndicators,this.icon=this.widget.icon,this.label=this.widget.label,this.listItemCreatedFunction=this.widget.listItemCreatedFunction,this.minFilterItems=this.widget.minFilterItems,this.position="bottom-left",this.selectedItems=this.widget.selectedItems,this.selectionMode=this.widget.selectionMode,this.showCloseButton=this.widget.visibleElements.closeButton,this.showCollapseButton=this.widget.visibleElements.collapseButton,this.showErrors=this.widget.visibleElements.errors,this.showFilter=this.widget.visibleElements.filter,this.showHeading=this.widget.visibleElements.heading,this.showTemporaryLayerIndicators=this.widget.visibleElements.temporaryLayerIndicators,this.state=this.viewModel.state,this.visibilityAppearance=this.widget.visibilityAppearance,this.arcgisPropertyChange=e()("state"),this.arcgisReady=i(),this.arcgisTriggerAction=l(()=>this.widget,"trigger-action")}static{this.properties={autoDestroyDisabled:5,catalogItems:32,catalogLayer:0,collapsed:7,filterPlaceholder:1,filterText:1,headingLevel:9,hideFlow:5,hideStatusIndicators:5,icon:1,label:1,listItemCreatedFunction:0,minFilterItems:9,position:1,referenceElement:1,selectedItems:0,selectionMode:1,showCloseButton:5,showCollapseButton:5,showErrors:5,showFilter:5,showHeading:5,showTemporaryLayerIndicators:5,state:3,visibilityAppearance:1}}static{this.shadowRootOptions=s}get catalogItems(){return this.widget.catalogItems}async destroy(){await this.manager.destroy()}};a("arcgis-catalog-layer-list",t);export{t as ArcgisCatalogLayerList};
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.32/esri/copyright.txt for details.
4
- * v4.32.0-next.7
4
+ * v4.32.0-next.8
5
5
  */
6
- import{b as d}from"./ZIVFGNA3.js";import{b as t}from"./EF72I5WZ.js";import{H as p,g as n,l as m,n as l}from"./ZIY4VYAM.js";var D=l(p),u=(c,e)=>(s,o)=>y(s,c,o),i=class extends d{hostConnected(){this.component.manager.loadedCalled&&t(this.component)}async hostLoad(){await super.hostLoad(),!this.component.manager.destroyed&&this._watchMetaProperties()}hostLoaded(){let{el:e}=this.component,s=e.shadowRoot?.firstElementChild??e.firstElementChild??void 0;e.childElem=s??e.childElem;let o=!1,h=this.component.el.view;Object.defineProperty(this.component.el,"view",{get:()=>this._instance.view,set:r=>{let w=this.component.el.view,a=r;this._instance.view=a,this._instance.map=a?.map,this._watchViewDestroy(),this.component.requestUpdate("view",w),r&&!o&&(o=!0,this.component.arcgisReady.emit())},configurable:!0,enumerable:!0}),h&&(this._instance.view=h),this.component.el.isConnected&&(t(this.component),this._watchViewDestroy())}hostDisconnected(){typeof this.component.el.childElem=="object"&&this.component.el.view?.ui?.remove(this.component.el.childElem)}hostDestroy(){super.hostDestroy(),this._watchViewDestroyHandle?.remove()}_watchMetaProperties(){n(this.component,"position",e=>{this.component.el.childElem!=null&&typeof e=="string"&&t(this.component)}),n(this.component,"referenceElement",()=>t(this.component))}_watchViewDestroy(){this._watchViewDestroyHandle?.remove(),this._watchViewDestroyHandle=this.reactiveUtils.when(()=>this.component.el.view?.destroyed===!0,()=>void this.component.destroy().catch(console.error),{sync:!0})}},y=m(i);export{D as a,u as b};
6
+ import{b as d}from"./QZU4BCAM.js";import{b as t}from"./54YVOIIP.js";import{H as p,g as n,l as m,n as l}from"./EEZJ56IS.js";var D=l(p),u=(c,e)=>(s,o)=>y(s,c,o),i=class extends d{hostConnected(){this.component.manager.loadedCalled&&t(this.component)}async hostLoad(){await super.hostLoad(),!this.component.manager.destroyed&&this._watchMetaProperties()}hostLoaded(){let{el:e}=this.component,s=e.shadowRoot?.firstElementChild??e.firstElementChild??void 0;e.childElem=s??e.childElem;let o=!1,h=this.component.el.view;Object.defineProperty(this.component.el,"view",{get:()=>this._instance.view,set:r=>{let w=this.component.el.view,a=r;this._instance.view=a,this._instance.map=a?.map,this._watchViewDestroy(),this.component.requestUpdate("view",w),r&&!o&&(o=!0,this.component.arcgisReady.emit())},configurable:!0,enumerable:!0}),h&&(this._instance.view=h),this.component.el.isConnected&&(t(this.component),this._watchViewDestroy())}hostDisconnected(){typeof this.component.el.childElem=="object"&&this.component.el.view?.ui?.remove(this.component.el.childElem)}hostDestroy(){super.hostDestroy(),this._watchViewDestroyHandle?.remove()}_watchMetaProperties(){n(this.component,"position",e=>{this.component.el.childElem!=null&&typeof e=="string"&&t(this.component)}),n(this.component,"referenceElement",()=>t(this.component))}_watchViewDestroy(){this._watchViewDestroyHandle?.remove(),this._watchViewDestroyHandle=this.reactiveUtils.when(()=>this.component.el.view?.destroyed===!0,()=>void this.component.destroy().catch(console.error),{sync:!0})}},y=m(i);export{D as a,u as b};
@@ -0,0 +1,6 @@
1
+ /*!
2
+ * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
+ * See https://js.arcgis.com/4.32/esri/copyright.txt for details.
4
+ * v4.32.0-next.8
5
+ */
6
+ import{a as u}from"./QR3XASHQ.js";import{d as i}from"./QZU4BCAM.js";import{E as c,b as n}from"./Z6LBL5EZ.js";import{d as m}from"./54YVOIIP.js";import{B as r,G as g,o as h,p as d,y as l,z as a}from"./EEZJ56IS.js";var w=d`.arcgis-feature-table{width:100%;height:100%}`,b=u(c),o=class extends r{constructor(){super(...arguments),this.widget=b(this),this.viewModel=this.widget.viewModel,this.actionColumnConfig=this.widget.actionColumnConfig,this.activeFilters=this.widget.activeFilters,this.activeSortOrders=this.widget.activeSortOrders,this.allRelatedTablesVisible=this.widget.allRelatedTablesVisible,this.attachmentsEnabled=this.widget.attachmentsEnabled,this.autoDestroyDisabled=!1,this.autoRefreshDisabled=this.widget.autoRefreshEnabled,this.columnReorderingDisabled=this.widget.columnReorderingEnabled,this.columns=this.widget.columns,this.description=this.widget.description,this.editingEnabled=this.widget.editingEnabled,this.effectiveSize=this.widget.effectiveSize,this.filterBySelectionEnabled=this.widget.filterBySelectionEnabled,this.filterGeometry=this.widget.filterGeometry,this.hiddenFields=this.widget.hiddenFields,this.hideColumnMenuItemsSortAscending=this.widget.visibleElements.columnMenuItems.sortAscending,this.hideColumnMenuItemsSortDescending=this.widget.visibleElements.columnMenuItems.sortDescending,this.hideColumnMenus=this.widget.visibleElements.columnMenus,this.hideHeader=this.widget.visibleElements.header,this.hideMenu=this.widget.visibleElements.menu,this.hideMenuItemsClearSelection=this.widget.visibleElements.menuItems.clearSelection,this.hideMenuItemsDeleteSelection=this.widget.visibleElements.menuItems.deleteSelection,this.hideMenuItemsExportSelectionToCsv=this.widget.visibleElements.menuItems.exportSelectionToCSV,this.hideMenuItemsRefreshData=this.widget.visibleElements.menuItems.refreshData,this.hideMenuItemsSelectedRecordsShowAllToggle=this.widget.visibleElements.menuItems.selectedRecordsShowAllToggle,this.hideMenuItemsSelectedRecordsShowSelectedToggle=this.widget.visibleElements.menuItems.selectedRecordsShowSelectedToggle,this.hideMenuItemsToggleColumns=this.widget.visibleElements.menuItems.toggleColumns,this.hideMenuItemsZoomToSelection=this.widget.visibleElements.menuItems.zoomToSelection,this.hideProgress=this.widget.visibleElements.progress,this.hideSelectionColumn=this.widget.visibleElements.selectionColumn,this.hideTooltips=this.widget.visibleElements.tooltips,this.highlightDisabled=this.widget.highlightEnabled,this.highlightIds=this.widget.highlightIds,this.initialSize=this.widget.initialSize,this.icon=this.widget.icon,this.isQueryingOrSyncing=this.widget.isQueryingOrSyncing,this.label=this.widget.label,this.layer=this.widget.layer,this.layerView=this.widget.layerView,this.layers=this.widget.layers,this.maxSize=this.widget.maxSize,this.menuConfig=this.widget.menuConfig,this.multipleSelectionDisabled=this.widget.multipleSelectionEnabled,this.multipleSortEnabled=this.widget.multiSortEnabled,this.objectIds=this.widget.objectIds,this.outFields=this.widget.outFields,this.pageCount=this.widget.pageCount,this.pageIndex=this.widget.pageIndex,this.pageSize=this.widget.pageSize,this.paginationEnabled=this.widget.paginationEnabled,this.position="manual",this.relatedRecordsEnabled=this.widget.relatedRecordsEnabled,this.relatedTable=this.widget.relatedTable,this.relatedTables=this.widget.relatedTables,this.returnGeometryEnabled=this.widget.returnGeometryEnabled,this.returnMEnabled=this.widget.returnMEnabled,this.returnZEnabled=this.widget.returnZEnabled,this.rowHighlightIds=this.widget.rowHighlightIds,this.size=this.widget.size,this.state=this.widget.state,this.tableController=this.widget.tableController,this.tableDisabled=this.widget.disabled,this.tableParent=this.widget.tableParent,this.tableTemplate=this.widget.tableTemplate,this.timeExtent=this.widget.timeExtent,this.timeZone=this.widget.timeZone,this.arcgisCellClick=i(()=>this.widget,"cell-click"),this.arcgisCellKeydown=i(()=>this.widget,"cell-keydown"),this.arcgisCellPointerout=i(()=>this.widget,"cell-pointerout"),this.arcgisCellPointerover=i(()=>this.widget,"cell-pointerover"),this.arcgisColumnReorder=i(()=>this.widget,"column-reorder"),this.arcgisPropertyChange=h()("effectiveSize","isQueryingOrSyncing","layerView","size","state"),this.arcgisReady=l(),this.arcgisSelectionChange=l()}static{this.properties={actionColumnConfig:0,activeFilters:0,activeSortOrders:0,allRelatedTablesVisible:0,attachmentsEnabled:5,autoDestroyDisabled:5,autoRefreshDisabled:5,columnReorderingDisabled:5,columns:0,description:1,editingEnabled:5,effectiveSize:0,filterBySelectionEnabled:5,filterGeometry:0,hiddenFields:0,hideColumnMenuItemsSortAscending:5,hideColumnMenuItemsSortDescending:5,hideColumnMenus:5,hideHeader:5,hideMenu:5,hideMenuItemsClearSelection:5,hideMenuItemsDeleteSelection:5,hideMenuItemsExportSelectionToCsv:5,hideMenuItemsRefreshData:5,hideMenuItemsSelectedRecordsShowAllToggle:5,hideMenuItemsSelectedRecordsShowSelectedToggle:5,hideMenuItemsToggleColumns:5,hideMenuItemsZoomToSelection:5,hideProgress:5,hideSelectionColumn:5,hideTooltips:5,highlightDisabled:5,highlightIds:0,initialSize:9,icon:1,isQueryingOrSyncing:0,label:1,layer:0,layerItemId:1,layerUrl:1,layerView:0,layers:0,maxSize:9,menuConfig:0,multipleSelectionDisabled:5,multipleSortEnabled:5,objectIds:0,outFields:0,pageCount:8,pageIndex:9,pageSize:9,paginationEnabled:5,position:1,referenceElement:1,relatedRecordsEnabled:5,relatedTable:0,relatedTables:0,returnGeometryEnabled:5,returnMEnabled:5,returnZEnabled:5,rowHighlightIds:0,size:0,state:3,tableController:0,tableDisabled:5,tableParent:0,tableTemplate:0,timeExtent:0,timeZone:1}}static{this.shadowRootOptions=a}static{this.styles=w}async deleteSelection(e){await this.widget?.deleteSelection(e)}async destroy(){await this.manager.destroy()}async exportSelectionToCSV(e){await this.widget?.exportSelectionToCSV(e)}async findColumn(e){return this.widget?.findColumn(e)}async goToPage(e){this.widget.goToPage(e)}async hideColumn(e){this.widget?.hideColumn(e)}async nextPage(){this.widget.nextPage()}async previousPage(){this.widget.previousPage()}async refresh(){await this.widget?.refresh()}async scrollToBottom(){this.widget.scrollToBottom()}async scrollToIndex(e){this.widget?.scrollToIndex(e)}async scrollToLeft(){this.widget.scrollLeft()}async scrollToRow(e){this.widget?.scrollToRow(e)}async scrollToTop(){this.widget.scrollToTop()}async showAllColumns(){this.widget?.showAllColumns()}async showColumn(e){this.widget?.showColumn(e)}async sortColumn(e,t){this.widget?.sortColumn(e,t)}async zoomToSelection(){this.widget?.zoomToSelection()}load(){this.manager.onLifecycle(()=>this.widget.highlightIds.on("change",this.arcgisSelectionChange.emit))}willUpdate(e){if(e.has("layerItemId")&&(m(this.layerItemId)?this.layer=null:this.layerItemId&&n().then(async t=>await t.fromPortalItem({portalItem:{id:this.layerItemId}})).then(t=>{this.layer=t}).catch(console.error)),e.has("layerUrl")){let t=this.layerUrl;t?n().then(s=>s.fromArcGISServerUrl({url:t})).then(s=>{this.layer=s}).catch(console.error):this.layer=null}}loaded(){this.el.childElem?.classList.add("arcgis-feature-table")}};g("arcgis-feature-table",o);export{o as ArcgisFeatureTable};
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.32/esri/copyright.txt for details.
4
- * v4.32.0-next.7
4
+ * v4.32.0-next.8
5
5
  */
6
- import{a as n}from"./TCHQQ6YP.js";import"./ZIVFGNA3.js";import{j as r}from"./XDSXW32X.js";import"./EF72I5WZ.js";import{B as a,G as o,o as s,y as i,z as e}from"./ZIY4VYAM.js";var h=n(r),t=class extends a{constructor(){super(...arguments),this.widget=h(this),this.viewModel=this.widget.viewModel,this.analysis=this.widget.analysis,this.autoDestroyDisabled=!1,this.icon=this.widget.icon,this.label=this.widget.label,this.position="bottom-left",this.state=this.viewModel.state,this.unit=this.widget.unit,this.unitOptions=this.widget.unitOptions,this.arcgisPropertyChange=s()("analysis","state"),this.arcgisReady=i()}static{this.properties={analysis:0,autoDestroyDisabled:5,icon:1,label:1,position:1,referenceElement:1,state:3,unit:1,unitOptions:0}}static{this.shadowRootOptions=e}async clear(){this.widget?.viewModel.clear()}async destroy(){await this.manager.destroy()}async start(){this.widget?.viewModel.start()}};o("arcgis-area-measurement-3d",t);export{t as ArcgisAreaMeasurement3d};
6
+ import{a as n}from"./QR3XASHQ.js";import"./QZU4BCAM.js";import{j as r}from"./Z6LBL5EZ.js";import"./54YVOIIP.js";import{B as a,G as o,o as s,y as i,z as e}from"./EEZJ56IS.js";var h=n(r),t=class extends a{constructor(){super(...arguments),this.widget=h(this),this.viewModel=this.widget.viewModel,this.analysis=this.widget.analysis,this.autoDestroyDisabled=!1,this.icon=this.widget.icon,this.label=this.widget.label,this.position="bottom-left",this.state=this.viewModel.state,this.unit=this.widget.unit,this.unitOptions=this.widget.unitOptions,this.arcgisPropertyChange=s()("analysis","state"),this.arcgisReady=i()}static{this.properties={analysis:0,autoDestroyDisabled:5,icon:1,label:1,position:1,referenceElement:1,state:3,unit:1,unitOptions:0}}static{this.shadowRootOptions=e}async clear(){this.widget?.viewModel.clear()}async destroy(){await this.manager.destroy()}async start(){this.widget?.viewModel.start()}};o("arcgis-area-measurement-3d",t);export{t as ArcgisAreaMeasurement3d};
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.32/esri/copyright.txt for details.
4
- * v4.32.0-next.7
4
+ * v4.32.0-next.8
5
5
  */
6
- import{a as d}from"./TCHQQ6YP.js";import{d as n}from"./ZIVFGNA3.js";import{D as h}from"./XDSXW32X.js";import"./EF72I5WZ.js";import{B as o,G as r,o as i,y as s,z as a}from"./ZIY4VYAM.js";var c=d(h),t=class extends o{constructor(){super(...arguments),this.widget=c(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.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.hideActionBar=this.widget.visibleElements.actionBar,this.hideCloseButton=this.widget.visibleElements.closeButton,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.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=i()("selectedFeature","selectedFeatureIndex","state"),this.arcgisReady=s(),this.arcgisTriggerAction=n(()=>this.widget,"triggerAction")}static{this.properties={actions:0,active:7,autoDestroyDisabled:5,collapsed:7,content:1,featureViewModelAbilities:0,features:0,featuresPerPage:9,featuresTitle:1,goToOverride:0,headingLevel:9,hideActionBar:5,hideCloseButton:5,hideFeatureNavigation:5,hideFlow:5,hideHeading:5,hideSpinner:5,icon:1,includeDefaultActions:5,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=a}async clear(){this.widget?.clear()}async close(){this.widget?.close()}async destroy(){await this.manager.destroy()}async fetchFeatures(e,l){return await this.widget?.fetchFeatures(e,l)}async next(){return this.widget?.next()}async open(e){this.widget?.open(e)}async previous(){return this.widget?.previous()}async triggerAction(e){this.widget?.triggerAction(e)}};r("arcgis-features",t);export{t as ArcgisFeatures};
6
+ import{a as d}from"./QR3XASHQ.js";import{d as n}from"./QZU4BCAM.js";import{D as h}from"./Z6LBL5EZ.js";import"./54YVOIIP.js";import{B as o,G as r,o as i,y as s,z as a}from"./EEZJ56IS.js";var c=d(h),t=class extends o{constructor(){super(...arguments),this.widget=c(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.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.hideActionBar=this.widget.visibleElements.actionBar,this.hideCloseButton=this.widget.visibleElements.closeButton,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.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=i()("selectedFeature","selectedFeatureIndex","state"),this.arcgisReady=s(),this.arcgisTriggerAction=n(()=>this.widget,"trigger-action")}static{this.properties={actions:0,active:7,autoDestroyDisabled:5,collapsed:7,content:1,featureViewModelAbilities:0,features:0,featuresPerPage:9,featuresTitle:1,goToOverride:0,headingLevel:9,hideActionBar:5,hideCloseButton:5,hideFeatureNavigation:5,hideFlow:5,hideHeading:5,hideSpinner:5,icon:1,includeDefaultActions:5,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=a}async clear(){this.widget?.clear()}async close(){this.widget?.close()}async destroy(){await this.manager.destroy()}async fetchFeatures(e,l){return await this.widget?.fetchFeatures(e,l)}async next(){return this.widget?.next()}async open(e){this.widget?.open(e)}async previous(){return this.widget?.previous()}async triggerAction(e){this.widget?.triggerAction(e)}};r("arcgis-features",t);export{t as ArcgisFeatures};
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.32/esri/copyright.txt for details.
4
- * v4.32.0-next.7
4
+ * v4.32.0-next.8
5
5
  */
6
- import{a as l}from"./TCHQQ6YP.js";import"./ZIVFGNA3.js";import{Y as r}from"./XDSXW32X.js";import"./EF72I5WZ.js";import{B as a,G as o,o as t,y as s,z as i}from"./ZIY4VYAM.js";var d=l(r),e=class extends a{constructor(){super(...arguments),this.widget=d(this),this.viewModel=this.widget.viewModel,this.analysis=this.widget.analysis,this.autoDestroyDisabled=!1,this.excludeGroundSurface=this.viewModel.excludeGroundSurface,this.excludedLayers=this.viewModel.excludedLayers,this.headingLevel=this.widget.headingLevel,this.icon=this.widget.icon,this.label=this.widget.label,this.position="bottom-left",this.shape=this.viewModel.shape,this.state=this.viewModel.state,this.tiltEnabled=this.viewModel.tiltEnabled,this.arcgisPropertyChange=t()("analysis","state"),this.arcgisReady=s()}static{this.properties={analysis:0,autoDestroyDisabled:5,excludeGroundSurface:5,excludedLayers:0,headingLevel:9,icon:1,label:1,position:1,referenceElement:1,shape:0,state:3,tiltEnabled:5}}static{this.shadowRootOptions=i}async clear(){this.widget?.viewModel.clear()}async destroy(){await this.manager.destroy()}async start(){this.widget?.viewModel.start()}};o("arcgis-slice",e);export{e as ArcgisSlice};
6
+ import{a as l}from"./QR3XASHQ.js";import"./QZU4BCAM.js";import{Y as r}from"./Z6LBL5EZ.js";import"./54YVOIIP.js";import{B as a,G as o,o as t,y as s,z as i}from"./EEZJ56IS.js";var d=l(r),e=class extends a{constructor(){super(...arguments),this.widget=d(this),this.viewModel=this.widget.viewModel,this.analysis=this.widget.analysis,this.autoDestroyDisabled=!1,this.excludeGroundSurface=this.viewModel.excludeGroundSurface,this.excludedLayers=this.viewModel.excludedLayers,this.headingLevel=this.widget.headingLevel,this.icon=this.widget.icon,this.label=this.widget.label,this.position="bottom-left",this.shape=this.viewModel.shape,this.state=this.viewModel.state,this.tiltEnabled=this.viewModel.tiltEnabled,this.arcgisPropertyChange=t()("analysis","state"),this.arcgisReady=s()}static{this.properties={analysis:0,autoDestroyDisabled:5,excludeGroundSurface:5,excludedLayers:0,headingLevel:9,icon:1,label:1,position:1,referenceElement:1,shape:0,state:3,tiltEnabled:5}}static{this.shadowRootOptions=i}async clear(){this.widget?.viewModel.clear()}async destroy(){await this.manager.destroy()}async start(){this.widget?.viewModel.start()}};o("arcgis-slice",e);export{e as ArcgisSlice};
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.32/esri/copyright.txt for details.
4
- * v4.32.0-next.7
4
+ * v4.32.0-next.8
5
5
  */
6
- import{a as b}from"./WPNJSRZ6.js";import{b as w}from"./UZQHNANU.js";import{da as o,ja as d}from"./XDSXW32X.js";import{a as c,b as n,c as g,i as p}from"./EF72I5WZ.js";import{B as h,G as l,q as a,y as t,z as r}from"./ZIY4VYAM.js";var i=class extends h{constructor(){super(...arguments),this._watchHandles=[],this.defaultGraphicColor={color:[255,255,0,.6],haloOpacity:.9,fillOpacity:.2,hex:"#FFFF00"},this.disabled=!1,this.enableResultArea=!1,this.flags=[],this.gdbVersion="sde.DEFAULT",this.inputSettings=[],this.position="bottom-left",this.selectOnCompleteDisabled=!1,this.selectedTraces=[],this.showGraphicsOnCompleteDisabled=!1,this.showSelectionAttributesDisabled=!1,this.arcgisAddFlag=t(),this.arcgisAddFlagComplete=t(),this.arcgisAddFlagError=t(),this.arcgisAddResultArea=t(),this.arcgisReady=t(),this.arcgisRemoveResultArea=t()}static{this.properties={defaultGraphicColor:0,disabled:7,enableResultArea:5,flags:0,gdbVersion:1,inputSettings:0,position:1,referenceElement:1,resultAreaProperties:0,selectOnCompleteDisabled:5,selectedTraces:0,showGraphicsOnCompleteDisabled:5,showSelectionAttributesDisabled:5,view:0,widget:0}}static{this.shadowRootOptions=r}async checkCanTrace(){await this.widget?.checkCanTrace()}async confirmReset(){this.widget?.confirmReset()}willUpdate(e){e.has("referenceElement")&&this.referenceElementWatcher(this.referenceElement),e.has("enableResultArea")&&this.enableResultAreaWatcher(this.enableResultArea),e.has("defaultGraphicColor")&&this.defaultGraphicColorWatcher(this.defaultGraphicColor),e.has("disabled")&&this.disabledWatcher(this.disabled,e.get("disabled")),e.has("flags")&&this.flagsWatcher(this.flags),e.has("gdbVersion")&&this.gdbVersionWatcher(this.gdbVersion),e.has("inputSettings")&&this.inputSettingsWatcher(this.inputSettings),e.has("resultAreaProperties")&&this.resultAreaProperties&&this.resultAreaPropertiesWatcher(this.resultAreaProperties),e.has("selectedTraces")&&this.selectedTracesWatcher(this.selectedTraces),e.has("selectOnCompleteDisabled")&&this.selectOnCompleteDisabledWatcher(this.selectOnCompleteDisabled),e.has("showGraphicsOnCompleteDisabled")&&this.showGraphicsOnCompleteDisabledWatcher(this.showGraphicsOnCompleteDisabled),e.has("showSelectionAttributesDisabled")&&this.showSelectionAttributesDisabledWatcher(this.showSelectionAttributesDisabled),e.has("position")&&this.positionWatcher(this.position),e.has("view")&&this.viewWatcher(this.view)}async loaded(){let e=this._createParams(),s=await o(e);this.widget=s,await this._addWatchers(),this._proxyEvents(),this._addContainer(),g(this),n(this)}disconnectedCallback(){super.disconnectedCallback(),b(this)}referenceElementWatcher(e){p(this,e)}enableResultAreaWatcher(e){this.widget&&(this.widget.enableResultArea=e)}defaultGraphicColorWatcher(e){this.widget&&(this.widget.defaultGraphicColor=e)}disabledWatcher(e,s){this.widget&&e!==s&&(this.widget.disabled=e)}flagsWatcher(e){this.widget&&(this.widget.flags=e)}gdbVersionWatcher(e){this.widget&&(this.widget.gdbVersion=e)}inputSettingsWatcher(e){this.widget&&(this.widget.inputSettings=e)}resultAreaPropertiesWatcher(e){this.widget&&(this.widget.resultAreaProperties=e)}selectedTracesWatcher(e){this.widget&&(this.widget.selectedTraces=e)}selectOnCompleteDisabledWatcher(e){e!==void 0&&this.widget&&(this.widget.selectOnComplete=!e)}showGraphicsOnCompleteDisabledWatcher(e){e!==void 0&&this.widget&&(this.widget.showGraphicsOnComplete=!e)}showSelectionAttributesDisabledWatcher(e){e!==void 0&&this.widget&&(this.widget.showSelectionAttributes=!e)}positionWatcher(e){e!==void 0&&this.widget&&this.el.childElem&&this.view.ui.move(this.el.childElem,e)}viewWatcher(e){e!==void 0&&this.widget&&(this.widget.view=e)}_addContainer(){this.widget.container=this.el.childElem}async _addWatchers(){let{watch:e}=await d();c(this,e(()=>this.widget.disabled,s=>this.disabled=s))}_createParams(){let e={};return this.defaultGraphicColor&&(e.defaultGraphicColor=this.defaultGraphicColor),this.enableResultArea!==void 0&&(e.enableResultArea=this.enableResultArea),this.flags&&(e.flags=this.flags),this.gdbVersion&&(e.gdbVersion=this.gdbVersion),this.inputSettings&&(e.inputSettings=this.inputSettings),this.resultAreaProperties&&(e.resultAreaProperties=this.resultAreaProperties),this.selectedTraces&&(e.selectedTraces=this.selectedTraces),this.selectOnCompleteDisabled!==void 0&&(e.selectOnComplete=!this.selectOnCompleteDisabled),this.showGraphicsOnCompleteDisabled!==void 0&&(e.showGraphicsOnComplete=!this.showGraphicsOnCompleteDisabled),this.showSelectionAttributesDisabled!==void 0&&(e.showSelectionAttributes=!this.showSelectionAttributesDisabled),this.view&&(e.view=this.view),e}_proxyEvents(){this.widget.on("add-flag",e=>this.arcgisAddFlag.emit(e)),this.widget.on("add-flag-complete",e=>this.arcgisAddFlagComplete.emit(e)),this.widget.on("add-flag-error",e=>this.arcgisAddFlagError.emit(e)),this.widget.on("add-result-area",e=>this.arcgisAddResultArea.emit(e)),this.widget.on("remove-result-area",e=>this.arcgisRemoveResultArea.emit(e))}render(){return a`<div ${w(e=>this.el.childElem=e)}></div>`}};l("arcgis-utility-network-trace",i);export{i as ArcgisUtilityNetworkTrace};
6
+ import{a as b}from"./HGVFIOAY.js";import{b as w}from"./FVFH5V4K.js";import{da as o,ja as d}from"./Z6LBL5EZ.js";import{a as c,b as n,c as g,i as p}from"./54YVOIIP.js";import{B as h,G as l,q as a,y as t,z as r}from"./EEZJ56IS.js";var i=class extends h{constructor(){super(...arguments),this._watchHandles=[],this.defaultGraphicColor={color:[255,255,0,.6],haloOpacity:.9,fillOpacity:.2,hex:"#FFFF00"},this.disabled=!1,this.enableResultArea=!1,this.flags=[],this.gdbVersion="sde.DEFAULT",this.inputSettings=[],this.position="bottom-left",this.selectOnCompleteDisabled=!1,this.selectedTraces=[],this.showGraphicsOnCompleteDisabled=!1,this.showSelectionAttributesDisabled=!1,this.arcgisAddFlag=t(),this.arcgisAddFlagComplete=t(),this.arcgisAddFlagError=t(),this.arcgisAddResultArea=t(),this.arcgisReady=t(),this.arcgisRemoveResultArea=t()}static{this.properties={defaultGraphicColor:0,disabled:7,enableResultArea:5,flags:0,gdbVersion:1,inputSettings:0,position:1,referenceElement:1,resultAreaProperties:0,selectOnCompleteDisabled:5,selectedTraces:0,showGraphicsOnCompleteDisabled:5,showSelectionAttributesDisabled:5,view:0,widget:0}}static{this.shadowRootOptions=r}async checkCanTrace(){await this.widget?.checkCanTrace()}async confirmReset(){this.widget?.confirmReset()}willUpdate(e){e.has("referenceElement")&&this.referenceElementWatcher(this.referenceElement),e.has("enableResultArea")&&this.enableResultAreaWatcher(this.enableResultArea),e.has("defaultGraphicColor")&&this.defaultGraphicColorWatcher(this.defaultGraphicColor),e.has("disabled")&&this.disabledWatcher(this.disabled,e.get("disabled")),e.has("flags")&&this.flagsWatcher(this.flags),e.has("gdbVersion")&&this.gdbVersionWatcher(this.gdbVersion),e.has("inputSettings")&&this.inputSettingsWatcher(this.inputSettings),e.has("resultAreaProperties")&&this.resultAreaProperties&&this.resultAreaPropertiesWatcher(this.resultAreaProperties),e.has("selectedTraces")&&this.selectedTracesWatcher(this.selectedTraces),e.has("selectOnCompleteDisabled")&&this.selectOnCompleteDisabledWatcher(this.selectOnCompleteDisabled),e.has("showGraphicsOnCompleteDisabled")&&this.showGraphicsOnCompleteDisabledWatcher(this.showGraphicsOnCompleteDisabled),e.has("showSelectionAttributesDisabled")&&this.showSelectionAttributesDisabledWatcher(this.showSelectionAttributesDisabled),e.has("position")&&this.positionWatcher(this.position),e.has("view")&&this.viewWatcher(this.view)}async loaded(){let e=this._createParams(),s=await o(e);this.widget=s,await this._addWatchers(),this._proxyEvents(),this._addContainer(),g(this),n(this)}disconnectedCallback(){super.disconnectedCallback(),b(this)}referenceElementWatcher(e){p(this,e)}enableResultAreaWatcher(e){this.widget&&(this.widget.enableResultArea=e)}defaultGraphicColorWatcher(e){this.widget&&(this.widget.defaultGraphicColor=e)}disabledWatcher(e,s){this.widget&&e!==s&&(this.widget.disabled=e)}flagsWatcher(e){this.widget&&(this.widget.flags=e)}gdbVersionWatcher(e){this.widget&&(this.widget.gdbVersion=e)}inputSettingsWatcher(e){this.widget&&(this.widget.inputSettings=e)}resultAreaPropertiesWatcher(e){this.widget&&(this.widget.resultAreaProperties=e)}selectedTracesWatcher(e){this.widget&&(this.widget.selectedTraces=e)}selectOnCompleteDisabledWatcher(e){e!==void 0&&this.widget&&(this.widget.selectOnComplete=!e)}showGraphicsOnCompleteDisabledWatcher(e){e!==void 0&&this.widget&&(this.widget.showGraphicsOnComplete=!e)}showSelectionAttributesDisabledWatcher(e){e!==void 0&&this.widget&&(this.widget.showSelectionAttributes=!e)}positionWatcher(e){e!==void 0&&this.widget&&this.el.childElem&&this.view.ui.move(this.el.childElem,e)}viewWatcher(e){e!==void 0&&this.widget&&(this.widget.view=e)}_addContainer(){this.widget.container=this.el.childElem}async _addWatchers(){let{watch:e}=await d();c(this,e(()=>this.widget.disabled,s=>this.disabled=s))}_createParams(){let e={};return this.defaultGraphicColor&&(e.defaultGraphicColor=this.defaultGraphicColor),this.enableResultArea!==void 0&&(e.enableResultArea=this.enableResultArea),this.flags&&(e.flags=this.flags),this.gdbVersion&&(e.gdbVersion=this.gdbVersion),this.inputSettings&&(e.inputSettings=this.inputSettings),this.resultAreaProperties&&(e.resultAreaProperties=this.resultAreaProperties),this.selectedTraces&&(e.selectedTraces=this.selectedTraces),this.selectOnCompleteDisabled!==void 0&&(e.selectOnComplete=!this.selectOnCompleteDisabled),this.showGraphicsOnCompleteDisabled!==void 0&&(e.showGraphicsOnComplete=!this.showGraphicsOnCompleteDisabled),this.showSelectionAttributesDisabled!==void 0&&(e.showSelectionAttributes=!this.showSelectionAttributesDisabled),this.view&&(e.view=this.view),e}_proxyEvents(){this.widget.on("add-flag",e=>this.arcgisAddFlag.emit(e)),this.widget.on("add-flag-complete",e=>this.arcgisAddFlagComplete.emit(e)),this.widget.on("add-flag-error",e=>this.arcgisAddFlagError.emit(e)),this.widget.on("add-result-area",e=>this.arcgisAddResultArea.emit(e)),this.widget.on("remove-result-area",e=>this.arcgisRemoveResultArea.emit(e))}render(){return a`<div ${w(e=>this.el.childElem=e)}></div>`}};l("arcgis-utility-network-trace",i);export{i as ArcgisUtilityNetworkTrace};
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.32/esri/copyright.txt for details.
4
- * v4.32.0-next.7
4
+ * v4.32.0-next.8
5
5
  */
6
- import{a as b,b as y}from"./UZQHNANU.js";import{a as t}from"./4ZMBY532.js";import{a as v,b as k}from"./LX73HFSX.js";import{d as s}from"./ZIVFGNA3.js";import{O as f}from"./XDSXW32X.js";import"./EF72I5WZ.js";import{B as g,C as r,E as u,G as w,a as d,o as h,q as e,y as p,z as m}from"./ZIY4VYAM.js";var L={arrowDown:"esri-icon-arrow-down",arrowUp:"esri-icon-arrow-up",basemap:"esri-icon-basemap",bookmark:"esri-icon-bookmark",calendar:"esri-icon-calendar",checkMark:"esri-icon-check-mark",checkboxUnchecked:"esri-icon-checkbox-unchecked",close:"esri-icon-close",collapse:"esri-icon-collapse",defaultAction:"esri-icon-default-action",description:"esri-icon-description",directions:"esri-icon-directions",dockBottom:"esri-icon-dock-bottom",dockLeft:"esri-icon-dock-left",dockRight:"esri-icon-dock-right",down:"esri-icon-down",downArrow:"esri-icon-down-arrow",download:"esri-icon-download",dragHorizontal:"esri-icon-drag-horizontal",dragVertical:"esri-icon-drag-vertical",duplicate:"esri-icon-duplicate",edit:"esri-icon-edit",elevationProfile:"esri-icon-elevation-profile",environmentSettings:"esri-icon-environment-settings",erase:"esri-icon-erase",error:"esri-icon-error",expand:"esri-icon-expand",fontFallbackText:"esri-icon-font-fallback-text",forward:"esri-icon-forward",gear:"esri-icon-gear",handleHorizontal:"esri-icon-handle-horizontal",handleVertical:"esri-icon-handle-vertical",home:"esri-icon-home",icon:"esri-icon",launchLinkExternal:"esri-icon-launch-link-external",layerList:"esri-icon-layer-list",layers:"esri-icon-layers",left:"esri-icon-left",leftArrows:"esri-icon-left-arrow",leftTriangleArrow:"esri-icon-left-triangle-arrow",lineOfSight:"esri-icon-line-of-sight",link:"esri-icon-link",linkExternal:"esri-icon-link-external",linkHorizontal:"esri-icon-link-horizontal",loadingIndicator:"esri-icon-loading-indicator",locate:"esri-icon-locate",locateCircled:"esri-icon-locate-circled",locked:"esri-icon-locked",mapPin:"esri-icon-map-pin",maximize:"esri-icon-maximize",measure:"esri-icon-measure",measureArea:"esri-icon-measure-area",measureBuildingHeightShadow:"esri-icon-measure-building-height-shadow",measureLine:"esri-icon-measure-line",menu:"esri-icon-menu",minimize:"esri-icon-minimize",minus:"esri-icon-minus",nonVisible:"esri-icon-non-visible",northNavigation:"esri-icon-north-navigation",noticeTriangle:"esri-icon-notice-triangle",organization:"esri-icon-organization",pan:"esri-icon-pan",pan2:"esri-icon-pan2",partlyCloudy:"esri-icon-partly-cloudy",pause:"esri-icon-pause",play:"esri-icon-play",playCircled:"esri-icon-play-circled",plus:"esri-icon-plus",polyline:"esri-icon-polyline",printer:"esri-icon-printer",radioChecked:"esri-icon-radio-checked",radioUnchecked:"esri-icon-radio-unchecked",refresh:"esri-icon-refresh",reverse:"esri-icon-reverse",right:"esri-icon-right",rightArrow:"esri-icon-right-arrow",rightTriangleArrow:"esri-icon-right-triangle-arrow",rotate:"esri-icon-rotate",save:"esri-icon-save",search:"esri-icon-search",settings2:"esri-icon-settings2",slice:"esri-icon-slice",swap:"esri-icon-swap",table:"esri-icon-table",timeClock:"esri-icon-time-clock",tracking:"esri-icon-tracking",trash:"esri-icon-trash",unlockedLinkHorizontal:"esri-icon-unlocked-link-horizontal",up:"esri-icon-up",upArrow:"esri-icon-up-arrow",upDownArrows:"esri-icon-up-down-arrows",urbanModel:"esri-icon-urban-model",vertexGps:"esri-icon-vertex-gps",visible:"esri-icon-visible",zoomInFixed:"esri-icon-zoom-in-fixed",zoomInMagnifyingGlass:"esri-icon-zoom-in-magnifying-glass",zoomOutFixed:"esri-icon-zoom-out-fixed",zoomToObject:"esri-icon-zoom-to-object"},T={base:"esri-locate"},E="gps-off",D=k(f),n=class extends g{constructor(){super(...arguments),this.messages=v(),this.viewModel=D(this),this._calciteButton=b(),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=E,this.popupDisabled=this.viewModel.popupEnabled,this.position="top-left",this.scale=this.viewModel.scale,this.state=this.viewModel.state,this.arcgisError=s(()=>this.viewModel,"locateError"),this.arcgisPropertyChange=h()("state"),this.arcgisReady=p(),this.arcgisSuccess=s(()=>this.viewModel,"locate")}static{this.properties={autoDestroyDisabled:5,geolocationOptions:0,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=m}async cancelLocate(){this.viewModel.cancelLocate()}async destroy(){await this.manager.destroy()}async locate(){return await this.viewModel.locate()}updated(){if(this._calciteButton.value)if(this.viewModel.state==="locating"){if(!this._calciteButton.value.children[0]){let i=document.createElement("calcite-loader");i.inline=!0,i.label="",this._calciteButton.value.append(i)}}else this._calciteButton.value.children[0]?.remove()}_localizeError(i){if(i instanceof GeolocationPositionError)return i.code===GeolocationPositionError.PERMISSION_DENIED?this.messages?.permissionError:i.code===GeolocationPositionError.TIMEOUT?this.messages?.timeoutError:this.messages?.positionUnavailable;if(i instanceof Error)return i.message}_locate(){let{viewModel:i}=this;i.state==="locating"?i.cancelLocate():i.locate().catch(()=>{})}render(){let{viewModel:i,icon:z}=this,{state:o}=i,a=o==="locating",c=a?this.messages.cancel:this.messages.title,M=o==="feature-unsupported",x=L===void 0?E:void 0,l=this._localizeError(this.viewModel?.error);return e`<div class=${r(d(T.base,t.widget))}>${!M&&e`<calcite-button class=${r(t.widgetButton)} .disabled=${o==="disabled"} .iconStart=${a?void 0:z??x} kind=neutral .label=${c} @click=${this._locate} title=${c??u} ${y(this._calciteButton)}></calcite-button>`||""}${l?e`<calcite-tooltip open overlay-positioning=fixed .referenceElement=${this.el}>${l}</calcite-tooltip>`:null}</div>`}};w("arcgis-locate",n);export{n as ArcgisLocate};
6
+ import{a as b,b as y}from"./FVFH5V4K.js";import{a as t}from"./IZYKFXP5.js";import{a as v,b as k}from"./5EP74C7X.js";import{d as s}from"./QZU4BCAM.js";import{O as f}from"./Z6LBL5EZ.js";import"./54YVOIIP.js";import{B as g,C as r,E as u,G as w,a as d,o as h,q as e,y as p,z as m}from"./EEZJ56IS.js";var L={arrowDown:"esri-icon-arrow-down",arrowUp:"esri-icon-arrow-up",basemap:"esri-icon-basemap",bookmark:"esri-icon-bookmark",calendar:"esri-icon-calendar",checkMark:"esri-icon-check-mark",checkboxUnchecked:"esri-icon-checkbox-unchecked",close:"esri-icon-close",collapse:"esri-icon-collapse",defaultAction:"esri-icon-default-action",description:"esri-icon-description",directions:"esri-icon-directions",dockBottom:"esri-icon-dock-bottom",dockLeft:"esri-icon-dock-left",dockRight:"esri-icon-dock-right",down:"esri-icon-down",downArrow:"esri-icon-down-arrow",download:"esri-icon-download",dragHorizontal:"esri-icon-drag-horizontal",dragVertical:"esri-icon-drag-vertical",duplicate:"esri-icon-duplicate",edit:"esri-icon-edit",elevationProfile:"esri-icon-elevation-profile",environmentSettings:"esri-icon-environment-settings",erase:"esri-icon-erase",error:"esri-icon-error",expand:"esri-icon-expand",fontFallbackText:"esri-icon-font-fallback-text",forward:"esri-icon-forward",gear:"esri-icon-gear",handleHorizontal:"esri-icon-handle-horizontal",handleVertical:"esri-icon-handle-vertical",home:"esri-icon-home",icon:"esri-icon",launchLinkExternal:"esri-icon-launch-link-external",layerList:"esri-icon-layer-list",layers:"esri-icon-layers",left:"esri-icon-left",leftArrows:"esri-icon-left-arrow",leftTriangleArrow:"esri-icon-left-triangle-arrow",lineOfSight:"esri-icon-line-of-sight",link:"esri-icon-link",linkExternal:"esri-icon-link-external",linkHorizontal:"esri-icon-link-horizontal",loadingIndicator:"esri-icon-loading-indicator",locate:"esri-icon-locate",locateCircled:"esri-icon-locate-circled",locked:"esri-icon-locked",mapPin:"esri-icon-map-pin",maximize:"esri-icon-maximize",measure:"esri-icon-measure",measureArea:"esri-icon-measure-area",measureBuildingHeightShadow:"esri-icon-measure-building-height-shadow",measureLine:"esri-icon-measure-line",menu:"esri-icon-menu",minimize:"esri-icon-minimize",minus:"esri-icon-minus",nonVisible:"esri-icon-non-visible",northNavigation:"esri-icon-north-navigation",noticeTriangle:"esri-icon-notice-triangle",organization:"esri-icon-organization",pan:"esri-icon-pan",pan2:"esri-icon-pan2",partlyCloudy:"esri-icon-partly-cloudy",pause:"esri-icon-pause",play:"esri-icon-play",playCircled:"esri-icon-play-circled",plus:"esri-icon-plus",polyline:"esri-icon-polyline",printer:"esri-icon-printer",radioChecked:"esri-icon-radio-checked",radioUnchecked:"esri-icon-radio-unchecked",refresh:"esri-icon-refresh",reverse:"esri-icon-reverse",right:"esri-icon-right",rightArrow:"esri-icon-right-arrow",rightTriangleArrow:"esri-icon-right-triangle-arrow",rotate:"esri-icon-rotate",save:"esri-icon-save",search:"esri-icon-search",settings2:"esri-icon-settings2",slice:"esri-icon-slice",swap:"esri-icon-swap",table:"esri-icon-table",timeClock:"esri-icon-time-clock",tracking:"esri-icon-tracking",trash:"esri-icon-trash",unlockedLinkHorizontal:"esri-icon-unlocked-link-horizontal",up:"esri-icon-up",upArrow:"esri-icon-up-arrow",upDownArrows:"esri-icon-up-down-arrows",urbanModel:"esri-icon-urban-model",vertexGps:"esri-icon-vertex-gps",visible:"esri-icon-visible",zoomInFixed:"esri-icon-zoom-in-fixed",zoomInMagnifyingGlass:"esri-icon-zoom-in-magnifying-glass",zoomOutFixed:"esri-icon-zoom-out-fixed",zoomToObject:"esri-icon-zoom-to-object"},T={base:"esri-locate"},z="gps-off",D=k(f),n=class extends g{constructor(){super(...arguments),this.messages=v(),this.viewModel=D(this),this._calciteButton=b(),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=z,this.popupDisabled=this.viewModel.popupEnabled,this.position="top-left",this.scale=this.viewModel.scale,this.state=this.viewModel.state,this.arcgisError=s(()=>this.viewModel,"locate-error"),this.arcgisPropertyChange=h()("state"),this.arcgisReady=p(),this.arcgisSuccess=s(()=>this.viewModel,"locate")}static{this.properties={autoDestroyDisabled:5,geolocationOptions:0,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=m}async cancelLocate(){this.viewModel.cancelLocate()}async destroy(){await this.manager.destroy()}async locate(){return await this.viewModel.locate()}updated(){if(this._calciteButton.value)if(this.viewModel.state==="locating"){if(!this._calciteButton.value.children[0]){let i=document.createElement("calcite-loader");i.inline=!0,i.label="",this._calciteButton.value.append(i)}}else this._calciteButton.value.children[0]?.remove()}_localizeError(i){if(i instanceof GeolocationPositionError)return i.code===GeolocationPositionError.PERMISSION_DENIED?this.messages?.permissionError:i.code===GeolocationPositionError.TIMEOUT?this.messages?.timeoutError:this.messages?.positionUnavailable;if(i instanceof Error)return i.message}_locate(){let{viewModel:i}=this;i.state==="locating"?i.cancelLocate():i.locate().catch(()=>{})}render(){let{viewModel:i,icon:E}=this,{state:o}=i,a=o==="locating",c=a?this.messages.cancel:this.messages.title,M=o==="feature-unsupported",x=L===void 0?z:void 0,l=this._localizeError(this.viewModel?.error);return e`<div class=${r(d(T.base,t.widget))}>${!M&&e`<calcite-button class=${r(t.widgetButton)} .disabled=${o==="disabled"} .iconStart=${a?void 0:E??x} kind=neutral .label=${c} @click=${this._locate} title=${c??u} ${y(this._calciteButton)}></calcite-button>`||""}${l?e`<calcite-tooltip open overlay-positioning=fixed .referenceElement=${this.el}>${l}</calcite-tooltip>`:null}</div>`}};w("arcgis-locate",n);export{n as ArcgisLocate};
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.32/esri/copyright.txt for details.
4
- * v4.32.0-next.7
4
+ * v4.32.0-next.8
5
5
  */
6
- import{b as x}from"./UZQHNANU.js";import{a as $}from"./4ZMBY532.js";import{a as D,b as S}from"./LX73HFSX.js";import"./ZIVFGNA3.js";import{T as B,ja as U,ka as M,ma as R}from"./XDSXW32X.js";import"./EF72I5WZ.js";import{B as y,C as a,D as v,G as L,a as d,m as p,q as c,y as w,z as g}from"./ZIY4VYAM.js";var r="esri-scale-bar",t={base:r,labelContainer:`${r}__label-container`,rulerLabelContainer:`${r}__label-container--ruler`,lineLabelContainer:`${r}__label-container--line`,topLabelContainer:`${r}__label-container--top`,bottomLabelContainer:`${r}__label-container--bottom`,label:`${r}__label`,line:`${r}__line`,topLine:`${r}__line--top`,bottomLine:`${r}__line--bottom`,ruler:`${r}__ruler`,rulerBlock:`${r}__ruler-block`,barContainer:`${r}__bar-container`,rulerBarContainer:`${r}__bar-container--ruler`,lineBarContainer:`${r}__bar-container--line`};function k(C=0,e=0){return{x:C,y:e}}var O=S(B),f=class extends y{constructor(){super(...arguments),this.intlUtils=p(M),this.messages=D(),this.reactiveUtils=p(U),this._scaleComputedFrom=k(),this.unitUtils=p(R),this.viewModel=O(this),this.autoDestroyDisabled=!1,this.barStyle="line",this.icon="actual-size",this.position="top-left",this.arcgisReady=w()}static{this.properties={autoDestroyDisabled:5,barStyle:1,icon:3,label:1,messageOverrides:0,position:3,referenceElement:1,unit:1}}static{this.shadowRootOptions=g}get unit(){return this._unit??this._defaultUnit}set unit(e){this._unit=e}async destroy(){await this.manager.destroy()}updated(){this._handleRootCreateOrUpdate()}loaded(){this._defaultUnit=this.unitUtils.getDefaultUnitForView(this.viewModel.view),this.manager.onLifecycle(()=>this.reactiveUtils.watch(()=>{let e=this.viewModel.view;return[e?.stationary,e?.center,e?.scale,e?.zoom]},([e])=>{e&&this.requestUpdate()}))}_handleRootCreateOrUpdate(){if(!this.viewModel)return;let e=this._scaleComputedFrom,s=this.el.getBoundingClientRect(),o=s.left+window.pageXOffset,n=s.top+window.pageYOffset,i=k(o,n);(i.x!==e.x||i.y!==e.y)&&(this._scaleComputedFrom=i)}_formatDistance(e,s){return this.intlUtils.formatNumber(e,{style:"unit",unit:s,unitDisplay:"short"})}render(){let e=this.viewModel.state==="disabled",s={[$.disabled]:e},o,n;if(!e){let{unit:i,barStyle:u}=this,b=i==="imperial"||i==="dual",_=i==="metric"||i==="dual",h=100,m=i==="dual"?"line":u;if(b){let l=this.viewModel.getScaleBarProperties(h,"imperial");l&&(n=m==="ruler"?this._renderRuler(l):this._renderLine(l,"bottom"))}if(_){let l=this.viewModel.getScaleBarProperties(h,"metric");l&&(o=m==="ruler"?this._renderRuler(l):this._renderLine(l,"top"))}}return c`<div class=${a(d(t.base,$.widget,s))} ${x(i=>i?this._handleRootCreateOrUpdate():void 0)}>${o}${n}</div>`}_renderRuler(e){let{length:s,unit:o,value:n}=e,i=Math.round(s),u=this._formatDistance(n,o);return c`<div class=${a(d(t.barContainer,t.rulerBarContainer))}><div class=${a(t.ruler)} style=${v({width:`${i}px`})}><div class=${a(t.rulerBlock)}></div><div class=${a(t.rulerBlock)}></div><div class=${a(t.rulerBlock)}></div><div class=${a(t.rulerBlock)}></div></div><div class=${a(d(t.labelContainer,t.rulerLabelContainer))}><div class=${a(t.label)}>0</div><div class=${a(t.label)}>${u}</div></div></div>`}_renderLine(e,s){let{length:o,unit:n,value:i}=e,u=Math.round(o),b=this._formatDistance(i,n),_={[t.topLabelContainer]:s==="top",[t.bottomLabelContainer]:s==="bottom"},h=c`<div class=${a(d(t.labelContainer,t.lineLabelContainer,_))}><div class=${a(t.label)}>${b}</div></div>`,m={[t.topLine]:s==="top",[t.bottomLine]:s==="bottom"},l=c`<div class=${a(d(t.line,m))} style=${v({width:`${u}px`})}></div>`;return c`<div class=${a(d(t.barContainer,t.lineBarContainer))}>${[l,h]}</div>`}};L("arcgis-scale-bar",f);export{f as ArcgisScaleBar};
6
+ import{b as x}from"./FVFH5V4K.js";import{a as $}from"./IZYKFXP5.js";import{a as D,b as S}from"./5EP74C7X.js";import"./QZU4BCAM.js";import{T as B,ja as U,ka as M,ma as R}from"./Z6LBL5EZ.js";import"./54YVOIIP.js";import{B as y,C as a,D as v,G as L,a as d,m as p,q as c,y as w,z as g}from"./EEZJ56IS.js";var r="esri-scale-bar",t={base:r,labelContainer:`${r}__label-container`,rulerLabelContainer:`${r}__label-container--ruler`,lineLabelContainer:`${r}__label-container--line`,topLabelContainer:`${r}__label-container--top`,bottomLabelContainer:`${r}__label-container--bottom`,label:`${r}__label`,line:`${r}__line`,topLine:`${r}__line--top`,bottomLine:`${r}__line--bottom`,ruler:`${r}__ruler`,rulerBlock:`${r}__ruler-block`,barContainer:`${r}__bar-container`,rulerBarContainer:`${r}__bar-container--ruler`,lineBarContainer:`${r}__bar-container--line`};function k(C=0,e=0){return{x:C,y:e}}var O=S(B),f=class extends y{constructor(){super(...arguments),this.intlUtils=p(M),this.messages=D(),this.reactiveUtils=p(U),this._scaleComputedFrom=k(),this.unitUtils=p(R),this.viewModel=O(this),this.autoDestroyDisabled=!1,this.barStyle="line",this.icon="actual-size",this.position="top-left",this.arcgisReady=w()}static{this.properties={autoDestroyDisabled:5,barStyle:1,icon:3,label:1,messageOverrides:0,position:3,referenceElement:1,unit:1}}static{this.shadowRootOptions=g}get unit(){return this._unit??this._defaultUnit}set unit(e){this._unit=e}async destroy(){await this.manager.destroy()}updated(){this._handleRootCreateOrUpdate()}loaded(){this._defaultUnit=this.unitUtils.getDefaultUnitForView(this.viewModel.view),this.manager.onLifecycle(()=>this.reactiveUtils.watch(()=>{let e=this.viewModel.view;return[e?.stationary,e?.center,e?.scale,e?.zoom]},([e])=>{e&&this.requestUpdate()}))}_handleRootCreateOrUpdate(){if(!this.viewModel)return;let e=this._scaleComputedFrom,s=this.el.getBoundingClientRect(),o=s.left+window.pageXOffset,n=s.top+window.pageYOffset,i=k(o,n);(i.x!==e.x||i.y!==e.y)&&(this._scaleComputedFrom=i)}_formatDistance(e,s){return this.intlUtils.formatNumber(e,{style:"unit",unit:s,unitDisplay:"short"})}render(){let e=this.viewModel.state==="disabled",s={[$.disabled]:e},o,n;if(!e){let{unit:i,barStyle:u}=this,b=i==="imperial"||i==="dual",_=i==="metric"||i==="dual",h=100,m=i==="dual"?"line":u;if(b){let l=this.viewModel.getScaleBarProperties(h,"imperial");l&&(n=m==="ruler"?this._renderRuler(l):this._renderLine(l,"bottom"))}if(_){let l=this.viewModel.getScaleBarProperties(h,"metric");l&&(o=m==="ruler"?this._renderRuler(l):this._renderLine(l,"top"))}}return c`<div class=${a(d(t.base,$.widget,s))} ${x(i=>i?this._handleRootCreateOrUpdate():void 0)}>${o}${n}</div>`}_renderRuler(e){let{length:s,unit:o,value:n}=e,i=Math.round(s),u=this._formatDistance(n,o);return c`<div class=${a(d(t.barContainer,t.rulerBarContainer))}><div class=${a(t.ruler)} style=${v({width:`${i}px`})}><div class=${a(t.rulerBlock)}></div><div class=${a(t.rulerBlock)}></div><div class=${a(t.rulerBlock)}></div><div class=${a(t.rulerBlock)}></div></div><div class=${a(d(t.labelContainer,t.rulerLabelContainer))}><div class=${a(t.label)}>0</div><div class=${a(t.label)}>${u}</div></div></div>`}_renderLine(e,s){let{length:o,unit:n,value:i}=e,u=Math.round(o),b=this._formatDistance(i,n),_={[t.topLabelContainer]:s==="top",[t.bottomLabelContainer]:s==="bottom"},h=c`<div class=${a(d(t.labelContainer,t.lineLabelContainer,_))}><div class=${a(t.label)}>${b}</div></div>`,m={[t.topLine]:s==="top",[t.bottomLine]:s==="bottom"},l=c`<div class=${a(d(t.line,m))} style=${v({width:`${u}px`})}></div>`;return c`<div class=${a(d(t.barContainer,t.lineBarContainer))}>${[l,h]}</div>`}};L("arcgis-scale-bar",f);export{f as ArcgisScaleBar};
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.32/esri/copyright.txt for details.
4
- * v4.32.0-next.7
4
+ * v4.32.0-next.8
5
5
  */
6
- import{a as n}from"./TCHQQ6YP.js";import{d as e}from"./ZIVFGNA3.js";import{S as h}from"./XDSXW32X.js";import"./EF72I5WZ.js";import{B as o,G as l,o as s,y as a,z as r}from"./ZIY4VYAM.js";var d=n(h),i=class extends o{constructor(){super(...arguments),this.widget=d(this),this.viewModel=this.widget.viewModel,this.allowedFormats=this.widget.allowedFormats,this.allowedLayouts=this.widget.allowedLayouts,this.autoDestroyDisabled=!1,this.exportedLinks=this.widget.exportedLinks,this.extraParameters=this.widget.extraParameters,this.headingLevel=this.widget.headingLevel,this.icon=this.widget.icon,this.includeDefaultTemplatesDisabled=this.widget.includeDefaultTemplates,this.label=this.widget.label,this.portal=this.widget.portal,this.position="bottom-left",this.printServiceUrl=this.widget.printServiceUrl,this.showPrintAreaEnabled=this.widget.showPrintAreaEnabled,this.state=this.viewModel.state,this.templateCustomTextElements=this.widget.templateCustomTextElements,this.templateOptions=this.widget.templateOptions,this.arcgisComplete=e(()=>this.widget,"complete"),this.arcgisPropertyChange=s()("state"),this.arcgisReady=a(),this.arcgisSubmit=e(()=>this.widget,"submit")}static{this.properties={allowedFormats:[1,{converter:t=>typeof t=="string"&&t!=="all"?t.split(","):t}],allowedLayouts:[1,{converter:t=>typeof t=="string"&&t!=="all"?t.split(","):t}],autoDestroyDisabled:5,exportedLinks:0,extraParameters:0,headingLevel:9,icon:1,includeDefaultTemplatesDisabled:5,label:1,portal:0,position:1,printServiceUrl:1,referenceElement:1,showPrintAreaEnabled:7,state:3,templateCustomTextElements:0,templateOptions:0}}static{this.shadowRootOptions=r}async destroy(){await this.manager.destroy()}};l("arcgis-print",i);export{i as ArcgisPrint};
6
+ import{a as n}from"./QR3XASHQ.js";import{d as e}from"./QZU4BCAM.js";import{S as h}from"./Z6LBL5EZ.js";import"./54YVOIIP.js";import{B as o,G as l,o as s,y as a,z as r}from"./EEZJ56IS.js";var d=n(h),i=class extends o{constructor(){super(...arguments),this.widget=d(this),this.viewModel=this.widget.viewModel,this.allowedFormats=this.widget.allowedFormats,this.allowedLayouts=this.widget.allowedLayouts,this.autoDestroyDisabled=!1,this.exportedLinks=this.widget.exportedLinks,this.extraParameters=this.widget.extraParameters,this.headingLevel=this.widget.headingLevel,this.icon=this.widget.icon,this.includeDefaultTemplatesDisabled=this.widget.includeDefaultTemplates,this.label=this.widget.label,this.portal=this.widget.portal,this.position="bottom-left",this.printServiceUrl=this.widget.printServiceUrl,this.showPrintAreaEnabled=this.widget.showPrintAreaEnabled,this.state=this.viewModel.state,this.templateCustomTextElements=this.widget.templateCustomTextElements,this.templateOptions=this.widget.templateOptions,this.arcgisComplete=e(()=>this.widget,"complete"),this.arcgisPropertyChange=s()("state"),this.arcgisReady=a(),this.arcgisSubmit=e(()=>this.widget,"submit")}static{this.properties={allowedFormats:[1,{converter:t=>typeof t=="string"&&t!=="all"?t.split(","):t}],allowedLayouts:[1,{converter:t=>typeof t=="string"&&t!=="all"?t.split(","):t}],autoDestroyDisabled:5,exportedLinks:0,extraParameters:0,headingLevel:9,icon:1,includeDefaultTemplatesDisabled:5,label:1,portal:0,position:1,printServiceUrl:1,referenceElement:1,showPrintAreaEnabled:7,state:3,templateCustomTextElements:0,templateOptions:0}}static{this.shadowRootOptions=r}async destroy(){await this.manager.destroy()}};l("arcgis-print",i);export{i as ArcgisPrint};
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.32/esri/copyright.txt for details.
4
- * v4.32.0-next.7
4
+ * v4.32.0-next.8
5
5
  */
6
- import{a as d}from"./TCHQQ6YP.js";import"./ZIVFGNA3.js";import{W as h}from"./XDSXW32X.js";import"./EF72I5WZ.js";import{B as o,G as a,o as t,y as e,z as s}from"./ZIY4VYAM.js";var r=d(h),i=class extends o{constructor(){super(...arguments),this.widget=r(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=t()("state"),this.arcgisReady=e()}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=s}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()}};a("arcgis-shadow-cast",i);export{i as ArcgisShadowCast};
6
+ import{a as d}from"./QR3XASHQ.js";import"./QZU4BCAM.js";import{W as h}from"./Z6LBL5EZ.js";import"./54YVOIIP.js";import{B as o,G as a,o as t,y as e,z as s}from"./EEZJ56IS.js";var r=d(h),i=class extends o{constructor(){super(...arguments),this.widget=r(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=t()("state"),this.arcgisReady=e()}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=s}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()}};a("arcgis-shadow-cast",i);export{i as ArcgisShadowCast};
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.32/esri/copyright.txt for details.
4
- * v4.32.0-next.7
4
+ * v4.32.0-next.8
5
5
  */
6
- import{a as l}from"./TCHQQ6YP.js";import{d}from"./ZIVFGNA3.js";import{aa as n}from"./XDSXW32X.js";import"./EF72I5WZ.js";import{B as a,G as h,o as e,y as s,z as o}from"./ZIY4VYAM.js";var r=l(n),i=class extends a{constructor(){super(...arguments),this.widget=r(this),this.viewModel=this.widget.viewModel,this.actions=this.widget.actions,this.autoDestroyDisabled=!1,this.disabled=this.widget.disabled,this.effectiveStops=this.widget.effectiveStops,this.fullTimeExtent=this.widget.fullTimeExtent,this.icon=this.widget.icon,this.label=this.widget.label,this.layout=this.widget.layout,this.loop=this.widget.loop,this.mode=this.widget.mode,this.playRate=this.widget.playRate,this.position="bottom-left",this.state=this.viewModel.state,this.stops=this.widget.stops,this.tickConfigs=this.widget.tickConfigs,this.timeExtent=this.widget.timeExtent,this.timeVisible=this.widget.timeVisible,this.timeZone=this.widget.timeZone,this.arcgisPropertyChange=e()("effectiveStops","fullTimeExtent","timeExtent","state"),this.arcgisReady=s(),this.arcgisTriggerAction=d(()=>this.widget,"triggerAction")}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=o}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)}};h("arcgis-time-slider",i);export{i as ArcgisTimeSlider};
6
+ import{a as l}from"./QR3XASHQ.js";import{d}from"./QZU4BCAM.js";import{aa as n}from"./Z6LBL5EZ.js";import"./54YVOIIP.js";import{B as a,G as h,o as e,y as s,z as o}from"./EEZJ56IS.js";var r=l(n),i=class extends a{constructor(){super(...arguments),this.widget=r(this),this.viewModel=this.widget.viewModel,this.actions=this.widget.actions,this.autoDestroyDisabled=!1,this.disabled=this.widget.disabled,this.effectiveStops=this.widget.effectiveStops,this.fullTimeExtent=this.widget.fullTimeExtent,this.icon=this.widget.icon,this.label=this.widget.label,this.layout=this.widget.layout,this.loop=this.widget.loop,this.mode=this.widget.mode,this.playRate=this.widget.playRate,this.position="bottom-left",this.state=this.viewModel.state,this.stops=this.widget.stops,this.tickConfigs=this.widget.tickConfigs,this.timeExtent=this.widget.timeExtent,this.timeVisible=this.widget.timeVisible,this.timeZone=this.widget.timeZone,this.arcgisPropertyChange=e()("effectiveStops","fullTimeExtent","timeExtent","state"),this.arcgisReady=s(),this.arcgisTriggerAction=d(()=>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=o}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)}};h("arcgis-time-slider",i);export{i as ArcgisTimeSlider};
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.32/esri/copyright.txt for details.
4
- * v4.32.0-next.7
4
+ * v4.32.0-next.8
5
5
  */
6
- import{a as i}from"./4ZMBY532.js";import{a as g,b as u}from"./LX73HFSX.js";import"./ZIVFGNA3.js";import{r as p}from"./XDSXW32X.js";import"./EF72I5WZ.js";import{B as m,C as e,D as d,E as s,G as h,a as r,o as n,q as c,y as l}from"./ZIY4VYAM.js";var f="esri-compass",$={base:f,iconContainer:`${f}__icon-container`},w=u(p),a=class extends m{constructor(){super(...arguments),this.messages=g(),this.viewModel=w(this),this.autoDestroyDisabled=!1,this.orientation=this.viewModel.orientation,this.position="top-left",this.state=this.viewModel.state,this.arcgisPropertyChange=n()("state","orientation"),this.arcgisReady=l()}static{this.properties={autoDestroyDisabled:5,icon:3,label:1,messageOverrides:0,orientation:0,position:3,referenceElement:1,state:3}}get icon(){return this._icon??(this.state==="rotation"?"arrow-up":"compass-needle")}set icon(t){this._icon=t}async destroy(){await this.manager.destroy()}async reset(){return this.viewModel.reset()}_reset(){this.viewModel.reset()}render(){let{messages:t,icon:v}=this;return c`<div class=${e(r($.base,i.widget))}><calcite-button class=${e(i.widgetButton)} .disabled=${this.state==="disabled"} kind=neutral .label=${t.reset} @click=${this._reset} round scale=s title=${t.reset??s}><div aria-hidden=true class=${e($.iconContainer)} title=${t.reset??s}><calcite-icon .icon=${v} style=${d(y(this.orientation))}></calcite-icon></div></calcite-button></div>`}},y=o=>({transform:`rotateZ(${o.z}deg)`});h("arcgis-compass",a);export{a as ArcgisCompass};
6
+ import{a as i}from"./IZYKFXP5.js";import{a as g,b as u}from"./5EP74C7X.js";import"./QZU4BCAM.js";import{r as p}from"./Z6LBL5EZ.js";import"./54YVOIIP.js";import{B as m,C as e,D as d,E as s,G as h,a as r,o as n,q as c,y as l}from"./EEZJ56IS.js";var f="esri-compass",$={base:f,iconContainer:`${f}__icon-container`},w=u(p),a=class extends m{constructor(){super(...arguments),this.messages=g(),this.viewModel=w(this),this.autoDestroyDisabled=!1,this.orientation=this.viewModel.orientation,this.position="top-left",this.state=this.viewModel.state,this.arcgisPropertyChange=n()("state","orientation"),this.arcgisReady=l()}static{this.properties={autoDestroyDisabled:5,icon:3,label:1,messageOverrides:0,orientation:0,position:3,referenceElement:1,state:3}}get icon(){return this._icon??(this.state==="rotation"?"arrow-up":"compass-needle")}set icon(t){this._icon=t}async destroy(){await this.manager.destroy()}async reset(){return this.viewModel.reset()}_reset(){this.viewModel.reset()}render(){let{messages:t,icon:v}=this;return c`<div class=${e(r($.base,i.widget))}><calcite-button class=${e(i.widgetButton)} .disabled=${this.state==="disabled"} kind=neutral .label=${t.reset} @click=${this._reset} round scale=s title=${t.reset??s}><div aria-hidden=true class=${e($.iconContainer)} title=${t.reset??s}><calcite-icon .icon=${v} style=${d(y(this.orientation))}></calcite-icon></div></calcite-button></div>`}},y=o=>({transform:`rotateZ(${o.z}deg)`});h("arcgis-compass",a);export{a as ArcgisCompass};
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.32/esri/copyright.txt for details.
4
- * v4.32.0-next.7
4
+ * v4.32.0-next.8
5
5
  */
6
- import{a as n}from"./TCHQQ6YP.js";import"./ZIVFGNA3.js";import{i as r}from"./XDSXW32X.js";import"./EF72I5WZ.js";import{B as o,G as a,o as s,y as e,z as i}from"./ZIY4VYAM.js";var h=n(r),t=class extends o{constructor(){super(...arguments),this.widget=h(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.icon=this.widget.icon,this.label=this.widget.label,this.position="bottom-left",this.state=this.viewModel.state,this.unit=this.widget.unit,this.unitOptions=this.widget.unitOptions,this.arcgisPropertyChange=s()("state"),this.arcgisReady=e()}static{this.properties={autoDestroyDisabled:5,icon:1,label:1,position:1,referenceElement:1,state:3,unit:1,unitOptions:0}}static{this.shadowRootOptions=i}async destroy(){await this.manager.destroy()}};a("arcgis-area-measurement-2d",t);export{t as ArcgisAreaMeasurement2d};
6
+ import{a as n}from"./QR3XASHQ.js";import"./QZU4BCAM.js";import{i as r}from"./Z6LBL5EZ.js";import"./54YVOIIP.js";import{B as o,G as a,o as s,y as e,z as i}from"./EEZJ56IS.js";var h=n(r),t=class extends o{constructor(){super(...arguments),this.widget=h(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.icon=this.widget.icon,this.label=this.widget.label,this.position="bottom-left",this.state=this.viewModel.state,this.unit=this.widget.unit,this.unitOptions=this.widget.unitOptions,this.arcgisPropertyChange=s()("state"),this.arcgisReady=e()}static{this.properties={autoDestroyDisabled:5,icon:1,label:1,position:1,referenceElement:1,state:3,unit:1,unitOptions:0}}static{this.shadowRootOptions=i}async destroy(){await this.manager.destroy()}};a("arcgis-area-measurement-2d",t);export{t as ArcgisAreaMeasurement2d};