@arcgis/map-components 4.28.0-beta.17 → 4.28.0-beta.18

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 (172) hide show
  1. package/dist/arcgis-map-components/arcgis-map-components.esm.js +1 -1
  2. package/dist/arcgis-map-components/{p-1276eb62.entry.js → p-0242af60.entry.js} +1 -1
  3. package/dist/arcgis-map-components/{p-6609ee7e.entry.js → p-03b5251f.entry.js} +1 -1
  4. package/dist/arcgis-map-components/{p-b1c703e3.entry.js → p-0936e80b.entry.js} +1 -1
  5. package/dist/arcgis-map-components/{p-b0a38600.entry.js → p-13e6a7d8.entry.js} +1 -1
  6. package/dist/arcgis-map-components/{p-6364554a.entry.js → p-13f54a3d.entry.js} +1 -1
  7. package/dist/arcgis-map-components/{p-b2243bb7.entry.js → p-1ad8b180.entry.js} +1 -1
  8. package/dist/arcgis-map-components/{p-0d840d8a.js → p-22fc56c8.js} +1 -1
  9. package/dist/arcgis-map-components/p-33cb8b14.entry.js +1 -0
  10. package/dist/arcgis-map-components/{p-c56960fd.entry.js → p-3c808d29.entry.js} +1 -1
  11. package/dist/arcgis-map-components/{p-30699f92.entry.js → p-3f59a46a.entry.js} +1 -1
  12. package/dist/arcgis-map-components/{p-b00e54a6.entry.js → p-3f877201.entry.js} +1 -1
  13. package/dist/arcgis-map-components/{p-86df43b4.entry.js → p-414430ed.entry.js} +1 -1
  14. package/dist/arcgis-map-components/{p-2fc502aa.entry.js → p-47b01830.entry.js} +1 -1
  15. package/dist/arcgis-map-components/{p-c97b580e.entry.js → p-4a77113b.entry.js} +1 -1
  16. package/dist/arcgis-map-components/{p-277f095a.entry.js → p-4b5deb57.entry.js} +1 -1
  17. package/dist/arcgis-map-components/p-4fe58b25.entry.js +1 -0
  18. package/dist/arcgis-map-components/p-51f8744c.entry.js +1 -0
  19. package/dist/arcgis-map-components/p-5db42e63.entry.js +1 -0
  20. package/dist/arcgis-map-components/{p-7d5d1afb.entry.js → p-5e3d16a0.entry.js} +1 -1
  21. package/dist/arcgis-map-components/p-6408870b.entry.js +1 -0
  22. package/dist/arcgis-map-components/{p-98bd22de.entry.js → p-6749a599.entry.js} +1 -1
  23. package/dist/arcgis-map-components/p-697a71a7.entry.js +1 -0
  24. package/dist/arcgis-map-components/{p-4117bf34.entry.js → p-6b479b72.entry.js} +1 -1
  25. package/dist/arcgis-map-components/{p-127d4102.entry.js → p-6c66cdcb.entry.js} +1 -1
  26. package/dist/arcgis-map-components/{p-179177e6.entry.js → p-7873dbf3.entry.js} +1 -1
  27. package/dist/arcgis-map-components/{p-0a37ebc1.entry.js → p-78e77f3b.entry.js} +1 -1
  28. package/dist/arcgis-map-components/p-89b1cd22.entry.js +1 -0
  29. package/dist/arcgis-map-components/{p-fdcc3045.entry.js → p-8f42c1d8.entry.js} +1 -1
  30. package/dist/arcgis-map-components/{p-3fc12c14.entry.js → p-9e08ec68.entry.js} +1 -1
  31. package/dist/arcgis-map-components/{p-731670a5.entry.js → p-9fde7a15.entry.js} +1 -1
  32. package/dist/arcgis-map-components/{p-08c65582.entry.js → p-a112eadb.entry.js} +1 -1
  33. package/dist/arcgis-map-components/{p-d23633b7.entry.js → p-a89496a7.entry.js} +1 -1
  34. package/dist/arcgis-map-components/{p-b75e9f5b.entry.js → p-acc2e85a.entry.js} +1 -1
  35. package/dist/arcgis-map-components/{p-da3a4c81.entry.js → p-af824cf7.entry.js} +1 -1
  36. package/dist/arcgis-map-components/{p-d23149d2.entry.js → p-b9fd5532.entry.js} +1 -1
  37. package/dist/arcgis-map-components/p-bb953d4e.entry.js +1 -0
  38. package/dist/arcgis-map-components/{p-957785b7.entry.js → p-bd14245a.entry.js} +1 -1
  39. package/dist/arcgis-map-components/{p-a87f8978.entry.js → p-bdd98302.entry.js} +1 -1
  40. package/dist/arcgis-map-components/{p-261995ff.entry.js → p-c657ea3a.entry.js} +1 -1
  41. package/dist/arcgis-map-components/{p-5eefc469.entry.js → p-cb795f29.entry.js} +1 -1
  42. package/dist/arcgis-map-components/{p-63d2e224.entry.js → p-cb8dd459.entry.js} +1 -1
  43. package/dist/arcgis-map-components/{p-7b5802c0.entry.js → p-d94df2de.entry.js} +1 -1
  44. package/dist/arcgis-map-components/{p-79b4b71b.entry.js → p-df745cb2.entry.js} +1 -1
  45. package/dist/arcgis-map-components/{p-8cb11200.entry.js → p-e01bdc7d.entry.js} +1 -1
  46. package/dist/arcgis-map-components/{p-1fefe50e.entry.js → p-e12442a4.entry.js} +1 -1
  47. package/dist/arcgis-map-components/{p-a1b3960f.entry.js → p-e1742407.entry.js} +1 -1
  48. package/dist/arcgis-map-components/{p-f6bfc95a.entry.js → p-f3ec85f2.entry.js} +1 -1
  49. package/dist/arcgis-map-components/{p-dfd70b03.entry.js → p-f6ff546b.entry.js} +1 -1
  50. package/dist/arcgis-map-components/{p-ae817fb1.entry.js → p-fa9fd142.entry.js} +1 -1
  51. package/dist/arcgis-map-components/{p-3de0e8b3.entry.js → p-faf08bf1.entry.js} +1 -1
  52. package/dist/arcgis-map-components/{p-1a619284.entry.js → p-fd06e0e1.entry.js} +1 -1
  53. package/dist/arcgis-map-components/{p-fb566956.entry.js → p-fe144585.entry.js} +1 -1
  54. package/dist/cjs/{arcgis-search.cjs.entry.js → arcgis-basemap-gallery_4.cjs.entry.js} +272 -0
  55. package/dist/cjs/arcgis-map-components.cjs.js +1 -1
  56. package/dist/cjs/index-6b51d5a0.js +2 -6
  57. package/dist/cjs/loader.cjs.js +1 -1
  58. package/dist/components/arcgis-area-measurement-2d.js +1 -1
  59. package/dist/components/arcgis-area-measurement-3d.js +1 -1
  60. package/dist/components/arcgis-basemap-gallery.js +1 -1
  61. package/dist/components/arcgis-basemap-layer-list.js +1 -1
  62. package/dist/components/arcgis-basemap-toggle.js +1 -1
  63. package/dist/components/arcgis-bookmarks.js +1 -1
  64. package/dist/components/arcgis-building-explorer.js +1 -1
  65. package/dist/components/arcgis-compass.js +1 -1
  66. package/dist/components/arcgis-coordinate-conversion.js +1 -1
  67. package/dist/components/arcgis-daylight.js +1 -1
  68. package/dist/components/arcgis-directional-pad.js +1 -1
  69. package/dist/components/arcgis-directions.js +1 -1
  70. package/dist/components/arcgis-directline-measurement-3d.js +1 -1
  71. package/dist/components/arcgis-distance-measurement-2d.js +1 -1
  72. package/dist/components/arcgis-editor.js +1 -1
  73. package/dist/components/arcgis-elevation-profile.js +1 -1
  74. package/dist/components/arcgis-expand2.js +1 -1
  75. package/dist/components/arcgis-feature-table.js +1 -1
  76. package/dist/components/arcgis-feature.js +1 -1
  77. package/dist/components/arcgis-features.js +1 -1
  78. package/dist/components/arcgis-floor-filter.js +1 -1
  79. package/dist/components/arcgis-fullscreen.js +1 -1
  80. package/dist/components/arcgis-home.js +1 -1
  81. package/dist/components/arcgis-layer-list.js +1 -1
  82. package/dist/components/arcgis-legend.js +1 -1
  83. package/dist/components/arcgis-line-of-sight.js +1 -1
  84. package/dist/components/arcgis-locate.js +1 -1
  85. package/dist/components/arcgis-map.js +2 -2
  86. package/dist/components/arcgis-measurement.js +1 -1
  87. package/dist/components/arcgis-navigation-toggle.js +1 -1
  88. package/dist/components/arcgis-print.js +1 -1
  89. package/dist/components/arcgis-scale-bar.js +1 -1
  90. package/dist/components/arcgis-scale-range-slider.js +1 -1
  91. package/dist/components/arcgis-scene.js +2 -2
  92. package/dist/components/arcgis-search.js +1 -1
  93. package/dist/components/arcgis-shadow-cast.js +1 -1
  94. package/dist/components/arcgis-sketch.js +1 -1
  95. package/dist/components/arcgis-slice.js +1 -1
  96. package/dist/components/arcgis-swipe.js +1 -1
  97. package/dist/components/arcgis-table-list.js +1 -1
  98. package/dist/components/arcgis-time-slider.js +1 -1
  99. package/dist/components/arcgis-track.js +1 -1
  100. package/dist/components/arcgis-utility-network-associations.js +1 -1
  101. package/dist/components/arcgis-utility-network-trace.js +1 -1
  102. package/dist/components/arcgis-utility-network-validate-topology.js +1 -1
  103. package/dist/components/arcgis-value-picker.js +1 -1
  104. package/dist/components/arcgis-weather.js +1 -1
  105. package/dist/components/arcgis-zoom.js +1 -1
  106. package/dist/esm/arcgis-area-measurement-2d.entry.js +1 -1
  107. package/dist/esm/arcgis-area-measurement-3d.entry.js +1 -1
  108. package/dist/esm/arcgis-attachments.entry.js +1 -1
  109. package/dist/esm/{arcgis-search.entry.js → arcgis-basemap-gallery_4.entry.js} +271 -2
  110. package/dist/esm/arcgis-basemap-layer-list.entry.js +1 -1
  111. package/dist/esm/arcgis-basemap-toggle.entry.js +1 -1
  112. package/dist/esm/arcgis-bookmarks.entry.js +1 -1
  113. package/dist/esm/arcgis-building-explorer.entry.js +1 -1
  114. package/dist/esm/arcgis-compass.entry.js +1 -1
  115. package/dist/esm/arcgis-coordinate-conversion.entry.js +1 -1
  116. package/dist/esm/arcgis-daylight.entry.js +1 -1
  117. package/dist/esm/arcgis-directional-pad.entry.js +1 -1
  118. package/dist/esm/arcgis-directions.entry.js +1 -1
  119. package/dist/esm/arcgis-directline-measurement-3d.entry.js +1 -1
  120. package/dist/esm/arcgis-distance-measurement-2d.entry.js +1 -1
  121. package/dist/esm/arcgis-editor.entry.js +1 -1
  122. package/dist/esm/arcgis-elevation-profile.entry.js +1 -1
  123. package/dist/esm/arcgis-feature-form.entry.js +1 -1
  124. package/dist/esm/arcgis-feature-table.entry.js +1 -1
  125. package/dist/esm/arcgis-feature-templates.entry.js +1 -1
  126. package/dist/esm/arcgis-feature.entry.js +1 -1
  127. package/dist/esm/arcgis-features.entry.js +1 -1
  128. package/dist/esm/arcgis-floor-filter.entry.js +1 -1
  129. package/dist/esm/arcgis-fullscreen.entry.js +1 -1
  130. package/dist/esm/arcgis-histogram-range-slider.entry.js +1 -1
  131. package/dist/esm/arcgis-histogram.entry.js +1 -1
  132. package/dist/esm/arcgis-home.entry.js +1 -1
  133. package/dist/esm/arcgis-layer-list.entry.js +1 -1
  134. package/dist/esm/arcgis-legend.entry.js +1 -1
  135. package/dist/esm/arcgis-line-of-sight.entry.js +1 -1
  136. package/dist/esm/arcgis-locate.entry.js +1 -1
  137. package/dist/esm/arcgis-map-components.js +1 -1
  138. package/dist/esm/arcgis-measurement.entry.js +1 -1
  139. package/dist/esm/arcgis-navigation-toggle.entry.js +1 -1
  140. package/dist/esm/arcgis-print.entry.js +1 -1
  141. package/dist/esm/arcgis-scale-bar.entry.js +1 -1
  142. package/dist/esm/arcgis-scale-range-slider.entry.js +1 -1
  143. package/dist/esm/arcgis-scene.entry.js +1 -1
  144. package/dist/esm/arcgis-shadow-cast.entry.js +1 -1
  145. package/dist/esm/arcgis-sketch.entry.js +1 -1
  146. package/dist/esm/arcgis-slice.entry.js +1 -1
  147. package/dist/esm/arcgis-slider.entry.js +1 -1
  148. package/dist/esm/arcgis-swipe.entry.js +1 -1
  149. package/dist/esm/arcgis-table-list.entry.js +1 -1
  150. package/dist/esm/arcgis-time-slider.entry.js +1 -1
  151. package/dist/esm/arcgis-track.entry.js +1 -1
  152. package/dist/esm/arcgis-utility-network-associations.entry.js +1 -1
  153. package/dist/esm/arcgis-utility-network-trace.entry.js +1 -1
  154. package/dist/esm/arcgis-utility-network-validate-topology.entry.js +1 -1
  155. package/dist/esm/arcgis-value-picker.entry.js +1 -1
  156. package/dist/esm/arcgis-weather.entry.js +1 -1
  157. package/dist/esm/arcgis-zoom.entry.js +1 -1
  158. package/dist/esm/{index-bba27dab.js → index-800067b5.js} +1 -1
  159. package/dist/esm/index-eb3ead33.js +2 -6
  160. package/dist/esm/loader.js +1 -1
  161. package/package.json +10 -6
  162. package/dist/arcgis-map-components/p-23a160b5.entry.js +0 -1
  163. package/dist/arcgis-map-components/p-36de52a5.entry.js +0 -1
  164. package/dist/arcgis-map-components/p-a0fe6134.entry.js +0 -1
  165. package/dist/arcgis-map-components/p-cb3622cf.entry.js +0 -1
  166. package/dist/arcgis-map-components/p-cec94607.entry.js +0 -1
  167. package/dist/arcgis-map-components/p-cfff222e.entry.js +0 -1
  168. package/dist/arcgis-map-components/p-d0946ed2.entry.js +0 -1
  169. package/dist/arcgis-map-components/p-f08bed17.entry.js +0 -1
  170. package/dist/arcgis-map-components/p-ff66e8db.entry.js +0 -1
  171. package/dist/cjs/arcgis-basemap-gallery_3.cjs.entry.js +0 -281
  172. package/dist/esm/arcgis-basemap-gallery_3.entry.js +0 -275
