@esri/solutions-components 0.10.23 → 0.10.25

Sign up to get free protection for your applications and to get access to all the features.
Files changed (471) hide show
  1. package/dist/cjs/{calcite-accordion-item.cjs.entry.js → calcite-accordion_2.cjs.entry.js} +83 -1
  2. package/dist/cjs/calcite-action-pad_2.cjs.entry.js +2 -2
  3. package/dist/cjs/calcite-alert_5.cjs.entry.js +2 -2
  4. package/dist/cjs/calcite-block_5.cjs.entry.js +5 -7
  5. package/dist/cjs/{calcite-carousel.cjs.entry.js → calcite-carousel_2.cjs.entry.js} +52 -18
  6. package/dist/cjs/calcite-shell-panel_14.cjs.entry.js +6 -6
  7. package/dist/cjs/{calcite-tree_3.cjs.entry.js → calcite-tree_2.cjs.entry.js} +0 -317
  8. package/dist/cjs/card-manager_3.cjs.entry.js +4 -4
  9. package/dist/cjs/{downloadUtils-470f6a27.js → downloadUtils-17f08e5e.js} +235 -160
  10. package/dist/cjs/feature-list.cjs.entry.js +2 -2
  11. package/dist/cjs/{index.es-6387d8fb.js → index.es-2518dd41.js} +36 -47
  12. package/dist/cjs/instant-apps-app-guide.cjs.entry.js +106 -0
  13. package/dist/cjs/instant-apps-ckeditor-wrapper_3.cjs.entry.js +3 -3
  14. package/dist/cjs/instant-apps-control-panel.cjs.entry.js +1 -1
  15. package/dist/cjs/instant-apps-export-views.cjs.entry.js +1 -1
  16. package/dist/cjs/instant-apps-export.cjs.entry.js +1 -1
  17. package/dist/cjs/instant-apps-header.cjs.entry.js +1 -1
  18. package/dist/cjs/instant-apps-interactive-legend-classic.cjs.entry.js +8 -3
  19. package/dist/cjs/instant-apps-interactive-legend-count_2.cjs.entry.js +1 -1
  20. package/dist/cjs/instant-apps-interactive-legend-group-legend-element-caption.cjs.entry.js +2 -2
  21. package/dist/cjs/instant-apps-interactive-legend-group-legend-element_5.cjs.entry.js +7 -7
  22. package/dist/cjs/instant-apps-keyboard-shortcuts.cjs.entry.js +1 -1
  23. package/dist/cjs/instant-apps-landing-page.cjs.entry.js +1 -1
  24. package/dist/cjs/instant-apps-language-switcher.cjs.entry.js +3 -3
  25. package/dist/cjs/instant-apps-language-translator.cjs.entry.js +34 -14
  26. package/dist/cjs/instant-apps-measurement.cjs.entry.js +1 -1
  27. package/dist/cjs/instant-apps-popover.cjs.entry.js +1 -1
  28. package/dist/cjs/instant-apps-scoreboard.cjs.entry.js +1 -1
  29. package/dist/cjs/instant-apps-sign-in.cjs.entry.js +1 -1
  30. package/dist/cjs/instant-apps-splash.cjs.entry.js +1 -1
  31. package/dist/cjs/instant-apps-time-filter.cjs.entry.js +59 -29
  32. package/dist/cjs/loader.cjs.js +1 -1
  33. package/dist/cjs/map-select-tools_3.cjs.entry.js +1 -1
  34. package/dist/cjs/{popupUtils-c38f840d.js → popupUtils-24306e6b.js} +1 -1
  35. package/dist/cjs/public-notification.cjs.entry.js +1 -1
  36. package/dist/cjs/solution-contents_3.cjs.entry.js +1 -1
  37. package/dist/cjs/solution-item-accordion.cjs.entry.js +233 -0
  38. package/dist/cjs/solution-item-icon.cjs.entry.js +328 -0
  39. package/dist/cjs/solutions-components.cjs.js +1 -1
  40. package/dist/cjs/spatial-ref.cjs.entry.js +1 -1
  41. package/dist/cjs/{utils-9343bd5b.js → utils-62072741.js} +23 -0
  42. package/dist/collection/assets/t9n/solution-item-accordion/resources.json +3 -0
  43. package/dist/collection/assets/t9n/solution-item-accordion/resources_en.json +3 -0
  44. package/dist/collection/collection-manifest.json +2 -0
  45. package/dist/collection/components/layer-table/layer-table.js +3 -3
  46. package/dist/collection/components/solution-item-accordion/solution-item-accordion.css +23 -0
  47. package/dist/collection/components/solution-item-accordion/solution-item-accordion.js +287 -0
  48. package/dist/collection/components/solution-item-details/solution-item-details.js +1 -1
  49. package/dist/collection/components/solution-item-icon/solution-item-icon.js +1 -1
  50. package/dist/collection/components/solution-item-sharing/solution-item-sharing.js +1 -1
  51. package/dist/collection/components/solution-organization-variables/solution-organization-variables.js +1 -1
  52. package/dist/collection/components/solution-resource-item/solution-resource-item.js +1 -1
  53. package/dist/collection/components/solution-spatial-ref/solution-spatial-ref.js +1 -1
  54. package/dist/collection/components/solution-template-data/solution-template-data.js +1 -1
  55. package/dist/collection/components/solution-variables/solution-variables.js +1 -1
  56. package/dist/collection/components/spatial-ref/spatial-ref.js +1 -1
  57. package/dist/collection/demos/solution-item-accordion.html +345 -0
  58. package/dist/collection/utils/interfaces.ts +11 -0
  59. package/dist/{esm/calcite-accordion-item.entry.js → components/accordion-item.js} +47 -16
  60. package/dist/{esm/calcite-accordion.entry.js → components/accordion.js} +36 -10
  61. package/dist/components/calcite-accordion-item.js +1 -222
  62. package/dist/components/calcite-accordion.js +1 -110
  63. package/dist/components/calcite-carousel-item.js +1 -54
  64. package/dist/components/calcite-carousel.js +1 -517
  65. package/dist/{esm/calcite-carousel-item.entry.js → components/carousel-item.js} +28 -9
  66. package/dist/{esm/calcite-carousel.entry.js → components/carousel.js} +76 -19
  67. package/dist/components/downloadUtils.js +234 -159
  68. package/dist/components/index.es.js +35 -46
  69. package/dist/components/instant-apps-app-guide.js +184 -0
  70. package/dist/components/instant-apps-ckeditor-wrapper2.js +1 -1
  71. package/dist/components/instant-apps-control-panel.js +1 -1
  72. package/dist/components/instant-apps-export-views.js +1 -1
  73. package/dist/components/instant-apps-export.js +1 -1
  74. package/dist/components/instant-apps-filter-list2.js +3 -5
  75. package/dist/components/instant-apps-header2.js +1 -1
  76. package/dist/components/instant-apps-interactive-legend-classic2.js +8 -3
  77. package/dist/components/instant-apps-interactive-legend-group-legend-element-caption.js +2 -2
  78. package/dist/components/instant-apps-interactive-legend-group-legend-element2.js +2 -2
  79. package/dist/components/instant-apps-interactive-legend-layer-element-caption2.js +1 -1
  80. package/dist/components/instant-apps-interactive-legend-layer-element2.js +2 -2
  81. package/dist/components/instant-apps-interactive-legend-legend-element2.js +1 -1
  82. package/dist/components/instant-apps-interactive-legend-relationship2.js +2 -2
  83. package/dist/components/instant-apps-keyboard-shortcuts.js +1 -1
  84. package/dist/components/instant-apps-landing-page.js +1 -1
  85. package/dist/components/instant-apps-language-switcher.js +3 -3
  86. package/dist/components/instant-apps-language-translator-item2.js +1 -1
  87. package/dist/components/instant-apps-language-translator-search2.js +1 -1
  88. package/dist/components/instant-apps-language-translator2.js +33 -13
  89. package/dist/components/instant-apps-measurement-tool2.js +2 -2
  90. package/dist/components/instant-apps-measurement.js +1 -1
  91. package/dist/components/instant-apps-popover.js +1 -1
  92. package/dist/components/instant-apps-scoreboard.js +1 -1
  93. package/dist/components/instant-apps-sign-in2.js +1 -1
  94. package/dist/components/instant-apps-social-share2.js +2 -2
  95. package/dist/components/instant-apps-splash.js +1 -1
  96. package/dist/components/instant-apps-time-filter.js +59 -29
  97. package/dist/components/layer-table2.js +3 -3
  98. package/dist/components/solution-item-accordion.d.ts +11 -0
  99. package/dist/components/solution-item-accordion.js +336 -0
  100. package/dist/components/solution-item-details2.js +1 -1
  101. package/dist/components/solution-item-icon2.js +1 -1
  102. package/dist/components/solution-item-sharing2.js +1 -1
  103. package/dist/components/solution-organization-variables2.js +1 -1
  104. package/dist/components/solution-resource-item2.js +1 -1
  105. package/dist/components/solution-spatial-ref2.js +1 -1
  106. package/dist/components/solution-template-data2.js +1 -1
  107. package/dist/components/solution-variables2.js +1 -1
  108. package/dist/components/spatial-ref.js +1 -1
  109. package/dist/components/utils4.js +22 -1
  110. package/dist/esm/{ExpandToggle-b5147279.js → ExpandToggle-076b4360.js} +1 -1
  111. package/dist/esm/{ar-e0e64e78.js → ar-3e3c0d14.js} +8 -8
  112. package/dist/esm/{bg-d2d8dbe0.js → bg-a872736b.js} +8 -8
  113. package/dist/esm/{bs-d883901d.js → bs-fe545c28.js} +8 -8
  114. package/dist/esm/buffer-tools_3.entry.js +1 -1
  115. package/dist/esm/{ca-064729ad.js → ca-8a2abdaa.js} +8 -8
  116. package/dist/esm/calcite-accordion_2.entry.js +279 -0
  117. package/dist/esm/calcite-action-bar.entry.js +4 -4
  118. package/dist/esm/calcite-action-group.entry.js +3 -3
  119. package/dist/esm/calcite-action-menu_2.entry.js +3 -3
  120. package/dist/esm/calcite-action-pad_2.entry.js +6 -6
  121. package/dist/esm/calcite-action_2.entry.js +6 -6
  122. package/dist/esm/calcite-alert_5.entry.js +6 -6
  123. package/dist/esm/calcite-avatar.entry.js +1 -1
  124. package/dist/esm/calcite-block-section.entry.js +3 -3
  125. package/dist/esm/calcite-block_5.entry.js +14 -16
  126. package/dist/esm/calcite-button.entry.js +5 -5
  127. package/dist/esm/calcite-card-group.entry.js +1 -1
  128. package/dist/esm/calcite-card.entry.js +3 -3
  129. package/dist/esm/calcite-carousel_2.entry.js +500 -0
  130. package/dist/esm/calcite-checkbox.entry.js +3 -3
  131. package/dist/esm/calcite-chip-group.entry.js +1 -1
  132. package/dist/esm/calcite-chip_2.entry.js +4 -4
  133. package/dist/esm/calcite-color-picker-hex-input_2.entry.js +1 -1
  134. package/dist/esm/calcite-color-picker.entry.js +3 -3
  135. package/dist/esm/calcite-combobox-item-group.entry.js +2 -2
  136. package/dist/esm/calcite-combobox_3.entry.js +8 -8
  137. package/dist/esm/calcite-date-picker-day_3.entry.js +3 -3
  138. package/dist/esm/calcite-dialog.entry.js +5 -5
  139. package/dist/esm/calcite-dropdown_2.entry.js +3 -3
  140. package/dist/esm/calcite-fab.entry.js +1 -1
  141. package/dist/esm/calcite-filter_5.entry.js +3 -3
  142. package/dist/esm/calcite-graph_2.entry.js +4 -4
  143. package/dist/esm/calcite-icon_2.entry.js +2 -2
  144. package/dist/esm/calcite-inline-editable.entry.js +4 -4
  145. package/dist/esm/calcite-input-number.entry.js +5 -5
  146. package/dist/esm/calcite-input-text.entry.js +5 -5
  147. package/dist/esm/{calcite-input-time-picker-66e7a9f3.js → calcite-input-time-picker-2fbabd28.js} +56 -56
  148. package/dist/esm/calcite-input-time-picker.entry.js +8 -8
  149. package/dist/esm/calcite-input-time-zone.entry.js +5 -5
  150. package/dist/esm/calcite-input_2.entry.js +5 -5
  151. package/dist/esm/calcite-label.entry.js +2 -2
  152. package/dist/esm/calcite-link.entry.js +1 -1
  153. package/dist/esm/calcite-menu-item.entry.js +3 -3
  154. package/dist/esm/calcite-menu.entry.js +3 -3
  155. package/dist/esm/calcite-meter.entry.js +3 -3
  156. package/dist/esm/calcite-modal_3.entry.js +5 -5
  157. package/dist/esm/calcite-navigation.entry.js +1 -1
  158. package/dist/esm/calcite-notice.entry.js +4 -4
  159. package/dist/esm/calcite-option_2.entry.js +3 -3
  160. package/dist/esm/calcite-pagination.entry.js +3 -3
  161. package/dist/esm/calcite-pick-list-group.entry.js +1 -1
  162. package/dist/esm/calcite-pick-list-item.entry.js +3 -3
  163. package/dist/esm/calcite-pick-list.entry.js +2 -2
  164. package/dist/esm/calcite-radio-button-group.entry.js +1 -1
  165. package/dist/esm/calcite-radio-button.entry.js +3 -3
  166. package/dist/esm/calcite-rating.entry.js +5 -5
  167. package/dist/esm/calcite-scrim.entry.js +3 -3
  168. package/dist/esm/calcite-segmented-control_2.entry.js +3 -3
  169. package/dist/esm/calcite-sheet.entry.js +3 -3
  170. package/dist/esm/calcite-shell-center-row.entry.js +1 -1
  171. package/dist/esm/calcite-shell-panel_14.entry.js +10 -10
  172. package/dist/esm/calcite-sortable-list.entry.js +1 -1
  173. package/dist/esm/calcite-stepper-item.entry.js +3 -3
  174. package/dist/esm/calcite-stepper.entry.js +3 -3
  175. package/dist/esm/calcite-switch.entry.js +3 -3
  176. package/dist/esm/calcite-table-cell_2.entry.js +3 -3
  177. package/dist/esm/calcite-table-row.entry.js +1 -1
  178. package/dist/esm/calcite-table.entry.js +3 -3
  179. package/dist/esm/calcite-text-area.entry.js +5 -5
  180. package/dist/esm/calcite-tile-group.entry.js +1 -1
  181. package/dist/esm/calcite-tile.entry.js +1 -1
  182. package/dist/esm/calcite-time-picker.entry.js +4 -4
  183. package/dist/esm/calcite-tip-manager.entry.js +3 -3
  184. package/dist/esm/calcite-tip.entry.js +3 -3
  185. package/dist/esm/calcite-tooltip.entry.js +3 -3
  186. package/dist/esm/{calcite-tree_3.entry.js → calcite-tree_2.entry.js} +3 -319
  187. package/dist/esm/card-manager_3.entry.js +4 -4
  188. package/dist/esm/{cs-3751e560.js → cs-f9bfb6dd.js} +8 -8
  189. package/dist/esm/{da-227f8ad5.js → da-0528de8d.js} +8 -8
  190. package/dist/esm/{date-87a67cb4.js → date-f0c83d13.js} +1 -1
  191. package/dist/esm/{de-at-66232b80.js → de-at-c7c45014.js} +8 -8
  192. package/dist/esm/{de-ch-1264ed4c.js → de-ch-e9338f1b.js} +8 -8
  193. package/dist/esm/{de-a5d2b25b.js → de-d149b983.js} +8 -8
  194. package/dist/esm/{dom-63d2d41c.js → dom-42a638f6.js} +1 -1
  195. package/dist/esm/{downloadUtils-d1f791c5.js → downloadUtils-4a34c86a.js} +235 -160
  196. package/dist/esm/{el-f5bf7ca3.js → el-d86fff8e.js} +8 -8
  197. package/dist/esm/{en-au-2ac8f62e.js → en-au-e722c119.js} +8 -8
  198. package/dist/esm/{en-ca-a1602b49.js → en-ca-8f38a3b8.js} +8 -8
  199. package/dist/esm/{en-gb-28354b2e.js → en-gb-24dd064c.js} +8 -8
  200. package/dist/esm/{es-feb7aad2.js → es-39a9e113.js} +8 -8
  201. package/dist/esm/{es-mx-5d64f899.js → es-mx-fa0cbd42.js} +8 -8
  202. package/dist/esm/{et-173d2f49.js → et-51eabe80.js} +8 -8
  203. package/dist/esm/feature-list.entry.js +2 -2
  204. package/dist/esm/{fi-ff9bb719.js → fi-64ca8666.js} +8 -8
  205. package/dist/esm/{floating-ui-c7ae81d9.js → floating-ui-a14930d0.js} +1 -1
  206. package/dist/esm/{focusTrapComponent-833b1234.js → focusTrapComponent-c1def619.js} +1 -1
  207. package/dist/esm/{form-08e1bcb7.js → form-46367137.js} +1 -1
  208. package/dist/esm/{fr-ch-491f1abe.js → fr-ch-6fe6a6e6.js} +8 -8
  209. package/dist/esm/{fr-e3af6835.js → fr-e20306bf.js} +8 -8
  210. package/dist/esm/{he-47aa8dde.js → he-32ec6cce.js} +8 -8
  211. package/dist/esm/{hi-1700df3e.js → hi-da2b085c.js} +8 -8
  212. package/dist/esm/{hr-68b828f5.js → hr-5a52222a.js} +8 -8
  213. package/dist/esm/{hu-df6a8f29.js → hu-d3bbacef.js} +8 -8
  214. package/dist/esm/{id-8091582d.js → id-dcdac250.js} +8 -8
  215. package/dist/esm/{index.es-decad494.js → index.es-5f44061b.js} +36 -47
  216. package/dist/esm/instant-apps-app-guide.entry.js +102 -0
  217. package/dist/esm/instant-apps-ckeditor-wrapper_3.entry.js +3 -3
  218. package/dist/esm/instant-apps-control-panel.entry.js +1 -1
  219. package/dist/esm/instant-apps-export-views.entry.js +1 -1
  220. package/dist/esm/instant-apps-export.entry.js +1 -1
  221. package/dist/esm/instant-apps-header.entry.js +1 -1
  222. package/dist/esm/instant-apps-interactive-legend-classic.entry.js +8 -3
  223. package/dist/esm/instant-apps-interactive-legend-count_2.entry.js +1 -1
  224. package/dist/esm/instant-apps-interactive-legend-group-legend-element-caption.entry.js +2 -2
  225. package/dist/esm/instant-apps-interactive-legend-group-legend-element_5.entry.js +7 -7
  226. package/dist/esm/instant-apps-keyboard-shortcuts.entry.js +1 -1
  227. package/dist/esm/instant-apps-landing-page.entry.js +1 -1
  228. package/dist/esm/instant-apps-language-switcher.entry.js +3 -3
  229. package/dist/esm/instant-apps-language-translator.entry.js +34 -14
  230. package/dist/esm/instant-apps-measurement.entry.js +1 -1
  231. package/dist/esm/instant-apps-popover.entry.js +1 -1
  232. package/dist/esm/instant-apps-scoreboard.entry.js +1 -1
  233. package/dist/esm/instant-apps-sign-in.entry.js +1 -1
  234. package/dist/esm/instant-apps-splash.entry.js +1 -1
  235. package/dist/esm/instant-apps-time-filter.entry.js +59 -29
  236. package/dist/esm/{it-1f5e149d.js → it-360f430f.js} +8 -8
  237. package/dist/esm/{it-ch-bf7fcac6.js → it-ch-0ec68776.js} +8 -8
  238. package/dist/esm/{ja-a5117166.js → ja-a95cae4c.js} +8 -8
  239. package/dist/esm/{ko-9d7a9e79.js → ko-f0edd78f.js} +8 -8
  240. package/dist/esm/{label-4c4e06d6.js → label-f2ec1100.js} +1 -1
  241. package/dist/esm/loader.js +1 -1
  242. package/dist/esm/{locale-4441c976.js → locale-a53a7bc6.js} +1 -1
  243. package/dist/esm/{lt-2e1c53de.js → lt-bff432da.js} +8 -8
  244. package/dist/esm/{lv-ca1ba866.js → lv-0c7edf32.js} +8 -8
  245. package/dist/esm/map-select-tools_3.entry.js +1 -1
  246. package/dist/esm/{mk-421d0d41.js → mk-876446b8.js} +8 -8
  247. package/dist/esm/{nb-5b103e32.js → nb-25537e87.js} +8 -8
  248. package/dist/esm/{nl-eac33461.js → nl-8be84da3.js} +8 -8
  249. package/dist/esm/{openCloseComponent-c8c8645b.js → openCloseComponent-9d44719e.js} +1 -1
  250. package/dist/esm/{pl-03531ccb.js → pl-8d4fe5a7.js} +8 -8
  251. package/dist/esm/{popupUtils-4e0a103f.js → popupUtils-3ccb86bd.js} +1 -1
  252. package/dist/esm/{pt-br-dee45728.js → pt-br-3015e62b.js} +8 -8
  253. package/dist/esm/{pt-b5d8bffc.js → pt-dcc887b4.js} +8 -8
  254. package/dist/esm/public-notification.entry.js +1 -1
  255. package/dist/esm/{ro-df6cb584.js → ro-b973c654.js} +8 -8
  256. package/dist/esm/{ru-e7c02faa.js → ru-59a7f10b.js} +8 -8
  257. package/dist/esm/{shared-list-render-cadae2eb.js → shared-list-render-097ee366.js} +1 -1
  258. package/dist/esm/{sk-cae387d2.js → sk-a00e5b97.js} +8 -8
  259. package/dist/esm/{sl-2892ad87.js → sl-55c8a748.js} +8 -8
  260. package/dist/esm/solution-contents_3.entry.js +1 -1
  261. package/dist/esm/solution-item-accordion.entry.js +229 -0
  262. package/dist/esm/solution-item-icon.entry.js +324 -0
  263. package/dist/esm/solutions-components.js +1 -1
  264. package/dist/esm/spatial-ref.entry.js +1 -1
  265. package/dist/esm/{sr-11e6839f.js → sr-e4fc3293.js} +8 -8
  266. package/dist/esm/{sv-fd5c6ca5.js → sv-f0782d2a.js} +8 -8
  267. package/dist/esm/{t9n-b7ea1a61.js → t9n-b33c486a.js} +1 -1
  268. package/dist/esm/{th-170cf6b1.js → th-d2abb499.js} +8 -8
  269. package/dist/esm/{time-a7f1020b.js → time-f99aceff.js} +1 -1
  270. package/dist/esm/{tr-1d6ca382.js → tr-512413e1.js} +8 -8
  271. package/dist/esm/{uk-35eec84e.js → uk-79fe44f1.js} +8 -8
  272. package/dist/esm/{utils-6493bff2.js → utils-6f13e31e.js} +22 -1
  273. package/dist/esm/{utils-62514064.js → utils-d67a6d71.js} +1 -1
  274. package/dist/esm/{vi-2713ee26.js → vi-53b51e7a.js} +8 -8
  275. package/dist/esm/{zh-cn-ed066014.js → zh-cn-7d19a53a.js} +8 -8
  276. package/dist/esm/{zh-hk-a118dced.js → zh-hk-4fb6c3eb.js} +8 -8
  277. package/dist/esm/{zh-tw-c9bbf220.js → zh-tw-6a5d2c2b.js} +8 -8
  278. package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-app-guide/instant-apps-app-guide.css +75 -0
  279. package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-language-translator/instant-apps-language-translator.css +16 -0
  280. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources.json +3 -0
  281. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_en.json +3 -0
  282. package/dist/solutions-components/demos/solution-item-accordion.html +345 -0
  283. package/dist/solutions-components/p-022d51db.js +6 -0
  284. package/dist/solutions-components/{p-cd5a9034.entry.js → p-030e5077.entry.js} +1 -1
  285. package/dist/solutions-components/{p-92ba99ff.js → p-03f3cf77.js} +1 -1
  286. package/dist/solutions-components/{p-fb3e0eae.js → p-03ffbb1b.js} +1 -1
  287. package/dist/solutions-components/{p-ee9b7fab.js → p-0a1a9ff1.js} +1 -1
  288. package/dist/solutions-components/p-0a64be62.js +6 -0
  289. package/dist/solutions-components/{p-bb0f549a.js → p-0ded20f0.js} +1 -1
  290. package/dist/solutions-components/{p-f6f2018a.js → p-12be6545.js} +1 -1
  291. package/dist/solutions-components/{p-da80cfbc.entry.js → p-1692858b.entry.js} +1 -1
  292. package/dist/solutions-components/{p-c40b0ec5.js → p-174aa4da.js} +1 -1
  293. package/dist/solutions-components/{p-222e0445.entry.js → p-1826154b.entry.js} +1 -1
  294. package/dist/solutions-components/{p-8c6a301f.entry.js → p-18307307.entry.js} +2 -2
  295. package/dist/solutions-components/{p-c163b67f.js → p-1a047db6.js} +1 -1
  296. package/dist/solutions-components/{p-5067d77e.entry.js → p-1c5f17cb.entry.js} +1 -1
  297. package/dist/solutions-components/{p-01dae909.js → p-1df2d94d.js} +1 -1
  298. package/dist/solutions-components/{p-64bf4d2e.entry.js → p-216ae423.entry.js} +1 -1
  299. package/dist/solutions-components/{p-7586e1de.entry.js → p-219f0273.entry.js} +1 -1
  300. package/dist/solutions-components/{p-ae8ed06a.entry.js → p-283e344a.entry.js} +1 -1
  301. package/dist/solutions-components/{p-691cb5f4.js → p-290dee0b.js} +2 -2
  302. package/dist/solutions-components/{p-91b7a7dc.entry.js → p-2a059548.entry.js} +1 -1
  303. package/dist/solutions-components/{p-8da5aeea.entry.js → p-2bb9b365.entry.js} +1 -1
  304. package/dist/solutions-components/{p-7c854814.js → p-2caf1f94.js} +2 -2
  305. package/dist/solutions-components/{p-919e9de7.entry.js → p-2cb47eff.entry.js} +2 -2
  306. package/dist/solutions-components/{p-e5736093.entry.js → p-2d2b06db.entry.js} +1 -1
  307. package/dist/solutions-components/{p-de8121a4.js → p-2d2dcf8a.js} +1 -1
  308. package/dist/solutions-components/{p-9bc84681.js → p-2d5e428d.js} +1 -1
  309. package/dist/solutions-components/{p-508b2b7b.js → p-2e7d005f.js} +1 -1
  310. package/dist/solutions-components/{p-bc6cf10f.entry.js → p-3016bf77.entry.js} +1 -1
  311. package/dist/solutions-components/{p-08d1cc1f.js → p-3244e59a.js} +1 -1
  312. package/dist/solutions-components/{p-66b01781.js → p-365169c2.js} +2 -2
  313. package/dist/solutions-components/{p-245c35ce.js → p-372e4640.js} +1 -1
  314. package/dist/solutions-components/p-374d0fdc.entry.js +6 -0
  315. package/dist/solutions-components/p-39e9ae5c.entry.js +6 -0
  316. package/dist/solutions-components/p-3d6f8c9e.entry.js +29 -0
  317. package/dist/solutions-components/{p-458a3f01.entry.js → p-3de85f54.entry.js} +1 -1
  318. package/dist/solutions-components/{p-c7046172.entry.js → p-3e9a487b.entry.js} +2 -2
  319. package/dist/solutions-components/{p-7b2ef872.entry.js → p-42710186.entry.js} +1 -1
  320. package/dist/solutions-components/{p-c5facecd.entry.js → p-44270ade.entry.js} +1 -1
  321. package/dist/solutions-components/{p-d1cc620f.entry.js → p-47398e76.entry.js} +1 -1
  322. package/dist/solutions-components/{p-d784f756.entry.js → p-4881885b.entry.js} +3 -3
  323. package/dist/solutions-components/{p-5a76a4c8.entry.js → p-496b7a1f.entry.js} +1 -1
  324. package/dist/solutions-components/{p-9db30b19.entry.js → p-4aafcac7.entry.js} +1 -1
  325. package/dist/solutions-components/{p-2aa44a02.entry.js → p-4cfe3d80.entry.js} +2 -2
  326. package/dist/solutions-components/{p-cf9e6515.entry.js → p-4feaf7db.entry.js} +2 -2
  327. package/dist/solutions-components/{p-a37d1b17.entry.js → p-50323300.entry.js} +1 -1
  328. package/dist/solutions-components/{p-5f705984.js → p-50ab7903.js} +1 -1
  329. package/dist/solutions-components/{p-960a4993.entry.js → p-50c2d3e5.entry.js} +1 -1
  330. package/dist/solutions-components/{p-712873f0.js → p-50e2a33b.js} +1 -1
  331. package/dist/solutions-components/{p-54b7e680.js → p-51abfcb7.js} +1 -1
  332. package/dist/solutions-components/{p-25b5ffea.js → p-524a996f.js} +1 -1
  333. package/dist/solutions-components/{p-02ea30d1.entry.js → p-54879c84.entry.js} +1 -1
  334. package/dist/solutions-components/{p-23dd68de.entry.js → p-5550f101.entry.js} +1 -1
  335. package/dist/solutions-components/{p-040b6e44.entry.js → p-5714f5ca.entry.js} +1 -1
  336. package/dist/solutions-components/{p-52f19286.entry.js → p-57be85fb.entry.js} +1 -1
  337. package/dist/solutions-components/p-58d8ee47.js +6 -0
  338. package/dist/solutions-components/{p-0b6e5486.js → p-5959580d.js} +1 -1
  339. package/dist/solutions-components/{p-9524e5e4.js → p-59695ccc.js} +1 -1
  340. package/dist/solutions-components/{p-87f928a5.entry.js → p-59b3e946.entry.js} +2 -2
  341. package/dist/solutions-components/{p-6b0fa1eb.entry.js → p-5a997dc9.entry.js} +1 -1
  342. package/dist/solutions-components/{p-29a09798.js → p-5ba9df82.js} +2 -2
  343. package/dist/solutions-components/{p-9fa7a7ad.entry.js → p-5cef36d6.entry.js} +1 -1
  344. package/dist/solutions-components/{p-732bb88c.entry.js → p-5d398871.entry.js} +1 -1
  345. package/dist/solutions-components/{p-7fce703f.entry.js → p-5d58d70c.entry.js} +1 -1
  346. package/dist/solutions-components/{p-0e851a4b.js → p-62dadb51.js} +1 -1
  347. package/dist/solutions-components/{p-981ab7fc.entry.js → p-62ed6a7a.entry.js} +1 -1
  348. package/dist/solutions-components/{p-49bbe45e.js → p-63f9004a.js} +1 -1
  349. package/dist/solutions-components/{p-40f5df15.entry.js → p-64906bb5.entry.js} +2 -2
  350. package/dist/solutions-components/{p-7ae41cd8.js → p-65fe42ef.js} +1 -1
  351. package/dist/solutions-components/{p-c25e8c35.js → p-66cee72b.js} +1 -1
  352. package/dist/solutions-components/{p-a85fd786.entry.js → p-6b1d1546.entry.js} +1 -1
  353. package/dist/solutions-components/{p-0dc73313.js → p-6b21efce.js} +1 -1
  354. package/dist/solutions-components/{p-79f78acc.entry.js → p-6cf1225a.entry.js} +1 -1
  355. package/dist/solutions-components/{p-6c080ac7.entry.js → p-6d4db88b.entry.js} +8 -2
  356. package/dist/solutions-components/{p-b76ed1c7.entry.js → p-6d894d47.entry.js} +2 -2
  357. package/dist/solutions-components/{p-26a3ba5e.entry.js → p-6e0439fa.entry.js} +1 -1
  358. package/dist/solutions-components/p-6e118057.js +11 -0
  359. package/dist/solutions-components/{p-267ef1b8.entry.js → p-6f594492.entry.js} +2 -2
  360. package/dist/solutions-components/{p-30903105.entry.js → p-70f2898c.entry.js} +1 -1
  361. package/dist/solutions-components/p-72bce122.entry.js +6 -0
  362. package/dist/solutions-components/{p-67c34d05.entry.js → p-72ee63b0.entry.js} +1 -1
  363. package/dist/solutions-components/{p-e4ef6f49.js → p-754a5334.js} +1 -1
  364. package/dist/solutions-components/{p-2264e8d5.entry.js → p-76efd680.entry.js} +1 -1
  365. package/dist/solutions-components/{p-5a3cab12.entry.js → p-7758a533.entry.js} +1 -1
  366. package/dist/solutions-components/{p-cd6eee11.js → p-7a820f38.js} +1 -1
  367. package/dist/solutions-components/{p-bae65813.entry.js → p-7b122a6e.entry.js} +1 -1
  368. package/dist/solutions-components/{p-1a06bf01.js → p-7e762fa7.js} +1 -1
  369. package/dist/solutions-components/{p-004d601f.entry.js → p-7f147e8b.entry.js} +1 -1
  370. package/dist/solutions-components/{p-a79f4c52.entry.js → p-82185ebf.entry.js} +1 -1
  371. package/dist/solutions-components/{p-d47abf9b.entry.js → p-827037ce.entry.js} +1 -1
  372. package/dist/solutions-components/{p-cb07016a.entry.js → p-88c6ece3.entry.js} +2 -2
  373. package/dist/solutions-components/{p-94ae78d6.js → p-8a683cdc.js} +1 -1
  374. package/dist/solutions-components/{p-304cef31.js → p-8d453a3a.js} +3 -3
  375. package/dist/solutions-components/{p-886fbbe3.entry.js → p-8ef003ec.entry.js} +1 -1
  376. package/dist/solutions-components/p-8fb651e5.entry.js +6 -0
  377. package/dist/solutions-components/{p-b8ce880d.js → p-92008b90.js} +1 -1
  378. package/dist/solutions-components/{p-1490c752.js → p-926664d9.js} +1 -1
  379. package/dist/solutions-components/{p-4e7aa926.js → p-94397114.js} +1 -1
  380. package/dist/solutions-components/{p-b3e8da19.entry.js → p-94805d7f.entry.js} +1 -1
  381. package/dist/solutions-components/p-94c518ff.entry.js +6 -0
  382. package/dist/solutions-components/{p-936037e4.js → p-97aa6766.js} +1 -1
  383. package/dist/solutions-components/{p-8bb2c169.js → p-984ce9da.js} +1 -1
  384. package/dist/solutions-components/{p-9c5f4347.js → p-99e6cb74.js} +1 -1
  385. package/dist/solutions-components/{p-de3ee7a6.entry.js → p-9d12b3f1.entry.js} +1 -1
  386. package/dist/solutions-components/{p-4fe5e9c3.entry.js → p-9ee72dba.entry.js} +1 -1
  387. package/dist/solutions-components/{p-dfeb6a2e.entry.js → p-9f3aebd0.entry.js} +1 -1
  388. package/dist/solutions-components/{p-a5e64f6b.entry.js → p-a1093fee.entry.js} +1 -1
  389. package/dist/solutions-components/{p-8537518d.entry.js → p-a2a2c6a2.entry.js} +1 -1
  390. package/dist/solutions-components/{p-c4953b5e.entry.js → p-a2dbc38b.entry.js} +1 -1
  391. package/dist/solutions-components/{p-6319ca20.js → p-a4255b97.js} +1 -1
  392. package/dist/solutions-components/{p-b8f33145.js → p-a4e73041.js} +1 -1
  393. package/dist/solutions-components/{p-1017609e.js → p-a5fc6ab7.js} +2 -2
  394. package/dist/solutions-components/{p-d75ef009.entry.js → p-a60a2c8b.entry.js} +1 -1
  395. package/dist/solutions-components/{p-254f6e23.entry.js → p-a6a0df5c.entry.js} +1 -1
  396. package/dist/solutions-components/{p-33db098c.js → p-a7395caf.js} +1 -1
  397. package/dist/solutions-components/{p-eb2859d6.js → p-a7761371.js} +1 -1
  398. package/dist/solutions-components/{p-e74bc7b3.js → p-a8b70e9a.js} +1 -1
  399. package/dist/solutions-components/{p-fedbf657.entry.js → p-a8d83bc3.entry.js} +1 -1
  400. package/dist/solutions-components/p-aa36f70e.entry.js +6 -0
  401. package/dist/solutions-components/{p-c0d25be5.entry.js → p-ac7868a6.entry.js} +1 -1
  402. package/dist/solutions-components/{p-04294b8e.js → p-ac92679c.js} +1 -1
  403. package/dist/solutions-components/{p-e0ee0556.entry.js → p-ad441ffa.entry.js} +1 -1
  404. package/dist/solutions-components/{p-ac11cf8f.entry.js → p-add869b6.entry.js} +1 -1
  405. package/dist/solutions-components/{p-b96233e3.entry.js → p-af3e49d8.entry.js} +1 -1
  406. package/dist/solutions-components/{p-c7eaade6.entry.js → p-b310402f.entry.js} +1 -1
  407. package/dist/solutions-components/{p-996daf05.entry.js → p-b4d708cd.entry.js} +1 -1
  408. package/dist/solutions-components/{p-5f7c1e49.js → p-b7e63ac2.js} +1 -1
  409. package/dist/solutions-components/{p-a4e35c2d.entry.js → p-b9b2f7a9.entry.js} +1 -1
  410. package/dist/solutions-components/{p-3c1ecf85.entry.js → p-bb040eab.entry.js} +1 -1
  411. package/dist/solutions-components/{p-53b5a39e.js → p-bcc2d4ff.js} +1 -1
  412. package/dist/solutions-components/{p-66afdfdd.entry.js → p-bcce9d28.entry.js} +1 -1
  413. package/dist/solutions-components/{p-8fb06a85.entry.js → p-c60c5991.entry.js} +1 -1
  414. package/dist/solutions-components/{p-062f4457.js → p-c6ef8cca.js} +1 -1
  415. package/dist/solutions-components/{p-1ef6a1c2.entry.js → p-c718930a.entry.js} +1 -1
  416. package/dist/solutions-components/{p-270ead49.js → p-c94b0e1a.js} +1 -1
  417. package/dist/solutions-components/{p-5440c8dd.js → p-cba6953c.js} +1 -1
  418. package/dist/solutions-components/{p-976ad17d.entry.js → p-d00ca970.entry.js} +1 -1
  419. package/dist/solutions-components/p-d2033cfa.entry.js +6 -0
  420. package/dist/solutions-components/{p-ca6055a3.js → p-d2ee8b82.js} +1 -1
  421. package/dist/solutions-components/p-d4ab82e3.entry.js +17 -0
  422. package/dist/solutions-components/{p-798b9928.entry.js → p-d7711a84.entry.js} +1 -1
  423. package/dist/solutions-components/{p-4c179300.entry.js → p-d7871f0d.entry.js} +1 -1
  424. package/dist/solutions-components/{p-f7bc99fb.entry.js → p-dc264663.entry.js} +3 -3
  425. package/dist/solutions-components/{p-aa68a36e.entry.js → p-dcaae1e9.entry.js} +2 -2
  426. package/dist/solutions-components/{p-770a0e12.js → p-dcebc541.js} +1 -1
  427. package/dist/solutions-components/{p-9277a339.entry.js → p-de3719f2.entry.js} +1 -1
  428. package/dist/solutions-components/{p-74fbad1c.js → p-dec62e5d.js} +30 -31
  429. package/dist/solutions-components/{p-aa341d46.entry.js → p-e068dfb9.entry.js} +1 -1
  430. package/dist/solutions-components/p-e0b65115.js +11 -0
  431. package/dist/solutions-components/{p-550da58b.js → p-e0fd4006.js} +1 -1
  432. package/dist/solutions-components/{p-8614d1a0.entry.js → p-e26cf5f5.entry.js} +1 -1
  433. package/dist/solutions-components/{p-0d6b3f44.js → p-e6798e38.js} +1 -1
  434. package/dist/solutions-components/p-e8aa44e2.entry.js +6 -0
  435. package/dist/solutions-components/{p-19b466d0.js → p-ea8d2558.js} +1 -1
  436. package/dist/solutions-components/{p-fcd33b4f.js → p-ef187f1d.js} +1 -1
  437. package/dist/solutions-components/{p-b4d92441.entry.js → p-efca5cea.entry.js} +1 -1
  438. package/dist/solutions-components/{p-40175313.entry.js → p-f4360468.entry.js} +1 -1
  439. package/dist/solutions-components/{p-80f49acc.js → p-f4d7f757.js} +1 -1
  440. package/dist/solutions-components/{p-95c3b305.entry.js → p-f72fa647.entry.js} +1 -1
  441. package/dist/solutions-components/{p-347d9ce0.js → p-f7e45464.js} +1 -1
  442. package/dist/solutions-components/{p-990d8b4b.js → p-f7ffcd95.js} +1 -1
  443. package/dist/solutions-components/{p-9560a1fd.entry.js → p-fa7c50f8.entry.js} +1 -1
  444. package/dist/solutions-components/{p-707ee1d1.entry.js → p-fd9fb1ba.entry.js} +2 -2
  445. package/dist/solutions-components/{p-986ff43b.entry.js → p-fdb201ff.entry.js} +1 -1
  446. package/dist/solutions-components/{p-924ec704.js → p-fe0add26.js} +1 -1
  447. package/dist/solutions-components/{p-54a9017c.entry.js → p-ff105078.entry.js} +1 -1
  448. package/dist/solutions-components/{p-fa68f43a.entry.js → p-ff639390.entry.js} +1 -1
  449. package/dist/solutions-components/solutions-components.esm.js +1 -1
  450. package/dist/solutions-components/utils/interfaces.ts +11 -0
  451. package/dist/types/components/solution-item-accordion/solution-item-accordion.d.ts +117 -0
  452. package/dist/types/components.d.ts +23 -2
  453. package/dist/types/preact.d.ts +4 -0
  454. package/dist/types/utils/interfaces.d.ts +10 -0
  455. package/package.json +7 -7
  456. package/dist/cjs/calcite-accordion.cjs.entry.js +0 -95
  457. package/dist/cjs/calcite-carousel-item.cjs.entry.js +0 -46
  458. package/dist/solutions-components/p-2007eaa4.entry.js +0 -6
  459. package/dist/solutions-components/p-23ce9afa.entry.js +0 -11
  460. package/dist/solutions-components/p-27a25ece.entry.js +0 -6
  461. package/dist/solutions-components/p-2d17790c.js +0 -6
  462. package/dist/solutions-components/p-2e06ec97.js +0 -6
  463. package/dist/solutions-components/p-3a47fde6.entry.js +0 -11
  464. package/dist/solutions-components/p-41c34a67.js +0 -6
  465. package/dist/solutions-components/p-79f5a8be.js +0 -11
  466. package/dist/solutions-components/p-93d8ef73.entry.js +0 -6
  467. package/dist/solutions-components/p-a0b62b46.entry.js +0 -6
  468. package/dist/solutions-components/p-aef41a6d.entry.js +0 -11
  469. package/dist/solutions-components/p-b8b78283.entry.js +0 -29
  470. package/dist/solutions-components/p-d36878db.js +0 -11
  471. package/dist/solutions-components/p-fd79adec.entry.js +0 -6
