@esri/solutions-components 0.2.2 → 0.2.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (978) hide show
  1. package/dist/cjs/ExpandToggle-73df0d51.js +0 -2
  2. package/dist/cjs/Heading-6b7b374c.js +0 -2
  3. package/dist/cjs/_commonjsHelpers-6aafa5de.js +0 -2
  4. package/dist/cjs/app-globals-2f48e57e.js +0 -2
  5. package/dist/cjs/array-ace6d4b5.js +0 -2
  6. package/dist/cjs/buffer-tools_6.cjs.entry.js +0 -2
  7. package/dist/cjs/calcite-accordion-item.cjs.entry.js +0 -2
  8. package/dist/cjs/calcite-accordion.cjs.entry.js +0 -2
  9. package/dist/cjs/calcite-action-bar_6.cjs.entry.js +0 -2
  10. package/dist/cjs/calcite-action-group.cjs.entry.js +0 -2
  11. package/dist/cjs/calcite-action-menu_2.cjs.entry.js +0 -2
  12. package/dist/cjs/calcite-action-pad.cjs.entry.js +0 -2
  13. package/dist/cjs/calcite-action_2.cjs.entry.js +0 -2
  14. package/dist/cjs/calcite-alert.cjs.entry.js +0 -2
  15. package/dist/cjs/calcite-avatar.cjs.entry.js +0 -2
  16. package/dist/cjs/calcite-block-section.cjs.entry.js +0 -2
  17. package/dist/cjs/calcite-block.cjs.entry.js +0 -2
  18. package/dist/cjs/calcite-button.cjs.entry.js +0 -2
  19. package/dist/cjs/calcite-card.cjs.entry.js +0 -2
  20. package/dist/cjs/calcite-checkbox.cjs.entry.js +0 -2
  21. package/dist/cjs/calcite-chip.cjs.entry.js +0 -2
  22. package/dist/cjs/calcite-color-picker-hex-input.cjs.entry.js +0 -2
  23. package/dist/cjs/calcite-color-picker-swatch.cjs.entry.js +0 -2
  24. package/dist/cjs/calcite-color-picker.cjs.entry.js +0 -2
  25. package/dist/cjs/calcite-combobox-item-group.cjs.entry.js +0 -2
  26. package/dist/cjs/calcite-combobox_3.cjs.entry.js +0 -2
  27. package/dist/cjs/calcite-date-picker-day_3.cjs.entry.js +0 -2
  28. package/dist/cjs/calcite-date-picker.cjs.entry.js +0 -2
  29. package/dist/cjs/calcite-dropdown-group.cjs.entry.js +0 -2
  30. package/dist/cjs/calcite-dropdown-item.cjs.entry.js +0 -2
  31. package/dist/cjs/calcite-dropdown.cjs.entry.js +0 -2
  32. package/dist/cjs/calcite-fab.cjs.entry.js +0 -2
  33. package/dist/cjs/calcite-filter.cjs.entry.js +0 -2
  34. package/dist/cjs/calcite-flow-item.cjs.entry.js +0 -2
  35. package/dist/cjs/calcite-flow.cjs.entry.js +0 -2
  36. package/dist/cjs/calcite-graph.cjs.entry.js +0 -2
  37. package/dist/cjs/calcite-handle.cjs.entry.js +0 -2
  38. package/dist/cjs/calcite-icon.cjs.entry.js +0 -2
  39. package/dist/cjs/calcite-inline-editable.cjs.entry.js +0 -2
  40. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +0 -2
  41. package/dist/cjs/calcite-input-number.cjs.entry.js +0 -2
  42. package/dist/cjs/calcite-input-text.cjs.entry.js +0 -2
  43. package/dist/cjs/calcite-input-time-picker.cjs.entry.js +0 -2
  44. package/dist/cjs/calcite-input_2.cjs.entry.js +0 -2
  45. package/dist/cjs/calcite-label.cjs.entry.js +0 -2
  46. package/dist/cjs/calcite-link.cjs.entry.js +0 -2
  47. package/dist/cjs/calcite-list-item-group.cjs.entry.js +0 -2
  48. package/dist/cjs/calcite-list_2.cjs.entry.js +0 -2
  49. package/dist/cjs/calcite-modal.cjs.entry.js +0 -2
  50. package/dist/cjs/calcite-option-group.cjs.entry.js +0 -2
  51. package/dist/cjs/calcite-option_2.cjs.entry.js +0 -2
  52. package/dist/cjs/calcite-pagination.cjs.entry.js +0 -2
  53. package/dist/cjs/calcite-panel_2.cjs.entry.js +0 -2
  54. package/dist/cjs/calcite-pick-list-group.cjs.entry.js +0 -2
  55. package/dist/cjs/calcite-pick-list-item.cjs.entry.js +0 -2
  56. package/dist/cjs/calcite-pick-list.cjs.entry.js +0 -2
  57. package/dist/cjs/calcite-popover-manager.cjs.entry.js +0 -2
  58. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +0 -2
  59. package/dist/cjs/calcite-radio-button.cjs.entry.js +0 -2
  60. package/dist/cjs/calcite-rating.cjs.entry.js +0 -2
  61. package/dist/cjs/calcite-scrim.cjs.entry.js +0 -2
  62. package/dist/cjs/calcite-shell-center-row.cjs.entry.js +0 -2
  63. package/dist/cjs/calcite-shell-panel_14.cjs.entry.js +1 -13
  64. package/dist/cjs/calcite-sortable-list.cjs.entry.js +0 -2
  65. package/dist/cjs/calcite-split-button.cjs.entry.js +0 -2
  66. package/dist/cjs/calcite-stepper-item.cjs.entry.js +0 -2
  67. package/dist/cjs/calcite-stepper.cjs.entry.js +0 -2
  68. package/dist/cjs/calcite-switch.cjs.entry.js +0 -2
  69. package/dist/cjs/calcite-tile-select-group.cjs.entry.js +0 -2
  70. package/dist/cjs/calcite-tile-select.cjs.entry.js +0 -2
  71. package/dist/cjs/calcite-tile.cjs.entry.js +0 -2
  72. package/dist/cjs/calcite-time-picker.cjs.entry.js +0 -2
  73. package/dist/cjs/calcite-tip-group.cjs.entry.js +0 -2
  74. package/dist/cjs/calcite-tip-manager.cjs.entry.js +0 -2
  75. package/dist/cjs/calcite-tip.cjs.entry.js +0 -2
  76. package/dist/cjs/calcite-tooltip-manager.cjs.entry.js +0 -2
  77. package/dist/cjs/calcite-tooltip.cjs.entry.js +0 -2
  78. package/dist/cjs/calcite-tree_3.cjs.entry.js +0 -2
  79. package/dist/cjs/check-list.cjs.entry.js +0 -2
  80. package/dist/cjs/conditionalSlot-2defe83d.js +0 -2
  81. package/dist/cjs/config-buffer-tools.cjs.entry.js +0 -2
  82. package/dist/cjs/config-draw-tools.cjs.entry.js +0 -2
  83. package/dist/cjs/config-layer-picker.cjs.entry.js +0 -2
  84. package/dist/cjs/config-pdf-download.cjs.entry.js +0 -2
  85. package/dist/cjs/date-e21b2052.js +0 -2
  86. package/dist/cjs/debounce-69c3bada.js +0 -2
  87. package/dist/cjs/dom-4a580af6.js +0 -2
  88. package/dist/cjs/filter-325f654f.js +0 -2
  89. package/dist/cjs/floating-ui-ca1bcead.js +0 -2
  90. package/dist/cjs/form-45849654.js +0 -2
  91. package/dist/cjs/guid-84ac4d91.js +0 -2
  92. package/dist/cjs/index-7af21b6f.js +0 -2
  93. package/dist/cjs/index-a86078a0.js +0 -2
  94. package/dist/cjs/index-d7f9770d.js +0 -2
  95. package/dist/cjs/index.cjs.js +0 -2
  96. package/dist/cjs/interactive-0a68ab99.js +0 -2
  97. package/dist/cjs/interfaces-ab603e16.js +0 -2
  98. package/dist/cjs/interfaces-e76f31e9.js +0 -2
  99. package/dist/cjs/key-55aca5c0.js +0 -2
  100. package/dist/cjs/label-24fcd8a5.js +0 -2
  101. package/dist/cjs/labelFormats-3236d2e0.js +0 -2
  102. package/dist/cjs/loadModules-38269f99.js +0 -2
  103. package/dist/cjs/loader.cjs.js +0 -2
  104. package/dist/cjs/locale-73cab8e8.js +0 -2
  105. package/dist/cjs/locale-746a095d.js +0 -2
  106. package/dist/cjs/map-search.cjs.entry.js +0 -2
  107. package/dist/cjs/mapViewUtils-67cfc412.js +0 -2
  108. package/dist/cjs/math-460fffaf.js +0 -2
  109. package/dist/cjs/nonChromiumPlatformUtils-7a6a84d2.js +0 -2
  110. package/dist/cjs/observers-5311faf8.js +0 -2
  111. package/dist/cjs/openCloseComponent-bf986132.js +0 -2
  112. package/dist/cjs/public-notification.cjs.entry.js +0 -2
  113. package/dist/cjs/publicNotificationStore-6a3d40b3.js +0 -2
  114. package/dist/cjs/publicNotificationUtils-9d585d8d.js +0 -2
  115. package/dist/cjs/resources-1f785471.js +0 -2
  116. package/dist/cjs/resources-2260d186.js +0 -2
  117. package/dist/cjs/resources-2a9862c7.js +0 -2
  118. package/dist/cjs/resources-308edbd8.js +0 -2
  119. package/dist/cjs/resources-6152b073.js +0 -2
  120. package/dist/cjs/resources-808cfca8.js +0 -2
  121. package/dist/cjs/resources-9c55e05c.js +0 -2
  122. package/dist/cjs/resources-aa19bf8c.js +0 -2
  123. package/dist/cjs/resources-b56bce71.js +0 -2
  124. package/dist/cjs/resources-cc7f63b0.js +0 -2
  125. package/dist/cjs/shared-list-render-4c7d84bf.js +0 -2
  126. package/dist/cjs/solution-configuration.cjs.entry.js +1 -9
  127. package/dist/cjs/solution-contents_3.cjs.entry.js +1 -5
  128. package/dist/cjs/{solution-store-893499a5.js → solution-store-e2fc11ac.js} +0 -4
  129. package/dist/cjs/solutions-components.cjs.js +0 -2
  130. package/dist/cjs/sortable.esm-bf47019d.js +0 -2
  131. package/dist/cjs/store-manager.cjs.entry.js +0 -2
  132. package/dist/cjs/time-3f5577cb.js +0 -2
  133. package/dist/cjs/utils-120bbbeb.js +0 -2
  134. package/dist/cjs/utils-b4236001.js +0 -2
  135. package/dist/collection/components/buffer-tools/buffer-tools.js +0 -1
  136. package/dist/collection/components/check-list/check-list.js +0 -1
  137. package/dist/collection/components/config-buffer-tools/config-buffer-tools.js +0 -1
  138. package/dist/collection/components/config-draw-tools/config-draw-tools.js +0 -1
  139. package/dist/collection/components/config-layer-picker/config-layer-picker.js +0 -1
  140. package/dist/collection/components/config-pdf-download/config-pdf-download.js +0 -1
  141. package/dist/collection/components/json-editor/json-editor.js +0 -1
  142. package/dist/collection/components/map-draw-tools/map-draw-tools.js +0 -1
  143. package/dist/collection/components/map-layer-picker/map-layer-picker.js +0 -1
  144. package/dist/collection/components/map-search/map-search.js +0 -1
  145. package/dist/collection/components/map-select-tools/map-select-tools.js +0 -1
  146. package/dist/collection/components/pdf-download/pdf-download.js +0 -1
  147. package/dist/collection/components/public-notification/public-notification.js +0 -1
  148. package/dist/collection/components/refine-selection/refine-selection.js +0 -1
  149. package/dist/collection/components/refine-selection-tools/refine-selection-tools.js +0 -1
  150. package/dist/collection/components/solution-configuration/solution-configuration.js +0 -7
  151. package/dist/collection/components/solution-contents/solution-contents.js +0 -1
  152. package/dist/collection/components/solution-item/solution-item.js +0 -3
  153. package/dist/collection/components/solution-item-details/solution-item-details.js +0 -14
  154. package/dist/collection/components/solution-item-icon/solution-item-icon.js +0 -1
  155. package/dist/collection/components/solution-item-sharing/solution-item-sharing.js +0 -1
  156. package/dist/collection/components/solution-organization-variables/solution-organization-variables.js +0 -1
  157. package/dist/collection/components/solution-resource-item/solution-resource-item.js +0 -1
  158. package/dist/collection/components/solution-spatial-ref/solution-spatial-ref.js +0 -1
  159. package/dist/collection/components/solution-spatial-ref/spatialreferences.js +0 -1
  160. package/dist/collection/components/solution-template-data/solution-template-data.js +0 -1
  161. package/dist/collection/components/solution-variables/solution-variables.js +0 -1
  162. package/dist/collection/components/store-manager/store-manager.js +0 -1
  163. package/dist/collection/index.js +0 -1
  164. package/dist/collection/utils/common.js +0 -1
  165. package/dist/collection/utils/csvUtils.js +0 -1
  166. package/dist/collection/utils/interfaces.js +0 -1
  167. package/dist/collection/utils/languageUtil.js +0 -1
  168. package/dist/collection/utils/loadModules.js +0 -1
  169. package/dist/collection/utils/locale.js +0 -1
  170. package/dist/collection/utils/mapViewUtils.js +0 -1
  171. package/dist/collection/utils/publicNotificationStore.js +0 -1
  172. package/dist/collection/utils/publicNotificationUtils.js +0 -1
  173. package/dist/collection/utils/queryUtils.js +0 -1
  174. package/dist/collection/utils/solution-store.js +0 -3
  175. package/dist/collection/utils/solution-store.ts +0 -2
  176. package/dist/collection/utils/templates.js +0 -1
  177. package/dist/collection/utils/test/testUtils.js +0 -1
  178. package/dist/collection/utils/types.js +0 -1
  179. package/dist/esm/ExpandToggle-b7d1fb3c.js +0 -2
  180. package/dist/esm/Heading-1efb4837.js +0 -2
  181. package/dist/esm/_commonjsHelpers-8fd39c50.js +0 -2
  182. package/dist/esm/app-globals-09b9efee.js +0 -2
  183. package/dist/esm/array-2ab3b18f.js +0 -2
  184. package/dist/esm/buffer-tools_6.entry.js +0 -2
  185. package/dist/esm/calcite-accordion-item.entry.js +0 -2
  186. package/dist/esm/calcite-accordion.entry.js +0 -2
  187. package/dist/esm/calcite-action-bar_6.entry.js +0 -2
  188. package/dist/esm/calcite-action-group.entry.js +0 -2
  189. package/dist/esm/calcite-action-menu_2.entry.js +0 -2
  190. package/dist/esm/calcite-action-pad.entry.js +0 -2
  191. package/dist/esm/calcite-action_2.entry.js +0 -2
  192. package/dist/esm/calcite-alert.entry.js +0 -2
  193. package/dist/esm/calcite-avatar.entry.js +0 -2
  194. package/dist/esm/calcite-block-section.entry.js +0 -2
  195. package/dist/esm/calcite-block.entry.js +0 -2
  196. package/dist/esm/calcite-button.entry.js +0 -2
  197. package/dist/esm/calcite-card.entry.js +0 -2
  198. package/dist/esm/calcite-checkbox.entry.js +0 -2
  199. package/dist/esm/calcite-chip.entry.js +0 -2
  200. package/dist/esm/calcite-color-picker-hex-input.entry.js +0 -2
  201. package/dist/esm/calcite-color-picker-swatch.entry.js +0 -2
  202. package/dist/esm/calcite-color-picker.entry.js +0 -2
  203. package/dist/esm/calcite-combobox-item-group.entry.js +0 -2
  204. package/dist/esm/calcite-combobox_3.entry.js +0 -2
  205. package/dist/esm/calcite-date-picker-day_3.entry.js +0 -2
  206. package/dist/esm/calcite-date-picker.entry.js +0 -2
  207. package/dist/esm/calcite-dropdown-group.entry.js +0 -2
  208. package/dist/esm/calcite-dropdown-item.entry.js +0 -2
  209. package/dist/esm/calcite-dropdown.entry.js +0 -2
  210. package/dist/esm/calcite-fab.entry.js +0 -2
  211. package/dist/esm/calcite-filter.entry.js +0 -2
  212. package/dist/esm/calcite-flow-item.entry.js +0 -2
  213. package/dist/esm/calcite-flow.entry.js +0 -2
  214. package/dist/esm/calcite-graph.entry.js +0 -2
  215. package/dist/esm/calcite-handle.entry.js +0 -2
  216. package/dist/esm/calcite-icon.entry.js +0 -2
  217. package/dist/esm/calcite-inline-editable.entry.js +0 -2
  218. package/dist/esm/calcite-input-date-picker.entry.js +0 -2
  219. package/dist/esm/calcite-input-number.entry.js +0 -2
  220. package/dist/esm/calcite-input-text.entry.js +0 -2
  221. package/dist/esm/calcite-input-time-picker.entry.js +0 -2
  222. package/dist/esm/calcite-input_2.entry.js +0 -2
  223. package/dist/esm/calcite-label.entry.js +0 -2
  224. package/dist/esm/calcite-link.entry.js +0 -2
  225. package/dist/esm/calcite-list-item-group.entry.js +0 -2
  226. package/dist/esm/calcite-list_2.entry.js +0 -2
  227. package/dist/esm/calcite-modal.entry.js +0 -2
  228. package/dist/esm/calcite-option-group.entry.js +0 -2
  229. package/dist/esm/calcite-option_2.entry.js +0 -2
  230. package/dist/esm/calcite-pagination.entry.js +0 -2
  231. package/dist/esm/calcite-panel_2.entry.js +0 -2
  232. package/dist/esm/calcite-pick-list-group.entry.js +0 -2
  233. package/dist/esm/calcite-pick-list-item.entry.js +0 -2
  234. package/dist/esm/calcite-pick-list.entry.js +0 -2
  235. package/dist/esm/calcite-popover-manager.entry.js +0 -2
  236. package/dist/esm/calcite-radio-button-group.entry.js +0 -2
  237. package/dist/esm/calcite-radio-button.entry.js +0 -2
  238. package/dist/esm/calcite-rating.entry.js +0 -2
  239. package/dist/esm/calcite-scrim.entry.js +0 -2
  240. package/dist/esm/calcite-shell-center-row.entry.js +0 -2
  241. package/dist/esm/calcite-shell-panel_14.entry.js +1 -13
  242. package/dist/esm/calcite-sortable-list.entry.js +0 -2
  243. package/dist/esm/calcite-split-button.entry.js +0 -2
  244. package/dist/esm/calcite-stepper-item.entry.js +0 -2
  245. package/dist/esm/calcite-stepper.entry.js +0 -2
  246. package/dist/esm/calcite-switch.entry.js +0 -2
  247. package/dist/esm/calcite-tile-select-group.entry.js +0 -2
  248. package/dist/esm/calcite-tile-select.entry.js +0 -2
  249. package/dist/esm/calcite-tile.entry.js +0 -2
  250. package/dist/esm/calcite-time-picker.entry.js +0 -2
  251. package/dist/esm/calcite-tip-group.entry.js +0 -2
  252. package/dist/esm/calcite-tip-manager.entry.js +0 -2
  253. package/dist/esm/calcite-tip.entry.js +0 -2
  254. package/dist/esm/calcite-tooltip-manager.entry.js +0 -2
  255. package/dist/esm/calcite-tooltip.entry.js +0 -2
  256. package/dist/esm/calcite-tree_3.entry.js +0 -2
  257. package/dist/esm/check-list.entry.js +0 -2
  258. package/dist/esm/conditionalSlot-bb4cab11.js +0 -2
  259. package/dist/esm/config-buffer-tools.entry.js +0 -2
  260. package/dist/esm/config-draw-tools.entry.js +0 -2
  261. package/dist/esm/config-layer-picker.entry.js +0 -2
  262. package/dist/esm/config-pdf-download.entry.js +0 -2
  263. package/dist/esm/date-45de0016.js +0 -2
  264. package/dist/esm/debounce-4c884e5c.js +0 -2
  265. package/dist/esm/dom-e593bf85.js +0 -2
  266. package/dist/esm/filter-82935f2d.js +0 -2
  267. package/dist/esm/floating-ui-69a55a27.js +0 -2
  268. package/dist/esm/form-dbfde8ce.js +0 -2
  269. package/dist/esm/guid-15fce7c0.js +0 -2
  270. package/dist/esm/index-15022d11.js +0 -2
  271. package/dist/esm/index-9c882a6e.js +0 -2
  272. package/dist/esm/index-d33ebc35.js +0 -2
  273. package/dist/esm/index.js +0 -2
  274. package/dist/esm/interactive-822ffed6.js +0 -2
  275. package/dist/esm/interfaces-4ae145eb.js +0 -2
  276. package/dist/esm/interfaces-e2a2064d.js +0 -2
  277. package/dist/esm/key-acb660e7.js +0 -2
  278. package/dist/esm/label-d411de44.js +0 -2
  279. package/dist/esm/labelFormats-b37958c3.js +0 -2
  280. package/dist/esm/loadModules-d3b50f95.js +0 -2
  281. package/dist/esm/loader.js +0 -2
  282. package/dist/esm/locale-0b490b02.js +0 -2
  283. package/dist/esm/locale-0e10d7e5.js +0 -2
  284. package/dist/esm/map-search.entry.js +0 -2
  285. package/dist/esm/mapViewUtils-09f1e7bd.js +0 -2
  286. package/dist/esm/math-552c5420.js +0 -2
  287. package/dist/esm/nonChromiumPlatformUtils-ee349005.js +0 -2
  288. package/dist/esm/observers-31601001.js +0 -2
  289. package/dist/esm/openCloseComponent-5caff873.js +0 -2
  290. package/dist/esm/public-notification.entry.js +0 -2
  291. package/dist/esm/publicNotificationStore-060c59c8.js +0 -2
  292. package/dist/esm/publicNotificationUtils-5cb5a607.js +0 -2
  293. package/dist/esm/resources-2235e4ff.js +0 -2
  294. package/dist/esm/resources-3d641588.js +0 -2
  295. package/dist/esm/resources-436ae282.js +0 -2
  296. package/dist/esm/resources-4d02cb48.js +0 -2
  297. package/dist/esm/resources-78132e50.js +0 -2
  298. package/dist/esm/resources-7d4a587f.js +0 -2
  299. package/dist/esm/resources-971845d1.js +0 -2
  300. package/dist/esm/resources-9eb63965.js +0 -2
  301. package/dist/esm/resources-d60362c3.js +0 -2
  302. package/dist/esm/resources-e3a5cf27.js +0 -2
  303. package/dist/esm/shared-list-render-4e9d47a3.js +0 -2
  304. package/dist/esm/solution-configuration.entry.js +1 -9
  305. package/dist/esm/solution-contents_3.entry.js +1 -5
  306. package/dist/esm/{solution-store-0c58c852.js → solution-store-b3c65467.js} +0 -4
  307. package/dist/esm/solutions-components.js +0 -2
  308. package/dist/esm/sortable.esm-3b2eaa5c.js +0 -2
  309. package/dist/esm/store-manager.entry.js +0 -2
  310. package/dist/esm/time-f014778c.js +0 -2
  311. package/dist/esm/utils-3f4ee4c3.js +0 -2
  312. package/dist/esm/utils-583554bc.js +0 -2
  313. package/dist/solutions-components/index.esm.js +0 -2
  314. package/dist/solutions-components/p-006c6ae1.entry.js +11 -0
  315. package/dist/solutions-components/p-04a37fc0.entry.js +6 -0
  316. package/dist/solutions-components/p-062dbde8.entry.js +6 -0
  317. package/dist/solutions-components/p-0b941521.entry.js +11 -0
  318. package/dist/solutions-components/p-0c80eb51.entry.js +11 -0
  319. package/dist/solutions-components/p-10501e21.entry.js +23 -0
  320. package/dist/solutions-components/p-109e4684.entry.js +6 -0
  321. package/dist/solutions-components/p-12dfd43e.entry.js +11 -0
  322. package/dist/solutions-components/p-13b37f05.js +3 -308
  323. package/dist/solutions-components/p-1c3bcd99.entry.js +12 -0
  324. package/dist/solutions-components/p-1c589630.entry.js +6 -0
  325. package/dist/solutions-components/p-1e15b1a3.js +2 -183
  326. package/dist/solutions-components/p-1fb471cf.entry.js +11 -0
  327. package/dist/solutions-components/p-20bdf42f.js +14 -407
  328. package/dist/solutions-components/p-23275dbd.entry.js +6 -0
  329. package/dist/solutions-components/p-236d76e7.entry.js +11 -0
  330. package/dist/solutions-components/p-23904a3d.js +3 -401
  331. package/dist/solutions-components/p-29246858.entry.js +11 -0
  332. package/dist/solutions-components/p-2ac06389.js +16 -25
  333. package/dist/solutions-components/p-2af67c67.entry.js +6 -0
  334. package/dist/solutions-components/p-2bee764f.entry.js +11 -0
  335. package/dist/solutions-components/p-2e9ed892.js +1 -48
  336. package/dist/solutions-components/p-2f6b4f04.entry.js +6 -0
  337. package/dist/solutions-components/p-305ae3fe.entry.js +11 -0
  338. package/dist/solutions-components/p-32a67cb2.js +2 -207
  339. package/dist/solutions-components/p-343e325d.entry.js +11 -0
  340. package/dist/solutions-components/p-3485601e.entry.js +6 -0
  341. package/dist/solutions-components/p-374a5031.js +2 -107
  342. package/dist/solutions-components/p-395e9b6c.entry.js +6 -0
  343. package/dist/solutions-components/p-39c5f2d2.entry.js +6 -0
  344. package/dist/solutions-components/p-3b010ce1.js +1 -19
  345. package/dist/solutions-components/p-3c4f2257.entry.js +11 -0
  346. package/dist/solutions-components/p-3c8ec7a3.entry.js +12 -0
  347. package/dist/solutions-components/p-3f6b0af4.js +2 -221
  348. package/dist/solutions-components/p-4130fbcd.entry.js +11 -0
  349. package/dist/solutions-components/p-421cbb15.entry.js +6 -0
  350. package/dist/solutions-components/p-43fa414d.entry.js +11 -0
  351. package/dist/solutions-components/p-4760f22a.entry.js +6 -0
  352. package/dist/solutions-components/p-4e32bf8c.js +1 -484
  353. package/dist/solutions-components/p-4fb6d2cf.entry.js +11 -0
  354. package/dist/solutions-components/p-54384555.entry.js +11 -0
  355. package/dist/solutions-components/p-5493f036.entry.js +6 -0
  356. package/dist/solutions-components/p-551fd063.entry.js +11 -0
  357. package/dist/solutions-components/p-56350bff.js +2 -173
  358. package/dist/solutions-components/p-58c69df2.js +2 -2024
  359. package/dist/solutions-components/p-5a61ef0d.entry.js +6 -0
  360. package/dist/solutions-components/p-5b0d7c7d.js +16 -35
  361. package/dist/solutions-components/p-5cf33602.js +2 -43
  362. package/dist/solutions-components/p-600e23c6.js +2 -1770
  363. package/dist/solutions-components/p-63f6e8f1.js +1 -16
  364. package/dist/solutions-components/p-6a3ce8f6.entry.js +6 -0
  365. package/dist/solutions-components/p-6b9dc092.js +16 -67
  366. package/dist/solutions-components/p-6be581f5.entry.js +6 -0
  367. package/dist/solutions-components/p-6cf432f9.entry.js +11 -0
  368. package/dist/solutions-components/p-6e0da576.js +1 -15
  369. package/dist/solutions-components/p-6fe17794.js +1 -11
  370. package/dist/solutions-components/p-70368b2b.entry.js +6 -0
  371. package/dist/solutions-components/p-708a63a8.js +1 -14
  372. package/dist/solutions-components/p-708ffad0.entry.js +11 -0
  373. package/dist/solutions-components/p-729708a3.js +1 -16
  374. package/dist/solutions-components/p-7321ba65.entry.js +11 -0
  375. package/dist/solutions-components/p-73e23995.js +1 -8
  376. package/dist/solutions-components/p-75b35018.entry.js +11 -0
  377. package/dist/solutions-components/p-764c0a90.entry.js +11 -0
  378. package/dist/solutions-components/p-77031b01.entry.js +11 -0
  379. package/dist/solutions-components/p-77182c3a.js +1 -3017
  380. package/dist/solutions-components/p-778a1b4a.entry.js +11 -0
  381. package/dist/solutions-components/p-7cdc6089.entry.js +6 -0
  382. package/dist/solutions-components/p-7daea1df.js +1 -43
  383. package/dist/solutions-components/p-81467529.entry.js +6 -0
  384. package/dist/solutions-components/p-834380d6.entry.js +11 -0
  385. package/dist/solutions-components/p-86908777.js +3 -62
  386. package/dist/solutions-components/p-89cc843b.entry.js +11 -0
  387. package/dist/solutions-components/p-8e3a2736.entry.js +11 -0
  388. package/dist/solutions-components/p-8e8b182f.entry.js +12 -0
  389. package/dist/solutions-components/p-8f052987.entry.js +11 -0
  390. package/dist/solutions-components/p-93790a9e.entry.js +37 -0
  391. package/dist/solutions-components/p-93d3119d.js +1 -1950
  392. package/dist/solutions-components/p-991ee695.js +1 -111
  393. package/dist/solutions-components/p-9a9955db.js +1 -43
  394. package/dist/solutions-components/p-9bbee464.entry.js +6 -0
  395. package/dist/solutions-components/p-9bdd4abe.entry.js +17 -0
  396. package/dist/solutions-components/p-a4a7d49d.entry.js +17 -0
  397. package/dist/solutions-components/p-a7036d68.entry.js +11 -0
  398. package/dist/solutions-components/p-a80b3880.js +1 -16
  399. package/dist/solutions-components/p-ac91cd40.entry.js +11 -0
  400. package/dist/solutions-components/p-acd0a09f.entry.js +11 -0
  401. package/dist/solutions-components/p-acd3b2bf.entry.js +11 -0
  402. package/dist/solutions-components/p-ae1fd76b.js +1 -13
  403. package/dist/solutions-components/p-aea937fb.entry.js +12 -0
  404. package/dist/solutions-components/p-b1b36556.entry.js +11 -0
  405. package/dist/solutions-components/p-b25f6ebe.js +257 -0
  406. package/dist/solutions-components/p-b2ae8634.entry.js +6 -0
  407. package/dist/solutions-components/p-b359dc78.js +1 -43
  408. package/dist/solutions-components/p-b978636e.js +1 -16
  409. package/dist/solutions-components/p-ba104266.entry.js +11 -0
  410. package/dist/solutions-components/p-bfcab358.entry.js +11 -0
  411. package/dist/solutions-components/p-c848d1bd.entry.js +29 -0
  412. package/dist/solutions-components/p-c9766584.entry.js +6 -0
  413. package/dist/solutions-components/p-cbd9fecf.js +2 -500
  414. package/dist/solutions-components/p-d2cc1b94.entry.js +12 -0
  415. package/dist/solutions-components/p-d48a24e6.js +2 -756
  416. package/dist/solutions-components/p-d51a72d2.entry.js +11 -0
  417. package/dist/solutions-components/p-d88fe54b.entry.js +18 -0
  418. package/dist/solutions-components/p-daee23cc.entry.js +11 -0
  419. package/dist/solutions-components/p-db7d14d5.entry.js +12 -0
  420. package/dist/solutions-components/p-dbad98e8.js +2 -124
  421. package/dist/solutions-components/p-dc724c1d.entry.js +11 -0
  422. package/dist/solutions-components/p-dc7bc20f.entry.js +11 -0
  423. package/dist/solutions-components/p-de242ea9.entry.js +6 -0
  424. package/dist/solutions-components/p-de5416e8.js +1 -30
  425. package/dist/solutions-components/p-e4ebb82a.entry.js +11 -0
  426. package/dist/solutions-components/p-e611d8c8.js +1 -30
  427. package/dist/solutions-components/p-e64c5c11.entry.js +6 -0
  428. package/dist/solutions-components/p-e6a695a5.js +2 -103
  429. package/dist/solutions-components/p-e947d3b0.js +1 -7
  430. package/dist/solutions-components/p-e99b1247.js +1 -207
  431. package/dist/solutions-components/p-e9e47eab.entry.js +6 -0
  432. package/dist/solutions-components/p-eb3be6d4.entry.js +6 -0
  433. package/dist/solutions-components/p-eb976965.js +3 -35
  434. package/dist/solutions-components/p-ed27c151.entry.js +6 -0
  435. package/dist/solutions-components/p-eeb0321d.js +2 -15
  436. package/dist/solutions-components/p-ef170bb1.entry.js +6 -0
  437. package/dist/solutions-components/p-f044863f.entry.js +16 -0
  438. package/dist/solutions-components/p-f0bae2f0.entry.js +37 -0
  439. package/dist/solutions-components/p-f48821a2.js +7 -60
  440. package/dist/solutions-components/p-f5a3b34f.entry.js +23 -0
  441. package/dist/solutions-components/p-f759a6e7.js +1 -196
  442. package/dist/solutions-components/p-fa2575c2.entry.js +6 -0
  443. package/dist/solutions-components/p-fc884dd6.js +16 -30
  444. package/dist/solutions-components/p-fe0fdd8b.js +31 -279
  445. package/dist/solutions-components/solutions-components.css +1 -10531
  446. package/dist/solutions-components/solutions-components.esm.js +1 -22
  447. package/dist/solutions-components/utils/solution-store.ts +0 -2
  448. package/dist/solutions-components_commit.txt +7 -9
  449. package/dist/types/components/solution-item-details/solution-item-details.d.ts +0 -1
  450. package/package.json +1 -1
  451. package/dist/cjs/ExpandToggle-73df0d51.js.map +0 -1
  452. package/dist/cjs/Heading-6b7b374c.js.map +0 -1
  453. package/dist/cjs/_commonjsHelpers-6aafa5de.js.map +0 -1
  454. package/dist/cjs/app-globals-2f48e57e.js.map +0 -1
  455. package/dist/cjs/array-ace6d4b5.js.map +0 -1
  456. package/dist/cjs/buffer-tools_6.cjs.entry.js.map +0 -1
  457. package/dist/cjs/calcite-accordion-item.cjs.entry.js.map +0 -1
  458. package/dist/cjs/calcite-accordion.cjs.entry.js.map +0 -1
  459. package/dist/cjs/calcite-action-bar_6.cjs.entry.js.map +0 -1
  460. package/dist/cjs/calcite-action-group.cjs.entry.js.map +0 -1
  461. package/dist/cjs/calcite-action-menu_2.cjs.entry.js.map +0 -1
  462. package/dist/cjs/calcite-action-pad.cjs.entry.js.map +0 -1
  463. package/dist/cjs/calcite-action_2.cjs.entry.js.map +0 -1
  464. package/dist/cjs/calcite-alert.cjs.entry.js.map +0 -1
  465. package/dist/cjs/calcite-avatar.cjs.entry.js.map +0 -1
  466. package/dist/cjs/calcite-block-section.cjs.entry.js.map +0 -1
  467. package/dist/cjs/calcite-block.cjs.entry.js.map +0 -1
  468. package/dist/cjs/calcite-button.cjs.entry.js.map +0 -1
  469. package/dist/cjs/calcite-card.cjs.entry.js.map +0 -1
  470. package/dist/cjs/calcite-checkbox.cjs.entry.js.map +0 -1
  471. package/dist/cjs/calcite-chip.cjs.entry.js.map +0 -1
  472. package/dist/cjs/calcite-color-picker-hex-input.cjs.entry.js.map +0 -1
  473. package/dist/cjs/calcite-color-picker-swatch.cjs.entry.js.map +0 -1
  474. package/dist/cjs/calcite-color-picker.cjs.entry.js.map +0 -1
  475. package/dist/cjs/calcite-combobox-item-group.cjs.entry.js.map +0 -1
  476. package/dist/cjs/calcite-combobox_3.cjs.entry.js.map +0 -1
  477. package/dist/cjs/calcite-date-picker-day_3.cjs.entry.js.map +0 -1
  478. package/dist/cjs/calcite-date-picker.cjs.entry.js.map +0 -1
  479. package/dist/cjs/calcite-dropdown-group.cjs.entry.js.map +0 -1
  480. package/dist/cjs/calcite-dropdown-item.cjs.entry.js.map +0 -1
  481. package/dist/cjs/calcite-dropdown.cjs.entry.js.map +0 -1
  482. package/dist/cjs/calcite-fab.cjs.entry.js.map +0 -1
  483. package/dist/cjs/calcite-filter.cjs.entry.js.map +0 -1
  484. package/dist/cjs/calcite-flow-item.cjs.entry.js.map +0 -1
  485. package/dist/cjs/calcite-flow.cjs.entry.js.map +0 -1
  486. package/dist/cjs/calcite-graph.cjs.entry.js.map +0 -1
  487. package/dist/cjs/calcite-handle.cjs.entry.js.map +0 -1
  488. package/dist/cjs/calcite-icon.cjs.entry.js.map +0 -1
  489. package/dist/cjs/calcite-inline-editable.cjs.entry.js.map +0 -1
  490. package/dist/cjs/calcite-input-date-picker.cjs.entry.js.map +0 -1
  491. package/dist/cjs/calcite-input-number.cjs.entry.js.map +0 -1
  492. package/dist/cjs/calcite-input-text.cjs.entry.js.map +0 -1
  493. package/dist/cjs/calcite-input-time-picker.cjs.entry.js.map +0 -1
  494. package/dist/cjs/calcite-input_2.cjs.entry.js.map +0 -1
  495. package/dist/cjs/calcite-label.cjs.entry.js.map +0 -1
  496. package/dist/cjs/calcite-link.cjs.entry.js.map +0 -1
  497. package/dist/cjs/calcite-list-item-group.cjs.entry.js.map +0 -1
  498. package/dist/cjs/calcite-list_2.cjs.entry.js.map +0 -1
  499. package/dist/cjs/calcite-modal.cjs.entry.js.map +0 -1
  500. package/dist/cjs/calcite-option-group.cjs.entry.js.map +0 -1
  501. package/dist/cjs/calcite-option_2.cjs.entry.js.map +0 -1
  502. package/dist/cjs/calcite-pagination.cjs.entry.js.map +0 -1
  503. package/dist/cjs/calcite-panel_2.cjs.entry.js.map +0 -1
  504. package/dist/cjs/calcite-pick-list-group.cjs.entry.js.map +0 -1
  505. package/dist/cjs/calcite-pick-list-item.cjs.entry.js.map +0 -1
  506. package/dist/cjs/calcite-pick-list.cjs.entry.js.map +0 -1
  507. package/dist/cjs/calcite-popover-manager.cjs.entry.js.map +0 -1
  508. package/dist/cjs/calcite-radio-button-group.cjs.entry.js.map +0 -1
  509. package/dist/cjs/calcite-radio-button.cjs.entry.js.map +0 -1
  510. package/dist/cjs/calcite-rating.cjs.entry.js.map +0 -1
  511. package/dist/cjs/calcite-scrim.cjs.entry.js.map +0 -1
  512. package/dist/cjs/calcite-shell-center-row.cjs.entry.js.map +0 -1
  513. package/dist/cjs/calcite-shell-panel_14.cjs.entry.js.map +0 -1
  514. package/dist/cjs/calcite-sortable-list.cjs.entry.js.map +0 -1
  515. package/dist/cjs/calcite-split-button.cjs.entry.js.map +0 -1
  516. package/dist/cjs/calcite-stepper-item.cjs.entry.js.map +0 -1
  517. package/dist/cjs/calcite-stepper.cjs.entry.js.map +0 -1
  518. package/dist/cjs/calcite-switch.cjs.entry.js.map +0 -1
  519. package/dist/cjs/calcite-tile-select-group.cjs.entry.js.map +0 -1
  520. package/dist/cjs/calcite-tile-select.cjs.entry.js.map +0 -1
  521. package/dist/cjs/calcite-tile.cjs.entry.js.map +0 -1
  522. package/dist/cjs/calcite-time-picker.cjs.entry.js.map +0 -1
  523. package/dist/cjs/calcite-tip-group.cjs.entry.js.map +0 -1
  524. package/dist/cjs/calcite-tip-manager.cjs.entry.js.map +0 -1
  525. package/dist/cjs/calcite-tip.cjs.entry.js.map +0 -1
  526. package/dist/cjs/calcite-tooltip-manager.cjs.entry.js.map +0 -1
  527. package/dist/cjs/calcite-tooltip.cjs.entry.js.map +0 -1
  528. package/dist/cjs/calcite-tree_3.cjs.entry.js.map +0 -1
  529. package/dist/cjs/check-list.cjs.entry.js.map +0 -1
  530. package/dist/cjs/conditionalSlot-2defe83d.js.map +0 -1
  531. package/dist/cjs/config-buffer-tools.cjs.entry.js.map +0 -1
  532. package/dist/cjs/config-draw-tools.cjs.entry.js.map +0 -1
  533. package/dist/cjs/config-layer-picker.cjs.entry.js.map +0 -1
  534. package/dist/cjs/config-pdf-download.cjs.entry.js.map +0 -1
  535. package/dist/cjs/date-e21b2052.js.map +0 -1
  536. package/dist/cjs/debounce-69c3bada.js.map +0 -1
  537. package/dist/cjs/dom-4a580af6.js.map +0 -1
  538. package/dist/cjs/filter-325f654f.js.map +0 -1
  539. package/dist/cjs/floating-ui-ca1bcead.js.map +0 -1
  540. package/dist/cjs/form-45849654.js.map +0 -1
  541. package/dist/cjs/guid-84ac4d91.js.map +0 -1
  542. package/dist/cjs/index-7af21b6f.js.map +0 -1
  543. package/dist/cjs/index-a86078a0.js.map +0 -1
  544. package/dist/cjs/index-d7f9770d.js.map +0 -1
  545. package/dist/cjs/index.cjs.js.map +0 -1
  546. package/dist/cjs/interactive-0a68ab99.js.map +0 -1
  547. package/dist/cjs/interfaces-ab603e16.js.map +0 -1
  548. package/dist/cjs/interfaces-e76f31e9.js.map +0 -1
  549. package/dist/cjs/key-55aca5c0.js.map +0 -1
  550. package/dist/cjs/label-24fcd8a5.js.map +0 -1
  551. package/dist/cjs/labelFormats-3236d2e0.js.map +0 -1
  552. package/dist/cjs/loadModules-38269f99.js.map +0 -1
  553. package/dist/cjs/loader.cjs.js.map +0 -1
  554. package/dist/cjs/locale-73cab8e8.js.map +0 -1
  555. package/dist/cjs/locale-746a095d.js.map +0 -1
  556. package/dist/cjs/map-search.cjs.entry.js.map +0 -1
  557. package/dist/cjs/mapViewUtils-67cfc412.js.map +0 -1
  558. package/dist/cjs/math-460fffaf.js.map +0 -1
  559. package/dist/cjs/nonChromiumPlatformUtils-7a6a84d2.js.map +0 -1
  560. package/dist/cjs/observers-5311faf8.js.map +0 -1
  561. package/dist/cjs/openCloseComponent-bf986132.js.map +0 -1
  562. package/dist/cjs/public-notification.cjs.entry.js.map +0 -1
  563. package/dist/cjs/publicNotificationStore-6a3d40b3.js.map +0 -1
  564. package/dist/cjs/publicNotificationUtils-9d585d8d.js.map +0 -1
  565. package/dist/cjs/resources-1f785471.js.map +0 -1
  566. package/dist/cjs/resources-2260d186.js.map +0 -1
  567. package/dist/cjs/resources-2a9862c7.js.map +0 -1
  568. package/dist/cjs/resources-308edbd8.js.map +0 -1
  569. package/dist/cjs/resources-6152b073.js.map +0 -1
  570. package/dist/cjs/resources-808cfca8.js.map +0 -1
  571. package/dist/cjs/resources-9c55e05c.js.map +0 -1
  572. package/dist/cjs/resources-aa19bf8c.js.map +0 -1
  573. package/dist/cjs/resources-b56bce71.js.map +0 -1
  574. package/dist/cjs/resources-cc7f63b0.js.map +0 -1
  575. package/dist/cjs/shared-list-render-4c7d84bf.js.map +0 -1
  576. package/dist/cjs/solution-configuration.cjs.entry.js.map +0 -1
  577. package/dist/cjs/solution-contents_3.cjs.entry.js.map +0 -1
  578. package/dist/cjs/solution-store-893499a5.js.map +0 -1
  579. package/dist/cjs/solutions-components.cjs.js.map +0 -1
  580. package/dist/cjs/sortable.esm-bf47019d.js.map +0 -1
  581. package/dist/cjs/store-manager.cjs.entry.js.map +0 -1
  582. package/dist/cjs/time-3f5577cb.js.map +0 -1
  583. package/dist/cjs/utils-120bbbeb.js.map +0 -1
  584. package/dist/cjs/utils-b4236001.js.map +0 -1
  585. package/dist/collection/components/buffer-tools/buffer-tools.js.map +0 -1
  586. package/dist/collection/components/check-list/check-list.js.map +0 -1
  587. package/dist/collection/components/config-buffer-tools/config-buffer-tools.js.map +0 -1
  588. package/dist/collection/components/config-draw-tools/config-draw-tools.js.map +0 -1
  589. package/dist/collection/components/config-layer-picker/config-layer-picker.js.map +0 -1
  590. package/dist/collection/components/config-pdf-download/config-pdf-download.js.map +0 -1
  591. package/dist/collection/components/json-editor/json-editor.js.map +0 -1
  592. package/dist/collection/components/map-draw-tools/map-draw-tools.js.map +0 -1
  593. package/dist/collection/components/map-layer-picker/map-layer-picker.js.map +0 -1
  594. package/dist/collection/components/map-search/map-search.js.map +0 -1
  595. package/dist/collection/components/map-select-tools/map-select-tools.js.map +0 -1
  596. package/dist/collection/components/pdf-download/pdf-download.js.map +0 -1
  597. package/dist/collection/components/public-notification/public-notification.js.map +0 -1
  598. package/dist/collection/components/refine-selection/refine-selection.js.map +0 -1
  599. package/dist/collection/components/refine-selection-tools/refine-selection-tools.js.map +0 -1
  600. package/dist/collection/components/solution-configuration/solution-configuration.js.map +0 -1
  601. package/dist/collection/components/solution-contents/solution-contents.js.map +0 -1
  602. package/dist/collection/components/solution-item/solution-item.js.map +0 -1
  603. package/dist/collection/components/solution-item-details/solution-item-details.js.map +0 -1
  604. package/dist/collection/components/solution-item-icon/solution-item-icon.js.map +0 -1
  605. package/dist/collection/components/solution-item-sharing/solution-item-sharing.js.map +0 -1
  606. package/dist/collection/components/solution-organization-variables/solution-organization-variables.js.map +0 -1
  607. package/dist/collection/components/solution-resource-item/solution-resource-item.js.map +0 -1
  608. package/dist/collection/components/solution-spatial-ref/solution-spatial-ref.js.map +0 -1
  609. package/dist/collection/components/solution-spatial-ref/spatialreferences.js.map +0 -1
  610. package/dist/collection/components/solution-template-data/solution-template-data.js.map +0 -1
  611. package/dist/collection/components/solution-variables/solution-variables.js.map +0 -1
  612. package/dist/collection/components/store-manager/store-manager.js.map +0 -1
  613. package/dist/collection/index.js.map +0 -1
  614. package/dist/collection/utils/common.js.map +0 -1
  615. package/dist/collection/utils/csvUtils.js.map +0 -1
  616. package/dist/collection/utils/interfaces.js.map +0 -1
  617. package/dist/collection/utils/languageUtil.js.map +0 -1
  618. package/dist/collection/utils/loadModules.js.map +0 -1
  619. package/dist/collection/utils/locale.js.map +0 -1
  620. package/dist/collection/utils/mapViewUtils.js.map +0 -1
  621. package/dist/collection/utils/publicNotificationStore.js.map +0 -1
  622. package/dist/collection/utils/publicNotificationUtils.js.map +0 -1
  623. package/dist/collection/utils/queryUtils.js.map +0 -1
  624. package/dist/collection/utils/solution-store.js.map +0 -1
  625. package/dist/collection/utils/templates.js.map +0 -1
  626. package/dist/collection/utils/test/testUtils.js.map +0 -1
  627. package/dist/collection/utils/types.js.map +0 -1
  628. package/dist/esm/ExpandToggle-b7d1fb3c.js.map +0 -1
  629. package/dist/esm/Heading-1efb4837.js.map +0 -1
  630. package/dist/esm/_commonjsHelpers-8fd39c50.js.map +0 -1
  631. package/dist/esm/app-globals-09b9efee.js.map +0 -1
  632. package/dist/esm/array-2ab3b18f.js.map +0 -1
  633. package/dist/esm/buffer-tools_6.entry.js.map +0 -1
  634. package/dist/esm/calcite-accordion-item.entry.js.map +0 -1
  635. package/dist/esm/calcite-accordion.entry.js.map +0 -1
  636. package/dist/esm/calcite-action-bar_6.entry.js.map +0 -1
  637. package/dist/esm/calcite-action-group.entry.js.map +0 -1
  638. package/dist/esm/calcite-action-menu_2.entry.js.map +0 -1
  639. package/dist/esm/calcite-action-pad.entry.js.map +0 -1
  640. package/dist/esm/calcite-action_2.entry.js.map +0 -1
  641. package/dist/esm/calcite-alert.entry.js.map +0 -1
  642. package/dist/esm/calcite-avatar.entry.js.map +0 -1
  643. package/dist/esm/calcite-block-section.entry.js.map +0 -1
  644. package/dist/esm/calcite-block.entry.js.map +0 -1
  645. package/dist/esm/calcite-button.entry.js.map +0 -1
  646. package/dist/esm/calcite-card.entry.js.map +0 -1
  647. package/dist/esm/calcite-checkbox.entry.js.map +0 -1
  648. package/dist/esm/calcite-chip.entry.js.map +0 -1
  649. package/dist/esm/calcite-color-picker-hex-input.entry.js.map +0 -1
  650. package/dist/esm/calcite-color-picker-swatch.entry.js.map +0 -1
  651. package/dist/esm/calcite-color-picker.entry.js.map +0 -1
  652. package/dist/esm/calcite-combobox-item-group.entry.js.map +0 -1
  653. package/dist/esm/calcite-combobox_3.entry.js.map +0 -1
  654. package/dist/esm/calcite-date-picker-day_3.entry.js.map +0 -1
  655. package/dist/esm/calcite-date-picker.entry.js.map +0 -1
  656. package/dist/esm/calcite-dropdown-group.entry.js.map +0 -1
  657. package/dist/esm/calcite-dropdown-item.entry.js.map +0 -1
  658. package/dist/esm/calcite-dropdown.entry.js.map +0 -1
  659. package/dist/esm/calcite-fab.entry.js.map +0 -1
  660. package/dist/esm/calcite-filter.entry.js.map +0 -1
  661. package/dist/esm/calcite-flow-item.entry.js.map +0 -1
  662. package/dist/esm/calcite-flow.entry.js.map +0 -1
  663. package/dist/esm/calcite-graph.entry.js.map +0 -1
  664. package/dist/esm/calcite-handle.entry.js.map +0 -1
  665. package/dist/esm/calcite-icon.entry.js.map +0 -1
  666. package/dist/esm/calcite-inline-editable.entry.js.map +0 -1
  667. package/dist/esm/calcite-input-date-picker.entry.js.map +0 -1
  668. package/dist/esm/calcite-input-number.entry.js.map +0 -1
  669. package/dist/esm/calcite-input-text.entry.js.map +0 -1
  670. package/dist/esm/calcite-input-time-picker.entry.js.map +0 -1
  671. package/dist/esm/calcite-input_2.entry.js.map +0 -1
  672. package/dist/esm/calcite-label.entry.js.map +0 -1
  673. package/dist/esm/calcite-link.entry.js.map +0 -1
  674. package/dist/esm/calcite-list-item-group.entry.js.map +0 -1
  675. package/dist/esm/calcite-list_2.entry.js.map +0 -1
  676. package/dist/esm/calcite-modal.entry.js.map +0 -1
  677. package/dist/esm/calcite-option-group.entry.js.map +0 -1
  678. package/dist/esm/calcite-option_2.entry.js.map +0 -1
  679. package/dist/esm/calcite-pagination.entry.js.map +0 -1
  680. package/dist/esm/calcite-panel_2.entry.js.map +0 -1
  681. package/dist/esm/calcite-pick-list-group.entry.js.map +0 -1
  682. package/dist/esm/calcite-pick-list-item.entry.js.map +0 -1
  683. package/dist/esm/calcite-pick-list.entry.js.map +0 -1
  684. package/dist/esm/calcite-popover-manager.entry.js.map +0 -1
  685. package/dist/esm/calcite-radio-button-group.entry.js.map +0 -1
  686. package/dist/esm/calcite-radio-button.entry.js.map +0 -1
  687. package/dist/esm/calcite-rating.entry.js.map +0 -1
  688. package/dist/esm/calcite-scrim.entry.js.map +0 -1
  689. package/dist/esm/calcite-shell-center-row.entry.js.map +0 -1
  690. package/dist/esm/calcite-shell-panel_14.entry.js.map +0 -1
  691. package/dist/esm/calcite-sortable-list.entry.js.map +0 -1
  692. package/dist/esm/calcite-split-button.entry.js.map +0 -1
  693. package/dist/esm/calcite-stepper-item.entry.js.map +0 -1
  694. package/dist/esm/calcite-stepper.entry.js.map +0 -1
  695. package/dist/esm/calcite-switch.entry.js.map +0 -1
  696. package/dist/esm/calcite-tile-select-group.entry.js.map +0 -1
  697. package/dist/esm/calcite-tile-select.entry.js.map +0 -1
  698. package/dist/esm/calcite-tile.entry.js.map +0 -1
  699. package/dist/esm/calcite-time-picker.entry.js.map +0 -1
  700. package/dist/esm/calcite-tip-group.entry.js.map +0 -1
  701. package/dist/esm/calcite-tip-manager.entry.js.map +0 -1
  702. package/dist/esm/calcite-tip.entry.js.map +0 -1
  703. package/dist/esm/calcite-tooltip-manager.entry.js.map +0 -1
  704. package/dist/esm/calcite-tooltip.entry.js.map +0 -1
  705. package/dist/esm/calcite-tree_3.entry.js.map +0 -1
  706. package/dist/esm/check-list.entry.js.map +0 -1
  707. package/dist/esm/conditionalSlot-bb4cab11.js.map +0 -1
  708. package/dist/esm/config-buffer-tools.entry.js.map +0 -1
  709. package/dist/esm/config-draw-tools.entry.js.map +0 -1
  710. package/dist/esm/config-layer-picker.entry.js.map +0 -1
  711. package/dist/esm/config-pdf-download.entry.js.map +0 -1
  712. package/dist/esm/date-45de0016.js.map +0 -1
  713. package/dist/esm/debounce-4c884e5c.js.map +0 -1
  714. package/dist/esm/dom-e593bf85.js.map +0 -1
  715. package/dist/esm/filter-82935f2d.js.map +0 -1
  716. package/dist/esm/floating-ui-69a55a27.js.map +0 -1
  717. package/dist/esm/form-dbfde8ce.js.map +0 -1
  718. package/dist/esm/guid-15fce7c0.js.map +0 -1
  719. package/dist/esm/index-15022d11.js.map +0 -1
  720. package/dist/esm/index-9c882a6e.js.map +0 -1
  721. package/dist/esm/index-d33ebc35.js.map +0 -1
  722. package/dist/esm/index.js.map +0 -1
  723. package/dist/esm/interactive-822ffed6.js.map +0 -1
  724. package/dist/esm/interfaces-4ae145eb.js.map +0 -1
  725. package/dist/esm/interfaces-e2a2064d.js.map +0 -1
  726. package/dist/esm/key-acb660e7.js.map +0 -1
  727. package/dist/esm/label-d411de44.js.map +0 -1
  728. package/dist/esm/labelFormats-b37958c3.js.map +0 -1
  729. package/dist/esm/loadModules-d3b50f95.js.map +0 -1
  730. package/dist/esm/loader.js.map +0 -1
  731. package/dist/esm/locale-0b490b02.js.map +0 -1
  732. package/dist/esm/locale-0e10d7e5.js.map +0 -1
  733. package/dist/esm/map-search.entry.js.map +0 -1
  734. package/dist/esm/mapViewUtils-09f1e7bd.js.map +0 -1
  735. package/dist/esm/math-552c5420.js.map +0 -1
  736. package/dist/esm/nonChromiumPlatformUtils-ee349005.js.map +0 -1
  737. package/dist/esm/observers-31601001.js.map +0 -1
  738. package/dist/esm/openCloseComponent-5caff873.js.map +0 -1
  739. package/dist/esm/public-notification.entry.js.map +0 -1
  740. package/dist/esm/publicNotificationStore-060c59c8.js.map +0 -1
  741. package/dist/esm/publicNotificationUtils-5cb5a607.js.map +0 -1
  742. package/dist/esm/resources-2235e4ff.js.map +0 -1
  743. package/dist/esm/resources-3d641588.js.map +0 -1
  744. package/dist/esm/resources-436ae282.js.map +0 -1
  745. package/dist/esm/resources-4d02cb48.js.map +0 -1
  746. package/dist/esm/resources-78132e50.js.map +0 -1
  747. package/dist/esm/resources-7d4a587f.js.map +0 -1
  748. package/dist/esm/resources-971845d1.js.map +0 -1
  749. package/dist/esm/resources-9eb63965.js.map +0 -1
  750. package/dist/esm/resources-d60362c3.js.map +0 -1
  751. package/dist/esm/resources-e3a5cf27.js.map +0 -1
  752. package/dist/esm/shared-list-render-4e9d47a3.js.map +0 -1
  753. package/dist/esm/solution-configuration.entry.js.map +0 -1
  754. package/dist/esm/solution-contents_3.entry.js.map +0 -1
  755. package/dist/esm/solution-store-0c58c852.js.map +0 -1
  756. package/dist/esm/solutions-components.js.map +0 -1
  757. package/dist/esm/sortable.esm-3b2eaa5c.js.map +0 -1
  758. package/dist/esm/store-manager.entry.js.map +0 -1
  759. package/dist/esm/time-f014778c.js.map +0 -1
  760. package/dist/esm/utils-3f4ee4c3.js.map +0 -1
  761. package/dist/esm/utils-583554bc.js.map +0 -1
  762. package/dist/solutions-components/index.esm.js.map +0 -1
  763. package/dist/solutions-components/p-06dab43c.entry.js +0 -140
  764. package/dist/solutions-components/p-06dab43c.entry.js.map +0 -1
  765. package/dist/solutions-components/p-0bbe4865.entry.js +0 -620
  766. package/dist/solutions-components/p-0bbe4865.entry.js.map +0 -1
  767. package/dist/solutions-components/p-0fda7d9e.entry.js +0 -434
  768. package/dist/solutions-components/p-0fda7d9e.entry.js.map +0 -1
  769. package/dist/solutions-components/p-0fddf8a4.entry.js +0 -349
  770. package/dist/solutions-components/p-0fddf8a4.entry.js.map +0 -1
  771. package/dist/solutions-components/p-11bc6805.entry.js +0 -87
  772. package/dist/solutions-components/p-11bc6805.entry.js.map +0 -1
  773. package/dist/solutions-components/p-13b37f05.js.map +0 -1
  774. package/dist/solutions-components/p-1dfb5fae.entry.js +0 -713
  775. package/dist/solutions-components/p-1dfb5fae.entry.js.map +0 -1
  776. package/dist/solutions-components/p-1e15b1a3.js.map +0 -1
  777. package/dist/solutions-components/p-1e5bc9c3.entry.js +0 -96
  778. package/dist/solutions-components/p-1e5bc9c3.entry.js.map +0 -1
  779. package/dist/solutions-components/p-1ed05745.entry.js +0 -214
  780. package/dist/solutions-components/p-1ed05745.entry.js.map +0 -1
  781. package/dist/solutions-components/p-20bdf42f.js.map +0 -1
  782. package/dist/solutions-components/p-22574d83.entry.js +0 -74
  783. package/dist/solutions-components/p-22574d83.entry.js.map +0 -1
  784. package/dist/solutions-components/p-23904a3d.js.map +0 -1
  785. package/dist/solutions-components/p-24d75151.entry.js +0 -107
  786. package/dist/solutions-components/p-24d75151.entry.js.map +0 -1
  787. package/dist/solutions-components/p-26484399.entry.js +0 -108
  788. package/dist/solutions-components/p-26484399.entry.js.map +0 -1
  789. package/dist/solutions-components/p-291fd295.entry.js +0 -1250
  790. package/dist/solutions-components/p-291fd295.entry.js.map +0 -1
  791. package/dist/solutions-components/p-29bdbd3e.entry.js +0 -280
  792. package/dist/solutions-components/p-29bdbd3e.entry.js.map +0 -1
  793. package/dist/solutions-components/p-2ac06389.js.map +0 -1
  794. package/dist/solutions-components/p-2bce7fa2.entry.js +0 -45
  795. package/dist/solutions-components/p-2bce7fa2.entry.js.map +0 -1
  796. package/dist/solutions-components/p-2e9ed892.js.map +0 -1
  797. package/dist/solutions-components/p-2f12ff1b.entry.js +0 -202
  798. package/dist/solutions-components/p-2f12ff1b.entry.js.map +0 -1
  799. package/dist/solutions-components/p-2ff754ce.entry.js +0 -257
  800. package/dist/solutions-components/p-2ff754ce.entry.js.map +0 -1
  801. package/dist/solutions-components/p-30a6199a.entry.js +0 -445
  802. package/dist/solutions-components/p-30a6199a.entry.js.map +0 -1
  803. package/dist/solutions-components/p-32a67cb2.js.map +0 -1
  804. package/dist/solutions-components/p-341ff921.entry.js +0 -449
  805. package/dist/solutions-components/p-341ff921.entry.js.map +0 -1
  806. package/dist/solutions-components/p-36ce64e4.entry.js +0 -215
  807. package/dist/solutions-components/p-36ce64e4.entry.js.map +0 -1
  808. package/dist/solutions-components/p-374a5031.js.map +0 -1
  809. package/dist/solutions-components/p-3b010ce1.js.map +0 -1
  810. package/dist/solutions-components/p-3f6b0af4.js.map +0 -1
  811. package/dist/solutions-components/p-400e1427.entry.js +0 -236
  812. package/dist/solutions-components/p-400e1427.entry.js.map +0 -1
  813. package/dist/solutions-components/p-40d7cf01.entry.js +0 -228
  814. package/dist/solutions-components/p-40d7cf01.entry.js.map +0 -1
  815. package/dist/solutions-components/p-45556aff.entry.js +0 -215
  816. package/dist/solutions-components/p-45556aff.entry.js.map +0 -1
  817. package/dist/solutions-components/p-49aaa793.entry.js +0 -95
  818. package/dist/solutions-components/p-49aaa793.entry.js.map +0 -1
  819. package/dist/solutions-components/p-4e32bf8c.js.map +0 -1
  820. package/dist/solutions-components/p-4e89b243.entry.js +0 -479
  821. package/dist/solutions-components/p-4e89b243.entry.js.map +0 -1
  822. package/dist/solutions-components/p-515637fb.entry.js +0 -183
  823. package/dist/solutions-components/p-515637fb.entry.js.map +0 -1
  824. package/dist/solutions-components/p-5243a654.entry.js +0 -147
  825. package/dist/solutions-components/p-5243a654.entry.js.map +0 -1
  826. package/dist/solutions-components/p-55673790.entry.js +0 -82
  827. package/dist/solutions-components/p-55673790.entry.js.map +0 -1
  828. package/dist/solutions-components/p-56350bff.js.map +0 -1
  829. package/dist/solutions-components/p-58b374c0.entry.js +0 -347
  830. package/dist/solutions-components/p-58b374c0.entry.js.map +0 -1
  831. package/dist/solutions-components/p-58c69df2.js.map +0 -1
  832. package/dist/solutions-components/p-59fd6684.entry.js +0 -22
  833. package/dist/solutions-components/p-59fd6684.entry.js.map +0 -1
  834. package/dist/solutions-components/p-5b0d7c7d.js.map +0 -1
  835. package/dist/solutions-components/p-5cf33602.js.map +0 -1
  836. package/dist/solutions-components/p-600e23c6.js.map +0 -1
  837. package/dist/solutions-components/p-61398a7b.entry.js +0 -74
  838. package/dist/solutions-components/p-61398a7b.entry.js.map +0 -1
  839. package/dist/solutions-components/p-63a05701.entry.js +0 -45
  840. package/dist/solutions-components/p-63a05701.entry.js.map +0 -1
  841. package/dist/solutions-components/p-63f6e8f1.js.map +0 -1
  842. package/dist/solutions-components/p-64a2040e.entry.js +0 -63
  843. package/dist/solutions-components/p-64a2040e.entry.js.map +0 -1
  844. package/dist/solutions-components/p-64c63eb2.entry.js +0 -157
  845. package/dist/solutions-components/p-64c63eb2.entry.js.map +0 -1
  846. package/dist/solutions-components/p-659edb14.js +0 -4096
  847. package/dist/solutions-components/p-659edb14.js.map +0 -1
  848. package/dist/solutions-components/p-6940e2fd.entry.js +0 -100
  849. package/dist/solutions-components/p-6940e2fd.entry.js.map +0 -1
  850. package/dist/solutions-components/p-69900b68.entry.js +0 -152
  851. package/dist/solutions-components/p-69900b68.entry.js.map +0 -1
  852. package/dist/solutions-components/p-699125b6.entry.js +0 -44
  853. package/dist/solutions-components/p-699125b6.entry.js.map +0 -1
  854. package/dist/solutions-components/p-6b9dc092.js.map +0 -1
  855. package/dist/solutions-components/p-6d0899c8.entry.js +0 -118
  856. package/dist/solutions-components/p-6d0899c8.entry.js.map +0 -1
  857. package/dist/solutions-components/p-6e0da576.js.map +0 -1
  858. package/dist/solutions-components/p-6fe17794.js.map +0 -1
  859. package/dist/solutions-components/p-708a63a8.js.map +0 -1
  860. package/dist/solutions-components/p-729708a3.js.map +0 -1
  861. package/dist/solutions-components/p-73e23995.js.map +0 -1
  862. package/dist/solutions-components/p-75f54a34.entry.js +0 -883
  863. package/dist/solutions-components/p-75f54a34.entry.js.map +0 -1
  864. package/dist/solutions-components/p-77182c3a.js.map +0 -1
  865. package/dist/solutions-components/p-77c75f3a.entry.js +0 -21534
  866. package/dist/solutions-components/p-77c75f3a.entry.js.map +0 -1
  867. package/dist/solutions-components/p-77e6b03c.entry.js +0 -1872
  868. package/dist/solutions-components/p-77e6b03c.entry.js.map +0 -1
  869. package/dist/solutions-components/p-794ba85d.entry.js +0 -175
  870. package/dist/solutions-components/p-794ba85d.entry.js.map +0 -1
  871. package/dist/solutions-components/p-79cde78e.entry.js +0 -203
  872. package/dist/solutions-components/p-79cde78e.entry.js.map +0 -1
  873. package/dist/solutions-components/p-7a2c75a4.entry.js +0 -230
  874. package/dist/solutions-components/p-7a2c75a4.entry.js.map +0 -1
  875. package/dist/solutions-components/p-7daea1df.js.map +0 -1
  876. package/dist/solutions-components/p-7de77097.entry.js +0 -162
  877. package/dist/solutions-components/p-7de77097.entry.js.map +0 -1
  878. package/dist/solutions-components/p-7f2b74a9.entry.js +0 -56
  879. package/dist/solutions-components/p-7f2b74a9.entry.js.map +0 -1
  880. package/dist/solutions-components/p-81e606c0.entry.js +0 -915
  881. package/dist/solutions-components/p-81e606c0.entry.js.map +0 -1
  882. package/dist/solutions-components/p-86908777.js.map +0 -1
  883. package/dist/solutions-components/p-87a0ccb4.entry.js +0 -254
  884. package/dist/solutions-components/p-87a0ccb4.entry.js.map +0 -1
  885. package/dist/solutions-components/p-90629c1d.entry.js +0 -1986
  886. package/dist/solutions-components/p-90629c1d.entry.js.map +0 -1
  887. package/dist/solutions-components/p-9393631c.entry.js +0 -542
  888. package/dist/solutions-components/p-9393631c.entry.js.map +0 -1
  889. package/dist/solutions-components/p-93d3119d.js.map +0 -1
  890. package/dist/solutions-components/p-958e2979.entry.js +0 -111
  891. package/dist/solutions-components/p-958e2979.entry.js.map +0 -1
  892. package/dist/solutions-components/p-95ddb529.entry.js +0 -181
  893. package/dist/solutions-components/p-95ddb529.entry.js.map +0 -1
  894. package/dist/solutions-components/p-97c4a268.entry.js +0 -725
  895. package/dist/solutions-components/p-97c4a268.entry.js.map +0 -1
  896. package/dist/solutions-components/p-984cb687.entry.js +0 -2632
  897. package/dist/solutions-components/p-984cb687.entry.js.map +0 -1
  898. package/dist/solutions-components/p-991ee695.js.map +0 -1
  899. package/dist/solutions-components/p-99d9b624.entry.js +0 -177
  900. package/dist/solutions-components/p-99d9b624.entry.js.map +0 -1
  901. package/dist/solutions-components/p-9a9955db.js.map +0 -1
  902. package/dist/solutions-components/p-9d925d5b.entry.js +0 -233
  903. package/dist/solutions-components/p-9d925d5b.entry.js.map +0 -1
  904. package/dist/solutions-components/p-9dc0210f.entry.js +0 -125
  905. package/dist/solutions-components/p-9dc0210f.entry.js.map +0 -1
  906. package/dist/solutions-components/p-9fec2884.entry.js +0 -216
  907. package/dist/solutions-components/p-9fec2884.entry.js.map +0 -1
  908. package/dist/solutions-components/p-a2ada355.entry.js +0 -135
  909. package/dist/solutions-components/p-a2ada355.entry.js.map +0 -1
  910. package/dist/solutions-components/p-a57adb27.entry.js +0 -154
  911. package/dist/solutions-components/p-a57adb27.entry.js.map +0 -1
  912. package/dist/solutions-components/p-a80b3880.js.map +0 -1
  913. package/dist/solutions-components/p-a88dd457.entry.js +0 -123
  914. package/dist/solutions-components/p-a88dd457.entry.js.map +0 -1
  915. package/dist/solutions-components/p-ac6efd19.entry.js +0 -57
  916. package/dist/solutions-components/p-ac6efd19.entry.js.map +0 -1
  917. package/dist/solutions-components/p-ae1fd76b.js.map +0 -1
  918. package/dist/solutions-components/p-afffa81a.entry.js +0 -140
  919. package/dist/solutions-components/p-afffa81a.entry.js.map +0 -1
  920. package/dist/solutions-components/p-b0f3ed4d.entry.js +0 -376
  921. package/dist/solutions-components/p-b0f3ed4d.entry.js.map +0 -1
  922. package/dist/solutions-components/p-b359dc78.js.map +0 -1
  923. package/dist/solutions-components/p-b66cba3e.entry.js +0 -97
  924. package/dist/solutions-components/p-b66cba3e.entry.js.map +0 -1
  925. package/dist/solutions-components/p-b6c2f470.entry.js +0 -574
  926. package/dist/solutions-components/p-b6c2f470.entry.js.map +0 -1
  927. package/dist/solutions-components/p-b978636e.js.map +0 -1
  928. package/dist/solutions-components/p-bd19837e.entry.js +0 -96
  929. package/dist/solutions-components/p-bd19837e.entry.js.map +0 -1
  930. package/dist/solutions-components/p-be1ed982.entry.js +0 -1121
  931. package/dist/solutions-components/p-be1ed982.entry.js.map +0 -1
  932. package/dist/solutions-components/p-be8cc144.entry.js +0 -567
  933. package/dist/solutions-components/p-be8cc144.entry.js.map +0 -1
  934. package/dist/solutions-components/p-bfd20deb.entry.js +0 -80
  935. package/dist/solutions-components/p-bfd20deb.entry.js.map +0 -1
  936. package/dist/solutions-components/p-c2c8442d.entry.js +0 -140
  937. package/dist/solutions-components/p-c2c8442d.entry.js.map +0 -1
  938. package/dist/solutions-components/p-c3f93cec.entry.js +0 -158
  939. package/dist/solutions-components/p-c3f93cec.entry.js.map +0 -1
  940. package/dist/solutions-components/p-c9870dc4.entry.js +0 -38
  941. package/dist/solutions-components/p-c9870dc4.entry.js.map +0 -1
  942. package/dist/solutions-components/p-cbd9fecf.js.map +0 -1
  943. package/dist/solutions-components/p-cfb300c6.entry.js +0 -250
  944. package/dist/solutions-components/p-cfb300c6.entry.js.map +0 -1
  945. package/dist/solutions-components/p-d48a24e6.js.map +0 -1
  946. package/dist/solutions-components/p-dbad98e8.js.map +0 -1
  947. package/dist/solutions-components/p-dd79118e.entry.js +0 -708
  948. package/dist/solutions-components/p-dd79118e.entry.js.map +0 -1
  949. package/dist/solutions-components/p-de5416e8.js.map +0 -1
  950. package/dist/solutions-components/p-de881187.entry.js +0 -87
  951. package/dist/solutions-components/p-de881187.entry.js.map +0 -1
  952. package/dist/solutions-components/p-e1905f7b.entry.js +0 -120
  953. package/dist/solutions-components/p-e1905f7b.entry.js.map +0 -1
  954. package/dist/solutions-components/p-e515767a.entry.js +0 -116
  955. package/dist/solutions-components/p-e515767a.entry.js.map +0 -1
  956. package/dist/solutions-components/p-e611d8c8.js.map +0 -1
  957. package/dist/solutions-components/p-e6a695a5.js.map +0 -1
  958. package/dist/solutions-components/p-e947d3b0.js.map +0 -1
  959. package/dist/solutions-components/p-e99b1247.js.map +0 -1
  960. package/dist/solutions-components/p-eb5b78c3.entry.js +0 -125
  961. package/dist/solutions-components/p-eb5b78c3.entry.js.map +0 -1
  962. package/dist/solutions-components/p-eb976965.js.map +0 -1
  963. package/dist/solutions-components/p-ed075c2f.entry.js +0 -186
  964. package/dist/solutions-components/p-ed075c2f.entry.js.map +0 -1
  965. package/dist/solutions-components/p-eeb0321d.js.map +0 -1
  966. package/dist/solutions-components/p-f0294899.entry.js +0 -84
  967. package/dist/solutions-components/p-f0294899.entry.js.map +0 -1
  968. package/dist/solutions-components/p-f477f146.entry.js +0 -310
  969. package/dist/solutions-components/p-f477f146.entry.js.map +0 -1
  970. package/dist/solutions-components/p-f48821a2.js.map +0 -1
  971. package/dist/solutions-components/p-f496ed0c.entry.js +0 -150
  972. package/dist/solutions-components/p-f496ed0c.entry.js.map +0 -1
  973. package/dist/solutions-components/p-f5268b4f.entry.js +0 -60
  974. package/dist/solutions-components/p-f5268b4f.entry.js.map +0 -1
  975. package/dist/solutions-components/p-f759a6e7.js.map +0 -1
  976. package/dist/solutions-components/p-fc884dd6.js.map +0 -1
  977. package/dist/solutions-components/p-fe0fdd8b.js.map +0 -1
  978. package/dist/solutions-components/solutions-components.esm.js.map +0 -1
