@esri/solutions-components 0.7.23 → 0.7.24

Sign up to get free protection for your applications and to get access to all the features.
Files changed (439) hide show
  1. package/dist/assets/t9n/crowdsource-manager/resources.json +1 -3
  2. package/dist/assets/t9n/crowdsource-manager/resources_en.json +1 -3
  3. package/dist/assets/t9n/crowdsource-reporter/resources.json +18 -1
  4. package/dist/assets/t9n/crowdsource-reporter/resources_en.json +18 -1
  5. package/dist/assets/t9n/delete-button/resources.json +8 -0
  6. package/dist/assets/t9n/delete-button/resources_en.json +8 -0
  7. package/dist/assets/t9n/feature-list/resources.json +4 -0
  8. package/dist/assets/t9n/feature-list/resources_en.json +4 -0
  9. package/dist/assets/t9n/info-card/resources.json +1 -1
  10. package/dist/assets/t9n/info-card/resources_en.json +1 -1
  11. package/dist/assets/t9n/layer-list/resources.json +4 -0
  12. package/dist/assets/t9n/layer-list/resources_en.json +4 -0
  13. package/dist/assets/t9n/layer-table/resources.json +0 -9
  14. package/dist/assets/t9n/layer-table/resources_en.json +0 -9
  15. package/dist/cjs/basemap-gallery_5.cjs.entry.js +573 -0
  16. package/dist/cjs/buffer-tools_3.cjs.entry.js +1 -1
  17. package/dist/cjs/calcite-action-bar.cjs.entry.js +255 -0
  18. package/dist/cjs/calcite-alert_3.cjs.entry.js +136 -357
  19. package/dist/cjs/calcite-combobox_6.cjs.entry.js +2 -1
  20. package/dist/cjs/{calcite-action-bar_3.cjs.entry.js → calcite-filter_5.cjs.entry.js} +333 -172
  21. package/dist/cjs/calcite-flow_4.cjs.entry.js +658 -0
  22. package/dist/cjs/calcite-input-date-picker_3.cjs.entry.js +22 -11
  23. package/dist/cjs/calcite-shell-panel_14.cjs.entry.js +2 -1
  24. package/dist/cjs/{card-manager_3.cjs.entry.js → card-manager_2.cjs.entry.js} +48 -268
  25. package/dist/cjs/crowdsource-manager.cjs.entry.js +18 -3
  26. package/dist/cjs/crowdsource-reporter.cjs.entry.js +215 -36
  27. package/dist/cjs/{basemap-gallery_7.cjs.entry.js → info-card_4.cjs.entry.js} +322 -409
  28. package/dist/cjs/instant-apps-export.cjs.entry.js +1 -1
  29. package/dist/cjs/instant-apps-language-translator.cjs.entry.js +41 -1
  30. package/dist/cjs/layout-manager.cjs.entry.js +2 -1
  31. package/dist/cjs/loader.cjs.js +1 -1
  32. package/dist/cjs/{locale-9db09b63.js → locale-1ff119f5.js} +19 -1
  33. package/dist/cjs/map-select-tools_3.cjs.entry.js +1 -1
  34. package/dist/cjs/popupUtils-8d5b6e94.js +99 -0
  35. package/dist/cjs/public-notification.cjs.entry.js +1 -1
  36. package/dist/cjs/solution-configuration.cjs.entry.js +2 -1
  37. package/dist/cjs/solution-contents_3.cjs.entry.js +16 -2
  38. package/dist/cjs/solutions-components.cjs.js +1 -1
  39. package/dist/cjs/spatial-ref.cjs.entry.js +2 -1
  40. package/dist/collection/collection-manifest.json +3 -0
  41. package/dist/collection/components/crowdsource-manager/crowdsource-manager.js +23 -2
  42. package/dist/collection/components/crowdsource-reporter/crowdsource-reporter.css +73 -0
  43. package/dist/collection/components/crowdsource-reporter/crowdsource-reporter.js +349 -56
  44. package/dist/collection/components/delete-button/delete-button.css +19 -0
  45. package/dist/collection/components/delete-button/delete-button.js +299 -0
  46. package/dist/collection/components/delete-button/test/delete-button.e2e.js +29 -0
  47. package/dist/collection/components/delete-button/test/delete-button.spec.js +37 -0
  48. package/dist/collection/components/feature-list/feature-list.css +38 -0
  49. package/dist/collection/components/feature-list/feature-list.js +303 -0
  50. package/dist/collection/components/info-card/info-card.js +65 -21
  51. package/dist/collection/components/layer-list/layer-list.css +28 -0
  52. package/dist/collection/components/layer-list/layer-list.js +288 -0
  53. package/dist/collection/components/layer-table/layer-table.js +63 -116
  54. package/dist/collection/components/solution-spatial-ref/solution-spatial-ref.js +31 -1
  55. package/dist/collection/demos/crowdsource-reporter.html +42 -70
  56. package/dist/collection/demos/feature-list.html +43 -0
  57. package/dist/collection/demos/layer-list.html +43 -0
  58. package/dist/collection/utils/interfaces.ts +4 -0
  59. package/dist/components/calcite-flow-item.js +1 -261
  60. package/dist/components/calcite-flow.js +1 -165
  61. package/dist/components/card-manager2.js +38 -26
  62. package/dist/components/crowdsource-manager.js +110 -89
  63. package/dist/components/crowdsource-reporter.js +463 -42
  64. package/dist/components/delete-button.d.ts +11 -0
  65. package/dist/components/delete-button.js +11 -0
  66. package/dist/components/delete-button2.js +209 -0
  67. package/dist/components/feature-list.d.ts +11 -0
  68. package/dist/components/feature-list.js +11 -0
  69. package/dist/components/feature-list2.js +281 -0
  70. package/dist/{esm/calcite-flow-item.entry.js → components/flow-item.js} +94 -19
  71. package/dist/{esm/calcite-flow.entry.js → components/flow.js} +33 -10
  72. package/dist/components/info-card2.js +87 -136
  73. package/dist/components/instant-apps-export.js +1 -1
  74. package/dist/components/instant-apps-filter-list2.js +22 -11
  75. package/dist/components/instant-apps-language-translator2.js +48 -4
  76. package/dist/components/layer-list.d.ts +11 -0
  77. package/dist/components/layer-list.js +11 -0
  78. package/dist/components/layer-list2.js +268 -0
  79. package/dist/components/layer-table2.js +126 -165
  80. package/dist/components/locale.js +19 -2
  81. package/dist/components/popupUtils.js +97 -0
  82. package/dist/components/queryUtils.js +1 -1
  83. package/dist/components/solution-spatial-ref2.js +17 -2
  84. package/dist/esm/{ExpandToggle-540998b5.js → ExpandToggle-96688cda.js} +1 -1
  85. package/dist/esm/{ar-35006b74.js → ar-29711364.js} +8 -8
  86. package/dist/esm/basemap-gallery_5.entry.js +565 -0
  87. package/dist/esm/{bg-c289978f.js → bg-c0f5033b.js} +8 -8
  88. package/dist/esm/{bs-6f9fb44a.js → bs-60479ce5.js} +8 -8
  89. package/dist/esm/buffer-tools_3.entry.js +3 -3
  90. package/dist/esm/{ca-7962c8b7.js → ca-4317b986.js} +8 -8
  91. package/dist/esm/calcite-accordion-item.entry.js +1 -1
  92. package/dist/esm/calcite-action-bar.entry.js +251 -0
  93. package/dist/esm/calcite-action-group.entry.js +3 -3
  94. package/dist/esm/calcite-action-menu_2.entry.js +5 -5
  95. package/dist/esm/calcite-action-pad_2.entry.js +4 -4
  96. package/dist/esm/calcite-action_2.entry.js +3 -3
  97. package/dist/esm/calcite-alert_3.entry.js +141 -362
  98. package/dist/esm/calcite-avatar.entry.js +1 -1
  99. package/dist/esm/calcite-block-section.entry.js +3 -3
  100. package/dist/esm/calcite-block_2.entry.js +5 -5
  101. package/dist/esm/calcite-button.entry.js +5 -5
  102. package/dist/esm/calcite-card.entry.js +3 -3
  103. package/dist/esm/calcite-checkbox.entry.js +3 -3
  104. package/dist/esm/calcite-chip-group.entry.js +1 -1
  105. package/dist/esm/calcite-chip.entry.js +3 -3
  106. package/dist/esm/calcite-color-picker-hex-input_2.entry.js +1 -1
  107. package/dist/esm/calcite-color-picker.entry.js +3 -3
  108. package/dist/esm/calcite-combobox-item-group.entry.js +2 -2
  109. package/dist/esm/calcite-combobox_6.entry.js +11 -10
  110. package/dist/esm/calcite-date-picker-day_3.entry.js +3 -3
  111. package/dist/esm/calcite-fab.entry.js +1 -1
  112. package/dist/esm/{calcite-action-bar_3.entry.js → calcite-filter_5.entry.js} +363 -204
  113. package/dist/esm/calcite-flow_4.entry.js +651 -0
  114. package/dist/esm/calcite-graph_2.entry.js +4 -4
  115. package/dist/esm/calcite-icon.entry.js +1 -1
  116. package/dist/esm/calcite-inline-editable.entry.js +4 -4
  117. package/dist/esm/calcite-input-date-picker_3.entry.js +31 -20
  118. package/dist/esm/calcite-input-number.entry.js +5 -5
  119. package/dist/esm/calcite-input-text.entry.js +5 -5
  120. package/dist/esm/{calcite-input-time-picker-63439178.js → calcite-input-time-picker-2e1b2157.js} +55 -55
  121. package/dist/esm/calcite-input-time-picker.entry.js +8 -8
  122. package/dist/esm/calcite-input-time-zone.entry.js +5 -5
  123. package/dist/esm/calcite-input_2.entry.js +5 -5
  124. package/dist/esm/calcite-label.entry.js +2 -2
  125. package/dist/esm/calcite-link.entry.js +1 -1
  126. package/dist/esm/calcite-menu-item.entry.js +3 -3
  127. package/dist/esm/calcite-menu.entry.js +3 -3
  128. package/dist/esm/calcite-meter.entry.js +3 -3
  129. package/dist/esm/calcite-modal.entry.js +4 -4
  130. package/dist/esm/calcite-navigation.entry.js +1 -1
  131. package/dist/esm/calcite-notice.entry.js +3 -3
  132. package/dist/esm/calcite-option_2.entry.js +3 -3
  133. package/dist/esm/calcite-pagination.entry.js +3 -3
  134. package/dist/esm/calcite-panel_2.entry.js +3 -3
  135. package/dist/esm/calcite-pick-list-group.entry.js +1 -1
  136. package/dist/esm/calcite-pick-list-item.entry.js +3 -3
  137. package/dist/esm/calcite-pick-list.entry.js +2 -2
  138. package/dist/esm/calcite-radio-button.entry.js +3 -3
  139. package/dist/esm/calcite-rating.entry.js +5 -5
  140. package/dist/esm/calcite-scrim.entry.js +3 -3
  141. package/dist/esm/calcite-segmented-control_2.entry.js +3 -3
  142. package/dist/esm/calcite-sheet.entry.js +2 -2
  143. package/dist/esm/calcite-shell-center-row.entry.js +1 -1
  144. package/dist/esm/calcite-shell-panel_14.entry.js +8 -7
  145. package/dist/esm/calcite-sortable-list.entry.js +1 -1
  146. package/dist/esm/calcite-stepper-item.entry.js +3 -3
  147. package/dist/esm/calcite-stepper.entry.js +3 -3
  148. package/dist/esm/calcite-switch.entry.js +3 -3
  149. package/dist/esm/calcite-table-cell_2.entry.js +3 -3
  150. package/dist/esm/calcite-table-row.entry.js +1 -1
  151. package/dist/esm/calcite-table.entry.js +3 -3
  152. package/dist/esm/calcite-text-area.entry.js +5 -5
  153. package/dist/esm/calcite-tile.entry.js +1 -1
  154. package/dist/esm/calcite-time-picker.entry.js +4 -4
  155. package/dist/esm/calcite-tip-manager.entry.js +3 -3
  156. package/dist/esm/calcite-tip.entry.js +3 -3
  157. package/dist/esm/calcite-tooltip.entry.js +2 -2
  158. package/dist/esm/calcite-tree_2.entry.js +1 -1
  159. package/dist/esm/{card-manager_3.entry.js → card-manager_2.entry.js} +51 -270
  160. package/dist/esm/{common-2cf42ac2.js → common-d04ccc0d.js} +1 -1
  161. package/dist/esm/crowdsource-manager.entry.js +19 -4
  162. package/dist/esm/crowdsource-reporter.entry.js +215 -36
  163. package/dist/esm/{cs-6d13069b.js → cs-da404a04.js} +8 -8
  164. package/dist/esm/{da-14097e6c.js → da-1afac3fa.js} +8 -8
  165. package/dist/esm/{date-1743b515.js → date-8b4a8f33.js} +1 -1
  166. package/dist/esm/{de-dff2571b.js → de-98f3129e.js} +8 -8
  167. package/dist/esm/{de-at-b733db65.js → de-at-ed4817af.js} +8 -8
  168. package/dist/esm/{de-ch-5ad0cb74.js → de-ch-556c82c8.js} +8 -8
  169. package/dist/esm/{dom-492b1b24.js → dom-8f926f33.js} +1 -1
  170. package/dist/esm/{downloadUtils-13579d93.js → downloadUtils-067dc2ff.js} +2 -2
  171. package/dist/esm/{el-688e05ba.js → el-394dfd74.js} +8 -8
  172. package/dist/esm/{en-au-357e70d8.js → en-au-6dde1e7e.js} +8 -8
  173. package/dist/esm/{en-ca-1e0b6b47.js → en-ca-420be416.js} +8 -8
  174. package/dist/esm/{en-gb-861a17f2.js → en-gb-0a7caa85.js} +8 -8
  175. package/dist/esm/{es-291ab4bd.js → es-2e1beb99.js} +8 -8
  176. package/dist/esm/{es-mx-0a7283a7.js → es-mx-ef132a24.js} +8 -8
  177. package/dist/esm/{et-addd2617.js → et-83d139c1.js} +8 -8
  178. package/dist/esm/{fi-469884d5.js → fi-8b81ed94.js} +8 -8
  179. package/dist/esm/{floating-ui-03eb4c82.js → floating-ui-c397f653.js} +1 -1
  180. package/dist/esm/{focusTrapComponent-2e7de651.js → focusTrapComponent-14368766.js} +1 -1
  181. package/dist/esm/{form-9bccaf85.js → form-133b00c7.js} +1 -1
  182. package/dist/esm/{fr-f5cb34ca.js → fr-c47c114a.js} +8 -8
  183. package/dist/esm/{fr-ch-115d3fda.js → fr-ch-97635343.js} +8 -8
  184. package/dist/esm/{he-6e5f5c56.js → he-ed2a12b9.js} +8 -8
  185. package/dist/esm/{hi-503240c2.js → hi-a05727ac.js} +8 -8
  186. package/dist/esm/{hr-cc08d6fc.js → hr-d01671ca.js} +8 -8
  187. package/dist/esm/{hu-69ac240d.js → hu-16506ca7.js} +8 -8
  188. package/dist/esm/{id-99547746.js → id-e9367e87.js} +8 -8
  189. package/dist/esm/{index.es-04d2e63e.js → index.es-92e46d8b.js} +3 -3
  190. package/dist/esm/{basemap-gallery_7.entry.js → info-card_4.entry.js} +322 -406
  191. package/dist/esm/instant-apps-export.entry.js +1 -1
  192. package/dist/esm/instant-apps-language-translator.entry.js +42 -2
  193. package/dist/esm/{interfaces-341e3ab3.js → interfaces-586e863c.js} +1 -1
  194. package/dist/esm/{it-dbb6ea7d.js → it-14246b4a.js} +8 -8
  195. package/dist/esm/{it-ch-a83801f6.js → it-ch-a877e111.js} +8 -8
  196. package/dist/esm/{ja-79dbb02f.js → ja-67a0cfa0.js} +8 -8
  197. package/dist/esm/{ko-31ebe067.js → ko-35b0b83a.js} +8 -8
  198. package/dist/esm/{label-14301f4d.js → label-cd393c81.js} +1 -1
  199. package/dist/esm/layout-manager.entry.js +3 -2
  200. package/dist/esm/loader.js +1 -1
  201. package/dist/esm/{locale-834c52c6.js → locale-13e3c96c.js} +19 -2
  202. package/dist/esm/{locale-8cfa3086.js → locale-6107ef11.js} +1 -1
  203. package/dist/esm/{lt-94d3f4b8.js → lt-71014faf.js} +8 -8
  204. package/dist/esm/{lv-d770ed0d.js → lv-def9df38.js} +8 -8
  205. package/dist/esm/map-select-tools_3.entry.js +4 -4
  206. package/dist/esm/{mapViewUtils-8fe70944.js → mapViewUtils-6daedef8.js} +2 -2
  207. package/dist/esm/{mk-1046d60a.js → mk-bfeac49e.js} +8 -8
  208. package/dist/esm/{nb-dad0b4b9.js → nb-0723b461.js} +8 -8
  209. package/dist/esm/{nl-a968c4b7.js → nl-89663165.js} +8 -8
  210. package/dist/esm/{pl-a0037bd3.js → pl-0157c37c.js} +8 -8
  211. package/dist/esm/popupUtils-b71f30fc.js +97 -0
  212. package/dist/esm/{pt-e3d9370c.js → pt-80d1520c.js} +8 -8
  213. package/dist/esm/{pt-br-44c11565.js → pt-br-ee5003c7.js} +8 -8
  214. package/dist/esm/public-notification.entry.js +4 -4
  215. package/dist/esm/{ro-290e025d.js → ro-eff987f8.js} +8 -8
  216. package/dist/esm/{ru-38ff91f1.js → ru-62839398.js} +8 -8
  217. package/dist/esm/{shared-list-render-89e4bcff.js → shared-list-render-a2ab63e8.js} +1 -1
  218. package/dist/esm/{sk-9622a24b.js → sk-c2f4bd58.js} +8 -8
  219. package/dist/esm/{sl-6bc83a24.js → sl-328ff1db.js} +8 -8
  220. package/dist/esm/solution-configuration.entry.js +4 -3
  221. package/dist/esm/solution-contents_3.entry.js +19 -5
  222. package/dist/esm/{solution-store-b08696f7.js → solution-store-19f7825b.js} +1 -1
  223. package/dist/esm/solutions-components.js +1 -1
  224. package/dist/esm/spatial-ref.entry.js +4 -3
  225. package/dist/esm/{sr-35e575d8.js → sr-75a3ad46.js} +8 -8
  226. package/dist/esm/{sv-d80fa359.js → sv-10da5ef2.js} +8 -8
  227. package/dist/esm/{t9n-3c5e55ab.js → t9n-f16911e7.js} +1 -1
  228. package/dist/esm/{th-23e71d40.js → th-aa112042.js} +8 -8
  229. package/dist/esm/{time-d956a7c8.js → time-855b3426.js} +1 -1
  230. package/dist/esm/{tr-961fd2f3.js → tr-5925a2f5.js} +8 -8
  231. package/dist/esm/{uk-4e8a425a.js → uk-c40eeb9f.js} +8 -8
  232. package/dist/esm/{utils-56206ec2.js → utils-93fd55c4.js} +2 -2
  233. package/dist/esm/{utils-8287806a.js → utils-c3509713.js} +1 -1
  234. package/dist/esm/{vi-ad983882.js → vi-27922b93.js} +8 -8
  235. package/dist/esm/{zh-cn-5b6fd039.js → zh-cn-38a2e1d3.js} +8 -8
  236. package/dist/esm/{zh-hk-7439b11d.js → zh-hk-e0217bd1.js} +8 -8
  237. package/dist/esm/{zh-tw-cf384663.js → zh-tw-31f0447c.js} +8 -8
  238. package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-filter-list/instant-apps-filter-list.css +0 -1
  239. package/dist/solutions-components/demos/crowdsource-reporter.html +42 -70
  240. package/dist/solutions-components/demos/feature-list.html +43 -0
  241. package/dist/solutions-components/demos/layer-list.html +43 -0
  242. package/dist/solutions-components/{p-c634d047.entry.js → p-01032eec.entry.js} +2 -18
  243. package/dist/solutions-components/{p-e7951fcb.js → p-0392679d.js} +1 -1
  244. package/dist/solutions-components/{p-3022da2d.js → p-05f702ae.js} +1 -1
  245. package/dist/solutions-components/{p-4da72ee8.entry.js → p-068f5a8c.entry.js} +1 -1
  246. package/dist/solutions-components/{p-4f71a1a0.js → p-0d774e41.js} +1 -1
  247. package/dist/solutions-components/{p-0e723ffc.js → p-0f6b58b2.js} +1 -1
  248. package/dist/solutions-components/{p-ec8f042e.entry.js → p-10410f92.entry.js} +1 -1
  249. package/dist/solutions-components/{p-6a4b1e48.entry.js → p-10f2d6b0.entry.js} +2 -2
  250. package/dist/solutions-components/{p-5d2ccc75.entry.js → p-13be5cf5.entry.js} +1 -1
  251. package/dist/solutions-components/{p-58054bc2.js → p-14548a83.js} +1 -1
  252. package/dist/solutions-components/{p-c9f87acb.js → p-14ff1465.js} +2 -2
  253. package/dist/solutions-components/{p-026b1345.js → p-17668cb7.js} +3 -3
  254. package/dist/solutions-components/{p-5e530f8c.js → p-1c75bb3d.js} +1 -1
  255. package/dist/solutions-components/p-1f7046e9.entry.js +6 -0
  256. package/dist/solutions-components/{p-121a5dac.entry.js → p-234a8293.entry.js} +1 -1
  257. package/dist/solutions-components/{p-355249fc.js → p-2447b332.js} +1 -1
  258. package/dist/solutions-components/{p-48828002.entry.js → p-24c699b0.entry.js} +1 -1
  259. package/dist/solutions-components/{p-9bcbc1cc.js → p-2592e0dd.js} +1 -1
  260. package/dist/solutions-components/{p-b78a1c21.js → p-28b33708.js} +1 -1
  261. package/dist/solutions-components/{p-fa6ef970.js → p-2d68a6fd.js} +1 -1
  262. package/dist/solutions-components/{p-6437fee1.entry.js → p-2e2d01de.entry.js} +1 -1
  263. package/dist/solutions-components/{p-5e9b05c0.entry.js → p-2f425700.entry.js} +1 -1
  264. package/dist/solutions-components/p-3606c4b8.entry.js +6 -0
  265. package/dist/solutions-components/{p-6c3cdd09.entry.js → p-364486d1.entry.js} +1 -1
  266. package/dist/solutions-components/{p-85a89f1d.entry.js → p-368cbb2c.entry.js} +1 -1
  267. package/dist/solutions-components/{p-c68a6d4f.js → p-36cbf14f.js} +1 -1
  268. package/dist/solutions-components/{p-52ad6ff9.entry.js → p-36f247db.entry.js} +1 -1
  269. package/dist/solutions-components/{p-080249de.js → p-38544b17.js} +1 -1
  270. package/dist/solutions-components/{p-a0be72b6.entry.js → p-3a73ee38.entry.js} +1 -1
  271. package/dist/solutions-components/{p-532b7378.entry.js → p-3ad4426b.entry.js} +1 -1
  272. package/dist/solutions-components/{p-5752785e.entry.js → p-3c10901a.entry.js} +1 -1
  273. package/dist/solutions-components/{p-6e406a7b.js → p-3c7d0eb9.js} +1 -1
  274. package/dist/solutions-components/{p-bf23173c.js → p-411b73a7.js} +1 -1
  275. package/dist/solutions-components/{p-76d60881.entry.js → p-429e1284.entry.js} +1 -1
  276. package/dist/solutions-components/{p-f3d277c2.entry.js → p-42f0e1fa.entry.js} +1 -1
  277. package/dist/solutions-components/{p-1fc220c7.js → p-4416d288.js} +1 -1
  278. package/dist/solutions-components/{p-663a433a.entry.js → p-451b16b3.entry.js} +2 -2
  279. package/dist/solutions-components/{p-b5d1b979.js → p-4566438a.js} +3 -3
  280. package/dist/solutions-components/{p-7a06dcdf.js → p-4647b2a6.js} +1 -1
  281. package/dist/solutions-components/{p-75fbe76c.js → p-480d0789.js} +1 -1
  282. package/dist/solutions-components/p-49b02dda.entry.js +6 -0
  283. package/dist/solutions-components/{p-722ae773.js → p-49fb1bfa.js} +2 -2
  284. package/dist/solutions-components/{p-17183100.js → p-4abf1c34.js} +1 -1
  285. package/dist/solutions-components/p-4ae36626.js +6 -0
  286. package/dist/solutions-components/{p-5c3fd315.entry.js → p-4bff69aa.entry.js} +1 -1
  287. package/dist/solutions-components/{p-f8f18a94.entry.js → p-4ccdac24.entry.js} +1 -1
  288. package/dist/solutions-components/{p-a3a64af2.entry.js → p-4d402bcf.entry.js} +1 -1
  289. package/dist/solutions-components/{p-7e82a730.js → p-4d8fc031.js} +1 -1
  290. package/dist/solutions-components/{p-1c720ed5.entry.js → p-4d99cb49.entry.js} +1 -1
  291. package/dist/solutions-components/p-4fbadb84.entry.js +6 -0
  292. package/dist/solutions-components/{p-e0276e26.entry.js → p-5268d845.entry.js} +2 -2
  293. package/dist/solutions-components/{p-f3f09834.js → p-5e12026e.js} +1 -1
  294. package/dist/solutions-components/p-5e832d65.entry.js +6 -0
  295. package/dist/solutions-components/{p-ffee4847.entry.js → p-5fe99315.entry.js} +1 -1
  296. package/dist/solutions-components/{p-d6208a47.js → p-6105d57c.js} +1 -1
  297. package/dist/solutions-components/{p-f3dfb34f.entry.js → p-613315a7.entry.js} +1 -1
  298. package/dist/solutions-components/{p-0d97c2c5.entry.js → p-62eba559.entry.js} +1 -1
  299. package/dist/solutions-components/{p-40235cb7.entry.js → p-63fa7791.entry.js} +1 -1
  300. package/dist/solutions-components/{p-cfccae7c.js → p-6604ac77.js} +1 -1
  301. package/dist/solutions-components/{p-9b1766ef.entry.js → p-674be06c.entry.js} +1 -1
  302. package/dist/solutions-components/{p-a4aef40c.entry.js → p-67ff8e9a.entry.js} +1 -1
  303. package/dist/solutions-components/{p-16df3a9e.entry.js → p-685257d1.entry.js} +1 -1
  304. package/dist/solutions-components/{p-4647c429.js → p-68e0adcf.js} +1 -1
  305. package/dist/solutions-components/{p-fc8338c6.entry.js → p-68e84199.entry.js} +1 -1
  306. package/dist/solutions-components/{p-aa3092cf.js → p-69763854.js} +1 -1
  307. package/dist/solutions-components/{p-e31754c8.js → p-6ae45648.js} +1 -1
  308. package/dist/solutions-components/{p-98013072.entry.js → p-6cce7009.entry.js} +1 -1
  309. package/dist/solutions-components/{p-34cacf32.js → p-6d511162.js} +1 -1
  310. package/dist/solutions-components/{p-337acb3c.js → p-727596e6.js} +1 -1
  311. package/dist/solutions-components/{p-b170916e.js → p-73100e79.js} +2 -2
  312. package/dist/solutions-components/{p-23662977.entry.js → p-734bc1b0.entry.js} +2 -2
  313. package/dist/solutions-components/{p-f3626331.entry.js → p-752ece4a.entry.js} +2 -2
  314. package/dist/solutions-components/{p-ecdd587c.entry.js → p-75e2a322.entry.js} +3 -3
  315. package/dist/solutions-components/{p-ca33fa09.entry.js → p-787203af.entry.js} +1 -1
  316. package/dist/solutions-components/{p-a9fc934d.js → p-79110824.js} +1 -1
  317. package/dist/solutions-components/{p-b82179c0.js → p-793cad54.js} +1 -1
  318. package/dist/solutions-components/{p-0250dec5.js → p-797aa505.js} +1 -1
  319. package/dist/solutions-components/{p-133de052.entry.js → p-7ebd34df.entry.js} +1 -1
  320. package/dist/solutions-components/{p-8934e858.entry.js → p-809b7e47.entry.js} +2 -2
  321. package/dist/solutions-components/{p-ca97465b.js → p-83fd31d5.js} +1 -1
  322. package/dist/solutions-components/{p-2e1f7c0e.entry.js → p-84378c8d.entry.js} +2 -2
  323. package/dist/solutions-components/p-864b1d72.entry.js +6 -0
  324. package/dist/solutions-components/{p-50ea26de.entry.js → p-8b47b607.entry.js} +1 -1
  325. package/dist/solutions-components/{p-f4e91113.js → p-8d49a084.js} +1 -1
  326. package/dist/solutions-components/{p-f84848b0.entry.js → p-8fabb8a4.entry.js} +1 -1
  327. package/dist/solutions-components/p-8fc072ca.entry.js +6 -0
  328. package/dist/solutions-components/{p-29602eff.entry.js → p-96c2ed64.entry.js} +1 -1
  329. package/dist/solutions-components/{p-b42bde59.entry.js → p-978d936a.entry.js} +1 -1
  330. package/dist/solutions-components/{p-79ba73cb.js → p-981e9549.js} +1 -1
  331. package/dist/solutions-components/{p-02714171.entry.js → p-98308b13.entry.js} +2 -2
  332. package/dist/solutions-components/p-99c5701d.entry.js +6 -0
  333. package/dist/solutions-components/{p-fe68d502.js → p-9cbfd8cd.js} +1 -1
  334. package/dist/solutions-components/{p-8f8fe5d0.entry.js → p-a09c8edf.entry.js} +1 -1
  335. package/dist/solutions-components/p-a2d3df14.entry.js +6 -0
  336. package/dist/solutions-components/{p-ac6a3e13.js → p-a5272d7e.js} +1 -1
  337. package/dist/solutions-components/p-a5c5b24d.js +6 -0
  338. package/dist/solutions-components/{p-5d9ad152.entry.js → p-a5e93c7e.entry.js} +1 -1
  339. package/dist/solutions-components/{p-07b31dc9.js → p-a6bb4148.js} +1 -1
  340. package/dist/solutions-components/{p-11b59592.entry.js → p-a8c9ac0b.entry.js} +2 -2
  341. package/dist/solutions-components/{p-41f7bc94.entry.js → p-a9bd945b.entry.js} +1 -1
  342. package/dist/solutions-components/p-ab006ace.js +21 -0
  343. package/dist/solutions-components/{p-634835fe.js → p-abdd289e.js} +1 -1
  344. package/dist/solutions-components/{p-43e67b3c.entry.js → p-aca29f67.entry.js} +2 -2
  345. package/dist/solutions-components/{p-8118146c.entry.js → p-ad96cd8b.entry.js} +1 -1
  346. package/dist/solutions-components/{p-8772a573.js → p-af1bb992.js} +1 -1
  347. package/dist/solutions-components/{p-36eb8399.js → p-b1b768f7.js} +4 -4
  348. package/dist/solutions-components/{p-dd37c504.js → p-b29677ca.js} +1 -1
  349. package/dist/solutions-components/{p-82b4ab94.js → p-b2c5e62b.js} +1 -1
  350. package/dist/solutions-components/{p-db436a77.entry.js → p-b326b592.entry.js} +1 -1
  351. package/dist/solutions-components/{p-a4772574.js → p-b7285bd5.js} +1 -1
  352. package/dist/solutions-components/{p-8b5b4662.js → p-b8959537.js} +1 -1
  353. package/dist/solutions-components/p-ba56035f.entry.js +6 -0
  354. package/dist/solutions-components/{p-c21f578f.js → p-baf4cb37.js} +1 -1
  355. package/dist/solutions-components/{p-799c3f19.js → p-bfebff0e.js} +1 -1
  356. package/dist/solutions-components/p-c0ed2b83.entry.js +6 -0
  357. package/dist/solutions-components/p-c0f97ed2.entry.js +6 -0
  358. package/dist/solutions-components/{p-4af32c75.js → p-c1cf3ebc.js} +1 -1
  359. package/dist/solutions-components/{p-cfb83693.js → p-c3190f85.js} +1 -1
  360. package/dist/solutions-components/{p-0511c98c.js → p-c4ebb5d1.js} +1 -1
  361. package/dist/solutions-components/p-c56fd16c.entry.js +11 -0
  362. package/dist/solutions-components/{p-2d1b8cfa.js → p-c6b9a129.js} +1 -1
  363. package/dist/solutions-components/{p-1cb4c542.entry.js → p-c7e7da9a.entry.js} +1 -1
  364. package/dist/solutions-components/{p-d8b3d156.entry.js → p-ca4023f4.entry.js} +1 -1
  365. package/dist/solutions-components/p-cb1d29d4.entry.js +17 -0
  366. package/dist/solutions-components/p-cc88bb42.entry.js +6 -0
  367. package/dist/solutions-components/{p-034d43fb.js → p-cdee3846.js} +1 -1
  368. package/dist/solutions-components/{p-c5cb8804.js → p-cfb3d66a.js} +1 -1
  369. package/dist/solutions-components/{p-ebbeec9f.entry.js → p-d2d7d6b4.entry.js} +2 -2
  370. package/dist/solutions-components/{p-dd071507.js → p-d44e2fd7.js} +1 -1
  371. package/dist/solutions-components/{p-48a5ae32.entry.js → p-d50f34c4.entry.js} +1 -1
  372. package/dist/solutions-components/{p-5953ebe8.entry.js → p-d9061e5d.entry.js} +1 -1
  373. package/dist/solutions-components/{p-414240b2.js → p-d9a59fcc.js} +1 -1
  374. package/dist/solutions-components/{p-24286e8c.entry.js → p-db69f4ba.entry.js} +1 -1
  375. package/dist/solutions-components/{p-ede84883.js → p-de281b08.js} +2 -2
  376. package/dist/solutions-components/{p-a11fca14.js → p-df118036.js} +1 -1
  377. package/dist/solutions-components/p-e274f3b0.entry.js +23 -0
  378. package/dist/solutions-components/p-e3061220.entry.js +6 -0
  379. package/dist/solutions-components/{p-4613e205.js → p-e6d4bdce.js} +1 -1
  380. package/dist/solutions-components/{p-3c5d3b4a.js → p-e6dfc80f.js} +1 -1
  381. package/dist/solutions-components/{p-92ea9e81.js → p-e834d132.js} +1 -1
  382. package/dist/solutions-components/{p-f9eb2f2d.js → p-ee4e5212.js} +1 -1
  383. package/dist/solutions-components/{p-efce2e85.js → p-ef05dea5.js} +1 -1
  384. package/dist/solutions-components/{p-5fd1eb64.js → p-f0d68a3f.js} +2 -2
  385. package/dist/solutions-components/p-f17941f1.entry.js +6 -0
  386. package/dist/solutions-components/{p-9e3b8632.entry.js → p-f1e6ce96.entry.js} +1 -1
  387. package/dist/solutions-components/p-f54f3719.entry.js +17 -0
  388. package/dist/solutions-components/{p-fdb1ace8.entry.js → p-fb1c6811.entry.js} +2 -2
  389. package/dist/solutions-components/p-fec77450.js +21 -0
  390. package/dist/solutions-components/{p-50764143.entry.js → p-ff460d05.entry.js} +3 -3
  391. package/dist/solutions-components/{p-d1ca57f3.entry.js → p-ff7c9bc3.entry.js} +1 -1
  392. package/dist/solutions-components/{p-0b47b407.js → p-ffa2c430.js} +1 -1
  393. package/dist/solutions-components/{p-89520d31.entry.js → p-ffbed9b2.entry.js} +1 -1
  394. package/dist/solutions-components/solutions-components.esm.js +1 -1
  395. package/dist/solutions-components/utils/interfaces.ts +4 -0
  396. package/dist/types/components/crowdsource-manager/crowdsource-manager.d.ts +8 -0
  397. package/dist/types/components/crowdsource-reporter/crowdsource-reporter.d.ts +159 -11
  398. package/dist/types/components/delete-button/delete-button.d.ts +120 -0
  399. package/dist/types/components/feature-list/feature-list.d.ts +128 -0
  400. package/dist/types/components/info-card/info-card.d.ts +19 -0
  401. package/dist/types/components/layer-list/layer-list.d.ts +133 -0
  402. package/dist/types/components/layer-table/layer-table.d.ts +12 -40
  403. package/dist/types/components/solution-spatial-ref/solution-spatial-ref.d.ts +5 -1
  404. package/dist/types/components.d.ts +269 -11
  405. package/dist/types/preact.d.ts +15 -1
  406. package/dist/types/utils/interfaces.d.ts +2 -0
  407. package/package.json +2 -2
  408. package/dist/cjs/calcite-filter_2.cjs.entry.js +0 -237
  409. package/dist/cjs/calcite-flow-item.cjs.entry.js +0 -197
  410. package/dist/cjs/calcite-flow.cjs.entry.js +0 -153
  411. package/dist/cjs/calcite-handle.cjs.entry.js +0 -184
  412. package/dist/cjs/resources-55ba2752.js +0 -29
  413. package/dist/esm/calcite-filter_2.entry.js +0 -232
  414. package/dist/esm/calcite-handle.entry.js +0 -180
  415. package/dist/esm/resources-221791b0.js +0 -26
  416. package/dist/solutions-components/p-0200864c.entry.js +0 -11
  417. package/dist/solutions-components/p-02fad071.entry.js +0 -6
  418. package/dist/solutions-components/p-04f05bc5.entry.js +0 -6
  419. package/dist/solutions-components/p-166d5bcc.entry.js +0 -6
  420. package/dist/solutions-components/p-1711c535.entry.js +0 -6
  421. package/dist/solutions-components/p-1f88a556.entry.js +0 -6
  422. package/dist/solutions-components/p-2ddd9cf8.entry.js +0 -6
  423. package/dist/solutions-components/p-3cf20613.entry.js +0 -17
  424. package/dist/solutions-components/p-43546966.entry.js +0 -6
  425. package/dist/solutions-components/p-6b943f52.js +0 -21
  426. package/dist/solutions-components/p-79f95735.entry.js +0 -11
  427. package/dist/solutions-components/p-7f333e23.js +0 -11
  428. package/dist/solutions-components/p-897037f0.entry.js +0 -6
  429. package/dist/solutions-components/p-8c7fc78f.entry.js +0 -11
  430. package/dist/solutions-components/p-941ab8c0.js +0 -6
  431. package/dist/solutions-components/p-96974e5f.js +0 -6
  432. package/dist/solutions-components/p-a32b61ee.entry.js +0 -6
  433. package/dist/solutions-components/p-ad9fbb2a.entry.js +0 -6
  434. package/dist/solutions-components/p-bacc9b0d.entry.js +0 -6
  435. package/dist/solutions-components/p-c252997f.entry.js +0 -17
  436. package/dist/solutions-components/p-c5db42ad.entry.js +0 -6
  437. package/dist/solutions-components/p-e89c5860.entry.js +0 -6
  438. package/dist/solutions-components/p-eb9b003a.entry.js +0 -11
  439. package/dist/solutions-components/p-eff7f407.entry.js +0 -6
