@esri/solutions-components 0.10.49 → 0.11.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1250) hide show
  1. package/dist/cjs/ExpandToggle-44886935.js +115 -0
  2. package/dist/cjs/FloatingArrow-d7ea2b0f.js +48 -0
  3. package/dist/cjs/Heading-ee0aa171.js +25 -0
  4. package/dist/cjs/IdentityManager-d84c82f1.js +2047 -0
  5. package/dist/cjs/Validation-9515ef0c.js +20 -0
  6. package/dist/cjs/app-globals-03a6ab9b.js +67 -0
  7. package/dist/cjs/ar-180cd9b0.js +106 -0
  8. package/dist/cjs/asyncToGenerator-c7fc3ee4.js +92 -0
  9. package/dist/cjs/basemap-gallery_7.cjs.entry.js +37 -12
  10. package/dist/cjs/bg-fd095c86.js +84 -0
  11. package/dist/cjs/browser-717f77af.js +35 -0
  12. package/dist/cjs/bs-11fa6f0d.js +53 -0
  13. package/dist/cjs/buffer-tools_3.cjs.entry.js +6 -6
  14. package/dist/cjs/ca-0685b1cc.js +73 -0
  15. package/dist/cjs/calcite-accordion_2.cjs.entry.js +5 -5
  16. package/dist/cjs/calcite-action-bar.cjs.entry.js +8 -8
  17. package/dist/cjs/calcite-action-group.cjs.entry.js +7 -7
  18. package/dist/cjs/calcite-action-menu_2.cjs.entry.js +9 -9
  19. package/dist/cjs/calcite-action-pad_2.cjs.entry.js +8 -8
  20. package/dist/cjs/calcite-action_2.cjs.entry.js +13 -13
  21. package/dist/cjs/calcite-alert_2.cjs.entry.js +500 -0
  22. package/dist/cjs/calcite-avatar.cjs.entry.js +1 -1
  23. package/dist/cjs/calcite-block-section.cjs.entry.js +6 -6
  24. package/dist/cjs/calcite-block_5.cjs.entry.js +17 -17
  25. package/dist/cjs/calcite-button-de2c2e75.js +282 -0
  26. package/dist/cjs/calcite-button.cjs.entry.js +8 -8
  27. package/dist/cjs/calcite-card-group.cjs.entry.js +4 -4
  28. package/dist/cjs/calcite-card.cjs.entry.js +7 -7
  29. package/dist/cjs/calcite-carousel_2.cjs.entry.js +7 -7
  30. package/dist/cjs/calcite-checkbox.cjs.entry.js +5 -5
  31. package/dist/cjs/calcite-chip-group.cjs.entry.js +4 -4
  32. package/dist/cjs/calcite-chip_2.cjs.entry.js +9 -9
  33. package/dist/cjs/calcite-color-picker-hex-input_2.cjs.entry.js +3 -3
  34. package/dist/cjs/calcite-color-picker.cjs.entry.js +7 -7
  35. package/dist/cjs/calcite-combobox-item-group.cjs.entry.js +3 -3
  36. package/dist/cjs/calcite-combobox_3.cjs.entry.js +66 -20
  37. package/dist/cjs/calcite-date-picker-day_3.cjs.entry.js +8 -8
  38. package/dist/cjs/calcite-dialog-a5c288bb.js +5876 -0
  39. package/dist/cjs/calcite-dialog.cjs.entry.js +9 -9
  40. package/dist/cjs/calcite-dropdown_2.cjs.entry.js +7 -7
  41. package/dist/cjs/calcite-fab.cjs.entry.js +4 -4
  42. package/dist/cjs/calcite-filter_5.cjs.entry.js +7 -7
  43. package/dist/cjs/calcite-flow-item_5.cjs.entry.js +1752 -0
  44. package/dist/cjs/calcite-flow_4.cjs.entry.js +12 -12
  45. package/dist/cjs/calcite-graph_2.cjs.entry.js +7 -7
  46. package/dist/cjs/calcite-icon_2.cjs.entry.js +4 -4
  47. package/dist/cjs/calcite-inline-editable.cjs.entry.js +7 -7
  48. package/dist/cjs/calcite-input-945ec162.js +1001 -0
  49. package/dist/cjs/calcite-input-number.cjs.entry.js +9 -9
  50. package/dist/cjs/calcite-input-text.cjs.entry.js +9 -9
  51. package/dist/cjs/calcite-input-time-picker-3aeef2d4.js +1870 -0
  52. package/dist/cjs/calcite-input-time-picker.cjs.entry.js +13 -13
  53. package/dist/cjs/calcite-input-time-zone.cjs.entry.js +8 -8
  54. package/dist/cjs/calcite-input_2.cjs.entry.js +9 -9
  55. package/dist/cjs/calcite-label-e7b67a86.js +111 -0
  56. package/dist/cjs/calcite-label.cjs.entry.js +1 -1
  57. package/dist/cjs/calcite-link.cjs.entry.js +4 -4
  58. package/dist/cjs/calcite-list-item-group.cjs.entry.js +2 -2
  59. package/dist/cjs/calcite-menu-item.cjs.entry.js +6 -6
  60. package/dist/cjs/calcite-menu.cjs.entry.js +6 -6
  61. package/dist/cjs/calcite-meter.cjs.entry.js +6 -6
  62. package/dist/cjs/calcite-modal_4.cjs.entry.js +972 -0
  63. package/dist/cjs/calcite-navigation-logo.cjs.entry.js +4 -4
  64. package/dist/cjs/calcite-navigation-user.cjs.entry.js +3 -3
  65. package/dist/cjs/calcite-navigation.cjs.entry.js +3 -3
  66. package/dist/cjs/calcite-notice-a48cc9e7.js +261 -0
  67. package/dist/cjs/calcite-notice.cjs.entry.js +8 -8
  68. package/dist/cjs/calcite-option-group.cjs.entry.js +1 -1
  69. package/dist/cjs/calcite-option_2.cjs.entry.js +7 -7
  70. package/dist/cjs/calcite-pagination.cjs.entry.js +6 -6
  71. package/dist/cjs/calcite-pick-list-group.cjs.entry.js +7 -7
  72. package/dist/cjs/calcite-pick-list-item.cjs.entry.js +10 -10
  73. package/dist/cjs/calcite-pick-list.cjs.entry.js +8 -8
  74. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +5 -5
  75. package/dist/cjs/calcite-radio-button.cjs.entry.js +5 -5
  76. package/dist/cjs/calcite-rating.cjs.entry.js +8 -8
  77. package/dist/cjs/calcite-scrim.cjs.entry.js +5 -5
  78. package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +6 -6
  79. package/dist/cjs/calcite-sheet.cjs.entry.js +7 -7
  80. package/dist/cjs/calcite-shell-center-row.cjs.entry.js +6 -6
  81. package/dist/cjs/calcite-shell-panel_14.cjs.entry.js +24 -24
  82. package/dist/cjs/calcite-shell.cjs.entry.js +4 -4
  83. package/dist/cjs/calcite-sortable-list.cjs.entry.js +4 -4
  84. package/dist/cjs/calcite-split-button.cjs.entry.js +4 -4
  85. package/dist/cjs/calcite-stepper-item.cjs.entry.js +7 -7
  86. package/dist/cjs/calcite-stepper.cjs.entry.js +5 -5
  87. package/dist/cjs/calcite-switch.cjs.entry.js +5 -5
  88. package/dist/cjs/calcite-table-cell_2.cjs.entry.js +7 -7
  89. package/dist/cjs/calcite-table-row.cjs.entry.js +2 -2
  90. package/dist/cjs/calcite-table.cjs.entry.js +6 -6
  91. package/dist/cjs/calcite-text-area.cjs.entry.js +9 -9
  92. package/dist/cjs/calcite-tile-group.cjs.entry.js +4 -4
  93. package/dist/cjs/calcite-tile-select-group.cjs.entry.js +4 -4
  94. package/dist/cjs/calcite-tile-select.cjs.entry.js +6 -6
  95. package/dist/cjs/calcite-tile.cjs.entry.js +4 -4
  96. package/dist/cjs/calcite-time-picker.cjs.entry.js +7 -7
  97. package/dist/cjs/calcite-tip-group.cjs.entry.js +3 -3
  98. package/dist/cjs/calcite-tip-manager.cjs.entry.js +8 -8
  99. package/dist/cjs/calcite-tip.cjs.entry.js +9 -9
  100. package/dist/cjs/calcite-tooltip.cjs.entry.js +5 -5
  101. package/dist/cjs/calcite-tree_2.cjs.entry.js +5 -5
  102. package/dist/cjs/card-manager_3.cjs.entry.js +194 -51
  103. package/dist/cjs/common-10d11a29.js +37 -0
  104. package/dist/cjs/conditionalSlot-130cce71.js +54 -0
  105. package/dist/cjs/config-c999f8fc.js +40 -0
  106. package/dist/cjs/consent-manager.cjs.entry.js +7915 -46
  107. package/dist/cjs/crowdsource-manager.cjs.entry.js +6 -6
  108. package/dist/cjs/crowdsource-reporter.cjs.entry.js +3 -3
  109. package/dist/cjs/cs-70e8ba01.js +149 -0
  110. package/dist/cjs/da-e8eb9ff4.js +69 -0
  111. package/dist/cjs/date-40a80298.js +264 -0
  112. package/dist/cjs/de-4b8310d2.js +93 -0
  113. package/dist/cjs/de-at-dc8ed8c3.js +92 -0
  114. package/dist/cjs/de-ch-c5971940.js +92 -0
  115. package/dist/cjs/deduct-calculator.cjs.entry.js +2 -2
  116. package/dist/cjs/downloadUtils-b6490537.js +3223 -0
  117. package/dist/cjs/el-a70d9f12.js +68 -0
  118. package/dist/cjs/en-au-88ddb80f.js +68 -0
  119. package/dist/cjs/en-ca-5a29b95b.js +67 -0
  120. package/dist/cjs/en-gb-3c763a84.js +71 -0
  121. package/dist/cjs/es-e83e8ff5.js +68 -0
  122. package/dist/cjs/es-mx-2ea879ef.js +67 -0
  123. package/dist/cjs/et-7b00c80d.js +94 -0
  124. package/dist/cjs/feature-list.cjs.entry.js +12 -10
  125. package/dist/cjs/fi-92ca007b.js +117 -0
  126. package/dist/cjs/floating-ui-7fa9e006.js +2413 -0
  127. package/dist/cjs/focusTrapComponent-a7cfa6da.js +1013 -0
  128. package/dist/cjs/form-dd5380da.js +370 -0
  129. package/dist/cjs/form-f2a43327.js +381 -0
  130. package/dist/cjs/fr-a1f5dfd4.js +70 -0
  131. package/dist/cjs/fr-ch-8a4a9d67.js +68 -0
  132. package/dist/cjs/he-38b2b883.js +107 -0
  133. package/dist/cjs/helpers-47465fc2.js +940 -0
  134. package/dist/cjs/hi-a517b1a8.js +67 -0
  135. package/dist/cjs/hr-c1e34de1.js +82 -0
  136. package/dist/cjs/hu-e46e8ae7.js +90 -0
  137. package/dist/cjs/icon-f45e7fbb.js +979 -0
  138. package/dist/cjs/id-bfc376d8.js +68 -0
  139. package/dist/cjs/index-1ab17699.js +201 -0
  140. package/dist/cjs/index-3bae5121.js +1789 -0
  141. package/dist/cjs/index-5d8d6ae2.js +2157 -0
  142. package/dist/cjs/index.es-5fc7bebc.js +11221 -0
  143. package/dist/cjs/instant-apps-app-guide.cjs.entry.js +2 -2
  144. package/dist/cjs/instant-apps-control-panel.cjs.entry.js +1 -1
  145. package/dist/cjs/instant-apps-create.cjs.entry.js +2 -2
  146. package/dist/cjs/instant-apps-export-views.cjs.entry.js +2 -2
  147. package/dist/cjs/instant-apps-export.cjs.entry.js +2 -2
  148. package/dist/cjs/instant-apps-header.cjs.entry.js +2 -2
  149. package/dist/cjs/instant-apps-interactive-legend-classic.cjs.entry.js +3 -3
  150. package/dist/cjs/instant-apps-interactive-legend-count_2.cjs.entry.js +3 -3
  151. package/dist/cjs/instant-apps-interactive-legend-group-legend-element-caption.cjs.entry.js +3 -3
  152. package/dist/cjs/instant-apps-interactive-legend-group-legend-element_5.cjs.entry.js +3 -3
  153. package/dist/cjs/instant-apps-interactive-legend.cjs.entry.js +4 -4
  154. package/dist/cjs/instant-apps-keyboard-shortcuts.cjs.entry.js +2 -2
  155. package/dist/cjs/instant-apps-landing-page.cjs.entry.js +1 -1
  156. package/dist/cjs/instant-apps-language-switcher.cjs.entry.js +4 -4
  157. package/dist/cjs/instant-apps-language-translator.cjs.entry.js +4 -4
  158. package/dist/cjs/instant-apps-measurement.cjs.entry.js +2 -2
  159. package/dist/cjs/instant-apps-popover.cjs.entry.js +2 -2
  160. package/dist/cjs/instant-apps-popovers.cjs.entry.js +1 -1
  161. package/dist/cjs/instant-apps-scoreboard.cjs.entry.js +2 -2
  162. package/dist/cjs/instant-apps-sign-in.cjs.entry.js +2 -2
  163. package/dist/cjs/instant-apps-splash.cjs.entry.js +3 -3
  164. package/dist/cjs/instant-apps-time-filter.cjs.entry.js +3 -3
  165. package/dist/cjs/interactive-b59e6294.js +86 -0
  166. package/dist/cjs/interactive-e1c3ccf2.js +85 -0
  167. package/dist/cjs/it-6d8c8360.js +68 -0
  168. package/dist/cjs/it-ch-2b05812c.js +68 -0
  169. package/dist/cjs/ja-eb46f963.js +74 -0
  170. package/dist/cjs/ko-dbe28d19.js +74 -0
  171. package/dist/cjs/loadable-19ab5827.js +98 -0
  172. package/dist/cjs/loader-97bb6b45.js +176 -0
  173. package/dist/cjs/loader.cjs.js +5 -5
  174. package/dist/cjs/locale-3a817e03.js +1488 -0
  175. package/dist/cjs/locale-80aff4b9.js +605 -0
  176. package/dist/cjs/locale-a79da367.js +160 -0
  177. package/dist/cjs/logger-780b61e8.js +61 -0
  178. package/dist/cjs/lt-651bfa9c.js +99 -0
  179. package/dist/cjs/lv-f6fe37a3.js +68 -0
  180. package/dist/cjs/map-select-tools_3.cjs.entry.js +13 -11
  181. package/dist/cjs/mk-1f0ffdf6.js +68 -0
  182. package/dist/cjs/nb-8b7b39ed.js +69 -0
  183. package/dist/cjs/nl-27515721.js +69 -0
  184. package/dist/cjs/observers-902ebe13.js +58 -0
  185. package/dist/cjs/openCloseComponent-039ee139.js +65 -0
  186. package/dist/cjs/openCloseComponent-e8e50700.js +66 -0
  187. package/dist/cjs/pci-calculator.cjs.entry.js +2 -2
  188. package/dist/cjs/pl-d2098514.js +116 -0
  189. package/dist/cjs/popupUtils-72d48968.js +121 -0
  190. package/dist/cjs/pt-a3304010.js +69 -0
  191. package/dist/cjs/pt-br-09d60ba8.js +67 -0
  192. package/dist/cjs/public-notification.cjs.entry.js +12 -10
  193. package/dist/cjs/publicNotificationStore-04b6837d.js +47 -0
  194. package/dist/cjs/request-19fdbaaa.js +21 -0
  195. package/dist/cjs/restHelpersGet-e4639890.js +507 -0
  196. package/dist/cjs/ro-2ea54b1c.js +68 -0
  197. package/dist/cjs/ru-f94ee202.js +128 -0
  198. package/dist/cjs/shared-list-render-fb08b2af.js +361 -0
  199. package/dist/cjs/sk-3cdf67d8.js +150 -0
  200. package/dist/cjs/sl-075daf42.js +170 -0
  201. package/dist/cjs/solution-configuration.cjs.entry.js +53 -53
  202. package/dist/cjs/solution-contents_3.cjs.entry.js +11 -11
  203. package/dist/cjs/solution-item-accordion.cjs.entry.js +3 -3
  204. package/dist/cjs/solution-item-icon.cjs.entry.js +2 -2
  205. package/dist/cjs/solution-resource-d0a2f7fe.js +1845 -0
  206. package/dist/cjs/solution-store-4e602251.js +1105 -0
  207. package/dist/cjs/solutions-components.cjs.js +6 -6
  208. package/dist/cjs/spatial-ref.cjs.entry.js +5 -6
  209. package/dist/cjs/sr-2f08967b.js +103 -0
  210. package/dist/cjs/store-manager.cjs.entry.js +7 -7
  211. package/dist/cjs/sv-65f0e21c.js +73 -0
  212. package/dist/cjs/t9n-0195f685.js +108 -0
  213. package/dist/cjs/templates-1e84847a.js +407 -0
  214. package/dist/cjs/th-db63e592.js +67 -0
  215. package/dist/cjs/time-caa0abbe.js +301 -0
  216. package/dist/cjs/tr-b6401cac.js +68 -0
  217. package/dist/cjs/typeof-2a7e2dec.js +28 -0
  218. package/dist/cjs/uk-d00c351d.js +106 -0
  219. package/dist/cjs/update-243ea407.js +783 -0
  220. package/dist/cjs/utils-7eb34f90.js +153 -0
  221. package/dist/cjs/utils-d2bcba4f.js +79 -0
  222. package/dist/cjs/vi-efe4ad72.js +72 -0
  223. package/dist/cjs/zh-cn-63f07390.js +96 -0
  224. package/dist/cjs/zh-hk-84a86ab9.js +94 -0
  225. package/dist/cjs/zh-tw-894f1adf.js +94 -0
  226. package/dist/collection/assets/t9n/consent-manager/resources.json +3 -10
  227. package/dist/collection/assets/t9n/consent-manager/resources_en.json +3 -10
  228. package/dist/collection/collection-manifest.json +2 -4
  229. package/dist/collection/components/basemap-gallery/basemap-gallery.js +1 -1
  230. package/dist/collection/components/buffer-tools/buffer-tools.js +1 -1
  231. package/dist/collection/components/card-manager/card-manager.js +1 -1
  232. package/dist/collection/components/consent-manager/consent-manager.js +116 -40
  233. package/dist/collection/components/create-feature/create-feature.js +2 -2
  234. package/dist/collection/components/create-related-feature/create-related-feature.js +1 -1
  235. package/dist/collection/components/crowdsource-manager/crowdsource-manager.css +4 -0
  236. package/dist/collection/components/crowdsource-manager/crowdsource-manager.js +3 -3
  237. package/dist/collection/components/crowdsource-reporter/crowdsource-reporter.js +1 -1
  238. package/dist/collection/components/deduct-calculator/deduct-calculator.js +1 -1
  239. package/dist/collection/components/delete-button/delete-button.js +2 -2
  240. package/dist/collection/components/delete-dialog/delete-dialog.js +1 -1
  241. package/dist/collection/components/edit-card/edit-card.js +26 -2
  242. package/dist/collection/components/feature-details/feature-details.js +6 -6
  243. package/dist/collection/components/feature-list/feature-list.js +3 -3
  244. package/dist/collection/components/floor-filter/floor-filter.js +1 -1
  245. package/dist/collection/components/info-card/info-card.js +2 -2
  246. package/dist/collection/components/json-editor/json-editor.js +1 -1
  247. package/dist/collection/components/layer-table/layer-table.js +224 -47
  248. package/dist/collection/components/map-card/map-card.js +2 -2
  249. package/dist/collection/components/map-draw-tools/map-draw-tools.js +1 -1
  250. package/dist/collection/components/map-fullscreen/map-fullscreen.js +1 -1
  251. package/dist/collection/components/map-layer-picker/map-layer-picker.js +121 -5
  252. package/dist/collection/components/map-legend/map-legend.js +1 -1
  253. package/dist/collection/components/map-picker/map-picker.js +53 -4
  254. package/dist/collection/components/map-search/map-search.js +1 -1
  255. package/dist/collection/components/map-select-tools/map-select-tools.js +1 -1
  256. package/dist/collection/components/map-tools/map-tools.js +2 -2
  257. package/dist/collection/components/pci-calculator/pci-calculator.js +1 -1
  258. package/dist/collection/components/pdf-download/pdf-download.js +1 -1
  259. package/dist/collection/components/public-notification/public-notification.js +2 -2
  260. package/dist/collection/components/refine-selection/refine-selection.js +1 -1
  261. package/dist/collection/components/solution-configuration/solution-configuration.js +3 -3
  262. package/dist/collection/components/solution-contents/solution-contents.js +1 -1
  263. package/dist/collection/components/solution-item/solution-item.js +1 -1
  264. package/dist/collection/components/solution-item-accordion/solution-item-accordion.js +1 -1
  265. package/dist/collection/components/solution-item-details/solution-item-details.js +1 -1
  266. package/dist/collection/components/solution-item-icon/solution-item-icon.js +1 -1
  267. package/dist/collection/components/solution-item-sharing/solution-item-sharing.js +1 -1
  268. package/dist/collection/components/solution-organization-variables/solution-organization-variables.js +1 -1
  269. package/dist/collection/components/solution-resource-item/solution-resource-item.js +1 -1
  270. package/dist/collection/components/solution-spatial-ref/solution-spatial-ref.js +1 -1
  271. package/dist/collection/components/solution-template-data/solution-template-data.js +1 -1
  272. package/dist/collection/components/solution-variables/solution-variables.js +1 -1
  273. package/dist/collection/components/spatial-ref/spatial-ref.js +1 -1
  274. package/dist/collection/demos/consent-manager.html +56 -0
  275. package/dist/collection/utils/interfaces.ts +14 -0
  276. package/dist/components/IdentityManager.js +6 -2154
  277. package/dist/components/asyncToGenerator.js +88 -0
  278. package/dist/components/basemap-gallery2.js +1 -1
  279. package/dist/components/buffer-tools2.js +1 -1
  280. package/dist/components/calcite-dialog.js +1 -663
  281. package/dist/components/card-manager2.js +10 -10
  282. package/dist/components/common.js +0 -1
  283. package/dist/components/consent-manager.js +8054 -204
  284. package/dist/components/create-feature2.js +2 -2
  285. package/dist/components/create-related-feature2.js +1 -1
  286. package/dist/components/crowdsource-manager.js +37 -37
  287. package/dist/components/crowdsource-reporter.js +28 -28
  288. package/dist/components/deduct-calculator2.js +1 -1
  289. package/dist/components/delete-button2.js +29 -11
  290. package/dist/components/delete-dialog2.js +33 -9
  291. package/dist/components/dialog.js +670 -0
  292. package/dist/components/downloadUtils.js +10 -26
  293. package/dist/components/edit-card2.js +7 -2
  294. package/dist/components/feature-details2.js +23 -23
  295. package/dist/components/feature-list2.js +3 -3
  296. package/dist/components/floor-filter2.js +1 -1
  297. package/dist/components/index.es.js +25 -104
  298. package/dist/components/index2.js +6 -5
  299. package/dist/components/info-card2.js +9 -9
  300. package/dist/components/json-editor2.js +1 -1
  301. package/dist/components/layer-table2.js +212 -69
  302. package/dist/components/map-card2.js +2 -2
  303. package/dist/components/map-draw-tools2.js +1 -1
  304. package/dist/components/map-fullscreen2.js +1 -1
  305. package/dist/components/map-layer-picker2.js +53 -5
  306. package/dist/components/map-legend2.js +1 -1
  307. package/dist/components/map-picker2.js +28 -3
  308. package/dist/components/map-search2.js +1 -1
  309. package/dist/components/map-select-tools2.js +1 -1
  310. package/dist/components/map-tools2.js +2 -2
  311. package/dist/components/pci-calculator.js +1 -1
  312. package/dist/components/pdf-download2.js +1 -1
  313. package/dist/components/public-notification.js +2 -2
  314. package/dist/components/refine-selection2.js +1 -1
  315. package/dist/components/restHelpersGet.js +74 -557
  316. package/dist/components/solution-configuration.js +27 -28
  317. package/dist/components/solution-contents2.js +1 -1
  318. package/dist/components/solution-item-accordion.js +1 -1
  319. package/dist/components/solution-item-details2.js +1 -1
  320. package/dist/components/solution-item-icon2.js +1 -1
  321. package/dist/components/solution-item-sharing2.js +1 -1
  322. package/dist/components/solution-item2.js +1 -1
  323. package/dist/components/solution-organization-variables2.js +1 -1
  324. package/dist/components/solution-resource-item2.js +1 -2
  325. package/dist/components/solution-resource.js +1701 -1
  326. package/dist/components/solution-spatial-ref2.js +1 -1
  327. package/dist/components/solution-store.js +36 -285
  328. package/dist/components/solution-template-data2.js +1 -1
  329. package/dist/components/solution-variables2.js +1 -1
  330. package/dist/components/spatial-ref.js +1 -1
  331. package/dist/components/templates.js +0 -1
  332. package/dist/components/typeof.js +25 -0
  333. package/dist/components/update.js +773 -0
  334. package/dist/esm/ExpandToggle-324f556e.js +108 -0
  335. package/dist/esm/FloatingArrow-cd37b366.js +46 -0
  336. package/dist/esm/Heading-b6b7a8a6.js +22 -0
  337. package/dist/esm/IdentityManager-6880e890.js +2012 -0
  338. package/dist/esm/Validation-b62abebe.js +18 -0
  339. package/dist/esm/app-globals-b6ef4076.js +65 -0
  340. package/dist/esm/ar-aa347a04.js +104 -0
  341. package/dist/esm/asyncToGenerator-96b2368d.js +88 -0
  342. package/dist/esm/basemap-gallery_7.entry.js +37 -12
  343. package/dist/esm/bg-b56e89f6.js +82 -0
  344. package/dist/esm/browser-e42b9848.js +32 -0
  345. package/dist/esm/bs-62486009.js +51 -0
  346. package/dist/esm/buffer-tools_3.entry.js +7 -7
  347. package/dist/esm/ca-db6a81f3.js +71 -0
  348. package/dist/esm/calcite-accordion_2.entry.js +6 -6
  349. package/dist/esm/calcite-action-bar.entry.js +9 -9
  350. package/dist/esm/calcite-action-group.entry.js +8 -8
  351. package/dist/esm/calcite-action-menu_2.entry.js +10 -10
  352. package/dist/esm/calcite-action-pad_2.entry.js +9 -9
  353. package/dist/esm/calcite-action_2.entry.js +14 -14
  354. package/dist/esm/calcite-alert_2.entry.js +495 -0
  355. package/dist/esm/calcite-avatar.entry.js +2 -2
  356. package/dist/esm/calcite-block-section.entry.js +7 -7
  357. package/dist/esm/calcite-block_5.entry.js +19 -19
  358. package/dist/esm/calcite-button-e86d99b3.js +279 -0
  359. package/dist/esm/calcite-button.entry.js +10 -10
  360. package/dist/esm/calcite-card-group.entry.js +5 -5
  361. package/dist/esm/calcite-card.entry.js +8 -8
  362. package/dist/esm/calcite-carousel_2.entry.js +8 -8
  363. package/dist/esm/calcite-checkbox.entry.js +7 -7
  364. package/dist/esm/calcite-chip-group.entry.js +5 -5
  365. package/dist/esm/calcite-chip_2.entry.js +10 -10
  366. package/dist/esm/calcite-color-picker-hex-input_2.entry.js +4 -4
  367. package/dist/esm/calcite-color-picker.entry.js +8 -8
  368. package/dist/esm/calcite-combobox-item-group.entry.js +4 -4
  369. package/dist/esm/calcite-combobox_3.entry.js +68 -22
  370. package/dist/esm/calcite-date-picker-day_3.entry.js +9 -9
  371. package/dist/esm/calcite-dialog-f5f9cfea.js +5873 -0
  372. package/dist/esm/calcite-dialog.entry.js +10 -10
  373. package/dist/esm/calcite-dropdown_2.entry.js +8 -8
  374. package/dist/esm/calcite-fab.entry.js +5 -5
  375. package/dist/esm/calcite-filter_5.entry.js +8 -8
  376. package/dist/esm/calcite-flow-item_5.entry.js +1744 -0
  377. package/dist/esm/calcite-flow_4.entry.js +12 -12
  378. package/dist/esm/calcite-graph_2.entry.js +9 -9
  379. package/dist/esm/calcite-icon_2.entry.js +5 -5
  380. package/dist/esm/calcite-inline-editable.entry.js +9 -9
  381. package/dist/esm/calcite-input-1f12bce0.js +998 -0
  382. package/dist/esm/calcite-input-number.entry.js +11 -11
  383. package/dist/esm/calcite-input-text.entry.js +11 -11
  384. package/dist/esm/calcite-input-time-picker-07db9ed7.js +1867 -0
  385. package/dist/esm/calcite-input-time-picker.entry.js +15 -15
  386. package/dist/esm/calcite-input-time-zone.entry.js +10 -10
  387. package/dist/esm/calcite-input_2.entry.js +11 -11
  388. package/dist/esm/calcite-label-d80f6f1c.js +108 -0
  389. package/dist/esm/calcite-label.entry.js +3 -3
  390. package/dist/esm/calcite-link.entry.js +5 -5
  391. package/dist/esm/calcite-list-item-group.entry.js +2 -2
  392. package/dist/esm/calcite-menu-item.entry.js +7 -7
  393. package/dist/esm/calcite-menu.entry.js +7 -7
  394. package/dist/esm/calcite-meter.entry.js +7 -7
  395. package/dist/esm/calcite-modal_4.entry.js +965 -0
  396. package/dist/esm/calcite-navigation-logo.entry.js +4 -4
  397. package/dist/esm/calcite-navigation-user.entry.js +3 -3
  398. package/dist/esm/calcite-navigation.entry.js +4 -4
  399. package/dist/esm/calcite-notice-acc12411.js +258 -0
  400. package/dist/esm/calcite-notice.entry.js +9 -9
  401. package/dist/esm/calcite-option-group.entry.js +1 -1
  402. package/dist/esm/calcite-option_2.entry.js +9 -9
  403. package/dist/esm/calcite-pagination.entry.js +7 -7
  404. package/dist/esm/calcite-pick-list-group.entry.js +8 -8
  405. package/dist/esm/calcite-pick-list-item.entry.js +11 -11
  406. package/dist/esm/calcite-pick-list.entry.js +9 -9
  407. package/dist/esm/calcite-radio-button-group.entry.js +6 -6
  408. package/dist/esm/calcite-radio-button.entry.js +7 -7
  409. package/dist/esm/calcite-rating.entry.js +10 -10
  410. package/dist/esm/calcite-scrim.entry.js +6 -6
  411. package/dist/esm/calcite-segmented-control_2.entry.js +8 -8
  412. package/dist/esm/calcite-sheet.entry.js +8 -8
  413. package/dist/esm/calcite-shell-center-row.entry.js +7 -7
  414. package/dist/esm/calcite-shell-panel_14.entry.js +25 -25
  415. package/dist/esm/calcite-shell.entry.js +5 -5
  416. package/dist/esm/calcite-sortable-list.entry.js +5 -5
  417. package/dist/esm/calcite-split-button.entry.js +4 -4
  418. package/dist/esm/calcite-stepper-item.entry.js +8 -8
  419. package/dist/esm/calcite-stepper.entry.js +6 -6
  420. package/dist/esm/calcite-switch.entry.js +7 -7
  421. package/dist/esm/calcite-table-cell_2.entry.js +8 -8
  422. package/dist/esm/calcite-table-row.entry.js +3 -3
  423. package/dist/esm/calcite-table.entry.js +7 -7
  424. package/dist/esm/calcite-text-area.entry.js +11 -11
  425. package/dist/esm/calcite-tile-group.entry.js +5 -5
  426. package/dist/esm/calcite-tile-select-group.entry.js +4 -4
  427. package/dist/esm/calcite-tile-select.entry.js +6 -6
  428. package/dist/esm/calcite-tile.entry.js +5 -5
  429. package/dist/esm/calcite-time-picker.entry.js +8 -8
  430. package/dist/esm/calcite-tip-group.entry.js +3 -3
  431. package/dist/esm/calcite-tip-manager.entry.js +9 -9
  432. package/dist/esm/calcite-tip.entry.js +10 -10
  433. package/dist/esm/calcite-tooltip.entry.js +6 -6
  434. package/dist/esm/calcite-tree_2.entry.js +6 -6
  435. package/dist/esm/card-manager_3.entry.js +194 -51
  436. package/dist/esm/common-c8dc0e85.js +35 -0
  437. package/dist/esm/conditionalSlot-2e16b206.js +51 -0
  438. package/dist/esm/config-e6645458.js +36 -0
  439. package/dist/esm/consent-manager.entry.js +7911 -42
  440. package/dist/esm/crowdsource-manager.entry.js +6 -6
  441. package/dist/esm/crowdsource-reporter.entry.js +3 -3
  442. package/dist/esm/cs-250e21c6.js +147 -0
  443. package/dist/esm/da-bab8eb4e.js +67 -0
  444. package/dist/esm/date-272939fd.js +248 -0
  445. package/dist/esm/de-808a43dc.js +91 -0
  446. package/dist/esm/de-at-9c396c81.js +90 -0
  447. package/dist/esm/de-ch-415303cf.js +90 -0
  448. package/dist/esm/deduct-calculator.entry.js +2 -2
  449. package/dist/esm/dom-66c5cd46.js +1165 -0
  450. package/dist/esm/downloadUtils-8ba094d7.js +3217 -0
  451. package/dist/esm/el-3d1eaeb8.js +66 -0
  452. package/dist/esm/en-au-e6b00a93.js +66 -0
  453. package/dist/esm/en-ca-29b94ea2.js +65 -0
  454. package/dist/esm/en-gb-09267176.js +69 -0
  455. package/dist/esm/es-95fef748.js +66 -0
  456. package/dist/esm/es-mx-9b70cfc9.js +65 -0
  457. package/dist/esm/et-08cbe214.js +92 -0
  458. package/dist/esm/feature-list.entry.js +12 -10
  459. package/dist/esm/fi-e850e58b.js +115 -0
  460. package/dist/esm/floating-ui-1a431a21.js +2404 -0
  461. package/dist/esm/focusTrapComponent-e80b8863.js +1008 -0
  462. package/dist/esm/form-1528db83.js +362 -0
  463. package/dist/esm/form-99398da6.js +372 -0
  464. package/dist/esm/fr-c71b6844.js +68 -0
  465. package/dist/esm/fr-ch-7ac7a7eb.js +66 -0
  466. package/dist/esm/he-311cb5ba.js +105 -0
  467. package/dist/esm/helpers-f52a734a.js +913 -0
  468. package/dist/esm/hi-c41f0938.js +65 -0
  469. package/dist/esm/hr-f42cc721.js +80 -0
  470. package/dist/esm/hu-d1d33b21.js +88 -0
  471. package/dist/esm/icon-18c0eb17.js +959 -0
  472. package/dist/esm/id-1867967d.js +66 -0
  473. package/dist/esm/index-38bde943.js +199 -0
  474. package/dist/esm/index-d233c7a2.js +1753 -0
  475. package/dist/esm/index-d88c3eb6.js +2155 -0
  476. package/dist/esm/index.es-d286eecc.js +11134 -0
  477. package/dist/esm/instant-apps-app-guide.entry.js +2 -2
  478. package/dist/esm/instant-apps-control-panel.entry.js +1 -1
  479. package/dist/esm/instant-apps-create.entry.js +2 -2
  480. package/dist/esm/instant-apps-export-views.entry.js +2 -2
  481. package/dist/esm/instant-apps-export.entry.js +2 -2
  482. package/dist/esm/instant-apps-header.entry.js +2 -2
  483. package/dist/esm/instant-apps-interactive-legend-classic.entry.js +3 -3
  484. package/dist/esm/instant-apps-interactive-legend-count_2.entry.js +3 -3
  485. package/dist/esm/instant-apps-interactive-legend-group-legend-element-caption.entry.js +3 -3
  486. package/dist/esm/instant-apps-interactive-legend-group-legend-element_5.entry.js +3 -3
  487. package/dist/esm/instant-apps-interactive-legend.entry.js +4 -4
  488. package/dist/esm/instant-apps-keyboard-shortcuts.entry.js +2 -2
  489. package/dist/esm/instant-apps-landing-page.entry.js +1 -1
  490. package/dist/esm/instant-apps-language-switcher.entry.js +4 -4
  491. package/dist/esm/instant-apps-language-translator.entry.js +4 -4
  492. package/dist/esm/instant-apps-measurement.entry.js +2 -2
  493. package/dist/esm/instant-apps-popover.entry.js +2 -2
  494. package/dist/esm/instant-apps-popovers.entry.js +1 -1
  495. package/dist/esm/instant-apps-scoreboard.entry.js +2 -2
  496. package/dist/esm/instant-apps-sign-in.entry.js +2 -2
  497. package/dist/esm/instant-apps-splash.entry.js +3 -3
  498. package/dist/esm/instant-apps-time-filter.entry.js +3 -3
  499. package/dist/esm/interactive-5139f8d7.js +83 -0
  500. package/dist/esm/interactive-cad37709.js +82 -0
  501. package/dist/esm/it-6a7495d8.js +66 -0
  502. package/dist/esm/it-ch-89fa3c82.js +66 -0
  503. package/dist/esm/ja-f87a1f44.js +72 -0
  504. package/dist/esm/ko-0f4c7a11.js +72 -0
  505. package/dist/esm/label-56002f24.js +179 -0
  506. package/dist/esm/loadable-dc3f24a8.js +93 -0
  507. package/dist/esm/loader-bae2aa52.js +173 -0
  508. package/dist/esm/loader.js +6 -6
  509. package/dist/esm/locale-586d9375.js +155 -0
  510. package/dist/esm/locale-911eca09.js +591 -0
  511. package/dist/esm/locale-be7fd298.js +1423 -0
  512. package/dist/esm/logger-ff14b12f.js +59 -0
  513. package/dist/esm/lt-a4b14416.js +97 -0
  514. package/dist/esm/lv-3901862d.js +66 -0
  515. package/dist/esm/map-select-tools_3.entry.js +13 -11
  516. package/dist/esm/mk-886d280d.js +66 -0
  517. package/dist/esm/nb-b667a0e1.js +67 -0
  518. package/dist/esm/nl-d357a092.js +67 -0
  519. package/dist/esm/observers-ab3d6528.js +56 -0
  520. package/dist/esm/openCloseComponent-0e1e6768.js +64 -0
  521. package/dist/esm/openCloseComponent-c3f79463.js +63 -0
  522. package/dist/esm/pci-calculator.entry.js +2 -2
  523. package/dist/esm/pl-75d54069.js +114 -0
  524. package/dist/esm/popupUtils-ddb1f6fa.js +119 -0
  525. package/dist/esm/pt-32bd5da2.js +67 -0
  526. package/dist/esm/pt-br-6f32314d.js +65 -0
  527. package/dist/esm/public-notification.entry.js +12 -10
  528. package/dist/esm/publicNotificationStore-8b54bf6f.js +45 -0
  529. package/dist/esm/request-2dbb152a.js +19 -0
  530. package/dist/esm/restHelpersGet-a7fda344.js +493 -0
  531. package/dist/esm/ro-d238055e.js +66 -0
  532. package/dist/esm/ru-ef7165ff.js +126 -0
  533. package/dist/esm/shared-list-render-5f202c55.js +339 -0
  534. package/dist/esm/sk-959dbca1.js +148 -0
  535. package/dist/esm/sl-96436015.js +168 -0
  536. package/dist/esm/solution-configuration.entry.js +34 -34
  537. package/dist/esm/solution-contents_3.entry.js +11 -11
  538. package/dist/esm/solution-item-accordion.entry.js +3 -3
  539. package/dist/esm/solution-item-icon.entry.js +2 -2
  540. package/dist/esm/solution-resource-30a29505.js +1842 -0
  541. package/dist/esm/solution-store-f252cb74.js +1103 -0
  542. package/dist/esm/solutions-components.js +7 -7
  543. package/dist/esm/spatial-ref.entry.js +5 -6
  544. package/dist/esm/sr-73033c89.js +101 -0
  545. package/dist/esm/store-manager.entry.js +7 -7
  546. package/dist/esm/sv-b1153aa8.js +71 -0
  547. package/dist/esm/t9n-1698878e.js +103 -0
  548. package/dist/esm/templates-60f33938.js +401 -0
  549. package/dist/esm/th-e1a074e2.js +65 -0
  550. package/dist/esm/time-bca5f70b.js +286 -0
  551. package/dist/esm/tr-1350f529.js +66 -0
  552. package/dist/esm/typeof-ef2a007d.js +25 -0
  553. package/dist/esm/uk-18ded66c.js +104 -0
  554. package/dist/esm/update-ad0b88fa.js +773 -0
  555. package/dist/esm/utils-0da093e1.js +142 -0
  556. package/dist/esm/utils-30c4c8ca.js +66 -0
  557. package/dist/esm/vi-cee99413.js +70 -0
  558. package/dist/esm/zh-cn-6e204128.js +94 -0
  559. package/dist/esm/zh-hk-ffb02673.js +92 -0
  560. package/dist/esm/zh-tw-0f52dd8c.js +92 -0
  561. package/dist/solutions-components/assets/t9n/consent-manager/resources.json +3 -10
  562. package/dist/solutions-components/assets/t9n/consent-manager/resources_en.json +3 -10
  563. package/dist/solutions-components/demos/consent-manager.html +56 -0
  564. package/dist/solutions-components/p-0094924f.entry.js +6 -0
  565. package/dist/solutions-components/p-00ea0ccc.entry.js +11 -0
  566. package/dist/solutions-components/p-018d1f95.entry.js +6 -0
  567. package/dist/solutions-components/p-025af0b3.entry.js +21 -0
  568. package/dist/solutions-components/p-0549a65c.js +6 -0
  569. package/dist/solutions-components/p-058d0542.js +17 -0
  570. package/dist/solutions-components/p-0668e30d.js +34 -0
  571. package/dist/solutions-components/p-066fc169.js +6 -0
  572. package/dist/solutions-components/p-067e36b2.entry.js +6 -0
  573. package/dist/solutions-components/p-0681b29b.entry.js +11 -0
  574. package/dist/solutions-components/p-0691d1af.entry.js +22 -0
  575. package/dist/solutions-components/p-088a5dca.js +67 -0
  576. package/dist/solutions-components/p-097b80df.js +6 -0
  577. package/dist/solutions-components/p-0a0902c4.entry.js +6 -0
  578. package/dist/solutions-components/p-0a71f549.entry.js +29 -0
  579. package/dist/solutions-components/p-0ac9cc4a.entry.js +21 -0
  580. package/dist/solutions-components/p-0b1fb6ae.js +36 -0
  581. package/dist/solutions-components/p-0d82ed7b.entry.js +11 -0
  582. package/dist/solutions-components/p-0e307601.entry.js +11 -0
  583. package/dist/solutions-components/p-0ece17fc.entry.js +6 -0
  584. package/dist/solutions-components/p-0f58bb3a.entry.js +11 -0
  585. package/dist/solutions-components/p-0f9f7528.entry.js +11 -0
  586. package/dist/solutions-components/p-135b2aba.js +16 -0
  587. package/dist/solutions-components/p-13bdb2c0.js +6 -0
  588. package/dist/solutions-components/p-14519a8a.entry.js +11 -0
  589. package/dist/solutions-components/p-1492bb6d.js +6 -0
  590. package/dist/solutions-components/p-1664573a.entry.js +6 -0
  591. package/dist/solutions-components/p-1900f9b1.js +11 -0
  592. package/dist/solutions-components/p-1984f2c7.entry.js +17 -0
  593. package/dist/solutions-components/p-1c1842b0.entry.js +6 -0
  594. package/dist/solutions-components/p-1f9d927b.entry.js +6 -0
  595. package/dist/solutions-components/p-1fb3756b.js +6 -0
  596. package/dist/solutions-components/p-208b5cc4.entry.js +6 -0
  597. package/dist/solutions-components/p-20cda8ef.entry.js +6 -0
  598. package/dist/solutions-components/p-2130a063.entry.js +17 -0
  599. package/dist/solutions-components/p-21f90019.js +21 -0
  600. package/dist/solutions-components/p-230f7315.entry.js +6 -0
  601. package/dist/solutions-components/p-24b42859.entry.js +47 -0
  602. package/dist/solutions-components/p-26f9f9c8.js +11 -0
  603. package/dist/solutions-components/p-270ca219.entry.js +6 -0
  604. package/dist/solutions-components/p-27a91364.entry.js +17 -0
  605. package/dist/solutions-components/p-28498868.entry.js +11 -0
  606. package/dist/solutions-components/p-2a5a5bfd.entry.js +11 -0
  607. package/dist/solutions-components/p-2ac553f6.js +6 -0
  608. package/dist/solutions-components/p-2b004a83.entry.js +11 -0
  609. package/dist/solutions-components/p-2b1e6acb.entry.js +6 -0
  610. package/dist/solutions-components/p-2bc98cb0.js +30 -0
  611. package/dist/solutions-components/p-2d96fdb9.js +6 -0
  612. package/dist/solutions-components/p-2dd8e49c.js +11 -0
  613. package/dist/solutions-components/p-30a16b7e.entry.js +11 -0
  614. package/dist/solutions-components/p-3212300b.entry.js +6 -0
  615. package/dist/solutions-components/p-35245316.entry.js +6 -0
  616. package/dist/solutions-components/p-3643a87a.entry.js +6 -0
  617. package/dist/solutions-components/p-3708cbdc.entry.js +6 -0
  618. package/dist/solutions-components/p-3828e77b.js +11 -0
  619. package/dist/solutions-components/p-38e0f88b.js +17 -0
  620. package/dist/solutions-components/p-3b3bfba5.entry.js +6 -0
  621. package/dist/solutions-components/p-3ba80c7c.js +6 -0
  622. package/dist/solutions-components/p-3d1f0434.js +21 -0
  623. package/dist/solutions-components/p-3ffc4738.js +6 -0
  624. package/dist/solutions-components/p-409401ce.js +11 -0
  625. package/dist/solutions-components/p-46159285.js +6 -0
  626. package/dist/solutions-components/p-49a67314.entry.js +6 -0
  627. package/dist/solutions-components/p-4cbdea35.js +129 -0
  628. package/dist/solutions-components/p-4dfc2fc4.js +11 -0
  629. package/dist/solutions-components/p-4f236b5d.js +43 -0
  630. package/dist/solutions-components/p-4f50385f.js +16 -0
  631. package/dist/solutions-components/p-4fe489cf.js +6 -0
  632. package/dist/solutions-components/p-50239e15.entry.js +6 -0
  633. package/dist/solutions-components/p-531f66c7.entry.js +6 -0
  634. package/dist/solutions-components/p-570754a4.js +6 -0
  635. package/dist/solutions-components/p-570b13d9.js +67 -0
  636. package/dist/solutions-components/p-58d53a46.entry.js +6 -0
  637. package/dist/solutions-components/p-59970898.js +6 -0
  638. package/dist/solutions-components/p-59d02697.entry.js +11 -0
  639. package/dist/solutions-components/p-5b2ae6c4.js +6 -0
  640. package/dist/solutions-components/p-5b9783e6.entry.js +23 -0
  641. package/dist/solutions-components/p-5c5cbe3c.js +6 -0
  642. package/dist/solutions-components/p-5c692ed6.entry.js +11 -0
  643. package/dist/solutions-components/p-5cfa35f8.js +6 -0
  644. package/dist/solutions-components/p-5d581b7e.entry.js +6 -0
  645. package/dist/solutions-components/p-5df09fe4.js +31 -0
  646. package/dist/solutions-components/p-5ee359f1.entry.js +11 -0
  647. package/dist/solutions-components/p-5f099cd2.js +6 -0
  648. package/dist/solutions-components/p-60123545.js +6 -0
  649. package/dist/solutions-components/p-6148468f.js +11 -0
  650. package/dist/solutions-components/p-617d2160.js +6 -0
  651. package/dist/solutions-components/p-619a1ad0.js +6 -0
  652. package/dist/solutions-components/p-61d2582e.entry.js +6 -0
  653. package/dist/solutions-components/p-662cf7fa.entry.js +11 -0
  654. package/dist/solutions-components/p-6708060e.js +11 -0
  655. package/dist/solutions-components/p-676a2d60.entry.js +6 -0
  656. package/dist/solutions-components/p-68b5ec37.js +11 -0
  657. package/dist/solutions-components/p-68cf5134.entry.js +12 -0
  658. package/dist/solutions-components/p-694cfe4c.js +6 -0
  659. package/dist/solutions-components/p-6bcde3c4.js +6 -0
  660. package/dist/solutions-components/p-6c73f067.js +16 -0
  661. package/dist/solutions-components/p-6d56f75e.js +11 -0
  662. package/dist/solutions-components/p-6db88e16.entry.js +11 -0
  663. package/dist/solutions-components/p-6f93ec3e.entry.js +6 -0
  664. package/dist/solutions-components/p-7053b20e.entry.js +6 -0
  665. package/dist/solutions-components/p-741151d4.js +6 -0
  666. package/dist/solutions-components/p-749fe711.js +6 -0
  667. package/dist/solutions-components/p-7518e92a.js +6 -0
  668. package/dist/solutions-components/p-7802efa1.entry.js +11 -0
  669. package/dist/solutions-components/p-782c71a7.js +6 -0
  670. package/dist/solutions-components/p-78aa10b0.js +6 -0
  671. package/dist/solutions-components/p-7a8edc01.entry.js +11 -0
  672. package/dist/solutions-components/p-7a9e773b.js +6 -0
  673. package/dist/solutions-components/p-7aa5b402.entry.js +11 -0
  674. package/dist/solutions-components/p-7aafba66.js +11 -0
  675. package/dist/solutions-components/p-7d619b04.entry.js +11 -0
  676. package/dist/solutions-components/p-7dc37540.js +11 -0
  677. package/dist/solutions-components/p-7e3a6a0b.entry.js +11 -0
  678. package/dist/solutions-components/p-7fd55161.entry.js +6 -0
  679. package/dist/solutions-components/p-80168ff4.entry.js +11 -0
  680. package/dist/solutions-components/p-823684a3.js +6 -0
  681. package/dist/solutions-components/p-825ef4a7.js +6 -0
  682. package/dist/solutions-components/p-82d93164.js +11 -0
  683. package/dist/solutions-components/p-82f661c7.entry.js +11 -0
  684. package/dist/solutions-components/p-8378852e.js +6 -0
  685. package/dist/solutions-components/p-85bb5908.js +11 -0
  686. package/dist/solutions-components/p-866a2fad.js +11 -0
  687. package/dist/solutions-components/p-8744fe2a.entry.js +6 -0
  688. package/dist/solutions-components/p-8850bd21.js +21 -0
  689. package/dist/solutions-components/p-896a5fce.entry.js +11 -0
  690. package/dist/solutions-components/p-8df5939f.js +6 -0
  691. package/dist/solutions-components/p-8ec56f08.entry.js +11 -0
  692. package/dist/solutions-components/p-8ff2cba2.entry.js +11 -0
  693. package/dist/solutions-components/p-8ff4b2aa.js +488 -0
  694. package/dist/solutions-components/p-94ad391c.js +40 -0
  695. package/dist/solutions-components/p-958c68c2.js +61 -0
  696. package/dist/solutions-components/p-95fcb607.js +6 -0
  697. package/dist/solutions-components/p-97df5300.js +27 -0
  698. package/dist/solutions-components/p-98079396.js +21 -0
  699. package/dist/solutions-components/p-98b1c057.entry.js +6 -0
  700. package/dist/solutions-components/p-9d4f62ca.js +6 -0
  701. package/dist/solutions-components/p-9d733373.entry.js +17 -0
  702. package/dist/solutions-components/p-9d9df87f.entry.js +6 -0
  703. package/dist/solutions-components/p-9e5d59aa.entry.js +11 -0
  704. package/dist/solutions-components/p-9f89901b.entry.js +6 -0
  705. package/dist/solutions-components/p-9fa8da35.entry.js +11 -0
  706. package/dist/solutions-components/p-a28502ac.entry.js +6 -0
  707. package/dist/solutions-components/p-a5df8093.entry.js +11 -0
  708. package/dist/solutions-components/p-a757bf75.js +16 -0
  709. package/dist/solutions-components/p-a7eded8f.entry.js +11 -0
  710. package/dist/solutions-components/p-a91fc014.entry.js +6 -0
  711. package/dist/solutions-components/p-aa6656f0.js +6 -0
  712. package/dist/solutions-components/p-abe60b81.entry.js +6 -0
  713. package/dist/solutions-components/p-ad66b010.entry.js +11 -0
  714. package/dist/solutions-components/p-adb57e25.entry.js +6 -0
  715. package/dist/solutions-components/p-add122e7.js +6 -0
  716. package/dist/solutions-components/p-ae357552.entry.js +11 -0
  717. package/dist/solutions-components/p-af4f2d4a.js +11 -0
  718. package/dist/solutions-components/p-b0d0022c.entry.js +11 -0
  719. package/dist/solutions-components/p-b14d2423.entry.js +11 -0
  720. package/dist/solutions-components/p-b1546c15.js +17 -0
  721. package/dist/solutions-components/p-b1c45ef8.entry.js +6 -0
  722. package/dist/solutions-components/p-b1f3c713.js +6 -0
  723. package/dist/solutions-components/p-b22046db.js +11 -0
  724. package/dist/solutions-components/p-b290affa.js +17 -0
  725. package/dist/solutions-components/p-b3b70f6b.entry.js +12 -0
  726. package/dist/solutions-components/p-b4a94ffe.entry.js +6 -0
  727. package/dist/solutions-components/p-b62871c3.entry.js +11 -0
  728. package/dist/solutions-components/p-b6a36bfe.js +6 -0
  729. package/dist/solutions-components/p-b915029b.js +6 -0
  730. package/dist/solutions-components/p-b98e9479.js +11 -0
  731. package/dist/solutions-components/p-b9bc3e7b.entry.js +17 -0
  732. package/dist/solutions-components/p-ba539e5a.entry.js +11 -0
  733. package/dist/solutions-components/p-bad614c0.entry.js +11 -0
  734. package/dist/solutions-components/p-bb158785.entry.js +11 -0
  735. package/dist/solutions-components/p-bc281e3b.js +6 -0
  736. package/dist/solutions-components/p-bc2b747e.js +6 -0
  737. package/dist/solutions-components/p-be78bc15.entry.js +6 -0
  738. package/dist/solutions-components/p-bf154e41.js +6 -0
  739. package/dist/solutions-components/p-c109e720.js +6 -0
  740. package/dist/solutions-components/p-c115215d.entry.js +6 -0
  741. package/dist/solutions-components/p-c433cc38.js +6 -0
  742. package/dist/solutions-components/p-c43fdf49.entry.js +16 -0
  743. package/dist/solutions-components/p-c5e0e5ef.js +6 -0
  744. package/dist/solutions-components/p-c766823c.entry.js +11 -0
  745. package/dist/solutions-components/p-c8a2c326.entry.js +29 -0
  746. package/dist/solutions-components/p-c8b26c56.js +6 -0
  747. package/dist/solutions-components/p-c900e9e8.entry.js +17 -0
  748. package/dist/solutions-components/p-c9dae6fb.entry.js +6 -0
  749. package/dist/solutions-components/p-cbf0769a.entry.js +11 -0
  750. package/dist/solutions-components/p-cc7d784e.entry.js +6 -0
  751. package/dist/solutions-components/p-ce8a69ef.entry.js +11 -0
  752. package/dist/solutions-components/p-cea51591.js +16 -0
  753. package/dist/solutions-components/p-d0b1d33f.js +6 -0
  754. package/dist/solutions-components/p-d0b36f2e.entry.js +6 -0
  755. package/dist/solutions-components/p-d2a6e970.js +6 -0
  756. package/dist/solutions-components/p-d2dc7d65.entry.js +11 -0
  757. package/dist/solutions-components/p-d60dc1f1.entry.js +11 -0
  758. package/dist/solutions-components/p-d654b676.entry.js +11 -0
  759. package/dist/solutions-components/p-d65f8b73.js +6 -0
  760. package/dist/solutions-components/p-d82ee2f9.entry.js +6 -0
  761. package/dist/solutions-components/p-d96fe526.entry.js +22 -0
  762. package/dist/solutions-components/p-da0cb140.entry.js +11 -0
  763. package/dist/solutions-components/p-da36faca.entry.js +6 -0
  764. package/dist/solutions-components/p-daf6a012.entry.js +6 -0
  765. package/dist/solutions-components/p-dba4704c.js +11 -0
  766. package/dist/solutions-components/p-dd16d94e.js +6 -0
  767. package/dist/solutions-components/p-dd689226.js +11 -0
  768. package/dist/solutions-components/p-dd6a34c6.entry.js +17 -0
  769. package/dist/solutions-components/p-df4bfe45.js +6 -0
  770. package/dist/solutions-components/p-dfe18931.js +6 -0
  771. package/dist/solutions-components/p-e2570a80.js +11 -0
  772. package/dist/solutions-components/p-ea9e0a79.js +6 -0
  773. package/dist/solutions-components/p-eb88fddc.js +6 -0
  774. package/dist/solutions-components/p-ed4fb4a1.entry.js +6 -0
  775. package/dist/solutions-components/p-ef0c43dc.js +6 -0
  776. package/dist/solutions-components/p-f05bbd82.entry.js +11 -0
  777. package/dist/solutions-components/p-f0ceb675.entry.js +11 -0
  778. package/dist/solutions-components/p-f1f356f0.js +7 -0
  779. package/dist/solutions-components/p-f46f7da7.entry.js +12 -0
  780. package/dist/solutions-components/p-f6e3d19a.entry.js +11 -0
  781. package/dist/solutions-components/p-f6e81cf8.js +22 -0
  782. package/dist/solutions-components/p-f7085e9e.entry.js +17 -0
  783. package/dist/solutions-components/p-f8ea8e73.js +6 -0
  784. package/dist/solutions-components/p-fb6ca6dd.entry.js +11 -0
  785. package/dist/solutions-components/p-fdaf1290.entry.js +11 -0
  786. package/dist/solutions-components/p-fe719f16.entry.js +6 -0
  787. package/dist/solutions-components/p-feebdac9.entry.js +17 -0
  788. package/dist/solutions-components/p-ff15447c.entry.js +6 -0
  789. package/dist/solutions-components/solutions-components.esm.js +1 -1
  790. package/dist/solutions-components/utils/interfaces.ts +14 -0
  791. package/dist/types/components/consent-manager/consent-manager.d.ts +24 -21
  792. package/dist/types/components/delete-button/delete-button.d.ts +1 -1
  793. package/dist/types/components/edit-card/edit-card.d.ts +4 -0
  794. package/dist/types/components/layer-table/layer-table.d.ts +55 -7
  795. package/dist/types/components/map-layer-picker/map-layer-picker.d.ts +18 -2
  796. package/dist/types/components/map-picker/map-picker.d.ts +10 -2
  797. package/dist/types/components.d.ts +69 -36
  798. package/dist/types/preact.d.ts +6 -7
  799. package/dist/types/stencil-public-runtime.d.ts +6 -0
  800. package/dist/types/utils/interfaces.d.ts +12 -0
  801. package/package.json +10 -10
  802. package/dist/cjs/ExpandToggle-7cd6bc0d.js +0 -115
  803. package/dist/cjs/FloatingArrow-bf91ebb1.js +0 -48
  804. package/dist/cjs/Heading-ae667128.js +0 -25
  805. package/dist/cjs/IdentityManager-b7fa2f5f.js +0 -4174
  806. package/dist/cjs/Validation-a206c7a2.js +0 -20
  807. package/dist/cjs/app-globals-04574c64.js +0 -67
  808. package/dist/cjs/ar-c930d85d.js +0 -106
  809. package/dist/cjs/arcgis-login.cjs.entry.js +0 -61
  810. package/dist/cjs/bg-a2001c61.js +0 -84
  811. package/dist/cjs/browser-040b13db.js +0 -35
  812. package/dist/cjs/bs-5576dc1b.js +0 -53
  813. package/dist/cjs/ca-220471e9.js +0 -73
  814. package/dist/cjs/calcite-alert_6.cjs.entry.js +0 -2105
  815. package/dist/cjs/calcite-button-ac4b979a.js +0 -281
  816. package/dist/cjs/calcite-dialog-97f38598.js +0 -5875
  817. package/dist/cjs/calcite-input-0ecf3d60.js +0 -1000
  818. package/dist/cjs/calcite-input-time-picker-4020e170.js +0 -1870
  819. package/dist/cjs/calcite-label-8ca1fbce.js +0 -110
  820. package/dist/cjs/calcite-modal.cjs.entry.js +0 -393
  821. package/dist/cjs/calcite-notice-2e248d8d.js +0 -260
  822. package/dist/cjs/common-eee0c33f.js +0 -38
  823. package/dist/cjs/conditionalSlot-489d0ef0.js +0 -54
  824. package/dist/cjs/config-164bf148.js +0 -40
  825. package/dist/cjs/cs-a049b34a.js +0 -149
  826. package/dist/cjs/da-d71057be.js +0 -69
  827. package/dist/cjs/date-831e93f2.js +0 -264
  828. package/dist/cjs/de-at-977ab186.js +0 -92
  829. package/dist/cjs/de-b1eb21d0.js +0 -93
  830. package/dist/cjs/de-ch-486d1e5d.js +0 -92
  831. package/dist/cjs/delete-dialog.cjs.entry.js +0 -131
  832. package/dist/cjs/downloadUtils-f50841bc.js +0 -3240
  833. package/dist/cjs/el-577ee36f.js +0 -68
  834. package/dist/cjs/en-au-e7c3a0f9.js +0 -68
  835. package/dist/cjs/en-ca-111580b6.js +0 -67
  836. package/dist/cjs/en-gb-b061a0ac.js +0 -71
  837. package/dist/cjs/es-ae90d3b8.js +0 -68
  838. package/dist/cjs/es-mx-620f2f82.js +0 -67
  839. package/dist/cjs/et-3b0bd1a9.js +0 -94
  840. package/dist/cjs/fi-8708148b.js +0 -117
  841. package/dist/cjs/floating-ui-a1745c4c.js +0 -2413
  842. package/dist/cjs/focusTrapComponent-59e1194f.js +0 -1013
  843. package/dist/cjs/form-3666a51b.js +0 -370
  844. package/dist/cjs/form-a2adec8c.js +0 -381
  845. package/dist/cjs/fr-9a9d3ce3.js +0 -70
  846. package/dist/cjs/fr-ch-95662c01.js +0 -68
  847. package/dist/cjs/he-f973a740.js +0 -107
  848. package/dist/cjs/helpers-292a0709.js +0 -940
  849. package/dist/cjs/hi-f0b9cea5.js +0 -67
  850. package/dist/cjs/hr-4654706f.js +0 -82
  851. package/dist/cjs/hu-bc3d5588.js +0 -90
  852. package/dist/cjs/icon-96d27ae8.js +0 -979
  853. package/dist/cjs/id-1131b8da.js +0 -68
  854. package/dist/cjs/index-29826564.js +0 -201
  855. package/dist/cjs/index-92385c74.js +0 -1772
  856. package/dist/cjs/index-f052f656.js +0 -2156
  857. package/dist/cjs/index.es-b8c8c931.js +0 -11307
  858. package/dist/cjs/instant-apps-ckeditor-wrapper_3.cjs.entry.js +0 -590
  859. package/dist/cjs/interactive-9f715ff8.js +0 -86
  860. package/dist/cjs/interactive-c384fd9b.js +0 -85
  861. package/dist/cjs/it-7a8ec220.js +0 -68
  862. package/dist/cjs/it-ch-f9cb696d.js +0 -68
  863. package/dist/cjs/ja-45b4845d.js +0 -74
  864. package/dist/cjs/ko-61449645.js +0 -74
  865. package/dist/cjs/loadable-9cb8a3cd.js +0 -98
  866. package/dist/cjs/loader-b9aa1d67.js +0 -176
  867. package/dist/cjs/locale-a0772a2b.js +0 -605
  868. package/dist/cjs/locale-afa30303.js +0 -160
  869. package/dist/cjs/locale-f6e0493d.js +0 -1488
  870. package/dist/cjs/logger-e5bdc044.js +0 -61
  871. package/dist/cjs/lt-2e727f9c.js +0 -99
  872. package/dist/cjs/lv-ed202e00.js +0 -68
  873. package/dist/cjs/mk-418a9e03.js +0 -68
  874. package/dist/cjs/nb-333e1c58.js +0 -69
  875. package/dist/cjs/nl-da937865.js +0 -69
  876. package/dist/cjs/observers-ce262300.js +0 -58
  877. package/dist/cjs/openCloseComponent-214808b0.js +0 -66
  878. package/dist/cjs/openCloseComponent-c0b7af22.js +0 -65
  879. package/dist/cjs/pl-cbe57516.js +0 -116
  880. package/dist/cjs/popupUtils-2a425c37.js +0 -121
  881. package/dist/cjs/pt-b1ec4928.js +0 -69
  882. package/dist/cjs/pt-br-e395a325.js +0 -67
  883. package/dist/cjs/publicNotificationStore-1d934df9.js +0 -47
  884. package/dist/cjs/request-9f87ab34.js +0 -21
  885. package/dist/cjs/restHelpersGet-5c2245a3.js +0 -991
  886. package/dist/cjs/ro-144b5f62.js +0 -68
  887. package/dist/cjs/ru-bf7d1a3e.js +0 -128
  888. package/dist/cjs/share-item.cjs.entry.js +0 -61
  889. package/dist/cjs/shared-list-render-0b452799.js +0 -361
  890. package/dist/cjs/sk-515227a5.js +0 -150
  891. package/dist/cjs/sl-f879b07d.js +0 -170
  892. package/dist/cjs/solution-resource-40e70253.js +0 -145
  893. package/dist/cjs/solution-store-f3257490.js +0 -1354
  894. package/dist/cjs/sr-0510fba6.js +0 -103
  895. package/dist/cjs/sv-c5fbe1ff.js +0 -73
  896. package/dist/cjs/t9n-e69b3d42.js +0 -108
  897. package/dist/cjs/templates-0b7f886f.js +0 -408
  898. package/dist/cjs/th-8cafcb47.js +0 -67
  899. package/dist/cjs/time-ceec376d.js +0 -301
  900. package/dist/cjs/tr-7f905223.js +0 -68
  901. package/dist/cjs/uk-991e83da.js +0 -106
  902. package/dist/cjs/utils-d8dabd76.js +0 -153
  903. package/dist/cjs/utils-e60dc760.js +0 -79
  904. package/dist/cjs/vi-d5eababe.js +0 -72
  905. package/dist/cjs/zh-cn-e6bc2622.js +0 -96
  906. package/dist/cjs/zh-hk-30480131.js +0 -94
  907. package/dist/cjs/zh-tw-1f3b4cda.js +0 -94
  908. package/dist/collection/components/arcgis-login/arcgis-login.css +0 -19
  909. package/dist/collection/components/arcgis-login/arcgis-login.js +0 -80
  910. package/dist/collection/components/share-item/share-item.css +0 -19
  911. package/dist/collection/components/share-item/share-item.js +0 -80
  912. package/dist/components/arcgis-login.d.ts +0 -11
  913. package/dist/components/arcgis-login.js +0 -76
  914. package/dist/components/share-item.d.ts +0 -11
  915. package/dist/components/share-item.js +0 -76
  916. package/dist/esm/ExpandToggle-51a5210b.js +0 -108
  917. package/dist/esm/FloatingArrow-41be757a.js +0 -46
  918. package/dist/esm/Heading-62ae5a41.js +0 -22
  919. package/dist/esm/IdentityManager-28f1ebb3.js +0 -4139
  920. package/dist/esm/Validation-e4b3bd31.js +0 -18
  921. package/dist/esm/app-globals-9df1c281.js +0 -65
  922. package/dist/esm/ar-000d3816.js +0 -104
  923. package/dist/esm/arcgis-login.entry.js +0 -57
  924. package/dist/esm/bg-50ceeb3e.js +0 -82
  925. package/dist/esm/browser-13cd5e9f.js +0 -32
  926. package/dist/esm/bs-8de5a54e.js +0 -51
  927. package/dist/esm/ca-3b560649.js +0 -71
  928. package/dist/esm/calcite-alert_6.entry.js +0 -2096
  929. package/dist/esm/calcite-button-3501ac03.js +0 -278
  930. package/dist/esm/calcite-dialog-21f00586.js +0 -5872
  931. package/dist/esm/calcite-input-355d3812.js +0 -997
  932. package/dist/esm/calcite-input-time-picker-0137aecc.js +0 -1867
  933. package/dist/esm/calcite-label-ac4a2e81.js +0 -107
  934. package/dist/esm/calcite-modal.entry.js +0 -389
  935. package/dist/esm/calcite-notice-56c3f190.js +0 -257
  936. package/dist/esm/common-c3bbba83.js +0 -36
  937. package/dist/esm/conditionalSlot-3eb5090f.js +0 -51
  938. package/dist/esm/config-1d142af8.js +0 -36
  939. package/dist/esm/cs-5cdc1d3f.js +0 -147
  940. package/dist/esm/da-30365c90.js +0 -67
  941. package/dist/esm/date-ac9ec758.js +0 -248
  942. package/dist/esm/de-at-941b583e.js +0 -90
  943. package/dist/esm/de-b89def95.js +0 -91
  944. package/dist/esm/de-ch-568c0c8e.js +0 -90
  945. package/dist/esm/delete-dialog.entry.js +0 -127
  946. package/dist/esm/dom-6f6759df.js +0 -1165
  947. package/dist/esm/downloadUtils-74a6bad9.js +0 -3233
  948. package/dist/esm/el-340bad09.js +0 -66
  949. package/dist/esm/en-au-b4bdb56c.js +0 -66
  950. package/dist/esm/en-ca-0a08923c.js +0 -65
  951. package/dist/esm/en-gb-f5381626.js +0 -69
  952. package/dist/esm/es-876b0a13.js +0 -66
  953. package/dist/esm/es-mx-955bc6a1.js +0 -65
  954. package/dist/esm/et-c76bc3b6.js +0 -92
  955. package/dist/esm/fi-52e100ba.js +0 -115
  956. package/dist/esm/floating-ui-5be07261.js +0 -2404
  957. package/dist/esm/focusTrapComponent-821ef6e1.js +0 -1008
  958. package/dist/esm/form-df6403ca.js +0 -362
  959. package/dist/esm/form-fbc745ea.js +0 -372
  960. package/dist/esm/fr-0699e247.js +0 -68
  961. package/dist/esm/fr-ch-c58b9b94.js +0 -66
  962. package/dist/esm/he-68c61be9.js +0 -105
  963. package/dist/esm/helpers-50d61130.js +0 -913
  964. package/dist/esm/hi-32cfce47.js +0 -65
  965. package/dist/esm/hr-962d1e56.js +0 -80
  966. package/dist/esm/hu-d13da86a.js +0 -88
  967. package/dist/esm/icon-3fb97c97.js +0 -959
  968. package/dist/esm/id-6de1980b.js +0 -66
  969. package/dist/esm/index-1b6f06f9.js +0 -199
  970. package/dist/esm/index-3eee2657.js +0 -1736
  971. package/dist/esm/index-e14fade9.js +0 -2154
  972. package/dist/esm/index.es-3b04354a.js +0 -11220
  973. package/dist/esm/instant-apps-ckeditor-wrapper_3.entry.js +0 -584
  974. package/dist/esm/interactive-62057336.js +0 -82
  975. package/dist/esm/interactive-8a35f349.js +0 -83
  976. package/dist/esm/it-cccb6e82.js +0 -66
  977. package/dist/esm/it-ch-9d87107f.js +0 -66
  978. package/dist/esm/ja-1401a8ec.js +0 -72
  979. package/dist/esm/ko-9f06170e.js +0 -72
  980. package/dist/esm/label-1ef4763d.js +0 -179
  981. package/dist/esm/loadable-bbec26c5.js +0 -93
  982. package/dist/esm/loader-6a8f3dda.js +0 -173
  983. package/dist/esm/locale-22b2e8b1.js +0 -155
  984. package/dist/esm/locale-92d419e3.js +0 -1423
  985. package/dist/esm/locale-9f52f113.js +0 -591
  986. package/dist/esm/logger-5eff868b.js +0 -59
  987. package/dist/esm/lt-61945627.js +0 -97
  988. package/dist/esm/lv-def8646d.js +0 -66
  989. package/dist/esm/mk-db09f1f6.js +0 -66
  990. package/dist/esm/nb-ea4966a3.js +0 -67
  991. package/dist/esm/nl-159f195e.js +0 -67
  992. package/dist/esm/observers-4e931eb6.js +0 -56
  993. package/dist/esm/openCloseComponent-2022c9ab.js +0 -64
  994. package/dist/esm/openCloseComponent-9ae0e1fe.js +0 -63
  995. package/dist/esm/pl-5514150f.js +0 -114
  996. package/dist/esm/popupUtils-685635b7.js +0 -119
  997. package/dist/esm/pt-91415524.js +0 -67
  998. package/dist/esm/pt-br-0f472af4.js +0 -65
  999. package/dist/esm/publicNotificationStore-836d3cb4.js +0 -45
  1000. package/dist/esm/request-d71d6adf.js +0 -19
  1001. package/dist/esm/restHelpersGet-48113381.js +0 -976
  1002. package/dist/esm/ro-decfcb47.js +0 -66
  1003. package/dist/esm/ru-84ce786d.js +0 -126
  1004. package/dist/esm/share-item.entry.js +0 -57
  1005. package/dist/esm/shared-list-render-4dbefca0.js +0 -339
  1006. package/dist/esm/sk-4468c163.js +0 -148
  1007. package/dist/esm/sl-404f285f.js +0 -168
  1008. package/dist/esm/solution-resource-f5809979.js +0 -142
  1009. package/dist/esm/solution-store-5b79fffe.js +0 -1352
  1010. package/dist/esm/sr-152d8bf8.js +0 -101
  1011. package/dist/esm/sv-47115030.js +0 -71
  1012. package/dist/esm/t9n-cbccd1ca.js +0 -103
  1013. package/dist/esm/templates-0b442208.js +0 -402
  1014. package/dist/esm/th-1c539f57.js +0 -65
  1015. package/dist/esm/time-53cad131.js +0 -286
  1016. package/dist/esm/tr-432df990.js +0 -66
  1017. package/dist/esm/uk-46c024d3.js +0 -104
  1018. package/dist/esm/utils-0e3d8992.js +0 -142
  1019. package/dist/esm/utils-d55c5742.js +0 -66
  1020. package/dist/esm/vi-2ad870b8.js +0 -70
  1021. package/dist/esm/zh-cn-1955c2ce.js +0 -94
  1022. package/dist/esm/zh-hk-b32fb4c1.js +0 -92
  1023. package/dist/esm/zh-tw-67bdf163.js +0 -92
  1024. package/dist/solutions-components/p-000848d5.js +0 -6
  1025. package/dist/solutions-components/p-01021fdb.js +0 -6
  1026. package/dist/solutions-components/p-02800894.entry.js +0 -11
  1027. package/dist/solutions-components/p-03434d39.js +0 -11
  1028. package/dist/solutions-components/p-060b853f.entry.js +0 -6
  1029. package/dist/solutions-components/p-0bd7c945.js +0 -6
  1030. package/dist/solutions-components/p-0c985f61.entry.js +0 -6
  1031. package/dist/solutions-components/p-0ca3272e.entry.js +0 -6
  1032. package/dist/solutions-components/p-0ebb1a18.js +0 -11
  1033. package/dist/solutions-components/p-1092fdc9.entry.js +0 -6
  1034. package/dist/solutions-components/p-16afbc95.entry.js +0 -6
  1035. package/dist/solutions-components/p-18c10df7.entry.js +0 -6
  1036. package/dist/solutions-components/p-194bcdd6.entry.js +0 -12
  1037. package/dist/solutions-components/p-197cfd05.js +0 -6
  1038. package/dist/solutions-components/p-1afc6682.js +0 -6
  1039. package/dist/solutions-components/p-1c80d549.entry.js +0 -17
  1040. package/dist/solutions-components/p-1cbec431.entry.js +0 -6
  1041. package/dist/solutions-components/p-1e60d3ea.js +0 -6
  1042. package/dist/solutions-components/p-23c2e69d.entry.js +0 -11
  1043. package/dist/solutions-components/p-23d24056.entry.js +0 -11
  1044. package/dist/solutions-components/p-25ebeb0c.entry.js +0 -11
  1045. package/dist/solutions-components/p-25f84466.entry.js +0 -11
  1046. package/dist/solutions-components/p-25fe9f3e.entry.js +0 -6
  1047. package/dist/solutions-components/p-26ba0cc7.js +0 -17
  1048. package/dist/solutions-components/p-291faeb2.js +0 -6
  1049. package/dist/solutions-components/p-2a6eba20.entry.js +0 -11
  1050. package/dist/solutions-components/p-2b389ce5.entry.js +0 -11
  1051. package/dist/solutions-components/p-2b77a660.entry.js +0 -11
  1052. package/dist/solutions-components/p-2c78f92c.entry.js +0 -11
  1053. package/dist/solutions-components/p-2e193975.entry.js +0 -17
  1054. package/dist/solutions-components/p-32262047.entry.js +0 -11
  1055. package/dist/solutions-components/p-36470f6b.js +0 -6
  1056. package/dist/solutions-components/p-36552016.entry.js +0 -12
  1057. package/dist/solutions-components/p-37ddeea3.js +0 -488
  1058. package/dist/solutions-components/p-3812d485.entry.js +0 -6
  1059. package/dist/solutions-components/p-3948268c.entry.js +0 -6
  1060. package/dist/solutions-components/p-3b312dff.js +0 -6
  1061. package/dist/solutions-components/p-3b451796.js +0 -6
  1062. package/dist/solutions-components/p-3b54163f.js +0 -11
  1063. package/dist/solutions-components/p-3b859054.js +0 -16
  1064. package/dist/solutions-components/p-3cf3c658.entry.js +0 -29
  1065. package/dist/solutions-components/p-3d6698a7.js +0 -11
  1066. package/dist/solutions-components/p-3dfe5cdb.js +0 -6
  1067. package/dist/solutions-components/p-3e4ac28d.entry.js +0 -6
  1068. package/dist/solutions-components/p-3f0f6504.js +0 -6
  1069. package/dist/solutions-components/p-3f18fb1f.js +0 -11
  1070. package/dist/solutions-components/p-3f20a550.entry.js +0 -6
  1071. package/dist/solutions-components/p-3fc70768.entry.js +0 -6
  1072. package/dist/solutions-components/p-405118a8.entry.js +0 -11
  1073. package/dist/solutions-components/p-412759ed.entry.js +0 -11
  1074. package/dist/solutions-components/p-46da7d9f.entry.js +0 -6
  1075. package/dist/solutions-components/p-47fdc484.js +0 -17
  1076. package/dist/solutions-components/p-4858ae16.js +0 -6
  1077. package/dist/solutions-components/p-49888ae8.entry.js +0 -11
  1078. package/dist/solutions-components/p-4a13d8d9.js +0 -6
  1079. package/dist/solutions-components/p-4b1a9c65.js +0 -6
  1080. package/dist/solutions-components/p-4d14be12.entry.js +0 -11
  1081. package/dist/solutions-components/p-50721c04.js +0 -16
  1082. package/dist/solutions-components/p-531c7fdb.js +0 -11
  1083. package/dist/solutions-components/p-535335f2.js +0 -6
  1084. package/dist/solutions-components/p-53bf0fe4.js +0 -6
  1085. package/dist/solutions-components/p-544e3025.entry.js +0 -11
  1086. package/dist/solutions-components/p-55a6c0d1.entry.js +0 -6
  1087. package/dist/solutions-components/p-55b8fab3.entry.js +0 -6
  1088. package/dist/solutions-components/p-564d285a.entry.js +0 -6
  1089. package/dist/solutions-components/p-56b44bf7.entry.js +0 -11
  1090. package/dist/solutions-components/p-57079c91.entry.js +0 -6
  1091. package/dist/solutions-components/p-5732176e.entry.js +0 -47
  1092. package/dist/solutions-components/p-57409415.js +0 -17
  1093. package/dist/solutions-components/p-576843e9.js +0 -11
  1094. package/dist/solutions-components/p-5773023c.entry.js +0 -11
  1095. package/dist/solutions-components/p-5c20cdef.entry.js +0 -11
  1096. package/dist/solutions-components/p-5d1ab17e.entry.js +0 -21
  1097. package/dist/solutions-components/p-5dd95ca6.entry.js +0 -20
  1098. package/dist/solutions-components/p-5e71e72a.js +0 -21
  1099. package/dist/solutions-components/p-5f9afbb9.entry.js +0 -17
  1100. package/dist/solutions-components/p-6155f4e7.js +0 -6
  1101. package/dist/solutions-components/p-619b12c3.entry.js +0 -17
  1102. package/dist/solutions-components/p-61bd743b.entry.js +0 -22
  1103. package/dist/solutions-components/p-64860143.entry.js +0 -11
  1104. package/dist/solutions-components/p-64a569da.entry.js +0 -6
  1105. package/dist/solutions-components/p-6a1a4124.js +0 -6
  1106. package/dist/solutions-components/p-6b8a94f0.entry.js +0 -6
  1107. package/dist/solutions-components/p-6e842050.entry.js +0 -11
  1108. package/dist/solutions-components/p-721bf278.js +0 -6
  1109. package/dist/solutions-components/p-731eb030.js +0 -11
  1110. package/dist/solutions-components/p-73db9e69.entry.js +0 -11
  1111. package/dist/solutions-components/p-73e24177.js +0 -6
  1112. package/dist/solutions-components/p-74b25167.entry.js +0 -11
  1113. package/dist/solutions-components/p-7530a02f.js +0 -30
  1114. package/dist/solutions-components/p-760f833e.js +0 -6
  1115. package/dist/solutions-components/p-7781048a.js +0 -11
  1116. package/dist/solutions-components/p-779c8194.entry.js +0 -6
  1117. package/dist/solutions-components/p-7a1177c0.entry.js +0 -6
  1118. package/dist/solutions-components/p-7c7549b0.js +0 -61
  1119. package/dist/solutions-components/p-7e574f00.js +0 -11
  1120. package/dist/solutions-components/p-80913362.entry.js +0 -11
  1121. package/dist/solutions-components/p-80e05130.entry.js +0 -11
  1122. package/dist/solutions-components/p-81a2f4c3.entry.js +0 -12
  1123. package/dist/solutions-components/p-81c41f7b.entry.js +0 -11
  1124. package/dist/solutions-components/p-82ee3b26.js +0 -7
  1125. package/dist/solutions-components/p-8354374d.entry.js +0 -6
  1126. package/dist/solutions-components/p-844b7f82.entry.js +0 -6
  1127. package/dist/solutions-components/p-8535b484.entry.js +0 -17
  1128. package/dist/solutions-components/p-853db1b6.entry.js +0 -6
  1129. package/dist/solutions-components/p-85c0d237.entry.js +0 -11
  1130. package/dist/solutions-components/p-885b958c.entry.js +0 -6
  1131. package/dist/solutions-components/p-88e8400a.entry.js +0 -11
  1132. package/dist/solutions-components/p-899179d7.js +0 -6
  1133. package/dist/solutions-components/p-8a9d2564.entry.js +0 -11
  1134. package/dist/solutions-components/p-8b60e48a.entry.js +0 -11
  1135. package/dist/solutions-components/p-8d028e6a.entry.js +0 -11
  1136. package/dist/solutions-components/p-8f7a11c9.js +0 -21
  1137. package/dist/solutions-components/p-90240f7f.entry.js +0 -6
  1138. package/dist/solutions-components/p-917b535b.js +0 -11
  1139. package/dist/solutions-components/p-929b5bd1.entry.js +0 -6
  1140. package/dist/solutions-components/p-92c8093d.entry.js +0 -6
  1141. package/dist/solutions-components/p-934a6d75.js +0 -6
  1142. package/dist/solutions-components/p-938fc0cf.entry.js +0 -6
  1143. package/dist/solutions-components/p-94b818bb.js +0 -11
  1144. package/dist/solutions-components/p-973ec320.js +0 -36
  1145. package/dist/solutions-components/p-97b64bea.entry.js +0 -11
  1146. package/dist/solutions-components/p-97e56ccc.js +0 -6
  1147. package/dist/solutions-components/p-9b513db6.entry.js +0 -16
  1148. package/dist/solutions-components/p-9bb44f57.js +0 -65
  1149. package/dist/solutions-components/p-9c33a239.entry.js +0 -6
  1150. package/dist/solutions-components/p-9cc10554.js +0 -6
  1151. package/dist/solutions-components/p-9ce8e34f.js +0 -11
  1152. package/dist/solutions-components/p-9f38488c.js +0 -6
  1153. package/dist/solutions-components/p-a104bc28.js +0 -6
  1154. package/dist/solutions-components/p-a1e6cfd8.js +0 -6
  1155. package/dist/solutions-components/p-a3633e71.entry.js +0 -6
  1156. package/dist/solutions-components/p-a3bc6dd8.entry.js +0 -29
  1157. package/dist/solutions-components/p-a412c674.js +0 -11
  1158. package/dist/solutions-components/p-a4748493.entry.js +0 -11
  1159. package/dist/solutions-components/p-a570536b.js +0 -6
  1160. package/dist/solutions-components/p-a60d197e.entry.js +0 -6
  1161. package/dist/solutions-components/p-a806b4cf.entry.js +0 -17
  1162. package/dist/solutions-components/p-a927a4e4.entry.js +0 -6
  1163. package/dist/solutions-components/p-aaa0d91b.entry.js +0 -11
  1164. package/dist/solutions-components/p-ab2a12e4.entry.js +0 -17
  1165. package/dist/solutions-components/p-abcf272c.entry.js +0 -23
  1166. package/dist/solutions-components/p-ad536cdf.js +0 -11
  1167. package/dist/solutions-components/p-aef6e1f5.js +0 -6
  1168. package/dist/solutions-components/p-b13d3b66.js +0 -6
  1169. package/dist/solutions-components/p-b2064f52.entry.js +0 -6
  1170. package/dist/solutions-components/p-b209d4b9.js +0 -6
  1171. package/dist/solutions-components/p-b2a1177d.entry.js +0 -11
  1172. package/dist/solutions-components/p-b54b2fc6.js +0 -31
  1173. package/dist/solutions-components/p-b56b9a89.js +0 -11
  1174. package/dist/solutions-components/p-b5fe0c3e.entry.js +0 -6
  1175. package/dist/solutions-components/p-b6ea0097.js +0 -6
  1176. package/dist/solutions-components/p-b7b32972.entry.js +0 -6
  1177. package/dist/solutions-components/p-b7b5e88d.entry.js +0 -11
  1178. package/dist/solutions-components/p-b9afb782.entry.js +0 -6
  1179. package/dist/solutions-components/p-b9b3b48a.entry.js +0 -6
  1180. package/dist/solutions-components/p-ba62b5f4.js +0 -16
  1181. package/dist/solutions-components/p-bb9e232f.js +0 -6
  1182. package/dist/solutions-components/p-bba22752.js +0 -6
  1183. package/dist/solutions-components/p-bc47653a.js +0 -6
  1184. package/dist/solutions-components/p-bccc997c.js +0 -6
  1185. package/dist/solutions-components/p-bd220980.js +0 -21
  1186. package/dist/solutions-components/p-bd6a96db.js +0 -6
  1187. package/dist/solutions-components/p-bded7c22.entry.js +0 -6
  1188. package/dist/solutions-components/p-be28e2bf.js +0 -6
  1189. package/dist/solutions-components/p-be7c3f1d.js +0 -6
  1190. package/dist/solutions-components/p-c023fc82.js +0 -6
  1191. package/dist/solutions-components/p-c1160ad0.entry.js +0 -6
  1192. package/dist/solutions-components/p-c26b8546.entry.js +0 -6
  1193. package/dist/solutions-components/p-c2ff1a82.js +0 -6
  1194. package/dist/solutions-components/p-c323117d.js +0 -16
  1195. package/dist/solutions-components/p-c5713c95.entry.js +0 -11
  1196. package/dist/solutions-components/p-c8c16d43.js +0 -11
  1197. package/dist/solutions-components/p-c9b5a34f.js +0 -52
  1198. package/dist/solutions-components/p-ca26f8f8.js +0 -6
  1199. package/dist/solutions-components/p-cb007d2f.js +0 -6
  1200. package/dist/solutions-components/p-cc9e1367.entry.js +0 -6
  1201. package/dist/solutions-components/p-cdadd82c.entry.js +0 -17
  1202. package/dist/solutions-components/p-ce67bbbb.js +0 -11
  1203. package/dist/solutions-components/p-cf46113c.js +0 -6
  1204. package/dist/solutions-components/p-cfc2fae0.entry.js +0 -17
  1205. package/dist/solutions-components/p-d0d020a5.js +0 -37
  1206. package/dist/solutions-components/p-d21f3851.js +0 -11
  1207. package/dist/solutions-components/p-d2c460b9.entry.js +0 -11
  1208. package/dist/solutions-components/p-d4c44a94.js +0 -6
  1209. package/dist/solutions-components/p-dca07fd3.js +0 -143
  1210. package/dist/solutions-components/p-dcfe9514.entry.js +0 -6
  1211. package/dist/solutions-components/p-dd0bee4a.entry.js +0 -6
  1212. package/dist/solutions-components/p-de2fecc0.js +0 -40
  1213. package/dist/solutions-components/p-de44364f.js +0 -11
  1214. package/dist/solutions-components/p-decc356d.entry.js +0 -11
  1215. package/dist/solutions-components/p-e043aae3.js +0 -6
  1216. package/dist/solutions-components/p-e04831b9.js +0 -6
  1217. package/dist/solutions-components/p-e06f90a2.entry.js +0 -11
  1218. package/dist/solutions-components/p-e0e6d099.js +0 -21
  1219. package/dist/solutions-components/p-e21cb40e.entry.js +0 -11
  1220. package/dist/solutions-components/p-e33b7602.js +0 -6
  1221. package/dist/solutions-components/p-e385cdcf.entry.js +0 -11
  1222. package/dist/solutions-components/p-e3e89708.entry.js +0 -11
  1223. package/dist/solutions-components/p-e4206773.entry.js +0 -11
  1224. package/dist/solutions-components/p-e4c16e8f.entry.js +0 -6
  1225. package/dist/solutions-components/p-e6b2432e.entry.js +0 -6
  1226. package/dist/solutions-components/p-e76f93bc.js +0 -11
  1227. package/dist/solutions-components/p-e82a84ac.entry.js +0 -6
  1228. package/dist/solutions-components/p-e9d3365f.js +0 -22
  1229. package/dist/solutions-components/p-eb1edf3e.entry.js +0 -6
  1230. package/dist/solutions-components/p-ebac7396.entry.js +0 -6
  1231. package/dist/solutions-components/p-ecabb824.entry.js +0 -6
  1232. package/dist/solutions-components/p-ecfe49cf.entry.js +0 -6
  1233. package/dist/solutions-components/p-ed50a65b.entry.js +0 -17
  1234. package/dist/solutions-components/p-eda5e49e.entry.js +0 -11
  1235. package/dist/solutions-components/p-ef51b934.js +0 -6
  1236. package/dist/solutions-components/p-f22622b4.js +0 -6
  1237. package/dist/solutions-components/p-f2340619.js +0 -6
  1238. package/dist/solutions-components/p-f33c5883.entry.js +0 -6
  1239. package/dist/solutions-components/p-f4eea8c2.js +0 -67
  1240. package/dist/solutions-components/p-f7653a0b.js +0 -6
  1241. package/dist/solutions-components/p-f876de3f.js +0 -6
  1242. package/dist/solutions-components/p-f87f02a1.entry.js +0 -6
  1243. package/dist/solutions-components/p-faaf42a3.entry.js +0 -11
  1244. package/dist/solutions-components/p-fcd719b7.entry.js +0 -22
  1245. package/dist/solutions-components/p-fd152d68.js +0 -16
  1246. package/dist/solutions-components/p-fdf5a50e.entry.js +0 -11
  1247. package/dist/solutions-components/p-fe43b510.js +0 -17
  1248. package/dist/solutions-components/p-ff609816.entry.js +0 -11
  1249. package/dist/types/components/arcgis-login/arcgis-login.d.ts +0 -19
  1250. package/dist/types/components/share-item/share-item.d.ts +0 -19
