@esri/solutions-components 0.6.23 → 0.6.26

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1108) hide show
  1. package/dist/cjs/{ExpandToggle-39e472da.js → ExpandToggle-d2cec8de.js} +9 -8
  2. package/dist/cjs/{FloatingArrow-8c88459a.js → FloatingArrow-814ce566.js} +1 -1
  3. package/dist/cjs/{Heading-8b27f655.js → Heading-2665acd8.js} +1 -1
  4. package/dist/cjs/{app-globals-20466254.js → app-globals-8afc8fa0.js} +3 -3
  5. package/dist/cjs/{ar-6b662222.js → ar-b68e4248.js} +20 -16
  6. package/dist/cjs/{array-a3f9baa5.js → array-d55de2d5.js} +1 -1
  7. package/dist/cjs/basemap-gallery_7.cjs.entry.js +22 -13
  8. package/dist/cjs/{bg-fa2dc0d8.js → bg-451cb8df.js} +17 -16
  9. package/dist/cjs/{browser-596d8e1e.js → browser-09760f9f.js} +1 -1
  10. package/dist/cjs/{bs-feb3d9c5.js → bs-36760197.js} +17 -16
  11. package/dist/cjs/buffer-tools_4.cjs.entry.js +14 -14
  12. package/dist/cjs/{ca-0277c48d.js → ca-0159f257.js} +17 -16
  13. package/dist/cjs/calcite-accordion-item.cjs.entry.js +6 -6
  14. package/dist/cjs/calcite-accordion.cjs.entry.js +1 -1
  15. package/dist/cjs/calcite-action-bar_3.cjs.entry.js +42 -34
  16. package/dist/cjs/calcite-action-group_2.cjs.entry.js +19 -17
  17. package/dist/cjs/calcite-action-pad.cjs.entry.js +13 -13
  18. package/dist/cjs/calcite-action_2.cjs.entry.js +18 -18
  19. package/dist/cjs/calcite-alert_3.cjs.entry.js +742 -0
  20. package/dist/cjs/calcite-avatar.cjs.entry.js +5 -5
  21. package/dist/cjs/calcite-block-section.cjs.entry.js +9 -9
  22. package/dist/cjs/calcite-block.cjs.entry.js +44 -14
  23. package/dist/cjs/calcite-button.cjs.entry.js +21 -15
  24. package/dist/cjs/calcite-card.cjs.entry.js +9 -9
  25. package/dist/cjs/calcite-checkbox_3.cjs.entry.js +62 -85
  26. package/dist/cjs/calcite-chip-group.cjs.entry.js +7 -7
  27. package/dist/cjs/calcite-chip.cjs.entry.js +12 -12
  28. package/dist/cjs/calcite-color-picker-hex-input_2.cjs.entry.js +8 -8
  29. package/dist/cjs/calcite-color-picker.cjs.entry.js +13 -13
  30. package/dist/cjs/calcite-combobox-item-group.cjs.entry.js +6 -6
  31. package/dist/cjs/calcite-combobox_6.cjs.entry.js +42 -44
  32. package/dist/cjs/calcite-date-picker-day_3.cjs.entry.js +11 -11
  33. package/dist/cjs/calcite-date-picker.cjs.entry.js +11 -11
  34. package/dist/cjs/calcite-fab.cjs.entry.js +7 -7
  35. package/dist/cjs/calcite-filter_3.cjs.entry.js +14 -14
  36. package/dist/cjs/calcite-flow-item.cjs.entry.js +28 -17
  37. package/dist/cjs/calcite-flow.cjs.entry.js +7 -4
  38. package/dist/cjs/calcite-graph.cjs.entry.js +3 -3
  39. package/dist/cjs/calcite-icon.cjs.entry.js +6 -6
  40. package/dist/cjs/calcite-inline-editable.cjs.entry.js +12 -12
  41. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +22 -21
  42. package/dist/cjs/calcite-input-number_2.cjs.entry.js +14 -14
  43. package/dist/cjs/{calcite-input-time-picker-0b068c1f.js → calcite-input-time-picker-ccb59f65.js} +97 -70
  44. package/dist/cjs/calcite-input-time-picker.cjs.entry.js +17 -16
  45. package/dist/cjs/calcite-input-time-zone.cjs.entry.js +142 -49
  46. package/dist/cjs/calcite-input_2.cjs.entry.js +13 -13
  47. package/dist/cjs/calcite-label.cjs.entry.js +5 -5
  48. package/dist/cjs/calcite-link.cjs.entry.js +6 -6
  49. package/dist/cjs/calcite-list-item-group.cjs.entry.js +4 -4
  50. package/dist/cjs/calcite-loader.cjs.entry.js +1 -1
  51. package/dist/cjs/calcite-menu-item.cjs.entry.js +9 -9
  52. package/dist/cjs/calcite-menu.cjs.entry.js +11 -76
  53. package/dist/cjs/calcite-meter.cjs.entry.js +9 -9
  54. package/dist/cjs/calcite-modal.cjs.entry.js +12 -12
  55. package/dist/cjs/calcite-navigation-logo.cjs.entry.js +2 -2
  56. package/dist/cjs/calcite-navigation-user.cjs.entry.js +2 -2
  57. package/dist/cjs/calcite-navigation.cjs.entry.js +5 -5
  58. package/dist/cjs/calcite-notice_2.cjs.entry.js +45 -19
  59. package/dist/cjs/calcite-option_2.cjs.entry.js +14 -13
  60. package/dist/cjs/calcite-pagination.cjs.entry.js +132 -63
  61. package/dist/cjs/calcite-panel_2.cjs.entry.js +39 -35
  62. package/dist/cjs/calcite-pick-list-group.cjs.entry.js +7 -7
  63. package/dist/cjs/calcite-pick-list-item.cjs.entry.js +13 -13
  64. package/dist/cjs/calcite-pick-list.cjs.entry.js +11 -11
  65. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +2 -2
  66. package/dist/cjs/calcite-radio-button.cjs.entry.js +10 -10
  67. package/dist/cjs/calcite-rating.cjs.entry.js +13 -13
  68. package/dist/cjs/calcite-scrim.cjs.entry.js +8 -8
  69. package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +10 -10
  70. package/dist/cjs/calcite-sheet.cjs.entry.js +8 -8
  71. package/dist/cjs/calcite-shell-center-row.cjs.entry.js +6 -6
  72. package/dist/cjs/calcite-shell-panel_14.cjs.entry.js +25 -24
  73. package/dist/cjs/calcite-sortable-list.cjs.entry.js +8 -8
  74. package/dist/cjs/calcite-split-button.cjs.entry.js +4 -4
  75. package/dist/cjs/calcite-stepper-item.cjs.entry.js +28 -12
  76. package/dist/cjs/calcite-stepper.cjs.entry.js +13 -13
  77. package/dist/cjs/calcite-switch.cjs.entry.js +9 -9
  78. package/dist/cjs/calcite-table-cell_2.cjs.entry.js +15 -13
  79. package/dist/cjs/calcite-table-row.cjs.entry.js +6 -6
  80. package/dist/cjs/calcite-table.cjs.entry.js +10 -10
  81. package/dist/cjs/calcite-text-area.cjs.entry.js +13 -13
  82. package/dist/cjs/calcite-tile-select-group.cjs.entry.js +2 -2
  83. package/dist/cjs/calcite-tile-select.cjs.entry.js +5 -5
  84. package/dist/cjs/calcite-tile.cjs.entry.js +8 -8
  85. package/dist/cjs/calcite-time-picker.cjs.entry.js +11 -11
  86. package/dist/cjs/calcite-tip-manager.cjs.entry.js +9 -9
  87. package/dist/cjs/calcite-tip.cjs.entry.js +10 -10
  88. package/dist/cjs/card-manager_3.cjs.entry.js +19 -48
  89. package/dist/cjs/{conditionalSlot-795790b5.js → conditionalSlot-b6c29b8c.js} +2 -2
  90. package/dist/cjs/crowdsource-manager.cjs.entry.js +5 -2
  91. package/dist/cjs/{cs-6f20de14.js → cs-5f80bd6e.js} +17 -16
  92. package/dist/cjs/{da-d4b3c7de.js → da-aca16382.js} +17 -16
  93. package/dist/cjs/{date-c23cfae9.js → date-60e18f3e.js} +2 -2
  94. package/dist/cjs/{de-at-b9df2464.js → de-at-0a13e71d.js} +17 -16
  95. package/dist/cjs/{de-ch-8012e3ac.js → de-ch-43d6d352.js} +17 -16
  96. package/dist/cjs/{de-cd070c4c.js → de-ea9b8674.js} +17 -16
  97. package/dist/cjs/{dom-8d00cc3f.js → dom-c585dfa7.js} +3 -3
  98. package/dist/cjs/{el-3bafc319.js → el-7ac6dd9a.js} +17 -16
  99. package/dist/cjs/{en-au-69ac6dd5.js → en-au-5de83593.js} +17 -16
  100. package/dist/cjs/{en-ca-e2d69548.js → en-ca-a61f6ba9.js} +17 -16
  101. package/dist/cjs/{en-gb-43cbe44d.js → en-gb-1338ef98.js} +17 -16
  102. package/dist/cjs/{es-f809bdee.js → es-64cdf5af.js} +17 -16
  103. package/dist/cjs/{es-mx-cb6bdcde.js → es-mx-25166a52.js} +17 -16
  104. package/dist/cjs/{et-d1fb804f.js → et-99cffe63.js} +17 -16
  105. package/dist/cjs/{fi-809e575d.js → fi-2ed1b695.js} +17 -16
  106. package/dist/cjs/{filter-c4139795.js → filter-a4465208.js} +1 -1
  107. package/dist/cjs/{floating-ui-2c1a533c.js → floating-ui-3625f253.js} +31 -15
  108. package/dist/cjs/{focusTrapComponent-93fc2e12.js → focusTrapComponent-919e5636.js} +3 -3
  109. package/dist/cjs/{form-78a3337d.js → form-88dd1a8a.js} +2 -2
  110. package/dist/cjs/{fr-e300020c.js → fr-1ad89d6e.js} +17 -16
  111. package/dist/cjs/{fr-ch-ec117c1a.js → fr-ch-e2b274f9.js} +17 -16
  112. package/dist/cjs/globalAttributes-bb9603f4.js +77 -0
  113. package/dist/cjs/{guid-c351776c.js → guid-5ef151a6.js} +1 -1
  114. package/dist/cjs/{he-f419115b.js → he-de9f7309.js} +17 -16
  115. package/dist/cjs/{hi-0837fa9e.js → hi-972ca162.js} +17 -16
  116. package/dist/cjs/{hr-26c92b0c.js → hr-9340950d.js} +17 -16
  117. package/dist/cjs/{hu-b4348f61.js → hu-3fa1a13d.js} +17 -16
  118. package/dist/cjs/{id-39ae2fbb.js → id-1de2751e.js} +17 -16
  119. package/dist/cjs/index-22e2d297.js +172 -0
  120. package/dist/cjs/index-6b21a03f.js +73 -0
  121. package/dist/cjs/{interactive-7837b73d.js → interactive-17168f1c.js} +2 -2
  122. package/dist/cjs/{it-c0010df5.js → it-7c92766b.js} +17 -16
  123. package/dist/cjs/{it-ch-1d96ff25.js → it-ch-291b8188.js} +17 -16
  124. package/dist/cjs/{ja-d612ffd0.js → ja-3e145c4f.js} +17 -16
  125. package/dist/cjs/{key-07312a4b.js → key-29076628.js} +1 -1
  126. package/dist/cjs/{ko-3bacee3c.js → ko-1b8f5e87.js} +18 -17
  127. package/dist/cjs/{label-39887629.js → label-a44d17b9.js} +2 -2
  128. package/dist/cjs/{loadable-d12ec307.js → loadable-f8b40373.js} +1 -1
  129. package/dist/cjs/loader.cjs.js +3 -3
  130. package/dist/cjs/{locale-6479f239.js → locale-62c20bcc.js} +5 -5
  131. package/dist/cjs/{lt-3d9fa497.js → lt-200e08d2.js} +17 -16
  132. package/dist/cjs/{lv-3b7eddb4.js → lv-6e5561b5.js} +17 -16
  133. package/dist/cjs/{math-3dc91b82.js → math-1e2752e6.js} +1 -1
  134. package/dist/cjs/{mk-06e25b87.js → mk-530773b7.js} +17 -16
  135. package/dist/cjs/{nb-631e48ca.js → nb-6f6747f3.js} +17 -16
  136. package/dist/cjs/{nl-6db6ac0b.js → nl-c6b3e47a.js} +17 -16
  137. package/dist/cjs/{observers-62ea89bc.js → observers-ee7eadc4.js} +1 -1
  138. package/dist/cjs/{openCloseComponent-cfafcccc.js → openCloseComponent-71c34b2c.js} +1 -1
  139. package/dist/cjs/{pl-a139e04e.js → pl-860110bc.js} +17 -16
  140. package/dist/cjs/{pt-f3d702ac.js → pt-6e3d2514.js} +17 -16
  141. package/dist/cjs/{pt-br-11aab00e.js → pt-br-66b1bb2b.js} +17 -16
  142. package/dist/cjs/public-notification.cjs.entry.js +4 -4
  143. package/dist/cjs/{resources-2454960d.js → resources-3a88b7d8.js} +1 -1
  144. package/dist/cjs/{resources-29c246e2.js → resources-4548c1f4.js} +3 -1
  145. package/dist/cjs/{resources-154adf68.js → resources-4671a126.js} +1 -1
  146. package/dist/cjs/{resources-36b8ab24.js → resources-49866a7a.js} +3 -1
  147. package/dist/cjs/{resources-d000455c.js → resources-85c1ae6a.js} +1 -1
  148. package/dist/cjs/{resources-4a8e43dd.js → resources-876c9b89.js} +1 -1
  149. package/dist/cjs/{resources-dc8e5f07.js → resources-9dcc553a.js} +1 -1
  150. package/dist/cjs/{resources-d0427f75.js → resources-be3c1b4b.js} +1 -1
  151. package/dist/cjs/{resources-2278b321.js → resources-d8917c46.js} +1 -1
  152. package/dist/cjs/{resources-56cd0ba8.js → resources-d89b020a.js} +1 -1
  153. package/dist/cjs/responsive-b6e86bcb.js +44 -0
  154. package/dist/cjs/{ro-49c70e64.js → ro-bd6b21e5.js} +17 -16
  155. package/dist/cjs/{ru-304563d2.js → ru-fea2a60c.js} +17 -16
  156. package/dist/cjs/{shared-list-render-e6464688.js → shared-list-render-b1b515ba.js} +6 -6
  157. package/dist/cjs/{sk-a8fe9263.js → sk-f4693451.js} +17 -16
  158. package/dist/cjs/sl-ba030ced.js +167 -0
  159. package/dist/cjs/solutions-components.cjs.js +3 -3
  160. package/dist/cjs/{sortableComponent-c4833f8d.js → sortableComponent-f9fbabf1.js} +5 -5
  161. package/dist/cjs/{sr-4f2f9974.js → sr-a3aeccbd.js} +17 -16
  162. package/dist/cjs/{sv-a2916e2b.js → sv-f96afdb7.js} +17 -16
  163. package/dist/cjs/{t9n-c630f16d.js → t9n-47b85291.js} +2 -2
  164. package/dist/cjs/{th-c5f23e8f.js → th-7be3c0cf.js} +17 -16
  165. package/dist/cjs/{time-9ffa9ce7.js → time-5c558990.js} +3 -3
  166. package/dist/cjs/{tr-0486b336.js → tr-2bf900ba.js} +17 -16
  167. package/dist/cjs/{uk-3cf18069.js → uk-8d7c74d5.js} +17 -16
  168. package/dist/cjs/{utils-3b883f6e.js → utils-a3c937c3.js} +3 -3
  169. package/dist/cjs/{utils-6fa49fde.js → utils-bbda4ba3.js} +2 -2
  170. package/dist/cjs/{utils-0f154174.js → utils-e90327b4.js} +3 -3
  171. package/dist/cjs/{utils-a3380f70.js → utils-e99ff998.js} +1 -1
  172. package/dist/cjs/{vi-813fe8f6.js → vi-c010010c.js} +17 -16
  173. package/dist/cjs/{zh-cn-e835d4ea.js → zh-cn-089aaea3.js} +17 -16
  174. package/dist/cjs/{zh-hk-cdc4af5b.js → zh-hk-0676f0be.js} +17 -16
  175. package/dist/cjs/{zh-tw-5a93dab8.js → zh-tw-acce58bc.js} +17 -16
  176. package/dist/collection/components/basemap-gallery/basemap-gallery.js +22 -13
  177. package/dist/collection/components/card-manager/card-manager.js +2 -1
  178. package/dist/collection/components/crowdsource-manager/crowdsource-manager.css +5 -0
  179. package/dist/collection/components/crowdsource-manager/crowdsource-manager.js +22 -1
  180. package/dist/collection/components/edit-card/edit-card.js +24 -21
  181. package/dist/collection/components/layer-table/layer-table.css +4 -0
  182. package/dist/collection/components/layer-table/layer-table.js +30 -74
  183. package/dist/collection/components/map-card/map-card.js +5 -2
  184. package/dist/collection/components/public-notification/public-notification.css +0 -9
  185. package/dist/collection/components/public-notification/public-notification.js +3 -3
  186. package/dist/collection/demos/crowdsource-manager.html +3 -0
  187. package/dist/collection/utils/interfaces.ts +1 -0
  188. package/dist/components/ExpandToggle.js +6 -5
  189. package/dist/components/FloatingArrow.js +1 -1
  190. package/dist/components/Heading.js +1 -1
  191. package/dist/components/action-bar.js +9 -5
  192. package/dist/components/action-group.js +2 -2
  193. package/dist/components/action-menu.js +9 -5
  194. package/dist/components/action.js +1 -1
  195. package/dist/components/alert.js +71 -34
  196. package/dist/components/ar.js +3 -0
  197. package/dist/components/array.js +1 -1
  198. package/dist/components/avatar.js +1 -1
  199. package/dist/components/basemap-gallery2.js +22 -13
  200. package/dist/components/button.js +10 -3
  201. package/dist/components/calcite-accordion-item.js +1 -1
  202. package/dist/components/calcite-action-pad.js +1 -1
  203. package/dist/components/calcite-block-section.js +1 -1
  204. package/dist/components/calcite-block.js +33 -2
  205. package/dist/components/calcite-card.js +1 -1
  206. package/dist/components/calcite-combobox-item-group.js +2 -2
  207. package/dist/components/calcite-fab.js +1 -1
  208. package/dist/components/calcite-flow-item.js +20 -6
  209. package/dist/components/calcite-flow.js +5 -2
  210. package/dist/components/calcite-inline-editable.js +1 -1
  211. package/dist/components/calcite-input-date-picker.js +6 -4
  212. package/dist/components/calcite-input-time-picker.js +38 -10
  213. package/dist/components/calcite-input-time-zone.js +139 -39
  214. package/dist/components/calcite-list-item-group.js +1 -1
  215. package/dist/components/calcite-menu-item.js +1 -1
  216. package/dist/components/calcite-meter.js +1 -1
  217. package/dist/components/calcite-navigation-logo.js +1 -1
  218. package/dist/components/calcite-navigation-user.js +1 -1
  219. package/dist/components/calcite-navigation.js +1 -1
  220. package/dist/components/calcite-radio-button.js +1 -1
  221. package/dist/components/calcite-rating.js +1 -1
  222. package/dist/components/calcite-sheet.js +1 -1
  223. package/dist/components/calcite-shell-center-row.js +1 -1
  224. package/dist/components/calcite-sortable-list.js +1 -1
  225. package/dist/components/calcite-split-button.js +1 -1
  226. package/dist/components/calcite-stepper-item.js +19 -4
  227. package/dist/components/calcite-stepper.js +11 -11
  228. package/dist/components/calcite-table.js +1 -1
  229. package/dist/components/calcite-text-area.js +1 -1
  230. package/dist/components/calcite-tile-select.js +1 -1
  231. package/dist/components/calcite-tip-manager.js +1 -1
  232. package/dist/components/calcite-tip.js +1 -1
  233. package/dist/components/card-manager2.js +2 -1
  234. package/dist/components/checkbox.js +1 -1
  235. package/dist/components/chip.js +1 -1
  236. package/dist/components/color-picker-hex-input.js +2 -2
  237. package/dist/components/color-picker-swatch.js +1 -1
  238. package/dist/components/combobox-item.js +1 -1
  239. package/dist/components/combobox.js +16 -23
  240. package/dist/components/conditionalSlot.js +1 -1
  241. package/dist/components/crowdsource-manager.js +6 -2
  242. package/dist/components/date-picker-month-header.js +1 -1
  243. package/dist/components/date-picker.js +2 -2
  244. package/dist/components/date.js +1 -1
  245. package/dist/components/dom.js +1 -1
  246. package/dist/components/dropdown-group.js +6 -0
  247. package/dist/components/dropdown.js +2 -3
  248. package/dist/components/edit-card2.js +24 -21
  249. package/dist/components/filter.js +1 -1
  250. package/dist/components/filter2.js +1 -1
  251. package/dist/components/floating-ui.js +30 -14
  252. package/dist/components/focusTrapComponent.js +2 -2
  253. package/dist/components/form.js +1 -1
  254. package/dist/components/globalAttributes.js +74 -0
  255. package/dist/components/graph.js +1 -1
  256. package/dist/components/guid.js +1 -1
  257. package/dist/components/handle.js +1 -1
  258. package/dist/components/icon.js +2 -2
  259. package/dist/components/index.js +2 -2
  260. package/dist/components/index4.js +170 -0
  261. package/dist/components/index5.js +71 -0
  262. package/dist/components/input-message.js +1 -1
  263. package/dist/components/input-number.js +1 -1
  264. package/dist/components/input-text.js +1 -1
  265. package/dist/components/input.js +1 -1
  266. package/dist/components/interactive.js +2 -2
  267. package/dist/components/key.js +1 -1
  268. package/dist/components/ko.js +1 -1
  269. package/dist/components/label.js +1 -1
  270. package/dist/components/label2.js +1 -1
  271. package/dist/components/layer-table2.js +24 -63
  272. package/dist/components/list.js +16 -12
  273. package/dist/components/loadable.js +1 -1
  274. package/dist/components/locale2.js +2 -2
  275. package/dist/components/map-card2.js +5 -2
  276. package/dist/components/math.js +1 -1
  277. package/dist/components/menu.js +1 -67
  278. package/dist/components/modal.js +1 -1
  279. package/dist/components/notice.js +31 -3
  280. package/dist/components/observers.js +1 -1
  281. package/dist/components/openCloseComponent.js +1 -1
  282. package/dist/components/option.js +4 -3
  283. package/dist/components/pagination.js +132 -58
  284. package/dist/components/panel.js +30 -21
  285. package/dist/components/pick-list-item.js +1 -1
  286. package/dist/components/popover.js +2 -2
  287. package/dist/components/public-notification.js +4 -4
  288. package/dist/components/resources.js +1 -1
  289. package/dist/components/resources2.js +1 -1
  290. package/dist/components/resources3.js +1 -1
  291. package/dist/components/resources4.js +1 -1
  292. package/dist/components/resources5.js +1 -1
  293. package/dist/components/responsive.js +42 -0
  294. package/dist/components/scrim.js +1 -1
  295. package/dist/components/segmented-control-item.js +1 -1
  296. package/dist/components/select.js +1 -1
  297. package/dist/components/shared-list-render.js +2 -2
  298. package/dist/components/shell-panel.js +1 -1
  299. package/dist/components/shell.js +1 -1
  300. package/dist/components/sl.js +114 -12
  301. package/dist/components/slider.js +1 -1
  302. package/dist/components/sortableComponent.js +5 -5
  303. package/dist/components/stack.js +1 -1
  304. package/dist/components/t9n.js +1 -1
  305. package/dist/components/tab-nav.js +1 -0
  306. package/dist/components/tab-title.js +1 -1
  307. package/dist/components/table-cell.js +6 -2
  308. package/dist/components/table-header.js +1 -1
  309. package/dist/components/tabs.js +1 -1
  310. package/dist/components/tile.js +1 -1
  311. package/dist/components/time-picker.js +2 -2
  312. package/dist/components/tooltip.js +3 -3
  313. package/dist/components/tree-item.js +3 -13
  314. package/dist/components/tree.js +48 -61
  315. package/dist/components/utils.js +1 -1
  316. package/dist/components/utils2.js +2 -2
  317. package/dist/components/utils3.js +2 -2
  318. package/dist/components/value-list-item.js +1 -1
  319. package/dist/components/value-list.js +2 -2
  320. package/dist/esm/{ExpandToggle-583be90e.js → ExpandToggle-3973cf71.js} +9 -8
  321. package/dist/esm/{FloatingArrow-f3c4aaad.js → FloatingArrow-bfb95cb7.js} +1 -1
  322. package/dist/esm/{Heading-28b8fc31.js → Heading-a3130bc6.js} +1 -1
  323. package/dist/esm/{app-globals-bbae8244.js → app-globals-d6e155e2.js} +3 -3
  324. package/dist/esm/{ar-d7509316.js → ar-e66d9603.js} +20 -16
  325. package/dist/esm/{array-3eac6aac.js → array-3a471981.js} +1 -1
  326. package/dist/esm/basemap-gallery_7.entry.js +22 -13
  327. package/dist/esm/{bg-a6c0d55d.js → bg-e3cef9f9.js} +17 -16
  328. package/dist/esm/{browser-2ab8d297.js → browser-b8a2c2d7.js} +1 -1
  329. package/dist/esm/{bs-a98cc594.js → bs-e5350540.js} +17 -16
  330. package/dist/esm/buffer-tools_4.entry.js +14 -14
  331. package/dist/esm/{ca-8d7b9677.js → ca-2e572adf.js} +17 -16
  332. package/dist/esm/calcite-accordion-item.entry.js +6 -6
  333. package/dist/esm/calcite-accordion.entry.js +1 -1
  334. package/dist/esm/calcite-action-bar_3.entry.js +42 -34
  335. package/dist/esm/calcite-action-group_2.entry.js +19 -17
  336. package/dist/esm/calcite-action-pad.entry.js +13 -13
  337. package/dist/esm/calcite-action_2.entry.js +18 -18
  338. package/dist/esm/calcite-alert_3.entry.js +736 -0
  339. package/dist/esm/calcite-avatar.entry.js +5 -5
  340. package/dist/esm/calcite-block-section.entry.js +9 -9
  341. package/dist/esm/calcite-block.entry.js +44 -14
  342. package/dist/esm/calcite-button.entry.js +21 -15
  343. package/dist/esm/calcite-card.entry.js +9 -9
  344. package/dist/esm/calcite-checkbox_3.entry.js +62 -85
  345. package/dist/esm/calcite-chip-group.entry.js +7 -7
  346. package/dist/esm/calcite-chip.entry.js +12 -12
  347. package/dist/esm/calcite-color-picker-hex-input_2.entry.js +8 -8
  348. package/dist/esm/calcite-color-picker.entry.js +13 -13
  349. package/dist/esm/calcite-combobox-item-group.entry.js +6 -6
  350. package/dist/esm/calcite-combobox_6.entry.js +42 -44
  351. package/dist/esm/calcite-date-picker-day_3.entry.js +11 -11
  352. package/dist/esm/calcite-date-picker.entry.js +11 -11
  353. package/dist/esm/calcite-fab.entry.js +7 -7
  354. package/dist/esm/calcite-filter_3.entry.js +14 -14
  355. package/dist/esm/calcite-flow-item.entry.js +28 -17
  356. package/dist/esm/calcite-flow.entry.js +7 -4
  357. package/dist/esm/calcite-graph.entry.js +3 -3
  358. package/dist/esm/calcite-icon.entry.js +6 -6
  359. package/dist/esm/calcite-inline-editable.entry.js +12 -12
  360. package/dist/esm/calcite-input-date-picker.entry.js +22 -21
  361. package/dist/esm/calcite-input-number_2.entry.js +14 -14
  362. package/dist/esm/{calcite-input-time-picker-f5250903.js → calcite-input-time-picker-77523075.js} +97 -70
  363. package/dist/esm/calcite-input-time-picker.entry.js +17 -16
  364. package/dist/esm/calcite-input-time-zone.entry.js +142 -49
  365. package/dist/esm/calcite-input_2.entry.js +13 -13
  366. package/dist/esm/calcite-label.entry.js +5 -5
  367. package/dist/esm/calcite-link.entry.js +6 -6
  368. package/dist/esm/calcite-list-item-group.entry.js +4 -4
  369. package/dist/esm/calcite-loader.entry.js +1 -1
  370. package/dist/esm/calcite-menu-item.entry.js +9 -9
  371. package/dist/esm/calcite-menu.entry.js +9 -74
  372. package/dist/esm/calcite-meter.entry.js +9 -9
  373. package/dist/esm/calcite-modal.entry.js +12 -12
  374. package/dist/esm/calcite-navigation-logo.entry.js +2 -2
  375. package/dist/esm/calcite-navigation-user.entry.js +2 -2
  376. package/dist/esm/calcite-navigation.entry.js +5 -5
  377. package/dist/esm/calcite-notice_2.entry.js +45 -19
  378. package/dist/esm/calcite-option_2.entry.js +14 -13
  379. package/dist/esm/calcite-pagination.entry.js +132 -63
  380. package/dist/esm/calcite-panel_2.entry.js +39 -35
  381. package/dist/esm/calcite-pick-list-group.entry.js +7 -7
  382. package/dist/esm/calcite-pick-list-item.entry.js +13 -13
  383. package/dist/esm/calcite-pick-list.entry.js +11 -11
  384. package/dist/esm/calcite-radio-button-group.entry.js +2 -2
  385. package/dist/esm/calcite-radio-button.entry.js +10 -10
  386. package/dist/esm/calcite-rating.entry.js +13 -13
  387. package/dist/esm/calcite-scrim.entry.js +8 -8
  388. package/dist/esm/calcite-segmented-control_2.entry.js +10 -10
  389. package/dist/esm/calcite-sheet.entry.js +8 -8
  390. package/dist/esm/calcite-shell-center-row.entry.js +6 -6
  391. package/dist/esm/calcite-shell-panel_14.entry.js +25 -24
  392. package/dist/esm/calcite-sortable-list.entry.js +8 -8
  393. package/dist/esm/calcite-split-button.entry.js +4 -4
  394. package/dist/esm/calcite-stepper-item.entry.js +28 -12
  395. package/dist/esm/calcite-stepper.entry.js +14 -14
  396. package/dist/esm/calcite-switch.entry.js +9 -9
  397. package/dist/esm/calcite-table-cell_2.entry.js +15 -13
  398. package/dist/esm/calcite-table-row.entry.js +6 -6
  399. package/dist/esm/calcite-table.entry.js +10 -10
  400. package/dist/esm/calcite-text-area.entry.js +13 -13
  401. package/dist/esm/calcite-tile-select-group.entry.js +2 -2
  402. package/dist/esm/calcite-tile-select.entry.js +5 -5
  403. package/dist/esm/calcite-tile.entry.js +8 -8
  404. package/dist/esm/calcite-time-picker.entry.js +11 -11
  405. package/dist/esm/calcite-tip-manager.entry.js +9 -9
  406. package/dist/esm/calcite-tip.entry.js +10 -10
  407. package/dist/esm/card-manager_3.entry.js +19 -48
  408. package/dist/esm/{conditionalSlot-7a5c509c.js → conditionalSlot-94095778.js} +2 -2
  409. package/dist/esm/crowdsource-manager.entry.js +5 -2
  410. package/dist/esm/{cs-38f3de9d.js → cs-4f054159.js} +17 -16
  411. package/dist/esm/{da-6ef39f6c.js → da-6c556fce.js} +17 -16
  412. package/dist/esm/{date-b8718146.js → date-05688c80.js} +2 -2
  413. package/dist/esm/{de-at-6617bb68.js → de-at-d3095241.js} +17 -16
  414. package/dist/esm/{de-6aef04c8.js → de-ca621a89.js} +17 -16
  415. package/dist/esm/{de-ch-552d1170.js → de-ch-83fcc045.js} +17 -16
  416. package/dist/esm/{dom-ae3d8818.js → dom-923ca11d.js} +3 -3
  417. package/dist/esm/{el-36c2f66f.js → el-0caa1e48.js} +17 -16
  418. package/dist/esm/{en-au-d58f85c1.js → en-au-1a9727f6.js} +17 -16
  419. package/dist/esm/{en-ca-1693b17f.js → en-ca-9efe6ab1.js} +17 -16
  420. package/dist/esm/{en-gb-827d54cc.js → en-gb-87813f25.js} +17 -16
  421. package/dist/esm/{es-adb3fd4e.js → es-a564ac80.js} +17 -16
  422. package/dist/esm/{es-mx-82199d09.js → es-mx-69a7843b.js} +17 -16
  423. package/dist/esm/{et-af7f407f.js → et-8018f213.js} +17 -16
  424. package/dist/esm/{fi-37c08e8e.js → fi-c8023099.js} +17 -16
  425. package/dist/esm/{filter-dd6ee9fc.js → filter-a4d7ecd2.js} +1 -1
  426. package/dist/esm/{floating-ui-aadc5ee4.js → floating-ui-9c3f29d1.js} +31 -15
  427. package/dist/esm/{focusTrapComponent-b7f65d9e.js → focusTrapComponent-d703f459.js} +3 -3
  428. package/dist/esm/{form-a6c0a47e.js → form-43cd1811.js} +2 -2
  429. package/dist/esm/{fr-1dbd68cf.js → fr-4a6841af.js} +17 -16
  430. package/dist/esm/{fr-ch-0da3f9d5.js → fr-ch-abed2e2a.js} +17 -16
  431. package/dist/esm/globalAttributes-43f1d649.js +74 -0
  432. package/dist/esm/{guid-d34fe102.js → guid-99d025c6.js} +1 -1
  433. package/dist/esm/{he-970bc7e6.js → he-0324b963.js} +17 -16
  434. package/dist/esm/{hi-e332f8ea.js → hi-f1f4309f.js} +17 -16
  435. package/dist/esm/{hr-e7103f84.js → hr-410e913d.js} +17 -16
  436. package/dist/esm/{hu-876d56a7.js → hu-090901ba.js} +17 -16
  437. package/dist/esm/{id-c53da15f.js → id-52323c08.js} +17 -16
  438. package/dist/esm/index-7bd8186c.js +71 -0
  439. package/dist/esm/index-9d64f551.js +170 -0
  440. package/dist/esm/{interactive-22a66feb.js → interactive-e95bbf6b.js} +2 -2
  441. package/dist/esm/{it-f98d068c.js → it-3980ce36.js} +17 -16
  442. package/dist/esm/{it-ch-c7aeaf03.js → it-ch-aa4b9653.js} +17 -16
  443. package/dist/esm/{ja-596aa74d.js → ja-edbfdf17.js} +17 -16
  444. package/dist/esm/{key-554ad3f4.js → key-5ab69c42.js} +1 -1
  445. package/dist/esm/{ko-bdf2643b.js → ko-28dfbdfb.js} +18 -17
  446. package/dist/esm/{label-7187f15b.js → label-be61f66c.js} +2 -2
  447. package/dist/esm/{loadable-54096620.js → loadable-0029bf3d.js} +1 -1
  448. package/dist/esm/loader.js +3 -3
  449. package/dist/esm/{locale-56a910a3.js → locale-76c0c1d9.js} +5 -5
  450. package/dist/esm/{lt-029144ad.js → lt-36215874.js} +17 -16
  451. package/dist/esm/{lv-00292bd8.js → lv-5f613cfd.js} +17 -16
  452. package/dist/esm/{math-158e90ac.js → math-26607e9b.js} +1 -1
  453. package/dist/esm/{mk-ca84aaa7.js → mk-a8e8d2f1.js} +17 -16
  454. package/dist/esm/{nb-3a17d242.js → nb-5accd1d3.js} +17 -16
  455. package/dist/esm/{nl-42fe3f2b.js → nl-aa9a0bb6.js} +17 -16
  456. package/dist/esm/{observers-a3cec8e4.js → observers-115d1b4b.js} +1 -1
  457. package/dist/esm/{openCloseComponent-fd76e488.js → openCloseComponent-943c5248.js} +1 -1
  458. package/dist/esm/{pl-8ccccfb6.js → pl-23465d62.js} +17 -16
  459. package/dist/esm/polyfills/core-js.js +11 -0
  460. package/dist/esm/polyfills/dom.js +79 -0
  461. package/dist/esm/polyfills/es5-html-element.js +1 -0
  462. package/dist/esm/polyfills/index.js +34 -0
  463. package/dist/esm/polyfills/system.js +6 -0
  464. package/dist/esm/{pt-470ef28a.js → pt-41864e9d.js} +17 -16
  465. package/dist/esm/{pt-br-15c5e95d.js → pt-br-c6bd3fe5.js} +17 -16
  466. package/dist/esm/public-notification.entry.js +4 -4
  467. package/dist/esm/{resources-02cd4178.js → resources-0fa1514d.js} +1 -1
  468. package/dist/esm/{resources-5f6d1025.js → resources-19e558e7.js} +3 -1
  469. package/dist/esm/{resources-3be85db9.js → resources-27261bc6.js} +3 -2
  470. package/dist/esm/{resources-fa3b8717.js → resources-4100c616.js} +1 -1
  471. package/dist/esm/{resources-034c9f77.js → resources-55ef6d44.js} +1 -1
  472. package/dist/esm/{resources-d65f06b7.js → resources-9158321b.js} +1 -1
  473. package/dist/esm/{resources-fdb46a26.js → resources-936a5f2d.js} +1 -1
  474. package/dist/esm/{resources-4d5cdf35.js → resources-bb8600a6.js} +1 -1
  475. package/dist/esm/{resources-99f5fcbf.js → resources-c8f83593.js} +1 -1
  476. package/dist/esm/{resources-cc801037.js → resources-ee6e347f.js} +1 -1
  477. package/dist/esm/responsive-4d7ef153.js +42 -0
  478. package/dist/esm/{ro-6ccfabcf.js → ro-b554cdb2.js} +17 -16
  479. package/dist/esm/{ru-4ca6ea5c.js → ru-fabf5351.js} +17 -16
  480. package/dist/esm/{shared-list-render-0d4accf0.js → shared-list-render-eba3dbdf.js} +6 -6
  481. package/dist/esm/{sk-d2cc438e.js → sk-6c30f92d.js} +17 -16
  482. package/dist/esm/sl-53339340.js +165 -0
  483. package/dist/esm/solutions-components.js +3 -3
  484. package/dist/esm/{sortableComponent-eda78521.js → sortableComponent-4a933f2e.js} +5 -5
  485. package/dist/esm/{sr-e13a01d0.js → sr-bb55e815.js} +17 -16
  486. package/dist/esm/{sv-ce009db9.js → sv-e7415076.js} +17 -16
  487. package/dist/esm/{t9n-1eaba69b.js → t9n-976a6630.js} +2 -2
  488. package/dist/esm/{th-bd60a4c0.js → th-5035f441.js} +17 -16
  489. package/dist/esm/{time-84f496fe.js → time-a725be63.js} +3 -3
  490. package/dist/esm/{tr-b117b905.js → tr-8693739a.js} +17 -16
  491. package/dist/esm/{uk-d75d58c8.js → uk-dfe80c4a.js} +17 -16
  492. package/dist/esm/{utils-b1dd5a1a.js → utils-186d9d5e.js} +3 -3
  493. package/dist/esm/{utils-a7af3c1c.js → utils-3ad366fc.js} +2 -2
  494. package/dist/esm/{utils-202317eb.js → utils-9f44f942.js} +1 -1
  495. package/dist/esm/{utils-bc49354a.js → utils-f7c0de62.js} +3 -3
  496. package/dist/esm/{vi-d7057f94.js → vi-540a8ddc.js} +17 -16
  497. package/dist/esm/{zh-cn-21968b0c.js → zh-cn-28e77ef2.js} +17 -16
  498. package/dist/esm/{zh-hk-848e7600.js → zh-hk-15113982.js} +17 -16
  499. package/dist/esm/{zh-tw-9930054d.js → zh-tw-f33efd8d.js} +17 -16
  500. package/dist/node_modules/@esri/calcite-components/dist/collection/components/accordion/accordion.css +4 -0
  501. package/dist/node_modules/@esri/calcite-components/dist/collection/components/accordion-item/accordion-item.css +4 -0
  502. package/dist/node_modules/@esri/calcite-components/dist/collection/components/action/action.css +4 -0
  503. package/dist/node_modules/@esri/calcite-components/dist/collection/components/action-bar/action-bar.css +4 -0
  504. package/dist/node_modules/@esri/calcite-components/dist/collection/components/action-group/action-group.css +10 -2
  505. package/dist/node_modules/@esri/calcite-components/dist/collection/components/action-menu/action-menu.css +5 -2
  506. package/dist/node_modules/@esri/calcite-components/dist/collection/components/action-pad/action-pad.css +4 -0
  507. package/dist/node_modules/@esri/calcite-components/dist/collection/components/alert/alert.css +256 -212
  508. package/dist/node_modules/@esri/calcite-components/dist/collection/components/avatar/avatar.css +4 -0
  509. package/dist/node_modules/@esri/calcite-components/dist/collection/components/block/block.css +4 -0
  510. package/dist/node_modules/@esri/calcite-components/dist/collection/components/block-section/block-section.css +4 -0
  511. package/dist/node_modules/@esri/calcite-components/dist/collection/components/button/button.css +4 -0
  512. package/dist/node_modules/@esri/calcite-components/dist/collection/components/card/card.css +4 -0
  513. package/dist/node_modules/@esri/calcite-components/dist/collection/components/checkbox/checkbox.css +14 -0
  514. package/dist/node_modules/@esri/calcite-components/dist/collection/components/chip/chip.css +4 -0
  515. package/dist/node_modules/@esri/calcite-components/dist/collection/components/chip-group/chip-group.css +4 -0
  516. package/dist/node_modules/@esri/calcite-components/dist/collection/components/color-picker/color-picker.css +4 -0
  517. package/dist/node_modules/@esri/calcite-components/dist/collection/components/color-picker-hex-input/color-picker-hex-input.css +4 -0
  518. package/dist/node_modules/@esri/calcite-components/dist/collection/components/color-picker-swatch/color-picker-swatch.css +4 -0
  519. package/dist/node_modules/@esri/calcite-components/dist/collection/components/combobox/combobox.css +4 -0
  520. package/dist/node_modules/@esri/calcite-components/dist/collection/components/combobox-item/combobox-item.css +4 -0
  521. package/dist/node_modules/@esri/calcite-components/dist/collection/components/combobox-item-group/combobox-item-group.css +12 -0
  522. package/dist/node_modules/@esri/calcite-components/dist/collection/components/date-picker/date-picker.css +4 -0
  523. package/dist/node_modules/@esri/calcite-components/dist/collection/components/date-picker-day/date-picker-day.css +4 -0
  524. package/dist/node_modules/@esri/calcite-components/dist/collection/components/date-picker-month/date-picker-month.css +4 -0
  525. package/dist/node_modules/@esri/calcite-components/dist/collection/components/date-picker-month-header/date-picker-month-header.css +4 -0
  526. package/dist/node_modules/@esri/calcite-components/dist/collection/components/dropdown/dropdown.css +4 -0
  527. package/dist/node_modules/@esri/calcite-components/dist/collection/components/dropdown-group/dropdown-group.css +4 -0
  528. package/dist/node_modules/@esri/calcite-components/dist/collection/components/dropdown-item/dropdown-item.css +4 -0
  529. package/dist/node_modules/@esri/calcite-components/dist/collection/components/fab/fab.css +4 -0
  530. package/dist/node_modules/@esri/calcite-components/dist/collection/components/filter/filter.css +4 -0
  531. package/dist/node_modules/@esri/calcite-components/dist/collection/components/flow/flow.css +4 -0
  532. package/dist/node_modules/@esri/calcite-components/dist/collection/components/flow-item/flow-item.css +6 -1
  533. package/dist/node_modules/@esri/calcite-components/dist/collection/components/graph/graph.css +4 -0
  534. package/dist/node_modules/@esri/calcite-components/dist/collection/components/handle/handle.css +4 -0
  535. package/dist/node_modules/@esri/calcite-components/dist/collection/components/icon/icon.css +4 -0
  536. package/dist/node_modules/@esri/calcite-components/dist/collection/components/inline-editable/inline-editable.css +4 -0
  537. package/dist/node_modules/@esri/calcite-components/dist/collection/components/input/input.css +4 -0
  538. package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-date-picker/input-date-picker.css +4 -0
  539. package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-message/input-message.css +4 -0
  540. package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-number/input-number.css +4 -0
  541. package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-text/input-text.css +4 -0
  542. package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-time-picker/input-time-picker.css +4 -0
  543. package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-time-zone/input-time-zone.css +4 -0
  544. package/dist/node_modules/@esri/calcite-components/dist/collection/components/label/label.css +4 -0
  545. package/dist/node_modules/@esri/calcite-components/dist/collection/components/link/link.css +4 -0
  546. package/dist/node_modules/@esri/calcite-components/dist/collection/components/list/list.css +4 -0
  547. package/dist/node_modules/@esri/calcite-components/dist/collection/components/list-item/list-item.css +4 -0
  548. package/dist/node_modules/@esri/calcite-components/dist/collection/components/list-item-group/list-item-group.css +4 -0
  549. package/dist/node_modules/@esri/calcite-components/dist/collection/components/loader/loader.css +4 -0
  550. package/dist/node_modules/@esri/calcite-components/dist/collection/components/menu/menu.css +4 -0
  551. package/dist/node_modules/@esri/calcite-components/dist/collection/components/menu-item/menu-item.css +4 -0
  552. package/dist/node_modules/@esri/calcite-components/dist/collection/components/meter/meter.css +4 -0
  553. package/dist/node_modules/@esri/calcite-components/dist/collection/components/modal/modal.css +4 -0
  554. package/dist/node_modules/@esri/calcite-components/dist/collection/components/navigation/navigation.css +4 -0
  555. package/dist/node_modules/@esri/calcite-components/dist/collection/components/navigation-logo/navigation-logo.css +4 -0
  556. package/dist/node_modules/@esri/calcite-components/dist/collection/components/navigation-user/navigation-user.css +4 -0
  557. package/dist/node_modules/@esri/calcite-components/dist/collection/components/notice/notice.css +4 -0
  558. package/dist/node_modules/@esri/calcite-components/dist/collection/components/option/option.css +4 -0
  559. package/dist/node_modules/@esri/calcite-components/dist/collection/components/option-group/option-group.css +4 -0
  560. package/dist/node_modules/@esri/calcite-components/dist/collection/components/pagination/pagination.css +45 -56
  561. package/dist/node_modules/@esri/calcite-components/dist/collection/components/panel/panel.css +7 -4
  562. package/dist/node_modules/@esri/calcite-components/dist/collection/components/pick-list/pick-list.css +4 -0
  563. package/dist/node_modules/@esri/calcite-components/dist/collection/components/pick-list-group/pick-list-group.css +4 -0
  564. package/dist/node_modules/@esri/calcite-components/dist/collection/components/pick-list-item/pick-list-item.css +4 -0
  565. package/dist/node_modules/@esri/calcite-components/dist/collection/components/popover/popover.css +4 -0
  566. package/dist/node_modules/@esri/calcite-components/dist/collection/components/progress/progress.css +4 -0
  567. package/dist/node_modules/@esri/calcite-components/dist/collection/components/radio-button/radio-button.css +4 -0
  568. package/dist/node_modules/@esri/calcite-components/dist/collection/components/radio-button-group/radio-button-group.css +4 -0
  569. package/dist/node_modules/@esri/calcite-components/dist/collection/components/rating/rating.css +4 -0
  570. package/dist/node_modules/@esri/calcite-components/dist/collection/components/scrim/scrim.css +4 -0
  571. package/dist/node_modules/@esri/calcite-components/dist/collection/components/segmented-control/segmented-control.css +4 -0
  572. package/dist/node_modules/@esri/calcite-components/dist/collection/components/segmented-control-item/segmented-control-item.css +4 -0
  573. package/dist/node_modules/@esri/calcite-components/dist/collection/components/select/select.css +4 -0
  574. package/dist/node_modules/@esri/calcite-components/dist/collection/components/sheet/sheet.css +4 -0
  575. package/dist/node_modules/@esri/calcite-components/dist/collection/components/shell/shell.css +4 -0
  576. package/dist/node_modules/@esri/calcite-components/dist/collection/components/shell-center-row/shell-center-row.css +4 -0
  577. package/dist/node_modules/@esri/calcite-components/dist/collection/components/shell-panel/shell-panel.css +4 -0
  578. package/dist/node_modules/@esri/calcite-components/dist/collection/components/slider/slider.css +4 -0
  579. package/dist/node_modules/@esri/calcite-components/dist/collection/components/sortable-list/sortable-list.css +4 -0
  580. package/dist/node_modules/@esri/calcite-components/dist/collection/components/split-button/split-button.css +4 -0
  581. package/dist/node_modules/@esri/calcite-components/dist/collection/components/stack/stack.css +4 -0
  582. package/dist/node_modules/@esri/calcite-components/dist/collection/components/stepper/stepper.css +4 -0
  583. package/dist/node_modules/@esri/calcite-components/dist/collection/components/stepper-item/stepper-item.css +16 -0
  584. package/dist/node_modules/@esri/calcite-components/dist/collection/components/switch/switch.css +4 -0
  585. package/dist/node_modules/@esri/calcite-components/dist/collection/components/tab/tab.css +4 -0
  586. package/dist/node_modules/@esri/calcite-components/dist/collection/components/tab-nav/tab-nav.css +4 -0
  587. package/dist/node_modules/@esri/calcite-components/dist/collection/components/tab-title/tab-title.css +4 -0
  588. package/dist/node_modules/@esri/calcite-components/dist/collection/components/table/table.css +4 -0
  589. package/dist/node_modules/@esri/calcite-components/dist/collection/components/table-cell/table-cell.css +8 -0
  590. package/dist/node_modules/@esri/calcite-components/dist/collection/components/table-header/table-header.css +4 -0
  591. package/dist/node_modules/@esri/calcite-components/dist/collection/components/table-row/table-row.css +4 -0
  592. package/dist/node_modules/@esri/calcite-components/dist/collection/components/tabs/tabs.css +4 -0
  593. package/dist/node_modules/@esri/calcite-components/dist/collection/components/text-area/text-area.css +4 -0
  594. package/dist/node_modules/@esri/calcite-components/dist/collection/components/tile/tile.css +4 -0
  595. package/dist/node_modules/@esri/calcite-components/dist/collection/components/tile-select/tile-select.css +4 -0
  596. package/dist/node_modules/@esri/calcite-components/dist/collection/components/tile-select-group/tile-select-group.css +4 -0
  597. package/dist/node_modules/@esri/calcite-components/dist/collection/components/time-picker/time-picker.css +4 -0
  598. package/dist/node_modules/@esri/calcite-components/dist/collection/components/tip/tip.css +4 -0
  599. package/dist/node_modules/@esri/calcite-components/dist/collection/components/tip-group/tip-group.css +4 -0
  600. package/dist/node_modules/@esri/calcite-components/dist/collection/components/tip-manager/tip-manager.css +4 -0
  601. package/dist/node_modules/@esri/calcite-components/dist/collection/components/tooltip/tooltip.css +4 -0
  602. package/dist/node_modules/@esri/calcite-components/dist/collection/components/tree/tree.css +4 -0
  603. package/dist/node_modules/@esri/calcite-components/dist/collection/components/tree-item/tree-item.css +4 -9
  604. package/dist/node_modules/@esri/calcite-components/dist/collection/components/value-list/value-list.css +4 -0
  605. package/dist/node_modules/@esri/calcite-components/dist/collection/components/value-list-item/value-list-item.css +4 -0
  606. package/dist/solutions-components/assets/icon/addConstant16.json +1 -0
  607. package/dist/solutions-components/assets/icon/addConstant24.json +1 -0
  608. package/dist/solutions-components/assets/icon/addConstant32.json +1 -0
  609. package/dist/solutions-components/assets/icon/addRasterVariable16.json +1 -0
  610. package/dist/solutions-components/assets/icon/addRasterVariable24.json +1 -0
  611. package/dist/solutions-components/assets/icon/addRasterVariable32.json +1 -0
  612. package/dist/solutions-components/assets/icon/addRasters16.json +1 -0
  613. package/dist/solutions-components/assets/icon/addRasters24.json +1 -0
  614. package/dist/solutions-components/assets/icon/addRasters32.json +1 -0
  615. package/dist/solutions-components/assets/icon/alertOffCircle16F.json +1 -0
  616. package/dist/solutions-components/assets/icon/alertOffCircle24F.json +1 -0
  617. package/dist/solutions-components/assets/icon/alertOffCircle32F.json +1 -0
  618. package/dist/solutions-components/assets/icon/bulletPoint16.json +1 -1
  619. package/dist/solutions-components/assets/icon/bulletPoint24.json +1 -1
  620. package/dist/solutions-components/assets/icon/bulletPoint32.json +1 -1
  621. package/dist/solutions-components/assets/icon/bulletPointLarge16.json +1 -0
  622. package/dist/solutions-components/assets/icon/bulletPointLarge24.json +1 -0
  623. package/dist/solutions-components/assets/icon/bulletPointLarge32.json +1 -0
  624. package/dist/solutions-components/assets/icon/launch216.json +1 -0
  625. package/dist/solutions-components/assets/icon/launch224.json +1 -0
  626. package/dist/solutions-components/assets/icon/launch232.json +1 -0
  627. package/dist/solutions-components/assets/icon/minusCircle16F.json +1 -0
  628. package/dist/solutions-components/assets/icon/minusCircle24F.json +1 -0
  629. package/dist/solutions-components/assets/icon/minusCircle32F.json +1 -0
  630. package/dist/solutions-components/assets/icon/projectMission16.json +1 -0
  631. package/dist/solutions-components/assets/icon/projectMission24.json +1 -0
  632. package/dist/solutions-components/assets/icon/projectMission32.json +1 -0
  633. package/dist/solutions-components/assets/icon/projectTemplate16.json +1 -0
  634. package/dist/solutions-components/assets/icon/projectTemplate24.json +1 -0
  635. package/dist/solutions-components/assets/icon/projectTemplate32.json +1 -0
  636. package/dist/solutions-components/assets/icon/properties16.json +1 -0
  637. package/dist/solutions-components/assets/icon/properties24.json +1 -0
  638. package/dist/solutions-components/assets/icon/properties32.json +1 -0
  639. package/dist/solutions-components/assets/icon/saveAs16.json +1 -0
  640. package/dist/solutions-components/assets/icon/saveAs24.json +1 -0
  641. package/dist/solutions-components/assets/icon/saveAs32.json +1 -0
  642. package/dist/solutions-components/assets/panel/t9n/index.d.ts +2 -0
  643. package/dist/solutions-components/assets/panel/t9n/messages.json +3 -1
  644. package/dist/solutions-components/assets/panel/t9n/messages_ar.json +3 -1
  645. package/dist/solutions-components/assets/panel/t9n/messages_bg.json +3 -1
  646. package/dist/solutions-components/assets/panel/t9n/messages_bs.json +3 -1
  647. package/dist/solutions-components/assets/panel/t9n/messages_ca.json +3 -1
  648. package/dist/solutions-components/assets/panel/t9n/messages_cs.json +3 -1
  649. package/dist/solutions-components/assets/panel/t9n/messages_da.json +3 -1
  650. package/dist/solutions-components/assets/panel/t9n/messages_de.json +3 -1
  651. package/dist/solutions-components/assets/panel/t9n/messages_el.json +3 -1
  652. package/dist/solutions-components/assets/panel/t9n/messages_en.json +3 -1
  653. package/dist/solutions-components/assets/panel/t9n/messages_es.json +3 -1
  654. package/dist/solutions-components/assets/panel/t9n/messages_et.json +3 -1
  655. package/dist/solutions-components/assets/panel/t9n/messages_fi.json +3 -1
  656. package/dist/solutions-components/assets/panel/t9n/messages_fr.json +3 -1
  657. package/dist/solutions-components/assets/panel/t9n/messages_he.json +3 -1
  658. package/dist/solutions-components/assets/panel/t9n/messages_hr.json +3 -1
  659. package/dist/solutions-components/assets/panel/t9n/messages_hu.json +3 -1
  660. package/dist/solutions-components/assets/panel/t9n/messages_id.json +3 -1
  661. package/dist/solutions-components/assets/panel/t9n/messages_it.json +3 -1
  662. package/dist/solutions-components/assets/panel/t9n/messages_ja.json +3 -1
  663. package/dist/solutions-components/assets/panel/t9n/messages_ko.json +3 -1
  664. package/dist/solutions-components/assets/panel/t9n/messages_lt.json +3 -1
  665. package/dist/solutions-components/assets/panel/t9n/messages_lv.json +3 -1
  666. package/dist/solutions-components/assets/panel/t9n/messages_nl.json +3 -1
  667. package/dist/solutions-components/assets/panel/t9n/messages_no.json +3 -1
  668. package/dist/solutions-components/assets/panel/t9n/messages_pl.json +3 -1
  669. package/dist/solutions-components/assets/panel/t9n/messages_pt-BR.json +3 -1
  670. package/dist/solutions-components/assets/panel/t9n/messages_pt-PT.json +3 -1
  671. package/dist/solutions-components/assets/panel/t9n/messages_ro.json +3 -1
  672. package/dist/solutions-components/assets/panel/t9n/messages_ru.json +3 -1
  673. package/dist/solutions-components/assets/panel/t9n/messages_sk.json +3 -1
  674. package/dist/solutions-components/assets/panel/t9n/messages_sl.json +3 -1
  675. package/dist/solutions-components/assets/panel/t9n/messages_sr.json +3 -1
  676. package/dist/solutions-components/assets/panel/t9n/messages_sv.json +3 -1
  677. package/dist/solutions-components/assets/panel/t9n/messages_th.json +3 -1
  678. package/dist/solutions-components/assets/panel/t9n/messages_tr.json +3 -1
  679. package/dist/solutions-components/assets/panel/t9n/messages_uk.json +3 -1
  680. package/dist/solutions-components/assets/panel/t9n/messages_vi.json +3 -1
  681. package/dist/solutions-components/assets/panel/t9n/messages_zh-CN.json +3 -1
  682. package/dist/solutions-components/assets/panel/t9n/messages_zh-HK.json +3 -1
  683. package/dist/solutions-components/assets/panel/t9n/messages_zh-TW.json +3 -1
  684. package/dist/solutions-components/assets/table/t9n/messages_ar.json +5 -5
  685. package/dist/solutions-components/assets/table/t9n/messages_bg.json +5 -5
  686. package/dist/solutions-components/assets/table/t9n/messages_bs.json +5 -5
  687. package/dist/solutions-components/assets/table/t9n/messages_ca.json +5 -5
  688. package/dist/solutions-components/assets/table/t9n/messages_cs.json +5 -5
  689. package/dist/solutions-components/assets/table/t9n/messages_da.json +5 -5
  690. package/dist/solutions-components/assets/table/t9n/messages_de.json +5 -5
  691. package/dist/solutions-components/assets/table/t9n/messages_el.json +5 -5
  692. package/dist/solutions-components/assets/table/t9n/messages_es.json +5 -5
  693. package/dist/solutions-components/assets/table/t9n/messages_et.json +5 -5
  694. package/dist/solutions-components/assets/table/t9n/messages_fi.json +5 -5
  695. package/dist/solutions-components/assets/table/t9n/messages_fr.json +4 -4
  696. package/dist/solutions-components/assets/table/t9n/messages_he.json +5 -5
  697. package/dist/solutions-components/assets/table/t9n/messages_hr.json +5 -5
  698. package/dist/solutions-components/assets/table/t9n/messages_hu.json +5 -5
  699. package/dist/solutions-components/assets/table/t9n/messages_id.json +5 -5
  700. package/dist/solutions-components/assets/table/t9n/messages_it.json +5 -5
  701. package/dist/solutions-components/assets/table/t9n/messages_ja.json +5 -5
  702. package/dist/solutions-components/assets/table/t9n/messages_ko.json +5 -5
  703. package/dist/solutions-components/assets/table/t9n/messages_lt.json +5 -5
  704. package/dist/solutions-components/assets/table/t9n/messages_lv.json +5 -5
  705. package/dist/solutions-components/assets/table/t9n/messages_nl.json +5 -5
  706. package/dist/solutions-components/assets/table/t9n/messages_no.json +5 -5
  707. package/dist/solutions-components/assets/table/t9n/messages_pl.json +5 -5
  708. package/dist/solutions-components/assets/table/t9n/messages_pt-BR.json +5 -5
  709. package/dist/solutions-components/assets/table/t9n/messages_pt-PT.json +5 -5
  710. package/dist/solutions-components/assets/table/t9n/messages_ro.json +5 -5
  711. package/dist/solutions-components/assets/table/t9n/messages_ru.json +5 -5
  712. package/dist/solutions-components/assets/table/t9n/messages_sk.json +5 -5
  713. package/dist/solutions-components/assets/table/t9n/messages_sl.json +5 -5
  714. package/dist/solutions-components/assets/table/t9n/messages_sr.json +5 -5
  715. package/dist/solutions-components/assets/table/t9n/messages_sv.json +5 -5
  716. package/dist/solutions-components/assets/table/t9n/messages_th.json +5 -5
  717. package/dist/solutions-components/assets/table/t9n/messages_tr.json +5 -5
  718. package/dist/solutions-components/assets/table/t9n/messages_uk.json +5 -5
  719. package/dist/solutions-components/assets/table/t9n/messages_vi.json +5 -5
  720. package/dist/solutions-components/assets/table/t9n/messages_zh-CN.json +5 -5
  721. package/dist/solutions-components/assets/table/t9n/messages_zh-HK.json +5 -5
  722. package/dist/solutions-components/assets/table/t9n/messages_zh-TW.json +5 -5
  723. package/dist/solutions-components/assets/table-cell/t9n/messages_ar.json +5 -5
  724. package/dist/solutions-components/assets/table-cell/t9n/messages_bg.json +5 -5
  725. package/dist/solutions-components/assets/table-cell/t9n/messages_bs.json +5 -5
  726. package/dist/solutions-components/assets/table-cell/t9n/messages_ca.json +5 -5
  727. package/dist/solutions-components/assets/table-cell/t9n/messages_cs.json +5 -5
  728. package/dist/solutions-components/assets/table-cell/t9n/messages_da.json +5 -5
  729. package/dist/solutions-components/assets/table-cell/t9n/messages_de.json +5 -5
  730. package/dist/solutions-components/assets/table-cell/t9n/messages_el.json +5 -5
  731. package/dist/solutions-components/assets/table-cell/t9n/messages_es.json +5 -5
  732. package/dist/solutions-components/assets/table-cell/t9n/messages_et.json +5 -5
  733. package/dist/solutions-components/assets/table-cell/t9n/messages_fi.json +5 -5
  734. package/dist/solutions-components/assets/table-cell/t9n/messages_fr.json +5 -5
  735. package/dist/solutions-components/assets/table-cell/t9n/messages_he.json +5 -5
  736. package/dist/solutions-components/assets/table-cell/t9n/messages_hr.json +5 -5
  737. package/dist/solutions-components/assets/table-cell/t9n/messages_hu.json +5 -5
  738. package/dist/solutions-components/assets/table-cell/t9n/messages_id.json +5 -5
  739. package/dist/solutions-components/assets/table-cell/t9n/messages_it.json +5 -5
  740. package/dist/solutions-components/assets/table-cell/t9n/messages_ja.json +5 -5
  741. package/dist/solutions-components/assets/table-cell/t9n/messages_ko.json +5 -5
  742. package/dist/solutions-components/assets/table-cell/t9n/messages_lt.json +5 -5
  743. package/dist/solutions-components/assets/table-cell/t9n/messages_lv.json +5 -5
  744. package/dist/solutions-components/assets/table-cell/t9n/messages_nl.json +5 -5
  745. package/dist/solutions-components/assets/table-cell/t9n/messages_no.json +5 -5
  746. package/dist/solutions-components/assets/table-cell/t9n/messages_pl.json +5 -5
  747. package/dist/solutions-components/assets/table-cell/t9n/messages_pt-BR.json +5 -5
  748. package/dist/solutions-components/assets/table-cell/t9n/messages_pt-PT.json +5 -5
  749. package/dist/solutions-components/assets/table-cell/t9n/messages_ro.json +5 -5
  750. package/dist/solutions-components/assets/table-cell/t9n/messages_ru.json +5 -5
  751. package/dist/solutions-components/assets/table-cell/t9n/messages_sk.json +5 -5
  752. package/dist/solutions-components/assets/table-cell/t9n/messages_sl.json +5 -5
  753. package/dist/solutions-components/assets/table-cell/t9n/messages_sr.json +5 -5
  754. package/dist/solutions-components/assets/table-cell/t9n/messages_sv.json +5 -5
  755. package/dist/solutions-components/assets/table-cell/t9n/messages_th.json +5 -5
  756. package/dist/solutions-components/assets/table-cell/t9n/messages_tr.json +5 -5
  757. package/dist/solutions-components/assets/table-cell/t9n/messages_uk.json +5 -5
  758. package/dist/solutions-components/assets/table-cell/t9n/messages_vi.json +5 -5
  759. package/dist/solutions-components/assets/table-cell/t9n/messages_zh-CN.json +5 -5
  760. package/dist/solutions-components/assets/table-cell/t9n/messages_zh-HK.json +5 -5
  761. package/dist/solutions-components/assets/table-cell/t9n/messages_zh-TW.json +5 -5
  762. package/dist/solutions-components/assets/table-header/t9n/messages_ar.json +6 -6
  763. package/dist/solutions-components/assets/table-header/t9n/messages_bg.json +6 -6
  764. package/dist/solutions-components/assets/table-header/t9n/messages_bs.json +6 -6
  765. package/dist/solutions-components/assets/table-header/t9n/messages_ca.json +6 -6
  766. package/dist/solutions-components/assets/table-header/t9n/messages_cs.json +6 -6
  767. package/dist/solutions-components/assets/table-header/t9n/messages_da.json +6 -6
  768. package/dist/solutions-components/assets/table-header/t9n/messages_de.json +6 -6
  769. package/dist/solutions-components/assets/table-header/t9n/messages_el.json +6 -6
  770. package/dist/solutions-components/assets/table-header/t9n/messages_es.json +6 -6
  771. package/dist/solutions-components/assets/table-header/t9n/messages_et.json +6 -6
  772. package/dist/solutions-components/assets/table-header/t9n/messages_fi.json +6 -6
  773. package/dist/solutions-components/assets/table-header/t9n/messages_fr.json +6 -6
  774. package/dist/solutions-components/assets/table-header/t9n/messages_he.json +6 -6
  775. package/dist/solutions-components/assets/table-header/t9n/messages_hr.json +6 -6
  776. package/dist/solutions-components/assets/table-header/t9n/messages_hu.json +6 -6
  777. package/dist/solutions-components/assets/table-header/t9n/messages_id.json +6 -6
  778. package/dist/solutions-components/assets/table-header/t9n/messages_it.json +6 -6
  779. package/dist/solutions-components/assets/table-header/t9n/messages_ja.json +6 -6
  780. package/dist/solutions-components/assets/table-header/t9n/messages_ko.json +6 -6
  781. package/dist/solutions-components/assets/table-header/t9n/messages_lt.json +6 -6
  782. package/dist/solutions-components/assets/table-header/t9n/messages_lv.json +6 -6
  783. package/dist/solutions-components/assets/table-header/t9n/messages_nl.json +6 -6
  784. package/dist/solutions-components/assets/table-header/t9n/messages_no.json +6 -6
  785. package/dist/solutions-components/assets/table-header/t9n/messages_pl.json +6 -6
  786. package/dist/solutions-components/assets/table-header/t9n/messages_pt-BR.json +6 -6
  787. package/dist/solutions-components/assets/table-header/t9n/messages_pt-PT.json +6 -6
  788. package/dist/solutions-components/assets/table-header/t9n/messages_ro.json +6 -6
  789. package/dist/solutions-components/assets/table-header/t9n/messages_ru.json +6 -6
  790. package/dist/solutions-components/assets/table-header/t9n/messages_sk.json +6 -6
  791. package/dist/solutions-components/assets/table-header/t9n/messages_sl.json +6 -6
  792. package/dist/solutions-components/assets/table-header/t9n/messages_sr.json +6 -6
  793. package/dist/solutions-components/assets/table-header/t9n/messages_sv.json +6 -6
  794. package/dist/solutions-components/assets/table-header/t9n/messages_th.json +6 -6
  795. package/dist/solutions-components/assets/table-header/t9n/messages_tr.json +6 -6
  796. package/dist/solutions-components/assets/table-header/t9n/messages_uk.json +6 -6
  797. package/dist/solutions-components/assets/table-header/t9n/messages_vi.json +6 -6
  798. package/dist/solutions-components/assets/table-header/t9n/messages_zh-CN.json +6 -6
  799. package/dist/solutions-components/assets/table-header/t9n/messages_zh-HK.json +6 -6
  800. package/dist/solutions-components/assets/table-header/t9n/messages_zh-TW.json +6 -6
  801. package/dist/solutions-components/assets/time-picker/t9n/messages_ar.json +3 -0
  802. package/dist/solutions-components/assets/time-picker/t9n/messages_bg.json +3 -0
  803. package/dist/solutions-components/assets/time-picker/t9n/messages_bs.json +3 -0
  804. package/dist/solutions-components/assets/time-picker/t9n/messages_ca.json +3 -0
  805. package/dist/solutions-components/assets/time-picker/t9n/messages_cs.json +3 -0
  806. package/dist/solutions-components/assets/time-picker/t9n/messages_da.json +3 -0
  807. package/dist/solutions-components/assets/time-picker/t9n/messages_de.json +3 -0
  808. package/dist/solutions-components/assets/time-picker/t9n/messages_el.json +3 -0
  809. package/dist/solutions-components/assets/time-picker/t9n/messages_es.json +3 -0
  810. package/dist/solutions-components/assets/time-picker/t9n/messages_et.json +3 -0
  811. package/dist/solutions-components/assets/time-picker/t9n/messages_fi.json +3 -0
  812. package/dist/solutions-components/assets/time-picker/t9n/messages_fr.json +3 -0
  813. package/dist/solutions-components/assets/time-picker/t9n/messages_he.json +3 -0
  814. package/dist/solutions-components/assets/time-picker/t9n/messages_hr.json +3 -0
  815. package/dist/solutions-components/assets/time-picker/t9n/messages_hu.json +3 -0
  816. package/dist/solutions-components/assets/time-picker/t9n/messages_id.json +3 -0
  817. package/dist/solutions-components/assets/time-picker/t9n/messages_it.json +3 -0
  818. package/dist/solutions-components/assets/time-picker/t9n/messages_ja.json +3 -0
  819. package/dist/solutions-components/assets/time-picker/t9n/messages_ko.json +3 -0
  820. package/dist/solutions-components/assets/time-picker/t9n/messages_lt.json +3 -0
  821. package/dist/solutions-components/assets/time-picker/t9n/messages_lv.json +3 -0
  822. package/dist/solutions-components/assets/time-picker/t9n/messages_nl.json +3 -0
  823. package/dist/solutions-components/assets/time-picker/t9n/messages_no.json +3 -0
  824. package/dist/solutions-components/assets/time-picker/t9n/messages_pl.json +3 -0
  825. package/dist/solutions-components/assets/time-picker/t9n/messages_pt-BR.json +3 -0
  826. package/dist/solutions-components/assets/time-picker/t9n/messages_pt-PT.json +3 -0
  827. package/dist/solutions-components/assets/time-picker/t9n/messages_ro.json +3 -0
  828. package/dist/solutions-components/assets/time-picker/t9n/messages_ru.json +3 -0
  829. package/dist/solutions-components/assets/time-picker/t9n/messages_sk.json +3 -0
  830. package/dist/solutions-components/assets/time-picker/t9n/messages_sl.json +3 -0
  831. package/dist/solutions-components/assets/time-picker/t9n/messages_sr.json +3 -0
  832. package/dist/solutions-components/assets/time-picker/t9n/messages_sv.json +3 -0
  833. package/dist/solutions-components/assets/time-picker/t9n/messages_th.json +3 -0
  834. package/dist/solutions-components/assets/time-picker/t9n/messages_tr.json +3 -0
  835. package/dist/solutions-components/assets/time-picker/t9n/messages_uk.json +3 -0
  836. package/dist/solutions-components/assets/time-picker/t9n/messages_vi.json +3 -0
  837. package/dist/solutions-components/assets/time-picker/t9n/messages_zh-CN.json +3 -0
  838. package/dist/solutions-components/assets/time-picker/t9n/messages_zh-HK.json +3 -0
  839. package/dist/solutions-components/assets/time-picker/t9n/messages_zh-TW.json +3 -0
  840. package/dist/solutions-components/demos/crowdsource-manager.html +3 -0
  841. package/dist/solutions-components/{p-7b372cc4.js → p-024c2016.js} +3 -3
  842. package/dist/solutions-components/{p-663eb3d4.js → p-024ff2f9.js} +2 -2
  843. package/dist/solutions-components/{p-ecd5e842.entry.js → p-029d8d56.entry.js} +1 -1
  844. package/dist/solutions-components/p-0335478a.entry.js +12 -0
  845. package/dist/solutions-components/{p-02637c3c.entry.js → p-038fa109.entry.js} +2 -2
  846. package/dist/solutions-components/{p-740ef07f.entry.js → p-0591ccfd.entry.js} +1 -1
  847. package/dist/solutions-components/{p-a4328542.entry.js → p-08306638.entry.js} +1 -1
  848. package/dist/solutions-components/{p-dfdfc187.js → p-0a95c999.js} +1 -1
  849. package/dist/solutions-components/p-10375537.js +6 -0
  850. package/dist/solutions-components/{p-36637fe7.js → p-1229516f.js} +1 -1
  851. package/dist/solutions-components/p-138a065a.entry.js +11 -0
  852. package/dist/solutions-components/p-13e96533.js +6 -0
  853. package/dist/solutions-components/{p-0f6fa607.js → p-1406bcc4.js} +3 -3
  854. package/dist/solutions-components/{p-a653343a.js → p-151c5d71.js} +1 -1
  855. package/dist/solutions-components/p-164a80fb.js +6 -0
  856. package/dist/solutions-components/p-16d07093.js +6 -0
  857. package/dist/solutions-components/p-16d0f5e7.js +6 -0
  858. package/dist/solutions-components/{p-01f06f9a.entry.js → p-1da1779e.entry.js} +2 -2
  859. package/dist/solutions-components/{p-a62ec89b.entry.js → p-21a54586.entry.js} +2 -2
  860. package/dist/solutions-components/p-224f47c5.js +6 -0
  861. package/dist/solutions-components/p-22eb9ead.entry.js +6 -0
  862. package/dist/solutions-components/p-234d20b1.js +6 -0
  863. package/dist/solutions-components/{p-272018eb.js → p-29120ecd.js} +3 -3
  864. package/dist/solutions-components/p-2a0238d4.entry.js +6 -0
  865. package/dist/solutions-components/p-2a5903e0.js +6 -0
  866. package/dist/solutions-components/p-2af0a6c7.entry.js +11 -0
  867. package/dist/solutions-components/p-2b59e4cf.js +6 -0
  868. package/dist/solutions-components/{p-d31fe523.entry.js → p-2ba31b8a.entry.js} +2 -2
  869. package/dist/solutions-components/{p-fc0ca498.entry.js → p-2db4adca.entry.js} +2 -2
  870. package/dist/solutions-components/p-2df8b0d2.js +6 -0
  871. package/dist/solutions-components/{p-35a41253.js → p-2ee3afea.js} +3 -3
  872. package/dist/solutions-components/{p-e912299d.js → p-2f9bab49.js} +1 -1
  873. package/dist/solutions-components/p-30019a9d.js +6 -0
  874. package/dist/solutions-components/{p-fa98063c.js → p-3003e56a.js} +1 -1
  875. package/dist/solutions-components/p-34ae5550.entry.js +28 -0
  876. package/dist/solutions-components/{p-79e83176.js → p-34fb2a6e.js} +1 -1
  877. package/dist/solutions-components/{p-dc99214a.js → p-353ff6c3.js} +3 -3
  878. package/dist/solutions-components/{p-31fdc998.js → p-361b44ed.js} +1 -1
  879. package/dist/solutions-components/{p-fa124fdf.entry.js → p-3622ff5a.entry.js} +2 -2
  880. package/dist/solutions-components/p-370cdc1a.js +6 -0
  881. package/dist/solutions-components/{p-31133802.js → p-3760847f.js} +1 -1
  882. package/dist/solutions-components/p-387657b5.js +6 -0
  883. package/dist/solutions-components/{p-7f8be8cd.entry.js → p-38d04674.entry.js} +5 -5
  884. package/dist/solutions-components/{p-1468af6d.entry.js → p-3a1ce0b3.entry.js} +2 -2
  885. package/dist/solutions-components/{p-4caa1f9d.js → p-3a668467.js} +1 -1
  886. package/dist/solutions-components/{p-037f2f52.entry.js → p-3b3b8693.entry.js} +3 -3
  887. package/dist/solutions-components/p-3b8d021c.js +6 -0
  888. package/dist/solutions-components/{p-0014f93f.js → p-3db650c2.js} +2 -2
  889. package/dist/solutions-components/{p-0272b972.entry.js → p-3fc5f99b.entry.js} +4 -4
  890. package/dist/solutions-components/{p-09dda965.entry.js → p-40532d71.entry.js} +3 -3
  891. package/dist/solutions-components/p-40d50491.entry.js +6 -0
  892. package/dist/solutions-components/{p-10131b72.entry.js → p-4228202a.entry.js} +1 -1
  893. package/dist/solutions-components/{p-947d032f.entry.js → p-4277bdc8.entry.js} +2 -2
  894. package/dist/solutions-components/{p-3c7af635.js → p-4879d789.js} +1 -1
  895. package/dist/solutions-components/p-48ce2adc.js +6 -0
  896. package/dist/solutions-components/{p-1ba1336c.js → p-4b9ba22d.js} +4 -4
  897. package/dist/solutions-components/p-4e58893d.js +11 -0
  898. package/dist/solutions-components/{p-af68933d.entry.js → p-4ec6a622.entry.js} +3 -3
  899. package/dist/solutions-components/{p-70c370a9.entry.js → p-4f29d862.entry.js} +3 -3
  900. package/dist/solutions-components/{p-1ac699f8.entry.js → p-524dbb02.entry.js} +3 -3
  901. package/dist/solutions-components/p-53368491.js +11 -0
  902. package/dist/solutions-components/p-5347984d.entry.js +18 -0
  903. package/dist/solutions-components/{p-e85ee6f1.entry.js → p-56ccef9e.entry.js} +2 -2
  904. package/dist/solutions-components/{p-1bdc7107.js → p-59d706b4.js} +1 -1
  905. package/dist/solutions-components/{p-22025739.entry.js → p-5aa04e51.entry.js} +4 -4
  906. package/dist/solutions-components/p-5e446b18.entry.js +29 -0
  907. package/dist/solutions-components/p-5f929b73.js +11 -0
  908. package/dist/solutions-components/{p-d2fab6cd.entry.js → p-6190f6b9.entry.js} +1 -1
  909. package/dist/solutions-components/{p-85287a5e.entry.js → p-61e0440a.entry.js} +3 -3
  910. package/dist/solutions-components/{p-0aac33f5.entry.js → p-646e983f.entry.js} +7 -7
  911. package/dist/solutions-components/{p-33247dbf.entry.js → p-684a3ab9.entry.js} +3 -3
  912. package/dist/solutions-components/p-6ac73100.js +6 -0
  913. package/dist/solutions-components/p-6b61a3cd.js +6 -0
  914. package/dist/solutions-components/{p-575f731c.entry.js → p-6c39845d.entry.js} +1 -1
  915. package/dist/solutions-components/p-6d2d7943.js +6 -0
  916. package/dist/solutions-components/p-6d783ec5.js +6 -0
  917. package/dist/solutions-components/{p-236b2000.entry.js → p-71049433.entry.js} +2 -2
  918. package/dist/solutions-components/p-735cdbaf.js +6 -0
  919. package/dist/solutions-components/{p-12e15eaa.js → p-73c50d50.js} +2 -2
  920. package/dist/solutions-components/p-74c723d2.entry.js +11 -0
  921. package/dist/solutions-components/{p-6d50909d.entry.js → p-7624927c.entry.js} +2 -2
  922. package/dist/solutions-components/{p-08b96a9c.entry.js → p-76c75cac.entry.js} +3 -3
  923. package/dist/solutions-components/p-7af492f8.js +6 -0
  924. package/dist/solutions-components/{p-7e6b953a.entry.js → p-7cc21aa4.entry.js} +2 -2
  925. package/dist/solutions-components/{p-f351978d.js → p-7d7e6744.js} +1 -1
  926. package/dist/solutions-components/{p-e851ead7.entry.js → p-7ea4f229.entry.js} +2 -2
  927. package/dist/solutions-components/{p-1fcee160.entry.js → p-80ff1462.entry.js} +2 -2
  928. package/dist/solutions-components/p-82cedafd.js +6 -0
  929. package/dist/solutions-components/p-8458b57c.entry.js +11 -0
  930. package/dist/solutions-components/{p-04735c27.entry.js → p-851edd3b.entry.js} +2 -2
  931. package/dist/solutions-components/p-852e7d6c.js +6 -0
  932. package/dist/solutions-components/p-866837f6.js +11 -0
  933. package/dist/solutions-components/p-86f33d1b.js +6 -0
  934. package/dist/solutions-components/{p-943a5ed7.js → p-86f482ca.js} +1 -1
  935. package/dist/solutions-components/p-880a0d62.entry.js +11 -0
  936. package/dist/solutions-components/p-89e4299f.js +6 -0
  937. package/dist/solutions-components/p-8b912783.js +6 -0
  938. package/dist/solutions-components/{p-7d347571.entry.js → p-8be9c706.entry.js} +3 -3
  939. package/dist/solutions-components/{p-f5523c9d.entry.js → p-8c00bf84.entry.js} +3 -3
  940. package/dist/solutions-components/p-90e780b3.js +6 -0
  941. package/dist/solutions-components/{p-bb6f49fb.entry.js → p-937c2c82.entry.js} +3 -3
  942. package/dist/solutions-components/{p-c5fd52fa.js → p-946a0023.js} +5 -5
  943. package/dist/solutions-components/{p-6f012379.entry.js → p-94785227.entry.js} +3 -3
  944. package/dist/solutions-components/{p-7e2220d7.entry.js → p-960d5e0d.entry.js} +1 -1
  945. package/dist/solutions-components/{p-e770c412.entry.js → p-97b2521a.entry.js} +3 -3
  946. package/dist/solutions-components/{p-521e30a8.entry.js → p-97effcfe.entry.js} +1 -1
  947. package/dist/solutions-components/p-9894c380.js +6 -0
  948. package/dist/solutions-components/p-994e84f7.js +6 -0
  949. package/dist/solutions-components/{p-cfdb15b7.entry.js → p-99900c72.entry.js} +2 -2
  950. package/dist/solutions-components/p-9a41ea03.js +6 -0
  951. package/dist/solutions-components/p-9a66d8c7.js +6 -0
  952. package/dist/solutions-components/p-9aa4ddb7.js +6 -0
  953. package/dist/solutions-components/p-9f8cd92d.js +6 -0
  954. package/dist/solutions-components/p-a3426728.entry.js +6 -0
  955. package/dist/solutions-components/p-a35a422a.js +6 -0
  956. package/dist/solutions-components/{p-790dac6b.entry.js → p-a366c1bd.entry.js} +2 -2
  957. package/dist/solutions-components/{p-910cf04b.js → p-a47c8ae2.js} +3 -3
  958. package/dist/solutions-components/p-a4e47e1d.entry.js +6 -0
  959. package/dist/solutions-components/{p-dc38fe60.entry.js → p-a574b12e.entry.js} +2 -2
  960. package/dist/solutions-components/p-a64684d9.js +6 -0
  961. package/dist/solutions-components/p-a678b2d3.js +6 -0
  962. package/dist/solutions-components/{p-672d79f2.entry.js → p-aacbdedb.entry.js} +2 -2
  963. package/dist/solutions-components/{p-e9148c7b.js → p-abc50d38.js} +1 -1
  964. package/dist/solutions-components/{p-6e89bbec.entry.js → p-ae952961.entry.js} +2 -2
  965. package/dist/solutions-components/{p-9de59894.entry.js → p-b17541d4.entry.js} +3 -3
  966. package/dist/solutions-components/{p-147d6ef0.js → p-b41915d9.js} +3 -3
  967. package/dist/solutions-components/p-b48e8dd1.js +11 -0
  968. package/dist/solutions-components/{p-ff863f16.entry.js → p-b4c0c62e.entry.js} +2 -2
  969. package/dist/solutions-components/p-b6f9d874.js +6 -0
  970. package/dist/solutions-components/p-b7f5a5c9.js +6 -0
  971. package/dist/solutions-components/{p-0505d89a.js → p-b80631c4.js} +1 -1
  972. package/dist/solutions-components/p-b8ce608e.js +11 -0
  973. package/dist/solutions-components/{p-e5e60190.js → p-bc4c41ba.js} +1 -1
  974. package/dist/solutions-components/{p-a6cf2623.js → p-bee78404.js} +1 -1
  975. package/dist/solutions-components/p-bf73ccae.js +6 -0
  976. package/dist/solutions-components/{p-6954fc16.entry.js → p-bf8fef40.entry.js} +3 -3
  977. package/dist/solutions-components/{p-08901512.js → p-bf9d3381.js} +5 -5
  978. package/dist/solutions-components/{p-d8901897.js → p-c24040ec.js} +1 -1
  979. package/dist/solutions-components/{p-52f0f3ad.entry.js → p-c29a20f1.entry.js} +1 -1
  980. package/dist/solutions-components/{p-79396110.entry.js → p-c2c000fc.entry.js} +3 -3
  981. package/dist/solutions-components/p-c3417d14.js +6 -0
  982. package/dist/solutions-components/p-c3bd1676.entry.js +11 -0
  983. package/dist/solutions-components/p-c9936cc9.js +6 -0
  984. package/dist/solutions-components/{p-499bc634.entry.js → p-ca9bd37c.entry.js} +3 -3
  985. package/dist/solutions-components/p-ce3b40ca.entry.js +6 -0
  986. package/dist/solutions-components/{p-7758f01f.entry.js → p-cfa0c38b.entry.js} +3 -3
  987. package/dist/solutions-components/{p-d9229a22.entry.js → p-cfe4ec71.entry.js} +3 -3
  988. package/dist/solutions-components/p-d3104ab2.js +6 -0
  989. package/dist/solutions-components/{p-97082d8d.entry.js → p-d32a1308.entry.js} +3 -3
  990. package/dist/solutions-components/{p-6527978c.js → p-d4278729.js} +3 -3
  991. package/dist/solutions-components/p-d5517d0d.js +6 -0
  992. package/dist/solutions-components/p-d68f66a3.js +6 -0
  993. package/dist/solutions-components/p-d6b50da2.js +6 -0
  994. package/dist/solutions-components/p-d738fea9.js +6 -0
  995. package/dist/solutions-components/p-d8ac40a5.js +6 -0
  996. package/dist/solutions-components/{p-b8b4c32f.js → p-dd36af4f.js} +1 -1
  997. package/dist/solutions-components/{p-e1bc4ef6.js → p-dd4e5f64.js} +1 -1
  998. package/dist/solutions-components/p-de268445.entry.js +11 -0
  999. package/dist/solutions-components/p-e3bf18fc.entry.js +6 -0
  1000. package/dist/solutions-components/p-e48eb0b2.entry.js +6 -0
  1001. package/dist/solutions-components/p-e52091fa.js +6 -0
  1002. package/dist/solutions-components/p-e8c5f63d.js +6 -0
  1003. package/dist/solutions-components/p-ea238bbc.entry.js +6 -0
  1004. package/dist/solutions-components/p-edf861a1.entry.js +17 -0
  1005. package/dist/solutions-components/{p-9cb360bd.js → p-efc041d0.js} +1 -1
  1006. package/dist/solutions-components/p-f34f405a.entry.js +6 -0
  1007. package/dist/solutions-components/{p-dcc50669.js → p-f52ee45d.js} +3 -3
  1008. package/dist/solutions-components/p-f6fa0003.js +6 -0
  1009. package/dist/solutions-components/p-fa06a8f7.entry.js +6 -0
  1010. package/dist/solutions-components/p-fa63c8b1.js +6 -0
  1011. package/dist/solutions-components/p-fc141ca0.js +11 -0
  1012. package/dist/solutions-components/{p-4dd80a57.entry.js → p-fc7de108.entry.js} +2 -2
  1013. package/dist/solutions-components/{p-e4bd7ed1.entry.js → p-fd1da29a.entry.js} +1 -1
  1014. package/dist/solutions-components/solutions-components.esm.js +1 -1
  1015. package/dist/solutions-components/utils/interfaces.ts +1 -0
  1016. package/dist/types/components/basemap-gallery/basemap-gallery.d.ts +7 -1
  1017. package/dist/types/components/crowdsource-manager/crowdsource-manager.d.ts +4 -0
  1018. package/dist/types/components/edit-card/edit-card.d.ts +12 -0
  1019. package/dist/types/components/layer-table/layer-table.d.ts +7 -27
  1020. package/dist/types/components/map-card/map-card.d.ts +1 -0
  1021. package/dist/types/components.d.ts +16 -5
  1022. package/dist/types/preact.d.ts +17 -5
  1023. package/dist/types/utils/interfaces.d.ts +1 -0
  1024. package/package.json +2 -2
  1025. package/dist/cjs/calcite-alert.cjs.entry.js +0 -285
  1026. package/dist/cjs/edit-card_2.cjs.entry.js +0 -427
  1027. package/dist/cjs/sl-bf82d012.js +0 -64
  1028. package/dist/esm/calcite-alert.entry.js +0 -281
  1029. package/dist/esm/edit-card_2.entry.js +0 -422
  1030. package/dist/esm/sl-fa960833.js +0 -62
  1031. package/dist/solutions-components/p-01a8ab25.js +0 -6
  1032. package/dist/solutions-components/p-06bc850e.entry.js +0 -12
  1033. package/dist/solutions-components/p-10f990d1.js +0 -6
  1034. package/dist/solutions-components/p-112c7f0b.js +0 -6
  1035. package/dist/solutions-components/p-15b2c977.entry.js +0 -11
  1036. package/dist/solutions-components/p-1b5fdc60.entry.js +0 -6
  1037. package/dist/solutions-components/p-1ed04a5a.js +0 -11
  1038. package/dist/solutions-components/p-2040681e.js +0 -6
  1039. package/dist/solutions-components/p-2406fda3.js +0 -6
  1040. package/dist/solutions-components/p-296909a6.entry.js +0 -6
  1041. package/dist/solutions-components/p-29e42601.js +0 -6
  1042. package/dist/solutions-components/p-2a23b33c.js +0 -6
  1043. package/dist/solutions-components/p-2b749168.js +0 -6
  1044. package/dist/solutions-components/p-2ed7930b.js +0 -6
  1045. package/dist/solutions-components/p-2ffbb0aa.entry.js +0 -6
  1046. package/dist/solutions-components/p-32d8a04d.entry.js +0 -6
  1047. package/dist/solutions-components/p-345a4781.js +0 -6
  1048. package/dist/solutions-components/p-37372a3d.entry.js +0 -29
  1049. package/dist/solutions-components/p-38dcc542.js +0 -6
  1050. package/dist/solutions-components/p-38e79175.js +0 -11
  1051. package/dist/solutions-components/p-41ee9121.entry.js +0 -11
  1052. package/dist/solutions-components/p-44f8ec67.js +0 -6
  1053. package/dist/solutions-components/p-4a382f62.js +0 -6
  1054. package/dist/solutions-components/p-4f35e0b8.js +0 -6
  1055. package/dist/solutions-components/p-54190edb.entry.js +0 -6
  1056. package/dist/solutions-components/p-573d2241.entry.js +0 -18
  1057. package/dist/solutions-components/p-579cc100.entry.js +0 -11
  1058. package/dist/solutions-components/p-57f2b4f9.js +0 -6
  1059. package/dist/solutions-components/p-58da33ce.js +0 -6
  1060. package/dist/solutions-components/p-595b6177.js +0 -6
  1061. package/dist/solutions-components/p-5bd796dd.entry.js +0 -6
  1062. package/dist/solutions-components/p-5c83c577.js +0 -6
  1063. package/dist/solutions-components/p-5dc13b6d.js +0 -11
  1064. package/dist/solutions-components/p-5faf659b.js +0 -11
  1065. package/dist/solutions-components/p-61f3b001.js +0 -6
  1066. package/dist/solutions-components/p-64a0e0e7.entry.js +0 -6
  1067. package/dist/solutions-components/p-6610bad4.js +0 -6
  1068. package/dist/solutions-components/p-66380f26.js +0 -6
  1069. package/dist/solutions-components/p-68b33cb6.js +0 -6
  1070. package/dist/solutions-components/p-6e5bbdbd.js +0 -6
  1071. package/dist/solutions-components/p-6eecc279.js +0 -6
  1072. package/dist/solutions-components/p-71d0f30c.js +0 -6
  1073. package/dist/solutions-components/p-7814f6db.js +0 -6
  1074. package/dist/solutions-components/p-7c23c4cd.js +0 -6
  1075. package/dist/solutions-components/p-81a962c3.js +0 -6
  1076. package/dist/solutions-components/p-892075e5.entry.js +0 -11
  1077. package/dist/solutions-components/p-89fc9c87.js +0 -11
  1078. package/dist/solutions-components/p-8cf4fd05.entry.js +0 -28
  1079. package/dist/solutions-components/p-903aa065.js +0 -6
  1080. package/dist/solutions-components/p-965495c7.js +0 -6
  1081. package/dist/solutions-components/p-9654f62f.entry.js +0 -6
  1082. package/dist/solutions-components/p-9b3e8d42.js +0 -6
  1083. package/dist/solutions-components/p-9c5e66fe.js +0 -6
  1084. package/dist/solutions-components/p-9f7d7413.js +0 -6
  1085. package/dist/solutions-components/p-a452c2a8.js +0 -6
  1086. package/dist/solutions-components/p-a7d5752b.js +0 -6
  1087. package/dist/solutions-components/p-ab857e6d.js +0 -6
  1088. package/dist/solutions-components/p-ad16d71b.entry.js +0 -6
  1089. package/dist/solutions-components/p-ae221b83.entry.js +0 -6
  1090. package/dist/solutions-components/p-ae443c91.entry.js +0 -6
  1091. package/dist/solutions-components/p-af25c24c.entry.js +0 -17
  1092. package/dist/solutions-components/p-b73319e1.js +0 -6
  1093. package/dist/solutions-components/p-bf48be66.entry.js +0 -11
  1094. package/dist/solutions-components/p-c1a86a7f.js +0 -6
  1095. package/dist/solutions-components/p-c347875f.js +0 -6
  1096. package/dist/solutions-components/p-c69de0fa.entry.js +0 -11
  1097. package/dist/solutions-components/p-c6c4ed96.js +0 -6
  1098. package/dist/solutions-components/p-dac63a50.js +0 -6
  1099. package/dist/solutions-components/p-dec91018.js +0 -6
  1100. package/dist/solutions-components/p-e7c11602.js +0 -6
  1101. package/dist/solutions-components/p-e9ae9ec7.js +0 -6
  1102. package/dist/solutions-components/p-e9f128b3.js +0 -6
  1103. package/dist/solutions-components/p-eb5e6881.js +0 -6
  1104. package/dist/solutions-components/p-f53a8e59.js +0 -6
  1105. package/dist/solutions-components/p-fa3732fa.entry.js +0 -11
  1106. package/dist/solutions-components/p-fad93fd0.js +0 -6
  1107. package/dist/solutions-components/p-ff40cfb2.js +0 -6
  1108. package/dist/solutions-components/p-ffb567ab.entry.js +0 -6
