@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
@@ -18,21 +18,18 @@ const locale = require('./locale-da840314.js');
18
18
  const t9n = require('./t9n-ed5c03a7.js');
19
19
  const component = require('./component-5d190962.js');
20
20
  const logger = require('./logger-f177776b.js');
21
- const locale$1 = require('./locale-339b55f0.js');
22
21
  require('./guid-e84a8375.js');
23
22
  require('./resources-18f799c7.js');
24
23
  require('./config-e76d9931.js');
25
24
  require('./browser-333a21c5.js');
26
25
  require('./key-47c9469a.js');
27
- require('./esri-loader-08dc41bd.js');
28
- require('./_commonjsHelpers-baf43783.js');
29
26
 
30
27
  /*!
31
28
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
32
29
  * See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
33
30
  * v2.13.0
34
31
  */
35
- const CSS$1 = {
32
+ const CSS = {
36
33
  modal: "modal",
37
34
  title: "title",
38
35
  header: "header",
@@ -59,7 +56,7 @@ const CSS$1 = {
59
56
  const ICONS = {
60
57
  close: "x",
61
58
  };
62
- const SLOTS$1 = {
59
+ const SLOTS = {
63
60
  content: "content",
64
61
  contentBottom: "content-bottom",
65
62
  contentTop: "content-top",
@@ -142,7 +139,7 @@ const Modal = class {
142
139
  this.updateFocusTrapElements();
143
140
  };
144
141
  this.updateFooterVisibility = () => {
145
- this.hasFooter = !!dom.getSlotted(this.el, [SLOTS$1.back, SLOTS$1.primary, SLOTS$1.secondary]);
142
+ this.hasFooter = !!dom.getSlotted(this.el, [SLOTS.back, SLOTS.primary, SLOTS.secondary]);
146
143
  };
147
144
  this.updateSizeCssVars = () => {
148
145
  this.cssWidth = getComputedStyle(this.el).getPropertyValue("--calcite-modal-width");
@@ -224,44 +221,44 @@ const Modal = class {
224
221
  }
225
222
  render() {
226
223
  return (index.h(index.Host, { key: 'f92cd77f4a5ad4a245ca50fe2b2bfcf9966d4ca8', "aria-describedby": this.contentId, "aria-labelledby": this.titleId, "aria-modal": "true", role: "dialog" }, index.h("div", { key: 'a9d348a67842162f1bc17ec8422c07963aed412d', class: {
227
- [CSS$1.container]: true,
228
- [CSS$1.containerOpen]: this.opened,
229
- [CSS$1.containerEmbedded]: this.embedded,
230
- } }, index.h("calcite-scrim", { key: '7dc3bc9220fc375522a6d390b633f9573bfa6c67', class: CSS$1.scrim, onClick: this.handleOutsideClose }), this.renderStyle(), index.h("div", { key: '40782ba2b6d3f086c884ace3529110e873009504', class: {
231
- [CSS$1.modal]: true,
232
- }, ref: this.setTransitionEl }, index.h("div", { key: 'ea3a72ab0a0e5abae6e766d0b7b2cfce54667e86', class: CSS$1.header }, this.renderCloseButton(), index.h("header", { key: 'abe5c28d11fc6241cd6ac40adef4d94529eb9d5c', class: CSS$1.title }, index.h("slot", { key: '3d1d6ed6c0249472a00fba4128a861e6a6eae4dd', name: CSS$1.header }))), this.renderContentTop(), index.h("div", { key: '0e65dfbd175e490586518d1a4c34b9eb1dde1f01', class: {
233
- [CSS$1.content]: true,
234
- [CSS$1.contentNoFooter]: !this.hasFooter,
235
- }, ref: (el) => (this.modalContent = el) }, index.h("slot", { key: 'd5f3b08e61e8e47f64fd13bc6eb7f7ed6a07b7c8', name: SLOTS$1.content })), this.renderContentBottom(), this.renderFooter()))));
224
+ [CSS.container]: true,
225
+ [CSS.containerOpen]: this.opened,
226
+ [CSS.containerEmbedded]: this.embedded,
227
+ } }, index.h("calcite-scrim", { key: '7dc3bc9220fc375522a6d390b633f9573bfa6c67', class: CSS.scrim, onClick: this.handleOutsideClose }), this.renderStyle(), index.h("div", { key: '40782ba2b6d3f086c884ace3529110e873009504', class: {
228
+ [CSS.modal]: true,
229
+ }, ref: this.setTransitionEl }, index.h("div", { key: 'ea3a72ab0a0e5abae6e766d0b7b2cfce54667e86', class: CSS.header }, this.renderCloseButton(), index.h("header", { key: 'abe5c28d11fc6241cd6ac40adef4d94529eb9d5c', class: CSS.title }, index.h("slot", { key: '3d1d6ed6c0249472a00fba4128a861e6a6eae4dd', name: CSS.header }))), this.renderContentTop(), index.h("div", { key: '0e65dfbd175e490586518d1a4c34b9eb1dde1f01', class: {
230
+ [CSS.content]: true,
231
+ [CSS.contentNoFooter]: !this.hasFooter,
232
+ }, ref: (el) => (this.modalContent = el) }, index.h("slot", { key: 'd5f3b08e61e8e47f64fd13bc6eb7f7ed6a07b7c8', name: SLOTS.content })), this.renderContentBottom(), this.renderFooter()))));
236
233
  }
237
234
  renderFooter() {
238
- return this.hasFooter ? (index.h("div", { class: CSS$1.footer, key: "footer" }, index.h("span", { class: CSS$1.back }, index.h("slot", { name: SLOTS$1.back })), index.h("span", { class: CSS$1.secondary }, index.h("slot", { name: SLOTS$1.secondary })), index.h("span", { class: CSS$1.primary }, index.h("slot", { name: SLOTS$1.primary })))) : null;
235
+ return this.hasFooter ? (index.h("div", { class: CSS.footer, key: "footer" }, index.h("span", { class: CSS.back }, index.h("slot", { name: SLOTS.back })), index.h("span", { class: CSS.secondary }, index.h("slot", { name: SLOTS.secondary })), index.h("span", { class: CSS.primary }, index.h("slot", { name: SLOTS.primary })))) : null;
239
236
  }
240
237
  renderContentTop() {
241
- return (index.h("div", { class: CSS$1.contentTop, hidden: !this.hasContentTop }, index.h("slot", { name: SLOTS$1.contentTop, onSlotchange: this.contentTopSlotChangeHandler })));
238
+ return (index.h("div", { class: CSS.contentTop, hidden: !this.hasContentTop }, index.h("slot", { name: SLOTS.contentTop, onSlotchange: this.contentTopSlotChangeHandler })));
242
239
  }
243
240
  renderContentBottom() {
244
- return (index.h("div", { class: CSS$1.contentBottom, hidden: !this.hasContentBottom }, index.h("slot", { name: SLOTS$1.contentBottom, onSlotchange: this.contentBottomSlotChangeHandler })));
241
+ return (index.h("div", { class: CSS.contentBottom, hidden: !this.hasContentBottom }, index.h("slot", { name: SLOTS.contentBottom, onSlotchange: this.contentBottomSlotChangeHandler })));
245
242
  }
246
243
  renderCloseButton() {
247
- return !this.closeButtonDisabled ? (index.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 }, index.h("calcite-icon", { icon: ICONS.close, scale: component.getIconScale(this.scale) }))) : null;
244
+ return !this.closeButtonDisabled ? (index.h("button", { "aria-label": this.messages.close, class: CSS.close, key: "button", onClick: this.handleCloseClick, ref: (el) => (this.closeButtonEl = el), title: this.messages.close }, index.h("calcite-icon", { icon: ICONS.close, scale: component.getIconScale(this.scale) }))) : null;
248
245
  }
