@esri/solutions-components 0.11.17 → 0.11.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (333) hide show
  1. package/dist/cjs/{asyncToGenerator-c7fc3ee4.js → asyncToGenerator-f169429a.js} +1 -1
  2. package/dist/cjs/basemap-gallery_7.cjs.entry.js +50 -259
  3. package/dist/cjs/buffer-tools_2.cjs.entry.js +29 -123
  4. package/dist/cjs/card-manager_3.cjs.entry.js +215 -565
  5. package/dist/cjs/consent-manager.cjs.entry.js +15 -57
  6. package/dist/cjs/create-feature_4.cjs.entry.js +102 -256
  7. package/dist/cjs/create-related-feature_3.cjs.entry.js +38 -172
  8. package/dist/cjs/crowdsource-manager.cjs.entry.js +89 -267
  9. package/dist/cjs/crowdsource-reporter.cjs.entry.js +55 -219
  10. package/dist/cjs/deduct-calculator.cjs.entry.js +1 -1
  11. package/dist/cjs/delete-dialog.cjs.entry.js +9 -38
  12. package/dist/cjs/{downloadUtils-88ec0e88.js → downloadUtils-b269c7a1.js} +5 -5
  13. package/dist/cjs/{effects-3607d1ba.js → effects-2f75069e.js} +1 -1
  14. package/dist/cjs/feature-list.cjs.entry.js +30 -110
  15. package/dist/cjs/{helpers-a65cb83a.js → helpers-69e520bd.js} +3 -3
  16. package/dist/cjs/{index-2c21082d.js → index-af14245a.js} +346 -428
  17. package/dist/cjs/{index-90ef3c01.js → index-ffd12cb0.js} +1 -1
  18. package/dist/cjs/{index.es-3c2404c3.js → index.es-644259ff.js} +2 -2
  19. package/dist/cjs/instant-apps-app-guide.cjs.entry.js +5 -5
  20. package/dist/cjs/instant-apps-ckeditor-wrapper_3.cjs.entry.js +7 -7
  21. package/dist/cjs/instant-apps-control-panel.cjs.entry.js +3 -3
  22. package/dist/cjs/instant-apps-create.cjs.entry.js +5 -5
  23. package/dist/cjs/instant-apps-export-views.cjs.entry.js +5 -5
  24. package/dist/cjs/instant-apps-export.cjs.entry.js +5 -5
  25. package/dist/cjs/instant-apps-filter-list_2.cjs.entry.js +5 -5
  26. package/dist/cjs/instant-apps-header.cjs.entry.js +3 -3
  27. package/dist/cjs/instant-apps-interactive-legend-classic.cjs.entry.js +6 -6
  28. package/dist/cjs/instant-apps-interactive-legend-count_2.cjs.entry.js +6 -6
  29. package/dist/cjs/instant-apps-interactive-legend-group-legend-element-caption.cjs.entry.js +6 -6
  30. package/dist/cjs/instant-apps-interactive-legend-group-legend-element_5.cjs.entry.js +6 -6
  31. package/dist/cjs/instant-apps-interactive-legend.cjs.entry.js +8 -8
  32. package/dist/cjs/instant-apps-keyboard-shortcuts.cjs.entry.js +5 -5
  33. package/dist/cjs/instant-apps-landing-page.cjs.entry.js +1 -1
  34. package/dist/cjs/instant-apps-language-switcher.cjs.entry.js +8 -8
  35. package/dist/cjs/instant-apps-language-translator.cjs.entry.js +8 -8
  36. package/dist/cjs/instant-apps-measurement-tool.cjs.entry.js +3 -3
  37. package/dist/cjs/instant-apps-measurement.cjs.entry.js +5 -5
  38. package/dist/cjs/instant-apps-popover.cjs.entry.js +5 -5
  39. package/dist/cjs/instant-apps-popovers.cjs.entry.js +1 -1
  40. package/dist/cjs/instant-apps-scoreboard.cjs.entry.js +5 -5
  41. package/dist/cjs/instant-apps-sign-in.cjs.entry.js +5 -5
  42. package/dist/cjs/instant-apps-splash.cjs.entry.js +5 -5
  43. package/dist/cjs/instant-apps-time-filter.cjs.entry.js +7 -7
  44. package/dist/cjs/json-editor_7.cjs.entry.js +50 -228
  45. package/dist/cjs/{languageSwitcher-19a22439.js → languageSwitcher-c8e62594.js} +1 -1
  46. package/dist/cjs/{languageUtil-a3e1eafd.js → languageUtil-bd49af69.js} +1 -1
  47. package/dist/cjs/{loadModules-e9d8977c.js → loadModules-3b29fa24.js} +1 -1
  48. package/dist/cjs/loader.cjs.js +2 -2
  49. package/dist/cjs/{locale-c09e93fb.js → locale-905e6063.js} +2 -2
  50. package/dist/cjs/{locale-0a273172.js → locale-c923d7b6.js} +3 -3
  51. package/dist/cjs/map-layer-picker.cjs.entry.js +29 -114
  52. package/dist/cjs/map-select-tools_3.cjs.entry.js +53 -232
  53. package/dist/cjs/{mapViewUtils-319df9ec.js → mapViewUtils-4ea7216c.js} +0 -44
  54. package/dist/cjs/pci-calculator.cjs.entry.js +2 -15
  55. package/dist/cjs/{popupUtils-ca1127aa.js → popupUtils-5378e04a.js} +2 -2
  56. package/dist/cjs/public-notification.cjs.entry.js +47 -197
  57. package/dist/cjs/{publicNotificationStore-ee00411f.js → publicNotificationStore-beb782de.js} +1 -1
  58. package/dist/cjs/solution-configuration.cjs.entry.js +18 -53
  59. package/dist/cjs/solution-contents_3.cjs.entry.js +19 -85
  60. package/dist/cjs/solution-item-accordion.cjs.entry.js +15 -42
  61. package/dist/cjs/solution-item-icon.cjs.entry.js +4 -18
  62. package/dist/cjs/{solution-store-6208ce28.js → solution-store-3cf25b71.js} +1 -1
  63. package/dist/cjs/solutions-components.cjs.js +3 -3
  64. package/dist/cjs/spatial-ref.cjs.entry.js +11 -46
  65. package/dist/cjs/store-manager.cjs.entry.js +6 -21
  66. package/dist/cjs/{utils-30344ce0.js → utils-3739960f.js} +2 -2
  67. package/dist/collection/assets/t9n/crowdsource-manager/resources.json +4 -1
  68. package/dist/collection/assets/t9n/crowdsource-manager/resources_en.json +4 -1
  69. package/dist/collection/assets/t9n/solution-item-accordion/resources.json +1 -1
  70. package/dist/collection/assets/t9n/solution-item-accordion/resources_en.json +1 -1
  71. package/dist/collection/collection-manifest.json +1 -1
  72. package/dist/collection/components/basemap-gallery/basemap-gallery.js +5 -19
  73. package/dist/collection/components/buffer-tools/buffer-tools.js +13 -52
  74. package/dist/collection/components/card-manager/card-manager.js +18 -72
  75. package/dist/collection/components/consent-manager/consent-manager.js +12 -52
  76. package/dist/collection/components/create-feature/create-feature.js +16 -68
  77. package/dist/collection/components/create-related-feature/create-related-feature.js +10 -44
  78. package/dist/collection/components/crowdsource-manager/crowdsource-manager.css +23 -0
  79. package/dist/collection/components/crowdsource-manager/crowdsource-manager.js +88 -263
  80. package/dist/collection/components/crowdsource-reporter/crowdsource-reporter.js +53 -215
  81. package/dist/collection/components/delete-button/delete-button.js +13 -55
  82. package/dist/collection/components/delete-dialog/delete-dialog.js +8 -35
  83. package/dist/collection/components/edit-card/edit-card.js +10 -43
  84. package/dist/collection/components/feature-details/feature-details.js +18 -74
  85. package/dist/collection/components/feature-list/feature-list.js +25 -103
  86. package/dist/collection/components/floor-filter/floor-filter.js +5 -19
  87. package/dist/collection/components/info-card/info-card.js +100 -84
  88. package/dist/collection/components/json-editor/json-editor.js +7 -28
  89. package/dist/collection/components/layer-list/layer-list.js +12 -50
  90. package/dist/collection/components/layer-table/layer-table.js +188 -308
  91. package/dist/collection/components/map-card/map-card.js +43 -182
  92. package/dist/collection/components/map-draw-tools/map-draw-tools.js +15 -66
  93. package/dist/collection/components/map-fullscreen/map-fullscreen.js +4 -18
  94. package/dist/collection/components/map-layer-picker/map-layer-picker.js +25 -108
  95. package/dist/collection/components/map-legend/map-legend.js +4 -15
  96. package/dist/collection/components/map-picker/map-picker.js +8 -35
  97. package/dist/collection/components/map-search/map-search.js +8 -35
  98. package/dist/collection/components/map-select-tools/map-select-tools.js +32 -138
  99. package/dist/collection/components/map-tools/map-tools.js +27 -115
  100. package/dist/collection/components/pci-calculator/pci-calculator.js +3 -14
  101. package/dist/collection/components/pdf-download/pdf-download.js +6 -27
  102. package/dist/collection/components/public-notification/public-notification.js +41 -189
  103. package/dist/collection/components/refine-selection/refine-selection.js +13 -59
  104. package/dist/collection/components/solution-configuration/solution-configuration.js +13 -48
  105. package/dist/collection/components/solution-contents/solution-contents.js +4 -13
  106. package/dist/collection/components/solution-item/solution-item.js +9 -36
  107. package/dist/collection/components/solution-item-accordion/solution-item-accordion.js +19 -40
  108. package/dist/collection/components/solution-item-details/solution-item-details.js +16 -35
  109. package/dist/collection/components/solution-item-icon/solution-item-icon.js +5 -17
  110. package/dist/collection/components/solution-item-sharing/solution-item-sharing.js +6 -27
  111. package/dist/collection/components/solution-organization-variables/solution-organization-variables.js +6 -24
  112. package/dist/collection/components/solution-resource-item/solution-resource-item.js +8 -36
  113. package/dist/collection/components/solution-spatial-ref/solution-spatial-ref.js +7 -31
  114. package/dist/collection/components/solution-template-data/solution-template-data.js +8 -49
  115. package/dist/collection/components/solution-variables/solution-variables.js +6 -24
  116. package/dist/collection/components/spatial-ref/spatial-ref.js +8 -43
  117. package/dist/collection/components/store-manager/store-manager.js +5 -18
  118. package/dist/components/basemap-gallery2.js +3 -19
  119. package/dist/components/buffer-tools2.js +11 -52
  120. package/dist/components/card-manager2.js +16 -72
  121. package/dist/components/consent-manager.js +10 -52
  122. package/dist/components/create-feature2.js +14 -68
  123. package/dist/components/create-related-feature2.js +8 -44
  124. package/dist/components/crowdsource-manager.js +87 -264
  125. package/dist/components/crowdsource-reporter.js +51 -215
  126. package/dist/components/delete-button2.js +11 -55
  127. package/dist/components/delete-dialog2.js +6 -35
  128. package/dist/components/edit-card2.js +8 -43
  129. package/dist/components/feature-details2.js +16 -74
  130. package/dist/components/feature-list2.js +23 -103
  131. package/dist/components/floor-filter2.js +3 -19
  132. package/dist/components/info-card2.js +64 -83
  133. package/dist/components/json-editor2.js +5 -28
  134. package/dist/components/layer-list2.js +10 -50
  135. package/dist/components/layer-table2.js +155 -307
  136. package/dist/components/map-card2.js +41 -182
  137. package/dist/components/map-draw-tools2.js +13 -66
  138. package/dist/components/map-fullscreen2.js +2 -18
  139. package/dist/components/map-layer-picker2.js +23 -108
  140. package/dist/components/map-legend2.js +2 -15
  141. package/dist/components/map-picker2.js +6 -35
  142. package/dist/components/map-search2.js +6 -35
  143. package/dist/components/map-select-tools2.js +31 -139
  144. package/dist/components/map-tools2.js +25 -115
  145. package/dist/components/pci-calculator.js +1 -14
  146. package/dist/components/pdf-download2.js +4 -27
  147. package/dist/components/public-notification.js +39 -189
  148. package/dist/components/queryUtils.js +1 -43
  149. package/dist/components/refine-selection2.js +12 -60
  150. package/dist/components/solution-configuration.js +13 -48
  151. package/dist/components/solution-contents2.js +2 -13
  152. package/dist/components/solution-item-accordion.js +12 -39
  153. package/dist/components/solution-item-details2.js +14 -35
  154. package/dist/components/solution-item-icon2.js +3 -17
  155. package/dist/components/solution-item-sharing2.js +4 -27
  156. package/dist/components/solution-item2.js +7 -36
  157. package/dist/components/solution-organization-variables2.js +4 -24
  158. package/dist/components/solution-resource-item2.js +6 -36
  159. package/dist/components/solution-spatial-ref2.js +5 -31
  160. package/dist/components/solution-template-data2.js +8 -49
  161. package/dist/components/solution-variables2.js +4 -24
  162. package/dist/components/spatial-ref.js +8 -43
  163. package/dist/components/store-manager.js +3 -18
  164. package/dist/esm/{asyncToGenerator-96b2368d.js → asyncToGenerator-e51717ed.js} +1 -1
  165. package/dist/esm/basemap-gallery_7.entry.js +50 -259
  166. package/dist/esm/buffer-tools_2.entry.js +29 -123
  167. package/dist/esm/card-manager_3.entry.js +215 -565
  168. package/dist/esm/consent-manager.entry.js +15 -57
  169. package/dist/esm/create-feature_4.entry.js +102 -256
  170. package/dist/esm/create-related-feature_3.entry.js +38 -172
  171. package/dist/esm/crowdsource-manager.entry.js +89 -267
  172. package/dist/esm/crowdsource-reporter.entry.js +55 -219
  173. package/dist/esm/deduct-calculator.entry.js +1 -1
  174. package/dist/esm/delete-dialog.entry.js +9 -38
  175. package/dist/esm/{downloadUtils-22a8f2d8.js → downloadUtils-d04d4095.js} +5 -5
  176. package/dist/esm/{effects-38bc1195.js → effects-602e7b51.js} +1 -1
  177. package/dist/esm/feature-list.entry.js +30 -110
  178. package/dist/esm/{helpers-77bdd30e.js → helpers-520f100c.js} +3 -3
  179. package/dist/esm/{index-6de7c296.js → index-c247b62b.js} +1 -1
  180. package/dist/esm/{index-3702583a.js → index-df5db8e9.js} +346 -428
  181. package/dist/esm/{index.es-87662946.js → index.es-ca80d0c5.js} +2 -2
  182. package/dist/esm/instant-apps-app-guide.entry.js +5 -5
  183. package/dist/esm/instant-apps-ckeditor-wrapper_3.entry.js +7 -7
  184. package/dist/esm/instant-apps-control-panel.entry.js +3 -3
  185. package/dist/esm/instant-apps-create.entry.js +5 -5
  186. package/dist/esm/instant-apps-export-views.entry.js +5 -5
  187. package/dist/esm/instant-apps-export.entry.js +5 -5
  188. package/dist/esm/instant-apps-filter-list_2.entry.js +5 -5
  189. package/dist/esm/instant-apps-header.entry.js +3 -3
  190. package/dist/esm/instant-apps-interactive-legend-classic.entry.js +6 -6
  191. package/dist/esm/instant-apps-interactive-legend-count_2.entry.js +6 -6
  192. package/dist/esm/instant-apps-interactive-legend-group-legend-element-caption.entry.js +6 -6
  193. package/dist/esm/instant-apps-interactive-legend-group-legend-element_5.entry.js +6 -6
  194. package/dist/esm/instant-apps-interactive-legend.entry.js +8 -8
  195. package/dist/esm/instant-apps-keyboard-shortcuts.entry.js +5 -5
  196. package/dist/esm/instant-apps-landing-page.entry.js +1 -1
  197. package/dist/esm/instant-apps-language-switcher.entry.js +8 -8
  198. package/dist/esm/instant-apps-language-translator.entry.js +8 -8
  199. package/dist/esm/instant-apps-measurement-tool.entry.js +3 -3
  200. package/dist/esm/instant-apps-measurement.entry.js +5 -5
  201. package/dist/esm/instant-apps-popover.entry.js +5 -5
  202. package/dist/esm/instant-apps-popovers.entry.js +1 -1
  203. package/dist/esm/instant-apps-scoreboard.entry.js +5 -5
  204. package/dist/esm/instant-apps-sign-in.entry.js +5 -5
  205. package/dist/esm/instant-apps-splash.entry.js +5 -5
  206. package/dist/esm/instant-apps-time-filter.entry.js +7 -7
  207. package/dist/esm/json-editor_7.entry.js +50 -228
  208. package/dist/esm/{languageSwitcher-49bad3f4.js → languageSwitcher-ccdf79d4.js} +1 -1
  209. package/dist/esm/{languageUtil-2b6e191a.js → languageUtil-2bac3910.js} +1 -1
  210. package/dist/esm/{loadModules-947ccfd4.js → loadModules-1b0b108c.js} +1 -1
  211. package/dist/esm/loader.js +3 -3
  212. package/dist/esm/{locale-aa656a2c.js → locale-15e42305.js} +2 -2
  213. package/dist/esm/{locale-b0016f8e.js → locale-29d08ded.js} +3 -3
  214. package/dist/esm/map-layer-picker.entry.js +29 -114
  215. package/dist/esm/map-select-tools_3.entry.js +53 -232
  216. package/dist/esm/{mapViewUtils-a854e298.js → mapViewUtils-9da9be1c.js} +1 -43
  217. package/dist/esm/pci-calculator.entry.js +2 -15
  218. package/dist/esm/{popupUtils-1314cb13.js → popupUtils-b71abb01.js} +2 -2
  219. package/dist/esm/public-notification.entry.js +47 -197
  220. package/dist/esm/{publicNotificationStore-70219049.js → publicNotificationStore-9ec5e22a.js} +1 -1
  221. package/dist/esm/solution-configuration.entry.js +18 -53
  222. package/dist/esm/solution-contents_3.entry.js +19 -85
  223. package/dist/esm/solution-item-accordion.entry.js +15 -42
  224. package/dist/esm/solution-item-icon.entry.js +4 -18
  225. package/dist/esm/{solution-store-2493275a.js → solution-store-4c39c654.js} +1 -1
  226. package/dist/esm/solutions-components.js +4 -4
  227. package/dist/esm/spatial-ref.entry.js +11 -46
  228. package/dist/esm/store-manager.entry.js +6 -21
  229. package/dist/esm/{utils-68015f9d.js → utils-89be1743.js} +2 -2
  230. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources.json +4 -1
  231. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_en.json +4 -1
  232. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources.json +1 -1
  233. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_en.json +1 -1
  234. package/dist/solutions-components/{p-68d49e1a.entry.js → p-0132213f.entry.js} +2 -2
  235. package/dist/solutions-components/{p-dc188d13.js → p-039ab075.js} +1 -1
  236. package/dist/solutions-components/p-04277d48.entry.js +6 -0
  237. package/dist/solutions-components/p-04546ef6.js +6 -0
  238. package/dist/solutions-components/{p-174fa218.js → p-0607044f.js} +1 -1
  239. package/dist/solutions-components/p-099379e6.entry.js +6 -0
  240. package/dist/solutions-components/{p-300ff31e.entry.js → p-0b1c830a.entry.js} +1 -1
  241. package/dist/solutions-components/{p-ff5db601.entry.js → p-0ea99464.entry.js} +1 -1
  242. package/dist/solutions-components/p-1054e10a.entry.js +6 -0
  243. package/dist/solutions-components/p-1adc6874.entry.js +6 -0
  244. package/dist/solutions-components/{p-3c3aecdd.js → p-258aa58e.js} +1 -1
  245. package/dist/solutions-components/p-29baf8a2.entry.js +6 -0
  246. package/dist/solutions-components/{p-eb97b5ad.entry.js → p-2a1ed83a.entry.js} +1 -1
  247. package/dist/solutions-components/{p-8107be38.entry.js → p-2a7f23fc.entry.js} +1 -1
  248. package/dist/solutions-components/{p-6da8fe2d.entry.js → p-2cb8c175.entry.js} +1 -1
  249. package/dist/solutions-components/p-2d3b8412.entry.js +6 -0
  250. package/dist/solutions-components/p-2d8300ba.entry.js +6 -0
  251. package/dist/solutions-components/{p-ac122d9e.js → p-3423b5ef.js} +1 -1
  252. package/dist/solutions-components/{p-fa09caf3.entry.js → p-34338938.entry.js} +1 -1
  253. package/dist/solutions-components/{p-4f514c6d.js → p-36e3b39c.js} +2 -2
  254. package/dist/solutions-components/{p-ea64b72e.entry.js → p-37cc79c6.entry.js} +1 -1
  255. package/dist/solutions-components/p-38814554.entry.js +6 -0
  256. package/dist/solutions-components/{p-ee863ffb.entry.js → p-3f8b1062.entry.js} +1 -1
  257. package/dist/solutions-components/p-436b869c.entry.js +6 -0
  258. package/dist/solutions-components/{p-08ad0b7a.js → p-438fdc33.js} +1 -1
  259. package/dist/solutions-components/{p-335a630e.entry.js → p-4454af38.entry.js} +1 -1
  260. package/dist/solutions-components/p-532ed572.entry.js +6 -0
  261. package/dist/solutions-components/{p-959cb673.entry.js → p-552fb1c0.entry.js} +1 -1
  262. package/dist/solutions-components/{p-b560498c.entry.js → p-59a1c5a9.entry.js} +1 -1
  263. package/dist/solutions-components/p-5e4e0f84.entry.js +6 -0
  264. package/dist/solutions-components/{p-2b556610.entry.js → p-64a6162f.entry.js} +1 -1
  265. package/dist/solutions-components/{p-e85da876.entry.js → p-6ac03d17.entry.js} +1 -1
  266. package/dist/solutions-components/p-6e879de9.entry.js +6 -0
  267. package/dist/solutions-components/{p-8f7957a2.js → p-7bf7d67b.js} +1 -1
  268. package/dist/solutions-components/{p-81ae30bd.entry.js → p-86b6f918.entry.js} +1 -1
  269. package/dist/solutions-components/{p-e23b4193.js → p-8717729a.js} +1 -1
  270. package/dist/solutions-components/{p-e81e2d83.entry.js → p-8db12ee9.entry.js} +2 -2
  271. package/dist/solutions-components/{p-173d5fce.js → p-8f973b3d.js} +1 -1
  272. package/dist/solutions-components/{p-1ddd7128.entry.js → p-97abbf8f.entry.js} +1 -1
  273. package/dist/solutions-components/{p-ee2cbba0.js → p-a397e773.js} +1 -1
  274. package/dist/solutions-components/p-b636a8b4.entry.js +6 -0
  275. package/dist/solutions-components/{p-1890b884.entry.js → p-b6a6fdcf.entry.js} +2 -2
  276. package/dist/solutions-components/p-b8f29a99.entry.js +6 -0
  277. package/dist/solutions-components/p-ba472e45.entry.js +6 -0
  278. package/dist/solutions-components/{p-1dffcc22.entry.js → p-c3aac15b.entry.js} +1 -1
  279. package/dist/solutions-components/{p-3d20e307.js → p-cd38fc53.js} +1 -1
  280. package/dist/solutions-components/p-d45b0400.entry.js +6 -0
  281. package/dist/solutions-components/p-d885880a.entry.js +6 -0
  282. package/dist/solutions-components/{p-8b218ba7.js → p-da1e098c.js} +1 -1
  283. package/dist/solutions-components/{p-b40b5be5.entry.js → p-da1e4ff1.entry.js} +1 -1
  284. package/dist/solutions-components/p-dbf2c455.entry.js +6 -0
  285. package/dist/solutions-components/{p-952da957.js → p-dcd2f00b.js} +2 -2
  286. package/dist/solutions-components/{p-2c8360b4.entry.js → p-dda0aa41.entry.js} +1 -1
  287. package/dist/solutions-components/{p-70e8be5c.entry.js → p-e3e35c14.entry.js} +1 -1
  288. package/dist/solutions-components/{p-48942eb8.js → p-e6859850.js} +2 -2
  289. package/dist/solutions-components/{p-699a9557.entry.js → p-e79b69e6.entry.js} +1 -1
  290. package/dist/solutions-components/p-e996c38f.js +7 -0
  291. package/dist/solutions-components/{p-f07a02e2.entry.js → p-edfcce2c.entry.js} +1 -1
  292. package/dist/solutions-components/{p-2dcf8f00.entry.js → p-f292f56e.entry.js} +1 -1
  293. package/dist/solutions-components/{p-4bdd4009.entry.js → p-f36b4778.entry.js} +1 -1
  294. package/dist/solutions-components/{p-579628d9.entry.js → p-f457e8be.entry.js} +1 -1
  295. package/dist/solutions-components/{p-d65f8b73.js → p-f93a9d92.js} +1 -1
  296. package/dist/solutions-components/p-f99a78f1.entry.js +6 -0
  297. package/dist/solutions-components/{p-7f6cbe61.entry.js → p-fdf0d66f.entry.js} +1 -1
  298. package/dist/solutions-components/solutions-components.esm.js +1 -1
  299. package/dist/solutions-components_commit.txt +7 -7
  300. package/dist/types/components/crowdsource-manager/crowdsource-manager.d.ts +11 -7
  301. package/dist/types/components/info-card/info-card.d.ts +16 -0
  302. package/dist/types/components/layer-table/layer-table.d.ts +32 -21
  303. package/dist/types/components/solution-item-accordion/solution-item-accordion.d.ts +1 -1
  304. package/dist/types/components.d.ts +19 -2
  305. package/dist/types/preact.d.ts +2 -1
  306. package/package.json +2 -2
  307. package/dist/solutions-components/p-032d4411.entry.js +0 -6
  308. package/dist/solutions-components/p-1b0588d2.js +0 -7
  309. package/dist/solutions-components/p-1fe3577a.entry.js +0 -6
  310. package/dist/solutions-components/p-265f5dc4.entry.js +0 -6
  311. package/dist/solutions-components/p-43d9bb7d.entry.js +0 -6
  312. package/dist/solutions-components/p-4426901e.entry.js +0 -6
  313. package/dist/solutions-components/p-4ebc471b.entry.js +0 -6
  314. package/dist/solutions-components/p-5ea1e18b.entry.js +0 -6
  315. package/dist/solutions-components/p-6d62a4fa.entry.js +0 -6
  316. package/dist/solutions-components/p-70036eb6.entry.js +0 -6
  317. package/dist/solutions-components/p-87919d6d.entry.js +0 -6
  318. package/dist/solutions-components/p-89fbc318.js +0 -6
  319. package/dist/solutions-components/p-8ea0a36a.entry.js +0 -6
  320. package/dist/solutions-components/p-9d953313.entry.js +0 -6
  321. package/dist/solutions-components/p-a003600b.entry.js +0 -6
  322. package/dist/solutions-components/p-acd2699e.entry.js +0 -6
  323. package/dist/solutions-components/p-afc3ac6d.entry.js +0 -6
  324. package/dist/solutions-components/p-b37be371.entry.js +0 -6
  325. package/dist/solutions-components/p-bc2548ba.entry.js +0 -6
  326. package/dist/solutions-components/p-bf2598f8.entry.js +0 -6
  327. package/dist/solutions-components/p-ce8377c6.entry.js +0 -6
  328. /package/dist/cjs/{esri-loader-08dc41bd.js → esri-loader-1e8cc247.js} +0 -0
  329. /package/dist/cjs/{typeof-2a7e2dec.js → typeof-eba0a941.js} +0 -0
  330. /package/dist/esm/{esri-loader-c6842c6b.js → esri-loader-d10d860d.js} +0 -0
  331. /package/dist/esm/{typeof-ef2a007d.js → typeof-a3e780e1.js} +0 -0
  332. /package/dist/solutions-components/{p-4fe489cf.js → p-19bce2cc.js} +0 -0
  333. /package/dist/solutions-components/{p-0a24ad5f.js → p-3b3f77bc.js} +0 -0
