@esri/solutions-components 0.10.9 → 0.10.11

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1621) hide show
  1. package/dist/cjs/ExpandToggle-4bf03edc.js +115 -0
  2. package/dist/cjs/FloatingArrow-7eca410a.js +48 -0
  3. package/dist/cjs/Heading-2333bcd2.js +25 -0
  4. package/dist/cjs/Validation-aa47298a.js +20 -0
  5. package/dist/cjs/app-globals-7f35a2ee.js +67 -0
  6. package/dist/cjs/ar-cecfe7a4.js +106 -0
  7. package/dist/cjs/arcgis-login.cjs.entry.js +1 -1
  8. package/dist/cjs/array-59824898.js +17 -0
  9. package/dist/cjs/basemap-gallery_7.cjs.entry.js +8 -8
  10. package/dist/cjs/bg-4fc20839.js +84 -0
  11. package/dist/cjs/browser-69696af0.js +35 -0
  12. package/dist/cjs/bs-3bffda26.js +53 -0
  13. package/dist/cjs/buffer-tools_3.cjs.entry.js +10 -10
  14. package/dist/cjs/ca-368f111b.js +73 -0
  15. package/dist/cjs/calcite-accordion-item.cjs.entry.js +24 -24
  16. package/dist/cjs/calcite-accordion.cjs.entry.js +18 -8
  17. package/dist/cjs/calcite-action-bar.cjs.entry.js +16 -16
  18. package/dist/cjs/calcite-action-group.cjs.entry.js +14 -14
  19. package/dist/cjs/calcite-action-menu_3.cjs.entry.js +28 -28
  20. package/dist/cjs/calcite-action-pad_2.cjs.entry.js +16 -16
  21. package/dist/cjs/calcite-action_2.cjs.entry.js +49 -19
  22. package/dist/cjs/calcite-alert_4.cjs.entry.js +155 -119
  23. package/dist/cjs/calcite-avatar.cjs.entry.js +176 -0
  24. package/dist/cjs/calcite-block-section.cjs.entry.js +11 -11
  25. package/dist/cjs/calcite-block_5.cjs.entry.js +92 -60
  26. package/dist/cjs/calcite-button.cjs.entry.js +21 -34
  27. package/dist/cjs/calcite-card-group.cjs.entry.js +7 -7
  28. package/dist/cjs/calcite-card.cjs.entry.js +13 -13
  29. package/dist/cjs/calcite-carousel-item.cjs.entry.js +3 -3
  30. package/dist/cjs/calcite-carousel.cjs.entry.js +13 -13
  31. package/dist/cjs/calcite-checkbox.cjs.entry.js +12 -12
  32. package/dist/cjs/calcite-chip-group.cjs.entry.js +7 -7
  33. package/dist/cjs/calcite-chip_2.cjs.entry.js +31 -21
  34. package/dist/cjs/calcite-color-picker-hex-input_2.cjs.entry.js +9 -9
  35. package/dist/cjs/calcite-color-picker.cjs.entry.js +32 -52
  36. package/dist/cjs/calcite-combobox-item-group.cjs.entry.js +7 -7
  37. package/dist/cjs/calcite-combobox_3.cjs.entry.js +42 -36
  38. package/dist/cjs/calcite-date-picker-day_3.cjs.entry.js +14 -14
  39. package/dist/cjs/calcite-dialog.cjs.entry.js +308 -36
  40. package/dist/cjs/calcite-dropdown_2.cjs.entry.js +22 -22
  41. package/dist/cjs/calcite-fab.cjs.entry.js +9 -9
  42. package/dist/cjs/calcite-filter_5.cjs.entry.js +27 -27
  43. package/dist/cjs/calcite-flow_6.cjs.entry.js +131 -45
  44. package/dist/cjs/calcite-graph_2.cjs.entry.js +26 -22
  45. package/dist/cjs/calcite-icon.cjs.entry.js +10 -10
  46. package/dist/cjs/calcite-inline-editable.cjs.entry.js +17 -17
  47. package/dist/cjs/calcite-input-number.cjs.entry.js +39 -34
  48. package/dist/cjs/calcite-input-text.cjs.entry.js +32 -27
  49. package/dist/cjs/calcite-input-time-picker-de202530.js +1861 -0
  50. package/dist/cjs/calcite-input-time-picker.cjs.entry.js +21 -22
  51. package/dist/cjs/calcite-input-time-zone.cjs.entry.js +168 -87
  52. package/dist/cjs/calcite-input_2.cjs.entry.js +41 -36
  53. package/dist/cjs/calcite-label.cjs.entry.js +11 -8
  54. package/dist/cjs/calcite-link.cjs.entry.js +11 -11
  55. package/dist/cjs/calcite-list-item-group.cjs.entry.js +6 -6
  56. package/dist/cjs/calcite-menu-item.cjs.entry.js +14 -14
  57. package/dist/cjs/calcite-menu.cjs.entry.js +11 -11
  58. package/dist/cjs/calcite-meter.cjs.entry.js +12 -12
  59. package/dist/cjs/calcite-modal.cjs.entry.js +21 -21
  60. package/dist/cjs/calcite-navigation-logo.cjs.entry.js +7 -7
  61. package/dist/cjs/calcite-navigation-user.cjs.entry.js +74 -0
  62. package/dist/cjs/calcite-navigation.cjs.entry.js +9 -9
  63. package/dist/cjs/calcite-notice.cjs.entry.js +18 -18
  64. package/dist/cjs/calcite-option-group.cjs.entry.js +2 -2
  65. package/dist/cjs/calcite-option_2.cjs.entry.js +18 -15
  66. package/dist/cjs/calcite-pagination.cjs.entry.js +14 -14
  67. package/dist/cjs/calcite-panel_2.cjs.entry.js +23 -23
  68. package/dist/cjs/calcite-pick-list-group.cjs.entry.js +12 -12
  69. package/dist/cjs/calcite-pick-list-item.cjs.entry.js +17 -17
  70. package/dist/cjs/calcite-pick-list.cjs.entry.js +14 -14
  71. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +13 -7
  72. package/dist/cjs/calcite-radio-button.cjs.entry.js +13 -13
  73. package/dist/cjs/calcite-rating.cjs.entry.js +17 -17
  74. package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +19 -16
  75. package/dist/cjs/calcite-sheet.cjs.entry.js +17 -15
  76. package/dist/cjs/calcite-shell-center-row.cjs.entry.js +10 -10
  77. package/dist/cjs/calcite-shell-panel_14.cjs.entry.js +54 -54
  78. package/dist/cjs/calcite-sortable-list.cjs.entry.js +11 -11
  79. package/dist/cjs/calcite-split-button.cjs.entry.js +6 -6
  80. package/dist/cjs/calcite-stepper-item.cjs.entry.js +15 -15
  81. package/dist/cjs/calcite-stepper.cjs.entry.js +12 -12
  82. package/dist/cjs/calcite-switch.cjs.entry.js +13 -13
  83. package/dist/cjs/calcite-table-cell_2.cjs.entry.js +30 -20
  84. package/dist/cjs/calcite-table-row.cjs.entry.js +10 -10
  85. package/dist/cjs/calcite-table.cjs.entry.js +14 -14
  86. package/dist/cjs/calcite-text-area.cjs.entry.js +24 -21
  87. package/dist/cjs/calcite-tile-group.cjs.entry.js +9 -9
  88. package/dist/cjs/calcite-tile-select-group.cjs.entry.js +6 -6
  89. package/dist/cjs/calcite-tile-select.cjs.entry.js +10 -10
  90. package/dist/cjs/calcite-tile.cjs.entry.js +10 -10
  91. package/dist/cjs/calcite-time-picker.cjs.entry.js +32 -32
  92. package/dist/cjs/calcite-tip-group.cjs.entry.js +4 -4
  93. package/dist/cjs/calcite-tip-manager.cjs.entry.js +13 -13
  94. package/dist/cjs/calcite-tip.cjs.entry.js +15 -15
  95. package/dist/cjs/calcite-tooltip.cjs.entry.js +18 -14
  96. package/dist/cjs/calcite-tree_3.cjs.entry.js +44 -26
  97. package/dist/cjs/card-manager_3.cjs.entry.js +7 -7
  98. package/dist/cjs/common-4d4cf291.js +37 -0
  99. package/dist/cjs/component-a4c6a35d.js +33 -0
  100. package/dist/cjs/conditionalSlot-6b5d9b84.js +54 -0
  101. package/dist/cjs/config-afe9063b.js +40 -0
  102. package/dist/cjs/consent-manager.cjs.entry.js +2 -2
  103. package/dist/cjs/constants-0a4fc296.js +812 -0
  104. package/dist/cjs/continent-cdee1112.js +34 -0
  105. package/dist/cjs/country-a8539532.js +446 -0
  106. package/dist/cjs/crowdsource-manager.cjs.entry.js +3 -3
  107. package/dist/cjs/crowdsource-reporter.cjs.entry.js +28 -25
  108. package/dist/cjs/cs-1386c8b8.js +149 -0
  109. package/dist/cjs/da-68d9e5ce.js +69 -0
  110. package/dist/cjs/date-5a57b606.js +264 -0
  111. package/dist/cjs/de-at-017d79c1.js +92 -0
  112. package/dist/cjs/de-ch-f892b97a.js +92 -0
  113. package/dist/cjs/de-f3b48b7d.js +93 -0
  114. package/dist/cjs/deduct-calculator.cjs.entry.js +2 -2
  115. package/dist/cjs/dom-6a9b6275.js +1215 -0
  116. package/dist/cjs/downloadUtils-e6e2f8c4.js +3163 -0
  117. package/dist/cjs/el-16691582.js +68 -0
  118. package/dist/cjs/en-au-3cba8189.js +68 -0
  119. package/dist/cjs/en-ca-e63c64a3.js +67 -0
  120. package/dist/cjs/en-gb-66e297eb.js +71 -0
  121. package/dist/cjs/es-473df127.js +68 -0
  122. package/dist/cjs/es-mx-b8fc355d.js +67 -0
  123. package/dist/cjs/et-dfe831e4.js +94 -0
  124. package/dist/cjs/feature-comments.cjs.entry.js +2 -2
  125. package/dist/cjs/feature-form-flow-item.cjs.entry.js +2 -2
  126. package/dist/cjs/feature-list.cjs.entry.js +59 -15
  127. package/dist/cjs/features-flow-item.cjs.entry.js +2 -2
  128. package/dist/cjs/fi-8ab8c685.js +117 -0
  129. package/dist/cjs/filter-1f98198b.js +778 -0
  130. package/dist/cjs/floating-ui-b20fd1f7.js +2373 -0
  131. package/dist/cjs/focusTrapComponent-a4531bc7.js +1018 -0
  132. package/dist/cjs/form-5229f1c8.js +381 -0
  133. package/dist/cjs/fr-ch-9cdf5409.js +68 -0
  134. package/dist/cjs/fr-fbc089e3.js +70 -0
  135. package/dist/cjs/guid-02e5380f.js +26 -0
  136. package/dist/cjs/he-33e82ae7.js +107 -0
  137. package/dist/cjs/helpers-3a8234e8.js +940 -0
  138. package/dist/cjs/hi-bc15c04d.js +67 -0
  139. package/dist/cjs/hr-94438cce.js +82 -0
  140. package/dist/cjs/hu-e076cebf.js +90 -0
  141. package/dist/cjs/id-81a2fef0.js +68 -0
  142. package/dist/cjs/index-5a0af791.js +1782 -0
  143. package/dist/cjs/index-6189d0bb.js +62 -0
  144. package/dist/cjs/index-866b8a4c.js +127 -0
  145. package/dist/cjs/index-d21e03cd.js +14 -0
  146. package/dist/cjs/index-da709a10.js +201 -0
  147. package/dist/cjs/index.es-fa362797.js +11317 -0
  148. package/dist/cjs/input-33270a99.js +60 -0
  149. package/dist/cjs/instant-apps-ckeditor-wrapper_3.cjs.entry.js +3 -3
  150. package/dist/cjs/instant-apps-control-panel.cjs.entry.js +1 -1
  151. package/dist/cjs/instant-apps-create.cjs.entry.js +1 -1
  152. package/dist/cjs/instant-apps-export-views.cjs.entry.js +1 -1
  153. package/dist/cjs/instant-apps-export.cjs.entry.js +1 -1
  154. package/dist/cjs/instant-apps-header.cjs.entry.js +1 -1
  155. package/dist/cjs/instant-apps-interactive-legend-classic.cjs.entry.js +3 -3
  156. package/dist/cjs/instant-apps-interactive-legend-count_2.cjs.entry.js +3 -3
  157. package/dist/cjs/instant-apps-interactive-legend-group-legend-element-caption.cjs.entry.js +3 -3
  158. package/dist/cjs/instant-apps-interactive-legend-group-legend-element_5.cjs.entry.js +3 -3
  159. package/dist/cjs/instant-apps-interactive-legend.cjs.entry.js +3 -3
  160. package/dist/cjs/instant-apps-keyboard-shortcuts.cjs.entry.js +1 -1
  161. package/dist/cjs/instant-apps-landing-page.cjs.entry.js +9 -11
  162. package/dist/cjs/instant-apps-language-switcher.cjs.entry.js +15 -15
  163. package/dist/cjs/instant-apps-language-translator.cjs.entry.js +13 -13
  164. package/dist/cjs/instant-apps-measurement.cjs.entry.js +1 -1
  165. package/dist/cjs/instant-apps-popover.cjs.entry.js +1 -1
  166. package/dist/cjs/instant-apps-popovers.cjs.entry.js +1 -1
  167. package/dist/cjs/instant-apps-scoreboard.cjs.entry.js +1 -1
  168. package/dist/cjs/instant-apps-sign-in.cjs.entry.js +35 -50
  169. package/dist/cjs/instant-apps-splash.cjs.entry.js +1 -1
  170. package/dist/cjs/instant-apps-time-filter.cjs.entry.js +2 -2
  171. package/dist/cjs/interactive-89f913ba.js +167 -0
  172. package/dist/cjs/it-549faba6.js +68 -0
  173. package/dist/cjs/it-ch-f2165d11.js +68 -0
  174. package/dist/cjs/ja-2c7ee1fb.js +74 -0
  175. package/dist/cjs/key-d6da79d8.js +19 -0
  176. package/dist/cjs/ko-ac460bc7.js +74 -0
  177. package/dist/cjs/label-26ee0ddb.js +186 -0
  178. package/dist/cjs/layout-manager.cjs.entry.js +3 -3
  179. package/dist/cjs/list-flow-item.cjs.entry.js +2 -2
  180. package/dist/cjs/loadable-2e2626dc.js +98 -0
  181. package/dist/cjs/loader.cjs.js +6 -6
  182. package/dist/cjs/locale-42c21404.js +605 -0
  183. package/dist/cjs/locale-a09603ee.js +160 -0
  184. package/dist/cjs/location-flow-item.cjs.entry.js +2 -2
  185. package/dist/cjs/logger-1c9bfcfd.js +61 -0
  186. package/dist/cjs/lt-8fd46749.js +99 -0
  187. package/dist/cjs/lv-49bc9ddb.js +68 -0
  188. package/dist/cjs/map-select-tools_3.cjs.entry.js +10 -10
  189. package/dist/cjs/math-2911c0c9.js +60 -0
  190. package/dist/cjs/mk-5a82adab.js +68 -0
  191. package/dist/cjs/nb-24cd76dd.js +69 -0
  192. package/dist/cjs/nl-f6394232.js +69 -0
  193. package/dist/cjs/observers-8fed90f3.js +58 -0
  194. package/dist/cjs/openCloseComponent-14628d11.js +65 -0
  195. package/dist/cjs/pci-calculator.cjs.entry.js +2 -2
  196. package/dist/cjs/pl-1b2c1ac1.js +116 -0
  197. package/dist/cjs/popupUtils-92e52dbf.js +121 -0
  198. package/dist/cjs/pt-b9970ff4.js +69 -0
  199. package/dist/cjs/pt-br-bfdc1da5.js +67 -0
  200. package/dist/cjs/public-notification.cjs.entry.js +8 -8
  201. package/dist/cjs/publicNotificationStore-f229e839.js +47 -0
  202. package/dist/cjs/refine-results-flow-item.cjs.entry.js +2 -2
  203. package/dist/cjs/resources-151788f3.js +23 -0
  204. package/dist/cjs/resources-3eec4ddc.js +27 -0
  205. package/dist/cjs/resources-41443a57.js +26 -0
  206. package/dist/cjs/resources-44478618.js +29 -0
  207. package/dist/cjs/resources-9fb1bc89.js +68 -0
  208. package/dist/cjs/resources-dfe71ff2.js +39 -0
  209. package/dist/cjs/resources-e23d63db.js +39 -0
  210. package/dist/cjs/resources-e96455bb.js +68 -0
  211. package/dist/cjs/resources-ed5f0434.js +21 -0
  212. package/dist/cjs/resources-fac4579f.js +23 -0
  213. package/dist/cjs/restHelpersGet-88ba0e25.js +975 -0
  214. package/dist/cjs/ro-d3dcee3e.js +68 -0
  215. package/dist/cjs/ru-86dc7992.js +128 -0
  216. package/dist/cjs/share-item.cjs.entry.js +2 -2
  217. package/dist/cjs/shared-list-render-54fa8d30.js +361 -0
  218. package/dist/cjs/sk-f4477e9e.js +150 -0
  219. package/dist/cjs/sl-056c7a3e.js +170 -0
  220. package/dist/cjs/solution-configuration.cjs.entry.js +10 -10
  221. package/dist/cjs/solution-contents_3.cjs.entry.js +10 -10
  222. package/dist/cjs/solution-resource-16c7510c.js +1843 -0
  223. package/dist/cjs/solution-store-1218246d.js +1353 -0
  224. package/dist/cjs/solutions-components.cjs.js +7 -7
  225. package/dist/cjs/sortableComponent-9bfb9488.js +2748 -0
  226. package/dist/cjs/spatial-ref.cjs.entry.js +5 -5
  227. package/dist/cjs/sr-98be5235.js +103 -0
  228. package/dist/cjs/store-manager.cjs.entry.js +6 -6
  229. package/dist/cjs/sv-cb8dd245.js +73 -0
  230. package/dist/cjs/t9n-42ba6ea3.js +108 -0
  231. package/dist/cjs/templates-2f44c01b.js +407 -0
  232. package/dist/cjs/th-9d1805bf.js +67 -0
  233. package/dist/cjs/time-d48f5d3e.js +301 -0
  234. package/dist/cjs/time-zones-cd027b1e.js +367 -0
  235. package/dist/cjs/tr-833a6ecc.js +68 -0
  236. package/dist/cjs/uk-df027a8a.js +106 -0
  237. package/dist/cjs/utils-051e0119.js +78 -0
  238. package/dist/cjs/utils-357c41eb.js +2304 -0
  239. package/dist/cjs/utils-a2799a10.js +130 -0
  240. package/dist/cjs/vi-2f15ae72.js +72 -0
  241. package/dist/cjs/zh-cn-ede80e9d.js +96 -0
  242. package/dist/cjs/zh-hk-5de99bec.js +94 -0
  243. package/dist/cjs/zh-tw-9cf1d1bd.js +94 -0
  244. package/dist/collection/collection-manifest.json +2 -2
  245. package/dist/collection/components/create-feature/create-feature.css +13 -0
  246. package/dist/collection/components/create-feature/create-feature.js +112 -13
  247. package/dist/collection/components/create-related-feature/create-related-feature.js +11 -2
  248. package/dist/collection/components/crowdsource-manager/crowdsource-manager.js +1 -1
  249. package/dist/collection/components/crowdsource-reporter/crowdsource-reporter.js +44 -23
  250. package/dist/collection/components/deduct-calculator/deduct-calculator.js +1 -1
  251. package/dist/collection/components/delete-button/delete-button.js +1 -1
  252. package/dist/collection/components/edit-card/edit-card.js +1 -1
  253. package/dist/collection/components/feature-comments/feature-comments.js +1 -1
  254. package/dist/collection/components/feature-details/feature-details.js +29 -9
  255. package/dist/collection/components/feature-form-flow-item/feature-form-flow-item.js +1 -1
  256. package/dist/collection/components/feature-list/feature-list.css +13 -2
  257. package/dist/collection/components/feature-list/feature-list.js +70 -8
  258. package/dist/collection/components/features-flow-item/features-flow-item.js +1 -1
  259. package/dist/collection/components/floor-filter/floor-filter.js +1 -1
  260. package/dist/collection/components/info-card/info-card.js +2 -2
  261. package/dist/collection/components/json-editor/json-editor.js +1 -1
  262. package/dist/collection/components/layer-table/layer-table.js +1 -1
  263. package/dist/collection/components/layout-manager/layout-manager.js +1 -1
  264. package/dist/collection/components/list-flow-item/list-flow-item.js +1 -1
  265. package/dist/collection/components/location-flow-item/location-flow-item.js +1 -1
  266. package/dist/collection/components/map-card/map-card.js +1 -1
  267. package/dist/collection/components/map-draw-tools/map-draw-tools.js +1 -1
  268. package/dist/collection/components/map-fullscreen/map-fullscreen.js +1 -1
  269. package/dist/collection/components/map-layer-picker/map-layer-picker.js +1 -1
  270. package/dist/collection/components/map-legend/map-legend.js +1 -1
  271. package/dist/collection/components/map-picker/map-picker.js +1 -1
  272. package/dist/collection/components/map-search/map-search.js +1 -1
  273. package/dist/collection/components/map-select-tools/map-select-tools.js +1 -1
  274. package/dist/collection/components/map-tools/map-tools.js +1 -1
  275. package/dist/collection/components/pci-calculator/pci-calculator.js +1 -1
  276. package/dist/collection/components/pdf-download/pdf-download.js +1 -1
  277. package/dist/collection/components/public-notification/public-notification.js +1 -1
  278. package/dist/collection/components/refine-results-flow-item/refine-results-flow-item.js +1 -1
  279. package/dist/collection/components/refine-selection/refine-selection.js +1 -1
  280. package/dist/collection/components/share-item/share-item.js +1 -1
  281. package/dist/collection/components/solution-configuration/solution-configuration.js +3 -3
  282. package/dist/collection/components/solution-contents/solution-contents.js +1 -1
  283. package/dist/collection/components/solution-item/solution-item.js +1 -1
  284. package/dist/collection/components/solution-item-details/solution-item-details.js +1 -1
  285. package/dist/collection/components/solution-item-icon/solution-item-icon.js +1 -1
  286. package/dist/collection/components/solution-item-sharing/solution-item-sharing.js +1 -1
  287. package/dist/collection/components/solution-organization-variables/solution-organization-variables.js +1 -1
  288. package/dist/collection/components/solution-resource-item/solution-resource-item.js +1 -1
  289. package/dist/collection/components/solution-spatial-ref/solution-spatial-ref.js +1 -1
  290. package/dist/collection/components/solution-template-data/solution-template-data.js +1 -1
  291. package/dist/collection/components/solution-variables/solution-variables.js +1 -1
  292. package/dist/collection/components/spatial-ref/spatial-ref.js +1 -1
  293. package/dist/collection/demos/crowdsource-reporter.html +11 -3
  294. package/dist/components/ExpandToggle.js +2 -2
  295. package/dist/components/FloatingArrow.js +1 -1
  296. package/dist/components/Heading.js +1 -1
  297. package/dist/components/Validation.js +2 -2
  298. package/dist/components/action-bar.js +2 -2
  299. package/dist/components/action-group.js +2 -2
  300. package/dist/components/action-menu.js +2 -2
  301. package/dist/components/action-pad.js +2 -2
  302. package/dist/components/action.js +2 -2
  303. package/dist/components/alert.js +141 -103
  304. package/dist/components/array.js +1 -1
  305. package/dist/components/avatar.js +2 -2
  306. package/dist/components/block.js +8 -10
  307. package/dist/components/browser.js +1 -1
  308. package/dist/components/button.js +7 -22
  309. package/dist/components/calcite-accordion-item.js +15 -15
  310. package/dist/components/calcite-accordion.js +15 -5
  311. package/dist/components/calcite-block-section.js +1 -1
  312. package/dist/components/calcite-card.js +2 -2
  313. package/dist/components/calcite-carousel-item.js +1 -1
  314. package/dist/components/calcite-carousel.js +1 -1
  315. package/dist/components/calcite-color-picker.js +19 -39
  316. package/dist/components/calcite-combobox-item-group.js +1 -69
  317. package/dist/components/calcite-dialog.js +303 -22
  318. package/dist/components/calcite-fab.js +2 -2
  319. package/dist/components/calcite-inline-editable.js +4 -4
  320. package/dist/components/calcite-input-time-picker.js +38 -40
  321. package/dist/components/calcite-input-time-zone.js +166 -79
  322. package/dist/components/calcite-list-item-group.js +2 -2
  323. package/dist/components/calcite-menu-item.js +4 -4
  324. package/dist/components/calcite-meter.js +2 -2
  325. package/dist/components/calcite-navigation-logo.js +3 -3
  326. package/dist/components/calcite-navigation.js +3 -3
  327. package/dist/components/calcite-option-group.js +1 -1
  328. package/dist/components/calcite-pick-list-group.js +1 -1
  329. package/dist/components/calcite-radio-button-group.js +6 -2
  330. package/dist/components/calcite-rating.js +3 -3
  331. package/dist/components/calcite-sheet.js +7 -5
  332. package/dist/components/calcite-shell-center-row.js +3 -3
  333. package/dist/components/calcite-sortable-list.js +3 -3
  334. package/dist/components/calcite-split-button.js +2 -2
  335. package/dist/components/calcite-stepper-item.js +4 -4
  336. package/dist/components/calcite-stepper.js +3 -3
  337. package/dist/components/calcite-table-row.js +2 -2
  338. package/dist/components/calcite-table.js +4 -4
  339. package/dist/components/calcite-text-area.js +8 -5
  340. package/dist/components/calcite-tile-group.js +2 -2
  341. package/dist/components/calcite-tile-select-group.js +1 -1
  342. package/dist/components/calcite-tile-select.js +3 -3
  343. package/dist/components/calcite-tile.js +3 -3
  344. package/dist/components/calcite-tip-group.js +1 -1
  345. package/dist/components/calcite-tip-manager.js +1 -1
  346. package/dist/components/calcite-tip.js +2 -2
  347. package/dist/components/checkbox.js +1 -1
  348. package/dist/components/chip.js +2 -2
  349. package/dist/components/color-picker-hex-input.js +1 -1
  350. package/dist/components/color-picker-swatch.js +1 -1
  351. package/dist/components/combobox-item-group.js +76 -0
  352. package/dist/components/combobox-item.js +20 -6
  353. package/dist/components/combobox.js +18 -12
  354. package/dist/components/component.js +1 -1
  355. package/dist/components/conditionalSlot.js +1 -1
  356. package/dist/components/config.js +5 -5
  357. package/dist/components/continent.js +31 -0
  358. package/dist/components/country.js +444 -0
  359. package/dist/components/create-feature2.js +82 -14
  360. package/dist/components/create-related-feature2.js +11 -2
  361. package/dist/components/crowdsource-manager.js +1 -1
  362. package/dist/components/crowdsource-reporter.js +39 -29
  363. package/dist/components/date-picker-month-header.js +1 -1
  364. package/dist/components/date-picker.js +2 -2
  365. package/dist/components/date.js +1 -1
  366. package/dist/components/deduct-calculator2.js +1 -1
  367. package/dist/components/delete-button2.js +1 -1
  368. package/dist/components/dom.js +10 -7
  369. package/dist/components/dropdown-group.js +2 -2
  370. package/dist/components/dropdown-item.js +4 -4
  371. package/dist/components/dropdown.js +6 -6
  372. package/dist/components/edit-card2.js +1 -1
  373. package/dist/components/feature-comments.js +1 -1
  374. package/dist/components/feature-details2.js +24 -15
  375. package/dist/components/feature-form-flow-item.js +1 -1
  376. package/dist/components/feature-list2.js +64 -13
  377. package/dist/components/features-flow-item.js +1 -1
  378. package/dist/components/filter.js +1 -1
  379. package/dist/components/filter2.js +3 -3
  380. package/dist/components/floating-ui.js +17 -6
  381. package/dist/components/floor-filter2.js +1 -1
  382. package/dist/components/flow-item.js +14 -5
  383. package/dist/components/flow.js +2 -2
  384. package/dist/components/focusTrapComponent.js +1 -1
  385. package/dist/components/form.js +1 -1
  386. package/dist/components/graph.js +1 -1
  387. package/dist/components/guid.js +1 -1
  388. package/dist/components/handle.js +3 -3
  389. package/dist/components/icon.js +4 -4
  390. package/dist/components/index.js +2 -2
  391. package/dist/components/index4.js +4 -196
  392. package/dist/components/index5.js +51 -62
  393. package/dist/components/index6.js +125 -0
  394. package/dist/components/info-card2.js +2 -2
  395. package/dist/components/input-date-picker.js +27 -20
  396. package/dist/components/input-message.js +2 -2
  397. package/dist/components/input-number.js +24 -19
  398. package/dist/components/input-text.js +17 -12
  399. package/dist/components/input.js +25 -20
  400. package/dist/components/input2.js +1 -1
  401. package/dist/components/instant-apps-filter-list2.js +39 -7
  402. package/dist/components/instant-apps-landing-page.js +8 -10
  403. package/dist/components/instant-apps-language-switcher.js +8 -8
  404. package/dist/components/instant-apps-language-translator2.js +759 -8
  405. package/dist/components/instant-apps-sign-in2.js +34 -49
  406. package/dist/components/interactive.js +2 -4
  407. package/dist/components/json-editor2.js +1 -1
  408. package/dist/components/key.js +1 -1
  409. package/dist/components/label.js +1 -1
  410. package/dist/components/label2.js +5 -2
  411. package/dist/components/layer-table2.js +1 -1
  412. package/dist/components/layout-manager.js +1 -1
  413. package/dist/components/link.js +4 -4
  414. package/dist/components/list-flow-item.js +1 -1
  415. package/dist/components/list-item.js +2 -2
  416. package/dist/components/list.js +2 -2
  417. package/dist/components/loadable.js +1 -1
  418. package/dist/components/loader.js +41 -6
  419. package/dist/components/locale2.js +23 -3
  420. package/dist/components/location-flow-item.js +1 -1
  421. package/dist/components/logger.js +1 -1
  422. package/dist/components/map-card2.js +1 -1
  423. package/dist/components/map-draw-tools2.js +1 -1
  424. package/dist/components/map-fullscreen2.js +1 -1
  425. package/dist/components/map-layer-picker2.js +1 -1
  426. package/dist/components/map-legend2.js +1 -1
  427. package/dist/components/map-picker2.js +1 -1
  428. package/dist/components/map-search2.js +1 -1
  429. package/dist/components/map-select-tools2.js +1 -1
  430. package/dist/components/map-tools2.js +1 -1
  431. package/dist/components/math.js +1 -1
  432. package/dist/components/menu.js +1 -1
  433. package/dist/components/modal.js +5 -5
  434. package/dist/components/navigation-user.js +3 -3
  435. package/dist/components/notice.js +4 -4
  436. package/dist/components/observers.js +1 -1
  437. package/dist/components/openCloseComponent.js +1 -1
  438. package/dist/components/option.js +1 -1
  439. package/dist/components/pagination.js +3 -3
  440. package/dist/components/panel.js +10 -6
  441. package/dist/components/pci-calculator.js +1 -1
  442. package/dist/components/pdf-download2.js +1 -1
  443. package/dist/components/pick-list-item.js +2 -2
  444. package/dist/components/popover.js +6 -6
  445. package/dist/components/progress.js +1 -1
  446. package/dist/components/public-notification.js +1 -1
  447. package/dist/components/radio-button.js +2 -2
  448. package/dist/components/refine-results-flow-item.js +1 -1
  449. package/dist/components/refine-selection2.js +1 -1
  450. package/dist/components/resources.js +1 -1
  451. package/dist/components/resources2.js +1 -1
  452. package/dist/components/resources3.js +1 -1
  453. package/dist/components/resources4.js +1 -1
  454. package/dist/components/resources5.js +1 -1
  455. package/dist/components/resources6.js +1 -1
  456. package/dist/components/restHelpersGet.js +19 -23
  457. package/dist/components/scrim.js +2 -2
  458. package/dist/components/segmented-control-item.js +2 -2
  459. package/dist/components/segmented-control.js +6 -3
  460. package/dist/components/select.js +6 -3
  461. package/dist/components/share-item.js +1 -1
  462. package/dist/components/shared-list-render.js +2 -2
  463. package/dist/components/shell-panel.js +3 -3
  464. package/dist/components/shell.js +3 -3
  465. package/dist/components/slider.js +12 -8
  466. package/dist/components/solution-configuration.js +11 -17
  467. package/dist/components/solution-contents2.js +2 -8
  468. package/dist/components/solution-item-details2.js +1 -1
  469. package/dist/components/solution-item-icon2.js +1 -1
  470. package/dist/components/solution-item-sharing2.js +1 -1
  471. package/dist/components/solution-item2.js +9 -15
  472. package/dist/components/solution-organization-variables2.js +2 -8
  473. package/dist/components/solution-resource-item2.js +1 -1
  474. package/dist/components/solution-resource.js +1 -1
  475. package/dist/components/solution-spatial-ref2.js +1 -1
  476. package/dist/components/solution-store.js +56 -63
  477. package/dist/components/solution-template-data2.js +7 -13
  478. package/dist/components/solution-variables2.js +2 -8
  479. package/dist/components/sortableComponent.js +1 -1
  480. package/dist/components/spatial-ref.js +2 -8
  481. package/dist/components/stack.js +2 -2
  482. package/dist/components/switch.js +2 -2
  483. package/dist/components/t9n.js +1 -1
  484. package/dist/components/tab-nav.js +4 -4
  485. package/dist/components/tab-title.js +5 -5
  486. package/dist/components/tab.js +2 -2
  487. package/dist/components/table-cell.js +3 -3
  488. package/dist/components/table-header.js +15 -5
  489. package/dist/components/tabs.js +2 -2
  490. package/dist/components/time-picker.js +21 -21
  491. package/dist/components/time-zones.js +365 -0
  492. package/dist/components/tooltip.js +10 -6
  493. package/dist/components/tree-item.js +33 -20
  494. package/dist/components/tree.js +3 -3
  495. package/dist/components/utils.js +2 -2
  496. package/dist/components/utils2.js +8 -3
  497. package/dist/components/utils3.js +1 -1
  498. package/dist/components/value-list-item.js +2 -2
  499. package/dist/components/value-list.js +2 -2
  500. package/dist/esm/ExpandToggle-bddb5e82.js +108 -0
  501. package/dist/esm/FloatingArrow-adf66cf8.js +46 -0
  502. package/dist/esm/Heading-20345c69.js +22 -0
  503. package/dist/esm/Validation-63949b7d.js +18 -0
  504. package/dist/esm/app-globals-5d3ac5ed.js +65 -0
  505. package/dist/esm/ar-c466a382.js +104 -0
  506. package/dist/esm/arcgis-login.entry.js +1 -1
  507. package/dist/esm/array-dd6e2c7d.js +15 -0
  508. package/dist/esm/basemap-gallery_7.entry.js +8 -8
  509. package/dist/esm/bg-9cb15225.js +82 -0
  510. package/dist/esm/browser-552eb2d0.js +32 -0
  511. package/dist/esm/bs-f5629d7c.js +51 -0
  512. package/dist/esm/buffer-tools_3.entry.js +10 -10
  513. package/dist/esm/ca-4bf4a8d1.js +71 -0
  514. package/dist/esm/calcite-accordion-item.entry.js +24 -24
  515. package/dist/esm/calcite-accordion.entry.js +18 -8
  516. package/dist/esm/calcite-action-bar.entry.js +16 -16
  517. package/dist/esm/calcite-action-group.entry.js +14 -14
  518. package/dist/esm/calcite-action-menu_3.entry.js +28 -28
  519. package/dist/esm/calcite-action-pad_2.entry.js +16 -16
  520. package/dist/esm/calcite-action_2.entry.js +49 -19
  521. package/dist/esm/calcite-alert_4.entry.js +155 -119
  522. package/dist/esm/calcite-avatar.entry.js +172 -0
  523. package/dist/esm/calcite-block-section.entry.js +11 -11
  524. package/dist/esm/calcite-block_5.entry.js +92 -60
  525. package/dist/esm/calcite-button.entry.js +21 -34
  526. package/dist/esm/calcite-card-group.entry.js +7 -7
  527. package/dist/esm/calcite-card.entry.js +13 -13
  528. package/dist/esm/calcite-carousel-item.entry.js +3 -3
  529. package/dist/esm/calcite-carousel.entry.js +13 -13
  530. package/dist/esm/calcite-checkbox.entry.js +12 -12
  531. package/dist/esm/calcite-chip-group.entry.js +7 -7
  532. package/dist/esm/calcite-chip_2.entry.js +31 -21
  533. package/dist/esm/calcite-color-picker-hex-input_2.entry.js +9 -9
  534. package/dist/esm/calcite-color-picker.entry.js +32 -52
  535. package/dist/esm/calcite-combobox-item-group.entry.js +7 -7
  536. package/dist/esm/calcite-combobox_3.entry.js +42 -36
  537. package/dist/esm/calcite-date-picker-day_3.entry.js +14 -14
  538. package/dist/esm/calcite-dialog.entry.js +308 -36
  539. package/dist/esm/calcite-dropdown_2.entry.js +22 -22
  540. package/dist/esm/calcite-fab.entry.js +9 -9
  541. package/dist/esm/calcite-filter_5.entry.js +27 -27
  542. package/dist/esm/calcite-flow_6.entry.js +131 -45
  543. package/dist/esm/calcite-graph_2.entry.js +26 -22
  544. package/dist/esm/calcite-icon.entry.js +10 -10
  545. package/dist/esm/calcite-inline-editable.entry.js +17 -17
  546. package/dist/esm/calcite-input-number.entry.js +39 -34
  547. package/dist/esm/calcite-input-text.entry.js +32 -27
  548. package/dist/esm/calcite-input-time-picker-60dbdc25.js +1858 -0
  549. package/dist/esm/calcite-input-time-picker.entry.js +21 -22
  550. package/dist/esm/calcite-input-time-zone.entry.js +168 -87
  551. package/dist/esm/calcite-input_2.entry.js +41 -36
  552. package/dist/esm/calcite-label.entry.js +11 -8
  553. package/dist/esm/calcite-link.entry.js +11 -11
  554. package/dist/esm/calcite-list-item-group.entry.js +6 -6
  555. package/dist/esm/calcite-menu-item.entry.js +14 -14
  556. package/dist/esm/calcite-menu.entry.js +11 -11
  557. package/dist/esm/calcite-meter.entry.js +12 -12
  558. package/dist/esm/calcite-modal.entry.js +21 -21
  559. package/dist/esm/calcite-navigation-logo.entry.js +7 -7
  560. package/dist/esm/calcite-navigation-user.entry.js +70 -0
  561. package/dist/esm/calcite-navigation.entry.js +9 -9
  562. package/dist/esm/calcite-notice.entry.js +18 -18
  563. package/dist/esm/calcite-option-group.entry.js +2 -2
  564. package/dist/esm/calcite-option_2.entry.js +18 -15
  565. package/dist/esm/calcite-pagination.entry.js +14 -14
  566. package/dist/esm/calcite-panel_2.entry.js +23 -23
  567. package/dist/esm/calcite-pick-list-group.entry.js +12 -12
  568. package/dist/esm/calcite-pick-list-item.entry.js +17 -17
  569. package/dist/esm/calcite-pick-list.entry.js +14 -14
  570. package/dist/esm/calcite-radio-button-group.entry.js +13 -7
  571. package/dist/esm/calcite-radio-button.entry.js +13 -13
  572. package/dist/esm/calcite-rating.entry.js +17 -17
  573. package/dist/esm/calcite-segmented-control_2.entry.js +19 -16
  574. package/dist/esm/calcite-sheet.entry.js +17 -15
  575. package/dist/esm/calcite-shell-center-row.entry.js +10 -10
  576. package/dist/esm/calcite-shell-panel_14.entry.js +54 -54
  577. package/dist/esm/calcite-sortable-list.entry.js +11 -11
  578. package/dist/esm/calcite-split-button.entry.js +6 -6
  579. package/dist/esm/calcite-stepper-item.entry.js +15 -15
  580. package/dist/esm/calcite-stepper.entry.js +12 -12
  581. package/dist/esm/calcite-switch.entry.js +13 -13
  582. package/dist/esm/calcite-table-cell_2.entry.js +30 -20
  583. package/dist/esm/calcite-table-row.entry.js +10 -10
  584. package/dist/esm/calcite-table.entry.js +14 -14
  585. package/dist/esm/calcite-text-area.entry.js +24 -21
  586. package/dist/esm/calcite-tile-group.entry.js +9 -9
  587. package/dist/esm/calcite-tile-select-group.entry.js +6 -6
  588. package/dist/esm/calcite-tile-select.entry.js +10 -10
  589. package/dist/esm/calcite-tile.entry.js +10 -10
  590. package/dist/esm/calcite-time-picker.entry.js +32 -32
  591. package/dist/esm/calcite-tip-group.entry.js +4 -4
  592. package/dist/esm/calcite-tip-manager.entry.js +13 -13
  593. package/dist/esm/calcite-tip.entry.js +15 -15
  594. package/dist/esm/calcite-tooltip.entry.js +18 -14
  595. package/dist/esm/calcite-tree_3.entry.js +44 -26
  596. package/dist/esm/card-manager_3.entry.js +7 -7
  597. package/dist/esm/common-3b99e350.js +35 -0
  598. package/dist/esm/component-c2c32481.js +30 -0
  599. package/dist/esm/conditionalSlot-60e775f3.js +51 -0
  600. package/dist/esm/config-2fa7bb77.js +36 -0
  601. package/dist/esm/consent-manager.entry.js +2 -2
  602. package/dist/esm/constants-045d6a1b.js +808 -0
  603. package/dist/esm/continent-125eb777.js +31 -0
  604. package/dist/esm/country-2d5661ee.js +444 -0
  605. package/dist/esm/crowdsource-manager.entry.js +3 -3
  606. package/dist/esm/crowdsource-reporter.entry.js +28 -25
  607. package/dist/esm/cs-41ed0d89.js +147 -0
  608. package/dist/esm/da-a8c74a48.js +67 -0
  609. package/dist/esm/date-45f24c42.js +248 -0
  610. package/dist/esm/de-9a636f1a.js +91 -0
  611. package/dist/esm/de-at-26352836.js +90 -0
  612. package/dist/esm/de-ch-25495449.js +90 -0
  613. package/dist/esm/deduct-calculator.entry.js +2 -2
  614. package/dist/esm/dom-b5c50286.js +1180 -0
  615. package/dist/esm/downloadUtils-74bc82ae.js +3156 -0
  616. package/dist/esm/el-82ffddec.js +66 -0
  617. package/dist/esm/en-au-0f081a3c.js +66 -0
  618. package/dist/esm/en-ca-f04aeac2.js +65 -0
  619. package/dist/esm/en-gb-81e968d6.js +69 -0
  620. package/dist/esm/es-e058977a.js +66 -0
  621. package/dist/esm/es-mx-14a1f320.js +65 -0
  622. package/dist/esm/et-4a06c642.js +92 -0
  623. package/dist/esm/feature-comments.entry.js +2 -2
  624. package/dist/esm/feature-form-flow-item.entry.js +2 -2
  625. package/dist/esm/feature-list.entry.js +59 -15
  626. package/dist/esm/features-flow-item.entry.js +2 -2
  627. package/dist/esm/fi-9673a0e6.js +115 -0
  628. package/dist/esm/filter-23b3858b.js +775 -0
  629. package/dist/esm/floating-ui-ba0acfca.js +2365 -0
  630. package/dist/esm/focusTrapComponent-6ec0f681.js +1013 -0
  631. package/dist/esm/form-ba965042.js +372 -0
  632. package/dist/esm/fr-94ff7253.js +68 -0
  633. package/dist/esm/fr-ch-00b7e60e.js +66 -0
  634. package/dist/esm/guid-4c746a7f.js +24 -0
  635. package/dist/esm/he-faefbd69.js +105 -0
  636. package/dist/esm/helpers-3be8dbbc.js +913 -0
  637. package/dist/esm/hi-923b9ffd.js +65 -0
  638. package/dist/esm/hr-6ed6939b.js +80 -0
  639. package/dist/esm/hu-25918d1e.js +88 -0
  640. package/dist/esm/id-520427a1.js +66 -0
  641. package/dist/esm/index-2c724afd.js +199 -0
  642. package/dist/esm/index-87ec7c0a.js +71 -0
  643. package/dist/esm/index-ad182a71.js +125 -0
  644. package/dist/esm/index-b793d9aa.js +1748 -0
  645. package/dist/esm/index-f5d562b1.js +60 -0
  646. package/dist/esm/index-f8c935d6.js +12 -0
  647. package/dist/esm/index.es-40ce1695.js +11230 -0
  648. package/dist/esm/input-d11f5ac8.js +58 -0
  649. package/dist/esm/instant-apps-ckeditor-wrapper_3.entry.js +3 -3
  650. package/dist/esm/instant-apps-control-panel.entry.js +1 -1
  651. package/dist/esm/instant-apps-create.entry.js +1 -1
  652. package/dist/esm/instant-apps-export-views.entry.js +1 -1
  653. package/dist/esm/instant-apps-export.entry.js +1 -1
  654. package/dist/esm/instant-apps-header.entry.js +1 -1
  655. package/dist/esm/instant-apps-interactive-legend-classic.entry.js +3 -3
  656. package/dist/esm/instant-apps-interactive-legend-count_2.entry.js +3 -3
  657. package/dist/esm/instant-apps-interactive-legend-group-legend-element-caption.entry.js +3 -3
  658. package/dist/esm/instant-apps-interactive-legend-group-legend-element_5.entry.js +3 -3
  659. package/dist/esm/instant-apps-interactive-legend.entry.js +3 -3
  660. package/dist/esm/instant-apps-keyboard-shortcuts.entry.js +1 -1
  661. package/dist/esm/instant-apps-landing-page.entry.js +9 -11
  662. package/dist/esm/instant-apps-language-switcher.entry.js +11 -11
  663. package/dist/esm/instant-apps-language-translator.entry.js +11 -11
  664. package/dist/esm/instant-apps-measurement.entry.js +1 -1
  665. package/dist/esm/instant-apps-popover.entry.js +1 -1
  666. package/dist/esm/instant-apps-popovers.entry.js +1 -1
  667. package/dist/esm/instant-apps-scoreboard.entry.js +1 -1
  668. package/dist/esm/instant-apps-sign-in.entry.js +35 -50
  669. package/dist/esm/instant-apps-splash.entry.js +1 -1
  670. package/dist/esm/instant-apps-time-filter.entry.js +2 -2
  671. package/dist/esm/interactive-742ba555.js +162 -0
  672. package/dist/esm/it-7751f7dc.js +66 -0
  673. package/dist/esm/it-ch-cec3226b.js +66 -0
  674. package/dist/esm/ja-1df4233a.js +72 -0
  675. package/dist/esm/key-58898f0a.js +16 -0
  676. package/dist/esm/ko-a104769f.js +72 -0
  677. package/dist/esm/label-0b82858a.js +179 -0
  678. package/dist/esm/layout-manager.entry.js +3 -3
  679. package/dist/esm/list-flow-item.entry.js +2 -2
  680. package/dist/esm/loadable-73f289b6.js +93 -0
  681. package/dist/esm/loader.js +7 -7
  682. package/dist/esm/locale-21e40b0c.js +591 -0
  683. package/dist/esm/locale-b1d53fb1.js +155 -0
  684. package/dist/esm/location-flow-item.entry.js +2 -2
  685. package/dist/esm/logger-0d6e5bfe.js +59 -0
  686. package/dist/esm/lt-747213da.js +97 -0
  687. package/dist/esm/lv-06088b99.js +66 -0
  688. package/dist/esm/map-select-tools_3.entry.js +10 -10
  689. package/dist/esm/math-8c04292e.js +54 -0
  690. package/dist/esm/mk-5f581ea0.js +66 -0
  691. package/dist/esm/nb-f9d01bec.js +67 -0
  692. package/dist/esm/nl-48b9338d.js +67 -0
  693. package/dist/esm/observers-e2484555.js +56 -0
  694. package/dist/esm/openCloseComponent-7b8f2e24.js +63 -0
  695. package/dist/esm/pci-calculator.entry.js +2 -2
  696. package/dist/esm/pl-2ff50be7.js +114 -0
  697. package/dist/esm/popupUtils-00c655fb.js +119 -0
  698. package/dist/esm/pt-br-45ae496b.js +65 -0
  699. package/dist/esm/pt-ed25c80b.js +67 -0
  700. package/dist/esm/public-notification.entry.js +8 -8
  701. package/dist/esm/publicNotificationStore-7b0b97b6.js +45 -0
  702. package/dist/esm/refine-results-flow-item.entry.js +2 -2
  703. package/dist/esm/resources-2d6e35cf.js +20 -0
  704. package/dist/esm/resources-30b747d4.js +23 -0
  705. package/dist/esm/resources-5ba50a1d.js +19 -0
  706. package/dist/esm/resources-64237427.js +63 -0
  707. package/dist/esm/resources-8665df6b.js +62 -0
  708. package/dist/esm/resources-896b6b00.js +35 -0
  709. package/dist/esm/resources-8f90cf93.js +22 -0
  710. package/dist/esm/resources-bc5c2adb.js +21 -0
  711. package/dist/esm/resources-cfbcc1ed.js +24 -0
  712. package/dist/esm/resources-defbb49f.js +34 -0
  713. package/dist/esm/restHelpersGet-788d7f7b.js +960 -0
  714. package/dist/esm/ro-c5727d93.js +66 -0
  715. package/dist/esm/ru-ecb35906.js +126 -0
  716. package/dist/esm/share-item.entry.js +2 -2
  717. package/dist/esm/shared-list-render-4053f1dc.js +339 -0
  718. package/dist/esm/sk-e9c31458.js +148 -0
  719. package/dist/esm/sl-063df216.js +168 -0
  720. package/dist/esm/solution-configuration.entry.js +10 -10
  721. package/dist/esm/solution-contents_3.entry.js +10 -10
  722. package/dist/esm/solution-resource-966f8511.js +1840 -0
  723. package/dist/esm/solution-store-61fd39ea.js +1351 -0
  724. package/dist/esm/solutions-components.js +8 -8
  725. package/dist/esm/sortableComponent-3f9e9322.js +2745 -0
  726. package/dist/esm/spatial-ref.entry.js +5 -5
  727. package/dist/esm/sr-68f70e45.js +101 -0
  728. package/dist/esm/store-manager.entry.js +6 -6
  729. package/dist/esm/sv-b5a85ee5.js +71 -0
  730. package/dist/esm/t9n-2fb3af62.js +103 -0
  731. package/dist/esm/templates-9330d7b8.js +401 -0
  732. package/dist/esm/th-3a5ed31b.js +65 -0
  733. package/dist/esm/time-a215e415.js +286 -0
  734. package/dist/esm/time-zones-211c88e3.js +365 -0
  735. package/dist/esm/tr-b8829177.js +66 -0
  736. package/dist/esm/uk-c74df043.js +104 -0
  737. package/dist/esm/utils-13c5908e.js +65 -0
  738. package/dist/esm/utils-1f0d1828.js +2274 -0
  739. package/dist/esm/utils-5b977646.js +121 -0
  740. package/dist/esm/vi-a5092b10.js +70 -0
  741. package/dist/esm/zh-cn-f1e998fb.js +94 -0
  742. package/dist/esm/zh-hk-3ec32fe3.js +92 -0
  743. package/dist/esm/zh-tw-33f4a290.js +92 -0
  744. package/dist/node_modules/@esri/calcite-components/dist/collection/components/accordion/accordion.css +43 -35
  745. package/dist/node_modules/@esri/calcite-components/dist/collection/components/accordion-item/accordion-item.css +127 -150
  746. package/dist/node_modules/@esri/calcite-components/dist/collection/components/action/action.css +79 -100
  747. package/dist/node_modules/@esri/calcite-components/dist/collection/components/action-bar/action-bar.css +22 -36
  748. package/dist/node_modules/@esri/calcite-components/dist/collection/components/action-group/action-group.css +25 -22
  749. package/dist/node_modules/@esri/calcite-components/dist/collection/components/action-menu/action-menu.css +17 -12
  750. package/dist/node_modules/@esri/calcite-components/dist/collection/components/action-pad/action-pad.css +15 -23
  751. package/dist/node_modules/@esri/calcite-components/dist/collection/components/alert/alert.css +9 -9
  752. package/dist/node_modules/@esri/calcite-components/dist/collection/components/avatar/avatar.css +5 -5
  753. package/dist/node_modules/@esri/calcite-components/dist/collection/components/block/block.css +6 -5
  754. package/dist/node_modules/@esri/calcite-components/dist/collection/components/block-section/block-section.css +5 -5
  755. package/dist/node_modules/@esri/calcite-components/dist/collection/components/button/button.css +5 -14
  756. package/dist/node_modules/@esri/calcite-components/dist/collection/components/card/card.css +10 -10
  757. package/dist/node_modules/@esri/calcite-components/dist/collection/components/card-group/card-group.css +5 -5
  758. package/dist/node_modules/@esri/calcite-components/dist/collection/components/carousel/carousel.css +5 -5
  759. package/dist/node_modules/@esri/calcite-components/dist/collection/components/carousel-item/carousel-item.css +5 -5
  760. package/dist/node_modules/@esri/calcite-components/dist/collection/components/checkbox/checkbox.css +5 -5
  761. package/dist/node_modules/@esri/calcite-components/dist/collection/components/chip/chip.css +5 -18
  762. package/dist/node_modules/@esri/calcite-components/dist/collection/components/chip-group/chip-group.css +5 -5
  763. package/dist/node_modules/@esri/calcite-components/dist/collection/components/color-picker/color-picker.css +12 -5
  764. package/dist/node_modules/@esri/calcite-components/dist/collection/components/color-picker-hex-input/color-picker-hex-input.css +5 -5
  765. package/dist/node_modules/@esri/calcite-components/dist/collection/components/color-picker-swatch/color-picker-swatch.css +5 -5
  766. package/dist/node_modules/@esri/calcite-components/dist/collection/components/combobox/combobox.css +17 -12
  767. package/dist/node_modules/@esri/calcite-components/dist/collection/components/combobox-item/combobox-item.css +5 -5
  768. package/dist/node_modules/@esri/calcite-components/dist/collection/components/combobox-item-group/combobox-item-group.css +5 -5
  769. package/dist/node_modules/@esri/calcite-components/dist/collection/components/date-picker/date-picker.css +5 -5
  770. package/dist/node_modules/@esri/calcite-components/dist/collection/components/date-picker-day/date-picker-day.css +5 -5
  771. package/dist/node_modules/@esri/calcite-components/dist/collection/components/date-picker-month/date-picker-month.css +5 -5
  772. package/dist/node_modules/@esri/calcite-components/dist/collection/components/date-picker-month-header/date-picker-month-header.css +5 -5
  773. package/dist/node_modules/@esri/calcite-components/dist/collection/components/dialog/dialog.css +64 -48
  774. package/dist/node_modules/@esri/calcite-components/dist/collection/components/dropdown/dropdown.css +12 -11
  775. package/dist/node_modules/@esri/calcite-components/dist/collection/components/dropdown-group/dropdown-group.css +5 -5
  776. package/dist/node_modules/@esri/calcite-components/dist/collection/components/dropdown-item/dropdown-item.css +5 -5
  777. package/dist/node_modules/@esri/calcite-components/dist/collection/components/fab/fab.css +5 -5
  778. package/dist/node_modules/@esri/calcite-components/dist/collection/components/filter/filter.css +5 -5
  779. package/dist/node_modules/@esri/calcite-components/dist/collection/components/flow/flow.css +5 -5
  780. package/dist/node_modules/@esri/calcite-components/dist/collection/components/flow-item/flow-item.css +5 -5
  781. package/dist/node_modules/@esri/calcite-components/dist/collection/components/graph/graph.css +5 -5
  782. package/dist/node_modules/@esri/calcite-components/dist/collection/components/handle/handle.css +5 -5
  783. package/dist/node_modules/@esri/calcite-components/dist/collection/components/icon/icon.css +8 -7
  784. package/dist/node_modules/@esri/calcite-components/dist/collection/components/inline-editable/inline-editable.css +5 -5
  785. package/dist/node_modules/@esri/calcite-components/dist/collection/components/input/input.css +5 -5
  786. package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-date-picker/input-date-picker.css +19 -17
  787. package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-message/input-message.css +5 -5
  788. package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-number/input-number.css +5 -5
  789. package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-text/input-text.css +5 -5
  790. package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-time-picker/input-time-picker.css +7 -7
  791. package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-time-zone/input-time-zone.css +9 -5
  792. package/dist/node_modules/@esri/calcite-components/dist/collection/components/label/label.css +5 -5
  793. package/dist/node_modules/@esri/calcite-components/dist/collection/components/link/link.css +5 -5
  794. package/dist/node_modules/@esri/calcite-components/dist/collection/components/list/list.css +5 -5
  795. package/dist/node_modules/@esri/calcite-components/dist/collection/components/list-item/list-item.css +6 -5
  796. package/dist/node_modules/@esri/calcite-components/dist/collection/components/list-item-group/list-item-group.css +5 -5
  797. package/dist/node_modules/@esri/calcite-components/dist/collection/components/loader/loader.css +23 -19
  798. package/dist/node_modules/@esri/calcite-components/dist/collection/components/menu/menu.css +5 -5
  799. package/dist/node_modules/@esri/calcite-components/dist/collection/components/menu-item/menu-item.css +8 -8
  800. package/dist/node_modules/@esri/calcite-components/dist/collection/components/meter/meter.css +5 -5
  801. package/dist/node_modules/@esri/calcite-components/dist/collection/components/modal/modal.css +5 -5
  802. package/dist/node_modules/@esri/calcite-components/dist/collection/components/navigation/navigation.css +5 -5
  803. package/dist/node_modules/@esri/calcite-components/dist/collection/components/navigation-logo/navigation-logo.css +6 -6
  804. package/dist/node_modules/@esri/calcite-components/dist/collection/components/navigation-user/navigation-user.css +6 -6
  805. package/dist/node_modules/@esri/calcite-components/dist/collection/components/notice/notice.css +9 -10
  806. package/dist/node_modules/@esri/calcite-components/dist/collection/components/option/option.css +5 -5
  807. package/dist/node_modules/@esri/calcite-components/dist/collection/components/option-group/option-group.css +5 -5
  808. package/dist/node_modules/@esri/calcite-components/dist/collection/components/pagination/pagination.css +5 -5
  809. package/dist/node_modules/@esri/calcite-components/dist/collection/components/panel/panel.css +46 -5
  810. package/dist/node_modules/@esri/calcite-components/dist/collection/components/pick-list/pick-list.css +5 -5
  811. package/dist/node_modules/@esri/calcite-components/dist/collection/components/pick-list-group/pick-list-group.css +5 -5
  812. package/dist/node_modules/@esri/calcite-components/dist/collection/components/pick-list-item/pick-list-item.css +5 -5
  813. package/dist/node_modules/@esri/calcite-components/dist/collection/components/popover/popover.css +12 -11
  814. package/dist/node_modules/@esri/calcite-components/dist/collection/components/progress/progress.css +5 -5
  815. package/dist/node_modules/@esri/calcite-components/dist/collection/components/radio-button/radio-button.css +5 -5
  816. package/dist/node_modules/@esri/calcite-components/dist/collection/components/radio-button-group/radio-button-group.css +5 -5
  817. package/dist/node_modules/@esri/calcite-components/dist/collection/components/rating/rating.css +5 -5
  818. package/dist/node_modules/@esri/calcite-components/dist/collection/components/scrim/scrim.css +5 -5
  819. package/dist/node_modules/@esri/calcite-components/dist/collection/components/segmented-control/segmented-control.css +5 -5
  820. package/dist/node_modules/@esri/calcite-components/dist/collection/components/segmented-control-item/segmented-control-item.css +5 -5
  821. package/dist/node_modules/@esri/calcite-components/dist/collection/components/select/select.css +5 -5
  822. package/dist/node_modules/@esri/calcite-components/dist/collection/components/sheet/sheet.css +5 -5
  823. package/dist/node_modules/@esri/calcite-components/dist/collection/components/shell/shell.css +20 -5
  824. package/dist/node_modules/@esri/calcite-components/dist/collection/components/shell-center-row/shell-center-row.css +5 -5
  825. package/dist/node_modules/@esri/calcite-components/dist/collection/components/shell-panel/shell-panel.css +5 -5
  826. package/dist/node_modules/@esri/calcite-components/dist/collection/components/slider/slider.css +8 -5
  827. package/dist/node_modules/@esri/calcite-components/dist/collection/components/sortable-list/sortable-list.css +5 -5
  828. package/dist/node_modules/@esri/calcite-components/dist/collection/components/split-button/split-button.css +5 -5
  829. package/dist/node_modules/@esri/calcite-components/dist/collection/components/stack/stack.css +5 -5
  830. package/dist/node_modules/@esri/calcite-components/dist/collection/components/stepper/stepper.css +5 -5
  831. package/dist/node_modules/@esri/calcite-components/dist/collection/components/stepper-item/stepper-item.css +9 -5
  832. package/dist/node_modules/@esri/calcite-components/dist/collection/components/switch/switch.css +5 -5
  833. package/dist/node_modules/@esri/calcite-components/dist/collection/components/tab/tab.css +5 -5
  834. package/dist/node_modules/@esri/calcite-components/dist/collection/components/tab-nav/tab-nav.css +5 -5
  835. package/dist/node_modules/@esri/calcite-components/dist/collection/components/tab-title/tab-title.css +5 -5
  836. package/dist/node_modules/@esri/calcite-components/dist/collection/components/table/table.css +5 -5
  837. package/dist/node_modules/@esri/calcite-components/dist/collection/components/table-cell/table-cell.css +5 -5
  838. package/dist/node_modules/@esri/calcite-components/dist/collection/components/table-header/table-header.css +5 -5
  839. package/dist/node_modules/@esri/calcite-components/dist/collection/components/table-row/table-row.css +5 -5
  840. package/dist/node_modules/@esri/calcite-components/dist/collection/components/tabs/tabs.css +5 -5
  841. package/dist/node_modules/@esri/calcite-components/dist/collection/components/text-area/text-area.css +5 -5
  842. package/dist/node_modules/@esri/calcite-components/dist/collection/components/tile/tile.css +8 -8
  843. package/dist/node_modules/@esri/calcite-components/dist/collection/components/tile-group/tile-group.css +5 -5
  844. package/dist/node_modules/@esri/calcite-components/dist/collection/components/tile-select/tile-select.css +5 -5
  845. package/dist/node_modules/@esri/calcite-components/dist/collection/components/tile-select-group/tile-select-group.css +5 -5
  846. package/dist/node_modules/@esri/calcite-components/dist/collection/components/time-picker/time-picker.css +5 -5
  847. package/dist/node_modules/@esri/calcite-components/dist/collection/components/tip/tip.css +5 -5
  848. package/dist/node_modules/@esri/calcite-components/dist/collection/components/tip-group/tip-group.css +5 -5
  849. package/dist/node_modules/@esri/calcite-components/dist/collection/components/tip-manager/tip-manager.css +5 -5
  850. package/dist/node_modules/@esri/calcite-components/dist/collection/components/tooltip/tooltip.css +12 -11
  851. package/dist/node_modules/@esri/calcite-components/dist/collection/components/tree/tree.css +5 -5
  852. package/dist/node_modules/@esri/calcite-components/dist/collection/components/tree-item/tree-item.css +22 -10
  853. package/dist/node_modules/@esri/calcite-components/dist/collection/components/value-list/value-list.css +5 -5
  854. package/dist/node_modules/@esri/calcite-components/dist/collection/components/value-list-item/value-list-item.css +5 -5
  855. package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-landing-page/instant-apps-landing-page.css +2 -15
  856. package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-sign-in/instant-apps-sign-in.css +11 -14
  857. package/dist/solutions-components/assets/dialog/t9n/index.d.ts +2 -0
  858. package/dist/solutions-components/assets/dialog/t9n/messages.json +3 -1
  859. package/dist/solutions-components/assets/dialog/t9n/messages_en.json +3 -1
  860. package/dist/solutions-components/assets/icon/closedCaption16.json +1 -0
  861. package/dist/solutions-components/assets/icon/closedCaption16F.json +1 -0
  862. package/dist/solutions-components/assets/icon/closedCaption24.json +1 -0
  863. package/dist/solutions-components/assets/icon/closedCaption24F.json +1 -0
  864. package/dist/solutions-components/assets/icon/closedCaption32.json +1 -0
  865. package/dist/solutions-components/assets/icon/closedCaption32F.json +1 -0
  866. package/dist/solutions-components/assets/icon/flag16.json +1 -0
  867. package/dist/solutions-components/assets/icon/flag16F.json +1 -0
  868. package/dist/solutions-components/assets/icon/flag24.json +1 -0
  869. package/dist/solutions-components/assets/icon/flag24F.json +1 -0
  870. package/dist/solutions-components/assets/icon/flag32.json +1 -0
  871. package/dist/solutions-components/assets/icon/flag32F.json +1 -0
  872. package/dist/solutions-components/assets/icon/flagSlash16.json +1 -0
  873. package/dist/solutions-components/assets/icon/flagSlash24.json +1 -0
  874. package/dist/solutions-components/assets/icon/flagSlash32.json +1 -0
  875. package/dist/solutions-components/assets/icon/layerConnection16.json +1 -0
  876. package/dist/solutions-components/assets/icon/layerConnection24.json +1 -0
  877. package/dist/solutions-components/assets/icon/layerConnection32.json +1 -0
  878. package/dist/solutions-components/assets/icon/transcript16.json +1 -0
  879. package/dist/solutions-components/assets/icon/transcript16F.json +1 -0
  880. package/dist/solutions-components/assets/icon/transcript24.json +1 -0
  881. package/dist/solutions-components/assets/icon/transcript24F.json +1 -0
  882. package/dist/solutions-components/assets/icon/transcript32.json +1 -0
  883. package/dist/solutions-components/assets/icon/transcript32F.json +1 -0
  884. package/dist/solutions-components/assets/input-time-zone/t9n/index.d.ts +261 -0
  885. package/dist/solutions-components/assets/input-time-zone/t9n/messages.json +262 -1
  886. package/dist/solutions-components/assets/input-time-zone/t9n/messages_en.json +262 -1
  887. package/dist/solutions-components/demos/crowdsource-reporter.html +11 -3
  888. package/dist/solutions-components/p-0005175a.js +16 -0
  889. package/dist/solutions-components/p-004d601f.entry.js +6 -0
  890. package/dist/solutions-components/p-00d131cd.entry.js +11 -0
  891. package/dist/solutions-components/p-013188f8.entry.js +6 -0
  892. package/dist/solutions-components/p-01df774b.js +11 -0
  893. package/dist/solutions-components/p-0215daed.js +6 -0
  894. package/dist/solutions-components/p-022c49af.js +489 -0
  895. package/dist/solutions-components/p-04f09e7f.entry.js +11 -0
  896. package/dist/solutions-components/p-0558fbc7.js +143 -0
  897. package/dist/solutions-components/p-058b77d7.entry.js +6 -0
  898. package/dist/solutions-components/p-05b7d3ce.js +6 -0
  899. package/dist/solutions-components/p-06084e6c.js +11 -0
  900. package/dist/solutions-components/p-064e43e0.entry.js +6 -0
  901. package/dist/solutions-components/p-089bc565.js +11 -0
  902. package/dist/solutions-components/p-0fe5de6b.entry.js +6 -0
  903. package/dist/solutions-components/p-1061076b.js +6 -0
  904. package/dist/solutions-components/p-14fbc662.js +11 -0
  905. package/dist/solutions-components/p-1500d4c7.js +6 -0
  906. package/dist/solutions-components/p-16d4eb72.entry.js +16 -0
  907. package/dist/solutions-components/p-172fcecd.entry.js +11 -0
  908. package/dist/solutions-components/p-1892c357.js +11 -0
  909. package/dist/solutions-components/p-18f18ab3.js +11 -0
  910. package/dist/solutions-components/p-1900269a.entry.js +6 -0
  911. package/dist/solutions-components/p-19a942c4.entry.js +16 -0
  912. package/dist/solutions-components/p-1a9a47a0.js +11 -0
  913. package/dist/solutions-components/p-1bbe9e22.js +6 -0
  914. package/dist/solutions-components/p-1d71e81f.js +11 -0
  915. package/dist/solutions-components/p-1d99dfcd.entry.js +11 -0
  916. package/dist/solutions-components/p-1e455668.js +6 -0
  917. package/dist/solutions-components/p-1ed47f10.entry.js +21 -0
  918. package/dist/solutions-components/p-1f40908b.entry.js +11 -0
  919. package/dist/solutions-components/p-2058b5d9.js +36 -0
  920. package/dist/solutions-components/p-207b4e70.entry.js +11 -0
  921. package/dist/solutions-components/p-24997e81.js +6 -0
  922. package/dist/solutions-components/p-25a1fe4d.js +6 -0
  923. package/dist/solutions-components/p-25c584f4.entry.js +17 -0
  924. package/dist/solutions-components/p-26eb6f09.js +6 -0
  925. package/dist/solutions-components/p-274cad02.entry.js +6 -0
  926. package/dist/solutions-components/p-2ab773ed.js +6 -0
  927. package/dist/solutions-components/p-2c423f9c.js +6 -0
  928. package/dist/solutions-components/p-2cff27c5.js +22 -0
  929. package/dist/solutions-components/p-2d1afda0.entry.js +17 -0
  930. package/dist/solutions-components/p-2ed8e994.entry.js +17 -0
  931. package/dist/solutions-components/p-3110db7a.entry.js +6 -0
  932. package/dist/solutions-components/p-31f7dd8e.entry.js +6 -0
  933. package/dist/solutions-components/p-32be7387.js +6 -0
  934. package/dist/solutions-components/p-336b8f46.js +6 -0
  935. package/dist/solutions-components/p-371dbb0f.entry.js +6 -0
  936. package/dist/solutions-components/p-388725c2.entry.js +6 -0
  937. package/dist/solutions-components/p-3917c6f8.entry.js +11 -0
  938. package/dist/solutions-components/p-3a74aab6.entry.js +6 -0
  939. package/dist/solutions-components/p-3c1945a9.js +6 -0
  940. package/dist/solutions-components/p-3d0666fe.js +6 -0
  941. package/dist/solutions-components/p-3d6b18ec.entry.js +11 -0
  942. package/dist/solutions-components/p-3df511e0.entry.js +6 -0
  943. package/dist/solutions-components/p-3eff6da3.js +11 -0
  944. package/dist/solutions-components/p-3f9238e9.entry.js +11 -0
  945. package/dist/solutions-components/p-40724bfb.js +11 -0
  946. package/dist/solutions-components/p-40d7e510.js +6 -0
  947. package/dist/solutions-components/p-415cf05e.js +12 -0
  948. package/dist/solutions-components/p-4216af0e.js +6 -0
  949. package/dist/solutions-components/p-42a8493c.entry.js +6 -0
  950. package/dist/solutions-components/p-44240d03.js +18 -0
  951. package/dist/solutions-components/p-4514dc6f.entry.js +11 -0
  952. package/dist/solutions-components/p-47f6f996.entry.js +6 -0
  953. package/dist/solutions-components/p-49118e69.js +6 -0
  954. package/dist/solutions-components/p-4a0d9efe.entry.js +6 -0
  955. package/dist/solutions-components/p-4de4fff6.entry.js +6 -0
  956. package/dist/solutions-components/p-4f06e105.entry.js +11 -0
  957. package/dist/solutions-components/p-4f074a84.entry.js +11 -0
  958. package/dist/solutions-components/p-4f474f64.js +6 -0
  959. package/dist/solutions-components/p-4fc5ab17.js +6 -0
  960. package/dist/solutions-components/p-51270f04.entry.js +6 -0
  961. package/dist/solutions-components/p-52576649.entry.js +17 -0
  962. package/dist/solutions-components/p-534cd147.js +6 -0
  963. package/dist/solutions-components/p-544cd7fd.entry.js +11 -0
  964. package/dist/solutions-components/p-56601650.js +11 -0
  965. package/dist/solutions-components/p-569ccf2c.entry.js +11 -0
  966. package/dist/solutions-components/p-56b9dc0d.entry.js +11 -0
  967. package/dist/solutions-components/p-580a4537.js +11 -0
  968. package/dist/solutions-components/p-58405b19.entry.js +11 -0
  969. package/dist/solutions-components/p-5c1366f7.entry.js +11 -0
  970. package/dist/solutions-components/p-5cca7ef7.entry.js +17 -0
  971. package/dist/solutions-components/p-5dcec135.js +21 -0
  972. package/dist/solutions-components/p-5ee4ba5c.js +6 -0
  973. package/dist/solutions-components/p-6070857c.js +6 -0
  974. package/dist/solutions-components/p-61f47dfa.entry.js +11 -0
  975. package/dist/solutions-components/p-621e306e.js +6 -0
  976. package/dist/solutions-components/p-62c6764c.js +6 -0
  977. package/dist/solutions-components/p-66be22db.entry.js +11 -0
  978. package/dist/solutions-components/p-682d053f.entry.js +6 -0
  979. package/dist/solutions-components/p-68ec5c15.js +17 -0
  980. package/dist/solutions-components/p-6d6c3d56.js +6 -0
  981. package/dist/solutions-components/p-6eb37ed2.js +7 -0
  982. package/dist/solutions-components/p-6f253995.js +61 -0
  983. package/dist/solutions-components/p-6fb5c228.entry.js +11 -0
  984. package/dist/solutions-components/p-70b46ea4.js +6 -0
  985. package/dist/solutions-components/p-712269bc.entry.js +29 -0
  986. package/dist/solutions-components/p-720a12c0.js +6 -0
  987. package/dist/solutions-components/p-7324cb9f.js +6 -0
  988. package/dist/solutions-components/p-7699e80b.js +11 -0
  989. package/dist/solutions-components/p-7987d73b.entry.js +6 -0
  990. package/dist/solutions-components/p-7a61d771.entry.js +11 -0
  991. package/dist/solutions-components/p-7b0b9681.js +6 -0
  992. package/dist/solutions-components/p-7b68d1ea.js +6 -0
  993. package/dist/solutions-components/p-7c00971f.js +6 -0
  994. package/dist/solutions-components/p-7c583516.js +50 -0
  995. package/dist/solutions-components/p-7ca6f4d5.entry.js +6 -0
  996. package/dist/solutions-components/p-7d32b6a4.entry.js +11 -0
  997. package/dist/solutions-components/p-7d484762.entry.js +6 -0
  998. package/dist/solutions-components/p-7eb5d31a.js +6 -0
  999. package/dist/solutions-components/p-81790f41.js +6 -0
  1000. package/dist/solutions-components/p-8208ba6c.entry.js +6 -0
  1001. package/dist/solutions-components/p-8241cd35.js +11 -0
  1002. package/dist/solutions-components/p-83786108.js +6 -0
  1003. package/dist/solutions-components/p-84a049f7.entry.js +6 -0
  1004. package/dist/solutions-components/p-8524bacc.js +11 -0
  1005. package/dist/solutions-components/p-86d877d8.entry.js +17 -0
  1006. package/dist/solutions-components/p-89195780.entry.js +29 -0
  1007. package/dist/solutions-components/p-8a177acd.entry.js +11 -0
  1008. package/dist/solutions-components/p-8c2d05c1.js +6 -0
  1009. package/dist/solutions-components/p-8ce7e559.entry.js +11 -0
  1010. package/dist/solutions-components/p-8d576a9a.js +6 -0
  1011. package/dist/solutions-components/p-8df67871.entry.js +11 -0
  1012. package/dist/solutions-components/p-8f07cef3.entry.js +11 -0
  1013. package/dist/solutions-components/p-8f0ee4b0.js +17 -0
  1014. package/dist/solutions-components/p-8f218bfe.entry.js +11 -0
  1015. package/dist/solutions-components/p-900fee65.js +21 -0
  1016. package/dist/solutions-components/p-92baaf77.entry.js +11 -0
  1017. package/dist/solutions-components/p-939bc1b4.js +16 -0
  1018. package/dist/solutions-components/p-93fd86cd.entry.js +6 -0
  1019. package/dist/solutions-components/p-960baebc.entry.js +6 -0
  1020. package/dist/solutions-components/p-969008d8.entry.js +6 -0
  1021. package/dist/solutions-components/p-97331a60.entry.js +12 -0
  1022. package/dist/solutions-components/p-976ad17d.entry.js +6 -0
  1023. package/dist/solutions-components/p-99af3f50.js +6 -0
  1024. package/dist/solutions-components/p-9ab3df4f.js +11 -0
  1025. package/dist/solutions-components/p-9d0528ac.js +6 -0
  1026. package/dist/solutions-components/p-9dc4186e.entry.js +11 -0
  1027. package/dist/solutions-components/p-9ec1aa8c.js +6 -0
  1028. package/dist/solutions-components/p-9f0b8f8b.js +11 -0
  1029. package/dist/solutions-components/p-9f574f86.entry.js +6 -0
  1030. package/dist/solutions-components/p-9f63a45c.js +11 -0
  1031. package/dist/solutions-components/p-9f8b30b5.entry.js +11 -0
  1032. package/dist/solutions-components/p-a0db88ed.js +6 -0
  1033. package/dist/solutions-components/p-a2246051.entry.js +17 -0
  1034. package/dist/solutions-components/p-a432f638.entry.js +6 -0
  1035. package/dist/solutions-components/p-a474882d.js +6 -0
  1036. package/dist/solutions-components/p-a5609b81.js +11 -0
  1037. package/dist/solutions-components/p-a6935ddf.js +6 -0
  1038. package/dist/solutions-components/p-a6aba7d4.entry.js +6 -0
  1039. package/dist/solutions-components/p-a72f5cc6.js +6 -0
  1040. package/dist/solutions-components/p-a84b3d50.js +6 -0
  1041. package/dist/solutions-components/p-a858460b.entry.js +47 -0
  1042. package/dist/solutions-components/p-a94a0072.js +6 -0
  1043. package/dist/solutions-components/p-a957cdd8.entry.js +11 -0
  1044. package/dist/solutions-components/p-aa0ac2d2.js +16 -0
  1045. package/dist/solutions-components/p-aa3140aa.entry.js +6 -0
  1046. package/dist/solutions-components/p-aa71106f.entry.js +11 -0
  1047. package/dist/solutions-components/p-ac52e0ba.js +11 -0
  1048. package/dist/solutions-components/p-acaae81d.js +11 -0
  1049. package/dist/solutions-components/p-aeb86188.js +11 -0
  1050. package/dist/solutions-components/p-afcd5996.js +11 -0
  1051. package/dist/solutions-components/p-b12af1e0.entry.js +17 -0
  1052. package/dist/solutions-components/p-b1bc21ac.js +11 -0
  1053. package/dist/solutions-components/p-b39c5275.js +11 -0
  1054. package/dist/solutions-components/p-b3f2bb6f.js +6 -0
  1055. package/dist/solutions-components/p-b448a7a7.js +6 -0
  1056. package/dist/solutions-components/p-b5963a0f.js +6 -0
  1057. package/dist/solutions-components/p-b7c200a0.entry.js +12 -0
  1058. package/dist/solutions-components/p-b8eee32e.js +6 -0
  1059. package/dist/solutions-components/p-bb9ac684.entry.js +6 -0
  1060. package/dist/solutions-components/p-bc0aaf2f.entry.js +11 -0
  1061. package/dist/solutions-components/p-bc14b643.entry.js +12 -0
  1062. package/dist/solutions-components/p-bc1d8894.js +11 -0
  1063. package/dist/solutions-components/p-bc33d298.js +6 -0
  1064. package/dist/solutions-components/p-bcc79697.js +11 -0
  1065. package/dist/solutions-components/p-beb23ced.entry.js +6 -0
  1066. package/dist/solutions-components/p-bef2141e.entry.js +6 -0
  1067. package/dist/solutions-components/p-bfa395e9.js +6 -0
  1068. package/dist/solutions-components/p-c2964e00.entry.js +11 -0
  1069. package/dist/solutions-components/p-c5e13ebc.js +11 -0
  1070. package/dist/solutions-components/p-c638d28e.js +11 -0
  1071. package/dist/solutions-components/p-c71745d0.entry.js +6 -0
  1072. package/dist/solutions-components/p-c7bfe120.entry.js +6 -0
  1073. package/dist/solutions-components/p-c7e2d3e6.entry.js +6 -0
  1074. package/dist/solutions-components/p-c89f1175.entry.js +11 -0
  1075. package/dist/solutions-components/p-c8b149b8.entry.js +6 -0
  1076. package/dist/solutions-components/p-c911c46d.entry.js +11 -0
  1077. package/dist/solutions-components/p-c9260b4c.entry.js +6 -0
  1078. package/dist/solutions-components/p-c9a45311.entry.js +6 -0
  1079. package/dist/solutions-components/p-ca3430fd.entry.js +21 -0
  1080. package/dist/solutions-components/p-ca65d7ff.entry.js +12 -0
  1081. package/dist/solutions-components/p-cabc6e5c.entry.js +17 -0
  1082. package/dist/solutions-components/p-cb5ddaae.js +6 -0
  1083. package/dist/solutions-components/p-cb5de432.entry.js +11 -0
  1084. package/dist/solutions-components/p-cde8d6e5.entry.js +11 -0
  1085. package/dist/solutions-components/p-d301b8fd.js +6 -0
  1086. package/dist/solutions-components/p-d3453ce8.entry.js +6 -0
  1087. package/dist/solutions-components/p-d4d4b4e3.entry.js +6 -0
  1088. package/dist/solutions-components/p-d4e58347.entry.js +6 -0
  1089. package/dist/solutions-components/p-d52da3ad.js +6 -0
  1090. package/dist/solutions-components/p-d559f79c.js +11 -0
  1091. package/dist/solutions-components/p-d5dae468.js +6 -0
  1092. package/dist/solutions-components/p-d62336e2.entry.js +6 -0
  1093. package/dist/solutions-components/p-d6e62ea2.js +6 -0
  1094. package/dist/solutions-components/p-da713b07.entry.js +6 -0
  1095. package/dist/solutions-components/p-da9cee72.entry.js +11 -0
  1096. package/dist/solutions-components/p-dc58c4da.entry.js +6 -0
  1097. package/dist/solutions-components/p-dc7710b5.js +11 -0
  1098. package/dist/solutions-components/p-dd3530da.entry.js +11 -0
  1099. package/dist/solutions-components/p-de02a060.entry.js +11 -0
  1100. package/dist/solutions-components/p-de197552.js +6 -0
  1101. package/dist/solutions-components/p-df191993.entry.js +11 -0
  1102. package/dist/solutions-components/p-e1917512.js +6 -0
  1103. package/dist/solutions-components/p-e33e07a4.entry.js +11 -0
  1104. package/dist/solutions-components/p-e83d2d34.entry.js +24 -0
  1105. package/dist/solutions-components/p-e98c4f93.js +11 -0
  1106. package/dist/solutions-components/p-ead8696c.js +16 -0
  1107. package/dist/solutions-components/p-ec702c30.entry.js +11 -0
  1108. package/dist/solutions-components/p-ed60dff0.entry.js +11 -0
  1109. package/dist/solutions-components/p-ed7cba2a.entry.js +11 -0
  1110. package/dist/solutions-components/p-ee157540.entry.js +22 -0
  1111. package/dist/solutions-components/p-eeaa122b.entry.js +11 -0
  1112. package/dist/solutions-components/p-ef4f2c1d.entry.js +6 -0
  1113. package/dist/solutions-components/p-f0345689.entry.js +16 -0
  1114. package/dist/solutions-components/p-f067a46c.js +21 -0
  1115. package/dist/solutions-components/p-f25d5c18.entry.js +6 -0
  1116. package/dist/solutions-components/p-f31a44b7.js +11 -0
  1117. package/dist/solutions-components/p-f32f57a3.entry.js +6 -0
  1118. package/dist/solutions-components/p-f47d6a10.entry.js +11 -0
  1119. package/dist/solutions-components/p-f69ca69c.js +6 -0
  1120. package/dist/solutions-components/p-f7d3ef3e.entry.js +6 -0
  1121. package/dist/solutions-components/p-f89104bc.entry.js +6 -0
  1122. package/dist/solutions-components/p-f91ae108.entry.js +6 -0
  1123. package/dist/solutions-components/p-f9393949.entry.js +6 -0
  1124. package/dist/solutions-components/p-fc58da4b.entry.js +6 -0
  1125. package/dist/solutions-components/p-fce978b9.entry.js +6 -0
  1126. package/dist/solutions-components/p-fe6f7734.js +11 -0
  1127. package/dist/solutions-components/p-ff8343ec.js +11 -0
  1128. package/dist/solutions-components/solutions-components.esm.js +1 -1
  1129. package/dist/types/components/basemap-gallery/basemap-gallery.d.ts +0 -1
  1130. package/dist/types/components/buffer-tools/buffer-tools.d.ts +0 -2
  1131. package/dist/types/components/card-manager/card-manager.d.ts +0 -1
  1132. package/dist/types/components/consent-manager/consent-manager.d.ts +0 -1
  1133. package/dist/types/components/create-feature/create-feature.d.ts +37 -2
  1134. package/dist/types/components/create-related-feature/create-related-feature.d.ts +0 -1
  1135. package/dist/types/components/crowdsource-manager/crowdsource-manager.d.ts +0 -1
  1136. package/dist/types/components/crowdsource-reporter/crowdsource-reporter.d.ts +10 -6
  1137. package/dist/types/components/delete-button/delete-button.d.ts +0 -1
  1138. package/dist/types/components/edit-card/edit-card.d.ts +0 -1
  1139. package/dist/types/components/feature-details/feature-details.d.ts +4 -1
  1140. package/dist/types/components/feature-list/feature-list.d.ts +18 -2
  1141. package/dist/types/components/floor-filter/floor-filter.d.ts +0 -1
  1142. package/dist/types/components/info-card/info-card.d.ts +0 -1
  1143. package/dist/types/components/layer-list/layer-list.d.ts +0 -1
  1144. package/dist/types/components/layer-table/layer-table.d.ts +0 -1
  1145. package/dist/types/components/map-card/map-card.d.ts +0 -1
  1146. package/dist/types/components/map-draw-tools/map-draw-tools.d.ts +0 -1
  1147. package/dist/types/components/map-fullscreen/map-fullscreen.d.ts +0 -1
  1148. package/dist/types/components/map-layer-picker/map-layer-picker.d.ts +0 -1
  1149. package/dist/types/components/map-legend/map-legend.d.ts +0 -1
  1150. package/dist/types/components/map-search/map-search.d.ts +0 -1
  1151. package/dist/types/components/map-select-tools/map-select-tools.d.ts +0 -1
  1152. package/dist/types/components/map-tools/map-tools.d.ts +0 -1
  1153. package/dist/types/components/pdf-download/pdf-download.d.ts +0 -1
  1154. package/dist/types/components/public-notification/public-notification.d.ts +0 -1
  1155. package/dist/types/components/refine-selection/refine-selection.d.ts +0 -1
  1156. package/dist/types/components.d.ts +37 -0
  1157. package/dist/types/preact.d.ts +5 -5
  1158. package/dist/types/utils/downloadUtils.d.ts +0 -1
  1159. package/dist/types/utils/interfaces.d.ts +0 -1
  1160. package/dist/types/utils/mapViewUtils.d.ts +0 -1
  1161. package/dist/types/utils/popupUtils.d.ts +0 -1
  1162. package/dist/types/utils/queryUtils.d.ts +0 -1
  1163. package/package.json +11 -11
  1164. package/dist/cjs/ExpandToggle-9cf51aba.js +0 -115
  1165. package/dist/cjs/FloatingArrow-f78d627c.js +0 -48
  1166. package/dist/cjs/Heading-5b274572.js +0 -25
  1167. package/dist/cjs/Validation-a9d22fb7.js +0 -20
  1168. package/dist/cjs/app-globals-62e0da30.js +0 -67
  1169. package/dist/cjs/ar-67bbaacf.js +0 -107
  1170. package/dist/cjs/array-67eea0ed.js +0 -17
  1171. package/dist/cjs/bg-52d767e3.js +0 -85
  1172. package/dist/cjs/browser-02cbd1d9.js +0 -35
  1173. package/dist/cjs/bs-abb7a3ee.js +0 -54
  1174. package/dist/cjs/ca-2618e485.js +0 -74
  1175. package/dist/cjs/calcite-avatar_2.cjs.entry.js +0 -239
  1176. package/dist/cjs/calcite-input-time-picker-be5ad250.js +0 -1863
  1177. package/dist/cjs/common-61b41813.js +0 -37
  1178. package/dist/cjs/component-9d0efa36.js +0 -33
  1179. package/dist/cjs/conditionalSlot-fe01e316.js +0 -54
  1180. package/dist/cjs/config-6a670c0d.js +0 -41
  1181. package/dist/cjs/cs-9566238a.js +0 -150
  1182. package/dist/cjs/da-86f2f759.js +0 -70
  1183. package/dist/cjs/date-163d7302.js +0 -264
  1184. package/dist/cjs/de-at-90927f4b.js +0 -93
  1185. package/dist/cjs/de-ch-7185b180.js +0 -93
  1186. package/dist/cjs/de-e7327417.js +0 -94
  1187. package/dist/cjs/dom-63b93b3b.js +0 -1212
  1188. package/dist/cjs/downloadUtils-b757205e.js +0 -3163
  1189. package/dist/cjs/el-ee1c6246.js +0 -69
  1190. package/dist/cjs/en-au-c245e1fa.js +0 -69
  1191. package/dist/cjs/en-ca-44552f66.js +0 -68
  1192. package/dist/cjs/en-gb-cf4bdbbf.js +0 -72
  1193. package/dist/cjs/es-e27b3455.js +0 -69
  1194. package/dist/cjs/es-mx-d5455d49.js +0 -68
  1195. package/dist/cjs/et-521fe75e.js +0 -95
  1196. package/dist/cjs/fi-ba5f1240.js +0 -118
  1197. package/dist/cjs/filter-adc5c5aa.js +0 -778
  1198. package/dist/cjs/floating-ui-1ef64f13.js +0 -2362
  1199. package/dist/cjs/focusTrapComponent-1881eaf7.js +0 -1018
  1200. package/dist/cjs/form-4c0bbbe5.js +0 -381
  1201. package/dist/cjs/fr-014e6869.js +0 -71
  1202. package/dist/cjs/fr-ch-9174a431.js +0 -69
  1203. package/dist/cjs/guid-4bc1bc0f.js +0 -26
  1204. package/dist/cjs/he-ac6a1230.js +0 -108
  1205. package/dist/cjs/helpers-1deec961.js +0 -940
  1206. package/dist/cjs/hi-b605b081.js +0 -68
  1207. package/dist/cjs/hr-1f50021e.js +0 -83
  1208. package/dist/cjs/hu-0dbb012b.js +0 -91
  1209. package/dist/cjs/id-be5cad02.js +0 -69
  1210. package/dist/cjs/index-696e53e6.js +0 -1756
  1211. package/dist/cjs/index-a0cca96e.js +0 -201
  1212. package/dist/cjs/index-c0ee2715.js +0 -206
  1213. package/dist/cjs/index.es-6c8b7d64.js +0 -11317
  1214. package/dist/cjs/input-2d5a669d.js +0 -60
  1215. package/dist/cjs/interactive-272b8484.js +0 -169
  1216. package/dist/cjs/it-2d267c40.js +0 -69
  1217. package/dist/cjs/it-ch-7e63ab0d.js +0 -69
  1218. package/dist/cjs/ja-f84367c9.js +0 -75
  1219. package/dist/cjs/key-e4dd32ff.js +0 -19
  1220. package/dist/cjs/ko-3b4ea66e.js +0 -75
  1221. package/dist/cjs/label-afda7da7.js +0 -186
  1222. package/dist/cjs/languageSwitcher-dc2dd354.js +0 -60
  1223. package/dist/cjs/loadable-ef8f0acf.js +0 -98
  1224. package/dist/cjs/locale-428354f0.js +0 -584
  1225. package/dist/cjs/locale-4e7fe921.js +0 -160
  1226. package/dist/cjs/logger-bb2cd9dd.js +0 -61
  1227. package/dist/cjs/lt-52ddc840.js +0 -100
  1228. package/dist/cjs/lv-646b5876.js +0 -69
  1229. package/dist/cjs/math-8677dfd7.js +0 -60
  1230. package/dist/cjs/mk-bfa4f151.js +0 -69
  1231. package/dist/cjs/nb-8d337597.js +0 -70
  1232. package/dist/cjs/nl-da233a0d.js +0 -70
  1233. package/dist/cjs/observers-3440c668.js +0 -58
  1234. package/dist/cjs/openCloseComponent-f9bf524b.js +0 -65
  1235. package/dist/cjs/pl-596b9933.js +0 -117
  1236. package/dist/cjs/popupUtils-2b5ec788.js +0 -121
  1237. package/dist/cjs/pt-bc779aca.js +0 -70
  1238. package/dist/cjs/pt-br-ab04f8b9.js +0 -68
  1239. package/dist/cjs/publicNotificationStore-8d2558c6.js +0 -47
  1240. package/dist/cjs/resources-2f7b1adf.js +0 -23
  1241. package/dist/cjs/resources-361aeee1.js +0 -68
  1242. package/dist/cjs/resources-388b6f7e.js +0 -29
  1243. package/dist/cjs/resources-6ed4d812.js +0 -39
  1244. package/dist/cjs/resources-8556a9ce.js +0 -39
  1245. package/dist/cjs/resources-91cff82d.js +0 -21
  1246. package/dist/cjs/resources-a88c66ba.js +0 -26
  1247. package/dist/cjs/resources-cb7b739c.js +0 -63
  1248. package/dist/cjs/resources-e3034d0f.js +0 -27
  1249. package/dist/cjs/resources-ea500edf.js +0 -23
  1250. package/dist/cjs/restHelpersGet-bf484fda.js +0 -979
  1251. package/dist/cjs/ro-8e73fabd.js +0 -69
  1252. package/dist/cjs/ru-a9cf0c93.js +0 -129
  1253. package/dist/cjs/shared-list-render-8da9f754.js +0 -361
  1254. package/dist/cjs/sk-f23f0865.js +0 -151
  1255. package/dist/cjs/sl-66cee3ca.js +0 -171
  1256. package/dist/cjs/solution-resource-57cf345b.js +0 -1843
  1257. package/dist/cjs/solution-store-71bb46fa.js +0 -1360
  1258. package/dist/cjs/sortableComponent-842b0585.js +0 -2748
  1259. package/dist/cjs/sr-f6958417.js +0 -104
  1260. package/dist/cjs/sv-b6f30578.js +0 -74
  1261. package/dist/cjs/t9n-e5fb720b.js +0 -108
  1262. package/dist/cjs/templates-e4b98319.js +0 -407
  1263. package/dist/cjs/th-7266bbe1.js +0 -68
  1264. package/dist/cjs/time-35e40020.js +0 -301
  1265. package/dist/cjs/tr-0ca37955.js +0 -69
  1266. package/dist/cjs/uk-84db760b.js +0 -107
  1267. package/dist/cjs/utils-3f254442.js +0 -72
  1268. package/dist/cjs/utils-42df996f.js +0 -2304
  1269. package/dist/cjs/utils-b43fe04f.js +0 -130
  1270. package/dist/cjs/vi-c9c7a4bc.js +0 -73
  1271. package/dist/cjs/zh-cn-c1bd1cac.js +0 -97
  1272. package/dist/cjs/zh-hk-80a1b071.js +0 -95
  1273. package/dist/cjs/zh-tw-b1d0baea.js +0 -95
  1274. package/dist/esm/ExpandToggle-0a6958eb.js +0 -108
  1275. package/dist/esm/FloatingArrow-3593832a.js +0 -46
  1276. package/dist/esm/Heading-dcf63f4d.js +0 -22
  1277. package/dist/esm/Validation-8ddc15e3.js +0 -18
  1278. package/dist/esm/app-globals-e3c6f3f0.js +0 -65
  1279. package/dist/esm/ar-ad19e823.js +0 -105
  1280. package/dist/esm/array-5ce54fce.js +0 -15
  1281. package/dist/esm/bg-d39d00d4.js +0 -83
  1282. package/dist/esm/browser-8c71dd57.js +0 -32
  1283. package/dist/esm/bs-5578d068.js +0 -52
  1284. package/dist/esm/ca-50d49800.js +0 -72
  1285. package/dist/esm/calcite-avatar_2.entry.js +0 -234
  1286. package/dist/esm/calcite-input-time-picker-48568b36.js +0 -1860
  1287. package/dist/esm/common-1618d62f.js +0 -35
  1288. package/dist/esm/component-e3f05da5.js +0 -30
  1289. package/dist/esm/conditionalSlot-33053690.js +0 -51
  1290. package/dist/esm/config-6d8fa5c8.js +0 -37
  1291. package/dist/esm/cs-c01bc02b.js +0 -148
  1292. package/dist/esm/da-30f1c62d.js +0 -68
  1293. package/dist/esm/date-1f2a59fd.js +0 -248
  1294. package/dist/esm/de-at-8b651f1b.js +0 -91
  1295. package/dist/esm/de-ch-16f901cb.js +0 -91
  1296. package/dist/esm/de-f3ff49fe.js +0 -92
  1297. package/dist/esm/dom-982585e7.js +0 -1177
  1298. package/dist/esm/downloadUtils-16c51b10.js +0 -3156
  1299. package/dist/esm/el-3cc5361f.js +0 -67
  1300. package/dist/esm/en-au-5e1ae1c6.js +0 -67
  1301. package/dist/esm/en-ca-eca7afe3.js +0 -66
  1302. package/dist/esm/en-gb-d41a41f9.js +0 -70
  1303. package/dist/esm/es-3119bf5f.js +0 -67
  1304. package/dist/esm/es-mx-765f73cd.js +0 -66
  1305. package/dist/esm/et-524d60ab.js +0 -93
  1306. package/dist/esm/fi-103b9c33.js +0 -116
  1307. package/dist/esm/filter-4fc9cd19.js +0 -775
  1308. package/dist/esm/floating-ui-28a86be6.js +0 -2354
  1309. package/dist/esm/focusTrapComponent-2dc61826.js +0 -1013
  1310. package/dist/esm/form-9827fc54.js +0 -372
  1311. package/dist/esm/fr-a0f46db0.js +0 -69
  1312. package/dist/esm/fr-ch-d4198d14.js +0 -67
  1313. package/dist/esm/guid-5c959cfd.js +0 -24
  1314. package/dist/esm/he-88cc49d1.js +0 -106
  1315. package/dist/esm/helpers-2298687e.js +0 -913
  1316. package/dist/esm/hi-3fb3aeaf.js +0 -66
  1317. package/dist/esm/hr-30bc6bf7.js +0 -81
  1318. package/dist/esm/hu-ca65e08b.js +0 -89
  1319. package/dist/esm/id-4c1eee8c.js +0 -67
  1320. package/dist/esm/index-1dc14abf.js +0 -199
  1321. package/dist/esm/index-d8ff08ed.js +0 -204
  1322. package/dist/esm/index-e3f04fa1.js +0 -1722
  1323. package/dist/esm/index.es-d950915a.js +0 -11230
  1324. package/dist/esm/input-bf439d4b.js +0 -58
  1325. package/dist/esm/interactive-1d03c7ff.js +0 -164
  1326. package/dist/esm/it-4cb0e1d5.js +0 -67
  1327. package/dist/esm/it-ch-4de1f33e.js +0 -67
  1328. package/dist/esm/ja-2d531f7b.js +0 -73
  1329. package/dist/esm/key-7f394a98.js +0 -16
  1330. package/dist/esm/ko-1d957d12.js +0 -73
  1331. package/dist/esm/label-38802319.js +0 -179
  1332. package/dist/esm/languageSwitcher-9db90f1e.js +0 -57
  1333. package/dist/esm/loadable-869378d9.js +0 -93
  1334. package/dist/esm/locale-53748f98.js +0 -571
  1335. package/dist/esm/locale-7162b55a.js +0 -155
  1336. package/dist/esm/logger-c6b14fe1.js +0 -59
  1337. package/dist/esm/lt-d09d3afe.js +0 -98
  1338. package/dist/esm/lv-09f370a6.js +0 -67
  1339. package/dist/esm/math-dbb62ccf.js +0 -54
  1340. package/dist/esm/mk-f19a0976.js +0 -67
  1341. package/dist/esm/nb-458b5aed.js +0 -68
  1342. package/dist/esm/nl-f3c1e8a1.js +0 -68
  1343. package/dist/esm/observers-0f4a5f9e.js +0 -56
  1344. package/dist/esm/openCloseComponent-f118bfc5.js +0 -63
  1345. package/dist/esm/pl-f9862e9b.js +0 -115
  1346. package/dist/esm/popupUtils-44f11275.js +0 -119
  1347. package/dist/esm/pt-4e37d6f8.js +0 -68
  1348. package/dist/esm/pt-br-30daca3c.js +0 -66
  1349. package/dist/esm/publicNotificationStore-065c7136.js +0 -45
  1350. package/dist/esm/resources-098ed485.js +0 -62
  1351. package/dist/esm/resources-0bf41f5d.js +0 -20
  1352. package/dist/esm/resources-124c42d1.js +0 -35
  1353. package/dist/esm/resources-27689859.js +0 -21
  1354. package/dist/esm/resources-3bc82696.js +0 -34
  1355. package/dist/esm/resources-84590a8e.js +0 -24
  1356. package/dist/esm/resources-98bf974e.js +0 -59
  1357. package/dist/esm/resources-a4ff051c.js +0 -23
  1358. package/dist/esm/resources-af396281.js +0 -22
  1359. package/dist/esm/resources-cdba986a.js +0 -19
  1360. package/dist/esm/restHelpersGet-0a15c2f4.js +0 -964
  1361. package/dist/esm/ro-a83cfcaa.js +0 -67
  1362. package/dist/esm/ru-bb2c629b.js +0 -127
  1363. package/dist/esm/shared-list-render-d8c49a1f.js +0 -339
  1364. package/dist/esm/sk-4cc2af3f.js +0 -149
  1365. package/dist/esm/sl-0df8c942.js +0 -169
  1366. package/dist/esm/solution-resource-ab63a236.js +0 -1840
  1367. package/dist/esm/solution-store-e2690620.js +0 -1358
  1368. package/dist/esm/sortableComponent-173802fd.js +0 -2745
  1369. package/dist/esm/sr-8d0e01f0.js +0 -102
  1370. package/dist/esm/sv-8971f2c2.js +0 -72
  1371. package/dist/esm/t9n-5371b7ab.js +0 -103
  1372. package/dist/esm/templates-9556eb87.js +0 -401
  1373. package/dist/esm/th-32517448.js +0 -66
  1374. package/dist/esm/time-2996215a.js +0 -286
  1375. package/dist/esm/tr-42c9ac73.js +0 -67
  1376. package/dist/esm/uk-d1b99329.js +0 -105
  1377. package/dist/esm/utils-178e7afe.js +0 -121
  1378. package/dist/esm/utils-67264f4a.js +0 -2274
  1379. package/dist/esm/utils-ac0f19ea.js +0 -60
  1380. package/dist/esm/vi-c6ff5a39.js +0 -71
  1381. package/dist/esm/zh-cn-973d18ea.js +0 -95
  1382. package/dist/esm/zh-hk-6fc51e3d.js +0 -93
  1383. package/dist/esm/zh-tw-4e1d2a6a.js +0 -93
  1384. package/dist/solutions-components/p-00b26aac.js +0 -21
  1385. package/dist/solutions-components/p-016e190c.entry.js +0 -6
  1386. package/dist/solutions-components/p-021da1d4.js +0 -6
  1387. package/dist/solutions-components/p-02c4127b.entry.js +0 -17
  1388. package/dist/solutions-components/p-071a9f50.entry.js +0 -11
  1389. package/dist/solutions-components/p-09ded315.js +0 -6
  1390. package/dist/solutions-components/p-0a877c91.entry.js +0 -11
  1391. package/dist/solutions-components/p-0abc1354.entry.js +0 -6
  1392. package/dist/solutions-components/p-0ae5f8fe.js +0 -11
  1393. package/dist/solutions-components/p-0d654053.entry.js +0 -11
  1394. package/dist/solutions-components/p-0dcb7d0c.js +0 -6
  1395. package/dist/solutions-components/p-0f7b5d36.entry.js +0 -6
  1396. package/dist/solutions-components/p-0fb2abfe.js +0 -6
  1397. package/dist/solutions-components/p-0feb3e7f.js +0 -6
  1398. package/dist/solutions-components/p-11f138bf.entry.js +0 -6
  1399. package/dist/solutions-components/p-122a81b5.js +0 -21
  1400. package/dist/solutions-components/p-1452f846.js +0 -6
  1401. package/dist/solutions-components/p-1628325d.entry.js +0 -17
  1402. package/dist/solutions-components/p-16ae29b6.entry.js +0 -11
  1403. package/dist/solutions-components/p-16d69510.js +0 -16
  1404. package/dist/solutions-components/p-1867168b.entry.js +0 -6
  1405. package/dist/solutions-components/p-1904654e.js +0 -6
  1406. package/dist/solutions-components/p-1931eae1.entry.js +0 -11
  1407. package/dist/solutions-components/p-1a634d43.js +0 -6
  1408. package/dist/solutions-components/p-1b64ce16.js +0 -6
  1409. package/dist/solutions-components/p-1c785e3a.js +0 -6
  1410. package/dist/solutions-components/p-1cae39b3.js +0 -6
  1411. package/dist/solutions-components/p-1d229886.js +0 -16
  1412. package/dist/solutions-components/p-1ddef837.entry.js +0 -12
  1413. package/dist/solutions-components/p-1ee635a2.entry.js +0 -6
  1414. package/dist/solutions-components/p-20c465e9.entry.js +0 -21
  1415. package/dist/solutions-components/p-210588d0.entry.js +0 -6
  1416. package/dist/solutions-components/p-210d75fe.js +0 -18
  1417. package/dist/solutions-components/p-2162a9d3.js +0 -11
  1418. package/dist/solutions-components/p-22d81e03.js +0 -11
  1419. package/dist/solutions-components/p-2327029a.js +0 -11
  1420. package/dist/solutions-components/p-23f5aa20.entry.js +0 -6
  1421. package/dist/solutions-components/p-24b3aedc.entry.js +0 -6
  1422. package/dist/solutions-components/p-24fab352.js +0 -6
  1423. package/dist/solutions-components/p-259ce172.js +0 -6
  1424. package/dist/solutions-components/p-262e91ea.js +0 -11
  1425. package/dist/solutions-components/p-274c182a.entry.js +0 -6
  1426. package/dist/solutions-components/p-29984000.js +0 -6
  1427. package/dist/solutions-components/p-2b21f196.js +0 -6
  1428. package/dist/solutions-components/p-2d01b83d.entry.js +0 -11
  1429. package/dist/solutions-components/p-2e8a428a.entry.js +0 -11
  1430. package/dist/solutions-components/p-2eb8993c.entry.js +0 -11
  1431. package/dist/solutions-components/p-2f08fd73.js +0 -16
  1432. package/dist/solutions-components/p-2f2118a7.entry.js +0 -11
  1433. package/dist/solutions-components/p-2fa78dd8.js +0 -21
  1434. package/dist/solutions-components/p-2fc63144.js +0 -6
  1435. package/dist/solutions-components/p-31f602c0.js +0 -11
  1436. package/dist/solutions-components/p-32ded6e5.entry.js +0 -6
  1437. package/dist/solutions-components/p-33447b6f.js +0 -11
  1438. package/dist/solutions-components/p-3438cbc4.entry.js +0 -6
  1439. package/dist/solutions-components/p-34a9bd5d.entry.js +0 -11
  1440. package/dist/solutions-components/p-36b50b5b.entry.js +0 -12
  1441. package/dist/solutions-components/p-376e8412.js +0 -11
  1442. package/dist/solutions-components/p-38cfa3cd.entry.js +0 -6
  1443. package/dist/solutions-components/p-392c6cec.entry.js +0 -6
  1444. package/dist/solutions-components/p-39ae36e9.js +0 -6
  1445. package/dist/solutions-components/p-3b0859ac.entry.js +0 -6
  1446. package/dist/solutions-components/p-3b4170e9.entry.js +0 -22
  1447. package/dist/solutions-components/p-3cc9861e.entry.js +0 -17
  1448. package/dist/solutions-components/p-3e909ad8.entry.js +0 -11
  1449. package/dist/solutions-components/p-3fcbaab8.js +0 -11
  1450. package/dist/solutions-components/p-407d22c9.entry.js +0 -11
  1451. package/dist/solutions-components/p-4250bde1.js +0 -11
  1452. package/dist/solutions-components/p-425a1dab.entry.js +0 -6
  1453. package/dist/solutions-components/p-440c2d17.js +0 -11
  1454. package/dist/solutions-components/p-44194734.js +0 -6
  1455. package/dist/solutions-components/p-445213cf.entry.js +0 -47
  1456. package/dist/solutions-components/p-482948c4.entry.js +0 -17
  1457. package/dist/solutions-components/p-4848b48f.entry.js +0 -6
  1458. package/dist/solutions-components/p-4a5f0a97.entry.js +0 -17
  1459. package/dist/solutions-components/p-4b03ad1e.js +0 -6
  1460. package/dist/solutions-components/p-4b3cc01f.js +0 -489
  1461. package/dist/solutions-components/p-4d8ac736.entry.js +0 -6
  1462. package/dist/solutions-components/p-57262e5a.js +0 -6
  1463. package/dist/solutions-components/p-5835b3f4.entry.js +0 -11
  1464. package/dist/solutions-components/p-583ecbf6.js +0 -11
  1465. package/dist/solutions-components/p-595ec807.entry.js +0 -11
  1466. package/dist/solutions-components/p-5b818d29.entry.js +0 -6
  1467. package/dist/solutions-components/p-5d201016.entry.js +0 -6
  1468. package/dist/solutions-components/p-5df3d135.js +0 -16
  1469. package/dist/solutions-components/p-5df4b021.entry.js +0 -11
  1470. package/dist/solutions-components/p-60a80c7f.entry.js +0 -29
  1471. package/dist/solutions-components/p-60efb594.entry.js +0 -11
  1472. package/dist/solutions-components/p-618bafec.entry.js +0 -21
  1473. package/dist/solutions-components/p-62050072.js +0 -6
  1474. package/dist/solutions-components/p-62414b49.js +0 -6
  1475. package/dist/solutions-components/p-626b6acd.js +0 -6
  1476. package/dist/solutions-components/p-66daf5ec.entry.js +0 -17
  1477. package/dist/solutions-components/p-680ed47d.js +0 -6
  1478. package/dist/solutions-components/p-681fbb6e.js +0 -6
  1479. package/dist/solutions-components/p-687e9081.entry.js +0 -11
  1480. package/dist/solutions-components/p-69cfa9e6.entry.js +0 -6
  1481. package/dist/solutions-components/p-6a66d5a9.entry.js +0 -6
  1482. package/dist/solutions-components/p-6b0ecd98.entry.js +0 -11
  1483. package/dist/solutions-components/p-6b30ca36.entry.js +0 -6
  1484. package/dist/solutions-components/p-6b64edcd.js +0 -6
  1485. package/dist/solutions-components/p-6c11b89e.js +0 -6
  1486. package/dist/solutions-components/p-6d030079.js +0 -6
  1487. package/dist/solutions-components/p-6d04189c.entry.js +0 -6
  1488. package/dist/solutions-components/p-6de944af.entry.js +0 -6
  1489. package/dist/solutions-components/p-70a52e62.entry.js +0 -11
  1490. package/dist/solutions-components/p-70b4e46f.js +0 -11
  1491. package/dist/solutions-components/p-71a2d5b8.entry.js +0 -6
  1492. package/dist/solutions-components/p-73a1e1b9.js +0 -6
  1493. package/dist/solutions-components/p-73ae4b9b.js +0 -11
  1494. package/dist/solutions-components/p-756a5a7f.entry.js +0 -12
  1495. package/dist/solutions-components/p-762eab84.js +0 -6
  1496. package/dist/solutions-components/p-77548c28.entry.js +0 -11
  1497. package/dist/solutions-components/p-77fa776e.entry.js +0 -11
  1498. package/dist/solutions-components/p-78712b70.entry.js +0 -6
  1499. package/dist/solutions-components/p-78c82389.js +0 -6
  1500. package/dist/solutions-components/p-79fd09fa.js +0 -6
  1501. package/dist/solutions-components/p-7a2f9e5b.entry.js +0 -16
  1502. package/dist/solutions-components/p-7a326ee8.entry.js +0 -11
  1503. package/dist/solutions-components/p-7a64b026.entry.js +0 -17
  1504. package/dist/solutions-components/p-7bdef5f5.entry.js +0 -11
  1505. package/dist/solutions-components/p-7c585a72.js +0 -11
  1506. package/dist/solutions-components/p-7d514d7f.entry.js +0 -6
  1507. package/dist/solutions-components/p-7e7ddb11.js +0 -6
  1508. package/dist/solutions-components/p-7ed62b29.js +0 -6
  1509. package/dist/solutions-components/p-8428237a.entry.js +0 -11
  1510. package/dist/solutions-components/p-84478793.js +0 -11
  1511. package/dist/solutions-components/p-8448b98b.js +0 -17
  1512. package/dist/solutions-components/p-85c25564.entry.js +0 -6
  1513. package/dist/solutions-components/p-86660809.js +0 -6
  1514. package/dist/solutions-components/p-86e6b5b3.entry.js +0 -6
  1515. package/dist/solutions-components/p-88b55caa.entry.js +0 -6
  1516. package/dist/solutions-components/p-8904675a.entry.js +0 -11
  1517. package/dist/solutions-components/p-8a6fa619.entry.js +0 -6
  1518. package/dist/solutions-components/p-8a9257ec.entry.js +0 -11
  1519. package/dist/solutions-components/p-8b922152.js +0 -6
  1520. package/dist/solutions-components/p-8ce3d9f3.entry.js +0 -11
  1521. package/dist/solutions-components/p-8d7479ec.entry.js +0 -6
  1522. package/dist/solutions-components/p-8e8b92b4.entry.js +0 -6
  1523. package/dist/solutions-components/p-8ea95c9f.entry.js +0 -11
  1524. package/dist/solutions-components/p-8f3af937.entry.js +0 -24
  1525. package/dist/solutions-components/p-8fb95f9a.entry.js +0 -17
  1526. package/dist/solutions-components/p-90372205.entry.js +0 -11
  1527. package/dist/solutions-components/p-90d6755b.js +0 -61
  1528. package/dist/solutions-components/p-90dd8aec.js +0 -11
  1529. package/dist/solutions-components/p-913413c3.entry.js +0 -6
  1530. package/dist/solutions-components/p-932f22b5.entry.js +0 -6
  1531. package/dist/solutions-components/p-93a86792.entry.js +0 -11
  1532. package/dist/solutions-components/p-947ef2fa.entry.js +0 -6
  1533. package/dist/solutions-components/p-94b118d5.js +0 -6
  1534. package/dist/solutions-components/p-94f68938.js +0 -6
  1535. package/dist/solutions-components/p-9779be82.js +0 -6
  1536. package/dist/solutions-components/p-988fc332.entry.js +0 -11
  1537. package/dist/solutions-components/p-998933e7.entry.js +0 -6
  1538. package/dist/solutions-components/p-9a2ab5bc.js +0 -11
  1539. package/dist/solutions-components/p-9a46618c.entry.js +0 -6
  1540. package/dist/solutions-components/p-a091bc9a.js +0 -6
  1541. package/dist/solutions-components/p-a22b8cc1.entry.js +0 -6
  1542. package/dist/solutions-components/p-a3544947.entry.js +0 -11
  1543. package/dist/solutions-components/p-a3e66f8e.entry.js +0 -11
  1544. package/dist/solutions-components/p-a432be00.js +0 -6
  1545. package/dist/solutions-components/p-a72fd9b4.js +0 -6
  1546. package/dist/solutions-components/p-a860f365.js +0 -144
  1547. package/dist/solutions-components/p-a8e556aa.js +0 -11
  1548. package/dist/solutions-components/p-a8e6463b.js +0 -22
  1549. package/dist/solutions-components/p-abc9e858.entry.js +0 -6
  1550. package/dist/solutions-components/p-add49b80.entry.js +0 -23
  1551. package/dist/solutions-components/p-af3a9822.js +0 -6
  1552. package/dist/solutions-components/p-b05b7f3e.entry.js +0 -11
  1553. package/dist/solutions-components/p-b0609d19.entry.js +0 -11
  1554. package/dist/solutions-components/p-b06ae708.js +0 -6
  1555. package/dist/solutions-components/p-b19ca04e.entry.js +0 -6
  1556. package/dist/solutions-components/p-b1c71e50.js +0 -11
  1557. package/dist/solutions-components/p-b470a429.js +0 -6
  1558. package/dist/solutions-components/p-b4f06fe2.entry.js +0 -11
  1559. package/dist/solutions-components/p-b850796d.entry.js +0 -6
  1560. package/dist/solutions-components/p-badcaf04.js +0 -50
  1561. package/dist/solutions-components/p-bb3ce613.js +0 -11
  1562. package/dist/solutions-components/p-bebd4646.entry.js +0 -6
  1563. package/dist/solutions-components/p-c2bafa94.entry.js +0 -6
  1564. package/dist/solutions-components/p-c4d3790a.entry.js +0 -6
  1565. package/dist/solutions-components/p-c5897e36.js +0 -11
  1566. package/dist/solutions-components/p-c5d15c91.js +0 -11
  1567. package/dist/solutions-components/p-c5f22510.js +0 -11
  1568. package/dist/solutions-components/p-c6473b38.entry.js +0 -6
  1569. package/dist/solutions-components/p-c6f8bc28.js +0 -6
  1570. package/dist/solutions-components/p-c7c0c863.entry.js +0 -11
  1571. package/dist/solutions-components/p-c8a8591b.entry.js +0 -11
  1572. package/dist/solutions-components/p-c9fc3253.js +0 -6
  1573. package/dist/solutions-components/p-ca42f3d3.js +0 -11
  1574. package/dist/solutions-components/p-cc092b22.entry.js +0 -6
  1575. package/dist/solutions-components/p-ccba7d93.js +0 -6
  1576. package/dist/solutions-components/p-cd4d69c1.js +0 -11
  1577. package/dist/solutions-components/p-ce454f5a.entry.js +0 -11
  1578. package/dist/solutions-components/p-cf754ff5.js +0 -11
  1579. package/dist/solutions-components/p-cfca5772.js +0 -11
  1580. package/dist/solutions-components/p-d0ff7db8.js +0 -6
  1581. package/dist/solutions-components/p-d34e12f4.entry.js +0 -11
  1582. package/dist/solutions-components/p-d4e3e979.js +0 -11
  1583. package/dist/solutions-components/p-d655a7a2.entry.js +0 -6
  1584. package/dist/solutions-components/p-d7868dd4.js +0 -36
  1585. package/dist/solutions-components/p-d7ee860a.js +0 -11
  1586. package/dist/solutions-components/p-d8047d8f.entry.js +0 -6
  1587. package/dist/solutions-components/p-d98d3d33.js +0 -6
  1588. package/dist/solutions-components/p-da2d0073.entry.js +0 -6
  1589. package/dist/solutions-components/p-da9fc69b.entry.js +0 -11
  1590. package/dist/solutions-components/p-dc17b638.entry.js +0 -6
  1591. package/dist/solutions-components/p-dcc35070.js +0 -6
  1592. package/dist/solutions-components/p-e1f30753.entry.js +0 -11
  1593. package/dist/solutions-components/p-e21efd7d.js +0 -11
  1594. package/dist/solutions-components/p-e2f3674f.entry.js +0 -11
  1595. package/dist/solutions-components/p-e4767cc4.entry.js +0 -11
  1596. package/dist/solutions-components/p-e8bd5b44.entry.js +0 -11
  1597. package/dist/solutions-components/p-ec561560.js +0 -12
  1598. package/dist/solutions-components/p-ed95c75e.js +0 -11
  1599. package/dist/solutions-components/p-edd70ba3.entry.js +0 -6
  1600. package/dist/solutions-components/p-ee056d26.js +0 -17
  1601. package/dist/solutions-components/p-ee0a512f.entry.js +0 -6
  1602. package/dist/solutions-components/p-eefcb751.entry.js +0 -6
  1603. package/dist/solutions-components/p-ef6567ae.entry.js +0 -6
  1604. package/dist/solutions-components/p-f012ccbb.js +0 -11
  1605. package/dist/solutions-components/p-f021c564.js +0 -6
  1606. package/dist/solutions-components/p-f12a94e6.entry.js +0 -29
  1607. package/dist/solutions-components/p-f39f661e.entry.js +0 -11
  1608. package/dist/solutions-components/p-f3e54df7.entry.js +0 -6
  1609. package/dist/solutions-components/p-f4c4a2b7.js +0 -7
  1610. package/dist/solutions-components/p-f83c0ef6.js +0 -11
  1611. package/dist/solutions-components/p-fbeba590.entry.js +0 -11
  1612. package/dist/solutions-components/p-fc02896c.entry.js +0 -6
  1613. package/dist/solutions-components/p-fc474b33.js +0 -6
  1614. package/dist/solutions-components/p-fcfbd587.js +0 -6
  1615. package/dist/solutions-components/p-fdf4caad.js +0 -11
  1616. package/dist/solutions-components/p-fe43ec31.entry.js +0 -16
  1617. package/dist/solutions-components/p-ffbecb75.js +0 -6
  1618. /package/dist/cjs/{index-4c1b0d3c.js → index-04255c05.js} +0 -0
  1619. /package/dist/{esm/index-5110a27a.js → components/index7.js} +0 -0
  1620. /package/dist/solutions-components/{p-9fe07c30.js → p-659678f1.js} +0 -0
  1621. /package/dist/solutions-components/{p-74062e42.js → p-fc17754b.js} +0 -0