249
246
  renderStyle() {
250
247
  if (!this.fullscreen && (this.cssWidth || this.cssHeight)) {
251
- return (index.h("style", null, `.${CSS$1.container} {
248
+ return (index.h("style", null, `.${CSS.container} {
252
249
  ${this.docked && this.cssWidth ? `align-items: center !important;` : ""}
253
250
  }
254
- .${CSS$1.modal} {
251
+ .${CSS.modal} {
255
252
  block-size: ${this.cssHeight ? this.cssHeight : "auto"} !important;
256
253
  ${this.cssWidth ? `inline-size: ${this.cssWidth} !important;` : ""}
257
254
  ${this.cssWidth ? `max-inline-size: ${this.cssWidth} !important;` : ""}
258
255
  ${this.docked ? `border-radius: var(--calcite-border-radius) !important;` : ""}
259
256
  }
260
257
  @media screen and (max-width: ${this.cssWidth}) {
261
- .${CSS$1.container} {
258
+ .${CSS.container} {
262
259
  ${this.docked ? `align-items: flex-end !important;` : ""}
263
260
  }
264
- .${CSS$1.modal} {
261
+ .${CSS.modal} {
265
262
  max-block-size: 100% !important;
266
263
  inline-size: 100% !important;
267
264
  max-inline-size: 100% !important;
@@ -328,20 +325,20 @@ const Modal = class {
328
325
  }
329
326
  }
330
327
  onBeforeOpen() {
331
- this.transitionEl.classList.add(CSS$1.openingActive);
328
+ this.transitionEl.classList.add(CSS.openingActive);
332
329
  this.calciteModalBeforeOpen.emit();
333
330
  }
334
331
  onOpen() {
335
- this.transitionEl.classList.remove(CSS$1.openingIdle, CSS$1.openingActive);
332
+ this.transitionEl.classList.remove(CSS.openingIdle, CSS.openingActive);
336
333
  this.calciteModalOpen.emit();
337
334
  focusTrapComponent.activateFocusTrap(this);
338
335
  }
339
336
  onBeforeClose() {
340
- this.transitionEl.classList.add(CSS$1.closingActive);
337
+ this.transitionEl.classList.add(CSS.closingActive);
341
338
  this.calciteModalBeforeClose.emit();
342
339
  }
343
340
  onClose() {
344
- this.transitionEl.classList.remove(CSS$1.closingIdle, CSS$1.closingActive);
341
+ this.transitionEl.classList.remove(CSS.closingIdle, CSS.closingActive);
345
342
  this.calciteModalClose.emit();
346
343
  focusTrapComponent.deactivateFocusTrap(this);
347
344
  }
@@ -357,7 +354,7 @@ const Modal = class {
357
354
  }
358
355
  }
359
356
  handleOpenedChange(value) {
360
- const idleClass = value ? CSS$1.openingIdle : CSS$1.closingIdle;
357
+ const idleClass = value ? CSS.openingIdle : CSS.closingIdle;
361
358
  this.transitionEl.classList.add(idleClass);
362
359
  openCloseComponent.onToggleOpenCloseComponent(this);
363
360
  }
@@ -365,8 +362,8 @@ const Modal = class {
365
362
  await component.componentOnReady(this.el);
366
363
  this.el.addEventListener("calciteModalOpen", this.openEnd);
367
364
  this.opened = true;
368
- const titleEl = dom.getSlotted(this.el, SLOTS$1.header);
369
- const contentEl = dom.getSlotted(this.el, SLOTS$1.content);
365
+ const titleEl = dom.getSlotted(this.el, SLOTS.header);
366
+ const contentEl = dom.getSlotted(this.el, SLOTS.content);
370
367
  this.titleId = dom.ensureId(titleEl);
371
368
  this.contentId = dom.ensureId(contentEl);
372
369
  if (!this.embedded) {
@@ -393,342 +390,4 @@ const Modal = class {
393
390
  };
394
391
  Modal.style = CalciteModalStyle0;
395
392
 
396
- /*!
397
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
398
- * See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
399
- * v2.13.0
400
- */
401
- const CSS = {
402
- main: "main",
403
- content: "content",
404
- contentBehind: "content--behind",
405
- contentBottom: "content-bottom",
406
- contentNonInteractive: "content--non-interactive",
407
- footer: "footer",
408
- positionedSlotWrapper: "positioned-slot-wrapper",
409
- container: "container",
410
- contentBehindCenterContent: "center-content",
411
- };
412
- const SLOTS = {
413
- centerRow: "center-row",
414
- panelStart: "panel-start",
415
- panelEnd: "panel-end",
416
- panelTop: "panel-top",
417
- panelBottom: "panel-bottom",
418
- header: "header",
419
- footer: "footer",
420
- alerts: "alerts",
421
- sheets: "sheets",
422
- modals: "modals",
423
- dialogs: "dialogs",
424
- };
425
-
426
- 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}";
427
- const CalciteShellStyle0 = shellCss;
428
-
429
- const Shell = class {
430
- constructor(hostRef) {
431
- index.registerInstance(this, hostRef);
432
- // --------------------------------------------------------------------------
433
- //
434
- // Private Methods
435
- //
436
- // --------------------------------------------------------------------------
437
- this.handleHeaderSlotChange = (event) => {
438
- this.hasHeader = !!dom.slotChangeHasAssignedElement(event);
439
- };
440
- this.handleFooterSlotChange = (event) => {
441
- this.hasFooter = !!dom.slotChangeHasAssignedElement(event);
442
- };
443
- this.handleAlertsSlotChange = (event) => {
444
- this.hasAlerts = !!dom.slotChangeHasAssignedElement(event);
445
- dom.slotChangeGetAssignedElements(event)?.map((el) => {
446
- if (el.tagName === "CALCITE-ALERT") {
447
- el.embedded = true;
448
- }
449
- });
450
- };
451
- this.handleSheetsSlotChange = (event) => {
452
- this.hasSheets = !!dom.slotChangeHasAssignedElement(event);
453
- dom.slotChangeGetAssignedElements(event)?.map((el) => {
454
- if (el.tagName === "CALCITE-SHEET") {
455
- el.embedded = true;
456
- }
457
- });
458
- };
459
- this.handleModalsSlotChange = (event) => {
460
- this.hasModals = !!dom.slotChangeHasAssignedElement(event);
461
- dom.slotChangeGetAssignedElements(event)?.map((el) => {
462
- if (el.tagName === "CALCITE-MODAL") {
463
- el.embedded = true;
464
- }
465
- });
466
- };
467
- this.handlePanelTopChange = (event) => {
468
- this.hasPanelTop = dom.slotChangeHasAssignedElement(event);
469
- };
470
- this.handlePanelBottomChange = (event) => {
471
- this.hasPanelBottom = dom.slotChangeHasAssignedElement(event);
472
- };
473
- this.handleDialogsSlotChange = (event) => {
474
- this.hasDialogs = !!dom.slotChangeHasAssignedElement(event);
475
- dom.slotChangeGetAssignedElements(event)?.map((el) => {
476
- if (el.tagName === "CALCITE-DIALOG") {
477
- el.embedded = true;
478
- }
479
- });
480
- };
481
- this.contentBehind = false;
482
- this.hasHeader = false;
483
- this.hasFooter = false;
484
- this.hasAlerts = false;
485
- this.hasModals = false;
486
- this.hasDialogs = false;
487
- this.hasSheets = false;
488
- this.hasPanelTop = false;
489
- this.hasPanelBottom = false;
490
- this.hasOnlyPanelBottom = false;
491
- this.panelIsResizing = false;
492
- }
493
- //--------------------------------------------------------------------------
494
- //
495
- // Event Listeners
496
- //
497
- //--------------------------------------------------------------------------
498
- handleCalciteInternalShellPanelResizeStart(event) {
499
- this.panelIsResizing = true;
500
- event.stopPropagation();
501
- }
502
- handleCalciteInternalShellPanelResizeEnd(event) {
503
- this.panelIsResizing = false;
504
- event.stopPropagation();
505
- }
506
- updateHasOnlyPanelBottom() {
507
- this.hasOnlyPanelBottom = !this.hasPanelTop && this.hasPanelBottom;
508
- }
509
- // --------------------------------------------------------------------------
510
- //
511
- // Lifecycle
512
- //
513
- // --------------------------------------------------------------------------
514
- connectedCallback() {
515
- conditionalSlot.connectConditionalSlotComponent(this);
516
- }
517
- disconnectedCallback() {
518
- conditionalSlot.disconnectConditionalSlotComponent(this);
519
- }
520
- // --------------------------------------------------------------------------
521
- //
522
- // Render Methods
523
- //
524
- // --------------------------------------------------------------------------
525
- renderHeader() {
526
- return (index.h("div", { hidden: !this.hasHeader }, index.h("slot", { key: "header", name: SLOTS.header, onSlotchange: this.handleHeaderSlotChange })));
527
- }
528
- renderFooter() {
529
- return (index.h("div", { class: CSS.footer, hidden: !this.hasFooter, key: "footer" }, index.h("slot", { name: SLOTS.footer, onSlotchange: this.handleFooterSlotChange })));
530
- }
531
- renderAlerts() {
532
- return (index.h("div", { hidden: !this.hasAlerts }, index.h("slot", { key: "alerts", name: SLOTS.alerts, onSlotchange: this.handleAlertsSlotChange })));
533
- }
534
- renderSheets() {
535
- return (index.h("div", { hidden: !this.hasSheets }, index.h("slot", { key: "sheets", name: SLOTS.sheets, onSlotchange: this.handleSheetsSlotChange })));
536
- }
537
- renderModals() {
538
- return (index.h("div", { hidden: !this.hasModals }, index.h("slot", { key: "modals", name: SLOTS.modals, onSlotchange: this.handleModalsSlotChange })));
539
- }
540
- renderDialogs() {
541
- return (index.h("div", { hidden: !this.hasDialogs }, index.h("slot", { key: "dialogs", name: SLOTS.dialogs, onSlotchange: this.handleDialogsSlotChange })));
542
- }
543
- renderContent() {
544
- const { panelIsResizing } = this;
545
- const defaultSlotNode = index.h("slot", { key: "default-slot" });
546
- const defaultSlotContainerNode = panelIsResizing ? (index.h("div", { class: CSS.contentNonInteractive }, defaultSlotNode)) : (defaultSlotNode);
547
- const deprecatedCenterRowSlotNode = (index.h("slot", { key: "center-row-slot", name: SLOTS.centerRow }));
548
- const panelBottomSlotNode = (index.h("slot", { key: "panel-bottom-slot", name: SLOTS.panelBottom, onSlotchange: this.handlePanelBottomChange }));
549
- const panelTopSlotNode = (index.h("slot", { key: "panel-top-slot", name: SLOTS.panelTop, onSlotchange: this.handlePanelTopChange }));
550
- const contentContainerKey = "content-container";
551
- const content = this.contentBehind
552
- ? [
553
- index.h("div", { class: {
554
- [CSS.content]: true,
555
- [CSS.contentBehind]: true,
556
- }, key: contentContainerKey }, defaultSlotContainerNode),
557
- index.h("div", { class: {
558
- [CSS.contentBehindCenterContent]: true,
559
- [CSS.contentBottom]: this.hasOnlyPanelBottom,
560
- } }, panelTopSlotNode, panelBottomSlotNode, deprecatedCenterRowSlotNode),
561
- ]
562
- : [
563
- index.h("div", { class: { [CSS.content]: true, [CSS.contentBottom]: this.hasOnlyPanelBottom }, key: contentContainerKey }, panelTopSlotNode, defaultSlotContainerNode, panelBottomSlotNode, deprecatedCenterRowSlotNode),
564
- ];
565
- return content;
566
- }
567
- renderMain() {
568
- return (index.h("div", { class: CSS.main }, index.h("slot", { name: SLOTS.panelStart }), this.renderContent(), index.h("slot", { name: SLOTS.panelEnd })));
569
- }
570
- renderPositionedSlots() {
571
- return (index.h("div", { class: CSS.positionedSlotWrapper }, this.renderAlerts(), this.renderModals(), this.renderDialogs(), this.renderSheets()));
572
- }
573
- render() {
574
- return (index.h(index.Fragment, { key: '6864b8b95b6edd871ad622b0d49a3f4a42a0a8a8' }, this.renderHeader(), this.renderMain(), this.renderFooter(), this.renderPositionedSlots()));
575
- }
576
- get el() { return index.getElement(this); }
577
- static get watchers() { return {
578
- "hasPanelTop": ["updateHasOnlyPanelBottom"],
579
- "hasPanelBottom": ["updateHasOnlyPanelBottom"]
580
- }; }
581
- };
582
- Shell.style = CalciteShellStyle0;
583
-
584
- const deleteButtonCss = ":host{display:block}.delete-modal{position:fixed}";
585
- const DeleteButtonStyle0 = deleteButtonCss;
586
-
587
- const DeleteButton = class {
588
- constructor(hostRef) {
589
- index.registerInstance(this, hostRef);
590
- this.editsComplete = index.createEvent(this, "editsComplete", 7);
591
- this.buttonType = "button";
592
- this.disabled = false;
593
- this.icon = undefined;
594
- this.ids = [];
595
- this.layer = undefined;
596
- this._confirmDelete = false;
597
- this._deleteEndabled = false;
598
- this._isDeleting = false;
599
- this._supportsDelete = undefined;
600
- this._translations = undefined;
601
- }
602
- get el() { return index.getElement(this); }
603
- //--------------------------------------------------------------------------
604
- //
605
- // Properties (protected)
606
- //
607
- //--------------------------------------------------------------------------
608
- //--------------------------------------------------------------------------
609
- //
610
- // Watch handlers
611
- //
612
- //--------------------------------------------------------------------------
613
- /**
614
- * watch for changes in layer view and verify if it has editing enabled
615
- */
616
- async idsWatchHandler() {
617
- this._setDeleteEnabled();
618
- }
619
- /**
620
- * watch for changes in layer view and verify if it has editing enabled
621
- */
622
- async layerWatchHandler() {
623
- this._setDeleteEnabled();
624
- }
625
- //--------------------------------------------------------------------------
626
- //
627
- // Methods (public)
628
- //
629
- //--------------------------------------------------------------------------
630
- //--------------------------------------------------------------------------
631
- //
632
- // Events (public)
633
- //
634
- //--------------------------------------------------------------------------
635
- /**
636
- * Emitted on demand when features have been deleted
637
- */
638
- editsComplete;
639
- //--------------------------------------------------------------------------
640
- //
641
- // Functions (lifecycle)
642
- //
643
- //--------------------------------------------------------------------------
644
- /**
645
- * StencilJS: Called once just after the component is first connected to the DOM.
646
- *
647
- * @returns Promise when complete
648
- */
649
- async componentWillLoad() {
650
- await this._getTranslations();
651
- }
652
- /**
653
- * Renders the component.
654
- */
655
- render() {
656
- return (index.h(index.Host, { key: '23936d6981c9779f5a21951c6667e3cba86e5d82' }, this.buttonType === "button" ? (index.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()))) : (index.h("calcite-action", { appearance: "solid", compact: true, disabled: !this._deleteEndabled, id: this.icon, onClick: () => this._delete(), scale: "s", text: this._translations.delete }, index.h("calcite-button", { appearance: "transparent", iconStart: this.icon, kind: "danger" }, this._translations.delete))), this._deleteMessage(), index.h("calcite-tooltip", { key: '0078ca79ef0a2195be88d0b508fefc9838af9693', placement: "bottom", "reference-element": this.buttonType === "button" ? "solutions-delete" : this.icon }, index.h("span", { key: '6a2f3c55237c2cb07f17559c9f14edd4b442e004' }, this._translations.delete))));
657
- }
658
- /**
659
- * StencilJS: Called once just after the component is fully loaded and the first render() occurs.
660
- */
661
- async componentDidLoad() {
662
- this._setDeleteEnabled();
663
- }
664
- //--------------------------------------------------------------------------
665
- //
666
- // Functions (protected)
667
- //
668
- //--------------------------------------------------------------------------
669
- /**
670
- * Verify if the layer supports delete and that we have 1 or more ids
671
- */
672
- _setDeleteEnabled() {
673
- this._supportsDelete = this.layer?.editingEnabled && this.layer?.capabilities?.operations?.supportsDelete;
674
- this._deleteEndabled = !this.disabled || this._supportsDelete && this.ids.length > 0;
675
- }
676
- /**
677
- * Delete all selected records or shows an alert if the layer does not have editing enabled
678
- *
679
- * @returns a promise that will resolve when the operation is complete
680
- */
681
- _delete() {
682
- this._confirmDelete = true;
683
- }
684
- /**
685
- * Show delete confirmation message
686
- *
687
- * @returns node to confirm or deny the delete operation
688
- */
689
- _deleteMessage() {
690
- const confirmMessage = this.ids.length === 1 ? this._translations.confirmSingle :
691
- this._translations.confirmMultiple;
692
- return (index.h("calcite-modal", { "aria-labelledby": "modal-title", class: "delete-modal", kind: "danger", onCalciteModalClose: () => this._deleteClosed(), open: this._confirmDelete }, index.h("div", { class: "display-flex align-center", id: "modal-title", slot: "header" }, this._translations.deleteFeature), index.h("div", { slot: "content" }, confirmMessage), index.h("calcite-button", { appearance: "outline", kind: "danger", onClick: () => this._deleteClosed(), slot: "secondary", width: "full" }, this._translations.cancel), index.h("calcite-button", { kind: "danger", loading: this._isDeleting, onClick: () => void this._deleteFeatures(), slot: "primary", width: "full" }, this._translations.delete)));
693
- }
694
- /**
695
- * Delete the currently selected features
696
- */
697
- async _deleteFeatures() {
698
- this._isDeleting = true;
699
- const deleteFeatures = this.ids.map((objectId) => {
700
- return { objectId };
701
- });
702
- await this.layer.applyEdits({
703
- deleteFeatures
704
- });
705
- this._isDeleting = false;
706
- this._deleteClosed();
707
- this.editsComplete.emit("delete");
708
- }
709
- /**
710
- * Set the alertOpen member to false when the alert is closed
711
- */
712
- _deleteClosed() {
713
- this._confirmDelete = false;
714
- }
715
- /**
716
- * Fetches the component's translations
717
- *
718
- * @returns Promise when complete
719
- * @protected
720
- */
721
- async _getTranslations() {
722
- const messages = await locale$1.getLocaleComponentStrings(this.el);
723
- this._translations = messages[0];
724
- }
725
- static get watchers() { return {
726
- "ids": ["idsWatchHandler"],
727
- "layer": ["layerWatchHandler"]
728
- }; }
729
- };
730
- DeleteButton.style = DeleteButtonStyle0;
731
-
732
393
  exports.calcite_modal = Modal;
733
- exports.calcite_shell = Shell;
734
- exports.delete_button = DeleteButton;
@@ -1840,7 +1840,7 @@ const JsonEditor = class {
1840
1840
  * Renders the component.
1841
1841
  */
1842
1842
  render() {
1843
- return (index.h(index.Host, { key: '2932135e373b0e5cf5bc5347c7b7960a60e81df1' }, index.h("div", { key: '98579089177f92e2a3600dd64d738e4ec8ff8ae2', id: `${this.instanceid}-editor-container`, class: "editor-container padding-right" }, index.h("div", { key: '971de116ef81850ecc2fcbff9d9f30e36c5928cf', class: "editor-controls" }, index.h("div", { key: '75e505043095753dc414dad671c6eec4e27a47c1', class: "editor-buttons" }, index.h("calcite-icon", { key: 'af8645c74758aff0f310089a5c97a504a52a2026', id: `${this.instanceid}-errorFlag`, icon: "exclamation-mark-triangle", title: this._translations.errorFlag, scale: "s", class: "edit-error-flag" }), index.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" }, index.h("calcite-icon", { key: '20fdf41124e256f139c7be3bd6f0e42823706cec', icon: "undo", scale: "s" })), index.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" }, index.h("calcite-icon", { key: '3e248322dd1381da5ec609e92953d8ea94ebad29', icon: "redo", scale: "s" })), index.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" }, index.h("calcite-icon", { key: 'dc3fea2e4743511af20347412c6093163f0b674c', icon: "compare", scale: "s" })), index.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" }, index.h("calcite-icon", { key: '315076f61831b8294e0c9b2c2e5fb174d9163bce', icon: "search", scale: "s" })), index.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" }, index.h("calcite-icon", { key: '0cd3c9c634da8fe710890b533bc046c536af0bb2', icon: "reset", scale: "s" })))), index.h("div", { key: '73fc19136eb3aa3148c859ba617cd9904ee92f98', class: "edit-parent" }, index.h("div", { key: '57435dbeeef39ddaeb97256512acca6360e1a7ec', id: `${this.instanceid}-container`, class: "json-edit-container" }), index.h("div", { key: '152e58aeb94ae22d6d11e4332496cb2e637ebbca', id: `${this.instanceid}-diff-container`, class: "json-edit-container display-none" })))));
1843
+ return (index.h(index.Host, { key: '0c7531c8c816eb9be80d357b19b568ccdb22c407' }, index.h("div", { key: '866f82b68c2a750edfc80d801e4ea95a3f655100', id: `${this.instanceid}-editor-container`, class: "editor-container padding-right" }, index.h("div", { key: '5b9f15641f6a26daeb3847d8ef75c76b8be44fc5', class: "editor-controls" }, index.h("div", { key: 'd1e91eaa242ccd23d5dc1386b6a58d2fafeb4083', class: "editor-buttons" }, index.h("calcite-icon", { key: 'd9364f7dfdbc22a414b4711c8a22e145b533998e', id: `${this.instanceid}-errorFlag`, icon: "exclamation-mark-triangle", title: this._translations.errorFlag, scale: "s", class: "edit-error-flag" }), index.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" }, index.h("calcite-icon", { key: 'c95008b3fccb8bc33f01eb1bd204c84141850981', icon: "undo", scale: "s" })), index.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" }, index.h("calcite-icon", { key: '2170c36d0fd236c989222991353324d50afa8ac0', icon: "redo", scale: "s" })), index.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" }, index.h("calcite-icon", { key: '88443cfd2a8888447acc75588ecff7938ade5273', icon: "compare", scale: "s" })), index.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" }, index.h("calcite-icon", { key: '31e8ced3f14f1475c62133fbd7730e34b2bc4028', icon: "search", scale: "s" })), index.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" }, index.h("calcite-icon", { key: '4a8ead1dbf8fefe8b4106a0f6f9c42fb5b875cd2', icon: "reset", scale: "s" })))), index.h("div", { key: '98f29030a0fa0ecbce0d165840a30edd655ba249', class: "edit-parent" }, index.h("div", { key: '1441e32a184bc24f2a0a25fcb855c41b40bd0cec', id: `${this.instanceid}-container`, class: "json-edit-container" }), index.h("div", { key: 'f0cf0a3bd11d3f8102c4cc8695ac1743bac36bbb', id: `${this.instanceid}-diff-container`, class: "json-edit-container display-none" })))));
1844
1844
  }
1845
1845
  //--------------------------------------------------------------------------
1846
1846
  //
@@ -2201,7 +2201,7 @@ const SolutionItemDetails = class {
2201
2201
  * Renders the component.
2202
2202
  */
2203
2203
  render() {
2204
- return (index.h(index.Host, { key: '84bfa00fcedb54a43856c92e8446305d15d1a54a' }, index.h("div", { key: 'bceaddf6dcc35e5a22cad12e661c17f716fd165e', class: "parent-container" }, index.h("div", { key: '17834a249ffbbbd3ee54617fa2f2224816dd59b1', class: "inputBottomSeparation" }, index.h("calcite-input", { key: '372ceefe695e7c54a4ad35cf5b496202037fd57c', id: "item-title", value: this.itemDetails.title })), index.h("div", { key: 'fc356bd1e3bb965b7555dcea9fccfce44ca96a31', class: "inputBottomSeparation" }, index.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" }), index.h("button", { key: 'abc5c96ec20adb16026fd6a7c3eb41871512d360', class: "font-size--3 btn-link inline-block trailer-quarter", onClick: () => this._getThumbnail() }, index.h("svg", { key: '35ce23e7fe17e7f45110e028ddb0c31e033f6f34', class: "icon-inline icon-inline--on-left", height: "16", viewBox: "0 0 16 16", width: "16" }, index.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), index.h("div", { key: '4dff94a716f70a350168ae123f0afb41f360fb3b', class: "flex" }, index.h("div", { key: 'bda8e51d80a72f221eb02ea915609b1e2175a56f', class: "img-container", ref: (el) => (this.thumbnailContainer = el) }, index.h("img", { key: '3b606e141fae758b24d6114d7433cfdec9570ba9', class: "scale-down", height: "133", id: "item-thumbnail", ref: (el) => (this.thumbnail = el), width: "200" })), index.h("div", { key: '3f5c6fd680a45c754e2b798566776363e94bf307', class: "snippet-count-container" }, index.h("calcite-input", { key: '3d35c224c6d8b34483712e392aeca8a87e0d0810', id: "item-snippet", maxLength: 250, type: "textarea", value: this.itemDetails.snippet }), index.h("label", { key: '1aecd6515a83c523c991d5ccd9516ff14384a13a', class: "font-size--3", id: "item-snippet-count", ref: (el) => (this.itemSnippetCount = el) })))), index.h("calcite-label", { key: '3052a4847edc5afd336a763e8e6933694aad9d6d' }, this._translations.description, index.h("label", { key: '595de020ea7e1e5b61296f7c9b17f1a02a0741e0', id: "item-description-label" }, index.h("calcite-input", { key: '135cb36c76f6462aa470f9b7680ebefa6be60018', id: "item-description", type: "textarea", value: this.itemDetails.description }))), index.h("calcite-label", { key: '8f51b5f1d2607e040b6a94920d2f581b3595838f' }, this._translations.tags, index.h("label", { key: '21b84a7bcb9d5b8b56e7b6ccee0b49e940e1faf3', id: "item-tags-label" }, index.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" ? index.h("calcite-label", null, this._translations.credits, index.h("label", { id: "item-credits-label" }, index.h("calcite-input", { id: "item-credits", value: this.itemDetails.accessInformation }))) : null, this.itemType !== "Group" ? index.h("calcite-label", null, index.h("label", { id: "item-terms-label" }, this._translations.termsOfUse, index.h("calcite-input", { id: "item-terms", type: "textarea", value: this.itemDetails.licenseInfo }))) : null)));
2204
+ return (index.h(index.Host, { key: 'fd7cc19c2f682b43c71d43d1ec1313348345b415' }, index.h("div", { key: 'd38fbcb57a2cf536b99a50d73f7cb67791774419', class: "parent-container" }, index.h("div", { key: 'e6b97716b8ae90de71af758b07b055adc6d2a4d4', class: "inputBottomSeparation" }, index.h("calcite-input", { key: '6bb7bc4c0cb1eb082a3862582e2a1c72c8499d48', id: "item-title", value: this.itemDetails.title })), index.h("div", { key: 'daa80a28b1ee9a282048d57c3d1583fb0c1bd6c4', class: "inputBottomSeparation" }, index.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" }), index.h("button", { key: '8bdedcdf27d0ee7d0db030404940a4a6c7f6f586', class: "font-size--3 btn-link inline-block trailer-quarter", onClick: () => this._getThumbnail() }, index.h("svg", { key: 'e08bd937cdadd627a3a618a112cf1e617718deb4', class: "icon-inline icon-inline--on-left", height: "16", viewBox: "0 0 16 16", width: "16" }, index.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), index.h("div", { key: '44f12983273cfcda9720f34daf4bfa85952de2f1', class: "flex" }, index.h("div", { key: 'cb5d60f3164874dfc964b5727be89c7a37c31dec', class: "img-container", ref: (el) => (this.thumbnailContainer = el) }, index.h("img", { key: '0b1c39af99a3ecb3e558a77bd91ed0a751756e32', class: "scale-down", height: "133", id: "item-thumbnail", ref: (el) => (this.thumbnail = el), width: "200" })), index.h("div", { key: '751954b3200fe4133dca864212aba924bb547817', class: "snippet-count-container" }, index.h("calcite-input", { key: '071d1595f9b71b45ed12ee3cff8b5613e96acae7', id: "item-snippet", maxLength: 250, type: "textarea", value: this.itemDetails.snippet }), index.h("label", { key: '69238efe97f605880cde5f59dd967414c08b94a2', class: "font-size--3", id: "item-snippet-count", ref: (el) => (this.itemSnippetCount = el) })))), index.h("calcite-label", { key: 'd94607358c364fba61bc781b79f4919f50082db2' }, this._translations.description, index.h("label", { key: 'dbc9f48ee0ca4ad0150629635d027998b17101af', id: "item-description-label" }, index.h("calcite-input", { key: '152612af16b43f8ed4ad98405c885c11fec6cad7', id: "item-description", type: "textarea", value: this.itemDetails.description }))), index.h("calcite-label", { key: '0bec1e2c5464da93ebd49f0790cd573ef28e6e00' }, this._translations.tags, index.h("label", { key: '03957c08d3a9bc3a2707e65ae3a8d2870449b54f', id: "item-tags-label" }, index.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" ? index.h("calcite-label", null, this._translations.credits, index.h("label", { id: "item-credits-label" }, index.h("calcite-input", { id: "item-credits", value: this.itemDetails.accessInformation }))) : null, this.itemType !== "Group" ? index.h("calcite-label", null, index.h("label", { id: "item-terms-label" }, this._translations.termsOfUse, index.h("calcite-input", { id: "item-terms", type: "textarea", value: this.itemDetails.licenseInfo }))) : null)));
2205
2205
  }
2206
2206
  componentDidRender() {
2207
2207
  this._loadThumb();
@@ -2379,7 +2379,7 @@ const SolutionItemSharing = class {
2379
2379
  * Renders the component.
2380
2380
  */
2381
2381
  render() {
2382
- return (index.h(index.Host, { key: '6a9facacd8961a53dd4e49082def5573732d49bf' }, index.h("div", { key: '6eaf512253573a4db25ec64ebe1439228df4845d', class: "container-border" }, index.h("calcite-label", { key: 'db5680d010759bdb28b774293b8ae1522c9d8052' }, this._translations.groupInfo), this._renderItems(this.sharing))));
2382
+ return (index.h(index.Host, { key: '3b94a68c01079f717b1ff38b82f946a32cfcb3a4' }, index.h("div", { key: 'e2fd74849f827a5e9756182ead2c23b3ef9584b9', class: "container-border" }, index.h("calcite-label", { key: '4ac7e9adf98368d5f8b985519a8fd9d1ab24d5d6' }, this._translations.groupInfo), this._renderItems(this.sharing))));
2383
2383
  }
2384
2384
  //--------------------------------------------------------------------------
2385
2385
  //
@@ -2498,7 +2498,7 @@ const SolutionOrganizationVariables = class {
2498
2498
  * Renders the component.
2499
2499
  */
2500
2500
  render() {
2501
- return (index.h(index.Host, { key: '99ef09d7f851a57d42c7f7ad5cd6e303b9508d17' }, index.h("div", { key: '7217187249febdbbf3899d96cdbb2a45474343b7' }, index.h("h4", { key: 'd5d01648936de6726d7422f81f58ad998574ea87', class: "org-var-header" }, this._translations.orgVariables)), index.h("div", { key: '22d6f7fb4b0d8f570dbcf9dcac08dce7e2f6383e', class: "container-border" }, index.h("calcite-tree", { key: '5f21f4fc4b378da1b144dbeb1e19df2f43bcee61', id: "variable-label" }, this._renderHierarchy(this._organizationVariables)))));
2501
+ return (index.h(index.Host, { key: '0dd925da12c0eb9861637e78d74c75ad4a23c9f3' }, index.h("div", { key: '324cfdc588fce6ee5a69b7cd54956a0ab0ef0adf' }, index.h("h4", { key: '2fca69530272a3f0630b86d36bbc78ec651c45d1', class: "org-var-header" }, this._translations.orgVariables)), index.h("div", { key: '6f05088ebfaf50e4516c634f1a016275f4228c45', class: "container-border" }, index.h("calcite-tree", { key: '22585bb1a7cae978c3fbf7301d33b81b4fffb540', id: "variable-label" }, this._renderHierarchy(this._organizationVariables)))));
2502
2502
  }
2503
2503
  //--------------------------------------------------------------------------
2504
2504
  //
@@ -2596,7 +2596,7 @@ const SolutionResourceItem = class {
2596
2596
  */
2597
2597
  render() {
2598
2598
  const hasValidResources = this._hasValidResources();
2599
- return (index.h(index.Host, { key: 'eb76345d460620ea6229c1ac94eaf5dec9943c1e' }, index.h("div", { key: '8dfb91c0ca0d4201940e29bcb809002da1cd9d76', class: "resource-item" }, index.h("div", { key: 'a6ec9664d267c25eada0432e6825369fdc82676f', class: "margin-bottom-1" }, index.h("calcite-button", { key: 'd84827e9dbe4ad68544430c007b28c5e9929e076', appearance: "solid", class: "resource-button", color: "blue", onClick: () => this._addNewResource() }, this._translations.addResource), index.h("calcite-button", { key: 'd88b2928ca6994054f899823701327ece50a937b', appearance: "solid", color: "blue", disabled: !hasValidResources, onClick: () => this._downloadAll() }, this._translations.downloadAll)), index.h("div", { key: '445c0c3e2deb3b546f4c84186a148e8888477d13', class: "resources-container", style: { display: hasValidResources ? "inherit" : "none" } }, this._renderResourceList()))));
2599
+ return (index.h(index.Host, { key: '95659a6d3572354aef8a879694e41ab6821ca506' }, index.h("div", { key: 'fa34097cf27797000558b4ddb001ba7e89d8fe71', class: "resource-item" }, index.h("div", { key: 'a7797a17c4cef3e7189157b141fdbf5c3b34143c', class: "margin-bottom-1" }, index.h("calcite-button", { key: 'd6d70a4240348a12b2f4847abc3806ef46064871', appearance: "solid", class: "resource-button", color: "blue", onClick: () => this._addNewResource() }, this._translations.addResource), index.h("calcite-button", { key: 'c9a73c13a223b8120965bcf092ef63c6a9443f43', appearance: "solid", color: "blue", disabled: !hasValidResources, onClick: () => this._downloadAll() }, this._translations.downloadAll)), index.h("div", { key: '0eb74fd024fc421b94391984b842a4a7ffd491c5', class: "resources-container", style: { display: hasValidResources ? "inherit" : "none" } }, this._renderResourceList()))));
2600
2600
  }
2601
2601
  _removedResources = {};
2602
2602
  //--------------------------------------------------------------------------
@@ -2878,7 +2878,7 @@ const SolutionTemplateData = class {
2878
2878
  * Renders the component.
2879
2879
  */
2880
2880
  render() {
2881
- return (index.h(index.Host, { key: '78d31b01a7b3aac5e3b63ec59fa0225e662c3532' }, index.h("div", { key: '84ad00f60d5ad98fc14fad50b2db93844e54a842', class: "solution-data-container" }, index.h("calcite-shell", { key: '0e56c32e9ba92e9e536ce16f30db4e59d1c71094', class: "light var-container", dir: "ltr" }, index.h("calcite-panel", { key: 'ab251fe749493d11b61359f3f018fa87917d83c6', class: "json-editor" }, index.h("div", { key: '94be603b8c03bccbcc31293839d633ffa0ca5b15', class: "solution-data-child-container calcite-match-height" }, index.h("json-editor", { key: '76a5a31ae0dc54d59a300e0d6cc6b543e994d322', class: "solution-data-editor-container", instanceid: this.itemId + "|" + this.instanceid, value: this.value }))), index.h("calcite-shell-panel", { key: '5405b6aa574c721965bbdd4aabf90981f82c7da7', "height-scale": "l", position: "end", slot: "contextual-panel", "width-scale": "xs" }, index.h("div", { key: 'e7b57aa1f91e479a7538b5bb60fff9ff096bc9c9', class: this.varsOpen ? "solution-data-child-container" : "solution-data-child-container-collapsed" }, index.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 }), index.h("div", { key: 'a45aec86952e3172c76153b01a54076d97050de9', class: this.varsOpen ? "org-vars" : "org-vars display-none", id: "orgVars" }, index.h("solution-organization-variables", { key: 'e138b7ec4c256c916ef52cef6d17f0d9a839d506', value: this.organizationVariables })), index.h("div", { key: '9444585d82bc85f2cf535ecc8921b2d3f67b398d', class: this.varsOpen ? "sol-vars" : "sol-vars display-none", id: "solVars" }, index.h("solution-variables", { key: '030de51ff885c3ddf549fc4898c31ec23bb0d303', value: this.solutionVariables }))))))));
2881
+ return (index.h(index.Host, { key: '3e0a532158fffbba07faee43152573eb3577da84' }, index.h("div", { key: '5631eb64e45d31465361491e9585c8eddd04dce7', class: "solution-data-container" }, index.h("calcite-shell", { key: '9b065784804b86fa1c09c9d7e5f173a6ea793883', class: "light var-container", dir: "ltr" }, index.h("calcite-panel", { key: '254dcf1c48812c98a69bac8e7b6ca91a39eb9cff', class: "json-editor" }, index.h("div", { key: '86f686a03298bb06b8b855ae59a66e42cec25ad4', class: "solution-data-child-container calcite-match-height" }, index.h("json-editor", { key: '0549a48a16bb94ed7be3064f4b622b1a10563bfd', class: "solution-data-editor-container", instanceid: this.itemId + "|" + this.instanceid, value: this.value }))), index.h("calcite-shell-panel", { key: 'a3879f3d3b95d2878a5ec98265a6a120c78366f6', "height-scale": "l", position: "end", slot: "contextual-panel", "width-scale": "xs" }, index.h("div", { key: '4e8a2206eb7e57e8beb5e854f3cd66d7bae96101', class: this.varsOpen ? "solution-data-child-container" : "solution-data-child-container-collapsed" }, index.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 }), index.h("div", { key: 'a1064c394bb1a9c95493a052057bdfb2ccc7b20a', class: this.varsOpen ? "org-vars" : "org-vars display-none", id: "orgVars" }, index.h("solution-organization-variables", { key: '19ef108d689b875a329a22f0729f34bd3c5edbd1', value: this.organizationVariables })), index.h("div", { key: '3671681ffde2ef2aae1a84c608fbe08c0f4e7bcc', class: this.varsOpen ? "sol-vars" : "sol-vars display-none", id: "solVars" }, index.h("solution-variables", { key: '7bdbb7baedf02ff299e620741995a393c4bf976d', value: this.solutionVariables }))))))));
2882
2882
  }
2883
2883
  _initializing = false;
2884
2884
  //--------------------------------------------------------------------------
@@ -2952,7 +2952,7 @@ const SolutionVariables = class {
2952
2952
  * Renders the component.
2953
2953
  */
2954
2954
  render() {
2955
- return (index.h(index.Host, { key: '5d3ed27bced41fb6bf6c393ddde152fb0056d25b' }, index.h("div", { key: 'cb05d3c237719abd539b21b38968a41364c1880e' }, index.h("h4", { key: '367eb15af209dfed31b43f705fb6de05e25bb374', class: "org-var-header" }, this._translations.solVariables)), index.h("div", { key: '10142202269a9f2eaa82c0b50a1980d9f3051208', class: "container-border" }, index.h("calcite-tree", { key: 'd89353a7fe357851a697df036ae7795154254759', id: "variable-label" }, this._renderHierarchy(this._solutionVariables)))));
2955
+ return (index.h(index.Host, { key: 'a600c4dc88ee4ea3f9d7810695f71283f834933b' }, index.h("div", { key: 'c5c2abd0d19c778366c04dfd6b04f26bcb86b59b' }, index.h("h4", { key: '087db039abd818f71838c88ef09eafc46d18b5c8', class: "org-var-header" }, this._translations.solVariables)), index.h("div", { key: 'd524981a512342d18d616137c7951f7c0f3f870b', class: "container-border" }, index.h("calcite-tree", { key: '4630d4aa5a35d3e3a173e3aaae9b35b0dd636b4f', id: "variable-label" }, this._renderHierarchy(this._solutionVariables)))));
2956
2956
  }
2957
2957
  //--------------------------------------------------------------------------
2958
2958
  //