@@ -1 +1 @@
1
- import{r as t,c as i,h as s,g as h}from"./p-1e5e5ed9.js";import{$ as e,i as o}from"./p-0d840d8a.js";import{r,c as a}from"./p-2d3406f7.js";import{o as c}from"./p-b813c9e6.js";const d=class{constructor(s){t(this,s),this.triggerAction=i(this,"triggerAction",7),this.widgetReady=i(this,"widgetReady",7),this.referenceElement=void 0,this.actions=void 0,this.effectiveStops=void 0,this.fullTimeExtent=void 0,this.layout=void 0,this.loop=void 0,this.mode=void 0,this.playRate=void 0,this.stops=void 0,this.tickConfigs=void 0,this.timeExtent=void 0,this.timeVisible=void 0,this.view=void 0,this.position="bottom-left",this.expandable=!1,this.widget=void 0}actionsWatcher(t){void 0!==t&&this.widget&&(this.widget.actions=t)}fullTimeExtentWatcher(t){void 0!==t&&this.widget&&(this.widget.fullTimeExtent=t)}layoutWatcher(t){void 0!==t&&this.widget&&(this.widget.layout=t)}loopWatcher(t){void 0!==t&&this.widget&&(this.widget.loop=t)}modeWatcher(t){void 0!==t&&this.widget&&(this.widget.mode=t)}playRateWatcher(t){void 0!==t&&this.widget&&(this.widget.playRate=t)}stopsWatcher(t){void 0!==t&&this.widget&&(this.widget.stops=t)}tickConfigsWatcher(t){void 0!==t&&this.widget&&(this.widget.tickConfigs=t)}timeExtentWatcher(t){void 0!==t&&this.widget&&(this.widget.timeExtent=t)}timeVisibleWatcher(t){void 0!==t&&this.widget&&(this.widget.timeVisible=t)}positionWatcher(t){void 0!==t&&this.widget&&"string"!=typeof this.view&&this.view.ui.move(this.childElem,t)}referenceElementWatcher(t){r(this,t)}viewWatcher(t){void 0!==t&&this.widget&&(this.widget.view=t)}async next(){return this.widget?.next()}async play(){return this.widget?.play()}async previous(){return this.widget?.previous()}async stop(){return this.widget?.stop()}async componentDidLoad(){const t=this._createParams(),i=await e(t);this.widget=i,await this._addWatchers(),this._proxyEvents(),this.widgetReady.emit({widget:this.widget}),a(this)}disconnectedCallback(){c(this)}render(){return this.expandable?s("arcgis-expand",{position:this.position,ref:t=>this.expandElem=t},s("div",{ref:t=>this.childElem=t})):s("div",{ref:t=>this.childElem=t})}async _addWatchers(){const{watch:t}=await o();t((()=>this.widget.effectiveStops),(t=>this.effectiveStops=t),{initial:!0})}_createParams(){const t={container:this.childElem};return void 0!==this.actions&&(t.actions=this.actions),void 0!==this.fullTimeExtent&&(t.fullTimeExtent=this.fullTimeExtent),void 0!==this.layout&&(t.layout=this.layout),void 0!==this.loop&&(t.loop=this.loop),void 0!==this.mode&&(t.mode=this.mode),void 0!==this.playRate&&(t.playRate=this.playRate),void 0!==this.stops&&(t.stops=this.stops),void 0!==this.tickConfigs&&(t.tickConfigs=this.tickConfigs),void 0!==this.timeExtent&&(t.timeExtent=this.timeExtent),void 0!==this.timeVisible&&(t.timeVisible=this.timeVisible),this.view&&(t.view=this.view),t}async _proxyEvents(){this.widget?.on("trigger-action",(t=>this.triggerAction.emit(t)))}get el(){return h(this)}static get watchers(){return{actions:["actionsWatcher"],fullTimeExtent:["fullTimeExtentWatcher"],layout:["layoutWatcher"],loop:["loopWatcher"],mode:["modeWatcher"],playRate:["playRateWatcher"],stops:["stopsWatcher"],tickConfigs:["tickConfigsWatcher"],timeExtent:["timeExtentWatcher"],timeVisible:["timeVisibleWatcher"],position:["positionWatcher"],referenceElement:["referenceElementWatcher"],view:["viewWatcher"]}}};d.style="arcgis-time-slider{}";export{d as arcgis_time_slider}
1
+ import{r as t,c as i,h as s,g as h}from"./p-1e5e5ed9.js";import{$ as e,i as o}from"./p-22fc56c8.js";import{r,c as a}from"./p-2d3406f7.js";import{o as c}from"./p-b813c9e6.js";const d=class{constructor(s){t(this,s),this.triggerAction=i(this,"triggerAction",7),this.widgetReady=i(this,"widgetReady",7),this.referenceElement=void 0,this.actions=void 0,this.effectiveStops=void 0,this.fullTimeExtent=void 0,this.layout=void 0,this.loop=void 0,this.mode=void 0,this.playRate=void 0,this.stops=void 0,this.tickConfigs=void 0,this.timeExtent=void 0,this.timeVisible=void 0,this.view=void 0,this.position="bottom-left",this.expandable=!1,this.widget=void 0}actionsWatcher(t){void 0!==t&&this.widget&&(this.widget.actions=t)}fullTimeExtentWatcher(t){void 0!==t&&this.widget&&(this.widget.fullTimeExtent=t)}layoutWatcher(t){void 0!==t&&this.widget&&(this.widget.layout=t)}loopWatcher(t){void 0!==t&&this.widget&&(this.widget.loop=t)}modeWatcher(t){void 0!==t&&this.widget&&(this.widget.mode=t)}playRateWatcher(t){void 0!==t&&this.widget&&(this.widget.playRate=t)}stopsWatcher(t){void 0!==t&&this.widget&&(this.widget.stops=t)}tickConfigsWatcher(t){void 0!==t&&this.widget&&(this.widget.tickConfigs=t)}timeExtentWatcher(t){void 0!==t&&this.widget&&(this.widget.timeExtent=t)}timeVisibleWatcher(t){void 0!==t&&this.widget&&(this.widget.timeVisible=t)}positionWatcher(t){void 0!==t&&this.widget&&"string"!=typeof this.view&&this.view.ui.move(this.childElem,t)}referenceElementWatcher(t){r(this,t)}viewWatcher(t){void 0!==t&&this.widget&&(this.widget.view=t)}async next(){return this.widget?.next()}async play(){return this.widget?.play()}async previous(){return this.widget?.previous()}async stop(){return this.widget?.stop()}async componentDidLoad(){const t=this._createParams(),i=await e(t);this.widget=i,await this._addWatchers(),this._proxyEvents(),this.widgetReady.emit({widget:this.widget}),a(this)}disconnectedCallback(){c(this)}render(){return this.expandable?s("arcgis-expand",{position:this.position,ref:t=>this.expandElem=t},s("div",{ref:t=>this.childElem=t})):s("div",{ref:t=>this.childElem=t})}async _addWatchers(){const{watch:t}=await o();t((()=>this.widget.effectiveStops),(t=>this.effectiveStops=t),{initial:!0})}_createParams(){const t={container:this.childElem};return void 0!==this.actions&&(t.actions=this.actions),void 0!==this.fullTimeExtent&&(t.fullTimeExtent=this.fullTimeExtent),void 0!==this.layout&&(t.layout=this.layout),void 0!==this.loop&&(t.loop=this.loop),void 0!==this.mode&&(t.mode=this.mode),void 0!==this.playRate&&(t.playRate=this.playRate),void 0!==this.stops&&(t.stops=this.stops),void 0!==this.tickConfigs&&(t.tickConfigs=this.tickConfigs),void 0!==this.timeExtent&&(t.timeExtent=this.timeExtent),void 0!==this.timeVisible&&(t.timeVisible=this.timeVisible),this.view&&(t.view=this.view),t}async _proxyEvents(){this.widget?.on("trigger-action",(t=>this.triggerAction.emit(t)))}get el(){return h(this)}static get watchers(){return{actions:["actionsWatcher"],fullTimeExtent:["fullTimeExtentWatcher"],layout:["layoutWatcher"],loop:["loopWatcher"],mode:["modeWatcher"],playRate:["playRateWatcher"],stops:["stopsWatcher"],tickConfigs:["tickConfigsWatcher"],timeExtent:["timeExtentWatcher"],timeVisible:["timeVisibleWatcher"],position:["positionWatcher"],referenceElement:["referenceElementWatcher"],view:["viewWatcher"]}}};d.style="arcgis-time-slider{}";export{d as arcgis_time_slider}
@@ -1 +1 @@
1
- import{r as t,c as i,h as s,g as e}from"./p-1e5e5ed9.js";import{e as h,i as r}from"./p-0d840d8a.js";import{r as a,c as o}from"./p-2d3406f7.js";import{o as c}from"./p-b813c9e6.js";const n=class{constructor(s){t(this,s),this.widgetReady=i(this,"widgetReady",7),this.referenceElement=void 0,this.position="bottom-left",this.expandable=!1,this.unit=void 0,this.unitOptions=void 0,this.view=void 0,this.widget=void 0}positionWatcher(t){void 0!==t&&this.widget&&"string"!=typeof this.view&&this.view.ui.move(this.childElem,t)}referenceElementWatcher(t){a(this,t)}viewWatcher(t){void 0!==t&&this.widget&&(this.widget.view=t)}async componentDidLoad(){const t=this._createParams(),i=await h(t);this.widget=i,await this._addWatchers(),this.widgetReady.emit({widget:this.widget}),o(this)}disconnectedCallback(){c(this)}render(){return this.expandable?s("arcgis-expand",{position:this.position,ref:t=>this.expandElem=t},s("div",{ref:t=>this.childElem=t})):s("div",{ref:t=>this.childElem=t})}async _addWatchers(){const{watch:t}=await r();t((()=>this.widget.unit),(t=>this.unit=t),{initial:!0})}_createParams(){const t={container:this.childElem};return this.view&&(t.view=this.view),this.unit&&(t.unit=this.unit),this.unitOptions&&(t.unitOptions=this.unitOptions),t}get el(){return e(this)}static get watchers(){return{position:["positionWatcher"],referenceElement:["referenceElementWatcher"],view:["viewWatcher"]}}};n.style="";export{n as arcgis_area_measurement_2d}
1
+ import{r as t,c as i,h as s,g as e}from"./p-1e5e5ed9.js";import{f as h,i as r}from"./p-22fc56c8.js";import{r as a,c as o}from"./p-2d3406f7.js";import{o as c}from"./p-b813c9e6.js";const n=class{constructor(s){t(this,s),this.widgetReady=i(this,"widgetReady",7),this.referenceElement=void 0,this.position="bottom-left",this.expandable=!1,this.unit=void 0,this.unitOptions=void 0,this.view=void 0,this.widget=void 0}positionWatcher(t){void 0!==t&&this.widget&&"string"!=typeof this.view&&this.view.ui.move(this.childElem,t)}referenceElementWatcher(t){a(this,t)}viewWatcher(t){void 0!==t&&this.widget&&(this.widget.view=t)}async componentDidLoad(){const t=this._createParams(),i=await h(t);this.widget=i,await this._addWatchers(),this.widgetReady.emit({widget:this.widget}),o(this)}disconnectedCallback(){c(this)}render(){return this.expandable?s("arcgis-expand",{position:this.position,ref:t=>this.expandElem=t},s("div",{ref:t=>this.childElem=t})):s("div",{ref:t=>this.childElem=t})}async _addWatchers(){const{watch:t}=await r();t((()=>this.widget.unit),(t=>this.unit=t),{initial:!0})}_createParams(){const t={container:this.childElem};return this.view&&(t.view=this.view),this.unit&&(t.unit=this.unit),this.unitOptions&&(t.unitOptions=this.unitOptions),t}get el(){return e(this)}static get watchers(){return{position:["positionWatcher"],referenceElement:["referenceElementWatcher"],view:["viewWatcher"]}}};n.style="";export{n as arcgis_area_measurement_2d}
@@ -1 +1 @@
1
- import{r as t,c as i,h as s,g as e}from"./p-1e5e5ed9.js";import{L as h}from"./p-0d840d8a.js";import{r as o,c as a}from"./p-2d3406f7.js";import{o as r}from"./p-b813c9e6.js";const c=class{constructor(s){t(this,s),this.widgetReady=i(this,"widgetReady",7),this.locateSuccess=i(this,"locateSuccess",7),this.locateError=i(this,"locateError",7),this.referenceElement=void 0,this.geolocationOptions=void 0,this.goToLocationEnabled=void 0,this.graphic=void 0,this.popupEnabled=void 0,this.scale=void 0,this.position="bottom-left",this.view=void 0,this.widget=void 0,this.useHeadingEnabled=!0}positionWatcher(t){void 0!==t&&this.widget&&"string"!=typeof this.view&&this.view.ui.move(this.childElem,t)}geolocationOptionsWatcher(t){void 0!==t&&this.widget&&(this.widget.geolocationOptions=t)}goToLocationEnabledWatcher(t){void 0!==t&&this.widget&&(this.widget.goToLocationEnabled=t)}graphicWatcher(t){void 0!==t&&this.widget&&(this.widget.graphic=t)}popupEnabledWatcher(t){void 0!==t&&this.widget&&(this.widget.popupEnabled=t)}scaleWatcher(t){void 0!==t&&this.widget&&(this.widget.scale=t)}referenceElementWatcher(t){o(this,t)}viewWatcher(t){void 0!==t&&this.widget&&(this.widget.view=t)}useHeadingWatcher(t){this.widget&&(this.widget.useHeadingEnabled=t)}async cancelLocate(){return this.widget?.cancelLocate()}async locate(){return this.widget?.locate()}async componentDidLoad(){const t=this._createParams(),i=await h(t);this.widget=i,this._proxyEvents(),this.widgetReady.emit({widget:this.widget}),a(this)}disconnectedCallback(){r(this)}render(){return s("div",{ref:t=>this.childElem=t})}_createParams(){const t={container:this.childElem,useHeadingEnabled:this.useHeadingEnabled};return void 0!==this.geolocationOptions&&(t.geolocationOptions=this.geolocationOptions),void 0!==this.goToLocationEnabled&&(t.goToLocationEnabled=this.goToLocationEnabled),void 0!==this.graphic&&(t.graphic=this.graphic),void 0!==this.popupEnabled&&(t.popupEnabled=this.popupEnabled),void 0!==this.scale&&(t.scale=this.scale),this.view&&(t.view=this.view),t}async _proxyEvents(){this.widget?.on("locate",(t=>this.locateSuccess.emit(t))),this.widget?.on("locate-error",(t=>this.locateError.emit(t)))}get el(){return e(this)}static get watchers(){return{position:["positionWatcher"],geolocationOptions:["geolocationOptionsWatcher"],goToLocationEnabled:["goToLocationEnabledWatcher"],graphic:["graphicWatcher"],popupEnabled:["popupEnabledWatcher"],scale:["scaleWatcher"],referenceElement:["referenceElementWatcher"],view:["viewWatcher"],useHeadingEnabled:["useHeadingWatcher"]}}};c.style="arcgis-locate{}";export{c as arcgis_locate}
1
+ import{r as t,c as i,h as s,g as e}from"./p-1e5e5ed9.js";import{M as h}from"./p-22fc56c8.js";import{r as o,c as a}from"./p-2d3406f7.js";import{o as c}from"./p-b813c9e6.js";const r=class{constructor(s){t(this,s),this.widgetReady=i(this,"widgetReady",7),this.locateSuccess=i(this,"locateSuccess",7),this.locateError=i(this,"locateError",7),this.referenceElement=void 0,this.geolocationOptions=void 0,this.goToLocationEnabled=void 0,this.graphic=void 0,this.popupEnabled=void 0,this.scale=void 0,this.position="bottom-left",this.view=void 0,this.widget=void 0,this.useHeadingEnabled=!0}positionWatcher(t){void 0!==t&&this.widget&&"string"!=typeof this.view&&this.view.ui.move(this.childElem,t)}geolocationOptionsWatcher(t){void 0!==t&&this.widget&&(this.widget.geolocationOptions=t)}goToLocationEnabledWatcher(t){void 0!==t&&this.widget&&(this.widget.goToLocationEnabled=t)}graphicWatcher(t){void 0!==t&&this.widget&&(this.widget.graphic=t)}popupEnabledWatcher(t){void 0!==t&&this.widget&&(this.widget.popupEnabled=t)}scaleWatcher(t){void 0!==t&&this.widget&&(this.widget.scale=t)}referenceElementWatcher(t){o(this,t)}viewWatcher(t){void 0!==t&&this.widget&&(this.widget.view=t)}useHeadingWatcher(t){this.widget&&(this.widget.useHeadingEnabled=t)}async cancelLocate(){return this.widget?.cancelLocate()}async locate(){return this.widget?.locate()}async componentDidLoad(){const t=this._createParams(),i=await h(t);this.widget=i,this._proxyEvents(),this.widgetReady.emit({widget:this.widget}),a(this)}disconnectedCallback(){c(this)}render(){return s("div",{ref:t=>this.childElem=t})}_createParams(){const t={container:this.childElem,useHeadingEnabled:this.useHeadingEnabled};return void 0!==this.geolocationOptions&&(t.geolocationOptions=this.geolocationOptions),void 0!==this.goToLocationEnabled&&(t.goToLocationEnabled=this.goToLocationEnabled),void 0!==this.graphic&&(t.graphic=this.graphic),void 0!==this.popupEnabled&&(t.popupEnabled=this.popupEnabled),void 0!==this.scale&&(t.scale=this.scale),this.view&&(t.view=this.view),t}async _proxyEvents(){this.widget?.on("locate",(t=>this.locateSuccess.emit(t))),this.widget?.on("locate-error",(t=>this.locateError.emit(t)))}get el(){return e(this)}static get watchers(){return{position:["positionWatcher"],geolocationOptions:["geolocationOptionsWatcher"],goToLocationEnabled:["goToLocationEnabledWatcher"],graphic:["graphicWatcher"],popupEnabled:["popupEnabledWatcher"],scale:["scaleWatcher"],referenceElement:["referenceElementWatcher"],view:["viewWatcher"],useHeadingEnabled:["useHeadingWatcher"]}}};r.style="arcgis-locate{}";export{r as arcgis_locate}
@@ -1 +1 @@
1
- import{r as t,c as i,h as s,g as e}from"./p-1e5e5ed9.js";import{a6 as r}from"./p-0d840d8a.js";import{r as o,c as a}from"./p-2d3406f7.js";import{o as h}from"./p-b813c9e6.js";const c=class{constructor(s){t(this,s),this.widgetReady=i(this,"widgetReady",7),this.referenceElement=void 0,this.layout=void 0,this.view=void 0,this.position="bottom-left",this.widget=void 0}layoutWatcher(t){void 0!==t&&this.widget&&(this.widget.layout=t)}positionWatcher(t){void 0!==t&&this.widget&&"string"!=typeof this.view&&this.view.ui.move(this.childElem,t)}referenceElementWatcher(t){o(this,t)}viewWatcher(t){void 0!==t&&this.widget&&(this.widget.view=t)}async zoomIn(){return this.widget?.zoomIn()}async zoomOut(){return this.widget?.zoomOut()}async componentDidLoad(){const t=this._createParams(),i=await r(t);this.widget=i,this.widgetReady.emit({widget:this.widget}),a(this)}disconnectedCallback(){h(this)}render(){return s("div",{ref:t=>this.childElem=t})}_createParams(){const t={container:this.childElem};return this.view&&(t.view=this.view),t}get el(){return e(this)}static get watchers(){return{layout:["layoutWatcher"],position:["positionWatcher"],referenceElement:["referenceElementWatcher"],view:["viewWatcher"]}}};c.style="arcgis-zoom{}";export{c as arcgis_zoom}
1
+ import{r as t,c as i,h as s,g as e}from"./p-1e5e5ed9.js";import{a6 as r}from"./p-22fc56c8.js";import{r as o,c as h}from"./p-2d3406f7.js";import{o as a}from"./p-b813c9e6.js";const c=class{constructor(s){t(this,s),this.widgetReady=i(this,"widgetReady",7),this.referenceElement=void 0,this.layout=void 0,this.view=void 0,this.position="bottom-left",this.widget=void 0}layoutWatcher(t){void 0!==t&&this.widget&&(this.widget.layout=t)}positionWatcher(t){void 0!==t&&this.widget&&"string"!=typeof this.view&&this.view.ui.move(this.childElem,t)}referenceElementWatcher(t){o(this,t)}viewWatcher(t){void 0!==t&&this.widget&&(this.widget.view=t)}async zoomIn(){return this.widget?.zoomIn()}async zoomOut(){return this.widget?.zoomOut()}async componentDidLoad(){const t=this._createParams(),i=await r(t);this.widget=i,this.widgetReady.emit({widget:this.widget}),h(this)}disconnectedCallback(){a(this)}render(){return s("div",{ref:t=>this.childElem=t})}_createParams(){const t={container:this.childElem};return this.view&&(t.view=this.view),t}get el(){return e(this)}static get watchers(){return{layout:["layoutWatcher"],position:["positionWatcher"],referenceElement:["referenceElementWatcher"],view:["viewWatcher"]}}};c.style="arcgis-zoom{}";export{c as arcgis_zoom}
@@ -0,0 +1 @@
1
+ import{r as t,c as i,h as s,g as e}from"./p-1e5e5ed9.js";import{r}from"./p-22fc56c8.js";import{u as a,c as h}from"./p-2d3406f7.js";import{o}from"./p-b813c9e6.js";const c=class{constructor(s){t(this,s),this.widgetReady=i(this,"widgetReady",7),this.referenceElement=void 0,this.visualScale=void 0,this.view=void 0,this.position="bottom-left",this.expandable=!1,this.widget=void 0}positionWatcher(t){void 0!==t&&this.widget&&"string"!=typeof this.view&&this.view.ui.move(this.childElem,t)}visualScaleWatcher(t){void 0!==t&&this.widget&&(this.widget.visualScale=t)}referenceElementWatcher(t){"string"==typeof t?a(t).then((t=>{this.widget.view=t})):void 0!==t&&this.widget&&(this.widget.view=t.view)}viewWatcher(t){void 0!==t&&this.widget&&(this.widget.view=t)}async componentDidLoad(){const t=this._createParams(),i=await r(t);this.widget=i,this.widgetReady.emit({widget:this.widget}),h(this)}disconnectedCallback(){o(this)}render(){return this.expandable?s("arcgis-expand",{position:this.position,ref:t=>this.expandElem=t},s("div",{ref:t=>this.childElem=t})):s("div",{ref:t=>this.childElem=t})}_createParams(){const t={container:this.childElem};return void 0!==this.visualScale&&(t.visualScale=this.visualScale),t}get el(){return e(this)}static get watchers(){return{position:["positionWatcher"],visualScale:["visualScaleWatcher"],referenceElement:["referenceElementWatcher"],view:["viewWatcher"]}}};c.style="arcgis-directional-pad{}";export{c as arcgis_directional_pad}
@@ -1 +1 @@
1
- import{r as t,c as i,h as e,g as s}from"./p-1e5e5ed9.js";import{O as h,i as a}from"./p-0d840d8a.js";import{r,c as o}from"./p-2d3406f7.js";import{o as c}from"./p-b813c9e6.js";const l=class{constructor(e){t(this,e),this.printComplete=i(this,"printComplete",7),this.printSubmit=i(this,"printSubmit",7),this.widgetReady=i(this,"widgetReady",7),this.referenceElement=void 0,this.allowedFormats=void 0,this.allowedLayouts=void 0,this.exportedLinks=void 0,this.extraParameters=void 0,this.includeDefaultTemplates=void 0,this.portal=void 0,this.printServiceUrl=void 0,this.templateCustomTextElements=void 0,this.templateOptions=void 0,this.position="bottom-left",this.expandable=!1,this.view=void 0,this.widget=void 0}positionWatcher(t){void 0!==t&&this.widget&&"string"!=typeof this.view&&this.view.ui.move(this.childElem,t)}allowedFormatsWatcher(t){t&&this.widget&&(this.widget.allowedFormats=t.split(","))}allowedLayoutsWatcher(t){t&&this.widget&&(this.widget.allowedLayouts=t.split(","))}extraParametersWatcher(t){t&&this.widget&&(this.widget.extraParameters=t)}includeDefaultTemplatesWatcher(t){t&&this.widget&&(this.widget.includeDefaultTemplates=t)}portalWatcher(t){t&&this.widget&&(this.widget.portal=t)}printServiceUrlWatcher(t){t&&this.widget&&(this.widget.printServiceUrl=t)}templateCustomTextElementsWatcher(t){t&&this.widget&&(this.widget.templateCustomTextElements=t)}templateOptionsWatcher(t){t&&this.widget&&(this.widget.templateOptions=t)}referenceElementWatcher(t){r(this,t)}viewWatcher(t){void 0!==t&&this.widget&&(this.widget.view=t)}async componentDidLoad(){const t=this._createParams(),i=await h(t);this.widget=i,await this._addWatchers(),this._proxyEvents(),this.widgetReady.emit({widget:this.widget}),o(this)}disconnectedCallback(){c(this)}render(){return this.expandable?e("arcgis-expand",{position:this.position,ref:t=>this.expandElem=t},e("div",{ref:t=>this.childElem=t})):e("div",{ref:t=>this.childElem=t})}async _addWatchers(){const{watch:t}=await a();t((()=>this.widget.exportedLinks),(t=>this.exportedLinks=t),{initial:!0})}_createParams(){const t={container:this.childElem};return this.allowedFormats&&(t.allowedFormats=this.allowedFormats),this.allowedLayouts&&(t.allowedLayouts=this.allowedLayouts),this.view&&(t.view=this.view),t}_proxyEvents(){this.widget.on("complete",(t=>this.printComplete.emit(t))),this.widget.on("submit",(t=>this.printSubmit.emit(t)))}get el(){return s(this)}static get watchers(){return{position:["positionWatcher"],allowedFormats:["allowedFormatsWatcher"],allowedLayouts:["allowedLayoutsWatcher"],extraParameters:["extraParametersWatcher"],includeDefaultTemplates:["includeDefaultTemplatesWatcher"],portal:["portalWatcher"],printServiceUrl:["printServiceUrlWatcher"],templateCustomTextElements:["templateCustomTextElementsWatcher"],templateOptions:["templateOptionsWatcher"],referenceElement:["referenceElementWatcher"],view:["viewWatcher"]}}};l.style="";export{l as arcgis_print}
1
+ import{r as t,c as i,h as e,g as s}from"./p-1e5e5ed9.js";import{P as h,i as a}from"./p-22fc56c8.js";import{r,c as o}from"./p-2d3406f7.js";import{o as c}from"./p-b813c9e6.js";const l=class{constructor(e){t(this,e),this.printComplete=i(this,"printComplete",7),this.printSubmit=i(this,"printSubmit",7),this.widgetReady=i(this,"widgetReady",7),this.referenceElement=void 0,this.allowedFormats=void 0,this.allowedLayouts=void 0,this.exportedLinks=void 0,this.extraParameters=void 0,this.includeDefaultTemplates=void 0,this.portal=void 0,this.printServiceUrl=void 0,this.templateCustomTextElements=void 0,this.templateOptions=void 0,this.position="bottom-left",this.expandable=!1,this.view=void 0,this.widget=void 0}positionWatcher(t){void 0!==t&&this.widget&&"string"!=typeof this.view&&this.view.ui.move(this.childElem,t)}allowedFormatsWatcher(t){t&&this.widget&&(this.widget.allowedFormats=t.split(","))}allowedLayoutsWatcher(t){t&&this.widget&&(this.widget.allowedLayouts=t.split(","))}extraParametersWatcher(t){t&&this.widget&&(this.widget.extraParameters=t)}includeDefaultTemplatesWatcher(t){t&&this.widget&&(this.widget.includeDefaultTemplates=t)}portalWatcher(t){t&&this.widget&&(this.widget.portal=t)}printServiceUrlWatcher(t){t&&this.widget&&(this.widget.printServiceUrl=t)}templateCustomTextElementsWatcher(t){t&&this.widget&&(this.widget.templateCustomTextElements=t)}templateOptionsWatcher(t){t&&this.widget&&(this.widget.templateOptions=t)}referenceElementWatcher(t){r(this,t)}viewWatcher(t){void 0!==t&&this.widget&&(this.widget.view=t)}async componentDidLoad(){const t=this._createParams(),i=await h(t);this.widget=i,await this._addWatchers(),this._proxyEvents(),this.widgetReady.emit({widget:this.widget}),o(this)}disconnectedCallback(){c(this)}render(){return this.expandable?e("arcgis-expand",{position:this.position,ref:t=>this.expandElem=t},e("div",{ref:t=>this.childElem=t})):e("div",{ref:t=>this.childElem=t})}async _addWatchers(){const{watch:t}=await a();t((()=>this.widget.exportedLinks),(t=>this.exportedLinks=t),{initial:!0})}_createParams(){const t={container:this.childElem};return this.allowedFormats&&(t.allowedFormats=this.allowedFormats),this.allowedLayouts&&(t.allowedLayouts=this.allowedLayouts),this.view&&(t.view=this.view),t}_proxyEvents(){this.widget.on("complete",(t=>this.printComplete.emit(t))),this.widget.on("submit",(t=>this.printSubmit.emit(t)))}get el(){return s(this)}static get watchers(){return{position:["positionWatcher"],allowedFormats:["allowedFormatsWatcher"],allowedLayouts:["allowedLayoutsWatcher"],extraParameters:["extraParametersWatcher"],includeDefaultTemplates:["includeDefaultTemplatesWatcher"],portal:["portalWatcher"],printServiceUrl:["printServiceUrlWatcher"],templateCustomTextElements:["templateCustomTextElementsWatcher"],templateOptions:["templateOptionsWatcher"],referenceElement:["referenceElementWatcher"],view:["viewWatcher"]}}};l.style="";export{l as arcgis_print}
@@ -1 +1 @@
1
- import{r as t,c as i,h as e,g as s}from"./p-1e5e5ed9.js";import{N as r}from"./p-0d840d8a.js";import{r as o,c as a}from"./p-2d3406f7.js";import{o as h}from"./p-b813c9e6.js";const c=class{constructor(e){t(this,e),this.widgetReady=i(this,"widgetReady",7),this.referenceElement=void 0,this.layout=void 0,this.position="bottom-left",this.view=void 0,this.widget=void 0}layoutWatcher(t){void 0!==t&&this.widget&&(this.widget.layout=t)}positionWatcher(t){void 0!==t&&this.widget&&"string"!=typeof this.view&&this.view.ui.move(this.childElem,t)}referenceElementWatcher(t){o(this,t)}viewWatcher(t){void 0!==t&&this.widget&&(this.widget.view=t)}async toggle(){return this.widget?.toggle()}async componentDidLoad(){const t=this._createParams(),i=await r(t);this.widget=i,this.widgetReady.emit({widget:this.widget}),a(this)}disconnectedCallback(){h(this)}render(){return e("div",{ref:t=>this.childElem=t})}_createParams(){const t={container:this.childElem};return this.view&&(t.view=this.view),t}get el(){return s(this)}static get watchers(){return{layout:["layoutWatcher"],position:["positionWatcher"],referenceElement:["referenceElementWatcher"],view:["viewWatcher"]}}};c.style="arcgis-navigation-toggle{}";export{c as arcgis_navigation_toggle}
1
+ import{r as t,c as i,h as e,g as s}from"./p-1e5e5ed9.js";import{O as r}from"./p-22fc56c8.js";import{r as o,c as a}from"./p-2d3406f7.js";import{o as h}from"./p-b813c9e6.js";const c=class{constructor(e){t(this,e),this.widgetReady=i(this,"widgetReady",7),this.referenceElement=void 0,this.layout=void 0,this.position="bottom-left",this.view=void 0,this.widget=void 0}layoutWatcher(t){void 0!==t&&this.widget&&(this.widget.layout=t)}positionWatcher(t){void 0!==t&&this.widget&&"string"!=typeof this.view&&this.view.ui.move(this.childElem,t)}referenceElementWatcher(t){o(this,t)}viewWatcher(t){void 0!==t&&this.widget&&(this.widget.view=t)}async toggle(){return this.widget?.toggle()}async componentDidLoad(){const t=this._createParams(),i=await r(t);this.widget=i,this.widgetReady.emit({widget:this.widget}),a(this)}disconnectedCallback(){h(this)}render(){return e("div",{ref:t=>this.childElem=t})}_createParams(){const t={container:this.childElem};return this.view&&(t.view=this.view),t}get el(){return s(this)}static get watchers(){return{layout:["layoutWatcher"],position:["positionWatcher"],referenceElement:["referenceElementWatcher"],view:["viewWatcher"]}}};c.style="arcgis-navigation-toggle{}";export{c as arcgis_navigation_toggle}
@@ -1 +1 @@
1
- import{r as i,c as t,h as e,g as s}from"./p-1e5e5ed9.js";import{J as h}from"./p-0d840d8a.js";import{r,c as a}from"./p-2d3406f7.js";import{o}from"./p-b813c9e6.js";const c=class{constructor(e){i(this,e),this.widgetReady=t(this,"widgetReady",7),this.referenceElement=void 0,this.activeLayerInfos=void 0,this.basemapLegendVisible=void 0,this.hideLayersNotInCurrentView=void 0,this.layerInfos=void 0,this.respectLayerVisibility=void 0,this.legendStyle=void 0,this.position="bottom-left",this.expandable=!1,this.view=void 0,this.widget=void 0}positionWatcher(i){void 0!==i&&this.widget&&"string"!=typeof this.view&&this.view.ui.move(this.childElem,i)}activeLayerInfosWatcher(i){void 0!==i&&this.widget&&(this.widget.activeLayerInfos=i)}basemapLegendVisibleWatcher(i){void 0!==i&&this.widget&&(this.widget.basemapLegendVisible=i)}hideLayersNotInCurrentViewWatcher(i){void 0!==i&&this.widget&&(this.widget.hideLayersNotInCurrentView=i)}layerInfosWatcher(i){void 0!==i&&this.widget&&(this.widget.layerInfos=i)}respectLayerVisibilityWatcher(i){void 0!==i&&this.widget&&(this.widget.respectLayerVisibility=i)}styleWatcher(i){void 0!==i&&this.widget&&(this.widget.style=i)}referenceElementWatcher(i){r(this,i)}viewWatcher(i){void 0!==i&&this.widget&&(this.widget.view=i)}async componentDidLoad(){const i=this._createParams(),t=await h(i);this.widget=t,this.widgetReady.emit({widget:this.widget}),a(this)}disconnectedCallback(){o(this)}render(){return this.expandable?e("arcgis-expand",{position:this.position,ref:i=>this.expandElem=i},e("div",{ref:i=>this.childElem=i})):e("div",{ref:i=>this.childElem=i})}_createParams(){const i={container:this.childElem};return this.activeLayerInfos&&(i.activeLayerInfos=this.activeLayerInfos),void 0!==this.basemapLegendVisible&&(i.basemapLegendVisible=this.basemapLegendVisible),void 0!==this.hideLayersNotInCurrentView&&(i.hideLayersNotInCurrentView=this.hideLayersNotInCurrentView),this.layerInfos&&(i.layerInfos=this.layerInfos),void 0!==this.respectLayerVisibility&&(i.respectLayerVisibility=this.respectLayerVisibility),this.legendStyle&&(i.style=this.legendStyle),this.view&&(i.view=this.view),i}get el(){return s(this)}static get watchers(){return{position:["positionWatcher"],activeLayerInfos:["activeLayerInfosWatcher"],basemapLegendVisible:["basemapLegendVisibleWatcher"],hideLayersNotInCurrentView:["hideLayersNotInCurrentViewWatcher"],layerInfos:["layerInfosWatcher"],respectLayerVisibility:["respectLayerVisibilityWatcher"],legendStyle:["styleWatcher"],referenceElement:["referenceElementWatcher"],view:["viewWatcher"]}}};c.style="";export{c as arcgis_legend}
1
+ import{r as i,c as t,h as e,g as s}from"./p-1e5e5ed9.js";import{K as h}from"./p-22fc56c8.js";import{r,c as a}from"./p-2d3406f7.js";import{o}from"./p-b813c9e6.js";const c=class{constructor(e){i(this,e),this.widgetReady=t(this,"widgetReady",7),this.referenceElement=void 0,this.activeLayerInfos=void 0,this.basemapLegendVisible=void 0,this.hideLayersNotInCurrentView=void 0,this.layerInfos=void 0,this.respectLayerVisibility=void 0,this.legendStyle=void 0,this.position="bottom-left",this.expandable=!1,this.view=void 0,this.widget=void 0}positionWatcher(i){void 0!==i&&this.widget&&"string"!=typeof this.view&&this.view.ui.move(this.childElem,i)}activeLayerInfosWatcher(i){void 0!==i&&this.widget&&(this.widget.activeLayerInfos=i)}basemapLegendVisibleWatcher(i){void 0!==i&&this.widget&&(this.widget.basemapLegendVisible=i)}hideLayersNotInCurrentViewWatcher(i){void 0!==i&&this.widget&&(this.widget.hideLayersNotInCurrentView=i)}layerInfosWatcher(i){void 0!==i&&this.widget&&(this.widget.layerInfos=i)}respectLayerVisibilityWatcher(i){void 0!==i&&this.widget&&(this.widget.respectLayerVisibility=i)}styleWatcher(i){void 0!==i&&this.widget&&(this.widget.style=i)}referenceElementWatcher(i){r(this,i)}viewWatcher(i){void 0!==i&&this.widget&&(this.widget.view=i)}async componentDidLoad(){const i=this._createParams(),t=await h(i);this.widget=t,this.widgetReady.emit({widget:this.widget}),a(this)}disconnectedCallback(){o(this)}render(){return this.expandable?e("arcgis-expand",{position:this.position,ref:i=>this.expandElem=i},e("div",{ref:i=>this.childElem=i})):e("div",{ref:i=>this.childElem=i})}_createParams(){const i={container:this.childElem};return this.activeLayerInfos&&(i.activeLayerInfos=this.activeLayerInfos),void 0!==this.basemapLegendVisible&&(i.basemapLegendVisible=this.basemapLegendVisible),void 0!==this.hideLayersNotInCurrentView&&(i.hideLayersNotInCurrentView=this.hideLayersNotInCurrentView),this.layerInfos&&(i.layerInfos=this.layerInfos),void 0!==this.respectLayerVisibility&&(i.respectLayerVisibility=this.respectLayerVisibility),this.legendStyle&&(i.style=this.legendStyle),this.view&&(i.view=this.view),i}get el(){return s(this)}static get watchers(){return{position:["positionWatcher"],activeLayerInfos:["activeLayerInfosWatcher"],basemapLegendVisible:["basemapLegendVisibleWatcher"],hideLayersNotInCurrentView:["hideLayersNotInCurrentViewWatcher"],layerInfos:["layerInfosWatcher"],respectLayerVisibility:["respectLayerVisibilityWatcher"],legendStyle:["styleWatcher"],referenceElement:["referenceElementWatcher"],view:["viewWatcher"]}}};c.style="";export{c as arcgis_legend}
@@ -1 +1 @@
1
- import{r as t,c as i,h as s,g as e}from"./p-1e5e5ed9.js";import{v as r,i as a}from"./p-0d840d8a.js";import{r as o,c as h}from"./p-2d3406f7.js";import{o as n}from"./p-b813c9e6.js";const c=class{constructor(s){t(this,s),this.widgetReady=i(this,"widgetReady",7),this.referenceElement=void 0,this.activeWorkflow=void 0,this.allowedWorkflows=void 0,this.labelOptions=void 0,this.layerInfos=void 0,this.snappingOptions=void 0,this.supportingWidgetDefaults=void 0,this.tooltipOptions=void 0,this.position="bottom-left",this.expandable=!1,this.view=void 0,this.widget=void 0}positionWatcher(t){void 0!==t&&this.widget&&"string"!=typeof this.view&&this.view.ui.move(this.childElem,t)}allowedWorkflowsWatcher(t){t&&this.widget&&(this.widget.allowedWorkflows=t)}labelOptionsWatcher(t){t&&this.widget&&(this.widget.labelOptions=t)}layerInfosWatcher(t){t&&this.widget&&(this.widget.layerInfos=t)}snappingOptionsWatcher(t){t&&this.widget&&(this.widget.snappingOptions=t)}supportingWidgetDefaultsWatcher(t){t&&this.widget&&(this.widget.supportingWidgetDefaults=t)}tooltipOptionsWatcher(t){t&&this.widget&&(this.widget.tooltipOptions=t)}referenceElementWatcher(t){o(this,t)}viewWatcher(t){void 0!==t&&this.widget&&(this.widget.view=t)}async cancelWorkflow(){return this.widget?.cancelWorkflow()}async deleteFeatureFromWorkflow(){return this.widget?.deleteFeatureFromWorkflow()}async startCreateFeaturesWorkflowAtFeatureCreation(t){return this.widget?.startCreateFeaturesWorkflowAtFeatureCreation(t)}async startCreateFeaturesWorkflowAtFeatureTypeSelection(){return this.widget?.startCreateFeaturesWorkflowAtFeatureTypeSelection()}async startUpdateWorkflowAtFeatureEdit(t){return this.widget?.startUpdateWorkflowAtFeatureEdit(t)}async startUpdateWorkflowAtFeatureSelection(){return this.widget?.startUpdateWorkflowAtFeatureSelection()}async startUpdateWorkflowAtMultipleFeatureSelection(t){return this.widget?.startUpdateWorkflowAtMultipleFeatureSelection(t)}async componentDidLoad(){const t=this._createParams(),i=await r(t);this.widget=i,this._addWatchers(),this.widgetReady.emit({widget:this.widget}),h(this)}disconnectedCallback(){n(this)}render(){return this.expandable?s("arcgis-expand",{position:this.position,ref:t=>this.expandElem=t},s("div",{ref:t=>this.childElem=t})):s("div",{ref:t=>this.childElem=t})}async _addWatchers(){const{watch:t}=await a();t((()=>this.widget.activeWorkflow),(t=>this.activeWorkflow=t),{initial:!0})}_createParams(){const t={container:this.childElem};return this.allowedWorkflows&&(t.allowedWorkflows=this.allowedWorkflows),this.labelOptions&&(t.labelOptions=this.labelOptions),this.layerInfos&&(t.layerInfos=this.layerInfos),this.snappingOptions&&(t.snappingOptions=this.snappingOptions),this.supportingWidgetDefaults&&(t.supportingWidgetDefaults=this.supportingWidgetDefaults),this.tooltipOptions&&(t.tooltipOptions=this.tooltipOptions),this.view&&(t.view=this.view),t}get el(){return e(this)}static get watchers(){return{position:["positionWatcher"],allowedWorkflows:["allowedWorkflowsWatcher"],labelOptions:["labelOptionsWatcher"],layerInfos:["layerInfosWatcher"],snappingOptions:["snappingOptionsWatcher"],supportingWidgetDefaults:["supportingWidgetDefaultsWatcher"],tooltipOptions:["tooltipOptionsWatcher"],referenceElement:["referenceElementWatcher"],view:["viewWatcher"]}}};c.style="";export{c as arcgis_editor}
1
+ import{r as t,c as i,h as s,g as e}from"./p-1e5e5ed9.js";import{w as r,i as o}from"./p-22fc56c8.js";import{r as a,c as h}from"./p-2d3406f7.js";import{o as n}from"./p-b813c9e6.js";const c=class{constructor(s){t(this,s),this.widgetReady=i(this,"widgetReady",7),this.referenceElement=void 0,this.activeWorkflow=void 0,this.allowedWorkflows=void 0,this.labelOptions=void 0,this.layerInfos=void 0,this.snappingOptions=void 0,this.supportingWidgetDefaults=void 0,this.tooltipOptions=void 0,this.position="bottom-left",this.expandable=!1,this.view=void 0,this.widget=void 0}positionWatcher(t){void 0!==t&&this.widget&&"string"!=typeof this.view&&this.view.ui.move(this.childElem,t)}allowedWorkflowsWatcher(t){t&&this.widget&&(this.widget.allowedWorkflows=t)}labelOptionsWatcher(t){t&&this.widget&&(this.widget.labelOptions=t)}layerInfosWatcher(t){t&&this.widget&&(this.widget.layerInfos=t)}snappingOptionsWatcher(t){t&&this.widget&&(this.widget.snappingOptions=t)}supportingWidgetDefaultsWatcher(t){t&&this.widget&&(this.widget.supportingWidgetDefaults=t)}tooltipOptionsWatcher(t){t&&this.widget&&(this.widget.tooltipOptions=t)}referenceElementWatcher(t){a(this,t)}viewWatcher(t){void 0!==t&&this.widget&&(this.widget.view=t)}async cancelWorkflow(){return this.widget?.cancelWorkflow()}async deleteFeatureFromWorkflow(){return this.widget?.deleteFeatureFromWorkflow()}async startCreateFeaturesWorkflowAtFeatureCreation(t){return this.widget?.startCreateFeaturesWorkflowAtFeatureCreation(t)}async startCreateFeaturesWorkflowAtFeatureTypeSelection(){return this.widget?.startCreateFeaturesWorkflowAtFeatureTypeSelection()}async startUpdateWorkflowAtFeatureEdit(t){return this.widget?.startUpdateWorkflowAtFeatureEdit(t)}async startUpdateWorkflowAtFeatureSelection(){return this.widget?.startUpdateWorkflowAtFeatureSelection()}async startUpdateWorkflowAtMultipleFeatureSelection(t){return this.widget?.startUpdateWorkflowAtMultipleFeatureSelection(t)}async componentDidLoad(){const t=this._createParams(),i=await r(t);this.widget=i,this._addWatchers(),this.widgetReady.emit({widget:this.widget}),h(this)}disconnectedCallback(){n(this)}render(){return this.expandable?s("arcgis-expand",{position:this.position,ref:t=>this.expandElem=t},s("div",{ref:t=>this.childElem=t})):s("div",{ref:t=>this.childElem=t})}async _addWatchers(){const{watch:t}=await o();t((()=>this.widget.activeWorkflow),(t=>this.activeWorkflow=t),{initial:!0})}_createParams(){const t={container:this.childElem};return this.allowedWorkflows&&(t.allowedWorkflows=this.allowedWorkflows),this.labelOptions&&(t.labelOptions=this.labelOptions),this.layerInfos&&(t.layerInfos=this.layerInfos),this.snappingOptions&&(t.snappingOptions=this.snappingOptions),this.supportingWidgetDefaults&&(t.supportingWidgetDefaults=this.supportingWidgetDefaults),this.tooltipOptions&&(t.tooltipOptions=this.tooltipOptions),this.view&&(t.view=this.view),t}get el(){return e(this)}static get watchers(){return{position:["positionWatcher"],allowedWorkflows:["allowedWorkflowsWatcher"],labelOptions:["labelOptionsWatcher"],layerInfos:["layerInfosWatcher"],snappingOptions:["snappingOptionsWatcher"],supportingWidgetDefaults:["supportingWidgetDefaultsWatcher"],tooltipOptions:["tooltipOptionsWatcher"],referenceElement:["referenceElementWatcher"],view:["viewWatcher"]}}};c.style="";export{c as arcgis_editor}
@@ -1 +1 @@
1
- import{r as i,c as t,h as s,g as h}from"./p-1e5e5ed9.js";import{Y as e,i as a}from"./p-0d840d8a.js";import{c as r}from"./p-2d3406f7.js";import{o as n}from"./p-b813c9e6.js";const c=class{constructor(s){i(this,s),this.sliderMaxChange=t(this,"sliderMaxChange",7),this.sliderMaxClick=t(this,"sliderMaxClick",7),this.sliderMinChange=t(this,"sliderMinChange",7),this.sliderMinClick=t(this,"sliderMinClick",7),this.sliderSegmentClick=t(this,"sliderSegmentClick",7),this.sliderSegmentDrag=t(this,"sliderSegmentDrag",7),this.sliderThumbChange=t(this,"sliderThumbChange",7),this.sliderThumbClick=t(this,"sliderThumbClick",7),this.sliderThumbDrag=t(this,"sliderThumbDrag",7),this.sliderTickClick=t(this,"sliderTickClick",7),this.sliderTrackClick=t(this,"sliderTrackClick",7),this.widgetReady=t(this,"widgetReady",7),this.referenceElement=void 0,this.draggableSegmentsEnabled=void 0,this.effectiveMax=void 0,this.effectiveMin=void 0,this.effectiveSegmentElements=void 0,this.labelElements=void 0,this.labelInputsEnabled=void 0,this.labels=void 0,this.layout="horizontal",this.min=void 0,this.max=void 0,this.maxLabelElement=void 0,this.minLabelElement=void 0,this.precision=void 0,this.rangeLabelInputsEnabled=void 0,this.segmentElements=void 0,this.snapOnClickEnabled=void 0,this.syncedSegmentsEnabled=void 0,this.thumbElements=void 0,this.thumbsConstrained=void 0,this.tickConfigs=void 0,this.tickElements=void 0,this.trackElement=void 0,this.steps=void 0,this.values=void 0,this.position="bottom-left",this.expandable=!1,this.widget=void 0}draggableSegmentsEnabledWatcher(i){this.widget&&(this.widget.draggableSegmentsEnabled=i)}effectiveMaxWatcher(i){this.widget&&(this.widget.effectiveMax=i)}effectiveMinWatcher(i){this.widget&&(this.widget.effectiveMin=i)}layoutWatcher(i){this.widget&&(this.widget.layout=i)}minWatcher(i){this.widget&&(this.widget.min=i)}maxWatcher(i){this.widget&&(this.widget.max=i)}precisionWatcher(i){this.widget&&(this.widget.precision=i)}rangeLabelInputsEnabledWatcher(i){this.widget&&(this.widget.rangeLabelInputsEnabled=i)}snapOnClickEnabledWatcher(i){this.widget&&(this.widget.snapOnClickEnabled=i)}stepsWatcher(i){this.widget&&(this.widget.steps=i)}syncedSegmentsEnabledWatcher(i){this.widget&&(this.widget.syncedSegmentsEnabled=i)}thumbsConstrainedWatcher(i){this.widget&&(this.widget.thumbsConstrained=i)}tickConfigsWatcher(i){this.widget&&(this.widget.tickConfigs=i)}valuesWatcher(i){"string"==typeof i&&(this.values=i.split(",").map((i=>Number(i)))),this.widget&&(this.widget.values=this.values)}async componentDidLoad(){const i=this._createParams(),t=await e(i);this.widget=t,await this._addWatchers(),this.widgetReady.emit({widget:this.widget}),r(this)}disconnectedCallback(){n(this)}render(){return this.expandable?s("arcgis-expand",{position:this.position,ref:i=>this.expandElem=i},s("div",{ref:i=>this.childElem=i})):s("div",{ref:i=>this.childElem=i})}async _addWatchers(){const{watch:i}=await a();i((()=>this.widget.effectiveSegmentElements),(i=>this.effectiveSegmentElements=i),{initial:!0}),i((()=>this.widget.labelElements),(i=>this.labelElements=i),{initial:!0}),i((()=>this.widget.maxLabelElement),(i=>this.maxLabelElement=i),{initial:!0}),i((()=>this.widget.minLabelElement),(i=>this.minLabelElement=i),{initial:!0}),i((()=>this.widget.segmentElements),(i=>this.segmentElements=i),{initial:!0}),i((()=>this.widget.thumbElements),(i=>this.thumbElements=i),{initial:!0}),i((()=>this.widget.tickElements),(i=>this.tickElements=i),{initial:!0}),i((()=>this.widget.trackElement),(i=>this.trackElement=i),{initial:!0})}_createParams(){const i={container:this.childElem,layout:this.layout};return void 0!==this.min&&(i.min=this.min),void 0!==this.max&&(i.max=this.max),this.steps&&("string"==typeof this.steps&&(this.steps=this.steps.split(",").map((i=>Number(i)))),i.steps=this.steps),this.values&&("string"==typeof this.values&&(this.values=this.values.split(",").map((i=>Number(i)))),i.values=this.values),i}get el(){return h(this)}static get watchers(){return{draggableSegmentsEnabled:["draggableSegmentsEnabledWatcher"],effectiveMax:["effectiveMaxWatcher"],effectiveMin:["effectiveMinWatcher"],layout:["layoutWatcher"],min:["minWatcher"],max:["maxWatcher"],precision:["precisionWatcher"],rangeLabelInputsEnabled:["rangeLabelInputsEnabledWatcher"],snapOnClickEnabled:["snapOnClickEnabledWatcher"],steps:["stepsWatcher"],syncedSegmentsEnabled:["syncedSegmentsEnabledWatcher"],thumbsConstrained:["thumbsConstrainedWatcher"],tickConfigs:["tickConfigsWatcher"],values:["valuesWatcher"]}}};c.style="arcgis-slider{min-width:200px;min-height:25px}";export{c as arcgis_slider}
1
+ import{r as i,c as t,h as s,g as h}from"./p-1e5e5ed9.js";import{Y as e,i as a}from"./p-22fc56c8.js";import{c as r}from"./p-2d3406f7.js";import{o as n}from"./p-b813c9e6.js";const c=class{constructor(s){i(this,s),this.sliderMaxChange=t(this,"sliderMaxChange",7),this.sliderMaxClick=t(this,"sliderMaxClick",7),this.sliderMinChange=t(this,"sliderMinChange",7),this.sliderMinClick=t(this,"sliderMinClick",7),this.sliderSegmentClick=t(this,"sliderSegmentClick",7),this.sliderSegmentDrag=t(this,"sliderSegmentDrag",7),this.sliderThumbChange=t(this,"sliderThumbChange",7),this.sliderThumbClick=t(this,"sliderThumbClick",7),this.sliderThumbDrag=t(this,"sliderThumbDrag",7),this.sliderTickClick=t(this,"sliderTickClick",7),this.sliderTrackClick=t(this,"sliderTrackClick",7),this.widgetReady=t(this,"widgetReady",7),this.referenceElement=void 0,this.draggableSegmentsEnabled=void 0,this.effectiveMax=void 0,this.effectiveMin=void 0,this.effectiveSegmentElements=void 0,this.labelElements=void 0,this.labelInputsEnabled=void 0,this.labels=void 0,this.layout="horizontal",this.min=void 0,this.max=void 0,this.maxLabelElement=void 0,this.minLabelElement=void 0,this.precision=void 0,this.rangeLabelInputsEnabled=void 0,this.segmentElements=void 0,this.snapOnClickEnabled=void 0,this.syncedSegmentsEnabled=void 0,this.thumbElements=void 0,this.thumbsConstrained=void 0,this.tickConfigs=void 0,this.tickElements=void 0,this.trackElement=void 0,this.steps=void 0,this.values=void 0,this.position="bottom-left",this.expandable=!1,this.widget=void 0}draggableSegmentsEnabledWatcher(i){this.widget&&(this.widget.draggableSegmentsEnabled=i)}effectiveMaxWatcher(i){this.widget&&(this.widget.effectiveMax=i)}effectiveMinWatcher(i){this.widget&&(this.widget.effectiveMin=i)}layoutWatcher(i){this.widget&&(this.widget.layout=i)}minWatcher(i){this.widget&&(this.widget.min=i)}maxWatcher(i){this.widget&&(this.widget.max=i)}precisionWatcher(i){this.widget&&(this.widget.precision=i)}rangeLabelInputsEnabledWatcher(i){this.widget&&(this.widget.rangeLabelInputsEnabled=i)}snapOnClickEnabledWatcher(i){this.widget&&(this.widget.snapOnClickEnabled=i)}stepsWatcher(i){this.widget&&(this.widget.steps=i)}syncedSegmentsEnabledWatcher(i){this.widget&&(this.widget.syncedSegmentsEnabled=i)}thumbsConstrainedWatcher(i){this.widget&&(this.widget.thumbsConstrained=i)}tickConfigsWatcher(i){this.widget&&(this.widget.tickConfigs=i)}valuesWatcher(i){"string"==typeof i&&(this.values=i.split(",").map((i=>Number(i)))),this.widget&&(this.widget.values=this.values)}async componentDidLoad(){const i=this._createParams(),t=await e(i);this.widget=t,await this._addWatchers(),this.widgetReady.emit({widget:this.widget}),r(this)}disconnectedCallback(){n(this)}render(){return this.expandable?s("arcgis-expand",{position:this.position,ref:i=>this.expandElem=i},s("div",{ref:i=>this.childElem=i})):s("div",{ref:i=>this.childElem=i})}async _addWatchers(){const{watch:i}=await a();i((()=>this.widget.effectiveSegmentElements),(i=>this.effectiveSegmentElements=i),{initial:!0}),i((()=>this.widget.labelElements),(i=>this.labelElements=i),{initial:!0}),i((()=>this.widget.maxLabelElement),(i=>this.maxLabelElement=i),{initial:!0}),i((()=>this.widget.minLabelElement),(i=>this.minLabelElement=i),{initial:!0}),i((()=>this.widget.segmentElements),(i=>this.segmentElements=i),{initial:!0}),i((()=>this.widget.thumbElements),(i=>this.thumbElements=i),{initial:!0}),i((()=>this.widget.tickElements),(i=>this.tickElements=i),{initial:!0}),i((()=>this.widget.trackElement),(i=>this.trackElement=i),{initial:!0})}_createParams(){const i={container:this.childElem,layout:this.layout};return void 0!==this.min&&(i.min=this.min),void 0!==this.max&&(i.max=this.max),this.steps&&("string"==typeof this.steps&&(this.steps=this.steps.split(",").map((i=>Number(i)))),i.steps=this.steps),this.values&&("string"==typeof this.values&&(this.values=this.values.split(",").map((i=>Number(i)))),i.values=this.values),i}get el(){return h(this)}static get watchers(){return{draggableSegmentsEnabled:["draggableSegmentsEnabledWatcher"],effectiveMax:["effectiveMaxWatcher"],effectiveMin:["effectiveMinWatcher"],layout:["layoutWatcher"],min:["minWatcher"],max:["maxWatcher"],precision:["precisionWatcher"],rangeLabelInputsEnabled:["rangeLabelInputsEnabledWatcher"],snapOnClickEnabled:["snapOnClickEnabledWatcher"],steps:["stepsWatcher"],syncedSegmentsEnabled:["syncedSegmentsEnabledWatcher"],thumbsConstrained:["thumbsConstrainedWatcher"],tickConfigs:["tickConfigsWatcher"],values:["valuesWatcher"]}}};c.style="arcgis-slider{min-width:200px;min-height:25px}";export{c as arcgis_slider}
@@ -1 +1 @@
1
- import{r as t,c as i,h as s,g as e}from"./p-1e5e5ed9.js";import{f as r}from"./p-0d840d8a.js";import{r as h,c as o}from"./p-2d3406f7.js";import{o as a}from"./p-b813c9e6.js";const c=class{constructor(s){t(this,s),this.widgetReady=i(this,"widgetReady",7),this.referenceElement=void 0,this.position="bottom-left",this.expandable=!1,this.unit=void 0,this.unitOptions=void 0,this.view=void 0,this.widget=void 0}positionWatcher(t){void 0!==t&&this.widget&&"string"!=typeof this.view&&this.view.ui.move(this.childElem,t)}referenceElementWatcher(t){h(this,t)}viewWatcher(t){void 0!==t&&this.widget&&(this.widget.view=t)}async componentDidLoad(){const t=this._createParams(),i=await r(t);this.widget=i,this.widgetReady.emit({widget:this.widget}),o(this)}disconnectedCallback(){a(this)}render(){return this.expandable?s("arcgis-expand",{position:this.position,ref:t=>this.expandElem=t},s("div",{ref:t=>this.childElem=t})):s("div",{ref:t=>this.childElem=t})}_createParams(){const t={container:this.childElem};return this.view&&(t.view=this.view),this.unit&&(t.unit=this.unit),this.unitOptions&&(t.unitOptions=this.unitOptions),t}get el(){return e(this)}static get watchers(){return{position:["positionWatcher"],referenceElement:["referenceElementWatcher"],view:["viewWatcher"]}}};c.style="";export{c as arcgis_area_measurement_3d}
1
+ import{r as t,c as i,h as s,g as e}from"./p-1e5e5ed9.js";import{g as r}from"./p-22fc56c8.js";import{r as h,c as o}from"./p-2d3406f7.js";import{o as a}from"./p-b813c9e6.js";const c=class{constructor(s){t(this,s),this.widgetReady=i(this,"widgetReady",7),this.referenceElement=void 0,this.position="bottom-left",this.expandable=!1,this.unit=void 0,this.unitOptions=void 0,this.view=void 0,this.widget=void 0}positionWatcher(t){void 0!==t&&this.widget&&"string"!=typeof this.view&&this.view.ui.move(this.childElem,t)}referenceElementWatcher(t){h(this,t)}viewWatcher(t){void 0!==t&&this.widget&&(this.widget.view=t)}async componentDidLoad(){const t=this._createParams(),i=await r(t);this.widget=i,this.widgetReady.emit({widget:this.widget}),o(this)}disconnectedCallback(){a(this)}render(){return this.expandable?s("arcgis-expand",{position:this.position,ref:t=>this.expandElem=t},s("div",{ref:t=>this.childElem=t})):s("div",{ref:t=>this.childElem=t})}_createParams(){const t={container:this.childElem};return this.view&&(t.view=this.view),this.unit&&(t.unit=this.unit),this.unitOptions&&(t.unitOptions=this.unitOptions),t}get el(){return e(this)}static get watchers(){return{position:["positionWatcher"],referenceElement:["referenceElementWatcher"],view:["viewWatcher"]}}};c.style="";export{c as arcgis_area_measurement_3d}
@@ -1 +1 @@
1
- import{r as t,c as i,h,g as s}from"./p-1e5e5ed9.js";import{z as e,A as a,i as r}from"./p-0d840d8a.js";import{r as n,c as o}from"./p-2d3406f7.js";import{o as d}from"./p-b813c9e6.js";const c=class{constructor(h){t(this,h),this.rowSelectionChange=i(this,"rowSelectionChange",7),this.widgetReady=i(this,"widgetReady",7),this.referenceElement=void 0,this.activeFilters=void 0,this.activeSortOrders=void 0,this.attachmentsEnabled=void 0,this.autoRefreshEnabled=void 0,this.columnReorderingEnabled=void 0,this.columns=void 0,this.editingEnabled=void 0,this.filterGeometry=void 0,this.hiddenFields=void 0,this.highlightEnabled=void 0,this.highlightIds=void 0,this.layer=void 0,this.menu=void 0,this.menuConfig=void 0,this.multiSortEnabled=void 0,this.pageSize=void 0,this.state=void 0,this.tableTemplate=void 0,this.itemId=void 0,this.position="bottom-left",this.expandable=!1,this.url=void 0,this.view=void 0,this.widget=void 0}positionWatcher(t){void 0!==t&&this.widget&&"string"!=typeof this.view&&this.view.ui.move(this.childElem,t)}attachmentsEnabledWatcher(t){t&&this.widget&&(this.widget.attachmentsEnabled=t)}autoRefreshEnabledWatcher(t){t&&this.widget&&(this.widget.autoRefreshEnabled=t)}columnReorderingEnabledWatcher(t){t&&this.widget&&(this.widget.columnReorderingEnabled=t)}editingEnabledWatcher(t){t&&this.widget&&(this.widget.editingEnabled=t)}filterGeometryWatcher(t){t&&this.widget&&(this.widget.filterGeometry=t)}hiddenFieldsWatcher(t){t&&this.widget&&(this.widget.hiddenFields=t)}highlightEnabledWatcher(t){t&&this.widget&&(this.widget.highlightEnabled=t)}highlightIdsWatcher(t){t&&this.widget&&(this.widget.highlightIds=t)}menuConfigWatcher(t){t&&this.widget&&(this.widget.menuConfig=t)}multiSortEnabledWatcher(t){t&&this.widget&&(this.widget.multiSortEnabled=t)}pageSizeWatcher(t){t&&this.widget&&(this.widget.pageSize=t)}tableTemplateWatcher(t){t&&this.widget&&(this.widget.tableTemplate=t)}async itemIdWatcher(t,i){if(t&&t!==i){const i=await e({portalItem:{id:t}});this.layer=i}}layerWatcher(t){t&&this.widget&&(this.widget.layer=t)}async urlWatcher(t,i){if(t&&t!==i){const i=await e({url:t});this.layer=i}}referenceElementWatcher(t){n(this,t)}viewWatcher(t){void 0!==t&&this.widget&&(this.widget.view=t)}async clearSelectionFilter(){return this.widget?.clearSelectionFilter()}async deleteSelection(t){return this.widget?.deleteSelection(t)}async filterBySelection(){return this.widget?.filterBySelection()}async findColumn(t){return this.widget?.findColumn(t)}async hideColumn(t){return this.widget?.hideColumn(t)}async refresh(){return this.widget?.refresh()}async scrollToIndex(t){return this.widget?.scrollToIndex(t)}async showAllColumns(){return this.widget?.showAllColumns()}async showColumn(t){return this.widget?.showColumn(t)}async sortColumn(t,i){return this.widget?.sortColumn(t,i)}async componentDidLoad(){const t=this._createParams(),i=await a(t);this.widget=i,await this._addWatchers(),this._proxyEvents(),this.widgetReady.emit({widget:this.widget}),o(this)}disconnectedCallback(){d(this)}render(){return this.expandable?h("arcgis-expand",{position:this.position,ref:t=>this.expandElem=t},h("div",{ref:t=>this.childElem=t})):h("div",{ref:t=>this.childElem=t})}async _addWatchers(){const{watch:t}=await r();t((()=>this.widget.activeFilters),(t=>this.activeFilters=t),{initial:!0}),t((()=>this.widget.activeSortOrders),(t=>this.activeSortOrders=t),{initial:!0}),t((()=>this.widget.columns),(t=>this.columns=t),{initial:!0}),t((()=>this.widget.menu),(t=>this.menu=t),{initial:!0}),t((()=>this.widget.state),(t=>this.state=t),{initial:!0})}_createParams(){const t={container:this.childElem};return this.view&&(t.view=this.view),void 0!==this.attachmentsEnabled&&(t.attachmentsEnabled=this.attachmentsEnabled),void 0!==this.autoRefreshEnabled&&(t.autoRefreshEnabled=this.autoRefreshEnabled),void 0!==this.columnReorderingEnabled&&(t.columnReorderingEnabled=this.columnReorderingEnabled),void 0!==this.editingEnabled&&(t.editingEnabled=this.editingEnabled),void 0!==this.filterGeometry&&(t.filterGeometry=this.filterGeometry),void 0!==this.hiddenFields&&(t.hiddenFields=this.hiddenFields),void 0!==this.highlightEnabled&&(t.highlightEnabled=this.highlightEnabled),void 0!==this.highlightIds&&(t.highlightIds=this.highlightIds),void 0!==this.layer&&(t.layer=this.layer),void 0!==this.menuConfig&&(t.menuConfig=this.menuConfig),void 0!==this.multiSortEnabled&&(t.multiSortEnabled=this.multiSortEnabled),void 0!==this.pageSize&&(t.pageSize=this.pageSize),void 0!==this.tableTemplate&&(t.tableTemplate=this.tableTemplate),t}async _proxyEvents(){this.widget?.highlightIds.on("change",(t=>this.rowSelectionChange.emit(t)))}get el(){return s(this)}static get watchers(){return{position:["positionWatcher"],attachmentsEnabled:["attachmentsEnabledWatcher"],autoRefreshEnabled:["autoRefreshEnabledWatcher"],columnReorderingEnabled:["columnReorderingEnabledWatcher"],editingEnabled:["editingEnabledWatcher"],filterGeometry:["filterGeometryWatcher"],hiddenFields:["hiddenFieldsWatcher"],highlightEnabled:["highlightEnabledWatcher"],highlightIds:["highlightIdsWatcher"],menuConfig:["menuConfigWatcher"],multiSortEnabled:["multiSortEnabledWatcher"],pageSize:["pageSizeWatcher"],tableTemplate:["tableTemplateWatcher"],itemId:["itemIdWatcher"],layer:["layerWatcher"],url:["urlWatcher"],referenceElement:["referenceElementWatcher"],view:["viewWatcher"]}}};c.style="";export{c as arcgis_feature_table}
1
+ import{r as t,c as i,h,g as s}from"./p-1e5e5ed9.js";import{A as e,B as a,i as r}from"./p-22fc56c8.js";import{r as n,c as o}from"./p-2d3406f7.js";import{o as d}from"./p-b813c9e6.js";const c=class{constructor(h){t(this,h),this.rowSelectionChange=i(this,"rowSelectionChange",7),this.widgetReady=i(this,"widgetReady",7),this.referenceElement=void 0,this.activeFilters=void 0,this.activeSortOrders=void 0,this.attachmentsEnabled=void 0,this.autoRefreshEnabled=void 0,this.columnReorderingEnabled=void 0,this.columns=void 0,this.editingEnabled=void 0,this.filterGeometry=void 0,this.hiddenFields=void 0,this.highlightEnabled=void 0,this.highlightIds=void 0,this.layer=void 0,this.menu=void 0,this.menuConfig=void 0,this.multiSortEnabled=void 0,this.pageSize=void 0,this.state=void 0,this.tableTemplate=void 0,this.itemId=void 0,this.position="bottom-left",this.expandable=!1,this.url=void 0,this.view=void 0,this.widget=void 0}positionWatcher(t){void 0!==t&&this.widget&&"string"!=typeof this.view&&this.view.ui.move(this.childElem,t)}attachmentsEnabledWatcher(t){t&&this.widget&&(this.widget.attachmentsEnabled=t)}autoRefreshEnabledWatcher(t){t&&this.widget&&(this.widget.autoRefreshEnabled=t)}columnReorderingEnabledWatcher(t){t&&this.widget&&(this.widget.columnReorderingEnabled=t)}editingEnabledWatcher(t){t&&this.widget&&(this.widget.editingEnabled=t)}filterGeometryWatcher(t){t&&this.widget&&(this.widget.filterGeometry=t)}hiddenFieldsWatcher(t){t&&this.widget&&(this.widget.hiddenFields=t)}highlightEnabledWatcher(t){t&&this.widget&&(this.widget.highlightEnabled=t)}highlightIdsWatcher(t){t&&this.widget&&(this.widget.highlightIds=t)}menuConfigWatcher(t){t&&this.widget&&(this.widget.menuConfig=t)}multiSortEnabledWatcher(t){t&&this.widget&&(this.widget.multiSortEnabled=t)}pageSizeWatcher(t){t&&this.widget&&(this.widget.pageSize=t)}tableTemplateWatcher(t){t&&this.widget&&(this.widget.tableTemplate=t)}async itemIdWatcher(t,i){if(t&&t!==i){const i=await e({portalItem:{id:t}});this.layer=i}}layerWatcher(t){t&&this.widget&&(this.widget.layer=t)}async urlWatcher(t,i){if(t&&t!==i){const i=await e({url:t});this.layer=i}}referenceElementWatcher(t){n(this,t)}viewWatcher(t){void 0!==t&&this.widget&&(this.widget.view=t)}async clearSelectionFilter(){return this.widget?.clearSelectionFilter()}async deleteSelection(t){return this.widget?.deleteSelection(t)}async filterBySelection(){return this.widget?.filterBySelection()}async findColumn(t){return this.widget?.findColumn(t)}async hideColumn(t){return this.widget?.hideColumn(t)}async refresh(){return this.widget?.refresh()}async scrollToIndex(t){return this.widget?.scrollToIndex(t)}async showAllColumns(){return this.widget?.showAllColumns()}async showColumn(t){return this.widget?.showColumn(t)}async sortColumn(t,i){return this.widget?.sortColumn(t,i)}async componentDidLoad(){const t=this._createParams(),i=await a(t);this.widget=i,await this._addWatchers(),this._proxyEvents(),this.widgetReady.emit({widget:this.widget}),o(this)}disconnectedCallback(){d(this)}render(){return this.expandable?h("arcgis-expand",{position:this.position,ref:t=>this.expandElem=t},h("div",{ref:t=>this.childElem=t})):h("div",{ref:t=>this.childElem=t})}async _addWatchers(){const{watch:t}=await r();t((()=>this.widget.activeFilters),(t=>this.activeFilters=t),{initial:!0}),t((()=>this.widget.activeSortOrders),(t=>this.activeSortOrders=t),{initial:!0}),t((()=>this.widget.columns),(t=>this.columns=t),{initial:!0}),t((()=>this.widget.menu),(t=>this.menu=t),{initial:!0}),t((()=>this.widget.state),(t=>this.state=t),{initial:!0})}_createParams(){const t={container:this.childElem};return this.view&&(t.view=this.view),void 0!==this.attachmentsEnabled&&(t.attachmentsEnabled=this.attachmentsEnabled),void 0!==this.autoRefreshEnabled&&(t.autoRefreshEnabled=this.autoRefreshEnabled),void 0!==this.columnReorderingEnabled&&(t.columnReorderingEnabled=this.columnReorderingEnabled),void 0!==this.editingEnabled&&(t.editingEnabled=this.editingEnabled),void 0!==this.filterGeometry&&(t.filterGeometry=this.filterGeometry),void 0!==this.hiddenFields&&(t.hiddenFields=this.hiddenFields),void 0!==this.highlightEnabled&&(t.highlightEnabled=this.highlightEnabled),void 0!==this.highlightIds&&(t.highlightIds=this.highlightIds),void 0!==this.layer&&(t.layer=this.layer),void 0!==this.menuConfig&&(t.menuConfig=this.menuConfig),void 0!==this.multiSortEnabled&&(t.multiSortEnabled=this.multiSortEnabled),void 0!==this.pageSize&&(t.pageSize=this.pageSize),void 0!==this.tableTemplate&&(t.tableTemplate=this.tableTemplate),t}async _proxyEvents(){this.widget?.highlightIds.on("change",(t=>this.rowSelectionChange.emit(t)))}get el(){return s(this)}static get watchers(){return{position:["positionWatcher"],attachmentsEnabled:["attachmentsEnabledWatcher"],autoRefreshEnabled:["autoRefreshEnabledWatcher"],columnReorderingEnabled:["columnReorderingEnabledWatcher"],editingEnabled:["editingEnabledWatcher"],filterGeometry:["filterGeometryWatcher"],hiddenFields:["hiddenFieldsWatcher"],highlightEnabled:["highlightEnabledWatcher"],highlightIds:["highlightIdsWatcher"],menuConfig:["menuConfigWatcher"],multiSortEnabled:["multiSortEnabledWatcher"],pageSize:["pageSizeWatcher"],tableTemplate:["tableTemplateWatcher"],itemId:["itemIdWatcher"],layer:["layerWatcher"],url:["urlWatcher"],referenceElement:["referenceElementWatcher"],view:["viewWatcher"]}}};c.style="";export{c as arcgis_feature_table}
@@ -1 +1 @@
1
- import{r as t,c as i,h as s,g as e}from"./p-1e5e5ed9.js";import{H as r}from"./p-0d840d8a.js";import{r as h,c as o}from"./p-2d3406f7.js";import{o as a}from"./p-b813c9e6.js";const c=class{constructor(s){t(this,s),this.goCalled=i(this,"goCalled",7),this.widgetReady=i(this,"widgetReady",7),this.referenceElement=void 0,this.viewpoint=void 0,this.view=void 0,this.position="bottom-left",this.widget=void 0}positionWatcher(t){void 0!==t&&this.widget&&"string"!=typeof this.view&&this.view.ui.move(this.childElem,t)}viewpointWatcher(t){void 0!==t&&this.widget&&(this.widget.viewpoint=t)}referenceElementWatcher(t){h(this,t)}viewWatcher(t){void 0!==t&&this.widget&&(this.widget.view=t)}async cancelGo(){return this.widget?.cancelGo()}async go(){return this.widget?.go()}async componentDidLoad(){const t=this._createParams(),i=await r(t);this.widget=i,this.widgetReady.emit({widget:this.widget}),this._proxyEvents(),o(this)}disconnectedCallback(){a(this)}render(){return s("div",{ref:t=>this.childElem=t})}_createParams(){const t={container:this.childElem};return this.viewpoint&&(t.viewpoint=this.viewpoint),this.view&&(t.view=this.view),t}async _proxyEvents(){this.widget?.on("go",(t=>this.goCalled.emit(t)))}get el(){return e(this)}static get watchers(){return{position:["positionWatcher"],viewpoint:["viewpointWatcher"],referenceElement:["referenceElementWatcher"],view:["viewWatcher"]}}};c.style="arcgis-home{}";export{c as arcgis_home}
1
+ import{r as t,c as i,h as s,g as e}from"./p-1e5e5ed9.js";import{I as r}from"./p-22fc56c8.js";import{r as h,c as o}from"./p-2d3406f7.js";import{o as c}from"./p-b813c9e6.js";const a=class{constructor(s){t(this,s),this.goCalled=i(this,"goCalled",7),this.widgetReady=i(this,"widgetReady",7),this.referenceElement=void 0,this.viewpoint=void 0,this.view=void 0,this.position="bottom-left",this.widget=void 0}positionWatcher(t){void 0!==t&&this.widget&&"string"!=typeof this.view&&this.view.ui.move(this.childElem,t)}viewpointWatcher(t){void 0!==t&&this.widget&&(this.widget.viewpoint=t)}referenceElementWatcher(t){h(this,t)}viewWatcher(t){void 0!==t&&this.widget&&(this.widget.view=t)}async cancelGo(){return this.widget?.cancelGo()}async go(){return this.widget?.go()}async componentDidLoad(){const t=this._createParams(),i=await r(t);this.widget=i,this.widgetReady.emit({widget:this.widget}),this._proxyEvents(),o(this)}disconnectedCallback(){c(this)}render(){return s("div",{ref:t=>this.childElem=t})}_createParams(){const t={container:this.childElem};return this.viewpoint&&(t.viewpoint=this.viewpoint),this.view&&(t.view=this.view),t}async _proxyEvents(){this.widget?.on("go",(t=>this.goCalled.emit(t)))}get el(){return e(this)}static get watchers(){return{position:["positionWatcher"],viewpoint:["viewpointWatcher"],referenceElement:["referenceElementWatcher"],view:["viewWatcher"]}}};a.style="arcgis-home{}";export{a as arcgis_home}
@@ -1 +1 @@
1
- import{r as i,c as t,h as e,g as s}from"./p-1e5e5ed9.js";import{Z as r}from"./p-0d840d8a.js";import{r as a,c as h}from"./p-2d3406f7.js";import{o}from"./p-b813c9e6.js";const c=class{constructor(e){i(this,e),this.widgetReady=t(this,"widgetReady",7),this.referenceElement=void 0,this.direction=void 0,this.dragLabel=void 0,this.leadingLayers=void 0,this.swipePosition=void 0,this.trailingLayers=void 0,this.view=void 0,this.position="bottom-left",this.widget=void 0}directionWatcher(i){void 0!==i&&this.widget&&(this.widget.direction=i)}dragLabelWatcher(i){void 0!==i&&this.widget&&(this.widget.dragLabel=i)}leadingLayersWatcher(i){void 0!==i&&this.widget&&(this.widget.leadingLayers=i)}swipePositionWatcher(i){void 0!==i&&this.widget&&(this.widget.position=i)}trailingLayersWatcher(i){void 0!==i&&this.widget&&(this.widget.trailingLayers=i)}positionWatcher(i){void 0!==i&&this.widget&&"string"!=typeof this.view&&this.view.ui.move(this.childElem,i)}referenceElementWatcher(i){a(this,i)}viewWatcher(i){void 0!==i&&this.widget&&(this.widget.view=i)}async componentDidLoad(){const i=this._createParams(),t=await r(i);this.widget=t,this.widgetReady.emit({widget:this.widget}),h(this)}disconnectedCallback(){o(this)}render(){return e("div",{ref:i=>this.childElem=i})}_createParams(){const i={container:this.childElem};return this.view&&(i.view=this.view),i}get el(){return s(this)}static get watchers(){return{direction:["directionWatcher"],dragLabel:["dragLabelWatcher"],leadingLayers:["leadingLayersWatcher"],swipePosition:["swipePositionWatcher"],trailingLayers:["trailingLayersWatcher"],position:["positionWatcher"],referenceElement:["referenceElementWatcher"],view:["viewWatcher"]}}};c.style="arcgis-swipe{}";export{c as arcgis_swipe}
1
+ import{r as i,c as t,h as e,g as s}from"./p-1e5e5ed9.js";import{Z as r}from"./p-22fc56c8.js";import{r as a,c as h}from"./p-2d3406f7.js";import{o}from"./p-b813c9e6.js";const c=class{constructor(e){i(this,e),this.widgetReady=t(this,"widgetReady",7),this.referenceElement=void 0,this.direction=void 0,this.dragLabel=void 0,this.leadingLayers=void 0,this.swipePosition=void 0,this.trailingLayers=void 0,this.view=void 0,this.position="bottom-left",this.widget=void 0}directionWatcher(i){void 0!==i&&this.widget&&(this.widget.direction=i)}dragLabelWatcher(i){void 0!==i&&this.widget&&(this.widget.dragLabel=i)}leadingLayersWatcher(i){void 0!==i&&this.widget&&(this.widget.leadingLayers=i)}swipePositionWatcher(i){void 0!==i&&this.widget&&(this.widget.position=i)}trailingLayersWatcher(i){void 0!==i&&this.widget&&(this.widget.trailingLayers=i)}positionWatcher(i){void 0!==i&&this.widget&&"string"!=typeof this.view&&this.view.ui.move(this.childElem,i)}referenceElementWatcher(i){a(this,i)}viewWatcher(i){void 0!==i&&this.widget&&(this.widget.view=i)}async componentDidLoad(){const i=this._createParams(),t=await r(i);this.widget=t,this.widgetReady.emit({widget:this.widget}),h(this)}disconnectedCallback(){o(this)}render(){return e("div",{ref:i=>this.childElem=i})}_createParams(){const i={container:this.childElem};return this.view&&(i.view=this.view),i}get el(){return s(this)}static get watchers(){return{direction:["directionWatcher"],dragLabel:["dragLabelWatcher"],leadingLayers:["leadingLayersWatcher"],swipePosition:["swipePositionWatcher"],trailingLayers:["trailingLayersWatcher"],position:["positionWatcher"],referenceElement:["referenceElementWatcher"],view:["viewWatcher"]}}};c.style="arcgis-swipe{}";export{c as arcgis_swipe}
@@ -1 +1 @@
1
- import{r as t,c as s,g as i}from"./p-1e5e5ed9.js";import{F as o}from"./p-0d840d8a.js";const a=class{constructor(i){t(this,i),this.widgetReady=s(this,"widgetReady",7),this.referenceElement=void 0,this.position="bottom-left",this.expandable=!1,this.widget=void 0}async componentDidLoad(){const t={container:this.childElem},s=await o(t);this.widget=s,this.widgetReady.emit({widget:this.widget})}get el(){return i(this)}};a.style="arcgis-histogram{}";export{a as arcgis_histogram}
1
+ import{r as t,c as s,g as i}from"./p-1e5e5ed9.js";import{G as o}from"./p-22fc56c8.js";const a=class{constructor(i){t(this,i),this.widgetReady=s(this,"widgetReady",7),this.referenceElement=void 0,this.position="bottom-left",this.expandable=!1,this.widget=void 0}async componentDidLoad(){const t={container:this.childElem},s=await o(t);this.widget=s,this.widgetReady.emit({widget:this.widget})}get el(){return i(this)}};a.style="arcgis-histogram{}";export{a as arcgis_histogram}
@@ -1 +1 @@
1
- import{r as t,c as i,h as e,g as s}from"./p-1e5e5ed9.js";import{a3 as o}from"./p-0d840d8a.js";import{u as r,c as h}from"./p-2d3406f7.js";import{o as a}from"./p-b813c9e6.js";const c=class{constructor(e){t(this,e),this.widgetReady=i(this,"widgetReady",7),this.referenceElement=void 0,this.extentToValidate=void 0,this.utilityNetwork=void 0,this.view=void 0,this.position="bottom-left",this.expandable=!1,this.widget=void 0}positionWatcher(t){void 0!==t&&this.widget&&"string"!=typeof this.view&&this.view.ui.move(this.childElem,t)}extentToValidateWatcher(t){void 0!==t&&this.widget&&(this.widget.extentToValidate=t)}utilityNetworkWatcher(t){void 0!==t&&this.widget&&(this.widget.utilityNetwork=t)}referenceElementWatcher(t){"string"==typeof t?r(t).then((t=>{this.widget.view=t})):void 0!==t&&this.widget&&(this.widget.view=t.view)}viewWatcher(t){void 0!==t&&this.widget&&(this.widget.view=t)}async componentDidLoad(){const t=this._createParams(),i=await o(t);this.widget=i,this.widgetReady.emit({widget:this.widget}),h(this)}disconnectedCallback(){a(this)}render(){return this.expandable?e("arcgis-expand",{position:this.position,ref:t=>this.expandElem=t},e("div",{ref:t=>this.childElem=t})):e("div",{ref:t=>this.childElem=t})}_createParams(){const t={container:this.childElem};return void 0!==this.extentToValidate&&(t.extentToValidate=this.extentToValidate),void 0!==this.utilityNetwork&&(t.utilityNetwork=this.utilityNetwork),t}get el(){return s(this)}static get watchers(){return{position:["positionWatcher"],extentToValidate:["extentToValidateWatcher"],utilityNetwork:["utilityNetworkWatcher"],referenceElement:["referenceElementWatcher"],view:["viewWatcher"]}}};c.style="arcgis-utility-network-validate-topology{}";export{c as arcgis_utility_network_validate_topology}
1
+ import{r as t,c as i,h as e,g as s}from"./p-1e5e5ed9.js";import{a3 as o}from"./p-22fc56c8.js";import{u as r,c as h}from"./p-2d3406f7.js";import{o as a}from"./p-b813c9e6.js";const c=class{constructor(e){t(this,e),this.widgetReady=i(this,"widgetReady",7),this.referenceElement=void 0,this.extentToValidate=void 0,this.utilityNetwork=void 0,this.view=void 0,this.position="bottom-left",this.expandable=!1,this.widget=void 0}positionWatcher(t){void 0!==t&&this.widget&&"string"!=typeof this.view&&this.view.ui.move(this.childElem,t)}extentToValidateWatcher(t){void 0!==t&&this.widget&&(this.widget.extentToValidate=t)}utilityNetworkWatcher(t){void 0!==t&&this.widget&&(this.widget.utilityNetwork=t)}referenceElementWatcher(t){"string"==typeof t?r(t).then((t=>{this.widget.view=t})):void 0!==t&&this.widget&&(this.widget.view=t.view)}viewWatcher(t){void 0!==t&&this.widget&&(this.widget.view=t)}async componentDidLoad(){const t=this._createParams(),i=await o(t);this.widget=i,this.widgetReady.emit({widget:this.widget}),h(this)}disconnectedCallback(){a(this)}render(){return this.expandable?e("arcgis-expand",{position:this.position,ref:t=>this.expandElem=t},e("div",{ref:t=>this.childElem=t})):e("div",{ref:t=>this.childElem=t})}_createParams(){const t={container:this.childElem};return void 0!==this.extentToValidate&&(t.extentToValidate=this.extentToValidate),void 0!==this.utilityNetwork&&(t.utilityNetwork=this.utilityNetwork),t}get el(){return s(this)}static get watchers(){return{position:["positionWatcher"],extentToValidate:["extentToValidateWatcher"],utilityNetwork:["utilityNetworkWatcher"],referenceElement:["referenceElementWatcher"],view:["viewWatcher"]}}};c.style="arcgis-utility-network-validate-topology{}";export{c as arcgis_utility_network_validate_topology}
@@ -1 +1 @@
1
- import{r as t,c as i,h as s,g as e}from"./p-1e5e5ed9.js";import{t as h,i as r}from"./p-0d840d8a.js";import{r as a,c as o}from"./p-2d3406f7.js";import{o as n}from"./p-b813c9e6.js";const c=class{constructor(s){t(this,s),this.widgetReady=i(this,"widgetReady",7),this.referenceElement=void 0,this.position="bottom-left",this.expandable=!1,this.analysis=void 0,this.unit=void 0,this.unitOptions=void 0,this.widget=void 0,this.view=void 0}positionWatcher(t){void 0!==t&&this.widget&&"string"!=typeof this.view&&this.view.ui.move(this.childElem,t)}unitWatcher(t){t&&this.widget&&(this.widget.unit=t)}unitOptionsWatcher(t){t&&this.widget&&(this.widget.unitOptions=t)}referenceElementWatcher(t){a(this,t)}viewWatcher(t){void 0!==t&&this.widget&&(this.widget.view=t)}async componentDidLoad(){const t=this._createParams(),i=await h(t);this.widget=i,this._addWatchers(),this.widgetReady.emit({widget:this.widget}),o(this)}disconnectedCallback(){n(this)}render(){return this.expandable?s("arcgis-expand",{position:this.position,ref:t=>this.expandElem=t},s("div",{ref:t=>this.childElem=t})):s("div",{ref:t=>this.childElem=t})}async _addWatchers(){const{watch:t}=await r();t((()=>this.widget.analysis),(t=>this.analysis=t),{initial:!0})}_createParams(){const t={container:this.childElem};return this.view&&(t.view=this.view),this.unit&&(t.unit=this.unit),this.unitOptions&&(t.unitOptions=this.unitOptions),t}get el(){return e(this)}static get watchers(){return{position:["positionWatcher"],unit:["unitWatcher"],unitOptions:["unitOptionsWatcher"],referenceElement:["referenceElementWatcher"],view:["viewWatcher"]}}};c.style="";export{c as arcgis_directline_measurement_3d}
1
+ import{r as t,c as i,h as s,g as e}from"./p-1e5e5ed9.js";import{u as h,i as r}from"./p-22fc56c8.js";import{r as a,c as o}from"./p-2d3406f7.js";import{o as n}from"./p-b813c9e6.js";const c=class{constructor(s){t(this,s),this.widgetReady=i(this,"widgetReady",7),this.referenceElement=void 0,this.position="bottom-left",this.expandable=!1,this.analysis=void 0,this.unit=void 0,this.unitOptions=void 0,this.widget=void 0,this.view=void 0}positionWatcher(t){void 0!==t&&this.widget&&"string"!=typeof this.view&&this.view.ui.move(this.childElem,t)}unitWatcher(t){t&&this.widget&&(this.widget.unit=t)}unitOptionsWatcher(t){t&&this.widget&&(this.widget.unitOptions=t)}referenceElementWatcher(t){a(this,t)}viewWatcher(t){void 0!==t&&this.widget&&(this.widget.view=t)}async componentDidLoad(){const t=this._createParams(),i=await h(t);this.widget=i,this._addWatchers(),this.widgetReady.emit({widget:this.widget}),o(this)}disconnectedCallback(){n(this)}render(){return this.expandable?s("arcgis-expand",{position:this.position,ref:t=>this.expandElem=t},s("div",{ref:t=>this.childElem=t})):s("div",{ref:t=>this.childElem=t})}async _addWatchers(){const{watch:t}=await r();t((()=>this.widget.analysis),(t=>this.analysis=t),{initial:!0})}_createParams(){const t={container:this.childElem};return this.view&&(t.view=this.view),this.unit&&(t.unit=this.unit),this.unitOptions&&(t.unitOptions=this.unitOptions),t}get el(){return e(this)}static get watchers(){return{position:["positionWatcher"],unit:["unitWatcher"],unitOptions:["unitOptionsWatcher"],referenceElement:["referenceElementWatcher"],view:["viewWatcher"]}}};c.style="";export{c as arcgis_directline_measurement_3d}
@@ -1 +1 @@
1
- import{r as i,c as t,h as s,g as o}from"./p-1e5e5ed9.js";import{a1 as e}from"./p-0d840d8a.js";import{u as h,c as a}from"./p-2d3406f7.js";import{o as c}from"./p-b813c9e6.js";const r=class{constructor(s){i(this,s),this.widgetReady=t(this,"widgetReady",7),this.referenceElement=void 0,this.autoRefreshAssociations=void 0,this.connectivityAssociationsLineSymbol=void 0,this.includeConnectivityAssociations=void 0,this.includeStructuralAttachmentAssociations=void 0,this.maxAllowableAssociations=void 0,this.maxAllowableAssociationsSliderMax=void 0,this.maxAllowableAssociationsSliderMin=void 0,this.maxAllowableAssociationsSliderStep=void 0,this.showArrowsConnectivity=void 0,this.showArrowsStructuralAttachment=void 0,this.showAssociationsEnabled=void 0,this.structuralAttachmentAssociationsLineSymbol=void 0,this.utilityNetwork=void 0,this.view=void 0,this.position="bottom-left",this.expandable=!1,this.widget=void 0}positionWatcher(i){void 0!==i&&this.widget&&"string"!=typeof this.view&&this.view.ui.move(this.childElem,i)}autoRefreshAssociationsWatcher(i){void 0!==i&&this.widget&&(this.widget.autoRefreshAssociations=i)}connectivityAssociationsLineSymbolWatcher(i){void 0!==i&&this.widget&&(this.widget.connectivityAssociationsLineSymbol=i)}includeConnectivityAssociationsWatcher(i){void 0!==i&&this.widget&&(this.widget.includeConnectivityAssociations=i)}includeStructuralAttachmentAssociationsWatcher(i){void 0!==i&&this.widget&&(this.widget.includeStructuralAttachmentAssociations=i)}maxAllowableAssociationsWatcher(i){void 0!==i&&this.widget&&(this.widget.maxAllowableAssociations=i)}maxAllowableAssociationsSliderMaxWatcher(i){void 0!==i&&this.widget&&(this.widget.maxAllowableAssociationsSliderMax=i)}maxAllowableAssociationsSliderMinWatcher(i){void 0!==i&&this.widget&&(this.widget.maxAllowableAssociationsSliderMin=i)}maxAllowableAssociationsSliderStepWatcher(i){void 0!==i&&this.widget&&(this.widget.maxAllowableAssociationsSliderStep=i)}showArrowsConnectivityWatcher(i){void 0!==i&&this.widget&&(this.widget.showArrowsConnectivity=i)}showArrowsStructuralAttachmentWatcher(i){void 0!==i&&this.widget&&(this.widget.showArrowsStructuralAttachment=i)}showAssociationsEnabledWatcher(i){void 0!==i&&this.widget&&(this.widget.showAssociationsEnabled=i)}structuralAttachmentAssociationsLineSymbolWatcher(i){void 0!==i&&this.widget&&(this.widget.structuralAttachmentAssociationsLineSymbol=i)}utilityNetworkWatcher(i){void 0!==i&&this.widget&&(this.widget.utilityNetwork=i)}referenceElementWatcher(i){"string"==typeof i?h(i).then((i=>{this.widget.view=i})):void 0!==i&&this.widget&&(this.widget.view=i.view)}viewWatcher(i){void 0!==i&&this.widget&&(this.widget.view=i)}async componentDidLoad(){const i=this._createParams(),t=await e(i);this.widget=t,this.widgetReady.emit({widget:this.widget}),a(this)}disconnectedCallback(){c(this)}render(){return this.expandable?s("arcgis-expand",{position:this.position,ref:i=>this.expandElem=i},s("div",{ref:i=>this.childElem=i})):s("div",{ref:i=>this.childElem=i})}_createParams(){const i={container:this.childElem};return void 0!==this.autoRefreshAssociations&&(i.autoRefreshAssociations=this.autoRefreshAssociations),void 0!==this.connectivityAssociationsLineSymbol&&(i.connectivityAssociationsLineSymbol=this.connectivityAssociationsLineSymbol),void 0!==this.includeConnectivityAssociations&&(i.includeConnectivityAssociations=this.includeConnectivityAssociations),void 0!==this.includeStructuralAttachmentAssociations&&(i.includeStructuralAttachmentAssociations=this.includeStructuralAttachmentAssociations),void 0!==this.maxAllowableAssociations&&(i.maxAllowableAssociations=this.maxAllowableAssociations),void 0!==this.maxAllowableAssociationsSliderMax&&(i.maxAllowableAssociationsSliderMax=this.maxAllowableAssociationsSliderMax),void 0!==this.maxAllowableAssociationsSliderMin&&(i.maxAllowableAssociationsSliderMin=this.maxAllowableAssociationsSliderMin),void 0!==this.maxAllowableAssociationsSliderStep&&(i.maxAllowableAssociationsSliderStep=this.maxAllowableAssociationsSliderStep),void 0!==this.showArrowsConnectivity&&(i.showArrowsConnectivity=this.showArrowsConnectivity),void 0!==this.showArrowsStructuralAttachment&&(i.showArrowsStructuralAttachment=this.showArrowsStructuralAttachment),void 0!==this.showAssociationsEnabled&&(i.showAssociationsEnabled=this.showAssociationsEnabled),void 0!==this.structuralAttachmentAssociationsLineSymbol&&(i.structuralAttachmentAssociationsLineSymbol=this.structuralAttachmentAssociationsLineSymbol),void 0!==this.utilityNetwork&&(i.utilityNetwork=this.utilityNetwork),i}get el(){return o(this)}static get watchers(){return{position:["positionWatcher"],autoRefreshAssociations:["autoRefreshAssociationsWatcher"],connectivityAssociationsLineSymbol:["connectivityAssociationsLineSymbolWatcher"],includeConnectivityAssociations:["includeConnectivityAssociationsWatcher"],includeStructuralAttachmentAssociations:["includeStructuralAttachmentAssociationsWatcher"],maxAllowableAssociations:["maxAllowableAssociationsWatcher"],maxAllowableAssociationsSliderMax:["maxAllowableAssociationsSliderMaxWatcher"],maxAllowableAssociationsSliderMin:["maxAllowableAssociationsSliderMinWatcher"],maxAllowableAssociationsSliderStep:["maxAllowableAssociationsSliderStepWatcher"],showArrowsConnectivity:["showArrowsConnectivityWatcher"],showArrowsStructuralAttachment:["showArrowsStructuralAttachmentWatcher"],showAssociationsEnabled:["showAssociationsEnabledWatcher"],structuralAttachmentAssociationsLineSymbol:["structuralAttachmentAssociationsLineSymbolWatcher"],utilityNetwork:["utilityNetworkWatcher"],referenceElement:["referenceElementWatcher"],view:["viewWatcher"]}}};r.style="arcgis-utility-network-associations{}";export{r as arcgis_utility_network_associations}
1
+ import{r as i,c as t,h as s,g as o}from"./p-1e5e5ed9.js";import{a1 as e}from"./p-22fc56c8.js";import{u as h,c as a}from"./p-2d3406f7.js";import{o as c}from"./p-b813c9e6.js";const r=class{constructor(s){i(this,s),this.widgetReady=t(this,"widgetReady",7),this.referenceElement=void 0,this.autoRefreshAssociations=void 0,this.connectivityAssociationsLineSymbol=void 0,this.includeConnectivityAssociations=void 0,this.includeStructuralAttachmentAssociations=void 0,this.maxAllowableAssociations=void 0,this.maxAllowableAssociationsSliderMax=void 0,this.maxAllowableAssociationsSliderMin=void 0,this.maxAllowableAssociationsSliderStep=void 0,this.showArrowsConnectivity=void 0,this.showArrowsStructuralAttachment=void 0,this.showAssociationsEnabled=void 0,this.structuralAttachmentAssociationsLineSymbol=void 0,this.utilityNetwork=void 0,this.view=void 0,this.position="bottom-left",this.expandable=!1,this.widget=void 0}positionWatcher(i){void 0!==i&&this.widget&&"string"!=typeof this.view&&this.view.ui.move(this.childElem,i)}autoRefreshAssociationsWatcher(i){void 0!==i&&this.widget&&(this.widget.autoRefreshAssociations=i)}connectivityAssociationsLineSymbolWatcher(i){void 0!==i&&this.widget&&(this.widget.connectivityAssociationsLineSymbol=i)}includeConnectivityAssociationsWatcher(i){void 0!==i&&this.widget&&(this.widget.includeConnectivityAssociations=i)}includeStructuralAttachmentAssociationsWatcher(i){void 0!==i&&this.widget&&(this.widget.includeStructuralAttachmentAssociations=i)}maxAllowableAssociationsWatcher(i){void 0!==i&&this.widget&&(this.widget.maxAllowableAssociations=i)}maxAllowableAssociationsSliderMaxWatcher(i){void 0!==i&&this.widget&&(this.widget.maxAllowableAssociationsSliderMax=i)}maxAllowableAssociationsSliderMinWatcher(i){void 0!==i&&this.widget&&(this.widget.maxAllowableAssociationsSliderMin=i)}maxAllowableAssociationsSliderStepWatcher(i){void 0!==i&&this.widget&&(this.widget.maxAllowableAssociationsSliderStep=i)}showArrowsConnectivityWatcher(i){void 0!==i&&this.widget&&(this.widget.showArrowsConnectivity=i)}showArrowsStructuralAttachmentWatcher(i){void 0!==i&&this.widget&&(this.widget.showArrowsStructuralAttachment=i)}showAssociationsEnabledWatcher(i){void 0!==i&&this.widget&&(this.widget.showAssociationsEnabled=i)}structuralAttachmentAssociationsLineSymbolWatcher(i){void 0!==i&&this.widget&&(this.widget.structuralAttachmentAssociationsLineSymbol=i)}utilityNetworkWatcher(i){void 0!==i&&this.widget&&(this.widget.utilityNetwork=i)}referenceElementWatcher(i){"string"==typeof i?h(i).then((i=>{this.widget.view=i})):void 0!==i&&this.widget&&(this.widget.view=i.view)}viewWatcher(i){void 0!==i&&this.widget&&(this.widget.view=i)}async componentDidLoad(){const i=this._createParams(),t=await e(i);this.widget=t,this.widgetReady.emit({widget:this.widget}),a(this)}disconnectedCallback(){c(this)}render(){return this.expandable?s("arcgis-expand",{position:this.position,ref:i=>this.expandElem=i},s("div",{ref:i=>this.childElem=i})):s("div",{ref:i=>this.childElem=i})}_createParams(){const i={container:this.childElem};return void 0!==this.autoRefreshAssociations&&(i.autoRefreshAssociations=this.autoRefreshAssociations),void 0!==this.connectivityAssociationsLineSymbol&&(i.connectivityAssociationsLineSymbol=this.connectivityAssociationsLineSymbol),void 0!==this.includeConnectivityAssociations&&(i.includeConnectivityAssociations=this.includeConnectivityAssociations),void 0!==this.includeStructuralAttachmentAssociations&&(i.includeStructuralAttachmentAssociations=this.includeStructuralAttachmentAssociations),void 0!==this.maxAllowableAssociations&&(i.maxAllowableAssociations=this.maxAllowableAssociations),void 0!==this.maxAllowableAssociationsSliderMax&&(i.maxAllowableAssociationsSliderMax=this.maxAllowableAssociationsSliderMax),void 0!==this.maxAllowableAssociationsSliderMin&&(i.maxAllowableAssociationsSliderMin=this.maxAllowableAssociationsSliderMin),void 0!==this.maxAllowableAssociationsSliderStep&&(i.maxAllowableAssociationsSliderStep=this.maxAllowableAssociationsSliderStep),void 0!==this.showArrowsConnectivity&&(i.showArrowsConnectivity=this.showArrowsConnectivity),void 0!==this.showArrowsStructuralAttachment&&(i.showArrowsStructuralAttachment=this.showArrowsStructuralAttachment),void 0!==this.showAssociationsEnabled&&(i.showAssociationsEnabled=this.showAssociationsEnabled),void 0!==this.structuralAttachmentAssociationsLineSymbol&&(i.structuralAttachmentAssociationsLineSymbol=this.structuralAttachmentAssociationsLineSymbol),void 0!==this.utilityNetwork&&(i.utilityNetwork=this.utilityNetwork),i}get el(){return o(this)}static get watchers(){return{position:["positionWatcher"],autoRefreshAssociations:["autoRefreshAssociationsWatcher"],connectivityAssociationsLineSymbol:["connectivityAssociationsLineSymbolWatcher"],includeConnectivityAssociations:["includeConnectivityAssociationsWatcher"],includeStructuralAttachmentAssociations:["includeStructuralAttachmentAssociationsWatcher"],maxAllowableAssociations:["maxAllowableAssociationsWatcher"],maxAllowableAssociationsSliderMax:["maxAllowableAssociationsSliderMaxWatcher"],maxAllowableAssociationsSliderMin:["maxAllowableAssociationsSliderMinWatcher"],maxAllowableAssociationsSliderStep:["maxAllowableAssociationsSliderStepWatcher"],showArrowsConnectivity:["showArrowsConnectivityWatcher"],showArrowsStructuralAttachment:["showArrowsStructuralAttachmentWatcher"],showAssociationsEnabled:["showAssociationsEnabledWatcher"],structuralAttachmentAssociationsLineSymbol:["structuralAttachmentAssociationsLineSymbolWatcher"],utilityNetwork:["utilityNetworkWatcher"],referenceElement:["referenceElementWatcher"],view:["viewWatcher"]}}};r.style="arcgis-utility-network-associations{}";export{r as arcgis_utility_network_associations}
@@ -1 +1 @@
1
- import{r as t,c as i,h as s,g as h}from"./p-1e5e5ed9.js";import{b as a,R as e,S as r,i as c}from"./p-0d840d8a.js";import{d as o}from"./p-5cabdee7.js";const d=class{constructor(s){t(this,s),this.viewReady=i(this,"viewReady",7),this.apiKey=void 0,this.itemId=void 0,this.zoom=void 0,this.center=void 0,this.view=void 0,this.disableNavigation=!1}apiKeyWatcher(t){this.config.apiKey=t}itemIdWatcher(t,i){t&&t!==i&&this.loadMap()}async componentWillLoad(){this.config=await a(),this.apiKey&&(this.config.apiKey=this.apiKey),this.itemId&&this.loadMap()}componentDidRender(){this.view&&(this.view.container=this.el)}render(){return s("div",{class:"arcgis-scene",ref:t=>this.el=t})}async loadMap(){const t={};this.itemId&&(t.portalItem={id:this.itemId});const i=await e(t),s={};this.zoom&&(s.zoom=this.zoom),this.center&&(s.center="string"==typeof this.center?this.center.split(",").map((t=>Number(t))):this.center);const h=await r({map:i,...s}),{watch:a}=await c();this.view=h,a((()=>this.view.center),(t=>{this.center=`${t.longitude},${t.latitude}`})),a((()=>this.view.zoom),(t=>this.zoom=t)),this.disableNavigation&&o(this.view),this.view.when((()=>this.viewReady.emit({view:this.view})))}get hostElem(){return h(this)}static get watchers(){return{apiKey:["apiKeyWatcher"],itemId:["itemIdWatcher"]}}};d.style=".arcgis-scene{padding:0;margin:0;height:100%;width:100%}";export{d as arcgis_scene}
1
+ import{r as t,c as i,h as s,g as h}from"./p-1e5e5ed9.js";import{b as a,S as e,T as r,i as c}from"./p-22fc56c8.js";import{d as o}from"./p-5cabdee7.js";const d=class{constructor(s){t(this,s),this.viewReady=i(this,"viewReady",7),this.apiKey=void 0,this.itemId=void 0,this.zoom=void 0,this.center=void 0,this.view=void 0,this.disableNavigation=!1}apiKeyWatcher(t){this.config.apiKey=t}itemIdWatcher(t,i){t&&t!==i&&this.loadMap()}async componentWillLoad(){this.config=await a(),this.apiKey&&(this.config.apiKey=this.apiKey),this.itemId&&this.loadMap()}componentDidRender(){this.view&&(this.view.container=this.el)}render(){return s("div",{class:"arcgis-scene",ref:t=>this.el=t})}async loadMap(){const t={};this.itemId&&(t.portalItem={id:this.itemId});const i=await e(t),s={};this.zoom&&(s.zoom=this.zoom),this.center&&(s.center="string"==typeof this.center?this.center.split(",").map((t=>Number(t))):this.center);const h=await r({map:i,...s}),{watch:a}=await c();this.view=h,a((()=>this.view.center),(t=>{this.center=`${t.longitude},${t.latitude}`})),a((()=>this.view.zoom),(t=>this.zoom=t)),this.disableNavigation&&o(this.view),this.view.when((()=>this.viewReady.emit({view:this.view})))}get hostElem(){return h(this)}static get watchers(){return{apiKey:["apiKeyWatcher"],itemId:["itemIdWatcher"]}}};d.style=".arcgis-scene{padding:0;margin:0;height:100%;width:100%}";export{d as arcgis_scene}
@@ -1 +1 @@
1
- import{r as t,c as i,h as s,g as e}from"./p-1e5e5ed9.js";import{P as r}from"./p-0d840d8a.js";import{r as h,c as a}from"./p-2d3406f7.js";import{o}from"./p-b813c9e6.js";const c=class{constructor(s){t(this,s),this.widgetReady=i(this,"widgetReady",7),this.referenceElement=void 0,this.view=void 0,this.position="bottom-left",this.expandable=!1,this.barStyle=void 0,this.unit=void 0,this.widget=void 0}positionWatcher(t){void 0!==t&&this.widget&&"string"!=typeof this.view&&this.view.ui.move(this.childElem,t)}referenceElementWatcher(t){h(this,t)}viewWatcher(t){void 0!==t&&this.widget&&(this.widget.view=t)}styleWatcher(t){void 0!==t&&this.widget&&(this.widget.style=t)}unitWatcher(t){void 0!==t&&this.widget&&(this.widget.unit=t)}async componentDidLoad(){const t=this._createParams(),i=await r(t);this.widget=i,this.widgetReady.emit({widget:this.widget}),a(this)}disconnectedCallback(){o(this)}render(){return this.expandable?s("arcgis-expand",{position:this.position,ref:t=>this.expandElem=t},s("div",{ref:t=>this.childElem=t})):s("div",{ref:t=>this.childElem=t})}_createParams(){const t={container:this.childElem};return this.unit&&(t.unit=this.unit),this.barStyle&&(t.style=this.barStyle),this.view&&(t.view=this.view),t}get el(){return e(this)}static get watchers(){return{position:["positionWatcher"],referenceElement:["referenceElementWatcher"],view:["viewWatcher"],barStyle:["styleWatcher"],unit:["unitWatcher"]}}};c.style="arcgis-scale-bar{}";export{c as arcgis_scale_bar}
1
+ import{r as t,c as i,h as s,g as e}from"./p-1e5e5ed9.js";import{Q as r}from"./p-22fc56c8.js";import{r as h,c as a}from"./p-2d3406f7.js";import{o}from"./p-b813c9e6.js";const c=class{constructor(s){t(this,s),this.widgetReady=i(this,"widgetReady",7),this.referenceElement=void 0,this.view=void 0,this.position="bottom-left",this.expandable=!1,this.barStyle=void 0,this.unit=void 0,this.widget=void 0}positionWatcher(t){void 0!==t&&this.widget&&"string"!=typeof this.view&&this.view.ui.move(this.childElem,t)}referenceElementWatcher(t){h(this,t)}viewWatcher(t){void 0!==t&&this.widget&&(this.widget.view=t)}styleWatcher(t){void 0!==t&&this.widget&&(this.widget.style=t)}unitWatcher(t){void 0!==t&&this.widget&&(this.widget.unit=t)}async componentDidLoad(){const t=this._createParams(),i=await r(t);this.widget=i,this.widgetReady.emit({widget:this.widget}),a(this)}disconnectedCallback(){o(this)}render(){return this.expandable?s("arcgis-expand",{position:this.position,ref:t=>this.expandElem=t},s("div",{ref:t=>this.childElem=t})):s("div",{ref:t=>this.childElem=t})}_createParams(){const t={container:this.childElem};return this.unit&&(t.unit=this.unit),this.barStyle&&(t.style=this.barStyle),this.view&&(t.view=this.view),t}get el(){return e(this)}static get watchers(){return{position:["positionWatcher"],referenceElement:["referenceElementWatcher"],view:["viewWatcher"],barStyle:["styleWatcher"],unit:["unitWatcher"]}}};c.style="arcgis-scale-bar{}";export{c as arcgis_scale_bar}
@@ -1 +1 @@
1
- import{r as t,c as i,h as e,g as s}from"./p-1e5e5ed9.js";import{x as h}from"./p-0d840d8a.js";import{r,c as a}from"./p-2d3406f7.js";import{o}from"./p-b813c9e6.js";const c=class{constructor(e){t(this,e),this.widgetReady=i(this,"widgetReady",7),this.referenceElement=void 0,this.defaultPopupTemplateEnabled=void 0,this.graphic=void 0,this.position="bottom-left",this.expandable=!1,this.view=void 0,this.widget=void 0}positionWatcher(t){void 0!==t&&this.widget&&"string"!=typeof this.view&&this.view.ui.move(this.childElem,t)}defaultPopupTemplateEnabledWatcher(t){void 0!==t&&this.widget&&(this.widget.defaultPopupTemplateEnabled=t)}graphicWatcher(t){void 0!==t&&this.widget&&(this.widget.graphic=t)}referenceElementWatcher(t){r(this,t)}viewWatcher(t){void 0!==t&&this.widget&&(this.widget.view=t)}async componentDidLoad(){const t=this._createParams(),i=await h(t);this.widget=i,this.widgetReady.emit({widget:this.widget}),a(this)}disconnectedCallback(){o(this)}render(){return this.expandable?e("arcgis-expand",{position:this.position,ref:t=>this.expandElem=t},e("div",{ref:t=>this.childElem=t})):e("div",{ref:t=>this.childElem=t})}_createParams(){const t={container:this.childElem};return void 0!==this.defaultPopupTemplateEnabled&&(t.defaultPopupTemplateEnabled=this.defaultPopupTemplateEnabled),this.graphic&&(t.graphic=this.graphic),this.view&&(t.view=this.view),t}get el(){return s(this)}static get watchers(){return{position:["positionWatcher"],defaultPopupTemplateEnabled:["defaultPopupTemplateEnabledWatcher"],graphic:["graphicWatcher"],referenceElement:["referenceElementWatcher"],view:["viewWatcher"]}}};c.style="";export{c as arcgis_feature}
1
+ import{r as t,c as i,h as e,g as s}from"./p-1e5e5ed9.js";import{y as h}from"./p-22fc56c8.js";import{r,c as a}from"./p-2d3406f7.js";import{o}from"./p-b813c9e6.js";const c=class{constructor(e){t(this,e),this.widgetReady=i(this,"widgetReady",7),this.referenceElement=void 0,this.defaultPopupTemplateEnabled=void 0,this.graphic=void 0,this.position="bottom-left",this.expandable=!1,this.view=void 0,this.widget=void 0}positionWatcher(t){void 0!==t&&this.widget&&"string"!=typeof this.view&&this.view.ui.move(this.childElem,t)}defaultPopupTemplateEnabledWatcher(t){void 0!==t&&this.widget&&(this.widget.defaultPopupTemplateEnabled=t)}graphicWatcher(t){void 0!==t&&this.widget&&(this.widget.graphic=t)}referenceElementWatcher(t){r(this,t)}viewWatcher(t){void 0!==t&&this.widget&&(this.widget.view=t)}async componentDidLoad(){const t=this._createParams(),i=await h(t);this.widget=i,this.widgetReady.emit({widget:this.widget}),a(this)}disconnectedCallback(){o(this)}render(){return this.expandable?e("arcgis-expand",{position:this.position,ref:t=>this.expandElem=t},e("div",{ref:t=>this.childElem=t})):e("div",{ref:t=>this.childElem=t})}_createParams(){const t={container:this.childElem};return void 0!==this.defaultPopupTemplateEnabled&&(t.defaultPopupTemplateEnabled=this.defaultPopupTemplateEnabled),this.graphic&&(t.graphic=this.graphic),this.view&&(t.view=this.view),t}get el(){return s(this)}static get watchers(){return{position:["positionWatcher"],defaultPopupTemplateEnabled:["defaultPopupTemplateEnabledWatcher"],graphic:["graphicWatcher"],referenceElement:["referenceElementWatcher"],view:["viewWatcher"]}}};c.style="";export{c as arcgis_feature}
@@ -6,6 +6,275 @@ const index = require('./index-6b51d5a0.js');
6
6
  const index$1 = require('./index-3de624c5.js');