@@ -1,1986 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- import { r as registerInstance, h, H as Host, g as getElement } from './p-58c69df2.js';
7
- import { r as request, N as NODEJS_DEFAULT_REFERER_HEADER, c as cleanUrl, e as encodeQueryString, A as ArcGISAuthError, g as getProp, s as state } from './p-659edb14.js';
8
- import { g as getLocaleComponentStrings } from './p-20bdf42f.js';
9
- import './p-f759a6e7.js';
10
- import './p-6b9dc092.js';
11
- import './p-3b010ce1.js';
12
-
13
- /** @license
14
- * Copyright 2022 Esri
15
- *
16
- * Licensed under the Apache License, Version 2.0 (the "License");
17
- * you may not use this file except in compliance with the License.
18
- * You may obtain a copy of the License at
19
- *
20
- * http://www.apache.org/licenses/LICENSE-2.0
21
- *
22
- * Unless required by applicable law or agreed to in writing, software
23
- * distributed under the License is distributed on an "AS IS" BASIS,
24
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
25
- * See the License for the specific language governing permissions and
26
- * limitations under the License.
27
- */
28
- //--------------------------------------------------------------------------
29
- //
30
- // Public Functions
31
- //
32
- //--------------------------------------------------------------------------
33
- /**
34
- * Sort the solution items
35
- *
36
- * @param templates a list of item templates from the solution
37
- *
38
- * @returns a sorted list of solution items
39
- */
40
- function getInventoryItems(templates) {
41
- const hierarchy = getItemHierarchy(templates);
42
- const ids = hierarchy.reduce((prev, cur) => {
43
- prev.push(cur.id);
44
- return prev;
45
- }, []);
46
- return templates.reduce((prev, cur) => {
47
- if (ids.indexOf(cur.itemId) > -1) {
48
- const hierarchyItems = hierarchy.filter(hi => hi.id === cur.itemId);
49
- prev.push(_getItemFromTemplate(cur, templates, hierarchyItems[0].dependencies));
50
- }
51
- return prev;
52
- }, []);
53
- }
54
- /**
55
- * Create item hierarchy that will avoid issues from cylical dependencies
56
- *
57
- * @param templates a list of item templates from the solution
58
- *
59
- * @returns a hierarchy for item and item dependency display
60
- */
61
- function getItemHierarchy(templates) {
62
- const hierarchy = [];
63
- // Get the template specified by id out of a list of templates
64
- function getTemplateInSolution(templates, id) {
65
- const iTemplate = templates.findIndex((template) => id === template.itemId);
66
- return iTemplate >= 0 ? templates[iTemplate] : null;
67
- }
68
- // Hierarchically list the dependencies of specified node
69
- function traceItemId(id, accumulatedHierarchy, alreadyVisitedIds = []) {
70
- // Get the dependencies of the node
71
- const template = getTemplateInSolution(templates, id);
72
- /* istanbul ignore else */
73
- if (template) {
74
- const templateEntry = {
75
- id,
76
- dependencies: []
77
- };
78
- // Visit each dependency, but only if this template is not in the alreadyVisitedIds list to avoid infinite loops
79
- /* istanbul ignore else */
80
- if (alreadyVisitedIds.indexOf(id) < 0) {
81
- // Add dependency to alreadyVisitedIds list
82
- alreadyVisitedIds.push(id);
83
- template.dependencies.forEach((dependencyId) => {
84
- // Remove dependency from list of templates to visit in the top-level loop
85
- const iDependencyTemplate = templateItemIds.indexOf(dependencyId);
86
- /* istanbul ignore else */
87
- if (iDependencyTemplate >= 0) {
88
- templateItemIds.splice(iDependencyTemplate, 1);
89
- }
90
- traceItemId(dependencyId, templateEntry.dependencies, alreadyVisitedIds);
91
- });
92
- }
93
- accumulatedHierarchy.push(templateEntry);
94
- }
95
- }
96
- // Start with top-level nodes and add in the rest of the nodes to catch cycles without top-level nodes
97
- let templateItemIds = _getTopLevelItemIds(templates);
98
- const otherItems = templates
99
- .filter((template) => templateItemIds.indexOf(template.itemId) < 0) // only keep non-top-level nodes
100
- .sort((a, b) => b.dependencies.length - a.dependencies.length); // sort so that nodes with more dependencies come first--reduces stubs
101
- templateItemIds = templateItemIds.concat(otherItems.map((template) => template.itemId));
102
- // Step through the list of nodes; we'll also remove nodes as we visit them
103
- let itemId = templateItemIds.shift();
104
- while (typeof itemId !== "undefined") {
105
- traceItemId(itemId, hierarchy);
106
- itemId = templateItemIds.shift();
107
- }
108
- return hierarchy;
109
- }
110
- /**
111
- * Explore the solution item templates for variables we will allow users to insert at runtime
112
- *
113
- * @param templates a list of item templates from the solution
114
- * @param translations nls translation object
115
- *
116
- * @returns a list of variables from the solution item templates
117
- */
118
- function getSolutionVariables(templates, translations) {
119
- const vars = [];
120
- templates.forEach(t => {
121
- const item = {
122
- id: t.itemId,
123
- title: t.item.title || t.item.name,
124
- type: t.type,
125
- value: undefined,
126
- dependencies: [{
127
- id: t.itemId,
128
- title: translations.itemId,
129
- value: `{{${t.itemId}.itemId}}`,
130
- }]
131
- };
132
- if (t.item.url) {
133
- item.dependencies.push({
134
- id: t.itemId,
135
- title: translations.url,
136
- value: `{{${t.itemId}.url}}`,
137
- });
138
- }
139
- if (t.type === "Feature Service") {
140
- // TODO need to set source service name var...
141
- // TODO need to set soure service shape field name "{{d05b3cf1ffcb4a4fa677627dfb18609e.name}}.Shape"
142
- item.dependencies.push({
143
- id: t.itemId,
144
- title: translations.solutionExtent,
145
- value: `{{${t.itemId}.solutionExtent}}`,
146
- });
147
- _addLayersOrTables(t.properties.layers || [], item, t, translations);
148
- _addLayersOrTables(t.properties.tables || [], item, t, translations);
149
- }
150
- vars.push(item);
151
- });
152
- return vars;
153
- }
154
- /**
155
- * Set key organization variables we will allow users to insert at runtime
156
- *
157
- * @param translations nls translation object
158
- *
159
- * @returns a list of variables for the organization
160
- */
161
- function getOrganizationVariables(translations) {
162
- const orgVars = [{
163
- id: "",
164
- title: translations.geocodeUrl,
165
- value: "{{organization.helperServices.geocode:getDefaultLocatorURL}}"
166
- }, {
167
- id: "",
168
- title: translations.geometryUrl,
169
- value: "{{organization.helperServices.geometry.url}}"
170
- }, {
171
- id: "",
172
- title: translations.portalBaseUrl,
173
- value: "{{portalBaseUrl}}"
174
- }, {
175
- id: "",
176
- title: translations.routeUrl,
177
- value: "{{organization.helperServices.route.url}}"
178
- }, {
179
- id: "",
180
- title: translations.solutionItemExtent,
181
- value: "{{solutionItemExtent}}"
182
- }];
183
- return orgVars;
184
- }
185
- //--------------------------------------------------------------------------
186
- //
187
- // Private Functions
188
- //
189
- //--------------------------------------------------------------------------
190
- /**
191
- * Explore a solution item template for variables we will allow users to insert at runtime.
192
- * This function will update the item argument that is passed in with the var details.
193
- *
194
- * @param children a list of layers or tables from a template
195
- * @param item an object that store key details for a given variable
196
- * @param template one of the templates from the current solution
197
- * @param translations nls translations object
198
- *
199
- */
200
- function _addLayersOrTables(children, item, template, translations) {
201
- children.forEach(l => {
202
- const name = l.name && l.name.indexOf("||") > -1 ? l.name.split("||")[1].replace("}}", "").trim() : l.name;
203
- item.dependencies.push({
204
- id: template.itemId,
205
- title: `${name} (${translations.id})`,
206
- value: `{{${template.itemId}.layer${l.id}.id}}`,
207
- });
208
- item.dependencies.push({
209
- id: template.itemId,
210
- title: `${name} (${translations.name})`,
211
- value: `{{${template.itemId}.layer${l.id}.name||${name}}}`,
212
- });
213
- });
214
- }
215
- /**
216
- * Capture key details from the solution item template
217
- *
218
- * @param template one of the templates from the current solution
219
- * @param templates full list of templates
220
- * @param dependencies list of hierarchical dependencies
221
- *
222
- * @returns an IInventoryItem that is used by other components to work with this template
223
- */
224
- function _getItemFromTemplate(template, templates, dependencies) {
225
- return {
226
- id: template.itemId || "",
227
- title: template.item.title || "",
228
- dependencies: _getDependencies(dependencies, templates),
229
- type: template.item.type || "",
230
- typeKeywords: template.item.typeKeywords || [] /*,
231
- solutionItem: {
232
- itemId: template.itemId,
233
- itemDetails: _getItemDetails(template.item, template.type === "Group"),
234
- isResource: _getIsResource(template),
235
- data: template.data,
236
- properties: template.properties,
237
- type: template.type,
238
- groupDetails: _getGroupDetails(template, templates)
239
- }*/
240
- };
241
- }
242
- /**
243
- * Capture key details from the solution item template
244
- *
245
- * @param dependencies list of dependencies from a template
246
- * @param templates full list of templates
247
- *
248
- * @returns a list of IInventoryItem that are used by other components to work with the templates
249
- */
250
- function _getDependencies(dependencies, templates) {
251
- const dependencyItems = [];
252
- const depIds = dependencies.reduce((prev, cur) => {
253
- prev.push(cur.id);
254
- dependencyItems.push(cur);
255
- return prev;
256
- }, []);
257
- return templates.reduce((prev, curr) => {
258
- const i = depIds.indexOf(curr.itemId);
259
- if (i > -1) {
260
- prev.push(_getItemFromTemplate(curr, templates, dependencyItems[i].dependencies));
261
- }
262
- return prev;
263
- }, []);
264
- }
265
- /**
266
- * Capture the key item details for a given template
267
- *
268
- * @param item the templates item
269
- * @param isGroup boolean to indicate if the item is a group
270
- * @param itemId the item id of the template
271
- *
272
- * @returns a IItemDetails object for the current item
273
- */
274
- /*
275
- function _getItemDetails(
276
- item: any,
277
- isGroup: boolean
278
- ): IItemDetails {
279
- return {
280
- title: item.title || "",
281
- snippet: item.snippet || "",
282
- description: item.description || "",
283
- tags: item.tags || [],
284
- accessInformation: !isGroup ? item.accessInformation || "" : "",
285
- licenseInfo: !isGroup ? item.licenseInfo || "" : ""
286
- };
287
- }
288
- */
289
- /**
290
- * Capture the key item details for a given group template
291
- *
292
- * @param template one of the templates from the current solution
293
- * @param templates full list of templates
294
- *
295
- * @returns a list of IItemShare objects
296
- */
297
- /*
298
- function _getGroupDetails(
299
- template: any,
300
- templates: any[]
301
- ): IItemShare[] {
302
- return template.type === "Group" ? templates.reduce((prev, cur) => {
303
- if (cur.itemId !== template.itemId && cur.type !== "Group") {
304
- prev.push({
305
- id: cur.itemId,
306
- title: cur.item.name || cur.item.title,
307
- isShared: (cur.groups || []).indexOf(template.itemId) > -1,
308
- shareItem: (cur.groups || []).indexOf(template.itemId) > -1,
309
- type: cur.type,
310
- typeKeywords: cur.item.typeKeywords
311
- });
312
- }
313
- return prev;
314
- }, []) : [];
315
- }
316
- */
317
- /**
318
- * Used to understand if we are dealing with a binary object that will support upload/download
319
- *
320
- * @param template one of the templates from the current solution
321
- *
322
- * @returns true if this item supports upload/download
323
- */
324
- /*
325
- function _getIsResource(
326
- template: any
327
- ): boolean {
328
- return template.type !== "Group" && template.resources.some(r => r.indexOf("_info_thumbnail") < 0) &&
329
- (template.data === null || JSON.stringify(template.data) === "{}");
330
- }
331
- */
332
- /**
333
- * Sort the template ids based on their dependencies
334
- *
335
- * @param templates full list of templates
336
- *
337
- * @returns a list of Itop level item ids
338
- */
339
- function _getTopLevelItemIds(templates) {
340
- // Find the top-level nodes. Start with all nodes, then remove those that other nodes depend on
341
- const topLevelItemCandidateIds = templates.map((template) => template.itemId);
342
- templates.forEach((template) => {
343
- (template.dependencies || []).forEach((dependencyId) => {
344
- const iNode = topLevelItemCandidateIds.indexOf(dependencyId);
345
- if (iNode >= 0) {
346
- // Node is somebody's dependency, so remove the node from the list of top-level nodes
347
- // If iNode == -1, then it's a shared dependency and it has already been removed
348
- topLevelItemCandidateIds.splice(iNode, 1);
349
- }
350
- });
351
- });
352
- return topLevelItemCandidateIds;
353
- }
354
-
355
- /* Copyright (c) 2017-2020 Environmental Systems Research Institute, Inc.
356
- * Apache-2.0 */
357
- function decodeParam(param) {
358
- var _a = param.split("="), key = _a[0], value = _a[1];
359
- return { key: decodeURIComponent(key), value: decodeURIComponent(value) };
360
- }
361
- /**
362
- * Decodes the passed query string as an object.
363
- *
364
- * @param query A string to be decoded.
365
- * @returns A decoded query param object.
366
- */
367
- function decodeQueryString(query) {
368
- return query
369
- .replace(/^#/, "")
370
- .split("&")
371
- .reduce(function (acc, entry) {
372
- var _a = decodeParam(entry), key = _a.key, value = _a.value;
373
- acc[key] = value;
374
- return acc;
375
- }, {});
376
- }
377
-
378
- /*! *****************************************************************************
379
- Copyright (c) Microsoft Corporation.
380
-
381
- Permission to use, copy, modify, and/or distribute this software for any
382
- purpose with or without fee is hereby granted.
383
-
384
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
385
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
386
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
387
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
388
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
389
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
390
- PERFORMANCE OF THIS SOFTWARE.
391
- ***************************************************************************** */
392
-
393
- var __assign = function() {
394
- __assign = Object.assign || function __assign(t) {
395
- for (var s, i = 1, n = arguments.length; i < n; i++) {
396
- s = arguments[i];
397
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
398
- }
399
- return t;
400
- };
401
- return __assign.apply(this, arguments);
402
- };
403
-
404
- /* Copyright (c) 2017 Environmental Systems Research Institute, Inc.
405
- * Apache-2.0 */
406
- function fetchToken(url, requestOptions) {
407
- var options = requestOptions;
408
- // we generate a response, so we can't return the raw response
409
- options.rawResponse = false;
410
- return request(url, options).then(function (response) {
411
- var r = {
412
- token: response.access_token,
413
- username: response.username,
414
- expires: new Date(
415
- // convert seconds in response to milliseconds and add the value to the current time to calculate a static expiration timestamp
416
- Date.now() + (response.expires_in * 1000 - 1000)),
417
- ssl: response.ssl === true
418
- };
419
- if (response.refresh_token) {
420
- r.refreshToken = response.refresh_token;
421
- }
422
- return r;
423
- });
424
- }
425
-
426
- /* Copyright (c) 2017-2018 Environmental Systems Research Institute, Inc.
427
- * Apache-2.0 */
428
- function generateToken(url, requestOptions) {
429
- var options = requestOptions;
430
- /* istanbul ignore else */
431
- if (typeof window !== "undefined" &&
432
- window.location &&
433
- window.location.host) {
434
- options.params.referer = window.location.host;
435
- }
436
- else {
437
- options.params.referer = NODEJS_DEFAULT_REFERER_HEADER;
438
- }
439
- return request(url, options);
440
- }
441
-
442
- /**
443
- * Used to test if a URL is an ArcGIS Online URL
444
- */
445
- var arcgisOnlineUrlRegex = /^https?:\/\/(\S+)\.arcgis\.com.+/;
446
- function isOnline(url) {
447
- return arcgisOnlineUrlRegex.test(url);
448
- }
449
- function normalizeOnlinePortalUrl(portalUrl) {
450
- if (!arcgisOnlineUrlRegex.test(portalUrl)) {
451
- return portalUrl;
452
- }
453
- switch (getOnlineEnvironment(portalUrl)) {
454
- case "dev":
455
- return "https://devext.arcgis.com/sharing/rest";
456
- case "qa":
457
- return "https://qaext.arcgis.com/sharing/rest";
458
- default:
459
- return "https://www.arcgis.com/sharing/rest";
460
- }
461
- }
462
- function getOnlineEnvironment(url) {
463
- if (!arcgisOnlineUrlRegex.test(url)) {
464
- return null;
465
- }
466
- var match = url.match(arcgisOnlineUrlRegex);
467
- var subdomain = match[1].split(".").pop();
468
- if (subdomain.includes("dev")) {
469
- return "dev";
470
- }
471
- if (subdomain.includes("qa")) {
472
- return "qa";
473
- }
474
- return "production";
475
- }
476
- function isFederated(owningSystemUrl, portalUrl) {
477
- var normalizedPortalUrl = cleanUrl(normalizeOnlinePortalUrl(portalUrl)).replace(/https?:\/\//, "");
478
- var normalizedOwningSystemUrl = cleanUrl(owningSystemUrl).replace(/https?:\/\//, "");
479
- return new RegExp(normalizedOwningSystemUrl, "i").test(normalizedPortalUrl);
480
- }
481
- function canUseOnlineToken(portalUrl, requestUrl) {
482
- var portalIsOnline = isOnline(portalUrl);
483
- var requestIsOnline = isOnline(requestUrl);
484
- var portalEnv = getOnlineEnvironment(portalUrl);
485
- var requestEnv = getOnlineEnvironment(requestUrl);
486
- if (portalIsOnline && requestIsOnline && portalEnv === requestEnv) {
487
- return true;
488
- }
489
- return false;
490
- }
491
-
492
- /* Copyright (c) 2018-2020 Environmental Systems Research Institute, Inc.
493
- * Apache-2.0 */
494
- /**
495
- * Validates that the user has access to the application
496
- * and if they user should be presented a "View Only" mode
497
- *
498
- * This is only needed/valid for Esri applications that are "licensed"
499
- * and shipped in ArcGIS Online or ArcGIS Enterprise. Most custom applications
500
- * should not need or use this.
501
- *
502
- * ```js
503
- * import { validateAppAccess } from '@esri/arcgis-rest-auth';
504
- *
505
- * return validateAppAccess('your-token', 'theClientId')
506
- * .then((result) => {
507
- * if (!result.value) {
508
- * // redirect or show some other ui
509
- * } else {
510
- * if (result.viewOnlyUserTypeApp) {
511
- * // use this to inform your app to show a "View Only" mode
512
- * }
513
- * }
514
- * })
515
- * .catch((err) => {
516
- * // two possible errors
517
- * // invalid clientId: {"error":{"code":400,"messageCode":"GWM_0007","message":"Invalid request","details":[]}}
518
- * // invalid token: {"error":{"code":498,"message":"Invalid token.","details":[]}}
519
- * })
520
- * ```
521
- *
522
- * Note: This is only usable by Esri applications hosted on *arcgis.com, *esri.com or within
523
- * an ArcGIS Enterprise installation. Custom applications can not use this.
524
- *
525
- * @param token platform token
526
- * @param clientId application client id
527
- * @param portal Optional
528
- */
529
- function validateAppAccess(token, clientId, portal) {
530
- if (portal === void 0) { portal = "https://www.arcgis.com/sharing/rest"; }
531
- var url = portal + "/oauth2/validateAppAccess";
532
- var ro = {
533
- method: "POST",
534
- params: {
535
- f: "json",
536
- client_id: clientId,
537
- token: token,
538
- },
539
- };
540
- return request(url, ro);
541
- }
542
-
543
- /* Copyright (c) 2017-2019 Environmental Systems Research Institute, Inc.
544
- * Apache-2.0 */
545
- function defer() {
546
- var deferred = {
547
- promise: null,
548
- resolve: null,
549
- reject: null,
550
- };
551
- deferred.promise = new Promise(function (resolve, reject) {
552
- deferred.resolve = resolve;
553
- deferred.reject = reject;
554
- });
555
- return deferred;
556
- }
557
- /**
558
- * ```js
559
- * import { UserSession } from '@esri/arcgis-rest-auth';
560
- * UserSession.beginOAuth2({
561
- * // register an app of your own to create a unique clientId
562
- * clientId: "abc123",
563
- * redirectUri: 'https://yourapp.com/authenticate.html'
564
- * })
565
- * .then(session)
566
- * // or
567
- * new UserSession({
568
- * username: "jsmith",
569
- * password: "123456"
570
- * })
571
- * // or
572
- * UserSession.deserialize(cache)
573
- * ```
574
- * 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.
575
- */
576
- var UserSession = /** @class */ (function () {
577
- function UserSession(options) {
578
- this.clientId = options.clientId;
579
- this._refreshToken = options.refreshToken;
580
- this._refreshTokenExpires = options.refreshTokenExpires;
581
- this.username = options.username;
582
- this.password = options.password;
583
- this._token = options.token;
584
- this._tokenExpires = options.tokenExpires;
585
- this.portal = options.portal
586
- ? cleanUrl(options.portal)
587
- : "https://www.arcgis.com/sharing/rest";
588
- this.ssl = options.ssl;
589
- this.provider = options.provider || "arcgis";
590
- this.tokenDuration = options.tokenDuration || 20160;
591
- this.redirectUri = options.redirectUri;
592
- this.refreshTokenTTL = options.refreshTokenTTL || 20160;
593
- this.server = options.server;
594
- this.federatedServers = {};
595
- this.trustedDomains = [];
596
- // if a non-federated server was passed explicitly, it should be trusted.
597
- if (options.server) {
598
- // if the url includes more than '/arcgis/', trim the rest
599
- var root = this.getServerRootUrl(options.server);
600
- this.federatedServers[root] = {
601
- token: options.token,
602
- expires: options.tokenExpires,
603
- };
604
- }
605
- this._pendingTokenRequests = {};
606
- }
607
- Object.defineProperty(UserSession.prototype, "token", {
608
- /**
609
- * The current ArcGIS Online or ArcGIS Enterprise `token`.
610
- */
611
- get: function () {
612
- return this._token;
613
- },
614
- enumerable: false,
615
- configurable: true
616
- });
617
- Object.defineProperty(UserSession.prototype, "tokenExpires", {
618
- /**
619
- * The expiration time of the current `token`.
620
- */
621
- get: function () {
622
- return this._tokenExpires;
623
- },
624
- enumerable: false,
625
- configurable: true
626
- });
627
- Object.defineProperty(UserSession.prototype, "refreshToken", {
628
- /**
629
- * The current token to ArcGIS Online or ArcGIS Enterprise.
630
- */
631
- get: function () {
632
- return this._refreshToken;
633
- },
634
- enumerable: false,
635
- configurable: true
636
- });
637
- Object.defineProperty(UserSession.prototype, "refreshTokenExpires", {
638
- /**
639
- * The expiration time of the current `refreshToken`.
640
- */
641
- get: function () {
642
- return this._refreshTokenExpires;
643
- },
644
- enumerable: false,
645
- configurable: true
646
- });
647
- Object.defineProperty(UserSession.prototype, "trustedServers", {
648
- /**
649
- * Deprecated, use `federatedServers` instead.
650
- *
651
- * @deprecated
652
- */
653
- get: function () {
654
- console.log("DEPRECATED: use federatedServers instead");
655
- return this.federatedServers;
656
- },
657
- enumerable: false,
658
- configurable: true
659
- });
660
- /**
661
- * Begins a new browser-based OAuth 2.0 sign in. If `options.popup` is `true` the
662
- * authentication window will open in a new tab/window and the function will return
663
- * Promise&lt;UserSession&gt;. Otherwise, the user will be redirected to the
664
- * authorization page in their current tab/window and the function will return `undefined`.
665
- *
666
- * @browserOnly
667
- */
668
- /* istanbul ignore next */
669
- UserSession.beginOAuth2 = function (options, win) {
670
- if (win === void 0) { win = window; }
671
- if (options.duration) {
672
- console.log("DEPRECATED: 'duration' is deprecated - use 'expiration' instead");
673
- }
674
- var _a = __assign({
675
- portal: "https://www.arcgis.com/sharing/rest",
676
- provider: "arcgis",
677
- expiration: 20160,
678
- popup: true,
679
- popupWindowFeatures: "height=400,width=600,menubar=no,location=yes,resizable=yes,scrollbars=yes,status=yes",
680
- state: options.clientId,
681
- locale: "",
682
- }, 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;
683
- var url;
684
- if (provider === "arcgis") {
685
- url = portal + "/oauth2/authorize?client_id=" + clientId + "&response_type=token&expiration=" + (options.duration || expiration) + "&redirect_uri=" + encodeURIComponent(redirectUri) + "&state=" + state + "&locale=" + locale;
686
- }
687
- else {
688
- 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;
689
- }
690
- // append additional params
691
- if (params) {
692
- url = url + "&" + encodeQueryString(params);
693
- }
694
- if (!popup) {
695
- win.location.href = url;
696
- return undefined;
697
- }
698
- var session = defer();
699
- win["__ESRI_REST_AUTH_HANDLER_" + clientId] = function (errorString, oauthInfoString) {
700
- if (errorString) {
701
- var error = JSON.parse(errorString);
702
- session.reject(new ArcGISAuthError(error.errorMessage, error.error));
703
- return;
704
- }
705
- if (oauthInfoString) {
706
- var oauthInfo = JSON.parse(oauthInfoString);
707
- session.resolve(new UserSession({
708
- clientId: clientId,
709
- portal: portal,
710
- ssl: oauthInfo.ssl,
711
- token: oauthInfo.token,
712
- tokenExpires: new Date(oauthInfo.expires),
713
- username: oauthInfo.username,
714
- }));
715
- }
716
- };
717
- win.open(url, "oauth-window", popupWindowFeatures);
718
- return session.promise;
719
- };
720
- /**
721
- * Completes a browser-based OAuth 2.0 sign in. If `options.popup` is `true` the user
722
- * will be returned to the previous window. Otherwise a new `UserSession`
723
- * will be returned. You must pass the same values for `options.popup` and
724
- * `options.portal` as you used in `beginOAuth2()`.
725
- *
726
- * @browserOnly
727
- */
728
- /* istanbul ignore next */
729
- UserSession.completeOAuth2 = function (options, win) {
730
- if (win === void 0) { win = window; }
731
- var _a = __assign({ portal: "https://www.arcgis.com/sharing/rest", popup: true }, options), portal = _a.portal, clientId = _a.clientId, popup = _a.popup;
732
- function completeSignIn(error, oauthInfo) {
733
- try {
734
- var handlerFn = void 0;
735
- var handlerFnName = "__ESRI_REST_AUTH_HANDLER_" + clientId;
736
- if (popup) {
737
- // Guard b/c IE does not support window.opener
738
- if (win.opener) {
739
- if (win.opener.parent && win.opener.parent[handlerFnName]) {
740
- handlerFn = win.opener.parent[handlerFnName];
741
- }
742
- else if (win.opener && win.opener[handlerFnName]) {
743
- // support pop-out oauth from within an iframe
744
- handlerFn = win.opener[handlerFnName];
745
- }
746
- }
747
- else {
748
- // IE
749
- if (win !== win.parent && win.parent && win.parent[handlerFnName]) {
750
- handlerFn = win.parent[handlerFnName];
751
- }
752
- }
753
- // if we have a handler fn, call it and close the window
754
- if (handlerFn) {
755
- handlerFn(error ? JSON.stringify(error) : undefined, JSON.stringify(oauthInfo));
756
- win.close();
757
- return undefined;
758
- }
759
- }
760
- }
761
- catch (e) {
762
- 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()\".");
763
- }
764
- if (error) {
765
- throw new ArcGISAuthError(error.errorMessage, error.error);
766
- }
767
- return new UserSession({
768
- clientId: clientId,
769
- portal: portal,
770
- ssl: oauthInfo.ssl,
771
- token: oauthInfo.token,
772
- tokenExpires: oauthInfo.expires,
773
- username: oauthInfo.username,
774
- });
775
- }
776
- var params = decodeQueryString(win.location.hash);
777
- if (!params.access_token) {
778
- var error = void 0;
779
- var errorMessage = "Unknown error";
780
- if (params.error) {
781
- error = params.error;
782
- errorMessage = params.error_description;
783
- }
784
- return completeSignIn({ error: error, errorMessage: errorMessage });
785
- }
786
- var token = params.access_token;
787
- var expires = new Date(Date.now() + parseInt(params.expires_in, 10) * 1000 - 60 * 1000);
788
- var username = params.username;
789
- var ssl = params.ssl === "true";
790
- return completeSignIn(undefined, {
791
- token: token,
792
- expires: expires,
793
- ssl: ssl,
794
- username: username,
795
- });
796
- };
797
- /**
798
- * Request session information from the parent application
799
- *
800
- * When an application is embedded into another application via an IFrame, the embedded app can
801
- * use `window.postMessage` to request credentials from the host application. This function wraps
802
- * that behavior.
803
- *
804
- * The ArcGIS API for Javascript has this built into the Identity Manager as of the 4.19 release.
805
- *
806
- * Note: The parent application will not respond if the embedded app's origin is not:
807
- * - the same origin as the parent or *.arcgis.com (JSAPI)
808
- * - in the list of valid child origins (REST-JS)
809
- *
810
- *
811
- * @param parentOrigin origin of the parent frame. Passed into the embedded application as `parentOrigin` query param
812
- * @browserOnly
813
- */
814
- UserSession.fromParent = function (parentOrigin, win) {
815
- /* istanbul ignore next: must pass in a mockwindow for tests so we can't cover the other branch */
816
- if (!win && window) {
817
- win = window;
818
- }
819
- // Declare handler outside of promise scope so we can detach it
820
- var handler;
821
- // return a promise that will resolve when the handler receives
822
- // session information from the correct origin
823
- return new Promise(function (resolve, reject) {
824
- // create an event handler that just wraps the parentMessageHandler
825
- handler = function (event) {
826
- // ensure we only listen to events from the parent
827
- if (event.source === win.parent && event.data) {
828
- try {
829
- return resolve(UserSession.parentMessageHandler(event));
830
- }
831
- catch (err) {
832
- return reject(err);
833
- }
834
- }
835
- };
836
- // add listener
837
- win.addEventListener("message", handler, false);
838
- win.parent.postMessage({ type: "arcgis:auth:requestCredential" }, parentOrigin);
839
- }).then(function (session) {
840
- win.removeEventListener("message", handler, false);
841
- return session;
842
- });
843
- };
844
- /**
845
- * Begins a new server-based OAuth 2.0 sign in. This will redirect the user to
846
- * the ArcGIS Online or ArcGIS Enterprise authorization page.
847
- *
848
- * @nodeOnly
849
- */
850
- UserSession.authorize = function (options, response) {
851
- if (options.duration) {
852
- console.log("DEPRECATED: 'duration' is deprecated - use 'expiration' instead");
853
- }
854
- var _a = __assign({ portal: "https://arcgis.com/sharing/rest", expiration: 20160 }, options), portal = _a.portal, clientId = _a.clientId, expiration = _a.expiration, redirectUri = _a.redirectUri;
855
- response.writeHead(301, {
856
- Location: portal + "/oauth2/authorize?client_id=" + clientId + "&expiration=" + (options.duration || expiration) + "&response_type=code&redirect_uri=" + encodeURIComponent(redirectUri),
857
- });
858
- response.end();
859
- };
860
- /**
861
- * Completes the server-based OAuth 2.0 sign in process by exchanging the `authorizationCode`
862
- * for a `access_token`.
863
- *
864
- * @nodeOnly
865
- */
866
- UserSession.exchangeAuthorizationCode = function (options, authorizationCode) {
867
- var _a = __assign({
868
- portal: "https://www.arcgis.com/sharing/rest",
869
- refreshTokenTTL: 20160,
870
- }, options), portal = _a.portal, clientId = _a.clientId, redirectUri = _a.redirectUri, refreshTokenTTL = _a.refreshTokenTTL;
871
- return fetchToken(portal + "/oauth2/token", {
872
- params: {
873
- grant_type: "authorization_code",
874
- client_id: clientId,
875
- redirect_uri: redirectUri,
876
- code: authorizationCode,
877
- },
878
- }).then(function (response) {
879
- return new UserSession({
880
- clientId: clientId,
881
- portal: portal,
882
- ssl: response.ssl,
883
- redirectUri: redirectUri,
884
- refreshToken: response.refreshToken,
885
- refreshTokenTTL: refreshTokenTTL,
886
- refreshTokenExpires: new Date(Date.now() + (refreshTokenTTL - 1) * 60 * 1000),
887
- token: response.token,
888
- tokenExpires: response.expires,
889
- username: response.username,
890
- });
891
- });
892
- };
893
- UserSession.deserialize = function (str) {
894
- var options = JSON.parse(str);
895
- return new UserSession({
896
- clientId: options.clientId,
897
- refreshToken: options.refreshToken,
898
- refreshTokenExpires: new Date(options.refreshTokenExpires),
899
- username: options.username,
900
- password: options.password,
901
- token: options.token,
902
- tokenExpires: new Date(options.tokenExpires),
903
- portal: options.portal,
904
- ssl: options.ssl,
905
- tokenDuration: options.tokenDuration,
906
- redirectUri: options.redirectUri,
907
- refreshTokenTTL: options.refreshTokenTTL,
908
- });
909
- };
910
- /**
911
- * Translates authentication from the format used in the [ArcGIS API for JavaScript](https://developers.arcgis.com/javascript/).
912
- *
913
- * ```js
914
- * UserSession.fromCredential({
915
- * userId: "jsmith",
916
- * token: "secret"
917
- * });
918
- * ```
919
- *
920
- * @returns UserSession
921
- */
922
- UserSession.fromCredential = function (credential) {
923
- // At ArcGIS Online 9.1, credentials no longer include the ssl and expires properties
924
- // Here, we provide default values for them to cover this condition
925
- var ssl = typeof credential.ssl !== "undefined" ? credential.ssl : true;
926
- var expires = credential.expires || Date.now() + 7200000; /* 2 hours */
927
- return new UserSession({
928
- portal: credential.server.includes("sharing/rest")
929
- ? credential.server
930
- : credential.server + "/sharing/rest",
931
- ssl: ssl,
932
- token: credential.token,
933
- username: credential.userId,
934
- tokenExpires: new Date(expires),
935
- });
936
- };
937
- /**
938
- * Handle the response from the parent
939
- * @param event DOM Event
940
- */
941
- UserSession.parentMessageHandler = function (event) {
942
- if (event.data.type === "arcgis:auth:credential") {
943
- return UserSession.fromCredential(event.data.credential);
944
- }
945
- if (event.data.type === "arcgis:auth:error") {
946
- var err = new Error(event.data.error.message);
947
- err.name = event.data.error.name;
948
- throw err;
949
- }
950
- else {
951
- throw new Error("Unknown message type.");
952
- }
953
- };
954
- /**
955
- * Returns authentication in a format useable in the [ArcGIS API for JavaScript](https://developers.arcgis.com/javascript/).
956
- *
957
- * ```js
958
- * esriId.registerToken(session.toCredential());
959
- * ```
960
- *
961
- * @returns ICredential
962
- */
963
- UserSession.prototype.toCredential = function () {
964
- return {
965
- expires: this.tokenExpires.getTime(),
966
- server: this.portal,
967
- ssl: this.ssl,
968
- token: this.token,
969
- userId: this.username,
970
- };
971
- };
972
- /**
973
- * 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.
974
- *
975
- * ```js
976
- * session.getUser()
977
- * .then(response => {
978
- * console.log(response.role); // "org_admin"
979
- * })
980
- * ```
981
- *
982
- * @param requestOptions - Options for the request. NOTE: `rawResponse` is not supported by this operation.
983
- * @returns A Promise that will resolve with the data from the response.
984
- */
985
- UserSession.prototype.getUser = function (requestOptions) {
986
- var _this = this;
987
- if (this._pendingUserRequest) {
988
- return this._pendingUserRequest;
989
- }
990
- else if (this._user) {
991
- return Promise.resolve(this._user);
992
- }
993
- else {
994
- var url = this.portal + "/community/self";
995
- var options = __assign(__assign({ httpMethod: "GET", authentication: this }, requestOptions), { rawResponse: false });
996
- this._pendingUserRequest = request(url, options).then(function (response) {
997
- _this._user = response;
998
- _this._pendingUserRequest = null;
999
- return response;
1000
- });
1001
- return this._pendingUserRequest;
1002
- }
1003
- };
1004
- /**
1005
- * 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.
1006
- *
1007
- * ```js
1008
- * session.getPortal()
1009
- * .then(response => {
1010
- * console.log(portal.name); // "City of ..."
1011
- * })
1012
- * ```
1013
- *
1014
- * @param requestOptions - Options for the request. NOTE: `rawResponse` is not supported by this operation.
1015
- * @returns A Promise that will resolve with the data from the response.
1016
- */
1017
- UserSession.prototype.getPortal = function (requestOptions) {
1018
- var _this = this;
1019
- if (this._pendingPortalRequest) {
1020
- return this._pendingPortalRequest;
1021
- }
1022
- else if (this._portalInfo) {
1023
- return Promise.resolve(this._portalInfo);
1024
- }
1025
- else {
1026
- var url = this.portal + "/portals/self";
1027
- var options = __assign(__assign({ httpMethod: "GET", authentication: this }, requestOptions), { rawResponse: false });
1028
- this._pendingPortalRequest = request(url, options).then(function (response) {
1029
- _this._portalInfo = response;
1030
- _this._pendingPortalRequest = null;
1031
- return response;
1032
- });
1033
- return this._pendingPortalRequest;
1034
- }
1035
- };
1036
- /**
1037
- * 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.
1038
- *
1039
- * * ```js
1040
- * session.getUsername()
1041
- * .then(response => {
1042
- * console.log(response); // "casey_jones"
1043
- * })
1044
- * ```
1045
- */
1046
- UserSession.prototype.getUsername = function () {
1047
- if (this.username) {
1048
- return Promise.resolve(this.username);
1049
- }
1050
- else if (this._user) {
1051
- return Promise.resolve(this._user.username);
1052
- }
1053
- else {
1054
- return this.getUser().then(function (user) {
1055
- return user.username;
1056
- });
1057
- }
1058
- };
1059
- /**
1060
- * Gets an appropriate token for the given URL. If `portal` is ArcGIS Online and
1061
- * the request is to an ArcGIS Online domain `token` will be used. If the request
1062
- * is to the current `portal` the current `token` will also be used. However if
1063
- * the request is to an unknown server we will validate the server with a request
1064
- * to our current `portal`.
1065
- */
1066
- UserSession.prototype.getToken = function (url, requestOptions) {
1067
- if (canUseOnlineToken(this.portal, url)) {
1068
- return this.getFreshToken(requestOptions);
1069
- }
1070
- else if (new RegExp(this.portal, "i").test(url)) {
1071
- return this.getFreshToken(requestOptions);
1072
- }
1073
- else {
1074
- return this.getTokenForServer(url, requestOptions);
1075
- }
1076
- };
1077
- /**
1078
- * Get application access information for the current user
1079
- * see `validateAppAccess` function for details
1080
- *
1081
- * @param clientId application client id
1082
- */
1083
- UserSession.prototype.validateAppAccess = function (clientId) {
1084
- return this.getToken(this.portal).then(function (token) {
1085
- return validateAppAccess(token, clientId);
1086
- });
1087
- };
1088
- UserSession.prototype.toJSON = function () {
1089
- return {
1090
- clientId: this.clientId,
1091
- refreshToken: this.refreshToken,
1092
- refreshTokenExpires: this.refreshTokenExpires,
1093
- username: this.username,
1094
- password: this.password,
1095
- token: this.token,
1096
- tokenExpires: this.tokenExpires,
1097
- portal: this.portal,
1098
- ssl: this.ssl,
1099
- tokenDuration: this.tokenDuration,
1100
- redirectUri: this.redirectUri,
1101
- refreshTokenTTL: this.refreshTokenTTL,
1102
- };
1103
- };
1104
- UserSession.prototype.serialize = function () {
1105
- return JSON.stringify(this);
1106
- };
1107
- /**
1108
- * For a "Host" app that embeds other platform apps via iframes, after authenticating the user
1109
- * and creating a UserSession, the app can then enable "post message" style authentication by calling
1110
- * this method.
1111
- *
1112
- * Internally this adds an event listener on window for the `message` event
1113
- *
1114
- * @param validChildOrigins Array of origins that are allowed to request authentication from the host app
1115
- */
1116
- UserSession.prototype.enablePostMessageAuth = function (validChildOrigins, win) {
1117
- /* istanbul ignore next: must pass in a mockwindow for tests so we can't cover the other branch */
1118
- if (!win && window) {
1119
- win = window;
1120
- }
1121
- this._hostHandler = this.createPostMessageHandler(validChildOrigins);
1122
- win.addEventListener("message", this._hostHandler, false);
1123
- };
1124
- /**
1125
- * For a "Host" app that has embedded other platform apps via iframes, when the host needs
1126
- * to transition routes, it should call `UserSession.disablePostMessageAuth()` to remove
1127
- * the event listener and prevent memory leaks
1128
- */
1129
- UserSession.prototype.disablePostMessageAuth = function (win) {
1130
- /* istanbul ignore next: must pass in a mockwindow for tests so we can't cover the other branch */
1131
- if (!win && window) {
1132
- win = window;
1133
- }
1134
- win.removeEventListener("message", this._hostHandler, false);
1135
- };
1136
- /**
1137
- * Manually refreshes the current `token` and `tokenExpires`.
1138
- */
1139
- UserSession.prototype.refreshSession = function (requestOptions) {
1140
- // make sure subsequent calls to getUser() don't returned cached metadata
1141
- this._user = null;
1142
- if (this.username && this.password) {
1143
- return this.refreshWithUsernameAndPassword(requestOptions);
1144
- }
1145
- if (this.clientId && this.refreshToken) {
1146
- return this.refreshWithRefreshToken();
1147
- }
1148
- return Promise.reject(new ArcGISAuthError("Unable to refresh token."));
1149
- };
1150
- /**
1151
- * Determines the root of the ArcGIS Server or Portal for a given URL.
1152
- *
1153
- * @param url the URl to determine the root url for.
1154
- */
1155
- UserSession.prototype.getServerRootUrl = function (url) {
1156
- var root = cleanUrl(url).split(/\/rest(\/admin)?\/services(?:\/|#|\?|$)/)[0];
1157
- var _a = root.match(/(https?:\/\/)(.+)/), protocol = _a[1], domainAndPath = _a[2];
1158
- var _b = domainAndPath.split("/"), domain = _b[0], path = _b.slice(1);
1159
- // only the domain is lowercased because in some cases an org id might be
1160
- // in the path which cannot be lowercased.
1161
- return "" + protocol + domain.toLowerCase() + "/" + path.join("/");
1162
- };
1163
- /**
1164
- * Returns the proper [`credentials`] option for `fetch` for a given domain.
1165
- * See [trusted server](https://enterprise.arcgis.com/en/portal/latest/administer/windows/configure-security.htm#ESRI_SECTION1_70CC159B3540440AB325BE5D89DBE94A).
1166
- * Used internally by underlying request methods to add support for specific security considerations.
1167
- *
1168
- * @param url The url of the request
1169
- * @returns "include" or "same-origin"
1170
- */
1171
- UserSession.prototype.getDomainCredentials = function (url) {
1172
- if (!this.trustedDomains || !this.trustedDomains.length) {
1173
- return "same-origin";
1174
- }
1175
- return this.trustedDomains.some(function (domainWithProtocol) {
1176
- return url.startsWith(domainWithProtocol);
1177
- })
1178
- ? "include"
1179
- : "same-origin";
1180
- };
1181
- /**
1182
- * Return a function that closes over the validOrigins array and
1183
- * can be used as an event handler for the `message` event
1184
- *
1185
- * @param validOrigins Array of valid origins
1186
- */
1187
- UserSession.prototype.createPostMessageHandler = function (validOrigins) {
1188
- var _this = this;
1189
- // return a function that closes over the validOrigins and
1190
- // has access to the credential
1191
- return function (event) {
1192
- // Verify that the origin is valid
1193
- // Note: do not use regex's here. validOrigins is an array so we're checking that the event's origin
1194
- // is in the array via exact match. More info about avoiding postMessage xss issues here
1195
- // https://jlajara.gitlab.io/web/2020/07/17/Dom_XSS_PostMessage_2.html#tipsbypasses-in-postmessage-vulnerabilities
1196
- var isValidOrigin = validOrigins.indexOf(event.origin) > -1;
1197
- // JSAPI handles this slightly differently - instead of checking a list, it will respond if
1198
- // event.origin === window.location.origin || event.origin.endsWith('.arcgis.com')
1199
- // For Hub, and to enable cross domain debugging with port's in urls, we are opting to
1200
- // use a list of valid origins
1201
- // Ensure the message type is something we want to handle
1202
- var isValidType = event.data.type === "arcgis:auth:requestCredential";
1203
- var isTokenValid = _this.tokenExpires.getTime() > Date.now();
1204
- if (isValidOrigin && isValidType) {
1205
- var msg = {};
1206
- if (isTokenValid) {
1207
- var credential = _this.toCredential();
1208
- // arcgis:auth:error with {name: "", message: ""}
1209
- // the following line allows us to conform to our spec without changing other depended-on functionality
1210
- // https://github.com/Esri/arcgis-rest-js/blob/master/packages/arcgis-rest-auth/post-message-auth-spec.md#arcgisauthcredential
1211
- credential.server = credential.server.replace("/sharing/rest", "");
1212
- msg = { type: "arcgis:auth:credential", credential: credential };
1213
- }
1214
- else {
1215
- // Return an error
1216
- msg = {
1217
- type: "arcgis:auth:error",
1218
- error: {
1219
- name: "tokenExpiredError",
1220
- message: "Session token was expired, and not returned to the child application",
1221
- },
1222
- };
1223
- }
1224
- event.source.postMessage(msg, event.origin);
1225
- }
1226
- };
1227
- };
1228
- /**
1229
- * Validates that a given URL is properly federated with our current `portal`.
1230
- * Attempts to use the internal `federatedServers` cache first.
1231
- */
1232
- UserSession.prototype.getTokenForServer = function (url, requestOptions) {
1233
- var _this = this;
1234
- // requests to /rest/services/ and /rest/admin/services/ are both valid
1235
- // Federated servers may have inconsistent casing, so lowerCase it
1236
- var root = this.getServerRootUrl(url);
1237
- var existingToken = this.federatedServers[root];
1238
- if (existingToken &&
1239
- existingToken.expires &&
1240
- existingToken.expires.getTime() > Date.now()) {
1241
- return Promise.resolve(existingToken.token);
1242
- }
1243
- if (this._pendingTokenRequests[root]) {
1244
- return this._pendingTokenRequests[root];
1245
- }
1246
- this._pendingTokenRequests[root] = this.fetchAuthorizedDomains().then(function () {
1247
- return request(root + "/rest/info", {
1248
- credentials: _this.getDomainCredentials(url),
1249
- })
1250
- .then(function (response) {
1251
- if (response.owningSystemUrl) {
1252
- /**
1253
- * if this server is not owned by this portal
1254
- * bail out with an error since we know we wont
1255
- * be able to generate a token
1256
- */
1257
- if (!isFederated(response.owningSystemUrl, _this.portal)) {
1258
- throw new ArcGISAuthError(url + " is not federated with " + _this.portal + ".", "NOT_FEDERATED");
1259
- }
1260
- else {
1261
- /**
1262
- * if the server is federated, use the relevant token endpoint.
1263
- */
1264
- return request(response.owningSystemUrl + "/sharing/rest/info", requestOptions);
1265
- }
1266
- }
1267
- else if (response.authInfo &&
1268
- _this.federatedServers[root] !== undefined) {
1269
- /**
1270
- * if its a stand-alone instance of ArcGIS Server that doesn't advertise
1271
- * federation, but the root server url is recognized, use its built in token endpoint.
1272
- */
1273
- return Promise.resolve({
1274
- authInfo: response.authInfo,
1275
- });
1276
- }
1277
- else {
1278
- throw new ArcGISAuthError(url + " is not federated with any portal and is not explicitly trusted.", "NOT_FEDERATED");
1279
- }
1280
- })
1281
- .then(function (response) {
1282
- return response.authInfo.tokenServicesUrl;
1283
- })
1284
- .then(function (tokenServicesUrl) {
1285
- // an expired token cant be used to generate a new token
1286
- if (_this.token && _this.tokenExpires.getTime() > Date.now()) {
1287
- return generateToken(tokenServicesUrl, {
1288
- params: {
1289
- token: _this.token,
1290
- serverUrl: url,
1291
- expiration: _this.tokenDuration,
1292
- client: "referer",
1293
- },
1294
- });
1295
- // generate an entirely fresh token if necessary
1296
- }
1297
- else {
1298
- return generateToken(tokenServicesUrl, {
1299
- params: {
1300
- username: _this.username,
1301
- password: _this.password,
1302
- expiration: _this.tokenDuration,
1303
- client: "referer",
1304
- },
1305
- }).then(function (response) {
1306
- _this._token = response.token;
1307
- _this._tokenExpires = new Date(response.expires);
1308
- return response;
1309
- });
1310
- }
1311
- })
1312
- .then(function (response) {
1313
- _this.federatedServers[root] = {
1314
- expires: new Date(response.expires),
1315
- token: response.token,
1316
- };
1317
- delete _this._pendingTokenRequests[root];
1318
- return response.token;
1319
- });
1320
- });
1321
- return this._pendingTokenRequests[root];
1322
- };
1323
- /**
1324
- * Returns an unexpired token for the current `portal`.
1325
- */
1326
- UserSession.prototype.getFreshToken = function (requestOptions) {
1327
- var _this = this;
1328
- if (this.token && !this.tokenExpires) {
1329
- return Promise.resolve(this.token);
1330
- }
1331
- if (this.token &&
1332
- this.tokenExpires &&
1333
- this.tokenExpires.getTime() > Date.now()) {
1334
- return Promise.resolve(this.token);
1335
- }
1336
- if (!this._pendingTokenRequests[this.portal]) {
1337
- this._pendingTokenRequests[this.portal] = this.refreshSession(requestOptions).then(function (session) {
1338
- _this._pendingTokenRequests[_this.portal] = null;
1339
- return session.token;
1340
- });
1341
- }
1342
- return this._pendingTokenRequests[this.portal];
1343
- };
1344
- /**
1345
- * Refreshes the current `token` and `tokenExpires` with `username` and
1346
- * `password`.
1347
- */
1348
- UserSession.prototype.refreshWithUsernameAndPassword = function (requestOptions) {
1349
- var _this = this;
1350
- var options = __assign({ params: {
1351
- username: this.username,
1352
- password: this.password,
1353
- expiration: this.tokenDuration,
1354
- } }, requestOptions);
1355
- return generateToken(this.portal + "/generateToken", options).then(function (response) {
1356
- _this._token = response.token;
1357
- _this._tokenExpires = new Date(response.expires);
1358
- return _this;
1359
- });
1360
- };
1361
- /**
1362
- * Refreshes the current `token` and `tokenExpires` with `refreshToken`.
1363
- */
1364
- UserSession.prototype.refreshWithRefreshToken = function (requestOptions) {
1365
- var _this = this;
1366
- if (this.refreshToken &&
1367
- this.refreshTokenExpires &&
1368
- this.refreshTokenExpires.getTime() < Date.now()) {
1369
- return this.refreshRefreshToken(requestOptions);
1370
- }
1371
- var options = __assign({ params: {
1372
- client_id: this.clientId,
1373
- refresh_token: this.refreshToken,
1374
- grant_type: "refresh_token",
1375
- } }, requestOptions);
1376
- return fetchToken(this.portal + "/oauth2/token", options).then(function (response) {
1377
- _this._token = response.token;
1378
- _this._tokenExpires = response.expires;
1379
- return _this;
1380
- });
1381
- };
1382
- /**
1383
- * Exchanges an unexpired `refreshToken` for a new one, also updates `token` and
1384
- * `tokenExpires`.
1385
- */
1386
- UserSession.prototype.refreshRefreshToken = function (requestOptions) {
1387
- var _this = this;
1388
- var options = __assign({ params: {
1389
- client_id: this.clientId,
1390
- refresh_token: this.refreshToken,
1391
- redirect_uri: this.redirectUri,
1392
- grant_type: "exchange_refresh_token",
1393
- } }, requestOptions);
1394
- return fetchToken(this.portal + "/oauth2/token", options).then(function (response) {
1395
- _this._token = response.token;
1396
- _this._tokenExpires = response.expires;
1397
- _this._refreshToken = response.refreshToken;
1398
- _this._refreshTokenExpires = new Date(Date.now() + (_this.refreshTokenTTL - 1) * 60 * 1000);
1399
- return _this;
1400
- });
1401
- };
1402
- /**
1403
- * ensures that the authorizedCrossOriginDomains are obtained from the portal and cached
1404
- * so we can check them later.
1405
- *
1406
- * @returns this
1407
- */
1408
- UserSession.prototype.fetchAuthorizedDomains = function () {
1409
- var _this = this;
1410
- // if this token is for a specific server or we don't have a portal
1411
- // don't get the portal info because we cant get the authorizedCrossOriginDomains
1412
- if (this.server || !this.portal) {
1413
- return Promise.resolve(this);
1414
- }
1415
- return this.getPortal().then(function (portalInfo) {
1416
- /**
1417
- * Specific domains can be configured as secure.esri.com or https://secure.esri.com this
1418
- * normalizes to https://secure.esri.com so we can use startsWith later.
1419
- */
1420
- if (portalInfo.authorizedCrossOriginDomains &&
1421
- portalInfo.authorizedCrossOriginDomains.length) {
1422
- _this.trustedDomains = portalInfo.authorizedCrossOriginDomains
1423
- .filter(function (d) { return !d.startsWith("http://"); })
1424
- .map(function (d) {
1425
- if (d.startsWith("https://")) {
1426
- return d;
1427
- }
1428
- else {
1429
- return "https://" + d;
1430
- }
1431
- });
1432
- }
1433
- return _this;
1434
- });
1435
- };
1436
- return UserSession;
1437
- }());
1438
-
1439
- const solutionConfigurationCss = ".configuration-container{position:relative;height:100%;width:100%}.configuration{position:absolute;top:0px;right:0px;bottom:0px;left:0px;display:flex;padding:0.5rem;border:1px #808080 solid}.config-tabs{width:100%}.config-tab{width:100%}.config-solution{position:absolute;top:3.5rem;right:-1px;bottom:-1px;left:-1px;display:flex;padding:0.5rem}.config-inventory{display:inline;max-width:-moz-min-content;max-width:min-content;flex-grow:0;overflow-y:auto}.config-inventory-hide{display:none;max-width:-moz-min-content;max-width:min-content;flex-grow:0;overflow-y:auto}.config-item{position:relative;display:inline;flex-grow:1;overflow-y:auto;-webkit-margin-start:0.5rem;margin-inline-start:0.5rem}solution-contents{position:relative;height:100%}solution-item{position:relative;height:100%}solution-spatial-ref{position:relative;height:100%;width:100%;overflow-y:auto}";
1440
-
1441
- const SolutionConfiguration = class {
1442
- //--------------------------------------------------------------------------
1443
- //
1444
- // Lifecycle
1445
- //
1446
- //--------------------------------------------------------------------------
1447
- constructor(hostRef) {
1448
- registerInstance(this, hostRef);
1449
- this._solutionStoreHasChanges = false;
1450
- this._solutionEditorHasChanges = false;
1451
- this._solutionEditorHasErrors = false;
1452
- this._canSave = false;
1453
- this.authentication = new UserSession({});
1454
- this.solutionItemId = "";
1455
- this.showLoading = false;
1456
- this._currentEditItemId = "";
1457
- this._organizationVariables = "";
1458
- this._solutionContentsComponent = undefined;
1459
- this._solutionIsLoaded = false;
1460
- this._solutionVariables = "";
1461
- this._templateHierarchy = [];
1462
- this._translations = undefined;
1463
- this._treeOpen = true;
1464
- void this._loadSolution(this.solutionItemId);
1465
- window.addEventListener("solutionStoreHasChanges", (evt) => {
1466
- this._updateSaveability(this._solutionStoreHasChanges = evt.detail, this._solutionEditorHasChanges, this._solutionEditorHasErrors);
1467
- });
1468
- window.addEventListener("solutionEditorHasChanges", (evt) => {
1469
- this._updateSaveability(this._solutionStoreHasChanges, this._solutionEditorHasChanges = evt.detail, this._solutionEditorHasErrors);
1470
- });
1471
- window.addEventListener("solutionEditorHasErrors", (evt) => {
1472
- this._updateSaveability(this._solutionStoreHasChanges, this._solutionEditorHasChanges, this._solutionEditorHasErrors = evt.detail);
1473
- });
1474
- }
1475
- async valueWatchHandler() {
1476
- console.log("update solution config " + this.solutionItemId); //???
1477
- await this._loadSolution(this.solutionItemId);
1478
- }
1479
- /**
1480
- * StencilJS: Called once just after the component is first connected to the DOM.
1481
- *
1482
- * @returns Promise when complete
1483
- */
1484
- async componentWillLoad() {
1485
- return this._getTranslations();
1486
- }
1487
- /**
1488
- * Renders the component.
1489
- */
1490
- render() {
1491
- console.log("render solution config " + this.solutionItemId); //???
1492
- const wkid = getProp(state.getStoreInfo("spatialReferenceInfo"), "spatialReference");
1493
- const hasServices = state.getStoreInfo("featureServices").length > 0;
1494
- const solutionData = state.getStoreInfo("solutionData");
1495
- this._solutionVariables = JSON.stringify(getSolutionVariables(solutionData.templates, this._translations));
1496
- this._organizationVariables = JSON.stringify(getOrganizationVariables(this._translations));
1497
- return (h(Host, null, !this._solutionIsLoaded
1498
- ? h("calcite-loader", { active: true, label: '' })
1499
- : null, h("div", { class: "configuration-container" }, h("div", { class: "configuration" }, h("calcite-tabs", { class: "config-tabs" }, h("calcite-tab-nav", { slot: "tab-nav" }, h("calcite-tab-title", null, this._translations.definitionTab), hasServices ?
1500
- h("calcite-tab-title", null, this._translations.spatialReferenceTab) :
1501
- null), h("calcite-tab", { active: true, class: "config-tab" }, h("div", { class: "config-solution" }, h("div", { class: this._treeOpen ? "config-inventory" : "config-inventory-hide" }, h("solution-contents", { id: "configInventory", key: `${this.solutionItemId}-contents`, ref: (el) => (this._solutionContentsComponent = el) })), h("calcite-button", { appearance: "transparent", class: "collapse-btn", "icon-start": this._treeOpen ? "chevrons-left" : "chevrons-right", id: "collapse-vars", onClick: () => this._toggleTree(), scale: "s", title: this._treeOpen ? this._translations.collapse : this._translations.expand }), h("div", { class: "config-item" }, h("solution-item", { authentication: this.authentication, "item-id": this._currentEditItemId, key: `${this.solutionItemId}-item`, "organization-variables": this._organizationVariables, "solution-item-id": this.solutionItemId, "solution-variables": this._solutionVariables })))), hasServices
1502
- ? h("calcite-tab", { class: "config-tab" }, h("div", { class: "config-solution" }, h("solution-spatial-ref", { defaultWkid: wkid, id: "configure-solution-spatial-ref", key: `${this.solutionItemId}-spatial-ref`, locked: !wkid, services: state.getStoreInfo("featureServices").map(fs => fs.name) })))
1503
- : null)))));
1504
- }
1505
- //--------------------------------------------------------------------------
1506
- //
1507
- // Event Listeners
1508
- //
1509
- //--------------------------------------------------------------------------
1510
- _solutionItemSelected(event) {
1511
- this._currentEditItemId = event.detail;
1512
- }
1513
- //--------------------------------------------------------------------------
1514
- //
1515
- // Events
1516
- //
1517
- //--------------------------------------------------------------------------
1518
- //--------------------------------------------------------------------------
1519
- //
1520
- // Public Methods (async)
1521
- //
1522
- //--------------------------------------------------------------------------
1523
- /*
1524
- @Method()
1525
- async getEditModels(): Promise<ISolutionItems> {
1526
- return Promise.resolve(state.items);
1527
- }
1528
- */
1529
- async getSpatialReferenceInfo() {
1530
- return Promise.resolve(state.getStoreInfo("spatialReferenceInfo"));
1531
- }
1532
- /*
1533
- @Method()
1534
- async getSourceTemplates(): Promise<any> {
1535
- return Promise.resolve(this._templates);
1536
- }
1537
- */
1538
- async saveSolution() {
1539
- this._solutionIsLoaded = false;
1540
- await state.saveSolution();
1541
- this._solutionIsLoaded = true;
1542
- this.solutionItemId = null;
1543
- }
1544
- async unloadSolution() {
1545
- this.solutionItemId = null;
1546
- }
1547
- //--------------------------------------------------------------------------
1548
- //
1549
- // Private Methods
1550
- //
1551
- //--------------------------------------------------------------------------
1552
- /**
1553
- * Update the store with the initial values
1554
- *
1555
- * @param templates the solution items templates
1556
- * @param isReset (defaults to false) indicates if we are resetting the controls after save
1557
- */
1558
- /*
1559
- protected _initState(
1560
- templates: any[],
1561
- isReset = false
1562
- ): Promise<any> {
1563
- return new Promise((resolve, reject) => {
1564
- if (isReset) {
1565
- // clear models and state so we can refresh after save
1566
- this.modelsSet = false;
1567
- state.reset();
1568
- }
1569
- getModels(templates, this.authentication, this.solutionItemId).then(models => {
1570
- state.models = models;
1571
-
1572
- state.featureServices = getFeatureServices(templates);
1573
- state.getStoreInfo("spatialReferenceInfo") = getSpatialReferenceInfo(state.featureServices, this._sourceItemData);
1574
-
1575
- if (isReset) {
1576
- // reset for undo/redo stack and diff editor tracking
1577
- const jsonEditors = Array.from(this.el.getElementsByTagName("json-editor"));
1578
- // eslint-disable-next-line @typescript-eslint/no-floating-promises
1579
- jsonEditors.forEach(e => void e.reset());
1580
- }
1581
-
1582
- this.modelsSet = true;
1583
- resolve(true);
1584
- }, () => reject);
1585
- });
1586
- }
1587
- */
1588
- /**
1589
- * Set Props with the initial values
1590
- *
1591
- * @protected
1592
- */
1593
- _initProps() {
1594
- const solutionData = state.getStoreInfo("solutionData");
1595
- this._templateHierarchy = [...getInventoryItems(solutionData.templates)];
1596
- if (this._solutionContentsComponent) {
1597
- this._solutionContentsComponent.templateHierarchy = this._templateHierarchy;
1598
- }
1599
- let firstItem;
1600
- if (this._templateHierarchy.length > 0) {
1601
- // Start with the first item in the contents
1602
- firstItem = state.getItemInfo(this._templateHierarchy[0].id);
1603
- console.log("init with first item " + firstItem.itemId); //???
1604
- }
1605
- else {
1606
- console.log("no initial first item"); //???
1607
- }
1608
- this._currentEditItemId = firstItem ? firstItem.itemId : "";
1609
- }
1610
- /**
1611
- * Loads a solution.
1612
- *
1613
- * @param solutionItemId AGO id of solution to load
1614
- *
1615
- * @returns Resolved promise when task is done
1616
- *
1617
- * @protected
1618
- */
1619
- async _loadSolution(solutionItemId) {
1620
- if (solutionItemId) {
1621
- this._solutionIsLoaded = false;
1622
- await state.loadSolution(solutionItemId, this.authentication);
1623
- this._initProps();
1624
- this._solutionIsLoaded = true;
1625
- }
1626
- else {
1627
- this._reset();
1628
- }
1629
- return Promise.resolve();
1630
- }
1631
- /**
1632
- * Resets internal variables.
1633
- *
1634
- * @protected
1635
- */
1636
- _reset() {
1637
- this._currentEditItemId = "";
1638
- this._organizationVariables = "";
1639
- this._solutionVariables = "";
1640
- this._templateHierarchy = [];
1641
- }
1642
- /**
1643
- * Toggle _treeOpen prop to show/hide content tree.
1644
- *
1645
- * @protected
1646
- */
1647
- _toggleTree() {
1648
- this._treeOpen = !this._treeOpen;
1649
- }
1650
- /**
1651
- * Dispatches an event indicating if the configuration is saveable or not. It's not saveable if there are no
1652
- * changes or if there's an error in the JSON editor.
1653
- *
1654
- * @param solutionStoreHasChanges Are there changes in the configuration editor's internal store?
1655
- * @param solutionEditorHasChanges Are there changes in the configuration editor's JSON editor?
1656
- * @param solutionEditorHasErrors Are there errors in the configuration editor's JSON editor?
1657
- *
1658
- * @protected
1659
- */
1660
- _updateSaveability(solutionStoreHasChanges, solutionEditorHasChanges, solutionEditorHasErrors) {
1661
- const updateSaveability = (solutionStoreHasChanges || solutionEditorHasChanges) && !solutionEditorHasErrors;
1662
- if (this._canSave !== updateSaveability) {
1663
- window.dispatchEvent(new CustomEvent("solutionCanSave", {
1664
- detail: updateSaveability,
1665
- bubbles: true,
1666
- cancelable: false,
1667
- composed: true
1668
- }));
1669
- }
1670
- this._canSave = updateSaveability;
1671
- }
1672
- /**
1673
- * Save all edits from the current configuration
1674
- *
1675
- * @returns a response that will indicate success or failure and any associated messages
1676
- */
1677
- /*
1678
- protected async _save() {
1679
- const templateUpdates = await this._updateTemplates();
1680
- const data = this._setSrInfo(templateUpdates.templates);
1681
- return templateUpdates.errors.length === 0 ? save(
1682
- this.solutionItemId,
1683
- data,
1684
- state.models,
1685
- this.authentication,
1686
- this._translations
1687
- ).then(saveResult => {
1688
- // need to trigger re-render...and re-fetch
1689
- this._fetchData = true;
1690
- this.modelsSet = false;
1691
- return Promise.resolve(saveResult)
1692
- }).catch(e => Promise.reject(e)) : Promise.reject({
1693
- success: false,
1694
- message: `The following templates have errors: ${templateUpdates.errors.join(", ")}`
1695
- } as IResponse);
1696
- }
1697
- */
1698
- /**
1699
- * Update the solutions templates based on the stored changes
1700
- *
1701
- * @returns an object that contains the updated templates as well as any errors that were found
1702
- */
1703
- /*
1704
- protected async _updateTemplates(): Promise<IUpdateTemplateResponse> {
1705
- const errors = [];
1706
- const models = await this.getEditModels();
1707
- let templates = this._updateGroupDependencies(models, this._templates);
1708
- Object.keys(models).forEach(k => {
1709
- const m = models[k];
1710
- templates = templates.map(t => {
1711
- if (t.itemId === m.itemId) {
1712
- this._setItem(t, m);
1713
- const hasDataError = this._setData(t, m);
1714
- const hasPropError = this._setProps(t, m);
1715
- if (hasDataError || hasPropError) {
1716
- errors.push(m.itemId);
1717
- }
1718
- }
1719
- return t;
1720
- });
1721
- });
1722
- errors.concat(window.monaco.editor.getModelMarkers({}));
1723
- return Promise.resolve({
1724
- templates,
1725
- errors
1726
- });
1727
- }
1728
- */
1729
- /**
1730
- * Review all models and store itemIds that should be added or removed from group dependencies
1731
- *
1732
- * @param models the corresponding models for the current templates
1733
- *
1734
- * @returns group info (an object with keys of groupIds and
1735
- * arrays of itemIds that should be added or removed from group dependencies)
1736
- */
1737
- /*
1738
- protected _getGroupInfo(
1739
- models: any
1740
- ): any {
1741
- const groupInfo = {}
1742
- Object.keys(models).forEach(k => {
1743
- const m = models[k];
1744
- if (m.shareInfo) {
1745
- const groupId = m.shareInfo.groupId;
1746
- const type = m.shareInfo.shared ? "share" : "unshare";
1747
- if (groupInfo[groupId]) {
1748
- groupInfo[groupId][type].push(m.itemId);
1749
- } else {
1750
- groupInfo[groupId] = {};
1751
- groupInfo[groupId][type] = [m.itemId];
1752
- if (m.shareInfo.shared) {
1753
- groupInfo[groupId]["unshare"] = [];
1754
- } else {
1755
- groupInfo[groupId]["share"] = [];
1756
- }
1757
- }
1758
- }
1759
- });
1760
- return groupInfo;
1761
- }
1762
- */
1763
- /**
1764
- * Updates group dependency arrays by adding or removing itemIds
1765
- *
1766
- * @param templates the current templates to update
1767
- * @param models the corresponding models for the current templates
1768
- *
1769
- * @returns updated templates array
1770
- */
1771
- /*
1772
- protected _updateGroupDependencies(
1773
- models: any,
1774
- templates: any[]
1775
- ): any[] {
1776
- const groupInfo = this._getGroupInfo(models);
1777
- Object.keys(groupInfo).forEach(k => {
1778
- templates.some(t => {
1779
- if (t.itemId === k) {
1780
- // add share items as deps
1781
- groupInfo[k].share.forEach(s => {
1782
- if (t.dependencies.indexOf(s) < 0) {
1783
- t.dependencies.push(s);
1784
- }
1785
- });
1786
-
1787
- // remove unshare items from deps
1788
- groupInfo[k].unshare.forEach(s => {
1789
- const index = t.dependencies.indexOf(s);
1790
- if (index > -1) {
1791
- t.dependencies.splice(index, 1);
1792
- }
1793
- });
1794
- return true;
1795
- } else {
1796
- return false;
1797
- }
1798
- })
1799
- })
1800
- return templates;
1801
- }
1802
- */
1803
- /**
1804
- * Add group IDs to items that should be shared
1805
- * This function will update the provided template when shareInfo is available
1806
- *
1807
- * @param template the current template to update
1808
- * @param shareInfo the corresponding shareInfo from the model for the current template
1809
- *
1810
- */
1811
- /*
1812
- protected _updateItemGroups(
1813
- template: any,
1814
- shareInfo: any
1815
- ): void {
1816
- if (shareInfo) {
1817
- const groupIndex = template.groups.indexOf(shareInfo.groupId);
1818
- if (groupIndex < 0 && shareInfo.shared) {
1819
- template.groups.push(shareInfo.groupId);
1820
- }
1821
- if (groupIndex > -1 && !shareInfo.shared) {
1822
- template.groups.splice(groupIndex, 1);
1823
- }
1824
- }
1825
- }
1826
- */
1827
- /**
1828
- * Set a templates data property with changes from the models
1829
- *
1830
- * @param template the current template to update
1831
- * @param model the corresponding model for the current template (stores any user changes)
1832
- *
1833
- * @returns a boolean that indicates if any errors were detected
1834
- */
1835
- /*
1836
- protected _setData(
1837
- template: any,
1838
- model: any
1839
- ): boolean {
1840
- return this._setTemplateProp(
1841
- template,
1842
- model.dataOriginalValue,
1843
- model.dataCurrentValue,
1844
- "data"
1845
- );
1846
- }
1847
- */
1848
- /**
1849
- * Set a templates properties property with changes from the models
1850
- *
1851
- * @param template the current template to update
1852
- * @param model the corresponding model for the current template (stores any user changes)
1853
- *
1854
- * @returns a boolean that indicates if any errors were detected
1855
- */
1856
- /*
1857
- protected _setProps(
1858
- template: any,
1859
- model: any
1860
- ): boolean {
1861
- return this._setTemplateProp(
1862
- template,
1863
- model.propsOriginalValue,
1864
- model.propsCurrentValue,
1865
- "properties"
1866
- );
1867
- }
1868
- */
1869
- /**
1870
- * Generic function used to set properties or data property on a given template
1871
- *
1872
- * @param template the current template to update
1873
- * @param originValue the original value from the solution template
1874
- * @param modelValue the current value from the model (will contain any edits that have been made)
1875
- * @param path the path to the property we should update if any changes are found
1876
- *
1877
- * @returns a boolean that indicates if any errors were detected
1878
- */
1879
- /*
1880
- protected _setTemplateProp(
1881
- template: any,
1882
- originValue: any,
1883
- modelValue: any,
1884
- path: string
1885
- ): boolean {
1886
- let hasError = false;
1887
- try {
1888
- const _originValue = JSON.parse(originValue);
1889
- const _modelValue = JSON.parse(modelValue);
1890
-
1891
- if (_originValue && _modelValue && (JSON.stringify(_originValue) !== JSON.stringify(_modelValue))) {
1892
- setProp(template, path, _modelValue);
1893
- }
1894
- } catch (e) {
1895
- console.error(e);
1896
- hasError = true;
1897
- }
1898
- return hasError;
1899
- }
1900
- */
1901
- /**
1902
- * Set a templates item property with changes from the models
1903
- *
1904
- * @param template the current template to update
1905
- * @param model the corresponding model for the current template (stores any user changes)
1906
- *
1907
- * This function will update the template argument when edits are found
1908
- */
1909
- /*
1910
- protected _setItem(
1911
- template: any,
1912
- model: any
1913
- ): void {
1914
- this._updateItemGroups(template, model.shareInfo);
1915
- if (model.updateItemValues && Object.keys(model.updateItemValues).length > 0) {
1916
- Object.keys(model.updateItemValues).forEach(k => {
1917
- template.item[k] = model.updateItemValues[k];
1918
- });
1919
- }
1920
- }
1921
- */
1922
- /**
1923
- * Set spatial reference info in the solutions data
1924
- *
1925
- * @param templates a list of item templates from the solution
1926
- *
1927
- * @returns a cloned copy of the solutions data that has been updated with spatial reference info
1928
- *
1929
- */
1930
- /*
1931
- protected _setSrInfo(
1932
- templates: any[]
1933
- ): any {
1934
- const srInfo: any = state.getStoreInfo("spatialReferenceInfo");
1935
-
1936
- const serviceEnabled = typeof srInfo?.services === "undefined" ?
1937
- false : Object.keys(srInfo.services).some(k => srInfo.services[k]);
1938
-
1939
- const data = cloneObject(this._sourceItemData);
1940
- data.templates = templates;
1941
- if (srInfo && srInfo.enabled && serviceEnabled) {
1942
- const wkid = srInfo.spatialReference.wkid.toString();
1943
-
1944
- const wkidParam = {
1945
- "label": "Spatial Reference",
1946
- "default": wkid,
1947
- "valueType": "spatialReference",
1948
- "attributes": {
1949
- "required": "true"
1950
- }
1951
- };
1952
-
1953
- const params = getProp(data, "params");
1954
- const hasWkid = params && params.wkid;
1955
- setCreateProp(
1956
- data,
1957
- hasWkid ? "params.wkid.default" : "params.wkid",
1958
- hasWkid ? wkid : params ? wkidParam : wkid
1959
- );
1960
- } else if (!srInfo.enabled) {
1961
- if (getProp(data, "params.wkid")) {
1962
- delete (data.params.wkid);
1963
- }
1964
- }
1965
- return data;
1966
- }
1967
- */
1968
- /**
1969
- * Fetches the component's translations
1970
- *
1971
- * @protected
1972
- */
1973
- async _getTranslations() {
1974
- const translations = await getLocaleComponentStrings(this.el);
1975
- this._translations = translations[0];
1976
- }
1977
- get el() { return getElement(this); }
1978
- static get watchers() { return {
1979
- "solutionItemId": ["valueWatchHandler"]
1980
- }; }
1981
- };
1982
- SolutionConfiguration.style = solutionConfigurationCss;
1983
-
1984
- export { SolutionConfiguration as solution_configuration };
1985
-
1986
- //# sourceMappingURL=p-90629c1d.entry.js.map