@@ -0,0 +1,336 @@
1
+ /*!
2
+ * Copyright 2022 Esri
3
+ * Licensed under the Apache License, Version 2.0
4
+ * http://www.apache.org/licenses/LICENSE-2.0
5
+ */
6
+ import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
7
+ import { g as getLocaleComponentStrings } from './locale.js';
8
+ import { d as defineCustomElement$f } from './accordion.js';
9
+ import { d as defineCustomElement$e } from './accordion-item.js';
10
+ import { d as defineCustomElement$d } from './action.js';
11
+ import { d as defineCustomElement$c } from './filter2.js';
12
+ import { d as defineCustomElement$b } from './handle.js';
13
+ import { d as defineCustomElement$a } from './icon.js';
14
+ import { d as defineCustomElement$9 } from './input.js';
15
+ import { d as defineCustomElement$8 } from './list.js';
16
+ import { d as defineCustomElement$7 } from './list-item.js';
17
+ import { d as defineCustomElement$6 } from './loader.js';
18
+ import { d as defineCustomElement$5 } from './progress.js';
19
+ import { d as defineCustomElement$4 } from './scrim.js';
20
+ import { d as defineCustomElement$3 } from './stack.js';
21
+ import { d as defineCustomElement$2 } from './solution-item-icon2.js';
22
+
23
+ const solutionItemAccordionCss = ":host{display:block}.padding-start-1{padding-inline-start:1rem}";
24
+ const SolutionItemAccordionStyle0 = solutionItemAccordionCss;
25
+
26
+ const SolutionItemAccordion$1 = /*@__PURE__*/ proxyCustomElement(class SolutionItemAccordion extends HTMLElement {
27
+ constructor() {
28
+ super();
29
+ this.__registerHost();
30
+ this.__attachShadow();
31
+ this.templateInfos = [];
32
+ this._sortedTemplateInfos = [];
33
+ this._translations = undefined;
34
+ }
35
+ get el() { return this; }
36
+ //--------------------------------------------------------------------------
37
+ //
38
+ // Properties (protected)
39
+ //
40
+ //--------------------------------------------------------------------------
41
+ /**
42
+ * string[]: The order we should sort templates based on
43
+ */
44
+ _sortOrder = [
45
+ "Hub Site Application",
46
+ "Hub Page",
47
+ "Web Experience",
48
+ "Instant App",
49
+ "Web Mapping Application",
50
+ "Dashboard",
51
+ "StoryMap",
52
+ "Form",
53
+ "QuickCapture Project",
54
+ "Workflow",
55
+ "Big Data Analytic",
56
+ "Real Time Analytic",
57
+ "Feed",
58
+ "Tool",
59
+ "Notebook",
60
+ "Data Pipeline",
61
+ "Project Package",
62
+ "Desktop Application Template",
63
+ "TypeNotFound",
64
+ "Web Map",
65
+ "Web Scene",
66
+ "Feature Layer (hosted, view)",
67
+ "Feature Layer (hosted)",
68
+ "Tile Layer",
69
+ "CSV",
70
+ "Microsoft Excel",
71
+ "Microsoft Word",
72
+ "Report Template",
73
+ "Rule Package",
74
+ "Group"
75
+ ];
76
+ /**
77
+ * string[]: Array of template types.
78
+ * This array is used during render to ensure only one Accordion item is added for each type.
79
+ */
80
+ _types = [];
81
+ //--------------------------------------------------------------------------
82
+ //
83
+ // Watch handlers
84
+ //
85
+ //--------------------------------------------------------------------------
86
+ async templateInfosWatchHandler() {
87
+ this._types = [];
88
+ this._sortedTemplateInfos = this._sortTemplates();
89
+ }
90
+ //--------------------------------------------------------------------------
91
+ //
92
+ // Methods (public)
93
+ //
94
+ //--------------------------------------------------------------------------
95
+ //--------------------------------------------------------------------------
96
+ //
97
+ // Events (public)
98
+ //
99
+ //--------------------------------------------------------------------------
100
+ //--------------------------------------------------------------------------
101
+ //
102
+ // Functions (lifecycle)
103
+ //
104
+ //--------------------------------------------------------------------------
105
+ /**
106
+ * StencilJS: Called once just after the component is first connected to the DOM.
107
+ */
108
+ async componentWillLoad() {
109
+ await this._getTranslations();
110
+ }
111
+ /**
112
+ * StencilJS: Called before each render
113
+ */
114
+ async componentWillRender() {
115
+ if (this._sortedTemplateInfos.length === 0 && this.templateInfos?.length > 0) {
116
+ this._sortedTemplateInfos = this._sortTemplates();
117
+ }
118
+ }
119
+ /**
120
+ * Renders the component.
121
+ */
122
+ render() {
123
+ return (h(Host, { key: 'c9fea75fb3cd0558366bb086eccb28c4e2b7b07d' }, this._getAccordion()));
124
+ }
125
+ //--------------------------------------------------------------------------
126
+ //
127
+ // Functions (protected)
128
+ //
129
+ //--------------------------------------------------------------------------
130
+ /**
131
+ * Get the Accordion component
132
+ *
133
+ * @returns the Accordion component
134
+ *
135
+ * @protected
136
+ */
137
+ _getAccordion() {
138
+ return (h("calcite-accordion", null, this._sortedTemplateInfos.reduce((prev, cur) => {
139
+ if (this._types.indexOf(cur.type) < 0) {
140
+ this._types.push(cur.type);
141
+ prev.push(this._getAccordionItem(cur));
142
+ }
143
+ return prev;
144
+ }, [])));
145
+ }
146
+ /**
147
+ * Get the Accordion Item component with the appropriate icon and template type
148
+ * Only one accordion item per type.
149
+ *
150
+ * @returns the Accordion Item component
151
+ *
152
+ * @protected
153
+ */
154
+ _getAccordionItem(templateInfo) {
155
+ const templateInfos = this._sortedTemplateInfos.filter(t => t.type === templateInfo.type);
156
+ return (h("calcite-accordion-item", { description: `${templateInfo.type} (${templateInfos.length})` }, h("solution-item-icon", { class: "padding-start-1", slot: "actions-start", type: templateInfo.type, typeKeywords: templateInfo.typeKeywords }), this._getList(templateInfos)));
157
+ }
158
+ /**
159
+ * Get the list of template infos for the current type
160
+ *
161
+ * @param templateInfos filtered list of templateInfos for the current type
162
+ *
163
+ * @returns the List component
164
+ *
165
+ * @protected
166
+ */
167
+ _getList(templateInfos) {
168
+ return (h("calcite-list", { class: "padding-start-1" }, templateInfos.map(t => this._getListItem(t))));
169
+ }
170
+ /**
171
+ * Get list item for the current type
172
+ *
173
+ * @param templateInfo the current templateInfo to handle
174
+ *
175
+ * @returns the List item component
176
+ *
177
+ * @protected
178
+ */
179
+ _getListItem(templateInfo) {
180
+ return (h("calcite-list-item", { description: templateInfo.description, label: templateInfo.title, value: templateInfo.id }));
181
+ }
182
+ /**
183
+ * Sort the templates based on the defined order in _sortOrder
184
+ *
185
+ * @returns the sorted templates
186
+ *
187
+ * @protected
188
+ */
189
+ _sortTemplates() {
190
+ return this.templateInfos.sort((a, b) => {
191
+ const aType = this._updateType(a);
192
+ const bType = this._updateType(b);
193
+ const indexA = this._sortOrder.indexOf(aType);
194
+ const indexB = this._sortOrder.indexOf(bType);
195
+ return indexA - indexB;
196
+ });
197
+ }
198
+ /**
199
+ * Some template types are displayed with a value that is different than the stored type value.
200
+ * This function will catch and update the type value to match how we would like it sorted and displayed.
201
+ *
202
+ * @returns the sorted templates
203
+ *
204
+ * @protected
205
+ */
206
+ _updateType(templateInfo) {
207
+ let updatedType = templateInfo.type;
208
+ if (templateInfo.type === "Feature Service") {
209
+ updatedType = templateInfo.typeKeywords.indexOf("View Service") > -1 ?
210
+ "Feature Layer (hosted, view)" : "Feature Layer (hosted)";
211
+ }
212
+ if (templateInfo.type === "Web Mapping Application") {
213
+ updatedType = templateInfo.typeKeywords.indexOf("configurableApp") > -1 ?
214
+ "Instant App" : updatedType;
215
+ }
216
+ templateInfo.type = templateInfo.type === "Geoprocessing Service" ? "Tool" :
217
+ templateInfo.type === "Vector Tile Service" ? "Tile Layer" : updatedType;
218
+ if (this._sortOrder.indexOf(updatedType) < 0) {
219
+ // If we encounter an item type that is not in the list
220
+ // put it between the "Desktop Application Template" and "Web Map" section
221
+ // Do not set this as the templates type value as we want its actual type to be displayed
222
+ // this is just used for sorting
223
+ updatedType = "TypeNotFound";
224
+ }
225
+ return updatedType;
226
+ }
227
+ /**
228
+ * Fetches the component's translations
229
+ *
230
+ * @returns Promise when complete
231
+ * @protected
232
+ */
233
+ async _getTranslations() {
234
+ const messages = await getLocaleComponentStrings(this.el);
235
+ this._translations = messages[0];
236
+ }
237
+ static get watchers() { return {
238
+ "templateInfos": ["templateInfosWatchHandler"]
239
+ }; }
240
+ static get style() { return SolutionItemAccordionStyle0; }
241
+ }, [1, "solution-item-accordion", {
242
+ "templateInfos": [16],
243
+ "_sortedTemplateInfos": [32],
244
+ "_translations": [32]
245
+ }, undefined, {
246
+ "templateInfos": ["templateInfosWatchHandler"]
247
+ }]);
248
+ function defineCustomElement$1() {
249
+ if (typeof customElements === "undefined") {
250
+ return;
251
+ }
252
+ const components = ["solution-item-accordion", "calcite-accordion", "calcite-accordion-item", "calcite-action", "calcite-filter", "calcite-handle", "calcite-icon", "calcite-input", "calcite-list", "calcite-list-item", "calcite-loader", "calcite-progress", "calcite-scrim", "calcite-stack", "solution-item-icon"];
253
+ components.forEach(tagName => { switch (tagName) {
254
+ case "solution-item-accordion":
255
+ if (!customElements.get(tagName)) {
256
+ customElements.define(tagName, SolutionItemAccordion$1);
257
+ }
258
+ break;
259
+ case "calcite-accordion":
260
+ if (!customElements.get(tagName)) {
261
+ defineCustomElement$f();
262
+ }
263
+ break;
264
+ case "calcite-accordion-item":
265
+ if (!customElements.get(tagName)) {
266
+ defineCustomElement$e();
267
+ }
268
+ break;
269
+ case "calcite-action":
270
+ if (!customElements.get(tagName)) {
271
+ defineCustomElement$d();
272
+ }
273
+ break;
274
+ case "calcite-filter":
275
+ if (!customElements.get(tagName)) {
276
+ defineCustomElement$c();
277
+ }
278
+ break;
279
+ case "calcite-handle":
280
+ if (!customElements.get(tagName)) {
281
+ defineCustomElement$b();
282
+ }
283
+ break;
284
+ case "calcite-icon":
285
+ if (!customElements.get(tagName)) {
286
+ defineCustomElement$a();
287
+ }
288
+ break;
289
+ case "calcite-input":
290
+ if (!customElements.get(tagName)) {
291
+ defineCustomElement$9();
292
+ }
293
+ break;
294
+ case "calcite-list":
295
+ if (!customElements.get(tagName)) {
296
+ defineCustomElement$8();
297
+ }
298
+ break;
299
+ case "calcite-list-item":
300
+ if (!customElements.get(tagName)) {
301
+ defineCustomElement$7();
302
+ }
303
+ break;
304
+ case "calcite-loader":
305
+ if (!customElements.get(tagName)) {
306
+ defineCustomElement$6();
307
+ }
308
+ break;
309
+ case "calcite-progress":
310
+ if (!customElements.get(tagName)) {
311
+ defineCustomElement$5();
312
+ }
313
+ break;
314
+ case "calcite-scrim":
315
+ if (!customElements.get(tagName)) {
316
+ defineCustomElement$4();
317
+ }
318
+ break;
319
+ case "calcite-stack":
320
+ if (!customElements.get(tagName)) {
321
+ defineCustomElement$3();
322
+ }
323
+ break;
324
+ case "solution-item-icon":
325
+ if (!customElements.get(tagName)) {
326
+ defineCustomElement$2();
327
+ }
328
+ break;
329
+ } });
330
+ }
331
+ defineCustomElement$1();
332
+
333
+ const SolutionItemAccordion = SolutionItemAccordion$1;
334
+ const defineCustomElement = defineCustomElement$1;
335
+
336
+ export { SolutionItemAccordion, defineCustomElement };
@@ -56,7 +56,7 @@ const SolutionItemDetails = /*@__PURE__*/ proxyCustomElement(class SolutionItemD
56
56
  * Renders the component.
57
57
  */
58
58
  render() {
59
- return (h(Host, { key: '66924107ce947a376028ae9cedde446311f131bf' }, h("div", { key: '8cb3221e632b06a070455014637534c35a1f8b09', class: "parent-container" }, h("div", { key: '104f2c5e01ac4af2a238c001fa890902de4354e3', class: "inputBottomSeparation" }, h("calcite-input", { key: '9735e02ba2487f40d4c1f95047e9d33299562be4', id: "item-title", value: this.itemDetails.title })), h("div", { key: 'ab8a525e9fef7904fb547b4b2ef76ce716a0fd8c', class: "inputBottomSeparation" }, h("input", { key: 'd8e98a227f7f77921f3e6eefd49ff650e72c0c8c', accept: ".jpg,.gif,.png,image/jpg,image/gif,image/png", class: "display-none", onChange: (event) => (this._updateThumbnail(event)), ref: (el) => (this.browseForThumbnail = el), type: "file" }), h("button", { key: '5465e97b62201bd47cc75a44a36bce007419b22f', class: "font-size--3 btn-link inline-block trailer-quarter", onClick: () => this._getThumbnail() }, h("svg", { key: '3bfa09cf4808b3a13dcd552b5bfdc6e747a33b67', class: "icon-inline icon-inline--on-left", height: "16", viewBox: "0 0 16 16", width: "16" }, h("path", { key: '28eb743b0ec445dbe6f7a1bafa38bd00e4d13c43', d: "M14.792 2.666l-1.414-1.413a.965.965 0 0 0-1.385-.03l-1.444 1.444-8.763 8.72L.03 15.481a.371.371 0 0 0 .488.488l4.096-1.756 8.763-8.72-.001-.001.002.002 1.443-1.444a.965.965 0 0 0-.03-1.385zM1.569 14.431l.554-1.293.74.739zm2.338-.924l-1.414-1.414 7.963-7.92 1.414 1.415zm8.67-8.626l-1.413-1.414 1.29-1.29a.306.306 0 0 1 .433 0l.981.98a.306.306 0 0 1 0 .433z" })), this._translations.editThumbnail), h("div", { key: '187f3292746d58cc8f46e5d422923424a29c3a7a', class: "flex" }, h("div", { key: '5b3ba4347bcbb2ba7f86404c5ea5634831dd916a', class: "img-container", ref: (el) => (this.thumbnailContainer = el) }, h("img", { key: '87ca825056fdb5f07e2641748c2faa284381bcf4', class: "scale-down", height: "133", id: "item-thumbnail", ref: (el) => (this.thumbnail = el), width: "200" })), h("div", { key: '6d343a236607c72a51b22b0b43e0e29cf57ba361', class: "snippet-count-container" }, h("calcite-input", { key: '3bff884cf3b462942e9a959c323f1a47b8ac1fb9', id: "item-snippet", maxLength: 250, type: "textarea", value: this.itemDetails.snippet }), h("label", { key: 'fdd0951508f0c422fc28c79488c126f70af07f88', class: "font-size--3", id: "item-snippet-count", ref: (el) => (this.itemSnippetCount = el) })))), h("calcite-label", { key: '42cdb37a1ba254bd863b7f424e1d6b1d2524b3bc' }, this._translations.description, h("label", { key: 'd45d8bbd0bfd913f100e5f446265b9336d50a93a', id: "item-description-label" }, h("calcite-input", { key: 'cbe6a819f00d2015858e632e2dd417260dc8c58f', id: "item-description", type: "textarea", value: this.itemDetails.description }))), h("calcite-label", { key: 'de374dafb6856b650c1fe59913b7bb9c53b9ede7' }, this._translations.tags, h("label", { key: '265b4ff2b4210c36f15d2b66a18e4b5943b4ef09', id: "item-tags-label" }, h("calcite-input", { key: '8f93a4ae7cefa909351ca9eee36a995315474cfb', id: "item-tags", value: (this.itemDetails.tags && Array.isArray(this.itemDetails.tags) ? this.itemDetails.tags : [this.itemDetails.tags]).join(",") }))), this.itemType !== "Group" ? h("calcite-label", null, this._translations.credits, h("label", { id: "item-credits-label" }, h("calcite-input", { id: "item-credits", value: this.itemDetails.accessInformation }))) : null, this.itemType !== "Group" ? h("calcite-label", null, h("label", { id: "item-terms-label" }, this._translations.termsOfUse, h("calcite-input", { id: "item-terms", type: "textarea", value: this.itemDetails.licenseInfo }))) : null)));
59
+ return (h(Host, { key: '84bfa00fcedb54a43856c92e8446305d15d1a54a' }, h("div", { key: 'bceaddf6dcc35e5a22cad12e661c17f716fd165e', class: "parent-container" }, h("div", { key: '17834a249ffbbbd3ee54617fa2f2224816dd59b1', class: "inputBottomSeparation" }, h("calcite-input", { key: '372ceefe695e7c54a4ad35cf5b496202037fd57c', id: "item-title", value: this.itemDetails.title })), h("div", { key: 'fc356bd1e3bb965b7555dcea9fccfce44ca96a31', class: "inputBottomSeparation" }, h("input", { key: '11dc51158e385025d139372682b33d2093956a50', accept: ".jpg,.gif,.png,image/jpg,image/gif,image/png", class: "display-none", onChange: (event) => (this._updateThumbnail(event)), ref: (el) => (this.browseForThumbnail = el), type: "file" }), h("button", { key: 'abc5c96ec20adb16026fd6a7c3eb41871512d360', class: "font-size--3 btn-link inline-block trailer-quarter", onClick: () => this._getThumbnail() }, h("svg", { key: '35ce23e7fe17e7f45110e028ddb0c31e033f6f34', class: "icon-inline icon-inline--on-left", height: "16", viewBox: "0 0 16 16", width: "16" }, h("path", { key: '0bab7e61e1261db38a1a62dd085f63de5993a640', d: "M14.792 2.666l-1.414-1.413a.965.965 0 0 0-1.385-.03l-1.444 1.444-8.763 8.72L.03 15.481a.371.371 0 0 0 .488.488l4.096-1.756 8.763-8.72-.001-.001.002.002 1.443-1.444a.965.965 0 0 0-.03-1.385zM1.569 14.431l.554-1.293.74.739zm2.338-.924l-1.414-1.414 7.963-7.92 1.414 1.415zm8.67-8.626l-1.413-1.414 1.29-1.29a.306.306 0 0 1 .433 0l.981.98a.306.306 0 0 1 0 .433z" })), this._translations.editThumbnail), h("div", { key: '4dff94a716f70a350168ae123f0afb41f360fb3b', class: "flex" }, h("div", { key: 'bda8e51d80a72f221eb02ea915609b1e2175a56f', class: "img-container", ref: (el) => (this.thumbnailContainer = el) }, h("img", { key: '3b606e141fae758b24d6114d7433cfdec9570ba9', class: "scale-down", height: "133", id: "item-thumbnail", ref: (el) => (this.thumbnail = el), width: "200" })), h("div", { key: '3f5c6fd680a45c754e2b798566776363e94bf307', class: "snippet-count-container" }, h("calcite-input", { key: '3d35c224c6d8b34483712e392aeca8a87e0d0810', id: "item-snippet", maxLength: 250, type: "textarea", value: this.itemDetails.snippet }), h("label", { key: '1aecd6515a83c523c991d5ccd9516ff14384a13a', class: "font-size--3", id: "item-snippet-count", ref: (el) => (this.itemSnippetCount = el) })))), h("calcite-label", { key: '3052a4847edc5afd336a763e8e6933694aad9d6d' }, this._translations.description, h("label", { key: '595de020ea7e1e5b61296f7c9b17f1a02a0741e0', id: "item-description-label" }, h("calcite-input", { key: '135cb36c76f6462aa470f9b7680ebefa6be60018', id: "item-description", type: "textarea", value: this.itemDetails.description }))), h("calcite-label", { key: '8f51b5f1d2607e040b6a94920d2f581b3595838f' }, this._translations.tags, h("label", { key: '21b84a7bcb9d5b8b56e7b6ccee0b49e940e1faf3', id: "item-tags-label" }, h("calcite-input", { key: '8f3b14471019c703944e531abca80b01751b04e1', id: "item-tags", value: (this.itemDetails.tags && Array.isArray(this.itemDetails.tags) ? this.itemDetails.tags : [this.itemDetails.tags]).join(",") }))), this.itemType !== "Group" ? h("calcite-label", null, this._translations.credits, h("label", { id: "item-credits-label" }, h("calcite-input", { id: "item-credits", value: this.itemDetails.accessInformation }))) : null, this.itemType !== "Group" ? h("calcite-label", null, h("label", { id: "item-terms-label" }, this._translations.termsOfUse, h("calcite-input", { id: "item-terms", type: "textarea", value: this.itemDetails.licenseInfo }))) : null)));
60
60
  }
61
61
  componentDidRender() {
62
62
  this._loadThumb();
@@ -26,7 +26,7 @@ const SolutionItemIcon = /*@__PURE__*/ proxyCustomElement(class SolutionItemIcon
26
26
  * Renders the component.
27
27
  */
28
28
  render() {
29
- return h("div", { key: 'b09dad770feb6278f79ffb9351e8907bfc9ab71c', title: this.type }, h("img", { key: '58f68fa8835383382fa7d9bcf86f597e2557868b', class: "item-type-icon item-type-icon-margin", height: "16", src: this._getIconUrl(this.type, this.typeKeywords), width: "16" }));
29
+ return h("div", { key: '79a661148dd8e3bd73229b642b8253c525e3d747', title: this.type }, h("img", { key: 'e0b21dbd11b8edc4abfdb9af39b40c774b830753', class: "item-type-icon item-type-icon-margin", height: "16", src: this._getIconUrl(this.type, this.typeKeywords), width: "16" }));
30
30
  }
31
31
  //--------------------------------------------------------------------------
32
32
  //
@@ -42,7 +42,7 @@ const SolutionItemSharing = /*@__PURE__*/ proxyCustomElement(class SolutionItemS
42
42
  * Renders the component.
43
43
  */
44
44
  render() {
45
- return (h(Host, { key: '63291062c3de65e5b1be43c8b4ad576dec5bc03d' }, h("div", { key: '3d85e17d3a1b62ebddf941d2cf2d7003fb09fa3e', class: "container-border" }, h("calcite-label", { key: '0c4266ddfa4e38fa61d2963a18263af08139a38d' }, this._translations.groupInfo), this._renderItems(this.sharing))));
45
+ return (h(Host, { key: '6a9facacd8961a53dd4e49082def5573732d49bf' }, h("div", { key: '6eaf512253573a4db25ec64ebe1439228df4845d', class: "container-border" }, h("calcite-label", { key: 'db5680d010759bdb28b774293b8ae1522c9d8052' }, this._translations.groupInfo), this._renderItems(this.sharing))));
46
46
  }
47
47
  //--------------------------------------------------------------------------
48
48
  //
@@ -41,7 +41,7 @@ const SolutionOrganizationVariables = /*@__PURE__*/ proxyCustomElement(class Sol
41
41
  * Renders the component.
42
42
  */
43
43
  render() {
44
- return (h(Host, { key: '76e0f912c6793c1ef3f8a7f1c30bf8150ee56b11' }, h("div", { key: '08466bae42b7911d81f0047024d53cc759486545' }, h("h4", { key: 'b14ce6b8dbc48e7772b4dff6ce7568789012b497', class: "org-var-header" }, this._translations.orgVariables)), h("div", { key: '0da50a1ff0dbcd341cf98f7319255ef2d0e922c7', class: "container-border" }, h("calcite-tree", { key: '463beeb427ed3358ce9358c1363ff0f62a34a714', id: "variable-label" }, this._renderHierarchy(this._organizationVariables)))));
44
+ return (h(Host, { key: '99ef09d7f851a57d42c7f7ad5cd6e303b9508d17' }, h("div", { key: '7217187249febdbbf3899d96cdbb2a45474343b7' }, h("h4", { key: 'd5d01648936de6726d7422f81f58ad998574ea87', class: "org-var-header" }, this._translations.orgVariables)), h("div", { key: '22d6f7fb4b0d8f570dbcf9dcac08dce7e2f6383e', class: "container-border" }, h("calcite-tree", { key: '5f21f4fc4b378da1b144dbeb1e19df2f43bcee61', id: "variable-label" }, this._renderHierarchy(this._organizationVariables)))));
45
45
  }
46
46
  //--------------------------------------------------------------------------
47
47
  //
@@ -59,7 +59,7 @@ const SolutionResourceItem = /*@__PURE__*/ proxyCustomElement(class SolutionReso
59
59
  */
60
60
  render() {
61
61
  const hasValidResources = this._hasValidResources();
62
- return (h(Host, { key: '106f481657df3169901b74a9a44254cb60ebcbc1' }, h("div", { key: 'de5496a1f9ee00d881960691112af008fa3348e0', class: "resource-item" }, h("div", { key: 'df37567b6feebe82f0c642d11df50ae2a60b4c85', class: "margin-bottom-1" }, h("calcite-button", { key: '043e569dc938d27c7b2f007fc818791d3cecf266', appearance: "solid", class: "resource-button", color: "blue", onClick: () => this._addNewResource() }, this._translations.addResource), h("calcite-button", { key: 'be01e64fb47fa243dbcf9f0b5f387152b6da7f57', appearance: "solid", color: "blue", disabled: !hasValidResources, onClick: () => this._downloadAll() }, this._translations.downloadAll)), h("div", { key: '5a08b047d2bdbb5ee3c7f46ebc1b75c27d08b450', class: "resources-container", style: { display: hasValidResources ? "inherit" : "none" } }, this._renderResourceList()))));
62
+ return (h(Host, { key: 'eb76345d460620ea6229c1ac94eaf5dec9943c1e' }, h("div", { key: '8dfb91c0ca0d4201940e29bcb809002da1cd9d76', class: "resource-item" }, h("div", { key: 'a6ec9664d267c25eada0432e6825369fdc82676f', class: "margin-bottom-1" }, h("calcite-button", { key: 'd84827e9dbe4ad68544430c007b28c5e9929e076', appearance: "solid", class: "resource-button", color: "blue", onClick: () => this._addNewResource() }, this._translations.addResource), h("calcite-button", { key: 'd88b2928ca6994054f899823701327ece50a937b', appearance: "solid", color: "blue", disabled: !hasValidResources, onClick: () => this._downloadAll() }, this._translations.downloadAll)), h("div", { key: '445c0c3e2deb3b546f4c84186a148e8888477d13', class: "resources-container", style: { display: hasValidResources ? "inherit" : "none" } }, this._renderResourceList()))));
63
63
  }
64
64
  _removedResources = {};
65
65
  //--------------------------------------------------------------------------
@@ -50,7 +50,7 @@ const SolutionSpatialRef = /*@__PURE__*/ proxyCustomElement(class SolutionSpatia
50
50
  }
51
51
  render() {
52
52
  this._updateUIFromStore();
53
- return (h(Host, { key: '68fd2c3252945db218075d37c50882c61844062a' }, h("label", { key: '1f8b3c293fa91ebfe1a1355a6759cdec714db574', class: "switch-label" }, h("calcite-switch", { key: 'c75c9adcda04e9fad111517e5b4592ffc697be2b', checked: this.enabled, class: "spatial-ref-switch", onCalciteSwitchChange: (event) => this.enabled = event.target.checked, scale: "m" }), this._translations.enableSpatialReference), h("br", { key: '532569ffbdb0142b4d75b15809f9dbb18a5b7fcf' }), h("div", { key: '34cd37abd6a5d3017f7d68c0e96727d221069c80', class: "spatial-ref-component", id: "spatialRefDefn" }, this._renderFeatureServicesList(this.featureServices)), h("label", { key: '882f235fc7382fd493c9f9b1d2f05830a8e4632c', class: "switch-label spatial-ref-component" }, h("calcite-switch", { key: '16833cff9ecf4ca2565a1f81e9e41d9658dfcac3', checked: this.enableDefault, class: "spatial-ref-switch", disabled: !this.enabled, onCalciteSwitchChange: (event) => this.enableDefault = event.target.checked, scale: "m" }), this._translations.enableDefaultSpatialReference)));
53
+ return (h(Host, { key: 'ca1dd62000a2fdbd82a00830fc3ac94b47db73f7' }, h("label", { key: 'fa1ca79af87525ce25a6acf0a5b6a093429f5b77', class: "switch-label" }, h("calcite-switch", { key: '8dbcdbc8f417dfe1a05578fc9bbf3417ae93abfb', checked: this.enabled, class: "spatial-ref-switch", onCalciteSwitchChange: (event) => this.enabled = event.target.checked, scale: "m" }), this._translations.enableSpatialReference), h("br", { key: 'd3c2296bf3568e7b5b167fe0516184ae0c2d26f1' }), h("div", { key: 'fee9eac900cae65363658fa769347c3db0783007', class: "spatial-ref-component", id: "spatialRefDefn" }, this._renderFeatureServicesList(this.featureServices)), h("label", { key: '317e1422cdcb2147a961f2edfbcedb30c4246f6d', class: "switch-label spatial-ref-component" }, h("calcite-switch", { key: '6f0b7eb7216d0a663e5f2d436b7523b2d2301841', checked: this.enableDefault, class: "spatial-ref-switch", disabled: !this.enabled, onCalciteSwitchChange: (event) => this.enableDefault = event.target.checked, scale: "m" }), this._translations.enableDefaultSpatialReference)));
54
54
  }
55
55
  //--------------------------------------------------------------------------
56
56
  //
@@ -79,7 +79,7 @@ const SolutionTemplateData = /*@__PURE__*/ proxyCustomElement(class SolutionTemp
79
79
  * Renders the component.
80
80
  */
81
81
  render() {
82
- return (h(Host, { key: 'b907b06222070e2d3c6c6df2d84f76de0f0eb38c' }, h("div", { key: 'ee0602b96a42abffbe304ab87e3509c3becd7a20', class: "solution-data-container" }, h("calcite-shell", { key: 'bda449f2095f54307e36da0cad30c9925dce71d1', class: "light var-container", dir: "ltr" }, h("calcite-panel", { key: '258b22d836fcbc1b673922f153aaa706265499e4', class: "json-editor" }, h("div", { key: 'e8a68cc1f67ea6884ecb69d260fe8c75720e6507', class: "solution-data-child-container calcite-match-height" }, h("json-editor", { key: 'fcdc35e68a49f118344e9f6e680d00695cb0627f', class: "solution-data-editor-container", instanceid: this.itemId + "|" + this.instanceid, value: this.value }))), h("calcite-shell-panel", { key: '8491cafb36bc5ec37e3a4162cf4ccf754c27f168', "height-scale": "l", position: "end", slot: "contextual-panel", "width-scale": "xs" }, h("div", { key: '100427789b8741e91578272e1c6599ea3274e841', class: this.varsOpen ? "solution-data-child-container" : "solution-data-child-container-collapsed" }, h("calcite-button", { key: '698c51a7ef4ed24f4729999a92e2b2d65919b130', appearance: "transparent", class: "collapse-btn", "icon-start": this.varsOpen ? "chevrons-right" : "chevrons-left", id: "collapse-vars", onClick: () => this._toggleVars(), scale: "s", title: this.varsOpen ? this._translations.collapse : this._translations.expand }), h("div", { key: 'd75faf0b3baa7a770603a5e64b310fa537c66a5b', class: this.varsOpen ? "org-vars" : "org-vars display-none", id: "orgVars" }, h("solution-organization-variables", { key: '0d87e21946cc7414d577fce30b58d6633faa48ce', value: this.organizationVariables })), h("div", { key: '74c325d0174842c55d3ec44b8230450048460d57', class: this.varsOpen ? "sol-vars" : "sol-vars display-none", id: "solVars" }, h("solution-variables", { key: 'e91eb808161167ccf62771a81d42c07446642791', value: this.solutionVariables }))))))));
82
+ return (h(Host, { key: '78d31b01a7b3aac5e3b63ec59fa0225e662c3532' }, h("div", { key: '84ad00f60d5ad98fc14fad50b2db93844e54a842', class: "solution-data-container" }, h("calcite-shell", { key: '0e56c32e9ba92e9e536ce16f30db4e59d1c71094', class: "light var-container", dir: "ltr" }, h("calcite-panel", { key: 'ab251fe749493d11b61359f3f018fa87917d83c6', class: "json-editor" }, h("div", { key: '94be603b8c03bccbcc31293839d633ffa0ca5b15', class: "solution-data-child-container calcite-match-height" }, h("json-editor", { key: '76a5a31ae0dc54d59a300e0d6cc6b543e994d322', class: "solution-data-editor-container", instanceid: this.itemId + "|" + this.instanceid, value: this.value }))), h("calcite-shell-panel", { key: '5405b6aa574c721965bbdd4aabf90981f82c7da7', "height-scale": "l", position: "end", slot: "contextual-panel", "width-scale": "xs" }, h("div", { key: 'e7b57aa1f91e479a7538b5bb60fff9ff096bc9c9', class: this.varsOpen ? "solution-data-child-container" : "solution-data-child-container-collapsed" }, h("calcite-button", { key: 'ddd017fee5c66d79cd2c6239b847aacef9e04070', appearance: "transparent", class: "collapse-btn", "icon-start": this.varsOpen ? "chevrons-right" : "chevrons-left", id: "collapse-vars", onClick: () => this._toggleVars(), scale: "s", title: this.varsOpen ? this._translations.collapse : this._translations.expand }), h("div", { key: 'a45aec86952e3172c76153b01a54076d97050de9', class: this.varsOpen ? "org-vars" : "org-vars display-none", id: "orgVars" }, h("solution-organization-variables", { key: 'e138b7ec4c256c916ef52cef6d17f0d9a839d506', value: this.organizationVariables })), h("div", { key: '9444585d82bc85f2cf535ecc8921b2d3f67b398d', class: this.varsOpen ? "sol-vars" : "sol-vars display-none", id: "solVars" }, h("solution-variables", { key: '030de51ff885c3ddf549fc4898c31ec23bb0d303', value: this.solutionVariables }))))))));
83
83
  }
84
84
  _initializing = false;
85
85
  //--------------------------------------------------------------------------
@@ -42,7 +42,7 @@ const SolutionVariables = /*@__PURE__*/ proxyCustomElement(class SolutionVariabl
42
42
  * Renders the component.
43
43
  */
44
44
  render() {
45
- return (h(Host, { key: '433753b4da6f9f84d1f0e205523530cfdf07f6cd' }, h("div", { key: '5ae081220ce5c01e89ae7c4f8167e5d8b80d818b' }, h("h4", { key: 'bcbe1103c8e52db304b2d90ced42acd7d3dd2974', class: "org-var-header" }, this._translations.solVariables)), h("div", { key: '869027e1f0351685570f15e062e89cba32fefac5', class: "container-border" }, h("calcite-tree", { key: 'cc5d2c6fae7154cdbacb990d917830696d79e6c3', id: "variable-label" }, this._renderHierarchy(this._solutionVariables)))));
45
+ return (h(Host, { key: '5d3ed27bced41fb6bf6c393ddde152fb0056d25b' }, h("div", { key: 'cb05d3c237719abd539b21b38968a41364c1880e' }, h("h4", { key: '367eb15af209dfed31b43f705fb6de05e25bb374', class: "org-var-header" }, this._translations.solVariables)), h("div", { key: '10142202269a9f2eaa82c0b50a1980d9f3051208', class: "container-border" }, h("calcite-tree", { key: 'd89353a7fe357851a697df036ae7795154254759', id: "variable-label" }, this._renderHierarchy(this._solutionVariables)))));
46
46
  }
47
47
  //--------------------------------------------------------------------------
48
48
  //
@@ -21102,7 +21102,7 @@ const SpatialRef$1 = /*@__PURE__*/ proxyCustomElement(class SpatialRef extends H
21102
21102
  * Renders the component.
21103
21103
  */
21104
21104
  render() {
21105
- return (h(Host, { key: 'ebf7416144e568c0ed1552aceb6e8cee0132878b' }, h("div", { key: 'd4976856daace4a85b2ca5cb88861a10be95ec79' }, h("calcite-input", { key: '8e12605892c8f2777954984a61706a97805e76f9', disabled: this.disabled, id: "calcite-sr-search", onKeyUp: (evt) => this._searchInputKeyDown(evt), placeholder: this._translations.spatialReferencePlaceholder }), h("calcite-tree", { key: 'ac6b9c9bf7f49efdd6bd4b41da6130be9486fcc1', id: "calcite-sr-tree", slot: "children" }, this._getTreeContent()))));
21105
+ return (h(Host, { key: 'f723d08854c429ea7eb3e9c5588089a5dd614440' }, h("div", { key: '5f91149d48e5df3f01479bec291d97c569ffd5d7' }, h("calcite-input", { key: 'fa6cd1622e62b9c830999afc0940adddabbcc2c2', disabled: this.disabled, id: "calcite-sr-search", onKeyUp: (evt) => this._searchInputKeyDown(evt), placeholder: this._translations.spatialReferencePlaceholder }), h("calcite-tree", { key: '02e651be4895c57ddb0fbf319c5a41b5dc39472c', id: "calcite-sr-tree", slot: "children" }, this._getTreeContent()))));
21106
21106
  }
21107
21107
  _lastHighlightedSref;
21108
21108
  //--------------------------------------------------------------------------
@@ -39,6 +39,12 @@ var ECalciteMode;
39
39
  ECalciteMode["Dark"] = "calcite-mode-dark";
40
40
  })(ECalciteMode || (ECalciteMode = {}));
41
41
 
42
+ const CKEditorStyles = `
43
+ .instant-apps-language-translator-item__nested-input .ck.ck-reset.ck-editor.ck-rounded-corners {
44
+ margin-left: 30px !important;
45
+ }
46
+ `;
47
+
42
48
  const LanguageTranslatorStore = createStore({
43
49
  uiData: null,
44
50
  currentLanguage: null,
@@ -117,5 +123,20 @@ function getLocales(localeItems) {
117
123
  function isCalciteModeDark() {
118
124
  return document.body.classList.contains(ECalciteMode.Dark);
119
125
  }
126
+ function initExternalCKEditorStyles() {
127
+ const style = document.createElement('style');
128
+ style.innerHTML = CKEditorStyles;
129
+ document.head.appendChild(style);
130
+ }
131
+ async function updateLastSave(resource) {
132
+ const data = await resource.fetch();
133
+ const lastSave = Date.now();
134
+ store.set('lastSave', lastSave);
135
+ const dataStr = JSON.stringify(Object.assign(Object.assign({}, data), { lastSave }));
136
+ const blobParts = [dataStr];
137
+ const options = { type: 'application/json' };
138
+ const blob = new Blob(blobParts, options);
139
+ resource.update(blob);
140
+ }
120
141
 
121
- export { EIcons as E, generateUIData as a, getLocales as b, getUIDataKeys as c, ESettingType as d, ECalciteMode as e, EInputType as f, getMessages as g, getT9nData as h, isCalciteModeDark as i, languageTranslatorState as l, store as s };
142
+ export { EIcons as E, generateUIData as a, getLocales as b, getUIDataKeys as c, ESettingType as d, isCalciteModeDark as e, ECalciteMode as f, getMessages as g, EInputType as h, initExternalCKEditorStyles as i, getT9nData as j, languageTranslatorState as l, store as s, updateLastSave as u };
@@ -4,7 +4,7 @@
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
6
  import { f as forceUpdate, h } from './index-b793d9aa.js';
7
- import { a as getElementDir } from './dom-63d2d41c.js';
7
+ import { h as getElementDir } from './dom-42a638f6.js';
8
8
  import { S as SLOTS$1 } from './resources-244d70ca.js';
9
9
  import { S as SLOTS } from './resources-d7e0fbbf.js';
10
10
 
@@ -3,25 +3,25 @@
3
3
  * Licensed under the Apache License, Version 2.0
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
- import { d as dayjs } from './calcite-input-time-picker-66e7a9f3.js';
6
+ import { d as dayjs } from './calcite-input-time-picker-2fbabd28.js';
7
7
  import './index-b793d9aa.js';
8
- import './form-08e1bcb7.js';
9
- import './dom-63d2d41c.js';
8
+ import './form-46367137.js';
9
+ import './dom-42a638f6.js';
10
10
  import './guid-42656051.js';
11
11
  import './resources-745dec87.js';
12
12
  import './interactive-b2a41b8b.js';
13
13
  import './browser-a791205e.js';
14
14
  import './key-d6dfb50e.js';
15
- import './label-4c4e06d6.js';
15
+ import './label-f2ec1100.js';
16
16
  import './component-d35983a4.js';
17
17
  import './loadable-1a9b14b8.js';
18
- import './locale-4441c976.js';
18
+ import './locale-a53a7bc6.js';
19
19
  import './observers-6cac5525.js';
20
- import './focusTrapComponent-833b1234.js';
20
+ import './focusTrapComponent-c1def619.js';
21
21
  import './config-8d1c3431.js';
22
- import './time-a7f1020b.js';
22
+ import './time-f99aceff.js';
23
23
  import './math-9afe1f6d.js';
24
- import './t9n-b7ea1a61.js';
24
+ import './t9n-b33c486a.js';
25
25
  import './Validation-bd0a53ec.js';
26
26
  import './input-7f3fc18b.js';
27
27
 
@@ -3,25 +3,25 @@
3
3
  * Licensed under the Apache License, Version 2.0
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
- import { d as dayjs } from './calcite-input-time-picker-66e7a9f3.js';
6
+ import { d as dayjs } from './calcite-input-time-picker-2fbabd28.js';
7
7
  import './index-b793d9aa.js';
8
- import './form-08e1bcb7.js';
9
- import './dom-63d2d41c.js';
8
+ import './form-46367137.js';
9
+ import './dom-42a638f6.js';
10
10
  import './guid-42656051.js';
11
11
  import './resources-745dec87.js';
12
12
  import './interactive-b2a41b8b.js';
13
13
  import './browser-a791205e.js';
14
14
  import './key-d6dfb50e.js';
15
- import './label-4c4e06d6.js';
15
+ import './label-f2ec1100.js';
16
16
  import './component-d35983a4.js';
17
17
  import './loadable-1a9b14b8.js';
18
- import './locale-4441c976.js';
18
+ import './locale-a53a7bc6.js';
19
19
  import './observers-6cac5525.js';
20
- import './focusTrapComponent-833b1234.js';
20
+ import './focusTrapComponent-c1def619.js';
21
21
  import './config-8d1c3431.js';
22
- import './time-a7f1020b.js';
22
+ import './time-f99aceff.js';
23
23
  import './math-9afe1f6d.js';
24
- import './t9n-b7ea1a61.js';
24
+ import './t9n-b33c486a.js';
25
25
  import './Validation-bd0a53ec.js';
26
26
  import './input-7f3fc18b.js';
27
27
 
@@ -3,25 +3,25 @@
3
3
  * Licensed under the Apache License, Version 2.0
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
- import { d as dayjs } from './calcite-input-time-picker-66e7a9f3.js';
6
+ import { d as dayjs } from './calcite-input-time-picker-2fbabd28.js';
7
7
  import './index-b793d9aa.js';
8
- import './form-08e1bcb7.js';
9
- import './dom-63d2d41c.js';
8
+ import './form-46367137.js';
9
+ import './dom-42a638f6.js';
10
10
  import './guid-42656051.js';
11
11
  import './resources-745dec87.js';
12
12
  import './interactive-b2a41b8b.js';
13
13
  import './browser-a791205e.js';
14
14
  import './key-d6dfb50e.js';
15
- import './label-4c4e06d6.js';
15
+ import './label-f2ec1100.js';
16
16
  import './component-d35983a4.js';
17
17
  import './loadable-1a9b14b8.js';
18
- import './locale-4441c976.js';
18
+ import './locale-a53a7bc6.js';
19
19
  import './observers-6cac5525.js';
20
- import './focusTrapComponent-833b1234.js';
20
+ import './focusTrapComponent-c1def619.js';
21
21
  import './config-8d1c3431.js';
22
- import './time-a7f1020b.js';
22
+ import './time-f99aceff.js';
23
23
  import './math-9afe1f6d.js';
24
- import './t9n-b7ea1a61.js';
24
+ import './t9n-b33c486a.js';
25
25
  import './Validation-bd0a53ec.js';
26
26
  import './input-7f3fc18b.js';
27
27
 
@@ -5,7 +5,7 @@
5
5
  */
6
6
  import { r as registerInstance, c as createEvent, g as getElement, h, H as Host } from './index-b793d9aa.js';
7
7
  import { l as loadModules, g as getLocaleComponentStrings } from './locale-b1d53fb1.js';
8
- import { z as setRequestedIcon } from './dom-63d2d41c.js';
8
+ import { z as setRequestedIcon } from './dom-42a638f6.js';
9
9
  import { f as EDrawMode } from './interfaces-659e3836.js';
10
10
  import { s as state } from './publicNotificationStore-7b0b97b6.js';
11
11
  import './esri-loader-c6842c6b.js';