@arcgis/map-components 4.32.0-next.16 → 4.32.0-next.17

Sign up to get free protection for your applications and to get access to all the features.
Files changed (146) hide show
  1. package/dist/arcgis-map-components/{3AZ6NFON.js → 25V6UTQJ.js} +2 -2
  2. package/dist/arcgis-map-components/{VWQCN3O2.js → 2VJZJ5WQ.js} +2 -2
  3. package/dist/arcgis-map-components/{UBU2U6CM.js → 3MFNVGBL.js} +2 -2
  4. package/dist/arcgis-map-components/{UPGFD5BC.js → 3RONGNRS.js} +2 -2
  5. package/dist/arcgis-map-components/{2ZHISQJN.js → 4NVLQSVJ.js} +1 -1
  6. package/dist/arcgis-map-components/{SV55VUUT.js → 4VBK4SWX.js} +2 -2
  7. package/dist/arcgis-map-components/{REA5VY4P.js → 4YXV4VNH.js} +2 -2
  8. package/dist/arcgis-map-components/{KKNFQCWI.js → 5DEJASG4.js} +2 -2
  9. package/dist/arcgis-map-components/{PBWEJMHW.js → 6A22MGYY.js} +2 -2
  10. package/dist/arcgis-map-components/{WWMFX5BO.js → 6HV5JKRC.js} +2 -2
  11. package/dist/arcgis-map-components/{ZJD6HG35.js → 7L7IE75K.js} +1 -1
  12. package/dist/arcgis-map-components/{6WXLVJT5.js → AIH5725O.js} +2 -2
  13. package/dist/arcgis-map-components/{XFM6PCVT.js → AMD4AVOM.js} +2 -2
  14. package/dist/arcgis-map-components/{XNBJ7NNW.js → AODMZX3U.js} +2 -2
  15. package/dist/arcgis-map-components/{PSJGBVMQ.js → CA27NNYW.js} +2 -2
  16. package/dist/arcgis-map-components/{WKFO5HNK.js → CN5DWAUR.js} +2 -2
  17. package/dist/arcgis-map-components/{WNP23KL4.js → CQF3KSWN.js} +2 -2
  18. package/dist/arcgis-map-components/{BHCHZGF7.js → CWZWRQNK.js} +2 -2
  19. package/dist/arcgis-map-components/{BKQDQDEF.js → DDDRITYA.js} +2 -2
  20. package/dist/arcgis-map-components/{XXPIG53C.js → DZV54DGM.js} +2 -2
  21. package/dist/arcgis-map-components/{5M63L7YY.js → E4GLRGON.js} +2 -2
  22. package/dist/arcgis-map-components/{XQSXJYHQ.js → EVGAWY7L.js} +2 -2
  23. package/dist/arcgis-map-components/{4HMYOX7P.js → FCQHRD6S.js} +2 -2
  24. package/dist/arcgis-map-components/{AVJZ3NJX.js → FIUOOJH3.js} +2 -2
  25. package/dist/arcgis-map-components/{I7X7PQ5B.js → GK7T3EXK.js} +2 -2
  26. package/dist/arcgis-map-components/{MISEJFJ7.js → GQHP7ZRP.js} +1 -1
  27. package/dist/arcgis-map-components/{6G3EBE53.js → I2HAPRN6.js} +2 -2
  28. package/dist/arcgis-map-components/{L7QM54ST.js → J66W2Q5G.js} +2 -2
  29. package/dist/arcgis-map-components/{HKG357IZ.js → K74W7E4N.js} +2 -2
  30. package/dist/arcgis-map-components/{TDMFAMWP.js → KPO5O5DC.js} +2 -2
  31. package/dist/arcgis-map-components/{QUSBQ4OK.js → KVGUCHOG.js} +2 -2
  32. package/dist/arcgis-map-components/{WWUQ5FWW.js → L45SOIFK.js} +2 -2
  33. package/dist/arcgis-map-components/{N36JFLPY.js → MJF3SIIC.js} +2 -2
  34. package/dist/arcgis-map-components/{5MU44G7R.js → MPQBGDVZ.js} +2 -2
  35. package/dist/arcgis-map-components/{XDAHKJZ7.js → MQ7MCQ4G.js} +2 -2
  36. package/dist/arcgis-map-components/{35P4ZVFR.js → MV54VPXE.js} +2 -2
  37. package/dist/arcgis-map-components/{VWG4BPAP.js → N4VM4LRK.js} +2 -2
  38. package/dist/arcgis-map-components/{WBWZXLRU.js → NC5G6FHE.js} +2 -2
  39. package/dist/arcgis-map-components/{43V7URIL.js → NDS4EMFM.js} +2 -2
  40. package/dist/arcgis-map-components/{BU7UFQQB.js → OEBOOAS6.js} +1 -1
  41. package/dist/arcgis-map-components/{D36GFJS5.js → ORCM5ZPQ.js} +2 -2
  42. package/dist/arcgis-map-components/{45BEOPC6.js → P7XHBGJQ.js} +2 -2
  43. package/dist/arcgis-map-components/{4C3FYHS4.js → PNG6FYCV.js} +2 -2
  44. package/dist/arcgis-map-components/{TLEY3SYK.js → PVU34ATK.js} +2 -2
  45. package/dist/arcgis-map-components/{CZAWBXTJ.js → QDPKDC4S.js} +2 -2
  46. package/dist/arcgis-map-components/{7PC7FXI3.js → QGQ6XHOM.js} +2 -2
  47. package/dist/arcgis-map-components/{U5Y2JTBY.js → QJYA2ABX.js} +2 -2
  48. package/dist/arcgis-map-components/{2YR6M353.js → QLVVKENF.js} +2 -2
  49. package/dist/arcgis-map-components/{A4RLVC2A.js → R76EUCLX.js} +2 -2
  50. package/dist/arcgis-map-components/{RAFPWR72.js → R7SMLFH3.js} +2 -2
  51. package/dist/arcgis-map-components/{X5ZIU6WP.js → RXDYUT7Y.js} +2 -2
  52. package/dist/arcgis-map-components/{IGATJWOV.js → S3DH2HRI.js} +2 -2
  53. package/dist/arcgis-map-components/{SUMXURKO.js → SA3POLPQ.js} +2 -2
  54. package/dist/arcgis-map-components/{W7BWBTPD.js → SVISMHOU.js} +2 -2
  55. package/dist/arcgis-map-components/{MP5E6DEV.js → T3OSN5E2.js} +2 -2
  56. package/dist/arcgis-map-components/{UYZ7ALKH.js → TLJWI7N2.js} +2 -2
  57. package/dist/arcgis-map-components/{4XOD7QC3.js → TSDUK5BN.js} +2 -2
  58. package/dist/arcgis-map-components/{6EQFGE6N.js → TTXSW5PG.js} +2 -2
  59. package/dist/arcgis-map-components/{EYPM5JFM.js → TYXXKHYH.js} +2 -2
  60. package/dist/arcgis-map-components/{B7H7WD4G.js → VKLAKB6P.js} +2 -2
  61. package/dist/arcgis-map-components/{NILBBRM5.js → VLRCSWMX.js} +2 -2
  62. package/dist/arcgis-map-components/{DYXQQCAT.js → VY53I3CJ.js} +2 -2
  63. package/dist/arcgis-map-components/{NHABUMLT.js → XKIAQ77I.js} +2 -2
  64. package/dist/arcgis-map-components/{O646RL65.js → XM5Y7PL2.js} +2 -2
  65. package/dist/arcgis-map-components/{TOBLLYA5.js → Y333JIBC.js} +2 -2
  66. package/dist/arcgis-map-components/{CI45AMD2.js → YMVS4RQD.js} +2 -2
  67. package/dist/arcgis-map-components/{HE276VDN.js → YPANBVS2.js} +2 -2
  68. package/dist/arcgis-map-components/{3ZAO6TTP.js → Z3N5HRFP.js} +2 -2
  69. package/dist/arcgis-map-components/{GAO4PBLB.js → ZHORPZAY.js} +2 -2
  70. package/dist/arcgis-map-components/{EXDFC7VV.js → ZL74XVER.js} +2 -2
  71. package/dist/arcgis-map-components/{BJFVHRWQ.js → ZXEIMLHU.js} +2 -2
  72. package/dist/arcgis-map-components/arcgis-map-components.esm.js +2 -2
  73. package/dist/chunks/component-utils.js +1 -1
  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 +1 -1
  84. package/dist/components/arcgis-basemap-toggle/customElement.js +1 -1
  85. package/dist/components/arcgis-bookmarks/customElement.js +1 -1
  86. package/dist/components/arcgis-building-explorer/customElement.js +1 -1
  87. package/dist/components/arcgis-catalog-layer-list/customElement.js +1 -1
  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 +1 -1
  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 +1 -1
  100. package/dist/components/arcgis-feature-table/customElement.js +1 -1
  101. package/dist/components/arcgis-feature-templates/customElement.js +1 -1
  102. package/dist/components/arcgis-features/customElement.js +1 -1
  103. package/dist/components/arcgis-floor-filter/customElement.js +1 -1
  104. package/dist/components/arcgis-fullscreen/customElement.js +1 -1
  105. package/dist/components/arcgis-histogram/customElement.js +1 -1
  106. package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
  107. package/dist/components/arcgis-home/customElement.js +1 -1
  108. package/dist/components/arcgis-layer-list/customElement.js +1 -1
  109. package/dist/components/arcgis-legend/customElement.js +1 -1
  110. package/dist/components/arcgis-line-of-sight/customElement.js +1 -1
  111. package/dist/components/arcgis-locate/customElement.js +1 -1
  112. package/dist/components/arcgis-map/customElement.js +1 -1
  113. package/dist/components/arcgis-measurement/customElement.js +1 -1
  114. package/dist/components/arcgis-navigation-toggle/customElement.js +1 -1
  115. package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +1 -1
  116. package/dist/components/arcgis-placement/customElement.js +1 -1
  117. package/dist/components/arcgis-print/customElement.js +1 -1
  118. package/dist/components/arcgis-scale-bar/customElement.js +1 -1
  119. package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
  120. package/dist/components/arcgis-scene/customElement.js +1 -1
  121. package/dist/components/arcgis-search/customElement.js +1 -1
  122. package/dist/components/arcgis-shadow-cast/customElement.js +1 -1
  123. package/dist/components/arcgis-sketch/customElement.js +1 -1
  124. package/dist/components/arcgis-slice/customElement.js +1 -1
  125. package/dist/components/arcgis-slider/customElement.js +1 -1
  126. package/dist/components/arcgis-swipe/customElement.js +1 -1
  127. package/dist/components/arcgis-table-list/customElement.js +1 -1
  128. package/dist/components/arcgis-time-slider/customElement.js +1 -1
  129. package/dist/components/arcgis-track/customElement.js +1 -1
  130. package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
  131. package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
  132. package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -1
  133. package/dist/components/arcgis-value-picker/customElement.js +1 -1
  134. package/dist/components/arcgis-version-management/customElement.js +1 -1
  135. package/dist/components/arcgis-version-management-service-item/customElement.js +1 -1
  136. package/dist/components/arcgis-version-management-version-item/customElement.js +1 -1
  137. package/dist/components/arcgis-version-management-version-list/customElement.js +1 -1
  138. package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
  139. package/dist/components/arcgis-weather/customElement.js +1 -1
  140. package/dist/components/arcgis-zoom/customElement.js +1 -1
  141. package/dist/docs/api.json +2 -2
  142. package/dist/docs/docs.json +2 -2
  143. package/dist/docs/web-types.json +1 -1
  144. package/dist/index.js +1 -1
  145. package/dist/loader.js +1 -1
  146. package/package.json +5 -5
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.32/esri/copyright.txt for details.
4
- * v4.32.0-next.16
4
+ * v4.32.0-next.17
5
5
  */
