@esri/solutions-components 0.2.3 → 0.2.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (989) hide show
  1. package/dist/assets/t9n/solution-config-modal/resources.json +22 -0
  2. package/dist/assets/t9n/solution-config-modal/resources_en.json +22 -0
  3. package/dist/cjs/ExpandToggle-73df0d51.js +2 -0
  4. package/dist/cjs/ExpandToggle-73df0d51.js.map +1 -0
  5. package/dist/cjs/Heading-6b7b374c.js +2 -0
  6. package/dist/cjs/Heading-6b7b374c.js.map +1 -0
  7. package/dist/cjs/_commonjsHelpers-6aafa5de.js +2 -0
  8. package/dist/cjs/_commonjsHelpers-6aafa5de.js.map +1 -0
  9. package/dist/cjs/app-globals-2f48e57e.js +2 -0
  10. package/dist/cjs/app-globals-2f48e57e.js.map +1 -0
  11. package/dist/cjs/array-ace6d4b5.js +2 -0
  12. package/dist/cjs/array-ace6d4b5.js.map +1 -0
  13. package/dist/cjs/buffer-tools_6.cjs.entry.js +2 -0
  14. package/dist/cjs/buffer-tools_6.cjs.entry.js.map +1 -0
  15. package/dist/cjs/calcite-accordion-item.cjs.entry.js +2 -0
  16. package/dist/cjs/calcite-accordion-item.cjs.entry.js.map +1 -0
  17. package/dist/cjs/calcite-accordion.cjs.entry.js +2 -0
  18. package/dist/cjs/calcite-accordion.cjs.entry.js.map +1 -0
  19. package/dist/cjs/calcite-action-bar_6.cjs.entry.js +2 -0
  20. package/dist/cjs/calcite-action-bar_6.cjs.entry.js.map +1 -0
  21. package/dist/cjs/calcite-action-group.cjs.entry.js +2 -0
  22. package/dist/cjs/calcite-action-group.cjs.entry.js.map +1 -0
  23. package/dist/cjs/calcite-action-menu_2.cjs.entry.js +20 -401
  24. package/dist/cjs/calcite-action-menu_2.cjs.entry.js.map +1 -0
  25. package/dist/cjs/calcite-action-pad.cjs.entry.js +2 -0
  26. package/dist/cjs/calcite-action-pad.cjs.entry.js.map +1 -0
  27. package/dist/cjs/calcite-action_2.cjs.entry.js +425 -71
  28. package/dist/cjs/calcite-action_2.cjs.entry.js.map +1 -0
  29. package/dist/cjs/calcite-alert.cjs.entry.js +2 -0
  30. package/dist/cjs/calcite-alert.cjs.entry.js.map +1 -0
  31. package/dist/cjs/calcite-avatar.cjs.entry.js +2 -0
  32. package/dist/cjs/calcite-avatar.cjs.entry.js.map +1 -0
  33. package/dist/cjs/calcite-block-section.cjs.entry.js +2 -0
  34. package/dist/cjs/calcite-block-section.cjs.entry.js.map +1 -0
  35. package/dist/cjs/calcite-block.cjs.entry.js +2 -0
  36. package/dist/cjs/calcite-block.cjs.entry.js.map +1 -0
  37. package/dist/cjs/calcite-button.cjs.entry.js +2 -0
  38. package/dist/cjs/calcite-button.cjs.entry.js.map +1 -0
  39. package/dist/cjs/calcite-card.cjs.entry.js +2 -0
  40. package/dist/cjs/calcite-card.cjs.entry.js.map +1 -0
  41. package/dist/cjs/calcite-checkbox.cjs.entry.js +2 -0
  42. package/dist/cjs/calcite-checkbox.cjs.entry.js.map +1 -0
  43. package/dist/cjs/calcite-chip.cjs.entry.js +2 -0
  44. package/dist/cjs/calcite-chip.cjs.entry.js.map +1 -0
  45. package/dist/cjs/calcite-color-picker-hex-input.cjs.entry.js +2 -0
  46. package/dist/cjs/calcite-color-picker-hex-input.cjs.entry.js.map +1 -0
  47. package/dist/cjs/calcite-color-picker-swatch.cjs.entry.js +2 -0
  48. package/dist/cjs/calcite-color-picker-swatch.cjs.entry.js.map +1 -0
  49. package/dist/cjs/calcite-color-picker.cjs.entry.js +2 -0
  50. package/dist/cjs/calcite-color-picker.cjs.entry.js.map +1 -0
  51. package/dist/cjs/calcite-combobox-item-group.cjs.entry.js +2 -0
  52. package/dist/cjs/calcite-combobox-item-group.cjs.entry.js.map +1 -0
  53. package/dist/cjs/calcite-combobox_3.cjs.entry.js +2 -0
  54. package/dist/cjs/calcite-combobox_3.cjs.entry.js.map +1 -0
  55. package/dist/cjs/calcite-date-picker-day_3.cjs.entry.js +2 -0
  56. package/dist/cjs/calcite-date-picker-day_3.cjs.entry.js.map +1 -0
  57. package/dist/cjs/calcite-date-picker.cjs.entry.js +2 -0
  58. package/dist/cjs/calcite-date-picker.cjs.entry.js.map +1 -0
  59. package/dist/cjs/calcite-dropdown-group.cjs.entry.js +2 -0
  60. package/dist/cjs/calcite-dropdown-group.cjs.entry.js.map +1 -0
  61. package/dist/cjs/calcite-dropdown-item.cjs.entry.js +2 -0
  62. package/dist/cjs/calcite-dropdown-item.cjs.entry.js.map +1 -0
  63. package/dist/cjs/calcite-dropdown.cjs.entry.js +2 -0
  64. package/dist/cjs/calcite-dropdown.cjs.entry.js.map +1 -0
  65. package/dist/cjs/calcite-fab.cjs.entry.js +2 -0
  66. package/dist/cjs/calcite-fab.cjs.entry.js.map +1 -0
  67. package/dist/cjs/calcite-filter.cjs.entry.js +2 -0
  68. package/dist/cjs/calcite-filter.cjs.entry.js.map +1 -0
  69. package/dist/cjs/calcite-flow-item.cjs.entry.js +2 -0
  70. package/dist/cjs/calcite-flow-item.cjs.entry.js.map +1 -0
  71. package/dist/cjs/calcite-flow.cjs.entry.js +2 -0
  72. package/dist/cjs/calcite-flow.cjs.entry.js.map +1 -0
  73. package/dist/cjs/calcite-graph.cjs.entry.js +2 -0
  74. package/dist/cjs/calcite-graph.cjs.entry.js.map +1 -0
  75. package/dist/cjs/calcite-handle.cjs.entry.js +2 -0
  76. package/dist/cjs/calcite-handle.cjs.entry.js.map +1 -0
  77. package/dist/cjs/calcite-icon.cjs.entry.js +2 -0
  78. package/dist/cjs/calcite-icon.cjs.entry.js.map +1 -0
  79. package/dist/cjs/calcite-inline-editable.cjs.entry.js +2 -0
  80. package/dist/cjs/calcite-inline-editable.cjs.entry.js.map +1 -0
  81. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +2 -0
  82. package/dist/cjs/calcite-input-date-picker.cjs.entry.js.map +1 -0
  83. package/dist/cjs/calcite-input-number.cjs.entry.js +2 -0
  84. package/dist/cjs/calcite-input-number.cjs.entry.js.map +1 -0
  85. package/dist/cjs/calcite-input-text.cjs.entry.js +2 -0
  86. package/dist/cjs/calcite-input-text.cjs.entry.js.map +1 -0
  87. package/dist/cjs/calcite-input-time-picker.cjs.entry.js +2 -0
  88. package/dist/cjs/calcite-input-time-picker.cjs.entry.js.map +1 -0
  89. package/dist/cjs/calcite-input_2.cjs.entry.js +2 -0
  90. package/dist/cjs/calcite-input_2.cjs.entry.js.map +1 -0
  91. package/dist/cjs/calcite-label.cjs.entry.js +2 -0
  92. package/dist/cjs/calcite-label.cjs.entry.js.map +1 -0
  93. package/dist/cjs/calcite-link.cjs.entry.js +2 -0
  94. package/dist/cjs/calcite-link.cjs.entry.js.map +1 -0
  95. package/dist/cjs/calcite-list-item-group.cjs.entry.js +2 -0
  96. package/dist/cjs/calcite-list-item-group.cjs.entry.js.map +1 -0
  97. package/dist/cjs/calcite-list_2.cjs.entry.js +2 -0
  98. package/dist/cjs/calcite-list_2.cjs.entry.js.map +1 -0
  99. package/dist/cjs/calcite-loader.cjs.entry.js +97 -0
  100. package/dist/cjs/calcite-loader.cjs.entry.js.map +1 -0
  101. package/dist/cjs/{solution-configuration.cjs.entry.js → calcite-modal_2.cjs.entry.js} +452 -6
  102. package/dist/cjs/calcite-modal_2.cjs.entry.js.map +1 -0
  103. package/dist/cjs/calcite-option-group.cjs.entry.js +2 -0
  104. package/dist/cjs/calcite-option-group.cjs.entry.js.map +1 -0
  105. package/dist/cjs/calcite-option_2.cjs.entry.js +2 -0
  106. package/dist/cjs/calcite-option_2.cjs.entry.js.map +1 -0
  107. package/dist/cjs/calcite-pagination.cjs.entry.js +2 -0
  108. package/dist/cjs/calcite-pagination.cjs.entry.js.map +1 -0
  109. package/dist/cjs/{calcite-shell-panel_14.cjs.entry.js → calcite-panel_12.cjs.entry.js} +469 -711
  110. package/dist/cjs/calcite-panel_12.cjs.entry.js.map +1 -0
  111. package/dist/cjs/calcite-pick-list-group.cjs.entry.js +2 -0
  112. package/dist/cjs/calcite-pick-list-group.cjs.entry.js.map +1 -0
  113. package/dist/cjs/calcite-pick-list-item.cjs.entry.js +2 -0
  114. package/dist/cjs/calcite-pick-list-item.cjs.entry.js.map +1 -0
  115. package/dist/cjs/calcite-pick-list.cjs.entry.js +2 -0
  116. package/dist/cjs/calcite-pick-list.cjs.entry.js.map +1 -0
  117. package/dist/cjs/calcite-popover-manager.cjs.entry.js +2 -0
  118. package/dist/cjs/calcite-popover-manager.cjs.entry.js.map +1 -0
  119. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +2 -0
  120. package/dist/cjs/calcite-radio-button-group.cjs.entry.js.map +1 -0
  121. package/dist/cjs/calcite-radio-button.cjs.entry.js +2 -0
  122. package/dist/cjs/calcite-radio-button.cjs.entry.js.map +1 -0
  123. package/dist/cjs/calcite-rating.cjs.entry.js +2 -0
  124. package/dist/cjs/calcite-rating.cjs.entry.js.map +1 -0
  125. package/dist/cjs/calcite-shell-center-row.cjs.entry.js +2 -0
  126. package/dist/cjs/calcite-shell-center-row.cjs.entry.js.map +1 -0
  127. package/dist/cjs/calcite-sortable-list.cjs.entry.js +2 -0
  128. package/dist/cjs/calcite-sortable-list.cjs.entry.js.map +1 -0
  129. package/dist/cjs/calcite-split-button.cjs.entry.js +2 -0
  130. package/dist/cjs/calcite-split-button.cjs.entry.js.map +1 -0
  131. package/dist/cjs/calcite-stepper-item.cjs.entry.js +2 -0
  132. package/dist/cjs/calcite-stepper-item.cjs.entry.js.map +1 -0
  133. package/dist/cjs/calcite-stepper.cjs.entry.js +2 -0
  134. package/dist/cjs/calcite-stepper.cjs.entry.js.map +1 -0
  135. package/dist/cjs/calcite-switch.cjs.entry.js +2 -0
  136. package/dist/cjs/calcite-switch.cjs.entry.js.map +1 -0
  137. package/dist/cjs/calcite-tile-select-group.cjs.entry.js +2 -0
  138. package/dist/cjs/calcite-tile-select-group.cjs.entry.js.map +1 -0
  139. package/dist/cjs/calcite-tile-select.cjs.entry.js +2 -0
  140. package/dist/cjs/calcite-tile-select.cjs.entry.js.map +1 -0
  141. package/dist/cjs/calcite-tile.cjs.entry.js +2 -0
  142. package/dist/cjs/calcite-tile.cjs.entry.js.map +1 -0
  143. package/dist/cjs/calcite-time-picker.cjs.entry.js +2 -0
  144. package/dist/cjs/calcite-time-picker.cjs.entry.js.map +1 -0
  145. package/dist/cjs/calcite-tip-group.cjs.entry.js +2 -0
  146. package/dist/cjs/calcite-tip-group.cjs.entry.js.map +1 -0
  147. package/dist/cjs/calcite-tip-manager.cjs.entry.js +2 -0
  148. package/dist/cjs/calcite-tip-manager.cjs.entry.js.map +1 -0
  149. package/dist/cjs/calcite-tip.cjs.entry.js +2 -0
  150. package/dist/cjs/calcite-tip.cjs.entry.js.map +1 -0
  151. package/dist/cjs/calcite-tooltip-manager.cjs.entry.js +2 -0
  152. package/dist/cjs/calcite-tooltip-manager.cjs.entry.js.map +1 -0
  153. package/dist/cjs/calcite-tooltip.cjs.entry.js +2 -0
  154. package/dist/cjs/calcite-tooltip.cjs.entry.js.map +1 -0
  155. package/dist/cjs/calcite-tree_3.cjs.entry.js +2 -0
  156. package/dist/cjs/calcite-tree_3.cjs.entry.js.map +1 -0
  157. package/dist/cjs/check-list.cjs.entry.js +2 -0
  158. package/dist/cjs/check-list.cjs.entry.js.map +1 -0
  159. package/dist/cjs/conditionalSlot-2defe83d.js +2 -0
  160. package/dist/cjs/conditionalSlot-2defe83d.js.map +1 -0
  161. package/dist/cjs/config-buffer-tools.cjs.entry.js +2 -0
  162. package/dist/cjs/config-buffer-tools.cjs.entry.js.map +1 -0
  163. package/dist/cjs/config-draw-tools.cjs.entry.js +2 -0
  164. package/dist/cjs/config-draw-tools.cjs.entry.js.map +1 -0
  165. package/dist/cjs/config-layer-picker.cjs.entry.js +2 -0
  166. package/dist/cjs/config-layer-picker.cjs.entry.js.map +1 -0
  167. package/dist/cjs/config-pdf-download.cjs.entry.js +2 -0
  168. package/dist/cjs/config-pdf-download.cjs.entry.js.map +1 -0
  169. package/dist/cjs/date-e21b2052.js +2 -0
  170. package/dist/cjs/date-e21b2052.js.map +1 -0
  171. package/dist/cjs/debounce-69c3bada.js +2 -0
  172. package/dist/cjs/debounce-69c3bada.js.map +1 -0
  173. package/dist/cjs/dom-4a580af6.js +2 -0
  174. package/dist/cjs/dom-4a580af6.js.map +1 -0
  175. package/dist/cjs/filter-325f654f.js +2 -0
  176. package/dist/cjs/filter-325f654f.js.map +1 -0
  177. package/dist/cjs/floating-ui-ca1bcead.js +2 -0
  178. package/dist/cjs/floating-ui-ca1bcead.js.map +1 -0
  179. package/dist/cjs/form-45849654.js +2 -0
  180. package/dist/cjs/form-45849654.js.map +1 -0
  181. package/dist/cjs/guid-84ac4d91.js +2 -0
  182. package/dist/cjs/guid-84ac4d91.js.map +1 -0
  183. package/dist/cjs/index-7af21b6f.js +2 -0
  184. package/dist/cjs/index-7af21b6f.js.map +1 -0
  185. package/dist/cjs/index-a86078a0.js +2 -0
  186. package/dist/cjs/index-a86078a0.js.map +1 -0
  187. package/dist/cjs/index-d7f9770d.js +2 -0
  188. package/dist/cjs/index-d7f9770d.js.map +1 -0
  189. package/dist/cjs/index.cjs.js +2 -0
  190. package/dist/cjs/index.cjs.js.map +1 -0
  191. package/dist/cjs/interactive-0a68ab99.js +2 -0
  192. package/dist/cjs/interactive-0a68ab99.js.map +1 -0
  193. package/dist/cjs/interfaces-ab603e16.js +2 -0
  194. package/dist/cjs/interfaces-ab603e16.js.map +1 -0
  195. package/dist/cjs/interfaces-e76f31e9.js +2 -0
  196. package/dist/cjs/interfaces-e76f31e9.js.map +1 -0
  197. package/dist/cjs/key-55aca5c0.js +2 -0
  198. package/dist/cjs/key-55aca5c0.js.map +1 -0
  199. package/dist/cjs/label-24fcd8a5.js +2 -0
  200. package/dist/cjs/label-24fcd8a5.js.map +1 -0
  201. package/dist/cjs/labelFormats-3236d2e0.js +2 -0
  202. package/dist/cjs/labelFormats-3236d2e0.js.map +1 -0
  203. package/dist/cjs/loadModules-38269f99.js +2 -0
  204. package/dist/cjs/loadModules-38269f99.js.map +1 -0
  205. package/dist/cjs/loader.cjs.js +3 -1
  206. package/dist/cjs/loader.cjs.js.map +1 -0
  207. package/dist/cjs/locale-73cab8e8.js +2 -0
  208. package/dist/cjs/locale-73cab8e8.js.map +1 -0
  209. package/dist/cjs/locale-746a095d.js +2 -0
  210. package/dist/cjs/locale-746a095d.js.map +1 -0
  211. package/dist/cjs/map-search.cjs.entry.js +2 -0
  212. package/dist/cjs/map-search.cjs.entry.js.map +1 -0
  213. package/dist/cjs/mapViewUtils-67cfc412.js +2 -0
  214. package/dist/cjs/mapViewUtils-67cfc412.js.map +1 -0
  215. package/dist/cjs/math-460fffaf.js +2 -0
  216. package/dist/cjs/math-460fffaf.js.map +1 -0
  217. package/dist/cjs/nonChromiumPlatformUtils-7a6a84d2.js +2 -0
  218. package/dist/cjs/nonChromiumPlatformUtils-7a6a84d2.js.map +1 -0
  219. package/dist/cjs/observers-5311faf8.js +2 -0
  220. package/dist/cjs/observers-5311faf8.js.map +1 -0
  221. package/dist/cjs/openCloseComponent-bf986132.js +2 -0
  222. package/dist/cjs/openCloseComponent-bf986132.js.map +1 -0
  223. package/dist/cjs/public-notification.cjs.entry.js +2 -0
  224. package/dist/cjs/public-notification.cjs.entry.js.map +1 -0
  225. package/dist/cjs/publicNotificationStore-6a3d40b3.js +2 -0
  226. package/dist/cjs/publicNotificationStore-6a3d40b3.js.map +1 -0
  227. package/dist/cjs/publicNotificationUtils-9d585d8d.js +2 -0
  228. package/dist/cjs/publicNotificationUtils-9d585d8d.js.map +1 -0
  229. package/dist/cjs/resources-1f785471.js +2 -0
  230. package/dist/cjs/resources-1f785471.js.map +1 -0
  231. package/dist/cjs/resources-2260d186.js +2 -0
  232. package/dist/cjs/resources-2260d186.js.map +1 -0
  233. package/dist/cjs/resources-2a9862c7.js +2 -0
  234. package/dist/cjs/resources-2a9862c7.js.map +1 -0
  235. package/dist/cjs/resources-308edbd8.js +2 -0
  236. package/dist/cjs/resources-308edbd8.js.map +1 -0
  237. package/dist/cjs/resources-6152b073.js +2 -0
  238. package/dist/cjs/resources-6152b073.js.map +1 -0
  239. package/dist/cjs/resources-808cfca8.js +2 -0
  240. package/dist/cjs/resources-808cfca8.js.map +1 -0
  241. package/dist/cjs/resources-9c55e05c.js +2 -0
  242. package/dist/cjs/resources-9c55e05c.js.map +1 -0
  243. package/dist/cjs/resources-aa19bf8c.js +2 -0
  244. package/dist/cjs/resources-aa19bf8c.js.map +1 -0
  245. package/dist/cjs/resources-b56bce71.js +2 -0
  246. package/dist/cjs/resources-b56bce71.js.map +1 -0
  247. package/dist/cjs/resources-cc7f63b0.js +2 -0
  248. package/dist/cjs/resources-cc7f63b0.js.map +1 -0
  249. package/dist/cjs/shared-list-render-4c7d84bf.js +2 -0
  250. package/dist/cjs/shared-list-render-4c7d84bf.js.map +1 -0
  251. package/dist/cjs/solution-config-modal.cjs.entry.js +131 -0
  252. package/dist/cjs/solution-config-modal.cjs.entry.js.map +1 -0
  253. package/dist/cjs/{solution-contents_3.cjs.entry.js → solution-contents_7.cjs.entry.js} +665 -2
  254. package/dist/cjs/solution-contents_7.cjs.entry.js.map +1 -0
  255. package/dist/cjs/{solution-store-e2fc11ac.js → solution-store-09b3fc53.js} +5 -3
  256. package/dist/cjs/solution-store-09b3fc53.js.map +1 -0
  257. package/dist/cjs/solutions-components.cjs.js +3 -1
  258. package/dist/cjs/solutions-components.cjs.js.map +1 -0
  259. package/dist/cjs/sortable.esm-bf47019d.js +2 -0
  260. package/dist/cjs/sortable.esm-bf47019d.js.map +1 -0
  261. package/dist/cjs/store-manager.cjs.entry.js +2 -0
  262. package/dist/cjs/store-manager.cjs.entry.js.map +1 -0
  263. package/dist/cjs/time-3f5577cb.js +2 -0
  264. package/dist/cjs/time-3f5577cb.js.map +1 -0
  265. package/dist/cjs/utils-120bbbeb.js +2 -0
  266. package/dist/cjs/utils-120bbbeb.js.map +1 -0
  267. package/dist/cjs/utils-b4236001.js +2 -0
  268. package/dist/cjs/utils-b4236001.js.map +1 -0
  269. package/dist/collection/collection-manifest.json +1 -0
  270. package/dist/collection/components/buffer-tools/buffer-tools.js +1 -0
  271. package/dist/collection/components/buffer-tools/buffer-tools.js.map +1 -0
  272. package/dist/collection/components/check-list/check-list.js +1 -0
  273. package/dist/collection/components/check-list/check-list.js.map +1 -0
  274. package/dist/collection/components/config-buffer-tools/config-buffer-tools.js +1 -0
  275. package/dist/collection/components/config-buffer-tools/config-buffer-tools.js.map +1 -0
  276. package/dist/collection/components/config-draw-tools/config-draw-tools.js +1 -0
  277. package/dist/collection/components/config-draw-tools/config-draw-tools.js.map +1 -0
  278. package/dist/collection/components/config-layer-picker/config-layer-picker.js +1 -0
  279. package/dist/collection/components/config-layer-picker/config-layer-picker.js.map +1 -0
  280. package/dist/collection/components/config-pdf-download/config-pdf-download.js +1 -0
  281. package/dist/collection/components/config-pdf-download/config-pdf-download.js.map +1 -0
  282. package/dist/collection/components/json-editor/json-editor.js +1 -0
  283. package/dist/collection/components/json-editor/json-editor.js.map +1 -0
  284. package/dist/collection/components/map-draw-tools/map-draw-tools.js +1 -0
  285. package/dist/collection/components/map-draw-tools/map-draw-tools.js.map +1 -0
  286. package/dist/collection/components/map-layer-picker/map-layer-picker.js +1 -0
  287. package/dist/collection/components/map-layer-picker/map-layer-picker.js.map +1 -0
  288. package/dist/collection/components/map-search/map-search.js +1 -0
  289. package/dist/collection/components/map-search/map-search.js.map +1 -0
  290. package/dist/collection/components/map-select-tools/map-select-tools.js +1 -0
  291. package/dist/collection/components/map-select-tools/map-select-tools.js.map +1 -0
  292. package/dist/collection/components/pdf-download/pdf-download.js +1 -0
  293. package/dist/collection/components/pdf-download/pdf-download.js.map +1 -0
  294. package/dist/collection/components/public-notification/public-notification.js +1 -0
  295. package/dist/collection/components/public-notification/public-notification.js.map +1 -0
  296. package/dist/collection/components/refine-selection/refine-selection.js +1 -0
  297. package/dist/collection/components/refine-selection/refine-selection.js.map +1 -0
  298. package/dist/collection/components/refine-selection-tools/refine-selection-tools.js +1 -0
  299. package/dist/collection/components/refine-selection-tools/refine-selection-tools.js.map +1 -0
  300. package/dist/collection/components/solution-config-modal/solution-config-modal.css +91 -0
  301. package/dist/collection/components/solution-config-modal/solution-config-modal.js +245 -0
  302. package/dist/collection/components/solution-config-modal/solution-config-modal.js.map +1 -0
  303. package/dist/collection/components/solution-configuration/solution-configuration.js +24 -11
  304. package/dist/collection/components/solution-configuration/solution-configuration.js.map +1 -0
  305. package/dist/collection/components/solution-contents/solution-contents.js +1 -0
  306. package/dist/collection/components/solution-contents/solution-contents.js.map +1 -0
  307. package/dist/collection/components/solution-item/solution-item.js +1 -0
  308. package/dist/collection/components/solution-item/solution-item.js.map +1 -0
  309. package/dist/collection/components/solution-item-details/solution-item-details.js +1 -0
  310. package/dist/collection/components/solution-item-details/solution-item-details.js.map +1 -0
  311. package/dist/collection/components/solution-item-icon/solution-item-icon.js +1 -0
  312. package/dist/collection/components/solution-item-icon/solution-item-icon.js.map +1 -0
  313. package/dist/collection/components/solution-item-sharing/solution-item-sharing.js +1 -0
  314. package/dist/collection/components/solution-item-sharing/solution-item-sharing.js.map +1 -0
  315. package/dist/collection/components/solution-organization-variables/solution-organization-variables.js +1 -0
  316. package/dist/collection/components/solution-organization-variables/solution-organization-variables.js.map +1 -0
  317. package/dist/collection/components/solution-resource-item/solution-resource-item.js +1 -0
  318. package/dist/collection/components/solution-resource-item/solution-resource-item.js.map +1 -0
  319. package/dist/collection/components/solution-spatial-ref/solution-spatial-ref.js +1 -0
  320. package/dist/collection/components/solution-spatial-ref/solution-spatial-ref.js.map +1 -0
  321. package/dist/collection/components/solution-spatial-ref/spatialreferences.js +1 -0
  322. package/dist/collection/components/solution-spatial-ref/spatialreferences.js.map +1 -0
  323. package/dist/collection/components/solution-template-data/solution-template-data.js +1 -0
  324. package/dist/collection/components/solution-template-data/solution-template-data.js.map +1 -0
  325. package/dist/collection/components/solution-variables/solution-variables.js +1 -0
  326. package/dist/collection/components/solution-variables/solution-variables.js.map +1 -0
  327. package/dist/collection/components/store-manager/store-manager.js +1 -0
  328. package/dist/collection/components/store-manager/store-manager.js.map +1 -0
  329. package/dist/collection/index.js +1 -0
  330. package/dist/collection/index.js.map +1 -0
  331. package/dist/collection/utils/common.js +1 -0
  332. package/dist/collection/utils/common.js.map +1 -0
  333. package/dist/collection/utils/csvUtils.js +1 -0
  334. package/dist/collection/utils/csvUtils.js.map +1 -0
  335. package/dist/collection/utils/interfaces.js +1 -0
  336. package/dist/collection/utils/interfaces.js.map +1 -0
  337. package/dist/collection/utils/languageUtil.js +1 -0
  338. package/dist/collection/utils/languageUtil.js.map +1 -0
  339. package/dist/collection/utils/loadModules.js +1 -0
  340. package/dist/collection/utils/loadModules.js.map +1 -0
  341. package/dist/collection/utils/locale.js +1 -0
  342. package/dist/collection/utils/locale.js.map +1 -0
  343. package/dist/collection/utils/mapViewUtils.js +1 -0
  344. package/dist/collection/utils/mapViewUtils.js.map +1 -0
  345. package/dist/collection/utils/publicNotificationStore.js +1 -0
  346. package/dist/collection/utils/publicNotificationStore.js.map +1 -0
  347. package/dist/collection/utils/publicNotificationUtils.js +1 -0
  348. package/dist/collection/utils/publicNotificationUtils.js.map +1 -0
  349. package/dist/collection/utils/queryUtils.js +1 -0
  350. package/dist/collection/utils/queryUtils.js.map +1 -0
  351. package/dist/collection/utils/solution-store.js +4 -3
  352. package/dist/collection/utils/solution-store.js.map +1 -0
  353. package/dist/collection/utils/solution-store.ts +3 -3
  354. package/dist/collection/utils/templates.js +1 -0
  355. package/dist/collection/utils/templates.js.map +1 -0
  356. package/dist/collection/utils/test/testUtils.js +1 -0
  357. package/dist/collection/utils/test/testUtils.js.map +1 -0
  358. package/dist/collection/utils/types.js +1 -0
  359. package/dist/collection/utils/types.js.map +1 -0
  360. package/dist/esm/ExpandToggle-b7d1fb3c.js +2 -0
  361. package/dist/esm/ExpandToggle-b7d1fb3c.js.map +1 -0
  362. package/dist/esm/Heading-1efb4837.js +2 -0
  363. package/dist/esm/Heading-1efb4837.js.map +1 -0
  364. package/dist/esm/_commonjsHelpers-8fd39c50.js +2 -0
  365. package/dist/esm/_commonjsHelpers-8fd39c50.js.map +1 -0
  366. package/dist/esm/app-globals-09b9efee.js +2 -0
  367. package/dist/esm/app-globals-09b9efee.js.map +1 -0
  368. package/dist/esm/array-2ab3b18f.js +2 -0
  369. package/dist/esm/array-2ab3b18f.js.map +1 -0
  370. package/dist/esm/buffer-tools_6.entry.js +4 -2
  371. package/dist/esm/buffer-tools_6.entry.js.map +1 -0
  372. package/dist/esm/calcite-accordion-item.entry.js +2 -0
  373. package/dist/esm/calcite-accordion-item.entry.js.map +1 -0
  374. package/dist/esm/calcite-accordion.entry.js +2 -0
  375. package/dist/esm/calcite-accordion.entry.js.map +1 -0
  376. package/dist/esm/calcite-action-bar_6.entry.js +4 -2
  377. package/dist/esm/calcite-action-bar_6.entry.js.map +1 -0
  378. package/dist/esm/calcite-action-group.entry.js +2 -0
  379. package/dist/esm/calcite-action-group.entry.js.map +1 -0
  380. package/dist/esm/calcite-action-menu_2.entry.js +22 -403
  381. package/dist/esm/calcite-action-menu_2.entry.js.map +1 -0
  382. package/dist/esm/calcite-action-pad.entry.js +2 -0
  383. package/dist/esm/calcite-action-pad.entry.js.map +1 -0
  384. package/dist/esm/calcite-action_2.entry.js +426 -72
  385. package/dist/esm/calcite-action_2.entry.js.map +1 -0
  386. package/dist/esm/calcite-alert.entry.js +2 -0
  387. package/dist/esm/calcite-alert.entry.js.map +1 -0
  388. package/dist/esm/calcite-avatar.entry.js +2 -0
  389. package/dist/esm/calcite-avatar.entry.js.map +1 -0
  390. package/dist/esm/calcite-block-section.entry.js +2 -0
  391. package/dist/esm/calcite-block-section.entry.js.map +1 -0
  392. package/dist/esm/calcite-block.entry.js +2 -0
  393. package/dist/esm/calcite-block.entry.js.map +1 -0
  394. package/dist/esm/calcite-button.entry.js +2 -0
  395. package/dist/esm/calcite-button.entry.js.map +1 -0
  396. package/dist/esm/calcite-card.entry.js +2 -0
  397. package/dist/esm/calcite-card.entry.js.map +1 -0
  398. package/dist/esm/calcite-checkbox.entry.js +2 -0
  399. package/dist/esm/calcite-checkbox.entry.js.map +1 -0
  400. package/dist/esm/calcite-chip.entry.js +2 -0
  401. package/dist/esm/calcite-chip.entry.js.map +1 -0
  402. package/dist/esm/calcite-color-picker-hex-input.entry.js +2 -0
  403. package/dist/esm/calcite-color-picker-hex-input.entry.js.map +1 -0
  404. package/dist/esm/calcite-color-picker-swatch.entry.js +2 -0
  405. package/dist/esm/calcite-color-picker-swatch.entry.js.map +1 -0
  406. package/dist/esm/calcite-color-picker.entry.js +2 -0
  407. package/dist/esm/calcite-color-picker.entry.js.map +1 -0
  408. package/dist/esm/calcite-combobox-item-group.entry.js +2 -0
  409. package/dist/esm/calcite-combobox-item-group.entry.js.map +1 -0
  410. package/dist/esm/calcite-combobox_3.entry.js +4 -2
  411. package/dist/esm/calcite-combobox_3.entry.js.map +1 -0
  412. package/dist/esm/calcite-date-picker-day_3.entry.js +2 -0
  413. package/dist/esm/calcite-date-picker-day_3.entry.js.map +1 -0
  414. package/dist/esm/calcite-date-picker.entry.js +2 -0
  415. package/dist/esm/calcite-date-picker.entry.js.map +1 -0
  416. package/dist/esm/calcite-dropdown-group.entry.js +2 -0
  417. package/dist/esm/calcite-dropdown-group.entry.js.map +1 -0
  418. package/dist/esm/calcite-dropdown-item.entry.js +2 -0
  419. package/dist/esm/calcite-dropdown-item.entry.js.map +1 -0
  420. package/dist/esm/calcite-dropdown.entry.js +2 -0
  421. package/dist/esm/calcite-dropdown.entry.js.map +1 -0
  422. package/dist/esm/calcite-fab.entry.js +2 -0
  423. package/dist/esm/calcite-fab.entry.js.map +1 -0
  424. package/dist/esm/calcite-filter.entry.js +2 -0
  425. package/dist/esm/calcite-filter.entry.js.map +1 -0
  426. package/dist/esm/calcite-flow-item.entry.js +2 -0
  427. package/dist/esm/calcite-flow-item.entry.js.map +1 -0
  428. package/dist/esm/calcite-flow.entry.js +2 -0
  429. package/dist/esm/calcite-flow.entry.js.map +1 -0
  430. package/dist/esm/calcite-graph.entry.js +2 -0
  431. package/dist/esm/calcite-graph.entry.js.map +1 -0
  432. package/dist/esm/calcite-handle.entry.js +2 -0
  433. package/dist/esm/calcite-handle.entry.js.map +1 -0
  434. package/dist/esm/calcite-icon.entry.js +2 -0
  435. package/dist/esm/calcite-icon.entry.js.map +1 -0
  436. package/dist/esm/calcite-inline-editable.entry.js +2 -0
  437. package/dist/esm/calcite-inline-editable.entry.js.map +1 -0
  438. package/dist/esm/calcite-input-date-picker.entry.js +2 -0
  439. package/dist/esm/calcite-input-date-picker.entry.js.map +1 -0
  440. package/dist/esm/calcite-input-number.entry.js +2 -0
  441. package/dist/esm/calcite-input-number.entry.js.map +1 -0
  442. package/dist/esm/calcite-input-text.entry.js +2 -0
  443. package/dist/esm/calcite-input-text.entry.js.map +1 -0
  444. package/dist/esm/calcite-input-time-picker.entry.js +2 -0
  445. package/dist/esm/calcite-input-time-picker.entry.js.map +1 -0
  446. package/dist/esm/calcite-input_2.entry.js +2 -0
  447. package/dist/esm/calcite-input_2.entry.js.map +1 -0
  448. package/dist/esm/calcite-label.entry.js +2 -0
  449. package/dist/esm/calcite-label.entry.js.map +1 -0
  450. package/dist/esm/calcite-link.entry.js +2 -0
  451. package/dist/esm/calcite-link.entry.js.map +1 -0
  452. package/dist/esm/calcite-list-item-group.entry.js +2 -0
  453. package/dist/esm/calcite-list-item-group.entry.js.map +1 -0
  454. package/dist/esm/calcite-list_2.entry.js +2 -0
  455. package/dist/esm/calcite-list_2.entry.js.map +1 -0
  456. package/dist/esm/calcite-loader.entry.js +93 -0
  457. package/dist/esm/calcite-loader.entry.js.map +1 -0
  458. package/dist/esm/{solution-configuration.entry.js → calcite-modal_2.entry.js} +454 -9
  459. package/dist/esm/calcite-modal_2.entry.js.map +1 -0
  460. package/dist/esm/calcite-option-group.entry.js +2 -0
  461. package/dist/esm/calcite-option-group.entry.js.map +1 -0
  462. package/dist/esm/calcite-option_2.entry.js +2 -0
  463. package/dist/esm/calcite-option_2.entry.js.map +1 -0
  464. package/dist/esm/calcite-pagination.entry.js +2 -0
  465. package/dist/esm/calcite-pagination.entry.js.map +1 -0
  466. package/dist/esm/{calcite-shell-panel_14.entry.js → calcite-panel_12.entry.js} +468 -708
  467. package/dist/esm/calcite-panel_12.entry.js.map +1 -0
  468. package/dist/esm/calcite-pick-list-group.entry.js +2 -0
  469. package/dist/esm/calcite-pick-list-group.entry.js.map +1 -0
  470. package/dist/esm/calcite-pick-list-item.entry.js +2 -0
  471. package/dist/esm/calcite-pick-list-item.entry.js.map +1 -0
  472. package/dist/esm/calcite-pick-list.entry.js +2 -0
  473. package/dist/esm/calcite-pick-list.entry.js.map +1 -0
  474. package/dist/esm/calcite-popover-manager.entry.js +2 -0
  475. package/dist/esm/calcite-popover-manager.entry.js.map +1 -0
  476. package/dist/esm/calcite-radio-button-group.entry.js +2 -0
  477. package/dist/esm/calcite-radio-button-group.entry.js.map +1 -0
  478. package/dist/esm/calcite-radio-button.entry.js +2 -0
  479. package/dist/esm/calcite-radio-button.entry.js.map +1 -0
  480. package/dist/esm/calcite-rating.entry.js +2 -0
  481. package/dist/esm/calcite-rating.entry.js.map +1 -0
  482. package/dist/esm/calcite-shell-center-row.entry.js +2 -0
  483. package/dist/esm/calcite-shell-center-row.entry.js.map +1 -0
  484. package/dist/esm/calcite-sortable-list.entry.js +2 -0
  485. package/dist/esm/calcite-sortable-list.entry.js.map +1 -0
  486. package/dist/esm/calcite-split-button.entry.js +2 -0
  487. package/dist/esm/calcite-split-button.entry.js.map +1 -0
  488. package/dist/esm/calcite-stepper-item.entry.js +2 -0
  489. package/dist/esm/calcite-stepper-item.entry.js.map +1 -0
  490. package/dist/esm/calcite-stepper.entry.js +2 -0
  491. package/dist/esm/calcite-stepper.entry.js.map +1 -0
  492. package/dist/esm/calcite-switch.entry.js +2 -0
  493. package/dist/esm/calcite-switch.entry.js.map +1 -0
  494. package/dist/esm/calcite-tile-select-group.entry.js +2 -0
  495. package/dist/esm/calcite-tile-select-group.entry.js.map +1 -0
  496. package/dist/esm/calcite-tile-select.entry.js +2 -0
  497. package/dist/esm/calcite-tile-select.entry.js.map +1 -0
  498. package/dist/esm/calcite-tile.entry.js +2 -0
  499. package/dist/esm/calcite-tile.entry.js.map +1 -0
  500. package/dist/esm/calcite-time-picker.entry.js +2 -0
  501. package/dist/esm/calcite-time-picker.entry.js.map +1 -0
  502. package/dist/esm/calcite-tip-group.entry.js +2 -0
  503. package/dist/esm/calcite-tip-group.entry.js.map +1 -0
  504. package/dist/esm/calcite-tip-manager.entry.js +2 -0
  505. package/dist/esm/calcite-tip-manager.entry.js.map +1 -0
  506. package/dist/esm/calcite-tip.entry.js +2 -0
  507. package/dist/esm/calcite-tip.entry.js.map +1 -0
  508. package/dist/esm/calcite-tooltip-manager.entry.js +2 -0
  509. package/dist/esm/calcite-tooltip-manager.entry.js.map +1 -0
  510. package/dist/esm/calcite-tooltip.entry.js +2 -0
  511. package/dist/esm/calcite-tooltip.entry.js.map +1 -0
  512. package/dist/esm/calcite-tree_3.entry.js +2 -0
  513. package/dist/esm/calcite-tree_3.entry.js.map +1 -0
  514. package/dist/esm/check-list.entry.js +2 -0
  515. package/dist/esm/check-list.entry.js.map +1 -0
  516. package/dist/esm/conditionalSlot-bb4cab11.js +2 -0
  517. package/dist/esm/conditionalSlot-bb4cab11.js.map +1 -0
  518. package/dist/esm/config-buffer-tools.entry.js +2 -0
  519. package/dist/esm/config-buffer-tools.entry.js.map +1 -0
  520. package/dist/esm/config-draw-tools.entry.js +2 -0
  521. package/dist/esm/config-draw-tools.entry.js.map +1 -0
  522. package/dist/esm/config-layer-picker.entry.js +4 -2
  523. package/dist/esm/config-layer-picker.entry.js.map +1 -0
  524. package/dist/esm/config-pdf-download.entry.js +2 -0
  525. package/dist/esm/config-pdf-download.entry.js.map +1 -0
  526. package/dist/esm/date-45de0016.js +2 -0
  527. package/dist/esm/date-45de0016.js.map +1 -0
  528. package/dist/esm/debounce-4c884e5c.js +2 -0
  529. package/dist/esm/debounce-4c884e5c.js.map +1 -0
  530. package/dist/esm/dom-e593bf85.js +2 -0
  531. package/dist/esm/dom-e593bf85.js.map +1 -0
  532. package/dist/esm/filter-82935f2d.js +2 -0
  533. package/dist/esm/filter-82935f2d.js.map +1 -0
  534. package/dist/esm/floating-ui-69a55a27.js +2 -0
  535. package/dist/esm/floating-ui-69a55a27.js.map +1 -0
  536. package/dist/esm/form-dbfde8ce.js +2 -0
  537. package/dist/esm/form-dbfde8ce.js.map +1 -0
  538. package/dist/esm/guid-15fce7c0.js +2 -0
  539. package/dist/esm/guid-15fce7c0.js.map +1 -0
  540. package/dist/esm/index-15022d11.js +2 -0
  541. package/dist/esm/index-15022d11.js.map +1 -0
  542. package/dist/esm/index-9c882a6e.js +2 -0
  543. package/dist/esm/index-9c882a6e.js.map +1 -0
  544. package/dist/esm/index-d33ebc35.js +2 -0
  545. package/dist/esm/index-d33ebc35.js.map +1 -0
  546. package/dist/esm/index.js +2 -0
  547. package/dist/esm/index.js.map +1 -0
  548. package/dist/esm/interactive-822ffed6.js +2 -0
  549. package/dist/esm/interactive-822ffed6.js.map +1 -0
  550. package/dist/esm/interfaces-1bdfc3a8.js +72 -0
  551. package/dist/esm/interfaces-1bdfc3a8.js.map +1 -0
  552. package/dist/esm/interfaces-4ae145eb.js +2 -0
  553. package/dist/esm/interfaces-4ae145eb.js.map +1 -0
  554. package/dist/esm/key-acb660e7.js +2 -0
  555. package/dist/esm/key-acb660e7.js.map +1 -0
  556. package/dist/esm/label-d411de44.js +2 -0
  557. package/dist/esm/label-d411de44.js.map +1 -0
  558. package/dist/esm/labelFormats-b37958c3.js +2 -0
  559. package/dist/esm/labelFormats-b37958c3.js.map +1 -0
  560. package/dist/esm/loadModules-d3b50f95.js +2 -0
  561. package/dist/esm/loadModules-d3b50f95.js.map +1 -0
  562. package/dist/esm/loader.js +3 -1
  563. package/dist/esm/loader.js.map +1 -0
  564. package/dist/esm/locale-0b490b02.js +2 -0
  565. package/dist/esm/locale-0b490b02.js.map +1 -0
  566. package/dist/esm/locale-0e10d7e5.js +2 -0
  567. package/dist/esm/locale-0e10d7e5.js.map +1 -0
  568. package/dist/esm/map-search.entry.js +2 -0
  569. package/dist/esm/map-search.entry.js.map +1 -0
  570. package/dist/esm/mapViewUtils-809947c8.js +284 -0
  571. package/dist/esm/mapViewUtils-809947c8.js.map +1 -0
  572. package/dist/esm/math-552c5420.js +2 -0
  573. package/dist/esm/math-552c5420.js.map +1 -0
  574. package/dist/esm/nonChromiumPlatformUtils-ee349005.js +2 -0
  575. package/dist/esm/nonChromiumPlatformUtils-ee349005.js.map +1 -0
  576. package/dist/esm/observers-31601001.js +2 -0
  577. package/dist/esm/observers-31601001.js.map +1 -0
  578. package/dist/esm/openCloseComponent-5caff873.js +2 -0
  579. package/dist/esm/openCloseComponent-5caff873.js.map +1 -0
  580. package/dist/esm/public-notification.entry.js +4 -2
  581. package/dist/esm/public-notification.entry.js.map +1 -0
  582. package/dist/esm/publicNotificationStore-060c59c8.js +2 -0
  583. package/dist/esm/publicNotificationStore-060c59c8.js.map +1 -0
  584. package/dist/esm/publicNotificationUtils-5cb5a607.js +2 -0
  585. package/dist/esm/publicNotificationUtils-5cb5a607.js.map +1 -0
  586. package/dist/esm/resources-2235e4ff.js +2 -0
  587. package/dist/esm/resources-2235e4ff.js.map +1 -0
  588. package/dist/esm/resources-3d641588.js +2 -0
  589. package/dist/esm/resources-3d641588.js.map +1 -0
  590. package/dist/esm/resources-436ae282.js +2 -0
  591. package/dist/esm/resources-436ae282.js.map +1 -0
  592. package/dist/esm/resources-4d02cb48.js +2 -0
  593. package/dist/esm/resources-4d02cb48.js.map +1 -0
  594. package/dist/esm/resources-78132e50.js +2 -0
  595. package/dist/esm/resources-78132e50.js.map +1 -0
  596. package/dist/esm/resources-7d4a587f.js +2 -0
  597. package/dist/esm/resources-7d4a587f.js.map +1 -0
  598. package/dist/esm/resources-971845d1.js +2 -0
  599. package/dist/esm/resources-971845d1.js.map +1 -0
  600. package/dist/esm/resources-9eb63965.js +2 -0
  601. package/dist/esm/resources-9eb63965.js.map +1 -0
  602. package/dist/esm/resources-d60362c3.js +2 -0
  603. package/dist/esm/resources-d60362c3.js.map +1 -0
  604. package/dist/esm/resources-e3a5cf27.js +2 -0
  605. package/dist/esm/resources-e3a5cf27.js.map +1 -0
  606. package/dist/esm/shared-list-render-4e9d47a3.js +2 -0
  607. package/dist/esm/shared-list-render-4e9d47a3.js.map +1 -0
  608. package/dist/esm/solution-config-modal.entry.js +127 -0
  609. package/dist/esm/solution-config-modal.entry.js.map +1 -0
  610. package/dist/esm/{solution-contents_3.entry.js → solution-contents_7.entry.js} +662 -3
  611. package/dist/esm/solution-contents_7.entry.js.map +1 -0
  612. package/dist/esm/{solution-store-b3c65467.js → solution-store-d8519c64.js} +6 -4
  613. package/dist/esm/solution-store-d8519c64.js.map +1 -0
  614. package/dist/esm/solutions-components.js +3 -1
  615. package/dist/esm/solutions-components.js.map +1 -0
  616. package/dist/esm/sortable.esm-3b2eaa5c.js +2 -0
  617. package/dist/esm/sortable.esm-3b2eaa5c.js.map +1 -0
  618. package/dist/esm/store-manager.entry.js +2 -0
  619. package/dist/esm/store-manager.entry.js.map +1 -0
  620. package/dist/esm/time-f014778c.js +2 -0
  621. package/dist/esm/time-f014778c.js.map +1 -0
  622. package/dist/esm/utils-3f4ee4c3.js +2 -0
  623. package/dist/esm/utils-3f4ee4c3.js.map +1 -0
  624. package/dist/esm/utils-583554bc.js +2 -0
  625. package/dist/esm/utils-583554bc.js.map +1 -0
  626. package/dist/solutions-components/index.esm.js +2 -0
  627. package/dist/solutions-components/index.esm.js.map +1 -0
  628. package/dist/solutions-components/p-06dab43c.entry.js +140 -0
  629. package/dist/solutions-components/p-06dab43c.entry.js.map +1 -0
  630. package/dist/solutions-components/p-0bbe4865.entry.js +620 -0
  631. package/dist/solutions-components/p-0bbe4865.entry.js.map +1 -0
  632. package/dist/solutions-components/p-0fddf8a4.entry.js +349 -0
  633. package/dist/solutions-components/p-0fddf8a4.entry.js.map +1 -0
  634. package/dist/solutions-components/p-11068040.entry.js +1121 -0
  635. package/dist/solutions-components/p-11068040.entry.js.map +1 -0
  636. package/dist/solutions-components/p-11bc6805.entry.js +87 -0
  637. package/dist/solutions-components/p-11bc6805.entry.js.map +1 -0
  638. package/dist/solutions-components/p-13b37f05.js +308 -3
  639. package/dist/solutions-components/p-13b37f05.js.map +1 -0
  640. package/dist/solutions-components/p-1dfb5fae.entry.js +713 -0
  641. package/dist/solutions-components/p-1dfb5fae.entry.js.map +1 -0
  642. package/dist/solutions-components/p-1e15b1a3.js +183 -2
  643. package/dist/solutions-components/p-1e15b1a3.js.map +1 -0
  644. package/dist/solutions-components/p-1e5bc9c3.entry.js +96 -0
  645. package/dist/solutions-components/p-1e5bc9c3.entry.js.map +1 -0
  646. package/dist/solutions-components/p-1ed05745.entry.js +214 -0
  647. package/dist/solutions-components/p-1ed05745.entry.js.map +1 -0
  648. package/dist/solutions-components/p-20bdf42f.js +407 -14
  649. package/dist/solutions-components/p-20bdf42f.js.map +1 -0
  650. package/dist/solutions-components/p-22574d83.entry.js +74 -0
  651. package/dist/solutions-components/p-22574d83.entry.js.map +1 -0
  652. package/dist/solutions-components/p-23904a3d.js +401 -3
  653. package/dist/solutions-components/p-23904a3d.js.map +1 -0
  654. package/dist/solutions-components/p-26484399.entry.js +108 -0
  655. package/dist/solutions-components/p-26484399.entry.js.map +1 -0
  656. package/dist/solutions-components/p-2910dd9e.js +4094 -0
  657. package/dist/solutions-components/p-2910dd9e.js.map +1 -0
  658. package/dist/solutions-components/p-29bdbd3e.entry.js +280 -0
  659. package/dist/solutions-components/p-29bdbd3e.entry.js.map +1 -0
  660. package/dist/solutions-components/p-2ac06389.js +25 -16
  661. package/dist/solutions-components/p-2ac06389.js.map +1 -0
  662. package/dist/solutions-components/p-2bce7fa2.entry.js +45 -0
  663. package/dist/solutions-components/p-2bce7fa2.entry.js.map +1 -0
  664. package/dist/solutions-components/p-2e9ed892.js +48 -1
  665. package/dist/solutions-components/p-2e9ed892.js.map +1 -0
  666. package/dist/solutions-components/p-2f12ff1b.entry.js +202 -0
  667. package/dist/solutions-components/p-2f12ff1b.entry.js.map +1 -0
  668. package/dist/solutions-components/p-30810b45.entry.js +1250 -0
  669. package/dist/solutions-components/p-30810b45.entry.js.map +1 -0
  670. package/dist/solutions-components/p-32a67cb2.js +207 -2
  671. package/dist/solutions-components/p-32a67cb2.js.map +1 -0
  672. package/dist/solutions-components/p-341ff921.entry.js +449 -0
  673. package/dist/solutions-components/p-341ff921.entry.js.map +1 -0
  674. package/dist/solutions-components/p-36ce64e4.entry.js +215 -0
  675. package/dist/solutions-components/p-36ce64e4.entry.js.map +1 -0
  676. package/dist/solutions-components/p-374a5031.js +107 -2
  677. package/dist/solutions-components/p-374a5031.js.map +1 -0
  678. package/dist/solutions-components/p-38ddadf2.entry.js +342 -0
  679. package/dist/solutions-components/p-38ddadf2.entry.js.map +1 -0
  680. package/dist/solutions-components/p-3b010ce1.js +19 -1
  681. package/dist/solutions-components/p-3b010ce1.js.map +1 -0
  682. package/dist/solutions-components/p-3f6b0af4.js +221 -2
  683. package/dist/solutions-components/p-3f6b0af4.js.map +1 -0
  684. package/dist/solutions-components/p-400e1427.entry.js +236 -0
  685. package/dist/solutions-components/p-400e1427.entry.js.map +1 -0
  686. package/dist/solutions-components/p-40d7cf01.entry.js +228 -0
  687. package/dist/solutions-components/p-40d7cf01.entry.js.map +1 -0
  688. package/dist/solutions-components/p-45556aff.entry.js +215 -0
  689. package/dist/solutions-components/p-45556aff.entry.js.map +1 -0
  690. package/dist/solutions-components/p-49aaa793.entry.js +95 -0
  691. package/dist/solutions-components/p-49aaa793.entry.js.map +1 -0
  692. package/dist/solutions-components/p-4e32bf8c.js +484 -1
  693. package/dist/solutions-components/p-4e32bf8c.js.map +1 -0
  694. package/dist/solutions-components/p-4e89b243.entry.js +479 -0
  695. package/dist/solutions-components/p-4e89b243.entry.js.map +1 -0
  696. package/dist/solutions-components/p-515637fb.entry.js +183 -0
  697. package/dist/solutions-components/p-515637fb.entry.js.map +1 -0
  698. package/dist/solutions-components/p-5243a654.entry.js +147 -0
  699. package/dist/solutions-components/p-5243a654.entry.js.map +1 -0
  700. package/dist/solutions-components/p-55673790.entry.js +82 -0
  701. package/dist/solutions-components/p-55673790.entry.js.map +1 -0
  702. package/dist/solutions-components/p-56350bff.js +173 -2
  703. package/dist/solutions-components/p-56350bff.js.map +1 -0
  704. package/dist/solutions-components/p-58b374c0.entry.js +347 -0
  705. package/dist/solutions-components/p-58b374c0.entry.js.map +1 -0
  706. package/dist/solutions-components/p-58c69df2.js +2024 -2
  707. package/dist/solutions-components/p-58c69df2.js.map +1 -0
  708. package/dist/solutions-components/p-59fd6684.entry.js +22 -0
  709. package/dist/solutions-components/p-59fd6684.entry.js.map +1 -0
  710. package/dist/solutions-components/p-5b0d7c7d.js +35 -16
  711. package/dist/solutions-components/p-5b0d7c7d.js.map +1 -0
  712. package/dist/solutions-components/p-5b20090f.entry.js +22189 -0
  713. package/dist/solutions-components/p-5b20090f.entry.js.map +1 -0
  714. package/dist/solutions-components/p-5cf33602.js +43 -2
  715. package/dist/solutions-components/p-5cf33602.js.map +1 -0
  716. package/dist/solutions-components/p-600e23c6.js +1770 -2
  717. package/dist/solutions-components/p-600e23c6.js.map +1 -0
  718. package/dist/solutions-components/p-61398a7b.entry.js +74 -0
  719. package/dist/solutions-components/p-61398a7b.entry.js.map +1 -0
  720. package/dist/solutions-components/p-63a05701.entry.js +45 -0
  721. package/dist/solutions-components/p-63a05701.entry.js.map +1 -0
  722. package/dist/solutions-components/p-63f6e8f1.js +16 -1
  723. package/dist/solutions-components/p-63f6e8f1.js.map +1 -0
  724. package/dist/solutions-components/p-64a2040e.entry.js +63 -0
  725. package/dist/solutions-components/p-64a2040e.entry.js.map +1 -0
  726. package/dist/solutions-components/p-64c63eb2.entry.js +157 -0
  727. package/dist/solutions-components/p-64c63eb2.entry.js.map +1 -0
  728. package/dist/solutions-components/p-6940e2fd.entry.js +100 -0
  729. package/dist/solutions-components/p-6940e2fd.entry.js.map +1 -0
  730. package/dist/solutions-components/p-69900b68.entry.js +152 -0
  731. package/dist/solutions-components/p-69900b68.entry.js.map +1 -0
  732. package/dist/solutions-components/p-699125b6.entry.js +44 -0
  733. package/dist/solutions-components/p-699125b6.entry.js.map +1 -0
  734. package/dist/solutions-components/p-6d0899c8.entry.js +118 -0
  735. package/dist/solutions-components/p-6d0899c8.entry.js.map +1 -0
  736. package/dist/solutions-components/p-6e0da576.js +15 -1
  737. package/dist/solutions-components/p-6e0da576.js.map +1 -0
  738. package/dist/solutions-components/p-6fe17794.js +11 -1
  739. package/dist/solutions-components/p-6fe17794.js.map +1 -0
  740. package/dist/solutions-components/p-708a63a8.js +14 -1
  741. package/dist/solutions-components/p-708a63a8.js.map +1 -0
  742. package/dist/solutions-components/p-729708a3.js +16 -1
  743. package/dist/solutions-components/p-729708a3.js.map +1 -0
  744. package/dist/solutions-components/p-73e23995.js +8 -1
  745. package/dist/solutions-components/p-73e23995.js.map +1 -0
  746. package/dist/solutions-components/p-75f54a34.entry.js +883 -0
  747. package/dist/solutions-components/p-75f54a34.entry.js.map +1 -0
  748. package/dist/solutions-components/p-77182c3a.js +3017 -1
  749. package/dist/solutions-components/p-77182c3a.js.map +1 -0
  750. package/dist/solutions-components/p-794ba85d.entry.js +175 -0
  751. package/dist/solutions-components/p-794ba85d.entry.js.map +1 -0
  752. package/dist/solutions-components/p-79cde78e.entry.js +203 -0
  753. package/dist/solutions-components/p-79cde78e.entry.js.map +1 -0
  754. package/dist/solutions-components/p-7a2c75a4.entry.js +230 -0
  755. package/dist/solutions-components/p-7a2c75a4.entry.js.map +1 -0
  756. package/dist/solutions-components/p-7daea1df.js +43 -1
  757. package/dist/solutions-components/p-7daea1df.js.map +1 -0
  758. package/dist/solutions-components/p-7de77097.entry.js +162 -0
  759. package/dist/solutions-components/p-7de77097.entry.js.map +1 -0
  760. package/dist/solutions-components/p-7f2b74a9.entry.js +56 -0
  761. package/dist/solutions-components/p-7f2b74a9.entry.js.map +1 -0
  762. package/dist/solutions-components/p-81e606c0.entry.js +915 -0
  763. package/dist/solutions-components/p-81e606c0.entry.js.map +1 -0
  764. package/dist/solutions-components/p-86908777.js +62 -3
  765. package/dist/solutions-components/p-86908777.js.map +1 -0
  766. package/dist/solutions-components/p-87a0ccb4.entry.js +254 -0
  767. package/dist/solutions-components/p-87a0ccb4.entry.js.map +1 -0
  768. package/dist/solutions-components/p-93d3119d.js +1950 -1
  769. package/dist/solutions-components/p-93d3119d.js.map +1 -0
  770. package/dist/solutions-components/p-958e2979.entry.js +111 -0
  771. package/dist/solutions-components/p-958e2979.entry.js.map +1 -0
  772. package/dist/solutions-components/p-95ddb529.entry.js +181 -0
  773. package/dist/solutions-components/p-95ddb529.entry.js.map +1 -0
  774. package/dist/solutions-components/p-991ee695.js +111 -1
  775. package/dist/solutions-components/p-991ee695.js.map +1 -0
  776. package/dist/solutions-components/p-99d9b624.entry.js +177 -0
  777. package/dist/solutions-components/p-99d9b624.entry.js.map +1 -0
  778. package/dist/solutions-components/p-9a9955db.js +43 -1
  779. package/dist/solutions-components/p-9a9955db.js.map +1 -0
  780. package/dist/solutions-components/p-9d925d5b.entry.js +233 -0
  781. package/dist/solutions-components/p-9d925d5b.entry.js.map +1 -0
  782. package/dist/solutions-components/p-9dc0210f.entry.js +125 -0
  783. package/dist/solutions-components/p-9dc0210f.entry.js.map +1 -0
  784. package/dist/solutions-components/p-9ef1328a.entry.js +542 -0
  785. package/dist/solutions-components/p-9ef1328a.entry.js.map +1 -0
  786. package/dist/solutions-components/p-9fec2884.entry.js +216 -0
  787. package/dist/solutions-components/p-9fec2884.entry.js.map +1 -0
  788. package/dist/solutions-components/p-a1786d11.entry.js +2380 -0
  789. package/dist/solutions-components/p-a1786d11.entry.js.map +1 -0
  790. package/dist/solutions-components/p-a2ada355.entry.js +135 -0
  791. package/dist/solutions-components/p-a2ada355.entry.js.map +1 -0
  792. package/dist/solutions-components/p-a57adb27.entry.js +154 -0
  793. package/dist/solutions-components/p-a57adb27.entry.js.map +1 -0
  794. package/dist/solutions-components/p-a80b3880.js +16 -1
  795. package/dist/solutions-components/p-a80b3880.js.map +1 -0
  796. package/dist/solutions-components/p-a88dd457.entry.js +123 -0
  797. package/dist/solutions-components/p-a88dd457.entry.js.map +1 -0
  798. package/dist/solutions-components/p-ac6efd19.entry.js +57 -0
  799. package/dist/solutions-components/p-ac6efd19.entry.js.map +1 -0
  800. package/dist/solutions-components/p-ae1fd76b.js +13 -1
  801. package/dist/solutions-components/p-ae1fd76b.js.map +1 -0
  802. package/dist/solutions-components/p-afffa81a.entry.js +140 -0
  803. package/dist/solutions-components/p-afffa81a.entry.js.map +1 -0
  804. package/dist/solutions-components/p-b0f3ed4d.entry.js +376 -0
  805. package/dist/solutions-components/p-b0f3ed4d.entry.js.map +1 -0
  806. package/dist/solutions-components/p-b359dc78.js +43 -1
  807. package/dist/solutions-components/p-b359dc78.js.map +1 -0
  808. package/dist/solutions-components/p-b66cba3e.entry.js +97 -0
  809. package/dist/solutions-components/p-b66cba3e.entry.js.map +1 -0
  810. package/dist/solutions-components/p-b6c2f470.entry.js +574 -0
  811. package/dist/solutions-components/p-b6c2f470.entry.js.map +1 -0
  812. package/dist/solutions-components/p-b978636e.js +16 -1
  813. package/dist/solutions-components/p-b978636e.js.map +1 -0
  814. package/dist/solutions-components/p-bd19837e.entry.js +96 -0
  815. package/dist/solutions-components/p-bd19837e.entry.js.map +1 -0
  816. package/dist/solutions-components/p-be8cc144.entry.js +567 -0
  817. package/dist/solutions-components/p-be8cc144.entry.js.map +1 -0
  818. package/dist/solutions-components/p-bfd20deb.entry.js +80 -0
  819. package/dist/solutions-components/p-bfd20deb.entry.js.map +1 -0
  820. package/dist/{esm/mapViewUtils-09f1e7bd.js → solutions-components/p-c20bd963.js} +3 -1
  821. package/dist/solutions-components/p-c20bd963.js.map +1 -0
  822. package/dist/solutions-components/p-c2c8442d.entry.js +140 -0
  823. package/dist/solutions-components/p-c2c8442d.entry.js.map +1 -0
  824. package/dist/solutions-components/p-c3f93cec.entry.js +158 -0
  825. package/dist/solutions-components/p-c3f93cec.entry.js.map +1 -0
  826. package/dist/solutions-components/p-c5721b0f.entry.js +127 -0
  827. package/dist/solutions-components/p-c5721b0f.entry.js.map +1 -0
  828. package/dist/solutions-components/p-c818e661.entry.js +107 -0
  829. package/dist/solutions-components/p-c818e661.entry.js.map +1 -0
  830. package/dist/solutions-components/p-c9870dc4.entry.js +38 -0
  831. package/dist/solutions-components/p-c9870dc4.entry.js.map +1 -0
  832. package/dist/solutions-components/p-cbd9fecf.js +500 -2
  833. package/dist/solutions-components/p-cbd9fecf.js.map +1 -0
  834. package/dist/solutions-components/p-cf59eb16.entry.js +2423 -0
  835. package/dist/solutions-components/p-cf59eb16.entry.js.map +1 -0
  836. package/dist/solutions-components/p-cfb300c6.entry.js +250 -0
  837. package/dist/solutions-components/p-cfb300c6.entry.js.map +1 -0
  838. package/dist/solutions-components/p-d48a24e6.js +756 -2
  839. package/dist/solutions-components/p-d48a24e6.js.map +1 -0
  840. package/dist/solutions-components/p-dbad98e8.js +124 -2
  841. package/dist/solutions-components/p-dbad98e8.js.map +1 -0
  842. package/dist/solutions-components/p-dd79118e.entry.js +708 -0
  843. package/dist/solutions-components/p-dd79118e.entry.js.map +1 -0
  844. package/dist/solutions-components/p-de5416e8.js +30 -1
  845. package/dist/solutions-components/p-de5416e8.js.map +1 -0
  846. package/dist/solutions-components/p-de881187.entry.js +87 -0
  847. package/dist/solutions-components/p-de881187.entry.js.map +1 -0
  848. package/dist/solutions-components/p-e1905f7b.entry.js +120 -0
  849. package/dist/solutions-components/p-e1905f7b.entry.js.map +1 -0
  850. package/dist/solutions-components/p-e405ebe8.entry.js +93 -0
  851. package/dist/solutions-components/p-e405ebe8.entry.js.map +1 -0
  852. package/dist/solutions-components/p-e515767a.entry.js +116 -0
  853. package/dist/solutions-components/p-e515767a.entry.js.map +1 -0
  854. package/dist/solutions-components/p-e611d8c8.js +30 -1
  855. package/dist/solutions-components/p-e611d8c8.js.map +1 -0
  856. package/dist/solutions-components/p-e6a695a5.js +103 -2
  857. package/dist/solutions-components/p-e6a695a5.js.map +1 -0
  858. package/dist/solutions-components/p-e6fb9cde.entry.js +1872 -0
  859. package/dist/solutions-components/p-e6fb9cde.entry.js.map +1 -0
  860. package/dist/solutions-components/p-e947d3b0.js +7 -1
  861. package/dist/solutions-components/p-e947d3b0.js.map +1 -0
  862. package/dist/solutions-components/p-e99b1247.js +207 -1
  863. package/dist/solutions-components/p-e99b1247.js.map +1 -0
  864. package/dist/solutions-components/p-eb5b78c3.entry.js +125 -0
  865. package/dist/solutions-components/p-eb5b78c3.entry.js.map +1 -0
  866. package/dist/solutions-components/p-eb976965.js +35 -3
  867. package/dist/solutions-components/p-eb976965.js.map +1 -0
  868. package/dist/solutions-components/p-ed075c2f.entry.js +186 -0
  869. package/dist/solutions-components/p-ed075c2f.entry.js.map +1 -0
  870. package/dist/solutions-components/p-eeb0321d.js +15 -2
  871. package/dist/solutions-components/p-eeb0321d.js.map +1 -0
  872. package/dist/solutions-components/p-ef6f9e24.entry.js +609 -0
  873. package/dist/solutions-components/p-ef6f9e24.entry.js.map +1 -0
  874. package/dist/solutions-components/p-f0294899.entry.js +84 -0
  875. package/dist/solutions-components/p-f0294899.entry.js.map +1 -0
  876. package/dist/{esm/interfaces-e2a2064d.js → solutions-components/p-f04fdb9a.js} +3 -1
  877. package/dist/solutions-components/p-f04fdb9a.js.map +1 -0
  878. package/dist/solutions-components/p-f477f146.entry.js +310 -0
  879. package/dist/solutions-components/p-f477f146.entry.js.map +1 -0
  880. package/dist/solutions-components/p-f48821a2.js +60 -7
  881. package/dist/solutions-components/p-f48821a2.js.map +1 -0
  882. package/dist/solutions-components/p-f496ed0c.entry.js +150 -0
  883. package/dist/solutions-components/p-f496ed0c.entry.js.map +1 -0
  884. package/dist/solutions-components/p-f759a6e7.js +196 -1
  885. package/dist/solutions-components/p-f759a6e7.js.map +1 -0
  886. package/dist/solutions-components/p-fc884dd6.js +30 -16
  887. package/dist/solutions-components/p-fc884dd6.js.map +1 -0
  888. package/dist/solutions-components/solutions-components.css +10531 -1
  889. package/dist/solutions-components/solutions-components.esm.js +22 -1
  890. package/dist/solutions-components/solutions-components.esm.js.map +1 -0
  891. package/dist/solutions-components/utils/solution-store.ts +3 -3
  892. package/dist/solutions-components_commit.txt +8 -6
  893. package/dist/types/components/solution-config-modal/solution-config-modal.d.ts +69 -0
  894. package/dist/types/components/solution-configuration/solution-configuration.d.ts +4 -2
  895. package/dist/types/components.d.ts +43 -5
  896. package/dist/types/preact.d.ts +4 -0
  897. package/package.json +1 -1
  898. package/dist/cjs/calcite-modal.cjs.entry.js +0 -447
  899. package/dist/cjs/calcite-panel_2.cjs.entry.js +0 -437
  900. package/dist/cjs/calcite-scrim.cjs.entry.js +0 -62
  901. package/dist/esm/calcite-modal.entry.js +0 -443
  902. package/dist/esm/calcite-panel_2.entry.js +0 -432
  903. package/dist/esm/calcite-scrim.entry.js +0 -58
  904. package/dist/solutions-components/p-006c6ae1.entry.js +0 -11
  905. package/dist/solutions-components/p-04a37fc0.entry.js +0 -6
  906. package/dist/solutions-components/p-062dbde8.entry.js +0 -6
  907. package/dist/solutions-components/p-0b941521.entry.js +0 -11
  908. package/dist/solutions-components/p-0c80eb51.entry.js +0 -11
  909. package/dist/solutions-components/p-10501e21.entry.js +0 -23
  910. package/dist/solutions-components/p-109e4684.entry.js +0 -6
  911. package/dist/solutions-components/p-12dfd43e.entry.js +0 -11
  912. package/dist/solutions-components/p-1c3bcd99.entry.js +0 -12
  913. package/dist/solutions-components/p-1c589630.entry.js +0 -6
  914. package/dist/solutions-components/p-1fb471cf.entry.js +0 -11
  915. package/dist/solutions-components/p-23275dbd.entry.js +0 -6
  916. package/dist/solutions-components/p-236d76e7.entry.js +0 -11
  917. package/dist/solutions-components/p-29246858.entry.js +0 -11
  918. package/dist/solutions-components/p-2af67c67.entry.js +0 -6
  919. package/dist/solutions-components/p-2bee764f.entry.js +0 -11
  920. package/dist/solutions-components/p-2f6b4f04.entry.js +0 -6
  921. package/dist/solutions-components/p-305ae3fe.entry.js +0 -11
  922. package/dist/solutions-components/p-343e325d.entry.js +0 -11
  923. package/dist/solutions-components/p-3485601e.entry.js +0 -6
  924. package/dist/solutions-components/p-395e9b6c.entry.js +0 -6
  925. package/dist/solutions-components/p-39c5f2d2.entry.js +0 -6
  926. package/dist/solutions-components/p-3c4f2257.entry.js +0 -11
  927. package/dist/solutions-components/p-3c8ec7a3.entry.js +0 -12
  928. package/dist/solutions-components/p-4130fbcd.entry.js +0 -11
  929. package/dist/solutions-components/p-421cbb15.entry.js +0 -6
  930. package/dist/solutions-components/p-43fa414d.entry.js +0 -11
  931. package/dist/solutions-components/p-4760f22a.entry.js +0 -6
  932. package/dist/solutions-components/p-4fb6d2cf.entry.js +0 -11
  933. package/dist/solutions-components/p-54384555.entry.js +0 -11
  934. package/dist/solutions-components/p-5493f036.entry.js +0 -6
  935. package/dist/solutions-components/p-551fd063.entry.js +0 -11
  936. package/dist/solutions-components/p-5a61ef0d.entry.js +0 -6
  937. package/dist/solutions-components/p-6a3ce8f6.entry.js +0 -6
  938. package/dist/solutions-components/p-6b9dc092.js +0 -21
  939. package/dist/solutions-components/p-6be581f5.entry.js +0 -6
  940. package/dist/solutions-components/p-6cf432f9.entry.js +0 -11
  941. package/dist/solutions-components/p-70368b2b.entry.js +0 -6
  942. package/dist/solutions-components/p-708ffad0.entry.js +0 -11
  943. package/dist/solutions-components/p-7321ba65.entry.js +0 -11
  944. package/dist/solutions-components/p-75b35018.entry.js +0 -11
  945. package/dist/solutions-components/p-764c0a90.entry.js +0 -11
  946. package/dist/solutions-components/p-77031b01.entry.js +0 -11
  947. package/dist/solutions-components/p-778a1b4a.entry.js +0 -11
  948. package/dist/solutions-components/p-7cdc6089.entry.js +0 -6
  949. package/dist/solutions-components/p-81467529.entry.js +0 -6
  950. package/dist/solutions-components/p-834380d6.entry.js +0 -11
  951. package/dist/solutions-components/p-89cc843b.entry.js +0 -11
  952. package/dist/solutions-components/p-8e3a2736.entry.js +0 -11
  953. package/dist/solutions-components/p-8e8b182f.entry.js +0 -12
  954. package/dist/solutions-components/p-8f052987.entry.js +0 -11
  955. package/dist/solutions-components/p-93790a9e.entry.js +0 -37
  956. package/dist/solutions-components/p-9bbee464.entry.js +0 -6
  957. package/dist/solutions-components/p-9bdd4abe.entry.js +0 -17
  958. package/dist/solutions-components/p-a4a7d49d.entry.js +0 -17
  959. package/dist/solutions-components/p-a7036d68.entry.js +0 -11
  960. package/dist/solutions-components/p-ac91cd40.entry.js +0 -11
  961. package/dist/solutions-components/p-acd0a09f.entry.js +0 -11
  962. package/dist/solutions-components/p-acd3b2bf.entry.js +0 -11
  963. package/dist/solutions-components/p-aea937fb.entry.js +0 -12
  964. package/dist/solutions-components/p-b1b36556.entry.js +0 -11
  965. package/dist/solutions-components/p-b25f6ebe.js +0 -257
  966. package/dist/solutions-components/p-b2ae8634.entry.js +0 -6
  967. package/dist/solutions-components/p-ba104266.entry.js +0 -11
  968. package/dist/solutions-components/p-bfcab358.entry.js +0 -11
  969. package/dist/solutions-components/p-c848d1bd.entry.js +0 -29
  970. package/dist/solutions-components/p-c9766584.entry.js +0 -6
  971. package/dist/solutions-components/p-d2cc1b94.entry.js +0 -12
  972. package/dist/solutions-components/p-d51a72d2.entry.js +0 -11
  973. package/dist/solutions-components/p-d88fe54b.entry.js +0 -18
  974. package/dist/solutions-components/p-daee23cc.entry.js +0 -11
  975. package/dist/solutions-components/p-db7d14d5.entry.js +0 -12
  976. package/dist/solutions-components/p-dc724c1d.entry.js +0 -11
  977. package/dist/solutions-components/p-dc7bc20f.entry.js +0 -11
  978. package/dist/solutions-components/p-de242ea9.entry.js +0 -6
  979. package/dist/solutions-components/p-e4ebb82a.entry.js +0 -11
  980. package/dist/solutions-components/p-e64c5c11.entry.js +0 -6
  981. package/dist/solutions-components/p-e9e47eab.entry.js +0 -6
  982. package/dist/solutions-components/p-eb3be6d4.entry.js +0 -6
  983. package/dist/solutions-components/p-ed27c151.entry.js +0 -6
  984. package/dist/solutions-components/p-ef170bb1.entry.js +0 -6
  985. package/dist/solutions-components/p-f044863f.entry.js +0 -16
  986. package/dist/solutions-components/p-f0bae2f0.entry.js +0 -37
  987. package/dist/solutions-components/p-f5a3b34f.entry.js +0 -23
  988. package/dist/solutions-components/p-fa2575c2.entry.js +0 -6
  989. package/dist/solutions-components/p-fe0fdd8b.js +0 -36