@@ -3,9 +3,9 @@
3
3
  * Licensed under the Apache License, Version 2.0
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
- import{n,b as e,i as t,e as r}from"./p-08901512.js";import{d as u}from"./p-e912299d.js";
6
+ import{n,b as e,i as t,e as r}from"./p-bf9d3381.js";import{d as u}from"./p-2f9bab49.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
- * v1.8.0
11
- */const i=5;function o(n,t,u=!0,i){const o={hour:"2-digit",minute:"2-digit",timeZone:"UTC",numberingSystem:r(t)};return u&&(o.second="2-digit",i&&(o.fractionalSecondDigits=i)),e(n,o)}function a(n,e){if(null==n)return;const t=n.toString(),r=u(n);if(n<1&&r>0&&r<4){const n=t.replace("0.","");return e&&n.length!==e&&n.length<e?n.padEnd(e,"0"):n}return n>=0&&n<10?t.padStart(2,"0"):n>=10?t:void 0}function l(n){if(!p(n))return null;const{hour:e,minute:t,second:r,fractionalSecond:u}=D(n);let i=`${a(parseInt(e))}:${a(parseInt(t))}`;return r&&(i+=`:${a(parseInt(r))}`,u&&(i+=`.${u}`)),i}function c(n,e){return d("meridiem",o(n,e).formatToParts(new Date(Date.UTC(0,0,0,0,0,0))))?"12":"24"}function s(e,t){return n.numberFormatOptions={locale:e,numberingSystem:t},n.localize("1.1").split("")[1]}function f(n,e,t="latn"){return d(`${n}Suffix`,o(e,t).formatToParts(new Date(Date.UTC(0,0,0,0,0,0))))}function d(n,e){if(!n||!e)return null;if("hourSuffix"===n){const n=e.indexOf(e.find((({type:n})=>"hour"===n))),t=e.indexOf(e.find((({type:n})=>"minute"===n))),r=e[n+1];return r&&"literal"===r.type&&t-n==2&&r.value?.trim()||null}if("minuteSuffix"===n){const n=e.indexOf(e.find((({type:n})=>"minute"===n))),t=e.indexOf(e.find((({type:n})=>"second"===n))),r=e[n+1];return r&&"literal"===r.type&&t-n==2&&r.value?.trim()||null}if("secondSuffix"===n){const n=e.indexOf(e.find((({type:n})=>"second"===n))),t=e[n+1];return t&&"literal"===t.type&&t.value?.trim()||null}return e.find((({type:e})=>"meridiem"==n?"dayPeriod"===e:e===n))?.value||null}function m(n){if(!t(n))return null;const e=parseInt(n);return e>=0&&e<=11?"AM":"PM"}function p(n){if(!n||n.startsWith(":")||n.endsWith(":"))return!1;const e=n.split(":");if(!(e.length>1&&e.length<4))return!1;const[r,u,i]=e,o=parseInt(e[0]),a=parseInt(e[1]),l=parseInt(e[2]),c=t(r)&&o>=0&&o<24,s=t(u)&&a>=0&&a<60,f=t(i)&&l>=0&&l<60;return!!(c&&s&&!i||c&&s&&f)||void 0}function S({value:e,part:r,locale:u,numberingSystem:i}){if("fractionalSecond"===r){const t=s(u,i);let r=null;if(e){n.numberFormatOptions={locale:u,numberingSystem:i};const o=n.localize("0");0===parseInt(e)?r="".padStart(e.length,o):(r=n.localize(`0.${e}`).replace(`${o}${t}`,""),r.length<e.length&&(r=r.padEnd(e.length,o)))}return r}if(!function(n,e){if("meridiem"===e)return"AM"===n||"PM"===n;if(!t(n))return!1;const r=Number(n);return"hour"===e?r>=0&&r<24:r>=0&&r<60}(e,r))return;const a=parseInt(e),l=new Date(Date.UTC(0,0,0,"hour"===r?a:"meridiem"===r?"AM"===e?0:12:0,"minute"===r?a:0,"second"===r?a:0));return l?d(r,o(u,i).formatToParts(l)):void 0}function I({value:n,locale:e,numberingSystem:t,includeSeconds:r=!0,fractionalSecondDigits:u}){if(!p(n))return null;const{hour:i,minute:a,second:l="0",fractionalSecond:c}=D(n),s=new Date(Date.UTC(0,0,0,parseInt(i),parseInt(a),parseInt(l),c&&parseInt((parseFloat(`0.${c}`)/.001).toFixed(3))));return o(e,t,r,u).format(s)||null}function h({value:n,locale:e,numberingSystem:t="latn"}){if(!p(n))return null;const{hour:r,minute:u,second:i="0",fractionalSecond:a}=D(n),l=new Date(Date.UTC(0,0,0,parseInt(r),parseInt(u),parseInt(i)));if(l){const n=o(e,t).formatToParts(l);return{localizedHour:d("hour",n),localizedHourSuffix:d("hourSuffix",n),localizedMinute:d("minute",n),localizedMinuteSuffix:d("minuteSuffix",n),localizedSecond:d("second",n),localizedDecimalSeparator:s(e,t),localizedFractionalSecond:S({value:a,part:"fractionalSecond",locale:e,numberingSystem:t}),localizedSecondSuffix:d("secondSuffix",n),localizedMeridiem:d("meridiem",n)}}return null}function y({value:n,locale:e,numberingSystem:t}){if(!p(n))return null;const{hour:r,minute:u,second:i="0"}=D(n),a=new Date(Date.UTC(0,0,0,parseInt(r),parseInt(u),parseInt(i)));return a?o(e,t).formatToParts(a):null}function D(n){if(p(n)){const[e,t,r]=n.split(":");let u=r,i=null;return r?.includes(".")&&([u,i]=r.split(".")),{fractionalSecond:i,hour:e,minute:t,second:u}}return{fractionalSecond:null,hour:null,minute:null,second:null}}function g(n,e=!0){if(!p(n))return"";const{hour:t,minute:r,second:u,fractionalSecond:i}=D(n);let o=`${a(parseInt(t))}:${a(parseInt(r))}`;return e&&(o+=`:${a(parseInt(e&&u||"0"))}`,i&&(o+=`.${i}`)),o}export{a,h as b,y as c,f as d,s as e,l as f,m as g,S as h,p as i,c as j,I as l,i as m,D as p,g as t}
10
+ * v1.9.0
11
+ */const i=5;function o(n,t,u=!0,i){const o={hour:"2-digit",minute:"2-digit",timeZone:"UTC",numberingSystem:r(t)};return u&&(o.second="2-digit",i&&(o.fractionalSecondDigits=i)),e(n,o)}function a(n,e){if(null==n)return;const t=n.toString(),r=u(n);if(n<1&&r>0&&r<4){const n=t.replace("0.","");return e&&n.length!==e&&n.length<e?n.padEnd(e,"0"):n}return n>=0&&n<10?t.padStart(2,"0"):n>=10?t:void 0}function l(n){if(!p(n))return null;const{hour:e,minute:t,second:r,fractionalSecond:u}=b(n);let i=`${a(parseInt(e))}:${a(parseInt(t))}`;return r&&(i+=`:${a(parseInt(r))}`,u&&(i+=`.${u}`)),i}function c(n,e){return d("meridiem",o(n,e).formatToParts(new Date(Date.UTC(0,0,0,0,0,0))))?"12":"24"}function s(e,t){return n.numberFormatOptions={locale:e,numberingSystem:t},n.localize("1.1").split("")[1]}function f(n,e,t="latn"){return d(`${n}Suffix`,o(e,t).formatToParts(new Date(Date.UTC(0,0,0,0,0,0))))}function d(n,e){if(!n||!e)return null;if("hourSuffix"===n){const n=e.indexOf(e.find((({type:n})=>"hour"===n))),t=e.indexOf(e.find((({type:n})=>"minute"===n))),r=e[n+1];return r&&"literal"===r.type&&t-n==2&&r.value?.trim()||null}if("minuteSuffix"===n){const n=e.indexOf(e.find((({type:n})=>"minute"===n))),t=e.indexOf(e.find((({type:n})=>"second"===n))),r=e[n+1];return r&&"literal"===r.type&&t-n==2&&r.value?.trim()||null}if("secondSuffix"===n){const n=e.indexOf(e.find((({type:n})=>"second"===n))),t=e[n+1];return t&&"literal"===t.type&&t.value?.trim()||null}return e.find((({type:e})=>"meridiem"==n?"dayPeriod"===e:e===n))?.value||null}function m(n){if(!t(n))return null;const e=parseInt(n);return e>=0&&e<=11?"AM":"PM"}function p(n){if(!n||n.startsWith(":")||n.endsWith(":"))return!1;const e=n.split(":");if(!(e.length>1&&e.length<4))return!1;const[r,u,i]=e,o=parseInt(e[0]),a=parseInt(e[1]),l=parseInt(e[2]),c=t(r)&&o>=0&&o<24,s=t(u)&&a>=0&&a<60,f=t(i)&&l>=0&&l<60;return!!(c&&s&&!i||c&&s&&f)||void 0}function S({value:e,part:r,locale:u,numberingSystem:i}){if("fractionalSecond"===r){const t=s(u,i);let r=null;if(e){n.numberFormatOptions={locale:u,numberingSystem:i};const o=n.localize("0");0===parseInt(e)?r="".padStart(e.length,o):(r=n.localize(`0.${e}`).replace(`${o}${t}`,""),r.length<e.length&&(r=r.padEnd(e.length,o)))}return r}if(!function(n,e){if("meridiem"===e)return"AM"===n||"PM"===n;if(!t(n))return!1;const r=Number(n);return"hour"===e?r>=0&&r<24:r>=0&&r<60}(e,r))return;const a=parseInt(e),l=new Date(Date.UTC(0,0,0,"hour"===r?a:"meridiem"===r?"AM"===e?0:12:0,"minute"===r?a:0,"second"===r?a:0));return l?d(r,o(u,i).formatToParts(l)):void 0}function I({value:n,locale:e,numberingSystem:t,includeSeconds:r=!0,fractionalSecondDigits:u}){if(!p(n))return null;const{hour:i,minute:a,second:l="0",fractionalSecond:c}=b(n),s=new Date(Date.UTC(0,0,0,parseInt(i),parseInt(a),parseInt(l),c&&parseInt((parseFloat(`0.${c}`)/.001).toFixed(3))));return o(e,t,r,u).format(s)||null}function h({value:n,locale:e,numberingSystem:t="latn"}){if(!p(n))return null;const{hour:r,minute:u,second:i="0",fractionalSecond:a}=b(n),l=new Date(Date.UTC(0,0,0,parseInt(r),parseInt(u),parseInt(i)));if(l){const n=o(e,t).formatToParts(l);return{localizedHour:d("hour",n),localizedHourSuffix:d("hourSuffix",n),localizedMinute:d("minute",n),localizedMinuteSuffix:d("minuteSuffix",n),localizedSecond:d("second",n),localizedDecimalSeparator:s(e,t),localizedFractionalSecond:S({value:a,part:"fractionalSecond",locale:e,numberingSystem:t}),localizedSecondSuffix:d("secondSuffix",n),localizedMeridiem:d("meridiem",n)}}return null}function y({value:n,locale:e,numberingSystem:t}){if(!p(n))return null;const{hour:r,minute:u,second:i="0"}=b(n),a=new Date(Date.UTC(0,0,0,parseInt(r),parseInt(u),parseInt(i)));return a?o(e,t).formatToParts(a):null}function b(n){if(p(n)){const[e,t,r]=n.split(":");let u=r,i=null;return r?.includes(".")&&([u,i]=r.split(".")),{fractionalSecond:i,hour:e,minute:t,second:u}}return{fractionalSecond:null,hour:null,minute:null,second:null}}function D(n,e=!0){if(!p(n))return"";const{hour:t,minute:r,second:u,fractionalSecond:i}=b(n);let o=`${a(parseInt(t))}:${a(parseInt(r))}`;return e&&(o+=`:${a(parseInt(e&&u||"0"))}`,i&&(o+=`.${i}`)),o}export{a,h as b,y as c,f as d,s as e,l as f,m as g,S as h,p as i,c as j,I as l,i as m,b as p,D as t}
@@ -0,0 +1,6 @@
1
+ /*!
2
+ * Copyright 2022 Esri
3
+ * Licensed under the Apache License, Version 2.0
4
+ * http://www.apache.org/licenses/LICENSE-2.0
5
+ */
6
+ import{d as e}from"./p-b8ce608e.js";import"./p-91c78d98.js";import"./p-3db650c2.js";import"./p-4b9ba22d.js";import"./p-361b44ed.js";import"./p-3760847f.js";import"./p-2ee3afea.js";import"./p-86f482ca.js";import"./p-34fb2a6e.js";import"./p-f52ee45d.js";import"./p-3a668467.js";import"./p-bf9d3381.js";import"./p-efc041d0.js";import"./p-a47c8ae2.js";import"./p-d4278729.js";import"./p-2f9bab49.js";import"./p-29120ecd.js";import"./p-abc50d38.js";var i={name:"ro",weekdays:"Duminică_Luni_Marți_Miercuri_Joi_Vineri_Sâmbătă".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_Sâm".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_Sâ".split("_"),months:"Ianuarie_Februarie_Martie_Aprilie_Mai_Iunie_Iulie_August_Septembrie_Octombrie_Noiembrie_Decembrie".split("_"),monthsShort:"Ian._Febr._Mart._Apr._Mai_Iun._Iul._Aug._Sept._Oct._Nov._Dec.".split("_"),weekStart:1,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},relativeTime:{future:"peste %s",past:"acum %s",s:"câteva secunde",m:"un minut",mm:"%d minute",h:"o oră",hh:"%d ore",d:"o zi",dd:"%d zile",M:"o lună",MM:"%d luni",y:"un an",yy:"%d ani"},ordinal:function(e){return e}};e.locale(i,null,!0);export default i;
@@ -0,0 +1,6 @@
1
+ /*!
2
+ * Copyright 2022 Esri
3
+ * Licensed under the Apache License, Version 2.0
4
+ * http://www.apache.org/licenses/LICENSE-2.0
5
+ */
6
+ import{d as e}from"./p-b8ce608e.js";import"./p-91c78d98.js";import"./p-3db650c2.js";import"./p-4b9ba22d.js";import"./p-361b44ed.js";import"./p-3760847f.js";import"./p-2ee3afea.js";import"./p-86f482ca.js";import"./p-34fb2a6e.js";import"./p-f52ee45d.js";import"./p-3a668467.js";import"./p-bf9d3381.js";import"./p-efc041d0.js";import"./p-a47c8ae2.js";import"./p-d4278729.js";import"./p-2f9bab49.js";import"./p-29120ecd.js";import"./p-abc50d38.js";var a={name:"pt",weekdays:"domingo_segunda-feira_terça-feira_quarta-feira_quinta-feira_sexta-feira_sábado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_sab".split("_"),weekdaysMin:"Do_2ª_3ª_4ª_5ª_6ª_Sa".split("_"),months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),ordinal:function(e){return e+"º"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [às] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [às] HH:mm"},relativeTime:{future:"em %s",past:"há %s",s:"alguns segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"}};e.locale(a,null,!0);export default a;
@@ -0,0 +1,6 @@
1
+ /*!
2
+ * Copyright 2022 Esri
3
+ * Licensed under the Apache License, Version 2.0
4
+ * http://www.apache.org/licenses/LICENSE-2.0
5
+ */
6
+ import{d as u}from"./p-b8ce608e.js";import"./p-91c78d98.js";import"./p-3db650c2.js";import"./p-4b9ba22d.js";import"./p-361b44ed.js";import"./p-3760847f.js";import"./p-2ee3afea.js";import"./p-86f482ca.js";import"./p-34fb2a6e.js";import"./p-f52ee45d.js";import"./p-3a668467.js";import"./p-bf9d3381.js";import"./p-efc041d0.js";import"./p-a47c8ae2.js";import"./p-d4278729.js";import"./p-2f9bab49.js";import"./p-29120ecd.js";import"./p-abc50d38.js";function t(u,t,i,a){var m={s:"muutama sekunti",m:"minuutti",mm:"%d minuuttia",h:"tunti",hh:"%d tuntia",d:"päivä",dd:"%d päivää",M:"kuukausi",MM:"%d kuukautta",y:"vuosi",yy:"%d vuotta",numbers:"nolla_yksi_kaksi_kolme_neljä_viisi_kuusi_seitsemän_kahdeksan_yhdeksän".split("_")},e={s:"muutaman sekunnin",m:"minuutin",mm:"%d minuutin",h:"tunnin",hh:"%d tunnin",d:"päivän",dd:"%d päivän",M:"kuukauden",MM:"%d kuukauden",y:"vuoden",yy:"%d vuoden",numbers:"nollan_yhden_kahden_kolmen_neljän_viiden_kuuden_seitsemän_kahdeksan_yhdeksän".split("_")},s=a&&!t?e:m;return s[i].replace("%d",u<10?s.numbers[u]:u)}var i={name:"fi",weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kesäkuu_heinäkuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kesä_heinä_elo_syys_loka_marras_joulu".split("_"),ordinal:function(u){return u+"."},weekStart:1,yearStart:4,relativeTime:{future:"%s päästä",past:"%s sitten",s:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},formats:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM[ta] YYYY",LLL:"D. MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, D. MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"D. MMM YYYY",lll:"D. MMM YYYY, [klo] HH.mm",llll:"ddd, D. MMM YYYY, [klo] HH.mm"}};u.locale(i,null,!0);export default i;
@@ -0,0 +1,6 @@
1
+ /*!
2
+ * Copyright 2022 Esri
3
+ * Licensed under the Apache License, Version 2.0
4
+ * http://www.apache.org/licenses/LICENSE-2.0
5
+ */
6
+ import{d as e}from"./p-b8ce608e.js";import"./p-91c78d98.js";import"./p-3db650c2.js";import"./p-4b9ba22d.js";import"./p-361b44ed.js";import"./p-3760847f.js";import"./p-2ee3afea.js";import"./p-86f482ca.js";import"./p-34fb2a6e.js";import"./p-f52ee45d.js";import"./p-3a668467.js";import"./p-bf9d3381.js";import"./p-efc041d0.js";import"./p-a47c8ae2.js";import"./p-d4278729.js";import"./p-2f9bab49.js";import"./p-29120ecd.js";import"./p-abc50d38.js";function a(e,a,t,s){var p={s:["mõne sekundi","mõni sekund","paar sekundit"],m:["ühe minuti","üks minut"],mm:["%d minuti","%d minutit"],h:["ühe tunni","tund aega","üks tund"],hh:["%d tunni","%d tundi"],d:["ühe päeva","üks päev"],M:["kuu aja","kuu aega","üks kuu"],MM:["%d kuu","%d kuud"],y:["ühe aasta","aasta","üks aasta"],yy:["%d aasta","%d aastat"]};return a?(p[t][2]?p[t][2]:p[t][1]).replace("%d",e):(s?p[t][0]:p[t][1]).replace("%d",e)}var t={name:"et",weekdays:"pühapäev_esmaspäev_teisipäev_kolmapäev_neljapäev_reede_laupäev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),months:"jaanuar_veebruar_märts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_märts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),ordinal:function(e){return e+"."},weekStart:1,relativeTime:{future:"%s pärast",past:"%s tagasi",s:a,m:a,mm:a,h:a,hh:a,d:a,dd:"%d päeva",M:a,MM:a,y:a,yy:a},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"}};e.locale(t,null,!0);export default t;
@@ -0,0 +1,6 @@
1
+ /*!
2
+ * Copyright 2022 Esri
3
+ * Licensed under the Apache License, Version 2.0
4
+ * http://www.apache.org/licenses/LICENSE-2.0
5
+ */
6
+ import{d as e}from"./p-b8ce608e.js";import"./p-91c78d98.js";import"./p-3db650c2.js";import"./p-4b9ba22d.js";import"./p-361b44ed.js";import"./p-3760847f.js";import"./p-2ee3afea.js";import"./p-86f482ca.js";import"./p-34fb2a6e.js";import"./p-f52ee45d.js";import"./p-3a668467.js";import"./p-bf9d3381.js";import"./p-efc041d0.js";import"./p-a47c8ae2.js";import"./p-d4278729.js";import"./p-2f9bab49.js";import"./p-29120ecd.js";import"./p-abc50d38.js";var o={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(e){return e+"º"}};e.locale(o,null,!0);export default o;
@@ -6,6 +6,6 @@
6
6
  /*!
7
7
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
8
8
  * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
9
- * v1.8.0
9
+ * v1.9.0
10
10
  */
11
11
  const n=/^[0-9A-F]$/i,r=/^#[0-9A-F]{3}$/i,t=/^#[0-9A-F]{6}$/i,e=/^#[0-9A-F]{4}$/i,s=/^#[0-9A-F]{8}$/i,u=n=>Number((100*n).toFixed()),a=n=>Number((n/100).toFixed(2));function i(n,r=!1){return c(n,r)||o(n,r)}function f(n,r,t){return!!n&&n.length===r&&t.test(n)}function c(n,t=!1){return f(n,t?5:4,t?e:r)}function o(n,r=!1){return f(n,r?9:7,r?s:t)}function $(n,r=!1,t=!1){return(n=n.toLowerCase()).startsWith("#")||(n=`#${n}`),c(n,r)?h(S(n,r)):r&&t&&i(n,!1)?h(S(`${n}${c(n,!1)?"f":"ff"}`,!0)):n}function l(n,r=!1){return r?n.hexa():n.hex()}function h(n){const{r,g:t,b:e}=n;return`#${b(r)}${b(t)}${b(e)}${"a"in n?b(255*n.a):""}`.toLowerCase()}function b(n){return n.toString(16).padStart(2,"0")}function g(n){const r={...n,a:n.alpha??1};return delete r.alpha,r}function p(n){const r={...n,alpha:n.a??1};return delete r.a,r}function S(n,r=!1){if(!i(n,r))return null;let t,e,s,u;if(3===(n=n.replace("#","")).length||4===n.length){const[r,a,i,f]=n.split("");t=parseInt(`${r}${r}`,16),e=parseInt(`${a}${a}`,16),s=parseInt(`${i}${i}`,16),u=parseInt(`${f}${f}`,16)/255}else t=parseInt(n.slice(0,2),16),e=parseInt(n.slice(2,4),16),s=parseInt(n.slice(4,6),16),u=parseInt(n.slice(6,8),16)/255;return isNaN(u)?{r:t,g:e,b:s}:{r:t,g:e,b:s,a:u}}const A={HEX:"hex",HEXA:"hexa",RGB_CSS:"rgb-css",RGBA_CSS:"rgba-css",HSL_CSS:"hsl-css",HSLA_CSS:"hsla-css"},I="rgb",C="rgba",F="hsl",H="hsla",N="hsv",_="hsva";function d(n){if("string"==typeof n){if(n.startsWith("#")){const{length:r}=n;if(4===r||7===r)return A.HEX;if(5===r||9===r)return A.HEXA}if(n.startsWith("rgba("))return A.RGBA_CSS;if(n.startsWith("rgb("))return A.RGB_CSS;if(n.startsWith("hsl("))return A.HSL_CSS;if(n.startsWith("hsla("))return A.HSLA_CSS}if("object"==typeof n){if(v(n,"r","g","b"))return v(n,"a")?C:I;if(v(n,"h","s","l"))return v(n,"a")?H:F;if(v(n,"h","s","v"))return v(n,"a")?_:N}return null}function v(n,...r){return r.every((r=>r&&n&&`${r}`in n))}function x(n,r){return n?.rgb().array().toString()===r?.rgb().array().toString()}function j(n){return n===A.HEXA||n===A.RGBA_CSS||n===A.HSLA_CSS||n===C||n===H||n===_}function m(n){return n===A.HEX?A.HEXA:n===A.RGB_CSS?A.RGBA_CSS:n===A.HSL_CSS?A.HSLA_CSS:n===I?C:n===F?H:n===N?_:n}function y(n){return n===A.HEXA?A.HEX:n===A.RGBA_CSS?A.RGB_CSS:n===A.HSLA_CSS?A.HSL_CSS:n===C?I:n===H?F:n===_?N:n}export{A as C,u as a,j as b,x as c,g as d,m as e,p as f,S as g,l as h,i,o as j,n as k,$ as n,a as o,d as p,h as r,y as t}
@@ -7,5 +7,5 @@ import{c as t}from"./p-e1a4994d.js";var e={aliceblue:[240,248,255],antiquewhite:
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
- * v1.8.0
10
+ * v1.9.0
11
11
  */const v={channel:"channel",channels:"channels",colorField:"color-field",colorFieldScope:"scope--color-field",colorMode:"color-mode",colorModeContainer:"color-mode-container",container:"container",control:"control",controlAndScope:"control-and-scope",controlSection:"control-section",deleteColor:"delete-color",header:"header",hexAndChannelsGroup:"hex-and-channels-group",hexOptions:"color-hex-options",hueScope:"scope--hue",hueSlider:"hue-slider",opacityScope:"scope--opacity",opacitySlider:"opacity-slider",preview:"preview",previewAndSliders:"preview-and-sliders",saveColor:"save-color",savedColor:"saved-color",savedColors:"saved-colors",savedColorsButtons:"saved-colors-buttons",savedColorsSection:"saved-colors-section",scope:"scope",section:"section",slider:"slider",sliders:"sliders",splitSection:"section--split"},M=w("#007AC2"),k="calcite-color-",j={r:255,g:255,b:255},O={h:360,s:100,v:100},x=O.h-1,F={min:0,max:100},A={s:{slider:{height:12,width:104},colorField:{height:80,width:160},thumb:{radius:10}},m:{slider:{height:12,width:204},colorField:{height:150,width:272},thumb:{radius:10}},l:{slider:{height:12,width:384},colorField:{height:200,width:464},thumb:{radius:10}}},S=1;export{v as C,M as D,O as H,F as O,j as R,S,A as a,x as b,w as c,k as d}
@@ -0,0 +1,11 @@
1
+ /*!
2
+ * Copyright 2022 Esri
3
+ * Licensed under the Apache License, Version 2.0
4
+ * http://www.apache.org/licenses/LICENSE-2.0
5
+ */
6
+ import{r as t,c as i,h as n,H as e,g as s}from"./p-91c78d98.js";import{u as a,t as o,g as l,x as r}from"./p-4b9ba22d.js";import{s as c,a as h,c as d}from"./p-3a668467.js";import{c as p,d as u,n as m}from"./p-bf9d3381.js";import{o as g}from"./p-abc50d38.js";import{c as v,s as f,d as b,u as w}from"./p-29120ecd.js";import{K as x}from"./p-c24040ec.js";import{g as k}from"./p-866837f6.js";import{c as y}from"./p-efc041d0.js";import{l as z}from"./p-05948b48.js";import{g as C}from"./p-99d8a839.js";import"./p-361b44ed.js";import"./p-3760847f.js";import"./p-34fb2a6e.js";import"./p-e1a4994d.js";
7
+ /*!
8
+ * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
9
+ * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
10
+ * v1.9.0
11
+ */const _={slow:14e3,medium:1e4,fast:6e3},j="container",q=class{constructor(n){t(this,n),this.calciteAlertBeforeClose=i(this,"calciteAlertBeforeClose",6),this.calciteAlertClose=i(this,"calciteAlertClose",6),this.calciteAlertBeforeOpen=i(this,"calciteAlertBeforeOpen",6),this.calciteAlertOpen=i(this,"calciteAlertOpen",6),this.calciteInternalAlertSync=i(this,"calciteInternalAlertSync",6),this.calciteInternalAlertRegister=i(this,"calciteInternalAlertRegister",6),this.autoCloseTimeoutId=null,this.resizeObserver=y("resize",(t=>this.responsiveContainerWidth=t[0].contentRect.width)),this.totalOpenTime=0,this.totalHoverTime=0,this.openTransitionProp="opacity",this.setTransitionEl=t=>{this.transitionEl=t},this.closeAlert=()=>{this.autoCloseTimeoutId=null,this.queued=!1,this.open=!1,this.queue=this.queue.filter((t=>t!==this.el)),this.determineActiveAlert(),this.calciteInternalAlertSync.emit({queue:this.queue})},this.actionsEndSlotChangeHandler=t=>{this.hasEndActions=a(t)},this.handleMouseOver=()=>{window.clearTimeout(this.autoCloseTimeoutId),this.totalOpenTime=Date.now()-this.initialOpenTime,this.lastMouseOverBegin=Date.now()},this.handleMouseLeave=()=>{const t=Date.now()-this.lastMouseOverBegin,i=_[this.autoCloseDuration]-this.totalOpenTime+this.totalHoverTime;this.totalHoverTime=this.totalHoverTime?t+this.totalHoverTime:t,this.autoCloseTimeoutId=window.setTimeout((()=>this.closeAlert()),i)},this.open=!1,this.autoClose=!1,this.autoCloseDuration="medium",this.kind="brand",this.icon=void 0,this.iconFlipRtl=!1,this.label=void 0,this.numberingSystem=void 0,this.placement="bottom",this.scale="m",this.messages=void 0,this.messageOverrides=void 0,this.slottedInShell=void 0,this.defaultMessages=void 0,this.effectiveLocale="",this.hasEndActions=!1,this.queue=[],this.queueLength=0,this.queued=!1,this.responsiveContainerWidth=void 0}openHandler(){g(this),this.open&&!this.queued&&this.calciteInternalAlertRegister.emit(),this.open||(this.queue=this.queue.filter((t=>t!==this.el)),this.calciteInternalAlertSync.emit({queue:this.queue}))}onMessagesChange(){}updateDuration(){this.autoClose&&this.autoCloseTimeoutId&&(window.clearTimeout(this.autoCloseTimeoutId),this.autoCloseTimeoutId=window.setTimeout((()=>this.closeAlert()),_[this.autoCloseDuration]))}connectedCallback(){var t;p(this),v(this),this.open&&!this.queued&&this.calciteInternalAlertRegister.emit(),this.transitionEl&&(null===(t=this.resizeObserver)||void 0===t||t.observe(this.transitionEl))}async componentWillLoad(){c(this);const[,t]=await Promise.all([f(this),k()]);this.breakpoints=t,this.open&&g(this)}componentDidLoad(){var t;h(this),null===(t=this.resizeObserver)||void 0===t||t.observe(this.transitionEl)}disconnectedCallback(){var t;window.dispatchEvent(new CustomEvent("calciteInternalAlertUnregister",{detail:{alert:this.el}})),window.clearTimeout(this.autoCloseTimeoutId),window.clearTimeout(this.queueTimeout),u(this),b(this),this.slottedInShell=!1,null===(t=this.resizeObserver)||void 0===t||t.disconnect()}render(){m.numberFormatOptions={locale:this.effectiveLocale,numberingSystem:this.numberingSystem,signDisplay:"always"};const{hasEndActions:t}=this,{open:i,autoClose:s,responsiveContainerWidth:a,label:l,placement:c,queued:h}=this,d=s?"alert":"alertdialog",p=this.breakpoints.width,u=a<p.small,g=a>=p.small,v=!i,f=r(x,this.icon,this.kind),b=this.queueLength>1;return n(e,{"aria-hidden":o(v),"aria-label":l,"calcite-hydrated-hidden":v,role:d},n("div",{class:{[j]:!0,"container--queued":h,[`${j}--${c}`]:!0,"container--slotted-in-shell":this.slottedInShell},onPointerEnter:this.autoClose&&this.autoCloseTimeoutId?this.handleMouseOver:null,onPointerLeave:this.autoClose&&this.autoCloseTimeoutId?this.handleMouseLeave:null,ref:this.setTransitionEl},n("div",{class:"content-container"},f&&g?this.renderIcon(f):null,n("div",{class:"content"},f&&u?this.renderIcon(f):null,n("div",{class:"text-container"},n("slot",{name:"title"}),n("slot",{name:"message"}),n("slot",{name:"link"})))),u?this.renderCloseButton():null,n("div",{class:"footer",hidden:!t&&!b},this.renderActionsEnd(),b?this.renderQueueCount():null),g?this.renderCloseButton():null,i&&!h&&s?n("div",{class:"dismiss-progress"}):null))}renderCloseButton(){return n("button",{"aria-label":this.messages.close,class:"close",key:"close",onClick:this.closeAlert,type:"button",ref:t=>this.closeButton=t},n("calcite-icon",{icon:"x",scale:"l"===this.scale?"m":"s"}))}renderQueueCount(){const t=m.numberFormatter.format(this.queueLength>2?this.queueLength-1:1);return n("div",{class:{"queue-count":!0,"queue-count--active":this.queueLength>1},key:"queue-count"},n("calcite-chip",{scale:this.scale,value:t},t))}renderActionsEnd(){return n("div",{class:"actions-end"},n("slot",{name:"actions-end",onSlotchange:this.actionsEndSlotChangeHandler}))}renderIcon(t){return n("div",{class:"icon"},n("calcite-icon",{flipRtl:this.iconFlipRtl,icon:t,scale:"l"===this.scale?"m":"s"}))}alertSync(t){this.queue!==t.detail.queue&&(this.queue=t.detail.queue),this.queueLength=this.queue.length,this.determineActiveAlert(),t.stopPropagation()}alertRegister(){this.open&&!this.queue.includes(this.el)&&(this.queued=!0,this.queue.push(this.el)),this.calciteInternalAlertSync.emit({queue:this.queue}),this.determineActiveAlert()}alertUnregister(t){const i=this.queue.filter((i=>i!==t.detail.alert));this.queue=i,window.dispatchEvent(new CustomEvent("calciteInternalAlertSync",{detail:{queue:i}}))}async setFocus(){await d(this);const t=l(this.el,{selector:"calcite-link"});if(this.closeButton||t)return t?t.setFocus():void(this.closeButton&&this.closeButton.focus())}effectiveLocaleChange(){w(this,this.effectiveLocale)}determineActiveAlert(){var t;(null===(t=this.queue)||void 0===t?void 0:t[0])===this.el&&(this.openAlert(),this.autoClose&&!this.autoCloseTimeoutId&&(this.initialOpenTime=Date.now(),this.autoCloseTimeoutId=window.setTimeout((()=>this.closeAlert()),_[this.autoCloseDuration])))}onBeforeOpen(){this.calciteAlertBeforeOpen.emit()}onOpen(){this.calciteAlertOpen.emit()}onBeforeClose(){this.calciteAlertBeforeClose.emit()}onClose(){this.calciteAlertClose.emit()}openAlert(){window.clearTimeout(this.queueTimeout),this.queueTimeout=window.setTimeout((()=>this.queued=!1),300)}static get assetsDirs(){return["assets"]}get el(){return s(this)}static get watchers(){return{open:["openHandler"],messageOverrides:["onMessagesChange"],autoCloseDuration:["updateDuration"],effectiveLocale:["effectiveLocaleChange"]}}};q.style='/**\n * Do not edit directly\n * Generated on Thu, 11 May 2023 18:56:13 GMT\n */\n/* mixins & extensions */\n/* helper to properly scale internal durations */\n/**\n* Currently only used in Checkbox.\n*/\n/**\n* CSS Custom Properties\n*\n* These properties can be overridden using the component\'s tag as selector.\n*\n* @prop --calcite-alert-width: Specifies the width of the component.\n*/\n:host {\n --calcite-alert-edge-distance: 2rem;\n display: block;\n}\n\n.container {\n pointer-events: none;\n position: fixed;\n z-index: var(--calcite-app-z-index-toast);\n margin-inline: auto;\n margin-block: 0px;\n box-sizing: border-box;\n display: flex;\n inline-size: 100%;\n flex-wrap: wrap;\n align-items: center;\n justify-content: center;\n background-color: var(--calcite-ui-foreground-1);\n text-align: start;\n opacity: 0;\n --tw-shadow: 0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);\n --tw-shadow-colored: 0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -2px var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n container: responsive-container/inline-size;\n border-radius: var(--calcite-border-radius);\n border-block-start: 0 solid transparent;\n border-inline: 1px solid var(--calcite-ui-border-3);\n border-block-end: 1px solid var(--calcite-ui-border-3);\n inline-size: var(--calcite-alert-width);\n max-inline-size: calc(100% - var(--calcite-alert-edge-distance) * 2);\n transition: var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), all var(--calcite-animation-timing) ease-in-out;\n}\n.container--bottom, .container--top {\n inset-inline-end: 0;\n inset-inline-start: 0;\n}\n.container[class*=bottom] {\n transform: translate3d(0, var(--calcite-alert-edge-distance), 0);\n inset-block-end: var(--calcite-alert-edge-distance);\n}\n.container[class*=top] {\n transform: translate3d(0, calc(-1 * var(--calcite-alert-edge-distance)), 0);\n inset-block-start: var(--calcite-alert-edge-distance);\n}\n.container[class*=start] {\n inset-inline-start: var(--calcite-alert-edge-distance);\n inset-inline-end: auto;\n}\n.container[class*=end] {\n inset-inline-end: var(--calcite-alert-edge-distance);\n inset-inline-start: auto;\n}\n\n.content {\n box-sizing: border-box;\n display: flex;\n flex: 1 1 auto;\n flex-direction: column;\n transition: all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;\n padding-block: var(--calcite-alert-spacing-token-small);\n padding-inline: var(--calcite-alert-spacing-token-large) var(--calcite-alert-spacing-token-small);\n}\n\n.icon {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: flex-start;\n padding: 0px;\n margin-block-end: var(--calcite-alert-spacing-token-large);\n margin-inline-end: auto;\n}\n\n.close {\n display: flex;\n cursor: pointer;\n align-items: flex-start;\n justify-content: flex-end;\n align-self: flex-start;\n border-style: none;\n background-color: transparent;\n color: var(--calcite-ui-text-3);\n outline: 2px solid transparent;\n outline-offset: 2px;\n -webkit-appearance: none;\n padding: var(--calcite-alert-spacing-token-large);\n outline-color: transparent;\n}\n.close:focus {\n outline: 2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));\n 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 );\n}\n.close:hover, .close:focus {\n background-color: var(--calcite-ui-foreground-2);\n color: var(--calcite-ui-text-1);\n}\n.close:active {\n background-color: var(--calcite-ui-foreground-3);\n}\n\n.queue-count {\n visibility: hidden;\n display: flex;\n cursor: default;\n align-items: center;\n justify-content: space-around;\n align-self: stretch;\n overflow: hidden;\n background-color: var(--calcite-ui-foreground-1);\n text-align: center;\n font-weight: var(--calcite-font-weight-medium);\n color: var(--calcite-ui-text-2);\n opacity: 0;\n transition: all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;\n border-inline: 0 solid transparent;\n border-start-end-radius: 0;\n}\n.queue-count--active {\n visibility: visible;\n opacity: 1;\n}\n\n.dismiss-progress {\n position: absolute;\n display: block;\n inline-size: 100%;\n overflow: hidden;\n inset-inline: 0;\n inset-block-start: -2px;\n block-size: 2px;\n border-radius: var(--calcite-border-radius) var(--calcite-border-radius) 0 0;\n}\n.dismiss-progress:after {\n position: absolute;\n inset-block-start: 0px;\n display: block;\n block-size: 2px;\n content: "";\n background-color: var(--calcite-alert-dismiss-progress-background);\n inset-inline-end: 0;\n}\n\n.actions-end {\n display: flex;\n align-self: stretch;\n}\n\n.text-container {\n display: flex;\n min-inline-size: 0px;\n flex: 1 1 0%;\n flex-direction: column;\n overflow-wrap: break-word;\n}\n\n.content-container {\n display: flex;\n flex: 1 1 0%;\n}\n\n.footer {\n position: relative;\n order: 1;\n display: flex;\n inline-size: 100%;\n justify-content: flex-end;\n padding-block-start: 1px;\n block-size: var(--calcite-alert-footer-height);\n}\n.footer:before {\n content: "";\n position: absolute;\n inset-block-start: 0px;\n inset-inline: var(--calcite-alert-footer-divider-gap);\n border-block-start: 1px solid var(--calcite-ui-border-3);\n}\n\n:host([scale=s]) {\n --calcite-alert-width: 40em;\n --calcite-alert-spacing-token-small: 0.5rem;\n --calcite-alert-spacing-token-large: 0.75rem;\n --calcite-alert-footer-height: 2rem;\n --calcite-alert-footer-divider-gap: 0.125rem;\n}\n:host([scale=s]) slot[name=title]::slotted(*),\n:host([scale=s]) *::slotted([slot=title]) {\n font-size: var(--calcite-font-size--1);\n line-height: 1.375;\n}\n:host([scale=s]) slot[name=message]::slotted(*),\n:host([scale=s]) *::slotted([slot=message]) {\n font-size: var(--calcite-font-size--2);\n line-height: 1.375;\n}\n:host([scale=s]) slot[name=link]::slotted(*),\n:host([scale=s]) *::slotted([slot=link]) {\n font-size: var(--calcite-font-size--2);\n line-height: 1.375;\n}\n:host([scale=s]) .queue-count {\n margin-inline: 0.5rem;\n}\n:host([scale=s]) .container {\n --calcite-alert-min-height: 3.5rem;\n}\n\n:host([scale=m]) {\n --calcite-alert-width: 50em;\n --calcite-alert-spacing-token-small: 0.75rem;\n --calcite-alert-spacing-token-large: 1rem;\n --calcite-alert-footer-height: 3rem;\n --calcite-alert-footer-divider-gap: 0.25rem;\n}\n:host([scale=m]) slot[name=title]::slotted(*),\n:host([scale=m]) *::slotted([slot=title]) {\n font-size: var(--calcite-font-size-0);\n line-height: 1.375;\n}\n:host([scale=m]) slot[name=message]::slotted(*),\n:host([scale=m]) *::slotted([slot=message]) {\n font-size: var(--calcite-font-size--1);\n line-height: 1.375;\n}\n:host([scale=m]) slot[name=link]::slotted(*),\n:host([scale=m]) *::slotted([slot=link]) {\n font-size: var(--calcite-font-size--1);\n line-height: 1.375;\n}\n:host([scale=m]) .queue-count {\n margin-inline: 0.75rem;\n}\n:host([scale=m]) .container {\n --calcite-alert-min-height: 4.1875rem;\n}\n\n:host([scale=l]) {\n --calcite-alert-width: 60em;\n --calcite-alert-spacing-token-small: 1rem;\n --calcite-alert-spacing-token-large: 1.25rem;\n --calcite-alert-footer-height: 4rem;\n --calcite-alert-footer-divider-gap: 0.5rem;\n}\n:host([scale=l]) slot[name=title]::slotted(*),\n:host([scale=l]) *::slotted([slot=title]) {\n margin-block-end: 0.25rem;\n font-size: var(--calcite-font-size-1);\n line-height: 1.375;\n}\n:host([scale=l]) slot[name=message]::slotted(*),\n:host([scale=l]) *::slotted([slot=message]) {\n font-size: var(--calcite-font-size-0);\n line-height: 1.375;\n}\n:host([scale=l]) slot[name=link]::slotted(*),\n:host([scale=l]) *::slotted([slot=link]) {\n font-size: var(--calcite-font-size-0);\n line-height: 1.375;\n}\n:host([scale=l]) .queue-count {\n margin-inline: 1rem;\n}\n:host([scale=l]) .container {\n --calcite-alert-min-height: 5.625rem;\n}\n\n:host([open]) .container:not(.container--queued) {\n border-block-start-width: 2px;\n opacity: 1;\n pointer-events: initial;\n}\n:host([open]) .container:not(.container--queued)[class*=bottom] {\n transform: translate3d(0, calc(-1 * var(--calcite-alert-edge-distance)), inherit);\n}\n:host([open]) .container:not(.container--queued)[class*=top] {\n transform: translate3d(0, var(--calcite-alert-edge-distance), inherit);\n}\n\n:host([auto-close]) > .queue-count {\n border-inline-end: 0 solid transparent;\n}\n\nslot[name=title]::slotted(*),\n*::slotted([slot=title]) {\n font-size: var(--calcite-font-size-0);\n line-height: 1.375;\n font-weight: var(--calcite-font-weight-medium);\n color: var(--calcite-ui-text-1);\n}\n\nslot[name=message]::slotted(*),\n*::slotted([slot=message]) {\n margin: 0px;\n display: inline;\n font-size: var(--calcite-font-size--1);\n line-height: 1.375;\n font-weight: var(--calcite-font-weight-normal);\n color: var(--calcite-ui-text-2);\n margin-inline-end: 0.5rem;\n}\n\nslot[name=link]::slotted(*),\n*::slotted([slot=link]) {\n display: inline-flex;\n color: var(--calcite-ui-text-link);\n}\n\n:host([kind=brand]) .container {\n border-block-start-color: var(--calcite-ui-brand);\n}\n:host([kind=brand]) .container .icon {\n color: var(--calcite-ui-brand);\n}\n\n:host([kind=info]) .container {\n border-block-start-color: var(--calcite-ui-info);\n}\n:host([kind=info]) .container .icon {\n color: var(--calcite-ui-info);\n}\n\n:host([kind=danger]) .container {\n border-block-start-color: var(--calcite-ui-danger);\n}\n:host([kind=danger]) .container .icon {\n color: var(--calcite-ui-danger);\n}\n\n:host([kind=success]) .container {\n border-block-start-color: var(--calcite-ui-success);\n}\n:host([kind=success]) .container .icon {\n color: var(--calcite-ui-success);\n}\n\n:host([kind=warning]) .container {\n border-block-start-color: var(--calcite-ui-warning);\n}\n:host([kind=warning]) .container .icon {\n color: var(--calcite-ui-warning);\n}\n\n:host([auto-close-duration=fast]) .dismiss-progress:after {\n animation: dismissProgress 6000ms ease-out;\n}\n\n:host(:hover[auto-close-duration=fast]) .dismiss-progress:after {\n animation-play-state: paused;\n}\n\n:host([auto-close-duration=medium]) .dismiss-progress:after {\n animation: dismissProgress 10000ms ease-out;\n}\n\n:host(:hover[auto-close-duration=medium]) .dismiss-progress:after {\n animation-play-state: paused;\n}\n\n:host([auto-close-duration=slow]) .dismiss-progress:after {\n animation: dismissProgress 14000ms ease-out;\n}\n\n:host(:hover[auto-close-duration=slow]) .dismiss-progress:after {\n animation-play-state: paused;\n}\n\n@keyframes dismissProgress {\n 0% {\n inline-size: 0px;\n opacity: 0.75;\n }\n 100% {\n inline-size: 100%;\n opacity: 1;\n }\n}\n/**\n * Conditional styles for when Alert is slotted in Shell\n */\n.container--slotted-in-shell {\n position: absolute;\n}\n\n@container responsive-container (min-width: 476px) {\n .content {\n flex-direction: row;\n }\n .close {\n align-items: center;\n align-self: stretch;\n }\n .icon {\n justify-content: center;\n margin-inline-end: 0;\n margin-block: 0;\n padding-inline-end: var(--calcite-alert-spacing-token-large);\n }\n}\n@container responsive-container (min-width: 768px) {\n .close {\n align-self: stretch;\n }\n .footer {\n inline-size: auto;\n align-self: stretch;\n order: initial;\n block-size: inherit;\n }\n .footer:before {\n content: none;\n }\n .icon {\n padding-inline: var(--calcite-alert-spacing-token-large) 0;\n }\n}\n:host([hidden]) {\n display: none;\n}\n\n[hidden] {\n display: none;\n}\n\n:host([calcite-hydrated-hidden]) {\n visibility: hidden !important;\n pointer-events: none;\n}';const W=class{constructor(n){t(this,n),this.closeEdit=i(this,"closeEdit",7),this.editsComplete=i(this,"editsComplete",7),this._shouldClose=!1,this.graphics=void 0,this.mapView=void 0,this.open=!1,this.graphicIndex=0,this._editorLoading=!1,this._translations=void 0}async graphicsWatchHandler(){0===this.graphics.length&&this._closeEdit()}async openWatchHandler(t){var i;t&&(null===(i=this.graphics)||void 0===i?void 0:i.length)>0&&this.graphicIndex>-1&&(this._editorLoading=!0,this._initEditorWidget(),this.graphicIndex>-1&&this.graphics.length>0&&this.open&&!this._shouldClose&&await this._startUpdate(),this._editorLoading=!1),t||this._closeEdit()}async componentWillLoad(){await this._initModules(),await this._getTranslations()}async componentWillRender(){var t,i;(null===(t=this.graphics)||void 0===t?void 0:t.length)>0&&(null===(i=this.graphics[0])||void 0===i?void 0:i.layer)&&(this._layer=this.graphics[0].layer,this._layerEditHandle&&this._layerEditHandle.remove(),this._layerEditHandle=this._layer.on("edits",(()=>{this.editsComplete.emit(),this._closeEdit()})))}render(){var t;const i=!((null===(t=this.graphics)||void 0===t?void 0:t.length)>0&&this.graphics[0]&&this.graphics[0].layer.editingEnabled),s=this._editorLoading?"display-none":"",a=this._editorLoading?"":"display-none";return n(e,null,n("div",{class:"position-relative"},i?n("calcite-notice",{kind:"warning",open:!0,slot:"content-top",width:"full"},n("div",{slot:"message"},this._translations.enableEditing)):void 0,n("div",{slot:"content"},n("div",{class:s,id:"feature-form",ref:t=>this._editContainer=t}),n("calcite-loader",{class:a,scale:"s"}))))}async _initModules(){const[t,i]=await z(["esri/widgets/Editor","esri/core/reactiveUtils"]);this.Editor=t,this.reactiveUtils=i}_initEditorWidget(){if(this.mapView&&this.graphics&&this.graphics.length>0&&this.graphics[0]){this._editor&&this._editor.destroy();const t=document.createElement("div");this._editor=new this.Editor({allowedWorkflows:"update",view:this.mapView,visibleElements:{snappingControls:!1,sketchTooltipControls:!1},container:t}),this._editHandle&&this._attachmentHandle&&this._activeWorkflowHandle&&(this._editHandle.remove(),this._attachmentHandle.remove(),this._activeWorkflowHandle.remove()),this._attachmentHandle=this.reactiveUtils.when((()=>"adding-attachment"===this._editor.viewModel.state||"editing-attachment"===this._editor.viewModel.state||"creating-features"===this._editor.viewModel.state),(()=>{this._shouldClose=!1})),this._editHandle=this.reactiveUtils.when((()=>"ready"===this._editor.viewModel.state),(()=>{this._shouldClose?this._closeEdit():this.graphicIndex>-1&&this.graphics.length>0&&this.open&&!this._shouldClose&&this._startUpdate()})),this._activeWorkflowHandle=this.reactiveUtils.watch((()=>{var t;return null===(t=this._editor.viewModel.activeWorkflow)||void 0===t?void 0:t.activeWorkflow}),(t=>{"update-table-record"!==(null==t?void 0:t.type)&&"create-features"!==(null==t?void 0:t.type)||(this._shouldClose=!1)})),this._editContainer.appendChild(t)}}_closeEdit(){this._shouldClose=!1,this.closeEdit.emit()}async _startUpdate(){await this._editor.startUpdateWorkflowAtFeatureEdit(this.graphics[this.graphicIndex]),this._shouldClose=!0}async _getTranslations(){const t=await C(this.el);this._translations=t[0]}get el(){return s(this)}static get watchers(){return{graphics:["graphicsWatchHandler"],open:["openWatchHandler"]}}};W.style=":host{display:block}.padding-bottom-1{padding-bottom:1rem}.font-bold{font-weight:var(--calcite-font-weight-bold)}.font-500{font-weight:var(--calcite-font-weight-medium)}.font-italic{font-style:italic}#feature-form{--calcite-ui-background:none;padding-top:0px}.padding-sides-bottom-1{padding:0 1rem 1rem 1rem}.position-relative{position:relative}.esri-editor__prompt--danger{position:relative !important;width:100% !important;background-color:var(--calcite-ui-foreground-1) !important}.esri-feature__content-node{background-color:var(--calcite-ui-foreground-1) !important}.esri-editor__panel-toolbar{display:none !important}";const A=class{constructor(n){t(this,n),this.selectionChanged=i(this,"selectionChanged",7),this.graphics=void 0,this.isLoading=!1,this.mapView=void 0,this.zoomAndScrollToSelected=void 0,this._alertOpen=!1,this._count="",this._editRecordOpen=!1,this._translations=void 0}async graphicsWatchHandler(){var t;if(this._features||await this._initFeaturesWidget(),this.graphics.length>0){const i=null===(t=this.graphics[0])||void 0===t?void 0:t.layer;this._editEnabled=i.editingEnabled&&i.capabilities.operations.supportsUpdate,this._features.open({features:this.graphics})}else this._features.clear(),this._features.close()}async mapViewWatchHandler(){return await this._initFeaturesWidget()}async getSelectedFeature(){return this._features.selectedFeature}async closeEdit(){this._editRecordOpen=!1}async componentWillLoad(){await this._initModules(),await this._getTranslations()}render(){var t,i,s;const a=this.isLoading||this._editRecordOpen?"display-none":"position-absolute",o=!this.isLoading&&this._editRecordOpen?"position-absolute":"display-none",l=!this.isLoading&&this._editRecordOpen?"display-none":"",r=(null===(i=null===(t=this._features)||void 0===t?void 0:t.features)||void 0===i?void 0:i.length)<2;return n(e,null,n("calcite-shell",null,n("calcite-loader",{class:this.isLoading?"":"display-none",label:this._translations.fetchingData}),n("div",{class:"esri-widget "+a,id:"features-node"}),n("div",{class:`${l} width-100`,slot:"footer"},n("div",{class:"display-flex top-border padding-1-2"},n("calcite-button",{appearance:"solid","icon-start":"pencil",id:"solutions-edit",onClick:()=>this._openEditRecord(),width:"full"},this._translations.edit),n("calcite-tooltip",{label:"",placement:"bottom","reference-element":"solutions-edit"},n("span",null,this._translations.edit))),n("div",{class:"display-flex padding-1-2 button-container top-border"},n("div",{class:"min-width-100"},n("calcite-button",{appearance:"outline",disabled:r,id:"solutions-back",onClick:()=>this._back(),width:"full"},this._translations.back),n("calcite-tooltip",{label:"",placement:"top","reference-element":"solutions-back"},n("span",null,this._translations.back))),n("div",null,this._getCount()),n("div",{class:"min-width-100"},n("calcite-button",{appearance:"outline",disabled:r,id:"solutions-next",onClick:()=>this._next(),width:"full"},this._translations.next),n("calcite-tooltip",{label:"",placement:"top","reference-element":"solutions-next"},n("span",null,this._translations.next))))),n("edit-card",{class:o,graphicIndex:null===(s=this._features)||void 0===s?void 0:s.selectedFeatureIndex,graphics:this.graphics,mapView:this.mapView,open:this._editRecordOpen}),n("calcite-alert",{icon:"layer-broken",kind:"warning",label:"",onCalciteAlertClose:()=>this._alertClosed(),open:this._alertOpen,placement:"top"},n("div",{slot:"title"},this._translations.editDisabled),n("div",{slot:"message"},this._translations.enableEditing))))}async _initModules(){const[t,i]=await z(["esri/widgets/Features","esri/core/reactiveUtils"]);this.Features=t,this.reactiveUtils=i}async _initFeaturesWidget(){return await this.mapView.when((()=>{this._features?this._features.view=this.mapView:(this._features=new this.Features({view:this.mapView,container:"features-node",visibleElements:{actionBar:!1,closeButton:!1,heading:!0}}),this.zoomAndScrollToSelected&&this.reactiveUtils.watch((()=>this._features.selectedFeatureIndex),(t=>{t>-1&&this.selectionChanged.emit(this._features.selectedFeature)})))}))}_alertClosed(){this._alertOpen=!1}_editRecordClosed(){this._editRecordOpen=!1}_openEditRecord(){this._editEnabled?this._editRecordOpen=!0:this._alertOpen=!0}_back(){this._features.previous(),this._count=this._getCount()}_next(){this._features.next(),this._count=this._getCount()}_getCount(){var t,i,n;const e=((null===(t=this._features)||void 0===t?void 0:t.viewModel.selectedFeatureIndex)+1).toString(),s=null===(n=null===(i=this._features)||void 0===i?void 0:i.features)||void 0===n?void 0:n.length.toString();return this._translations.indexOfTotal.replace("{{index}}",e).replace("{{total}}",s)}async _getTranslations(){const t=await C(this.el);this._translations=t[0]}get el(){return s(this)}static get watchers(){return{graphics:["graphicsWatchHandler"],mapView:["mapViewWatchHandler"]}}};A.style=":host{display:block;--calcite-label-margin-bottom:0}table{border-collapse:collapse;width:100%}th,td{text-align:left;padding:8px}tr:nth-child(odd){background:var(--calcite-ui-foreground-2)}.bottom-border{padding-bottom:0.5rem;border-bottom:1px solid var(--calcite-ui-border-1)}.padding-1-2{padding:0.5rem}.padding-top-1-2{padding-top:0.5rem}.font-color-3{color:var(--calcite-ui-text-3)}.display-none{display:none !important}.display-flex{display:flex}.position-absolute{position:absolute;top:0;right:0;bottom:0;left:0;overflow:auto}.esri-features__footer{display:none !important}.button-container{justify-content:space-between;align-items:center}.top-border{border-top:1px solid var(--calcite-ui-border-1)}.min-width-100{min-width:100px}.width-100{width:100%}.esri-features__container{padding:0.5rem !important;background-color:var(--calcite-ui-foreground-1) !important;height:100% !important}";export{q as calcite_alert,W as edit_card,A as info_card}
@@ -0,0 +1,6 @@
1
+ /*!
2
+ * Copyright 2022 Esri
3
+ * Licensed under the Apache License, Version 2.0
4
+ * http://www.apache.org/licenses/LICENSE-2.0
5
+ */
6
+ import{r as t,h as i,H as s,g as e,c as a}from"./p-91c78d98.js";import{g as h}from"./p-99d8a839.js";import{q as o,a as l,g as n,b as c}from"./p-53bc5fc1.js";import{l as d}from"./p-05948b48.js";import{d as r}from"./p-37a58e04.js";import"./p-e1a4994d.js";import"./p-2a58e378.js";import"./p-ecc95259.js";const p=class{constructor(i){t(this,i),this.layer=void 0,this.mapView=void 0,this.zoomAndScrollToSelected=void 0,this._cardLoading=!1,this._graphics=void 0,this._translations=void 0}async featureSelectionChange(t){const i=t.detail;this._cardLoading=!0;const s=i.length>0?await o(i,this.layer,[],!1,this.mapView.spatialReference):[];this._graphics=s.sort(((t,s)=>i.indexOf(t.getObjectId())-i.indexOf(s.getObjectId()))),this._cardLoading=!1}async layerSelectionChange(t){const i=t.detail[0];this.layer=await l(this.mapView,i)}async componentWillLoad(){await this._getTranslations()}render(){var t,e;const a=(null===(t=this._graphics)||void 0===t?void 0:t.length)>0?"":"display-none",h=(null===(e=this._graphics)||void 0===e?void 0:e.length)>0?"display-none":"";return i(s,null,i("div",{class:"overflow-auto height-full"},i("calcite-shell",{class:"position-relative "+a},i("div",null,i("info-card",{graphics:this._graphics,isLoading:this._cardLoading,mapView:this.mapView,zoomAndScrollToSelected:this.zoomAndScrollToSelected}))),i("calcite-shell",{class:"position-relative "+h},i("div",{class:"padding-1"},i("calcite-notice",{icon:"table",open:!0},i("div",{slot:"message"},this._translations.selectFeaturesToStart))))))}async _getTranslations(){const t=await h(this.el);this._translations=t[0]}get el(){return e(this)}};p.style=":host{display:block !important}.display-flex{display:flex}.display-none{display:none}.w-100{width:100%}.padding-bottom-1{padding-bottom:1rem}.padding-1{padding:1rem}.position-relative{position:relative}.focus-margin{margin:1px 1px 0px 1px}.overflow-auto{overflow:auto}.height-full{height:100%}card-manager{display:block}";const m=class{constructor(i){t(this,i),this.featureSelectionChange=a(this,"featureSelectionChange",7),this.openFilterOptions=a(this,"openFilterOptions",7),this._allIds=[],this._tableSorting=!1,this.onTableNodeCreate=t=>{this._tableNode=t},this.enableAutoRefresh=void 0,this.enableCSV=void 0,this.enableInlineEdit=void 0,this.mapInfo=void 0,this.mapView=void 0,this.onlyShowUpdatableLayers=void 0,this.showNewestFirst=void 0,this.zoomAndScrollToSelected=void 0,this._confirmDelete=!1,this._fetchingData=!1,this._isDeleting=!1,this._layer=void 0,this._selectedIndexes=[],this._showOnlySelected=!1,this._sortActive=!1,this._translations=void 0}async mapViewWatchHandler(){this._mapClickHandle&&this._mapClickHandle.remove(),this.mapView&&(this._mapClickHandle=this.reactiveUtils.on((()=>this.mapView),"click",(t=>{this._mapClicked(t)})))}async _layerWatchHandler(){this._fetchingData=!0,await this._resetTable(),this._fetchingData=!1}async _sortActiveWatchHandler(){this._sortActive||await this._sortTable()}async selectionChanged(t){if(this.zoomAndScrollToSelected){const i=t.detail,s=i.getObjectId(),e=this._table.viewModel.getObjectIdIndex(s);this._table.scrollToIndex(e);const a=i.layer;let h;this.mapView.allLayerViews.toArray().some((t=>{if(t.layer.title===a.title&&"feature"===t.layer.type)return h=t,!0})),h&&await n([s],h,this.mapView,!0)}}editsComplete(){this._refresh()}noLayersFound(){this._layer=void 0,this._allIds=[],this._clearSelection()}async componentWillLoad(){await this._getTranslations(),await this._initModules()}render(){const t=this._fetchingData?"display-none":"",e=this._fetchingData?"":"display-none",a=this._allIds.length.toString(),h=this._selectedIndexes.length.toString();return i(s,null,i("calcite-shell",null,this._getTableControlRow("header"),i("div",{class:"height-full width-full"},i("calcite-panel",{class:"height-full width-full"},i("calcite-loader",{class:e,label:this._translations.fetchingData,scale:"l"}),i("div",{class:t,ref:this.onTableNodeCreate})),i("div",{class:"bottom-left background text-color"},this._translations.recordsSelected.replace("{{total}}",a).replace("{{selected}}",h)))),this._deleteMessage())}async _initModules(){const[t,i]=await d(["esri/widgets/FeatureTable","esri/core/reactiveUtils"]);this.FeatureTable=t,this.reactiveUtils=i}_getTableControlRow(t){var s;const e=this._selectedIndexes.length>0,a="more-table-options";return i("div",{class:"display-flex border-bottom height-51",slot:t},i("calcite-action-bar",{expandDisabled:!0,expanded:!0,layout:"horizontal"},i("div",{class:"border-end"},i("map-layer-picker",{appearance:"transparent",mapView:this.mapView,onLayerSelectionChange:t=>this._layerSelectionChanged(t),onlyShowUpdatableLayers:this.onlyShowUpdatableLayers,placeholderIcon:"layers",scale:"l",showTables:!0,type:"dropdown"})),this._getAction("zoom-to-object",this._translations.zoom,(()=>this._zoom()),!e),(null===(s=this.mapInfo)||void 0===s?void 0:s.filters)?this._getAction("filter",this._translations.filters,(()=>this._filter()),!1):void 0,this._deleteEnabled?this._getDangerAction("trash",this._translations.delete,(()=>this._delete()),!e):void 0,this._getAction("erase",this._translations.clearSelection,(()=>this._clearSelection()),!e),this._getAction("selected-items-filter",this._showOnlySelected?this._translations.showAll:this._translations.showSelected,(()=>this._toggleShowSelected()),!e)),i("calcite-dropdown",{disabled:void 0===this._layer},i("calcite-action",{appearance:"solid",id:a,label:"",slot:"trigger",text:""},i("calcite-button",{appearance:"transparent",iconEnd:"chevron-down",kind:"neutral"},this._translations.more)),i("calcite-dropdown-group",{"selection-mode":"none"},i("calcite-dropdown-item",{iconStart:"list-check-all",onClick:()=>this._selectAll()},this._translations.selectAll),i("calcite-dropdown-item",{iconStart:"compare",onClick:()=>this._switchSelected()},this._translations.switchSelected),i("calcite-dropdown-item",{iconStart:"refresh",onClick:()=>this._refresh()},this._translations.refresh),this.enableCSV?i("calcite-dropdown-item",{iconStart:"export",onClick:()=>{this._exportToCSV()}},this._translations.exportCSV):void 0)),i("calcite-tooltip",{label:"",placement:"bottom","reference-element":a},i("span",null,this._translations.moreOptions)))}_getAction(t,s,e,a){return i("div",{class:"display-flex"},i("calcite-action",{appearance:"solid",disabled:void 0===this._layer||a,icon:t,id:t,label:s,onClick:e,text:s,textEnabled:!0}),i("calcite-tooltip",{label:"",placement:"bottom","reference-element":t},i("span",null,s)))}_getDangerAction(t,s,e,a){return i("div",{class:"display-flex"},i("calcite-action",{appearance:"solid",disabled:void 0===this._layer||a,id:t,onClick:e,text:""},i("calcite-button",{appearance:"transparent",iconStart:t,kind:"danger"},s)),i("calcite-tooltip",{label:"",placement:"bottom","reference-element":t},i("span",null,s)))}async _getTable(t,i){this._layer&&(await this._layer.when((()=>{this._table=new this.FeatureTable({autoRefreshEnabled:this.enableAutoRefresh,layer:this._layer,view:this.mapView,editingEnabled:this._editEnabled&&this.enableInlineEdit,highlightEnabled:!0,multiSortEnabled:!1,visibleElements:{header:!1,menu:!1},tableTemplate:{columnTemplates:i},container:t})})),this._checkEditEnabled(),await this._table.when((()=>{this._table.highlightIds.on("change",(()=>{this._selectedIndexes=this._table.highlightIds.toArray().reverse(),this._showOnlySelected&&(this._selectedIndexes.length>0?this._table.filterBySelection():this._toggleShowSelected()),this.featureSelectionChange.emit(this._selectedIndexes)})),this.reactiveUtils.watch((()=>this._table.activeSortOrders),(t=>{var i,s,e,a;this._sortActive=!!this._layer&&(t.length>0&&"asc"===(null===(i=t[0])||void 0===i?void 0:i.direction)||"desc"===(null===(s=t[0])||void 0===s?void 0:s.direction)||null===(null===(e=t[0])||void 0===e?void 0:e.direction)&&(null===(a=t[0])||void 0===a?void 0:a.fieldName)===this._layer.objectIdField)}))})))}async _resetTable(){this._table&&(this._clearSelection(),this._allIds=[],this.featureSelectionChange.emit(this._selectedIndexes),this._layer?(await this._layer.when((()=>{var t,i;const s=this._getColumnTemplates(this._layer.id,null===(i=null===(t=this._layer)||void 0===t?void 0:t.popupTemplate)||void 0===i?void 0:i.fieldInfos);this._table.layer=this._layer,this._table.tableTemplate.columnTemplates=s,this._table.view=this.mapView,this._checkEditEnabled(),this._table.editingEnabled=this._editEnabled&&this.enableInlineEdit})),await this._table.when((()=>{this._table.clearSelectionFilter()})),this._showOnlySelected=!1,this._sortActive=!1,await this._sortTable()):(this._table.view=this.mapView,this._table.layer=this._layer))}_checkEditEnabled(){this._editEnabled=this._layer.editingEnabled&&this._layer.capabilities.operations.supportsUpdate,this._deleteEnabled=this._layer.editingEnabled&&this._layer.capabilities.operations.supportsDelete}async _sortTable(){this._table&&this._layer&&!this._sortActive&&!this._tableSorting&&this.showNewestFirst&&(this._tableSorting=!0,await this._table.when(),await this._layer.when((()=>{this._table.sortColumn(this._layer.objectIdField,"desc"),this._tableSorting=!1})))}_deleteMessage(){return i("calcite-modal",{"aria-labelledby":"modal-title",kind:"danger",onCalciteModalClose:()=>this._deleteClosed(),open:this._confirmDelete},i("div",{class:"display-flex align-center",id:"modal-title",slot:"header"},i("calcite-icon",{"aria-hidden":"true",class:"padding-end-1 danger-color",icon:"exclamation-mark-triangle",scale:"m"}),this._translations.deleteFeature),i("div",{slot:"content"},this._translations.confirm),i("calcite-button",{appearance:"outline",kind:"danger",onClick:()=>this._deleteClosed(),slot:"secondary",width:"full"},this._translations.cancel),i("calcite-button",{kind:"danger",loading:this._isDeleting,onClick:()=>{this._deleteFeatures()},slot:"primary",width:"full"},this._translations.delete))}async _deleteFeatures(){this._isDeleting=!0;const t=this._table.highlightIds.toArray().map((t=>({objectId:t})));await this._layer.applyEdits({deleteFeatures:t}),await this._table.refresh(),this._allIds=await c(this._layer),this._isDeleting=!1,this._deleteClosed()}async _mapClicked(t){const i={include:this._layer},s=await this.mapView.hitTest(t.screenPoint,i);s.results.length>0&&(s.results.forEach((t=>{this._clearSelection();const i=t.graphic.getObjectId(),s=this._table.highlightIds.indexOf(i);s>-1?this._table.highlightIds.removeAt(s):this._table.highlightIds.add(i)})),this._showOnlySelected&&this._table.filterBySelection())}_deleteClosed(){this._confirmDelete=!1}_selectAll(){const t=this._allIds;this._table.highlightIds.addMany(t),this._selectedIndexes=t}_toggleShowSelected(){this._showOnlySelected=!this._showOnlySelected,this._showOnlySelected?this._table.filterBySelection():this._table.clearSelectionFilter()}_clearSelection(){var t;this._selectedIndexes=[],null===(t=this._table)||void 0===t||t.highlightIds.removeAll()}_filter(){this.openFilterOptions.emit()}_switchSelected(){const t=[...this._selectedIndexes];this._table.highlightIds.removeAll();const i=this._allIds.reduce(((i,s)=>(t.indexOf(s)<0&&i.push(s),i)),[]).sort(((t,i)=>t-i));this._table.highlightIds.addMany(i),this._selectedIndexes=i}async _exportToCSV(){const t={},i=this._table.highlightIds.toArray();t[this._layer.id]={selectionSetNames:[this._layer.title],ids:i,layer:this._layer},r(null,t,!1,!1,!0)}_refresh(){this._table.refresh()}_zoom(){this._table.zoomToSelection()}_delete(){this._confirmDelete=!0}async _layerSelectionChanged(t){var i,s,e;const a=t.detail[0];if(a!==(null===(i=this._layer)||void 0===i?void 0:i.id)||0===this._allIds.length){this._fetchingData=!0,this._layer=await l(this.mapView,a);const t=this._getColumnTemplates(a,null===(e=null===(s=this._layer)||void 0===s?void 0:s.popupTemplate)||void 0===e?void 0:e.fieldInfos);this._allIds=await c(this._layer),this._table?t&&(this._table.tableTemplate.columnTemplates=t):await this._getTable(this._tableNode,t),await this._table.when((()=>{this._table.highlightIds.removeAll()})),this._selectedIndexes=[],this._table.layer=this._layer,this._table.render()}this._sortActive=!1,await this._sortTable(),this._fetchingData=!1}_getColumnTemplates(t,i){var s;let e;null===(s=this.mapInfo.layerInfos)||void 0===s||s.some((i=>{if(i.id===t)return e=i,!0}));let a=null==e?void 0:e.columnTemplates;return i&&(a=a?a.map((t=>(i.some((i=>{if(i.fieldName===t.fieldName)return t.label=i.label,!0})),t))):i.map((t=>({type:"field",fieldName:t.fieldName,label:t.label})))),a}async _getTranslations(){const t=await h(this.el);this._translations=t[0]}get el(){return e(this)}static get watchers(){return{mapView:["mapViewWatchHandler"],_layer:["_layerWatchHandler"],_sortActive:["_sortActiveWatchHandler"]}}};m.style=':host{display:block}.height-full{height:100%}.width-full{width:100%}.display-flex{display:flex}.table-border{border:1px solid var(--calcite-ui-border-2)}.border-end{border-inline-end:1px solid var(--calcite-ui-border-2)}.border-bottom{border-bottom:1px solid var(--calcite-ui-border-2)}.padding-5{padding:5px}.padding-end-1{padding-inline-end:1rem}.height-51{height:51px}.bottom-left{position:absolute;left:0;bottom:0}html[dir="rtl"] .bottom-left{position:absolute;right:0;bottom:0}.background{background-color:var(--calcite-ui-background)}.text-color{color:var(--calcite-ui-text-1)}.align-center{align-items:center}.danger-color{color:var(--calcite-ui-danger)}.esri-feature-table vaadin-grid{border:none !important}vaadin-grid-cell-content{padding:var(--lumo-space-xs) var(--lumo-space-m) !important;font-size:14px !important}';const v=class{constructor(i){t(this,i),this.mapChanged=a(this,"mapChanged",7),this.beforeMapChanged=a(this,"beforeMapChanged",7),this._loadedId="",this.enableLegend=void 0,this.enableFloorFilter=void 0,this.enableFullscreen=void 0,this.enableSearch=void 0,this.enableBasemap=void 0,this.basemapConfig=void 0,this.mapInfos=[],this.mapView=void 0,this._searchConfiguration=void 0,this._webMapInfo=void 0}async mapInfoChange(t){await this._loadMap(t.detail)}async componentWillLoad(){await this._initModules(),this.esriConfig.portalUrl="https://holistic.mapsdevext.arcgis.com"}render(){return i(s,null,i("map-picker",{mapInfos:this.mapInfos}),i("div",{class:"map-height",ref:t=>this._mapDiv=t}),i("map-tools",{basemapConfig:this.basemapConfig,class:"box-shadow",enableBasemap:this.enableBasemap,enableFloorFilter:this.enableFloorFilter,enableFullscreen:this.enableFullscreen,enableLegend:this.enableLegend,enableSearch:this.enableSearch,mapView:this.mapView,ref:t=>this._mapTools=t,searchConfiguration:this._searchConfiguration}))}async _initModules(){const[t,i,s,e]=await d(["esri/WebMap","esri/views/MapView","esri/widgets/Home","esri/config"]);this.WebMap=t,this.MapView=i,this.Home=s,this.esriConfig=e}async _loadMap(t){let i=null==t?void 0:t.id;if(this._webMapInfo=(""===i||!i)&&this.mapInfos.length>0?this.mapInfos[0]:t,i=this._webMapInfo.id,this._loadedId!==i){const t=new this.WebMap({portalItem:{id:i}});this.mapView=new this.MapView({container:this._mapDiv,map:t,resizeAlign:"top-left"}),this._loadedId=i,this._searchConfiguration=this._webMapInfo.searchConfiguration,this.beforeMapChanged.emit(),await this.mapView.when((()=>{const t=new this.Home({view:this.mapView});this.mapView.ui.add(t,{position:"top-left",index:3}),this.mapView.ui.add(this._mapTools,{position:"top-right",index:0}),this.mapChanged.emit({id:i,mapView:this.mapView})}))}}get el(){return e(this)}};v.style=":host{display:block;--calcite-label-margin-bottom:0;--calcite-block-padding:0}.map-height{height:calc(100% - 58px)}.box-shadow{box-shadow:none !important}";export{p as card_manager,m as layer_table,v as map_card}
@@ -0,0 +1,6 @@
1
+ /*!
2
+ * Copyright 2022 Esri
3
+ * Licensed under the Apache License, Version 2.0
4
+ * http://www.apache.org/licenses/LICENSE-2.0
5
+ */
6
+ import{r as t,h as i,H as e,g as s}from"./p-91c78d98.js";import{g as h}from"./p-99d8a839.js";import{E as l}from"./p-2a58e378.js";import"./p-e1a4994d.js";const a=class{constructor(i){t(this,i),this._shouldSetMapView=!1,this.classicGrid=!1,this.enableAutoRefresh=!0,this.enableCSV=!0,this.enableFloorFilter=!0,this.enableFullscreen=!0,this.enableInlineEdit=!1,this.enableLegend=!0,this.enableSearch=!0,this.enableHome=!0,this.enableZoom=!0,this.enableBasemap=!0,this.basemapConfig=void 0,this.showNewestFirst=!0,this.hideMap=!1,this.mapInfos=[],this.onlyShowUpdatableLayers=!0,this.searchConfiguration=void 0,this.theme="light",this.zoomAndScrollToSelected=!1,this._expandPopup=!1,this._translations=void 0,this._layoutMode=l.GRID,this._mapView=void 0,this._panelOpen=!0}async layoutChanged(t){this._layoutMode=t.detail}async mapChanged(t){console.log("mapChanged"),this._mapChange=t.detail,await this._mapChange.mapView.when((()=>{console.log("mapView.when"),this._setMapView()}))}async beforeMapChanged(){this._expandPopup&&(this._shouldSetMapView=!0,this._expandPopup=!1)}async componentWillLoad(){await this._getTranslations()}render(){return i(e,null,i("calcite-shell",{class:"position-relative"},i("calcite-panel",{class:"width-full height-full"},this._getBody(this._layoutMode,this._panelOpen,this.hideMap))))}componentDidRender(){this._shouldSetMapView&&(this._shouldSetMapView=!1,this._setMapView())}_getDividerIcon(t,i){let e="";switch(t){case l.HORIZONTAL:e=this.classicGrid?i?"chevrons-down":"chevrons-up":i?"chevrons-up":"chevrons-down";break;case l.VERTICAL:e=this.classicGrid?i?"chevrons-right":"chevrons-left":i?"chevrons-left":"chevrons-right";break;case l.GRID:e=this.classicGrid?i?"chevrons-up":"chevrons-down":i?"chevrons-left":"chevrons-right"}return e}_getMapSizeClass(t,i){let e="";switch(t){case l.HORIZONTAL:e=(i?"height-1-2":"height-0")+" width-full position-relative";break;case l.GRID:e=this.classicGrid?(i?"position-relative":"position-absolute-53")+" height-full width-full display-flex":"height-full position-relative "+(i?"width-1-3":"width-0");break;case l.VERTICAL:e="height-full position-relative "+(i?"width-1-2":"width-0")}return e}_getTableSizeClass(t,i){let e="";switch(t){case l.HORIZONTAL:e=(i?"height-1-2":"height-full")+" width-full display-flex flex-column";break;case l.GRID:e=this.classicGrid?(i?"height-full":"height-53")+" position-relative width-full display-flex":(i?"width-2-3":"width-full")+" height-full display-flex";break;case l.VERTICAL:e=(i?"width-1-2":"width-full")+" height-full display-flex"}return e}_getBody(t,e,s){const h=this.classicGrid&&t===l.GRID&&e?"display-grid":t===l.HORIZONTAL?"":"display-flex";return i("calcite-panel",{class:"width-full height-full"},this.classicGrid?i("div",{class:`width-full height-full ${h}`},this._getTable(t,e),this._getMapAndCard(t,e,s)):i("div",{class:`width-full height-full ${h}`},this._getMapAndCard(t,e,s),this._getTable(t,e)))}_getMapAndCard(t,e,s){const h=this._getMapSizeClass(t,e);return this.classicGrid?i("div",{class:`${h} overflow-hidden`},this._getCardNode(),this._getMapNode(t,s)):i("div",{class:`${h} overflow-hidden`},this._getMapNode(t,s),this._getPopupExpandNode())}_getMapNode(t,e){var s,h;return i("div",{class:`${this.classicGrid&&t===l.GRID?"width-full":this._expandPopup?"height-50-px":"adjusted-height-50"} overflow-hidden ${this.classicGrid&&t===l.GRID?"display-flex height-full width-1-2":t!==l.GRID||e?"display-none":""}`},i("map-card",{basemapConfig:this.basemapConfig,class:"width-full",enableBasemap:this.enableBasemap,enableFloorFilter:this.enableFloorFilter&&(null===(h=null===(s=this._mapView)||void 0===s?void 0:s.map)||void 0===h?void 0:h.floorInfo),enableFullscreen:this.enableFullscreen,enableLegend:this.enableLegend,enableSearch:this.enableSearch,mapInfos:this.mapInfos.filter((t=>!1!==t.visible))}))}_getPopupExpandNode(){const t=this._expandPopup?"chevrons-down":"chevrons-up",e="expand-popup",s=this._expandPopup?this._translations.collapsePopup:this._translations.expandPopup,h="dark"===this.theme?"calcite-mode-dark":"calcite-mode-light";return i("div",{class:"calcite-mode-dark height-full"},i("calcite-panel",null,i("div",{class:"display-flex align-items-center",slot:"header-content"},i("calcite-icon",{icon:"information",scale:"s"}),i("div",{class:"padding-inline-start-75"},this._translations.information)),i("calcite-action",{class:"height-49-px",icon:t,id:e,onClick:()=>this._togglePopup(),slot:"header-actions-end"}),i("calcite-tooltip",{class:h,label:"",placement:"bottom","reference-element":e},i("span",null,s)),this._getCardNode()))}_togglePopup(){this._expandPopup=!this._expandPopup}_getCardNode(){return i("div",{class:`${this._expandPopup?"width-50 adjusted-height-100-50":"width-50 height-full"} ${"dark"===this.theme?"calcite-mode-dark":"calcite-mode-light"}`},i("card-manager",{class:(this._expandPopup?"height-full":"height-50")+" width-full",mapView:null==this?void 0:this._mapView,zoomAndScrollToSelected:this.zoomAndScrollToSelected}))}_getTable(t,e){const s=this._getTableSizeClass(t,e),h=this._getDividerIcon(t,e),a=e?this._translations.close:this._translations.open,o="toggle-layout";return i("calcite-shell",{class:s+" border-bottom"},i("calcite-action-bar",{class:"border-sides",expandDisabled:!0,layout:t===l.HORIZONTAL||this.classicGrid?"horizontal":"vertical",slot:this.classicGrid&&t!==l.VERTICAL?"footer":this.classicGrid&&t===l.VERTICAL?"panel-end":t===l.HORIZONTAL?"header":"panel-start"},i("calcite-action",{class:"toggle-node",icon:h,id:o,onClick:()=>this._toggleLayout(),text:""}),i("calcite-tooltip",{label:a,placement:"bottom","reference-element":o},i("span",null,a))),i("div",{class:"width-full height-full position-relative"},i("layer-table",{enableAutoRefresh:this.enableAutoRefresh,enableCSV:this.enableCSV,enableInlineEdit:this.enableInlineEdit,mapInfo:this._mapInfo,mapView:null==this?void 0:this._mapView,onlyShowUpdatableLayers:this.onlyShowUpdatableLayers,showNewestFirst:this.showNewestFirst,zoomAndScrollToSelected:this.zoomAndScrollToSelected})))}_toggleLayout(){this._panelOpen=!this._panelOpen}_getMapInfo(t){let i;return this.mapInfos.some((e=>{if(e.id===t)return i=e,!0})),i}_setMapView(){this._mapInfo=this._getMapInfo(this._mapChange.id),this._mapView=this._mapChange.mapView,this._mapView.popupEnabled=!1}async _getTranslations(){const t=await h(this.el);this._translations=t[0]}get el(){return s(this)}};a.style=":host{display:block;--calcite-label-margin-bottom:0px;--solutions-theme-foreground-color:var(--calcite-ui-foreground-1)}.padding-1-2{padding:0.5rem}.display-flex{display:flex}.width-full{width:100%}.width-1-2{position:relative;width:50%}.width-1-3{position:relative;width:33.33%}.width-2-3{position:relative;width:66.66%}.width-0{width:0}.height-full{height:100%}.height-1-2{position:relative;height:50%}.height-0{height:0}.toggle-node{width:51px;height:51px}.overflow-hidden{overflow:hidden}.flex-column{flex-direction:column}.border{border:1px solid var(--calcite-ui-border-3)}.border-bottom{border-bottom:1px solid var(--calcite-ui-border-3)}.border-sides{border-left:1px solid var(--calcite-ui-border-3);border-right:1px solid var(--calcite-ui-border-3)}.position-relative{position:relative}.height-50{height:50%}.adjusted-height-50{height:calc(50% - 25px)}.adjusted-height-100{height:calc(100% - 50px)}.adjusted-height-100-50{height:calc(100% - 50px)}.display-none{display:none}.height-53{height:53px}.position-absolute-53{position:absolute;top:53px}.display-grid{display:grid}.height-49-px{height:49px}.height-50-px{height:50px}.padding-inline-start-75{padding-inline-start:0.75rem}.align-items-center{align-items:center}.esri-floor-filter__close-levels-button{width:40px !important;height:40px !important}.esri-floor-filter__level-button{width:40px !important;height:40px !important}.esri-floor-filter__browse-button{width:40px !important;height:40px !important}";export{a as crowdsource_manager}
@@ -0,0 +1,6 @@
1
+ /*!
2
+ * Copyright 2022 Esri
3
+ * Licensed under the Apache License, Version 2.0
4
+ * http://www.apache.org/licenses/LICENSE-2.0
5
+ */
6
+ import{d as r}from"./p-b8ce608e.js";import"./p-91c78d98.js";import"./p-3db650c2.js";import"./p-4b9ba22d.js";import"./p-361b44ed.js";import"./p-3760847f.js";import"./p-2ee3afea.js";import"./p-86f482ca.js";import"./p-34fb2a6e.js";import"./p-f52ee45d.js";import"./p-3a668467.js";import"./p-bf9d3381.js";import"./p-efc041d0.js";import"./p-a47c8ae2.js";import"./p-d4278729.js";import"./p-2f9bab49.js";import"./p-29120ecd.js";import"./p-abc50d38.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"},e={name:"ar",weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),months:t,monthsShort:t,weekStart:6,meridiem:function(r){return r>12?"م":"ص"},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(e,null,!0);export default e;
@@ -0,0 +1,6 @@
1
+ /*!
2
+ * Copyright 2022 Esri
3
+ * Licensed under the Apache License, Version 2.0
4
+ * http://www.apache.org/licenses/LICENSE-2.0
5
+ */
6
+ import{d as e}from"./p-b8ce608e.js";import"./p-91c78d98.js";import"./p-3db650c2.js";import"./p-4b9ba22d.js";import"./p-361b44ed.js";import"./p-3760847f.js";import"./p-2ee3afea.js";import"./p-86f482ca.js";import"./p-34fb2a6e.js";import"./p-f52ee45d.js";import"./p-3a668467.js";import"./p-bf9d3381.js";import"./p-efc041d0.js";import"./p-a47c8ae2.js";import"./p-d4278729.js";import"./p-2f9bab49.js";import"./p-29120ecd.js";import"./p-abc50d38.js";var a={words:{m:["jedan minut","jednog minuta"],mm:["%d minut","%d minuta","%d minuta"],h:["jedan sat","jednog sata"],hh:["%d sat","%d sata","%d sati"],d:["jedan dan","jednog dana"],dd:["%d dan","%d dana","%d dana"],M:["jedan mesec","jednog meseca"],MM:["%d mesec","%d meseca","%d meseci"],y:["jednu godinu","jedne godine"],yy:["%d godinu","%d godine","%d godina"]},correctGrammarCase:function(e,a){return e%10>=1&&e%10<=4&&(e%100<10||e%100>=20)?e%10==1?a[0]:a[1]:a[2]},relativeTimeFormatter:function(e,d,t,r){var m=a.words[t];if(1===t.length)return"y"===t&&d?"jedna godina":r||d?m[0]:m[1];var o=a.correctGrammarCase(e,m);return"yy"===t&&d&&"%d godinu"===o?e+" godina":o.replace("%d",e)}},d={name:"sr",weekdays:"Nedelja_Ponedeljak_Utorak_Sreda_Četvrtak_Petak_Subota".split("_"),weekdaysShort:"Ned._Pon._Uto._Sre._Čet._Pet._Sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),months:"Januar_Februar_Mart_April_Maj_Jun_Jul_Avgust_Septembar_Oktobar_Novembar_Decembar".split("_"),monthsShort:"Jan._Feb._Mar._Apr._Maj_Jun_Jul_Avg._Sep._Okt._Nov._Dec.".split("_"),weekStart:1,relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",m:a.relativeTimeFormatter,mm:a.relativeTimeFormatter,h:a.relativeTimeFormatter,hh:a.relativeTimeFormatter,d:a.relativeTimeFormatter,dd:a.relativeTimeFormatter,M:a.relativeTimeFormatter,MM:a.relativeTimeFormatter,y:a.relativeTimeFormatter,yy:a.relativeTimeFormatter},ordinal:function(e){return e+"."},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"}};e.locale(d,null,!0);export default d;
@@ -0,0 +1,6 @@
1
+ /*!
2
+ * Copyright 2022 Esri
3
+ * Licensed under the Apache License, Version 2.0
4
+ * http://www.apache.org/licenses/LICENSE-2.0
5
+ */
6
+ import{r as t,h as i,H as s,g as e,c as a}from"./p-91c78d98.js";import{l as h}from"./p-05948b48.js";import{g as n}from"./p-99d8a839.js";import"./p-e1a4994d.js";const o=class{constructor(i){t(this,i),this.mapView=void 0,this.basemapConfig=void 0,this.basemapWidget=void 0}async mapViewWatchHandler(){await this.mapView.when((()=>{this._initBaseMapGallery(this.mapView)}))}async componentWillLoad(){return this._initModules()}render(){return i(s,null,i("div",{ref:t=>{this._basemapElement=t}}))}async _initModules(){const[t,i]=await h(["esri/widgets/BasemapGallery","esri/widgets/BasemapGallery/support/PortalBasemapsSource"]);this.BasemapGallery=t,this.PortalBasemapsSource=i}async _initBaseMapGallery(t){var i;if(this.BasemapGallery){this.basemapWidget&&this.basemapWidget.destroy();const s=new this.PortalBasemapsSource({query:(null===(i=this.basemapConfig)||void 0===i?void 0:i.basemapGroupId)?`id:${this.basemapConfig.basemapGroupId}`:null,filterFunction:t=>!this.basemapConfig.basemapIdsToFilter.includes(t.portalItem.id)});await s.refresh(),this.basemapWidget=new this.BasemapGallery({container:this._basemapElement,view:t,source:s})}}get el(){return e(this)}static get watchers(){return{mapView:["mapViewWatchHandler"]}}};o.style=":host{display:block}";const r=class{constructor(i){t(this,i),this.enabled=void 0,this.floorFilterWidget=void 0,this.mapView=void 0}async mapViewWatchHandler(){await this.mapView.when((()=>{this._initFloorFilter(this.mapView)}))}async componentWillLoad(){return this._initModules()}render(){return i(s,null,i("div",{ref:t=>{this._floorFilterElement=t}}))}async _initModules(){const[t]=await h(["esri/widgets/FloorFilter"]);this.FloorFilter=t}_initFloorFilter(t){t&&this.enabled&&this.FloorFilter&&(this.floorFilterWidget?this.floorFilterWidget.view=t:this.floorFilterWidget=new this.FloorFilter({container:this._floorFilterElement,view:t}))}get el(){return e(this)}static get watchers(){return{mapView:["mapViewWatchHandler"]}}};r.style=":host{display:block}";const l=class{constructor(i){t(this,i),this.mapView=void 0,this.fullscreenWidget=void 0}async mapViewWatchHandler(){await this.mapView.when((()=>{this._initFullscreenWidget()}))}async componentWillLoad(){await this._initModules()}render(){return i(s,null,i("div",{class:"fullscreen-widget",ref:t=>{this._fullscreenElement=t}}))}async componentDidUpdate(){this._initFullscreenWidget()}async componentDidLoad(){this._initFullscreenWidget()}async _initModules(){const[t]=await h(["esri/widgets/Fullscreen"]);this.Fullscreen=t}_initFullscreenWidget(){this.mapView&&this._fullscreenElement&&!this.fullscreenWidget?this.fullscreenWidget=new this.Fullscreen({view:this.mapView}):this.fullscreenWidget&&(this.fullscreenWidget.view=this.mapView)}static get watchers(){return{mapView:["mapViewWatchHandler"]}}};l.style=":host{display:block}";const c=class{constructor(i){t(this,i),this.mapView=void 0,this.legendWidget=void 0}async mapViewWatchHandler(){await this.mapView.when((()=>{this._initLegend(this.mapView)}))}async componentWillLoad(){return this._initModules()}render(){return i(s,null,i("div",{ref:t=>{this._legendElement=t}}))}async _initModules(){const[t]=await h(["esri/widgets/Legend"]);this.Legend=t}_initLegend(t){t&&this.Legend&&(this.legendWidget?this.legendWidget.view=t:this.legendWidget=new this.Legend({container:this._legendElement,view:t}))}get el(){return e(this)}static get watchers(){return{mapView:["mapViewWatchHandler"]}}};c.style=":host{display:block}";const d=class{constructor(i){t(this,i),this.mapInfoChange=a(this,"mapInfoChange",7),this._loadedId="",this.mapInfos=[],this._mapListExpanded=!1,this._translations=void 0,this._webMapInfo=void 0}_webMapInfoWatchHandler(t,i){t&&JSON.stringify(t)!==JSON.stringify(i)&&(this._loadedId=null==t?void 0:t.id,this.mapInfoChange.emit(t))}async mapInfosWatchHandler(t,i){t&&JSON.stringify(t)!==JSON.stringify(i)&&this._webMapSelected(t[0])}async componentWillLoad(){await this._getTranslations()}render(){return i(s,null,this._getToolbar(),this._getMapNameList(this._mapListExpanded))}async componentDidRender(){this._mapListExpanded&&await this._list.setFocus()}async componentDidLoad(){const t=this.mapInfos&&this.mapInfos.length>0?this.mapInfos[0]:void 0;t&&this._webMapSelected(t)}_getMapPicker(){var t;const s="map-picker-expand-toggle";return i("div",{class:"width-full"},i("calcite-button",{alignment:"icon-end-space-between",appearance:"transparent",class:"width-full height-full",iconEnd:this._mapListExpanded?"chevron-up":"chevron-down",id:s,kind:"neutral",onClick:()=>this._chooseMap(),width:"full"},null===(t=this._webMapInfo)||void 0===t?void 0:t.name),i("calcite-tooltip",{label:"",placement:"bottom","reference-element":s},i("span",null,this._translations.switchMap)))}_getToolbar(){return i("div",{class:"display-flex"},i("calcite-action-bar",{class:"border-bottom-1 action-bar-size","expand-disabled":!0,layout:"horizontal",slot:"header"},this._getMapPicker()))}_getMapNameList(t){return i("div",{class:t?"map-list":"display-none"},i("calcite-list",{id:"mapList",ref:t=>this._list=t,selectionAppearance:"border"},this.mapInfos.map((t=>i("calcite-list-item",{label:t.name,onClick:()=>this._webMapSelected(t),selected:t.id===this._loadedId,value:t.id})))))}_webMapSelected(t){this._mapListExpanded=!1,this._webMapInfo=t}_chooseMap(){this._mapListExpanded=!this._mapListExpanded}async _getTranslations(){const t=await n(this.el);this._translations=t[0]}get el(){return e(this)}static get watchers(){return{_webMapInfo:["_webMapInfoWatchHandler"],mapInfos:["mapInfosWatchHandler"]}}};d.style=":host{display:block;--solutions-theme-foreground-color:var(--calcite-ui-foreground-1)}.width-full{width:100%}.height-full{height:100%}.display-flex{display:flex}.border-bottom-1{border-width:0px;border-bottom-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3)}.action-bar-size{height:51px;width:100%}.map-list{position:absolute;display:flex;flex-direction:column;overflow:hidden;animation:calcite-scrim-fade-in var(--calcite-internal-animation-timing-medium) ease-in-out;background-color:var(--calcite-ui-background);z-index:1000;width:100%;height:-moz-fit-content;height:fit-content}.display-none{display:none}.align-center{align-items:center}";const p=class{constructor(i){t(this,i),this.mapView=void 0,this.popupEnabled=!1,this.resultGraphicEnabled=!1,this.searchConfiguration=void 0,this.searchTerm=void 0,this.searchWidget=void 0}async watchSearchConfigurationHandler(){this._initSearchWidget()}async mapViewWatchHandler(){await this.mapView.when((()=>{this._initSearchWidget()}))}async componentWillLoad(){await this._initModules()}async componentDidLoad(){return this._initSearchWidget()}render(){return i(s,null,i("div",{class:"search-widget",ref:t=>{this._searchElement=t}}))}async _initModules(){const[t,i]=await h(["esri/widgets/Search","esri/layers/FeatureLayer"]);this.Search=t,this.FeatureLayer=i}_initSearchWidget(){if(this.mapView&&this._searchElement&&!this.searchWidget){let t={view:this.mapView,container:this._searchElement,searchTerm:this.searchTerm};if(this.searchConfiguration){const i=this._getSearchConfig(this.searchConfiguration,this.mapView);t=Object.assign({},i)}this.searchWidget=new this.Search(t),this.searchWidget.popupEnabled=this.popupEnabled,this.searchWidget.resultGraphicEnabled=this.resultGraphicEnabled}else this.searchWidget&&(this.searchWidget.view=this.mapView)}_getSearchConfig(t,i){const s=t.sources;return(null==s?void 0:s.length)>0?(t.includeDefaultSources=!1,s.forEach((t=>{var s,e;if(t.hasOwnProperty("layer")){const a=t,h=null===(s=a.layer)||void 0===s?void 0:s.id,n=h?i.map.findLayerById(h):null,o=null===(e=null==a?void 0:a.layer)||void 0===e?void 0:e.url;n?a.layer=n:o&&(a.layer=new this.FeatureLayer(o))}})),null==s||s.forEach((t=>{if(t.hasOwnProperty("locator")){const i=t;"ArcGIS World Geocoding Service"===(null==i?void 0:i.name)&&(i.outFields=i.outFields||["Addr_type","Match_addr","StAddr","City"],i.singleLineFieldName="SingleLine"),i.url=i.url,delete i.url}}))):t=Object.assign(Object.assign({},t),{includeDefaultSources:!0}),t}static get watchers(){return{searchConfiguration:["watchSearchConfigurationHandler"],mapView:["mapViewWatchHandler"]}}};p.style=":host{display:block}.search-widget{width:100% !important;border:1px solid var(--calcite-ui-border-input)}";const u=class{constructor(i){t(this,i),this.enableLegend=void 0,this.enableFloorFilter=void 0,this.enableFullscreen=void 0,this.enableSearch=void 0,this.enableBasemap=void 0,this.basemapConfig=void 0,this.layout="vertical",this.mapView=void 0,this.searchConfiguration=void 0,this._translations=void 0,this._showTools=!0,this._showBasemapWidget=!1,this._showFloorFilter=!1,this._showFullscreen=!1,this._showLegendWidget=!1,this._showSearchWidget=!1}async _showBasemapWidgetWatchHandler(t){t?this.mapView.ui.add(this._basemapElement.basemapWidget,{position:"top-right",index:1}):this.mapView.ui.remove(this._basemapElement.basemapWidget)}async _showFloorFilterWatchHandler(t){const i=this._floorFilterElement.floorFilterWidget;t?this.mapView.ui.add(i,{position:"top-right",index:1}):this.mapView.ui.remove(i)}async _showFullscreenWatchHandler(t){const i=this._fullscreenElement.fullscreenWidget;t?i.viewModel.enter():i.viewModel.exit()}async _showLegendWidgetWatchHandler(t){t?this.mapView.ui.add(this._legendElement.legendWidget,{position:"top-right",index:1}):this.mapView.ui.remove(this._legendElement.legendWidget)}async _showSearchWidgetWatchHandler(t){t?this.mapView.ui.add(this._searchElement.searchWidget,{position:"top-right",index:1}):this.mapView.ui.remove(this._searchElement.searchWidget)}async componentWillLoad(){await this._getTranslations()}render(){const t=this._showTools?"":"display-none",e=this._showSearchWidget?"":"display-none",a=this._showBasemapWidget?"":"display-none",h=this._showLegendWidget?"":"display-none",n=this._showFloorFilter?"":"display-none",o=this._showFullscreen?"":"display-none",r=this._showFullscreen?"full-screen-exit":"full-screen",l=this._showFullscreen?this._translations.exitFullscreen:this._translations.enterFullscreen;return i(s,null,i("div",{class:this.enableBasemap||this.enableFullscreen||this.enableLegend||this.enableSearch?"":"display-none"},i("div",{class:"box-shadow"},this._getActionGroup(this._showTools?"chevrons-up":"chevrons-down",!1,this._showTools?this._translations.collapse:this._translations.expand,(()=>this._toggleTools()))),i("div",{class:`margin-top-1-2 box-shadow ${t}`},this.enableLegend?this._getActionGroup("legend",!1,this._translations.legend,(()=>this._showLegend())):void 0,this.enableSearch?this._getActionGroup("magnifying-glass",!1,this._translations.search,(()=>this._search())):void 0,this.enableFullscreen?this._getActionGroup(r,!1,l,(()=>this._expand())):void 0,this.enableBasemap?this._getActionGroup("basemap",!1,this._translations.basemap,(()=>this._toggleBasemapPicker())):void 0,this.enableFloorFilter?this._getActionGroup("urban-model",!1,this._translations.floorFilter,(()=>this._toggleFloorFilter())):void 0)),i("basemap-gallery",{basemapConfig:this.basemapConfig,class:a,mapView:this.mapView,ref:t=>{this._basemapElement=t}}),i("map-search",{class:e,mapView:this.mapView,ref:t=>{this._searchElement=t},resultGraphicEnabled:!0,searchConfiguration:this.searchConfiguration}),i("map-legend",{class:h,mapView:this.mapView,ref:t=>{this._legendElement=t}}),i("map-fullscreen",{class:o,mapView:this.mapView,ref:t=>{this._fullscreenElement=t}}),i("floor-filter",{class:n,enabled:this.enableFloorFilter,mapView:this.mapView,ref:t=>{this._floorFilterElement=t}}))}_getActionGroup(t,s,e,a){return i("div",{class:"border-bottom"},i("calcite-action",{alignment:"center",class:"square-40",compact:!1,disabled:s,icon:t,id:t,onClick:a,scale:"s",text:""},i("calcite-icon",{icon:"cheveron-up",scale:"s",slot:"icon"})),i("calcite-tooltip",{label:"",placement:"trailing","reference-element":t},i("span",null,e)))}_showLegend(){this._showLegendWidget=!this._showLegendWidget,this._showTools=!1}_search(){this._showSearchWidget=!this._showSearchWidget,this._showTools=!1}_toggleBasemapPicker(){this._showBasemapWidget=!this._showBasemapWidget,this._showTools=!1}_toggleFloorFilter(){this._showFloorFilter=!this._showFloorFilter,this._showTools=!1}_expand(){this._showFullscreen=!this._showFullscreen}_toggleTools(){this._showTools||(this._showBasemapWidget=!1,this._showSearchWidget=!1,this._showLegendWidget=!1,this._showFloorFilter=!1),this._showTools=!this._showTools}async _getTranslations(){const t=await n(this.el);this._translations=t[0]}get el(){return e(this)}static get watchers(){return{_showBasemapWidget:["_showBasemapWidgetWatchHandler"],_showFloorFilter:["_showFloorFilterWatchHandler"],_showFullscreen:["_showFullscreenWatchHandler"],_showLegendWidget:["_showLegendWidgetWatchHandler"],_showSearchWidget:["_showSearchWidgetWatchHandler"]}}};u.style=":host{display:block}.display-none{display:none}.margin-top-1-2{margin-top:0.5rem}.square-40{width:40px;height:40px}.width-40{width:40px}.square-40-41{width:40px;height:41px}.border-bottom{border-bottom:1px solid var(--calcite-ui-border-3)}.box-shadow{box-shadow:0 1px 2px rgba(0, 0, 0, 0.3)}";export{o as basemap_gallery,r as floor_filter,l as map_fullscreen,c as map_legend,d as map_picker,p as map_search,u as map_tools}
@@ -0,0 +1,17 @@
1
+ /*!
2
+ * Copyright 2022 Esri
3
+ * Licensed under the Apache License, Version 2.0
4
+ * http://www.apache.org/licenses/LICENSE-2.0
5
+ */
6
+ import{r as t,c as e,h as i,H as s,g as n}from"./p-91c78d98.js";import{c as a,d as o}from"./p-73c50d50.js";import{s as l,u as c,f as r,t as h,a as d}from"./p-4b9ba22d.js";import{a as p,s as u,c as b}from"./p-3a668467.js";import{c as g,d as f}from"./p-bf9d3381.js";import{c as m}from"./p-efc041d0.js";import{u as v,c as x,s as y,d as C}from"./p-29120ecd.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-fc141ca0.js";import{d as A}from"./p-a82f35c9.js";import{c as D,d as j,u as H}from"./p-2ee3afea.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-0a95c999.js";import{d as B,a as _,c as N}from"./p-1406bcc4.js";import{S as R}from"./p-151c5d71.js";import"./p-361b44ed.js";import"./p-3760847f.js";import"./p-34fb2a6e.js";import"./p-b80631c4.js";import"./p-4e58893d.js";import"./p-86f482ca.js";
7
+ /*!
8
+ * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
9
+ * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
10
+ * v1.9.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){var e,i;t?null===(e=this.resizeObserver)||void 0===e||e.disconnect():(null===(i=this.resizeObserver)||void 0===i||i.observe(this.el),this.overflowActions())}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",hidden:this.expandDisabled&&!(this.hasActionsEnd||this.hasBottomActions),label:r,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
+ /*!
13
+ * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
14
+ * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
15
+ * v1.9.0
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=c):h=r-1:r===c?h=0:r===c-1?(d=!0,h=c):h=r+2,this.disconnectObserver(),d?a.appendChild(n):a.insertBefore(n,l[h]),this.updateListItems(),this.connectObserver(),this.calciteListOrderChange.emit({dragEl:n,fromEl:a,toEl:a,newIndex:h,oldIndex:r}),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}
@@ -6,6 +6,6 @@
6
6
  /*!
7
7
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
8
8
  * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
9
- * v1.8.0
9
+ * v1.9.0
10
10
  */
11
11
  function t(t,s,n){const i=function(t){class s extends window.MutationObserver{constructor(t){super(t),this.observedEntry=[],this.callback=t}observe(t,s){return this.observedEntry.push({target:t,options:s}),super.observe(t,s)}unobserve(t){const s=this.observedEntry.filter((s=>s.target!==t));this.observedEntry=[],this.callback(super.takeRecords(),this),this.disconnect(),s.forEach((t=>this.observe(t.target,t.options)))}}return"intersection"===t?window.IntersectionObserver:"mutation"===t?s:window.ResizeObserver}(t);return new i(s,n)}export{t as c}
@@ -0,0 +1,6 @@
1
+ /*!
2
+ * Copyright 2022 Esri
3
+ * Licensed under the Apache License, Version 2.0
4
+ * http://www.apache.org/licenses/LICENSE-2.0
5
+ */
6
+ import{r as i,c as t,h as s,g as e}from"./p-91c78d98.js";import{d as o,t as a}from"./p-4b9ba22d.js";import{c as l,d as n,u as h}from"./p-2ee3afea.js";import{c}from"./p-efc041d0.js";import{a as r,s as d,c as p}from"./p-3a668467.js";import"./p-361b44ed.js";import"./p-3760847f.js";import"./p-86f482ca.js";const u=class{constructor(s){i(this,s),this.calciteChipGroupSelect=t(this,"calciteChipGroupSelect",6),this.mutationObserver=c("mutation",(()=>this.updateItems())),this.items=[],this.updateItems=i=>{var t;const s=i?i.target:this.slotRefEl;this.items=null==s?void 0:s.assignedElements({flatten:!0}).filter((i=>null==i?void 0:i.matches("calcite-chip"))),null===(t=this.items)||void 0===t||t.forEach((i=>{i.interactive=!0,i.scale=this.scale,i.selectionMode=this.selectionMode})),this.setSelectedItems(!1)},this.setSelectedItems=(i,t)=>{var s,e;t&&(null===(s=this.items)||void 0===s||s.forEach((i=>{const s=t===i;switch(this.selectionMode){case"multiple":s&&(i.selected=!i.selected);break;case"single":i.selected=!!s&&!i.selected;break;case"single-persist":i.selected=!!s}}))),this.selectedItems=null===(e=this.items)||void 0===e?void 0:e.filter((i=>i.selected)),i&&this.calciteChipGroupSelect.emit()},this.disabled=!1,this.label=void 0,this.scale="m",this.selectionMode="none",this.selectedItems=[]}onSelectionModeChange(){this.updateItems()}connectedCallback(){var i;l(this),null===(i=this.mutationObserver)||void 0===i||i.observe(this.el,{childList:!0,subtree:!0})}componentDidRender(){n(this),h(this)}componentDidLoad(){r(this)}disconnectedCallback(){var i;null===(i=this.mutationObserver)||void 0===i||i.disconnect()}async componentWillLoad(){d(this)}calciteInternalChipKeyEventListener(i){var t;if(i.composedPath().includes(this.el)){const s=null===(t=this.items)||void 0===t?void 0:t.filter((i=>!i.disabled));switch(i.detail.key){case"ArrowRight":o(s,i.detail.target,"next");break;case"ArrowLeft":o(s,i.detail.target,"previous");break;case"Home":o(s,i.detail.target,"first");break;case"End":o(s,i.detail.target,"last")}}}calciteChipCloseListener(i){var t,s,e,a;const l=i.target;(null===(t=this.items)||void 0===t?void 0:t.includes(l))&&((null===(s=this.items)||void 0===s?void 0:s.indexOf(l))>0?o(this.items,l,"previous"):0===(null===(e=this.items)||void 0===e?void 0:e.indexOf(l))?o(this.items,l,"next"):o(this.items,l,"first")),this.items=null===(a=this.items)||void 0===a?void 0:a.filter((i=>i!==l))}calciteChipSelectListener(i){i.composedPath().includes(this.el)&&this.setSelectedItems(!0,i.target)}async setFocus(){var i;if(await p(this),!this.disabled)return null===(i=this.selectedItems[0]||this.items[0])||void 0===i?void 0:i.setFocus()}render(){const i="none"===this.selectionMode||"multiple"===this.selectionMode?"group":"radiogroup";return s("div",{"aria-disabled":a(this.disabled),"aria-label":this.label,class:"container",role:i},s("slot",{onSlotchange:this.updateItems,ref:i=>this.slotRefEl=i}))}get el(){return e(this)}static get watchers(){return{selectionMode:["onSelectionModeChange"]}}};u.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}.container{display:flex;inline-size:100%;flex-wrap:wrap;gap:0.5rem}::slotted(calcite-chip){flex:none}:host([scale=s]) .container{gap:0.25rem}:host([scale=l]) .container{gap:0.75rem}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([hidden]){display:none}[hidden]{display:none}";export{u as calcite_chip_group}
@@ -3,9 +3,9 @@
3
3
  * Licensed under the Apache License, Version 2.0
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
- import{h as n,q as t,c as e}from"./p-1ba1336c.js";
6
+ import{h as n,q as t,c as e}from"./p-4b9ba22d.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
- * v1.8.0
11
- */const c="calciteInternalLabelClick",o="calciteInternalLabelConnected",s="calciteInternalLabelDisconnected",a="calcite-label",i=new WeakMap,u=new WeakMap,r=new WeakMap,l=new WeakMap,f=new WeakSet,m=n=>{const{id:c}=n,o=c&&t(n,{selector:`${a}[for="${c}"]`});if(o)return o;const s=e(n,a);return!s||function(n,t){let e;const c="custom-element-ancestor-check",o=c=>{c.stopImmediatePropagation();const o=c.composedPath();e=o.slice(o.indexOf(t),o.indexOf(n))};n.addEventListener(c,o,{once:!0}),t.dispatchEvent(new CustomEvent(c,{composed:!0,bubbles:!0})),n.removeEventListener(c,o);return e.filter((e=>e!==t&&e!==n)).filter((n=>n.tagName?.includes("-"))).length>0}(s,n)?null:s};function d(n){const t=m(n.el);if(u.has(t)&&t===n.labelEl||!t&&f.has(n))return;const e=W.bind(n);if(t){n.labelEl=t;const a=i.get(t)||[];a.push(n),i.set(t,a.sort(b)),u.has(n.labelEl)||(u.set(n.labelEl,k),n.labelEl.addEventListener(c,k)),f.delete(n),document.removeEventListener(o,r.get(n)),l.set(n,e),document.addEventListener(s,e)}else f.has(n)||(e(),document.removeEventListener(s,l.get(n)))}function h(n){if(f.delete(n),document.removeEventListener(o,r.get(n)),document.removeEventListener(s,l.get(n)),r.delete(n),l.delete(n),!n.labelEl)return;const t=i.get(n.labelEl);1===t.length&&(n.labelEl.removeEventListener(c,u.get(n.labelEl)),u.delete(n.labelEl)),i.set(n.labelEl,t.filter((t=>t!==n)).sort(b)),n.labelEl=null}function b(t,e){return n(t.el,e.el)?-1:1}function p(n){return n.label||n.labelEl?.textContent?.trim()||""}function k(n){const t=n.detail.sourceEvent.target,e=i.get(this),c=e.find((n=>n.el===t));if(e.includes(c))return;const o=e[0];o.disabled||o.onLabelClick(n)}function w(){f.has(this)&&d(this)}function W(){f.add(this);const n=r.get(this)||w.bind(this);r.set(this,n),document.addEventListener(o,n)}export{s as a,d as c,h as d,p as g,o as l}
10
+ * v1.9.0
11
+ */const c="calciteInternalLabelClick",o="calciteInternalLabelConnected",s="calciteInternalLabelDisconnected",a="calcite-label",i=new WeakMap,u=new WeakMap,r=new WeakMap,l=new WeakMap,f=new WeakSet,d=n=>{const{id:c}=n,o=c&&t(n,{selector:`${a}[for="${c}"]`});if(o)return o;const s=e(n,a);return!s||function(n,t){let e;const c="custom-element-ancestor-check",o=c=>{c.stopImmediatePropagation();const o=c.composedPath();e=o.slice(o.indexOf(t),o.indexOf(n))};n.addEventListener(c,o,{once:!0}),t.dispatchEvent(new CustomEvent(c,{composed:!0,bubbles:!0})),n.removeEventListener(c,o);return e.filter((e=>e!==t&&e!==n)).filter((n=>n.tagName?.includes("-"))).length>0}(s,n)?null:s};function m(n){const t=d(n.el);if(u.has(t)&&t===n.labelEl||!t&&f.has(n))return;const e=W.bind(n);if(t){n.labelEl=t;const a=i.get(t)||[];a.push(n),i.set(t,a.sort(h)),u.has(n.labelEl)||(u.set(n.labelEl,k),n.labelEl.addEventListener(c,k)),f.delete(n),document.removeEventListener(o,r.get(n)),l.set(n,e),document.addEventListener(s,e)}else f.has(n)||(e(),document.removeEventListener(s,l.get(n)))}function b(n){if(f.delete(n),document.removeEventListener(o,r.get(n)),document.removeEventListener(s,l.get(n)),r.delete(n),l.delete(n),!n.labelEl)return;const t=i.get(n.labelEl);1===t.length&&(n.labelEl.removeEventListener(c,u.get(n.labelEl)),u.delete(n.labelEl)),i.set(n.labelEl,t.filter((t=>t!==n)).sort(h)),n.labelEl=null}function h(t,e){return n(t.el,e.el)?-1:1}function p(n){return n.label||n.labelEl?.textContent?.trim()||""}function k(n){const t=n.detail.sourceEvent.target,e=i.get(this),c=e.find((n=>n.el===t));if(e.includes(c))return;const o=e[0];o.disabled||o.onLabelClick(n)}function w(){f.has(this)&&m(this)}function W(){f.add(this);const n=r.get(this)||w.bind(this);r.set(this,n),document.addEventListener(o,n)}export{s as a,m as c,b as d,p as g,o as l}
@@ -0,0 +1,6 @@
1
+ /*!
2
+ * Copyright 2022 Esri
3
+ * Licensed under the Apache License, Version 2.0
4
+ * http://www.apache.org/licenses/LICENSE-2.0
5
+ */
6
+ import{d as _}from"./p-b8ce608e.js";import"./p-91c78d98.js";import"./p-3db650c2.js";import"./p-4b9ba22d.js";import"./p-361b44ed.js";import"./p-3760847f.js";import"./p-2ee3afea.js";import"./p-86f482ca.js";import"./p-34fb2a6e.js";import"./p-f52ee45d.js";import"./p-3a668467.js";import"./p-bf9d3381.js";import"./p-efc041d0.js";import"./p-a47c8ae2.js";import"./p-d4278729.js";import"./p-2f9bab49.js";import"./p-29120ecd.js";import"./p-abc50d38.js";var m={name:"zh-tw",weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),ordinal:function(_,m){return"W"===m?_+"週":_+"日"},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/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},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 年"},meridiem:function(_,m){var p=100*_+m;return p<600?"凌晨":p<900?"早上":p<1100?"上午":p<1300?"中午":p<1800?"下午":"晚上"}};_.locale(m,null,!0);export default m;
@@ -0,0 +1,6 @@
1
+ /*!
2
+ * Copyright 2022 Esri
3
+ * Licensed under the Apache License, Version 2.0
4
+ * http://www.apache.org/licenses/LICENSE-2.0
5
+ */
6
+ import{r as s,h as t,H as e,g as i}from"./p-91c78d98.js";import{s as a,d as o,e as n}from"./p-4b9ba22d.js";import{s as h,a as r,c as l}from"./p-3a668467.js";import{c,d}from"./p-bf9d3381.js";import{u as p,c as m,s as u,d as f}from"./p-29120ecd.js";import{w as g,u as v}from"./p-b48e8dd1.js";import"./p-361b44ed.js";import"./p-3760847f.js";import"./p-34fb2a6e.js";import"./p-efc041d0.js";const b=class{constructor(t){s(this,t),this.menuItems=[],this.handleMenuSlotChange=s=>{this.menuItems=a(s),this.setMenuItemLayout(this.menuItems,this.layout)},this.label=void 0,this.layout="horizontal",this.messageOverrides=void 0,this.messages=void 0,this.defaultMessages=void 0,this.effectiveLocale="",this.globalAttributes={role:"menubar"}}handleLayoutChange(s){this.setMenuItemLayout(this.menuItems,s)}onMessagesChange(){}effectiveLocaleChange(){p(this,this.effectiveLocale)}connectedCallback(){c(this),m(this),g(this,["role"])}async componentWillLoad(){h(this),await u(this)}componentDidLoad(){r(this)}disconnectedCallback(){d(this),f(this),v(this)}async setFocus(){await l(this),this.el.focus()}calciteInternalNavMenuItemKeyEvent(s){const t=s.target,e=s.detail.children,i=s.detail.event.key;s.stopPropagation(),"ArrowDown"===i?"vertical"===t.layout?o(this.menuItems,t,"next",!1):s.detail.isSubmenuOpen&&e[0].setFocus():"ArrowUp"===i?"vertical"===this.layout?o(this.menuItems,t,"previous",!1):s.detail.isSubmenuOpen&&e[e.length-1].setFocus():"ArrowRight"===i?"horizontal"===this.layout?o(this.menuItems,t,"next",!1):s.detail.isSubmenuOpen&&e[0].setFocus():"ArrowLeft"===i?"horizontal"===this.layout?o(this.menuItems,t,"previous",!1):s.detail.isSubmenuOpen&&this.focusParentElement(s.target):"Escape"===i&&this.focusParentElement(s.target),s.preventDefault()}focusParentElement(s){const t=s.parentElement;t&&(n(t),t.open=!1)}setMenuItemLayout(s,t){s.forEach((s=>{s.layout=t,"menubar"===this.globalAttributes.role&&(s.isTopLevelItem=!0,s.topLevelMenuLayout=this.layout)}))}render(){return t(e,null,t("ul",Object.assign({"aria-label":this.label},this.globalAttributes),t("slot",{onSlotchange:this.handleMenuSlotChange})))}static get delegatesFocus(){return!0}static get assetsDirs(){return["assets"]}get el(){return i(this)}static get watchers(){return{layout:["handleLayoutChange"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};b.style=":host{display:flex}ul{margin:0px;display:inline-flex;block-size:100%;align-items:center;padding:0px}:host([layout=vertical]) ul{display:flex;inline-size:100%;flex-direction:column}:host([hidden]){display:none}[hidden]{display:none}";export{b as calcite_menu}
@@ -0,0 +1,6 @@
1
+ /*!
2
+ * Copyright 2022 Esri
3
+ * Licensed under the Apache License, Version 2.0
4
+ * http://www.apache.org/licenses/LICENSE-2.0
5
+ */
6
+ import{d as e}from"./p-b8ce608e.js";import"./p-91c78d98.js";import"./p-3db650c2.js";import"./p-4b9ba22d.js";import"./p-361b44ed.js";import"./p-3760847f.js";import"./p-2ee3afea.js";import"./p-86f482ca.js";import"./p-34fb2a6e.js";import"./p-f52ee45d.js";import"./p-3a668467.js";import"./p-bf9d3381.js";import"./p-efc041d0.js";import"./p-a47c8ae2.js";import"./p-d4278729.js";import"./p-2f9bab49.js";import"./p-29120ecd.js";import"./p-abc50d38.js";var m={name:"fr",weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),weekStart:1,yearStart:4,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:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},ordinal:function(e){return e+(1===e?"er":"")}};e.locale(m,null,!0);export default m;
@@ -0,0 +1,11 @@
1
+ /*!
2
+ * Copyright 2022 Esri
3
+ * Licensed under the Apache License, Version 2.0
4
+ * http://www.apache.org/licenses/LICENSE-2.0
5
+ */
6
+ import{f as t,h as e}from"./p-91c78d98.js";import{a as o}from"./p-4b9ba22d.js";import{S as n}from"./p-b80631c4.js";import{S as a}from"./p-4e58893d.js";
7
+ /*!
8
+ * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
9
+ * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
10
+ * v1.9.0
11
+ */const i=150,c=t=>t.reduce(((t,e)=>t+e),0)/t.length,l=t=>{const e=t.filter((t=>t.slot!==n.menuActions)),o=e?.length;return{actionWidth:o?c(e.map((t=>t.clientWidth||0))):0,actionHeight:o?c(e.map((t=>t.clientHeight||0))):0}},r=({layout:t,actionCount:e,actionWidth:o,width:n,actionHeight:a,height:i,groupCount:c})=>Math.max(e-(({width:t,actionWidth:e,layout:o,height:n,actionHeight:a,groupCount:i})=>Math.floor((("horizontal"===o?t:n)-2*i)/("horizontal"===o?e:a)))({width:n,actionWidth:o,layout:t,height:i,actionHeight:a,groupCount:c}),0),s=t=>Array.from(t.querySelectorAll("calcite-action")).filter((t=>!t.closest("calcite-action-menu")||t.slot===a.trigger)),p=({actionGroups:e,expanded:o,overflowCount:a})=>{let i=a;e.reverse().forEach((e=>{let a=0;const c=s(e).reverse();c.forEach((t=>{t.slot===n.menuActions&&(t.removeAttribute("slot"),t.textEnabled=o)})),i>0&&c.some((t=>(c.filter((t=>!t.slot)).length>1&&c.length>2&&!t.closest("calcite-action-menu")&&(t.textEnabled=!0,t.setAttribute("slot",n.menuActions),a++,a>1&&i--),i<1))),t(e)}))};function h({el:t,expanded:e}){s(t).filter((t=>t.slot!==n.menuActions)).forEach((t=>t.textEnabled=e)),t.querySelectorAll("calcite-action-group, calcite-action-menu").forEach((t=>t.expanded=e))}const d=({expanded:t,expandText:n,collapseText:a,toggle:i,el:c,position:l,tooltip:r,ref:s,scale:p})=>{const h="rtl"===o(c),d=t?a:n,u=["chevrons-left","chevrons-right"];h&&u.reverse();const f="end"===function(t,e){return t||e.closest("calcite-shell-panel")?.position||"start"}(l,c),g=e("calcite-action",{icon:t?f?u[1]:u[0]:f?u[0]:u[1],onClick:i,scale:p,text:d,textEnabled:t,title:t||r?null:d,ref:e=>(({tooltip:t,referenceElement:e,expanded:o,ref:n})=>(t&&(t.referenceElement=!o&&e?e:null),n&&n(e),e))({tooltip:r,referenceElement:e,expanded:t,ref:s})});return g};export{d as E,p as a,r as b,l as g,i as o,s as q,h as t}
@@ -3,9 +3,9 @@
3
3
  * Licensed under the Apache License, Version 2.0
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
- import{r as t,c as i,h as s,g as e}from"./p-91c78d98.js";import{c as a,d as o,u as r}from"./p-35a41253.js";import{c as n}from"./p-9cb360bd.js";import{d as h,a as d,c as l}from"./p-0f6fa607.js";import{e as c}from"./p-1ba1336c.js";import"./p-943a5ed7.js";import"./p-31fdc998.js";import"./p-31133802.js";
6
+ import{r as t,c as i,h as s,g as e}from"./p-91c78d98.js";import{c as a,d as o,u as r}from"./p-2ee3afea.js";import{c as n}from"./p-efc041d0.js";import{d as h,a as d,c as l}from"./p-1406bcc4.js";import{e as c}from"./p-4b9ba22d.js";import"./p-86f482ca.js";import"./p-361b44ed.js";import"./p-3760847f.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
- * v1.8.0
10
+ * v1.9.0
11
11
  */const p=class{constructor(s){t(this,s),this.calciteListOrderChange=i(this,"calciteListOrderChange",6),this.items=[],this.mutationObserver=n("mutation",(()=>{this.setUpSorting()})),this.dragEnabled=!0,this.canPull=void 0,this.canPut=void 0,this.dragSelector=void 0,this.group=void 0,this.handleSelector="calcite-handle",this.layout="vertical",this.disabled=!1,this.loading=!1}connectedCallback(){h(this)||(this.setUpSorting(),this.beginObserving(),a(this))}disconnectedCallback(){h(this)||(o(this),d(this),this.endObserving())}componentDidRender(){r(this)}calciteHandleNudgeNextHandler(t){this.handleNudgeEvent(t)}onDragStart(){this.endObserving()}onDragEnd(){this.beginObserving()}onDragSort(){this.items=Array.from(this.el.children),this.calciteListOrderChange.emit()}handleNudgeEvent(t){const{direction:i}=t.detail,s=t.composedPath().find((t=>t.matches(this.handleSelector))),e=this.items.find((i=>i.contains(s)||t.composedPath().includes(i))),a=this.items.length-1,o=this.items.indexOf(e);let r,n=!1;"up"===i?0===o?n=!0:r=o-1:o===a?r=0:o===a-1?n=!0:r=o+2,this.endObserving(),n?e.parentElement.appendChild(e):e.parentElement.insertBefore(e,this.items[r]),this.items=Array.from(this.el.children),this.beginObserving(),requestAnimationFrame((()=>c(s))),"activated"in s&&(s.activated=!0)}setUpSorting(){this.items=Array.from(this.el.children),l(this)}beginObserving(){var t;null===(t=this.mutationObserver)||void 0===t||t.observe(this.el,{childList:!0,subtree:!0})}endObserving(){var t;null===(t=this.mutationObserver)||void 0===t||t.disconnect()}render(){const{layout:t}=this,i="horizontal"===t||!1;return s("div",{class:{container:!0,"container--vertical":!i,"container--horizontal":i}},s("slot",null))}get el(){return e(this)}};p.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}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.container{display:flex;flex:1 1 auto}.container--vertical{flex-direction:column}.container--horizontal{flex-direction:row}:host([hidden]){display:none}[hidden]{display:none}";export{p as calcite_sortable_list}
