@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
@@ -365,6 +365,17 @@ export interface ITemplateData {
365
365
  value?: any;
366
366
  }
367
367
 
368
+ /**
369
+ * Stores the id, type, and title for a given template
370
+ */
371
+ export interface ITemplateInfo {
372
+ id: string;
373
+ title: string;
374
+ type: string;
375
+ typeKeywords: string[];
376
+ description: string;
377
+ }
378
+
368
379
  /**
369
380
  * Stores updated templates that contain runtime changes from the user
370
381
  */
@@ -0,0 +1,117 @@
1
+ /** @license
2
+ * Copyright 2024 Esri
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import { VNode } from '../../stencil-public-runtime';
17
+ import SolutionItemAccordion_T9n from "../../assets/t9n/solution-item-accordion/resources.json";
18
+ import { ITemplateInfo } from "../../utils/interfaces";
19
+ export declare class SolutionItemAccordion {
20
+ el: HTMLSolutionItemAccordionElement;
21
+ /**
22
+ * ITemplateInfo[]: Collection of template infos
23
+ */
24
+ templateInfos: ITemplateInfo[];
25
+ /**
26
+ * ITemplateInfo[]: Collection of sorted template infos
27
+ */
28
+ _sortedTemplateInfos: ITemplateInfo[];
29
+ /**
30
+ * Contains the translations for this component.
31
+ * All UI strings should be defined here.
32
+ */
33
+ _translations: typeof SolutionItemAccordion_T9n;
34
+ /**
35
+ * string[]: The order we should sort templates based on
36
+ */
37
+ protected _sortOrder: string[];
38
+ /**
39
+ * string[]: Array of template types.
40
+ * This array is used during render to ensure only one Accordion item is added for each type.
41
+ */
42
+ protected _types: string[];
43
+ templateInfosWatchHandler(): Promise<void>;
44
+ /**
45
+ * StencilJS: Called once just after the component is first connected to the DOM.
46
+ */
47
+ componentWillLoad(): Promise<void>;
48
+ /**
49
+ * StencilJS: Called before each render
50
+ */
51
+ componentWillRender(): Promise<void>;
52
+ /**
53
+ * Renders the component.
54
+ */
55
+ render(): any;
56
+ /**
57
+ * Get the Accordion component
58
+ *
59
+ * @returns the Accordion component
60
+ *
61
+ * @protected
62
+ */
63
+ protected _getAccordion(): VNode;
64
+ /**
65
+ * Get the Accordion Item component with the appropriate icon and template type
66
+ * Only one accordion item per type.
67
+ *
68
+ * @returns the Accordion Item component
69
+ *
70
+ * @protected
71
+ */
72
+ protected _getAccordionItem(templateInfo: ITemplateInfo): VNode;
73
+ /**
74
+ * Get the list of template infos for the current type
75
+ *
76
+ * @param templateInfos filtered list of templateInfos for the current type
77
+ *
78
+ * @returns the List component
79
+ *
80
+ * @protected
81
+ */
82
+ protected _getList(templateInfos: ITemplateInfo[]): VNode;
83
+ /**
84
+ * Get list item for the current type
85
+ *
86
+ * @param templateInfo the current templateInfo to handle
87
+ *
88
+ * @returns the List item component
89
+ *
90
+ * @protected
91
+ */
92
+ protected _getListItem(templateInfo: ITemplateInfo): VNode;
93
+ /**
94
+ * Sort the templates based on the defined order in _sortOrder
95
+ *
96
+ * @returns the sorted templates
97
+ *
98
+ * @protected
99
+ */
100
+ protected _sortTemplates(): ITemplateInfo[];
101
+ /**
102
+ * Some template types are displayed with a value that is different than the stored type value.
103
+ * This function will catch and update the type value to match how we would like it sorted and displayed.
104
+ *
105
+ * @returns the sorted templates
106
+ *
107
+ * @protected
108
+ */
109
+ protected _updateType(templateInfo: ITemplateInfo): string;
110
+ /**
111
+ * Fetches the component's translations
112
+ *
113
+ * @returns Promise when complete
114
+ * @protected
115
+ */
116
+ protected _getTranslations(): Promise<void>;
117
+ }
@@ -5,11 +5,11 @@
5
5
  * It contains typing information for all components that exist in this project.
6
6
  */
7
7
  import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
8
- import { AppLayout, ButtonType, DistanceUnit, EditType, EDrawMode, ELayoutMode, IBasemapConfig, IConsentResponse, IExportInfos, IFeatureServiceEnabledStatus, IInventoryItem, ILayerAndTableIds, ILayerExpression, IMapChange, IMapInfo, IReportingOptions, ISearchConfiguration, ISelectionSet, ISketchGraphicsChange, ISolutionSpatialReferenceInfo, ISortingInfo, ISpatialRefRepresentation, IValueChange, theme } from "./utils/interfaces";
8
+ import { AppLayout, ButtonType, DistanceUnit, EditType, EDrawMode, ELayoutMode, IBasemapConfig, IConsentResponse, IExportInfos, IFeatureServiceEnabledStatus, IInventoryItem, ILayerAndTableIds, ILayerExpression, IMapChange, IMapInfo, IReportingOptions, ISearchConfiguration, ISelectionSet, ISketchGraphicsChange, ISolutionSpatialReferenceInfo, ISortingInfo, ISpatialRefRepresentation, ITemplateInfo, IValueChange, theme } from "./utils/interfaces";
9
9
  import { IReportingOptions as IReportingOptions1 } from "./components";
10
10
  import { ILayerItemsHash } from "./components/layer-list/layer-list";
11
11
  import { UserSession } from "@esri/solution-common";