@@ -0,0 +1,1353 @@
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-da709a10.js');
9
+ const interfaces = require('./interfaces-09c4c40e.js');
10
+ const solutionResource = require('./solution-resource-16c7510c.js');
11
+ const restHelpersGet = require('./restHelpersGet-88ba0e25.js');
12
+
13
+ /*! *****************************************************************************
14
+ Copyright (c) Microsoft Corporation.
15
+
16
+ Permission to use, copy, modify, and/or distribute this software for any
17
+ purpose with or without fee is hereby granted.
18
+
19
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
20
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
21
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
22
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
23
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
24
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
25
+ PERFORMANCE OF THIS SOFTWARE.
26
+ ***************************************************************************** */
27
+
28
+ var __assign = function() {
29
+ __assign = Object.assign || function __assign(t) {
30
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
31
+ s = arguments[i];
32
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
33
+ }
34
+ return t;
35
+ };
36
+ return __assign.apply(this, arguments);
37
+ };
38
+
39
+ /* Copyright (c) 2017 Environmental Systems Research Institute, Inc.
40
+ * Apache-2.0 */
41
+ /**
42
+ * Helper that returns the appropriate portal url for a given request. `requestOptions.portal` is given
43
+ * precedence over `authentication.portal`. If neither `portal` nor `authentication` is present,
44
+ * `www.arcgis.com/sharing/rest` is returned.
45
+ *
46
+ * @param requestOptions - Request options that may have authentication manager
47
+ * @returns Portal url to be used in API requests
48
+ */
49
+ function getPortalUrl(requestOptions) {
50
+ if (requestOptions === void 0) { requestOptions = {}; }
51
+ // use portal in options if specified
52
+ if (requestOptions.portal) {
53
+ return restHelpersGet.cleanUrl(requestOptions.portal);
54
+ }
55
+ // if auth was passed, use that portal
56
+ if (requestOptions.authentication) {
57
+ // the portal url is already scrubbed in the auth package
58
+ return requestOptions.authentication.portal;
59
+ }
60
+ // default to arcgis.com
61
+ return "https://www.arcgis.com/sharing/rest";
62
+ }
63
+
64
+ /* Copyright (c) 2017-2018 Environmental Systems Research Institute, Inc.
65
+ * Apache-2.0 */
66
+ /**
67
+ * Serialize an item and its data into a json format accepted by the Portal API for create and update operations
68
+ *
69
+ * @param item Item to be serialized
70
+ * @returns a formatted json object to be sent to Portal
71
+ */
72
+ function serializeItem(item) {
73
+ // create a clone so we're not messing with the original
74
+ var clone = JSON.parse(JSON.stringify(item));
75
+ // binary data needs POSTed as a `file`
76
+ // JSON object literals should be passed as `text`.
77
+ if (clone.data) {
78
+ (typeof Blob !== "undefined" && item.data instanceof Blob) ||
79
+ // Node.js doesn't implement Blob
80
+ item.data.constructor.name === "ReadStream"
81
+ ? (clone.file = item.data)
82
+ : (clone.text = item.data);
83
+ delete clone.data;
84
+ }
85
+ return clone;
86
+ }
87
+ /**
88
+ * `requestOptions.owner` is given priority, `requestOptions.item.owner` will be checked next. If neither are present, `authentication.getUserName()` will be used instead.
89
+ */
90
+ function determineOwner(requestOptions) {
91
+ if (requestOptions.owner) {
92
+ return Promise.resolve(requestOptions.owner);
93
+ }
94
+ else if (requestOptions.item && requestOptions.item.owner) {
95
+ return Promise.resolve(requestOptions.item.owner);
96
+ }
97
+ else if (requestOptions.authentication &&
98
+ requestOptions.authentication.getUsername) {
99
+ return requestOptions.authentication.getUsername();
100
+ }
101
+ else {
102
+ return Promise.reject(new Error("Could not determine the owner of this item. Pass the `owner`, `item.owner`, or `authentication` option."));
103
+ }
104
+ }
105
+ /**
106
+ * checks if the extent is a valid BBox (2 element array of coordinate pair arrays)
107
+ * @param extent
108
+ * @returns
109
+ */
110
+ function isBBox(extent) {
111
+ return (Array.isArray(extent) &&
112
+ Array.isArray(extent[0]) &&
113
+ Array.isArray(extent[1]));
114
+ }
115
+ /**
116
+ * Given a Bbox, convert it to a string. Some api endpoints expect a string
117
+ *
118
+ * @param {BBox} extent
119
+ * @return {*} {string}
120
+ */
121
+ function bboxToString(extent) {
122
+ return extent.join(",");
123
+ }
124
+
125
+ /* Copyright (c) 2018 Environmental Systems Research Institute, Inc.
126
+ * Apache-2.0 */
127
+ /**
128
+ * ```js
129
+ * import { updateItem } from "@esri/arcgis-rest-portal";
130
+ * //
131
+ * updateItem({
132
+ * item: {
133
+ * id: "3ef",
134
+ * description: "A three hour tour"
135
+ * },
136
+ * authentication
137
+ * })
138
+ * .then(response)
139
+ * ```
140
+ * Update an Item. See the [REST Documentation](https://developers.arcgis.com/rest/users-groups-and-items/update-item.htm) for more information.
141
+ *
142
+ * @param requestOptions - Options for the request.
143
+ * @returns A Promise that updates an item.
144
+ */
145
+ function updateItem$1(requestOptions) {
146
+ return determineOwner(requestOptions).then(function (owner) {
147
+ var url = requestOptions.folderId
148
+ ? getPortalUrl(requestOptions) + "/content/users/" + owner + "/" + requestOptions.folderId + "/items/" + requestOptions.item.id + "/update"
149
+ : getPortalUrl(requestOptions) + "/content/users/" + owner + "/items/" + requestOptions.item.id + "/update";
150
+ // serialize the item into something Portal will accept
151
+ requestOptions.params = __assign(__assign({}, requestOptions.params), serializeItem(requestOptions.item));
152
+ // convert extent, if present, into a string from bbox
153
+ // processParams was previously doing this sort of work,
154
+ // however now we need to let array of arrays through
155
+ // Thus for extents we need to move this logic here
156
+ if (requestOptions.params.extent && isBBox(requestOptions.params.extent)) {
157
+ requestOptions.params.extent = bboxToString(requestOptions.params.extent);
158
+ }
159
+ /* istanbul ignore if */
160
+ if (requestOptions.params.file &&
161
+ requestOptions.params.file.constructor &&
162
+ requestOptions.params.file.constructor.name === 'ReadStream') {
163
+ // dataSize is not an official parameter for the ArcGIS REST API but is needed
164
+ // to encode the ReadStream with an appropriate length. This is to overcome
165
+ // the form-data library bug:
166
+ // https://github.com/form-data/form-data/issues/508
167
+ requestOptions.params.dataSize = requestOptions.dataSize;
168
+ }
169
+ return restHelpersGet.request(url, requestOptions);
170
+ });
171
+ }
172
+ /**
173
+ * ```js
174
+ * import { updateItemResource } from "@esri/arcgis-rest-portal";
175
+ * //
176
+ * updateItemResource({
177
+ * id: '3ef',
178
+ * resource: file,
179
+ * name: 'bigkahuna.jpg',
180
+ * authentication
181
+ * })
182
+ * .then(response)
183
+ * ```
184
+ * 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.
185
+ *
186
+ * @param requestOptions - Options for the request
187
+ * @returns A Promise that updates an item resource.
188
+ */
189
+ function updateItemResource(requestOptions) {
190
+ return determineOwner(requestOptions).then(function (owner) {
191
+ var url = getPortalUrl(requestOptions) + "/content/users/" + owner + "/items/" + requestOptions.id + "/updateResources";
192
+ // mix in user supplied params
193
+ requestOptions.params = __assign({ file: requestOptions.resource, fileName: requestOptions.name, resourcesPrefix: requestOptions.prefix, text: requestOptions.content }, requestOptions.params);
194
+ // only override the access specified previously if 'private' is passed explicitly
195
+ if (typeof requestOptions.private !== "undefined") {
196
+ requestOptions.params.access = requestOptions.private
197
+ ? "private"
198
+ : "inherit";
199
+ }
200
+ return restHelpersGet.request(url, requestOptions);
201
+ });
202
+ }
203
+
204
+ /* Copyright (c) 2018 Environmental Systems Research Institute, Inc.
205
+ * Apache-2.0 */
206
+ /**
207
+ * ```js
208
+ * import { addItemResource } from "@esri/arcgis-rest-portal";
209
+ * //
210
+ * // Add a file resource
211
+ * addItemResource({
212
+ * id: '3ef',
213
+ * resource: file,
214
+ * name: 'bigkahuna.jpg',
215
+ * authentication
216
+ * })
217
+ * .then(response)
218
+ * //
219
+ * // Add a text resource
220
+ * addItemResource({
221
+ * id: '4fg',
222
+ * content: "Text content",
223
+ * name: 'bigkahuna.txt',
224
+ * authentication
225
+ * })
226
+ * .then(response)
227
+ * ```
228
+ * 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.
229
+ *
230
+ * @param requestOptions - Options for the request
231
+ * @returns A Promise to add item resources.
232
+ */
233
+ function addItemResource(requestOptions) {
234
+ return determineOwner(requestOptions).then(function (owner) {
235
+ var url = getPortalUrl(requestOptions) + "/content/users/" + owner + "/items/" + requestOptions.id + "/addResources";
236
+ requestOptions.params = __assign({ file: requestOptions.resource, fileName: requestOptions.name, resourcesPrefix: requestOptions.prefix, text: requestOptions.content, access: requestOptions.private ? "private" : "inherit" }, requestOptions.params);
237
+ return restHelpersGet.request(url, requestOptions);
238
+ });
239
+ }
240
+
241
+ /* Copyright (c) 2018 Environmental Systems Research Institute, Inc.
242
+ * Apache-2.0 */
243
+ /**
244
+ * Remove a resource associated with an item
245
+ *
246
+ * @param requestOptions - Options for the request
247
+ * @returns A Promise that deletes an item resource.
248
+ */
249
+ function removeItemResource(requestOptions) {
250
+ return determineOwner(requestOptions).then(function (owner) {
251
+ var url = getPortalUrl(requestOptions) + "/content/users/" + owner + "/items/" + requestOptions.id + "/removeResources";
252
+ // mix in user supplied params
253
+ requestOptions.params = __assign(__assign({}, requestOptions.params), { resource: requestOptions.resource });
254
+ // only override the deleteAll param specified previously if it is passed explicitly
255
+ if (typeof requestOptions.deleteAll !== "undefined") {
256
+ requestOptions.params.deleteAll = requestOptions.deleteAll;
257
+ }
258
+ return restHelpersGet.request(url, requestOptions);
259
+ });
260
+ }
261
+
262
+ /* Copyright (c) 2018-2019 Environmental Systems Research Institute, Inc.
263
+ * Apache-2.0 */
264
+ /**
265
+ * Returns an array with arrays of the given size.
266
+ *
267
+ * @param arr Array to split
268
+ * @param size Size of every group
269
+ */
270
+ function chunkArray(arr, size) {
271
+ const results = [];
272
+ let index = 0;
273
+ while (index < arr.length) {
274
+ results.push(arr.slice(index, index + size));
275
+ index += size;
276
+ }
277
+ return results;
278
+ }
279
+
280
+ /** @license
281
+ * Copyright 2018 Esri
282
+ *
283
+ * Licensed under the Apache License, Version 2.0 (the "License");
284
+ * you may not use this file except in compliance with the License.
285
+ * You may obtain a copy of the License at
286
+ *
287
+ * http://www.apache.org/licenses/LICENSE-2.0
288
+ *
289
+ * Unless required by applicable law or agreed to in writing, software
290
+ * distributed under the License is distributed on an "AS IS" BASIS,
291
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
292
+ * See the License for the specific language governing permissions and
293
+ * limitations under the License.
294
+ */
295
+ /**
296
+ * Updates an item.
297
+ *
298
+ * @param itemInfo The base info of an item; note that this content will be serialized, which doesn't work
299
+ * for binary content
300
+ * @param authentication Credentials for request
301
+ * @param folderId Item's folder
302
+ * @param additionalParams Updates that are put under the `params` property, which is not serialized
303
+ * @return
304
+ */
305
+ function updateItem(itemInfo, authentication, folderId, additionalParams) {
306
+ return new Promise((resolve, reject) => {
307
+ const updateOptions = {
308
+ item: itemInfo,
309
+ folderId: folderId,
310
+ authentication: authentication,
311
+ params: {
312
+ ...(additionalParams ?? {}),
313
+ },
314
+ };
315
+ updateItem$1(updateOptions).then((response) => (response.success ? resolve(response) : reject(response)), (err) => reject(err));
316
+ });
317
+ }
318
+
319
+ /** @license
320
+ * Copyright 2021 Esri
321
+ *
322
+ * Licensed under the Apache License, Version 2.0 (the "License");
323
+ * you may not use this file except in compliance with the License.
324
+ * You may obtain a copy of the License at
325
+ *
326
+ * http://www.apache.org/licenses/LICENSE-2.0
327
+ *
328
+ * Unless required by applicable law or agreed to in writing, software
329
+ * distributed under the License is distributed on an "AS IS" BASIS,
330
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
331
+ * See the License for the specific language governing permissions and
332
+ * limitations under the License.
333
+ */
334
+ // ------------------------------------------------------------------------------------------------------------------ //
335
+ /**
336
+ * Generates IAssociatedFileCopyResults object.
337
+ *
338
+ * @param fileInfo Info about item that was to be copied
339
+ * @param fetchedFromSource Status of fetching item from source
340
+ * @param copiedToDestination Status of copying item to destination
341
+ * @returns IAssociatedFileCopyResults object
342
+ */
343
+ function createCopyResults(fileInfo, fetchedFromSource, copiedToDestination) {
344
+ return {
345
+ ...fileInfo,
346
+ fetchedFromSource,
347
+ copiedToDestination,
348
+ };
349
+ }
350
+
351
+ /** @license
352
+ * Copyright 2020 Esri
353
+ *
354
+ * Licensed under the Apache License, Version 2.0 (the "License");
355
+ * you may not use this file except in compliance with the License.
356
+ * You may obtain a copy of the License at
357
+ *
358
+ * http://www.apache.org/licenses/LICENSE-2.0
359
+ *
360
+ * Unless required by applicable law or agreed to in writing, software
361
+ * distributed under the License is distributed on an "AS IS" BASIS,
362
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
363
+ * See the License for the specific language governing permissions and
364
+ * limitations under the License.
365
+ */
366
+ /**
367
+ * Extracts an item's resource folder and filename from the filename used to store a copy in a storage item.
368
+ *
369
+ * @param storageResourceFilename Filename used to store the resource, metadata, or thumbnail of an item
370
+ * @param storageVersion Version of the Solution template
371
+ * @returns Folder and filename for storing information in an item, as well as the type (resource, metadata,
372
+ * or thumbnail) of the information; the folder property is only meaningful for the resource type
373
+ * @see generateResourceStorageFilename
374
+ * @see generateMetadataStorageFilename
375
+ * @see generateThumbnailStorageFilename
376
+ * @see convertItemResourceToStorageResource
377
+ */
378
+ function convertStorageResourceToItemResource(storageResourceFilename, storageVersion = 0) {
379
+ const nameParts = storageResourceFilename.split("/");
380
+ let filename = nameParts.pop();
381
+ let folder = "";
382
+ const firstPrefixPart = nameParts.shift(); // undefined if there's no folder
383
+ // Handle special "folders"
384
+ let type = solutionResource.EFileType.Resource;
385
+ if (firstPrefixPart) {
386
+ if (firstPrefixPart.endsWith("_info_thumbnail")) {
387
+ type = solutionResource.EFileType.Thumbnail;
388
+ }
389
+ else if (firstPrefixPart.endsWith("_info_metadata")) {
390
+ type = solutionResource.EFileType.Metadata;
391
+ filename = "metadata.xml";
392
+ }
393
+ else if (firstPrefixPart.endsWith("_info_data")) {
394
+ type = solutionResource.EFileType.Data;
395
+ }
396
+ else if (firstPrefixPart.endsWith("_info_dataz")) {
397
+ filename = filename.replace(/\.zip$/, "");
398
+ type = solutionResource.EFileType.Data;
399
+ // Otherwise, strip off item id
400
+ }
401
+ else if (storageVersion < 1) {
402
+ // Version 0
403
+ const folderStart = firstPrefixPart.indexOf("_");
404
+ if (folderStart > 0) {
405
+ folder = firstPrefixPart.substr(folderStart + 1);
406
+ }
407
+ }
408
+ else {
409
+ // Version ≥ 1
410
+ folder = nameParts.join("/"); // folder is optional, in which case this will be ""
411
+ }
412
+ }
413
+ return { type, folder, filename };
414
+ }
415
+
416
+ /** @license
417
+ * Copyright 2021 Esri
418
+ *
419
+ * Licensed under the Apache License, Version 2.0 (the "License");
420
+ * you may not use this file except in compliance with the License.
421
+ * You may obtain a copy of the License at
422
+ *
423
+ * http://www.apache.org/licenses/LICENSE-2.0
424
+ *
425
+ * Unless required by applicable law or agreed to in writing, software
426
+ * distributed under the License is distributed on an "AS IS" BASIS,
427
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
428
+ * See the License for the specific language governing permissions and
429
+ * limitations under the License.
430
+ */
431
+ // ------------------------------------------------------------------------------------------------------------------ //
432
+ /**
433
+ * Copies a resource into a zipfile.
434
+ *
435
+ * @param file Information about the source and destination of the file such as its URL, folder, filename
436
+ * @param zipInfo Information about a zipfile such as its name and its zip object
437
+ * @returns The result of the copy
438
+ */
439
+ function copyResourceIntoZip(file, zipInfo) {
440
+ // Add it to the zip
441
+ if (file.folder) {
442
+ zipInfo.zip.folder(file.folder).file(file.filename, file.file, { binary: true });
443
+ }
444
+ else {
445
+ zipInfo.zip.file(file.filename, file.file, { binary: true });
446
+ }
447
+ zipInfo.filelist.push(file);
448
+ return createCopyResults(file, true);
449
+ }
450
+
451
+ /** @license
452
+ * Copyright 2021 Esri
453
+ *
454
+ * Licensed under the Apache License, Version 2.0 (the "License");
455
+ * you may not use this file except in compliance with the License.
456
+ * You may obtain a copy of the License at
457
+ *
458
+ * http://www.apache.org/licenses/LICENSE-2.0
459
+ *
460
+ * Unless required by applicable law or agreed to in writing, software
461
+ * distributed under the License is distributed on an "AS IS" BASIS,
462
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
463
+ * See the License for the specific language governing permissions and
464
+ * limitations under the License.
465
+ */
466
+ // ------------------------------------------------------------------------------------------------------------------ //
467
+ /**
468
+ * Copies a zipfile into an AGO item.
469
+ *
470
+ * @param zipInfo Information about a zipfile such as its name and its zip object
471
+ * @param destinationItemId Id of item to receive copy of resource/metadata/thumbnail
472
+ * @param destinationAuthentication Credentials for the request to the storage
473
+ * @returns A promise which resolves to the result of the copy
474
+ */
475
+ function copyZipIntoItem(zipInfo, destinationItemId, destinationAuthentication) {
476
+ return new Promise((resolve) => {
477
+ zipInfo.zip
478
+ .generateAsync({ type: "blob" })
479
+ .then((content) => {
480
+ return restHelpersGet.blobToFile(content, zipInfo.filename, "application/zip");
481
+ })
482
+ .then((zipfile) => {
483
+ const addResourceOptions = {
484
+ id: destinationItemId,
485
+ resource: zipfile,
486
+ authentication: destinationAuthentication,
487
+ params: {
488
+ archive: true,
489
+ },
490
+ };
491
+ return addItemResource(addResourceOptions);
492
+ })
493
+ .then(() => resolve(createCopyResults(zipInfo, true, true)), () => resolve(createCopyResults(zipInfo, true, false)));
494
+ });
495
+ }
496
+
497
+ /** @license
498
+ * Copyright 2021 Esri
499
+ *
500
+ * Licensed under the Apache License, Version 2.0 (the "License");
501
+ * you may not use this file except in compliance with the License.
502
+ * You may obtain a copy of the License at
503
+ *
504
+ * http://www.apache.org/licenses/LICENSE-2.0
505
+ *
506
+ * Unless required by applicable law or agreed to in writing, software
507
+ * distributed under the License is distributed on an "AS IS" BASIS,
508
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
509
+ * See the License for the specific language governing permissions and
510
+ * limitations under the License.
511
+ */
512
+ // ------------------------------------------------------------------------------------------------------------------ //
513
+ /**
514
+ * Copies the files for storing the resources, metadata, and thumbnail of an item or group to a storage item
515
+ * with a specified path by collecting files into zip files.
516
+ *
517
+ * @param files List of item files' URLs and folder/filenames for storing the files
518
+ * @param destinationItemId Id of item to receive copy of resource/metadata/thumbnail
519
+ * @param destinationAuthentication Credentials for the request to the storage
520
+ * @param filesPerZip Number of files to include per zip file; AGO limits zips to 50 files
521
+ * @returns A promise which resolves to a list of the result of the copies
522
+ */
523
+ function copyFilesAsResources(files, destinationItemId, destinationAuthentication, filesPerZip = 40) {
524
+ return new Promise((resolve) => {
525
+ let awaitAllItems = [];
526
+ const zipInfos = [];
527
+ if (files.length > 0) {
528
+ // Bundle the resources into chunked zip updates because AGO tends to have problems with
529
+ // many updates in a row to the same item: it claims success despite randomly failing.
530
+ // Note that AGO imposes a limit of 50 files per zip, so we break the list of resource
531
+ // file info into chunks below this threshold and start a zip for each
532
+ // https://developers.arcgis.com/rest/users-groups-and-items/add-resources.htm
533
+ const chunkedResourceFiles = chunkArray(files, filesPerZip);
534
+ chunkedResourceFiles.forEach((chunk, index) => {
535
+ // Create a zip for this chunk
536
+ const zipInfo = {
537
+ filename: `resources${index}.zip`,
538
+ zip: new solutionResource.JSZip(),
539
+ filelist: [],
540
+ };
541
+ awaitAllItems = awaitAllItems.concat(chunk.map((file) => copyResourceIntoZip(file, zipInfo)));
542
+ zipInfos.push(zipInfo);
543
+ });
544
+ }
545
+ if (awaitAllItems.length > 0) {
546
+ // Wait until the Resource zip file(s) are prepared
547
+ void Promise.all(awaitAllItems).then((results) => {
548
+ // We have three types of results:
549
+ // | fetchedFromSource | copiedToDestination | interpretation | |
550
+ // +-------------------+---------------------+------------------------------------------------+
551
+ // | false | * | could not fetch file from source |
552
+ // | true | true | file has been fetched and sent to AGO |
553
+ // | true | undefined | file has been fetched and will be sent via zip |
554
+ // Filter out copiedToDestination===undefined; we'll get their status when we send their zip
555
+ results = results.filter((result) => !(result.fetchedFromSource && typeof result.copiedToDestination === "undefined"));
556
+ // Now send the resources to AGO
557
+ // eslint-disable-next-line @typescript-eslint/no-floating-promises
558
+ _copyAssociatedFileZips(zipInfos, destinationItemId, destinationAuthentication).then((zipResults) => {
559
+ resolve(results.concat(zipResults));
560
+ });
561
+ });
562
+ }
563
+ else {
564
+ // No data, metadata, or resources to send; we're done
565
+ resolve([]);
566
+ }
567
+ });
568
+ }
569
+ /**
570
+ * Copies one or more zipfiles to a storage item.
571
+ *
572
+ * @param zipInfos List of zip files containing files to store
573
+ * @param destinationItemId Id of item to receive copy of resource/metadata/thumbnail
574
+ * @param destinationAuthentication Credentials for the request to the storage
575
+ * @returns A promise which resolves to a list of the result of the copies
576
+ * @private
577
+ */
578
+ function _copyAssociatedFileZips(zipInfos, destinationItemId, destinationAuthentication) {
579
+ return new Promise((resolve) => {
580
+ const results = [];
581
+ // Filter out empty zips, which can happen when none of the files in the chunk going into a zip
582
+ // can be fetched; e.g., the only file is metadata.xml, and the source item doesn't have metadata
583
+ const nonEmptyZipInfos = zipInfos.filter((zipInfo) => Object.keys(zipInfo.zip.files).length > 0);
584
+ if (nonEmptyZipInfos.length > 0) {
585
+ // Send the zip(s) to AGO
586
+ void _sendZipsSeriallyToItem(nonEmptyZipInfos, destinationItemId, destinationAuthentication).then((zipResults) => {
587
+ resolve(zipResults);
588
+ });
589
+ }
590
+ else {
591
+ // No resources to send; we're done
592
+ resolve(results);
593
+ }
594
+ });
595
+ }
596
+ /**
597
+ * Copies one or more zipfiles to a storage item in a serial fashion, waiting a bit between sends.
598
+ *
599
+ * @param zipInfos List of zip files containing files to store
600
+ * @param destinationItemId Id of item to receive copy of resource/metadata/thumbnail
601
+ * @param destinationAuthentication Credentials for the request to the storage
602
+ * @returns A promise which resolves to a list of the result of the copies
603
+ */
604
+ function _sendZipsSeriallyToItem(zipInfos, destinationItemId, destinationAuthentication) {
605
+ return new Promise((resolve) => {
606
+ let allResults = [];
607
+ // Remove zip from bottom of list
608
+ const zipInfoToSend = zipInfos.pop();
609
+ // Send predecessors in list
610
+ let sendOthersPromise = Promise.resolve([]);
611
+ if (zipInfos.length > 0) {
612
+ sendOthersPromise = _sendZipsSeriallyToItem(zipInfos, destinationItemId, destinationAuthentication);
613
+ }
614
+ void sendOthersPromise
615
+ .then((response) => {
616
+ allResults = response;
617
+ // Stall a little to give AGO time to catch up
618
+ return new Promise((resolveSleep) => {
619
+ setTimeout(() => resolveSleep(), 1000);
620
+ });
621
+ })
622
+ .then(() => {
623
+ // Now send the zip removed from bottom of the input list
624
+ return copyZipIntoItem(zipInfoToSend, destinationItemId, destinationAuthentication);
625
+ })
626
+ .then((zipResult) => {
627
+ // Save the result of copying this zip as a status for each of the files that it contains
628
+ zipResult.filelist.forEach((fileInfo) => {
629
+ allResults.push(createCopyResults(fileInfo, true, zipResult.copiedToDestination));
630
+ });
631
+ resolve(allResults);
632
+ });
633
+ });
634
+ }
635
+
636
+ /** @license
637
+ * Copyright 2018 Esri
638
+ *
639
+ * Licensed under the Apache License, Version 2.0 (the "License");
640
+ * you may not use this file except in compliance with the License.
641
+ * You may obtain a copy of the License at
642
+ *
643
+ * http://www.apache.org/licenses/LICENSE-2.0
644
+ *
645
+ * Unless required by applicable law or agreed to in writing, software
646
+ * distributed under the License is distributed on an "AS IS" BASIS,
647
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
648
+ * See the License for the specific language governing permissions and
649
+ * limitations under the License.
650
+ */
651
+ /**
652
+ * Copies the files for storing the resources, metadata, and thumbnail of an item or group to a storage item
653
+ * with a specified path.
654
+ *
655
+ * @param files List of item files and paths for storing the files
656
+ * @param storageItemId Id of item to receive copy of resource/metadata
657
+ * @param storageAuthentication Credentials for the request to the storage
658
+ * @returns A promise which resolves to a list of the filenames under which the resource/metadata are stored
659
+ */
660
+ function copyFilesToStorageItem(files, storageItemId, storageAuthentication) {
661
+ return new Promise((resolve) => {
662
+ // eslint-disable-next-line @typescript-eslint/no-floating-promises
663
+ void copyFilesAsResources(files, storageItemId, storageAuthentication).then((results) => {
664
+ resolve(results
665
+ // Filter out failures
666
+ .filter((result) => result.fetchedFromSource && result.copiedToDestination)
667
+ // Return folder and filename in storage item's resources
668
+ .map((result) => result.folder + "/" + result.filename));
669
+ });
670
+ });
671
+ }
672
+ /**
673
+ * Generates the URL for reading an item's resource given the filename of the resource.
674
+ *
675
+ * @param sourcePortalSharingUrl Server/sharing
676
+ * @param itemId Id of item
677
+ * @param sourceResourceFilename Either filename or folder/filename to resource
678
+ * @returns URL string
679
+ */
680
+ function generateSourceResourceUrl(sourcePortalSharingUrl, itemId, sourceResourceFilename) {
681
+ return (restHelpersGet.checkUrlPathTermination(sourcePortalSharingUrl) + "content/items/" + itemId + "/resources/" + sourceResourceFilename);
682
+ }
683
+ /**
684
+ * Generates a list of full URLs and folder/filename combinations used to store the resources, metadata,
685
+ * and thumbnail of an item.
686
+ *
687
+ * @param portalSharingUrl Server/sharing
688
+ * @param storageItemId Id of storage item
689
+ * @param resourceFilenames List of resource filenames for an item, e.g., ["file1", "myFolder/file2"]
690
+ * @param storageVersion Version of the Solution template
691
+ * @returns List of item files' URLs and folder/filenames for storing the files
692
+ */
693
+ function generateStorageFilePaths(portalSharingUrl, storageItemId, resourceFilenames = [], storageVersion = 0) {
694
+ return resourceFilenames.map((resourceFilename) => {
695
+ return {
696
+ url: generateSourceResourceUrl(portalSharingUrl, storageItemId, resourceFilename),
697
+ ...convertStorageResourceToItemResource(resourceFilename, storageVersion),
698
+ };
699
+ });
700
+ }
701
+ function isSupportedFileType(filename) {
702
+ // Supported file formats are: .json, .xml, .txt, .png, .pbf, .zip, .jpeg, .jpg, .gif, .bmp, .gz, .svg,
703
+ // .svgz, .geodatabase (https://developers.arcgis.com/rest/users-groups-and-items/add-resources.htm)
704
+ const filenameExtension = filename.match(/\.([a-z]+)$/i);
705
+ const supportedExtensions = "|.json|.xml|.txt|.png|.pbf|.zip|.jpeg|.jpg|.gif|.bmp|.gz|.svg|.svgz|.geodatabase|";
706
+ return !!filenameExtension && supportedExtensions.indexOf("|" + filenameExtension[0] + "|") >= 0;
707
+ }
708
+ /**
709
+ * Gets the thumbnail of an item or group.
710
+ *
711
+ * @param authentication Credentials for the request to the storage
712
+ * @param filePaths List of item files' URLs and folder/filenames for storing the files
713
+ * @returns A promise which resolves to a boolean indicating if the copies were successful
714
+ */
715
+ function getThumbnailFromStorageItem(authentication, filePaths) {
716
+ let thumbnailUrl;
717
+ let thumbnailFilename;
718
+ filePaths.forEach((path) => {
719
+ if (path.type === solutionResource.EFileType.Thumbnail) {
720
+ thumbnailUrl = path.url;
721
+ thumbnailFilename = path.filename;
722
+ }
723
+ });
724
+ if (!thumbnailUrl) {
725
+ return Promise.resolve(null);
726
+ }
727
+ return restHelpersGet.getThumbnailFile(thumbnailUrl, thumbnailFilename, authentication);
728
+ }
729
+ /**
730
+ * Removes the item's resource that matches the filename with new content
731
+ *
732
+ * @param itemId Id of the item to remove
733
+ * @param filename Name of the resource file to remove
734
+ * @param authentication Credentials for the request to the storage
735
+ * @returns A promise which resolves with a success true/false response
736
+ */
737
+ function removeItemResourceFile(itemId, filename, authentication) {
738
+ return removeItemResource({
739
+ id: itemId,
740
+ resource: filename,
741
+ authentication: authentication,
742
+ });
743
+ }
744
+ /**
745
+ * Updates the item's resource that matches the filename with new content
746
+ *
747
+ * @param itemId Id of the item to update
748
+ * @param filename Name of the resource file to update; prefix optional (e.g., a/b/file.txt)
749
+ * @param resource The new content to update the resource with
750
+ * @param authentication Credentials for the request to the storage
751
+ * @returns A promise which resolves with a success true/false response
752
+ */
753
+ function updateItemResourceFile(itemId, filename, resource, authentication) {
754
+ // Prefix has to be specified separately
755
+ const prefixedFilenameParts = filename.split("/");
756
+ const prefix = prefixedFilenameParts.length > 1
757
+ ? prefixedFilenameParts.slice(0, prefixedFilenameParts.length - 1).join("/")
758
+ : undefined;
759
+ const suffix = prefixedFilenameParts[prefixedFilenameParts.length - 1];
760
+ return updateItemResource({
761
+ id: itemId,
762
+ prefix: prefix,
763
+ name: suffix,
764
+ resource,
765
+ authentication: authentication,
766
+ });
767
+ }
768
+
769
+ /** @license
770
+ * Copyright 2022 Esri
771
+ *
772
+ * Licensed under the Apache License, Version 2.0 (the "License");
773
+ * you may not use this file except in compliance with the License.
774
+ * You may obtain a copy of the License at
775
+ *
776
+ * http://www.apache.org/licenses/LICENSE-2.0
777
+ *
778
+ * Unless required by applicable law or agreed to in writing, software
779
+ * distributed under the License is distributed on an "AS IS" BASIS,
780
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
781
+ * See the License for the specific language governing permissions and
782
+ * limitations under the License.
783
+ */
784
+ const EmptySolutionStore = {
785
+ solutionItemId: "",
786
+ defaultWkid: undefined,
787
+ solutionData: { metadata: {}, templates: [] },
788
+ templateEdits: {},
789
+ featureServices: [],
790
+ spatialReferenceInfo: {
791
+ enabled: false,
792
+ services: {}
793
+ }
794
+ };
795
+ class SolutionStore {
796
+ static _instance;
797
+ _store;
798
+ _hasChanges = false;
799
+ _authentication;
800
+ /**
801
+ * Creates singleton instance when accessed; default export from module.
802
+ *
803
+ * @returns Static instance of the class
804
+ */
805
+ static get Store() {
806
+ return this._instance || (this._instance = new this());
807
+ }
808
+ /**
809
+ * Creates an empty store.
810
+ *
811
+ * @protected
812
+ */
813
+ constructor() {
814
+ this._store = index.createStore({
815
+ ...EmptySolutionStore
816
+ });
817
+ }
818
+ /**
819
+ * Returns the stored information of an item.
820
+ *
821
+ * @param itemId Id of item to fetch
822
+ *
823
+ * @returns Item information or `undefined` if not found
824
+ */
825
+ getItemInfo(itemId) {
826
+ const templates = this._store.get("solutionData").templates;
827
+ let template;
828
+ templates.some((t) => {
829
+ if (itemId == t.itemId) {
830
+ template = t;
831
+ return true;
832
+ }
833
+ return false;
834
+ });
835
+ return template;
836
+ }
837
+ /**
838
+ * Returns a top-level store property: solutionItemId, defaultWkid, etc.
839
+ *
840
+ * @param propName Name of property
841
+ *
842
+ * @returns Value of property
843
+ */
844
+ getStoreInfo(propName) {
845
+ return this._store.get(propName);
846
+ }
847
+ /**
848
+ * Loads a Solution into the store from AGO.
849
+ *
850
+ * @param solutionItemId Id of the solution represented in the store
851
+ * @param authentication Credentials for fetching information to be loaded into the store
852
+ *
853
+ * @returns Promise that resolves when task is done
854
+ */
855
+ async loadSolution(solutionItemId, authentication) {
856
+ this._authentication = authentication;
857
+ const solutionData = await restHelpersGet.getItemDataAsJson(solutionItemId, authentication);
858
+ if (solutionData) {
859
+ const defaultWkid = restHelpersGet.getPropWithDefault(solutionData, "params.wkid.default", "");
860
+ await this._prepareSolutionItemsForEditing(solutionItemId, solutionData.templates, authentication);
861
+ const featureServices = this._getFeatureServices(solutionData.templates);
862
+ const spatialReferenceInfo = this._getSpatialReferenceInfo(featureServices, defaultWkid);
863
+ this._store.set("solutionItemId", solutionItemId);
864
+ this._store.set("defaultWkid", defaultWkid);
865
+ this._store.set("solutionData", solutionData);
866
+ this._store.set("featureServices", featureServices);
867
+ this._store.set("spatialReferenceInfo", spatialReferenceInfo);
868
+ }
869
+ this._flagStoreHasChanges(false);
870
+ }
871
+ /**
872
+ * Queues the replacement of the thumbnail associated with a template item in the store.
873
+ *
874
+ * @param itemEdit Details of the template to modify, containing the new thumbnail in the `thumbnail`
875
+ * property
876
+ */
877
+ replaceItemThumbnail(itemEdit) {
878
+ // Flag the current thumbnail and any replacements for removal
879
+ itemEdit.resourceFilePaths.forEach((path) => {
880
+ if (path.type === solutionResource.EFileType.Thumbnail) {
881
+ if (path.updateType === interfaces.EUpdateType.None) {
882
+ // Existing thumbnail not yet flagged for removal
883
+ path.updateType = interfaces.EUpdateType.Remove;
884
+ }
885
+ else if (path.updateType === interfaces.EUpdateType.Add || path.updateType === interfaces.EUpdateType.Update) {
886
+ // An earlier replacement
887
+ path.updateType = interfaces.EUpdateType.Obsolete;
888
+ }
889
+ }
890
+ });
891
+ // Remove any replacements already queued
892
+ itemEdit.resourceFilePaths =
893
+ itemEdit.resourceFilePaths.filter((path) => path.updateType != interfaces.EUpdateType.Obsolete);
894
+ // Add the new thumbnail to the store item
895
+ itemEdit.resourceFilePaths.push({
896
+ blob: itemEdit.thumbnail,
897
+ filename: itemEdit.thumbnail.name,
898
+ type: solutionResource.EFileType.Thumbnail,
899
+ updateType: interfaces.EUpdateType.Add
900
+ });
901
+ // Update the store
902
+ this.setItemInfo(itemEdit);
903
+ }
904
+ /**
905
+ * Writes a Solution into AGO from the store. Must use `loadSolution` to continue with solution.
906
+ *
907
+ * @returns Promise that resolves when task is done
908
+ */
909
+ async saveSolution() {
910
+ // Update the templates in the original solution item data
911
+ const solutionItemId = this._store.get("solutionItemId");
912
+ const solutionData = this._store.get("solutionData");
913
+ const spatialReferenceInfo = this._store.get("spatialReferenceInfo");
914
+ const featureServices = this._store.get("featureServices");
915
+ await this._prepareSolutionItemsForStorage(solutionItemId, solutionData.templates, this._authentication);
916
+ // Update the templates in the solution item data
917
+ this._updateFSSpatialReferenceInfoInTemplates(featureServices, solutionData.templates);
918
+ // Update the solution-level information about the spatial reference parameter
919
+ if (spatialReferenceInfo.enabled) {
920
+ const solutionSpatialReferenceData = {
921
+ "label": "Spatial Reference",
922
+ "valueType": "spatialReference",
923
+ "attributes": {
924
+ "required": true
925
+ }
926
+ };
927
+ if (spatialReferenceInfo.default) {
928
+ solutionSpatialReferenceData.default = spatialReferenceInfo.default;
929
+ }
930
+ restHelpersGet.setCreateProp(solutionData, "params.wkid", solutionSpatialReferenceData);
931
+ }
932
+ else {
933
+ restHelpersGet.setCreateProp(solutionData, "params.wkid", {});
934
+ }
935
+ const itemInfo = {
936
+ id: solutionItemId,
937
+ text: solutionData
938
+ };
939
+ await updateItem(itemInfo, this._authentication);
940
+ }
941
+ /**
942
+ * Stores information for item.
943
+ *
944
+ * @param itemEdit Item information
945
+ */
946
+ setItemInfo(itemEdit) {
947
+ const solutionData = this._store.get("solutionData");
948
+ const templates = solutionData.templates;
949
+ templates.some((t) => {
950
+ if (itemEdit.itemId == t.itemId) {
951
+ t = itemEdit;
952
+ this._store.set("solutionData", solutionData);
953
+ this._flagStoreHasChanges(true);
954
+ return true;
955
+ }
956
+ return false;
957
+ });
958
+ }
959
+ /**
960
+ * Sets a top-level store property: solutionItemId, defaultWkid, etc.
961
+ *
962
+ * @param propName Name of property
963
+ * @param value Value of property
964
+ */
965
+ setStoreInfo(propName, value) {
966
+ this._store.set(propName, value);
967
+ this._flagStoreHasChanges(true);
968
+ }
969
+ //------------------------------------------------------------------------------------------------------------------//
970
+ /** Provides access to protected methods for unit testing.
971
+ *
972
+ * @param methodName Name of protected method to run
973
+ * @param arg1 First argument to forward to method, e.g., for "_prepareSolutionItemsForEditing", `solutionItemId`
974
+ * @param arg2 Second argument to forward to method, e.g., for "_prepareSolutionItemsForEditing", `templates`
975
+ * @param arg3 Third argument to forward to method, e.g., for "_prepareSolutionItemsForEditing", `authentication`
976
+ *
977
+ * @returns
978
+ */
979
+ _testAccess(methodName, arg1, arg2, arg3) {
980
+ switch (methodName) {
981
+ case "_emptyTheStore":
982
+ this._emptyTheStore();
983
+ break;
984
+ case "_getFeatureServices":
985
+ return this._getFeatureServices(arg1);
986
+ case "_getItemsSharedWithThisGroup":
987
+ return this._getItemsSharedWithThisGroup(arg1, arg2);
988
+ case "_getResourceFilePaths":
989
+ return this._getResourceFilePaths(arg1, arg2, arg3);
990
+ case "_getResourceStorageName":
991
+ return this._getResourceStorageName(arg1, arg2);
992
+ case "_getSpatialReferenceInfo":
993
+ return this._getSpatialReferenceInfo(arg1, arg2);
994
+ case "_prepareSolutionItemsForEditing":
995
+ return this._prepareSolutionItemsForEditing(arg1, arg2, arg3);
996
+ case "_prepareSolutionItemsForStorage":
997
+ return this._prepareSolutionItemsForStorage(arg1, arg2, arg3);
998
+ case "_splitFilename":
999
+ return this._splitFilename(arg1);
1000
+ case "_updateFSSpatialReferenceInfoInTemplates":
1001
+ return this._updateFSSpatialReferenceInfoInTemplates(arg1, arg2);
1002
+ }
1003
+ return null;
1004
+ }
1005
+ /**
1006
+ * Returns the store to the empty state.
1007
+ *
1008
+ * @protected
1009
+ */
1010
+ _emptyTheStore() {
1011
+ this._store.set("solutionItemId", EmptySolutionStore.solutionItemId);
1012
+ this._store.set("defaultWkid", EmptySolutionStore.defaultWkid);
1013
+ this._store.set("solutionData", EmptySolutionStore.solutionData);
1014
+ this._store.set("templateEdits", EmptySolutionStore.templateEdits);
1015
+ this._store.set("featureServices", EmptySolutionStore.featureServices);
1016
+ this._store.set("spatialReferenceInfo", EmptySolutionStore.spatialReferenceInfo);
1017
+ }
1018
+ /**
1019
+ * Sets the store's flag indicating if it has changes and dispatches an event when
1020
+ * the flag value changes.
1021
+ *
1022
+ * @param flagHasChanges Current state of change in the store; if it doesn't match the value saved in this
1023
+ * object, an event is dispatched with the new value and the saved value is updated
1024
+ *
1025
+ * @protected
1026
+ */
1027
+ _flagStoreHasChanges(flagHasChanges) {
1028
+ // Event for notifying if the store has changes or not
1029
+ window.dispatchEvent(new CustomEvent("solutionStoreHasChanges", {
1030
+ detail: flagHasChanges,
1031
+ bubbles: true,
1032
+ cancelable: false,
1033
+ composed: true
1034
+ }));
1035
+ this._hasChanges = flagHasChanges;
1036
+ }
1037
+ /**
1038
+ * Gets a list of Feature Services that are not views.
1039
+ *
1040
+ * @param templates A list of item templates from the solution
1041
+ *
1042
+ * @returns a list of feature services
1043
+ *
1044
+ * @protected
1045
+ */
1046
+ _getCustomizableFeatureServices(templates) {
1047
+ return templates.reduce((prev, cur) => {
1048
+ if (cur.type === "Feature Service" && cur.item.typeKeywords.indexOf("View Service") < 0) {
1049
+ prev.push(cur);
1050
+ }
1051
+ return prev;
1052
+ }, []);
1053
+ }
1054
+ /**
1055
+ * Gets a list of Feature Services that are not views along with an enabled property that indicates
1056
+ * if the service currently uses a spatial reference variable.
1057
+ *
1058
+ * @param templates A list of item templates from the solution
1059
+ *
1060
+ * @returns a list of feature service names and an enabled property to indicate
1061
+ * if they currently use a spatial reference variable.
1062
+ *
1063
+ * @protected
1064
+ */
1065
+ _getFeatureServices(templates) {
1066
+ const customizableFeatureServices = this._getCustomizableFeatureServices(templates);
1067
+ return customizableFeatureServices.map((fs) => {
1068
+ const name = fs.item.title || fs.item.name;
1069
+ const wkid = restHelpersGet.getProp(fs, "properties.service.spatialReference.wkid");
1070
+ return {
1071
+ id: fs.itemId,
1072
+ name,
1073
+ enabled: wkid.toString().startsWith(interfaces.CSpatialRefCustomizingPrefix),
1074
+ wkid
1075
+ };
1076
+ });
1077
+ }
1078
+ /**
1079
+ * Capture the key item details for a given group template
1080
+ *
1081
+ * @param template one of the templates from the current solution
1082
+ * @param templates full list of templates
1083
+ *
1084
+ * @returns a list of IItemShare objects
1085
+ *
1086
+ * @protected
1087
+ */
1088
+ _getItemsSharedWithThisGroup(template, templates) {
1089
+ return templates.reduce((prev, cur) => {
1090
+ if (cur.itemId !== template.itemId && cur.type !== "Group") {
1091
+ prev.push({
1092
+ id: cur.itemId,
1093
+ title: cur.item.name || cur.item.title,
1094
+ isShared: (cur.groups || []).indexOf(template.itemId) > -1,
1095
+ shareItem: (cur.groups || []).indexOf(template.itemId) > -1,
1096
+ type: cur.type,
1097
+ typeKeywords: cur.item.typeKeywords
1098
+ });
1099
+ }
1100
+ return prev;
1101
+ }, []);
1102
+ }
1103
+ /**
1104
+ * Generate storage file paths from the solution template
1105
+ *
1106
+ * @param solutionId the id of the current solution
1107
+ * @param template the current template from the solution
1108
+ * @param portal Portal where file is to be found
1109
+ *
1110
+ * @returns a list of resource file infos
1111
+ *
1112
+ * @protected
1113
+ */
1114
+ _getResourceFilePaths(solutionId, template, portal) {
1115
+ const resourceFilePaths = generateStorageFilePaths(portal, solutionId, template.resources, solutionResource.SolutionTemplateFormatVersion);
1116
+ return resourceFilePaths.map((fp) => {
1117
+ fp.updateType = interfaces.EUpdateType.None;
1118
+ return fp;
1119
+ });
1120
+ }
1121
+ /**
1122
+ * Generates a resource name from a storage file path.
1123
+ *
1124
+ * @param templateItemId The id of the template item whose resource this is; used as a prefix in the resource name
1125
+ * @param resourcePath Resource file infos
1126
+ *
1127
+ * @returns The resource name to use when attaching a resource to the item.
1128
+ *
1129
+ * @protected
1130
+ */
1131
+ _getResourceStorageName(templateItemId, resourcePath) {
1132
+ /* Converts
1133
+ {
1134
+ "url": "https://myorg.maps.arcgis.com/sharing/rest/content/items/ca924c6db7d247b9a31fa30532fb5913/resources/79036430a6274e17ae915d0278b8569c_info_metadata/metadata.xml",
1135
+ "type": 2,
1136
+ "folder": "",
1137
+ "filename": "metadata.xml",
1138
+ "updateType": 3
1139
+ }
1140
+ to
1141
+ ca924c6db7d247b9a31fa30532fb5913_info_metadata/metadata.xml
1142
+ */
1143
+ let prefix = templateItemId;
1144
+ switch (resourcePath.type) {
1145
+ case solutionResource.EFileType.Data:
1146
+ prefix = `${prefix}_info_data`;
1147
+ break;
1148
+ case solutionResource.EFileType.Info:
1149
+ prefix = `${prefix}_info`;
1150
+ break;
1151
+ case solutionResource.EFileType.Metadata:
1152
+ prefix = `${prefix}_info_metadata`;
1153
+ break;
1154
+ case solutionResource.EFileType.Resource:
1155
+ break;
1156
+ case solutionResource.EFileType.Thumbnail:
1157
+ prefix = `${prefix}_info_thumbnail`;
1158
+ break;
1159
+ }
1160
+ let filenameToUse = resourcePath.filename;
1161
+ if (resourcePath.type == solutionResource.EFileType.Data && filenameToUse && !isSupportedFileType(filenameToUse)) {
1162
+ filenameToUse = filenameToUse + ".zip";
1163
+ prefix += "z";
1164
+ }
1165
+ const filename = resourcePath.folder ? resourcePath.folder + "/" + filenameToUse : filenameToUse;
1166
+ return prefix + "/" + filename;
1167
+ }
1168
+ /**
1169
+ * Extracts basic spatial reference information that is used to determine if a custom spatial reference parameter will
1170
+ * be exposed while deploying this solution and if so what feature services will support it and what will the default wkid be
1171
+ *
1172
+ * @param services a list of objects with service name and enabled property (indicates if they currently use a spatial reference var)
1173
+ * @param defaultWkid the default wkid
1174
+ *
1175
+ * @returns an object that stores if a custom spatial reference parameter is enabled/disabled,
1176
+ * a list of services and if they are enabled/disabled, and the default wkid
1177
+ *
1178
+ * @protected
1179
+ */
1180
+ _getSpatialReferenceInfo(services, defaultWkid) {
1181
+ const defaultServices = {};
1182
+ services.forEach(service => {
1183
+ defaultServices[service.name] = service.enabled;
1184
+ });
1185
+ const spatialReferenceInfo = {
1186
+ enabled: false,
1187
+ services: defaultServices
1188
+ };
1189
+ if (defaultWkid) {
1190
+ spatialReferenceInfo.default = defaultWkid;
1191
+ }
1192
+ return spatialReferenceInfo;
1193
+ }
1194
+ /**
1195
+ * Create and store template items for the editor.
1196
+ *
1197
+ * @param solutionItemId Id of the solution represented in the store
1198
+ * @param templates A list of item templates from the solution
1199
+ * @param authentication Credentials for fetching information to be loaded into the store
1200
+ *
1201
+ * @returns a promise that resolves when the templates are ready
1202
+ *
1203
+ * @protected
1204
+ */
1205
+ async _prepareSolutionItemsForEditing(solutionItemId, templates, authentication) {
1206
+ const thumbnailPromises = [];
1207
+ // Augment the template with paths to resources and group information, if relevant
1208
+ templates.forEach((t) => {
1209
+ t.resourceFilePaths = this._getResourceFilePaths(solutionItemId, t, authentication.portal);
1210
+ thumbnailPromises.push(t.resourceFilePaths.length > 0 ?
1211
+ getThumbnailFromStorageItem(authentication, t.resourceFilePaths) :
1212
+ Promise.resolve());
1213
+ t.groupDetails = t.type === "Group" ? this._getItemsSharedWithThisGroup(t, templates) : [];
1214
+ });
1215
+ // Augment the template with its thumbnail file
1216
+ const thumbnails = await Promise.all(thumbnailPromises);
1217
+ templates.forEach((t, i) => {
1218
+ t.thumbnail = thumbnails[i] ? thumbnails[i] : undefined;
1219
+ });
1220
+ return Promise.resolve();
1221
+ }
1222
+ /**
1223
+ * Prepares template items for sending to AGO by updating the resources held by the solution item.
1224
+ *
1225
+ * @param solutionItemId Id of the solution represented in the store
1226
+ * @param templates A list of item templates from the solution
1227
+ * @param authentication Credentials for fetching information to be loaded into the store
1228
+ *
1229
+ * @returns a promise that resolves when the templates are ready
1230
+ *
1231
+ * @protected
1232
+ */
1233
+ async _prepareSolutionItemsForStorage(solutionItemId, templates, authentication) {
1234
+ const resourceAdds = [];
1235
+ // Update the resources and remove the augmentation from a template
1236
+ const pendingTasks = [];
1237
+ templates.forEach((t) => {
1238
+ // Run through the resourceFilePaths for the item seeking modifications to be made to the solution item's
1239
+ // collection of resources; queue them for batching
1240
+ // eslint-disable-next-line @typescript-eslint/no-misused-promises
1241
+ t.resourceFilePaths.forEach(async (path) => {
1242
+ const storageName = this._getResourceStorageName(t.itemId, path);
1243
+ switch (path.updateType) {
1244
+ case interfaces.EUpdateType.Add:
1245
+ const { prefix, suffix } = this._splitFilename(storageName);
1246
+ t.resources.push(storageName);
1247
+ resourceAdds.push({
1248
+ itemId: t.itemId,
1249
+ file: path.blob,
1250
+ folder: prefix,
1251
+ filename: suffix
1252
+ });
1253
+ break;
1254
+ case interfaces.EUpdateType.Update:
1255
+ // eslint-disable-next-line @typescript-eslint/no-misused-promises
1256
+ pendingTasks.push(new Promise(async (resolve) => {
1257
+ try {
1258
+ await updateItemResourceFile(solutionItemId, storageName, path.blob, authentication);
1259
+ }
1260
+ catch (err) {
1261
+ console.log("Unable to update " + storageName + " for item " + t.itemId + ": " + JSON.stringify(err));
1262
+ }
1263
+ resolve();
1264
+ }));
1265
+ break;
1266
+ case interfaces.EUpdateType.Remove:
1267
+ // eslint-disable-next-line @typescript-eslint/no-misused-promises
1268
+ pendingTasks.push(new Promise(async (resolve) => {
1269
+ try {
1270
+ await removeItemResourceFile(solutionItemId, storageName, authentication);
1271
+ t.resources = t.resources.filter((path) => path !== storageName);
1272
+ }
1273
+ catch (err) {
1274
+ console.log("Unable to remove " + storageName + " for item " + t.itemId + ": " + JSON.stringify(err));
1275
+ }
1276
+ resolve();
1277
+ }));
1278
+ break;
1279
+ }
1280
+ return Promise.resolve();
1281
+ });
1282
+ delete t.resourceFilePaths;
1283
+ delete t.thumbnail;
1284
+ delete t.groupDetails;
1285
+ });
1286
+ // Update the resources
1287
+ return Promise.all(pendingTasks)
1288
+ .then(async () => {
1289
+ if (resourceAdds.length > 0) {
1290
+ await copyFilesToStorageItem(resourceAdds, solutionItemId, authentication);
1291
+ }
1292
+ return Promise.resolve();
1293
+ });
1294
+ }
1295
+ /**
1296
+ * Stores basic spatial reference information that is used to determine if a custom spatial reference parameter will
1297
+ * be exposed while deploying this solution and if so what feature services will support it and what will the default wkid be
1298
+ *
1299
+ * @param featureServices The configuration settings for a custom spatial reference by feature service
1300
+ * @param templates The templates in the current solution, which will be updated in place if
1301
+ * `spatialReferenceInfo.enabled` is true
1302
+ *
1303
+ * @protected
1304
+ */
1305
+ _updateFSSpatialReferenceInfoInTemplates(featureServices, templates) {
1306
+ const customizableFeatureServices = this._getCustomizableFeatureServices(templates);
1307
+ // Enable or disable this feature in each service
1308
+ customizableFeatureServices.forEach((fsTemplate) => {
1309
+ const fsEnablement = featureServices.find((fs) => fs.id === fsTemplate.itemId);
1310
+ if (fsEnablement) {
1311
+ const spatialReference = restHelpersGet.getPropWithDefault(fsTemplate, "properties.service.spatialReference", {});
1312
+ spatialReference.wkid = fsEnablement.wkid;
1313
+ if (fsEnablement.enabled && spatialReference.latestWkid) {
1314
+ delete spatialReference.latestWkid;
1315
+ }
1316
+ restHelpersGet.setProp(fsTemplate, "properties.service.spatialReference", spatialReference);
1317
+ }
1318
+ });
1319
+ // Copy the updates back into the templates
1320
+ templates.forEach((t) => {
1321
+ const customizedTemplate = customizableFeatureServices.find((fs) => fs.itemId === t.itemId);
1322
+ if (customizedTemplate) {
1323
+ t.properties.service.spatialReference = {
1324
+ ...customizedTemplate.properties.service.spatialReference
1325
+ };
1326
+ const nWkid = Number.parseInt(t.properties.service.spatialReference.wkid);
1327
+ if (!isNaN(nWkid)) {
1328
+ t.properties.service.spatialReference.wkid = nWkid;
1329
+ }
1330
+ }
1331
+ });
1332
+ }
1333
+ /**
1334
+ * Splits a pathed filename into a last term and a prefix; e.g., "a/b/c" returns "c" with a prefix of "a/b".
1335
+ *
1336
+ * @param filename Filename with optional path
1337
+ *
1338
+ * @returns An object consisting of a `prefix` (undefined if `filename` does not contain a path) and a `suffix`--the
1339
+ * filename at the end of a path
1340
+ *
1341
+ * @protected
1342
+ */
1343
+ _splitFilename(filename) {
1344
+ const filenameParts = filename.split("/");
1345
+ return {
1346
+ prefix: filenameParts.length > 1 ? filenameParts.slice(0, filenameParts.length - 1).join("/") : undefined,
1347
+ suffix: filenameParts[filenameParts.length - 1]
1348
+ };
1349
+ }
1350
+ }
1351
+ const state = SolutionStore.Store;
1352
+
1353
+ exports.state = state;