@esri/solutions-components 0.6.11 → 0.6.13

Sign up to get free protection for your applications and to get access to all the features.
Files changed (589) hide show
  1. package/dist/assets/t9n/layer-table/resources.json +4 -3
  2. package/dist/assets/t9n/layer-table/resources_en.json +4 -3
  3. package/dist/assets/t9n/map-select-tools/resources.json +2 -1
  4. package/dist/assets/t9n/map-select-tools/resources_en.json +2 -1
  5. package/dist/assets/t9n/map-tools/resources.json +4 -1
  6. package/dist/assets/t9n/map-tools/resources_en.json +4 -1
  7. package/dist/cjs/{ExpandToggle-c5690e14.js → ExpandToggle-511435d5.js} +1 -1
  8. package/dist/cjs/{FloatingArrow-675171a6.js → FloatingArrow-88e3f797.js} +1 -1
  9. package/dist/cjs/{Heading-3712677d.js → Heading-0da2a025.js} +1 -1
  10. package/dist/cjs/{ar-1dc23c0a.js → ar-0a371029.js} +5 -5
  11. package/dist/cjs/{basemap-gallery_5.cjs.entry.js → basemap-gallery_6.cjs.entry.js} +139 -10
  12. package/dist/cjs/{bg-4024b354.js → bg-f7538b74.js} +5 -5
  13. package/dist/cjs/{bs-3134d711.js → bs-6560857c.js} +5 -5
  14. package/dist/cjs/buffer-tools_4.cjs.entry.js +8 -8
  15. package/dist/cjs/{ca-8d6647d3.js → ca-d74198eb.js} +5 -5
  16. package/dist/cjs/calcite-accordion-item.cjs.entry.js +2 -2
  17. package/dist/cjs/calcite-accordion.cjs.entry.js +1 -1
  18. package/dist/cjs/{calcite-filter_5.cjs.entry.js → calcite-action-bar_3.cjs.entry.js} +168 -322
  19. package/dist/cjs/calcite-action-group_2.cjs.entry.js +4 -4
  20. package/dist/cjs/calcite-action-pad.cjs.entry.js +5 -5
  21. package/dist/cjs/calcite-action_2.cjs.entry.js +6 -6
  22. package/dist/cjs/calcite-alert.cjs.entry.js +4 -4
  23. package/dist/cjs/calcite-avatar.cjs.entry.js +1 -1
  24. package/dist/cjs/calcite-block-section.cjs.entry.js +3 -3
  25. package/dist/cjs/calcite-block.cjs.entry.js +5 -5
  26. package/dist/cjs/calcite-button.cjs.entry.js +4 -4
  27. package/dist/cjs/calcite-card.cjs.entry.js +3 -3
  28. package/dist/cjs/calcite-checkbox.cjs.entry.js +3 -3
  29. package/dist/cjs/calcite-chip-group.cjs.entry.js +2 -2
  30. package/dist/cjs/calcite-chip.cjs.entry.js +4 -4
  31. package/dist/cjs/calcite-color-picker-hex-input_2.cjs.entry.js +2 -2
  32. package/dist/cjs/calcite-color-picker.cjs.entry.js +3 -3
  33. package/dist/cjs/calcite-combobox-item-group.cjs.entry.js +1 -1
  34. package/dist/cjs/calcite-combobox_6.cjs.entry.js +10 -10
  35. package/dist/cjs/calcite-date-picker-day_3.cjs.entry.js +2 -2
  36. package/dist/cjs/calcite-date-picker.cjs.entry.js +4 -4
  37. package/dist/cjs/calcite-fab.cjs.entry.js +2 -2
  38. package/dist/cjs/calcite-filter_3.cjs.entry.js +387 -0
  39. package/dist/cjs/calcite-flow-item.cjs.entry.js +3 -3
  40. package/dist/cjs/calcite-flow.cjs.entry.js +2 -2
  41. package/dist/cjs/calcite-graph.cjs.entry.js +1 -1
  42. package/dist/cjs/calcite-icon.cjs.entry.js +1 -1
  43. package/dist/cjs/calcite-inline-editable.cjs.entry.js +3 -3
  44. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +6 -6
  45. package/dist/cjs/calcite-input-number_2.cjs.entry.js +4 -4
  46. package/dist/cjs/{calcite-input-time-picker-4efcd55d.js → calcite-input-time-picker-188356eb.js} +53 -53
  47. package/dist/cjs/calcite-input-time-picker.cjs.entry.js +5 -5
  48. package/dist/cjs/calcite-input-time-zone.cjs.entry.js +4 -4
  49. package/dist/cjs/calcite-input_2.cjs.entry.js +4 -4
  50. package/dist/cjs/calcite-label.cjs.entry.js +1 -1
  51. package/dist/cjs/calcite-link.cjs.entry.js +2 -2
  52. package/dist/cjs/calcite-list-item-group.cjs.entry.js +1 -1
  53. package/dist/cjs/calcite-loader.cjs.entry.js +1 -1
  54. package/dist/cjs/calcite-menu-item.cjs.entry.js +3 -3
  55. package/dist/cjs/calcite-menu.cjs.entry.js +3 -3
  56. package/dist/cjs/calcite-modal.cjs.entry.js +5 -5
  57. package/dist/cjs/calcite-navigation-logo.cjs.entry.js +2 -2
  58. package/dist/cjs/calcite-navigation-user.cjs.entry.js +2 -2
  59. package/dist/cjs/calcite-navigation.cjs.entry.js +2 -2
  60. package/dist/cjs/calcite-notice.cjs.entry.js +4 -4
  61. package/dist/cjs/calcite-option-group.cjs.entry.js +1 -1
  62. package/dist/cjs/calcite-option_2.cjs.entry.js +3 -3
  63. package/dist/cjs/calcite-pagination.cjs.entry.js +3 -3
  64. package/dist/cjs/calcite-panel_2.cjs.entry.js +5 -5
  65. package/dist/cjs/calcite-pick-list-group.cjs.entry.js +3 -3
  66. package/dist/cjs/calcite-pick-list-item.cjs.entry.js +4 -4
  67. package/dist/cjs/calcite-pick-list.cjs.entry.js +3 -3
  68. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +2 -2
  69. package/dist/cjs/calcite-radio-button.cjs.entry.js +3 -3
  70. package/dist/cjs/calcite-rating.cjs.entry.js +4 -4
  71. package/dist/cjs/calcite-scrim.cjs.entry.js +2 -2
  72. package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +3 -3
  73. package/dist/cjs/calcite-shell-center-row.cjs.entry.js +2 -2
  74. package/dist/cjs/calcite-shell-panel_14.cjs.entry.js +10 -9
  75. package/dist/cjs/calcite-sortable-list.cjs.entry.js +1 -1
  76. package/dist/cjs/calcite-split-button.cjs.entry.js +2 -2
  77. package/dist/cjs/calcite-stepper-item.cjs.entry.js +2 -2
  78. package/dist/cjs/calcite-stepper.cjs.entry.js +1 -1
  79. package/dist/cjs/calcite-switch.cjs.entry.js +3 -3
  80. package/dist/cjs/calcite-text-area.cjs.entry.js +4 -4
  81. package/dist/cjs/calcite-tile-select-group.cjs.entry.js +1 -1
  82. package/dist/cjs/calcite-tile-select.cjs.entry.js +2 -2
  83. package/dist/cjs/calcite-tile.cjs.entry.js +2 -2
  84. package/dist/cjs/calcite-time-picker.cjs.entry.js +3 -3
  85. package/dist/cjs/calcite-tip-group.cjs.entry.js +1 -1
  86. package/dist/cjs/calcite-tip-manager.cjs.entry.js +3 -3
  87. package/dist/cjs/calcite-tip.cjs.entry.js +4 -4
  88. package/dist/cjs/calcite-tooltip.cjs.entry.js +3 -3
  89. package/dist/cjs/calcite-tree_3.cjs.entry.js +2 -2
  90. package/dist/cjs/card-manager_3.cjs.entry.js +70 -37
  91. package/dist/cjs/clean-url-d5326abb.js +573 -0
  92. package/dist/cjs/{conditionalSlot-126d557f.js → conditionalSlot-f10611d3.js} +1 -1
  93. package/dist/cjs/crowdsource-manager.cjs.entry.js +41 -13
  94. package/dist/cjs/crowdsource-reporter.cjs.entry.js +1 -1
  95. package/dist/cjs/{cs-b24cd994.js → cs-bdf9949e.js} +5 -5
  96. package/dist/cjs/{da-9dee3a1f.js → da-ab198f94.js} +5 -5
  97. package/dist/cjs/{de-1a98b964.js → de-a859739c.js} +5 -5
  98. package/dist/cjs/{de-at-782e6c7f.js → de-at-126e66a1.js} +5 -5
  99. package/dist/cjs/{de-ch-d5c95469.js → de-ch-25eb45ed.js} +5 -5
  100. package/dist/cjs/deduct-calculator.cjs.entry.js +1 -1
  101. package/dist/cjs/{downloadUtils-471a6a2d.js → downloadUtils-fb4744e0.js} +299 -54
  102. package/dist/cjs/edit-card_2.cjs.entry.js +30 -27
  103. package/dist/cjs/{el-af28cafa.js → el-9abbc3f2.js} +5 -5
  104. package/dist/cjs/{en-au-109f3119.js → en-au-8835d481.js} +5 -5
  105. package/dist/cjs/{en-ca-22890a25.js → en-ca-a8f1a438.js} +5 -5
  106. package/dist/cjs/{en-gb-dc23c9dd.js → en-gb-e8098e8c.js} +5 -5
  107. package/dist/cjs/{es-3f353355.js → es-bc99e2ad.js} +5 -5
  108. package/dist/cjs/{es-mx-ccb57857.js → es-mx-71461470.js} +5 -5
  109. package/dist/cjs/{et-119c047b.js → et-8fa437ac.js} +5 -5
  110. package/dist/cjs/{fi-13096d81.js → fi-1284d381.js} +5 -5
  111. package/dist/cjs/{form-7c6054c3.js → form-28bc6597.js} +1 -1
  112. package/dist/cjs/{fr-563dfcd5.js → fr-635089b1.js} +5 -5
  113. package/dist/cjs/{fr-ch-f66cfd49.js → fr-ch-09392bdc.js} +5 -5
  114. package/dist/cjs/{he-d8253a1a.js → he-44a07bad.js} +5 -5
  115. package/dist/cjs/{hi-58c7c3b5.js → hi-9bba524d.js} +5 -5
  116. package/dist/cjs/{hr-5aba114a.js → hr-fc0a64fd.js} +5 -5
  117. package/dist/cjs/{hu-38c15915.js → hu-b900be50.js} +5 -5
  118. package/dist/cjs/{id-3a94c080.js → id-d20a381a.js} +5 -5
  119. package/dist/cjs/{index-0e50040c.js → index-ee37804b.js} +3 -0
  120. package/dist/cjs/{index-2b60e135.js → index-feeb7b6a.js} +1 -1
  121. package/dist/cjs/{index.es-33154f03.js → index.es-372e33de.js} +7 -6
  122. package/dist/cjs/{interfaces-d539e30c.js → interfaces-000be6de.js} +0 -5
  123. package/dist/cjs/{it-ch-970563cd.js → it-ch-e6bfb280.js} +5 -5
  124. package/dist/cjs/{it-88834555.js → it-d07dffbe.js} +5 -5
  125. package/dist/cjs/{ja-13d4b1ae.js → ja-3fac4cb9.js} +5 -5
  126. package/dist/cjs/{ko-10cbdd98.js → ko-7df47ba4.js} +5 -5
  127. package/dist/cjs/layout-manager.cjs.entry.js +3 -3
  128. package/dist/cjs/list-item.cjs.entry.js +1 -1
  129. package/dist/cjs/{loadModules-c5490589.js → loadModules-f6df8d6a.js} +1 -1
  130. package/dist/cjs/{loadable-6925d840.js → loadable-13605f73.js} +1 -1
  131. package/dist/cjs/loader.cjs.js +2 -2
  132. package/dist/cjs/{locale-88c21da2.js → locale-67f5f6b6.js} +1 -1
  133. package/dist/cjs/{lt-3fc5017a.js → lt-32e0b838.js} +5 -5
  134. package/dist/cjs/{lv-9d9cf999.js → lv-5822b401.js} +5 -5
  135. package/dist/cjs/map-select-tools_3.cjs.entry.js +23 -14
  136. package/dist/cjs/{mapViewUtils-9da2dddd.js → mapViewUtils-a4dd36ec.js} +1 -1
  137. package/dist/cjs/{mk-9f79812b.js → mk-76494f34.js} +5 -5
  138. package/dist/cjs/{nb-673fe3fd.js → nb-3ec52247.js} +5 -5
  139. package/dist/cjs/{nl-4dc0504f.js → nl-fe9ffca9.js} +5 -5
  140. package/dist/cjs/{openCloseComponent-05cb01ff.js → openCloseComponent-359d855c.js} +1 -1
  141. package/dist/cjs/pci-calculator.cjs.entry.js +1 -1
  142. package/dist/cjs/{pl-d809a6c3.js → pl-13049aa3.js} +5 -5
  143. package/dist/cjs/{pt-br-55f1893a.js → pt-br-f222c9e6.js} +5 -5
  144. package/dist/cjs/{pt-78eefbc7.js → pt-ef1645ab.js} +5 -5
  145. package/dist/cjs/public-notification.cjs.entry.js +12 -11
  146. package/dist/cjs/{publicNotificationStore-55edd658.js → publicNotificationStore-b69862af.js} +1 -1
  147. package/dist/cjs/resources-f15abc99.js +29 -0
  148. package/dist/cjs/{ro-f0cff196.js → ro-712f9cbb.js} +5 -5
  149. package/dist/cjs/{ru-5e9b37f9.js → ru-45b18030.js} +5 -5
  150. package/dist/cjs/{shared-list-render-9bbcb306.js → shared-list-render-e5821654.js} +1 -1
  151. package/dist/cjs/{sk-322cd349.js → sk-db642b5a.js} +5 -5
  152. package/dist/cjs/{sl-fd948e50.js → sl-51811e20.js} +5 -5
  153. package/dist/cjs/solution-configuration.cjs.entry.js +48 -47
  154. package/dist/cjs/solution-contents_3.cjs.entry.js +6 -5
  155. package/dist/cjs/{solution-store-0004e4e6.js → solution-store-c443e657.js} +9 -574
  156. package/dist/cjs/solutions-components.cjs.js +2 -2
  157. package/dist/cjs/{sr-f0058b24.js → sr-c248524c.js} +5 -5
  158. package/dist/cjs/store-manager.cjs.entry.js +1 -1
  159. package/dist/cjs/{sv-8a8378bf.js → sv-67777565.js} +5 -5
  160. package/dist/cjs/{t9n-62d807df.js → t9n-58d20225.js} +1 -1
  161. package/dist/cjs/{th-f219fad6.js → th-81fb9eb1.js} +5 -5
  162. package/dist/cjs/{tr-03109641.js → tr-b5da4c5c.js} +5 -5
  163. package/dist/cjs/{uk-dde46112.js → uk-e8ad8b3b.js} +5 -5
  164. package/dist/cjs/{utils-651e6663.js → utils-fddf1c6b.js} +1 -1
  165. package/dist/cjs/{vi-60ed6e30.js → vi-0b26505a.js} +5 -5
  166. package/dist/cjs/{zh-cn-a2f6f51d.js → zh-cn-40d02fac.js} +5 -5
  167. package/dist/cjs/{zh-hk-e14e2fc0.js → zh-hk-d1a89b9e.js} +5 -5
  168. package/dist/cjs/{zh-tw-7ea0d7e4.js → zh-tw-5691adb2.js} +5 -5
  169. package/dist/collection/collection-manifest.json +1 -0
  170. package/dist/collection/components/card-manager/card-manager.css +0 -5
  171. package/dist/collection/components/card-manager/card-manager.js +1 -1
  172. package/dist/collection/components/crowdsource-manager/crowdsource-manager.css +2 -2
  173. package/dist/collection/components/crowdsource-manager/crowdsource-manager.js +73 -9
  174. package/dist/collection/components/edit-card/edit-card.css +8 -0
  175. package/dist/collection/components/info-card/info-card.css +14 -14
  176. package/dist/collection/components/info-card/info-card.js +25 -22
  177. package/dist/collection/components/layer-table/layer-table.css +12 -0
  178. package/dist/collection/components/layer-table/layer-table.js +93 -26
  179. package/dist/collection/components/map-card/map-card.css +4 -0
  180. package/dist/collection/components/map-card/map-card.js +1 -1
  181. package/dist/collection/components/map-fullscreen/map-fullscreen.css +19 -0
  182. package/dist/collection/components/map-fullscreen/map-fullscreen.js +178 -0
  183. package/dist/collection/components/map-fullscreen/test/map-fullscreen.e2e.js +29 -0
  184. package/dist/collection/components/map-fullscreen/test/map-fullscreen.spec.js +37 -0
  185. package/dist/collection/components/map-select-tools/map-select-tools.js +7 -1
  186. package/dist/collection/components/map-tools/map-tools.css +8 -4
  187. package/dist/collection/components/map-tools/map-tools.js +35 -29
  188. package/dist/collection/components/pdf-download/pdf-download.js +35 -7
  189. package/dist/collection/components/public-notification/public-notification.js +3 -3
  190. package/dist/collection/utils/downloadUtils.js +208 -82
  191. package/dist/collection/utils/downloadUtils.ts +257 -85
  192. package/dist/collection/utils/interfaces.js +0 -5
  193. package/dist/collection/utils/interfaces.ts +0 -5
  194. package/dist/collection/utils/test/downloadUtils.spec.js +163 -134
  195. package/dist/collection/utils/test/downloadUtils.spec.tsx +2 -0
  196. package/dist/components/calcite-modal.js +1 -409
  197. package/dist/components/card-manager2.js +2 -2
  198. package/dist/components/clean-url.js +567 -0
  199. package/dist/components/crowdsource-manager.js +118 -82
  200. package/dist/components/downloadUtils.js +295 -50
  201. package/dist/components/edit-card2.js +1 -1
  202. package/dist/components/info-card2.js +26 -23
  203. package/dist/components/interfaces.js +1 -6
  204. package/dist/components/layer-table2.js +68 -33
  205. package/dist/components/map-card2.js +44 -38
  206. package/dist/components/map-draw-tools2.js +1 -1
  207. package/dist/components/map-fullscreen.d.ts +11 -0
  208. package/dist/components/map-fullscreen.js +11 -0
  209. package/dist/components/map-fullscreen2.js +130 -0
  210. package/dist/components/map-select-tools2.js +7 -1
  211. package/dist/components/map-tools2.js +43 -34
  212. package/dist/components/modal.js +416 -0
  213. package/dist/components/pdf-download2.js +7 -5
  214. package/dist/components/public-notification.js +4 -4
  215. package/dist/components/refine-selection2.js +1 -1
  216. package/dist/components/solution-configuration.js +25 -24
  217. package/dist/components/solution-resource-item2.js +1 -1
  218. package/dist/components/solution-store.js +3 -563
  219. package/dist/esm/{ExpandToggle-3bfcb842.js → ExpandToggle-e614e3e4.js} +2 -2
  220. package/dist/esm/{FloatingArrow-cf140d6b.js → FloatingArrow-4a1b35d6.js} +1 -1
  221. package/dist/esm/{Heading-140d10ff.js → Heading-5258553c.js} +1 -1
  222. package/dist/esm/{ar-45abeb31.js → ar-2f678abc.js} +10 -10
  223. package/dist/esm/{basemap-gallery_5.entry.js → basemap-gallery_6.entry.js} +139 -11
  224. package/dist/esm/{bg-af759e86.js → bg-e514c4d7.js} +10 -10
  225. package/dist/esm/{bs-20d012de.js → bs-81584b09.js} +10 -10
  226. package/dist/esm/buffer-tools_4.entry.js +11 -11
  227. package/dist/esm/{ca-1498df65.js → ca-e8c40e21.js} +10 -10
  228. package/dist/esm/calcite-accordion-item.entry.js +3 -3
  229. package/dist/esm/calcite-accordion.entry.js +1 -1
  230. package/dist/esm/{calcite-filter_5.entry.js → calcite-action-bar_3.entry.js} +193 -345
  231. package/dist/esm/calcite-action-group_2.entry.js +6 -6
  232. package/dist/esm/calcite-action-pad.entry.js +7 -7
  233. package/dist/esm/calcite-action_2.entry.js +10 -10
  234. package/dist/esm/calcite-alert.entry.js +6 -6
  235. package/dist/esm/calcite-avatar.entry.js +2 -2
  236. package/dist/esm/calcite-block-section.entry.js +5 -5
  237. package/dist/esm/calcite-block.entry.js +7 -7
  238. package/dist/esm/calcite-button.entry.js +7 -7
  239. package/dist/esm/calcite-card.entry.js +5 -5
  240. package/dist/esm/calcite-checkbox.entry.js +5 -5
  241. package/dist/esm/calcite-chip-group.entry.js +3 -3
  242. package/dist/esm/calcite-chip.entry.js +6 -6
  243. package/dist/esm/calcite-color-picker-hex-input_2.entry.js +3 -3
  244. package/dist/esm/calcite-color-picker.entry.js +5 -5
  245. package/dist/esm/calcite-combobox-item-group.entry.js +3 -3
  246. package/dist/esm/calcite-combobox_6.entry.js +15 -15
  247. package/dist/esm/calcite-date-picker-day_3.entry.js +5 -5
  248. package/dist/esm/calcite-date-picker.entry.js +7 -7
  249. package/dist/esm/calcite-fab.entry.js +3 -3
  250. package/dist/esm/calcite-filter_3.entry.js +381 -0
  251. package/dist/esm/calcite-flow-item.entry.js +5 -5
  252. package/dist/esm/calcite-flow.entry.js +2 -2
  253. package/dist/esm/calcite-graph.entry.js +1 -1
  254. package/dist/esm/calcite-icon.entry.js +2 -2
  255. package/dist/esm/calcite-inline-editable.entry.js +6 -6
  256. package/dist/esm/calcite-input-date-picker.entry.js +12 -12
  257. package/dist/esm/calcite-input-number_2.entry.js +7 -7
  258. package/dist/esm/{calcite-input-time-picker-227e60c3.js → calcite-input-time-picker-fe6e499a.js} +57 -57
  259. package/dist/esm/calcite-input-time-picker.entry.js +10 -10
  260. package/dist/esm/calcite-input-time-zone.entry.js +7 -7
  261. package/dist/esm/calcite-input_2.entry.js +7 -7
  262. package/dist/esm/calcite-label.entry.js +3 -3
  263. package/dist/esm/calcite-link.entry.js +3 -3
  264. package/dist/esm/calcite-list-item-group.entry.js +1 -1
  265. package/dist/esm/calcite-loader.entry.js +1 -1
  266. package/dist/esm/calcite-menu-item.entry.js +5 -5
  267. package/dist/esm/calcite-menu.entry.js +5 -5
  268. package/dist/esm/calcite-modal.entry.js +8 -8
  269. package/dist/esm/calcite-navigation-logo.entry.js +2 -2
  270. package/dist/esm/calcite-navigation-user.entry.js +2 -2
  271. package/dist/esm/calcite-navigation.entry.js +3 -3
  272. package/dist/esm/calcite-notice.entry.js +6 -6
  273. package/dist/esm/calcite-option-group.entry.js +1 -1
  274. package/dist/esm/calcite-option_2.entry.js +5 -5
  275. package/dist/esm/calcite-pagination.entry.js +5 -5
  276. package/dist/esm/calcite-panel_2.entry.js +7 -7
  277. package/dist/esm/calcite-pick-list-group.entry.js +4 -4
  278. package/dist/esm/calcite-pick-list-item.entry.js +6 -6
  279. package/dist/esm/calcite-pick-list.entry.js +4 -4
  280. package/dist/esm/calcite-radio-button-group.entry.js +2 -2
  281. package/dist/esm/calcite-radio-button.entry.js +5 -5
  282. package/dist/esm/calcite-rating.entry.js +7 -7
  283. package/dist/esm/calcite-scrim.entry.js +4 -4
  284. package/dist/esm/calcite-segmented-control_2.entry.js +5 -5
  285. package/dist/esm/calcite-shell-center-row.entry.js +3 -3
  286. package/dist/esm/calcite-shell-panel_14.entry.js +13 -12
  287. package/dist/esm/calcite-sortable-list.entry.js +3 -3
  288. package/dist/esm/calcite-split-button.entry.js +2 -2
  289. package/dist/esm/calcite-stepper-item.entry.js +4 -4
  290. package/dist/esm/calcite-stepper.entry.js +2 -2
  291. package/dist/esm/calcite-switch.entry.js +5 -5
  292. package/dist/esm/calcite-text-area.entry.js +7 -7
  293. package/dist/esm/calcite-tile-select-group.entry.js +1 -1
  294. package/dist/esm/calcite-tile-select.entry.js +2 -2
  295. package/dist/esm/calcite-tile.entry.js +3 -3
  296. package/dist/esm/calcite-time-picker.entry.js +6 -6
  297. package/dist/esm/calcite-tip-group.entry.js +1 -1
  298. package/dist/esm/calcite-tip-manager.entry.js +5 -5
  299. package/dist/esm/calcite-tip.entry.js +6 -6
  300. package/dist/esm/calcite-tooltip.entry.js +5 -5
  301. package/dist/esm/calcite-tree_3.entry.js +3 -3
  302. package/dist/esm/card-manager_3.entry.js +70 -37
  303. package/dist/esm/clean-url-bce022e6.js +567 -0
  304. package/dist/esm/{conditionalSlot-55a14abd.js → conditionalSlot-dff8f839.js} +1 -1
  305. package/dist/esm/crowdsource-manager.entry.js +41 -13
  306. package/dist/esm/crowdsource-reporter.entry.js +1 -1
  307. package/dist/esm/{cs-3bd67855.js → cs-af5f115e.js} +10 -10
  308. package/dist/esm/{da-7a76e131.js → da-06d9e22c.js} +10 -10
  309. package/dist/esm/{date-bd5b879c.js → date-641ae749.js} +1 -1
  310. package/dist/esm/{de-at-0b6874cb.js → de-at-f55a700a.js} +10 -10
  311. package/dist/esm/{de-ch-c9d429dd.js → de-ch-7307675f.js} +10 -10
  312. package/dist/esm/{de-0808a43e.js → de-dc98363f.js} +10 -10
  313. package/dist/esm/deduct-calculator.entry.js +1 -1
  314. package/dist/esm/{dom-37f2dec9.js → dom-2b326ec3.js} +1 -1
  315. package/dist/esm/{downloadUtils-8d4c13bb.js → downloadUtils-67c7a6c8.js} +299 -54
  316. package/dist/esm/edit-card_2.entry.js +30 -27
  317. package/dist/esm/{el-66001281.js → el-91c64808.js} +10 -10
  318. package/dist/esm/{en-au-6424fec0.js → en-au-df08cc25.js} +10 -10
  319. package/dist/esm/{en-ca-f5f1659d.js → en-ca-175f7c0f.js} +10 -10
  320. package/dist/esm/{en-gb-796beadd.js → en-gb-90a08c7f.js} +10 -10
  321. package/dist/esm/{es-cd139926.js → es-5cb54b05.js} +10 -10
  322. package/dist/esm/{es-mx-854dc3e4.js → es-mx-3a0cb804.js} +10 -10
  323. package/dist/esm/{et-2aa6782d.js → et-eceac6dc.js} +10 -10
  324. package/dist/esm/{fi-965727bd.js → fi-26e1c14f.js} +10 -10
  325. package/dist/esm/{floating-ui-7cde67cf.js → floating-ui-9f8e4ed4.js} +1 -1
  326. package/dist/esm/{focusTrapComponent-ec344399.js → focusTrapComponent-ad2c3a31.js} +1 -1
  327. package/dist/esm/{form-04d47b0b.js → form-0871d2c6.js} +2 -2
  328. package/dist/esm/{fr-c1884e89.js → fr-12a5b0f7.js} +10 -10
  329. package/dist/esm/{fr-ch-1fd8dd3a.js → fr-ch-e3406887.js} +10 -10
  330. package/dist/esm/{he-0d7b78b4.js → he-61eba811.js} +10 -10
  331. package/dist/esm/{hi-0376c82d.js → hi-a50282b5.js} +10 -10
  332. package/dist/esm/{hr-28a64903.js → hr-da8bffaf.js} +10 -10
  333. package/dist/esm/{hu-44a02ff7.js → hu-dab932f1.js} +10 -10
  334. package/dist/esm/{id-034fc4a5.js → id-de468947.js} +10 -10
  335. package/dist/esm/{index-b5d9d795.js → index-c7de2486.js} +3 -0
  336. package/dist/esm/{index-b91c174c.js → index-f4bd5aa3.js} +1 -1
  337. package/dist/esm/{index.es-065c3035.js → index.es-59a67d3d.js} +7 -6
  338. package/dist/esm/{interfaces-5a2fe8b4.js → interfaces-7470d906.js} +1 -6
  339. package/dist/esm/{it-56e52026.js → it-375d9936.js} +10 -10
  340. package/dist/esm/{it-ch-a4a0e136.js → it-ch-7e663d63.js} +10 -10
  341. package/dist/esm/{ja-f2365272.js → ja-36dbe39d.js} +10 -10
  342. package/dist/esm/{ko-e7650b4c.js → ko-858bc871.js} +10 -10
  343. package/dist/esm/{label-b6dfb4d5.js → label-b8caf984.js} +1 -1
  344. package/dist/esm/layout-manager.entry.js +3 -3
  345. package/dist/esm/list-item.entry.js +1 -1
  346. package/dist/esm/{loadModules-f5f910b6.js → loadModules-2880c7e3.js} +1 -1
  347. package/dist/esm/{loadable-47170cb6.js → loadable-f848be11.js} +1 -1
  348. package/dist/esm/loader.js +3 -3
  349. package/dist/esm/{locale-146251f7.js → locale-00000ab4.js} +1 -1
  350. package/dist/esm/{locale-efad8f83.js → locale-9624832c.js} +1 -1
  351. package/dist/esm/{lt-1577a952.js → lt-d6dfa7e4.js} +10 -10
  352. package/dist/esm/{lv-9ef7e4f6.js → lv-facd25c5.js} +10 -10
  353. package/dist/esm/map-select-tools_3.entry.js +23 -14
  354. package/dist/esm/{mapViewUtils-f0c04325.js → mapViewUtils-00a04d52.js} +1 -1
  355. package/dist/esm/{mk-94264e08.js → mk-5ed05b6a.js} +10 -10
  356. package/dist/esm/{nb-fa24d5b2.js → nb-936fc687.js} +10 -10
  357. package/dist/esm/{nl-33f10900.js → nl-a923d626.js} +10 -10
  358. package/dist/esm/{openCloseComponent-10efeff3.js → openCloseComponent-9fce341c.js} +1 -1
  359. package/dist/esm/pci-calculator.entry.js +1 -1
  360. package/dist/esm/{pl-9ed16565.js → pl-b1426275.js} +10 -10
  361. package/dist/esm/{pt-52731ddf.js → pt-1ac2453f.js} +10 -10
  362. package/dist/esm/{pt-br-8de51ff4.js → pt-br-7194cc5f.js} +10 -10
  363. package/dist/esm/public-notification.entry.js +12 -11
  364. package/dist/esm/{publicNotificationStore-ade82148.js → publicNotificationStore-90a6a274.js} +1 -1
  365. package/dist/esm/resources-74ea5c42.js +26 -0
  366. package/dist/esm/{ro-99f009ad.js → ro-518aaed1.js} +10 -10
  367. package/dist/esm/{ru-592ffaf0.js → ru-762127a3.js} +10 -10
  368. package/dist/esm/{shared-list-render-4f0f6af8.js → shared-list-render-ec232615.js} +2 -2
  369. package/dist/esm/{sk-44f7bd19.js → sk-f367b7ba.js} +10 -10
  370. package/dist/esm/{sl-08cad9bd.js → sl-052fd4d2.js} +10 -10
  371. package/dist/esm/solution-configuration.entry.js +29 -28
  372. package/dist/esm/solution-contents_3.entry.js +6 -5
  373. package/dist/esm/{solution-store-46bc46a5.js → solution-store-b29d50f7.js} +4 -564
  374. package/dist/esm/solutions-components.js +3 -3
  375. package/dist/esm/{sortableComponent-8a84709a.js → sortableComponent-ebd6bb72.js} +1 -1
  376. package/dist/esm/{sr-84f261fc.js → sr-4dc0fdb9.js} +10 -10
  377. package/dist/esm/store-manager.entry.js +1 -1
  378. package/dist/esm/{sv-d0d7bc1e.js → sv-bdc87a4d.js} +10 -10
  379. package/dist/esm/{t9n-5f748619.js → t9n-9791aa0c.js} +2 -2
  380. package/dist/esm/{th-a5149d44.js → th-d9df674c.js} +10 -10
  381. package/dist/esm/{time-fa1151aa.js → time-73378c4a.js} +1 -1
  382. package/dist/esm/{tr-feb0cad4.js → tr-61e134eb.js} +10 -10
  383. package/dist/esm/{uk-c9ba62a0.js → uk-ea3d8da7.js} +10 -10
  384. package/dist/esm/{utils-667cc396.js → utils-593fafd7.js} +1 -1
  385. package/dist/esm/{utils-0a5c1a07.js → utils-bd52db7d.js} +3 -3
  386. package/dist/esm/{vi-788dcb99.js → vi-ade1c25b.js} +10 -10
  387. package/dist/esm/{zh-cn-3ccfb820.js → zh-cn-b8756118.js} +10 -10
  388. package/dist/esm/{zh-hk-b29b61e8.js → zh-hk-d18c05d9.js} +10 -10
  389. package/dist/esm/{zh-tw-2bdbc6eb.js → zh-tw-9c98ff7c.js} +10 -10
  390. package/dist/solutions-components/{p-ca3d7edd.entry.js → p-01fea8d5.entry.js} +1 -1
  391. package/dist/solutions-components/{p-0c2e392e.entry.js → p-0219a1a9.entry.js} +5 -5
  392. package/dist/solutions-components/{p-3ce89910.entry.js → p-02ff64f4.entry.js} +1 -1
  393. package/dist/solutions-components/p-062254a6.entry.js +6 -0
  394. package/dist/solutions-components/{p-cd673260.js → p-062d2f9a.js} +1 -1
  395. package/dist/solutions-components/{p-082365d6.entry.js → p-084bced1.entry.js} +1 -1
  396. package/dist/solutions-components/{p-feff224c.entry.js → p-088e4cfc.entry.js} +1 -1
  397. package/dist/solutions-components/{p-96239d0d.js → p-08e35485.js} +1 -1
  398. package/dist/solutions-components/{p-1bcfca9b.entry.js → p-0a883f51.entry.js} +1 -1
  399. package/dist/solutions-components/{p-8f8d2861.js → p-0d14d33a.js} +1 -1
  400. package/dist/solutions-components/{p-0266ca81.js → p-0dab4c93.js} +1 -1
  401. package/dist/solutions-components/{p-f815b5ef.entry.js → p-0de1df10.entry.js} +1 -1
  402. package/dist/solutions-components/{p-7f271c31.js → p-11550b3c.js} +3 -3
  403. package/dist/solutions-components/{p-9370bb48.entry.js → p-120c4098.entry.js} +1 -1
  404. package/dist/solutions-components/{p-586f0e3d.entry.js → p-12bcd474.entry.js} +1 -1
  405. package/dist/solutions-components/{p-149b4d3c.entry.js → p-1597ec4b.entry.js} +1 -1
  406. package/dist/solutions-components/{p-dc9dad31.entry.js → p-15a9fe95.entry.js} +1 -1
  407. package/dist/solutions-components/{p-13290851.js → p-17d176b5.js} +14 -43
  408. package/dist/solutions-components/{p-95c11620.js → p-1b41181b.js} +44 -29
  409. package/dist/solutions-components/{p-138cf009.js → p-1c5787b1.js} +1 -1
  410. package/dist/solutions-components/{p-01c83b8c.entry.js → p-1d9a5198.entry.js} +1 -1
  411. package/dist/solutions-components/{p-ec378ea0.entry.js → p-1dd5c4e6.entry.js} +1 -1
  412. package/dist/solutions-components/{p-6295e168.entry.js → p-1e62d118.entry.js} +1 -1
  413. package/dist/solutions-components/{p-b25005cf.entry.js → p-1ed80742.entry.js} +1 -1
  414. package/dist/solutions-components/{p-da6acb22.entry.js → p-1fae3819.entry.js} +1 -1
  415. package/dist/solutions-components/{p-5e08d4de.js → p-21aa112d.js} +1 -1
  416. package/dist/solutions-components/{p-7f9642d5.js → p-22833bd3.js} +1 -1
  417. package/dist/solutions-components/{p-66b5211f.entry.js → p-252a9a7f.entry.js} +1 -1
  418. package/dist/solutions-components/{p-80ea5869.js → p-26b28806.js} +1 -1
  419. package/dist/solutions-components/{p-0f85fa4b.js → p-2723beaa.js} +1 -1
  420. package/dist/solutions-components/{p-cee23126.js → p-280fd963.js} +3 -3
  421. package/dist/solutions-components/{p-ae6a7b3b.entry.js → p-2821ab80.entry.js} +1 -1
  422. package/dist/solutions-components/{p-d864b7e3.js → p-29049359.js} +1 -1
  423. package/dist/solutions-components/p-2a58e378.js +21 -0
  424. package/dist/solutions-components/{p-879d6377.entry.js → p-2b378389.entry.js} +1 -1
  425. package/dist/solutions-components/{p-2bf63e2e.js → p-2bdd1a5d.js} +1 -1
  426. package/dist/solutions-components/p-2cff8331.entry.js +6 -0
  427. package/dist/solutions-components/{p-cacfa6ae.js → p-2ee21e9d.js} +1 -1
  428. package/dist/solutions-components/{p-aea37c90.js → p-2f42ae51.js} +1 -1
  429. package/dist/solutions-components/{p-635bbbd4.js → p-30b3261c.js} +1 -1
  430. package/dist/solutions-components/{p-e4253e1b.entry.js → p-31c9aa38.entry.js} +1 -1
  431. package/dist/solutions-components/{p-0f77e83c.entry.js → p-32ba2223.entry.js} +2 -2
  432. package/dist/solutions-components/p-33613993.js +7 -0
  433. package/dist/solutions-components/{p-636f4631.js → p-34673137.js} +1 -1
  434. package/dist/solutions-components/{p-8f68f1d3.entry.js → p-3566ee69.entry.js} +1 -1
  435. package/dist/solutions-components/{p-a287be8b.js → p-358b9cc8.js} +1 -1
  436. package/dist/solutions-components/{p-3445a8c6.js → p-3691a072.js} +1 -1
  437. package/dist/solutions-components/p-3a6c8fc3.entry.js +6 -0
  438. package/dist/solutions-components/{p-e4d2fcc5.js → p-3a8d82a2.js} +2 -2
  439. package/dist/solutions-components/{p-0109bef4.entry.js → p-3ab94526.entry.js} +1 -1
  440. package/dist/solutions-components/p-3b1fc7a2.entry.js +6 -0
  441. package/dist/solutions-components/{p-0f8440bb.entry.js → p-3cc30e11.entry.js} +1 -1
  442. package/dist/solutions-components/{p-c1dcc1e7.js → p-3f7119c1.js} +1 -1
  443. package/dist/solutions-components/{p-be146646.js → p-3fcd035e.js} +1 -1
  444. package/dist/solutions-components/{p-3766be72.js → p-419c9d89.js} +1 -1
  445. package/dist/solutions-components/p-453d1b31.entry.js +6 -0
  446. package/dist/solutions-components/{p-7060caf6.js → p-46918548.js} +1 -1
  447. package/dist/solutions-components/p-49e9e4e3.js +12 -0
  448. package/dist/solutions-components/p-4d942b0f.entry.js +36 -0
  449. package/dist/solutions-components/{p-0ecd7346.js → p-4fc92419.js} +1 -1
  450. package/dist/solutions-components/{p-456f5afe.entry.js → p-52afbe07.entry.js} +1 -1
  451. package/dist/solutions-components/{p-6ce7b446.entry.js → p-52ec0b32.entry.js} +1 -1
  452. package/dist/solutions-components/{p-60c15592.js → p-54cc02c9.js} +1 -1
  453. package/dist/solutions-components/{p-8c61431d.js → p-573d0763.js} +1 -1
  454. package/dist/solutions-components/{p-6ddc9567.entry.js → p-59ef9461.entry.js} +2 -2
  455. package/dist/solutions-components/{p-c9df539a.entry.js → p-5e5749c0.entry.js} +1 -1
  456. package/dist/solutions-components/{p-7a027758.entry.js → p-5ff22d2e.entry.js} +1 -1
  457. package/dist/solutions-components/{p-8544d557.entry.js → p-617f32a0.entry.js} +1 -1
  458. package/dist/solutions-components/{p-1e7a31c1.entry.js → p-64541510.entry.js} +1 -1
  459. package/dist/solutions-components/{p-5c9fa0e7.js → p-6510c06c.js} +1 -1
  460. package/dist/solutions-components/{p-ec889511.js → p-65ba4d10.js} +1 -1
  461. package/dist/solutions-components/{p-cec47579.entry.js → p-65ffe4b0.entry.js} +1 -1
  462. package/dist/solutions-components/{p-bbb0d957.entry.js → p-66dd455f.entry.js} +1 -1
  463. package/dist/solutions-components/{p-3c15959e.js → p-68007503.js} +1 -1
  464. package/dist/solutions-components/{p-ac0abf04.entry.js → p-6ba8483c.entry.js} +2 -2
  465. package/dist/solutions-components/{p-1fba74a5.entry.js → p-6c8c7b98.entry.js} +2 -2
  466. package/dist/solutions-components/{p-29efbf76.entry.js → p-6e5d9ae9.entry.js} +1 -1
  467. package/dist/solutions-components/p-6ebf870c.entry.js +17 -0
  468. package/dist/solutions-components/{p-78a40191.entry.js → p-701409be.entry.js} +2 -2
  469. package/dist/solutions-components/{p-d2d3e4b5.js → p-72f34a0a.js} +1 -1
  470. package/dist/solutions-components/{p-261394d7.entry.js → p-7359a6ac.entry.js} +1 -1
  471. package/dist/solutions-components/{p-7a8d99fe.entry.js → p-73ab9d9a.entry.js} +1 -1
  472. package/dist/solutions-components/{p-3cfaf52b.entry.js → p-73fe6f7e.entry.js} +2 -2
  473. package/dist/solutions-components/{p-e0c011b8.js → p-7452d79a.js} +1 -1
  474. package/dist/solutions-components/{p-57c08531.entry.js → p-753da967.entry.js} +1 -1
  475. package/dist/solutions-components/{p-f8dd2784.js → p-767002cd.js} +2 -2
  476. package/dist/solutions-components/{p-5ceef49b.js → p-76c2c379.js} +1 -1
  477. package/dist/solutions-components/{p-2154de6d.js → p-788aa5d7.js} +1 -1
  478. package/dist/solutions-components/{p-2592c0b8.js → p-79cc0531.js} +2 -2
  479. package/dist/solutions-components/{p-167eb73b.js → p-7a0fa011.js} +1 -1
  480. package/dist/solutions-components/{p-1efcac52.entry.js → p-7a55cee6.entry.js} +1 -1
  481. package/dist/solutions-components/{p-58167087.entry.js → p-7bc63171.entry.js} +1 -1
  482. package/dist/solutions-components/{p-864c190b.entry.js → p-8150ad0e.entry.js} +1 -1
  483. package/dist/solutions-components/{p-5d62566c.entry.js → p-81664d83.entry.js} +1 -1
  484. package/dist/solutions-components/{p-38f906f2.js → p-8354f486.js} +1 -1
  485. package/dist/solutions-components/p-84dff306.entry.js +17 -0
  486. package/dist/solutions-components/{p-31aaa60f.js → p-8594fe6b.js} +1 -1
  487. package/dist/solutions-components/{p-c79c7978.entry.js → p-89617f30.entry.js} +1 -1
  488. package/dist/solutions-components/{p-ced11bea.entry.js → p-8a91195f.entry.js} +1 -1
  489. package/dist/solutions-components/{p-9a35ef8e.js → p-8b2d396e.js} +1 -1
  490. package/dist/solutions-components/{p-34ef43ce.entry.js → p-8b2e460e.entry.js} +1 -1
  491. package/dist/solutions-components/{p-e2637fe6.js → p-8ec6ea34.js} +1 -1
  492. package/dist/solutions-components/{p-e3d72832.entry.js → p-8ee00658.entry.js} +2 -2
  493. package/dist/solutions-components/{p-28b5a7cf.js → p-905fcf73.js} +1 -1
  494. package/dist/solutions-components/{p-410068d9.entry.js → p-929909bc.entry.js} +1 -1
  495. package/dist/solutions-components/{p-9b76bf3d.js → p-948b5722.js} +1 -1
  496. package/dist/solutions-components/{p-0fa3d1aa.js → p-956f3207.js} +1 -1
  497. package/dist/solutions-components/{p-b28ff52c.js → p-96287d23.js} +1 -1
  498. package/dist/solutions-components/{p-f596eabd.entry.js → p-964c0e7d.entry.js} +1 -1
  499. package/dist/solutions-components/{p-80cb42e4.entry.js → p-98051370.entry.js} +1 -1
  500. package/dist/solutions-components/p-9a8c51bf.entry.js +6 -0
  501. package/dist/solutions-components/{p-42f9ab43.entry.js → p-9a94f48c.entry.js} +1 -1
  502. package/dist/solutions-components/{p-688f6a0a.js → p-9b94501c.js} +1 -1
  503. package/dist/solutions-components/{p-1cebde99.js → p-9d4467a3.js} +1 -1
  504. package/dist/solutions-components/{p-872036a8.js → p-9e3c9cd2.js} +1 -1
  505. package/dist/solutions-components/{p-64e2c099.js → p-9fd59203.js} +1 -1
  506. package/dist/solutions-components/{p-7bb12deb.js → p-a097edf0.js} +1 -1
  507. package/dist/solutions-components/{p-27e0f599.js → p-a201bffc.js} +1 -1
  508. package/dist/solutions-components/{p-d6f68a4e.entry.js → p-a3729795.entry.js} +1 -1
  509. package/dist/solutions-components/{p-56f1d66b.entry.js → p-a47ed290.entry.js} +1 -1
  510. package/dist/solutions-components/{p-10e1ebe4.entry.js → p-a5ef322f.entry.js} +1 -1
  511. package/dist/solutions-components/p-a776b7e6.entry.js +6 -0
  512. package/dist/solutions-components/{p-4d76eaf6.entry.js → p-a97e8d6a.entry.js} +1 -1
  513. package/dist/solutions-components/{p-7262469a.js → p-aaea9203.js} +1 -1
  514. package/dist/solutions-components/{p-f153f1c9.entry.js → p-ad1d56b1.entry.js} +1 -1
  515. package/dist/solutions-components/{p-3948a96c.js → p-adeb0e8f.js} +1 -1
  516. package/dist/solutions-components/{p-446ab7f8.entry.js → p-af63959a.entry.js} +1 -1
  517. package/dist/solutions-components/{p-46e0ce0c.entry.js → p-b1125581.entry.js} +2 -2
  518. package/dist/solutions-components/{p-ebbff02e.js → p-b20a31c8.js} +1 -1
  519. package/dist/solutions-components/{p-7b2314ac.js → p-b81131b3.js} +1 -1
  520. package/dist/solutions-components/p-b892e595.entry.js +6 -0
  521. package/dist/solutions-components/{p-cc2393c3.entry.js → p-b89c5865.entry.js} +1 -1
  522. package/dist/solutions-components/{p-5958dad9.js → p-b9b52743.js} +1 -1
  523. package/dist/solutions-components/{p-5eaaf6ea.entry.js → p-ba99e562.entry.js} +1 -1
  524. package/dist/solutions-components/{p-0b8463d6.js → p-bc548c06.js} +1 -1
  525. package/dist/solutions-components/{p-bde323ec.js → p-bccbdeb5.js} +1 -1
  526. package/dist/solutions-components/{p-c968f9aa.entry.js → p-bd318e33.entry.js} +1 -1
  527. package/dist/solutions-components/{p-8927339d.js → p-bd766e49.js} +1 -1
  528. package/dist/solutions-components/{p-651459e2.entry.js → p-be36d5ed.entry.js} +2 -2
  529. package/dist/solutions-components/{p-c3ab7439.js → p-bfc78840.js} +1 -1
  530. package/dist/solutions-components/{p-452850b4.entry.js → p-c073d2d6.entry.js} +1 -1
  531. package/dist/solutions-components/{p-1dbaff04.entry.js → p-c644edf5.entry.js} +1 -1
  532. package/dist/solutions-components/p-c6b7e7ff.js +11 -0
  533. package/dist/solutions-components/{p-8b74f5bb.entry.js → p-ca0b3a2b.entry.js} +1 -1
  534. package/dist/solutions-components/{p-2c0dc7b1.js → p-cc462e38.js} +1 -1
  535. package/dist/solutions-components/{p-667e7134.entry.js → p-cfd88a2f.entry.js} +1 -1
  536. package/dist/solutions-components/{p-73220ff1.js → p-d5228aed.js} +1 -1
  537. package/dist/solutions-components/{p-476e5302.js → p-d74e95e5.js} +1 -1
  538. package/dist/solutions-components/{p-ea285144.js → p-d98caa4c.js} +1 -1
  539. package/dist/solutions-components/{p-a46f1b45.js → p-dd9c065e.js} +1 -1
  540. package/dist/solutions-components/{p-05b2bdf9.js → p-dedc167c.js} +1 -1
  541. package/dist/solutions-components/{p-a16feeec.js → p-e4f9b782.js} +1 -1
  542. package/dist/solutions-components/{p-8af52074.entry.js → p-e572a692.entry.js} +1 -1
  543. package/dist/solutions-components/{p-89504313.entry.js → p-e5dda947.entry.js} +1 -1
  544. package/dist/solutions-components/{p-8d00a17e.js → p-e7fbf2fe.js} +1 -1
  545. package/dist/solutions-components/{p-470a9ec4.entry.js → p-e9ba0c7f.entry.js} +1 -1
  546. package/dist/solutions-components/{p-28d2670f.entry.js → p-eb58da32.entry.js} +1 -1
  547. package/dist/solutions-components/{p-168a7d63.js → p-eb60ec2a.js} +1 -1
  548. package/dist/solutions-components/p-ecc95259.js +20 -0
  549. package/dist/solutions-components/{p-e2eb4fd3.entry.js → p-ee144348.entry.js} +1 -1
  550. package/dist/solutions-components/{p-6be3c411.js → p-f03bed0c.js} +1 -1
  551. package/dist/solutions-components/{p-b28b6d40.js → p-f5028a8e.js} +1 -1
  552. package/dist/solutions-components/{p-a1c6db13.entry.js → p-f50cf603.entry.js} +1 -1
  553. package/dist/solutions-components/{p-c70392c4.entry.js → p-f524cc5b.entry.js} +1 -1
  554. package/dist/solutions-components/{p-81814234.entry.js → p-f6b19af7.entry.js} +1 -1
  555. package/dist/solutions-components/{p-f7b520ae.js → p-f7d8b6b3.js} +1 -1
  556. package/dist/solutions-components/{p-6eb4ba8f.js → p-f9166fcb.js} +3 -3
  557. package/dist/solutions-components/{p-17a29fa6.entry.js → p-fb0f2016.entry.js} +1 -1
  558. package/dist/solutions-components/p-fb74e4a9.js +11 -0
  559. package/dist/solutions-components/solutions-components.esm.js +1 -1
  560. package/dist/solutions-components/utils/downloadUtils.ts +257 -85
  561. package/dist/solutions-components/utils/interfaces.ts +0 -5
  562. package/dist/solutions-components/utils/test/downloadUtils.spec.tsx +2 -0
  563. package/dist/types/components/crowdsource-manager/crowdsource-manager.d.ts +29 -1
  564. package/dist/types/components/layer-table/layer-table.d.ts +42 -26
  565. package/dist/types/components/map-fullscreen/map-fullscreen.d.ts +71 -0
  566. package/dist/types/components/map-tools/map-tools.d.ts +15 -7
  567. package/dist/types/components/pdf-download/pdf-download.d.ts +5 -3
  568. package/dist/types/components.d.ts +67 -12
  569. package/dist/types/preact.d.ts +3 -3
  570. package/dist/types/utils/downloadUtils.d.ts +34 -16
  571. package/dist/types/utils/interfaces.d.ts +0 -4
  572. package/package.json +8 -9
  573. package/dist/cjs/calcite-action-bar.cjs.entry.js +0 -250
  574. package/dist/esm/calcite-action-bar.entry.js +0 -246
  575. package/dist/solutions-components/p-072155f9.js +0 -12
  576. package/dist/solutions-components/p-0dd8368d.entry.js +0 -6
  577. package/dist/solutions-components/p-18538cd9.entry.js +0 -11
  578. package/dist/solutions-components/p-46352a57.entry.js +0 -6
  579. package/dist/solutions-components/p-4f9f97b2.entry.js +0 -37
  580. package/dist/solutions-components/p-868df4a0.js +0 -21
  581. package/dist/solutions-components/p-869d4521.entry.js +0 -6
  582. package/dist/solutions-components/p-90cef98d.entry.js +0 -6
  583. package/dist/solutions-components/p-9310b882.js +0 -7
  584. package/dist/solutions-components/p-99891e57.js +0 -11
  585. package/dist/solutions-components/p-9eba78eb.entry.js +0 -6
  586. package/dist/solutions-components/p-c26cd409.entry.js +0 -6
  587. package/dist/solutions-components/p-d4cb29ed.entry.js +0 -6
  588. package/dist/solutions-components/p-fb7ca639.entry.js +0 -6
  589. package/dist/solutions-components/p-fe96e0d9.entry.js +0 -23
