@esri/calcite-components 1.0.0-next.595 → 1.0.0-next.597

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1229) hide show
  1. package/dist/calcite/assets/date-picker/nls/messages.json +31 -0
  2. package/dist/calcite/assets/date-picker/t9n/index.d.ts +5 -0
  3. package/dist/calcite/assets/date-picker/t9n/messages.json +5 -0
  4. package/dist/calcite/assets/date-picker/t9n/messages_ar.json +5 -0
  5. package/dist/calcite/assets/date-picker/t9n/messages_bg.json +5 -0
  6. package/dist/calcite/assets/date-picker/t9n/messages_bs.json +5 -0
  7. package/dist/calcite/assets/date-picker/t9n/messages_ca.json +5 -0
  8. package/dist/calcite/assets/date-picker/t9n/messages_cs.json +5 -0
  9. package/dist/calcite/assets/date-picker/t9n/messages_da.json +5 -0
  10. package/dist/calcite/assets/date-picker/t9n/messages_de.json +5 -0
  11. package/dist/calcite/assets/date-picker/t9n/messages_el.json +5 -0
  12. package/dist/calcite/assets/date-picker/t9n/messages_en.json +5 -0
  13. package/dist/calcite/assets/date-picker/t9n/messages_es.json +5 -0
  14. package/dist/calcite/assets/date-picker/t9n/messages_et.json +5 -0
  15. package/dist/calcite/assets/date-picker/t9n/messages_fi.json +5 -0
  16. package/dist/calcite/assets/date-picker/t9n/messages_fr.json +5 -0
  17. package/dist/calcite/assets/date-picker/t9n/messages_he.json +5 -0
  18. package/dist/calcite/assets/date-picker/t9n/messages_hr.json +5 -0
  19. package/dist/calcite/assets/date-picker/t9n/messages_hu.json +5 -0
  20. package/dist/calcite/assets/date-picker/t9n/messages_id.json +5 -0
  21. package/dist/calcite/assets/date-picker/t9n/messages_it.json +5 -0
  22. package/dist/calcite/assets/date-picker/t9n/messages_ja.json +5 -0
  23. package/dist/calcite/assets/date-picker/t9n/messages_ko.json +5 -0
  24. package/dist/calcite/assets/date-picker/t9n/messages_lt.json +5 -0
  25. package/dist/calcite/assets/date-picker/t9n/messages_lv.json +5 -0
  26. package/dist/calcite/assets/date-picker/t9n/messages_nl.json +5 -0
  27. package/dist/calcite/assets/date-picker/t9n/messages_no.json +5 -0
  28. package/dist/calcite/assets/date-picker/t9n/messages_pl.json +5 -0
  29. package/dist/calcite/assets/date-picker/t9n/messages_pt-BR.json +5 -0
  30. package/dist/calcite/assets/date-picker/t9n/messages_pt-PT.json +5 -0
  31. package/dist/calcite/assets/date-picker/t9n/messages_ro.json +5 -0
  32. package/dist/calcite/assets/date-picker/t9n/messages_ru.json +5 -0
  33. package/dist/calcite/assets/date-picker/t9n/messages_sk.json +5 -0
  34. package/dist/calcite/assets/date-picker/t9n/messages_sl.json +5 -0
  35. package/dist/calcite/assets/date-picker/t9n/messages_sr.json +5 -0
  36. package/dist/calcite/assets/date-picker/t9n/messages_sv.json +5 -0
  37. package/dist/calcite/assets/date-picker/t9n/messages_th.json +5 -0
  38. package/dist/calcite/assets/date-picker/t9n/messages_tr.json +5 -0
  39. package/dist/calcite/assets/date-picker/t9n/messages_uk.json +5 -0
  40. package/dist/calcite/assets/date-picker/t9n/messages_vi.json +5 -0
  41. package/dist/calcite/assets/date-picker/t9n/messages_zh-CN.json +5 -0
  42. package/dist/calcite/assets/date-picker/t9n/messages_zh-HK.json +5 -0
  43. package/dist/calcite/assets/date-picker/t9n/messages_zh-TW.json +5 -0
  44. package/dist/calcite/calcite.css +1 -1
  45. package/dist/calcite/calcite.esm.js +2 -2
  46. package/dist/calcite/index.esm.js +1 -1
  47. package/dist/calcite/p-0043efc4.js +6 -0
  48. package/dist/calcite/p-016cee24.entry.js +6 -0
  49. package/dist/calcite/p-01cb5477.js +6 -0
  50. package/dist/calcite/{p-3f0bff3d.js → p-034710a1.js} +1 -1
  51. package/dist/calcite/p-06505dc6.entry.js +6 -0
  52. package/dist/calcite/{p-0c1c7d97.js → p-1085e82f.js} +2 -2
  53. package/dist/calcite/p-10c17d1c.entry.js +6 -0
  54. package/dist/calcite/{p-528f6d0e.js → p-1421f9ec.js} +1 -1
  55. package/dist/calcite/p-14c442cb.entry.js +6 -0
  56. package/dist/calcite/{p-212c3e0a.js → p-179ed97a.js} +1 -1
  57. package/dist/calcite/p-19c7faaf.entry.js +6 -0
  58. package/dist/calcite/p-1b9e3fb0.entry.js +6 -0
  59. package/dist/calcite/{p-baa991b4.js → p-205462c9.js} +1 -1
  60. package/dist/calcite/p-21931632.entry.js +6 -0
  61. package/dist/calcite/p-228315da.entry.js +6 -0
  62. package/dist/calcite/p-27969266.entry.js +6 -0
  63. package/dist/calcite/{p-17d3d1e6.js → p-2a88fa13.js} +1 -1
  64. package/dist/calcite/p-2e141574.entry.js +6 -0
  65. package/dist/calcite/p-36aa3ea2.entry.js +6 -0
  66. package/dist/calcite/p-3d1ef84a.entry.js +6 -0
  67. package/dist/calcite/{p-ca1e3efb.js → p-3d3d179c.js} +2 -2
  68. package/dist/calcite/p-416510d6.js +6 -0
  69. package/dist/calcite/p-421dc091.entry.js +6 -0
  70. package/dist/calcite/p-46ff1ae6.entry.js +6 -0
  71. package/dist/calcite/p-4c8218d4.entry.js +6 -0
  72. package/dist/calcite/p-4e7b4c6c.entry.js +6 -0
  73. package/dist/calcite/{p-1faa49f5.js → p-576a4d3b.js} +2 -2
  74. package/dist/calcite/p-59772111.js +6 -0
  75. package/dist/calcite/p-5a81c608.entry.js +6 -0
  76. package/dist/calcite/p-5da89821.entry.js +6 -0
  77. package/dist/calcite/{p-ac18cf8c.js → p-5dc47d03.js} +1 -1
  78. package/dist/calcite/p-61cbec79.entry.js +6 -0
  79. package/dist/calcite/{p-a330e586.js → p-627b4177.js} +1 -1
  80. package/dist/calcite/p-6505334e.entry.js +6 -0
  81. package/dist/calcite/{p-364c1221.js → p-65e8434d.js} +1 -1
  82. package/dist/calcite/p-672cf3c2.js +6 -0
  83. package/dist/calcite/p-67890d9f.js +6 -0
  84. package/dist/calcite/{p-e3aab5a0.js → p-67c0d879.js} +1 -1
  85. package/dist/calcite/{p-040f674d.js → p-6b8d9887.js} +2 -2
  86. package/dist/calcite/p-6bf1fe3b.entry.js +6 -0
  87. package/dist/calcite/p-6e070c45.entry.js +6 -0
  88. package/dist/calcite/p-7dddc346.js +6 -0
  89. package/dist/calcite/p-7e36e2c5.entry.js +6 -0
  90. package/dist/calcite/p-80a6379c.entry.js +6 -0
  91. package/dist/calcite/p-86384397.entry.js +6 -0
  92. package/dist/calcite/p-91db8a1d.entry.js +6 -0
  93. package/dist/calcite/p-975aba66.js +7 -0
  94. package/dist/calcite/p-9804459d.entry.js +6 -0
  95. package/dist/calcite/p-99889377.entry.js +6 -0
  96. package/dist/calcite/{p-77331416.js → p-a0db47b9.js} +1 -1
  97. package/dist/calcite/p-a25cc528.entry.js +6 -0
  98. package/dist/calcite/p-a5ec748f.entry.js +6 -0
  99. package/dist/calcite/p-a71a4bc5.entry.js +6 -0
  100. package/dist/calcite/p-a7626d19.entry.js +6 -0
  101. package/dist/calcite/p-a8b04902.entry.js +6 -0
  102. package/dist/calcite/p-ab03590a.entry.js +6 -0
  103. package/dist/calcite/p-ae8f6623.entry.js +6 -0
  104. package/dist/calcite/{p-25d96137.js → p-b072ee90.js} +2 -2
  105. package/dist/calcite/p-b31ac46b.entry.js +6 -0
  106. package/dist/calcite/p-b7dafefc.entry.js +6 -0
  107. package/dist/calcite/p-b8492482.entry.js +6 -0
  108. package/dist/{esm-es5/index.js → calcite/p-b9542a0a.js} +2 -1
  109. package/dist/calcite/p-ba334a9d.entry.js +6 -0
  110. package/dist/calcite/p-bb21323e.entry.js +6 -0
  111. package/dist/calcite/{p-f7a84b1c.js → p-c2258fac.js} +1 -1
  112. package/dist/calcite/p-ce15d4a4.entry.js +6 -0
  113. package/dist/calcite/p-ce171933.entry.js +6 -0
  114. package/dist/calcite/{p-da09db80.js → p-d16a1324.js} +1 -1
  115. package/dist/calcite/p-d465da16.entry.js +6 -0
  116. package/dist/calcite/p-d4bab92e.entry.js +6 -0
  117. package/dist/calcite/p-d6067141.entry.js +6 -0
  118. package/dist/calcite/p-d758a89d.entry.js +6 -0
  119. package/dist/calcite/p-da5fac1a.entry.js +6 -0
  120. package/dist/calcite/p-df9538a5.entry.js +6 -0
  121. package/dist/calcite/p-dfd51f34.entry.js +6 -0
  122. package/dist/calcite/p-e1c801a6.entry.js +6 -0
  123. package/dist/calcite/p-e9ccd0bc.entry.js +6 -0
  124. package/dist/calcite/p-ec1d7ff7.entry.js +6 -0
  125. package/dist/calcite/p-ec7e67d0.entry.js +6 -0
  126. package/dist/calcite/p-ed51bd87.entry.js +6 -0
  127. package/dist/calcite/p-f52edbbb.entry.js +6 -0
  128. package/dist/calcite/p-f64286c8.entry.js +6 -0
  129. package/dist/calcite/{p-fc949045.entry.js → p-f66dfaea.entry.js} +2 -2
  130. package/dist/calcite/p-f827044c.entry.js +6 -0
  131. package/dist/calcite/p-f94b6442.entry.js +6 -0
  132. package/dist/calcite/{p-cb82c3c5.js → p-fb5602cf.js} +2 -2
  133. package/dist/calcite/{p-0edfc62f.js → p-fd6d1ed1.js} +1 -1
  134. package/dist/calcite/p-ff82e6f2.entry.js +6 -0
  135. package/dist/cjs/{ExpandToggle-4a0ab85e.js → ExpandToggle-73285037.js} +5 -5
  136. package/dist/cjs/{Heading-1fbb7bbc.js → Heading-5409de6d.js} +2 -2
  137. package/dist/cjs/{app-globals-d1a331c4.js → app-globals-77859a02.js} +2 -2
  138. package/dist/cjs/{array-63bb5266.js → array-f86c9258.js} +1 -1
  139. package/dist/cjs/calcite-accordion_2.cjs.entry.js +9 -9
  140. package/dist/cjs/calcite-action-bar.cjs.entry.js +12 -12
  141. package/dist/cjs/calcite-action-group.cjs.entry.js +10 -10
  142. package/dist/cjs/calcite-action-menu.cjs.entry.js +11 -10
  143. package/dist/cjs/calcite-action-pad.cjs.entry.js +11 -11
  144. package/dist/cjs/calcite-action.cjs.entry.js +8 -8
  145. package/dist/cjs/calcite-alert.cjs.entry.js +22 -9
  146. package/dist/cjs/calcite-avatar.cjs.entry.js +7 -7
  147. package/dist/cjs/calcite-block_2.cjs.entry.js +12 -12
  148. package/dist/cjs/calcite-button.cjs.entry.js +10 -10
  149. package/dist/cjs/calcite-card.cjs.entry.js +8 -8
  150. package/dist/cjs/calcite-checkbox.cjs.entry.js +11 -11
  151. package/dist/cjs/calcite-chip.cjs.entry.js +9 -9
  152. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +13 -13
  153. package/dist/cjs/calcite-combobox_3.cjs.entry.js +21 -19
  154. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +25 -20
  155. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +17 -15
  156. package/dist/cjs/calcite-fab.cjs.entry.js +8 -8
  157. package/dist/cjs/calcite-filter.cjs.entry.js +9 -9
  158. package/dist/cjs/calcite-flow-item.cjs.entry.js +14 -16
  159. package/dist/cjs/calcite-flow.cjs.entry.js +4 -4
  160. package/dist/cjs/calcite-graph_2.cjs.entry.js +26 -24
  161. package/dist/cjs/calcite-handle.cjs.entry.js +6 -6
  162. package/dist/cjs/calcite-icon.cjs.entry.js +7 -7
  163. package/dist/cjs/calcite-inline-editable.cjs.entry.js +9 -9
  164. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +45 -40
  165. package/dist/cjs/calcite-input-message.cjs.entry.js +9 -9
  166. package/dist/cjs/calcite-input-number.cjs.entry.js +56 -37
  167. package/dist/cjs/calcite-input-text.cjs.entry.js +12 -12
  168. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +77 -71
  169. package/dist/cjs/calcite-input.cjs.entry.js +81 -59
  170. package/dist/cjs/calcite-label.cjs.entry.js +16 -16
  171. package/dist/cjs/calcite-link.cjs.entry.js +9 -9
  172. package/dist/cjs/calcite-list_3.cjs.entry.js +12 -12
  173. package/dist/cjs/calcite-loader.cjs.entry.js +4 -4
  174. package/dist/cjs/calcite-modal.cjs.entry.js +9 -9
  175. package/dist/cjs/calcite-notice.cjs.entry.js +9 -9
  176. package/dist/cjs/calcite-option_3.cjs.entry.js +13 -13
  177. package/dist/cjs/calcite-pagination.cjs.entry.js +19 -12
  178. package/dist/cjs/calcite-panel.cjs.entry.js +17 -19
  179. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +15 -15
  180. package/dist/cjs/calcite-popover_2.cjs.entry.js +16 -14
  181. package/dist/cjs/calcite-progress.cjs.entry.js +3 -3
  182. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +5 -5
  183. package/dist/cjs/calcite-radio-button.cjs.entry.js +11 -11
  184. package/dist/cjs/calcite-radio-group_2.cjs.entry.js +14 -14
  185. package/dist/cjs/calcite-rating.cjs.entry.js +13 -13
  186. package/dist/cjs/calcite-scrim.cjs.entry.js +3 -3
  187. package/dist/cjs/calcite-shell_3.cjs.entry.js +12 -12
  188. package/dist/cjs/calcite-sortable-list.cjs.entry.js +6 -6
  189. package/dist/cjs/calcite-split-button.cjs.entry.js +7 -5
  190. package/dist/cjs/calcite-stepper_2.cjs.entry.js +8 -8
  191. package/dist/cjs/calcite-switch.cjs.entry.js +11 -11
  192. package/dist/cjs/calcite-tab_4.cjs.entry.js +13 -13
  193. package/dist/cjs/calcite-tile-select_2.cjs.entry.js +7 -7
  194. package/dist/cjs/calcite-tile.cjs.entry.js +9 -9
  195. package/dist/cjs/calcite-tip_3.cjs.entry.js +11 -11
  196. package/dist/cjs/calcite-tooltip_2.cjs.entry.js +12 -10
  197. package/dist/cjs/calcite-tree_2.cjs.entry.js +131 -84
  198. package/dist/cjs/calcite-value-list_2.cjs.entry.js +14 -14
  199. package/dist/cjs/calcite.cjs.js +6 -6
  200. package/dist/cjs/{conditionalSlot-48259d2f.js → conditionalSlot-cdf70b61.js} +3 -3
  201. package/dist/cjs/{debounce-444c61e6.js → debounce-1f3af549.js} +1 -1
  202. package/dist/cjs/{dom-17cbe5f9.js → dom-9409deef.js} +29 -3
  203. package/dist/cjs/{filter-4b4c17eb.js → filter-6497f68a.js} +3 -4
  204. package/dist/cjs/{floating-ui-d2fd91be.js → floating-ui-40005e27.js} +2 -2
  205. package/dist/cjs/{form-d36ccbaa.js → form-ed16c84e.js} +3 -3
  206. package/dist/cjs/{guid-71eeef87.js → guid-07011a93.js} +1 -1
  207. package/dist/cjs/{index-e699ab1d.js → index-dbaff4c6.js} +1117 -946
  208. package/dist/cjs/index.cjs.js +1 -1
  209. package/dist/cjs/{interactive-248d4df1.js → interactive-825762eb.js} +1 -1
  210. package/dist/cjs/{interfaces-02117a90.js → interfaces-a747d1cf.js} +1 -1
  211. package/dist/cjs/{key-8da42cd8.js → key-40cfbef8.js} +1 -1
  212. package/dist/cjs/{label-3069e784.js → label-942c98df.js} +2 -2
  213. package/dist/cjs/loader.cjs.js +6 -6
  214. package/dist/cjs/locale-3b5c2d93.js +385 -0
  215. package/dist/cjs/{math-934e3577.js → math-19d2ae8c.js} +1 -1
  216. package/dist/cjs/observers-2571ea25.js +48 -0
  217. package/dist/cjs/{openCloseComponent-11affea3.js → openCloseComponent-c152728d.js} +1 -1
  218. package/dist/cjs/{resources-328bbbda.js → resources-110e5929.js} +1 -1
  219. package/dist/cjs/{resources-6d78ccb2.js → resources-24f7e730.js} +11 -31
  220. package/dist/cjs/{resources-2502edf6.js → resources-5f061484.js} +5 -5
  221. package/dist/cjs/{resources-59a8b3e8.js → resources-adfdf58d.js} +1 -1
  222. package/dist/cjs/{resources-94f5d61d.js → resources-b88532e5.js} +1 -1
  223. package/dist/cjs/{resources-00871247.js → resources-e5387109.js} +1 -1
  224. package/dist/cjs/{sortable.esm-daee2adc.js → sortable.esm-9b594ce7.js} +1 -1
  225. package/dist/cjs/{utils-31a2c3c9.js → utils-0af662a9.js} +1 -1
  226. package/dist/collection/collection-manifest.json +2 -2
  227. package/dist/collection/components/accordion/accordion.e2e.js +183 -0
  228. package/dist/collection/components/accordion/accordion.js +160 -151
  229. package/dist/collection/components/accordion/interfaces.js +0 -5
  230. package/dist/collection/components/accordion-item/accordion-item.e2e.js +8 -0
  231. package/dist/collection/components/accordion-item/accordion-item.js +301 -305
  232. package/dist/collection/components/accordion-item/interfaces.js +0 -5
  233. package/dist/collection/components/accordion-item/resources.js +1 -1
  234. package/dist/collection/components/action/action.e2e.js +93 -0
  235. package/dist/collection/components/action/action.js +293 -290
  236. package/dist/collection/components/action/resources.js +1 -1
  237. package/dist/collection/components/action-bar/action-bar.e2e.js +290 -0
  238. package/dist/collection/components/action-bar/action-bar.js +239 -232
  239. package/dist/collection/components/action-bar/resources.js +1 -1
  240. package/dist/collection/components/action-bar/utils.js +1 -1
  241. package/dist/collection/components/action-group/action-group.e2e.js +23 -0
  242. package/dist/collection/components/action-group/action-group.js +136 -133
  243. package/dist/collection/components/action-group/resources.js +1 -1
  244. package/dist/collection/components/action-menu/action-menu.e2e.js +153 -0
  245. package/dist/collection/components/action-menu/action-menu.js +220 -209
  246. package/dist/collection/components/action-menu/resources.js +1 -1
  247. package/dist/collection/components/action-pad/action-pad.e2e.js +178 -0
  248. package/dist/collection/components/action-pad/action-pad.js +196 -189
  249. package/dist/collection/components/action-pad/resources.js +1 -1
  250. package/dist/collection/components/alert/alert.css +1 -1
  251. package/dist/collection/components/alert/alert.e2e.js +294 -0
  252. package/dist/collection/components/alert/alert.js +410 -372
  253. package/dist/collection/components/alert/interfaces.js +1 -1
  254. package/dist/collection/components/alert/resources.js +1 -1
  255. package/dist/collection/components/avatar/avatar.e2e.js +55 -0
  256. package/dist/collection/components/avatar/avatar.js +107 -99
  257. package/dist/collection/components/avatar/avatar.spec.js +42 -0
  258. package/dist/collection/components/avatar/utils.js +1 -1
  259. package/dist/collection/components/block/block.e2e.js +194 -0
  260. package/dist/collection/components/block/block.js +319 -326
  261. package/dist/collection/components/block/resources.js +1 -1
  262. package/dist/collection/components/block-section/block-section.e2e.js +132 -0
  263. package/dist/collection/components/block-section/block-section.js +143 -145
  264. package/dist/collection/components/block-section/interfaces.js +0 -5
  265. package/dist/collection/components/block-section/resources.js +1 -1
  266. package/dist/collection/components/button/button.e2e.js +529 -0
  267. package/dist/collection/components/button/button.js +430 -424
  268. package/dist/collection/components/button/interfaces.js +0 -5
  269. package/dist/collection/components/button/resources.js +1 -1
  270. package/dist/collection/components/card/card.e2e.js +87 -0
  271. package/dist/collection/components/card/card.js +171 -179
  272. package/dist/collection/components/card/resources.js +1 -1
  273. package/dist/collection/components/checkbox/checkbox.e2e.js +105 -0
  274. package/dist/collection/components/checkbox/checkbox.js +269 -264
  275. package/dist/collection/components/chip/chip.e2e.js +149 -0
  276. package/dist/collection/components/chip/chip.js +258 -253
  277. package/dist/collection/components/chip/interfaces.js +0 -5
  278. package/dist/collection/components/chip/resources.js +1 -1
  279. package/dist/collection/components/color-picker/color-picker.e2e.js +1068 -0
  280. package/dist/collection/components/color-picker/color-picker.js +779 -780
  281. package/dist/collection/components/color-picker/interfaces.js +0 -5
  282. package/dist/collection/components/color-picker/resources.js +1 -1
  283. package/dist/collection/components/color-picker/utils.js +1 -1
  284. package/dist/collection/components/color-picker/utils.spec.js +66 -0
  285. package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.e2e.js +281 -0
  286. package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +189 -170
  287. package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
  288. package/dist/collection/components/color-picker-swatch/color-picker-swatch.e2e.js +71 -0
  289. package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +81 -75
  290. package/dist/collection/components/color-picker-swatch/resources.js +1 -1
  291. package/dist/collection/components/combobox/combobox.e2e.js +1043 -0
  292. package/dist/collection/components/combobox/combobox.js +551 -550
  293. package/dist/collection/components/combobox/interfaces.js +0 -5
  294. package/dist/collection/components/combobox/resources.js +1 -1
  295. package/dist/collection/components/combobox/utils.js +1 -1
  296. package/dist/collection/components/combobox-item/combobox-item.e2e.js +7 -0
  297. package/dist/collection/components/combobox-item/combobox-item.js +241 -235
  298. package/dist/collection/components/combobox-item/resources.js +1 -1
  299. package/dist/collection/components/combobox-item-group/combobox-item-group.js +50 -47
  300. package/dist/collection/components/combobox-item-group/resources.js +1 -1
  301. package/dist/collection/components/date-picker/assets/date-picker/nls/messages.json +31 -0
  302. package/dist/collection/components/date-picker/assets/date-picker/t9n/index.d.ts +5 -0
  303. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages.json +5 -0
  304. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_ar.json +5 -0
  305. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_bg.json +5 -0
  306. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_bs.json +5 -0
  307. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_ca.json +5 -0
  308. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_cs.json +5 -0
  309. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_da.json +5 -0
  310. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_de.json +5 -0
  311. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_el.json +5 -0
  312. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_en.json +5 -0
  313. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_es.json +5 -0
  314. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_et.json +5 -0
  315. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_fi.json +5 -0
  316. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_fr.json +5 -0
  317. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_he.json +5 -0
  318. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_hr.json +5 -0
  319. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_hu.json +5 -0
  320. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_id.json +5 -0
  321. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_it.json +5 -0
  322. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_ja.json +5 -0
  323. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_ko.json +5 -0
  324. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_lt.json +5 -0
  325. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_lv.json +5 -0
  326. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_nl.json +5 -0
  327. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_no.json +5 -0
  328. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_pl.json +5 -0
  329. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_pt-BR.json +5 -0
  330. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_pt-PT.json +5 -0
  331. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_ro.json +5 -0
  332. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_ru.json +5 -0
  333. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_sk.json +5 -0
  334. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_sl.json +5 -0
  335. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_sr.json +5 -0
  336. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_sv.json +5 -0
  337. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_th.json +5 -0
  338. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_tr.json +5 -0
  339. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_uk.json +5 -0
  340. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_vi.json +5 -0
  341. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_zh-CN.json +5 -0
  342. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_zh-HK.json +5 -0
  343. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_zh-TW.json +5 -0
  344. package/dist/collection/components/date-picker/date-picker.e2e.js +195 -0
  345. package/dist/collection/components/date-picker/date-picker.js +462 -447
  346. package/dist/collection/components/date-picker/interfaces.js +0 -5
  347. package/dist/collection/components/date-picker/resources.js +1 -1
  348. package/dist/collection/components/date-picker/utils.js +2 -22
  349. package/dist/collection/components/date-picker/utils.spec.js +55 -0
  350. package/dist/collection/components/date-picker-day/date-picker-day.css +48 -24
  351. package/dist/collection/components/date-picker-day/date-picker-day.e2e.js +16 -0
  352. package/dist/collection/components/date-picker-day/date-picker-day.js +284 -278
  353. package/dist/collection/components/date-picker-month/date-picker-month.js +256 -249
  354. package/dist/collection/components/date-picker-month-header/date-picker-month-header.e2e.js +72 -0
  355. package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +228 -227
  356. package/dist/collection/components/date-picker-month-header/resources.js +1 -1
  357. package/dist/collection/components/dropdown/dropdown.e2e.js +1030 -0
  358. package/dist/collection/components/dropdown/dropdown.js +422 -411
  359. package/dist/collection/components/dropdown/interfaces.js +0 -5
  360. package/dist/collection/components/dropdown/resources.js +1 -1
  361. package/dist/collection/components/dropdown-group/dropdown-group.e2e.js +5 -0
  362. package/dist/collection/components/dropdown-group/dropdown-group.js +113 -107
  363. package/dist/collection/components/dropdown-group/interfaces.js +0 -5
  364. package/dist/collection/components/dropdown-group/resources.js +1 -1
  365. package/dist/collection/components/dropdown-item/dropdown-item.e2e.js +6 -0
  366. package/dist/collection/components/dropdown-item/dropdown-item.js +292 -282
  367. package/dist/collection/components/dropdown-item/resources.js +1 -1
  368. package/dist/collection/components/fab/fab.e2e.js +114 -0
  369. package/dist/collection/components/fab/fab.js +205 -197
  370. package/dist/collection/components/fab/resources.js +1 -1
  371. package/dist/collection/components/filter/filter.e2e.js +205 -0
  372. package/dist/collection/components/filter/filter.js +200 -191
  373. package/dist/collection/components/filter/resources.js +1 -1
  374. package/dist/collection/components/flow/flow.e2e.js +166 -0
  375. package/dist/collection/components/flow/flow.js +55 -46
  376. package/dist/collection/components/flow/interfaces.js +0 -5
  377. package/dist/collection/components/flow/resources.js +1 -1
  378. package/dist/collection/components/flow-item/flow-item.e2e.js +72 -0
  379. package/dist/collection/components/flow-item/flow-item.js +396 -394
  380. package/dist/collection/components/flow-item/resources.js +1 -1
  381. package/dist/collection/components/functional/ExpandToggle.js +1 -1
  382. package/dist/collection/components/functional/Heading.js +1 -1
  383. package/dist/collection/components/functional/Heading.spec.js +33 -0
  384. package/dist/collection/components/graph/graph.e2e.js +69 -0
  385. package/dist/collection/components/graph/graph.js +125 -125
  386. package/dist/collection/components/graph/interfaces.js +0 -5
  387. package/dist/collection/components/graph/util.js +1 -1
  388. package/dist/collection/components/handle/handle.e2e.js +30 -0
  389. package/dist/collection/components/handle/handle.js +94 -85
  390. package/dist/collection/components/handle/resources.js +1 -1
  391. package/dist/collection/components/icon/icon.e2e.js +75 -0
  392. package/dist/collection/components/icon/icon.js +107 -98
  393. package/dist/collection/components/icon/resources.js +1 -1
  394. package/dist/collection/components/icon/utils.js +1 -1
  395. package/dist/collection/components/icon/utils.spec.js +61 -0
  396. package/dist/collection/components/inline-editable/inline-editable.e2e.js +327 -0
  397. package/dist/collection/components/inline-editable/inline-editable.js +274 -266
  398. package/dist/collection/components/inline-editable/resources.js +1 -1
  399. package/dist/collection/components/input/input.e2e.js +1192 -0
  400. package/dist/collection/components/input/input.js +873 -856
  401. package/dist/collection/components/input/interfaces.js +0 -5
  402. package/dist/collection/components/input/resources.js +1 -1
  403. package/dist/collection/components/input-date-picker/input-date-picker.css +1 -1
  404. package/dist/collection/components/input-date-picker/input-date-picker.e2e.js +295 -0
  405. package/dist/collection/components/input-date-picker/input-date-picker.js +799 -793
  406. package/dist/collection/components/input-date-picker/resources.js +1 -1
  407. package/dist/collection/components/input-message/input-message.css +1 -1
  408. package/dist/collection/components/input-message/input-message.e2e.js +122 -0
  409. package/dist/collection/components/input-message/input-message.js +124 -118
  410. package/dist/collection/components/input-message/interfaces.js +1 -1
  411. package/dist/collection/components/input-number/input-number.e2e.js +1004 -0
  412. package/dist/collection/components/input-number/input-number.js +803 -787
  413. package/dist/collection/components/input-number/interfaces.js +0 -5
  414. package/dist/collection/components/input-number/resources.js +1 -1
  415. package/dist/collection/components/input-text/input-text.e2e.js +276 -0
  416. package/dist/collection/components/input-text/input-text.js +596 -597
  417. package/dist/collection/components/input-text/resources.js +1 -1
  418. package/dist/collection/components/input-time-picker/input-time-picker.e2e.js +241 -0
  419. package/dist/collection/components/input-time-picker/input-time-picker.js +591 -577
  420. package/dist/collection/components/interfaces.js +0 -5
  421. package/dist/collection/components/label/label.css +1 -1
  422. package/dist/collection/components/label/label.e2e.js +156 -0
  423. package/dist/collection/components/label/label.js +189 -183
  424. package/dist/collection/components/label/resources.js +1 -1
  425. package/dist/collection/components/link/link.e2e.js +257 -0
  426. package/dist/collection/components/link/link.js +186 -180
  427. package/dist/collection/components/list/list.e2e.js +32 -0
  428. package/dist/collection/components/list/list.js +75 -69
  429. package/dist/collection/components/list/resources.js +1 -1
  430. package/dist/collection/components/list-item/list-item.e2e.js +46 -0
  431. package/dist/collection/components/list-item/list-item.js +107 -111
  432. package/dist/collection/components/list-item/resources.js +1 -1
  433. package/dist/collection/components/list-item-group/list-item-group.e2e.js +16 -0
  434. package/dist/collection/components/list-item-group/list-item-group.js +54 -51
  435. package/dist/collection/components/list-item-group/resources.js +1 -1
  436. package/dist/collection/components/loader/loader.css +2 -2
  437. package/dist/collection/components/loader/loader.e2e.js +49 -0
  438. package/dist/collection/components/loader/loader.js +166 -169
  439. package/dist/collection/components/modal/interfaces.js +0 -5
  440. package/dist/collection/components/modal/modal.e2e.js +382 -0
  441. package/dist/collection/components/modal/modal.js +470 -473
  442. package/dist/collection/components/modal/resources.js +1 -1
  443. package/dist/collection/components/notice/notice.e2e.js +127 -0
  444. package/dist/collection/components/notice/notice.js +263 -261
  445. package/dist/collection/components/notice/resources.js +1 -1
  446. package/dist/collection/components/option/option.e2e.js +56 -0
  447. package/dist/collection/components/option/option.js +117 -107
  448. package/dist/collection/components/option-group/option-group.e2e.js +26 -0
  449. package/dist/collection/components/option-group/option-group.js +80 -72
  450. package/dist/collection/components/pagination/pagination.e2e.js +208 -0
  451. package/dist/collection/components/pagination/pagination.js +265 -257
  452. package/dist/collection/components/pagination/resources.js +1 -1
  453. package/dist/collection/components/panel/panel.css +1 -1
  454. package/dist/collection/components/panel/panel.e2e.js +281 -0
  455. package/dist/collection/components/panel/panel.js +543 -552
  456. package/dist/collection/components/panel/resources.js +1 -1
  457. package/dist/collection/components/pick-list/pick-list.e2e.js +157 -0
  458. package/dist/collection/components/pick-list/pick-list.js +249 -235
  459. package/dist/collection/components/pick-list/resources.js +1 -1
  460. package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
  461. package/dist/collection/components/pick-list/shared-list-render.js +2 -9
  462. package/dist/collection/components/pick-list/shared-list-tests.js +463 -0
  463. package/dist/collection/components/pick-list-group/pick-list-group.e2e.js +54 -0
  464. package/dist/collection/components/pick-list-group/pick-list-group.js +54 -52
  465. package/dist/collection/components/pick-list-group/resources.js +1 -1
  466. package/dist/collection/components/pick-list-item/pick-list-item.e2e.js +124 -0
  467. package/dist/collection/components/pick-list-item/pick-list-item.js +346 -344
  468. package/dist/collection/components/pick-list-item/resources.js +1 -1
  469. package/dist/collection/components/popover/PopoverManager.js +1 -1
  470. package/dist/collection/components/popover/popover.e2e.js +454 -0
  471. package/dist/collection/components/popover/popover.js +539 -534
  472. package/dist/collection/components/popover/resources.js +1 -1
  473. package/dist/collection/components/popover-manager/popover-manager.e2e.js +38 -0
  474. package/dist/collection/components/popover-manager/popover-manager.js +60 -52
  475. package/dist/collection/components/progress/progress.e2e.js +7 -0
  476. package/dist/collection/components/progress/progress.js +105 -102
  477. package/dist/collection/components/radio-button/radio-button.e2e.js +332 -0
  478. package/dist/collection/components/radio-button/radio-button.js +345 -334
  479. package/dist/collection/components/radio-button/resources.js +1 -1
  480. package/dist/collection/components/radio-button-group/radio-button-group.e2e.js +384 -0
  481. package/dist/collection/components/radio-button-group/radio-button-group.js +169 -158
  482. package/dist/collection/components/radio-group/interfaces.js +0 -5
  483. package/dist/collection/components/radio-group/radio-group.e2e.js +258 -0
  484. package/dist/collection/components/radio-group/radio-group.js +254 -242
  485. package/dist/collection/components/radio-group-item/radio-group-item.e2e.js +92 -0
  486. package/dist/collection/components/radio-group-item/radio-group-item.js +178 -175
  487. package/dist/collection/components/radio-group-item/resources.js +1 -1
  488. package/dist/collection/components/rating/rating.e2e.js +450 -0
  489. package/dist/collection/components/rating/rating.js +273 -274
  490. package/dist/collection/components/rating/resources.js +1 -1
  491. package/dist/collection/components/scrim/resources.js +1 -1
  492. package/dist/collection/components/scrim/scrim.e2e.js +122 -0
  493. package/dist/collection/components/scrim/scrim.js +56 -53
  494. package/dist/collection/components/select/resources.js +1 -1
  495. package/dist/collection/components/select/select.e2e.js +266 -0
  496. package/dist/collection/components/select/select.js +226 -217
  497. package/dist/collection/components/shell/resources.js +1 -1
  498. package/dist/collection/components/shell/shell.e2e.js +126 -0
  499. package/dist/collection/components/shell/shell.js +38 -43
  500. package/dist/collection/components/shell-center-row/resources.js +1 -1
  501. package/dist/collection/components/shell-center-row/shell-center-row.e2e.js +66 -0
  502. package/dist/collection/components/shell-center-row/shell-center-row.js +79 -75
  503. package/dist/collection/components/shell-panel/resources.js +1 -1
  504. package/dist/collection/components/shell-panel/shell-panel.e2e.js +282 -0
  505. package/dist/collection/components/shell-panel/shell-panel.js +183 -175
  506. package/dist/collection/components/slider/resources.js +1 -1
  507. package/dist/collection/components/slider/slider.e2e.js +648 -0
  508. package/dist/collection/components/slider/slider.js +594 -633
  509. package/dist/collection/components/sortable-list/resources.js +1 -1
  510. package/dist/collection/components/sortable-list/sortable-list.e2e.js +57 -0
  511. package/dist/collection/components/sortable-list/sortable-list.js +153 -142
  512. package/dist/collection/components/split-button/resources.js +1 -1
  513. package/dist/collection/components/split-button/split-button.e2e.js +206 -0
  514. package/dist/collection/components/split-button/split-button.js +363 -357
  515. package/dist/collection/components/stepper/interfaces.js +0 -5
  516. package/dist/collection/components/stepper/stepper.e2e.js +558 -0
  517. package/dist/collection/components/stepper/stepper.js +248 -236
  518. package/dist/collection/components/stepper-item/stepper-item.e2e.js +6 -0
  519. package/dist/collection/components/stepper-item/stepper-item.js +395 -392
  520. package/dist/collection/components/switch/switch.e2e.js +91 -0
  521. package/dist/collection/components/switch/switch.js +187 -179
  522. package/dist/collection/components/tab/interfaces.js +0 -5
  523. package/dist/collection/components/tab/tab.e2e.js +49 -0
  524. package/dist/collection/components/tab/tab.js +192 -179
  525. package/dist/collection/components/tab-nav/tab-nav.e2e.js +143 -0
  526. package/dist/collection/components/tab-nav/tab-nav.js +285 -275
  527. package/dist/collection/components/tab-title/tab-title.e2e.js +222 -0
  528. package/dist/collection/components/tab-title/tab-title.js +465 -453
  529. package/dist/collection/components/tabs/interfaces.js +0 -5
  530. package/dist/collection/components/tabs/resources.js +1 -1
  531. package/dist/collection/components/tabs/tabs.e2e.js +281 -0
  532. package/dist/collection/components/tabs/tabs.js +131 -124
  533. package/dist/collection/components/tile/resources.js +1 -1
  534. package/dist/collection/components/tile/tile.e2e.js +79 -0
  535. package/dist/collection/components/tile/tile.js +170 -174
  536. package/dist/collection/components/tile-select/interfaces.js +0 -5
  537. package/dist/collection/components/tile-select/resources.js +1 -1
  538. package/dist/collection/components/tile-select/tile-select.e2e.js +133 -0
  539. package/dist/collection/components/tile-select/tile-select.js +347 -333
  540. package/dist/collection/components/tile-select-group/interfaces.js +0 -5
  541. package/dist/collection/components/tile-select-group/tile-select-group.e2e.js +14 -0
  542. package/dist/collection/components/tile-select-group/tile-select-group.js +56 -50
  543. package/dist/collection/components/time-picker/resources.js +1 -1
  544. package/dist/collection/components/time-picker/time-picker.e2e.js +737 -0
  545. package/dist/collection/components/time-picker/time-picker.js +533 -544
  546. package/dist/collection/components/tip/resources.js +1 -1
  547. package/dist/collection/components/tip/tip.e2e.js +42 -0
  548. package/dist/collection/components/tip/tip.js +142 -143
  549. package/dist/collection/components/tip-group/tip-group.e2e.js +6 -0
  550. package/dist/collection/components/tip-group/tip-group.js +33 -27
  551. package/dist/collection/components/tip-manager/resources.js +1 -1
  552. package/dist/collection/components/tip-manager/tip-manager.e2e.js +176 -0
  553. package/dist/collection/components/tip-manager/tip-manager.js +225 -221
  554. package/dist/collection/components/tip-manager/tip-manager.spec.js +13 -0
  555. package/dist/collection/components/tooltip/TooltipManager.js +1 -1
  556. package/dist/collection/components/tooltip/resources.js +1 -1
  557. package/dist/collection/components/tooltip/tooltip.e2e.js +359 -0
  558. package/dist/collection/components/tooltip/tooltip.js +220 -210
  559. package/dist/collection/components/tooltip-manager/tooltip-manager.e2e.js +19 -0
  560. package/dist/collection/components/tooltip-manager/tooltip-manager.js +37 -31
  561. package/dist/collection/components/tree/interfaces.js +1 -1
  562. package/dist/collection/components/tree/tree.e2e.js +586 -0
  563. package/dist/collection/components/tree/tree.js +276 -244
  564. package/dist/collection/components/tree/utils.js +21 -0
  565. package/dist/collection/components/tree-item/interfaces.js +0 -5
  566. package/dist/collection/components/tree-item/resources.js +1 -1
  567. package/dist/collection/components/tree-item/tree-item.css +17 -3
  568. package/dist/collection/components/tree-item/tree-item.e2e.js +302 -0
  569. package/dist/collection/components/tree-item/tree-item.js +298 -268
  570. package/dist/collection/components/value-list/interfaces.js +0 -5
  571. package/dist/collection/components/value-list/resources.js +1 -1
  572. package/dist/collection/components/value-list/utils.js +1 -1
  573. package/dist/collection/components/value-list/value-list.e2e.js +205 -0
  574. package/dist/collection/components/value-list/value-list.js +341 -327
  575. package/dist/collection/components/value-list-item/resources.js +1 -1
  576. package/dist/collection/components/value-list-item/value-list-item.e2e.js +96 -0
  577. package/dist/collection/components/value-list-item/value-list-item.js +282 -275
  578. package/dist/collection/demos/_assets/demo-dom-swapper.js +45 -0
  579. package/dist/collection/demos/_assets/demo-spacer.js +17 -0
  580. package/dist/collection/demos/_assets/demo-template.js +24 -0
  581. package/dist/collection/demos/_assets/head.js +48 -0
  582. package/dist/collection/demos/_assets/locales.js +223 -0
  583. package/dist/collection/tests/commonTests.js +596 -0
  584. package/dist/collection/tests/utils.js +200 -0
  585. package/dist/collection/utils/array.js +1 -1
  586. package/dist/collection/utils/conditionalSlot.js +1 -1
  587. package/dist/collection/utils/date.js +1 -1
  588. package/dist/collection/utils/date.spec.js +153 -0
  589. package/dist/collection/utils/dom.e2e.js +107 -0
  590. package/dist/collection/utils/dom.js +26 -1
  591. package/dist/collection/utils/dom.spec.js +273 -0
  592. package/dist/collection/utils/filter.js +2 -3
  593. package/dist/collection/utils/floating-ui.js +1 -1
  594. package/dist/collection/utils/floating-ui.spec.js +23 -0
  595. package/dist/collection/utils/form.js +1 -1
  596. package/dist/collection/utils/form.spec.js +16 -0
  597. package/dist/collection/utils/globalAttributes.js +1 -1
  598. package/dist/collection/utils/globalAttributes.spec.js +36 -0
  599. package/dist/collection/utils/globalScript.js +1 -1
  600. package/dist/collection/utils/guid.js +1 -1
  601. package/dist/collection/utils/guid.spec.js +7 -0
  602. package/dist/collection/utils/interactive.js +1 -1
  603. package/dist/collection/utils/interactive.spec.js +20 -0
  604. package/dist/collection/utils/key.js +1 -1
  605. package/dist/collection/utils/label.js +1 -1
  606. package/dist/collection/utils/label.spec.js +188 -0
  607. package/dist/collection/utils/locale.js +173 -64
  608. package/dist/collection/utils/locale.spec.js +44 -0
  609. package/dist/collection/utils/math.js +1 -1
  610. package/dist/collection/utils/math.spec.js +8 -0
  611. package/dist/collection/utils/number.js +33 -31
  612. package/dist/collection/utils/number.spec.js +113 -0
  613. package/dist/collection/utils/observers.js +31 -7
  614. package/dist/collection/utils/openCloseComponent.js +1 -1
  615. package/dist/collection/utils/popper.js +121 -0
  616. package/dist/collection/utils/resources.js +1 -1
  617. package/dist/collection/utils/t9n.js +110 -0
  618. package/dist/collection/utils/theme.js +1 -1
  619. package/dist/collection/utils/time.js +4 -2
  620. package/dist/components/ExpandToggle.js +1 -1
  621. package/dist/components/Heading.js +1 -1
  622. package/dist/components/action-group.js +2 -2
  623. package/dist/components/action-menu.js +4 -3
  624. package/dist/components/action.js +3 -3
  625. package/dist/components/array.js +1 -1
  626. package/dist/components/button.js +2 -2
  627. package/dist/components/calcite-accordion-item.js +2 -2
  628. package/dist/components/calcite-accordion.js +2 -2
  629. package/dist/components/calcite-action-bar.js +2 -2
  630. package/dist/components/calcite-action-group.js +1 -1
  631. package/dist/components/calcite-action-menu.js +1 -1
  632. package/dist/components/calcite-action-pad.js +2 -2
  633. package/dist/components/calcite-action.js +1 -1
  634. package/dist/components/calcite-alert.js +16 -3
  635. package/dist/components/calcite-avatar.js +2 -2
  636. package/dist/components/calcite-block-section.js +2 -2
  637. package/dist/components/calcite-block.js +2 -2
  638. package/dist/components/calcite-button.js +1 -1
  639. package/dist/components/calcite-card.js +2 -2
  640. package/dist/components/calcite-checkbox.js +1 -1
  641. package/dist/components/calcite-chip.js +1 -1
  642. package/dist/components/calcite-color-picker-hex-input.js +1 -1
  643. package/dist/components/calcite-color-picker-swatch.js +1 -1
  644. package/dist/components/calcite-color-picker.js +2 -2
  645. package/dist/components/calcite-combobox-item-group.js +2 -2
  646. package/dist/components/calcite-combobox-item.js +2 -2
  647. package/dist/components/calcite-combobox.js +6 -4
  648. package/dist/components/calcite-date-picker-day.js +1 -1
  649. package/dist/components/calcite-date-picker-month-header.js +1 -1
  650. package/dist/components/calcite-date-picker-month.js +1 -1
  651. package/dist/components/calcite-date-picker.js +1 -1
  652. package/dist/components/calcite-dropdown-group.js +2 -2
  653. package/dist/components/calcite-dropdown-item.js +2 -2
  654. package/dist/components/calcite-dropdown.js +1 -1
  655. package/dist/components/calcite-fab.js +3 -3
  656. package/dist/components/calcite-filter.js +1 -1
  657. package/dist/components/calcite-flow-item.js +8 -10
  658. package/dist/components/calcite-flow.js +2 -2
  659. package/dist/components/calcite-graph.js +1 -1
  660. package/dist/components/calcite-handle.js +1 -1
  661. package/dist/components/calcite-icon.js +1 -1
  662. package/dist/components/calcite-inline-editable.js +2 -2
  663. package/dist/components/calcite-input-date-picker.js +36 -30
  664. package/dist/components/calcite-input-message.js +5 -5
  665. package/dist/components/calcite-input-number.js +38 -19
  666. package/dist/components/calcite-input-text.js +4 -4
  667. package/dist/components/calcite-input-time-picker.js +32 -28
  668. package/dist/components/calcite-input.js +1 -1
  669. package/dist/components/calcite-label.js +1 -1
  670. package/dist/components/calcite-link.js +1 -1
  671. package/dist/components/calcite-list-item-group.js +2 -2
  672. package/dist/components/calcite-list-item.js +2 -2
  673. package/dist/components/calcite-list.js +2 -2
  674. package/dist/components/calcite-loader.js +1 -1
  675. package/dist/components/calcite-modal.js +2 -2
  676. package/dist/components/calcite-notice.js +2 -2
  677. package/dist/components/calcite-option-group.js +2 -2
  678. package/dist/components/calcite-option.js +2 -2
  679. package/dist/components/calcite-pagination.js +14 -10
  680. package/dist/components/calcite-panel.js +1 -1
  681. package/dist/components/calcite-pick-list-group.js +2 -2
  682. package/dist/components/calcite-pick-list-item.js +1 -1
  683. package/dist/components/calcite-pick-list.js +2 -2
  684. package/dist/components/calcite-popover-manager.js +2 -2
  685. package/dist/components/calcite-popover.js +1 -1
  686. package/dist/components/calcite-progress.js +1 -1
  687. package/dist/components/calcite-radio-button-group.js +3 -3
  688. package/dist/components/calcite-radio-button.js +4 -4
  689. package/dist/components/calcite-radio-group-item.js +5 -5
  690. package/dist/components/calcite-radio-group.js +3 -3
  691. package/dist/components/calcite-rating.js +5 -5
  692. package/dist/components/calcite-scrim.js +1 -1
  693. package/dist/components/calcite-select.js +3 -3
  694. package/dist/components/calcite-shell-center-row.js +3 -3
  695. package/dist/components/calcite-shell-panel.js +2 -2
  696. package/dist/components/calcite-shell.js +2 -2
  697. package/dist/components/calcite-slider.js +16 -14
  698. package/dist/components/calcite-sortable-list.js +2 -2
  699. package/dist/components/calcite-split-button.js +5 -3
  700. package/dist/components/calcite-stepper-item.js +2 -2
  701. package/dist/components/calcite-stepper.js +2 -2
  702. package/dist/components/calcite-switch.js +1 -1
  703. package/dist/components/calcite-tab-nav.js +1 -1
  704. package/dist/components/calcite-tab-title.js +1 -1
  705. package/dist/components/calcite-tab.js +1 -1
  706. package/dist/components/calcite-tabs.js +1 -1
  707. package/dist/components/calcite-tile-select-group.js +3 -3
  708. package/dist/components/calcite-tile-select.js +3 -3
  709. package/dist/components/calcite-tile.js +1 -1
  710. package/dist/components/calcite-time-picker.js +1 -1
  711. package/dist/components/calcite-tip-group.js +2 -2
  712. package/dist/components/calcite-tip-manager.js +2 -2
  713. package/dist/components/calcite-tip.js +2 -2
  714. package/dist/components/calcite-tooltip-manager.js +2 -2
  715. package/dist/components/calcite-tooltip.js +1 -1
  716. package/dist/components/calcite-tree-item.js +12 -3
  717. package/dist/components/calcite-tree.js +115 -76
  718. package/dist/components/calcite-value-list-item.js +2 -2
  719. package/dist/components/calcite-value-list.js +2 -2
  720. package/dist/components/checkbox.js +3 -3
  721. package/dist/components/chip.js +3 -3
  722. package/dist/components/color-picker-hex-input.js +2 -2
  723. package/dist/components/color-picker-swatch.js +2 -2
  724. package/dist/components/conditionalSlot.js +1 -1
  725. package/dist/components/date-picker-day.js +3 -3
  726. package/dist/components/date-picker-month-header.js +2 -2
  727. package/dist/components/date-picker-month.js +3 -3
  728. package/dist/components/date-picker.js +14 -28
  729. package/dist/components/date.js +1 -1
  730. package/dist/components/debounce.js +1 -1
  731. package/dist/components/dom.js +27 -2
  732. package/dist/components/dropdown.js +6 -4
  733. package/dist/components/filter.js +2 -2
  734. package/dist/components/filter2.js +2 -3
  735. package/dist/components/floating-ui.js +1 -1
  736. package/dist/components/form.js +1 -1
  737. package/dist/components/graph.js +2 -2
  738. package/dist/components/guid.js +1 -1
  739. package/dist/components/handle.js +2 -2
  740. package/dist/components/icon.js +2 -2
  741. package/dist/components/index.js +1 -1
  742. package/dist/components/input.js +63 -41
  743. package/dist/components/interactive.js +1 -1
  744. package/dist/components/interfaces.js +1 -1
  745. package/dist/components/interfaces2.js +1 -1
  746. package/dist/components/key.js +1 -1
  747. package/dist/components/label.js +11 -11
  748. package/dist/components/label2.js +1 -1
  749. package/dist/components/link.js +6 -6
  750. package/dist/components/loader.js +2 -2
  751. package/dist/components/locale.js +374 -0
  752. package/dist/components/math.js +1 -1
  753. package/dist/components/observers.js +31 -7
  754. package/dist/components/openCloseComponent.js +1 -1
  755. package/dist/components/panel.js +8 -10
  756. package/dist/components/pick-list-item.js +2 -2
  757. package/dist/components/popover.js +5 -3
  758. package/dist/components/progress.js +2 -2
  759. package/dist/components/resources.js +1 -1
  760. package/dist/components/resources2.js +1 -1
  761. package/dist/components/resources3.js +1 -1
  762. package/dist/components/scrim.js +2 -2
  763. package/dist/components/shared-list-render.js +1 -1
  764. package/dist/components/sortable.esm.js +1 -1
  765. package/dist/components/switch.js +3 -3
  766. package/dist/components/tab-nav.js +2 -2
  767. package/dist/components/tab-title.js +3 -3
  768. package/dist/components/tab.js +3 -3
  769. package/dist/components/tabs.js +2 -2
  770. package/dist/components/tile.js +2 -2
  771. package/dist/components/time-picker.js +22 -20
  772. package/dist/components/tooltip.js +5 -3
  773. package/dist/components/utils.js +1 -1
  774. package/dist/components/utils2.js +1 -1
  775. package/dist/esm/{ExpandToggle-34bb26ba.js → ExpandToggle-21a5493f.js} +5 -5
  776. package/dist/esm/{Heading-efa404f6.js → Heading-0da1d231.js} +2 -2
  777. package/dist/esm/{app-globals-e47dc277.js → app-globals-53484588.js} +2 -2
  778. package/dist/esm/{array-a569db75.js → array-afca26e4.js} +1 -1
  779. package/dist/esm/calcite-accordion_2.entry.js +9 -9
  780. package/dist/esm/calcite-action-bar.entry.js +12 -12
  781. package/dist/esm/calcite-action-group.entry.js +10 -10
  782. package/dist/esm/calcite-action-menu.entry.js +11 -10
  783. package/dist/esm/calcite-action-pad.entry.js +11 -11
  784. package/dist/esm/calcite-action.entry.js +8 -8
  785. package/dist/esm/calcite-alert.entry.js +22 -9
  786. package/dist/esm/calcite-avatar.entry.js +7 -7
  787. package/dist/esm/calcite-block_2.entry.js +12 -12
  788. package/dist/esm/calcite-button.entry.js +10 -10
  789. package/dist/esm/calcite-card.entry.js +8 -8
  790. package/dist/esm/calcite-checkbox.entry.js +11 -11
  791. package/dist/esm/calcite-chip.entry.js +9 -9
  792. package/dist/esm/calcite-color-picker_3.entry.js +13 -13
  793. package/dist/esm/calcite-combobox_3.entry.js +21 -19
  794. package/dist/esm/calcite-date-picker_4.entry.js +25 -20
  795. package/dist/esm/calcite-dropdown_3.entry.js +17 -15
  796. package/dist/esm/calcite-fab.entry.js +8 -8
  797. package/dist/esm/calcite-filter.entry.js +9 -9
  798. package/dist/esm/calcite-flow-item.entry.js +14 -16
  799. package/dist/esm/calcite-flow.entry.js +4 -4
  800. package/dist/esm/calcite-graph_2.entry.js +26 -24
  801. package/dist/esm/calcite-handle.entry.js +6 -6
  802. package/dist/esm/calcite-icon.entry.js +7 -7
  803. package/dist/esm/calcite-inline-editable.entry.js +9 -9
  804. package/dist/esm/calcite-input-date-picker.entry.js +45 -40
  805. package/dist/esm/calcite-input-message.entry.js +9 -9
  806. package/dist/esm/calcite-input-number.entry.js +47 -28
  807. package/dist/esm/calcite-input-text.entry.js +12 -12
  808. package/dist/esm/calcite-input-time-picker_2.entry.js +57 -51
  809. package/dist/esm/calcite-input.entry.js +72 -50
  810. package/dist/esm/calcite-label.entry.js +16 -16
  811. package/dist/esm/calcite-link.entry.js +9 -9
  812. package/dist/esm/calcite-list_3.entry.js +12 -12
  813. package/dist/esm/calcite-loader.entry.js +4 -4
  814. package/dist/esm/calcite-modal.entry.js +9 -9
  815. package/dist/esm/calcite-notice.entry.js +9 -9
  816. package/dist/esm/calcite-option_3.entry.js +13 -13
  817. package/dist/esm/calcite-pagination.entry.js +19 -12
  818. package/dist/esm/calcite-panel.entry.js +17 -19
  819. package/dist/esm/calcite-pick-list_3.entry.js +15 -15
  820. package/dist/esm/calcite-popover_2.entry.js +16 -14
  821. package/dist/esm/calcite-progress.entry.js +3 -3
  822. package/dist/esm/calcite-radio-button-group.entry.js +5 -5
  823. package/dist/esm/calcite-radio-button.entry.js +11 -11
  824. package/dist/esm/calcite-radio-group_2.entry.js +14 -14
  825. package/dist/esm/calcite-rating.entry.js +13 -13
  826. package/dist/esm/calcite-scrim.entry.js +3 -3
  827. package/dist/esm/calcite-shell_3.entry.js +12 -12
  828. package/dist/esm/calcite-sortable-list.entry.js +6 -6
  829. package/dist/esm/calcite-split-button.entry.js +7 -5
  830. package/dist/esm/calcite-stepper_2.entry.js +8 -8
  831. package/dist/esm/calcite-switch.entry.js +11 -11
  832. package/dist/esm/calcite-tab_4.entry.js +13 -13
  833. package/dist/esm/calcite-tile-select_2.entry.js +7 -7
  834. package/dist/esm/calcite-tile.entry.js +9 -9
  835. package/dist/esm/calcite-tip_3.entry.js +11 -11
  836. package/dist/esm/calcite-tooltip_2.entry.js +12 -10
  837. package/dist/esm/calcite-tree_2.entry.js +131 -84
  838. package/dist/esm/calcite-value-list_2.entry.js +14 -14
  839. package/dist/esm/calcite.js +6 -6
  840. package/dist/esm/{conditionalSlot-3e2edef8.js → conditionalSlot-e50c9f14.js} +3 -3
  841. package/dist/esm/{debounce-b37c9ff5.js → debounce-6816d02c.js} +1 -1
  842. package/dist/esm/{dom-127f3d8d.js → dom-1ac7b489.js} +29 -4
  843. package/dist/esm/{filter-ec2ddb04.js → filter-1cca1a38.js} +3 -4
  844. package/dist/esm/{floating-ui-3dd9c891.js → floating-ui-41bd9b35.js} +2 -2
  845. package/dist/esm/{form-17ba49d8.js → form-08544720.js} +3 -3
  846. package/dist/esm/{guid-91ab11b9.js → guid-57e25130.js} +1 -1
  847. package/dist/esm/{index-bba706e5.js → index-5326c3af.js} +1117 -946
  848. package/dist/esm/index.js +1 -1
  849. package/dist/esm/{interactive-5b6b002f.js → interactive-c086cb04.js} +1 -1
  850. package/dist/esm/{interfaces-ff7ce8e2.js → interfaces-ba4e7fb1.js} +1 -1
  851. package/dist/esm/{key-bb0dff3b.js → key-42705c39.js} +1 -1
  852. package/dist/esm/{label-b70415ec.js → label-a209a39c.js} +2 -2
  853. package/dist/esm/loader.js +6 -6
  854. package/dist/esm/locale-6840e756.js +374 -0
  855. package/dist/esm/{math-1cb1c8be.js → math-e13ce572.js} +1 -1
  856. package/dist/esm/observers-68c33472.js +46 -0
  857. package/dist/esm/{openCloseComponent-7420c9e0.js → openCloseComponent-f9f51e92.js} +1 -1
  858. package/dist/esm/polyfills/css-shim.js +1 -1
  859. package/dist/esm/{resources-1b8bfa65.js → resources-a65a8ad1.js} +1 -1
  860. package/dist/esm/{resources-a0e26200.js → resources-ba2025cb.js} +1 -1
  861. package/dist/esm/{resources-60e5aaf2.js → resources-bf3cbf16.js} +1 -1
  862. package/dist/esm/{resources-e698d1a3.js → resources-c69a833c.js} +3 -23
  863. package/dist/esm/{resources-21b72b7d.js → resources-d0f37d22.js} +5 -5
  864. package/dist/esm/{resources-ec2aa059.js → resources-d2b2a177.js} +1 -1
  865. package/dist/esm/{sortable.esm-fc504810.js → sortable.esm-1ad7cec8.js} +1 -1
  866. package/dist/esm/{utils-8c16c8e7.js → utils-f163e9f8.js} +1 -1
  867. package/dist/extras/docs-json.json +896 -280
  868. package/dist/index.js +1 -1
  869. package/dist/loader/cdn.js +1 -1
  870. package/dist/loader/index.cjs.js +1 -1
  871. package/dist/loader/index.es2017.js +1 -1
  872. package/dist/loader/index.js +2 -2
  873. package/dist/loader/package.json +1 -0
  874. package/dist/types/components/accordion-item/accordion-item.d.ts +4 -4
  875. package/dist/types/components/action/action.d.ts +2 -2
  876. package/dist/types/components/action/assets/action/t9n/index.d.ts +3 -0
  877. package/dist/types/components/action-bar/action-bar.d.ts +1 -1
  878. package/dist/types/components/action-bar/assets/action-bar/t9n/index.d.ts +4 -0
  879. package/dist/types/components/action-group/assets/action-group/t9n/index.d.ts +3 -0
  880. package/dist/types/components/action-menu/action-menu.d.ts +2 -1
  881. package/dist/types/components/action-pad/assets/action-pad/t9n/index.d.ts +4 -0
  882. package/dist/types/components/alert/alert.d.ts +7 -1
  883. package/dist/types/components/alert/assets/alert/t9n/index.d.ts +3 -0
  884. package/dist/types/components/block/assets/block/t9n/index.d.ts +6 -0
  885. package/dist/types/components/block-section/assets/block-section/t9n/index.d.ts +4 -0
  886. package/dist/types/components/button/assets/button/t9n/index.d.ts +3 -0
  887. package/dist/types/components/button/button.d.ts +3 -3
  888. package/dist/types/components/card/assets/card/t9n/index.d.ts +5 -0
  889. package/dist/types/components/checkbox/checkbox.d.ts +1 -1
  890. package/dist/types/components/chip/assets/chip/t9n/index.d.ts +3 -0
  891. package/dist/types/components/chip/chip.d.ts +3 -3
  892. package/dist/types/components/color-picker/assets/color-picker/t9n/index.d.ts +21 -0
  893. package/dist/types/components/color-picker/color-picker.d.ts +3 -2
  894. package/dist/types/components/color-picker-hex-input/color-picker-hex-input.d.ts +3 -2
  895. package/dist/types/components/combobox/assets/combobox/t9n/index.d.ts +3 -0
  896. package/dist/types/components/combobox/combobox.d.ts +5 -3
  897. package/dist/types/components/combobox-item/combobox-item.d.ts +1 -1
  898. package/dist/types/components/date-picker/assets/date-picker/t9n/index.d.ts +5 -0
  899. package/dist/types/components/date-picker/date-picker.d.ts +4 -4
  900. package/dist/types/components/dropdown/dropdown.d.ts +4 -2
  901. package/dist/types/components/dropdown-item/dropdown-item.d.ts +3 -3
  902. package/dist/types/components/fab/fab.d.ts +1 -1
  903. package/dist/types/components/filter/assets/filter/t9n/index.d.ts +4 -0
  904. package/dist/types/components/flow/flow.d.ts +1 -1
  905. package/dist/types/components/flow-item/flow-item.d.ts +6 -8
  906. package/dist/types/components/handle/handle.d.ts +1 -1
  907. package/dist/types/components/inline-editable/assets/inline-editable/t9n/index.d.ts +5 -0
  908. package/dist/types/components/inline-editable/inline-editable.d.ts +1 -1
  909. package/dist/types/components/input/assets/input/t9n/index.d.ts +4 -0
  910. package/dist/types/components/input/input.d.ts +25 -26
  911. package/dist/types/components/input-date-picker/input-date-picker.d.ts +45 -40
  912. package/dist/types/components/input-message/input-message.d.ts +6 -9
  913. package/dist/types/components/input-number/assets/input-number/t9n/index.d.ts +4 -0
  914. package/dist/types/components/input-number/input-number.d.ts +9 -11
  915. package/dist/types/components/input-text/assets/input-text/t9n/index.d.ts +4 -0
  916. package/dist/types/components/input-text/input-text.d.ts +3 -3
  917. package/dist/types/components/input-time-picker/input-time-picker.d.ts +31 -28
  918. package/dist/types/components/label/label.d.ts +10 -10
  919. package/dist/types/components/link/link.d.ts +8 -8
  920. package/dist/types/components/modal/assets/modal/t9n/index.d.ts +3 -0
  921. package/dist/types/components/notice/assets/notice/t9n/index.d.ts +3 -0
  922. package/dist/types/components/notice/notice.d.ts +1 -2
  923. package/dist/types/components/pagination/assets/pagination/t9n/index.d.ts +4 -0
  924. package/dist/types/components/pagination/pagination.d.ts +4 -7
  925. package/dist/types/components/panel/assets/panel/t9n/index.d.ts +6 -0
  926. package/dist/types/components/panel/panel.d.ts +6 -8
  927. package/dist/types/components/pick-list/assets/pick-list/t9n/index.d.ts +3 -0
  928. package/dist/types/components/pick-list/pick-list.d.ts +1 -1
  929. package/dist/types/components/pick-list-item/assets/pick-list-item/t9n/index.d.ts +3 -0
  930. package/dist/types/components/popover/assets/popover/t9n/index.d.ts +3 -0
  931. package/dist/types/components/popover/popover.d.ts +3 -1
  932. package/dist/types/components/popover-manager/popover-manager.d.ts +1 -1
  933. package/dist/types/components/radio-button/radio-button.d.ts +1 -1
  934. package/dist/types/components/radio-button-group/radio-button-group.d.ts +2 -2
  935. package/dist/types/components/radio-group/radio-group.d.ts +1 -1
  936. package/dist/types/components/radio-group-item/radio-group-item.d.ts +7 -7
  937. package/dist/types/components/rating/assets/rating/t9n/index.d.ts +4 -0
  938. package/dist/types/components/rating/rating.d.ts +1 -1
  939. package/dist/types/components/scrim/assets/scrim/t9n/index.d.ts +3 -0
  940. package/dist/types/components/select/select.d.ts +1 -1
  941. package/dist/types/components/shell-center-row/shell-center-row.d.ts +1 -1
  942. package/dist/types/components/shell-panel/assets/shell-panel/t9n/index.d.ts +3 -0
  943. package/dist/types/components/shell-panel/shell-panel.d.ts +1 -1
  944. package/dist/types/components/slider/slider.d.ts +8 -10
  945. package/dist/types/components/sortable-list/sortable-list.d.ts +1 -1
  946. package/dist/types/components/split-button/split-button.d.ts +6 -4
  947. package/dist/types/components/stepper-item/stepper-item.d.ts +2 -2
  948. package/dist/types/components/switch/switch.d.ts +1 -1
  949. package/dist/types/components/tab/tab.d.ts +1 -1
  950. package/dist/types/components/tab-title/tab-title.d.ts +4 -4
  951. package/dist/types/components/tile-select-group/tile-select-group.d.ts +1 -1
  952. package/dist/types/components/time-picker/assets/time-picker/t9n/index.d.ts +14 -0
  953. package/dist/types/components/time-picker/time-picker.d.ts +7 -7
  954. package/dist/types/components/tip/assets/tip/t9n/index.d.ts +3 -0
  955. package/dist/types/components/tip-manager/assets/tip-manager/t9n/index.d.ts +7 -0
  956. package/dist/types/components/tip-manager/tip-manager.d.ts +2 -2
  957. package/dist/types/components/tooltip/tooltip.d.ts +3 -1
  958. package/dist/types/components/tree/tree.d.ts +1 -1
  959. package/dist/types/components/tree/utils.d.ts +1 -0
  960. package/dist/types/components/tree-item/tree-item.d.ts +8 -2
  961. package/dist/types/components/value-list/assets/value-list/t9n/index.d.ts +7 -0
  962. package/dist/types/components/value-list/value-list.d.ts +1 -1
  963. package/dist/types/components.d.ts +341 -330
  964. package/dist/types/stencil-public-runtime.d.ts +15 -4
  965. package/dist/types/utils/dom.d.ts +10 -0
  966. package/dist/types/utils/locale.d.ts +79 -11
  967. package/dist/types/utils/number.d.ts +3 -5
  968. package/dist/types/utils/observers.d.ts +5 -1
  969. package/dist/types/utils/t9n.d.ts +88 -0
  970. package/dist/types/utils/time.d.ts +1 -1
  971. package/hydrate/index.d.ts +1 -1
  972. package/hydrate/index.js +1594 -1368
  973. package/package.json +21 -18
  974. package/dist/calcite/calcite.js +0 -131
  975. package/dist/calcite/p-00bf595c.js +0 -6
  976. package/dist/calcite/p-040bf5e2.system.js +0 -6
  977. package/dist/calcite/p-0af262b3.system.entry.js +0 -6
  978. package/dist/calcite/p-0b751e42.entry.js +0 -6
  979. package/dist/calcite/p-0cd68b01.entry.js +0 -6
  980. package/dist/calcite/p-0cebaa35.system.entry.js +0 -6
  981. package/dist/calcite/p-123cd41d.system.js +0 -6
  982. package/dist/calcite/p-1568c3ae.system.js +0 -6
  983. package/dist/calcite/p-165e1315.entry.js +0 -6
  984. package/dist/calcite/p-1931016b.system.js +0 -6
  985. package/dist/calcite/p-1bd9d5d0.system.entry.js +0 -6
  986. package/dist/calcite/p-1d9a8f8d.entry.js +0 -6
  987. package/dist/calcite/p-1ebd1ddb.system.js +0 -6
  988. package/dist/calcite/p-1fc0fc34.system.entry.js +0 -6
  989. package/dist/calcite/p-1fc6f127.system.js +0 -6
  990. package/dist/calcite/p-222ce0b0.entry.js +0 -6
  991. package/dist/calcite/p-246e29c4.system.entry.js +0 -6
  992. package/dist/calcite/p-250c704e.entry.js +0 -6
  993. package/dist/calcite/p-2591c64f.entry.js +0 -6
  994. package/dist/calcite/p-26716c3f.system.entry.js +0 -6
  995. package/dist/calcite/p-271a679c.system.entry.js +0 -6
  996. package/dist/calcite/p-29a4a496.system.js +0 -12
  997. package/dist/calcite/p-2b66108c.js +0 -6
  998. package/dist/calcite/p-2bd163b8.system.entry.js +0 -6
  999. package/dist/calcite/p-2bed5ece.system.entry.js +0 -6
  1000. package/dist/calcite/p-2ce51e5b.entry.js +0 -6
  1001. package/dist/calcite/p-2dd41d05.system.entry.js +0 -6
  1002. package/dist/calcite/p-31b7469f.system.entry.js +0 -6
  1003. package/dist/calcite/p-32648082.entry.js +0 -6
  1004. package/dist/calcite/p-327f1ece.entry.js +0 -6
  1005. package/dist/calcite/p-329fad36.system.entry.js +0 -6
  1006. package/dist/calcite/p-32af8680.entry.js +0 -6
  1007. package/dist/calcite/p-34c1470d.system.js +0 -6
  1008. package/dist/calcite/p-350374ba.entry.js +0 -6
  1009. package/dist/calcite/p-36f469b3.entry.js +0 -6
  1010. package/dist/calcite/p-381c39e3.entry.js +0 -6
  1011. package/dist/calcite/p-389e6f49.system.js +0 -6
  1012. package/dist/calcite/p-39105e98.entry.js +0 -6
  1013. package/dist/calcite/p-40691199.system.js +0 -7
  1014. package/dist/calcite/p-4188e126.system.entry.js +0 -6
  1015. package/dist/calcite/p-4569808e.entry.js +0 -6
  1016. package/dist/calcite/p-46158831.system.js +0 -6
  1017. package/dist/calcite/p-47807917.system.js +0 -6
  1018. package/dist/calcite/p-480b3470.system.js +0 -6
  1019. package/dist/calcite/p-485523eb.entry.js +0 -6
  1020. package/dist/calcite/p-4b5fb412.system.entry.js +0 -6
  1021. package/dist/calcite/p-4bdfe12c.system.entry.js +0 -6
  1022. package/dist/calcite/p-4e2f397f.js +0 -6
  1023. package/dist/calcite/p-4ece68bc.entry.js +0 -6
  1024. package/dist/calcite/p-50f28b73.system.entry.js +0 -6
  1025. package/dist/calcite/p-53159025.system.js +0 -6
  1026. package/dist/calcite/p-5963a581.entry.js +0 -6
  1027. package/dist/calcite/p-59761378.system.entry.js +0 -6
  1028. package/dist/calcite/p-5a62c32b.system.entry.js +0 -6
  1029. package/dist/calcite/p-5eaa4529.system.entry.js +0 -6
  1030. package/dist/calcite/p-5fd702c3.system.entry.js +0 -6
  1031. package/dist/calcite/p-6016b591.system.entry.js +0 -6
  1032. package/dist/calcite/p-61eb9d9e.entry.js +0 -6
  1033. package/dist/calcite/p-62552795.system.entry.js +0 -6
  1034. package/dist/calcite/p-62699784.js +0 -7
  1035. package/dist/calcite/p-654b80e4.system.js +0 -6
  1036. package/dist/calcite/p-66773754.entry.js +0 -6
  1037. package/dist/calcite/p-67a553d6.system.entry.js +0 -6
  1038. package/dist/calcite/p-686435b1.entry.js +0 -6
  1039. package/dist/calcite/p-68c9eae1.system.js +0 -6
  1040. package/dist/calcite/p-6b48c271.js +0 -6
  1041. package/dist/calcite/p-6ba701c5.entry.js +0 -6
  1042. package/dist/calcite/p-6da8cfc8.system.entry.js +0 -6
  1043. package/dist/calcite/p-6e360d2e.system.entry.js +0 -6
  1044. package/dist/calcite/p-6ee5fef0.entry.js +0 -6
  1045. package/dist/calcite/p-70a77a00.system.js +0 -6
  1046. package/dist/calcite/p-73112e9e.system.entry.js +0 -6
  1047. package/dist/calcite/p-7468a944.system.js +0 -6
  1048. package/dist/calcite/p-746fb731.entry.js +0 -6
  1049. package/dist/calcite/p-76853d92.entry.js +0 -6
  1050. package/dist/calcite/p-797918e4.entry.js +0 -6
  1051. package/dist/calcite/p-8341c47e.system.entry.js +0 -6
  1052. package/dist/calcite/p-842d0db2.entry.js +0 -6
  1053. package/dist/calcite/p-87203ad5.entry.js +0 -6
  1054. package/dist/calcite/p-88cc5e61.entry.js +0 -6
  1055. package/dist/calcite/p-89e8dfda.entry.js +0 -6
  1056. package/dist/calcite/p-8a2d40ec.system.entry.js +0 -6
  1057. package/dist/calcite/p-8cbe1a9c.system.entry.js +0 -6
  1058. package/dist/calcite/p-8f5231d1.entry.js +0 -6
  1059. package/dist/calcite/p-91efcdbf.entry.js +0 -6
  1060. package/dist/calcite/p-95b0735c.system.js +0 -6
  1061. package/dist/calcite/p-9627cc9c.entry.js +0 -6
  1062. package/dist/calcite/p-9633ad1d.entry.js +0 -6
  1063. package/dist/calcite/p-96d5ebfd.system.entry.js +0 -6
  1064. package/dist/calcite/p-984382e0.system.entry.js +0 -6
  1065. package/dist/calcite/p-989c3bfe.entry.js +0 -6
  1066. package/dist/calcite/p-98b619c8.js +0 -6
  1067. package/dist/calcite/p-99ec6bf6.system.entry.js +0 -6
  1068. package/dist/calcite/p-9f3639fb.system.entry.js +0 -6
  1069. package/dist/calcite/p-a4a2ef19.entry.js +0 -6
  1070. package/dist/calcite/p-a96d1f10.system.entry.js +0 -6
  1071. package/dist/calcite/p-aa4a2554.system.js +0 -6
  1072. package/dist/calcite/p-aab31f9a.entry.js +0 -6
  1073. package/dist/calcite/p-abf27086.entry.js +0 -6
  1074. package/dist/calcite/p-ac3ca72a.system.js +0 -6
  1075. package/dist/calcite/p-acf9141d.entry.js +0 -6
  1076. package/dist/calcite/p-aebf30de.entry.js +0 -6
  1077. package/dist/calcite/p-b1bffa40.system.entry.js +0 -6
  1078. package/dist/calcite/p-b224bda4.js +0 -6
  1079. package/dist/calcite/p-b254e729.system.entry.js +0 -6
  1080. package/dist/calcite/p-b2e3e5f6.system.entry.js +0 -6
  1081. package/dist/calcite/p-b47f99ba.system.entry.js +0 -6
  1082. package/dist/calcite/p-b5ed78cd.system.entry.js +0 -6
  1083. package/dist/calcite/p-b6c0ce60.system.entry.js +0 -6
  1084. package/dist/calcite/p-bae6bd27.entry.js +0 -6
  1085. package/dist/calcite/p-bc58d924.system.entry.js +0 -6
  1086. package/dist/calcite/p-bf857667.entry.js +0 -6
  1087. package/dist/calcite/p-c17c843a.entry.js +0 -6
  1088. package/dist/calcite/p-c196a9c8.system.entry.js +0 -6
  1089. package/dist/calcite/p-c3f900e2.system.js +0 -6
  1090. package/dist/calcite/p-c6747172.entry.js +0 -6
  1091. package/dist/calcite/p-c7ae6eb8.system.entry.js +0 -6
  1092. package/dist/calcite/p-c9795a23.entry.js +0 -6
  1093. package/dist/calcite/p-c994def1.entry.js +0 -6
  1094. package/dist/calcite/p-cb022701.entry.js +0 -6
  1095. package/dist/calcite/p-cb75f6fc.system.js +0 -6
  1096. package/dist/calcite/p-cdd54f43.system.js +0 -6
  1097. package/dist/calcite/p-cfc54e80.system.entry.js +0 -6
  1098. package/dist/calcite/p-d004547e.system.js +0 -6
  1099. package/dist/calcite/p-d071641f.js +0 -6
  1100. package/dist/calcite/p-d0c487cd.system.js +0 -6
  1101. package/dist/calcite/p-d14f84ec.entry.js +0 -6
  1102. package/dist/calcite/p-d231f78a.system.js +0 -6
  1103. package/dist/calcite/p-d4a2b3eb.system.entry.js +0 -6
  1104. package/dist/calcite/p-d71afc11.system.js +0 -6
  1105. package/dist/calcite/p-d98a0dfc.system.entry.js +0 -6
  1106. package/dist/calcite/p-d9f909c1.system.entry.js +0 -6
  1107. package/dist/calcite/p-da805fd2.entry.js +0 -6
  1108. package/dist/calcite/p-df0781cd.entry.js +0 -6
  1109. package/dist/calcite/p-e1388ba6.entry.js +0 -6
  1110. package/dist/calcite/p-e3de6b2a.system.entry.js +0 -6
  1111. package/dist/calcite/p-e41810bf.system.entry.js +0 -6
  1112. package/dist/calcite/p-e93ae93d.entry.js +0 -6
  1113. package/dist/calcite/p-e95183e0.entry.js +0 -6
  1114. package/dist/calcite/p-e9519043.entry.js +0 -6
  1115. package/dist/calcite/p-ea4df412.js +0 -6
  1116. package/dist/calcite/p-eb2afb5b.entry.js +0 -6
  1117. package/dist/calcite/p-ec7ef3b1.system.entry.js +0 -6
  1118. package/dist/calcite/p-ee219b49.system.entry.js +0 -6
  1119. package/dist/calcite/p-eec0a4cf.system.entry.js +0 -6
  1120. package/dist/calcite/p-ef4384e3.system.entry.js +0 -6
  1121. package/dist/calcite/p-ef8140d9.system.entry.js +0 -6
  1122. package/dist/calcite/p-f0934ce8.entry.js +0 -6
  1123. package/dist/calcite/p-f114fc96.entry.js +0 -6
  1124. package/dist/calcite/p-f20d5aff.system.entry.js +0 -6
  1125. package/dist/calcite/p-f2b5841b.system.entry.js +0 -6
  1126. package/dist/calcite/p-f438293c.system.entry.js +0 -6
  1127. package/dist/calcite/p-f6a816c2.system.entry.js +0 -6
  1128. package/dist/calcite/p-f8929ee3.system.js +0 -6
  1129. package/dist/calcite/p-f9c4d066.system.entry.js +0 -6
  1130. package/dist/calcite/p-fa9b0668.system.js +0 -6
  1131. package/dist/calcite/p-fc88693a.entry.js +0 -6
  1132. package/dist/calcite/p-ff567892.system.entry.js +0 -6
  1133. package/dist/cjs/globalAttributes-1b9ba83b.js +0 -335
  1134. package/dist/cjs/observers-d425beb6.js +0 -27
  1135. package/dist/components/globalAttributes.js +0 -324
  1136. package/dist/custom-elements/index.d.ts +0 -597
  1137. package/dist/custom-elements/index.js +0 -28881
  1138. package/dist/esm/globalAttributes-2f17fabd.js +0 -324
  1139. package/dist/esm/observers-44d8a639.js +0 -25
  1140. package/dist/esm-es5/ExpandToggle-34bb26ba.js +0 -6
  1141. package/dist/esm-es5/Heading-efa404f6.js +0 -6
  1142. package/dist/esm-es5/app-globals-e47dc277.js +0 -6
  1143. package/dist/esm-es5/array-a569db75.js +0 -6
  1144. package/dist/esm-es5/calcite-accordion_2.entry.js +0 -6
  1145. package/dist/esm-es5/calcite-action-bar.entry.js +0 -6
  1146. package/dist/esm-es5/calcite-action-group.entry.js +0 -6
  1147. package/dist/esm-es5/calcite-action-menu.entry.js +0 -6
  1148. package/dist/esm-es5/calcite-action-pad.entry.js +0 -6
  1149. package/dist/esm-es5/calcite-action.entry.js +0 -6
  1150. package/dist/esm-es5/calcite-alert.entry.js +0 -6
  1151. package/dist/esm-es5/calcite-avatar.entry.js +0 -6
  1152. package/dist/esm-es5/calcite-block_2.entry.js +0 -6
  1153. package/dist/esm-es5/calcite-button.entry.js +0 -6
  1154. package/dist/esm-es5/calcite-card.entry.js +0 -6
  1155. package/dist/esm-es5/calcite-checkbox.entry.js +0 -6
  1156. package/dist/esm-es5/calcite-chip.entry.js +0 -6
  1157. package/dist/esm-es5/calcite-color-picker_3.entry.js +0 -6
  1158. package/dist/esm-es5/calcite-combobox_3.entry.js +0 -6
  1159. package/dist/esm-es5/calcite-date-picker_4.entry.js +0 -6
  1160. package/dist/esm-es5/calcite-dropdown_3.entry.js +0 -6
  1161. package/dist/esm-es5/calcite-fab.entry.js +0 -6
  1162. package/dist/esm-es5/calcite-filter.entry.js +0 -6
  1163. package/dist/esm-es5/calcite-flow-item.entry.js +0 -6
  1164. package/dist/esm-es5/calcite-flow.entry.js +0 -6
  1165. package/dist/esm-es5/calcite-graph_2.entry.js +0 -6
  1166. package/dist/esm-es5/calcite-handle.entry.js +0 -6
  1167. package/dist/esm-es5/calcite-icon.entry.js +0 -6
  1168. package/dist/esm-es5/calcite-inline-editable.entry.js +0 -6
  1169. package/dist/esm-es5/calcite-input-date-picker.entry.js +0 -6
  1170. package/dist/esm-es5/calcite-input-message.entry.js +0 -6
  1171. package/dist/esm-es5/calcite-input-number.entry.js +0 -6
  1172. package/dist/esm-es5/calcite-input-text.entry.js +0 -6
  1173. package/dist/esm-es5/calcite-input-time-picker_2.entry.js +0 -6
  1174. package/dist/esm-es5/calcite-input.entry.js +0 -6
  1175. package/dist/esm-es5/calcite-label.entry.js +0 -6
  1176. package/dist/esm-es5/calcite-link.entry.js +0 -6
  1177. package/dist/esm-es5/calcite-list_3.entry.js +0 -6
  1178. package/dist/esm-es5/calcite-loader.entry.js +0 -6
  1179. package/dist/esm-es5/calcite-modal.entry.js +0 -6
  1180. package/dist/esm-es5/calcite-notice.entry.js +0 -6
  1181. package/dist/esm-es5/calcite-option_3.entry.js +0 -6
  1182. package/dist/esm-es5/calcite-pagination.entry.js +0 -6
  1183. package/dist/esm-es5/calcite-panel.entry.js +0 -6
  1184. package/dist/esm-es5/calcite-pick-list_3.entry.js +0 -6
  1185. package/dist/esm-es5/calcite-popover_2.entry.js +0 -6
  1186. package/dist/esm-es5/calcite-progress.entry.js +0 -6
  1187. package/dist/esm-es5/calcite-radio-button-group.entry.js +0 -6
  1188. package/dist/esm-es5/calcite-radio-button.entry.js +0 -6
  1189. package/dist/esm-es5/calcite-radio-group_2.entry.js +0 -6
  1190. package/dist/esm-es5/calcite-rating.entry.js +0 -6
  1191. package/dist/esm-es5/calcite-scrim.entry.js +0 -6
  1192. package/dist/esm-es5/calcite-shell_3.entry.js +0 -6
  1193. package/dist/esm-es5/calcite-sortable-list.entry.js +0 -6
  1194. package/dist/esm-es5/calcite-split-button.entry.js +0 -6
  1195. package/dist/esm-es5/calcite-stepper_2.entry.js +0 -6
  1196. package/dist/esm-es5/calcite-switch.entry.js +0 -6
  1197. package/dist/esm-es5/calcite-tab_4.entry.js +0 -6
  1198. package/dist/esm-es5/calcite-tile-select_2.entry.js +0 -6
  1199. package/dist/esm-es5/calcite-tile.entry.js +0 -6
  1200. package/dist/esm-es5/calcite-tip_3.entry.js +0 -6
  1201. package/dist/esm-es5/calcite-tooltip_2.entry.js +0 -6
  1202. package/dist/esm-es5/calcite-tree_2.entry.js +0 -6
  1203. package/dist/esm-es5/calcite-value-list_2.entry.js +0 -6
  1204. package/dist/esm-es5/calcite.js +0 -6
  1205. package/dist/esm-es5/conditionalSlot-3e2edef8.js +0 -6
  1206. package/dist/esm-es5/debounce-b37c9ff5.js +0 -6
  1207. package/dist/esm-es5/dom-127f3d8d.js +0 -6
  1208. package/dist/esm-es5/filter-ec2ddb04.js +0 -6
  1209. package/dist/esm-es5/floating-ui-3dd9c891.js +0 -6
  1210. package/dist/esm-es5/form-17ba49d8.js +0 -6
  1211. package/dist/esm-es5/globalAttributes-2f17fabd.js +0 -6
  1212. package/dist/esm-es5/guid-91ab11b9.js +0 -6
  1213. package/dist/esm-es5/index-bba706e5.js +0 -7
  1214. package/dist/esm-es5/interactive-5b6b002f.js +0 -6
  1215. package/dist/esm-es5/interfaces-ff7ce8e2.js +0 -6
  1216. package/dist/esm-es5/key-bb0dff3b.js +0 -6
  1217. package/dist/esm-es5/label-b70415ec.js +0 -6
  1218. package/dist/esm-es5/loader.js +0 -6
  1219. package/dist/esm-es5/math-1cb1c8be.js +0 -6
  1220. package/dist/esm-es5/observers-44d8a639.js +0 -6
  1221. package/dist/esm-es5/openCloseComponent-7420c9e0.js +0 -6
  1222. package/dist/esm-es5/resources-1b8bfa65.js +0 -6
  1223. package/dist/esm-es5/resources-21b72b7d.js +0 -6
  1224. package/dist/esm-es5/resources-60e5aaf2.js +0 -6
  1225. package/dist/esm-es5/resources-a0e26200.js +0 -6
  1226. package/dist/esm-es5/resources-e698d1a3.js +0 -6
  1227. package/dist/esm-es5/resources-ec2aa059.js +0 -6
  1228. package/dist/esm-es5/sortable.esm-fc504810.js +0 -12
  1229. package/dist/esm-es5/utils-8c16c8e7.js +0 -6
