@arcgis/map-components 1.0.0-beta.18 → 4.28.0-beta.0

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 (289) hide show
  1. package/dist/arcgis-map-components/arcgis-map-components.esm.js +1 -1
  2. package/dist/arcgis-map-components/{p-1307fe8a.entry.js → p-021530fd.entry.js} +1 -1
  3. package/dist/arcgis-map-components/{p-9d16369e.entry.js → p-0685d15c.entry.js} +1 -1
  4. package/dist/arcgis-map-components/{p-a094dafc.entry.js → p-09e15a1f.entry.js} +1 -1
  5. package/dist/arcgis-map-components/{p-db02ac80.entry.js → p-0d77ce8d.entry.js} +1 -1
  6. package/dist/arcgis-map-components/p-0f83c24c.entry.js +1 -0
  7. package/dist/arcgis-map-components/p-177a536e.entry.js +1 -0
  8. package/dist/arcgis-map-components/{p-3b5c0098.entry.js → p-1977344d.entry.js} +1 -1
  9. package/dist/arcgis-map-components/{p-79080368.entry.js → p-1b9d7fb5.entry.js} +1 -1
  10. package/dist/arcgis-map-components/{p-5396bcb5.entry.js → p-20c7de19.entry.js} +1 -1
  11. package/dist/arcgis-map-components/{p-741086a4.entry.js → p-23aebf98.entry.js} +1 -1
  12. package/dist/arcgis-map-components/{p-0a81674b.entry.js → p-2bb7a744.entry.js} +1 -1
  13. package/dist/arcgis-map-components/{p-1401deea.js → p-2d3406f7.js} +1 -1
  14. package/dist/arcgis-map-components/p-2fdc27af.entry.js +1 -0
  15. package/dist/arcgis-map-components/{p-85b278c1.entry.js → p-34df1205.entry.js} +1 -1
  16. package/dist/arcgis-map-components/{p-5a87f5c4.entry.js → p-39df01ce.entry.js} +1 -1
  17. package/dist/arcgis-map-components/{p-f32183ab.entry.js → p-39eb103e.entry.js} +1 -1
  18. package/dist/arcgis-map-components/{p-1126ae71.entry.js → p-4b213105.entry.js} +1 -1
  19. package/dist/arcgis-map-components/{p-86acdf29.entry.js → p-53d8e476.entry.js} +1 -1
  20. package/dist/arcgis-map-components/{p-69214958.entry.js → p-57259fd5.entry.js} +1 -1
  21. package/dist/arcgis-map-components/p-5924285b.entry.js +1 -0
  22. package/dist/arcgis-map-components/{p-bfb9ceb4.entry.js → p-68a75dc8.entry.js} +1 -1
  23. package/dist/arcgis-map-components/p-68f62c97.entry.js +1 -0
  24. package/dist/arcgis-map-components/{p-b5182c68.entry.js → p-6951ecc2.entry.js} +1 -1
  25. package/dist/arcgis-map-components/{p-e4f5a3f5.entry.js → p-69aaaa8c.entry.js} +1 -1
  26. package/dist/arcgis-map-components/{p-d5b79b4e.entry.js → p-71ba5d8c.entry.js} +1 -1
  27. package/dist/arcgis-map-components/{p-0decaa03.entry.js → p-796aa573.entry.js} +1 -1
  28. package/dist/arcgis-map-components/{p-dfbbbdad.entry.js → p-7e3965a6.entry.js} +1 -1
  29. package/dist/arcgis-map-components/p-85e5fcb4.entry.js +1 -0
  30. package/dist/arcgis-map-components/{p-e432eb73.entry.js → p-91b9e93f.entry.js} +1 -1
  31. package/dist/arcgis-map-components/p-9566f3ac.entry.js +1 -0
  32. package/dist/arcgis-map-components/{p-9634a446.entry.js → p-9767670f.entry.js} +1 -1
  33. package/dist/arcgis-map-components/{p-d2274db9.entry.js → p-9d0e9668.entry.js} +1 -1
  34. package/dist/arcgis-map-components/{p-23530601.entry.js → p-a2ba2654.entry.js} +1 -1
  35. package/dist/arcgis-map-components/{p-6e69fe28.entry.js → p-a47f9c9c.entry.js} +1 -1
  36. package/dist/arcgis-map-components/{p-0b5368a6.entry.js → p-ac2a93fb.entry.js} +1 -1
  37. package/dist/arcgis-map-components/{p-406f187c.entry.js → p-b35cd7c1.entry.js} +1 -1
  38. package/dist/arcgis-map-components/{p-d9c0253a.entry.js → p-b59cc744.entry.js} +1 -1
  39. package/dist/arcgis-map-components/p-b699b1d2.entry.js +1 -0
  40. package/dist/arcgis-map-components/{p-7e90f27c.entry.js → p-c2d35c80.entry.js} +1 -1
  41. package/dist/arcgis-map-components/{p-8bf81a13.entry.js → p-c9f47845.entry.js} +1 -1
  42. package/dist/arcgis-map-components/{p-f9b78102.entry.js → p-ca9109da.entry.js} +1 -1
  43. package/dist/arcgis-map-components/{p-a7715a1a.entry.js → p-cdf352de.entry.js} +1 -1
  44. package/dist/arcgis-map-components/{p-fee8b15a.entry.js → p-d360bf58.entry.js} +1 -1
  45. package/dist/arcgis-map-components/{p-c726b024.entry.js → p-d3b14bf9.entry.js} +1 -1
  46. package/dist/arcgis-map-components/{p-866d57e1.entry.js → p-de286635.entry.js} +1 -1
  47. package/dist/arcgis-map-components/{p-fa591c93.entry.js → p-e230d0a1.entry.js} +1 -1
  48. package/dist/arcgis-map-components/{p-c28ede1a.entry.js → p-e3a2afb4.entry.js} +1 -1
  49. package/dist/arcgis-map-components/{p-0dddef29.entry.js → p-e8b09e23.entry.js} +1 -1
  50. package/dist/arcgis-map-components/{p-aa73b1cb.entry.js → p-ea6ae338.entry.js} +1 -1
  51. package/dist/arcgis-map-components/{p-a6ab7f72.entry.js → p-ef4d2a7e.entry.js} +1 -1
  52. package/dist/arcgis-map-components/{p-95aa4e86.entry.js → p-f37dec12.entry.js} +1 -1
  53. package/dist/arcgis-map-components/p-f62ad08d.entry.js +1 -0
  54. package/dist/arcgis-map-components/p-f6bc527c.js +1 -0
  55. package/dist/arcgis-map-components/p-f8e2e2ed.entry.js +1 -0
  56. package/dist/cjs/arcgis-area-measurement-2d.cjs.entry.js +2 -2
  57. package/dist/cjs/arcgis-area-measurement-3d.cjs.entry.js +2 -2
  58. package/dist/cjs/arcgis-attachments.cjs.entry.js +1 -1
  59. package/dist/cjs/arcgis-basemap-gallery_3.cjs.entry.js +2 -2
  60. package/dist/cjs/arcgis-basemap-layer-list.cjs.entry.js +2 -2
  61. package/dist/cjs/arcgis-basemap-toggle.cjs.entry.js +2 -2
  62. package/dist/cjs/arcgis-bookmarks.cjs.entry.js +2 -2
  63. package/dist/cjs/arcgis-building-explorer.cjs.entry.js +2 -2
  64. package/dist/cjs/arcgis-compass.cjs.entry.js +2 -2
  65. package/dist/cjs/arcgis-coordinate-conversion.cjs.entry.js +2 -2
  66. package/dist/cjs/arcgis-daylight.cjs.entry.js +2 -2
  67. package/dist/{arcgis-map-components/arcgis-slice.entry.js → cjs/arcgis-directional-pad.cjs.entry.js} +34 -33
  68. package/dist/cjs/arcgis-directions.cjs.entry.js +2 -2
  69. package/dist/cjs/arcgis-directline-measurement-3d.cjs.entry.js +2 -2
  70. package/dist/cjs/arcgis-distance-measurement-2d.cjs.entry.js +2 -2
  71. package/dist/cjs/arcgis-editor.cjs.entry.js +2 -2
  72. package/dist/cjs/arcgis-elevation-profile.cjs.entry.js +2 -2
  73. package/dist/cjs/arcgis-feature-form.cjs.entry.js +1 -1
  74. package/dist/cjs/arcgis-feature-table.cjs.entry.js +2 -2
  75. package/dist/cjs/arcgis-feature-templates.cjs.entry.js +2 -2
  76. package/dist/cjs/arcgis-feature.cjs.entry.js +2 -2
  77. package/dist/cjs/arcgis-features.cjs.entry.js +2 -2
  78. package/dist/cjs/arcgis-floor-filter.cjs.entry.js +2 -2
  79. package/dist/cjs/arcgis-fullscreen.cjs.entry.js +2 -2
  80. package/dist/cjs/arcgis-histogram-range-slider.cjs.entry.js +2 -2
  81. package/dist/cjs/arcgis-histogram.cjs.entry.js +1 -1
  82. package/dist/cjs/arcgis-home.cjs.entry.js +2 -2
  83. package/dist/cjs/arcgis-layer-list.cjs.entry.js +2 -2
  84. package/dist/cjs/arcgis-legend.cjs.entry.js +2 -2
  85. package/dist/cjs/arcgis-line-of-sight.cjs.entry.js +2 -2
  86. package/dist/cjs/arcgis-locate.cjs.entry.js +2 -2
  87. package/dist/cjs/arcgis-map-components.cjs.js +1 -1
  88. package/dist/cjs/arcgis-measurement.cjs.entry.js +2 -2
  89. package/dist/cjs/arcgis-navigation-toggle.cjs.entry.js +2 -2
  90. package/dist/cjs/arcgis-print.cjs.entry.js +2 -2
  91. package/dist/cjs/arcgis-scale-bar.cjs.entry.js +2 -2
  92. package/dist/cjs/arcgis-scale-range-slider.cjs.entry.js +2 -2
  93. package/dist/cjs/arcgis-scene.cjs.entry.js +1 -1
  94. package/dist/cjs/arcgis-search.cjs.entry.js +2 -2
  95. package/dist/cjs/arcgis-shadow-cast.cjs.entry.js +2 -2
  96. package/dist/cjs/arcgis-sketch.cjs.entry.js +2 -2
  97. package/dist/cjs/arcgis-slice.cjs.entry.js +2 -2
  98. package/dist/cjs/arcgis-slider.cjs.entry.js +2 -2
  99. package/dist/cjs/arcgis-swipe.cjs.entry.js +2 -2
  100. package/dist/cjs/arcgis-table-list.cjs.entry.js +2 -2
  101. package/dist/cjs/arcgis-time-slider.cjs.entry.js +2 -2
  102. package/dist/cjs/arcgis-track.cjs.entry.js +2 -2
  103. package/dist/cjs/arcgis-utility-network-associations.cjs.entry.js +220 -0
  104. package/dist/cjs/arcgis-utility-network-trace.cjs.entry.js +2 -2
  105. package/dist/cjs/arcgis-utility-network-validate-topology.cjs.entry.js +110 -0
  106. package/dist/cjs/arcgis-value-picker.cjs.entry.js +2 -2
  107. package/dist/cjs/arcgis-weather.cjs.entry.js +2 -2
  108. package/dist/cjs/arcgis-zoom.cjs.entry.js +2 -2
  109. package/dist/cjs/{component-utils-933b7aca.js → component-utils-cbd20e88.js} +1 -0
  110. package/dist/cjs/index-6b51d5a0.js +12 -0
  111. package/dist/cjs/{index-ef2acc94.js → index-fda6ecee.js} +36 -0
  112. package/dist/cjs/loader.cjs.js +1 -1
  113. package/dist/components/arcgis-directional-pad.d.ts +11 -0
  114. package/dist/components/arcgis-directional-pad.js +126 -0
  115. package/dist/components/arcgis-directions.js +1 -1
  116. package/dist/components/arcgis-directline-measurement-3d.js +1 -1
  117. package/dist/components/arcgis-distance-measurement-2d.js +1 -1
  118. package/dist/components/arcgis-editor.js +1 -1
  119. package/dist/components/arcgis-elevation-profile.js +1 -1
  120. package/dist/components/arcgis-expand2.js +1 -1
  121. package/dist/components/arcgis-feature-form.js +1 -1
  122. package/dist/components/arcgis-feature-table.js +1 -1
  123. package/dist/components/arcgis-feature-templates.js +1 -1
  124. package/dist/components/arcgis-feature.js +1 -1
  125. package/dist/components/arcgis-features.js +1 -1
  126. package/dist/components/arcgis-floor-filter.js +1 -1
  127. package/dist/components/arcgis-fullscreen.js +1 -1
  128. package/dist/components/arcgis-histogram-range-slider.js +1 -1
  129. package/dist/components/arcgis-histogram.js +1 -1
  130. package/dist/components/arcgis-home.js +1 -1
  131. package/dist/components/arcgis-layer-list.js +1 -1
  132. package/dist/components/arcgis-legend.js +1 -1
  133. package/dist/components/arcgis-line-of-sight.js +1 -1
  134. package/dist/components/arcgis-locate.js +1 -1
  135. package/dist/components/arcgis-map.js +1 -1
  136. package/dist/components/arcgis-measurement.js +1 -1
  137. package/dist/components/arcgis-navigation-toggle.js +1 -1
  138. package/dist/components/arcgis-print.js +1 -1
  139. package/dist/components/arcgis-scale-bar.js +1 -1
  140. package/dist/components/arcgis-scale-range-slider.js +1 -1
  141. package/dist/components/arcgis-scene.js +1 -1
  142. package/dist/components/arcgis-search.js +1 -1
  143. package/dist/components/arcgis-shadow-cast.js +1 -1
  144. package/dist/components/arcgis-sketch.js +1 -1
  145. package/dist/components/arcgis-slice.js +1 -1
  146. package/dist/components/arcgis-slider.js +1 -1
  147. package/dist/components/arcgis-swipe.js +1 -1
  148. package/dist/components/arcgis-table-list.js +1 -1
  149. package/dist/components/arcgis-time-slider.js +1 -1
  150. package/dist/components/arcgis-track.js +1 -1
  151. package/dist/components/arcgis-utility-network-associations.d.ts +11 -0
  152. package/dist/components/arcgis-utility-network-associations.js +258 -0
  153. package/dist/components/arcgis-utility-network-trace.js +1 -1
  154. package/dist/components/arcgis-utility-network-validate-topology.d.ts +11 -0
  155. package/dist/components/arcgis-utility-network-validate-topology.js +137 -0
  156. package/dist/components/arcgis-value-picker.js +1 -1
  157. package/dist/components/arcgis-weather.js +1 -1
  158. package/dist/components/arcgis-zoom.js +1 -1
  159. package/dist/components/disconnected.js +1 -1
  160. package/dist/components/index.d.ts +3 -0
  161. package/dist/components/index.js +3 -0
  162. package/dist/components/index2.js +34 -1
  163. package/dist/esm/arcgis-area-measurement-2d.entry.js +2 -2
  164. package/dist/esm/arcgis-area-measurement-3d.entry.js +2 -2
  165. package/dist/esm/arcgis-attachments.entry.js +1 -1
  166. package/dist/esm/arcgis-basemap-gallery_3.entry.js +2 -2
  167. package/dist/esm/arcgis-basemap-layer-list.entry.js +2 -2
  168. package/dist/esm/arcgis-basemap-toggle.entry.js +2 -2
  169. package/dist/esm/arcgis-bookmarks.entry.js +2 -2
  170. package/dist/esm/arcgis-building-explorer.entry.js +2 -2
  171. package/dist/esm/arcgis-compass.entry.js +2 -2
  172. package/dist/esm/arcgis-coordinate-conversion.entry.js +2 -2
  173. package/dist/esm/arcgis-daylight.entry.js +2 -2
  174. package/dist/{arcgis-map-components/arcgis-shadow-cast.entry.js → esm/arcgis-directional-pad.entry.js} +22 -17
  175. package/dist/esm/arcgis-directions.entry.js +2 -2
  176. package/dist/esm/arcgis-directline-measurement-3d.entry.js +2 -2
  177. package/dist/esm/arcgis-distance-measurement-2d.entry.js +2 -2
  178. package/dist/esm/arcgis-editor.entry.js +2 -2
  179. package/dist/esm/arcgis-elevation-profile.entry.js +2 -2
  180. package/dist/esm/arcgis-feature-form.entry.js +1 -1
  181. package/dist/esm/arcgis-feature-table.entry.js +2 -2
  182. package/dist/esm/arcgis-feature-templates.entry.js +2 -2
  183. package/dist/esm/arcgis-feature.entry.js +2 -2
  184. package/dist/esm/arcgis-features.entry.js +2 -2
  185. package/dist/esm/arcgis-floor-filter.entry.js +2 -2
  186. package/dist/esm/arcgis-fullscreen.entry.js +2 -2
  187. package/dist/esm/arcgis-histogram-range-slider.entry.js +2 -2
  188. package/dist/esm/arcgis-histogram.entry.js +1 -1
  189. package/dist/esm/arcgis-home.entry.js +2 -2
  190. package/dist/esm/arcgis-layer-list.entry.js +2 -2
  191. package/dist/esm/arcgis-legend.entry.js +2 -2
  192. package/dist/esm/arcgis-line-of-sight.entry.js +2 -2
  193. package/dist/esm/arcgis-locate.entry.js +2 -2
  194. package/dist/esm/arcgis-map-components.js +1 -1
  195. package/dist/esm/arcgis-measurement.entry.js +2 -2
  196. package/dist/esm/arcgis-navigation-toggle.entry.js +2 -2
  197. package/dist/esm/arcgis-print.entry.js +2 -2
  198. package/dist/esm/arcgis-scale-bar.entry.js +2 -2
  199. package/dist/esm/arcgis-scale-range-slider.entry.js +2 -2
  200. package/dist/esm/arcgis-scene.entry.js +1 -1
  201. package/dist/esm/arcgis-search.entry.js +2 -2
  202. package/dist/esm/arcgis-shadow-cast.entry.js +2 -2
  203. package/dist/esm/arcgis-sketch.entry.js +2 -2
  204. package/dist/esm/arcgis-slice.entry.js +2 -2
  205. package/dist/esm/arcgis-slider.entry.js +2 -2
  206. package/dist/esm/arcgis-swipe.entry.js +2 -2
  207. package/dist/esm/arcgis-table-list.entry.js +2 -2
  208. package/dist/esm/arcgis-time-slider.entry.js +2 -2
  209. package/dist/esm/arcgis-track.entry.js +2 -2
  210. package/dist/esm/arcgis-utility-network-associations.entry.js +216 -0
  211. package/dist/esm/arcgis-utility-network-trace.entry.js +2 -2
  212. package/dist/{arcgis-map-components/arcgis-daylight.entry.js → esm/arcgis-utility-network-validate-topology.entry.js} +29 -35
  213. package/dist/esm/arcgis-value-picker.entry.js +2 -2
  214. package/dist/esm/arcgis-weather.entry.js +2 -2
  215. package/dist/esm/arcgis-zoom.entry.js +2 -2
  216. package/dist/{arcgis-map-components/component-utils-d3552de2.js → esm/component-utils-2ebdae59.js} +1 -1
  217. package/dist/esm/{index-ad26b6d0.js → index-98b79a87.js} +34 -1
  218. package/dist/esm/index-eb3ead33.js +12 -0
  219. package/dist/esm/loader.js +1 -1
  220. package/dist/types/components/arcgis-directional-pad/arcgis-directional-pad.d.ts +27 -0
  221. package/dist/types/components/arcgis-utility-network-associations/arcgis-utility-network-associations.d.ts +50 -0
  222. package/dist/types/components/arcgis-utility-network-validate-topology/arcgis-utility-network-validate-topology.d.ts +28 -0
  223. package/dist/types/components.d.ts +119 -0
  224. package/package.json +9 -8
  225. package/dist/arcgis-map-components/app-globals-0f993ce5.js +0 -3
  226. package/dist/arcgis-map-components/arcgis-area-measurement-2d.entry.js +0 -97
  227. package/dist/arcgis-map-components/arcgis-area-measurement-3d.entry.js +0 -90
  228. package/dist/arcgis-map-components/arcgis-attachments.entry.js +0 -69
  229. package/dist/arcgis-map-components/arcgis-basemap-gallery.entry.js +0 -93
  230. package/dist/arcgis-map-components/arcgis-basemap-layer-list.entry.js +0 -140
  231. package/dist/arcgis-map-components/arcgis-basemap-toggle.entry.js +0 -111
  232. package/dist/arcgis-map-components/arcgis-bookmarks.entry.js +0 -136
  233. package/dist/arcgis-map-components/arcgis-building-explorer.entry.js +0 -76
  234. package/dist/arcgis-map-components/arcgis-compass.entry.js +0 -86
  235. package/dist/arcgis-map-components/arcgis-coordinate-conversion.entry.js +0 -154
  236. package/dist/arcgis-map-components/arcgis-directions.entry.js +0 -190
  237. package/dist/arcgis-map-components/arcgis-directline-measurement-3d.entry.js +0 -110
  238. package/dist/arcgis-map-components/arcgis-distance-measurement-2d.entry.js +0 -102
  239. package/dist/arcgis-map-components/arcgis-editor.entry.js +0 -176
  240. package/dist/arcgis-map-components/arcgis-elevation-profile.entry.js +0 -132
  241. package/dist/arcgis-map-components/arcgis-expand.entry.js +0 -88
  242. package/dist/arcgis-map-components/arcgis-feature-form.entry.js +0 -32
  243. package/dist/arcgis-map-components/arcgis-feature-table.entry.js +0 -296
  244. package/dist/arcgis-map-components/arcgis-feature-templates.entry.js +0 -69
  245. package/dist/arcgis-map-components/arcgis-feature.entry.js +0 -102
  246. package/dist/arcgis-map-components/arcgis-features.entry.js +0 -129
  247. package/dist/arcgis-map-components/arcgis-floor-filter.entry.js +0 -130
  248. package/dist/arcgis-map-components/arcgis-fullscreen.entry.js +0 -88
  249. package/dist/arcgis-map-components/arcgis-histogram-range-slider.entry.js +0 -76
  250. package/dist/arcgis-map-components/arcgis-histogram.entry.js +0 -32
  251. package/dist/arcgis-map-components/arcgis-home.entry.js +0 -104
  252. package/dist/arcgis-map-components/arcgis-layer-list.entry.js +0 -124
  253. package/dist/arcgis-map-components/arcgis-legend.entry.js +0 -142
  254. package/dist/arcgis-map-components/arcgis-line-of-sight.entry.js +0 -90
  255. package/dist/arcgis-map-components/arcgis-locate.entry.js +0 -154
  256. package/dist/arcgis-map-components/arcgis-map.entry.js +0 -104
  257. package/dist/arcgis-map-components/arcgis-measurement.entry.js +0 -119
  258. package/dist/arcgis-map-components/arcgis-navigation-toggle.entry.js +0 -93
  259. package/dist/arcgis-map-components/arcgis-print.entry.js +0 -159
  260. package/dist/arcgis-map-components/arcgis-scale-bar.entry.js +0 -102
  261. package/dist/arcgis-map-components/arcgis-scale-range-slider.entry.js +0 -142
  262. package/dist/arcgis-map-components/arcgis-scene.entry.js +0 -102
  263. package/dist/arcgis-map-components/arcgis-search.entry.js +0 -272
  264. package/dist/arcgis-map-components/arcgis-sketch.entry.js +0 -197
  265. package/dist/arcgis-map-components/arcgis-slider.entry.js +0 -229
  266. package/dist/arcgis-map-components/arcgis-swipe.entry.js +0 -113
  267. package/dist/arcgis-map-components/arcgis-table-list.entry.js +0 -114
  268. package/dist/arcgis-map-components/arcgis-time-slider.entry.js +0 -212
  269. package/dist/arcgis-map-components/arcgis-track.entry.js +0 -143
  270. package/dist/arcgis-map-components/arcgis-utility-network-trace.entry.js +0 -158
  271. package/dist/arcgis-map-components/arcgis-value-picker.entry.js +0 -156
  272. package/dist/arcgis-map-components/arcgis-weather.entry.js +0 -82
  273. package/dist/arcgis-map-components/arcgis-zoom.entry.js +0 -96
  274. package/dist/arcgis-map-components/css-shim-b7d3d95f.js +0 -4
  275. package/dist/arcgis-map-components/disconnected-bc5fc8bc.js +0 -52
  276. package/dist/arcgis-map-components/dom-64053c71.js +0 -73
  277. package/dist/arcgis-map-components/index-82d260eb.js +0 -8293
  278. package/dist/arcgis-map-components/index-d9a93dfb.js +0 -3371
  279. package/dist/arcgis-map-components/mapping-utils-26beb904.js +0 -38
  280. package/dist/arcgis-map-components/p-095e0075.js +0 -1
  281. package/dist/arcgis-map-components/p-7e5545cf.entry.js +0 -1
  282. package/dist/arcgis-map-components/p-80fd5534.entry.js +0 -1
  283. package/dist/arcgis-map-components/p-81a3bd3b.entry.js +0 -1
  284. package/dist/arcgis-map-components/p-95287b70.entry.js +0 -1
  285. package/dist/arcgis-map-components/p-ae017ef1.entry.js +0 -1
  286. package/dist/arcgis-map-components/p-c64bceeb.entry.js +0 -1
  287. package/dist/arcgis-map-components/p-d0dc4119.entry.js +0 -1
  288. package/dist/arcgis-map-components/shadow-css-008a49f5.js +0 -387
  289. package/dist/esm/component-utils-d3552de2.js +0 -73