6
- import{a as m}from"./B7H7WD4G.js";import{d as n}from"./TOBLLYA5.js";import{$ as r}from"./MISEJFJ7.js";import"./ZJD6HG35.js";import{B as a,G as o,o as e,p as i,y as s,z as l}from"./BU7UFQQB.js";var d=i`arcgis-table-list{display:block}`,h=m(r),t=class extends a{constructor(){super(...arguments),this.widget=h(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.collapsed=this.widget.collapsed,this.dragEnabled=this.widget.dragEnabled,this.filterPlaceholder=this.widget.filterPlaceholder,this.filterText=this.widget.filterText,this.icon=this.widget.icon,this.label=this.widget.label,this.listItemCreatedFunction=this.widget.listItemCreatedFunction,this.minDragEnabledItems=this.widget.minDragEnabledItems,this.minFilterItems=this.widget.minFilterItems,this.position="bottom-left",this.selectedItems=this.widget.selectedItems,this.selectionMode=this.widget.selectionMode,this.state=this.viewModel.state,this.visibleElementsCloseButton=!1,this.visibleElementsCollapseButton=!1,this.visibleElementsErrors=!1,this.visibleElementsFilter=!1,this.visibleElementsFlow=!0,this.visibleElementsHeading=!1,this.visibleElementsStatusIndicators=!0,this.visibleElementsTemporaryTableIndicators=!1,this.arcgisPropertyChange=e()("state"),this.arcgisReady=s(),this.arcgisTriggerAction=n(()=>this.widget,"trigger-action")}static{this.properties={autoDestroyDisabled:5,collapsed:7,dragEnabled:5,filterPlaceholder:1,filterText:1,icon:1,label:1,listItemCreatedFunction:0,minDragEnabledItems:9,minFilterItems:9,position:1,referenceElement:1,selectedItems:0,selectionMode:1,state:3,tableItems:32,visibleElementsCloseButton:5,visibleElementsCollapseButton:5,visibleElementsErrors:5,visibleElementsFilter:5,visibleElementsFlow:5,visibleElementsHeading:5,visibleElementsStatusIndicators:5,visibleElementsTemporaryTableIndicators:5}}static{this.shadowRootOptions=l}static{this.styles=d}get tableItems(){return this.widget.tableItems}async destroy(){await this.manager.destroy()}};o("arcgis-table-list",t);export{t as ArcgisTableList};
6
+ import{a as m}from"./VKLAKB6P.js";import{d as n}from"./Y333JIBC.js";import{$ as r}from"./GQHP7ZRP.js";import"./7L7IE75K.js";import{B as a,G as o,o as e,p as i,y as s,z as l}from"./OEBOOAS6.js";var d=i`arcgis-table-list{display:block}`,h=m(r),t=class extends a{constructor(){super(...arguments),this.widget=h(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.collapsed=this.widget.collapsed,this.dragEnabled=this.widget.dragEnabled,this.filterPlaceholder=this.widget.filterPlaceholder,this.filterText=this.widget.filterText,this.icon=this.widget.icon,this.label=this.widget.label,this.listItemCreatedFunction=this.widget.listItemCreatedFunction,this.minDragEnabledItems=this.widget.minDragEnabledItems,this.minFilterItems=this.widget.minFilterItems,this.position="bottom-left",this.selectedItems=this.widget.selectedItems,this.selectionMode=this.widget.selectionMode,this.state=this.viewModel.state,this.visibleElementsCloseButton=!1,this.visibleElementsCollapseButton=!1,this.visibleElementsErrors=!1,this.visibleElementsFilter=!1,this.visibleElementsFlow=!0,this.visibleElementsHeading=!1,this.visibleElementsStatusIndicators=!0,this.visibleElementsTemporaryTableIndicators=!1,this.arcgisPropertyChange=e()("state"),this.arcgisReady=s(),this.arcgisTriggerAction=n(()=>this.widget,"trigger-action")}static{this.properties={autoDestroyDisabled:5,collapsed:7,dragEnabled:5,filterPlaceholder:1,filterText:1,icon:1,label:1,listItemCreatedFunction:0,minDragEnabledItems:9,minFilterItems:9,position:1,referenceElement:1,selectedItems:0,selectionMode:1,state:3,tableItems:32,visibleElementsCloseButton:5,visibleElementsCollapseButton:5,visibleElementsErrors:5,visibleElementsFilter:5,visibleElementsFlow:5,visibleElementsHeading:5,visibleElementsStatusIndicators:5,visibleElementsTemporaryTableIndicators:5}}static{this.shadowRootOptions=l}static{this.styles=d}get tableItems(){return this.widget.tableItems}async destroy(){await this.manager.destroy()}};o("arcgis-table-list",t);export{t as ArcgisTableList};
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.32/esri/copyright.txt for details.
4
- * v4.32.0-next.16
4
+ * v4.32.0-next.17
5
5
  */
6
- import{B as p,C as L,G as E,q as t,y as n,z as V}from"./BU7UFQQB.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:b,currentVersionIdentifier:l,flowElement:_,hasAdvEditingUte:f,heading:u,isVersionAdministrator:I,isVersioningApiAvailable:w,mode:$,pageSize:x,serviceName:r,serviceUrl:m,state:M,strings:d,versionInfos:a}}=this,{_versionList:s}=this,N=t`<calcite-combobox clear-disabled .label=${r} max-items=5 overlay-positioning=fixed selection-mode=single-persist @calciteComboboxChange=${i=>{let k=i.target,A=a.find(C=>C.versionIdentifier.guid===k.value);this.arcgisManageVersion.emit({actionType:"changeVersion",serviceUrl:m,versionInfo:A})}}>${a?a.map(i=>t`<calcite-combobox-item class=${L($==="dialog"?"":"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>`,v,h;return e&&(v=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:b,hasAdvEditingUte:f,heading:u,isVersionAdministrator:I,isVersioningApiAvailable:w,pageSize:x,serviceName:r,serviceUrl:m,state:M,strings:d,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>${d.headers.manageVersions}</span></calcite-tooltip>`),t`<calcite-block open .heading=${r}>${N}${v}${h}</calcite-block>`}};E("arcgis-version-management-service-item",g);export{g as ArcgisVersionManagementServiceItem};
6
+ import{B as p,C as L,G as E,q as t,y as n,z as V}from"./OEBOOAS6.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:b,currentVersionIdentifier:l,flowElement:_,hasAdvEditingUte:f,heading:u,isVersionAdministrator:I,isVersioningApiAvailable:w,mode:$,pageSize:x,serviceName:r,serviceUrl:m,state:M,strings:d,versionInfos:a}}=this,{_versionList:s}=this,N=t`<calcite-combobox clear-disabled .label=${r} max-items=5 overlay-positioning=fixed selection-mode=single-persist @calciteComboboxChange=${i=>{let k=i.target,A=a.find(C=>C.versionIdentifier.guid===k.value);this.arcgisManageVersion.emit({actionType:"changeVersion",serviceUrl:m,versionInfo:A})}}>${a?a.map(i=>t`<calcite-combobox-item class=${L($==="dialog"?"":"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>`,v,h;return e&&(v=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:b,hasAdvEditingUte:f,heading:u,isVersionAdministrator:I,isVersioningApiAvailable:w,pageSize:x,serviceName:r,serviceUrl:m,state:M,strings:d,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>${d.headers.manageVersions}</span></calcite-tooltip>`),t`<calcite-block open .heading=${r}>${N}${v}${h}</calcite-block>`}};E("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.16
4
+ * v4.32.0-next.17
5
5
  */
6
- import{a as n}from"./B7H7WD4G.js";import{d as h}from"./TOBLLYA5.js";import{m as l}from"./MISEJFJ7.js";import"./ZJD6HG35.js";import{B as r,G as o,o as t,p as i,y as s,z as a}from"./BU7UFQQB.js";var d=i`arcgis-basemap-layer-list{display:block}`,c=n(l),e=class extends r{constructor(){super(...arguments),this.widget=c(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.baseFilterText=this.widget.baseFilterText,this.baseListItemCreatedFunction=this.widget.baseListItemCreatedFunction,this.basemapTitle=this.widget.basemapTitle,this.catalogOptions=this.widget.catalogOptions,this.collapsed=this.widget.collapsed,this.dragEnabled=this.widget.dragEnabled,this.editingTitle=this.widget.editingTitle,this.filterPlaceholder=this.widget.filterPlaceholder,this.headingLevel=this.widget.headingLevel,this.hideBaseLayers=this.widget.visibleElements.baseLayers,this.hideFlow=this.widget.visibleElements.flow,this.hideHeading=this.widget.visibleElements.heading,this.hideReferenceLayers=this.widget.visibleElements.referenceLayers,this.hideStatusIndicators=this.widget.visibleElements.statusIndicators,this.icon=this.widget.icon,this.label=this.widget.label,this.minFilterItems=this.widget.minFilterItems,this.position="bottom-left",this.referenceFilterText=this.widget.referenceFilterText,this.referenceListItemCreatedFunction=this.widget.referenceListItemCreatedFunction,this.selectedItems=this.widget.selectedItems,this.selectionMode=this.widget.selectionMode,this.showCloseButton=this.widget.visibleElements.closeButton,this.showCollapseButton=this.widget.visibleElements.collapseButton,this.showEditTitleButton=this.widget.visibleElements.editTitleButton,this.showErrors=this.widget.visibleElements.errors,this.showFilter=this.widget.visibleElements.filter,this.showTemporaryLayerIndicators=this.widget.visibleElements.temporaryLayerIndicators,this.state=this.viewModel.state,this.visibilityAppearance=this.widget.visibilityAppearance,this.arcgisPropertyChange=t()("state"),this.arcgisReady=s(),this.arcgisTriggerAction=h(()=>this.widget,"trigger-action")}static{this.properties={autoDestroyDisabled:5,baseFilterText:1,baseItems:32,baseListItemCreatedFunction:0,basemapTitle:1,catalogLayerList:32,catalogOptions:0,collapsed:7,dragEnabled:5,editingTitle:5,filterPlaceholder:1,headingLevel:9,hideBaseLayers:5,hideFlow:5,hideHeading:5,hideReferenceLayers:5,hideStatusIndicators:5,icon:1,label:1,minFilterItems:9,position:1,referenceElement:1,referenceFilterText:1,referenceItems:32,referenceListItemCreatedFunction:0,selectedItems:0,selectionMode:1,showCloseButton:5,showCollapseButton:5,showEditTitleButton:5,showErrors:5,showFilter:5,showTemporaryLayerIndicators:5,state:3,visibilityAppearance:1}}static{this.shadowRootOptions=a}static{this.styles=d}get baseItems(){return this.widget.baseItems}get catalogLayerList(){return this.widget.catalogLayerList}get referenceItems(){return this.widget.referenceItems}async destroy(){await this.manager.destroy()}};o("arcgis-basemap-layer-list",e);export{e as ArcgisBasemapLayerList};
6
+ import{a as n}from"./VKLAKB6P.js";import{d as h}from"./Y333JIBC.js";import{m as l}from"./GQHP7ZRP.js";import"./7L7IE75K.js";import{B as r,G as o,o as t,p as i,y as s,z as a}from"./OEBOOAS6.js";var d=i`arcgis-basemap-layer-list{display:block}`,c=n(l),e=class extends r{constructor(){super(...arguments),this.widget=c(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.baseFilterText=this.widget.baseFilterText,this.baseListItemCreatedFunction=this.widget.baseListItemCreatedFunction,this.basemapTitle=this.widget.basemapTitle,this.catalogOptions=this.widget.catalogOptions,this.collapsed=this.widget.collapsed,this.dragEnabled=this.widget.dragEnabled,this.editingTitle=this.widget.editingTitle,this.filterPlaceholder=this.widget.filterPlaceholder,this.headingLevel=this.widget.headingLevel,this.hideBaseLayers=this.widget.visibleElements.baseLayers,this.hideFlow=this.widget.visibleElements.flow,this.hideHeading=this.widget.visibleElements.heading,this.hideReferenceLayers=this.widget.visibleElements.referenceLayers,this.hideStatusIndicators=this.widget.visibleElements.statusIndicators,this.icon=this.widget.icon,this.label=this.widget.label,this.minFilterItems=this.widget.minFilterItems,this.position="bottom-left",this.referenceFilterText=this.widget.referenceFilterText,this.referenceListItemCreatedFunction=this.widget.referenceListItemCreatedFunction,this.selectedItems=this.widget.selectedItems,this.selectionMode=this.widget.selectionMode,this.showCloseButton=this.widget.visibleElements.closeButton,this.showCollapseButton=this.widget.visibleElements.collapseButton,this.showEditTitleButton=this.widget.visibleElements.editTitleButton,this.showErrors=this.widget.visibleElements.errors,this.showFilter=this.widget.visibleElements.filter,this.showTemporaryLayerIndicators=this.widget.visibleElements.temporaryLayerIndicators,this.state=this.viewModel.state,this.visibilityAppearance=this.widget.visibilityAppearance,this.arcgisPropertyChange=t()("state"),this.arcgisReady=s(),this.arcgisTriggerAction=h(()=>this.widget,"trigger-action")}static{this.properties={autoDestroyDisabled:5,baseFilterText:1,baseItems:32,baseListItemCreatedFunction:0,basemapTitle:1,catalogLayerList:32,catalogOptions:0,collapsed:7,dragEnabled:5,editingTitle:5,filterPlaceholder:1,headingLevel:9,hideBaseLayers:5,hideFlow:5,hideHeading:5,hideReferenceLayers:5,hideStatusIndicators:5,icon:1,label:1,minFilterItems:9,position:1,referenceElement:1,referenceFilterText:1,referenceItems:32,referenceListItemCreatedFunction:0,selectedItems:0,selectionMode:1,showCloseButton:5,showCollapseButton:5,showEditTitleButton:5,showErrors:5,showFilter:5,showTemporaryLayerIndicators:5,state:3,visibilityAppearance:1}}static{this.shadowRootOptions=a}static{this.styles=d}get baseItems(){return this.widget.baseItems}get catalogLayerList(){return this.widget.catalogLayerList}get referenceItems(){return this.widget.referenceItems}async destroy(){await this.manager.destroy()}};o("arcgis-basemap-layer-list",e);export{e as ArcgisBasemapLayerList};
@@ -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.16
4
+ * v4.32.0-next.17
5
5
  */
6
- import{a as l}from"./B7H7WD4G.js";import{d as r}from"./TOBLLYA5.js";import{aa as n}from"./MISEJFJ7.js";import"./ZJD6HG35.js";import{B as h,G as d,o as e,p as s,y as o,z as a}from"./BU7UFQQB.js";var m=s`arcgis-time-slider{display:block}`,g=l(n),i=class extends h{constructor(){super(...arguments),this.widget=g(this),this.viewModel=this.widget.viewModel,this.actions=this.widget.actions,this.autoDestroyDisabled=!1,this.disabled=this.widget.disabled,this.effectiveStops=this.widget.effectiveStops,this.fullTimeExtent=this.widget.fullTimeExtent,this.icon=this.widget.icon,this.label=this.widget.label,this.layout=this.widget.layout,this.loop=this.widget.loop,this.mode=this.widget.mode,this.playRate=this.widget.playRate,this.position="bottom-left",this.state=this.viewModel.state,this.stops=this.widget.stops,this.tickConfigs=this.widget.tickConfigs,this.timeExtent=this.widget.timeExtent,this.timeVisible=this.widget.timeVisible,this.timeZone=this.widget.timeZone,this.arcgisPropertyChange=e()("effectiveStops","fullTimeExtent","timeExtent","state"),this.arcgisReady=o(),this.arcgisTriggerAction=r(()=>this.widget,"trigger-action")}static{this.properties={actions:0,autoDestroyDisabled:5,disabled:7,effectiveStops:0,fullTimeExtent:0,icon:1,label:1,layout:1,loop:5,mode:1,playRate:9,position:1,referenceElement:1,state:3,stops:0,tickConfigs:0,timeExtent:0,timeVisible:5,timeZone:1}}static{this.shadowRootOptions=a}static{this.styles=m}async applyTimeSliderSettings(t){Object.assign(this,t)}async destroy(){await this.manager.destroy()}async next(){this.widget?.next()}async play(){this.widget?.play()}async previous(){this.widget?.previous()}async stop(){this.widget?.stop()}async updateWebDocument(t){this.widget?.updateWebDocument(t)}};d("arcgis-time-slider",i);export{i as ArcgisTimeSlider};
6
+ import{a as l}from"./VKLAKB6P.js";import{d as r}from"./Y333JIBC.js";import{aa as n}from"./GQHP7ZRP.js";import"./7L7IE75K.js";import{B as h,G as d,o as e,p as s,y as o,z as a}from"./OEBOOAS6.js";var m=s`arcgis-time-slider{display:block}`,g=l(n),i=class extends h{constructor(){super(...arguments),this.widget=g(this),this.viewModel=this.widget.viewModel,this.actions=this.widget.actions,this.autoDestroyDisabled=!1,this.disabled=this.widget.disabled,this.effectiveStops=this.widget.effectiveStops,this.fullTimeExtent=this.widget.fullTimeExtent,this.icon=this.widget.icon,this.label=this.widget.label,this.layout=this.widget.layout,this.loop=this.widget.loop,this.mode=this.widget.mode,this.playRate=this.widget.playRate,this.position="bottom-left",this.state=this.viewModel.state,this.stops=this.widget.stops,this.tickConfigs=this.widget.tickConfigs,this.timeExtent=this.widget.timeExtent,this.timeVisible=this.widget.timeVisible,this.timeZone=this.widget.timeZone,this.arcgisPropertyChange=e()("effectiveStops","fullTimeExtent","timeExtent","state"),this.arcgisReady=o(),this.arcgisTriggerAction=r(()=>this.widget,"trigger-action")}static{this.properties={actions:0,autoDestroyDisabled:5,disabled:7,effectiveStops:0,fullTimeExtent:0,icon:1,label:1,layout:1,loop:5,mode:1,playRate:9,position:1,referenceElement:1,state:3,stops:0,tickConfigs:0,timeExtent:0,timeVisible:5,timeZone:1}}static{this.shadowRootOptions=a}static{this.styles=m}async applyTimeSliderSettings(t){Object.assign(this,t)}async destroy(){await this.manager.destroy()}async next(){this.widget?.next()}async play(){this.widget?.play()}async previous(){this.widget?.previous()}async stop(){this.widget?.stop()}async updateWebDocument(t){this.widget?.updateWebDocument(t)}};d("arcgis-time-slider",i);export{i as ArcgisTimeSlider};
@@ -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.16
4
+ * v4.32.0-next.17
5
5
  */
6
- import{a as d}from"./B7H7WD4G.js";import"./TOBLLYA5.js";import{ha as h}from"./MISEJFJ7.js";import"./ZJD6HG35.js";import{B as o,G as r,o as e,p as s,y as i,z as a}from"./BU7UFQQB.js";var l=s`arcgis-weather{display:block}`,n=d(h),t=class extends o{constructor(){super(...arguments),this.widget=n(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.headingLevel=this.widget.headingLevel,this.hideHeader=this.widget.visibleElements.header,this.icon=this.widget.icon,this.label=this.widget.label,this.position="bottom-left",this.state=this.viewModel.state,this.arcgisPropertyChange=e()("state"),this.arcgisReady=i()}static{this.properties={autoDestroyDisabled:5,headingLevel:9,hideHeader:5,icon:1,label:1,position:1,referenceElement:1,state:3}}static{this.shadowRootOptions=a}static{this.styles=l}async destroy(){await this.manager.destroy()}};r("arcgis-weather",t);export{t as ArcgisWeather};
6
+ import{a as d}from"./VKLAKB6P.js";import"./Y333JIBC.js";import{ha as h}from"./GQHP7ZRP.js";import"./7L7IE75K.js";import{B as o,G as r,o as e,p as s,y as i,z as a}from"./OEBOOAS6.js";var l=s`arcgis-weather{display:block}`,n=d(h),t=class extends o{constructor(){super(...arguments),this.widget=n(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.headingLevel=this.widget.headingLevel,this.hideHeader=this.widget.visibleElements.header,this.icon=this.widget.icon,this.label=this.widget.label,this.position="bottom-left",this.state=this.viewModel.state,this.arcgisPropertyChange=e()("state"),this.arcgisReady=i()}static{this.properties={autoDestroyDisabled:5,headingLevel:9,hideHeader:5,icon:1,label:1,position:1,referenceElement:1,state:3}}static{this.shadowRootOptions=a}static{this.styles=l}async destroy(){await this.manager.destroy()}};r("arcgis-weather",t);export{t as ArcgisWeather};
@@ -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.16
4
+ * v4.32.0-next.17
5
5
  */
6
- import{a as d}from"./B7H7WD4G.js";import"./TOBLLYA5.js";import{t as l}from"./MISEJFJ7.js";import"./ZJD6HG35.js";import{B as a,G as h,p as i,y as t,z as s}from"./BU7UFQQB.js";var o=i`arcgis-daylight{display:block}`,n=d(l),e=class extends a{constructor(){super(...arguments),this.widget=n(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.currentSeason=this.viewModel.currentSeason,this.dateOrSeason=this.widget.dateOrSeason,this.dayPlaying=this.viewModel.dayPlaying,this.headingLevel=this.widget.headingLevel,this.hideDatePicker=this.widget.visibleElements.datePicker,this.hideHeader=this.widget.visibleElements.header,this.hidePlayButtons=this.widget.visibleElements.playButtons,this.hideShadowsToggle=this.widget.visibleElements.shadowsToggle,this.hideSunLightingToggle=this.widget.visibleElements.sunLightingToggle,this.hideTimezone=this.widget.visibleElements.timezone,this.icon=this.widget.icon,this.label=this.widget.label,this.playSpeedMultiplier=this.widget.playSpeedMultiplier,this.position="bottom-left",this.timeSliderSteps=this.widget.timeSliderSteps,this.yearPlaying=this.viewModel.yearPlaying,this.arcgisReady=t()}static{this.properties={autoDestroyDisabled:5,currentSeason:1,dateOrSeason:1,dayPlaying:5,headingLevel:9,hideDatePicker:5,hideHeader:5,hidePlayButtons:5,hideShadowsToggle:5,hideSunLightingToggle:5,hideTimezone:5,icon:1,label:1,playSpeedMultiplier:9,position:1,referenceElement:1,timeSliderSteps:9,yearPlaying:5}}static{this.shadowRootOptions=s}static{this.styles=o}async destroy(){await this.manager.destroy()}};h("arcgis-daylight",e);export{e as ArcgisDaylight};
6
+ import{a as d}from"./VKLAKB6P.js";import"./Y333JIBC.js";import{t as l}from"./GQHP7ZRP.js";import"./7L7IE75K.js";import{B as a,G as h,p as i,y as t,z as s}from"./OEBOOAS6.js";var o=i`arcgis-daylight{display:block}`,n=d(l),e=class extends a{constructor(){super(...arguments),this.widget=n(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.currentSeason=this.viewModel.currentSeason,this.dateOrSeason=this.widget.dateOrSeason,this.dayPlaying=this.viewModel.dayPlaying,this.headingLevel=this.widget.headingLevel,this.hideDatePicker=this.widget.visibleElements.datePicker,this.hideHeader=this.widget.visibleElements.header,this.hidePlayButtons=this.widget.visibleElements.playButtons,this.hideShadowsToggle=this.widget.visibleElements.shadowsToggle,this.hideSunLightingToggle=this.widget.visibleElements.sunLightingToggle,this.hideTimezone=this.widget.visibleElements.timezone,this.icon=this.widget.icon,this.label=this.widget.label,this.playSpeedMultiplier=this.widget.playSpeedMultiplier,this.position="bottom-left",this.timeSliderSteps=this.widget.timeSliderSteps,this.yearPlaying=this.viewModel.yearPlaying,this.arcgisReady=t()}static{this.properties={autoDestroyDisabled:5,currentSeason:1,dateOrSeason:1,dayPlaying:5,headingLevel:9,hideDatePicker:5,hideHeader:5,hidePlayButtons:5,hideShadowsToggle:5,hideSunLightingToggle:5,hideTimezone:5,icon:1,label:1,playSpeedMultiplier:9,position:1,referenceElement:1,timeSliderSteps:9,yearPlaying:5}}static{this.shadowRootOptions=s}static{this.styles=o}async destroy(){await this.manager.destroy()}};h("arcgis-daylight",e);export{e as ArcgisDaylight};
@@ -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.16
4
+ * v4.32.0-next.17
5
5
  */
6
- import{a as N,b}from"./XDAHKJZ7.js";import{a as C,b as M}from"./RAFPWR72.js";import"./TOBLLYA5.js";import{ga as y,ja as P}from"./MISEJFJ7.js";import"./ZJD6HG35.js";import{B as V,C as L,G as S,m as E,p as u,q as v,y as w,z as I}from"./BU7UFQQB.js";var F=u`.calcite-combobox-item{width:330px}.calcite-flow-widget{width:350px}calcite-block{margin:0}calcite-pagination{justify-content:center}`,A=M(y),f=class extends V{constructor(){super(...arguments),this.flowElement=N(),this.messages=C({blocking:!0}),this.reactiveUtils=E(P),this.viewModel=A(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=I}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:s}}=this,r=s?.getElementsByTagName("arcgis-version-management-version-properties")[0],t=s?.getElementsByTagName("arcgis-version-management-version-list")[0];if(i==="disabled"){r&&this._removeVersionPropertiesFlowItem(s),t&&this._removeVersionListFlowItem(s);return}t&&(t.versionListElementProps={...t.versionListElementProps,executionError:this.viewModel.executionError},t.versionListElementProps={...t.versionListElementProps,state:i}),r&&(r.versionPropertiesElementProps={...r.versionPropertiesElementProps,state:i})})])}_createVersionPropertiesFlowItem(e,i){let{closable:s,flowElement:{value:r},viewModel:t,viewModel:{state:a}}=this,o=document.createElement("arcgis-version-management-version-properties");return o.versionPropertiesElementProps={closable:s,currentUser:t.userLookup.get(e),hasAdvEditingUte:t.advancedEditingUserTypeExtensionLookup.get(e),isVersionAdministrator:t.versionAdministratorLookup.get(e),serviceUrl:e,state:a,strings:this.messages,versionInfo:i},o.addEventListener("arcgisCreateVersion",n=>{let{createVersionParameters:m,switchToVersion:l}=n.detail;t.createVersion(m).then(async d=>{d&&this.arcgisVersioningStateChanged.emit({type:"version-created",versionIdentifier:d.versionIdentifier,versioningState:t.versioningStateLookup.get(e)}),l&&await this.viewModel.changeVersion(e,d.versionIdentifier.name,d.versionIdentifier.guid).then(g=>{g&&this.arcgisVersioningStateChanged.emit({type:"version-switched",versionIdentifier:d.versionIdentifier,versioningState:t.versioningStateLookup.get(e)})}),await this._refreshVersionList(e)}).finally(()=>{r&&this._removeVersionPropertiesFlowItem(r)})}),o.addEventListener("arcgisAlterVersion",async n=>{let{flowElement:{value:m}}=this,{alterVersionParameters:l}=n.detail;await t.alterVersion(l).then(async d=>{d&&this.arcgisVersioningStateChanged.emit({type:"version-changed",versionIdentifier:l.versionIdentifier,versioningState:t.versioningStateLookup.get(e)}),await this._refreshVersionList(e)}).finally(()=>{m&&this._removeVersionPropertiesFlowItem(m)})}),o.addEventListener("arcgisFlowItemBack",()=>{this._removeVersionPropertiesFlowItem(this.flowElement.value)}),o.addEventListener("calciteFlowItemBack",n=>{n.preventDefault(),this._removeVersionPropertiesFlowItem(this.flowElement.value)}),o.addEventListener("calciteFlowItemClose",()=>{this._handleFlowItemClose()}),o}_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:s,versionInfo:r}=e.detail,{viewModel:t,flowElement:a}=this;switch(i){case"changeVersion":{t.changeVersion(s,r.versionIdentifier.name,r.versionIdentifier.guid).then(o=>{o&&this.arcgisVersioningStateChanged.emit({type:"version-switched",versionIdentifier:r.versionIdentifier,versioningState:t.versioningStateLookup.get(s)});let n=a.value?.getElementsByTagName("arcgis-version-management-version-list")[0];n&&n&&(n.versionListElementProps={...n.versionListElementProps,currentVersionIdentifier:t.versioningStateLookup.get(s).currentVersionInfo.versionIdentifier})});break}case"deleteVersion":{t.deleteVersion(s,r.versionIdentifier.name,r.versionIdentifier.guid).then(async o=>{o&&this.arcgisVersioningStateChanged.emit({type:"version-deleted",versionIdentifier:r.versionIdentifier,versioningState:t.versioningStateLookup.get(s)}),await this._refreshVersionList(s)});break}case"editVersion":{let o=this._createVersionPropertiesFlowItem(s,r);a.value?.appendChild(o);break}}}async _refreshVersionList(e){let{flowElement:{value:i},viewModel:s}=this;if(i){let r=await s.getVersionInfos(e),t=i.getElementsByTagName("arcgis-version-management-service-item");for(let o of t)o.serviceItemElementProps.serviceUrl===e&&(o.serviceItemElementProps={...o.serviceItemElementProps,versionInfos:r});let a=i.getElementsByTagName("arcgis-version-management-version-list")[0];a&&(a.versionListElementProps={...a.versionListElementProps,currentVersionIdentifier:s.versioningStateLookup.get(e).currentVersionInfo.versionIdentifier,versionInfos:r})}}_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:s},label:r,messages:t,mode:a,pageSize:o,viewModel:n,viewModel:{loadError:m,state:l}}=this,d=Array.from(n.serviceNameLookup,([c,h])=>({url:c,name:h})),g=l!=="disabled"?d.map(c=>{let h={allowEditing:!e,closable:i,currentUser:n.userLookup.get(c.url),currentVersionIdentifier:n.versioningStateLookup.get(c.url).currentVersionInfo.versionIdentifier,executionError:void 0,flowElement:s,hasAdvEditingUte:n.advancedEditingUserTypeExtensionLookup.get(c.url),heading:r,isVersionAdministrator:n.versionAdministratorLookup.get(c.url),isVersioningApiAvailable:(n.serverVersionLookup.get(c.url)??0)>=11.2,mode:a,pageSize:o,serviceName:c.name,state:l,serviceUrl:c.url,strings:t,versionInfos:n.versioningStateLookup.get(c.url)?.versionInfos??[]};return v`<arcgis-version-management-service-item .serviceItemElementProps=${h} @arcgisGetVersions=${async p=>{await this._refreshVersionList(p.detail.serviceUrl)}} @arcgisFlowItemBack=${()=>{s&&this._removeVersionListFlowItem(s)}} @arcgisFlowItemClose=${()=>{this._handleFlowItemClose()}} @arcgisManageVersion=${this._handleManageVersionAction} @arcgisNewVersion=${p=>{let _=this._createVersionPropertiesFlowItem(p.detail.serviceUrl,void 0);s?.appendChild(_)}}></arcgis-version-management-service-item>`}):void 0,k=l==="disabled"?v`<calcite-notice class="notice" kind=warning open scale=s slot=footer width=full><div slot=message>${this._getLoadError(m)}</div></calcite-notice>`:void 0;return v`<calcite-flow class=${L(this.mode==="dialog"?"":"calcite-flow-widget")} ${b(this.flowElement)}><calcite-flow-item .closable=${this.closable} .heading=${r??void 0} @calciteFlowItemClose=${()=>{this._handleFlowItemClose()}}><calcite-panel .loading=${l==="loading"||l==="executing"}>${g}${k}</calcite-panel></calcite-flow-item></calcite-flow>`}};S("arcgis-version-management",f);export{f as ArcgisVersionManagement};
6
+ import{a as N,b}from"./MQ7MCQ4G.js";import{a as C,b as M}from"./R7SMLFH3.js";import"./Y333JIBC.js";import{ga as y,ja as P}from"./GQHP7ZRP.js";import"./7L7IE75K.js";import{B as V,C as L,G as S,m as E,p as u,q as v,y as w,z as I}from"./OEBOOAS6.js";var F=u`.calcite-combobox-item{width:330px}.calcite-flow-widget{width:350px}calcite-block{margin:0}calcite-pagination{justify-content:center}`,A=M(y),f=class extends V{constructor(){super(...arguments),this.flowElement=N(),this.messages=C({blocking:!0}),this.reactiveUtils=E(P),this.viewModel=A(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=I}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:s}}=this,r=s?.getElementsByTagName("arcgis-version-management-version-properties")[0],t=s?.getElementsByTagName("arcgis-version-management-version-list")[0];if(i==="disabled"){r&&this._removeVersionPropertiesFlowItem(s),t&&this._removeVersionListFlowItem(s);return}t&&(t.versionListElementProps={...t.versionListElementProps,executionError:this.viewModel.executionError},t.versionListElementProps={...t.versionListElementProps,state:i}),r&&(r.versionPropertiesElementProps={...r.versionPropertiesElementProps,state:i})})])}_createVersionPropertiesFlowItem(e,i){let{closable:s,flowElement:{value:r},viewModel:t,viewModel:{state:a}}=this,o=document.createElement("arcgis-version-management-version-properties");return o.versionPropertiesElementProps={closable:s,currentUser:t.userLookup.get(e),hasAdvEditingUte:t.advancedEditingUserTypeExtensionLookup.get(e),isVersionAdministrator:t.versionAdministratorLookup.get(e),serviceUrl:e,state:a,strings:this.messages,versionInfo:i},o.addEventListener("arcgisCreateVersion",n=>{let{createVersionParameters:m,switchToVersion:l}=n.detail;t.createVersion(m).then(async d=>{d&&this.arcgisVersioningStateChanged.emit({type:"version-created",versionIdentifier:d.versionIdentifier,versioningState:t.versioningStateLookup.get(e)}),l&&await this.viewModel.changeVersion(e,d.versionIdentifier.name,d.versionIdentifier.guid).then(g=>{g&&this.arcgisVersioningStateChanged.emit({type:"version-switched",versionIdentifier:d.versionIdentifier,versioningState:t.versioningStateLookup.get(e)})}),await this._refreshVersionList(e)}).finally(()=>{r&&this._removeVersionPropertiesFlowItem(r)})}),o.addEventListener("arcgisAlterVersion",async n=>{let{flowElement:{value:m}}=this,{alterVersionParameters:l}=n.detail;await t.alterVersion(l).then(async d=>{d&&this.arcgisVersioningStateChanged.emit({type:"version-changed",versionIdentifier:l.versionIdentifier,versioningState:t.versioningStateLookup.get(e)}),await this._refreshVersionList(e)}).finally(()=>{m&&this._removeVersionPropertiesFlowItem(m)})}),o.addEventListener("arcgisFlowItemBack",()=>{this._removeVersionPropertiesFlowItem(this.flowElement.value)}),o.addEventListener("calciteFlowItemBack",n=>{n.preventDefault(),this._removeVersionPropertiesFlowItem(this.flowElement.value)}),o.addEventListener("calciteFlowItemClose",()=>{this._handleFlowItemClose()}),o}_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:s,versionInfo:r}=e.detail,{viewModel:t,flowElement:a}=this;switch(i){case"changeVersion":{t.changeVersion(s,r.versionIdentifier.name,r.versionIdentifier.guid).then(o=>{o&&this.arcgisVersioningStateChanged.emit({type:"version-switched",versionIdentifier:r.versionIdentifier,versioningState:t.versioningStateLookup.get(s)});let n=a.value?.getElementsByTagName("arcgis-version-management-version-list")[0];n&&n&&(n.versionListElementProps={...n.versionListElementProps,currentVersionIdentifier:t.versioningStateLookup.get(s).currentVersionInfo.versionIdentifier})});break}case"deleteVersion":{t.deleteVersion(s,r.versionIdentifier.name,r.versionIdentifier.guid).then(async o=>{o&&this.arcgisVersioningStateChanged.emit({type:"version-deleted",versionIdentifier:r.versionIdentifier,versioningState:t.versioningStateLookup.get(s)}),await this._refreshVersionList(s)});break}case"editVersion":{let o=this._createVersionPropertiesFlowItem(s,r);a.value?.appendChild(o);break}}}async _refreshVersionList(e){let{flowElement:{value:i},viewModel:s}=this;if(i){let r=await s.getVersionInfos(e),t=i.getElementsByTagName("arcgis-version-management-service-item");for(let o of t)o.serviceItemElementProps.serviceUrl===e&&(o.serviceItemElementProps={...o.serviceItemElementProps,versionInfos:r});let a=i.getElementsByTagName("arcgis-version-management-version-list")[0];a&&(a.versionListElementProps={...a.versionListElementProps,currentVersionIdentifier:s.versioningStateLookup.get(e).currentVersionInfo.versionIdentifier,versionInfos:r})}}_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:s},label:r,messages:t,mode:a,pageSize:o,viewModel:n,viewModel:{loadError:m,state:l}}=this,d=Array.from(n.serviceNameLookup,([c,h])=>({url:c,name:h})),g=l!=="disabled"?d.map(c=>{let h={allowEditing:!e,closable:i,currentUser:n.userLookup.get(c.url),currentVersionIdentifier:n.versioningStateLookup.get(c.url).currentVersionInfo.versionIdentifier,executionError:void 0,flowElement:s,hasAdvEditingUte:n.advancedEditingUserTypeExtensionLookup.get(c.url),heading:r,isVersionAdministrator:n.versionAdministratorLookup.get(c.url),isVersioningApiAvailable:(n.serverVersionLookup.get(c.url)??0)>=11.2,mode:a,pageSize:o,serviceName:c.name,state:l,serviceUrl:c.url,strings:t,versionInfos:n.versioningStateLookup.get(c.url)?.versionInfos??[]};return v`<arcgis-version-management-service-item .serviceItemElementProps=${h} @arcgisGetVersions=${async p=>{await this._refreshVersionList(p.detail.serviceUrl)}} @arcgisFlowItemBack=${()=>{s&&this._removeVersionListFlowItem(s)}} @arcgisFlowItemClose=${()=>{this._handleFlowItemClose()}} @arcgisManageVersion=${this._handleManageVersionAction} @arcgisNewVersion=${p=>{let _=this._createVersionPropertiesFlowItem(p.detail.serviceUrl,void 0);s?.appendChild(_)}}></arcgis-version-management-service-item>`}):void 0,k=l==="disabled"?v`<calcite-notice class="notice" kind=warning open scale=s slot=footer width=full><div slot=message>${this._getLoadError(m)}</div></calcite-notice>`:void 0;return v`<calcite-flow class=${L(this.mode==="dialog"?"":"calcite-flow-widget")} ${b(this.flowElement)}><calcite-flow-item .closable=${this.closable} .heading=${r??void 0} @calciteFlowItemClose=${()=>{this._handleFlowItemClose()}}><calcite-panel .loading=${l==="loading"||l==="executing"}>${g}${k}</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.16
4
+ * v4.32.0-next.17
5
5
  */
6
- import{a as t}from"./2ZHISQJN.js";import{a as p,b}from"./RAFPWR72.js";import"./TOBLLYA5.js";import{ia as z}from"./MISEJFJ7.js";import"./ZJD6HG35.js";import{B as h,C as o,E as i,G as u,a,o as l,p as n,q as m,y as c,z as d}from"./BU7UFQQB.js";var g={base:"esri-zoom",horizontalLayout:"esri-zoom--horizontal"},v=n`arcgis-zoom{display:block}.esri-zoom{display:flex;flex-flow:column nowrap}.esri-zoom .esri-widget--button{box-shadow:none}.esri-zoom .esri-widget--button:first-child{margin-bottom:0}.esri-zoom .esri-widget--button:last-child{border-top:solid 1px var(--calcite-color-border-1)}.esri-zoom.esri-zoom--horizontal{flex-flow:row-reverse nowrap}.esri-zoom.esri-zoom--horizontal .esri-widget--button:last-child{border-top:none}.esri-zoom.esri-zoom--horizontal .esri-widget--button:first-child{border-left:solid 1px var(--calcite-color-border-1)}[dir=rtl] .esri-zoom.esri-zoom--horizontal .esri-widget--button:first-child{border-top:none}[dir=rtl] .esri-zoom.esri-zoom--horizontal .esri-widget--button:last-child{border-left:solid 1px var(--calcite-color-border-1)}`,$=b(z),s=class extends h{constructor(){super(...arguments),this.messages=p({}),this.viewModel=$(this),this.canZoomIn=this.viewModel.canZoomIn,this.canZoomOut=this.viewModel.canZoomOut,this.autoDestroyDisabled=!1,this.icon="magnifying-glass-plus",this.layout="vertical",this.position="top-left",this.state=this.viewModel.state,this.arcgisPropertyChange=l()("state"),this.arcgisReady=c()}static{this.properties={canZoomIn:16,canZoomOut:16,autoDestroyDisabled:5,icon:3,label:1,layout:3,messageOverrides:0,position:1,referenceElement:1,state:3}}static{this.shadowRootOptions=d}static{this.styles=v}async destroy(){await this.manager.destroy()}async zoomIn(){this.viewModel.zoomIn()}async zoomOut(){this.viewModel.zoomOut()}render(){let w={[g.horizontalLayout]:this.layout==="horizontal"},{canZoomIn:f,canZoomOut:y}=this.viewModel,{zoomIn:e,zoomOut:r}=this.messages;return m`<div class=${o(a(g.base,t.widget,w))}><calcite-button class=${o(t.widgetButton)} .disabled=${!f} icon-start=plus kind=neutral .label=${e} @click=${this.zoomIn} title=${e??i}></calcite-button><calcite-button class=${o(t.widgetButton)} .disabled=${!y} icon-start=minus kind=neutral .label=${r} @click=${this.zoomOut} title=${r??i}></calcite-button></div>`}};u("arcgis-zoom",s);export{s as ArcgisZoom};
6
+ import{a as t}from"./4NVLQSVJ.js";import{a as p,b}from"./R7SMLFH3.js";import"./Y333JIBC.js";import{ia as z}from"./GQHP7ZRP.js";import"./7L7IE75K.js";import{B as h,C as o,E as i,G as u,a,o as l,p as n,q as m,y as c,z as d}from"./OEBOOAS6.js";var g={base:"esri-zoom",horizontalLayout:"esri-zoom--horizontal"},v=n`arcgis-zoom{display:block}.esri-zoom{display:flex;flex-flow:column nowrap}.esri-zoom .esri-widget--button{box-shadow:none}.esri-zoom .esri-widget--button:first-child{margin-bottom:0}.esri-zoom .esri-widget--button:last-child{border-top:solid 1px var(--calcite-color-border-1)}.esri-zoom.esri-zoom--horizontal{flex-flow:row-reverse nowrap}.esri-zoom.esri-zoom--horizontal .esri-widget--button:last-child{border-top:none}.esri-zoom.esri-zoom--horizontal .esri-widget--button:first-child{border-left:solid 1px var(--calcite-color-border-1)}[dir=rtl] .esri-zoom.esri-zoom--horizontal .esri-widget--button:first-child{border-top:none}[dir=rtl] .esri-zoom.esri-zoom--horizontal .esri-widget--button:last-child{border-left:solid 1px var(--calcite-color-border-1)}`,$=b(z),s=class extends h{constructor(){super(...arguments),this.messages=p({}),this.viewModel=$(this),this.canZoomIn=this.viewModel.canZoomIn,this.canZoomOut=this.viewModel.canZoomOut,this.autoDestroyDisabled=!1,this.icon="magnifying-glass-plus",this.layout="vertical",this.position="top-left",this.state=this.viewModel.state,this.arcgisPropertyChange=l()("state"),this.arcgisReady=c()}static{this.properties={canZoomIn:16,canZoomOut:16,autoDestroyDisabled:5,icon:3,label:1,layout:3,messageOverrides:0,position:1,referenceElement:1,state:3}}static{this.shadowRootOptions=d}static{this.styles=v}async destroy(){await this.manager.destroy()}async zoomIn(){this.viewModel.zoomIn()}async zoomOut(){this.viewModel.zoomOut()}render(){let w={[g.horizontalLayout]:this.layout==="horizontal"},{canZoomIn:f,canZoomOut:y}=this.viewModel,{zoomIn:e,zoomOut:r}=this.messages;return m`<div class=${o(a(g.base,t.widget,w))}><calcite-button class=${o(t.widgetButton)} .disabled=${!f} icon-start=plus kind=neutral .label=${e} @click=${this.zoomIn} title=${e??i}></calcite-button><calcite-button class=${o(t.widgetButton)} .disabled=${!y} icon-start=minus kind=neutral .label=${r} @click=${this.zoomOut} title=${r??i}></calcite-button></div>`}};u("arcgis-zoom",s);export{s as ArcgisZoom};
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.32/esri/copyright.txt for details.
4
- * v4.32.0-next.16
4
+ * v4.32.0-next.17
5
5
  */
6
- import{t as c,u as A,v as d,w as _,x as v}from"./BU7UFQQB.js";var o=(t,s)=>{let e=t._$AN;if(e===void 0)return!1;for(let i of e)i._$AO?.(s,!1),o(i,s);return!0},n=t=>{let s,e;do{if((s=t._$AM)===void 0)break;e=s._$AN,e.delete(t),t=s}while(e?.size===0)},$=t=>{for(let s;s=t._$AM;t=s){let e=s._$AN;if(e===void 0)s._$AN=e=new Set;else if(e.has(t))break;e.add(t),m(s)}};function p(t){this._$AN!==void 0?(n(this),this._$AM=t,$(this)):this._$AM=t}function u(t,s=!1,e=0){let i=this._$AH,f=this._$AN;if(f!==void 0&&f.size!==0)if(s)if(Array.isArray(i))for(let h=e;h<i.length;h++)o(i[h],!1),n(i[h]);else i!=null&&(o(i,!1),n(i));else o(this,t)}var m=t=>{t.type==A.CHILD&&(t._$AP??=u,t._$AQ??=p)},r=class extends _{constructor(){super(...arguments),this._$AN=void 0}_$AT(s,e,i){super._$AT(s,e,i),$(this),this.isConnected=s._$AU}_$AO(s,e=!0){s!==this.isConnected&&(this.isConnected=s,s?this.reconnected?.():this.disconnected?.()),e&&(o(this,s),n(this))}setValue(s){if(v(this.t))this.t._$AI(s,this);else{let e=[...this.t._$AH];e[this.i]=s,this.t._$AI(e,this,0)}}disconnected(){}reconnected(){}};var M=()=>new l,l=class{},a=new WeakMap,T=d(class extends r{render(t){return c}update(t,[s]){let e=s!==this.Y;return e&&this.Y!==void 0&&this.rt(void 0),(e||this.lt!==this.ct)&&(this.Y=s,this.ht=t.options?.host,this.rt(this.ct=t.element)),c}rt(t){if(this.isConnected||(t=void 0),typeof this.Y=="function"){let s=this.ht??globalThis,e=a.get(s);e===void 0&&(e=new WeakMap,a.set(s,e)),e.get(this.Y)!==void 0&&this.Y.call(this.ht,void 0),e.set(this.Y,t),t!==void 0&&this.Y.call(this.ht,t)}else this.Y.value=t}get lt(){return typeof this.Y=="function"?a.get(this.ht??globalThis)?.get(this.Y):this.Y?.value}disconnected(){this.lt===this.ct&&this.rt(void 0)}reconnected(){this.rt(this.ct)}});export{M as a,T as b};
6
+ import{t as c,u as A,v as d,w as _,x as v}from"./OEBOOAS6.js";var o=(t,s)=>{let e=t._$AN;if(e===void 0)return!1;for(let i of e)i._$AO?.(s,!1),o(i,s);return!0},n=t=>{let s,e;do{if((s=t._$AM)===void 0)break;e=s._$AN,e.delete(t),t=s}while(e?.size===0)},$=t=>{for(let s;s=t._$AM;t=s){let e=s._$AN;if(e===void 0)s._$AN=e=new Set;else if(e.has(t))break;e.add(t),m(s)}};function p(t){this._$AN!==void 0?(n(this),this._$AM=t,$(this)):this._$AM=t}function u(t,s=!1,e=0){let i=this._$AH,f=this._$AN;if(f!==void 0&&f.size!==0)if(s)if(Array.isArray(i))for(let h=e;h<i.length;h++)o(i[h],!1),n(i[h]);else i!=null&&(o(i,!1),n(i));else o(this,t)}var m=t=>{t.type==A.CHILD&&(t._$AP??=u,t._$AQ??=p)},r=class extends _{constructor(){super(...arguments),this._$AN=void 0}_$AT(s,e,i){super._$AT(s,e,i),$(this),this.isConnected=s._$AU}_$AO(s,e=!0){s!==this.isConnected&&(this.isConnected=s,s?this.reconnected?.():this.disconnected?.()),e&&(o(this,s),n(this))}setValue(s){if(v(this.t))this.t._$AI(s,this);else{let e=[...this.t._$AH];e[this.i]=s,this.t._$AI(e,this,0)}}disconnected(){}reconnected(){}};var M=()=>new l,l=class{},a=new WeakMap,T=d(class extends r{render(t){return c}update(t,[s]){let e=s!==this.Y;return e&&this.Y!==void 0&&this.rt(void 0),(e||this.lt!==this.ct)&&(this.Y=s,this.ht=t.options?.host,this.rt(this.ct=t.element)),c}rt(t){if(this.isConnected||(t=void 0),typeof this.Y=="function"){let s=this.ht??globalThis,e=a.get(s);e===void 0&&(e=new WeakMap,a.set(s,e)),e.get(this.Y)!==void 0&&this.Y.call(this.ht,void 0),e.set(this.Y,t),t!==void 0&&this.Y.call(this.ht,t)}else this.Y.value=t}get lt(){return typeof this.Y=="function"?a.get(this.ht??globalThis)?.get(this.Y):this.Y?.value}disconnected(){this.lt===this.ct&&this.rt(void 0)}reconnected(){this.rt(this.ct)}});export{M as a,T as b};
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.32/esri/copyright.txt for details.
4
- * v4.32.0-next.16
4
+ * v4.32.0-next.17
5
5
  */
6
- import{a as l}from"./B7H7WD4G.js";import{d}from"./TOBLLYA5.js";import{D as n}from"./MISEJFJ7.js";import"./ZJD6HG35.js";import{B as r,G as h,o as i,p as s,y as a,z as o}from"./BU7UFQQB.js";var g=s`arcgis-features{display:block}`,w=l(n),t=class extends r{constructor(){super(...arguments),this.widget=w(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=a(),this.arcgisTriggerAction=d(()=>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=o}static{this.styles=g}async clear(){this.widget?.clear()}async close(){this.widget?.close()}async destroy(){await this.manager.destroy()}async fetchFeatures(e,c){return await this.widget?.fetchFeatures(e,c)}async next(){return this.widget?.next()}async open(e){this.widget?.open(e)}async previous(){return this.widget?.previous()}async triggerAction(e){this.widget?.triggerAction(e)}};h("arcgis-features",t);export{t as ArcgisFeatures};
6
+ import{a as l}from"./VKLAKB6P.js";import{d}from"./Y333JIBC.js";import{D as n}from"./GQHP7ZRP.js";import"./7L7IE75K.js";import{B as r,G as h,o as i,p as s,y as a,z as o}from"./OEBOOAS6.js";var g=s`arcgis-features{display:block}`,w=l(n),t=class extends r{constructor(){super(...arguments),this.widget=w(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=a(),this.arcgisTriggerAction=d(()=>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=o}static{this.styles=g}async clear(){this.widget?.clear()}async close(){this.widget?.close()}async destroy(){await this.manager.destroy()}async fetchFeatures(e,c){return await this.widget?.fetchFeatures(e,c)}async next(){return this.widget?.next()}async open(e){this.widget?.open(e)}async previous(){return this.widget?.previous()}async triggerAction(e){this.widget?.triggerAction(e)}};h("arcgis-features",t);export{t as ArcgisFeatures};
@@ -1,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.16
4
+ * v4.32.0-next.17
5
5
  */
6
- import{a as c}from"./B7H7WD4G.js";import"./TOBLLYA5.js";import{x as n}from"./MISEJFJ7.js";import"./ZJD6HG35.js";import{B as o,G as r,o as s,p as i,y as e,z as a}from"./BU7UFQQB.js";var h=i`arcgis-distance-measurement-2d{display:block}`,m=c(n),t=class extends o{constructor(){super(...arguments),this.widget=m(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.icon=this.widget.icon,this.label=this.widget.label,this.position="bottom-left",this.state=this.viewModel.state,this.unit=this.widget.unit,this.unitOptions=this.widget.unitOptions,this.arcgisPropertyChange=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=a}static{this.styles=h}async destroy(){await this.manager.destroy()}};r("arcgis-distance-measurement-2d",t);export{t as ArcgisDistanceMeasurement2d};
6
+ import{a as c}from"./VKLAKB6P.js";import"./Y333JIBC.js";import{x as n}from"./GQHP7ZRP.js";import"./7L7IE75K.js";import{B as o,G as r,o as s,p as i,y as e,z as a}from"./OEBOOAS6.js";var h=i`arcgis-distance-measurement-2d{display:block}`,m=c(n),t=class extends o{constructor(){super(...arguments),this.widget=m(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.icon=this.widget.icon,this.label=this.widget.label,this.position="bottom-left",this.state=this.viewModel.state,this.unit=this.widget.unit,this.unitOptions=this.widget.unitOptions,this.arcgisPropertyChange=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=a}static{this.styles=h}async destroy(){await this.manager.destroy()}};r("arcgis-distance-measurement-2d",t);export{t as ArcgisDistanceMeasurement2d};
@@ -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.16
4
+ * v4.32.0-next.17
5
5
  */
6
- import{a as n}from"./B7H7WD4G.js";import"./TOBLLYA5.js";import{_ as r}from"./MISEJFJ7.js";import"./ZJD6HG35.js";import{B as a,G as o,o as t,y as s,z as e}from"./BU7UFQQB.js";var h=n(r),i=class extends a{constructor(){super(...arguments),this.widget=h(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.direction=this.widget.direction,this.dragLabel=this.widget.dragLabel,this.icon=this.widget.icon,this.label=this.widget.label,this.leadingLayers=this.widget.leadingLayers,this.position="manual",this.state=this.viewModel.state,this.swipePosition=this.widget.position,this.trailingLayers=this.widget.trailingLayers,this.arcgisPropertyChange=t()("state"),this.arcgisReady=s()}static{this.properties={autoDestroyDisabled:5,direction:1,dragLabel:1,icon:1,label:1,leadingLayers:0,position:1,referenceElement:1,state:3,swipePosition:9,trailingLayers:0}}static{this.shadowRootOptions=e}async destroy(){await this.manager.destroy()}};o("arcgis-swipe",i);export{i as ArcgisSwipe};
6
+ import{a as n}from"./VKLAKB6P.js";import"./Y333JIBC.js";import{_ as r}from"./GQHP7ZRP.js";import"./7L7IE75K.js";import{B as a,G as o,o as t,y as s,z as e}from"./OEBOOAS6.js";var h=n(r),i=class extends a{constructor(){super(...arguments),this.widget=h(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.direction=this.widget.direction,this.dragLabel=this.widget.dragLabel,this.icon=this.widget.icon,this.label=this.widget.label,this.leadingLayers=this.widget.leadingLayers,this.position="manual",this.state=this.viewModel.state,this.swipePosition=this.widget.position,this.trailingLayers=this.widget.trailingLayers,this.arcgisPropertyChange=t()("state"),this.arcgisReady=s()}static{this.properties={autoDestroyDisabled:5,direction:1,dragLabel:1,icon:1,label:1,leadingLayers:0,position:1,referenceElement:1,state:3,swipePosition:9,trailingLayers:0}}static{this.shadowRootOptions=e}async destroy(){await this.manager.destroy()}};o("arcgis-swipe",i);export{i as ArcgisSwipe};
@@ -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.16
4
+ * v4.32.0-next.17
5
5
  */
6
- import{a as n}from"./B7H7WD4G.js";import"./TOBLLYA5.js";import{k as h}from"./MISEJFJ7.js";import"./ZJD6HG35.js";import{B as d,G as o,o as i,p as e,y as s,z as a}from"./BU7UFQQB.js";var r=e`arcgis-attachments{display:block}`,l=n(h),t=class extends d{constructor(){super(...arguments),this.widget=l(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.capabilities=this.widget.capabilities,this.displayType=this.widget.displayType,this.graphic=this.widget.graphic,this.hideAddButton=this.widget.visibleElements.addButton,this.hideAddSubmitButton=this.widget.visibleElements.addSubmitButton,this.hideCancelAddButton=this.widget.visibleElements.cancelAddButton,this.hideCancelUpdateButton=this.widget.visibleElements.cancelUpdateButton,this.hideDeleteButton=this.widget.visibleElements.deleteButton,this.hideErrorMessage=this.widget.visibleElements.errorMessage,this.hideProgressBar=this.widget.visibleElements.progressBar,this.hideUpdateButton=this.widget.visibleElements.updateButton,this.icon=this.widget.icon,this.label=this.widget.label,this.position="bottom-left",this.state=this.viewModel.state,this.submitting=this.widget.submitting,this.arcgisPropertyChange=i()("submitting","state"),this.arcgisReady=s()}static{this.properties={autoDestroyDisabled:5,capabilities:0,displayType:1,graphic:0,hideAddButton:5,hideAddSubmitButton:5,hideCancelAddButton:5,hideCancelUpdateButton:5,hideDeleteButton:5,hideErrorMessage:5,hideProgressBar:5,hideUpdateButton:5,icon:1,label:1,position:1,referenceElement:1,state:3,submitting:4}}static{this.shadowRootOptions=a}static{this.styles=r}async destroy(){await this.manager.destroy()}};o("arcgis-attachments",t);export{t as ArcgisAttachments};
6
+ import{a as n}from"./VKLAKB6P.js";import"./Y333JIBC.js";import{k as h}from"./GQHP7ZRP.js";import"./7L7IE75K.js";import{B as d,G as o,o as i,p as e,y as s,z as a}from"./OEBOOAS6.js";var r=e`arcgis-attachments{display:block}`,l=n(h),t=class extends d{constructor(){super(...arguments),this.widget=l(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.capabilities=this.widget.capabilities,this.displayType=this.widget.displayType,this.graphic=this.widget.graphic,this.hideAddButton=this.widget.visibleElements.addButton,this.hideAddSubmitButton=this.widget.visibleElements.addSubmitButton,this.hideCancelAddButton=this.widget.visibleElements.cancelAddButton,this.hideCancelUpdateButton=this.widget.visibleElements.cancelUpdateButton,this.hideDeleteButton=this.widget.visibleElements.deleteButton,this.hideErrorMessage=this.widget.visibleElements.errorMessage,this.hideProgressBar=this.widget.visibleElements.progressBar,this.hideUpdateButton=this.widget.visibleElements.updateButton,this.icon=this.widget.icon,this.label=this.widget.label,this.position="bottom-left",this.state=this.viewModel.state,this.submitting=this.widget.submitting,this.arcgisPropertyChange=i()("submitting","state"),this.arcgisReady=s()}static{this.properties={autoDestroyDisabled:5,capabilities:0,displayType:1,graphic:0,hideAddButton:5,hideAddSubmitButton:5,hideCancelAddButton:5,hideCancelUpdateButton:5,hideDeleteButton:5,hideErrorMessage:5,hideProgressBar:5,hideUpdateButton:5,icon:1,label:1,position:1,referenceElement:1,state:3,submitting:4}}static{this.shadowRootOptions=a}static{this.styles=r}async destroy(){await this.manager.destroy()}};o("arcgis-attachments",t);export{t as ArcgisAttachments};
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.32/esri/copyright.txt for details.
4
- * v4.32.0-next.16
4
+ * v4.32.0-next.17
5
5
  */
6
6
  function zo(...e){let t=[];for(let o=0;o<e.length;o++){let s=e[o];if(typeof s=="string")t.push(s);else if(Array.isArray(s))t.push.apply(t,s);else if(typeof s=="object")for(let n in s)s[n]&&t.push(n)}let r=t.join(" ");return t.length=0,r}var b=class{resolve(e){}reject(e){}constructor(){this.promise=new Promise((e,t)=>{this.resolve=e,this.reject=t})}};function Re(e,t){let r=e;for(;r;){if(r===t)return!0;if(!r.parentNode)return!1;r.parentNode instanceof ShadowRoot?r=r.parentNode.host:r=r.parentNode}return!1}function Me(e,t,r){let{subscribe:o}=je(t);return o(s=>{s.some(i=>Re(e,i.target))&&r()})}var bt={};function je(e){let t=e.join(","),r=bt[t];if(r!==void 0)return r;let o=new Set,s=new MutationObserver(i=>o.forEach(c=>c(i)));globalThis.document&&s.observe(document.documentElement,{attributes:!0,attributeFilter:e,subtree:!0});let n={subscribe(i){return o.add(i),{remove:()=>{o.delete(i),o.size===0&&(s.disconnect(),bt[t]=void 0)}}}};return bt[t]=n,n}function Ve(e,t){let r=e;for(;r;){let o=r.closest?.(t);if(o)return o;let s=r.getRootNode?.();if(s===globalThis.document)return null;r=s.host}return null}function Ie(e,t,r){return Ve(e,`[${t}]`)?.getAttribute(t)??r}function p(e,t,...r){try{return e?.call(t,...r)}catch(o){console.error(o,e)}}async function W(e,t,...r){try{let o=e?.call(t,...r);return o instanceof Promise?await o:o}catch(o){console.error(o,e)}}var ze=["ar","bg","bs","ca","cs","da","de","el","en","es","et","fi","fr","he","hr","hu","id","it","ja","ko","lt","lv","nl","nb","pl","pt-BR","pt-PT","ro","ru","sk","sl","sr","sv","th","tr","uk","vi","zh-CN","zh-HK","zh-TW"],He=new Set(ze),tt="en",We={pt:"pt-PT",no:"nb",zh:"zh-CN"};async function Be(e,t,r=""){let o=`${t}/${r}`,s=`${o}${e}.json`;return _t[s]??(_t[s]=Mt(e,o)),await _t[s]}var _t={};async function Mt(e,t){let r=`${t}${e}.json`;try{let o=await fetch(r);if(o.ok)return await o.json()}catch(o){return console.error(o),{}}return e===tt?{}:await Mt(tt,t)}function Et(e){let t=Ie(e,"lang",globalThis.navigator?.language||tt);return{lang:t,t9nLocale:jt(t)}}function jt(e){let[t,r]=e.split("-"),o=t.toLowerCase(),s=o;return r&&(s=`${o}-${r.toUpperCase()}`),s=We[s]??s,He.has(s)?s:r?jt(o):tt}function Vt(e,t,r,o){let s,n=()=>void Fe(e,t,o).then(i=>{(s?.lang!==i.lang||s.t9nLocale!==i.t9nLocale||s.t9nStrings!==i.t9nStrings)&&r(i),s=i}).catch(console.error);return n(),Me(e,["lang"],n)}async function Fe(e,t,r=e.tagName.toLowerCase().split("-").slice(1).join("-")){let{lang:o,t9nLocale:s}=Et(e),n=`${t}/${r}/t9n`,i=`${r}.t9n.`,c=r===null?{}:await Be(s,n,i);return{lang:o,t9nLocale:s,t9nStrings:c}}var et=e=>e.replace(Ge,(t,r)=>`${r===0?"":"-"}${t.toLowerCase()}`),Ge=/[A-Z]+(?![a-z])|[A-Z]/gu;function It(e,t){let r=t>qe?Ke:t/Je,o=0,s=setInterval(()=>{o+=r,o>=t&&(clearInterval(s),e())},r);return s}var qe=4e3,Ke=2e3,Je=4;function zt(e){return e!==void 0}function Ht(e,t){if(t){let r=e.constructor.elementProperties;e.manager.internals.members=Object.fromEntries(Array.from(r,([o,s])=>s.noAccessor?void 0:[o,[(s.readOnly?2048:0)|(s.state?32:16)]]).filter(zt))}else{let r=e.constructor,o=r.__registerControllers?.(e)??void 0;if(r.__registerControllers=void 0,typeof o!="object")throw new Error("Failed to retrieve component meta");e.manager.internals.members=Object.fromEntries(Object.entries(o).filter(([s,[n]])=>(n&63)!==0))}}function Wt(e,t=8){return e==null||typeof e=="object"||typeof e=="function"?e:t&4?e==="false"?!1:e===""||!!e:t&2?Number.parseFloat(e):t&1?String(e):e}var Bt=(e,t)=>e.manager.internals.members?.[t]?.[0];var rt=Symbol.for("controller");var qt=e=>typeof e=="object"&&e!==null&&(rt in e||"hostConnected"in e||"hostDisconnected"in e||"hostUpdate"in e||"hostUpdated"in e);var B;function x(e){B!==e&&(B=e,queueMicrotask(()=>{B===e&&(B=void 0)}))}function I(e){return B}var P=[];function st(e){if(e===void 0){P=[];return}let t=P.indexOf(e);P=t===-1?[...P,e]:P.slice(0,t+1),queueMicrotask(()=>{P=[]})}function Kt(){return P}var V;function Ye(e){V!==e&&(V=e,queueMicrotask(()=>{V===e&&(V=void 0)}))}function Qe(){let e=V;return V=void 0,e}var Ze=async(e,t)=>{let r=At(e);if(r===void 0)return e;if(await r.ready,typeof t=="function"){let o=r.watchExports(s=>t(s,o))}return r.exports},Xe=async e=>{let t=At(e);return await t.ready,t},At=e=>{let t=Qe();if(t!==void 0)return t;let o=I().manager.internals.resolveExports(e);if(o!==void 0)return o;if(qt(e))return e},$={setter:!1,getter:!1,readOnly:!1},F=new WeakMap,Jt;Jt=rt;var wt=class{constructor(e){this._callbacks={hostConnected:[],hostDisconnected:[],hostLoad:[],hostLoaded:[],hostUpdate:[],hostUpdated:[],hostDestroy:[],hostLifecycle:[]},this._ready=new b,this._lifecycleCleanups=[],this.connectedCalled=!1,this._loadCalled=!1,this.loadedCalled=!1,this[Jt]=!0,this.ready=this._ready.promise,this._exports=Gt(this),this._exportWatchers=new Set;let t=e??I(new.target.name);this.component=t,this.component.addController(this),st(this),this.component.manager===void 0||queueMicrotask(()=>this.catchUpLifecycle())}catchUpLifecycle(){let{manager:e}=this.component;e.connectedCalled&&!this.connectedCalled&&this.triggerConnected(),e._loadCalled&&this.triggerLoad().then(()=>{e.loadedCalled&&this.triggerLoaded()}).catch(console.error)}get exports(){return this._exports}set exports(e){let t=this._exports;t!==e&&(this._exports=e,this._exportWatchers.forEach(p),this.connectedCalled&&this.assignedProperty!==!1&&this.component.requestUpdate(this.assignedProperty,t)),this._ready.resolve(e)}setProvisionalExports(e,t=!0){this._exports=t?Gt(e):e,this._exportWatchers.forEach(p)}watchExports(e){let t=()=>e(this._exports);return this._exportWatchers.add(t),()=>void this._exportWatchers.delete(t)}get use(){return x(this.component),Ze}get useRef(){return x(this.component),Xe}get useRefSync(){return x(this.component),At}controllerRemoved(){this.component.el.isConnected&&this.triggerDisconnected(),this.triggerDestroy()}onConnected(e){this._callbacks.hostConnected.push(e)}onDisconnected(e){this._callbacks.hostDisconnected.push(e)}onLoad(e){this._callbacks.hostLoad.push(e)}onLoaded(e){this._callbacks.hostLoaded.push(e)}onUpdate(e){this._callbacks.hostUpdate.push(e)}onUpdated(e){this._callbacks.hostUpdated.push(e)}onDestroy(e){this._callbacks.hostDestroy.push(e)}onLifecycle(e){this._callbacks.hostLifecycle.push(e),this.connectedCalled&&this.component.el.isConnected&&this._callLifecycle(e)}triggerConnected(){let e=this;e.hostConnected&&p(e.hostConnected,e),this._callbacks.hostConnected.forEach(p),this.triggerLifecycle(),this.connectedCalled=!0}triggerDisconnected(){let e=this;e.hostDisconnected&&p(e.hostDisconnected,e),this._callbacks.hostDisconnected.forEach(p),this._lifecycleCleanups.forEach(p),this._lifecycleCleanups=[]}async triggerLoad(){if(this._loadCalled)return;this._loadCalled=!0;let e=this;e.hostLoad&&await W(e.hostLoad,e),this._callbacks.hostLoad.length>0&&await Promise.allSettled(this._callbacks.hostLoad.map(W)),this._ready.resolve(this._exports)}triggerLoaded(){if(this.loadedCalled)return;let e=this;e.hostLoaded&&p(e.hostLoaded,e),this._callbacks.hostLoaded.forEach(p),this.loadedCalled=!0}triggerUpdate(e){let t=this;t.hostUpdate&&p(t.hostUpdate,t,e),this._callbacks.hostUpdate.forEach(Ft,e)}triggerUpdated(e){let t=this;t.hostUpdated&&p(t.hostUpdated,t,e),this._callbacks.hostUpdated.forEach(Ft,e)}triggerDestroy(){let e=this;e.hostDestroy&&p(e.hostDestroy,e),this._callbacks.hostDestroy.forEach(p)}triggerLifecycle(){let e=this;e.hostLifecycle&&this._callLifecycle(()=>e.hostLifecycle()),this._callbacks.hostLifecycle.forEach(this._callLifecycle,this)}_callLifecycle(e){x(this.component);let t=p(e);(Array.isArray(t)?t:[t]).forEach(o=>{typeof o=="function"?this._lifecycleCleanups.push(o):typeof o=="object"&&typeof o.remove=="function"&&this._lifecycleCleanups.push(o.remove)})}};function Ft(e){p(e,void 0,this)}var Yt=wt;function Gt(e){if(typeof e!="object"&&typeof e!="function"||e===null)return e;let t=new Proxy(e,{get(r,o,s){if(!(to.has(o)&&o in r&&r[o]===t)&&(o in r||o in Promise.prototype||typeof o=="symbol"))return typeof r=="function"?r[o]:Reflect.get(r,o,s)},set:(r,o,s,n)=>Reflect.set(r,o,s,n)});return t}var to=new Set(["exports","_exports"]);function nt(e,t,r){let o=Object.keys(e),s=o.length;T===void 0&&queueMicrotask(G),T??(T=new Map);let n=T.get(e);return n===void 0&&(n={callbacks:[],keyCount:s},T.set(e,n)),n.keyCount!==s&&(n.callbacks.forEach(i=>i(o)),n.callbacks=[],n.keyCount=s),n.callbacks.push(i=>{let c=l=>p(t,null,l),a=i[s];a===void 0?c(void 0):e[a]===r?c(a):c(void 0)}),r}var T=void 0;function G(){Array.from(T?.entries()??[]).forEach(([e,{callbacks:t}])=>{let r=Object.keys(e);t.forEach(o=>o(r))}),T=void 0}function q(e,t,r){var o;let s=t,n=e.manager.internals;(o=n.allWatchers)[s]??(o[s]=[]);let i=n.allWatchers[s],c=r,a=(l,d,h)=>p(c,null,l,d,h);return i.push(a),()=>{let l=i.indexOf(a);l!==-1&&i.splice(l,1)}}var Qt=class{constructor(e){this.enabledWatchers={},this.allWatchers={},this.enableReadonly=()=>{if(this.enableReadonly=void 0,!this.component.manager.isLit)return;let t=this.component.manager.internals;Object.entries(t.members).forEach(([r,[o]])=>{var s;o&2048&&((s=t.setters)[r]??(s[r]=[]),t.setters[r].push(t.readonlySetter))})},this.trackedValue=$t,this.keyTrackers=[],this.getters={},this.setters={},this.accessorGetter={},this.accessorSetter={},this._exports=new WeakMap,this.readonlySetter=(t,r,o)=>{if($.readOnly)return t;throw new Error(`Cannot assign to read-only property "${o}" of ${this.component.el.tagName.toLowerCase()}. Trying to assign "${String(t)}"`)},this.component=e}firePropTrackers(e,t){let r=this.keyTrackers;this.trackedValue=$t,this.keyTrackers=[],r.forEach(o=>o(e,t))}getSetProxy(e){let t=this.component,r=t.constructor.prototype;if(this._getSetProxy(r,e,"class"),t.manager.isLit)return;let o=t.el.constructor.prototype;r!==o&&this._getSetProxy(o,e,"html")}_getSetProxy(e,t,r){let o=this.component,s=Bt(o,t),n;do n=Object.getOwnPropertyDescriptor(e,t);while(!n&&(e=Object.getPrototypeOf(e)));if(!n)return;let i=n.get,c=n.set,a=ot in i,l=ot in c;if(a&&l)return;let d=!a,h=!l,f=d?function(){let v=i.call(this),E=F.get(this);if($.getter||E===void 0)return v;let j=E.manager.internals;v=j.accessorGetter[t](v,t);let y=j.getters[t]??Ct;for(let C=0;C<y.length;C++)v=y[C](v,t);return v}:i,g=h?function(v){let E=i.call(this),j=F.get(this);if(j===void 0){c.call(this,v);return}let y=j.manager.isLit?v??void 0:Wt(v,s),C=j.manager.internals;if(y===E)c.call(this,y);else{let Rt=$.setter?Ct:C.setters[t]??Ct;for(let H=0;H<Rt.length&&(y=Rt[H](y,E,t),y!==E);H++);y=C.accessorSetter[t](y,E,t),c.call(this,y),y!==E&&C.enabledWatchers[t]?.forEach(H=>H(y,E,t))}C.keyTrackers.length>0&&C?.firePropTrackers(t,v)}:c;d&&(f[ot]=!0),h&&(g[ot]=!0),Object.defineProperty(e,t,{...n,get:f,set:g})}markExports(e,t){(typeof t=="object"&&t!==null||typeof t=="function")&&this._exports.set(t,e)}resolveExports(e){if(typeof e=="object"&&e!==null||typeof e=="function")return this._exports.get(e)}},Ct=[],ot=Symbol(),$t=Symbol();function Zt(e,t,r){let o=e.manager.internals;return o.trackedValue!==$t&&o.trackedValue!==r&&o.firePropTrackers(void 0,void 0),o.keyTrackers.length===0&&queueMicrotask(()=>o.firePropTrackers(void 0,void 0)),o.trackedValue=r,o.keyTrackers.push((s,n)=>p(t,void 0,r===n?s:void 0)),r}function Xt(e,t,r){let o=Array.isArray(e)?e:[e],s=o.length+1,n=c=>{s-=1,c!==void 0&&(s=Math.min(s,0)),s===0&&t(c)};o.forEach(c=>nt(c,a=>n(a===void 0?void 0:{key:a,host:c,isReactive:!1}),r));let i=o.find(c=>"manager"in c&&typeof c.manager=="object"&&c.manager.component===c);return i&&Zt(i,c=>n(c===void 0?void 0:{key:c,host:i,isReactive:!0}),r),r}function eo(e){$.setter=!0;try{return e()}finally{$.setter=!1}}function oo(e){$.getter=!0;try{return e()}finally{$.getter=!1}}function te(e){$.readOnly=!0;try{return e()}finally{$.readOnly=!1}}var ee=e=>(...t)=>{let r=Kt(),o=new e(...t),s=o.exports;st(r.at(-1));let n=o.component.manager.internals;n.markExports(o,s),o.watchExports(c=>n.markExports(o,c)),Ye(o);let i=[o.component,...r].reverse();return Xt(i,c=>c===void 0?void 0:ro(o,c,s),s)};function ro(e,{host:t,key:r,isReactive:o},s){let n=t,i=n[r]!==e.exports,c=n[r]!==s,a=s!==e.exports;if(i&&!c&&a&&(n[r]=e.exports),t===e.component){if(o){let d=e.component.manager.internals;c&&d.markExports(e,n[r]),q(e.component,r,h=>{h!==e.exports&&d.markExports(e,h)})}e.assignedProperty=o?void 0:r}e.watchExports(()=>{if(n[r]===e.exports)return;let d=e.component.manager;d.internals.setters[r]?.includes(d.internals.readonlySetter)?te(()=>{n[r]=e.exports}):n[r]=e.exports})}var se=(e,t)=>new so(e,t),so=class extends Yt{constructor(e,t){let r="addController"in e,o=new Set;function s(a){o.add(a),!(rt in a)&&e.renderRoot&&e.el.isConnected&&a.hostConnected?.()}function n(a){o.delete(a),a.controllerRemoved?.()}let i=e;if(i.addController=s,i.removeController=n,!r){let a=t??e.constructor.__forceUpdate;i.requestUpdate=()=>a(e)}super(e),this.internals=new Qt(this.component),this.destroyed=!1,this._updatePromise=new b,this._originalLifecycles={},this.isLit=r,this.component.manager=this,Ht(e,r),this._controllers=o,this.exports=void 0,this.hasDestroy=Lt in this.component&&typeof this.component.destroy=="function",this._bindLifecycleMethods();let c=this.internals;Object.keys(c.members).forEach(a=>{c.accessorGetter[a]=oe,c.accessorSetter[a]=oe,c.getSetProxy(a)}),r?this.internals.enabledWatchers=this.internals.allWatchers:Object.defineProperty(e,"updateComplete",{get:async()=>await this._updatePromise.promise}),queueMicrotask(c.enableReadonly),st(void 0),x(e),F.set(e.el,e),F.set(e,e)}_bindLifecycleMethods(){let e=this.component,t=this.isLit,r=e.el===e;this._originalLifecycles={_connectedCallback:t||r?void 0:e.connectedCallback,_disconnectedCallback:t||r?void 0:e.disconnectedCallback,_load:t?e.load:e.componentWillLoad,_loaded:t?e.loaded:e.componentDidLoad,_willUpdate:t?void 0:e.componentWillUpdate,_updated:t?void 0:e.componentDidUpdate,_destroy:e.destroy};let o=this._connectedCallback.bind(this),s=this._disconnectedCallback.bind(this),n=this._update.bind(this),i=this._updated.bind(this);t?e.constructor.prototype.addController.call(e,{hostConnected:o,hostDisconnected:s,hostUpdate:n,hostUpdated:i}):(e.connectedCallback=o,e.disconnectedCallback=s,e.componentWillLoad=this._load.bind(this),e.componentDidLoad=this._loaded.bind(this),e.componentWillUpdate=n,e.componentDidUpdate=i),this.hasDestroy&&(e.destroy=this.destroy.bind(this))}_connectedCallback(){if(this.destroyed){let t=this.component.el.tagName.toLowerCase();throw this.component.el.remove(),new Error(`The ${t} component has already been destroyed. It cannot be used again. If you meant to disconnect and reconnect a component without automatic destroy, set the ${Lt} prop.`)}this._autoDestroyTimeout!==void 0&&clearTimeout(this._autoDestroyTimeout);let e=this.internals;e.enabledWatchers=e.allWatchers,G(),e.enableReadonly?.(),this._controllers.forEach(io),this._originalLifecycles._connectedCallback?.call(this.component)}_disconnectedCallback(){this.destroyed||(this._controllers.forEach(ao),this._originalLifecycles._disconnectedCallback?.call(this.component),this.hasDestroy&&this._setAutoDestroyTimeout())}async _load(){await Promise.allSettled(Array.from(this._controllers,co)),await this._originalLifecycles._load?.call(this.component),this.hasDestroy&&q(this.component,Lt,()=>this._setAutoDestroyTimeout())}_loaded(){this._controllers.forEach(lo),this._originalLifecycles._loaded?.call(this.component)}_update(){let e=this.component;this._controllers.forEach(ho,e.$changes),this._originalLifecycles._willUpdate?.call(this.component)}_updated(){let e=this.component;if(this._controllers.forEach(po,e.$changes),this._originalLifecycles._updated?.call(this.component),this.isLit)e.$changes=new Map;else{let t=this._updatePromise;this._updatePromise=new b,t.resolve(!0)}}async destroy(){if(!this.destroyed){if(this.component.el.isConnected){this.hasDestroy=!1;try{this.component.el.remove()}finally{this.hasDestroy=!0}}this._autoDestroyTimeout=void 0,this.destroyed=!0,this._controllers.forEach(uo),this._controllers.clear(),await this._originalLifecycles._destroy?.call(this.component)}}_setAutoDestroyTimeout(){if(this._autoDestroyTimeout!==void 0&&clearTimeout(this._autoDestroyTimeout),!this.component.el.isConnected&&!this.component.autoDestroyDisabled){let e=()=>void this.destroy().catch(console.error);this._autoDestroyTimeout=It(e,no)}}},Lt="autoDestroyDisabled",no=1e3;var oe=e=>e;function io(e){"triggerConnected"in e?e.triggerConnected():p(e.hostConnected,e)}function ao(e){"triggerDisconnected"in e?e.triggerDisconnected():p(e.hostDisconnected,e)}async function co(e){"triggerLoad"in e?await e.triggerLoad():await W(e.hostLoad,e)}function lo(e){"triggerLoaded"in e?e.triggerLoaded():p(e.hostLoaded,e)}function ho(e){"triggerUpdate"in e?e.triggerUpdate(this):p(e.hostUpdate,e,this)}function po(e){"triggerUpdated"in e?e.triggerUpdated(this):p(e.hostUpdated,e,this)}function uo(e){"triggerDestroy"in e?e.triggerDestroy():p(e.hostDestroy,e)}var ne=e=>mo(void 0,e);var fo=class extends wt{constructor(e,t){super(e);let r=this.exports;try{x(this.component);let o=t(this.component,this),s=this.exports!==r;if(o instanceof Promise){s||this.setProvisionalExports(o);let n=o.then(i=>{this.exports=i,super.catchUpLifecycle()}).catch(i=>{this._ready.reject(i),console.error(i)});this.onLoad(async()=>await n)}else(!s||o!==void 0)&&(this.exports=o),queueMicrotask(()=>super.catchUpLifecycle())}catch(o){this._ready.reject(o),console.error(o)}}catchUpLifecycle(){}},mo=ee(fo);var cr=ne;var hr=e=>(t={})=>ne((r,o)=>{let s=Et(r.el),n={_lang:s.lang,_t9nLocale:s.t9nLocale,_loading:!0},i=r;queueMicrotask(()=>o.onLifecycle(()=>Vt(r.el,e("./assets"),({t9nLocale:a,t9nStrings:l,lang:d})=>{let h={...l,_lang:d,_t9nLocale:a,_loading:!1};o.exports=h;let f=l.componentLabel??l.widgetLabel;typeof f=="string"&&"label"in r&&r.label==null&&(r.label??(r.label=f)),c(i.messageOverrides)},t.name)));function c(a){let l=o.exports,d=l._original??l,h=ie(d,a);a&&(h._original=d),o.exports=h}return"messageOverrides"in i&&o.onLifecycle(()=>q(i,"messageOverrides",c)),t.blocking?(o.setProvisionalExports(n,!1),o.ready):n});function ie(e,t){if(!t)return e;let r={...e};return Object.entries(t).forEach(([o,s])=>{typeof s=="object"?r[o]=ie(e[o],s):r[o]=s??e[o]}),r}var dr=e=>yo,re="arcgisPropertyChange";function yo(...e){let t=I(),o=t[re];return t.manager.isLit&&(o=t.constructor.$createEvent(re,void 0,t)),t.manager.onLoad(()=>t.manager.onLifecycle(()=>e.map(s=>q(t,s,()=>o.emit({name:s}))))),o}var it=globalThis,at=it.ShadowRoot&&(it.ShadyCSS===void 0||it.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Ot=Symbol(),ae=new WeakMap,K=class{constructor(t,r,o){if(this._$cssResult$=!0,o!==Ot)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=r}get styleSheet(){let t=this.o,r=this.t;if(at&&t===void 0){let o=r!==void 0&&r.length===1;o&&(t=ae.get(r)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),o&&ae.set(r,t))}return t}toString(){return this.cssText}},ce=e=>new K(typeof e=="string"?e:e+"",void 0,Ot),go=(e,...t)=>{let r=e.length===1?e[0]:t.reduce((o,s,n)=>o+(i=>{if(i._$cssResult$===!0)return i.cssText;if(typeof i=="number")return i;throw Error("Value passed to 'css' function must be a 'css' function result: "+i+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(s)+e[n+1],e[0]);return new K(r,e,Ot)},St=(e,t)=>{if(at)e.adoptedStyleSheets=t.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of t){let o=document.createElement("style"),s=it.litNonce;s!==void 0&&o.setAttribute("nonce",s),o.textContent=r.cssText,e.appendChild(o)}},ct=at?e=>e:e=>e instanceof CSSStyleSheet?(t=>{let r="";for(let o of t.cssRules)r+=o.cssText;return ce(r)})(e):e;var Tt=globalThis,lt=Tt.trustedTypes,le=lt?lt.createPolicy("lit-html",{createHTML:e=>e}):void 0,xt="$lit$",A=`lit$${Math.random().toFixed(9).slice(2)}$`,Nt="?"+A,vo=`<${Nt}>`,k=document,Y=()=>k.createComment(""),Q=e=>e===null||typeof e!="object"&&typeof e!="function",Dt=Array.isArray,me=e=>Dt(e)||typeof e?.[Symbol.iterator]=="function",Pt=`[
7
7
  \f\r]`,J=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,he=/-->/g,de=/>/g,N=RegExp(`>|${Pt}(?:([^\\s"'>=/]+)(${Pt}*=${Pt}*(?:[^
@@ -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.16
4
+ * v4.32.0-next.17
5
5
  */
6
- import{a as r}from"./B7H7WD4G.js";import"./TOBLLYA5.js";import{W as d}from"./MISEJFJ7.js";import"./ZJD6HG35.js";import{B as a,G as h,o as t,p as e,y as s,z as o}from"./BU7UFQQB.js";var l=e`arcgis-shadow-cast{display:block}`,c=r(d),i=class extends a{constructor(){super(...arguments),this.widget=c(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.discreteOptions=this.viewModel.discreteOptions,this.durationOptions=this.viewModel.durationOptions,this.endTimeOfDay=this.viewModel.endTimeOfDay,this.headingLevel=this.widget.headingLevel,this.hideColorPicker=this.widget.visibleElements.colorPicker,this.hideDatePicker=this.widget.visibleElements.datePicker,this.hideTimeRangeSlider=this.widget.visibleElements.timeRangeSlider,this.hideTimezone=this.widget.visibleElements.timezone,this.hideTooltip=this.widget.visibleElements.tooltip,this.hideVisualizationOptions=this.widget.visibleElements.visualizationOptions,this.icon=this.widget.icon,this.label=this.widget.label,this.position="bottom-left",this.startTimeOfDay=this.viewModel.startTimeOfDay,this.state=this.viewModel.state,this.thresholdOptions=this.viewModel.thresholdOptions,this.utcOffset=this.viewModel.utcOffset,this.visualizationType=this.viewModel.visualizationType,this.arcgisPropertyChange=t()("state"),this.arcgisReady=s()}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=o}static{this.styles=l}async destroy(){await this.manager.destroy()}async getDuration(n){return this.widget?.viewModel.getDuration(n)}async start(){this.widget?.viewModel.start()}async stop(){this.widget?.viewModel.stop()}};h("arcgis-shadow-cast",i);export{i as ArcgisShadowCast};
6
+ import{a as r}from"./VKLAKB6P.js";import"./Y333JIBC.js";import{W as d}from"./GQHP7ZRP.js";import"./7L7IE75K.js";import{B as a,G as h,o as t,p as e,y as s,z as o}from"./OEBOOAS6.js";var l=e`arcgis-shadow-cast{display:block}`,c=r(d),i=class extends a{constructor(){super(...arguments),this.widget=c(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.discreteOptions=this.viewModel.discreteOptions,this.durationOptions=this.viewModel.durationOptions,this.endTimeOfDay=this.viewModel.endTimeOfDay,this.headingLevel=this.widget.headingLevel,this.hideColorPicker=this.widget.visibleElements.colorPicker,this.hideDatePicker=this.widget.visibleElements.datePicker,this.hideTimeRangeSlider=this.widget.visibleElements.timeRangeSlider,this.hideTimezone=this.widget.visibleElements.timezone,this.hideTooltip=this.widget.visibleElements.tooltip,this.hideVisualizationOptions=this.widget.visibleElements.visualizationOptions,this.icon=this.widget.icon,this.label=this.widget.label,this.position="bottom-left",this.startTimeOfDay=this.viewModel.startTimeOfDay,this.state=this.viewModel.state,this.thresholdOptions=this.viewModel.thresholdOptions,this.utcOffset=this.viewModel.utcOffset,this.visualizationType=this.viewModel.visualizationType,this.arcgisPropertyChange=t()("state"),this.arcgisReady=s()}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=o}static{this.styles=l}async destroy(){await this.manager.destroy()}async getDuration(n){return this.widget?.viewModel.getDuration(n)}async start(){this.widget?.viewModel.start()}async stop(){this.widget?.viewModel.stop()}};h("arcgis-shadow-cast",i);export{i as ArcgisShadowCast};
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.32/esri/copyright.txt for details.
4
- * v4.32.0-next.16
4
+ * v4.32.0-next.17
5
5
  */
6
- import{a as h}from"./B7H7WD4G.js";import"./TOBLLYA5.js";import{I as n}from"./MISEJFJ7.js";import"./ZJD6HG35.js";import{B as o,G as r,o as i,p as s,y as e,z as a}from"./BU7UFQQB.js";var d=s`arcgis-histogram{display:block}`,g=h(n),t=class extends o{constructor(){super(...arguments),this.widget=g(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.average=this.widget.average,this.barCreatedFunction=this.widget.barCreatedFunction,this.bins=this.widget.bins,this.dataLineCreatedFunction=this.widget.dataLineCreatedFunction,this.dataLines=this.widget.dataLines,this.icon=this.widget.icon,this.label=this.widget.label,this.labelFormatFunction=this.widget.labelFormatFunction,this.layout=this.widget.layout,this.max=this.widget.max,this.min=this.widget.min,this.position="bottom-left",this.state=this.widget.state,this.arcgisPropertyChange=i()("state"),this.arcgisReady=e()}static{this.properties={autoDestroyDisabled:5,average:9,barCreatedFunction:0,bins:0,dataLineCreatedFunction:0,dataLines:0,icon:1,label:1,labelFormatFunction:0,layout:1,max:9,min:9,position:1,referenceElement:1,state:3}}static{this.shadowRootOptions=a}static{this.styles=d}async destroy(){await this.manager.destroy()}};r("arcgis-histogram",t);export{t as ArcgisHistogram};
6
+ import{a as h}from"./VKLAKB6P.js";import"./Y333JIBC.js";import{I as n}from"./GQHP7ZRP.js";import"./7L7IE75K.js";import{B as o,G as r,o as i,p as s,y as e,z as a}from"./OEBOOAS6.js";var d=s`arcgis-histogram{display:block}`,g=h(n),t=class extends o{constructor(){super(...arguments),this.widget=g(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.average=this.widget.average,this.barCreatedFunction=this.widget.barCreatedFunction,this.bins=this.widget.bins,this.dataLineCreatedFunction=this.widget.dataLineCreatedFunction,this.dataLines=this.widget.dataLines,this.icon=this.widget.icon,this.label=this.widget.label,this.labelFormatFunction=this.widget.labelFormatFunction,this.layout=this.widget.layout,this.max=this.widget.max,this.min=this.widget.min,this.position="bottom-left",this.state=this.widget.state,this.arcgisPropertyChange=i()("state"),this.arcgisReady=e()}static{this.properties={autoDestroyDisabled:5,average:9,barCreatedFunction:0,bins:0,dataLineCreatedFunction:0,dataLines:0,icon:1,label:1,labelFormatFunction:0,layout:1,max:9,min:9,position:1,referenceElement:1,state:3}}static{this.shadowRootOptions=a}static{this.styles=d}async destroy(){await this.manager.destroy()}};r("arcgis-histogram",t);export{t as ArcgisHistogram};
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.32/esri/copyright.txt for details.
4
- * v4.32.0-next.16
4
+ * v4.32.0-next.17
5
5
  */
6
- import{a as o}from"./2ZHISQJN.js";import{a as p,b as f}from"./RAFPWR72.js";import"./TOBLLYA5.js";import{H as g}from"./MISEJFJ7.js";import"./ZJD6HG35.js";import{B as m,C as i,E as h,G as u,a as r,o as l,p as n,q as s,y as c,z as d}from"./BU7UFQQB.js";var v=n`arcgis-fullscreen{display:block}`,M={base:"esri-fullscreen"},$=f(g),a=class extends m{constructor(){super(...arguments),this.messages=p(),this.viewModel=$(this),this.autoDestroyDisabled=!1,this.element=this.viewModel.element,this.icon="zoom-out-fixed",this.position="top-left",this.state=this.viewModel.state,this.arcgisPropertyChange=l()("state"),this.arcgisReady=c()}static{this.properties={autoDestroyDisabled:5,element:0,icon:3,label:1,messageOverrides:0,position:3,referenceElement:1,state:3}}static{this.shadowRootOptions=d}static{this.styles=v}get fullscreenTitle(){let e=this.viewModel?.state;return e==="active"?this.messages.exit:e==="ready"?this.messages.enter:""}async destroy(){await this.manager.destroy()}_toggle(){this.viewModel.toggle()}render(){let{fullscreenTitle:e,icon:w}=this,t=this.viewModel?.state,b=t==="feature-unsupported",y=t==="ready"||t==="disabled"||t==="feature-unsupported"?"zoom-out-fixed":"zoom-in-fixed";return s`<div class=${i(r(M.base,o.widget))}>${!b&&s`<calcite-button class=${i(o.widgetButton)} .disabled=${t==="disabled"} .iconStart=${w??y} kind=neutral .label=${e} @click=${this._toggle} title=${e??h}></calcite-button>`||""}</div>`}};u("arcgis-fullscreen",a);export{a as ArcgisFullscreen};
6
+ import{a as o}from"./4NVLQSVJ.js";import{a as p,b as f}from"./R7SMLFH3.js";import"./Y333JIBC.js";import{H as g}from"./GQHP7ZRP.js";import"./7L7IE75K.js";import{B as m,C as i,E as h,G as u,a as r,o as l,p as n,q as s,y as c,z as d}from"./OEBOOAS6.js";var v=n`arcgis-fullscreen{display:block}`,M={base:"esri-fullscreen"},$=f(g),a=class extends m{constructor(){super(...arguments),this.messages=p(),this.viewModel=$(this),this.autoDestroyDisabled=!1,this.element=this.viewModel.element,this.icon="zoom-out-fixed",this.position="top-left",this.state=this.viewModel.state,this.arcgisPropertyChange=l()("state"),this.arcgisReady=c()}static{this.properties={autoDestroyDisabled:5,element:0,icon:3,label:1,messageOverrides:0,position:3,referenceElement:1,state:3}}static{this.shadowRootOptions=d}static{this.styles=v}get fullscreenTitle(){let e=this.viewModel?.state;return e==="active"?this.messages.exit:e==="ready"?this.messages.enter:""}async destroy(){await this.manager.destroy()}_toggle(){this.viewModel.toggle()}render(){let{fullscreenTitle:e,icon:w}=this,t=this.viewModel?.state,b=t==="feature-unsupported",y=t==="ready"||t==="disabled"||t==="feature-unsupported"?"zoom-out-fixed":"zoom-in-fixed";return s`<div class=${i(r(M.base,o.widget))}>${!b&&s`<calcite-button class=${i(o.widgetButton)} .disabled=${t==="disabled"} .iconStart=${w??y} kind=neutral .label=${e} @click=${this._toggle} title=${e??h}></calcite-button>`||""}</div>`}};u("arcgis-fullscreen",a);export{a as ArcgisFullscreen};
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.32/esri/copyright.txt for details.
4
- * v4.32.0-next.16
4
+ * v4.32.0-next.17
5
5
  */
6
- import{a as h}from"./B7H7WD4G.js";import"./TOBLLYA5.js";import{i as n}from"./MISEJFJ7.js";import"./ZJD6HG35.js";import{B as o,G as r,o as s,p as e,y as i,z as a}from"./BU7UFQQB.js";var m=e`arcgis-area-measurement-2d{display:block}`,c=h(n),t=class extends o{constructor(){super(...arguments),this.widget=c(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.icon=this.widget.icon,this.label=this.widget.label,this.position="bottom-left",this.state=this.viewModel.state,this.unit=this.widget.unit,this.unitOptions=this.widget.unitOptions,this.arcgisPropertyChange=s()("state"),this.arcgisReady=i()}static{this.properties={autoDestroyDisabled:5,icon:1,label:1,position:1,referenceElement:1,state:3,unit:1,unitOptions:0}}static{this.shadowRootOptions=a}static{this.styles=m}async destroy(){await this.manager.destroy()}};r("arcgis-area-measurement-2d",t);export{t as ArcgisAreaMeasurement2d};
6
+ import{a as h}from"./VKLAKB6P.js";import"./Y333JIBC.js";import{i as n}from"./GQHP7ZRP.js";import"./7L7IE75K.js";import{B as o,G as r,o as s,p as e,y as i,z as a}from"./OEBOOAS6.js";var m=e`arcgis-area-measurement-2d{display:block}`,c=h(n),t=class extends o{constructor(){super(...arguments),this.widget=c(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.icon=this.widget.icon,this.label=this.widget.label,this.position="bottom-left",this.state=this.viewModel.state,this.unit=this.widget.unit,this.unitOptions=this.widget.unitOptions,this.arcgisPropertyChange=s()("state"),this.arcgisReady=i()}static{this.properties={autoDestroyDisabled:5,icon:1,label:1,position:1,referenceElement:1,state:3,unit:1,unitOptions:0}}static{this.shadowRootOptions=a}static{this.styles=m}async destroy(){await this.manager.destroy()}};r("arcgis-area-measurement-2d",t);export{t as ArcgisAreaMeasurement2d};
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.32/esri/copyright.txt for details.
4
- * v4.32.0-next.16
4
+ * v4.32.0-next.17
5
5
  */
6
- import{a as b}from"./3AZ6NFON.js";import{b as w}from"./XDAHKJZ7.js";import{da as o,ja as d}from"./MISEJFJ7.js";import{a as c,b as n,c as g,i as p}from"./ZJD6HG35.js";import{B as h,G as l,q as a,y as t,z as r}from"./BU7UFQQB.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"./25V6UTQJ.js";import{b as w}from"./MQ7MCQ4G.js";import{da as o,ja as d}from"./GQHP7ZRP.js";import{a as c,b as n,c as g,i as p}from"./7L7IE75K.js";import{B as h,G as l,q as a,y as t,z as r}from"./OEBOOAS6.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.16
4
+ * v4.32.0-next.17
5
5
  */
6
- import{a as d}from"./2ZHISQJN.js";import{a as k,b as C}from"./RAFPWR72.js";import"./TOBLLYA5.js";import{la as S,n as M}from"./MISEJFJ7.js";import"./ZJD6HG35.js";import{B as T,C as a,D as p,E as o,G as x,a as m,m as y,o as _,p as w,q as l,y as B,z as f}from"./BU7UFQQB.js";var t="esri-basemap-toggle",r="esri-basemap-thumbnail",e={base:t,secondaryBasemapImage:`${t}__image--secondary`,container:`${r} ${t}__container`,image:`${r}__image ${t}__image`,imageLoading:`${t}__image--loading`,overlay:`${r}__overlay ${t}__image-overlay`,title:`${r}__title ${t}__title`,overlayScrim:`${r}__overlay-scrim`},L=w`arcgis-basemap-toggle{display:block}`,R=C(M),g=class extends T{constructor(){super(...arguments),this.basemapUtils=y(S),this.messages=k(),this.viewModel=R(this),this.activeBasemap=this.viewModel.activeBasemap,this.autoDestroyDisabled=!1,this.icon="layer-basemap",this.nextBasemap=this.viewModel.nextBasemap,this.position="top-left",this.showTitle=!1,this.state=this.viewModel.state,this.arcgisPropertyChange=_()("nextBasemap","state"),this.arcgisReady=B()}static{this.properties={activeBasemap:0,autoDestroyDisabled:5,icon:3,label:1,messageOverrides:0,nextBasemap:0,position:3,referenceElement:1,showTitle:5,state:3}}static{this.shadowRootOptions=f}static{this.styles=L}async destroy(){await this.manager.destroy()}async toggle(){return await this.viewModel.toggle()}_getThumbnailStyles(s){let n=this.basemapUtils.getBasemapThumbnailUrl(s);return n?{backgroundImage:`url(${n})`}:{backgroundImage:""}}render(){let s=this.viewModel,n=s.state==="disabled"?null:s.activeBasemap,i=s.state==="disabled"?null:s.nextBasemap,D=s.state==="loading",h=s.state==="incompatible-next-basemap",c=i?.title??"",$=i&&i.loadStatus!=="loaded",v,b=this.showTitle&&c,u=h,I=b||u,U=this._getThumbnailStyles(n),A=this._getThumbnailStyles(i);return I&&(v=l`<div class=${a(e.overlay)}>${b?l`<span class=${a(e.title)} title=${c??o}>${c}</span>`:null}${u?l`<calcite-scrim class=${a(e.overlayScrim)} title=${this.messages.incompatibleSpatialReference??o}><calcite-icon icon=exclamation-mark-triangle></calcite-icon></calcite-scrim>`:null}</div>`),l`<div class=${a(m(e.base,d.widget))}><calcite-button appearance=transparent data-basemap-id=${(i?i.id:"")??o} .disabled=${h} kind=neutral .label=${this.label??void 0} @click=${()=>void this.toggle()} title=${this.label??void 0??o}><div class=${a(m(e.container,e.secondaryBasemapImage))}><div class=${a(e.image)} style=${p(U)}></div></div><div class=${a(e.container)}><div class=${a(m(e.image,$?e.imageLoading:null))} style=${p(A)}>${$||D?l`<calcite-scrim><span aria-hidden=true class=${a(d.loaderAnimation)} role=presentation></span></calcite-scrim>`:null}</div>${v}</div></calcite-button></div>`}};x("arcgis-basemap-toggle",g);export{g as ArcgisBasemapToggle};
6
+ import{a as d}from"./4NVLQSVJ.js";import{a as k,b as C}from"./R7SMLFH3.js";import"./Y333JIBC.js";import{la as S,n as M}from"./GQHP7ZRP.js";import"./7L7IE75K.js";import{B as T,C as a,D as p,E as o,G as x,a as m,m as y,o as _,p as w,q as l,y as B,z as f}from"./OEBOOAS6.js";var t="esri-basemap-toggle",r="esri-basemap-thumbnail",e={base:t,secondaryBasemapImage:`${t}__image--secondary`,container:`${r} ${t}__container`,image:`${r}__image ${t}__image`,imageLoading:`${t}__image--loading`,overlay:`${r}__overlay ${t}__image-overlay`,title:`${r}__title ${t}__title`,overlayScrim:`${r}__overlay-scrim`},L=w`arcgis-basemap-toggle{display:block}`,R=C(M),g=class extends T{constructor(){super(...arguments),this.basemapUtils=y(S),this.messages=k(),this.viewModel=R(this),this.activeBasemap=this.viewModel.activeBasemap,this.autoDestroyDisabled=!1,this.icon="layer-basemap",this.nextBasemap=this.viewModel.nextBasemap,this.position="top-left",this.showTitle=!1,this.state=this.viewModel.state,this.arcgisPropertyChange=_()("nextBasemap","state"),this.arcgisReady=B()}static{this.properties={activeBasemap:0,autoDestroyDisabled:5,icon:3,label:1,messageOverrides:0,nextBasemap:0,position:3,referenceElement:1,showTitle:5,state:3}}static{this.shadowRootOptions=f}static{this.styles=L}async destroy(){await this.manager.destroy()}async toggle(){return await this.viewModel.toggle()}_getThumbnailStyles(s){let n=this.basemapUtils.getBasemapThumbnailUrl(s);return n?{backgroundImage:`url(${n})`}:{backgroundImage:""}}render(){let s=this.viewModel,n=s.state==="disabled"?null:s.activeBasemap,i=s.state==="disabled"?null:s.nextBasemap,D=s.state==="loading",h=s.state==="incompatible-next-basemap",c=i?.title??"",$=i&&i.loadStatus!=="loaded",v,b=this.showTitle&&c,u=h,I=b||u,U=this._getThumbnailStyles(n),A=this._getThumbnailStyles(i);return I&&(v=l`<div class=${a(e.overlay)}>${b?l`<span class=${a(e.title)} title=${c??o}>${c}</span>`:null}${u?l`<calcite-scrim class=${a(e.overlayScrim)} title=${this.messages.incompatibleSpatialReference??o}><calcite-icon icon=exclamation-mark-triangle></calcite-icon></calcite-scrim>`:null}</div>`),l`<div class=${a(m(e.base,d.widget))}><calcite-button appearance=transparent data-basemap-id=${(i?i.id:"")??o} .disabled=${h} kind=neutral .label=${this.label??void 0} @click=${()=>void this.toggle()} title=${this.label??void 0??o}><div class=${a(m(e.container,e.secondaryBasemapImage))}><div class=${a(e.image)} style=${p(U)}></div></div><div class=${a(e.container)}><div class=${a(m(e.image,$?e.imageLoading:null))} style=${p(A)}>${$||D?l`<calcite-scrim><span aria-hidden=true class=${a(d.loaderAnimation)} role=presentation></span></calcite-scrim>`:null}</div>${v}</div></calcite-button></div>`}};x("arcgis-basemap-toggle",g);export{g as ArcgisBasemapToggle};
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.32/esri/copyright.txt for details.
4
- * v4.32.0-next.16
4
+ * v4.32.0-next.17
5
5
  */
6
- import{a as h}from"./B7H7WD4G.js";import"./TOBLLYA5.js";import{N as n}from"./MISEJFJ7.js";import"./ZJD6HG35.js";import{B as o,G as r,o as s,p as i,y as e,z as a}from"./BU7UFQQB.js";var l=i`arcgis-line-of-sight{display:block}`,c=h(n),t=class extends o{constructor(){super(...arguments),this.widget=c(this),this.viewModel=this.widget.viewModel,this.analysis=this.widget.analysis,this.autoDestroyDisabled=!1,this.icon=this.widget.icon,this.label=this.widget.label,this.position="bottom-left",this.state=this.viewModel.state,this.arcgisPropertyChange=s()("analysis","state"),this.arcgisReady=e()}static{this.properties={analysis:0,autoDestroyDisabled:5,icon:1,label:1,position:1,referenceElement:1,state:3}}static{this.shadowRootOptions=a}static{this.styles=l}async clear(){this.widget?.viewModel.clear()}async continue(){this.widget?.viewModel.continue()}async destroy(){await this.manager.destroy()}async start(){this.widget?.viewModel.start()}async stop(){this.widget?.viewModel.stop()}};r("arcgis-line-of-sight",t);export{t as ArcgisLineOfSight};
6
+ import{a as h}from"./VKLAKB6P.js";import"./Y333JIBC.js";import{N as n}from"./GQHP7ZRP.js";import"./7L7IE75K.js";import{B as o,G as r,o as s,p as i,y as e,z as a}from"./OEBOOAS6.js";var l=i`arcgis-line-of-sight{display:block}`,c=h(n),t=class extends o{constructor(){super(...arguments),this.widget=c(this),this.viewModel=this.widget.viewModel,this.analysis=this.widget.analysis,this.autoDestroyDisabled=!1,this.icon=this.widget.icon,this.label=this.widget.label,this.position="bottom-left",this.state=this.viewModel.state,this.arcgisPropertyChange=s()("analysis","state"),this.arcgisReady=e()}static{this.properties={analysis:0,autoDestroyDisabled:5,icon:1,label:1,position:1,referenceElement:1,state:3}}static{this.shadowRootOptions=a}static{this.styles=l}async clear(){this.widget?.viewModel.clear()}async continue(){this.widget?.viewModel.continue()}async destroy(){await this.manager.destroy()}async start(){this.widget?.viewModel.start()}async stop(){this.widget?.viewModel.stop()}};r("arcgis-line-of-sight",t);export{t as ArcgisLineOfSight};
@@ -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.16
4
+ * v4.32.0-next.17
5
5
  */
6
- import{a as fe,b as pe}from"./XDAHKJZ7.js";import{a as L}from"./2ZHISQJN.js";import{a as ce,b as le}from"./RAFPWR72.js";import{d as se}from"./TOBLLYA5.js";import{K as ue}from"./MISEJFJ7.js";import"./ZJD6HG35.js";import{B as oe,C as D,E as ae,G as ie,a as G,b as K,o as J,p as X,q as $,r as Z,s as Q,v as ee,w as te,y as ne,z as re}from"./BU7UFQQB.js";var we=Symbol.for(""),Se=u=>{if(u?.r===we)return u?._$litStatic$};var de=new Map,N=u=>(i,...m)=>{let d=m.length,v,g,b=[],R=[],w,h=0,O=!1;for(;h<d;){for(w=i[h];h<d&&(g=m[h],(v=Se(g))!==void 0);)w+=v+i[++h],O=!0;h!==d&&R.push(g),b.push(w),h++}if(h===d&&b.push(i[d]),O){let S=b.join("$$lit$$");(i=de.get(S))===void 0&&(b.raw=b,de.set(S,i=b)),m=R}return u(i,...m)},De=N($),Le=N(Z),Ne=N(Q);var n={};var ye;function Re(){if(ye)return n;ye=1;var u=Symbol.for("react.element"),i=Symbol.for("react.portal"),m=Symbol.for("react.fragment"),d=Symbol.for("react.strict_mode"),v=Symbol.for("react.profiler"),g=Symbol.for("react.provider"),b=Symbol.for("react.context"),R=Symbol.for("react.forward_ref"),w=Symbol.for("react.suspense"),h=Symbol.for("react.memo"),O=Symbol.for("react.lazy"),S=Symbol.iterator;function ve(e){return e===null||typeof e!="object"?null:(e=S&&e[S]||e["@@iterator"],typeof e=="function"?e:null)}var V={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},F=Object.assign,A={};function _(e,t,r){this.props=e,this.context=t,this.refs=A,this.updater=r||V}_.prototype.isReactComponent={},_.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},_.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function U(){}U.prototype=_.prototype;function j(e,t,r){this.props=e,this.context=t,this.refs=A,this.updater=r||V}var T=j.prototype=new U;T.constructor=j,F(T,_.prototype),T.isPureReactComponent=!0;var B=Array.isArray,z=Object.prototype.hasOwnProperty,P={current:null},H={key:!0,ref:!0,__self:!0,__source:!0};function W(e,t,r){var a,o={},c=null,f=null;if(t!=null)for(a in t.ref!==void 0&&(f=t.ref),t.key!==void 0&&(c=""+t.key),t)z.call(t,a)&&!H.hasOwnProperty(a)&&(o[a]=t[a]);var l=arguments.length-2;if(l===1)o.children=r;else if(1<l){for(var s=Array(l),y=0;y<l;y++)s[y]=arguments[y+2];o.children=s}if(e&&e.defaultProps)for(a in l=e.defaultProps,l)o[a]===void 0&&(o[a]=l[a]);return{$$typeof:u,type:e,key:c,ref:f,props:o,_owner:P.current}}function he(e,t){return{$$typeof:u,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function x(e){return typeof e=="object"&&e!==null&&e.$$typeof===u}function ge(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(r){return t[r]})}var Y=/\/+/g;function I(e,t){return typeof e=="object"&&e!==null&&e.key!=null?ge(""+e.key):t.toString(36)}function k(e,t,r,a,o){var c=typeof e;(c==="undefined"||c==="boolean")&&(e=null);var f=!1;if(e===null)f=!0;else switch(c){case"string":case"number":f=!0;break;case"object":switch(e.$$typeof){case u:case i:f=!0}}if(f)return f=e,o=o(f),e=a===""?"."+I(f,0):a,B(o)?(r="",e!=null&&(r=e.replace(Y,"$&/")+"/"),k(o,t,r,"",function(y){return y})):o!=null&&(x(o)&&(o=he(o,r+(!o.key||f&&f.key===o.key?"":(""+o.key).replace(Y,"$&/")+"/")+e)),t.push(o)),1;if(f=0,a=a===""?".":a+":",B(e))for(var l=0;l<e.length;l++){c=e[l];var s=a+I(c,l);f+=k(c,t,r,s,o)}else if(s=ve(e),typeof s=="function")for(e=s.call(e),l=0;!(c=e.next()).done;)c=c.value,s=a+I(c,l++),f+=k(c,t,r,s,o);else if(c==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return f}function E(e,t,r){if(e==null)return e;var a=[],o=0;return k(e,a,"","",function(c){return t.call(r,c,o++)}),a}function be(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(r){(e._status===0||e._status===-1)&&(e._status=1,e._result=r)},function(r){(e._status===0||e._status===-1)&&(e._status=2,e._result=r)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var p={current:null},C={transition:null},_e={ReactCurrentDispatcher:p,ReactCurrentBatchConfig:C,ReactCurrentOwner:P};function q(){throw Error("act(...) is not supported in production builds of React.")}return n.Children={map:E,forEach:function(e,t,r){E(e,function(){t.apply(this,arguments)},r)},count:function(e){var t=0;return E(e,function(){t++}),t},toArray:function(e){return E(e,function(t){return t})||[]},only:function(e){if(!x(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},n.Component=_,n.Fragment=m,n.Profiler=v,n.PureComponent=j,n.StrictMode=d,n.Suspense=w,n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=_e,n.act=q,n.cloneElement=function(e,t,r){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var a=F({},e.props),o=e.key,c=e.ref,f=e._owner;if(t!=null){if(t.ref!==void 0&&(c=t.ref,f=P.current),t.key!==void 0&&(o=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(s in t)z.call(t,s)&&!H.hasOwnProperty(s)&&(a[s]=t[s]===void 0&&l!==void 0?l[s]:t[s])}var s=arguments.length-2;if(s===1)a.children=r;else if(1<s){l=Array(s);for(var y=0;y<s;y++)l[y]=arguments[y+2];a.children=l}return{$$typeof:u,type:e.type,key:o,ref:c,props:a,_owner:f}},n.createContext=function(e){return e={$$typeof:b,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:g,_context:e},e.Consumer=e},n.createElement=W,n.createFactory=function(e){var t=W.bind(null,e);return t.type=e,t},n.createRef=function(){return{current:null}},n.forwardRef=function(e){return{$$typeof:R,render:e}},n.isValidElement=x,n.lazy=function(e){return{$$typeof:O,_payload:{_status:-1,_result:e},_init:be}},n.memo=function(e,t){return{$$typeof:h,type:e,compare:t===void 0?null:t}},n.startTransition=function(e){var t=C.transition;C.transition={};try{e()}finally{C.transition=t}},n.unstable_act=q,n.useCallback=function(e,t){return p.current.useCallback(e,t)},n.useContext=function(e){return p.current.useContext(e)},n.useDebugValue=function(){},n.useDeferredValue=function(e){return p.current.useDeferredValue(e)},n.useEffect=function(e,t){return p.current.useEffect(e,t)},n.useId=function(){return p.current.useId()},n.useImperativeHandle=function(e,t,r){return p.current.useImperativeHandle(e,t,r)},n.useInsertionEffect=function(e,t){return p.current.useInsertionEffect(e,t)},n.useLayoutEffect=function(e,t){return p.current.useLayoutEffect(e,t)},n.useMemo=function(e,t){return p.current.useMemo(e,t)},n.useReducer=function(e,t,r){return p.current.useReducer(e,t,r)},n.useRef=function(e){return p.current.useRef(e)},n.useState=function(e){return p.current.useState(e)},n.useSyncExternalStore=function(e,t,r){return p.current.useSyncExternalStore(e,t,r)},n.useTransition=function(){return p.current.useTransition()},n.version="18.3.1",n}var Oe={exports:{}};Oe.exports;Re();var me=(()=>{let u;return typeof window<"u"?u=window:typeof globalThis<"u"?u=globalThis:typeof global<"u"?u=global:typeof self<"u"?u=self:u={},u})(),{window:ke}=me;ke.STORYBOOK_ENV="web-components";var{window:Ee,EventSource:Ce}=me;typeof module<"u"&&module?.hot?.decline&&(module.hot.decline(),new Ce("__webpack_hmr").addEventListener("message",function(u){try{let{action:i}=JSON.parse(u.data);i==="built"&&Ee.location.reload()}catch{}}));var $e=new Set(["componentName","view","itemId","mapItemId","sceneItemId"]),je=class extends te{update(u,i){let[m]=i,d=u;Object.entries(m).forEach(([v,g])=>{$e.has(v)||g==="false"||g===!1||d.element.setAttribute(K(v),String(g))})}};ee(je);var Te=X`arcgis-home{display:block}`,Pe={base:"esri-home"},xe=le(ue),M=class extends oe{constructor(){super(...arguments),this.messages=ce(),this.viewModel=xe(this),this._calciteButton=fe(),this.autoDestroyDisabled=!1,this.goToOverride=this.viewModel.goToOverride,this.icon="home",this.position="top-left",this.state=this.viewModel.state,this.viewpoint=this.viewModel.viewpoint,this.arcgisGo=se(()=>this.viewModel,"go"),this.arcgisPropertyChange=J()("state"),this.arcgisReady=ne()}static{this.properties={autoDestroyDisabled:5,goToOverride:0,icon:3,label:1,messageOverrides:0,position:3,referenceElement:1,state:3,viewpoint:0}}static{this.shadowRootOptions=re}static{this.styles=Te}async cancelGo(){this.viewModel.cancelGo()}async destroy(){await this.manager.destroy()}async go(){return this.viewModel.go()}updated(){if(this._calciteButton.value)if(this.viewModel?.state==="going-home"){if(!this._calciteButton.value.children[0]){let i=document.createElement("calcite-loader");i.inline=!0,i.label="",this._calciteButton.value.append(i)}}else this._calciteButton.value.children[0]?.remove()}_go(){let{viewModel:i}=this;i.state==="going-home"?i.cancelGo():i.go()}render(){let{messages:i,icon:m}=this,d=this.viewModel?.state,v=d==="going-home";return $`<div class=${D(G(Pe.base,L.widget))}><calcite-button class=${D(L.widgetButton)} .disabled=${d==="disabled"} .iconStart=${v?void 0:m??void 0} kind=neutral .label=${i.componentLabel} @click=${this._go} .scale=${v?"s":"m"} title=${(d==="going-home"?i.cancel:i.title)??ae} ${pe(this._calciteButton)}></calcite-button></div>`}};ie("arcgis-home",M);export{M as ArcgisHome};
6
+ import{a as fe,b as pe}from"./MQ7MCQ4G.js";import{a as L}from"./4NVLQSVJ.js";import{a as ce,b as le}from"./R7SMLFH3.js";import{d as se}from"./Y333JIBC.js";import{K as ue}from"./GQHP7ZRP.js";import"./7L7IE75K.js";import{B as oe,C as D,E as ae,G as ie,a as G,b as K,o as J,p as X,q as $,r as Z,s as Q,v as ee,w as te,y as ne,z as re}from"./OEBOOAS6.js";var we=Symbol.for(""),Se=u=>{if(u?.r===we)return u?._$litStatic$};var de=new Map,N=u=>(i,...m)=>{let d=m.length,v,g,b=[],R=[],w,h=0,O=!1;for(;h<d;){for(w=i[h];h<d&&(g=m[h],(v=Se(g))!==void 0);)w+=v+i[++h],O=!0;h!==d&&R.push(g),b.push(w),h++}if(h===d&&b.push(i[d]),O){let S=b.join("$$lit$$");(i=de.get(S))===void 0&&(b.raw=b,de.set(S,i=b)),m=R}return u(i,...m)},De=N($),Le=N(Z),Ne=N(Q);var n={};var ye;function Re(){if(ye)return n;ye=1;var u=Symbol.for("react.element"),i=Symbol.for("react.portal"),m=Symbol.for("react.fragment"),d=Symbol.for("react.strict_mode"),v=Symbol.for("react.profiler"),g=Symbol.for("react.provider"),b=Symbol.for("react.context"),R=Symbol.for("react.forward_ref"),w=Symbol.for("react.suspense"),h=Symbol.for("react.memo"),O=Symbol.for("react.lazy"),S=Symbol.iterator;function ve(e){return e===null||typeof e!="object"?null:(e=S&&e[S]||e["@@iterator"],typeof e=="function"?e:null)}var V={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},F=Object.assign,A={};function _(e,t,r){this.props=e,this.context=t,this.refs=A,this.updater=r||V}_.prototype.isReactComponent={},_.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},_.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function U(){}U.prototype=_.prototype;function j(e,t,r){this.props=e,this.context=t,this.refs=A,this.updater=r||V}var T=j.prototype=new U;T.constructor=j,F(T,_.prototype),T.isPureReactComponent=!0;var B=Array.isArray,z=Object.prototype.hasOwnProperty,P={current:null},H={key:!0,ref:!0,__self:!0,__source:!0};function W(e,t,r){var a,o={},c=null,f=null;if(t!=null)for(a in t.ref!==void 0&&(f=t.ref),t.key!==void 0&&(c=""+t.key),t)z.call(t,a)&&!H.hasOwnProperty(a)&&(o[a]=t[a]);var l=arguments.length-2;if(l===1)o.children=r;else if(1<l){for(var s=Array(l),y=0;y<l;y++)s[y]=arguments[y+2];o.children=s}if(e&&e.defaultProps)for(a in l=e.defaultProps,l)o[a]===void 0&&(o[a]=l[a]);return{$$typeof:u,type:e,key:c,ref:f,props:o,_owner:P.current}}function he(e,t){return{$$typeof:u,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function x(e){return typeof e=="object"&&e!==null&&e.$$typeof===u}function ge(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(r){return t[r]})}var Y=/\/+/g;function I(e,t){return typeof e=="object"&&e!==null&&e.key!=null?ge(""+e.key):t.toString(36)}function k(e,t,r,a,o){var c=typeof e;(c==="undefined"||c==="boolean")&&(e=null);var f=!1;if(e===null)f=!0;else switch(c){case"string":case"number":f=!0;break;case"object":switch(e.$$typeof){case u:case i:f=!0}}if(f)return f=e,o=o(f),e=a===""?"."+I(f,0):a,B(o)?(r="",e!=null&&(r=e.replace(Y,"$&/")+"/"),k(o,t,r,"",function(y){return y})):o!=null&&(x(o)&&(o=he(o,r+(!o.key||f&&f.key===o.key?"":(""+o.key).replace(Y,"$&/")+"/")+e)),t.push(o)),1;if(f=0,a=a===""?".":a+":",B(e))for(var l=0;l<e.length;l++){c=e[l];var s=a+I(c,l);f+=k(c,t,r,s,o)}else if(s=ve(e),typeof s=="function")for(e=s.call(e),l=0;!(c=e.next()).done;)c=c.value,s=a+I(c,l++),f+=k(c,t,r,s,o);else if(c==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return f}function E(e,t,r){if(e==null)return e;var a=[],o=0;return k(e,a,"","",function(c){return t.call(r,c,o++)}),a}function be(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(r){(e._status===0||e._status===-1)&&(e._status=1,e._result=r)},function(r){(e._status===0||e._status===-1)&&(e._status=2,e._result=r)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var p={current:null},C={transition:null},_e={ReactCurrentDispatcher:p,ReactCurrentBatchConfig:C,ReactCurrentOwner:P};function q(){throw Error("act(...) is not supported in production builds of React.")}return n.Children={map:E,forEach:function(e,t,r){E(e,function(){t.apply(this,arguments)},r)},count:function(e){var t=0;return E(e,function(){t++}),t},toArray:function(e){return E(e,function(t){return t})||[]},only:function(e){if(!x(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},n.Component=_,n.Fragment=m,n.Profiler=v,n.PureComponent=j,n.StrictMode=d,n.Suspense=w,n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=_e,n.act=q,n.cloneElement=function(e,t,r){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var a=F({},e.props),o=e.key,c=e.ref,f=e._owner;if(t!=null){if(t.ref!==void 0&&(c=t.ref,f=P.current),t.key!==void 0&&(o=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(s in t)z.call(t,s)&&!H.hasOwnProperty(s)&&(a[s]=t[s]===void 0&&l!==void 0?l[s]:t[s])}var s=arguments.length-2;if(s===1)a.children=r;else if(1<s){l=Array(s);for(var y=0;y<s;y++)l[y]=arguments[y+2];a.children=l}return{$$typeof:u,type:e.type,key:o,ref:c,props:a,_owner:f}},n.createContext=function(e){return e={$$typeof:b,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:g,_context:e},e.Consumer=e},n.createElement=W,n.createFactory=function(e){var t=W.bind(null,e);return t.type=e,t},n.createRef=function(){return{current:null}},n.forwardRef=function(e){return{$$typeof:R,render:e}},n.isValidElement=x,n.lazy=function(e){return{$$typeof:O,_payload:{_status:-1,_result:e},_init:be}},n.memo=function(e,t){return{$$typeof:h,type:e,compare:t===void 0?null:t}},n.startTransition=function(e){var t=C.transition;C.transition={};try{e()}finally{C.transition=t}},n.unstable_act=q,n.useCallback=function(e,t){return p.current.useCallback(e,t)},n.useContext=function(e){return p.current.useContext(e)},n.useDebugValue=function(){},n.useDeferredValue=function(e){return p.current.useDeferredValue(e)},n.useEffect=function(e,t){return p.current.useEffect(e,t)},n.useId=function(){return p.current.useId()},n.useImperativeHandle=function(e,t,r){return p.current.useImperativeHandle(e,t,r)},n.useInsertionEffect=function(e,t){return p.current.useInsertionEffect(e,t)},n.useLayoutEffect=function(e,t){return p.current.useLayoutEffect(e,t)},n.useMemo=function(e,t){return p.current.useMemo(e,t)},n.useReducer=function(e,t,r){return p.current.useReducer(e,t,r)},n.useRef=function(e){return p.current.useRef(e)},n.useState=function(e){return p.current.useState(e)},n.useSyncExternalStore=function(e,t,r){return p.current.useSyncExternalStore(e,t,r)},n.useTransition=function(){return p.current.useTransition()},n.version="18.3.1",n}var Oe={exports:{}};Oe.exports;Re();var me=(()=>{let u;return typeof window<"u"?u=window:typeof globalThis<"u"?u=globalThis:typeof global<"u"?u=global:typeof self<"u"?u=self:u={},u})(),{window:ke}=me;ke.STORYBOOK_ENV="web-components";var{window:Ee,EventSource:Ce}=me;typeof module<"u"&&module?.hot?.decline&&(module.hot.decline(),new Ce("__webpack_hmr").addEventListener("message",function(u){try{let{action:i}=JSON.parse(u.data);i==="built"&&Ee.location.reload()}catch{}}));var $e=new Set(["componentName","view","itemId","mapItemId","sceneItemId"]),je=class extends te{update(u,i){let[m]=i,d=u;Object.entries(m).forEach(([v,g])=>{$e.has(v)||g==="false"||g===!1||d.element.setAttribute(K(v),String(g))})}};ee(je);var Te=X`arcgis-home{display:block}`,Pe={base:"esri-home"},xe=le(ue),M=class extends oe{constructor(){super(...arguments),this.messages=ce(),this.viewModel=xe(this),this._calciteButton=fe(),this.autoDestroyDisabled=!1,this.goToOverride=this.viewModel.goToOverride,this.icon="home",this.position="top-left",this.state=this.viewModel.state,this.viewpoint=this.viewModel.viewpoint,this.arcgisGo=se(()=>this.viewModel,"go"),this.arcgisPropertyChange=J()("state"),this.arcgisReady=ne()}static{this.properties={autoDestroyDisabled:5,goToOverride:0,icon:3,label:1,messageOverrides:0,position:3,referenceElement:1,state:3,viewpoint:0}}static{this.shadowRootOptions=re}static{this.styles=Te}async cancelGo(){this.viewModel.cancelGo()}async destroy(){await this.manager.destroy()}async go(){return this.viewModel.go()}updated(){if(this._calciteButton.value)if(this.viewModel?.state==="going-home"){if(!this._calciteButton.value.children[0]){let i=document.createElement("calcite-loader");i.inline=!0,i.label="",this._calciteButton.value.append(i)}}else this._calciteButton.value.children[0]?.remove()}_go(){let{viewModel:i}=this;i.state==="going-home"?i.cancelGo():i.go()}render(){let{messages:i,icon:m}=this,d=this.viewModel?.state,v=d==="going-home";return $`<div class=${D(G(Pe.base,L.widget))}><calcite-button class=${D(L.widgetButton)} .disabled=${d==="disabled"} .iconStart=${v?void 0:m??void 0} kind=neutral .label=${i.componentLabel} @click=${this._go} .scale=${v?"s":"m"} title=${(d==="going-home"?i.cancel:i.title)??ae} ${pe(this._calciteButton)}></calcite-button></div>`}};ie("arcgis-home",M);export{M as ArcgisHome};
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.32/esri/copyright.txt for details.
4
- * v4.32.0-next.16
4
+ * v4.32.0-next.17
5
5
  */
6
- import{a as l}from"./B7H7WD4G.js";import"./TOBLLYA5.js";import{u as d}from"./MISEJFJ7.js";import"./ZJD6HG35.js";import{B as o,G as r,o as s,p as i,y as e,z as a}from"./BU7UFQQB.js";var c=i`arcgis-directional-pad{display:block}`,h=l(d),t=class extends o{constructor(){super(...arguments),this.widget=h(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.disabled=this.widget.disabled,this.icon=this.widget.icon,this.label=this.widget.label,this.position="bottom-left",this.state=this.viewModel.state,this.visualScale=this.widget.visualScale,this.arcgisPropertyChange=s()("state"),this.arcgisReady=e()}static{this.properties={autoDestroyDisabled:5,disabled:5,icon:1,label:1,position:1,referenceElement:1,state:3,visualScale:1}}static{this.shadowRootOptions=a}static{this.styles=c}async destroy(){await this.manager.destroy()}};r("arcgis-directional-pad",t);export{t as ArcgisDirectionalPad};
6
+ import{a as l}from"./VKLAKB6P.js";import"./Y333JIBC.js";import{u as d}from"./GQHP7ZRP.js";import"./7L7IE75K.js";import{B as o,G as r,o as s,p as i,y as e,z as a}from"./OEBOOAS6.js";var c=i`arcgis-directional-pad{display:block}`,h=l(d),t=class extends o{constructor(){super(...arguments),this.widget=h(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.disabled=this.widget.disabled,this.icon=this.widget.icon,this.label=this.widget.label,this.position="bottom-left",this.state=this.viewModel.state,this.visualScale=this.widget.visualScale,this.arcgisPropertyChange=s()("state"),this.arcgisReady=e()}static{this.properties={autoDestroyDisabled:5,disabled:5,icon:1,label:1,position:1,referenceElement:1,state:3,visualScale:1}}static{this.shadowRootOptions=a}static{this.styles=c}async destroy(){await this.manager.destroy()}};r("arcgis-directional-pad",t);export{t as ArcgisDirectionalPad};
@@ -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.16
4
+ * v4.32.0-next.17
5
5
  */
6
- import{b as d}from"./TOBLLYA5.js";import{b as t}from"./ZJD6HG35.js";import{H as p,g as n,l as m,n as l}from"./BU7UFQQB.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"./Y333JIBC.js";import{b as t}from"./7L7IE75K.js";import{H as p,g as n,l as m,n as l}from"./OEBOOAS6.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};
@@ -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.16
4
+ * v4.32.0-next.17
5
5
  */
6
- import{a as l}from"./B7H7WD4G.js";import"./TOBLLYA5.js";import{l as h}from"./MISEJFJ7.js";import"./ZJD6HG35.js";import{B as o,G as r,o as e,p as s,y as i,z as a}from"./BU7UFQQB.js";var d=s`arcgis-basemap-gallery{display:block}`,c=l(h),t=class extends o{constructor(){super(...arguments),this.widget=c(this),this.viewModel=this.widget.viewModel,this.activeBasemap=this.widget.activeBasemap,this.autoDestroyDisabled=!1,this.disabled=this.widget.disabled,this.headingLevel=this.widget.headingLevel,this.icon=this.widget.icon,this.label=this.widget.label,this.position="bottom-left",this.source=this.widget.source,this.state=this.viewModel.state,this.arcgisPropertyChange=e()("activeBasemap","state"),this.arcgisReady=i()}static{this.properties={activeBasemap:0,autoDestroyDisabled:5,disabled:7,headingLevel:9,icon:1,label:1,position:1,referenceElement:1,source:0,state:3}}static{this.shadowRootOptions=a}static{this.styles=d}async destroy(){await this.manager.destroy()}};r("arcgis-basemap-gallery",t);export{t as ArcgisBasemapGallery};
6
+ import{a as l}from"./VKLAKB6P.js";import"./Y333JIBC.js";import{l as h}from"./GQHP7ZRP.js";import"./7L7IE75K.js";import{B as o,G as r,o as e,p as s,y as i,z as a}from"./OEBOOAS6.js";var d=s`arcgis-basemap-gallery{display:block}`,c=l(h),t=class extends o{constructor(){super(...arguments),this.widget=c(this),this.viewModel=this.widget.viewModel,this.activeBasemap=this.widget.activeBasemap,this.autoDestroyDisabled=!1,this.disabled=this.widget.disabled,this.headingLevel=this.widget.headingLevel,this.icon=this.widget.icon,this.label=this.widget.label,this.position="bottom-left",this.source=this.widget.source,this.state=this.viewModel.state,this.arcgisPropertyChange=e()("activeBasemap","state"),this.arcgisReady=i()}static{this.properties={activeBasemap:0,autoDestroyDisabled:5,disabled:7,headingLevel:9,icon:1,label:1,position:1,referenceElement:1,source:0,state:3}}static{this.shadowRootOptions=a}static{this.styles=d}async destroy(){await this.manager.destroy()}};r("arcgis-basemap-gallery",t);export{t as ArcgisBasemapGallery};