@@ -25,6 +25,19 @@ import { queryFeaturesByGeometry } from "../../utils/queryUtils";
25
25
  import state from "../../utils/publicNotificationStore";
26
26
  import { getLocaleComponentStrings } from "../../utils/locale";
27
27
  export class RefineSelection {
28
+ constructor() {
29
+ this.addresseeLayer = undefined;
30
+ this.enabledLayerIds = [];
31
+ this.locale = undefined;
32
+ this.mapView = undefined;
33
+ this.selectionSets = [];
34
+ this.sketchLineSymbol = undefined;
35
+ this.sketchPointSymbol = undefined;
36
+ this.sketchPolygonSymbol = undefined;
37
+ this._translations = undefined;
38
+ this._selectionMode = ESelectionMode.ADD;
39
+ this._refineLayer = undefined;
40
+ }
28
41
  //--------------------------------------------------------------------------
29
42
  //
30
43
  // Host element access
@@ -33,65 +46,6 @@ export class RefineSelection {
33
46
  el;
34
47
  //--------------------------------------------------------------------------
35
48
  //
36
- // Properties (public)
37
- //
38
- //--------------------------------------------------------------------------
39
- /**
40
- * esri/views/layers/FeatureLayerView: https://developers.arcgis.com/javascript/latest/api-reference/esri-views-layers-FeatureLayerView.html
41
- */
42
- addresseeLayer;
43
- /**
44
- * string[]: Optional list of enabled layer ids
45
- * If empty all layers will be available
46
- */
47
- enabledLayerIds = [];
48
- /**
49
- * string: The current user locale.
50
- */
51
- locale;
52
- /**
53
- * esri/views/MapView: https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html
54
- */
55
- mapView;
56
- /**
57
- * utils/interfaces/ISelectionSet: An array of user defined selection sets
58
- */
59
- selectionSets = [];
60
- /**
61
- * esri/symbols/SimpleLineSymbol | JSON representation : https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-SimpleLineSymbol.html
62
- *
63
- */
64
- sketchLineSymbol;
65
- /**
66
- * esri/symbols/SimpleMarkerSymbol | JSON representation: https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-SimpleMarkerSymbol.html
67
- *
68
- */
69
- sketchPointSymbol;
70
- /**
71
- * esri/symbols/SimpleFillSymbol | JSON representation: https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-SimpleFillSymbol.html
72
- *
73
- */
74
- sketchPolygonSymbol;
75
- //--------------------------------------------------------------------------
76
- //
77
- // State (internal)
78
- //
79
- //--------------------------------------------------------------------------
80
- /**
81
- * Contains the translations for this component.
82
- * All UI strings should be defined here.
83
- */
84
- _translations;
85
- /**
86
- * The current selection mode ADD or REMOVE
87
- */
88
- _selectionMode = ESelectionMode.ADD;
89
- /**
90
- * The current layer to refine
91
- */
92
- _refineLayer;
93
- //--------------------------------------------------------------------------
94
- //
95
49
  // Properties (protected)
96
50
  //
97
51
  //--------------------------------------------------------------------------
@@ -30,34 +30,12 @@ export class SolutionConfiguration {
30
30
  //
31
31
  //--------------------------------------------------------------------------
32
32
  el;
33
- //--------------------------------------------------------------------------
34
- //
35
- // Properties (public)
36
- //
37
- //--------------------------------------------------------------------------
38
- /**
39
- * Credentials for requests, which can be a serialized UserSession
40
- */
41
- authentication = new UserSession({});
42
- /**
43
- * string: Locale to use for translation of stings in the UI
44
- */
45
- locale;
46
- serializedAuthentication = "";
47
33
  async serializedAuthenticationWatchHandler() {
48
34
  this.authentication = this.serializedAuthentication ? UserSession.deserialize(this.serializedAuthentication) : new UserSession({});
49
35
  }
50
- /**
51
- * Contains the current solution item id
52
- */
53
- solutionItemId = "";
54
36
  async valueWatchHandler() {
55
37
  await this._loadSolution(this.solutionItemId);
56
38
  }
57
- /**
58
- * Used to show/hide loading indicator
59
- */
60
- showLoading = false;
61
39
  //--------------------------------------------------------------------------
62
40
  //
63
41
  // Watch handlers
@@ -77,6 +55,19 @@ export class SolutionConfiguration {
77
55
  //
78
56
  //--------------------------------------------------------------------------
79
57
  constructor() {
58
+ this.authentication = new UserSession({});
59
+ this.locale = undefined;
60
+ this.serializedAuthentication = "";
61
+ this.solutionItemId = "";
62
+ this.showLoading = false;
63
+ this._currentEditItemId = "";
64
+ this._organizationVariables = "";
65
+ this._solutionContentsComponent = undefined;
66
+ this._solutionIsLoaded = false;
67
+ this._solutionVariables = "";
68
+ this._templateHierarchy = [];
69
+ this._translations = undefined;
70
+ this._treeOpen = true;
80
71
  if (this.serializedAuthentication) {
81
72
  this.authentication = UserSession.deserialize(this.serializedAuthentication);
82
73
  }
@@ -116,32 +107,6 @@ export class SolutionConfiguration {
116
107
  ? h("calcite-tab", { class: "config-tab" }, h("div", { class: "config-solution" }, h("solution-spatial-ref", { enableDefault: !!spatialReferenceInfo.default, enabled: spatialReferenceInfo?.enabled, featureServices: state.getStoreInfo("featureServices").map(fs => fs.name), id: "configure-solution-spatial-ref", key: `${this.solutionItemId}-spatial-ref`, locale: this.locale })))
117
108
  : null)))));
118
109
  }