@@ -1,6 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.595
5
- */
6
- import{r as t,h as a,F as i,g as n}from"./p-62699784.js";import{S as e,I as o,T as r}from"./p-77331416.js";import{g as c}from"./p-4e2f397f.js";import{S as s}from"./p-17d3d1e6.js";import{c as l,d as m}from"./p-2b66108c.js";import"./p-baa991b4.js";import"./p-364c1221.js";import"./p-b224bda4.js";const p=class{constructor(a){t(this,a),this.expanded=!1,this.layout="vertical",this.menuOpen=!1,this.setMenuOpen=t=>{this.menuOpen=!!t.detail}}expandedHandler(){this.menuOpen=!1}connectedCallback(){l(this)}disconnectedCallback(){m(this)}renderTooltip(){const{el:t}=this;return c(t,e.menuTooltip)?a("slot",{name:e.menuTooltip,slot:s.tooltip}):null}renderMenu(){const{el:t,expanded:i,intlMore:n,menuOpen:l,scale:m,layout:p}=this;return c(t,e.menuActions)?a("calcite-action-menu",{expanded:i,flipPlacements:["left","right"],label:n||r.more,onCalciteActionMenuOpenChange:this.setMenuOpen,open:l,placement:"horizontal"===p?"bottom-leading":"leading-start",scale:m},a("calcite-action",{icon:o.menu,scale:m,slot:s.trigger,text:n||r.more,textEnabled:i}),a("slot",{name:e.menuActions}),this.renderTooltip()):null}render(){return a(i,null,a("slot",null),this.renderMenu())}get el(){return n(this)}static get watchers(){return{expanded:["expandedHandler"]}}};p.style='@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:host{-webkit-box-sizing:border-box;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 *{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;padding:0px;--calcite-action-group-columns:3}:host([columns="1"]){--calcite-action-group-columns:1}:host([columns="2"]){--calcite-action-group-columns:2}:host([columns="3"]){--calcite-action-group-columns:3}:host([columns="4"]){--calcite-action-group-columns:4}:host([columns="5"]){--calcite-action-group-columns:5}:host([columns="6"]){--calcite-action-group-columns:6}:host(:first-child){-webkit-padding-before:0px;padding-block-start:0px}:host([layout=horizontal]){-ms-flex-direction:row;flex-direction:row}:host([layout=grid]){display:grid;place-content:stretch;gap:1px;background-color:var(--calcite-ui-background);padding:1px;grid-template-columns:repeat(var(--calcite-action-group-columns), auto)}';export{p as calcite_action_group}
@@ -1,6 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.595
5
- */
6
- System.register(["./p-40691199.system.js","./p-d0c487cd.system.js","./p-cb75f6fc.system.js","./p-fa9b0668.system.js"],(function(t){"use strict";var i,a,e,n,s,o;return{setters:[function(t){i=t.r;a=t.h;e=t.H;n=t.g},function(t){s=t.s;o=t.d},function(){},function(){}],execute:function(){var c;(function(t){t["valid"]="check-circle";t["invalid"]="exclamation-mark-triangle";t["idle"]="information"})(c||(c={}));var r="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([active][scale=m]),:host([active][scale=l]){--calcite-input-message-spacing-value:0.25rem}:host{visibility:hidden;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;block-size:0px;inline-size:100%;-ms-flex-align:center;align-items:center;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1);opacity:0;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}:host([active]){visibility:visible;block-size:auto;opacity:1;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}:host([active][scale=m]),:host([active][scale=l]){-webkit-margin-before:var(--calcite-input-message-spacing-value);margin-block-start:var(--calcite-input-message-spacing-value)}:host([calcite-hydrated-hidden]){visibility:hidden !important;pointer-events:none}.calcite-input-message-icon{pointer-events:none;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-negative:0;flex-shrink:0;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;-webkit-margin-end:0.5rem;margin-inline-end:0.5rem}:host([status=invalid]) .calcite-input-message-icon{color:var(--calcite-ui-danger)}:host([status=warning]) .calcite-input-message-icon{color:var(--calcite-ui-warning)}:host([status=valid]) .calcite-input-message-icon{color:var(--calcite-ui-success)}:host([status=idle]) .calcite-input-message-icon{color:var(--calcite-ui-brand)}:host([status][active]){color:var(--calcite-ui-text-1)}:host([status][scale=s]){font-size:var(--calcite-font-size--3);line-height:0.75rem}:host([status][scale=m]){-webkit-margin-before:0.25rem;margin-block-start:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([status][scale=l]){-webkit-margin-before:0.25rem;margin-block-start:0.25rem;font-size:var(--calcite-font-size--1);line-height:1rem}";var l=t("calcite_input_message",function(){function t(t){i(this,t);this.active=false;this.scale="m";this.status="idle"}t.prototype.handleIconEl=function(){this.requestedIcon=s(c,this.icon,this.status)};t.prototype.connectedCallback=function(){this.status=o(this.el,"status",this.status);this.scale=o(this.el,"scale",this.scale);this.requestedIcon=s(c,this.icon,this.status)};t.prototype.render=function(){var t=!this.active;return a(e,{"calcite-hydrated-hidden":t},this.renderIcon(this.requestedIcon),a("slot",null))};t.prototype.renderIcon=function(t){if(t){return a("calcite-icon",{class:"calcite-input-message-icon",icon:t,scale:"s"})}};Object.defineProperty(t.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{status:["handleIconEl"],icon:["handleIconEl"]}},enumerable:false,configurable:true});return t}());l.style=r}}}));
@@ -1,6 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.595
5
- */
6
- System.register(["./p-40691199.system.js","./p-95b0735c.system.js"],(function(e){"use strict";var t,n;return{setters:[function(e){t=e.f},function(e){n=e.c}],execute:function(){e({c:i,d:o});var r=new Set;var c;var s={childList:true};function i(e){if(!c){c=n("mutation",u)}c.observe(e.el,s)}function o(e){r.delete(e.el);u(c.takeRecords());c.disconnect();for(var t=0,n=r.entries();t<n.length;t++){var i=n[t][0];c.observe(i,s)}}function u(e){e.forEach((function(e){var n=e.target;t(n)}))}}}}));
@@ -1,6 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.595
5
- */
6
- System.register([],(function(t){"use strict";return{execute:function(){t("g",e);function e(t,e){return(t+e)%e}}}}));
@@ -1,6 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.595
5
- */
6
- import{r as t,c as a,h as i,H as e,g as n}from"./p-62699784.js";import{a as o}from"./p-4e2f397f.js";import{S as s}from"./p-f7a84b1c.js";import{u as r}from"./p-e3aab5a0.js";import"./p-baa991b4.js";import"./p-364c1221.js";const l=class{constructor(i){t(this,i),this.calciteFlowItemBack=a(this,"calciteFlowItemBack",6),this.calciteFlowItemBackClick=a(this,"calciteFlowItemBackClick",6),this.calciteFlowItemClose=a(this,"calciteFlowItemClose",6),this.closable=!1,this.closed=!1,this.disabled=!1,this.loading=!1,this.menuOpen=!1,this.showBackButton=!1,this.handlePanelClose=t=>{t.stopPropagation(),this.calciteFlowItemClose.emit()},this.backButtonClick=()=>{this.calciteFlowItemBackClick.emit(),this.calciteFlowItemBack.emit()},this.setBackRef=t=>{this.backButtonEl=t},this.getBackLabel=()=>this.intlBack||"Back"}componentDidRender(){r(this)}async setFocus(){const{backButtonEl:t,containerEl:a}=this;t?t.setFocus():null==a||a.setFocus()}async scrollContentTo(t){var a;null===(a=this.containerEl)||void 0===a||a.scrollContentTo(t)}renderBackButton(){const{el:t}=this,a="rtl"===o(t),{showBackButton:e,backButtonClick:n}=this,s=this.getBackLabel();return e?i("calcite-action",{"aria-label":s,class:"back-button",icon:a?"chevron-right":"chevron-left",key:"flow-back-button",onClick:n,ref:this.setBackRef,scale:"s",slot:"header-actions-start",text:s}):null}render(){const{closable:t,closed:a,description:n,disabled:o,heading:r,headingLevel:l,heightScale:c,intlBack:m,intlClose:d,intlOptions:b,loading:f,menuOpen:h,widthScale:p,backButtonEl:u}=this,k=this.getBackLabel();return i(e,null,i("calcite-panel",{closable:t,closed:a,description:n,disabled:o,heading:r,headingLevel:l,heightScale:c,intlBack:m,intlClose:d,intlOptions:b,loading:f,menuOpen:h,onCalcitePanelClose:this.handlePanelClose,widthScale:p},i("slot",{name:"header-actions-start",slot:s.headerActionsStart}),i("slot",{name:"header-actions-end",slot:s.headerActionsEnd}),i("slot",{name:"header-content",slot:s.headerContent}),i("slot",{name:"header-menu-actions",slot:s.headerMenuActions}),i("slot",{name:"fab",slot:s.fab}),i("slot",{name:"footer-actions",slot:s.footerActions}),i("slot",{name:"footer",slot:s.footer}),i("slot",null),this.renderBackButton()),u?i("calcite-tooltip",{label:k,placement:"auto",referenceElement:u},k):null)}get el(){return n(this)}};l.style="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:host{-webkit-box-sizing:border-box;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 *{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{position:relative;display:-ms-flexbox;display:flex;inline-size:100%;-ms-flex:1 1 auto;flex:1 1 auto;overflow:hidden}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.back-button{border-width:0px;border-style:solid;border-color:var(--calcite-ui-border-3);border-inline-end-width:1px}";export{l as calcite_flow_item}
@@ -1,6 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.595
5
- */
6
- System.register(["./p-389e6f49.system.js","./p-95b0735c.system.js"],(function(t){"use strict";var e,r;return{setters:[function(t){e=t.n},function(t){r=t.c}],execute:function(){t({a:B,d:D,g:A,i:c,l:M,p:f,s:p,u:H,w:x});var n=/^([-0])0+(?=\d)/;var i=/(?!^\.)\.$/;var u=/(?!^-)-/g;var a=/^-\b0\b\.?0*$/;var o=function(){function t(e){if(e instanceof t){return e}var r=String(e).split(".").concat(""),n=r[0],i=r[1];this.value=BigInt(n+i.padEnd(t.DECIMALS,"0").slice(0,t.DECIMALS))+BigInt(t.ROUNDED&&i[t.DECIMALS]>="5");this.isNegative=e.charAt(0)==="-"}t._divRound=function(e,r){return t.fromBigInt(e/r+(t.ROUNDED?e*BigInt(2)/r%BigInt(2):BigInt(0)))};t.fromBigInt=function(e){return Object.assign(Object.create(t.prototype),{value:e})};t.prototype.toString=function(){var e=this.value.toString().replace(new RegExp("-","g"),"").padStart(t.DECIMALS+1,"0");var r=e.slice(0,-t.DECIMALS);var n=e.slice(-t.DECIMALS).replace(/\.?0+$/,"");var i=r.concat(n.length?"."+n:"");return(this.isNegative?"-":"").concat(i)};t.prototype.formatToParts=function(e,r){var n=y(e,r);var i=this.value.toString().replace(new RegExp("-","g"),"").padStart(t.DECIMALS+1,"0");var u=i.slice(0,-t.DECIMALS);var a=i.slice(-t.DECIMALS).replace(/\.?0+$/,"");var o=n.formatToParts(BigInt(u));this.isNegative&&o.unshift({type:"minusSign",value:C(e)});if(a.length){o.push({type:"decimal",value:A(e)});a.split("").forEach((function(t){return o.push({type:"fraction",value:t})}))}return o};t.prototype.add=function(e){return t.fromBigInt(this.value+new t(e).value)};t.prototype.subtract=function(e){return t.fromBigInt(this.value-new t(e).value)};t.prototype.multiply=function(e){return t._divRound(this.value*new t(e).value,t.SHIFT)};t.prototype.divide=function(e){return t._divRound(this.value*t.SHIFT,new t(e).value)};return t}();o.DECIMALS=100;o.ROUNDED=true;o.SHIFT=BigInt("1"+"0".repeat(o.DECIMALS));function c(t){return!(!t||isNaN(Number(t)))}function f(t){if(!t||!m(t)){return""}return g(t,(function(t){var r=false;var n=t.split("").filter((function(t,n){if(t.match(/\./g)&&!r){r=true;return true}if(t.match(/\-/g)&&n===0){return true}return e.includes(t)})).reduce((function(t,e){return t+e}));return c(n)?new o(n).toString():""}))}function l(t){return t.replace(i,"")}function s(t){return t.replace(u,"")}function v(t){return t.replace(n,"$1")}function p(t){return g(t,(function(t){var e=s(l(v(t)));return c(e)?a.test(e)?e:new o(e).toString():t}))}function g(t,e){if(!t){return t}var r=t.toLowerCase().indexOf("e")+1;return t.replace(/[eE]*$/g,"").substring(0,r).concat(t.slice(r).replace(/[eE]/g,"")).split(/[eE]/).map((function(t,r){return r===1?e(t.replace(/\./g,"")):e(t)})).join("e").replace(/^e/,"1e")}function m(t){return e.some((function(e){return t.includes(e)}))}var d=t("b",["ar","bg","bs","ca","cs","da","de","de-CH","el","en","en-AU","en-CA","en-GB","es","es-MX","et","fi","fr","fr-CH","he","hi","hr","hu","id","it","it-CH","ja","ko","lt","lv","mk","nb","nl","pl","pt","pt-PT","ro","ru","sk","sl","sr","sv","th","tr","uk","vi","zh-CN","zh-HK","zh-TW"]);var h=new RegExp("[.](?=.*[.])","g");var S=new RegExp("[^0-9-.]","g");var E=new RegExp(",","g");var I=(new Intl.NumberFormat).resolvedOptions().numberingSystem;var b=I==="arab"?"latn":I;function y(t,e){if(e===void 0){e=b}return new Intl.NumberFormat(t,{minimumFractionDigits:0,maximumFractionDigits:20,numberingSystem:e})}function D(t,e){return g(t,(function(t){var r=t.replace(C(e),"-").replace(w(e),"").replace(A(e),".").replace(h,"").replace(S,"");return c(r)?r:t}))}function w(t){var e=y(t);var r=e.formatToParts(1234567);var n=r.find((function(t){return t.type==="group"})).value;return n.trim().length===0?" ":n}function A(t){var e=y(t);var r=e.formatToParts(1.1);return r.find((function(t){return t.type==="decimal"})).value}function C(t){var e=y(t);var r=e.formatToParts(-9);return r.find((function(t){return t.type==="minusSign"})).value}function M(t,e,r,n){if(r===void 0){r=false}return g(t,(function(t){if(t){var i=l(t.replace(E,""));if(c(i)){var u=new o(i).formatToParts(e,n);var a=u.map((function(t){var n=t.type,i=t.value;switch(n){case"group":return r?w(e):"";case"decimal":return A(e);case"minusSign":return C(e);default:return i}})).reduce((function(t,e){return t+e}));return a}}return t}))}function B(t){return t.el.lang||t.locale||document.documentElement.lang||"en"}var L=["lang"];var N=new Map;var R;function T(t,e){var r=t.el;var n={};e.filter((function(t){return!!L.includes(t)&&!!r.hasAttribute(t)})).forEach((function(t){var e=r.getAttribute(t);if(e!==null){n[t]=e}}));t.globalAttributes=n}function F(t){t.forEach((function(t){var e=t.target;var r=N.get(e),n=r[0],i=r[1];T(n,i.attributeFilter)}))}function x(t,e){var n=t.el;var i={attributeFilter:e};N.set(n,[t,i]);T(t,e);if(!R){R=r("mutation",F)}R.observe(n,i)}function H(t){N.delete(t.el);F(R.takeRecords());R.disconnect();for(var e=0,r=N.entries();e<r.length;e++){var n=r[e],i=n[0],u=n[1],a=u[1];R.observe(i,a)}}}}}));
@@ -1,6 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(t,e,i,n){function a(t){return t instanceof i?t:new i((function(e){e(t)}))}return new(i||(i=Promise))((function(i,o){function s(t){try{l(n.next(t))}catch(t){o(t)}}function c(t){try{l(n["throw"](t))}catch(t){o(t)}}function l(t){t.done?i(t.value):a(t.value).then(s,c)}l((n=n.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var i={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},n,a,o,s;return s={next:c(0),throw:c(1),return:c(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function c(t){return function(e){return l([t,e])}}function l(s){if(n)throw new TypeError("Generator is already executing.");while(i)try{if(n=1,a&&(o=s[0]&2?a["return"]:s[0]?a["throw"]||((o=a["return"])&&o.call(a),0):a.next)&&!(o=o.call(a,s[1])).done)return o;if(a=0,o)s=[s[0]&2,o.value];switch(s[0]){case 0:case 1:o=s;break;case 4:i.label++;return{value:s[1],done:false};case 5:i.label++;a=s[1];s=[0];continue;case 7:s=i.ops.pop();i.trys.pop();continue;default:if(!(o=i.trys,o=o.length>0&&o[o.length-1])&&(s[0]===6||s[0]===2)){i=0;continue}if(s[0]===3&&(!o||s[1]>o[0]&&s[1]<o[3])){i.label=s[1];break}if(s[0]===6&&i.label<o[1]){i.label=o[1];o=s;break}if(o&&i.label<o[2]){i.label=o[2];i.ops.push(s);break}if(o[2])i.ops.pop();i.trys.pop();continue}s=e.call(t,i)}catch(t){s=[6,t];a=0}finally{n=o=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};
2
- /*!
3
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
4
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
5
- * v1.0.0-next.595
6
- */System.register(["./p-40691199.system.js","./p-53159025.system.js","./p-d0c487cd.system.js","./p-123cd41d.system.js","./p-cb75f6fc.system.js","./p-fa9b0668.system.js","./p-95b0735c.system.js"],(function(t){"use strict";var e,i,n,a,o,s,c,l,r;return{setters:[function(t){e=t.r;i=t.c;n=t.h;a=t.g},function(t){o=t.S},function(t){s=t.s;c=t.g},function(t){l=t.c;r=t.d},function(){},function(){},function(){}],execute:function(){var m={close:"Close"};var f={title:"title",message:"message",link:"link",actionsEnd:"actions-end"};var d={actionsEnd:"actions-end",close:"notice-close",container:"container",content:"notice-content",icon:"notice-icon"};var u="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([scale=s]){--calcite-notice-spacing-token-small:0.5rem;--calcite-notice-spacing-token-large:0.75rem}:host([scale=s]) .container slot[name=title]::slotted(*),:host([scale=s]) .container *::slotted([slot=title]){margin-block:0.125rem;font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=s]) .container slot[name=message]::slotted(*),:host([scale=s]) .container *::slotted([slot=message]){margin-block:0.125rem;font-size:var(--calcite-font-size--2);line-height:1.375}:host([scale=s]) ::slotted(calcite-link){margin-block:0.125rem;font-size:var(--calcite-font-size--2);line-height:1.375}:host([scale=s]) .notice-close{padding:0.5rem}:host([scale=m]){--calcite-notice-spacing-token-small:0.75rem;--calcite-notice-spacing-token-large:1rem}:host([scale=m]) .container slot[name=title]::slotted(*),:host([scale=m]) .container *::slotted([slot=title]){margin-block:0.125rem;font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=m]) .container slot[name=message]::slotted(*),:host([scale=m]) .container *::slotted([slot=message]){margin-block:0.125rem;font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=m]) ::slotted(calcite-link){margin-block:0.125rem;font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=l]){--calcite-notice-spacing-token-small:1rem;--calcite-notice-spacing-token-large:1.25rem}:host([scale=l]) .container slot[name=title]::slotted(*),:host([scale=l]) .container *::slotted([slot=title]){margin-block:0.125rem;font-size:var(--calcite-font-size-1);line-height:1.375}:host([scale=l]) .container slot[name=message]::slotted(*),:host([scale=l]) .container *::slotted([slot=message]){margin-block:0.125rem;font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=l]) ::slotted(calcite-link){margin-block:0.125rem;font-size:var(--calcite-font-size-0);line-height:1.375}:host([width=auto]){--calcite-notice-width:auto}:host([width=half]){--calcite-notice-width:50%}:host([width=full]){--calcite-notice-width:100%}:host{margin-inline:auto;display:none;max-inline-size:100%;-ms-flex-align:center;align-items:center;inline-size:var(--calcite-notice-width)}.container{pointer-events:none;margin-block:0px;-webkit-box-sizing:border-box;box-sizing:border-box;display:none;inline-size:100%;background-color:var(--calcite-ui-foreground-1);opacity:0;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;max-block-size:0;text-align:start;-webkit-border-start:0px solid;border-inline-start:0px solid;-webkit-box-shadow:0 0 0 0 transparent;box-shadow:0 0 0 0 transparent}.notice-close{outline-color:transparent}.notice-close:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}:host{display:-ms-flexbox;display:flex}:host([open]) .container{pointer-events:auto;display:-ms-flexbox;display:flex;max-block-size:100%;-ms-flex-align:center;align-items:center;border-width:2px;opacity:1;--tw-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);--tw-shadow-colored:0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.container slot[name=title]::slotted(*),.container *::slotted([slot=title]){margin:0px;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}.container slot[name=message]::slotted(*),.container *::slotted([slot=message]){margin:0px;display:inline;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-2);-webkit-margin-end:var(--calcite-notice-spacing-token-small);margin-inline-end:var(--calcite-notice-spacing-token-small)}.notice-content{-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;padding-inline:var(--calcite-notice-spacing-token-large);-ms-flex:0 0 auto;flex:0 0 auto;display:-ms-flexbox;display:flex;min-inline-size:0px;-ms-flex-direction:column;flex-direction:column;overflow-wrap:break-word;-ms-flex:1 1 0px;flex:1 1 0;padding-block:var(--calcite-notice-spacing-token-small);padding-inline:0 var(--calcite-notice-spacing-token-small)}.notice-content:first-of-type:not(:only-child){-webkit-padding-start:var(--calcite-notice-spacing-token-large);padding-inline-start:var(--calcite-notice-spacing-token-large)}.notice-content:only-of-type{padding-block:var(--calcite-notice-spacing-token-small);padding-inline:var(--calcite-notice-spacing-token-large)}.notice-icon{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;padding-block:var(--calcite-notice-spacing-token-small);padding-inline:var(--calcite-notice-spacing-token-large);-ms-flex:0 0 auto;flex:0 0 auto}.notice-close{display:-ms-flexbox;display:flex;cursor:pointer;-ms-flex-align:center;align-items:center;-ms-flex-item-align:stretch;align-self:stretch;border-style:none;background-color:transparent;color:var(--calcite-ui-text-3);outline:2px solid transparent;outline-offset:2px;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;padding-block:var(--calcite-notice-spacing-token-small);padding-inline:var(--calcite-notice-spacing-token-large);-ms-flex:0 0 auto;flex:0 0 auto;-webkit-appearance:none}.notice-close:hover,.notice-close:focus{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}.notice-close:active{background-color:var(--calcite-ui-foreground-3)}.actions-end{display:-ms-flexbox;display:flex;-ms-flex-item-align:stretch;align-self:stretch}:host([color=blue]) .container{border-color:var(--calcite-ui-brand)}:host([color=blue]) .container .notice-icon{color:var(--calcite-ui-brand)}:host([color=red]) .container{border-color:var(--calcite-ui-danger)}:host([color=red]) .container .notice-icon{color:var(--calcite-ui-danger)}:host([color=yellow]) .container{border-color:var(--calcite-ui-warning)}:host([color=yellow]) .container .notice-icon{color:var(--calcite-ui-warning)}:host([color=green]) .container{border-color:var(--calcite-ui-success)}:host([color=green]) .container .notice-icon{color:var(--calcite-ui-success)}";var p=t("calcite_notice",function(){function t(t){var n=this;e(this,t);this.calciteNoticeClose=i(this,"calciteNoticeClose",6);this.calciteNoticeOpen=i(this,"calciteNoticeOpen",6);this.active=false;this.open=false;this.color="blue";this.dismissible=false;this.closable=false;this.intlClose=m.close;this.scale="m";this.width="auto";this.close=function(){n.open=false;n.calciteNoticeClose.emit()}}t.prototype.activeHandler=function(t){this.open=t};t.prototype.openHandler=function(t){this.active=t};t.prototype.handleDismissible=function(t){this.closable=t};t.prototype.handleClosable=function(t){this.dismissible=t};t.prototype.updateRequestedIcon=function(){this.requestedIcon=s(o,this.icon,this.color)};t.prototype.connectedCallback=function(){l(this);var t=this.active||this.open;if(t){this.activeHandler(t);this.openHandler(t)}if(this.dismissible){this.handleDismissible(this.dismissible)}if(this.closable){this.handleClosable(this.closable)}};t.prototype.disconnectedCallback=function(){r(this)};t.prototype.componentWillLoad=function(){this.requestedIcon=s(o,this.icon,this.color)};t.prototype.render=function(){var t=this;var e=this.el;var i=n("button",{"aria-label":this.intlClose,class:d.close,onClick:this.close,ref:function(e){return t.closeButton=e}},n("calcite-icon",{icon:"x",scale:this.scale==="l"?"m":"s"}));var a=c(e,f.actionsEnd);return n("div",{class:d.container},this.requestedIcon?n("div",{class:d.icon},n("calcite-icon",{icon:this.requestedIcon,scale:this.scale==="l"?"m":"s"})):null,n("div",{class:d.content},n("slot",{name:f.title}),n("slot",{name:f.message}),n("slot",{name:f.link})),a?n("div",{class:d.actionsEnd},n("slot",{name:f.actionsEnd})):null,this.closable?i:null)};t.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(e){t=this.el.querySelector("calcite-link");if(!this.closeButton&&!t){return[2]}if(t){t.setFocus()}else if(this.closeButton){this.closeButton.focus()}return[2]}))}))};Object.defineProperty(t.prototype,"el",{get:function(){return a(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{active:["activeHandler"],open:["openHandler"],dismissible:["handleDismissible"],closable:["handleClosable"],icon:["updateRequestedIcon"],color:["updateRequestedIcon"]}},enumerable:false,configurable:true});return t}());p.style=u}}}));
@@ -1,6 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.595
5
- */
6
- import{r as t,c as i,h as e,g as a}from"./p-62699784.js";import{t as n,g as o}from"./p-4e2f397f.js";import{c as r,d as l}from"./p-2b66108c.js";import"./p-baa991b4.js";import"./p-364c1221.js";import"./p-b224bda4.js";const s=class{constructor(e){t(this,e),this.calciteCardSelect=i(this,"calciteCardSelect",6),this.loading=!1,this.selected=!1,this.selectable=!1,this.intlLoading="Loading",this.intlSelect="Select",this.intlDeselect="Deselect",this.thumbnailPosition="block-start",this.cardSelectClick=()=>{this.selectCard()},this.cardSelectKeyDown=t=>{switch(t.key){case" ":case"Enter":this.selectCard(),t.preventDefault()}}}connectedCallback(){r(this)}disonnectedCallback(){l(this)}render(){const t=this.thumbnailPosition.startsWith("inline"),i=this.thumbnailPosition.endsWith("start");return e("div",{class:{"calcite-card-container":!0,inline:t}},this.loading?e("div",{class:"calcite-card-loader-container"},e("calcite-loader",{active:!0,label:this.intlLoading})):null,i&&this.renderThumbnail(),e("section",{"aria-busy":n(this.loading),class:{container:!0}},this.selectable?this.renderCheckbox():null,this.renderHeader(),e("div",{class:"card-content"},e("slot",null)),this.renderFooter()),!i&&this.renderThumbnail())}selectCard(){this.selected=!this.selected,this.calciteCardSelect.emit()}renderThumbnail(){return o(this.el,"thumbnail")?e("section",{class:"thumbnail-wrapper"},e("slot",{name:"thumbnail"})):null}renderCheckbox(){return e("calcite-label",{class:"checkbox-wrapper",onClick:this.cardSelectClick,onKeyDown:this.cardSelectKeyDown},e("calcite-checkbox",{checked:this.selected,label:this.selected?this.intlDeselect:this.intlSelect}))}renderHeader(){const{el:t}=this,i=o(t,"title"),a=o(t,"subtitle");return i||a?e("header",{class:"header"},e("slot",{name:"title"}),e("slot",{name:"subtitle"})):null}renderFooter(){const{el:t}=this,i=o(t,"footer-leading"),a=o(t,"footer-trailing");return i||a?e("footer",{class:"footer"},e("slot",{name:"footer-leading"}),e("slot",{name:"footer-trailing"})):null}get el(){return a(this)}};s.style="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:block;max-inline-size:100%}:host .calcite-card-container{position:relative;display:-ms-flexbox;display:flex;block-size:100%;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:justify;justify-content:space-between;overflow:hidden;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-2);background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-3);--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);border-radius:var(--calcite-border-radius-base)}.container{position:relative;display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:column;flex-direction:column}:host([loading]) .calcite-card-container *:not(calcite-loader):not(.calcite-card-loader-container){pointer-events:none;opacity:0}:host([loading]) .calcite-card-loader-container{position:absolute;inset:0px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.header,.footer{display:-ms-flexbox;display:flex;padding-inline:0.75rem;padding-block:0.75rem 0.25rem}.header{-ms-flex-direction:column;flex-direction:column}.footer{-webkit-margin-before:auto;margin-block-start:auto;-ms-flex-direction:row;flex-direction:row;-ms-flex-line-pack:justify;align-content:space-between;-ms-flex-pack:justify;justify-content:space-between;padding-inline:0.75rem;padding-block:0.25rem 0.75rem}.card-content{padding:0.75rem;font-size:var(--calcite-font-size--2);line-height:1.375;color:var(--calcite-ui-text-3)}:host([selected]) .calcite-card-container{border-color:var(--calcite-ui-brand)}slot[name=title]::slotted(*),*::slotted([slot=title]){margin:0px;font-size:var(--calcite-font-size--1);line-height:1.375;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}:host([selectable]) .header{-webkit-padding-end:2rem;padding-inline-end:2rem}slot[name=subtitle]::slotted(*),*::slotted([slot=subtitle]){margin:0px;-webkit-margin-before:0.5rem;margin-block-start:0.5rem;font-size:var(--calcite-font-size--2);line-height:1.375;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-2)}slot[name=thumbnail]::slotted(img),img::slotted([slot=thumbnail]){min-inline-size:100%;max-inline-size:100%}slot[name=footer-leading]::slotted(*),*::slotted([slot=footer-leading]){-ms-flex-item-align:center;align-self:center;font-size:var(--calcite-font-size--2);line-height:1.375;-webkit-margin-end:auto;margin-inline-end:auto}slot[name=footer-trailing]::slotted(*),*::slotted([slot=footer-trailing]){-ms-flex-item-align:center;align-self:center;font-size:var(--calcite-font-size--2);line-height:1.375}.checkbox-wrapper{position:absolute;margin:0px;padding:0px;inset-block-start:0.5rem;inset-inline-end:0.5rem}.thumbnail-wrapper{display:-ms-flexbox;display:flex}.calcite-card-container.inline{-ms-flex-direction:row;flex-direction:row}.calcite-card-container.inline>.container{inline-size:60%}.calcite-card-container.inline>.thumbnail-wrapper{inline-size:40%;-ms-flex-align:start;align-items:flex-start}.calcite-card-container.inline slot[name=thumbnail]::slotted(img),.calcite-card-container.inline img::slotted([slot=thumbnail]){inline-size:100%}slot[name=footer-leading]::slotted(*),slot[name=footer-trailing]::slotted(*){display:-ms-flexbox;display:flex;gap:0.25rem}";export{s as calcite_card}
@@ -1,6 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.595
5
- */
6
- System.register(["./p-c3f900e2.system.js"],(function(r){"use strict";var t,e,n,o,u,a,c;return{setters:[function(r){t=r.a;e=r.S;n=r.i;o=r.b;u=r.c;a=r.r;c=r.f}],execute:function(){function i(r,t){var e=-1,n=r==null?0:r.length,o=Array(n);while(++e<n){o[e]=t(r[e],e,r)}return o}var f=Array.isArray;var l=1/0;var v=e?e.prototype:undefined,b=v?v.toString:undefined;function y(r){if(typeof r=="string"){return r}if(f(r)){return i(r,y)+""}if(t(r)){return b?b.call(r):""}var e=r+"";return e=="0"&&1/r==-l?"-0":e}function s(r){return r}var p="[object AsyncFunction]",j="[object Function]",d="[object GeneratorFunction]",g="[object Proxy]";function h(r){if(!n(r)){return false}var t=o(r);return t==j||t==d||t==p||t==g}var A=9007199254740991;var m=/^(?:0|[1-9]\d*)$/;function O(r,t){var e=typeof r;t=t==null?A:t;return!!t&&(e=="number"||e!="symbol"&&m.test(r))&&(r>-1&&r%1==0&&r<t)}var w=9007199254740991;function x(r){return typeof r=="number"&&r>-1&&r%1==0&&r<=w}function F(r){return r!=null&&x(r.length)&&!h(r)}var S=Object.prototype;function T(r){var t=r&&r.constructor,e=typeof t=="function"&&t.prototype||S;return r===e}function E(r,t){var e=-1,n=Array(r);while(++e<r){n[e]=t(e)}return n}var B="[object Arguments]";function I(r){return u(r)&&o(r)==B}var P=Object.prototype;var U=P.hasOwnProperty;var D=P.propertyIsEnumerable;var R=I(function(){return arguments}())?I:function(r){return u(r)&&U.call(r,"callee")&&!D.call(r,"callee")};function $(){return false}var k=typeof r=="object"&&r&&!r.nodeType&&r;var q=k&&typeof module=="object"&&module&&!module.nodeType&&module;var M=q&&q.exports===k;var N=M?a.Buffer:undefined;var C=N?N.isBuffer:undefined;var G=C||$;var L="[object Arguments]",V="[object Array]",W="[object Boolean]",z="[object Date]",H="[object Error]",J="[object Function]",K="[object Map]",Q="[object Number]",X="[object Object]",Y="[object RegExp]",Z="[object Set]",_="[object String]",rr="[object WeakMap]";var tr="[object ArrayBuffer]",er="[object DataView]",nr="[object Float32Array]",or="[object Float64Array]",ur="[object Int8Array]",ar="[object Int16Array]",cr="[object Int32Array]",ir="[object Uint8Array]",fr="[object Uint8ClampedArray]",lr="[object Uint16Array]",vr="[object Uint32Array]";var br={};br[nr]=br[or]=br[ur]=br[ar]=br[cr]=br[ir]=br[fr]=br[lr]=br[vr]=true;br[L]=br[V]=br[tr]=br[W]=br[er]=br[z]=br[H]=br[J]=br[K]=br[Q]=br[X]=br[Y]=br[Z]=br[_]=br[rr]=false;function yr(r){return u(r)&&x(r.length)&&!!br[o(r)]}function sr(r){return function(t){return r(t)}}var pr=typeof r=="object"&&r&&!r.nodeType&&r;var jr=pr&&typeof module=="object"&&module&&!module.nodeType&&module;var dr=jr&&jr.exports===pr;var gr=dr&&c.process;var hr=function(){try{var r=jr&&jr.require&&jr.require("util").types;if(r){return r}return gr&&gr.binding&&gr.binding("util")}catch(r){}}();var Ar=hr&&hr.isTypedArray;var mr=Ar?sr(Ar):yr;var Or=Object.prototype;var wr=Or.hasOwnProperty;function xr(r,t){var e=f(r),n=!e&&R(r),o=!e&&!n&&G(r),u=!e&&!n&&!o&&mr(r),a=e||n||o||u,c=a?E(r.length,String):[],i=c.length;for(var l in r){if((t||wr.call(r,l))&&!(a&&(l=="length"||o&&(l=="offset"||l=="parent")||u&&(l=="buffer"||l=="byteLength"||l=="byteOffset")||O(l,i)))){c.push(l)}}return c}function Fr(r){var t=[];if(r!=null){for(var e in Object(r)){t.push(e)}}return t}var Sr=Object.prototype;var Tr=Sr.hasOwnProperty;function Er(r){if(!n(r)){return Fr(r)}var t=T(r),e=[];for(var o in r){if(!(o=="constructor"&&(t||!Tr.call(r,o)))){e.push(o)}}return e}function Br(r){return F(r)?xr(r,true):Er(r)}function Ir(r){return r==null?"":y(r)}function Pr(r){return function(t,e,n){var o=-1,u=Object(t),a=n(t),c=a.length;while(c--){var i=a[r?c:++o];if(e(u[i],i,u)===false){break}}return t}}var Ur=Pr();function Dr(r){return typeof r=="function"?r:s}var Rr=/[\\^$.*+?()[\]{}|]/g,$r=RegExp(Rr.source);function kr(r){r=Ir(r);return r&&$r.test(r)?r.replace(Rr,"\\$&"):r}function qr(r,t){return r==null?r:Ur(r,Dr(t),Br)}var Mr=r("f",(function(r,t){var e=kr(t);var n=new RegExp(e,"i");if(r.length===0){console.warn("No data was passed to the filter function.\n The data argument should be an array of objects")}var o=function(r,t){var e,n;if(((e=r)===null||e===void 0?void 0:e.constant)||((n=r)===null||n===void 0?void 0:n.filterDisabled)){return true}var u=false;qr(r,(function(r){if(typeof r==="function"||r==null){return}if(Array.isArray(r)||typeof r==="object"&&r!==null){if(o(r,t)){u=true}}else if(t.test(r)){u=true}}));return u};var u=r.filter((function(r){return o(r,n)}));return u}))}}}));
@@ -1,6 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(t,n,e,i){function a(t){return t instanceof e?t:new e((function(n){n(t)}))}return new(e||(e=Promise))((function(e,r){function o(t){try{s(i.next(t))}catch(t){r(t)}}function c(t){try{s(i["throw"](t))}catch(t){r(t)}}function s(t){t.done?e(t.value):a(t.value).then(o,c)}s((i=i.apply(t,n||[])).next())}))};var __generator=this&&this.__generator||function(t,n){var e={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},i,a,r,o;return o={next:c(0),throw:c(1),return:c(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function c(t){return function(n){return s([t,n])}}function s(o){if(i)throw new TypeError("Generator is already executing.");while(e)try{if(i=1,a&&(r=o[0]&2?a["return"]:o[0]?a["throw"]||((r=a["return"])&&r.call(a),0):a.next)&&!(r=r.call(a,o[1])).done)return r;if(a=0,r)o=[o[0]&2,r.value];switch(o[0]){case 0:case 1:r=o;break;case 4:e.label++;return{value:o[1],done:false};case 5:e.label++;a=o[1];o=[0];continue;case 7:o=e.ops.pop();e.trys.pop();continue;default:if(!(r=e.trys,r=r.length>0&&r[r.length-1])&&(o[0]===6||o[0]===2)){e=0;continue}if(o[0]===3&&(!r||o[1]>r[0]&&o[1]<r[3])){e.label=o[1];break}if(o[0]===6&&e.label<r[1]){e.label=r[1];r=o;break}if(r&&e.label<r[2]){e.label=r[2];e.ops.push(o);break}if(r[2])e.ops.pop();e.trys.pop();continue}o=n.call(t,e)}catch(t){o=[6,t];a=0}finally{i=r=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};
2
- /*!
3
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
4
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
5
- * v1.0.0-next.595
6
- */System.register(["./p-40691199.system.js","./p-d0c487cd.system.js","./p-95b0735c.system.js","./p-cb75f6fc.system.js","./p-fa9b0668.system.js"],(function(t){"use strict";var n,e,i,a,r,o,c,s;return{setters:[function(t){n=t.a;e=t.r;i=t.h;a=t.H;r=t.g},function(t){o=t.a;c=t.t},function(t){s=t.c},function(){},function(){}],execute:function(){var l={icon:"icon",flipRtl:"flip-rtl"};var u={};var f={};var m={s:16,m:24,l:32};function p(t){var e=t.icon,i=t.scale;return __awaiter(this,void 0,void 0,(function(){var t,a,r,o,c,s;return __generator(this,(function(l){switch(l.label){case 0:t=m[i];a=h(e);r=a.charAt(a.length-1)==="F";o=r?a.substring(0,a.length-1):a;c="".concat(o).concat(t).concat(r?"F":"");if(u[c]){return[2,u[c]]}if(!f[c]){f[c]=fetch(n("./assets/icon/".concat(c,".json"))).then((function(t){return t.json()})).catch((function(){console.error('"'.concat(c,'" is not a valid calcite-ui-icon name'));return""}))}return[4,f[c]];case 1:s=l.sent();u[c]=s;return[2,s]}}))}))}function h(t){var n=!isNaN(Number(t.charAt(0)));var e=t.split("-");if(e.length===1){return n?"i".concat(t):t}return e.map((function(t,e){if(e===0){return n?"i".concat(t.toUpperCase()):t}return t.charAt(0).toUpperCase()+t.slice(1)})).join("")}var b="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:-ms-inline-flexbox;display:inline-flex;color:var(--calcite-ui-icon-color)}:host([scale=s]){block-size:1rem;inline-size:1rem;min-inline-size:1rem;min-block-size:1rem}:host([scale=m]){block-size:1.5rem;inline-size:1.5rem;min-inline-size:1.5rem;min-block-size:1.5rem}:host([scale=l]){block-size:2rem;inline-size:2rem;min-inline-size:2rem;min-block-size:2rem}.flip-rtl{-webkit-transform:scaleX(-1);transform:scaleX(-1)}.svg{display:block}";var d=t("calcite_icon",function(){function t(t){e(this,t);this.icon=null;this.flipRtl=false;this.scale="m";this.visible=false}t.prototype.connectedCallback=function(){var t=this;this.waitUntilVisible((function(){t.visible=true;t.loadIconPathData()}))};t.prototype.disconnectedCallback=function(){var t;(t=this.intersectionObserver)===null||t===void 0?void 0:t.disconnect();this.intersectionObserver=null};t.prototype.componentWillLoad=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.loadIconPathData();return[2]}))}))};t.prototype.render=function(){var t;var n=this,e=n.el,r=n.flipRtl,s=n.pathData,u=n.scale,f=n.textLabel;var p=o(e);var h=m[u];var b=!!f;var d=[].concat(s||"");return i(a,{"aria-hidden":c(!b),"aria-label":b?f:null,role:b?"img":null},i("svg",{class:(t={},t[l.flipRtl]=p==="rtl"&&r,t.svg=true,t),fill:"currentColor",height:"100%",viewBox:"0 0 ".concat(h," ").concat(h),width:"100%",xmlns:"http://www.w3.org/2000/svg"},d.map((function(t){return typeof t==="string"?i("path",{d:t}):i("path",{d:t.d,opacity:"opacity"in t?t.opacity:1})}))))};t.prototype.loadIconPathData=function(){return __awaiter(this,void 0,void 0,(function(){var t,n,e,i,a;return __generator(this,(function(r){switch(r.label){case 0:t=this,n=t.icon,e=t.scale,i=t.visible;if(!n||!i){return[2]}a=this;return[4,p({icon:n,scale:e})];case 1:a.pathData=r.sent();return[2]}}))}))};t.prototype.waitUntilVisible=function(t){var n=this;this.intersectionObserver=s("intersection",(function(e){e.forEach((function(e){if(e.isIntersecting){n.intersectionObserver.disconnect();n.intersectionObserver=null;t()}}))}),{rootMargin:"50px"});if(!this.intersectionObserver){t();return}this.intersectionObserver.observe(this.el)};Object.defineProperty(t,"assetsDirs",{get:function(){return["assets"]},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"el",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{icon:["loadIconPathData"],scale:["loadIconPathData"]}},enumerable:false,configurable:true});return t}());d.style=b}}}));
@@ -1,6 +0,0 @@
1
- var __assign=this&&this.__assign||function(){__assign=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++){e=arguments[r];for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i))t[i]=e[i]}return t};return __assign.apply(this,arguments)};var __awaiter=this&&this.__awaiter||function(t,e,r,n){function i(t){return t instanceof r?t:new r((function(e){e(t)}))}return new(r||(r=Promise))((function(r,a){function o(t){try{s(n.next(t))}catch(t){a(t)}}function l(t){try{s(n["throw"](t))}catch(t){a(t)}}function s(t){t.done?r(t.value):i(t.value).then(o,l)}s((n=n.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var r={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},n,i,a,o;return o={next:l(0),throw:l(1),return:l(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function l(t){return function(e){return s([t,e])}}function s(o){if(n)throw new TypeError("Generator is already executing.");while(r)try{if(n=1,i&&(a=o[0]&2?i["return"]:o[0]?i["throw"]||((a=i["return"])&&a.call(i),0):i.next)&&!(a=a.call(i,o[1])).done)return a;if(i=0,a)o=[o[0]&2,a.value];switch(o[0]){case 0:case 1:a=o;break;case 4:r.label++;return{value:o[1],done:false};case 5:r.label++;i=o[1];o=[0];continue;case 7:o=r.ops.pop();r.trys.pop();continue;default:if(!(a=r.trys,a=a.length>0&&a[a.length-1])&&(o[0]===6||o[0]===2)){r=0;continue}if(o[0]===3&&(!a||o[1]>a[0]&&o[1]<a[3])){r.label=o[1];break}if(o[0]===6&&r.label<a[1]){r.label=a[1];a=o;break}if(a&&r.label<a[2]){r.label=a[2];r.ops.push(o);break}if(a[2])r.ops.pop();r.trys.pop();continue}o=e.call(t,r)}catch(t){o=[6,t];i=0}finally{n=a=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};var __rest=this&&this.__rest||function(t,e){var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0)r[n]=t[n];if(t!=null&&typeof Object.getOwnPropertySymbols==="function")for(var i=0,n=Object.getOwnPropertySymbols(t);i<n.length;i++){if(e.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(t,n[i]))r[n[i]]=t[n[i]]}return r};var __spreadArray=this&&this.__spreadArray||function(t,e,r){if(r||arguments.length===2)for(var n=0,i=e.length,a;n<i;n++){if(a||!(n in e)){if(!a)a=Array.prototype.slice.call(e,0,n);a[n]=e[n]}}return t.concat(a||Array.prototype.slice.call(e))};
2
- /*!
3
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
4
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
5
- * v1.0.0-next.595
6
- */System.register(["./p-d0c487cd.system.js"],(function(t){"use strict";var e;return{setters:[function(t){e=t.a}],execute:function(){var r=this;t({a:Dt,c:kt,f:Lt,p:Tt});function n(t){return t.split("-")[0]}function i(t){return t.split("-")[1]}function a(t){return["top","bottom"].includes(n(t))?"x":"y"}function o(t){return t==="y"?"height":"width"}function l(t,e,r){var l=t.reference,s=t.floating;var f=l.x+l.width/2-s.width/2;var u=l.y+l.height/2-s.height/2;var c=a(e);var d=o(c);var v=l[d]/2-s[d]/2;var p=n(e);var h=c==="x";var g;switch(p){case"top":g={x:f,y:l.y-s.height};break;case"bottom":g={x:f,y:l.y+l.height};break;case"right":g={x:l.x+l.width,y:u};break;case"left":g={x:l.x-s.width,y:u};break;default:g={x:l.x,y:l.y}}switch(i(e)){case"start":g[c]-=v*(r&&h?-1:1);break;case"end":g[c]+=v*(r&&h?-1:1);break}return g}var s=function(t,e,n){return __awaiter(r,void 0,void 0,(function(){var r,i,a,o,s,f,u,c,d,v,p,h,g,m,y,_,w,b,x,A,R,P,L,O,T;var E,k;return __generator(this,(function(D){switch(D.label){case 0:r=n.placement,i=r===void 0?"bottom":r,a=n.strategy,o=a===void 0?"absolute":a,s=n.middleware,f=s===void 0?[]:s,u=n.platform;return[4,u.isRTL==null?void 0:u.isRTL(e)];case 1:c=D.sent();return[4,u.getElementRects({reference:t,floating:e,strategy:o})];case 2:d=D.sent();v=l(d,i,c),p=v.x,h=v.y;g=i;m={};y=0;_=0;D.label=3;case 3:if(!(_<f.length))return[3,11];w=f[_],b=w.name,x=w.fn;return[4,x({x:p,y:h,initialPlacement:i,placement:g,strategy:o,middlewareData:m,rects:d,platform:u,elements:{reference:t,floating:e}})];case 4:A=D.sent(),R=A.x,P=A.y,L=A.data,O=A.reset;p=R!=null?R:p;h=P!=null?P:h;m=__assign(__assign({},m),(E={},E[b]=__assign(__assign({},m[b]),L),E));if(!(O&&y<=50))return[3,10];y++;if(!(typeof O==="object"))return[3,9];if(O.placement){g=O.placement}if(!O.rects)return[3,8];if(!(O.rects===true))return[3,6];return[4,u.getElementRects({reference:t,floating:e,strategy:o})];case 5:T=D.sent();return[3,7];case 6:T=O.rects;D.label=7;case 7:d=T;D.label=8;case 8:k=l(d,g,c),p=k.x,h=k.y;D.label=9;case 9:_=-1;return[3,10];case 10:_++;return[3,3];case 11:return[2,{x:p,y:h,placement:g,strategy:o,middlewareData:m}]}}))}))};function f(t){return __assign({top:0,right:0,bottom:0,left:0},t)}function u(t){return typeof t!=="number"?f(t):{top:t,right:t,bottom:t,left:t}}function c(t){return __assign(__assign({},t),{top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height})}function d(t,e){return __awaiter(this,void 0,void 0,(function(){var r,n,i,a,o,l,s,f,d,v,p,h,g,m,y,_,w,b,x,A,R,P,L,O,T,E,k,D,H,S,W;var j,C;return __generator(this,(function(M){switch(M.label){case 0:if(e===void 0){e={}}n=t.x,i=t.y,a=t.platform,o=t.rects,l=t.elements,s=t.strategy;f=e.boundary,d=f===void 0?"clippingAncestors":f,v=e.rootBoundary,p=v===void 0?"viewport":v,h=e.elementContext,g=h===void 0?"floating":h,m=e.altBoundary,y=m===void 0?false:m,_=e.padding,w=_===void 0?0:_;b=u(w);x=g==="floating"?"reference":"floating";A=l[y?x:g];P=c;O=(L=a).getClippingRect;j={};return[4,a.isElement==null?void 0:a.isElement(A)];case 1:if(!((r=M.sent())!=null?r:true))return[3,2];T=A;return[3,5];case 2:E=A.contextElement;if(E)return[3,4];return[4,a.getDocumentElement==null?void 0:a.getDocumentElement(l.floating)];case 3:E=M.sent();M.label=4;case 4:T=E;M.label=5;case 5:return[4,O.apply(L,[(j.element=T,j.boundary=d,j.rootBoundary=p,j.strategy=s,j)])];case 6:R=P.apply(void 0,[M.sent()]);D=c;if(!a.convertOffsetParentRelativeRectToViewportRelativeRect)return[3,9];W=(S=a).convertOffsetParentRelativeRectToViewportRelativeRect;C={rect:g==="floating"?__assign(__assign({},o.floating),{x:n,y:i}):o.reference};return[4,a.getOffsetParent==null?void 0:a.getOffsetParent(l.floating)];case 7:return[4,W.apply(S,[(C.offsetParent=M.sent(),C.strategy=s,C)])];case 8:H=M.sent();return[3,10];case 9:H=o[g];M.label=10;case 10:k=D.apply(void 0,[H]);return[2,{top:R.top-k.top+b.top,bottom:k.bottom-R.bottom+b.bottom,left:R.left-k.left+b.left,right:k.right-R.right+b.right}]}}))}))}var v=Math.min;var p=Math.max;function h(t,e,r){return p(t,v(e,r))}var g=function(t){return{name:"arrow",options:t,fn:function(e){return __awaiter(this,void 0,void 0,(function(){var r,n,l,s,f,c,d,v,p,g,m,y,_,w,b,x,A,R,P,L,O,T,E,k,D,H,S,W,j;var C,M;return __generator(this,(function(F){switch(F.label){case 0:r=t!=null?t:{},n=r.element,l=r.padding,s=l===void 0?0:l;f=e.x,c=e.y,d=e.placement,v=e.rects,p=e.platform;if(n==null){return[2,{}]}g=u(s);m={x:f,y:c};y=a(d);_=i(d);w=o(y);return[4,p.getDimensions(n)];case 1:b=F.sent();x=y==="y"?"top":"left";A=y==="y"?"bottom":"right";R=v.reference[w]+v.reference[y]-m[y]-v.floating[w];P=m[y]-v.reference[y];return[4,p.getOffsetParent==null?void 0:p.getOffsetParent(n)];case 2:L=F.sent();O=L?y==="y"?L.clientHeight||0:L.clientWidth||0:0;if(O===0){O=v.floating[w]}T=R/2-P/2;E=g[x];k=O-b[w]-g[A];D=O/2-b[w]/2+T;H=h(E,D,k);S=_==="start"?g[x]:g[A];W=S>0&&D!==H&&v.reference[w]<=v.floating[w];j=W?D<E?E-D:k-D:0;return[2,(C={},C[y]=m[y]-j,C.data=(M={},M[y]=H,M.centerOffset=D-H,M),C)]}}))}))}}};var m={left:"right",right:"left",bottom:"top",top:"bottom"};function y(t){return t.replace(/left|right|bottom|top/g,(function(t){return m[t]}))}function _(t,e,r){if(r===void 0){r=false}var n=i(t);var l=a(t);var s=o(l);var f=l==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";if(e.reference[s]>e.floating[s]){f=y(f)}return{main:f,cross:y(f)}}var w={start:"end",end:"start"};function b(t){return t.replace(/start|end/g,(function(t){return w[t]}))}var x=["top","right","bottom","left"];var A=x.reduce((function(t,e){return t.concat(e,e+"-start",e+"-end")}),[]);function R(t,e,r){var a=t?__spreadArray(__spreadArray([],r.filter((function(e){return i(e)===t})),true),r.filter((function(e){return i(e)!==t})),true):r.filter((function(t){return n(t)===t}));return a.filter((function(r){if(t){return i(r)===t||(e?b(r)!==r:false)}return true}))}var P=function(t){if(t===void 0){t={}}return{name:"autoPlacement",options:t,fn:function(e){return __awaiter(this,void 0,void 0,(function(){var r,i,a,o,l,s,f,u,c,v,p,h,g,m,y,w,b,x,P,L,O,T,E,k,D,H,S,W,j,C,M,F,N,V;return __generator(this,(function(B){switch(B.label){case 0:s=e.x,f=e.y,u=e.rects,c=e.middlewareData,v=e.placement,p=e.platform,h=e.elements;g=t.alignment,m=g===void 0?null:g,y=t.allowedPlacements,w=y===void 0?A:y,b=t.autoAlignment,x=b===void 0?true:b,P=__rest(t,["alignment","allowedPlacements","autoAlignment"]);L=R(m,x,w);return[4,d(e,P)];case 1:O=B.sent();T=(r=(i=c.autoPlacement)==null?void 0:i.index)!=null?r:0;E=L[T];if(E==null){return[2,{}]}S=_;W=[E,u];return[4,p.isRTL==null?void 0:p.isRTL(h.floating)];case 2:k=S.apply(void 0,W.concat([B.sent()])),D=k.main,H=k.cross;if(v!==E){return[2,{x:s,y:f,reset:{placement:L[0]}}]}j=[O[n(E)],O[D],O[H]];C=__spreadArray(__spreadArray([],(a=(o=c.autoPlacement)==null?void 0:o.overflows)!=null?a:[],true),[{placement:E,overflows:j}],false);M=L[T+1];if(M){return[2,{data:{index:T+1,overflows:C},reset:{placement:M}}]}F=C.slice().sort((function(t,e){return t.overflows[0]-e.overflows[0]}));N=(l=F.find((function(t){var e=t.overflows;return e.every((function(t){return t<=0}))})))==null?void 0:l.placement;V=N!=null?N:F[0].placement;if(V!==v){return[2,{data:{index:T+1,overflows:C},reset:{placement:V}}]}return[2,{}]}}))}))}}};function L(t){var e=y(t);return[b(t),e,b(e)]}var O=function(t){if(t===void 0){t={}}return{name:"flip",options:t,fn:function(e){return __awaiter(this,void 0,void 0,(function(){var r,i,a,o,l,s,f,u,c,v,p,h,g,m,w,b,x,A,R,P,O,T,E,k,D,H,S,W,j,C,M,F,N,V,B,z;return __generator(this,(function(I){switch(I.label){case 0:i=e.placement,a=e.middlewareData,o=e.rects,l=e.initialPlacement,s=e.platform,f=e.elements;u=t.mainAxis,c=u===void 0?true:u,v=t.crossAxis,p=v===void 0?true:v,h=t.fallbackPlacements,g=t.fallbackStrategy,m=g===void 0?"bestFit":g,w=t.flipAlignment,b=w===void 0?true:w,x=__rest(t,["mainAxis","crossAxis","fallbackPlacements","fallbackStrategy","flipAlignment"]);A=n(i);R=A===l;P=h||(R||!b?[y(l)]:L(l));O=__spreadArray([l],P,true);return[4,d(e,x)];case 1:T=I.sent();E=[];k=((r=a.flip)==null?void 0:r.overflows)||[];if(c){E.push(T[A])}if(!p)return[3,3];W=_;j=[i,o];return[4,s.isRTL==null?void 0:s.isRTL(f.floating)];case 2:D=W.apply(void 0,j.concat([I.sent()])),H=D.main,S=D.cross;E.push(T[H],T[S]);I.label=3;case 3:k=__spreadArray(__spreadArray([],k,true),[{placement:i,overflows:E}],false);if(!E.every((function(t){return t<=0}))){F=((C=(M=a.flip)==null?void 0:M.index)!=null?C:0)+1;N=O[F];if(N){return[2,{data:{index:F,overflows:k},reset:{placement:N}}]}V="bottom";switch(m){case"bestFit":{z=(B=k.map((function(t){return[t,t.overflows.filter((function(t){return t>0})).reduce((function(t,e){return t+e}),0)]})).sort((function(t,e){return t[1]-e[1]}))[0])==null?void 0:B[0].placement;if(z){V=z}break}case"initialPlacement":V=l;break}if(i!==V){return[2,{reset:{placement:V}}]}}return[2,{}]}}))}))}}};function T(t,e){return{top:t.top-e.height,right:t.right-e.width,bottom:t.bottom-e.height,left:t.left-e.width}}function E(t){return x.some((function(e){return t[e]>=0}))}var k=function(t){var e=t===void 0?{}:t,r=e.strategy,n=r===void 0?"referenceHidden":r,i=__rest(e,["strategy"]);return{name:"hide",fn:function(t){return __awaiter(this,void 0,void 0,(function(){var e,r,a,o,a,o;return __generator(this,(function(l){switch(l.label){case 0:e=t.rects;r=n;switch(r){case"referenceHidden":return[3,1];case"escaped":return[3,3]}return[3,5];case 1:return[4,d(t,__assign(__assign({},i),{elementContext:"reference"}))];case 2:a=l.sent();o=T(a,e.reference);return[2,{data:{referenceHiddenOffsets:o,referenceHidden:E(o)}}];case 3:return[4,d(t,__assign(__assign({},i),{altBoundary:true}))];case 4:a=l.sent();o=T(a,e.floating);return[2,{data:{escapedOffsets:o,escaped:E(o)}}];case 5:{return[2,{}]}l.label=6;case 6:return[2]}}))}))}}};function D(t,e){return __awaiter(this,void 0,void 0,(function(){var r,o,l,s,f,u,c,d,v,p,h,g,m,y;return __generator(this,(function(_){switch(_.label){case 0:r=t.placement,o=t.platform,l=t.elements;return[4,o.isRTL==null?void 0:o.isRTL(l.floating)];case 1:s=_.sent();f=n(r);u=i(r);c=a(r)==="x";d=["left","top"].includes(f)?-1:1;v=s&&c?-1:1;p=typeof e==="function"?e(t):e;h=typeof p==="number"?{mainAxis:p,crossAxis:0,alignmentAxis:null}:__assign({mainAxis:0,crossAxis:0,alignmentAxis:null},p),g=h.mainAxis,m=h.crossAxis,y=h.alignmentAxis;if(u&&typeof y==="number"){m=u==="end"?y*-1:y}return[2,c?{x:m*v,y:g*d}:{x:g*d,y:m*v}]}}))}))}var H=function(t){if(t===void 0){t=0}return{name:"offset",options:t,fn:function(e){return __awaiter(this,void 0,void 0,(function(){var r,n,i;return __generator(this,(function(a){switch(a.label){case 0:r=e.x,n=e.y;return[4,D(e,t)];case 1:i=a.sent();return[2,{x:r+i.x,y:n+i.y,data:i}]}}))}))}}};function S(t){return t==="x"?"y":"x"}var W=function(t){if(t===void 0){t={}}return{name:"shift",options:t,fn:function(e){return __awaiter(this,void 0,void 0,(function(){var r,i,o,l,s,f,u,c,v,p,g,m,y,_,w,b,x,A,R,P,x,A,L,O,T;var E;return __generator(this,(function(k){switch(k.label){case 0:r=e.x,i=e.y,o=e.placement;l=t.mainAxis,s=l===void 0?true:l,f=t.crossAxis,u=f===void 0?false:f,c=t.limiter,v=c===void 0?{fn:function(t){var e=t.x,r=t.y;return{x:e,y:r}}}:c,p=__rest(t,["mainAxis","crossAxis","limiter"]);g={x:r,y:i};return[4,d(e,p)];case 1:m=k.sent();y=a(n(o));_=S(y);w=g[y];b=g[_];if(s){x=y==="y"?"top":"left";A=y==="y"?"bottom":"right";R=w+m[x];P=w-m[A];w=h(R,w,P)}if(u){x=_==="y"?"top":"left";A=_==="y"?"bottom":"right";L=b+m[x];O=b-m[A];b=h(L,b,O)}T=v.fn(__assign(__assign({},e),(E={},E[y]=w,E[_]=b,E)));return[2,__assign(__assign({},T),{data:{x:T.x-r,y:T.y-i}})]}}))}))}}};function j(t){return t&&t.document&&t.location&&t.alert&&t.setInterval}function C(t){if(t==null){return window}if(!j(t)){var e=t.ownerDocument;return e?e.defaultView||window:window}return t}function M(t){return C(t).getComputedStyle(t)}function F(t){return j(t)?"":t?(t.nodeName||"").toLowerCase():""}function N(){var t=navigator.userAgentData;if(t!=null&&t.brands){return t.brands.map((function(t){return t.brand+"/"+t.version})).join(" ")}return navigator.userAgent}function V(t){return t instanceof C(t).HTMLElement}function B(t){return t instanceof C(t).Element}function z(t){return t instanceof C(t).Node}function I(t){if(typeof ShadowRoot==="undefined"){return false}var e=C(t).ShadowRoot;return t instanceof e||t instanceof ShadowRoot}function X(t){var e=M(t),r=e.overflow,n=e.overflowX,i=e.overflowY;return/auto|scroll|overlay|hidden/.test(r+i+n)}function Y(t){return["table","td","th"].includes(F(t))}function q(t){var e=/firefox/i.test(N());var r=M(t);return r.transform!=="none"||r.perspective!=="none"||r.contain==="paint"||["transform","perspective"].includes(r.willChange)||e&&r.willChange==="filter"||e&&(r.filter?r.filter!=="none":false)}function G(){return!/^((?!chrome|android).)*safari/i.test(N())}var J=Math.min;var K=Math.max;var Q=Math.round;function U(t,e,r){var n,i,a,o;if(e===void 0){e=false}if(r===void 0){r=false}var l=t.getBoundingClientRect();var s=1;var f=1;if(e&&V(t)){s=t.offsetWidth>0?Q(l.width)/t.offsetWidth||1:1;f=t.offsetHeight>0?Q(l.height)/t.offsetHeight||1:1}var u=B(t)?C(t):window;var c=!G()&&r;var d=(l.left+(c?(n=(i=u.visualViewport)==null?void 0:i.offsetLeft)!=null?n:0:0))/s;var v=(l.top+(c?(a=(o=u.visualViewport)==null?void 0:o.offsetTop)!=null?a:0:0))/f;var p=l.width/s;var h=l.height/f;return{width:p,height:h,top:v,right:d+p,bottom:v+h,left:d,x:d,y:v}}function Z(t){return((z(t)?t.ownerDocument:t.document)||window.document).documentElement}function $(t){if(B(t)){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function tt(t){return U(Z(t)).left+$(t).scrollLeft}function et(t){var e=U(t);return Q(e.width)!==t.offsetWidth||Q(e.height)!==t.offsetHeight}function rt(t,e,r){var n=V(e);var i=Z(e);var a=U(t,n&&et(e),r==="fixed");var o={scrollLeft:0,scrollTop:0};var l={x:0,y:0};if(n||!n&&r!=="fixed"){if(F(e)!=="body"||X(i)){o=$(e)}if(V(e)){var s=U(e,true);l.x=s.x+e.clientLeft;l.y=s.y+e.clientTop}else if(i){l.x=tt(i)}}return{x:a.left+o.scrollLeft-l.x,y:a.top+o.scrollTop-l.y,width:a.width,height:a.height}}function nt(t){if(F(t)==="html"){return t}return t.assignedSlot||t.parentNode||(I(t)?t.host:null)||Z(t)}function it(t){if(!V(t)||M(t).position==="fixed"){return null}return t.offsetParent}function at(t){var e=nt(t);if(I(e)){e=e.host}while(V(e)&&!["html","body"].includes(F(e))){if(q(e)){return e}else{var r=e.parentNode;e=I(r)?r.host:r}}return null}function ot(t){var e=C(t);var r=it(t);while(r&&Y(r)&&M(r).position==="static"){r=it(r)}if(r&&(F(r)==="html"||F(r)==="body"&&M(r).position==="static"&&!q(r))){return e}return r||at(t)||e}function lt(t){if(V(t)){return{width:t.offsetWidth,height:t.offsetHeight}}var e=U(t);return{width:e.width,height:e.height}}function st(t){var e=t.rect,r=t.offsetParent,n=t.strategy;var i=V(r);var a=Z(r);if(r===a){return e}var o={scrollLeft:0,scrollTop:0};var l={x:0,y:0};if(i||!i&&n!=="fixed"){if(F(r)!=="body"||X(a)){o=$(r)}if(V(r)){var s=U(r,true);l.x=s.x+r.clientLeft;l.y=s.y+r.clientTop}}return __assign(__assign({},e),{x:e.x-o.scrollLeft+l.x,y:e.y-o.scrollTop+l.y})}function ft(t,e){var r=C(t);var n=Z(t);var i=r.visualViewport;var a=n.clientWidth;var o=n.clientHeight;var l=0;var s=0;if(i){a=i.width;o=i.height;var f=G();if(f||!f&&e==="fixed"){l=i.offsetLeft;s=i.offsetTop}}return{width:a,height:o,x:l,y:s}}function ut(t){var e;var r=Z(t);var n=$(t);var i=(e=t.ownerDocument)==null?void 0:e.body;var a=K(r.scrollWidth,r.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0);var o=K(r.scrollHeight,r.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0);var l=-n.scrollLeft+tt(t);var s=-n.scrollTop;if(M(i||r).direction==="rtl"){l+=K(r.clientWidth,i?i.clientWidth:0)-a}return{width:a,height:o,x:l,y:s}}function ct(t){var e=nt(t);if(["html","body","#document"].includes(F(e))){return t.ownerDocument.body}if(V(e)&&X(e)){return e}return ct(e)}function dt(t,e){var r;if(e===void 0){e=[]}var n=ct(t);var i=n===((r=t.ownerDocument)==null?void 0:r.body);var a=C(n);var o=i?[a].concat(a.visualViewport||[],X(n)?n:[]):n;var l=e.concat(o);return i?l:l.concat(dt(o))}function vt(t,e){var r=e.getRootNode==null?void 0:e.getRootNode();if(t.contains(e)){return true}else if(r&&I(r)){var n=e;do{if(n&&t===n){return true}n=n.parentNode||n.host}while(n)}return false}function pt(t,e){var r=U(t,false,e==="fixed");var n=r.top+t.clientTop;var i=r.left+t.clientLeft;return{top:n,left:i,x:i,y:n,right:i+t.clientWidth,bottom:n+t.clientHeight,width:t.clientWidth,height:t.clientHeight}}function ht(t,e,r){if(e==="viewport"){return c(ft(t,r))}if(B(e)){return pt(e,r)}return c(ut(Z(t)))}function gt(t){var e=dt(t);var r=["absolute","fixed"].includes(M(t).position);var n=r&&V(t)?ot(t):t;if(!B(n)){return[]}return e.filter((function(t){return B(t)&&vt(t,n)&&F(t)!=="body"}))}function mt(t){var e=t.element,r=t.boundary,n=t.rootBoundary,i=t.strategy;var a=r==="clippingAncestors"?gt(e):[].concat(r);var o=__spreadArray(__spreadArray([],a,true),[n],false);var l=o[0];var s=o.reduce((function(t,r){var n=ht(e,r,i);t.top=K(n.top,t.top);t.right=J(n.right,t.right);t.bottom=J(n.bottom,t.bottom);t.left=K(n.left,t.left);return t}),ht(e,l,i));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}}var yt={getClippingRect:mt,convertOffsetParentRelativeRectToViewportRelativeRect:st,isElement:B,getDimensions:lt,getOffsetParent:ot,getDocumentElement:Z,getElementRects:function(t){var e=t.reference,r=t.floating,n=t.strategy;return{reference:rt(e,ot(r),n),floating:__assign(__assign({},lt(r)),{x:0,y:0})}},getClientRects:function(t){return Array.from(t.getClientRects())},isRTL:function(t){return M(t).direction==="rtl"}};function _t(t,e,r,n){if(n===void 0){n={}}var i=n.ancestorScroll,a=i===void 0?true:i,o=n.ancestorResize,l=o===void 0?true:o,s=n.elementResize,f=s===void 0?true:s,u=n.animationFrame,c=u===void 0?false:u;var d=a&&!c;var v=l&&!c;var p=d||v?__spreadArray(__spreadArray([],B(t)?dt(t):[],true),dt(e),true):[];p.forEach((function(t){d&&t.addEventListener("scroll",r,{passive:true});v&&t.addEventListener("resize",r)}));var h=null;if(f){var g=true;h=new ResizeObserver((function(){if(!g){r()}g=false}));B(t)&&!c&&h.observe(t);h.observe(e)}var m;var y=c?U(t):null;if(c){_()}function _(){var e=U(t);if(y&&(e.x!==y.x||e.y!==y.y||e.width!==y.width||e.height!==y.height)){r()}y=e;m=requestAnimationFrame(_)}r();return function(){var t;p.forEach((function(t){d&&t.removeEventListener("scroll",r);v&&t.removeEventListener("resize",r)}));(t=h)==null?void 0:t.disconnect();h=null;if(c){cancelAnimationFrame(m)}}}var wt=function(t,e,r){return s(t,e,__assign({platform:yt},r))};var bt=t("r",100);var xt=["top","bottom","right","left","top-start","top-end","bottom-start","bottom-end","right-start","right-end","left-start","left-end"];var At=t("d","bottom-start");var Rt=t("F",{animation:"calcite-floating-ui-anim",animationActive:"calcite-floating-ui-anim--active"});function Pt(t){var e=t.placement,r=t.disableFlip,n=t.flipPlacements,i=t.offsetDistance,a=t.offsetSkidding,o=t.arrowEl,l=t.type;var s=[W(),k()];if(l==="menu"){return __spreadArray(__spreadArray([],s,true),[O({fallbackPlacements:n||["top-start","top","top-end","bottom-start","bottom","bottom-end"]})],false)}if(l==="popover"||l==="tooltip"){var f=__spreadArray(__spreadArray([],s,true),[H({mainAxis:typeof i==="number"?i:0,crossAxis:typeof a==="number"?a:0})],false);if(e==="auto"||e==="auto-start"||e==="auto-end"){f.push(P({alignment:e==="auto-start"?"start":e==="auto-end"?"end":null}))}else if(!r){f.push(O(n?{fallbackPlacements:n}:{}))}if(o){f.push(g({element:o}))}return f}return[]}function Lt(t,e){var r=t.filter((function(t){return xt.includes(t)}));if(r.length!==t.length){console.warn("".concat(e.tagName,": Invalid value found in: flipPlacements. Try any of these: ").concat(xt.map((function(t){return'"'.concat(t,'"')})).join(", ").trim()),{el:e})}return r}function Ot(t,r){var n=["left","right"];if(e(t)==="rtl"){n.reverse()}return r.replace(/-leading/gi,"-start").replace(/-trailing/gi,"-end").replace(/leading/gi,n[0]).replace(/trailing/gi,n[1])}function Tt(t){var e=t.referenceEl,r=t.floatingEl,n=t.overlayPositioning,i=n===void 0?"absolute":n,a=t.placement,o=t.disableFlip,l=t.flipPlacements,s=t.offsetDistance,f=t.offsetSkidding,u=t.arrowEl,c=t.type;return __awaiter(this,void 0,void 0,(function(){var t,n,d,v,p,h,g,m,y,_,w,b,x,A;return __generator(this,(function(R){switch(R.label){case 0:if(!e||!r){return[2,null]}return[4,wt(e,r,{strategy:i,placement:a==="auto"||a==="auto-start"||a==="auto-end"?undefined:Ot(r,a),middleware:Pt({placement:a,disableFlip:o,flipPlacements:l,offsetDistance:s,offsetSkidding:f,arrowEl:u,type:c})})];case 1:n=R.sent(),d=n.x,v=n.y,p=n.placement,h=n.strategy,g=n.middlewareData;if(g===null||g===void 0?void 0:g.arrow){m=g.arrow,y=m.x,_=m.y;Object.assign(u.style,{left:y!=null?"".concat(y,"px"):"",top:_!=null?"".concat(_,"px"):""})}w=(t=g===null||g===void 0?void 0:g.hide)===null||t===void 0?void 0:t.referenceHidden;b=w?"hidden":null;x=b?"none":null;r.setAttribute("data-placement",p);A="translate(".concat(Math.round(d),"px,").concat(Math.round(v),"px)");Object.assign(r.style,{visibility:b,pointerEvents:x,position:h,top:"0",left:"0",transform:A});return[2]}}))}))}var Et=new WeakMap;function kt(t,e,r){if(!r||!e){return}Dt(t,e,r);Et.set(t,_t(e,r,(function(){if(t.open){t.reposition()}})))}function Dt(t,e,r){if(!r||!e){return}var n=Et.get(t);if(n){n()}Et.delete(t)}var Ht=4;var St=t("b",Math.ceil(Math.hypot(Ht,Ht)))}}}));
@@ -1,6 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.595
5
- */
6
- import{r as t,c as e,f as i,h as a,H as n,g as r}from"./p-62699784.js";import{b as o,f as s,c as l,a as c,p as m,F as d,r as f}from"./p-ca1e3efb.js";import{g as p}from"./p-364c1221.js";import{t as h,q as b}from"./p-4e2f397f.js";import{c as w,d as u}from"./p-528f6d0e.js";import{H as k}from"./p-ea4df412.js";import{i as y}from"./p-3f0bff3d.js";import{d as x}from"./p-0edfc62f.js";import{c as v}from"./p-b224bda4.js";import"./p-baa991b4.js";const g=new class{constructor(){this.registeredElements=new Map,this.registeredElementCount=0,this.queryPopover=t=>{const{registeredElements:e}=this,i=t.find((t=>e.has(t)));return e.get(i)},this.togglePopovers=t=>{const e=t.composedPath(),i=this.queryPopover(e);i&&!i.triggerDisabled&&i.toggle(),Array.from(this.registeredElements.values()).filter((t=>t!==i&&t.autoClose&&t.open&&!e.includes(t))).forEach((t=>t.toggle(!1)))},this.keyHandler=t=>{!t.defaultPrevented&&y(t.key)&&this.togglePopovers(t)},this.clickHandler=t=>{this.togglePopovers(t)}}registerElement(t,e){this.registeredElementCount++,this.registeredElements.set(t,e),1===this.registeredElementCount&&this.addListeners()}unregisterElement(t){this.registeredElements.delete(t)&&this.registeredElementCount--,0===this.registeredElementCount&&this.removeListeners()}addListeners(){document.addEventListener("pointerdown",this.clickHandler,{capture:!0}),document.addEventListener("keydown",this.keyHandler,{capture:!0})}removeListeners(){document.removeEventListener("pointerdown",this.clickHandler,{capture:!0}),document.removeEventListener("keydown",this.keyHandler,{capture:!0})}},D=class{constructor(i){t(this,i),this.calcitePopoverBeforeClose=e(this,"calcitePopoverBeforeClose",6),this.calcitePopoverClose=e(this,"calcitePopoverClose",6),this.calcitePopoverBeforeOpen=e(this,"calcitePopoverBeforeOpen",6),this.calcitePopoverOpen=e(this,"calcitePopoverOpen",6),this.autoClose=!1,this.closeButton=!1,this.dismissible=!1,this.closable=!1,this.disableFlip=!1,this.disablePointer=!1,this.offsetDistance=o,this.offsetSkidding=0,this.open=!1,this.overlayPositioning="absolute",this.placement="auto",this.triggerDisabled=!1,this.intlClose="Close",this.guid=`calcite-popover-${p()}`,this.openTransitionProp="opacity",this.hasLoaded=!1,this.debouncedReposition=x((()=>this.reposition()),f),this.setTransitionEl=t=>{this.transitionEl=t,w(this)},this.setFilteredPlacements=()=>{const{el:t,flipPlacements:e}=this;this.filteredFlipPlacements=e?s(e,t):null},this.setUpReferenceElement=(t=!0)=>{this.removeReferences(),this.effectiveReferenceElement=this.getReferenceElement(),l(this,this.effectiveReferenceElement,this.el);const{el:e,referenceElement:i,effectiveReferenceElement:a}=this;t&&i&&!a&&console.warn(`${e.tagName}: reference-element id "${i}" was not found.`,{el:e}),this.addReferences()},this.getId=()=>this.el.id||this.guid,this.setExpandedAttr=()=>{const{effectiveReferenceElement:t,open:e}=this;t&&"setAttribute"in t&&t.setAttribute("aria-expanded",h(e))},this.addReferences=()=>{const{effectiveReferenceElement:t}=this;if(!t)return;const e=this.getId();"setAttribute"in t&&t.setAttribute("aria-controls",e),g.registerElement(t,this.el),this.setExpandedAttr()},this.removeReferences=()=>{const{effectiveReferenceElement:t}=this;t&&("removeAttribute"in t&&(t.removeAttribute("aria-controls"),t.removeAttribute("aria-expanded")),g.unregisterElement(t))},this.hide=()=>{this.open=!1},this.storeArrowEl=t=>{this.arrowEl=t,this.debouncedReposition()}}handleDismissible(t){this.closable=t}handleClosable(t){this.dismissible=t}flipPlacementsHandler(){this.setFilteredPlacements(),this.debouncedReposition()}offsetDistanceOffsetHandler(){this.debouncedReposition()}offsetSkiddingHandler(){this.debouncedReposition()}openHandler(){this.debouncedReposition(),this.setExpandedAttr()}overlayPositioningHandler(){this.debouncedReposition()}placementHandler(){this.debouncedReposition()}referenceElementHandler(){this.setUpReferenceElement(),this.debouncedReposition()}connectedCallback(){this.setFilteredPlacements(),w(this);const t=this.closable||this.dismissible;t&&this.handleDismissible(t),t&&this.handleClosable(t),this.setUpReferenceElement(this.hasLoaded)}componentDidLoad(){this.referenceElement&&!this.effectiveReferenceElement&&this.setUpReferenceElement(),this.debouncedReposition(),this.hasLoaded=!0}disconnectedCallback(){this.removeReferences(),c(this,this.effectiveReferenceElement,this.el),u(this)}async reposition(){const{el:t,effectiveReferenceElement:e,placement:i,overlayPositioning:a,disableFlip:n,filteredFlipPlacements:r,offsetDistance:o,offsetSkidding:s,arrowEl:l}=this;return m({floatingEl:t,referenceEl:e,overlayPositioning:a,placement:i,disableFlip:n,flipPlacements:r,offsetDistance:o,offsetSkidding:s,arrowEl:l,type:"popover"})}async setFocus(t){var e;const{closeButtonEl:a}=this;if("close-button"===t&&a)return i(a),void a.setFocus();null===(e=this.el)||void 0===e||e.focus()}async toggle(t=!this.open){this.open=t}getReferenceElement(){const{referenceElement:t,el:e}=this;return("string"==typeof t?b(e,{id:t}):t)||null}onBeforeOpen(){this.calcitePopoverBeforeOpen.emit()}onOpen(){this.calcitePopoverOpen.emit()}onBeforeClose(){this.calcitePopoverBeforeClose.emit()}onClose(){this.calcitePopoverClose.emit()}renderCloseButton(){const{closeButton:t,intlClose:e,heading:i,closable:n}=this;return n||t?a("div",{class:"close-button-container"},a("calcite-action",{class:"close-button",onClick:this.hide,ref:t=>this.closeButtonEl=t,scale:i?"s":"m",text:e},a("calcite-icon",{icon:"x",scale:i?"s":"m"}))):null}renderHeader(){const{heading:t,headingLevel:e}=this,i=t?a(k,{class:"heading",level:e||2},t):null;return i?a("div",{class:"header"},i,this.renderCloseButton()):null}render(){const{effectiveReferenceElement:t,heading:e,label:i,open:r,disablePointer:o}=this,s=t&&r,l=!s,c=o?null:a("div",{class:"arrow",ref:this.storeArrowEl});return a(n,{"aria-hidden":h(l),"aria-label":i,"aria-live":"polite","calcite-hydrated-hidden":l,id:this.getId(),role:"dialog"},a("div",{class:{[d.animation]:!0,[d.animationActive]:s},ref:this.setTransitionEl},c,a("div",{class:{"has-header":!!e,container:!0}},this.renderHeader(),a("div",{class:"content"},a("slot",null)),e?null:this.renderCloseButton())))}get el(){return r(this)}static get watchers(){return{dismissible:["handleDismissible"],closable:["handleClosable"],flipPlacements:["flipPlacementsHandler"],offsetDistance:["offsetDistanceOffsetHandler"],offsetSkidding:["offsetSkiddingHandler"],open:["openHandler"],overlayPositioning:["overlayPositioningHandler"],placement:["placementHandler"],referenceElement:["referenceElementHandler"]}}};D.style='@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:block;position:absolute;z-index:900;-webkit-transform:scale(0);transform:scale(0)}.calcite-floating-ui-anim{position:relative;-webkit-transition:var(--calcite-floating-ui-transition);transition:var(--calcite-floating-ui-transition);visibility:hidden;-webkit-transition-property:visibility, opacity, -webkit-transform;transition-property:visibility, opacity, -webkit-transform;transition-property:transform, visibility, opacity;transition-property:transform, visibility, opacity, -webkit-transform;opacity:0;-webkit-box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);z-index:1;border-radius:0.25rem}:host([data-placement^=bottom]) .calcite-floating-ui-anim{-webkit-transform:translateY(-5px);transform:translateY(-5px)}:host([data-placement^=top]) .calcite-floating-ui-anim{-webkit-transform:translateY(5px);transform:translateY(5px)}:host([data-placement^=left]) .calcite-floating-ui-anim{-webkit-transform:translateX(5px);transform:translateX(5px)}:host([data-placement^=right]) .calcite-floating-ui-anim{-webkit-transform:translateX(-5px);transform:translateX(-5px)}:host([data-placement]) .calcite-floating-ui-anim--active{opacity:1;visibility:visible;-webkit-transform:translate(0);transform:translate(0)}:host([calcite-hydrated-hidden]){visibility:hidden !important;pointer-events:none}.arrow,.arrow::before{position:absolute;inline-size:8px;block-size:8px;z-index:-1}.arrow::before{content:"";--tw-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);--tw-shadow-colored:0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);-webkit-transform:rotate(45deg);transform:rotate(45deg);background:var(--calcite-ui-foreground-1)}:host([data-placement^=top]) .arrow{inset-block-end:-4px}:host([data-placement^=bottom]) .arrow{inset-block-start:-4px}:host([data-placement^=left]) .arrow{direction:ltr;inset-inline-end:-4px}:host([data-placement^=right]) .arrow{direction:ltr;inset-inline-start:-4px}:host{pointer-events:none}:host([open]){pointer-events:initial}.calcite-floating-ui-anim{border-radius:0.25rem;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);background-color:var(--calcite-ui-foreground-1)}.arrow::before{outline:1px solid var(--calcite-ui-border-3)}.header{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-align:stretch;align-items:stretch;-ms-flex-pack:start;justify-content:flex-start;border-width:0px;border-block-end-width:1px;border-style:solid;background-color:var(--calcite-ui-foreground-1);border-block-end-color:var(--calcite-ui-border-3)}.heading{margin:0px;display:block;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-item-align:center;align-self:center;white-space:normal;padding-inline:1rem;padding-block:0.75rem;font-size:var(--calcite-font-size-0);line-height:1.375;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1);word-wrap:break-word;word-break:break-word}.container{position:relative;display:-ms-flexbox;display:flex;block-size:100%;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap;border-radius:0.25rem;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-1)}.container.has-header{-ms-flex-direction:column;flex-direction:column}.content{display:-ms-flexbox;display:flex;block-size:100%;inline-size:100%;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-item-align:center;align-self:center;word-wrap:break-word;word-break:break-word}.close-button-container{display:-ms-flexbox;display:flex;overflow:hidden;-ms-flex:0 0 auto;flex:0 0 auto;border-start-end-radius:0.25rem;border-end-end-radius:0.25rem}::slotted(calcite-panel),::slotted(calcite-flow){block-size:100%}';const E=class{constructor(e){t(this,e),this.mutationObserver=v("mutation",(()=>this.setAutoClose())),this.selector="[data-calcite-popover-reference]",this.autoClose=!1}autoCloseHandler(){this.setAutoClose()}connectedCallback(){var t;this.setAutoClose(),null===(t=this.mutationObserver)||void 0===t||t.observe(this.el,{childList:!0,subtree:!0})}disconnectedCallback(){var t;null===(t=this.mutationObserver)||void 0===t||t.disconnect()}render(){return a("slot",null)}setAutoClose(){const{autoClose:t,el:e}=this;e.querySelectorAll("calcite-popover").forEach((e=>e.autoClose=t))}get el(){return r(this)}static get watchers(){return{autoClose:["autoCloseHandler"]}}};E.style="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{position:relative;display:block}";export{D as calcite_popover,E as calcite_popover_manager}
@@ -1,6 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(e,t,i,n){function r(e){return e instanceof i?e:new i((function(t){t(e)}))}return new(i||(i=Promise))((function(i,a){function o(e){try{c(n.next(e))}catch(e){a(e)}}function s(e){try{c(n["throw"](e))}catch(e){a(e)}}function c(e){e.done?i(e.value):r(e.value).then(o,s)}c((n=n.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var i={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},n,r,a,o;return o={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function s(e){return function(t){return c([e,t])}}function c(o){if(n)throw new TypeError("Generator is already executing.");while(i)try{if(n=1,r&&(a=o[0]&2?r["return"]:o[0]?r["throw"]||((a=r["return"])&&a.call(r),0):r.next)&&!(a=a.call(r,o[1])).done)return a;if(r=0,a)o=[o[0]&2,a.value];switch(o[0]){case 0:case 1:a=o;break;case 4:i.label++;return{value:o[1],done:false};case 5:i.label++;r=o[1];o=[0];continue;case 7:o=i.ops.pop();i.trys.pop();continue;default:if(!(a=i.trys,a=a.length>0&&a[a.length-1])&&(o[0]===6||o[0]===2)){i=0;continue}if(o[0]===3&&(!a||o[1]>a[0]&&o[1]<a[3])){i.label=o[1];break}if(o[0]===6&&i.label<a[1]){i.label=a[1];a=o;break}if(a&&i.label<a[2]){i.label=a[2];i.ops.push(o);break}if(a[2])i.ops.pop();i.trys.pop();continue}o=t.call(e,i)}catch(e){o=[6,e];r=0}finally{n=a=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};
2
- /*!
3
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
4
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
5
- * v1.0.0-next.595
6
- */System.register(["./p-40691199.system.js","./p-d0c487cd.system.js","./p-040bf5e2.system.js","./p-cb75f6fc.system.js","./p-fa9b0668.system.js"],(function(e){"use strict";var t,i,n,r,a,o,s,c,l;return{setters:[function(e){t=e.r;i=e.c;n=e.h;r=e.g;a=e.H},function(e){o=e.f;s=e.d;c=e.t},function(e){l=e.u},function(){},function(){}],execute:function(){var p='@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{position:relative;display:-ms-flexbox;display:flex;inline-size:100%;min-inline-size:-moz-fit-content;min-inline-size:-webkit-fit-content;min-inline-size:fit-content;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:stretch;align-items:stretch;-ms-flex-pack:justify;justify-content:space-between}:host([layout=vertical]){-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:column;flex-direction:column}:host([layout=horizontal]){display:grid;grid-template-areas:"items" "content"}';var m=e("calcite_stepper",function(){function e(e){t(this,e);this.calciteStepperItemChange=i(this,"calciteStepperItemChange",6);this.calciteInternalStepperItemChange=i(this,"calciteInternalStepperItemChange",6);this.icon=false;this.layout="horizontal";this.numbered=false;this.scale="m";this.itemMap=new Map;this.items=[];this.enabledItems=[]}e.prototype.componentDidLoad=function(){if(typeof this.currentPosition!=="number"){this.calciteInternalStepperItemChange.emit({position:0})}};e.prototype.render=function(){var e=this;return n("slot",{onSlotchange:function(t){var i=t.currentTarget.assignedElements().filter((function(e){return(e===null||e===void 0?void 0:e.tagName)==="CALCITE-STEPPER-ITEM"}));var n=Array(i.length).fill("1fr").join(" ");e.el.style.gridTemplateAreas=n;e.el.style.gridTemplateColumns=n}})};e.prototype.calciteInternalStepperItemKeyEvent=function(e){var t=e.detail.item;var i=e.target;var n=this.itemIndex(i)===0;var r=this.itemIndex(i)===this.enabledItems.length-1;switch(t.key){case"ArrowDown":case"ArrowRight":if(r){this.focusFirstItem()}else{this.focusNextItem(i)}break;case"ArrowUp":case"ArrowLeft":if(n){this.focusLastItem()}else{this.focusPrevItem(i)}break;case"Home":this.focusFirstItem();break;case"End":this.focusLastItem();break}e.stopPropagation()};e.prototype.registerItem=function(e){var t=e.target;var i=e.detail,n=i.content,r=i.position;this.itemMap.set(t,{position:r,content:n});this.items=this.sortItems();this.enabledItems=this.filterItems();e.stopPropagation()};e.prototype.updateItem=function(e){var t=e.detail.position;if(typeof t==="number"){this.currentPosition=t}this.calciteInternalStepperItemChange.emit({position:t})};e.prototype.handleUserRequestedStepperItemSelect=function(e){var t=e.detail.position;this.calciteStepperItemChange.emit({position:t})};e.prototype.nextStep=function(){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(t){e=this.getEnabledStepIndex(this.currentPosition+1,"next");if(typeof e!=="number"){return[2]}this.updateStep(e);return[2]}))}))};e.prototype.prevStep=function(){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(t){e=this.getEnabledStepIndex(this.currentPosition-1,"previous");if(typeof e!=="number"){return[2]}this.updateStep(e);return[2]}))}))};e.prototype.goToStep=function(e){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(i){t=e-1;if(this.currentPosition!==t){this.updateStep(t)}return[2]}))}))};e.prototype.startStep=function(){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(t){e=this.getEnabledStepIndex(0,"next");if(typeof e!=="number"){return[2]}this.updateStep(e);return[2]}))}))};e.prototype.endStep=function(){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(t){e=this.getEnabledStepIndex(this.items.length-1,"previous");if(typeof e!=="number"){return[2]}this.updateStep(e);return[2]}))}))};e.prototype.getEnabledStepIndex=function(e,t){if(t===void 0){t="next"}var i;var n=this,r=n.items,a=n.currentPosition;var o=e;while((i=r[o])===null||i===void 0?void 0:i.disabled){o=o+(t==="previous"?-1:1)}return o!==a&&o<r.length&&o>=0?o:null};e.prototype.updateStep=function(e){this.currentPosition=e;this.calciteInternalStepperItemChange.emit({position:e})};e.prototype.focusFirstItem=function(){var e=this.enabledItems[0];o(e)};e.prototype.focusLastItem=function(){var e=this.enabledItems[this.enabledItems.length-1];o(e)};e.prototype.focusNextItem=function(e){var t=this.itemIndex(e);var i=this.enabledItems[t+1]||this.enabledItems[0];o(i)};e.prototype.focusPrevItem=function(e){var t=this.itemIndex(e);var i=this.enabledItems[t-1]||this.enabledItems[this.enabledItems.length-1];o(i)};e.prototype.itemIndex=function(e){return this.enabledItems.indexOf(e)};e.prototype.sortItems=function(){var e=this.itemMap;return Array.from(e.keys()).sort((function(t,i){return e.get(t).position-e.get(i).position}))};e.prototype.filterItems=function(){return this.items.filter((function(e){return!e.disabled}))};Object.defineProperty(e.prototype,"el",{get:function(){return r(this)},enumerable:false,configurable:true});return e}());m.style=p;var d="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([layout=horizontal][disabled]) .stepper-item-header,:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([scale=s]){--calcite-stepper-item-spacing-unit-s:0.25rem;--calcite-stepper-item-spacing-unit-m:0.75rem;--calcite-stepper-item-spacing-unit-l:1rem;font-size:var(--calcite-font-size--1);line-height:1rem;-webkit-margin-end:0.25rem;margin-inline-end:0.25rem}:host([scale=s]) .stepper-item-description{font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=m]){--calcite-stepper-item-spacing-unit-s:0.5rem;--calcite-stepper-item-spacing-unit-m:1rem;--calcite-stepper-item-spacing-unit-l:1.25rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;-webkit-margin-end:0.5rem;margin-inline-end:0.5rem}:host([scale=m]) .stepper-item-description{font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]){--calcite-stepper-item-spacing-unit-s:0.75rem;--calcite-stepper-item-spacing-unit-m:1.25rem;--calcite-stepper-item-spacing-unit-l:1.5rem;font-size:var(--calcite-font-size-1);line-height:1.5rem;-webkit-margin-end:0.75rem;margin-inline-end:0.75rem}:host([scale=l]) .stepper-item-description{font-size:var(--calcite-font-size-0);line-height:1.25rem}:host{position:relative;display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-direction:column;flex-direction:column;-ms-flex-item-align:start;align-self:flex-start;-webkit-margin-after:var(--calcite-stepper-item-spacing-unit-s);margin-block-end:var(--calcite-stepper-item-spacing-unit-s)}:host .container{position:relative;display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;cursor:pointer;-ms-flex-direction:column;flex-direction:column;border-width:0px;border-block-start-width:2px;border-style:solid;border-color:var(--calcite-ui-border-3);color:var(--calcite-ui-text-3);-webkit-text-decoration-line:none;text-decoration-line:none;outline:2px solid transparent;outline-offset:2px;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host{outline-color:transparent}:host(:focus){outline:2px solid var(--calcite-ui-brand);outline-offset:2px}:host .stepper-item-header{display:-ms-flexbox;display:flex;cursor:pointer;-ms-flex-align:start;align-items:flex-start}:host .stepper-item-content,:host .stepper-item-header{-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);padding-block:var(--calcite-stepper-item-spacing-unit-l);-webkit-padding-end:var(--calcite-stepper-item-spacing-unit-m);padding-inline-end:var(--calcite-stepper-item-spacing-unit-m);text-align:start}:host .stepper-item-header *{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host .stepper-item-content{display:none;inline-size:100%;-ms-flex-direction:column;flex-direction:column;font-size:var(--calcite-font-size--2);line-height:1.375}:host .stepper-item-icon{-webkit-margin-end:var(--calcite-stepper-item-spacing-unit-m);margin-inline-end:var(--calcite-stepper-item-spacing-unit-m);-webkit-margin-before:1px;margin-block-start:1px;display:-ms-inline-flexbox;display:inline-flex;block-size:0.75rem;-ms-flex-negative:0;flex-shrink:0;-ms-flex-item-align:start;align-self:flex-start;color:var(--calcite-ui-text-3);opacity:var(--calcite-ui-opacity-disabled);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host .stepper-item-header-text{-ms-flex-direction:column;flex-direction:column;text-align:initial;-webkit-margin-end:auto;margin-inline-end:auto}:host .stepper-item-heading,:host .stepper-item-description{display:-ms-flexbox;display:flex;inline-size:100%}:host .stepper-item-heading{-webkit-margin-after:0.25rem;margin-block-end:0.25rem;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2)}:host .stepper-item-description{color:var(--calcite-ui-text-3)}:host .stepper-item-number{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-3);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-margin-end:var(--calcite-stepper-item-spacing-unit-m);margin-inline-end:var(--calcite-stepper-item-spacing-unit-m)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([complete]) .container{border-color:rgba(0, 122, 194, 0.5)}:host([complete]) .container .stepper-item-icon{color:var(--calcite-ui-brand)}:host([error]) .container{border-block-start-color:var(--calcite-ui-danger)}:host([error]) .container .stepper-item-number{color:var(--calcite-ui-danger)}:host([error]) .container .stepper-item-icon{opacity:1;color:var(--calcite-ui-danger)}:host(:hover:not([disabled]):not([selected])) .container,:host(:focus:not([disabled]):not([selected])) .container{border-block-start-color:var(--calcite-ui-brand)}:host(:hover:not([disabled]):not([selected])) .container .stepper-item-heading,:host(:focus:not([disabled]):not([selected])) .container .stepper-item-heading{color:var(--calcite-ui-text-1)}:host(:hover:not([disabled]):not([selected])) .container .stepper-item-description,:host(:focus:not([disabled]):not([selected])) .container .stepper-item-description{color:var(--calcite-ui-text-2)}:host([error]:hover:not([disabled]):not([selected])) .container,:host([error]:focus:not([disabled]):not([selected])) .container{border-block-start-color:var(--calcite-ui-danger-hover)}:host([selected]) .container{border-block-start-color:var(--calcite-ui-brand)}:host([selected]) .container .stepper-item-heading{color:var(--calcite-ui-text-1)}:host([selected]) .container .stepper-item-description{color:var(--calcite-ui-text-2)}:host([selected]) .container .stepper-item-number{color:var(--calcite-ui-brand)}:host([selected]) .container .stepper-item-icon{color:var(--calcite-ui-brand);opacity:1}:host([selected]) .container .stepper-item-content{display:-ms-flexbox;display:flex}:host([layout=vertical]) .container{margin-inline:0px;-webkit-margin-before:0px;margin-block-start:0px;-ms-flex:1 1 auto;flex:1 1 auto;border-block-start-width:0px;border-style:solid;border-color:var(--calcite-ui-border-3);padding-block:0px;border-inline-start-width:2px;-webkit-padding-start:var(--calcite-stepper-item-spacing-unit-l);padding-inline-start:var(--calcite-stepper-item-spacing-unit-l)}:host([layout=vertical]) .container .stepper-item-icon{-ms-flex-order:3;order:3;margin-block:1px 0px;-webkit-padding-start:var(--calcite-stepper-item-spacing-unit-s);padding-inline-start:var(--calcite-stepper-item-spacing-unit-s);-webkit-margin-start:auto;margin-inline-start:auto}:host([layout=vertical]) .container .stepper-item-header{-webkit-padding-end:0px;padding-inline-end:0px}:host([layout=vertical]) .container .stepper-item-content{padding:0px}:host([layout=vertical][complete]) .container{border-color:rgba(0, 122, 194, 0.5)}:host([layout=vertical][complete]:hover:not([disabled]):not([selected])) .container,:host([layout=vertical][complete]:focus:not([disabled]):not([selected])) .container{border-color:var(--calcite-ui-brand)}:host([layout=vertical][error]) .container{border-color:var(--calcite-ui-danger)}:host([layout=vertical][selected]) .container{border-color:var(--calcite-ui-brand)}:host([layout=vertical][selected]) .container .stepper-item-content ::slotted(:last-child){-webkit-margin-after:var(--calcite-stepper-item-spacing-unit-l);margin-block-end:var(--calcite-stepper-item-spacing-unit-l)}:host([layout=vertical]:hover:not([disabled]):not([selected])) .container,:host([layout=vertical]:focus:not([disabled]):not([selected])) .container{border-color:rgba(0, 122, 194, 0.5)}:host([layout=vertical][error]:hover:not([disabled]):not([selected])) .container,:host([layout=vertical][error]:focus:not([disabled]):not([selected])) .container{border-color:var(--calcite-ui-danger-hover)}:host([layout=horizontal]){display:contents}:host([layout=horizontal]) .container{display:contents}:host([layout=horizontal]) .stepper-item-header{border-width:0px;border-block-start-width:2px;border-style:solid;border-color:var(--calcite-ui-border-3);outline-color:transparent;grid-row:items;-webkit-margin-end:0.5rem;margin-inline-end:0.5rem;-webkit-margin-after:var(--calcite-stepper-item-spacing-unit-s);margin-block-end:var(--calcite-stepper-item-spacing-unit-s)}:host([layout=horizontal]) .stepper-item-header:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}:host([layout=horizontal]) .stepper-item-content{cursor:auto;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);padding-block:0;-webkit-padding-end:var(--calcite-stepper-item-spacing-unit-m);padding-inline-end:var(--calcite-stepper-item-spacing-unit-m);text-align:start}:host([layout=horizontal][selected]) .stepper-item-content{grid-area:2/1/2/-1}:host([layout=horizontal][scale=s]) .stepper-item-header{-webkit-margin-end:0.25rem;margin-inline-end:0.25rem;-webkit-margin-after:var(--calcite-stepper-item-spacing-unit-s);margin-block-end:var(--calcite-stepper-item-spacing-unit-s)}:host([layout=horizontal][scale=l]) .stepper-item-header{-webkit-margin-end:0.75rem;margin-inline-end:0.75rem;-webkit-margin-after:var(--calcite-stepper-item-spacing-unit-s);margin-block-end:var(--calcite-stepper-item-spacing-unit-s)}:host([layout=horizontal][complete]) .stepper-item-header{border-color:rgba(0, 122, 194, 0.5)}:host([layout=horizontal][complete]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal][complete]:focus:not([disabled]):not([selected])) .stepper-item-header{border-color:var(--calcite-ui-brand)}:host([layout=horizontal][error]) .stepper-item-header{border-color:var(--calcite-ui-danger)}:host([layout=horizontal][selected]) .stepper-item-header{border-color:var(--calcite-ui-brand)}:host([layout=horizontal]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal]:focus:not([disabled]):not([selected])) .stepper-item-header{border-color:rgba(0, 122, 194, 0.5)}:host([layout=horizontal][error]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal][error]:focus:not([disabled]):not([selected])) .stepper-item-header{border-color:var(--calcite-ui-danger-hover)}@media (forced-colors: active){:host .container{outline-width:0;outline-offset:0}:host(:focus),:host(:focus-visible){outline-color:canvasText}:host([selected]) .container{border-block-start-color:highlight}:host([selected]) .container .stepper-item-number{color:highlight}:host([selected]) .container .stepper-item-icon{color:highlight}:host([layout=vertical][selected]) .container{border-color:highlight}}";var u=e("calcite_stepper_item",function(){function e(e){var n=this;t(this,e);this.calciteInternalStepperItemKeyEvent=i(this,"calciteInternalStepperItemKeyEvent",6);this.calciteInternalStepperItemSelect=i(this,"calciteInternalStepperItemSelect",6);this.calciteInternalUserRequestedStepperItemSelect=i(this,"calciteInternalUserRequestedStepperItemSelect",6);this.calciteInternalStepperItemRegister=i(this,"calciteInternalStepperItemRegister",6);this.active=false;this.selected=false;this.complete=false;this.error=false;this.disabled=false;this.layout="horizontal";this.icon=false;this.numbered=false;this.scale="m";this.keyDownHandler=function(e){if(!n.disabled&&e.target===n.el){switch(e.key){case" ":case"Enter":n.emitUserRequestedItem();e.preventDefault();break;case"ArrowUp":case"ArrowDown":case"ArrowLeft":case"ArrowRight":case"Home":case"End":n.calciteInternalStepperItemKeyEvent.emit({item:e});e.preventDefault();break}}};this.handleItemClick=function(e){if(n.layout==="horizontal"&&e.composedPath().some((function(e){var t;return(t=e.classList)===null||t===void 0?void 0:t.contains("stepper-item-content")}))){return}n.emitUserRequestedItem()};this.emitUserRequestedItem=function(){n.emitRequestedItem();if(!n.disabled){var e=n.itemPosition;n.calciteInternalUserRequestedStepperItemSelect.emit({position:e})}};this.emitRequestedItem=function(){if(!n.disabled){var e=n.itemPosition;n.calciteInternalStepperItemSelect.emit({position:e})}}}e.prototype.activeHandler=function(e){this.selected=e};e.prototype.selectedHandler=function(e){this.active=e;if(this.selected){this.emitRequestedItem()}};e.prototype.disabledWatcher=function(){this.registerStepperItem()};e.prototype.connectedCallback=function(){var e=this,t=e.selected,i=e.active;if(t){this.active=t}else if(i){this.selected=i}};e.prototype.componentWillLoad=function(){this.icon=s(this.el,"icon",false);this.numbered=s(this.el,"numbered",false);this.layout=s(this.el,"layout",false);this.scale=s(this.el,"scale","m");this.parentStepperEl=this.el.parentElement;this.itemPosition=this.getItemPosition();this.registerStepperItem();if(this.selected){this.emitRequestedItem()}};e.prototype.componentDidRender=function(){l(this,true)};e.prototype.render=function(){var e=this;return n(a,{"aria-expanded":c(this.active),onClick:this.handleItemClick,onKeyDown:this.keyDownHandler},n("div",{class:"container"},n("div",{class:"stepper-item-header",ref:function(t){return e.headerEl=t},tabIndex:this.layout==="horizontal"&&!this.disabled?0:null},this.icon?this.renderIcon():null,this.numbered?n("div",{class:"stepper-item-number"},this.itemPosition+1,"."):null,n("div",{class:"stepper-item-header-text"},n("span",{class:"stepper-item-heading"},this.heading||this.itemTitle),n("span",{class:"stepper-item-description"},this.description||this.itemSubtitle))),n("div",{class:"stepper-item-content"},n("slot",null))))};e.prototype.updateActiveItemOnChange=function(e){if(e.target===this.parentStepperEl||e.composedPath().includes(this.parentStepperEl)){this.selectedPosition=e.detail.position;this.determineSelectedItem()}};e.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(t){(e=this.layout==="vertical"?this.el:this.headerEl)===null||e===void 0?void 0:e.focus();return[2]}))}))};e.prototype.renderIcon=function(){var e=this.selected?"circleF":this.error?"exclamationMarkCircleF":this.complete?"checkCircleF":"circle";return n("calcite-icon",{class:"stepper-item-icon",icon:e,scale:"s"})};e.prototype.determineSelectedItem=function(){this.selected=!this.disabled&&this.itemPosition===this.selectedPosition};e.prototype.registerStepperItem=function(){this.calciteInternalStepperItemRegister.emit({position:this.itemPosition})};e.prototype.getItemPosition=function(){var e;return Array.from((e=this.parentStepperEl)===null||e===void 0?void 0:e.querySelectorAll("calcite-stepper-item")).indexOf(this.el)};Object.defineProperty(e.prototype,"el",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{active:["activeHandler"],selected:["selectedHandler"],disabled:["disabledWatcher"]}},enumerable:false,configurable:true});return e}());u.style=d}}}));
@@ -1,6 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.595
5
- */
6
- import{r as i,c as t,h as e,H as a,g as n}from"./p-62699784.js";import{f as s}from"./p-1faa49f5.js";import{d as o,f as c,c as r,p as l,a as m,r as h,F as d}from"./p-ca1e3efb.js";import{g as p}from"./p-364c1221.js";import{n as b,t as u,d as f,g as x}from"./p-4e2f397f.js";import{c as g,d as w,g as v}from"./p-25d96137.js";import{s as k,c as y,a as D,d as C,H as z}from"./p-040f674d.js";import{c as I}from"./p-b224bda4.js";import{u as O}from"./p-e3aab5a0.js";import{c as _,d as E}from"./p-528f6d0e.js";import{d as H}from"./p-0edfc62f.js";import{c as B,d as T}from"./p-2b66108c.js";import"./p-baa991b4.js";const A="CALCITE-COMBOBOX-ITEM, CALCITE-COMBOBOX-ITEM-GROUP";function M(i){var t,e;const a=null===(t=i.parentElement)||void 0===t?void 0:t.closest(A);return[a,null===(e=null==a?void 0:a.parentElement)||void 0===e?void 0:e.closest(A)].filter((i=>i))}function $(i){var t;return(null===(t=i.ancestors)||void 0===t?void 0:t.filter((i=>"CALCITE-COMBOBOX-ITEM"===i.nodeName)))||[]}function L(i){return b(i.querySelectorAll("calcite-combobox-item")).filter((i=>i.selected)).length>0}function P(i){return document.evaluate("ancestor::calcite-combobox-item | ancestor::calcite-combobox-item-group",i,null,XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE,null).snapshotLength}const j=class{constructor(e){i(this,e),this.calciteLookupChange=t(this,"calciteLookupChange",6),this.calciteComboboxChange=t(this,"calciteComboboxChange",6),this.calciteComboboxFilterChange=t(this,"calciteComboboxFilterChange",6),this.calciteComboboxChipDismiss=t(this,"calciteComboboxChipDismiss",6),this.calciteComboboxBeforeClose=t(this,"calciteComboboxBeforeClose",6),this.calciteComboboxClose=t(this,"calciteComboboxClose",6),this.calciteComboboxBeforeOpen=t(this,"calciteComboboxBeforeOpen",6),this.calciteComboboxOpen=t(this,"calciteComboboxOpen",6),this.active=!1,this.open=!1,this.disabled=!1,this.maxItems=0,this.overlayPositioning="absolute",this.required=!1,this.selectionMode="multi",this.scale="m",this.value=null,this.intlRemoveTag="Remove tag",this.placement=o,this.internalValueChangeFlag=!1,this.items=[],this.groupItems=[],this.selectedItems=[],this.visibleItems=[],this.activeItemIndex=-1,this.activeChipIndex=-1,this.activeDescendant="",this.text="",this.textInput=null,this.mutationObserver=I("mutation",(()=>this.updateItems())),this.resizeObserver=I("resize",(()=>this.setMaxScrollerHeight())),this.guid=p(),this.inputHeight=0,this.ignoreSelectedEventsFlag=!1,this.openTransitionProp="opacity",this.debouncedReposition=H((()=>this.reposition()),h),this.setFilteredPlacements=()=>{const{el:i,flipPlacements:t}=this;this.filteredFlipPlacements=t?c(t,i):null},this.getValue=()=>{const i=this.selectedItems.map((i=>{var t;return null===(t=null==i?void 0:i.value)||void 0===t?void 0:t.toString()}));return(null==i?void 0:i.length)?i.length>1?i:i[0]:""},this.onLabelClick=()=>{this.setFocus()},this.keydownHandler=i=>{const{key:t}=i;switch(t){case"Tab":this.activeChipIndex=-1,this.activeItemIndex=-1,this.allowCustomValues&&this.text?(this.addCustomChip(this.text,!0),i.preventDefault()):this.open&&(this.open=!1,i.preventDefault());break;case"ArrowLeft":this.previousChip(),i.preventDefault();break;case"ArrowRight":this.nextChip(),i.preventDefault();break;case"ArrowUp":i.preventDefault(),this.shiftActiveItemIndex(-1),this.comboboxInViewport()||this.el.scrollIntoView();break;case"ArrowDown":i.preventDefault(),this.open||(this.open=!0),this.shiftActiveItemIndex(1),this.comboboxInViewport()||this.el.scrollIntoView();break;case" ":this.textInput.value||(i.preventDefault(),this.open=!0,this.shiftActiveItemIndex(1));break;case"Home":if(!this.open)return;i.preventDefault(),this.updateActiveItemIndex(0),this.scrollToActiveItem(),this.comboboxInViewport()||this.el.scrollIntoView();break;case"End":if(!this.open)return;i.preventDefault(),this.updateActiveItemIndex(this.visibleItems.length-1),this.scrollToActiveItem(),this.comboboxInViewport()||this.el.scrollIntoView();break;case"Escape":this.open=!1,i.preventDefault();break;case"Enter":this.activeItemIndex>-1?(this.toggleSelection(this.visibleItems[this.activeItemIndex]),i.preventDefault()):this.activeChipIndex>-1?(this.removeActiveChip(),i.preventDefault()):this.allowCustomValues&&this.text?(this.addCustomChip(this.text,!0),i.preventDefault()):i.defaultPrevented||k(this)&&i.preventDefault();break;case"Delete":case"Backspace":this.activeChipIndex>-1?(i.preventDefault(),this.removeActiveChip()):!this.text&&this.isMulti()&&(i.preventDefault(),this.removeLastChip())}},this.toggleCloseEnd=()=>{this.open=!1,this.el.removeEventListener("calciteComboboxClose",this.toggleCloseEnd)},this.toggleOpenEnd=()=>{this.open=!1,this.el.removeEventListener("calciteComboboxOpen",this.toggleOpenEnd)},this.setMaxScrollerHeight=async()=>{const{listContainerEl:i,open:t,referenceEl:e}=this;if(!i||!t)return;await this.debouncedReposition();const a=this.getMaxScrollerHeight();i.style.maxHeight=a>0?`${a}px`:"",i.style.minWidth=`${e.clientWidth}px`,await this.debouncedReposition()},this.calciteChipDismissHandler=(i,t)=>{this.open=!1;const e=this.items.find((i=>i===t));e&&this.toggleSelection(e,!1),this.calciteComboboxChipDismiss.emit(i.detail)},this.clickHandler=i=>{i.composedPath().some((i=>"CALCITE-CHIP"===i.tagName))||(this.open=!this.open,this.updateActiveItemIndex(0),this.setFocus())},this.setInactiveIfNotContained=i=>{const t=i.composedPath();!this.open||t.includes(this.el)||t.includes(this.referenceEl)||(this.allowCustomValues&&this.text.trim().length&&this.addCustomChip(this.text),"single"===this.selectionMode&&(this.textInput&&(this.textInput.value=""),this.text="",this.filterItems(""),this.updateActiveItemIndex(-1)),this.open=!1)},this.setFloatingEl=i=>{this.floatingEl=i,r(this,this.referenceEl,this.floatingEl)},this.setContainerEl=i=>{this.resizeObserver.observe(i),this.listContainerEl=i,this.transitionEl=i,_(this)},this.setReferenceEl=i=>{this.referenceEl=i,r(this,this.referenceEl,this.floatingEl)},this.inputHandler=i=>{const t=i.target.value;this.text=t,this.filterItems(t),t&&(this.activeChipIndex=-1)},this.filterItems=(()=>{const i=(i,t)=>i&&t.some((({label:t,value:e})=>"CALCITE-COMBOBOX-ITEM-GROUP"===i.tagName?e===i.label:e===i.textLabel||e===i.value||t===i.textLabel||t===i.value));return H((t=>{const e=s(this.data,t);this.getCombinedItems().forEach((t=>{const a=!i(t,e);t.hidden=a;const[n,s]=t.ancestors;(i(n,e)||i(s,e))&&(t.hidden=!1),a||t.ancestors.forEach((i=>i.hidden=!1))})),this.visibleItems=this.getVisibleItems(),this.calciteComboboxFilterChange.emit({visibleItems:[...this.visibleItems],text:t})}),100)})(),this.internalCalciteLookupChangeEvent=()=>{this.calciteLookupChange.emit(this.selectedItems)},this.emitCalciteLookupChange=H(this.internalCalciteLookupChangeEvent,0),this.internalComboboxChangeEvent=()=>{const{selectedItems:i}=this;this.calciteComboboxChange.emit({selectedItems:i})},this.emitComboboxChange=H(this.internalComboboxChangeEvent,0),this.updateItems=()=>{this.items=this.getItems(),this.groupItems=this.getGroupItems(),this.data=this.getData(),this.selectedItems=this.getSelectedItems(),this.visibleItems=this.getVisibleItems(),this.needsIcon=this.getNeedsIcon(),this.allowCustomValues||this.setMaxScrollerHeight()},this.scrollToActiveItem=()=>{const i=this.visibleItems[this.activeItemIndex],t=this.calculateSingleItemHeight(i),{offsetHeight:e,scrollTop:a}=this.listContainerEl;e+a<i.offsetTop+t?this.listContainerEl.scrollTop=i.offsetTop-e+t:i.offsetTop<a&&(this.listContainerEl.scrollTop=i.offsetTop)},this.comboboxFocusHandler=()=>{var i;null===(i=this.textInput)||void 0===i||i.focus()},this.comboboxBlurHandler=i=>{this.setInactiveIfNotContained(i)}}activeHandler(i){if(this.disabled)return this.active=!1,void(this.open=!1);this.open=i}openHandler(i){if(this.disabled)return this.active=!1,void(this.open=!1);this.active=i,this.setMaxScrollerHeight()}handleDisabledChange(i){i||(this.active=!1,this.open=!1)}maxItemsHandler(){this.setMaxScrollerHeight()}overlayPositioningHandler(){this.debouncedReposition()}valueHandler(i){if(!this.internalValueChangeFlag){const t=this.getItems();Array.isArray(i)?t.forEach((t=>t.selected=i.includes(t.value))):t.forEach(i?t=>t.selected=i===t.value:i=>i.selected=!1),this.updateItems()}}flipPlacementsHandler(){this.setFilteredPlacements(),this.debouncedReposition()}documentClickHandler(i){this.setInactiveIfNotContained(i)}calciteComboboxItemChangeHandler(i){if(this.ignoreSelectedEventsFlag)return;const t=i.target,e=this.visibleItems.indexOf(t);this.updateActiveItemIndex(e),this.toggleSelection(t,t.selected)}async reposition(){const{floatingEl:i,referenceEl:t,placement:e,overlayPositioning:a,filteredFlipPlacements:n}=this;return l({floatingEl:i,referenceEl:t,overlayPositioning:a,placement:e,flipPlacements:n,type:"menu"})}async setFocus(){var i;null===(i=this.textInput)||void 0===i||i.focus(),this.activeChipIndex=-1,this.activeItemIndex=-1}connectedCallback(){var i;this.internalValueChangeFlag=!0,this.value=this.getValue(),this.internalValueChangeFlag=!1,null===(i=this.mutationObserver)||void 0===i||i.observe(this.el,{childList:!0,subtree:!0}),g(this),y(this),_(this),this.setFilteredPlacements(),this.debouncedReposition(),this.active&&this.activeHandler(this.active),this.open&&this.openHandler(this.open)}componentWillLoad(){this.updateItems()}componentDidLoad(){D(this,this.getValue()),this.debouncedReposition()}componentDidRender(){this.el.offsetHeight!==this.inputHeight&&(this.debouncedReposition(),this.inputHeight=this.el.offsetHeight),O(this)}disconnectedCallback(){var i,t;null===(i=this.mutationObserver)||void 0===i||i.disconnect(),null===(t=this.resizeObserver)||void 0===t||t.disconnect(),w(this),C(this),m(this,this.referenceEl,this.floatingEl),E(this)}selectedItemsHandler(){this.internalValueChangeFlag=!0,this.value=this.getValue(),this.internalValueChangeFlag=!1}textHandler(){this.updateActiveItemIndex(-1)}comboboxInViewport(){const i=this.el.getBoundingClientRect();return i.top>=0&&i.left>=0&&i.right<=(window.innerWidth||document.documentElement.clientWidth)&&i.bottom<=(window.innerHeight||document.documentElement.clientHeight)}onBeforeOpen(){this.calciteComboboxBeforeOpen.emit()}onOpen(){this.calciteComboboxOpen.emit()}onBeforeClose(){this.calciteComboboxBeforeClose.emit()}onClose(){this.calciteComboboxClose.emit()}getMaxScrollerHeight(){const i=this.getCombinedItems().filter((i=>!i.hidden)),{maxItems:t}=this;let e=0,a=0;return i.length>t&&i.forEach((i=>{if(e<t&&t>0){const t=this.calculateSingleItemHeight(i);t>0&&(a+=t,e++)}})),a}calculateSingleItemHeight(i){let t=i.offsetHeight;return Array.from(i.querySelectorAll(A)).map((i=>null==i?void 0:i.offsetHeight)).forEach((i=>{t-=i})),t}getCombinedItems(){return[...this.groupItems,...this.items]}toggleSelection(i,t=!i.selected){i&&(this.isMulti()?(i.selected=t,this.updateAncestors(i),this.selectedItems=this.getSelectedItems(),this.emitCalciteLookupChange(),this.emitComboboxChange(),this.resetText(),this.filterItems("")):(this.ignoreSelectedEventsFlag=!0,this.items.forEach((e=>e.selected=e===i&&t)),this.ignoreSelectedEventsFlag=!1,this.selectedItems=this.getSelectedItems(),this.emitComboboxChange(),this.textInput&&(this.textInput.value=i.textLabel),this.open=!1,this.updateActiveItemIndex(-1),this.resetText(),this.filterItems("")))}updateAncestors(i){if("ancestors"!==this.selectionMode)return;const t=$(i),e=function(i){return b(i.querySelectorAll("calcite-combobox-item"))}(i);i.selected?t.forEach((i=>{i.selected=!0})):(e.forEach((i=>i.selected=!1)),[...t].forEach((i=>{L(i)||(i.selected=!1)})))}getVisibleItems(){return this.items.filter((i=>!i.hidden))}getSelectedItems(){if(!this.isMulti()){const i=this.items.find((({selected:i})=>i));return i?[i]:[]}return this.items.filter((i=>i.selected&&("ancestors"!==this.selectionMode||!L(i)))).sort(((i,t)=>{const e=this.selectedItems.indexOf(i),a=this.selectedItems.indexOf(t);return e>-1&&a>-1?e-a:a-e}))}getData(){return this.items.map((i=>({constant:i.constant,filterDisabled:i.filterDisabled,value:i.value,label:i.textLabel})))}getNeedsIcon(){return"single"===this.selectionMode&&this.items.some((i=>i.icon))}resetText(){this.textInput&&(this.textInput.value=""),this.text=""}getItems(){return Array.from(this.el.querySelectorAll("CALCITE-COMBOBOX-ITEM")).filter((i=>!i.disabled))}getGroupItems(){return Array.from(this.el.querySelectorAll("CALCITE-COMBOBOX-ITEM-GROUP"))}addCustomChip(i,t){const e=this.items.find((t=>t.textLabel===i));if(e)this.toggleSelection(e,!0);else{this.isMulti()||this.toggleSelection(this.selectedItems[this.selectedItems.length-1],!1);const e=document.createElement("CALCITE-COMBOBOX-ITEM");e.value=i,e.textLabel=i,e.selected=!0,this.el.appendChild(e),this.resetText(),t&&this.setFocus(),this.updateItems(),this.filterItems(""),this.emitCalciteLookupChange(),this.emitComboboxChange()}}removeActiveChip(){this.toggleSelection(this.selectedItems[this.activeChipIndex],!1),this.setFocus()}removeLastChip(){this.toggleSelection(this.selectedItems[this.selectedItems.length-1],!1),this.setFocus()}previousChip(){if(this.text)return;const i=this.activeChipIndex;this.activeChipIndex=-1===i?this.selectedItems.length-1:Math.max(i-1,0),this.updateActiveItemIndex(-1),this.focusChip()}nextChip(){if(this.text||-1===this.activeChipIndex)return;const i=this.activeChipIndex+1;i>this.selectedItems.length-1?(this.activeChipIndex=-1,this.setFocus()):(this.activeChipIndex=i,this.focusChip()),this.updateActiveItemIndex(-1)}focusChip(){var i;const t=null===(i=this.selectedItems[this.activeChipIndex])||void 0===i?void 0:i.guid,e=t?this.referenceEl.querySelector(`#combobox-chip-${t}`):null;null==e||e.setFocus()}shiftActiveItemIndex(i){const{length:t}=this.visibleItems;this.updateActiveItemIndex((this.activeItemIndex+t+i)%t),this.scrollToActiveItem()}updateActiveItemIndex(i){var t;this.activeItemIndex=i;let e=null;this.visibleItems.forEach(((t,a)=>{a===i?(t.active=!0,e=`combobox-item-${t.guid}`):t.active=!1})),this.activeDescendant=e,this.activeItemIndex>-1&&(this.activeChipIndex=-1,null===(t=this.textInput)||void 0===t||t.focus())}isMulti(){return"single"!==this.selectionMode}renderChips(){const{activeChipIndex:i,scale:t,selectionMode:a,intlRemoveTag:n}=this;return this.selectedItems.map(((s,o)=>{const c={chip:!0,"chip--active":i===o},r=[...[...$(s)].reverse(),s].map((i=>i.textLabel)),l="ancestors"!==a?s.textLabel:r.join(" / ");return e("calcite-chip",{class:c,dismissLabel:n,dismissible:!0,icon:s.icon,id:s.guid?`combobox-chip-${s.guid}`:null,key:s.textLabel,onCalciteChipDismiss:i=>this.calciteChipDismissHandler(i,s),scale:t,title:l,value:s.value},l)}))}renderInput(){const{guid:i,active:t,disabled:a,placeholder:n,selectionMode:s,selectedItems:o,open:c}=this,r="single"===s,l=o[0],m=!(c||t)&&r&&!!l;return e("span",{class:{"input-wrap":!0,"input-wrap--single":r}},m&&e("span",{class:{label:!0,"label--icon":!!(null==l?void 0:l.icon)},key:"label"},l.textLabel),e("input",{"aria-activedescendant":this.activeDescendant,"aria-autocomplete":"list","aria-controls":`combobox-listbox-${i}`,"aria-label":v(this),class:{input:!0,"input--single":!0,"input--transparent":this.activeChipIndex>-1,"input--hidden":m,"input--icon":!!this.placeholderIcon},disabled:a,id:`combobox-input-${i}`,key:"input",onBlur:this.comboboxBlurHandler,onFocus:this.comboboxFocusHandler,onInput:this.inputHandler,placeholder:n,ref:i=>this.textInput=i,type:"text"}))}renderListBoxOptions(){return this.visibleItems.map((i=>e("li",{"aria-selected":u(i.selected),id:i.guid?`combobox-item-${i.guid}`:null,role:"option",tabindex:"-1"},i.textLabel)))}renderFloatingUIContainer(){const{active:i,setFloatingEl:t,setContainerEl:a,open:n}=this;return e("div",{"aria-hidden":"true",class:{"floating-ui-container":!0,"floating-ui-container--active":n||i},ref:t},e("div",{class:{"list-container":!0,[d.animation]:!0,[d.animationActive]:n||i},ref:a},e("ul",{class:{list:!0,"list--hide":!(n||i)}},e("slot",null))))}renderIconStart(){const{selectedItems:i,placeholderIcon:t,selectionMode:a}=this,n=i[0],s=null==n?void 0:n.icon,o="single"===a;return(!this.open&&n?!!s&&o:!!this.placeholderIcon&&(!n||o))&&e("span",{class:"icon-start"},e("calcite-icon",{class:"selected-icon",icon:!this.open&&n?s:t,scale:"s"}))}renderIconEnd(){const{active:i,open:t}=this;return e("span",{class:"icon-end"},e("calcite-icon",{icon:i||t?"chevron-up":"chevron-down",scale:"s"}))}render(){const{active:i,guid:t,label:n,open:s}=this,o="single"===this.selectionMode;return e(a,null,e("div",{"aria-autocomplete":"list","aria-controls":`combobox-listbox-${t}`,"aria-expanded":u(s||i),"aria-haspopup":"listbox","aria-labelledby":`combobox-label-${t}`,"aria-live":"polite","aria-owns":`combobox-listbox-${t}`,class:{wrapper:!0,"wrapper--single":o||!this.selectedItems.length,"wrapper--active":s||i},onClick:this.clickHandler,onKeyDown:this.keydownHandler,ref:this.setReferenceEl,role:"combobox"},e("div",{class:"grid-input"},this.renderIconStart(),!o&&this.renderChips(),e("label",{class:"screen-readers-only",htmlFor:`combobox-input-${t}`,id:`combobox-label-${t}`},n),this.renderInput()),this.renderIconEnd()),e("ul",{"aria-labelledby":`combobox-label-${t}`,"aria-multiselectable":"true",class:"screen-readers-only",id:`combobox-listbox-${t}`,role:"listbox",tabIndex:-1},this.renderListBoxOptions()),this.renderFloatingUIContainer(),e(z,{component:this}))}get el(){return n(this)}static get watchers(){return{active:["activeHandler"],open:["openHandler"],disabled:["handleDisabledChange"],maxItems:["maxItemsHandler"],overlayPositioning:["overlayPositioningHandler"],value:["valueHandler"],flipPlacements:["flipPlacementsHandler"],selectedItems:["selectedItemsHandler"],text:["textHandler"]}}};j.style="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{position:relative;display:block}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([scale=s]){font-size:var(--calcite-font-size--2);--calcite-combobox-item-spacing-unit-l:0.5rem;--calcite-combobox-item-spacing-unit-s:0.25rem;--calcite-combobox-input-height:1.5rem}:host([scale=m]){font-size:var(--calcite-font-size--1);--calcite-combobox-item-spacing-unit-l:0.75rem;--calcite-combobox-item-spacing-unit-s:0.5rem;--calcite-combobox-input-height:2rem}:host([scale=l]){font-size:var(--calcite-font-size-0);--calcite-combobox-item-spacing-unit-l:1rem;--calcite-combobox-item-spacing-unit-s:0.75rem;--calcite-combobox-input-height:2.75rem}.wrapper{display:-ms-flexbox;display:flex;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-1);outline-color:transparent;padding-block:calc(var(--calcite-combobox-item-spacing-unit-s) / 4);padding-inline:var(--calcite-combobox-item-spacing-unit-l)}:host(:focus-within) .wrapper,.wrapper--active{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.wrapper--single{padding-block:0;padding-inline:var(--calcite-combobox-item-spacing-unit-l);cursor:pointer;-ms-flex-wrap:nowrap;flex-wrap:nowrap}.grid-input{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:center;align-items:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0px}.input{-ms-flex-positive:1;flex-grow:1;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-style:none;background-color:transparent;padding:0px;font-family:inherit;color:var(--calcite-ui-text-1);font-size:inherit;block-size:var(--calcite-combobox-input-height);line-height:var(--calcite-combobox-input-height);min-inline-size:120px;-webkit-margin-after:var(--calcite-combobox-item-spacing-unit-s);margin-block-end:var(--calcite-combobox-item-spacing-unit-s)}.input:focus{outline:2px solid transparent;outline-offset:2px}.input--transparent{opacity:0}.input--single{margin-block:0px;padding:0px}.wrapper--active .input-single{cursor:text}.input--hidden{pointer-events:none;inline-size:0px;min-inline-size:0px;opacity:0}.input--icon{padding-block:0;padding-inline:var(--calcite-combobox-item-spacing-unit-l)}.input-wrap{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1}.input-wrap--single{-ms-flex:1 1 0%;flex:1 1 0%;overflow:hidden}.label{pointer-events:none;display:-ms-flexbox;display:flex;max-inline-size:100%;-ms-flex:1 1 auto;flex:1 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0px;font-weight:var(--calcite-font-weight-normal);block-size:var(--calcite-combobox-input-height);line-height:var(--calcite-combobox-input-height)}.label--icon{padding-inline:var(--calcite-combobox-item-spacing-unit-l)}.icon-end,.icon-start{display:-ms-flexbox;display:flex;inline-size:1rem;cursor:pointer;-ms-flex-align:center;align-items:center}.icon-end{-ms-flex:none;flex:none}.floating-ui-container{display:block;position:absolute;z-index:900;-webkit-transform:scale(0);transform:scale(0);visibility:hidden;pointer-events:none;inline-size:0;block-size:0;overflow:hidden}.floating-ui-container .calcite-floating-ui-anim{position:relative;-webkit-transition:var(--calcite-floating-ui-transition);transition:var(--calcite-floating-ui-transition);visibility:hidden;-webkit-transition-property:visibility, opacity, -webkit-transform;transition-property:visibility, opacity, -webkit-transform;transition-property:transform, visibility, opacity;transition-property:transform, visibility, opacity, -webkit-transform;opacity:0;-webkit-box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);z-index:1;border-radius:0.25rem}.floating-ui-container[data-placement^=bottom] .calcite-floating-ui-anim{-webkit-transform:translateY(-5px);transform:translateY(-5px)}.floating-ui-container[data-placement^=top] .calcite-floating-ui-anim{-webkit-transform:translateY(5px);transform:translateY(5px)}.floating-ui-container[data-placement^=left] .calcite-floating-ui-anim{-webkit-transform:translateX(5px);transform:translateX(5px)}.floating-ui-container[data-placement^=right] .calcite-floating-ui-anim{-webkit-transform:translateX(-5px);transform:translateX(-5px)}.floating-ui-container[data-placement] .calcite-floating-ui-anim--active{opacity:1;visibility:visible;-webkit-transform:translate(0);transform:translate(0)}.floating-ui-container--active{pointer-events:initial;visibility:visible;inline-size:unset;block-size:unset;overflow:unset}@media (forced-colors: active){.wrapper,.floating-ui-container--active{border:1px solid canvasText}}.screen-readers-only{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}.list-container{max-block-size:45vh;overflow-y:auto;background-color:var(--calcite-ui-foreground-1);inline-size:var(--calcite-dropdown-width)}.list{margin:0px;display:block;padding:0px}.list--hide{block-size:0px;overflow:hidden}.chip{margin-block:calc(var(--calcite-combobox-item-spacing-unit-s) / 4);margin-inline:0 var(--calcite-combobox-item-spacing-unit-s);max-inline-size:100%}.chip--active{background-color:var(--calcite-ui-foreground-3)}.item{display:block}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;-webkit-transform:none !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";const X=class{constructor(e){i(this,e),this.calciteComboboxItemChange=t(this,"calciteComboboxItemChange",6),this.disabled=!1,this.selected=!1,this.active=!1,this.guid=p(),this.scale="m",this.itemClickHandler=i=>{i.preventDefault(),this.disabled||(this.selected=!this.selected)}}selectedWatchHandler(){this.calciteComboboxItemChange.emit(this.el)}connectedCallback(){this.ancestors=M(this.el),this.scale=f(this.el,"scale",this.scale),B(this)}disconnectedCallback(){T(this)}componentDidRender(){O(this)}async toggleSelected(i){this.disabled||(this.selected="boolean"==typeof i?i:!this.selected)}renderIcon(i){const{icon:t,disabled:a,selected:n}=this,s="icon--indent";return!i||t||a?e("calcite-icon",{class:{icon:!t,"icon--custom":!!t,"icon--active":t&&n,[s]:!0},icon:t||(a?"circle-disallowed":i?"dot":"check"),scale:"s"}):e("span",{class:{icon:!0,"icon--dot":!0,[s]:!0}})}renderChildren(){return x(this.el)?e("ul",{key:"default-slot-container"},e("slot",null)):null}render(){const i="single"===f(this.el,"selection-mode","multi"),t={label:!0,"label--selected":this.selected,"label--active":this.active,"label--single":i},n=P(this.el);return e(a,{"aria-hidden":"true"},e("div",{class:`container scale--${this.scale}`,style:{"--calcite-combobox-item-spacing-indent-multiplier":`${n}`}},e("li",{class:t,id:this.guid,onClick:this.itemClickHandler},this.renderIcon(i),e("span",{class:"title"},this.textLabel)),this.renderChildren()))}get el(){return n(this)}static get watchers(){return{selected:["selectedWatchHandler"]}}};X.style='@charset "UTF-8";@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}.scale--s{font-size:var(--calcite-font-size--2);line-height:1rem;--calcite-combobox-item-spacing-unit-l:0.5rem;--calcite-combobox-item-spacing-unit-s:0.25rem;--calcite-combobox-item-spacing-indent:0.5rem}.scale--m{font-size:var(--calcite-font-size--1);line-height:1rem;--calcite-combobox-item-spacing-unit-l:0.75rem;--calcite-combobox-item-spacing-unit-s:0.5rem;--calcite-combobox-item-spacing-indent:0.75rem}.scale--l{font-size:var(--calcite-font-size-0);line-height:1.25rem;--calcite-combobox-item-spacing-unit-l:1rem;--calcite-combobox-item-spacing-unit-s:0.75rem;--calcite-combobox-item-spacing-indent:1rem}.container{--calcite-combobox-item-indent-value:calc(\n var(--calcite-combobox-item-spacing-indent) * var(--calcite-combobox-item-spacing-indent-multiplier)\n )}:host(:focus){--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host,ul{margin:0px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;padding:0px}:host(:focus),ul:focus{outline:2px solid transparent;outline-offset:2px}.label{position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;inline-size:100%;min-inline-size:100%;cursor:pointer;-ms-flex-align:center;align-items:center;color:var(--calcite-ui-text-3);-webkit-text-decoration-line:none;text-decoration-line:none;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);outline-color:transparent;padding-block:var(--calcite-combobox-item-spacing-unit-s);padding-inline:var(--calcite-combobox-item-spacing-unit-l)}:host([disabled]) .label{cursor:default}.label--selected{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}.label--active{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.label:hover,.label:active{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1);-webkit-text-decoration-line:none;text-decoration-line:none;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.title{padding-block:0;padding-inline:var(--calcite-combobox-item-spacing-unit-l)}.icon{display:-ms-inline-flexbox;display:inline-flex;opacity:0;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);color:var(--calcite-ui-border-1)}.icon--indent{-webkit-padding-start:var(--calcite-combobox-item-indent-value);padding-inline-start:var(--calcite-combobox-item-indent-value)}.icon--custom{-webkit-margin-before:-1px;margin-block-start:-1px;color:var(--calcite-ui-text-3)}.icon--active{color:var(--calcite-ui-text-1)}.icon--dot{display:-ms-flexbox;display:flex;-ms-flex-pack:end;justify-content:flex-end;min-inline-size:var(--calcite-combobox-item-spacing-unit-l)}.icon--dot:before{text-align:start;content:"•"}.label--active .icon{opacity:1}.label--selected .icon{opacity:1;color:var(--calcite-ui-brand)}:host(:hover[disabled]) .icon{opacity:1}';const F=class{constructor(t){i(this,t),this.guid=p(),this.scale="m"}connectedCallback(){this.ancestors=M(this.el),this.scale=f(this.el,"scale",this.scale)}render(){const{el:i,scale:t}=this,a=`label--indent-${P(i)}`;return e("ul",{"aria-labelledby":this.guid,class:{list:!0,[`scale--${t}`]:!0},role:"group"},e("li",{class:{label:!0,[a]:!0},id:this.guid,role:"presentation"},e("span",{class:"title"},this.label)),e("slot",null))}get el(){return n(this)}};F.style="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}.scale--s{font-size:var(--calcite-font-size--2);line-height:1rem;--calcite-combobox-item-spacing-unit-l:0.5rem;--calcite-combobox-item-spacing-unit-s:0.25rem;--calcite-combobox-item-spacing-indent-1:0.5rem;--calcite-combobox-item-spacing-indent-2:1rem}.scale--m{font-size:var(--calcite-font-size--1);line-height:1rem;--calcite-combobox-item-spacing-unit-l:0.75rem;--calcite-combobox-item-spacing-unit-s:0.5rem;--calcite-combobox-item-spacing-indent-1:0.75rem;--calcite-combobox-item-spacing-indent-2:1.5rem}.scale--l{font-size:var(--calcite-font-size-0);line-height:1.25rem;--calcite-combobox-item-spacing-unit-l:1rem;--calcite-combobox-item-spacing-unit-s:0.75rem;--calcite-combobox-item-spacing-indent-1:1rem;--calcite-combobox-item-spacing-indent-2:2rem}:host,.list{margin:0px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;padding:0px}:host(:focus),.list:focus{outline:2px solid transparent;outline-offset:2px}.label{-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;inline-size:100%;min-inline-size:0px;max-inline-size:100%;color:var(--calcite-ui-text-3)}.label--indent-1{-webkit-padding-start:var(--calcite-combobox-item-spacing-indent-1);padding-inline-start:var(--calcite-combobox-item-spacing-indent-1)}.label--indent-2{-webkit-padding-start:var(--calcite-combobox-item-spacing-indent-2);padding-inline-start:var(--calcite-combobox-item-spacing-indent-2)}.title{border:0 solid;display:block;-ms-flex:1 1 0%;flex:1 1 0%;border-block-end-width:1px;font-weight:var(--calcite-font-weight-bold);color:var(--calcite-ui-text-2);word-wrap:break-word;word-break:break-word;border-block-end-color:var(--calcite-ui-border-3);padding-block:var(--calcite-combobox-item-spacing-unit-l);padding-inline:0;margin-inline:var(--calcite-combobox-item-spacing-unit-s)}";export{j as calcite_combobox,X as calcite_combobox_item,F as calcite_combobox_item_group}
@@ -1,6 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.595
5
- */
6
- import{r as t,c as i,h as a,H as e,g as n}from"./p-62699784.js";import{f as r,t as o}from"./p-4e2f397f.js";import{c as s,d as c,g as l}from"./p-25d96137.js";import{c as m,d,H as b}from"./p-040f674d.js";import{u as h}from"./p-e3aab5a0.js";import{i as p}from"./p-3f0bff3d.js";import"./p-baa991b4.js";import"./p-364c1221.js";const u=class{constructor(a){t(this,a),this.calciteSwitchChange=i(this,"calciteSwitchChange",6),this.disabled=!1,this.scale="m",this.switched=!1,this.checked=!1,this.keyDownHandler=t=>{!this.disabled&&p(t.key)&&(this.toggle(),t.preventDefault())},this.clickHandler=()=>{this.toggle()},this.setSwitchEl=t=>{this.switchEl=t}}switchedWatcher(t){this.checked=t}async setFocus(){r(this.switchEl)}onLabelClick(){this.disabled||(this.toggle(),this.setFocus())}toggle(){this.checked=!this.checked,this.calciteSwitchChange.emit({switched:this.checked})}connectedCallback(){const t=this.checked||this.switched;t&&(this.switched=this.checked=t),s(this),m(this)}disconnectedCallback(){c(this),d(this)}componentDidRender(){h(this)}render(){return a(e,{onClick:this.clickHandler,onKeyDown:this.keyDownHandler},a("div",{"aria-checked":o(this.checked),"aria-label":l(this),class:"container",ref:this.setSwitchEl,role:"switch",tabIndex:0},a("div",{class:"track"},a("div",{class:"handle"})),a(b,{component:this})))}get el(){return n(this)}static get watchers(){return{switched:["switchedWatcher"]}}};u.style="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([scale=s]) .container{block-size:0.75rem}:host([scale=s]) .track{block-size:0.75rem;inline-size:1.5rem}:host([scale=s]) .handle{block-size:0.5rem;inline-size:0.5rem}:host([scale=m]) .container{block-size:1rem}:host([scale=m]) .track{block-size:1rem;inline-size:2rem}:host([scale=m]) .handle{block-size:0.75rem;inline-size:0.75rem}:host([scale=l]) .container{block-size:1.5rem}:host([scale=l]) .track{block-size:1.5rem;inline-size:3rem}:host([scale=l]) .handle{block-size:1.25rem;inline-size:1.25rem}:host{position:relative;display:inline-block;inline-size:auto;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;vertical-align:middle;tap-highlight-color:transparent}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host{inline-size:auto;outline-color:transparent}.track{pointer-events:none;position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;display:inline-block;border-radius:9999px;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-2);background-color:var(--calcite-ui-foreground-2);vertical-align:top;-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}.handle{pointer-events:none;position:absolute;display:block;border-radius:9999px;border-width:2px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-foreground-1);-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);inset-block-start:-1px;inset-inline:-1px auto}:host(:hover) .handle,:host(:focus) .handle{border-color:var(--calcite-ui-brand);-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-brand);box-shadow:inset 0 0 0 1px var(--calcite-ui-brand)}:host([checked]) .track{border-color:var(--calcite-ui-brand-hover);background-color:var(--calcite-ui-brand)}:host([checked]) .handle{border-color:var(--calcite-ui-brand);inset-inline:auto -1px}:host([checked]:hover) .track{border-color:var(--calcite-ui-brand-hover);background-color:var(--calcite-ui-brand)}:host([checked]:hover) .handle{border-color:var(--calcite-ui-brand-hover);-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-brand-hover);box-shadow:inset 0 0 0 1px var(--calcite-ui-brand-hover)}@media (forced-colors: active){:host([checked]) .track{background-color:canvasText}}.container:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;-webkit-transform:none !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";export{u as calcite_switch}
@@ -1,6 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(t,e,i,a){function n(t){return t instanceof i?t:new i((function(e){e(t)}))}return new(i||(i=Promise))((function(i,o){function r(t){try{s(a.next(t))}catch(t){o(t)}}function l(t){try{s(a["throw"](t))}catch(t){o(t)}}function s(t){t.done?i(t.value):n(t.value).then(r,l)}s((a=a.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var i={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},a,n,o,r;return r={next:l(0),throw:l(1),return:l(2)},typeof Symbol==="function"&&(r[Symbol.iterator]=function(){return this}),r;function l(t){return function(e){return s([t,e])}}function s(r){if(a)throw new TypeError("Generator is already executing.");while(i)try{if(a=1,n&&(o=r[0]&2?n["return"]:r[0]?n["throw"]||((o=n["return"])&&o.call(n),0):n.next)&&!(o=o.call(n,r[1])).done)return o;if(n=0,o)r=[r[0]&2,o.value];switch(r[0]){case 0:case 1:o=r;break;case 4:i.label++;return{value:r[1],done:false};case 5:i.label++;n=r[1];r=[0];continue;case 7:r=i.ops.pop();i.trys.pop();continue;default:if(!(o=i.trys,o=o.length>0&&o[o.length-1])&&(r[0]===6||r[0]===2)){i=0;continue}if(r[0]===3&&(!o||r[1]>o[0]&&r[1]<o[3])){i.label=r[1];break}if(r[0]===6&&i.label<o[1]){i.label=o[1];o=r;break}if(o&&i.label<o[2]){i.label=o[2];i.ops.push(r);break}if(o[2])i.ops.pop();i.trys.pop();continue}r=e.call(t,i)}catch(t){r=[6,t];n=0}finally{a=o=0}if(r[0]&5)throw r[1];return{value:r[0]?r[1]:void 0,done:true}}};
2
- /*!
3
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
4
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
5
- * v1.0.0-next.595
6
- */System.register(["./p-40691199.system.js","./p-d0c487cd.system.js","./p-95b0735c.system.js","./p-123cd41d.system.js","./p-cdd54f43.system.js","./p-cb75f6fc.system.js","./p-fa9b0668.system.js"],(function(t){"use strict";var e,i,a,n,o,r,l,s,c,d,m,u,f,p;return{setters:[function(t){e=t.r;i=t.c;a=t.h;n=t.H;o=t.g},function(t){r=t.f;l=t.g;s=t.e;c=t.i},function(t){d=t.c},function(t){m=t.c;u=t.d},function(t){f=t.c;p=t.d},function(){},function(){}],execute:function(){function b(t,e,i,a,n){if(a===void 0){a=20}if(n===void 0){n=0}var o=[];if(n>=a){return o}var r=function(t){var o=t.assignedNodes().filter((function(t){return t.nodeType===1}));if(o.length>0){return b(o[0].parentElement,e,i,a,n+1)}return[]};var l=Array.from(t.children||[]);for(var s=0,c=l;s<c.length;s++){var d=c[s];if(e(d)){continue}if(i(d)){o.push(d)}if(d.shadowRoot!=null){o.push.apply(o,b(d.shadowRoot,e,i,a,n+1))}else if(d.tagName==="SLOT"){o.push.apply(o,r(d))}else{o.push.apply(o,b(d,e,i,a,n+1))}}return o}function h(t){return t.hasAttribute("hidden")||t.hasAttribute("aria-hidden")&&t.getAttribute("aria-hidden")!=="false"||t.style.display==="none"||t.style.opacity==="0"||t.style.visibility==="hidden"||t.style.visibility==="collapse"}function v(t){return t.hasAttribute("disabled")||t.hasAttribute("aria-disabled")&&t.getAttribute("aria-disabled")!=="false"}function g(t){if(t.getAttribute("tabindex")==="-1"||h(t)||v(t)){return false}return t.hasAttribute("tabindex")||(t instanceof HTMLAnchorElement||t instanceof HTMLAreaElement)&&t.hasAttribute("href")||(t instanceof HTMLButtonElement||t instanceof HTMLInputElement||t instanceof HTMLTextAreaElement||t instanceof HTMLSelectElement)||t instanceof HTMLIFrameElement}var x={modal:"modal",modalOpen:"modal--open",title:"title",header:"header",footer:"footer",scrim:"scrim",back:"back",close:"close",secondary:"secondary",primary:"primary",overflowHidden:"overflow-hidden",openingIdle:"modal--opening-idle",openingActive:"modal--opening-active",closingIdle:"modal--closing-idle",closingActive:"modal--closing-active"};var w={close:"x"};var y={content:"content",header:"header",back:"back",secondary:"secondary",primary:"primary"};var k={close:"Close"};var z="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{position:fixed;inset:0px;z-index:700;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;overflow-y:hidden;color:var(--calcite-ui-text-2);opacity:0;visibility:hidden !important;-webkit-transition:visibility 0ms linear var(--calcite-internal-animation-timing-slow), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:visibility 0ms linear var(--calcite-internal-animation-timing-slow), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88)}:host([scale=s]){--calcite-modal-padding:0.75rem;--calcite-modal-padding-large:1rem;--calcite-modal-title-text:var(--calcite-font-size-1);--calcite-modal-content-text:var(--calcite-font-size--1);--calcite-modal-padding-internal:0.75rem;--calcite-modal-padding-large-internal:1rem;--calcite-modal-title-text-internal:var(--calcite-font-size-1);--calcite-modal-content-text-internal:var(--calcite-font-size--1)}:host([scale=m]){--calcite-modal-padding:1rem;--calcite-modal-padding-large:1.25rem;--calcite-modal-title-text:var(--calcite-font-size-2);--calcite-modal-content-text:var(--calcite-font-size-0);--calcite-modal-padding-internal:1rem;--calcite-modal-padding-large-internal:1.25rem;--calcite-modal-title-text-internal:var(--calcite-font-size-2);--calcite-modal-content-text-internal:var(--calcite-font-size-0)}:host([scale=l]){--calcite-modal-padding:1.25rem;--calcite-modal-padding-large:1.5rem;--calcite-modal-title-text:var(--calcite-font-size-3);--calcite-modal-content-text:var(--calcite-font-size-1);--calcite-modal-padding-internal:1.25rem;--calcite-modal-padding-large-internal:1.5rem;--calcite-modal-title-text-internal:var(--calcite-font-size-3);--calcite-modal-content-text-internal:var(--calcite-font-size-1)}.scrim{--calcite-scrim-background:rgba(0, 0, 0, 0.75);position:fixed;inset:0px;display:-ms-flexbox;display:flex;overflow-y:hidden}.modal{pointer-events:none;z-index:800;float:none;margin:1.5rem;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;inline-size:100%;-ms-flex-direction:column;flex-direction:column;overflow:hidden;border-radius:0.25rem;background-color:var(--calcite-ui-foreground-1);opacity:0;--tw-shadow:0 2px 12px -4px rgba(0, 0, 0, 0.2), 0 2px 4px -2px rgba(0, 0, 0, 0.16);--tw-shadow-colored:0 2px 12px -4px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);-webkit-overflow-scrolling:touch;visibility:hidden;-webkit-transition:visibility 0ms linear var(--calcite-internal-animation-timing-slow), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), -webkit-transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:visibility 0ms linear var(--calcite-internal-animation-timing-slow), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), -webkit-transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear var(--calcite-internal-animation-timing-slow), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear var(--calcite-internal-animation-timing-slow), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), -webkit-transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);--calcite-modal-hidden-position:translate3d(0, 20px, 0);--calcite-modal-shown-position:translate3d(0, 0, 0)}.modal--opening-idle{-webkit-transform:var(--calcite-modal-hidden-position);transform:var(--calcite-modal-hidden-position)}.modal--opening-active{-webkit-transform:var(--calcite-modal-shown-position);transform:var(--calcite-modal-shown-position)}.modal--closing-idle{-webkit-transform:var(--calcite-modal-shown-position);transform:var(--calcite-modal-shown-position)}.modal--closing-active{-webkit-transform:var(--calcite-modal-hidden-position);transform:var(--calcite-modal-hidden-position)}:host([open]){opacity:1;visibility:visible !important;-webkit-transition-delay:0ms;transition-delay:0ms}:host([open]) .modal--open{pointer-events:auto;visibility:visible;opacity:1;-webkit-transition:visibility 0ms linear, opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-inline-size var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-block-size var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), -webkit-transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:visibility 0ms linear, opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-inline-size var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-block-size var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), -webkit-transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear, opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-inline-size var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-block-size var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear, opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-inline-size var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-block-size var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), -webkit-transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);-webkit-transition-delay:0ms;transition-delay:0ms}.header{z-index:400;display:-ms-flexbox;display:flex;min-inline-size:0px;max-inline-size:100%;border-start-start-radius:0.25rem;border-start-end-radius:0.25rem;border-width:0px;border-block-end-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);background-color:var(--calcite-ui-foreground-1);-ms-flex:0 0 auto;flex:0 0 auto}.close{-ms-flex-order:2;order:2;margin:0px;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-style:none;background-color:transparent;color:var(--calcite-ui-text-3);outline-color:transparent;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;border-start-end-radius:0.25rem;padding-block:var(--calcite-modal-padding, var(--calcite-modal-padding-internal));padding-inline:var(--calcite-modal-padding, var(--calcite-modal-padding-internal));-ms-flex:0 0 auto;flex:0 0 auto}.close calcite-icon{pointer-events:none;vertical-align:-2px}.close:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.close:hover,.close:focus,.close:active{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}.title{-ms-flex-order:1;order:1;display:-ms-flexbox;display:flex;min-inline-size:0px;-ms-flex-align:center;align-items:center;-ms-flex:1 1 auto;flex:1 1 auto;padding-block:var(--calcite-modal-padding, var(--calcite-model-padding-internal));padding-inline:var(--calcite-modal-padding-large, var(--calcite-modal-padding-large-internal))}slot[name=header]::slotted(*),*::slotted([slot=header]){margin:0px;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-1);font-size:var(--calcite-modal-title-text, var(--calcite-modal-title-text-internal))}.content{position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;display:block;block-size:100%;overflow:auto;background-color:var(--calcite-ui-foreground-1);padding:0px;max-block-size:calc(100vh - 12rem)}.content--spaced{padding:var(--calcite-modal-padding)}.content--no-footer{border-end-end-radius:0.25rem;border-end-start-radius:0.25rem}slot[name=content]::slotted(*),*::slotted([slot=content]){font-size:var(--calcite-modal-content-text, var(--calcite-modal-context-text-internal))}:host([background-color=grey]) .content{background-color:var(--calcite-ui-background)}.footer{z-index:400;-webkit-margin-before:auto;margin-block-start:auto;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;inline-size:100%;-ms-flex-pack:justify;justify-content:space-between;border-end-end-radius:0.25rem;border-end-start-radius:0.25rem;border-width:0px;border-block-start-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);background-color:var(--calcite-ui-foreground-1);-ms-flex:0 0 auto;flex:0 0 auto;padding-block:var(--calcite-modal-padding, var(--calcite-modal-padding-internal));padding-inline:var(--calcite-modal-padding-large, var(--calcite-modal-padding-large-internal))}.footer--hide-back .back,.footer--hide-secondary .secondary{display:none}.back{display:block;-webkit-margin-end:auto;margin-inline-end:auto}.secondary{margin-inline:0.25rem;display:block}slot[name=primary]{display:block}:host([width=small]) .modal{inline-size:auto}:host([width=s]) .modal{max-inline-size:32rem}@media screen and (max-width: 35rem){:host([width=s]) .modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%;border-radius:0px}:host([width=s]) .content{-ms-flex:1 1 auto;flex:1 1 auto;max-block-size:unset}:host([width=s][docked]){-ms-flex-align:end;align-items:flex-end}}:host([width=m]) .modal{max-inline-size:48rem}@media screen and (max-width: 51rem){:host([width=m]) .modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%;border-radius:0px}:host([width=m]) .content{-ms-flex:1 1 auto;flex:1 1 auto;max-block-size:unset}:host([width=m][docked]){-ms-flex-align:end;align-items:flex-end}}:host([width=l]) .modal{max-inline-size:94rem}@media screen and (max-width: 97rem){:host([width=l]) .modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%;border-radius:0px}:host([width=l]) .content{-ms-flex:1 1 auto;flex:1 1 auto;max-block-size:unset}:host([width=l][docked]){-ms-flex-align:end;align-items:flex-end}}:host([fullscreen]){background-color:transparent}:host([fullscreen]) .modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%;--calcite-modal-hidden-position:translate3D(0, 20px, 0) scale(0.95);--calcite-modal-shown-position:translate3D(0, 0, 0) scale(1)}:host([fullscreen]) .content{max-block-size:100%;-ms-flex:1 1 auto;flex:1 1 auto}:host([open][fullscreen]) .header{border-radius:0}:host([open][fullscreen]) .footer{border-radius:0}:host([docked]) .modal{block-size:auto}:host([docked]) .content{block-size:auto;-ms-flex:1 1 auto;flex:1 1 auto}@media screen and (max-width: 860px){:host([docked]) .modal{border-radius:var(--calcite-border-radius) var(--calcite-border-radius) 0 0}:host([docked]) .close{border-start-end-radius:var(--calcite-border-radius)}}:host([color=red]) .modal{border-color:var(--calcite-ui-danger)}:host([color=blue]) .modal{border-color:var(--calcite-ui-info)}:host([color=red]) .modal,:host([color=blue]) .modal{border-width:0px;border-block-start-width:4px;border-style:solid}:host([color=red]) .header,:host([color=blue]) .header{border-radius:0.25rem;border-end-end-radius:0px;border-end-start-radius:0px}@media screen and (max-width: 860px){slot[name=header]::slotted(*),*::slotted([slot=header]){font-size:var(--calcite-font-size-1)}.footer{position:-webkit-sticky;position:sticky;inset-block-end:0px}}@media screen and (max-width: 480px){.footer{-ms-flex-direction:column;flex-direction:column}.back,.secondary{margin:0px;-webkit-margin-after:0.25rem;margin-block-end:0.25rem}}";var E=function(t){return c(t)||g(t)};var C=function(t){return b(t,h,E)};var _=t("calcite_modal",function(){function t(t){var a=this;e(this,t);this.calciteModalBeforeClose=i(this,"calciteModalBeforeClose",6);this.calciteModalClose=i(this,"calciteModalClose",6);this.calciteModalBeforeOpen=i(this,"calciteModalBeforeOpen",6);this.calciteModalOpen=i(this,"calciteModalOpen",6);this.active=false;this.open=false;this.beforeClose=function(){return Promise.resolve()};this.disableCloseButton=false;this.disableOutsideClose=false;this.intlClose=k.close;this.disableEscape=false;this.scale="m";this.width="m";this.backgroundColor="white";this.noPadding=false;this.hasFooter=true;this.isOpen=false;this.mutationObserver=d("mutation",(function(){return a.updateFooterVisibility()}));this.openTransitionProp="opacity";this.setTransitionEl=function(t){a.transitionEl=t;f(a)};this.openEnd=function(){a.setFocus();a.el.removeEventListener("calciteModalOpen",a.openEnd)};this.handleOutsideClose=function(){if(a.disableOutsideClose){return}a.close()};this.close=function(){return a.beforeClose(a.el).then((function(){a.open=false;a.isOpen=false;r(a.previousActiveElement);a.removeOverflowHiddenClass()}))};this.focusFirstElement=function(){r(a.disableCloseButton?C(a.el)[0]:a.closeButtonEl)};this.focusLastElement=function(){var t=C(a.el).filter((function(t){return!t.getAttribute("data-focus-fence")}));if(t.length>0){r(t[t.length-1])}else{r(a.closeButtonEl)}};this.updateFooterVisibility=function(){a.hasFooter=!!l(a.el,[y.back,y.primary,y.secondary])}}t.prototype.componentWillLoad=function(){var t=this;if(this.open){requestAnimationFrame((function(){return t.openModal()}))}};t.prototype.connectedCallback=function(){var t;(t=this.mutationObserver)===null||t===void 0?void 0:t.observe(this.el,{childList:true,subtree:true});this.updateFooterVisibility();m(this);f(this);if(this.open){this.active=this.open}if(this.active){this.activeHandler(this.active)}};t.prototype.disconnectedCallback=function(){var t;this.removeOverflowHiddenClass();(t=this.mutationObserver)===null||t===void 0?void 0:t.disconnect();u(this);p(this)};t.prototype.render=function(){var t;var e=this;return a(n,{"aria-describedby":this.contentId,"aria-labelledby":this.titleId,"aria-modal":"true",role:"dialog"},a("calcite-scrim",{class:x.scrim,onClick:this.handleOutsideClose}),this.renderStyle(),a("div",{class:(t={},t[x.modal]=true,t[x.modalOpen]=this.isOpen,t),ref:this.setTransitionEl},a("div",{"data-focus-fence":true,onFocus:this.focusLastElement,tabindex:"0"}),a("div",{class:x.header},this.renderCloseButton(),a("header",{class:x.title},a("slot",{name:x.header}))),a("div",{class:{content:true,"content--spaced":!this.noPadding,"content--no-footer":!this.hasFooter},ref:function(t){return e.modalContent=t}},a("slot",{name:y.content})),this.renderFooter(),a("div",{"data-focus-fence":true,onFocus:this.focusFirstElement,tabindex:"0"})))};t.prototype.renderFooter=function(){return this.hasFooter?a("div",{class:x.footer,key:"footer"},a("span",{class:x.back},a("slot",{name:y.back})),a("span",{class:x.secondary},a("slot",{name:y.secondary})),a("span",{class:x.primary},a("slot",{name:y.primary}))):null};t.prototype.renderCloseButton=function(){var t=this;return!this.disableCloseButton?a("button",{"aria-label":this.intlClose,class:x.close,key:"button",onClick:this.close,ref:function(e){return t.closeButtonEl=e},title:this.intlClose},a("calcite-icon",{icon:w.close,scale:this.scale==="s"?"s":this.scale==="m"?"m":this.scale==="l"?"l":null})):null};t.prototype.renderStyle=function(){var t=!isNaN(parseInt("".concat(this.width)));return t?a("style",null,"\n .".concat(x.modal," {\n max-width: ").concat(this.width,"px !important;\n }\n @media screen and (max-width: ").concat(this.width,"px) {\n .").concat(x.modal," {\n height: 100% !important;\n max-height: 100% !important;\n width: 100% !important;\n max-width: 100% !important;\n margin: 0 !important;\n border-radius: 0 !important;\n }\n .content {\n flex: 1 1 auto !important;\n max-height: unset !important;\n }\n }\n ")):null};t.prototype.handleEscape=function(t){if(this.open&&!this.disableEscape&&t.key==="Escape"&&!t.defaultPrevented){this.close();t.preventDefault()}};t.prototype.focusElement=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){if(t){t.focus()}return[2,this.setFocus()]}))}))};t.prototype.setFocus=function(t){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(i){e=this.closeButtonEl;return[2,r(t==="close-button"?e:C(this.el)[0]||e)]}))}))};t.prototype.scrollContent=function(t,e){if(t===void 0){t=0}if(e===void 0){e=0}return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(i){if(this.modalContent){if(this.modalContent.scrollTo){this.modalContent.scrollTo({top:t,left:e,behavior:"smooth"})}else{this.modalContent.scrollTop=t;this.modalContent.scrollLeft=e}}return[2]}))}))};t.prototype.onBeforeOpen=function(){this.transitionEl.classList.add(x.openingActive);this.calciteModalBeforeOpen.emit()};t.prototype.onOpen=function(){this.transitionEl.classList.remove(x.openingIdle,x.openingActive);this.calciteModalOpen.emit()};t.prototype.onBeforeClose=function(){this.transitionEl.classList.add(x.closingActive);this.calciteModalBeforeClose.emit()};t.prototype.onClose=function(){this.transitionEl.classList.remove(x.closingIdle,x.closingActive);this.calciteModalClose.emit()};t.prototype.activeHandler=function(t){this.open=t};t.prototype.toggleModal=function(t){return __awaiter(this,void 0,void 0,(function(){var e,i;return __generator(this,(function(a){this.active=t;if(t){(e=this.transitionEl)===null||e===void 0?void 0:e.classList.add(x.openingIdle);this.openModal()}else{(i=this.transitionEl)===null||i===void 0?void 0:i.classList.add(x.closingIdle);this.close()}return[2]}))}))};t.prototype.openModal=function(){this.previousActiveElement=document.activeElement;this.el.addEventListener("calciteModalOpen",this.openEnd);this.open=true;this.isOpen=true;var t=l(this.el,y.header);var e=l(this.el,y.content);this.titleId=s(t);this.contentId=s(e);document.documentElement.classList.add(x.overflowHidden)};t.prototype.removeOverflowHiddenClass=function(){document.documentElement.classList.remove(x.overflowHidden)};Object.defineProperty(t.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{active:["activeHandler"],open:["toggleModal"]}},enumerable:false,configurable:true});return t}());_.style=z}}}));