@arcgis/map-components 4.33.0-next.3 → 4.33.0-next.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (153) hide show
  1. package/dist/arcgis-map-components/{KWNHHGVP.js → 33HFM7T5.js} +2 -2
  2. package/dist/arcgis-map-components/{JKL52ZFN.js → 4ACZUJQY.js} +2 -2
  3. package/dist/arcgis-map-components/{RAUPQFWO.js → 4RTI6SVX.js} +2 -2
  4. package/dist/arcgis-map-components/{BXMSRN4E.js → 5VLLS2IA.js} +2 -2
  5. package/dist/arcgis-map-components/{4FTUSEJQ.js → 6VTGDVFS.js} +2 -2
  6. package/dist/arcgis-map-components/{HFRMSHBT.js → 7DHCEZKZ.js} +2 -2
  7. package/dist/arcgis-map-components/{SHOYBV57.js → 7IDWT2QM.js} +2 -2
  8. package/dist/arcgis-map-components/{N6VD6UJ4.js → 7QHT744L.js} +2 -2
  9. package/dist/arcgis-map-components/{YIGYUGB2.js → ANXC4QON.js} +2 -2
  10. package/dist/arcgis-map-components/{3XWG7YWP.js → AW5SDUFX.js} +2 -2
  11. package/dist/arcgis-map-components/{37VW4H6F.js → CGPB547X.js} +2 -2
  12. package/dist/arcgis-map-components/{BCSAZV4R.js → CTGO2GRY.js} +2 -2
  13. package/dist/arcgis-map-components/{VY43IJYX.js → DFTCKIT4.js} +2 -2
  14. package/dist/arcgis-map-components/{FSGOLJ6N.js → DPEQKICU.js} +2 -2
  15. package/dist/arcgis-map-components/{R3BPEY3W.js → E24PS7UW.js} +2 -2
  16. package/dist/arcgis-map-components/{H4T75RNT.js → FE2N6LEG.js} +2 -2
  17. package/dist/arcgis-map-components/{4BRDRLVE.js → FIYYTWVP.js} +2 -2
  18. package/dist/arcgis-map-components/{GSRZNBQZ.js → FMK5KWTR.js} +2 -2
  19. package/dist/arcgis-map-components/{RJRBYIDF.js → FUJHUDM7.js} +2 -2
  20. package/dist/arcgis-map-components/{55DVSSG4.js → G3F2NM77.js} +2 -2
  21. package/dist/arcgis-map-components/{EXY5Z6AT.js → GD3HFZ3S.js} +2 -2
  22. package/dist/arcgis-map-components/{H7XTNDSJ.js → GGLHYHIR.js} +2 -2
  23. package/dist/arcgis-map-components/{IP2LU2MD.js → GQIJVYWA.js} +2 -2
  24. package/dist/arcgis-map-components/{M4BXGW57.js → GVD2YN2X.js} +2 -2
  25. package/dist/arcgis-map-components/{QHGSPU74.js → H2NL5X5C.js} +2 -2
  26. package/dist/arcgis-map-components/{4QSDKE7Z.js → HNGZM4IC.js} +2 -2
  27. package/dist/arcgis-map-components/{LWX42QGQ.js → HRNFJKUT.js} +2 -2
  28. package/dist/arcgis-map-components/{UUZUXCEO.js → HTPUYMJT.js} +2 -2
  29. package/dist/arcgis-map-components/{TO4UX4X3.js → HY7YMVXU.js} +2 -2
  30. package/dist/arcgis-map-components/{4FJ2EJWI.js → IDJICY4B.js} +2 -2
  31. package/dist/arcgis-map-components/{U4O7H3J5.js → JIRQQI3T.js} +1 -1
  32. package/dist/arcgis-map-components/{VV3DEFRJ.js → JT2BITWM.js} +2 -2
  33. package/dist/arcgis-map-components/{6AITBRR3.js → KA42K2QK.js} +2 -2
  34. package/dist/arcgis-map-components/{O3MKXSOW.js → KLUBG24V.js} +2 -2
  35. package/dist/arcgis-map-components/{7CRLQIA7.js → L3VRWFZS.js} +2 -2
  36. package/dist/arcgis-map-components/{HEQHLNNV.js → LFYH4C7Z.js} +2 -2
  37. package/dist/arcgis-map-components/{2IGGCLKD.js → LUHPM5J4.js} +2 -2
  38. package/dist/arcgis-map-components/{NIUQGS3Q.js → M3NGGUSA.js} +2 -2
  39. package/dist/arcgis-map-components/{IVLF5FRQ.js → M7FOREIS.js} +1 -1
  40. package/dist/arcgis-map-components/{4NSFKHUS.js → MDT6UFPS.js} +2 -2
  41. package/dist/arcgis-map-components/{BLZ7L42Q.js → MWXWPFRD.js} +2 -2
  42. package/dist/arcgis-map-components/{EHLCSI5D.js → NI5HGQAV.js} +2 -2
  43. package/dist/arcgis-map-components/{QRJI6DEF.js → NIJ4NPIZ.js} +2 -2
  44. package/dist/arcgis-map-components/{SU6PBYLO.js → NMD4POAY.js} +2 -2
  45. package/dist/arcgis-map-components/{FMZ3XIZN.js → NRQIUPRD.js} +2 -2
  46. package/dist/arcgis-map-components/{Z4P7KBSM.js → O72CLS5I.js} +2 -2
  47. package/dist/arcgis-map-components/{KZ4HSH7P.js → OG3FB5KN.js} +2 -2
  48. package/dist/arcgis-map-components/{ELGWGOKT.js → OIT4GR4Z.js} +1 -1
  49. package/dist/arcgis-map-components/{CDIVEKCR.js → OSUOXSNV.js} +2 -2
  50. package/dist/arcgis-map-components/{P5PA5WEU.js → P33I25WZ.js} +2 -2
  51. package/dist/arcgis-map-components/{6UZ2Z46H.js → Q5WL5PTB.js} +2 -2
  52. package/dist/arcgis-map-components/{DFEIKONV.js → QOV7ENW2.js} +2 -2
  53. package/dist/arcgis-map-components/{SBKGYDWZ.js → QT4Z4ZPN.js} +2 -2
  54. package/dist/arcgis-map-components/{6ITSPZE2.js → R6GRJVKA.js} +2 -2
  55. package/dist/arcgis-map-components/{LYTYGUXQ.js → RBJ2RXSC.js} +2 -2
  56. package/dist/arcgis-map-components/{U2BLZFG7.js → RCKQ66JZ.js} +2 -2
  57. package/dist/arcgis-map-components/{OHNDSTS4.js → RDKGOYCT.js} +2 -2
  58. package/dist/arcgis-map-components/{4Y53PZCG.js → RUJJFKWH.js} +2 -2
  59. package/dist/arcgis-map-components/{CEAIDCLR.js → RUTFEFHS.js} +2 -2
  60. package/dist/arcgis-map-components/{LHW4RVIB.js → S2OINGGI.js} +2 -2
  61. package/dist/arcgis-map-components/{HJ5YVU4J.js → SGZCD3RN.js} +2 -2
  62. package/dist/arcgis-map-components/{QDEDHNU5.js → SKGJJKYS.js} +2 -2
  63. package/dist/arcgis-map-components/{XKBFDLP7.js → SO7MPFXH.js} +2 -2
  64. package/dist/arcgis-map-components/{FF4SGSVN.js → T2N4R2HR.js} +2 -2
  65. package/dist/arcgis-map-components/{4ZT2FTY7.js → UNJGYIRO.js} +2 -2
  66. package/dist/arcgis-map-components/{K2JR7QJS.js → VWMA4JOS.js} +2 -2
  67. package/dist/arcgis-map-components/{ZFB6YZIB.js → WJHEJVAN.js} +1 -1
  68. package/dist/arcgis-map-components/{M4OFHC6U.js → WKEUFVQF.js} +2 -2
  69. package/dist/arcgis-map-components/{KE35ZDYD.js → WNVPUYWD.js} +2 -2
  70. package/dist/arcgis-map-components/{EYQSJPPL.js → Y3DIDRDI.js} +2 -2
  71. package/dist/arcgis-map-components/{XNTINOVY.js → YS2PO2KI.js} +2 -2
  72. package/dist/arcgis-map-components/{WWV5B6OY.js → YS3GG6E4.js} +2 -2
  73. package/dist/arcgis-map-components/{LEQGQO5L.js → ZXJUJHE3.js} +2 -2
  74. package/dist/arcgis-map-components/arcgis-map-components.esm.js +2 -2
  75. package/dist/chunks/basemap-gallery-item.js +1 -1
  76. package/dist/chunks/component-utils.js +1 -1
  77. package/dist/chunks/disconnected.js +1 -1
  78. package/dist/chunks/globalCss.js +1 -1
  79. package/dist/chunks/legacyIcon.js +1 -1
  80. package/dist/chunks/runtime.js +1 -1
  81. package/dist/chunks/useView.js +1 -1
  82. package/dist/chunks/useViewModel.js +1 -1
  83. package/dist/chunks/useWidget.js +1 -1
  84. package/dist/components/arcgis-area-measurement-2d/customElement.js +1 -1
  85. package/dist/components/arcgis-area-measurement-3d/customElement.js +1 -1
  86. package/dist/components/arcgis-attachments/customElement.js +1 -1
  87. package/dist/components/arcgis-basemap-gallery/components/basemap-gallery-item/customElement.js +1 -1
  88. package/dist/components/arcgis-basemap-gallery/customElement.js +1 -1
  89. package/dist/components/arcgis-basemap-layer-list/customElement.js +1 -1
  90. package/dist/components/arcgis-basemap-toggle/customElement.js +1 -1
  91. package/dist/components/arcgis-bookmarks/customElement.js +1 -1
  92. package/dist/components/arcgis-building-explorer/customElement.js +1 -1
  93. package/dist/components/arcgis-catalog-layer-list/customElement.js +1 -1
  94. package/dist/components/arcgis-compass/customElement.js +1 -1
  95. package/dist/components/arcgis-coordinate-conversion/customElement.js +1 -1
  96. package/dist/components/arcgis-daylight/customElement.js +1 -1
  97. package/dist/components/arcgis-directional-pad/customElement.js +1 -1
  98. package/dist/components/arcgis-directions/customElement.js +1 -1
  99. package/dist/components/arcgis-directline-measurement-3d/customElement.js +1 -1
  100. package/dist/components/arcgis-distance-measurement-2d/customElement.js +1 -1
  101. package/dist/components/arcgis-editor/customElement.js +1 -1
  102. package/dist/components/arcgis-elevation-profile/customElement.js +1 -1
  103. package/dist/components/arcgis-expand/customElement.js +1 -1
  104. package/dist/components/arcgis-feature/customElement.js +1 -1
  105. package/dist/components/arcgis-feature-form/customElement.js +1 -1
  106. package/dist/components/arcgis-feature-table/customElement.js +1 -1
  107. package/dist/components/arcgis-feature-templates/customElement.js +1 -1
  108. package/dist/components/arcgis-features/customElement.js +1 -1
  109. package/dist/components/arcgis-floor-filter/customElement.js +1 -1
  110. package/dist/components/arcgis-fullscreen/customElement.js +1 -1
  111. package/dist/components/arcgis-histogram/customElement.js +1 -1
  112. package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
  113. package/dist/components/arcgis-home/customElement.js +1 -1
  114. package/dist/components/arcgis-layer-list/customElement.js +1 -1
  115. package/dist/components/arcgis-legend/customElement.js +1 -1
  116. package/dist/components/arcgis-line-of-sight/customElement.js +1 -1
  117. package/dist/components/arcgis-link-chart/customElement.js +1 -1
  118. package/dist/components/arcgis-locate/customElement.js +1 -1
  119. package/dist/components/arcgis-map/customElement.js +1 -1
  120. package/dist/components/arcgis-measurement/customElement.js +1 -1
  121. package/dist/components/arcgis-navigation-toggle/customElement.js +1 -1
  122. package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +1 -1
  123. package/dist/components/arcgis-placement/customElement.js +1 -1
  124. package/dist/components/arcgis-print/customElement.js +1 -1
  125. package/dist/components/arcgis-scale-bar/customElement.js +1 -1
  126. package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
  127. package/dist/components/arcgis-scene/customElement.js +1 -1
  128. package/dist/components/arcgis-search/customElement.js +1 -1
  129. package/dist/components/arcgis-shadow-cast/customElement.js +1 -1
  130. package/dist/components/arcgis-sketch/customElement.js +1 -1
  131. package/dist/components/arcgis-slice/customElement.js +1 -1
  132. package/dist/components/arcgis-slider/customElement.js +1 -1
  133. package/dist/components/arcgis-swipe/customElement.js +1 -1
  134. package/dist/components/arcgis-table-list/customElement.js +1 -1
  135. package/dist/components/arcgis-time-slider/customElement.js +1 -1
  136. package/dist/components/arcgis-track/customElement.js +1 -1
  137. package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
  138. package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
  139. package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -1
  140. package/dist/components/arcgis-value-picker/customElement.js +1 -1
  141. package/dist/components/arcgis-version-management/customElement.js +1 -1
  142. package/dist/components/arcgis-version-management-service-item/customElement.js +1 -1
  143. package/dist/components/arcgis-version-management-version-item/customElement.js +1 -1
  144. package/dist/components/arcgis-version-management-version-list/customElement.js +10 -10
  145. package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
  146. package/dist/components/arcgis-weather/customElement.js +1 -1
  147. package/dist/components/arcgis-zoom/customElement.js +1 -1
  148. package/dist/docs/api.json +2 -2
  149. package/dist/docs/docs.json +2 -2
  150. package/dist/docs/web-types.json +1 -1
  151. package/dist/index.js +1 -1
  152. package/dist/loader.js +1 -1
  153. package/package.json +5 -5
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/4.33/esri/copyright.txt for details.
3
- v4.33.0-next.3 */
4
- import{a as b}from"./IVLF5FRQ.js";import{a as E}from"./RJRBYIDF.js";import{a as r}from"./ELGWGOKT.js";import{a as w}from"./6UZ2Z46H.js";import{d as a}from"./EHLCSI5D.js";import"./ZFB6YZIB.js";import{A as g,B as v,C as s,E as u,G as f,a as d,g as h,q as p,r as m,s as t}from"./U4O7H3J5.js";var O=await $arcgis.l("widgets/Locate/LocateViewModel");var L=m`arcgis-locate{display:block}`,T={base:"esri-locate"},M="gps-off",P=E(O),l=class extends v{constructor(){super(...arguments),this.messages=w(),this.viewModel=P(this),this.autoDestroyDisabled=!1,this.geolocationOptions=this.viewModel.geolocationOptions,this.goToLocationDisabled=this.viewModel.goToLocationEnabled,this.goToOverride=this.viewModel.goToOverride,this.graphic=this.viewModel.graphic,this.icon=M,this.popupDisabled=this.viewModel.popupEnabled,this.position="top-left",this.scale=this.viewModel.scale,this.state=this.viewModel.state,this.arcgisError=a(()=>this.viewModel,"locate-error"),this.arcgisPropertyChange=p()("state"),this.arcgisReady=g(),this.arcgisSuccess=a(()=>this.viewModel,"locate")}static{this.properties={autoDestroyDisabled:5,geolocationOptions:1,goToLocationDisabled:7,goToOverride:0,graphic:0,icon:3,label:1,messageOverrides:0,popupDisabled:5,position:3,referenceElement:1,scale:9,state:3}}static{this.shadowRootOptions=h}static{this.styles=L}async cancelLocate(){this.viewModel.cancelLocate()}async destroy(){await this.manager.destroy()}async locate(){return await this.viewModel.locate()}_localizeError(e){if(e instanceof GeolocationPositionError)return e.code===GeolocationPositionError.PERMISSION_DENIED?this.messages?.permissionError:e.code===GeolocationPositionError.TIMEOUT?this.messages?.timeoutError:this.messages?.positionUnavailable;if(e instanceof Error)return e.message}_locate(){let{viewModel:e}=this;e.state==="locating"?e.cancelLocate():e.locate().catch(()=>{})}render(){let{viewModel:e,icon:y}=this,{state:o}=e,i=o==="locating",c=i?this.messages.cancel:this.messages.title,$=o==="feature-unsupported",D=b===void 0?M:void 0,n=this._localizeError(this.viewModel?.error);return t`<div class=${s(d(T.base,r.widget))}>${!$&&t`<calcite-button class=${s(r.widgetButton)} .disabled=${o==="disabled"} .iconStart=${i?void 0:y??D} kind=neutral .label=${c} @click=${this._locate} title=${c??u}>${i?t`<calcite-loader inline label></calcite-loader>`:null}</calcite-button>`||""}${n?t`<calcite-tooltip open overlay-positioning=fixed .referenceElement=${this.el}>${n}</calcite-tooltip>`:null}</div>`}};f("arcgis-locate",l);export{l as ArcgisLocate};
3
+ v4.33.0-next.4 */
4
+ import{a as b}from"./M7FOREIS.js";import{a as E}from"./FUJHUDM7.js";import{a as r}from"./OIT4GR4Z.js";import{a as w}from"./Q5WL5PTB.js";import{d as a}from"./NI5HGQAV.js";import"./WJHEJVAN.js";import{A as g,B as v,C as s,E as u,G as f,a as d,g as h,q as p,r as m,s as t}from"./JIRQQI3T.js";var O=await $arcgis.l("widgets/Locate/LocateViewModel");var L=m`arcgis-locate{display:block}`,T={base:"esri-locate"},M="gps-off",P=E(O),l=class extends v{constructor(){super(...arguments),this.messages=w(),this.viewModel=P(this),this.autoDestroyDisabled=!1,this.geolocationOptions=this.viewModel.geolocationOptions,this.goToLocationDisabled=this.viewModel.goToLocationEnabled,this.goToOverride=this.viewModel.goToOverride,this.graphic=this.viewModel.graphic,this.icon=M,this.popupDisabled=this.viewModel.popupEnabled,this.position="top-left",this.scale=this.viewModel.scale,this.state=this.viewModel.state,this.arcgisError=a(()=>this.viewModel,"locate-error"),this.arcgisPropertyChange=p()("state"),this.arcgisReady=g(),this.arcgisSuccess=a(()=>this.viewModel,"locate")}static{this.properties={autoDestroyDisabled:5,geolocationOptions:1,goToLocationDisabled:7,goToOverride:0,graphic:0,icon:3,label:1,messageOverrides:0,popupDisabled:5,position:3,referenceElement:1,scale:9,state:3}}static{this.shadowRootOptions=h}static{this.styles=L}async cancelLocate(){this.viewModel.cancelLocate()}async destroy(){await this.manager.destroy()}async locate(){return await this.viewModel.locate()}_localizeError(e){if(e instanceof GeolocationPositionError)return e.code===GeolocationPositionError.PERMISSION_DENIED?this.messages?.permissionError:e.code===GeolocationPositionError.TIMEOUT?this.messages?.timeoutError:this.messages?.positionUnavailable;if(e instanceof Error)return e.message}_locate(){let{viewModel:e}=this;e.state==="locating"?e.cancelLocate():e.locate().catch(()=>{})}render(){let{viewModel:e,icon:y}=this,{state:o}=e,i=o==="locating",c=i?this.messages.cancel:this.messages.title,$=o==="feature-unsupported",D=b===void 0?M:void 0,n=this._localizeError(this.viewModel?.error);return t`<div class=${s(d(T.base,r.widget))}>${!$&&t`<calcite-button class=${s(r.widgetButton)} .disabled=${o==="disabled"} .iconStart=${i?void 0:y??D} kind=neutral .label=${c} @click=${this._locate} title=${c??u}>${i?t`<calcite-loader inline label></calcite-loader>`:null}</calcite-button>`||""}${n?t`<calcite-tooltip open overlay-positioning=fixed .referenceElement=${this.el}>${n}</calcite-tooltip>`:null}</div>`}};f("arcgis-locate",l);export{l as ArcgisLocate};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/4.33/esri/copyright.txt for details.
3
- v4.33.0-next.3 */
4
- import{a as d}from"./R3BPEY3W.js";import{d as t}from"./EHLCSI5D.js";import"./ZFB6YZIB.js";import{A as a,B as h,G as l,g as e,q as s,r as o}from"./U4O7H3J5.js";var r=await $arcgis.l("widgets/Bookmarks");var n=o`arcgis-bookmarks{display:block}`,m=d(r),i=class extends h{constructor(){super(...arguments),this.widget=m(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.bookmarks=this.widget.bookmarks,this.defaultCreateOptions=this.widget.defaultCreateOptions,this.defaultEditOptions=this.widget.defaultEditOptions,this.disabled=this.widget.disabled,this.dragEnabled=this.widget.dragEnabled,this.filterPlaceholder=this.widget.filterPlaceholder,this.filterText=this.widget.filterText,this.hideFlow=this.widget.visibleElements.flow,this.hideThumbnail=this.widget.visibleElements.thumbnail,this.hideTime=this.widget.visibleElements.time,this.icon=this.widget.icon,this.label=this.widget.label,this.position="bottom-left",this.showAddBookmarkButton=this.widget.visibleElements.addBookmarkButton,this.showCloseButton=this.widget.visibleElements.closeButton,this.showCollapseButton=this.widget.visibleElements.collapseButton,this.showEditBookmarkButton=this.widget.visibleElements.editBookmarkButton,this.showFilter=this.widget.visibleElements.filter,this.showHeading=this.widget.visibleElements.heading,this.state=this.viewModel.state,this.arcgisEdit=t(()=>this.widget,"bookmark-edit"),this.arcgisPropertyChange=s()("state"),this.arcgisReady=a(),this.arcgisSelect=t(()=>this.widget,"bookmark-select")}static{this.properties={autoDestroyDisabled:5,bookmarks:0,defaultCreateOptions:0,defaultEditOptions:0,disabled:7,dragEnabled:5,filterPlaceholder:1,filterText:1,hideFlow:5,hideThumbnail:5,hideTime:5,icon:1,label:1,position:1,referenceElement:1,showAddBookmarkButton:5,showCloseButton:5,showCollapseButton:5,showEditBookmarkButton:5,showFilter:5,showHeading:5,state:3}}static{this.shadowRootOptions=e}static{this.styles=n}async destroy(){await this.manager.destroy()}};l("arcgis-bookmarks",i);export{i as ArcgisBookmarks};
3
+ v4.33.0-next.4 */
4
+ import{a as d}from"./E24PS7UW.js";import{d as t}from"./NI5HGQAV.js";import"./WJHEJVAN.js";import{A as a,B as h,G as l,g as e,q as s,r as o}from"./JIRQQI3T.js";var r=await $arcgis.l("widgets/Bookmarks");var n=o`arcgis-bookmarks{display:block}`,m=d(r),i=class extends h{constructor(){super(...arguments),this.widget=m(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.bookmarks=this.widget.bookmarks,this.defaultCreateOptions=this.widget.defaultCreateOptions,this.defaultEditOptions=this.widget.defaultEditOptions,this.disabled=this.widget.disabled,this.dragEnabled=this.widget.dragEnabled,this.filterPlaceholder=this.widget.filterPlaceholder,this.filterText=this.widget.filterText,this.hideFlow=this.widget.visibleElements.flow,this.hideThumbnail=this.widget.visibleElements.thumbnail,this.hideTime=this.widget.visibleElements.time,this.icon=this.widget.icon,this.label=this.widget.label,this.position="bottom-left",this.showAddBookmarkButton=this.widget.visibleElements.addBookmarkButton,this.showCloseButton=this.widget.visibleElements.closeButton,this.showCollapseButton=this.widget.visibleElements.collapseButton,this.showEditBookmarkButton=this.widget.visibleElements.editBookmarkButton,this.showFilter=this.widget.visibleElements.filter,this.showHeading=this.widget.visibleElements.heading,this.state=this.viewModel.state,this.arcgisEdit=t(()=>this.widget,"bookmark-edit"),this.arcgisPropertyChange=s()("state"),this.arcgisReady=a(),this.arcgisSelect=t(()=>this.widget,"bookmark-select")}static{this.properties={autoDestroyDisabled:5,bookmarks:0,defaultCreateOptions:0,defaultEditOptions:0,disabled:7,dragEnabled:5,filterPlaceholder:1,filterText:1,hideFlow:5,hideThumbnail:5,hideTime:5,icon:1,label:1,position:1,referenceElement:1,showAddBookmarkButton:5,showCloseButton:5,showCollapseButton:5,showEditBookmarkButton:5,showFilter:5,showHeading:5,state:3}}static{this.shadowRootOptions=e}static{this.styles=n}async destroy(){await this.manager.destroy()}};l("arcgis-bookmarks",i);export{i as ArcgisBookmarks};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/4.33/esri/copyright.txt for details.
3
- v4.33.0-next.3 */
4
- import{a as r}from"./R3BPEY3W.js";import{d as t}from"./EHLCSI5D.js";import"./ZFB6YZIB.js";import{A as o,B as h,G as n,g as s,q as e,r as a}from"./U4O7H3J5.js";var c=await $arcgis.l("widgets/ValuePicker");var l=a`arcgis-value-picker{display:block}`,p=r(c),i=class extends h{constructor(){super(...arguments),this.widget=p(this),this.autoDestroyDisabled=!1,this.canNext=this.widget.canNext,this.canPlay=this.widget.canPlay,this.canPrevious=this.widget.canPrevious,this.caption=this.widget.caption,this.component=this.widget.component,this.hideNextButton=this.widget.visibleElements.nextButton,this.hidePlayButton=this.widget.visibleElements.playButton,this.hidePreviousButton=this.widget.visibleElements.previousButton,this.icon=this.widget.icon,this.label=this.widget.label,this.layout=this.widget.layout,this.loop=this.widget.loop,this.playRate=this.widget.playRate,this.position="bottom-left",this.values=this.widget.values,this.arcgisAnimate=t(()=>this.widget,"animate"),this.arcgisNext=t(()=>this.widget,"next"),this.arcgisPause=t(()=>this.widget,"pause"),this.arcgisPlay=t(()=>this.widget,"play"),this.arcgisPrevious=t(()=>this.widget,"previous"),this.arcgisPropertyChange=e()("values"),this.arcgisReady=o()}static{this.properties={autoDestroyDisabled:5,canNext:7,canPlay:7,canPrevious:7,caption:1,component:0,hideNextButton:5,hidePlayButton:5,hidePreviousButton:5,icon:1,label:1,layout:1,loop:5,playRate:9,position:1,referenceElement:1,values:0}}static{this.shadowRootOptions=s}static{this.styles=l}async destroy(){await this.manager.destroy()}async next(){this.widget?.next()}async pause(){this.widget?.pause()}async play(){this.widget?.play()}async previous(){this.widget?.previous()}};n("arcgis-value-picker",i);export{i as ArcgisValuePicker};
3
+ v4.33.0-next.4 */
4
+ import{a as r}from"./E24PS7UW.js";import{d as t}from"./NI5HGQAV.js";import"./WJHEJVAN.js";import{A as o,B as h,G as n,g as s,q as e,r as a}from"./JIRQQI3T.js";var c=await $arcgis.l("widgets/ValuePicker");var l=a`arcgis-value-picker{display:block}`,p=r(c),i=class extends h{constructor(){super(...arguments),this.widget=p(this),this.autoDestroyDisabled=!1,this.canNext=this.widget.canNext,this.canPlay=this.widget.canPlay,this.canPrevious=this.widget.canPrevious,this.caption=this.widget.caption,this.component=this.widget.component,this.hideNextButton=this.widget.visibleElements.nextButton,this.hidePlayButton=this.widget.visibleElements.playButton,this.hidePreviousButton=this.widget.visibleElements.previousButton,this.icon=this.widget.icon,this.label=this.widget.label,this.layout=this.widget.layout,this.loop=this.widget.loop,this.playRate=this.widget.playRate,this.position="bottom-left",this.values=this.widget.values,this.arcgisAnimate=t(()=>this.widget,"animate"),this.arcgisNext=t(()=>this.widget,"next"),this.arcgisPause=t(()=>this.widget,"pause"),this.arcgisPlay=t(()=>this.widget,"play"),this.arcgisPrevious=t(()=>this.widget,"previous"),this.arcgisPropertyChange=e()("values"),this.arcgisReady=o()}static{this.properties={autoDestroyDisabled:5,canNext:7,canPlay:7,canPrevious:7,caption:1,component:0,hideNextButton:5,hidePlayButton:5,hidePreviousButton:5,icon:1,label:1,layout:1,loop:5,playRate:9,position:1,referenceElement:1,values:0}}static{this.shadowRootOptions=s}static{this.styles=l}async destroy(){await this.manager.destroy()}async next(){this.widget?.next()}async pause(){this.widget?.pause()}async play(){this.widget?.play()}async previous(){this.widget?.previous()}};n("arcgis-value-picker",i);export{i as ArcgisValuePicker};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/4.33/esri/copyright.txt for details.
3
- v4.33.0-next.3 */
4
- import{a as T}from"./RJRBYIDF.js";import{a as u}from"./ELGWGOKT.js";import{a as k}from"./6UZ2Z46H.js";import"./EHLCSI5D.js";import"./ZFB6YZIB.js";import{A as L,B as D,C as m,D as R,E as h,G as A,H as E,a as v,g as S,q as x,r as B,s as n,t as I,u as C}from"./U4O7H3J5.js";var[{when:Q,watch:y},X]=await $arcgis.l(["core/reactiveUtils","widgets/BasemapGallery/BasemapGalleryViewModel"]);var U=Symbol.for(""),z=t=>{if(t?.r===U)return t?._$litStatic$},K=t=>({_$litStatic$:t,r:U});var G=new Map,w=t=>(e,...a)=>{let s=a.length,i,r,l=[],$=[],p,d=0,f=!1;for(;d<s;){for(p=e[d];d<s&&(r=a[d],(i=z(r))!==void 0);)p+=i+e[++d],f=!0;d!==s&&$.push(r),l.push(p),d++}if(d===s&&l.push(e[s]),f){let g=l.join("$$lit$$");(e=G.get(g))===void 0&&(l.raw=l,G.set(g,e=l)),a=$}return t(e,...a)},O=w(n),se=w(I),ie=w(C);var c="esri-basemap-gallery",o={base:c,sourceLoading:`${c}--source-loading`,layoutGrid:`${c}--grid`,narrowItems:`${c}--narrow-items`,loader:`${c}__loader`,item:`${c}__item`,itemContainer:`${c}__item-container`,itemContent:`${c}__item-content`,itemTitle:`${c}__item-title`,itemTagsContainer:`${c}__item-tags-container`,itemThumbnail:`${c}__item-thumbnail`,selectedItem:`${c}__item--selected`,itemError:`${c}__item--error`};function V(t){return t.portalItem?.type==="Web Scene"||t.referenceLayers.some(e=>e.type==="scene")}function W(t){return!!t?.portalItem?.tags?.some(e=>e.toLowerCase()==="beta")}function P({disabled:t,item:e,itemIndex:a,viewModel:s,messages:i,state:r}){let l=e.basemap.thumbnailUrl||E("assets/basemap-gallery/images/basemap-toggle-64.svg"),$=e.basemap.title,p=e.basemap.portalItem?.snippet,d=e.error?.message||p||$,{activeBasemapIndex:f}=s,g=f===a,j=g||f===-1&&a===0?0:-1,q={[o.selectedItem]:g,[o.itemError]:e.state==="error"},M=`basemapgallery-item-${e.uid}`;return n`<div .ariaChecked=${g} .ariaDisabled=${t} aria-labelledby=${M??h} class=${m(v(o.item,q))} data-item=${e??h} data-basemap=${e.basemap.id??h} role=radio tabindex=${j??h} title=${d??h} @click=${()=>{e.state==="ready"&&(s.activeBasemap=e.basemap)}}><img alt class=${m(o.itemThumbnail)} src=${l??h}><div class=${m(o.itemContent)}><div class=${m(o.itemTitle)}><span id=${M??h}>${$}</span></div>${V(e.basemap)?F(e.basemap,i):null}</div>${r==="ready"?null:n`<calcite-scrim><span aria-hidden=true class=${m(u.loaderAnimation)} role=presentation></span></calcite-scrim>`}</div>`}function F(t,e){return n`<div class=${m(o.itemTagsContainer)}>${J(e)}${W(t)?N(e):null}</div>`}function J(t){return n`<calcite-chip scale=s .label=${t.tag3D}>${t.tag3D}</calcite-chip>`}function N(t){return n`<calcite-chip appearance=outline-fill scale=s .label=${t.tagBeta}>${t.tagBeta}</calcite-chip>`}function Y({level:t,class:e,children:a}){let s=H(t),i=`h${s}`,r=K(i);return O`<${r} .ariaLevel=${String(s)} class=${m(v(u.heading,e))} role=heading>${a}</${r}>`}function Z(t,e,a){return Math.min(Math.max(t,e),a)}function H(t){return Z(Math.ceil(t),1,6)}var ee=B`arcgis-basemap-gallery{display:block}`,te=T(X),b={small:200,default:280,wide:420},_=class extends D{constructor(){super(...arguments),this.messages=k({}),this.viewModel=te(this),this._width=0,this._state="",this._itemsState="",this.activeBasemap=this.viewModel.activeBasemap,this.autoDestroyDisabled=!1,this.disabled=!1,this.headingLevel=2,this.icon="basemap",this.label="",this.position="bottom-left",this.source=this.viewModel.source,this.state=this.viewModel.state,this.arcgisPropertyChange=x()("activeBasemap","state"),this.arcgisReady=L()}static{this.properties={_width:16,_state:16,_itemsState:16,activeBasemap:0,autoDestroyDisabled:5,disabled:7,headingLevel:9,icon:1,label:1,position:1,referenceElement:1,source:0,state:3}}static{this.shadowRootOptions=S}static{this.styles=ee}async destroy(){await this.manager.destroy()}loaded(){this.manager.onLifecycle(()=>[Q(()=>this.source,()=>{this.viewModel.loadSource()},{sync:!0,initial:!0}),y(()=>this.source.state,()=>{this._state=this.source.state},{sync:!0}),y(()=>this.viewModel.items.filter(s=>s.state!=="ready").length,s=>{this._itemsState=s>0?"loading":"ready"},{sync:!0}),y(()=>this.viewModel.activeBasemap,()=>{this.el.childElem?.querySelector(`[data-basemap="${this.viewModel.activeBasemap?.id}"]`)?.focus()},{sync:!0})]);let e=new ResizeObserver(s=>{for(let i of s)this._width=i.contentRect.width}),a=this.el.childElem;a&&e.observe(a)}_getRoundRobinIndex(e,a){return(e+a)%a}_handleKeyDown(e){let{key:a}=e;if(!["ArrowUp","ArrowDown","ArrowRight","ArrowLeft"].includes(a))return;e.preventDefault();let{items:s,activeBasemapIndex:i}=this.viewModel,r=a==="ArrowUp"||a==="ArrowLeft"?this._getRoundRobinIndex(Math.max(i-1,-1),s.length):this._getRoundRobinIndex(i+1,s.length),l=s.at(r);l?.state==="ready"&&(this.viewModel.activeBasemap=l.basemap)}render(){let e=this.source.state==="loading",a=this.disabled||this.state==="disabled",s=this.viewModel.items,i={[o.sourceLoading]:e,[u.disabled]:a,"esri-component":!0},r=this._width;r<=b.small||r>=b.wide?i[o.layoutGrid]=!0:r<b.default&&(i[o.narrowItems]=!0);let l=e?n`<div class=${m(o.loader)}></div>`:null,$=e?null:s.length>0?n`<div aria-disabled=${this.disabled??h} aria-label=${this.label??h} class=${m(o.itemContainer)} @keydown=${this._handleKeyDown} role=radiogroup>${s.map((p,d)=>P({disabled:a,item:p,itemIndex:d,viewModel:this.viewModel,messages:this.messages,state:p.state}))}</div>`:n`<div class=${m(u.empty)}>${Y({level:this.headingLevel,children:this.messages.noBasemaps})}</div>`;return n`<div class=${m(v(o.base,u.widget,u.panel,i))} style=${R({"--esri-basemap-gallery-small":`${b.small}px`})}>${[l,$]}</div>`}};A("arcgis-basemap-gallery",_);export{_ as ArcgisBasemapGallery};
3
+ v4.33.0-next.4 */
4
+ import{a as T}from"./FUJHUDM7.js";import{a as u}from"./OIT4GR4Z.js";import{a as k}from"./Q5WL5PTB.js";import"./NI5HGQAV.js";import"./WJHEJVAN.js";import{A as L,B as D,C as m,D as R,E as h,G as A,H as E,a as v,g as S,q as x,r as B,s as n,t as I,u as C}from"./JIRQQI3T.js";var[{when:Q,watch:y},X]=await $arcgis.l(["core/reactiveUtils","widgets/BasemapGallery/BasemapGalleryViewModel"]);var U=Symbol.for(""),z=t=>{if(t?.r===U)return t?._$litStatic$},K=t=>({_$litStatic$:t,r:U});var G=new Map,w=t=>(e,...a)=>{let s=a.length,i,r,l=[],$=[],p,d=0,f=!1;for(;d<s;){for(p=e[d];d<s&&(r=a[d],(i=z(r))!==void 0);)p+=i+e[++d],f=!0;d!==s&&$.push(r),l.push(p),d++}if(d===s&&l.push(e[s]),f){let g=l.join("$$lit$$");(e=G.get(g))===void 0&&(l.raw=l,G.set(g,e=l)),a=$}return t(e,...a)},O=w(n),se=w(I),ie=w(C);var c="esri-basemap-gallery",o={base:c,sourceLoading:`${c}--source-loading`,layoutGrid:`${c}--grid`,narrowItems:`${c}--narrow-items`,loader:`${c}__loader`,item:`${c}__item`,itemContainer:`${c}__item-container`,itemContent:`${c}__item-content`,itemTitle:`${c}__item-title`,itemTagsContainer:`${c}__item-tags-container`,itemThumbnail:`${c}__item-thumbnail`,selectedItem:`${c}__item--selected`,itemError:`${c}__item--error`};function V(t){return t.portalItem?.type==="Web Scene"||t.referenceLayers.some(e=>e.type==="scene")}function W(t){return!!t?.portalItem?.tags?.some(e=>e.toLowerCase()==="beta")}function P({disabled:t,item:e,itemIndex:a,viewModel:s,messages:i,state:r}){let l=e.basemap.thumbnailUrl||E("assets/basemap-gallery/images/basemap-toggle-64.svg"),$=e.basemap.title,p=e.basemap.portalItem?.snippet,d=e.error?.message||p||$,{activeBasemapIndex:f}=s,g=f===a,j=g||f===-1&&a===0?0:-1,q={[o.selectedItem]:g,[o.itemError]:e.state==="error"},M=`basemapgallery-item-${e.uid}`;return n`<div .ariaChecked=${g} .ariaDisabled=${t} aria-labelledby=${M??h} class=${m(v(o.item,q))} data-item=${e??h} data-basemap=${e.basemap.id??h} role=radio tabindex=${j??h} title=${d??h} @click=${()=>{e.state==="ready"&&(s.activeBasemap=e.basemap)}}><img alt class=${m(o.itemThumbnail)} src=${l??h}><div class=${m(o.itemContent)}><div class=${m(o.itemTitle)}><span id=${M??h}>${$}</span></div>${V(e.basemap)?F(e.basemap,i):null}</div>${r==="ready"?null:n`<calcite-scrim><span aria-hidden=true class=${m(u.loaderAnimation)} role=presentation></span></calcite-scrim>`}</div>`}function F(t,e){return n`<div class=${m(o.itemTagsContainer)}>${J(e)}${W(t)?N(e):null}</div>`}function J(t){return n`<calcite-chip scale=s .label=${t.tag3D}>${t.tag3D}</calcite-chip>`}function N(t){return n`<calcite-chip appearance=outline-fill scale=s .label=${t.tagBeta}>${t.tagBeta}</calcite-chip>`}function Y({level:t,class:e,children:a}){let s=H(t),i=`h${s}`,r=K(i);return O`<${r} .ariaLevel=${String(s)} class=${m(v(u.heading,e))} role=heading>${a}</${r}>`}function Z(t,e,a){return Math.min(Math.max(t,e),a)}function H(t){return Z(Math.ceil(t),1,6)}var ee=B`arcgis-basemap-gallery{display:block}`,te=T(X),b={small:200,default:280,wide:420},_=class extends D{constructor(){super(...arguments),this.messages=k({}),this.viewModel=te(this),this._width=0,this._state="",this._itemsState="",this.activeBasemap=this.viewModel.activeBasemap,this.autoDestroyDisabled=!1,this.disabled=!1,this.headingLevel=2,this.icon="basemap",this.label="",this.position="bottom-left",this.source=this.viewModel.source,this.state=this.viewModel.state,this.arcgisPropertyChange=x()("activeBasemap","state"),this.arcgisReady=L()}static{this.properties={_width:16,_state:16,_itemsState:16,activeBasemap:0,autoDestroyDisabled:5,disabled:7,headingLevel:9,icon:1,label:1,position:1,referenceElement:1,source:0,state:3}}static{this.shadowRootOptions=S}static{this.styles=ee}async destroy(){await this.manager.destroy()}loaded(){this.manager.onLifecycle(()=>[Q(()=>this.source,()=>{this.viewModel.loadSource()},{sync:!0,initial:!0}),y(()=>this.source.state,()=>{this._state=this.source.state},{sync:!0}),y(()=>this.viewModel.items.filter(s=>s.state!=="ready").length,s=>{this._itemsState=s>0?"loading":"ready"},{sync:!0}),y(()=>this.viewModel.activeBasemap,()=>{this.el.childElem?.querySelector(`[data-basemap="${this.viewModel.activeBasemap?.id}"]`)?.focus()},{sync:!0})]);let e=new ResizeObserver(s=>{for(let i of s)this._width=i.contentRect.width}),a=this.el.childElem;a&&e.observe(a)}_getRoundRobinIndex(e,a){return(e+a)%a}_handleKeyDown(e){let{key:a}=e;if(!["ArrowUp","ArrowDown","ArrowRight","ArrowLeft"].includes(a))return;e.preventDefault();let{items:s,activeBasemapIndex:i}=this.viewModel,r=a==="ArrowUp"||a==="ArrowLeft"?this._getRoundRobinIndex(Math.max(i-1,-1),s.length):this._getRoundRobinIndex(i+1,s.length),l=s.at(r);l?.state==="ready"&&(this.viewModel.activeBasemap=l.basemap)}render(){let e=this.source.state==="loading",a=this.disabled||this.state==="disabled",s=this.viewModel.items,i={[o.sourceLoading]:e,[u.disabled]:a,"esri-component":!0},r=this._width;r<=b.small||r>=b.wide?i[o.layoutGrid]=!0:r<b.default&&(i[o.narrowItems]=!0);let l=e?n`<div class=${m(o.loader)}></div>`:null,$=e?null:s.length>0?n`<div aria-disabled=${this.disabled??h} aria-label=${this.label??h} class=${m(o.itemContainer)} @keydown=${this._handleKeyDown} role=radiogroup>${s.map((p,d)=>P({disabled:a,item:p,itemIndex:d,viewModel:this.viewModel,messages:this.messages,state:p.state}))}</div>`:n`<div class=${m(u.empty)}>${Y({level:this.headingLevel,children:this.messages.noBasemaps})}</div>`;return n`<div class=${m(v(o.base,u.widget,u.panel,i))} style=${R({"--esri-basemap-gallery-small":`${b.small}px`})}>${[l,$]}</div>`}};A("arcgis-basemap-gallery",_);export{_ as ArcgisBasemapGallery};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/4.33/esri/copyright.txt for details.
3
- v4.33.0-next.3 */
4
- import{a as o}from"./R3BPEY3W.js";import{d as t}from"./EHLCSI5D.js";import"./ZFB6YZIB.js";import{A as h,B as l,G as c,g as i,q as a,r}from"./U4O7H3J5.js";var g=await $arcgis.l("widgets/Search");var d=r`arcgis-search{display:block}`,u=o(g),e=class extends l{constructor(){super(...arguments),this.widget=u(this),this.viewModel=this.widget.viewModel,this.activeMenu=this.widget.activeMenu,this.activeSource=this.widget.activeSource,this.activeSourceIndex=this.widget.activeSourceIndex,this.allPlaceholder=this.widget.allPlaceholder,this.allSources=this.widget.allSources,this.autoDestroyDisabled=!1,this.autoSelectDisabled=this.widget.autoSelect,this.defaultSources=this.widget.defaultSources,this.disabled=this.widget.disabled,this.icon=this.widget.icon,this.includeDefaultSourcesDisabled=this.widget.includeDefaultSources,this.label=this.widget.label,this.locationDisabled=this.widget.locationEnabled,this.maxResults=this.widget.maxResults,this.maxSuggestions=this.widget.maxSuggestions,this.minSuggestCharacters=this.widget.minSuggestCharacters,this.popupDisabled=this.widget.popupEnabled,this.popupTemplate=this.widget.popupTemplate,this.portal=this.widget.portal,this.position="top-right",this.resultGraphic=this.widget.resultGraphic,this.resultGraphicDisabled=this.widget.resultGraphicEnabled,this.results=this.widget.results,this.searchAllDisabled=this.widget.searchAllEnabled,this.searchTerm=this.widget.searchTerm,this.selectedResult=this.widget.selectedResult,this.sources=this.widget.sources,this.state=this.viewModel.state,this.suggestions=this.widget.suggestions,this.suggestionsDisabled=this.widget.suggestionsEnabled,this.arcgisBlur=t(()=>this.widget,"search-blur"),this.arcgisClear=t(()=>this.widget,"search-clear"),this.arcgisComplete=t(()=>this.widget,"search-complete"),this.arcgisFocus=t(()=>this.widget,"search-focus"),this.arcgisPropertyChange=a()("state"),this.arcgisReady=h(),this.arcgisSelectResult=t(()=>this.widget,"select-result"),this.arcgisStart=t(()=>this.widget,"search-start"),this.arcgisSuggestComplete=t(()=>this.widget,"suggest-complete"),this.arcgisSuggestStart=t(()=>this.widget,"suggest-start")}static{this.properties={activeMenu:1,activeSource:0,activeSourceIndex:9,allPlaceholder:1,allSources:0,autoDestroyDisabled:5,autoSelectDisabled:5,defaultSources:0,disabled:7,icon:1,includeDefaultSourcesDisabled:5,label:1,locationDisabled:5,maxResults:9,maxSuggestions:9,minSuggestCharacters:9,popupDisabled:5,popupTemplate:0,portal:0,position:1,referenceElement:1,resultGraphic:0,resultGraphicDisabled:5,results:0,searchAllDisabled:5,searchTerm:1,selectedResult:0,sources:0,state:3,suggestions:0,suggestionsDisabled:5}}static{this.shadowRootOptions=i}static{this.styles=d}async blurSearch(){this.widget?.blur()}async clearSearch(){this.widget?.clear()}async destroy(){await this.manager.destroy()}async focusSearch(){this.widget?.focus()}async search(s){return await this.widget?.search(s)}async suggest(s){return await this.widget?.suggest(s)}};c("arcgis-search",e);export{e as ArcgisSearch};
3
+ v4.33.0-next.4 */
4
+ import{a as o}from"./E24PS7UW.js";import{d as t}from"./NI5HGQAV.js";import"./WJHEJVAN.js";import{A as h,B as l,G as c,g as i,q as a,r}from"./JIRQQI3T.js";var g=await $arcgis.l("widgets/Search");var d=r`arcgis-search{display:block}`,u=o(g),e=class extends l{constructor(){super(...arguments),this.widget=u(this),this.viewModel=this.widget.viewModel,this.activeMenu=this.widget.activeMenu,this.activeSource=this.widget.activeSource,this.activeSourceIndex=this.widget.activeSourceIndex,this.allPlaceholder=this.widget.allPlaceholder,this.allSources=this.widget.allSources,this.autoDestroyDisabled=!1,this.autoSelectDisabled=this.widget.autoSelect,this.defaultSources=this.widget.defaultSources,this.disabled=this.widget.disabled,this.icon=this.widget.icon,this.includeDefaultSourcesDisabled=this.widget.includeDefaultSources,this.label=this.widget.label,this.locationDisabled=this.widget.locationEnabled,this.maxResults=this.widget.maxResults,this.maxSuggestions=this.widget.maxSuggestions,this.minSuggestCharacters=this.widget.minSuggestCharacters,this.popupDisabled=this.widget.popupEnabled,this.popupTemplate=this.widget.popupTemplate,this.portal=this.widget.portal,this.position="top-right",this.resultGraphic=this.widget.resultGraphic,this.resultGraphicDisabled=this.widget.resultGraphicEnabled,this.results=this.widget.results,this.searchAllDisabled=this.widget.searchAllEnabled,this.searchTerm=this.widget.searchTerm,this.selectedResult=this.widget.selectedResult,this.sources=this.widget.sources,this.state=this.viewModel.state,this.suggestions=this.widget.suggestions,this.suggestionsDisabled=this.widget.suggestionsEnabled,this.arcgisBlur=t(()=>this.widget,"search-blur"),this.arcgisClear=t(()=>this.widget,"search-clear"),this.arcgisComplete=t(()=>this.widget,"search-complete"),this.arcgisFocus=t(()=>this.widget,"search-focus"),this.arcgisPropertyChange=a()("state"),this.arcgisReady=h(),this.arcgisSelectResult=t(()=>this.widget,"select-result"),this.arcgisStart=t(()=>this.widget,"search-start"),this.arcgisSuggestComplete=t(()=>this.widget,"suggest-complete"),this.arcgisSuggestStart=t(()=>this.widget,"suggest-start")}static{this.properties={activeMenu:1,activeSource:0,activeSourceIndex:9,allPlaceholder:1,allSources:0,autoDestroyDisabled:5,autoSelectDisabled:5,defaultSources:0,disabled:7,icon:1,includeDefaultSourcesDisabled:5,label:1,locationDisabled:5,maxResults:9,maxSuggestions:9,minSuggestCharacters:9,popupDisabled:5,popupTemplate:0,portal:0,position:1,referenceElement:1,resultGraphic:0,resultGraphicDisabled:5,results:0,searchAllDisabled:5,searchTerm:1,selectedResult:0,sources:0,state:3,suggestions:0,suggestionsDisabled:5}}static{this.shadowRootOptions=i}static{this.styles=d}async blurSearch(){this.widget?.blur()}async clearSearch(){this.widget?.clear()}async destroy(){await this.manager.destroy()}async focusSearch(){this.widget?.focus()}async search(s){return await this.widget?.search(s)}async suggest(s){return await this.widget?.suggest(s)}};c("arcgis-search",e);export{e as ArcgisSearch};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/4.33/esri/copyright.txt for details.
3
- v4.33.0-next.3 */
4
- import{a as u}from"./IVLF5FRQ.js";import{a as M}from"./RJRBYIDF.js";import{a as _}from"./ELGWGOKT.js";import{a as C}from"./6UZ2Z46H.js";import"./EHLCSI5D.js";import"./ZFB6YZIB.js";import{A as $,B as y,C as p,D as w,E as D,G as P,a as v,g as m,q as b,r as x,s as g}from"./U4O7H3J5.js";var L=await $arcgis.l("widgets/Swipe/SwipeViewModel");var H=x`arcgis-swipe,.arcgis-swipe{position:absolute;margin:0;background:transparent;padding:0;width:100%;height:100%;overflow:hidden;user-select:none}.arcgis-swipe,.arcgis-ui .arcgis-swipe{pointer-events:none}.arcgis-swipe__container{position:absolute;z-index:1;margin:0;outline:0;border:0;padding:0;overflow:hidden;pointer-events:auto;touch-action:none;outline-color:transparent}.arcgis-swipe--horizontal .arcgis-swipe__container{margin-left:calc(var(--calcite-spacing-xxxl) / 2 * -1);cursor:col-resize;height:100%}.arcgis-swipe--vertical .arcgis-swipe__container{margin-top:calc(var(--calcite-spacing-xxxl) / 2 * -1);cursor:row-resize;width:100%}.arcgis-swipe--disabled .arcgis-swipe__container{cursor:default;pointer-events:none}.arcgis-swipe__divider{position:absolute;background-color:var(--calcite-color-background)}.arcgis-swipe--horizontal .arcgis-swipe__divider{top:0;left:calc(var(--calcite-spacing-xxxl) / 2);margin-left:calc(var(--calcite-border-width-lg) * .5 * -1);border-right:var(--calcite-border-width-sm) solid var(--calcite-color-border-1);border-left:var(--calcite-border-width-sm) solid var(--calcite-color-border-1);width:var(--calcite-border-width-lg);height:100%}.arcgis-swipe--vertical .arcgis-swipe__divider{top:calc(var(--calcite-spacing-xxxl) / 2);left:0;margin-top:calc(var(--calcite-border-width-lg) * .5 * -1);border-top:var(--calcite-border-width-sm) solid var(--calcite-color-border-1);border-bottom:var(--calcite-border-width-sm) solid var(--calcite-color-border-1);width:100%;height:var(--calcite-border-width-lg)}.arcgis-swipe__handle{display:flex;position:relative;align-items:center;justify-content:center;border:var(--calcite-border-width-sm) solid var(--calcite-color-border-1);border-radius:var(--calcite-corner-radius-round);background-color:var(--calcite-color-background);width:var(--calcite-spacing-xxxl);height:var(--calcite-spacing-xxxl);color:var(--calcite-color-border-input)}.arcgis-swipe__handle--hidden{visibility:hidden}.arcgis-swipe--vertical .arcgis-swipe__handle{rotate:90deg}.arcgis-swipe__handle-icon{position:relative;z-index:2}.arcgis-swipe--horizontal .arcgis-swipe__handle{top:calc(50% - calc(var(--calcite-spacing-xxxl) / 2))}.arcgis-swipe--vertical .arcgis-swipe__handle{left:calc(50% - calc(var(--calcite-spacing-xxxl) / 2))}.arcgis-swipe__container:focus .arcgis-swipe__handle,.arcgis-swipe__container:focus .arcgis-swipe__divider{outline:inset 2px var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)))}.arcgis-swipe__container:focus .arcgis-swipe__handle{outline-offset:calc(-2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}`,l="arcgis-swipe",n={base:l,baseDisabled:`${l}--disabled`,vertical:`${l}--vertical`,horizontal:`${l}--horizontal`,container:`${l}__container`,divider:`${l}__divider`,handle:`${l}__handle`,handleHidden:`${l}__handle--hidden`,handleIcon:`${l}__handle-icon`},O=M(L),f=class extends y{constructor(){super(...arguments),this._container=null,this._swiping=!1,this.messages=C({}),this._pointerOffset=0,this.viewModel=O(this),this._onContainerPointerDown=e=>{e.preventDefault();let{_container:i}=this;i&&document.activeElement!==this.el&&i.focus(),this._swiping=!0,this._calculatePointerOffset(e)},this.autoDestroyDisabled=!1,this.direction=this.viewModel.direction,this.disabled=!1,this.hideDivider=!1,this.hideHandle=!1,this.icon="compare",this.label=this.messages.componentLabel,this.leadingLayers=this.viewModel.leadingLayers,this.position="manual",this.swipePosition=this.viewModel.position,this.state=this.viewModel.state,this.trailingLayers=this.viewModel.trailingLayers,this.arcgisPropertyChange=b()("state"),this.arcgisReady=$()}static{this.properties={autoDestroyDisabled:5,direction:3,disabled:7,hideDivider:7,hideHandle:7,icon:3,label:1,leadingLayers:0,messageOverrides:0,position:3,swipePosition:9,referenceElement:1,state:3,trailingLayers:0}}static{this.shadowRootOptions=m}static{this.styles=H}async destroy(){await this.manager.destroy()}loaded(){this.listenOn(document,"pointermove",this._onContainerPointerMove),this.listenOn(document,"pointerup",this._onContainerPointerUp)}_calculatePointerOffset(e){let{direction:i}=this,t=e.target,r=(i==="vertical"?t.clientHeight:t.clientWidth)/2,a=t.getBoundingClientRect(),o=e.clientX-a.left,d=e.clientY-a.top;this._pointerOffset=i==="vertical"?d-r:o-r}_onContainerPointerUp(e){this._swiping&&(e.preventDefault(),this._swiping=!1)}_onContainerPointerMove(e){if(!this._swiping)return;e.preventDefault();let{_pointerOffset:i,el:t,direction:r}=this,{clientX:a,clientY:o}=e,{top:d,left:s,width:c,height:h}=t.getBoundingClientRect(),z=r==="vertical"?h:c,A=(r==="vertical"?o-d-i:a-s-i)/z*100;this.swipePosition=A}_getKeyPosition(e){let{key:i}=e,{swipePosition:t}=this,{max:r,min:a,step:o,stepMultiplier:d,direction:s}=this.viewModel,c=o*d;if(["ArrowUp","ArrowDown","ArrowLeft","ArrowRight","Home","End","PageUp","PageDown"].includes(i)&&(e.preventDefault(),e.stopPropagation()),s==="vertical"?i==="ArrowDown"||i==="ArrowRight":i==="ArrowUp"||i==="ArrowRight"){let h=e.shiftKey?c:o;return t+h}if(s==="vertical"?i==="ArrowUp"||i==="ArrowLeft":i==="ArrowDown"||i==="ArrowLeft"){let h=e.shiftKey?c:o;return t-h}return i==="Home"?a:i==="End"?r:(s==="vertical"?i==="PageDown":i==="PageUp")?t+c:(s==="vertical"?i==="PageUp":i==="PageDown")?t-c:null}_onContainerKeyDown(e){let i=this._getKeyPosition(e);typeof i=="number"&&(this.swipePosition=i)}render(){let{state:e,direction:i}=this.viewModel,t=e==="disabled"||this.disabled,r={[_.disabled]:t,[n.baseDisabled]:t,[n.vertical]:i==="vertical",[n.horizontal]:i==="horizontal"};return g`<div class=${p(v(n.base,_.widget,r))}>${e==="disabled"?null:this._renderContainer()}</div>`}_renderHandle(){let{direction:e}=this.viewModel,{hideHandle:i}=this,t={[u.dragHorizontal]:e==="vertical",[u.dragVertical]:e==="horizontal"},r=v(n.handle,!!i&&n.handleHidden);return g`<div class=${p(r)} role=presentation><span aria-hidden=true class=${p(v(n.handleIcon,t))}></span></div>`}_renderDivider(){return this.hideDivider?null:g`<div class=${p(n.divider)} role=presentation></div>`}_renderContent(){return[this._renderDivider(),this._renderHandle()]}_renderContainer(){let{disabled:e,viewModel:i}=this,{max:t,min:r,direction:a,position:o}=i,d=this.label??this.messages.dragLabel??"",s=`${o}%`,c={top:a==="vertical"?s:void 0,left:a==="vertical"?void 0:s},h=this._renderContent();return e?g`<div class=${p(n.container)} role=presentation style=${w(c)}>${h}</div>`:g`<div @pointerdown=${this._onContainerPointerDown} .ariaLabel=${d} .ariaOrientation=${a} .ariaValueMax=${`${t}`} .ariaValueMin=${`${r}`} .ariaValueNow=${`${o}`} .ariaValueText=${s} class=${p(n.container)} @keydown=${this._onContainerKeyDown} role=slider style=${w(c)} tabindex=0 title=${d??D} touch-action=none>${h}</div>`}};P("arcgis-swipe",f);export{f as ArcgisSwipe};
3
+ v4.33.0-next.4 */
4
+ import{a as u}from"./M7FOREIS.js";import{a as M}from"./FUJHUDM7.js";import{a as _}from"./OIT4GR4Z.js";import{a as C}from"./Q5WL5PTB.js";import"./NI5HGQAV.js";import"./WJHEJVAN.js";import{A as $,B as y,C as p,D as w,E as D,G as P,a as v,g as m,q as b,r as x,s as g}from"./JIRQQI3T.js";var L=await $arcgis.l("widgets/Swipe/SwipeViewModel");var H=x`arcgis-swipe,.arcgis-swipe{position:absolute;margin:0;background:transparent;padding:0;width:100%;height:100%;overflow:hidden;user-select:none}.arcgis-swipe,.arcgis-ui .arcgis-swipe{pointer-events:none}.arcgis-swipe__container{position:absolute;z-index:1;margin:0;outline:0;border:0;padding:0;overflow:hidden;pointer-events:auto;touch-action:none;outline-color:transparent}.arcgis-swipe--horizontal .arcgis-swipe__container{margin-left:calc(var(--calcite-spacing-xxxl) / 2 * -1);cursor:col-resize;height:100%}.arcgis-swipe--vertical .arcgis-swipe__container{margin-top:calc(var(--calcite-spacing-xxxl) / 2 * -1);cursor:row-resize;width:100%}.arcgis-swipe--disabled .arcgis-swipe__container{cursor:default;pointer-events:none}.arcgis-swipe__divider{position:absolute;background-color:var(--calcite-color-background)}.arcgis-swipe--horizontal .arcgis-swipe__divider{top:0;left:calc(var(--calcite-spacing-xxxl) / 2);margin-left:calc(var(--calcite-border-width-lg) * .5 * -1);border-right:var(--calcite-border-width-sm) solid var(--calcite-color-border-1);border-left:var(--calcite-border-width-sm) solid var(--calcite-color-border-1);width:var(--calcite-border-width-lg);height:100%}.arcgis-swipe--vertical .arcgis-swipe__divider{top:calc(var(--calcite-spacing-xxxl) / 2);left:0;margin-top:calc(var(--calcite-border-width-lg) * .5 * -1);border-top:var(--calcite-border-width-sm) solid var(--calcite-color-border-1);border-bottom:var(--calcite-border-width-sm) solid var(--calcite-color-border-1);width:100%;height:var(--calcite-border-width-lg)}.arcgis-swipe__handle{display:flex;position:relative;align-items:center;justify-content:center;border:var(--calcite-border-width-sm) solid var(--calcite-color-border-1);border-radius:var(--calcite-corner-radius-round);background-color:var(--calcite-color-background);width:var(--calcite-spacing-xxxl);height:var(--calcite-spacing-xxxl);color:var(--calcite-color-border-input)}.arcgis-swipe__handle--hidden{visibility:hidden}.arcgis-swipe--vertical .arcgis-swipe__handle{rotate:90deg}.arcgis-swipe__handle-icon{position:relative;z-index:2}.arcgis-swipe--horizontal .arcgis-swipe__handle{top:calc(50% - calc(var(--calcite-spacing-xxxl) / 2))}.arcgis-swipe--vertical .arcgis-swipe__handle{left:calc(50% - calc(var(--calcite-spacing-xxxl) / 2))}.arcgis-swipe__container:focus .arcgis-swipe__handle,.arcgis-swipe__container:focus .arcgis-swipe__divider{outline:inset 2px var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)))}.arcgis-swipe__container:focus .arcgis-swipe__handle{outline-offset:calc(-2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}`,l="arcgis-swipe",n={base:l,baseDisabled:`${l}--disabled`,vertical:`${l}--vertical`,horizontal:`${l}--horizontal`,container:`${l}__container`,divider:`${l}__divider`,handle:`${l}__handle`,handleHidden:`${l}__handle--hidden`,handleIcon:`${l}__handle-icon`},O=M(L),f=class extends y{constructor(){super(...arguments),this._container=null,this._swiping=!1,this.messages=C({}),this._pointerOffset=0,this.viewModel=O(this),this._onContainerPointerDown=e=>{e.preventDefault();let{_container:i}=this;i&&document.activeElement!==this.el&&i.focus(),this._swiping=!0,this._calculatePointerOffset(e)},this.autoDestroyDisabled=!1,this.direction=this.viewModel.direction,this.disabled=!1,this.hideDivider=!1,this.hideHandle=!1,this.icon="compare",this.label=this.messages.componentLabel,this.leadingLayers=this.viewModel.leadingLayers,this.position="manual",this.swipePosition=this.viewModel.position,this.state=this.viewModel.state,this.trailingLayers=this.viewModel.trailingLayers,this.arcgisPropertyChange=b()("state"),this.arcgisReady=$()}static{this.properties={autoDestroyDisabled:5,direction:3,disabled:7,hideDivider:7,hideHandle:7,icon:3,label:1,leadingLayers:0,messageOverrides:0,position:3,swipePosition:9,referenceElement:1,state:3,trailingLayers:0}}static{this.shadowRootOptions=m}static{this.styles=H}async destroy(){await this.manager.destroy()}loaded(){this.listenOn(document,"pointermove",this._onContainerPointerMove),this.listenOn(document,"pointerup",this._onContainerPointerUp)}_calculatePointerOffset(e){let{direction:i}=this,t=e.target,r=(i==="vertical"?t.clientHeight:t.clientWidth)/2,a=t.getBoundingClientRect(),o=e.clientX-a.left,d=e.clientY-a.top;this._pointerOffset=i==="vertical"?d-r:o-r}_onContainerPointerUp(e){this._swiping&&(e.preventDefault(),this._swiping=!1)}_onContainerPointerMove(e){if(!this._swiping)return;e.preventDefault();let{_pointerOffset:i,el:t,direction:r}=this,{clientX:a,clientY:o}=e,{top:d,left:s,width:c,height:h}=t.getBoundingClientRect(),z=r==="vertical"?h:c,A=(r==="vertical"?o-d-i:a-s-i)/z*100;this.swipePosition=A}_getKeyPosition(e){let{key:i}=e,{swipePosition:t}=this,{max:r,min:a,step:o,stepMultiplier:d,direction:s}=this.viewModel,c=o*d;if(["ArrowUp","ArrowDown","ArrowLeft","ArrowRight","Home","End","PageUp","PageDown"].includes(i)&&(e.preventDefault(),e.stopPropagation()),s==="vertical"?i==="ArrowDown"||i==="ArrowRight":i==="ArrowUp"||i==="ArrowRight"){let h=e.shiftKey?c:o;return t+h}if(s==="vertical"?i==="ArrowUp"||i==="ArrowLeft":i==="ArrowDown"||i==="ArrowLeft"){let h=e.shiftKey?c:o;return t-h}return i==="Home"?a:i==="End"?r:(s==="vertical"?i==="PageDown":i==="PageUp")?t+c:(s==="vertical"?i==="PageUp":i==="PageDown")?t-c:null}_onContainerKeyDown(e){let i=this._getKeyPosition(e);typeof i=="number"&&(this.swipePosition=i)}render(){let{state:e,direction:i}=this.viewModel,t=e==="disabled"||this.disabled,r={[_.disabled]:t,[n.baseDisabled]:t,[n.vertical]:i==="vertical",[n.horizontal]:i==="horizontal"};return g`<div class=${p(v(n.base,_.widget,r))}>${e==="disabled"?null:this._renderContainer()}</div>`}_renderHandle(){let{direction:e}=this.viewModel,{hideHandle:i}=this,t={[u.dragHorizontal]:e==="vertical",[u.dragVertical]:e==="horizontal"},r=v(n.handle,!!i&&n.handleHidden);return g`<div class=${p(r)} role=presentation><span aria-hidden=true class=${p(v(n.handleIcon,t))}></span></div>`}_renderDivider(){return this.hideDivider?null:g`<div class=${p(n.divider)} role=presentation></div>`}_renderContent(){return[this._renderDivider(),this._renderHandle()]}_renderContainer(){let{disabled:e,viewModel:i}=this,{max:t,min:r,direction:a,position:o}=i,d=this.label??this.messages.dragLabel??"",s=`${o}%`,c={top:a==="vertical"?s:void 0,left:a==="vertical"?void 0:s},h=this._renderContent();return e?g`<div class=${p(n.container)} role=presentation style=${w(c)}>${h}</div>`:g`<div @pointerdown=${this._onContainerPointerDown} .ariaLabel=${d} .ariaOrientation=${a} .ariaValueMax=${`${t}`} .ariaValueMin=${`${r}`} .ariaValueNow=${`${o}`} .ariaValueText=${s} class=${p(n.container)} @keydown=${this._onContainerKeyDown} role=slider style=${w(c)} tabindex=0 title=${d??D} touch-action=none>${h}</div>`}};P("arcgis-swipe",f);export{f as ArcgisSwipe};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/4.33/esri/copyright.txt for details.
3
- v4.33.0-next.3 */
4
- import{a as g}from"./R3BPEY3W.js";import{d as i}from"./EHLCSI5D.js";import{d as r}from"./ZFB6YZIB.js";import{A as s,B as d,G as a,g as o,q as n,r as h}from"./U4O7H3J5.js";var[m,u]=await $arcgis.l(["layers/Layer","widgets/FeatureTable"]);var w=h`arcgis-feature-table{display:block}.arcgis-feature-table{width:100%;height:100%}`,b=g(u),l=class extends d{constructor(){super(...arguments),this.widget=b(this),this.viewModel=this.widget.viewModel,this.attributeTableTemplate=this.widget.attributeTableTemplate,this.actionColumnConfig=this.widget.actionColumnConfig,this.activeFilters=this.widget.activeFilters,this.activeSortOrders=this.widget.activeSortOrders,this.allRelatedTablesVisible=this.widget.allRelatedTablesVisible,this.attachmentsEnabled=this.widget.attachmentsEnabled,this.autoDestroyDisabled=!1,this.autoRefreshDisabled=this.widget.autoRefreshEnabled,this.columnReorderingDisabled=this.widget.columnReorderingEnabled,this.columns=this.widget.columns,this.description=this.widget.description,this.editingEnabled=this.widget.editingEnabled,this.effectiveSize=this.widget.effectiveSize,this.filterBySelectionEnabled=this.widget.filterBySelectionEnabled,this.filterGeometry=this.widget.filterGeometry,this.hideColumnDescriptions=this.widget.visibleElements.columnDescriptions,this.hiddenFields=this.widget.hiddenFields,this.hideColumnMenuItemsSortAscending=this.widget.visibleElements.columnMenuItems.sortAscending,this.hideColumnMenuItemsSortDescending=this.widget.visibleElements.columnMenuItems.sortDescending,this.hideColumnMenus=this.widget.visibleElements.columnMenus,this.hideHeader=this.widget.visibleElements.header,this.hideMenu=this.widget.visibleElements.menu,this.hideMenuItemsClearSelection=this.widget.visibleElements.menuItems.clearSelection,this.hideMenuItemsDeleteSelection=this.widget.visibleElements.menuItems.deleteSelection,this.hideMenuItemsExportSelectionToCsv=this.widget.visibleElements.menuItems.exportSelectionToCSV,this.hideMenuItemsRefreshData=this.widget.visibleElements.menuItems.refreshData,this.hideMenuItemsSelectedRecordsShowAllToggle=this.widget.visibleElements.menuItems.selectedRecordsShowAllToggle,this.hideMenuItemsSelectedRecordsShowSelectedToggle=this.widget.visibleElements.menuItems.selectedRecordsShowSelectedToggle,this.hideMenuItemsToggleColumns=this.widget.visibleElements.menuItems.toggleColumns,this.hideMenuItemsZoomToSelection=this.widget.visibleElements.menuItems.zoomToSelection,this.hideProgress=this.widget.visibleElements.progress,this.hideSelectionColumn=this.widget.visibleElements.selectionColumn,this.hideTooltips=this.widget.visibleElements.tooltips,this.highlightDisabled=this.widget.highlightEnabled,this.highlightIds=this.widget.highlightIds,this.initialSize=this.widget.initialSize,this.icon=this.widget.icon,this.isQueryingOrSyncing=this.widget.isQueryingOrSyncing,this.label=this.widget.label,this.layer=this.widget.layer,this.layerView=this.widget.layerView,this.layers=this.widget.layers,this.maxSize=this.widget.maxSize,this.menuConfig=this.widget.menuConfig,this.multipleSelectionDisabled=this.widget.multipleSelectionEnabled,this.multipleSortEnabled=this.widget.multiSortEnabled,this.objectIds=this.widget.objectIds,this.outFields=this.widget.outFields,this.pageCount=this.widget.pageCount,this.pageIndex=this.widget.pageIndex,this.pageSize=this.widget.pageSize,this.paginationEnabled=this.widget.paginationEnabled,this.position="manual",this.relatedRecordsEnabled=this.widget.relatedRecordsEnabled,this.relatedTable=this.widget.relatedTable,this.relatedTables=this.widget.relatedTables,this.returnGeometryEnabled=this.widget.returnGeometryEnabled,this.returnMEnabled=this.widget.returnMEnabled,this.returnZEnabled=this.widget.returnZEnabled,this.rowHighlightIds=this.widget.rowHighlightIds,this.size=this.widget.size,this.showLayerDropdown=this.widget.visibleElements.layerDropdown,this.state=this.widget.state,this.tableController=this.widget.tableController,this.tableDisabled=this.widget.disabled,this.tableParent=this.widget.tableParent,this.tableTemplate=this.widget.tableTemplate,this.timeExtent=this.widget.timeExtent,this.timeZone=this.widget.timeZone,this.arcgisCellClick=i(()=>this.widget,"cell-click"),this.arcgisCellKeydown=i(()=>this.widget,"cell-keydown"),this.arcgisCellPointerout=i(()=>this.widget,"cell-pointerout"),this.arcgisCellPointerover=i(()=>this.widget,"cell-pointerover"),this.arcgisColumnReorder=i(()=>this.widget,"column-reorder"),this.arcgisPropertyChange=n()("effectiveSize","isQueryingOrSyncing","layerView","size","state"),this.arcgisReady=s(),this.arcgisSelectionChange=s()}static{this.properties={attributeTableTemplate:0,actionColumnConfig:0,activeFilters:0,activeSortOrders:0,allRelatedTablesVisible:4,attachmentsEnabled:5,autoDestroyDisabled:5,autoRefreshDisabled:5,columnReorderingDisabled:5,columns:0,description:1,editingEnabled:5,effectiveSize:8,filterBySelectionEnabled:5,filterGeometry:0,hideColumnDescriptions:5,hiddenFields:0,hideColumnMenuItemsSortAscending:5,hideColumnMenuItemsSortDescending:5,hideColumnMenus:5,hideHeader:5,hideMenu:5,hideMenuItemsClearSelection:5,hideMenuItemsDeleteSelection:5,hideMenuItemsExportSelectionToCsv:5,hideMenuItemsRefreshData:5,hideMenuItemsSelectedRecordsShowAllToggle:5,hideMenuItemsSelectedRecordsShowSelectedToggle:5,hideMenuItemsToggleColumns:5,hideMenuItemsZoomToSelection:5,hideProgress:5,hideSelectionColumn:5,hideTooltips:5,highlightDisabled:5,highlightIds:0,initialSize:9,icon:1,isQueryingOrSyncing:4,label:1,layer:0,layerItemId:1,layerUrl:1,layerView:0,layers:0,maxSize:9,menuConfig:0,multipleSelectionDisabled:5,multipleSortEnabled:5,objectIds:0,outFields:0,pageCount:8,pageIndex:9,pageSize:9,paginationEnabled:5,position:1,referenceElement:1,relatedRecordsEnabled:5,relatedTable:0,relatedTables:0,returnGeometryEnabled:5,returnMEnabled:5,returnZEnabled:5,rowHighlightIds:0,size:8,showLayerDropdown:5,state:3,tableController:0,tableDisabled:5,tableParent:0,tableTemplate:0,timeExtent:0,timeZone:1}}static{this.shadowRootOptions=o}static{this.styles=w}async deleteSelection(e){await this.widget?.deleteSelection(e)}async destroy(){await this.manager.destroy()}async exportSelectionToCSV(e){await this.widget?.exportSelectionToCSV(e)}async findColumn(e){return this.widget?.findColumn(e)}async goToPage(e){this.widget.goToPage(e)}async hideColumn(e){this.widget?.hideColumn(e)}async nextPage(){this.widget.nextPage()}async previousPage(){this.widget.previousPage()}async refresh(){await this.widget?.refresh()}async scrollToBottom(){this.widget.scrollToBottom()}async scrollToIndex(e){this.widget?.scrollToIndex(e)}async scrollToLeft(){this.widget.scrollLeft()}async scrollToRow(e){this.widget?.scrollToRow(e)}async scrollToTop(){this.widget.scrollToTop()}async showAllColumns(){this.widget?.showAllColumns()}async showColumn(e){this.widget?.showColumn(e)}async sortColumn(e,t){this.widget?.sortColumn(e,t)}async zoomToSelection(){this.widget?.zoomToSelection()}load(){this.manager.onLifecycle(()=>this.widget.highlightIds.on("change",this.arcgisSelectionChange.emit))}willUpdate(e){if(e.has("layerItemId")&&(r(this.layerItemId)?this.layer=null:this.layerItemId&&m.fromPortalItem({portalItem:{id:this.layerItemId}}).then(t=>{this.layer=t}).catch(console.error)),e.has("layerUrl")){let t=this.layerUrl;t?m.fromArcGISServerUrl({url:t}).then(c=>{this.layer=c}).catch(console.error):this.layer=null}}loaded(){this.el.childElem?.classList.add("arcgis-feature-table")}};a("arcgis-feature-table",l);export{l as ArcgisFeatureTable};
3
+ v4.33.0-next.4 */
4
+ import{a as g}from"./E24PS7UW.js";import{d as i}from"./NI5HGQAV.js";import{d as r}from"./WJHEJVAN.js";import{A as s,B as d,G as a,g as o,q as n,r as h}from"./JIRQQI3T.js";var[m,u]=await $arcgis.l(["layers/Layer","widgets/FeatureTable"]);var w=h`arcgis-feature-table{display:block}.arcgis-feature-table{width:100%;height:100%}`,b=g(u),l=class extends d{constructor(){super(...arguments),this.widget=b(this),this.viewModel=this.widget.viewModel,this.attributeTableTemplate=this.widget.attributeTableTemplate,this.actionColumnConfig=this.widget.actionColumnConfig,this.activeFilters=this.widget.activeFilters,this.activeSortOrders=this.widget.activeSortOrders,this.allRelatedTablesVisible=this.widget.allRelatedTablesVisible,this.attachmentsEnabled=this.widget.attachmentsEnabled,this.autoDestroyDisabled=!1,this.autoRefreshDisabled=this.widget.autoRefreshEnabled,this.columnReorderingDisabled=this.widget.columnReorderingEnabled,this.columns=this.widget.columns,this.description=this.widget.description,this.editingEnabled=this.widget.editingEnabled,this.effectiveSize=this.widget.effectiveSize,this.filterBySelectionEnabled=this.widget.filterBySelectionEnabled,this.filterGeometry=this.widget.filterGeometry,this.hideColumnDescriptions=this.widget.visibleElements.columnDescriptions,this.hiddenFields=this.widget.hiddenFields,this.hideColumnMenuItemsSortAscending=this.widget.visibleElements.columnMenuItems.sortAscending,this.hideColumnMenuItemsSortDescending=this.widget.visibleElements.columnMenuItems.sortDescending,this.hideColumnMenus=this.widget.visibleElements.columnMenus,this.hideHeader=this.widget.visibleElements.header,this.hideMenu=this.widget.visibleElements.menu,this.hideMenuItemsClearSelection=this.widget.visibleElements.menuItems.clearSelection,this.hideMenuItemsDeleteSelection=this.widget.visibleElements.menuItems.deleteSelection,this.hideMenuItemsExportSelectionToCsv=this.widget.visibleElements.menuItems.exportSelectionToCSV,this.hideMenuItemsRefreshData=this.widget.visibleElements.menuItems.refreshData,this.hideMenuItemsSelectedRecordsShowAllToggle=this.widget.visibleElements.menuItems.selectedRecordsShowAllToggle,this.hideMenuItemsSelectedRecordsShowSelectedToggle=this.widget.visibleElements.menuItems.selectedRecordsShowSelectedToggle,this.hideMenuItemsToggleColumns=this.widget.visibleElements.menuItems.toggleColumns,this.hideMenuItemsZoomToSelection=this.widget.visibleElements.menuItems.zoomToSelection,this.hideProgress=this.widget.visibleElements.progress,this.hideSelectionColumn=this.widget.visibleElements.selectionColumn,this.hideTooltips=this.widget.visibleElements.tooltips,this.highlightDisabled=this.widget.highlightEnabled,this.highlightIds=this.widget.highlightIds,this.initialSize=this.widget.initialSize,this.icon=this.widget.icon,this.isQueryingOrSyncing=this.widget.isQueryingOrSyncing,this.label=this.widget.label,this.layer=this.widget.layer,this.layerView=this.widget.layerView,this.layers=this.widget.layers,this.maxSize=this.widget.maxSize,this.menuConfig=this.widget.menuConfig,this.multipleSelectionDisabled=this.widget.multipleSelectionEnabled,this.multipleSortEnabled=this.widget.multiSortEnabled,this.objectIds=this.widget.objectIds,this.outFields=this.widget.outFields,this.pageCount=this.widget.pageCount,this.pageIndex=this.widget.pageIndex,this.pageSize=this.widget.pageSize,this.paginationEnabled=this.widget.paginationEnabled,this.position="manual",this.relatedRecordsEnabled=this.widget.relatedRecordsEnabled,this.relatedTable=this.widget.relatedTable,this.relatedTables=this.widget.relatedTables,this.returnGeometryEnabled=this.widget.returnGeometryEnabled,this.returnMEnabled=this.widget.returnMEnabled,this.returnZEnabled=this.widget.returnZEnabled,this.rowHighlightIds=this.widget.rowHighlightIds,this.size=this.widget.size,this.showLayerDropdown=this.widget.visibleElements.layerDropdown,this.state=this.widget.state,this.tableController=this.widget.tableController,this.tableDisabled=this.widget.disabled,this.tableParent=this.widget.tableParent,this.tableTemplate=this.widget.tableTemplate,this.timeExtent=this.widget.timeExtent,this.timeZone=this.widget.timeZone,this.arcgisCellClick=i(()=>this.widget,"cell-click"),this.arcgisCellKeydown=i(()=>this.widget,"cell-keydown"),this.arcgisCellPointerout=i(()=>this.widget,"cell-pointerout"),this.arcgisCellPointerover=i(()=>this.widget,"cell-pointerover"),this.arcgisColumnReorder=i(()=>this.widget,"column-reorder"),this.arcgisPropertyChange=n()("effectiveSize","isQueryingOrSyncing","layerView","size","state"),this.arcgisReady=s(),this.arcgisSelectionChange=s()}static{this.properties={attributeTableTemplate:0,actionColumnConfig:0,activeFilters:0,activeSortOrders:0,allRelatedTablesVisible:4,attachmentsEnabled:5,autoDestroyDisabled:5,autoRefreshDisabled:5,columnReorderingDisabled:5,columns:0,description:1,editingEnabled:5,effectiveSize:8,filterBySelectionEnabled:5,filterGeometry:0,hideColumnDescriptions:5,hiddenFields:0,hideColumnMenuItemsSortAscending:5,hideColumnMenuItemsSortDescending:5,hideColumnMenus:5,hideHeader:5,hideMenu:5,hideMenuItemsClearSelection:5,hideMenuItemsDeleteSelection:5,hideMenuItemsExportSelectionToCsv:5,hideMenuItemsRefreshData:5,hideMenuItemsSelectedRecordsShowAllToggle:5,hideMenuItemsSelectedRecordsShowSelectedToggle:5,hideMenuItemsToggleColumns:5,hideMenuItemsZoomToSelection:5,hideProgress:5,hideSelectionColumn:5,hideTooltips:5,highlightDisabled:5,highlightIds:0,initialSize:9,icon:1,isQueryingOrSyncing:4,label:1,layer:0,layerItemId:1,layerUrl:1,layerView:0,layers:0,maxSize:9,menuConfig:0,multipleSelectionDisabled:5,multipleSortEnabled:5,objectIds:0,outFields:0,pageCount:8,pageIndex:9,pageSize:9,paginationEnabled:5,position:1,referenceElement:1,relatedRecordsEnabled:5,relatedTable:0,relatedTables:0,returnGeometryEnabled:5,returnMEnabled:5,returnZEnabled:5,rowHighlightIds:0,size:8,showLayerDropdown:5,state:3,tableController:0,tableDisabled:5,tableParent:0,tableTemplate:0,timeExtent:0,timeZone:1}}static{this.shadowRootOptions=o}static{this.styles=w}async deleteSelection(e){await this.widget?.deleteSelection(e)}async destroy(){await this.manager.destroy()}async exportSelectionToCSV(e){await this.widget?.exportSelectionToCSV(e)}async findColumn(e){return this.widget?.findColumn(e)}async goToPage(e){this.widget.goToPage(e)}async hideColumn(e){this.widget?.hideColumn(e)}async nextPage(){this.widget.nextPage()}async previousPage(){this.widget.previousPage()}async refresh(){await this.widget?.refresh()}async scrollToBottom(){this.widget.scrollToBottom()}async scrollToIndex(e){this.widget?.scrollToIndex(e)}async scrollToLeft(){this.widget.scrollLeft()}async scrollToRow(e){this.widget?.scrollToRow(e)}async scrollToTop(){this.widget.scrollToTop()}async showAllColumns(){this.widget?.showAllColumns()}async showColumn(e){this.widget?.showColumn(e)}async sortColumn(e,t){this.widget?.sortColumn(e,t)}async zoomToSelection(){this.widget?.zoomToSelection()}load(){this.manager.onLifecycle(()=>this.widget.highlightIds.on("change",this.arcgisSelectionChange.emit))}willUpdate(e){if(e.has("layerItemId")&&(r(this.layerItemId)?this.layer=null:this.layerItemId&&m.fromPortalItem({portalItem:{id:this.layerItemId}}).then(t=>{this.layer=t}).catch(console.error)),e.has("layerUrl")){let t=this.layerUrl;t?m.fromArcGISServerUrl({url:t}).then(c=>{this.layer=c}).catch(console.error):this.layer=null}}loaded(){this.el.childElem?.classList.add("arcgis-feature-table")}};a("arcgis-feature-table",l);export{l as ArcgisFeatureTable};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/4.33/esri/copyright.txt for details.
3
- v4.33.0-next.3 */
4
- import{a as n}from"./R3BPEY3W.js";import"./EHLCSI5D.js";import"./ZFB6YZIB.js";import{A as a,B as r,G as o,g as i,q as e,r as s}from"./U4O7H3J5.js";var h=await $arcgis.l("widgets/HistogramRangeSlider");var l=s`arcgis-histogram-range-slider{display:block}`,g=n(h),t=class extends r{constructor(){super(...arguments),this.widget=g(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.average=this.widget.average,this.barCreatedFunction=this.widget.barCreatedFunction,this.bins=this.widget.bins,this.dataLineCreatedFunction=this.widget.dataLineCreatedFunction,this.dataLines=this.widget.dataLines,this.excludedBarColor=this.widget.excludedBarColor,this.icon=this.widget.icon,this.includedBarColor=this.widget.includedBarColor,this.label=this.widget.label,this.labelFormatFunction=this.widget.labelFormatFunction,this.max=this.widget.max,this.min=this.widget.min,this.position="bottom-left",this.precision=this.widget.precision,this.rangeType=this.widget.rangeType,this.standardDeviation=this.widget.standardDeviation,this.standardDeviationCount=this.widget.standardDeviationCount,this.state=this.viewModel.state,this.values=this.widget.values,this.arcgisPropertyChange=e()("state"),this.arcgisReady=a()}static{this.properties={autoDestroyDisabled:5,average:9,barCreatedFunction:0,bins:0,dataLineCreatedFunction:0,dataLines:0,excludedBarColor:0,icon:1,includedBarColor:0,label:1,labelFormatFunction:0,max:9,min:9,position:1,precision:9,rangeType:1,referenceElement:1,standardDeviation:9,standardDeviationCount:9,state:3,values:0}}static{this.shadowRootOptions=i}static{this.styles=l}async destroy(){await this.manager.destroy()}async generateWhereClause(d){return this.widget.generateWhereClause(d)}};o("arcgis-histogram-range-slider",t);export{t as ArcgisHistogramRangeSlider};
3
+ v4.33.0-next.4 */
4
+ import{a as n}from"./E24PS7UW.js";import"./NI5HGQAV.js";import"./WJHEJVAN.js";import{A as a,B as r,G as o,g as i,q as e,r as s}from"./JIRQQI3T.js";var h=await $arcgis.l("widgets/HistogramRangeSlider");var l=s`arcgis-histogram-range-slider{display:block}`,g=n(h),t=class extends r{constructor(){super(...arguments),this.widget=g(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.average=this.widget.average,this.barCreatedFunction=this.widget.barCreatedFunction,this.bins=this.widget.bins,this.dataLineCreatedFunction=this.widget.dataLineCreatedFunction,this.dataLines=this.widget.dataLines,this.excludedBarColor=this.widget.excludedBarColor,this.icon=this.widget.icon,this.includedBarColor=this.widget.includedBarColor,this.label=this.widget.label,this.labelFormatFunction=this.widget.labelFormatFunction,this.max=this.widget.max,this.min=this.widget.min,this.position="bottom-left",this.precision=this.widget.precision,this.rangeType=this.widget.rangeType,this.standardDeviation=this.widget.standardDeviation,this.standardDeviationCount=this.widget.standardDeviationCount,this.state=this.viewModel.state,this.values=this.widget.values,this.arcgisPropertyChange=e()("state"),this.arcgisReady=a()}static{this.properties={autoDestroyDisabled:5,average:9,barCreatedFunction:0,bins:0,dataLineCreatedFunction:0,dataLines:0,excludedBarColor:0,icon:1,includedBarColor:0,label:1,labelFormatFunction:0,max:9,min:9,position:1,precision:9,rangeType:1,referenceElement:1,standardDeviation:9,standardDeviationCount:9,state:3,values:0}}static{this.shadowRootOptions=i}static{this.styles=l}async destroy(){await this.manager.destroy()}async generateWhereClause(d){return this.widget.generateWhereClause(d)}};o("arcgis-histogram-range-slider",t);export{t as ArcgisHistogramRangeSlider};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/4.33/esri/copyright.txt for details.
3
- v4.33.0-next.3 */
4
- import{a as n}from"./R3BPEY3W.js";import"./EHLCSI5D.js";import"./ZFB6YZIB.js";import{A as a,B as o,G as r,g as s,q as i,r as e}from"./U4O7H3J5.js";var h=await $arcgis.l("widgets/LineOfSight");var l=e`arcgis-line-of-sight{display:block}`,c=n(h),t=class extends o{constructor(){super(...arguments),this.widget=c(this),this.viewModel=this.widget.viewModel,this.analysis=this.widget.analysis,this.autoDestroyDisabled=!1,this.icon=this.widget.icon,this.label=this.widget.label,this.position="bottom-left",this.state=this.viewModel.state,this.arcgisPropertyChange=i()("analysis","state"),this.arcgisReady=a()}static{this.properties={analysis:0,autoDestroyDisabled:5,icon:1,label:1,position:1,referenceElement:1,state:3}}static{this.shadowRootOptions=s}static{this.styles=l}async clear(){this.widget?.viewModel.clear()}async continue(){this.widget?.viewModel.continue()}async destroy(){await this.manager.destroy()}async start(){this.widget?.viewModel.start()}async stop(){this.widget?.viewModel.stop()}};r("arcgis-line-of-sight",t);export{t as ArcgisLineOfSight};
3
+ v4.33.0-next.4 */
4
+ import{a as n}from"./E24PS7UW.js";import"./NI5HGQAV.js";import"./WJHEJVAN.js";import{A as a,B as o,G as r,g as s,q as i,r as e}from"./JIRQQI3T.js";var h=await $arcgis.l("widgets/LineOfSight");var l=e`arcgis-line-of-sight{display:block}`,c=n(h),t=class extends o{constructor(){super(...arguments),this.widget=c(this),this.viewModel=this.widget.viewModel,this.analysis=this.widget.analysis,this.autoDestroyDisabled=!1,this.icon=this.widget.icon,this.label=this.widget.label,this.position="bottom-left",this.state=this.viewModel.state,this.arcgisPropertyChange=i()("analysis","state"),this.arcgisReady=a()}static{this.properties={analysis:0,autoDestroyDisabled:5,icon:1,label:1,position:1,referenceElement:1,state:3}}static{this.shadowRootOptions=s}static{this.styles=l}async clear(){this.widget?.viewModel.clear()}async continue(){this.widget?.viewModel.continue()}async destroy(){await this.manager.destroy()}async start(){this.widget?.viewModel.start()}async stop(){this.widget?.viewModel.stop()}};r("arcgis-line-of-sight",t);export{t as ArcgisLineOfSight};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/4.33/esri/copyright.txt for details.
3
- v4.33.0-next.3 */
4
- import{a as m}from"./R3BPEY3W.js";import{d as t}from"./EHLCSI5D.js";import"./ZFB6YZIB.js";import{A as r,B as o,G as h,g as i,q as s,r as a}from"./U4O7H3J5.js";var g=await $arcgis.l("widgets/FeatureForm");var l=a`arcgis-feature-form{display:block}`,n=m(g),e=class extends o{constructor(){super(...arguments),this.widget=n(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.feature=this.widget.feature,this.formTemplate=this.widget.formTemplate,this.groupDisplay=this.widget.groupDisplay,this.headingLevel=this.widget.headingLevel,this.icon=this.widget.icon,this.label=this.widget.label,this.layer=this.widget.layer,this.position="bottom-left",this.state=this.viewModel.state,this.timeZone=this.widget.timeZone,this.arcgisPropertyChange=s()("state"),this.arcgisReady=r(),this.arcgisSubmit=t(()=>this.widget,"submit"),this.arcgisValueChange=t(()=>this.widget,"value-change")}static{this.properties={autoDestroyDisabled:5,feature:0,formTemplate:0,groupDisplay:1,headingLevel:9,icon:1,label:1,layer:0,position:1,referenceElement:1,state:3,timeZone:1}}static{this.shadowRootOptions=i}static{this.styles=l}async destroy(){await this.manager.destroy()}async getValues(){return this.widget?.getValues()}async submit(){this.widget?.submit()}};h("arcgis-feature-form",e);export{e as ArcgisFeatureForm};
3
+ v4.33.0-next.4 */
4
+ import{a as m}from"./E24PS7UW.js";import{d as t}from"./NI5HGQAV.js";import"./WJHEJVAN.js";import{A as r,B as o,G as h,g as i,q as s,r as a}from"./JIRQQI3T.js";var g=await $arcgis.l("widgets/FeatureForm");var l=a`arcgis-feature-form{display:block}`,n=m(g),e=class extends o{constructor(){super(...arguments),this.widget=n(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.feature=this.widget.feature,this.formTemplate=this.widget.formTemplate,this.groupDisplay=this.widget.groupDisplay,this.headingLevel=this.widget.headingLevel,this.icon=this.widget.icon,this.label=this.widget.label,this.layer=this.widget.layer,this.position="bottom-left",this.state=this.viewModel.state,this.timeZone=this.widget.timeZone,this.arcgisPropertyChange=s()("state"),this.arcgisReady=r(),this.arcgisSubmit=t(()=>this.widget,"submit"),this.arcgisValueChange=t(()=>this.widget,"value-change")}static{this.properties={autoDestroyDisabled:5,feature:0,formTemplate:0,groupDisplay:1,headingLevel:9,icon:1,label:1,layer:0,position:1,referenceElement:1,state:3,timeZone:1}}static{this.shadowRootOptions=i}static{this.styles=l}async destroy(){await this.manager.destroy()}async getValues(){return this.widget?.getValues()}async submit(){this.widget?.submit()}};h("arcgis-feature-form",e);export{e as ArcgisFeatureForm};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/4.33/esri/copyright.txt for details.
3
- v4.33.0-next.3 */
4
- import{a as d}from"./R3BPEY3W.js";import{d as n}from"./EHLCSI5D.js";import"./ZFB6YZIB.js";import{A as o,B as r,G as h,g as i,q as s,r as a}from"./U4O7H3J5.js";var c=await $arcgis.l("widgets/Features");var g=a`arcgis-features{display:block}`,u=d(c),t=class extends r{constructor(){super(...arguments),this.widget=u(this),this.viewModel=this.widget.viewModel,this.actions=this.viewModel.actions,this.active=this.widget.active,this.autoDestroyDisabled=!1,this.collapsed=this.widget.collapsed,this.content=this.widget.content,this.featureNavigationTop=this.widget.featureNavigationTop,this.featureViewModelAbilities=this.viewModel.featureViewModelAbilities,this.features=this.widget.features,this.featuresPerPage=this.viewModel.featuresPerPage,this.featuresTitle=this.widget.title,this.goToOverride=this.viewModel.goToOverride,this.headingLevel=this.widget.headingLevel,this.headerActions=this.widget.headerActions,this.hideActionBar=this.widget.visibleElements.actionBar,this.hideCloseButton=this.widget.visibleElements.closeButton,this.hideFeatureMenuHeading=this.widget.visibleElements.featureMenuHeading,this.hideFeatureNavigation=this.widget.visibleElements.featureNavigation,this.hideFlow=this.widget.visibleElements.flow,this.hideHeading=this.widget.visibleElements.heading,this.hideSpinner=this.widget.visibleElements.spinner,this.icon=this.widget.icon,this.includeDefaultActions=this.viewModel.includeDefaultActions,this.initialDisplayMode=this.widget.initialDisplayMode,this.label=this.widget.label,this.map=this.widget.map,this.position="bottom-left",this.promises=this.widget.promises,this.selectedFeature=this.widget.selectedFeature,this.selectedFeatureIndex=this.widget.selectedFeatureIndex,this.showCollapseButton=this.widget.visibleElements.collapseButton,this.spatialReference=this.widget.spatialReference,this.state=this.viewModel.state,this.timeZone=this.widget.timeZone,this.arcgisPropertyChange=s()("selectedFeature","selectedFeatureIndex","state"),this.arcgisReady=o(),this.arcgisTriggerAction=n(()=>this.widget,"trigger-action")}static{this.properties={actions:0,active:7,autoDestroyDisabled:5,collapsed:7,content:1,featureNavigationTop:5,featureViewModelAbilities:0,features:0,featuresPerPage:9,featuresTitle:1,goToOverride:0,headingLevel:9,headerActions:0,hideActionBar:5,hideCloseButton:5,hideFeatureMenuHeading:5,hideFeatureNavigation:5,hideFlow:5,hideHeading:5,hideSpinner:5,icon:1,includeDefaultActions:5,initialDisplayMode:1,label:1,map:0,position:1,promises:0,referenceElement:1,selectedFeature:0,selectedFeatureIndex:9,showCollapseButton:5,spatialReference:0,state:3,timeZone:1}}static{this.shadowRootOptions=i}static{this.styles=g}async clear(){this.widget?.clear()}async close(){this.widget?.close()}async destroy(){await this.manager.destroy()}async fetchFeatures(e,l){return await this.widget?.fetchFeatures(e,l)}async next(){return this.widget?.next()}async open(e){this.widget?.open(e)}async previous(){return this.widget?.previous()}async triggerAction(e){this.widget?.triggerAction(e)}};h("arcgis-features",t);export{t as ArcgisFeatures};
3
+ v4.33.0-next.4 */
4
+ import{a as d}from"./E24PS7UW.js";import{d as n}from"./NI5HGQAV.js";import"./WJHEJVAN.js";import{A as o,B as r,G as h,g as i,q as s,r as a}from"./JIRQQI3T.js";var c=await $arcgis.l("widgets/Features");var g=a`arcgis-features{display:block}`,u=d(c),t=class extends r{constructor(){super(...arguments),this.widget=u(this),this.viewModel=this.widget.viewModel,this.actions=this.viewModel.actions,this.active=this.widget.active,this.autoDestroyDisabled=!1,this.collapsed=this.widget.collapsed,this.content=this.widget.content,this.featureNavigationTop=this.widget.featureNavigationTop,this.featureViewModelAbilities=this.viewModel.featureViewModelAbilities,this.features=this.widget.features,this.featuresPerPage=this.viewModel.featuresPerPage,this.featuresTitle=this.widget.title,this.goToOverride=this.viewModel.goToOverride,this.headingLevel=this.widget.headingLevel,this.headerActions=this.widget.headerActions,this.hideActionBar=this.widget.visibleElements.actionBar,this.hideCloseButton=this.widget.visibleElements.closeButton,this.hideFeatureMenuHeading=this.widget.visibleElements.featureMenuHeading,this.hideFeatureNavigation=this.widget.visibleElements.featureNavigation,this.hideFlow=this.widget.visibleElements.flow,this.hideHeading=this.widget.visibleElements.heading,this.hideSpinner=this.widget.visibleElements.spinner,this.icon=this.widget.icon,this.includeDefaultActions=this.viewModel.includeDefaultActions,this.initialDisplayMode=this.widget.initialDisplayMode,this.label=this.widget.label,this.map=this.widget.map,this.position="bottom-left",this.promises=this.widget.promises,this.selectedFeature=this.widget.selectedFeature,this.selectedFeatureIndex=this.widget.selectedFeatureIndex,this.showCollapseButton=this.widget.visibleElements.collapseButton,this.spatialReference=this.widget.spatialReference,this.state=this.viewModel.state,this.timeZone=this.widget.timeZone,this.arcgisPropertyChange=s()("selectedFeature","selectedFeatureIndex","state"),this.arcgisReady=o(),this.arcgisTriggerAction=n(()=>this.widget,"trigger-action")}static{this.properties={actions:0,active:7,autoDestroyDisabled:5,collapsed:7,content:1,featureNavigationTop:5,featureViewModelAbilities:0,features:0,featuresPerPage:9,featuresTitle:1,goToOverride:0,headingLevel:9,headerActions:0,hideActionBar:5,hideCloseButton:5,hideFeatureMenuHeading:5,hideFeatureNavigation:5,hideFlow:5,hideHeading:5,hideSpinner:5,icon:1,includeDefaultActions:5,initialDisplayMode:1,label:1,map:0,position:1,promises:0,referenceElement:1,selectedFeature:0,selectedFeatureIndex:9,showCollapseButton:5,spatialReference:0,state:3,timeZone:1}}static{this.shadowRootOptions=i}static{this.styles=g}async clear(){this.widget?.clear()}async close(){this.widget?.close()}async destroy(){await this.manager.destroy()}async fetchFeatures(e,l){return await this.widget?.fetchFeatures(e,l)}async next(){return this.widget?.next()}async open(e){this.widget?.open(e)}async previous(){return this.widget?.previous()}async triggerAction(e){this.widget?.triggerAction(e)}};h("arcgis-features",t);export{t as ArcgisFeatures};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/4.33/esri/copyright.txt for details.
3
- v4.33.0-next.3 */
4
- import{a as l}from"./R3BPEY3W.js";import"./EHLCSI5D.js";import"./ZFB6YZIB.js";import{A as s,B as a,G as h,g as i,r as t}from"./U4O7H3J5.js";var o=await $arcgis.l("widgets/Daylight");var d=t`arcgis-daylight{display:block}`,r=l(o),e=class extends a{constructor(){super(...arguments),this.widget=r(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.currentSeason=this.viewModel.currentSeason,this.dateOrSeason=this.widget.dateOrSeason,this.dayPlaying=this.viewModel.dayPlaying,this.headingLevel=this.widget.headingLevel,this.hideDatePicker=this.widget.visibleElements.datePicker,this.hideHeader=this.widget.visibleElements.header,this.hidePlayButtons=this.widget.visibleElements.playButtons,this.hideShadowsToggle=this.widget.visibleElements.shadowsToggle,this.hideSunLightingToggle=this.widget.visibleElements.sunLightingToggle,this.hideTimezone=this.widget.visibleElements.timezone,this.icon=this.widget.icon,this.label=this.widget.label,this.playSpeedMultiplier=this.widget.playSpeedMultiplier,this.position="bottom-left",this.timeSliderSteps=this.widget.timeSliderSteps,this.yearPlaying=this.viewModel.yearPlaying,this.arcgisReady=s()}static{this.properties={autoDestroyDisabled:5,currentSeason:1,dateOrSeason:1,dayPlaying:5,headingLevel:9,hideDatePicker:5,hideHeader:5,hidePlayButtons:5,hideShadowsToggle:5,hideSunLightingToggle:5,hideTimezone:5,icon:1,label:1,playSpeedMultiplier:9,position:1,referenceElement:1,timeSliderSteps:9,yearPlaying:5}}static{this.shadowRootOptions=i}static{this.styles=d}async destroy(){await this.manager.destroy()}};h("arcgis-daylight",e);export{e as ArcgisDaylight};
3
+ v4.33.0-next.4 */
4
+ import{a as l}from"./E24PS7UW.js";import"./NI5HGQAV.js";import"./WJHEJVAN.js";import{A as s,B as a,G as h,g as i,r as t}from"./JIRQQI3T.js";var o=await $arcgis.l("widgets/Daylight");var d=t`arcgis-daylight{display:block}`,r=l(o),e=class extends a{constructor(){super(...arguments),this.widget=r(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.currentSeason=this.viewModel.currentSeason,this.dateOrSeason=this.widget.dateOrSeason,this.dayPlaying=this.viewModel.dayPlaying,this.headingLevel=this.widget.headingLevel,this.hideDatePicker=this.widget.visibleElements.datePicker,this.hideHeader=this.widget.visibleElements.header,this.hidePlayButtons=this.widget.visibleElements.playButtons,this.hideShadowsToggle=this.widget.visibleElements.shadowsToggle,this.hideSunLightingToggle=this.widget.visibleElements.sunLightingToggle,this.hideTimezone=this.widget.visibleElements.timezone,this.icon=this.widget.icon,this.label=this.widget.label,this.playSpeedMultiplier=this.widget.playSpeedMultiplier,this.position="bottom-left",this.timeSliderSteps=this.widget.timeSliderSteps,this.yearPlaying=this.viewModel.yearPlaying,this.arcgisReady=s()}static{this.properties={autoDestroyDisabled:5,currentSeason:1,dateOrSeason:1,dayPlaying:5,headingLevel:9,hideDatePicker:5,hideHeader:5,hidePlayButtons:5,hideShadowsToggle:5,hideSunLightingToggle:5,hideTimezone:5,icon:1,label:1,playSpeedMultiplier:9,position:1,referenceElement:1,timeSliderSteps:9,yearPlaying:5}}static{this.shadowRootOptions=i}static{this.styles=d}async destroy(){await this.manager.destroy()}};h("arcgis-daylight",e);export{e as ArcgisDaylight};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/4.33/esri/copyright.txt for details.
3
- v4.33.0-next.3 */
4
- import{a as h}from"./R3BPEY3W.js";import"./EHLCSI5D.js";import"./ZFB6YZIB.js";import{A as a,B as d,G as o,g as i,q as e,r as s}from"./U4O7H3J5.js";var n=await $arcgis.l("widgets/Attachments");var r=s`arcgis-attachments{display:block}`,l=h(n),t=class extends d{constructor(){super(...arguments),this.widget=l(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.capabilities=this.widget.capabilities,this.displayType=this.widget.displayType,this.graphic=this.widget.graphic,this.hideAddButton=this.widget.visibleElements.addButton,this.hideAddSubmitButton=this.widget.visibleElements.addSubmitButton,this.hideCancelAddButton=this.widget.visibleElements.cancelAddButton,this.hideCancelUpdateButton=this.widget.visibleElements.cancelUpdateButton,this.hideDeleteButton=this.widget.visibleElements.deleteButton,this.hideErrorMessage=this.widget.visibleElements.errorMessage,this.hideProgressBar=this.widget.visibleElements.progressBar,this.hideUpdateButton=this.widget.visibleElements.updateButton,this.icon=this.widget.icon,this.label=this.widget.label,this.position="bottom-left",this.state=this.viewModel.state,this.submitting=this.widget.submitting,this.arcgisPropertyChange=e()("submitting","state"),this.arcgisReady=a()}static{this.properties={autoDestroyDisabled:5,capabilities:0,displayType:1,graphic:0,hideAddButton:5,hideAddSubmitButton:5,hideCancelAddButton:5,hideCancelUpdateButton:5,hideDeleteButton:5,hideErrorMessage:5,hideProgressBar:5,hideUpdateButton:5,icon:1,label:1,position:1,referenceElement:1,state:3,submitting:4}}static{this.shadowRootOptions=i}static{this.styles=r}async destroy(){await this.manager.destroy()}};o("arcgis-attachments",t);export{t as ArcgisAttachments};
3
+ v4.33.0-next.4 */
4
+ import{a as h}from"./E24PS7UW.js";import"./NI5HGQAV.js";import"./WJHEJVAN.js";import{A as a,B as d,G as o,g as i,q as e,r as s}from"./JIRQQI3T.js";var n=await $arcgis.l("widgets/Attachments");var r=s`arcgis-attachments{display:block}`,l=h(n),t=class extends d{constructor(){super(...arguments),this.widget=l(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.capabilities=this.widget.capabilities,this.displayType=this.widget.displayType,this.graphic=this.widget.graphic,this.hideAddButton=this.widget.visibleElements.addButton,this.hideAddSubmitButton=this.widget.visibleElements.addSubmitButton,this.hideCancelAddButton=this.widget.visibleElements.cancelAddButton,this.hideCancelUpdateButton=this.widget.visibleElements.cancelUpdateButton,this.hideDeleteButton=this.widget.visibleElements.deleteButton,this.hideErrorMessage=this.widget.visibleElements.errorMessage,this.hideProgressBar=this.widget.visibleElements.progressBar,this.hideUpdateButton=this.widget.visibleElements.updateButton,this.icon=this.widget.icon,this.label=this.widget.label,this.position="bottom-left",this.state=this.viewModel.state,this.submitting=this.widget.submitting,this.arcgisPropertyChange=e()("submitting","state"),this.arcgisReady=a()}static{this.properties={autoDestroyDisabled:5,capabilities:0,displayType:1,graphic:0,hideAddButton:5,hideAddSubmitButton:5,hideCancelAddButton:5,hideCancelUpdateButton:5,hideDeleteButton:5,hideErrorMessage:5,hideProgressBar:5,hideUpdateButton:5,icon:1,label:1,position:1,referenceElement:1,state:3,submitting:4}}static{this.shadowRootOptions=i}static{this.styles=r}async destroy(){await this.manager.destroy()}};o("arcgis-attachments",t);export{t as ArcgisAttachments};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/4.33/esri/copyright.txt for details.
3
- v4.33.0-next.3 */
4
- import{a as p}from"./CDIVEKCR.js";import{b as g}from"./U2BLZFG7.js";import{a as d,b as o,c,i as n}from"./ZFB6YZIB.js";import{A as t,B as h,G as l,g as a,s as r}from"./U4O7H3J5.js";var[{watch:w},b]=await $arcgis.l(["core/reactiveUtils","widgets/UtilityNetworkTrace"]);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=a}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=new b(e);this.widget=s,await this._addWatchers(),this._proxyEvents(),this._addContainer(),c(this),o(this)}disconnectedCallback(){super.disconnectedCallback(),p(this)}referenceElementWatcher(e){n(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(){d(this,w(()=>this.widget.disabled,e=>this.disabled=e))}_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))}_setChildElement(e){this.el.childElem=e}render(){return r`<div ${g(this._setChildElement)}></div>`}};l("arcgis-utility-network-trace",i);export{i as ArcgisUtilityNetworkTrace};
3
+ v4.33.0-next.4 */
4
+ import{a as p}from"./OSUOXSNV.js";import{b as g}from"./RCKQ66JZ.js";import{a as d,b as o,c,i as n}from"./WJHEJVAN.js";import{A as t,B as h,G as l,g as a,s as r}from"./JIRQQI3T.js";var[{watch:w},b]=await $arcgis.l(["core/reactiveUtils","widgets/UtilityNetworkTrace"]);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=a}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=new b(e);this.widget=s,await this._addWatchers(),this._proxyEvents(),this._addContainer(),c(this),o(this)}disconnectedCallback(){super.disconnectedCallback(),p(this)}referenceElementWatcher(e){n(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(){d(this,w(()=>this.widget.disabled,e=>this.disabled=e))}_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))}_setChildElement(e){this.el.childElem=e}render(){return r`<div ${g(this._setChildElement)}></div>`}};l("arcgis-utility-network-trace",i);export{i as ArcgisUtilityNetworkTrace};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/4.33/esri/copyright.txt for details.
3
- v4.33.0-next.3 */
4
- import{b as y,c as a}from"./EHLCSI5D.js";import{b as r}from"./ZFB6YZIB.js";import{j as h,k as w,o as _}from"./U4O7H3J5.js";var P=(d,s)=>(i,e)=>v(i,d,e),p=class extends y{constructor(s,i,e){super(s,i,e),this._watchedViewModelProperties=new Map,this._watchedVisibleElementsProperties={},this._isBindingViewModel={value:!0},Object.defineProperty(this.exports,"viewModel",{value:a.makeGetterProxy(s,this._watchedViewModelProperties,this._isBindingViewModel)}),Object.defineProperty(this.exports,"visibleElements",{value:this._makeVisibleElementsBinder()})}hostConnected(){super.hostConnected(),this._isBindingViewModel.value=!1,this.component.manager.loadedCalled&&r(this.component)}async hostLoad(){if(this._watchedProperties.delete("viewModel"),await super.hostLoad(),this.component.manager.destroyed)return;this._watchMetaProperties(),this.onLifecycle(()=>this.reactiveUtils.watch(()=>this._instance.viewModel,e=>{this.component.viewModel=e},{initial:!0}));let s=this._instance.viewModel;typeof s=="object"&&(a.watchComponentUpdates(this,s,this._watchedViewModelProperties),a.watchAccessorUpdates(this,s,this._watchedViewModelProperties));let i=Object.entries(this._watchedVisibleElementsProperties);i.length>0&&this.onLifecycle(()=>i.map(([e,t])=>{let o=this._instance.visibleElements??{},n;for(let c of t.slice(0,-1))if(typeof o[c]=="object"&&o[c]!==null)o=o[c];else{n=!!o[c];break}n===void 0&&(n=!!(o[t.slice(-1)[0]]??!0)),e.startsWith("hide");let m=e.startsWith("hide")||e.startsWith("show")?e.startsWith("hide"):n,l=this.component;return typeof l[e]=="boolean"?this._updateWidgetVisibleElement(t,l[e],m):l[e]=!1,h(this.component,e,c=>this._updateWidgetVisibleElement(t,c,m))}))}_updateWidgetVisibleElement(s,i,e){let t=this._instance.visibleElements??{};for(let n of s.slice(0,-1))(typeof t[n]!="object"||t[n]===null)&&(t[n]={}),t=t[n];let o=!!(e?!i:i);t[s.at(-1)]=o}hostLoaded(){let{el:s}=this.component;s.childElem??=document.createElement("div"),this._instance.container=s.childElem;let i=!1,e=this.component.el.view;Object.defineProperty(this.component.el,"view",{get:()=>this._instance.view??this._instance.viewModel?.view,set:t=>{!("view"in this._instance)&&typeof this._instance.viewModel=="object"?this._instance.viewModel.view=t:this._instance.view=t,!("map"in this._instance)&&typeof this._instance.viewModel=="object"?this._instance.viewModel.map=t.map:this._instance.map=t.map,this._watchViewDestroy(),t&&!i&&(i=!0,this.component.arcgisReady.emit())},configurable:!0,enumerable:!0}),e&&(this._instance.view=e),this.component.el.isConnected&&(r(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(){h(this.component,"position",s=>{this.component.el.childElem!=null&&typeof s=="string"&&r(this.component)}),h(this.component,"referenceElement",()=>r(this.component))}_makeVisibleElementsBinder(){return new Proxy({},{has:(s,i)=>typeof i=="string"||Reflect.has(s,i),get:(s,i)=>{if(typeof i=="symbol"||i in Promise.prototype)return Reflect.get(s,i);let e=[i],t=this._makeRecursiveProxy(e);return w(this.component,o=>{let n=o;this.component[n]=!1,this._watchedVisibleElementsProperties[n]=e},t)}})}_makeRecursiveProxy(s){let i=new Proxy({},{get:(e,t)=>{let o=Reflect.get(e,t);return typeof t=="symbol"||t in Promise.prototype?o:(s.push(t),i)}});return i}_watchViewDestroy(){this._watchViewDestroyHandle?.remove(),this._watchViewDestroyHandle=this.reactiveUtils.when(()=>this.component.el.view?.destroyed===!0,()=>void this.component.destroy().catch(console.error),{sync:!0})}},v=_(p);export{P as a};
3
+ v4.33.0-next.4 */
4
+ import{b as y,c as a}from"./NI5HGQAV.js";import{b as r}from"./WJHEJVAN.js";import{j as h,k as w,o as _}from"./JIRQQI3T.js";var P=(d,s)=>(i,e)=>v(i,d,e),p=class extends y{constructor(s,i,e){super(s,i,e),this._watchedViewModelProperties=new Map,this._watchedVisibleElementsProperties={},this._isBindingViewModel={value:!0},Object.defineProperty(this.exports,"viewModel",{value:a.makeGetterProxy(s,this._watchedViewModelProperties,this._isBindingViewModel)}),Object.defineProperty(this.exports,"visibleElements",{value:this._makeVisibleElementsBinder()})}hostConnected(){super.hostConnected(),this._isBindingViewModel.value=!1,this.component.manager.loadedCalled&&r(this.component)}async hostLoad(){if(this._watchedProperties.delete("viewModel"),await super.hostLoad(),this.component.manager.destroyed)return;this._watchMetaProperties(),this.onLifecycle(()=>this.reactiveUtils.watch(()=>this._instance.viewModel,e=>{this.component.viewModel=e},{initial:!0}));let s=this._instance.viewModel;typeof s=="object"&&(a.watchComponentUpdates(this,s,this._watchedViewModelProperties),a.watchAccessorUpdates(this,s,this._watchedViewModelProperties));let i=Object.entries(this._watchedVisibleElementsProperties);i.length>0&&this.onLifecycle(()=>i.map(([e,t])=>{let o=this._instance.visibleElements??{},n;for(let c of t.slice(0,-1))if(typeof o[c]=="object"&&o[c]!==null)o=o[c];else{n=!!o[c];break}n===void 0&&(n=!!(o[t.slice(-1)[0]]??!0)),e.startsWith("hide");let m=e.startsWith("hide")||e.startsWith("show")?e.startsWith("hide"):n,l=this.component;return typeof l[e]=="boolean"?this._updateWidgetVisibleElement(t,l[e],m):l[e]=!1,h(this.component,e,c=>this._updateWidgetVisibleElement(t,c,m))}))}_updateWidgetVisibleElement(s,i,e){let t=this._instance.visibleElements??{};for(let n of s.slice(0,-1))(typeof t[n]!="object"||t[n]===null)&&(t[n]={}),t=t[n];let o=!!(e?!i:i);t[s.at(-1)]=o}hostLoaded(){let{el:s}=this.component;s.childElem??=document.createElement("div"),this._instance.container=s.childElem;let i=!1,e=this.component.el.view;Object.defineProperty(this.component.el,"view",{get:()=>this._instance.view??this._instance.viewModel?.view,set:t=>{!("view"in this._instance)&&typeof this._instance.viewModel=="object"?this._instance.viewModel.view=t:this._instance.view=t,!("map"in this._instance)&&typeof this._instance.viewModel=="object"?this._instance.viewModel.map=t.map:this._instance.map=t.map,this._watchViewDestroy(),t&&!i&&(i=!0,this.component.arcgisReady.emit())},configurable:!0,enumerable:!0}),e&&(this._instance.view=e),this.component.el.isConnected&&(r(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(){h(this.component,"position",s=>{this.component.el.childElem!=null&&typeof s=="string"&&r(this.component)}),h(this.component,"referenceElement",()=>r(this.component))}_makeVisibleElementsBinder(){return new Proxy({},{has:(s,i)=>typeof i=="string"||Reflect.has(s,i),get:(s,i)=>{if(typeof i=="symbol"||i in Promise.prototype)return Reflect.get(s,i);let e=[i],t=this._makeRecursiveProxy(e);return w(this.component,o=>{let n=o;this.component[n]=!1,this._watchedVisibleElementsProperties[n]=e},t)}})}_makeRecursiveProxy(s){let i=new Proxy({},{get:(e,t)=>{let o=Reflect.get(e,t);return typeof t=="symbol"||t in Promise.prototype?o:(s.push(t),i)}});return i}_watchViewDestroy(){this._watchViewDestroyHandle?.remove(),this._watchViewDestroyHandle=this.reactiveUtils.when(()=>this.component.el.view?.destroyed===!0,()=>void this.component.destroy().catch(console.error),{sync:!0})}},v=_(p);export{P as a};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/4.33/esri/copyright.txt for details.
3
- v4.33.0-next.3 */
4
- import{a as M}from"./RJRBYIDF.js";import{a as p}from"./ELGWGOKT.js";import{a as S}from"./6UZ2Z46H.js";import"./EHLCSI5D.js";import"./ZFB6YZIB.js";import{A as w,B,C as a,D as d,E as o,G as x,a as m,g as y,q as _,r as f,s as l}from"./U4O7H3J5.js";var[{getBasemapThumbnailUrl:C},L]=await $arcgis.l(["applications/Components/basemapUtils","widgets/BasemapToggle/BasemapToggleViewModel"]);var R=f`arcgis-basemap-toggle{display:block}`,s="esri-basemap-toggle",r="esri-basemap-thumbnail",e={base:s,secondaryBasemapImage:`${s}__image--secondary`,container:`${r} ${s}__container`,image:`${r}__image ${s}__image`,imageLoading:`${s}__image--loading`,overlay:`${r}__overlay ${s}__image-overlay`,title:`${r}__title ${s}__title`,overlayScrim:`${r}__overlay-scrim`},A=M(L),g=class extends B{constructor(){super(...arguments),this.messages=S(),this.viewModel=A(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=w()}static{this.properties={activeBasemap:0,autoDestroyDisabled:5,icon:3,label:1,messageOverrides:0,nextBasemap:0,position:3,referenceElement:1,showTitle:5,state:3}}static{this.shadowRootOptions=y}static{this.styles=R}async destroy(){await this.manager.destroy()}async toggle(){return await this.viewModel.toggle()}_getThumbnailStyles(t){let n=C(t);return n?{backgroundImage:`url(${n})`}:{backgroundImage:""}}render(){let t=this.viewModel,n=t.state==="disabled"?null:t.activeBasemap,i=t.state==="disabled"?null:t.nextBasemap,T=t.state==="loading",h=t.state==="incompatible-next-basemap",c=i?.title??"",$=i&&i.loadStatus!=="loaded",v,b=this.showTitle&&c,u=h,k=b||u,D=this._getThumbnailStyles(n),I=this._getThumbnailStyles(i);return k&&(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,p.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=${d(D)}></div></div><div class=${a(e.container)}><div class=${a(m(e.image,$?e.imageLoading:null))} style=${d(I)}>${$||T?l`<calcite-scrim><span aria-hidden=true class=${a(p.loaderAnimation)} role=presentation></span></calcite-scrim>`:null}</div>${v}</div></calcite-button></div>`}};x("arcgis-basemap-toggle",g);export{g as ArcgisBasemapToggle};
3
+ v4.33.0-next.4 */
4
+ import{a as M}from"./FUJHUDM7.js";import{a as p}from"./OIT4GR4Z.js";import{a as S}from"./Q5WL5PTB.js";import"./NI5HGQAV.js";import"./WJHEJVAN.js";import{A as w,B,C as a,D as d,E as o,G as x,a as m,g as y,q as _,r as f,s as l}from"./JIRQQI3T.js";var[{getBasemapThumbnailUrl:C},L]=await $arcgis.l(["applications/Components/basemapUtils","widgets/BasemapToggle/BasemapToggleViewModel"]);var R=f`arcgis-basemap-toggle{display:block}`,s="esri-basemap-toggle",r="esri-basemap-thumbnail",e={base:s,secondaryBasemapImage:`${s}__image--secondary`,container:`${r} ${s}__container`,image:`${r}__image ${s}__image`,imageLoading:`${s}__image--loading`,overlay:`${r}__overlay ${s}__image-overlay`,title:`${r}__title ${s}__title`,overlayScrim:`${r}__overlay-scrim`},A=M(L),g=class extends B{constructor(){super(...arguments),this.messages=S(),this.viewModel=A(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=w()}static{this.properties={activeBasemap:0,autoDestroyDisabled:5,icon:3,label:1,messageOverrides:0,nextBasemap:0,position:3,referenceElement:1,showTitle:5,state:3}}static{this.shadowRootOptions=y}static{this.styles=R}async destroy(){await this.manager.destroy()}async toggle(){return await this.viewModel.toggle()}_getThumbnailStyles(t){let n=C(t);return n?{backgroundImage:`url(${n})`}:{backgroundImage:""}}render(){let t=this.viewModel,n=t.state==="disabled"?null:t.activeBasemap,i=t.state==="disabled"?null:t.nextBasemap,T=t.state==="loading",h=t.state==="incompatible-next-basemap",c=i?.title??"",$=i&&i.loadStatus!=="loaded",v,b=this.showTitle&&c,u=h,k=b||u,D=this._getThumbnailStyles(n),I=this._getThumbnailStyles(i);return k&&(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,p.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=${d(D)}></div></div><div class=${a(e.container)}><div class=${a(m(e.image,$?e.imageLoading:null))} style=${d(I)}>${$||T?l`<calcite-scrim><span aria-hidden=true class=${a(p.loaderAnimation)} role=presentation></span></calcite-scrim>`:null}</div>${v}</div></calcite-button></div>`}};x("arcgis-basemap-toggle",g);export{g as ArcgisBasemapToggle};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/4.33/esri/copyright.txt for details.
3
- v4.33.0-next.3 */
4
- import{a as n}from"./R3BPEY3W.js";import"./EHLCSI5D.js";import"./ZFB6YZIB.js";import{A as o,B as a,G as r,g as s,q as i,r as e}from"./U4O7H3J5.js";var h=await $arcgis.l("widgets/DistanceMeasurement2D");var c=e`arcgis-distance-measurement-2d{display:block}`,m=n(h),t=class extends a{constructor(){super(...arguments),this.widget=m(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.icon=this.widget.icon,this.label=this.widget.label,this.position="bottom-left",this.state=this.viewModel.state,this.unit=this.widget.unit,this.unitOptions=this.widget.unitOptions,this.arcgisPropertyChange=i()("state"),this.arcgisReady=o()}static{this.properties={autoDestroyDisabled:5,icon:1,label:1,position:1,referenceElement:1,state:3,unit:1,unitOptions:0}}static{this.shadowRootOptions=s}static{this.styles=c}async destroy(){await this.manager.destroy()}};r("arcgis-distance-measurement-2d",t);export{t as ArcgisDistanceMeasurement2d};
3
+ v4.33.0-next.4 */
4
+ import{a as n}from"./E24PS7UW.js";import"./NI5HGQAV.js";import"./WJHEJVAN.js";import{A as o,B as a,G as r,g as s,q as i,r as e}from"./JIRQQI3T.js";var h=await $arcgis.l("widgets/DistanceMeasurement2D");var c=e`arcgis-distance-measurement-2d{display:block}`,m=n(h),t=class extends a{constructor(){super(...arguments),this.widget=m(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.icon=this.widget.icon,this.label=this.widget.label,this.position="bottom-left",this.state=this.viewModel.state,this.unit=this.widget.unit,this.unitOptions=this.widget.unitOptions,this.arcgisPropertyChange=i()("state"),this.arcgisReady=o()}static{this.properties={autoDestroyDisabled:5,icon:1,label:1,position:1,referenceElement:1,state:3,unit:1,unitOptions:0}}static{this.shadowRootOptions=s}static{this.styles=c}async destroy(){await this.manager.destroy()}};r("arcgis-distance-measurement-2d",t);export{t as ArcgisDistanceMeasurement2d};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/4.33/esri/copyright.txt for details.
3
- v4.33.0-next.3 */
4
- import{a as n}from"./R3BPEY3W.js";import"./EHLCSI5D.js";import"./ZFB6YZIB.js";import{A as a,B as o,G as r,g as e,q as i,r as s}from"./U4O7H3J5.js";var c=await $arcgis.l("widgets/Measurement");var h=s`arcgis-measurement{display:block}`,l=n(c),t=class extends o{constructor(){super(...arguments),this.widget=l(this),this.viewModel=this.widget.viewModel,this.activeTool=this.widget.activeTool,this.activeWidget=this.widget.activeWidget,this.areaUnit=this.widget.areaUnit,this.autoDestroyDisabled=!1,this.icon=this.widget.icon,this.label=this.widget.label,this.linearUnit=this.widget.linearUnit,this.position="bottom-left",this.state=this.viewModel.state,this.arcgisPropertyChange=i()("activeTool","state"),this.arcgisReady=a()}static{this.properties={activeTool:1,activeWidget:0,areaUnit:1,autoDestroyDisabled:5,icon:1,label:1,linearUnit:1,position:1,referenceElement:1,state:3}}static{this.shadowRootOptions=e}static{this.styles=h}async clear(){this.widget?.clear()}async destroy(){await this.manager.destroy()}async startMeasurement(){this.widget?.startMeasurement()}};r("arcgis-measurement",t);export{t as ArcgisMeasurement};
3
+ v4.33.0-next.4 */
4
+ import{a as n}from"./E24PS7UW.js";import"./NI5HGQAV.js";import"./WJHEJVAN.js";import{A as a,B as o,G as r,g as e,q as i,r as s}from"./JIRQQI3T.js";var c=await $arcgis.l("widgets/Measurement");var h=s`arcgis-measurement{display:block}`,l=n(c),t=class extends o{constructor(){super(...arguments),this.widget=l(this),this.viewModel=this.widget.viewModel,this.activeTool=this.widget.activeTool,this.activeWidget=this.widget.activeWidget,this.areaUnit=this.widget.areaUnit,this.autoDestroyDisabled=!1,this.icon=this.widget.icon,this.label=this.widget.label,this.linearUnit=this.widget.linearUnit,this.position="bottom-left",this.state=this.viewModel.state,this.arcgisPropertyChange=i()("activeTool","state"),this.arcgisReady=a()}static{this.properties={activeTool:1,activeWidget:0,areaUnit:1,autoDestroyDisabled:5,icon:1,label:1,linearUnit:1,position:1,referenceElement:1,state:3}}static{this.shadowRootOptions=e}static{this.styles=h}async clear(){this.widget?.clear()}async destroy(){await this.manager.destroy()}async startMeasurement(){this.widget?.startMeasurement()}};r("arcgis-measurement",t);export{t as ArcgisMeasurement};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/4.33/esri/copyright.txt for details.
3
- v4.33.0-next.3 */
4
- import{c as r}from"./6UZ2Z46H.js";import{b as i}from"./EHLCSI5D.js";import{o as e}from"./U4O7H3J5.js";var l=(o,t)=>(n,a)=>c(n,o,a),s=class extends i{constructor(){super(...arguments),this.viewController=new r(this.component),this._viewWatchHandle=void 0}async hostLoad(){await super.hostLoad(),this._viewWatchHandle=this.reactiveUtils.watch(()=>this.component.el.view,t=>{this._instance.view=t,this._instance.map=t?.map},{sync:!0,initial:!0})}hostDestroy(){this._viewWatchHandle?.remove(),super.hostDestroy()}},c=e(s);export{l as a};
3
+ v4.33.0-next.4 */
4
+ import{c as r}from"./Q5WL5PTB.js";import{b as i}from"./NI5HGQAV.js";import{o as e}from"./JIRQQI3T.js";var l=(o,t)=>(n,a)=>c(n,o,a),s=class extends i{constructor(){super(...arguments),this.viewController=new r(this.component),this._viewWatchHandle=void 0}async hostLoad(){await super.hostLoad(),this._viewWatchHandle=this.reactiveUtils.watch(()=>this.component.el.view,t=>{this._instance.view=t,this._instance.map=t?.map},{sync:!0,initial:!0})}hostDestroy(){this._viewWatchHandle?.remove(),super.hostDestroy()}},c=e(s);export{l as a};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/4.33/esri/copyright.txt for details.
3
- v4.33.0-next.3 */
4
- import{a as d,b as u}from"./U2BLZFG7.js";import{A as m,B as g,G as $,g as b,r as w,s as n}from"./U4O7H3J5.js";var k=w`:host{display:none;background:#bdf2c4}:host([selected]){display:flex}.properties-buttons{display:flex}`,_=class extends g{constructor(){super(...arguments),this._flowItemElement=d(),this._switchToVersion=!0,this._switchToVersionCheckboxElement=d(),this._versionNameInputElement=d(),this.selected=!1,this.showBackButton=!1,this.arcgisAlterVersion=m(),this.arcgisCreateVersion=m(),this.arcgisFlowItemBack=m(),this.arcgisFlowItemClose=m()}static{this.properties={selected:7,showBackButton:7,versionPropertiesElementProps:0}}static{this.shadowRootOptions=b}static{this.styles=k}load(){let{versionPropertiesElementProps:{versionInfo:t}}=this;t?(this._mode="edit",this._fullVersionName=t.versionIdentifier.name,this._ownerName=this._fullVersionName.substring(0,this._fullVersionName.lastIndexOf(".")),this._versionName=this._fullVersionName.substring(this._fullVersionName.lastIndexOf(".")+1)):this._mode="create"}updated(){this._mode==="create"&&this._versionNameInputElement.value?.setFocus()}async setFocus(){this._flowItemElement.value?.setFocus()}goBack(){}_handleCancel(){this.arcgisFlowItemBack.emit()}_handleChange(t){let{_mode:s,_ownerName:l,_versionName:h,versionPropertiesElementProps:{currentUser:p,isVersionAdministrator:v,serviceUrl:i,versionInfo:c}}=this,{_alterVersionParameters:e,_createVersionParameters:a}=this;switch(s==="create"&&(a||(a={access:"public",description:"",featureServerUrl:i,ownerName:p,versionName:""})),s==="edit"&&(e||(e={featureServerUrl:i,versionIdentifier:c.versionIdentifier,ownerName:l,versionName:h,access:c.access,description:c.description})),t.type){case"calciteChipGroupSelect":{let r=t.target.label,o=t.target.selectedItems[0].value;s==="create"&&(a={...a,[r]:o}),s==="edit"&&(e={...e,[r]:o});break}case"calciteInputTextInput":{let r=t.target.name,o=t.target.value;s==="create"&&(a={...a,[r]:o}),s==="edit"&&(e={...e,[r]:o});break}case"calciteTextAreaInput":{let r=t.target.name,o=t.target.value;s==="create"&&(a={...a,[r]:o}),s==="edit"&&(e={...e,[r]:o});break}}s==="create"&&(a.access!=="public"&&p.toUpperCase()!==a.ownerName?.toUpperCase()&&!v?(this._switchToVersionCheckboxElement.value.checked=!1,this._switchToVersionCheckboxElement.value.disabled=!0,this._switchToVersion=!1):this._switchToVersionCheckboxElement.value.disabled=!1,this._createVersionParameters=a),s==="edit"&&(this._alterVersionParameters=e)}_handleClose(){this.arcgisFlowItemClose.emit()}_handleSave(){let{_alterVersionParameters:t,_createVersionParameters:s,_mode:l,_switchToVersion:h}=this;l==="create"&&this.arcgisCreateVersion.emit({createVersionParameters:s,switchToVersion:h}),l==="edit"&&this.arcgisAlterVersion.emit({alterVersionParameters:t})}_handleSwitchToVersionChange(t){this._switchToVersion=t.target.checked}render(){let{selected:t,showBackButton:s,versionPropertiesElementProps:{closable:l,currentUser:h,hasAdvEditingUte:p,state:v,strings:i,versionInfo:c},_mode:e,_ownerName:a,_versionName:r}=this,o=n`<div class="properties-buttons"><calcite-button appearance=outline width=half @click=${this._handleCancel}>${i.actions.cancelSave}</calcite-button><calcite-button width=half @click=${this._handleSave}>${i.actions.saveVersion}</calcite-button></div>`,V=n`<calcite-label>${i.input.versionAccess}<calcite-chip-group label=access @calciteChipGroupSelect=${this._handleChange} selection-mode=single-persist><calcite-chip .selected=${e==="edit"&&c.access==="public"||e==="create"} label=public>${i.accessLevels.public}</calcite-chip><calcite-chip .selected=${e==="edit"&&c.access==="protected"} label=protected>${i.accessLevels.protected}</calcite-chip><calcite-chip .selected=${e==="edit"&&c.access==="private"} label=private>${i.accessLevels.private}</calcite-chip></calcite-chip-group></calcite-label>`,f=n`<calcite-label>${i.input.versionDescription}<calcite-text-area name=description @calciteTextAreaInput=${this._handleChange} resize=vertical .value=${e==="edit"?c.description:""}></calcite-text-area></calcite-label>`,I=n`<calcite-label>${i.input.versionName}<calcite-input-text name=versionName @calciteInputTextInput=${this._handleChange} max-length=62 .value=${e==="edit"?r:""} ${u(this._versionNameInputElement)}></calcite-input-text></calcite-label>`,x=n`<calcite-label>${i.input.versionOwner}<calcite-input-text name=ownerName @calciteInputTextInput=${this._handleChange} .disabled=${!p} .value=${e==="edit"?a:h}></calcite-input-text></calcite-label>`,C=e==="create"?n`<calcite-label layout=inline><calcite-checkbox checked name=switchToVersion @calciteCheckboxChange=${this._handleSwitchToVersionChange} ${u(this._switchToVersionCheckboxElement)}></calcite-checkbox>${i.actions.switchToVersion}</calcite-label>`:void 0;return n`<calcite-flow-item .closable=${l} .description=${c?c.versionIdentifier.name:""} .heading=${c?i.actions.editVersion:i.actions.newVersion} .selected=${t} .showBackButton=${s} @calciteFlowItemClose=${this._handleClose} ${u(this._flowItemElement)}><calcite-panel .loading=${v==="executing"}><calcite-block .label=${i.headers.versionProperties} open>${I}${f}${V}${x}${C}${o}</calcite-block></calcite-panel></calcite-flow-item>`}};$("arcgis-version-management-version-properties",_);export{_ as ArcgisVersionManagementVersionProperties};
3
+ v4.33.0-next.4 */
4
+ import{a as d,b as u}from"./RCKQ66JZ.js";import{A as m,B as g,G as $,g as b,r as w,s as n}from"./JIRQQI3T.js";var k=w`:host{display:none;background:#bdf2c4}:host([selected]){display:flex}.properties-buttons{display:flex}`,_=class extends g{constructor(){super(...arguments),this._flowItemElement=d(),this._switchToVersion=!0,this._switchToVersionCheckboxElement=d(),this._versionNameInputElement=d(),this.selected=!1,this.showBackButton=!1,this.arcgisAlterVersion=m(),this.arcgisCreateVersion=m(),this.arcgisFlowItemBack=m(),this.arcgisFlowItemClose=m()}static{this.properties={selected:7,showBackButton:7,versionPropertiesElementProps:0}}static{this.shadowRootOptions=b}static{this.styles=k}load(){let{versionPropertiesElementProps:{versionInfo:t}}=this;t?(this._mode="edit",this._fullVersionName=t.versionIdentifier.name,this._ownerName=this._fullVersionName.substring(0,this._fullVersionName.lastIndexOf(".")),this._versionName=this._fullVersionName.substring(this._fullVersionName.lastIndexOf(".")+1)):this._mode="create"}updated(){this._mode==="create"&&this._versionNameInputElement.value?.setFocus()}async setFocus(){this._flowItemElement.value?.setFocus()}goBack(){}_handleCancel(){this.arcgisFlowItemBack.emit()}_handleChange(t){let{_mode:s,_ownerName:l,_versionName:h,versionPropertiesElementProps:{currentUser:p,isVersionAdministrator:v,serviceUrl:i,versionInfo:c}}=this,{_alterVersionParameters:e,_createVersionParameters:a}=this;switch(s==="create"&&(a||(a={access:"public",description:"",featureServerUrl:i,ownerName:p,versionName:""})),s==="edit"&&(e||(e={featureServerUrl:i,versionIdentifier:c.versionIdentifier,ownerName:l,versionName:h,access:c.access,description:c.description})),t.type){case"calciteChipGroupSelect":{let r=t.target.label,o=t.target.selectedItems[0].value;s==="create"&&(a={...a,[r]:o}),s==="edit"&&(e={...e,[r]:o});break}case"calciteInputTextInput":{let r=t.target.name,o=t.target.value;s==="create"&&(a={...a,[r]:o}),s==="edit"&&(e={...e,[r]:o});break}case"calciteTextAreaInput":{let r=t.target.name,o=t.target.value;s==="create"&&(a={...a,[r]:o}),s==="edit"&&(e={...e,[r]:o});break}}s==="create"&&(a.access!=="public"&&p.toUpperCase()!==a.ownerName?.toUpperCase()&&!v?(this._switchToVersionCheckboxElement.value.checked=!1,this._switchToVersionCheckboxElement.value.disabled=!0,this._switchToVersion=!1):this._switchToVersionCheckboxElement.value.disabled=!1,this._createVersionParameters=a),s==="edit"&&(this._alterVersionParameters=e)}_handleClose(){this.arcgisFlowItemClose.emit()}_handleSave(){let{_alterVersionParameters:t,_createVersionParameters:s,_mode:l,_switchToVersion:h}=this;l==="create"&&this.arcgisCreateVersion.emit({createVersionParameters:s,switchToVersion:h}),l==="edit"&&this.arcgisAlterVersion.emit({alterVersionParameters:t})}_handleSwitchToVersionChange(t){this._switchToVersion=t.target.checked}render(){let{selected:t,showBackButton:s,versionPropertiesElementProps:{closable:l,currentUser:h,hasAdvEditingUte:p,state:v,strings:i,versionInfo:c},_mode:e,_ownerName:a,_versionName:r}=this,o=n`<div class="properties-buttons"><calcite-button appearance=outline width=half @click=${this._handleCancel}>${i.actions.cancelSave}</calcite-button><calcite-button width=half @click=${this._handleSave}>${i.actions.saveVersion}</calcite-button></div>`,V=n`<calcite-label>${i.input.versionAccess}<calcite-chip-group label=access @calciteChipGroupSelect=${this._handleChange} selection-mode=single-persist><calcite-chip .selected=${e==="edit"&&c.access==="public"||e==="create"} label=public>${i.accessLevels.public}</calcite-chip><calcite-chip .selected=${e==="edit"&&c.access==="protected"} label=protected>${i.accessLevels.protected}</calcite-chip><calcite-chip .selected=${e==="edit"&&c.access==="private"} label=private>${i.accessLevels.private}</calcite-chip></calcite-chip-group></calcite-label>`,f=n`<calcite-label>${i.input.versionDescription}<calcite-text-area name=description @calciteTextAreaInput=${this._handleChange} resize=vertical .value=${e==="edit"?c.description:""}></calcite-text-area></calcite-label>`,I=n`<calcite-label>${i.input.versionName}<calcite-input-text name=versionName @calciteInputTextInput=${this._handleChange} max-length=62 .value=${e==="edit"?r:""} ${u(this._versionNameInputElement)}></calcite-input-text></calcite-label>`,x=n`<calcite-label>${i.input.versionOwner}<calcite-input-text name=ownerName @calciteInputTextInput=${this._handleChange} .disabled=${!p} .value=${e==="edit"?a:h}></calcite-input-text></calcite-label>`,C=e==="create"?n`<calcite-label layout=inline><calcite-checkbox checked name=switchToVersion @calciteCheckboxChange=${this._handleSwitchToVersionChange} ${u(this._switchToVersionCheckboxElement)}></calcite-checkbox>${i.actions.switchToVersion}</calcite-label>`:void 0;return n`<calcite-flow-item .closable=${l} .description=${c?c.versionIdentifier.name:""} .heading=${c?i.actions.editVersion:i.actions.newVersion} .selected=${t} .showBackButton=${s} @calciteFlowItemClose=${this._handleClose} ${u(this._flowItemElement)}><calcite-panel .loading=${v==="executing"}><calcite-block .label=${i.headers.versionProperties} open>${I}${f}${V}${x}${C}${o}</calcite-block></calcite-panel></calcite-flow-item>`}};$("arcgis-version-management-version-properties",_);export{_ as ArcgisVersionManagementVersionProperties};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/4.33/esri/copyright.txt for details.
3
- v4.33.0-next.3 */
4
- import{A as n,B as p,C as L,G as E,g as V,s as t}from"./U4O7H3J5.js";var v=class extends p{constructor(){super(...arguments),this._arcgisGetVersions=e=>{this.arcgisGetVersions.emit(e.detail)},this._arcgisManageVersion=e=>{this.arcgisManageVersion.emit(e.detail)},this._arcgisNewVersion=e=>{this.arcgisNewVersion.emit(e.detail)},this._versionListEventListeners=new Map,this._showInvalidVersionNotice=!0,this.arcgisFlowItemBack=n(),this.arcgisFlowItemClose=n(),this.arcgisGetVersions=n(),this.arcgisManageVersion=n(),this.arcgisNewVersion=n(),this.arcgisCreateVersionList=n()}static{this.properties={_showInvalidVersionNotice:16,serviceItemElementProps:0}}static{this.shadowRootOptions=V}disconnectedCallback(){super.disconnectedCallback(),this._versionList&&this._removeVersionListEventListeners(this._versionList)}_addVersionListEventListeners(e){e.addEventListener("arcgisGetVersions",this._arcgisGetVersions),this._versionListEventListeners.set("arcgisGetVersions",this._arcgisGetVersions),e.addEventListener("arcgisManageVersion",this._arcgisManageVersion),this._versionListEventListeners.set("arcgisManageVersion",this._arcgisManageVersion),e.addEventListener("arcgisNewVersion",this._arcgisNewVersion),this._versionListEventListeners.set("arcgisNewVersion",this._arcgisNewVersion)}_removeVersionListEventListeners(e){for(let[c,l]of this._versionListEventListeners)e.removeEventListener(c,l)}render(){let{serviceItemElementProps:{allowEditing:e,closable:c,currentUser:l,executionError:I,currentVersionIdentifier:d,flowElement:_,hasAdvEditingUte:b,heading:w,isInitialVersionInvalid:f,isVersionAdministrator:u,isVersioningApiAvailable:$,mode:x,pageSize:M,serviceName:r,serviceUrl:g,state:N,strings:o,versionInfos:a}}=this,{_versionList:i}=this,k=f.get(g)&&this._showInvalidVersionNotice?t`<calcite-notice class="initial-version-invalid-block" closable kind=warning open scale=s width=full icon @calciteNoticeClose=${()=>this._showInvalidVersionNotice=!1}><div slot=title>${o.headers.invalidInitialVersion}</div><div slot=message>${o.loadErrors.invalidInitialVersion}</div></calcite-notice>`:void 0,C=t`<calcite-combobox clear-disabled .label=${r} max-items=5 overlay-positioning=fixed selection-mode=single-persist @calciteComboboxChange=${s=>{let A=s.target,G=a.find(F=>F.versionIdentifier.guid===A.value);this.arcgisManageVersion.emit({actionType:"changeVersion",serviceUrl:g,versionInfo:G})}}>${a?a.map(s=>t`<calcite-combobox-item class=${L(x==="dialog"?"":"calcite-combobox-item")} .selected=${d.guid===s.versionIdentifier.guid&&d.name===s.versionIdentifier.name} .textLabel=${s.versionIdentifier.name} .value=${s.versionIdentifier.guid}></calcite-combobox-item>`):void 0}</calcite-combobox>`,m,h;return e&&(m=t`<calcite-action .id=${`actionManageVersions_${r}`} icon=list scale=s slot=control text @click=${async()=>{i=document.createElement("arcgis-version-management-version-list"),i.versionListElementProps={closable:c,currentUser:l,currentVersionIdentifier:d,executionError:I,hasAdvEditingUte:b,heading:w,isVersionAdministrator:u,isVersioningApiAvailable:$,pageSize:M,serviceName:r,serviceUrl:g,state:N,strings:o,versionInfos:a},i.selected=!0,i.showBackButton=!0,i.addEventListener("calciteFlowItemBack",s=>{s.preventDefault(),this.arcgisFlowItemBack.emit()}),i.addEventListener("calciteFlowItemClose",()=>{this.arcgisFlowItemClose.emit()}),this._addVersionListEventListeners(i),_?.append(i),this.arcgisCreateVersionList.emit(i)}}></calcite-action>`,h=t`<calcite-tooltip overlay-positioning=fixed .referenceElement=${`actionManageVersions_${r}`}><span>${o.headers.manageVersions}</span></calcite-tooltip>`),t`<calcite-block open .heading=${r}>${k}${C}${m}${h}</calcite-block>`}};E("arcgis-version-management-service-item",v);export{v as ArcgisVersionManagementServiceItem};
3
+ v4.33.0-next.4 */
4
+ import{A as n,B as p,C as L,G as E,g as V,s as t}from"./JIRQQI3T.js";var v=class extends p{constructor(){super(...arguments),this._arcgisGetVersions=e=>{this.arcgisGetVersions.emit(e.detail)},this._arcgisManageVersion=e=>{this.arcgisManageVersion.emit(e.detail)},this._arcgisNewVersion=e=>{this.arcgisNewVersion.emit(e.detail)},this._versionListEventListeners=new Map,this._showInvalidVersionNotice=!0,this.arcgisFlowItemBack=n(),this.arcgisFlowItemClose=n(),this.arcgisGetVersions=n(),this.arcgisManageVersion=n(),this.arcgisNewVersion=n(),this.arcgisCreateVersionList=n()}static{this.properties={_showInvalidVersionNotice:16,serviceItemElementProps:0}}static{this.shadowRootOptions=V}disconnectedCallback(){super.disconnectedCallback(),this._versionList&&this._removeVersionListEventListeners(this._versionList)}_addVersionListEventListeners(e){e.addEventListener("arcgisGetVersions",this._arcgisGetVersions),this._versionListEventListeners.set("arcgisGetVersions",this._arcgisGetVersions),e.addEventListener("arcgisManageVersion",this._arcgisManageVersion),this._versionListEventListeners.set("arcgisManageVersion",this._arcgisManageVersion),e.addEventListener("arcgisNewVersion",this._arcgisNewVersion),this._versionListEventListeners.set("arcgisNewVersion",this._arcgisNewVersion)}_removeVersionListEventListeners(e){for(let[c,l]of this._versionListEventListeners)e.removeEventListener(c,l)}render(){let{serviceItemElementProps:{allowEditing:e,closable:c,currentUser:l,executionError:I,currentVersionIdentifier:d,flowElement:_,hasAdvEditingUte:b,heading:w,isInitialVersionInvalid:f,isVersionAdministrator:u,isVersioningApiAvailable:$,mode:x,pageSize:M,serviceName:r,serviceUrl:g,state:N,strings:o,versionInfos:a}}=this,{_versionList:i}=this,k=f.get(g)&&this._showInvalidVersionNotice?t`<calcite-notice class="initial-version-invalid-block" closable kind=warning open scale=s width=full icon @calciteNoticeClose=${()=>this._showInvalidVersionNotice=!1}><div slot=title>${o.headers.invalidInitialVersion}</div><div slot=message>${o.loadErrors.invalidInitialVersion}</div></calcite-notice>`:void 0,C=t`<calcite-combobox clear-disabled .label=${r} max-items=5 overlay-positioning=fixed selection-mode=single-persist @calciteComboboxChange=${s=>{let A=s.target,G=a.find(F=>F.versionIdentifier.guid===A.value);this.arcgisManageVersion.emit({actionType:"changeVersion",serviceUrl:g,versionInfo:G})}}>${a?a.map(s=>t`<calcite-combobox-item class=${L(x==="dialog"?"":"calcite-combobox-item")} .selected=${d.guid===s.versionIdentifier.guid&&d.name===s.versionIdentifier.name} .textLabel=${s.versionIdentifier.name} .value=${s.versionIdentifier.guid}></calcite-combobox-item>`):void 0}</calcite-combobox>`,m,h;return e&&(m=t`<calcite-action .id=${`actionManageVersions_${r}`} icon=list scale=s slot=control text @click=${async()=>{i=document.createElement("arcgis-version-management-version-list"),i.versionListElementProps={closable:c,currentUser:l,currentVersionIdentifier:d,executionError:I,hasAdvEditingUte:b,heading:w,isVersionAdministrator:u,isVersioningApiAvailable:$,pageSize:M,serviceName:r,serviceUrl:g,state:N,strings:o,versionInfos:a},i.selected=!0,i.showBackButton=!0,i.addEventListener("calciteFlowItemBack",s=>{s.preventDefault(),this.arcgisFlowItemBack.emit()}),i.addEventListener("calciteFlowItemClose",()=>{this.arcgisFlowItemClose.emit()}),this._addVersionListEventListeners(i),_?.append(i),this.arcgisCreateVersionList.emit(i)}}></calcite-action>`,h=t`<calcite-tooltip overlay-positioning=fixed .referenceElement=${`actionManageVersions_${r}`}><span>${o.headers.manageVersions}</span></calcite-tooltip>`),t`<calcite-block open .heading=${r}>${k}${C}${m}${h}</calcite-block>`}};E("arcgis-version-management-service-item",v);export{v as ArcgisVersionManagementServiceItem};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/4.33/esri/copyright.txt for details.
3
- v4.33.0-next.3 */
4
- import{a as d}from"./R3BPEY3W.js";import"./EHLCSI5D.js";import"./ZFB6YZIB.js";import{A as o,B as a,G as h,g as t,q as e,r as s}from"./U4O7H3J5.js";var n=await $arcgis.l("widgets/ShadowCast");var l=s`arcgis-shadow-cast{display:block}`,c=d(n),i=class extends a{constructor(){super(...arguments),this.widget=c(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.discreteOptions=this.viewModel.discreteOptions,this.durationOptions=this.viewModel.durationOptions,this.endTimeOfDay=this.viewModel.endTimeOfDay,this.headingLevel=this.widget.headingLevel,this.hideColorPicker=this.widget.visibleElements.colorPicker,this.hideDatePicker=this.widget.visibleElements.datePicker,this.hideTimeRangeSlider=this.widget.visibleElements.timeRangeSlider,this.hideTimezone=this.widget.visibleElements.timezone,this.hideTooltip=this.widget.visibleElements.tooltip,this.hideVisualizationOptions=this.widget.visibleElements.visualizationOptions,this.icon=this.widget.icon,this.label=this.widget.label,this.position="bottom-left",this.startTimeOfDay=this.viewModel.startTimeOfDay,this.state=this.viewModel.state,this.thresholdOptions=this.viewModel.thresholdOptions,this.utcOffset=this.viewModel.utcOffset,this.visualizationType=this.viewModel.visualizationType,this.arcgisPropertyChange=e()("state"),this.arcgisReady=o()}static{this.properties={autoDestroyDisabled:5,discreteOptions:0,durationOptions:0,endTimeOfDay:9,headingLevel:9,hideColorPicker:5,hideDatePicker:5,hideTimeRangeSlider:5,hideTimezone:5,hideTooltip:5,hideVisualizationOptions:5,icon:1,label:1,position:1,referenceElement:1,startTimeOfDay:9,state:3,thresholdOptions:0,utcOffset:9,visualizationType:1}}static{this.shadowRootOptions=t}static{this.styles=l}async destroy(){await this.manager.destroy()}async getDuration(r){return await this.widget?.viewModel.getDuration(r)}async start(){this.widget?.viewModel.start()}async stop(){this.widget?.viewModel.stop()}};h("arcgis-shadow-cast",i);export{i as ArcgisShadowCast};
3
+ v4.33.0-next.4 */
4
+ import{a as d}from"./E24PS7UW.js";import"./NI5HGQAV.js";import"./WJHEJVAN.js";import{A as o,B as a,G as h,g as t,q as e,r as s}from"./JIRQQI3T.js";var n=await $arcgis.l("widgets/ShadowCast");var l=s`arcgis-shadow-cast{display:block}`,c=d(n),i=class extends a{constructor(){super(...arguments),this.widget=c(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.discreteOptions=this.viewModel.discreteOptions,this.durationOptions=this.viewModel.durationOptions,this.endTimeOfDay=this.viewModel.endTimeOfDay,this.headingLevel=this.widget.headingLevel,this.hideColorPicker=this.widget.visibleElements.colorPicker,this.hideDatePicker=this.widget.visibleElements.datePicker,this.hideTimeRangeSlider=this.widget.visibleElements.timeRangeSlider,this.hideTimezone=this.widget.visibleElements.timezone,this.hideTooltip=this.widget.visibleElements.tooltip,this.hideVisualizationOptions=this.widget.visibleElements.visualizationOptions,this.icon=this.widget.icon,this.label=this.widget.label,this.position="bottom-left",this.startTimeOfDay=this.viewModel.startTimeOfDay,this.state=this.viewModel.state,this.thresholdOptions=this.viewModel.thresholdOptions,this.utcOffset=this.viewModel.utcOffset,this.visualizationType=this.viewModel.visualizationType,this.arcgisPropertyChange=e()("state"),this.arcgisReady=o()}static{this.properties={autoDestroyDisabled:5,discreteOptions:0,durationOptions:0,endTimeOfDay:9,headingLevel:9,hideColorPicker:5,hideDatePicker:5,hideTimeRangeSlider:5,hideTimezone:5,hideTooltip:5,hideVisualizationOptions:5,icon:1,label:1,position:1,referenceElement:1,startTimeOfDay:9,state:3,thresholdOptions:0,utcOffset:9,visualizationType:1}}static{this.shadowRootOptions=t}static{this.styles=l}async destroy(){await this.manager.destroy()}async getDuration(r){return await this.widget?.viewModel.getDuration(r)}async start(){this.widget?.viewModel.start()}async stop(){this.widget?.viewModel.stop()}};h("arcgis-shadow-cast",i);export{i as ArcgisShadowCast};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/4.33/esri/copyright.txt for details.
3
- v4.33.0-next.3 */
4
- import{a as o}from"./R3BPEY3W.js";import"./EHLCSI5D.js";import"./ZFB6YZIB.js";import{A as a,B as l,G as h,g as s,q as i,r as t}from"./U4O7H3J5.js";var r=await $arcgis.l("widgets/BuildingExplorer");var d=t`arcgis-building-explorer{display:block}`,n=o(r),e=class extends l{constructor(){super(...arguments),this.widget=n(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.headingLevel=this.widget.headingLevel,this.hideDisciplines=this.widget.visibleElements.disciplines,this.hideLevels=this.widget.visibleElements.levels,this.hidePhases=this.widget.visibleElements.phases,this.icon=this.widget.icon,this.label=this.widget.label,this.layers=this.widget.layers,this.level=this.viewModel.level,this.phase=this.viewModel.phase,this.position="bottom-left",this.state=this.viewModel.state,this.arcgisPropertyChange=i()("level","phase","state"),this.arcgisReady=a()}static{this.properties={autoDestroyDisabled:5,headingLevel:9,hideDisciplines:5,hideLevels:5,hidePhases:5,icon:1,label:1,layers:0,level:0,phase:0,position:1,referenceElement:1,state:3}}static{this.shadowRootOptions=s}static{this.styles=d}async destroy(){await this.manager.destroy()}};h("arcgis-building-explorer",e);export{e as ArcgisBuildingExplorer};
3
+ v4.33.0-next.4 */
4
+ import{a as o}from"./E24PS7UW.js";import"./NI5HGQAV.js";import"./WJHEJVAN.js";import{A as a,B as l,G as h,g as s,q as i,r as t}from"./JIRQQI3T.js";var r=await $arcgis.l("widgets/BuildingExplorer");var d=t`arcgis-building-explorer{display:block}`,n=o(r),e=class extends l{constructor(){super(...arguments),this.widget=n(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.headingLevel=this.widget.headingLevel,this.hideDisciplines=this.widget.visibleElements.disciplines,this.hideLevels=this.widget.visibleElements.levels,this.hidePhases=this.widget.visibleElements.phases,this.icon=this.widget.icon,this.label=this.widget.label,this.layers=this.widget.layers,this.level=this.viewModel.level,this.phase=this.viewModel.phase,this.position="bottom-left",this.state=this.viewModel.state,this.arcgisPropertyChange=i()("level","phase","state"),this.arcgisReady=a()}static{this.properties={autoDestroyDisabled:5,headingLevel:9,hideDisciplines:5,hideLevels:5,hidePhases:5,icon:1,label:1,layers:0,level:0,phase:0,position:1,referenceElement:1,state:3}}static{this.shadowRootOptions=s}static{this.styles=d}async destroy(){await this.manager.destroy()}};h("arcgis-building-explorer",e);export{e as ArcgisBuildingExplorer};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/4.33/esri/copyright.txt for details.
3
- v4.33.0-next.3 */
4
- import{a as A}from"./R3BPEY3W.js";import"./EHLCSI5D.js";import"./ZFB6YZIB.js";import{A as c,B as h,G as r,g as l}from"./U4O7H3J5.js";var S=await $arcgis.l("widgets/UtilityNetworkAssociations");var g=A(S),a=class extends h{constructor(){super(...arguments),this.widget=g(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.autoRefreshAssociationsDisabled=this.widget.autoRefreshAssociations,this.connectivityAssociationsLineSymbol=this.widget.connectivityAssociationsLineSymbol,this.includeConnectivityAssociationsDisabled=this.widget.includeConnectivityAssociations,this.includeStructuralAttachmentAssociationsDisabled=this.widget.includeStructuralAttachmentAssociations,this.maxAllowableAssociations=this.widget.maxAllowableAssociations,this.maxAllowableAssociationsSliderMax=this.widget.maxAllowableAssociationsSliderMax,this.maxAllowableAssociationsSliderMin=this.widget.maxAllowableAssociationsSliderMin,this.maxAllowableAssociationsSliderStep=this.widget.maxAllowableAssociationsSliderStep,this.position="bottom-left",this.showArrowsConnectivity=this.widget.showArrowsConnectivity,this.showArrowsStructuralAttachment=this.widget.showArrowsStructuralAttachment,this.showAssociationsEnabled=this.widget.showAssociationsEnabled,this.structuralAttachmentAssociationsLineSymbol=this.widget.structuralAttachmentAssociationsLineSymbol,this.utilityNetwork=this.widget.utilityNetwork,this.showConnectivityAssociationsSettingsArrowsToggle=this.widget.visibleElements.connectivityAssociationsSettings.arrowsToggle,this.visibleElementsConnectivityAssociationsSettingsArrowsToggle=!1,this.showConnectivityAssociationsSettingsCapSelect=this.widget.visibleElements.connectivityAssociationsSettings.capSelect,this.visibleElementsConnectivityAssociationsSettingsCapSelect=!1,this.hideConnectivityAssociationsSettingsColorPicker=this.widget.visibleElements.connectivityAssociationsSettings.colorPicker,this.visibleElementsConnectivityAssociationsSettingsColorPicker=!0,this.hideConnectivityAssociationsSettingsStylePicker=this.widget.visibleElements.connectivityAssociationsSettings.stylePicker,this.visibleElementsConnectivityAssociationsSettingsStylePicker=!0,this.hideConnectivityAssociationsSettingsWidthInput=this.widget.visibleElements.connectivityAssociationsSettings.widthInput,this.visibleElementsConnectivityAssociationsSettingsWidthInput=!0,this.showMaxAllowableAssociationsSlider=this.widget.visibleElements.maxAllowableAssociationsSlider,this.visibleElementsMaxAllowableAssociationsSlider=!1,this.showStructuralAttachmentAssociationsSettingsArrowsToggle=this.widget.visibleElements.structuralAttachmentAssociationsSettings.arrowsToggle,this.visibleElementsStructuralAttachmentAssociationsSettingsArrowsToggle=!1,this.showStructuralAttachmentAssociationsSettingsCapSelect=this.widget.visibleElements.structuralAttachmentAssociationsSettings.capSelect,this.visibleElementsStructuralAttachmentAssociationsSettingsCapSelect=!1,this.hideStructuralAttachmentAssociationsSettingsColorPicker=this.widget.visibleElements.structuralAttachmentAssociationsSettings.colorPicker,this.visibleElementsStructuralAttachmentAssociationsSettingsColorPicker=!0,this.hideStructuralAttachmentAssociationsSettingsStylePicker=this.widget.visibleElements.structuralAttachmentAssociationsSettings.stylePicker,this.visibleElementsStructuralAttachmentAssociationsSettingsStylePicker=!0,this.hideStructuralAttachmentAssociationsSettingsWidthInput=this.widget.visibleElements.structuralAttachmentAssociationsSettings.widthInput,this.visibleElementsStructuralAttachmentAssociationsSettingsWidthInput=!0,this.icon=this.widget.icon,this.label=this.widget.label,this.arcgisReady=c()}static{this.properties={autoDestroyDisabled:5,autoRefreshAssociationsDisabled:5,connectivityAssociationsLineSymbol:0,includeConnectivityAssociationsDisabled:5,includeStructuralAttachmentAssociationsDisabled:5,maxAllowableAssociations:9,maxAllowableAssociationsSliderMax:9,maxAllowableAssociationsSliderMin:9,maxAllowableAssociationsSliderStep:9,position:1,referenceElement:1,showArrowsConnectivity:5,showArrowsStructuralAttachment:5,showAssociationsEnabled:5,structuralAttachmentAssociationsLineSymbol:0,utilityNetwork:0,showConnectivityAssociationsSettingsArrowsToggle:5,visibleElementsConnectivityAssociationsSettingsArrowsToggle:5,showConnectivityAssociationsSettingsCapSelect:5,visibleElementsConnectivityAssociationsSettingsCapSelect:5,hideConnectivityAssociationsSettingsColorPicker:5,visibleElementsConnectivityAssociationsSettingsColorPicker:5,hideConnectivityAssociationsSettingsStylePicker:5,visibleElementsConnectivityAssociationsSettingsStylePicker:5,hideConnectivityAssociationsSettingsWidthInput:5,visibleElementsConnectivityAssociationsSettingsWidthInput:5,showMaxAllowableAssociationsSlider:5,visibleElementsMaxAllowableAssociationsSlider:5,showStructuralAttachmentAssociationsSettingsArrowsToggle:5,visibleElementsStructuralAttachmentAssociationsSettingsArrowsToggle:5,showStructuralAttachmentAssociationsSettingsCapSelect:5,visibleElementsStructuralAttachmentAssociationsSettingsCapSelect:5,hideStructuralAttachmentAssociationsSettingsColorPicker:5,visibleElementsStructuralAttachmentAssociationsSettingsColorPicker:5,hideStructuralAttachmentAssociationsSettingsStylePicker:5,visibleElementsStructuralAttachmentAssociationsSettingsStylePicker:5,hideStructuralAttachmentAssociationsSettingsWidthInput:5,visibleElementsStructuralAttachmentAssociationsSettingsWidthInput:5,icon:1,label:1}}static{this.shadowRootOptions=l}async destroy(){await this.manager.destroy()}async load(){if(this.el.view?.map&&this.el.view.map.portalItem){await this.el.view.map.load();let t=this.el.view.map.utilityNetworks?.getItemAt(0);await t?.load(),this.utilityNetwork=t}}willUpdate(t){this._handleVisibilityChange(t,"ConnectivityAssociationsSettingsArrowsToggle"),this._handleVisibilityChange(t,"ConnectivityAssociationsSettingsCapSelect"),this._handleVisibilityChange(t,"ConnectivityAssociationsSettingsColorPicker"),this._handleVisibilityChange(t,"ConnectivityAssociationsSettingsStylePicker"),this._handleVisibilityChange(t,"ConnectivityAssociationsSettingsWidthInput"),this._handleVisibilityChange(t,"MaxAllowableAssociationsSlider"),this._handleVisibilityChange(t,"StructuralAttachmentAssociationsSettingsArrowsToggle"),this._handleVisibilityChange(t,"StructuralAttachmentAssociationsSettingsCapSelect"),this._handleVisibilityChange(t,"StructuralAttachmentAssociationsSettingsStylePicker"),this._handleVisibilityChange(t,"StructuralAttachmentAssociationsSettingsWidthInput")}_handleVisibilityChange(t,n){let s=`show${n}`,o=`hide${n}`,e=`visibleElements${n}`,i=this;t.has(s)?i[e]=!!i[s]:t.has(o)?i[e]=!i[o]:t.has(e)&&(console.warn(`${this.el.tagName.toLowerCase()}: The property ${e} is deprecated. Use ${s in i?s:o} instead.`),s in i?i[s]=!!i[e]:o in i&&(i[o]=!i[e]))}};r("arcgis-utility-network-associations",a);export{a as ArcgisUtilityNetworkAssociations};
3
+ v4.33.0-next.4 */
4
+ import{a as A}from"./E24PS7UW.js";import"./NI5HGQAV.js";import"./WJHEJVAN.js";import{A as c,B as h,G as r,g as l}from"./JIRQQI3T.js";var S=await $arcgis.l("widgets/UtilityNetworkAssociations");var g=A(S),a=class extends h{constructor(){super(...arguments),this.widget=g(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.autoRefreshAssociationsDisabled=this.widget.autoRefreshAssociations,this.connectivityAssociationsLineSymbol=this.widget.connectivityAssociationsLineSymbol,this.includeConnectivityAssociationsDisabled=this.widget.includeConnectivityAssociations,this.includeStructuralAttachmentAssociationsDisabled=this.widget.includeStructuralAttachmentAssociations,this.maxAllowableAssociations=this.widget.maxAllowableAssociations,this.maxAllowableAssociationsSliderMax=this.widget.maxAllowableAssociationsSliderMax,this.maxAllowableAssociationsSliderMin=this.widget.maxAllowableAssociationsSliderMin,this.maxAllowableAssociationsSliderStep=this.widget.maxAllowableAssociationsSliderStep,this.position="bottom-left",this.showArrowsConnectivity=this.widget.showArrowsConnectivity,this.showArrowsStructuralAttachment=this.widget.showArrowsStructuralAttachment,this.showAssociationsEnabled=this.widget.showAssociationsEnabled,this.structuralAttachmentAssociationsLineSymbol=this.widget.structuralAttachmentAssociationsLineSymbol,this.utilityNetwork=this.widget.utilityNetwork,this.showConnectivityAssociationsSettingsArrowsToggle=this.widget.visibleElements.connectivityAssociationsSettings.arrowsToggle,this.visibleElementsConnectivityAssociationsSettingsArrowsToggle=!1,this.showConnectivityAssociationsSettingsCapSelect=this.widget.visibleElements.connectivityAssociationsSettings.capSelect,this.visibleElementsConnectivityAssociationsSettingsCapSelect=!1,this.hideConnectivityAssociationsSettingsColorPicker=this.widget.visibleElements.connectivityAssociationsSettings.colorPicker,this.visibleElementsConnectivityAssociationsSettingsColorPicker=!0,this.hideConnectivityAssociationsSettingsStylePicker=this.widget.visibleElements.connectivityAssociationsSettings.stylePicker,this.visibleElementsConnectivityAssociationsSettingsStylePicker=!0,this.hideConnectivityAssociationsSettingsWidthInput=this.widget.visibleElements.connectivityAssociationsSettings.widthInput,this.visibleElementsConnectivityAssociationsSettingsWidthInput=!0,this.showMaxAllowableAssociationsSlider=this.widget.visibleElements.maxAllowableAssociationsSlider,this.visibleElementsMaxAllowableAssociationsSlider=!1,this.showStructuralAttachmentAssociationsSettingsArrowsToggle=this.widget.visibleElements.structuralAttachmentAssociationsSettings.arrowsToggle,this.visibleElementsStructuralAttachmentAssociationsSettingsArrowsToggle=!1,this.showStructuralAttachmentAssociationsSettingsCapSelect=this.widget.visibleElements.structuralAttachmentAssociationsSettings.capSelect,this.visibleElementsStructuralAttachmentAssociationsSettingsCapSelect=!1,this.hideStructuralAttachmentAssociationsSettingsColorPicker=this.widget.visibleElements.structuralAttachmentAssociationsSettings.colorPicker,this.visibleElementsStructuralAttachmentAssociationsSettingsColorPicker=!0,this.hideStructuralAttachmentAssociationsSettingsStylePicker=this.widget.visibleElements.structuralAttachmentAssociationsSettings.stylePicker,this.visibleElementsStructuralAttachmentAssociationsSettingsStylePicker=!0,this.hideStructuralAttachmentAssociationsSettingsWidthInput=this.widget.visibleElements.structuralAttachmentAssociationsSettings.widthInput,this.visibleElementsStructuralAttachmentAssociationsSettingsWidthInput=!0,this.icon=this.widget.icon,this.label=this.widget.label,this.arcgisReady=c()}static{this.properties={autoDestroyDisabled:5,autoRefreshAssociationsDisabled:5,connectivityAssociationsLineSymbol:0,includeConnectivityAssociationsDisabled:5,includeStructuralAttachmentAssociationsDisabled:5,maxAllowableAssociations:9,maxAllowableAssociationsSliderMax:9,maxAllowableAssociationsSliderMin:9,maxAllowableAssociationsSliderStep:9,position:1,referenceElement:1,showArrowsConnectivity:5,showArrowsStructuralAttachment:5,showAssociationsEnabled:5,structuralAttachmentAssociationsLineSymbol:0,utilityNetwork:0,showConnectivityAssociationsSettingsArrowsToggle:5,visibleElementsConnectivityAssociationsSettingsArrowsToggle:5,showConnectivityAssociationsSettingsCapSelect:5,visibleElementsConnectivityAssociationsSettingsCapSelect:5,hideConnectivityAssociationsSettingsColorPicker:5,visibleElementsConnectivityAssociationsSettingsColorPicker:5,hideConnectivityAssociationsSettingsStylePicker:5,visibleElementsConnectivityAssociationsSettingsStylePicker:5,hideConnectivityAssociationsSettingsWidthInput:5,visibleElementsConnectivityAssociationsSettingsWidthInput:5,showMaxAllowableAssociationsSlider:5,visibleElementsMaxAllowableAssociationsSlider:5,showStructuralAttachmentAssociationsSettingsArrowsToggle:5,visibleElementsStructuralAttachmentAssociationsSettingsArrowsToggle:5,showStructuralAttachmentAssociationsSettingsCapSelect:5,visibleElementsStructuralAttachmentAssociationsSettingsCapSelect:5,hideStructuralAttachmentAssociationsSettingsColorPicker:5,visibleElementsStructuralAttachmentAssociationsSettingsColorPicker:5,hideStructuralAttachmentAssociationsSettingsStylePicker:5,visibleElementsStructuralAttachmentAssociationsSettingsStylePicker:5,hideStructuralAttachmentAssociationsSettingsWidthInput:5,visibleElementsStructuralAttachmentAssociationsSettingsWidthInput:5,icon:1,label:1}}static{this.shadowRootOptions=l}async destroy(){await this.manager.destroy()}async load(){if(this.el.view?.map&&this.el.view.map.portalItem){await this.el.view.map.load();let t=this.el.view.map.utilityNetworks?.getItemAt(0);await t?.load(),this.utilityNetwork=t}}willUpdate(t){this._handleVisibilityChange(t,"ConnectivityAssociationsSettingsArrowsToggle"),this._handleVisibilityChange(t,"ConnectivityAssociationsSettingsCapSelect"),this._handleVisibilityChange(t,"ConnectivityAssociationsSettingsColorPicker"),this._handleVisibilityChange(t,"ConnectivityAssociationsSettingsStylePicker"),this._handleVisibilityChange(t,"ConnectivityAssociationsSettingsWidthInput"),this._handleVisibilityChange(t,"MaxAllowableAssociationsSlider"),this._handleVisibilityChange(t,"StructuralAttachmentAssociationsSettingsArrowsToggle"),this._handleVisibilityChange(t,"StructuralAttachmentAssociationsSettingsCapSelect"),this._handleVisibilityChange(t,"StructuralAttachmentAssociationsSettingsStylePicker"),this._handleVisibilityChange(t,"StructuralAttachmentAssociationsSettingsWidthInput")}_handleVisibilityChange(t,n){let s=`show${n}`,o=`hide${n}`,e=`visibleElements${n}`,i=this;t.has(s)?i[e]=!!i[s]:t.has(o)?i[e]=!i[o]:t.has(e)&&(console.warn(`${this.el.tagName.toLowerCase()}: The property ${e} is deprecated. Use ${s in i?s:o} instead.`),s in i?i[s]=!!i[e]:o in i&&(i[o]=!i[e]))}};r("arcgis-utility-network-associations",a);export{a as ArcgisUtilityNetworkAssociations};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/4.33/esri/copyright.txt for details.
3
- v4.33.0-next.3 */
4
- import{a as l,b as c}from"./U2BLZFG7.js";import{A as o,B as v,G as V,r as u,s}from"./U4O7H3J5.js";var N=u`:host{display:none;background:#bdf2c4}:host([selected]){display:flex}calcite-block{margin-block:0}calcite-pagination{justify-content:center}`,h=class extends v{constructor(){super(...arguments),this._filterInputElement=l(),this._flowItemElement=l(),this.currentPage=1,this.selected=!1,this.showBackButton=!1,this.arcgisGetVersions=o(),this.arcgisManageVersion=o(),this.arcgisNewVersion=o()}static{this.properties={_filteredVersionInfos:16,currentPage:11,selected:7,showBackButton:7,versionListElementProps:0}}static{this.styles=N}load(){this._filteredVersionInfos=this.versionListElementProps.versionInfos}willUpdate(e){if(e.has("versionListElementProps")){let i=e.get("versionListElementProps"),t=this.versionListElementProps;i?.versionInfos!==t.versionInfos&&(this._filteredVersionInfos=t.versionInfos,this._filterInputElement.value&&this._handleFilterChange())}}updated(){this._filterInputElement.value?.setFocus()}async setFocus(){this._flowItemElement.value?.setFocus()}goBack(){}_handleFilterChange(){let{versionListElementProps:{versionInfos:e}}=this,i=this._filterInputElement.value.value.toUpperCase();this._filteredVersionInfos=i===""?e:e.filter(t=>t.versionIdentifier.name.toUpperCase().includes(i)||t.versionIdentifier.guid.toUpperCase().includes(i)),this._filteredVersionInfos.length&&(this.currentPage=1)}_handleNoticeClosed(){this.versionListElementProps={...this.versionListElementProps,executionError:void 0}}_handlePaginationChange(e){this.currentPage=e.target.startItem}_getExecutionError(e){let{versionListElementProps:{strings:{executionErrors:i}}}=this;switch(e){case"no-advanced-editing-user-type-extension":return i.noAdvancedEditingUserTypeExtension;case"no-feature-service-found":return i.noFeatureServiceFound;case"no-valid-enterprise-version":return i.notValidEnterpriseVersion;case"no-valid-version-name":return i.invalidVersionName;default:return e}}_paginate(e,i,t){return e.slice((t-1)*i,t*i)}render(){let{currentPage:e,selected:i,showBackButton:t,versionListElementProps:{closable:I,currentUser:_,currentVersionIdentifier:d,executionError:g,hasAdvEditingUte:f,heading:$,isVersionAdministrator:E,isVersioningApiAvailable:p,pageSize:n,serviceName:b,serviceUrl:a,state:x,strings:{headers:m},strings:r,versionInfos:P}}=this,w=s`<calcite-block .heading=${m.currentVersion} .description=${d.name} overlay-positioning=fixed></calcite-block>`,k=s`<calcite-action id=actionRefreshVersions icon=refresh text @click=${()=>{this.arcgisGetVersions.emit({serviceUrl:a})}} slot=header-actions-end><calcite-tooltip overlay-positioning=fixed reference-element=actionRefreshVersions><span>${r.actions.refreshVersions}</span></calcite-tooltip></calcite-action>`;this._paginatedVersionInfos=this._filteredVersionInfos.length>n?this._paginate(this._filteredVersionInfos,n,e):this._filteredVersionInfos;let C=this._filteredVersionInfos.length>n?s`<calcite-pagination @calcitePaginationChange=${this._handlePaginationChange} page-size=1 .startItem=${e} .totalItems=${Math.ceil(this._filteredVersionInfos.length/n)}></calcite-pagination>`:void 0,U=this._paginate(this._paginatedVersionInfos,n,1).map(F=>s`<arcgis-version-management-version-item .versionItemElementProps=${{currentUser:_,currentVersionIdentifier:d,isCurrentVersionCard:!1,hasAdvEditingUte:f,isVersionAdministrator:E,isVersioningApiAvailable:p,serviceUrl:a,strings:r,versionInfo:F}}></arcgis-version-management-version-item>`),L=P.length>n?s`<calcite-block heading .label=${m.filterVersions} open><calcite-input-text clearable icon=search @calciteInputTextInput=${this._handleFilterChange} .placeholder=${r.actions.searchVersions} ${c(this._filterInputElement)}></calcite-input-text></calcite-block>`:void 0,A=s`<calcite-list label=versions>${U}</calcite-list>`,y=p&&f?s`<calcite-fab appearance=outline-fill slot=fab text-enabled .text=${r.actions.newVersion} @click=${()=>{this.arcgisNewVersion.emit({serviceUrl:a})}}></calcite-fab>`:void 0,B=g?s`<calcite-notice @calciteNoticeClose=${this._handleNoticeClosed} class="notice" closable kind=warning open scale=s slot=footer width=full><div slot=message>${this._getExecutionError(g)}</div></calcite-notice>`:void 0;return s`<calcite-flow-item .closable=${I} .description=${b} .heading=${$} .selected=${i} .showBackButton=${t} ${c(this._flowItemElement)}><calcite-panel .loading=${x==="executing"}>${w}<calcite-panel .heading=${this._filteredVersionInfos.length?`${r.headers.manageVersions} (${this._filteredVersionInfos.length})`:r.headers.manageVersions}>${k}${L}${A}${y}</calcite-panel>${C}${B}</calcite-panel></calcite-flow-item>`}};V("arcgis-version-management-version-list",h);export{h as ArcgisVersionManagementVersionList};
3
+ v4.33.0-next.4 */
4
+ import{a as l,b as c}from"./RCKQ66JZ.js";import{A as o,B as v,G as V,r as u,s}from"./JIRQQI3T.js";var N=u`:host{display:none;background:#bdf2c4}:host([selected]){display:flex}calcite-block{margin-block:0}calcite-pagination{justify-content:center}`,h=class extends v{constructor(){super(...arguments),this._filterInputElement=l(),this._flowItemElement=l(),this.currentPage=1,this.selected=!1,this.showBackButton=!1,this.arcgisGetVersions=o(),this.arcgisManageVersion=o(),this.arcgisNewVersion=o()}static{this.properties={_filteredVersionInfos:16,currentPage:11,selected:7,showBackButton:7,versionListElementProps:0}}static{this.styles=N}load(){this._filteredVersionInfos=this.versionListElementProps.versionInfos}willUpdate(e){if(e.has("versionListElementProps")){let i=e.get("versionListElementProps"),t=this.versionListElementProps;i?.versionInfos!==t.versionInfos&&(this._filteredVersionInfos=t.versionInfos,this._filterInputElement.value&&this._handleFilterChange())}}updated(){this._filterInputElement.value?.setFocus()}async setFocus(){this._flowItemElement.value?.setFocus()}goBack(){}_handleFilterChange(){let{versionListElementProps:{versionInfos:e}}=this,i=this._filterInputElement.value.value.toUpperCase();this._filteredVersionInfos=i===""?e:e.filter(t=>t.versionIdentifier.name.toUpperCase().includes(i)||t.versionIdentifier.guid.toUpperCase().includes(i)),this._filteredVersionInfos.length&&(this.currentPage=1)}_handleNoticeClosed(){this.versionListElementProps={...this.versionListElementProps,executionError:void 0}}_handlePaginationChange(e){this.currentPage=e.target.startItem}_getExecutionError(e){let{versionListElementProps:{strings:{executionErrors:i}}}=this;switch(e){case"no-advanced-editing-user-type-extension":return i.noAdvancedEditingUserTypeExtension;case"no-feature-service-found":return i.noFeatureServiceFound;case"no-valid-enterprise-version":return i.notValidEnterpriseVersion;case"no-valid-version-name":return i.invalidVersionName;default:return e}}_paginate(e,i,t){return e.slice((t-1)*i,t*i)}render(){let{currentPage:e,selected:i,showBackButton:t,versionListElementProps:{closable:I,currentUser:$,currentVersionIdentifier:d,executionError:g,hasAdvEditingUte:f,heading:_,isVersionAdministrator:E,isVersioningApiAvailable:p,pageSize:r,serviceName:b,serviceUrl:a,state:x,strings:{headers:m},strings:n,versionInfos:P}}=this,w=s`<calcite-block .heading=${m.currentVersion} .description=${d.name} overlay-positioning=fixed></calcite-block>`,k=s`<calcite-action id=actionRefreshVersions icon=refresh text @click=${()=>{this.arcgisGetVersions.emit({serviceUrl:a})}} slot=header-actions-end><calcite-tooltip overlay-positioning=fixed reference-element=actionRefreshVersions><span>${n.actions.refreshVersions}</span></calcite-tooltip></calcite-action>`;this._paginatedVersionInfos=this._filteredVersionInfos.length>r?this._paginate(this._filteredVersionInfos,r,e):this._filteredVersionInfos;let C=this._filteredVersionInfos.length>r?s`<calcite-pagination @calcitePaginationChange=${this._handlePaginationChange} page-size=1 .startItem=${e} .totalItems=${Math.ceil(this._filteredVersionInfos.length/r)}></calcite-pagination>`:void 0,U=this._paginate(this._paginatedVersionInfos,r,1).map(F=>s`<arcgis-version-management-version-item .versionItemElementProps=${{currentUser:$,currentVersionIdentifier:d,isCurrentVersionCard:!1,hasAdvEditingUte:f,isVersionAdministrator:E,isVersioningApiAvailable:p,serviceUrl:a,strings:n,versionInfo:F}}></arcgis-version-management-version-item>`),L=P.length>r?s`<calcite-block heading .label=${m.filterVersions} open><calcite-input-text clearable icon=search @calciteInputTextInput=${this._handleFilterChange} .placeholder=${n.actions.searchVersions} ${c(this._filterInputElement)}></calcite-input-text></calcite-block>`:void 0,A=s`<calcite-list .label=${n.headers.manageVersions}>${U}</calcite-list>`,y=p&&f?s`<calcite-fab appearance=outline-fill slot=fab text-enabled .text=${n.actions.newVersion} @click=${()=>{this.arcgisNewVersion.emit({serviceUrl:a})}}></calcite-fab>`:void 0,B=g?s`<calcite-notice @calciteNoticeClose=${this._handleNoticeClosed} class="notice" closable kind=warning open scale=s slot=footer width=full><div slot=message>${this._getExecutionError(g)}</div></calcite-notice>`:void 0;return s`<calcite-flow-item .closable=${I} .description=${b} .heading=${_} .selected=${i} .showBackButton=${t} ${c(this._flowItemElement)}><calcite-panel .loading=${x==="executing"}>${w}<calcite-panel .heading=${this._filteredVersionInfos.length?`${n.headers.manageVersions} (${this._filteredVersionInfos.length})`:n.headers.manageVersions}>${k}${L}${A}${y}</calcite-panel>${C}${B}</calcite-panel></calcite-flow-item>`}};V("arcgis-version-management-version-list",h);export{h as ArcgisVersionManagementVersionList};