119
- //--------------------------------------------------------------------------
120
- //
121
- // Properties (protected)
122
- //
123
- //--------------------------------------------------------------------------
124
- /**
125
- * Contains the current item we are working with
126
- */
127
- _currentEditItemId = "";
128
- _organizationVariables = "";
129
- _solutionContentsComponent;
130
- _solutionIsLoaded = false;
131
- _solutionVariables = "";
132
- /**
133
- * Contains the hierarchy of template items for the current solution.
134
- */
135
- _templateHierarchy = [];
136
- /**
137
- * Contains the _translations for this component.
138
- * All UI strings should be defined here.
139
- */
140
- _translations;
141
- /**
142
- * Used to show/hide the content tree
143
- */
144
- _treeOpen = true;
145
110
  _solutionStoreHasChanges = false;
146
111
  _solutionEditorHasChanges = false;
147
112
  _solutionEditorHasErrors = false;
@@ -20,25 +20,16 @@
20
20
  */
21
21
  import { Host, h } from "@stencil/core";
22
22
  export class SolutionContents {
23
+ constructor() {
24
+ this.selectedItemId = undefined;
25
+ this.templateHierarchy = [];
26
+ }
23
27
  //--------------------------------------------------------------------------
24
28
  //
25
29
  // Host element access
26
30
  //
27
31
  //--------------------------------------------------------------------------
28
32
  el;
29
- //--------------------------------------------------------------------------
30
- //
31
- // Properties (public)
32
- //
33
- //--------------------------------------------------------------------------
34
- /**
35
- * Contains the current item that is selected.
36
- */
37
- selectedItemId;
38
- /**
39
- * Contains the public value for this component.
40
- */
41
- templateHierarchy = [];
42
33
  valueWatchHandler(v, oldV) {
43
34
  if (v && v !== oldV && Array.isArray(v) && v.length > 0) {
44
35
  this._treeItemSelected(v[0].id);
@@ -22,41 +22,25 @@ import { h, Host } from "@stencil/core";
22
22
  import state from "../../utils/solution-store";
23
23
  import { getLocaleComponentStrings } from "../../utils/locale";
24
24
  export class SolutionItem {
25
+ constructor() {
26
+ this.authentication = undefined;
27
+ this.itemId = "";
28
+ this.locale = undefined;
29
+ this.solutionVariables = "";
30
+ this.organizationVariables = "";
31
+ this.itemType = undefined;
32
+ this._translations = undefined;
33
+ }
25
34
  //--------------------------------------------------------------------------
26
35
  //
27
36
  // Host element access
28
37
  //
29
38
  //--------------------------------------------------------------------------
30
39
  el;
31
- //--------------------------------------------------------------------------
32
- //
33
- // Properties (public)
34
- //
35
- //--------------------------------------------------------------------------
36
- /**
37
- * Credentials for requests
38
- */
39
- authentication;
40
- /**
41
- * A template's itemId.
42
- */
43
- itemId = "";
44
40
  itemIdWatchHandler() {
45
41
  const itemEdit = state.getItemInfo(this.itemId);
46
42
  this.itemType = itemEdit.type;
47
43
  }
48
- /**
49
- * string: Locale to use for translation of stings in the UI
50
- */
51
- locale;
52
- /**
53
- * Contains the solution based variables
54
- */
55
- solutionVariables = "";
56
- /**
57
- * Contains the organization based variables
58
- */
59
- organizationVariables = "";
60
44
  //--------------------------------------------------------------------------
61
45
  //
62
46
  // Watch handlers
@@ -89,17 +73,6 @@ export class SolutionItem {
89
73
  }
90
74
  //--------------------------------------------------------------------------
91
75
  //
92
- // Properties (protected)
93
- //
94
- //--------------------------------------------------------------------------
95
- itemType;
96
- /**
97
- * Contains the translations for this component.
98
- * All UI strings should be defined here.
99
- */
100
- _translations;
101
- //--------------------------------------------------------------------------
102
- //
103
76
  // Event Listeners
104
77
  //
105
78
  //--------------------------------------------------------------------------
@@ -21,6 +21,13 @@
21
21
  import { Host, h } from "@stencil/core";
22
22
  import { getLocaleComponentStrings } from "../../utils/locale";
23
23
  export class SolutionItemAccordion {
24
+ constructor() {
25
+ this.locale = undefined;
26
+ this.listSelectionMode = "none";
27
+ this.templateInfos = [];
28
+ this._sortedTemplateInfos = [];
29
+ this._translations = undefined;
30
+ }
24
31
  //--------------------------------------------------------------------------
25
32
  //
26
33
  // Host element access
@@ -29,41 +36,6 @@ export class SolutionItemAccordion {
29
36
  el;
30
37
  //--------------------------------------------------------------------------
31
38
  //
32
- // Properties (public)
33
- //
34
- //--------------------------------------------------------------------------
35
- /**
36
- * string: Locale to use for translation of stings in the UI
37
- */
38
- locale;
39
- /**
40
- * Specifies the selection mode of the item-type lists used in the component, where:
41
- * "multiple" allows any number of selections,
42
- * "single" allows only one selection,
43
- * "single-persist" allows one selection and prevents de-selection, and
44
- * "none" does not allow any selections (default)
45
- */
46
- listSelectionMode = "none";
47
- /**
48
- * ITemplateInfo[]: Collection of template infos
49
- */
50
- templateInfos = [];
51
- //--------------------------------------------------------------------------
52
- //
53
- // State (internal)
54
- //
55
- //--------------------------------------------------------------------------
56
- /**
57
- * ITemplateInfo[]: Collection of sorted template infos
58
- */
59
- _sortedTemplateInfos = [];
60
- /**
61
- * Contains the translations for this component.
62
- * All UI strings should be defined here.
63
- */
64
- _translations;
65
- //--------------------------------------------------------------------------
66
- //
67
39
  // Properties (protected)
68
40
  //
69
41
  //--------------------------------------------------------------------------
@@ -126,14 +98,17 @@ export class SolutionItemAccordion {
126
98
  //
127
99
  //--------------------------------------------------------------------------
128
100
  /**
129
- * Deselect all items in the accordion.
101
+ * Deselects all items in the accordion and closes the accordion item containing it.
130
102
  * Only applies when selectionMode is "single" or "single-persist".
131
103
  */
132
104
  async deselectAll() {
133
105
  if (this.listSelectionMode === "single" || this.listSelectionMode === "single-persist") {
134
106
  const items = this.el.shadowRoot.querySelectorAll("calcite-list-item");
135
107
  items.forEach(item => {
136
- item.selected = false;
108
+ if (item.selected) {
109
+ item.selected = false;
110
+ item.parentElement.parentElement.expanded = false;
111
+ }
137
112
  });
138
113
  }
139
114
  }
@@ -178,7 +153,7 @@ export class SolutionItemAccordion {
178
153
  * Renders the component.
179
154
  */
180
155
  render() {
181
- return (h(Host, { key: '7e98d3ed4629f9d0960db3284d389bf7564b6def' }, this._getAccordion()));
156
+ return (h(Host, { key: '23845e68bd1920f17f27b1679df20915230f99c3' }, this._getAccordion()));
182
157
  }
183
158
  //--------------------------------------------------------------------------
184
159
  //
@@ -267,7 +242,7 @@ export class SolutionItemAccordion {
267
242
  this._deselectOthers(templateInfo.id);
268
243
  this.solutionItemSelect.emit({ itemId: templateInfo.id, selected: true });
269
244
  }, onMouseEnter: () => this.solutionItemHover.emit({ itemId: templateInfo.id, entering: true }), onMouseLeave: () => this.solutionItemHover.emit({ itemId: templateInfo.id, entering: false }), value: templateInfo.id }, templateInfo.url
270
- ? h("calcite-action", { icon: "launch", onClick: () => window.open(templateInfo.url, "_blank"), slot: "actions-end", text: this._translations?.openDetails?.replace("{{solutionTitle}}", templateInfo.title) })
245
+ ? h("div", { slot: "actions-end" }, h("calcite-action", { icon: "launch", id: templateInfo.id + "-launch", onClick: () => window.open(templateInfo.url, "_blank"), text: "" }), h("calcite-tooltip", { "overlay-positioning": "fixed", "reference-element": templateInfo.id + "-launch" }, h("span", null, this._translations?.openDetails)))
271
246
  : null));
272
247
  }
273
248
  /**
@@ -522,12 +497,16 @@ export class SolutionItemAccordion {
522
497
  "Promise": {
523
498
  "location": "global",
524
499
  "id": "global::Promise"
500
+ },
501
+ "HTMLCalciteAccordionItemElement": {
502
+ "location": "global",
503
+ "id": "global::HTMLCalciteAccordionItemElement"
525
504
  }
526
505
  },
527
506
  "return": "Promise<void>"
528
507
  },
529
508
  "docs": {
530
- "text": "Deselect all items in the accordion.\r\nOnly applies when selectionMode is \"single\" or \"single-persist\".",
509
+ "text": "Deselects all items in the accordion and closes the accordion item containing it.\r\nOnly applies when selectionMode is \"single\" or \"single-persist\".",
531
510
  "tags": []
532
511
  }
533
512
  },
@@ -22,6 +22,22 @@ import { h, Host } from "@stencil/core";
22
22
  import state from "../../utils/solution-store";
23
23
  import { getLocaleComponentStrings } from "../../utils/locale";
24
24
  export class SolutionItemDetails {
25
+ constructor() {
26
+ this.itemId = "";
27
+ this.locale = undefined;
28
+ this.itemDetails = {
29
+ accessInformation: "",
30
+ description: "",
31
+ licenseInfo: "",
32
+ snippet: "",
33
+ tags: [],
34
+ title: ""
35
+ };
36
+ this.itemEdit = undefined;
37
+ this._translations = undefined;
38
+ this.thumbnail = undefined;
39
+ this.thumbnailContainer = undefined;
40
+ }
25
41
  //--------------------------------------------------------------------------
26
42
  //
27
43
  // Host element access
@@ -30,19 +46,6 @@ export class SolutionItemDetails {
30
46
  el;
31
47
  //--------------------------------------------------------------------------
32
48
  //
33
- // Properties (public)
34
- //
35
- //--------------------------------------------------------------------------
36
- /**
37
- * A template's itemId.
38
- */
39
- itemId = "";
40
- /**
41
- * string: Locale to use for translation of stings in the UI
42
- */
43
- locale;
44
- //--------------------------------------------------------------------------
45
- //
46
49
  // Watch handlers
47
50
  //
48
51
  //--------------------------------------------------------------------------
@@ -91,33 +94,11 @@ export class SolutionItemDetails {
91
94
  * Handle to the element for browsing for a file.
92
95
  */
93
96
  browseForThumbnail;
94
- itemDetails = {
95
- accessInformation: "",
96
- description: "",
97
- licenseInfo: "",
98
- snippet: "",
99
- tags: [],
100
- title: ""
101
- };
102
- itemEdit;
103
97
  itemType;
104
- /**
105
- * Contains the translations for this component.
106
- * All UI strings should be defined here.
107
- */
108
- _translations;
109
98
  /**
110
99
  * Handle to the snippet character-count feedback.
111
100
  */
112
101
  itemSnippetCount;
113
- /**
114
- * Handle to the thumbnail image display.
115
- */
116
- thumbnail;
117
- /**
118
- * Handle to the thumbnail image container.
119
- */
120
- thumbnailContainer;
121
102
  //--------------------------------------------------------------------------
122
103
  //
123
104
  // Event Listeners
@@ -20,6 +20,11 @@
20
20
  */
21
21
  import { getAssetPath, h } from "@stencil/core";
22
22
  export class SolutionItemIcon {
23
+ constructor() {
24
+ this.isPortal = false;
25
+ this.type = "";
26
+ this.typeKeywords = [];
27
+ }
23
28
  //--------------------------------------------------------------------------
24
29
  //
25
30
  // Host element access
@@ -28,23 +33,6 @@ export class SolutionItemIcon {
28
33
  el;
29
34
  //--------------------------------------------------------------------------
30
35
  //
31
- // Properties (public)
32
- //
33
- //--------------------------------------------------------------------------
34
- /**
35
- * Indicate if this is portal
36
- */
37
- isPortal = false;
38
- /**
39
- * The type for the item
40
- */
41
- type = "";
42
- /**
43
- * The typeKeywords for the item
44
- */
45
- typeKeywords = [];
46
- //--------------------------------------------------------------------------
47
- //
48
36
  // Lifecycle
49
37
  //
50
38
  //--------------------------------------------------------------------------
@@ -22,6 +22,12 @@ import { h, Host } from "@stencil/core";
22
22
  import state from "../../utils/solution-store";
23
23
  import { getLocaleComponentStrings } from "../../utils/locale";
24
24
  export class SolutionItemSharing {
25
+ constructor() {
26
+ this.groupId = "";
27
+ this.locale = undefined;
28
+ this._translations = undefined;
29
+ this.sharing = [];
30
+ }
25
31
  //--------------------------------------------------------------------------
26
32
  //
27
33
  // Host element access
@@ -30,19 +36,6 @@ export class SolutionItemSharing {
30
36
  el;
31
37
  //--------------------------------------------------------------------------
32
38
  //
33
- // Properties (public)
34
- //
35
- //--------------------------------------------------------------------------
36
- /**
37
- * A template's groupId.
38
- */
39
- groupId = "";
40
- /**
41
- * string: Locale to use for translation of stings in the UI
42
- */
43
- locale;
44
- //--------------------------------------------------------------------------
45
- //
46
39
  // Watch handlers
47
40
  //
48
41
  //--------------------------------------------------------------------------
@@ -77,20 +70,6 @@ export class SolutionItemSharing {
77
70
  }
78
71
  //--------------------------------------------------------------------------
79
72
  //
80
- // Properties (protected)
81
- //
82
- //--------------------------------------------------------------------------
83
- /**
84
- * Contains the translations for this component.
85
- * All UI strings should be defined here.
86
- */
87
- _translations;
88
- /**
89
- * Contains the public sharing for this component.
90
- */
91
- sharing = [];
92
- //--------------------------------------------------------------------------
93
- //
94
73
  // Event Listeners
95
74
  //
96
75
  //--------------------------------------------------------------------------
@@ -21,6 +21,12 @@
21
21
  import { Host, h } from "@stencil/core";
22
22
  import { getLocaleComponentStrings } from "../../utils/locale";
23
23
  export class SolutionOrganizationVariables {
24
+ constructor() {
25
+ this.locale = undefined;
26
+ this.value = "";
27
+ this._organizationVariables = [];
28
+ this._translations = undefined;
29
+ }
24
30
  //--------------------------------------------------------------------------
25
31
  //
26
32
  // Host element access
@@ -29,19 +35,6 @@ export class SolutionOrganizationVariables {
29
35
  el;
30
36
  //--------------------------------------------------------------------------
31
37
  //
32
- // Properties (public)
33
- //
34
- //--------------------------------------------------------------------------
35
- /**
36
- * string: Locale to use for translation of stings in the UI
37
- */
38
- locale;
39
- /**
40
- * Contains the public value for this component.
41
- */
42
- value = "";
43
- //--------------------------------------------------------------------------
44
- //
45
38
  // Watch handlers
46
39
  //
47
40
  //--------------------------------------------------------------------------
@@ -75,17 +68,6 @@ export class SolutionOrganizationVariables {
75
68
  }
76
69
  //--------------------------------------------------------------------------
77
70
  //
78
- // Properties (protected)
79
- //
80
- //--------------------------------------------------------------------------
81
- _organizationVariables = [];
82
- /**
83
- * Contains the translations for this component.
84
- * All UI strings should be defined here.
85
- */
86
- _translations;
87
- //--------------------------------------------------------------------------
88
- //
89
71
  // Event Listeners
90
72
  //
91
73
  //--------------------------------------------------------------------------
@@ -24,6 +24,14 @@ import { EFileType } from "@esri/solution-common";
24
24
  import state from "../../utils/solution-store";
25
25
  import { getLocaleComponentStrings } from "../../utils/locale";
26
26
  export class SolutionResourceItem {
27
+ constructor() {
28
+ this.authentication = undefined;
29
+ this.itemId = "";
30
+ this.locale = undefined;
31
+ this.resourceFilePaths = [];
32
+ this.resources = [];
33
+ this._translations = undefined;
34
+ }
27
35
  //--------------------------------------------------------------------------
28
36
  //
29
37
  // Host element access
@@ -32,24 +40,6 @@ export class SolutionResourceItem {
32
40
  el;
33
41
  //--------------------------------------------------------------------------
34
42
  //
35
- // Properties (public)
36
- //
37
- //--------------------------------------------------------------------------
38
- /**
39
- * Credentials for requests
40
- */
41
- authentication;
42
- /**
43
- * A template's itemId.
44
- * This is used to get the correct model from a store in the json-editor
45
- */
46
- itemId = "";
47
- /**
48
- * string: Locale to use for translation of stings in the UI
49
- */
50
- locale;
51
- //--------------------------------------------------------------------------
52
- //
53
43
  // Watch handlers
54
44
  //
55
45
  //--------------------------------------------------------------------------
@@ -87,24 +77,6 @@ export class SolutionResourceItem {
87
77
  const hasValidResources = this._hasValidResources();
88
78
  return (h(Host, { key: '13f2759a882d2eca48bf9dda58e74caade76142b' }, h("div", { key: '498ced2e29b8af9138a8aa9d77ec78e07e3c64de', class: "resource-item" }, h("div", { key: 'd76a967373a990906a67d88ea6466030c41401ff', class: "margin-bottom-1" }, h("calcite-button", { key: '96cd2ee08adadef9e1b29db12c38d4748b0689c0', appearance: "solid", class: "resource-button", color: "blue", onClick: () => this._addNewResource() }, this._translations.addResource), h("calcite-button", { key: '49326139cad065995512d3e3568c7d8e7f5cef4f', appearance: "solid", color: "blue", disabled: !hasValidResources, onClick: () => this._downloadAll() }, this._translations.downloadAll)), h("div", { key: '9c056d9ab7242ea10cbcf57eaabce4bd9777541e', class: "resources-container", style: { display: hasValidResources ? "inherit" : "none" } }, this._renderResourceList()))));
89
79
  }
90
- //--------------------------------------------------------------------------
91
- //
92
- // Properties (protected)
93
- //
94
- //--------------------------------------------------------------------------
95
- /**
96
- * The templates resourceFilePaths.
97
- */
98
- resourceFilePaths = [];
99
- /**
100
- * The templates resources.
101
- */
102
- resources = [];
103
- /**
104
- * Contains the translations for this component.
105
- * All UI strings should be defined here.
106
- */
107
- _translations;
108
80
  _removedResources = {};
109
81
  //--------------------------------------------------------------------------
110
82
  //