@esri/solutions-components 0.10.34 → 0.10.35

Sign up to get free protection for your applications and to get access to all the features.
Files changed (289) hide show
  1. package/dist/cjs/basemap-gallery_7.cjs.entry.js +6 -6
  2. package/dist/cjs/buffer-tools_3.cjs.entry.js +1 -1
  3. package/dist/cjs/calcite-alert_5.cjs.entry.js +7 -5
  4. package/dist/cjs/calcite-combobox_3.cjs.entry.js +1 -1
  5. package/dist/cjs/calcite-flow_4.cjs.entry.js +18 -16
  6. package/dist/cjs/{calcite-modal_3.cjs.entry.js → calcite-modal.cjs.entry.js} +27 -368
  7. package/dist/cjs/calcite-shell-panel_14.cjs.entry.js +7 -7
  8. package/dist/cjs/calcite-shell_3.cjs.entry.js +440 -0
  9. package/dist/cjs/card-manager_3.cjs.entry.js +20 -9
  10. package/dist/cjs/crowdsource-manager.cjs.entry.js +3 -2
  11. package/dist/cjs/crowdsource-reporter.cjs.entry.js +24 -21
  12. package/dist/cjs/feature-comments.cjs.entry.js +1 -1
  13. package/dist/cjs/feature-form-flow-item.cjs.entry.js +1 -1
  14. package/dist/cjs/feature-list.cjs.entry.js +4 -4
  15. package/dist/cjs/features-flow-item.cjs.entry.js +1 -1
  16. package/dist/cjs/layout-manager.cjs.entry.js +1 -1
  17. package/dist/cjs/list-flow-item.cjs.entry.js +1 -1
  18. package/dist/cjs/loader.cjs.js +1 -1
  19. package/dist/cjs/location-flow-item.cjs.entry.js +1 -1
  20. package/dist/cjs/map-select-tools_3.cjs.entry.js +3 -3
  21. package/dist/cjs/pci-calculator.cjs.entry.js +1 -1
  22. package/dist/cjs/public-notification.cjs.entry.js +1 -1
  23. package/dist/cjs/refine-results-flow-item.cjs.entry.js +1 -1
  24. package/dist/cjs/share-item.cjs.entry.js +1 -1
  25. package/dist/cjs/solution-configuration.cjs.entry.js +3 -3
  26. package/dist/cjs/solution-contents_3.cjs.entry.js +3 -3
  27. package/dist/cjs/solution-item-accordion.cjs.entry.js +1 -1
  28. package/dist/cjs/solution-item-icon.cjs.entry.js +1 -1
  29. package/dist/cjs/solutions-components.cjs.js +1 -1
  30. package/dist/cjs/spatial-ref.cjs.entry.js +1 -1
  31. package/dist/collection/assets/t9n/delete-dialog/resources.json +8 -0
  32. package/dist/collection/assets/t9n/delete-dialog/resources_ar.json +8 -0
  33. package/dist/collection/assets/t9n/delete-dialog/resources_bg.json +8 -0
  34. package/dist/collection/assets/t9n/delete-dialog/resources_bs.json +8 -0
  35. package/dist/collection/assets/t9n/delete-dialog/resources_ca.json +8 -0
  36. package/dist/collection/assets/t9n/delete-dialog/resources_cs.json +8 -0
  37. package/dist/collection/assets/t9n/delete-dialog/resources_da.json +8 -0
  38. package/dist/collection/assets/t9n/delete-dialog/resources_de.json +8 -0
  39. package/dist/collection/assets/t9n/delete-dialog/resources_el.json +8 -0
  40. package/dist/collection/assets/t9n/delete-dialog/resources_en.json +8 -0
  41. package/dist/collection/assets/t9n/delete-dialog/resources_es.json +8 -0
  42. package/dist/collection/assets/t9n/delete-dialog/resources_et.json +8 -0
  43. package/dist/collection/assets/t9n/delete-dialog/resources_fi.json +8 -0
  44. package/dist/collection/assets/t9n/delete-dialog/resources_fr.json +8 -0
  45. package/dist/collection/assets/t9n/delete-dialog/resources_he.json +8 -0
  46. package/dist/collection/assets/t9n/delete-dialog/resources_hr.json +8 -0
  47. package/dist/collection/assets/t9n/delete-dialog/resources_hu.json +8 -0
  48. package/dist/collection/assets/t9n/delete-dialog/resources_id.json +8 -0
  49. package/dist/collection/assets/t9n/delete-dialog/resources_it.json +8 -0
  50. package/dist/collection/assets/t9n/delete-dialog/resources_ja.json +8 -0
  51. package/dist/collection/assets/t9n/delete-dialog/resources_ko.json +8 -0
  52. package/dist/collection/assets/t9n/delete-dialog/resources_lt.json +8 -0
  53. package/dist/collection/assets/t9n/delete-dialog/resources_lv.json +8 -0
  54. package/dist/collection/assets/t9n/delete-dialog/resources_nb.json +8 -0
  55. package/dist/collection/assets/t9n/delete-dialog/resources_nl.json +8 -0
  56. package/dist/collection/assets/t9n/delete-dialog/resources_pl.json +8 -0
  57. package/dist/collection/assets/t9n/delete-dialog/resources_pt-BR.json +8 -0
  58. package/dist/collection/assets/t9n/delete-dialog/resources_pt-PT.json +8 -0
  59. package/dist/collection/assets/t9n/delete-dialog/resources_ro.json +8 -0
  60. package/dist/collection/assets/t9n/delete-dialog/resources_ru.json +8 -0
  61. package/dist/collection/assets/t9n/delete-dialog/resources_sk.json +8 -0
  62. package/dist/collection/assets/t9n/delete-dialog/resources_sl.json +8 -0
  63. package/dist/collection/assets/t9n/delete-dialog/resources_sr.json +8 -0
  64. package/dist/collection/assets/t9n/delete-dialog/resources_sv.json +8 -0
  65. package/dist/collection/assets/t9n/delete-dialog/resources_th.json +8 -0
  66. package/dist/collection/assets/t9n/delete-dialog/resources_tr.json +8 -0
  67. package/dist/collection/assets/t9n/delete-dialog/resources_uk.json +8 -0
  68. package/dist/collection/assets/t9n/delete-dialog/resources_vi.json +8 -0
  69. package/dist/collection/assets/t9n/delete-dialog/resources_zh-CN.json +8 -0
  70. package/dist/collection/assets/t9n/delete-dialog/resources_zh-HK.json +8 -0
  71. package/dist/collection/assets/t9n/delete-dialog/resources_zh-TW.json +8 -0
  72. package/dist/collection/collection-manifest.json +1 -0
  73. package/dist/collection/components/create-feature/create-feature.css +2 -1
  74. package/dist/collection/components/create-feature/create-feature.js +3 -1
  75. package/dist/collection/components/crowdsource-manager/crowdsource-manager.css +4 -0
  76. package/dist/collection/components/crowdsource-manager/crowdsource-manager.js +2 -1
  77. package/dist/collection/components/crowdsource-reporter/crowdsource-reporter.js +24 -21
  78. package/dist/collection/components/delete-button/delete-button.js +20 -27
  79. package/dist/collection/components/delete-dialog/delete-dialog.css +23 -0
  80. package/dist/collection/components/delete-dialog/delete-dialog.js +239 -0
  81. package/dist/collection/components/edit-card/edit-card.js +1 -1
  82. package/dist/collection/components/feature-comments/feature-comments.js +1 -1
  83. package/dist/collection/components/feature-details/feature-details.js +13 -11
  84. package/dist/collection/components/feature-form-flow-item/feature-form-flow-item.js +1 -1
  85. package/dist/collection/components/feature-list/feature-list.js +4 -4
  86. package/dist/collection/components/features-flow-item/features-flow-item.js +1 -1
  87. package/dist/collection/components/floor-filter/floor-filter.js +1 -1
  88. package/dist/collection/components/info-card/info-card.js +2 -2
  89. package/dist/collection/components/json-editor/json-editor.js +1 -1
  90. package/dist/collection/components/layer-list/layer-list.js +5 -5
  91. package/dist/collection/components/layer-table/layer-table.css +6 -0
  92. package/dist/collection/components/layer-table/layer-table.js +19 -7
  93. package/dist/collection/components/layout-manager/layout-manager.js +1 -1
  94. package/dist/collection/components/list-flow-item/list-flow-item.js +1 -1
  95. package/dist/collection/components/location-flow-item/location-flow-item.js +1 -1
  96. package/dist/collection/components/map-card/map-card.js +1 -1
  97. package/dist/collection/components/map-draw-tools/map-draw-tools.js +1 -1
  98. package/dist/collection/components/map-fullscreen/map-fullscreen.js +1 -1
  99. package/dist/collection/components/map-layer-picker/map-layer-picker.js +1 -1
  100. package/dist/collection/components/map-legend/map-legend.js +1 -1
  101. package/dist/collection/components/map-picker/map-picker.js +1 -1
  102. package/dist/collection/components/map-search/map-search.js +1 -1
  103. package/dist/collection/components/map-select-tools/map-select-tools.js +1 -1
  104. package/dist/collection/components/map-tools/map-tools.js +1 -1
  105. package/dist/collection/components/pci-calculator/pci-calculator.js +1 -1
  106. package/dist/collection/components/pdf-download/pdf-download.js +1 -1
  107. package/dist/collection/components/public-notification/public-notification.js +1 -1
  108. package/dist/collection/components/refine-results-flow-item/refine-results-flow-item.js +1 -1
  109. package/dist/collection/components/refine-selection/refine-selection.js +1 -1
  110. package/dist/collection/components/share-item/share-item.js +1 -1
  111. package/dist/collection/components/solution-configuration/solution-configuration.js +3 -3
  112. package/dist/collection/components/solution-contents/solution-contents.js +1 -1
  113. package/dist/collection/components/solution-item/solution-item.js +1 -1
  114. package/dist/collection/components/solution-item-accordion/solution-item-accordion.js +1 -1
  115. package/dist/collection/components/solution-item-details/solution-item-details.js +1 -1
  116. package/dist/collection/components/solution-item-icon/solution-item-icon.js +1 -1
  117. package/dist/collection/components/solution-item-sharing/solution-item-sharing.js +1 -1
  118. package/dist/collection/components/solution-organization-variables/solution-organization-variables.js +1 -1
  119. package/dist/collection/components/solution-resource-item/solution-resource-item.js +1 -1
  120. package/dist/collection/components/solution-spatial-ref/solution-spatial-ref.js +1 -1
  121. package/dist/collection/components/solution-template-data/solution-template-data.js +1 -1
  122. package/dist/collection/components/solution-variables/solution-variables.js +1 -1
  123. package/dist/collection/components/spatial-ref/spatial-ref.js +1 -1
  124. package/dist/components/card-manager2.js +40 -34
  125. package/dist/components/create-feature2.js +4 -2
  126. package/dist/components/crowdsource-manager.js +101 -94
  127. package/dist/components/crowdsource-reporter.js +110 -101
  128. package/dist/components/delete-button2.js +24 -41
  129. package/dist/components/delete-dialog.d.ts +11 -0
  130. package/dist/components/delete-dialog.js +11 -0
  131. package/dist/components/delete-dialog2.js +165 -0
  132. package/dist/components/edit-card2.js +1 -1
  133. package/dist/components/feature-comments.js +1 -1
  134. package/dist/components/feature-details2.js +67 -59
  135. package/dist/components/feature-form-flow-item.js +1 -1
  136. package/dist/components/feature-list2.js +4 -4
  137. package/dist/components/features-flow-item.js +1 -1
  138. package/dist/components/floor-filter2.js +1 -1
  139. package/dist/components/info-card2.js +38 -32
  140. package/dist/components/json-editor2.js +1 -1
  141. package/dist/components/layer-list2.js +5 -5
  142. package/dist/components/layer-table2.js +100 -82
  143. package/dist/components/layout-manager.js +1 -1
  144. package/dist/components/list-flow-item.js +1 -1
  145. package/dist/components/location-flow-item.js +1 -1
  146. package/dist/components/map-card2.js +1 -1
  147. package/dist/components/map-draw-tools2.js +1 -1
  148. package/dist/components/map-fullscreen2.js +1 -1
  149. package/dist/components/map-layer-picker2.js +1 -1
  150. package/dist/components/map-legend2.js +1 -1
  151. package/dist/components/map-picker2.js +1 -1
  152. package/dist/components/map-search2.js +1 -1
  153. package/dist/components/map-select-tools2.js +1 -1
  154. package/dist/components/map-tools2.js +1 -1
  155. package/dist/components/pci-calculator.js +1 -1
  156. package/dist/components/pdf-download2.js +1 -1
  157. package/dist/components/public-notification.js +1 -1
  158. package/dist/components/refine-results-flow-item.js +1 -1
  159. package/dist/components/refine-selection2.js +1 -1
  160. package/dist/components/share-item.js +1 -1
  161. package/dist/components/solution-configuration.js +3 -3
  162. package/dist/components/solution-contents2.js +1 -1
  163. package/dist/components/solution-item-accordion.js +1 -1
  164. package/dist/components/solution-item-details2.js +1 -1
  165. package/dist/components/solution-item-icon2.js +1 -1
  166. package/dist/components/solution-item-sharing2.js +1 -1
  167. package/dist/components/solution-item2.js +1 -1
  168. package/dist/components/solution-organization-variables2.js +1 -1
  169. package/dist/components/solution-resource-item2.js +1 -1
  170. package/dist/components/solution-spatial-ref2.js +1 -1
  171. package/dist/components/solution-template-data2.js +1 -1
  172. package/dist/components/solution-variables2.js +1 -1
  173. package/dist/components/spatial-ref.js +1 -1
  174. package/dist/esm/basemap-gallery_7.entry.js +6 -6
  175. package/dist/esm/buffer-tools_3.entry.js +1 -1
  176. package/dist/esm/calcite-alert_5.entry.js +7 -5
  177. package/dist/esm/calcite-combobox_3.entry.js +1 -1
  178. package/dist/esm/calcite-flow_4.entry.js +18 -16
  179. package/dist/esm/{calcite-modal_3.entry.js → calcite-modal.entry.js} +30 -369
  180. package/dist/esm/calcite-shell-panel_14.entry.js +7 -7
  181. package/dist/esm/calcite-shell_3.entry.js +434 -0
  182. package/dist/esm/card-manager_3.entry.js +20 -9
  183. package/dist/esm/crowdsource-manager.entry.js +3 -2
  184. package/dist/esm/crowdsource-reporter.entry.js +24 -21
  185. package/dist/esm/feature-comments.entry.js +1 -1
  186. package/dist/esm/feature-form-flow-item.entry.js +1 -1
  187. package/dist/esm/feature-list.entry.js +4 -4
  188. package/dist/esm/features-flow-item.entry.js +1 -1
  189. package/dist/esm/layout-manager.entry.js +1 -1
  190. package/dist/esm/list-flow-item.entry.js +1 -1
  191. package/dist/esm/loader.js +1 -1
  192. package/dist/esm/location-flow-item.entry.js +1 -1
  193. package/dist/esm/map-select-tools_3.entry.js +3 -3
  194. package/dist/esm/pci-calculator.entry.js +1 -1
  195. package/dist/esm/public-notification.entry.js +1 -1
  196. package/dist/esm/refine-results-flow-item.entry.js +1 -1
  197. package/dist/esm/share-item.entry.js +1 -1
  198. package/dist/esm/solution-configuration.entry.js +3 -3
  199. package/dist/esm/solution-contents_3.entry.js +3 -3
  200. package/dist/esm/solution-item-accordion.entry.js +1 -1
  201. package/dist/esm/solution-item-icon.entry.js +1 -1
  202. package/dist/esm/solutions-components.js +1 -1
  203. package/dist/esm/spatial-ref.entry.js +1 -1
  204. package/dist/solutions-components/assets/t9n/delete-dialog/resources.json +8 -0
  205. package/dist/solutions-components/assets/t9n/delete-dialog/resources_ar.json +8 -0
  206. package/dist/solutions-components/assets/t9n/delete-dialog/resources_bg.json +8 -0
  207. package/dist/solutions-components/assets/t9n/delete-dialog/resources_bs.json +8 -0
  208. package/dist/solutions-components/assets/t9n/delete-dialog/resources_ca.json +8 -0
  209. package/dist/solutions-components/assets/t9n/delete-dialog/resources_cs.json +8 -0
  210. package/dist/solutions-components/assets/t9n/delete-dialog/resources_da.json +8 -0
  211. package/dist/solutions-components/assets/t9n/delete-dialog/resources_de.json +8 -0
  212. package/dist/solutions-components/assets/t9n/delete-dialog/resources_el.json +8 -0
  213. package/dist/solutions-components/assets/t9n/delete-dialog/resources_en.json +8 -0
  214. package/dist/solutions-components/assets/t9n/delete-dialog/resources_es.json +8 -0
  215. package/dist/solutions-components/assets/t9n/delete-dialog/resources_et.json +8 -0
  216. package/dist/solutions-components/assets/t9n/delete-dialog/resources_fi.json +8 -0
  217. package/dist/solutions-components/assets/t9n/delete-dialog/resources_fr.json +8 -0
  218. package/dist/solutions-components/assets/t9n/delete-dialog/resources_he.json +8 -0
  219. package/dist/solutions-components/assets/t9n/delete-dialog/resources_hr.json +8 -0
  220. package/dist/solutions-components/assets/t9n/delete-dialog/resources_hu.json +8 -0
  221. package/dist/solutions-components/assets/t9n/delete-dialog/resources_id.json +8 -0
  222. package/dist/solutions-components/assets/t9n/delete-dialog/resources_it.json +8 -0
  223. package/dist/solutions-components/assets/t9n/delete-dialog/resources_ja.json +8 -0
  224. package/dist/solutions-components/assets/t9n/delete-dialog/resources_ko.json +8 -0
  225. package/dist/solutions-components/assets/t9n/delete-dialog/resources_lt.json +8 -0
  226. package/dist/solutions-components/assets/t9n/delete-dialog/resources_lv.json +8 -0
  227. package/dist/solutions-components/assets/t9n/delete-dialog/resources_nb.json +8 -0
  228. package/dist/solutions-components/assets/t9n/delete-dialog/resources_nl.json +8 -0
  229. package/dist/solutions-components/assets/t9n/delete-dialog/resources_pl.json +8 -0
  230. package/dist/solutions-components/assets/t9n/delete-dialog/resources_pt-BR.json +8 -0
  231. package/dist/solutions-components/assets/t9n/delete-dialog/resources_pt-PT.json +8 -0
  232. package/dist/solutions-components/assets/t9n/delete-dialog/resources_ro.json +8 -0
  233. package/dist/solutions-components/assets/t9n/delete-dialog/resources_ru.json +8 -0
  234. package/dist/solutions-components/assets/t9n/delete-dialog/resources_sk.json +8 -0
  235. package/dist/solutions-components/assets/t9n/delete-dialog/resources_sl.json +8 -0
  236. package/dist/solutions-components/assets/t9n/delete-dialog/resources_sr.json +8 -0
  237. package/dist/solutions-components/assets/t9n/delete-dialog/resources_sv.json +8 -0
  238. package/dist/solutions-components/assets/t9n/delete-dialog/resources_th.json +8 -0
  239. package/dist/solutions-components/assets/t9n/delete-dialog/resources_tr.json +8 -0
  240. package/dist/solutions-components/assets/t9n/delete-dialog/resources_uk.json +8 -0
  241. package/dist/solutions-components/assets/t9n/delete-dialog/resources_vi.json +8 -0
  242. package/dist/solutions-components/assets/t9n/delete-dialog/resources_zh-CN.json +8 -0
  243. package/dist/solutions-components/assets/t9n/delete-dialog/resources_zh-HK.json +8 -0
  244. package/dist/solutions-components/assets/t9n/delete-dialog/resources_zh-TW.json +8 -0
  245. package/dist/solutions-components/{p-6c3261d7.entry.js → p-06364211.entry.js} +1 -1
  246. package/dist/solutions-components/{p-d119872d.entry.js → p-18089a0b.entry.js} +1 -1
  247. package/dist/solutions-components/p-1f07e21a.entry.js +6 -0
  248. package/dist/solutions-components/p-2a6ecaa9.entry.js +11 -0
  249. package/dist/solutions-components/p-46416e11.entry.js +6 -0
  250. package/dist/solutions-components/{p-a8525233.entry.js → p-588adf13.entry.js} +1 -1
  251. package/dist/solutions-components/{p-5fc0e134.entry.js → p-59ccd27c.entry.js} +1 -1
  252. package/dist/solutions-components/p-5eb9a413.entry.js +6 -0
  253. package/dist/solutions-components/{p-42f75c8f.entry.js → p-6502d0f8.entry.js} +1 -1
  254. package/dist/solutions-components/p-70c0050c.entry.js +6 -0
  255. package/dist/solutions-components/p-74bcef23.entry.js +11 -0
  256. package/dist/solutions-components/{p-4cb12506.entry.js → p-76154700.entry.js} +1 -1
  257. package/dist/solutions-components/p-82ddf716.entry.js +6 -0
  258. package/dist/solutions-components/{p-d08ece15.entry.js → p-841816a1.entry.js} +1 -1
  259. package/dist/solutions-components/{p-4f5913f3.entry.js → p-89046451.entry.js} +1 -1
  260. package/dist/solutions-components/p-938bc915.entry.js +6 -0
  261. package/dist/solutions-components/{p-fa7672c7.entry.js → p-9d56f4b5.entry.js} +1 -1
  262. package/dist/solutions-components/p-9da8a590.entry.js +6 -0
  263. package/dist/solutions-components/{p-5fdb8f83.entry.js → p-a5d79c86.entry.js} +1 -1
  264. package/dist/solutions-components/{p-dd0bd439.entry.js → p-b4c49411.entry.js} +2 -2
  265. package/dist/solutions-components/p-b86b2664.entry.js +6 -0
  266. package/dist/solutions-components/{p-ddc1218d.entry.js → p-be4c7ffd.entry.js} +1 -1
  267. package/dist/solutions-components/{p-ffa9a117.entry.js → p-cb3199f9.entry.js} +1 -1
  268. package/dist/solutions-components/{p-a07322cc.entry.js → p-df7de4b7.entry.js} +1 -1
  269. package/dist/solutions-components/{p-1f072e2c.entry.js → p-eadff42b.entry.js} +1 -1
  270. package/dist/solutions-components/{p-8a411917.entry.js → p-ecf642c2.entry.js} +1 -1
  271. package/dist/solutions-components/{p-06db1bfd.entry.js → p-efb4cb43.entry.js} +1 -1
  272. package/dist/solutions-components/{p-e4a42efa.entry.js → p-fa1c368c.entry.js} +1 -1
  273. package/dist/solutions-components/solutions-components.esm.js +1 -1
  274. package/dist/types/components/crowdsource-reporter/crowdsource-reporter.d.ts +6 -1
  275. package/dist/types/components/delete-button/delete-button.d.ts +4 -12
  276. package/dist/types/components/delete-dialog/delete-dialog.d.ts +75 -0
  277. package/dist/types/components/layer-table/layer-table.d.ts +12 -0
  278. package/dist/types/components.d.ts +69 -0
  279. package/dist/types/preact.d.ts +5 -0
  280. package/package.json +1 -1
  281. package/dist/solutions-components/p-51e2500f.entry.js +0 -6
  282. package/dist/solutions-components/p-52280e10.entry.js +0 -17
  283. package/dist/solutions-components/p-67ca4a64.entry.js +0 -6
  284. package/dist/solutions-components/p-7e6a8c06.entry.js +0 -6
  285. package/dist/solutions-components/p-8d2d66d0.entry.js +0 -6
  286. package/dist/solutions-components/p-8e6081e0.entry.js +0 -6
  287. package/dist/solutions-components/p-b9b77b87.entry.js +0 -6
  288. package/dist/solutions-components/p-cf878a34.entry.js +0 -6
  289. package/dist/solutions-components/p-edd88d2d.entry.js +0 -6