12
- export { AppLayout, ButtonType, DistanceUnit, EditType, EDrawMode, ELayoutMode, IBasemapConfig, IConsentResponse, IExportInfos, IFeatureServiceEnabledStatus, IInventoryItem, ILayerAndTableIds, ILayerExpression, IMapChange, IMapInfo, IReportingOptions, ISearchConfiguration, ISelectionSet, ISketchGraphicsChange, ISolutionSpatialReferenceInfo, ISortingInfo, ISpatialRefRepresentation, IValueChange, theme } from "./utils/interfaces";
12
+ export { AppLayout, ButtonType, DistanceUnit, EditType, EDrawMode, ELayoutMode, IBasemapConfig, IConsentResponse, IExportInfos, IFeatureServiceEnabledStatus, IInventoryItem, ILayerAndTableIds, ILayerExpression, IMapChange, IMapInfo, IReportingOptions, ISearchConfiguration, ISelectionSet, ISketchGraphicsChange, ISolutionSpatialReferenceInfo, ISortingInfo, ISpatialRefRepresentation, ITemplateInfo, IValueChange, theme } from "./utils/interfaces";
13
13
  export { IReportingOptions as IReportingOptions1 } from "./components";
14
14
  export { ILayerItemsHash } from "./components/layer-list/layer-list";
15
15
  export { UserSession } from "@esri/solution-common";
@@ -1595,6 +1595,12 @@ export namespace Components {
1595
1595
  */
1596
1596
  "solutionVariables": string;
1597
1597
  }
1598
+ interface SolutionItemAccordion {
1599
+ /**
1600
+ * ITemplateInfo[]: Collection of template infos
1601
+ */
1602
+ "templateInfos": ITemplateInfo[];
1603
+ }
1598
1604
  interface SolutionItemDetails {
1599
1605
  /**
1600
1606
  * A template's itemId.
@@ -2437,6 +2443,12 @@ declare global {
2437
2443
  prototype: HTMLSolutionItemElement;
2438
2444
  new (): HTMLSolutionItemElement;
2439
2445
  };
2446
+ interface HTMLSolutionItemAccordionElement extends Components.SolutionItemAccordion, HTMLStencilElement {
2447
+ }
2448
+ var HTMLSolutionItemAccordionElement: {
2449
+ prototype: HTMLSolutionItemAccordionElement;
2450
+ new (): HTMLSolutionItemAccordionElement;
2451
+ };
2440
2452
  interface HTMLSolutionItemDetailsElement extends Components.SolutionItemDetails, HTMLStencilElement {
2441
2453
  }
2442
2454
  var HTMLSolutionItemDetailsElement: {
@@ -2598,6 +2610,7 @@ declare global {
2598
2610
  "solution-configuration": HTMLSolutionConfigurationElement;
2599
2611
  "solution-contents": HTMLSolutionContentsElement;
2600
2612
  "solution-item": HTMLSolutionItemElement;
2613
+ "solution-item-accordion": HTMLSolutionItemAccordionElement;
2601
2614
  "solution-item-details": HTMLSolutionItemDetailsElement;
2602
2615
  "solution-item-icon": HTMLSolutionItemIconElement;
2603
2616
  "solution-item-sharing": HTMLSolutionItemSharingElement;
@@ -4240,6 +4253,12 @@ declare namespace LocalJSX {
4240
4253
  */
4241
4254
  "solutionVariables"?: string;
4242
4255
  }
