@arcgis/map-components 1.0.0-beta.14

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 (354) hide show
  1. package/LICENSE.md +13 -0
  2. package/dist/arcgis-map-components/arcgis-map-components.esm.js +1 -0
  3. package/dist/arcgis-map-components/index.esm.js +0 -0
  4. package/dist/arcgis-map-components/p-095e0075.js +1 -0
  5. package/dist/arcgis-map-components/p-0a81674b.entry.js +1 -0
  6. package/dist/arcgis-map-components/p-0b5368a6.entry.js +1 -0
  7. package/dist/arcgis-map-components/p-0dddef29.entry.js +1 -0
  8. package/dist/arcgis-map-components/p-0decaa03.entry.js +1 -0
  9. package/dist/arcgis-map-components/p-1126ae71.entry.js +1 -0
  10. package/dist/arcgis-map-components/p-1307fe8a.entry.js +1 -0
  11. package/dist/arcgis-map-components/p-1401deea.js +1 -0
  12. package/dist/arcgis-map-components/p-1e5e5ed9.js +2 -0
  13. package/dist/arcgis-map-components/p-23530601.entry.js +1 -0
  14. package/dist/arcgis-map-components/p-3b5c0098.entry.js +1 -0
  15. package/dist/arcgis-map-components/p-406f187c.entry.js +1 -0
  16. package/dist/arcgis-map-components/p-5396bcb5.entry.js +1 -0
  17. package/dist/arcgis-map-components/p-5a87f5c4.entry.js +1 -0
  18. package/dist/arcgis-map-components/p-5cabdee7.js +1 -0
  19. package/dist/arcgis-map-components/p-69214958.entry.js +1 -0
  20. package/dist/arcgis-map-components/p-6e69fe28.entry.js +1 -0
  21. package/dist/arcgis-map-components/p-741086a4.entry.js +1 -0
  22. package/dist/arcgis-map-components/p-79080368.entry.js +1 -0
  23. package/dist/arcgis-map-components/p-7e5545cf.entry.js +1 -0
  24. package/dist/arcgis-map-components/p-7e90f27c.entry.js +1 -0
  25. package/dist/arcgis-map-components/p-80fd5534.entry.js +1 -0
  26. package/dist/arcgis-map-components/p-81a3bd3b.entry.js +1 -0
  27. package/dist/arcgis-map-components/p-85b278c1.entry.js +1 -0
  28. package/dist/arcgis-map-components/p-866d57e1.entry.js +1 -0
  29. package/dist/arcgis-map-components/p-86acdf29.entry.js +1 -0
  30. package/dist/arcgis-map-components/p-8bf81a13.entry.js +1 -0
  31. package/dist/arcgis-map-components/p-95287b70.entry.js +1 -0
  32. package/dist/arcgis-map-components/p-95aa4e86.entry.js +1 -0
  33. package/dist/arcgis-map-components/p-9634a446.entry.js +1 -0
  34. package/dist/arcgis-map-components/p-9d16369e.entry.js +1 -0
  35. package/dist/arcgis-map-components/p-a094dafc.entry.js +1 -0
  36. package/dist/arcgis-map-components/p-a6ab7f72.entry.js +1 -0
  37. package/dist/arcgis-map-components/p-a7715a1a.entry.js +1 -0
  38. package/dist/arcgis-map-components/p-aa73b1cb.entry.js +1 -0
  39. package/dist/arcgis-map-components/p-ae017ef1.entry.js +1 -0
  40. package/dist/arcgis-map-components/p-b5182c68.entry.js +1 -0
  41. package/dist/arcgis-map-components/p-b813c9e6.js +1 -0
  42. package/dist/arcgis-map-components/p-bfb9ceb4.entry.js +1 -0
  43. package/dist/arcgis-map-components/p-c28ede1a.entry.js +1 -0
  44. package/dist/arcgis-map-components/p-c64bceeb.entry.js +1 -0
  45. package/dist/arcgis-map-components/p-c726b024.entry.js +1 -0
  46. package/dist/arcgis-map-components/p-d0dc4119.entry.js +1 -0
  47. package/dist/arcgis-map-components/p-d2274db9.entry.js +1 -0
  48. package/dist/arcgis-map-components/p-d5b79b4e.entry.js +1 -0
  49. package/dist/arcgis-map-components/p-d9c0253a.entry.js +1 -0
  50. package/dist/arcgis-map-components/p-db02ac80.entry.js +1 -0
  51. package/dist/arcgis-map-components/p-dfbbbdad.entry.js +1 -0
  52. package/dist/arcgis-map-components/p-e432eb73.entry.js +1 -0
  53. package/dist/arcgis-map-components/p-e4f5a3f5.entry.js +1 -0
  54. package/dist/arcgis-map-components/p-f32183ab.entry.js +1 -0
  55. package/dist/arcgis-map-components/p-f9b78102.entry.js +1 -0
  56. package/dist/arcgis-map-components/p-fa591c93.entry.js +1 -0
  57. package/dist/arcgis-map-components/p-fee8b15a.entry.js +1 -0
  58. package/dist/cjs/arcgis-area-measurement-2d.cjs.entry.js +101 -0
  59. package/dist/cjs/arcgis-area-measurement-3d.cjs.entry.js +94 -0
  60. package/dist/cjs/arcgis-attachments.cjs.entry.js +73 -0
  61. package/dist/cjs/arcgis-basemap-gallery_3.cjs.entry.js +281 -0
  62. package/dist/cjs/arcgis-basemap-layer-list.cjs.entry.js +144 -0
  63. package/dist/cjs/arcgis-basemap-toggle.cjs.entry.js +115 -0
  64. package/dist/cjs/arcgis-bookmarks.cjs.entry.js +140 -0
  65. package/dist/cjs/arcgis-building-explorer.cjs.entry.js +80 -0
  66. package/dist/cjs/arcgis-compass.cjs.entry.js +90 -0
  67. package/dist/cjs/arcgis-coordinate-conversion.cjs.entry.js +158 -0
  68. package/dist/cjs/arcgis-daylight.cjs.entry.js +116 -0
  69. package/dist/cjs/arcgis-directions.cjs.entry.js +194 -0
  70. package/dist/cjs/arcgis-directline-measurement-3d.cjs.entry.js +114 -0
  71. package/dist/cjs/arcgis-distance-measurement-2d.cjs.entry.js +106 -0
  72. package/dist/cjs/arcgis-editor.cjs.entry.js +180 -0
  73. package/dist/cjs/arcgis-elevation-profile.cjs.entry.js +136 -0
  74. package/dist/cjs/arcgis-feature-form.cjs.entry.js +36 -0
  75. package/dist/cjs/arcgis-feature-table.cjs.entry.js +300 -0
  76. package/dist/cjs/arcgis-feature-templates.cjs.entry.js +73 -0
  77. package/dist/cjs/arcgis-feature.cjs.entry.js +106 -0
  78. package/dist/cjs/arcgis-features.cjs.entry.js +133 -0
  79. package/dist/cjs/arcgis-floor-filter.cjs.entry.js +134 -0
  80. package/dist/cjs/arcgis-fullscreen.cjs.entry.js +92 -0
  81. package/dist/cjs/arcgis-histogram-range-slider.cjs.entry.js +80 -0
  82. package/dist/cjs/arcgis-histogram.cjs.entry.js +36 -0
  83. package/dist/cjs/arcgis-home.cjs.entry.js +108 -0
  84. package/dist/cjs/arcgis-layer-list.cjs.entry.js +128 -0
  85. package/dist/cjs/arcgis-legend.cjs.entry.js +146 -0
  86. package/dist/cjs/arcgis-line-of-sight.cjs.entry.js +94 -0
  87. package/dist/cjs/arcgis-locate.cjs.entry.js +158 -0
  88. package/dist/cjs/arcgis-map-components.cjs.js +23 -0
  89. package/dist/cjs/arcgis-measurement.cjs.entry.js +123 -0
  90. package/dist/cjs/arcgis-navigation-toggle.cjs.entry.js +97 -0
  91. package/dist/cjs/arcgis-print.cjs.entry.js +163 -0
  92. package/dist/cjs/arcgis-scale-bar.cjs.entry.js +106 -0
  93. package/dist/cjs/arcgis-scale-range-slider.cjs.entry.js +146 -0
  94. package/dist/cjs/arcgis-scene.cjs.entry.js +106 -0
  95. package/dist/cjs/arcgis-search.cjs.entry.js +276 -0
  96. package/dist/cjs/arcgis-shadow-cast.cjs.entry.js +95 -0
  97. package/dist/cjs/arcgis-sketch.cjs.entry.js +201 -0
  98. package/dist/cjs/arcgis-slice.cjs.entry.js +103 -0
  99. package/dist/cjs/arcgis-slider.cjs.entry.js +233 -0
  100. package/dist/cjs/arcgis-swipe.cjs.entry.js +117 -0
  101. package/dist/cjs/arcgis-table-list.cjs.entry.js +118 -0
  102. package/dist/cjs/arcgis-time-slider.cjs.entry.js +216 -0
  103. package/dist/cjs/arcgis-track.cjs.entry.js +147 -0
  104. package/dist/cjs/arcgis-utility-network-trace.cjs.entry.js +162 -0
  105. package/dist/cjs/arcgis-value-picker.cjs.entry.js +160 -0
  106. package/dist/cjs/arcgis-weather.cjs.entry.js +86 -0
  107. package/dist/cjs/arcgis-zoom.cjs.entry.js +100 -0
  108. package/dist/cjs/component-utils-933b7aca.js +76 -0
  109. package/dist/cjs/disconnected-306cb220.js +55 -0
  110. package/dist/cjs/index-6b51d5a0.js +1607 -0
  111. package/dist/cjs/index-ef2acc94.js +717 -0
  112. package/dist/cjs/index.cjs.js +2 -0
  113. package/dist/cjs/loader.cjs.js +22 -0
  114. package/dist/cjs/mapping-utils-c2c7b994.js +40 -0
  115. package/dist/components/arcgis-area-measurement-2d.d.ts +11 -0
  116. package/dist/components/arcgis-area-measurement-2d.js +128 -0
  117. package/dist/components/arcgis-area-measurement-3d.d.ts +11 -0
  118. package/dist/components/arcgis-area-measurement-3d.js +121 -0
  119. package/dist/components/arcgis-attachments.d.ts +11 -0
  120. package/dist/components/arcgis-attachments.js +99 -0
  121. package/dist/components/arcgis-basemap-gallery.d.ts +11 -0
  122. package/dist/components/arcgis-basemap-gallery.js +124 -0
  123. package/dist/components/arcgis-basemap-layer-list.d.ts +11 -0
  124. package/dist/components/arcgis-basemap-layer-list.js +175 -0
  125. package/dist/components/arcgis-basemap-toggle.d.ts +11 -0
  126. package/dist/components/arcgis-basemap-toggle.js +143 -0
  127. package/dist/components/arcgis-bookmarks.d.ts +11 -0
  128. package/dist/components/arcgis-bookmarks.js +169 -0
  129. package/dist/components/arcgis-building-explorer.d.ts +11 -0
  130. package/dist/components/arcgis-building-explorer.js +105 -0
  131. package/dist/components/arcgis-compass.d.ts +11 -0
  132. package/dist/components/arcgis-compass.js +109 -0
  133. package/dist/components/arcgis-coordinate-conversion.d.ts +11 -0
  134. package/dist/components/arcgis-coordinate-conversion.js +193 -0
  135. package/dist/components/arcgis-daylight.d.ts +11 -0
  136. package/dist/components/arcgis-daylight.js +144 -0
  137. package/dist/components/arcgis-directions.d.ts +11 -0
  138. package/dist/components/arcgis-directions.js +230 -0
  139. package/dist/components/arcgis-directline-measurement-3d.d.ts +11 -0
  140. package/dist/components/arcgis-directline-measurement-3d.js +142 -0
  141. package/dist/components/arcgis-distance-measurement-2d.d.ts +11 -0
  142. package/dist/components/arcgis-distance-measurement-2d.js +133 -0
  143. package/dist/components/arcgis-editor.d.ts +11 -0
  144. package/dist/components/arcgis-editor.js +219 -0
  145. package/dist/components/arcgis-elevation-profile.d.ts +11 -0
  146. package/dist/components/arcgis-elevation-profile.js +166 -0
  147. package/dist/components/arcgis-expand.d.ts +11 -0
  148. package/dist/components/arcgis-expand.js +6 -0
  149. package/dist/components/arcgis-expand2.js +107 -0
  150. package/dist/components/arcgis-feature-form.d.ts +11 -0
  151. package/dist/components/arcgis-feature-form.js +55 -0
  152. package/dist/components/arcgis-feature-table.d.ts +11 -0
  153. package/dist/components/arcgis-feature-table.js +355 -0
  154. package/dist/components/arcgis-feature-templates.d.ts +11 -0
  155. package/dist/components/arcgis-feature-templates.js +98 -0
  156. package/dist/components/arcgis-feature.d.ts +11 -0
  157. package/dist/components/arcgis-feature.js +133 -0
  158. package/dist/components/arcgis-features.d.ts +11 -0
  159. package/dist/components/arcgis-features.js +169 -0
  160. package/dist/components/arcgis-floor-filter.d.ts +11 -0
  161. package/dist/components/arcgis-floor-filter.js +164 -0
  162. package/dist/components/arcgis-fullscreen.d.ts +11 -0
  163. package/dist/components/arcgis-fullscreen.js +111 -0
  164. package/dist/components/arcgis-histogram-range-slider.d.ts +11 -0
  165. package/dist/components/arcgis-histogram-range-slider.js +106 -0
  166. package/dist/components/arcgis-histogram.d.ts +11 -0
  167. package/dist/components/arcgis-histogram.js +55 -0
  168. package/dist/components/arcgis-home.d.ts +11 -0
  169. package/dist/components/arcgis-home.js +129 -0
  170. package/dist/components/arcgis-layer-list.d.ts +11 -0
  171. package/dist/components/arcgis-layer-list.js +158 -0
  172. package/dist/components/arcgis-legend.d.ts +11 -0
  173. package/dist/components/arcgis-legend.js +177 -0
  174. package/dist/components/arcgis-line-of-sight.d.ts +11 -0
  175. package/dist/components/arcgis-line-of-sight.js +120 -0
  176. package/dist/components/arcgis-locate.d.ts +11 -0
  177. package/dist/components/arcgis-locate.js +184 -0
  178. package/dist/components/arcgis-map.d.ts +11 -0
  179. package/dist/components/arcgis-map.js +130 -0
  180. package/dist/components/arcgis-measurement.d.ts +11 -0
  181. package/dist/components/arcgis-measurement.js +153 -0
  182. package/dist/components/arcgis-navigation-toggle.d.ts +11 -0
  183. package/dist/components/arcgis-navigation-toggle.js +117 -0
  184. package/dist/components/arcgis-print.d.ts +11 -0
  185. package/dist/components/arcgis-print.js +197 -0
  186. package/dist/components/arcgis-scale-bar.d.ts +11 -0
  187. package/dist/components/arcgis-scale-bar.js +133 -0
  188. package/dist/components/arcgis-scale-range-slider.d.ts +11 -0
  189. package/dist/components/arcgis-scale-range-slider.js +177 -0
  190. package/dist/components/arcgis-scene.d.ts +11 -0
  191. package/dist/components/arcgis-scene.js +127 -0
  192. package/dist/components/arcgis-search.d.ts +11 -0
  193. package/dist/components/arcgis-search.js +330 -0
  194. package/dist/components/arcgis-shadow-cast.d.ts +11 -0
  195. package/dist/components/arcgis-shadow-cast.js +121 -0
  196. package/dist/components/arcgis-sketch.d.ts +11 -0
  197. package/dist/components/arcgis-sketch.js +238 -0
  198. package/dist/components/arcgis-slice.d.ts +11 -0
  199. package/dist/components/arcgis-slice.js +130 -0
  200. package/dist/components/arcgis-slider.d.ts +11 -0
  201. package/dist/components/arcgis-slider.js +281 -0
  202. package/dist/components/arcgis-swipe.d.ts +11 -0
  203. package/dist/components/arcgis-swipe.js +140 -0
  204. package/dist/components/arcgis-table-list.d.ts +11 -0
  205. package/dist/components/arcgis-table-list.js +147 -0
  206. package/dist/components/arcgis-time-slider.d.ts +11 -0
  207. package/dist/components/arcgis-time-slider.js +256 -0
  208. package/dist/components/arcgis-track.d.ts +11 -0
  209. package/dist/components/arcgis-track.js +171 -0
  210. package/dist/components/arcgis-utility-network-trace.d.ts +11 -0
  211. package/dist/components/arcgis-utility-network-trace.js +197 -0
  212. package/dist/components/arcgis-value-picker.d.ts +11 -0
  213. package/dist/components/arcgis-value-picker.js +198 -0
  214. package/dist/components/arcgis-weather.d.ts +11 -0
  215. package/dist/components/arcgis-weather.js +111 -0
  216. package/dist/components/arcgis-zoom.d.ts +11 -0
  217. package/dist/components/arcgis-zoom.js +121 -0
  218. package/dist/components/disconnected.js +122 -0
  219. package/dist/components/index.d.ts +81 -0
  220. package/dist/components/index.js +52 -0
  221. package/dist/components/index2.js +638 -0
  222. package/dist/components/mapping-utils.js +38 -0
  223. package/dist/esm/arcgis-area-measurement-2d.entry.js +97 -0
  224. package/dist/esm/arcgis-area-measurement-3d.entry.js +90 -0
  225. package/dist/esm/arcgis-attachments.entry.js +69 -0
  226. package/dist/esm/arcgis-basemap-gallery_3.entry.js +275 -0
  227. package/dist/esm/arcgis-basemap-layer-list.entry.js +140 -0
  228. package/dist/esm/arcgis-basemap-toggle.entry.js +111 -0
  229. package/dist/esm/arcgis-bookmarks.entry.js +136 -0
  230. package/dist/esm/arcgis-building-explorer.entry.js +76 -0
  231. package/dist/esm/arcgis-compass.entry.js +86 -0
  232. package/dist/esm/arcgis-coordinate-conversion.entry.js +154 -0
  233. package/dist/esm/arcgis-daylight.entry.js +112 -0
  234. package/dist/esm/arcgis-directions.entry.js +190 -0
  235. package/dist/esm/arcgis-directline-measurement-3d.entry.js +110 -0
  236. package/dist/esm/arcgis-distance-measurement-2d.entry.js +102 -0
  237. package/dist/esm/arcgis-editor.entry.js +176 -0
  238. package/dist/esm/arcgis-elevation-profile.entry.js +132 -0
  239. package/dist/esm/arcgis-feature-form.entry.js +32 -0
  240. package/dist/esm/arcgis-feature-table.entry.js +296 -0
  241. package/dist/esm/arcgis-feature-templates.entry.js +69 -0
  242. package/dist/esm/arcgis-feature.entry.js +102 -0
  243. package/dist/esm/arcgis-features.entry.js +129 -0
  244. package/dist/esm/arcgis-floor-filter.entry.js +130 -0
  245. package/dist/esm/arcgis-fullscreen.entry.js +88 -0
  246. package/dist/esm/arcgis-histogram-range-slider.entry.js +76 -0
  247. package/dist/esm/arcgis-histogram.entry.js +32 -0
  248. package/dist/esm/arcgis-home.entry.js +104 -0
  249. package/dist/esm/arcgis-layer-list.entry.js +124 -0
  250. package/dist/esm/arcgis-legend.entry.js +142 -0
  251. package/dist/esm/arcgis-line-of-sight.entry.js +90 -0
  252. package/dist/esm/arcgis-locate.entry.js +154 -0
  253. package/dist/esm/arcgis-map-components.js +18 -0
  254. package/dist/esm/arcgis-measurement.entry.js +119 -0
  255. package/dist/esm/arcgis-navigation-toggle.entry.js +93 -0
  256. package/dist/esm/arcgis-print.entry.js +159 -0
  257. package/dist/esm/arcgis-scale-bar.entry.js +102 -0
  258. package/dist/esm/arcgis-scale-range-slider.entry.js +142 -0
  259. package/dist/esm/arcgis-scene.entry.js +102 -0
  260. package/dist/esm/arcgis-search.entry.js +272 -0
  261. package/dist/esm/arcgis-shadow-cast.entry.js +91 -0
  262. package/dist/esm/arcgis-sketch.entry.js +197 -0
  263. package/dist/esm/arcgis-slice.entry.js +99 -0
  264. package/dist/esm/arcgis-slider.entry.js +229 -0
  265. package/dist/esm/arcgis-swipe.entry.js +113 -0
  266. package/dist/esm/arcgis-table-list.entry.js +114 -0
  267. package/dist/esm/arcgis-time-slider.entry.js +212 -0
  268. package/dist/esm/arcgis-track.entry.js +143 -0
  269. package/dist/esm/arcgis-utility-network-trace.entry.js +158 -0
  270. package/dist/esm/arcgis-value-picker.entry.js +156 -0
  271. package/dist/esm/arcgis-weather.entry.js +82 -0
  272. package/dist/esm/arcgis-zoom.entry.js +96 -0
  273. package/dist/esm/component-utils-d3552de2.js +73 -0
  274. package/dist/esm/disconnected-bc5fc8bc.js +52 -0
  275. package/dist/esm/index-ad26b6d0.js +638 -0
  276. package/dist/esm/index-eb3ead33.js +1579 -0
  277. package/dist/esm/index.js +1 -0
  278. package/dist/esm/loader.js +18 -0
  279. package/dist/esm/mapping-utils-26beb904.js +38 -0
  280. package/dist/esm/polyfills/core-js.js +11 -0
  281. package/dist/esm/polyfills/css-shim.js +1 -0
  282. package/dist/esm/polyfills/dom.js +79 -0
  283. package/dist/esm/polyfills/es5-html-element.js +1 -0
  284. package/dist/esm/polyfills/index.js +34 -0
  285. package/dist/esm/polyfills/system.js +6 -0
  286. package/dist/index.cjs.js +1 -0
  287. package/dist/index.js +1 -0
  288. package/dist/loader/cdn.js +3 -0
  289. package/dist/loader/index.cjs.js +3 -0
  290. package/dist/loader/index.d.ts +21 -0
  291. package/dist/loader/index.es2017.js +3 -0
  292. package/dist/loader/index.js +4 -0
  293. package/dist/loader/package.json +11 -0
  294. package/dist/types/components/arcgis-area-measurement-2d/arcgis-area-measurement-2d.d.ts +27 -0
  295. package/dist/types/components/arcgis-area-measurement-3d/arcgis-area-measurement-3d.d.ts +26 -0
  296. package/dist/types/components/arcgis-attachments/arcgis-attachments.d.ts +22 -0
  297. package/dist/types/components/arcgis-basemap-gallery/arcgis-basemap-gallery.d.ts +27 -0
  298. package/dist/types/components/arcgis-basemap-layer-list/arcgis-basemap-layer-list.d.ts +35 -0
  299. package/dist/types/components/arcgis-basemap-toggle/arcgis-basemap-toggle.d.ts +29 -0
  300. package/dist/types/components/arcgis-bookmarks/arcgis-bookmarks.d.ts +36 -0
  301. package/dist/types/components/arcgis-building-explorer/arcgis-building-explorer.d.ts +23 -0
  302. package/dist/types/components/arcgis-compass/arcgis-compass.d.ts +22 -0
  303. package/dist/types/components/arcgis-coordinate-conversion/arcgis-coordinate-conversion.d.ts +43 -0
  304. package/dist/types/components/arcgis-daylight/arcgis-daylight.d.ts +30 -0
  305. package/dist/types/components/arcgis-directions/arcgis-directions.d.ts +44 -0
  306. package/dist/types/components/arcgis-directline-measurement-3d/arcgis-directline-measurement-3d.d.ts +30 -0
  307. package/dist/types/components/arcgis-distance-measurement-2d/arcgis-distance-measurement-2d.d.ts +28 -0
  308. package/dist/types/components/arcgis-editor/arcgis-editor.d.ts +45 -0
  309. package/dist/types/components/arcgis-elevation-profile/arcgis-elevation-profile.d.ts +34 -0
  310. package/dist/types/components/arcgis-expand/arcgis-expand.d.ts +21 -0
  311. package/dist/types/components/arcgis-feature/arcgis-feature.d.ts +28 -0
  312. package/dist/types/components/arcgis-feature-form/arcgis-feature-form.d.ts +16 -0
  313. package/dist/types/components/arcgis-feature-table/arcgis-feature-table.d.ts +72 -0
  314. package/dist/types/components/arcgis-feature-templates/arcgis-feature-templates.d.ts +22 -0
  315. package/dist/types/components/arcgis-features/arcgis-features.d.ts +35 -0
  316. package/dist/types/components/arcgis-floor-filter/arcgis-floor-filter.d.ts +33 -0
  317. package/dist/types/components/arcgis-fullscreen/arcgis-fullscreen.d.ts +23 -0
  318. package/dist/types/components/arcgis-histogram/arcgis-histogram.d.ts +16 -0
  319. package/dist/types/components/arcgis-histogram-range-slider/arcgis-histogram-range-slider.d.ts +23 -0
  320. package/dist/types/components/arcgis-home/arcgis-home.d.ts +27 -0
  321. package/dist/types/components/arcgis-layer-list/arcgis-layer-list.d.ts +35 -0
  322. package/dist/types/components/arcgis-legend/arcgis-legend.d.ts +36 -0
  323. package/dist/types/components/arcgis-line-of-sight/arcgis-line-of-sight.d.ts +26 -0
  324. package/dist/types/components/arcgis-locate/arcgis-locate.d.ts +38 -0
  325. package/dist/types/components/arcgis-map/arcgis-map.d.ts +22 -0
  326. package/dist/types/components/arcgis-measurement/arcgis-measurement.d.ts +33 -0
  327. package/dist/types/components/arcgis-navigation-toggle/arcgis-navigation-toggle.d.ts +24 -0
  328. package/dist/types/components/arcgis-print/arcgis-print.d.ts +45 -0
  329. package/dist/types/components/arcgis-scale-bar/arcgis-scale-bar.d.ts +28 -0
  330. package/dist/types/components/arcgis-scale-range-slider/arcgis-scale-range-slider.d.ts +38 -0
  331. package/dist/types/components/arcgis-scene/arcgis-scene.d.ts +21 -0
  332. package/dist/types/components/arcgis-search/arcgis-search.d.ts +80 -0
  333. package/dist/types/components/arcgis-shadow-cast/arcgis-shadow-cast.d.ts +26 -0
  334. package/dist/types/components/arcgis-sketch/arcgis-sketch.d.ts +51 -0
  335. package/dist/types/components/arcgis-slice/arcgis-slice.d.ts +28 -0
  336. package/dist/types/components/arcgis-slider/arcgis-slider.d.ts +69 -0
  337. package/dist/types/components/arcgis-swipe/arcgis-swipe.d.ts +31 -0
  338. package/dist/types/components/arcgis-table-list/arcgis-table-list.d.ts +33 -0
  339. package/dist/types/components/arcgis-time-slider/arcgis-time-slider.d.ts +52 -0
  340. package/dist/types/components/arcgis-track/arcgis-track.d.ts +36 -0
  341. package/dist/types/components/arcgis-utility-network-trace/arcgis-utility-network-trace.d.ts +46 -0
  342. package/dist/types/components/arcgis-value-picker/arcgis-value-picker.d.ts +46 -0
  343. package/dist/types/components/arcgis-weather/arcgis-weather.d.ts +24 -0
  344. package/dist/types/components/arcgis-zoom/arcgis-zoom.d.ts +25 -0
  345. package/dist/types/components/types.d.ts +20 -0
  346. package/dist/types/components.d.ts +2053 -0
  347. package/dist/types/index.d.ts +1 -0
  348. package/dist/types/stencil-public-runtime.d.ts +1637 -0
  349. package/dist/types/utils/component-utils.d.ts +22 -0
  350. package/dist/types/utils/disconnected.d.ts +2 -0
  351. package/dist/types/utils/expandable.d.ts +6 -0
  352. package/dist/types/utils/mapping-utils.d.ts +2 -0
  353. package/package.json +86 -0
  354. package/readme.md +17 -0