@@ -3,9 +3,9 @@
3
3
  * Licensed under the Apache License, Version 2.0
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
- import { r as registerInstance, c as createEvent, h, H as Host, g as getElement, F as Fragment } from './index-904bc599.js';
6
+ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-904bc599.js';
7
7
  import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot-8a0b08ef.js';
8
- import { o as getSlotted, s as slotChangeHasAssignedElement, f as focusFirstTabbable, u as ensureId, e as slotChangeGetAssignedElements } from './dom-75c641a7.js';
8
+ import { o as getSlotted, s as slotChangeHasAssignedElement, f as focusFirstTabbable, u as ensureId } from './dom-75c641a7.js';
9
9
  import { d as deactivateFocusTrap, a as activateFocusTrap, c as connectFocusTrap, u as updateFocusTrapElements } from './focusTrapComponent-35b3348c.js';
10
10
  import { s as setUpLoadableComponent, a as setComponentLoaded, c as componentFocusable } from './loadable-7cb2fc6f.js';
11
11
  import { c as createObserver } from './observers-c83631e8.js';
@@ -14,21 +14,18 @@ import { c as connectLocalized, d as disconnectLocalized } from './locale-24516f
14
14
  import { s as setUpMessages, c as connectMessages, d as disconnectMessages, u as updateMessages } from './t9n-9a5d28cf.js';
