@arcgis/map-components 1.0.0-beta.17 → 1.0.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 (241) hide show
  1. package/dist/arcgis-map-components/arcgis-map-components.esm.js +1 -148
  2. package/dist/arcgis-map-components/index.esm.js +0 -1
  3. package/dist/arcgis-map-components/p-095e0075.js +1 -0
  4. package/dist/arcgis-map-components/p-0a81674b.entry.js +1 -0
  5. package/dist/arcgis-map-components/p-0b5368a6.entry.js +1 -0
  6. package/dist/arcgis-map-components/p-0dddef29.entry.js +1 -0
  7. package/dist/arcgis-map-components/p-0decaa03.entry.js +1 -0
  8. package/dist/arcgis-map-components/p-1126ae71.entry.js +1 -0
  9. package/dist/arcgis-map-components/p-1307fe8a.entry.js +1 -0
  10. package/dist/arcgis-map-components/p-1401deea.js +1 -0
  11. package/dist/arcgis-map-components/p-1e5e5ed9.js +2 -0
  12. package/dist/arcgis-map-components/p-23530601.entry.js +1 -0
  13. package/dist/arcgis-map-components/p-3b5c0098.entry.js +1 -0
  14. package/dist/arcgis-map-components/p-406f187c.entry.js +1 -0
  15. package/dist/arcgis-map-components/p-5396bcb5.entry.js +1 -0
  16. package/dist/arcgis-map-components/p-5a87f5c4.entry.js +1 -0
  17. package/dist/arcgis-map-components/p-5cabdee7.js +1 -0
  18. package/dist/arcgis-map-components/p-69214958.entry.js +1 -0
  19. package/dist/arcgis-map-components/p-6e69fe28.entry.js +1 -0
  20. package/dist/arcgis-map-components/p-741086a4.entry.js +1 -0
  21. package/dist/arcgis-map-components/p-79080368.entry.js +1 -0
  22. package/dist/arcgis-map-components/p-7e5545cf.entry.js +1 -0
  23. package/dist/arcgis-map-components/p-7e90f27c.entry.js +1 -0
  24. package/dist/arcgis-map-components/p-80fd5534.entry.js +1 -0
  25. package/dist/arcgis-map-components/p-81a3bd3b.entry.js +1 -0
  26. package/dist/arcgis-map-components/p-85b278c1.entry.js +1 -0
  27. package/dist/arcgis-map-components/p-866d57e1.entry.js +1 -0
  28. package/dist/arcgis-map-components/p-86acdf29.entry.js +1 -0
  29. package/dist/arcgis-map-components/p-8bf81a13.entry.js +1 -0
  30. package/dist/arcgis-map-components/p-95287b70.entry.js +1 -0
  31. package/dist/arcgis-map-components/p-95aa4e86.entry.js +1 -0
  32. package/dist/arcgis-map-components/p-9634a446.entry.js +1 -0
  33. package/dist/arcgis-map-components/p-9d16369e.entry.js +1 -0
  34. package/dist/arcgis-map-components/p-a094dafc.entry.js +1 -0
  35. package/dist/arcgis-map-components/p-a6ab7f72.entry.js +1 -0
  36. package/dist/arcgis-map-components/p-a7715a1a.entry.js +1 -0
  37. package/dist/arcgis-map-components/p-aa73b1cb.entry.js +1 -0
  38. package/dist/arcgis-map-components/p-ae017ef1.entry.js +1 -0
  39. package/dist/arcgis-map-components/p-b5182c68.entry.js +1 -0
  40. package/dist/arcgis-map-components/p-b813c9e6.js +1 -0
  41. package/dist/arcgis-map-components/p-bfb9ceb4.entry.js +1 -0
  42. package/dist/arcgis-map-components/p-c28ede1a.entry.js +1 -0
  43. package/dist/arcgis-map-components/p-c64bceeb.entry.js +1 -0
  44. package/dist/arcgis-map-components/p-c726b024.entry.js +1 -0
  45. package/dist/arcgis-map-components/p-d0dc4119.entry.js +1 -0
  46. package/dist/arcgis-map-components/p-d2274db9.entry.js +1 -0
  47. package/dist/arcgis-map-components/p-d5b79b4e.entry.js +1 -0
  48. package/dist/arcgis-map-components/p-d9c0253a.entry.js +1 -0
  49. package/dist/arcgis-map-components/p-db02ac80.entry.js +1 -0
  50. package/dist/arcgis-map-components/p-dfbbbdad.entry.js +1 -0
  51. package/dist/arcgis-map-components/p-e432eb73.entry.js +1 -0
  52. package/dist/arcgis-map-components/p-e4f5a3f5.entry.js +1 -0
  53. package/dist/arcgis-map-components/p-f32183ab.entry.js +1 -0
  54. package/dist/arcgis-map-components/p-f9b78102.entry.js +1 -0
  55. package/dist/arcgis-map-components/p-fa591c93.entry.js +1 -0
  56. package/dist/arcgis-map-components/p-fee8b15a.entry.js +1 -0
  57. package/dist/cjs/arcgis-area-measurement-2d.cjs.entry.js +101 -0
  58. package/dist/cjs/arcgis-area-measurement-3d.cjs.entry.js +94 -0
  59. package/dist/cjs/arcgis-attachments.cjs.entry.js +73 -0
  60. package/dist/cjs/arcgis-basemap-gallery_3.cjs.entry.js +281 -0
  61. package/dist/cjs/arcgis-basemap-layer-list.cjs.entry.js +144 -0
  62. package/dist/cjs/arcgis-basemap-toggle.cjs.entry.js +115 -0
  63. package/dist/cjs/arcgis-bookmarks.cjs.entry.js +140 -0
  64. package/dist/cjs/arcgis-building-explorer.cjs.entry.js +80 -0
  65. package/dist/cjs/arcgis-compass.cjs.entry.js +90 -0
  66. package/dist/cjs/arcgis-coordinate-conversion.cjs.entry.js +158 -0
  67. package/dist/cjs/arcgis-daylight.cjs.entry.js +116 -0
  68. package/dist/cjs/arcgis-directions.cjs.entry.js +194 -0
  69. package/dist/cjs/arcgis-directline-measurement-3d.cjs.entry.js +114 -0
  70. package/dist/cjs/arcgis-distance-measurement-2d.cjs.entry.js +106 -0
  71. package/dist/cjs/arcgis-editor.cjs.entry.js +180 -0
  72. package/dist/cjs/arcgis-elevation-profile.cjs.entry.js +136 -0
  73. package/dist/cjs/arcgis-feature-form.cjs.entry.js +36 -0
  74. package/dist/cjs/arcgis-feature-table.cjs.entry.js +300 -0
  75. package/dist/cjs/arcgis-feature-templates.cjs.entry.js +73 -0
  76. package/dist/cjs/arcgis-feature.cjs.entry.js +106 -0
  77. package/dist/cjs/arcgis-features.cjs.entry.js +133 -0
  78. package/dist/cjs/arcgis-floor-filter.cjs.entry.js +134 -0
  79. package/dist/cjs/arcgis-fullscreen.cjs.entry.js +92 -0
  80. package/dist/cjs/arcgis-histogram-range-slider.cjs.entry.js +80 -0
  81. package/dist/cjs/arcgis-histogram.cjs.entry.js +36 -0
  82. package/dist/cjs/arcgis-home.cjs.entry.js +108 -0
  83. package/dist/cjs/arcgis-layer-list.cjs.entry.js +128 -0
  84. package/dist/cjs/arcgis-legend.cjs.entry.js +146 -0
  85. package/dist/cjs/arcgis-line-of-sight.cjs.entry.js +94 -0
  86. package/dist/cjs/arcgis-locate.cjs.entry.js +158 -0
  87. package/dist/cjs/arcgis-map-components.cjs.js +23 -0
  88. package/dist/cjs/arcgis-measurement.cjs.entry.js +123 -0
  89. package/dist/cjs/arcgis-navigation-toggle.cjs.entry.js +97 -0
  90. package/dist/cjs/arcgis-print.cjs.entry.js +163 -0
  91. package/dist/cjs/arcgis-scale-bar.cjs.entry.js +106 -0
  92. package/dist/cjs/arcgis-scale-range-slider.cjs.entry.js +146 -0
  93. package/dist/cjs/arcgis-scene.cjs.entry.js +106 -0
  94. package/dist/cjs/arcgis-search.cjs.entry.js +276 -0
  95. package/dist/cjs/arcgis-shadow-cast.cjs.entry.js +95 -0
  96. package/dist/cjs/arcgis-sketch.cjs.entry.js +201 -0
  97. package/dist/cjs/arcgis-slice.cjs.entry.js +103 -0
  98. package/dist/cjs/arcgis-slider.cjs.entry.js +233 -0
  99. package/dist/cjs/arcgis-swipe.cjs.entry.js +117 -0
  100. package/dist/cjs/arcgis-table-list.cjs.entry.js +118 -0
  101. package/dist/cjs/arcgis-time-slider.cjs.entry.js +216 -0
  102. package/dist/cjs/arcgis-track.cjs.entry.js +147 -0
  103. package/dist/cjs/arcgis-utility-network-trace.cjs.entry.js +162 -0
  104. package/dist/cjs/arcgis-value-picker.cjs.entry.js +160 -0
  105. package/dist/cjs/arcgis-weather.cjs.entry.js +86 -0
  106. package/dist/cjs/arcgis-zoom.cjs.entry.js +100 -0
  107. package/dist/cjs/component-utils-933b7aca.js +76 -0
  108. package/dist/cjs/disconnected-306cb220.js +55 -0
  109. package/dist/cjs/index-6b51d5a0.js +1607 -0
  110. package/dist/cjs/index-ef2acc94.js +717 -0
  111. package/dist/cjs/index.cjs.js +2 -0
  112. package/dist/cjs/loader.cjs.js +22 -0
  113. package/dist/cjs/mapping-utils-c2c7b994.js +40 -0
  114. package/dist/components/arcgis-area-measurement-2d.js +128 -0
  115. package/dist/components/arcgis-area-measurement-3d.js +121 -0
  116. package/dist/components/arcgis-attachments.js +99 -0
  117. package/dist/components/arcgis-basemap-gallery.js +124 -0
  118. package/dist/components/arcgis-basemap-layer-list.js +175 -0
  119. package/dist/components/arcgis-basemap-toggle.js +143 -0
  120. package/dist/components/arcgis-bookmarks.js +169 -0
  121. package/dist/components/arcgis-building-explorer.js +105 -0
  122. package/dist/components/arcgis-compass.js +109 -0
  123. package/dist/components/arcgis-coordinate-conversion.js +193 -0
  124. package/dist/components/arcgis-daylight.js +144 -0
  125. package/dist/components/arcgis-directions.js +230 -0
  126. package/dist/components/arcgis-directline-measurement-3d.js +142 -0
  127. package/dist/components/arcgis-distance-measurement-2d.js +133 -0
  128. package/dist/components/arcgis-editor.js +219 -0
  129. package/dist/components/arcgis-elevation-profile.js +166 -0
  130. package/dist/components/arcgis-expand.js +6 -0
  131. package/dist/components/arcgis-expand2.js +107 -0
  132. package/dist/components/arcgis-feature-form.js +55 -0
  133. package/dist/components/arcgis-feature-table.js +355 -0
  134. package/dist/components/arcgis-feature-templates.js +98 -0
  135. package/dist/components/arcgis-feature.js +133 -0
  136. package/dist/components/arcgis-features.js +169 -0
  137. package/dist/components/arcgis-floor-filter.js +164 -0
  138. package/dist/components/arcgis-fullscreen.js +111 -0
  139. package/dist/components/arcgis-histogram-range-slider.js +106 -0
  140. package/dist/components/arcgis-histogram.js +55 -0
  141. package/dist/components/arcgis-home.js +129 -0
  142. package/dist/components/arcgis-layer-list.js +158 -0
  143. package/dist/components/arcgis-legend.js +177 -0
  144. package/dist/components/arcgis-line-of-sight.js +120 -0
  145. package/dist/components/arcgis-locate.js +184 -0
  146. package/dist/components/arcgis-map.js +130 -0
  147. package/dist/components/arcgis-measurement.js +153 -0
  148. package/dist/components/arcgis-navigation-toggle.js +117 -0
  149. package/dist/components/arcgis-print.js +197 -0
  150. package/dist/components/arcgis-scale-bar.js +133 -0
  151. package/dist/components/arcgis-scale-range-slider.js +177 -0
  152. package/dist/components/arcgis-scene.js +127 -0
  153. package/dist/components/arcgis-search.js +330 -0
  154. package/dist/components/arcgis-shadow-cast.js +121 -0
  155. package/dist/components/arcgis-sketch.js +238 -0
  156. package/dist/components/arcgis-slice.js +130 -0
  157. package/dist/components/arcgis-slider.js +281 -0
  158. package/dist/components/arcgis-swipe.js +140 -0
  159. package/dist/components/arcgis-table-list.js +147 -0
  160. package/dist/components/arcgis-time-slider.js +256 -0
  161. package/dist/components/arcgis-track.js +171 -0
  162. package/dist/components/arcgis-utility-network-trace.js +197 -0
  163. package/dist/components/arcgis-value-picker.js +198 -0
  164. package/dist/components/arcgis-weather.js +111 -0
  165. package/dist/components/arcgis-zoom.js +121 -0
  166. package/dist/components/disconnected.js +122 -0
  167. package/dist/components/index.js +52 -0
  168. package/dist/components/index2.js +638 -0
  169. package/dist/components/mapping-utils.js +38 -0
  170. package/dist/esm/arcgis-area-measurement-2d.entry.js +97 -0
  171. package/dist/esm/arcgis-area-measurement-3d.entry.js +90 -0
  172. package/dist/esm/arcgis-attachments.entry.js +69 -0
  173. package/dist/esm/arcgis-basemap-gallery_3.entry.js +275 -0
  174. package/dist/esm/arcgis-basemap-layer-list.entry.js +140 -0
  175. package/dist/esm/arcgis-basemap-toggle.entry.js +111 -0
  176. package/dist/esm/arcgis-bookmarks.entry.js +136 -0
  177. package/dist/esm/arcgis-building-explorer.entry.js +76 -0
  178. package/dist/esm/arcgis-compass.entry.js +86 -0
  179. package/dist/esm/arcgis-coordinate-conversion.entry.js +154 -0
  180. package/dist/esm/arcgis-daylight.entry.js +112 -0
  181. package/dist/esm/arcgis-directions.entry.js +190 -0
  182. package/dist/esm/arcgis-directline-measurement-3d.entry.js +110 -0
  183. package/dist/esm/arcgis-distance-measurement-2d.entry.js +102 -0
  184. package/dist/esm/arcgis-editor.entry.js +176 -0
  185. package/dist/esm/arcgis-elevation-profile.entry.js +132 -0
  186. package/dist/esm/arcgis-feature-form.entry.js +32 -0
  187. package/dist/esm/arcgis-feature-table.entry.js +296 -0
  188. package/dist/esm/arcgis-feature-templates.entry.js +69 -0
  189. package/dist/esm/arcgis-feature.entry.js +102 -0
  190. package/dist/esm/arcgis-features.entry.js +129 -0
  191. package/dist/esm/arcgis-floor-filter.entry.js +130 -0
  192. package/dist/esm/arcgis-fullscreen.entry.js +88 -0
  193. package/dist/esm/arcgis-histogram-range-slider.entry.js +76 -0
  194. package/dist/esm/arcgis-histogram.entry.js +32 -0
  195. package/dist/esm/arcgis-home.entry.js +104 -0
  196. package/dist/esm/arcgis-layer-list.entry.js +124 -0
  197. package/dist/esm/arcgis-legend.entry.js +142 -0
  198. package/dist/esm/arcgis-line-of-sight.entry.js +90 -0
  199. package/dist/esm/arcgis-locate.entry.js +154 -0
  200. package/dist/esm/arcgis-map-components.js +18 -0
  201. package/dist/esm/arcgis-measurement.entry.js +119 -0
  202. package/dist/esm/arcgis-navigation-toggle.entry.js +93 -0
  203. package/dist/esm/arcgis-print.entry.js +159 -0
  204. package/dist/esm/arcgis-scale-bar.entry.js +102 -0
  205. package/dist/esm/arcgis-scale-range-slider.entry.js +142 -0
  206. package/dist/esm/arcgis-scene.entry.js +102 -0
  207. package/dist/esm/arcgis-search.entry.js +272 -0
  208. package/dist/esm/arcgis-shadow-cast.entry.js +91 -0
  209. package/dist/esm/arcgis-sketch.entry.js +197 -0
  210. package/dist/esm/arcgis-slice.entry.js +99 -0
  211. package/dist/esm/arcgis-slider.entry.js +229 -0
  212. package/dist/esm/arcgis-swipe.entry.js +113 -0
  213. package/dist/esm/arcgis-table-list.entry.js +114 -0
  214. package/dist/esm/arcgis-time-slider.entry.js +212 -0
  215. package/dist/esm/arcgis-track.entry.js +143 -0
  216. package/dist/esm/arcgis-utility-network-trace.entry.js +158 -0
  217. package/dist/esm/arcgis-value-picker.entry.js +156 -0
  218. package/dist/esm/arcgis-weather.entry.js +82 -0
  219. package/dist/esm/arcgis-zoom.entry.js +96 -0
  220. package/dist/esm/component-utils-d3552de2.js +73 -0
  221. package/dist/esm/disconnected-bc5fc8bc.js +52 -0
  222. package/dist/esm/index-ad26b6d0.js +638 -0
  223. package/dist/esm/index-eb3ead33.js +1579 -0
  224. package/dist/esm/index.js +1 -0
  225. package/dist/esm/loader.js +18 -0
  226. package/dist/esm/mapping-utils-26beb904.js +38 -0
  227. package/dist/esm/polyfills/core-js.js +11 -0
  228. package/dist/esm/polyfills/css-shim.js +1 -0
  229. package/dist/esm/polyfills/dom.js +79 -0
  230. package/dist/esm/polyfills/es5-html-element.js +1 -0
  231. package/dist/esm/polyfills/index.js +34 -0
  232. package/dist/esm/polyfills/system.js +6 -0
  233. package/dist/index.cjs.js +1 -0
  234. package/dist/index.js +1 -0
  235. package/dist/loader/cdn.js +3 -0
  236. package/dist/loader/index.cjs.js +3 -0
  237. package/dist/loader/index.d.ts +21 -0
  238. package/dist/loader/index.es2017.js +3 -0
  239. package/dist/loader/index.js +4 -0
  240. package/dist/loader/package.json +11 -0
  241. package/package.json +3 -3