@@ -0,0 +1,238 @@
1
+ import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
2
+ import { T as newWidgetsSketch, i as importCoreReactiveUtils, U as newLayersGraphicsLayer } from './index2.js';
3
+ import { r as referenceElementHelper, c as checkForView, o as onDisconnectedHelper } from './disconnected.js';
4
+ import { d as defineCustomElement$2 } from './arcgis-expand2.js';
5
+
6
+ const arcgisSketchCss = "arcgis-sketch{}";
7
+
8
+ const ArcgisSketch$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
9
+ constructor() {
10
+ super();
11
+ this.__registerHost();
12
+ this.sketchCreate = createEvent(this, "sketchCreate", 7);
13
+ this.sketchDelete = createEvent(this, "sketchDelete", 7);
14
+ this.sketchRedo = createEvent(this, "sketchRedo", 7);
15
+ this.sketchUndo = createEvent(this, "sketchUndo", 7);
16
+ this.sketchUpdate = createEvent(this, "sketchUpdate", 7);
17
+ this.widgetReady = createEvent(this, "widgetReady", 7);
18
+ this.referenceElement = undefined;
19
+ this.activeTool = undefined;
20
+ this.availableCreateTools = undefined;
21
+ this.createGraphic = undefined;
22
+ this.creationMode = undefined;
23
+ this.defaultCreateOptions = undefined;
24
+ this.defaultUpdateOptions = undefined;
25
+ this.labelOptions = undefined;
26
+ this.layer = undefined;
27
+ this.layout = undefined;
28
+ this.snappingOptions = undefined;
29
+ this.tooltipOptions = undefined;
30
+ this.updateGraphics = undefined;
31
+ this.view = undefined;
32
+ this.position = "bottom-left";
33
+ this.expandable = false;
34
+ this.widget = undefined;
35
+ }
36
+ //--------------------------------------------------------------------------
37
+ //
38
+ // Watchers
39
+ //
40
+ //--------------------------------------------------------------------------
41
+ availableCreateToolsWatcher(newValue) {
42
+ if (newValue !== undefined && this.widget) {
43
+ this.widget.availableCreateTools = newValue;
44
+ }
45
+ }
46
+ creationModeWatcher(newValue) {
47
+ if (newValue !== undefined && this.widget) {
48
+ this.widget.creationMode = newValue;
49
+ }
50
+ }
51
+ defaultCreateOptionsWatcher(newValue) {
52
+ if (newValue !== undefined && this.widget) {
53
+ this.widget.defaultCreateOptions = newValue;
54
+ }
55
+ }
56
+ defaultUpdateOptionsWatcher(newValue) {
57
+ if (newValue !== undefined && this.widget) {
58
+ this.widget.defaultUpdateOptions = newValue;
59
+ }
60
+ }
61
+ labelOptionsWatcher(newValue) {
62
+ if (newValue !== undefined && this.widget) {
63
+ this.widget.labelOptions = newValue;
64
+ }
65
+ }
66
+ layerWatcher(newValue) {
67
+ if (newValue !== undefined && this.widget) {
68
+ this.widget.layer = newValue;
69
+ }
70
+ }
71
+ layoutWatcher(newValue) {
72
+ if (newValue !== undefined && this.widget) {
73
+ this.widget.layout = newValue;
74
+ }
75
+ }
76
+ snappingOptionsWatcher(newValue) {
77
+ if (newValue !== undefined && this.widget) {
78
+ this.widget.snappingOptions = newValue;
79
+ }
80
+ }
81
+ tooltipOptionsWatcher(newValue) {
82
+ if (newValue !== undefined && this.widget) {
83
+ this.widget.tooltipOptions = newValue;
84
+ }
85
+ }
86
+ positionWatcher(newValue) {
87
+ if (newValue !== undefined && this.widget) {
88
+ if (typeof this.view !== "string") {
89
+ this.view.ui.move(this.childElem, newValue);
90
+ }
91
+ }
92
+ }
93
+ referenceElementWatcher(newValue) {
94
+ referenceElementHelper(this, newValue);
95
+ }
96
+ viewWatcher(newValue) {
97
+ if (newValue !== undefined && this.widget) {
98
+ this.widget.view = newValue;
99
+ this.widget.view.map?.add(this.layer);
100
+ }
101
+ }
102
+ //--------------------------------------------------------------------------
103
+ //
104
+ // Lifecycle
105
+ //
106
+ //--------------------------------------------------------------------------
107
+ async componentDidLoad() {
108
+ const params = await this._createParams();
109
+ const widget = await newWidgetsSketch(params);
110
+ this.widget = widget;
111
+ await this._addWatchers();
112
+ this.widgetReady.emit(true);
113
+ checkForView(this);
114
+ }
115
+ disconnectedCallback() {
116
+ onDisconnectedHelper(this);
117
+ }
118
+ render() {
119
+ if (this.expandable) {
120
+ return (h("arcgis-expand", { position: this.position, ref: (el) => (this.expandElem = el) }, h("div", { ref: (el) => (this.childElem = el) })));
121
+ }
122
+ return h("div", { ref: (el) => (this.childElem = el) });
123
+ }
124
+ //--------------------------------------------------------------------------
125
+ //
126
+ // Private Methods
127
+ //
128
+ //--------------------------------------------------------------------------
129
+ async _addWatchers() {
130
+ const { watch } = await importCoreReactiveUtils();
131
+ watch(() => this.widget.activeTool, (value) => (this.activeTool = value), {
132
+ initial: true
133
+ });
134
+ watch(() => this.widget.createGraphic, (value) => (this.createGraphic = value), {
135
+ initial: true
136
+ });
137
+ watch(() => this.widget.updateGraphics, (value) => (this.updateGraphics = value), {
138
+ initial: true
139
+ });
140
+ }
141
+ async _createParams() {
142
+ const graphicsLayerProps = {
143
+ title: "Sketch Layer",
144
+ creationMode: "update"
145
+ };
146
+ this.layer = await newLayersGraphicsLayer(graphicsLayerProps);
147
+ const params = {
148
+ container: this.childElem,
149
+ layer: this.layer
150
+ };
151
+ if (this.view) {
152
+ params.view = this.view;
153
+ }
154
+ if (this.availableCreateTools) {
155
+ params.availableCreateTools = this.availableCreateTools;
156
+ }
157
+ if (this.creationMode) {
158
+ params.creationMode = this.creationMode;
159
+ }
160
+ if (this.defaultCreateOptions) {
161
+ params.defaultCreateOptions = this.defaultCreateOptions;
162
+ }
163
+ if (this.defaultUpdateOptions) {
164
+ params.defaultUpdateOptions = this.defaultUpdateOptions;
165
+ }
166
+ if (this.labelOptions) {
167
+ params.labelOptions = this.labelOptions;
168
+ }
169
+ if (this.layout) {
170
+ params.layout = this.layout;
171
+ }
172
+ if (this.snappingOptions) {
173
+ params.snappingOptions = this.snappingOptions;
174
+ }
175
+ if (this.tooltipOptions) {
176
+ params.tooltipOptions = this.tooltipOptions;
177
+ }
178
+ return params;
179
+ }
180
+ get el() { return this; }
181
+ static get watchers() { return {
182
+ "availableCreateTools": ["availableCreateToolsWatcher"],
183
+ "creationMode": ["creationModeWatcher"],
184
+ "defaultCreateOptions": ["defaultCreateOptionsWatcher"],
185
+ "defaultUpdateOptions": ["defaultUpdateOptionsWatcher"],
186
+ "labelOptions": ["labelOptionsWatcher"],
187
+ "layer": ["layerWatcher"],
188
+ "layout": ["layoutWatcher"],
189
+ "snappingOptions": ["snappingOptionsWatcher"],
190
+ "tooltipOptions": ["tooltipOptionsWatcher"],
191
+ "position": ["positionWatcher"],
192
+ "referenceElement": ["referenceElementWatcher"],
193
+ "view": ["viewWatcher"]
194
+ }; }
195
+ static get style() { return arcgisSketchCss; }
196
+ }, [0, "arcgis-sketch", {
197
+ "referenceElement": [1, "reference-element"],
198
+ "activeTool": [1537, "active-tool"],
199
+ "availableCreateTools": [16],
200
+ "createGraphic": [1040],
201
+ "creationMode": [1, "creation-mode"],
202
+ "defaultCreateOptions": [16],
203
+ "defaultUpdateOptions": [16],
204
+ "labelOptions": [16],
205
+ "layer": [1040],
206
+ "layout": [1],
207
+ "snappingOptions": [16],
208
+ "tooltipOptions": [16],
209
+ "updateGraphics": [1040],
210
+ "view": [16],
211
+ "position": [1],
212
+ "expandable": [4],
213
+ "widget": [1040]
214
+ }]);
215
+ function defineCustomElement$1() {
216
+ if (typeof customElements === "undefined") {
217
+ return;
218
+ }
219
+ const components = ["arcgis-sketch", "arcgis-expand"];
220
+ components.forEach(tagName => { switch (tagName) {
221
+ case "arcgis-sketch":
222
+ if (!customElements.get(tagName)) {
223
+ customElements.define(tagName, ArcgisSketch$1);
224
+ }
225
+ break;
226
+ case "arcgis-expand":
227
+ if (!customElements.get(tagName)) {
228
+ defineCustomElement$2();
229
+ }
230
+ break;
231
+ } });
232
+ }
233
+ defineCustomElement$1();
234
+
235
+ const ArcgisSketch = ArcgisSketch$1;
236
+ const defineCustomElement = defineCustomElement$1;
237
+
238
+ export { ArcgisSketch, defineCustomElement };
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface ArcgisSlice extends Components.ArcgisSlice, HTMLElement {}
4
+ export const ArcgisSlice: {
5
+ prototype: ArcgisSlice;
6
+ new (): ArcgisSlice;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -0,0 +1,130 @@
1
+ import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
2
+ import { V as newWidgetsSlice, i as importCoreReactiveUtils } from './index2.js';
3
+ import { r as referenceElementHelper, c as checkForView, o as onDisconnectedHelper } from './disconnected.js';
4
+ import { d as defineCustomElement$2 } from './arcgis-expand2.js';
5
+
6
+ const arcgisSliceCss = "arcgis-slice{}";
7
+
8
+ const ArcgisSlice$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
9
+ constructor() {
10
+ super();
11
+ this.__registerHost();
12
+ this.widgetReady = createEvent(this, "widgetReady", 7);
13
+ this.referenceElement = undefined;
14
+ this.analysis = undefined;
15
+ this.view = undefined;
16
+ this.position = "bottom-left";
17
+ this.expandable = false;
18
+ this.widget = undefined;
19
+ this.headingLevel = undefined;
20
+ }
21
+ //--------------------------------------------------------------------------
22
+ //
23
+ // Watchers
24
+ //
25
+ //--------------------------------------------------------------------------
26
+ positionWatcher(newValue) {
27
+ if (newValue !== undefined && this.widget) {
28
+ if (typeof this.view !== "string") {
29
+ this.view.ui.move(this.childElem, newValue);
30
+ }
31
+ }
32
+ }
33
+ headingLevelWatcher(newValue) {
34
+ if (newValue !== undefined && this.widget) {
35
+ if (this.widget.headingLevel !== newValue) {
36
+ this.widget.headingLevel = newValue;
37
+ }
38
+ }
39
+ }
40
+ referenceElementWatcher(newValue) {
41
+ referenceElementHelper(this, newValue);
42
+ }
43
+ viewWatcher(newValue) {
44
+ if (newValue !== undefined && this.widget) {
45
+ this.widget.view = newValue;
46
+ }
47
+ }
48
+ //--------------------------------------------------------------------------
49
+ //
50
+ // Lifecycle
51
+ //
52
+ //--------------------------------------------------------------------------
53
+ async componentDidLoad() {
54
+ const params = this._createParams();
55
+ const widget = await newWidgetsSlice(params);
56
+ this.widget = widget;
57
+ await this._addWatchers();
58
+ this.widgetReady.emit(true);
59
+ checkForView(this);
60
+ }
61
+ disconnectedCallback() {
62
+ onDisconnectedHelper(this);
63
+ }
64
+ render() {
65
+ if (this.expandable) {
66
+ return (h("arcgis-expand", { position: this.position, ref: (el) => (this.expandElem = el) }, h("div", { ref: (el) => (this.childElem = el) })));
67
+ }
68
+ return h("div", { ref: (el) => (this.childElem = el) });
69
+ }
70
+ //--------------------------------------------------------------------------
71
+ //
72
+ // Private Methods
73
+ //
74
+ //--------------------------------------------------------------------------
75
+ async _addWatchers() {
76
+ const { watch } = await importCoreReactiveUtils();
77
+ watch(() => this.widget.analysis, (value) => (this.analysis = value), {
78
+ initial: true
79
+ });
80
+ }
81
+ _createParams() {
82
+ const params = {
83
+ container: this.childElem
84
+ };
85
+ if (this.view) {
86
+ params.view = this.view;
87
+ }
88
+ return params;
89
+ }
90
+ get el() { return this; }
91
+ static get watchers() { return {
92
+ "position": ["positionWatcher"],
93
+ "headingLevel": ["headingLevelWatcher"],
94
+ "referenceElement": ["referenceElementWatcher"],
95
+ "view": ["viewWatcher"]
96
+ }; }
97
+ static get style() { return arcgisSliceCss; }
98
+ }, [0, "arcgis-slice", {
99
+ "referenceElement": [1, "reference-element"],
100
+ "analysis": [1040],
101
+ "view": [16],
102
+ "position": [1],
103
+ "expandable": [4],
104
+ "widget": [1040],
105
+ "headingLevel": [2, "heading-level"]
106
+ }]);
107
+ function defineCustomElement$1() {
108
+ if (typeof customElements === "undefined") {
109
+ return;
110
+ }
111
+ const components = ["arcgis-slice", "arcgis-expand"];
112
+ components.forEach(tagName => { switch (tagName) {
113
+ case "arcgis-slice":
114
+ if (!customElements.get(tagName)) {
115
+ customElements.define(tagName, ArcgisSlice$1);
116
+ }
117
+ break;
118
+ case "arcgis-expand":
119
+ if (!customElements.get(tagName)) {
120
+ defineCustomElement$2();
121
+ }
122
+ break;
123
+ } });
124
+ }
125
+ defineCustomElement$1();
126
+
127
+ const ArcgisSlice = ArcgisSlice$1;
128
+ const defineCustomElement = defineCustomElement$1;
129
+
130
+ export { ArcgisSlice, defineCustomElement };
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface ArcgisSlider extends Components.ArcgisSlider, HTMLElement {}
4
+ export const ArcgisSlider: {
5
+ prototype: ArcgisSlider;
6
+ new (): ArcgisSlider;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -0,0 +1,281 @@
1
+ import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
2
+ import { W as newWidgetsSlider, i as importCoreReactiveUtils } from './index2.js';
3
+ import { c as checkForView, o as onDisconnectedHelper } from './disconnected.js';
4
+ import { d as defineCustomElement$2 } from './arcgis-expand2.js';
5
+
6
+ const arcgisSliderCss = "arcgis-slider{min-width:200px;min-height:25px}";
7
+
8
+ const ArcgisSlider$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
9
+ constructor() {
10
+ super();
11
+ this.__registerHost();
12
+ this.sliderMaxChange = createEvent(this, "sliderMaxChange", 7);
13
+ this.sliderMaxClick = createEvent(this, "sliderMaxClick", 7);
14
+ this.sliderMinChange = createEvent(this, "sliderMinChange", 7);
15
+ this.sliderMinClick = createEvent(this, "sliderMinClick", 7);
16
+ this.sliderSegmentClick = createEvent(this, "sliderSegmentClick", 7);
17
+ this.sliderSegmentDrag = createEvent(this, "sliderSegmentDrag", 7);
18
+ this.sliderThumbChange = createEvent(this, "sliderThumbChange", 7);
19
+ this.sliderThumbClick = createEvent(this, "sliderThumbClick", 7);
20
+ this.sliderThumbDrag = createEvent(this, "sliderThumbDrag", 7);
21
+ this.sliderTickClick = createEvent(this, "sliderTickClick", 7);
22
+ this.sliderTrackClick = createEvent(this, "sliderTrackClick", 7);
23
+ this.widgetReady = createEvent(this, "widgetReady", 7);
24
+ this.referenceElement = undefined;
25
+ this.draggableSegmentsEnabled = undefined;
26
+ this.effectiveMax = undefined;
27
+ this.effectiveMin = undefined;
28
+ this.effectiveSegmentElements = undefined;
29
+ this.labelElements = undefined;
30
+ this.labelInputsEnabled = undefined;
31
+ this.labels = undefined;
32
+ this.layout = "horizontal";
33
+ this.min = undefined;
34
+ this.max = undefined;
35
+ this.maxLabelElement = undefined;
36
+ this.minLabelElement = undefined;
37
+ this.precision = undefined;
38
+ this.rangeLabelInputsEnabled = undefined;
39
+ this.segmentElements = undefined;
40
+ this.snapOnClickEnabled = undefined;
41
+ this.syncedSegmentsEnabled = undefined;
42
+ this.thumbElements = undefined;
43
+ this.thumbsConstrained = undefined;
44
+ this.tickConfigs = undefined;
45
+ this.tickElements = undefined;
46
+ this.trackElement = undefined;
47
+ this.steps = undefined;
48
+ this.values = undefined;
49
+ this.position = "bottom-left";
50
+ this.expandable = false;
51
+ this.widget = undefined;
52
+ }
53
+ //--------------------------------------------------------------------------
54
+ //
55
+ // Watchers
56
+ //
57
+ //--------------------------------------------------------------------------
58
+ draggableSegmentsEnabledWatcher(newValue) {
59
+ if (this.widget) {
60
+ this.widget.draggableSegmentsEnabled = newValue;
61
+ }
62
+ }
63
+ effectiveMaxWatcher(newValue) {
64
+ if (this.widget) {
65
+ this.widget.effectiveMax = newValue;
66
+ }
67
+ }
68
+ effectiveMinWatcher(newValue) {
69
+ if (this.widget) {
70
+ this.widget.effectiveMin = newValue;
71
+ }
72
+ }
73
+ layoutWatcher(newValue) {
74
+ if (this.widget) {
75
+ this.widget.layout = newValue;
76
+ }
77
+ }
78
+ minWatcher(newValue) {
79
+ if (this.widget) {
80
+ this.widget.min = newValue;
81
+ }
82
+ }
83
+ maxWatcher(newValue) {
84
+ if (this.widget) {
85
+ this.widget.max = newValue;
86
+ }
87
+ }
88
+ precisionWatcher(newValue) {
89
+ if (this.widget) {
90
+ this.widget.precision = newValue;
91
+ }
92
+ }
93
+ rangeLabelInputsEnabledWatcher(newValue) {
94
+ if (this.widget) {
95
+ this.widget.rangeLabelInputsEnabled = newValue;
96
+ }
97
+ }
98
+ snapOnClickEnabledWatcher(newValue) {
99
+ if (this.widget) {
100
+ this.widget.snapOnClickEnabled = newValue;
101
+ }
102
+ }
103
+ stepsWatcher(newValue) {
104
+ if (this.widget) {
105
+ this.widget.steps = newValue;
106
+ }
107
+ }
108
+ syncedSegmentsEnabledWatcher(newValue) {
109
+ if (this.widget) {
110
+ this.widget.syncedSegmentsEnabled = newValue;
111
+ }
112
+ }
113
+ thumbsConstrainedWatcher(newValue) {
114
+ if (this.widget) {
115
+ this.widget.thumbsConstrained = newValue;
116
+ }
117
+ }
118
+ tickConfigsWatcher(newValue) {
119
+ if (this.widget) {
120
+ this.widget.tickConfigs = newValue;
121
+ }
122
+ }
123
+ valuesWatcher(newValue) {
124
+ if (typeof newValue === "string") {
125
+ this.values = newValue.split(",").map((n) => Number(n));
126
+ }
127
+ if (this.widget) {
128
+ this.widget.values = this.values;
129
+ }
130
+ }
131
+ //--------------------------------------------------------------------------
132
+ //
133
+ // Lifecycle
134
+ //
135
+ //--------------------------------------------------------------------------
136
+ async componentDidLoad() {
137
+ const params = this._createParams();
138
+ const widget = await newWidgetsSlider(params);
139
+ this.widget = widget;
140
+ await this._addWatchers();
141
+ this.widgetReady.emit(true);
142
+ checkForView(this);
143
+ }
144
+ disconnectedCallback() {
145
+ onDisconnectedHelper(this);
146
+ }
147
+ render() {
148
+ if (this.expandable) {
149
+ return (h("arcgis-expand", { position: this.position, ref: (el) => (this.expandElem = el) }, h("div", { ref: (el) => (this.childElem = el) })));
150
+ }
151
+ return h("div", { ref: (el) => (this.childElem = el) });
152
+ }
153
+ //--------------------------------------------------------------------------
154
+ //
155
+ // Private Methods
156
+ //
157
+ //--------------------------------------------------------------------------
158
+ async _addWatchers() {
159
+ const { watch } = await importCoreReactiveUtils();
160
+ watch(() => this.widget.effectiveSegmentElements, (value) => (this.effectiveSegmentElements = value), {
161
+ initial: true
162
+ });
163
+ watch(() => this.widget.labelElements, (value) => (this.labelElements = value), {
164
+ initial: true
165
+ });
166
+ watch(() => this.widget.maxLabelElement, (value) => (this.maxLabelElement = value), {
167
+ initial: true
168
+ });
169
+ watch(() => this.widget.minLabelElement, (value) => (this.minLabelElement = value), {
170
+ initial: true
171
+ });
172
+ watch(() => this.widget.segmentElements, (value) => (this.segmentElements = value), {
173
+ initial: true
174
+ });
175
+ watch(() => this.widget.thumbElements, (value) => (this.thumbElements = value), {
176
+ initial: true
177
+ });
178
+ watch(() => this.widget.tickElements, (value) => (this.tickElements = value), {
179
+ initial: true
180
+ });
181
+ watch(() => this.widget.trackElement, (value) => (this.trackElement = value), {
182
+ initial: true
183
+ });
184
+ }
185
+ _createParams() {
186
+ const params = {
187
+ container: this.childElem,
188
+ layout: this.layout
189
+ };
190
+ if (this.min !== undefined) {
191
+ params.min = this.min;
192
+ }
193
+ if (this.max !== undefined) {
194
+ params.max = this.max;
195
+ }
196
+ if (this.steps) {
197
+ if (typeof this.steps === "string") {
198
+ this.steps = this.steps.split(",").map((n) => Number(n));
199
+ }
200
+ params.steps = this.steps;
201
+ }
202
+ if (this.values) {
203
+ if (typeof this.values === "string") {
204
+ this.values = this.values.split(",").map((n) => Number(n));
205
+ }
206
+ params.values = this.values;
207
+ }
208
+ return params;
209
+ }
210
+ get el() { return this; }
211
+ static get watchers() { return {
212
+ "draggableSegmentsEnabled": ["draggableSegmentsEnabledWatcher"],
213
+ "effectiveMax": ["effectiveMaxWatcher"],
214
+ "effectiveMin": ["effectiveMinWatcher"],
215
+ "layout": ["layoutWatcher"],
216
+ "min": ["minWatcher"],
217
+ "max": ["maxWatcher"],
218
+ "precision": ["precisionWatcher"],
219
+ "rangeLabelInputsEnabled": ["rangeLabelInputsEnabledWatcher"],
220
+ "snapOnClickEnabled": ["snapOnClickEnabledWatcher"],
221
+ "steps": ["stepsWatcher"],
222
+ "syncedSegmentsEnabled": ["syncedSegmentsEnabledWatcher"],
223
+ "thumbsConstrained": ["thumbsConstrainedWatcher"],
224
+ "tickConfigs": ["tickConfigsWatcher"],
225
+ "values": ["valuesWatcher"]
226
+ }; }
227
+ static get style() { return arcgisSliderCss; }
228
+ }, [0, "arcgis-slider", {
229
+ "referenceElement": [1, "reference-element"],
230
+ "draggableSegmentsEnabled": [4, "draggable-segments-enabled"],
231
+ "effectiveMax": [2, "effective-max"],
232
+ "effectiveMin": [2, "effective-min"],
233
+ "effectiveSegmentElements": [1040],
234
+ "labelElements": [1040],
235
+ "labelInputsEnabled": [4, "label-inputs-enabled"],
236
+ "labels": [16],
237
+ "layout": [1],
238
+ "min": [2],
239
+ "max": [2],
240
+ "maxLabelElement": [1040],
241
+ "minLabelElement": [1040],
242
+ "precision": [2],
243
+ "rangeLabelInputsEnabled": [4, "range-label-inputs-enabled"],
244
+ "segmentElements": [1040],
245
+ "snapOnClickEnabled": [4, "snap-on-click-enabled"],
246
+ "syncedSegmentsEnabled": [4, "synced-segments-enabled"],
247
+ "thumbElements": [1040],
248
+ "thumbsConstrained": [4, "thumbs-constrained"],
249
+ "tickConfigs": [16],
250
+ "tickElements": [1040],
251
+ "trackElement": [1040],
252
+ "steps": [8],
253
+ "values": [1],
254
+ "position": [1],
255
+ "expandable": [4],
256
+ "widget": [1040]
257
+ }]);
258
+ function defineCustomElement$1() {
259
+ if (typeof customElements === "undefined") {
260
+ return;
261
+ }
262
+ const components = ["arcgis-slider", "arcgis-expand"];
263
+ components.forEach(tagName => { switch (tagName) {
264
+ case "arcgis-slider":
265
+ if (!customElements.get(tagName)) {
266
+ customElements.define(tagName, ArcgisSlider$1);
267
+ }
268
+ break;
269
+ case "arcgis-expand":
270
+ if (!customElements.get(tagName)) {
271
+ defineCustomElement$2();
272
+ }
273
+ break;
274
+ } });
275
+ }
276
+ defineCustomElement$1();
277
+
278
+ const ArcgisSlider = ArcgisSlider$1;
279
+ const defineCustomElement = defineCustomElement$1;
280
+
281
+ export { ArcgisSlider, defineCustomElement };
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface ArcgisSwipe extends Components.ArcgisSwipe, HTMLElement {}
4
+ export const ArcgisSwipe: {
5
+ prototype: ArcgisSwipe;
6
+ new (): ArcgisSwipe;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;