@@ -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 i,h as t,H as n,g as e}from"./p-91c78d98.js";import{a as s,e as o}from"./p-1ba1336c.js";import{c as a,u as l,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}from"./p-31133802.js";import"./p-31fdc998.js";import"./p-943a5ed7.js";const u=class{constructor(t){i(this,t),this.childElClickHandler=i=>{i.isTrusted||i.stopPropagation()},this.storeTagRef=i=>{this.childEl=i},this.disabled=!1,this.download=!1,this.href=void 0,this.iconEnd=void 0,this.iconFlipRtl=void 0,this.iconStart=void 0,this.rel=void 0,this.target=void 0}connectedCallback(){a(this)}componentWillLoad(){r(this)}componentDidLoad(){d(this)}componentDidRender(){l(this)}disconnectedCallback(){c(this)}render(){const{download:i,el:e}=this,o=s(e),a=this.href?"a":"span",l=t("calcite-icon",{class:"calcite-link--icon icon-start",flipRtl:"start"===this.iconFlipRtl||"both"===this.iconFlipRtl,icon:this.iconStart,scale:"s"}),c=t("calcite-icon",{class:"calcite-link--icon icon-end",flipRtl:"end"===this.iconFlipRtl||"both"===this.iconFlipRtl,icon:this.iconEnd,scale:"s"});return t(n,{role:"presentation"},t(a,{class:{[p.rtl]:"rtl"===o},download:"a"!==a||""!==i&&!i?null:i,href:"a"===a&&this.href,onClick:this.childElClickHandler,rel:"a"===a&&this.rel,role:"span"===a?"link":null,tabIndex:"span"===a?0:null,target:"a"===a&&this.target,ref:this.storeTagRef},this.iconStart?l:null,t("slot",null),this.iconEnd?c:null))}clickHandler(i){this.disabled||i.isTrusted||this.childEl.click()}async setFocus(){await h(this),o(this.childEl)}get el(){return e(this)}};u.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:inline}:host a,:host span{position:relative;display:flex;cursor:pointer;align-items:center;justify-content:center;border-radius:0px;border-style:none;font-family:inherit;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;text-decoration:none;line-height:inherit;font-size:inherit;-webkit-appearance:none}:host a:hover,:host span:hover{text-decoration:none}:host a,:host span{outline-color:transparent}:host a:focus,:host span: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 )}calcite-icon{inline-size:1em;block-size:1em;min-inline-size:unset;min-block-size:unset}.calcite-link--icon{vertical-align:middle;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;margin-block-start:-0.25em}:host .calcite-link--icon.icon-start{margin-inline-end:0.5rem}:host .calcite-link--icon.icon-end{margin-inline-start:0.5rem}:host span,:host a{position:relative;display:inline;border-style:none;background-color:transparent;padding:0px;color:var(--calcite-ui-text-link);transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;line-height:inherit;white-space:initial;background-image:linear-gradient(currentColor, currentColor), linear-gradient(var(--calcite-link-blue-underline), var(--calcite-link-blue-underline));background-position-x:0%, 100%;background-position-y:min(1.5em, 100%);background-repeat:no-repeat, no-repeat;background-size:0% 1px, 100% 1px}:host span:hover,:host span:focus,:host a:hover,:host a:focus{background-size:100% 1px, 100% 1px}:host span:active,:host a:active{background-size:100% 2px, 100% 2px}:host span.calcite--rtl,:host a.calcite--rtl{background-position:100% 100%, 100% 100%}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([hidden]){display:none}[hidden]{display:none}";export{u as calcite_link}
6
+ import{r as i,h as t,H as e,g as n}from"./p-91c78d98.js";import{a as s,e as o}from"./p-4b9ba22d.js";import{c as a,u as l,d as c}from"./p-2ee3afea.js";import{s as r,a as d,c as h}from"./p-3a668467.js";import{C as p}from"./p-3760847f.js";import"./p-361b44ed.js";import"./p-86f482ca.js";const u=class{constructor(t){i(this,t),this.childElClickHandler=i=>{i.isTrusted||i.stopPropagation()},this.storeTagRef=i=>{this.childEl=i},this.disabled=!1,this.download=!1,this.href=void 0,this.iconEnd=void 0,this.iconFlipRtl=void 0,this.iconStart=void 0,this.rel=void 0,this.target=void 0}connectedCallback(){a(this)}componentWillLoad(){r(this)}componentDidLoad(){d(this)}componentDidRender(){l(this)}disconnectedCallback(){c(this)}render(){const{download:i,el:n}=this,o=s(n),a=this.href?"a":"span",l=t("calcite-icon",{class:"calcite-link--icon icon-start",flipRtl:"start"===this.iconFlipRtl||"both"===this.iconFlipRtl,icon:this.iconStart,scale:"s"}),c=t("calcite-icon",{class:"calcite-link--icon icon-end",flipRtl:"end"===this.iconFlipRtl||"both"===this.iconFlipRtl,icon:this.iconEnd,scale:"s"});return t(e,{role:"presentation"},t(a,{class:{[p.rtl]:"rtl"===o},download:"a"!==a||""!==i&&!i?null:i,href:"a"===a&&this.href,onClick:this.childElClickHandler,rel:"a"===a&&this.rel,role:"span"===a?"link":null,tabIndex:"span"===a?0:null,target:"a"===a&&this.target,ref:this.storeTagRef},this.iconStart?l:null,t("slot",null),this.iconEnd?c:null))}clickHandler(i){this.disabled||i.isTrusted||this.childEl.click()}async setFocus(){await h(this),o(this.childEl)}get el(){return n(this)}};u.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:inline}:host a,:host span{position:relative;display:flex;cursor:pointer;align-items:center;justify-content:center;border-radius:0px;border-style:none;font-family:inherit;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;text-decoration:none;line-height:inherit;font-size:inherit;-webkit-appearance:none}:host a:hover,:host span:hover{text-decoration:none}:host a,:host span{outline-color:transparent}:host a:focus,:host span: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 )}calcite-icon{inline-size:1em;block-size:1em;min-inline-size:unset;min-block-size:unset}.calcite-link--icon{vertical-align:middle;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;margin-block-start:-0.25em}:host .calcite-link--icon.icon-start{margin-inline-end:0.5rem}:host .calcite-link--icon.icon-end{margin-inline-start:0.5rem}:host span,:host a{position:relative;display:inline;border-style:none;background-color:transparent;padding:0px;color:var(--calcite-ui-text-link);transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;line-height:inherit;white-space:initial;background-image:linear-gradient(currentColor, currentColor), linear-gradient(var(--calcite-link-blue-underline), var(--calcite-link-blue-underline));background-position-x:0%, 100%;background-position-y:min(1.5em, 100%);background-repeat:no-repeat, no-repeat;background-size:0% 1px, 100% 1px}:host span:hover,:host span:focus,:host a:hover,:host a:focus{background-size:100% 1px, 100% 1px}:host span:active,:host a:active{background-size:100% 2px, 100% 2px}:host span.calcite--rtl,:host a.calcite--rtl{background-position:100% 100%, 100% 100%}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([hidden]){display:none}[hidden]{display:none}";export{u as calcite_link}