@esri/solutions-components 0.6.18 → 0.6.19

Sign up to get free protection for your applications and to get access to all the features.
Files changed (613) hide show
  1. package/dist/cjs/{ExpandToggle-18c74d06.js → ExpandToggle-39e472da.js} +1 -1
  2. package/dist/cjs/{FloatingArrow-8cc84cea.js → FloatingArrow-8c88459a.js} +1 -1
  3. package/dist/cjs/{Heading-c02158c2.js → Heading-8b27f655.js} +1 -1
  4. package/dist/cjs/{ar-3ed0e602.js → ar-6b662222.js} +5 -5
  5. package/dist/cjs/basemap-gallery_7.cjs.entry.js +7 -6
  6. package/dist/cjs/{bg-6057cefd.js → bg-fa2dc0d8.js} +5 -5
  7. package/dist/cjs/{bs-7a26fe7c.js → bs-feb3d9c5.js} +5 -5
  8. package/dist/cjs/buffer-tools_4.cjs.entry.js +7 -7
  9. package/dist/cjs/{ca-5f6c553c.js → ca-0277c48d.js} +5 -5
  10. package/dist/cjs/calcite-accordion-item.cjs.entry.js +2 -2
  11. package/dist/cjs/calcite-accordion.cjs.entry.js +1 -1
  12. package/dist/cjs/calcite-action-bar_3.cjs.entry.js +5 -5
  13. package/dist/cjs/calcite-action-group_2.cjs.entry.js +4 -4
  14. package/dist/cjs/calcite-action-pad.cjs.entry.js +5 -5
  15. package/dist/cjs/calcite-action_2.cjs.entry.js +6 -6
  16. package/dist/cjs/calcite-alert.cjs.entry.js +4 -4
  17. package/dist/cjs/calcite-avatar.cjs.entry.js +1 -1
  18. package/dist/cjs/calcite-block-section.cjs.entry.js +3 -3
  19. package/dist/cjs/calcite-block.cjs.entry.js +5 -5
  20. package/dist/cjs/calcite-button.cjs.entry.js +4 -4
  21. package/dist/cjs/calcite-card.cjs.entry.js +3 -3
  22. package/dist/cjs/calcite-checkbox_3.cjs.entry.js +4 -4
  23. package/dist/cjs/calcite-chip-group.cjs.entry.js +2 -2
  24. package/dist/cjs/calcite-chip.cjs.entry.js +4 -4
  25. package/dist/cjs/calcite-color-picker-hex-input_2.cjs.entry.js +2 -2
  26. package/dist/cjs/calcite-color-picker.cjs.entry.js +3 -3
  27. package/dist/cjs/calcite-combobox-item-group.cjs.entry.js +1 -1
  28. package/dist/cjs/calcite-combobox_6.cjs.entry.js +24 -20
  29. package/dist/cjs/calcite-date-picker-day_3.cjs.entry.js +2 -2
  30. package/dist/cjs/calcite-date-picker.cjs.entry.js +4 -4
  31. package/dist/cjs/calcite-fab.cjs.entry.js +2 -2
  32. package/dist/cjs/calcite-filter_3.cjs.entry.js +3 -3
  33. package/dist/cjs/calcite-flow-item.cjs.entry.js +3 -3
  34. package/dist/cjs/calcite-flow.cjs.entry.js +2 -2
  35. package/dist/cjs/calcite-graph.cjs.entry.js +1 -1
  36. package/dist/cjs/calcite-icon.cjs.entry.js +1 -1
  37. package/dist/cjs/calcite-inline-editable.cjs.entry.js +3 -3
  38. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +6 -6
  39. package/dist/cjs/calcite-input-number_2.cjs.entry.js +4 -4
  40. package/dist/cjs/{calcite-input-time-picker-c1aa4c8f.js → calcite-input-time-picker-0b068c1f.js} +53 -53
  41. package/dist/cjs/calcite-input-time-picker.cjs.entry.js +5 -5
  42. package/dist/cjs/calcite-input-time-zone.cjs.entry.js +4 -4
  43. package/dist/cjs/calcite-input_2.cjs.entry.js +4 -4
  44. package/dist/cjs/calcite-label.cjs.entry.js +1 -1
  45. package/dist/cjs/calcite-link.cjs.entry.js +2 -2
  46. package/dist/cjs/calcite-list-item-group.cjs.entry.js +1 -1
  47. package/dist/cjs/calcite-loader.cjs.entry.js +1 -1
  48. package/dist/cjs/calcite-menu-item.cjs.entry.js +3 -3
  49. package/dist/cjs/calcite-menu.cjs.entry.js +3 -3
  50. package/dist/cjs/calcite-meter.cjs.entry.js +3 -3
  51. package/dist/cjs/calcite-modal.cjs.entry.js +5 -5
  52. package/dist/cjs/calcite-navigation-logo.cjs.entry.js +2 -2
  53. package/dist/cjs/calcite-navigation-user.cjs.entry.js +2 -2
  54. package/dist/cjs/calcite-navigation.cjs.entry.js +2 -2
  55. package/dist/cjs/calcite-notice_2.cjs.entry.js +6 -6
  56. package/dist/cjs/calcite-option-group.cjs.entry.js +1 -1
  57. package/dist/cjs/calcite-option_2.cjs.entry.js +3 -3
  58. package/dist/cjs/calcite-pagination.cjs.entry.js +3 -3
  59. package/dist/cjs/calcite-panel_2.cjs.entry.js +5 -5
  60. package/dist/cjs/calcite-pick-list-group.cjs.entry.js +3 -3
  61. package/dist/cjs/calcite-pick-list-item.cjs.entry.js +4 -4
  62. package/dist/cjs/calcite-pick-list.cjs.entry.js +3 -3
  63. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +2 -2
  64. package/dist/cjs/calcite-radio-button.cjs.entry.js +3 -3
  65. package/dist/cjs/calcite-rating.cjs.entry.js +4 -4
  66. package/dist/cjs/calcite-scrim.cjs.entry.js +2 -2
  67. package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +3 -3
  68. package/dist/cjs/calcite-sheet.cjs.entry.js +3 -3
  69. package/dist/cjs/calcite-shell-center-row.cjs.entry.js +2 -2
  70. package/dist/cjs/calcite-shell-panel_14.cjs.entry.js +8 -8
  71. package/dist/cjs/calcite-sortable-list.cjs.entry.js +1 -1
  72. package/dist/cjs/calcite-split-button.cjs.entry.js +2 -2
  73. package/dist/cjs/calcite-stepper-item.cjs.entry.js +2 -2
  74. package/dist/cjs/calcite-stepper.cjs.entry.js +1 -1
  75. package/dist/cjs/calcite-switch.cjs.entry.js +3 -3
  76. package/dist/cjs/calcite-table-cell_2.cjs.entry.js +3 -3
  77. package/dist/cjs/calcite-table-row.cjs.entry.js +1 -1
  78. package/dist/cjs/calcite-table.cjs.entry.js +3 -3
  79. package/dist/cjs/calcite-text-area.cjs.entry.js +4 -4
  80. package/dist/cjs/calcite-tile-select-group.cjs.entry.js +1 -1
  81. package/dist/cjs/calcite-tile-select.cjs.entry.js +2 -2
  82. package/dist/cjs/calcite-tile.cjs.entry.js +2 -2
  83. package/dist/cjs/calcite-time-picker.cjs.entry.js +3 -3
  84. package/dist/cjs/calcite-tip-group.cjs.entry.js +1 -1
  85. package/dist/cjs/calcite-tip-manager.cjs.entry.js +3 -3
  86. package/dist/cjs/calcite-tip.cjs.entry.js +4 -4
  87. package/dist/cjs/card-manager_3.cjs.entry.js +8 -8
  88. package/dist/cjs/{conditionalSlot-c989690a.js → conditionalSlot-795790b5.js} +1 -1
  89. package/dist/cjs/crowdsource-manager.cjs.entry.js +5 -5
  90. package/dist/cjs/crowdsource-reporter.cjs.entry.js +1 -1
  91. package/dist/cjs/{cs-532325fc.js → cs-6f20de14.js} +5 -5
  92. package/dist/cjs/{da-41411e1e.js → da-d4b3c7de.js} +5 -5
  93. package/dist/cjs/{de-at-31452a36.js → de-at-b9df2464.js} +5 -5
  94. package/dist/cjs/{de-7faafe28.js → de-cd070c4c.js} +5 -5
  95. package/dist/cjs/{de-ch-c05ad794.js → de-ch-8012e3ac.js} +5 -5
  96. package/dist/cjs/deduct-calculator.cjs.entry.js +1 -1
  97. package/dist/cjs/{downloadUtils-121fd7ff.js → downloadUtils-3e8b45ec.js} +3 -3
  98. package/dist/cjs/edit-card_2.cjs.entry.js +3 -3
  99. package/dist/cjs/{el-336b9b7a.js → el-3bafc319.js} +5 -5
  100. package/dist/cjs/{en-au-274bdf3e.js → en-au-69ac6dd5.js} +5 -5
  101. package/dist/cjs/{en-ca-feb0dab0.js → en-ca-e2d69548.js} +5 -5
  102. package/dist/cjs/{en-gb-0d00325d.js → en-gb-43cbe44d.js} +5 -5
  103. package/dist/cjs/{es-13de9478.js → es-f809bdee.js} +5 -5
  104. package/dist/cjs/{es-mx-a889d63d.js → es-mx-cb6bdcde.js} +5 -5
  105. package/dist/cjs/{et-e8b90e16.js → et-d1fb804f.js} +5 -5
  106. package/dist/cjs/{fi-7a32cf84.js → fi-809e575d.js} +5 -5
  107. package/dist/cjs/{form-44895e53.js → form-78a3337d.js} +1 -1
  108. package/dist/cjs/{fr-ch-1b79327b.js → fr-ch-ec117c1a.js} +5 -5
  109. package/dist/cjs/{fr-4b281d52.js → fr-e300020c.js} +5 -5
  110. package/dist/cjs/{he-b155cf0c.js → he-f419115b.js} +5 -5
  111. package/dist/cjs/{hi-f036e41f.js → hi-0837fa9e.js} +5 -5
  112. package/dist/cjs/{hr-ef421ab5.js → hr-26c92b0c.js} +5 -5
  113. package/dist/cjs/{hu-9a9495fa.js → hu-b4348f61.js} +5 -5
  114. package/dist/cjs/{id-57d1c6f3.js → id-39ae2fbb.js} +5 -5
  115. package/dist/cjs/{index-ee37804b.js → index-1ffa261f.js} +48 -18
  116. package/dist/cjs/{index-feeb7b6a.js → index-2bdbac04.js} +1 -1
  117. package/dist/cjs/{index.es-5c0c137a.js → index.es-bf2ee853.js} +4 -4
  118. package/dist/cjs/{it-cd26a173.js → it-c0010df5.js} +5 -5
  119. package/dist/cjs/{it-ch-7704635a.js → it-ch-1d96ff25.js} +5 -5
  120. package/dist/cjs/{ja-a40fc95f.js → ja-d612ffd0.js} +5 -5
  121. package/dist/cjs/{ko-1ca619b7.js → ko-3bacee3c.js} +5 -5
  122. package/dist/cjs/layout-manager.cjs.entry.js +2 -2
  123. package/dist/cjs/list-item.cjs.entry.js +1 -1
  124. package/dist/cjs/{loadModules-f6df8d6a.js → loadModules-03328b9d.js} +1 -1
  125. package/dist/cjs/{loadable-5d36908d.js → loadable-d12ec307.js} +1 -1
  126. package/dist/cjs/loader.cjs.js +2 -2
  127. package/dist/cjs/{locale-67f5f6b6.js → locale-d50f3250.js} +1 -1
  128. package/dist/cjs/{lt-1d18afa8.js → lt-3d9fa497.js} +5 -5
  129. package/dist/cjs/{lv-142ba83c.js → lv-3b7eddb4.js} +5 -5
  130. package/dist/cjs/map-select-tools_3.cjs.entry.js +6 -6
  131. package/dist/cjs/{mk-fa7c661d.js → mk-06e25b87.js} +5 -5
  132. package/dist/cjs/{nb-bae4efed.js → nb-631e48ca.js} +5 -5
  133. package/dist/cjs/{nl-2a0ce458.js → nl-6db6ac0b.js} +5 -5
  134. package/dist/cjs/{openCloseComponent-078fbb79.js → openCloseComponent-cfafcccc.js} +1 -1
  135. package/dist/cjs/pci-calculator.cjs.entry.js +1 -1
  136. package/dist/cjs/{pl-bbd4edda.js → pl-a139e04e.js} +5 -5
  137. package/dist/cjs/{pt-br-36764205.js → pt-br-11aab00e.js} +5 -5
  138. package/dist/cjs/{pt-74ab8ef9.js → pt-f3d702ac.js} +5 -5
  139. package/dist/cjs/public-notification.cjs.entry.js +6 -6
  140. package/dist/cjs/{publicNotificationStore-610bd880.js → publicNotificationStore-9c812ef4.js} +1 -1
  141. package/dist/cjs/{ro-ce2e1b5a.js → ro-49c70e64.js} +5 -5
  142. package/dist/cjs/{ru-0349726f.js → ru-304563d2.js} +5 -5
  143. package/dist/cjs/{shared-list-render-a5fb8233.js → shared-list-render-e6464688.js} +1 -1
  144. package/dist/cjs/{sk-2a42230b.js → sk-a8fe9263.js} +5 -5
  145. package/dist/cjs/{sl-27146799.js → sl-bf82d012.js} +5 -5
  146. package/dist/cjs/solution-configuration.cjs.entry.js +4 -4
  147. package/dist/cjs/solution-contents_3.cjs.entry.js +4 -4
  148. package/dist/cjs/solution-item-icon.cjs.entry.js +1 -1
  149. package/dist/cjs/{solution-store-2414dd8a.js → solution-store-714601a2.js} +1 -1
  150. package/dist/cjs/solutions-components.cjs.js +3 -3
  151. package/dist/cjs/spatial-ref.cjs.entry.js +2 -2
  152. package/dist/cjs/{sr-72fa52b5.js → sr-4f2f9974.js} +5 -5
  153. package/dist/cjs/store-manager.cjs.entry.js +1 -1
  154. package/dist/cjs/{sv-c7abc43b.js → sv-a2916e2b.js} +5 -5
  155. package/dist/cjs/{t9n-a3d7ce48.js → t9n-c630f16d.js} +1 -1
  156. package/dist/cjs/{th-e7620fd7.js → th-c5f23e8f.js} +5 -5
  157. package/dist/cjs/{tr-c1f9956d.js → tr-0486b336.js} +5 -5
  158. package/dist/cjs/{uk-a5fc4e4a.js → uk-3cf18069.js} +5 -5
  159. package/dist/cjs/{utils-a4918620.js → utils-0f154174.js} +1 -1
  160. package/dist/cjs/{vi-bd88795c.js → vi-813fe8f6.js} +5 -5
  161. package/dist/cjs/{zh-cn-797be53d.js → zh-cn-e835d4ea.js} +5 -5
  162. package/dist/cjs/{zh-hk-d1f6cd4e.js → zh-hk-cdc4af5b.js} +5 -5
  163. package/dist/cjs/{zh-tw-0342f9c3.js → zh-tw-5a93dab8.js} +5 -5
  164. package/dist/collection/collection-manifest.json +2 -2
  165. package/dist/collection/components/card-manager/card-manager.js +1 -1
  166. package/dist/collection/components/crowdsource-manager/crowdsource-manager.css +1 -0
  167. package/dist/collection/components/crowdsource-manager/crowdsource-manager.js +2 -2
  168. package/dist/collection/components/floor-filter/floor-filter.js +20 -2
  169. package/dist/collection/components/layer-table/layer-table.js +3 -3
  170. package/dist/collection/components/map-layer-picker/map-layer-picker.js +15 -11
  171. package/dist/collection/components/map-picker/map-picker.css +1 -0
  172. package/dist/collection/components/map-tools/map-tools.js +1 -1
  173. package/dist/collection/components/solution-configuration/solution-configuration.js +7 -1
  174. package/dist/components/action-bar.js +7 -0
  175. package/dist/components/action-group.js +4 -0
  176. package/dist/components/action-menu.js +5 -1
  177. package/dist/components/action.js +3 -0
  178. package/dist/components/alert.js +8 -1
  179. package/dist/components/basemap-gallery2.js +2 -0
  180. package/dist/components/buffer-tools2.js +3 -0
  181. package/dist/components/button.js +4 -0
  182. package/dist/components/calcite-accordion.js +6 -1
  183. package/dist/components/calcite-action-pad.js +5 -0
  184. package/dist/components/calcite-block-section.js +3 -0
  185. package/dist/components/calcite-block.js +3 -0
  186. package/dist/components/calcite-card.js +3 -0
  187. package/dist/components/calcite-chip-group.js +3 -1
  188. package/dist/components/calcite-color-picker.js +9 -1
  189. package/dist/components/calcite-flow-item.js +3 -0
  190. package/dist/components/calcite-inline-editable.js +6 -1
  191. package/dist/components/calcite-input-date-picker.js +16 -1
  192. package/dist/components/calcite-input-time-picker.js +10 -0
  193. package/dist/components/calcite-input-time-zone.js +3 -0
  194. package/dist/components/calcite-menu-item.js +4 -1
  195. package/dist/components/calcite-meter.js +11 -0
  196. package/dist/components/calcite-option-group.js +3 -0
  197. package/dist/components/calcite-radio-button-group.js +6 -1
  198. package/dist/components/calcite-radio-button.js +6 -1
  199. package/dist/components/calcite-rating.js +4 -0
  200. package/dist/components/calcite-sheet.js +5 -1
  201. package/dist/components/calcite-split-button.js +3 -0
  202. package/dist/components/calcite-stepper-item.js +5 -1
  203. package/dist/components/calcite-stepper.js +7 -1
  204. package/dist/components/calcite-table-row.js +8 -1
  205. package/dist/components/calcite-table.js +10 -1
  206. package/dist/components/calcite-text-area.js +3 -0
  207. package/dist/components/calcite-tile-select.js +4 -1
  208. package/dist/components/calcite-tip-manager.js +5 -0
  209. package/dist/components/calcite-tip.js +3 -0
  210. package/dist/components/card-manager2.js +1 -1
  211. package/dist/components/chip.js +4 -1
  212. package/dist/components/color-picker-hex-input.js +2 -0
  213. package/dist/components/color-picker-swatch.js +2 -0
  214. package/dist/components/combobox-item.js +2 -0
  215. package/dist/components/combobox.js +14 -1
  216. package/dist/components/crowdsource-manager.js +3 -3
  217. package/dist/components/date-picker-month-header.js +4 -0
  218. package/dist/components/date-picker.js +8 -0
  219. package/dist/components/dropdown-group.js +3 -1
  220. package/dist/components/dropdown.js +9 -1
  221. package/dist/components/edit-card2.js +3 -0
  222. package/dist/components/filter2.js +5 -0
  223. package/dist/components/floor-filter2.js +5 -1
  224. package/dist/components/handle.js +8 -0
  225. package/dist/components/icon.js +3 -0
  226. package/dist/components/info-card2.js +4 -1
  227. package/dist/components/input-message.js +3 -0
  228. package/dist/components/input-number.js +8 -0
  229. package/dist/components/input-text.js +6 -0
  230. package/dist/components/input.js +9 -0
  231. package/dist/components/layer-table2.js +8 -4
  232. package/dist/components/list-item2.js +8 -1
  233. package/dist/components/list.js +8 -1
  234. package/dist/components/map-draw-tools2.js +3 -0
  235. package/dist/components/map-fullscreen2.js +2 -0
  236. package/dist/components/map-layer-picker2.js +17 -11
  237. package/dist/components/map-legend2.js +2 -0
  238. package/dist/components/map-picker2.js +4 -1
  239. package/dist/components/map-search2.js +3 -0
  240. package/dist/components/map-select-tools2.js +4 -1
  241. package/dist/components/map-tools2.js +7 -1
  242. package/dist/components/menu.js +5 -1
  243. package/dist/components/modal.js +7 -1
  244. package/dist/components/notice.js +5 -0
  245. package/dist/components/option.js +5 -0
  246. package/dist/components/pagination.js +3 -0
  247. package/dist/components/panel.js +3 -0
  248. package/dist/components/pick-list-item.js +9 -0
  249. package/dist/components/popover.js +11 -0
  250. package/dist/components/public-notification.js +8 -1
  251. package/dist/components/scrim.js +3 -0
  252. package/dist/components/segmented-control-item.js +2 -0
  253. package/dist/components/segmented-control.js +7 -1
  254. package/dist/components/select.js +4 -1
  255. package/dist/components/shell-panel.js +8 -0
  256. package/dist/components/slider.js +7 -1
  257. package/dist/components/solution-configuration.js +4 -1
  258. package/dist/components/solution-contents2.js +2 -0
  259. package/dist/components/solution-item-sharing2.js +2 -0
  260. package/dist/components/solution-item2.js +2 -0
  261. package/dist/components/solution-organization-variables2.js +2 -0
  262. package/dist/components/solution-resource-item2.js +2 -0
  263. package/dist/components/solution-template-data2.js +2 -0
  264. package/dist/components/solution-variables2.js +2 -0
  265. package/dist/components/spatial-ref2.js +2 -0
  266. package/dist/components/tab-nav.js +4 -1
  267. package/dist/components/tab-title.js +5 -1
  268. package/dist/components/table-cell.js +4 -0
  269. package/dist/components/table-header.js +5 -0
  270. package/dist/components/time-picker.js +6 -1
  271. package/dist/components/tooltip.js +7 -0
  272. package/dist/components/tree-item.js +5 -1
  273. package/dist/components/value-list.js +4 -1
  274. package/dist/esm/{ExpandToggle-cc557b88.js → ExpandToggle-583be90e.js} +1 -1
  275. package/dist/esm/{FloatingArrow-2ae40cab.js → FloatingArrow-f3c4aaad.js} +1 -1
  276. package/dist/esm/{Heading-e0cca2ac.js → Heading-28b8fc31.js} +1 -1
  277. package/dist/esm/{ar-ddf52dcc.js → ar-d7509316.js} +5 -5
  278. package/dist/esm/basemap-gallery_7.entry.js +7 -6
  279. package/dist/esm/{bg-6ae0e04d.js → bg-a6c0d55d.js} +5 -5
  280. package/dist/esm/{bs-b8b19908.js → bs-a98cc594.js} +5 -5
  281. package/dist/esm/buffer-tools_4.entry.js +7 -7
  282. package/dist/esm/{ca-35b5c182.js → ca-8d7b9677.js} +5 -5
  283. package/dist/esm/calcite-accordion-item.entry.js +2 -2
  284. package/dist/esm/calcite-accordion.entry.js +1 -1
  285. package/dist/esm/calcite-action-bar_3.entry.js +5 -5
  286. package/dist/esm/calcite-action-group_2.entry.js +4 -4
  287. package/dist/esm/calcite-action-pad.entry.js +5 -5
  288. package/dist/esm/calcite-action_2.entry.js +6 -6
  289. package/dist/esm/calcite-alert.entry.js +4 -4
  290. package/dist/esm/calcite-avatar.entry.js +1 -1
  291. package/dist/esm/calcite-block-section.entry.js +3 -3
  292. package/dist/esm/calcite-block.entry.js +5 -5
  293. package/dist/esm/calcite-button.entry.js +4 -4
  294. package/dist/esm/calcite-card.entry.js +3 -3
  295. package/dist/esm/calcite-checkbox_3.entry.js +4 -4
  296. package/dist/esm/calcite-chip-group.entry.js +2 -2
  297. package/dist/esm/calcite-chip.entry.js +4 -4
  298. package/dist/esm/calcite-color-picker-hex-input_2.entry.js +2 -2
  299. package/dist/esm/calcite-color-picker.entry.js +3 -3
  300. package/dist/esm/calcite-combobox-item-group.entry.js +1 -1
  301. package/dist/esm/calcite-combobox_6.entry.js +24 -20
  302. package/dist/esm/calcite-date-picker-day_3.entry.js +2 -2
  303. package/dist/esm/calcite-date-picker.entry.js +4 -4
  304. package/dist/esm/calcite-fab.entry.js +2 -2
  305. package/dist/esm/calcite-filter_3.entry.js +3 -3
  306. package/dist/esm/calcite-flow-item.entry.js +3 -3
  307. package/dist/esm/calcite-flow.entry.js +2 -2
  308. package/dist/esm/calcite-graph.entry.js +1 -1
  309. package/dist/esm/calcite-icon.entry.js +1 -1
  310. package/dist/esm/calcite-inline-editable.entry.js +3 -3
  311. package/dist/esm/calcite-input-date-picker.entry.js +6 -6
  312. package/dist/esm/calcite-input-number_2.entry.js +4 -4
  313. package/dist/esm/{calcite-input-time-picker-25074af7.js → calcite-input-time-picker-f5250903.js} +53 -53
  314. package/dist/esm/calcite-input-time-picker.entry.js +5 -5
  315. package/dist/esm/calcite-input-time-zone.entry.js +4 -4
  316. package/dist/esm/calcite-input_2.entry.js +4 -4
  317. package/dist/esm/calcite-label.entry.js +1 -1
  318. package/dist/esm/calcite-link.entry.js +2 -2
  319. package/dist/esm/calcite-list-item-group.entry.js +1 -1
  320. package/dist/esm/calcite-loader.entry.js +1 -1
  321. package/dist/esm/calcite-menu-item.entry.js +3 -3
  322. package/dist/esm/calcite-menu.entry.js +3 -3
  323. package/dist/esm/calcite-meter.entry.js +3 -3
  324. package/dist/esm/calcite-modal.entry.js +5 -5
  325. package/dist/esm/calcite-navigation-logo.entry.js +2 -2
  326. package/dist/esm/calcite-navigation-user.entry.js +2 -2
  327. package/dist/esm/calcite-navigation.entry.js +2 -2
  328. package/dist/esm/calcite-notice_2.entry.js +6 -6
  329. package/dist/esm/calcite-option-group.entry.js +1 -1
  330. package/dist/esm/calcite-option_2.entry.js +3 -3
  331. package/dist/esm/calcite-pagination.entry.js +3 -3
  332. package/dist/esm/calcite-panel_2.entry.js +5 -5
  333. package/dist/esm/calcite-pick-list-group.entry.js +3 -3
  334. package/dist/esm/calcite-pick-list-item.entry.js +4 -4
  335. package/dist/esm/calcite-pick-list.entry.js +3 -3
  336. package/dist/esm/calcite-radio-button-group.entry.js +2 -2
  337. package/dist/esm/calcite-radio-button.entry.js +3 -3
  338. package/dist/esm/calcite-rating.entry.js +4 -4
  339. package/dist/esm/calcite-scrim.entry.js +2 -2
  340. package/dist/esm/calcite-segmented-control_2.entry.js +3 -3
  341. package/dist/esm/calcite-sheet.entry.js +3 -3
  342. package/dist/esm/calcite-shell-center-row.entry.js +2 -2
  343. package/dist/esm/calcite-shell-panel_14.entry.js +8 -8
  344. package/dist/esm/calcite-sortable-list.entry.js +1 -1
  345. package/dist/esm/calcite-split-button.entry.js +2 -2
  346. package/dist/esm/calcite-stepper-item.entry.js +2 -2
  347. package/dist/esm/calcite-stepper.entry.js +1 -1
  348. package/dist/esm/calcite-switch.entry.js +3 -3
  349. package/dist/esm/calcite-table-cell_2.entry.js +3 -3
  350. package/dist/esm/calcite-table-row.entry.js +1 -1
  351. package/dist/esm/calcite-table.entry.js +3 -3
  352. package/dist/esm/calcite-text-area.entry.js +4 -4
  353. package/dist/esm/calcite-tile-select-group.entry.js +1 -1
  354. package/dist/esm/calcite-tile-select.entry.js +2 -2
  355. package/dist/esm/calcite-tile.entry.js +2 -2
  356. package/dist/esm/calcite-time-picker.entry.js +3 -3
  357. package/dist/esm/calcite-tip-group.entry.js +1 -1
  358. package/dist/esm/calcite-tip-manager.entry.js +3 -3
  359. package/dist/esm/calcite-tip.entry.js +4 -4
  360. package/dist/esm/card-manager_3.entry.js +8 -8
  361. package/dist/esm/{conditionalSlot-1fee63c6.js → conditionalSlot-7a5c509c.js} +1 -1
  362. package/dist/esm/crowdsource-manager.entry.js +5 -5
  363. package/dist/esm/crowdsource-reporter.entry.js +1 -1
  364. package/dist/esm/{cs-6b705d4a.js → cs-38f3de9d.js} +5 -5
  365. package/dist/esm/{da-98fb2f82.js → da-6ef39f6c.js} +5 -5
  366. package/dist/esm/{de-8c50f5a9.js → de-6aef04c8.js} +5 -5
  367. package/dist/esm/{de-at-1691a616.js → de-at-6617bb68.js} +5 -5
  368. package/dist/esm/{de-ch-79a84498.js → de-ch-552d1170.js} +5 -5
  369. package/dist/esm/deduct-calculator.entry.js +1 -1
  370. package/dist/esm/{downloadUtils-287994b1.js → downloadUtils-13d9188b.js} +3 -3
  371. package/dist/esm/edit-card_2.entry.js +3 -3
  372. package/dist/esm/{el-190e7ae2.js → el-36c2f66f.js} +5 -5
  373. package/dist/esm/{en-au-0ef540f4.js → en-au-d58f85c1.js} +5 -5
  374. package/dist/esm/{en-ca-7620d498.js → en-ca-1693b17f.js} +5 -5
  375. package/dist/esm/{en-gb-9979e5e6.js → en-gb-827d54cc.js} +5 -5
  376. package/dist/esm/{es-684f674f.js → es-adb3fd4e.js} +5 -5
  377. package/dist/esm/{es-mx-6557f849.js → es-mx-82199d09.js} +5 -5
  378. package/dist/esm/{et-39dc88ee.js → et-af7f407f.js} +5 -5
  379. package/dist/esm/{fi-ae888a7e.js → fi-37c08e8e.js} +5 -5
  380. package/dist/esm/{form-65431957.js → form-a6c0a47e.js} +1 -1
  381. package/dist/esm/{fr-0f3e5633.js → fr-1dbd68cf.js} +5 -5
  382. package/dist/esm/{fr-ch-1d3f3d8b.js → fr-ch-0da3f9d5.js} +5 -5
  383. package/dist/esm/{he-ded822de.js → he-970bc7e6.js} +5 -5
  384. package/dist/esm/{hi-2ac80022.js → hi-e332f8ea.js} +5 -5
  385. package/dist/esm/{hr-394e5f6e.js → hr-e7103f84.js} +5 -5
  386. package/dist/esm/{hu-20e6d5bf.js → hu-876d56a7.js} +5 -5
  387. package/dist/esm/{id-b3e29596.js → id-c53da15f.js} +5 -5
  388. package/dist/esm/{index-c7de2486.js → index-0740c914.js} +48 -18
  389. package/dist/esm/{index-f4bd5aa3.js → index-71d123d4.js} +1 -1
  390. package/dist/esm/{index.es-a3f8409f.js → index.es-edd974bc.js} +4 -4
  391. package/dist/esm/{it-ch-310cd66d.js → it-ch-c7aeaf03.js} +5 -5
  392. package/dist/esm/{it-fd4ce07f.js → it-f98d068c.js} +5 -5
  393. package/dist/esm/{ja-491a796f.js → ja-596aa74d.js} +5 -5
  394. package/dist/esm/{ko-4b0e597a.js → ko-bdf2643b.js} +5 -5
  395. package/dist/esm/layout-manager.entry.js +2 -2
  396. package/dist/esm/list-item.entry.js +1 -1
  397. package/dist/esm/{loadModules-2880c7e3.js → loadModules-687a30c5.js} +1 -1
  398. package/dist/esm/{loadable-d0274dee.js → loadable-54096620.js} +1 -1
  399. package/dist/esm/loader.js +3 -3
  400. package/dist/esm/{locale-9624832c.js → locale-6be4e8f0.js} +1 -1
  401. package/dist/esm/{lt-e3b6faa8.js → lt-029144ad.js} +5 -5
  402. package/dist/esm/{lv-843c127b.js → lv-00292bd8.js} +5 -5
  403. package/dist/esm/map-select-tools_3.entry.js +6 -6
  404. package/dist/esm/{mk-7d312f03.js → mk-ca84aaa7.js} +5 -5
  405. package/dist/esm/{nb-2e44a8ff.js → nb-3a17d242.js} +5 -5
  406. package/dist/esm/{nl-672e572a.js → nl-42fe3f2b.js} +5 -5
  407. package/dist/esm/{openCloseComponent-c3d01cbc.js → openCloseComponent-fd76e488.js} +1 -1
  408. package/dist/esm/pci-calculator.entry.js +1 -1
  409. package/dist/esm/{pl-2d04d234.js → pl-8ccccfb6.js} +5 -5
  410. package/dist/esm/{pt-03401582.js → pt-470ef28a.js} +5 -5
  411. package/dist/esm/{pt-br-d672a5e9.js → pt-br-15c5e95d.js} +5 -5
  412. package/dist/esm/public-notification.entry.js +6 -6
  413. package/dist/esm/{publicNotificationStore-dcf39a55.js → publicNotificationStore-f25d1e95.js} +1 -1
  414. package/dist/esm/{ro-af820149.js → ro-6ccfabcf.js} +5 -5
  415. package/dist/esm/{ru-1a0cd9d9.js → ru-4ca6ea5c.js} +5 -5
  416. package/dist/esm/{shared-list-render-e8aa5fa4.js → shared-list-render-0d4accf0.js} +1 -1
  417. package/dist/esm/{sk-1e1c79eb.js → sk-d2cc438e.js} +5 -5
  418. package/dist/esm/{sl-a99cc70f.js → sl-fa960833.js} +5 -5
  419. package/dist/esm/solution-configuration.entry.js +4 -4
  420. package/dist/esm/solution-contents_3.entry.js +4 -4
  421. package/dist/esm/solution-item-icon.entry.js +1 -1
  422. package/dist/esm/{solution-store-e734626a.js → solution-store-3ee6c7a3.js} +1 -1
  423. package/dist/esm/solutions-components.js +4 -4
  424. package/dist/esm/spatial-ref.entry.js +2 -2
  425. package/dist/esm/{sr-17c90387.js → sr-e13a01d0.js} +5 -5
  426. package/dist/esm/store-manager.entry.js +1 -1
  427. package/dist/esm/{sv-3a1f0f81.js → sv-ce009db9.js} +5 -5
  428. package/dist/esm/{t9n-142cc7d6.js → t9n-1eaba69b.js} +1 -1
  429. package/dist/esm/{th-5b5e589e.js → th-bd60a4c0.js} +5 -5
  430. package/dist/esm/{tr-2abb582d.js → tr-b117b905.js} +5 -5
  431. package/dist/esm/{uk-c4017d1c.js → uk-d75d58c8.js} +5 -5
  432. package/dist/esm/{utils-25bc3baa.js → utils-bc49354a.js} +1 -1
  433. package/dist/esm/{vi-7fcdb1c9.js → vi-d7057f94.js} +5 -5
  434. package/dist/esm/{zh-cn-dd3f8e1a.js → zh-cn-21968b0c.js} +5 -5
  435. package/dist/esm/{zh-hk-c3cc3efa.js → zh-hk-848e7600.js} +5 -5
  436. package/dist/esm/{zh-tw-9795e61e.js → zh-tw-9930054d.js} +5 -5
  437. package/dist/solutions-components/{p-5ce6c4f9.js → p-0014f93f.js} +1 -1
  438. package/dist/solutions-components/{p-172c2ff8.js → p-01a8ab25.js} +1 -1
  439. package/dist/solutions-components/{p-01b8dcb9.entry.js → p-01f06f9a.entry.js} +1 -1
  440. package/dist/solutions-components/{p-794f5ecf.entry.js → p-02637c3c.entry.js} +1 -1
  441. package/dist/solutions-components/{p-b08b69f3.entry.js → p-0272b972.entry.js} +3 -3
  442. package/dist/solutions-components/{p-34471053.entry.js → p-037f2f52.entry.js} +1 -1
  443. package/dist/solutions-components/{p-31c9aa38.entry.js → p-04660d48.entry.js} +1 -1
  444. package/dist/solutions-components/{p-d67cd53a.entry.js → p-04735c27.entry.js} +1 -1
  445. package/dist/solutions-components/{p-0dab4c93.js → p-05948b48.js} +1 -1
  446. package/dist/solutions-components/{p-04115935.entry.js → p-06bc850e.entry.js} +1 -1
  447. package/dist/solutions-components/{p-3f749459.entry.js → p-08b96a9c.entry.js} +1 -1
  448. package/dist/solutions-components/{p-77b3a53c.entry.js → p-09dda965.entry.js} +2 -2
  449. package/dist/solutions-components/{p-0bc27ba7.entry.js → p-0aac33f5.entry.js} +1 -1
  450. package/dist/solutions-components/{p-80465067.entry.js → p-0d773964.entry.js} +1 -1
  451. package/dist/solutions-components/{p-2e8ac8d0.entry.js → p-10131b72.entry.js} +1 -1
  452. package/dist/solutions-components/{p-745c7800.js → p-10f990d1.js} +1 -1
  453. package/dist/solutions-components/{p-267b290f.js → p-112c7f0b.js} +1 -1
  454. package/dist/solutions-components/p-12e15eaa.js +11 -0
  455. package/dist/solutions-components/{p-f35147d5.entry.js → p-13b21d19.entry.js} +2 -2
  456. package/dist/solutions-components/{p-25489aec.entry.js → p-1468af6d.entry.js} +1 -1
  457. package/dist/solutions-components/{p-768de060.entry.js → p-15b2c977.entry.js} +1 -1
  458. package/dist/solutions-components/{p-280fcaab.entry.js → p-1ac699f8.entry.js} +1 -1
  459. package/dist/solutions-components/{p-9c79de73.entry.js → p-1b5fdc60.entry.js} +1 -1
  460. package/dist/solutions-components/{p-7810711d.js → p-1ed04a5a.js} +1 -1
  461. package/dist/solutions-components/{p-035a137a.entry.js → p-1fcee160.entry.js} +1 -1
  462. package/dist/solutions-components/p-2040681e.js +6 -0
  463. package/dist/solutions-components/{p-6b5f3b85.entry.js → p-22025739.entry.js} +1 -1
  464. package/dist/solutions-components/p-22edbea5.entry.js +6 -0
  465. package/dist/solutions-components/{p-129e03dd.entry.js → p-236b2000.entry.js} +1 -1
  466. package/dist/solutions-components/{p-fedd0f22.js → p-2406fda3.js} +1 -1
  467. package/dist/solutions-components/{p-7e378eb0.js → p-272018eb.js} +1 -1
  468. package/dist/solutions-components/{p-f524cc5b.entry.js → p-27492081.entry.js} +1 -1
  469. package/dist/solutions-components/{p-6fd92ce9.entry.js → p-296909a6.entry.js} +1 -1
  470. package/dist/solutions-components/{p-45f50640.js → p-29e42601.js} +1 -1
  471. package/dist/solutions-components/{p-b6babf4d.js → p-2a23b33c.js} +1 -1
  472. package/dist/solutions-components/{p-1139acc7.js → p-2b749168.js} +1 -1
  473. package/dist/solutions-components/{p-430a06d9.js → p-2ed7930b.js} +1 -1
  474. package/dist/solutions-components/{p-bb2a526a.entry.js → p-2ffbb0aa.entry.js} +1 -1
  475. package/dist/solutions-components/{p-baac72ec.entry.js → p-32d8a04d.entry.js} +1 -1
  476. package/dist/solutions-components/{p-b8859882.entry.js → p-33247dbf.entry.js} +1 -1
  477. package/dist/solutions-components/{p-3399ccfd.js → p-345a4781.js} +1 -1
  478. package/dist/solutions-components/{p-1ab414e0.js → p-375fd36b.js} +2 -2
  479. package/dist/solutions-components/{p-1cb9e670.js → p-38dcc542.js} +1 -1
  480. package/dist/solutions-components/{p-4b31c994.entry.js → p-41ee9121.entry.js} +1 -1
  481. package/dist/solutions-components/{p-7f76fe11.js → p-44f8ec67.js} +1 -1
  482. package/dist/solutions-components/{p-cc462e38.js → p-482534a7.js} +1 -1
  483. package/dist/solutions-components/{p-cbd1313c.entry.js → p-499bc634.entry.js} +2 -2
  484. package/dist/solutions-components/{p-80fea327.js → p-4a382f62.js} +1 -1
  485. package/dist/solutions-components/{p-4a3cdcab.js → p-4caa1f9d.js} +1 -1
  486. package/dist/solutions-components/{p-3166f85f.entry.js → p-4dd80a57.entry.js} +1 -1
  487. package/dist/solutions-components/{p-34a6324f.js → p-4f35e0b8.js} +1 -1
  488. package/dist/solutions-components/{p-b0f131a3.entry.js → p-521e30a8.entry.js} +1 -1
  489. package/dist/solutions-components/{p-0a883f51.entry.js → p-52db1792.entry.js} +1 -1
  490. package/dist/solutions-components/{p-f913ed49.entry.js → p-52f0f3ad.entry.js} +1 -1
  491. package/dist/solutions-components/{p-3cc30e11.entry.js → p-53fe14b3.entry.js} +1 -1
  492. package/dist/solutions-components/{p-64945b43.entry.js → p-573d2241.entry.js} +2 -2
  493. package/dist/solutions-components/{p-19c5e43e.entry.js → p-575f731c.entry.js} +1 -1
  494. package/dist/solutions-components/{p-60395ffe.entry.js → p-579cc100.entry.js} +1 -1
  495. package/dist/solutions-components/{p-b1b646e2.js → p-57f2b4f9.js} +1 -1
  496. package/dist/solutions-components/{p-698c6a56.js → p-58c2de0d.js} +2 -2
  497. package/dist/solutions-components/{p-6e8a194d.js → p-58da33ce.js} +1 -1
  498. package/dist/solutions-components/{p-bf528ffd.js → p-595b6177.js} +1 -1
  499. package/dist/solutions-components/{p-ba5bb069.js → p-5c83c577.js} +1 -1
  500. package/dist/solutions-components/{p-d32b683a.js → p-5dc13b6d.js} +2 -2
  501. package/dist/solutions-components/{p-15a9fe95.entry.js → p-5e8dee25.entry.js} +1 -1
  502. package/dist/solutions-components/{p-344f18cb.js → p-61f3b001.js} +1 -1
  503. package/dist/solutions-components/{p-469c8f8a.js → p-63a6c23c.js} +1 -1
  504. package/dist/solutions-components/{p-eb58da32.entry.js → p-649e12c3.entry.js} +1 -1
  505. package/dist/solutions-components/{p-4a1177cb.js → p-6610bad4.js} +1 -1
  506. package/dist/solutions-components/{p-c6ec3442.js → p-66380f26.js} +1 -1
  507. package/dist/solutions-components/{p-5ef595d1.entry.js → p-672d79f2.entry.js} +1 -1
  508. package/dist/solutions-components/{p-936f3d55.js → p-68b33cb6.js} +1 -1
  509. package/dist/solutions-components/{p-78d2e50c.entry.js → p-6954fc16.entry.js} +1 -1
  510. package/dist/solutions-components/{p-ab1136be.entry.js → p-6d50909d.entry.js} +1 -1
  511. package/dist/solutions-components/{p-7501734c.js → p-6e5bbdbd.js} +1 -1
  512. package/dist/solutions-components/{p-bca7e7eb.entry.js → p-6e89bbec.entry.js} +1 -1
  513. package/dist/solutions-components/{p-9d8f7215.js → p-6eecc279.js} +1 -1
  514. package/dist/solutions-components/{p-4797a3cf.entry.js → p-6f012379.entry.js} +1 -1
  515. package/dist/solutions-components/{p-8bed242f.entry.js → p-70c370a9.entry.js} +1 -1
  516. package/dist/solutions-components/{p-eaf5987f.js → p-71d0f30c.js} +1 -1
  517. package/dist/solutions-components/{p-cef70b7a.entry.js → p-740ef07f.entry.js} +1 -1
  518. package/dist/solutions-components/{p-dfd2bfd2.entry.js → p-7758f01f.entry.js} +1 -1
  519. package/dist/solutions-components/{p-14476bd9.js → p-7814f6db.js} +1 -1
  520. package/dist/solutions-components/{p-92ad7b80.entry.js → p-790dac6b.entry.js} +1 -1
  521. package/dist/solutions-components/{p-4e1cd165.entry.js → p-79396110.entry.js} +1 -1
  522. package/dist/solutions-components/p-79c55b19.entry.js +6 -0
  523. package/dist/solutions-components/{p-c52751f2.js → p-7c23c4cd.js} +1 -1
  524. package/dist/solutions-components/{p-c53e947f.entry.js → p-7d347571.entry.js} +1 -1
  525. package/dist/solutions-components/{p-5b8c8942.entry.js → p-7d7b7536.entry.js} +1 -1
  526. package/dist/solutions-components/{p-2a4dee2f.entry.js → p-7e2220d7.entry.js} +1 -1
  527. package/dist/solutions-components/{p-07163369.entry.js → p-7e6b953a.entry.js} +1 -1
  528. package/dist/solutions-components/{p-d65c4d90.entry.js → p-7f8be8cd.entry.js} +1 -1
  529. package/dist/solutions-components/{p-d2f24ad1.js → p-81a962c3.js} +1 -1
  530. package/dist/solutions-components/{p-2bfb8046.entry.js → p-85287a5e.entry.js} +2 -2
  531. package/dist/solutions-components/{p-76aba0ae.entry.js → p-892075e5.entry.js} +2 -2
  532. package/dist/solutions-components/{p-1603e9ff.js → p-89fc9c87.js} +2 -2
  533. package/dist/solutions-components/{p-3abd1256.entry.js → p-8cf4fd05.entry.js} +1 -1
  534. package/dist/solutions-components/{p-45489c38.js → p-903aa065.js} +1 -1
  535. package/dist/solutions-components/p-91c78d98.js +7 -0
  536. package/dist/solutions-components/{p-96fe0805.entry.js → p-947d032f.entry.js} +1 -1
  537. package/dist/solutions-components/{p-0c48d072.js → p-965495c7.js} +1 -1
  538. package/dist/solutions-components/{p-e755a394.entry.js → p-9654f62f.entry.js} +1 -1
  539. package/dist/solutions-components/{p-423e9751.entry.js → p-97082d8d.entry.js} +1 -1
  540. package/dist/solutions-components/{p-22833bd3.js → p-99d8a839.js} +1 -1
  541. package/dist/solutions-components/{p-af7c14db.js → p-9b3e8d42.js} +1 -1
  542. package/dist/solutions-components/{p-57e866b8.js → p-9c5e66fe.js} +1 -1
  543. package/dist/solutions-components/{p-f57ac880.entry.js → p-9de59894.entry.js} +1 -1
  544. package/dist/solutions-components/{p-73fb22e6.js → p-9f7d7413.js} +1 -1
  545. package/dist/solutions-components/{p-63c6fc29.entry.js → p-a3ef570f.entry.js} +1 -1
  546. package/dist/solutions-components/{p-2c551d05.entry.js → p-a4328542.entry.js} +1 -1
  547. package/dist/solutions-components/{p-1930b17b.js → p-a452c2a8.js} +1 -1
  548. package/dist/solutions-components/{p-b955d734.entry.js → p-a62ec89b.entry.js} +1 -1
  549. package/dist/solutions-components/{p-30d623da.js → p-a6cf2623.js} +2 -2
  550. package/dist/solutions-components/{p-8cb140c1.js → p-a7d5752b.js} +1 -1
  551. package/dist/solutions-components/{p-c26d8b36.entry.js → p-a8a80924.entry.js} +1 -1
  552. package/dist/solutions-components/{p-ef7f84f3.js → p-ab857e6d.js} +1 -1
  553. package/dist/solutions-components/{p-846df994.entry.js → p-ac7332b3.entry.js} +1 -1
  554. package/dist/solutions-components/{p-9b274fb7.entry.js → p-ae443c91.entry.js} +1 -1
  555. package/dist/solutions-components/{p-90da2ee4.entry.js → p-af25c24c.entry.js} +3 -3
  556. package/dist/solutions-components/{p-02306194.entry.js → p-af68933d.entry.js} +1 -1
  557. package/dist/solutions-components/{p-f21953d6.js → p-b73319e1.js} +1 -1
  558. package/dist/solutions-components/{p-6767ad18.entry.js → p-bb6f49fb.entry.js} +1 -1
  559. package/dist/solutions-components/{p-732d1f36.entry.js → p-bf48be66.entry.js} +1 -1
  560. package/dist/solutions-components/{p-6fd5cad1.js → p-c1a86a7f.js} +1 -1
  561. package/dist/solutions-components/{p-1f555ffc.js → p-c347875f.js} +1 -1
  562. package/dist/solutions-components/{p-f670a739.js → p-c5fd52fa.js} +1 -1
  563. package/dist/solutions-components/{p-2379bf72.entry.js → p-c69de0fa.entry.js} +1 -1
  564. package/dist/solutions-components/{p-7c5eaf19.js → p-c6c4ed96.js} +1 -1
  565. package/dist/solutions-components/{p-3c5c1487.entry.js → p-ceffb944.entry.js} +2 -2
  566. package/dist/solutions-components/{p-e01bf2ec.entry.js → p-cfdb15b7.entry.js} +1 -1
  567. package/dist/solutions-components/{p-b3f8d2cb.js → p-d0544f24.js} +1 -1
  568. package/dist/solutions-components/{p-01eb495b.entry.js → p-d2fab6cd.entry.js} +1 -1
  569. package/dist/solutions-components/{p-7749e304.entry.js → p-d31fe523.entry.js} +1 -1
  570. package/dist/solutions-components/{p-6ac61b3a.entry.js → p-d9229a22.entry.js} +1 -1
  571. package/dist/solutions-components/{p-e28bec90.js → p-dac63a50.js} +1 -1
  572. package/dist/solutions-components/{p-252a1df3.entry.js → p-dc38fe60.entry.js} +1 -1
  573. package/dist/solutions-components/{p-753da967.entry.js → p-dd7e8e5d.entry.js} +1 -1
  574. package/dist/solutions-components/{p-28238078.js → p-dec91018.js} +1 -1
  575. package/dist/solutions-components/{p-734cb206.entry.js → p-e03226cf.entry.js} +1 -1
  576. package/dist/solutions-components/{p-493efa67.entry.js → p-e4bd7ed1.entry.js} +1 -1
  577. package/dist/solutions-components/{p-12faff7c.js → p-e5e60190.js} +1 -1
  578. package/dist/solutions-components/{p-e4a3a8a2.entry.js → p-e770c412.entry.js} +1 -1
  579. package/dist/solutions-components/{p-38eb91d3.js → p-e7c11602.js} +1 -1
  580. package/dist/solutions-components/{p-b27c416e.entry.js → p-e851ead7.entry.js} +1 -1
  581. package/dist/solutions-components/{p-9f193b28.entry.js → p-e85ee6f1.entry.js} +1 -1
  582. package/dist/solutions-components/{p-d89050c9.js → p-e9148c7b.js} +2 -2
  583. package/dist/solutions-components/{p-2c99a243.js → p-e9ae9ec7.js} +1 -1
  584. package/dist/solutions-components/{p-8abdcfa4.js → p-e9f128b3.js} +1 -1
  585. package/dist/solutions-components/{p-1d84e73c.js → p-eb5e6881.js} +1 -1
  586. package/dist/solutions-components/{p-bfc9d4b0.entry.js → p-ecd5e842.entry.js} +1 -1
  587. package/dist/solutions-components/{p-66dd455f.entry.js → p-f2c3068e.entry.js} +1 -1
  588. package/dist/solutions-components/{p-86885106.js → p-f53a8e59.js} +1 -1
  589. package/dist/solutions-components/{p-cb6bba8a.entry.js → p-f5523c9d.entry.js} +2 -2
  590. package/dist/solutions-components/{p-b6e89988.entry.js → p-fa124fdf.entry.js} +1 -1
  591. package/dist/solutions-components/{p-29c26a5d.entry.js → p-fa3732fa.entry.js} +1 -1
  592. package/dist/solutions-components/{p-69cb8427.js → p-fad93fd0.js} +1 -1
  593. package/dist/solutions-components/{p-d22be647.entry.js → p-fb1a6e2e.entry.js} +1 -1
  594. package/dist/solutions-components/{p-71fb484a.entry.js → p-fc0ca498.entry.js} +2 -2
  595. package/dist/solutions-components/{p-e39f0574.js → p-ff40cfb2.js} +1 -1
  596. package/dist/solutions-components/{p-ff4351b7.entry.js → p-ff863f16.entry.js} +1 -1
  597. package/dist/solutions-components/{p-016f47e2.entry.js → p-ffb567ab.entry.js} +1 -1
  598. package/dist/solutions-components/solutions-components.esm.js +1 -1
  599. package/dist/types/components/floor-filter/floor-filter.d.ts +4 -0
  600. package/dist/types/components/map-layer-picker/map-layer-picker.d.ts +9 -5
  601. package/dist/types/components.d.ts +8 -0
  602. package/dist/types/stencil-public-runtime.d.ts +3 -3
  603. package/package.json +1 -1
  604. package/dist/esm/polyfills/core-js.js +0 -11
  605. package/dist/esm/polyfills/dom.js +0 -79
  606. package/dist/esm/polyfills/es5-html-element.js +0 -1
  607. package/dist/esm/polyfills/index.js +0 -34
  608. package/dist/esm/polyfills/system.js +0 -6
  609. package/dist/solutions-components/p-33613993.js +0 -7
  610. package/dist/solutions-components/p-5079b190.js +0 -11
  611. package/dist/solutions-components/p-770bff06.entry.js +0 -6
  612. package/dist/solutions-components/p-7741dbab.entry.js +0 -6
  613. package/dist/solutions-components/p-fec5368b.js +0 -6