@@ -8,261 +8,342 @@
8
8
  Object.defineProperty(exports, '__esModule', { value: true });
9
9
 
10
10
  const index = require('./index-b8a649fc.js');
11
- const conditionalSlot = require('./conditionalSlot-63e11cba.js');
12
- const dom = require('./dom-e111eaa6.js');
11
+ const filter = require('./filter-8f1bbfe6.js');
12
+ const interactive = require('./interactive-8aff886e.js');
13
13
  const loadable = require('./loadable-07a214c7.js');
14
14
  const locale = require('./locale-6a627639.js');
15
- const observers = require('./observers-281a8c99.js');
16
15
  const t9n = require('./t9n-0556abcb.js');
17
- const ExpandToggle = require('./ExpandToggle-f83d93f8.js');
18
16
  const debounce = require('./debounce-30afab47.js');
19
- const interactive = require('./interactive-8aff886e.js');
17
+ const dom = require('./dom-e111eaa6.js');
18
+ const observers = require('./observers-281a8c99.js');
20
19
  const utils = require('./utils-234879c7.js');
21
20
  const sortableComponent = require('./sortableComponent-188f3290.js');
22
- const resources = require('./resources-55ba2752.js');
21
+ require('./browser-9a43b900.js');
22
+ require('./key-b8c05387.js');
23
23
  require('./guid-1a466ca6.js');