@@ -1,250 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- 'use strict';
7
-
8
- Object.defineProperty(exports, '__esModule', { value: true });
9
-
10
- const index = require('./index-0e50040c.js');
11
- const conditionalSlot = require('./conditionalSlot-126d557f.js');
12
- const dom = require('./dom-456f9f13.js');
13
- const loadable = require('./loadable-6925d840.js');
14
- const locale = require('./locale-79c3d30e.js');
15
- const observers = require('./observers-9912f013.js');
16
- const t9n = require('./t9n-62d807df.js');
17
- const ExpandToggle = require('./ExpandToggle-c5690e14.js');
18
- const debounce = require('./debounce-30afab47.js');
19
- require('./guid-d1123d5e.js');
20
- require('./resources-993f6faf.js');
21
- require('./key-8de93212.js');
22
- require('./resources-a2e2a544.js');
23
- require('./resources-10d29626.js');
24
-
25
- /*!
26
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
27
- * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
28
- * v1.6.1
29
- */
30
- const CSS = {
31
- actionGroupEnd: "action-group--end",
32
- };
33
- const SLOTS = {
34
- actionsEnd: "actions-end",
35
- bottomActions: "bottom-actions",
36
- expandTooltip: "expand-tooltip",
37
- };
38
-
39
- const actionBarCss = ":host{box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:host{pointer-events:auto;display:inline-flex;align-self:stretch;--calcite-action-bar-expanded-max-width:auto}:host([layout=vertical]){flex-direction:column}:host([layout=vertical]) .action-group--end{margin-block-start:auto}:host([layout=horizontal]){flex-direction:row}:host([layout=horizontal]) .action-group--end{margin-inline-start:auto}:host([layout=vertical][overflow-actions-disabled]){overflow-y:auto}:host([layout=horizontal][overflow-actions-disabled]){overflow-x:auto}:host([layout=vertical][expanded]){max-inline-size:var(--calcite-action-bar-expanded-max-width)}::slotted(calcite-action-group){border-block-end:1px solid var(--calcite-ui-border-3)}:host([layout=horizontal]) ::slotted(calcite-action-group){border-block-end:0;border-inline-end:1px solid var(--calcite-ui-border-3)}:host([layout=horizontal][expand-disabled]) ::slotted(calcite-action-group:last-of-type){border-inline-end:0}::slotted(calcite-action-group:last-child){border-block-end:0;border-inline-end:0}.action-group--end{justify-content:flex-end}:host([hidden]){display:none}[hidden]{display:none}";
40
-
41
- const ActionBar = class {
42
- constructor(hostRef) {
43
- index.registerInstance(this, hostRef);
44
- this.calciteActionBarToggle = index.createEvent(this, "calciteActionBarToggle", 6);
45
- this.mutationObserver = observers.createObserver("mutation", () => {
46
- const { el, expanded } = this;
47
- ExpandToggle.toggleChildActionText({ el, expanded });
48
- this.overflowActions();
49
- });
50
- this.resizeObserver = observers.createObserver("resize", (entries) => this.resizeHandlerEntries(entries));
51
- // --------------------------------------------------------------------------
52
- //
53
- // Private Methods
54
- //
55
- // --------------------------------------------------------------------------
56
- this.actionMenuOpenHandler = (event) => {
57
- if (event.target.menuOpen) {
58
- const composedPath = event.composedPath();
59
- Array.from(this.el.querySelectorAll("calcite-action-group")).forEach((group) => {
60
- if (!composedPath.includes(group)) {
61
- group.menuOpen = false;
62
- }
63
- });
64
- }
65
- };
66
- this.resizeHandlerEntries = (entries) => {
67
- entries.forEach(this.resizeHandler);
68
- };
69
- this.resizeHandler = (entry) => {
70
- const { width, height } = entry.contentRect;
71
- this.resize({ width, height });
72
- };
73
- this.resize = debounce.debounce(({ width, height }) => {
74
- const { el, expanded, expandDisabled, layout, overflowActionsDisabled } = this;
75
- if (overflowActionsDisabled ||
76
- (layout === "vertical" && !height) ||
77
- (layout === "horizontal" && !width)) {
78
- return;
79
- }
80
- const actions = ExpandToggle.queryActions(el);
81
- const actionCount = expandDisabled ? actions.length : actions.length + 1;
82
- const actionGroups = Array.from(el.querySelectorAll("calcite-action-group"));
83
- this.setGroupLayout(actionGroups);
84
- const groupCount = this.hasActionsEnd || this.hasBottomActions || !expandDisabled
85
- ? actionGroups.length + 1
86
- : actionGroups.length;
87
- const { actionHeight, actionWidth } = ExpandToggle.geActionDimensions(actions);
88
- const overflowCount = ExpandToggle.getOverflowCount({
89
- layout,
90
- actionCount,
91
- actionHeight,
92
- actionWidth,
93
- height,
94
- width,
95
- groupCount,
96
- });
97
- ExpandToggle.overflowActions({
98
- actionGroups,
99
- expanded,
100
- overflowCount,
101
- });
102
- }, ExpandToggle.overflowActionsDebounceInMs);
103
- this.toggleExpand = () => {
104
- this.expanded = !this.expanded;
105
- this.calciteActionBarToggle.emit();
106
- };
107
- this.setExpandToggleRef = (el) => {
108
- this.expandToggleEl = el;
109
- };
110
- this.handleDefaultSlotChange = (event) => {
111
- const groups = dom.slotChangeGetAssignedElements(event).filter((el) => el.matches("calcite-action-group"));
112
- this.setGroupLayout(groups);
113
- };
114
- this.handleActionsEndSlotChange = (event) => {
115
- this.hasActionsEnd = dom.slotChangeHasAssignedElement(event);
116
- };
117
- this.handleBottomActionsSlotChange = (event) => {
118
- this.hasBottomActions = dom.slotChangeHasAssignedElement(event);
119
- };
120
- this.handleTooltipSlotChange = (event) => {
121
- const tooltips = dom.slotChangeGetAssignedElements(event).filter((el) => el === null || el === void 0 ? void 0 : el.matches("calcite-tooltip"));
122
- this.expandTooltip = tooltips[0];
123
- };
124
- this.expandDisabled = false;
125
- this.expanded = false;
126
- this.layout = "vertical";
127
- this.overflowActionsDisabled = false;
128
- this.position = undefined;
129
- this.scale = undefined;
130
- this.messages = undefined;
131
- this.messageOverrides = undefined;
132
- this.effectiveLocale = undefined;
133
- this.hasActionsEnd = false;
134
- this.hasBottomActions = false;
135
- this.expandTooltip = undefined;
136
- this.defaultMessages = undefined;
137
- }
138
- expandHandler() {
139
- this.overflowActions();
140
- }
141
- expandedHandler() {
142
- const { el, expanded } = this;
143
- ExpandToggle.toggleChildActionText({ el, expanded });
144
- this.overflowActions();
145
- }
146
- layoutHandler() {
147
- this.updateGroups();
148
- }
149
- overflowDisabledHandler(overflowActionsDisabled) {
150
- overflowActionsDisabled
151
- ? this.resizeObserver.disconnect()
152
- : this.resizeObserver.observe(this.el);
153
- }
154
- onMessagesChange() {
155
- /* wired up by t9n util */
156
- }
157
- effectiveLocaleChange() {
158
- t9n.updateMessages(this, this.effectiveLocale);
159
- }
160
- // --------------------------------------------------------------------------
161
- //
162
- // Lifecycle
163
- //
164
- // --------------------------------------------------------------------------
165
- componentDidLoad() {
166
- const { el, expanded } = this;
167
- loadable.setComponentLoaded(this);
168
- ExpandToggle.toggleChildActionText({ el, expanded });
169
- this.overflowActions();
170
- }
171
- connectedCallback() {
172
- var _a, _b;
173
- const { el, expanded } = this;
174
- locale.connectLocalized(this);
175
- t9n.connectMessages(this);
176
- ExpandToggle.toggleChildActionText({ el, expanded });
177
- (_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.observe(el, { childList: true, subtree: true });
178
- if (!this.overflowActionsDisabled) {
179
- (_b = this.resizeObserver) === null || _b === void 0 ? void 0 : _b.observe(el);
180
- }
181
- this.overflowActions();
182
- conditionalSlot.connectConditionalSlotComponent(this);
183
- }
184
- async componentWillLoad() {
185
- loadable.setUpLoadableComponent(this);
186
- await t9n.setUpMessages(this);
187
- }
188
- disconnectedCallback() {
189
- var _a, _b;
190
- (_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
191
- (_b = this.resizeObserver) === null || _b === void 0 ? void 0 : _b.disconnect();
192
- conditionalSlot.disconnectConditionalSlotComponent(this);
193
- locale.disconnectLocalized(this);
194
- t9n.disconnectMessages(this);
195
- }
196
- // --------------------------------------------------------------------------
197
- //
198
- // Methods
199
- //
200
- // --------------------------------------------------------------------------
201
- /**
202
- * Overflows actions that won't fit into menus.
203
- *
204
- * @internal
205
- */
206
- async overflowActions() {
207
- this.resize({ width: this.el.clientWidth, height: this.el.clientHeight });
208
- }
209
- /**
210
- * Sets focus on the component's first focusable element.
211
- */
212
- async setFocus() {
213
- await loadable.componentFocusable(this);
214
- dom.focusFirstTabbable(this.el);
215
- }
216
- updateGroups() {
217
- this.setGroupLayout(Array.from(this.el.querySelectorAll("calcite-action-group")));
218
- }
219
- setGroupLayout(groups) {
220
- groups.forEach((group) => (group.layout = this.layout));
221
- }
222
- // --------------------------------------------------------------------------
223
- //
224
- // Render Methods
225
- //
226
- // --------------------------------------------------------------------------
227
- renderBottomActionGroup() {
228
- const { expanded, expandDisabled, el, position, toggleExpand, scale, layout, messages } = this;
229
- const expandToggleNode = !expandDisabled ? (index.h(ExpandToggle.ExpandToggle, { collapseText: messages.collapse, el: el, expandText: messages.expand, expanded: expanded, position: position, scale: scale, toggle: toggleExpand, tooltip: this.expandTooltip,
230
- // eslint-disable-next-line react/jsx-sort-props
231
- ref: this.setExpandToggleRef })) : null;
232
- return (index.h("calcite-action-group", { class: CSS.actionGroupEnd, hidden: this.expandDisabled && !(this.hasActionsEnd || this.hasBottomActions), layout: layout, scale: scale }, index.h("slot", { name: SLOTS.actionsEnd, onSlotchange: this.handleActionsEndSlotChange }), index.h("slot", { name: SLOTS.bottomActions, onSlotchange: this.handleBottomActionsSlotChange }), index.h("slot", { name: SLOTS.expandTooltip, onSlotchange: this.handleTooltipSlotChange }), expandToggleNode));
233
- }
234
- render() {
235
- return (index.h(index.Host, { onCalciteActionMenuOpen: this.actionMenuOpenHandler }, index.h("slot", { onSlotchange: this.handleDefaultSlotChange }), this.renderBottomActionGroup()));
236
- }
237
- static get assetsDirs() { return ["assets"]; }
238
- get el() { return index.getElement(this); }
239
- static get watchers() { return {
240
- "expandDisabled": ["expandHandler"],
241
- "expanded": ["expandedHandler"],
242
- "layout": ["layoutHandler"],
243
- "overflowActionsDisabled": ["overflowDisabledHandler"],
244
- "messageOverrides": ["onMessagesChange"],
245
- "effectiveLocale": ["effectiveLocaleChange"]
246
- }; }
247
- };
248
- ActionBar.style = actionBarCss;
249
-
250
- exports.calcite_action_bar = ActionBar;
@@ -1,246 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-b5d9d795.js';
7
- import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot-55a14abd.js';
8
- import { s as slotChangeGetAssignedElements, r as slotChangeHasAssignedElement, f as focusFirstTabbable } from './dom-37f2dec9.js';
9
- import { a as setComponentLoaded, s as setUpLoadableComponent, c as componentFocusable } from './loadable-47170cb6.js';
10
- import { c as connectLocalized, d as disconnectLocalized } from './locale-146251f7.js';
11
- import { c as createObserver } from './observers-95c50046.js';
12
- import { u as updateMessages, c as connectMessages, s as setUpMessages, d as disconnectMessages } from './t9n-5f748619.js';
13
- import { t as toggleChildActionText, o as overflowActionsDebounceInMs, q as queryActions, g as geActionDimensions, a as overflowActions, E as ExpandToggle, b as getOverflowCount } from './ExpandToggle-3bfcb842.js';
14
- import { d as debounce } from './debounce-229b1a22.js';
15
- import './guid-70cda807.js';
16
- import './resources-1e6d76df.js';
17
- import './key-02fa06ae.js';
18
- import './resources-c676d5de.js';
19
- import './resources-b392187d.js';
20
-
21
- /*!
22
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
23
- * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
24
- * v1.6.1
25
- */
26
- const CSS = {
27
- actionGroupEnd: "action-group--end",
28
- };
29
- const SLOTS = {
30
- actionsEnd: "actions-end",
31
- bottomActions: "bottom-actions",
32
- expandTooltip: "expand-tooltip",
33
- };
34
-
35
- const actionBarCss = ":host{box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:host{pointer-events:auto;display:inline-flex;align-self:stretch;--calcite-action-bar-expanded-max-width:auto}:host([layout=vertical]){flex-direction:column}:host([layout=vertical]) .action-group--end{margin-block-start:auto}:host([layout=horizontal]){flex-direction:row}:host([layout=horizontal]) .action-group--end{margin-inline-start:auto}:host([layout=vertical][overflow-actions-disabled]){overflow-y:auto}:host([layout=horizontal][overflow-actions-disabled]){overflow-x:auto}:host([layout=vertical][expanded]){max-inline-size:var(--calcite-action-bar-expanded-max-width)}::slotted(calcite-action-group){border-block-end:1px solid var(--calcite-ui-border-3)}:host([layout=horizontal]) ::slotted(calcite-action-group){border-block-end:0;border-inline-end:1px solid var(--calcite-ui-border-3)}:host([layout=horizontal][expand-disabled]) ::slotted(calcite-action-group:last-of-type){border-inline-end:0}::slotted(calcite-action-group:last-child){border-block-end:0;border-inline-end:0}.action-group--end{justify-content:flex-end}:host([hidden]){display:none}[hidden]{display:none}";
36
-
37
- const ActionBar = class {
38
- constructor(hostRef) {
39
- registerInstance(this, hostRef);
40
- this.calciteActionBarToggle = createEvent(this, "calciteActionBarToggle", 6);
41
- this.mutationObserver = createObserver("mutation", () => {
42
- const { el, expanded } = this;
43
- toggleChildActionText({ el, expanded });
44
- this.overflowActions();
45
- });
46
- this.resizeObserver = createObserver("resize", (entries) => this.resizeHandlerEntries(entries));
47
- // --------------------------------------------------------------------------
48
- //
49
- // Private Methods
50
- //
51
- // --------------------------------------------------------------------------
52
- this.actionMenuOpenHandler = (event) => {
53
- if (event.target.menuOpen) {
54
- const composedPath = event.composedPath();
55
- Array.from(this.el.querySelectorAll("calcite-action-group")).forEach((group) => {
56
- if (!composedPath.includes(group)) {
57
- group.menuOpen = false;
58
- }
59
- });
60
- }
61
- };
62
- this.resizeHandlerEntries = (entries) => {
63
- entries.forEach(this.resizeHandler);
64
- };
65
- this.resizeHandler = (entry) => {
66
- const { width, height } = entry.contentRect;
67
- this.resize({ width, height });
68
- };
69
- this.resize = debounce(({ width, height }) => {
70
- const { el, expanded, expandDisabled, layout, overflowActionsDisabled } = this;
71
- if (overflowActionsDisabled ||
72
- (layout === "vertical" && !height) ||
73
- (layout === "horizontal" && !width)) {
74
- return;
75
- }
76
- const actions = queryActions(el);
77
- const actionCount = expandDisabled ? actions.length : actions.length + 1;
78
- const actionGroups = Array.from(el.querySelectorAll("calcite-action-group"));
79
- this.setGroupLayout(actionGroups);
80
- const groupCount = this.hasActionsEnd || this.hasBottomActions || !expandDisabled
81
- ? actionGroups.length + 1
82
- : actionGroups.length;
83
- const { actionHeight, actionWidth } = geActionDimensions(actions);
84
- const overflowCount = getOverflowCount({
85
- layout,
86
- actionCount,
87
- actionHeight,
88
- actionWidth,
89
- height,
90
- width,
91
- groupCount,
92
- });
93
- overflowActions({
94
- actionGroups,
95
- expanded,
96
- overflowCount,
97
- });
98
- }, overflowActionsDebounceInMs);
99
- this.toggleExpand = () => {
100
- this.expanded = !this.expanded;
101
- this.calciteActionBarToggle.emit();
102
- };
103
- this.setExpandToggleRef = (el) => {
104
- this.expandToggleEl = el;
105
- };
106
- this.handleDefaultSlotChange = (event) => {
107
- const groups = slotChangeGetAssignedElements(event).filter((el) => el.matches("calcite-action-group"));
108
- this.setGroupLayout(groups);
109
- };
110
- this.handleActionsEndSlotChange = (event) => {
111
- this.hasActionsEnd = slotChangeHasAssignedElement(event);
112
- };
113
- this.handleBottomActionsSlotChange = (event) => {
114
- this.hasBottomActions = slotChangeHasAssignedElement(event);
115
- };
116
- this.handleTooltipSlotChange = (event) => {
117
- const tooltips = slotChangeGetAssignedElements(event).filter((el) => el === null || el === void 0 ? void 0 : el.matches("calcite-tooltip"));
118
- this.expandTooltip = tooltips[0];
119
- };
120
- this.expandDisabled = false;
121
- this.expanded = false;
122
- this.layout = "vertical";
123
- this.overflowActionsDisabled = false;
124
- this.position = undefined;
125
- this.scale = undefined;
126
- this.messages = undefined;
127
- this.messageOverrides = undefined;
128
- this.effectiveLocale = undefined;
129
- this.hasActionsEnd = false;
130
- this.hasBottomActions = false;
131
- this.expandTooltip = undefined;
132
- this.defaultMessages = undefined;
133
- }
134
- expandHandler() {
135
- this.overflowActions();
136
- }
137
- expandedHandler() {
138
- const { el, expanded } = this;
139
- toggleChildActionText({ el, expanded });
140
- this.overflowActions();
141
- }
142
- layoutHandler() {
143
- this.updateGroups();
144
- }
145
- overflowDisabledHandler(overflowActionsDisabled) {
146
- overflowActionsDisabled
147
- ? this.resizeObserver.disconnect()
148
- : this.resizeObserver.observe(this.el);
149
- }
150
- onMessagesChange() {
151
- /* wired up by t9n util */
152
- }
153
- effectiveLocaleChange() {
154
- updateMessages(this, this.effectiveLocale);
155
- }
156
- // --------------------------------------------------------------------------
157
- //
158
- // Lifecycle
159
- //
160
- // --------------------------------------------------------------------------
161
- componentDidLoad() {
162
- const { el, expanded } = this;
163
- setComponentLoaded(this);
164
- toggleChildActionText({ el, expanded });
165
- this.overflowActions();
166
- }
167
- connectedCallback() {
168
- var _a, _b;
169
- const { el, expanded } = this;
170
- connectLocalized(this);
171
- connectMessages(this);
172
- toggleChildActionText({ el, expanded });
173
- (_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.observe(el, { childList: true, subtree: true });
174
- if (!this.overflowActionsDisabled) {
175
- (_b = this.resizeObserver) === null || _b === void 0 ? void 0 : _b.observe(el);
176
- }
177
- this.overflowActions();
178
- connectConditionalSlotComponent(this);
179
- }
180
- async componentWillLoad() {
181
- setUpLoadableComponent(this);
182
- await setUpMessages(this);
183
- }
184
- disconnectedCallback() {
185
- var _a, _b;
186
- (_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
187
- (_b = this.resizeObserver) === null || _b === void 0 ? void 0 : _b.disconnect();
188
- disconnectConditionalSlotComponent(this);
189
- disconnectLocalized(this);
190
- disconnectMessages(this);
191
- }
192
- // --------------------------------------------------------------------------
193
- //
194
- // Methods
195
- //
196
- // --------------------------------------------------------------------------
197
- /**
198
- * Overflows actions that won't fit into menus.
199
- *
200
- * @internal
201
- */
202
- async overflowActions() {
203
- this.resize({ width: this.el.clientWidth, height: this.el.clientHeight });
204
- }
205
- /**
206
- * Sets focus on the component's first focusable element.
207
- */
208
- async setFocus() {
209
- await componentFocusable(this);
210
- focusFirstTabbable(this.el);
211
- }
212
- updateGroups() {
213
- this.setGroupLayout(Array.from(this.el.querySelectorAll("calcite-action-group")));
214
- }
215
- setGroupLayout(groups) {
216
- groups.forEach((group) => (group.layout = this.layout));
217
- }
218
- // --------------------------------------------------------------------------
219
- //
220
- // Render Methods
221
- //
222
- // --------------------------------------------------------------------------
223
- renderBottomActionGroup() {
224
- const { expanded, expandDisabled, el, position, toggleExpand, scale, layout, messages } = this;
225
- const expandToggleNode = !expandDisabled ? (h(ExpandToggle, { collapseText: messages.collapse, el: el, expandText: messages.expand, expanded: expanded, position: position, scale: scale, toggle: toggleExpand, tooltip: this.expandTooltip,
226
- // eslint-disable-next-line react/jsx-sort-props
227
- ref: this.setExpandToggleRef })) : null;
228
- return (h("calcite-action-group", { class: CSS.actionGroupEnd, hidden: this.expandDisabled && !(this.hasActionsEnd || this.hasBottomActions), layout: layout, scale: scale }, h("slot", { name: SLOTS.actionsEnd, onSlotchange: this.handleActionsEndSlotChange }), h("slot", { name: SLOTS.bottomActions, onSlotchange: this.handleBottomActionsSlotChange }), h("slot", { name: SLOTS.expandTooltip, onSlotchange: this.handleTooltipSlotChange }), expandToggleNode));
229
- }
230
- render() {
231
- return (h(Host, { onCalciteActionMenuOpen: this.actionMenuOpenHandler }, h("slot", { onSlotchange: this.handleDefaultSlotChange }), this.renderBottomActionGroup()));
232
- }
233
- static get assetsDirs() { return ["assets"]; }
234
- get el() { return getElement(this); }
235
- static get watchers() { return {
236
- "expandDisabled": ["expandHandler"],
237
- "expanded": ["expandedHandler"],
238
- "layout": ["layoutHandler"],
239
- "overflowActionsDisabled": ["overflowDisabledHandler"],
240
- "messageOverrides": ["onMessagesChange"],
241
- "effectiveLocale": ["effectiveLocaleChange"]
242
- }; }
243
- };
244
- ActionBar.style = actionBarCss;
245
-
246
- export { ActionBar as calcite_action_bar };
@@ -1,12 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- import{q as n,c as e}from"./p-a16feeec.js";import{h as t}from"./p-9310b882.js";!function(n){function e(n,e,t){throw new n("Failed to execute 'requestSubmit' on 'HTMLFormElement': "+e+".",t)}"function"!=typeof n.requestSubmit&&(n.requestSubmit=function(n){n?(function(n,t){n instanceof HTMLElement||e(TypeError,"parameter 1 is not of type 'HTMLElement'"),"submit"==n.type||e(TypeError,"The specified element is not a submit button"),n.form==t||e(DOMException,"The specified element is not owned by this form element","NotFoundError")}(n,this),n.click()):((n=document.createElement("input")).type="submit",n.hidden=!0,this.appendChild(n),n.click(),this.removeChild(n))})}(HTMLFormElement.prototype);
7
- /*!
8
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
9
- * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
10
- * v1.6.1
11
- */
12
- const o="hidden-form-input";function r(n){return"checked"in n}const i=new WeakMap,s=new WeakSet;function c(n){const{formEl:e}=n;return!!e&&(e.requestSubmit(),!0)}function u(n){n.formEl?.reset()}function f(n){const{el:t,value:o}=n,c=m(n);if(!c||function(n,t){if(e(t.parentElement,"[form]"))return!0;const o="calciteInternalFormComponentRegister";let r=!1;return n.addEventListener(o,(n=>{r=n.composedPath().some((n=>s.has(n))),n.stopPropagation()}),{once:!0}),t.dispatchEvent(new CustomEvent(o,{bubbles:!0,composed:!0})),r}(c,t))return;n.formEl=c,n.defaultValue=o,r(n)&&(n.defaultChecked=n.checked);const u=(n.onFormReset||a).bind(n);c.addEventListener("reset",u),i.set(n.el,u),s.add(t)}function m(t){const{el:o,form:r}=t;return r?n(o,{id:r}):e(o,"form")}function a(){r(this)?this.checked=this.defaultChecked:this.value=this.defaultValue}function l(n){const{el:e,formEl:t}=n;if(!t)return;const o=i.get(e);t.removeEventListener("reset",o),i.delete(e),n.formEl=null,s.delete(e)}function p(n,e){n.defaultValue=e}const d=n=>{n.target.dispatchEvent(new CustomEvent("calciteInternalHiddenInputChange",{bubbles:!0}))},h=n=>n.removeEventListener("change",d);function b(n,e,t){const{defaultValue:o,disabled:i,form:s,name:c,required:u}=n;e.defaultValue=o,e.disabled=i,e.name=c,e.required=u,e.tabIndex=-1,s?e.setAttribute("form",s):e.removeAttribute("form"),r(n)?(e.checked=n.checked,e.defaultChecked=n.defaultChecked,e.value=n.checked?t||"on":""):e.value=t||"",n.syncHiddenFormInput?.(e)}const E=({component:n})=>(function(n){const{el:e,formEl:t,name:r,value:i}=n,{ownerDocument:s}=e,c=e.querySelectorAll(`input[slot="${o}"]`);if(!t||!r)return void c.forEach((n=>{h(n),n.remove()}));const u=Array.isArray(i)?i:[i],f=[],m=new Set;let a;c.forEach((e=>{const t=u.find((n=>n==e.value));null!=t?(m.add(t),b(n,e,t)):f.push(e)})),u.forEach((e=>{if(m.has(e))return;let t=f.pop();t||(t=s.createElement("input"),t.slot=o),a||(a=s.createDocumentFragment()),a.append(t),t.addEventListener("change",d),b(n,t,e)})),a&&e.append(a),f.forEach((n=>{h(n),n.remove()}))}(n),t("slot",{name:o}));export{E as H,p as a,f as c,l as d,m as f,u as r,c as s}
@@ -1,6 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- import{r as t,c as i,a as s,h as e,H as a,g as l}from"./p-9310b882.js";import{a as n,b as o,c}from"./p-868df4a0.js";import{l as h}from"./p-0266ca81.js";import{g as d,h as r}from"./p-f8dd2784.js";import{s as p}from"./p-3445a8c6.js";import{g}from"./p-7f9642d5.js";import{c as b,r as u}from"./p-95c11620.js";import"./p-2c0dc7b1.js";import"./p-e1a4994d.js";const m=class{constructor(s){t(this,s),this.searchConfigurationChange=i(this,"searchConfigurationChange",7),this._onboardingImageUrl="",this._titleValue=void 0,this._numSelected=0,this.addresseeLayerIds=[],this.bufferColor=[227,139,79,.8],this.bufferOutlineColor=[255,255,255],this.customLabelEnabled=void 0,this.defaultBufferDistance=void 0,this.defaultBufferUnit=void 0,this.defaultExportTitle="",this.defaultNumLabelsPerPage=void 0,this.featureEffect=void 0,this.featureHighlightEnabled=void 0,this.mapView=void 0,this.noResultText=void 0,this.searchConfiguration=void 0,this.selectionLayerIds=[],this.showRefineSelection=!1,this.showSearchSettings=!0,this.sketchLineSymbol=void 0,this.sketchPointSymbol=void 0,this.sketchPolygonSymbol=void 0,this._addMap=!1,this._addTitle=!1,this._downloadActive=!0,this._exportType=n.PDF,this._fetchingData=!1,this._isMobile=void 0,this._numDuplicates=0,this._pageType=o.LIST,this._saveEnabled=!1,this._selectionSets=[],this._translations=void 0}async mapViewWatchHandler(t){(null==t?void 0:t.popup)&&(this._popupsEnabled=null==t?void 0:t.popup.autoOpenEnabled)}async watchSearchConfigurationHandler(t,i){const s=JSON.stringify(t);s!==JSON.stringify(i)&&(this._searchConfiguration=JSON.parse(s),this.searchConfigurationChange.emit(this._searchConfiguration),this._home())}async sketchLineSymbolWatchHandler(t,i){t&&JSON.stringify(t)!==JSON.stringify(i)&&this._setLineSymbol(t)}async sketchPointSymbolWatchHandler(t,i){t&&JSON.stringify(t)!==JSON.stringify(i)&&this._setPointSymbol(t)}async sketchPolygonSymbolWatchHandler(t,i){t&&JSON.stringify(t)!==JSON.stringify(i)&&this._setPolygonSymbol(t)}async pageTypeWatchHandler(t,i){var s;if(this._checkPopups(),(null===(s=this.mapView)||void 0===s?void 0:s.popup)&&(this.mapView.popupEnabled=t===o.LIST&&this._popupsEnabled),t===o.EXPORT&&(this._fetchingData=!0,this._numDuplicates=await this._getNumDuplicates(),this._fetchingData=!1),this._clearHighlight(),i!==o.SELECT&&i!==o.REFINE||await this._clearSelection(),t!==o.SELECT)return this._highlightFeatures()}selectionSetsChanged(t){this._selectionSets=[...t.detail]}connectedCallback(){this._mediaQuery=window.matchMedia("(max-width: 600px)"),this._mediaQuery.addEventListener("change",(t=>this._setIsMobile(t)))}async componentWillLoad(){await this._getTranslations(),await this._initModules(),this._initSymbols(),this._onboardingImageUrl=s("../assets/data/images/onboarding.png")}render(){return e(a,null,e("calcite-shell",null,e("calcite-action-bar",{class:"border-bottom-1 action-bar-size","expand-disabled":!0,layout:"horizontal",slot:this._isMobile?"footer":"header"},this._getActionGroup("list-check",o.LIST,this._translations.myLists),this.showRefineSelection?this._getActionGroup("test-data",o.REFINE,this._translations.refineSelection):null,this._getActionGroup("export",o.EXPORT,this._translations.export)),this._getPage(this._pageType)))}disconnectedCallback(){this._mediaQuery.removeEventListener("change",(t=>this._setIsMobile(t)))}async _initModules(){const[t,i]=await h(["esri/geometry/geometryEngine","esri/symbols/support/jsonUtils"]);this._geometryEngine=t,this._jsonUtils=i}_initSymbols(){this._setLineSymbol(this.sketchLineSymbol),this._setPointSymbol(this.sketchPointSymbol),this._setPolygonSymbol(this.sketchPolygonSymbol)}_setLineSymbol(t){this.sketchLineSymbol="simple-line"===(null==t?void 0:t.type)?t:this._jsonUtils.fromJSON(t||{type:"esriSLS",color:[130,130,130,255],width:2,style:"esriSLSSolid"})}_setPointSymbol(t){this.sketchPointSymbol="simple-marker"===(null==t?void 0:t.type)?t:this._jsonUtils.fromJSON(t||{type:"esriSMS",color:[255,255,255,255],angle:0,xoffset:0,yoffset:0,size:6,style:"esriSMSCircle",outline:{type:"esriSLS",color:[50,50,50,255],width:1,style:"esriSLSSolid"}})}_setPolygonSymbol(t){this.sketchPolygonSymbol="simple-fill"===(null==t?void 0:t.type)?t:this._jsonUtils.fromJSON(t||{type:"esriSFS",color:[150,150,150,51],outline:{type:"esriSLS",color:[50,50,50,255],width:2,style:"esriSLSSolid"},style:"esriSFSSolid"})}_setIsMobile(t){this._isMobile=t.matches}_getActionGroup(t,i,s){return e("calcite-action-group",{class:"action-center"+(this.showRefineSelection?" w-1-3":" w-1-2"),layout:"horizontal"},e("div",{class:"background-override"},e("calcite-action",{active:this._pageType===i,alignment:"center",class:"width-full height-full",compact:!1,icon:t,id:t,onClick:()=>{this._setPageType(i)},text:""})),e("calcite-tooltip",{label:"",placement:"bottom","reference-element":t},e("span",null,s)))}_setPageType(t){this._pageType=t}_getPage(t){let i;switch(t){case o.LIST:i=this._getListPage();break;case o.SELECT:i=this._getSelectPage();break;case o.EXPORT:i=this._getExportPage();break;case o.REFINE:i=this._getRefinePage()}return i}_getListPage(){const t=this._hasSelections();return e("calcite-panel",null,this._getLabel(this._translations.myLists),this._getNotice(t?this._translations.listHasSetsTip:this._translations.selectLayerAndAdd,"padding-sides-1 padding-bottom-1","word-wrap-anywhere"),t?this._getSelectionSetList():this._getOnboardingImage(),e("div",{class:"display-flex padding-1"},e("calcite-button",{onClick:()=>{this._setPageType(o.SELECT)},width:"full"},e("span",{class:"font-weight-500"},this._translations.add))))}_getOnboardingImage(){return e("div",{class:"display-flex padding-sides-1"},e("img",{class:"img-container",src:this._onboardingImageUrl}))}_getSelectionSetList(){return e("div",{class:"padding-top-1-2 padding-bottom-1-2"},e("calcite-list",{class:"list-border margin-sides-1"},this._selectionSets.reduce(((t,i,s)=>{var a;const l=this._getSelectionSetIds(i);let n=!0;return i.workflowType===c.REFINE&&(n=Object.keys(i.refineInfos).reduce(((t,s)=>{const e=i.refineInfos[s];return t+(e.addIds.length+e.removeIds.length)}),0)>0),n&&t.push(e("calcite-list-item",{label:i.label,onClick:()=>this._gotoSelection(i,this.mapView)},e("div",{slot:"content"},e("div",{class:"list-label"},i.label),e("div",{class:"list-description"},null===(a=null==i?void 0:i.layerView)||void 0===a?void 0:a.layer.title),e("div",{class:"list-description"},this._translations.selectedFeatures.replace("{{n}}",l.length.toString()))),this._getAction(!0,"pencil","",(t=>this._openSelection(i,t)),!1,"actions-end"),this._getAction(!0,"x","",(t=>this._deleteSelection(s,t)),!1,"actions-end"))),t}),[])))}_getSelectionSetIds(t){return t.workflowType!==c.REFINE?t.selectedIds:Object.keys(t.refineInfos).reduce(((i,s)=>[...i,...t.refineInfos[s].addIds]),[])}_hasSelections(t=!1){let i=[];const s=this._selectionSets.some((t=>{if(t.workflowType===c.REFINE)return i=this._getSelectionSetIds(t),!0}));return t&&s?i.length>0||this._selectionSets.length>1:this._selectionSets.length>0}async _getNumDuplicates(){const t=this._getExportInfos(),i=await b(t),s=u(i);return i.length-s.length}_getExportInfos(){return this._selectionSets.reduce(((t,i)=>(i.download&&(i.workflowType!==c.REFINE?this._updateIds(i.layerView.layer.id,i.layerView,i.selectedIds,t):Object.keys(i.refineInfos).forEach((s=>{const e=i.refineInfos[s];e.addIds.length>0&&this._updateIds(s,e.layerView,e.addIds,t)}))),t)),{})}_updateIds(t,i,s,e){return e[t]?e[t].ids=e[t].ids.concat(s):e[t]={layerView:i,ids:s},e}_getSelectPage(){const t=this._translations.selectSearchTip;return e("calcite-panel",null,this._getLabel(this._translations.stepTwoFull,!0),this._getNotice(t,"padding-1","word-wrap-anywhere"),e("div",null,e("map-select-tools",{bufferColor:this.bufferColor,bufferOutlineColor:this.bufferOutlineColor,class:"font-bold",customLabelEnabled:this.customLabelEnabled,defaultBufferDistance:this.defaultBufferDistance,defaultBufferUnit:this.defaultBufferUnit,enabledLayerIds:this.addresseeLayerIds,isUpdate:!!this._activeSelection,mapView:this.mapView,noResultText:this.noResultText,onSelectionSetChange:t=>this._updateForSelection(t),ref:t=>{this._selectTools=t},searchConfiguration:this._searchConfiguration,selectionLayerIds:this.selectionLayerIds,selectionSet:this._activeSelection,sketchLineSymbol:this.sketchLineSymbol,sketchPointSymbol:this.sketchPointSymbol,sketchPolygonSymbol:this.sketchPolygonSymbol})),this._getPageNavButtons(this._translations.done,0===this._numSelected,(()=>{this._saveSelection()}),this._translations.cancel,!1,(()=>{this._home()})))}_getExportPage(){const t=this._hasSelections(this.showRefineSelection),i=this._numDuplicates>0?"display-block":"display-none";return e("calcite-panel",null,e("div",null,this._getLabel(this._translations.export,!1),t?e("div",null,this._getNotice(this._translations.exportTip,"padding-sides-1"),this._getLabel(this._translations.exportListsLabel),this._getExportSelectionLists(),e("div",{class:"padding-sides-1 "+i},e("div",{class:"display-flex"},e("calcite-label",{layout:"inline"},e("calcite-checkbox",{ref:t=>{this._removeDuplicates=t}}),e("div",{class:"display-flex"},this._translations.removeDuplicate,e("div",{class:"info-message padding-start-1-2"},e("calcite-input-message",{class:"info-blue margin-top-0",scale:"m"},` ${this._translations.numDuplicates.replace("{{n}}",this._numDuplicates.toString())}`)))),e("calcite-icon",{class:"padding-start-1-2 icon",icon:"question",id:"remove-duplicates-icon",scale:"s"})),e("calcite-popover",{closable:!0,label:"",referenceElement:"remove-duplicates-icon"},e("span",{class:"tooltip-message"},this._translations.duplicatesTip))),e("div",{class:"border-bottom"}),e("div",{class:"padding-top-sides-1"},e("calcite-segmented-control",{class:"w-100",onCalciteSegmentedControlChange:t=>this._exportTypeChange(t)},e("calcite-segmented-control-item",{checked:this._exportType===n.PDF,class:"w-50 end-border",value:n.PDF},e("span",{class:"font-weight-500"},this._translations.pdf)),e("calcite-segmented-control-item",{checked:this._exportType===n.CSV,class:"w-50",value:n.CSV},e("span",{class:"font-weight-500"},this._translations.csv)))),e("div",{class:"padding-bottom-1"},this._getExportOptions()),e("div",{class:"padding-1 display-flex"},e("calcite-button",{disabled:!this._downloadActive,loading:this._fetchingData,onClick:()=>{this._export()},width:"full"},e("span",{class:"font-weight-500"},this._translations.export)))):this._getNotice(this._translations.downloadNoLists,"padding-sides-1 padding-bottom-1")))}_exportTypeChange(t){this._exportType=t.target.value}_getExportOptions(){const t=this._addTitle?"display-block":"display-none",i=void 0!==this._titleValue?this._titleValue:this.defaultExportTitle?this.defaultExportTitle:"";return e("div",{class:this._exportType===n.PDF?"display-block":"display-none"},this._getLabel(this._translations.pdfOptions,!0),e("div",{class:"padding-top-sides-1"},e("calcite-label",{class:"label-margin-0"},this._translations.selectPDFLabelOption)),e("div",{class:"padding-sides-1"},e("pdf-download",{defaultNumLabelsPerPage:this.defaultNumLabelsPerPage,disabled:!this._downloadActive,ref:t=>{this._downloadTools=t}})),e("div",{class:"padding-top-sides-1"},e("calcite-label",{class:"label-margin-0",layout:"inline"},e("calcite-checkbox",{checked:this._addTitle,onCalciteCheckboxChange:()=>this._addTitle=!this._addTitle}),this._translations.addTitle)),e("div",{class:t},this._getLabel(this._translations.title,!0,""),e("calcite-input-text",{class:"padding-sides-1",onCalciteInputTextInput:()=>this._changeTitle(),placeholder:this._translations.titlePlaceholder,ref:t=>{this._titleElement=t},value:i})),e("div",{class:"padding-top-sides-1"},e("calcite-label",{class:"label-margin-0",layout:"inline"},e("calcite-checkbox",{checked:this._addMap,onCalciteCheckboxChange:()=>this._addMap=!this._addMap}),this._translations.includeMap)))}_getRefinePage(){const t=this._hasSelections();return e("calcite-panel",null,this._getLabel(this._translations.refineSelection),t?e("div",null,this._getNotice(this._translations.refineTip,"padding-sides-1"),e("refine-selection",{enabledLayerIds:this.selectionLayerIds,mapView:this.mapView,selectionSets:this._selectionSets,sketchLineSymbol:this.sketchLineSymbol,sketchPointSymbol:this.sketchPointSymbol,sketchPolygonSymbol:this.sketchPolygonSymbol})):this._getNotice(this._translations.refineTipNoSelections,"padding-sides-1"))}_getPageNavButtons(t,i,s,a,l,n){return e("div",{class:"padding-bottom-1"},e("div",{class:"display-flex padding-top-sides-1"},e("calcite-button",{disabled:i,onClick:s,width:"full"},e("span",{class:"font-weight-500"},t))),e("div",{class:"display-flex padding-top-1-2 padding-sides-1"},e("calcite-button",{appearance:"outline",disabled:l,onClick:n,width:"full"},e("span",{class:"font-weight-500"},a))))}_changeTitle(){this._titleValue=this._titleElement.value}_getNotice(t,i="padding-1",s=""){return e("calcite-notice",{class:i,icon:"lightbulb",kind:"success",open:!0},e("div",{class:s,slot:"message"},t))}_getLabel(t,i=!1,s="font-bold"){return e("div",{class:"padding-top-sides-1"},e("calcite-label",{class:s+=i?" label-margin-0":""},t))}_getExportSelectionLists(){return this._selectionSets.reduce(((t,i)=>{var s;const a=this._getSelectionSetIds(i),l=i.workflowType!==c.REFINE||a.length>0;return!this._downloadActive&&i.download&&l&&(this._downloadActive=!0),l&&t.push(e("div",{class:"display-flex padding-sides-1 padding-bottom-1"},e("calcite-checkbox",{checked:i.download,class:"align-center",onClick:()=>{this._toggleDownload(i.id)}}),e("calcite-list",{class:"list-border margin-start-1-2 width-full",id:"download-list"},e("calcite-list-item",{disabled:!i.download,label:i.label,onClick:()=>{this._toggleDownload(i.id)}},e("div",{slot:"content"},e("div",{class:"list-label"},i.label),e("div",{class:"list-description"},null===(s=null==i?void 0:i.layerView)||void 0===s?void 0:s.layer.title),e("div",{class:"list-description"},this._translations.selectedFeatures.replace("{{n}}",a.length.toString()))))))),t}),[])||e("div",null)}async _toggleDownload(t){let i=!1;this._selectionSets=this._selectionSets.map((s=>(s.download=s.id===t?!s.download:s.download,i=!!s.download||i,s))),this._downloadActive=i,this._fetchingData=!0,this._numDuplicates=await this._getNumDuplicates(),this._fetchingData=!1,await this._highlightFeatures()}async _export(){const t=this._getSelectionIdsAndViews(this._selectionSets,!0);if(this._exportType===n.PDF){let i="";if(this._addMap&&this.mapView){const t=await this.mapView.takeScreenshot({width:1500,height:2e3});i=null==t?void 0:t.dataUrl}this._fetchingData=!0,await this._downloadTools.downloadPDF(t,this._removeDuplicates.checked,this._addTitle?this._titleElement.value:"",i),this._fetchingData=!1}this._exportType===n.CSV&&(this._fetchingData=!0,await this._downloadTools.downloadCSV(t,this._removeDuplicates.checked),this._fetchingData=!1)}_getSelectionIdsAndViews(t,i=!1){return(i?t.filter((t=>t.download)):t).reduce(((t,i)=>{var s;if(i.workflowType===c.REFINE)Object.keys(i.refineInfos).forEach((s=>{const e=i.refineInfos[s];e.addIds&&(t=this._updateExportInfos(t,e.layerView.layer.id,i.label,e.addIds,e.layerView))}));else{const e=null===(s=null==i?void 0:i.layerView)||void 0===s?void 0:s.layer.id;t=this._updateExportInfos(t,e,i.label,i.selectedIds,i.layerView)}return t}),{})}_updateExportInfos(t,i,s,e,a){return i&&Object.keys(t).indexOf(i)>-1?(t[i].ids=[...new Set([...t[i].ids,...e])],t[i].selectionSetNames.push(s)):i&&(t[i]={ids:e,layerView:a,selectionSetNames:[s]}),t}_getAction(t,i,s,a,l=!1,n=""){return e("calcite-action",{disabled:!t,icon:i,indicator:l,onClick:a,slot:n,text:s})}_updateForSelection(t){this._numSelected=t.detail,this._saveEnabled=this._numSelected>0}async _home(){await this._clearSelection(),this._setPageType(o.LIST)}async _saveSelection(){var t,i;const s=await(null===(t=this._selectTools)||void 0===t?void 0:t.getSelection()),e=null===(i=this._selectTools)||void 0===i?void 0:i.isUpdate;return this._selectionSets=e?this._selectionSets.map((t=>t.id===s.id?s:t)):[...this._selectionSets,s],this._home()}async _clearSelection(){var t;await(null===(t=this._selectTools)||void 0===t?void 0:t.clearSelection()),this._numSelected=0,this._activeSelection=void 0}_deleteSelection(t,i){return i.stopPropagation(),this._selectionSets=this._selectionSets.filter(((i,s)=>{if(s!==t)return i})),this._highlightFeatures()}_gotoSelection(t,i){d(t.selectedIds,t.layerView,i,this.featureHighlightEnabled,this.featureEffect)}_openSelection(t,i){i.stopPropagation(),this._activeSelection=t,this._pageType=t.workflowType===c.REFINE?o.REFINE:o.SELECT}async _highlightFeatures(){this._clearHighlight();const t=this._getSelectionIdsAndViews(this._selectionSets,this._pageType===o.EXPORT),i=Object.keys(t);if(i.length>0)for(let s=0;s<i.length;s++){const e=t[i[s]];p.highlightHandles.push(await r(e.ids,e.layerView,this.mapView))}}_checkPopups(){var t;"boolean"!=typeof this._popupsEnabled&&(this._popupsEnabled=null===(t=this.mapView)||void 0===t?void 0:t.popupEnabled)}_clearHighlight(){p&&p.highlightHandles&&p.removeHandles()}async _getTranslations(){const t=await g(this.el);this._translations=t[0]}get el(){return l(this)}static get watchers(){return{mapView:["mapViewWatchHandler"],searchConfiguration:["watchSearchConfigurationHandler"],sketchLineSymbol:["sketchLineSymbolWatchHandler"],sketchPointSymbol:["sketchPointSymbolWatchHandler"],sketchPolygonSymbol:["sketchPolygonSymbolWatchHandler"],_pageType:["pageTypeWatchHandler"]}}};m.style=':host{display:block;--calcite-input-message-spacing-value:0}.align-center{align-items:center}.border-bottom-1{border-width:0px;border-bottom-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3)}.action-bar-size{height:3.5rem;width:100%}.w-1-2{width:50%}.w-1-3{width:33.33%}.action-center{-webkit-box-align:center;-webkit-align-items:center;-ms-grid-row-align:center;align-items:center;align-content:center;justify-content:center}.width-full{width:100%}.height-full{height:100%}.padding-1{padding:1rem}.padding-top-sides-1{padding-block-start:1rem;padding-inline-start:1rem;padding-inline-end:1rem}.padding-sides-1{padding-inline-start:1rem;padding-inline-end:1rem}.padding-end-1-2{padding-inline-end:.5rem}.padding-top-1-2{padding-block-start:.5rem}.padding-top-1{padding-top:1rem}.padding-bottom-1{padding-bottom:1rem}.padding-bottom-1-2{padding-bottom:.5rem}.info-blue{color:#00A0FF}.info-message{justify-content:center;display:grid}.font-bold{font-weight:bold}.display-flex{display:flex}.display-block{display:block}.display-none{display:none}.border-bottom{border-bottom:1px solid var(--calcite-ui-border-2)}.padding-start-1-2{padding-inline-start:0.5rem}.list-border{border:1px solid var(--calcite-ui-border-2)}.margin-sides-1{margin-inline-start:1rem;margin-inline-end:1rem}.margin-start-1-2{margin-inline-start:0.5rem}.float-right{float:right}.float-right[dir="rtl"]{float:left}.float-left{float:left}.float-left[dir="rtl"]{float:right}.margin-top-0{margin-block-start:0 !important}.height-1-1-2{height:1.5rem}.main-background{background-color:var(--calcite-ui-foreground-2)}.position-right{position:absolute;right:1rem}.position-right[dir="rtl"]{position:absolute;left:1rem}.label-margin-0{--calcite-label-margin-bottom:0}.list-label{color:var(--calcite-ui-text-1)}.list-label,.list-description{font-family:var(--calcite-sans-family);font-size:var(--calcite-font-size--2);font-weight:var(--calcite-font-weight-normal);overflow-wrap:break-word;word-break:break-word}.list-description{margin-block-start:0.125rem;color:var(--calcite-ui-text-3)}.img-container{width:100%;height:100%}.font-weight-500{font-weight:500}.background-override{height:100%;width:100%;--calcite-ui-foreground-3:var(--calcite-ui-brand);--calcite-ui-foreground-2:var(--calcite-ui-brand-hover);--calcite-ui-text-1:var(--calcite-ui-text-inverse)}.word-wrap-anywhere{word-wrap:anywhere}';export{m as public_notification}
@@ -1,11 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- import{r as t,c as i,h as o,H as e,g as s}from"./p-9310b882.js";import{c as a,d as n}from"./p-c3ab7439.js";import{s as l,r as c,f as r}from"./p-a16feeec.js";import{a as h,s as d,c as p}from"./p-476e5302.js";import{c as u,d as g}from"./p-7f271c31.js";import{c as b}from"./p-588bc0c0.js";import{u as x,c as f,s as v,d as m}from"./p-2592c0b8.js";import{t as y,o as w,q as j,g as z,a as H,E as C,b as A}from"./p-0fa3d1aa.js";import{d as D}from"./p-a82f35c9.js";import"./p-8b448a5b.js";import"./p-e3525c00.js";import"./p-43ba7a04.js";import"./p-e761b7cd.js";import"./p-4a75b3dc.js";
7
- /*!
8
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
9
- * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
10
- * v1.6.1
11
- */const k=class{constructor(o){t(this,o),this.calciteActionBarToggle=i(this,"calciteActionBarToggle",6),this.mutationObserver=b("mutation",(()=>{const{el:t,expanded:i}=this;y({el:t,expanded:i}),this.overflowActions()})),this.resizeObserver=b("resize",(t=>this.resizeHandlerEntries(t))),this.actionMenuOpenHandler=t=>{if(t.target.menuOpen){const i=t.composedPath();Array.from(this.el.querySelectorAll("calcite-action-group")).forEach((t=>{i.includes(t)||(t.menuOpen=!1)}))}},this.resizeHandlerEntries=t=>{t.forEach(this.resizeHandler)},this.resizeHandler=t=>{const{width:i,height:o}=t.contentRect;this.resize({width:i,height:o})},this.resize=D((({width:t,height:i})=>{const{el:o,expanded:e,expandDisabled:s,layout:a,overflowActionsDisabled:n}=this;if(n||"vertical"===a&&!i||"horizontal"===a&&!t)return;const l=j(o),c=s?l.length:l.length+1,r=Array.from(o.querySelectorAll("calcite-action-group"));this.setGroupLayout(r);const h=this.hasActionsEnd||this.hasBottomActions||!s?r.length+1:r.length,{actionHeight:d,actionWidth:p}=z(l),u=A({layout:a,actionCount:c,actionHeight:d,actionWidth:p,height:i,width:t,groupCount:h});H({actionGroups:r,expanded:e,overflowCount:u})}),w),this.toggleExpand=()=>{this.expanded=!this.expanded,this.calciteActionBarToggle.emit()},this.setExpandToggleRef=t=>{this.expandToggleEl=t},this.handleDefaultSlotChange=t=>{const i=l(t).filter((t=>t.matches("calcite-action-group")));this.setGroupLayout(i)},this.handleActionsEndSlotChange=t=>{this.hasActionsEnd=c(t)},this.handleBottomActionsSlotChange=t=>{this.hasBottomActions=c(t)},this.handleTooltipSlotChange=t=>{const i=l(t).filter((t=>null==t?void 0:t.matches("calcite-tooltip")));this.expandTooltip=i[0]},this.expandDisabled=!1,this.expanded=!1,this.layout="vertical",this.overflowActionsDisabled=!1,this.position=void 0,this.scale=void 0,this.messages=void 0,this.messageOverrides=void 0,this.effectiveLocale=void 0,this.hasActionsEnd=!1,this.hasBottomActions=!1,this.expandTooltip=void 0,this.defaultMessages=void 0}expandHandler(){this.overflowActions()}expandedHandler(){const{el:t,expanded:i}=this;y({el:t,expanded:i}),this.overflowActions()}layoutHandler(){this.updateGroups()}overflowDisabledHandler(t){t?this.resizeObserver.disconnect():this.resizeObserver.observe(this.el)}onMessagesChange(){}effectiveLocaleChange(){x(this,this.effectiveLocale)}componentDidLoad(){const{el:t,expanded:i}=this;h(this),y({el:t,expanded:i}),this.overflowActions()}connectedCallback(){var t,i;const{el:o,expanded:e}=this;u(this),f(this),y({el:o,expanded:e}),null===(t=this.mutationObserver)||void 0===t||t.observe(o,{childList:!0,subtree:!0}),this.overflowActionsDisabled||null===(i=this.resizeObserver)||void 0===i||i.observe(o),this.overflowActions(),a(this)}async componentWillLoad(){d(this),await v(this)}disconnectedCallback(){var t,i;null===(t=this.mutationObserver)||void 0===t||t.disconnect(),null===(i=this.resizeObserver)||void 0===i||i.disconnect(),n(this),g(this),m(this)}async overflowActions(){this.resize({width:this.el.clientWidth,height:this.el.clientHeight})}async setFocus(){await p(this),r(this.el)}updateGroups(){this.setGroupLayout(Array.from(this.el.querySelectorAll("calcite-action-group")))}setGroupLayout(t){t.forEach((t=>t.layout=this.layout))}renderBottomActionGroup(){const{expanded:t,expandDisabled:i,el:e,position:s,toggleExpand:a,scale:n,layout:l,messages:c}=this,r=i?null:o(C,{collapseText:c.collapse,el:e,expandText:c.expand,expanded:t,position:s,scale:n,toggle:a,tooltip:this.expandTooltip,ref:this.setExpandToggleRef});return o("calcite-action-group",{class:"action-group--end",hidden:this.expandDisabled&&!(this.hasActionsEnd||this.hasBottomActions),layout:l,scale:n},o("slot",{name:"actions-end",onSlotchange:this.handleActionsEndSlotChange}),o("slot",{name:"bottom-actions",onSlotchange:this.handleBottomActionsSlotChange}),o("slot",{name:"expand-tooltip",onSlotchange:this.handleTooltipSlotChange}),r)}render(){return o(e,{onCalciteActionMenuOpen:this.actionMenuOpenHandler},o("slot",{onSlotchange:this.handleDefaultSlotChange}),this.renderBottomActionGroup())}static get assetsDirs(){return["assets"]}get el(){return s(this)}static get watchers(){return{expandDisabled:["expandHandler"],expanded:["expandedHandler"],layout:["layoutHandler"],overflowActionsDisabled:["overflowDisabledHandler"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};k.style=":host{box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:host{pointer-events:auto;display:inline-flex;align-self:stretch;--calcite-action-bar-expanded-max-width:auto}:host([layout=vertical]){flex-direction:column}:host([layout=vertical]) .action-group--end{margin-block-start:auto}:host([layout=horizontal]){flex-direction:row}:host([layout=horizontal]) .action-group--end{margin-inline-start:auto}:host([layout=vertical][overflow-actions-disabled]){overflow-y:auto}:host([layout=horizontal][overflow-actions-disabled]){overflow-x:auto}:host([layout=vertical][expanded]){max-inline-size:var(--calcite-action-bar-expanded-max-width)}::slotted(calcite-action-group){border-block-end:1px solid var(--calcite-ui-border-3)}:host([layout=horizontal]) ::slotted(calcite-action-group){border-block-end:0;border-inline-end:1px solid var(--calcite-ui-border-3)}:host([layout=horizontal][expand-disabled]) ::slotted(calcite-action-group:last-of-type){border-inline-end:0}::slotted(calcite-action-group:last-child){border-block-end:0;border-inline-end:0}.action-group--end{justify-content:flex-end}:host([hidden]){display:none}[hidden]{display:none}";export{k as calcite_action_bar}
@@ -1,6 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- import{r as t,h as i,H as s,g as e,c as a}from"./p-9310b882.js";import{g as h}from"./p-7f9642d5.js";import{q as l,a as o,b as n,g as c,c as r}from"./p-f8dd2784.js";import{l as d}from"./p-0266ca81.js";import{d as p}from"./p-95c11620.js";import"./p-e1a4994d.js";import"./p-868df4a0.js";const m=class{constructor(i){t(this,i),this.layer=void 0,this.mapView=void 0,this.zoomAndScrollToSelected=void 0,this._cardLoading=!1,this._graphics=void 0,this._translations=void 0}async featureSelectionChange(t){const i=t.detail;this._cardLoading=!0;const s=i.length>0?await l(i,this.layer,[],!1,this.mapView.spatialReference):[];this._graphics=s,this._cardLoading=!1}async layerSelectionChange(t){const i=t.detail[0];this.layer=await o(this.mapView,i)}async componentWillLoad(){await this._getTranslations()}render(){var t,e;const a=(null===(t=this._graphics)||void 0===t?void 0:t.length)>0?"":"display-none",h=(null===(e=this._graphics)||void 0===e?void 0:e.length)>0?"display-none":"";return i(s,null,i("div",{class:"border-rounded overflow-auto height-full"},i("calcite-shell",{class:"position-relative "+a},i("div",null,i("info-card",{graphics:this._graphics,isLoading:this._cardLoading,mapView:this.mapView,zoomAndScrollToSelected:this.zoomAndScrollToSelected}))),i("div",{class:"padding-1 "+h},i("calcite-notice",{icon:"table",open:!0},i("div",{slot:"message"},this._translations.selectFeaturesToStart)))))}async _getTranslations(){const t=await h(this.el);this._translations=t[0]}get el(){return e(this)}};m.style=":host{display:block !important}.display-flex{display:flex}.display-none{display:none}.w-100{width:100%}.padding-bottom-1{padding-bottom:1rem}.padding-1{padding:1rem}.position-relative{position:relative}.focus-margin{margin:1px 1px 0px 1px}.overflow-auto{overflow:auto}.border-rounded{border:1px solid var(--calcite-ui-border-2);border-radius:5px}.height-full{height:100%}card-manager{display:block}";const u=class{constructor(i){t(this,i),this.featureSelectionChange=a(this,"featureSelectionChange",7),this._allIds=[],this._tableSorting=!1,this.onTableNodeCreate=t=>{this._tableNode=t},this.mapInfo=void 0,this.mapView=void 0,this.showNewestFirst=void 0,this.zoomAndScrollToSelected=void 0,this._alertOpen=!1,this._fetchingData=!1,this._layer=void 0,this._selectedIndexes=[],this._showOnlySelected=!1,this._sortActive=!1,this._translations=void 0}async mapViewWatchHandler(){this._fetchingData=!0;const t=await n(this.mapView);this._layer=await o(this.mapView,t[0]),this.reactiveUtils.on((()=>this.mapView),"click",(t=>{this._mapClicked(t)})),this._fetchingData=!1}async _layerWatchHandler(){this._fetchingData=!0,await this._resetTable(),this._fetchingData=!1}async _sortActiveWatchHandler(){this._sortActive||await this._sortTable()}async getSelectedGraphics(){return this._selectedIndexes.length>0?await this._getGraphics(this._selectedIndexes):[]}async selectionChanged(t){if(this.zoomAndScrollToSelected){const i=t.detail,s=i.getObjectId(),e=this._table.viewModel.getObjectIdIndex(s);this._table.scrollToIndex(e);const a=i.layer;let h;this.mapView.allLayerViews.toArray().some((t=>{if(t.layer.title===a.title&&"feature"===t.layer.type)return h=t,!0})),h&&await c([s],h,this.mapView,!0)}}async componentWillLoad(){await this._getTranslations(),await this._initModules()}render(){if(!this._layer)return null;const t=this._fetchingData?"display-none":"",e=this._fetchingData?"":"display-none",a=this._alertShowAction?"":"display-none",h=this._allIds.length.toString(),l=this._selectedIndexes.length.toString();return i(s,null,i("calcite-shell",null,this._getTableControlRow("header"),i("div",{class:"height-full width-full"},i("calcite-panel",{class:"height-full width-full"},i("calcite-loader",{class:e,label:this._translations.fetchingData,scale:"l"}),i("div",{class:t,ref:this.onTableNodeCreate})),i("div",{class:"bottom-left background text-color"},this._translations.recordsSelected.replace("{{total}}",h).replace("{{selected}}",l))),i("calcite-alert",{icon:this._alertIcon,kind:this._alertKind,label:"",onCalciteAlertClose:()=>this._alertClosed(),open:this._alertOpen,placement:"top"},i("div",{slot:"title"},this._alertTitle),i("div",{slot:"message"},this._alertMessage),i("calcite-link",{class:a,onClick:this._alertActionFunction,slot:"link"},this._alertActionText))))}async _initModules(){const[t,i]=await d(["esri/widgets/FeatureTable","esri/core/reactiveUtils"]);this.FeatureTable=t,this.reactiveUtils=i}_getTableControlRow(t){const s=this._selectedIndexes.length>0;return i("div",{class:"display-flex table-border height-51",slot:t},i("calcite-action-bar",{expandDisabled:!0,expanded:!0,layout:"horizontal"},i("div",{class:"border-end"},i("map-layer-picker",{appearance:"transparent",mapView:this.mapView,onLayerSelectionChange:t=>this._layerSelectionChanged(t),placeholderIcon:"layers",scale:"l",type:"dropdown"})),i("calcite-action",{appearance:"solid",disabled:!s,icon:"magnifying-glass",id:"magnifying-glass",label:this._translations.zoom,onClick:()=>this._zoom(),text:this._translations.zoom,textEnabled:!0}),i("calcite-tooltip",{label:"",placement:"bottom","reference-element":"magnifying-glass"},i("span",null,this._translations.zoom)),i("calcite-action",{appearance:"solid",icon:"filter",id:"filter",onClick:()=>this._filter(),text:this._translations.filters,"text-enabled":"true",textEnabled:!0}),i("calcite-tooltip",{label:"",placement:"bottom","reference-element":"filter"},i("span",null,this._translations.filters)),i("calcite-action",{appearance:"solid",disabled:!s,id:"trash",onClick:()=>this._delete(),text:""},i("calcite-button",{appearance:"transparent",iconStart:"trash",kind:"danger"},this._translations.delete)),i("calcite-tooltip",{label:"",placement:"bottom","reference-element":"trash"},i("span",null,this._translations.delete)),i("calcite-action",{appearance:"solid",disabled:!s,icon:"erase",id:"erase",onClick:()=>this._clearSelection(),text:this._translations.clearSelection,"text-enabled":"true",textEnabled:!0}),i("calcite-tooltip",{label:"",placement:"bottom","reference-element":"erase"},i("span",null,this._translations.clearSelection))),i("calcite-dropdown",null,i("calcite-action",{appearance:"solid",label:"",slot:"trigger",text:""},i("calcite-button",{appearance:"transparent",iconEnd:"chevron-down",kind:"neutral"},this._translations.more)),i("calcite-dropdown-group",{"selection-mode":"none"},i("calcite-dropdown-item",{iconStart:"list-check-all",onClick:()=>this._selectAll()},this._translations.selectAll),i("calcite-dropdown-item",{iconStart:"selected-items-filter",onClick:()=>this._toggleShowSelected()},this._showOnlySelected?this._translations.showAll:this._translations.showSelected),i("calcite-dropdown-item",{iconStart:"refresh",onClick:()=>this._switchSelected()},this._translations.switchSelected),i("calcite-dropdown-item",{iconStart:"refresh",onClick:()=>this._refresh()},this._translations.refresh),i("calcite-dropdown-item",{iconStart:"export",onClick:()=>{this._exportToCSV()}},this._translations.exportCSV))))}async _getTable(t,i){this._layer&&await this._layer.when((async()=>{this._table=new this.FeatureTable({layer:this._layer,view:this.mapView,highlightEnabled:!0,multiSortEnabled:!1,visibleElements:{header:!1,menu:!1},tableTemplate:{columnTemplates:i},container:t}),await this._table.when((async()=>{this._table.highlightIds.on("change",(()=>{this._selectedIndexes=this._table.highlightIds.toArray(),this._showOnlySelected&&(this._selectedIndexes.length>0?this._table.filterBySelection():this._toggleShowSelected()),this.featureSelectionChange.emit(this._selectedIndexes)})),this.reactiveUtils.watch((()=>this._table.activeSortOrders),(t=>{var i,s,e,a;this._sortActive=t.length>0&&"asc"===(null===(i=t[0])||void 0===i?void 0:i.direction)||"desc"===(null===(s=t[0])||void 0===s?void 0:s.direction)||null===(null===(e=t[0])||void 0===e?void 0:e.direction)&&(null===(a=t[0])||void 0===a?void 0:a.fieldName)===this._layer.objectIdField}))}))}))}async _resetTable(){if(this._layer&&this._table){this._clearSelection(),this._allIds=[],this.featureSelectionChange.emit(this._selectedIndexes);const t=this._getColumnTemplates(this._layer.id);this._table.layer=this._layer,this._table.tableTemplate.columnTemplates=t,this._editEnabled=this._layer.editingEnabled,this._table.view=this.mapView,this._table.editingEnabled=this._editEnabled,this._table.clearSelectionFilter(),this._showOnlySelected=!1,this._sortActive=!1,await this._sortTable()}}async _sortTable(){this._table&&this._layer&&!this._sortActive&&!this._tableSorting&&this.showNewestFirst&&(this._tableSorting=!0,await this._table.when((async()=>{await this._layer.when((async()=>{this._table.sortColumn(this._layer.objectIdField,"desc"),this._tableSorting=!1}))})))}async _mapClicked(t){const i={include:this._layer},s=await this.mapView.hitTest(t.screenPoint,i);s.results.length>0&&(s.results.forEach((t=>{const i=t.graphic.getObjectId(),s=this._table.highlightIds.indexOf(i);s>-1?this._table.highlightIds.removeAt(s):this._table.highlightIds.add(i)})),this._showOnlySelected&&this._table.filterBySelection())}_alertClosed(){this._alertOpen=!1}_selectAll(){const t=this._allIds;this._table.highlightIds.addMany(t),this._selectedIndexes=t}_toggleShowSelected(){this._showOnlySelected=!this._showOnlySelected,this._showOnlySelected?this._table.filterBySelection():this._table.clearSelectionFilter()}_clearSelection(){this._selectedIndexes=[],this._table.highlightIds.removeAll()}_filter(){alert("do whatever this button is supposed to do")}_switchSelected(){const t=[...this._selectedIndexes];this._table.highlightIds.removeAll();const i=this._allIds.reduce(((i,s)=>(t.indexOf(s)<0&&i.push(s),i)),[]);this._table.highlightIds.addMany(i),this._selectedIndexes=i}async _exportToCSV(){const t={},i=this._table.highlightIds.toArray();t[this._layer.id]={selectionSetNames:[],ids:i,layer:this._layer},p(t,!1,!0)}_refresh(){this._table.refresh()}_zoom(){this._table.zoomToSelection()}_delete(){this._editEnabled?(this._alertIcon="trash",this._alertTitle=this._translations.deleteRows,this._alertActionText=this._translations.delete,this._alertShowAction=!0,this._alertMessage=this._translations.confirm,this._alertKind="danger",this._alertActionFunction=()=>{this._layer.applyEdits({deleteFeatures:this._table.highlightIds.toArray()}),this._alertOpen=!1}):(this._alertIcon="layer-broken",this._alertTitle=this._translations.deleteDisabled,this._alertShowAction=!1,this._alertMessage=this._translations.enableEditing,this._alertKind="warning"),this._alertOpen=!0}async _getGraphics(t){return t.length>0?l(t,this._table.layer,[],!1,this.mapView.spatialReference):[]}async _layerSelectionChanged(t){const i=t.detail[0];if(i!==this._layer.id||0===this._allIds.length){this._fetchingData=!0;const t=this._getColumnTemplates(i);this._layer=await o(this.mapView,i),this._allIds=await r(this._layer),this._table?t&&(this._table.tableTemplate.columnTemplates=t):await this._getTable(this._tableNode,t),await this._table.when((()=>{this._table.highlightIds.removeAll()})),this._selectedIndexes=[],this._table.layer=this._layer,this._table.render()}this._sortActive=!1,await this._sortTable(),this._fetchingData=!1}_getColumnTemplates(t){var i;let s;return null===(i=this.mapInfo.layerInfos)||void 0===i||i.some((i=>{if(i.id===t)return s=i,!0})),null==s?void 0:s.columnTemplates}async _getTranslations(){const t=await h(this.el);this._translations=t[0]}get el(){return e(this)}static get watchers(){return{mapView:["mapViewWatchHandler"],_layer:["_layerWatchHandler"],_sortActive:["_sortActiveWatchHandler"]}}};u.style=':host{display:block}.height-full{height:100%}.width-full{width:100%}.display-flex{display:flex}.table-border{border:1px solid var(--calcite-ui-border-2)}.border-end{border-inline-end:1px solid var(--calcite-ui-border-2)}.padding-5{padding:5px}.height-51{height:51px}.bottom-left{position:absolute;left:0;bottom:0}html[dir="rtl"] .bottom-left{position:absolute;right:0;bottom:0}.background{background-color:var(--calcite-ui-background)}.text-color{color:var(--calcite-ui-text-1)}';const g=class{constructor(i){t(this,i),this.mapChanged=a(this,"mapChanged",7),this._loadedId="",this.mapInfos=[],this.mapView=void 0,this._searchConfiguration=void 0,this._webMapInfo=void 0}async mapInfoChange(t){await this._loadMap(t.detail)}async componentWillLoad(){await this._initModules()}render(){return i(s,null,i("map-picker",{mapInfos:this.mapInfos}),i("div",{class:"map-height",ref:t=>this._mapDiv=t}),i("map-tools",{mapView:this.mapView,ref:t=>this._mapTools=t,searchConfiguration:this._searchConfiguration}))}async _initModules(){const[t,i,s]=await d(["esri/WebMap","esri/views/MapView","esri/widgets/Home"]);this.WebMap=t,this.MapView=i,this.Home=s}async _loadMap(t){let i=null==t?void 0:t.id;if(this._webMapInfo=(""===i||!i)&&this.mapInfos.length>0?this.mapInfos[0]:t,i=this._webMapInfo.id,this._loadedId!==i){const t=new this.WebMap({portalItem:{id:i}});this.mapView=new this.MapView({container:this._mapDiv,map:t,resizeAlign:"top-left"}),this._loadedId=i,this._searchConfiguration=this._webMapInfo.searchConfiguration,this.mapChanged.emit({id:i,mapView:this.mapView}),await this.mapView.when((()=>{const t=new this.Home({view:this.mapView});this.mapView.ui.add(t,{position:"top-left",index:3}),this.mapView.ui.add(this._mapTools,{position:"top-right",index:0})}))}}get el(){return e(this)}};g.style=":host{display:block;--calcite-label-margin-bottom:0;--calcite-block-padding:0}.map-height{height:calc(100% - 58px)}";export{m as card_manager,u as layer_table,g as map_card}