@@ -3,4 +3,4 @@
3
3
  * Licensed under the Apache License, Version 2.0
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
- import{r as t,c as i,h as e,H as s,g as a}from"./p-33613993.js";import{s as l}from"./p-b3f8d2cb.js";import{g as n}from"./p-22833bd3.js";import{n as c}from"./p-1b228f97.js";import"./p-cc462e38.js";import"./p-2a58e378.js";import"./p-ff0d7712.js";import"./p-e1a4994d.js";import"./p-ecc95259.js";const r=class{constructor(e){t(this,e),this.solutionItemSelected=i(this,"solutionItemSelected",7),this.selectedItemId=void 0,this.templateHierarchy=[]}valueWatchHandler(t,i){t&&t!==i&&Array.isArray(t)&&t.length>0&&this._treeItemSelected(t[0].id)}componentWillLoad(){this.valueWatchHandler(this.templateHierarchy,[])}render(){return e(s,null,e("calcite-tree",null,this.renderHierarchy(this.templateHierarchy)))}renderHierarchy(t){return t.map((t=>{const i=this.selectedItemId&&this.selectedItemId===t.id;return t.dependencies&&t.dependencies.length>0?e("calcite-tree-item",{onClick:i=>this._treeItemSelected(t.id,i),selected:i},e("solution-item-icon",{type:t.type,typeKeywords:t.typeKeywords}),e("span",{class:"icon-text",title:t.title},t.title),e("calcite-tree",{slot:"children"},this.renderHierarchy(t.dependencies))):e("calcite-tree-item",{onClick:i=>this._treeItemSelected(t.id,i),selected:i},e("solution-item-icon",{type:t.type,typeKeywords:t.typeKeywords}),e("span",{class:"icon-text",title:t.title},t.title))}))}_treeItemSelected(t,i){var e;const s=null===(e=null==i?void 0:i.target)||void 0===e?void 0:e.closest("calcite-tree-item");s&&(s.expanded=!(null==s?void 0:s.expanded)),this.selectedItemId=t,this.solutionItemSelected.emit(t)}static get assetsDirs(){return["item-type-icons"]}get el(){return a(this)}static get watchers(){return{templateHierarchy:["valueWatchHandler"]}}};r.style=".icon-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}";const o=class{constructor(i){t(this,i),this.authentication=void 0,this.itemId="",this.solutionVariables="",this.organizationVariables="",this.itemType=void 0,this._translations=void 0}itemIdWatchHandler(){const t=l.getItemInfo(this.itemId);this.itemType=t.type}async componentWillLoad(){return this._getTranslations()}render(){return e(s,null,e("div",{class:"configuration-container"},e("div",{class:"configuration"},this._showGroupTabs("Group"===this.itemType),this._showItemTabs("Group"!==this.itemType))))}_showGroupTabs(t){return e("calcite-tabs",{class:"config-tabs",style:{display:t?"inherit":"none"}},e("calcite-tab-nav",{slot:"tab-nav"},e("calcite-tab-title",null,this._translations.groupDetailsTab),e("calcite-tab-title",null,this._translations.sharingTab)),e("calcite-tab",{class:"config-tab",id:"group-tab",selected:!0},e("solution-item-details",{"item-id":this.itemId})),e("calcite-tab",{class:"config-tab",id:"share-tab"},e("solution-item-sharing",{"group-id":this.itemId})))}_showItemTabs(t){return e("calcite-tabs",{class:"config-tabs",style:{display:t?"inherit":"none"}},e("calcite-tab-nav",{slot:"tab-nav"},e("calcite-tab-title",null,this._translations.itemDetailsTab),e("calcite-tab-title",null,this._translations.dataTab),e("calcite-tab-title",null,this._translations.propertiesTab),e("calcite-tab-title",null,this._translations.resourcesTab)),e("calcite-tab",{class:"config-tab",selected:!0},e("solution-item-details",{"item-id":this.itemId})),e("calcite-tab",{class:"config-tab",id:"data-tab"},e("solution-template-data",{instanceid:"data","item-id":this.itemId,"organization-variables":this.organizationVariables,"solution-variables":this.solutionVariables})),e("calcite-tab",{class:"config-tab",id:"props-tab"},e("solution-template-data",{instanceid:"properties","item-id":this.itemId,"organization-variables":this.organizationVariables,"solution-variables":this.solutionVariables})),e("calcite-tab",{class:"config-tab",id:"resources-tab"},e("solution-resource-item",{authentication:this.authentication,class:"solutions-resource-container","item-id":this.itemId})))}async _getTranslations(){const t=await n(this.el);this._translations=t[0]}get el(){return a(this)}static get watchers(){return{itemId:["itemIdWatchHandler"]}}};o.style=".configuration-container{position:relative;height:100%;width:100%}.configuration{position:absolute;top:0px;right:0px;bottom:0px;left:0px;display:flex;padding:0.5rem;border:1px #808080 solid}.config-tabs{width:100%}.config-tab{width:100%;overflow-y:auto;height:inherit}";const h=class{constructor(e){t(this,e),this.featureServiceSpatialReferenceChange=i(this,"featureServiceSpatialReferenceChange",7),this.defaultWkid=102100,this.loaded=!1,this.locked=!0,this.services=[],this.value=this.defaultWkid.toString(),this._srSearchText=void 0,this._translations=void 0}componentWillLoad(){return this._getTranslations()}render(){return e(s,null,e("div",{class:"spatial-ref"},e("div",{class:"spatial-ref-desc"},e("calcite-label",null,this._translations.paramDescription)),e("label",{class:"switch-label"},e("calcite-switch",{checked:!this.locked,class:"spatial-ref-switch",onCalciteSwitchChange:t=>this._updateLocked(t),scale:"m"}),this._translations.specifyParam),e("div",{class:"spatial-ref-component",id:"spatialRefDefn"},e("calcite-label",null,this._translations.spatialReferenceInfo,e("label",{class:"spatial-ref-default"},e("spatial-ref",{defaultWkid:this.defaultWkid,disabled:this.locked,value:this.value}))),this._getFeatureServices(this.services))))}spatialReferenceChange(t){this.value=t.detail.newValue}_updateLocked(t){this.locked=!t.detail.switched,this._updateStore(),this.loaded||(t.detail.switched&&this._setFeatureServiceDefaults(this.services),this.loaded=!0)}_setFeatureServiceDefaults(t){c(this.el.getElementsByClassName("spatial-ref-item-switch")).forEach((t=>t.checked=!0)),t.forEach((t=>this._updateEnabledServices({detail:{switched:!0}},t)))}_getFeatureServices(t){const i=l.getStoreInfo("spatialReferenceInfo"),s=t.filter((t=>Object.keys(i.services).some((i=>i===t))));return s&&s.length>0?e("div",null,e("label",{class:"spatial-ref-item-title"},this._translations.featureServicesHeading),s.map((t=>e("label",{class:"switch-label"},e("calcite-switch",{checked:i.services[t],class:"spatial-ref-item-switch",disabled:this.locked,onCalciteSwitchChange:i=>this._updateEnabledServices(i,t),scale:"m"}),t)))):null}_updateStore(){const t=l.getStoreInfo("spatialReferenceInfo");t.enabled=!this.locked,t.spatialReference=this.value,l.setStoreInfo("spatialReferenceInfo",t)}_updateEnabledServices(t,i){const e=l.getStoreInfo("spatialReferenceInfo");e.services[i]=t.detail.switched,l.setStoreInfo("spatialReferenceInfo",e),this.featureServiceSpatialReferenceChange.emit({name:i,enabled:t.detail.switched})}async _getTranslations(){const t=await n(this.el);this._translations=t[0]}get el(){return a(this)}};h.style=".spatial-ref-switch{margin-inline-end:0.5rem}.spatial-ref-component{margin-top:0.625rem;margin-inline-start:2.5rem}#spatialRefDefn .sc-calcite-label-h label.sc-calcite-label{margin:0px;background-color:#CBC3E3}.spatial-ref-default{margin:0px}.spatial-ref-item-title{margin-bottom:0.5rem;font-size:0.875rem;line-height:1.25rem}.spatial-ref-item-switch{margin-inline-end:0.5rem}.switch-label{margin:0.25rem;font-size:0.875rem;line-height:1.25rem}.disabled-div{pointer-events:none;opacity:0.4}.spatial-ref-desc{padding-bottom:0.5rem;padding-inline-start:0.25rem}";export{r as solution_contents,o as solution_item,h as solution_spatial_ref}
6
+ import{r as t,c as i,h as e,H as s,g as a}from"./p-91c78d98.js";import{s as l}from"./p-d0544f24.js";import{g as n}from"./p-99d8a839.js";import{n as c}from"./p-1b228f97.js";import"./p-482534a7.js";import"./p-2a58e378.js";import"./p-ff0d7712.js";import"./p-e1a4994d.js";import"./p-ecc95259.js";const r=class{constructor(e){t(this,e),this.solutionItemSelected=i(this,"solutionItemSelected",7),this.selectedItemId=void 0,this.templateHierarchy=[]}valueWatchHandler(t,i){t&&t!==i&&Array.isArray(t)&&t.length>0&&this._treeItemSelected(t[0].id)}componentWillLoad(){this.valueWatchHandler(this.templateHierarchy,[])}render(){return e(s,null,e("calcite-tree",null,this.renderHierarchy(this.templateHierarchy)))}renderHierarchy(t){return t.map((t=>{const i=this.selectedItemId&&this.selectedItemId===t.id;return t.dependencies&&t.dependencies.length>0?e("calcite-tree-item",{onClick:i=>this._treeItemSelected(t.id,i),selected:i},e("solution-item-icon",{type:t.type,typeKeywords:t.typeKeywords}),e("span",{class:"icon-text",title:t.title},t.title),e("calcite-tree",{slot:"children"},this.renderHierarchy(t.dependencies))):e("calcite-tree-item",{onClick:i=>this._treeItemSelected(t.id,i),selected:i},e("solution-item-icon",{type:t.type,typeKeywords:t.typeKeywords}),e("span",{class:"icon-text",title:t.title},t.title))}))}_treeItemSelected(t,i){var e;const s=null===(e=null==i?void 0:i.target)||void 0===e?void 0:e.closest("calcite-tree-item");s&&(s.expanded=!(null==s?void 0:s.expanded)),this.selectedItemId=t,this.solutionItemSelected.emit(t)}static get assetsDirs(){return["item-type-icons"]}get el(){return a(this)}static get watchers(){return{templateHierarchy:["valueWatchHandler"]}}};r.style=".icon-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}";const o=class{constructor(i){t(this,i),this.authentication=void 0,this.itemId="",this.solutionVariables="",this.organizationVariables="",this.itemType=void 0,this._translations=void 0}itemIdWatchHandler(){const t=l.getItemInfo(this.itemId);this.itemType=t.type}async componentWillLoad(){return this._getTranslations()}render(){return e(s,null,e("div",{class:"configuration-container"},e("div",{class:"configuration"},this._showGroupTabs("Group"===this.itemType),this._showItemTabs("Group"!==this.itemType))))}_showGroupTabs(t){return e("calcite-tabs",{class:"config-tabs",style:{display:t?"inherit":"none"}},e("calcite-tab-nav",{slot:"tab-nav"},e("calcite-tab-title",null,this._translations.groupDetailsTab),e("calcite-tab-title",null,this._translations.sharingTab)),e("calcite-tab",{class:"config-tab",id:"group-tab",selected:!0},e("solution-item-details",{"item-id":this.itemId})),e("calcite-tab",{class:"config-tab",id:"share-tab"},e("solution-item-sharing",{"group-id":this.itemId})))}_showItemTabs(t){return e("calcite-tabs",{class:"config-tabs",style:{display:t?"inherit":"none"}},e("calcite-tab-nav",{slot:"tab-nav"},e("calcite-tab-title",null,this._translations.itemDetailsTab),e("calcite-tab-title",null,this._translations.dataTab),e("calcite-tab-title",null,this._translations.propertiesTab),e("calcite-tab-title",null,this._translations.resourcesTab)),e("calcite-tab",{class:"config-tab",selected:!0},e("solution-item-details",{"item-id":this.itemId})),e("calcite-tab",{class:"config-tab",id:"data-tab"},e("solution-template-data",{instanceid:"data","item-id":this.itemId,"organization-variables":this.organizationVariables,"solution-variables":this.solutionVariables})),e("calcite-tab",{class:"config-tab",id:"props-tab"},e("solution-template-data",{instanceid:"properties","item-id":this.itemId,"organization-variables":this.organizationVariables,"solution-variables":this.solutionVariables})),e("calcite-tab",{class:"config-tab",id:"resources-tab"},e("solution-resource-item",{authentication:this.authentication,class:"solutions-resource-container","item-id":this.itemId})))}async _getTranslations(){const t=await n(this.el);this._translations=t[0]}get el(){return a(this)}static get watchers(){return{itemId:["itemIdWatchHandler"]}}};o.style=".configuration-container{position:relative;height:100%;width:100%}.configuration{position:absolute;top:0px;right:0px;bottom:0px;left:0px;display:flex;padding:0.5rem;border:1px #808080 solid}.config-tabs{width:100%}.config-tab{width:100%;overflow-y:auto;height:inherit}";const h=class{constructor(e){t(this,e),this.featureServiceSpatialReferenceChange=i(this,"featureServiceSpatialReferenceChange",7),this.defaultWkid=102100,this.loaded=!1,this.locked=!0,this.services=[],this.value=this.defaultWkid.toString(),this._srSearchText=void 0,this._translations=void 0}componentWillLoad(){return this._getTranslations()}render(){return e(s,null,e("div",{class:"spatial-ref"},e("div",{class:"spatial-ref-desc"},e("calcite-label",null,this._translations.paramDescription)),e("label",{class:"switch-label"},e("calcite-switch",{checked:!this.locked,class:"spatial-ref-switch",onCalciteSwitchChange:t=>this._updateLocked(t),scale:"m"}),this._translations.specifyParam),e("div",{class:"spatial-ref-component",id:"spatialRefDefn"},e("calcite-label",null,this._translations.spatialReferenceInfo,e("label",{class:"spatial-ref-default"},e("spatial-ref",{defaultWkid:this.defaultWkid,disabled:this.locked,value:this.value}))),this._getFeatureServices(this.services))))}spatialReferenceChange(t){this.value=t.detail.newValue}_updateLocked(t){this.locked=!t.detail.switched,this._updateStore(),this.loaded||(t.detail.switched&&this._setFeatureServiceDefaults(this.services),this.loaded=!0)}_setFeatureServiceDefaults(t){c(this.el.getElementsByClassName("spatial-ref-item-switch")).forEach((t=>t.checked=!0)),t.forEach((t=>this._updateEnabledServices({detail:{switched:!0}},t)))}_getFeatureServices(t){const i=l.getStoreInfo("spatialReferenceInfo"),s=t.filter((t=>Object.keys(i.services).some((i=>i===t))));return s&&s.length>0?e("div",null,e("label",{class:"spatial-ref-item-title"},this._translations.featureServicesHeading),s.map((t=>e("label",{class:"switch-label"},e("calcite-switch",{checked:i.services[t],class:"spatial-ref-item-switch",disabled:this.locked,onCalciteSwitchChange:i=>this._updateEnabledServices(i,t),scale:"m"}),t)))):null}_updateStore(){const t=l.getStoreInfo("spatialReferenceInfo");t.enabled=!this.locked,t.spatialReference=this.value,l.setStoreInfo("spatialReferenceInfo",t)}_updateEnabledServices(t,i){const e=l.getStoreInfo("spatialReferenceInfo");e.services[i]=t.detail.switched,l.setStoreInfo("spatialReferenceInfo",e),this.featureServiceSpatialReferenceChange.emit({name:i,enabled:t.detail.switched})}async _getTranslations(){const t=await n(this.el);this._translations=t[0]}get el(){return a(this)}};h.style=".spatial-ref-switch{margin-inline-end:0.5rem}.spatial-ref-component{margin-top:0.625rem;margin-inline-start:2.5rem}#spatialRefDefn .sc-calcite-label-h label.sc-calcite-label{margin:0px;background-color:#CBC3E3}.spatial-ref-default{margin:0px}.spatial-ref-item-title{margin-bottom:0.5rem;font-size:0.875rem;line-height:1.25rem}.spatial-ref-item-switch{margin-inline-end:0.5rem}.switch-label{margin:0.25rem;font-size:0.875rem;line-height:1.25rem}.disabled-div{pointer-events:none;opacity:0.4}.spatial-ref-desc{padding-bottom:0.5rem;padding-inline-start:0.25rem}";export{r as solution_contents,o as solution_item,h as solution_spatial_ref}
@@ -3,4 +3,4 @@
3
3
  * Licensed under the Apache License, Version 2.0
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
- import{r as t,c as e,h as i,F as a,g as s}from"./p-33613993.js";import{c as o,d as n}from"./p-5079b190.js";import{g as c,t as r}from"./p-1ba1336c.js";import{c as l,d as h,u as d}from"./p-35a41253.js";import{s as p,a as m,c as u}from"./p-4a3cdcab.js";import{c as f,d as g}from"./p-08901512.js";import{u as v,c as b,s as x,d as w}from"./p-7e378eb0.js";import{I as k}from"./p-fa98063c.js";import{I as y,C as j,S as C}from"./p-36637fe7.js";import"./p-9cb360bd.js";import"./p-31fdc998.js";import"./p-31133802.js";import"./p-943a5ed7.js";import"./p-79e83176.js";const W=class{constructor(i){t(this,i),this.calciteListItemChange=e(this,"calciteListItemChange",6),this.calciteListItemRemove=e(this,"calciteListItemRemove",7),this.calciteInternalListItemPropsChange=e(this,"calciteInternalListItemPropsChange",6),this.calciteInternalListItemValueChange=e(this,"calciteInternalListItemValueChange",6),this.pickListClickHandler=t=>{this.disabled||this.deselectDisabled&&this.selected||this.nonInteractive||(this.shiftPressed=t.shiftKey,this.selected=!this.selected)},this.pickListKeyDownHandler=t=>{if(" "===t.key){if(t.preventDefault(),this.deselectDisabled&&this.selected||this.nonInteractive)return;this.selected=!this.selected}},this.removeClickHandler=()=>{this.calciteListItemRemove.emit()},this.description=void 0,this.disabled=!1,this.deselectDisabled=!1,this.nonInteractive=!1,this.icon=null,this.iconFlipRtl=!1,this.label=void 0,this.messageOverrides=void 0,this.messages=void 0,this.metadata=void 0,this.removable=!1,this.selected=!1,this.value=void 0,this.defaultMessages=void 0,this.effectiveLocale=""}descriptionWatchHandler(){this.calciteInternalListItemPropsChange.emit()}labelWatchHandler(){this.calciteInternalListItemPropsChange.emit()}onMessagesChange(){}metadataWatchHandler(){this.calciteInternalListItemPropsChange.emit()}selectedWatchHandler(){this.calciteListItemChange.emit({item:this.el,value:this.value,selected:this.selected,shiftPressed:this.shiftPressed}),this.shiftPressed=!1}valueWatchHandler(t,e){this.calciteInternalListItemValueChange.emit({oldValue:e,newValue:t})}effectiveLocaleChange(){v(this,this.effectiveLocale)}connectedCallback(){l(this),f(this),b(this),o(this)}async componentWillLoad(){await x(this),p(this)}componentDidLoad(){m(this)}disconnectedCallback(){h(this),g(this),w(this),n(this)}componentDidRender(){d(this,!!this.el.closest("calcite-pick-list")&&"managed")}async toggleSelected(t){this.selected="boolean"==typeof t?t:!this.selected}async setFocus(){var t;await u(this),null===(t=this.focusEl)||void 0===t||t.focus()}renderIcon(){const{icon:t,iconFlipRtl:e}=this;return t?i("span",{class:{[j.icon]:!0,[j.iconDot]:t===k.circle},onClick:this.pickListClickHandler},t===k.square?i("calcite-icon",{flipRtl:e,icon:y.checked,scale:"s"}):null):null}renderRemoveAction(){return this.removable?i("calcite-action",{class:j.remove,icon:y.remove,onClick:this.removeClickHandler,slot:C.actionsEnd,text:this.messages.remove}):null}renderActionsStart(){const{el:t}=this;return c(t,C.actionsStart)?i("div",{class:{[j.actions]:!0,[j.actionsStart]:!0}},i("slot",{name:C.actionsStart})):null}renderActionsEnd(){const{el:t,removable:e}=this;return c(t,C.actionsEnd)||e?i("div",{class:{[j.actions]:!0,[j.actionsEnd]:!0}},i("slot",{name:C.actionsEnd}),this.renderRemoveAction()):null}render(){const{description:t,label:e}=this;return i(a,null,this.renderIcon(),this.renderActionsStart(),i("label",{"aria-label":e,class:j.label,onClick:this.pickListClickHandler,onKeyDown:this.pickListKeyDownHandler,tabIndex:0,ref:t=>this.focusEl=t},i("div",{"aria-checked":r(this.selected),class:j.textContainer,role:"menuitemcheckbox"},i("span",{class:j.title},e),t?i("span",{class:j.description},t):null)),this.renderActionsEnd())}static get assetsDirs(){return["assets"]}get el(){return s(this)}static get watchers(){return{description:["descriptionWatchHandler"],label:["labelWatchHandler"],defaultMessages:["onMessagesChange"],messageOverrides:["onMessagesChange"],metadata:["metadataWatchHandler"],selected:["selectedWatchHandler"],value:["valueWatchHandler"],effectiveLocale:["effectiveLocaleChange"]}}};W.style='@charset "UTF-8";:host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{margin:0px;margin-block-end:1px;box-sizing:border-box;display:flex;align-items:stretch;background-color:var(--calcite-ui-foreground-1);font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-ui-text-1);--tw-shadow:0 1px 0 var(--calcite-ui-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);transition:background-color var(--calcite-animation-timing);animation:calcite-fade-in var(--calcite-animation-timing)}:host *{box-sizing:border-box}.label{display:flex;flex:1 1 auto;cursor:pointer;align-items:center;background-color:transparent;outline-color:transparent}.label:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}.label:hover{background-color:var(--calcite-ui-foreground-2)}:host([non-interactive]:hover){background-color:var(--calcite-ui-foreground-1)}:host([non-interactive]) .label,:host([non-interactive]) .icon{pointer-events:none}.icon{margin-block:0px;display:flex;cursor:pointer;align-items:center;padding:0.25rem;color:var(--calcite-ui-brand);flex:0 0 auto;line-height:0}.icon:hover{background-color:var(--calcite-ui-foreground-2)}.icon-dot{display:flex;inline-size:1.5rem;align-items:center;padding:0.5rem}.icon-dot:before{opacity:0;content:"•"}.icon calcite-icon{opacity:0}:host([selected]) .icon-dot:before,:host([selected]) .icon calcite-icon{transition:opacity var(--calcite-animation-timing);opacity:1}.text-container{pointer-events:none;display:flex;flex-direction:column;flex-wrap:nowrap;overflow:hidden;padding-block:0.5rem;padding-inline:0.75rem;font-size:var(--calcite-font-size--2);line-height:1.375;word-wrap:break-word;word-break:break-word}.title{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-1)}.description{margin-block-start:0.125rem;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-3)}.actions{margin:0px;display:flex;flex:0 1 auto;align-items:stretch;justify-content:flex-end}.actions--start~.label{padding-inline-start:0.25rem}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([hidden]){display:none}[hidden]{display:none}';export{W as calcite_pick_list_item}
6
+ import{r as t,c as e,h as i,F as a,g as s}from"./p-91c78d98.js";import{c as o,d as n}from"./p-12e15eaa.js";import{g as c,t as r}from"./p-1ba1336c.js";import{c as l,d as h,u as d}from"./p-35a41253.js";import{s as p,a as m,c as u}from"./p-4caa1f9d.js";import{c as f,d as g}from"./p-08901512.js";import{u as v,c as b,s as x,d as w}from"./p-272018eb.js";import{I as k}from"./p-fa98063c.js";import{I as y,C as j,S as C}from"./p-36637fe7.js";import"./p-9cb360bd.js";import"./p-31fdc998.js";import"./p-31133802.js";import"./p-943a5ed7.js";import"./p-79e83176.js";const W=class{constructor(i){t(this,i),this.calciteListItemChange=e(this,"calciteListItemChange",6),this.calciteListItemRemove=e(this,"calciteListItemRemove",7),this.calciteInternalListItemPropsChange=e(this,"calciteInternalListItemPropsChange",6),this.calciteInternalListItemValueChange=e(this,"calciteInternalListItemValueChange",6),this.pickListClickHandler=t=>{this.disabled||this.deselectDisabled&&this.selected||this.nonInteractive||(this.shiftPressed=t.shiftKey,this.selected=!this.selected)},this.pickListKeyDownHandler=t=>{if(" "===t.key){if(t.preventDefault(),this.deselectDisabled&&this.selected||this.nonInteractive)return;this.selected=!this.selected}},this.removeClickHandler=()=>{this.calciteListItemRemove.emit()},this.description=void 0,this.disabled=!1,this.deselectDisabled=!1,this.nonInteractive=!1,this.icon=null,this.iconFlipRtl=!1,this.label=void 0,this.messageOverrides=void 0,this.messages=void 0,this.metadata=void 0,this.removable=!1,this.selected=!1,this.value=void 0,this.defaultMessages=void 0,this.effectiveLocale=""}descriptionWatchHandler(){this.calciteInternalListItemPropsChange.emit()}labelWatchHandler(){this.calciteInternalListItemPropsChange.emit()}onMessagesChange(){}metadataWatchHandler(){this.calciteInternalListItemPropsChange.emit()}selectedWatchHandler(){this.calciteListItemChange.emit({item:this.el,value:this.value,selected:this.selected,shiftPressed:this.shiftPressed}),this.shiftPressed=!1}valueWatchHandler(t,e){this.calciteInternalListItemValueChange.emit({oldValue:e,newValue:t})}effectiveLocaleChange(){v(this,this.effectiveLocale)}connectedCallback(){l(this),f(this),b(this),o(this)}async componentWillLoad(){await x(this),p(this)}componentDidLoad(){m(this)}disconnectedCallback(){h(this),g(this),w(this),n(this)}componentDidRender(){d(this,!!this.el.closest("calcite-pick-list")&&"managed")}async toggleSelected(t){this.selected="boolean"==typeof t?t:!this.selected}async setFocus(){var t;await u(this),null===(t=this.focusEl)||void 0===t||t.focus()}renderIcon(){const{icon:t,iconFlipRtl:e}=this;return t?i("span",{class:{[j.icon]:!0,[j.iconDot]:t===k.circle},onClick:this.pickListClickHandler},t===k.square?i("calcite-icon",{flipRtl:e,icon:y.checked,scale:"s"}):null):null}renderRemoveAction(){return this.removable?i("calcite-action",{class:j.remove,icon:y.remove,onClick:this.removeClickHandler,slot:C.actionsEnd,text:this.messages.remove}):null}renderActionsStart(){const{el:t}=this;return c(t,C.actionsStart)?i("div",{class:{[j.actions]:!0,[j.actionsStart]:!0}},i("slot",{name:C.actionsStart})):null}renderActionsEnd(){const{el:t,removable:e}=this;return c(t,C.actionsEnd)||e?i("div",{class:{[j.actions]:!0,[j.actionsEnd]:!0}},i("slot",{name:C.actionsEnd}),this.renderRemoveAction()):null}render(){const{description:t,label:e}=this;return i(a,null,this.renderIcon(),this.renderActionsStart(),i("label",{"aria-label":e,class:j.label,onClick:this.pickListClickHandler,onKeyDown:this.pickListKeyDownHandler,tabIndex:0,ref:t=>this.focusEl=t},i("div",{"aria-checked":r(this.selected),class:j.textContainer,role:"menuitemcheckbox"},i("span",{class:j.title},e),t?i("span",{class:j.description},t):null)),this.renderActionsEnd())}static get assetsDirs(){return["assets"]}get el(){return s(this)}static get watchers(){return{description:["descriptionWatchHandler"],label:["labelWatchHandler"],defaultMessages:["onMessagesChange"],messageOverrides:["onMessagesChange"],metadata:["metadataWatchHandler"],selected:["selectedWatchHandler"],value:["valueWatchHandler"],effectiveLocale:["effectiveLocaleChange"]}}};W.style='@charset "UTF-8";:host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{margin:0px;margin-block-end:1px;box-sizing:border-box;display:flex;align-items:stretch;background-color:var(--calcite-ui-foreground-1);font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-ui-text-1);--tw-shadow:0 1px 0 var(--calcite-ui-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);transition:background-color var(--calcite-animation-timing);animation:calcite-fade-in var(--calcite-animation-timing)}:host *{box-sizing:border-box}.label{display:flex;flex:1 1 auto;cursor:pointer;align-items:center;background-color:transparent;outline-color:transparent}.label:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}.label:hover{background-color:var(--calcite-ui-foreground-2)}:host([non-interactive]:hover){background-color:var(--calcite-ui-foreground-1)}:host([non-interactive]) .label,:host([non-interactive]) .icon{pointer-events:none}.icon{margin-block:0px;display:flex;cursor:pointer;align-items:center;padding:0.25rem;color:var(--calcite-ui-brand);flex:0 0 auto;line-height:0}.icon:hover{background-color:var(--calcite-ui-foreground-2)}.icon-dot{display:flex;inline-size:1.5rem;align-items:center;padding:0.5rem}.icon-dot:before{opacity:0;content:"•"}.icon calcite-icon{opacity:0}:host([selected]) .icon-dot:before,:host([selected]) .icon calcite-icon{transition:opacity var(--calcite-animation-timing);opacity:1}.text-container{pointer-events:none;display:flex;flex-direction:column;flex-wrap:nowrap;overflow:hidden;padding-block:0.5rem;padding-inline:0.75rem;font-size:var(--calcite-font-size--2);line-height:1.375;word-wrap:break-word;word-break:break-word}.title{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-1)}.description{margin-block-start:0.125rem;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-3)}.actions{margin:0px;display:flex;flex:0 1 auto;align-items:stretch;justify-content:flex-end}.actions--start~.label{padding-inline-start:0.25rem}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([hidden]){display:none}[hidden]{display:none}';export{W as calcite_pick_list_item}
@@ -3,15 +3,15 @@
3
3
  * Licensed under the Apache License, Version 2.0
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
- import{r as t,c as e,h as i,H as s,g as n}from"./p-33613993.js";import{c as a,d as o}from"./p-5079b190.js";import{s as l,u as c,f as r,t as h,a as d}from"./p-1ba1336c.js";import{a as p,s as u,c as b}from"./p-4a3cdcab.js";import{c as g,d as f}from"./p-08901512.js";import{c as m}from"./p-9cb360bd.js";import{u as v,c as x,s as y,d as C}from"./p-7e378eb0.js";import{t as w,o as k,q as L,g as I,a as E,E as S,b as z}from"./p-7810711d.js";import{d as A}from"./p-a82f35c9.js";import{c as D,d as j,u as H}from"./p-35a41253.js";import{u as F,a as M,M as T,g as P,I as O,C as G,S as W}from"./p-dfdfc187.js";import{d as B,a as _,c as N}from"./p-0f6fa607.js";import{S as R}from"./p-a653343a.js";import"./p-31fdc998.js";import"./p-31133802.js";import"./p-79e83176.js";import"./p-0505d89a.js";import"./p-38e79175.js";import"./p-943a5ed7.js";
6
+ import{r as t,c as e,h as i,H as s,g as n}from"./p-91c78d98.js";import{c as a,d as o}from"./p-12e15eaa.js";import{s as l,u as c,f as r,t as h,a as d}from"./p-1ba1336c.js";import{a as p,s as u,c as g}from"./p-4caa1f9d.js";import{c as b,d as f}from"./p-08901512.js";import{c as m}from"./p-9cb360bd.js";import{u as v,c as x,s as y,d as C}from"./p-272018eb.js";import{t as w,o as k,q as L,g as I,a as E,E as S,b as z}from"./p-1ed04a5a.js";import{d as A}from"./p-a82f35c9.js";import{c as D,d as j,u as H}from"./p-35a41253.js";import{u as F,a as M,M as T,g as P,I as O,C as G,S as W}from"./p-dfdfc187.js";import{d as B,a as _,c as N}from"./p-0f6fa607.js";import{S as R}from"./p-a653343a.js";import"./p-31fdc998.js";import"./p-31133802.js";import"./p-79e83176.js";import"./p-0505d89a.js";import"./p-38e79175.js";import"./p-943a5ed7.js";
7
7
  /*!
8
8
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
9
9
  * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
10
10
  * v1.8.0
11
- */const K=class{constructor(i){t(this,i),this.calciteActionBarToggle=e(this,"calciteActionBarToggle",6),this.mutationObserver=m("mutation",(()=>{const{el:t,expanded:e}=this;w({el:t,expanded:e}),this.overflowActions()})),this.resizeObserver=m("resize",(t=>this.resizeHandlerEntries(t))),this.actionMenuOpenHandler=t=>{if(t.target.menuOpen){const e=t.composedPath();Array.from(this.el.querySelectorAll("calcite-action-group")).forEach((t=>{e.includes(t)||(t.menuOpen=!1)}))}},this.resizeHandlerEntries=t=>{t.forEach(this.resizeHandler)},this.resizeHandler=t=>{const{width:e,height:i}=t.contentRect;this.resize({width:e,height:i})},this.resize=A((({width:t,height:e})=>{const{el:i,expanded:s,expandDisabled:n,layout:a,overflowActionsDisabled:o}=this;if(o||"vertical"===a&&!e||"horizontal"===a&&!t)return;const l=L(i),c=n?l.length:l.length+1,r=Array.from(i.querySelectorAll("calcite-action-group"));this.setGroupLayout(r);const h=this.hasActionsEnd||this.hasBottomActions||!n?r.length+1:r.length,{actionHeight:d,actionWidth:p}=I(l),u=z({layout:a,actionCount:c,actionHeight:d,actionWidth:p,height:e,width:t,groupCount:h});E({actionGroups:r,expanded:s,overflowCount:u})}),k),this.toggleExpand=()=>{this.expanded=!this.expanded,this.calciteActionBarToggle.emit()},this.setExpandToggleRef=t=>{this.expandToggleEl=t},this.handleDefaultSlotChange=t=>{const e=l(t).filter((t=>t.matches("calcite-action-group")));this.setGroupLayout(e)},this.handleActionsEndSlotChange=t=>{this.hasActionsEnd=c(t)},this.handleBottomActionsSlotChange=t=>{this.hasBottomActions=c(t)},this.handleTooltipSlotChange=t=>{const e=l(t).filter((t=>null==t?void 0:t.matches("calcite-tooltip")));this.expandTooltip=e[0]},this.actionsEndGroupLabel=void 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:e}=this;w({el:t,expanded:e}),this.overflowActions()}layoutHandler(){this.updateGroups()}overflowDisabledHandler(t){t?this.resizeObserver.disconnect():this.resizeObserver.observe(this.el)}onMessagesChange(){}effectiveLocaleChange(){v(this,this.effectiveLocale)}componentDidLoad(){const{el:t,expanded:e}=this;p(this),w({el:t,expanded:e}),this.overflowActions()}connectedCallback(){var t,e;const{el:i,expanded:s}=this;g(this),x(this),w({el:i,expanded:s}),null===(t=this.mutationObserver)||void 0===t||t.observe(i,{childList:!0,subtree:!0}),this.overflowActionsDisabled||null===(e=this.resizeObserver)||void 0===e||e.observe(i),this.overflowActions(),a(this)}async componentWillLoad(){u(this),await y(this)}disconnectedCallback(){var t,e;null===(t=this.mutationObserver)||void 0===t||t.disconnect(),null===(e=this.resizeObserver)||void 0===e||e.disconnect(),o(this),f(this),C(this)}async overflowActions(){this.resize({width:this.el.clientWidth,height:this.el.clientHeight})}async setFocus(){await b(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:e,el:s,position:n,toggleExpand:a,scale:o,layout:l,messages:c,actionsEndGroupLabel:r}=this,h=e?null:i(S,{collapseText:c.collapse,el:s,expandText:c.expand,expanded:t,position:n,scale:o,toggle:a,tooltip:this.expandTooltip,ref:this.setExpandToggleRef});return i("calcite-action-group",{class:"action-group--end",label:r,hidden:this.expandDisabled&&!(this.hasActionsEnd||this.hasBottomActions),layout:l,scale:o},i("slot",{name:"actions-end",onSlotchange:this.handleActionsEndSlotChange}),i("slot",{name:"bottom-actions",onSlotchange:this.handleBottomActionsSlotChange}),i("slot",{name:"expand-tooltip",onSlotchange:this.handleTooltipSlotChange}),h)}render(){return i(s,{onCalciteActionMenuOpen:this.actionMenuOpenHandler},i("slot",{onSlotchange:this.handleDefaultSlotChange}),this.renderBottomActionGroup())}static get assetsDirs(){return["assets"]}get el(){return n(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}";
11
+ */const K=class{constructor(i){t(this,i),this.calciteActionBarToggle=e(this,"calciteActionBarToggle",6),this.mutationObserver=m("mutation",(()=>{const{el:t,expanded:e}=this;w({el:t,expanded:e}),this.overflowActions()})),this.resizeObserver=m("resize",(t=>this.resizeHandlerEntries(t))),this.actionMenuOpenHandler=t=>{if(t.target.menuOpen){const e=t.composedPath();Array.from(this.el.querySelectorAll("calcite-action-group")).forEach((t=>{e.includes(t)||(t.menuOpen=!1)}))}},this.resizeHandlerEntries=t=>{t.forEach(this.resizeHandler)},this.resizeHandler=t=>{const{width:e,height:i}=t.contentRect;this.resize({width:e,height:i})},this.resize=A((({width:t,height:e})=>{const{el:i,expanded:s,expandDisabled:n,layout:a,overflowActionsDisabled:o}=this;if(o||"vertical"===a&&!e||"horizontal"===a&&!t)return;const l=L(i),c=n?l.length:l.length+1,r=Array.from(i.querySelectorAll("calcite-action-group"));this.setGroupLayout(r);const h=this.hasActionsEnd||this.hasBottomActions||!n?r.length+1:r.length,{actionHeight:d,actionWidth:p}=I(l),u=z({layout:a,actionCount:c,actionHeight:d,actionWidth:p,height:e,width:t,groupCount:h});E({actionGroups:r,expanded:s,overflowCount:u})}),k),this.toggleExpand=()=>{this.expanded=!this.expanded,this.calciteActionBarToggle.emit()},this.setExpandToggleRef=t=>{this.expandToggleEl=t},this.handleDefaultSlotChange=t=>{const e=l(t).filter((t=>t.matches("calcite-action-group")));this.setGroupLayout(e)},this.handleActionsEndSlotChange=t=>{this.hasActionsEnd=c(t)},this.handleBottomActionsSlotChange=t=>{this.hasBottomActions=c(t)},this.handleTooltipSlotChange=t=>{const e=l(t).filter((t=>null==t?void 0:t.matches("calcite-tooltip")));this.expandTooltip=e[0]},this.actionsEndGroupLabel=void 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:e}=this;w({el:t,expanded:e}),this.overflowActions()}layoutHandler(){this.updateGroups()}overflowDisabledHandler(t){t?this.resizeObserver.disconnect():this.resizeObserver.observe(this.el)}onMessagesChange(){}effectiveLocaleChange(){v(this,this.effectiveLocale)}componentDidLoad(){const{el:t,expanded:e}=this;p(this),w({el:t,expanded:e}),this.overflowActions()}connectedCallback(){var t,e;const{el:i,expanded:s}=this;b(this),x(this),w({el:i,expanded:s}),null===(t=this.mutationObserver)||void 0===t||t.observe(i,{childList:!0,subtree:!0}),this.overflowActionsDisabled||null===(e=this.resizeObserver)||void 0===e||e.observe(i),this.overflowActions(),a(this)}async componentWillLoad(){u(this),await y(this)}disconnectedCallback(){var t,e;null===(t=this.mutationObserver)||void 0===t||t.disconnect(),null===(e=this.resizeObserver)||void 0===e||e.disconnect(),o(this),f(this),C(this)}async overflowActions(){this.resize({width:this.el.clientWidth,height:this.el.clientHeight})}async setFocus(){await g(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:e,el:s,position:n,toggleExpand:a,scale:o,layout:l,messages:c,actionsEndGroupLabel:r}=this,h=e?null:i(S,{collapseText:c.collapse,el:s,expandText:c.expand,expanded:t,position:n,scale:o,toggle:a,tooltip:this.expandTooltip,ref:this.setExpandToggleRef});return i("calcite-action-group",{class:"action-group--end",label:r,hidden:this.expandDisabled&&!(this.hasActionsEnd||this.hasBottomActions),layout:l,scale:o},i("slot",{name:"actions-end",onSlotchange:this.handleActionsEndSlotChange}),i("slot",{name:"bottom-actions",onSlotchange:this.handleBottomActionsSlotChange}),i("slot",{name:"expand-tooltip",onSlotchange:this.handleTooltipSlotChange}),h)}render(){return i(s,{onCalciteActionMenuOpen:this.actionMenuOpenHandler},i("slot",{onSlotchange:this.handleDefaultSlotChange}),this.renderBottomActionGroup())}static get assetsDirs(){return["assets"]}get el(){return n(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}";
12
12
  /*!
13
13
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
14
14
  * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
15
15
  * v1.8.0
16
16
  */
17
- const U="calcite-list-item",q=class{constructor(i){t(this,i),this.calciteListChange=e(this,"calciteListChange",6),this.calciteListFilter=e(this,"calciteListFilter",6),this.calciteListOrderChange=e(this,"calciteListOrderChange",6),this.calciteInternalListDefaultSlotChange=e(this,"calciteInternalListDefaultSlotChange",6),this.dragSelector="calcite-list-item",this.enabledListItems=[],this.handleSelector="calcite-handle",this.listItems=[],this.mutationObserver=m("mutation",(()=>this.updateListItems())),this.handleDefaultSlotChange=t=>{F(M(t.target)),this.parentListEl&&this.calciteInternalListDefaultSlotChange.emit()},this.handleFilterActionsStartSlotChange=t=>{this.hasFilterActionsStart=c(t)},this.handleFilterActionsEndSlotChange=t=>{this.hasFilterActionsEnd=c(t)},this.setActiveListItem=()=>{const{enabledListItems:t}=this;t.some((t=>t.active))||t[0]&&(t[0].active=!0)},this.updateSelectedItems=(t=!1)=>{this.selectedItems=this.enabledListItems.filter((t=>t.selected)),t&&this.calciteListChange.emit()},this.updateFilteredItems=(t=!1)=>{const{listItems:e,filteredData:i,filterText:s}=this,n=i.map((t=>t.value)),a=null==e?void 0:e.filter((t=>e.every((e=>e===t||!t.contains(e))))),o=e.filter((t=>!s||n.includes(t.value)))||[],l=new WeakSet;a.forEach((t=>this.filterElements({el:t,filteredItems:o,visibleParents:l}))),this.filteredItems=o,t&&this.calciteListFilter.emit()},this.setFilterEl=t=>{this.filterEl=t,this.performFilter()},this.handleFilterChange=t=>{t.stopPropagation();const{value:e}=t.currentTarget;this.filterText=e,this.updateFilteredData(!0)},this.getItemData=()=>this.listItems.map((t=>({label:t.label,description:t.description,metadata:t.metadata,value:t.value}))),this.updateListItems=A(((t=!1)=>{const{selectionAppearance:e,selectionMode:i,dragEnabled:s}=this;if(this.parentListEl)return this.queryListItems(!0).forEach((t=>{t.dragHandle=s})),void this.setUpSorting();const n=this.queryListItems();n.forEach((t=>{t.selectionAppearance=e,t.selectionMode=i})),this.queryListItems(!0).forEach((t=>{t.dragHandle=s})),this.listItems=n,this.filterEnabled&&(this.dataForFilter=this.getItemData(),this.filterEl&&(this.filterEl.items=this.dataForFilter)),this.updateFilteredItems(t),this.enabledListItems=this.filteredItems.filter((t=>!t.disabled&&!t.closed)),this.setActiveListItem(),this.updateSelectedItems(t),this.setUpSorting()}),0),this.queryListItems=(t=!1)=>Array.from(this.el.querySelectorAll(t?":scope > calcite-list-item":U)),this.focusRow=t=>{const{enabledListItems:e}=this;t&&(e.forEach((e=>e.active=e===t)),t.setFocus())},this.isNavigable=t=>{var e;const i=null===(e=t.parentElement)||void 0===e?void 0:e.closest(U);return!i||i.open&&this.isNavigable(i)},this.handleListKeydown=t=>{var e;if(t.defaultPrevented||this.parentListEl)return;const{key:i}=t,s=this.enabledListItems.filter((t=>this.isNavigable(t))),n=s.findIndex((t=>t.active));if("ArrowDown"===i){t.preventDefault();const e=t.target===this.filterEl?0:n+1;s[e]&&this.focusRow(s[e])}else if("ArrowUp"===i){if(t.preventDefault(),0===n&&this.filterEnabled)return void(null===(e=this.filterEl)||void 0===e||e.setFocus());const i=n-1;s[i]&&this.focusRow(s[i])}else if("Home"===i){t.preventDefault();const e=s[0];e&&this.focusRow(e)}else if("End"===i){t.preventDefault();const e=s[s.length-1];e&&this.focusRow(e)}},this.disabled=!1,this.canPull=void 0,this.canPut=void 0,this.dragEnabled=!1,this.group=void 0,this.filterEnabled=!1,this.filteredItems=[],this.filteredData=[],this.filterPlaceholder=void 0,this.filterText=void 0,this.label=void 0,this.loading=!1,this.openable=!1,this.selectedItems=[],this.selectionMode="none",this.selectionAppearance="icon",this.assistiveText=void 0,this.dataForFilter=[],this.hasFilterActionsEnd=!1,this.hasFilterActionsStart=!1}async handleFilterTextChange(){this.performFilter()}handleListItemChange(){this.updateListItems()}handleCalciteInternalFocusPreviousItem(t){if(this.parentListEl)return;t.stopPropagation();const{enabledListItems:e}=this,i=e.findIndex((t=>t.active))-1;e[i]&&this.focusRow(e[i])}handleCalciteInternalListItemActive(t){if(this.parentListEl)return;t.stopPropagation();const e=t.target,{listItems:i}=this;i.forEach((t=>{t.active=t===e}))}handleCalciteListItemSelect(){this.parentListEl||this.updateSelectedItems(!0)}handleCalciteInternalHandleChange(t){this.assistiveText=t.detail.message,t.stopPropagation()}handleCalciteHandleNudge(t){this.parentListEl||this.handleNudgeEvent(t)}handleCalciteInternalListItemSelect(t){if(this.parentListEl)return;t.stopPropagation();const e=t.target,{listItems:i,selectionMode:s}=this;!e.selected||"single"!==s&&"single-persist"!==s||i.forEach((t=>t.selected=t===e)),this.updateSelectedItems()}handleCalciteInternalListItemChange(t){this.parentListEl||(t.stopPropagation(),this.updateListItems())}handleCalciteInternalListItemGroupDefaultSlotChange(t){t.stopPropagation()}connectedCallback(){B(this)||(this.connectObserver(),this.updateListItems(),this.setUpSorting(),D(this),this.setParentList())}disconnectedCallback(){B(this)||(this.disconnectObserver(),_(this),j(this))}componentWillLoad(){u(this)}componentDidRender(){H(this)}componentDidLoad(){p(this)}async setFocus(){var t,e;return await b(this),this.filterEnabled?null===(t=this.filterEl)||void 0===t?void 0:t.setFocus():null===(e=this.enabledListItems.find((t=>t.active)))||void 0===e?void 0:e.setFocus()}render(){const{loading:t,label:e,disabled:s,dataForFilter:n,filterEnabled:a,filterPlaceholder:o,filterText:l,hasFilterActionsStart:c,hasFilterActionsEnd:r}=this;return i("div",{class:"container"},this.dragEnabled?i("span",{"aria-live":"assertive",class:"assistive-text"},this.assistiveText):null,t?i("calcite-scrim",{class:"scrim",loading:t}):null,i("table",{"aria-busy":h(t),"aria-label":e||"",class:"table",onKeyDown:this.handleListKeydown,role:"treegrid"},a||c||r?i("thead",null,i("tr",{class:{"sticky-pos":!0}},i("th",{colSpan:T},i("calcite-stack",{class:"stack"},i("slot",{name:"filter-actions-start",onSlotchange:this.handleFilterActionsStartSlotChange,slot:R.actionsStart}),i("calcite-filter",{"aria-label":o,disabled:t||s,items:n,onCalciteFilterChange:this.handleFilterChange,placeholder:o,value:l,ref:this.setFilterEl}),i("slot",{name:"filter-actions-end",onSlotchange:this.handleFilterActionsEndSlotChange,slot:R.actionsEnd}))))):null,i("tbody",{class:"table-container"},i("slot",{onSlotchange:this.handleDefaultSlotChange}))))}connectObserver(){var t;null===(t=this.mutationObserver)||void 0===t||t.observe(this.el,{childList:!0,subtree:!0})}disconnectObserver(){var t;null===(t=this.mutationObserver)||void 0===t||t.disconnect()}setUpSorting(){const{dragEnabled:t}=this;t&&N(this)}onDragStart(){this.disconnectObserver()}onDragEnd(){this.connectObserver()}onDragSort(t){this.setParentList(),this.updateListItems(),this.calciteListOrderChange.emit(t)}setParentList(){var t;this.parentListEl=null===(t=this.el.parentElement)||void 0===t?void 0:t.closest("calcite-list")}filterElements({el:t,filteredItems:e,visibleParents:i}){const s=!i.has(t)&&!e.includes(t);t.hidden=s;const n=t.parentElement.closest("calcite-list-item-group, calcite-list-item");n&&(s||i.add(n),this.filterElements({el:n,filteredItems:e,visibleParents:i}))}updateFilteredData(t=!1){const{filterEl:e}=this;e&&(e.filteredItems&&(this.filteredData=e.filteredItems),this.updateListItems(t))}async performFilter(){const{filterEl:t,filterText:e}=this;t&&(t.value=e,await t.filter(e),this.updateFilteredData())}handleNudgeEvent(t){const{direction:e}=t.detail,i=t.composedPath(),s=i.find((t=>"CALCITE-HANDLE"===t.tagName)),n=i.find((t=>"CALCITE-LIST-ITEM"===t.tagName)),a=null==n?void 0:n.parentElement;if(!a)return;const{enabledListItems:o}=this,l=o.filter((t=>t.parentElement===a)),c=l.length-1,r=l.indexOf(n);let h,d=!1;"up"===e?0===r?d=!0:h=r-1:r===c?h=0:r===c-1?d=!0:h=r+2,this.disconnectObserver(),d?a.appendChild(n):a.insertBefore(n,l[h]),this.updateListItems(),this.connectObserver(),this.calciteListOrderChange.emit({dragEl:n,fromEl:null,toEl:null}),s.setFocus().then((()=>{s.activated=!0}))}get el(){return n(this)}static get watchers(){return{filterText:["handleFilterTextChange"],filterEnabled:["handleListItemChange"],group:["handleListItemChange"],dragEnabled:["handleListItemChange"],selectionMode:["handleListItemChange"],selectionAppearance:["handleListItemChange"]}}};q.style=":host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-ui-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){margin-block-end:1px;--tw-shadow:0 1px 0 var(--calcite-ui-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)}::slotted(calcite-list-item:last-child){--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)}.sticky-pos{position:sticky;inset-block-start:0px;z-index:var(--calcite-app-z-index-sticky);background-color:var(--calcite-ui-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}";const $=new Map,J=class{constructor(i){t(this,i),this.calciteListItemSelect=e(this,"calciteListItemSelect",6),this.calciteListItemClose=e(this,"calciteListItemClose",6),this.calciteInternalListItemSelect=e(this,"calciteInternalListItemSelect",6),this.calciteInternalListItemActive=e(this,"calciteInternalListItemActive",6),this.calciteInternalFocusPreviousItem=e(this,"calciteInternalFocusPreviousItem",6),this.calciteInternalListItemChange=e(this,"calciteInternalListItemChange",6),this.closeClickHandler=()=>{this.closed=!0,this.calciteListItemClose.emit()},this.handleContentSlotChange=t=>{this.hasCustomContent=c(t)},this.handleActionsStartSlotChange=t=>{this.hasActionsStart=c(t)},this.handleActionsEndSlotChange=t=>{this.hasActionsEnd=c(t)},this.handleContentStartSlotChange=t=>{this.hasContentStart=c(t)},this.handleContentEndSlotChange=t=>{this.hasContentEnd=c(t)},this.handleDefaultSlotChange=t=>{this.handleOpenableChange(t.target)},this.toggleOpen=()=>{this.open=!this.open},this.itemClicked=t=>{t.defaultPrevented||(this.toggleSelected(),this.calciteInternalListItemActive.emit())},this.toggleSelected=()=>{const{selectionMode:t,selected:e}=this;this.disabled||("multiple"===t||"single"===t?this.selected=!e:"single-persist"===t&&(this.selected=!0),this.calciteListItemSelect.emit())},this.handleItemKeyDown=t=>{if(t.defaultPrevented)return;const{key:e}=t,i=t.composedPath(),{containerEl:s,contentEl:n,actionsStartEl:a,actionsEndEl:o,open:l,openable:c}=this,r=[a,n,o].filter(Boolean),h=r.findIndex((t=>i.includes(t)));if("Enter"!==e||i.includes(a)||i.includes(o)){if("ArrowRight"===e){t.preventDefault();const e=h+1;-1===h?!l&&c?(this.open=!0,this.focusCell(null)):r[0]&&this.focusCell(r[0]):r[h]&&r[e]&&this.focusCell(r[e])}else if("ArrowLeft"===e){t.preventDefault();const e=h-1;-1===h?(this.focusCell(null),l&&c?this.open=!1:this.calciteInternalFocusPreviousItem.emit()):0===h?(this.focusCell(null),s.focus()):r[h]&&r[e]&&this.focusCell(r[e])}}else t.preventDefault(),this.toggleSelected()},this.focusCellNull=()=>{this.focusCell(null)},this.focusCell=(t,e=!0)=>{const{contentEl:i,actionsStartEl:s,actionsEndEl:n,parentListEl:a}=this;e&&$.set(a,null),[s,i,n].filter(Boolean).forEach(((i,s)=>{const n="tabindex";i===t?(i.setAttribute(n,"0"),e&&$.set(a,s)):i.removeAttribute(n)})),null==t||t.focus()},this.active=!1,this.closable=!1,this.closed=!1,this.description=void 0,this.disabled=!1,this.dragHandle=!1,this.label=void 0,this.metadata=void 0,this.open=!1,this.setSize=null,this.setPosition=null,this.selected=!1,this.value=void 0,this.selectionMode=null,this.selectionAppearance=null,this.messageOverrides=void 0,this.messages=void 0,this.effectiveLocale="",this.defaultMessages=void 0,this.level=null,this.visualLevel=null,this.parentListEl=void 0,this.openable=!1,this.hasActionsStart=!1,this.hasActionsEnd=!1,this.hasCustomContent=!1,this.hasContentStart=!1,this.hasContentEnd=!1}activeHandler(t){t||this.focusCell(null,!1)}handleClosedChange(){this.emitCalciteInternalListItemChange()}handleDisabledChange(){this.emitCalciteInternalListItemChange()}handleSelectedChange(){this.calciteInternalListItemSelect.emit()}onMessagesChange(){}handleCalciteInternalListDefaultSlotChanges(t){t.stopPropagation(),this.handleOpenableChange(this.defaultSlotEl)}effectiveLocaleChange(){v(this,this.effectiveLocale)}connectedCallback(){D(this),g(this),x(this);const{el:t}=this;this.parentListEl=t.closest("calcite-list"),this.level=P(t)+1,this.visualLevel=P(t,!0),this.setSelectionDefaults()}async componentWillLoad(){u(this),await y(this)}componentDidLoad(){p(this)}componentDidRender(){H(this,"managed")}disconnectedCallback(){j(this),f(this),C(this)}async setFocus(){await b(this);const{containerEl:t,contentEl:e,actionsStartEl:i,actionsEndEl:s,parentListEl:n}=this,a=$.get(n);if("number"!=typeof a)null==t||t.focus();else{const n=[i,e,s].filter(Boolean);n[a]?this.focusCell(n[a]):null==t||t.focus()}}renderSelected(){const{selected:t,selectionMode:e,selectionAppearance:s}=this;return"none"===e||"border"===s?null:i("td",{class:G.selectionContainer,key:"selection-container",onClick:this.itemClicked},i("calcite-icon",{icon:t?"multiple"===e?O.selectedMultiple:O.selectedSingle:O.unselected,scale:"s"}))}renderDragHandle(){return this.dragHandle?i("td",{class:G.dragContainer,key:"drag-handle-container"},i("calcite-handle",{label:this.label,setPosition:this.setPosition,setSize:this.setSize})):null}renderOpen(){const{el:t,open:e,openable:s,parentListEl:n}=this,a=d(t);return s?i("td",{class:G.openContainer,key:"open-container",onClick:this.toggleOpen},i("calcite-icon",{icon:e?O.open:"rtl"===a?O.closedRTL:O.closedLTR,scale:"s"})):(null==n?void 0:n.openable)?i("td",{class:G.openContainer,key:"open-container",onClick:this.itemClicked},i("calcite-icon",{icon:O.blank,scale:"s"})):null}renderActionsStart(){const{label:t,hasActionsStart:e}=this;return i("td",{"aria-label":t,class:G.actionsStart,hidden:!e,key:"actions-start-container",role:"gridcell",ref:t=>this.actionsStartEl=t},i("slot",{name:W.actionsStart,onSlotchange:this.handleActionsStartSlotChange}))}renderActionsEnd(){const{label:t,hasActionsEnd:e,closable:s,messages:n}=this;return i("td",{"aria-label":t,class:G.actionsEnd,hidden:!(e||s),key:"actions-end-container",role:"gridcell",ref:t=>this.actionsEndEl=t},i("slot",{name:W.actionsEnd,onSlotchange:this.handleActionsEndSlotChange}),s?i("calcite-action",{appearance:"transparent",icon:O.close,key:"close-action",label:n.close,onClick:this.closeClickHandler,text:n.close}):null)}renderContentStart(){const{hasContentStart:t}=this;return i("div",{class:G.contentStart,hidden:!t},i("slot",{name:W.contentStart,onSlotchange:this.handleContentStartSlotChange}))}renderCustomContent(){const{hasCustomContent:t}=this;return i("div",{class:G.customContent,hidden:!t},i("slot",{name:W.content,onSlotchange:this.handleContentSlotChange}))}renderContentEnd(){const{hasContentEnd:t}=this;return i("div",{class:G.contentEnd,hidden:!t},i("slot",{name:W.contentEnd,onSlotchange:this.handleContentEndSlotChange}))}renderContentProperties(){const{label:t,description:e,hasCustomContent:s}=this;return s||!t&&!e?null:i("div",{class:G.content,key:"content"},t?i("div",{class:G.label,key:"label"},t):null,e?i("div",{class:G.description,key:"description"},e):null)}renderContentContainer(){const{description:t,label:e,selectionMode:s,hasCustomContent:n}=this,a=n||!!e||!!t,o=[this.renderContentStart(),this.renderCustomContent(),this.renderContentProperties(),this.renderContentEnd()];return i("td",{"aria-label":e,class:{[G.contentContainer]:!0,[G.contentContainerSelectable]:"none"!==s,[G.contentContainerHasCenterContent]:a},key:"content-container",onClick:this.itemClicked,role:"gridcell",ref:t=>this.contentEl=t},o)}render(){const{openable:t,open:e,level:n,setPosition:a,setSize:o,active:l,label:c,selected:r,selectionAppearance:d,selectionMode:p,closed:u}=this,b="none"!==p&&"border"===d,g=b&&r,f=b&&!r;return i(s,null,i("tr",{"aria-expanded":t?h(e):null,"aria-label":c,"aria-level":n,"aria-posinset":a,"aria-selected":h(r),"aria-setsize":o,class:{[G.container]:!0,[G.containerBorderSelected]:g,[G.containerBorderUnselected]:f},hidden:u,onFocus:this.focusCellNull,onKeyDown:this.handleItemKeyDown,role:"row",style:{"--calcite-list-item-spacing-indent-multiplier":`${this.visualLevel}`},tabIndex:l?0:-1,ref:t=>this.containerEl=t},this.renderDragHandle(),this.renderSelected(),this.renderOpen(),this.renderActionsStart(),this.renderContentContainer(),this.renderActionsEnd()),i("div",{class:{[G.nestedContainer]:!0,[G.nestedContainerHidden]:t&&!e}},i("slot",{onSlotchange:this.handleDefaultSlotChange,ref:t=>this.defaultSlotEl=t})))}emitCalciteInternalListItemChange(){this.calciteInternalListItemChange.emit()}setSelectionDefaults(){const{parentListEl:t,selectionMode:e,selectionAppearance:i}=this;t&&(e||(this.selectionMode=t.selectionMode),i||(this.selectionAppearance=t.selectionAppearance))}handleOpenableChange(t){if(!t)return;const{parentListEl:e}=this,i=M(t);F(i);const s=!!i.length;s&&e&&!e.openable&&(e.openable=!0),this.openable=s,s||(this.open=!1)}static get assetsDirs(){return["assets"]}get el(){return n(this)}static get watchers(){return{active:["activeHandler"],closed:["handleClosedChange"],disabled:["handleDisabledChange"],selected:["handleSelectedChange"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};J.style=":host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:flex;flex-direction:column;--calcite-list-item-icon-color:var(--calcite-ui-brand);--calcite-list-item-spacing-indent:1rem}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.container{box-sizing:border-box;display:flex;flex:1 1 0%;background-color:var(--calcite-ui-foreground-1);font-family:var(--calcite-sans-family);padding-inline-start:calc(var(--calcite-list-item-spacing-indent) * var(--calcite-list-item-spacing-indent-multiplier))}.container *{box-sizing:border-box}.container:hover{cursor:pointer;background-color:var(--calcite-ui-foreground-2)}.container--border-selected{border-inline-start:4px solid var(--calcite-ui-brand)}.container--border-unselected{border-inline-start:4px solid transparent}.nested-container{display:flex;flex-direction:column;background-color:var(--calcite-ui-foreground-1)}.nested-container--hidden{display:none}.content-container{display:flex;flex:1 1 auto;align-items:stretch;padding:0px;font-family:var(--calcite-sans-family);font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-2)}tr,td{outline-color:transparent}tr:focus,td:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}.content,.custom-content{display:flex;flex:1 1 auto;flex-direction:column;justify-content:center;padding-inline:0.75rem;padding-block:0.5rem;font-size:var(--calcite-font-size--2);line-height:1.375}.label,.description{font-family:var(--calcite-sans-family);font-size:var(--calcite-font-size--2);font-weight:var(--calcite-font-weight-normal);word-wrap:break-word;word-break:break-word}.label:only-child,.description:only-child{margin:0px;padding-block:0.25rem}.label{color:var(--calcite-ui-text-1)}.description{margin-block-start:0.125rem;color:var(--calcite-ui-text-3)}.content-start{justify-content:flex-start}.content-end{justify-content:flex-end}.content-start,.content-end{flex:1 1 auto}.content-container--has-center-content .content-start,.content-container--has-center-content .content-end{flex:0 1 auto}.selection-container{display:flex;padding-inline:0.75rem;color:var(--calcite-list-item-icon-color)}.actions-start,.actions-end,.content-start,.content-end,.selection-container,.drag-container,.open-container{display:flex;align-items:center}.open-container,.selection-container{cursor:pointer}.content-start ::slotted(calcite-icon),.content-end ::slotted(calcite-icon){margin-inline:0.75rem;align-self:center}.actions-start ::slotted(calcite-action),.actions-end ::slotted(calcite-action){align-self:stretch;color:inherit}::slotted(calcite-list-item){border-width:0px;border-block-start-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3)}:host([hidden]){display:none}[hidden]{display:none}";export{K as calcite_action_bar,q as calcite_list,J as calcite_list_item}
17
+ const U="calcite-list-item",q=class{constructor(i){t(this,i),this.calciteListChange=e(this,"calciteListChange",6),this.calciteListFilter=e(this,"calciteListFilter",6),this.calciteListOrderChange=e(this,"calciteListOrderChange",6),this.calciteInternalListDefaultSlotChange=e(this,"calciteInternalListDefaultSlotChange",6),this.dragSelector="calcite-list-item",this.enabledListItems=[],this.handleSelector="calcite-handle",this.listItems=[],this.mutationObserver=m("mutation",(()=>this.updateListItems())),this.handleDefaultSlotChange=t=>{F(M(t.target)),this.parentListEl&&this.calciteInternalListDefaultSlotChange.emit()},this.handleFilterActionsStartSlotChange=t=>{this.hasFilterActionsStart=c(t)},this.handleFilterActionsEndSlotChange=t=>{this.hasFilterActionsEnd=c(t)},this.setActiveListItem=()=>{const{enabledListItems:t}=this;t.some((t=>t.active))||t[0]&&(t[0].active=!0)},this.updateSelectedItems=(t=!1)=>{this.selectedItems=this.enabledListItems.filter((t=>t.selected)),t&&this.calciteListChange.emit()},this.updateFilteredItems=(t=!1)=>{const{listItems:e,filteredData:i,filterText:s}=this,n=i.map((t=>t.value)),a=null==e?void 0:e.filter((t=>e.every((e=>e===t||!t.contains(e))))),o=e.filter((t=>!s||n.includes(t.value)))||[],l=new WeakSet;a.forEach((t=>this.filterElements({el:t,filteredItems:o,visibleParents:l}))),this.filteredItems=o,t&&this.calciteListFilter.emit()},this.setFilterEl=t=>{this.filterEl=t,this.performFilter()},this.handleFilterChange=t=>{t.stopPropagation();const{value:e}=t.currentTarget;this.filterText=e,this.updateFilteredData(!0)},this.getItemData=()=>this.listItems.map((t=>({label:t.label,description:t.description,metadata:t.metadata,value:t.value}))),this.updateListItems=A(((t=!1)=>{const{selectionAppearance:e,selectionMode:i,dragEnabled:s}=this;if(this.parentListEl)return this.queryListItems(!0).forEach((t=>{t.dragHandle=s})),void this.setUpSorting();const n=this.queryListItems();n.forEach((t=>{t.selectionAppearance=e,t.selectionMode=i})),this.queryListItems(!0).forEach((t=>{t.dragHandle=s})),this.listItems=n,this.filterEnabled&&(this.dataForFilter=this.getItemData(),this.filterEl&&(this.filterEl.items=this.dataForFilter)),this.updateFilteredItems(t),this.enabledListItems=this.filteredItems.filter((t=>!t.disabled&&!t.closed)),this.setActiveListItem(),this.updateSelectedItems(t),this.setUpSorting()}),0),this.queryListItems=(t=!1)=>Array.from(this.el.querySelectorAll(t?":scope > calcite-list-item":U)),this.focusRow=t=>{const{enabledListItems:e}=this;t&&(e.forEach((e=>e.active=e===t)),t.setFocus())},this.isNavigable=t=>{var e;const i=null===(e=t.parentElement)||void 0===e?void 0:e.closest(U);return!i||i.open&&this.isNavigable(i)},this.handleListKeydown=t=>{var e;if(t.defaultPrevented||this.parentListEl)return;const{key:i}=t,s=this.enabledListItems.filter((t=>this.isNavigable(t))),n=s.findIndex((t=>t.active));if("ArrowDown"===i){t.preventDefault();const e=t.target===this.filterEl?0:n+1;s[e]&&this.focusRow(s[e])}else if("ArrowUp"===i){if(t.preventDefault(),0===n&&this.filterEnabled)return void(null===(e=this.filterEl)||void 0===e||e.setFocus());const i=n-1;s[i]&&this.focusRow(s[i])}else if("Home"===i){t.preventDefault();const e=s[0];e&&this.focusRow(e)}else if("End"===i){t.preventDefault();const e=s[s.length-1];e&&this.focusRow(e)}},this.disabled=!1,this.canPull=void 0,this.canPut=void 0,this.dragEnabled=!1,this.group=void 0,this.filterEnabled=!1,this.filteredItems=[],this.filteredData=[],this.filterPlaceholder=void 0,this.filterText=void 0,this.label=void 0,this.loading=!1,this.openable=!1,this.selectedItems=[],this.selectionMode="none",this.selectionAppearance="icon",this.assistiveText=void 0,this.dataForFilter=[],this.hasFilterActionsEnd=!1,this.hasFilterActionsStart=!1}async handleFilterTextChange(){this.performFilter()}handleListItemChange(){this.updateListItems()}handleCalciteInternalFocusPreviousItem(t){if(this.parentListEl)return;t.stopPropagation();const{enabledListItems:e}=this,i=e.findIndex((t=>t.active))-1;e[i]&&this.focusRow(e[i])}handleCalciteInternalListItemActive(t){if(this.parentListEl)return;t.stopPropagation();const e=t.target,{listItems:i}=this;i.forEach((t=>{t.active=t===e}))}handleCalciteListItemSelect(){this.parentListEl||this.updateSelectedItems(!0)}handleCalciteInternalHandleChange(t){this.assistiveText=t.detail.message,t.stopPropagation()}handleCalciteHandleNudge(t){this.parentListEl||this.handleNudgeEvent(t)}handleCalciteInternalListItemSelect(t){if(this.parentListEl)return;t.stopPropagation();const e=t.target,{listItems:i,selectionMode:s}=this;!e.selected||"single"!==s&&"single-persist"!==s||i.forEach((t=>t.selected=t===e)),this.updateSelectedItems()}handleCalciteInternalListItemChange(t){this.parentListEl||(t.stopPropagation(),this.updateListItems())}handleCalciteInternalListItemGroupDefaultSlotChange(t){t.stopPropagation()}connectedCallback(){B(this)||(this.connectObserver(),this.updateListItems(),this.setUpSorting(),D(this),this.setParentList())}disconnectedCallback(){B(this)||(this.disconnectObserver(),_(this),j(this))}componentWillLoad(){u(this)}componentDidRender(){H(this)}componentDidLoad(){p(this)}async setFocus(){var t,e;return await g(this),this.filterEnabled?null===(t=this.filterEl)||void 0===t?void 0:t.setFocus():null===(e=this.enabledListItems.find((t=>t.active)))||void 0===e?void 0:e.setFocus()}render(){const{loading:t,label:e,disabled:s,dataForFilter:n,filterEnabled:a,filterPlaceholder:o,filterText:l,hasFilterActionsStart:c,hasFilterActionsEnd:r}=this;return i("div",{class:"container"},this.dragEnabled?i("span",{"aria-live":"assertive",class:"assistive-text"},this.assistiveText):null,t?i("calcite-scrim",{class:"scrim",loading:t}):null,i("table",{"aria-busy":h(t),"aria-label":e||"",class:"table",onKeyDown:this.handleListKeydown,role:"treegrid"},a||c||r?i("thead",null,i("tr",{class:{"sticky-pos":!0}},i("th",{colSpan:T},i("calcite-stack",{class:"stack"},i("slot",{name:"filter-actions-start",onSlotchange:this.handleFilterActionsStartSlotChange,slot:R.actionsStart}),i("calcite-filter",{"aria-label":o,disabled:t||s,items:n,onCalciteFilterChange:this.handleFilterChange,placeholder:o,value:l,ref:this.setFilterEl}),i("slot",{name:"filter-actions-end",onSlotchange:this.handleFilterActionsEndSlotChange,slot:R.actionsEnd}))))):null,i("tbody",{class:"table-container"},i("slot",{onSlotchange:this.handleDefaultSlotChange}))))}connectObserver(){var t;null===(t=this.mutationObserver)||void 0===t||t.observe(this.el,{childList:!0,subtree:!0})}disconnectObserver(){var t;null===(t=this.mutationObserver)||void 0===t||t.disconnect()}setUpSorting(){const{dragEnabled:t}=this;t&&N(this)}onDragStart(){this.disconnectObserver()}onDragEnd(){this.connectObserver()}onDragSort(t){this.setParentList(),this.updateListItems(),this.calciteListOrderChange.emit(t)}setParentList(){var t;this.parentListEl=null===(t=this.el.parentElement)||void 0===t?void 0:t.closest("calcite-list")}filterElements({el:t,filteredItems:e,visibleParents:i}){const s=!i.has(t)&&!e.includes(t);t.hidden=s;const n=t.parentElement.closest("calcite-list-item-group, calcite-list-item");n&&(s||i.add(n),this.filterElements({el:n,filteredItems:e,visibleParents:i}))}updateFilteredData(t=!1){const{filterEl:e}=this;e&&(e.filteredItems&&(this.filteredData=e.filteredItems),this.updateListItems(t))}async performFilter(){const{filterEl:t,filterText:e}=this;t&&(t.value=e,await t.filter(e),this.updateFilteredData())}handleNudgeEvent(t){const{direction:e}=t.detail,i=t.composedPath(),s=i.find((t=>"CALCITE-HANDLE"===t.tagName)),n=i.find((t=>"CALCITE-LIST-ITEM"===t.tagName)),a=null==n?void 0:n.parentElement;if(!a)return;const{enabledListItems:o}=this,l=o.filter((t=>t.parentElement===a)),c=l.length-1,r=l.indexOf(n);let h,d=!1;"up"===e?0===r?d=!0:h=r-1:r===c?h=0:r===c-1?d=!0:h=r+2,this.disconnectObserver(),d?a.appendChild(n):a.insertBefore(n,l[h]),this.updateListItems(),this.connectObserver(),this.calciteListOrderChange.emit({dragEl:n,fromEl:null,toEl:null}),s.setFocus().then((()=>{s.activated=!0}))}get el(){return n(this)}static get watchers(){return{filterText:["handleFilterTextChange"],filterEnabled:["handleListItemChange"],group:["handleListItemChange"],dragEnabled:["handleListItemChange"],selectionMode:["handleListItemChange"],selectionAppearance:["handleListItemChange"]}}};q.style=":host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-ui-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){margin-block-end:1px;--tw-shadow:0 1px 0 var(--calcite-ui-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)}::slotted(calcite-list-item:last-child){--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)}.sticky-pos{position:sticky;inset-block-start:0px;z-index:var(--calcite-app-z-index-sticky);background-color:var(--calcite-ui-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}";const $=new Map,J=class{constructor(i){t(this,i),this.calciteListItemSelect=e(this,"calciteListItemSelect",6),this.calciteListItemClose=e(this,"calciteListItemClose",6),this.calciteInternalListItemSelect=e(this,"calciteInternalListItemSelect",6),this.calciteInternalListItemActive=e(this,"calciteInternalListItemActive",6),this.calciteInternalFocusPreviousItem=e(this,"calciteInternalFocusPreviousItem",6),this.calciteInternalListItemChange=e(this,"calciteInternalListItemChange",6),this.closeClickHandler=()=>{this.closed=!0,this.calciteListItemClose.emit()},this.handleContentSlotChange=t=>{this.hasCustomContent=c(t)},this.handleActionsStartSlotChange=t=>{this.hasActionsStart=c(t)},this.handleActionsEndSlotChange=t=>{this.hasActionsEnd=c(t)},this.handleContentStartSlotChange=t=>{this.hasContentStart=c(t)},this.handleContentEndSlotChange=t=>{this.hasContentEnd=c(t)},this.handleDefaultSlotChange=t=>{this.handleOpenableChange(t.target)},this.toggleOpen=()=>{this.open=!this.open},this.itemClicked=t=>{t.defaultPrevented||(this.toggleSelected(),this.calciteInternalListItemActive.emit())},this.toggleSelected=()=>{const{selectionMode:t,selected:e}=this;this.disabled||("multiple"===t||"single"===t?this.selected=!e:"single-persist"===t&&(this.selected=!0),this.calciteListItemSelect.emit())},this.handleItemKeyDown=t=>{if(t.defaultPrevented)return;const{key:e}=t,i=t.composedPath(),{containerEl:s,contentEl:n,actionsStartEl:a,actionsEndEl:o,open:l,openable:c}=this,r=[a,n,o].filter(Boolean),h=r.findIndex((t=>i.includes(t)));if("Enter"!==e||i.includes(a)||i.includes(o)){if("ArrowRight"===e){t.preventDefault();const e=h+1;-1===h?!l&&c?(this.open=!0,this.focusCell(null)):r[0]&&this.focusCell(r[0]):r[h]&&r[e]&&this.focusCell(r[e])}else if("ArrowLeft"===e){t.preventDefault();const e=h-1;-1===h?(this.focusCell(null),l&&c?this.open=!1:this.calciteInternalFocusPreviousItem.emit()):0===h?(this.focusCell(null),s.focus()):r[h]&&r[e]&&this.focusCell(r[e])}}else t.preventDefault(),this.toggleSelected()},this.focusCellNull=()=>{this.focusCell(null)},this.focusCell=(t,e=!0)=>{const{contentEl:i,actionsStartEl:s,actionsEndEl:n,parentListEl:a}=this;e&&$.set(a,null),[s,i,n].filter(Boolean).forEach(((i,s)=>{const n="tabindex";i===t?(i.setAttribute(n,"0"),e&&$.set(a,s)):i.removeAttribute(n)})),null==t||t.focus()},this.active=!1,this.closable=!1,this.closed=!1,this.description=void 0,this.disabled=!1,this.dragHandle=!1,this.label=void 0,this.metadata=void 0,this.open=!1,this.setSize=null,this.setPosition=null,this.selected=!1,this.value=void 0,this.selectionMode=null,this.selectionAppearance=null,this.messageOverrides=void 0,this.messages=void 0,this.effectiveLocale="",this.defaultMessages=void 0,this.level=null,this.visualLevel=null,this.parentListEl=void 0,this.openable=!1,this.hasActionsStart=!1,this.hasActionsEnd=!1,this.hasCustomContent=!1,this.hasContentStart=!1,this.hasContentEnd=!1}activeHandler(t){t||this.focusCell(null,!1)}handleClosedChange(){this.emitCalciteInternalListItemChange()}handleDisabledChange(){this.emitCalciteInternalListItemChange()}handleSelectedChange(){this.calciteInternalListItemSelect.emit()}onMessagesChange(){}handleCalciteInternalListDefaultSlotChanges(t){t.stopPropagation(),this.handleOpenableChange(this.defaultSlotEl)}effectiveLocaleChange(){v(this,this.effectiveLocale)}connectedCallback(){D(this),b(this),x(this);const{el:t}=this;this.parentListEl=t.closest("calcite-list"),this.level=P(t)+1,this.visualLevel=P(t,!0),this.setSelectionDefaults()}async componentWillLoad(){u(this),await y(this)}componentDidLoad(){p(this)}componentDidRender(){H(this,"managed")}disconnectedCallback(){j(this),f(this),C(this)}async setFocus(){await g(this);const{containerEl:t,contentEl:e,actionsStartEl:i,actionsEndEl:s,parentListEl:n}=this,a=$.get(n);if("number"!=typeof a)null==t||t.focus();else{const n=[i,e,s].filter(Boolean);n[a]?this.focusCell(n[a]):null==t||t.focus()}}renderSelected(){const{selected:t,selectionMode:e,selectionAppearance:s}=this;return"none"===e||"border"===s?null:i("td",{class:G.selectionContainer,key:"selection-container",onClick:this.itemClicked},i("calcite-icon",{icon:t?"multiple"===e?O.selectedMultiple:O.selectedSingle:O.unselected,scale:"s"}))}renderDragHandle(){return this.dragHandle?i("td",{class:G.dragContainer,key:"drag-handle-container"},i("calcite-handle",{label:this.label,setPosition:this.setPosition,setSize:this.setSize})):null}renderOpen(){const{el:t,open:e,openable:s,parentListEl:n}=this,a=d(t);return s?i("td",{class:G.openContainer,key:"open-container",onClick:this.toggleOpen},i("calcite-icon",{icon:e?O.open:"rtl"===a?O.closedRTL:O.closedLTR,scale:"s"})):(null==n?void 0:n.openable)?i("td",{class:G.openContainer,key:"open-container",onClick:this.itemClicked},i("calcite-icon",{icon:O.blank,scale:"s"})):null}renderActionsStart(){const{label:t,hasActionsStart:e}=this;return i("td",{"aria-label":t,class:G.actionsStart,hidden:!e,key:"actions-start-container",role:"gridcell",ref:t=>this.actionsStartEl=t},i("slot",{name:W.actionsStart,onSlotchange:this.handleActionsStartSlotChange}))}renderActionsEnd(){const{label:t,hasActionsEnd:e,closable:s,messages:n}=this;return i("td",{"aria-label":t,class:G.actionsEnd,hidden:!(e||s),key:"actions-end-container",role:"gridcell",ref:t=>this.actionsEndEl=t},i("slot",{name:W.actionsEnd,onSlotchange:this.handleActionsEndSlotChange}),s?i("calcite-action",{appearance:"transparent",icon:O.close,key:"close-action",label:n.close,onClick:this.closeClickHandler,text:n.close}):null)}renderContentStart(){const{hasContentStart:t}=this;return i("div",{class:G.contentStart,hidden:!t},i("slot",{name:W.contentStart,onSlotchange:this.handleContentStartSlotChange}))}renderCustomContent(){const{hasCustomContent:t}=this;return i("div",{class:G.customContent,hidden:!t},i("slot",{name:W.content,onSlotchange:this.handleContentSlotChange}))}renderContentEnd(){const{hasContentEnd:t}=this;return i("div",{class:G.contentEnd,hidden:!t},i("slot",{name:W.contentEnd,onSlotchange:this.handleContentEndSlotChange}))}renderContentProperties(){const{label:t,description:e,hasCustomContent:s}=this;return s||!t&&!e?null:i("div",{class:G.content,key:"content"},t?i("div",{class:G.label,key:"label"},t):null,e?i("div",{class:G.description,key:"description"},e):null)}renderContentContainer(){const{description:t,label:e,selectionMode:s,hasCustomContent:n}=this,a=n||!!e||!!t,o=[this.renderContentStart(),this.renderCustomContent(),this.renderContentProperties(),this.renderContentEnd()];return i("td",{"aria-label":e,class:{[G.contentContainer]:!0,[G.contentContainerSelectable]:"none"!==s,[G.contentContainerHasCenterContent]:a},key:"content-container",onClick:this.itemClicked,role:"gridcell",ref:t=>this.contentEl=t},o)}render(){const{openable:t,open:e,level:n,setPosition:a,setSize:o,active:l,label:c,selected:r,selectionAppearance:d,selectionMode:p,closed:u}=this,g="none"!==p&&"border"===d,b=g&&r,f=g&&!r;return i(s,null,i("tr",{"aria-expanded":t?h(e):null,"aria-label":c,"aria-level":n,"aria-posinset":a,"aria-selected":h(r),"aria-setsize":o,class:{[G.container]:!0,[G.containerBorderSelected]:b,[G.containerBorderUnselected]:f},hidden:u,onFocus:this.focusCellNull,onKeyDown:this.handleItemKeyDown,role:"row",style:{"--calcite-list-item-spacing-indent-multiplier":`${this.visualLevel}`},tabIndex:l?0:-1,ref:t=>this.containerEl=t},this.renderDragHandle(),this.renderSelected(),this.renderOpen(),this.renderActionsStart(),this.renderContentContainer(),this.renderActionsEnd()),i("div",{class:{[G.nestedContainer]:!0,[G.nestedContainerHidden]:t&&!e}},i("slot",{onSlotchange:this.handleDefaultSlotChange,ref:t=>this.defaultSlotEl=t})))}emitCalciteInternalListItemChange(){this.calciteInternalListItemChange.emit()}setSelectionDefaults(){const{parentListEl:t,selectionMode:e,selectionAppearance:i}=this;t&&(e||(this.selectionMode=t.selectionMode),i||(this.selectionAppearance=t.selectionAppearance))}handleOpenableChange(t){if(!t)return;const{parentListEl:e}=this,i=M(t);F(i);const s=!!i.length;s&&e&&!e.openable&&(e.openable=!0),this.openable=s,s||(this.open=!1)}static get assetsDirs(){return["assets"]}get el(){return n(this)}static get watchers(){return{active:["activeHandler"],closed:["handleClosedChange"],disabled:["handleDisabledChange"],selected:["handleSelectedChange"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};J.style=":host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:flex;flex-direction:column;--calcite-list-item-icon-color:var(--calcite-ui-brand);--calcite-list-item-spacing-indent:1rem}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.container{box-sizing:border-box;display:flex;flex:1 1 0%;background-color:var(--calcite-ui-foreground-1);font-family:var(--calcite-sans-family);padding-inline-start:calc(var(--calcite-list-item-spacing-indent) * var(--calcite-list-item-spacing-indent-multiplier))}.container *{box-sizing:border-box}.container:hover{cursor:pointer;background-color:var(--calcite-ui-foreground-2)}.container--border-selected{border-inline-start:4px solid var(--calcite-ui-brand)}.container--border-unselected{border-inline-start:4px solid transparent}.nested-container{display:flex;flex-direction:column;background-color:var(--calcite-ui-foreground-1)}.nested-container--hidden{display:none}.content-container{display:flex;flex:1 1 auto;align-items:stretch;padding:0px;font-family:var(--calcite-sans-family);font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-2)}tr,td{outline-color:transparent}tr:focus,td:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}.content,.custom-content{display:flex;flex:1 1 auto;flex-direction:column;justify-content:center;padding-inline:0.75rem;padding-block:0.5rem;font-size:var(--calcite-font-size--2);line-height:1.375}.label,.description{font-family:var(--calcite-sans-family);font-size:var(--calcite-font-size--2);font-weight:var(--calcite-font-weight-normal);word-wrap:break-word;word-break:break-word}.label:only-child,.description:only-child{margin:0px;padding-block:0.25rem}.label{color:var(--calcite-ui-text-1)}.description{margin-block-start:0.125rem;color:var(--calcite-ui-text-3)}.content-start{justify-content:flex-start}.content-end{justify-content:flex-end}.content-start,.content-end{flex:1 1 auto}.content-container--has-center-content .content-start,.content-container--has-center-content .content-end{flex:0 1 auto}.selection-container{display:flex;padding-inline:0.75rem;color:var(--calcite-list-item-icon-color)}.actions-start,.actions-end,.content-start,.content-end,.selection-container,.drag-container,.open-container{display:flex;align-items:center}.open-container,.selection-container{cursor:pointer}.content-start ::slotted(calcite-icon),.content-end ::slotted(calcite-icon){margin-inline:0.75rem;align-self:center}.actions-start ::slotted(calcite-action),.actions-end ::slotted(calcite-action){align-self:stretch;color:inherit}::slotted(calcite-list-item){border-width:0px;border-block-start-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3)}:host([hidden]){display:none}[hidden]{display:none}";export{K as calcite_action_bar,q as calcite_list,J as calcite_list_item}
@@ -3,7 +3,7 @@
3
3
  * Licensed under the Apache License, Version 2.0
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
- import{r as i,c as t,h as e,H as n,g as a}from"./p-33613993.js";import{v as s,a as o,f as c}from"./p-1ba1336c.js";import{d as l,a as h,c as r,u as d}from"./p-910cf04b.js";import{s as p,a as m,c as x}from"./p-4a3cdcab.js";import{c as b}from"./p-9cb360bd.js";import{o as v}from"./p-d89050c9.js";import{C as g}from"./p-31133802.js";import"./p-31fdc998.js";
6
+ import{r as i,c as t,h as e,H as n,g as a}from"./p-91c78d98.js";import{v as s,a as o,f as c}from"./p-1ba1336c.js";import{d as l,a as h,c as r,u as d}from"./p-910cf04b.js";import{s as p,a as m,c as x}from"./p-4caa1f9d.js";import{c as b}from"./p-9cb360bd.js";import{o as v}from"./p-e9148c7b.js";import{C as g}from"./p-31133802.js";import"./p-31fdc998.js";
7
7
  /*!
8
8
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
9
9
  * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
@@ -3,4 +3,4 @@
3
3
  * Licensed under the Apache License, Version 2.0
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
- import{d as e}from"./p-d32b683a.js";import"./p-33613993.js";import"./p-5ce6c4f9.js";import"./p-1ba1336c.js";import"./p-31fdc998.js";import"./p-31133802.js";import"./p-35a41253.js";import"./p-943a5ed7.js";import"./p-79e83176.js";import"./p-dcc50669.js";import"./p-4a3cdcab.js";import"./p-08901512.js";import"./p-9cb360bd.js";import"./p-910cf04b.js";import"./p-6527978c.js";import"./p-e912299d.js";import"./p-7e378eb0.js";var s={name:"ca",weekdays:"Diumenge_Dilluns_Dimarts_Dimecres_Dijous_Divendres_Dissabte".split("_"),weekdaysShort:"Dg._Dl._Dt._Dc._Dj._Dv._Ds.".split("_"),weekdaysMin:"Dg_Dl_Dt_Dc_Dj_Dv_Ds".split("_"),months:"Gener_Febrer_Març_Abril_Maig_Juny_Juliol_Agost_Setembre_Octubre_Novembre_Desembre".split("_"),monthsShort:"Gen._Febr._Març_Abr._Maig_Juny_Jul._Ag._Set._Oct._Nov._Des.".split("_"),weekStart:1,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",LLL:"D MMMM [de] YYYY [a les] H:mm",LLLL:"dddd D MMMM [de] YYYY [a les] H:mm",ll:"D MMM YYYY",lll:"D MMM YYYY, H:mm",llll:"ddd D MMM YYYY, H:mm"},relativeTime:{future:"d'aquí %s",past:"fa %s",s:"uns segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},ordinal:function(e){return e+(1===e||3===e?"r":2===e?"n":4===e?"t":"è")}};e.locale(s,null,!0);export default s;
6
+ import{d as e}from"./p-5dc13b6d.js";import"./p-91c78d98.js";import"./p-0014f93f.js";import"./p-1ba1336c.js";import"./p-31fdc998.js";import"./p-31133802.js";import"./p-35a41253.js";import"./p-943a5ed7.js";import"./p-79e83176.js";import"./p-dcc50669.js";import"./p-4caa1f9d.js";import"./p-08901512.js";import"./p-9cb360bd.js";import"./p-910cf04b.js";import"./p-6527978c.js";import"./p-e912299d.js";import"./p-272018eb.js";var s={name:"ca",weekdays:"Diumenge_Dilluns_Dimarts_Dimecres_Dijous_Divendres_Dissabte".split("_"),weekdaysShort:"Dg._Dl._Dt._Dc._Dj._Dv._Ds.".split("_"),weekdaysMin:"Dg_Dl_Dt_Dc_Dj_Dv_Ds".split("_"),months:"Gener_Febrer_Març_Abril_Maig_Juny_Juliol_Agost_Setembre_Octubre_Novembre_Desembre".split("_"),monthsShort:"Gen._Febr._Març_Abr._Maig_Juny_Jul._Ag._Set._Oct._Nov._Des.".split("_"),weekStart:1,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",LLL:"D MMMM [de] YYYY [a les] H:mm",LLLL:"dddd D MMMM [de] YYYY [a les] H:mm",ll:"D MMM YYYY",lll:"D MMM YYYY, H:mm",llll:"ddd D MMM YYYY, H:mm"},relativeTime:{future:"d'aquí %s",past:"fa %s",s:"uns segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},ordinal:function(e){return e+(1===e||3===e?"r":2===e?"n":4===e?"t":"è")}};e.locale(s,null,!0);export default s;
@@ -3,7 +3,7 @@
3
3
  * Licensed under the Apache License, Version 2.0
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
- import{r as t,c as e,h as i,F as s,g as n,H as a}from"./p-33613993.js";import{f as o}from"./p-3c7af635.js";import{c,u as l,d as r}from"./p-35a41253.js";import{s as d,a as h,c as u}from"./p-4a3cdcab.js";import{c as p,d as f}from"./p-08901512.js";import{u as m,s as g,c as v,d as b}from"./p-7e378eb0.js";import{d as x}from"./p-a82f35c9.js";import{t as y,u as C}from"./p-1ba1336c.js";import{S as k,C as w}from"./p-a653343a.js";import"./p-943a5ed7.js";import"./p-79e83176.js";import"./p-9cb360bd.js";import"./p-31fdc998.js";import"./p-31133802.js";
6
+ import{r as t,c as e,h as i,F as s,g as n,H as a}from"./p-91c78d98.js";import{f as o}from"./p-3c7af635.js";import{c,u as l,d as r}from"./p-35a41253.js";import{s as d,a as h,c as u}from"./p-4caa1f9d.js";import{c as p,d as f}from"./p-08901512.js";import{u as m,s as g,c as v,d as b}from"./p-272018eb.js";import{d as x}from"./p-a82f35c9.js";import{t as y,u as C}from"./p-1ba1336c.js";import{S as k,C as w}from"./p-a653343a.js";import"./p-943a5ed7.js";import"./p-79e83176.js";import"./p-9cb360bd.js";import"./p-31fdc998.js";import"./p-31133802.js";
7
7
  /*!
8
8
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
9
9
  * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
@@ -3,7 +3,7 @@
3
3
  * Licensed under the Apache License, Version 2.0
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
- import{r as t,c as e,h as s,H as i,g as o}from"./p-33613993.js";import{a}from"./p-1ba1336c.js";import{c as l,u as n,d as c}from"./p-35a41253.js";import{s as r,a as d,c as h}from"./p-4a3cdcab.js";import{c as p,d as m}from"./p-08901512.js";import{c as b,s as u,d as f,u as v}from"./p-7e378eb0.js";import{S as g}from"./p-663eb3d4.js";import"./p-31fdc998.js";import"./p-31133802.js";import"./p-943a5ed7.js";import"./p-79e83176.js";import"./p-9cb360bd.js";
6
+ import{r as t,c as e,h as s,H as i,g as o}from"./p-91c78d98.js";import{a}from"./p-1ba1336c.js";import{c as l,u as n,d as c}from"./p-35a41253.js";import{s as r,a as d,c as h}from"./p-4caa1f9d.js";import{c as p,d as m}from"./p-08901512.js";import{c as b,s as u,d as f,u as v}from"./p-272018eb.js";import{S as g}from"./p-663eb3d4.js";import"./p-31fdc998.js";import"./p-31133802.js";import"./p-943a5ed7.js";import"./p-79e83176.js";import"./p-9cb360bd.js";
7
7
  /*!
8
8
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
9
9
  * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
@@ -3,4 +3,4 @@
3
3
  * Licensed under the Apache License, Version 2.0
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
- import{d as o}from"./p-d32b683a.js";import"./p-33613993.js";import"./p-5ce6c4f9.js";import"./p-1ba1336c.js";import"./p-31fdc998.js";import"./p-31133802.js";import"./p-35a41253.js";import"./p-943a5ed7.js";import"./p-79e83176.js";import"./p-dcc50669.js";import"./p-4a3cdcab.js";import"./p-08901512.js";import"./p-9cb360bd.js";import"./p-910cf04b.js";import"./p-6527978c.js";import"./p-e912299d.js";import"./p-7e378eb0.js";var e={name:"it",weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),weekStart:1,monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"tra %s",past:"%s fa",s:"qualche secondo",m:"un minuto",mm:"%d minuti",h:"un' ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},ordinal:function(o){return o+"º"}};o.locale(e,null,!0);export default e;
6
+ import{d as o}from"./p-5dc13b6d.js";import"./p-91c78d98.js";import"./p-0014f93f.js";import"./p-1ba1336c.js";import"./p-31fdc998.js";import"./p-31133802.js";import"./p-35a41253.js";import"./p-943a5ed7.js";import"./p-79e83176.js";import"./p-dcc50669.js";import"./p-4caa1f9d.js";import"./p-08901512.js";import"./p-9cb360bd.js";import"./p-910cf04b.js";import"./p-6527978c.js";import"./p-e912299d.js";import"./p-272018eb.js";var m={name:"it",weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),weekStart:1,monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"tra %s",past:"%s fa",s:"qualche secondo",m:"un minuto",mm:"%d minuti",h:"un' ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},ordinal:function(o){return o+"º"}};o.locale(m,null,!0);export default m;
@@ -3,4 +3,4 @@
3
3
  * Licensed under the Apache License, Version 2.0
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
- import{d as _}from"./p-d32b683a.js";import"./p-33613993.js";import"./p-5ce6c4f9.js";import"./p-1ba1336c.js";import"./p-31fdc998.js";import"./p-31133802.js";import"./p-35a41253.js";import"./p-943a5ed7.js";import"./p-79e83176.js";import"./p-dcc50669.js";import"./p-4a3cdcab.js";import"./p-08901512.js";import"./p-9cb360bd.js";import"./p-910cf04b.js";import"./p-6527978c.js";import"./p-e912299d.js";import"./p-7e378eb0.js";var m={name:"ko",weekdays:"일요일_월요일_화요일_수요일_목요일_금요일_토요일".split("_"),weekdaysShort:"일_월_화_수_목_금_토".split("_"),weekdaysMin:"일_월_화_수_목_금_토".split("_"),months:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),monthsShort:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),ordinal:function(_){return _},formats:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY년 MMMM D일",LLL:"YYYY년 MMMM D일 A h:mm",LLLL:"YYYY년 MMMM D일 dddd A h:mm",l:"YYYY.MM.DD.",ll:"YYYY년 MMMM D일",lll:"YYYY년 MMMM D일 A h:mm",llll:"YYYY년 MMMM D일 dddd A h:mm"},meridiem:function(_){return _<12?"오전":"오후"},relativeTime:{future:"%s 후",past:"%s 전",s:"몇 초",m:"1분",mm:"%d분",h:"한 시간",hh:"%d시간",d:"하루",dd:"%d일",M:"한 달",MM:"%d달",y:"일 년",yy:"%d년"}};_.locale(m,null,!0);export default m;
6
+ import{d as _}from"./p-5dc13b6d.js";import"./p-91c78d98.js";import"./p-0014f93f.js";import"./p-1ba1336c.js";import"./p-31fdc998.js";import"./p-31133802.js";import"./p-35a41253.js";import"./p-943a5ed7.js";import"./p-79e83176.js";import"./p-dcc50669.js";import"./p-4caa1f9d.js";import"./p-08901512.js";import"./p-9cb360bd.js";import"./p-910cf04b.js";import"./p-6527978c.js";import"./p-e912299d.js";import"./p-272018eb.js";var m={name:"ko",weekdays:"일요일_월요일_화요일_수요일_목요일_금요일_토요일".split("_"),weekdaysShort:"일_월_화_수_목_금_토".split("_"),weekdaysMin:"일_월_화_수_목_금_토".split("_"),months:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),monthsShort:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),ordinal:function(_){return _},formats:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY년 MMMM D일",LLL:"YYYY년 MMMM D일 A h:mm",LLLL:"YYYY년 MMMM D일 dddd A h:mm",l:"YYYY.MM.DD.",ll:"YYYY년 MMMM D일",lll:"YYYY년 MMMM D일 A h:mm",llll:"YYYY년 MMMM D일 dddd A h:mm"},meridiem:function(_){return _<12?"오전":"오후"},relativeTime:{future:"%s 후",past:"%s 전",s:"몇 초",m:"1분",mm:"%d분",h:"한 시간",hh:"%d시간",d:"하루",dd:"%d일",M:"한 달",MM:"%d달",y:"일 년",yy:"%d년"}};_.locale(m,null,!0);export default m;
@@ -3,7 +3,7 @@
3
3
  * Licensed under the Apache License, Version 2.0
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
- import{g as t}from"./p-f351978d.js";import{e as s,g as i,t as n}from"./p-1ba1336c.js";import{S as e}from"./p-1bdc7107.js";import{d as o}from"./p-a82f35c9.js";import{h as r,H as a}from"./p-33613993.js";import{C as c,S as l}from"./p-fa98063c.js";
6
+ import{g as t}from"./p-f351978d.js";import{e as s,g as i,t as n}from"./p-1ba1336c.js";import{S as e}from"./p-1bdc7107.js";import{d as o}from"./p-a82f35c9.js";import{h as r,H as a}from"./p-91c78d98.js";import{C as c,S as l}from"./p-fa98063c.js";
7
7
  /*!
8
8
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
9
9
  * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
@@ -3,7 +3,7 @@
3
3
  * Licensed under the Apache License, Version 2.0
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
- import{r as t,c as s,h as i,H as e,g as o}from"./p-33613993.js";import{c as a,d as n}from"./p-dcc50669.js";import{u as h}from"./p-35a41253.js";import{c,d as r}from"./p-08901512.js";import{u as l,c as d,d as p,s as m}from"./p-7e378eb0.js";import{c as b,s as u,a as f}from"./p-4a3cdcab.js";import{c as C,d as g,a as v,H as y}from"./p-5ce6c4f9.js";import"./p-1ba1336c.js";import"./p-31fdc998.js";import"./p-31133802.js";import"./p-943a5ed7.js";import"./p-79e83176.js";import"./p-9cb360bd.js";
6
+ import{r as t,c as s,h as i,H as e,g as o}from"./p-91c78d98.js";import{c as a,d as n}from"./p-dcc50669.js";import{u as h}from"./p-35a41253.js";import{c,d as r}from"./p-08901512.js";import{u as l,c as d,d as p,s as m}from"./p-272018eb.js";import{c as b,s as u,a as f}from"./p-4caa1f9d.js";import{c as C,d as g,a as v,H as y}from"./p-0014f93f.js";import"./p-1ba1336c.js";import"./p-31fdc998.js";import"./p-31133802.js";import"./p-943a5ed7.js";import"./p-79e83176.js";import"./p-9cb360bd.js";
7
7
  /*!
8
8
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
9
9
  * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
@@ -3,4 +3,4 @@
3
3
  * Licensed under the Apache License, Version 2.0
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
- import{d as r}from"./p-d32b683a.js";import"./p-33613993.js";import"./p-5ce6c4f9.js";import"./p-1ba1336c.js";import"./p-31fdc998.js";import"./p-31133802.js";import"./p-35a41253.js";import"./p-943a5ed7.js";import"./p-79e83176.js";import"./p-dcc50669.js";import"./p-4a3cdcab.js";import"./p-08901512.js";import"./p-9cb360bd.js";import"./p-910cf04b.js";import"./p-6527978c.js";import"./p-e912299d.js";import"./p-7e378eb0.js";var t="يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),p={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},m={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},_={name:"ar",weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),months:t,monthsShort:t,weekStart:6,relativeTime:{future:"بعد %s",past:"منذ %s",s:"ثانية واحدة",m:"دقيقة واحدة",mm:"%d دقائق",h:"ساعة واحدة",hh:"%d ساعات",d:"يوم واحد",dd:"%d أيام",M:"شهر واحد",MM:"%d أشهر",y:"عام واحد",yy:"%d أعوام"},preparse:function(r){return r.replace(/[١٢٣٤٥٦٧٨٩٠]/g,(function(r){return m[r]})).replace(/،/g,",")},postformat:function(r){return r.replace(/\d/g,(function(r){return p[r]})).replace(/,/g,"،")},ordinal:function(r){return r},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"}};r.locale(_,null,!0);export default _;
6
+ import{d as r}from"./p-5dc13b6d.js";import"./p-91c78d98.js";import"./p-0014f93f.js";import"./p-1ba1336c.js";import"./p-31fdc998.js";import"./p-31133802.js";import"./p-35a41253.js";import"./p-943a5ed7.js";import"./p-79e83176.js";import"./p-dcc50669.js";import"./p-4caa1f9d.js";import"./p-08901512.js";import"./p-9cb360bd.js";import"./p-910cf04b.js";import"./p-6527978c.js";import"./p-e912299d.js";import"./p-272018eb.js";var t="يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),p={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},m={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},_={name:"ar",weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),months:t,monthsShort:t,weekStart:6,relativeTime:{future:"بعد %s",past:"منذ %s",s:"ثانية واحدة",m:"دقيقة واحدة",mm:"%d دقائق",h:"ساعة واحدة",hh:"%d ساعات",d:"يوم واحد",dd:"%d أيام",M:"شهر واحد",MM:"%d أشهر",y:"عام واحد",yy:"%d أعوام"},preparse:function(r){return r.replace(/[١٢٣٤٥٦٧٨٩٠]/g,(function(r){return m[r]})).replace(/،/g,",")},postformat:function(r){return r.replace(/\d/g,(function(r){return p[r]})).replace(/,/g,"،")},ordinal:function(r){return r},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"}};r.locale(_,null,!0);export default _;
@@ -3,7 +3,7 @@
3
3
  * Licensed under the Apache License, Version 2.0
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
- import{h as i,r as t,c as e,H as s,g as n}from"./p-33613993.js";import{f as o}from"./p-3c7af635.js";import{i as a,t as r,g as c,d as l,e as h}from"./p-1ba1336c.js";import{d,f as p,c as m,r as u,a as b,F as g}from"./p-5faf659b.js";import{s as v,c as f,a as x,d as w,H as y}from"./p-5ce6c4f9.js";import{g as k}from"./p-31fdc998.js";import{c as C,u as z,d as I}from"./p-35a41253.js";import{c as D,d as H,g as $}from"./p-dcc50669.js";import{c as E,s as j,a as P}from"./p-4a3cdcab.js";import{c as O,d as L}from"./p-08901512.js";import{c as A}from"./p-9cb360bd.js";import{o as S}from"./p-d89050c9.js";import{c as _,s as F,d as R,u as T}from"./p-7e378eb0.js";import{i as M,C as B,b as W,c as q,h as N,d as U,e as V,f as G,g as K,a as X}from"./p-dc99214a.js";import{d as Y}from"./p-a82f35c9.js";import{c as J,d as Q}from"./p-5079b190.js";import{i as Z}from"./p-79e83176.js";import{g as ii}from"./p-22833bd3.js";import{k as ti,l as ei}from"./p-53bc5fc1.js";import{s as si}from"./p-1ab414e0.js";import"./p-31133802.js";import"./p-943a5ed7.js";import"./p-e1a4994d.js";import"./p-2a58e378.js";import"./p-cc462e38.js";
6
+ import{h as i,r as t,c as e,H as s,g as n}from"./p-91c78d98.js";import{f as o}from"./p-3c7af635.js";import{i as a,t as r,g as c,d as l,e as h}from"./p-1ba1336c.js";import{d,f as p,c as m,r as u,a as b,F as g}from"./p-5faf659b.js";import{s as v,c as f,a as x,d as w,H as y}from"./p-0014f93f.js";import{g as k}from"./p-31fdc998.js";import{c as C,u as z,d as I}from"./p-35a41253.js";import{c as D,d as H,g as $}from"./p-dcc50669.js";import{c as E,s as j,a as P}from"./p-4caa1f9d.js";import{c as O,d as L}from"./p-08901512.js";import{c as A}from"./p-9cb360bd.js";import{o as S}from"./p-e9148c7b.js";import{c as _,s as F,d as R,u as T}from"./p-272018eb.js";import{i as M,C as B,b as W,c as q,h as N,d as U,e as V,f as G,g as K,a as X}from"./p-dc99214a.js";import{d as Y}from"./p-a82f35c9.js";import{c as J,d as Q}from"./p-12e15eaa.js";import{i as Z}from"./p-79e83176.js";import{g as ii}from"./p-99d8a839.js";import{k as ti,l as ei}from"./p-53bc5fc1.js";import{s as si}from"./p-375fd36b.js";import"./p-31133802.js";import"./p-943a5ed7.js";import"./p-e1a4994d.js";import"./p-2a58e378.js";import"./p-482534a7.js";
7
7
  /*!
8
8
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
9
9
  * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
@@ -26,4 +26,4 @@ const gi=class{constructor(i){t(this,i),this.calciteDropdownSelect=e(this,"calci
26
26
  * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
27
27
  * v1.8.0
28
28
  */
29
- const vi="container",fi=class{constructor(i){t(this,i),this.calciteInternalDropdownItemChange=e(this,"calciteInternalDropdownItemChange",6),this.updateItems=()=>{Array.from(this.el.querySelectorAll("calcite-dropdown-item")).forEach((i=>i.selectionMode=this.selectionMode))},this.mutationObserver=A("mutation",(()=>this.updateItems())),this.groupTitle=void 0,this.scale="m",this.selectionMode="single"}handlePropsChange(){this.updateItems()}connectedCallback(){this.updateItems()}componentWillLoad(){this.groupPosition=this.getGroupPosition()}render(){const t=this.groupTitle?i("span",{"aria-hidden":"true",class:"dropdown-title"},this.groupTitle):null,e=this.groupPosition>0?i("div",{class:"dropdown-separator",role:"separator"}):null;return i(s,{"aria-label":this.groupTitle,role:"group"},i("div",{class:{[vi]:!0,[`${vi}--${this.scale}`]:!0}},e,t,i("slot",null)))}updateActiveItemOnChange(i){this.requestedDropdownGroup=i.detail.requestedDropdownGroup,this.requestedDropdownItem=i.detail.requestedDropdownItem,this.calciteInternalDropdownItemChange.emit({requestedDropdownGroup:this.requestedDropdownGroup,requestedDropdownItem:this.requestedDropdownItem})}getGroupPosition(){return Array.prototype.indexOf.call(this.el.parentElement.querySelectorAll("calcite-dropdown-group"),this.el)}static get delegatesFocus(){return!0}get el(){return n(this)}static get watchers(){return{selectionMode:["handlePropsChange"]}}};fi.style=":host{position:relative;display:block}.container{text-align:start}.container--s{font-size:var(--calcite-font-size--2);line-height:1rem}.container--s .dropdown-title{padding:0.5rem}.container--m{font-size:var(--calcite-font-size--1);line-height:1rem}.container--m .dropdown-title{padding:0.75rem}.container--l{font-size:var(--calcite-font-size-0);line-height:1.25rem}.container--l .dropdown-title{padding:1rem}.dropdown-title{margin-block-end:-1px;display:block;cursor:default;overflow-wrap:break-word;border-width:0px;border-block-end-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);font-weight:var(--calcite-font-weight-bold);color:var(--calcite-ui-text-2)}.dropdown-separator{display:block;block-size:1px;background-color:var(--calcite-ui-border-3)}:host([hidden]){display:none}[hidden]{display:none}";const xi=class{constructor(i){t(this,i),this.calciteDropdownItemSelect=e(this,"calciteDropdownItemSelect",6),this.calciteInternalDropdownItemSelect=e(this,"calciteInternalDropdownItemSelect",6),this.calciteInternalDropdownItemKeyEvent=e(this,"calciteInternalDropdownItemKeyEvent",6),this.calciteInternalDropdownCloseRequest=e(this,"calciteInternalDropdownCloseRequest",6),this.selected=!1,this.iconFlipRtl=void 0,this.iconStart=void 0,this.iconEnd=void 0,this.href=void 0,this.label=void 0,this.rel=void 0,this.target=void 0,this.selectionMode="single",this.scale="m"}async setFocus(){var i;await E(this),null===(i=this.el)||void 0===i||i.focus()}componentWillLoad(){j(this),this.initialize()}componentDidLoad(){P(this)}connectedCallback(){this.initialize()}render(){const{href:t,selectionMode:e,label:n,iconFlipRtl:o,scale:a}=this,c=i("calcite-icon",{class:"dropdown-item-icon-start",flipRtl:"start"===o||"both"===o,icon:this.iconStart,scale:"l"===a?"m":"s"}),l=i("span",{class:"dropdown-item-content"},i("slot",null)),h=i("calcite-icon",{class:"dropdown-item-icon-end",flipRtl:"end"===o||"both"===o,icon:this.iconEnd,scale:"l"===a?"m":"s"}),d=this.iconStart&&this.iconEnd?[c,l,h]:this.iconStart?[c,l]:this.iconEnd?[l,h]:l,p=t?i("a",{"aria-label":n,class:"dropdown-link",href:t,rel:this.rel,tabIndex:-1,target:this.target,ref:i=>this.childLink=i},d):d,m=t?null:"single"===e?"menuitemradio":"multiple"===e?"menuitemcheckbox":"menuitem",u="none"!==e?r(this.selected):null;return i(s,{"aria-checked":u,"aria-label":t?"":n,role:m,tabindex:"0"},i("div",{class:{[vi]:!0,"container--link":!!t,[`${vi}--${a}`]:!0,"container--multi-selection":"multiple"===e,"container--single-selection":"single"===e,"container--none-selection":"none"===e}},"none"!==e?i("calcite-icon",{class:"dropdown-item-icon",icon:"multiple"===e?"check":"bullet-point",scale:"l"===a?"m":"s"}):null,p))}onClick(){this.emitRequestedItem()}keyDownHandler(i){switch(i.key){case" ":case"Enter":this.emitRequestedItem(),this.href&&this.childLink.click(),i.preventDefault();break;case"Escape":this.calciteInternalDropdownCloseRequest.emit(),i.preventDefault();break;case"Tab":this.calciteInternalDropdownItemKeyEvent.emit({keyboardEvent:i});break;case"ArrowUp":case"ArrowDown":case"Home":case"End":i.preventDefault(),this.calciteInternalDropdownItemKeyEvent.emit({keyboardEvent:i})}}updateActiveItemOnChange(i){i.composedPath().includes(this.parentDropdownGroupEl)&&(this.requestedDropdownGroup=i.detail.requestedDropdownGroup,this.requestedDropdownItem=i.detail.requestedDropdownItem,this.determineActiveItem()),i.stopPropagation()}initialize(){this.parentDropdownGroupEl=this.el.closest("calcite-dropdown-group"),"none"===this.selectionMode&&(this.selected=!1)}determineActiveItem(){switch(this.selectionMode){case"multiple":this.el===this.requestedDropdownItem&&(this.selected=!this.selected);break;case"single":this.el===this.requestedDropdownItem?this.selected=!0:this.requestedDropdownGroup===this.parentDropdownGroupEl&&(this.selected=!1);break;case"none":this.selected=!1}}emitRequestedItem(){this.calciteDropdownItemSelect.emit(),this.calciteInternalDropdownItemSelect.emit({requestedDropdownItem:this.el,requestedDropdownGroup:this.parentDropdownGroupEl})}get el(){return n(this)}};xi.style=".container--s{padding-block:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem;padding-inline-end:0.5rem;padding-inline-start:1.5rem}.container--m{padding-block:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem;padding-inline-end:0.75rem;padding-inline-start:2rem}.container--l{padding-block:0.625rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;padding-inline-end:1rem;padding-inline-start:2.5rem}.container--s.container--none-selection{padding-inline-start:0.25rem}.container--s.container--none-selection .dropdown-link{padding-inline-start:0px}.container--m.container--none-selection{padding-inline-start:0.5rem}.container--m.container--none-selection .dropdown-link{padding-inline-start:0px}.container--l.container--none-selection{padding-inline-start:0.75rem}.container--l.container--none-selection .dropdown-link{padding-inline-start:0px}:host{position:relative;display:flex;flex-grow:1;align-items:center}.container{position:relative;display:flex;flex-grow:1;cursor:pointer;align-items:center;color:var(--calcite-ui-text-3);-webkit-text-decoration-line:none;text-decoration-line:none;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);text-align:start}.dropdown-item-content{flex:1 1 auto;padding-block:0.125rem;padding-inline-end:auto;padding-inline-start:0.25rem}:host,.container--link a{outline-color:transparent}:host(:focus){outline:2px solid transparent;outline-offset:2px;outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}.container--link{padding:0px}.container--link a{position:relative;display:flex;flex-grow:1;cursor:pointer;align-items:center;color:var(--calcite-ui-text-3);-webkit-text-decoration-line:none;text-decoration-line:none;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}.container--s .dropdown-link{padding-block:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem;padding-inline-end:0.5rem;padding-inline-start:1.5rem}.container--m .dropdown-link{padding-block:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem;padding-inline-end:0.75rem;padding-inline-start:2rem}.container--l .dropdown-link{padding-block:0.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;padding-inline-end:1rem;padding-inline-start:2.5rem}:host(:hover) .container,:host(:active) .container{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1);-webkit-text-decoration-line:none;text-decoration-line:none}:host(:hover) .container--link .dropdown-link,:host(:active) .container--link .dropdown-link{color:var(--calcite-ui-text-1)}:host(:focus) .container{color:var(--calcite-ui-text-1);-webkit-text-decoration-line:none;text-decoration-line:none}:host(:active) .container{background-color:var(--calcite-ui-foreground-3)}:host(:hover) .container:before,:host(:active) .container:before,:host(:focus) .container:before{opacity:1}:host([selected]) .container:not(.container--none-selection),:host([selected]) .container--link .dropdown-link{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}:host([selected]) .container:not(.container--none-selection):before,:host([selected]) .container--link .dropdown-link:before{opacity:1;color:var(--calcite-ui-brand)}:host([selected]) .container:not(.container--none-selection) calcite-icon,:host([selected]) .container--link .dropdown-link calcite-icon{color:var(--calcite-ui-brand)}.container--multi-selection:before,.container--none-selection:before{display:none}.container--s:before{inset-inline-start:0.5rem}.container--m:before{inset-inline-start:0.75rem}.container--l:before{inset-inline-start:1rem}.dropdown-item-icon{position:absolute;opacity:0;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transform:scale(0.9)}.container--s .dropdown-item-icon{inset-inline-start:0.25rem}.container--m .dropdown-item-icon{inset-inline-start:0.5rem}.container--l .dropdown-item-icon{inset-inline-start:0.75rem}:host(:hover) .dropdown-item-icon{color:var(--calcite-ui-border-1);opacity:1}:host([selected]) .dropdown-item-icon{color:var(--calcite-ui-brand);opacity:1}.container--s .dropdown-item-icon-start{margin-inline-end:0.5rem;margin-inline-start:0.25rem}.container--s .dropdown-item-icon-end{margin-inline-start:0.5rem}.container--m .dropdown-item-icon-start{margin-inline-end:0.75rem;margin-inline-start:0.25rem}.container--m .dropdown-item-icon-end{margin-inline-start:0.75rem}.container--l .dropdown-item-icon-start{margin-inline-end:1rem;margin-inline-start:0.25rem}.container--l .dropdown-item-icon-end{margin-inline-start:1rem}:host([hidden]){display:none}[hidden]{display:none}";const wi=class{constructor(i){t(this,i),this.noLayersFound=e(this,"noLayersFound",7),this.layerSelectionChange=e(this,"layerSelectionChange",7),this.appearance="transparent",this.enabledLayerIds=[],this.enabledTableIds=[],this.mapView=void 0,this.onlyShowUpdatableLayers=void 0,this.placeholderIcon="",this.selectedIds=[],this.scale="m",this.showTables=!0,this.type="select",this._hasValidLayers=!0,this.ids=[],this.selectedName="",this._translations=void 0}async mapViewWatchHandler(){await this._setLayers(),this.ids.length>0?(this._hasValidLayers=!0,this._setSelectedLayer(this.ids[0])):(this._hasValidLayers=!1,this.noLayersFound.emit())}async componentWillLoad(){await this._getTranslations(),await this._setLayers(),(this.ids.length>0||1===this.selectedIds.length)&&this.layerSelectionChange.emit(1===this.selectedIds.length?[this.selectedIds[0]]:[this.ids[0]])}render(){return i(s,null,i("div",{class:"map-layer-picker-container"},i("div",{class:"map-layer-picker"},this._hasValidLayers?"combobox"===this.type?this._getCombobox():"select"===this.type?this._getSelect():this._getDropdown():this._getInvalidPlaceholder())))}async componentDidLoad(){if(this.ids.length>0||1===this.selectedIds.length){const i=1===this.selectedIds.length?this.selectedIds[0]:this.ids[0];"select"===this.type?this._layerElement.value=i:"dropdown"===this.type&&(this.selectedName=Object.keys(this._layerNameHash).indexOf(i)>-1?this._layerNameHash[i].name:Object.keys(this._tableNameHash).indexOf(i)>-1?this._tableNameHash[i].name:"")}}_getInvalidPlaceholder(){return i("div",null,i("calcite-notice",{class:"height-100",icon:"exclamation-mark-triangle",id:"no-valid-layers",kind:"danger",open:!0},i("div",{slot:"message"},this._translations.noLayersFound)),i("calcite-tooltip",{label:this._translations.enableEditUpdate,placement:"bottom","reference-element":"no-valid-layers"},i("span",null,this._translations.enableEditUpdate)))}_getSelect(){return i("calcite-select",{label:"",onCalciteSelectChange:()=>this._layerSelectionChange(),ref:i=>{this._layerElement=i},scale:this.scale},this._getMapLayerOptions())}_getCombobox(){return i("calcite-combobox",{clearDisabled:!0,label:"",onCalciteComboboxChange:()=>this._layerSelectionChange(),"placeholder-icon":this.placeholderIcon,ref:i=>{this._layerElement=i},scale:this.scale,"selection-mode":"single"},this._getMapLayerOptions())}_getDropdown(){const t="map-layer-picker";return i("calcite-dropdown",{class:"layer-picker-dropdown"},i("calcite-action",{slot:"trigger",text:""},i("calcite-button",{alignment:"icon-end-space-between",appearance:this.appearance,class:"max-width-350",iconEnd:"chevron-down",iconStart:"layers",id:t,kind:"neutral",width:"full"},i("div",null,this.selectedName)),i("calcite-tooltip",{label:"",placement:"bottom","reference-element":t},i("span",null,this._translations.switchLayer))),i("calcite-dropdown-group",{"selection-mode":"single"},this._getMapLayerOptions()))}_getMapLayerOptions(){return this.ids.reduce(((i,t)=>(this._validLayer(t)?i.push(this._getItem(t,"layer")):this._validTable(t)&&i.push(this._getItem(t,"table")),i)),[])}_getItem(t,e){const s="layer"===e?this._layerNameHash[t]:this._tableNameHash[t],n=!!this.onlyShowUpdatableLayers&&!s.supportsUpdate,o=s.name;return"combobox"===this.type?i("calcite-combobox-item",{disabled:n,textLabel:o,value:t}):"select"===this.type?i("calcite-option",{disabled:n,label:o,value:t}):i("calcite-dropdown-item",{disabled:n,onClick:n?void 0:()=>{this._setSelectedLayer(t)}},o)}_setSelectedLayer(i){const t=Object.keys(this._layerNameHash).indexOf(i)>-1?this._layerNameHash[i]:Object.keys(this._tableNameHash).indexOf(i)>-1?this._tableNameHash[i]:void 0;this.selectedName=null==t?void 0:t.name,this.selectedIds=[i],this.layerSelectionChange.emit(this.selectedIds)}async _setLayers(){if(this.mapView){await this._initLayerTableHash();const i=this.onlyShowUpdatableLayers?this._getEditableIds(this._layerNameHash):Object.keys(this._layerNameHash),t=this.showTables?this.onlyShowUpdatableLayers?this._getEditableIds(this._tableNameHash):Object.keys(this._tableNameHash):[];this.ids=[...i.filter((i=>{var t;return!((null===(t=this.enabledLayerIds)||void 0===t?void 0:t.length)>0)||this.enabledLayerIds.indexOf(i)>-1})),...t.filter((i=>{var t;return!((null===(t=this.enabledTableIds)||void 0===t?void 0:t.length)>0)||this.enabledTableIds.indexOf(i)>-1}))]}}_getEditableIds(i){return Object.keys(i).reduce(((t,e)=>(i[e].supportsUpdate&&t.push(e),t)),[])}async _initLayerTableHash(){this._layerNameHash=await ti(this.mapView,this.onlyShowUpdatableLayers),this._tableNameHash=this.showTables?await ei(this.mapView,this.onlyShowUpdatableLayers):{}}_validLayer(i){var t;const e=null===(t=this._layerNameHash[i])||void 0===t?void 0:t.name;return e&&si.managedLayers.indexOf(e)<0&&(!(this.enabledLayerIds.length>0)||this.enabledLayerIds.indexOf(i)>-1)}_validTable(i){var t;const e=null===(t=this._tableNameHash[i])||void 0===t?void 0:t.name,s=e&&this.showTables;return s?si.managedTables.indexOf(e)<0&&(!(this.enabledTableIds.length>0)||this.enabledTableIds.indexOf(i)>-1):s}_layerSelectionChange(){const i=Array.isArray(this._layerElement.value)?this._layerElement.value:[this._layerElement.value];JSON.stringify(i)!==JSON.stringify([""])&&(this.selectedIds=i,this.layerSelectionChange.emit(this.selectedIds))}async _getTranslations(){const i=await ii(this.el);this._translations=i[0]}get el(){return n(this)}static get watchers(){return{mapView:["mapViewWatchHandler"]}}};wi.style=":host{display:block}.map-layer-picker-container{width:100%;height:100%}.map-layer-picker{position:relative;width:100%;display:inline-block;height:100%}.padding-bottom-1{padding-bottom:1rem}.layer-picker-dropdown{height:100%;width:100%}.max-width-350{max-width:350px}.height-100{height:100%}";export{di as calcite_combobox,bi as calcite_combobox_item,gi as calcite_dropdown,fi as calcite_dropdown_group,xi as calcite_dropdown_item,wi as map_layer_picker}
29
+ const vi="container",fi=class{constructor(i){t(this,i),this.calciteInternalDropdownItemChange=e(this,"calciteInternalDropdownItemChange",6),this.updateItems=()=>{Array.from(this.el.querySelectorAll("calcite-dropdown-item")).forEach((i=>i.selectionMode=this.selectionMode))},this.mutationObserver=A("mutation",(()=>this.updateItems())),this.groupTitle=void 0,this.scale="m",this.selectionMode="single"}handlePropsChange(){this.updateItems()}connectedCallback(){this.updateItems()}componentWillLoad(){this.groupPosition=this.getGroupPosition()}render(){const t=this.groupTitle?i("span",{"aria-hidden":"true",class:"dropdown-title"},this.groupTitle):null,e=this.groupPosition>0?i("div",{class:"dropdown-separator",role:"separator"}):null;return i(s,{"aria-label":this.groupTitle,role:"group"},i("div",{class:{[vi]:!0,[`${vi}--${this.scale}`]:!0}},e,t,i("slot",null)))}updateActiveItemOnChange(i){this.requestedDropdownGroup=i.detail.requestedDropdownGroup,this.requestedDropdownItem=i.detail.requestedDropdownItem,this.calciteInternalDropdownItemChange.emit({requestedDropdownGroup:this.requestedDropdownGroup,requestedDropdownItem:this.requestedDropdownItem})}getGroupPosition(){return Array.prototype.indexOf.call(this.el.parentElement.querySelectorAll("calcite-dropdown-group"),this.el)}static get delegatesFocus(){return!0}get el(){return n(this)}static get watchers(){return{selectionMode:["handlePropsChange"]}}};fi.style=":host{position:relative;display:block}.container{text-align:start}.container--s{font-size:var(--calcite-font-size--2);line-height:1rem}.container--s .dropdown-title{padding:0.5rem}.container--m{font-size:var(--calcite-font-size--1);line-height:1rem}.container--m .dropdown-title{padding:0.75rem}.container--l{font-size:var(--calcite-font-size-0);line-height:1.25rem}.container--l .dropdown-title{padding:1rem}.dropdown-title{margin-block-end:-1px;display:block;cursor:default;overflow-wrap:break-word;border-width:0px;border-block-end-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);font-weight:var(--calcite-font-weight-bold);color:var(--calcite-ui-text-2)}.dropdown-separator{display:block;block-size:1px;background-color:var(--calcite-ui-border-3)}:host([hidden]){display:none}[hidden]{display:none}";const xi=class{constructor(i){t(this,i),this.calciteDropdownItemSelect=e(this,"calciteDropdownItemSelect",6),this.calciteInternalDropdownItemSelect=e(this,"calciteInternalDropdownItemSelect",6),this.calciteInternalDropdownItemKeyEvent=e(this,"calciteInternalDropdownItemKeyEvent",6),this.calciteInternalDropdownCloseRequest=e(this,"calciteInternalDropdownCloseRequest",6),this.selected=!1,this.iconFlipRtl=void 0,this.iconStart=void 0,this.iconEnd=void 0,this.href=void 0,this.label=void 0,this.rel=void 0,this.target=void 0,this.selectionMode="single",this.scale="m"}async setFocus(){var i;await E(this),null===(i=this.el)||void 0===i||i.focus()}componentWillLoad(){j(this),this.initialize()}componentDidLoad(){P(this)}connectedCallback(){this.initialize()}render(){const{href:t,selectionMode:e,label:n,iconFlipRtl:o,scale:a}=this,c=i("calcite-icon",{class:"dropdown-item-icon-start",flipRtl:"start"===o||"both"===o,icon:this.iconStart,scale:"l"===a?"m":"s"}),l=i("span",{class:"dropdown-item-content"},i("slot",null)),h=i("calcite-icon",{class:"dropdown-item-icon-end",flipRtl:"end"===o||"both"===o,icon:this.iconEnd,scale:"l"===a?"m":"s"}),d=this.iconStart&&this.iconEnd?[c,l,h]:this.iconStart?[c,l]:this.iconEnd?[l,h]:l,p=t?i("a",{"aria-label":n,class:"dropdown-link",href:t,rel:this.rel,tabIndex:-1,target:this.target,ref:i=>this.childLink=i},d):d,m=t?null:"single"===e?"menuitemradio":"multiple"===e?"menuitemcheckbox":"menuitem",u="none"!==e?r(this.selected):null;return i(s,{"aria-checked":u,"aria-label":t?"":n,role:m,tabindex:"0"},i("div",{class:{[vi]:!0,"container--link":!!t,[`${vi}--${a}`]:!0,"container--multi-selection":"multiple"===e,"container--single-selection":"single"===e,"container--none-selection":"none"===e}},"none"!==e?i("calcite-icon",{class:"dropdown-item-icon",icon:"multiple"===e?"check":"bullet-point",scale:"l"===a?"m":"s"}):null,p))}onClick(){this.emitRequestedItem()}keyDownHandler(i){switch(i.key){case" ":case"Enter":this.emitRequestedItem(),this.href&&this.childLink.click(),i.preventDefault();break;case"Escape":this.calciteInternalDropdownCloseRequest.emit(),i.preventDefault();break;case"Tab":this.calciteInternalDropdownItemKeyEvent.emit({keyboardEvent:i});break;case"ArrowUp":case"ArrowDown":case"Home":case"End":i.preventDefault(),this.calciteInternalDropdownItemKeyEvent.emit({keyboardEvent:i})}}updateActiveItemOnChange(i){i.composedPath().includes(this.parentDropdownGroupEl)&&(this.requestedDropdownGroup=i.detail.requestedDropdownGroup,this.requestedDropdownItem=i.detail.requestedDropdownItem,this.determineActiveItem()),i.stopPropagation()}initialize(){this.parentDropdownGroupEl=this.el.closest("calcite-dropdown-group"),"none"===this.selectionMode&&(this.selected=!1)}determineActiveItem(){switch(this.selectionMode){case"multiple":this.el===this.requestedDropdownItem&&(this.selected=!this.selected);break;case"single":this.el===this.requestedDropdownItem?this.selected=!0:this.requestedDropdownGroup===this.parentDropdownGroupEl&&(this.selected=!1);break;case"none":this.selected=!1}}emitRequestedItem(){this.calciteDropdownItemSelect.emit(),this.calciteInternalDropdownItemSelect.emit({requestedDropdownItem:this.el,requestedDropdownGroup:this.parentDropdownGroupEl})}get el(){return n(this)}};xi.style=".container--s{padding-block:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem;padding-inline-end:0.5rem;padding-inline-start:1.5rem}.container--m{padding-block:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem;padding-inline-end:0.75rem;padding-inline-start:2rem}.container--l{padding-block:0.625rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;padding-inline-end:1rem;padding-inline-start:2.5rem}.container--s.container--none-selection{padding-inline-start:0.25rem}.container--s.container--none-selection .dropdown-link{padding-inline-start:0px}.container--m.container--none-selection{padding-inline-start:0.5rem}.container--m.container--none-selection .dropdown-link{padding-inline-start:0px}.container--l.container--none-selection{padding-inline-start:0.75rem}.container--l.container--none-selection .dropdown-link{padding-inline-start:0px}:host{position:relative;display:flex;flex-grow:1;align-items:center}.container{position:relative;display:flex;flex-grow:1;cursor:pointer;align-items:center;color:var(--calcite-ui-text-3);-webkit-text-decoration-line:none;text-decoration-line:none;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);text-align:start}.dropdown-item-content{flex:1 1 auto;padding-block:0.125rem;padding-inline-end:auto;padding-inline-start:0.25rem}:host,.container--link a{outline-color:transparent}:host(:focus){outline:2px solid transparent;outline-offset:2px;outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}.container--link{padding:0px}.container--link a{position:relative;display:flex;flex-grow:1;cursor:pointer;align-items:center;color:var(--calcite-ui-text-3);-webkit-text-decoration-line:none;text-decoration-line:none;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}.container--s .dropdown-link{padding-block:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem;padding-inline-end:0.5rem;padding-inline-start:1.5rem}.container--m .dropdown-link{padding-block:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem;padding-inline-end:0.75rem;padding-inline-start:2rem}.container--l .dropdown-link{padding-block:0.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;padding-inline-end:1rem;padding-inline-start:2.5rem}:host(:hover) .container,:host(:active) .container{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1);-webkit-text-decoration-line:none;text-decoration-line:none}:host(:hover) .container--link .dropdown-link,:host(:active) .container--link .dropdown-link{color:var(--calcite-ui-text-1)}:host(:focus) .container{color:var(--calcite-ui-text-1);-webkit-text-decoration-line:none;text-decoration-line:none}:host(:active) .container{background-color:var(--calcite-ui-foreground-3)}:host(:hover) .container:before,:host(:active) .container:before,:host(:focus) .container:before{opacity:1}:host([selected]) .container:not(.container--none-selection),:host([selected]) .container--link .dropdown-link{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}:host([selected]) .container:not(.container--none-selection):before,:host([selected]) .container--link .dropdown-link:before{opacity:1;color:var(--calcite-ui-brand)}:host([selected]) .container:not(.container--none-selection) calcite-icon,:host([selected]) .container--link .dropdown-link calcite-icon{color:var(--calcite-ui-brand)}.container--multi-selection:before,.container--none-selection:before{display:none}.container--s:before{inset-inline-start:0.5rem}.container--m:before{inset-inline-start:0.75rem}.container--l:before{inset-inline-start:1rem}.dropdown-item-icon{position:absolute;opacity:0;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transform:scale(0.9)}.container--s .dropdown-item-icon{inset-inline-start:0.25rem}.container--m .dropdown-item-icon{inset-inline-start:0.5rem}.container--l .dropdown-item-icon{inset-inline-start:0.75rem}:host(:hover) .dropdown-item-icon{color:var(--calcite-ui-border-1);opacity:1}:host([selected]) .dropdown-item-icon{color:var(--calcite-ui-brand);opacity:1}.container--s .dropdown-item-icon-start{margin-inline-end:0.5rem;margin-inline-start:0.25rem}.container--s .dropdown-item-icon-end{margin-inline-start:0.5rem}.container--m .dropdown-item-icon-start{margin-inline-end:0.75rem;margin-inline-start:0.25rem}.container--m .dropdown-item-icon-end{margin-inline-start:0.75rem}.container--l .dropdown-item-icon-start{margin-inline-end:1rem;margin-inline-start:0.25rem}.container--l .dropdown-item-icon-end{margin-inline-start:1rem}:host([hidden]){display:none}[hidden]{display:none}";const wi=class{constructor(i){t(this,i),this.noLayersFound=e(this,"noLayersFound",7),this.layerSelectionChange=e(this,"layerSelectionChange",7),this.appearance="transparent",this.enabledLayerIds=[],this.enabledTableIds=[],this.mapView=void 0,this.onlyShowUpdatableLayers=void 0,this.placeholderIcon="",this.selectedIds=[],this.scale="m",this.showTables=!0,this.type="select",this._hasValidLayers=!0,this.ids=[],this.selectedName="",this._translations=void 0}async mapViewWatchHandler(){await this._setLayers(),this.ids.length>0?(this._hasValidLayers=!0,this._setSelectedLayer(this.ids[0])):(this._hasValidLayers=!1,this.noLayersFound.emit())}async componentWillLoad(){await this._getTranslations(),await this._setLayers(),(this.ids.length>0||1===this.selectedIds.length)&&this.layerSelectionChange.emit(1===this.selectedIds.length?[this.selectedIds[0]]:[this.ids[0]])}render(){const t="map-layer-picker";return i(s,null,i("div",{class:"map-layer-picker-container"},i("div",{class:"map-layer-picker"},this._hasValidLayers?"combobox"===this.type?this._getCombobox(t):"select"===this.type?this._getSelect(t):this._getDropdown(t):this._getInvalidPlaceholder(),i("calcite-tooltip",{label:"",placement:"bottom","reference-element":t},i("span",null,this._translations.switchLayer)))))}async componentDidLoad(){if(this.ids.length>0||1===this.selectedIds.length){const i=1===this.selectedIds.length?this.selectedIds[0]:this.ids[0];"select"===this.type?this._layerElement.value=i:"dropdown"===this.type&&(this.selectedName=Object.keys(this._layerNameHash).indexOf(i)>-1?this._layerNameHash[i].name:Object.keys(this._tableNameHash).indexOf(i)>-1?this._tableNameHash[i].name:"")}}_getInvalidPlaceholder(){return i("div",null,i("calcite-notice",{class:"height-100",icon:"exclamation-mark-triangle",id:"no-valid-layers",kind:"danger",open:!0},i("div",{slot:"message"},this._translations.noLayersFound)),i("calcite-tooltip",{label:this._translations.enableEditUpdate,placement:"bottom","reference-element":"no-valid-layers"},i("span",null,this._translations.enableEditUpdate)))}_getSelect(t){return i("calcite-select",{id:t,label:"",onCalciteSelectChange:()=>this._layerSelectionChange(),ref:i=>{this._layerElement=i},scale:this.scale},this._getMapLayerOptions())}_getCombobox(t){return i("calcite-combobox",{clearDisabled:!0,id:t,label:"",onCalciteComboboxChange:()=>this._layerSelectionChange(),"placeholder-icon":this.placeholderIcon,ref:i=>{this._layerElement=i},scale:this.scale,"selection-mode":"single"},this._getMapLayerOptions())}_getDropdown(t){return i("calcite-dropdown",{class:"layer-picker-dropdown"},i("calcite-action",{id:t,slot:"trigger",text:""},i("calcite-button",{alignment:"icon-end-space-between",appearance:this.appearance,class:"max-width-350",iconEnd:"chevron-down",iconStart:"layers",kind:"neutral",width:"full"},i("div",null,this.selectedName))),i("calcite-dropdown-group",{"selection-mode":"single"},this._getMapLayerOptions()))}_getMapLayerOptions(){return this.ids.reduce(((i,t)=>(this._validLayer(t)?i.push(this._getItem(t,"layer")):this._validTable(t)&&i.push(this._getItem(t,"table")),i)),[])}_getItem(t,e){const s="layer"===e?this._layerNameHash[t]:this._tableNameHash[t],n=!!this.onlyShowUpdatableLayers&&!s.supportsUpdate,o=s.name;return"combobox"===this.type?i("calcite-combobox-item",{disabled:n,textLabel:o,value:t}):"select"===this.type?i("calcite-option",{disabled:n,label:o,value:t}):i("calcite-dropdown-item",{disabled:n,onClick:n?void 0:()=>{this._setSelectedLayer(t)}},o)}_setSelectedLayer(i){const t=Object.keys(this._layerNameHash).indexOf(i)>-1?this._layerNameHash[i]:Object.keys(this._tableNameHash).indexOf(i)>-1?this._tableNameHash[i]:void 0;this.selectedName=null==t?void 0:t.name,this.selectedIds=[i],this.layerSelectionChange.emit(this.selectedIds)}async _setLayers(){if(this.mapView){await this._initLayerTableHash();const i=this.onlyShowUpdatableLayers?this._getEditableIds(this._layerNameHash):Object.keys(this._layerNameHash),t=this.showTables?this.onlyShowUpdatableLayers?this._getEditableIds(this._tableNameHash):Object.keys(this._tableNameHash):[];this.ids=[...i.filter((i=>{var t;return!((null===(t=this.enabledLayerIds)||void 0===t?void 0:t.length)>0)||this.enabledLayerIds.indexOf(i)>-1})),...t.filter((i=>{var t;return!((null===(t=this.enabledTableIds)||void 0===t?void 0:t.length)>0)||this.enabledTableIds.indexOf(i)>-1}))]}}_getEditableIds(i){return Object.keys(i).reduce(((t,e)=>(i[e].supportsUpdate&&t.push(e),t)),[])}async _initLayerTableHash(){this._layerNameHash=await ti(this.mapView,this.onlyShowUpdatableLayers),this._tableNameHash=this.showTables?await ei(this.mapView,this.onlyShowUpdatableLayers):{}}_validLayer(i){var t;const e=null===(t=this._layerNameHash[i])||void 0===t?void 0:t.name;return e&&si.managedLayers.indexOf(e)<0&&(!(this.enabledLayerIds.length>0)||this.enabledLayerIds.indexOf(i)>-1)}_validTable(i){var t;const e=null===(t=this._tableNameHash[i])||void 0===t?void 0:t.name,s=e&&this.showTables;return s?si.managedTables.indexOf(e)<0&&(!(this.enabledTableIds.length>0)||this.enabledTableIds.indexOf(i)>-1):s}_layerSelectionChange(){const i=Array.isArray(this._layerElement.value)?this._layerElement.value:[this._layerElement.value];JSON.stringify(i)!==JSON.stringify([""])&&(this.selectedIds=i,this.layerSelectionChange.emit(this.selectedIds))}async _getTranslations(){const i=await ii(this.el);this._translations=i[0]}get el(){return n(this)}static get watchers(){return{mapView:["mapViewWatchHandler"]}}};wi.style=":host{display:block}.map-layer-picker-container{width:100%;height:100%}.map-layer-picker{position:relative;width:100%;display:inline-block;height:100%}.padding-bottom-1{padding-bottom:1rem}.layer-picker-dropdown{height:100%;width:100%}.max-width-350{max-width:350px}.height-100{height:100%}";export{di as calcite_combobox,bi as calcite_combobox_item,gi as calcite_dropdown,fi as calcite_dropdown_group,xi as calcite_dropdown_item,wi as map_layer_picker}
@@ -3,7 +3,7 @@
3
3
  * Licensed under the Apache License, Version 2.0
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
- import{r as t,c as i,h as e,H as n,g as s}from"./p-33613993.js";import{g as o,i as a,x as r,a as l}from"./p-1ba1336c.js";import{s as c,c as h,d as u,H as d}from"./p-5ce6c4f9.js";import{c as p,d as m,u as b}from"./p-35a41253.js";import{n as v}from"./p-79e83176.js";import{c as f,d as g,g as x}from"./p-dcc50669.js";import{s as k,a as w,c as y}from"./p-4a3cdcab.js";import{n as z,i as j,p as I,s as E,f as C,c as D,d as L,B as F}from"./p-08901512.js";import{c as W}from"./p-9cb360bd.js";import{C as K}from"./p-31133802.js";import{u as $,c as H,d as N,s as P}from"./p-7e378eb0.js";import"./p-31fdc998.js";import"./p-943a5ed7.js";
6
+ import{r as t,c as i,h as e,H as n,g as s}from"./p-91c78d98.js";import{g as o,i as a,x as r,a as l}from"./p-1ba1336c.js";import{s as c,c as h,d as u,H as d}from"./p-0014f93f.js";import{c as p,d as m,u as b}from"./p-35a41253.js";import{n as v}from"./p-79e83176.js";import{c as f,d as g,g as x}from"./p-dcc50669.js";import{s as k,a as w,c as y}from"./p-4caa1f9d.js";import{n as z,i as j,p as I,s as E,f as C,c as D,d as L,B as F}from"./p-08901512.js";import{c as W}from"./p-9cb360bd.js";import{C as K}from"./p-31133802.js";import{u as $,c as H,d as N,s as P}from"./p-272018eb.js";import"./p-31fdc998.js";import"./p-943a5ed7.js";
7
7
  /*!
8
8
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
9
9
  * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
@@ -3,7 +3,7 @@
3
3
  * Licensed under the Apache License, Version 2.0
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
- import{c as e}from"./p-cc462e38.js";import{d as t}from"./p-2a58e378.js";import{E as r,j as i,S as n}from"./p-ff0d7712.js";import{c as s,r as o}from"./p-ecc95259.js";
6
+ import{c as e}from"./p-482534a7.js";import{d as t}from"./p-2a58e378.js";import{E as r,j as i,S as n}from"./p-ff0d7712.js";import{c as s,r as o}from"./p-ecc95259.js";
7
7
  /*! *****************************************************************************
8
8
  Copyright (c) Microsoft Corporation.
9
9
 
@@ -3,4 +3,4 @@
3
3
  * Licensed under the Apache License, Version 2.0
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
- import{r as t,c as s,h as i,g as e}from"./p-33613993.js";import{c as a,d as o,u as r}from"./p-35a41253.js";import{s as h,a as c,c as n}from"./p-4a3cdcab.js";import{c as l}from"./p-9cb360bd.js";import{I as d}from"./p-fa98063c.js";import{m as p,d as m,a as b,s as f,h as u,b as g,g as x,k as w,i as v,c as y,e as j,f as k,r as I,j as L,l as z,n as C,o as H,p as F,L as D}from"./p-f670a739.js";import"./p-943a5ed7.js";import"./p-f351978d.js";import"./p-1ba1336c.js";import"./p-31fdc998.js";import"./p-31133802.js";import"./p-1bdc7107.js";import"./p-a82f35c9.js";const R=class{constructor(i){t(this,i),this.calciteListChange=s(this,"calciteListChange",6),this.calciteListFilter=s(this,"calciteListFilter",6),this.lastSelectedItem=null,this.mutationObserver=l("mutation",p.bind(this)),this.setFilterEl=t=>{this.filterEl=t},this.setFilteredItems=t=>{this.filteredItems=t},this.deselectRemovedItems=m.bind(this),this.deselectSiblingItems=b.bind(this),this.selectSiblings=f.bind(this),this.handleFilter=u.bind(this),this.handleFilterEvent=g.bind(this),this.getItemData=x.bind(this),this.keyDownHandler=w.bind(this),this.disabled=!1,this.filteredItems=[],this.filteredData=[],this.filterEnabled=!1,this.filterPlaceholder=void 0,this.filterText=void 0,this.headingLevel=void 0,this.loading=!1,this.multiple=!1,this.selectionFollowsFocus=!1,this.selectedValues=new Map,this.dataForFilter=[]}connectedCallback(){v.call(this),y.call(this),a(this)}disconnectedCallback(){j.call(this),o(this)}componentWillLoad(){h(this)}componentDidLoad(){c(this),k.call(this)}componentDidRender(){r(this)}calciteListItemRemoveHandler(t){I.call(this,t)}calciteListItemChangeHandler(t){L.call(this,t)}calciteInternalListItemPropsChangeHandler(t){t.stopPropagation(),this.setUpFilter()}calciteInternalListItemValueChangeHandler(t){z.call(this,t),t.stopPropagation()}calciteListFocusOutHandler(t){C.call(this,t)}setUpItems(){H.call(this,"calcite-pick-list-item")}setUpFilter(){this.filterEnabled&&(this.dataForFilter=this.getItemData())}async getSelectedItems(){return this.selectedValues}async setFocus(t){return await n(this),F.call(this,t)}getIconType(){return this.multiple?d.square:d.circle}render(){return i(D,{onKeyDown:this.keyDownHandler,props:this})}get el(){return e(this)}};R.style=":host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{position:relative;box-sizing:border-box;display:flex;flex-shrink:0;flex-grow:1;flex-direction:column;align-items:stretch;background-color:transparent;font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-ui-text-2)}:host *{box-sizing:border-box}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([filter-enabled]) header{margin-block-end:0.25rem;display:flex;align-items:stretch;justify-content:flex-end;background-color:var(--calcite-ui-foreground-1);--tw-shadow:0 1px 0 var(--calcite-ui-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)}:host([filter-enabled]) header.sticky-pos{position:sticky;inset-block-start:0px;z-index:var(--calcite-app-z-index)}calcite-filter{margin-block-end:0px}:host([loading][disabled]){min-block-size:2rem}:host([hidden]){display:none}[hidden]{display:none}";export{R as calcite_pick_list}
6
+ import{r as t,c as s,h as i,g as e}from"./p-91c78d98.js";import{c as a,d as o,u as r}from"./p-35a41253.js";import{s as h,a as c,c as n}from"./p-4caa1f9d.js";import{c as l}from"./p-9cb360bd.js";import{I as d}from"./p-fa98063c.js";import{m as p,d as m,a as b,s as f,h as u,b as g,g as x,k as w,i as v,c as y,e as j,f as k,r as I,j as L,l as z,n as C,o as H,p as F,L as D}from"./p-c5fd52fa.js";import"./p-943a5ed7.js";import"./p-f351978d.js";import"./p-1ba1336c.js";import"./p-31fdc998.js";import"./p-31133802.js";import"./p-1bdc7107.js";import"./p-a82f35c9.js";const R=class{constructor(i){t(this,i),this.calciteListChange=s(this,"calciteListChange",6),this.calciteListFilter=s(this,"calciteListFilter",6),this.lastSelectedItem=null,this.mutationObserver=l("mutation",p.bind(this)),this.setFilterEl=t=>{this.filterEl=t},this.setFilteredItems=t=>{this.filteredItems=t},this.deselectRemovedItems=m.bind(this),this.deselectSiblingItems=b.bind(this),this.selectSiblings=f.bind(this),this.handleFilter=u.bind(this),this.handleFilterEvent=g.bind(this),this.getItemData=x.bind(this),this.keyDownHandler=w.bind(this),this.disabled=!1,this.filteredItems=[],this.filteredData=[],this.filterEnabled=!1,this.filterPlaceholder=void 0,this.filterText=void 0,this.headingLevel=void 0,this.loading=!1,this.multiple=!1,this.selectionFollowsFocus=!1,this.selectedValues=new Map,this.dataForFilter=[]}connectedCallback(){v.call(this),y.call(this),a(this)}disconnectedCallback(){j.call(this),o(this)}componentWillLoad(){h(this)}componentDidLoad(){c(this),k.call(this)}componentDidRender(){r(this)}calciteListItemRemoveHandler(t){I.call(this,t)}calciteListItemChangeHandler(t){L.call(this,t)}calciteInternalListItemPropsChangeHandler(t){t.stopPropagation(),this.setUpFilter()}calciteInternalListItemValueChangeHandler(t){z.call(this,t),t.stopPropagation()}calciteListFocusOutHandler(t){C.call(this,t)}setUpItems(){H.call(this,"calcite-pick-list-item")}setUpFilter(){this.filterEnabled&&(this.dataForFilter=this.getItemData())}async getSelectedItems(){return this.selectedValues}async setFocus(t){return await n(this),F.call(this,t)}getIconType(){return this.multiple?d.square:d.circle}render(){return i(D,{onKeyDown:this.keyDownHandler,props:this})}get el(){return e(this)}};R.style=":host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{position:relative;box-sizing:border-box;display:flex;flex-shrink:0;flex-grow:1;flex-direction:column;align-items:stretch;background-color:transparent;font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-ui-text-2)}:host *{box-sizing:border-box}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([filter-enabled]) header{margin-block-end:0.25rem;display:flex;align-items:stretch;justify-content:flex-end;background-color:var(--calcite-ui-foreground-1);--tw-shadow:0 1px 0 var(--calcite-ui-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)}:host([filter-enabled]) header.sticky-pos{position:sticky;inset-block-start:0px;z-index:var(--calcite-app-z-index)}calcite-filter{margin-block-end:0px}:host([loading][disabled]){min-block-size:2rem}:host([hidden]){display:none}[hidden]{display:none}";export{R as calcite_pick_list}
@@ -3,7 +3,7 @@
3
3
  * Licensed under the Apache License, Version 2.0
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
- import{r as t,c as e,h as i,H as s,g as a}from"./p-33613993.js";import{c as o,d as r,H as n}from"./p-5ce6c4f9.js";import{c as h,d as l,g as c}from"./p-dcc50669.js";import{u as d,t as p}from"./p-1ba1336c.js";import{c as m,d as f,n as b}from"./p-08901512.js";import{c as g}from"./p-9cb360bd.js";import{s as u,a as v,c as x,b as z}from"./p-4a3cdcab.js";import{c as y,s as w,d as k,u as j}from"./p-7e378eb0.js";import{c as H,u as L,d as C}from"./p-35a41253.js";import{g as A}from"./p-31fdc998.js";import{t as W}from"./p-6665fa1f.js";import"./p-31133802.js";import"./p-79e83176.js";import"./p-943a5ed7.js";import"./p-a82f35c9.js";
6
+ import{r as t,c as e,h as i,H as s,g as a}from"./p-91c78d98.js";import{c as o,d as r,H as n}from"./p-0014f93f.js";import{c as h,d as l,g as c}from"./p-dcc50669.js";import{u as d,t as p}from"./p-1ba1336c.js";import{c as m,d as f,n as b}from"./p-08901512.js";import{c as g}from"./p-9cb360bd.js";import{s as u,a as v,c as x,b as z}from"./p-4caa1f9d.js";import{c as y,s as w,d as k,u as j}from"./p-272018eb.js";import{c as H,u as L,d as C}from"./p-35a41253.js";import{g as A}from"./p-31fdc998.js";import{t as W}from"./p-6665fa1f.js";import"./p-31133802.js";import"./p-79e83176.js";import"./p-943a5ed7.js";import"./p-a82f35c9.js";
7
7
  /*!
8
8
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
9
9
  * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
@@ -3,7 +3,7 @@
3
3
  * Licensed under the Apache License, Version 2.0
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
- import{r as t,c as i,h as s,H as e,g as a}from"./p-33613993.js";import{l as h}from"./p-0dab4c93.js";import{g as l}from"./p-22833bd3.js";import{x as n,i as r,r as o}from"./p-1ba1336c.js";import{g as c}from"./p-31fdc998.js";import{c as d,d as u,a as m,H as b}from"./p-5ce6c4f9.js";import{c as p,d as v,u as g}from"./p-35a41253.js";import{i as f}from"./p-79e83176.js";import{c as x,d as _,g as k}from"./p-dcc50669.js";import{s as w,a as y,c as V}from"./p-4a3cdcab.js";import{n as z,c as $,d as M}from"./p-08901512.js";import{d as D,c as j}from"./p-e912299d.js";import{f as H}from"./p-2a58e378.js";import{s as I}from"./p-1ab414e0.js";import"./p-e1a4994d.js";import"./p-31133802.js";import"./p-943a5ed7.js";import"./p-9cb360bd.js";import"./p-cc462e38.js";const C=class{constructor(s){t(this,s),this.bufferComplete=i(this,"bufferComplete",7),this.distanceChanged=i(this,"distanceChanged",7),this.unitChanged=i(this,"unitChanged",7),this.appearance="text",this.distance=0,this.geometries=[],this.max=void 0,this.min=0,this.sliderTicks=10,this.unionResults=!0,this.unit="meters",this.disabled=!1,this._translations=void 0}geometriesWatchHandler(){this._buffer()}disabledWatchHandler(){this._buffer()}async componentWillLoad(){await this._getTranslations(),await this._initModules()}render(){return s(e,null,"text"===this.appearance?this._getTextBoxDisplay():this._getSliderDisplay())}async _initModules(){const[t]=await h(["esri/geometry/geometryEngine"]);this._geometryEngine=t}_getUnits(){const t={feet:this._translations.feet,meters:this._translations.meters,miles:this._translations.miles,kilometers:this._translations.kilometers};return Object.keys(t).map((i=>s("calcite-option",{label:t[i],selected:this.unit===i,value:i})))}_setDistance(t){const i=parseInt(t.target.value,10);this.distance!==i&&i>=this.min&&(this.distanceChanged.emit({oldValue:this.distance,newValue:i}),this.distance=i,this.distance>0?this._buffer():this.bufferComplete.emit(void 0))}_setUnit(t){this.unitChanged.emit({oldValue:this.unit,newValue:t}),this.unit=t,this._buffer()}_buffer(){this.disabled?this.bufferComplete.emit(void 0):(this._bufferTimeout&&clearTimeout(this._bufferTimeout),this._bufferTimeout=setTimeout((()=>{var t;if((null===(t=this.geometries)||void 0===t?void 0:t.length)>0&&this.unit&&this.distance>0){const t=this.geometries[0].spatialReference,i=t.isWGS84||t.isWebMercator?this._geometryEngine.geodesicBuffer(this.geometries,this.distance,this.unit,this.unionResults):this._geometryEngine.buffer(this.geometries,this.distance,this.unit,this.unionResults);this.bufferComplete.emit(i)}}),400))}_getTextBoxDisplay(){return s("div",{class:"c-container"},s("calcite-input",{class:"padding-end-1 w-50",max:this.max&&this.max>0?this.max:void 0,min:this.min,"number-button-type":"vertical",onCalciteInputInput:t=>this._setDistance(t),placeholder:"0",type:"number",value:this.distance?this.distance.toString():void 0}),s("calcite-select",{class:"flex-1 w-50",label:"label",onCalciteSelectChange:()=>this._setUnit(this._unitElement.value),ref:t=>{this._unitElement=t}},this._getUnits()))}_getSliderDisplay(){return s("div",null,s("calcite-slider",{labelHandles:!0,max:this.max&&this.max>0?this.max:void 0,min:this.min,ticks:this.sliderTicks}))}async _getTranslations(){const t=await l(this.el);this._translations=t[0]}_testAccess(t,i){switch(t){case"_setUnit":return this._setUnit(i);case"_setDistance":return this._setDistance(i)}return null}get el(){return a(this)}static get watchers(){return{geometries:["geometriesWatchHandler"],disabled:["disabledWatchHandler"]}}};
6
+ import{r as t,c as i,h as s,H as e,g as a}from"./p-91c78d98.js";import{l as h}from"./p-05948b48.js";import{g as l}from"./p-99d8a839.js";import{x as n,i as r,r as o}from"./p-1ba1336c.js";import{g as c}from"./p-31fdc998.js";import{c as d,d as u,a as m,H as b}from"./p-0014f93f.js";import{c as p,d as v,u as g}from"./p-35a41253.js";import{i as f}from"./p-79e83176.js";import{c as x,d as _,g as k}from"./p-dcc50669.js";import{s as w,a as y,c as V}from"./p-4caa1f9d.js";import{n as z,c as $,d as M}from"./p-08901512.js";import{d as D,c as j}from"./p-e912299d.js";import{f as H}from"./p-2a58e378.js";import{s as I}from"./p-375fd36b.js";import"./p-e1a4994d.js";import"./p-31133802.js";import"./p-943a5ed7.js";import"./p-9cb360bd.js";import"./p-482534a7.js";const C=class{constructor(s){t(this,s),this.bufferComplete=i(this,"bufferComplete",7),this.distanceChanged=i(this,"distanceChanged",7),this.unitChanged=i(this,"unitChanged",7),this.appearance="text",this.distance=0,this.geometries=[],this.max=void 0,this.min=0,this.sliderTicks=10,this.unionResults=!0,this.unit="meters",this.disabled=!1,this._translations=void 0}geometriesWatchHandler(){this._buffer()}disabledWatchHandler(){this._buffer()}async componentWillLoad(){await this._getTranslations(),await this._initModules()}render(){return s(e,null,"text"===this.appearance?this._getTextBoxDisplay():this._getSliderDisplay())}async _initModules(){const[t]=await h(["esri/geometry/geometryEngine"]);this._geometryEngine=t}_getUnits(){const t={feet:this._translations.feet,meters:this._translations.meters,miles:this._translations.miles,kilometers:this._translations.kilometers};return Object.keys(t).map((i=>s("calcite-option",{label:t[i],selected:this.unit===i,value:i})))}_setDistance(t){const i=parseInt(t.target.value,10);this.distance!==i&&i>=this.min&&(this.distanceChanged.emit({oldValue:this.distance,newValue:i}),this.distance=i,this.distance>0?this._buffer():this.bufferComplete.emit(void 0))}_setUnit(t){this.unitChanged.emit({oldValue:this.unit,newValue:t}),this.unit=t,this._buffer()}_buffer(){this.disabled?this.bufferComplete.emit(void 0):(this._bufferTimeout&&clearTimeout(this._bufferTimeout),this._bufferTimeout=setTimeout((()=>{var t;if((null===(t=this.geometries)||void 0===t?void 0:t.length)>0&&this.unit&&this.distance>0){const t=this.geometries[0].spatialReference,i=t.isWGS84||t.isWebMercator?this._geometryEngine.geodesicBuffer(this.geometries,this.distance,this.unit,this.unionResults):this._geometryEngine.buffer(this.geometries,this.distance,this.unit,this.unionResults);this.bufferComplete.emit(i)}}),400))}_getTextBoxDisplay(){return s("div",{class:"c-container"},s("calcite-input",{class:"padding-end-1 w-50",max:this.max&&this.max>0?this.max:void 0,min:this.min,"number-button-type":"vertical",onCalciteInputInput:t=>this._setDistance(t),placeholder:"0",type:"number",value:this.distance?this.distance.toString():void 0}),s("calcite-select",{class:"flex-1 w-50",label:"label",onCalciteSelectChange:()=>this._setUnit(this._unitElement.value),ref:t=>{this._unitElement=t}},this._getUnits()))}_getSliderDisplay(){return s("div",null,s("calcite-slider",{labelHandles:!0,max:this.max&&this.max>0?this.max:void 0,min:this.min,ticks:this.sliderTicks}))}async _getTranslations(){const t=await l(this.el);this._translations=t[0]}_testAccess(t,i){switch(t){case"_setUnit":return this._setUnit(i);case"_setDistance":return this._setDistance(i)}return null}get el(){return a(this)}static get watchers(){return{geometries:["geometriesWatchHandler"],disabled:["disabledWatchHandler"]}}};
7
7
  /*!
8
8
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
9
9
  * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
@@ -3,4 +3,4 @@
3
3
  * Licensed under the Apache License, Version 2.0
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
- import{d as _}from"./p-d32b683a.js";import"./p-33613993.js";import"./p-5ce6c4f9.js";import"./p-1ba1336c.js";import"./p-31fdc998.js";import"./p-31133802.js";import"./p-35a41253.js";import"./p-943a5ed7.js";import"./p-79e83176.js";import"./p-dcc50669.js";import"./p-4a3cdcab.js";import"./p-08901512.js";import"./p-9cb360bd.js";import"./p-910cf04b.js";import"./p-6527978c.js";import"./p-e912299d.js";import"./p-7e378eb0.js";var m={name:"ja",weekdays:"日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日".split("_"),weekdaysShort:"日_月_火_水_木_金_土".split("_"),weekdaysMin:"日_月_火_水_木_金_土".split("_"),months:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),ordinal:function(_){return _+"日"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日(ddd) HH:mm"},meridiem:function(_){return _<12?"午前":"午後"},relativeTime:{future:"%s後",past:"%s前",s:"数秒",m:"1分",mm:"%d分",h:"1時間",hh:"%d時間",d:"1日",dd:"%d日",M:"1ヶ月",MM:"%dヶ月",y:"1年",yy:"%d年"}};_.locale(m,null,!0);export default m;
6
+ import{d as _}from"./p-5dc13b6d.js";import"./p-91c78d98.js";import"./p-0014f93f.js";import"./p-1ba1336c.js";import"./p-31fdc998.js";import"./p-31133802.js";import"./p-35a41253.js";import"./p-943a5ed7.js";import"./p-79e83176.js";import"./p-dcc50669.js";import"./p-4caa1f9d.js";import"./p-08901512.js";import"./p-9cb360bd.js";import"./p-910cf04b.js";import"./p-6527978c.js";import"./p-e912299d.js";import"./p-272018eb.js";var m={name:"ja",weekdays:"日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日".split("_"),weekdaysShort:"日_月_火_水_木_金_土".split("_"),weekdaysMin:"日_月_火_水_木_金_土".split("_"),months:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),ordinal:function(_){return _+"日"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日(ddd) HH:mm"},meridiem:function(_){return _<12?"午前":"午後"},relativeTime:{future:"%s後",past:"%s前",s:"数秒",m:"1分",mm:"%d分",h:"1時間",hh:"%d時間",d:"1日",dd:"%d日",M:"1ヶ月",MM:"%dヶ月",y:"1年",yy:"%d年"}};_.locale(m,null,!0);export default m;