@@ -1,1354 +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
- 'use strict';
7
-
8
- const index = require('./index-29826564.js');
9
- const interfaces = require('./interfaces-09c4c40e.js');
10
- const solutionResource = require('./solution-resource-40e70253.js');
11
- require('./index-f052f656.js');
12
- const restHelpersGet = require('./restHelpersGet-5c2245a3.js');
13
-
14
- /*! *****************************************************************************
15
- Copyright (c) Microsoft Corporation.
16
-
17
- Permission to use, copy, modify, and/or distribute this software for any
18
- purpose with or without fee is hereby granted.
19
-
20
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
21
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
22
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
23
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
24
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
25
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
26
- PERFORMANCE OF THIS SOFTWARE.
27
- ***************************************************************************** */
28
-
29
- var __assign = function() {
30
- __assign = Object.assign || function __assign(t) {
31
- for (var s, i = 1, n = arguments.length; i < n; i++) {
32
- s = arguments[i];
33
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
34
- }
35
- return t;
36
- };
37
- return __assign.apply(this, arguments);
38
- };
39
-
40
- /* Copyright (c) 2017 Environmental Systems Research Institute, Inc.
41
- * Apache-2.0 */
42
- /**
43
- * Helper that returns the appropriate portal url for a given request. `requestOptions.portal` is given
44
- * precedence over `authentication.portal`. If neither `portal` nor `authentication` is present,
45
- * `www.arcgis.com/sharing/rest` is returned.
46
- *
47
- * @param requestOptions - Request options that may have authentication manager
48
- * @returns Portal url to be used in API requests
49
- */
50
- function getPortalUrl(requestOptions) {
51
- if (requestOptions === void 0) { requestOptions = {}; }
52
- // use portal in options if specified
53
- if (requestOptions.portal) {
54
- return restHelpersGet.cleanUrl(requestOptions.portal);
55
- }
56
- // if auth was passed, use that portal
57
- if (requestOptions.authentication) {
58
- // the portal url is already scrubbed in the auth package
59
- return requestOptions.authentication.portal;
60
- }
61
- // default to arcgis.com
62
- return "https://www.arcgis.com/sharing/rest";
63
- }
64
-
65
- /* Copyright (c) 2017-2018 Environmental Systems Research Institute, Inc.
66
- * Apache-2.0 */
67
- /**
68
- * Serialize an item and its data into a json format accepted by the Portal API for create and update operations
69
- *
70
- * @param item Item to be serialized
71
- * @returns a formatted json object to be sent to Portal
72
- */
73
- function serializeItem(item) {
74
- // create a clone so we're not messing with the original
75
- var clone = JSON.parse(JSON.stringify(item));
76
- // binary data needs POSTed as a `file`
77
- // JSON object literals should be passed as `text`.
78
- if (clone.data) {
79
- (typeof Blob !== "undefined" && item.data instanceof Blob) ||
80
- // Node.js doesn't implement Blob
81
- item.data.constructor.name === "ReadStream"
82
- ? (clone.file = item.data)
83
- : (clone.text = item.data);
84
- delete clone.data;
85
- }
86
- return clone;
87
- }
88
- /**
89
- * `requestOptions.owner` is given priority, `requestOptions.item.owner` will be checked next. If neither are present, `authentication.getUserName()` will be used instead.
90
- */
91
- function determineOwner(requestOptions) {
92
- if (requestOptions.owner) {
93
- return Promise.resolve(requestOptions.owner);
94
- }
95
- else if (requestOptions.item && requestOptions.item.owner) {
96
- return Promise.resolve(requestOptions.item.owner);
97
- }
98
- else if (requestOptions.authentication &&
99
- requestOptions.authentication.getUsername) {
100
- return requestOptions.authentication.getUsername();
101
- }
102
- else {
103
- return Promise.reject(new Error("Could not determine the owner of this item. Pass the `owner`, `item.owner`, or `authentication` option."));
104
- }
105
- }
106
- /**
107
- * checks if the extent is a valid BBox (2 element array of coordinate pair arrays)
108
- * @param extent
109
- * @returns
110
- */
111
- function isBBox(extent) {
112
- return (Array.isArray(extent) &&
113
- Array.isArray(extent[0]) &&
114
- Array.isArray(extent[1]));
115
- }
116
- /**
117
- * Given a Bbox, convert it to a string. Some api endpoints expect a string
118
- *
119
- * @param {BBox} extent
120
- * @return {*} {string}
121
- */
122
- function bboxToString(extent) {
123
- return extent.join(",");
124
- }
125
-
126
- /* Copyright (c) 2018 Environmental Systems Research Institute, Inc.
127
- * Apache-2.0 */
128
- /**
129
- * ```js
130
- * import { updateItem } from "@esri/arcgis-rest-portal";
131
- * //
132
- * updateItem({
133
- * item: {
134
- * id: "3ef",
135
- * description: "A three hour tour"
136
- * },
137
- * authentication
138
- * })
139
- * .then(response)
140
- * ```
141
- * Update an Item. See the [REST Documentation](https://developers.arcgis.com/rest/users-groups-and-items/update-item.htm) for more information.
142
- *
143
- * @param requestOptions - Options for the request.
144
- * @returns A Promise that updates an item.
145
- */
146
- function updateItem$1(requestOptions) {
147
- return determineOwner(requestOptions).then(function (owner) {
148
- var url = requestOptions.folderId
149
- ? getPortalUrl(requestOptions) + "/content/users/" + owner + "/" + requestOptions.folderId + "/items/" + requestOptions.item.id + "/update"
150
- : getPortalUrl(requestOptions) + "/content/users/" + owner + "/items/" + requestOptions.item.id + "/update";
151
- // serialize the item into something Portal will accept
152
- requestOptions.params = __assign(__assign({}, requestOptions.params), serializeItem(requestOptions.item));
153
- // convert extent, if present, into a string from bbox
154
- // processParams was previously doing this sort of work,
155
- // however now we need to let array of arrays through
156
- // Thus for extents we need to move this logic here
157
- if (requestOptions.params.extent && isBBox(requestOptions.params.extent)) {
158
- requestOptions.params.extent = bboxToString(requestOptions.params.extent);
159
- }
160
- /* istanbul ignore if */
161
- if (requestOptions.params.file &&
162
- requestOptions.params.file.constructor &&
163
- requestOptions.params.file.constructor.name === 'ReadStream') {
164
- // dataSize is not an official parameter for the ArcGIS REST API but is needed
165
- // to encode the ReadStream with an appropriate length. This is to overcome
166
- // the form-data library bug:
167
- // https://github.com/form-data/form-data/issues/508
168
- requestOptions.params.dataSize = requestOptions.dataSize;
169
- }
170
- return restHelpersGet.request(url, requestOptions);
171
- });
172
- }
173
- /**
174
- * ```js
175
- * import { updateItemResource } from "@esri/arcgis-rest-portal";
176
- * //
177
- * updateItemResource({
178
- * id: '3ef',
179
- * resource: file,
180
- * name: 'bigkahuna.jpg',
181
- * authentication
182
- * })
183
- * .then(response)
184
- * ```
185
- * Update a resource associated with an item. See the [REST Documentation](https://developers.arcgis.com/rest/users-groups-and-items/update-resources.htm) for more information.
186
- *
187
- * @param requestOptions - Options for the request
188
- * @returns A Promise that updates an item resource.
189
- */
190
- function updateItemResource(requestOptions) {
191
- return determineOwner(requestOptions).then(function (owner) {
192
- var url = getPortalUrl(requestOptions) + "/content/users/" + owner + "/items/" + requestOptions.id + "/updateResources";
193
- // mix in user supplied params
194
- requestOptions.params = __assign({ file: requestOptions.resource, fileName: requestOptions.name, resourcesPrefix: requestOptions.prefix, text: requestOptions.content }, requestOptions.params);
195
- // only override the access specified previously if 'private' is passed explicitly
196
- if (typeof requestOptions.private !== "undefined") {
197
- requestOptions.params.access = requestOptions.private
198
- ? "private"
199
- : "inherit";
200
- }
201
- return restHelpersGet.request(url, requestOptions);
202
- });
203
- }
204
-
205
- /* Copyright (c) 2018 Environmental Systems Research Institute, Inc.
206
- * Apache-2.0 */
207
- /**
208
- * ```js
209
- * import { addItemResource } from "@esri/arcgis-rest-portal";
210
- * //
211
- * // Add a file resource
212
- * addItemResource({
213
- * id: '3ef',
214
- * resource: file,
215
- * name: 'bigkahuna.jpg',
216
- * authentication
217
- * })
218
- * .then(response)
219
- * //
220
- * // Add a text resource
221
- * addItemResource({
222
- * id: '4fg',
223
- * content: "Text content",
224
- * name: 'bigkahuna.txt',
225
- * authentication
226
- * })
227
- * .then(response)
228
- * ```
229
- * Add a resource associated with an item. See the [REST Documentation](https://developers.arcgis.com/rest/users-groups-and-items/add-resources.htm) for more information.
230
- *
231
- * @param requestOptions - Options for the request
232
- * @returns A Promise to add item resources.
233
- */
234
- function addItemResource(requestOptions) {
235
- return determineOwner(requestOptions).then(function (owner) {
236
- var url = getPortalUrl(requestOptions) + "/content/users/" + owner + "/items/" + requestOptions.id + "/addResources";
237
- requestOptions.params = __assign({ file: requestOptions.resource, fileName: requestOptions.name, resourcesPrefix: requestOptions.prefix, text: requestOptions.content, access: requestOptions.private ? "private" : "inherit" }, requestOptions.params);
238
- return restHelpersGet.request(url, requestOptions);
239
- });
240
- }
241
-
242
- /* Copyright (c) 2018 Environmental Systems Research Institute, Inc.
243
- * Apache-2.0 */
244
- /**
245
- * Remove a resource associated with an item
246
- *
247
- * @param requestOptions - Options for the request
248
- * @returns A Promise that deletes an item resource.
249
- */
250
- function removeItemResource(requestOptions) {
251
- return determineOwner(requestOptions).then(function (owner) {
252
- var url = getPortalUrl(requestOptions) + "/content/users/" + owner + "/items/" + requestOptions.id + "/removeResources";
253
- // mix in user supplied params
254
- requestOptions.params = __assign(__assign({}, requestOptions.params), { resource: requestOptions.resource });
255
- // only override the deleteAll param specified previously if it is passed explicitly
256
- if (typeof requestOptions.deleteAll !== "undefined") {
257
- requestOptions.params.deleteAll = requestOptions.deleteAll;
258
- }
259
- return restHelpersGet.request(url, requestOptions);
260
- });
261
- }
262
-
263
- /* Copyright (c) 2018-2019 Environmental Systems Research Institute, Inc.
264
- * Apache-2.0 */
265
- /**
266
- * Returns an array with arrays of the given size.
267
- *
268
- * @param arr Array to split
269
- * @param size Size of every group
270
- */
271
- function chunkArray(arr, size) {
272
- const results = [];
273
- let index = 0;
274
- while (index < arr.length) {
275
- results.push(arr.slice(index, index + size));
276
- index += size;
277
- }
278
- return results;
279
- }
280
-
281
- /** @license
282
- * Copyright 2018 Esri
283
- *
284
- * Licensed under the Apache License, Version 2.0 (the "License");
285
- * you may not use this file except in compliance with the License.
286
- * You may obtain a copy of the License at
287
- *
288
- * http://www.apache.org/licenses/LICENSE-2.0
289
- *
290
- * Unless required by applicable law or agreed to in writing, software
291
- * distributed under the License is distributed on an "AS IS" BASIS,
292
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
293
- * See the License for the specific language governing permissions and
294
- * limitations under the License.
295
- */
296
- /**
297
- * Updates an item.
298
- *
299
- * @param itemInfo The base info of an item; note that this content will be serialized, which doesn't work
300
- * for binary content
301
- * @param authentication Credentials for request
302
- * @param folderId Item's folder
303
- * @param additionalParams Updates that are put under the `params` property, which is not serialized
304
- * @return
305
- */
306
- function updateItem(itemInfo, authentication, folderId, additionalParams) {
307
- return new Promise((resolve, reject) => {
308
- const updateOptions = {
309
- item: itemInfo,
310
- folderId: folderId,
311
- authentication: authentication,
312
- params: {
313
- ...(additionalParams ?? {}),
314
- },
315
- };
316
- updateItem$1(updateOptions).then((response) => (response.success ? resolve(response) : reject(response)), (err) => reject(err));
317
- });
318
- }
319
-
320
- /** @license
321
- * Copyright 2021 Esri
322
- *
323
- * Licensed under the Apache License, Version 2.0 (the "License");
324
- * you may not use this file except in compliance with the License.
325
- * You may obtain a copy of the License at
326
- *
327
- * http://www.apache.org/licenses/LICENSE-2.0
328
- *
329
- * Unless required by applicable law or agreed to in writing, software
330
- * distributed under the License is distributed on an "AS IS" BASIS,
331
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
332
- * See the License for the specific language governing permissions and
333
- * limitations under the License.
334
- */
335
- // ------------------------------------------------------------------------------------------------------------------ //
336
- /**
337
- * Generates IAssociatedFileCopyResults object.
338
- *
339
- * @param fileInfo Info about item that was to be copied
340
- * @param fetchedFromSource Status of fetching item from source
341
- * @param copiedToDestination Status of copying item to destination
342
- * @returns IAssociatedFileCopyResults object
343
- */
344
- function createCopyResults(fileInfo, fetchedFromSource, copiedToDestination) {
345
- return {
346
- ...fileInfo,
347
- fetchedFromSource,
348
- copiedToDestination,
349
- };
350
- }
351
-
352
- /** @license
353
- * Copyright 2020 Esri
354
- *
355
- * Licensed under the Apache License, Version 2.0 (the "License");
356
- * you may not use this file except in compliance with the License.
357
- * You may obtain a copy of the License at
358
- *
359
- * http://www.apache.org/licenses/LICENSE-2.0
360
- *
361
- * Unless required by applicable law or agreed to in writing, software
362
- * distributed under the License is distributed on an "AS IS" BASIS,
363
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
364
- * See the License for the specific language governing permissions and
365
- * limitations under the License.
366
- */
367
- /**
368
- * Extracts an item's resource folder and filename from the filename used to store a copy in a storage item.
369
- *
370
- * @param storageResourceFilename Filename used to store the resource, metadata, or thumbnail of an item
371
- * @param storageVersion Version of the Solution template
372
- * @returns Folder and filename for storing information in an item, as well as the type (resource, metadata,
373
- * or thumbnail) of the information; the folder property is only meaningful for the resource type
374
- * @see generateResourceStorageFilename
375
- * @see generateMetadataStorageFilename
376
- * @see generateThumbnailStorageFilename
377
- * @see convertItemResourceToStorageResource
378
- */
379
- function convertStorageResourceToItemResource(storageResourceFilename, storageVersion = 0) {
380
- const nameParts = storageResourceFilename.split("/");
381
- let filename = nameParts.pop();
382
- let folder = "";
383
- const firstPrefixPart = nameParts.shift(); // undefined if there's no folder
384
- // Handle special "folders"
385
- let type = solutionResource.EFileType.Resource;
386
- if (firstPrefixPart) {
387
- if (firstPrefixPart.endsWith("_info_thumbnail")) {
388
- type = solutionResource.EFileType.Thumbnail;
389
- }
390
- else if (firstPrefixPart.endsWith("_info_metadata")) {
391
- type = solutionResource.EFileType.Metadata;
392
- filename = "metadata.xml";
393
- }
394
- else if (firstPrefixPart.endsWith("_info_data")) {
395
- type = solutionResource.EFileType.Data;
396
- }
397
- else if (firstPrefixPart.endsWith("_info_dataz")) {
398
- filename = filename.replace(/\.zip$/, "");
399
- type = solutionResource.EFileType.Data;
400
- // Otherwise, strip off item id
401
- }
402
- else if (storageVersion < 1) {
403
- // Version 0
404
- const folderStart = firstPrefixPart.indexOf("_");
405
- if (folderStart > 0) {
406
- folder = firstPrefixPart.substr(folderStart + 1);
407
- }
408
- }
409
- else {
410
- // Version ≥ 1
411
- folder = nameParts.join("/"); // folder is optional, in which case this will be ""
412
- }
413
- }
414
- return { type, folder, filename };
415
- }
416
-
417
- /** @license
418
- * Copyright 2021 Esri
419
- *
420
- * Licensed under the Apache License, Version 2.0 (the "License");
421
- * you may not use this file except in compliance with the License.
422
- * You may obtain a copy of the License at
423
- *
424
- * http://www.apache.org/licenses/LICENSE-2.0
425
- *
426
- * Unless required by applicable law or agreed to in writing, software
427
- * distributed under the License is distributed on an "AS IS" BASIS,
428
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
429
- * See the License for the specific language governing permissions and
430
- * limitations under the License.
431
- */
432
- // ------------------------------------------------------------------------------------------------------------------ //
433
- /**
434
- * Copies a resource into a zipfile.
435
- *
436
- * @param file Information about the source and destination of the file such as its URL, folder, filename
437
- * @param zipInfo Information about a zipfile such as its name and its zip object
438
- * @returns The result of the copy
439
- */
440
- function copyResourceIntoZip(file, zipInfo) {
441
- // Add it to the zip
442
- if (file.folder) {
443
- zipInfo.zip.folder(file.folder).file(file.filename, file.file, { binary: true });
444
- }
445
- else {
446
- zipInfo.zip.file(file.filename, file.file, { binary: true });
447
- }
448
- zipInfo.filelist.push(file);
449
- return createCopyResults(file, true);
450
- }
451
-
452
- /** @license
453
- * Copyright 2021 Esri
454
- *
455
- * Licensed under the Apache License, Version 2.0 (the "License");
456
- * you may not use this file except in compliance with the License.
457
- * You may obtain a copy of the License at
458
- *
459
- * http://www.apache.org/licenses/LICENSE-2.0
460
- *
461
- * Unless required by applicable law or agreed to in writing, software
462
- * distributed under the License is distributed on an "AS IS" BASIS,
463
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
464
- * See the License for the specific language governing permissions and
465
- * limitations under the License.
466
- */
467
- // ------------------------------------------------------------------------------------------------------------------ //
468
- /**
469
- * Copies a zipfile into an AGO item.
470
- *
471
- * @param zipInfo Information about a zipfile such as its name and its zip object
472
- * @param destinationItemId Id of item to receive copy of resource/metadata/thumbnail
473
- * @param destinationAuthentication Credentials for the request to the storage
474
- * @returns A promise which resolves to the result of the copy
475
- */
476
- function copyZipIntoItem(zipInfo, destinationItemId, destinationAuthentication) {
477
- return new Promise((resolve) => {
478
- zipInfo.zip
479
- .generateAsync({ type: "blob" })
480
- .then((content) => {
481
- return restHelpersGet.blobToFile(content, zipInfo.filename, "application/zip");
482
- })
483
- .then((zipfile) => {
484
- const addResourceOptions = {
485
- id: destinationItemId,
486
- resource: zipfile,
487
- authentication: destinationAuthentication,
488
- params: {
489
- archive: true,
490
- },
491
- };
492
- return addItemResource(addResourceOptions);
493
- })
494
- .then(() => resolve(createCopyResults(zipInfo, true, true)), () => resolve(createCopyResults(zipInfo, true, false)));
495
- });
496
- }
497
-
498
- /** @license
499
- * Copyright 2021 Esri
500
- *
501
- * Licensed under the Apache License, Version 2.0 (the "License");
502
- * you may not use this file except in compliance with the License.
503
- * You may obtain a copy of the License at
504
- *
505
- * http://www.apache.org/licenses/LICENSE-2.0
506
- *
507
- * Unless required by applicable law or agreed to in writing, software
508
- * distributed under the License is distributed on an "AS IS" BASIS,
509
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
510
- * See the License for the specific language governing permissions and
511
- * limitations under the License.
512
- */
513
- // ------------------------------------------------------------------------------------------------------------------ //
514
- /**
515
- * Copies the files for storing the resources, metadata, and thumbnail of an item or group to a storage item
516
- * with a specified path by collecting files into zip files.
517
- *
518
- * @param files List of item files' URLs and folder/filenames for storing the files
519
- * @param destinationItemId Id of item to receive copy of resource/metadata/thumbnail
520
- * @param destinationAuthentication Credentials for the request to the storage
521
- * @param filesPerZip Number of files to include per zip file; AGO limits zips to 50 files
522
- * @returns A promise which resolves to a list of the result of the copies
523
- */
524
- function copyFilesAsResources(files, destinationItemId, destinationAuthentication, filesPerZip = 40) {
525
- return new Promise((resolve) => {
526
- let awaitAllItems = [];
527
- const zipInfos = [];
528
- if (files.length > 0) {
529
- // Bundle the resources into chunked zip updates because AGO tends to have problems with
530
- // many updates in a row to the same item: it claims success despite randomly failing.
531
- // Note that AGO imposes a limit of 50 files per zip, so we break the list of resource
532
- // file info into chunks below this threshold and start a zip for each
533
- // https://developers.arcgis.com/rest/users-groups-and-items/add-resources.htm
534
- const chunkedResourceFiles = chunkArray(files, filesPerZip);
535
- chunkedResourceFiles.forEach((chunk, index) => {
536
- // Create a zip for this chunk
537
- const zipInfo = {
538
- filename: `resources${index}.zip`,
539
- zip: new solutionResource.JSZip(),
540
- filelist: [],
541
- };
542
- awaitAllItems = awaitAllItems.concat(chunk.map((file) => copyResourceIntoZip(file, zipInfo)));
543
- zipInfos.push(zipInfo);
544
- });
545
- }
546
- if (awaitAllItems.length > 0) {
547
- // Wait until the Resource zip file(s) are prepared
548
- void Promise.all(awaitAllItems).then((results) => {
549
- // We have three types of results:
550
- // | fetchedFromSource | copiedToDestination | interpretation | |
551
- // +-------------------+---------------------+------------------------------------------------+
552
- // | false | * | could not fetch file from source |
553
- // | true | true | file has been fetched and sent to AGO |
554
- // | true | undefined | file has been fetched and will be sent via zip |
555
- // Filter out copiedToDestination===undefined; we'll get their status when we send their zip
556
- results = results.filter((result) => !(result.fetchedFromSource && typeof result.copiedToDestination === "undefined"));
557
- // Now send the resources to AGO
558
- // eslint-disable-next-line @typescript-eslint/no-floating-promises
559
- _copyAssociatedFileZips(zipInfos, destinationItemId, destinationAuthentication).then((zipResults) => {
560
- resolve(results.concat(zipResults));
561
- });
562
- });
563
- }
564
- else {
565
- // No data, metadata, or resources to send; we're done
566
- resolve([]);
567
- }
568
- });
569
- }
570
- /**
571
- * Copies one or more zipfiles to a storage item.
572
- *
573
- * @param zipInfos List of zip files containing files to store
574
- * @param destinationItemId Id of item to receive copy of resource/metadata/thumbnail
575
- * @param destinationAuthentication Credentials for the request to the storage
576
- * @returns A promise which resolves to a list of the result of the copies
577
- * @private
578
- */
579
- function _copyAssociatedFileZips(zipInfos, destinationItemId, destinationAuthentication) {
580
- return new Promise((resolve) => {
581
- const results = [];
582
- // Filter out empty zips, which can happen when none of the files in the chunk going into a zip
583
- // can be fetched; e.g., the only file is metadata.xml, and the source item doesn't have metadata
584
- const nonEmptyZipInfos = zipInfos.filter((zipInfo) => Object.keys(zipInfo.zip.files).length > 0);
585
- if (nonEmptyZipInfos.length > 0) {
586
- // Send the zip(s) to AGO
587
- void _sendZipsSeriallyToItem(nonEmptyZipInfos, destinationItemId, destinationAuthentication).then((zipResults) => {
588
- resolve(zipResults);
589
- });
590
- }
591
- else {
592
- // No resources to send; we're done
593
- resolve(results);
594
- }
595
- });
596
- }
597
- /**
598
- * Copies one or more zipfiles to a storage item in a serial fashion, waiting a bit between sends.
599
- *
600
- * @param zipInfos List of zip files containing files to store
601
- * @param destinationItemId Id of item to receive copy of resource/metadata/thumbnail
602
- * @param destinationAuthentication Credentials for the request to the storage
603
- * @returns A promise which resolves to a list of the result of the copies
604
- */
605
- function _sendZipsSeriallyToItem(zipInfos, destinationItemId, destinationAuthentication) {
606
- return new Promise((resolve) => {
607
- let allResults = [];
608
- // Remove zip from bottom of list
609
- const zipInfoToSend = zipInfos.pop();
610
- // Send predecessors in list
611
- let sendOthersPromise = Promise.resolve([]);
612
- if (zipInfos.length > 0) {
613
- sendOthersPromise = _sendZipsSeriallyToItem(zipInfos, destinationItemId, destinationAuthentication);
614
- }
615
- void sendOthersPromise
616
- .then((response) => {
617
- allResults = response;
618
- // Stall a little to give AGO time to catch up
619
- return new Promise((resolveSleep) => {
620
- setTimeout(() => resolveSleep(), 1000);
621
- });
622
- })
623
- .then(() => {
624
- // Now send the zip removed from bottom of the input list
625
- return copyZipIntoItem(zipInfoToSend, destinationItemId, destinationAuthentication);
626
- })
627
- .then((zipResult) => {
628
- // Save the result of copying this zip as a status for each of the files that it contains
629
- zipResult.filelist.forEach((fileInfo) => {
630
- allResults.push(createCopyResults(fileInfo, true, zipResult.copiedToDestination));
631
- });
632
- resolve(allResults);
633
- });
634
- });
635
- }
636
-
637
- /** @license
638
- * Copyright 2018 Esri
639
- *
640
- * Licensed under the Apache License, Version 2.0 (the "License");
641
- * you may not use this file except in compliance with the License.
642
- * You may obtain a copy of the License at
643
- *
644
- * http://www.apache.org/licenses/LICENSE-2.0
645
- *
646
- * Unless required by applicable law or agreed to in writing, software
647
- * distributed under the License is distributed on an "AS IS" BASIS,
648
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
649
- * See the License for the specific language governing permissions and
650
- * limitations under the License.
651
- */
652
- /**
653
- * Copies the files for storing the resources, metadata, and thumbnail of an item or group to a storage item
654
- * with a specified path.
655
- *
656
- * @param files List of item files and paths for storing the files
657
- * @param storageItemId Id of item to receive copy of resource/metadata
658
- * @param storageAuthentication Credentials for the request to the storage
659
- * @returns A promise which resolves to a list of the filenames under which the resource/metadata are stored
660
- */
661
- function copyFilesToStorageItem(files, storageItemId, storageAuthentication) {
662
- return new Promise((resolve) => {
663
- // eslint-disable-next-line @typescript-eslint/no-floating-promises
664
- void copyFilesAsResources(files, storageItemId, storageAuthentication).then((results) => {
665
- resolve(results
666
- // Filter out failures
667
- .filter((result) => result.fetchedFromSource && result.copiedToDestination)
668
- // Return folder and filename in storage item's resources
669
- .map((result) => result.folder + "/" + result.filename));
670
- });
671
- });
672
- }
673
- /**
674
- * Generates the URL for reading an item's resource given the filename of the resource.
675
- *
676
- * @param sourcePortalSharingUrl Server/sharing
677
- * @param itemId Id of item
678
- * @param sourceResourceFilename Either filename or folder/filename to resource
679
- * @returns URL string
680
- */
681
- function generateSourceResourceUrl(sourcePortalSharingUrl, itemId, sourceResourceFilename) {
682
- return (restHelpersGet.checkUrlPathTermination(sourcePortalSharingUrl) + "content/items/" + itemId + "/resources/" + sourceResourceFilename);
683
- }
684
- /**
685
- * Generates a list of full URLs and folder/filename combinations used to store the resources, metadata,
686
- * and thumbnail of an item.
687
- *
688
- * @param portalSharingUrl Server/sharing
689
- * @param storageItemId Id of storage item
690
- * @param resourceFilenames List of resource filenames for an item, e.g., ["file1", "myFolder/file2"]
691
- * @param storageVersion Version of the Solution template
692
- * @returns List of item files' URLs and folder/filenames for storing the files
693
- */
694
- function generateStorageFilePaths(portalSharingUrl, storageItemId, resourceFilenames = [], storageVersion = 0) {
695
- return resourceFilenames.map((resourceFilename) => {
696
- return {
697
- url: generateSourceResourceUrl(portalSharingUrl, storageItemId, resourceFilename),
698
- ...convertStorageResourceToItemResource(resourceFilename, storageVersion),
699
- };
700
- });
701
- }
702
- function isSupportedFileType(filename) {
703
- // Supported file formats are: .json, .xml, .txt, .png, .pbf, .zip, .jpeg, .jpg, .gif, .bmp, .gz, .svg,
704
- // .svgz, .geodatabase (https://developers.arcgis.com/rest/users-groups-and-items/add-resources.htm)
705
- const filenameExtension = filename.match(/\.([a-z]+)$/i);
706
- const supportedExtensions = "|.json|.xml|.txt|.png|.pbf|.zip|.jpeg|.jpg|.gif|.bmp|.gz|.svg|.svgz|.geodatabase|";
707
- return !!filenameExtension && supportedExtensions.indexOf("|" + filenameExtension[0] + "|") >= 0;
708
- }
709
- /**
710
- * Gets the thumbnail of an item or group.
711
- *
712
- * @param authentication Credentials for the request to the storage
713
- * @param filePaths List of item files' URLs and folder/filenames for storing the files
714
- * @returns A promise which resolves to a boolean indicating if the copies were successful
715
- */
716
- function getThumbnailFromStorageItem(authentication, filePaths) {
717
- let thumbnailUrl;
718
- let thumbnailFilename;
719
- filePaths.forEach((path) => {
720
- if (path.type === solutionResource.EFileType.Thumbnail) {
721
- thumbnailUrl = path.url;
722
- thumbnailFilename = path.filename;
723
- }
724
- });
725
- if (!thumbnailUrl) {
726
- return Promise.resolve(null);
727
- }
728
- return restHelpersGet.getThumbnailFile(thumbnailUrl, thumbnailFilename, authentication);
729
- }
730
- /**
731
- * Removes the item's resource that matches the filename with new content
732
- *
733
- * @param itemId Id of the item to remove
734
- * @param filename Name of the resource file to remove
735
- * @param authentication Credentials for the request to the storage
736
- * @returns A promise which resolves with a success true/false response
737
- */
738
- function removeItemResourceFile(itemId, filename, authentication) {
739
- return removeItemResource({
740
- id: itemId,
741
- resource: filename,
742
- authentication: authentication,
743
- });
744
- }
745
- /**
746
- * Updates the item's resource that matches the filename with new content
747
- *
748
- * @param itemId Id of the item to update
749
- * @param filename Name of the resource file to update; prefix optional (e.g., a/b/file.txt)
750
- * @param resource The new content to update the resource with
751
- * @param authentication Credentials for the request to the storage
752
- * @returns A promise which resolves with a success true/false response
753
- */
754
- function updateItemResourceFile(itemId, filename, resource, authentication) {
755
- // Prefix has to be specified separately
756
- const prefixedFilenameParts = filename.split("/");
757
- const prefix = prefixedFilenameParts.length > 1
758
- ? prefixedFilenameParts.slice(0, prefixedFilenameParts.length - 1).join("/")
759
- : undefined;
760
- const suffix = prefixedFilenameParts[prefixedFilenameParts.length - 1];
761
- return updateItemResource({
762
- id: itemId,
763
- prefix: prefix,
764
- name: suffix,
765
- resource,
766
- authentication: authentication,
767
- });
768
- }
769
-
770
- /** @license
771
- * Copyright 2022 Esri
772
- *
773
- * Licensed under the Apache License, Version 2.0 (the "License");
774
- * you may not use this file except in compliance with the License.
775
- * You may obtain a copy of the License at
776
- *
777
- * http://www.apache.org/licenses/LICENSE-2.0
778
- *
779
- * Unless required by applicable law or agreed to in writing, software
780
- * distributed under the License is distributed on an "AS IS" BASIS,
781
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
782
- * See the License for the specific language governing permissions and
783
- * limitations under the License.
784
- */
785
- const EmptySolutionStore = {
786
- solutionItemId: "",
787
- defaultWkid: undefined,
788
- solutionData: { metadata: {}, templates: [] },
789
- templateEdits: {},
790
- featureServices: [],
791
- spatialReferenceInfo: {
792
- enabled: false,
793
- services: {}
794
- }
795
- };
796
- class SolutionStore {
797
- static _instance;
798
- _store;
799
- _hasChanges = false;
800
- _authentication;
801
- /**
802
- * Creates singleton instance when accessed; default export from module.
803
- *
804
- * @returns Static instance of the class
805
- */
806
- static get Store() {
807
- return this._instance || (this._instance = new this());
808
- }
809
- /**
810
- * Creates an empty store.
811
- *
812
- * @protected
813
- */
814
- constructor() {
815
- this._store = index.createStore({
816
- ...EmptySolutionStore
817
- });
818
- }
819
- /**
820
- * Returns the stored information of an item.
821
- *
822
- * @param itemId Id of item to fetch
823
- *
824
- * @returns Item information or `undefined` if not found
825
- */
826
- getItemInfo(itemId) {
827
- const templates = this._store.get("solutionData").templates;
828
- let template;
829
- templates.some((t) => {
830
- if (itemId == t.itemId) {
831
- template = t;
832
- return true;
833
- }
834
- return false;
835
- });
836
- return template;
837
- }
838
- /**
839
- * Returns a top-level store property: solutionItemId, defaultWkid, etc.
840
- *
841
- * @param propName Name of property
842
- *
843
- * @returns Value of property
844
- */
845
- getStoreInfo(propName) {
846
- return this._store.get(propName);
847
- }
848
- /**
849
- * Loads a Solution into the store from AGO.
850
- *
851
- * @param solutionItemId Id of the solution represented in the store
852
- * @param authentication Credentials for fetching information to be loaded into the store
853
- *
854
- * @returns Promise that resolves when task is done
855
- */
856
- async loadSolution(solutionItemId, authentication) {
857
- this._authentication = authentication;
858
- const solutionData = await restHelpersGet.getItemDataAsJson(solutionItemId, authentication);
859
- if (solutionData) {
860
- const defaultWkid = restHelpersGet.getPropWithDefault(solutionData, "params.wkid.default", "");
861
- await this._prepareSolutionItemsForEditing(solutionItemId, solutionData.templates, authentication);
862
- const featureServices = this._getFeatureServices(solutionData.templates);
863
- const spatialReferenceInfo = this._getSpatialReferenceInfo(featureServices, defaultWkid);
864
- this._store.set("solutionItemId", solutionItemId);
865
- this._store.set("defaultWkid", defaultWkid);
866
- this._store.set("solutionData", solutionData);
867
- this._store.set("featureServices", featureServices);
868
- this._store.set("spatialReferenceInfo", spatialReferenceInfo);
869
- }
870
- this._flagStoreHasChanges(false);
871
- }
872
- /**
873
- * Queues the replacement of the thumbnail associated with a template item in the store.
874
- *
875
- * @param itemEdit Details of the template to modify, containing the new thumbnail in the `thumbnail`
876
- * property
877
- */
878
- replaceItemThumbnail(itemEdit) {
879
- // Flag the current thumbnail and any replacements for removal
880
- itemEdit.resourceFilePaths.forEach((path) => {
881
- if (path.type === solutionResource.EFileType.Thumbnail) {
882
- if (path.updateType === interfaces.EUpdateType.None) {
883
- // Existing thumbnail not yet flagged for removal
884
- path.updateType = interfaces.EUpdateType.Remove;
885
- }
886
- else if (path.updateType === interfaces.EUpdateType.Add || path.updateType === interfaces.EUpdateType.Update) {
887
- // An earlier replacement
888
- path.updateType = interfaces.EUpdateType.Obsolete;
889
- }
890
- }
891
- });
892
- // Remove any replacements already queued
893
- itemEdit.resourceFilePaths =
894
- itemEdit.resourceFilePaths.filter((path) => path.updateType != interfaces.EUpdateType.Obsolete);
895
- // Add the new thumbnail to the store item
896
- itemEdit.resourceFilePaths.push({
897
- blob: itemEdit.thumbnail,
898
- filename: itemEdit.thumbnail.name,
899
- type: solutionResource.EFileType.Thumbnail,
900
- updateType: interfaces.EUpdateType.Add
901
- });
902
- // Update the store
903
- this.setItemInfo(itemEdit);
904
- }
905
- /**
906
- * Writes a Solution into AGO from the store. Must use `loadSolution` to continue with solution.
907
- *
908
- * @returns Promise that resolves when task is done
909
- */
910
- async saveSolution() {
911
- // Update the templates in the original solution item data
912
- const solutionItemId = this._store.get("solutionItemId");
913
- const solutionData = this._store.get("solutionData");
914
- const spatialReferenceInfo = this._store.get("spatialReferenceInfo");
915
- const featureServices = this._store.get("featureServices");
916
- await this._prepareSolutionItemsForStorage(solutionItemId, solutionData.templates, this._authentication);
917
- // Update the templates in the solution item data
918
- this._updateFSSpatialReferenceInfoInTemplates(featureServices, solutionData.templates);
919
- // Update the solution-level information about the spatial reference parameter
920
- if (spatialReferenceInfo.enabled) {
921
- const solutionSpatialReferenceData = {
922
- "label": "Spatial Reference",
923
- "valueType": "spatialReference",
924
- "attributes": {
925
- "required": true
926
- }
927
- };
928
- if (spatialReferenceInfo.default) {
929
- solutionSpatialReferenceData.default = spatialReferenceInfo.default;
930
- }
931
- restHelpersGet.setCreateProp(solutionData, "params.wkid", solutionSpatialReferenceData);
932
- }
933
- else {
934
- restHelpersGet.setCreateProp(solutionData, "params.wkid", {});
935
- }
936
- const itemInfo = {
937
- id: solutionItemId,
938
- text: solutionData
939
- };
940
- await updateItem(itemInfo, this._authentication);
941
- }
942
- /**
943
- * Stores information for item.
944
- *
945
- * @param itemEdit Item information
946
- */
947
- setItemInfo(itemEdit) {
948
- const solutionData = this._store.get("solutionData");
949
- const templates = solutionData.templates;
950
- templates.some((t) => {
951
- if (itemEdit.itemId == t.itemId) {
952
- t = itemEdit;
953
- this._store.set("solutionData", solutionData);
954
- this._flagStoreHasChanges(true);
955
- return true;
956
- }
957
- return false;
958
- });
959
- }
960
- /**
961
- * Sets a top-level store property: solutionItemId, defaultWkid, etc.
962
- *
963
- * @param propName Name of property
964
- * @param value Value of property
965
- */
966
- setStoreInfo(propName, value) {
967
- this._store.set(propName, value);
968
- this._flagStoreHasChanges(true);
969
- }
970
- //------------------------------------------------------------------------------------------------------------------//
971
- /** Provides access to protected methods for unit testing.
972
- *
973
- * @param methodName Name of protected method to run
974
- * @param arg1 First argument to forward to method, e.g., for "_prepareSolutionItemsForEditing", `solutionItemId`
975
- * @param arg2 Second argument to forward to method, e.g., for "_prepareSolutionItemsForEditing", `templates`
976
- * @param arg3 Third argument to forward to method, e.g., for "_prepareSolutionItemsForEditing", `authentication`
977
- *
978
- * @returns
979
- */
980
- _testAccess(methodName, arg1, arg2, arg3) {
981
- switch (methodName) {
982
- case "_emptyTheStore":
983
- this._emptyTheStore();
984
- break;
985
- case "_getFeatureServices":
986
- return this._getFeatureServices(arg1);
987
- case "_getItemsSharedWithThisGroup":
988
- return this._getItemsSharedWithThisGroup(arg1, arg2);
989
- case "_getResourceFilePaths":
990
- return this._getResourceFilePaths(arg1, arg2, arg3);
991
- case "_getResourceStorageName":
992
- return this._getResourceStorageName(arg1, arg2);
993
- case "_getSpatialReferenceInfo":
994
- return this._getSpatialReferenceInfo(arg1, arg2);
995
- case "_prepareSolutionItemsForEditing":
996
- return this._prepareSolutionItemsForEditing(arg1, arg2, arg3);
997
- case "_prepareSolutionItemsForStorage":
998
- return this._prepareSolutionItemsForStorage(arg1, arg2, arg3);
999
- case "_splitFilename":
1000
- return this._splitFilename(arg1);
1001
- case "_updateFSSpatialReferenceInfoInTemplates":
1002
- return this._updateFSSpatialReferenceInfoInTemplates(arg1, arg2);
1003
- }
1004
- return null;
1005
- }
1006
- /**
1007
- * Returns the store to the empty state.
1008
- *
1009
- * @protected
1010
- */
1011
- _emptyTheStore() {
1012
- this._store.set("solutionItemId", EmptySolutionStore.solutionItemId);
1013
- this._store.set("defaultWkid", EmptySolutionStore.defaultWkid);
1014
- this._store.set("solutionData", EmptySolutionStore.solutionData);
1015
- this._store.set("templateEdits", EmptySolutionStore.templateEdits);
1016
- this._store.set("featureServices", EmptySolutionStore.featureServices);
1017
- this._store.set("spatialReferenceInfo", EmptySolutionStore.spatialReferenceInfo);
1018
- }
1019
- /**
1020
- * Sets the store's flag indicating if it has changes and dispatches an event when
1021
- * the flag value changes.
1022
- *
1023
- * @param flagHasChanges Current state of change in the store; if it doesn't match the value saved in this
1024
- * object, an event is dispatched with the new value and the saved value is updated
1025
- *
1026
- * @protected
1027
- */
1028
- _flagStoreHasChanges(flagHasChanges) {
1029
- // Event for notifying if the store has changes or not
1030
- window.dispatchEvent(new CustomEvent("solutionStoreHasChanges", {
1031
- detail: flagHasChanges,
1032
- bubbles: true,
1033
- cancelable: false,
1034
- composed: true
1035
- }));
1036
- this._hasChanges = flagHasChanges;
1037
- }
1038
- /**
1039
- * Gets a list of Feature Services that are not views.
1040
- *
1041
- * @param templates A list of item templates from the solution
1042
- *
1043
- * @returns a list of feature services
1044
- *
1045
- * @protected
1046
- */
1047
- _getCustomizableFeatureServices(templates) {
1048
- return templates.reduce((prev, cur) => {
1049
- if (cur.type === "Feature Service" && cur.item.typeKeywords.indexOf("View Service") < 0) {
1050
- prev.push(cur);
1051
- }
1052
- return prev;
1053
- }, []);
1054
- }
1055
- /**
1056
- * Gets a list of Feature Services that are not views along with an enabled property that indicates
1057
- * if the service currently uses a spatial reference variable.
1058
- *
1059
- * @param templates A list of item templates from the solution
1060
- *
1061
- * @returns a list of feature service names and an enabled property to indicate
1062
- * if they currently use a spatial reference variable.
1063
- *
1064
- * @protected
1065
- */
1066
- _getFeatureServices(templates) {
1067
- const customizableFeatureServices = this._getCustomizableFeatureServices(templates);
1068
- return customizableFeatureServices.map((fs) => {
1069
- const name = fs.item.title || fs.item.name;
1070
- const wkid = restHelpersGet.getProp(fs, "properties.service.spatialReference.wkid");
1071
- return {
1072
- id: fs.itemId,
1073
- name,
1074
- enabled: wkid.toString().startsWith(interfaces.CSpatialRefCustomizingPrefix),
1075
- wkid
1076
- };
1077
- });
1078
- }
1079
- /**
1080
- * Capture the key item details for a given group template
1081
- *
1082
- * @param template one of the templates from the current solution
1083
- * @param templates full list of templates
1084
- *
1085
- * @returns a list of IItemShare objects
1086
- *
1087
- * @protected
1088
- */
1089
- _getItemsSharedWithThisGroup(template, templates) {
1090
- return templates.reduce((prev, cur) => {
1091
- if (cur.itemId !== template.itemId && cur.type !== "Group") {
1092
- prev.push({
1093
- id: cur.itemId,
1094
- title: cur.item.name || cur.item.title,
1095
- isShared: (cur.groups || []).indexOf(template.itemId) > -1,
1096
- shareItem: (cur.groups || []).indexOf(template.itemId) > -1,
1097
- type: cur.type,
1098
- typeKeywords: cur.item.typeKeywords
1099
- });
1100
- }
1101
- return prev;
1102
- }, []);
1103
- }
1104
- /**
1105
- * Generate storage file paths from the solution template
1106
- *
1107
- * @param solutionId the id of the current solution
1108
- * @param template the current template from the solution
1109
- * @param portal Portal where file is to be found
1110
- *
1111
- * @returns a list of resource file infos
1112
- *
1113
- * @protected
1114
- */
1115
- _getResourceFilePaths(solutionId, template, portal) {
1116
- const resourceFilePaths = generateStorageFilePaths(portal, solutionId, template.resources, solutionResource.SolutionTemplateFormatVersion);
1117
- return resourceFilePaths.map((fp) => {
1118
- fp.updateType = interfaces.EUpdateType.None;
1119
- return fp;
1120
- });
1121
- }
1122
- /**
1123
- * Generates a resource name from a storage file path.
1124
- *
1125
- * @param templateItemId The id of the template item whose resource this is; used as a prefix in the resource name
1126
- * @param resourcePath Resource file infos
1127
- *
1128
- * @returns The resource name to use when attaching a resource to the item.
1129
- *
1130
- * @protected
1131
- */
1132
- _getResourceStorageName(templateItemId, resourcePath) {
1133
- /* Converts
1134
- {
1135
- "url": "https://myorg.maps.arcgis.com/sharing/rest/content/items/ca924c6db7d247b9a31fa30532fb5913/resources/79036430a6274e17ae915d0278b8569c_info_metadata/metadata.xml",
1136
- "type": 2,
1137
- "folder": "",
1138
- "filename": "metadata.xml",
1139
- "updateType": 3
1140
- }
1141
- to
1142
- ca924c6db7d247b9a31fa30532fb5913_info_metadata/metadata.xml
1143
- */
1144
- let prefix = templateItemId;
1145
- switch (resourcePath.type) {
1146
- case solutionResource.EFileType.Data:
1147
- prefix = `${prefix}_info_data`;
1148
- break;
1149
- case solutionResource.EFileType.Info:
1150
- prefix = `${prefix}_info`;
1151
- break;
1152
- case solutionResource.EFileType.Metadata:
1153
- prefix = `${prefix}_info_metadata`;
1154
- break;
1155
- case solutionResource.EFileType.Resource:
1156
- break;
1157
- case solutionResource.EFileType.Thumbnail:
1158
- prefix = `${prefix}_info_thumbnail`;
1159
- break;
1160
- }
1161
- let filenameToUse = resourcePath.filename;
1162
- if (resourcePath.type == solutionResource.EFileType.Data && filenameToUse && !isSupportedFileType(filenameToUse)) {
1163
- filenameToUse = filenameToUse + ".zip";
1164
- prefix += "z";
1165
- }
1166
- const filename = resourcePath.folder ? resourcePath.folder + "/" + filenameToUse : filenameToUse;
1167
- return prefix + "/" + filename;
1168
- }
1169
- /**
1170
- * Extracts basic spatial reference information that is used to determine if a custom spatial reference parameter will
1171
- * be exposed while deploying this solution and if so what feature services will support it and what will the default wkid be
1172
- *
1173
- * @param services a list of objects with service name and enabled property (indicates if they currently use a spatial reference var)
1174
- * @param defaultWkid the default wkid
1175
- *
1176
- * @returns an object that stores if a custom spatial reference parameter is enabled/disabled,
1177
- * a list of services and if they are enabled/disabled, and the default wkid
1178
- *
1179
- * @protected
1180
- */
1181
- _getSpatialReferenceInfo(services, defaultWkid) {
1182
- const defaultServices = {};
1183
- services.forEach(service => {
1184
- defaultServices[service.name] = service.enabled;
1185
- });
1186
- const spatialReferenceInfo = {
1187
- enabled: false,
1188
- services: defaultServices
1189
- };
1190
- if (defaultWkid) {
1191
- spatialReferenceInfo.default = defaultWkid;
1192
- }
1193
- return spatialReferenceInfo;
1194
- }
1195
- /**
1196
- * Create and store template items for the editor.
1197
- *
1198
- * @param solutionItemId Id of the solution represented in the store
1199
- * @param templates A list of item templates from the solution
1200
- * @param authentication Credentials for fetching information to be loaded into the store
1201
- *
1202
- * @returns a promise that resolves when the templates are ready
1203
- *
1204
- * @protected
1205
- */
1206
- async _prepareSolutionItemsForEditing(solutionItemId, templates, authentication) {
1207
- const thumbnailPromises = [];
1208
- // Augment the template with paths to resources and group information, if relevant
1209
- templates.forEach((t) => {
1210
- t.resourceFilePaths = this._getResourceFilePaths(solutionItemId, t, authentication.portal);
1211
- thumbnailPromises.push(t.resourceFilePaths.length > 0 ?
1212
- getThumbnailFromStorageItem(authentication, t.resourceFilePaths) :
1213
- Promise.resolve());
1214
- t.groupDetails = t.type === "Group" ? this._getItemsSharedWithThisGroup(t, templates) : [];
1215
- });
1216
- // Augment the template with its thumbnail file
1217
- const thumbnails = await Promise.all(thumbnailPromises);
1218
- templates.forEach((t, i) => {
1219
- t.thumbnail = thumbnails[i] ? thumbnails[i] : undefined;
1220
- });
1221
- return Promise.resolve();
1222
- }
1223
- /**
1224
- * Prepares template items for sending to AGO by updating the resources held by the solution item.
1225
- *
1226
- * @param solutionItemId Id of the solution represented in the store
1227
- * @param templates A list of item templates from the solution
1228
- * @param authentication Credentials for fetching information to be loaded into the store
1229
- *
1230
- * @returns a promise that resolves when the templates are ready
1231
- *
1232
- * @protected
1233
- */
1234
- async _prepareSolutionItemsForStorage(solutionItemId, templates, authentication) {
1235
- const resourceAdds = [];
1236
- // Update the resources and remove the augmentation from a template
1237
- const pendingTasks = [];
1238
- templates.forEach((t) => {
1239
- // Run through the resourceFilePaths for the item seeking modifications to be made to the solution item's
1240
- // collection of resources; queue them for batching
1241
- // eslint-disable-next-line @typescript-eslint/no-misused-promises
1242
- t.resourceFilePaths.forEach(async (path) => {
1243
- const storageName = this._getResourceStorageName(t.itemId, path);
1244
- switch (path.updateType) {
1245
- case interfaces.EUpdateType.Add:
1246
- const { prefix, suffix } = this._splitFilename(storageName);
1247
- t.resources.push(storageName);
1248
- resourceAdds.push({
1249
- itemId: t.itemId,
1250
- file: path.blob,
1251
- folder: prefix,
1252
- filename: suffix
1253
- });
1254
- break;
1255
- case interfaces.EUpdateType.Update:
1256
- // eslint-disable-next-line @typescript-eslint/no-misused-promises
1257
- pendingTasks.push(new Promise(async (resolve) => {
1258
- try {
1259
- await updateItemResourceFile(solutionItemId, storageName, path.blob, authentication);
1260
- }
1261
- catch (err) {
1262
- console.log("Unable to update " + storageName + " for item " + t.itemId + ": " + JSON.stringify(err));
1263
- }
1264
- resolve();
1265
- }));
1266
- break;
1267
- case interfaces.EUpdateType.Remove:
1268
- // eslint-disable-next-line @typescript-eslint/no-misused-promises
1269
- pendingTasks.push(new Promise(async (resolve) => {
1270
- try {
1271
- await removeItemResourceFile(solutionItemId, storageName, authentication);
1272
- t.resources = t.resources.filter((path) => path !== storageName);
1273
- }
1274
- catch (err) {
1275
- console.log("Unable to remove " + storageName + " for item " + t.itemId + ": " + JSON.stringify(err));
1276
- }
1277
- resolve();
1278
- }));
1279
- break;
1280
- }
1281
- return Promise.resolve();
1282
- });
1283
- delete t.resourceFilePaths;
1284
- delete t.thumbnail;
1285
- delete t.groupDetails;
1286
- });
1287
- // Update the resources
1288
- return Promise.all(pendingTasks)
1289
- .then(async () => {
1290
- if (resourceAdds.length > 0) {
1291
- await copyFilesToStorageItem(resourceAdds, solutionItemId, authentication);
1292
- }
1293
- return Promise.resolve();
1294
- });
1295
- }
1296
- /**
1297
- * Stores basic spatial reference information that is used to determine if a custom spatial reference parameter will
1298
- * be exposed while deploying this solution and if so what feature services will support it and what will the default wkid be
1299
- *
1300
- * @param featureServices The configuration settings for a custom spatial reference by feature service
1301
- * @param templates The templates in the current solution, which will be updated in place if
1302
- * `spatialReferenceInfo.enabled` is true
1303
- *
1304
- * @protected
1305
- */
1306
- _updateFSSpatialReferenceInfoInTemplates(featureServices, templates) {
1307
- const customizableFeatureServices = this._getCustomizableFeatureServices(templates);
1308
- // Enable or disable this feature in each service
1309
- customizableFeatureServices.forEach((fsTemplate) => {
1310
- const fsEnablement = featureServices.find((fs) => fs.id === fsTemplate.itemId);
1311
- if (fsEnablement) {
1312
- const spatialReference = restHelpersGet.getPropWithDefault(fsTemplate, "properties.service.spatialReference", {});
1313
- spatialReference.wkid = fsEnablement.wkid;
1314
- if (fsEnablement.enabled && spatialReference.latestWkid) {
1315
- delete spatialReference.latestWkid;
1316
- }
1317
- restHelpersGet.setProp(fsTemplate, "properties.service.spatialReference", spatialReference);
1318
- }
1319
- });
1320
- // Copy the updates back into the templates
1321
- templates.forEach((t) => {
1322
- const customizedTemplate = customizableFeatureServices.find((fs) => fs.itemId === t.itemId);
1323
- if (customizedTemplate) {
1324
- t.properties.service.spatialReference = {
1325
- ...customizedTemplate.properties.service.spatialReference
1326
- };
1327
- const nWkid = Number.parseInt(t.properties.service.spatialReference.wkid);
1328
- if (!isNaN(nWkid)) {
1329
- t.properties.service.spatialReference.wkid = nWkid;
1330
- }
1331
- }
1332
- });
1333
- }
1334
- /**
1335
- * Splits a pathed filename into a last term and a prefix; e.g., "a/b/c" returns "c" with a prefix of "a/b".
1336
- *
1337
- * @param filename Filename with optional path
1338
- *
1339
- * @returns An object consisting of a `prefix` (undefined if `filename` does not contain a path) and a `suffix`--the
1340
- * filename at the end of a path
1341
- *
1342
- * @protected
1343
- */
1344
- _splitFilename(filename) {
1345
- const filenameParts = filename.split("/");
1346
- return {
1347
- prefix: filenameParts.length > 1 ? filenameParts.slice(0, filenameParts.length - 1).join("/") : undefined,
1348
- suffix: filenameParts[filenameParts.length - 1]
1349
- };
1350
- }
1351
- }
1352
- const state = SolutionStore.Store;
1353
-
1354
- exports.state = state;