24
24
  require('./resources-6c60363a.js');
25
- require('./key-b8c05387.js');
26
- require('./resources-f3e0e822.js');
27
- require('./resources-a825d7ae.js');
28
- require('./browser-9a43b900.js');
29
25
 
30
26
  /*!
31
27
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
32
28
  * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
33
29
  * v2.0.0
34
30
  */
35
- const CSS$1 = {
36
- actionGroupEnd: "action-group--end",
31
+ const CSS$3 = {
32
+ container: "container",
33
+ searchIcon: "search-icon",
37
34
  };
38
- const SLOTS$1 = {
39
- actionsEnd: "actions-end",
40
- bottomActions: "bottom-actions",
41
- expandTooltip: "expand-tooltip",
35
+ const ICONS$1 = {
36
+ search: "search",
37
+ close: "x",
42
38
  };
39
+ const DEBOUNCE_TIMEOUT = 250;
43
40
 
44
- const actionBarCss = ":host{box-sizing:border-box;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:host{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-color-border-3)}:host([layout=horizontal]) ::slotted(calcite-action-group){border-block-end:0;border-inline-end:1px solid var(--calcite-color-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}";
41
+ const filterCss = ":host{box-sizing:border-box;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:flex;inline-size:100%}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.container{display:flex;inline-size:100%;padding:0.5rem}label{position:relative;margin-inline:0.25rem;margin-block:0px;display:flex;inline-size:100%;align-items:center;overflow:hidden}input[type=text]{margin-block-end:0.25rem;inline-size:100%;border-style:none;background-color:transparent;padding-block:0.25rem;font-family:inherit;font-size:var(--calcite-font-size--2);line-height:1rem;color:var(--calcite-color-text-1);padding-inline-end:0.25rem;padding-inline-start:1.5rem;transition:padding var(--calcite-animation-timing), box-shadow var(--calcite-animation-timing)}input[type=text]::-ms-clear{display:none}calcite-input{inline-size:100%}.search-icon{position:absolute;display:flex;color:var(--calcite-color-text-2);inset-inline-start:0;transition:inset-inline-start var(--calcite-animation-timing), inset-inline-end var(--calcite-animation-timing), opacity var(--calcite-animation-timing)}input[type=text]:focus{border-color:var(--calcite-color-brand);outline:2px solid transparent;outline-offset:2px;padding-inline:0.25rem}input[type=text]:focus~.search-icon{inset-inline-start:calc(1rem * -1);opacity:0}.clear-button{display:flex;cursor:pointer;align-items:center;border-width:0px;background-color:transparent;color:var(--calcite-color-text-2)}.clear-button:hover,.clear-button:focus{color:var(--calcite-color-text-1)}:host([hidden]){display:none}[hidden]{display:none}";
45
42
 
46
- const ActionBar = class {
43
+ const Filter = class {
47
44
  constructor(hostRef) {
48
45
  index.registerInstance(this, hostRef);
49
- this.calciteActionBarToggle = index.createEvent(this, "calciteActionBarToggle", 6);
50
- this.mutationObserver = observers.createObserver("mutation", () => {
51
- const { el, expanded } = this;
52
- ExpandToggle.toggleChildActionText({ el, expanded });
53
- this.overflowActions();
54
- });
55
- this.resizeObserver = observers.createObserver("resize", (entries) => this.resizeHandlerEntries(entries));
46
+ this.calciteFilterChange = index.createEvent(this, "calciteFilterChange", 6);
56
47
  // --------------------------------------------------------------------------
57
48
  //
58
49
  // Private Methods
59
50
  //
60
51
  // --------------------------------------------------------------------------
61
- this.actionMenuOpenHandler = (event) => {
62
- if (event.target.menuOpen) {
63
- const composedPath = event.composedPath();
64
- Array.from(this.el.querySelectorAll("calcite-action-group")).forEach((group) => {
65
- if (!composedPath.includes(group)) {
66
- group.menuOpen = false;
67
- }
68
- });
69
- }
70
- };
71
- this.resizeHandlerEntries = (entries) => {
72
- entries.forEach(this.resizeHandler);
52
+ this.filterDebounced = debounce.debounce((value, emit = false, onFilter) => this.updateFiltered(filter.filter(this.items, value), emit, onFilter), DEBOUNCE_TIMEOUT);
53
+ this.inputHandler = (event) => {
54
+ const target = event.target;
55
+ this.value = target.value;
56
+ this.filterDebounced(target.value, true);
73
57
  };
74
- this.resizeHandler = (entry) => {
75
- const { width, height } = entry.contentRect;
76
- this.resize({ width, height });
77
- };
78
- this.resize = debounce.debounce(({ width, height }) => {
79
- const { el, expanded, expandDisabled, layout, overflowActionsDisabled } = this;
80
- if (overflowActionsDisabled ||
81
- (layout === "vertical" && !height) ||
82
- (layout === "horizontal" && !width)) {
83
- return;
58
+ this.keyDownHandler = (event) => {
59
+ if (event.key === "Escape") {
60
+ this.clear();
61
+ event.preventDefault();
62
+ }
63
+ if (event.key === "Enter") {
64
+ event.preventDefault();
84
65
  }
85
- const actions = ExpandToggle.queryActions(el);
86
- const actionCount = expandDisabled ? actions.length : actions.length + 1;
87
- const actionGroups = Array.from(el.querySelectorAll("calcite-action-group"));
88
- this.setGroupLayout(actionGroups);
89
- const groupCount = this.hasActionsEnd || this.hasBottomActions || !expandDisabled
90
- ? actionGroups.length + 1
91
- : actionGroups.length;
92
- const { actionHeight, actionWidth } = ExpandToggle.geActionDimensions(actions);
93
- const overflowCount = ExpandToggle.getOverflowCount({
94
- layout,
95
- actionCount,
96
- actionHeight,
97
- actionWidth,
98
- height,
99
- width,
100
- groupCount,
101
- });
102
- ExpandToggle.overflowActions({
103
- actionGroups,
104
- expanded,
105
- overflowCount,
106
- });
107
- }, ExpandToggle.overflowActionsDebounceInMs);
108
- this.toggleExpand = () => {
109
- this.expanded = !this.expanded;
110
- this.calciteActionBarToggle.emit();
111
- };
112
- this.setExpandToggleRef = (el) => {
113
- this.expandToggleEl = el;
114
- };
115
- this.handleDefaultSlotChange = (event) => {
116
- const groups = dom.slotChangeGetAssignedElements(event).filter((el) => el.matches("calcite-action-group"));
117
- this.setGroupLayout(groups);
118
- };
119
- this.handleActionsEndSlotChange = (event) => {
120
- this.hasActionsEnd = dom.slotChangeHasAssignedElement(event);
121
- };
122
- this.handleBottomActionsSlotChange = (event) => {
123
- this.hasBottomActions = dom.slotChangeHasAssignedElement(event);
124
66
  };
125
- this.handleTooltipSlotChange = (event) => {
126
- const tooltips = dom.slotChangeGetAssignedElements(event).filter((el) => el === null || el === void 0 ? void 0 : el.matches("calcite-tooltip"));
127
- this.expandTooltip = tooltips[0];
67
+ this.clear = () => {
68
+ this.value = "";
69
+ this.filterDebounced("", true);
70
+ this.setFocus();
128
71
  };
129
- this.actionsEndGroupLabel = undefined;
130
- this.expandDisabled = false;
131
- this.expanded = false;
132
- this.layout = "vertical";
133
- this.overflowActionsDisabled = false;
134
- this.position = undefined;
135
- this.scale = undefined;
72
+ this.items = [];
73
+ this.disabled = false;
74
+ this.filteredItems = [];
75
+ this.placeholder = undefined;
76
+ this.scale = "m";
77
+ this.value = "";
136
78
  this.messages = undefined;
137
79
  this.messageOverrides = undefined;
138
80
  this.effectiveLocale = undefined;
139
- this.hasActionsEnd = false;
140
- this.hasBottomActions = false;
141
- this.expandTooltip = undefined;
142
81
  this.defaultMessages = undefined;
143
82
  }
144
- expandHandler() {
145
- this.overflowActions();
146
- }
147
- expandedHandler() {
148
- const { el, expanded } = this;
149
- ExpandToggle.toggleChildActionText({ el, expanded });
150
- this.overflowActions();
151
- }
152
- layoutHandler() {
153
- this.updateGroups();
154
- }
155
- overflowDisabledHandler(overflowActionsDisabled) {
156
- var _a, _b;
157
- if (overflowActionsDisabled) {
158
- (_a = this.resizeObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
159
- return;
160
- }
161
- (_b = this.resizeObserver) === null || _b === void 0 ? void 0 : _b.observe(this.el);
162
- this.overflowActions();
83
+ watchItemsHandler() {
84
+ this.filterDebounced(this.value);
163
85
  }
164
86
  onMessagesChange() {
165
87
  /* wired up by t9n util */
166
88
  }
89
+ valueHandler(value) {
90
+ this.filterDebounced(value);
91
+ }
167
92
  effectiveLocaleChange() {
168
93
  t9n.updateMessages(this, this.effectiveLocale);
169
94
  }
170
- // --------------------------------------------------------------------------
95
+ //--------------------------------------------------------------------------
171
96
  //
172
97
  // Lifecycle
173
98
  //
174
- // --------------------------------------------------------------------------
175
- componentDidLoad() {
176
- const { el, expanded } = this;
177
- loadable.setComponentLoaded(this);
178
- ExpandToggle.toggleChildActionText({ el, expanded });
179
- this.overflowActions();
99
+ //--------------------------------------------------------------------------
100
+ async componentWillLoad() {
101
+ loadable.setUpLoadableComponent(this);
102
+ this.updateFiltered(filter.filter(this.items, this.value));
103
+ await t9n.setUpMessages(this);
180
104
  }
181
105
  connectedCallback() {
182
- var _a, _b;
183
- const { el, expanded } = this;
106
+ interactive.connectInteractive(this);
184
107
  locale.connectLocalized(this);
185
108
  t9n.connectMessages(this);
186
- ExpandToggle.toggleChildActionText({ el, expanded });
187
- (_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.observe(el, { childList: true, subtree: true });
188
- if (!this.overflowActionsDisabled) {
189
- (_b = this.resizeObserver) === null || _b === void 0 ? void 0 : _b.observe(el);
190
- }
191
- this.overflowActions();
192
- conditionalSlot.connectConditionalSlotComponent(this);
193
109
  }
194
- async componentWillLoad() {
195
- loadable.setUpLoadableComponent(this);
196
- await t9n.setUpMessages(this);
110
+ componentDidRender() {
111
+ interactive.updateHostInteraction(this);
197
112
  }
198
113
  disconnectedCallback() {
199
- var _a, _b;
200
- (_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
201
- (_b = this.resizeObserver) === null || _b === void 0 ? void 0 : _b.disconnect();
202
- conditionalSlot.disconnectConditionalSlotComponent(this);
114
+ interactive.disconnectInteractive(this);
203
115
  locale.disconnectLocalized(this);
204
116
  t9n.disconnectMessages(this);
117
+ this.filterDebounced.cancel();
118
+ }
119
+ componentDidLoad() {
120
+ loadable.setComponentLoaded(this);
205
121
  }
206
122
  // --------------------------------------------------------------------------
207
123
  //
208
- // Methods
124
+ // Public Methods
209
125
  //
210
126
  // --------------------------------------------------------------------------
211
127
  /**
212
- * Overflows actions that won't fit into menus.
128
+ * Performs a filter on the component.
213
129
  *
214
- * @internal
130
+ * This method can be useful because filtering is delayed and asynchronous.
131
+ *
132
+ * @param {string} value - The filter text value.
133
+ * @returns {Promise<void>}
215
134
  */
216
- async overflowActions() {
217
- this.resize({ width: this.el.clientWidth, height: this.el.clientHeight });
135
+ async filter(value = this.value) {
136
+ return new Promise((resolve) => {
137
+ this.value = value;
138
+ this.filterDebounced(value, false, resolve);
139
+ });
218
140
  }
219
- /**
220
- * Sets focus on the component's first focusable element.
221
- */
141
+ /** Sets focus on the component. */
222
142
  async setFocus() {
143
+ var _a;
223
144
  await loadable.componentFocusable(this);
224
- dom.focusFirstTabbable(this.el);
225
- }
226
- updateGroups() {
227
- this.setGroupLayout(Array.from(this.el.querySelectorAll("calcite-action-group")));
145
+ (_a = this.el) === null || _a === void 0 ? void 0 : _a.focus();
228
146
  }
229
- setGroupLayout(groups) {
230
- groups.forEach((group) => (group.layout = this.layout));
147
+ updateFiltered(filtered, emit = false, callback) {
148
+ this.filteredItems = filtered;
149
+ if (emit) {
150
+ this.calciteFilterChange.emit();
151
+ }
152
+ callback === null || callback === void 0 ? void 0 : callback();
231
153
  }
232
154
  // --------------------------------------------------------------------------
233
155
  //
234
156
  // Render Methods
235
157
  //
236
158
  // --------------------------------------------------------------------------
237
- renderBottomActionGroup() {
238
- const { expanded, expandDisabled, el, position, toggleExpand, scale, layout, messages, actionsEndGroupLabel, } = this;
239
- 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,
159
+ render() {
160
+ const { disabled, scale } = this;
161
+ return (index.h(index.Fragment, null, index.h("div", { class: CSS$3.container }, index.h("label", null, index.h("calcite-input", { clearable: true, disabled: disabled, icon: ICONS$1.search, label: this.messages.label, messageOverrides: { clear: this.messages.clear }, onCalciteInputInput: this.inputHandler, onKeyDown: this.keyDownHandler, placeholder: this.placeholder, scale: scale, type: "text", value: this.value,
240
162
  // eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
241
- ref: this.setExpandToggleRef })) : null;
242
- return (index.h("calcite-action-group", { class: CSS$1.actionGroupEnd, hidden: this.expandDisabled && !(this.hasActionsEnd || this.hasBottomActions), label: actionsEndGroupLabel, layout: layout, scale: scale }, index.h("slot", { name: SLOTS$1.actionsEnd, onSlotchange: this.handleActionsEndSlotChange }), index.h("slot", { name: SLOTS$1.bottomActions, onSlotchange: this.handleBottomActionsSlotChange }), index.h("slot", { name: SLOTS$1.expandTooltip, onSlotchange: this.handleTooltipSlotChange }), expandToggleNode));
163
+ ref: (el) => {
164
+ this.textInput = el;
165
+ } })))));
166
+ }
167
+ static get delegatesFocus() { return true; }
168
+ static get assetsDirs() { return ["assets"]; }
169
+ get el() { return index.getElement(this); }
170
+ static get watchers() { return {
171
+ "items": ["watchItemsHandler"],
172
+ "messageOverrides": ["onMessagesChange"],
173
+ "value": ["valueHandler"],
174
+ "effectiveLocale": ["effectiveLocaleChange"]
175
+ }; }
176
+ };
177
+ Filter.style = filterCss;
178
+
179
+ /*!
180
+ * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
181
+ * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
182
+ * v2.0.0
183
+ */
184
+ const CSS$2 = {
185
+ handle: "handle",
186
+ handleActivated: "handle--activated",
187
+ };
188
+ const ICONS = {
189
+ drag: "drag",
190
+ };
191
+
192
+ const handleCss = ":host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:flex}.handle{display:flex;align-items:center;justify-content:center;align-self:stretch;border-style:none;background-color:transparent;outline-color:transparent;color:var(--calcite-color-border-input);padding-block:0.75rem;padding-inline:0.25rem;line-height:0}.handle calcite-icon{color:inherit}:host(:not([disabled])) .handle{cursor:move}:host(:not([disabled])) .handle:hover{background-color:var(--calcite-color-foreground-2);color:var(--calcite-color-text-1)}:host(:not([disabled])) .handle:focus{color:var(--calcite-color-text-1);outline:2px solid var(--calcite-color-brand);outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}:host(:not([disabled])) .handle--activated{background-color:var(--calcite-color-foreground-3);color:var(--calcite-color-text-1)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([hidden]){display:none}[hidden]{display:none}";
193
+
194
+ const Handle = class {
195
+ constructor(hostRef) {
196
+ index.registerInstance(this, hostRef);
197
+ this.calciteHandleNudge = index.createEvent(this, "calciteHandleNudge", 6);
198
+ this.calciteInternalHandleChange = index.createEvent(this, "calciteInternalHandleChange", 6);
199
+ this.handleKeyDown = (event) => {
200
+ if (this.disabled) {
201
+ return;
202
+ }
203
+ switch (event.key) {
204
+ case " ":
205
+ this.activated = !this.activated;
206
+ event.preventDefault();
207
+ break;
208
+ case "ArrowUp":
209
+ if (!this.activated) {
210
+ return;
211
+ }
212
+ event.preventDefault();
213
+ this.calciteHandleNudge.emit({ direction: "up" });
214
+ break;
215
+ case "ArrowDown":
216
+ if (!this.activated) {
217
+ return;
218
+ }
219
+ event.preventDefault();
220
+ this.calciteHandleNudge.emit({ direction: "down" });
221
+ break;
222
+ }
223
+ };
224
+ this.handleBlur = () => {
225
+ if (this.disabled) {
226
+ return;
227
+ }
228
+ this.activated = false;
229
+ };
230
+ this.activated = false;
231
+ this.disabled = false;
232
+ this.dragHandle = undefined;
233
+ this.messages = undefined;
234
+ this.setPosition = undefined;
235
+ this.setSize = undefined;
236
+ this.label = undefined;
237
+ this.messageOverrides = undefined;
238
+ this.effectiveLocale = undefined;
239
+ this.defaultMessages = undefined;
240
+ }
241
+ handleAriaTextChange() {
242
+ const message = this.getAriaText("live");
243
+ if (message) {
244
+ this.calciteInternalHandleChange.emit({
245
+ message,
246
+ });
247
+ }
243
248
  }
249
+ onMessagesChange() {
250
+ /* wired up by t9n util */
251
+ }
252
+ //--------------------------------------------------------------------------
253
+ //
254
+ // Lifecycle
255
+ //
256
+ //--------------------------------------------------------------------------
257
+ connectedCallback() {
258
+ interactive.connectInteractive(this);
259
+ t9n.connectMessages(this);
260
+ locale.connectLocalized(this);
261
+ }
262
+ async componentWillLoad() {
263
+ loadable.setUpLoadableComponent(this);
264
+ await t9n.setUpMessages(this);
265
+ }
266
+ componentDidLoad() {
267
+ loadable.setComponentLoaded(this);
268
+ }
269
+ componentDidRender() {
270
+ interactive.updateHostInteraction(this);
271
+ }
272
+ disconnectedCallback() {
273
+ interactive.disconnectInteractive(this);
274
+ t9n.disconnectMessages(this);
275
+ locale.disconnectLocalized(this);
276
+ }
277
+ effectiveLocaleChange() {
278
+ t9n.updateMessages(this, this.effectiveLocale);
279
+ }
280
+ // --------------------------------------------------------------------------
281
+ //
282
+ // Methods
283
+ //
284
+ // --------------------------------------------------------------------------
285
+ /** Sets focus on the component. */
286
+ async setFocus() {
287
+ var _a;
288
+ await loadable.componentFocusable(this);
289
+ (_a = this.handleButton) === null || _a === void 0 ? void 0 : _a.focus();
290
+ }
291
+ // --------------------------------------------------------------------------
292
+ //
293
+ // Private Methods
294
+ //
295
+ // --------------------------------------------------------------------------
296
+ getAriaText(type) {
297
+ const { setPosition, setSize, label, messages, activated } = this;
298
+ if (!messages || !label || typeof setSize !== "number" || typeof setPosition !== "number") {
299
+ return null;
300
+ }
301
+ const text = type === "label"
302
+ ? activated
303
+ ? messages.dragHandleChange
304
+ : messages.dragHandleIdle
305
+ : activated
306
+ ? messages.dragHandleActive
307
+ : messages.dragHandleCommit;
308
+ const replacePosition = text.replace("{position}", setPosition.toString());
309
+ const replaceLabel = replacePosition.replace("{itemLabel}", label);
310
+ return replaceLabel.replace("{total}", setSize.toString());
311
+ }
312
+ // --------------------------------------------------------------------------
313
+ //
314
+ // Render Methods
315
+ //
316
+ // --------------------------------------------------------------------------
244
317
  render() {
245
- return (index.h(index.Host, { onCalciteActionMenuOpen: this.actionMenuOpenHandler }, index.h("slot", { onSlotchange: this.handleDefaultSlotChange }), this.renderBottomActionGroup()));
318
+ var _a;
319
+ return (
320
+ // Needs to be a span because of https://github.com/SortableJS/Sortable/issues/1486
321
+ index.h("span", { "aria-disabled": this.disabled ? dom.toAriaBoolean(this.disabled) : null, "aria-label": this.disabled ? null : this.getAriaText("label"), "aria-pressed": this.disabled ? null : dom.toAriaBoolean(this.activated), class: { [CSS$2.handle]: true, [CSS$2.handleActivated]: !this.disabled && this.activated }, onBlur: this.handleBlur, onKeyDown: this.handleKeyDown, role: "button", tabIndex: this.disabled ? null : 0, title: (_a = this.messages) === null || _a === void 0 ? void 0 : _a.dragHandle,
322
+ // eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
323
+ ref: (el) => {
324
+ this.handleButton = el;
325
+ } }, index.h("calcite-icon", { icon: ICONS.drag, scale: "s" })));
246
326
  }
247
327
  static get assetsDirs() { return ["assets"]; }
248
328
  get el() { return index.getElement(this); }
249
329
  static get watchers() { return {
250
- "expandDisabled": ["expandHandler"],
251
- "expanded": ["expandedHandler"],
252
- "layout": ["layoutHandler"],
253
- "overflowActionsDisabled": ["overflowDisabledHandler"],
330
+ "messages": ["handleAriaTextChange"],
331
+ "label": ["handleAriaTextChange"],
332
+ "activated": ["handleAriaTextChange"],
333
+ "setPosition": ["handleAriaTextChange"],
334
+ "setSize": ["handleAriaTextChange"],
254
335
  "messageOverrides": ["onMessagesChange"],
255
336
  "effectiveLocale": ["effectiveLocaleChange"]
256
337
  }; }
257
338
  };
258
- ActionBar.style = actionBarCss;
339
+ Handle.style = handleCss;
259
340
 
260
341
  /*!
261
342
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
262
343
  * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
263
344
  * v2.0.0
264
345
  */
265
- const CSS = {
346
+ const CSS$1 = {
266
347
  container: "container",
267
348
  table: "table",
268
349
  scrim: "scrim",
@@ -272,11 +353,31 @@ const CSS = {
272
353
  assistiveText: "assistive-text",
273
354
  };
274
355
  const debounceTimeout = 0;
275
- const SLOTS = {
356
+ const SLOTS$1 = {
276
357
  filterActionsStart: "filter-actions-start",
277
358
  filterActionsEnd: "filter-actions-end",
278
359
  };
279
360
 
361
+ /*!
362
+ * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
363
+ * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
364
+ * v2.0.0
365
+ */
366
+ const CSS = {
367
+ container: "container",
368
+ actionsStart: "actions-start",
369
+ contentStart: "content-start",
370
+ content: "content",
371
+ contentEnd: "content-end",
372
+ actionsEnd: "actions-end",
373
+ };
374
+ const SLOTS = {
375
+ actionsStart: "actions-start",
376
+ contentStart: "content-start",
377
+ contentEnd: "content-end",
378
+ actionsEnd: "actions-end",
379
+ };
380
+
280
381
  const listCss = ":host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:block}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.container{position:relative}.table-container{box-sizing:border-box;display:flex;inline-size:100%;flex-direction:column;background-color:transparent}.table-container *{box-sizing:border-box}.table{inline-size:100%;border-collapse:collapse}.stack{--calcite-stack-padding-inline:0;--calcite-stack-padding-block:0}::slotted(calcite-list-item){--tw-shadow:0 -1px 0 var(--calcite-color-border-3);--tw-shadow-colored:0 -1px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);margin-block-start:1px}::slotted(calcite-list-item:first-of-type){--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}::slotted(calcite-list-item[data-filter]){--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);margin-block-start:0px}.sticky-pos{position:sticky;inset-block-start:0px;z-index:var(--calcite-z-index-sticky);background-color:var(--calcite-color-foreground-1)}.sticky-pos th{padding:0px}.assistive-text{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}:host([hidden]){display:none}[hidden]{display:none}";
281
382
 
282
383
  const listItemSelector = "calcite-list-item";
@@ -648,9 +749,9 @@ const List = class {
648
749
  // --------------------------------------------------------------------------
649
750
  render() {
650
751
  const { loading, label, disabled, dataForFilter, filterEnabled, filterPlaceholder, filterText, hasFilterActionsStart, hasFilterActionsEnd, } = this;
651
- return (index.h("div", { class: CSS.container }, this.dragEnabled ? (index.h("span", { "aria-live": "assertive", class: CSS.assistiveText }, this.assistiveText)) : null, this.renderItemAriaLive(), loading ? index.h("calcite-scrim", { class: CSS.scrim, loading: loading }) : null, index.h("table", { "aria-busy": dom.toAriaBoolean(loading), "aria-label": label || "", class: CSS.table, onKeyDown: this.handleListKeydown, role: "treegrid" }, filterEnabled || hasFilterActionsStart || hasFilterActionsEnd ? (index.h("thead", null, index.h("tr", { class: { [CSS.sticky]: true } }, index.h("th", { colSpan: utils.MAX_COLUMNS }, index.h("calcite-stack", { class: CSS.stack }, index.h("slot", { name: SLOTS.filterActionsStart, onSlotchange: this.handleFilterActionsStartSlotChange, slot: resources.SLOTS.actionsStart }), index.h("calcite-filter", { "aria-label": filterPlaceholder, disabled: disabled, items: dataForFilter, onCalciteFilterChange: this.handleFilterChange, placeholder: filterPlaceholder, value: filterText,
752
+ return (index.h("div", { class: CSS$1.container }, this.dragEnabled ? (index.h("span", { "aria-live": "assertive", class: CSS$1.assistiveText }, this.assistiveText)) : null, this.renderItemAriaLive(), loading ? index.h("calcite-scrim", { class: CSS$1.scrim, loading: loading }) : null, index.h("table", { "aria-busy": dom.toAriaBoolean(loading), "aria-label": label || "", class: CSS$1.table, onKeyDown: this.handleListKeydown, role: "treegrid" }, filterEnabled || hasFilterActionsStart || hasFilterActionsEnd ? (index.h("thead", null, index.h("tr", { class: { [CSS$1.sticky]: true } }, index.h("th", { colSpan: utils.MAX_COLUMNS }, index.h("calcite-stack", { class: CSS$1.stack }, index.h("slot", { name: SLOTS$1.filterActionsStart, onSlotchange: this.handleFilterActionsStartSlotChange, slot: SLOTS.actionsStart }), index.h("calcite-filter", { "aria-label": filterPlaceholder, disabled: disabled, items: dataForFilter, onCalciteFilterChange: this.handleFilterChange, placeholder: filterPlaceholder, value: filterText,
652
753
  // eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
653
- ref: this.setFilterEl }), index.h("slot", { name: SLOTS.filterActionsEnd, onSlotchange: this.handleFilterActionsEndSlotChange, slot: resources.SLOTS.actionsEnd })))))) : null, index.h("tbody", { class: CSS.tableContainer }, index.h("slot", { onSlotchange: this.handleDefaultSlotChange })))));
754
+ ref: this.setFilterEl }), index.h("slot", { name: SLOTS$1.filterActionsEnd, onSlotchange: this.handleFilterActionsEndSlotChange, slot: SLOTS.actionsEnd })))))) : null, index.h("tbody", { class: CSS$1.tableContainer }, index.h("slot", { onSlotchange: this.handleDefaultSlotChange })))));
654
755
  }
655
756
  // --------------------------------------------------------------------------
656
757
  //
@@ -663,7 +764,7 @@ const List = class {
663
764
  locale: effectiveLocale,
664
765
  numberingSystem,
665
766
  };
666
- return !parentListEl ? (index.h("div", { "aria-live": "polite", class: CSS.assistiveText }, filterEnabled && filterText && (filteredData === null || filteredData === void 0 ? void 0 : filteredData.length) ? (index.h("div", { key: "aria-filter-enabled" }, messages.filterEnabled)) : null, index.h("div", { key: "aria-item-count" }, messages.total.replace("{count}", locale.numberStringFormatter.localize(enabledListItems.length.toString()))), enabledListItems.length ? (index.h("ol", { key: "aria-item-list" }, enabledListItems.map((item) => (index.h("li", null, item.label))))) : null)) : null;
767
+ return !parentListEl ? (index.h("div", { "aria-live": "polite", class: CSS$1.assistiveText }, filterEnabled && filterText && (filteredData === null || filteredData === void 0 ? void 0 : filteredData.length) ? (index.h("div", { key: "aria-filter-enabled" }, messages.filterEnabled)) : null, index.h("div", { key: "aria-item-count" }, messages.total.replace("{count}", locale.numberStringFormatter.localize(enabledListItems.length.toString()))), enabledListItems.length ? (index.h("ol", { key: "aria-item-list" }, enabledListItems.map((item) => (index.h("li", null, item.label))))) : null)) : null;
667
768
  }
668
769
  connectObserver() {
669
770
  var _a;
@@ -1198,6 +1299,66 @@ const ListItem = class {
1198
1299
  };
1199
1300
  ListItem.style = listItemCss;
1200
1301
 
1201
- exports.calcite_action_bar = ActionBar;
1302
+ const stackCss = ":host([disabled]) .content{cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) .content *,:host([disabled]) .content ::slotted(*){pointer-events:none}:host{display:flex;flex:1 1 0%;flex-direction:column}.container{display:flex;flex:1 1 auto;align-items:stretch;font-family:var(--calcite-sans-family);font-weight:var(--calcite-font-weight-normal);color:var(--calcite-color-text-2)}.content{display:flex;flex:1 1 auto;flex-direction:column;justify-content:center;font-size:var(--calcite-font-size--2);line-height:1.375;padding-inline:var(--calcite-stack-padding-inline, 0.75rem);padding-block:var(--calcite-stack-padding-block, 0.5rem)}.content-start{justify-content:flex-start}.content-end{justify-content:flex-end}.content-start,.content-end{flex:0 1 auto}.actions-start,.actions-end,.content-start,.content-end{display:flex;align-items:center}.content-start ::slotted(calcite-icon),.content-end ::slotted(calcite-icon){margin-inline:0.75rem;align-self:center}.actions-start ::slotted(calcite-action),.actions-start ::slotted(calcite-action-menu),.actions-start ::slotted(calcite-handle),.actions-start ::slotted(calcite-dropdown),.actions-end ::slotted(calcite-action),.actions-end ::slotted(calcite-action-menu),.actions-end ::slotted(calcite-handle),.actions-end ::slotted(calcite-dropdown){align-self:stretch;color:inherit}:host([hidden]){display:none}[hidden]{display:none}";
1303
+
1304
+ const Stack = class {
1305
+ constructor(hostRef) {
1306
+ index.registerInstance(this, hostRef);
1307
+ // --------------------------------------------------------------------------
1308
+ //
1309
+ // Private Methods
1310
+ //
1311
+ // --------------------------------------------------------------------------
1312
+ this.handleActionsStartSlotChange = (event) => {
1313
+ this.hasActionsStart = dom.slotChangeHasAssignedElement(event);
1314
+ };
1315
+ this.handleActionsEndSlotChange = (event) => {
1316
+ this.hasActionsEnd = dom.slotChangeHasAssignedElement(event);
1317
+ };
1318
+ this.handleContentStartSlotChange = (event) => {
1319
+ this.hasContentStart = dom.slotChangeHasAssignedElement(event);
1320
+ };
1321
+ this.handleContentEndSlotChange = (event) => {
1322
+ this.hasContentEnd = dom.slotChangeHasAssignedElement(event);
1323
+ };
1324
+ this.disabled = false;
1325
+ this.hasActionsStart = false;
1326
+ this.hasActionsEnd = false;
1327
+ this.hasContentStart = false;
1328
+ this.hasContentEnd = false;
1329
+ }
1330
+ // --------------------------------------------------------------------------
1331
+ //
1332
+ // Render Methods
1333
+ //
1334
+ // --------------------------------------------------------------------------
1335
+ renderActionsStart() {
1336
+ const { hasActionsStart } = this;
1337
+ return (index.h("div", { class: CSS.actionsStart, hidden: !hasActionsStart, key: "actions-start-container" }, index.h("slot", { name: SLOTS.actionsStart, onSlotchange: this.handleActionsStartSlotChange })));
1338
+ }
1339
+ renderActionsEnd() {
1340
+ const { hasActionsEnd } = this;
1341
+ return (index.h("div", { class: CSS.actionsEnd, hidden: !hasActionsEnd, key: "actions-end-container" }, index.h("slot", { name: SLOTS.actionsEnd, onSlotchange: this.handleActionsEndSlotChange })));
1342
+ }
1343
+ renderContentStart() {
1344
+ const { hasContentStart } = this;
1345
+ return (index.h("div", { class: CSS.contentStart, hidden: !hasContentStart }, index.h("slot", { name: SLOTS.contentStart, onSlotchange: this.handleContentStartSlotChange })));
1346
+ }
1347
+ renderDefaultContent() {
1348
+ return (index.h("div", { class: CSS.content }, index.h("slot", null)));
1349
+ }
1350
+ renderContentEnd() {
1351
+ const { hasContentEnd } = this;
1352
+ return (index.h("div", { class: CSS.contentEnd, hidden: !hasContentEnd }, index.h("slot", { name: SLOTS.contentEnd, onSlotchange: this.handleContentEndSlotChange })));
1353
+ }
1354
+ render() {
1355
+ return (index.h(index.Host, null, index.h("div", { class: CSS.container }, this.renderActionsStart(), this.renderContentStart(), this.renderDefaultContent(), this.renderContentEnd(), this.renderActionsEnd())));
1356
+ }
1357
+ };
1358
+ Stack.style = stackCss;
1359
+
1360
+ exports.calcite_filter = Filter;
1361
+ exports.calcite_handle = Handle;
1202
1362
  exports.calcite_list = List;
1203
1363
  exports.calcite_list_item = ListItem;
1364
+ exports.calcite_stack = Stack;