@@ -0,0 +1 @@
1
+ {"file":"calcite-modal.solution-configuration.entry.esm.js","mappings":";;;;;;;;;;;;;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,SAAS,eAAe,CAAC,IAAI,EAAE,QAAQ,EAAE,OAAO,EAAE,QAAQ,GAAG,EAAE,EAAE,KAAK,GAAG,CAAC,EAAE;AACnF,IAAI,IAAI,OAAO,GAAG,EAAE,CAAC;AACrB;AACA,IAAI,IAAI,KAAK,IAAI,QAAQ,EAAE;AAC3B,QAAQ,OAAO,OAAO,CAAC;AACvB,KAAK;AACL;AACA,IAAI,MAAM,YAAY,GAAG,CAAC,KAAK,KAAK;AACpC;AACA;AACA,QAAQ,MAAM,aAAa,GAAG,KAAK,CAAC,aAAa,EAAE,CAAC,MAAM,CAAC,IAAI,IAAI,IAAI,CAAC,QAAQ,KAAK,CAAC,CAAC,CAAC;AACxF,QAAQ,IAAI,aAAa,CAAC,MAAM,GAAG,CAAC,EAAE;AACtC,YAAY,OAAO,eAAe,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,aAAa,EAAE,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE,KAAK,GAAG,CAAC,CAAC,CAAC;AAC3G,SAAS;AACT,QAAQ,OAAO,EAAE,CAAC;AAClB,KAAK,CAAC;AACN;AACA;AACA;AACA,IAAI,MAAM,QAAQ,GAAG,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,IAAI,EAAE,CAAC,CAAC;AACrD,IAAI,KAAK,MAAM,MAAM,IAAI,QAAQ,E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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAyTS,MAAM,gBAAgB;IAC9B,MAAM,YAAY,GAAG,MAAM,yBAAyB,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;IAC9D,IAAI,CAAC,aAAa,GAAG,YAAY,CAAC,CAAC,CAAqC,CAAC;GAC1E;;;;;;;;;;;","names":["utils.getSolutionVariables","utils.getOrganizationVariables","utils.getInventoryItems"],"sources":["./node_modules/@a11y/focus-trap/shadow.js","./node_modules/@a11y/focus-trap/focusable.js","./node_modules/@esri/calcite-components/dist/collection/components/modal/resources.js","./node_modules/@esri/calcite-components/dist/collection/components/modal/modal.css?tag=calcite-modal&encapsulation=shadow","./node_modules/@esri/calcite-components/dist/collection/components/modal/modal.js","./src/utils/templates.ts","./node_modules/@esri/arcgis-rest-request/dist/esm/utils/decode-query-string.js","./node_modules/@esri/arcgis-rest-auth/node_modules/tslib/tslib.es6.js","./node_modules/@esri/arcgis-rest-auth/dist/esm/fetch-token.js","./node_modules/@esri/arcgis-rest-auth/dist/esm/generate-token.js","./node_modules/@esri/arcgis-rest-auth/dist/esm/federation-utils.js","./node_modules/@esri/arcgis-rest-auth/dist/esm/validate-app-access.js","./node_modules/@esri/arcgis-rest-auth/dist/esm/UserSession.js","./src/components/solution-configuration/solution-configuration.scss?tag=solution-configuration","./src/components/solution-configuration/solution-configuration.tsx"],"sourcesContent":["/**\n * Traverses the slots of the open shadowroots and returns all children matching the query.\n * @param {ShadowRoot | HTMLElement} root\n * @param skipNode\n * @param isMatch\n * @param {number} maxDepth\n * @param {number} depth\n * @returns {HTMLElement[]}\n */\nexport function queryShadowRoot(root, skipNode, isMatch, maxDepth = 20, depth = 0) {\n let matches = [];\n // If the depth is above the max depth, abort the searching here.\n if (depth >= maxDepth) {\n return matches;\n }\n // Traverses a slot element\n const traverseSlot = ($slot) => {\n // Only check nodes that are of the type Node.ELEMENT_NODE\n // Read more here https://developer.mozilla.org/en-US/docs/Web/API/Node/nodeType\n const assignedNodes = $slot.assignedNodes().filter(node => node.nodeType === 1);\n if (assignedNodes.length > 0) {\n return queryShadowRoot(assignedNodes[0].parentElement, skipNode, isMatch, maxDepth, depth + 1);\n }\n return [];\n };\n // Go through each child and continue the traversing if necessary\n // Even though the typing says that children can't be undefined, Edge 15 sometimes gives an undefined value.\n // Therefore we fallback to an empty array if it is undefined.\n const children = Array.from(root.children || []);\n for (const $child of children) {\n // Check if the node and its descendants should be skipped\n if (skipNode($child)) {\n continue;\n }\n // If the child matches we always add it\n if (isMatch($child)) {\n matches.push($child);\n }\n if ($child.shadowRoot != null) {\n matches.push(...queryShadowRoot($child.shadowRoot, skipNode, isMatch, maxDepth, depth + 1));\n }\n else if ($child.tagName === \"SLOT\") {\n matches.push(...traverseSlot($child));\n }\n else {\n matches.push(...queryShadowRoot($child, skipNode, isMatch, maxDepth, depth + 1));\n }\n }\n return matches;\n}\n//# sourceMappingURL=shadow.js.map","/**\n * Returns whether the element is hidden.\n * @param $elem\n */\nexport function isHidden($elem) {\n return $elem.hasAttribute(\"hidden\")\n || ($elem.hasAttribute(\"aria-hidden\") && $elem.getAttribute(\"aria-hidden\") !== \"false\")\n // A quick and dirty way to check whether the element is hidden.\n // For a more fine-grained check we could use \"window.getComputedStyle\" but we don't because of bad performance.\n // If the element has visibility set to \"hidden\" or \"collapse\", display set to \"none\" or opacity set to \"0\" through CSS\n // we won't be able to catch it here. We accept it due to the huge performance benefits.\n || $elem.style.display === `none`\n || $elem.style.opacity === `0`\n || $elem.style.visibility === `hidden`\n || $elem.style.visibility === `collapse`;\n // If offsetParent is null we can assume that the element is hidden\n // https://stackoverflow.com/questions/306305/what-would-make-offsetparent-null\n //|| $elem.offsetParent == null;\n}\n/**\n * Returns whether the element is disabled.\n * @param $elem\n */\nexport function isDisabled($elem) {\n return $elem.hasAttribute(\"disabled\")\n || ($elem.hasAttribute(\"aria-disabled\") && $elem.getAttribute(\"aria-disabled\") !== \"false\");\n}\n/**\n * Determines whether an element is focusable.\n * Read more here: https://stackoverflow.com/questions/1599660/which-html-elements-can-receive-focus/1600194#1600194\n * Or here: https://stackoverflow.com/questions/18261595/how-to-check-if-a-dom-element-is-focusable\n * @param $elem\n */\nexport function isFocusable($elem) {\n // Discard elements that are removed from the tab order.\n if ($elem.getAttribute(\"tabindex\") === \"-1\" || isHidden($elem) || isDisabled($elem)) {\n return false;\n }\n return (\n // At this point we know that the element can have focus (eg. won't be -1) if the tabindex attribute exists\n $elem.hasAttribute(\"tabindex\")\n // Anchor tags or area tags with a href set\n || ($elem instanceof HTMLAnchorElement || $elem instanceof HTMLAreaElement) && $elem.hasAttribute(\"href\")\n // Form elements which are not disabled\n || ($elem instanceof HTMLButtonElement\n || $elem instanceof HTMLInputElement\n || $elem instanceof HTMLTextAreaElement\n || $elem instanceof HTMLSelectElement)\n // IFrames\n || $elem instanceof HTMLIFrameElement);\n}\n//# sourceMappingURL=focusable.js.map","/*!\n * All material copyright ESRI, All Rights Reserved, unless otherwise specified.\n * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.\n * v1.0.0-beta.97\n */\nexport const CSS = {\n modal: \"modal\",\n modalOpen: \"modal--open\",\n title: \"title\",\n header: \"header\",\n footer: \"footer\",\n scrim: \"scrim\",\n back: \"back\",\n close: \"close\",\n secondary: \"secondary\",\n primary: \"primary\",\n overflowHidden: \"overflow-hidden\",\n // these classes help apply the animation in phases to only set transform on open/close\n // this helps avoid a positioning issue for any floating-ui-owning children\n openingIdle: \"modal--opening-idle\",\n openingActive: \"modal--opening-active\",\n closingIdle: \"modal--closing-idle\",\n closingActive: \"modal--closing-active\"\n};\nexport const ICONS = {\n close: \"x\"\n};\nexport const SLOTS = {\n content: \"content\",\n header: \"header\",\n back: \"back\",\n secondary: \"secondary\",\n primary: \"primary\"\n};\nexport const TEXT = {\n close: \"Close\"\n};\n","/* mixins & extensions */\n@keyframes in {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n}\n@keyframes in-down {\n 0% {\n opacity: 0;\n transform: translate3D(0, -5px, 0);\n }\n 100% {\n opacity: 1;\n transform: translate3D(0, 0, 0);\n }\n}\n@keyframes in-up {\n 0% {\n opacity: 0;\n transform: translate3D(0, 5px, 0);\n }\n 100% {\n opacity: 1;\n transform: translate3D(0, 0, 0);\n }\n}\n@keyframes in-scale {\n 0% {\n opacity: 0;\n transform: scale3D(0.95, 0.95, 1);\n }\n 100% {\n opacity: 1;\n transform: scale3D(1, 1, 1);\n }\n}\n:root {\n --calcite-animation-timing: calc(150ms * var(--calcite-internal-duration-factor));\n --calcite-internal-duration-factor: var(--calcite-duration-factor, 1);\n --calcite-internal-animation-timing-fast: calc(100ms * var(--calcite-internal-duration-factor));\n --calcite-internal-animation-timing-medium: calc(200ms * var(--calcite-internal-duration-factor));\n --calcite-internal-animation-timing-slow: calc(300ms * var(--calcite-internal-duration-factor));\n}\n\n.calcite-animate {\n opacity: 0;\n animation-fill-mode: both;\n animation-duration: var(--calcite-animation-timing);\n}\n\n.calcite-animate__in {\n animation-name: in;\n}\n\n.calcite-animate__in-down {\n animation-name: in-down;\n}\n\n.calcite-animate__in-up {\n animation-name: in-up;\n}\n\n.calcite-animate__in-scale {\n animation-name: in-scale;\n}\n\n@media (prefers-reduced-motion: reduce) {\n :root {\n --calcite-internal-duration-factor: 0.01;\n }\n}\n/**\n* Currently only used in Checkbox.\n*/\n:root {\n --calcite-floating-ui-transition: var(--calcite-animation-timing);\n}\n\n:host([hidden]) {\n display: none;\n}\n\n/**\n* CSS Custom Properties\n*\n* These properties can be overridden using the component's tag as selector.\n*\n* @prop --calcite-modal-content-text: [Deprecated] The component content's font size.\n* @prop --calcite-modal-padding: [Deprecated] The padding around content area slot.\n* @prop --calcite-modal-padding-large: [Deprecated] The left/right padding around items within the component.\n* @prop --calcite-modal-title-text: [Deprecated] The component title's font size.\n* @prop --calcite-scrim-background: [Deprecated] The component's semi-transparent background color.\n*/\n:host {\n position: fixed;\n inset: 0px;\n z-index: 700;\n display: flex;\n align-items: center;\n justify-content: center;\n overflow-y: hidden;\n color: var(--calcite-ui-text-2);\n opacity: 0;\n visibility: hidden !important;\n transition: visibility 0ms linear var(--calcite-internal-animation-timing-slow), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);\n}\n\n:host([scale=s]) {\n --calcite-modal-padding: 0.75rem;\n --calcite-modal-padding-large: 1rem;\n --calcite-modal-title-text: var(--calcite-font-size-1);\n --calcite-modal-content-text: var(--calcite-font-size--1);\n --calcite-modal-padding-internal: 0.75rem;\n --calcite-modal-padding-large-internal: 1rem;\n --calcite-modal-title-text-internal: var(--calcite-font-size-1);\n --calcite-modal-content-text-internal: var(--calcite-font-size--1);\n}\n\n:host([scale=m]) {\n --calcite-modal-padding: 1rem;\n --calcite-modal-padding-large: 1.25rem;\n --calcite-modal-title-text: var(--calcite-font-size-2);\n --calcite-modal-content-text: var(--calcite-font-size-0);\n --calcite-modal-padding-internal: 1rem;\n --calcite-modal-padding-large-internal: 1.25rem;\n --calcite-modal-title-text-internal: var(--calcite-font-size-2);\n --calcite-modal-content-text-internal: var(--calcite-font-size-0);\n}\n\n:host([scale=l]) {\n --calcite-modal-padding: 1.25rem;\n --calcite-modal-padding-large: 1.5rem;\n --calcite-modal-title-text: var(--calcite-font-size-3);\n --calcite-modal-content-text: var(--calcite-font-size-1);\n --calcite-modal-padding-internal: 1.25rem;\n --calcite-modal-padding-large-internal: 1.5rem;\n --calcite-modal-title-text-internal: var(--calcite-font-size-3);\n --calcite-modal-content-text-internal: var(--calcite-font-size-1);\n}\n\n.scrim {\n --calcite-scrim-background: rgba(0, 0, 0, 0.75);\n position: fixed;\n inset: 0px;\n display: flex;\n overflow-y: hidden;\n}\n\n.modal {\n pointer-events: none;\n z-index: 800;\n float: none;\n margin: 1.5rem;\n box-sizing: border-box;\n display: flex;\n inline-size: 100%;\n flex-direction: column;\n overflow: hidden;\n border-radius: 0.25rem;\n background-color: var(--calcite-ui-foreground-1);\n opacity: 0;\n --tw-shadow: 0 2px 12px -4px rgba(0, 0, 0, 0.2), 0 2px 4px -2px rgba(0, 0, 0, 0.16);\n --tw-shadow-colored: 0 2px 12px -4px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n -webkit-overflow-scrolling: touch;\n visibility: hidden;\n transition: transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear var(--calcite-internal-animation-timing-slow), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);\n --calcite-modal-hidden-position: translate3d(0, 20px, 0);\n --calcite-modal-shown-position: translate3d(0, 0, 0);\n}\n.modal--opening-idle {\n transform: var(--calcite-modal-hidden-position);\n}\n.modal--opening-active {\n transform: var(--calcite-modal-shown-position);\n}\n.modal--closing-idle {\n transform: var(--calcite-modal-shown-position);\n}\n.modal--closing-active {\n transform: var(--calcite-modal-hidden-position);\n}\n\n:host([open]) {\n opacity: 1;\n visibility: visible !important;\n transition-delay: 0ms;\n}\n:host([open]) .modal--open {\n pointer-events: auto;\n visibility: visible;\n opacity: 1;\n transition: transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear, opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-inline-size var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-block-size var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);\n transition-delay: 0ms;\n}\n\n/**\n * Header\n */\n.header {\n z-index: 400;\n display: flex;\n min-inline-size: 0px;\n max-inline-size: 100%;\n border-start-start-radius: 0.25rem;\n border-start-end-radius: 0.25rem;\n border-width: 0px;\n border-block-end-width: 1px;\n border-style: solid;\n border-color: var(--calcite-ui-border-3);\n background-color: var(--calcite-ui-foreground-1);\n flex: 0 0 auto;\n}\n\n.close {\n order: 2;\n margin: 0px;\n cursor: pointer;\n -webkit-appearance: none;\n appearance: none;\n border-style: none;\n background-color: transparent;\n color: var(--calcite-ui-text-3);\n outline-color: transparent;\n transition: all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;\n border-start-end-radius: 0.25rem;\n padding-block: var(--calcite-modal-padding, var(--calcite-modal-padding-internal));\n padding-inline: var(--calcite-modal-padding, var(--calcite-modal-padding-internal));\n flex: 0 0 auto;\n}\n.close calcite-icon {\n pointer-events: none;\n vertical-align: -2px;\n}\n.close:focus {\n outline: 2px solid var(--calcite-ui-brand);\n outline-offset: -2px;\n}\n.close:hover, .close:focus, .close:active {\n background-color: var(--calcite-ui-foreground-2);\n color: var(--calcite-ui-text-1);\n}\n\n.title {\n order: 1;\n display: flex;\n min-inline-size: 0px;\n align-items: center;\n flex: 1 1 auto;\n padding-block: var(--calcite-modal-padding, var(--calcite-model-padding-internal));\n padding-inline: var(--calcite-modal-padding-large, var(--calcite-modal-padding-large-internal));\n}\n\nslot[name=header]::slotted(*), \n*::slotted([slot=header]) {\n margin: 0px;\n font-weight: var(--calcite-font-weight-normal);\n color: var(--calcite-ui-text-1);\n font-size: var(--calcite-modal-title-text, var(--calcite-modal-title-text-internal));\n}\n\n/**\n * Content area\n */\n.content {\n position: relative;\n box-sizing: border-box;\n display: block;\n block-size: 100%;\n overflow: auto;\n background-color: var(--calcite-ui-foreground-1);\n padding: 0px;\n max-block-size: calc(100vh - 12rem);\n}\n\n.content--spaced {\n padding: var(--calcite-modal-padding);\n}\n\n.content--no-footer {\n border-end-end-radius: 0.25rem;\n border-end-start-radius: 0.25rem;\n}\n\nslot[name=content]::slotted(*),\n*::slotted([slot=content]) {\n font-size: var(--calcite-modal-content-text, var(--calcite-modal-context-text-internal));\n}\n\n:host([background-color=grey]) .content {\n background-color: var(--calcite-ui-background);\n}\n\n/**\n * Footer\n */\n.footer {\n z-index: 400;\n margin-block-start: auto;\n box-sizing: border-box;\n display: flex;\n inline-size: 100%;\n justify-content: space-between;\n border-end-end-radius: 0.25rem;\n border-end-start-radius: 0.25rem;\n border-width: 0px;\n border-block-start-width: 1px;\n border-style: solid;\n border-color: var(--calcite-ui-border-3);\n background-color: var(--calcite-ui-foreground-1);\n flex: 0 0 auto;\n padding-block: var(--calcite-modal-padding, var(--calcite-modal-padding-internal));\n padding-inline: var(--calcite-modal-padding-large, var(--calcite-modal-padding-large-internal));\n}\n\n.footer--hide-back .back, \n.footer--hide-secondary .secondary {\n display: none;\n}\n\n.back {\n display: block;\n margin-inline-end: auto;\n}\n\n.secondary {\n margin-inline: 0.25rem;\n display: block;\n}\n\nslot[name=primary] {\n display: block;\n}\n\n/**\n * Sizes\n */\n:host([width=small]) .modal {\n inline-size: auto;\n}\n\n:host([width=s]) .modal {\n max-inline-size: 32rem;\n}\n\n@media screen and (max-width: 35rem) {\n :host([width=s]) .modal {\n margin: 0px;\n block-size: 100%;\n max-block-size: 100%;\n inline-size: 100%;\n max-inline-size: 100%;\n border-radius: 0px;\n }\n :host([width=s]) .content {\n flex: 1 1 auto;\n max-block-size: unset;\n }\n\n :host([width=s][docked]) {\n align-items: flex-end;\n }\n}\n:host([width=m]) .modal {\n max-inline-size: 48rem;\n}\n\n@media screen and (max-width: 51rem) {\n :host([width=m]) .modal {\n margin: 0px;\n block-size: 100%;\n max-block-size: 100%;\n inline-size: 100%;\n max-inline-size: 100%;\n border-radius: 0px;\n }\n :host([width=m]) .content {\n flex: 1 1 auto;\n max-block-size: unset;\n }\n\n :host([width=m][docked]) {\n align-items: flex-end;\n }\n}\n:host([width=l]) .modal {\n max-inline-size: 94rem;\n}\n\n@media screen and (max-width: 97rem) {\n :host([width=l]) .modal {\n margin: 0px;\n block-size: 100%;\n max-block-size: 100%;\n inline-size: 100%;\n max-inline-size: 100%;\n border-radius: 0px;\n }\n :host([width=l]) .content {\n flex: 1 1 auto;\n max-block-size: unset;\n }\n\n :host([width=l][docked]) {\n align-items: flex-end;\n }\n}\n/**\n * Fullscreen\n */\n:host([fullscreen]) {\n background-color: transparent;\n}\n:host([fullscreen]) .modal {\n margin: 0px;\n block-size: 100%;\n max-block-size: 100%;\n inline-size: 100%;\n max-inline-size: 100%;\n --calcite-modal-hidden-position: translate3D(0, 20px, 0) scale(0.95);\n --calcite-modal-shown-position: translate3D(0, 0, 0) scale(1);\n}\n:host([fullscreen]) .content {\n max-block-size: 100%;\n flex: 1 1 auto;\n}\n\n:host([open][fullscreen]) .header {\n border-radius: 0;\n}\n:host([open][fullscreen]) .footer {\n border-radius: 0;\n}\n\n/**\n * Docked\n */\n:host([docked]) .modal {\n block-size: auto;\n}\n:host([docked]) .content {\n block-size: auto;\n flex: 1 1 auto;\n}\n@media screen and (max-width: 860px) {\n :host([docked]) .modal {\n border-radius: var(--calcite-border-radius) var(--calcite-border-radius) 0 0;\n }\n :host([docked]) .close {\n border-start-end-radius: var(--calcite-border-radius);\n }\n}\n\n/**\n * Colors\n */\n:host([color=red]) .modal {\n border-color: var(--calcite-ui-danger);\n}\n\n:host([color=blue]) .modal {\n border-color: var(--calcite-ui-info);\n}\n\n:host([color=red]) .modal, \n:host([color=blue]) .modal {\n border-width: 0px;\n border-block-start-width: 4px;\n border-style: solid;\n}\n:host([color=red]) .header, \n:host([color=blue]) .header {\n border-radius: 0.25rem;\n border-end-end-radius: 0px;\n border-end-start-radius: 0px;\n}\n\n/**\n * Tablet\n */\n@media screen and (max-width: 860px) {\n slot[name=header]::slotted(*), \n*::slotted([slot=header]) {\n font-size: var(--calcite-font-size-1);\n }\n\n .footer {\n position: sticky;\n inset-block-end: 0px;\n }\n}\n/**\n * Mobile\n */\n@media screen and (max-width: 480px) {\n .footer {\n flex-direction: column;\n }\n\n .back, \n.secondary {\n margin: 0px;\n margin-block-end: 0.25rem;\n }\n}","/*!\n * All material copyright ESRI, All Rights Reserved, unless otherwise specified.\n * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.\n * v1.0.0-beta.97\n */\nimport { h, Host } from \"@stencil/core\";\nimport { ensureId, focusElement, getSlotted, isCalciteFocusable } from \"../../utils/dom\";\nimport { queryShadowRoot } from \"@a11y/focus-trap/shadow\";\nimport { isFocusable, isHidden } from \"@a11y/focus-trap/focusable\";\nimport { CSS, ICONS, SLOTS, TEXT } from \"./resources\";\nimport { createObserver } from \"../../utils/observers\";\nimport { connectConditionalSlotComponent, disconnectConditionalSlotComponent } from \"../../utils/conditionalSlot\";\nimport { connectOpenCloseComponent, disconnectOpenCloseComponent } from \"../../utils/openCloseComponent\";\nconst isFocusableExtended = (el) => {\n return isCalciteFocusable(el) || isFocusable(el);\n};\nconst getFocusableElements = (el) => {\n return queryShadowRoot(el, isHidden, isFocusableExtended);\n};\n/**\n * @slot header - A slot for adding header text.\n * @slot content - A slot for adding the component's content.\n * @slot primary - A slot for adding a primary button.\n * @slot secondary - A slot for adding a secondary button.\n * @slot back - A slot for adding a back button.\n */\nexport class Modal {\n constructor() {\n //--------------------------------------------------------------------------\n //\n // Properties\n //\n //--------------------------------------------------------------------------\n /**\n * When `true`, the component is active.\n *\n * @deprecated use `open` instead.\n */\n this.active = false;\n /** When `true`, displays and positions the component. */\n this.open = false;\n /** Passes a function to run before the component closes. */\n this.beforeClose = () => Promise.resolve();\n /** When `true`, disables the component's close button. */\n this.disableCloseButton = false;\n /** When `true`, disables the closing of the component when clicked outside. */\n this.disableOutsideClose = false;\n /** Accessible name for the component's close button. */\n this.intlClose = TEXT.close;\n /** When `true`, disables the default close on escape behavior. */\n this.disableEscape = false;\n /** Specifies the size of the component. */\n this.scale = \"m\";\n /** Specifies the width of the component. Can use scale sizes or pass a number (displays in pixels). */\n this.width = \"m\";\n /** Sets the background color of the component's content. */\n this.backgroundColor = \"white\";\n /**\n * When `true`, disables spacing to the content area slot.\n *\n * @deprecated Use `--calcite-modal-padding` CSS variable instead.\n */\n this.noPadding = false;\n //--------------------------------------------------------------------------\n //\n // Variables\n //\n //--------------------------------------------------------------------------\n this.hasFooter = true;\n /**\n * We use internal variable to make sure initially open modal can transition from closed state when rendered\n *\n * @private\n */\n this.isOpen = false;\n this.mutationObserver = createObserver(\"mutation\", () => this.updateFooterVisibility());\n this.openTransitionProp = \"opacity\";\n //--------------------------------------------------------------------------\n //\n // Private Methods\n //\n //--------------------------------------------------------------------------\n this.setTransitionEl = (el) => {\n this.transitionEl = el;\n connectOpenCloseComponent(this);\n };\n this.openEnd = () => {\n this.setFocus();\n this.el.removeEventListener(\"calciteModalOpen\", this.openEnd);\n };\n this.handleOutsideClose = () => {\n if (this.disableOutsideClose) {\n return;\n }\n this.close();\n };\n /** Close the modal, first running the `beforeClose` method */\n this.close = () => {\n return this.beforeClose(this.el).then(() => {\n this.open = false;\n this.isOpen = false;\n focusElement(this.previousActiveElement);\n this.removeOverflowHiddenClass();\n });\n };\n this.focusFirstElement = () => {\n focusElement(this.disableCloseButton ? getFocusableElements(this.el)[0] : this.closeButtonEl);\n };\n this.focusLastElement = () => {\n const focusableElements = getFocusableElements(this.el).filter((el) => !el.getAttribute(\"data-focus-fence\"));\n if (focusableElements.length > 0) {\n focusElement(focusableElements[focusableElements.length - 1]);\n }\n else {\n focusElement(this.closeButtonEl);\n }\n };\n this.updateFooterVisibility = () => {\n this.hasFooter = !!getSlotted(this.el, [SLOTS.back, SLOTS.primary, SLOTS.secondary]);\n };\n }\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n componentWillLoad() {\n // when modal initially renders, if active was set we need to open as watcher doesn't fire\n if (this.open) {\n requestAnimationFrame(() => this.openModal());\n }\n }\n connectedCallback() {\n var _a;\n (_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.observe(this.el, { childList: true, subtree: true });\n this.updateFooterVisibility();\n connectConditionalSlotComponent(this);\n connectOpenCloseComponent(this);\n if (this.open) {\n this.active = this.open;\n }\n if (this.active) {\n this.activeHandler(this.active);\n }\n }\n disconnectedCallback() {\n var _a;\n this.removeOverflowHiddenClass();\n (_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();\n disconnectConditionalSlotComponent(this);\n disconnectOpenCloseComponent(this);\n }\n render() {\n return (h(Host, { \"aria-describedby\": this.contentId, \"aria-labelledby\": this.titleId, \"aria-modal\": \"true\", role: \"dialog\" }, h(\"calcite-scrim\", { class: CSS.scrim, onClick: this.handleOutsideClose }), this.renderStyle(), h(\"div\", { class: {\n [CSS.modal]: true,\n [CSS.modalOpen]: this.isOpen\n }, ref: this.setTransitionEl }, h(\"div\", { \"data-focus-fence\": true, onFocus: this.focusLastElement, tabindex: \"0\" }), h(\"div\", { class: CSS.header }, this.renderCloseButton(), h(\"header\", { class: CSS.title }, h(\"slot\", { name: CSS.header }))), h(\"div\", { class: {\n content: true,\n \"content--spaced\": !this.noPadding,\n \"content--no-footer\": !this.hasFooter\n }, ref: (el) => (this.modalContent = el) }, h(\"slot\", { name: SLOTS.content })), this.renderFooter(), h(\"div\", { \"data-focus-fence\": true, onFocus: this.focusFirstElement, tabindex: \"0\" }))));\n }\n renderFooter() {\n return this.hasFooter ? (h(\"div\", { class: CSS.footer, key: \"footer\" }, h(\"span\", { class: CSS.back }, h(\"slot\", { name: SLOTS.back })), h(\"span\", { class: CSS.secondary }, h(\"slot\", { name: SLOTS.secondary })), h(\"span\", { class: CSS.primary }, h(\"slot\", { name: SLOTS.primary })))) : null;\n }\n renderCloseButton() {\n return !this.disableCloseButton ? (h(\"button\", { \"aria-label\": this.intlClose, class: CSS.close, key: \"button\", onClick: this.close, ref: (el) => (this.closeButtonEl = el), title: this.intlClose }, h(\"calcite-icon\", { icon: ICONS.close, scale: this.scale === \"s\" ? \"s\" : this.scale === \"m\" ? \"m\" : this.scale === \"l\" ? \"l\" : null }))) : null;\n }\n renderStyle() {\n const hasCustomWidth = !isNaN(parseInt(`${this.width}`));\n return hasCustomWidth ? (h(\"style\", null, `\n .${CSS.modal} {\n max-width: ${this.width}px !important;\n }\n @media screen and (max-width: ${this.width}px) {\n .${CSS.modal} {\n height: 100% !important;\n max-height: 100% !important;\n width: 100% !important;\n max-width: 100% !important;\n margin: 0 !important;\n border-radius: 0 !important;\n }\n .content {\n flex: 1 1 auto !important;\n max-height: unset !important;\n }\n }\n `)) : null;\n }\n //--------------------------------------------------------------------------\n //\n // Event Listeners\n //\n //--------------------------------------------------------------------------\n handleEscape(event) {\n if (this.open && !this.disableEscape && event.key === \"Escape\" && !event.defaultPrevented) {\n this.close();\n event.preventDefault();\n }\n }\n //--------------------------------------------------------------------------\n //\n // Public Methods\n //\n //--------------------------------------------------------------------------\n /**\n * Focus the first interactive element.\n *\n * @param el\n * @deprecated use `setFocus` instead.\n */\n async focusElement(el) {\n if (el) {\n el.focus();\n }\n return this.setFocus();\n }\n /**\n * Sets focus on the component.\n *\n * By default, tries to focus on focusable content. If there is none, it will focus on the close button.\n * To focus on the close button, use the `close-button` focus ID.\n *\n * @param focusId\n */\n async setFocus(focusId) {\n const closeButton = this.closeButtonEl;\n return focusElement(focusId === \"close-button\" ? closeButton : getFocusableElements(this.el)[0] || closeButton);\n }\n /**\n * Sets the scroll top of the component's content.\n *\n * @param top\n * @param left\n */\n async scrollContent(top = 0, left = 0) {\n if (this.modalContent) {\n if (this.modalContent.scrollTo) {\n this.modalContent.scrollTo({ top, left, behavior: \"smooth\" });\n }\n else {\n this.modalContent.scrollTop = top;\n this.modalContent.scrollLeft = left;\n }\n }\n }\n onBeforeOpen() {\n this.transitionEl.classList.add(CSS.openingActive);\n this.calciteModalBeforeOpen.emit();\n }\n onOpen() {\n this.transitionEl.classList.remove(CSS.openingIdle, CSS.openingActive);\n this.calciteModalOpen.emit();\n }\n onBeforeClose() {\n this.transitionEl.classList.add(CSS.closingActive);\n this.calciteModalBeforeClose.emit();\n }\n onClose() {\n this.transitionEl.classList.remove(CSS.closingIdle, CSS.closingActive);\n this.calciteModalClose.emit();\n }\n activeHandler(value) {\n this.open = value;\n }\n async toggleModal(value) {\n var _a, _b;\n this.active = value;\n if (value) {\n (_a = this.transitionEl) === null || _a === void 0 ? void 0 : _a.classList.add(CSS.openingIdle);\n this.openModal();\n }\n else {\n (_b = this.transitionEl) === null || _b === void 0 ? void 0 : _b.classList.add(CSS.closingIdle);\n this.close();\n }\n }\n /** Open the modal */\n openModal() {\n this.previousActiveElement = document.activeElement;\n this.el.addEventListener(\"calciteModalOpen\", this.openEnd);\n this.open = true;\n this.isOpen = true;\n const titleEl = getSlotted(this.el, SLOTS.header);\n const contentEl = getSlotted(this.el, SLOTS.content);\n this.titleId = ensureId(titleEl);\n this.contentId = ensureId(contentEl);\n document.documentElement.classList.add(CSS.overflowHidden);\n }\n removeOverflowHiddenClass() {\n document.documentElement.classList.remove(CSS.overflowHidden);\n }\n static get is() { return \"calcite-modal\"; }\n static get encapsulation() { return \"shadow\"; }\n static get originalStyleUrls() {\n return {\n \"$\": [\"modal.scss\"]\n };\n }\n static get styleUrls() {\n return {\n \"$\": [\"modal.css\"]\n };\n }\n static get properties() {\n return {\n \"active\": {\n \"type\": \"boolean\",\n \"mutable\": true,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [{\n \"name\": \"deprecated\",\n \"text\": \"use `open` instead.\"\n }],\n \"text\": \"When `true`, the component is active.\"\n },\n \"attribute\": \"active\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\n },\n \"open\": {\n \"type\": \"boolean\",\n \"mutable\": true,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"When `true`, displays and positions the component.\"\n },\n \"attribute\": \"open\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\n },\n \"beforeClose\": {\n \"type\": \"unknown\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"(el: HTMLElement) => Promise<void>\",\n \"resolved\": \"(el: HTMLElement) => Promise<void>\",\n \"references\": {\n \"HTMLElement\": {\n \"location\": \"global\"\n },\n \"Promise\": {\n \"location\": \"global\"\n }\n }\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Passes a function to run before the component closes.\"\n },\n \"defaultValue\": \"() => Promise.resolve()\"\n },\n \"disableCloseButton\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"When `true`, disables the component's close button.\"\n },\n \"attribute\": \"disable-close-button\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\n },\n \"disableOutsideClose\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"When `true`, disables the closing of the component when clicked outside.\"\n },\n \"attribute\": \"disable-outside-close\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\n },\n \"intlClose\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Accessible name for the component's close button.\"\n },\n \"attribute\": \"intl-close\",\n \"reflect\": false,\n \"defaultValue\": \"TEXT.close\"\n },\n \"docked\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"When `true`, prevents the component from expanding to the entire screen on mobile devices.\"\n },\n \"attribute\": \"docked\",\n \"reflect\": true\n },\n \"disableEscape\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"When `true`, disables the default close on escape behavior.\"\n },\n \"attribute\": \"disable-escape\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\n },\n \"scale\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"Scale\",\n \"resolved\": \"\\\"l\\\" | \\\"m\\\" | \\\"s\\\"\",\n \"references\": {\n \"Scale\": {\n \"location\": \"import\",\n \"path\": \"../interfaces\"\n }\n }\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Specifies the size of the component.\"\n },\n \"attribute\": \"scale\",\n \"reflect\": true,\n \"defaultValue\": \"\\\"m\\\"\"\n },\n \"width\": {\n \"type\": \"any\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"Scale | number\",\n \"resolved\": \"\\\"l\\\" | \\\"m\\\" | \\\"s\\\" | number\",\n \"references\": {\n \"Scale\": {\n \"location\": \"import\",\n \"path\": \"../interfaces\"\n }\n }\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Specifies the width of the component. Can use scale sizes or pass a number (displays in pixels).\"\n },\n \"attribute\": \"width\",\n \"reflect\": true,\n \"defaultValue\": \"\\\"m\\\"\"\n },\n \"fullscreen\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Sets the component to always be fullscreen (overrides `width`).\"\n },\n \"attribute\": \"fullscreen\",\n \"reflect\": true\n },\n \"color\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"\\\"red\\\" | \\\"blue\\\"\",\n \"resolved\": \"\\\"blue\\\" | \\\"red\\\"\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Adds a color bar to the top of component for visual impact.\\nUse color to add importance to destructive or workflow dialogs.\"\n },\n \"attribute\": \"color\",\n \"reflect\": true\n },\n \"backgroundColor\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"ModalBackgroundColor\",\n \"resolved\": \"\\\"grey\\\" | \\\"white\\\"\",\n \"references\": {\n \"ModalBackgroundColor\": {\n \"location\": \"import\",\n \"path\": \"./interfaces\"\n }\n }\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Sets the background color of the component's content.\"\n },\n \"attribute\": \"background-color\",\n \"reflect\": true,\n \"defaultValue\": \"\\\"white\\\"\"\n },\n \"noPadding\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [{\n \"name\": \"deprecated\",\n \"text\": \"Use `--calcite-modal-padding` CSS variable instead.\"\n }],\n \"text\": \"When `true`, disables spacing to the content area slot.\"\n },\n \"attribute\": \"no-padding\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\n }\n };\n }\n static get states() {\n return {\n \"hasFooter\": {},\n \"isOpen\": {}\n };\n }\n static get events() {\n return [{\n \"method\": \"calciteModalBeforeClose\",\n \"name\": \"calciteModalBeforeClose\",\n \"bubbles\": true,\n \"cancelable\": false,\n \"composed\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Fires when the component is requested to be closed and before the closing transition begins.\"\n },\n \"complexType\": {\n \"original\": \"void\",\n \"resolved\": \"void\",\n \"references\": {}\n }\n }, {\n \"method\": \"calciteModalClose\",\n \"name\": \"calciteModalClose\",\n \"bubbles\": true,\n \"cancelable\": false,\n \"composed\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Fires when the component is closed and animation is complete.\"\n },\n \"complexType\": {\n \"original\": \"void\",\n \"resolved\": \"void\",\n \"references\": {}\n }\n }, {\n \"method\": \"calciteModalBeforeOpen\",\n \"name\": \"calciteModalBeforeOpen\",\n \"bubbles\": true,\n \"cancelable\": false,\n \"composed\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Fires when the component is added to the DOM but not rendered, and before the opening transition begins.\"\n },\n \"complexType\": {\n \"original\": \"void\",\n \"resolved\": \"void\",\n \"references\": {}\n }\n }, {\n \"method\": \"calciteModalOpen\",\n \"name\": \"calciteModalOpen\",\n \"bubbles\": true,\n \"cancelable\": false,\n \"composed\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Fires when the component is open and animation is complete.\"\n },\n \"complexType\": {\n \"original\": \"void\",\n \"resolved\": \"void\",\n \"references\": {}\n }\n }];\n }\n static get methods() {\n return {\n \"focusElement\": {\n \"complexType\": {\n \"signature\": \"(el?: HTMLElement) => Promise<void>\",\n \"parameters\": [{\n \"tags\": [{\n \"name\": \"param\",\n \"text\": \"el\"\n }],\n \"text\": \"\"\n }],\n \"references\": {\n \"Promise\": {\n \"location\": \"global\"\n },\n \"HTMLElement\": {\n \"location\": \"global\"\n }\n },\n \"return\": \"Promise<void>\"\n },\n \"docs\": {\n \"text\": \"Focus the first interactive element.\",\n \"tags\": [{\n \"name\": \"param\",\n \"text\": \"el\"\n }, {\n \"name\": \"deprecated\",\n \"text\": \"use `setFocus` instead.\"\n }]\n }\n },\n \"setFocus\": {\n \"complexType\": {\n \"signature\": \"(focusId?: \\\"close-button\\\") => Promise<void>\",\n \"parameters\": [{\n \"tags\": [{\n \"name\": \"param\",\n \"text\": \"focusId\"\n }],\n \"text\": \"\"\n }],\n \"references\": {\n \"Promise\": {\n \"location\": \"global\"\n }\n },\n \"return\": \"Promise<void>\"\n },\n \"docs\": {\n \"text\": \"Sets focus on the component.\\n\\nBy default, tries to focus on focusable content. If there is none, it will focus on the close button.\\nTo focus on the close button, use the `close-button` focus ID.\",\n \"tags\": [{\n \"name\": \"param\",\n \"text\": \"focusId\"\n }]\n }\n },\n \"scrollContent\": {\n \"complexType\": {\n \"signature\": \"(top?: number, left?: number) => Promise<void>\",\n \"parameters\": [{\n \"tags\": [{\n \"name\": \"param\",\n \"text\": \"top\"\n }],\n \"text\": \"\"\n }, {\n \"tags\": [{\n \"name\": \"param\",\n \"text\": \"left\"\n }],\n \"text\": \"\"\n }],\n \"references\": {\n \"Promise\": {\n \"location\": \"global\"\n }\n },\n \"return\": \"Promise<void>\"\n },\n \"docs\": {\n \"text\": \"Sets the scroll top of the component's content.\",\n \"tags\": [{\n \"name\": \"param\",\n \"text\": \"top\"\n }, {\n \"name\": \"param\",\n \"text\": \"left\"\n }]\n }\n }\n };\n }\n static get elementRef() { return \"el\"; }\n static get watchers() {\n return [{\n \"propName\": \"active\",\n \"methodName\": \"activeHandler\"\n }, {\n \"propName\": \"open\",\n \"methodName\": \"toggleModal\"\n }];\n }\n static get listeners() {\n return [{\n \"name\": \"keydown\",\n \"method\": \"handleEscape\",\n \"target\": \"window\",\n \"capture\": false,\n \"passive\": false\n }];\n }\n}\n","/** @license\r\n * Copyright 2022 Esri\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n * http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n */\r\n\r\n/*\r\n | Helper functions to get required values from solutions templates\r\n*/\r\nimport {\r\n //EUpdateType,\r\n IInventoryItem,\r\n //IItemDetails,\r\n //IItemShare,\r\n IOrganizationVariableItem,\r\n //IResourcePath,\r\n //SolutionModels,\r\n //ISolutionSpatialReferenceInfo,\r\n IVariableItem\r\n} from '../utils/interfaces';\r\nimport {\r\n IItemTemplate\r\n} from '@esri/solution-common';\r\n\r\n//--------------------------------------------------------------------------\r\n//\r\n// Public Functions\r\n//\r\n//--------------------------------------------------------------------------\r\n\r\n/**\r\n * Sort the solution items\r\n *\r\n * @param templates a list of item templates from the solution\r\n *\r\n * @returns a sorted list of solution items\r\n */\r\nexport function getInventoryItems(\r\n templates: IItemTemplate[]\r\n): IInventoryItem[] {\r\n const hierarchy = getItemHierarchy(templates);\r\n const ids = hierarchy.reduce((prev, cur) => {\r\n prev.push(cur.id);\r\n return prev;\r\n }, []);\r\n return templates.reduce((prev, cur) => {\r\n if (ids.indexOf(cur.itemId) > -1) {\r\n const hierarchyItems = hierarchy.filter(hi => hi.id === cur.itemId);\r\n prev.push(_getItemFromTemplate(cur, templates, hierarchyItems[0].dependencies));\r\n }\r\n return prev;\r\n }, []);\r\n}\r\n\r\n/**\r\n * Create item hierarchy that will avoid issues from cylical dependencies\r\n *\r\n * @param templates a list of item templates from the solution\r\n *\r\n * @returns a hierarchy for item and item dependency display\r\n */\r\nexport function getItemHierarchy(\r\n templates: IItemTemplate[]\r\n): any[] {\r\n const hierarchy = [];\r\n\r\n // Get the template specified by id out of a list of templates\r\n function getTemplateInSolution(templates, id): any {\r\n const iTemplate = templates.findIndex((template) => id === template.itemId);\r\n return iTemplate >= 0 ? templates[iTemplate] : null;\r\n }\r\n\r\n // Hierarchically list the dependencies of specified node\r\n function traceItemId(id, accumulatedHierarchy, alreadyVisitedIds = []): void {\r\n // Get the dependencies of the node\r\n const template = getTemplateInSolution(templates, id);\r\n /* istanbul ignore else */\r\n if (template) {\r\n const templateEntry = {\r\n id,\r\n dependencies: []\r\n };\r\n\r\n // Visit each dependency, but only if this template is not in the alreadyVisitedIds list to avoid infinite loops\r\n /* istanbul ignore else */\r\n if (alreadyVisitedIds.indexOf(id) < 0) {\r\n // Add dependency to alreadyVisitedIds list\r\n alreadyVisitedIds.push(id);\r\n\r\n template.dependencies.forEach((dependencyId) => {\r\n // Remove dependency from list of templates to visit in the top-level loop\r\n const iDependencyTemplate = templateItemIds.indexOf(dependencyId);\r\n /* istanbul ignore else */\r\n if (iDependencyTemplate >= 0) {\r\n templateItemIds.splice(iDependencyTemplate, 1);\r\n }\r\n\r\n traceItemId(dependencyId, templateEntry.dependencies, alreadyVisitedIds);\r\n });\r\n }\r\n accumulatedHierarchy.push(templateEntry);\r\n }\r\n }\r\n\r\n // Start with top-level nodes and add in the rest of the nodes to catch cycles without top-level nodes\r\n let templateItemIds: string[] = _getTopLevelItemIds(templates);\r\n\r\n const otherItems = templates\r\n .filter((template) => templateItemIds.indexOf(template.itemId) < 0) // only keep non-top-level nodes\r\n .sort((a, b) => b.dependencies.length - a.dependencies.length); // sort so that nodes with more dependencies come first--reduces stubs\r\n\r\n templateItemIds = templateItemIds.concat(otherItems.map((template) => template.itemId));\r\n\r\n // Step through the list of nodes; we'll also remove nodes as we visit them\r\n let itemId = templateItemIds.shift();\r\n while (typeof itemId !== \"undefined\") {\r\n traceItemId(itemId, hierarchy);\r\n itemId = templateItemIds.shift();\r\n }\r\n\r\n return hierarchy;\r\n}\r\n\r\n/**\r\n * Explore the solution item templates for variables we will allow users to insert at runtime\r\n *\r\n * @param templates a list of item templates from the solution\r\n * @param translations nls translation object\r\n *\r\n * @returns a list of variables from the solution item templates\r\n */\r\nexport function getSolutionVariables(\r\n templates: any[],\r\n translations: any\r\n): IVariableItem[] {\r\n const vars: IVariableItem[] = [];\r\n templates.forEach(t => {\r\n const item = {\r\n id: t.itemId,\r\n title: t.item.title || t.item.name,\r\n type: t.type,\r\n value: undefined,\r\n dependencies: [{\r\n id: t.itemId,\r\n title: translations.itemId,\r\n value: `{{${t.itemId}.itemId}}`,\r\n }]\r\n };\r\n if (t.item.url) {\r\n item.dependencies.push({\r\n id: t.itemId,\r\n title: translations.url,\r\n value: `{{${t.itemId}.url}}`,\r\n });\r\n }\r\n if (t.type === \"Feature Service\") {\r\n // TODO need to set source service name var...\r\n // TODO need to set soure service shape field name \"{{d05b3cf1ffcb4a4fa677627dfb18609e.name}}.Shape\"\r\n item.dependencies.push({\r\n id: t.itemId,\r\n title: translations.solutionExtent,\r\n value: `{{${t.itemId}.solutionExtent}}`,\r\n })\r\n _addLayersOrTables(t.properties.layers || [], item, t, translations);\r\n _addLayersOrTables(t.properties.tables || [], item, t, translations);\r\n }\r\n vars.push(item);\r\n })\r\n\r\n return vars;\r\n}\r\n\r\n/**\r\n * Set key organization variables we will allow users to insert at runtime\r\n *\r\n * @param translations nls translation object\r\n *\r\n * @returns a list of variables for the organization\r\n */\r\nexport function getOrganizationVariables(\r\n translations: any\r\n): IOrganizationVariableItem[] {\r\n const orgVars: IOrganizationVariableItem[] = [{\r\n id: \"\",\r\n title: translations.geocodeUrl,\r\n value: \"{{organization.helperServices.geocode:getDefaultLocatorURL}}\"\r\n }, {\r\n id: \"\",\r\n title: translations.geometryUrl,\r\n value: \"{{organization.helperServices.geometry.url}}\"\r\n }, {\r\n id: \"\",\r\n title: translations.portalBaseUrl,\r\n value: \"{{portalBaseUrl}}\"\r\n }, {\r\n id: \"\",\r\n title: translations.routeUrl,\r\n value: \"{{organization.helperServices.route.url}}\"\r\n }, {\r\n id: \"\",\r\n title: translations.solutionItemExtent,\r\n value: \"{{solutionItemExtent}}\"\r\n }];\r\n return orgVars;\r\n}\r\n\r\n//--------------------------------------------------------------------------\r\n//\r\n// Private Functions\r\n//\r\n//--------------------------------------------------------------------------\r\n\r\n/**\r\n * Explore a solution item template for variables we will allow users to insert at runtime.\r\n * This function will update the item argument that is passed in with the var details.\r\n *\r\n * @param children a list of layers or tables from a template\r\n * @param item an object that store key details for a given variable\r\n * @param template one of the templates from the current solution\r\n * @param translations nls translations object\r\n *\r\n */\r\nfunction _addLayersOrTables(\r\n children: any[],\r\n item: any,\r\n template: any,\r\n translations: any\r\n): void {\r\n children.forEach(l => {\r\n const name = l.name && l.name.indexOf(\"||\") > -1 ? l.name.split(\"||\")[1].replace(\"}}\", \"\").trim() : l.name;\r\n\r\n item.dependencies.push({\r\n id: template.itemId,\r\n title: `${name} (${translations.id})`,\r\n value: `{{${template.itemId}.layer${l.id}.id}}`,\r\n });\r\n item.dependencies.push({\r\n id: template.itemId,\r\n title: `${name} (${translations.name})`,\r\n value: `{{${template.itemId}.layer${l.id}.name||${name}}}`,\r\n });\r\n });\r\n}\r\n\r\n/**\r\n * Capture key details from the solution item template\r\n *\r\n * @param template one of the templates from the current solution\r\n * @param templates full list of templates\r\n * @param dependencies list of hierarchical dependencies\r\n *\r\n * @returns an IInventoryItem that is used by other components to work with this template\r\n */\r\nfunction _getItemFromTemplate(\r\n template: any,\r\n templates: any[],\r\n dependencies: any[]\r\n): IInventoryItem {\r\n return {\r\n id: template.itemId || \"\",\r\n title: template.item.title || \"\",\r\n dependencies: _getDependencies(dependencies, templates),\r\n type: template.item.type || \"\",\r\n typeKeywords: template.item.typeKeywords || []/*,\r\n solutionItem: {\r\n itemId: template.itemId,\r\n itemDetails: _getItemDetails(template.item, template.type === \"Group\"),\r\n isResource: _getIsResource(template),\r\n data: template.data,\r\n properties: template.properties,\r\n type: template.type,\r\n groupDetails: _getGroupDetails(template, templates)\r\n }*/\r\n };\r\n}\r\n\r\n/**\r\n * Capture key details from the solution item template\r\n *\r\n * @param dependencies list of dependencies from a template\r\n * @param templates full list of templates\r\n *\r\n * @returns a list of IInventoryItem that are used by other components to work with the templates\r\n */\r\nfunction _getDependencies(\r\n dependencies: any[],\r\n templates: any[]\r\n): IInventoryItem[] {\r\n const dependencyItems = [];\r\n const depIds = dependencies.reduce((prev, cur) => {\r\n prev.push(cur.id)\r\n dependencyItems.push(cur)\r\n return prev;\r\n }, []);\r\n return templates.reduce((prev, curr) => {\r\n const i = depIds.indexOf(curr.itemId);\r\n if (i > -1) {\r\n prev.push(_getItemFromTemplate(curr, templates, dependencyItems[i].dependencies));\r\n }\r\n return prev;\r\n }, []);\r\n}\r\n\r\n/**\r\n * Capture the key item details for a given template\r\n *\r\n * @param item the templates item\r\n * @param isGroup boolean to indicate if the item is a group\r\n * @param itemId the item id of the template\r\n *\r\n * @returns a IItemDetails object for the current item\r\n */\r\n/*\r\nfunction _getItemDetails(\r\n item: any,\r\n isGroup: boolean\r\n): IItemDetails {\r\n return {\r\n title: item.title || \"\",\r\n snippet: item.snippet || \"\",\r\n description: item.description || \"\",\r\n tags: item.tags || [],\r\n accessInformation: !isGroup ? item.accessInformation || \"\" : \"\",\r\n licenseInfo: !isGroup ? item.licenseInfo || \"\" : \"\"\r\n };\r\n}\r\n*/\r\n\r\n/**\r\n * Capture the key item details for a given group template\r\n *\r\n * @param template one of the templates from the current solution\r\n * @param templates full list of templates\r\n *\r\n * @returns a list of IItemShare objects\r\n */\r\n/*\r\nfunction _getGroupDetails(\r\n template: any,\r\n templates: any[]\r\n): IItemShare[] {\r\n return template.type === \"Group\" ? templates.reduce((prev, cur) => {\r\n if (cur.itemId !== template.itemId && cur.type !== \"Group\") {\r\n prev.push({\r\n id: cur.itemId,\r\n title: cur.item.name || cur.item.title,\r\n isShared: (cur.groups || []).indexOf(template.itemId) > -1,\r\n shareItem: (cur.groups || []).indexOf(template.itemId) > -1,\r\n type: cur.type,\r\n typeKeywords: cur.item.typeKeywords\r\n });\r\n }\r\n return prev;\r\n }, []) : [];\r\n}\r\n*/\r\n\r\n/**\r\n * Used to understand if we are dealing with a binary object that will support upload/download\r\n *\r\n * @param template one of the templates from the current solution\r\n *\r\n * @returns true if this item supports upload/download\r\n */\r\n/*\r\nfunction _getIsResource(\r\n template: any\r\n): boolean {\r\n return template.type !== \"Group\" && template.resources.some(r => r.indexOf(\"_info_thumbnail\") < 0) &&\r\n (template.data === null || JSON.stringify(template.data) === \"{}\");\r\n}\r\n*/\r\n\r\n/**\r\n * Sort the template ids based on their dependencies\r\n *\r\n * @param templates full list of templates\r\n *\r\n * @returns a list of Itop level item ids\r\n */\r\nfunction _getTopLevelItemIds(templates: IItemTemplate[]): string[] {\r\n // Find the top-level nodes. Start with all nodes, then remove those that other nodes depend on\r\n const topLevelItemCandidateIds = templates.map((template) => template.itemId);\r\n templates.forEach((template) => {\r\n (template.dependencies || []).forEach((dependencyId) => {\r\n const iNode = topLevelItemCandidateIds.indexOf(dependencyId);\r\n if (iNode >= 0) {\r\n // Node is somebody's dependency, so remove the node from the list of top-level nodes\r\n // If iNode == -1, then it's a shared dependency and it has already been removed\r\n topLevelItemCandidateIds.splice(iNode, 1);\r\n }\r\n });\r\n });\r\n return topLevelItemCandidateIds;\r\n}\r\n","/* Copyright (c) 2017-2020 Environmental Systems Research Institute, Inc.\n * Apache-2.0 */\nexport function decodeParam(param) {\n var _a = param.split(\"=\"), key = _a[0], value = _a[1];\n return { key: decodeURIComponent(key), value: decodeURIComponent(value) };\n}\n/**\n * Decodes the passed query string as an object.\n *\n * @param query A string to be decoded.\n * @returns A decoded query param object.\n */\nexport function decodeQueryString(query) {\n return query\n .replace(/^#/, \"\")\n .split(\"&\")\n .reduce(function (acc, entry) {\n var _a = decodeParam(entry), key = _a.key, value = _a.value;\n acc[key] = value;\n return acc;\n }, {});\n}\n//# sourceMappingURL=decode-query-string.js.map","/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport function __createBinding(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n o[k2] = m[k];\r\n}\r\n\r\nexport function __exportStar(m, exports) {\r\n for (var p in m) if (p !== \"default\" && !exports.hasOwnProperty(p)) exports[p] = m[p];\r\n}\r\n\r\nexport function __values(o) {\r\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n if (m) return m.call(o);\r\n if (o && typeof o.length === \"number\") return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n};\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\r\n result.default = mod;\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, privateMap) {\r\n if (!privateMap.has(receiver)) {\r\n throw new TypeError(\"attempted to get private field on non-instance\");\r\n }\r\n return privateMap.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, privateMap, value) {\r\n if (!privateMap.has(receiver)) {\r\n throw new TypeError(\"attempted to set private field on non-instance\");\r\n }\r\n privateMap.set(receiver, value);\r\n return value;\r\n}\r\n","/* Copyright (c) 2017 Environmental Systems Research Institute, Inc.\n * Apache-2.0 */\nimport { request } from \"@esri/arcgis-rest-request\";\nexport function fetchToken(url, requestOptions) {\n var options = requestOptions;\n // we generate a response, so we can't return the raw response\n options.rawResponse = false;\n return request(url, options).then(function (response) {\n var r = {\n token: response.access_token,\n username: response.username,\n expires: new Date(\n // convert seconds in response to milliseconds and add the value to the current time to calculate a static expiration timestamp\n Date.now() + (response.expires_in * 1000 - 1000)),\n ssl: response.ssl === true\n };\n if (response.refresh_token) {\n r.refreshToken = response.refresh_token;\n }\n return r;\n });\n}\n//# sourceMappingURL=fetch-token.js.map","/* Copyright (c) 2017-2018 Environmental Systems Research Institute, Inc.\n * Apache-2.0 */\nimport { request, NODEJS_DEFAULT_REFERER_HEADER, } from \"@esri/arcgis-rest-request\";\nexport function generateToken(url, requestOptions) {\n var options = requestOptions;\n /* istanbul ignore else */\n if (typeof window !== \"undefined\" &&\n window.location &&\n window.location.host) {\n options.params.referer = window.location.host;\n }\n else {\n options.params.referer = NODEJS_DEFAULT_REFERER_HEADER;\n }\n return request(url, options);\n}\n//# sourceMappingURL=generate-token.js.map","import { cleanUrl } from \"@esri/arcgis-rest-request\";\n/**\n * Used to test if a URL is an ArcGIS Online URL\n */\nvar arcgisOnlineUrlRegex = /^https?:\\/\\/(\\S+)\\.arcgis\\.com.+/;\n/**\n * Used to test if a URL is production ArcGIS Online Portal\n */\nvar arcgisOnlinePortalRegex = /^https?:\\/\\/(dev|devext|qa|qaext|www)\\.arcgis\\.com\\/sharing\\/rest+/;\n/**\n * Used to test if a URL is an ArcGIS Online Organization Portal\n */\nvar arcgisOnlineOrgPortalRegex = /^https?:\\/\\/(?:[a-z0-9-]+\\.maps(dev|devext|qa|qaext)?)?.arcgis\\.com\\/sharing\\/rest/;\nexport function isOnline(url) {\n return arcgisOnlineUrlRegex.test(url);\n}\nexport function normalizeOnlinePortalUrl(portalUrl) {\n if (!arcgisOnlineUrlRegex.test(portalUrl)) {\n return portalUrl;\n }\n switch (getOnlineEnvironment(portalUrl)) {\n case \"dev\":\n return \"https://devext.arcgis.com/sharing/rest\";\n case \"qa\":\n return \"https://qaext.arcgis.com/sharing/rest\";\n default:\n return \"https://www.arcgis.com/sharing/rest\";\n }\n}\nexport function getOnlineEnvironment(url) {\n if (!arcgisOnlineUrlRegex.test(url)) {\n return null;\n }\n var match = url.match(arcgisOnlineUrlRegex);\n var subdomain = match[1].split(\".\").pop();\n if (subdomain.includes(\"dev\")) {\n return \"dev\";\n }\n if (subdomain.includes(\"qa\")) {\n return \"qa\";\n }\n return \"production\";\n}\nexport function isFederated(owningSystemUrl, portalUrl) {\n var normalizedPortalUrl = cleanUrl(normalizeOnlinePortalUrl(portalUrl)).replace(/https?:\\/\\//, \"\");\n var normalizedOwningSystemUrl = cleanUrl(owningSystemUrl).replace(/https?:\\/\\//, \"\");\n return new RegExp(normalizedOwningSystemUrl, \"i\").test(normalizedPortalUrl);\n}\nexport function canUseOnlineToken(portalUrl, requestUrl) {\n var portalIsOnline = isOnline(portalUrl);\n var requestIsOnline = isOnline(requestUrl);\n var portalEnv = getOnlineEnvironment(portalUrl);\n var requestEnv = getOnlineEnvironment(requestUrl);\n if (portalIsOnline && requestIsOnline && portalEnv === requestEnv) {\n return true;\n }\n return false;\n}\n//# sourceMappingURL=federation-utils.js.map","/* Copyright (c) 2018-2020 Environmental Systems Research Institute, Inc.\n * Apache-2.0 */\nimport { request } from \"@esri/arcgis-rest-request\";\n/**\n * Validates that the user has access to the application\n * and if they user should be presented a \"View Only\" mode\n *\n * This is only needed/valid for Esri applications that are \"licensed\"\n * and shipped in ArcGIS Online or ArcGIS Enterprise. Most custom applications\n * should not need or use this.\n *\n * ```js\n * import { validateAppAccess } from '@esri/arcgis-rest-auth';\n *\n * return validateAppAccess('your-token', 'theClientId')\n * .then((result) => {\n * if (!result.value) {\n * // redirect or show some other ui\n * } else {\n * if (result.viewOnlyUserTypeApp) {\n * // use this to inform your app to show a \"View Only\" mode\n * }\n * }\n * })\n * .catch((err) => {\n * // two possible errors\n * // invalid clientId: {\"error\":{\"code\":400,\"messageCode\":\"GWM_0007\",\"message\":\"Invalid request\",\"details\":[]}}\n * // invalid token: {\"error\":{\"code\":498,\"message\":\"Invalid token.\",\"details\":[]}}\n * })\n * ```\n *\n * Note: This is only usable by Esri applications hosted on *arcgis.com, *esri.com or within\n * an ArcGIS Enterprise installation. Custom applications can not use this.\n *\n * @param token platform token\n * @param clientId application client id\n * @param portal Optional\n */\nexport function validateAppAccess(token, clientId, portal) {\n if (portal === void 0) { portal = \"https://www.arcgis.com/sharing/rest\"; }\n var url = portal + \"/oauth2/validateAppAccess\";\n var ro = {\n method: \"POST\",\n params: {\n f: \"json\",\n client_id: clientId,\n token: token,\n },\n };\n return request(url, ro);\n}\n//# sourceMappingURL=validate-app-access.js.map","/* Copyright (c) 2017-2019 Environmental Systems Research Institute, Inc.\n * Apache-2.0 */\nimport { __assign } from \"tslib\";\nimport { request, ArcGISAuthError, cleanUrl, encodeQueryString, decodeQueryString, } from \"@esri/arcgis-rest-request\";\nimport { generateToken } from \"./generate-token\";\nimport { fetchToken } from \"./fetch-token\";\nimport { canUseOnlineToken, isFederated } from \"./federation-utils\";\nimport { validateAppAccess } from \"./validate-app-access\";\nfunction defer() {\n var deferred = {\n promise: null,\n resolve: null,\n reject: null,\n };\n deferred.promise = new Promise(function (resolve, reject) {\n deferred.resolve = resolve;\n deferred.reject = reject;\n });\n return deferred;\n}\n/**\n * ```js\n * import { UserSession } from '@esri/arcgis-rest-auth';\n * UserSession.beginOAuth2({\n * // register an app of your own to create a unique clientId\n * clientId: \"abc123\",\n * redirectUri: 'https://yourapp.com/authenticate.html'\n * })\n * .then(session)\n * // or\n * new UserSession({\n * username: \"jsmith\",\n * password: \"123456\"\n * })\n * // or\n * UserSession.deserialize(cache)\n * ```\n * Used to authenticate both ArcGIS Online and ArcGIS Enterprise users. `UserSession` includes helper methods for [OAuth 2.0](/arcgis-rest-js/guides/browser-authentication/) in both browser and server applications.\n */\nvar UserSession = /** @class */ (function () {\n function UserSession(options) {\n this.clientId = options.clientId;\n this._refreshToken = options.refreshToken;\n this._refreshTokenExpires = options.refreshTokenExpires;\n this.username = options.username;\n this.password = options.password;\n this._token = options.token;\n this._tokenExpires = options.tokenExpires;\n this.portal = options.portal\n ? cleanUrl(options.portal)\n : \"https://www.arcgis.com/sharing/rest\";\n this.ssl = options.ssl;\n this.provider = options.provider || \"arcgis\";\n this.tokenDuration = options.tokenDuration || 20160;\n this.redirectUri = options.redirectUri;\n this.refreshTokenTTL = options.refreshTokenTTL || 20160;\n this.server = options.server;\n this.federatedServers = {};\n this.trustedDomains = [];\n // if a non-federated server was passed explicitly, it should be trusted.\n if (options.server) {\n // if the url includes more than '/arcgis/', trim the rest\n var root = this.getServerRootUrl(options.server);\n this.federatedServers[root] = {\n token: options.token,\n expires: options.tokenExpires,\n };\n }\n this._pendingTokenRequests = {};\n }\n Object.defineProperty(UserSession.prototype, \"token\", {\n /**\n * The current ArcGIS Online or ArcGIS Enterprise `token`.\n */\n get: function () {\n return this._token;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(UserSession.prototype, \"tokenExpires\", {\n /**\n * The expiration time of the current `token`.\n */\n get: function () {\n return this._tokenExpires;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(UserSession.prototype, \"refreshToken\", {\n /**\n * The current token to ArcGIS Online or ArcGIS Enterprise.\n */\n get: function () {\n return this._refreshToken;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(UserSession.prototype, \"refreshTokenExpires\", {\n /**\n * The expiration time of the current `refreshToken`.\n */\n get: function () {\n return this._refreshTokenExpires;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(UserSession.prototype, \"trustedServers\", {\n /**\n * Deprecated, use `federatedServers` instead.\n *\n * @deprecated\n */\n get: function () {\n console.log(\"DEPRECATED: use federatedServers instead\");\n return this.federatedServers;\n },\n enumerable: false,\n configurable: true\n });\n /**\n * Begins a new browser-based OAuth 2.0 sign in. If `options.popup` is `true` the\n * authentication window will open in a new tab/window and the function will return\n * Promise&lt;UserSession&gt;. Otherwise, the user will be redirected to the\n * authorization page in their current tab/window and the function will return `undefined`.\n *\n * @browserOnly\n */\n /* istanbul ignore next */\n UserSession.beginOAuth2 = function (options, win) {\n if (win === void 0) { win = window; }\n if (options.duration) {\n console.log(\"DEPRECATED: 'duration' is deprecated - use 'expiration' instead\");\n }\n var _a = __assign({\n portal: \"https://www.arcgis.com/sharing/rest\",\n provider: \"arcgis\",\n expiration: 20160,\n popup: true,\n popupWindowFeatures: \"height=400,width=600,menubar=no,location=yes,resizable=yes,scrollbars=yes,status=yes\",\n state: options.clientId,\n locale: \"\",\n }, options), portal = _a.portal, provider = _a.provider, clientId = _a.clientId, expiration = _a.expiration, redirectUri = _a.redirectUri, popup = _a.popup, popupWindowFeatures = _a.popupWindowFeatures, state = _a.state, locale = _a.locale, params = _a.params;\n var url;\n if (provider === \"arcgis\") {\n url = portal + \"/oauth2/authorize?client_id=\" + clientId + \"&response_type=token&expiration=\" + (options.duration || expiration) + \"&redirect_uri=\" + encodeURIComponent(redirectUri) + \"&state=\" + state + \"&locale=\" + locale;\n }\n else {\n url = portal + \"/oauth2/social/authorize?client_id=\" + clientId + \"&socialLoginProviderName=\" + provider + \"&autoAccountCreateForSocial=true&response_type=token&expiration=\" + (options.duration || expiration) + \"&redirect_uri=\" + encodeURIComponent(redirectUri) + \"&state=\" + state + \"&locale=\" + locale;\n }\n // append additional params\n if (params) {\n url = url + \"&\" + encodeQueryString(params);\n }\n if (!popup) {\n win.location.href = url;\n return undefined;\n }\n var session = defer();\n win[\"__ESRI_REST_AUTH_HANDLER_\" + clientId] = function (errorString, oauthInfoString) {\n if (errorString) {\n var error = JSON.parse(errorString);\n session.reject(new ArcGISAuthError(error.errorMessage, error.error));\n return;\n }\n if (oauthInfoString) {\n var oauthInfo = JSON.parse(oauthInfoString);\n session.resolve(new UserSession({\n clientId: clientId,\n portal: portal,\n ssl: oauthInfo.ssl,\n token: oauthInfo.token,\n tokenExpires: new Date(oauthInfo.expires),\n username: oauthInfo.username,\n }));\n }\n };\n win.open(url, \"oauth-window\", popupWindowFeatures);\n return session.promise;\n };\n /**\n * Completes a browser-based OAuth 2.0 sign in. If `options.popup` is `true` the user\n * will be returned to the previous window. Otherwise a new `UserSession`\n * will be returned. You must pass the same values for `options.popup` and\n * `options.portal` as you used in `beginOAuth2()`.\n *\n * @browserOnly\n */\n /* istanbul ignore next */\n UserSession.completeOAuth2 = function (options, win) {\n if (win === void 0) { win = window; }\n var _a = __assign({ portal: \"https://www.arcgis.com/sharing/rest\", popup: true }, options), portal = _a.portal, clientId = _a.clientId, popup = _a.popup;\n function completeSignIn(error, oauthInfo) {\n try {\n var handlerFn = void 0;\n var handlerFnName = \"__ESRI_REST_AUTH_HANDLER_\" + clientId;\n if (popup) {\n // Guard b/c IE does not support window.opener\n if (win.opener) {\n if (win.opener.parent && win.opener.parent[handlerFnName]) {\n handlerFn = win.opener.parent[handlerFnName];\n }\n else if (win.opener && win.opener[handlerFnName]) {\n // support pop-out oauth from within an iframe\n handlerFn = win.opener[handlerFnName];\n }\n }\n else {\n // IE\n if (win !== win.parent && win.parent && win.parent[handlerFnName]) {\n handlerFn = win.parent[handlerFnName];\n }\n }\n // if we have a handler fn, call it and close the window\n if (handlerFn) {\n handlerFn(error ? JSON.stringify(error) : undefined, JSON.stringify(oauthInfo));\n win.close();\n return undefined;\n }\n }\n }\n catch (e) {\n throw new ArcGISAuthError(\"Unable to complete authentication. It's possible you specified popup based oAuth2 but no handler from \\\"beginOAuth2()\\\" present. This generally happens because the \\\"popup\\\" option differs between \\\"beginOAuth2()\\\" and \\\"completeOAuth2()\\\".\");\n }\n if (error) {\n throw new ArcGISAuthError(error.errorMessage, error.error);\n }\n return new UserSession({\n clientId: clientId,\n portal: portal,\n ssl: oauthInfo.ssl,\n token: oauthInfo.token,\n tokenExpires: oauthInfo.expires,\n username: oauthInfo.username,\n });\n }\n var params = decodeQueryString(win.location.hash);\n if (!params.access_token) {\n var error = void 0;\n var errorMessage = \"Unknown error\";\n if (params.error) {\n error = params.error;\n errorMessage = params.error_description;\n }\n return completeSignIn({ error: error, errorMessage: errorMessage });\n }\n var token = params.access_token;\n var expires = new Date(Date.now() + parseInt(params.expires_in, 10) * 1000 - 60 * 1000);\n var username = params.username;\n var ssl = params.ssl === \"true\";\n return completeSignIn(undefined, {\n token: token,\n expires: expires,\n ssl: ssl,\n username: username,\n });\n };\n /**\n * Request session information from the parent application\n *\n * When an application is embedded into another application via an IFrame, the embedded app can\n * use `window.postMessage` to request credentials from the host application. This function wraps\n * that behavior.\n *\n * The ArcGIS API for Javascript has this built into the Identity Manager as of the 4.19 release.\n *\n * Note: The parent application will not respond if the embedded app's origin is not:\n * - the same origin as the parent or *.arcgis.com (JSAPI)\n * - in the list of valid child origins (REST-JS)\n *\n *\n * @param parentOrigin origin of the parent frame. Passed into the embedded application as `parentOrigin` query param\n * @browserOnly\n */\n UserSession.fromParent = function (parentOrigin, win) {\n /* istanbul ignore next: must pass in a mockwindow for tests so we can't cover the other branch */\n if (!win && window) {\n win = window;\n }\n // Declare handler outside of promise scope so we can detach it\n var handler;\n // return a promise that will resolve when the handler receives\n // session information from the correct origin\n return new Promise(function (resolve, reject) {\n // create an event handler that just wraps the parentMessageHandler\n handler = function (event) {\n // ensure we only listen to events from the parent\n if (event.source === win.parent && event.data) {\n try {\n return resolve(UserSession.parentMessageHandler(event));\n }\n catch (err) {\n return reject(err);\n }\n }\n };\n // add listener\n win.addEventListener(\"message\", handler, false);\n win.parent.postMessage({ type: \"arcgis:auth:requestCredential\" }, parentOrigin);\n }).then(function (session) {\n win.removeEventListener(\"message\", handler, false);\n return session;\n });\n };\n /**\n * Begins a new server-based OAuth 2.0 sign in. This will redirect the user to\n * the ArcGIS Online or ArcGIS Enterprise authorization page.\n *\n * @nodeOnly\n */\n UserSession.authorize = function (options, response) {\n if (options.duration) {\n console.log(\"DEPRECATED: 'duration' is deprecated - use 'expiration' instead\");\n }\n var _a = __assign({ portal: \"https://arcgis.com/sharing/rest\", expiration: 20160 }, options), portal = _a.portal, clientId = _a.clientId, expiration = _a.expiration, redirectUri = _a.redirectUri;\n response.writeHead(301, {\n Location: portal + \"/oauth2/authorize?client_id=\" + clientId + \"&expiration=\" + (options.duration || expiration) + \"&response_type=code&redirect_uri=\" + encodeURIComponent(redirectUri),\n });\n response.end();\n };\n /**\n * Completes the server-based OAuth 2.0 sign in process by exchanging the `authorizationCode`\n * for a `access_token`.\n *\n * @nodeOnly\n */\n UserSession.exchangeAuthorizationCode = function (options, authorizationCode) {\n var _a = __assign({\n portal: \"https://www.arcgis.com/sharing/rest\",\n refreshTokenTTL: 20160,\n }, options), portal = _a.portal, clientId = _a.clientId, redirectUri = _a.redirectUri, refreshTokenTTL = _a.refreshTokenTTL;\n return fetchToken(portal + \"/oauth2/token\", {\n params: {\n grant_type: \"authorization_code\",\n client_id: clientId,\n redirect_uri: redirectUri,\n code: authorizationCode,\n },\n }).then(function (response) {\n return new UserSession({\n clientId: clientId,\n portal: portal,\n ssl: response.ssl,\n redirectUri: redirectUri,\n refreshToken: response.refreshToken,\n refreshTokenTTL: refreshTokenTTL,\n refreshTokenExpires: new Date(Date.now() + (refreshTokenTTL - 1) * 60 * 1000),\n token: response.token,\n tokenExpires: response.expires,\n username: response.username,\n });\n });\n };\n UserSession.deserialize = function (str) {\n var options = JSON.parse(str);\n return new UserSession({\n clientId: options.clientId,\n refreshToken: options.refreshToken,\n refreshTokenExpires: new Date(options.refreshTokenExpires),\n username: options.username,\n password: options.password,\n token: options.token,\n tokenExpires: new Date(options.tokenExpires),\n portal: options.portal,\n ssl: options.ssl,\n tokenDuration: options.tokenDuration,\n redirectUri: options.redirectUri,\n refreshTokenTTL: options.refreshTokenTTL,\n });\n };\n /**\n * Translates authentication from the format used in the [ArcGIS API for JavaScript](https://developers.arcgis.com/javascript/).\n *\n * ```js\n * UserSession.fromCredential({\n * userId: \"jsmith\",\n * token: \"secret\"\n * });\n * ```\n *\n * @returns UserSession\n */\n UserSession.fromCredential = function (credential) {\n // At ArcGIS Online 9.1, credentials no longer include the ssl and expires properties\n // Here, we provide default values for them to cover this condition\n var ssl = typeof credential.ssl !== \"undefined\" ? credential.ssl : true;\n var expires = credential.expires || Date.now() + 7200000; /* 2 hours */\n return new UserSession({\n portal: credential.server.includes(\"sharing/rest\")\n ? credential.server\n : credential.server + \"/sharing/rest\",\n ssl: ssl,\n token: credential.token,\n username: credential.userId,\n tokenExpires: new Date(expires),\n });\n };\n /**\n * Handle the response from the parent\n * @param event DOM Event\n */\n UserSession.parentMessageHandler = function (event) {\n if (event.data.type === \"arcgis:auth:credential\") {\n return UserSession.fromCredential(event.data.credential);\n }\n if (event.data.type === \"arcgis:auth:error\") {\n var err = new Error(event.data.error.message);\n err.name = event.data.error.name;\n throw err;\n }\n else {\n throw new Error(\"Unknown message type.\");\n }\n };\n /**\n * Returns authentication in a format useable in the [ArcGIS API for JavaScript](https://developers.arcgis.com/javascript/).\n *\n * ```js\n * esriId.registerToken(session.toCredential());\n * ```\n *\n * @returns ICredential\n */\n UserSession.prototype.toCredential = function () {\n return {\n expires: this.tokenExpires.getTime(),\n server: this.portal,\n ssl: this.ssl,\n token: this.token,\n userId: this.username,\n };\n };\n /**\n * Returns information about the currently logged in [user](https://developers.arcgis.com/rest/users-groups-and-items/user.htm). Subsequent calls will *not* result in additional web traffic.\n *\n * ```js\n * session.getUser()\n * .then(response => {\n * console.log(response.role); // \"org_admin\"\n * })\n * ```\n *\n * @param requestOptions - Options for the request. NOTE: `rawResponse` is not supported by this operation.\n * @returns A Promise that will resolve with the data from the response.\n */\n UserSession.prototype.getUser = function (requestOptions) {\n var _this = this;\n if (this._pendingUserRequest) {\n return this._pendingUserRequest;\n }\n else if (this._user) {\n return Promise.resolve(this._user);\n }\n else {\n var url = this.portal + \"/community/self\";\n var options = __assign(__assign({ httpMethod: \"GET\", authentication: this }, requestOptions), { rawResponse: false });\n this._pendingUserRequest = request(url, options).then(function (response) {\n _this._user = response;\n _this._pendingUserRequest = null;\n return response;\n });\n return this._pendingUserRequest;\n }\n };\n /**\n * Returns information about the currently logged in user's [portal](https://developers.arcgis.com/rest/users-groups-and-items/portal-self.htm). Subsequent calls will *not* result in additional web traffic.\n *\n * ```js\n * session.getPortal()\n * .then(response => {\n * console.log(portal.name); // \"City of ...\"\n * })\n * ```\n *\n * @param requestOptions - Options for the request. NOTE: `rawResponse` is not supported by this operation.\n * @returns A Promise that will resolve with the data from the response.\n */\n UserSession.prototype.getPortal = function (requestOptions) {\n var _this = this;\n if (this._pendingPortalRequest) {\n return this._pendingPortalRequest;\n }\n else if (this._portalInfo) {\n return Promise.resolve(this._portalInfo);\n }\n else {\n var url = this.portal + \"/portals/self\";\n var options = __assign(__assign({ httpMethod: \"GET\", authentication: this }, requestOptions), { rawResponse: false });\n this._pendingPortalRequest = request(url, options).then(function (response) {\n _this._portalInfo = response;\n _this._pendingPortalRequest = null;\n return response;\n });\n return this._pendingPortalRequest;\n }\n };\n /**\n * Returns the username for the currently logged in [user](https://developers.arcgis.com/rest/users-groups-and-items/user.htm). Subsequent calls will *not* result in additional web traffic. This is also used internally when a username is required for some requests but is not present in the options.\n *\n * * ```js\n * session.getUsername()\n * .then(response => {\n * console.log(response); // \"casey_jones\"\n * })\n * ```\n */\n UserSession.prototype.getUsername = function () {\n if (this.username) {\n return Promise.resolve(this.username);\n }\n else if (this._user) {\n return Promise.resolve(this._user.username);\n }\n else {\n return this.getUser().then(function (user) {\n return user.username;\n });\n }\n };\n /**\n * Gets an appropriate token for the given URL. If `portal` is ArcGIS Online and\n * the request is to an ArcGIS Online domain `token` will be used. If the request\n * is to the current `portal` the current `token` will also be used. However if\n * the request is to an unknown server we will validate the server with a request\n * to our current `portal`.\n */\n UserSession.prototype.getToken = function (url, requestOptions) {\n if (canUseOnlineToken(this.portal, url)) {\n return this.getFreshToken(requestOptions);\n }\n else if (new RegExp(this.portal, \"i\").test(url)) {\n return this.getFreshToken(requestOptions);\n }\n else {\n return this.getTokenForServer(url, requestOptions);\n }\n };\n /**\n * Get application access information for the current user\n * see `validateAppAccess` function for details\n *\n * @param clientId application client id\n */\n UserSession.prototype.validateAppAccess = function (clientId) {\n return this.getToken(this.portal).then(function (token) {\n return validateAppAccess(token, clientId);\n });\n };\n UserSession.prototype.toJSON = function () {\n return {\n clientId: this.clientId,\n refreshToken: this.refreshToken,\n refreshTokenExpires: this.refreshTokenExpires,\n username: this.username,\n password: this.password,\n token: this.token,\n tokenExpires: this.tokenExpires,\n portal: this.portal,\n ssl: this.ssl,\n tokenDuration: this.tokenDuration,\n redirectUri: this.redirectUri,\n refreshTokenTTL: this.refreshTokenTTL,\n };\n };\n UserSession.prototype.serialize = function () {\n return JSON.stringify(this);\n };\n /**\n * For a \"Host\" app that embeds other platform apps via iframes, after authenticating the user\n * and creating a UserSession, the app can then enable \"post message\" style authentication by calling\n * this method.\n *\n * Internally this adds an event listener on window for the `message` event\n *\n * @param validChildOrigins Array of origins that are allowed to request authentication from the host app\n */\n UserSession.prototype.enablePostMessageAuth = function (validChildOrigins, win) {\n /* istanbul ignore next: must pass in a mockwindow for tests so we can't cover the other branch */\n if (!win && window) {\n win = window;\n }\n this._hostHandler = this.createPostMessageHandler(validChildOrigins);\n win.addEventListener(\"message\", this._hostHandler, false);\n };\n /**\n * For a \"Host\" app that has embedded other platform apps via iframes, when the host needs\n * to transition routes, it should call `UserSession.disablePostMessageAuth()` to remove\n * the event listener and prevent memory leaks\n */\n UserSession.prototype.disablePostMessageAuth = function (win) {\n /* istanbul ignore next: must pass in a mockwindow for tests so we can't cover the other branch */\n if (!win && window) {\n win = window;\n }\n win.removeEventListener(\"message\", this._hostHandler, false);\n };\n /**\n * Manually refreshes the current `token` and `tokenExpires`.\n */\n UserSession.prototype.refreshSession = function (requestOptions) {\n // make sure subsequent calls to getUser() don't returned cached metadata\n this._user = null;\n if (this.username && this.password) {\n return this.refreshWithUsernameAndPassword(requestOptions);\n }\n if (this.clientId && this.refreshToken) {\n return this.refreshWithRefreshToken();\n }\n return Promise.reject(new ArcGISAuthError(\"Unable to refresh token.\"));\n };\n /**\n * Determines the root of the ArcGIS Server or Portal for a given URL.\n *\n * @param url the URl to determine the root url for.\n */\n UserSession.prototype.getServerRootUrl = function (url) {\n var root = cleanUrl(url).split(/\\/rest(\\/admin)?\\/services(?:\\/|#|\\?|$)/)[0];\n var _a = root.match(/(https?:\\/\\/)(.+)/), match = _a[0], protocol = _a[1], domainAndPath = _a[2];\n var _b = domainAndPath.split(\"/\"), domain = _b[0], path = _b.slice(1);\n // only the domain is lowercased because in some cases an org id might be\n // in the path which cannot be lowercased.\n return \"\" + protocol + domain.toLowerCase() + \"/\" + path.join(\"/\");\n };\n /**\n * Returns the proper [`credentials`] option for `fetch` for a given domain.\n * See [trusted server](https://enterprise.arcgis.com/en/portal/latest/administer/windows/configure-security.htm#ESRI_SECTION1_70CC159B3540440AB325BE5D89DBE94A).\n * Used internally by underlying request methods to add support for specific security considerations.\n *\n * @param url The url of the request\n * @returns \"include\" or \"same-origin\"\n */\n UserSession.prototype.getDomainCredentials = function (url) {\n if (!this.trustedDomains || !this.trustedDomains.length) {\n return \"same-origin\";\n }\n return this.trustedDomains.some(function (domainWithProtocol) {\n return url.startsWith(domainWithProtocol);\n })\n ? \"include\"\n : \"same-origin\";\n };\n /**\n * Return a function that closes over the validOrigins array and\n * can be used as an event handler for the `message` event\n *\n * @param validOrigins Array of valid origins\n */\n UserSession.prototype.createPostMessageHandler = function (validOrigins) {\n var _this = this;\n // return a function that closes over the validOrigins and\n // has access to the credential\n return function (event) {\n // Verify that the origin is valid\n // Note: do not use regex's here. validOrigins is an array so we're checking that the event's origin\n // is in the array via exact match. More info about avoiding postMessage xss issues here\n // https://jlajara.gitlab.io/web/2020/07/17/Dom_XSS_PostMessage_2.html#tipsbypasses-in-postmessage-vulnerabilities\n var isValidOrigin = validOrigins.indexOf(event.origin) > -1;\n // JSAPI handles this slightly differently - instead of checking a list, it will respond if\n // event.origin === window.location.origin || event.origin.endsWith('.arcgis.com')\n // For Hub, and to enable cross domain debugging with port's in urls, we are opting to\n // use a list of valid origins\n // Ensure the message type is something we want to handle\n var isValidType = event.data.type === \"arcgis:auth:requestCredential\";\n var isTokenValid = _this.tokenExpires.getTime() > Date.now();\n if (isValidOrigin && isValidType) {\n var msg = {};\n if (isTokenValid) {\n var credential = _this.toCredential();\n // arcgis:auth:error with {name: \"\", message: \"\"}\n // the following line allows us to conform to our spec without changing other depended-on functionality\n // https://github.com/Esri/arcgis-rest-js/blob/master/packages/arcgis-rest-auth/post-message-auth-spec.md#arcgisauthcredential\n credential.server = credential.server.replace(\"/sharing/rest\", \"\");\n msg = { type: \"arcgis:auth:credential\", credential: credential };\n }\n else {\n // Return an error\n msg = {\n type: \"arcgis:auth:error\",\n error: {\n name: \"tokenExpiredError\",\n message: \"Session token was expired, and not returned to the child application\",\n },\n };\n }\n event.source.postMessage(msg, event.origin);\n }\n };\n };\n /**\n * Validates that a given URL is properly federated with our current `portal`.\n * Attempts to use the internal `federatedServers` cache first.\n */\n UserSession.prototype.getTokenForServer = function (url, requestOptions) {\n var _this = this;\n // requests to /rest/services/ and /rest/admin/services/ are both valid\n // Federated servers may have inconsistent casing, so lowerCase it\n var root = this.getServerRootUrl(url);\n var existingToken = this.federatedServers[root];\n if (existingToken &&\n existingToken.expires &&\n existingToken.expires.getTime() > Date.now()) {\n return Promise.resolve(existingToken.token);\n }\n if (this._pendingTokenRequests[root]) {\n return this._pendingTokenRequests[root];\n }\n this._pendingTokenRequests[root] = this.fetchAuthorizedDomains().then(function () {\n return request(root + \"/rest/info\", {\n credentials: _this.getDomainCredentials(url),\n })\n .then(function (response) {\n if (response.owningSystemUrl) {\n /**\n * if this server is not owned by this portal\n * bail out with an error since we know we wont\n * be able to generate a token\n */\n if (!isFederated(response.owningSystemUrl, _this.portal)) {\n throw new ArcGISAuthError(url + \" is not federated with \" + _this.portal + \".\", \"NOT_FEDERATED\");\n }\n else {\n /**\n * if the server is federated, use the relevant token endpoint.\n */\n return request(response.owningSystemUrl + \"/sharing/rest/info\", requestOptions);\n }\n }\n else if (response.authInfo &&\n _this.federatedServers[root] !== undefined) {\n /**\n * if its a stand-alone instance of ArcGIS Server that doesn't advertise\n * federation, but the root server url is recognized, use its built in token endpoint.\n */\n return Promise.resolve({\n authInfo: response.authInfo,\n });\n }\n else {\n throw new ArcGISAuthError(url + \" is not federated with any portal and is not explicitly trusted.\", \"NOT_FEDERATED\");\n }\n })\n .then(function (response) {\n return response.authInfo.tokenServicesUrl;\n })\n .then(function (tokenServicesUrl) {\n // an expired token cant be used to generate a new token\n if (_this.token && _this.tokenExpires.getTime() > Date.now()) {\n return generateToken(tokenServicesUrl, {\n params: {\n token: _this.token,\n serverUrl: url,\n expiration: _this.tokenDuration,\n client: \"referer\",\n },\n });\n // generate an entirely fresh token if necessary\n }\n else {\n return generateToken(tokenServicesUrl, {\n params: {\n username: _this.username,\n password: _this.password,\n expiration: _this.tokenDuration,\n client: \"referer\",\n },\n }).then(function (response) {\n _this._token = response.token;\n _this._tokenExpires = new Date(response.expires);\n return response;\n });\n }\n })\n .then(function (response) {\n _this.federatedServers[root] = {\n expires: new Date(response.expires),\n token: response.token,\n };\n delete _this._pendingTokenRequests[root];\n return response.token;\n });\n });\n return this._pendingTokenRequests[root];\n };\n /**\n * Returns an unexpired token for the current `portal`.\n */\n UserSession.prototype.getFreshToken = function (requestOptions) {\n var _this = this;\n if (this.token && !this.tokenExpires) {\n return Promise.resolve(this.token);\n }\n if (this.token &&\n this.tokenExpires &&\n this.tokenExpires.getTime() > Date.now()) {\n return Promise.resolve(this.token);\n }\n if (!this._pendingTokenRequests[this.portal]) {\n this._pendingTokenRequests[this.portal] = this.refreshSession(requestOptions).then(function (session) {\n _this._pendingTokenRequests[_this.portal] = null;\n return session.token;\n });\n }\n return this._pendingTokenRequests[this.portal];\n };\n /**\n * Refreshes the current `token` and `tokenExpires` with `username` and\n * `password`.\n */\n UserSession.prototype.refreshWithUsernameAndPassword = function (requestOptions) {\n var _this = this;\n var options = __assign({ params: {\n username: this.username,\n password: this.password,\n expiration: this.tokenDuration,\n } }, requestOptions);\n return generateToken(this.portal + \"/generateToken\", options).then(function (response) {\n _this._token = response.token;\n _this._tokenExpires = new Date(response.expires);\n return _this;\n });\n };\n /**\n * Refreshes the current `token` and `tokenExpires` with `refreshToken`.\n */\n UserSession.prototype.refreshWithRefreshToken = function (requestOptions) {\n var _this = this;\n if (this.refreshToken &&\n this.refreshTokenExpires &&\n this.refreshTokenExpires.getTime() < Date.now()) {\n return this.refreshRefreshToken(requestOptions);\n }\n var options = __assign({ params: {\n client_id: this.clientId,\n refresh_token: this.refreshToken,\n grant_type: \"refresh_token\",\n } }, requestOptions);\n return fetchToken(this.portal + \"/oauth2/token\", options).then(function (response) {\n _this._token = response.token;\n _this._tokenExpires = response.expires;\n return _this;\n });\n };\n /**\n * Exchanges an unexpired `refreshToken` for a new one, also updates `token` and\n * `tokenExpires`.\n */\n UserSession.prototype.refreshRefreshToken = function (requestOptions) {\n var _this = this;\n var options = __assign({ params: {\n client_id: this.clientId,\n refresh_token: this.refreshToken,\n redirect_uri: this.redirectUri,\n grant_type: \"exchange_refresh_token\",\n } }, requestOptions);\n return fetchToken(this.portal + \"/oauth2/token\", options).then(function (response) {\n _this._token = response.token;\n _this._tokenExpires = response.expires;\n _this._refreshToken = response.refreshToken;\n _this._refreshTokenExpires = new Date(Date.now() + (_this.refreshTokenTTL - 1) * 60 * 1000);\n return _this;\n });\n };\n /**\n * ensures that the authorizedCrossOriginDomains are obtained from the portal and cached\n * so we can check them later.\n *\n * @returns this\n */\n UserSession.prototype.fetchAuthorizedDomains = function () {\n var _this = this;\n // if this token is for a specific server or we don't have a portal\n // don't get the portal info because we cant get the authorizedCrossOriginDomains\n if (this.server || !this.portal) {\n return Promise.resolve(this);\n }\n return this.getPortal().then(function (portalInfo) {\n /**\n * Specific domains can be configured as secure.esri.com or https://secure.esri.com this\n * normalizes to https://secure.esri.com so we can use startsWith later.\n */\n if (portalInfo.authorizedCrossOriginDomains &&\n portalInfo.authorizedCrossOriginDomains.length) {\n _this.trustedDomains = portalInfo.authorizedCrossOriginDomains\n .filter(function (d) { return !d.startsWith(\"http://\"); })\n .map(function (d) {\n if (d.startsWith(\"https://\")) {\n return d;\n }\n else {\n return \"https://\" + d;\n }\n });\n }\n return _this;\n });\n };\n return UserSession;\n}());\nexport { UserSession };\n//# sourceMappingURL=UserSession.js.map","/** @license\r\n * Copyright 2022 Esri\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n * http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n */\r\n\r\n.configuration-container {\r\n @apply w-full\r\n h-full\r\n relative;\r\n}\r\n\r\n.configuration {\r\n @apply absolute\r\n top-0\r\n right-0\r\n bottom-0\r\n left-0\r\n flex\r\n p-2\r\n border-lightgray;\r\n}\r\n\r\n.config-tabs {\r\n @apply w-full;\r\n}\r\n\r\n.config-tab {\r\n @apply w-full;\r\n}\r\n\r\n.config-solution {\r\n @apply\r\n absolute\r\n top-14\r\n -right-px\r\n -bottom-px\r\n -left-px\r\n flex\r\n p-2;\r\n}\r\n\r\n.config-inventory {\r\n @apply inline\r\n flex-grow-0\r\n overflow-y-auto\r\n max-w-min;\r\n}\r\n\r\n.config-inventory-hide {\r\n @apply flex-grow-0\r\n overflow-y-auto\r\n max-w-min\r\n hidden;\r\n}\r\n\r\n.config-item {\r\n @apply inline\r\n flex-grow\r\n overflow-y-auto\r\n relative\r\n m-inline-start-2;\r\n}\r\n\r\nsolution-contents {\r\n @apply relative\r\n h-full;\r\n}\r\n\r\nsolution-item {\r\n @apply relative\r\n h-full;\r\n}\r\n\r\nsolution-spatial-ref {\r\n @apply w-full\r\n h-full\r\n relative\r\n overflow-y-auto;\r\n}\r\n","/** @license\r\n * Copyright 2022 Esri\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n * http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n */\r\n\r\nimport { Component, Element, h, Host, Listen, Method, Prop, State, VNode, Watch } from \"@stencil/core\";\r\nimport { IInventoryItem, IItemTemplateEdit, ISolutionSpatialReferenceInfo } from \"../../utils/interfaces\";\r\nimport * as utils from \"../../utils/templates\";\r\nimport state from \"../../utils/solution-store\";\r\nimport { getProp, UserSession } from \"@esri/solution-common\";\r\nimport \"@esri/calcite-components\";\r\nimport SolutionConfiguration_T9n from \"../../assets/t9n/solution-configuration/resources.json\";\r\nimport { getLocaleComponentStrings } from \"../../utils/locale\";\r\n\r\n@Component({\r\n tag: \"solution-configuration\",\r\n styleUrl: \"solution-configuration.scss\",\r\n shadow: false\r\n})\r\nexport class SolutionConfiguration {\r\n\r\n //--------------------------------------------------------------------------\r\n //\r\n // Host element access\r\n //\r\n //--------------------------------------------------------------------------\r\n\r\n @Element() el: HTMLSolutionConfigurationElement;\r\n\r\n //--------------------------------------------------------------------------\r\n //\r\n // Properties (public)\r\n //\r\n //--------------------------------------------------------------------------\r\n\r\n /**\r\n * Credentials for requests in a serialized form\r\n */\r\n @Prop({ mutable: true }) serializedAuthentication = \"\";\r\n\r\n @Watch(\"serializedAuthentication\") async serializedAuthenticationWatchHandler(): Promise<void> {\r\n this._authentication = this.serializedAuthentication ? UserSession.deserialize(this.serializedAuthentication) : new UserSession({});\r\n }\r\n\r\n /**\r\n * Contains the current solution item id\r\n */\r\n @Prop({ mutable: true, reflect: true }) solutionItemId = \"\";\r\n\r\n @Watch(\"solutionItemId\") async valueWatchHandler(): Promise<void> {\r\n console.log(\"CONFIG watch \" + this.solutionItemId );//???\r\n await this._loadSolution(this.solutionItemId);\r\n }\r\n\r\n /**\r\n * Used to show/hide loading indicator\r\n */\r\n @Prop({ mutable: true, reflect: true }) showLoading = false;\r\n\r\n //--------------------------------------------------------------------------\r\n //\r\n // Lifecycle\r\n //\r\n //--------------------------------------------------------------------------\r\n\r\n constructor() {\r\n this._authentication = this.serializedAuthentication ? UserSession.deserialize(this.serializedAuthentication) : new UserSession({});\r\n\r\n console.log(\"CONFIG constructor \" + this.solutionItemId );//???\r\n void this._loadSolution(this.solutionItemId);\r\n\r\n window.addEventListener(\"solutionStoreHasChanges\",\r\n (evt) => {\r\n this._updateSaveability(\r\n this._solutionStoreHasChanges = (evt as any).detail, this._solutionEditorHasChanges, this._solutionEditorHasErrors);\r\n }\r\n );\r\n window.addEventListener(\"solutionEditorHasChanges\",\r\n (evt) => {\r\n this._updateSaveability(\r\n this._solutionStoreHasChanges, this._solutionEditorHasChanges = (evt as any).detail, this._solutionEditorHasErrors);\r\n }\r\n );\r\n window.addEventListener(\"solutionEditorHasErrors\",\r\n (evt) => {\r\n this._updateSaveability(\r\n this._solutionStoreHasChanges, this._solutionEditorHasChanges, this._solutionEditorHasErrors = (evt as any).detail);\r\n }\r\n );\r\n }\r\n\r\n /**\r\n * StencilJS: Called once just after the component is first connected to the DOM.\r\n *\r\n * @returns Promise when complete\r\n */\r\n async componentWillLoad(): Promise<void> {\r\n return this._getTranslations();\r\n }\r\n\r\n /**\r\n * Renders the component.\r\n */\r\n render(): VNode {\r\n const wkid = getProp(state.getStoreInfo(\"spatialReferenceInfo\"), \"spatialReference\");\r\n const hasServices: boolean = state.getStoreInfo(\"featureServices\").length > 0;\r\n\r\n const solutionData = state.getStoreInfo(\"solutionData\");\r\n this._solutionVariables = JSON.stringify(utils.getSolutionVariables(solutionData.templates, this._translations));\r\n this._organizationVariables = JSON.stringify(utils.getOrganizationVariables(this._translations));\r\n\r\n console.log(\"CONFIG render \" + this.solutionItemId );//???\r\n return (\r\n <Host>\r\n {\r\n !this._solutionIsLoaded\r\n ? <calcite-loader active label='' />\r\n : null\r\n }\r\n <div class=\"configuration-container\">\r\n <div class=\"configuration\">\r\n <calcite-tabs class=\"config-tabs\">\r\n <calcite-tab-nav slot=\"tab-nav\">\r\n <calcite-tab-title>{this._translations.definitionTab}</calcite-tab-title>\r\n {hasServices ?\r\n <calcite-tab-title>{this._translations.spatialReferenceTab}</calcite-tab-title> :\r\n null\r\n }\r\n </calcite-tab-nav>\r\n <calcite-tab active class=\"config-tab\">\r\n <div class=\"config-solution\">\r\n <div class={this._treeOpen ? \"config-inventory\" : \"config-inventory-hide\"}>\r\n <solution-contents\r\n id=\"configInventory\"\r\n key={`${this.solutionItemId}-contents`}\r\n ref={(el) => (this._solutionContentsComponent = el)}\r\n />\r\n </div>\r\n <calcite-button\r\n appearance=\"transparent\"\r\n class=\"collapse-btn\"\r\n icon-start={this._treeOpen ? \"chevrons-left\" : \"chevrons-right\"}\r\n id=\"collapse-vars\"\r\n onClick={() => this._toggleTree()}\r\n scale=\"s\"\r\n title={this._treeOpen ? this._translations.collapse : this._translations.expand}\r\n />\r\n <div class=\"config-item\">\r\n <solution-item\r\n authentication={this._authentication}\r\n item-id={this._currentEditItemId}\r\n key={`${this.solutionItemId}-item`}\r\n organization-variables={this._organizationVariables}\r\n solution-item-id={this.solutionItemId}\r\n solution-variables={this._solutionVariables}\r\n />\r\n </div>\r\n </div>\r\n </calcite-tab>\r\n {\r\n hasServices\r\n ? <calcite-tab class=\"config-tab\">\r\n <div class=\"config-solution\">\r\n <solution-spatial-ref\r\n defaultWkid={wkid}\r\n id=\"configure-solution-spatial-ref\"\r\n key={`${this.solutionItemId}-spatial-ref`}\r\n locked={!wkid}\r\n services={state.getStoreInfo(\"featureServices\").map(fs => fs.name)}\r\n />\r\n </div>\r\n </calcite-tab>\r\n : null\r\n }\r\n </calcite-tabs>\r\n </div>\r\n </div>\r\n </Host>\r\n );\r\n }\r\n\r\n //--------------------------------------------------------------------------\r\n //\r\n // Properties (protected)\r\n //\r\n //--------------------------------------------------------------------------\r\n\r\n protected _authentication: UserSession;\r\n\r\n /**\r\n * Contains the current item we are working with\r\n */\r\n @State() protected _currentEditItemId = \"\";\r\n\r\n @State() protected _organizationVariables = \"\";\r\n\r\n @State() protected _solutionContentsComponent: HTMLSolutionContentsElement;\r\n\r\n @State() protected _solutionIsLoaded = false;\r\n\r\n @State() protected _solutionVariables = \"\";\r\n\r\n /**\r\n * Contains the hierarchy of template items for the current solution.\r\n */\r\n @State() protected _templateHierarchy: IInventoryItem[] = [];\r\n\r\n /**\r\n * Contains the _translations for this component.\r\n * All UI strings should be defined here.\r\n */\r\n @State() protected _translations: typeof SolutionConfiguration_T9n;\r\n\r\n /**\r\n * Used to show/hide the content tree\r\n */\r\n @State() protected _treeOpen = true;\r\n\r\n protected _solutionStoreHasChanges = false;\r\n\r\n protected _solutionEditorHasChanges = false;\r\n\r\n protected _solutionEditorHasErrors = false;\r\n\r\n protected _canSave = false;\r\n\r\n //--------------------------------------------------------------------------\r\n //\r\n // Event Listeners\r\n //\r\n //--------------------------------------------------------------------------\r\n\r\n @Listen(\"solutionItemSelected\", { target: \"window\" })\r\n _solutionItemSelected(event: CustomEvent): void {\r\n this._currentEditItemId = event.detail;\r\n }\r\n\r\n //--------------------------------------------------------------------------\r\n //\r\n // Events\r\n //\r\n //--------------------------------------------------------------------------\r\n\r\n //--------------------------------------------------------------------------\r\n //\r\n // Public Methods (async)\r\n //\r\n //--------------------------------------------------------------------------\r\n\r\n /*\r\n @Method()\r\n async getEditModels(): Promise<ISolutionItems> {\r\n return Promise.resolve(state.items);\r\n }\r\n */\r\n\r\n @Method()\r\n async getSpatialReferenceInfo(): Promise<ISolutionSpatialReferenceInfo> {\r\n return Promise.resolve(state.getStoreInfo(\"spatialReferenceInfo\"));\r\n }\r\n\r\n /*\r\n @Method()\r\n async getSourceTemplates(): Promise<any> {\r\n return Promise.resolve(this._templates);\r\n }\r\n */\r\n\r\n @Method()\r\n async saveSolution(): Promise<void> {\r\n this._solutionIsLoaded = false;\r\n await state.saveSolution();\r\n this._solutionIsLoaded = true;\r\n this.solutionItemId = null;\r\n }\r\n\r\n @Method()\r\n async unloadSolution(): Promise<void> {\r\n this.solutionItemId = null;\r\n }\r\n\r\n //--------------------------------------------------------------------------\r\n //\r\n // Private Methods\r\n //\r\n //--------------------------------------------------------------------------\r\n\r\n /**\r\n * Update the store with the initial values\r\n *\r\n * @param templates the solution items templates\r\n * @param isReset (defaults to false) indicates if we are resetting the controls after save\r\n */\r\n /*\r\n protected _initState(\r\n templates: any[],\r\n isReset = false\r\n ): Promise<any> {\r\n return new Promise((resolve, reject) => {\r\n if (isReset) {\r\n // clear models and state so we can refresh after save\r\n this.modelsSet = false;\r\n state.reset();\r\n }\r\n getModels(templates, this._authentication, this.solutionItemId).then(models => {\r\n state.models = models;\r\n\r\n state.featureServices = getFeatureServices(templates);\r\n state.getStoreInfo(\"spatialReferenceInfo\") = getSpatialReferenceInfo(state.featureServices, this._sourceItemData);\r\n\r\n if (isReset) {\r\n // reset for undo/redo stack and diff editor tracking\r\n const jsonEditors = Array.from(this.el.getElementsByTagName(\"json-editor\"));\r\n // eslint-disable-next-line @typescript-eslint/no-floating-promises\r\n jsonEditors.forEach(e => void e.reset());\r\n }\r\n\r\n this.modelsSet = true;\r\n resolve(true);\r\n }, () => reject);\r\n });\r\n }\r\n */\r\n\r\n /**\r\n * Set Props with the initial values\r\n *\r\n * @protected\r\n */\r\n protected _initProps(): void {\r\n const solutionData = state.getStoreInfo(\"solutionData\");\r\n\r\n this._templateHierarchy = [...utils.getInventoryItems(solutionData.templates)];\r\n\r\n if (this._solutionContentsComponent) {\r\n this._solutionContentsComponent.templateHierarchy = this._templateHierarchy;\r\n }\r\n\r\n let firstItem: IItemTemplateEdit;\r\n if (this._templateHierarchy.length > 0) {\r\n // Start with the first item in the contents\r\n firstItem = state.getItemInfo(this._templateHierarchy[0].id);\r\n }\r\n this._currentEditItemId = firstItem ? firstItem.itemId : \"\";\r\n }\r\n\r\n /**\r\n * Loads a solution.\r\n *\r\n * @param solutionItemId AGO id of solution to load\r\n *\r\n * @returns Resolved promise when task is done\r\n *\r\n * @protected\r\n */\r\n protected async _loadSolution(solutionItemId: string): Promise<void> {\r\n if (solutionItemId) {\r\n this._solutionIsLoaded = false;\r\n await state.loadSolution(solutionItemId, this._authentication);\r\n this._initProps();\r\n this._solutionIsLoaded = true;\r\n } else {\r\n this._reset();\r\n }\r\n return Promise.resolve();\r\n }\r\n\r\n /**\r\n * Resets internal variables.\r\n *\r\n * @protected\r\n */\r\n protected _reset(): void {\r\n this._currentEditItemId = \"\";\r\n this._organizationVariables = \"\";\r\n this._solutionVariables = \"\";\r\n this._templateHierarchy = [];\r\n }\r\n\r\n /**\r\n * Toggle _treeOpen prop to show/hide content tree.\r\n *\r\n * @protected\r\n */\r\n protected _toggleTree(): void {\r\n this._treeOpen = !this._treeOpen;\r\n }\r\n\r\n /**\r\n * Dispatches an event indicating if the configuration is saveable or not. It's not saveable if there are no\r\n * changes or if there's an error in the JSON editor.\r\n *\r\n * @param solutionStoreHasChanges Are there changes in the configuration editor's internal store?\r\n * @param solutionEditorHasChanges Are there changes in the configuration editor's JSON editor?\r\n * @param solutionEditorHasErrors Are there errors in the configuration editor's JSON editor?\r\n *\r\n * @protected\r\n */\r\n protected _updateSaveability(\r\n solutionStoreHasChanges: boolean,\r\n solutionEditorHasChanges: boolean,\r\n solutionEditorHasErrors: boolean\r\n ): void {\r\n const updateSaveability = (solutionStoreHasChanges || solutionEditorHasChanges) && !solutionEditorHasErrors;\r\n\r\n if (this._canSave !== updateSaveability) {\r\n window.dispatchEvent(new CustomEvent(\"solutionCanSave\", {\r\n detail: updateSaveability,\r\n bubbles: true,\r\n cancelable: false,\r\n composed: true\r\n }));\r\n }\r\n\r\n this._canSave = updateSaveability;\r\n }\r\n\r\n /**\r\n * Save all edits from the current configuration\r\n *\r\n * @returns a response that will indicate success or failure and any associated messages\r\n */\r\n /*\r\n protected async _save() {\r\n const templateUpdates = await this._updateTemplates();\r\n const data = this._setSrInfo(templateUpdates.templates);\r\n return templateUpdates.errors.length === 0 ? save(\r\n this.solutionItemId,\r\n data,\r\n state.models,\r\n this._authentication,\r\n this._translations\r\n ).then(saveResult => {\r\n // need to trigger re-render...and re-fetch\r\n this._fetchData = true;\r\n this.modelsSet = false;\r\n return Promise.resolve(saveResult)\r\n }).catch(e => Promise.reject(e)) : Promise.reject({\r\n success: false,\r\n message: `The following templates have errors: ${templateUpdates.errors.join(\", \")}`\r\n } as IResponse);\r\n }\r\n */\r\n\r\n /**\r\n * Update the solutions templates based on the stored changes\r\n *\r\n * @returns an object that contains the updated templates as well as any errors that were found\r\n */\r\n /*\r\n protected async _updateTemplates(): Promise<IUpdateTemplateResponse> {\r\n const errors = [];\r\n const models = await this.getEditModels();\r\n let templates = this._updateGroupDependencies(models, this._templates);\r\n Object.keys(models).forEach(k => {\r\n const m = models[k];\r\n templates = templates.map(t => {\r\n if (t.itemId === m.itemId) {\r\n this._setItem(t, m);\r\n const hasDataError = this._setData(t, m);\r\n const hasPropError = this._setProps(t, m);\r\n if (hasDataError || hasPropError) {\r\n errors.push(m.itemId);\r\n }\r\n }\r\n return t;\r\n });\r\n });\r\n errors.concat(window.monaco.editor.getModelMarkers({}));\r\n return Promise.resolve({\r\n templates,\r\n errors\r\n });\r\n }\r\n */\r\n\r\n /**\r\n * Review all models and store itemIds that should be added or removed from group dependencies\r\n *\r\n * @param models the corresponding models for the current templates\r\n *\r\n * @returns group info (an object with keys of groupIds and\r\n * arrays of itemIds that should be added or removed from group dependencies)\r\n */\r\n /*\r\n protected _getGroupInfo(\r\n models: any\r\n ): any {\r\n const groupInfo = {}\r\n Object.keys(models).forEach(k => {\r\n const m = models[k];\r\n if (m.shareInfo) {\r\n const groupId = m.shareInfo.groupId;\r\n const type = m.shareInfo.shared ? \"share\" : \"unshare\";\r\n if (groupInfo[groupId]) {\r\n groupInfo[groupId][type].push(m.itemId);\r\n } else {\r\n groupInfo[groupId] = {};\r\n groupInfo[groupId][type] = [m.itemId];\r\n if (m.shareInfo.shared) {\r\n groupInfo[groupId][\"unshare\"] = [];\r\n } else {\r\n groupInfo[groupId][\"share\"] = [];\r\n }\r\n }\r\n }\r\n });\r\n return groupInfo;\r\n }\r\n */\r\n\r\n /**\r\n * Updates group dependency arrays by adding or removing itemIds\r\n *\r\n * @param templates the current templates to update\r\n * @param models the corresponding models for the current templates\r\n *\r\n * @returns updated templates array\r\n */\r\n /*\r\n protected _updateGroupDependencies(\r\n models: any,\r\n templates: any[]\r\n ): any[] {\r\n const groupInfo = this._getGroupInfo(models);\r\n Object.keys(groupInfo).forEach(k => {\r\n templates.some(t => {\r\n if (t.itemId === k) {\r\n // add share items as deps\r\n groupInfo[k].share.forEach(s => {\r\n if (t.dependencies.indexOf(s) < 0) {\r\n t.dependencies.push(s);\r\n }\r\n });\r\n\r\n // remove unshare items from deps\r\n groupInfo[k].unshare.forEach(s => {\r\n const index = t.dependencies.indexOf(s);\r\n if (index > -1) {\r\n t.dependencies.splice(index, 1);\r\n }\r\n });\r\n return true;\r\n } else {\r\n return false;\r\n }\r\n })\r\n })\r\n return templates;\r\n }\r\n */\r\n\r\n /**\r\n * Add group IDs to items that should be shared\r\n * This function will update the provided template when shareInfo is available\r\n *\r\n * @param template the current template to update\r\n * @param shareInfo the corresponding shareInfo from the model for the current template\r\n *\r\n */\r\n /*\r\n protected _updateItemGroups(\r\n template: any,\r\n shareInfo: any\r\n ): void {\r\n if (shareInfo) {\r\n const groupIndex = template.groups.indexOf(shareInfo.groupId);\r\n if (groupIndex < 0 && shareInfo.shared) {\r\n template.groups.push(shareInfo.groupId);\r\n }\r\n if (groupIndex > -1 && !shareInfo.shared) {\r\n template.groups.splice(groupIndex, 1);\r\n }\r\n }\r\n }\r\n */\r\n\r\n /**\r\n * Set a templates data property with changes from the models\r\n *\r\n * @param template the current template to update\r\n * @param model the corresponding model for the current template (stores any user changes)\r\n *\r\n * @returns a boolean that indicates if any errors were detected\r\n */\r\n /*\r\n protected _setData(\r\n template: any,\r\n model: any\r\n ): boolean {\r\n return this._setTemplateProp(\r\n template,\r\n model.dataOriginalValue,\r\n model.dataCurrentValue,\r\n \"data\"\r\n );\r\n }\r\n */\r\n\r\n /**\r\n * Set a templates properties property with changes from the models\r\n *\r\n * @param template the current template to update\r\n * @param model the corresponding model for the current template (stores any user changes)\r\n *\r\n * @returns a boolean that indicates if any errors were detected\r\n */\r\n /*\r\n protected _setProps(\r\n template: any,\r\n model: any\r\n ): boolean {\r\n return this._setTemplateProp(\r\n template,\r\n model.propsOriginalValue,\r\n model.propsCurrentValue,\r\n \"properties\"\r\n );\r\n }\r\n */\r\n\r\n /**\r\n * Generic function used to set properties or data property on a given template\r\n *\r\n * @param template the current template to update\r\n * @param originValue the original value from the solution template\r\n * @param modelValue the current value from the model (will contain any edits that have been made)\r\n * @param path the path to the property we should update if any changes are found\r\n *\r\n * @returns a boolean that indicates if any errors were detected\r\n */\r\n /*\r\n protected _setTemplateProp(\r\n template: any,\r\n originValue: any,\r\n modelValue: any,\r\n path: string\r\n ): boolean {\r\n let hasError = false;\r\n try {\r\n const _originValue = JSON.parse(originValue);\r\n const _modelValue = JSON.parse(modelValue);\r\n\r\n if (_originValue && _modelValue && (JSON.stringify(_originValue) !== JSON.stringify(_modelValue))) {\r\n setProp(template, path, _modelValue);\r\n }\r\n } catch (e) {\r\n console.error(e);\r\n hasError = true;\r\n }\r\n return hasError;\r\n }\r\n */\r\n\r\n /**\r\n * Set a templates item property with changes from the models\r\n *\r\n * @param template the current template to update\r\n * @param model the corresponding model for the current template (stores any user changes)\r\n *\r\n * This function will update the template argument when edits are found\r\n */\r\n /*\r\n protected _setItem(\r\n template: any,\r\n model: any\r\n ): void {\r\n this._updateItemGroups(template, model.shareInfo);\r\n if (model.updateItemValues && Object.keys(model.updateItemValues).length > 0) {\r\n Object.keys(model.updateItemValues).forEach(k => {\r\n template.item[k] = model.updateItemValues[k];\r\n });\r\n }\r\n }\r\n */\r\n\r\n /**\r\n * Set spatial reference info in the solutions data\r\n *\r\n * @param templates a list of item templates from the solution\r\n *\r\n * @returns a cloned copy of the solutions data that has been updated with spatial reference info\r\n *\r\n */\r\n /*\r\n protected _setSrInfo(\r\n templates: any[]\r\n ): any {\r\n const srInfo: any = state.getStoreInfo(\"spatialReferenceInfo\");\r\n\r\n const serviceEnabled = typeof srInfo?.services === \"undefined\" ?\r\n false : Object.keys(srInfo.services).some(k => srInfo.services[k]);\r\n\r\n const data = cloneObject(this._sourceItemData);\r\n data.templates = templates;\r\n if (srInfo && srInfo.enabled && serviceEnabled) {\r\n const wkid = srInfo.spatialReference.wkid.toString();\r\n\r\n const wkidParam = {\r\n \"label\": \"Spatial Reference\",\r\n \"default\": wkid,\r\n \"valueType\": \"spatialReference\",\r\n \"attributes\": {\r\n \"required\": \"true\"\r\n }\r\n };\r\n\r\n const params = getProp(data, \"params\");\r\n const hasWkid = params && params.wkid;\r\n setCreateProp(\r\n data,\r\n hasWkid ? \"params.wkid.default\" : \"params.wkid\",\r\n hasWkid ? wkid : params ? wkidParam : wkid\r\n );\r\n } else if (!srInfo.enabled) {\r\n if (getProp(data, \"params.wkid\")) {\r\n delete (data.params.wkid);\r\n }\r\n }\r\n return data;\r\n }\r\n */\r\n\r\n /**\r\n * Fetches the component's translations\r\n *\r\n * @protected\r\n */\r\n protected async _getTranslations(): Promise<void> {\r\n const translations = await getLocaleComponentStrings(this.el);\r\n this._translations = translations[0] as typeof SolutionConfiguration_T9n;\r\n }\r\n}\r\n"],"version":3}