15
15
  import { g as getIconScale, c as componentOnReady } from './component-83541c88.js';
16
16
  import { l as logger } from './logger-f75712ce.js';
17
- import { g as getLocaleComponentStrings } from './locale-0d06fca0.js';
18
17
  import './guid-b0fb1de3.js';
19
18
  import './resources-8e2ed936.js';
20
19
  import './config-16813c92.js';
21
20
  import './browser-b67d8df6.js';
22
21
  import './key-e6b442de.js';
23
- import './esri-loader-c6842c6b.js';
24
- import './_commonjsHelpers-089957fe.js';
25
22
 
26
23
  /*!
27
24
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
28
25
  * See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
29
26
  * v2.13.0
30
27
  */
31
- const CSS$1 = {
28
+ const CSS = {
32
29
  modal: "modal",
33
30
  title: "title",
34
31
  header: "header",
@@ -55,7 +52,7 @@ const CSS$1 = {
55
52
  const ICONS = {
56
53
  close: "x",
57
54
  };
58
- const SLOTS$1 = {
55
+ const SLOTS = {
59
56
  content: "content",
60
57
  contentBottom: "content-bottom",
61
58
  contentTop: "content-top",
@@ -138,7 +135,7 @@ const Modal = class {
138
135
  this.updateFocusTrapElements();
139
136
  };
140
137
  this.updateFooterVisibility = () => {
141
- this.hasFooter = !!getSlotted(this.el, [SLOTS$1.back, SLOTS$1.primary, SLOTS$1.secondary]);
138
+ this.hasFooter = !!getSlotted(this.el, [SLOTS.back, SLOTS.primary, SLOTS.secondary]);
142
139
  };
143
140
  this.updateSizeCssVars = () => {
144
141
  this.cssWidth = getComputedStyle(this.el).getPropertyValue("--calcite-modal-width");
@@ -220,44 +217,44 @@ const Modal = class {
220
217
  }
221
218
  render() {
222
219
  return (h(Host, { key: 'f92cd77f4a5ad4a245ca50fe2b2bfcf9966d4ca8', "aria-describedby": this.contentId, "aria-labelledby": this.titleId, "aria-modal": "true", role: "dialog" }, h("div", { key: 'a9d348a67842162f1bc17ec8422c07963aed412d', class: {
223
- [CSS$1.container]: true,
224
- [CSS$1.containerOpen]: this.opened,
225
- [CSS$1.containerEmbedded]: this.embedded,
226
- } }, h("calcite-scrim", { key: '7dc3bc9220fc375522a6d390b633f9573bfa6c67', class: CSS$1.scrim, onClick: this.handleOutsideClose }), this.renderStyle(), h("div", { key: '40782ba2b6d3f086c884ace3529110e873009504', class: {
227
- [CSS$1.modal]: true,
228
- }, ref: this.setTransitionEl }, h("div", { key: 'ea3a72ab0a0e5abae6e766d0b7b2cfce54667e86', class: CSS$1.header }, this.renderCloseButton(), h("header", { key: 'abe5c28d11fc6241cd6ac40adef4d94529eb9d5c', class: CSS$1.title }, h("slot", { key: '3d1d6ed6c0249472a00fba4128a861e6a6eae4dd', name: CSS$1.header }))), this.renderContentTop(), h("div", { key: '0e65dfbd175e490586518d1a4c34b9eb1dde1f01', class: {
229
- [CSS$1.content]: true,
230
- [CSS$1.contentNoFooter]: !this.hasFooter,
231
- }, ref: (el) => (this.modalContent = el) }, h("slot", { key: 'd5f3b08e61e8e47f64fd13bc6eb7f7ed6a07b7c8', name: SLOTS$1.content })), this.renderContentBottom(), this.renderFooter()))));
220
+ [CSS.container]: true,
221
+ [CSS.containerOpen]: this.opened,
222
+ [CSS.containerEmbedded]: this.embedded,
223
+ } }, h("calcite-scrim", { key: '7dc3bc9220fc375522a6d390b633f9573bfa6c67', class: CSS.scrim, onClick: this.handleOutsideClose }), this.renderStyle(), h("div", { key: '40782ba2b6d3f086c884ace3529110e873009504', class: {
224
+ [CSS.modal]: true,
225
+ }, ref: this.setTransitionEl }, h("div", { key: 'ea3a72ab0a0e5abae6e766d0b7b2cfce54667e86', class: CSS.header }, this.renderCloseButton(), h("header", { key: 'abe5c28d11fc6241cd6ac40adef4d94529eb9d5c', class: CSS.title }, h("slot", { key: '3d1d6ed6c0249472a00fba4128a861e6a6eae4dd', name: CSS.header }))), this.renderContentTop(), h("div", { key: '0e65dfbd175e490586518d1a4c34b9eb1dde1f01', class: {
226
+ [CSS.content]: true,
227
+ [CSS.contentNoFooter]: !this.hasFooter,
228
+ }, ref: (el) => (this.modalContent = el) }, h("slot", { key: 'd5f3b08e61e8e47f64fd13bc6eb7f7ed6a07b7c8', name: SLOTS.content })), this.renderContentBottom(), this.renderFooter()))));
232
229
  }
233
230
  renderFooter() {
234
- return this.hasFooter ? (h("div", { class: CSS$1.footer, key: "footer" }, h("span", { class: CSS$1.back }, h("slot", { name: SLOTS$1.back })), h("span", { class: CSS$1.secondary }, h("slot", { name: SLOTS$1.secondary })), h("span", { class: CSS$1.primary }, h("slot", { name: SLOTS$1.primary })))) : null;
231
+ return this.hasFooter ? (h("div", { class: CSS.footer, key: "footer" }, h("span", { class: CSS.back }, h("slot", { name: SLOTS.back })), h("span", { class: CSS.secondary }, h("slot", { name: SLOTS.secondary })), h("span", { class: CSS.primary }, h("slot", { name: SLOTS.primary })))) : null;
235
232
  }
236
233
  renderContentTop() {
237
- return (h("div", { class: CSS$1.contentTop, hidden: !this.hasContentTop }, h("slot", { name: SLOTS$1.contentTop, onSlotchange: this.contentTopSlotChangeHandler })));
234
+ return (h("div", { class: CSS.contentTop, hidden: !this.hasContentTop }, h("slot", { name: SLOTS.contentTop, onSlotchange: this.contentTopSlotChangeHandler })));
238
235
  }
239
236
  renderContentBottom() {
240
- return (h("div", { class: CSS$1.contentBottom, hidden: !this.hasContentBottom }, h("slot", { name: SLOTS$1.contentBottom, onSlotchange: this.contentBottomSlotChangeHandler })));
237
+ return (h("div", { class: CSS.contentBottom, hidden: !this.hasContentBottom }, h("slot", { name: SLOTS.contentBottom, onSlotchange: this.contentBottomSlotChangeHandler })));
241
238
  }
242
239
  renderCloseButton() {
243
- return !this.closeButtonDisabled ? (h("button", { "aria-label": this.messages.close, class: CSS$1.close, key: "button", onClick: this.handleCloseClick, ref: (el) => (this.closeButtonEl = el), title: this.messages.close }, h("calcite-icon", { icon: ICONS.close, scale: getIconScale(this.scale) }))) : null;
240
+ return !this.closeButtonDisabled ? (h("button", { "aria-label": this.messages.close, class: CSS.close, key: "button", onClick: this.handleCloseClick, ref: (el) => (this.closeButtonEl = el), title: this.messages.close }, h("calcite-icon", { icon: ICONS.close, scale: getIconScale(this.scale) }))) : null;
244
241
  }
245
242
  renderStyle() {
246
243
  if (!this.fullscreen && (this.cssWidth || this.cssHeight)) {
247
- return (h("style", null, `.${CSS$1.container} {
244
+ return (h("style", null, `.${CSS.container} {
248
245
  ${this.docked && this.cssWidth ? `align-items: center !important;` : ""}
249
246
  }
250
- .${CSS$1.modal} {
247
+ .${CSS.modal} {
251
248
  block-size: ${this.cssHeight ? this.cssHeight : "auto"} !important;
252
249
  ${this.cssWidth ? `inline-size: ${this.cssWidth} !important;` : ""}
253
250
  ${this.cssWidth ? `max-inline-size: ${this.cssWidth} !important;` : ""}
254
251
  ${this.docked ? `border-radius: var(--calcite-border-radius) !important;` : ""}
255
252
  }
256
253
  @media screen and (max-width: ${this.cssWidth}) {
257
- .${CSS$1.container} {
254
+ .${CSS.container} {
258
255
  ${this.docked ? `align-items: flex-end !important;` : ""}
259
256
  }
260
- .${CSS$1.modal} {
257
+ .${CSS.modal} {
261
258
  max-block-size: 100% !important;
262
259
  inline-size: 100% !important;
263
260
  max-inline-size: 100% !important;
@@ -324,20 +321,20 @@ const Modal = class {
324
321
  }
325
322
  }
326
323
  onBeforeOpen() {
327
- this.transitionEl.classList.add(CSS$1.openingActive);
324
+ this.transitionEl.classList.add(CSS.openingActive);
328
325
  this.calciteModalBeforeOpen.emit();
329
326
  }
330
327
  onOpen() {
331
- this.transitionEl.classList.remove(CSS$1.openingIdle, CSS$1.openingActive);
328
+ this.transitionEl.classList.remove(CSS.openingIdle, CSS.openingActive);
332
329
  this.calciteModalOpen.emit();
333
330
  activateFocusTrap(this);
334
331
  }
335
332
  onBeforeClose() {
336
- this.transitionEl.classList.add(CSS$1.closingActive);
333
+ this.transitionEl.classList.add(CSS.closingActive);
337
334
  this.calciteModalBeforeClose.emit();
338
335
  }
339
336
  onClose() {
340
- this.transitionEl.classList.remove(CSS$1.closingIdle, CSS$1.closingActive);
337
+ this.transitionEl.classList.remove(CSS.closingIdle, CSS.closingActive);
341
338
  this.calciteModalClose.emit();
342
339
  deactivateFocusTrap(this);
343
340
  }
@@ -353,7 +350,7 @@ const Modal = class {
353
350
  }
354
351
  }
355
352
  handleOpenedChange(value) {
356
- const idleClass = value ? CSS$1.openingIdle : CSS$1.closingIdle;
353
+ const idleClass = value ? CSS.openingIdle : CSS.closingIdle;
357
354
  this.transitionEl.classList.add(idleClass);
358
355
  onToggleOpenCloseComponent(this);
359
356
  }
@@ -361,8 +358,8 @@ const Modal = class {
361
358
  await componentOnReady(this.el);
362
359
  this.el.addEventListener("calciteModalOpen", this.openEnd);
363
360
  this.opened = true;
364
- const titleEl = getSlotted(this.el, SLOTS$1.header);
365
- const contentEl = getSlotted(this.el, SLOTS$1.content);
361
+ const titleEl = getSlotted(this.el, SLOTS.header);
362
+ const contentEl = getSlotted(this.el, SLOTS.content);
366
363
  this.titleId = ensureId(titleEl);
367
364
  this.contentId = ensureId(contentEl);
368
365
  if (!this.embedded) {
@@ -389,340 +386,4 @@ const Modal = class {
389
386
  };
390
387
  Modal.style = CalciteModalStyle0;
391
388
 
392
- /*!
393
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
394
- * See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
395
- * v2.13.0
396
- */
397
- const CSS = {
398
- main: "main",
399
- content: "content",
400
- contentBehind: "content--behind",
401
- contentBottom: "content-bottom",
402
- contentNonInteractive: "content--non-interactive",
403
- footer: "footer",
404
- positionedSlotWrapper: "positioned-slot-wrapper",
405
- container: "container",
406
- contentBehindCenterContent: "center-content",
407
- };
408
- const SLOTS = {
409
- centerRow: "center-row",
410
- panelStart: "panel-start",
411
- panelEnd: "panel-end",
412
- panelTop: "panel-top",
413
- panelBottom: "panel-bottom",
414
- header: "header",
415
- footer: "footer",
416
- alerts: "alerts",
417
- sheets: "sheets",
418
- modals: "modals",
419
- dialogs: "dialogs",
420
- };
421
-
422
- const shellCss = ":host{box-sizing:border-box;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:host{position:absolute;inset:0px;display:flex;block-size:100%;inline-size:100%;flex-direction:column;overflow:hidden;--calcite-shell-tip-spacing:26vw}.main{position:relative;display:flex;block-size:100%;inline-size:100%;flex:1 1 auto;flex-direction:row;justify-content:space-between;overflow:hidden}.content{display:flex;block-size:100%;inline-size:100%;flex-direction:column;flex-wrap:nowrap;overflow:auto;justify-content:space-between}.content ::slotted(calcite-shell-center-row),.content ::slotted(calcite-panel),.content ::slotted(calcite-flow){flex:1 1 auto;align-self:stretch;max-block-size:unset}.content--behind{position:absolute;inset:0px;border-width:0px;z-index:calc(var(--calcite-z-index) - 1);display:initial}.content--non-interactive{pointer-events:none;display:flex;block-size:100%;inline-size:100%;flex-direction:column;flex-wrap:nowrap}::slotted(calcite-shell-center-row){inline-size:unset}::slotted(.header .heading){font-size:var(--calcite-font-size--2);line-height:1.375;font-weight:var(--calcite-font-weight-normal)}slot[name=panel-start]::slotted(calcite-shell-panel),slot[name=panel-end]::slotted(calcite-shell-panel){position:relative;z-index:calc(var(--calcite-z-index) + 1)}slot[name=panel-end]::slotted(calcite-shell-panel){margin-inline-start:auto}::slotted(calcite-panel),::slotted(calcite-flow){border-width:1px;border-inline-start-width:0px;border-inline-end-width:0px;border-style:solid;border-color:var(--calcite-color-border-3)}slot[name=center-row]::slotted(calcite-shell-center-row:not([detached])),slot[name=panel-top]::slotted(calcite-shell-center-row:not([detached])),slot[name=panel-bottom]::slotted(calcite-shell-center-row:not([detached])){border-inline-start-width:1px;border-inline-end-width:1px;border-color:var(--calcite-color-border-3)}.center-content{display:flex;flex-direction:column;justify-content:space-between;block-size:100%;inline-size:100%;min-inline-size:0}.content-bottom{justify-content:flex-end}::slotted(calcite-shell-center-row){flex:none;align-self:stretch}::slotted(calcite-tip-manager){position:absolute;z-index:var(--calcite-z-index-toast);box-sizing:border-box}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}::slotted(calcite-tip-manager){animation:in-up var(--calcite-internal-animation-timing-slow) ease-in-out;border-radius:0.25rem;--tw-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);inset-block-end:0.5rem;inset-inline:var(--calcite-shell-tip-spacing)}slot[name=center-row]::slotted(calcite-shell-center-row),slot[name=panel-bottom]::slotted(calcite-shell-center-row){margin-block-start:auto}slot[name=panel-top]::slotted(calcite-shell-center-row){margin-block-end:auto}.position-wrapper{position:absolute;pointer-events:none;inset:0}:host([hidden]){display:none}[hidden]{display:none}";
423
- const CalciteShellStyle0 = shellCss;
424
-
425
- const Shell = class {
426
- constructor(hostRef) {
427
- registerInstance(this, hostRef);
428
- // --------------------------------------------------------------------------
429
- //
430
- // Private Methods
431
- //
432
- // --------------------------------------------------------------------------
433
- this.handleHeaderSlotChange = (event) => {
434
- this.hasHeader = !!slotChangeHasAssignedElement(event);
435
- };
436
- this.handleFooterSlotChange = (event) => {
437
- this.hasFooter = !!slotChangeHasAssignedElement(event);
438
- };
439
- this.handleAlertsSlotChange = (event) => {
440
- this.hasAlerts = !!slotChangeHasAssignedElement(event);
441
- slotChangeGetAssignedElements(event)?.map((el) => {
442
- if (el.tagName === "CALCITE-ALERT") {
443
- el.embedded = true;
444
- }
445
- });
446
- };
447
- this.handleSheetsSlotChange = (event) => {
448
- this.hasSheets = !!slotChangeHasAssignedElement(event);
449
- slotChangeGetAssignedElements(event)?.map((el) => {
450
- if (el.tagName === "CALCITE-SHEET") {
451
- el.embedded = true;
452
- }
453
- });
454
- };
455
- this.handleModalsSlotChange = (event) => {
456
- this.hasModals = !!slotChangeHasAssignedElement(event);
457
- slotChangeGetAssignedElements(event)?.map((el) => {
458
- if (el.tagName === "CALCITE-MODAL") {
459
- el.embedded = true;
460
- }
461
- });
462
- };
463
- this.handlePanelTopChange = (event) => {
464
- this.hasPanelTop = slotChangeHasAssignedElement(event);
465
- };
466
- this.handlePanelBottomChange = (event) => {
467
- this.hasPanelBottom = slotChangeHasAssignedElement(event);
468
- };
469
- this.handleDialogsSlotChange = (event) => {
470
- this.hasDialogs = !!slotChangeHasAssignedElement(event);
471
- slotChangeGetAssignedElements(event)?.map((el) => {
472
- if (el.tagName === "CALCITE-DIALOG") {
473
- el.embedded = true;
474
- }
475
- });
476
- };
477
- this.contentBehind = false;
478
- this.hasHeader = false;
479
- this.hasFooter = false;
480
- this.hasAlerts = false;
481
- this.hasModals = false;
482
- this.hasDialogs = false;
483
- this.hasSheets = false;
484
- this.hasPanelTop = false;
485
- this.hasPanelBottom = false;
486
- this.hasOnlyPanelBottom = false;
487
- this.panelIsResizing = false;
488
- }
489
- //--------------------------------------------------------------------------
490
- //
491
- // Event Listeners
492
- //
493
- //--------------------------------------------------------------------------
494
- handleCalciteInternalShellPanelResizeStart(event) {
495
- this.panelIsResizing = true;
496
- event.stopPropagation();
497
- }
498
- handleCalciteInternalShellPanelResizeEnd(event) {
499
- this.panelIsResizing = false;
500
- event.stopPropagation();
501
- }
502
- updateHasOnlyPanelBottom() {
503
- this.hasOnlyPanelBottom = !this.hasPanelTop && this.hasPanelBottom;
504
- }
505
- // --------------------------------------------------------------------------
506
- //
507
- // Lifecycle
508
- //
509
- // --------------------------------------------------------------------------
510
- connectedCallback() {
511
- connectConditionalSlotComponent(this);
512
- }
513
- disconnectedCallback() {
514
- disconnectConditionalSlotComponent(this);
515
- }
516
- // --------------------------------------------------------------------------
517
- //
518
- // Render Methods
519
- //
520
- // --------------------------------------------------------------------------
521
- renderHeader() {
522
- return (h("div", { hidden: !this.hasHeader }, h("slot", { key: "header", name: SLOTS.header, onSlotchange: this.handleHeaderSlotChange })));
523
- }
524
- renderFooter() {
525
- return (h("div", { class: CSS.footer, hidden: !this.hasFooter, key: "footer" }, h("slot", { name: SLOTS.footer, onSlotchange: this.handleFooterSlotChange })));
526
- }
527
- renderAlerts() {
528
- return (h("div", { hidden: !this.hasAlerts }, h("slot", { key: "alerts", name: SLOTS.alerts, onSlotchange: this.handleAlertsSlotChange })));
529
- }
530
- renderSheets() {
531
- return (h("div", { hidden: !this.hasSheets }, h("slot", { key: "sheets", name: SLOTS.sheets, onSlotchange: this.handleSheetsSlotChange })));
532
- }
533
- renderModals() {
534
- return (h("div", { hidden: !this.hasModals }, h("slot", { key: "modals", name: SLOTS.modals, onSlotchange: this.handleModalsSlotChange })));
535
- }
536
- renderDialogs() {
537
- return (h("div", { hidden: !this.hasDialogs }, h("slot", { key: "dialogs", name: SLOTS.dialogs, onSlotchange: this.handleDialogsSlotChange })));
538
- }
539
- renderContent() {
540
- const { panelIsResizing } = this;
541
- const defaultSlotNode = h("slot", { key: "default-slot" });
542
- const defaultSlotContainerNode = panelIsResizing ? (h("div", { class: CSS.contentNonInteractive }, defaultSlotNode)) : (defaultSlotNode);
543
- const deprecatedCenterRowSlotNode = (h("slot", { key: "center-row-slot", name: SLOTS.centerRow }));
544
- const panelBottomSlotNode = (h("slot", { key: "panel-bottom-slot", name: SLOTS.panelBottom, onSlotchange: this.handlePanelBottomChange }));
545
- const panelTopSlotNode = (h("slot", { key: "panel-top-slot", name: SLOTS.panelTop, onSlotchange: this.handlePanelTopChange }));
546
- const contentContainerKey = "content-container";
547
- const content = this.contentBehind
548
- ? [
549
- h("div", { class: {
550
- [CSS.content]: true,
551
- [CSS.contentBehind]: true,
552
- }, key: contentContainerKey }, defaultSlotContainerNode),
553
- h("div", { class: {
554
- [CSS.contentBehindCenterContent]: true,
555
- [CSS.contentBottom]: this.hasOnlyPanelBottom,
556
- } }, panelTopSlotNode, panelBottomSlotNode, deprecatedCenterRowSlotNode),
557
- ]
558
- : [
559
- h("div", { class: { [CSS.content]: true, [CSS.contentBottom]: this.hasOnlyPanelBottom }, key: contentContainerKey }, panelTopSlotNode, defaultSlotContainerNode, panelBottomSlotNode, deprecatedCenterRowSlotNode),
560
- ];
561
- return content;
562
- }
563
- renderMain() {
564
- return (h("div", { class: CSS.main }, h("slot", { name: SLOTS.panelStart }), this.renderContent(), h("slot", { name: SLOTS.panelEnd })));
565
- }
566
- renderPositionedSlots() {
567
- return (h("div", { class: CSS.positionedSlotWrapper }, this.renderAlerts(), this.renderModals(), this.renderDialogs(), this.renderSheets()));
568
- }
569
- render() {
570
- return (h(Fragment, { key: '6864b8b95b6edd871ad622b0d49a3f4a42a0a8a8' }, this.renderHeader(), this.renderMain(), this.renderFooter(), this.renderPositionedSlots()));
571
- }
572
- get el() { return getElement(this); }
573
- static get watchers() { return {
574
- "hasPanelTop": ["updateHasOnlyPanelBottom"],
575
- "hasPanelBottom": ["updateHasOnlyPanelBottom"]
576
- }; }
577
- };
578
- Shell.style = CalciteShellStyle0;
579
-
580
- const deleteButtonCss = ":host{display:block}.delete-modal{position:fixed}";
581
- const DeleteButtonStyle0 = deleteButtonCss;
582
-
583
- const DeleteButton = class {
584
- constructor(hostRef) {
585
- registerInstance(this, hostRef);
586
- this.editsComplete = createEvent(this, "editsComplete", 7);
587
- this.buttonType = "button";
588
- this.disabled = false;
589
- this.icon = undefined;
590
- this.ids = [];
591
- this.layer = undefined;
592
- this._confirmDelete = false;
593
- this._deleteEndabled = false;
594
- this._isDeleting = false;
595
- this._supportsDelete = undefined;
596
- this._translations = undefined;
597
- }
598
- get el() { return getElement(this); }
599
- //--------------------------------------------------------------------------
600
- //
601
- // Properties (protected)
602
- //
603
- //--------------------------------------------------------------------------
604
- //--------------------------------------------------------------------------
605
- //
606
- // Watch handlers
607
- //
608
- //--------------------------------------------------------------------------
609
- /**
610
- * watch for changes in layer view and verify if it has editing enabled
611
- */
612
- async idsWatchHandler() {
613
- this._setDeleteEnabled();
614
- }
615
- /**
616
- * watch for changes in layer view and verify if it has editing enabled
617
- */
618
- async layerWatchHandler() {
619
- this._setDeleteEnabled();
620
- }
621
- //--------------------------------------------------------------------------
622
- //
623
- // Methods (public)
624
- //
625
- //--------------------------------------------------------------------------
626
- //--------------------------------------------------------------------------
627
- //
628
- // Events (public)
629
- //
630
- //--------------------------------------------------------------------------
631
- /**
632
- * Emitted on demand when features have been deleted
633
- */
634
- editsComplete;
635
- //--------------------------------------------------------------------------
636
- //
637
- // Functions (lifecycle)
638
- //
639
- //--------------------------------------------------------------------------
640
- /**
641
- * StencilJS: Called once just after the component is first connected to the DOM.
642
- *
643
- * @returns Promise when complete
644
- */
645
- async componentWillLoad() {
646
- await this._getTranslations();
647
- }
648
- /**
649
- * Renders the component.
650
- */
651
- render() {
652
- return (h(Host, { key: '23936d6981c9779f5a21951c6667e3cba86e5d82' }, this.buttonType === "button" ? (h("calcite-button", { appearance: "outline", disabled: !this._deleteEndabled, id: "solutions-delete", kind: "danger", onClick: () => this._delete(), width: "full" }, this._translations.deleteCount.replace("{{n}}", this.ids.length.toString()))) : (h("calcite-action", { appearance: "solid", compact: true, disabled: !this._deleteEndabled, id: this.icon, onClick: () => this._delete(), scale: "s", text: this._translations.delete }, h("calcite-button", { appearance: "transparent", iconStart: this.icon, kind: "danger" }, this._translations.delete))), this._deleteMessage(), h("calcite-tooltip", { key: '0078ca79ef0a2195be88d0b508fefc9838af9693', placement: "bottom", "reference-element": this.buttonType === "button" ? "solutions-delete" : this.icon }, h("span", { key: '6a2f3c55237c2cb07f17559c9f14edd4b442e004' }, this._translations.delete))));
653
- }
654
- /**
655
- * StencilJS: Called once just after the component is fully loaded and the first render() occurs.
656
- */
657
- async componentDidLoad() {
658
- this._setDeleteEnabled();
659
- }
660
- //--------------------------------------------------------------------------
661
- //
662
- // Functions (protected)
663
- //
664
- //--------------------------------------------------------------------------
665
- /**
666
- * Verify if the layer supports delete and that we have 1 or more ids
667
- */
668
- _setDeleteEnabled() {
669
- this._supportsDelete = this.layer?.editingEnabled && this.layer?.capabilities?.operations?.supportsDelete;
670
- this._deleteEndabled = !this.disabled || this._supportsDelete && this.ids.length > 0;
671
- }
672
- /**
673
- * Delete all selected records or shows an alert if the layer does not have editing enabled
674
- *
675
- * @returns a promise that will resolve when the operation is complete
676
- */
677
- _delete() {
678
- this._confirmDelete = true;
679
- }
680
- /**
681
- * Show delete confirmation message
682
- *
683
- * @returns node to confirm or deny the delete operation
684
- */
685
- _deleteMessage() {
686
- const confirmMessage = this.ids.length === 1 ? this._translations.confirmSingle :
687
- this._translations.confirmMultiple;
688
- return (h("calcite-modal", { "aria-labelledby": "modal-title", class: "delete-modal", kind: "danger", onCalciteModalClose: () => this._deleteClosed(), open: this._confirmDelete }, h("div", { class: "display-flex align-center", id: "modal-title", slot: "header" }, this._translations.deleteFeature), h("div", { slot: "content" }, confirmMessage), h("calcite-button", { appearance: "outline", kind: "danger", onClick: () => this._deleteClosed(), slot: "secondary", width: "full" }, this._translations.cancel), h("calcite-button", { kind: "danger", loading: this._isDeleting, onClick: () => void this._deleteFeatures(), slot: "primary", width: "full" }, this._translations.delete)));
689
- }
690
- /**
691
- * Delete the currently selected features
692
- */
693
- async _deleteFeatures() {
694
- this._isDeleting = true;
695
- const deleteFeatures = this.ids.map((objectId) => {
696
- return { objectId };
697
- });
698
- await this.layer.applyEdits({
699
- deleteFeatures
700
- });
701
- this._isDeleting = false;
702
- this._deleteClosed();
703
- this.editsComplete.emit("delete");
704
- }
705
- /**
706
- * Set the alertOpen member to false when the alert is closed
707
- */
708
- _deleteClosed() {
709
- this._confirmDelete = false;
710
- }
711
- /**
712
- * Fetches the component's translations
713
- *
714
- * @returns Promise when complete
715
- * @protected
716
- */
717
- async _getTranslations() {
718
- const messages = await getLocaleComponentStrings(this.el);
719
- this._translations = messages[0];
720
- }
721
- static get watchers() { return {
722
- "ids": ["idsWatchHandler"],
723
- "layer": ["layerWatchHandler"]
724
- }; }
725
- };
726
- DeleteButton.style = DeleteButtonStyle0;
727
-
728
- export { Modal as calcite_modal, Shell as calcite_shell, DeleteButton as delete_button };
389
+ export { Modal as calcite_modal };
@@ -1836,7 +1836,7 @@ const JsonEditor = class {
1836
1836
  * Renders the component.
1837
1837
  */
1838
1838
  render() {
1839
- return (h(Host, { key: '2932135e373b0e5cf5bc5347c7b7960a60e81df1' }, h("div", { key: '98579089177f92e2a3600dd64d738e4ec8ff8ae2', id: `${this.instanceid}-editor-container`, class: "editor-container padding-right" }, h("div", { key: '971de116ef81850ecc2fcbff9d9f30e36c5928cf', class: "editor-controls" }, h("div", { key: '75e505043095753dc414dad671c6eec4e27a47c1', class: "editor-buttons" }, h("calcite-icon", { key: 'af8645c74758aff0f310089a5c97a504a52a2026', id: `${this.instanceid}-errorFlag`, icon: "exclamation-mark-triangle", title: this._translations.errorFlag, scale: "s", class: "edit-error-flag" }), h("calcite-button", { key: '6d736a2f3aa9c3e0efd5c1919253fc02e3dec0a2', id: `${this.instanceid}-undo`, color: "blue", appearance: "solid", title: this._translations.undo, onClick: () => this._undo(), scale: "s", class: "edit-button" }, h("calcite-icon", { key: '20fdf41124e256f139c7be3bd6f0e42823706cec', icon: "undo", scale: "s" })), h("calcite-button", { key: '7ca8a3bf590e33d6596af51e0b1f25019e9f806a', id: `${this.instanceid}-redo`, color: "blue", appearance: "solid", title: this._translations.redo, onClick: () => this._redo(), scale: "s", class: "edit-button" }, h("calcite-icon", { key: '3e248322dd1381da5ec609e92953d8ea94ebad29', icon: "redo", scale: "s" })), h("calcite-button", { key: '2e147af3b73714e40347f432d3d440d0e9bd2ae9', id: `${this.instanceid}-diff`, color: "blue", appearance: "solid", title: this._translations.diff, onClick: () => this._toggleEditor(), scale: "s", class: "edit-button" }, h("calcite-icon", { key: 'dc3fea2e4743511af20347412c6093163f0b674c', icon: "compare", scale: "s" })), h("calcite-button", { key: 'f983c7535f4a36a693b186a716ad6750e33f679a', id: `${this.instanceid}-search`, appearance: "outline", color: "blue", title: this._translations.search, onClick: () => this._search(), scale: "s", class: "edit-button" }, h("calcite-icon", { key: '315076f61831b8294e0c9b2c2e5fb174d9163bce', icon: "search", scale: "s" })), h("calcite-button", { key: 'a9223c5ad5eeed5a932ce106d3f3db90008933b9', id: `${this.instanceid}-reset`, color: "blue", appearance: "solid", disabled: true, title: this._translations.cancelEdits, onClick: () => this._reset(), scale: "s", class: "edit-button" }, h("calcite-icon", { key: '0cd3c9c634da8fe710890b533bc046c536af0bb2', icon: "reset", scale: "s" })))), h("div", { key: '73fc19136eb3aa3148c859ba617cd9904ee92f98', class: "edit-parent" }, h("div", { key: '57435dbeeef39ddaeb97256512acca6360e1a7ec', id: `${this.instanceid}-container`, class: "json-edit-container" }), h("div", { key: '152e58aeb94ae22d6d11e4332496cb2e637ebbca', id: `${this.instanceid}-diff-container`, class: "json-edit-container display-none" })))));
1839
+ return (h(Host, { key: '0c7531c8c816eb9be80d357b19b568ccdb22c407' }, h("div", { key: '866f82b68c2a750edfc80d801e4ea95a3f655100', id: `${this.instanceid}-editor-container`, class: "editor-container padding-right" }, h("div", { key: '5b9f15641f6a26daeb3847d8ef75c76b8be44fc5', class: "editor-controls" }, h("div", { key: 'd1e91eaa242ccd23d5dc1386b6a58d2fafeb4083', class: "editor-buttons" }, h("calcite-icon", { key: 'd9364f7dfdbc22a414b4711c8a22e145b533998e', id: `${this.instanceid}-errorFlag`, icon: "exclamation-mark-triangle", title: this._translations.errorFlag, scale: "s", class: "edit-error-flag" }), h("calcite-button", { key: '29750fc7cedf1f9caf556df3ff84dc45d6b922b9', id: `${this.instanceid}-undo`, color: "blue", appearance: "solid", title: this._translations.undo, onClick: () => this._undo(), scale: "s", class: "edit-button" }, h("calcite-icon", { key: 'c95008b3fccb8bc33f01eb1bd204c84141850981', icon: "undo", scale: "s" })), h("calcite-button", { key: '49ac9ee70c58954f6dee34524f4c7ab6fa0d7a49', id: `${this.instanceid}-redo`, color: "blue", appearance: "solid", title: this._translations.redo, onClick: () => this._redo(), scale: "s", class: "edit-button" }, h("calcite-icon", { key: '2170c36d0fd236c989222991353324d50afa8ac0', icon: "redo", scale: "s" })), h("calcite-button", { key: 'c6e1a0f84fac6fb02d2590cc7b32aefffbc06d25', id: `${this.instanceid}-diff`, color: "blue", appearance: "solid", title: this._translations.diff, onClick: () => this._toggleEditor(), scale: "s", class: "edit-button" }, h("calcite-icon", { key: '88443cfd2a8888447acc75588ecff7938ade5273', icon: "compare", scale: "s" })), h("calcite-button", { key: '42dcd8f63600d4ddb77eaedd529321999cf537b3', id: `${this.instanceid}-search`, appearance: "outline", color: "blue", title: this._translations.search, onClick: () => this._search(), scale: "s", class: "edit-button" }, h("calcite-icon", { key: '31e8ced3f14f1475c62133fbd7730e34b2bc4028', icon: "search", scale: "s" })), h("calcite-button", { key: '769b268d7476f3fe1a8623e9432cfae56602db0c', id: `${this.instanceid}-reset`, color: "blue", appearance: "solid", disabled: true, title: this._translations.cancelEdits, onClick: () => this._reset(), scale: "s", class: "edit-button" }, h("calcite-icon", { key: '4a8ead1dbf8fefe8b4106a0f6f9c42fb5b875cd2', icon: "reset", scale: "s" })))), h("div", { key: '98f29030a0fa0ecbce0d165840a30edd655ba249', class: "edit-parent" }, h("div", { key: '1441e32a184bc24f2a0a25fcb855c41b40bd0cec', id: `${this.instanceid}-container`, class: "json-edit-container" }), h("div", { key: 'f0cf0a3bd11d3f8102c4cc8695ac1743bac36bbb', id: `${this.instanceid}-diff-container`, class: "json-edit-container display-none" })))));
1840
1840
  }
1841
1841
  //--------------------------------------------------------------------------
1842
1842
  //
@@ -2197,7 +2197,7 @@ const SolutionItemDetails = class {
2197
2197
  * Renders the component.
2198
2198
  */
2199
2199
  render() {
2200
- return (h(Host, { key: '84bfa00fcedb54a43856c92e8446305d15d1a54a' }, h("div", { key: 'bceaddf6dcc35e5a22cad12e661c17f716fd165e', class: "parent-container" }, h("div", { key: '17834a249ffbbbd3ee54617fa2f2224816dd59b1', class: "inputBottomSeparation" }, h("calcite-input", { key: '372ceefe695e7c54a4ad35cf5b496202037fd57c', id: "item-title", value: this.itemDetails.title })), h("div", { key: 'fc356bd1e3bb965b7555dcea9fccfce44ca96a31', class: "inputBottomSeparation" }, h("input", { key: '11dc51158e385025d139372682b33d2093956a50', accept: ".jpg,.gif,.png,image/jpg,image/gif,image/png", class: "display-none", onChange: (event) => (this._updateThumbnail(event)), ref: (el) => (this.browseForThumbnail = el), type: "file" }), h("button", { key: 'abc5c96ec20adb16026fd6a7c3eb41871512d360', class: "font-size--3 btn-link inline-block trailer-quarter", onClick: () => this._getThumbnail() }, h("svg", { key: '35ce23e7fe17e7f45110e028ddb0c31e033f6f34', class: "icon-inline icon-inline--on-left", height: "16", viewBox: "0 0 16 16", width: "16" }, h("path", { key: '0bab7e61e1261db38a1a62dd085f63de5993a640', d: "M14.792 2.666l-1.414-1.413a.965.965 0 0 0-1.385-.03l-1.444 1.444-8.763 8.72L.03 15.481a.371.371 0 0 0 .488.488l4.096-1.756 8.763-8.72-.001-.001.002.002 1.443-1.444a.965.965 0 0 0-.03-1.385zM1.569 14.431l.554-1.293.74.739zm2.338-.924l-1.414-1.414 7.963-7.92 1.414 1.415zm8.67-8.626l-1.413-1.414 1.29-1.29a.306.306 0 0 1 .433 0l.981.98a.306.306 0 0 1 0 .433z" })), this._translations.editThumbnail), h("div", { key: '4dff94a716f70a350168ae123f0afb41f360fb3b', class: "flex" }, h("div", { key: 'bda8e51d80a72f221eb02ea915609b1e2175a56f', class: "img-container", ref: (el) => (this.thumbnailContainer = el) }, h("img", { key: '3b606e141fae758b24d6114d7433cfdec9570ba9', class: "scale-down", height: "133", id: "item-thumbnail", ref: (el) => (this.thumbnail = el), width: "200" })), h("div", { key: '3f5c6fd680a45c754e2b798566776363e94bf307', class: "snippet-count-container" }, h("calcite-input", { key: '3d35c224c6d8b34483712e392aeca8a87e0d0810', id: "item-snippet", maxLength: 250, type: "textarea", value: this.itemDetails.snippet }), h("label", { key: '1aecd6515a83c523c991d5ccd9516ff14384a13a', class: "font-size--3", id: "item-snippet-count", ref: (el) => (this.itemSnippetCount = el) })))), h("calcite-label", { key: '3052a4847edc5afd336a763e8e6933694aad9d6d' }, this._translations.description, h("label", { key: '595de020ea7e1e5b61296f7c9b17f1a02a0741e0', id: "item-description-label" }, h("calcite-input", { key: '135cb36c76f6462aa470f9b7680ebefa6be60018', id: "item-description", type: "textarea", value: this.itemDetails.description }))), h("calcite-label", { key: '8f51b5f1d2607e040b6a94920d2f581b3595838f' }, this._translations.tags, h("label", { key: '21b84a7bcb9d5b8b56e7b6ccee0b49e940e1faf3', id: "item-tags-label" }, h("calcite-input", { key: '8f3b14471019c703944e531abca80b01751b04e1', id: "item-tags", value: (this.itemDetails.tags && Array.isArray(this.itemDetails.tags) ? this.itemDetails.tags : [this.itemDetails.tags]).join(",") }))), this.itemType !== "Group" ? h("calcite-label", null, this._translations.credits, h("label", { id: "item-credits-label" }, h("calcite-input", { id: "item-credits", value: this.itemDetails.accessInformation }))) : null, this.itemType !== "Group" ? h("calcite-label", null, h("label", { id: "item-terms-label" }, this._translations.termsOfUse, h("calcite-input", { id: "item-terms", type: "textarea", value: this.itemDetails.licenseInfo }))) : null)));
2200
+ return (h(Host, { key: 'fd7cc19c2f682b43c71d43d1ec1313348345b415' }, h("div", { key: 'd38fbcb57a2cf536b99a50d73f7cb67791774419', class: "parent-container" }, h("div", { key: 'e6b97716b8ae90de71af758b07b055adc6d2a4d4', class: "inputBottomSeparation" }, h("calcite-input", { key: '6bb7bc4c0cb1eb082a3862582e2a1c72c8499d48', id: "item-title", value: this.itemDetails.title })), h("div", { key: 'daa80a28b1ee9a282048d57c3d1583fb0c1bd6c4', class: "inputBottomSeparation" }, h("input", { key: 'afc61173cfa6545e688775b0aa439b11cee064ca', accept: ".jpg,.gif,.png,image/jpg,image/gif,image/png", class: "display-none", onChange: (event) => (this._updateThumbnail(event)), ref: (el) => (this.browseForThumbnail = el), type: "file" }), h("button", { key: '8bdedcdf27d0ee7d0db030404940a4a6c7f6f586', class: "font-size--3 btn-link inline-block trailer-quarter", onClick: () => this._getThumbnail() }, h("svg", { key: 'e08bd937cdadd627a3a618a112cf1e617718deb4', class: "icon-inline icon-inline--on-left", height: "16", viewBox: "0 0 16 16", width: "16" }, h("path", { key: '6047587bce5ffa4b6530c545d36f78a7f9deeebc', d: "M14.792 2.666l-1.414-1.413a.965.965 0 0 0-1.385-.03l-1.444 1.444-8.763 8.72L.03 15.481a.371.371 0 0 0 .488.488l4.096-1.756 8.763-8.72-.001-.001.002.002 1.443-1.444a.965.965 0 0 0-.03-1.385zM1.569 14.431l.554-1.293.74.739zm2.338-.924l-1.414-1.414 7.963-7.92 1.414 1.415zm8.67-8.626l-1.413-1.414 1.29-1.29a.306.306 0 0 1 .433 0l.981.98a.306.306 0 0 1 0 .433z" })), this._translations.editThumbnail), h("div", { key: '44f12983273cfcda9720f34daf4bfa85952de2f1', class: "flex" }, h("div", { key: 'cb5d60f3164874dfc964b5727be89c7a37c31dec', class: "img-container", ref: (el) => (this.thumbnailContainer = el) }, h("img", { key: '0b1c39af99a3ecb3e558a77bd91ed0a751756e32', class: "scale-down", height: "133", id: "item-thumbnail", ref: (el) => (this.thumbnail = el), width: "200" })), h("div", { key: '751954b3200fe4133dca864212aba924bb547817', class: "snippet-count-container" }, h("calcite-input", { key: '071d1595f9b71b45ed12ee3cff8b5613e96acae7', id: "item-snippet", maxLength: 250, type: "textarea", value: this.itemDetails.snippet }), h("label", { key: '69238efe97f605880cde5f59dd967414c08b94a2', class: "font-size--3", id: "item-snippet-count", ref: (el) => (this.itemSnippetCount = el) })))), h("calcite-label", { key: 'd94607358c364fba61bc781b79f4919f50082db2' }, this._translations.description, h("label", { key: 'dbc9f48ee0ca4ad0150629635d027998b17101af', id: "item-description-label" }, h("calcite-input", { key: '152612af16b43f8ed4ad98405c885c11fec6cad7', id: "item-description", type: "textarea", value: this.itemDetails.description }))), h("calcite-label", { key: '0bec1e2c5464da93ebd49f0790cd573ef28e6e00' }, this._translations.tags, h("label", { key: '03957c08d3a9bc3a2707e65ae3a8d2870449b54f', id: "item-tags-label" }, h("calcite-input", { key: '690cb769d8bb784ef33d30f43d4abb3b8b836894', id: "item-tags", value: (this.itemDetails.tags && Array.isArray(this.itemDetails.tags) ? this.itemDetails.tags : [this.itemDetails.tags]).join(",") }))), this.itemType !== "Group" ? h("calcite-label", null, this._translations.credits, h("label", { id: "item-credits-label" }, h("calcite-input", { id: "item-credits", value: this.itemDetails.accessInformation }))) : null, this.itemType !== "Group" ? h("calcite-label", null, h("label", { id: "item-terms-label" }, this._translations.termsOfUse, h("calcite-input", { id: "item-terms", type: "textarea", value: this.itemDetails.licenseInfo }))) : null)));
2201
2201
  }
2202
2202
  componentDidRender() {
2203
2203
  this._loadThumb();
@@ -2375,7 +2375,7 @@ const SolutionItemSharing = class {
2375
2375
  * Renders the component.
2376
2376
  */
2377
2377
  render() {
2378
- return (h(Host, { key: '6a9facacd8961a53dd4e49082def5573732d49bf' }, h("div", { key: '6eaf512253573a4db25ec64ebe1439228df4845d', class: "container-border" }, h("calcite-label", { key: 'db5680d010759bdb28b774293b8ae1522c9d8052' }, this._translations.groupInfo), this._renderItems(this.sharing))));
2378
+ return (h(Host, { key: '3b94a68c01079f717b1ff38b82f946a32cfcb3a4' }, h("div", { key: 'e2fd74849f827a5e9756182ead2c23b3ef9584b9', class: "container-border" }, h("calcite-label", { key: '4ac7e9adf98368d5f8b985519a8fd9d1ab24d5d6' }, this._translations.groupInfo), this._renderItems(this.sharing))));
2379
2379
  }
2380
2380
  //--------------------------------------------------------------------------
2381
2381
  //
@@ -2494,7 +2494,7 @@ const SolutionOrganizationVariables = class {
2494
2494
  * Renders the component.
2495
2495
  */
2496
2496
  render() {
2497
- return (h(Host, { key: '99ef09d7f851a57d42c7f7ad5cd6e303b9508d17' }, h("div", { key: '7217187249febdbbf3899d96cdbb2a45474343b7' }, h("h4", { key: 'd5d01648936de6726d7422f81f58ad998574ea87', class: "org-var-header" }, this._translations.orgVariables)), h("div", { key: '22d6f7fb4b0d8f570dbcf9dcac08dce7e2f6383e', class: "container-border" }, h("calcite-tree", { key: '5f21f4fc4b378da1b144dbeb1e19df2f43bcee61', id: "variable-label" }, this._renderHierarchy(this._organizationVariables)))));
2497
+ return (h(Host, { key: '0dd925da12c0eb9861637e78d74c75ad4a23c9f3' }, h("div", { key: '324cfdc588fce6ee5a69b7cd54956a0ab0ef0adf' }, h("h4", { key: '2fca69530272a3f0630b86d36bbc78ec651c45d1', class: "org-var-header" }, this._translations.orgVariables)), h("div", { key: '6f05088ebfaf50e4516c634f1a016275f4228c45', class: "container-border" }, h("calcite-tree", { key: '22585bb1a7cae978c3fbf7301d33b81b4fffb540', id: "variable-label" }, this._renderHierarchy(this._organizationVariables)))));
2498
2498
  }
2499
2499
  //--------------------------------------------------------------------------
2500
2500
  //
@@ -2592,7 +2592,7 @@ const SolutionResourceItem = class {
2592
2592
  */
2593
2593
  render() {
2594
2594
  const hasValidResources = this._hasValidResources();
2595
- return (h(Host, { key: 'eb76345d460620ea6229c1ac94eaf5dec9943c1e' }, h("div", { key: '8dfb91c0ca0d4201940e29bcb809002da1cd9d76', class: "resource-item" }, h("div", { key: 'a6ec9664d267c25eada0432e6825369fdc82676f', class: "margin-bottom-1" }, h("calcite-button", { key: 'd84827e9dbe4ad68544430c007b28c5e9929e076', appearance: "solid", class: "resource-button", color: "blue", onClick: () => this._addNewResource() }, this._translations.addResource), h("calcite-button", { key: 'd88b2928ca6994054f899823701327ece50a937b', appearance: "solid", color: "blue", disabled: !hasValidResources, onClick: () => this._downloadAll() }, this._translations.downloadAll)), h("div", { key: '445c0c3e2deb3b546f4c84186a148e8888477d13', class: "resources-container", style: { display: hasValidResources ? "inherit" : "none" } }, this._renderResourceList()))));
2595
+ return (h(Host, { key: '95659a6d3572354aef8a879694e41ab6821ca506' }, h("div", { key: 'fa34097cf27797000558b4ddb001ba7e89d8fe71', class: "resource-item" }, h("div", { key: 'a7797a17c4cef3e7189157b141fdbf5c3b34143c', class: "margin-bottom-1" }, h("calcite-button", { key: 'd6d70a4240348a12b2f4847abc3806ef46064871', appearance: "solid", class: "resource-button", color: "blue", onClick: () => this._addNewResource() }, this._translations.addResource), h("calcite-button", { key: 'c9a73c13a223b8120965bcf092ef63c6a9443f43', appearance: "solid", color: "blue", disabled: !hasValidResources, onClick: () => this._downloadAll() }, this._translations.downloadAll)), h("div", { key: '0eb74fd024fc421b94391984b842a4a7ffd491c5', class: "resources-container", style: { display: hasValidResources ? "inherit" : "none" } }, this._renderResourceList()))));
2596
2596
  }
2597
2597
  _removedResources = {};
2598
2598
  //--------------------------------------------------------------------------
@@ -2874,7 +2874,7 @@ const SolutionTemplateData = class {
2874
2874
  * Renders the component.
2875
2875
  */
2876
2876
  render() {
2877
- return (h(Host, { key: '78d31b01a7b3aac5e3b63ec59fa0225e662c3532' }, h("div", { key: '84ad00f60d5ad98fc14fad50b2db93844e54a842', class: "solution-data-container" }, h("calcite-shell", { key: '0e56c32e9ba92e9e536ce16f30db4e59d1c71094', class: "light var-container", dir: "ltr" }, h("calcite-panel", { key: 'ab251fe749493d11b61359f3f018fa87917d83c6', class: "json-editor" }, h("div", { key: '94be603b8c03bccbcc31293839d633ffa0ca5b15', class: "solution-data-child-container calcite-match-height" }, h("json-editor", { key: '76a5a31ae0dc54d59a300e0d6cc6b543e994d322', class: "solution-data-editor-container", instanceid: this.itemId + "|" + this.instanceid, value: this.value }))), h("calcite-shell-panel", { key: '5405b6aa574c721965bbdd4aabf90981f82c7da7', "height-scale": "l", position: "end", slot: "contextual-panel", "width-scale": "xs" }, h("div", { key: 'e7b57aa1f91e479a7538b5bb60fff9ff096bc9c9', class: this.varsOpen ? "solution-data-child-container" : "solution-data-child-container-collapsed" }, h("calcite-button", { key: 'ddd017fee5c66d79cd2c6239b847aacef9e04070', appearance: "transparent", class: "collapse-btn", "icon-start": this.varsOpen ? "chevrons-right" : "chevrons-left", id: "collapse-vars", onClick: () => this._toggleVars(), scale: "s", title: this.varsOpen ? this._translations.collapse : this._translations.expand }), h("div", { key: 'a45aec86952e3172c76153b01a54076d97050de9', class: this.varsOpen ? "org-vars" : "org-vars display-none", id: "orgVars" }, h("solution-organization-variables", { key: 'e138b7ec4c256c916ef52cef6d17f0d9a839d506', value: this.organizationVariables })), h("div", { key: '9444585d82bc85f2cf535ecc8921b2d3f67b398d', class: this.varsOpen ? "sol-vars" : "sol-vars display-none", id: "solVars" }, h("solution-variables", { key: '030de51ff885c3ddf549fc4898c31ec23bb0d303', value: this.solutionVariables }))))))));
2877
+ return (h(Host, { key: '3e0a532158fffbba07faee43152573eb3577da84' }, h("div", { key: '5631eb64e45d31465361491e9585c8eddd04dce7', class: "solution-data-container" }, h("calcite-shell", { key: '9b065784804b86fa1c09c9d7e5f173a6ea793883', class: "light var-container", dir: "ltr" }, h("calcite-panel", { key: '254dcf1c48812c98a69bac8e7b6ca91a39eb9cff', class: "json-editor" }, h("div", { key: '86f686a03298bb06b8b855ae59a66e42cec25ad4', class: "solution-data-child-container calcite-match-height" }, h("json-editor", { key: '0549a48a16bb94ed7be3064f4b622b1a10563bfd', class: "solution-data-editor-container", instanceid: this.itemId + "|" + this.instanceid, value: this.value }))), h("calcite-shell-panel", { key: 'a3879f3d3b95d2878a5ec98265a6a120c78366f6', "height-scale": "l", position: "end", slot: "contextual-panel", "width-scale": "xs" }, h("div", { key: '4e8a2206eb7e57e8beb5e854f3cd66d7bae96101', class: this.varsOpen ? "solution-data-child-container" : "solution-data-child-container-collapsed" }, h("calcite-button", { key: '180bb9e0a1aff223625e3979930a9904dc778a1d', appearance: "transparent", class: "collapse-btn", "icon-start": this.varsOpen ? "chevrons-right" : "chevrons-left", id: "collapse-vars", onClick: () => this._toggleVars(), scale: "s", title: this.varsOpen ? this._translations.collapse : this._translations.expand }), h("div", { key: 'a1064c394bb1a9c95493a052057bdfb2ccc7b20a', class: this.varsOpen ? "org-vars" : "org-vars display-none", id: "orgVars" }, h("solution-organization-variables", { key: '19ef108d689b875a329a22f0729f34bd3c5edbd1', value: this.organizationVariables })), h("div", { key: '3671681ffde2ef2aae1a84c608fbe08c0f4e7bcc', class: this.varsOpen ? "sol-vars" : "sol-vars display-none", id: "solVars" }, h("solution-variables", { key: '7bdbb7baedf02ff299e620741995a393c4bf976d', value: this.solutionVariables }))))))));
2878
2878
  }
2879
2879
  _initializing = false;
2880
2880
  //--------------------------------------------------------------------------
@@ -2948,7 +2948,7 @@ const SolutionVariables = class {
2948
2948
  * Renders the component.
2949
2949
  */
2950
2950
  render() {
2951
- return (h(Host, { key: '5d3ed27bced41fb6bf6c393ddde152fb0056d25b' }, h("div", { key: 'cb05d3c237719abd539b21b38968a41364c1880e' }, h("h4", { key: '367eb15af209dfed31b43f705fb6de05e25bb374', class: "org-var-header" }, this._translations.solVariables)), h("div", { key: '10142202269a9f2eaa82c0b50a1980d9f3051208', class: "container-border" }, h("calcite-tree", { key: 'd89353a7fe357851a697df036ae7795154254759', id: "variable-label" }, this._renderHierarchy(this._solutionVariables)))));
2951
+ return (h(Host, { key: 'a600c4dc88ee4ea3f9d7810695f71283f834933b' }, h("div", { key: 'c5c2abd0d19c778366c04dfd6b04f26bcb86b59b' }, h("h4", { key: '087db039abd818f71838c88ef09eafc46d18b5c8', class: "org-var-header" }, this._translations.solVariables)), h("div", { key: 'd524981a512342d18d616137c7951f7c0f3f870b', class: "container-border" }, h("calcite-tree", { key: '4630d4aa5a35d3e3a173e3aaae9b35b0dd636b4f', id: "variable-label" }, this._renderHierarchy(this._solutionVariables)))));
2952
2952
  }
2953
2953
  //--------------------------------------------------------------------------
2954
2954
  //