7
7
  const componentUtils = require('./component-utils-cbd20e88.js');
8
8
  const disconnected = require('./disconnected-306cb220.js');
9
+ const mappingUtils = require('./mapping-utils-c2c7b994.js');
10
+
11
+ const arcgisBasemapGalleryCss = "";
12
+
13
+ const ArcgisBasemapGallery = class {
14
+ constructor(hostRef) {
15
+ index.registerInstance(this, hostRef);
16
+ this.widgetReady = index.createEvent(this, "widgetReady", 7);
17
+ this.referenceElement = undefined;
18
+ this.activeBasemap = undefined;
19
+ this.position = "bottom-left";
20
+ this.expandable = false;
21
+ this.source = undefined;
22
+ this.view = undefined;
23
+ this.widget = undefined;
24
+ }
25
+ //--------------------------------------------------------------------------
26
+ //
27
+ // Watchers
28
+ //
29
+ //--------------------------------------------------------------------------
30
+ positionWatcher(newValue) {
31
+ if (newValue !== undefined && this.widget) {
32
+ if (typeof this.view !== "string") {
33
+ this.view.ui.move(this.childElem, newValue);
34
+ }
35
+ }
36
+ }
37
+ referenceElementWatcher(newValue) {
38
+ componentUtils.referenceElementHelper(this, newValue);
39
+ }
40
+ viewWatcher(newValue) {
41
+ if (newValue !== undefined && this.widget) {
42
+ this.widget.view = newValue;
43
+ }
44
+ }
45
+ //--------------------------------------------------------------------------
46
+ //
47
+ // Lifecycle
48
+ //
49
+ //--------------------------------------------------------------------------
50
+ async componentDidLoad() {
51
+ const params = this._createParams();
52
+ const widget = await index$1.newWidgetsBasemapGallery(params);
53
+ this.widget = widget;
54
+ this.widget.when(() => {
55
+ this.source = this.widget.source;
56
+ });
57
+ await this._addWatchers();
58
+ this.widgetReady.emit({ widget: this.widget });
59
+ componentUtils.checkForView(this);
60
+ }
61
+ disconnectedCallback() {
62
+ disconnected.onDisconnectedHelper(this);
63
+ }
64
+ render() {
65
+ if (this.expandable) {
66
+ return (index.h("arcgis-expand", { position: this.position, ref: (el) => (this.expandElem = el) }, index.h("div", { ref: (el) => (this.childElem = el) })));
67
+ }
68
+ return index.h("div", { ref: (el) => (this.childElem = el) });
69
+ }
70
+ //--------------------------------------------------------------------------
71
+ //
72
+ // Private Interal Methods
73
+ //
74
+ //--------------------------------------------------------------------------
75
+ async _addWatchers() {
76
+ const { watch } = await index$1.importCoreReactiveUtils();
77
+ watch(() => this.widget.source, () => (this.source = this.widget.source));
78
+ watch(() => this.widget.activeBasemap, (basemap) => (this.activeBasemap = basemap));
79
+ }
80
+ _createParams() {
81
+ const params = {
82
+ container: this.childElem
83
+ };
84
+ if (this.view) {
85
+ params.view = this.view;
86
+ }
87
+ return params;
88
+ }
89
+ get el() { return index.getElement(this); }
90
+ static get watchers() { return {
91
+ "position": ["positionWatcher"],
92
+ "referenceElement": ["referenceElementWatcher"],
93
+ "view": ["viewWatcher"]
94
+ }; }
95
+ };
96
+ ArcgisBasemapGallery.style = arcgisBasemapGalleryCss;
97
+
98
+ const arcgisExpandCss = "arcgis-expand>.esri-expand__content--expanded{background-color:var(--calcite-ui-background)}";
99
+
100
+ const ArcgisExpand = class {
101
+ constructor(hostRef) {
102
+ index.registerInstance(this, hostRef);
103
+ this.widgetReady = index.createEvent(this, "widgetReady", 7);
104
+ this.referenceElement = undefined;
105
+ this.position = "top-right";
106
+ this.view = undefined;
107
+ this.widget = undefined;
108
+ }
109
+ //--------------------------------------------------------------------------
110
+ //
111
+ // Watchers
112
+ //
113
+ //--------------------------------------------------------------------------
114
+ positionWatcher(newValue) {
115
+ if (newValue !== undefined && this.widget) {
116
+ if (typeof this.view !== "string") {
117
+ this.view.ui.move(this.childElem, newValue);
118
+ }
119
+ }
120
+ }
121
+ referenceElementWatcher(newValue) {
122
+ componentUtils.referenceElementHelper(this, newValue);
123
+ }
124
+ viewWatcher(newValue) {
125
+ if (newValue !== undefined && this.widget) {
126
+ this.widget.view = newValue;
127
+ }
128
+ }
129
+ //--------------------------------------------------------------------------
130
+ //
131
+ // Lifecycle
132
+ //
133
+ //--------------------------------------------------------------------------
134
+ async componentDidLoad() {
135
+ const widget = await index$1.newWidgetsExpand({
136
+ container: this.childElem
137
+ });
138
+ this.widget = widget;
139
+ if (this.view) {
140
+ this.widget.view = this.view;
141
+ }
142
+ this._checkForView();
143
+ }
144
+ disconnectedCallback() {
145
+ disconnected.onDisconnectedHelper(this);
146
+ }
147
+ render() {
148
+ return index.h("div", { ref: (el) => (this.childElem = el) });
149
+ }
150
+ //--------------------------------------------------------------------------
151
+ //
152
+ // Private Internal Methods
153
+ //
154
+ //--------------------------------------------------------------------------
155
+ _checkForView() {
156
+ const viewRef = this.el.closest("arcgis-map") || this.el.closest("arcgis-scene");
157
+ if (viewRef?.view) {
158
+ this.view = viewRef.view;
159
+ this.view.ui.add(this.childElem, this.position);
160
+ this.widgetReady.emit({ widget: this.widget });
161
+ }
162
+ else if (viewRef) {
163
+ const handler = () => {
164
+ this.view = viewRef.view;
165
+ this.view.ui.add(this.childElem, this.position);
166
+ this.widgetReady.emit({ widget: this.widget });
167
+ };
168
+ viewRef.addEventListener("viewReady", handler, false);
169
+ }
170
+ }
171
+ get el() { return index.getElement(this); }
172
+ static get watchers() { return {
173
+ "position": ["positionWatcher"],
174
+ "referenceElement": ["referenceElementWatcher"],
175
+ "view": ["viewWatcher"]
176
+ }; }
177
+ };
178
+ ArcgisExpand.style = arcgisExpandCss;
179
+
180
+ const arcgisMapCss = ".arcgis-map{padding:0;margin:0;height:100%;width:100%}";
181
+
182
+ const ArcgisMap = class {
183
+ constructor(hostRef) {
184
+ index.registerInstance(this, hostRef);
185
+ this.viewReady = index.createEvent(this, "viewReady", 7);
186
+ this.apiKey = undefined;
187
+ this.basemap = undefined;
188
+ this.disableNavigation = false;
189
+ this.itemId = undefined;
190
+ this.zoom = undefined;
191
+ this.center = undefined;
192
+ this.view = undefined;
193
+ }
194
+ //--------------------------------------------------------------------------
195
+ //
196
+ // Watchers
197
+ //
198
+ //--------------------------------------------------------------------------
199
+ apiKeyWatcher(value) {
200
+ this.config.apiKey = value;
201
+ }
202
+ itemIdWatcher(value, old) {
203
+ if (value && value !== old) {
204
+ this.loadMap();
205
+ }
206
+ }
207
+ //--------------------------------------------------------------------------
208
+ //
209
+ // Lifecycle
210
+ //
211
+ //--------------------------------------------------------------------------
212
+ async componentWillLoad() {
213
+ this.config = await index$1.importConfig();
214
+ if (this.apiKey) {
215
+ this.config.apiKey = this.apiKey;
216
+ }
217
+ await this.loadMap();
218
+ }
219
+ componentDidRender() {
220
+ if (this.view) {
221
+ this.view.container = this.el;
222
+ }
223
+ }
224
+ render() {
225
+ return index.h("div", { class: "arcgis-map", ref: (el) => (this.el = el) });
226
+ }
227
+ //--------------------------------------------------------------------------
228
+ //
229
+ // Private Methods
230
+ //
231
+ //--------------------------------------------------------------------------
232
+ async loadMap() {
233
+ const mapParams = {};
234
+ if (this.itemId) {
235
+ mapParams.portalItem = {
236
+ id: this.itemId
237
+ };
238
+ }
239
+ if (this.basemap) {
240
+ mapParams.basemap = this.basemap;
241
+ }
242
+ const map = await index$1.newWebMap(mapParams);
243
+ const params = {};
244
+ if (this.zoom) {
245
+ params.zoom = this.zoom;
246
+ }
247
+ if (this.center) {
248
+ if (typeof this.center === "string") {
249
+ params.center = this.center.split(",").map((x) => Number(x));
250
+ }
251
+ else {
252
+ params.center = this.center;
253
+ }
254
+ }
255
+ const view = await index$1.newViewsMapView({
256
+ map,
257
+ ...params
258
+ });
259
+ const { watch } = await index$1.importCoreReactiveUtils();
260
+ this.view = view;
261
+ watch(() => this.view.center, (center) => {
262
+ const value = `${center.longitude},${center.latitude}`;
263
+ this.center = value;
264
+ });
265
+ watch(() => this.view.zoom, (value) => (this.zoom = value));
266
+ if (this.disableNavigation) {
267
+ mappingUtils.disableNavigation(this.view);
268
+ }
269
+ this.view.when(() => this.viewReady.emit({ view: this.view }));
270
+ }
271
+ get hostElem() { return index.getElement(this); }
272
+ static get watchers() { return {
273
+ "apiKey": ["apiKeyWatcher"],
274
+ "itemId": ["itemIdWatcher"]
275
+ }; }
276
+ };
277
+ ArcgisMap.style = arcgisMapCss;
9
278
 
10
279
  const arcgisSearchCss = "";
11
280
 
@@ -273,4 +542,7 @@ const ArcgisSearch = class {
273
542
  };
274
543
  ArcgisSearch.style = arcgisSearchCss;
275
544
 
545
+ exports.arcgis_basemap_gallery = ArcgisBasemapGallery;
546
+ exports.arcgis_expand = ArcgisExpand;
547
+ exports.arcgis_map = ArcgisMap;
276
548
  exports.arcgis_search = ArcgisSearch;