4256
+ interface SolutionItemAccordion {
4257
+ /**
4258
+ * ITemplateInfo[]: Collection of template infos
4259
+ */
4260
+ "templateInfos"?: ITemplateInfo[];
4261
+ }
4243
4262
  interface SolutionItemDetails {
4244
4263
  /**
4245
4264
  * A template's itemId.
@@ -4400,6 +4419,7 @@ declare namespace LocalJSX {
4400
4419
  "solution-configuration": SolutionConfiguration;
4401
4420
  "solution-contents": SolutionContents;
4402
4421
  "solution-item": SolutionItem;
4422
+ "solution-item-accordion": SolutionItemAccordion;
4403
4423
  "solution-item-details": SolutionItemDetails;
4404
4424
  "solution-item-icon": SolutionItemIcon;
4405
4425
  "solution-item-sharing": SolutionItemSharing;
@@ -4459,6 +4479,7 @@ declare module "@stencil/core" {
4459
4479
  "solution-configuration": LocalJSX.SolutionConfiguration & JSXBase.HTMLAttributes<HTMLSolutionConfigurationElement>;
4460
4480
  "solution-contents": LocalJSX.SolutionContents & JSXBase.HTMLAttributes<HTMLSolutionContentsElement>;
4461
4481
  "solution-item": LocalJSX.SolutionItem & JSXBase.HTMLAttributes<HTMLSolutionItemElement>;
4482
+ "solution-item-accordion": LocalJSX.SolutionItemAccordion & JSXBase.HTMLAttributes<HTMLSolutionItemAccordionElement>;
4462
4483
  "solution-item-details": LocalJSX.SolutionItemDetails & JSXBase.HTMLAttributes<HTMLSolutionItemDetailsElement>;
4463
4484
  "solution-item-icon": LocalJSX.SolutionItemIcon & JSXBase.HTMLAttributes<HTMLSolutionItemIconElement>;
4464
4485
  "solution-item-sharing": LocalJSX.SolutionItemSharing & JSXBase.HTMLAttributes<HTMLSolutionItemSharingElement>;
@@ -618,6 +618,8 @@ declare module "preact/src/jsx" {
618
618
  "onselectionChanged"?: (event: CustomEvent<any>) => void;
619
619
  }
620
620
 
621
+ "instant-apps-app-guide": JSX.SolutionsInstantAppsAppGuide & JSXInternal.HTMLAttributes<HTMLSolutionsInstantAppsAppGuideElement>
622
+
621
623
  "instant-apps-ckeditor-wrapper": Omit<JSX.SolutionsInstantAppsCkeditorWrapper, "onIsFocused" | "onDataChanged"> & JSXInternal.HTMLAttributes<HTMLSolutionsInstantAppsCkeditorWrapperElement> & {
622
624
  "onisFocused"?: (event: CustomEvent<any>) => void;
623
625
  "ondataChanged"?: (event: CustomEvent<any>) => void;
@@ -800,6 +802,8 @@ declare module "preact/src/jsx" {
800
802
 
801
803
  "solution-item": JSX.SolutionsSolutionItem & JSXInternal.HTMLAttributes<HTMLSolutionsSolutionItemElement>
802
804
 
805
+ "solution-item-accordion": JSX.SolutionsSolutionItemAccordion & JSXInternal.HTMLAttributes<HTMLSolutionsSolutionItemAccordionElement>
806
+
803
807
  "solution-item-details": JSX.SolutionsSolutionItemDetails & JSXInternal.HTMLAttributes<HTMLSolutionsSolutionItemDetailsElement>
804
808
 
805
809
  "solution-item-icon": JSX.SolutionsSolutionItemIcon & JSXInternal.HTMLAttributes<HTMLSolutionsSolutionItemIconElement>
@@ -311,6 +311,16 @@ export interface ITemplateData {
311
311
  resourceItem?: IResourceItem;
312
312
  value?: any;
313
313
  }
314
+ /**
315
+ * Stores the id, type, and title for a given template
316
+ */
317
+ export interface ITemplateInfo {
318
+ id: string;
319
+ title: string;
320
+ type: string;
321
+ typeKeywords: string[];
322
+ description: string;
323
+ }
314
324
  /**
315
325
  * Stores updated templates that contain runtime changes from the user
316
326
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@esri/solutions-components",
3
- "version": "0.10.23",
3
+ "version": "0.10.25",
4
4
  "description": "Web Components for Esri's Solutions Applications",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.js",
@@ -41,7 +41,7 @@
41
41
  "@esri/calcite-design-tokens": "^2.2.0",
42
42
  "@esri/eslint-plugin-calcite-components": "^1.2.0",
43
43
  "@esri/hub-common": "^14.179.0",
44
- "@esri/instant-apps-components": "^1.0.0-beta.260",
44
+ "@esri/instant-apps-components": "^1.0.0-beta.267",
45
45
  "@esri/solution-common": "5.6.7",
46
46
  "@esri/telemetry": "8.0.0",
47
47
  "@esri/telemetry-amazon": "3.0.1",
@@ -59,11 +59,11 @@
59
59
  "babel-jest": "^29.7.0",
60
60
  "braces": "^3.0.3",
61
61
  "dotenv": "^16.4.5",
62
- "eslint": "^8.56.0",
62
+ "eslint": "^8.57.1",
63
63
  "eslint-config-prettier": "9.1.0",
64
64
  "eslint-plugin-jest": "^28.8.2",
65
65
  "eslint-plugin-prettier": "5.2.1",
66
- "eslint-plugin-react": "7.36.1",
66
+ "eslint-plugin-react": "7.37.1",
67
67
  "eslint-plugin-unicorn": "^55.0.0",
68
68
  "esri-loader": "^3.7.0",
69
69
  "form-request-submit-polyfill": "^2.0.0",
@@ -74,7 +74,7 @@
74
74
  "ncp": "^2.0.0",
75
75
  "npm-check-updates": "^17.1.1",
76
76
  "prettier": "3.3.3",
77
- "puppeteer": "^23.1.1",
77
+ "puppeteer": "^23.5.0",
78
78
  "react": "^18.3.1",
79
79
  "rimraf": "^6.0.1",
80
80
  "tailwindcss": "3.4.10",
@@ -94,8 +94,8 @@
94
94
  "@esri/hub-teams": "^14.1.1",
95
95
  "@esri/solution-common": "^5.6.7",
96
96
  "@pdf-lib/fontkit": "^1.1.1",
97
- "focus-trap": "7.5.4",
98
- "jspdf": "^2.5.1",
97
+ "focus-trap": "7.6.0",
98
+ "jspdf": "^2.5.2",
99
99
  "minimist": "^1.2.8",
100
100
  "pdf-lib": "^1.17.1",
101
101
  "templates-common-library-esm": "npm:templates-common-library@0.0.504-esm"
@@ -1,95 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- 'use strict';
7
-
8
- Object.defineProperty(exports, '__esModule', { value: true });
9
-
10
- const index = require('./index-5a0af791.js');
11
- const observers = require('./observers-5f9f67ee.js');
12
- require('./browser-2893460e.js');
13
-
14
- /*!
15
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
16
- * See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
17
- * v2.12.2
18
- */
19
- const CSS = {
20
- accordion: "accordion",
21
- transparent: "accordion--transparent",
22
- };
23
-
24
- const accordionCss = ":host{position:relative;display:block;max-inline-size:100%;line-height:1.5rem}.accordion{border-width:1px;border-block-end-width:0px;border-style:solid;border-color:var(--calcite-accordion-border-color, var(--calcite-color-border-2));background-color:var(--calcite-accordion-background-color, var(--calcite-color-foreground-1))}.accordion--transparent{--calcite-accordion-border-color:transparent;border-color:var(--calcite-color-transparent);background-color:var(--calcite-color-transparent)}:host([scale=s]){--calcite-internal-accordion-item-spacing-unit:0.25rem;--calcite-internal-accordion-icon-margin:0.5rem;--calcite-internal-accordion-item-padding:var(--calcite-internal-accordion-item-spacing-unit) 0.5rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=m]){--calcite-internal-accordion-item-spacing-unit:0.5rem;--calcite-internal-accordion-icon-margin:0.75rem;--calcite-internal-accordion-item-padding:var(--calcite-internal-accordion-item-spacing-unit) 0.75rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]){--calcite-internal-accordion-item-spacing-unit:0.75rem;--calcite-internal-accordion-icon-margin:1rem;--calcite-internal-accordion-item-padding:var(--calcite-internal-accordion-item-spacing-unit) 1rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([hidden]){display:none}[hidden]{display:none}";
25
- const CalciteAccordionStyle0 = accordionCss;
26
-
27
- const Accordion = class {
28
- constructor(hostRef) {
29
- index.registerInstance(this, hostRef);
30
- this.calciteInternalAccordionChange = index.createEvent(this, "calciteInternalAccordionChange", 6);
31
- this.mutationObserver = observers.createObserver("mutation", () => this.updateAccordionItems());
32
- this.appearance = "solid";
33
- this.iconPosition = "end";
34
- this.iconType = "chevron";
35
- this.scale = "m";
36
- this.selectionMode = "multiple";
37
- }
38
- handlePropsChange() {
39
- this.updateAccordionItems();
40
- }
41
- //--------------------------------------------------------------------------
42
- //
43
- // Lifecycle
44
- //
45
- //--------------------------------------------------------------------------
46
- connectedCallback() {
47
- this.mutationObserver?.observe(this.el, { childList: true });
48
- this.updateAccordionItems();
49
- }
50
- disconnectedCallback() {
51
- this.mutationObserver?.disconnect();
52
- }
53
- render() {
54
- const transparent = this.appearance === "transparent";
55
- return (index.h("div", { key: '1399ab312fad432bde78fdedd0435848b53109ef', class: {
56
- [CSS.transparent]: transparent,
57
- [CSS.accordion]: !transparent,
58
- } }, index.h("slot", { key: '3ab7863d23eabb6c5ce499de42dab74df885ccdd' })));
59
- }
60
- //--------------------------------------------------------------------------
61
- //
62
- // Event Listeners
63
- //
64
- //--------------------------------------------------------------------------
65
- updateActiveItemOnChange(event) {
66
- this.calciteInternalAccordionChange.emit({
67
- requestedAccordionItem: event.detail.requestedAccordionItem,
68
- });
69
- event.stopPropagation();
70
- }
71
- //--------------------------------------------------------------------------
72
- //
73
- // Private Methods
74
- //
75
- //--------------------------------------------------------------------------
76
- updateAccordionItems() {
77
- this.el.querySelectorAll("calcite-accordion-item").forEach((item) => {
78
- item.iconPosition = this.iconPosition;
79
- item.iconType = this.iconType;
80
- item.scale = this.scale;
81
- });
82
- // sync props on items across shadow DOM
83
- document.dispatchEvent(new CustomEvent("calciteInternalAccordionItemsSync"));
84
- }
85
- get el() { return index.getElement(this); }
86
- static get watchers() { return {
87
- "iconPosition": ["handlePropsChange"],
88
- "iconType": ["handlePropsChange"],
89
- "scale": ["handlePropsChange"],
90
- "selectionMode": ["handlePropsChange"]
91
- }; }
92
- };
93
- Accordion.style = CalciteAccordionStyle0;
94
-
95
- exports.calcite_accordion = Accordion;
@@ -1,46 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- 'use strict';
7
-
8
- Object.defineProperty(exports, '__esModule', { value: true });
9
-
10
- const index = require('./index-5a0af791.js');
11
- const guid = require('./guid-42cda8c9.js');
12
-
13
- /*!
14
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
15
- * See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
16
- * v2.12.2
17
- */
18
- const CSS = {
19
- container: "container",
20
- selected: "selected",
21
- };
22
-
23
- const carouselItemCss = ":host{display:flex}.container{display:none;inline-size:var(--calcite-container-size-content-fluid)}:host([selected]) .container{display:block}:host([hidden]){display:none}[hidden]{display:none}";
24
- const CalciteCarouselItemStyle0 = carouselItemCss;
25
-
26
- const CarouselItem = class {
27
- constructor(hostRef) {
28
- index.registerInstance(this, hostRef);
29
- this.guid = `calcite-carousel-item-${guid.guid()}`;
30
- this.label = undefined;
31
- this.selected = false;
32
- }
33
- // --------------------------------------------------------------------------
34
- //
35
- // Render Methods
36
- //
37
- // --------------------------------------------------------------------------
38
- render() {
39
- const id = this.el.id || this.guid;
40
- return (index.h(index.Host, { key: '6d4ac387ae1b4748050c82d8387edd30e6c0e662', id: id }, index.h("div", { key: 'c6a4c67d99dd6e34198b2d128efb518e757277ce', "aria-label": this.label, class: { [CSS.container]: true, [CSS.selected]: this.selected }, role: "tabpanel" }, index.h("slot", { key: '2ed94883d41dba5430a39933c6fe91bb25b12703' }))));
41
- }
42
- get el() { return index.getElement(this); }
43
- };
44
- CarouselItem.style = CalciteCarouselItemStyle0;
45
-
46
- exports.calcite_carousel_item = CarouselItem;
@@ -1,6 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- export{I as calcite_input_time_picker}from"./p-924ec704.js";import"./p-6eb37ed2.js";import"./p-66b01781.js";import"./p-c25e8c35.js";import"./p-aaa56cbf.js";import"./p-8bfa18b7.js";import"./p-1ce2608d.js";import"./p-4b9b7778.js";import"./p-64a34d92.js";import"./p-7c854814.js";import"./p-27d462c0.js";import"./p-3e828614.js";import"./p-304cef31.js";import"./p-1c249530.js";import"./p-c40b0ec5.js";import"./p-0ef9d36b.js";import"./p-f6f2018a.js";import"./p-d9e930c8.js";import"./p-1017609e.js";import"./p-ef67c743.js";import"./p-14f027b5.js";
@@ -1,11 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- import{r as i,c as e,h as t,H as c,g as n}from"./p-6eb37ed2.js";import{c as o,d as a}from"./p-f8d23498.js";import{g as r,a as s,t as d,c as l}from"./p-c25e8c35.js";import{C as h}from"./p-8bfa18b7.js";import{g as p}from"./p-27d462c0.js";import{s as m,a as v,c as f}from"./p-3e828614.js";import"./p-1c249530.js";import"./p-4b9b7778.js";import"./p-aaa56cbf.js";
7
- /*!
8
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
9
- * See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
10
- * v2.12.2
11
- */const g="actions-start",b="actions-end",x="header",u="icon",k="icon--end",y="icon--start",w="section",j="section-toggle",I=class{constructor(t){i(this,t),this.calciteInternalAccordionItemSelect=e(this,"calciteInternalAccordionItemSelect",6),this.calciteInternalAccordionItemClose=e(this,"calciteInternalAccordionItemClose",6),this.storeHeaderEl=i=>{this.headerEl=i},this.itemHeaderClickHandler=()=>this.emitRequestedItem(),this.expanded=!1,this.heading=void 0,this.description=void 0,this.iconStart=void 0,this.iconEnd=void 0,this.iconFlipRtl=void 0,this.iconPosition=void 0,this.iconType=void 0,this.accordionParent=void 0,this.scale=void 0}connectedCallback(){o(this)}componentWillLoad(){m(this)}componentDidLoad(){v(this)}disconnectedCallback(){a(this)}renderActionsStart(){const{el:i}=this;return r(i,g)?t("div",{class:"actions-start"},t("slot",{name:g})):null}renderActionsEnd(){const{el:i}=this;return r(i,b)?t("div",{class:"actions-end"},t("slot",{name:b})):null}render(){const{iconFlipRtl:i}=this,e=s(this.el),n=this.iconStart?t("calcite-icon",{class:{[u]:!0,[y]:!0},flipRtl:"both"===i||"start"===i,icon:this.iconStart,key:"icon-start",scale:p(this.scale)}):null,o=this.iconEnd?t("calcite-icon",{class:{[k]:!0,[u]:!0},flipRtl:"both"===i||"end"===i,icon:this.iconEnd,key:"icon-end",scale:p(this.scale)}):null,{description:a}=this;return t(c,{key:"814d4825cae2104f75b2f9929536082846cf57bd"},t("div",{key:"2db2128ea0666b97849c6dae790540f233c9d0c1",class:{[`icon-position--${this.iconPosition}`]:!0,[`icon-type--${this.iconType}`]:!0}},t("div",{key:"64fe888d6f47db3f9338327280b3e321bb770518",class:{[x]:!0,[h.rtl]:"rtl"===e}},this.renderActionsStart(),t("div",{key:"9b76d09efa231d1840c913245832a10bedd8ea4b","aria-controls":w,"aria-expanded":d(this.expanded),class:"header-content",id:j,onClick:this.itemHeaderClickHandler,ref:this.storeHeaderEl,role:"button",tabindex:"0"},t("div",{key:"59c73bc01a0321f23b296b12fa4bd9476084ce4b",class:"header-container"},n,t("div",{key:"c9d3551a823a31d4cc54934f780272e437f38ef1",class:"header-text"},t("span",{key:"350ea0660f827ced975b326287dc285ad1417b4c",class:"heading"},this.heading),a?t("span",{class:"description"},a):null),o),t("calcite-icon",{key:"497edd46ef65a4ac27a844f7c6c5de5cfb2cb0e7",class:"expand-icon",icon:"chevron"===this.iconType?"chevronDown":"caret"===this.iconType?"caretDown":this.expanded?"minus":"plus",scale:p(this.scale)})),this.renderActionsEnd()),t("section",{key:"1b7cd480d664d6b3f65c145e19c5866107d19413","aria-labelledby":j,class:"content",id:w},t("slot",{key:"1156f3056966f11ee0836a5185cce700911c8c8b"}))))}keyDownHandler(i){if(i.target===this.el)switch(i.key){case" ":case"Enter":this.emitRequestedItem(),i.preventDefault()}}updateActiveItemOnChange(i){const[e]=i.composedPath(),t=l(this.el,"calcite-accordion");e===t&&(this.determineActiveItem(t.selectionMode,i.detail.requestedAccordionItem),i.stopPropagation())}accordionItemSyncHandler(i){const[e]=i.composedPath(),t=this.el;if(t.parentElement===e)return;const c=l(t,"calcite-accordion");e===c&&(t.iconPosition=c.iconPosition,t.iconType=c.iconType,t.scale=c.scale,i.stopPropagation())}async setFocus(){await f(this),this.headerEl.focus()}determineActiveItem(i,e){switch(i){case"multiple":this.el===e&&(this.expanded=!this.expanded);break;case"single":this.expanded=this.el===e&&!this.expanded;break;case"single-persist":this.expanded=this.el===e}}emitRequestedItem(){this.calciteInternalAccordionItemSelect.emit({requestedAccordionItem:this.el})}get el(){return n(this)}};I.style=".icon-position--end,.icon-position--start{--calcite-internal-accordion-item-icon-rotation:calc(90deg * -1);--calcite-internal-accordion-item-active-icon-rotation:0deg;--calcite-internal-accordion-item-icon-rotation-rtl:90deg;--calcite-internal-accordion-item-active-icon-rotation-rtl:0deg}:host{position:relative;display:flex;flex-direction:column;text-decoration-line:none;color:var(--calcite-accordion-text-color, var(--calcite-color-text-3));border-width:0}.icon-position--start{--calcite-internal-accordion-item-flex-direction:row-reverse;--calcite-internal-accordion-item-icon-spacing-start:0;--calcite-internal-accordion-item-icon-spacing-end:var(--calcite-internal-accordion-icon-margin)}.icon-position--end{--calcite-internal-accordion-item-flex-direction:row;--calcite-internal-accordion-item-icon-spacing-start:var(--calcite-internal-accordion-icon-margin);--calcite-internal-accordion-item-icon-spacing-end:0}.icon-position--end:not(.icon-type--plus-minus){--calcite-internal-accordion-item-icon-rotation:0deg;--calcite-internal-accordion-item-active-icon-rotation:180deg;--calcite-internal-accordion-item-icon-rotation-rtl:0deg;--calcite-internal-accordion-item-active-icon-rotation-rtl:calc(180deg * -1)}.content,.header{border-block-end-width:var(--calcite-border-width-sm);border-block-end-style:solid;border-color:var(--calcite-accordion-border-color, var(--calcite-color-border-2))}.header-content,.content{padding:var(--calcite-accordion-item-content-space, var(--calcite-internal-accordion-item-padding, var(--calcite-internal-accordion-item-spacing-unit, 0.5rem 0.75rem)))}.header{display:flex;align-items:stretch}.header *{display:inline-flex;align-items:center;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);word-wrap:break-word;word-break:break-word}.header-content{flex-grow:1;cursor:pointer;outline-color:transparent;flex-direction:var(--calcite-internal-accordion-item-flex-direction)}.header-content:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}.header-content:focus,.header-content:hover,.header-content:active{color:var(--calcite-accordion-text-color-hover, var(--calcite-color-text-2))}.header-content:focus .expand-icon,.header-content:focus .heading,.header-content:hover .expand-icon,.header-content:hover .heading,.header-content:active .expand-icon,.header-content:active .heading{color:var(--calcite-accordion-text-color-pressed, var(--calcite-color-text-1))}.header-container{inline-size:100%}.header-text{margin-block:0px;flex-grow:1;flex-direction:column;padding-block:0px;text-align:initial;margin-inline-end:auto}.heading,.description{display:flex;inline-size:100%}.heading{font-weight:var(--calcite-font-weight-medium)}.actions-start,.actions-end{display:flex;align-items:center}.icon{display:flex;align-items:center;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);margin-inline-end:var(--calcite-internal-accordion-item-icon-spacing-start);margin-inline-start:var(--calcite-internal-accordion-item-icon-spacing-end)}.icon--start{margin-inline-end:var(--calcite-internal-accordion-icon-margin)}.icon--end{margin-inline-end:var(--calcite-internal-accordion-icon-margin);margin-inline-start:var(--calcite-internal-accordion-icon-margin)}.expand-icon{color:var(--calcite-accordion-text-color, var(--calcite-color-text-3));margin-inline-start:var(--calcite-internal-accordion-item-icon-spacing-start);margin-inline-end:var(--calcite-internal-accordion-item-icon-spacing-end);transform:rotate(var(--calcite-internal-accordion-item-icon-rotation))}.calcite--rtl .expand-icon{transform:rotate(var(--calcite-internal-accordion-item-icon-rotation-rtl))}.description{margin-block-start:0.25rem}.content{display:none;padding-block-start:0px;text-align:initial}:host(:not(:focus):not(:hover):not([expanded])) .heading{color:var(--calcite-accordion-text-color-hover, var(--calcite-color-text-2))}:host([expanded]){color:var(--calcite-accordion-text-color-pressed, var(--calcite-color-text-1))}:host([expanded]) .header{border-block-end-color:transparent}:host([expanded]) .expand-icon{color:var(--calcite-accordion-text-color-hover, var(--calcite-color-text-2));transform:rotate(var(--calcite-internal-accordion-item-active-icon-rotation))}:host([expanded]) .calcite--rtl .expand-icon{transform:rotate(var(--calcite-internal-accordion-item-active-icon-rotation-rtl))}:host([expanded]) .description{color:var(--calcite-accordion-text-color-hover, var(--calcite-color-text-2))}:host([expanded]) .content{display:block}@media (forced-colors: active){:host([expanded]) .header{border-block-end:none}:host([expanded]) .heading{font-weight:bolder}.header-content:hover .heading,.header-content:focus .heading{text-decoration:underline}}:host([hidden]){display:none}[hidden]{display:none}";export{I as calcite_accordion_item}
@@ -1,6 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- import{r as t,c as e,h as o,H as i,g as a}from"./p-6eb37ed2.js";import{g as c}from"./p-3d0e9be4.js";import"./p-4cd4cb85.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-ac122d9e.js";const l=class{constructor(o){t(this,o),this.measureActive=e(this,"measureActive",7),this.messages=void 0,this.view=void 0,this.areaUnit=void 0,this.linearUnit=void 0,this.coordinateFormat=void 0,this.activeToolType=void 0,this.closable=!1}async componentWillLoad(){c(this)}componentDidLoad(){}render(){var t;return o(i,{key:"0af812b1330d8e6dc26319b6c19ccc94b3704759"},o("calcite-panel",{key:"61a7c3c7e880ddb4aeeeac24ac0c37eeedb96a0c",heading:null===(t=null==this?void 0:this.messages)||void 0===t?void 0:t.label,closable:this.closable},o("div",{key:"835e5e4f7a90618eb37a65bdca38e7ec684f54d1"},this.renderActionPad()),this.renderMeasureToolPanel()))}renderMeasureToolPanel(){const{view:t,coordinateFormat:e,areaUnit:i,linearUnit:a,activeToolType:c}=this;return o("calcite-panel",{class:"instant-apps-measurement__content"},o("instant-apps-measurement-tool",{ref:t=>{this.measureTool=t},view:t,measureConfiguration:{coordinateFormat:e,areaUnit:i,linearUnit:a,activeToolType:c}}))}renderActionPad(){const{messages:t,activeToolType:e}=this;return o("calcite-action-pad",{"expand-disabled":!0,layout:"horizontal",position:"end"},o("calcite-action",{class:"distance"===e?"active-tool":"",text:null==t?void 0:t.line,icon:"measure",scale:"m","data-value":"distance",onClick:this._handleToolClick.bind(this)},o("calcite-tooltip",{"close-on-click":!0,placement:"bottom",slot:"tooltip"},null==t?void 0:t.line)),o("calcite-action",{class:"area"===e?"active-tool":"",text:null==t?void 0:t.area,scale:"m",icon:"measure-area","data-value":"area",onClick:this._handleToolClick.bind(this)},o("calcite-tooltip",{"close-on-click":!0,placement:"bottom",slot:"tooltip"},null==t?void 0:t.area)),o("calcite-action",{class:"point"===e?"active-tool":"",text:null==t?void 0:t.point,scale:"m",icon:"pin-plus","data-value":"point",onClick:this._handleToolClick.bind(this)},o("calcite-tooltip",{"close-on-click":!0,placement:"bottom",slot:"tooltip"},null==t?void 0:t.point)),o("calcite-action",{text:null==t?void 0:t.clear,scale:"m",icon:"trash","data-value":"clear",onClick:this._handleToolClick.bind(this)},o("calcite-tooltip",{"close-on-click":!0,placement:"bottom",slot:"tooltip"},null==t?void 0:t.clear)))}_handleToolClick(t){var e,o,i,a;if(!(null==this?void 0:this.measureTool))return;const c=null===(e=null==t?void 0:t.target)||void 0===e?void 0:e.dataset.value;this.measureTool.activeTool=c;const l=document.getElementsByClassName("active-tool");for(let t=0;t<(null==l?void 0:l.length);t++)null===(i=null===(o=l[t])||void 0===o?void 0:o.classList)||void 0===i||i.remove("active-tool");null===(a=null==t?void 0:t.target)||void 0===a||a.classList.add("active-tool"),this.measureActive.emit(void 0!==c&&"clear"!==c)}get el(){return a(this)}};l.style=".sc-instant-apps-measurement-h .sc-instant-apps-measurement.sc-instant-apps-measurement{background:var(--calcite-color-foreground-1)}.sc-instant-apps-measurement-h .active-tool.sc-instant-apps-measurement{--calcite-color-foreground-1:#c7eaff}";export{l as instant_apps_measurement}
@@ -1,6 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- import{d as e}from"./p-924ec704.js";import"./p-6eb37ed2.js";import"./p-66b01781.js";import"./p-c25e8c35.js";import"./p-aaa56cbf.js";import"./p-8bfa18b7.js";import"./p-1ce2608d.js";import"./p-4b9b7778.js";import"./p-64a34d92.js";import"./p-7c854814.js";import"./p-27d462c0.js";import"./p-3e828614.js";import"./p-304cef31.js";import"./p-1c249530.js";import"./p-c40b0ec5.js";import"./p-0ef9d36b.js";import"./p-f6f2018a.js";import"./p-d9e930c8.js";import"./p-1017609e.js";import"./p-ef67c743.js";import"./p-14f027b5.js";function t(e,t,a,s){var p={s:["mõne sekundi","mõni sekund","paar sekundit"],m:["ühe minuti","üks minut"],mm:["%d minuti","%d minutit"],h:["ühe tunni","tund aega","üks tund"],hh:["%d tunni","%d tundi"],d:["ühe päeva","üks päev"],M:["kuu aja","kuu aega","üks kuu"],MM:["%d kuu","%d kuud"],y:["ühe aasta","aasta","üks aasta"],yy:["%d aasta","%d aastat"]};return t?(p[a][2]?p[a][2]:p[a][1]).replace("%d",e):(s?p[a][0]:p[a][1]).replace("%d",e)}var a={name:"et",weekdays:"pühapäev_esmaspäev_teisipäev_kolmapäev_neljapäev_reede_laupäev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),months:"jaanuar_veebruar_märts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_märts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),ordinal:function(e){return e+"."},weekStart:1,relativeTime:{future:"%s pärast",past:"%s tagasi",s:t,m:t,mm:t,h:t,hh:t,d:t,dd:"%d päeva",M:t,MM:t,y:t,yy:t},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"}};e.locale(a,null,!0);export{a as default}
@@ -1,6 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- import{d as e}from"./p-924ec704.js";import"./p-6eb37ed2.js";import"./p-66b01781.js";import"./p-c25e8c35.js";import"./p-aaa56cbf.js";import"./p-8bfa18b7.js";import"./p-1ce2608d.js";import"./p-4b9b7778.js";import"./p-64a34d92.js";import"./p-7c854814.js";import"./p-27d462c0.js";import"./p-3e828614.js";import"./p-304cef31.js";import"./p-1c249530.js";import"./p-c40b0ec5.js";import"./p-0ef9d36b.js";import"./p-f6f2018a.js";import"./p-d9e930c8.js";import"./p-1017609e.js";import"./p-ef67c743.js";import"./p-14f027b5.js";function r(e){return e>1&&e<5&&1!=~~(e/10)}function t(e,t,m,o){var s=e+" ";switch(m){case"s":return t||o?"pár sekúnd":"pár sekundami";case"m":return t?"minúta":o?"minútu":"minútou";case"mm":return t||o?s+(r(e)?"minúty":"minút"):s+"minútami";case"h":return t?"hodina":o?"hodinu":"hodinou";case"hh":return t||o?s+(r(e)?"hodiny":"hodín"):s+"hodinami";case"d":return t||o?"deň":"dňom";case"dd":return t||o?s+(r(e)?"dni":"dní"):s+"dňami";case"M":return t||o?"mesiac":"mesiacom";case"MM":return t||o?s+(r(e)?"mesiace":"mesiacov"):s+"mesiacmi";case"y":return t||o?"rok":"rokom";case"yy":return t||o?s+(r(e)?"roky":"rokov"):s+"rokmi"}}var m={name:"sk",weekdays:"nedeľa_pondelok_utorok_streda_štvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_št_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_št_pi_so".split("_"),months:"január_február_marec_apríl_máj_jún_júl_august_september_október_november_december".split("_"),monthsShort:"jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec".split("_"),weekStart:1,yearStart:4,ordinal:function(e){return e+"."},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},relativeTime:{future:"za %s",past:"pred %s",s:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t}};e.locale(m,null,!0);export{m as default}
@@ -1,11 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- import{r as e,c as i,h as c,g as t}from"./p-6eb37ed2.js";import{c as n}from"./p-1c249530.js";import"./p-4b9b7778.js";
7
- /*!
8
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
9
- * See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
10
- * v2.12.2
11
- */const a="accordion",r="accordion--transparent",o=class{constructor(c){e(this,c),this.calciteInternalAccordionChange=i(this,"calciteInternalAccordionChange",6),this.mutationObserver=n("mutation",(()=>this.updateAccordionItems())),this.appearance="solid",this.iconPosition="end",this.iconType="chevron",this.scale="m",this.selectionMode="multiple"}handlePropsChange(){this.updateAccordionItems()}connectedCallback(){this.mutationObserver?.observe(this.el,{childList:!0}),this.updateAccordionItems()}disconnectedCallback(){this.mutationObserver?.disconnect()}render(){const e="transparent"===this.appearance;return c("div",{key:"1399ab312fad432bde78fdedd0435848b53109ef",class:{[r]:e,[a]:!e}},c("slot",{key:"3ab7863d23eabb6c5ce499de42dab74df885ccdd"}))}updateActiveItemOnChange(e){this.calciteInternalAccordionChange.emit({requestedAccordionItem:e.detail.requestedAccordionItem}),e.stopPropagation()}updateAccordionItems(){this.el.querySelectorAll("calcite-accordion-item").forEach((e=>{e.iconPosition=this.iconPosition,e.iconType=this.iconType,e.scale=this.scale})),document.dispatchEvent(new CustomEvent("calciteInternalAccordionItemsSync"))}get el(){return t(this)}static get watchers(){return{iconPosition:["handlePropsChange"],iconType:["handlePropsChange"],scale:["handlePropsChange"],selectionMode:["handlePropsChange"]}}};o.style=":host{position:relative;display:block;max-inline-size:100%;line-height:1.5rem}.accordion{border-width:1px;border-block-end-width:0px;border-style:solid;border-color:var(--calcite-accordion-border-color, var(--calcite-color-border-2));background-color:var(--calcite-accordion-background-color, var(--calcite-color-foreground-1))}.accordion--transparent{--calcite-accordion-border-color:transparent;border-color:var(--calcite-color-transparent);background-color:var(--calcite-color-transparent)}:host([scale=s]){--calcite-internal-accordion-item-spacing-unit:0.25rem;--calcite-internal-accordion-icon-margin:0.5rem;--calcite-internal-accordion-item-padding:var(--calcite-internal-accordion-item-spacing-unit) 0.5rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=m]){--calcite-internal-accordion-item-spacing-unit:0.5rem;--calcite-internal-accordion-icon-margin:0.75rem;--calcite-internal-accordion-item-padding:var(--calcite-internal-accordion-item-spacing-unit) 0.75rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]){--calcite-internal-accordion-item-spacing-unit:0.75rem;--calcite-internal-accordion-icon-margin:1rem;--calcite-internal-accordion-item-padding:var(--calcite-internal-accordion-item-spacing-unit) 1rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([hidden]){display:none}[hidden]{display:none}";export{o as calcite_accordion}
@@ -1,6 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- import{b as n}from"./p-3d0e9be4.js";import{c as t}from"./p-720a12c0.js";var l,e,a,o;!function(n){n.User="user",n.Translation="translation"}(l||(l={})),function(n){n.String="string",n.TextEditor="textEditor"}(e||(e={})),function(n){n.ExpandCollapse="list-merge",n.SettingIndicator="list-button",n.Popover="information",n.Expanded="chevron-down",n.Collapsed="chevron-right",n.Copy="copy-to-clipboard",n.Breadcrumb="chevron-right",n.DefaultIcon="language",n.Title="title",n.Subtitle="subheading",n.Text="text",n.Description="description",n.Button="button",n.String="string"}(a||(a={})),function(n){n.Light="calcite-mode-light",n.Dark="calcite-mode-dark"}(o||(o={}));const u=t({uiData:null,currentLanguage:null,lastSave:null,saving:!1,currentLocaleSettingItem:null,portalItemResource:null,portalItemResourceT9n:null}),i=u.state,r=u;function c(n,t){var l;if(!n)return;const e=r.get("uiData"),a=new Map;a.set("locales",t),a.set("translatedLanguageLabels",Object.assign({},n.translatedLanguageLabels)),n.content.forEach((n=>{var t,l;const{type:o,label:u,value:i,uiLocation:r}=n,c=null==e?void 0:e.get(n.id);a.set(n.id,{userLocaleData:{type:null!=o?o:null,label:null!=u?u:null,value:null!=i?i:null},expanded:!0,selected:null!==(t=null==c?void 0:c.selected)&&void 0!==t&&t,uiLocation:r,tip:null!==(l=null==n?void 0:n.tip)&&void 0!==l?l:null})}));const o=n.content.map((n=>n.id)),u=o.every((n=>!a.get(n).selected)),i=a.get(o[0]);if(u&&i){const n=null==e?void 0:e.get(o[0]);i.selected=null===(l=null==n?void 0:n.selected)||void 0===l||l}return a}async function s(t){return(await n(t))[0]}function d(){var n;const t=[];return null===(n=i.uiData)||void 0===n||n.forEach(((n,l)=>{"locales"!==l&&"translatedLanguageLabels"!==l&&t.push(l)})),t}function v(n,t){const l=r.get("portalItemResourceT9n");let e;return(null==l?void 0:l[n])||(l[n]={}),e=Object.assign(Object.assign({},l),{[n]:Object.assign(Object.assign({},l[n]),t)}),e}function g(n){var t;return null!==(t=null==n?void 0:n.map((n=>n.locale)))&&void 0!==t?t:[]}function b(){return document.body.classList.contains(o.Dark)}export{a as E,c as a,g as b,d as c,e as d,o as e,l as f,s as g,v as h,b as i,i as l,r as s}
@@ -1,11 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- import{d as o}from"./p-6eb37ed2.js";import{p as n}from"./p-c25e8c35.js";
7
- /*!
8
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
9
- * See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
10
- * v2.12.2
11
- */const e=o;function p(o){return"opened"in o?o.opened:o.open}function r(o){e((()=>{o.transitionEl&&n(o.transitionEl,o.openTransitionProp,(()=>{p(o)?o.onBeforeOpen():o.onBeforeClose()}),(()=>{p(o)?o.onOpen():o.onClose()}))}))}export{r as o}