@@ -0,0 +1 @@
1
+ import{r as t,c as i,h as s,g as e}from"./p-1e5e5ed9.js";import{U as h,i as a,V as o}from"./p-095e0075.js";import{r,c}from"./p-1401deea.js";import{o as n}from"./p-b813c9e6.js";const d=class{constructor(s){t(this,s),this.sketchCreate=i(this,"sketchCreate",7),this.sketchDelete=i(this,"sketchDelete",7),this.sketchRedo=i(this,"sketchRedo",7),this.sketchUndo=i(this,"sketchUndo",7),this.sketchUpdate=i(this,"sketchUpdate",7),this.widgetReady=i(this,"widgetReady",7),this.referenceElement=void 0,this.activeTool=void 0,this.availableCreateTools=void 0,this.createGraphic=void 0,this.creationMode=void 0,this.defaultCreateOptions=void 0,this.defaultUpdateOptions=void 0,this.labelOptions=void 0,this.layer=void 0,this.layout=void 0,this.snappingOptions=void 0,this.tooltipOptions=void 0,this.updateGraphics=void 0,this.view=void 0,this.position="bottom-left",this.expandable=!1,this.widget=void 0}availableCreateToolsWatcher(t){void 0!==t&&this.widget&&(this.widget.availableCreateTools=t)}creationModeWatcher(t){void 0!==t&&this.widget&&(this.widget.creationMode=t)}defaultCreateOptionsWatcher(t){void 0!==t&&this.widget&&(this.widget.defaultCreateOptions=t)}defaultUpdateOptionsWatcher(t){void 0!==t&&this.widget&&(this.widget.defaultUpdateOptions=t)}labelOptionsWatcher(t){void 0!==t&&this.widget&&(this.widget.labelOptions=t)}layerWatcher(t){void 0!==t&&this.widget&&(this.widget.layer=t)}layoutWatcher(t){void 0!==t&&this.widget&&(this.widget.layout=t)}snappingOptionsWatcher(t){void 0!==t&&this.widget&&(this.widget.snappingOptions=t)}tooltipOptionsWatcher(t){void 0!==t&&this.widget&&(this.widget.tooltipOptions=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,this.widget.view.map?.add(this.layer))}async componentDidLoad(){const t=await this._createParams(),i=await h(t);this.widget=i,await this._addWatchers(),this.widgetReady.emit(!0),c(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.activeTool),(t=>this.activeTool=t),{initial:!0}),t((()=>this.widget.createGraphic),(t=>this.createGraphic=t),{initial:!0}),t((()=>this.widget.updateGraphics),(t=>this.updateGraphics=t),{initial:!0})}async _createParams(){this.layer=await o({title:"Sketch Layer",creationMode:"update"});const t={container:this.childElem,layer:this.layer};return this.view&&(t.view=this.view),this.availableCreateTools&&(t.availableCreateTools=this.availableCreateTools),this.creationMode&&(t.creationMode=this.creationMode),this.defaultCreateOptions&&(t.defaultCreateOptions=this.defaultCreateOptions),this.defaultUpdateOptions&&(t.defaultUpdateOptions=this.defaultUpdateOptions),this.labelOptions&&(t.labelOptions=this.labelOptions),this.layout&&(t.layout=this.layout),this.snappingOptions&&(t.snappingOptions=this.snappingOptions),this.tooltipOptions&&(t.tooltipOptions=this.tooltipOptions),t}get el(){return e(this)}static get watchers(){return{availableCreateTools:["availableCreateToolsWatcher"],creationMode:["creationModeWatcher"],defaultCreateOptions:["defaultCreateOptionsWatcher"],defaultUpdateOptions:["defaultUpdateOptionsWatcher"],labelOptions:["labelOptionsWatcher"],layer:["layerWatcher"],layout:["layoutWatcher"],snappingOptions:["snappingOptionsWatcher"],tooltipOptions:["tooltipOptionsWatcher"],position:["positionWatcher"],referenceElement:["referenceElementWatcher"],view:["viewWatcher"]}}};d.style="arcgis-sketch{}";export{d as arcgis_sketch}
@@ -0,0 +1 @@
1
+ function t(t){const e=t.el.closest("arcgis-expand")||t.expandElem;if(e?.widget)return t.view=e.view,e.widget.content=t.childElem,e.widget.expandIcon=t.widget.icon,e.widget.expandIconClass=t.widget.iconClass,!0;if(e){const n=()=>{t.view=e.view,e.widget.content=t.childElem,e.widget.expandIcon=t.widget.icon,e.widget.expandIconClass=t.widget.iconClass,e.removeEventListener("widgetReady",n,!1)};return e.addEventListener("widgetReady",n,!1),!0}return!1}function e(t){t.childElem?t.el.isConnected||(t.view&&"string"!=typeof t.view?t.view.ui.remove(t.childElem):t.widget?.view&&t.widget.view.ui.remove(t.childElem),t.widget?.destroy()):setTimeout((()=>{t.el.isConnected||(t.view&&"string"!=typeof t.view?t.view.ui.remove(t.el):t.widget?.view&&t.widget.view.ui.remove(t.el),t.widget?.destroy())}),1e3)}export{t as c,e as o}
@@ -0,0 +1 @@
1
+ import{r as t,c as i,h as s,g as e}from"./p-1e5e5ed9.js";import{o,i as r}from"./p-095e0075.js";import{r as h,c as a}from"./p-1401deea.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.conversions=void 0,this.currentLocation=void 0,this.formats=void 0,this.locationSymbol=void 0,this.mode=void 0,this.multipleConversions=void 0,this.orientation=void 0,this.storageEnabled=void 0,this.storageType=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)}conversionsWatcher(t){void 0!==t&&this.widget&&(this.widget.conversions=t)}formatsWatcher(t){void 0!==t&&this.widget&&(this.widget.formats=t)}locationSymbolWatcher(t){void 0!==t&&this.widget&&(this.widget.locationSymbol=t)}modeWatcher(t){void 0!==t&&this.widget&&(this.widget.mode=t)}multipleConversionsWatcher(t){void 0!==t&&this.widget&&(this.widget.multipleConversions=t)}orientationWatcher(t){void 0!==t&&this.widget&&(this.widget.orientation=t)}storageEnabledWatcher(t){void 0!==t&&this.widget&&(this.widget.storageEnabled=t)}storageTypeWatcher(t){void 0!==t&&this.widget&&(this.widget.storageType=t)}referenceElementWatcher(t){h(this,t)}viewWatcher(t){void 0!==t&&this.widget&&(this.widget.view=t)}async reverseConvert(t,i){return this.widget?.reverseConvert(t,i)}async componentDidLoad(){const t=this._createParams(),i=await o(t);this.widget=i,await this._addWatchers(),this.widgetReady.emit(!0),a(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.currentLocation),(t=>this.currentLocation=t),{initial:!0})}_createParams(){const t={container:this.childElem};return this.view&&(t.view=this.view),t}get el(){return e(this)}static get watchers(){return{position:["positionWatcher"],conversions:["conversionsWatcher"],formats:["formatsWatcher"],locationSymbol:["locationSymbolWatcher"],mode:["modeWatcher"],multipleConversions:["multipleConversionsWatcher"],orientation:["orientationWatcher"],storageEnabled:["storageEnabledWatcher"],storageType:["storageTypeWatcher"],referenceElement:["referenceElementWatcher"],view:["viewWatcher"]}}};c.style="";export{c as arcgis_coordinate_conversion}
@@ -0,0 +1 @@
1
+ import{r as t,c as i,h as e,g as s}from"./p-1e5e5ed9.js";import{L as a,i as r}from"./p-095e0075.js";import{r as h,c as o}from"./p-1401deea.js";import{o as n}from"./p-b813c9e6.js";const c=class{constructor(e){t(this,e),this.widgetReady=i(this,"widgetReady",7),this.referenceElement=void 0,this.activeTool=void 0,this.activeWidget=void 0,this.areaUnit=void 0,this.linearUnit=void 0,this.position="bottom-left",this.expandable=!1,this.view=void 0,this.widget=void 0}activeToolWatcher(t){void 0!==t&&this.widget&&(this.widget.activeTool=t)}areaUnitWatcher(t){void 0!==t&&this.widget&&(this.widget.areaUnit=t)}linearUnitWatcher(t){void 0!==t&&this.widget&&(this.widget.linearUnit=t)}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 startMeasurement(){return this.widget?.startMeasurement()}async componentDidLoad(){const t=this._createParams(),i=await a(t);this.widget=i,await this._addWatchers(),this.widgetReady.emit(!0),o(this)}disconnectedCallback(){n(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 r();t((()=>this.widget.activeWidget),(t=>this.activeWidget=t),{initial:!0})}_createParams(){const t={container:this.childElem};return this.view&&(t.view=this.view),t}get el(){return s(this)}static get watchers(){return{activeTool:["activeToolWatcher"],areaUnit:["areaUnitWatcher"],linearUnit:["linearUnitWatcher"],position:["positionWatcher"],referenceElement:["referenceElementWatcher"],view:["viewWatcher"]}}};c.style="arcgis-measurement{}";export{c as arcgis_measurement}
@@ -0,0 +1 @@
1
+ import{r as t,c as i,h as s,g as e}from"./p-1e5e5ed9.js";import{q as h,r,i as a}from"./p-095e0075.js";import{r as o,c}from"./p-1401deea.js";import{o as n}from"./p-b813c9e6.js";const d=class{constructor(s){t(this,s),this.widgetReady=i(this,"widgetReady",7),this.referenceElement=void 0,this.apiKey=void 0,this.itemId=void 0,this.lastRoute=void 0,this.layer=void 0,this.maxStops=void 0,this.searchProperties=void 0,this.unit=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)}apiKeyWatcher(t){t&&this.widget&&(this.widget.apiKey=t)}itemIdWatcher(t){t&&this.widget&&h({portalItem:{id:t}}).then((t=>{this.layer=t}))}layerWatcher(t){t&&this.widget&&(this.widget.layer=t,this.view?.map.add(this.layer))}maxStopsWatcher(t){t&&this.widget&&(this.widget.maxStops=t)}searchPropertiesWatcher(t){t&&this.widget&&(this.widget.searchProperties=t)}unitWatcher(t){t&&this.widget&&(this.widget.unit=t)}referenceElementWatcher(t){o(this,t)}viewWatcher(t){void 0!==t&&this.widget&&(this.widget.view=t,this.layer&&this.widget.view.map.add(this.layer))}async getDirections(){return this.widget?.getDirections()}async save(){return this.widget?.save()}async saveAs(t,i){return this.widget?.saveAs(t,i)}async zoomToRoute(){return this.widget?.zoomToRoute()}async componentDidLoad(){const t=await this._createParams(),i=await r(t);this.widget=i,await this._addWatchers(),this.widgetReady.emit(!0),c(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.lastRoute),(t=>this.lastRoute=t),{initial:!0})}async _createParams(){const t={container:this.childElem};return this.view&&(t.view=this.view),this.apiKey&&(t.apiKey=this.apiKey),this.itemId?(t.layer=await h({portalItem:{id:this.itemId}}),this.layer=t.layer):this.layer?(t.layer=this.layer,this.layer=t.layer):(t.layer=await h({}),this.layer=t.layer),void 0!==this.layer&&this.view?.map.add(this.layer),void 0!==this.maxStops&&(t.maxStops=this.maxStops),this.searchProperties&&(t.searchProperties=this.searchProperties),this.unit&&(t.unit=this.unit),t}get el(){return e(this)}static get watchers(){return{position:["positionWatcher"],apiKey:["apiKeyWatcher"],itemId:["itemIdWatcher"],layer:["layerWatcher"],maxStops:["maxStopsWatcher"],searchProperties:["searchPropertiesWatcher"],unit:["unitWatcher"],referenceElement:["referenceElementWatcher"],view:["viewWatcher"]}}};d.style="";export{d as arcgis_directions}
@@ -0,0 +1 @@
1
+ import{r as i,c as t,h as e,g as s}from"./p-1e5e5ed9.js";import{I as h}from"./p-095e0075.js";import{r,c as a}from"./p-1401deea.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(!0),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}
@@ -0,0 +1 @@
1
+ import{r as t,c as i,h as s,g as e}from"./p-1e5e5ed9.js";import{W as h,i as r}from"./p-095e0075.js";import{r as a,c as o}from"./p-1401deea.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.analysis=void 0,this.view=void 0,this.position="bottom-left",this.expandable=!1,this.widget=void 0,this.headingLevel=void 0}positionWatcher(t){void 0!==t&&this.widget&&"string"!=typeof this.view&&this.view.ui.move(this.childElem,t)}headingLevelWatcher(t){void 0!==t&&this.widget&&this.widget.headingLevel!==t&&(this.widget.headingLevel=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(!0),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.analysis),(t=>this.analysis=t),{initial:!0})}_createParams(){const t={container:this.childElem};return this.view&&(t.view=this.view),t}get el(){return e(this)}static get watchers(){return{position:["positionWatcher"],headingLevel:["headingLevelWatcher"],referenceElement:["referenceElementWatcher"],view:["viewWatcher"]}}};n.style="arcgis-slice{}";export{n as arcgis_slice}
@@ -0,0 +1 @@
1
+ import{r as t,c as i,h as s,g as e}from"./p-1e5e5ed9.js";import{t as h}from"./p-095e0075.js";import{r,c as o}from"./p-1401deea.js";import{o as n}from"./p-b813c9e6.js";const a=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.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){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(!0),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})}_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"]}}};a.style="";export{a as arcgis_distance_measurement_2d}
@@ -0,0 +1 @@
1
+ import{r as t,c as s,g as i}from"./p-1e5e5ed9.js";import{x as o}from"./p-095e0075.js";const e=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(!0)}get el(){return i(this)}};e.style="";export{e as arcgis_feature_form}
@@ -0,0 +1 @@
1
+ import{r as t,c as i,h,g as e}from"./p-1e5e5ed9.js";import{y as s,z as a,i as r}from"./p-095e0075.js";import{r as n,c as o}from"./p-1401deea.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 s({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 s({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(!0),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 e(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}
@@ -0,0 +1 @@
1
+ import{r as t,c as i,h as s,g as e}from"./p-1e5e5ed9.js";import{e as r,i as h}from"./p-095e0075.js";import{r as a,c as o}from"./p-1401deea.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 r(t);this.widget=i,await this._addWatchers(),this.widgetReady.emit(!0),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 h();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}
@@ -0,0 +1 @@
1
+ import{r as t,c as i,h as e,g as s}from"./p-1e5e5ed9.js";import{h,i as a}from"./p-095e0075.js";import{r,c as o}from"./p-1401deea.js";import{o as c}from"./p-b813c9e6.js";const n=class{constructor(e){t(this,e),this.widgetReady=i(this,"widgetReady",7),this.referenceElement=void 0,this.basemapTitle=void 0,this.baseItems=void 0,this.editingEnabled=!1,this.mulitpleSelectionEnabled=!1,this.position="bottom-left",this.expandable=!1,this.referenceItems=void 0,this.selectedItems=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)}basemapTitleWatcher(t){void 0!==t&&this.widget&&(this.widget.basemapTitle=t)}editingBasemapEnabledWatcher(t){void 0!==t&&this.widget&&(this.widget.editingEnabled=t)}multipleSelectionEnabledWatcher(t){void 0!==t&&this.widget&&(this.widget.multipleSelectionEnabled=t)}selectedItemsWatcher(t){void 0!==t&&this.widget&&(this.widget.selectedItems=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.widgetReady.emit(!0),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})}_createParams(){const t={container:this.childElem};return this.basemapTitle&&(t.basemapTitle=this.basemapTitle),void 0!==this.editingEnabled&&(t.editingEnabled=this.editingEnabled),void 0!==this.mulitpleSelectionEnabled&&(t.multipleSelectionEnabled=this.mulitpleSelectionEnabled),this.view&&(t.view=this.view),t}async _addWatchers(){const{watch:t}=await a();t((()=>this.widget.basemapTitle),(t=>this.basemapTitle=t),{initial:!0}),t((()=>this.widget.editingEnabled),(t=>this.editingEnabled=t),{initial:!0}),t((()=>this.widget.multipleSelectionEnabled),(t=>this.mulitpleSelectionEnabled=t),{initial:!0}),t((()=>this.widget.referenceItems),(t=>this.referenceItems=t),{initial:!0}),t((()=>this.widget.selectedItems),(t=>this.selectedItems=t),{initial:!0})}get el(){return s(this)}static get watchers(){return{position:["positionWatcher"],basemapTitle:["basemapTitleWatcher"],editingEnabled:["editingBasemapEnabledWatcher"],mulitpleSelectionEnabled:["multipleSelectionEnabledWatcher"],selectedItems:["selectedItemsWatcher"],referenceElement:["referenceElementWatcher"],view:["viewWatcher"]}}};n.style="";export{n as arcgis_basemap_layer_list}
@@ -0,0 +1 @@
1
+ import{r as t,c as i,h as s,g as e}from"./p-1e5e5ed9.js";import{s as h,i as r}from"./p-095e0075.js";import{r as a,c as o}from"./p-1401deea.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(!0),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}
@@ -0,0 +1 @@
1
+ import{r as t,c as e,h as i,g as s}from"./p-1e5e5ed9.js";import{M as r}from"./p-095e0075.js";import{r as o,c as a}from"./p-1401deea.js";import{o as h}from"./p-b813c9e6.js";const c=class{constructor(i){t(this,i),this.widgetReady=e(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(),e=await r(t);this.widget=e,this.widgetReady.emit(!0),a(this)}disconnectedCallback(){h(this)}render(){return i("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}
@@ -0,0 +1 @@
1
+ import{r as t,c as i,h as e,g as s}from"./p-1e5e5ed9.js";import{p as r}from"./p-095e0075.js";import{r as h,c as a}from"./p-1401deea.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.dateOrSeason=void 0,this.playSpeedMultiplier=void 0,this.timeSliderSteps=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)}dateOrSeasonWatcher(t){void 0!==t&&this.widget&&(this.widget.dateOrSeason=t)}playSpeedMultiplierWatcher(t){void 0!==t&&this.widget&&(this.widget.playSpeedMultiplier=t)}timeSliderStepsWatcher(t){void 0!==t&&this.widget&&(this.widget.timeSliderSteps=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(!0),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 this.view&&(t.view=this.view),this.dateOrSeason&&(t.dateOrSeason=this.dateOrSeason),this.playSpeedMultiplier&&(t.playSpeedMultiplier=this.playSpeedMultiplier),this.timeSliderSteps&&(t.timeSliderSteps=this.timeSliderSteps),t}get el(){return s(this)}static get watchers(){return{position:["positionWatcher"],dateOrSeason:["dateOrSeasonWatcher"],playSpeedMultiplier:["playSpeedMultiplierWatcher"],timeSliderSteps:["timeSliderStepsWatcher"],referenceElement:["referenceElementWatcher"],view:["viewWatcher"]}}};c.style="";export{c as arcgis_daylight}
@@ -0,0 +1 @@
1
+ import{r as t,c as i,h as s,g as e}from"./p-1e5e5ed9.js";import{n as h,i as a,a as r,b as c,c as o,d as n}from"./p-095e0075.js";import{r as d,c as p}from"./p-1401deea.js";import{o as m}from"./p-b813c9e6.js";import{d as v}from"./p-5cabdee7.js";const g=class{constructor(s){t(this,s),this.widgetReady=i(this,"widgetReady",7),this.referenceElement=void 0,this.activeBasemap=void 0,this.position="bottom-left",this.expandable=!1,this.source=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){d(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.widget.when((()=>{this.source=this.widget.source})),await this._addWatchers(),this.widgetReady.emit(!0),p(this)}disconnectedCallback(){m(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.source),(()=>this.source=this.widget.source)),t((()=>this.widget.activeBasemap),(t=>this.activeBasemap=t))}_createParams(){const t={container:this.childElem};return this.view&&(t.view=this.view),t}get el(){return e(this)}static get watchers(){return{position:["positionWatcher"],referenceElement:["referenceElementWatcher"],view:["viewWatcher"]}}};g.style="";const w=class{constructor(s){t(this,s),this.widgetReady=i(this,"widgetReady",7),this.referenceElement=void 0,this.position="top-right",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){d(this,t)}viewWatcher(t){void 0!==t&&this.widget&&(this.widget.view=t)}async componentDidLoad(){const t=await r({container:this.childElem});this.widget=t,this.view&&(this.widget.view=this.view),this._checkForView()}disconnectedCallback(){m(this)}render(){return s("div",{ref:t=>this.childElem=t})}_checkForView(){const t=this.el.closest("arcgis-map")||this.el.closest("arcgis-scene");t?.view?(this.view=t.view,this.view.ui.add(this.childElem,this.position),this.widgetReady.emit(!0)):t&&t.addEventListener("viewReady",(()=>{this.view=t.view,this.view.ui.add(this.childElem,this.position),this.widgetReady.emit(!0)}),!1)}get el(){return e(this)}static get watchers(){return{position:["positionWatcher"],referenceElement:["referenceElementWatcher"],view:["viewWatcher"]}}};w.style="arcgis-expand>.esri-expand__content--expanded{background-color:var(--calcite-ui-background)}";const l=class{constructor(s){t(this,s),this.viewReady=i(this,"viewReady",7),this.apiKey=void 0,this.basemap=void 0,this.disableNavigation=!1,this.itemId=void 0,this.zoom=void 0,this.center=void 0,this.view=void 0}apiKeyWatcher(t){this.config.apiKey=t}itemIdWatcher(t,i){t&&t!==i&&this.loadMap()}async componentWillLoad(){this.config=await c(),this.apiKey&&(this.config.apiKey=this.apiKey),await this.loadMap()}componentDidRender(){this.view&&(this.view.container=this.el)}render(){return s("div",{class:"arcgis-map",ref:t=>this.el=t})}async loadMap(){const t={};this.itemId&&(t.portalItem={id:this.itemId}),this.basemap&&(t.basemap=this.basemap);const i=await o(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 e=await n({map:i,...s}),{watch:h}=await a();this.view=e,h((()=>this.view.center),(t=>{this.center=`${t.longitude},${t.latitude}`})),h((()=>this.view.zoom),(t=>this.zoom=t)),this.disableNavigation&&v(this.view),this.viewReady.emit(!0)}get hostElem(){return e(this)}static get watchers(){return{apiKey:["apiKeyWatcher"],itemId:["itemIdWatcher"]}}};l.style=".arcgis-map{padding:0;margin:0;height:100%;width:100%}";export{g as arcgis_basemap_gallery,w as arcgis_expand,l as arcgis_map}
@@ -0,0 +1 @@
1
+ import{r as i,c as t,h as s,g as h}from"./p-1e5e5ed9.js";import{X as e,i as a}from"./p-095e0075.js";import{c as r}from"./p-1401deea.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(!0),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}
@@ -0,0 +1 @@
1
+ import{r as t,c as s,h as i,g as e}from"./p-1e5e5ed9.js";import{A as r}from"./p-095e0075.js";import{c as a}from"./p-1401deea.js";import{o}from"./p-b813c9e6.js";const h=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,this.layers=void 0}layersWatcher(t){void 0!==t&&this.widget&&(this.widget.layers=t)}async componentDidLoad(){const t=this._createParams(),s=await r(t);this.widget=s,a(this)}disconnectedCallback(){o(this)}render(){return this.expandable?i("arcgis-expand",{position:this.position,ref:t=>this.expandElem=t},i("div",{ref:t=>this.childElem=t})):i("div",{ref:t=>this.childElem=t})}_createParams(){const t={container:this.childElem};return this.layers&&(t.layers=this.layers),t}get el(){return e(this)}static get watchers(){return{layers:["layersWatcher"]}}};h.style="";export{h as arcgis_feature_templates}
@@ -0,0 +1,101 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ const index = require('./index-6b51d5a0.js');
6
+ const index$1 = require('./index-ef2acc94.js');
7
+ const componentUtils = require('./component-utils-933b7aca.js');
8
+ const disconnected = require('./disconnected-306cb220.js');
9
+
10
+ const arcgisAreaMeasurement2dCss = "";
11
+
12
+ const ArcgisAreaMeasurement2d = class {
13
+ constructor(hostRef) {
14
+ index.registerInstance(this, hostRef);
15
+ this.widgetReady = index.createEvent(this, "widgetReady", 7);
16
+ this.referenceElement = undefined;
17
+ this.position = "bottom-left";
18
+ this.expandable = false;
19
+ this.unit = undefined;
20
+ this.unitOptions = undefined;
21
+ this.view = undefined;
22
+ this.widget = undefined;
23
+ }
24
+ //--------------------------------------------------------------------------
25
+ //
26
+ // Watchers
27
+ //
28
+ //--------------------------------------------------------------------------
29
+ positionWatcher(newValue) {
30
+ if (newValue !== undefined && this.widget) {
31
+ if (typeof this.view !== "string") {
32
+ this.view.ui.move(this.childElem, newValue);
33
+ }
34
+ }
35
+ }
36
+ referenceElementWatcher(newValue) {
37
+ componentUtils.referenceElementHelper(this, newValue);
38
+ }
39
+ viewWatcher(newValue) {
40
+ if (newValue !== undefined && this.widget) {
41
+ this.widget.view = newValue;
42
+ }
43
+ }
44
+ //--------------------------------------------------------------------------
45
+ //
46
+ // Lifecycle
47
+ //
48
+ //--------------------------------------------------------------------------
49
+ async componentDidLoad() {
50
+ const params = this._createParams();
51
+ const widget = await index$1.newWidgetsAreaMeasurement2D(params);
52
+ this.widget = widget;
53
+ await this._addWatchers();
54
+ this.widgetReady.emit(true);
55
+ componentUtils.checkForView(this);
56
+ }
57
+ disconnectedCallback() {
58
+ disconnected.onDisconnectedHelper(this);
59
+ }
60
+ render() {
61
+ if (this.expandable) {
62
+ return (index.h("arcgis-expand", { position: this.position, ref: (el) => (this.expandElem = el) }, index.h("div", { ref: (el) => (this.childElem = el) })));
63
+ }
64
+ return index.h("div", { ref: (el) => (this.childElem = el) });
65
+ }
66
+ //--------------------------------------------------------------------------
67
+ //
68
+ // Private Methods
69
+ //
70
+ //--------------------------------------------------------------------------
71
+ async _addWatchers() {
72
+ const { watch } = await index$1.importCoreReactiveUtils();
73
+ watch(() => this.widget.unit, (value) => (this.unit = value), {
74
+ initial: true
75
+ });
76
+ }
77
+ _createParams() {
78
+ const params = {
79
+ container: this.childElem
80
+ };
81
+ if (this.view) {
82
+ params.view = this.view;
83
+ }
84
+ if (this.unit) {
85
+ params.unit = this.unit;
86
+ }
87
+ if (this.unitOptions) {
88
+ params.unitOptions = this.unitOptions;
89
+ }
90
+ return params;
91
+ }
92
+ get el() { return index.getElement(this); }
93
+ static get watchers() { return {
94
+ "position": ["positionWatcher"],
95
+ "referenceElement": ["referenceElementWatcher"],
96
+ "view": ["viewWatcher"]
97
+ }; }
98
+ };
99
+ ArcgisAreaMeasurement2d.style = arcgisAreaMeasurement2dCss;
100
+
101
+ exports.arcgis_area_measurement_2d = ArcgisAreaMeasurement2d;
@@ -0,0 +1,94 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ const index = require('./index-6b51d5a0.js');
6
+ const index$1 = require('./index-ef2acc94.js');
7
+ const componentUtils = require('./component-utils-933b7aca.js');
8
+ const disconnected = require('./disconnected-306cb220.js');
9
+
10
+ const arcgisAreaMeasurement3dCss = "";
11
+
12
+ const ArcgisAreaMeasurement3d = class {
13
+ constructor(hostRef) {
14
+ index.registerInstance(this, hostRef);
15
+ this.widgetReady = index.createEvent(this, "widgetReady", 7);
16
+ this.referenceElement = undefined;
17
+ this.position = "bottom-left";
18
+ this.expandable = false;
19
+ this.unit = undefined;
20
+ this.unitOptions = undefined;
21
+ this.view = undefined;
22
+ this.widget = undefined;
23
+ }
24
+ //--------------------------------------------------------------------------
25
+ //
26
+ // Watchers
27
+ //
28
+ //--------------------------------------------------------------------------
29
+ positionWatcher(newValue) {
30
+ if (newValue !== undefined && this.widget) {
31
+ if (typeof this.view !== "string") {
32
+ this.view.ui.move(this.childElem, newValue);
33
+ }
34
+ }
35
+ }
36
+ referenceElementWatcher(newValue) {
37
+ componentUtils.referenceElementHelper(this, newValue);
38
+ }
39
+ viewWatcher(newValue) {
40
+ if (newValue !== undefined && this.widget) {
41
+ this.widget.view = newValue;
42
+ }
43
+ }
44
+ //--------------------------------------------------------------------------
45
+ //
46
+ // Lifecycle
47
+ //
48
+ //--------------------------------------------------------------------------
49
+ async componentDidLoad() {
50
+ const params = this._createParams();
51
+ const widget = await index$1.newWidgetsAreaMeasurement3D(params);
52
+ this.widget = widget;
53
+ this.widgetReady.emit(true);
54
+ componentUtils.checkForView(this);
55
+ }
56
+ disconnectedCallback() {
57
+ disconnected.onDisconnectedHelper(this);
58
+ }
59
+ render() {
60
+ if (this.expandable) {
61
+ return (index.h("arcgis-expand", { position: this.position, ref: (el) => (this.expandElem = el) }, index.h("div", { ref: (el) => (this.childElem = el) })));
62
+ }
63
+ return index.h("div", { ref: (el) => (this.childElem = el) });
64
+ }
65
+ //--------------------------------------------------------------------------
66
+ //
67
+ // Private Methods
68
+ //
69
+ //--------------------------------------------------------------------------
70
+ _createParams() {
71
+ const params = {
72
+ container: this.childElem
73
+ };
74
+ if (this.view) {
75
+ params.view = this.view;
76
+ }
77
+ if (this.unit) {
78
+ params.unit = this.unit;
79
+ }
80
+ if (this.unitOptions) {
81
+ params.unitOptions = this.unitOptions;
82
+ }
83
+ return params;
84
+ }
85
+ get el() { return index.getElement(this); }
86
+ static get watchers() { return {
87
+ "position": ["positionWatcher"],
88
+ "referenceElement": ["referenceElementWatcher"],
89
+ "view": ["viewWatcher"]
90
+ }; }
91
+ };
92
+ ArcgisAreaMeasurement3d.style = arcgisAreaMeasurement3dCss;
93
+
94
+ exports.arcgis_area_measurement_3d = ArcgisAreaMeasurement3d;
@@ -0,0 +1,73 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ const index = require('./index-6b51d5a0.js');
6
+ const index$1 = require('./index-ef2acc94.js');
7
+ const disconnected = require('./disconnected-306cb220.js');
8
+
9
+ const arcgisAttachmentsCss = "";
10
+
11
+ const ArcgisAttachments = class {
12
+ constructor(hostRef) {
13
+ index.registerInstance(this, hostRef);
14
+ this.widgetReady = index.createEvent(this, "widgetReady", 7);
15
+ this.referenceElement = undefined;
16
+ this.position = "bottom-left";
17
+ this.expandable = false;
18
+ this.graphic = undefined;
19
+ this.widget = undefined;
20
+ }
21
+ //--------------------------------------------------------------------------
22
+ //
23
+ // Watchers
24
+ //
25
+ //--------------------------------------------------------------------------
26
+ graphicWatcher(newValue) {
27
+ if (newValue !== undefined && this.widget) {
28
+ this.widget.graphic = newValue;
29
+ }
30
+ }
31
+ //--------------------------------------------------------------------------
32
+ //
33
+ // Lifecycle
34
+ //
35
+ //--------------------------------------------------------------------------
36
+ async componentDidLoad() {
37
+ const params = this._createParams();
38
+ const widget = await index$1.newWidgetsAttachments(params);
39
+ this.widget = widget;
40
+ this.widgetReady.emit(true);
41
+ disconnected.checkForExpand(this);
42
+ }
43
+ disconnectedCallback() {
44
+ disconnected.onDisconnectedHelper(this);
45
+ }
46
+ render() {
47
+ if (this.expandable) {
48
+ return (index.h("arcgis-expand", { position: this.position, ref: (el) => (this.expandElem = el) }, index.h("div", { ref: (el) => (this.childElem = el) })));
49
+ }
50
+ return index.h("div", { ref: (el) => (this.childElem = el) });
51
+ }
52
+ //--------------------------------------------------------------------------
53
+ //
54
+ // Private Methods
55
+ //
56
+ //--------------------------------------------------------------------------
57
+ _createParams() {
58
+ const params = {
59
+ container: this.childElem
60
+ };
61
+ if (this.graphic) {
62
+ params.graphic = this.graphic;
63
+ }
64
+ return params;
65
+ }
66
+ get el() { return index.getElement(this); }
67
+ static get watchers() { return {
68
+ "graphic": ["graphicWatcher"]
69
+ }; }
70
+ };
71
+ ArcgisAttachments.style = arcgisAttachmentsCss;
72
+
73
+ exports.arcgis_attachments = ArcgisAttachments;