@@ -1,158 +0,0 @@
1
- import { r as registerInstance, e as createEvent, h, g as getElement } from './index-d9a93dfb.js';
2
- import { $ as newWidgetsUtilityNetworkTrace } from './index-82d260eb.js';
3
- import { r as referenceElementHelper, c as checkForView } from './component-utils-d3552de2.js';
4
- import { o as onDisconnectedHelper } from './disconnected-bc5fc8bc.js';
5
-
6
- const arcgisUtilityNetworkTraceCss = "";
7
-
8
- const ArcgisUtilityNetworkTrace = class {
9
- constructor(hostRef) {
10
- registerInstance(this, hostRef);
11
- this.traceAddFlag = createEvent(this, "traceAddFlag", 7);
12
- this.traceAddFlagComplete = createEvent(this, "traceAddFlagComplete", 7);
13
- this.traceAddFlagError = createEvent(this, "traceAddFlagError", 7);
14
- this.widgetReady = createEvent(this, "widgetReady", 7);
15
- this.referenceElement = undefined;
16
- this.defaultGraphicColor = undefined;
17
- this.flags = undefined;
18
- this.gdbVersion = undefined;
19
- this.inputSettings = undefined;
20
- this.selectedTraces = undefined;
21
- this.selectOnComplete = undefined;
22
- this.showGraphicsOnComplete = undefined;
23
- this.showSelectionAttributes = undefined;
24
- this.position = "bottom-left";
25
- this.expandable = false;
26
- this.view = undefined;
27
- this.widget = undefined;
28
- }
29
- //--------------------------------------------------------------------------
30
- //
31
- // Watchers
32
- //
33
- //--------------------------------------------------------------------------
34
- defaultGraphicColorWatcher(newValue) {
35
- if (newValue !== undefined && this.widget) {
36
- this.widget.defaultGraphicColor = newValue;
37
- }
38
- }
39
- flagsWatcher(newValue) {
40
- if (newValue !== undefined && this.widget) {
41
- this.widget.flags = newValue;
42
- }
43
- }
44
- gdbVersionWatcher(newValue) {
45
- if (newValue !== undefined && this.widget) {
46
- this.widget.gdbVersion = newValue;
47
- }
48
- }
49
- inputSettingsWatcher(newValue) {
50
- if (newValue !== undefined && this.widget) {
51
- this.widget.inputSettings = newValue;
52
- }
53
- }
54
- selectedTracesWatcher(newValue) {
55
- if (newValue !== undefined && this.widget) {
56
- this.widget.selectedTraces = newValue;
57
- }
58
- }
59
- selectOnCompleteWatcher(newValue) {
60
- if (newValue !== undefined && this.widget) {
61
- this.widget.selectOnComplete = newValue;
62
- }
63
- }
64
- showGraphicsOnCompleteWatcher(newValue) {
65
- if (newValue !== undefined && this.widget) {
66
- this.widget.showGraphicsOnComplete = newValue;
67
- }
68
- }
69
- showSelectionAttributesWatcher(newValue) {
70
- if (newValue !== undefined && this.widget) {
71
- this.widget.showSelectionAttributes = newValue;
72
- }
73
- }
74
- positionWatcher(newValue) {
75
- if (newValue !== undefined && this.widget) {
76
- if (typeof this.view !== "string") {
77
- this.view.ui.move(this.childElem, newValue);
78
- }
79
- }
80
- }
81
- referenceElementWatcher(newValue) {
82
- referenceElementHelper(this, newValue);
83
- }
84
- viewWatcher(newValue) {
85
- if (newValue !== undefined && this.widget) {
86
- this.widget.view = newValue;
87
- }
88
- }
89
- //--------------------------------------------------------------------------
90
- //
91
- // Methods
92
- //
93
- //--------------------------------------------------------------------------
94
- async checkCanTrace() {
95
- return this.widget?.checkCanTrace();
96
- }
97
- async confirmReset() {
98
- return this.widget?.confirmReset();
99
- }
100
- //--------------------------------------------------------------------------
101
- //
102
- // Lifecycle
103
- //
104
- //--------------------------------------------------------------------------
105
- async componentDidLoad() {
106
- const params = this._createParams();
107
- const widget = await newWidgetsUtilityNetworkTrace(params);
108
- this.widget = widget;
109
- this._proxyEvents();
110
- this.widgetReady.emit(true);
111
- checkForView(this);
112
- }
113
- disconnectedCallback() {
114
- onDisconnectedHelper(this);
115
- }
116
- render() {
117
- if (this.expandable) {
118
- return (h("arcgis-expand", { position: this.position, ref: (el) => (this.expandElem = el) }, h("div", { ref: (el) => (this.childElem = el) })));
119
- }
120
- return h("div", { ref: (el) => (this.childElem = el) });
121
- }
122
- //--------------------------------------------------------------------------
123
- //
124
- // Private Methods
125
- //
126
- //--------------------------------------------------------------------------
127
- _createParams() {
128
- const params = {
129
- container: this.childElem
130
- };
131
- if (this.view) {
132
- params.view = this.view;
133
- }
134
- return params;
135
- }
136
- _proxyEvents() {
137
- this.widget.on("add-flag", (e) => this.traceAddFlag.emit(e));
138
- this.widget.on("add-flag-complete", (e) => this.traceAddFlagComplete.emit(e));
139
- this.widget.on("add-flag-error", (e) => this.traceAddFlagError.emit(e));
140
- }
141
- get el() { return getElement(this); }
142
- static get watchers() { return {
143
- "defaultGraphicColor": ["defaultGraphicColorWatcher"],
144
- "flags": ["flagsWatcher"],
145
- "gdbVersion": ["gdbVersionWatcher"],
146
- "inputSettings": ["inputSettingsWatcher"],
147
- "selectedTraces": ["selectedTracesWatcher"],
148
- "selectOnComplete": ["selectOnCompleteWatcher"],
149
- "showGraphicsOnComplete": ["showGraphicsOnCompleteWatcher"],
150
- "showSelectionAttributes": ["showSelectionAttributesWatcher"],
151
- "position": ["positionWatcher"],
152
- "referenceElement": ["referenceElementWatcher"],
153
- "view": ["viewWatcher"]
154
- }; }
155
- };
156
- ArcgisUtilityNetworkTrace.style = arcgisUtilityNetworkTraceCss;
157
-
158
- export { ArcgisUtilityNetworkTrace as arcgis_utility_network_trace };
@@ -1,156 +0,0 @@
1
- import { r as registerInstance, e as createEvent, h, g as getElement } from './index-d9a93dfb.js';
2
- import { a0 as newWidgetsValuePicker, i as importCoreReactiveUtils } from './index-82d260eb.js';
3
- import { c as checkForView } from './component-utils-d3552de2.js';
4
- import { o as onDisconnectedHelper } from './disconnected-bc5fc8bc.js';
5
-
6
- const arcgisValuePickerCss = "arcgis-value-picker{}";
7
-
8
- const ArcgisValuePicker = class {
9
- constructor(hostRef) {
10
- registerInstance(this, hostRef);
11
- this.widgetReady = createEvent(this, "widgetReady", 7);
12
- this.valuePickerAnimate = createEvent(this, "valuePickerAnimate", 7);
13
- this.valuePickerNext = createEvent(this, "valuePickerNext", 7);
14
- this.valuePickerPause = createEvent(this, "valuePickerPause", 7);
15
- this.valuePickerPlay = createEvent(this, "valuePickerPlay", 7);
16
- this.valuePickerPrevious = createEvent(this, "valuePickerPrevious", 7);
17
- this.referenceElement = undefined;
18
- this.view = undefined;
19
- this.position = "bottom-left";
20
- this.expandable = false;
21
- this.widget = undefined;
22
- this.canNext = undefined;
23
- this.canPlay = undefined;
24
- this.canPrevious = undefined;
25
- this.caption = undefined;
26
- this.component = undefined;
27
- this.layout = undefined;
28
- this.loop = undefined;
29
- this.playRate = undefined;
30
- this.values = undefined;
31
- }
32
- //--------------------------------------------------------------------------
33
- //
34
- // Watchers
35
- //
36
- //--------------------------------------------------------------------------
37
- positionWatcher(newValue) {
38
- if (newValue !== undefined && this.widget) {
39
- if (typeof this.view !== "string") {
40
- this.view.ui.move(this.childElem, newValue);
41
- }
42
- }
43
- }
44
- captionWatcher(newValue) {
45
- this.widget.caption = newValue;
46
- }
47
- componentWatcher(newValue) {
48
- this.widget.component = newValue;
49
- }
50
- layoutWatcher(newValue) {
51
- this.widget.layout = newValue;
52
- }
53
- loopWatcher(newValue) {
54
- this.widget.loop = newValue;
55
- }
56
- playRateWatcher(newValue) {
57
- this.widget.playRate = newValue;
58
- }
59
- //--------------------------------------------------------------------------
60
- //
61
- // Methods
62
- //
63
- //--------------------------------------------------------------------------
64
- async next() {
65
- return this.widget?.next();
66
- }
67
- async pause() {
68
- return this.widget?.pause();
69
- }
70
- async play() {
71
- return this.widget?.play();
72
- }
73
- async previous() {
74
- return this.widget?.previous();
75
- }
76
- //--------------------------------------------------------------------------
77
- //
78
- // Lifecycle
79
- //
80
- //--------------------------------------------------------------------------
81
- async componentDidLoad() {
82
- const params = this._createParams();
83
- const widget = await newWidgetsValuePicker(params);
84
- this.widget = widget;
85
- await this._addWatchers();
86
- this._proxyEvents();
87
- this.widgetReady.emit(true);
88
- checkForView(this);
89
- }
90
- disconnectedCallback() {
91
- onDisconnectedHelper(this);
92
- }
93
- render() {
94
- if (this.expandable) {
95
- return (h("arcgis-expand", { position: this.position, ref: (el) => (this.expandElem = el) }, h("div", { ref: (el) => (this.childElem = el) })));
96
- }
97
- return h("div", { ref: (el) => (this.childElem = el) });
98
- }
99
- //--------------------------------------------------------------------------
100
- //
101
- // Private Interal Methods
102
- //
103
- //--------------------------------------------------------------------------
104
- async _addWatchers() {
105
- const { watch } = await importCoreReactiveUtils();
106
- watch(() => this.widget.canNext, (value) => (this.canNext = value), {
107
- initial: true
108
- });
109
- watch(() => this.widget.canPlay, (value) => (this.canPlay = value), {
110
- initial: true
111
- });
112
- watch(() => this.widget.canPrevious, (value) => (this.canPrevious = value), {
113
- initial: true
114
- });
115
- }
116
- _createParams() {
117
- const params = {
118
- container: this.childElem
119
- };
120
- if (this.caption) {
121
- params.caption = this.caption;
122
- }
123
- if (this.component) {
124
- params.component = this.component;
125
- }
126
- if (this.layout) {
127
- params.layout = this.layout;
128
- }
129
- if (this.loop) {
130
- params.loop = this.loop;
131
- }
132
- if (this.playRate) {
133
- params.playRate = this.playRate;
134
- }
135
- return params;
136
- }
137
- _proxyEvents() {
138
- this.widget.on("animate", (e) => this.valuePickerAnimate.emit(e));
139
- this.widget.on("next", (e) => this.valuePickerNext.emit(e));
140
- this.widget.on("pause", (e) => this.valuePickerPause.emit(e));
141
- this.widget.on("play", (e) => this.valuePickerPlay.emit(e));
142
- this.widget.on("previous", (e) => this.valuePickerPrevious.emit(e));
143
- }
144
- get el() { return getElement(this); }
145
- static get watchers() { return {
146
- "position": ["positionWatcher"],
147
- "caption": ["captionWatcher"],
148
- "component": ["componentWatcher"],
149
- "layout": ["layoutWatcher"],
150
- "loop": ["loopWatcher"],
151
- "playRate": ["playRateWatcher"]
152
- }; }
153
- };
154
- ArcgisValuePicker.style = arcgisValuePickerCss;
155
-
156
- export { ArcgisValuePicker as arcgis_value_picker };
@@ -1,82 +0,0 @@
1
- import { r as registerInstance, e as createEvent, h, g as getElement } from './index-d9a93dfb.js';
2
- import { a1 as newWidgetsWeather } from './index-82d260eb.js';
3
- import { r as referenceElementHelper, c as checkForView } from './component-utils-d3552de2.js';
4
- import { o as onDisconnectedHelper } from './disconnected-bc5fc8bc.js';
5
-
6
- const arcgisWeatherCss = "";
7
-
8
- const ArcgisWeather = class {
9
- constructor(hostRef) {
10
- registerInstance(this, hostRef);
11
- this.widgetReady = createEvent(this, "widgetReady", 7);
12
- this.referenceElement = undefined;
13
- this.position = "bottom-left";
14
- this.expandable = false;
15
- this.view = undefined;
16
- this.widget = undefined;
17
- }
18
- //--------------------------------------------------------------------------
19
- //
20
- // Watchers
21
- //
22
- //--------------------------------------------------------------------------
23
- positionWatcher(newValue) {
24
- if (newValue !== undefined && this.widget) {
25
- if (typeof this.view !== "string") {
26
- this.view.ui.move(this.childElem, newValue);
27
- }
28
- }
29
- }
30
- referenceElementWatcher(newValue) {
31
- referenceElementHelper(this, newValue);
32
- }
33
- viewWatcher(newValue) {
34
- if (newValue !== undefined && this.widget) {
35
- this.widget.view = newValue;
36
- }
37
- }
38
- //--------------------------------------------------------------------------
39
- //
40
- // Lifecycle
41
- //
42
- //--------------------------------------------------------------------------
43
- async componentDidLoad() {
44
- const params = this._createParams();
45
- const widget = await newWidgetsWeather(params);
46
- this.widget = widget;
47
- this.widgetReady.emit(true);
48
- checkForView(this);
49
- }
50
- disconnectedCallback() {
51
- onDisconnectedHelper(this);
52
- }
53
- render() {
54
- if (this.expandable) {
55
- return (h("arcgis-expand", { position: this.position, ref: (el) => (this.expandElem = el) }, h("div", { ref: (el) => (this.childElem = el) })));
56
- }
57
- return h("div", { ref: (el) => (this.childElem = el) });
58
- }
59
- //--------------------------------------------------------------------------
60
- //
61
- // Private Methods
62
- //
63
- //--------------------------------------------------------------------------
64
- _createParams() {
65
- const params = {
66
- container: this.childElem
67
- };
68
- if (this.view) {
69
- params.view = this.view;
70
- }
71
- return params;
72
- }
73
- get el() { return getElement(this); }
74
- static get watchers() { return {
75
- "position": ["positionWatcher"],
76
- "referenceElement": ["referenceElementWatcher"],
77
- "view": ["viewWatcher"]
78
- }; }
79
- };
80
- ArcgisWeather.style = arcgisWeatherCss;
81
-
82
- export { ArcgisWeather as arcgis_weather };
@@ -1,96 +0,0 @@
1
- import { r as registerInstance, e as createEvent, h, g as getElement } from './index-d9a93dfb.js';
2
- import { a2 as newWidgetsZoom } from './index-82d260eb.js';
3
- import { r as referenceElementHelper, c as checkForView } from './component-utils-d3552de2.js';
4
- import { o as onDisconnectedHelper } from './disconnected-bc5fc8bc.js';
5
-
6
- const arcgisZoomCss = "arcgis-zoom{}";
7
-
8
- const ArcgisZoom = class {
9
- constructor(hostRef) {
10
- registerInstance(this, hostRef);
11
- this.widgetReady = createEvent(this, "widgetReady", 7);
12
- this.referenceElement = undefined;
13
- this.layout = undefined;
14
- this.view = undefined;
15
- this.position = "bottom-left";
16
- this.widget = undefined;
17
- }
18
- //--------------------------------------------------------------------------
19
- //
20
- // Watchers
21
- //
22
- //--------------------------------------------------------------------------
23
- layoutWatcher(newValue) {
24
- if (newValue !== undefined && this.widget) {
25
- this.widget.layout = newValue;
26
- }
27
- }
28
- positionWatcher(newValue) {
29
- if (newValue !== undefined && this.widget) {
30
- if (typeof this.view !== "string") {
31
- this.view.ui.move(this.childElem, newValue);
32
- }
33
- }
34
- }
35
- referenceElementWatcher(newValue) {
36
- referenceElementHelper(this, newValue);
37
- }
38
- viewWatcher(newValue) {
39
- if (newValue !== undefined && this.widget) {
40
- this.widget.view = newValue;
41
- }
42
- }
43
- //--------------------------------------------------------------------------
44
- //
45
- // Methods
46
- //
47
- //--------------------------------------------------------------------------
48
- async zoomIn() {
49
- return this.widget?.zoomIn();
50
- }
51
- async zoomOut() {
52
- return this.widget?.zoomOut();
53
- }
54
- //--------------------------------------------------------------------------
55
- //
56
- // Lifecycle
57
- //
58
- //--------------------------------------------------------------------------
59
- async componentDidLoad() {
60
- const params = this._createParams();
61
- const widget = await newWidgetsZoom(params);
62
- this.widget = widget;
63
- this.widgetReady.emit(true);
64
- checkForView(this);
65
- }
66
- disconnectedCallback() {
67
- onDisconnectedHelper(this);
68
- }
69
- render() {
70
- return h("div", { ref: (el) => (this.childElem = el) });
71
- }
72
- //--------------------------------------------------------------------------
73
- //
74
- // Private Methods
75
- //
76
- //--------------------------------------------------------------------------
77
- _createParams() {
78
- const params = {
79
- container: this.childElem
80
- };
81
- if (this.view) {
82
- params.view = this.view;
83
- }
84
- return params;
85
- }
86
- get el() { return getElement(this); }
87
- static get watchers() { return {
88
- "layout": ["layoutWatcher"],
89
- "position": ["positionWatcher"],
90
- "referenceElement": ["referenceElementWatcher"],
91
- "view": ["viewWatcher"]
92
- }; }
93
- };
94
- ArcgisZoom.style = arcgisZoomCss;
95
-
96
- export { ArcgisZoom as arcgis_zoom };
@@ -1,4 +0,0 @@
1
- /*
2
- Stencil Client Patch Esm v2.22.3 | MIT Licensed | https://stenciljs.com
3
- */
4
- var __assign=undefined&&undefined.__assign||function(){return __assign=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var s in t=arguments[r])Object.prototype.hasOwnProperty.call(t,s)&&(e[s]=t[s]);return e},__assign.apply(this,arguments)},StyleNode=function(){this.start=0,this.end=0,this.previous=null,this.parent=null,this.rules=null,this.parsedCssText="",this.cssText="",this.atRule=!1,this.type=0,this.keyframesName="",this.selector="",this.parsedSelector="";};function parse(e){return parseCss(lex(e=clean(e)),e)}function clean(e){return e.replace(RX.comments,"").replace(RX.port,"")}function lex(e){var t=new StyleNode;t.start=0,t.end=e.length;for(var r=t,n=0,s=e.length;n<s;n++)if(e[n]===OPEN_BRACE){r.rules||(r.rules=[]);var o=r,a=o.rules[o.rules.length-1]||null;(r=new StyleNode).start=n+1,r.parent=o,r.previous=a,o.rules.push(r);}else e[n]===CLOSE_BRACE&&(r.end=n+1,r=r.parent||t);return t}function parseCss(e,t){var r=t.substring(e.start,e.end-1);if(e.parsedCssText=e.cssText=r.trim(),e.parent){var n=e.previous?e.previous.end:e.parent.start;r=(r=(r=_expandUnicodeEscapes(r=t.substring(n,e.start-1))).replace(RX.multipleSpaces," ")).substring(r.lastIndexOf(";")+1);var s=e.parsedSelector=e.selector=r.trim();e.atRule=0===s.indexOf(AT_START),e.atRule?0===s.indexOf(MEDIA_START)?e.type=types.MEDIA_RULE:s.match(RX.keyframesRule)&&(e.type=types.KEYFRAMES_RULE,e.keyframesName=e.selector.split(RX.multipleSpaces).pop()):0===s.indexOf(VAR_START)?e.type=types.MIXIN_RULE:e.type=types.STYLE_RULE;}var o=e.rules;if(o)for(var a=0,i=o.length,l=void 0;a<i&&(l=o[a]);a++)parseCss(l,t);return e}function _expandUnicodeEscapes(e){return e.replace(/\\([0-9a-f]{1,6})\s/gi,(function(){for(var e=arguments[1],t=6-e.length;t--;)e="0"+e;return "\\"+e}))}var types={STYLE_RULE:1,KEYFRAMES_RULE:7,MEDIA_RULE:4,MIXIN_RULE:1e3},OPEN_BRACE="{",CLOSE_BRACE="}",RX={comments:/\/\*[^*]*\*+([^/*][^*]*\*+)*\//gim,port:/@import[^;]*;/gim,customProp:/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?(?:[;\n]|$)/gim,mixinProp:/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?{[^}]*?}(?:[;\n]|$)?/gim,mixinApply:/@apply\s*\(?[^);]*\)?\s*(?:[;\n]|$)?/gim,varApply:/[^;:]*?:[^;]*?var\([^;]*\)(?:[;\n]|$)?/gim,keyframesRule:/^@[^\s]*keyframes/,multipleSpaces:/\s+/g},VAR_START="--",MEDIA_START="@media",AT_START="@",VAR_USAGE_START=/\bvar\(/,VAR_ASSIGN_START=/\B--[\w-]+\s*:/,COMMENTS=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//gim,TRAILING_LINES=/^[\t ]+\n/gm;function findRegex(e,t,r){e.lastIndex=0;var n=t.substring(r).match(e);if(n){var s=r+n.index;return {start:s,end:s+n[0].length}}return null}function resolveVar(e,t,r){return e[t]?e[t]:r?executeTemplate(r,e):""}function findVarEndIndex(e,t){for(var r=0,n=t;n<e.length;n++){var s=e[n];if("("===s)r++;else if(")"===s&&--r<=0)return n+1}return n}function parseVar(e,t){var r=findRegex(VAR_USAGE_START,e,t);if(!r)return null;var n=findVarEndIndex(e,r.start),s=e.substring(r.end,n-1).split(","),o=s[0],a=s.slice(1);return {start:r.start,end:n,propName:o.trim(),fallback:a.length>0?a.join(",").trim():void 0}}function compileVar(e,t,r){var n=parseVar(e,r);if(!n)return t.push(e.substring(r,e.length)),e.length;var s=n.propName,o=null!=n.fallback?compileTemplate(n.fallback):void 0;return t.push(e.substring(r,n.start),(function(e){return resolveVar(e,s,o)})),n.end}function executeTemplate(e,t){for(var r="",n=0;n<e.length;n++){var s=e[n];r+="string"==typeof s?s:s(t);}return r}function findEndValue(e,t){for(var r=!1,n=!1,s=t;s<e.length;s++){var o=e[s];if(r)n&&'"'===o&&(r=!1),n||"'"!==o||(r=!1);else if('"'===o)r=!0,n=!0;else if("'"===o)r=!0,n=!1;else {if(";"===o)return s+1;if("}"===o)return s}}return s}function removeCustomAssigns(e){for(var t="",r=0;;){var n=findRegex(VAR_ASSIGN_START,e,r),s=n?n.start:e.length;if(t+=e.substring(r,s),!n)break;r=findEndValue(e,s);}return t}function compileTemplate(e){var t=0;e=removeCustomAssigns(e=e.replace(COMMENTS,"")).replace(TRAILING_LINES,"");for(var r=[];t<e.length;)t=compileVar(e,r,t);return r}function resolveValues(e){var t={};e.forEach((function(e){e.declarations.forEach((function(e){t[e.prop]=e.value;}));}));for(var r={},n=Object.entries(t),s=function(e){var t=!1;if(n.forEach((function(e){var n=e[0],s=executeTemplate(e[1],r);s!==r[n]&&(r[n]=s,t=!0);})),!t)return "break"},o=0;o<10;o++){if("break"===s())break}return r}function getSelectors(e,t){if(void 0===t&&(t=0),!e.rules)return [];var r=[];return e.rules.filter((function(e){return e.type===types.STYLE_RULE})).forEach((function(e){var n=getDeclarations(e.cssText);n.length>0&&e.parsedSelector.split(",").forEach((function(e){e=e.trim(),r.push({selector:e,declarations:n,specificity:computeSpecificity(),nu:t});})),t++;})),r}function computeSpecificity(e){return 1}var IMPORTANT="!important",FIND_DECLARATIONS=/(?:^|[;\s{]\s*)(--[\w-]*?)\s*:\s*(?:((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};{])+)|\{([^}]*)\}(?:(?=[;\s}])|$))/gm;function getDeclarations(e){for(var t,r=[];t=FIND_DECLARATIONS.exec(e.trim());){var n=normalizeValue(t[2]),s=n.value,o=n.important;r.push({prop:t[1].trim(),value:compileTemplate(s),important:o});}return r}function normalizeValue(e){var t=(e=e.replace(/\s+/gim," ").trim()).endsWith(IMPORTANT);return t&&(e=e.slice(0,e.length-IMPORTANT.length).trim()),{value:e,important:t}}function getActiveSelectors(e,t,r){var n=[],s=getScopesForElement(t,e);return r.forEach((function(e){return n.push(e)})),s.forEach((function(e){return n.push(e)})),sortSelectors(getSelectorsForScopes(n).filter((function(t){return matches(e,t.selector)})))}function getScopesForElement(e,t){for(var r=[];t;){var n=e.get(t);n&&r.push(n),t=t.parentElement;}return r}function getSelectorsForScopes(e){var t=[];return e.forEach((function(e){t.push.apply(t,e.selectors);})),t}function sortSelectors(e){return e.sort((function(e,t){return e.specificity===t.specificity?e.nu-t.nu:e.specificity-t.specificity})),e}function matches(e,t){return ":root"===t||"html"===t||e.matches(t)}function parseCSS(e){var t=parse(e),r=compileTemplate(e);return {original:e,template:r,selectors:getSelectors(t),usesCssVars:r.length>1}}function addGlobalStyle(e,t){if(e.some((function(e){return e.styleEl===t})))return !1;var r=parseCSS(t.textContent);return r.styleEl=t,e.push(r),!0}function updateGlobalScopes(e){var t=resolveValues(getSelectorsForScopes(e));e.forEach((function(e){e.usesCssVars&&(e.styleEl.textContent=executeTemplate(e.template,t));}));}function reScope(e,t){var r=e.template.map((function(r){return "string"==typeof r?replaceScope(r,e.scopeId,t):r})),n=e.selectors.map((function(r){return __assign(__assign({},r),{selector:replaceScope(r.selector,e.scopeId,t)})}));return __assign(__assign({},e),{template:r,selectors:n,scopeId:t})}function replaceScope(e,t,r){return e=replaceAll(e,"\\.".concat(t),".".concat(r))}function replaceAll(e,t,r){return e.replace(new RegExp(t,"g"),r)}function loadDocument(e,t){return loadDocumentStyles(e,t),loadDocumentLinks(e,t).then((function(){updateGlobalScopes(t);}))}function startWatcher(e,t){"undefined"!=typeof MutationObserver&&new MutationObserver((function(){loadDocumentStyles(e,t)&&updateGlobalScopes(t);})).observe(document.head,{childList:!0});}function loadDocumentLinks(e,t){for(var r=[],n=e.querySelectorAll('link[rel="stylesheet"][href]:not([data-no-shim])'),s=0;s<n.length;s++)r.push(addGlobalLink(e,t,n[s]));return Promise.all(r)}function loadDocumentStyles(e,t){return Array.from(e.querySelectorAll("style:not([data-styles]):not([data-no-shim])")).map((function(e){return addGlobalStyle(t,e)})).some(Boolean)}function addGlobalLink(e,t,r){var n=r.href;return fetch(n).then((function(e){return e.text()})).then((function(s){if(hasCssVariables(s)&&r.parentNode){hasRelativeUrls(s)&&(s=fixRelativeUrls(s,n));var o=e.createElement("style");o.setAttribute("data-styles",""),o.textContent=s,addGlobalStyle(t,o),r.parentNode.insertBefore(o,r),r.remove();}})).catch((function(e){console.error(e);}))}var CSS_VARIABLE_REGEXP=/[\s;{]--[-a-zA-Z0-9]+\s*:/m;function hasCssVariables(e){return e.indexOf("var(")>-1||CSS_VARIABLE_REGEXP.test(e)}var CSS_URL_REGEXP=/url[\s]*\([\s]*['"]?(?!(?:https?|data)\:|\/)([^\'\"\)]*)[\s]*['"]?\)[\s]*/gim;function hasRelativeUrls(e){return CSS_URL_REGEXP.lastIndex=0,CSS_URL_REGEXP.test(e)}function fixRelativeUrls(e,t){var r=t.replace(/[^/]*$/,"");return e.replace(CSS_URL_REGEXP,(function(e,t){var n=r+t;return e.replace(t,n)}))}var CustomStyle=function(){function e(e,t){this.win=e,this.doc=t,this.count=0,this.hostStyleMap=new WeakMap,this.hostScopeMap=new WeakMap,this.globalScopes=[],this.scopesMap=new Map,this.didInit=!1;}return e.prototype.i=function(){var e=this;return this.didInit||!this.win.requestAnimationFrame?Promise.resolve():(this.didInit=!0,new Promise((function(t){e.win.requestAnimationFrame((function(){startWatcher(e.doc,e.globalScopes),loadDocument(e.doc,e.globalScopes).then((function(){return t()}));}));})))},e.prototype.addLink=function(e){var t=this;return addGlobalLink(this.doc,this.globalScopes,e).then((function(){t.updateGlobal();}))},e.prototype.addGlobalStyle=function(e){addGlobalStyle(this.globalScopes,e)&&this.updateGlobal();},e.prototype.createHostStyle=function(e,t,r,n){if(this.hostScopeMap.has(e))throw new Error("host style already created");var s=this.registerHostTemplate(r,t,n),o=this.doc.createElement("style");return o.setAttribute("data-no-shim",""),s.usesCssVars?n?(o["s-sc"]=t="".concat(s.scopeId,"-").concat(this.count),o.textContent="/*needs update*/",this.hostStyleMap.set(e,o),this.hostScopeMap.set(e,reScope(s,t)),this.count++):(s.styleEl=o,s.usesCssVars||(o.textContent=executeTemplate(s.template,{})),this.globalScopes.push(s),this.updateGlobal(),this.hostScopeMap.set(e,s)):o.textContent=r,o},e.prototype.removeHost=function(e){var t=this.hostStyleMap.get(e);t&&t.remove(),this.hostStyleMap.delete(e),this.hostScopeMap.delete(e);},e.prototype.updateHost=function(e){var t=this.hostScopeMap.get(e);if(t&&t.usesCssVars&&t.isScoped){var r=this.hostStyleMap.get(e);if(r){var n=resolveValues(getActiveSelectors(e,this.hostScopeMap,this.globalScopes));r.textContent=executeTemplate(t.template,n);}}},e.prototype.updateGlobal=function(){updateGlobalScopes(this.globalScopes);},e.prototype.registerHostTemplate=function(e,t,r){var n=this.scopesMap.get(t);return n||((n=parseCSS(e)).scopeId=t,n.isScoped=r,this.scopesMap.set(t,n)),n},e}();!function(e){!e||e.__cssshim||e.CSS&&e.CSS.supports&&e.CSS.supports("color","var(--c)")||(e.__cssshim=new CustomStyle(e,e.document));}("undefined"!=typeof window&&window);
@@ -1,52 +0,0 @@
1
- function checkForExpand(element) {
2
- const expandRef = element.el.closest("arcgis-expand") || element.expandElem;
3
- if (expandRef?.widget) {
4
- element.view = expandRef.view;
5
- expandRef.widget.content = element.childElem;
6
- // TODO: Update to be expandIcon = widget.icon, not ready yet in 4.27next
7
- expandRef.widget.expandIcon = element.widget.icon;
8
- expandRef.widget.expandIconClass = element.widget.iconClass;
9
- return true;
10
- }
11
- if (expandRef) {
12
- const widgetHandler = () => {
13
- element.view = expandRef.view;
14
- expandRef.widget.content = element.childElem;
15
- expandRef.widget.expandIcon = element.widget.icon;
16
- expandRef.widget.expandIconClass = element.widget.iconClass;
17
- expandRef.removeEventListener("widgetReady", widgetHandler, false);
18
- };
19
- expandRef.addEventListener("widgetReady", widgetHandler, false);
20
- return true;
21
- }
22
- return false;
23
- }
24
-
25
- function onDisconnectedHelper(element) {
26
- if (element.childElem) {
27
- if (!element.el.isConnected) {
28
- if (element.view && typeof element.view !== "string") {
29
- element.view.ui.remove(element.childElem);
30
- }
31
- else if (element.widget?.view) {
32
- element.widget.view.ui.remove(element.childElem);
33
- }
34
- element.widget?.destroy();
35
- }
36
- }
37
- else {
38
- setTimeout(() => {
39
- if (!element.el.isConnected) {
40
- if (element.view && typeof element.view !== "string") {
41
- element.view.ui.remove(element.el);
42
- }
43
- else if (element.widget?.view) {
44
- element.widget.view.ui.remove(element.el);
45
- }
46
- element.widget?.destroy();
47
- }
48
- }, 1000);
49
- }
50
- }
51
-
52
- export { checkForExpand as c, onDisconnectedHelper as o };