@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
@@ -4,7 +4,7 @@
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
6
  import { c as commonjsGlobal, g as getDefaultExportFromCjs } from './_commonjsHelpers-089957fe.js';
7
- import { b as _typeof$1 } from './downloadUtils-d1f791c5.js';
7
+ import { b as _typeof$1 } from './downloadUtils-4a34c86a.js';
8
8
  import './index-b793d9aa.js';
9
9
  import './locale-b1d53fb1.js';
10
10
  import './esri-loader-c6842c6b.js';
@@ -2200,33 +2200,28 @@ $$9({ target: 'Promise', stat: true, forced: FORCED_PROMISE_CONSTRUCTOR }, {
2200
2200
  var asyncToGenerator = {exports: {}};
2201
2201
 
2202
2202
  (function (module) {
2203
- function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
2203
+ function asyncGeneratorStep(n, t, e, r, o, a, c) {
2204
2204
  try {
2205
- var info = gen[key](arg);
2206
- var value = info.value;
2207
- } catch (error) {
2208
- reject(error);
2209
- return;
2210
- }
2211
- if (info.done) {
2212
- resolve(value);
2213
- } else {
2214
- Promise.resolve(value).then(_next, _throw);
2205
+ var i = n[a](c),
2206
+ u = i.value;
2207
+ } catch (n) {
2208
+ return void e(n);
2215
2209
  }
2210
+ i.done ? t(u) : Promise.resolve(u).then(r, o);
2216
2211
  }
2217
- function _asyncToGenerator(fn) {
2212
+ function _asyncToGenerator(n) {
2218
2213
  return function () {
2219
- var self = this,
2220
- args = arguments;
2221
- return new Promise(function (resolve, reject) {
2222
- var gen = fn.apply(self, args);
2223
- function _next(value) {
2224
- asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
2214
+ var t = this,
2215
+ e = arguments;
2216
+ return new Promise(function (r, o) {
2217
+ var a = n.apply(t, e);
2218
+ function _next(n) {
2219
+ asyncGeneratorStep(a, r, o, _next, _throw, "next", n);
2225
2220
  }
2226
- function _throw(err) {
2227
- asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
2221
+ function _throw(n) {
2222
+ asyncGeneratorStep(a, r, o, _next, _throw, "throw", n);
2228
2223
  }
2229
- _next(undefined);
2224
+ _next(void 0);
2230
2225
  });
2231
2226
  };
2232
2227
  }
@@ -3373,44 +3368,38 @@ var toPrimitive = {exports: {}};
3373
3368
 
3374
3369
  (function (module) {
3375
3370
  var _typeof = _typeof$1.exports["default"];
3376
- function _toPrimitive(input, hint) {
3377
- if (_typeof(input) !== "object" || input === null) return input;
3378
- var prim = input[Symbol.toPrimitive];
3379
- if (prim !== undefined) {
3380
- var res = prim.call(input, hint || "default");
3381
- if (_typeof(res) !== "object") return res;
3371
+ function toPrimitive(t, r) {
3372
+ if ("object" != _typeof(t) || !t) return t;
3373
+ var e = t[Symbol.toPrimitive];
3374
+ if (void 0 !== e) {
3375
+ var i = e.call(t, r || "default");
3376
+ if ("object" != _typeof(i)) return i;
3382
3377
  throw new TypeError("@@toPrimitive must return a primitive value.");
3383
3378
  }
3384
- return (hint === "string" ? String : Number)(input);
3379
+ return ("string" === r ? String : Number)(t);
3385
3380
  }
3386
- module.exports = _toPrimitive, module.exports.__esModule = true, module.exports["default"] = module.exports;
3381
+ module.exports = toPrimitive, module.exports.__esModule = true, module.exports["default"] = module.exports;
3387
3382
  }(toPrimitive));
3388
3383
 
3389
3384
  (function (module) {
3390
3385
  var _typeof = _typeof$1.exports["default"];
3391
3386
  var toPrimitive$1 = toPrimitive.exports;
3392
- function _toPropertyKey(arg) {
3393
- var key = toPrimitive$1(arg, "string");
3394
- return _typeof(key) === "symbol" ? key : String(key);
3387
+ function toPropertyKey(t) {
3388
+ var i = toPrimitive$1(t, "string");
3389
+ return "symbol" == _typeof(i) ? i : i + "";
3395
3390
  }
3396
- module.exports = _toPropertyKey, module.exports.__esModule = true, module.exports["default"] = module.exports;
3391
+ module.exports = toPropertyKey, module.exports.__esModule = true, module.exports["default"] = module.exports;
3397
3392
  }(toPropertyKey$1));
3398
3393
 
3399
3394
  (function (module) {
3400
3395
  var toPropertyKey = toPropertyKey$1.exports;
3401
- function _defineProperty(obj, key, value) {
3402
- key = toPropertyKey(key);
3403
- if (key in obj) {
3404
- Object.defineProperty(obj, key, {
3405
- value: value,
3406
- enumerable: true,
3407
- configurable: true,
3408
- writable: true
3409
- });
3410
- } else {
3411
- obj[key] = value;
3412
- }
3413
- return obj;
3396
+ function _defineProperty(e, r, t) {
3397
+ return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
3398
+ value: t,
3399
+ enumerable: !0,
3400
+ configurable: !0,
3401
+ writable: !0
3402
+ }) : e[r] = t, e;
3414
3403
  }
3415
3404
  module.exports = _defineProperty, module.exports.__esModule = true, module.exports["default"] = module.exports;
3416
3405
  }(defineProperty));
@@ -0,0 +1,102 @@
1
+ /*!
2
+ * Copyright 2022 Esri
3
+ * Licensed under the Apache License, Version 2.0
4
+ * http://www.apache.org/licenses/LICENSE-2.0
5
+ */
6
+ import { r as registerInstance, h, H as Host, g as getElement } from './index-b793d9aa.js';
7
+ import { g as getMessages } from './locale-a34f9f04.js';
8
+ import './loadModules-03ba7abe.js';
9
+ import './esri-loader-c6842c6b.js';
10
+ import './_commonjsHelpers-089957fe.js';
11
+ import './languageUtil-2b6e191a.js';
12
+
13
+ class AppGuideViewModel {
14
+ constructor() {
15
+ this.pages = [];
16
+ }
17
+ addPage(page) {
18
+ this.pages = [...this.pages, page];
19
+ }
20
+ removePage(page) {
21
+ this.pages = this.pages.filter(p => p !== page);
22
+ }
23
+ }
24
+
25
+ const instantAppsAppGuideCss = ":host{--instant-apps-app-guide-width:300px;--instant-apps-app-guide-height:400px;--instant-apps-app-guide-list-item-bubble-size:22px;width:var(--instant-apps-app-guide-width);height:var(--instant-apps-app-guide-height);display:block}:host calcite-panel{max-width:var(--instant-apps-app-guide-width);max-height:var(--instant-apps-app-guide-height);display:flex}:host calcite-carousel{flex:1;overflow:scroll;height:-moz-fit-content;height:fit-content;background-color:var(--calcite-color-foreground-1)}:host [slot=header-content]{display:flex;gap:var(--calcite-spacing-sm);padding-inline-start:0.25rem}:host .content-heading{font-weight:var(--calcite-font-weight-bold);display:flex;gap:var(--calcite-spacing-sm);line-height:var(--calcite-font-line-height-fixed-lg)}:host calcite-carousel-item{flex-grow:1;display:flex;flex-direction:column}:host .instant-apps-app-guide__content-wrapper{padding-block-start:0.5rem;padding-inline:0.5rem;flex-shrink:1;flex-grow:0}:host calcite-icon{--calcite-ui-icon-color:var(--calcite-color-brand)}:host .instant-apps-app-guide__content-list{counter-set:item-counter;margin-inline:0;padding-inline-start:var(--calcite-spacing-xxxl);padding-inline-end:var(--calcite-spacing-lg);position:relative}:host .instant-apps-app-guide__content-list .instant-apps-app-guide__content-list--item{counter-increment:item-counter;margin-block-start:var(--calcite-spacing-lg);display:flex;align-items:flex-start}:host .instant-apps-app-guide__content-list .instant-apps-app-guide__content-list--item::before{content:counter(item-counter);background-color:var(--calcite-color-text-2);color:var(--calcite-color-text-inverse);line-height:var(--calcite-font-line-height-fixed-xl);width:var(--instant-apps-app-guide-list-item-bubble-size);left:0;border-radius:var(--calcite-corner-radius-pill);display:flex;justify-content:center;font-size:var(--calcite-font-size-sm);position:absolute;max-height:var(--instant-apps-app-guide-list-item-bubble-size)}:host .instant-apps-app-guide__content-list .instant-apps-app-guide__content-list--item::marker{color:var(--calcite-color-transparent)}";
26
+ const InstantAppsAppGuideStyle0 = instantAppsAppGuideCss;
27
+
28
+ const CSS = {
29
+ contentList: 'instant-apps-app-guide__content-list',
30
+ contentListItem: 'instant-apps-app-guide__content-list--item',
31
+ contentWrapper: 'instant-apps-app-guide__content-wrapper'
32
+ };
33
+ const InstantAppsAppGuide = class {
34
+ constructor(hostRef) {
35
+ registerInstance(this, hostRef);
36
+ this._viewModel = new AppGuideViewModel();
37
+ this.header = true;
38
+ this.data = undefined;
39
+ this.messages = undefined;
40
+ this.headerText = undefined;
41
+ }
42
+ watchPropHandler(newValue) {
43
+ this._viewModel.pages = newValue;
44
+ this._updateHeaderText();
45
+ }
46
+ connectedCallback() {
47
+ var _a, _b, _c, _d;
48
+ this._viewModel.pages = (this === null || this === void 0 ? void 0 : this.data) || [];
49
+ this.headerText = (_c = (_b = (_a = this === null || this === void 0 ? void 0 : this.data) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.title) !== null && _c !== void 0 ? _c : (_d = this === null || this === void 0 ? void 0 : this.messages) === null || _d === void 0 ? void 0 : _d.headerText;
50
+ }
51
+ componentDidLoad() {
52
+ getMessages(this);
53
+ }
54
+ render() {
55
+ return (h(Host, { key: '3c6bf465e2543e62f8e991a22a4f8b8420556285' }, h("calcite-panel", { key: '15a145d4f930de4325716dcd8b73fdcbbe5fa31e', scale: "s" }, this._renderAppGuideHeader(), h("calcite-carousel", { key: '8f962b828f76b8a68f19b71fb79d3f4c93420e38', onCalciteCarouselChange: () => this._updateHeaderText(), ref: el => this._carouselRef = el, "arrow-type": this._getArrowType() }, this._renderAppGuidePages(this._viewModel.pages)))));
56
+ }
57
+ _updateHeaderText() {
58
+ var _a;
59
+ const { _viewModel, _carouselRef, messages } = this;
60
+ const nodeArray = Array.from(_carouselRef.childNodes);
61
+ const selectedNodeIndex = nodeArray.indexOf(_carouselRef.selectedItem);
62
+ // DOM nodes get updated after the viewModel is updated, so the selectedNodeIndex
63
+ // may be out of bounds of the pages collection in the viewModel when pages are removed.
64
+ // When this happens, we default to the title of the first page.
65
+ const pages = _viewModel === null || _viewModel === void 0 ? void 0 : _viewModel.pages;
66
+ const selectedPage = (_a = pages === null || pages === void 0 ? void 0 : pages[selectedNodeIndex]) !== null && _a !== void 0 ? _a : pages[0];
67
+ this.headerText = (selectedPage === null || selectedPage === void 0 ? void 0 : selectedPage.title) || (messages === null || messages === void 0 ? void 0 : messages.headerText);
68
+ }
69
+ _getArrowType() {
70
+ return this._viewModel.pages.length > 2 ? 'inline' : 'none';
71
+ }
72
+ _renderAppGuideHeader() {
73
+ const { messages, header, headerText } = this;
74
+ const displayHeader = !!header && (messages === null || messages === void 0 ? void 0 : messages.headerText);
75
+ const _headerText = headerText || (messages === null || messages === void 0 ? void 0 : messages.headerText);
76
+ return displayHeader ?
77
+ (h("span", { slot: "header-content" }, _headerText, " ", h("calcite-icon", { icon: "lightbulb", scale: "s" }))) :
78
+ null;
79
+ }
80
+ _renderAppGuidePages(pages) {
81
+ return pages.map((pageData, index) => {
82
+ const { content, type } = pageData;
83
+ return (h("calcite-carousel-item", { key: `page_${index}` }, h("div", { class: CSS.contentWrapper }, this._renderContentItems(content, type))));
84
+ });
85
+ }
86
+ _renderContentItems(content, type) {
87
+ switch (type) {
88
+ case 'list':
89
+ return (h("ol", { class: CSS.contentList }, content.map((contentItem, index) => (h("li", { key: `content-list-item-${index}`, class: CSS.contentListItem }, contentItem)))));
90
+ case 'paragraphs':
91
+ default:
92
+ return content.map((contentItem, index) => (h("p", { key: `content-paragraph-${index}` }, contentItem)));
93
+ }
94
+ }
95
+ get el() { return getElement(this); }
96
+ static get watchers() { return {
97
+ "data": ["watchPropHandler"]
98
+ }; }
99
+ };
100
+ InstantAppsAppGuide.style = InstantAppsAppGuideStyle0;
101
+
102
+ export { InstantAppsAppGuide as instant_apps_app_guide };
@@ -4,7 +4,7 @@
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
6
  import { r as registerInstance, c as createEvent, h, H as Host, g as getElement, F as Fragment } from './index-b793d9aa.js';
7
- import { d as ESettingType, i as isCalciteModeDark, e as ECalciteMode, s as store, f as EInputType, E as EIcons, l as languageTranslatorState, h as getT9nData, c as getUIDataKeys } from './utils-6493bff2.js';
7
+ import { d as ESettingType, e as isCalciteModeDark, f as ECalciteMode, s as store, h as EInputType, E as EIcons, l as languageTranslatorState, j as getT9nData, c as getUIDataKeys } from './utils-6f13e31e.js';
8
8
  import './locale-a34f9f04.js';
9
9
  import './loadModules-03ba7abe.js';
10
10
  import './esri-loader-c6842c6b.js';
@@ -63,7 +63,7 @@ const InstantAppsCkeditorWrapper = class {
63
63
  this.editorInstance.setData(this.value);
64
64
  }
65
65
  render() {
66
- return (h(Host, { key: '4a000cee4310d40e940c97d16f24c78415083f1b' }, h("div", { key: '55b2e7ddd6b259b58e19f8946d2198df1fd7b579' })));
66
+ return (h(Host, { key: '26f62d5413e21916b77253476cf48f69682861d5' }, h("div", { key: '45a9d7b859a21e49c81afdaa3bdd5074f1428cd5' })));
67
67
  }
68
68
  init() {
69
69
  this.applyStyles();
@@ -512,7 +512,7 @@ const InstantAppsLanguageTranslatorSearch = class {
512
512
  this.results = [];
513
513
  }
514
514
  render() {
515
- return (h(Host, { key: '71fa373371b7b33faa8f3d91959dc50b1e3b0f34' }, this.renderSearchInput(), this.renderSuggestions()));
515
+ return (h(Host, { key: '80febf289e2bbfcf09636c84b5a5a83e80f377c0' }, this.renderSearchInput(), this.renderSuggestions()));
516
516
  }
517
517
  renderSearchInput() {
518
518
  return (h("calcite-input", { ref: (node) => (this.searchInput = node), class: CSS.input, onCalciteInputInput: this.handleSearch.bind(this), type: "search", placeholder: this.t9nPlaceholder, icon: "search" }));
@@ -31,7 +31,7 @@ const InstantAppsControlPanel = class {
31
31
  this._handleComponents();
32
32
  }
33
33
  render() {
34
- return (h(Host, { key: 'b4eb66870fea801441c2c4410fce060a7785b66a' }, h("slot", { key: '9fadbc49629b92b3ae909da5171f2f0ae87e2daf', name: SLOT_NAME })));
34
+ return (h(Host, { key: '45edbd93de055768fb4b58e9d12a7570d24bdd22' }, h("slot", { key: '47d507e456dfc86a068948280b21386bc08e735c', name: SLOT_NAME })));
35
35
  }
36
36
  _handleComponents() {
37
37
  const componentsNode = this._getComponentsNode();
@@ -395,7 +395,7 @@ const InstantAppsExportViews = class {
395
395
  }
396
396
  render() {
397
397
  const mode = this.mode === 'popover' ? this.renderPopover() : this.renderPanel();
398
- return (h(Host, { key: '1b0428743837a0f1c176cba3e58af38104f4ac7b' }, h("div", { key: '8d39535015a0e5ab498a66c8757c28ae556bd326', class: this.baseClass, onMouseEnter: this.handleWidgetCreation.bind(this), onFocusin: this.handleWidgetCreation.bind(this) }, mode)));
398
+ return (h(Host, { key: '52f53735afba2085f45bdd8ba64e8e37b48318bb' }, h("div", { key: 'ac8fc3e66ccc5f9c27e25642bbe640c3fc8c7d33', class: this.baseClass, onMouseEnter: this.handleWidgetCreation.bind(this), onFocusin: this.handleWidgetCreation.bind(this) }, mode)));
399
399
  }
400
400
  renderPopover() {
401
401
  var _a, _b, _c;
@@ -404,7 +404,7 @@ const InstantAppsExport = class {
404
404
  render() {
405
405
  const mode = this.mode === 'popover' ? this.renderPopover() : this.renderPanel();
406
406
  const compass = this.renderCompass();
407
- return (h(Host, { key: 'd561a14661edad3e4ad5f0041537acdc1fb724a1' }, h("div", { key: '917848051ac8114c4ba527332c8688791a9c75d0', class: this.baseClass, onMouseEnter: this.handleWidgetCreation.bind(this), onFocusin: this.handleWidgetCreation.bind(this) }, mode, h("div", { key: '3421d8bde7ce6f91062b538f087c155946358e01', class: CSS.hidden }, compass))));
407
+ return (h(Host, { key: 'fb3a0e79a4cdf4d6424677930ef57487a49f323e' }, h("div", { key: 'def184b77f3710ae51f32a094ff3c7e8bc44f648', class: this.baseClass, onMouseEnter: this.handleWidgetCreation.bind(this), onFocusin: this.handleWidgetCreation.bind(this) }, mode, h("div", { key: '5fb0360e9fcbc112e640e1c8c877cfad59cadd14', class: CSS.hidden }, compass))));
408
408
  }
409
409
  renderPopover() {
410
410
  var _a, _b, _c;
@@ -84,7 +84,7 @@ const InstantAppsHeader = class {
84
84
  const title = this.renderTitle();
85
85
  const headerContentClass = this.headerAlignment === 'right' || this.headerAlignment === 'center' ? CSS.headerContent.concat(' ', CSS.alignment[this.headerAlignment]) : CSS.headerContent;
86
86
  const fontFamily = getFontFamily(this.fontFamily);
87
- return (h(Host, { key: '4b3b100dce96ff66679c1d9354dc220cf898b947' }, this.customHeaderHtml ? ([h("style", null, this.customHeaderCss), h("div", { id: "customHeader", innerHTML: this.customHeaderHtml })]) : (h("header", { class: `${CSS.base}${this.dir === 'rtl' ? ` ${CSS.flipRtl}` : ''}${this.logoImage && !hasEmptyLogo ? ` ${CSS.logoHeight}${this.logoScale}` : ` ${CSS.standardHeight}`}`, style: { backgroundColor: this.backgroundColor, fontFamily } }, h("div", { class: CSS.headerContainer }, h("span", { class: headerContentClass }, logo, title, this.infoButton ? (h("calcite-button", { style: { '--calcite-color-text-1': this.textColor }, id: "infoButton", alignment: "start", appearance: "transparent", kind: "neutral", "icon-start": "information-f", scale: "s", label: this.infoTitleText, title: this.infoTitleText, onClick: this.toggleInfo.bind(this) })) : null), h("div", { class: CSS.actionsEndContainer }, h("slot", { name: "actions-end" })))))));
87
+ return (h(Host, { key: 'f2d1760c4a1345ef24c913a24f95691d0de6867d' }, this.customHeaderHtml ? ([h("style", null, this.customHeaderCss), h("div", { id: "customHeader", innerHTML: this.customHeaderHtml })]) : (h("header", { class: `${CSS.base}${this.dir === 'rtl' ? ` ${CSS.flipRtl}` : ''}${this.logoImage && !hasEmptyLogo ? ` ${CSS.logoHeight}${this.logoScale}` : ` ${CSS.standardHeight}`}`, style: { backgroundColor: this.backgroundColor, fontFamily } }, h("div", { class: CSS.headerContainer }, h("span", { class: headerContentClass }, logo, title, this.infoButton ? (h("calcite-button", { style: { '--calcite-color-text-1': this.textColor }, id: "infoButton", alignment: "start", appearance: "transparent", kind: "neutral", "icon-start": "information-f", scale: "s", label: this.infoTitleText, title: this.infoTitleText, onClick: this.toggleInfo.bind(this) })) : null), h("div", { class: CSS.actionsEndContainer }, h("slot", { name: "actions-end" })))))));
88
88
  }
89
89
  renderLogo(hasEmptyLogo) {
90
90
  return hasEmptyLogo ? ('') : this.logoImage && this.logoLink ? (h("a", { href: `${this.logoLink}`, target: "_blank" }, h("img", { class: `${CSS.logoScale}${this.logoScale}`, src: `${this.logoImage}`, alt: `${this.logoImageAltText}` }))) : this.logoImage ? (h("img", { class: `${CSS.logoScale}${this.logoScale}`, src: `${this.logoImage}`, alt: this.logoImageAltText })) : ('');
@@ -1169,6 +1169,12 @@ const InstantAppsInteractiveLegendClassic = class {
1169
1169
  handleFilterModeChange() {
1170
1170
  handleFilterChange(this.filterMode, this.legendvm.view);
1171
1171
  }
1172
+ async connectedCallback() {
1173
+ if (this.handles)
1174
+ return;
1175
+ const [Handles] = await loadModules(['esri/core/Handles']);
1176
+ this.handles = new Handles();
1177
+ }
1172
1178
  async componentWillLoad() {
1173
1179
  const observer = new MutationObserver(() => {
1174
1180
  forceUpdate(this.el);
@@ -1176,9 +1182,8 @@ const InstantAppsInteractiveLegendClassic = class {
1176
1182
  observer.observe(this.el, {
1177
1183
  attributes: true,
1178
1184
  });
1179
- const [intl, reactiveUtils, Handles] = await loadModules(['esri/intl', 'esri/core/reactiveUtils', 'esri/core/Handles']);
1185
+ const [intl, reactiveUtils] = await loadModules(['esri/intl', 'esri/core/reactiveUtils']);
1180
1186
  this.reactiveUtils = reactiveUtils;
1181
- this.handles = new Handles();
1182
1187
  this.intl = intl;
1183
1188
  }
1184
1189
  async componentDidLoad() {
@@ -1457,7 +1462,7 @@ const InstantAppsInteractiveLegendClassic = class {
1457
1462
  const interactive = parentLegendElementInfoData && !(elementInfo === null || elementInfo === void 0 ? void 0 : elementInfo.value) ? false : isInteractive;
1458
1463
  return interactive ? (
1459
1464
  // Regular LegendElementInfo
1460
- h("button", { onClick: this.applyFilter(elementInfo, layer, infoIndex, parentLegendElementInfo), class: `${CSS.layerRow} ${CSS.interactiveLayerRow}${selected ? ` ${CSS.infoSelected}` : ''}` }, h("div", { class: `${CSS.symbolContainer}${imageryLayerInfoStretched}${sizeRamp}` }, content), h("div", { class: `${CSS.layerInfo}${imageryLayerInfoStretched}` }, this.getTitle(this.messages, elementInfo.label, false) || ''), this.featureCount ? (h("instant-apps-interactive-legend-count", { class: getTheme(this.el), categoryId: parentLegendElementInfoData ? legendElement.title : (_b = elementInfo.label) !== null && _b !== void 0 ? _b : layer === null || layer === void 0 ? void 0 : layer.id, activeLayerInfo: activeLayerInfo, legendvm: this.legendvm, messages: this.messages, selected: selected, legendElement: legendElement, infoIndex: infoIndex })) : null)) : (h("div", { class: CSS.layerRow }, h("div", { class: `${CSS.symbolContainer}${imageryLayerInfoStretched}${sizeRamp}` }, content), h("div", { class: `${CSS.layerInfo}${imageryLayerInfoStretched}` }, this.getTitle(this.messages, elementInfo.label, false) || '')));
1465
+ h("button", { onClick: this.applyFilter(elementInfo, layer, infoIndex, parentLegendElementInfo), class: `${CSS.layerRow} ${CSS.interactiveLayerRow}${selected ? ` ${CSS.infoSelected}` : ''}` }, h("div", { class: `${CSS.symbolContainer}${imageryLayerInfoStretched}${sizeRamp}` }, content), h("div", { class: `${CSS.layerInfo}${imageryLayerInfoStretched}` }, this.getTitle(this.messages, elementInfo.label, false) || ''), this.featureCount ? (h("instant-apps-interactive-legend-count", { class: getTheme(this.el), categoryId: parentLegendElementInfoData ? legendElement.title : ((_b = elementInfo.label) !== null && _b !== void 0 ? _b : layer === null || layer === void 0 ? void 0 : layer.id), activeLayerInfo: activeLayerInfo, legendvm: this.legendvm, messages: this.messages, selected: selected, legendElement: legendElement, infoIndex: infoIndex })) : null)) : (h("div", { class: CSS.layerRow }, h("div", { class: `${CSS.symbolContainer}${imageryLayerInfoStretched}${sizeRamp}` }, content), h("div", { class: `${CSS.layerInfo}${imageryLayerInfoStretched}` }, this.getTitle(this.messages, elementInfo.label, false) || '')));
1461
1466
  }
1462
1467
  renderImage(elementInfo, layer, isStretched) {
1463
1468
  const { label, src, opacity } = elementInfo;
@@ -123,7 +123,7 @@ const InstantAppsInteractiveLegendLayerElementCaption = class {
123
123
  const { expanded } = this;
124
124
  const expandCollapseText = expanded ? (_a = this.messages) === null || _a === void 0 ? void 0 : _a.collapse : (_b = this.messages) === null || _b === void 0 ? void 0 : _b.expand;
125
125
  const isChild = this.isChild ? ' instant-apps-interactive-legend__heading-text--group-item' : '';
126
- return (h("header", { key: '90e0c1317dab1e4f6aeb9f0e6652ba0c437e2738', class: `${CSS.interacitveLegendHeader} ${getTheme(this.el)}` }, h("calcite-action", { key: 'a83eb7e778aba7b5293a4e612e0e48369c1532bf', onClick: this.toggleExpanded(), icon: expanded ? 'chevron-down' : 'chevron-up', appearance: "transparent", text: expandCollapseText, label: expandCollapseText, scale: "s" }), h("span", { key: '2ddd88d88356bfd06325bd71f3b379cceaffeac0' }, h("span", { key: '974c40e2cd293c18c9cb05963616289484af2ce1', class: CSS.headerActionContainer }, h("h3", { key: 'e95395514e1406feb2f590c49398c2321b6c643c', class: `${CSS.header} ${CSS.label}${isChild}`, title: (_c = this.activeLayerInfo) === null || _c === void 0 ? void 0 : _c.title }, (_d = this.activeLayerInfo) === null || _d === void 0 ? void 0 : _d.title)), this.featureCount && isInteractive ? (h("instant-apps-interactive-legend-count", { activeLayerInfo: this.activeLayerInfo, "show-total": true, messages: this.messages, legendvm: this.legendvm })) : null)));
126
+ return (h("header", { key: 'b4080c1d9a4a6b95a1e389156d94661a937c0e6f', class: `${CSS.interacitveLegendHeader} ${getTheme(this.el)}` }, h("calcite-action", { key: '11c804cbb23cdf359589309d40a8f3550f651802', onClick: this.toggleExpanded(), icon: expanded ? 'chevron-down' : 'chevron-up', appearance: "transparent", text: expandCollapseText, label: expandCollapseText, scale: "s" }), h("span", { key: '27f26720b7a189ea36873e4a97063579a6f52e20' }, h("span", { key: '143092f1dab8ebd2a0c8e9efbed4b7cba4267ebf', class: CSS.headerActionContainer }, h("h3", { key: '099fb8082615f356a1d1ecd374800dbc83baf015', class: `${CSS.header} ${CSS.label}${isChild}`, title: (_c = this.activeLayerInfo) === null || _c === void 0 ? void 0 : _c.title }, (_d = this.activeLayerInfo) === null || _d === void 0 ? void 0 : _d.title)), this.featureCount && isInteractive ? (h("instant-apps-interactive-legend-count", { activeLayerInfo: this.activeLayerInfo, "show-total": true, messages: this.messages, legendvm: this.legendvm })) : null)));
127
127
  }
128
128
  toggleExpanded() {
129
129
  return () => {
@@ -36,9 +36,9 @@ const InstantAppsInteractiveLegendGroupLegendElementCaption = class {
36
36
  const { expanded } = this;
37
37
  const expandCollapseText = expanded ? (_a = this.messages) === null || _a === void 0 ? void 0 : _a.collapse : (_b = this.messages) === null || _b === void 0 ? void 0 : _b.expand;
38
38
  const isChild = this.isChild ? ' instant-apps-interactive-legend__heading-text--group-item' : '';
39
- return (h("header", { key: '09f5ee7f348855813f75b775b87f2f9de12e3792', class: `${CSS.interacitveLegendHeader} ${getTheme(this.el)}`, style: {
39
+ return (h("header", { key: 'f7fc15a482577d3dc46bf2c75a7e3349d7565654', class: `${CSS.interacitveLegendHeader} ${getTheme(this.el)}`, style: {
40
40
  borderLeft: '1px solid var(--calcite-color-border-3)',
41
- } }, h("span", { key: '2a720ba9d488b06550ed955d84a150501aa03a2f' }, h("span", { key: '17c9b3a7e76ad853844d1c4cdbfd4aa74470a524', class: CSS.headerActionContainer }, h("calcite-action", { key: '7bc8909822ef97fe40721b80ce062abf93d825db', onClick: this.toggleExpanded(), icon: expanded ? 'chevron-down' : 'chevron-up', appearance: "transparent", text: expandCollapseText, label: expandCollapseText, scale: "s" }), h("h3", { key: '0a30cf8669b622aeb47c595f30df3a26202c5111', class: `${CSS.header} ${CSS.label}${isChild}`, title: (_c = this.activeLayerInfo) === null || _c === void 0 ? void 0 : _c.title }, (_d = this.activeLayerInfo) === null || _d === void 0 ? void 0 : _d.title)), this.featureCount && isInteractive ? (h("instant-apps-interactive-legend-count", { activeLayerInfo: this.activeLayerInfo, "show-total": true, messages: this.messages, legendvm: this.legendvm })) : null)));
41
+ } }, h("span", { key: 'e8652d3efbba23460e516c7a482b9c58711bfd6e' }, h("span", { key: '0b3aa10dd2da8634101fca455b5a611f6d3e4436', class: CSS.headerActionContainer }, h("calcite-action", { key: '3f311642dd154822d105fa5ecd21bd5cfe7dcf0c', onClick: this.toggleExpanded(), icon: expanded ? 'chevron-down' : 'chevron-up', appearance: "transparent", text: expandCollapseText, label: expandCollapseText, scale: "s" }), h("h3", { key: '0d7eb0a5958b4f661772f59faf287836818aaeeb', class: `${CSS.header} ${CSS.label}${isChild}`, title: (_c = this.activeLayerInfo) === null || _c === void 0 ? void 0 : _c.title }, (_d = this.activeLayerInfo) === null || _d === void 0 ? void 0 : _d.title)), this.featureCount && isInteractive ? (h("instant-apps-interactive-legend-count", { activeLayerInfo: this.activeLayerInfo, "show-total": true, messages: this.messages, legendvm: this.legendvm })) : null)));
42
42
  }
43
43
  toggleExpanded() {
44
44
  return () => {
@@ -41,9 +41,9 @@ const InstantAppsInteractiveLegendGroupLegendElement = class {
41
41
  });
42
42
  }
43
43
  render() {
44
- return (h("div", { key: '5294fd647e506c8fb1c10bc39178dd1701df0a13', style: {
44
+ return (h("div", { key: 'ab9a4911afa5f1021f3270c4fec409a708e2ec51', style: {
45
45
  borderLeft: '1px solid var(--calcite-color-border-3)',
46
- }, class: `${CSS$4.service} ${CSS$4.groupLayer}` }, h("instant-apps-interactive-legend-layer-element-caption", { key: '5fa320a7a12179a85e157ccbabb5ff0d3fb75ea2', ref: node => (this.layerCaption = node), class: getTheme(this.el), legendvm: this.legendvm, "feature-count": this.featureCount, activeLayerInfo: this.activeLayerInfo, messages: this.messages, isChild: this.isChild }), h("div", { key: '68f702a841bf7a89a0534a252465b742c872aa94', class: `${CSS$4.groupContent} ${this.expanded === false ? 'hide' : 'show'}` }, h("slot", { key: '7b632a4264a3aead0f53949b972169827b11a4c0', name: "content" }))));
46
+ }, class: `${CSS$4.service} ${CSS$4.groupLayer}` }, h("instant-apps-interactive-legend-layer-element-caption", { key: 'bc80abe473c1b47920a78b072033d5b214f7822c', ref: node => (this.layerCaption = node), class: getTheme(this.el), legendvm: this.legendvm, "feature-count": this.featureCount, activeLayerInfo: this.activeLayerInfo, messages: this.messages, isChild: this.isChild }), h("div", { key: 'cf6dc1620eb0a95430129b9d414a9f6b893b61c2', class: `${CSS$4.groupContent} ${this.expanded === false ? 'hide' : 'show'}` }, h("slot", { key: 'f346b52020e3cf4e3a072fdfa17a3762676aba53', name: "content" }))));
47
47
  }
48
48
  get el() { return getElement(this); }
49
49
  };
@@ -81,9 +81,9 @@ const InstantAppsInteractiveLegendLayerElement = class {
81
81
  render() {
82
82
  var _a, _b;
83
83
  const layerClasses = !!this.activeLayerInfo.parent ? ` ${CSS$3.groupLayerChild}` : '';
84
- return (h("div", { key: '14f04807f3c36d4ef8dc2337d126b9657fc8edec', style: {
84
+ return (h("div", { key: '45305a415db8ba0a08ab69de820ff6b8711e1cee', style: {
85
85
  borderLeft: '1px solid var(--calcite-color-border-3)',
86
- }, class: `${CSS$3.service}${layerClasses}`, tabIndex: 0 }, h("instant-apps-interactive-legend-layer-element-caption", { key: '3917bafae2f4c5d5050d402ab2a3e9257ecfc678', ref: node => (this.layerCaption = node), legendvm: this.legendvm, "feature-count": this.featureCount, activeLayerInfo: this.activeLayerInfo, messages: this.messages, isChild: !!this.isChild, class: getTheme(this.el) }), h("div", { key: '8eb250a7a3404561a5ab349406fbfce8dac00608', id: `${(_b = (_a = this.activeLayerInfo) === null || _a === void 0 ? void 0 : _a.layer) === null || _b === void 0 ? void 0 : _b.id}-legend-layer`, class: `${CSS$3.layer}${this.expanded === false ? ' hide' : ' show'}` }, h("slot", { key: '94f10f632b9409a25f6f5eaf65c7a2e50ecedc29', name: "content" }))));
86
+ }, class: `${CSS$3.service}${layerClasses}`, tabIndex: 0 }, h("instant-apps-interactive-legend-layer-element-caption", { key: '7babce8571540883bca9e0ff07c0a152cbb30fbb', ref: node => (this.layerCaption = node), legendvm: this.legendvm, "feature-count": this.featureCount, activeLayerInfo: this.activeLayerInfo, messages: this.messages, isChild: !!this.isChild, class: getTheme(this.el) }), h("div", { key: 'c021d9c441c407d5fac6f246eb9f4b6ce76bcaa5', id: `${(_b = (_a = this.activeLayerInfo) === null || _a === void 0 ? void 0 : _a.layer) === null || _b === void 0 ? void 0 : _b.id}-legend-layer`, class: `${CSS$3.layer}${this.expanded === false ? ' hide' : ' show'}` }, h("slot", { key: '761834066d924654c87a39601c1670625c88d863', name: "content" }))));
87
87
  }
88
88
  get el() { return getElement(this); }
89
89
  };
@@ -132,7 +132,7 @@ const InstantAppsInteractiveLegendLegendElement = class {
132
132
  const expandState = relationshipRampExpandStates[this.activeLayerInfo.layer.id];
133
133
  expanded = expandState;
134
134
  }
135
- return (h("div", { key: '4c84ceeed6021b53975ce59397b7942efe0fd861', class: `${tableClass}${tableClasses}${nonInteractiveClass}${nestedUniqueSymbolClass}` }, h("div", { key: '71a9a54047a3880f8a800b5c5ada44bd44ddcd37', id: `${(_g = (_f = this.activeLayerInfo) === null || _f === void 0 ? void 0 : _f.layer) === null || _g === void 0 ? void 0 : _g.id}-legend-element-caption`, class: `${this.isRelationshipRamp || (!this.titleText && !this.zoomTo && singleSymbol) ? 'hide' : 'show'}` }, h("instant-apps-interactive-legend-legend-element-caption", { key: '3f4dedbe202011c88d80269e877de1a137985b04', ref: node => (this.legendLayerCaption = node), legendvm: this.legendvm, activeLayerInfo: this.activeLayerInfo, layer: this.activeLayerInfo.layer, titleText: this.titleText, legendElement: this.legendElement, legendElementIndex: this.legendElementIndex, zoomTo: this.zoomTo, isInteractive: this.isInteractive, messages: this.messages })), h("div", { key: "content", id: `${(_j = (_h = this.activeLayerInfo) === null || _h === void 0 ? void 0 : _h.layer) === null || _j === void 0 ? void 0 : _j.id}-legend-element-content-${this.legendElementIndex}`, class: `${expanded === false ? 'hide' : 'show'}` }, h("slot", { key: '8b402e2c6dbf5e657cb4518c95bb43220de0a68d', name: "content" }))));
135
+ return (h("div", { key: 'cd76a15dfd77c630708e61535a4d22d66385a4bf', class: `${tableClass}${tableClasses}${nonInteractiveClass}${nestedUniqueSymbolClass}` }, h("div", { key: '24eb28f5fa505d1d4471a750b5273b34af2f3428', id: `${(_g = (_f = this.activeLayerInfo) === null || _f === void 0 ? void 0 : _f.layer) === null || _g === void 0 ? void 0 : _g.id}-legend-element-caption`, class: `${this.isRelationshipRamp || (!this.titleText && !this.zoomTo && singleSymbol) ? 'hide' : 'show'}` }, h("instant-apps-interactive-legend-legend-element-caption", { key: '5ffd04439d1c99251e358afcf077628a780c8e40', ref: node => (this.legendLayerCaption = node), legendvm: this.legendvm, activeLayerInfo: this.activeLayerInfo, layer: this.activeLayerInfo.layer, titleText: this.titleText, legendElement: this.legendElement, legendElementIndex: this.legendElementIndex, zoomTo: this.zoomTo, isInteractive: this.isInteractive, messages: this.messages })), h("div", { key: "content", id: `${(_j = (_h = this.activeLayerInfo) === null || _h === void 0 ? void 0 : _h.layer) === null || _j === void 0 ? void 0 : _j.id}-legend-element-content-${this.legendElementIndex}`, class: `${expanded === false ? 'hide' : 'show'}` }, h("slot", { key: 'c95e14737a003f85f7c494e6d30d9f946bef464a', name: "content" }))));
136
136
  }
137
137
  };
138
138
  InstantAppsInteractiveLegendLegendElement.style = InstantAppsInteractiveLegendLegendElementStyle0;
@@ -263,7 +263,7 @@ const InstantAppsInteractiveLegendRelationship = class {
263
263
  }
264
264
  render() {
265
265
  var _a, _b;
266
- return (h("div", { key: '1f7588d95a9f87cd0d1574d2c8823e4fec7ff20a', ref: (node) => {
266
+ return (h("div", { key: '8b7054296e51e501b5378804dc6055acd113fbfa', ref: (node) => {
267
267
  const styleSheet = node === null || node === void 0 ? void 0 : node.querySelector('relationshipStyles');
268
268
  if (!styleSheet) {
269
269
  const css = document.createElement('style');
@@ -276,7 +276,7 @@ const InstantAppsInteractiveLegendRelationship = class {
276
276
  `;
277
277
  node === null || node === void 0 ? void 0 : node.appendChild(css);
278
278
  }
279
- } }, h("span", { key: 'a5c554b5bda46d827f60aba19f0e74ce5a81efe5', class: CSS.instructionalText }, (_b = (_a = this.messages) === null || _a === void 0 ? void 0 : _a.relationship) === null || _b === void 0 ? void 0 : _b.instructionalText), this.renderRelationshipRamp()));
279
+ } }, h("span", { key: '7cd336ef09492b5fc016657a61991f2f255a0b4a', class: CSS.instructionalText }, (_b = (_a = this.messages) === null || _a === void 0 ? void 0 : _a.relationship) === null || _b === void 0 ? void 0 : _b.instructionalText), this.renderRelationshipRamp()));
280
280
  }
281
281
  renderRelationshipRamp() {
282
282
  var _a;
@@ -26,7 +26,7 @@ const InstantAppsKeyboardShortcuts = class {
26
26
  var _a, _b, _c, _d, _e, _f, _g;
27
27
  const commands = ((_a = this === null || this === void 0 ? void 0 : this.view) === null || _a === void 0 ? void 0 : _a.type) === '2d' || !(this === null || this === void 0 ? void 0 : this.view) ? this._getMapViewCommands() : this._getSceneViewCommands();
28
28
  const modifierKey = this._isMacLike() ? 'Option' : 'Alt';
29
- return (h(Host, { key: 'f8e209f996c4743ad1bfc91deef5952c8ac34f90' }, h("calcite-block", { key: 'b0a69ae1ba6c989c344daa2d2fa51e6943ff6e49', open: true, class: `${CSS.content}`, heading: (_c = (_b = this === null || this === void 0 ? void 0 : this.messages) === null || _b === void 0 ? void 0 : _b.generalShortcuts) === null || _c === void 0 ? void 0 : _c.label }, h("table", { key: '5820bb1e99ba3ffc926dea0c60ae6cba9fb71461' }, this.renderTableHeader(), h("tr", { key: 'b3664317e370d732f405325f6094f5ed2baad197' }, h("td", { key: '3e3367b5fe5e8e5f3deddbb850acdf8c6eae9841' }, `${modifierKey} + M`), h("td", { key: 'a426d5c5514d99dec89e8d8298b00cfb7addfb06' }, (_e = (_d = this === null || this === void 0 ? void 0 : this.messages) === null || _d === void 0 ? void 0 : _d.generalShortcuts) === null || _e === void 0 ? void 0 : _e.title))), h("calcite-label", { key: 'b33865ff795dac7277db16c128abc4b8667b2faf' }, (_g = (_f = this === null || this === void 0 ? void 0 : this.messages) === null || _f === void 0 ? void 0 : _f.generalShortcuts) === null || _g === void 0 ? void 0 : _g.title), h("table", { key: '72cbeee022de4c2c895eb78a94cf708d3f2f653c' }, this.renderTableHeader(), commands.map(command => {
29
+ return (h(Host, { key: '9c8b38fe77e393b5c28dcdeb9f536136f1847a80' }, h("calcite-block", { key: '129cc133e93e2817286b651e275c9be4cab404d7', open: true, class: `${CSS.content}`, heading: (_c = (_b = this === null || this === void 0 ? void 0 : this.messages) === null || _b === void 0 ? void 0 : _b.generalShortcuts) === null || _c === void 0 ? void 0 : _c.label }, h("table", { key: '35c2075b9bfd4156dc599f7eb4230f8939b666d7' }, this.renderTableHeader(), h("tr", { key: '4501f1eb90661c5c4dc21448faafc6b05c9c5f44' }, h("td", { key: 'dd5e19bf19397dc2d249280b779021436f792ca2' }, `${modifierKey} + M`), h("td", { key: '7229f20c134afc765ffc5a6fc472ef240ec23d4f' }, (_e = (_d = this === null || this === void 0 ? void 0 : this.messages) === null || _d === void 0 ? void 0 : _d.generalShortcuts) === null || _e === void 0 ? void 0 : _e.title))), h("calcite-label", { key: 'e0ad61c9410eddbe07411a1257208e72993e1552' }, (_g = (_f = this === null || this === void 0 ? void 0 : this.messages) === null || _f === void 0 ? void 0 : _f.generalShortcuts) === null || _g === void 0 ? void 0 : _g.title), h("table", { key: 'da8a5261b67d71d969313c9643e45762dfd7ec1b' }, this.renderTableHeader(), commands.map(command => {
30
30
  return (h("tr", null, h("td", null, command.alias), h("td", null, command.title)));
31
31
  })))));
32
32
  }
@@ -86,7 +86,7 @@ const InstantAppsLandingPage = class {
86
86
  }
87
87
  render() {
88
88
  const content = this.renderLandingPageContent();
89
- return h(Host, { key: '0e372fb26b6581751f19368cd778a05c22f04587' }, content);
89
+ return h(Host, { key: 'f12e6b4ea673c94e8979d82809984b23e6bd6781' }, content);
90
90
  }
91
91
  renderLandingPageContent() {
92
92
  const closed = !this.open ? (this.disableTransition ? ` ${CSS.closedNoTransition}` : ` ${CSS.closed}`) : '';
@@ -4,7 +4,7 @@
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
6
  import { r as registerInstance, c as createEvent, h, g as getElement } from './index-b793d9aa.js';
7
- import { g as getMessages } from './utils-6493bff2.js';
7
+ import { g as getMessages } from './utils-6f13e31e.js';
8
8
  import { l as loadModules } from './loadModules-03ba7abe.js';
9
9
  import { a as getDefaultLanguage } from './locale-a34f9f04.js';
10
10
  import { g as getPortalItemResource, f as fetchResourceData, L as LANGUAGE_DATA } from './constants-045d6a1b.js';
@@ -25,8 +25,8 @@ const InstantAppsLanguageSwitcher = class {
25
25
  this.view = undefined;
26
26
  this.locales = [];
27
27
  this.defaultLocale = undefined;
28
- this.messages = undefined;
29
28
  this.selectedLanguage = null;
29
+ this.messages = undefined;
30
30
  this.t9nData = null;
31
31
  }
32
32
  async componentWillLoad() {
@@ -78,7 +78,7 @@ const InstantAppsLanguageSwitcher = class {
78
78
  const trigger = this.renderTrigger();
79
79
  const dropdown = this.renderDropdownItems();
80
80
  const defaultLocale = this.renderDefaultLocale();
81
- return (h("calcite-dropdown", { key: 'ced0c98bd69889c1c8c655425a495da4a1bf7ab1', onCalciteDropdownBeforeOpen: () => (this.trigger.iconEnd = 'chevron-up'), onCalciteDropdownBeforeClose: () => (this.trigger.iconEnd = 'chevron-down'), "width-scale": "m" }, trigger, defaultLocale, dropdown));
81
+ return (h("calcite-dropdown", { key: '292b75e8a6f9d7ab2739e4d85f90d975f5b49c1e', onCalciteDropdownBeforeOpen: () => (this.trigger.iconEnd = 'chevron-up'), onCalciteDropdownBeforeClose: () => (this.trigger.iconEnd = 'chevron-down'), "width-scale": "m" }, trigger, defaultLocale, dropdown));
82
82
  }
83
83
  renderDefaultLocale() {
84
84
  const { userLocale } = this;
@@ -4,7 +4,7 @@
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
6
  import { r as registerInstance, c as createEvent, h, H as Host, F as Fragment, g as getElement } from './index-b793d9aa.js';
7
- import { g as getMessages, a as generateUIData, s as store, E as EIcons, b as getLocales, l as languageTranslatorState, c as getUIDataKeys } from './utils-6493bff2.js';
7
+ import { i as initExternalCKEditorStyles, g as getMessages, a as generateUIData, s as store, E as EIcons, b as getLocales, l as languageTranslatorState, c as getUIDataKeys, u as updateLastSave } from './utils-6f13e31e.js';
8
8
  import { l as loadModules } from './loadModules-03ba7abe.js';
9
9
  import { c as getComponentClosestLanguage } from './locale-a34f9f04.js';
10
10
  import { g as getPortalItemResource, f as fetchResourceData, L as LANGUAGE_DATA } from './constants-045d6a1b.js';
@@ -13,7 +13,7 @@ import './esri-loader-c6842c6b.js';
13
13
  import './_commonjsHelpers-089957fe.js';
14
14
  import './languageUtil-2b6e191a.js';
15
15
 
16
- const instantAppsLanguageTranslatorCss = ".sc-instant-apps-language-translator-h{display:block}.sc-instant-apps-language-translator-h calcite-modal.sc-instant-apps-language-translator{--calcite-modal-content-padding:0}.sc-instant-apps-language-translator-h .instant-apps-language-translator__header.sc-instant-apps-language-translator{display:flex;justify-content:space-between;width:100%}.sc-instant-apps-language-translator-h .instant-apps-language-translator__header-text.sc-instant-apps-language-translator{font-size:18px}.sc-instant-apps-language-translator-h .instant-apps-language-translator__saving-indicator.sc-instant-apps-language-translator{display:flex;align-items:center;font-size:14.5px;color:var(--calcite-color-brand)}.sc-instant-apps-language-translator-h .instant-apps-language-translator__writing-icon.sc-instant-apps-language-translator{display:flex;justify-content:center;align-items:center;margin-right:5px}.sc-instant-apps-language-translator-h .instant-apps-language-translator__close-button.sc-instant-apps-language-translator{width:175px}.sc-instant-apps-language-translator-h .instant-apps-language-translator__header-tip.sc-instant-apps-language-translator{padding:20px;max-width:45vw}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar.sc-instant-apps-language-translator{display:flex;width:100%;position:sticky;top:0;background:var(--calcite-color-foreground-1);z-index:1}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar.sc-instant-apps-language-translator calcite-label.sc-instant-apps-language-translator{--calcite-label-margin-bottom:0;font-weight:var(--calcite-font-weight-medium)}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar-section.sc-instant-apps-language-translator{box-sizing:border-box;display:flex;align-items:center;width:50%;padding:0.5%}.sc-instant-apps-language-translator-h .instant-apps-language-translator__user-lang-text.sc-instant-apps-language-translator{font-weight:var(--calcite-font-weight-medium)}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar-section.sc-instant-apps-language-translator:first-child{display:flex;justify-content:space-between}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar-section.sc-instant-apps-language-translator:nth-child(2) calcite-select.sc-instant-apps-language-translator{width:255px}.sc-instant-apps-language-translator-h .instant-apps-language-translator__collapse-search-container.sc-instant-apps-language-translator{display:flex;justify-content:space-between}.sc-instant-apps-language-translator-h .instant-apps-language-translator__collapse-search-container.sc-instant-apps-language-translator calcite-input.sc-instant-apps-language-translator{width:300px;margin-left:30px}.ck.ck-reset.ck-editor.ck-rounded-corners.sc-instant-apps-language-translator{margin-top:10px !important;margin-left:55px !important}.ck-editor__editable.sc-instant-apps-language-translator{height:70px !important;font-size:0.875rem !important;line-height:1.375 !important}.ck.ck-editor__editable_inline.sc-instant-apps-language-translator>.sc-instant-apps-language-translator:first-child,.ck.ck-editor__editable_inline.sc-instant-apps-language-translator>.sc-instant-apps-language-translator:last-child{--ck-spacing-large:0.5rem !important}";
16
+ const instantAppsLanguageTranslatorCss = ".sc-instant-apps-language-translator-h{display:block}.sc-instant-apps-language-translator-h calcite-modal.sc-instant-apps-language-translator{--calcite-modal-content-padding:0}.sc-instant-apps-language-translator-h .instant-apps-language-translator__header.sc-instant-apps-language-translator{display:flex;justify-content:space-between;width:100%}.sc-instant-apps-language-translator-h .instant-apps-language-translator__header-text.sc-instant-apps-language-translator{font-size:18px}.sc-instant-apps-language-translator-h .instant-apps-language-translator__saving-indicator.sc-instant-apps-language-translator{display:flex;align-items:center;font-size:14.5px;color:var(--calcite-color-brand)}.sc-instant-apps-language-translator-h .instant-apps-language-translator__writing-icon.sc-instant-apps-language-translator{display:flex;justify-content:center;align-items:center;margin-right:5px}.sc-instant-apps-language-translator-h .instant-apps-language-translator__close-button.sc-instant-apps-language-translator{width:175px}.sc-instant-apps-language-translator-h .instant-apps-language-translator__header-tip.sc-instant-apps-language-translator{padding:20px;max-width:45vw}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar.sc-instant-apps-language-translator{display:flex;width:100%;position:sticky;top:0;background:var(--calcite-color-foreground-1);z-index:1}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar.sc-instant-apps-language-translator calcite-label.sc-instant-apps-language-translator{--calcite-label-margin-bottom:0;font-weight:var(--calcite-font-weight-medium)}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar-section.sc-instant-apps-language-translator{box-sizing:border-box;display:flex;align-items:center;width:50%;padding:0.5%}.sc-instant-apps-language-translator-h .instant-apps-language-translator__user-lang-text.sc-instant-apps-language-translator{font-weight:var(--calcite-font-weight-medium)}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar-section.sc-instant-apps-language-translator:first-child{display:flex;justify-content:space-between}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar-section.sc-instant-apps-language-translator:nth-child(2) calcite-select.sc-instant-apps-language-translator{width:255px}.sc-instant-apps-language-translator-h .instant-apps-language-translator__collapse-search-container.sc-instant-apps-language-translator{display:flex;justify-content:space-between}.sc-instant-apps-language-translator-h .instant-apps-language-translator__collapse-search-container.sc-instant-apps-language-translator calcite-input.sc-instant-apps-language-translator{width:300px;margin-left:30px}.sc-instant-apps-language-translator-h .instant-apps-language-translator__primary-content.sc-instant-apps-language-translator{display:flex;align-items:center}.sc-instant-apps-language-translator-h .instant-apps-language-translator__primary-content.sc-instant-apps-language-translator .instant-apps-language-translator__close-button.sc-instant-apps-language-translator,.sc-instant-apps-language-translator-h .instant-apps-language-translator__primary-content.sc-instant-apps-language-translator .instant-apps-language-translator__saving-indicator.sc-instant-apps-language-translator,.sc-instant-apps-language-translator-h .instant-apps-language-translator__primary-content.sc-instant-apps-language-translator .instant-apps-language-translator__last-auto-save.sc-instant-apps-language-translator{margin-right:20px}.ck.ck-reset.ck-editor.ck-rounded-corners.sc-instant-apps-language-translator{margin-top:10px !important;margin-left:55px !important}.ck-editor__editable.sc-instant-apps-language-translator{height:70px !important;font-size:0.875rem !important;line-height:1.375 !important}.ck.ck-editor__editable_inline.sc-instant-apps-language-translator>.sc-instant-apps-language-translator:first-child,.ck.ck-editor__editable_inline.sc-instant-apps-language-translator>.sc-instant-apps-language-translator:last-child{--ck-spacing-large:0.5rem !important}html[dir=rtl] .sc-instant-apps-language-translator-h .instant-apps-language-translator__primary-content.sc-instant-apps-language-translator .instant-apps-language-translator__close-button.sc-instant-apps-language-translator,html[dir=rtl] .sc-instant-apps-language-translator-h .instant-apps-language-translator__primary-content.sc-instant-apps-language-translator .instant-apps-language-translator__saving-indicator.sc-instant-apps-language-translator,html[dir=rtl] .sc-instant-apps-language-translator-h .instant-apps-language-translator__primary-content.sc-instant-apps-language-translator .instant-apps-language-translator__last-auto-save.sc-instant-apps-language-translator{margin-right:unset;margin-left:20px}";
17
17
  const InstantAppsLanguageTranslatorStyle0 = instantAppsLanguageTranslatorCss;
18
18
 
19
19
  const BASE = 'instant-apps-language-translator';
@@ -30,6 +30,8 @@ const CSS = {
30
30
  userLangText: `${BASE}__user-lang-text`,
31
31
  lastItem: `${BASE}--last-item`,
32
32
  writingIcon: `${BASE}__writing-icon`,
33
+ primaryContent: `${BASE}__primary-content`,
34
+ lastAutoSave: `${BASE}__last-auto-save`,
33
35
  };
34
36
  const InstantAppsLanguageTranslator = class {
35
37
  constructor(hostRef) {
@@ -56,6 +58,9 @@ const InstantAppsLanguageTranslator = class {
56
58
  this.initUIData();
57
59
  this.initSelectLanguage();
58
60
  }
61
+ componentWillLoad() {
62
+ initExternalCKEditorStyles();
63
+ }
59
64
  async componentDidLoad() {
60
65
  this.initialize();
61
66
  }
@@ -105,23 +110,23 @@ const InstantAppsLanguageTranslator = class {
105
110
  const portalItemResource = (await getPortalItemResource(this.portalItem));
106
111
  store.set('portalItemResource', portalItemResource);
107
112
  const t9nData = await fetchResourceData(this.request, portalItemResource);
113
+ store.set('lastSave', t9nData.lastSave);
108
114
  store.set('portalItemResourceT9n', t9nData !== null && t9nData !== void 0 ? t9nData : {});
109
115
  }
110
116
  catch (_a) { }
111
117
  }
112
118
  render() {
113
- return (h(Host, { key: '2c017345058f822812f4f26d7360e40fa8a4cab1' }, this.renderModal(), this.renderPopoverTip()));
119
+ return (h(Host, { key: '1f68786d3e9bced7a2242033cf51fc4937bc910a' }, this.renderModal(), this.renderPopoverTip()));
114
120
  }
115
121
  renderModal() {
116
- return (h("calcite-modal", { open: this.open, scale: "l", fullscreen: true, onCalciteModalClose: this.close.bind(this) }, this.renderHeader(), this.renderContent(), this.renderPrimaryButton()));
122
+ return (h("calcite-modal", { open: this.open, scale: "l", fullscreen: true, onCalciteModalClose: this.close.bind(this) }, this.renderHeader(), this.renderContent(), this.renderPrimaryContent()));
117
123
  }
118
124
  renderPopoverTip() {
119
125
  var _a;
120
126
  return (h("calcite-popover", { label: "", referenceElement: "headerTip", placement: "trailing", "auto-close": true, closable: true }, h("div", { class: CSS.headerTip }, (_a = this.messages) === null || _a === void 0 ? void 0 : _a.headerTip)));
121
127
  }
122
128
  renderHeader() {
123
- const saving = store.get('saving');
124
- return (h("header", { class: CSS.header, slot: "header" }, this.renderHeaderText(), saving ? this.renderSavingIndicator() : null));
129
+ return (h("header", { class: CSS.header, slot: "header" }, this.renderHeaderText()));
125
130
  }
126
131
  renderHeaderText() {
127
132
  const { messages } = this;
@@ -129,9 +134,8 @@ const InstantAppsLanguageTranslator = class {
129
134
  }
130
135
  renderSavingIndicator() {
131
136
  var _a;
132
- const saving = store.get('saving');
133
137
  const t9n = (_a = this.messages) === null || _a === void 0 ? void 0 : _a.saving;
134
- return (h("div", { class: CSS.savingIndicator }, saving ? h("calcite-loader", { label: t9n, inline: true }) : null, h("span", null, t9n)));
138
+ return (h("div", { class: CSS.savingIndicator }, h("calcite-loader", { label: t9n, inline: true }), h("span", null, t9n)));
135
139
  }
136
140
  renderContent() {
137
141
  const localeItems = getLocales(this.locales);
@@ -200,11 +204,25 @@ const InstantAppsLanguageTranslator = class {
200
204
  const translatedLanguageLabels = (_b = (_a = this.appSettings) === null || _a === void 0 ? void 0 : _a.translatedLanguageLabels) === null || _b === void 0 ? void 0 : _b[languageTranslatorState.currentLanguage];
201
205
  const isLast = `${keyIndex === uiDataKeysLen - 1 ? CSS.lastItem : ''}`;
202
206
  const setting = this.appSettings.content.filter(contentItem => contentItem.id === key)[0];
203
- return (h("instant-apps-language-translator-item", { key: `${key}-${keyIndex}`, class: isLast, fieldName: key, translatedLanguageLabels: translatedLanguageLabels, setting: setting, userLocaleInputOnChangeCallback: this.userLocaleInputOnChangeCallback, translatedLocaleInputOnChangeCallback: this.translatedLocaleInputOnChangeCallback }));
204
- }
205
- renderPrimaryButton() {
206
- var _a;
207
- return (h("calcite-button", { onClick: () => (this.open = false), slot: "primary", class: CSS.closeButton }, (_a = this.messages) === null || _a === void 0 ? void 0 : _a.close));
207
+ return (h("instant-apps-language-translator-item", { key: `${key}-${keyIndex}`, class: isLast, fieldName: key, translatedLanguageLabels: translatedLanguageLabels, setting: setting, userLocaleInputOnChangeCallback: async (fieldName, value) => {
208
+ try {
209
+ await this.userLocaleInputOnChangeCallback(fieldName, value);
210
+ const resource = store.get('portalItemResource');
211
+ updateLastSave(resource);
212
+ }
213
+ catch (_a) { }
214
+ }, translatedLocaleInputOnChangeCallback: async (fieldName, value, locale, resource) => {
215
+ try {
216
+ await this.translatedLocaleInputOnChangeCallback(fieldName, value, locale, resource);
217
+ updateLastSave(resource);
218
+ }
219
+ catch (_a) { }
220
+ } }));
221
+ }
222
+ renderPrimaryContent() {
223
+ var _a, _b;
224
+ return (h("div", { class: CSS.primaryContent, slot: "primary" }, store.get('saving') ? this.renderSavingIndicator() : null, store.get('lastSave') ? (h("span", { key: "last-save", class: CSS.lastAutoSave }, (_a = this.messages) === null || _a === void 0 ? void 0 :
225
+ _a.lastAutoSave, " ", this.intl.formatDate(store.get('lastSave')))) : null, h("calcite-button", { onClick: () => (this.open = false), class: CSS.closeButton }, (_b = this.messages) === null || _b === void 0 ? void 0 : _b.close)));
208
226
  }
209
227
  handleExpandCollapseAll() {
210
228
  this.isCollapse = !this.isCollapse;
@@ -261,7 +279,9 @@ const InstantAppsLanguageTranslator = class {
261
279
  store.set('saving', true);
262
280
  try {
263
281
  const resource = await this.getPortalItemResource();
264
- const dataStr = JSON.stringify(data);
282
+ const lastSave = Date.now();
283
+ store.set('lastSave', lastSave);
284
+ const dataStr = JSON.stringify(Object.assign(Object.assign({}, data), { lastSave }));
265
285
  const blobParts = [dataStr];
266
286
  const options = { type: 'application/json' };
267
287
  const blob = new Blob(blobParts, options);